title
stringclasses
312 values
author
stringclasses
138 values
date
stringclasses
263 values
local
stringclasses
312 values
tags
stringclasses
196 values
URL
stringclasses
312 values
chunk
stringlengths
7
30.6k
embedding
sequencelengths
768
768
Guiding Text Generation with Constrained Beam Search in 🤗 Transformers
cwkeam
March 11, 2022
constrained-beam-search
guide, nlp
https://huggingface.co/blog/constrained-beam-search
With Constrained Beam Search But what if we knew that we wanted a formal output instead of the informal one? What if we knew from prior knowledge what the generation must include, and we could inject it into the generation? The following is what is possible now with the force_words_ids keyword argument to model.generate(): python tokenizer = AutoTokenizer.from_pretrained("t5-base") model = AutoModelForSeq2SeqLM.from_pretrained("t5-base") encoder_input_str = "translate English to German: How old are you?" force_words = ["Sie"] input_ids = tokenizer(encoder_input_str, return_tensors="pt").input_ids force_words_ids = tokenizer(force_words, add_special_tokens=False).input_ids outputs = model.generate( input_ids, force_words_ids=force_words_ids, num_beams=5, num_return_sequences=1, no_repeat_ngram_size=1, remove_invalid_values=True, ) print("Output:\n" + 100 * '-') print(tokenizer.decode(outputs[0], skip_special_tokens=True)) Output: ---------------------------------------------------------------------------------------------------- Wie alt sind Sie? As you can see, we were able to guide the generation with prior knowledge about our desired output. Previously we would've had to generate a bunch of possible outputs, then filter the ones that fit our requirement. Now we can do that at the generation stage.
[ 0.03747328370809555, 0.0059605189599096775, 0.06826604902744293, -0.020331453531980515, 0.00810312107205391, 0.06829418987035751, 0.08067913353443146, -0.004941723775118589, -0.02241348661482334, 0.02061084844172001, -0.08666841685771942, -0.06304989010095596, -0.009930304251611233, 0.018778104335069656, -0.044574491679668427, 0.03406107798218727, 0.03459421917796135, -0.022168854251503944, -0.0018286405829712749, 0.0024534224066883326, 0.08705659955739975, 0.041666142642498016, 0.06984979659318924, 0.04883269965648651, 0.08978245407342911, -0.026540877297520638, 0.04241904988884926, -0.022988708689808846, -0.06081769987940788, -0.008531815372407436, -0.05660277605056763, 0.012500226497650146, -0.004708151798695326, 0.02513541467487812, -0.008627112954854965, 0.050971418619155884, -0.13477149605751038, -0.0006751232431270182, 0.04953812062740326, 0.015026110224425793, -0.07815798372030258, 0.021737799048423767, -0.014507479965686798, 0.05080759897828102, 0.023693503811955452, 0.00955795869231224, -0.07016011327505112, 0.077163465321064, -0.030954783782362938, -0.0023076420184224844, -0.06265279650688171, 0.016983309760689735, -0.010365583002567291, -0.007541423663496971, 0.1032707542181015, 0.024004101753234863, -0.036673154681921005, -0.11852871626615524, 0.016344277188181877, 0.014767421409487724, -0.0639442428946495, 0.06377693265676498, 0.0474403090775013, 0.035732343792915344, 0.06046704202890396, -0.04210473597049713, -0.024811308830976486, 0.04261133819818497, -0.0671847015619278, 0.003981180489063263, -0.02561664767563343, -0.025703495368361473, -0.052304867655038834, -0.054889217019081116, 0.04552384465932846, -0.07247407734394073, -0.04743395000696182, 0.05699862167239189, -0.010159661062061787, 0.06347917765378952, -0.0071335043758153915, 0.04668033868074417, 0.04347960278391838, -0.015002142637968063, 0.030762426555156708, 0.023538587614893913, 0.029176315292716026, -0.032110895961523056, -0.0017687581712380052, 0.006891116499900818, -0.005821328144520521, -0.14071740210056305, -0.002459857380017638, -0.03203142434358597, -0.02586718276143074, 0.004935966804623604, 0.04607637599110603, 0.024624580517411232, 0.05169552564620972, 0.03879764303565025, -0.010475696064531803, -0.054401639848947525, -0.010074691846966743, -0.022868774831295013, -0.0764230266213417, 0.007833859883248806, -0.04231995344161987, -0.038778144866228104, -0.04816143214702606, -0.0005399187211878598, 0.024675924330949783, -0.031247936189174652, -0.03267137333750725, 0.08518853783607483, -0.060693737119436264, 0.022264551371335983, 0.014903015457093716, 0.011147363111376762, 0.0002815737680066377, 0.038488030433654785, -0.021085379645228386, 0.035620395094156265, 0.10248351097106934, -0.010110704228281975, 0.0102226622402668, 0.056520216166973114, -0.01500030979514122, 0.045126624405384064, -0.01937548816204071, -0.0077007245272397995, -0.03390086814761162, 0.024826906621456146, 0.05223263055086136, 0.018449362367391586, 0.020363226532936096, -0.018192388117313385, 0.011760220862925053, -0.10306040197610855, -0.04167544096708298, 0.030471086502075195, 0.03484753146767616, -0.02384428307414055, -0.031214771792292595, 0.004109326750040054, 0.006638149730861187, -0.013320017606019974, 0.026369167491793633, 0.024633750319480896, -0.030620703473687172, 0.06303720921278, -0.04709187150001526, -0.0026253708638250828, 0.009824389591813087, -0.07538602501153946, -0.03138574957847595, 0.04728534817695618, -0.0604374073445797, 0.0019855350255966187, 0.004215288907289505, -0.00726028997451067, -0.02009095437824726, 0.016896162182092667, -0.03172110393643379, -0.027127236127853394, 0.034904252737760544, -0.04868393391370773, -0.018452337011694908, 0.022882387042045593, 0.011292371898889542, 0.04404198005795479, 0.06664028763771057, 0.04740528389811516, 0.0743696466088295, -0.020746782422065735, 0.060451820492744446, 0.00520892022177577, -0.032121021300554276, -0.0020034743938595057, -0.009942077100276947, -0.04570090025663376, -0.0247754268348217, 0.0047233267687261105, -0.027435362339019775, 0.03298050910234451, 0.05251520127058029, -0.11861184239387512, -0.000953255279455334, -0.038103137165308, 0.0043446640484035015, -0.031347230076789856, -0.044429268687963486, -0.011229384690523148, 0.07025549560785294, -0.05973280966281891, -0.03241696581244469, -0.07786305993795395, -0.015675494447350502, 0.1246802806854248, 0.030462907627224922, 0.0838681161403656, 0.06975267082452774, -0.0010710576316341758, 0.0005889483727514744, -0.03343082591891289, -0.020131103694438934, 0.01572825200855732, -0.038539379835128784, -0.1108604297041893, 0.052265364676713943, 0.012448004446923733, 0.03970395028591156, -0.09454625099897385, 0.03385539725422859, -0.13347801566123962, -0.055642977356910706, 0.0037605848629027605, -0.05708758160471916, -0.01373165100812912, -0.0501374788582325, 0.025213882327079773, 0.1532692015171051, -0.04026302322745323, 0.011949963867664337, -0.0264652781188488, -0.007548600900918245, 0.03240453451871872, 0.03765483573079109, 0.048857223242521286, -0.023556692525744438, -0.08582854270935059, -0.003934547770768404, -0.04460698366165161, 0.07874917984008789, 0.011134725995361805, -0.060501232743263245, -0.015285319648683071, -0.009904601611196995, 0.02678675949573517, 0.016309350728988647, -0.018372470512986183, -0.0007972281309776008, 0.037740450352430344, -0.0692908763885498, 0.029137253761291504, 0.0371238999068737, 0.0005366611876524985, 0.09644326567649841, -0.009554645977914333, -0.018832925707101822, -0.03260079771280289, -0.013515670783817768, 0.05686976760625839, -0.031087113544344902, -0.06044638529419899, 0.04695306345820427, 0.019335614517331123, 0.021386047825217247, -0.003950817510485649, -0.05199939385056496, 0.04482978954911232, 0.004156159702688456, -0.009513224475085735, -0.010557933710515499, -0.06621389091014862, -0.0019026700174435973, -0.008948653936386108, 0.00980131421238184, -0.023315707221627235, -0.011741726659238338, 0.012925569899380207, 0.00042769467108882964, -0.0012330547906458378, 0.015409417450428009, 0.013821047730743885, 0.027514789253473282, 0.02229403518140316, 0.017171591520309448, -0.001929671154357493, -0.052847858518362045, -0.019725117832422256, -0.037436164915561676, 0.002631243783980608, 0.06023135036230087, 0.017469588667154312, 0.0014826803235337138, 0.027559734880924225, -0.0066314744763076305, 0.017594506964087486, -0.04842010885477066, -0.003351019462570548, 0.002515900181606412, 0.043578777462244034, 0.04713965952396393, -0.01389429159462452, 0.022017423063516617, 0.05198008567094803, -0.009295274503529072, -0.03140688315033913, 0.014581386931240559, -0.0033134091645479202, -0.012617046944797039, 0.018574701622128487, -0.0003317748196423054, 0.024529078975319862, -0.0064893001690506935, 0.04748174920678139, 0.007353137247264385, 0.0014901882968842983, -0.0774521604180336, -0.016379665583372116, -0.013831629417836666, -0.007987434044480324, 0.011677064932882786, 0.010693296790122986, 0.021093228831887245, 0.03349363058805466, -0.012204487808048725, 0.014867352321743965, 0.010042338632047176, 0.005940863862633705, 0.030979029834270477, -0.005555492825806141, -0.025770580396056175, 0.025831298902630806, -0.017272019758820534, -0.022383514791727066, -0.010503695346415043, -0.01894175074994564, 0.014326312579214573, 0.012908072210848331, -0.003814290976151824, -0.0351051464676857, 0.0021112149115651846, -0.007809096947312355, 0.023083068430423737, 0.026012443006038666, -0.0049834586679935455, -0.0366910956799984, 0.013595457188785076, -0.011476822197437286, 0.014189411886036396, -0.0618898831307888, -0.034682497382164, 0.0039205667562782764, 0.0023692846298217773, 0.01981193758547306, 0.02513628825545311, 0.018623678013682365, -0.017082855105400085, -0.013479101471602917, 0.01359267346560955, -0.0038712278474122286, -0.028886666521430016, -0.021118877455592155, -0.01316152885556221, -0.007171600591391325, 0.007171475328505039, -0.08294747769832611, -0.056641530245542526, -0.021163826808333397, 0.01568460464477539, 0.06278520822525024, 0.022635506466031075, -0.004166059195995331, 0.03828755021095276, 0.05069615691900253, 0.04732649028301239, -0.003415779210627079, -0.05645633116364479, -0.04889340326189995, 0.005503770429641008, 0.009977870620787144, -0.020256221294403076, 0.09211979806423187, 0.0032031023874878883, -0.013522710651159286, 0.004094649571925402, 0.039028920233249664, -0.020815696567296982, 0.07528798282146454, -0.002480180934071541, 0.009180772118270397, -0.0006265516858547926, 0.010100731626152992, 0.0003164356458000839, -0.08595400303602219, 0.04463045299053192, 0.0010155788622796535, 0.006868637166917324, -0.024511896073818207, -0.0626756101846695, 0.006654605269432068, 0.045168437063694, -0.006612283643335104, 0.008013905957341194, -0.024478133767843246, 0.013622128404676914, -0.007054012734442949, 0.008953533135354519, -0.04531676694750786, 0.0059047588147223, -0.02922871522605419, -0.04749464616179466, 0.007986298762261868, -0.010165444575250149, -0.007596024312078953, 0.02517218142747879, 0.01607832871377468, 0.009570884518325329, -0.05672982335090637, 0.004856864921748638, -0.00443047471344471, -0.000491276674438268, 0.012281153351068497, -0.046279143542051315, -0.0055607520043849945, -0.0023460539523512125, 0.01694444566965103, -0.01123727671802044, 0.017647668719291687, -0.004277515225112438, -0.005249969661235809, 0.02131379395723343, 0.02808229997754097, 0.02537856437265873, -0.023256337270140648, 0.00340294954366982, -0.025987902656197548, -0.06706056743860245, -0.013732158578932285, -0.006271371617913246, -0.00642382400110364, -0.008443881757557392, -0.018981490284204483, 0.01131344586610794, 0.015473256818950176, 0.00828923936933279, -0.027716249227523804, 0.014457921497523785, 0.008832019753754139, 0.03533085435628891, -0.01311094406992197, 0.002241513691842556, 0.034001920372247696, 0.029393548145890236, 0.0073699927888810635, -0.004460825119167566, -0.020284757018089294, -0.010973483324050903, 0.0032705108169466257, 0.03986574709415436, 0.02057693339884281, 0.038283269852399826, -0.009512534365057945, -0.0023990252520889044, -0.0018162410706281662, 0.03901485726237297, -0.0064597362652421, 0.03147106617689133, 0.05285520851612091, -0.03109489195048809, -0.01610174961388111, 0.052041903138160706, -0.029905514791607857, -0.038536928594112396, 0.036744169890880585, 0.010435705073177814, 0.002383206505328417, -0.022258209064602852, -0.030231403186917305, -0.008698171935975552, 0.04598569869995117, 0.026206577196717262, -0.005577670875936747, -0.008719425648450851, -0.004975227173417807, 0.02585357241332531, -0.02900233492255211, 0.038536809384822845, -0.01439726259559393, 0.02968510240316391, -0.023134341463446617, 0.010554390028119087, 0.059498418122529984, 0.010596197098493576, 0.04553522914648056, -0.05813693255186081, 0.026837646961212158, -0.013229678384959698, -0.00971512496471405, 0.07095485925674438, 0.06082770973443985, 0.023837333545088768, 0.04062915965914726, 0.038539499044418335, 0.007955552078783512, 0.018014976754784584, -0.0030598468147218227, -0.0445590615272522, -0.009999827481806278, 0.0026431356091052294, -0.030641281977295876, -0.006279848515987396, -0.00786646455526352, -0.048701997846364975, 0.013728948310017586, -0.043343279510736465, -0.00378061318770051, 0.06508266925811768, -0.01391387078911066, -0.028564538806676865, -0.03966468572616577, 0.0407259427011013, 0.027850648388266563, -0.019073117524385452, -0.043738603591918945, 0.014717635698616505, -0.004167923238128424, 0.03013053722679615, -0.016950171440839767, -0.055667199194431305, 0.041818082332611084, 0.023666685447096825, 0.020903201773762703, -0.002610723488032818, 0.031118908897042274, 0.03088536486029625, 0.036698486655950546, -0.001685589668340981, -0.04845854640007019, -0.009149887599050999, 0.028899723663926125, 0.053096141666173935, -0.011743147857487202, -0.014452445320785046, 0.04246504232287407, 0.037660177797079086, 0.04444965720176697, -0.0038944699335843325, -0.045319534838199615, -0.008300584740936756, -0.017079168930649757, -0.015222719870507717, -0.0235553327947855, -0.0012527771759778261, 0.0702608972787857, 0.05674875155091286, -0.02336946874856949, 0.07219471037387848, 0.00593294482678175, -0.027590204030275345, 0.03386979550123215, 0.016749851405620575, 0.045929599553346634, -0.0015365853905677795, 0.0008927430608309805, -0.004541042260825634, 0.016094638034701347, 0.03775876760482788, -0.001706903101876378, -0.02232459932565689, 0.015761934220790863, -0.010581845417618752, 0.0605974942445755, 0.04615205526351929, -0.009309680201113224, 0.008496415801346302, 0.0007811583345755935, -0.005823060870170593, -0.031511999666690826, -0.0067574866116046906, -0.020686494186520576, -0.043381575495004654, 0.05590862035751343, -0.06408435851335526, -0.04497839882969856, 0.0109667694196105, -0.006977410055696964, 0.038513340055942535, -0.014848272316157818, -0.028531216084957123, 0.033946599811315536, -0.014345940202474594, 0.014484564773738384, -0.023972924798727036, 0.05371399596333504, -0.01395970955491066, 0.029173221439123154, -0.031108949333429337, 0.09208566695451736, 0.011717431247234344, 0.002416611649096012, -0.012678815051913261, -0.01602407917380333, 0.04294171556830406, 0.02877175249159336, -0.014374959282577038, 0.008636175654828548, -0.008291803300380707, 0.007392155006527901, -0.014352372847497463, -0.023752357810735703, -0.004861860536038876, -0.014510269276797771, 0.02416706643998623, 0.015328831970691681, 0.03182630613446236, 0.014395873062312603, 0.05755501240491867, 0.03523697704076767, 0.009003226645290852, 0.0013184229610487819, -0.00048456722288392484, 0.022183874621987343, 0.03327774256467819, 0.05320757254958153, 0.07136010378599167, -0.005897026043385267, 0.018286127597093582, 0.0641624704003334, 0.0105573246255517, 0.004882109351456165, 0.03422470763325691, 0.020241858437657356, 0.016271717846393585, -0.02808820642530918, -0.015551070682704449, 0.023614052683115005, -0.015055898576974869, -0.02410881780087948, -0.006302880588918924, 0.003175832098349929, -0.032515499740839005, 0.00885878037661314, -0.017861710861325264, -0.02082229033112526, -0.024994105100631714, 0.0043565318919718266, -0.009502398781478405, 0.016003217548131943, 0.0188576802611351, -0.02930709533393383, 0.008670531213283539, -0.003052279818803072, 0.006713051348924637, 0.034341488033533096, -0.03231551870703697, 0.008839450776576996, -0.053266070783138275, -0.037295009940862656, 0.011559667997062206, -0.031722795218229294, 0.01674412190914154, 0.025305066257715225, 0.017897343263030052, 0.018472494557499886, 0.018413878977298737, 0.01877911016345024, 0.0009047388448379934, 0.0367523729801178, -0.030733780935406685, -0.02617141418159008, -0.01995779573917389, -0.029380835592746735, 0.027345802634954453, -0.0674963891506195, 0.0015702262753620744, -0.019565770402550697, 0.0017838693456724286, -0.006308829411864281, 0.008147122338414192, -0.015270774252712727, -0.03747463598847389, -0.01886468194425106, -0.032574765384197235, -0.019927987828850746, 0.03164289891719818, -0.034706443548202515, 0.02142646722495556, -0.0017481092363595963, -0.029258806258440018, -0.05169929191470146, -0.0366281196475029, 0.02077796868979931, 0.03980248048901558, -0.021734431385993958, -0.07167893648147583, -0.011245718225836754, 0.003917061258107424, 0.012633299455046654, 0.007699384354054928, 0.03389690816402435, 0.0123411500826478, 0.009942089207470417, 0.0180328581482172, 0.0032107068691402674, -0.06963222473859787, 0.04810221120715141, -0.07126811891794205, -0.03231143578886986, -0.031041624024510384, 0.018166489899158478, -0.05770372226834297, -0.015584985725581646, -0.03762862831354141, 0.006585367023944855, -0.03872253745794296, -0.03558754548430443, -0.02253974787890911, 0.00488768657669425, 0.04727444797754288, -0.025161437690258026, 0.02556608058512211, 0.03269490599632263, -0.003482743864879012, -0.010976651683449745, -0.03663796931505203, -0.0011002932442352176, 0.02349817380309105, 0.02085711434483528, -0.01722155138850212, -0.00014738000754732639, 0.05317097157239914, -0.027129527181386948, -0.009233777411282063, 0.02956533618271351, -0.00947986077517271, -0.02778560109436512, 0.013301377184689045, 0.015296130441129208, 0.008319842629134655, -0.014172530733048916, -0.02950507029891014, 0.014143050648272038, -0.0058086044155061245, 0.023073900490999222, 0.008503549732267857, -0.04759002476930618, -0.034149713814258575, -0.028768224641680717, -0.021730341017246246, 0.02443528175354004, -0.006831215228885412, 0.033457301557064056, 0.011315733194351196, -0.0180928073823452, -0.015397216193377972, 0.024459879845380783, -0.004790697246789932, 0.003899088129401207, -0.0022872481495141983, 0.013095827773213387, -0.015570041723549366, -0.0021964353509247303, 0.023362748324871063, -0.017633836716413498, -0.06163863465189934, 0.009384902194142342, 0.012508280575275421, 0.009539149701595306, 0.0038815115112811327, 0.0009828131878748536, -0.0006417941767722368, 0.02552497573196888, 0.08079824596643448, 0.015057305805385113, -0.059539664536714554, -0.007070322521030903 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
Out-of-Scope Use Cases > > Any deployed use case of the model - whether commercial or not - is currently out of scope. Non-deployed use cases such as image search in a constrained environment, are also not recommended unless there is thorough in-domain testing of the model with a specific, fixed class taxonomy. This is because our safety assessment demonstrated a high need for task specific testing especially given the variability of CLIP's performance with different class taxonomies. This makes untested and unconstrained deployment of the model in any use case > currently potentially harmful. > source suggests that 'deployment' is not a good idea. Whilst the results I got are interesting, I haven't played around with the model enough yet (and haven't done anything more systematic to evaluate its performance and biases) to be confident about 'deploying' it. Another additional consideration is the target dataset itself. The images are drawn from books covering a variety of subjects and time periods. There are plenty of books which represent colonial attitudes and as a result some of the images included may represent certain groups of people in a negative way. This could potentially be a bad combo with a tool which allows any arbitrary text input to be encoded as a prompt. There may be ways around this issue but this will require a bit more thought.
[ 0.03935717046260834, -0.05101218447089195, -0.01713097095489502, 0.07538031041622162, 0.05939994007349014, 0.07424873113632202, -0.020726589486002922, 0.03019382804632187, -0.06550571322441101, -0.04420154541730881, -0.09062104672193527, -0.010569368489086628, -0.04361006245017052, 0.06791892647743225, 0.059324074536561966, 0.027776921167969704, 0.035147350281476974, 0.0063624391332268715, -0.03832682967185974, 0.01121831126511097, -0.03034227527678013, -0.03243277594447136, 0.021697182208299637, -0.042765066027641296, -0.02907106652855873, -0.04422946274280548, 0.07296466082334518, 0.008487027138471603, -0.0773015171289444, 0.03655682131648064, -0.07565619796514511, 0.019129963591694832, -0.01196034625172615, -0.017299272119998932, -0.05336154252290726, 0.014642824418842793, -0.06646797806024551, 0.04983946308493614, -0.006918061524629593, -0.03233516588807106, -0.03711596503853798, -0.03035188466310501, -0.024470428004860878, 0.02264314889907837, 0.03436511754989624, -0.04084242135286331, -0.1307380348443985, 0.048417042940855026, -0.025019273161888123, 0.059437382966279984, -0.13550148904323578, 0.04315047338604927, 0.05716849863529205, -0.08962277323007584, 0.013534238561987877, 0.012167523615062237, 0.04087948426604271, -0.16186590492725372, 0.009089937433600426, -0.0910712257027626, 0.005996642168611288, -0.024162599816918373, -0.0073319715447723866, 0.010312415659427643, -0.016406841576099396, -0.05803161859512329, -0.02290933020412922, 0.032208152115345, -0.04849541559815407, -0.08317949622869492, -0.00430630799382925, -0.0009556121076457202, 0.008103441447019577, -0.025478778406977654, -0.0040482464246451855, -0.04324151203036308, -0.009524337947368622, 0.03815273940563202, 0.014888562262058258, 0.007236097939312458, 0.07798674702644348, -0.01583213545382023, 0.10182873904705048, -0.04103749245405197, 0.04541043937206268, -0.004897661041468382, 0.03207456320524216, -0.01778474450111389, -0.022685285657644272, -0.012669495306909084, 0.018858907744288445, -0.09513355791568756, 0.015232355333864689, 0.026508769020438194, 0.035705577582120895, -0.012510281056165695, 0.01084898505359888, 0.040972355753183365, -0.025345761328935623, 0.034299325197935104, -0.0758783221244812, -0.0377935990691185, 0.029667576774954796, -0.0001238258118974045, -0.036861076951026917, 0.009610183537006378, 0.0006418490083888173, -0.01371096447110176, -0.05487556383013725, 0.03896250203251839, 0.059700626879930496, -0.0077695357613265514, 0.011637791059911251, 0.016467813402414322, -0.002224631141871214, -0.021423088386654854, 0.052590079605579376, 0.02163201943039894, 0.043737445026636124, 0.04147626832127571, 0.01540826540440321, 0.11363683640956879, -0.0133810481056571, 0.02642895095050335, 0.0768032819032669, 0.047739218920469284, 0.05414062365889549, -0.0017680812161415815, -0.06815233826637268, -0.06310100108385086, 0.003090524347499013, 0.010264472104609013, -0.02393648400902748, 0.000402238656533882, 0.006911103613674641, -0.06817396730184555, 0.004362496547400951, -0.07676562666893005, -0.004845314659178257, -0.007714566309005022, -0.016434116289019585, 0.019037999212741852, 0.020724307745695114, 0.04024480655789375, 0.08448096364736557, -0.0003631064319051802, 0.008343669585883617, 0.0187601987272501, -0.016760017722845078, -0.02075519971549511, -0.0648837760090828, 0.020153148099780083, 0.006966782733798027, -0.11730314791202545, 0.013616296462714672, 0.04375961050391197, -0.035485319793224335, 0.013751509599387646, -0.03576827421784401, -0.023776249960064888, 0.030406633391976357, 0.03095240704715252, -0.033279743045568466, -0.006217260845005512, 0.06721925735473633, -0.02010008879005909, 0.04826384410262108, -0.07920598238706589, -0.024886460974812508, 0.015771593898534775, -0.048293791711330414, -0.08879002183675766, 0.034252461045980453, -0.03383475914597511, 0.0006030502263456583, 0.05432281270623207, 0.03785526752471924, 0.044334761798381805, 0.0711536630988121, -0.0027915933169424534, -0.037752147763967514, 0.0077555193565785885, 0.03285468742251396, 0.007854064926505089, -0.011136316694319248, -0.10554870963096619, 0.05231083184480667, -0.005151718854904175, -0.06223412975668907, -0.009818141348659992, -0.07856956869363785, -0.06752801686525345, 0.07996642589569092, 0.010067754425108433, -0.0005959508707746863, -0.05386275425553322, -0.0550626777112484, 0.07394461333751678, 0.05055709928274155, 0.028252486139535904, 0.07195056229829788, 0.03641728684306145, 0.0535818487405777, -0.10668988525867462, -0.0776759684085846, -0.02439446747303009, 0.0008387811831198633, -0.02229880541563034, 0.02659304440021515, 0.03127801790833473, 0.014335677027702332, -0.13332176208496094, -0.0018110118107870221, -0.05282667279243469, -0.0000030912517559045227, -0.03038715571165085, -0.01706109568476677, 0.006296135485172272, -0.03250773251056671, -0.052932258695364, 0.13010048866271973, 0.04945177212357521, -0.015653302893042564, -0.04650658741593361, -0.02928832173347473, 0.02494206093251705, 0.055084098130464554, 0.058412108570337296, 0.11790839582681656, -0.08170067518949509, -0.04254206269979477, 0.0026137051172554493, 0.015074707567691803, 0.02406628243625164, -0.04938974231481552, 0.02416418120265007, 0.05238481983542442, -0.036193620413541794, 0.001997315790504217, -0.025711044669151306, -0.011238984763622284, -0.015431074425578117, -0.033785030245780945, 0.027673492208123207, -0.005131852347403765, -0.08420582115650177, 0.04913829267024994, 0.004979592747986317, 0.0013224274152889848, -0.003961320035159588, -0.030381303280591965, 0.05764728784561157, -0.036910392343997955, -0.042315155267715454, -0.012129208073019981, 0.02857385389506817, 0.013522731140255928, -0.05159164220094681, -0.003372986800968647, -0.030853118747472763, 0.011081816628575325, -0.015896640717983246, -0.011898238211870193, -0.05331162363290787, 0.002910447074100375, -0.00039658628520555794, 0.007878527976572514, -0.009005209431052208, 0.04686328396201134, -0.0015113584231585264, -0.007386856246739626, -0.026146357879042625, 0.011760259047150612, 0.002736919093877077, 0.015179931186139584, 0.003975236788392067, 0.004398382734507322, 0.02391473762691021, 0.012025191448628902, -0.01720852591097355, -0.011473465710878372, -0.04428181052207947, 0.08373335003852844, 0.007044874131679535, 0.06216845661401749, 0.013286355882883072, 0.03948496654629707, 0.018238235265016556, -0.03319215402007103, 0.018982257694005966, 0.027048954740166664, 0.02806719020009041, 0.029740501195192337, 0.05063006281852722, -0.017992166802287102, -0.04349049925804138, 0.003806333988904953, -0.008513451553881168, -0.007772605400532484, 0.023624006658792496, -0.05189911648631096, -0.0037737879902124405, -0.015551436692476273, -0.03395930305123329, -0.023235170170664787, 0.04324435815215111, 0.016323858872056007, -0.005012958310544491, -0.10564008355140686, -0.0005696474690921605, -0.01945032738149166, 0.03126123175024986, -0.034391000866889954, -0.033725034445524216, 0.056365396827459335, -0.0018722370732575655, -0.011807267554104328, 0.03231852874159813, 0.004950814414769411, 0.012947793118655682, 0.02365042082965374, -0.006115024909377098, -0.0020485897548496723, 0.02397560514509678, -0.00541279511526227, 0.005859716795384884, 0.02002429962158203, 0.05768163129687309, -0.03327513858675957, 0.039599914103746414, 0.0015934876864776015, 0.03456905111670494, -0.02541656419634819, 0.05530501902103424, 0.002129369182512164, -0.010235592722892761, 0.05286748707294464, -0.06608466804027557, 0.00898192822933197, -0.027527911588549614, -0.03591739386320114, 0.019566798582673073, -0.026575157418847084, 0.04057525843381882, 0.009013100527226925, 0.0366872139275074, 0.026283636689186096, 0.08342358469963074, -0.0013464308576658368, 0.01916567236185074, -0.00759346317499876, 0.017136726528406143, 0.02122434973716736, 0.018507592380046844, 0.011741423979401588, -0.022920798510313034, 0.04494694247841835, -0.03664442151784897, -0.05885286256670952, -0.0041638826951384544, 0.03391716629266739, 0.07858256250619888, 0.014765987172722816, -0.0010030395351350307, 0.032766710966825485, 0.04806387424468994, -0.05146118253469467, 0.006582535803318024, -0.01281561516225338, 0.02651144377887249, -0.006677387282252312, -0.019590355455875397, 0.008671527728438377, 0.04667050391435623, 0.007293278351426125, 0.03491971269249916, -0.06254909932613373, 0.014344536699354649, 0.00237442459911108, 0.05043911188840866, 0.016670022159814835, 0.011310017667710781, 0.000680508092045784, 0.016842547804117203, 0.0409279465675354, -0.014576224610209465, 0.027438441291451454, 0.04018498584628105, -0.0255099106580019, -0.0417342372238636, 0.021521760150790215, -0.005272321868687868, -0.023890327662229538, 0.002392874099314213, 0.009138846769928932, -0.007441681809723377, 0.006325216963887215, 0.02074102871119976, 0.003176565747708082, -0.03302605077624321, 0.018282029777765274, -0.026662589982151985, -0.018857192248106003, -0.008029911667108536, 0.03235940262675285, 0.004568326286971569, 0.0003360650152899325, -0.023487919941544533, -0.022917404770851135, -0.008154226467013359, -0.02398425154387951, 0.025202928110957146, -0.021006563678383827, 0.020724421367049217, -0.031708601862192154, -0.010734652169048786, -0.019528331235051155, -0.009486504830420017, 0.012753098271787167, -0.028027351945638657, -0.03185725212097168, 0.017413130030035973, 0.011871247552335262, 0.006516560912132263, 0.0208981204777956, 0.016578860580921173, -0.036217235028743744, -0.01922423392534256, 0.008634897880256176, -0.03326394781470299, -0.03747238963842392, -0.003348029451444745, 0.01958531141281128, 0.003990634344518185, 0.008803167380392551, -0.00037727985181845725, -0.0078542185947299, 0.011691797524690628, 0.016217762604355812, -0.02292708307504654, -0.012024322524666786, 0.027672849595546722, 0.06992539018392563, 0.014602003619074821, -0.03269455209374428, 0.028705408796668053, -0.00022000195167493075, 0.005227267742156982, -0.011227104812860489, -0.026082465425133705, 0.013704556040465832, 0.0028644786216318607, 0.04533110931515694, 0.010953480377793312, -0.022409770637750626, 0.021431880071759224, -0.02809971570968628, 0.05849170312285423, -0.00499257305637002, 0.025678761303424835, -0.03136562183499336, 0.0102646853774786, 0.0743619054555893, -0.0036820033565163612, -0.018583891913294792, 0.013706485740840435, -0.003315120004117489, 0.07113388180732727, 0.0114280479028821, 0.010082988999783993, -0.03328360989689827, 0.02736891247332096, -0.03509344905614853, 0.024906927719712257, 0.03844580799341202, 0.0007631537155248225, -0.009826047345995903, 0.01914818398654461, -0.013394633308053017, -0.0026640165597200394, 0.01436551846563816, -0.016822826117277145, 0.007082032039761543, 0.013255832716822624, 0.0485156811773777, 0.01965929940342903, -0.004340853542089462, 0.06941988319158554, -0.029472436755895615, -0.004555333871394396, 0.02967962436378002, -0.017256084829568863, 0.014392185024917126, 0.01937614567577839, 0.052425235509872437, 0.06675359606742859, 0.027563676238059998, 0.007704921066761017, -0.00988934375345707, -0.013201327994465828, 0.011868715286254883, -0.0012949634110555053, -0.01923953928053379, 0.01594696380198002, 0.01786579005420208, 0.021332820877432823, -0.0009613452712073922, 0.021890880540013313, 0.0005560903809964657, 0.06752791255712509, 0.02333996258676052, 0.0025619289372116327, 0.006606546696275473, -0.03546622768044472, 0.0004888486582785845, -0.029467370361089706, -0.003617579350247979, -0.021277768537402153, -0.015405463986098766, -0.017287960276007652, -0.03382989019155502, 0.015404308214783669, 0.008155793882906437, -0.010950193740427494, -0.055389925837516785, -0.003995490726083517, 0.04058339446783066, 0.057914361357688904, 0.0010281922295689583, -0.013850297778844833, -0.011607488617300987, 0.048994891345500946, 0.009005438536405563, 0.01829954981803894, 0.024470839649438858, 0.02312786877155304, 0.009378003887832165, 0.054845888167619705, -0.002478734590113163, 0.004857407417148352, 0.024848176166415215, 0.05495552718639374, 0.040606383234262466, -0.013554542325437069, -0.047983162105083466, 0.04023686796426773, 0.030832819640636444, -0.006998860742896795, 0.030925171449780464, 0.009125415235757828, 0.0005035604117438197, -0.014602458104491234, -0.02642759121954441, 0.026604298502206802, 0.01518323365598917, -0.006554611958563328, -0.037044208496809006, 0.013254630379378796, 0.021885845810174942, 0.010831772349774837, -0.021525999531149864, -0.0010798859875649214, 0.015252984128892422, 0.013899161480367184, 0.07657347619533539, 0.04695731773972511, 0.02016560733318329, 0.0006752171902917325, -0.0006939060403965414, -0.023414192721247673, -0.017859796062111855, 0.05831316113471985, -0.025887394323945045, 0.03298439458012581, 0.03517652302980423, -0.05347248911857605, 0.004043014254420996, 0.016074273735284805, 0.03063722513616085, 0.012525572441518307, -0.02942819520831108, -0.01161857321858406, -0.00675588333979249, -0.015244249254465103, -0.019195206463336945, 0.03837602585554123, 0.0089504923671484, -0.01557081937789917, -0.017303088679909706, 0.05835903063416481, 0.04188810661435127, -0.032310400158166885, 0.020734570920467377, 0.006809468846768141, 0.056859586387872696, 0.01821892336010933, 0.02109375037252903, -0.01073739305138588, -0.01925591006875038, 0.007202106062322855, -0.04756765812635422, -0.014370382763445377, -0.04718637838959694, 0.02445882000029087, 0.006115535274147987, -0.05587118864059448, 0.0098892105743289, -0.05663154646754265, 0.029249969869852066, -0.02388257160782814, 0.00002008691808441654, 0.04516010731458664, 0.02078462950885296, -0.015140276402235031, 0.016701795160770416, 0.019474836066365242, 0.018709277734160423, -0.011060369201004505, 0.03271149471402168, 0.03181435540318489, 0.027213742956519127, 0.004819766152650118, 0.014649796299636364, -0.00642016576603055, -0.01652384363114834, -0.013604690320789814, -0.021656528115272522, 0.017621271312236786, 0.004316307138651609, -0.025322576984763145, -0.020764825865626335, 0.007900271564722061, -0.019176214933395386, -0.0420755036175251, 0.023484887555241585, 0.005775890778750181, -0.0322953537106514, -0.015427260659635067, -0.008758223615586758, 0.002567685442045331, -0.001055152271874249, 0.008967999368906021, -0.058331701904535294, 0.024363406002521515, 0.029606638476252556, 0.014917542226612568, 0.0025985490065068007, -0.04261017218232155, -0.02320648916065693, -0.002319877967238426, 0.02510284073650837, -0.026004772633314133, 0.00613750983029604, 0.00802462175488472, -0.003444973612204194, 0.019747614860534668, -0.009069190360605717, 0.03143191710114479, 0.034595053642988205, 0.011379286646842957, -0.031733881682157516, 0.011944912374019623, -0.06315216422080994, -0.07592681050300598, -0.008267473429441452, 0.00028959158225916326, 0.003917906899005175, -0.052825313061475754, -0.0065605174750089645, -0.011617896147072315, 0.02514711394906044, -0.050019122660160065, -0.020825490355491638, -0.027478821575641632, -0.003083434421569109, 0.04549816995859146, 0.03577912226319313, 0.055178046226501465, 0.014370455406606197, -0.026643315330147743, -0.039792750030756, -0.002724725753068924, -0.006883649621158838, 0.015342345461249352, 0.015745239332318306, 0.050741154700517654, -0.01687125489115715, -0.011173686012625694, 0.040216680616140366, 0.01174150686711073, 0.08211570233106613, 0.009152616374194622, 0.026189690455794334, -0.03298019617795944, -0.004885973408818245, 0.02481587789952755, -0.012691270560026169, 0.01934530958533287, -0.05369783937931061, -0.04017823562026024, -0.05518432706594467, -0.0031832547392696142, -0.006186862010508776, -0.017878267914056778, -0.0308079831302166, -0.01603992097079754, -0.018986735492944717, -0.010017036460340023, 0.002611377276480198, -0.005506702233105898, 0.06399738043546677, -0.019651778042316437, 0.03997701779007912, -0.014461825601756573, 0.019877558574080467, 0.03166412562131882, -0.0010042841313406825, 0.014046985656023026, 0.031417567282915115, 0.018397940322756767, -0.024211104959249496, -0.003156759077683091, 0.0055277468636631966, -0.014596542343497276, -0.07171168923377991, -0.0012248805724084377, 0.05048125237226486, -0.011070022359490395, -0.002678009681403637, -0.016696326434612274, 0.04398375377058983, 0.007874779403209686, 0.0298337209969759, -0.009422007948160172, 0.016497351229190826, 0.019159365445375443, 0.014953176490962505, -0.03481494262814522, 0.0005269767716526985, -0.03723360598087311, 0.005581033416092396, 0.019860826432704926, 0.012676523067057133, -0.038032956421375275, 0.013001374900341034, -0.04120076075196266, 0.02020985260605812, -0.03135227784514427, -0.003370069433003664, -0.030017070472240448, -0.0005276092560961843, 0.02935117669403553, -0.005641790572553873, -0.0014885159907862544, 0.026884227991104126, 0.03229587525129318, -0.021864602342247963, -0.021624216809868813, -0.012084015645086765, 0.03316957503557205, 0.03986433520913124, 0.003498126519843936, -0.003749788273125887, 0.035251684486866, 0.02753082662820816, -0.02209584414958954, -0.0349741168320179, 0.04033232480287552 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
Push all the things to the hub! One of the super awesome things about the 🤗 ecosystem is the Hugging Face Hub. We can use the Hub to access models and datasets. It is often used for sharing work with others, but it can also be a useful tool for work in progress. datasets recently added a push_to_hub method that allows you to push a dataset to the Hub with minimal fuss. This can be really helpful by allowing you to pass around a dataset with all the transforms etc. already done. For now, we'll push the dataset to the Hub and keep it private initially. Depending on where you are running the code, you may need to authenticate. You can either do this using the huggingface-cli login command or, if you are running in a notebook, using notebook_login python from huggingface_hub import notebook_login notebook_login() python dataset.push_to_hub('davanstrien/embellishments-sample', private=True) > Note: in a previous version of this blog post we had to do a few more steps to ensure images were embedded when using push_to_hub. Thanks to this pull request we no longer need to worry about these extra steps. We just need to make sure embed_external_files=True (which is the default behaviour).
[ -0.013585277833044529, 0.009891455061733723, -0.01432240754365921, -0.00881608109921217, 0.05172085016965866, -0.0031853732652962208, -0.021118847653269768, 0.05198661983013153, -0.019977156072854996, -0.05004166439175606, -0.072496697306633, 0.0114405807107687, -0.038237087428569794, 0.04418179765343666, -0.018016604706645012, -0.08719854801893234, 0.029882682487368584, -0.03182608634233475, 0.0018715597689151764, 0.05271146446466446, 0.019563905894756317, -0.09761374443769455, 0.02395341545343399, -0.011824564076960087, -0.0511494055390358, -0.037703629583120346, 0.08399192988872528, 0.039841704070568085, 0.04647756740450859, 0.007910718210041523, -0.10984352231025696, 0.034000661224126816, 0.03995412215590477, -0.02281632460653782, 0.046823110431432724, 0.05994275584816933, -0.1273970603942871, 0.08513246476650238, 0.08320023119449615, -0.03080890327692032, -0.02938237600028515, -0.010888795368373394, -0.10784223675727844, 0.0510828010737896, 0.019729623571038246, -0.021532626822590828, -0.12348191440105438, 0.1097317487001419, 0.01691564731299877, 0.027219070121645927, -0.10164912045001984, 0.06408683210611343, 0.03397710993885994, -0.011479644104838371, 0.06235051155090332, -0.002142386743798852, -0.041900698095560074, -0.07444476336240768, -0.013068328611552715, -0.021335234865546227, 0.07870788872241974, 0.02160094864666462, 0.017408082261681557, 0.09460029006004333, 0.01860552281141281, 0.05627155303955078, 0.04333040118217468, 0.008988224901258945, -0.005235028453171253, -0.04344073310494423, 0.021331224590539932, -0.019413547590374947, -0.01111259963363409, -0.04498466104269028, -0.019530022516846657, -0.04352565109729767, -0.0004190511826891452, 0.012366044335067272, 0.07553911209106445, -0.02183515392243862, -0.011882467195391655, -0.03676033392548561, 0.0004994497867301106, 0.02784758247435093, 0.08176033943891525, 0.067326121032238, -0.014318748377263546, -0.04900697246193886, -0.06830763071775436, 0.08462023735046387, -0.05333895608782768, -0.09562381356954575, -0.020029131323099136, 0.030827971175312996, 0.07046347856521606, 0.018131636083126068, -0.00063459383090958, 0.01337780524045229, 0.04770870879292488, 0.01023048721253872, -0.022619683295488358, -0.03748844936490059, -0.005516673903912306, -0.03229622542858124, -0.024933259934186935, 0.035803843289613724, 0.008792324922978878, -0.07433056831359863, -0.04898034408688545, -0.01732112094759941, 0.03334102779626846, -0.05486277863383293, -0.0682658851146698, 0.03745414689183235, -0.04441268369555473, -0.006105962209403515, -0.020799018442630768, -0.007856570184230804, -0.06391888111829758, -0.011342687532305717, 0.03875356167554855, 0.045025281608104706, -0.002437978982925415, 0.01718873903155327, 0.05141841992735863, 0.07201378792524338, -0.017016831785440445, -0.014427128247916698, 0.018880970776081085, -0.05630248785018921, -0.021760109812021255, 0.017268046736717224, 0.08357498794794083, -0.022310972213745117, 0.010083584114909172, -0.09004787355661392, 0.01771528832614422, -0.03365427255630493, 0.07061585783958435, 0.01992727816104889, 0.02376154437661171, 0.06749832630157471, -0.009673512540757656, -0.028546541929244995, 0.04700907692313194, -0.004029959440231323, -0.07166425883769989, 0.07791467010974884, -0.026712948456406593, 0.02553211897611618, -0.04333600029349327, 0.05353027954697609, 0.014408860355615616, -0.05144844576716423, -0.019539620727300644, 0.060234010219573975, 0.0024033624213188887, 0.01242552325129509, -0.019370414316654205, 0.031433816999197006, -0.012310800142586231, 0.03827546536922455, -0.060741595923900604, 0.012895298190414906, 0.02112341858446598, -0.012113974429666996, 0.02795528993010521, -0.07913495600223541, 0.04800732061266899, -0.02960466966032982, -0.009901346638798714, -0.07046309113502502, 0.01804492063820362, -0.037612609565258026, 0.03843220695853233, 0.08461812138557434, 0.01570109650492668, 0.06395218521356583, 0.007449582684785128, 0.044873468577861786, -0.015129991807043552, 0.05053200200200081, 0.0034528535325080156, 0.044514551758766174, 0.05684151500463486, -0.008258084766566753, -0.022823359817266464, 0.01970103196799755, -0.004527821205556393, -0.012225829996168613, -0.05157088488340378, 0.013166049495339394, 0.04687127843499184, -0.027545025572180748, -0.010994531214237213, -0.03554178774356842, -0.007721157744526863, 0.07313331216573715, 0.043754007667303085, 0.039401356130838394, 0.015654120594263077, -0.010733306407928467, -0.026015501469373703, -0.045592986047267914, 0.017079001292586327, 0.0007646469166502357, -0.0377192422747612, -0.06745657324790955, -0.0007020736229605973, 0.01365230418741703, -0.005282627884298563, -0.07569737732410431, 0.07859431952238083, -0.027646755799651146, 0.005100828595459461, -0.05135330930352211, -0.03543960303068161, 0.009690414182841778, -0.042281102389097214, 0.004530271515250206, 0.1742219626903534, 0.028207937255501747, 0.06323504447937012, 0.017468558624386787, 0.03528197109699249, 0.056371912360191345, 0.07598327845335007, 0.04217340424656868, 0.09467767179012299, -0.046962618827819824, -0.08041056245565414, -0.039125628769397736, -0.061837732791900635, -0.0035250301007181406, -0.0024623204953968525, -0.04829418286681175, 0.0723152756690979, 0.012405083514750004, -0.0170635674148798, -0.03167256712913513, 0.001545615610666573, -0.047033850103616714, 0.0567190907895565, -0.0035783795174211264, 0.030736248940229416, 0.03580256178975105, 0.08496510982513428, 0.021505113691091537, -0.026752730831503868, -0.03172660619020462, -0.08682571351528168, 0.0066185458563268185, -0.02228853851556778, -0.0021871812641620636, -0.00015381777484435588, -0.011447787284851074, 0.0010198253439739347, -0.010258679278194904, -0.04489419236779213, 0.07518281787633896, -0.03968103975057602, -0.04665690287947655, -0.06134665757417679, -0.01178968045860529, -0.023342102766036987, -0.0024734134785830975, 0.002914073644205928, 0.0037976426538079977, 0.027076853439211845, -0.019370965659618378, 0.016221478581428528, -0.01941486820578575, 0.024395864456892014, 0.007485679816454649, -0.012942029163241386, 0.010833674110472202, 0.023826703429222107, -0.02761814557015896, -0.02318909950554371, 0.003961643204092979, -0.014109306037425995, -0.05719180405139923, -0.0015950462548062205, 0.0376993753015995, 0.0379076786339283, 0.01633279398083687, 0.0037017189897596836, -0.0030953800305724144, 0.011369247920811176, 0.013486050069332123, 0.054382871836423874, 0.011417625471949577, 0.010152940638363361, -0.009333774447441101, -0.021540876477956772, 0.006270012818276882, -0.0011444631963968277, -0.014329732395708561, 0.001853944268077612, 0.024803858250379562, -0.0018752587493509054, 0.016415603458881378, 0.019288145005702972, -0.030700575560331345, -0.01364908367395401, 0.006978839170187712, -0.011560510843992233, -0.008152233436703682, -0.09123021364212036, -0.010593508370220661, -0.03326020389795303, 0.0035203304141759872, -0.020649999380111694, -0.02166779898107052, 0.03831245377659798, -0.027110630646348, -0.0034638536162674427, -0.006801663897931576, 0.014347140677273273, -0.0037996170576661825, -0.04580872505903244, -0.009848219342529774, -0.029387308284640312, 0.002665346721187234, 0.010053320787847042, -0.005135697312653065, 0.06982529163360596, 0.0351538322865963, -0.07191656529903412, 0.0000036654487303167116, -0.0024055263493210077, -0.035837702453136444, -0.022202255204319954, -0.05199204757809639, 0.05489567294716835, -0.01199345476925373, 0.019318509846925735, -0.03835466504096985, 0.04331553354859352, -0.0629686638712883, -0.07902197539806366, -0.02045648731291294, -0.03995879739522934, 0.005562382284551859, 0.0010952154407277703, -0.02127060480415821, 0.03953426331281662, 0.00327755743637681, 0.004111780785024166, 0.022319527342915535, 0.011171409860253334, 0.01821872778236866, 0.042622774839401245, -0.02420394867658615, 0.012105227448046207, 0.020516546443104744, 0.04944508895277977, -0.04729146510362625, -0.002259007655084133, -0.0008380907238461077, 0.010284213349223137, 0.027352795004844666, -0.006128943059593439, 0.02501513436436653, 0.01648729294538498, 0.05022427439689636, -0.012800665572285652, -0.03938713297247887, -0.05436757579445839, 0.008109251968562603, -0.04569830372929573, -0.05553404986858368, -0.024841224774718285, 0.030263133347034454, -0.008172847330570221, -0.02624741941690445, -0.002504849573597312, 0.030463319271802902, -0.011619513854384422, 0.037512995302677155, 0.00904626864939928, 0.006574667990207672, -0.014091136865317822, 0.003503896063193679, 0.0001985560666071251, -0.05804196745157242, 0.04609965905547142, 0.053096167743206024, -0.007679223082959652, -0.007988804019987583, 0.02717353031039238, 0.000710565538611263, -0.016795964911580086, -0.015150409191846848, 0.04733018949627876, -0.02092687599360943, 0.045335907489061356, 0.030537262558937073, 0.026506833732128143, -0.03597353398799896, -0.005386729259043932, -0.023267848417162895, 0.01693630777299404, -0.006856956984847784, -0.0074874297715723515, 0.0480557419359684, -0.00986828189343214, -0.0169428251683712, 0.0013883209321647882, -0.028390897437930107, -0.05609545484185219, 0.009437741711735725, -0.006378769408911467, 0.02045048400759697, -0.03931083530187607, -0.022718224674463272, 0.033638302236795425, 0.010579709894955158, 0.005727853626012802, 0.010003005154430866, -0.01936313509941101, -0.02294381894171238, 0.02598508633673191, 0.03048454225063324, -0.00476564047858119, 0.01026966329663992, -0.03412698209285736, 0.04102114960551262, -0.016796518117189407, 0.006497138179838657, -0.007631262298673391, -0.018680384382605553, 0.019492346793413162, 0.008519482798874378, 0.026508847251534462, -0.017918359488248825, -0.016870589926838875, -0.00128249975387007, -0.010463306680321693, -0.03192867711186409, 0.031077519059181213, -0.024153798818588257, 0.007667606696486473, 0.0012515857815742493, 0.001735580270178616, 0.01411446463316679, -0.007487195078283548, -0.010837634094059467, -0.008443430066108704, 0.019240055233240128, 0.05091703310608864, -0.02741258777678013, 0.02425968274474144, 0.031437765806913376, -0.05489039421081543, 0.0030781065579503775, -0.040994878858327866, 0.0005562760634347796, -0.0006111636757850647, 0.018826453015208244, -0.008659126237034798, 0.05156386271119118, 0.05371429771184921, 0.002898606238886714, 0.0008844384574331343, -0.03566470369696617, 0.010943609289824963, 0.04281899333000183, -0.04934147745370865, -0.03233913704752922, 0.01005824189633131, 0.035477571189403534, -0.03085123933851719, 0.015041041187942028, -0.0024436640087515116, -0.06602657586336136, -0.00470834830775857, 0.015460042282938957, 0.00714079150930047, 0.021167166531085968, 0.013665404170751572, -0.027975795790553093, 0.0087484922260046, 0.06588812172412872, 0.02849799394607544, 0.03669821470975876, -0.02814769558608532, 0.031295206397771835, -0.04387027770280838, -0.010961631312966347, 0.017227668315172195, 0.011136196553707123, 0.0012784261489287019, -0.004420012701302767, 0.05040804296731949, 0.09058542549610138, -0.024149863049387932, -0.01827426813542843, -0.02898292988538742, -0.03824470192193985, -0.00804425310343504, -0.018380526453256607, 0.013255218043923378, -0.06443345546722412, -0.0029951706528663635, 0.004314611665904522, 0.0011420166119933128, -0.01717510260641575, -0.0042130849324166775, 0.06394245475530624, -0.03676264360547066, -0.016145505011081696, 0.024940861389040947, -0.036089230328798294, -0.001203573658131063, 0.015582296065986156, 0.005327238235622644, -0.008583501912653446, 0.010196145623922348, -0.017233774065971375, 0.008153640665113926, 0.020934872329235077, 0.010283943265676498, -0.016820181161165237, -0.06719166785478592, 0.0075675868429243565, 0.013997490517795086, 0.034018777310848236, -0.02046510949730873, 0.006322136148810387, -0.025548787787556648, -0.014580147340893745, 0.011560117825865746, -0.06840971857309341, 0.019605625420808792, 0.018099026754498482, 0.04283009096980095, 0.04448655992746353, 0.014204035513103008, 0.000545543385669589, -0.0028138160705566406, 0.0037153777666389942, -0.007221235893666744, 0.050701290369033813, -0.02396133542060852, 0.028886917978525162, 0.05341454595327377, -0.0265007633715868, 0.019204601645469666, -0.008612713776528835, -0.06442778557538986, 0.039224687963724136, -0.02684749849140644, 0.0277431420981884, 0.07048356533050537, 0.0011066450970247388, 0.005350497085601091, 0.028049280866980553, -0.003043175209313631, 0.02281378209590912, 0.001209156820550561, -0.003626943100243807, 0.0055432734079658985, -0.008256577886641026, 0.05130544677376747, 0.005051642190665007, 0.02330435812473297, -0.01161465048789978, 0.026997635141015053, -0.062769316136837, 0.047657426446676254, -0.01075871754437685, -0.03301625698804855, 0.01995380036532879, -0.007166846189647913, -0.04981926828622818, 0.003363177878782153, 0.042018234729766846, 0.007976342923939228, 0.04703259468078613, -0.007548315450549126, -0.02018006518483162, -0.02276494912803173, 0.003505787579342723, 0.006959385704249144, 0.03842657431960106, -0.04453938826918602, 0.032247528433799744, 0.03148622065782547, 0.05966708064079285, 0.05321042612195015, 0.005924026481807232, 0.06959261745214462, 0.027962300926446915, 0.02245737612247467, 0.007650716695934534, 0.03924713656306267, 0.027663210406899452, 0.0013602117542177439, 0.0016810799716040492, -0.010050819255411625, -0.04291105270385742, 0.03307138755917549, 0.034841183573007584, 0.03495623171329498, -0.0402933694422245, 0.012796479277312756, -0.03269185870885849, 0.01931595429778099, 0.03236910328269005, -0.016063451766967773, -0.012050526216626167, 0.017888039350509644, 0.036090146750211716, 0.012249141931533813, 0.01149379275739193, 0.013708991929888725, 0.022729093208909035, -0.019710324704647064, 0.01511560007929802, 0.06815623492002487, -0.014734603464603424, -0.0026483586989343166, 0.047814447432756424, 0.017245152965188026, -0.03531431779265404, -0.05116677284240723, 0.013007726520299911, 0.004721376113593578, -0.026435697451233864, -0.03645908460021019, 0.016513247042894363, -0.015952089801430702, -0.0126847755163908, 0.007705973461270332, 0.003363251918926835, -0.034617383033037186, 0.01204664446413517, 0.018193073570728302, 0.03279543295502663, 0.005231608171015978, -0.0018101090099662542, -0.018948953598737717, 0.02032644860446453, 0.027906101197004318, 0.014129444025456905, 0.004517594818025827, -0.059383824467659, -0.04813220724463463, 0.012989376671612263, 0.017425833269953728, 0.009859021753072739, 0.019069025292992592, -0.04258302226662636, 0.014909199438989162, 0.023222971707582474, -0.001714189420454204, 0.06791763007640839, 0.021973352879285812, 0.04321003332734108, 0.011066991835832596, -0.0064954678528010845, -0.012982296757400036, -0.02471877634525299, 0.025812242180109024, -0.03853585571050644, 0.03355749696493149, -0.0016384701011702418, 0.02571781538426876, 0.015038169920444489, 0.006281696725636721, -0.017247332260012627, -0.025233307853341103, 0.012356792576611042, 0.011679221875965595, -0.0073729692958295345, 0.041672803461551666, 0.0007271156646311283, -0.02604835107922554, 0.04214112088084221, -0.019339842721819878, -0.005663578398525715, 0.0048471298068761826, -0.00504469545558095, 0.0677974745631218, -0.034785497933626175, -0.007390585727989674, 0.02599426545202732, 0.06500015407800674, 0.022107932716608047, 0.016145404428243637, 0.026220647618174553, -0.0031245716381818056, 0.014983324334025383, -0.02216257154941559, 0.05652862414717674, 0.0013379108859226108, -0.0006495114066638052, -0.008119993843138218, -0.03454011678695679, -0.02505347691476345, -0.018869828432798386, -0.016179587692022324, 0.007955458015203476, -0.0602126307785511, -0.020172107964754105, 0.008396811783313751, -0.02592356503009796, -0.012678524479269981, 0.005637790076434612, 0.021913578733801842, 0.038279496133327484, 0.029493801295757294, 0.02166101336479187, -0.047448087483644485, -0.006810477469116449, -0.03463001176714897, 0.01420885231345892, -0.0013295940589159727, -0.0038791545666754246, -0.01904420740902424, -0.004949584603309631, 0.0011254360433667898, 0.005538515746593475, -0.048676349222660065, 0.03424745798110962, -0.00720492796972394, 0.00950326956808567, -0.05987265333533287, -0.027143225073814392, 0.039666011929512024, -0.019599471241235733, 0.02540845237672329, -0.019489536061882973, -0.019911717623472214, -0.005342588294297457, 0.003776753321290016, -0.05216177552938461, 0.004568502306938171, -0.04968297481536865, 0.0358552522957325, 0.01769622601568699, -0.022585786879062653, -0.015504819341003895, -0.0065134442411363125, -0.010405438020825386, 0.05564001575112343, -0.03265562281012535, -0.033569950610399246, -0.031149504706263542, -0.03763147443532944, 0.03818501532077789, -0.028100917115807533, -0.010890905745327473, 0.006144135724753141, -0.010926065035164356, -0.046221937984228134, 0.03586698696017265, 0.0023507194127887487, 0.007145852316170931, -0.007500207517296076, -0.033719733357429504, -0.021567506715655327, 0.035694122314453125, -0.022128494456410408, -0.0346769243478775, -0.0604378804564476, 0.016837967559695244 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
Creating embeddings 🕸 We now have a dataset with a bunch of images in it. To begin creating our image search app, we need to embed these images. There are various ways to try and do this, but one possible way is to use the CLIP models via the sentence_transformers library. The CLIP model from OpenAI learns a joint representation for both images and text, which is very useful for what we want to do since we want to input text and get back an image. We can download the model using the SentenceTransformer class. python from sentence_transformers import SentenceTransformer model = SentenceTransformer('clip-ViT-B-32') This model will take as input either an image or some text and return an embedding. We can use the datasets map method to encode all our images using this model. When we call map, we return a dictionary with the key embeddings containing the embeddings returned by the model. We also pass device='cuda' when we call the model; this ensures that we're doing the encoding on the GPU. python ds_with_embeddings = dataset.map( lambda example: {'embeddings':model.encode(example['image'], device='cuda')}, batched=True, batch_size=32) We can 'save' our work by pushing back to the Hub using push_to_hub. python ds_with_embeddings.push_to_hub('davanstrien/embellishments-sample', private=True) If we were to move to a different machine, we could grab our work again by loading it from the Hub 😃 python from datasets import load_dataset ds_with_embeddings = load_dataset("davanstrien/embellishments-sample", use_auth_token=True) We now have a new column which contains the embeddings for our images. We could manually search through these and compare them to some input embedding but datasets has an add_faiss_index method. This uses the faiss library to create an efficient index for searching embeddings. For more background on this library, you can watch this YouTube video python ds_with_embeddings['train'].add_faiss_index(column='embeddings') Dataset({ features: ['fname', 'year', 'path', 'image', 'embeddings'], num_rows: 10000 })
[ 0.01685338094830513, -0.00353055726736784, 0.004845827352255583, 0.03673027083277702, 0.03368086367845535, 0.09583577513694763, -0.02462422288954258, -0.013645028695464134, -0.05822673812508583, -0.057320985943078995, -0.028928464278578758, 0.011105386540293694, -0.017691239714622498, 0.006071947049349546, 0.03379681706428528, -0.08436308801174164, 0.05815644562244415, 0.031126268208026886, 0.018707871437072754, 0.0497957319021225, 0.0040962272323668, -0.0034557951148599386, 0.03453147038817406, 0.010359210893511772, -0.019962579011917114, -0.04255273938179016, 0.06024190038442612, 0.06868074089288712, -0.020510120317339897, 0.02318774163722992, -0.0847122073173523, 0.040579140186309814, -0.019971657544374466, -0.016970708966255188, -0.01586555875837803, 0.05656217411160469, -0.11918482929468155, 0.03928450122475624, 0.03956025466322899, 0.006352658849209547, -0.031146269291639328, 0.006276531610637903, -0.054631657898426056, 0.015256281942129135, 0.059968121349811554, -0.0463075153529644, -0.16346099972724915, 0.09824001044034958, 0.004765222780406475, -0.00882487278431654, -0.08212451636791229, 0.01953808031976223, 0.01502256840467453, 0.018901046365499496, -0.009117460809648037, 0.06261095404624939, 0.04618624597787857, -0.16535505652427673, -0.0043726721778512, 0.03766324743628502, 0.033762797713279724, -0.023084763437509537, 0.04914933443069458, 0.06528769433498383, 0.061738982796669006, 0.02753031626343727, -0.04774881899356842, 0.06815537810325623, -0.026733482256531715, -0.05864384025335312, 0.07546626031398773, -0.025763390585780144, -0.023680798709392548, -0.03962062671780586, 0.008130665868520737, -0.0648011639714241, -0.042645588517189026, 0.052267130464315414, 0.09876933693885803, 0.005969572346657515, -0.017173578962683678, 0.011317196302115917, 0.011302780359983444, 0.010641610249876976, 0.035564783960580826, 0.05945129320025444, -0.005827033892273903, -0.0296857301145792, -0.01635614037513733, 0.03256555646657944, -0.02249760553240776, -0.13659605383872986, -0.02015800029039383, 0.05083474889397621, 0.014931676909327507, -0.003860273165628314, 0.027457237243652344, 0.00877273827791214, -0.0032108721788972616, -0.012684375047683716, 0.039374902844429016, -0.0776495710015297, 0.04615209251642227, -0.01960553601384163, -0.04863613471388817, 0.05440109595656395, 0.008909590542316437, -0.03349514678120613, -0.02266020141541958, -0.004734336398541927, 0.014814278110861778, 0.03385768458247185, -0.05879336968064308, 0.06547810882329941, -0.06631431728601456, -0.0032370788976550102, 0.02845187857747078, 0.002063644351437688, -0.09934593737125397, 0.0620134137570858, 0.035019248723983765, 0.05104916915297508, 0.03388001769781113, 0.01831606961786747, -0.02348220907151699, 0.03281208500266075, -0.0010727305198088288, 0.027148686349391937, -0.006362021900713444, 0.002811030251905322, 0.003742778208106756, -0.0027033884543925524, 0.07012079656124115, -0.013717337511479855, -0.037065841257572174, -0.03545344993472099, -0.014263739809393883, -0.07263645529747009, -0.028857221826910973, 0.008309897966682911, 0.014481968246400356, 0.039597053080797195, 0.026827331632375717, 0.03556304797530174, 0.012534315697848797, 0.003503471612930298, -0.04982443526387215, 0.032862916588783264, -0.010374324396252632, -0.04941270500421524, -0.09882380068302155, 0.036352045834064484, 0.006158860865980387, -0.057183898985385895, -0.021029340103268623, 0.10426430404186249, -0.0001891458232421428, -0.0032412961591035128, -0.062077075242996216, -0.011025839485228062, 0.021518422290682793, -0.010327913798391819, -0.034522004425525665, 0.0181889645755291, -0.010111423209309578, -0.03420216962695122, 0.038410723209381104, 0.002895048586651683, 0.007150755263864994, 0.02681899443268776, -0.11795952916145325, -0.038638994097709656, 0.051459673792123795, -0.005300173070281744, 0.061958666890859604, 0.05739617347717285, -0.0005477169761434197, 0.05495627969503403, -0.012385513633489609, -0.05421299859881401, -0.00801111850887537, 0.017837433144450188, -0.02581392042338848, 0.05814984068274498, 0.014432894997298717, -0.04086383804678917, 0.04952336475253105, -0.020491810515522957, -0.0030618368182331324, -0.027783632278442383, -0.044347133487463, -0.018517786636948586, 0.007465187925845385, -0.013116414658725262, 0.008089689537882805, -0.03745291009545326, -0.04924439266324043, 0.06374461948871613, 0.06039584055542946, 0.07889804989099503, -0.0050686560571193695, -0.02782735787332058, 0.006085245870053768, -0.03486181050539017, -0.04625241085886955, -0.04733487218618393, -0.018365874886512756, -0.05518573895096779, -0.004226315766572952, 0.025781527161598206, 0.05172702297568321, -0.08619628846645355, 0.096441850066185, -0.08838363736867905, 0.036163248121738434, -0.06238798797130585, -0.01263456605374813, -0.018632790073752403, -0.0735010951757431, 0.003945259843021631, 0.15810582041740417, 0.012683186680078506, 0.03274335339665413, -0.005351995583623648, 0.017097866162657738, 0.06851039826869965, 0.03147556632757187, -0.0051084402948617935, 0.06341615319252014, -0.09405051916837692, -0.02451774850487709, -0.036923207342624664, -0.01136604230850935, 0.03664912283420563, -0.03204822540283203, -0.044439248740673065, 0.08171706646680832, 0.037021614611148834, 0.04159119352698326, -0.031223436817526817, 0.010003607720136642, -0.021582700312137604, -0.038290008902549744, -0.037766266614198685, 0.04477366432547569, -0.023700788617134094, 0.1058281809091568, 0.01648293249309063, -0.016365952789783478, -0.027709204703569412, -0.08924791216850281, 0.006144776940345764, -0.06735926866531372, -0.03955571725964546, 0.015095101669430733, 0.0008519740076735616, 0.00923402514308691, -0.030453288927674294, -0.007227123714983463, 0.06610126793384552, 0.0028633796609938145, 0.024790046736598015, -0.01649431698024273, -0.05319682136178017, 0.0001757351274136454, 0.015552586875855923, 0.0027943605091422796, 0.021245747804641724, 0.004643579013645649, 0.012051795609295368, -0.00855144765228033, -0.023250073194503784, 0.022086555138230324, -0.01991468109190464, 0.02340366505086422, 0.02784082479774952, 0.010520759038627148, -0.030415160581469536, -0.02340056747198105, -0.005114553030580282, -0.02481442131102085, -0.01379645150154829, 0.028536612167954445, 0.07351478934288025, -0.0124164167791605, 0.01598471961915493, -0.02406696043908596, 0.01604769565165043, -0.018368428573012352, 0.03512488305568695, 0.033071912825107574, 0.03114636242389679, 0.013070054352283478, -0.008456505835056305, -0.0009682401432655752, 0.011757025495171547, -0.012582559138536453, -0.018874898552894592, -0.03849336504936218, 0.03820330277085304, -0.00987318903207779, -0.01781245693564415, 0.01623273827135563, -0.019755955785512924, -0.02390734665095806, 0.04342449828982353, 0.03126322478055954, 0.031008312478661537, -0.0931912288069725, 0.008346723392605782, -0.016450464725494385, 0.01688895747065544, -0.024794021621346474, 0.003086805110797286, 0.007476446218788624, 0.010645720176398754, -0.0025619410444051027, 0.004810991697013378, -0.010493041947484016, 0.03053630143404007, -0.022106889635324478, 0.009211685508489609, 0.0013766593765467405, 0.001955540617927909, 0.012010117992758751, 0.025976955890655518, 0.01921999081969261, 0.01581963151693344, -0.05489660054445267, 0.038966234773397446, 0.00415958184748888, 0.043500304222106934, -0.006748505402356386, -0.020850758999586105, 0.021251970902085304, -0.0077453493140637875, 0.05768108740448952, -0.05973264202475548, -0.02355978451669216, -0.026966707780957222, -0.014439051039516926, -0.026427974924445152, -0.08981586247682571, 0.001365508302114904, 0.031117651611566544, 0.0016101693036034703, 0.04083128273487091, 0.008495294488966465, -0.008517329581081867, -0.001636071945540607, 0.0022085553500801325, -0.015581876039505005, 0.005981198977679014, -0.02075153775513172, -0.0017262642504647374, 0.04539799317717552, -0.009897547774016857, -0.05673852562904358, 0.019405025988817215, 0.01485483068972826, 0.00826148223131895, 0.04038968309760094, 0.025677071884274483, 0.023302407935261726, 0.03332720324397087, 0.04026492312550545, -0.0015394749352708459, -0.002382630715146661, -0.03308389335870743, 0.01708522066473961, -0.023827772587537766, -0.00992603786289692, 0.01784621737897396, 0.08196669071912766, -0.008591457270085812, -0.010990443639457226, -0.023357201367616653, 0.047589585185050964, -0.027477899566292763, 0.011299196630716324, 0.02659129723906517, 0.0033439130056649446, -0.048999059945344925, 0.036775849759578705, 0.005290490575134754, -0.025481579825282097, 0.03387419134378433, 0.04470562934875488, -0.0008702914346940815, -0.04670444875955582, -0.025936614722013474, -0.006344818044453859, 0.07660261541604996, 0.0157239381223917, -0.024898074567317963, -0.05291224643588066, 0.06417803466320038, 0.0006173324072733521, 0.014393502846360207, -0.022519631311297417, 0.0035905041731894016, 0.017507726326584816, -0.022679420188069344, -0.01242329552769661, 0.04630470275878906, -0.010318590328097343, 0.012881164439022541, 0.0150131331756711, 0.0052881245501339436, -0.0050193145871162415, -0.02853921614587307, 0.010056122206151485, -0.023818233981728554, -0.019335342571139336, -0.07435916364192963, -0.007904109545052052, 0.022822024300694466, -0.009249457158148289, -0.029489679262042046, -0.039759691804647446, -0.02351566031575203, -0.0068299779668450356, 0.024664917960762978, 0.03295233100652695, -0.009373310953378677, -0.043749142438173294, 0.0023351756390184164, -0.013580245897173882, 0.003022892866283655, 0.014458260498940945, -0.0038194148801267147, -0.03679677098989487, -0.02180328220129013, 0.016232196241617203, 0.023451291024684906, -0.020516742020845413, -0.020646188408136368, -0.03123319149017334, 0.0012164089130237699, -0.012593425810337067, -0.01284770853817463, -0.0008051067125052214, 0.024119459092617035, 0.011598690412938595, -0.009160052984952927, -0.021980786696076393, 0.004979659803211689, -0.021713856607675552, -0.023276574909687042, -0.014109615236520767, 0.020466184243559837, -0.008595237508416176, 0.0402337983250618, 0.0018237591721117496, -0.04364943504333496, 0.025795670226216316, -0.015409719198942184, 0.032619476318359375, 0.017560534179210663, 0.002412168076261878, -0.04234422743320465, -0.006267040967941284, 0.06966298818588257, 0.022891545668244362, 0.036660030484199524, -0.04321269318461418, -0.036366842687129974, 0.0435861274600029, -0.0006197895854711533, 0.005268902517855167, -0.016992144286632538, 0.006081718951463699, -0.041623249650001526, -0.014469306915998459, 0.024427346885204315, -0.05289961397647858, 0.002657151548191905, 0.012173663824796677, -0.015693653374910355, 0.005806709639728069, 0.01818062923848629, -0.020067231729626656, 0.01605382189154625, 0.026231080293655396, 0.020799236372113228, 0.04794129729270935, -0.03318478912115097, 0.022625073790550232, -0.030257828533649445, 0.0018153628334403038, 0.015063499100506306, -0.01571931503713131, -0.019513560459017754, 0.012182793579995632, 0.07198125869035721, 0.036177195608615875, 0.002606490394100547, -0.00808018259704113, -0.03419974446296692, 0.014590826816856861, 0.061178818345069885, -0.0279069934040308, 0.018013017252087593, -0.029523223638534546, -0.02727152220904827, -0.03457377851009369, -0.037472084164619446, -0.0017351377755403519, 0.06854638457298279, 0.07305242121219635, -0.025226319208741188, -0.04592203348875046, -0.0038108723238110542, -0.020664341747760773, 0.0004724327882286161, 0.0218400489538908, -0.00955390464514494, -0.03145556151866913, 0.02336934581398964, -0.002757836366072297, -0.013608026318252087, 0.02803417108952999, -0.010231432504951954, -0.007131792139261961, -0.03978298231959343, -0.0023062042891979218, 0.022338325157761574, 0.029825111851096153, -0.025516241788864136, -0.057663414627313614, -0.021158363670110703, 0.021131856366991997, 0.04581485688686371, -0.0013186992146074772, 0.026737753301858902, 0.05044139176607132, -0.006887487601488829, -0.0037362000439316034, 0.0006958792801015079, -0.01679982803761959, 0.006756037939339876, 0.06167695298790932, 0.0018566669896245003, 0.007246002554893494, -0.039604831486940384, 0.04345374554395676, 0.03999681398272514, -0.014512619934976101, 0.007185808848589659, -0.02380255050957203, -0.06441380828619003, 0.03122897446155548, -0.02090141363441944, 0.03928566351532936, 0.054980289191007614, 0.01249739620834589, -0.02300545573234558, 0.001765226712450385, 0.01265416108071804, 0.02922973781824112, -0.035622965544462204, -0.0006415259558707476, 0.023457730188965797, 0.009753056801855564, 0.016463950276374817, 0.0035191692877560854, 0.007622798439115286, 0.03390884771943092, -0.012534014880657196, -0.06750096380710602, 0.048361994326114655, 0.016709832474589348, -0.02006716839969158, 0.020330894738435745, 0.010160698555409908, -0.049886081367731094, -0.006194212473928928, 0.001503853709436953, 0.01493605226278305, 0.049261853098869324, 0.00783306360244751, 0.04134965315461159, 0.007279830053448677, 0.02110825665295124, -0.00949166715145111, 0.046485982835292816, -0.034866202622652054, 0.022239595651626587, 0.0210261307656765, 0.038207702338695526, 0.04687828570604324, -0.03286392241716385, 0.02006855234503746, 0.05865181237459183, 0.05264933407306671, 0.04079007729887962, 0.03182465583086014, 0.016110258176922798, 0.025827638804912567, -0.005624578334391117, 0.005719825625419617, -0.019885461777448654, -0.007104541640728712, 0.036652930080890656, 0.04002481326460838, -0.018018577247858047, -0.022039512172341347, -0.03010452166199684, 0.032164040952920914, 0.020747385919094086, -0.004994794726371765, -0.01866958849132061, 0.02667221426963806, 0.04834679141640663, 0.008359990082681179, 0.0008650623494759202, 0.023644404485821724, 0.061073362827301025, -0.004129901994019747, 0.03278426453471184, 0.03203583136200905, 0.012906656600534916, 0.025764591991901398, 0.012452301569283009, 0.011662245728075504, -0.00323869870044291, -0.02674512378871441, -0.0021891952492296696, -0.001724020577967167, -0.00579677801579237, -0.056083060801029205, 0.011618293821811676, -0.02562788315117359, -0.033009037375450134, -0.024867376312613487, 0.014518563635647297, -0.022764654830098152, 0.010833538137376308, -0.03740350157022476, 0.017765453085303307, -0.04697168245911598, -0.024559324607253075, 0.006954762618988752, 0.011695783585309982, -0.003993961028754711, 0.02279055304825306, -0.031559016555547714, -0.043020594865083694, 0.003925844561308622, 0.023348115384578705, -0.018419183790683746, 0.02068839594721794, -0.021693309769034386, -0.0233335942029953, 0.010017113760113716, 0.008060945197939873, -0.008707910776138306, 0.07023454457521439, 0.008033033460378647, 0.06483106315135956, -0.009303169324994087, 0.026960816234350204, -0.013943634927272797, -0.022236552089452744, 0.0003512892290018499, -0.025354638695716858, -0.007359620649367571, -0.030726304277777672, 0.0252875667065382, 0.022929059341549873, 0.04489126801490784, -0.028473159298300743, -0.0372653491795063, 0.017071345821022987, 0.0021928490605205297, -0.01059651654213667, 0.048721350729465485, -0.010537564754486084, -0.023372363299131393, 0.008065372705459595, -0.03352930769324303, -0.005625581368803978, -0.0016598814399912953, -0.012761120684444904, 0.04508928954601288, -0.051664069294929504, -0.03862954303622246, -0.04044241085648537, 0.04544607549905777, 0.018651265650987625, 0.03200788050889969, -0.0169620830565691, 0.002855720231309533, 0.020196350291371346, -0.0011343426303938031, -0.0013726516626775265, -0.0552716962993145, 0.012076797895133495, -0.05852380394935608, -0.02802504040300846, -0.045461807399988174, 0.015151523053646088, 0.00428026681765914, 0.03246382251381874, -0.07630358636379242, -0.01480854395776987, -0.004554500337690115, 0.013527503237128258, -0.019590819254517555, -0.006148905027657747, 0.03363806754350662, 0.007509275339543819, 0.032636068761348724, -0.008302927948534489, 0.004694793839007616, 0.03275877237319946, -0.036802224814891815, 0.039018500596284866, 0.03311580419540405, -0.011905279941856861, -0.011269095353782177, -0.035236965864896774, 0.029402021318674088, 0.013619297184050083, -0.008886805735528469, 0.0424325056374073, 0.03398549184203148, -0.018407143652439117, -0.044018082320690155, 0.0027862852439284325, 0.040566690266132355, 0.03474472463130951, 0.0009423394221812487, 0.007071596570312977, -0.03580601140856743, 0.0274021215736866, 0.02308623120188713, -0.03857840970158577, -0.034390032291412354, -0.034285299479961395, 0.005127991084009409, -0.04477967694401741, -0.027124816551804543, 0.025655563920736313, -0.05002434924244881, 0.01176571287214756, 0.03547937795519829, -0.04469526559114456, -0.06140560284256935, -0.01935158483684063, -0.02812516875565052, 0.04899604246020317, -0.015852555632591248, 0.007308361120522022, 0.03727675601840019, 0.010768462903797626, -0.010750419460237026, 0.009622346609830856, 0.015431630425155163, 0.00935332477092743, -0.008679887279868126, 0.003594790818169713, -0.013379506766796112, 0.05046548321843147, 0.04813713580369949, -0.005157845094799995, -0.022556021809577942, -0.00019911602430511266 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
The dataset: "Digitised Books - Images identified as Embellishments. c. 1510 - c. 1900" This is a dataset of images which have been pulled from a collection of digitised books from the British Library. These images come from books across a wide time period and from a broad range of domains. The images were extracted using information contained in the OCR output for each book. As a result, it's known which book the images came from, but not necessarily anything else about that image i.e. what is shown in the image. Some attempts to help overcome this have included uploading the images to flickr. This allows people to tag the images or put them into various different categories. There have also been projects to tag the dataset using machine learning. This work makes it possible to search by tags, but we might want a 'richer' ability to search. For this particular experiment, we'll work with a subset of the collections which contain "embellishments". This dataset is a bit smaller, so it will be better for experimenting with. We can get the full data from the British Library's data repository: https://doi.org/10.21250/db17. Since the full dataset is still fairly large, you'll probably want to start with a smaller sample.
[ -0.0064137657172977924, -0.002665738109499216, 0.0227365642786026, -0.005378364119678736, 0.04306916147470474, 0.054172247648239136, -0.04350907355546951, 0.03617686405777931, -0.07889635860919952, 0.008881023153662682, -0.07586724311113358, 0.03109966218471527, -0.011579889804124832, 0.03774101287126541, 0.045156143605709076, 0.02594972401857376, 0.009948465041816235, -0.022018225863575935, 0.005020408425480127, 0.007045218721032143, 0.0003480606828816235, -0.014876934699714184, 0.03125977888703346, -0.0393938273191452, 0.011798897758126259, -0.01331703644245863, 0.08253452926874161, -0.039711106568574905, -0.03943169116973877, -0.0200137197971344, -0.10506988316774368, -0.014256700873374939, 0.03153950348496437, -0.010064968839287758, -0.075252003967762, -0.025603875517845154, -0.15917399525642395, -0.005687925964593887, 0.0006223648088052869, -0.08639267832040787, -0.05524465814232826, -0.011399894021451473, -0.03837023302912712, 0.08570588380098343, -0.0013857446610927582, -0.06440949440002441, -0.1597786694765091, 0.061197344213724136, 0.017988650128245354, 0.045413948595523834, -0.04887870326638222, 0.05513022467494011, 0.023260047659277916, 0.031773876398801804, -0.020769840106368065, 0.042195986956357956, 0.025220992043614388, -0.08922570198774338, 0.06855007261037827, 0.05292997881770134, 0.05993584543466568, 0.012002059258520603, 0.06852848827838898, 0.0031262387055903673, 0.03474331647157669, -0.011475163511931896, 0.005017125979065895, 0.07288283854722977, -0.053600702434778214, 0.01940242201089859, 0.07857614010572433, -0.011225597001612186, -0.014324242249131203, -0.04941922798752785, -0.01793316751718521, 0.013393746688961983, 0.07007160037755966, 0.04934312030673027, 0.046562351286411285, -0.06457091867923737, 0.01866152137517929, 0.028973229229450226, 0.10035808384418488, 0.027312392368912697, 0.0719822347164154, 0.02580409124493599, -0.02007211558520794, 0.038034018129110336, -0.023362092673778534, 0.04769445210695267, 0.017710577696561813, -0.08272408694028854, -0.05318635329604149, 0.0318724550306797, 0.020888641476631165, -0.10191941261291504, 0.03455960005521774, -0.0415971502661705, -0.007326270453631878, -0.02045239880681038, -0.04498236998915672, -0.02458268590271473, 0.06538435816764832, -0.03565752133727074, -0.07398442178964615, 0.03368910029530525, -0.06902124732732773, 0.020302293822169304, -0.05430367961525917, -0.03314182534813881, 0.025318749248981476, 0.014007880352437496, -0.03354498744010925, 0.09049545228481293, -0.014532586559653282, 0.021766426041722298, 0.0559505969285965, 0.02806221693754196, -0.06947825103998184, 0.01796880178153515, -0.046489957720041275, 0.06683235615491867, 0.008510483428835869, -0.028579363599419594, 0.04608052968978882, 0.01577777974307537, 0.008036470972001553, 0.050538599491119385, -0.07632075250148773, -0.01077725924551487, -0.006439937744289637, 0.017688123509287834, -0.0424550361931324, -0.054419055581092834, 0.022581011056900024, 0.00800138246268034, -0.017159754410386086, 0.025137901306152344, -0.004570700693875551, 0.08742351084947586, 0.014357098378241062, 0.004141178447753191, -0.08003681153059006, 0.08855126798152924, 0.030634718015789986, -0.00686956662684679, 0.019268730655312538, 0.005349542014300823, 0.0021831681951880455, 0.019854195415973663, -0.07878293097019196, 0.024912597611546516, 0.028197821229696274, -0.045289743691682816, 0.0012926384806632996, 0.04119235277175903, 0.01973710209131241, -0.005745354574173689, -0.0828297808766365, -0.02752070315182209, -0.03749367967247963, -0.00867666956037283, -0.0377466082572937, 0.028240598738193512, 0.04911104217171669, -0.08732643723487854, -0.0036893277429044247, 0.03871525079011917, -0.025857554748654366, -0.022965429350733757, -0.05158394202589989, -0.0864022821187973, 0.03084276244044304, 0.013481640256941319, -0.014714050106704235, 0.053787387907505035, 0.07258470356464386, 0.054309576749801636, -0.006229878403246403, -0.032922450453042984, -0.03697361797094345, -0.03047136589884758, 0.02975829504430294, -0.007818072102963924, 0.039714064449071884, 0.02884949930012226, 0.009314309805631638, 0.019343458116054535, 0.013316997326910496, 0.009857437573373318, -0.06913439184427261, -0.06583694368600845, 0.04665173590183258, -0.0391409769654274, 0.06164431571960449, -0.07781063765287399, -0.04572225734591484, 0.1141243577003479, 0.002485116710886359, 0.012980400584638119, -0.010651783086359501, -0.03370141237974167, 0.024872159585356712, -0.044904954731464386, 0.017368264496326447, -0.08686918765306473, 0.011625552549958229, 0.009900416247546673, 0.10840576142072678, -0.04552898928523064, -0.008285761810839176, -0.044421277940273285, 0.05402129888534546, 0.018246540799736977, -0.011931815184652805, -0.022912880405783653, 0.03073941357433796, -0.0013969979481771588, 0.029272334650158882, -0.07496970146894455, 0.12302948534488678, 0.038375373929739, 0.02935449779033661, -0.0032719660084694624, -0.028711039572954178, 0.036123018711805344, 0.054192472249269485, 0.030876675620675087, 0.05749201029539108, -0.06489769369363785, -0.0365975983440876, 0.015696968883275986, 0.023854980245232582, 0.004435408394783735, -0.011736692860722542, -0.055669672787189484, 0.028189318254590034, 0.008701391518115997, 0.03080589324235916, 0.004222949501127005, 0.060926225036382675, -0.07265514880418777, -0.03200022503733635, 0.06616239249706268, 0.027888761833310127, -0.05516977235674858, 0.03962486609816551, -0.024966107681393623, -0.037043023854494095, -0.031442493200302124, 0.005538747180253267, 0.03636457026004791, -0.11628743261098862, -0.005370310042053461, -0.010723767802119255, 0.051203809678554535, 0.00746765173971653, -0.02665804512798786, 0.013582254759967327, 0.043496232479810715, -0.05243378505110741, -0.012139984406530857, -0.0459103062748909, -0.048575807362794876, 0.008606559596955776, -0.025171322748064995, -0.011977419257164001, 0.007840042002499104, 0.04715809226036072, 0.004140548873692751, -0.0011171201476827264, -0.025514479726552963, 0.0006216542678885162, 0.043633393943309784, 0.058183614164590836, 0.011755946092307568, 0.038286782801151276, -0.018692584708333015, 0.017706893384456635, -0.018306469544768333, 0.0327652283012867, -0.014697002246975899, 0.028374964371323586, -0.011621485464274883, 0.04477882757782936, -0.014774671755731106, 0.020079370588064194, -0.015894876793026924, 0.0032888089772313833, -0.00142187112942338, 0.0260895024985075, 0.04375651478767395, -0.0019877320155501366, 0.0001357403234578669, 0.027199923992156982, -0.04772519692778587, -0.047113656997680664, 0.018731215968728065, -0.06859615445137024, 0.022197486832737923, -0.022885523736476898, -0.01208210363984108, 0.014394496567547321, -0.011725720949470997, -0.03174874186515808, 0.05278133600950241, 0.03362208977341652, 0.06752411276102066, -0.09330249577760696, -0.012456648051738739, 0.03104979172348976, 0.0022272011265158653, -0.021106282249093056, -0.02164267562329769, 0.041525766253471375, 0.04132373258471489, -0.020571177825331688, 0.027476171031594276, 0.023782536387443542, -0.006680133752524853, 0.017473608255386353, 0.010346638970077038, 0.023272592574357986, 0.050786446779966354, -0.006442789454013109, 0.033171653747558594, -0.008765313774347305, 0.06716691702604294, -0.053926654160022736, 0.02334444783627987, -0.0033675869926810265, 0.05344826355576515, -0.04575810953974724, 0.020741431042551994, 0.02390427701175213, -0.0040397620759904385, 0.030806448310613632, -0.007160059176385403, 0.011119738221168518, 0.009839942678809166, -0.025387564674019814, 0.007654894143342972, -0.0264920424669981, 0.017165742814540863, 0.0291711688041687, 0.017816869542002678, -0.00405708234757185, 0.02147923782467842, -0.018244048580527306, 0.02397804521024227, 0.037931814789772034, -0.01646161451935768, 0.021679123863577843, 0.015203996561467648, -0.029772624373435974, -0.00788806937634945, 0.031457431614398956, -0.08592095971107483, -0.015513517893850803, 0.04280528426170349, -0.0022349294740706682, -0.007769059389829636, 0.00968884862959385, 0.0002774179738480598, 0.008015782572329044, -0.003577966708689928, 0.003712127450853586, -0.01179659366607666, -0.010908071883022785, 0.0556357279419899, 0.003783551510423422, -0.03637206181883812, -0.01918981969356537, -0.00664569390937686, -0.038987431675195694, 0.011677608825266361, -0.03132503852248192, 0.027071746066212654, 0.0016138023929670453, 0.05833519250154495, -0.012570382095873356, -0.002866766881197691, -0.04205441474914551, -0.01076355017721653, -0.0032778107561171055, 0.02605281211435795, 0.049895498901605606, 0.03196580708026886, 0.012619370594620705, -0.004523514769971371, -0.016769669950008392, -0.014860856346786022, 0.03762916103005409, -0.027858663350343704, -0.023865174502134323, -0.045163366943597794, -0.008858258835971355, -0.005711760837584734, 0.020953433588147163, 0.017996717244386673, -0.02619704231619835, 0.04735846444964409, 0.04708919674158096, -0.03162230923771858, 0.03135349601507187, -0.00028470365214161575, 0.03437156602740288, 0.014218212105333805, -0.01521255075931549, -0.016109846532344818, -0.04806007072329521, 0.024771317839622498, -0.020381903275847435, -0.011180909350514412, -0.04111885279417038, -0.04114573076367378, -0.00077632354805246, -0.03536555916070938, 0.011199054308235645, -0.038014430552721024, -0.004484322853386402, 0.010390644893050194, -0.0012384966248646379, -0.032869674265384674, 0.0006875823601149023, -0.02311486192047596, -0.01618831232190132, -0.012223631143569946, -0.02117127925157547, 0.007776448503136635, -0.03627771884202957, -0.006874008569866419, -0.03544214367866516, -0.042594023048877716, -0.02197149768471718, -0.01761193387210369, -0.025330794975161552, -0.022856608033180237, 0.026960890740156174, -0.04261113703250885, -0.027369938790798187, 0.013695797882974148, 0.026989784091711044, 0.005417976062744856, -0.02819179929792881, -0.01254010759294033, -0.035237379372119904, 0.001914028893224895, -0.033004045486450195, -0.044040028005838394, 0.038490112870931625, 0.024495817720890045, 0.016696065664291382, -0.020227016881108284, 0.01726502552628517, -0.01956172101199627, -0.007997184991836548, 0.006341509521007538, 0.006712798029184341, 0.027311963960528374, -0.011135919019579887, 0.04591166600584984, 0.034485913813114166, -0.015476309694349766, 0.013670172542333603, 0.027514753863215446, -0.005024390295147896, 0.03145299851894379, 0.022978808730840683, -0.0049365367740392685, -0.00966097041964531, 0.019450630992650986, -0.01922650635242462, -0.026834148913621902, 0.019582029432058334, -0.0010615106439217925, 0.0397726409137249, 0.06495405733585358, -0.00981408916413784, -0.009367529302835464, 0.007453349884599447, 0.0062907785177230835, 0.03205087408423424, 0.014353846199810505, -0.004674294497817755, 0.07312404364347458, 0.0020680928137153387, 0.007682463154196739, -0.04545674845576286, -0.010023226961493492, 0.033995483070611954, 0.011630051769316196, -0.0068823485635221004, 0.03842438757419586, 0.03446698933839798, 0.0420893169939518, -0.03247867152094841, -0.021287035197019577, -0.004363603424280882, -0.022180378437042236, 0.03240445256233215, -0.02512803114950657, -0.049536123871803284, -0.01632935367524624, 0.009651281870901585, -0.04545784741640091, 0.014830711297690868, -0.04167122021317482, 0.022530414164066315, 0.08814506232738495, -0.020825529471039772, 0.014856000430881977, 0.009859290905296803, -0.04125552624464035, -0.01727910526096821, -0.04246662184596062, -0.00894135795533657, -0.019704431295394897, -0.00914322305470705, -0.059057772159576416, -0.03003910928964615, 0.011394686065614223, -0.038748227059841156, -0.028418153524398804, -0.022670041769742966, -0.05100497230887413, 0.01451930869370699, 0.030467409640550613, -0.0009528774535283446, -0.010483048856258392, -0.012398702092468739, 0.041290219873189926, 0.0419321171939373, -0.011129342019557953, 0.02965598553419113, 0.004350463394075632, 0.03079981356859207, 0.005670748185366392, 0.006572025362402201, 0.017109397798776627, -0.0019467116799205542, 0.024482985958456993, -0.006550228223204613, -0.03733975440263748, -0.008115909993648529, 0.06337351351976395, 0.0456974171102047, 0.005856118630617857, 0.011774103157222271, 0.010713271796703339, -0.022141683846712112, 0.019325360655784607, -0.02614429034292698, -0.03562597930431366, 0.027196580544114113, 0.0267813540995121, 0.006616930011659861, 0.024377617985010147, -0.0005491437623277307, -0.0053005460649728775, -0.01201398205012083, -0.010308320634067059, 0.017033077776432037, 0.024232666939496994, 0.037120312452316284, 0.013357976451516151, 0.017255133017897606, -0.02288757637143135, 0.023058265447616577, -0.028876271098852158, 0.02586202882230282, 0.0234508216381073, -0.015789566561579704, 0.0410509891808033, 0.01675686240196228, -0.04587475582957268, 0.03269968554377556, 0.047453444451093674, -0.017800459638237953, 0.02423960529267788, -0.020169291645288467, -0.014046339318156242, -0.04750797897577286, -0.013397380709648132, -0.008479854092001915, 0.04792654886841774, -0.013477797619998455, 0.02107326127588749, 0.014024161733686924, 0.0018880829447880387, 0.05583691969513893, -0.00969147589057684, -0.008815373294055462, 0.05157633498311043, 0.057382840663194656, 0.001548394444398582, 0.06596890091896057, -0.010295472107827663, -0.03249369561672211, -0.01653728447854519, -0.03370613604784012, 0.01660907454788685, 0.014434927143156528, 0.018837986513972282, 0.016796069219708443, 0.001580873504281044, 0.020615167915821075, -0.015162981115281582, 0.06241290271282196, -0.028444986790418625, -0.006307774689048529, -0.011104846373200417, 0.04982857406139374, 0.031309716403484344, -0.030744047835469246, 0.01669408567249775, 0.051359668374061584, -0.0009665838442742825, 0.007786428555846214, 0.04752515256404877, -0.006419251207262278, 0.04168754070997238, 0.0232385266572237, -0.04551802575588226, -0.009383447468280792, -0.007783184293657541, -0.03342106565833092, -0.021101150661706924, -0.011509785428643227, 0.002616647630929947, -0.031835053116083145, 0.021135173738002777, -0.026910902932286263, 0.010043585672974586, -0.01250873226672411, 0.030997760593891144, -0.024267323315143585, 0.0007370789535343647, -0.016764551401138306, 0.014375947415828705, 0.013640021905303001, 0.01420914102345705, -0.02251429110765457, -0.0072926115244627, -0.00770513154566288, 0.019889481365680695, -0.03326042741537094, -0.003144080750644207, -0.021593227982521057, 0.022286564111709595, 0.02101062424480915, -0.01352303009480238, -0.0067286924459040165, -0.020023038610816002, -0.008613843470811844, -0.02873833477497101, -0.0573868453502655, -0.022171232849359512, 0.02792479656636715, 0.029043665155768394, 0.04029031842947006, 0.04034161940217018, 0.015456264838576317, 0.029775964096188545, -0.002627721754834056, 0.008329510688781738, 0.017112644389271736, -0.04193533957004547, 0.027274591848254204, 0.0019217550288885832, 0.015420644544064999, -0.0022082319483160973, -0.040289778262376785, -0.015877369791269302, -0.01834023930132389, 0.03792412951588631, 0.008930278941988945, -0.0206654854118824, 0.004224014468491077, -0.030646543949842453, 0.00023892878380138427, 0.007019911892712116, -0.009695609100162983, 0.02217978611588478, 0.02922983095049858, -0.02769075706601143, -0.04581475630402565, -0.00368230021558702, 0.018445909023284912, -0.0034271928016096354, 0.03022288717329502, 0.01330403983592987, 0.08310211449861526, -0.05253469944000244, -0.012744780629873276, 0.062069736421108246, 0.020239347591996193, 0.02389948070049286, -0.07462882995605469, -0.05757300928235054, -0.03984243422746658, -0.012510468252003193, -0.038873158395290375, -0.01882905326783657, -0.05246512219309807, 0.019428210332989693, -0.013435814529657364, -0.013827688992023468, -0.01837596856057644, 0.021898530423641205, 0.020626941695809364, -0.004332603886723518, -0.012318460270762444, 0.03524080663919449, 0.008770899847149849, 0.039950720965862274, -0.035120852291584015, 0.00651145214214921, 0.0322025790810585, 0.015633326023817062, 0.004164109472185373, -0.0076535544358193874, -0.0004920581122860312, -0.07260078936815262, -0.03792673349380493, 0.037881676107645035, -0.005044708959758282, 0.010265081189572811, 0.0018053704407066107, 0.006647543516010046, 0.06163934990763664, 0.020412296056747437, -0.027331700548529625, -0.03560446947813034, -0.027193155139684677, 0.025423932820558548, 0.050147730857133865, -0.030534636229276657, 0.02929627150297165, -0.02719215676188469, -0.0028789218049496412, -0.013381232507526875, 0.04740997776389122, 0.004089607857167721, 0.00463251443579793, 0.003069339320063591, -0.028941620141267776, 0.022940965369343758, -0.05680699273943901, -0.034630097448825836, -0.02921275608241558, 0.028607286512851715, 0.0014035351341590285, -0.044019535183906555, 0.08470591902732849, 0.008066121488809586, -0.008267072029411793, 0.0028836617711931467, 0.03274795040488243, 0.03359517082571983, -0.01817728579044342, -0.006260051392018795, -0.020016483962535858, 0.051679108291864395, -0.0005994877428747714, 0.012539232149720192, 0.004577763844281435, 0.012021050788462162 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
Image search > Note that these examples were generated from the full version of the dataset so you may get slightly different results. We now have everything we need to create a simple image search. We can use the same model we used to encode our images to encode some input text. This will act as the prompt we try and find close examples for. Let's start with 'a steam engine'. python prompt = model.encode("A steam engine") We can use another method from the datasets library get_nearest_examples to get images which have an embedding close to our input prompt embedding. We can pass in a number of results we want to get back. python scores, retrieved_examples = ds_with_embeddings['train'].get_nearest_examples('embeddings', prompt, k=9) We can index into the first example this retrieves: python retrieved_examples['image'][0] This isn't quite a steam engine, but it's also not a completely weird result. We can plot the other results to see what was returned. python import matplotlib.pyplot as plt python plt.figure(figsize=(20, 20)) columns = 3 for i in range(9): image = retrieved_examples['image'][i] plt.subplot(9 / columns + 1, columns, i + 1) plt.imshow(image) Some of these results look fairly close to our input prompt. We can wrap this in a function so we can more easily play around with different prompts python def get_image_from_text(text_prompt, number_to_retrieve=9): prompt = model.encode(text_prompt) scores, retrieved_examples = ds_with_embeddings['train'].get_nearest_examples('embeddings', prompt, k=number_to_retrieve) plt.figure(figsize=(20, 20)) columns = 3 for i in range(9): image = retrieved_examples['image'][i] plt.title(text_prompt) plt.subplot(9 / columns + 1, columns, i + 1) plt.imshow(image) python get_image_from_text("An illustration of the sun behind a mountain")
[ 0.024218300357460976, -0.08001550287008286, 0.047881536185741425, 0.029684996232390404, 0.018233465030789375, 0.10272711515426636, 0.005251641385257244, -0.00777382031083107, -0.06757859140634537, -0.012054231017827988, -0.08316744863986969, 0.0036129599902778864, 0.008397988975048065, 0.03976311534643173, 0.045469019562006, -0.03885749727487564, 0.060590434819459915, 0.026907002553343773, 0.04673878848552704, 0.06938938051462173, -0.01751672476530075, -0.04455297440290451, 0.015440982766449451, -0.008328385651111603, -0.028112683445215225, -0.043342530727386475, 0.02884676307439804, 0.01828412525355816, -0.023470528423786163, 0.028759416192770004, -0.15621724724769592, 0.008315503597259521, -0.005519242491573095, -0.04627096280455589, -0.0033882108982652426, 0.003456060541793704, -0.0966300293803215, 0.08902926743030548, 0.032080236822366714, -0.024036021903157234, -0.050602082163095474, -0.04245484247803688, -0.016661185771226883, 0.023159796372056007, 0.026163294911384583, -0.07226668298244476, -0.19654613733291626, 0.0659608542919159, 0.018668051809072495, -0.014595058746635914, -0.05600810423493385, 0.040985867381095886, -0.0009339770185761154, -0.0277542881667614, -0.034331075847148895, 0.01700737699866295, 0.06265091150999069, -0.06304827332496643, 0.04161408916115761, 0.05194000154733658, 0.019198613241314888, 0.050365597009658813, 0.02664070390164852, 0.07856909930706024, 0.03276694566011429, 0.002161611570045352, -0.011670560576021671, 0.04637576639652252, -0.07264936715364456, -0.04149532690644264, 0.09558706730604172, -0.04774216562509537, -0.028431594371795654, -0.03305206447839737, 0.005187314469367266, -0.05674837902188301, 0.002749048173427582, 0.014914804138243198, -0.016256112605333328, 0.03639201819896698, 0.006385072134435177, -0.01596122421324253, 0.05659659579396248, -0.012119460850954056, 0.09363353252410889, 0.0274075735360384, 0.016035577282309532, 0.019993405789136887, 0.010284719057381153, 0.026868565008044243, -0.006441466044634581, -0.07924886047840118, -0.03492683917284012, -0.023890702053904533, -0.029585594311356544, -0.03671210631728172, 0.012223759666085243, 0.01901192218065262, -0.03339099884033203, 0.026132503524422646, -0.04901076853275299, -0.06822890043258667, 0.09039845317602158, -0.041673894971609116, -0.1236094981431961, 0.030681610107421875, 0.013411864638328552, -0.04748237505555153, -0.03950038179755211, -0.012934807687997818, -0.045624181628227234, 0.032877903431653976, -0.008435262367129326, 0.07028379291296005, -0.030332040041685104, 0.0016281434800475836, 0.026729701086878777, -0.006473540794104338, -0.0987427830696106, 0.026178279891610146, 0.01385399792343378, 0.04908419027924538, 0.030483093112707138, -0.02566540800035, -0.0012978656450286508, 0.07712244242429733, 0.012806424871087074, 0.053710825741291046, -0.033671170473098755, -0.01466742716729641, -0.013378486037254333, -0.01798657886683941, 0.03764735162258148, 0.005226106848567724, 0.036565590649843216, -0.020345639437437057, -0.04298447072505951, -0.04144279658794403, -0.014404215849936008, 0.00906008668243885, 0.021999960765242577, 0.008400917053222656, 0.04274545609951019, 0.053376130759716034, 0.0335954949259758, -0.006702559068799019, -0.03374384343624115, 0.0037489531096071005, -0.02538219466805458, 0.003009359585121274, -0.07577468454837799, -0.002293505473062396, -0.00609192531555891, -0.08139201253652573, -0.06002695858478546, 0.055996865034103394, 0.029954902827739716, -0.05094210430979729, -0.052880000323057175, -0.07512451708316803, 0.021056264638900757, 0.0021781071554869413, -0.04364222660660744, -0.0131685184314847, 0.06299727410078049, -0.054874077439308167, 0.03879431262612343, 0.02212081104516983, -0.029280254617333412, 0.03359358012676239, -0.09533046931028366, -0.09358249604701996, 0.06307609379291534, 0.03140617161989212, 0.01193181797862053, 0.047327157109975815, 0.033768847584724426, 0.016385219991207123, 0.013410755433142185, -0.034227415919303894, -0.017469497397542, 0.01314751897007227, -0.020602349191904068, 0.03886443376541138, 0.03833647817373276, -0.07754330337047577, 0.03889111056923866, -0.009983468800783157, 0.027327410876750946, -0.03989236429333687, -0.05951478332281113, -0.040343478322029114, 0.011520122177898884, 0.007265037391334772, 0.018222901970148087, -0.03947210684418678, -0.062131863087415695, 0.023192590102553368, 0.025435656309127808, 0.0045457929372787476, 0.01732451096177101, -0.042747799307107925, 0.028958436101675034, -0.08159097284078598, -0.044300686568021774, -0.01949591003358364, -0.04371030628681183, -0.06507337838411331, 0.008853040635585785, 0.051138367503881454, -0.001588954241015017, -0.09662415832281113, 0.08962643891572952, -0.06388011574745178, 0.047778889536857605, 0.010310390032827854, -0.020596854388713837, -0.0031947153620421886, -0.003734583267942071, 0.014623948372900486, 0.14365550875663757, 0.05390239506959915, 0.0017997936811298132, -0.001516937860287726, 0.0048224907368421555, 0.12156762927770615, 0.11676128953695297, 0.027894776314496994, 0.041842591017484665, -0.10583721846342087, -0.06925371289253235, 0.001876111258752644, 0.015178565867245197, 0.06061737239360809, -0.0018760641105473042, -0.0360378623008728, 0.05280092731118202, 0.03607526794075966, 0.02302618883550167, 0.024667223915457726, 0.020226813852787018, -0.013666454702615738, -0.05762719735503197, 0.026292311027646065, -0.02481159009039402, -0.06688060611486435, 0.07894435524940491, 0.0015946283238008618, -0.08731912076473236, 0.009621822275221348, -0.001204972737468779, 0.004649692680686712, -0.07638656347990036, -0.046577088534832, -0.037426989525556564, 0.0033449854236096144, 0.009890721179544926, -0.02459157072007656, 0.014273319393396378, 0.05015755817294121, 0.014406267553567886, -0.01325600128620863, -0.012808665633201599, -0.03148898109793663, 0.009159117937088013, 0.011562390252947807, -0.03259095922112465, 0.0022268781904131174, 0.03767762333154678, 0.011346513405442238, 0.032980386167764664, -0.01332982536405325, 0.02992611937224865, 0.0005486246664077044, -0.004050005692988634, 0.004150467924773693, 0.010772829875349998, 0.021703077480196953, 0.042593710124492645, 0.0003124203940387815, -0.002106682164594531, -0.015533520840108395, 0.06467372179031372, 0.052048273384571075, 0.0332845002412796, -0.006611400283873081, 0.015312597155570984, 0.039887912571430206, -0.00483110174536705, 0.017675058916211128, 0.020333068445324898, 0.02018309384584427, 0.009792749769985676, 0.03575189411640167, 0.02489498071372509, -0.0015650659333914518, 0.005653188563883305, 0.04478301852941513, -0.027967257425189018, 0.03098990023136139, -0.03272469714283943, -0.03454495966434479, -0.0016603812109678984, -0.04615065082907677, -0.036012984812259674, 0.05338890105485916, 0.019825613126158714, 0.03460684418678284, -0.09800300002098083, 0.03049362450838089, -0.005935618653893471, 0.009688119404017925, -0.002841065637767315, -0.009952651336789131, 0.036549217998981476, 0.023307975381612778, -0.028498347848653793, 0.007291886024177074, -0.009614259004592896, 0.02696117013692856, -0.013661102391779423, 0.03029370866715908, 0.001068063429556787, 0.031089534983038902, 0.04844595119357109, 0.022321153432130814, 0.04609888046979904, 0.03542404621839523, -0.007866932079195976, 0.09489848464727402, 0.026720529422163963, 0.06551267206668854, -0.038526538759469986, -0.00563772302120924, 0.01059030368924141, -0.011637059040367603, 0.016063790768384933, -0.06230592727661133, -0.00031265741563402116, 0.002241855952888727, -0.059285324066877365, 0.016031600534915924, -0.05225619301199913, 0.017744284123182297, 0.01567760482430458, 0.025273630395531654, 0.0372842513024807, 0.019342387095093727, -0.009691781364381313, 0.029101839289069176, 0.019408809021115303, -0.00029242096934467554, -0.018680041655898094, -0.033755429089069366, -0.02237054519355297, 0.02368343248963356, 0.020485330373048782, -0.06819148361682892, -0.05355516076087952, 0.034955959767103195, -0.004844948649406433, 0.04965709149837494, 0.03835098445415497, 0.04130823537707329, -0.016972437500953674, 0.02907320111989975, -0.0034137191250920296, 0.014869829639792442, -0.02539025992155075, 0.035604558885097504, 0.0005883304984308779, -0.0026005012914538383, -0.007748196832835674, 0.05100593343377113, -0.02043299190700054, 0.020419608801603317, -0.0387655571103096, 0.04088873416185379, -0.006602387875318527, -0.005621924996376038, 0.04039645940065384, 0.012017564848065376, -0.02163829654455185, 0.017345089465379715, -0.019833261147141457, -0.02364533580839634, 0.053992245346307755, 0.030277971178293228, -0.008373187854886055, -0.020949041470885277, 0.01177273504436016, -0.0011760107008740306, 0.0441279262304306, 0.01336178183555603, -0.010134752839803696, -0.06800037622451782, 0.059648457914590836, -0.005689397919923067, -0.022757265716791153, -0.042818110436201096, 0.0253174789249897, -0.026867123320698738, -0.021212274208664894, -0.00900028645992279, 0.02621862292289734, -0.023916758596897125, 0.02031385339796543, 0.004102871287614107, -0.0012003763113170862, -0.04552878811955452, -0.04425233602523804, 0.035657454282045364, -0.02696661464869976, -0.007518201135098934, -0.05237964540719986, -0.016071809455752373, 0.01244598813354969, -0.02997622638940811, -0.03136768564581871, -0.05661168694496155, 0.025214500725269318, -0.010088037699460983, 0.026358406990766525, 0.03869667649269104, -0.004481940530240536, -0.019573189318180084, 0.004098002798855305, -0.010609476827085018, -0.007445544470101595, -0.01022178865969181, -0.03553798422217369, -0.021879905834794044, 0.012091421522200108, 0.00967212114483118, 0.04863221198320389, -0.015173518098890781, -0.02948526106774807, -0.010463360697031021, 0.0006936589488759637, 0.008327445015311241, -0.014856608584523201, -0.0019590333104133606, 0.03320061042904854, 0.018472321331501007, -0.04154161363840103, 0.005268593784421682, -0.030525347217917442, -0.043182652443647385, -0.02349359169602394, -0.0066181328147649765, 0.013506608083844185, -0.005868988111615181, 0.007927736267447472, 0.004012490157037973, -0.05604657530784607, 0.016075419262051582, 0.009602905251085758, 0.007316923700273037, 0.025322023779153824, -0.0026087560690939426, -0.02657231315970421, 0.03564727306365967, 0.04062189906835556, -0.02063988894224167, -0.031954940408468246, -0.014597577974200249, -0.03389923647046089, 0.03674536198377609, 0.0022534795571118593, -0.026550978422164917, -0.01906929537653923, 0.008705873042345047, -0.05935689061880112, -0.0063679576851427555, 0.021257249638438225, -0.03576439991593361, 0.01721850410103798, 0.017821291461586952, 0.011842976324260235, 0.010835130698978901, 0.022127436473965645, -0.028689051046967506, 0.004231522791087627, 0.031445953994989395, 0.04751544073224068, 0.014008309692144394, -0.028515847399830818, 0.0005239162710495293, -0.021027760580182076, -0.005272561684250832, 0.011796152219176292, 0.02436337247490883, -0.004486124496906996, 0.019172830507159233, 0.027340827509760857, 0.04998808354139328, 0.015677815303206444, 0.013800708577036858, 0.02526402287185192, -0.014941288158297539, 0.03256608173251152, -0.014225440099835396, -0.006896331440657377, 0.0012224578531458974, -0.000978320837020874, -0.01786343939602375, -0.005419351160526276, -0.027334218844771385, 0.03284887224435806, 0.023134825751185417, -0.02056424878537655, -0.0386507585644722, 0.028827624395489693, 0.0016037033637985587, 0.01856224425137043, 0.019592294469475746, 0.0033035725355148315, -0.06043450906872749, 0.03433004021644592, 0.0001116432758863084, -0.05812472850084305, 0.003574320347979665, 0.013207677751779556, -0.027688544243574142, 0.0068386211059987545, -0.03131086006760597, 0.03767266124486923, 0.03418973088264465, -0.028998592868447304, -0.039409033954143524, -0.005418312735855579, 0.0073899924755096436, 0.04335019737482071, -0.014405818656086922, 0.021917345002293587, 0.019516266882419586, 0.009942668490111828, 0.03953276574611664, 0.019517632201313972, 0.00488763814792037, 0.014599664136767387, 0.05293269455432892, -0.004898493178188801, -0.03671004995703697, -0.04415956139564514, 0.07504542171955109, 0.0474584624171257, 0.013337749056518078, -0.022341791540384293, 0.029073508456349373, -0.034152138978242874, 0.03660811856389046, 0.0019442213233560324, 0.0048333220183849335, 0.0676887258887291, 0.01434516441076994, 0.008604776114225388, 0.022319989278912544, 0.010431483387947083, 0.0399930514395237, -0.03197401762008667, -0.0037077576853334904, 0.00522841140627861, 0.016872387379407883, 0.027213433757424355, -0.015756940469145775, 0.028336405754089355, 0.036669373512268066, 0.007629880215972662, -0.02790619432926178, 0.018434559926390648, 0.02087133564054966, 0.008584337309002876, 0.0393405444920063, 0.03987007588148117, -0.03451409935951233, -0.01689254306256771, 0.004827176686376333, 0.03818352520465851, 0.05697861686348915, 0.0013891494600102305, 0.02686464972794056, 0.021808486431837082, 0.014432374387979507, -0.013875555247068405, 0.059613559395074844, -0.03320138156414032, 0.025302324444055557, 0.002550395205616951, 0.03335973247885704, 0.028877222910523415, -0.02957848459482193, -0.02763712964951992, 0.021092655137181282, 0.06042686849832535, -0.004182508215308189, 0.029021499678492546, 0.00022170513693708926, -0.00981735996901989, 0.00003208201451343484, -0.05446869879961014, -0.03823698312044144, 0.00017259473679587245, 0.024626975879073143, 0.04017343372106552, -0.002865829970687628, -0.002394292037934065, -0.06445777416229248, 0.03710980713367462, 0.025073818862438202, 0.033223386853933334, -0.013350572437047958, 0.020614417269825935, 0.04150935634970665, -0.029130661860108376, -0.010504337958991528, 0.03560443967580795, 0.017065370455384254, -0.010367682203650475, 0.010188511572778225, 0.019954847171902657, 0.006354955956339836, 0.04894105717539787, -0.02287910133600235, -0.018191110342741013, -0.03456398844718933, -0.028580013662576675, 0.024349665269255638, 0.010139303281903267, -0.03612831234931946, -0.031396836042404175, 0.020591143518686295, -0.04766480252146721, -0.006345628295093775, -0.03436541557312012, -0.0051675839349627495, -0.011616796255111694, 0.0024411517661064863, -0.02162257581949234, 0.023273242637515068, -0.0018448978662490845, 0.0011206219205632806, -0.010302316397428513, -0.010554474778473377, 0.03119446337223053, 0.00498390756547451, -0.009401685558259487, -0.008164539933204651, -0.035472482442855835, 0.0015889640199020505, -0.00712351780384779, -0.024442661553621292, -0.009807419963181019, 0.0073066651821136475, -0.015218754298985004, 0.018199417740106583, -0.05176025256514549, 0.026297397911548615, 0.011517406441271305, 0.03239090368151665, -0.0013677069218829274, 0.027189815416932106, -0.001148417592048645, -0.00848318450152874, -0.002476635156199336, -0.016409073024988174, -0.01888005994260311, -0.042497918009757996, 0.04379068315029144, 0.0023817108012735844, -0.0031171864829957485, 0.0023537413217127323, -0.03453556075692177, 0.0011402575764805079, -0.02300652489066124, 0.012059519067406654, 0.011309424415230751, 0.014913370832800865, 0.006955212447792292, 0.003527010092511773, -0.004133730195462704, -0.03368835151195526, -0.024349210783839226, 0.016312243416905403, 0.051244866102933884, -0.020938152447342873, -0.04045488312840462, -0.02023761160671711, 0.05572502687573433, 0.026521440595388412, 0.04216665029525757, -0.004952678456902504, 0.004635553807020187, -0.04349801316857338, 0.03079565428197384, 0.034902509301900864, -0.0406733863055706, 0.02841268666088581, -0.08059399574995041, -0.027682321146130562, -0.035790443420410156, -0.009096053428947926, -0.02155151031911373, 0.018170515075325966, -0.04481174051761627, -0.0060137128457427025, -0.005154076963663101, 0.0007196451188065112, -0.010634216479957104, -0.014562088064849377, 0.005433838814496994, 0.0074611445888876915, 0.04169650375843048, -0.027966486290097237, 0.029886018484830856, 0.007742252666503191, -0.032688602805137634, 0.001750585506670177, 0.0029515561182051897, -0.022579744458198547, 0.0026238388381898403, -0.04922780022025108, 0.00884920172393322, -0.01807575114071369, -0.02317611314356327, 0.028307827189564705, 0.04845733195543289, -0.019504457712173462, -0.0321110300719738, -0.017314685508608818, 0.053363703191280365, 0.026053540408611298, 0.020542439073324203, -0.013380550779402256, -0.025715835392475128, 0.04540998861193657, 0.06408640742301941, -0.020702842622995377, -0.012125156819820404, 0.00829162634909153, -0.0028177096974104643, 0.004011130891740322, 0.005714851431548595, 0.02635434828698635, 0.009991583414375782, 0.009319867007434368, 0.030718380585312843, -0.027851345017552376, -0.02184934727847576, -0.02300199121236801, -0.002561437664553523, 0.02241138555109501, -0.02201053500175476, -0.01657414436340332, 0.011083862744271755, -0.0052618104964494705, -0.03133569285273552, 0.00819534994661808, -0.003543826751410961, 0.031281422823667526, -0.005883666221052408, 0.02433254010975361, -0.02619081176817417, 0.07696397602558136, 0.006046368274837732, -0.01067429594695568, 0.008100424893200397, 0.03733109310269356 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
Trying a bunch of prompts ✨ Now we have a function for getting a few results, we can try a bunch of different prompts: - For some of these I'll choose prompts which are a broad 'category' i.e. 'a musical instrument' or 'an animal', others are specific i.e. 'a guitar'. - Out of interest I also tried a boolean operator: "An illustration of a cat or a dog". - Finally I tried something a little more abstract: \"an empty abyss\" python prompts = ["A musical instrument", "A guitar", "An animal", "An illustration of a cat or a dog", "an empty abyss"] python for prompt in prompts: get_image_from_text(prompt) We can see these results aren't always right, but they are usually reasonable. It already seems like this could be useful for searching for the semantic content of an image in this dataset. However we might hold off on sharing this as is...
[ 0.07291226089000702, -0.02995890937745571, -0.023329462856054306, 0.043606676161289215, 0.05191449448466301, 0.11281640082597733, 0.03396429866552353, 0.053291741758584976, -0.01653456501662731, -0.024273863062262535, -0.08147691190242767, 0.021618444472551346, 0.006375030614435673, -0.004881491418927908, 0.02648908644914627, -0.014126265421509743, 0.07115969806909561, -0.003959926776587963, 0.018703695386648178, 0.038768745958805084, 0.004726152401417494, -0.01330270804464817, 0.046422071754932404, -0.06203021854162216, -0.0004979049554094672, -0.03085869923233986, 0.010297338478267193, 0.03417925536632538, -0.02315445989370346, -0.0061280382797122, -0.14865338802337646, 0.023704448714852333, -0.008080321364104748, -0.030415374785661697, 0.004826930817216635, 0.01795969344675541, -0.09785322844982147, 0.06750711798667908, 0.059355754405260086, 0.026172762736678123, -0.04920074716210365, -0.03071393258869648, -0.01398337073624134, -0.0428423248231411, 0.025236302986741066, -0.017085259780287743, -0.18087708950042725, 0.06256451457738876, -0.037655819207429886, 0.027584651485085487, -0.07125863432884216, 0.05131738260388374, -0.019024454057216644, -0.0633348748087883, -0.021080221980810165, -0.0064966934733092785, 0.015118440613150597, -0.04674917086958885, 0.03293648734688759, 0.0402170829474926, 0.01874801702797413, 0.04006814584136009, 0.005666572600603104, 0.0527353398501873, 0.045616310089826584, 0.012176062911748886, -0.04389912262558937, 0.09426657110452652, -0.08242128044366837, -0.027348458766937256, 0.0985632911324501, 0.025040339678525925, -0.05043138191103935, -0.028617143630981445, 0.04486030340194702, -0.05845636874437332, 0.018620837479829788, 0.05998807027935982, -0.04028526693582535, 0.00015688594430685043, -0.013884422369301319, -0.002809423953294754, 0.11744679510593414, 0.006886602379381657, 0.040519602596759796, 0.03517230227589607, 0.011704747565090656, -0.02356172725558281, -0.0006676947232335806, 0.017339972779154778, 0.015176323242485523, -0.09747277945280075, 0.011951824650168419, 0.01459379680454731, 0.03209194913506508, -0.05028257891535759, 0.03324347361922264, 0.004813434090465307, -0.010792773216962814, -0.016384577378630638, -0.013945495709776878, -0.041343074291944504, 0.09655842930078506, -0.09069430083036423, -0.13877882063388824, 0.04573381319642067, -0.030275557190179825, -0.028826279565691948, -0.06646809726953506, -0.0020430083386600018, 0.015187744982540607, 0.0020189376082271338, 0.03158574923872948, 0.08590129762887955, 0.03024161234498024, -0.0169286597520113, 0.003330591367557645, 0.03568107634782791, -0.0825904905796051, 0.02007160522043705, 0.0074843005277216434, 0.011586427688598633, 0.07082875072956085, -0.03792271763086319, 0.039502084255218506, 0.0007839071331545711, 0.0330004021525383, 0.03270179033279419, -0.0529593862593174, 0.0016293684020638466, -0.04544107988476753, 0.003894231515005231, 0.03243733569979668, -0.011667328886687756, -0.00030069725471548736, -0.02451813407242298, -0.022385017946362495, -0.038672178983688354, 0.02960914373397827, -0.006948528811335564, 0.01259875763207674, -0.02060788683593273, -0.01959199272096157, 0.05452337861061096, -0.006905425805598497, 0.03253121301531792, -0.025138085708022118, 0.0016911608399823308, -0.0655592754483223, 0.00023213302483782172, -0.07229581475257874, 0.0363336019217968, 0.0035571400076150894, -0.058519285172224045, -0.052660390734672546, 0.049517080187797546, 0.021114667877554893, -0.00956973060965538, -0.07328248023986816, -0.03254891559481621, 0.058191753923892975, 0.010942615568637848, -0.005345415789633989, -0.01544851716607809, 0.03398676961660385, -0.06601182371377945, 0.007105193100869656, 0.01430452149361372, -0.011693420819938183, 0.02217910625040531, -0.010694383643567562, -0.09186748415231705, 0.051798008382320404, -0.0078040435910224915, 0.0307538490742445, -0.036356084048748016, 0.06550022214651108, -0.035085733979940414, 0.05246136337518692, 0.013505309820175171, -0.03168690949678421, -0.01378280483186245, -0.07145973294973373, 0.028038008138537407, 0.0510065034031868, -0.05309654772281647, 0.0359935387969017, -0.01841210015118122, 0.07380557805299759, -0.002976794494315982, -0.07182328402996063, -0.05854051187634468, 0.019473766908049583, 0.025383692234754562, 0.03086661547422409, -0.030997585505247116, -0.0383869968354702, 0.04119306057691574, 0.0447860024869442, 0.013957340270280838, -0.002351011149585247, -0.03664131462574005, 0.0556652694940567, -0.10901002585887909, -0.042709607630968094, 0.017765577882528305, -0.02830660715699196, -0.03237438574433327, -0.002454235218465328, 0.05682329088449478, 0.013104690238833427, -0.06910979002714157, 0.09697526693344116, -0.09076937288045883, 0.00687909172847867, 0.034228358417749405, 0.043695174157619476, -0.020506899803876877, -0.03698652610182762, -0.03845781460404396, 0.11129885166883469, 0.03843725472688675, -0.0015332582406699657, -0.003992227837443352, -0.03612548112869263, 0.060339029878377914, 0.03530286252498627, 0.05427772179245949, 0.047379545867443085, -0.15490074455738068, -0.08216063678264618, 0.006689917296171188, 0.014827849343419075, 0.01712849922478199, -0.059876106679439545, -0.015243394300341606, 0.09791681915521622, -0.02306179516017437, 0.03623552992939949, -0.0034383016172796488, 0.0452432855963707, -0.007713906466960907, 0.0005196922575123608, 0.04734641686081886, -0.010102082043886185, -0.05819563940167427, 0.021338047459721565, -0.0016771921655163169, -0.06322450935840607, 0.0462656244635582, -0.022100595757365227, -0.0030977956485003233, -0.057577647268772125, -0.044513996690511703, -0.028079083189368248, 0.04049379751086235, 0.018971780315041542, -0.028284713625907898, 0.0016799801960587502, 0.014413699507713318, -0.017345687374472618, 0.005087472032755613, -0.01819581352174282, -0.03580135852098465, -0.004251961130648851, -0.02165560983121395, -0.011526699177920818, 0.011530623771250248, -0.005093028768897057, -0.006672520190477371, -0.0090486416593194, 0.013581641018390656, 0.023427190259099007, 0.03113154135644436, 0.01857108250260353, 0.013224396854639053, 0.031116243451833725, 0.014186373911798, 0.017983417958021164, -0.033083945512771606, -0.04223364219069481, -0.046365849673748016, 0.04487300291657448, 0.04476853832602501, 0.01771366596221924, 0.010620130226016045, 0.05025313049554825, 0.02682008408010006, -0.02570962905883789, 0.02520723082125187, -0.011381011456251144, 0.02758500911295414, -0.002137408358976245, 0.01907087117433548, 0.029868684709072113, -0.02004678174853325, 0.026109445840120316, 0.0588788203895092, -0.01799325831234455, 0.034172508865594864, -0.024745801463723183, -0.021332532167434692, -0.005080165341496468, -0.016615625470876694, -0.005172143690288067, 0.04113905504345894, -0.003458721563220024, 0.023989606648683548, -0.10082779824733734, -0.014576591551303864, -0.006897738203406334, 0.02634907141327858, -0.02305556833744049, 0.005099592264741659, 0.06630969792604446, -0.015468578785657883, 0.004003255628049374, 0.013708238489925861, -0.016759144142270088, 0.015147698111832142, -0.02101900801062584, 0.024473072960972786, 0.01621810533106327, 0.01171860285103321, -0.014212818816304207, 0.018972152844071388, 0.05519585311412811, 0.027902433648705482, -0.04577064514160156, 0.05152571201324463, -0.0160609669983387, 0.058802563697099686, -0.016230644658207893, 0.019588779658079147, 0.014605623669922352, 0.02141830325126648, 0.043451812118291855, -0.06542448699474335, 0.03906994313001633, -0.0064685167744755745, -0.04418239742517471, -0.0035314694978296757, -0.04777368903160095, -0.016671402379870415, 0.01089229341596365, -0.014497492462396622, 0.006474435795098543, 0.03342478349804878, -0.0141507713124156, 0.020824266597628593, 0.023324305191636086, 0.03039555251598358, -0.03140208497643471, -0.022643348202109337, -0.03500044345855713, 0.02338673733174801, 0.03163667395710945, -0.05543192848563194, -0.037117086350917816, 0.0007632612250745296, 0.016067985445261, 0.03909244015812874, 0.029867960140109062, 0.049199968576431274, 0.03048272430896759, 0.036714356392621994, -0.023287290707230568, -0.03614696115255356, -0.018633170053362846, 0.02636714093387127, 0.026822613552212715, -0.006643352098762989, -0.01870688796043396, 0.037923794239759445, -0.04312915354967117, 0.04257626086473465, 0.013408392667770386, 0.03611724451184273, 0.012840259820222855, -0.003185614012181759, 0.0014956927625462413, 0.00412035034969449, -0.01933121867477894, 0.026967277750372887, -0.014425047673285007, -0.024854686111211777, 0.049759142100811005, 0.029444513842463493, -0.011618496850132942, -0.009645525366067886, -0.02387065812945366, -0.007798187900334597, 0.005878569092601538, -0.010426059365272522, -0.0031621926464140415, -0.05784282088279724, 0.019131632521748543, 0.019132843241095543, -0.002186499536037445, -0.024263544008135796, 0.009633573703467846, 0.034129370003938675, -0.02363419532775879, 0.023720789700746536, 0.03482252359390259, -0.002177102491259575, 0.006004239432513714, 0.0070413281209766865, -0.0013404234778136015, -0.006895202212035656, -0.036267030984163284, 0.032178472727537155, -0.0051241046749055386, -0.023813437670469284, -0.033873338252305984, -0.03733183443546295, 0.016133835539221764, -0.03635142371058464, -0.0231789518147707, -0.04443613067269325, 0.0039605372585356236, -0.0015868135960772634, -0.003228730522096157, 0.05342003330588341, 0.03482085093855858, -0.02557138353586197, -0.013751262798905373, -0.006793497130274773, -0.03751123696565628, 0.00039828268927522004, 0.00502846110612154, -0.012424969114363194, 0.002886938862502575, -0.03141751512885094, 0.03439263626933098, -0.02175256423652172, -0.015821341425180435, -0.0060333069413900375, 0.0016271598869934678, -0.05432981997728348, -0.03185318410396576, -0.006266460753977299, 0.04542034864425659, -0.005177483428269625, -0.045564789324998856, -0.014970706775784492, -0.025138352066278458, -0.01662309840321541, -0.02257152460515499, -0.013304270803928375, 0.042588718235492706, 0.019148899242281914, 0.03592224791646004, 0.016174577176570892, -0.04201960936188698, 0.026589175686240196, 0.02597242221236229, 0.036230918020009995, 0.020331088453531265, 0.007821849547326565, -0.052161384373903275, -0.008929972536861897, 0.06564372032880783, -0.007877557538449764, -0.045405063778162, -0.022324545308947563, 0.007102188654243946, 0.027028050273656845, 0.0002235382708022371, -0.022771300747990608, 0.005030882079154253, 0.007132239639759064, -0.01815357618033886, -0.02738574519753456, 0.00443342886865139, -0.011489114724099636, 0.03164227679371834, 0.022655043751001358, 0.013385665602982044, 0.01903953030705452, 0.016433896496891975, -0.013234570622444153, 0.029947742819786072, 0.004620803985744715, 0.015935981646180153, 0.045882415026426315, -0.01717057265341282, -0.03767270967364311, -0.04857468977570534, -0.01664947345852852, 0.06173022463917732, 0.013541702181100845, -0.017480576410889626, 0.04268457368016243, 0.009583188220858574, 0.03988521173596382, 0.03315386176109314, 0.034431684762239456, -0.012846864759922028, -0.005514617543667555, -0.014192323200404644, -0.04288877546787262, 0.011258961632847786, -0.024240054190158844, -0.014560727402567863, -0.003715461352840066, 0.005634084343910217, -0.051379505544900894, 0.04210008680820465, 0.0020684250630438328, 0.019335847347974777, -0.01583677902817726, 0.0021196831949055195, -0.03027193434536457, -0.022331582382321358, -0.00825024489313364, 0.013495603576302528, -0.06833995878696442, 0.04005936160683632, -0.008926330134272575, -0.03968300670385361, 0.007571931462734938, 0.028182093054056168, -0.017514990642666817, 0.01927286386489868, -0.051298949867486954, -0.005916800815612078, 0.03562990576028824, -0.005473783239722252, -0.014952446334064007, -0.00869595818221569, 0.06502769887447357, 0.03105909191071987, -0.013885212130844593, 0.03360934183001518, -0.004786212928593159, 0.038780733942985535, 0.020851919427514076, 0.024975033476948738, -0.007679563481360674, 0.030952276661992073, 0.07611522078514099, 0.003955505788326263, -0.020692259073257446, -0.027531765401363373, 0.040697332471609116, 0.026213811710476875, 0.04279323294758797, 0.009187685325741768, 0.025826670229434967, -0.03370648995041847, 0.01686570979654789, -0.0003355687076691538, 0.007474943995475769, 0.03240252658724785, 0.011224432848393917, 0.0017283689230680466, 0.04306862875819206, -0.00012500496814027429, 0.028867194429039955, -0.03395366668701172, 0.005498517770320177, 0.039115045219659805, 0.03696202114224434, 0.038605865091085434, -0.01969798281788826, 0.019564615562558174, 0.045420512557029724, 0.021723469719290733, -0.05467577651143074, 0.0156088350340724, 0.03987434506416321, -0.03135107457637787, -0.013768735341727734, 0.05571112781763077, -0.03766145929694176, -0.01835927553474903, 0.0084940604865551, 0.010026765987277031, 0.021077025681734085, -0.007923925295472145, 0.026801610365509987, -0.01684744283556938, -0.018034055829048157, -0.04072380065917969, 0.04573165997862816, -0.02203017845749855, 0.04354584589600563, 0.014616644941270351, 0.023525137454271317, 0.032065946608781815, -0.0065947165712714195, -0.009695785120129585, 0.0027103491593152285, 0.05554138123989105, -0.03517822548747063, 0.037902507930994034, -0.01798136532306671, -0.03819641098380089, -0.0010826715733855963, -0.040816664695739746, -0.03393169119954109, -0.009981677867472172, 0.02195034548640251, 0.02497989498078823, -0.003851210232824087, -0.00678479066118598, -0.04986198991537094, 0.040722668170928955, 0.005790346767753363, 0.04182934761047363, -0.00248423358425498, 0.010356121696531773, 0.005590278655290604, 0.000012861773939221166, -0.031024295836687088, 0.022070029750466347, -0.009464336559176445, -0.022432656958699226, 0.034740325063467026, 0.03700653463602066, -0.010874176397919655, 0.04762357845902443, 0.01138625293970108, -0.022706935182213783, -0.04500184208154678, 0.00677424855530262, 0.06335116177797318, 0.008394607342779636, -0.026454471051692963, -0.04857886955142021, 0.00794972013682127, -0.027952030301094055, -0.03379802405834198, -0.04713858664035797, -0.010204548016190529, 0.02033410780131817, -0.010666514746844769, -0.014831275679171085, 0.010296521708369255, 0.026606744155287743, -0.025814330205321312, -0.017696984112262726, -0.004835132975131273, 0.05345573648810387, 0.0213924553245306, -0.027233989909291267, -0.008476732298731804, -0.04984155297279358, -0.013620056211948395, -0.003420480526983738, 0.0061040581203997135, 0.010470341891050339, 0.003138602478429675, -0.01113662589341402, 0.010544517077505589, -0.01246227789670229, 0.028834156692028046, 0.002807119395583868, 0.03307921439409256, 0.02547476813197136, 0.015911569818854332, -0.008576743304729462, -0.024448636919260025, -0.05289261415600777, -0.0034185091499239206, -0.020887089893221855, 0.007760911248624325, 0.015315212309360504, 0.03090921975672245, -0.017062706872820854, -0.030406983569264412, -0.0083010857924819, 0.03125424683094025, -0.04304179176688194, -0.018092118203639984, 0.014577954076230526, -0.0014203689061105251, -0.008510502055287361, 0.0031389486975967884, -0.02556496486067772, -0.009541776962578297, 0.0018834932707250118, -0.03094765543937683, 0.010743966326117516, 0.0016363986069336534, -0.05678340420126915, -0.005053593311458826, 0.05503617972135544, 0.019784674048423767, 0.05177498236298561, -0.012060927227139473, 0.016446787863969803, -0.01380043476819992, 0.02623596601188183, 0.06539245694875717, -0.016948560252785683, 0.02881440334022045, -0.0765724629163742, -0.008258966729044914, -0.07886853814125061, 0.03356558829545975, -0.029303940013051033, 0.018671460449695587, -0.04037950187921524, 0.001707666669972241, -0.02520657330751419, -0.01721316948533058, -0.019639786332845688, -0.004064686596393585, 0.022878047078847885, -0.004887514282017946, 0.04341881349682808, -0.01621301844716072, 0.03768327087163925, 0.03410520777106285, -0.04273109883069992, 0.0016240471741184592, -0.009750672616064548, 0.013419648632407188, -0.01873927004635334, -0.04344886913895607, 0.02057763747870922, -0.033500950783491135, -0.03131581470370293, 0.014158953912556171, 0.056270428001880646, 0.0005985799361951649, -0.02748013846576214, -0.008302920497953892, 0.028074579313397408, 0.030565792694687843, 0.02564207836985588, 0.010739141143858433, -0.009657318703830242, 0.04583604261279106, 0.04040563479065895, -0.05163201689720154, 0.0019200012320652604, -0.002451064297929406, 0.0045463270507752895, 0.006550931837409735, 0.010682821273803711, 0.0028935770969837904, 0.029346667230129242, -0.010485037229955196, 0.01858470030128956, -0.02642998844385147, -0.0017127254977822304, -0.03344454616308212, -0.0022018335293978453, 0.07339853048324585, -0.04584328085184097, -0.005040001589804888, 0.04030242934823036, -0.0015959092415869236, -0.05005788803100586, 0.0073078288696706295, -0.0028141639195382595, 0.031618837267160416, -0.00988277792930603, 0.037388876080513, -0.040825601667165756, 0.07330887764692307, 0.01506210770457983, 0.0035425915848463774, -0.00473563838750124, 0.05997556447982788 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
# Image search with 🤗 datasets 🤗 datasets is a library that makes it easy to access and share datasets. It also makes it easy to process data efficiently -- including working with data which doesn't fit into memory. When datasets was first launched, it was associated mostly with text data. However, recently, datasets has added increased support for audio as well as images. In particular, there is now a datasets feature type for images. A previous blog post showed how datasets can be used with 🤗 transformers to train an image classification model. In this blog post, we'll see how we can combine datasets and a few other libraries to create an image search application. First, we'll install datasets. Since we're going to be working with images, we'll also install pillow. We'll also need sentence_transformers and faiss. We'll introduce those in more detail below. We also install rich - we'll only briefly use it here, but it's a super handy package to have around -- I'd really recommend exploring it further! python !pip install datasets pillow rich faiss-gpu sentence_transformers To start, let's take a look at the image feature. We can use the wonderful rich library to poke around python objects (functions, classes etc.) python from rich import inspect import datasets python inspect(datasets.Image, help=True) ╭───────────────────────── <class 'datasets.features.image.Image'> ─────────────────────────╮ │ class Image(decode: bool = True, id: Union[str, NoneType] = None) -> None: │ │ │ │ Image feature to read image data from an image file. │ │ │ │ Input: The Image feature accepts as input: │ │ - A :obj:str: Absolute path to the image file (i.e. random access is allowed). │ │ - A :obj:dict with the keys: │ │ │ │ - path: String with relative path of the image file to the archive file. │ │ - bytes: Bytes of the image file. │ │ │ │ This is useful for archived files with sequential access. │ │ │ │ - An :obj:np.ndarray: NumPy array representing an image. │ │ - A :obj:PIL.Image.Image: PIL image object. │ │ │ │ Args: │ │ decode (:obj:bool, default </span><span style="color: #00ff00; text-decoration-color: #00ff00; font-style: italic">True</span><span style="color: #008080; text-decoration-color: #008080">): Whether to decode the image data. If </span><span style="color: #ff0000; text-decoration-color: #ff0000; font-style: italic">False</span><span style="color: #008080; text-decoration-color: #008080">, │ │ returns the underlying dictionary in the format {"path": image_path, "bytes": │ │ image_bytes}. │ │ │ │ decode = True │ │ dtype = 'PIL.Image.Image' │ │ id = None │ │ pa_type = StructType(struct<bytes: binary, path: string>) │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯ We can see there a few different ways in which we can pass in our images. We'll come back to this in a little while. A really nice feature of the datasets library (beyond the functionality for processing data, memory mapping etc.) is that you get some nice things 'for free'. One of these is the ability to add a faiss index to a dataset. faiss is a "library for efficient similarity search and clustering of dense vectors". The datasets docs shows an example of using a faiss index for text retrieval. In this post we'll see if we can do the same for images.
[ 0.004057657904922962, -0.02872549556195736, 0.0332309864461422, 0.057078585028648376, 0.03524535521864891, 0.07728149741888046, -0.020253557711839676, 0.032782673835754395, -0.08007348328828812, -0.04521273821592331, -0.05873918905854225, 0.0592518076300621, -0.03314678743481636, 0.04256409406661987, 0.08036849647760391, -0.09099116176366806, 0.08370945602655411, -0.006204216741025448, 0.016529109328985214, 0.11754554510116577, -0.018000071868300438, -0.06862246245145798, 0.012902890332043171, -0.06583616137504578, -0.015637291595339775, -0.004956958815455437, 0.02878406085073948, 0.0028668104205280542, -0.06891703605651855, -0.003551181172952056, -0.16567601263523102, 0.0675426572561264, 0.033283621072769165, -0.026765810325741768, -0.043006401509046555, -0.0022111614234745502, -0.08631924539804459, 0.053510528057813644, 0.08458553999662399, -0.034854546189308167, -0.02027313970029354, -0.019239382818341255, -0.0793580636382103, -0.0031917060259729624, 0.00003666607881314121, -0.05994609370827675, -0.1556389480829239, 0.08899663388729095, -0.046944402158260345, -0.0031676264479756355, -0.04882415756583214, 0.05684798210859299, -0.005973841529339552, 0.007765596266835928, 0.012164433486759663, 0.05834454670548439, 0.040868375450372696, -0.07750240713357925, 0.009988710284233093, 0.07332734763622284, 0.05047392100095749, -0.0013014476280659437, 0.01471775397658348, 0.058006200939416885, 0.034495759755373, -0.02744634449481964, -0.02304382063448429, 0.042049508541822433, -0.046220503747463226, -0.05248694866895676, 0.08472320437431335, 0.019040314480662346, -0.028535442426800728, -0.048205405473709106, -0.010352058336138725, -0.022190771996974945, -0.0125920744612813, -0.03628893569111824, 0.054025471210479736, 0.03457922860980034, 0.03709648177027702, -0.0035150221083313227, 0.04526602476835251, 0.03952859342098236, 0.07748067378997803, 0.01766609400510788, 0.018398988991975784, -0.027546919882297516, -0.06868193298578262, 0.04477693885564804, 0.0663677304983139, -0.10386185348033905, -0.0076033310033380985, 0.0001487983827246353, 0.04010304436087608, -0.043105993419885635, -0.0171150341629982, 0.02884998545050621, 0.017287008464336395, 0.06267327070236206, -0.047211796045303345, -0.044530708342790604, 0.0682179406285286, -0.00824116449803114, -0.07937047630548477, 0.019525140523910522, -0.04236553981900215, -0.027720356360077858, -0.053559884428977966, -0.005450823809951544, -0.007115320302546024, 0.027398070320487022, -0.04050426185131073, 0.02640196681022644, -0.005729104392230511, -0.05193840339779854, 0.05419192463159561, 0.01322083082050085, -0.05696246400475502, 0.043222155421972275, -0.030397189781069756, 0.03518009930849075, 0.030025796964764595, -0.0119011290371418, -0.0014035218628123403, 0.034614212810993195, 0.024211181327700615, 0.05488976463675499, 0.008591385558247566, -0.026383262127637863, 0.01494199875742197, -0.03354310989379883, 0.05474128946661949, 0.03991745039820671, 0.02167980931699276, -0.03594331815838814, -0.027775464579463005, -0.007051483262330294, -0.017368165776133537, 0.014608269557356834, 0.06209016963839531, 0.019691186025738716, 0.023583250120282173, 0.023317569866776466, 0.005420689471065998, 0.012276706285774708, -0.04974333941936493, 0.021965937688946724, 0.003940741531550884, -0.03387179598212242, -0.06818225234746933, 0.0449615903198719, 0.05373024567961693, -0.08679983764886856, -0.07496919482946396, 0.047284141182899475, -0.0022957604378461838, -0.011432426050305367, -0.0422058068215847, -0.00026837640325538814, 0.024156393483281136, 0.02362443506717682, -0.046629443764686584, -0.00725903082638979, 0.008742593228816986, -0.07514812052249908, 0.01800606958568096, -0.004022048786282539, -0.012959958054125309, 0.03342154994606972, -0.06922776997089386, -0.07708663493394852, 0.0214234571903944, 0.026111038401722908, 0.010767624713480473, 0.024200037121772766, 0.023296577855944633, 0.028821930289268494, -0.005775429308414459, -0.0333397276699543, -0.03933749347925186, -0.03001326508820057, -0.04164830222725868, 0.023818062618374825, 0.046341560781002045, -0.0008894225466065109, 0.0954505130648613, -0.049862369894981384, 0.04951658844947815, 0.0007757665007375181, -0.06101240590214729, -0.05815894156694412, 0.039886172860860825, -0.06512381881475449, 0.019989510998129845, -0.012619003653526306, 0.00001505980526417261, 0.039067342877388, 0.031308479607105255, 0.014742537401616573, 0.005213601980358362, -0.06483518332242966, 0.006475798785686493, -0.10390598326921463, -0.006023200694471598, -0.02401699870824814, -0.009813946671783924, -0.057923439890146255, 0.02386700175702572, 0.007262485101819038, 0.007231885567307472, -0.09277232736349106, 0.06148180365562439, -0.04440627619624138, 0.010357649996876717, -0.01891690120100975, 0.00487917847931385, 0.018432049080729485, -0.007115661166608334, -0.04305936023592949, 0.12412174791097641, 0.020911728963255882, -0.01027657650411129, 0.03778901323676109, -0.004993890877813101, 0.08696857839822769, 0.12895718216896057, 0.015430604107677937, 0.05933269113302231, -0.094503253698349, -0.011014603078365326, 0.01046749111264944, -0.048703309148550034, 0.030812527984380722, -0.011393215507268906, -0.0025881147012114525, 0.022906672209501266, 0.0006560076144523919, 0.01068554725497961, 0.009673694148659706, 0.04024243727326393, -0.03170820698142052, -0.0470711886882782, -0.0006739512318745255, 0.037606190890073776, -0.03361095115542412, 0.10160044580698013, -0.01849469169974327, -0.02100367285311222, -0.016779476776719093, 0.014209231361746788, -0.01647966168820858, -0.06510257720947266, -0.01722794771194458, 0.012178996577858925, 0.07040925323963165, 0.013498368673026562, -0.04309646040201187, -0.015497873537242413, 0.0560620091855526, -0.02753092721104622, -0.006532660219818354, -0.04042822867631912, -0.07438741624355316, -0.012526941485702991, -0.005089574959129095, 0.0208852831274271, 0.027009792625904083, 0.04865751788020134, -0.014493369497358799, 0.0024833728093653917, -0.010127791203558445, 0.045353371649980545, 0.010583409108221531, -0.0009589745313860476, 0.024948280304670334, 0.01843756064772606, -0.000047843524953350425, 0.01223669108003378, -0.005130759906023741, 0.008608819916844368, -0.006007475312799215, 0.07242148369550705, 0.034648824483156204, 0.013440046459436417, -0.02769734337925911, 0.005325907375663519, -0.0026952193584293127, 0.025397712364792824, 0.03518293425440788, 0.01829766109585762, 0.018191352486610413, 0.005576104857027531, -0.026893166825175285, 0.024381456896662712, 0.023587079718708992, -0.0010672350181266665, -0.01811530627310276, -0.027904881164431572, 0.04146166890859604, -0.03508495166897774, 0.001453822711482644, -0.011261516250669956, -0.02562754414975643, -0.00825532153248787, 0.041873130947351456, 0.014703481458127499, 0.013055220246315002, -0.09353016316890717, -0.008228289894759655, -0.024188267067074776, 0.01219608262181282, -0.005283421836793423, -0.03912072256207466, 0.04927973449230194, 0.013347731903195381, 0.0027437680400907993, 0.040886782109737396, 0.002470428589731455, 0.005921036005020142, -0.011751053854823112, 0.05269944667816162, 0.022642580792307854, 0.007404675707221031, 0.004591469187289476, 0.03987693414092064, 0.022592933848500252, 0.028554445132613182, -0.002129182917997241, 0.07218321412801743, 0.02827032282948494, 0.035439565777778625, -0.04021238535642624, -0.007520140148699284, 0.025872310623526573, 0.022737888619303703, -0.011936639435589314, -0.04369631037116051, -0.0014184856554493308, -0.010265723802149296, -0.027402758598327637, 0.01204527635127306, -0.05408336967229843, 0.049899011850357056, 0.041917771100997925, 0.024550452828407288, 0.013234525918960571, 0.012797537259757519, -0.026595279574394226, 0.021374695003032684, -0.005956119392067194, -0.004637974314391613, 0.02925918437540531, -0.024903185665607452, -0.023426368832588196, -0.01040619146078825, -0.00019207134027965367, -0.06550941616296768, -0.06357741355895996, -0.00006413947266992182, 0.01489169243723154, 0.028461404144763947, 0.009736212901771069, 0.010928258299827576, 0.018400579690933228, 0.02380434237420559, -0.03413281589746475, -0.01460387371480465, -0.012034530751407146, 0.049768298864364624, 0.00017634719552006572, -0.004048469476401806, 0.003956599626690149, 0.050439633429050446, -0.0024413603823632, 0.00936860777437687, -0.03127998113632202, 0.043889954686164856, -0.03400909900665283, -0.01208939403295517, 0.01039845123887062, -0.0015670646680518985, -0.0191652774810791, 0.06339333951473236, 0.001398950582370162, -0.012708804570138454, 0.031456198543310165, 0.07821223884820938, -0.006001743953675032, -0.03946174681186676, 0.003935887943953276, 0.0032473623286932707, 0.024005357176065445, -0.012718338519334793, -0.042324330657720566, -0.06535684317350388, 0.06562792509794235, -0.02046898752450943, -0.002211023587733507, -0.06901020556688309, 0.017503799870610237, -0.029673123732209206, -0.025762034580111504, -0.019083593040704727, 0.05076524242758751, -0.0017174923559650779, 0.0032630194909870625, -0.017206348478794098, -0.0016585600096732378, -0.0337667278945446, -0.03887910768389702, 0.0063309213146567345, -0.027665041387081146, -0.007880485616624355, -0.06661321967840195, -0.013631192967295647, 0.011717583052814007, -0.030933191999793053, 0.0247926265001297, -0.03285153955221176, 0.0024284273386001587, -0.014937075786292553, 0.009391161613166332, 0.03401540592312813, 0.005460295360535383, -0.02178323082625866, -0.00924701802432537, 0.005847915541380644, 0.031986575573682785, 0.0015972587279975414, -0.02846185676753521, -0.011678212322294712, -0.023823177441954613, -0.019328663125634193, 0.04348210245370865, -0.026140492409467697, -0.04665426164865494, -0.010868181474506855, -0.0014465746935456991, -0.01470278576016426, -0.03029213473200798, 0.019482901319861412, 0.011984376236796379, -0.030184049159288406, -0.017254970967769623, -0.008352791890501976, -0.04446806386113167, -0.05255132541060448, -0.009799295105040073, 0.006168277468532324, 0.04231474921107292, -0.027595270425081253, -0.00777116185054183, 0.007490711286664009, -0.05735894665122032, 0.027282143011689186, -0.011104544624686241, -0.03743559494614601, 0.024555251002311707, -0.019784478470683098, -0.013790713623166084, 0.022494247183203697, 0.014059060253202915, -0.012063909322023392, 0.0007329460349865258, 0.010005053132772446, -0.01856894977390766, 0.010271715000271797, -0.015789741650223732, -0.02543257363140583, -0.01674177311360836, -0.012974394485354424, -0.042600370943546295, 0.0032354691065847874, 0.033815428614616394, -0.06949277967214584, 0.01724887453019619, 0.023529812693595886, -0.0042104641906917095, 0.04142902418971062, 0.040055397897958755, -0.03468288481235504, 0.008925780653953552, 0.04033246263861656, -0.0005243609775789082, 0.05409745126962662, -0.018012069165706635, -0.030584516003727913, -0.038450974971055984, -0.018043672665953636, -0.006278740707784891, 0.008103135973215103, 0.009588871151208878, 0.01920401304960251, 0.01150822639465332, 0.05657682195305824, -0.004069318529218435, -0.004015788435935974, -0.009214525111019611, -0.02059127204120159, 0.004293628502637148, -0.015367547981441021, -0.0005352775333449244, -0.019413376227021217, 0.011063766665756702, -0.03221503272652626, -0.011774864979088306, -0.008330709300935268, 0.008555904030799866, 0.044006574898958206, 0.020791655406355858, -0.036423515528440475, -0.020907793194055557, -0.01042711641639471, -0.03882666304707527, 0.0004349552618805319, -0.01569921337068081, -0.028421085327863693, 0.0320226214826107, -0.015138196758925915, -0.04043164476752281, -0.012049729004502296, -0.023617956787347794, -0.0020957414526492357, -0.007008489686995745, -0.011847822926938534, 0.04419149458408356, 0.013506919145584106, -0.035548534244298935, -0.008081421256065369, 0.0009471136727370322, 0.04692159965634346, 0.023011671379208565, -0.0037010610103607178, 0.011940114200115204, 0.03563917800784111, 0.025289632380008698, 0.047333210706710815, 0.04084847494959831, 0.0023597823455929756, 0.024482954293489456, 0.0625985711812973, -0.029050294309854507, 0.001379618188366294, 0.012284057214856148, 0.0817844495177269, 0.0655071884393692, 0.012912210077047348, -0.011655740439891815, -0.023164374753832817, -0.039410095661878586, 0.04484458267688751, -0.03644730895757675, 0.001590665546245873, 0.08840432018041611, 0.005373556632548571, 0.03907757252454758, -0.004440621472895145, -0.037196338176727295, 0.0376969575881958, -0.021630587056279182, 0.01856631226837635, 0.03241110220551491, 0.02180236391723156, 0.01860579289495945, -0.005702991969883442, 0.008713039569556713, 0.0521073117852211, 0.00377356237731874, -0.06400225311517715, 0.03637823835015297, 0.01540317665785551, -0.020157193765044212, 0.015253843739628792, 0.03152674064040184, -0.016669368371367455, -0.009998956695199013, -0.00023284238704945892, -0.008872694335877895, 0.04863932356238365, -0.012478376738727093, 0.027571119368076324, -0.014531885273754597, 0.025411127135157585, -0.03102603554725647, 0.0789664089679718, -0.00910392589867115, 0.042483922094106674, 0.04106051102280617, 0.01618839241564274, 0.03669169545173645, -0.03957567736506462, 0.008872633799910545, 0.04291098192334175, 0.0436599962413311, -0.0005876850336790085, 0.03401875123381615, 0.03189793601632118, 0.0007823858759365976, -0.016200372949242592, -0.03282022103667259, 0.0015410750638693571, 0.005621461663395166, 0.024774892255663872, 0.00831381045281887, 0.005898939911276102, -0.005044126883149147, -0.0529174841940403, 0.04629882425069809, 0.04763131961226463, 0.026137210428714752, -0.010995647870004177, 0.024218890815973282, 0.006677678320556879, 0.03569668158888817, -0.001152803422883153, -0.008237514644861221, 0.031012915074825287, -0.0004564066475722939, 0.03705848380923271, 0.028425656259059906, 0.03566005453467369, 0.056036949157714844, -0.022565187886357307, 0.021281573921442032, -0.027906950563192368, -0.026194708421826363, 0.049892496317625046, -0.01411642786115408, 0.0005553059163503349, -0.045868054032325745, 0.03695368766784668, -0.06419778615236282, -0.004514455795288086, -0.04269469156861305, 0.0006761258118785918, -0.024845706298947334, -0.01848675310611725, -0.008079791441559792, 0.0127451466396451, -0.01986735127866268, 0.01993642933666706, -0.03406693413853645, 0.020755058154463768, 0.0061060283333063126, 0.011436676606535912, -0.015540437772870064, -0.04610831290483475, -0.02047465555369854, -0.004366670269519091, 0.04192998260259628, 0.03827179595828056, -0.02197963185608387, -0.0209009051322937, -0.012657217681407928, 0.003035939997062087, 0.0018530392553657293, 0.034644290804862976, -0.009335079230368137, 0.05506172776222229, -0.0032331037800759077, 0.030514061450958252, -0.0064570787362754345, -0.0335933119058609, -0.00743193831294775, -0.03667472302913666, 0.003275583265349269, -0.030317876487970352, 0.011189167387783527, 0.024622684344649315, -0.0053776842541992664, -0.006488766986876726, -0.05553387477993965, 0.007734836079180241, 0.011245418339967728, -0.012014944106340408, 0.03463631495833397, 0.019892383366823196, 0.0022748021874576807, 0.017382273450493813, 0.0036717227194458246, 0.025418464094400406, 0.006793159991502762, 0.007384874392300844, 0.042340412735939026, 0.010923175141215324, -0.029916470870375633, -0.008791591972112656, 0.04398783668875694, 0.04120294749736786, 0.00642371317371726, -0.04390141740441322, 0.041786082088947296, -0.01931632310152054, -0.013010498136281967, 0.03478413075208664, 0.0008379365899600089, 0.007793704513460398, -0.05017835646867752, -0.022937064990401268, -0.035095300525426865, -0.0241987481713295, -0.022421173751354218, -0.0010753002716228366, -0.044318895787000656, -0.0018726128619164228, 0.02662566304206848, 0.009174435399472713, -0.03191404417157173, -0.019659141078591347, 0.02492770366370678, 0.002107128268107772, 0.016191516071558, 0.00030092598171904683, -0.02518041431903839, 0.014471414498984814, -0.043949197977781296, 0.052822425961494446, 0.01959436759352684, -0.05838733911514282, 0.004812940489500761, -0.06351516395807266, 0.009625852108001709, -0.002989179687574506, -0.005232778377830982, 0.019775088876485825, 0.039286572486162186, 0.034895870834589005, -0.03636109456419945, -0.002493651583790779, 0.04969118535518646, 0.007553016766905785, 0.028935758396983147, -0.01807337813079357, -0.037390079349279404, 0.031201079487800598, 0.0171489454805851, -0.05138513073325157, -0.005502025131136179, -0.0005397003260441124, 0.0016780465375632048, 0.00557785714045167, -0.02803076058626175, -0.013092739507555962, 0.015761084854602814, 0.03987511247396469, 0.005875668954104185, -0.013158219866454601, -0.028170421719551086, -0.03900694474577904, -0.006546403747051954, 0.007947669364511967, -0.02038058079779148, -0.008562509901821613, 0.033102888613939285, 0.01383962295949459, -0.041378170251846313, 0.022704601287841797, -0.0012063358444720507, 0.004960034042596817, -0.0012155654840171337, 0.028210196644067764, -0.027862779796123505, 0.10062424093484879, 0.034762389957904816, 0.01471682544797659, -0.06520017981529236, -0.010426128283143044 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
Conclusion Although we don't have a nice demo to show for it, we've seen how we can use datasets to: - load images into the new Image feature type - 'save' our work using push_to_hub and use this to move data between machines/sessions - create a faiss index for images that we can use to retrieve images from a text (or image) input.
[ 0.02299058623611927, -0.03162171691656113, -0.007582378573715687, 0.024222541600465775, 0.10483291000127792, 0.082074835896492, -0.030443327501416206, 0.05827995762228966, -0.02683079242706299, -0.12921950221061707, -0.05424712225794792, -0.00292200711555779, -0.017062271013855934, 0.01574457809329033, 0.027842886745929718, -0.027873385697603226, 0.03669997304677963, -0.059972550719976425, -0.005699350032955408, 0.04980343580245972, -0.00031128787668421865, -0.05203419551253319, 0.07391723245382309, -0.043448321521282196, -0.05361225828528404, 0.00479824049398303, 0.07099980860948563, 0.033442623913288116, -0.041890598833560944, -0.018761735409498215, -0.11959502846002579, 0.0419151745736599, 0.023101575672626495, 0.02985537424683571, -0.03663148730993271, 0.00685929087921977, -0.07888180762529373, 0.0532650388777256, 0.06442831456661224, -0.09353066235780716, -0.03333194926381111, 0.018061045557260513, -0.051901258528232574, 0.03587401658296585, 0.017353681847453117, -0.0534353144466877, -0.234828919172287, 0.09341342747211456, -0.038050662726163864, 0.044880758970975876, -0.11877379566431046, 0.09119044989347458, 0.021898793056607246, -0.013826907612383366, 0.019700810313224792, 0.09049319475889206, 0.020944973453879356, -0.08212285488843918, -0.008537938818335533, 0.03780202195048332, 0.029427235946059227, -0.014726311899721622, -0.004674669820815325, 0.0303969644010067, 0.016354842111468315, 0.00015434902161359787, 0.0034602824598550797, 0.02121199481189251, -0.06788941472768784, -0.02394712343811989, 0.06316354125738144, 0.010350656695663929, -0.013925251550972462, 0.0355701744556427, 0.012681285850703716, -0.021669337525963783, -0.005293569527566433, -0.011674138717353344, 0.052294328808784485, 0.013928898610174656, 0.01828857511281967, 0.004565422888845205, 0.039735667407512665, 0.035764046013355255, 0.05262061953544617, 0.019487198442220688, 0.01612500660121441, -0.03829192742705345, -0.02613639645278454, 0.05668387562036514, -0.027520284056663513, -0.10324860364198685, 0.022496214136481285, -0.0060240235179662704, 0.04472491145133972, -0.04751500114798546, 0.008800097741186619, 0.04695556312799454, 0.03558848425745964, 0.006700843572616577, -0.04815421998500824, -0.03270381689071655, 0.04847868159413338, -0.044473543763160706, -0.02812514454126358, 0.005463570822030306, -0.05960283428430557, -0.11847598105669022, -0.01600702479481697, 0.006957653909921646, 0.0016111511504277587, 0.004908617120236158, -0.013541490770876408, 0.06843241304159164, 0.013620896264910698, -0.034672196954488754, 0.046413883566856384, -0.027198191732168198, -0.02283826470375061, 0.01689586415886879, 0.033606477081775665, 0.027046076953411102, -0.01595153659582138, 0.010597151704132557, -0.01809636503458023, 0.006556087173521519, -0.01774786040186882, 0.018878700211644173, -0.02826755866408348, -0.044740062206983566, 0.003034219378605485, -0.038683243095874786, 0.047616105526685715, -0.016914846375584602, 0.02589440904557705, -0.044876229017972946, -0.05617115646600723, -0.03890189900994301, -0.008616377599537373, 0.025302032008767128, 0.02003909833729267, 0.03260788321495056, 0.033182207494974136, 0.008465505205094814, 0.04764074832201004, 0.01962745375931263, 0.00837866123765707, -0.02638663910329342, 0.012154916301369667, -0.012939433567225933, -0.05797266587615013, 0.04488286375999451, 0.007947680540382862, -0.08228903263807297, -0.03630853444337845, 0.06385061144828796, 0.01048598438501358, 0.02218710072338581, -0.05270836129784584, -0.014437657780945301, -0.0007575950003229082, 0.04246443137526512, -0.027790166437625885, 0.024182362481951714, 0.04414476454257965, -0.02661910653114319, 0.04101713001728058, -0.05325978249311447, 0.07242260873317719, -0.02581845037639141, -0.030780712142586708, -0.07956119626760483, -0.0036606495268642902, -0.011860715225338936, 0.021672924980521202, 0.02207561396062374, 0.02804819867014885, 0.04182322323322296, -0.03721167519688606, -0.06437359005212784, -0.01451606210321188, -0.007464958354830742, -0.02795872651040554, 0.0014978792751207948, 0.023243030533194542, -0.07144289463758469, 0.057957664132118225, -0.0014651073142886162, 0.02651352621614933, -0.000429814332164824, -0.0783206894993782, -0.0496884360909462, 0.03198690712451935, -0.014876295812427998, 0.033175528049468994, -0.03796715661883354, -0.018247904255986214, 0.12306345254182816, 0.030102986842393875, 0.044383589178323746, 0.009560294449329376, -0.018758472055196762, -0.01850752905011177, -0.07362259179353714, 0.01764424704015255, -0.005504804663360119, 0.00792375486344099, -0.047667063772678375, 0.007006995379924774, -0.011417075991630554, -0.031590536236763, -0.07152941823005676, 0.05862903222441673, -0.03618375584483147, 0.016666656360030174, -0.00629136199131608, -0.017066137865185738, -0.0206610094755888, -0.03155789524316788, -0.03479105606675148, 0.16228775680065155, 0.047583382576704025, 0.02306731976568699, 0.07064379006624222, 0.005218026228249073, 0.06137323006987572, 0.11814774572849274, 0.07416754215955734, 0.07271100580692291, -0.10350415855646133, -0.06799118965864182, -0.009156697429716587, -0.02527678571641445, 0.02989414893090725, 0.013109437189996243, 0.01768074743449688, 0.060762859880924225, 0.021904317662119865, 0.0239519365131855, 0.007112020161002874, -0.006119451019912958, -0.042577389627695084, 0.008378386497497559, 0.0218641459941864, 0.00955711118876934, -0.050133511424064636, 0.06968601047992706, -0.01464396994560957, -0.05154977738857269, -0.047377750277519226, -0.03874213993549347, 0.0013443727511912584, -0.051124028861522675, -0.041069306433200836, 0.01381708774715662, 0.034414712339639664, 0.013593926094472408, -0.07958733290433884, -0.023502470925450325, 0.04113912954926491, -0.028191091492772102, -0.016551785171031952, -0.05651794746518135, -0.06876177340745926, 0.008198313415050507, -0.020547376945614815, -0.008539051748812199, -0.004501987714320421, 0.024635007604956627, -0.04743446782231331, -0.0030166117940098047, -0.02641335502266884, 0.02041013166308403, 0.01658395119011402, 0.027040084823966026, -0.001993068028241396, 0.014095275662839413, 0.023076800629496574, -0.014295676723122597, -0.019226323813199997, -0.011757791973650455, -0.07740824669599533, 0.07827002555131912, 0.012702115811407566, 0.04586061090230942, -0.007917925715446472, 0.04599322751164436, 0.009434379637241364, -0.0027458639815449715, 0.012497751042246819, 0.024860870093107224, 0.017421383410692215, 0.009291397407650948, 0.00847997423261404, 0.012799431569874287, 0.038009580224752426, -0.0019045349908992648, -0.007699916604906321, -0.03031204082071781, 0.03037811815738678, -0.02380511350929737, -0.005809115245938301, 0.014334660954773426, -0.019066182896494865, -0.021780503913760185, 0.04876293987035751, -0.0009779310785233974, 0.011770333163440228, -0.11175743490457535, -0.015980204567313194, -0.022040531039237976, 0.016957813873887062, -0.02396390400826931, -0.03915446251630783, 0.042944103479385376, 0.0052052889950573444, 0.005695804953575134, 0.004759394563734531, 0.009945442900061607, 0.00706935441121459, -0.0007074613822624087, -0.010193675756454468, -0.006099056918174028, 0.02883979305624962, 0.00613170862197876, 0.013327430933713913, 0.019995195791125298, 0.0005802864907309413, -0.06472816318273544, 0.027969971299171448, -0.012417162768542767, 0.026341572403907776, -0.06423065066337585, 0.009973607026040554, 0.05251310393214226, 0.0007117825443856418, 0.01236922387033701, -0.018757956102490425, 0.040852028876543045, -0.011467991396784782, -0.04260360449552536, 0.02460368536412716, -0.005337272770702839, -0.002281986875459552, -0.003996307495981455, 0.024265682324767113, 0.024417772889137268, 0.00588275957852602, 0.012832283042371273, 0.0007911656284704804, -0.0000019720835098269163, -0.0012797331437468529, 0.010890246368944645, -0.01441114954650402, 0.008598238229751587, 0.022199733182787895, 0.04523347318172455, -0.036996420472860336, -0.022969888523221016, 0.013847843743860722, 0.03232753649353981, 0.07086318731307983, -0.013732760213315487, 0.01422078162431717, -0.009137370623648167, 0.022332625463604927, 0.004300190135836601, -0.0394168458878994, -0.030263902619481087, 0.0010549045400694013, 0.05510227009654045, -0.05977056547999382, -0.016068408265709877, 0.044902339577674866, -0.03661979362368584, 0.02278994768857956, -0.02239155024290085, -0.006711889524012804, -0.01050015538930893, 0.01842336542904377, 0.031453199684619904, 0.0059789386577904224, -0.013276519253849983, 0.037153057754039764, -0.006163513287901878, 0.005256954114884138, 0.0745263546705246, 0.0538349375128746, 0.0009185794624499977, -0.016254812479019165, 0.008280462585389614, -0.01614290475845337, 0.026964759454131126, 0.0006523093907162547, -0.0007130398298613727, -0.0184945035725832, 0.004206908866763115, -0.003675751853734255, 0.041012223809957504, -0.06560403108596802, 0.011840584687888622, -0.020288167521357536, 0.013923299498856068, -0.027437202632427216, 0.05665187910199165, -0.008087164722383022, 0.02594524249434471, -0.01259544212371111, 0.012310545891523361, 0.01376187801361084, -0.05306985601782799, -0.003584216581657529, 0.024592535570263863, 0.0052666268311440945, -0.021537775173783302, -0.038775358349084854, 0.00593574671074748, -0.012969663366675377, 0.01112668588757515, -0.0012382802087813616, 0.0005068769678473473, 0.0034014713019132614, 0.01004475075751543, 0.03186768293380737, 0.004370568785816431, -0.015290397219359875, 0.0015208753757178783, 0.008503643795847893, -0.022950561717152596, -0.004568625707179308, -0.004498390946537256, -0.039711397141218185, 0.010238239541649818, 0.0065044439397752285, 0.02045251801609993, -0.03820507600903511, -0.01821700856089592, -0.008295093663036823, 0.02977452054619789, -0.04536823555827141, -0.014596693217754364, 0.03169764578342438, 0.021292513236403465, -0.0008009488228708506, -0.015707112848758698, 0.04083923250436783, -0.02911008521914482, -0.048331014811992645, -0.017770664766430855, -0.006091191899031401, 0.05497647821903229, -0.0033594409469515085, 0.034796539694070816, -0.006949663627892733, -0.0491449311375618, 0.031518664211034775, 0.0034839112777262926, 0.026281939819455147, 0.010184830985963345, 0.02457723207771778, -0.015763040632009506, 0.014390131458640099, 0.06024228781461716, -0.014947652816772461, -0.007039208430796862, -0.019866937771439552, -0.0026035462506115437, 0.028567567467689514, -0.00950926635414362, -0.012369279749691486, -0.009457028470933437, 0.001828843029215932, -0.03712493181228638, 0.01827799715101719, 0.038389742374420166, -0.039839278906583786, 0.0205411147326231, 0.04561327397823334, -0.0015674439491704106, 0.01894059032201767, -0.017161192372441292, -0.03294368088245392, 0.004935045726597309, 0.015099902637302876, 0.006872659083455801, 0.07159949094057083, 0.01203826256096363, 0.0007909719133749604, -0.061468981206417084, 0.005237868521362543, 0.03379862755537033, 0.02988165058195591, 0.0056443833746016026, -0.012544563971459866, 0.06280975788831711, 0.06065947934985161, -0.007484453730285168, 0.01877564750611782, -0.014023041352629662, -0.026181908324360847, 0.013174932450056076, -0.02121158130466938, -0.0044008893892169, 0.0002774470776785165, 0.010032841004431248, -0.039696551859378815, -0.02167091704905033, -0.00016377083375118673, -0.010348409414291382, 0.08054637908935547, -0.010924819856882095, -0.013581747189164162, 0.01102106086909771, 0.019645191729068756, -0.020376497879624367, 0.0062470994889736176, -0.015067054890096188, -0.05070420354604721, -0.0031335949897766113, 0.013006563298404217, -0.045204851776361465, -0.007954077795147896, 0.012079893611371517, -0.01039115246385336, -0.03885470703244209, 0.00863594003021717, 0.016079850494861603, 0.027040541172027588, -0.012089379131793976, -0.02004651352763176, -0.00871145911514759, 0.010656381957232952, 0.0085323266685009, -0.050173304975032806, 0.0007829335518181324, 0.04742623120546341, 0.03364654257893562, 0.0386991985142231, 0.02240370213985443, -0.04022350534796715, 0.03487998992204666, 0.03850509226322174, 0.0070409406907856464, -0.005403408780694008, -0.02489372342824936, 0.06420402973890305, 0.05656323581933975, -0.03401212394237518, -0.014246735721826553, -0.030905773863196373, -0.021268479526042938, 0.024444041773676872, -0.04528743401169777, 0.013800161890685558, 0.08624518662691116, 0.022162489593029022, 0.01653279922902584, 0.01846354454755783, -0.005719637498259544, -0.020302576944231987, 0.010296779684722424, 0.0019326916662976146, -0.019205376505851746, 0.01231954712420702, 0.04113722965121269, -0.0065793260000646114, 0.004080456215888262, 0.04450961574912071, -0.004266132600605488, -0.030605854466557503, 0.028440510854125023, 0.01844729669392109, -0.038412850350141525, 0.01614217273890972, 0.04532349482178688, -0.009938718751072884, 0.0003718663938343525, -0.0041611650958657265, 0.006136595271527767, 0.03404178097844124, -0.047492630779743195, -0.00033384328708052635, -0.014724157750606537, -0.011374619789421558, -0.027193013578653336, 0.062460314482450485, -0.0390562005341053, 0.04888962581753731, 0.010205850936472416, 0.05963914096355438, 0.010122693143785, -0.0024419426918029785, -0.001435512793250382, 0.021998999640345573, 0.060069285333156586, -0.012356488034129143, 0.009304377250373363, 0.030822735279798508, 0.04434170573949814, 0.0041834269650280476, -0.025405731052160263, -0.017651813104748726, -0.030979810282588005, 0.0023896154016256332, 0.021980537101626396, 0.010512632317841053, -0.020777564495801926, -0.02838940918445587, 0.03666125237941742, 0.06506330519914627, 0.04183829203248024, 0.0023326065856963396, -0.013195302337408066, 0.017772251740098, 0.012830634601414204, -0.013780851848423481, 0.03846738860011101, 0.023686544969677925, 0.03756214678287506, 0.058930251747369766, 0.022647114470601082, 0.011357319541275501, 0.009743540547788143, -0.00800452008843422, 0.015361038967967033, -0.021181022748351097, -0.027569614350795746, 0.03383023664355278, 0.0006463027093559504, -0.01683349534869194, -0.048853855580091476, 0.013817038387060165, -0.03208567947149277, -0.019126132130622864, -0.036429718136787415, -0.01048552431166172, -0.04679594933986664, -0.009591019712388515, -0.002472411375492811, 0.03892013058066368, -0.016128476709127426, -0.0016606546705588698, -0.03684280440211296, 0.033291902393102646, 0.02475578896701336, 0.029569212347269058, 0.010625247843563557, -0.06760980188846588, -0.03262751176953316, -0.005128422286361456, 0.02012242004275322, 0.0006806645542383194, 0.02137369103729725, -0.005154707934707403, -0.01459492091089487, 0.012378941290080547, 0.008788417093455791, 0.03135465085506439, 0.036231327801942825, 0.04407891258597374, -0.006254969164729118, 0.04338879883289337, -0.03880606219172478, -0.01637962833046913, -0.023843009024858475, 0.0003644001262728125, 0.025569379329681396, -0.004779172595590353, -0.002086790045723319, 0.004585292190313339, 0.013695119880139828, -0.022112296894192696, -0.019018620252609253, 0.013276449404656887, 0.009394134394824505, -0.004576943349093199, 0.03190284222364426, -0.018056826665997505, -0.03628998249769211, 0.03708573430776596, -0.018705999478697777, -0.012197339907288551, -0.006381581071764231, 0.02009442448616028, 0.04840734228491783, -0.013221991248428822, -0.024930905550718307, -0.014655905775725842, 0.0881035327911377, 0.01886885054409504, 0.018755197525024414, -0.00823935866355896, 0.025178372859954834, -0.0017007245915010571, -0.027568301185965538, 0.04427020996809006, -0.003461155341938138, 0.02541867457330227, -0.026891639456152916, -0.034263595938682556, -0.03625429794192314, -0.016100505366921425, -0.03207577392458916, 0.007971290498971939, -0.04872912913560867, -0.01722944900393486, 0.02343938872218132, 0.00997862033545971, -0.03745799511671066, -0.03130972385406494, 0.06853516399860382, 0.011742467992007732, 0.03660671040415764, 0.0046791029162704945, -0.006162121891975403, 0.03250972181558609, -0.03329901024699211, 0.062472619116306305, 0.0177982859313488, 0.00741987070068717, -0.0578068345785141, -0.027498232200741768, -0.007264938671141863, -0.009755749255418777, -0.03963909298181534, -0.0008108988404273987, 0.03409380838274956, 0.0020938897505402565, -0.03959720954298973, -0.024721570312976837, 0.043336451053619385, 0.0370086245238781, 0.019577037543058395, -0.018479345366358757, -0.041753750294446945, 0.023145606741309166, 0.03563839942216873, -0.02853633090853691, -0.01062366645783186, -0.041866105049848557, 0.0008935974910855293, -0.008009074255824089, -0.013266525231301785, -0.003924461081624031, -0.030811745673418045, -0.018812038004398346, 0.05847912281751633, -0.021498799324035645, -0.030523963272571564, -0.026808064430952072, 0.002979209879413247, -0.012546953745186329, -0.015070589259266853, -0.016513021662831306, 0.03279965743422508, -0.0025741513818502426, -0.012226106598973274, 0.000386054627597332, 0.021382689476013184, 0.009760342538356781, -0.0013602467952296138, 0.038500744849443436, 0.011688575148582458, 0.08139342814683914, 0.011209672316908836, -0.031060628592967987, -0.04733891412615776, -0.005171452183276415 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
Primary intended uses > > We primarily imagine the model will be used by researchers to better understand robustness, generalization, and other capabilities, biases, and constraints of computer vision models. > source This is fairly close to what we are interested in here. Particularly we might be interested in how well the model deals with the kinds of images in our dataset (illustrations from mostly 19th century books). The images in our dataset are (probably) fairly different from the training data. The fact that some of the images also contain text might help CLIP since it displays some OCR ability. However, looking at the out-of-scope use cases in the model card: >
[ 0.023493073880672455, -0.05266431346535683, -0.0035639482084661722, 0.023201078176498413, 0.0840127170085907, 0.047966666519641876, -0.04162872955203056, 0.052063390612602234, -0.08425121009349823, -0.04860971122980118, -0.009137422777712345, 0.0009996772278100252, -0.01935644820332527, 0.06772453337907791, -0.01556473970413208, 0.04721207916736603, 0.04060034826397896, -0.0024377843365073204, 0.0202043354511261, 0.020389428362250328, -0.04545481875538826, -0.05768157169222832, 0.05644041299819946, -0.03606967628002167, -0.011821804568171501, -0.05166514590382576, 0.022525914013385773, -0.02194221317768097, -0.061308443546295166, -0.0237429141998291, -0.11956644058227539, 0.03177180513739586, -0.03559470921754837, 0.018946219235658646, -0.059335026890039444, -0.019583487883210182, -0.13730306923389435, 0.03810156509280205, -0.008808210492134094, -0.05428527295589447, 0.007264317013323307, 0.0030389351304620504, -0.04245493933558464, 0.05325627326965332, -0.0208869818598032, -0.020386574789881706, -0.18993419408798218, 0.1117282435297966, -0.062107861042022705, 0.0093088299036026, -0.08115224540233612, 0.09416668117046356, -0.008101756684482098, 0.04515068978071213, 0.03585301339626312, 0.014380401000380516, 0.06390838325023651, -0.07754547894001007, 0.03969281539320946, -0.05166235193610191, -0.0009115649736486375, -0.016605274751782417, 0.04149936884641647, 0.02990511618554592, 0.00793085154145956, -0.06119421124458313, 0.03141127899289131, 0.035436179488897324, -0.059285324066877365, 0.005455230362713337, 0.03287574276328087, -0.04571644589304924, -0.005438751075416803, -0.025268403813242912, -0.05276518315076828, -0.039700042456388474, -0.007000608369708061, -0.013556151650846004, 0.03100467100739479, -0.02141754887998104, 0.03720492869615555, 0.0167585127055645, 0.10017187893390656, 0.06686010956764221, -0.001481869607232511, -0.0042887600138783455, 0.0024243579246103764, 0.023378247395157814, -0.0006969200330786407, 0.07751823961734772, -0.01458547543734312, -0.06647780537605286, 0.014552606269717216, -0.021689284592866898, 0.009234815835952759, -0.08327893912792206, -0.008256480097770691, 0.009040892124176025, -0.003417570609599352, 0.01740151084959507, -0.02598126232624054, 0.012676700949668884, 0.06418439000844955, -0.023107163608074188, -0.05148046836256981, 0.019990146160125732, -0.010837982408702374, -0.04968472197651863, -0.1075640469789505, 0.04773331433534622, -0.011154881678521633, -0.01978500559926033, 0.0054612550884485245, 0.04739004373550415, -0.037884023040533066, 0.02533401921391487, 0.061254795640707016, -0.02501697652041912, 0.04262774810194969, 0.037307385355234146, -0.031235510483384132, 0.07571890950202942, 0.013193727470934391, 0.05621437355875969, 0.027604691684246063, 0.03899166360497475, 0.06080668047070503, -0.018233776092529297, -0.0671849399805069, -0.054191604256629944, 0.004869936034083366, -0.02648232690989971, -0.004703805781900883, 0.03441224619746208, -0.0012445147149264812, -0.06756284832954407, -0.0014580409042537212, -0.06858202069997787, -0.021448936313390732, 0.035548485815525055, -0.0040897647850215435, -0.017880810424685478, -0.006239860784262419, 0.037492137402296066, 0.04950057342648506, 0.01314028725028038, 0.011127116158604622, 0.04648434743285179, 0.00873984582722187, -0.015749262645840645, -0.05072236433625221, 0.0312533862888813, -0.013092642650008202, -0.10796166956424713, 0.031918805092573166, 0.0708114355802536, -0.014886011369526386, -0.02806006744503975, -0.0437442809343338, -0.03459762781858444, -0.0043671997264027596, 0.022626401856541634, -0.040691450238227844, 0.006370050832629204, 0.01415285374969244, -0.03530018776655197, 0.03875923529267311, -0.007620557677000761, 0.023519281297922134, 0.04563289135694504, -0.005809680558741093, -0.08483191579580307, 0.06139159947633743, -0.01805172674357891, -0.02951572835445404, 0.07218990474939346, 0.003797017503529787, 0.06406726688146591, 0.0287176463752985, -0.009131819009780884, -0.050960659980773926, 0.03140485659241676, 0.000447321857791394, -0.0010252833599224687, 0.06379781663417816, -0.06891176104545593, 0.01532783079892397, -0.026525916531682014, -0.05996789410710335, -0.00822942890226841, -0.08538655191659927, -0.006626046262681484, 0.04455483332276344, 0.024406621232628822, 0.06271451711654663, -0.0901172012090683, -0.03872092440724373, 0.09170070290565491, 0.02062184549868107, 0.05922532081604004, 0.06843965500593185, 0.010003756731748581, -0.013894177041947842, -0.028041284531354904, -0.07255536317825317, -0.013100691139698029, 0.061063267290592194, 0.049363747239112854, 0.09569920599460602, 0.003243133658543229, -0.0055715423077344894, -0.0763171836733818, 0.010475863702595234, -0.025402521714568138, 0.03074881061911583, 0.019643833860754967, 0.029218340292572975, 0.006106612738221884, -0.022682122886180878, -0.04990674927830696, 0.1328204870223999, 0.04336516186594963, -0.019067224115133286, -0.023667188361287117, -0.05188509821891785, 0.04876100644469261, 0.09049080312252045, 0.04722919315099716, 0.07212220132350922, -0.08805423229932785, 0.01782047376036644, -0.04403650760650635, 0.06199805438518524, 0.03581320866942406, -0.011526861228048801, -0.007911887019872665, 0.0309578999876976, 0.002049835165962577, 0.04055304825305939, -0.017123309895396233, -0.020682061091065407, -0.045106325298547745, -0.0252241063863039, 0.046491943299770355, -0.019020479172468185, -0.08655823767185211, 0.019101183861494064, 0.020640453323721886, -0.056231897324323654, -0.007095771376043558, -0.06219286471605301, 0.07556194812059402, -0.03236560896039009, -0.09800992161035538, 0.00493848230689764, 0.062213897705078125, 0.027234945446252823, -0.05908871442079544, -0.009931894019246101, 0.016076484695076942, -0.02972189523279667, -0.019539138302206993, -0.0326048918068409, -0.04545793682336807, 0.008082615211606026, -0.048533033579587936, 0.024565136060118675, 0.00011054109199903905, 0.04595331475138664, 0.028736025094985962, 0.016711436212062836, -0.0022150541190057993, 0.019029337912797928, -0.0012928952928632498, 0.019886564463377, -0.001547676045447588, 0.013177469372749329, 0.02460237592458725, -0.021213766187429428, -0.02070581540465355, -0.024106193333864212, -0.015241569839417934, 0.058486685156822205, 0.005172166042029858, 0.05865471437573433, -0.0026873291935771704, 0.015170598402619362, 0.013534819707274437, -0.049759577959775925, -0.0012734829215332866, 0.019181642681360245, 0.053091131150722504, -0.02403924986720085, 0.009494171477854252, 0.02505796030163765, -0.02421826310455799, 0.008537049405276775, -0.011336253024637699, -0.03232020139694214, -0.013659107498824596, -0.0007535142940469086, 0.024328146129846573, 0.0004052485746797174, -0.00998044665902853, -0.029235433787107468, 0.06319046765565872, 0.002908152062445879, 0.03886460140347481, -0.11609583348035812, -0.011357302777469158, 0.04016212373971939, 0.059208083897829056, -0.009465361014008522, -0.014006862416863441, 0.05471881106495857, 0.02657330594956875, 0.0011072031920775771, -0.018951188772916794, -0.002983157755807042, -0.006148966029286385, -0.0000804095616331324, 0.01929406262934208, -0.030728839337825775, 0.018971258774399757, -0.0052717458456754684, 0.009205017238855362, 0.024003012105822563, 0.011769304983317852, -0.04525921866297722, 0.024119209498167038, -0.018788665533065796, 0.017246393486857414, -0.07390319555997849, 0.03523063287138939, -0.0043471986427903175, -0.0028821115847676992, 0.0177726112306118, -0.018322475254535675, -0.01261135470122099, -0.019696226343512535, -0.01843472570180893, 0.020766329020261765, -0.013854238204658031, -0.004256004933267832, 0.0024360772222280502, 0.04543348774313927, 0.008648446761071682, 0.054732076823711395, 0.03578375652432442, -0.014214111492037773, 0.03198624774813652, 0.02613380365073681, -0.0010868996614590287, 0.011712170206010342, -0.0029975406359881163, -0.004533295053988695, 0.03025934472680092, -0.04405244439840317, -0.036819588392972946, 0.012878000736236572, 0.01623499020934105, 0.0704432874917984, 0.026357734575867653, -0.01197314914315939, 0.002431040396913886, 0.03958996385335922, 0.003403628244996071, -0.03479202836751938, -0.02920905314385891, 0.011763228103518486, 0.010448412038385868, 0.012847928330302238, -0.02101043239235878, 0.012557861395180225, -0.021483758464455605, 0.02202364057302475, -0.029027260839939117, 0.01989811845123768, 0.021768717095255852, 0.045713987201452255, -0.022747613489627838, 0.016779838129878044, -0.04243071377277374, 0.022601811215281487, 0.030296018347144127, 0.007161659654229879, 0.06730515509843826, 0.0033028656616806984, -0.02002277411520481, -0.05391271784901619, 0.009851097129285336, 0.008517993614077568, 0.019667474552989006, -0.03483838587999344, 0.05322827771306038, 0.04328090324997902, 0.012468087486922741, 0.03970232605934143, 0.03325453773140907, -0.028685355558991432, 0.032970063388347626, -0.00595060084015131, 0.01784675568342209, 0.0018847201718017459, 0.006829931866377592, -0.0041345530189573765, 0.032387133687734604, -0.031332649290561676, 0.02321694977581501, -0.010045954026281834, -0.008074300363659859, 0.012252029962837696, -0.019610650837421417, 0.030230538919568062, -0.03385979309678078, -0.03517354652285576, -0.009267114102840424, -0.020661000162363052, 0.028443744406104088, -0.025894617661833763, 0.0017982531571760774, 0.01410776935517788, 0.032592665404081345, 0.005478307604789734, -0.00973043218255043, -0.0015949258813634515, -0.011174086481332779, -0.005502763204276562, -0.028377573937177658, 0.0038285611663013697, -0.035004906356334686, -0.013119482435286045, 0.01163495797663927, -0.01903461664915085, 0.02404230833053589, 0.015573075972497463, -0.006002933718264103, 0.025664309039711952, -0.01044204831123352, -0.04414764419198036, 0.00873007345944643, 0.024058323353528976, 0.021093135699629784, 0.04780280590057373, -0.04228932410478592, 0.03962498530745506, -0.012279431335628033, -0.036201246082782745, -0.02229279652237892, -0.037832893431186676, 0.036199744790792465, 0.027939079329371452, 0.06857819855213165, -0.030093587934970856, -0.03458039090037346, -0.029870178550481796, 0.0018828181782737374, 0.05047100782394409, 0.016541367396712303, 0.005861548241227865, -0.02265354059636593, 0.018397701904177666, 0.031608615070581436, -0.02549624815583229, 0.007102956995368004, 0.030990861356258392, -0.05465056747198105, 0.06484606862068176, 0.02930024452507496, 0.008027859032154083, -0.043346062302589417, 0.02600744739174843, 0.018540143966674805, 0.01780470460653305, 0.018881700932979584, -0.02850927971303463, 0.02447654865682125, 0.06961745768785477, 0.012260465882718563, -0.05189741030335426, -0.005918791517615318, -0.030832253396511078, 0.030972888693213463, 0.01841680333018303, 0.017547737807035446, 0.03037264198064804, -0.020442578941583633, 0.028421536087989807, -0.0221458300948143, -0.007517737336456776, 0.018612800166010857, 0.010075824335217476, 0.029142942279577255, 0.002382955513894558, 0.052714113146066666, 0.05505271255970001, 0.013662104494869709, 0.026165615767240524, 0.002992568537592888, 0.0051521314308047295, 0.04669934883713722, -0.031057626008987427, -0.011147573590278625, 0.03878122568130493, 0.020950842648744583, -0.01641790382564068, -0.002008075127378106, 0.01761828362941742, -0.0020123468711972237, 0.05185037851333618, -0.0018914280226454139, 0.031271327286958694, 0.01431949157267809, 0.004476451780647039, -0.0027964345645159483, -0.04409199580550194, 0.0032838918268680573, -0.03800303488969803, -0.01186168473213911, -0.015848994255065918, -0.06051983684301376, -0.0059837163425982, -0.014768005348742008, -0.014133362099528313, -0.05047259107232094, 0.03407244756817818, 0.012486261315643787, 0.039767831563949585, 0.0044624037109315395, -0.014452414587140083, -0.04466694965958595, 0.002082945080474019, 0.03115435503423214, -0.0024999899324029684, -0.018631182610988617, 0.008048981428146362, 0.04796992987394333, 0.04628465324640274, 0.009624095633625984, -0.014963813126087189, -0.0024678364861756563, 0.045882321894168854, 0.012289857491850853, -0.016281791031360626, -0.015974152833223343, 0.07663924992084503, 0.016279350966215134, 0.007545993663370609, -0.01516556367278099, -0.02212524227797985, -0.040649957954883575, 0.027400722727179527, -0.07513460516929626, -0.036765046417713165, 0.0445219948887825, -0.002302042441442609, 0.024571366608142853, 0.022967390716075897, 0.04123937338590622, 0.007249786984175444, 0.019804300740361214, 0.026721855625510216, -0.02398543618619442, 0.0382162369787693, 0.013309141620993614, -0.005650325212627649, 0.022399848327040672, 0.014018557965755463, -0.0045927464962005615, -0.03637194633483887, -0.004859259817749262, 0.021876253187656403, -0.05515854060649872, 0.035443928092718124, 0.009661252610385418, -0.036230117082595825, 0.022109657526016235, 0.003696257248520851, 0.03786227107048035, 0.015171816572546959, -0.003434212179854512, 0.023369738832116127, -0.03311600536108017, 0.00912453792989254, -0.0094341104850173, 0.04200366139411926, 0.0017883399268612266, 0.021766915917396545, -0.012774276547133923, 0.021019551903009415, 0.0772349163889885, -0.0038246146868914366, -0.042831435799598694, 0.02206665463745594, 0.05431421846151352, 0.0068662697449326515, 0.02362593449652195, -0.01317785494029522, -0.007792225107550621, -0.011015059426426888, -0.016846420243382454, -0.04205487295985222, -0.04529884457588196, 0.0006245100521482527, 0.002200443996116519, -0.005907566752284765, 0.01561178732663393, -0.019437182694673538, 0.05039983242750168, 0.028200050815939903, 0.00873818900436163, 0.012336250394582748, -0.0006850856589153409, 0.026266368106007576, 0.01889486238360405, -0.031692128628492355, 0.009039970114827156, -0.017075637355446815, 0.022187577560544014, 0.016484849154949188, 0.018399560824036598, -0.0038110630121082067, 0.017627378925681114, -0.028576767072081566, 0.00412878580391407, -0.02743363566696644, 0.02569091133773327, -0.03204451873898506, -0.006620263680815697, -0.009580915793776512, -0.008595170453190804, -0.018231995403766632, -0.04871874675154686, -0.004282973241060972, 0.004002702888101339, -0.005201570689678192, -0.04829638823866844, -0.012410448864102364, 0.024872150272130966, 0.016673138365149498, 0.02911277860403061, -0.0053282370790839195, -0.05001285299658775, -0.00359304784797132, -0.023366767913103104, -0.00038495860644616187, 0.018525445833802223, -0.018766513094305992, -0.028807708993554115, 0.016045205295085907, 0.018995823338627815, -0.012562703341245651, -0.03832056745886803, 0.017269622534513474, 0.02336898446083069, 0.0026534181088209152, -0.06859906762838364, 0.017546573653817177, 0.03550542891025543, -0.003918454982340336, 0.01614169217646122, 0.030707061290740967, -0.037056274712085724, -0.01559694204479456, -0.024359963834285736, -0.011499766260385513, -0.007111758925020695, -0.07161564379930496, -0.008688891306519508, 0.004981562960892916, 0.015342319384217262, -0.0371004194021225, -0.014940180815756321, -0.025508219376206398, -0.035254430025815964, 0.04284291714429855, -0.004758098628371954, 0.03992244228720665, -0.051102761179208755, 0.005256874021142721, -0.0361032634973526, 0.011724433861672878, 0.008130498230457306, 0.011215650476515293, 0.024742405861616135, -0.013503055088222027, -0.03347116336226463, -0.031399454921483994, 0.07019797712564468, -0.0063392710871994495, 0.06050540506839752, 0.02619047649204731, 0.056254930794239044, 0.010284168645739555, -0.0064310114830732346, 0.027390869334340096, -0.00177453039214015, 0.024412143975496292, -0.030887901782989502, -0.035388510674238205, -0.03110364079475403, 0.0063168639317154884, -0.014636034145951271, 0.003149861702695489, -0.02444973587989807, -0.01177989412099123, -0.03023819997906685, -0.0006142318015918136, -0.060543242841959, 0.006631999276578426, 0.0688396468758583, -0.006384907756000757, -0.01607375405728817, -0.02185019850730896, -0.00000877748698258074, 0.021795015782117844, -0.019096683710813522, 0.008781670592725277, 0.030471375212073326, -0.012826427817344666, -0.02530151978135109, -0.0031414241530001163, 0.02105771377682686, -0.021688317880034447, -0.05383631959557533, -0.009387446567416191, 0.055516354739665985, -0.0068190130405128, -0.018369261175394058, -0.03769007697701454, 0.013619166798889637, 0.00772328395396471, 0.02804444171488285, -0.006592918653041124, -0.0026143782306462526, -0.00960196740925312, -0.0014179741265252233, -0.02942802384495735, 0.00013675817172043025, -0.055474065244197845, 0.013011879287660122, 0.034447506070137024, 0.04082521051168442, 0.009579360485076904, 0.011393011547625065, 0.0018974458798766136, 0.02192513272166252, -0.025036513805389404, -0.014928008429706097, -0.04040064662694931, 0.013379444368183613, -0.002001185202971101, 0.01636144146323204, -0.051244962960481644, 0.019694196060299873, 0.024657122790813446, 0.01750638522207737, -0.04198677837848663, 0.000705541402567178, 0.020324841141700745, 0.006358679849654436, 0.016241474077105522, -0.03136246278882027, 0.08318351954221725, 0.039745934307575226, -0.000911956827621907, 0.0014220665907487273, -0.03028922714293003 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
Creating our dataset Our dataset consists of a folder containing subdirectories inside which are images. This is a fairly standard format for sharing image datasets. Thanks to a recently merged pull request we can directly load this dataset using datasets ImageFolder loader 🤯 python from datasets import load_dataset dataset = load_dataset("imagefolder", data_files="https://zenodo.org/record/6224034/files/embellishments_sample.zip?download=1") Let's see what we get back. python dataset DatasetDict({ train: Dataset({ features: ['image', 'label'], num_rows: 10000 }) }) We can get back a DatasetDict, and we have a Dataset with image and label features. Since we don't have any train/validation splits here, let's grab the train part of our dataset. Let's also take a look at one example from our dataset to see what this looks like. python dataset = dataset["train"] dataset[0] python {'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=358x461 at 0x7F9488DBB090>, 'label': 208} Let's start with the label column. It contains the parent folder for our images. In this case, the label column represents the year of publication for the books from which the images are taken. We can see the mappings for this using dataset.features: python dataset.features['label'] In this particular dataset, the image filenames also contain some metadata about the book from which the image was taken. There are a few ways we can get this information. When we look at one example from our dataset that the image feature was a PIL.JpegImagePlugin.JpegImageFile. Since PIL.Images have a filename attribute, one way in which we can grab our filenames is by accessing this. python dataset[0]['image'].filename python /root/.cache/huggingface/datasets/downloads/extracted/f324a87ed7bf3a6b83b8a353096fbd9500d6e7956e55c3d96d2b23cc03146582/embellishments_sample/1920/000499442_0_000579_1_[The Ring and the Book etc ]_1920.jpg Since we might want easy access to this information later, let's create a new column to extract the filename. For this, we'll use the map method. python dataset = dataset.map(lambda example: {"fname": example['image'].filename.split("/")[-1]}) We can look at one example to see what this looks like now. python dataset[0] python {'fname': '000499442_0_000579_1_[The Ring and the Book etc ]_1920.jpg', 'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=358x461 at 0x7F94862A9650>, 'label': 208} We've got our metadata now. Let's see some pictures already! If we access an example and index into the image column we'll see our image 😃 python dataset[10]['image'] > Note in an earlier version of this blog post the steps to download and load the images was much more convoluted. The new ImageFolder loader makes this process much easier 😀 In particular, we don't need to worry about how to load our images since datasets took care of this for us.
[ 0.02931554988026619, -0.0427810400724411, -0.04195806756615639, 0.01354056317359209, 0.06787347793579102, 0.06249638646841049, -0.0161976870149374, 0.03604210913181305, -0.04351043701171875, -0.0514468178153038, -0.09482427686452866, 0.02142026275396347, -0.020602086558938026, 0.040224745869636536, 0.0004839459143113345, -0.06388642638921738, 0.05393189191818237, 0.021543171256780624, 0.005552840884774923, 0.05034205690026283, 0.0028550380375236273, -0.08137427270412445, 0.012531275860965252, 0.0007955243345350027, -0.03996817022562027, -0.0442914254963398, 0.0526709109544754, 0.00015996959700714797, 0.043218884617090225, 0.04836451634764671, -0.13782455027103424, 0.010807213373482227, -0.009815054945647717, -0.0169680155813694, 0.0008616562117822468, 0.016715003177523613, -0.08228807896375656, 0.025890864431858063, 0.0730273649096489, -0.047941189259290695, 0.007593315094709396, 0.0011108266189694405, -0.07594729959964752, 0.04049110785126686, 0.03694915771484375, -0.08777850866317749, -0.16835886240005493, 0.028739767149090767, 0.021686892956495285, 0.021401425823569298, -0.09275274723768234, 0.03875423222780228, 0.0007926410180516541, -0.001692941295914352, -0.0027702345978468657, 0.007722528651356697, 0.03446139767765999, -0.050938669592142105, 0.031082749366760254, 0.04888763278722763, 0.007625567726790905, -0.007946615107357502, 0.06400623172521591, 0.040958404541015625, 0.015922266989946365, -0.002729573054239154, -0.023899761959910393, 0.040130846202373505, -0.021088968962430954, -0.07465916872024536, 0.01917005144059658, -0.030556978657841682, -0.017557350918650627, -0.06509800255298615, -0.03997061774134636, 0.01701819710433483, 0.004512336105108261, 0.004663632716983557, 0.07211283594369888, 0.0035718590952455997, -0.009281775914132595, 0.03901316598057747, 0.00776464631780982, 0.032244376838207245, 0.0774570181965828, 0.0008786700200289488, -0.01816832832992077, 0.007770321797579527, -0.03717436641454697, 0.0859493762254715, -0.01654393970966339, -0.0618651881814003, -0.018817810341715813, -0.0006511714309453964, 0.050449371337890625, -0.08847777545452118, 0.01002496387809515, 0.034242626279592514, 0.03442979231476784, 0.05357680842280388, -0.022700199857354164, -0.04064546898007393, -0.0005791345611214638, -0.010767301544547081, -0.04644184559583664, -0.01021729689091444, -0.03733336925506592, -0.07283469289541245, -0.026727084070444107, 0.010039369575679302, -0.024427425116300583, -0.03182655945420265, -0.09200652688741684, 0.06138229742646217, -0.0740991085767746, 0.0002220406022388488, -0.031791966408491135, -0.004590653348714113, -0.05330159515142441, 0.010636838153004646, -0.0443066842854023, 0.041644468903541565, 0.047358475625514984, 0.029698504135012627, -0.01024610735476017, 0.03808434307575226, -0.0003087371005676687, 0.060899101197719574, 0.013542416505515575, -0.015421873889863491, -0.054582320153713226, -0.07059955596923828, 0.0749775841832161, -0.010945443995296955, 0.028841516003012657, -0.02636401727795601, -0.03726634755730629, -0.02363799326121807, 0.0698816329240799, 0.07626176625490189, -0.023263998329639435, 0.0955132320523262, -0.04987746849656105, 0.03968670219182968, 0.052113499492406845, 0.00045181880705058575, 0.012248659506440163, 0.04108787700533867, 0.002922713989391923, -0.015658222138881683, -0.08067134767770767, 0.05292624607682228, 0.028736921027302742, -0.02479260042309761, -0.05288141965866089, 0.02204851061105728, 0.01084880530834198, -0.005881172139197588, -0.062261901795864105, -0.01564192958176136, 0.020696956664323807, -0.020094113424420357, -0.053358402103185654, 0.016387159004807472, 0.008736221119761467, 0.0023550130426883698, -0.016672618687152863, 0.013418055139482021, 0.009253127500414848, -0.053458817303180695, -0.03334849700331688, -0.10909225791692734, 0.008113010786473751, 0.024397632107138634, 0.04510315880179405, 0.031182177364826202, 0.05436984449625015, 0.04109828546643257, -0.007522916421294212, -0.0017155840760096908, -0.017628828063607216, -0.003927943762391806, 0.009450959041714668, 0.026990029960870743, 0.0507391095161438, -0.02678389474749565, 0.01841254159808159, -0.024234149605035782, 0.016196947544813156, 0.021238189190626144, -0.0586087666451931, -0.04484214261174202, 0.05844984948635101, -0.09180024266242981, 0.03881461173295975, -0.024928992614150047, 0.010924211703240871, 0.08189616352319717, 0.04982137307524681, 0.06806083768606186, 0.0034171908628195524, -0.02819957584142685, -0.0020456439815461636, -0.023070363327860832, 0.03718549385666847, -0.011437618173658848, 0.03131207078695297, -0.10463214665651321, 0.06497839093208313, -0.01364414393901825, -0.015460165217518806, -0.0683865174651146, 0.06829889118671417, -0.05917159840464592, 0.019233662635087967, -0.025778479874134064, 0.00708410982042551, 0.02136017568409443, 0.028293589130043983, 0.006609272677451372, 0.14897920191287994, 0.010081146843731403, 0.066541887819767, 0.031694140285253525, -0.0025899538304656744, 0.05764088034629822, 0.07180497795343399, 0.10442552715539932, 0.0834520012140274, -0.12788979709148407, -0.0527537502348423, -0.005138861481100321, -0.03179052099585533, 0.056411392986774445, -0.02719329670071602, -0.060049012303352356, 0.04520193114876747, -0.0005730996490456164, 0.014972123317420483, -0.0072480663657188416, 0.03837545961141586, -0.01558403205126524, 0.017112644389271736, -0.005182644352316856, 0.06000746414065361, -0.053373951464891434, 0.10014718025922775, -0.008307665586471558, -0.10528409481048584, -0.02818240597844124, -0.04925091192126274, 0.035840827971696854, -0.029053783044219017, 0.03324200212955475, 0.012160390615463257, 0.0065323589369654655, 0.031182749196887016, -0.03034982457756996, -0.0069947135634720325, 0.07387833297252655, -0.007436912506818771, -0.0005267798551358283, -0.058636050671339035, -0.0422530397772789, -0.013301310129463673, -0.017759397625923157, 0.001361634349450469, 0.019102592021226883, 0.04905097559094429, 0.004744483157992363, -0.00212724762968719, 0.011120861396193504, 0.029906632378697395, 0.013996222987771034, 0.000032786028896225616, 0.05758306384086609, 0.0005107402103021741, -0.022983992472290993, 0.013362811878323555, -0.006609938107430935, -0.0219853688031435, -0.022614682093262672, 0.000048980393330566585, 0.048236701637506485, 0.042203981429338455, -0.014725814573466778, 0.01567724347114563, -0.020608244463801384, -0.028236744925379753, 0.010519788600504398, 0.023825718089938164, 0.047906119376420975, 0.023534182459115982, -0.042641423642635345, 0.017488716170191765, 0.019726820290088654, -0.00231477920897305, -0.01566268876194954, -0.01695689931511879, 0.03187727928161621, -0.02383526600897312, -0.006788922473788261, 0.019969554618000984, -0.01802217587828636, -0.014457971788942814, 0.026947705075144768, 0.053941357880830765, 0.02652566134929657, -0.09504794329404831, 0.01854216307401657, -0.005609580315649509, 0.00022994924802333117, -0.006858532316982746, -0.03902454674243927, 0.019145602360367775, -0.0003168283437844366, -0.02581634745001793, 0.024517275393009186, 0.028797229751944542, 0.021240876987576485, 0.002397582633420825, -0.010204339399933815, -0.010460799559950829, 0.0013857334852218628, -0.01612311601638794, 0.029082078486680984, 0.015326841734349728, 0.008690179325640202, -0.01970811001956463, -0.0028890189714729786, -0.00543387234210968, 0.02795024961233139, 0.022661710157990456, 0.011479162611067295, 0.029557744041085243, 0.0224593635648489, 0.026535119861364365, -0.021583786234259605, 0.011113177053630352, -0.027630750089883804, -0.007925882004201412, -0.012672475539147854, -0.02834111638367176, -0.0037029231898486614, 0.004600470419973135, -0.0071947453543543816, 0.009095950983464718, 0.005346424411982298, -0.03261346369981766, 0.024772604927420616, 0.04010584205389023, -0.0027002114802598953, 0.031765419989824295, 0.003173671429976821, -0.03994672745466232, -0.010692089796066284, 0.006949981674551964, -0.016946453601121902, -0.012178070843219757, 0.0012065699556842446, 0.03999989852309227, 0.061905380338430405, -0.015386255457997322, 0.02435920760035515, 0.028863994404673576, 0.029954157769680023, 0.00633253064006567, 0.005632381420582533, -0.03262441232800484, 0.0031265118159353733, -0.053526654839515686, -0.052952345460653305, 0.018448367714881897, 0.030248461291193962, -0.023875979706645012, 0.011125614866614342, -0.021981440484523773, 0.04899411275982857, -0.02777780219912529, 0.017861228436231613, 0.011983134783804417, 0.00426839105784893, -0.037025753408670425, -0.005380225367844105, -0.023561706766486168, -0.0346464067697525, 0.07966574281454086, 0.06359035521745682, -0.0018236488103866577, 0.008667168207466602, 0.02941189892590046, 0.017985431477427483, 0.018344299867749214, 0.0034417451824992895, -0.008747855201363564, -0.10609661042690277, 0.03370586037635803, -0.004666726104915142, 0.010078017599880695, -0.02692301943898201, -0.006967146880924702, -0.018253173679113388, -0.011490659788250923, -0.012123792432248592, 0.03656572476029396, 0.003082600189372897, -0.026446400210261345, -0.006428420078009367, -0.034191280603408813, -0.026501251384615898, -0.02913130447268486, 0.025815891101956367, 0.033783283084630966, -0.00044052652083337307, -0.05350423976778984, -0.02247210219502449, 0.01352986041456461, -0.03087465465068817, 0.012154619209468365, -0.009113757871091366, -0.013600535690784454, -0.03771446272730827, 0.029634743928909302, 0.051754266023635864, -0.021694742143154144, -0.03117416612803936, -0.01778068207204342, 0.011883041821420193, -0.006301872432231903, -0.004296003375202417, -0.03481360524892807, -0.018510255962610245, -0.015373926609754562, 0.0026014717295765877, 0.025012843310832977, -0.0319724977016449, 0.010518394410610199, -0.040110137313604355, -0.008440231904387474, -0.0016583141405135393, 0.00786677747964859, -0.007529594469815493, -0.0076365298591554165, 0.0228309016674757, -0.02621336281299591, -0.00029054537299089134, -0.015661340206861496, -0.018605753779411316, 0.02625776268541813, 0.009830456227064133, 0.04815874621272087, 0.004562727641314268, -0.0016081527573987842, 0.028091860935091972, -0.04171669855713844, 0.010346760973334312, -0.025439761579036713, -0.051241807639598846, 0.009845863096415997, 0.029196443036198616, -0.05950046330690384, 0.03836149349808693, 0.00704646110534668, -0.01161783467978239, -0.007452796213328838, 0.01281504612416029, -0.015171836130321026, -0.0015938103897497058, -0.02622818388044834, -0.027098311111330986, 0.024309245869517326, 0.009868115186691284, -0.03086930699646473, 0.024956462904810905, 0.02977384626865387, -0.0667097195982933, 0.038715410977602005, 0.012772382237017155, -0.007269807159900665, 0.02208922989666462, 0.0027948422357439995, -0.037802327424287796, -0.019192740321159363, 0.06122586131095886, 0.046568192541599274, 0.06574732065200806, -0.020839618518948555, -0.015459153801202774, -0.04588041454553604, -0.016595790162682533, 0.040783222764730453, -0.02177535369992256, 0.004163593053817749, 0.028851231560111046, 0.05095100402832031, 0.08031913638114929, -0.0354357473552227, -0.004834424704313278, -0.028318168595433235, -0.03040880709886551, 0.00867228303104639, -0.04015513136982918, -0.011134614236652851, -0.013328833505511284, 0.028901072219014168, 0.0003419698041398078, -0.0040671187452971935, -0.0688752755522728, 0.005655357614159584, 0.06902691721916199, -0.01469199825078249, 0.002245456911623478, 0.004597221035510302, 0.006496068090200424, -0.02024962566792965, 0.0227221492677927, 0.031862255185842514, -0.036302223801612854, 0.012431338429450989, -0.04538871347904205, -0.035545025020837784, 0.021739855408668518, -0.015315600670874119, -0.02356327697634697, -0.02000538632273674, -0.0025278571993112564, 0.009970777668058872, 0.007447610143572092, -0.017888179048895836, -0.011031298898160458, -0.011769125238060951, 0.008311152458190918, 0.04109807312488556, -0.06862844526767731, 0.0066746617667376995, -0.024971099570393562, 0.008370405063033104, 0.03393630310893059, 0.021123792976140976, -0.001420651446096599, -0.007875746116042137, 0.03282894939184189, -0.06854257732629776, 0.030200770124793053, -0.00427128653973341, 0.0558180958032608, 0.05572252720594406, -0.010588888078927994, -0.012489722110331059, 0.009399901144206524, -0.03021080605685711, 0.02023499831557274, -0.05204056575894356, 0.021870343014597893, 0.08209817856550217, 0.008246853947639465, 0.019595278427004814, -0.002201859373599291, -0.014983310364186764, 0.033526696264743805, 0.03160029649734497, -0.020585106685757637, 0.012428298592567444, 0.014651238918304443, -0.008844410069286823, -0.013010414317250252, 0.017395252361893654, 0.03183739632368088, 0.00003020825533894822, -0.05693703144788742, 0.02118089608848095, -0.007671460043638945, -0.00028762666624970734, 0.01654088869690895, -0.04942333325743675, -0.02092607133090496, 0.03995918482542038, -0.010202992707490921, 0.01621328294277191, 0.05512336269021034, 0.01946137472987175, 0.02707723341882229, -0.04642049968242645, 0.006718003191053867, 0.011535625904798508, 0.0555582270026207, -0.026620693504810333, 0.04844541475176811, 0.02299669198691845, 0.01433906052261591, 0.062087368220090866, 0.001637624460272491, 0.014258679002523422, 0.010311387479305267, 0.0766439214348793, 0.0174515750259161, 0.01733230985701084, 0.020933810621500015, 0.0033941278234124184, 0.0034454024862498045, -0.03560775890946388, 0.007066984660923481, -0.0030586784705519676, 0.02480456978082657, 0.03284253552556038, -0.05266176909208298, 0.009025180712342262, -0.03361797705292702, 0.05292856693267822, 0.043404076248407364, -0.0025934509467333555, 0.013111934997141361, 0.03298734873533249, 0.040404971688985825, -0.017310168594121933, -0.025409193709492683, 0.05382645130157471, 0.028509974479675293, -0.007341946940869093, 0.043481264263391495, 0.026133906096220016, -0.021417155861854553, 0.034015197306871414, 0.006958510726690292, 0.0025633841287344694, -0.013919921591877937, -0.025291822850704193, -0.02547506056725979, 0.006701592355966568, -0.024794282391667366, -0.012657852843403816, 0.003729562507942319, -0.061407823115587234, -0.00244469684548676, -0.0313839353621006, 0.042529720813035965, -0.0040040831081569195, -0.019904080778360367, 0.01260537188500166, 0.025256922468543053, -0.018220745027065277, -0.007224875967949629, 0.008352852426469326, 0.0372270867228508, -0.015795551240444183, 0.04772234335541725, -0.006867268122732639, -0.037479642778635025, -0.0029560341499745846, 0.004067412577569485, 0.0075785815715789795, 0.04380683973431587, 0.004303104244172573, -0.04280941188335419, -0.011480548419058323, -0.01487596146762371, 0.008207886479794979, 0.013810270465910435, 0.006386437453329563, 0.048784710466861725, 0.016875578090548515, 0.03450080379843712, 0.002887650625780225, -0.03070726990699768, -0.005102567374706268, -0.01966850273311138, 0.028025466948747635, -0.017552638426423073, 0.030346477404236794, 0.005454191938042641, 0.008365119807422161, 0.0006273308536037803, -0.054783400148153305, -0.007155911065638065, 0.0032683475874364376, -0.04987138882279396, 0.03913181275129318, -0.030163157731294632, -0.02351519837975502, 0.04010524973273277, 0.004650341346859932, 0.0006212710868567228, -0.008905872702598572, 0.012456617318093777, 0.030420072376728058, -0.022928962484002113, -0.0016451916890218854, 0.04496437683701515, 0.09079568833112717, 0.022169506177306175, 0.02104686200618744, 0.0018163392087444663, 0.04796428605914116, -0.025715619325637817, -0.013664590194821358, 0.07258075475692749, -0.009865785017609596, 0.023442767560482025, -0.041703738272190094, -0.06064343824982643, -0.03888273984193802, -0.03064746968448162, -0.02349596470594406, 0.02253555878996849, -0.04882963374257088, -0.023787979036569595, 0.007653235457837582, -0.02024647779762745, -0.03457736223936081, -0.06266291439533234, 0.03506670892238617, 0.04032434523105621, 0.003854048438370228, 0.03470652922987938, -0.05433518439531326, 0.04054032638669014, -0.023804308846592903, 0.020685115829110146, 0.05561910942196846, -0.005761539097875357, 0.011347513645887375, -0.03439434617757797, 0.00014033405750524253, -0.020492708310484886, -0.0036874853540211916, 0.028861114755272865, 0.015135685913264751, 0.012282040901482105, -0.019314948469400406, 0.0030568151269108057, 0.04981446638703346, 0.003861422650516033, 0.003389459801837802, -0.047077812254428864, -0.021473964676260948, 0.004756884649395943, 0.06111077219247818, -0.05047904700040817, 0.03283493593335152, -0.03523289039731026, -0.005811132490634918, 0.007045158185064793, -0.027012746781110764, -0.004826407879590988, -0.008848271332681179, 0.003126435214653611, 0.009381622076034546, -0.014061614871025085, -0.04745461419224739, -0.034125447273254395, -0.008486378937959671, 0.02646958827972412, -0.014924679882824421, -0.024203313514590263, 0.0028839341830462217, 0.003800102276727557, -0.04136819392442703, 0.002521792659536004, 0.01776883937418461, 0.003289152169600129, -0.018301427364349365, -0.03577719256281853, -0.016406316310167313, 0.04138491302728653, 0.018651921302080154, -0.01526774000376463, -0.04252365604043007, 0.014406721107661724 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
Creating a Hugging Face Space? 🤷🏼 One obvious next step for this kind of project is to create a Hugging Face Space demo. This is what I've done for other models. It was a fairly simple process to get a Gradio app setup from the point we got to here. Here is a screenshot of this app: However, I'm a little bit vary about making this public straightaway. Looking at the model card for the CLIP model we can look at the primary intended uses: >
[ 0.02432393841445446, -0.03849039971828461, 0.06558109819889069, 0.0033303946256637573, 0.08337625861167908, 0.05595147982239723, 0.025348452851176262, 0.0023827264085412025, -0.08126241713762283, -0.06628267467021942, -0.09942536056041718, 0.012279773131012917, 0.004530765116214752, 0.06692833453416824, 0.03197755292057991, -0.011676729656755924, 0.02194947563111782, -0.024251163005828857, -0.006017856765538454, -0.010119466111063957, -0.021188883110880852, -0.05661654472351074, 0.028167618438601494, 0.02611021138727665, -0.0281472597271204, -0.07618129253387451, 0.03802927955985069, 0.02843771129846573, 0.025288905948400497, 0.058731187134981155, -0.08780839294195175, -0.04250532016158104, 0.0022416510619223118, -0.092302605509758, 0.0349324494600296, 0.044685810804367065, -0.10123012214899063, 0.06890752166509628, 0.024263260886073112, -0.029818642884492874, 0.025108734145760536, -0.0043329219333827496, -0.03907405957579613, -0.00930973794311285, -0.012854713946580887, -0.048722073435783386, -0.20511166751384735, 0.06057928130030632, -0.05055951699614525, -0.0003568729152902961, -0.04911439120769501, 0.07948966324329376, -0.046191561967134476, -0.017715968191623688, -0.02524692937731743, -0.0042091356590390205, 0.021664712578058243, -0.06534087657928467, 0.03389974310994148, -0.018534960225224495, 0.017965057864785194, 0.009851901791989803, 0.006520858034491539, 0.04246824234724045, -0.00593524007126689, 0.0008155505056492984, 0.007764716632664204, 0.02081490121781826, -0.04706922546029091, 0.026210250332951546, 0.028840025886893272, 0.0035980669781565666, 0.001482896157540381, -0.021334124729037285, 0.007034885231405497, -0.029014436528086662, 0.008582942187786102, 0.033182043582201004, 0.0659637600183487, 0.0690988227725029, 0.03940344974398613, -0.017836038023233414, 0.0720558688044548, 0.025167295709252357, 0.014453605748713017, 0.0033476753160357475, -0.02740933932363987, -0.041528139263391495, -0.03608090430498123, 0.08721610903739929, -0.09030907601118088, -0.12470336258411407, -0.016645563766360283, 0.023329976946115494, 0.08997058868408203, -0.007025650702416897, -0.009090685285627842, 0.015629181638360023, 0.001381588983349502, 0.024644412100315094, -0.010159348137676716, -0.05717334896326065, -0.029093123972415924, -0.06983557343482971, 0.00397789990529418, -0.004002908710390329, -0.01878936216235161, -0.0538770891726017, 0.002532181330025196, 0.035976387560367584, 0.017667407169938087, -0.044793203473091125, 0.08207274973392487, 0.0668780654668808, -0.10058977454900742, 0.04608713090419769, -0.011927925981581211, -0.010793057270348072, -0.01791861653327942, 0.030817171558737755, -0.0007480985950678587, 0.08435463905334473, 0.014283854514360428, 0.04928947240114212, -0.003499445505440235, 0.05224455147981644, 0.015308583155274391, -0.0223789531737566, -0.007731392048299313, -0.056591831147670746, -0.013483722694218159, 0.01192532666027546, 0.013702732510864735, -0.0043082027696073055, 0.022079791873693466, -0.10381940007209778, 0.019313540309667587, -0.07242164015769958, 0.0522010400891304, -0.03507179394364357, 0.025676170364022255, 0.0614401176571846, 0.02257063426077366, 0.021152282133698463, 0.03802868723869324, -0.08868252485990524, -0.02266499027609825, 0.06872803717851639, -0.030483657494187355, -0.0026462532114237547, -0.03981328755617142, 0.02344990149140358, 0.013646496459841728, -0.07584425061941147, -0.026280509307980537, 0.042602840811014175, -0.05044315382838249, -0.020282795652747154, -0.052278947085142136, 0.010781901888549328, 0.019153457134962082, 0.004928699694573879, -0.05976647883653641, -0.013021960854530334, 0.06163312867283821, 0.044400427490472794, 0.01763826236128807, 0.014273406937718391, 0.006289712153375149, -0.010071841068565845, -0.03126901388168335, -0.025937044993042946, 0.004451110027730465, -0.017711615189909935, -0.06814543157815933, 0.03665052354335785, 0.09128163009881973, 0.06461762636899948, -0.014502939768135548, 0.006572824902832508, -0.03162168338894844, 0.011707721278071404, 0.000179484675754793, 0.037131741642951965, 0.056533098220825195, -0.059005364775657654, -0.022353844717144966, 0.019770581275224686, -0.015175958164036274, -0.041088882833719254, -0.017668796703219414, -0.03935670480132103, 0.055515483021736145, -0.017031781375408173, 0.028008397668600082, -0.05191940814256668, -0.03770321607589722, 0.055803943425416946, 0.045316748321056366, 0.10364821553230286, 0.06703591346740723, -0.012358427047729492, 0.033175721764564514, -0.004331465810537338, -0.03270363062620163, -0.002936993259936571, 0.02256222814321518, -0.019181005656719208, 0.0075339642353355885, 0.021363038569688797, 0.03954299911856651, -0.10689526796340942, 0.11100991070270538, -0.05837126821279526, 0.014521758072078228, -0.021428460255265236, 0.008594594895839691, -0.0032473597675561905, -0.0593167282640934, -0.012417620979249477, 0.13005174696445465, 0.004971590358763933, -0.021824581548571587, 0.02145366556942463, -0.010102732107043266, 0.07443567365407944, 0.0650678500533104, 0.06433191150426865, 0.1105877235531807, -0.08506164699792862, -0.008595708757638931, -0.01722121797502041, -0.05068599060177803, 0.08622486144304276, -0.041357364505529404, -0.038108740001916885, 0.12106797099113464, -0.035422973334789276, 0.06679227203130722, -0.0810854434967041, -0.032959356904029846, -0.06169035658240318, -0.0010419234167784452, -0.03251758962869644, -0.004214411601424217, -0.04187338054180145, 0.05890188738703728, 0.00710113113746047, -0.027615761384367943, -0.01781834103167057, -0.06024178862571716, 0.04519490897655487, 0.0016995854675769806, 0.024998055770993233, 0.06391514837741852, 0.014480888843536377, 0.030347540974617004, -0.04494604468345642, -0.050562724471092224, 0.029137376695871353, 0.02312472090125084, -0.027453428134322166, 0.011558380909264088, -0.06835812330245972, -0.02593224309384823, -0.022285353392362595, 0.0022696347441524267, 0.028747471049427986, 0.015416262671351433, 0.032936956733465195, 0.015465490520000458, -0.011066879145801067, 0.0023294463753700256, -0.013254733756184578, 0.001068316400051117, 0.004744975361973047, 0.017509164288640022, -0.009487587958574295, 0.0032218375708907843, -0.030597837641835213, -0.02647450380027294, -0.028313055634498596, 0.008499679155647755, 0.05174192413687706, 0.049996405839920044, 0.021207384765148163, 0.015876060351729393, -0.0022093516308814287, -0.05006789043545723, -0.001961551606655121, 0.034828055649995804, 0.040253374725580215, 0.009670345112681389, -0.011273631826043129, 0.017855048179626465, -0.017741017043590546, 0.043899692595005035, -0.026479022577404976, -0.04633323475718498, 0.02845136821269989, 0.008079932071268559, 0.04905065521597862, -0.023283926770091057, -0.02814055234193802, -0.038948338478803635, 0.022683165967464447, 0.04610728099942207, -0.003366011893376708, -0.1136033907532692, -0.03396380692720413, -0.015895256772637367, 0.037473902106285095, -0.02475646138191223, 0.009744587354362011, 0.022905150428414345, -0.007646442856639624, -0.006161949597299099, 0.015542121604084969, -0.03178270533680916, -0.025682661682367325, -0.002332105999812484, 0.01728261075913906, -0.007155637256801128, 0.002057066885754466, -0.01348613016307354, 0.009340006858110428, 0.03471047431230545, -0.0069168442860245705, -0.04248296841979027, 0.04932055622339249, 0.016924330964684486, -0.01383607555180788, -0.013822355307638645, -0.02249152585864067, 0.028823688626289368, -0.005507782567292452, 0.03718137741088867, -0.05768474191427231, -0.014827326871454716, -0.017302652820944786, -0.04824983701109886, -0.0038086208514869213, -0.03690424561500549, -0.01821162737905979, -0.03803606331348419, -0.007966447621583939, 0.035889219492673874, 0.00328644341789186, 0.03159841150045395, 0.03302239254117012, 0.01542440615594387, 0.006392447277903557, 0.005207976792007685, -0.011742886155843735, 0.003492433577775955, 0.02661241590976715, 0.05095212906599045, -0.036664027720689774, 0.029099009931087494, 0.05974743515253067, 0.02130047418177128, 0.08811212331056595, -0.00031003181356936693, 0.0036640376783907413, 0.037574756890535355, 0.057939354330301285, 0.013409947976469994, -0.03519970178604126, -0.05524182692170143, 0.005193736869841814, -0.02630525454878807, -0.008380684070289135, -0.0211565550416708, 0.04594357684254646, 0.04347063601016998, 0.04401201009750366, -0.0012700657825917006, 0.030595963820815086, -0.00436660461127758, -0.024564063176512718, -0.033088695257902145, 0.017599649727344513, -0.017562367022037506, 0.01317171473056078, -0.004795073065906763, -0.028427232056856155, 0.0784749686717987, -0.0026822455693036318, -0.011449586600065231, -0.01267939992249012, -0.006411371752619743, -0.024782875552773476, -0.008130685426294804, 0.0018578888848423958, 0.013545638881623745, -0.03010714426636696, -0.0022109118290245533, 0.032463762909173965, 0.014461690559983253, -0.046878278255462646, 0.0038994522765278816, -0.019747313112020493, 0.014545464888215065, -0.025437401607632637, 0.029189398512244225, 0.014368918724358082, 0.04905851557850838, -0.025136416777968407, 0.019199134781956673, -0.048011817038059235, -0.009051134809851646, 0.007250695023685694, 0.0051615177653729916, 0.023378882557153702, -0.04918527230620384, -0.05041411519050598, 0.016777947545051575, 0.011451411060988903, 0.003558108350262046, -0.012255238369107246, -0.016688339412212372, -0.018835216760635376, 0.01675952970981598, 0.016045810654759407, -0.028286214917898178, -0.032691922038793564, -0.02179086022078991, 0.011273149400949478, -0.01901639625430107, 0.0080026900395751, 0.006215352099388838, -0.02399572916328907, 0.008587800897657871, 0.01921972446143627, 0.020762702450156212, -0.011428005062043667, -0.014307267963886261, -0.021308474242687225, -0.008272450417280197, -0.023936232551932335, 0.03780767321586609, 0.006482910830527544, 0.012682276777923107, 0.02666768617928028, -0.03712182492017746, 0.00864341389387846, 0.0060364180244505405, -0.04630574956536293, -0.000826763513032347, -0.01603994518518448, 0.029396647587418556, -0.03807954117655754, 0.057760581374168396, 0.004495472647249699, -0.040887560695409775, -0.013829429633915424, -0.018109818920493126, 0.03173976391553879, 0.011416785418987274, -0.017811909317970276, -0.04357406869530678, 0.02390366978943348, 0.021167822182178497, -0.021647943183779716, 0.002895476995036006, 0.030324265360832214, 0.0018011342035606503, 0.03984321653842926, 0.013780812732875347, -0.004400848876684904, -0.050024840980768204, 0.06125018373131752, -0.004919030703604221, 0.006616655737161636, -0.037108056247234344, -0.04742662236094475, 0.01639283448457718, 0.02134266123175621, -0.044636309146881104, -0.002614908153191209, 0.011126738041639328, -0.015062876977026463, -0.01831112615764141, 0.022887956351041794, 0.04338580369949341, 0.00104794860817492, 0.006402724422514439, 0.032314661890268326, -0.02135695517063141, 0.0035086185671389103, 0.0235567856580019, -0.02079176902770996, 0.012439119629561901, 0.015999937430024147, 0.03742936626076698, 0.061524078249931335, 0.011646436527371407, 0.01332496665418148, -0.012020005844533443, -0.006097196135669947, 0.02049577236175537, -0.0447443351149559, 0.020589234307408333, -0.030053136870265007, -0.027433792129158974, 0.00019963874365203083, -0.011214042082428932, -0.020955385640263557, -0.0011425730772316456, 0.03369762748479843, -0.03607110679149628, 0.003898364957422018, 0.028873195871710777, 0.03031543269753456, 0.015338820405304432, -0.0066543580032885075, 0.011610793881118298, -0.036107443273067474, -0.002366966800764203, -0.013653985224664211, -0.0007135373307392001, -0.03791705146431923, -0.019513659179210663, -0.018599679693579674, -0.03475281596183777, -0.02917144075036049, -0.021052561700344086, 0.04480556398630142, -0.007008692249655724, -0.022213168442249298, -0.021456081420183182, -0.004402268677949905, 0.01603168621659279, 0.01642639935016632, 0.015752555802464485, 0.003148785326629877, -0.05549000948667526, 0.036348290741443634, 0.011787732131779194, -0.01886376552283764, 0.043427515774965286, 0.02295777015388012, 0.0202160831540823, 0.034647904336452484, -0.0480426624417305, 0.03673013672232628, 0.006840729620307684, 0.007546133361756802, 0.039412714540958405, -0.010167531669139862, -0.03610529005527496, -0.0007764478214085102, -0.06299453228712082, -0.030727360397577286, 0.0976564958691597, -0.010618439875543118, -0.006529510021209717, -0.003990804776549339, 0.05396713688969612, -0.002799664856866002, 0.010023518465459347, -0.0019899969920516014, 0.013736111111938953, 0.03509748727083206, 0.014930718578398228, -0.002863872330635786, 0.004410268738865852, -0.0030312889721244574, 0.04842120409011841, -0.05346054211258888, 0.007492720615118742, 0.019047241657972336, -0.014544677920639515, 0.03376522660255432, -0.01409448403865099, -0.019577696919441223, -0.00859257485717535, 0.010677807964384556, 0.002387590939179063, 0.05559737607836723, 0.05004825070500374, 0.008315528742969036, -0.009363219141960144, -0.014733209274709225, 0.039792101830244064, 0.052051614969968796, -0.005528916604816914, 0.023458566516637802, 0.009807301685214043, 0.05042911320924759, 0.008764440193772316, 0.021704096347093582, -0.0001915572938742116, 0.043075259774923325, 0.050007205456495285, 0.018901333212852478, 0.05424914136528969, 0.03650388866662979, -0.016763202846050262, -0.012430371716618538, -0.02568945102393627, -0.010474858805537224, -0.017716065049171448, 0.02387864887714386, -0.0011456817155703902, -0.03409314528107643, 0.007568564731627703, -0.01522118877619505, 0.0740639865398407, 0.016057729721069336, 0.0035878405906260014, -0.003594836452975869, 0.018871203064918518, 0.02634868584573269, 0.013582105748355389, -0.004493612330406904, 0.012173225171864033, 0.021902943029999733, 0.016006870195269585, 0.061630163341760635, 0.0154297836124897, -0.004648713860660791, 0.011527430266141891, 0.008838672190904617, 0.024007054045796394, -0.007266324013471603, -0.006450544577091932, -0.021812889724969864, -0.009510701522231102, -0.009817204438149929, 0.013565683737397194, -0.022583503276109695, -0.012469887733459473, -0.009501926600933075, -0.01960889622569084, 0.007740740664303303, 0.003958059474825859, 0.012466234154999256, 0.01427711732685566, -0.0050231353379786015, -0.011112398467957973, -0.016978725790977478, -0.0020077861845493317, -0.00965705793350935, 0.01628444902598858, -0.008402564562857151, -0.011571413837373257, -0.03615804389119148, -0.00561568234115839, -0.016260845586657524, -0.01886606216430664, -0.018798159435391426, -0.021000497043132782, -0.03703894466161728, -0.008219456300139427, 0.06082967668771744, -0.019636299461126328, 0.028115900233387947, 0.01666518673300743, 0.0004345497000031173, -0.05376562476158142, 0.054874539375305176, -0.0432429276406765, -0.005274723283946514, -0.00773800490424037, -0.021001745015382767, 0.00950778927654028, -0.017321594059467316, 0.009214136749505997, -0.006601895671337843, 0.03438601642847061, -0.043040357530117035, -0.03284204751253128, -0.005084962584078312, -0.014179653488099575, 0.030030127614736557, 0.036805760115385056, 0.002577519975602627, -0.016612131148576736, 0.02616853266954422, -0.01608465053141117, 0.010136852040886879, -0.00938107818365097, 0.020473096519708633, 0.04548339545726776, -0.023405633866786957, -0.04962346330285072, 0.01461692713201046, 0.06897280365228653, 0.02617030218243599, 0.033097755163908005, 0.03305429592728615, 0.03309217095375061, -0.014197524636983871, -0.017450736835598946, 0.029381219297647476, 0.017684321850538254, -0.011022686958312988, -0.025354575365781784, -0.03875712305307388, 0.01127667911350727, -0.03654484450817108, 0.02725071832537651, 0.013469903729856014, -0.04009944945573807, -0.02114976942539215, -0.023351354524493217, 0.014388364739716053, -0.03817586973309517, 0.03857571631669998, 0.012811184860765934, 0.02187504991889, 0.0395146906375885, -0.02370935119688511, 0.01302989199757576, 0.002144584199413657, 0.033743470907211304, 0.008067461661994457, 0.034806977957487106, -0.020398862659931183, -0.02031818777322769, -0.05302988737821579, 0.0009819995611906052, 0.011661229655146599, -0.06544262915849686, 0.02424496039748192, 0.035674214363098145, -0.049468737095594406, -0.014084545895457268, 0.0018830535700544715, 0.024220865219831467, 0.025755826383829117, 0.044636767357587814, -0.013645499013364315, -0.03540157899260521, -0.01813189871609211, 0.07576389610767365, -0.019631126895546913, 0.023079073056578636, -0.03259825333952904, 0.02459232695400715, 0.015269343741238117, -0.0016478907782584429, 0.03389435634016991, -0.00029542212723754346, -0.025686882436275482, 0.025591475889086723, 0.007179280277341604, -0.07171842455863953, -0.02204413153231144, -0.020205503329634666, 0.054938796907663345, -0.016361454501748085, -0.036439646035432816, 0.010788410902023315, 0.022183962166309357, -0.00473006721585989, -0.012551240622997284, -0.015667881816625595, 0.013593577779829502, 0.028854062780737877, 0.015366587787866592, -0.04261144995689392, 0.05064384639263153, -0.009183915331959724, -0.026041140779852867, -0.03727155923843384, 0.01614561676979065 ]
Image search with 🤗 datasets
davanstrien
March 16, 2022
image-search-datasets
cv
https://huggingface.co/blog/image-search-datasets
Switching machines At this point, we've created a dataset and moved it to the Hub. This means it is possible to pick up the work/dataset elsewhere. In this particular example, having access to a GPU is important. Using the Hub as a way to pass around our data we could start on a laptop and pick up the work on Google Colab. If we move to a new machine, we may need to login again. Once we've done this we can load our dataset python from datasets import load_dataset dataset = load_dataset("davanstrien/embellishments-sample", use_auth_token=True)
[ 0.0395456962287426, -0.0038682681042701006, -0.04027899354696274, 0.009137987159192562, 0.0959293395280838, 0.012483909726142883, -0.03944937884807587, 0.06993143260478973, -0.027613267302513123, -0.11723613739013672, -0.022067323327064514, 0.016708560287952423, 0.0004308161442168057, 0.02889241836965084, 0.014901208691298962, -0.06661971658468246, 0.03725089877843857, -0.08167268335819244, 0.011217081919312477, 0.03595297783613205, 0.03590298071503639, -0.05885986238718033, 0.0502646304666996, 0.048588987439870834, -0.04319816827774048, -0.06171426177024841, 0.042600762099027634, 0.023615334182977676, -0.0419144369661808, -0.002172100357711315, -0.11672258377075195, 0.04819688946008682, 0.02092517912387848, -0.010323207825422287, 0.029229022562503815, 0.03288457542657852, -0.04697209224104881, 0.050994712859392166, 0.04262756183743477, -0.09371443092823029, -0.02709072269499302, -0.011218246072530746, -0.08230642229318619, 0.07985210418701172, -0.044168297201395035, 0.014959776774048805, -0.1475486010313034, 0.07748526334762573, -0.013989678584039211, 0.0025581582449376583, -0.1180684044957161, 0.04452713206410408, 0.061247777193784714, -0.03957832232117653, 0.03267330303788185, 0.0037793798837810755, -0.020385826006531715, -0.055557772517204285, 0.01950162462890148, 0.027036065235733986, 0.1156713217496872, 0.025206860154867172, -0.025840898975729942, 0.053544800728559494, -0.010599209927022457, -0.016821902245283127, 0.04968962445855141, -0.011374383233487606, -0.03142990544438362, -0.09953265637159348, 0.019338035956025124, -0.016367750242352486, -0.02860836125910282, -0.027443302795290947, -0.03482630103826523, -0.045505817979574203, 0.01758117601275444, 0.030680591240525246, 0.0878080502152443, -0.005379798356443644, 0.019656039774417877, -0.00917546171694994, 0.04505680128931999, 0.023649385198950768, 0.07453518360853195, -0.025838904082775116, -0.021412458270788193, -0.03829571604728699, 0.05030044913291931, 0.034883834421634674, -0.05956576392054558, -0.06518466770648956, -0.0030646431259810925, 0.06252999603748322, 0.06562906503677368, -0.031223591417074203, 0.028966236859560013, 0.055093467235565186, 0.01667012646794319, -0.021006574854254723, -0.02051565796136856, -0.07071470469236374, 0.0022120806388556957, -0.036648135632276535, 0.03371833264827728, 0.029550857841968536, -0.02128761261701584, -0.0525602251291275, -0.023286346346139908, -0.026496808975934982, -0.02098441682755947, 0.00892622023820877, -0.07886020094156265, 0.07252614200115204, -0.015430411323904991, 0.016412783414125443, 0.07510530203580856, -0.014744414947926998, -0.035653673112392426, 0.013070416636765003, 0.0726764053106308, 0.04880017787218094, -0.024211961776018143, 0.026444125920534134, 0.0056698680855333805, 0.04578780010342598, -0.013356397859752178, 0.031875837594270706, -0.004709348082542419, -0.05480637028813362, 0.04581350460648537, 0.010060783475637436, 0.025266969576478004, -0.01231617946177721, -0.02450007013976574, -0.05375811457633972, -0.04049835726618767, 0.028794756159186363, 0.04858069494366646, 0.03208162635564804, 0.016523946076631546, 0.04547205939888954, 0.018581733107566833, 0.07996990531682968, 0.032050106674432755, 0.0038455836474895477, -0.0625268891453743, 0.05719016492366791, -0.04611077904701233, 0.0059937951155006886, -0.09161752462387085, 0.08009324222803116, -0.0353352352976799, -0.015295428223907948, 0.0010724123567342758, 0.016687724739313126, 0.026037035509943962, 0.022067369893193245, -0.08062101900577545, -0.009954079054296017, -0.01638706400990486, 0.05530022457242012, -0.03264103829860687, 0.03148296847939491, 0.047823503613471985, 0.01705086976289749, 0.03880036994814873, -0.026774272322654724, 0.02042185515165329, -0.039586443454027176, -0.035342827439308167, -0.07513796538114548, 0.05811528116464615, -0.026963798329234123, 0.02178868092596531, 0.07221593707799911, 0.014810211956501007, 0.020822864025831223, -0.00392719404771924, 0.004279442597180605, -0.04896584525704384, 0.03894155099987984, -0.03922266513109207, 0.03347115218639374, 0.04060029238462448, -0.012737711891531944, 0.010917517356574535, -0.04692007973790169, 0.021473877131938934, 0.021098533645272255, -0.0607747957110405, -0.04619569703936577, 0.08081531524658203, -0.04539349675178528, -0.012083436362445354, 0.0019457988673821092, -0.012655560858547688, 0.09783865511417389, 0.04446902498602867, 0.042848844081163406, 0.01392205897718668, 0.026681741699576378, -0.029952120035886765, -0.07824335992336273, 0.021656541153788567, 0.020228279754519463, 0.0053756264969706535, -0.1404080092906952, 0.051211245357990265, 0.02603619545698166, -0.03778821974992752, -0.09536759555339813, 0.03204162418842316, -0.06333263963460922, -0.0060274978168308735, 0.01743733510375023, -0.03676430508494377, -0.006506320554763079, 0.03945467248558998, -0.04970565438270569, 0.16037338972091675, 0.025054261088371277, 0.10733439028263092, 0.011819631792604923, -0.02070671133697033, 0.07608544081449509, 0.07667335867881775, 0.01989021897315979, 0.052209775894880295, -0.06091173738241196, -0.13110680878162384, -0.011094347573816776, -0.009892414323985577, 0.01788286305963993, 0.018730459734797478, 0.004943625535815954, 0.01616046205163002, 0.0010796377900987864, -0.003819151781499386, -0.02721470408141613, 0.012491217814385891, -0.009772010147571564, 0.002893177093937993, -0.006117894314229488, -0.02730550989508629, -0.012622473761439323, 0.06142132729291916, 0.006080118473619223, -0.01745353266596794, -0.06157761812210083, -0.013115431182086468, -0.07257498055696487, -0.014280132949352264, 0.021032005548477173, 0.011339657008647919, 0.0400080531835556, -0.01938125118613243, -0.007194153033196926, -0.015797602012753487, 0.06075189262628555, -0.03834230452775955, -0.04134518653154373, -0.04581946134567261, -0.03249068185687065, 0.021907910704612732, -0.012397140264511108, -0.00025663626729510725, -0.03394433110952377, 0.0468292236328125, -0.034656211733818054, 0.007313666865229607, -0.06632186472415924, 0.000831525307148695, 0.029432043433189392, 0.01001635193824768, 0.04035182297229767, -0.0014783097431063652, -0.03367660194635391, -0.015082979574799538, -0.01077615562826395, 0.0436241589486599, -0.07345888018608093, 0.012676344253122807, 0.01204349473118782, 0.012138079851865768, -0.0005683644558303058, 0.01149717252701521, -0.0040823002345860004, 0.011814339086413383, 0.009908515959978104, 0.014763982966542244, -0.01091121044009924, -0.025394771248102188, -0.007593472488224506, -0.01746559701859951, -0.026544898748397827, 0.024196289479732513, 0.007073238957673311, -0.018471932038664818, 0.013485251925885677, -0.015366104431450367, 0.009005045518279076, 0.013559740036725998, -0.013972103595733643, -0.011917524971067905, 0.02785155549645424, 0.02034890651702881, -0.01727379858493805, -0.1060435026884079, -0.00595180643722415, 0.005894158501178026, 0.04354469105601311, -0.027213627472519875, -0.05305195599794388, 0.04660782590508461, 0.00004867069219471887, -0.0014220105949789286, -0.010919281281530857, 0.00828100461512804, 0.005488979630172253, -0.026090674102306366, -0.014569505117833614, 0.019136503338813782, 0.027495907619595528, 0.03746629133820534, -0.013964046724140644, 0.06201145797967911, -0.023201562464237213, -0.058072201907634735, 0.012560664676129818, -0.022878997027873993, -0.004713714588433504, -0.018002301454544067, 0.02274082414805889, 0.03310446813702583, 0.012990906834602356, 0.007963877171278, -0.008898158557713032, -0.008161908015608788, -0.05166690796613693, -0.028514791280031204, 0.0032905477564781904, 0.014112173579633236, -0.014872821047902107, -0.006144391838461161, -0.01653205417096615, 0.017576511949300766, 0.023280823603272438, 0.00639332877472043, -0.007054727058857679, 0.0276096910238266, 0.00036902070860378444, 0.022878721356391907, 0.01231278758496046, -0.01097138226032257, 0.008611368015408516, 0.0359182171523571, -0.017175523564219475, -0.0034451524261385202, -0.017220254987478256, -0.01266728900372982, 0.05705026537179947, -0.03108694963157177, 0.0017078882083296776, 0.019273601472377777, 0.06701131910085678, 0.011731361038982868, -0.04450279101729393, -0.0375249870121479, 0.009358254261314869, 0.020160192623734474, -0.06724665313959122, -0.05290915071964264, 0.02160719409584999, -0.00615093344822526, 0.020235735923051834, -0.02421003207564354, 0.013408872298896313, -0.023932747542858124, 0.01650623045861721, 0.03924001008272171, 0.010418077930808067, 0.027735043317079544, -0.014408394694328308, -0.0024087545461952686, -0.015396964736282825, 0.06919028609991074, 0.07610450685024261, 0.02393150143325329, -0.020710093900561333, -0.007073159329593182, -0.03407050296664238, -0.010818272829055786, 0.016151446849107742, -0.02900400198996067, -0.0021429809276014566, -0.01845599338412285, 0.009361512027680874, -0.0010616964427754283, -0.043660178780555725, 0.021468723192811012, -0.026612402871251106, 0.010889674536883831, -0.0025115173775702715, 0.04133722558617592, -0.017896149307489395, 0.0050355433486402035, 0.029971102252602577, -0.038982659578323364, -0.02611921727657318, -0.03750041499733925, 0.0002030343166552484, 0.010383155196905136, 0.0376507006585598, -0.03335588797926903, -0.004834766965359449, 0.001501600374467671, -0.016866756603121758, 0.016866864636540413, 0.01349788811057806, 0.012174608185887337, -0.021435236558318138, 0.009646392427384853, 0.06013503670692444, 0.02949271909892559, -0.05243057757616043, -0.018833264708518982, 0.017407996580004692, -0.017054110765457153, -0.0072412313893437386, -0.03589369356632233, -0.006857462227344513, -0.00925333984196186, -0.017883997410535812, 0.03552541881799698, -0.02249794453382492, 0.002210607286542654, -0.01341270375996828, 0.004091345705091953, -0.024368509650230408, -0.021940195932984352, 0.011329500935971737, -0.011394395492970943, -0.0214067455381155, 0.021275417879223824, 0.033583324402570724, -0.010090657509863377, -0.01802755706012249, -0.014142332598567009, -0.03505173698067665, 0.04665711149573326, -0.039784934371709824, 0.056413110345602036, -0.008999044075608253, -0.05133640021085739, -0.005270798224955797, -0.04144136980175972, -0.023777376860380173, 0.016112495213747025, 0.022233996540308, -0.03547734022140503, 0.033002715557813644, 0.02051697112619877, -0.005587131716310978, 0.020450662821531296, -0.01775098405778408, -0.009063522331416607, 0.03272661566734314, -0.03164304792881012, -0.037386804819107056, 0.0062250979244709015, 0.017890648916363716, -0.018908865749835968, -0.003957585897296667, 0.012061084620654583, -0.03889763727784157, 0.013353765942156315, 0.03338456526398659, -0.01701679266989231, 0.01664636842906475, -0.0013646095758304, -0.022957928478717804, 0.04580437019467354, 0.051861245185136795, 0.0103926882147789, 0.018397893756628036, 0.0005161594017408788, 0.02466672845184803, -0.02813408337533474, -0.008795622736215591, 0.019824793562293053, 0.0110163614153862, 0.00251498119905591, 0.024309009313583374, 0.05286584421992302, 0.0425976887345314, 0.030951732769608498, 0.02707960642874241, -0.03922972083091736, -0.02577897720038891, 0.0007602865225635469, -0.05874401703476906, 0.023424040526151657, -0.021923718973994255, 0.030972974374890327, 0.020795024931430817, 0.012306786142289639, -0.039866719394922256, 0.0031553611624985933, 0.062083739787340164, -0.01742211915552616, -0.036851391196250916, 0.02940409444272518, 0.001470919349230826, -0.03918763995170593, 0.032567624002695084, 0.012275599874556065, -0.01788739487528801, 0.011978831142187119, -0.0015409052139148116, -0.026256240904331207, -0.0048777260817587376, 0.004454120062291622, -0.027987884357571602, -0.04670499637722969, 0.03394060581922531, 0.02261870540678501, 0.07175979018211365, -0.020523877814412117, -0.0027490498032420874, 0.005585320759564638, 0.010499384254217148, 0.001215759664773941, -0.04004991427063942, 0.027682296931743622, 0.02502099610865116, 0.04991212859749794, 0.020824255421757698, 0.038715653121471405, 0.01915121078491211, 0.006741033401340246, 0.015803005546331406, 0.012149136513471603, 0.012368994764983654, -0.011390761472284794, 0.027171676978468895, 0.04196051135659218, -0.03636277839541435, -0.008288027718663216, -0.019921520724892616, -0.04601476714015007, 0.02252245880663395, -0.03454461693763733, 0.002957562217488885, 0.058950405567884445, 0.029851101338863373, 0.018607795238494873, 0.007302495650947094, -0.034189268946647644, 0.03713426738977432, 0.0279238261282444, 0.016968443989753723, -0.0039672041311860085, -0.02841586247086525, 0.05674545839428902, -0.02515394799411297, 0.03629143536090851, 0.003332009306177497, 0.026495954021811485, -0.06833542138338089, 0.041237689554691315, -0.02093571238219738, -0.01788979582488537, 0.012814891524612904, 0.01463216170668602, -0.02848762832581997, -0.003739572362974286, -0.0205667857080698, 0.03000691533088684, 0.05743331089615822, -0.025218728929758072, -0.0013107822742313147, -0.01245671696960926, -0.029149048030376434, 0.0037832490634173155, 0.055327579379081726, -0.04745921865105629, 0.010914298705756664, 0.03420335799455643, 0.04387722909450531, 0.04672757908701897, 0.01946639083325863, 0.05625724419951439, 0.05482713505625725, 0.05637314170598984, 0.013021043501794338, -0.010891815647482872, 0.02214747481048107, 0.03335505723953247, -0.034859247505664825, -0.015469862148165703, 0.008849792182445526, 0.022484952583909035, 0.040660958737134933, 0.04526994749903679, -0.0011222658213227987, 0.015470268204808235, -0.05714850127696991, 0.021457288414239883, 0.054345469921827316, 0.007727272808551788, 0.0007756464765407145, -0.002240861766040325, -0.004631997551769018, -0.0000017858408227766631, -0.010990033857524395, 0.03954843804240227, 0.004254730883985758, 0.017557907849550247, 0.020062502473592758, 0.018531303852796555, 0.013430490158498287, -0.033187124878168106, 0.02488471008837223, 0.0012318961089476943, -0.046211037784814835, -0.04666263610124588, 0.018293574452400208, -0.014713907614350319, -0.018342861905694008, -0.03590845316648483, -0.034742288291454315, -0.016451209783554077, -0.020382627844810486, -0.025621475651860237, -0.01986638456583023, -0.012003792449831963, -0.022708071395754814, -0.006695696152746677, 0.022180626168847084, 0.004815682303160429, 0.010766898281872272, -0.022384654730558395, 0.0147422906011343, -0.01008918322622776, -0.0023711759131401777, 0.007629246450960636, -0.03120281919836998, -0.04020966216921806, 0.03970188647508621, 0.04023370146751404, 0.03358662500977516, -0.014155775308609009, -0.018014851957559586, 0.007968456484377384, 0.016122635453939438, -0.029340656474232674, 0.03583391383290291, -0.0004886759561486542, 0.036847230046987534, 0.018156513571739197, 0.03312509134411812, -0.009889287874102592, -0.0418739840388298, 0.027298150584101677, -0.011090142652392387, 0.028554556891322136, -0.001379281049594283, 0.04245153069496155, 0.03070717677474022, -0.004455487243831158, -0.015659676864743233, -0.046059511601924896, -0.002433415502309799, 0.006502943113446236, -0.04557131603360176, 0.025176825001835823, -0.02154221199452877, 0.013305951841175556, 0.03941706195473671, 0.013178493827581406, 0.03480806574225426, -0.0007105657132342458, -0.0257509034126997, 0.03312718868255615, -0.017687737941741943, 0.003224159125238657, 0.001558777061291039, 0.06175295263528824, -0.017719106748700142, 0.0221469234675169, 0.016670644283294678, 0.020533425733447075, 0.016282470896840096, -0.017488650977611542, 0.037150412797927856, -0.028076503425836563, 0.023812731727957726, -0.010046083480119705, -0.04120740294456482, -0.02757873199880123, -0.04828977957367897, -0.03172988444566727, -0.008104938082396984, -0.0472782701253891, -0.01818550005555153, -0.002491330960765481, 0.013034919276833534, -0.004286338109523058, -0.006166437175124884, 0.015561655163764954, 0.04352065920829773, 0.011520911939442158, 0.04518715292215347, -0.0273020938038826, 0.029055899009108543, 0.006823379080742598, 0.06298612058162689, -0.006130374036729336, 0.01550692692399025, -0.04787663370370865, -0.010865933261811733, 0.022616667672991753, -0.007674807216972113, -0.04278041794896126, 0.01579463668167591, -0.0047417208552360535, 0.018508484587073326, -0.058393754065036774, -0.008225652389228344, 0.029351867735385895, 0.01993304118514061, 0.05573809891939163, -0.011691492050886154, -0.02960197627544403, 0.027069125324487686, 0.01132888998836279, -0.05943613499403, -0.053020305931568146, -0.014671807177364826, -0.007978460751473904, 0.018860649317502975, -0.01626867614686489, -0.06870192289352417, -0.02380591817200184, -0.02235345169901848, 0.020607681944966316, -0.03371506556868553, -0.01953050121665001, -0.004576523322612047, -0.004075539298355579, 0.060557395219802856, -0.03980189189314842, -0.02330043353140354, 0.056336164474487305, 0.02645447850227356, -0.03577014431357384, 0.023615660145878792, 0.03748276084661484, 0.013577272184193134, 0.024680616334080696, 0.005032554268836975, -0.0007345754420384765, 0.0175491776317358, -0.015606766566634178, -0.002706744009628892, -0.05518541857600212, 0.01805042289197445 ]
Accelerate BERT inference with Hugging Face Transformers and AWS inferentia
philschmid
March 16, 2022
bert-inferentia-sagemaker
partnerships, aws, guide, nlp
https://huggingface.co/blog/bert-inferentia-sagemaker
# Accelerate BERT inference with Hugging Face Transformers and AWS Inferentia notebook: sagemaker/18_inferentia_inference The adoption of BERT and Transformers continues to grow. Transformer-based models are now not only achieving state-of-the-art performance in Natural Language Processing but also for Computer Vision, Speech, and Time-Series. 💬 🖼 🎤 ⏳ Companies are now slowly moving from the experimentation and research phase to the production phase in order to use transformer models for large-scale workloads. But by default BERT and its friends are relatively slow, big, and complex models compared to the traditional Machine Learning algorithms. Accelerating Transformers and BERT is and will become an interesting challenge to solve in the future. AWS's take to solve this challenge was to design a custom machine learning chip designed for optimized inference workload called AWS Inferentia. AWS says that AWS Inferentia “delivers up to 80% lower cost per inference and up to 2.3X higher throughput than comparable current generation GPU-based Amazon EC2 instances.” The real value of AWS Inferentia instances compared to GPU comes through the multiple Neuron Cores available on each device. A Neuron Core is the custom accelerator inside AWS Inferentia. Each Inferentia chip comes with 4x Neuron Cores. This enables you to either load 1 model on each core (for high throughput) or 1 model across all cores (for lower latency).
[ -0.03677168861031532, 0.013744003139436245, -0.01864977739751339, 0.019224287942051888, -0.047058917582035065, 0.04325554519891739, 0.0432121679186821, 0.0790284052491188, -0.007892164401710033, -0.05760669708251953, -0.018015526235103607, 0.040095530450344086, 0.02835366502404213, 0.07739946246147156, 0.023499533534049988, -0.06969597935676575, 0.023111069574952126, -0.016784483566880226, -0.01696646213531494, 0.03756488487124443, 0.007737473119050264, -0.06070636585354805, 0.09617280215024948, 0.04995587468147278, -0.008693083189427853, -0.042430367320775986, -0.008226646110415459, -0.061136335134506226, 0.021809419617056847, 0.0494428351521492, -0.05995791777968407, -0.013010078109800816, 0.03192571923136711, -0.04162317514419556, -0.025594672188162804, 0.013440100476145744, -0.18376034498214722, 0.007888415828347206, -0.010383636690676212, 0.00779086584225297, 0.0056440201587975025, -0.0014640475856140256, -0.08053091913461685, 0.010312496684491634, 0.02906082011759281, 0.02209630236029625, -0.051859091967344284, 0.0732230693101883, 0.007630276959389448, 0.006725915241986513, -0.06333068758249283, 0.11784833669662476, -0.01749548316001892, 0.006856414023786783, 0.024665091186761856, -0.008184242993593216, -0.014369401149451733, -0.06951264292001724, 0.023778973147273064, -0.032839879393577576, -0.02497211843729019, -0.06828930228948593, 0.0037175207398831844, 0.004426047671586275, 0.03441176563501358, -0.011746348813176155, -0.01952480338513851, -0.055874910205602646, -0.03950885310769081, 0.011712919920682907, -0.012833545915782452, -0.045165225863456726, -0.02794717438519001, 0.0007294579409062862, -0.03602306917309761, -0.03249838575720787, 0.04006921499967575, 0.027159396559000015, 0.053746096789836884, 0.010038889944553375, -0.07628802955150604, -0.006257438100874424, -0.03766266256570816, 0.0359053798019886, 0.04310058802366257, 0.03250613063573837, 0.06126220151782036, -0.0826190933585167, -0.07357222586870193, 0.04914955422282219, -0.01704998128116131, -0.15271693468093872, -0.006227996665984392, 0.021836932748556137, 0.0013934170128777623, 0.02730371616780758, 0.027319055050611496, 0.005668099038302898, -0.030947400256991386, -0.04805610701441765, 0.0323999747633934, -0.04239311069250107, 0.029293203726410866, -0.03610403463244438, -0.0576096810400486, 0.06428017467260361, -0.023105228319764137, -0.12422853708267212, 0.02870449796319008, 0.039550866931676865, 0.0018719338113442063, -0.05110020935535431, 0.018443310633301735, 0.05461418256163597, -0.15390931069850922, 0.014026230201125145, 0.022513780742883682, 0.016881806775927544, 0.026605965569615364, -0.0211808942258358, 0.04249125346541405, 0.020938286557793617, 0.03404928743839264, -0.024418536573648453, -0.020249344408512115, 0.02823052555322647, 0.003937229514122009, -0.0063744764775037766, 0.03701910004019737, 0.03829581290483475, 0.04609934613108635, -0.1019885465502739, 0.046802785247564316, -0.03378855064511299, 0.06680437922477722, -0.048493336886167526, -0.027741514146327972, -0.08775260299444199, -0.01808309555053711, 0.026560572907328606, -0.03273681551218033, 0.016157817095518112, 0.07167232781648636, -0.06051570922136307, 0.06577516347169876, 0.005766664631664753, -0.08091229200363159, 0.016692936420440674, 0.036606334149837494, 0.03870169445872307, -0.17446240782737732, 0.04437462240457535, -0.043246787041425705, -0.06366460025310516, 0.04175770655274391, 0.06464294344186783, 0.00387639831751585, -0.06953901052474976, -0.05664213001728058, -0.08903912454843521, -0.04315028339624405, -0.08579856157302856, 0.005307604093104601, -0.043430108577013016, -0.020689107477664948, -0.049680136144161224, 0.026582367718219757, 0.029747819527983665, 0.023942656815052032, 0.040081772953271866, 0.03503565862774849, -0.02271173894405365, 0.06111324205994606, -0.030494263395667076, -0.0035085321869701147, 0.034218475222587585, -0.014494583010673523, 0.05127130076289177, -0.026231158524751663, -0.05760140344500542, -0.03591863065958023, 0.04762492701411247, 0.018678149208426476, 0.027751732617616653, 0.03832852840423584, -0.0374014712870121, 0.01978355087339878, -0.015318657271564007, 0.0023761384654790163, -0.017154894769191742, 0.02803870663046837, -0.016820227727293968, 0.12746672332286835, 0.010383457876741886, 0.036121658980846405, 0.04014887660741806, -0.02696053311228752, 0.0574357770383358, 0.013018442317843437, 0.03471586853265762, 0.001323449774645269, -0.039537087082862854, 0.05164619907736778, 0.004591829609125853, -0.02050199545919895, -0.014384343288838863, 0.0032185912132263184, -0.016880422830581665, 0.04933546856045723, 0.031192250549793243, 0.012952624820172787, -0.1170673593878746, -0.021052300930023193, -0.06807652115821838, 0.0024623973295092583, -0.08086609840393066, 0.013771973550319672, -0.012208100408315659, 0.025299977511167526, 0.004133975598961115, 0.08803953975439072, -0.057808805257081985, -0.005858124699443579, -0.03994852304458618, -0.016026686877012253, -0.01650014892220497, 0.033243559300899506, -0.0006177076720632613, 0.053897641599178314, -0.025771768763661385, -0.037587620317935944, -0.046966928988695145, -0.021426288411021233, -0.005308561027050018, -0.0033663809299468994, -0.024580974131822586, -0.004238571040332317, -0.00958643015474081, -0.019234580919146538, 0.004074589349329472, -0.020777331665158272, 0.060767460614442825, 0.025437908247113228, 0.012205184437334538, 0.062356896698474884, -0.014920716173946857, 0.05444476380944252, -0.00898363534361124, 0.0029940654058009386, -0.007920997217297554, -0.06347139179706573, 0.03077803924679756, 0.004585954826325178, -0.04040316119790077, 0.046964820474386215, 0.03589613363146782, -0.01723220758140087, -0.02002125233411789, 0.009303631260991096, 0.02007259614765644, -0.011624300852417946, -0.02532522939145565, 0.026197263970971107, 0.0018366265576332808, -0.014418564736843109, -0.06179604306817055, -0.03263375535607338, 0.005003172438591719, -0.005718190688639879, -0.01508160401135683, 0.017900479957461357, -0.04641668125987053, 0.04241324961185455, -0.01943187788128853, 0.028063561767339706, 0.02798745408654213, 0.0765419602394104, 0.02716783434152603, -0.0010534581961110234, -0.014722414314746857, 0.007012477610260248, -0.03119625337421894, -0.005357964430004358, 0.03634323924779892, -0.011525207199156284, 0.0007446602103300393, 0.005385131109505892, -0.03188195452094078, -0.009560005739331245, -0.002760990522801876, 0.023123320192098618, 0.012178989127278328, -0.004566083662211895, -0.043203700333833694, -0.014540617354214191, 0.05488740652799606, 0.011350566521286964, -0.0716448426246643, -0.028057653456926346, 0.006261815782636404, 0.005360676907002926, -0.01822163537144661, -0.003259827382862568, 0.03213195130228996, -0.024606041610240936, 0.0012013983214274049, 0.01872253231704235, 0.04178081825375557, -0.06852833181619644, -0.011865979060530663, -0.06825609505176544, 0.012531344778835773, -0.0024667042307555676, 0.010537234134972095, 0.02170417457818985, 0.013114584609866142, 0.013978800736367702, 0.04270397126674652, 0.014669760130345821, 0.02793409861624241, 0.020381635054945946, -0.009632567875087261, -0.010746285319328308, 0.0019453370478004217, -0.030706016346812248, 0.005898349452763796, 0.011302913539111614, 0.01636461913585663, -0.02167893946170807, -0.020862095057964325, 0.005339466501027346, -0.04321521893143654, 0.017552591860294342, -0.015004497021436691, 0.03638514503836632, -0.013388422317802906, 0.025990283116698265, 0.00788071472197771, -0.050640687346458435, -0.03636666387319565, 0.009441535919904709, 0.0018286793492734432, -0.01655535399913788, -0.008667637594044209, -0.02993633784353733, 0.029875831678509712, 0.0680457130074501, 0.03515051677823067, 0.006818863097578287, 0.003479904728010297, 0.025895627215504646, -0.029820147901773453, 0.04176418110728264, 0.019489580765366554, 0.007630086969584227, -0.004518686328083277, -0.019052397459745407, -0.012577631510794163, 0.0034244214184582233, -0.0006273114122450352, -0.005872974172234535, 0.02254684828221798, 0.030514998361468315, -0.004343090113252401, 0.03898895904421806, -0.01970532350242138, 0.03617734834551811, -0.007474022917449474, -0.056943342089653015, 0.04851246997714043, 0.011921877972781658, -0.05519022047519684, -0.0191110260784626, 0.05826127901673317, 0.035525478422641754, 0.0012581095797941089, 0.02833409607410431, 0.02235669642686844, -0.014694991521537304, 0.025444837287068367, -0.006689425092190504, -0.0021452296059578657, -0.017644409090280533, 0.02151789888739586, -0.03145341947674751, -0.035621583461761475, 0.02150612883269787, 0.016108134761452675, -0.032208409160375595, -0.0054823728278279305, -0.015585952438414097, -0.022232824936509132, 0.03043658845126629, 0.017721964046359062, -0.017964335158467293, -0.037351738661527634, 0.04699195921421051, 0.039048921316862106, -0.013276376761496067, -0.011942495591938496, -0.006673719733953476, -0.028166189789772034, 0.005636779125779867, -0.03746418654918671, 0.010542375035583973, 0.006790825165808201, -0.00750838965177536, -0.01959209516644478, 0.021561985835433006, -0.03138921037316322, 0.01113249734044075, 0.012438633479177952, -0.027961010113358498, 0.043065350502729416, -0.0016518846387043595, 0.0034044054336845875, 0.012191804125905037, 0.027241747826337814, 0.0319904126226902, -0.02857930399477482, -0.010681002400815487, 0.03137429803609848, 0.03419758751988411, 0.059772323817014694, -0.013605366460978985, -0.025043226778507233, 0.010441839694976807, 0.003927931189537048, -0.0033403642009943724, 0.05880796164274216, 0.01698952354490757, -0.019143695011734962, 0.0565124936401844, 0.02806100808084011, -0.01127625536173582, 0.04671313613653183, 0.00045341337681747973, -0.046095699071884155, -0.022561533376574516, -0.006679798010736704, 0.07007183879613876, 0.015030000358819962, 0.047027841210365295, -0.019396262243390083, -0.026798130944371223, -0.03840300813317299, -0.003782890038564801, 0.04166386276483536, 0.0012721105013042688, 0.04532042145729065, 0.031389020383358, -0.034782130271196365, 0.016278544440865517, 0.007147513795644045, 0.0006158857140690088, -0.046003472059965134, -0.059357598423957825, 0.04555599391460419, 0.029367342591285706, -0.0007982498500496149, -0.026025040075182915, 0.029210731387138367, 0.05553066357970238, -0.006862458772957325, 0.011285296641290188, 0.012043350376188755, 0.06621300429105759, 0.03289344534277916, 0.01784471981227398, 0.05239320918917656, -0.0102705592289567, -0.023632453754544258, 0.0610218271613121, 0.014424581080675125, -0.023022016510367393, -0.046388182789087296, -0.01407994981855154, 0.00836025271564722, -0.03382699564099312, 0.014707688242197037, -0.009515007957816124, -0.02472449280321598, -0.002487631281837821, 0.06400074064731598, -0.005905524827539921, -0.005374741740524769, 0.011237996630370617, 0.01492769829928875, -0.000719080213457346, -0.034020859748125076, -0.004799778573215008, 0.03850124031305313, 0.020040353760123253, 0.01820060797035694, 0.05540464445948601, 0.07286485284566879, -0.00784470047801733, -0.014837078750133514, 0.020714137703180313, 0.006997277028858662, 0.01591491512954235, -0.041364263743162155, -0.014223987236618996, -0.04669841006398201, 0.04857823625206947, 0.023210804909467697, -0.028311027213931084, -0.006343698129057884, 0.0029566811863332987, 0.032554224133491516, -0.05370889976620674, -0.015566845424473286, 0.050181642174720764, -0.026438064873218536, 0.0012738644145429134, -0.005264416337013245, -0.0055274334736168385, 0.017307141795754433, 0.018613237887620926, 0.008703235536813736, -0.01772608794271946, 0.03367149829864502, 0.0007801378960721195, -0.03501445800065994, 0.007564784027636051, 0.06407707184553146, 0.03629567474126816, 0.06324692815542221, -0.03993483632802963, -0.029592497274279594, 0.008344505913555622, -0.04052172973752022, -0.010326799936592579, -0.05959639698266983, 0.007234781980514526, -0.03480586037039757, 0.010101544670760632, 0.01182324718683958, 0.014183751307427883, 0.007339824456721544, -0.0033298321068286896, 0.030247824266552925, 0.014992652460932732, -0.032208818942308426, -0.028617434203624725, 0.0629580095410347, 0.05761135369539261, -0.000027379486709833145, -0.028548279777169228, -0.04597866162657738, -0.008725792169570923, 0.004067030269652605, -0.04441016539931297, 0.01847792975604534, 0.0364048033952713, -0.02076028287410736, 0.009501398541033268, 0.0337909497320652, 0.020816663280129433, -0.008848374709486961, 0.009830466471612453, 0.03062385320663452, 0.0049526807852089405, 0.02288394421339035, 0.0007013536524027586, -0.014606498181819916, 0.013835261575877666, 0.02713753841817379, 0.017590569332242012, -0.05720195546746254, 0.04331664741039276, 0.011523892171680927, -0.044295672327280045, 0.01785249263048172, -0.0005083829746581614, -0.046288423240184784, 0.03702441230416298, 0.01107142772525549, -0.010998919606208801, -0.010871071368455887, 0.008084340952336788, -0.010755657218396664, 0.004366964101791382, 0.018605323508381844, 0.04047649726271629, 0.06462705880403519, -0.025903254747390747, -0.021723227575421333, 0.019968902692198753, 0.044813383370637894, 0.05309980735182762, 0.0004687609907705337, 0.03256254643201828, -0.006198465824127197, 0.04748821631073952, -0.013692549429833889, 0.025179443880915642, 0.056661687791347504, -0.031370919197797775, -0.02139410376548767, 0.015678809955716133, -0.012765234336256981, -0.034584514796733856, -0.05234125256538391, 0.03140413016080856, -0.02310923859477043, 0.003101249225437641, 0.0018304615514352918, 0.016756104305386543, 0.050287000834941864, 0.07425669580698013, 0.018927549943327904, 0.03017341159284115, 0.015414862893521786, 0.01962696574628353, 0.010073423385620117, -0.009563582949340343, 0.03744246065616608, -0.010760012082755566, 0.007853764109313488, 0.02000567875802517, 0.05010157823562622, 0.026393691077828407, -0.019139111042022705, -0.030765024945139885, -0.015323755331337452, -0.02257402054965496, 0.02561742439866066, 0.0010950816795229912, 0.03230011835694313, -0.02031114138662815, 0.04042568802833557, -0.018866335973143578, 0.06118633598089218, -0.0001271971414098516, -0.02168962173163891, -0.004051916766911745, 0.012051491066813469, 0.028854748234152794, 0.017222363501787186, 0.0012325721327215433, -0.04902813956141472, 0.033835411071777344, -0.017385344952344894, 0.01743561215698719, 0.0004313132958486676, -0.0140112629160285, 0.0022300288546830416, 0.018580570816993713, -0.02444530837237835, -0.0166897214949131, 0.024903472512960434, 0.003542546648532152, 0.01709173433482647, 0.03644737973809242, 0.027202051132917404, 0.03490206226706505, 0.019977418705821037, 0.01262690033763647, 0.006414971314370632, -0.024398714303970337, 0.009099980816245079, 0.01747443713247776, -0.041037511080503464, 0.006827507633715868, -0.05198485031723976, -0.002824075985699892, -0.019452935084700584, 0.008670560084283352, 0.03053743951022625, 0.0571189783513546, -0.01339428499341011, -0.02310500666499138, 0.017094817012548447, -0.0012049353681504726, -0.037925783544778824, 0.058316562324762344, 0.008788833394646645, -0.018556959927082062, -0.035347308963537216, -0.019552266225218773, 0.004839617758989334, -0.010904868133366108, -0.02024698816239834, 0.056154556572437286, -0.014935651794075966, -0.04208586364984512, -0.02756555937230587, 0.014101149514317513, 0.03175931051373482, -0.000492140359710902, 0.04658453166484833, -0.01666121557354927, 0.018406467512249947, -0.01950702629983425, -0.009442784823477268, -0.036863021552562714, -0.016513999551534653, -0.020255040377378464, -0.026313792914152145, -0.031478673219680786, 0.01364480797201395, -0.01828017458319664, 0.045345015823841095, -0.03416065499186516, -0.02018662914633751, -0.05685761570930481, -0.0051373327150940895, -0.016448484733700752, 0.010217229835689068, 0.0571921169757843, 0.04035954177379608, 0.02578441984951496, -0.024015232920646667, -0.019359230995178223, -0.04876846447587013, -0.0025311086792498827, 0.029902316629886627, 0.04936887323856354, -0.01054336316883564, -0.012407929636538029, -0.01372561976313591, -0.04454660788178444, 0.047237467020750046, -0.031648844480514526, 0.054830729961395264, -0.011263984255492687, 0.01775086671113968, -0.001085899188183248, 0.012956030666828156, 0.031215280294418335, -0.04345479607582092, 0.027971450239419937, -0.005585410166531801, 0.017226791009306908, -0.04227954521775246, -0.005115756765007973, -0.06297919899225235, -0.012573489919304848, 0.009958676993846893, -0.018888454884290695, 0.027937186881899834, 0.004617756698280573, 0.04523363709449768, -0.03682330250740051, -0.013036154210567474, 0.021019617095589638, -0.004339966457337141, -0.07373905181884766, -0.047974735498428345, -0.0023459477815777063, 0.0401993989944458, -0.019919324666261673, -0.01612073741853237, 0.013855400495231152, -0.02834211103618145, 0.012772954069077969, 0.0042019374668598175, -0.045263539999723434, -0.017534518614411354, -0.05420573800802231, -0.0015027684858068824, 0.04121260344982147, 0.019641133025288582, 0.04578528553247452, 0.03303581848740578, 0.0239418838173151, -0.02103048749268055 ]
Accelerate BERT inference with Hugging Face Transformers and AWS inferentia
philschmid
March 16, 2022
bert-inferentia-sagemaker
partnerships, aws, guide, nlp
https://huggingface.co/blog/bert-inferentia-sagemaker
5. Run and evaluate Inference performance of BERT on Inferentia The .deploy() returns an HuggingFacePredictor object which can be used to request inference. python data = { "inputs": "the mesmerizing performances of the leads keep the film grounded and keep the audience riveted .", } res = predictor.predict(data=data) res We managed to deploy our neuron compiled BERT to AWS Inferentia on Amazon SageMaker. Now, let's test its performance. As a dummy load test, we will loop and send 10,000 synchronous requests to our endpoint. python # send 10000 requests for i in range(10000): resp = predictor.predict( data={"inputs": "it 's a charming and often affecting journey ."} ) Let's inspect the performance in cloudwatch. python print(f"https://console.aws.amazon.com/cloudwatch/home?region={sess.boto_region_name}#metricsV2:graph=~(metrics~(~(~'AWS*2fSageMaker~'ModelLatency~'EndpointName~'{predictor.endpoint_name}~'VariantName~'AllTraffic))~view~'timeSeries~stacked~false~region~'{sess.boto_region_name}~start~'-PT5M~end~'P0D~stat~'Average~period~30);query=~'*7bAWS*2fSageMaker*2cEndpointName*2cVariantName*7d*20{predictor.endpoint_name}") The average latency for our BERT model is 5-6ms for a sequence length of 128. Figure 1. Model Latency
[ -0.025447973981499672, 0.008465208113193512, 0.029715631157159805, 0.01138223521411419, 0.011217539198696613, 0.07279933243989944, 0.07903953641653061, 0.055596813559532166, -0.03505537658929825, -0.020838450640439987, -0.04591785743832588, 0.047677021473646164, 0.02361474372446537, 0.04878305271267891, 0.024333564564585686, -0.051103413105010986, 0.06684265285730362, -0.04238735884428024, -0.010425151325762272, -0.02224857732653618, -0.0026396019384264946, -0.08218907564878464, 0.029130881652235985, -0.005714770872145891, 0.0018190270056948066, -0.06716536730527878, -0.0042807552963495255, -0.006720193661749363, -0.046020470559597015, 0.024481473490595818, -0.08611869812011719, -0.021675366908311844, 0.031412556767463684, -0.03318933770060539, -0.0698016881942749, 0.03671040013432503, -0.12530294060707092, 0.06311256438493729, 0.025391990318894386, -0.00018740221275947988, -0.029590556398034096, -0.04655994474887848, -0.009304322302341461, 0.03397907689213753, 0.028770603239536285, -0.012185955420136452, -0.08099319785833359, 0.05539599806070328, 0.020663773640990257, 0.0030098184943199158, -0.06918588280677795, 0.13490647077560425, -0.020031604915857315, -0.0024347626604139805, -0.0022158746141940355, -0.021418940275907516, 0.013529062271118164, -0.05983005091547966, 0.01812015473842621, -0.0070082079619169235, -0.005440848879516125, -0.0287876445800066, 0.016187114641070366, 0.022358331829309464, 0.020642094314098358, 0.03709796816110611, 0.001784680294804275, 0.024750959128141403, -0.010082959197461605, -0.020338360220193863, -0.03376409783959389, -0.005680055357515812, -0.009726891294121742, -0.009837125428020954, 0.006655550561845303, -0.0653042420744896, 0.027334094047546387, 0.013410582207143307, 0.022033648565411568, 0.04733288660645485, -0.05839674919843674, -0.04033188149333, -0.03452650085091591, -0.011152084916830063, 0.044972099363803864, 0.08258678764104843, 0.06507128477096558, -0.03567005321383476, -0.10106151551008224, 0.018019594252109528, 0.033352021127939224, -0.1236049234867096, -0.0023346166126430035, 0.020616741850972176, -0.0002141110599040985, -0.023864667862653732, -0.001742241671308875, 0.017335714772343636, -0.05281690135598183, -0.04276072978973389, 0.03514593839645386, -0.08388423919677734, 0.01203580480068922, -0.02528621070086956, -0.02881750278174877, 0.05832706391811371, -0.004765908233821392, -0.11847815662622452, -0.04865404963493347, 0.05746691673994064, 0.017894694581627846, -0.03659602254629135, -0.025060804560780525, 0.06026502698659897, -0.11480903625488281, -0.015552137978374958, -0.04617183282971382, 0.03100278042256832, 0.0021600753534585238, 0.006176570430397987, 0.026132095605134964, 0.05182677134871483, 0.057722363620996475, -0.018564680591225624, -0.05527708679437637, 0.07733499258756638, 0.026622310280799866, 0.0026948824524879456, 0.005722827278077602, 0.05249232426285744, 0.06967481225728989, -0.07130639255046844, 0.06041466444730759, 0.001039620372466743, 0.03024446777999401, -0.036385469138622284, -0.05762685835361481, -0.056042637676000595, 0.011464749462902546, -0.006663142703473568, -0.057559337466955185, 0.044858504086732864, 0.027420395985245705, 0.013847386464476585, 0.08923935145139694, 0.020512832328677177, -0.06595051288604736, 0.019305717200040817, 0.026533538475632668, 0.05659879744052887, -0.18541455268859863, 0.06675764918327332, -0.014333183877170086, -0.023256517946720123, 0.0025713127106428146, 0.03747090697288513, -0.010432637296617031, -0.026702843606472015, -0.040004316717386246, -0.022131869569420815, 0.0051748971454799175, -0.006888503674417734, -0.02290472947061062, -0.04905534163117409, 0.001970952609553933, 0.00687997555360198, 0.030627381056547165, -0.016262350603938103, 0.017348676919937134, 0.034297164529561996, 0.02528516761958599, -0.026996904984116554, 0.06880689412355423, 0.04372047632932663, 0.040901489555835724, 0.05176125094294548, 0.009065782651305199, 0.02171388640999794, 0.011432880535721779, -0.02366250939667225, -0.016285162419080734, 0.10274846851825714, -0.006814867723733187, 0.020619381219148636, 0.040995772927999496, -0.04019729793071747, 0.05150327458977699, -0.041364531964063644, 0.03865691274404526, -0.025143342092633247, 0.009864650666713715, -0.04342461749911308, 0.0970037654042244, -0.026512226089835167, -0.008742018602788448, -0.040747083723545074, -0.035253144800662994, 0.07314765453338623, 0.04352796450257301, 0.0013337609125301242, 0.03383795917034149, -0.005165743175894022, 0.07517560571432114, -0.021401584148406982, -0.02140926383435726, 0.03535275161266327, 0.021856868639588356, -0.017307020723819733, 0.042209625244140625, -0.010532228276133537, 0.006912732496857643, -0.11277160793542862, 0.0035035619512200356, -0.08291618525981903, -0.00822462234646082, -0.06396815925836563, -0.005630827974528074, -0.002488530706614256, 0.012156348675489426, 0.013706184923648834, 0.14145074784755707, -0.027653146535158157, 0.02841792441904545, -0.0737459659576416, -0.02214863710105419, -0.057845473289489746, 0.02141682617366314, 0.059991125017404556, 0.09856526553630829, -0.02935260720551014, -0.06408904492855072, -0.04366147518157959, -0.019027333706617355, 0.05043460428714752, -0.02967546321451664, -0.010034307837486267, -0.010772953741252422, -0.011935572139918804, -0.026000984013080597, -0.050457797944545746, 0.0752851814031601, 0.03152795508503914, 0.023737402632832527, 0.08082293719053268, -0.02177594043314457, -0.025026004761457443, 0.06480129808187485, 0.0022066303063184023, -0.02792416140437126, -0.010889292694628239, -0.04913882538676262, -0.0014305777149274945, 0.000358930672518909, -0.011751143261790276, 0.03637191653251648, 0.049847353249788284, -0.03982456773519516, 0.005706768482923508, -0.023325679823756218, 0.05518760159611702, 0.019354669377207756, -0.006373440381139517, 0.0015618535690009594, -0.0016201219987124205, 0.007171930279582739, -0.04238955304026604, -0.05004149675369263, -0.015481243841350079, -0.01431221142411232, 0.020318318158388138, 0.025868196040391922, -0.05559694766998291, 0.02690935507416725, -0.00030164726194925606, 0.04042663425207138, 0.052057258784770966, 0.0715290829539299, 0.011988604441285133, -0.012874114327132702, 0.006545312236994505, -0.0041864304803311825, -0.057062648236751556, 0.03907911479473114, 0.026227552443742752, 0.0019792711827903986, -0.011382571421563625, 0.0029192850925028324, -0.043743737041950226, -0.005786586087197065, 0.004705643747001886, 0.01429585088044405, 0.04303014278411865, 0.020143838599324226, -0.04604318365454674, -0.019559824839234352, 0.04674380272626877, 0.037855979055166245, -0.06620574742555618, -0.008613711223006248, 0.019579434767365456, -0.041413046419620514, -0.0030761074740439653, -0.04084634780883789, -0.0014030066085979342, -0.036618996411561966, 0.030130654573440552, 0.04255199059844017, -0.02166758105158806, -0.0889231413602829, 0.008008996956050396, 0.016118036583065987, -0.022118613123893738, -0.006878220476210117, -0.01644345000386238, 0.08814558386802673, -0.006141379941254854, -0.009684576652944088, 0.05821872875094414, 0.012412396259605885, -0.010958475060760975, 0.002157040173187852, -0.0021807407028973103, 0.005442442838102579, -0.0050287446938455105, -0.033972062170505524, -0.005636972840875387, 0.016397124156355858, 0.03294115141034126, -0.031192895025014877, 0.008966729044914246, 0.031063567847013474, -0.028875131160020828, 0.025187645107507706, 0.035431791096925735, -0.0023364322260022163, 0.028272874653339386, 0.03103700838983059, 0.0012014100793749094, -0.024365298449993134, -0.06284929811954498, -0.0036162775941193104, -0.02039816789329052, -0.013216718100011349, 0.013330725952982903, -0.029155366122722626, 0.01862294040620327, 0.037366777658462524, 0.023388631641864777, -0.015554315410554409, 0.015508661046624184, -0.006105467677116394, -0.006437030155211687, 0.03721907362341881, 0.010388183407485485, 0.05918380245566368, 0.0011336262105032802, 0.0321543850004673, -0.01878705993294716, -0.014761054888367653, 0.02063716948032379, -0.023571280762553215, 0.03088773973286152, 0.028678109869360924, -0.024347376078367233, 0.04134335368871689, 0.005102370399981737, 0.045074909925460815, -0.005276092793792486, -0.015389503911137581, 0.003987724892795086, 0.010292447172105312, -0.04422081261873245, -0.022545136511325836, 0.007707606535404921, 0.03237301483750343, 0.03162059560418129, 0.008707546629011631, -0.018314393237233162, -0.022851796820759773, 0.05052263289690018, 0.010990907438099384, 0.00439408840611577, -0.010924180038273335, -0.004305001348257065, -0.04611389338970184, -0.0374852754175663, 0.05732738971710205, 0.023936813697218895, -0.012870514765381813, -0.007898150943219662, 0.004961442667990923, -0.018719252198934555, 0.018203195184469223, 0.010061191394925117, 0.002452604239806533, -0.0849098265171051, 0.04156297817826271, 0.022106947377324104, -0.03422386944293976, -0.024136194959282875, -0.020658396184444427, -0.017252512276172638, -0.043341342359781265, -0.03659940883517265, 0.02531282790005207, 0.014274779707193375, -0.017452890053391457, -0.0037978303153067827, 0.019423579797148705, -0.04181941598653793, 0.017546579241752625, 0.03517292067408562, -0.013605576008558273, 0.03672084957361221, -0.00756940059363842, -0.01422926876693964, 0.010054531507194042, -0.02686651051044464, 0.038182370364665985, 0.019419850781559944, 0.009661720134317875, 0.011884940788149834, 0.038249023258686066, 0.044731203466653824, 0.01578553393483162, -0.012279636226594448, -0.009071641601622105, 0.03168283402919769, -0.048242051154375076, 0.026035426184535027, 0.008416518568992615, 0.00049727747682482, 0.021552888676524162, 0.029978958889842033, -0.0008449948509223759, 0.06872008740901947, 0.0017413480672985315, -0.03117216005921364, -0.030607769265770912, 0.006880619563162327, 0.04631315544247627, 0.006017882842570543, 0.02115248702466488, -0.012802455574274063, -0.0008953656652010977, -0.00482798321172595, 0.010618853382766247, 0.0054350052960217, 0.0022673397324979305, -0.009549531154334545, -0.011910509318113327, -0.018432719632983208, -0.017937837168574333, 0.029443087056279182, -0.0532810352742672, -0.042518097907304764, -0.0738365650177002, -0.01562228612601757, 0.017156578600406647, -0.009363966062664986, -0.05868354067206383, -0.009275300428271294, 0.04595206305384636, -0.01732628419995308, 0.0031345332972705364, 0.006881347391754389, 0.04776289314031601, 0.05291193723678589, 0.022183023393154144, 0.0170921441167593, 0.006021205335855484, -0.00015079768490977585, 0.026114514097571373, -0.008496123366057873, -0.005948655307292938, -0.04831654578447342, 0.03099227324128151, -0.02164411172270775, -0.030763257294893265, 0.00851871632039547, 0.014863541349768639, -0.03395741432905197, 0.012102670036256313, 0.07422595471143723, -0.020753392949700356, 0.00141091865953058, 0.032232653349637985, 0.013532610610127449, -0.020120643079280853, -0.019202731549739838, -0.014354564249515533, -0.03839375823736191, -0.01696380414068699, 0.007094888482242823, 0.054765064269304276, 0.051278166472911835, -0.002020105253905058, 0.019542453810572624, 0.012141074053943157, 0.002163786208257079, 0.005159337539225817, -0.0736967995762825, -0.002287196461111307, -0.020591482520103455, 0.00978656206279993, 0.00906677171587944, -0.027826840057969093, -0.018897686153650284, 0.022689178586006165, 0.03198631480336189, -0.028776003047823906, -0.03673071786761284, 0.05254114046692848, -0.014256044290959835, 0.008945864625275135, -0.031819045543670654, 0.030936971306800842, 0.0027595183346420527, 0.03189338371157646, 0.004533358849585056, -0.010862038470804691, 0.060895707458257675, 0.03691738098859787, -0.04823470860719681, 0.021398697048425674, 0.03804701194167137, 0.055443596094846725, 0.035850051790475845, -0.03242973983287811, -0.01639784500002861, -0.018960991874337196, -0.019825270399451256, -0.009761897847056389, -0.0513802133500576, 0.021853627637028694, -0.013995643705129623, -0.004352837335318327, 0.0557192899286747, 0.0018108331132680178, -0.014247439801692963, -0.010279272682964802, 0.03684362396597862, -0.006429613567888737, 0.007908141240477562, -0.026887746527791023, 0.035402633249759674, 0.051335450261831284, 0.002994848880916834, 0.003762198844924569, -0.02015521563589573, 0.0015408487524837255, 0.02062263712286949, -0.021544136106967926, 0.04918595030903816, 0.053715527057647705, -0.038512762635946274, 0.03198985382914543, 0.0005317456088960171, -0.029224518686532974, 0.017833376303315163, 0.006832231767475605, -0.01881355606019497, 0.003943481016904116, 0.045334067195653915, 0.01697346195578575, 0.018473634496331215, -0.004398806020617485, 0.043810270726680756, 0.04224605858325958, -0.0620737224817276, 0.04313657805323601, 0.01835796795785427, -0.056398939341306686, 0.024909667670726776, 0.002004677429795265, -0.03308098390698433, 0.040605053305625916, 0.023816123604774475, 0.002404752653092146, 0.0016876785084605217, 0.012649535201489925, -0.015305496752262115, 0.037976812571287155, -0.006466361228376627, -0.00006505431520054117, 0.07368376106023788, -0.01292624231427908, 0.013852876611053944, 0.026883024722337723, 0.031600307673215866, 0.016811449080705643, 0.009454011917114258, 0.011047140695154667, -0.030116910114884377, 0.075532466173172, 0.005534525029361248, 0.009020623750984669, 0.033754121512174606, -0.008259033784270287, 0.03501903638243675, -0.018582303076982498, -0.017179206013679504, -0.052869345992803574, -0.0283987857401371, 0.018678724765777588, -0.040810227394104004, 0.03176521882414818, -0.045375797897577286, 0.006917024962604046, 0.030798008665442467, 0.09437713027000427, 0.000902800471521914, 0.032655928283929825, 0.019844772294163704, 0.015015856362879276, -0.008991782553493977, -0.0054133059456944466, 0.02651696465909481, -0.05632072687149048, 0.03287800773978233, -0.008859563618898392, 0.009865972213447094, 0.03180417791008949, -0.005497847683727741, -0.003770817071199417, -0.02655556984245777, -0.03974926099181175, 0.035879675298929214, 0.04380904138088226, 0.002544311573728919, -0.006262398324906826, 0.035443179309368134, -0.01436756830662489, 0.026598377153277397, -0.009324104525148869, -0.008897027932107449, 0.012891795486211777, -0.008781555108726025, 0.02270548790693283, 0.027350416406989098, 0.024451302364468575, -0.04442192241549492, 0.005144112277776003, 0.027805468067526817, -0.005312873516231775, 0.02212429977953434, -0.060562390834093094, -0.009940100833773613, -0.0011658725561574101, -0.012125459499657154, -0.01257398258894682, 0.01347316987812519, 0.00055016326950863, -0.006401923950761557, 0.03172604739665985, 0.001702147419564426, 0.020095095038414, 0.005305989645421505, -0.010104389861226082, 0.019482607021927834, 0.004594447091221809, -0.008370288647711277, -0.004447395447641611, -0.0654778778553009, 0.019606802612543106, 0.001437099534086883, -0.021937331184744835, -0.03869890049099922, 0.017948372289538383, 0.02160394936800003, 0.04529759660363197, -0.001802051323466003, -0.03132370859384537, 0.03901427611708641, -0.008226119913160801, -0.03662492334842682, 0.050658952444791794, 0.026221800595521927, 0.009072938933968544, 0.0015340759418904781, 0.02511528879404068, -0.020320123061537743, -0.012578590773046017, -0.012467178516089916, 0.027399636805057526, -0.016508709639310837, -0.02816135808825493, -0.015114529058337212, -0.003060226561501622, 0.0023571497295051813, 0.0066120801493525505, 0.039749786257743835, -0.019696827977895737, 0.016260219737887383, -0.035196490585803986, 0.017060233280062675, -0.05180206522345543, -0.027072930708527565, -0.05024769529700279, -0.023251377046108246, -0.047786567360162735, 0.018070511519908905, -0.04901585355401039, 0.018872061744332314, -0.034655362367630005, -0.031732216477394104, -0.035287924110889435, -0.012027238495647907, -0.02622251957654953, -0.017653003334999084, 0.0760558620095253, 0.03855738416314125, 0.044075507670640945, -0.00180062057916075, -0.05922655761241913, -0.0169636532664299, -0.042644016444683075, -0.014119836501777172, 0.047491274774074554, 0.03497939929366112, -0.005756862927228212, -0.004755171947181225, -0.018797438591718674, 0.002435475355014205, -0.019503528252243996, 0.022614046931266785, 0.004438047297298908, -0.019491545855998993, -0.012684117071330547, 0.017423398792743683, 0.02296373061835766, -0.015992533415555954, 0.03873096778988838, -0.012926018796861172, -0.0002652848488651216, -0.06438632309436798, -0.0020106297452002764, -0.07443447411060333, -0.03294094279408455, 0.00006716856296407059, -0.031215883791446686, 0.04789093881845474, -0.004212967120110989, 0.04916173964738846, -0.005862702615559101, -0.01673739217221737, -0.0073000346310436726, -0.026281902566552162, -0.07592315226793289, -0.05784054473042488, 0.0021905729081481695, 0.023249639198184013, -0.04000941663980484, -0.0019562323577702045, 0.00824571494013071, -0.0315033420920372, -0.0007719098939560354, 0.007133775390684605, 0.010436384938657284, 0.01767747662961483, -0.006463677156716585, -0.0049347179010510445, -0.030842075124382973, 0.03297729790210724, 0.024838635697960854, 0.012146610766649246, 0.004173801746219397, 0.008053421974182129 ]
Accelerate BERT inference with Hugging Face Transformers and AWS inferentia
philschmid
March 16, 2022
bert-inferentia-sagemaker
partnerships, aws, guide, nlp
https://huggingface.co/blog/bert-inferentia-sagemaker
Tutorial In this end-to-end tutorial, you will learn how to speed up BERT inference for text classification with Hugging Face Transformers, Amazon SageMaker, and AWS Inferentia. You can find the notebook here: sagemaker/18_inferentia_inference You will learn how to: - 1. Convert your Hugging Face Transformer to AWS Neuron - 2. Create a custom inference.py script for text-classification - 3. Create and upload the neuron model and inference script to Amazon S3 - 4. Deploy a Real-time Inference Endpoint on Amazon SageMaker - 5. Run and evaluate Inference performance of BERT on Inferentia Let's get started! 🚀 --- If you are going to use Sagemaker in a local environment (not SageMaker Studio or Notebook Instances), you need access to an IAM Role with the required permissions for Sagemaker. You can find here more about it.
[ -0.04292536899447441, -0.019459707662463188, -0.008529703132808208, 0.010107491165399551, 0.025917906314134598, 0.039145175367593765, 0.058223579078912735, 0.051173388957977295, -0.015001378953456879, -0.029473887756466866, -0.05218328535556793, 0.05334952101111412, 0.010093944147229195, 0.06890663504600525, 0.01245579682290554, -0.059000078588724136, 0.02945435233414173, 0.03475826978683472, -0.0041550700552761555, 0.009244265966117382, 0.0012080154847353697, -0.039916738867759705, 0.020769372582435608, 0.015702154487371445, 0.01798255182802677, -0.02861061878502369, 0.003224217565730214, -0.02059614658355713, 0.0019366814522072673, 0.050977520644664764, -0.07527642697095871, -0.030208753421902657, 0.02974795177578926, -0.038238510489463806, -0.042304981499910355, 0.03715534135699272, -0.1411873698234558, 0.027574939653277397, 0.03464555740356445, 0.0016663142014294863, -0.024940401315689087, -0.016188882291316986, -0.06377872079610825, 0.02447960525751114, 0.02145441062748432, -0.021454786881804466, -0.10952405631542206, 0.04843250289559364, 0.008647730574011803, -0.011403976008296013, -0.06288951635360718, 0.13780054450035095, -0.04304802045226097, -0.049587517976760864, -0.027382515370845795, 0.0015943547477945685, -0.02157791703939438, -0.07970727980136871, 0.012394080869853497, -0.00849058385938406, -0.014891806058585644, -0.037182360887527466, -0.012489370070397854, 0.036277394741773605, 0.05744123086333275, 0.028066717088222504, -0.03879576176404953, -0.04130089282989502, -0.040849633514881134, 0.020828785374760628, -0.02416250668466091, -0.05004927143454552, -0.008610216900706291, -0.023789500817656517, -0.01699284091591835, -0.038331277668476105, 0.06068241968750954, -0.006903971079736948, 0.041004057973623276, 0.03450404852628708, -0.04467550665140152, -0.017630087211728096, -0.0402039960026741, 0.03015894815325737, 0.019438067451119423, 0.016673583537340164, 0.02188895456492901, -0.07140479236841202, -0.04741571843624115, 0.05100701004266739, 0.017245544120669365, -0.09338552504777908, -0.03133096173405647, 0.018535660579800606, 0.021058855578303337, 0.04312848299741745, 0.012554449029266834, 0.02562156692147255, -0.0439746119081974, -0.0844651535153389, 0.07671451568603516, -0.094965860247612, 0.02962002158164978, -0.06435919553041458, -0.03920692950487137, 0.05184100568294525, 0.0020586582832038403, -0.11367484927177429, -0.006744476966559887, 0.03835746645927429, -0.004765618126839399, -0.009539531543850899, -0.025896018370985985, 0.077622190117836, -0.14026880264282227, 0.009538321755826473, 0.02420281432569027, -0.014238854870200157, -0.003525346517562866, 0.00015904789324849844, 0.05204997956752777, 0.06896189600229263, 0.04315320402383804, -0.029024453833699226, -0.029158664867281914, 0.029767446219921112, 0.02099999226629734, -0.027758633717894554, 0.041972894221544266, 0.041314538568258286, 0.06861510127782822, -0.07056369632482529, 0.045997124165296555, -0.033854804933071136, 0.04071669653058052, -0.03559965267777443, -0.02034611999988556, -0.07834913581609726, -0.01640305668115616, 0.037021148949861526, 0.023009836673736572, 0.06880471855401993, 0.029266919940710068, -0.010396664030849934, 0.08142886310815811, 0.026507757604122162, -0.04976433515548706, 0.026677105575799942, -0.014092068187892437, 0.07425371557474136, -0.16419433057308197, 0.04430629312992096, -0.02281670831143856, -0.059733472764492035, 0.00674381572753191, 0.09235133975744247, 0.00013856342411600053, -0.03629051148891449, -0.06312956660985947, -0.05303315818309784, 0.005103419069200754, -0.04789576306939125, 0.009657762944698334, 0.006016813218593597, -0.015122952871024609, -0.06547996401786804, 0.038367439061403275, 0.010844595730304718, 0.057154253125190735, -0.008005058392882347, 0.038430746644735336, -0.05899477005004883, 0.06409609317779541, -0.020959176123142242, 0.042558081448078156, 0.03946056216955185, -0.004105667117983103, 0.05189570039510727, -0.049153439700603485, -0.05021355301141739, -0.02878020890057087, 0.07671675831079483, -0.019614851102232933, 0.010713687166571617, 0.050954755395650864, -0.06231684237718582, 0.08586154133081436, -0.027629325166344643, 0.02839472144842148, -0.04276833310723305, 0.01064657885581255, 0.00013390270760282874, 0.08629141747951508, 0.007503739558160305, 0.008142287842929363, 0.027316398918628693, 0.011175695806741714, 0.0974918082356453, 0.002723897574469447, 0.047328997403383255, -0.006381261628121138, -0.038977786898612976, 0.02854478918015957, 0.032395947724580765, 0.008753690868616104, 0.02774401754140854, -0.028727997094392776, -0.010329821147024632, 0.05621194839477539, -0.006643814966082573, -0.012300057336688042, -0.10324299335479736, 0.021182334050536156, -0.09048484265804291, -0.003950700629502535, -0.025407113134860992, -0.027385288849473, -0.000987767823971808, 0.035609111189842224, -0.013066982850432396, 0.12659761309623718, -0.05060722678899765, -0.0006723867845721543, -0.034474194049835205, -0.036747246980667114, -0.019504904747009277, 0.04775907099246979, 0.06286223977804184, 0.11633597314357758, -0.04867485538125038, -0.0561591237783432, -0.03554074466228485, 0.008773642592132092, -0.01734020747244358, -0.05177189037203789, -0.035566139966249466, -0.005245823413133621, -0.058697350323200226, -0.019459016621112823, -0.011805960908532143, 0.0403895229101181, 0.006335453595966101, 0.0014873066684231162, 0.022338438779115677, 0.014405373483896255, -0.0005880056996829808, 0.05165053904056549, 0.027527788653969765, 0.018527887761592865, 0.024074111133813858, -0.06716747581958771, 0.04495978727936745, -0.011601913720369339, -0.011405069380998611, 0.04221062362194061, 0.04244757816195488, -0.04668420925736427, 0.00482381135225296, 0.007809612900018692, 0.05621243268251419, 0.02596486173570156, -0.0023199834395200014, 0.011929839849472046, 0.02236635982990265, -0.03145488724112511, -0.0680197924375534, -0.047919392585754395, 0.013945507816970348, 0.005052416585385799, -0.020202582702040672, 0.02105419896543026, -0.02573033608496189, 0.02289522811770439, -0.011255135759711266, 0.044609151780605316, 0.020121295005083084, 0.0763426274061203, 0.00726259546354413, 0.009285837411880493, -0.02846900373697281, 0.011188996955752373, -0.052386656403541565, 0.004920228384435177, 0.034705206751823425, 0.012294745072722435, -0.018562503159046173, -0.004206840880215168, -0.05473250150680542, -0.02966955117881298, -0.0007221697014756501, 0.020160207524895668, 0.04648902267217636, -0.013411927036941051, -0.025359120219945908, -0.009868758730590343, 0.053511299192905426, 0.006352039985358715, -0.03524353355169296, -0.00609227828681469, 0.03609630465507507, -0.008365551009774208, -0.025515301153063774, -0.012648661620914936, -0.010372868739068508, -0.04232827574014664, 0.028003882616758347, 0.01585785485804081, -0.002752826316282153, -0.07306090742349625, -0.00833006203174591, -0.031936969608068466, -0.005042870994657278, 0.015529663302004337, -0.008684570901095867, 0.05363285914063454, -0.015762705355882645, -0.008224216289818287, 0.0428723581135273, -0.004554213490337133, 0.029597660526633263, 0.044892922043800354, -0.010862410068511963, -0.01492712739855051, 0.004105623811483383, -0.030415117740631104, -0.0034840882290154696, 0.012832112610340118, 0.030983872711658478, -0.0447610504925251, 0.020151250064373016, 0.0009022054146043956, -0.03928578644990921, 0.0459890216588974, 0.01467976439744234, 0.027314672246575356, 0.010248073376715183, 0.05011787638068199, -0.004882265813648701, -0.005972865503281355, -0.036339517682790756, -0.004549638368189335, -0.008199719712138176, -0.022186672315001488, 0.01459879893809557, 0.007114011328667402, 0.05505356937646866, 0.03925320878624916, 0.027420345693826675, -0.02709784172475338, 0.016950512304902077, -0.005010026041418314, 0.007354396861046553, 0.017015259712934494, 0.02353992499411106, 0.012061342597007751, 0.023138558492064476, 0.0018054950051009655, -0.018935972824692726, 0.011093237437307835, 0.018238065764307976, 0.012343020178377628, 0.008453937247395515, 0.00986365508288145, 0.005160986911505461, 0.03369370475411415, 0.003857108997181058, 0.05017704889178276, -0.035845160484313965, -0.03939620405435562, 0.05744696408510208, -0.006030711345374584, -0.0796063095331192, -0.010641161352396011, 0.03604711592197418, 0.053103141486644745, 0.02508227713406086, 0.03309199959039688, 0.00529364263638854, -0.006541619077324867, 0.03385094553232193, 0.0036171916872262955, -0.002652484690770507, -0.030867701396346092, 0.025141168385744095, -0.05534837022423744, -0.03672504425048828, 0.023110367357730865, 0.043344251811504364, -0.005323261953890324, 0.0003819743578787893, -0.031008385121822357, -0.03563711419701576, 0.04332464933395386, -0.0108643164858222, 0.00548767251893878, -0.0676070973277092, 0.030677590519189835, 0.029398523271083832, -0.0006415168172679842, -0.03640139847993851, -0.0026424736715853214, -0.027710674330592155, -0.016637161374092102, -0.03405759111046791, 0.03370683267712593, -0.007185975089669228, -0.007977530360221863, -0.018524985760450363, 0.003568317973986268, -0.01534265000373125, 0.0220800694078207, 0.0054472582414746284, -0.02143743820488453, 0.024177411571145058, 0.0026078615337610245, 0.00794178619980812, 0.026182297617197037, -0.013042749837040901, 0.021893341094255447, -0.001653633313253522, -0.014279401861131191, 0.006096066907048225, 0.015110873617231846, 0.03901250660419464, -0.011714708991348743, -0.037475574761629105, -0.016118399798870087, 0.0215099286288023, -0.016416320577263832, 0.04559427872300148, 0.002048807218670845, -0.03444826230406761, 0.027009887620806694, 0.018459586426615715, 0.02623557113111019, 0.08171345293521881, -0.005142550449818373, -0.043828729540109634, -0.010607694275677204, -0.0072451746091246605, 0.05301687493920326, 0.020901300013065338, 0.04839276149868965, -0.015788773074746132, -0.0005440912791527808, -0.016377877444028854, 0.029190819710493088, 0.033250074833631516, -0.014204377308487892, 0.006075890269130468, 0.02199658192694187, -0.031101783737540245, 0.0018623594660311937, -0.00677836500108242, -0.03955083340406418, -0.02647327445447445, -0.0567757822573185, 0.04547003284096718, 0.03468666225671768, -0.005092731676995754, -0.02597949281334877, 0.0016656649531796575, 0.04510318860411644, -0.004999972879886627, -0.003919544164091349, 0.00174036156386137, 0.05673016235232353, 0.04942312091588974, 0.0001640534319449216, 0.03754096478223801, 0.005664724390953779, -0.023221436887979507, 0.08751256763935089, 0.03188551962375641, -0.021734867244958878, -0.039854370057582855, 0.00809665396809578, 0.004788029473274946, -0.062248595058918, 0.029181871563196182, -0.005729201715439558, -0.028448427096009254, 0.0024197236634790897, 0.055694472044706345, 0.009778019040822983, 0.006712388712912798, 0.002581327920779586, 0.00980649795383215, -0.03248308598995209, -0.04651713743805885, -0.010733887553215027, -0.004271589685231447, -0.028842726722359657, 0.01989443227648735, 0.0706896260380745, 0.04370623081922531, -0.012625587172806263, 0.019777841866016388, 0.004598341882228851, 0.0032385431695729494, 0.020863527432084084, -0.07832545042037964, 0.03082193061709404, -0.034354232251644135, 0.022171296179294586, 0.015141901560127735, -0.036767128854990005, 0.004850625526160002, 0.00014022059622220695, 0.03504639118909836, -0.04624272137880325, -0.03259469196200371, 0.04233584925532341, -0.02239600382745266, 0.011365569196641445, -0.02429022267460823, 0.0036269116681069136, -0.000521401409059763, 0.010929910466074944, 0.014746028929948807, 0.035817887634038925, 0.01828743889927864, -0.011621159501373768, -0.02305774576961994, 0.019496336579322815, 0.054524462670087814, 0.035360150039196014, 0.0475265234708786, -0.04487995803356171, -0.023627186194062233, -0.004716977942734957, -0.019281186163425446, 0.0017404906684532762, -0.04901837557554245, 0.00704412255436182, -0.02209114283323288, 0.0015198420733213425, 0.02257656864821911, 0.018174055963754654, -0.002650646725669503, -0.012854288332164288, 0.05016375333070755, 0.0008636019192636013, -0.014569679275155067, -0.015705600380897522, 0.03527294099330902, 0.058096744120121, -0.01028779149055481, 0.0017955726943910122, -0.03408198058605194, -0.0037719886749982834, -0.0013152637984603643, -0.032210785895586014, 0.0302769523113966, 0.05940132960677147, -0.02813708782196045, 0.02001946233212948, 0.017276577651500702, 0.013805177994072437, -0.00608589593321085, 0.02335234358906746, 0.018852682784199715, 0.015255787409842014, 0.006967680063098669, 0.015078246593475342, -0.0020654357504099607, -0.0009356477530673146, 0.025569787248969078, 0.01585802063345909, -0.07567404955625534, 0.038286786526441574, -0.00688156159594655, -0.03565361723303795, 0.011435036547482014, 0.008318373002111912, -0.03966164216399193, 0.03125041723251343, 0.03914497792720795, 0.015627628192305565, -0.004360388498753309, -0.0091049550101161, -0.015028184279799461, 0.00514734024181962, 0.00910993292927742, 0.008580860681831837, 0.053602561354637146, -0.034419987350702286, -0.009919663891196251, -0.007979394868016243, 0.03976568207144737, 0.02090558223426342, -0.015410021878778934, 0.040769949555397034, -0.020198974758386612, 0.06040465831756592, -0.02072531171143055, 0.01265539787709713, 0.013011844828724861, -0.03507883846759796, -0.0162022914737463, -0.02603738382458687, -0.0018950275843963027, -0.04492412507534027, -0.016354219987988472, 0.05043528601527214, 0.009397413581609726, 0.009272984229028225, -0.026273300871253014, 0.0603281706571579, 0.049110740423202515, 0.08791202306747437, -0.011034732684493065, 0.01961997151374817, 0.03646058589220047, -0.0004819464811589569, 0.0011511559132486582, -0.008624129928648472, 0.03946066275238991, -0.03341508284211159, -0.004152735695242882, 0.012565982528030872, 0.040619317442178726, 0.003905520075932145, -0.02457386441528797, -0.028662724420428276, -0.009893300011754036, -0.024959493428468704, 0.013232840225100517, 0.008290653117001057, -0.0008045797003433108, -0.01593046821653843, 0.014588555321097374, -0.027553997933864594, 0.05944910645484924, -0.02525367960333824, -0.014574908651411533, -0.004206725396215916, -0.001912877312861383, 0.034024931490421295, 0.01728266105055809, 0.023633848875761032, -0.05191458389163017, 0.024738484993577003, -0.0058265551924705505, 0.021556982770562172, -0.01943858712911606, -0.007248229812830687, -0.035211510956287384, -0.0017786684911698103, -0.04893984645605087, -0.04470517858862877, -0.0057158926501870155, -0.03521651774644852, -0.01909058168530464, 0.014245793223381042, 0.04316478222608566, 0.018460772931575775, 0.028031451627612114, -0.010464324615895748, 0.02019594982266426, -0.018012143671512604, 0.019398920238018036, 0.008629120886325836, -0.032140254974365234, 0.002239448484033346, -0.029238462448120117, -0.02482563443481922, 0.0048384047113358974, 0.003964411560446024, 0.0069474526681005955, 0.04023480787873268, 0.007068795617669821, -0.030925028026103973, 0.015685301274061203, 0.047826364636421204, -0.04971734434366226, 0.044897060841321945, 0.025559723377227783, 0.004673485644161701, -0.024121245369315147, -0.007732910104095936, -0.012472330592572689, 0.012781519442796707, -0.02501308172941208, 0.05303888022899628, -0.028625929728150368, -0.0462619923055172, -0.021707981824874878, 0.02018287591636181, 0.006878682412207127, -0.019983384758234024, 0.040657345205545425, -0.014682692475616932, -0.004890555515885353, -0.017091017216444016, -0.005870555993169546, -0.045633040368556976, -0.034839190542697906, -0.04952174797654152, -0.03658202663064003, -0.040170107036828995, 0.013529843650758266, -0.018314743414521217, 0.06667220592498779, -0.05010594055056572, -0.021416787058115005, -0.03357731178402901, 0.004309322219341993, -0.024090507999062538, -0.004053887911140919, 0.06467115134000778, 0.053597625344991684, 0.03814154118299484, -0.005300599150359631, -0.01828073523938656, -0.012871881015598774, -0.02313072979450226, 0.05355832725763321, 0.04180173575878143, 0.01706361584365368, 0.011649124324321747, -0.017915496602654457, -0.026604315266013145, 0.01193228829652071, -0.032105110585689545, 0.03586282208561897, -0.010147487744688988, -0.012808733619749546, -0.015115194022655487, 0.010050219483673573, 0.044919729232788086, 0.008955497294664383, 0.01989935338497162, -0.01596875488758087, -0.00692530395463109, -0.030882544815540314, -0.005872727371752262, -0.06190480664372444, 0.004198495298624039, 0.0015708080027252436, -0.05044158548116684, 0.031010210514068604, -0.011000782251358032, 0.06175689399242401, -0.029620707035064697, -0.02430947870016098, -0.023539552465081215, -0.008617054671049118, -0.07776214927434921, -0.07317788153886795, 0.015496503561735153, 0.04817364364862442, -0.01801919750869274, -0.012957426719367504, 0.0011967502068728209, -0.05184435471892357, -0.010545559227466583, -0.015487010590732098, -0.01826002262532711, -0.00023030351439956576, -0.04404069483280182, 0.012871840037405491, 0.003697062376886606, 0.03366336598992348, 0.055933911353349686, 0.024851497262716293, 0.011607073247432709, 0.011368989013135433 ]
Accelerate BERT inference with Hugging Face Transformers and AWS inferentia
philschmid
March 16, 2022
bert-inferentia-sagemaker
partnerships, aws, guide, nlp
https://huggingface.co/blog/bert-inferentia-sagemaker
3. Create and upload the neuron model and inference script to Amazon S3 Before we can deploy our neuron model to Amazon SageMaker we need to create a model.tar.gz archive with all our model artifacts saved into tmp/, e.g. neuron_model.pt and upload this to Amazon S3. To do this we need to set up our permissions. python import sagemaker import boto3 sess = sagemaker.Session() # sagemaker session bucket -> used for uploading data, models and logs # sagemaker will automatically create this bucket if it not exists sagemaker_session_bucket=None if sagemaker_session_bucket is None and sess is not None: # set to default bucket if a bucket name is not given sagemaker_session_bucket = sess.default_bucket() try: role = sagemaker.get_execution_role() except ValueError: iam = boto3.client('iam') role = iam.get_role(RoleName='sagemaker_execution_role')['Role']['Arn'] sess = sagemaker.Session(default_bucket=sagemaker_session_bucket) print(f"sagemaker role arn: {role}") print(f"sagemaker bucket: {sess.default_bucket()}") print(f"sagemaker session region: {sess.boto_region_name}") Next, we create our model.tar.gz. The inference.py script will be placed into a code/ folder. python # copy inference.py into the code/ directory of the model directory. !cp -r code/ tmp/code/ # create a model.tar.gz archive with all the model artifacts and the inference.py script. %cd tmp !tar zcvf model.tar.gz * %cd .. Now we can upload our model.tar.gz to our session S3 bucket with sagemaker. python from sagemaker.s3 import S3Uploader # create s3 uri s3_model_path = f"s3://{sess.default_bucket()}/{model_id}" # upload model.tar.gz s3_model_uri = S3Uploader.upload(local_path="tmp/model.tar.gz",desired_s3_uri=s3_model_path) print(f"model artifcats uploaded to {s3_model_uri}")
[ 0.006520934868603945, 0.009208779782056808, -0.06210730969905853, 0.08439341187477112, 0.024713993072509766, 0.06265339255332947, -0.008248739875853062, 0.00014811134315095842, -0.052536942064762115, 0.03209441900253296, -0.014250464737415314, 0.005036559421569109, 0.009703665040433407, 0.08492555469274521, -0.02548268996179104, -0.052573710680007935, 0.05321018397808075, 0.018510358408093452, 0.007399845868349075, 0.0016989100258797407, -0.0021161672193557024, -0.04334268346428871, -0.06080697104334831, -0.012079418636858463, 0.03519166633486748, -0.04201944172382355, -0.008543280884623528, 0.005099842324852943, -0.027368348091840744, 0.060100335627794266, -0.03192523494362831, 0.021131863817572594, -0.005400586873292923, -0.02107818052172661, 0.035370513796806335, 0.026238253340125084, -0.12509262561798096, 0.02764633484184742, 0.04901701584458351, -0.05519026517868042, 0.005065815523266792, 0.03178927302360535, -0.09145914763212204, 0.07828125357627869, 0.03814748302102089, -0.031521786004304886, -0.10631126165390015, 0.06081356853246689, 0.03417512774467468, 0.05409758538007736, -0.0849258080124855, 0.11467880755662918, -0.05471372976899147, -0.08768009394407272, -0.061345282942056656, 0.017101701349020004, 0.026599451899528503, -0.030643342062830925, -0.016860390082001686, -0.0008357008337043226, 0.009024228900671005, -0.03586145117878914, 0.0005289961118251085, 0.024288449436426163, 0.032945360988378525, -0.013655670918524265, 0.04896659776568413, 0.019782893359661102, -0.00789950042963028, -0.012260311283171177, -0.024266274645924568, -0.07738102227449417, 0.005303667858242989, -0.0804978460073471, -0.028182480484247208, -0.06145767495036125, 0.03658568859100342, -0.010524561628699303, 0.03633228316903114, 0.06495682150125504, -0.01813780702650547, 0.0028757224790751934, 0.006054640747606754, -0.008008246310055256, 0.03219326585531235, 0.008693051524460316, -0.012400456704199314, -0.06552993506193161, -0.012281094677746296, 0.0345158725976944, 0.0181162990629673, -0.0409570075571537, 0.0005432852194644511, 0.018463438376784325, 0.019545866176486015, 0.025630977004766464, 0.008713798597455025, -0.01911371760070324, 0.020516561344265938, -0.04391888529062271, 0.05667264387011528, -0.011833308264613152, -0.010007835924625397, -0.03986905887722969, -0.017303263768553734, 0.05676117539405823, 0.017693625763058662, -0.08021889626979828, -0.013679474592208862, -0.006849667988717556, 0.03440001606941223, -0.00450043985620141, -0.0017749301623553038, 0.005458788946270943, -0.10791447013616562, 0.005017571616917849, -0.013864907436072826, -0.08681720495223999, 0.030568130314350128, 0.04663224518299103, 0.06928978115320206, 0.04500860720872879, 0.07428988814353943, -0.0026573820505291224, 0.014060909859836102, 0.0319756381213665, 0.0022025126963853836, -0.07077240198850632, 0.014655092731118202, -0.00919061154127121, 0.024737823754549026, -0.057003602385520935, 0.0854666605591774, -0.045044418424367905, 0.04138536378741264, -0.06518098711967468, -0.055085036903619766, -0.03664044290781021, 0.018744276836514473, 0.03476425260305405, 0.031446423381567, 0.053305622190237045, 0.04479235038161278, 0.040447913110256195, 0.12026882916688919, 0.027742687612771988, 0.02098422311246395, 0.06259410828351974, 0.013387990184128284, 0.09169503301382065, -0.08657880872488022, 0.034966133534908295, 0.01799798384308815, -0.09945602715015411, -0.041932400315999985, 0.08403198421001434, -0.03661372512578964, 0.013121074065566063, -0.004615833982825279, -0.06738977879285812, 0.039785657078027725, -0.08340252935886383, -0.03770726919174194, 0.010368012823164463, -0.03084443509578705, -0.045975588262081146, 0.07867759466171265, -0.028783675283193588, 0.047815676778554916, -0.04625236615538597, -0.010237149894237518, -0.08466383069753647, 0.07759986817836761, 0.025448540225625038, 0.06185842305421829, 0.025011813268065453, 0.019076146185398102, 0.07125735282897949, -0.033699311316013336, -0.0421525314450264, -0.049562279134988785, 0.056313011795282364, -0.09470414370298386, 0.013951626606285572, 0.011966700665652752, -0.048136156052351, 0.0909493938088417, -0.04500451311469078, 0.047030989080667496, -0.004696402233093977, 0.02850240468978882, -0.053477007895708084, 0.05322253704071045, -0.003800873411819339, 0.0756659135222435, 0.012020810507237911, -0.015040271915495396, 0.05542641505599022, 0.026757214218378067, 0.04424725100398064, 0.0034690098837018013, -0.020907094702124596, -0.020856039598584175, 0.012458418495953083, -0.03699266538023949, 0.09435801953077316, 0.001132725621573627, -0.047775059938430786, 0.06452490389347076, 0.008819026872515678, -0.011326982639729977, -0.08838264644145966, 0.049420472234487534, -0.10406190156936646, 0.00758611923083663, -0.0020310161635279655, -0.06169719621539116, -0.016036657616496086, -0.02901984378695488, -0.008303169161081314, 0.13405799865722656, -0.024264436215162277, 0.047961898148059845, -0.02423528954386711, -0.01190277747809887, 0.012114188633859158, 0.046620503067970276, 0.05992557480931282, 0.09693986177444458, -0.016599515452980995, -0.010337462648749352, -0.0511314682662487, -0.041530780494213104, 0.05038267374038696, 0.002069852314889431, -0.010404396802186966, -0.0005355775938369334, -0.04198110103607178, -0.05936536192893982, -0.007647322490811348, 0.1050933450460434, 0.029018718749284744, -0.046451348811388016, -0.007906193844974041, -0.008731773123145103, 0.0027209369000047445, 0.11170089989900589, -0.030905265361070633, 0.0010726229520514607, 0.0161045640707016, -0.06703613698482513, 0.01564338244497776, 0.004970896057784557, 0.004877675790339708, 0.0801200196146965, 0.004955403506755829, 0.0056390538811683655, -0.020066827535629272, 0.03280221298336983, 0.05397854745388031, 0.004904493223875761, 0.02947005070745945, -0.008102896623313427, -0.023902032524347305, -0.03421581909060478, -0.003051640233024955, -0.01866852305829525, -0.026474306359887123, 0.014112857170403004, -0.013509446755051613, 0.010241220705211163, -0.020546654239296913, 0.01738041453063488, 0.0056927199475467205, 0.010831181891262531, 0.04059082642197609, 0.02830861508846283, -0.007944758981466293, 0.03377146273851395, 0.0015015793032944202, -0.008800113573670387, -0.062470223754644394, -0.01243846956640482, 0.02101544477045536, 0.022256476804614067, 0.0024637836031615734, 0.01028562244027853, -0.04390785098075867, 0.009213032200932503, 0.01757669262588024, -0.006543324328958988, 0.02495424821972847, 0.027243027463555336, -0.01773797534406185, -0.022045370191335678, 0.034340307116508484, -0.015055207535624504, -0.01926155388355255, -0.0030136562418192625, 0.05584564059972763, -0.02480893023312092, -0.03861919045448303, -0.002894768724218011, -0.005453442223370075, -0.047884389758110046, 0.046098075807094574, 0.03164225444197655, -0.021615637466311455, -0.0827123150229454, -0.008332869037985802, -0.012100372463464737, 0.007599349599331617, 0.039975203573703766, 0.019090555608272552, 0.035644736140966415, -0.01905142515897751, 0.010369136929512024, 0.044705767184495926, -0.0301697738468647, 0.031306907534599304, 0.030915532261133194, -0.002882095519453287, -0.010531666688621044, 0.02955489233136177, -0.04008113220334053, 0.022646840661764145, 0.023463090881705284, 0.009292034432291985, -0.06122817099094391, 0.05631740763783455, -0.0021240985952317715, -0.016850747168064117, 0.018278339877724648, 0.012416323646903038, 0.03454778715968132, 0.031077204272150993, 0.02231448143720627, -0.012615271843969822, -0.02368004620075226, -0.05340221896767616, -0.029488690197467804, -0.05079784616827965, -0.05696076154708862, -0.002479478484019637, -0.028988610953092575, 0.0529073104262352, 0.038150664418935776, 0.004645060747861862, -0.033948540687561035, -0.006225829478353262, 0.00928873848170042, 0.015702636912465096, 0.031430814415216446, 0.04474727436900139, 0.005301542580127716, 0.041404351592063904, 0.015040289610624313, -0.0199605580419302, -0.013353489339351654, 0.00463102525100112, 0.051641736179590225, -0.006252966355532408, 0.01900939829647541, -0.018968936055898666, 0.026440143585205078, 0.04444137215614319, 0.03870031237602234, -0.013545581139624119, -0.02177751623094082, 0.029878932982683182, 0.015772948041558266, -0.04221678525209427, -0.006395669188350439, 0.027996724471449852, 0.05090015009045601, 0.026098329573869705, 0.035156697034835815, 0.01991947740316391, -0.02004360593855381, 0.04006292298436165, -0.018892034888267517, 0.01367360819131136, -0.03375978022813797, 0.01084891241043806, -0.057350706309080124, -0.00945999100804329, 0.0035566347651183605, 0.05653068795800209, -0.026024306192994118, -0.013463993556797504, 0.0011243642074987292, -0.006429411470890045, 0.028746768832206726, 0.012660323642194271, -0.014921327121555805, -0.056013498455286026, 0.040842317044734955, 0.03101426549255848, -0.013677151873707771, -0.02762306109070778, 0.023873981088399887, -0.008863482624292374, -0.014664482325315475, -0.04535386711359024, 0.05207665637135506, -0.008861115202307701, -0.001245701452717185, -0.01493807416409254, -0.022882608696818352, -0.014456813223659992, -0.012421849183738232, -0.020914796739816666, -0.05089018493890762, -0.01991681568324566, -0.01699383370578289, -0.00765592884272337, -0.008689847774803638, -0.04122910276055336, 0.034185297787189484, 0.01585160568356514, 0.00406379671767354, -0.01689613051712513, 0.026974191889166832, 0.04927996173501015, -0.026426978409290314, -0.04361473023891449, 0.0187670961022377, 0.032314788550138474, -0.051935356110334396, 0.00971162784844637, -0.014301534742116928, -0.03872312605381012, 0.0068489317782223225, 0.005149711389094591, 0.03727457672357559, 0.01609313301742077, -0.026920152828097343, -0.02308732271194458, -0.0350516140460968, 0.001043809694238007, 0.013936574570834637, 0.03683831915259361, 0.0012243043165653944, 0.02232986129820347, 0.006249797064810991, 0.02956283837556839, 0.06202220544219017, 0.02074773982167244, -0.016116458922624588, 0.02944040484726429, 0.023613441735506058, -0.04550383612513542, -0.00283365068025887, 0.00968471821397543, -0.05359334498643875, -0.00206545926630497, -0.04086519032716751, 0.03498928248882294, 0.03654227778315544, 0.008473250083625317, -0.04253324121236801, -0.029787562787532806, 0.024872342124581337, -0.0205974318087101, 0.026525329798460007, -0.035602498799562454, 0.02735750377178192, 0.057289913296699524, -0.0025904958602041006, -0.012316668406128883, 0.0005798577913083136, -0.006295763421803713, 0.028660647571086884, 0.07745609432458878, 0.0034773361403495073, -0.07279510796070099, -0.00435284897685051, 0.025767134502530098, -0.08431803435087204, 0.0202412698417902, 0.008498611859977245, -0.029972348362207413, 0.022304916754364967, 0.0356653556227684, 0.019444027915596962, 0.03762032836675644, -0.030629627406597137, 0.02809624746441841, -0.009935488924384117, -0.043831244111061096, -0.00798394437879324, -0.023501329123973846, -0.021613987162709236, 0.009396767243742943, 0.028608927503228188, 0.04578906297683716, -0.024678485468029976, 0.010462731122970581, 0.007840955629944801, -0.003564703045412898, 0.024777930229902267, -0.030949363484978676, -0.011911631561815739, 0.010080014355480671, 0.028001463040709496, -0.0020349628757685423, 0.001286897575482726, -0.024675585329532623, 0.012833783403038979, 0.04951948672533035, -0.020727837458252907, -0.011991685256361961, 0.03863319754600525, -0.02407849393785, 0.006577237043529749, 0.03643340617418289, 0.01978680118918419, 0.030349304899573326, 0.028320908546447754, 0.003275511087849736, 0.01984497159719467, -0.007965004071593285, 0.01624992862343788, -0.00969019252806902, 0.000049601814680499956, 0.036587607115507126, 0.007129812613129616, 0.035128649324178696, -0.01623973436653614, -0.008942176587879658, 0.008856173604726791, -0.0009501009481027722, 0.020052872598171234, -0.02196749672293663, 0.028699059039354324, 0.017866263166069984, -0.01819021999835968, 0.03588411584496498, 0.009656844660639763, -0.0289643332362175, -0.014538023620843887, 0.005547046661376953, -0.02268797531723976, -0.021794497966766357, -0.008197602815926075, 0.06694720685482025, 0.017305415123701096, -0.04117592051625252, -0.0013595385244116187, -0.012098648585379124, -0.01725384220480919, 0.003931879065930843, -0.05958937853574753, 0.005420214030891657, 0.05013580620288849, -0.01227348018437624, 0.0062749916687607765, 0.006540668196976185, -0.009366271086037159, 0.006298442836850882, 0.044187821447849274, -0.010263622738420963, 0.0025187667924910784, -0.023636331781744957, 0.0034081321209669113, -0.005389716476202011, -0.015365256927907467, -0.031941987574100494, 0.03484005853533745, -0.0394606813788414, -0.001165841007605195, -0.005413626320660114, -0.010531958192586899, -0.011926588602364063, 0.0272238589823246, -0.0373721718788147, 0.013227509334683418, -0.025557998567819595, 0.06041915342211723, 0.0518881231546402, -0.017402110621333122, -0.0048105549067258835, -0.00827527604997158, 0.02770875208079815, 0.028842825442552567, 0.045731253921985626, -0.07367457449436188, -0.007773098070174456, -0.013685556128621101, 0.04648628830909729, 0.03712460398674011, 0.003774090902879834, 0.014818819239735603, -0.06868800520896912, 0.04970058053731918, -0.027328433468937874, 0.032591160386800766, 0.0229322649538517, -0.007344543002545834, -0.01513038482517004, -0.025934139266610146, 0.017123766243457794, -0.05236578360199928, 0.011224894784390926, -0.004262062255293131, -0.02184438146650791, 0.007075379136949778, -0.03411056846380234, 0.052281539887189865, 0.03999693691730499, 0.047610558569431305, 0.011312523856759071, 0.023669986054301262, 0.07556509226560593, -0.027242343872785568, 0.0037304593715816736, -0.006871718447655439, 0.03551195189356804, 0.010683736763894558, -0.009307513944804668, 0.012307764030992985, 0.040387239307165146, -0.020604370161890984, 0.0019430221291258931, 0.02457571029663086, -0.005888926796615124, 0.009638732299208641, -0.015103680081665516, 0.035701289772987366, -0.026079313829541206, -0.033598463982343674, -0.004548140801489353, -0.01757846586406231, -0.0012785732978954911, -0.026052476838231087, 0.0007225143490359187, -0.000670753070153296, -0.0162171833217144, -0.000013764743016508874, -0.03518889844417572, 0.01628386601805687, -0.06043436750769615, -0.016725361347198486, 0.011719703674316406, 0.004854632541537285, 0.001107599469833076, -0.006521427072584629, -0.010565021075308323, 0.014047520235180855, 0.004657873883843422, -0.07426735758781433, 0.028615722432732582, -0.02668740227818489, 0.009935279376804829, 0.010613498277962208, -0.012542552314698696, 0.010269682854413986, 0.03441930562257767, 0.020162593573331833, 0.02072635106742382, 0.021707242354750633, -0.013159049674868584, -0.020723141729831696, -0.0438467301428318, -0.02022087760269642, 0.00493345782160759, 0.005771540105342865, -0.00551961874589324, 0.052686117589473724, -0.0017505463911220431, -0.039850011467933655, 0.0042115431278944016, 0.002099549164995551, 0.003805355401709676, 0.05002646520733833, -0.03749563544988632, 0.02241014875471592, -0.014174639247357845, 0.008624243550002575, -0.006420818157494068, 0.015071655623614788, 0.01806887798011303, 0.039180658757686615, -0.04126967489719391, 0.012296689674258232, -0.03781362995505333, -0.010515155270695686, -0.006063683424144983, 0.055704645812511444, -0.021633369848132133, 0.01627943105995655, 0.006184095051139593, -0.009033126756548882, -0.001468008616939187, -0.015768107026815414, 0.003763524815440178, -0.02370160073041916, 0.00689301174134016, -0.05294163525104523, -0.05807853490114212, -0.04218074306845665, -0.013811487704515457, -0.0021837702952325344, 0.026713410392403603, -0.05395572632551193, -0.02104906737804413, -0.03236827254295349, -0.0225813165307045, -0.03853245824575424, -0.006525890436023474, 0.04635543003678322, 0.07555442303419113, 0.001215977012179792, -0.003954401705414057, -0.08378291130065918, -0.01858586259186268, 0.02414420060813427, 0.00967960711568594, 0.015676990151405334, -0.011029957793653011, 0.008349213749170303, 0.0010381987085565925, 0.030638203024864197, 0.004923954140394926, -0.02872982993721962, 0.04469902440905571, -0.0020464672707021236, -0.013997740112245083, -0.031010247766971588, 0.013264376670122147, 0.014783122576773167, 0.008051175624132156, 0.0016241294797509909, 0.0004613502824213356, -0.011692337691783905, -0.040342990309000015, 0.00029594270745292306, -0.05881650745868683, -0.007594041991978884, -0.0044643166474998, -0.06186579167842865, -0.022188883274793625, -0.0066999937407672405, -0.030856473371386528, -0.033778026700019836, -0.018747175112366676, -0.01567976176738739, 0.0036562872119247913, -0.04901536926627159, -0.05158369615674019, 0.012544889003038406, 0.041734661906957626, -0.016642209142446518, -0.0341247096657753, -0.039617471396923065, -0.04472716897726059, -0.02829050086438656, 0.0065437667071819305, 0.0039299242198467255, 0.0031084315851330757, 0.004194303881376982, -0.009248688817024231, -0.004277533385902643, 0.048907551914453506, 0.016796663403511047, 0.005725172348320484, -0.024178743362426758, 0.027121182531118393 ]
Accelerate BERT inference with Hugging Face Transformers and AWS inferentia
philschmid
March 16, 2022
bert-inferentia-sagemaker
partnerships, aws, guide, nlp
https://huggingface.co/blog/bert-inferentia-sagemaker
Conclusion We successfully managed to compile a vanilla Hugging Face Transformers model to an AWS Inferentia compatible Neuron Model. After that we deployed our Neuron model to Amazon SageMaker using the new Hugging Face Inference DLC. We managed to achieve 5-6ms latency per neuron core, which is faster than CPU in terms of latency, and achieves a higher throughput than GPUs since we ran 4 models in parallel. If you or you company are currently using a BERT-like Transformer for encoder tasks (text-classification, token-classification, question-answering etc.), and the latency meets your requirements you should switch to AWS Inferentia. This will not only save costs, but can also increase efficiency and performance for your models. We are planning to do a more detailed case study on cost-performance of transformers in the future, so stay tuned! Also if you want to learn more about accelerating transformers you should also check out Hugging Face optimum. --- Thanks for reading! If you have any questions, feel free to contact me, through Github, or on the forum. You can also connect with me on Twitter or LinkedIn.
[ -0.017557375133037567, -0.04239784553647041, -0.0179730411618948, 0.03047882951796055, -0.04830232635140419, 0.03497212752699852, 0.04474301636219025, 0.06995588541030884, -0.017503339797258377, -0.024490121752023697, -0.013578824698925018, 0.06723518669605255, 0.02278757654130459, 0.07589688897132874, 0.0024456949904561043, -0.08930458873510361, -0.007585807237774134, 0.01904280297458172, -0.006331655662506819, 0.03344795107841492, 0.01625148579478264, -0.05557500198483467, 0.023004043847322464, 0.05392802879214287, -0.03192133083939552, -0.07232942432165146, 0.011770864948630333, -0.036093033850193024, -0.005892090033739805, 0.03183889389038086, -0.045258842408657074, -0.03909212350845337, 0.025846995413303375, -0.05245320126414299, -0.031567178666591644, 0.008039680309593678, -0.16211843490600586, 0.031443726271390915, 0.014614568091928959, -0.04207827150821686, 0.009396905079483986, 0.004027455113828182, -0.09510171413421631, 0.03673918545246124, 0.0026658170390874147, 0.041854776442050934, -0.06393057852983475, 0.051726192235946655, -0.01564767211675644, 0.005850337911397219, -0.06754907965660095, 0.08536340296268463, -0.014731225557625294, -0.0009250989533029497, 0.013681763783097267, 0.0017840000800788403, -0.014378379099071026, -0.07123000919818878, -0.002985287457704544, -0.004074599593877792, -0.012904119677841663, -0.06572466343641281, -0.04138936102390289, -0.0008939754334278405, 0.02166360430419445, 0.018381480127573013, -0.010595844127237797, -0.05283088609576225, -0.03770869970321655, -0.02887554094195366, -0.008542537689208984, -0.09671512246131897, 0.009718558751046658, -0.03951278328895569, -0.04708928242325783, -0.030874766409397125, 0.01934516802430153, -0.01921328343451023, 0.04573659971356392, 0.05809875205159187, -0.08401135355234146, 0.01970316283404827, 0.002444537589326501, 0.029661454260349274, 0.046104736626148224, 0.06885264068841934, 0.02153344638645649, -0.06951739639043808, -0.062433961778879166, 0.003460012376308441, -0.01101295929402113, -0.097091443836689, -0.018127085641026497, 0.028906425461173058, 0.025958850979804993, 0.044759977608919144, 0.010305020958185196, -0.002191926585510373, -0.05193513631820679, -0.05899030715227127, 0.057636599987745285, -0.0589451789855957, 0.00730737391859293, -0.06840994209051132, -0.026742059737443924, 0.026850378140807152, -0.046090733259916306, -0.1550387293100357, 0.00807255133986473, 0.031221700832247734, -0.0019598891958594322, -0.005236593075096607, 0.011245565488934517, 0.049853093922138214, -0.16065865755081177, 0.055257976055145264, -0.013851126655936241, -0.007928676903247833, 0.03197040408849716, 0.010091176256537437, 0.07194450497627258, 0.040784478187561035, 0.017528347671031952, -0.05374528840184212, 0.001240682671777904, 0.06458231061697006, 0.023444833233952522, -0.03136155754327774, 0.008496259339153767, 0.016617340967059135, 0.036696240305900574, -0.09942372143268585, 0.03495645523071289, -0.008849414065480232, 0.011659376323223114, -0.08696241676807404, -0.07452140748500824, -0.07719261944293976, -0.04886973276734352, 0.022057272493839264, -0.023626189678907394, 0.05434836447238922, 0.05198529362678528, -0.017073921859264374, 0.078006811439991, 0.004916852805763483, -0.07205954194068909, 0.04483037441968918, 0.03387182950973511, 0.038590215146541595, -0.15889014303684235, 0.05614922195672989, -0.053175222128629684, -0.053934499621391296, 0.002276665298268199, 0.07981454581022263, 0.02701316401362419, -0.0746651440858841, -0.051555704325437546, -0.07706660032272339, -0.05611877515912056, -0.06387993693351746, -0.015839144587516785, -0.021398432552814484, 0.022184135392308235, -0.01547935325652361, 0.06402528285980225, -0.0010802585165947676, 0.030563484877347946, -0.0034745358861982822, 0.018820272758603096, 0.004990058485418558, 0.03858963027596474, -0.04968617856502533, 0.011347212828695774, 0.03508342429995537, 0.024903444573283195, 0.1164669319987297, -0.000617975601926446, -0.05864320695400238, -0.01759200543165207, 0.05390816554427147, 0.006548596546053886, 0.03756030648946762, 0.060903824865818024, -0.041891779750585556, 0.052737291902303696, -0.01935475319623947, -0.013112599030137062, -0.0029286681674420834, 0.058827102184295654, -0.006370637100189924, 0.07529201358556747, -0.0006516167195513844, 0.04272277280688286, 0.002250461373478174, -0.034072667360305786, 0.09725586324930191, 0.004188691731542349, 0.07934308797121048, 0.026782896369695663, -0.018908191472291946, 0.028991907835006714, 0.001834606402553618, -0.046552788466215134, -0.017529025673866272, -0.052725233137607574, -0.028817830607295036, 0.021497100591659546, 0.006047634407877922, 0.006840960122644901, -0.12281916290521622, -0.0011547120520845056, -0.06429387629032135, 0.00875016674399376, -0.031016934663057327, 0.009188864380121231, 0.01412824634462595, 0.014633342623710632, -0.024098506197333336, 0.12108825147151947, -0.017066827043890953, 0.009515437297523022, -0.05376226454973221, -0.01624911092221737, -0.00767403282225132, 0.03582080453634262, 0.028375597670674324, 0.06998323649168015, -0.056957803666591644, -0.03492414206266403, -0.05231630429625511, -0.03627079725265503, 0.02813439629971981, -0.02896822802722454, -0.031071918085217476, 0.006602175533771515, -0.0020233364775776863, 0.02952416241168976, 0.014937825500965118, 0.0010926772374659777, 0.013968116603791714, 0.029791921377182007, 0.00042385945562273264, 0.01615023985505104, -0.001306375372223556, -0.0014391159638762474, -0.01024726964533329, -0.0022014277055859566, 0.009208776988089085, -0.1022263616323471, 0.034710295498371124, -0.0013392845867201686, -0.032056886702775955, 0.04637882485985756, 0.05155372619628906, -0.04655901715159416, 0.0029759928584098816, 0.011089897714555264, 0.028491493314504623, 0.023376846686005592, 0.004808469675481319, 0.00029422101215459406, -0.0029145271982997656, -0.004619523882865906, -0.060475513339042664, -0.04115242511034012, -0.009077178314328194, 0.004960536491125822, -0.015969229862093925, 0.024590278044342995, -0.020210064947605133, -0.0010126422857865691, -0.002571860793977976, 0.012673650868237019, 0.025925064459443092, 0.061504170298576355, 0.00547740887850523, 0.01021838653832674, -0.014725163578987122, 0.020228108391165733, -0.031334344297647476, 0.01765902154147625, 0.040093813091516495, 0.0003975908912252635, 0.0030240043997764587, 0.013364310376346111, -0.03626951202750206, -0.06497598439455032, -0.002181666437536478, 0.05820923671126366, -0.002521086484193802, 0.015729736536741257, -0.02704201266169548, -0.012169932015240192, 0.017007114365696907, 0.017001725733280182, -0.057392287999391556, -0.00809342972934246, 0.03183254972100258, -0.013283015228807926, -0.01169591024518013, -0.0021798782981932163, 0.003786759451031685, -0.014392410404980183, -0.001930763479322195, 0.04140573367476463, 0.03266269713640213, -0.07346170395612717, -0.016947787255048752, -0.06056879833340645, 0.04716750979423523, -0.00537909148260951, -0.025760045275092125, 0.02886723168194294, 0.016006141901016235, 0.025975165888667107, 0.0315190926194191, 0.009291371330618858, 0.01322147250175476, 0.005742732435464859, 0.004625268280506134, -0.003259905381128192, -0.008229628205299377, 0.010412171483039856, -0.008826476521790028, -0.005009032320231199, 0.027772102504968643, -0.02460367977619171, 0.035016026347875595, 0.02031518891453743, -0.006556080654263496, 0.024146543815732002, -0.0036521097645163536, 0.04673245549201965, -0.034823186695575714, 0.05415897071361542, -0.018181029707193375, -0.03342590481042862, -0.03459060564637184, 0.013612610287964344, 0.005676587112247944, -0.02342740073800087, -0.005396033637225628, -0.03150526434183121, 0.033455055207014084, 0.06859777122735977, 0.03278724476695061, -0.007605925668030977, -0.022121742367744446, 0.02769831381738186, -0.009162885136902332, 0.05750575661659241, 0.008875944651663303, 0.023525113239884377, 0.0213736854493618, 0.00870079081505537, -0.03979914262890816, -0.009174611419439316, 0.009177480824291706, 0.007496489677578211, 0.04409438744187355, 0.0010079183848574758, -0.002358647994697094, 0.015444542281329632, -0.01738450862467289, 0.04112062603235245, -0.025935035198926926, -0.0675472766160965, 0.04592355340719223, -0.0146565493196249, -0.03726603090763092, -0.035599514842033386, 0.05597122386097908, 0.03236677870154381, -0.007097749970853329, 0.02809486724436283, -0.007429766468703747, -0.02341298945248127, 0.033540014177560806, 0.0033080775756388903, -0.0014514283975586295, -0.017228445038199425, 0.026410112157464027, -0.040833935141563416, -0.013538489118218422, 0.007825442589819431, 0.022435063496232033, -0.004271813668310642, -0.01765376143157482, -0.007214813493192196, -0.023457223549485207, 0.025263946503400803, 0.005978299304842949, -0.01604396477341652, -0.025773068889975548, 0.040775787085294724, 0.03472212329506874, -0.007174178957939148, -0.033766768872737885, 0.009046453982591629, -0.06504678726196289, -0.016716454178094864, -0.04073745757341385, 0.0254915039986372, 0.013442747294902802, -0.013193261809647083, -0.01286679320037365, -0.005789055023342371, 0.0038509361911565065, 0.021257394924759865, -0.008330774493515491, -0.02818663977086544, 0.038525886833667755, 0.004994540475308895, -0.01928875409066677, 0.018824636936187744, 0.006465207319706678, 0.054830022156238556, -0.032825618982315063, -0.007684511598199606, 0.0010443179635331035, 0.04081159830093384, 0.02018130011856556, -0.01340235210955143, -0.030110228806734085, 0.007395841181278229, 0.023271795362234116, -0.03501320257782936, 0.022242140024900436, -0.02237122878432274, -0.029900100082159042, 0.04391910880804062, 0.01641935668885708, -0.004328132141381502, 0.06293246895074844, 0.01656816340982914, -0.01762133091688156, -0.02994161657989025, -0.009409322403371334, 0.05357861518859863, 0.03155370056629181, 0.032547637820243835, -0.011558144353330135, -0.02635345421731472, -0.012137042358517647, -0.0034980871714651585, 0.0330205038189888, -0.0034456290304660797, 0.022823918610811234, 0.04016779735684395, -0.02681204117834568, 0.013266922906041145, 0.009557226672768593, -0.0038312918040901423, -0.011655078269541264, -0.0579521469771862, 0.03471618890762329, 0.029765795916318893, -0.01533901784569025, -0.014996598474681377, 0.031204868108034134, 0.04512260481715202, 0.00547645753249526, 0.022194473072886467, 0.01797666773200035, 0.060095448046922684, 0.039383664727211, -0.0009367140592075884, 0.019950471818447113, -0.01016198005527258, -0.03204432874917984, 0.06861521303653717, 0.035597413778305054, -0.029532942920923233, -0.031457073986530304, -0.006175753194838762, 0.0005573552916757762, -0.014241277240216732, 0.01166330836713314, -0.00042185757774859667, -0.04186328873038292, 0.022082580253481865, 0.05089442431926727, 0.042085200548172, -0.0006615340826101601, 0.01317625679075718, 0.038378261029720306, -0.013333353213965893, -0.0029971704352647066, 0.009382974356412888, -0.01823083497583866, 0.03438929468393326, 0.007685820572078228, 0.060281042009592056, 0.09676635265350342, -0.012345585972070694, -0.0013082377845421433, 0.011637761257588863, 0.0013131597079336643, 0.02001729980111122, -0.053517989814281464, -0.00015942285244818777, -0.03610103577375412, 0.02112792618572712, 0.009265026077628136, -0.03803621232509613, 0.0030484292656183243, 0.007913992740213871, 0.027887018397450447, -0.015053201466798782, -0.013857338577508926, 0.04735616594552994, -0.03559770807623863, 0.031272806227207184, -0.010815267451107502, 0.0027006245218217373, 0.011654509231448174, 0.038004353642463684, 0.02223573438823223, -0.007843679748475552, 0.01987869292497635, 0.00894323829561472, -0.03470174968242645, -0.024846071377396584, 0.05441134050488472, 0.050565823912620544, 0.059781983494758606, -0.022060800343751907, -0.03689880669116974, 0.014860065653920174, -0.025245213881134987, -0.0030015066731721163, -0.027225244790315628, 0.01297793723642826, -0.01729283109307289, -0.049411602318286896, 0.033292584121227264, 0.012778404168784618, -0.012945245951414108, -0.030054165050387383, 0.030958112329244614, 0.03775051236152649, -0.0054503194987773895, 0.0012006249744445086, 0.027849335223436356, 0.034978561103343964, -0.01897304877638817, -0.020407147705554962, -0.018860870972275734, -0.00471658306196332, 0.008397175930440426, -0.0269241351634264, 0.050024282187223434, 0.047988854348659515, -0.02204643189907074, 0.00841591227799654, -0.0014587541809305549, 0.025478670373558998, 0.02078787423670292, -0.004694715142250061, 0.02075934410095215, 0.0023172583896666765, -0.009570463560521603, 0.014248840510845184, -0.0038675395771861076, 0.03314264863729477, -0.004826804623007774, 0.0192022155970335, -0.049146708101034164, 0.02330024726688862, 0.023482657968997955, -0.03902602940797806, 0.015678992494940758, -0.012307032011449337, -0.019666122272610664, 0.0405644029378891, 0.01504709292203188, -0.0022846523206681013, -0.0058091068640351295, 0.001598331262357533, -0.015215556137263775, 0.01833302155137062, -0.012494324706494808, 0.020718153566122055, 0.055541399866342545, -0.014005896635353565, -0.030482040718197823, 0.009835698641836643, 0.04710372909903526, 0.05253161862492561, 0.032512206584215164, 0.02568836137652397, -0.021436063572764397, 0.030457746237516403, -0.025011364370584488, 0.05949816480278969, 0.05563441291451454, -0.018602993339300156, -0.006260176654905081, -0.01705400086939335, -0.0019132440211251378, -0.0460655614733696, -0.025810182094573975, -0.0032898918725550175, -0.021922586485743523, 0.0027238891925662756, -0.011559616774320602, 0.03412632644176483, 0.06252562254667282, 0.07007183879613876, 0.02407858334481716, 0.03871292993426323, 0.0496213436126709, 0.009474599733948708, 0.019989581778645515, 0.0018953743856400251, 0.010974084958434105, -0.009885337203741074, -0.0031608003191649914, 0.0045415968634188175, 0.05310044437646866, -0.032501470297575, -0.010067327879369259, -0.00452971737831831, -0.025411956012248993, -0.0052773598581552505, 0.036577314138412476, 0.0067822751589119434, 0.0033836872316896915, -0.024163948372006416, 0.009258468635380268, -0.02030915394425392, 0.07236417382955551, -0.0256951991468668, -0.022093579173088074, -0.03293469548225403, 0.014104717411100864, 0.04288069158792496, 0.0377701073884964, 0.002452273853123188, -0.020782632753252983, 0.04598389193415642, -0.018630534410476685, 0.012515160255134106, 0.02743520215153694, -0.0335199236869812, 0.025621619075536728, 0.015400420874357224, -0.0054620979353785515, -0.04403071105480194, 0.021568484604358673, -0.02838250808417797, 0.013628118671476841, 0.04716211557388306, 0.02655676379799843, 0.025694213807582855, 0.025401953607797623, -0.003275942523032427, 0.03652281314134598, -0.020875902846455574, 0.024272678419947624, 0.04330326244235039, -0.05871918797492981, 0.02063038758933544, -0.005328180268406868, -0.0030539531726390123, -0.03827513009309769, 0.022684404626488686, 0.02488797903060913, 0.03348193317651749, -0.009509165771305561, -0.007744309958070517, 0.0037620330695062876, 0.009580807760357857, -0.015055937692523003, 0.03246641159057617, 0.017134934663772583, -0.042311154305934906, -0.0171184204518795, -0.0028520163614302874, -0.004751692991703749, -0.01483938843011856, -0.005482986103743315, 0.042932312935590744, -0.03817996382713318, -0.016178268939256668, -0.025721808895468712, 0.04171654209494591, 0.036203883588314056, -0.003017665585502982, 0.06677348911762238, -0.005943412892520428, -0.019238822162151337, -0.01318116020411253, 0.014470016583800316, -0.046395204961299896, -0.024734647944569588, -0.04136242717504501, -0.01607675664126873, -0.02284432016313076, 0.015594246797263622, -0.012915178202092648, 0.01982690580189228, -0.05487817898392677, -0.003989159595221281, -0.059619829058647156, 0.02052394300699234, 0.022141169756650925, 0.00819637905806303, 0.05641259625554085, 0.07238882780075073, 0.016045518219470978, -0.008455072529613972, -0.04521363601088524, -0.007440978195518255, 0.01734369434416294, 0.03629787638783455, 0.05565035715699196, -0.029648426920175552, -0.0037366808392107487, -0.04569486156105995, -0.033161696046590805, 0.03742517903447151, -0.04692738130688667, 0.03969084843993187, -0.010409001260995865, 0.0037164706736803055, 0.009313042275607586, 0.01223212480545044, 0.022039102390408516, -0.012183922342956066, 0.054531924426555634, -0.0006657859194092453, -0.004415823612362146, -0.04862472787499428, -0.0005516286473721266, -0.05571048706769943, -0.018642326816916466, -0.003923159092664719, -0.02088918909430504, 0.023426704108715057, -0.01259350124746561, 0.009512774646282196, -0.03157460317015648, 0.011597187258303165, 0.01729823648929596, -0.01926768571138382, -0.07380270212888718, -0.0646481141448021, 0.019880298525094986, 0.03241434693336487, -0.022302327677607536, -0.020862828940153122, 0.013951773755252361, -0.020341012626886368, 0.010966865345835686, -0.026786373928189278, -0.056504905223846436, -0.015215030871331692, -0.027185089886188507, -0.0014967207098379731, 0.02958877757191658, 0.022644497454166412, 0.048962272703647614, -0.005708720069378614, 0.0009684274555183947, 0.009754096157848835 ]
Accelerate BERT inference with Hugging Face Transformers and AWS inferentia
philschmid
March 16, 2022
bert-inferentia-sagemaker
partnerships, aws, guide, nlp
https://huggingface.co/blog/bert-inferentia-sagemaker
1. Convert your Hugging Face Transformer to AWS Neuron We are going to use the AWS Neuron SDK for AWS Inferentia. The Neuron SDK includes a deep learning compiler, runtime, and tools for converting and compiling PyTorch and TensorFlow models to neuron compatible models, which can be run on EC2 Inf1 instances. As a first step, we need to install the Neuron SDK and the required packages. Tip: If you are using Amazon SageMaker Notebook Instances or Studio you can go with the conda_python3 conda kernel. python # Set Pip repository to point to the Neuron repository !pip config set global.extra-index-url https://pip.repos.neuron.amazonaws.com # Install Neuron PyTorch !pip install torch-neuron==1.9.1.* neuron-cc[tensorflow] sagemaker>=2.79.0 transformers==4.12.3 --upgrade After we have installed the Neuron SDK we can load and convert our model. Neuron models are converted using torch_neuron with its trace method similar to torchscript. You can find more information in our documentation. To be able to convert our model we first need to select the model we want to use for our text classification pipeline from hf.co/models. For this example, let's go with distilbert-base-uncased-finetuned-sst-2-english but this can be easily adjusted with other BERT-like models. python model_id = "distilbert-base-uncased-finetuned-sst-2-english" At the time of writing, the AWS Neuron SDK does not support dynamic shapes, which means that the input size needs to be static for compiling and inference. In simpler terms, this means that when the model is compiled with e.g. an input of batch size 1 and sequence length of 16, the model can only run inference on inputs with that same shape. When using a t2.medium instance the compilation takes around 3 minutes python import os import tensorflow # to workaround a protobuf version conflict issue import torch import torch.neuron from transformers import AutoTokenizer, AutoModelForSequenceClassification # load tokenizer and model tokenizer = AutoTokenizer.from_pretrained(model_id) model = AutoModelForSequenceClassification.from_pretrained(model_id, torchscript=True) # create dummy input for max length 128 dummy_input = "dummy input which will be padded later" max_length = 128 embeddings = tokenizer(dummy_input, max_length=max_length, padding="max_length",return_tensors="pt") neuron_inputs = tuple(embeddings.values()) # compile model with torch.neuron.trace and update config model_neuron = torch.neuron.trace(model, neuron_inputs) model.config.update({"traced_sequence_length": max_length}) # save tokenizer, neuron model and config for later use save_dir="tmp" os.makedirs("tmp",exist_ok=True) model_neuron.save(os.path.join(save_dir,"neuron_model.pt")) tokenizer.save_pretrained(save_dir) model.config.save_pretrained(save_dir)
[ -0.04678666964173317, -0.039274271577596664, -0.040798578411340714, 0.042097266763448715, -0.010590976104140282, 0.061260782182216644, 0.029228486120700836, 0.02951032482087612, -0.06648782640695572, -0.006533939391374588, -0.06879863142967224, 0.06193956732749939, -0.005850797984749079, 0.047526318579912186, 0.017722001299262047, -0.03745296970009804, 0.031717054545879364, 0.049983490258455276, 0.0003305207646917552, 0.043367914855480194, 0.0013991835294291377, -0.04825785383582115, 0.006237219087779522, 0.04147947207093239, -0.0029370347037911415, -0.05995021015405655, -0.00459702592343092, -0.002194998087361455, -0.04128613322973251, 0.04789811372756958, -0.05862366408109665, -0.04138568788766861, 0.01450126152485609, -0.07902073860168457, -0.026412062346935272, 0.01453031413257122, -0.14506757259368896, 0.03291564807295799, 0.04163036122918129, -0.01307424996048212, -0.040322624146938324, 0.013534890487790108, -0.07693003118038177, 0.027534035965800285, 0.02183595858514309, 0.013180076144635677, -0.12847617268562317, 0.05444211885333061, 0.03921733424067497, 0.027657246217131615, -0.04276015982031822, 0.0921497792005539, -0.020558126270771027, -0.07110262662172318, -0.009252924472093582, -0.011414136737585068, -0.012154696509242058, -0.07329381257295609, -0.00011227116920053959, -0.02179270051419735, 0.009461493231356144, -0.061594441533088684, -0.04715004563331604, -0.005028241779655218, 0.037640590220689774, -0.0008963847649283707, -0.018287383019924164, -0.00921287015080452, -0.04621654376387596, 0.007699213456362486, -0.004198902286589146, -0.10007260739803314, -0.010624920018017292, -0.04892424866557121, -0.035989224910736084, -0.07001959532499313, -0.012721952982246876, 0.01032958272844553, 0.03818077594041824, 0.05014946311712265, -0.034496698528528214, 0.03046424128115177, 0.028859585523605347, 0.03601744398474693, 0.03155273571610451, 0.008243723772466183, 0.03633994981646538, -0.03806541487574577, -0.027491649612784386, 0.06195396929979324, -0.025445425882935524, -0.10662738233804703, -0.021713808178901672, 0.022045208141207695, 0.011551574803888798, 0.009726215153932571, -0.015316165052354336, -0.047709353268146515, -0.008912823162972927, -0.0607573427259922, 0.06303177028894424, -0.05081464722752571, 0.03511665388941765, -0.06630164384841919, -0.03784531354904175, 0.02013690397143364, -0.008507412858307362, -0.10716336965560913, 0.008057831786572933, -0.026968782767653465, 0.024516843259334564, -0.013504455797374249, 0.008763092570006847, 0.07643518596887589, -0.13966193795204163, 0.015300050377845764, 0.06078829988837242, -0.028846126049757004, 0.011139010079205036, 0.009479492902755737, 0.055213116109371185, 0.048271115869283676, 0.030803950503468513, -0.03429783508181572, 0.014561084099113941, 0.05549106001853943, 0.01135273091495037, -0.006540026981383562, 0.02994225174188614, 0.006255438085645437, 0.003821484511718154, -0.07180631160736084, 0.09450025111436844, -0.022503724321722984, 0.026622405275702477, -0.08441881090402603, -0.02580268494784832, -0.08005281537771225, -0.03179697319865227, 0.021758340299129486, 0.02725078910589218, 0.0893578752875328, 0.009104127995669842, 0.009852862916886806, 0.09488397091627121, 0.05324840173125267, -0.03156764805316925, 0.06093868240714073, 0.02247573621571064, 0.06524097919464111, -0.10972467809915543, 0.051123812794685364, -0.020754946395754814, -0.03792361542582512, -0.027497895061969757, 0.08639789372682571, -0.036562882363796234, -0.04383944720029831, -0.03742246329784393, -0.05940864235162735, -0.017534835264086723, -0.03270716592669487, -0.04289199411869049, -0.018045702949166298, 0.010220339521765709, -0.0379679799079895, 0.04572753980755806, 0.008822411298751831, 0.033761754631996155, -0.019742516800761223, 0.033821385353803635, -0.02996506169438362, 0.07428285479545593, -0.02537521906197071, 0.0018319165101274848, 0.046646274626255035, 0.0084256986156106, 0.08921945840120316, -0.041114553809165955, -0.06434937566518784, -0.021202856674790382, 0.09288729727268219, -0.02482367493212223, 0.012356570921838284, 0.05825871601700783, -0.03876005858182907, 0.03215958550572395, -0.0026845568791031837, 0.00686434144154191, 0.0516803152859211, 0.0455516055226326, -0.011499984189867973, 0.034682586789131165, 0.012011655606329441, 0.04555048793554306, -0.013407344929873943, -0.04332229495048523, 0.09938868880271912, 0.0022760778665542603, 0.05846057087182999, 0.04161589965224266, -0.03337566927075386, 0.015049976296722889, -0.0006229989230632782, -0.024567436426877975, 0.02191133424639702, -0.03658967465162277, -0.033325664699077606, 0.03759710118174553, -0.006514741573482752, 0.04224786534905434, -0.1444484442472458, 0.03416102007031441, -0.11214493215084076, 0.00032947660656645894, -0.05624235421419144, -0.026514487341046333, -0.008984459564089775, 0.03123324364423752, 0.017962152138352394, 0.16293713450431824, -0.04868282750248909, 0.01293617207556963, -0.050936393439769745, -0.03346559777855873, 0.03888801857829094, 0.053477074950933456, 0.04109589755535126, 0.09669550508260727, -0.07417096942663193, -0.051186319440603256, -0.055279187858104706, -0.008249731734395027, -0.008422689512372017, -0.03582502156496048, -0.04191098362207413, 0.05240358039736748, -0.01655292697250843, -0.011568345129489899, 0.04326336085796356, 0.04429144039750099, 0.008216259069740772, 0.01270605530589819, -0.03255527839064598, 0.02559455670416355, 0.00900475587695837, 0.04519529268145561, -0.003633435582742095, 0.014635791070759296, 0.0004437057941686362, -0.09219448268413544, 0.050528425723314285, 0.010751871392130852, -0.03626089170575142, 0.08364979922771454, 0.03951252996921539, -0.015703899785876274, 0.010070282965898514, 0.002773689804598689, 0.07000241428613663, 0.02027054876089096, 0.004951853305101395, 0.0038132944609969854, -0.0009240691433660686, -0.03951927646994591, -0.054530613124370575, -0.02450496144592762, 0.027949895709753036, -0.00611265329644084, 0.008271581493318081, 0.017303984612226486, -0.011271245777606964, 0.015625549480319023, -0.00938328169286251, 0.012885631062090397, 0.03196647763252258, 0.06737168878316879, 0.010753145441412926, -0.006914558820426464, -0.013643448241055012, 0.011093434877693653, -0.01979789510369301, 0.013721546158194542, 0.026316586881875992, 0.0016502595972269773, 0.026884691789746284, -0.012825049459934235, -0.047390423715114594, 0.0047861626371741295, 0.040487125515937805, 0.0409158319234848, 0.03994530066847801, -0.00498129241168499, 0.0009379090624861419, -0.020177828148007393, 0.0633060485124588, -0.0126498406752944, -0.022283412516117096, -0.017436930909752846, 0.02508995682001114, -0.017767643555998802, 0.0011479867389425635, -0.013624357990920544, 0.018680986016988754, -0.04619048535823822, 0.0021355433855205774, 0.04253433272242546, -0.005134346894919872, -0.08540959656238556, -0.020837610587477684, -0.03232412040233612, 0.05926850810647011, -0.019496336579322815, -0.003352873958647251, 0.04503496736288071, 0.015438653528690338, -0.019937288016080856, 0.04019705578684807, 0.01073774415999651, 0.0492713563144207, 0.020453184843063354, -0.01610623672604561, -0.02848224900662899, -0.00011981630814261734, -0.05676499009132385, 0.0017756259767338634, 0.013797922059893608, 0.017629925161600113, -0.0434030219912529, 0.013019246980547905, 0.001081629190593958, 0.01494263019412756, 0.018533041700720787, -0.0021785087883472443, 0.05285840481519699, 0.005524743348360062, 0.035462867468595505, -0.001867283252067864, -0.010159884579479694, -0.011804590001702309, 0.013079985044896603, 0.01290566474199295, -0.06652598828077316, -0.014638583175837994, -0.0373791866004467, 0.04974900931119919, 0.05686898157000542, 0.025155695155262947, -0.024950850754976273, -0.013743673451244831, 0.01344072725623846, -0.014399576932191849, 0.046676091849803925, 0.012730567716062069, 0.002594963414594531, -0.006283758208155632, -0.023449739441275597, -0.022441929206252098, -0.014436807483434677, 0.0017306566005572677, 0.015627499669790268, 0.016411572694778442, 0.02844953164458275, -0.004829274024814367, 0.018466969951987267, 0.028985217213630676, 0.031238941475749016, -0.03897975757718086, -0.04976600408554077, 0.038374047726392746, -0.015386504121124744, -0.05572749674320221, 0.004769753664731979, 0.04905156046152115, 0.028426483273506165, 0.017978191375732422, 0.01813078299164772, 0.028265807777643204, -0.0008825994445942342, 0.02557368203997612, 0.007894756272435188, 0.006188330240547657, -0.028182873502373695, 0.01796511560678482, -0.05770402401685715, 0.009228368289768696, 0.007741309702396393, 0.03827127441763878, -0.028569266200065613, -0.012679604813456535, -0.01111707091331482, -0.0336570180952549, 0.018087390810251236, -0.015351234935224056, 0.0045981998555362225, -0.03185003250837326, 0.05543028563261032, 0.041634853929281235, 0.019885079935193062, -0.030151372775435448, 0.019899381324648857, -0.017721112817525864, -0.017878737300634384, -0.05163266882300377, 0.028443364426493645, -0.03435622528195381, -0.013127846643328667, 0.02300466224551201, 0.009054675698280334, -0.02792070247232914, 0.02564433589577675, 0.0001745766494423151, -0.0015213325386866927, 0.03458959609270096, -0.029117437079548836, -0.018180280923843384, 0.007878130301833153, -0.025927504524588585, 0.03258933126926422, -0.03237401321530342, -0.012622673995792866, -0.0010608509182929993, 0.02451550029218197, 0.02300022728741169, -0.0163478534668684, -0.03366639092564583, 0.014107407070696354, 0.03290441632270813, -0.04300377890467644, 0.050352394580841064, -0.028806468471884727, -0.050030667334795, 0.02321656607091427, -0.020130580291152, 0.03468387573957443, 0.07955700904130936, 0.009415675885975361, -0.029128631576895714, -0.02776402421295643, 0.002258249558508396, 0.02825932390987873, 0.025866994634270668, 0.03177403286099434, -0.022371850907802582, 0.019968172535300255, 0.0023074522614479065, 0.013501778244972229, 0.03373232111334801, -0.016017885878682137, 0.026017116382718086, 0.024718785658478737, -0.02334461361169815, 0.03457221761345863, -0.00788141880184412, -0.025841858237981796, 0.0015369986649602652, -0.024471841752529144, 0.02486145868897438, 0.040941182523965836, -0.01792391762137413, -0.015271684154868126, 0.01891474239528179, 0.019382299855351448, -0.01103972364217043, 0.011400936171412468, 0.013552552089095116, 0.023430705070495605, 0.03362299129366875, -0.021051935851573944, -0.0027811862528324127, -0.016508564352989197, 0.003975416999310255, 0.07578757405281067, 0.027162211015820503, -0.01020598690956831, -0.039730340242385864, -0.017208028584718704, 0.004603562876582146, -0.06874869763851166, 0.009873789735138416, -0.028570963069796562, -0.053837962448596954, 0.0016923059010878205, 0.0717146024107933, 0.0281318798661232, 0.022372769191861153, 0.01760326884686947, 0.037536829710006714, 0.0027077761478722095, -0.028582213446497917, -0.002339000115171075, -0.002291268203407526, 0.0201944038271904, 0.010092637501657009, 0.060039322823286057, 0.05649186670780182, -0.016558971256017685, 0.0016932095168158412, -0.003418506123125553, -0.007984794676303864, 0.04187842085957527, -0.017704209312796593, -0.0027856554370373487, -0.01164738368242979, 0.019886687397956848, 0.02078297920525074, -0.01155748963356018, -0.003285371232777834, -0.006756490096449852, 0.02071264572441578, -0.04686008766293526, -0.012228935025632381, 0.03175267204642296, -0.028336167335510254, 0.013527045026421547, -0.00016145536210387945, 0.0012869787169620395, -0.009464681148529053, 0.029371002689003944, 0.006052382756024599, 0.0051787979900836945, 0.007678449619561434, 0.001623353105969727, -0.0043577468022704124, 0.004520996008068323, 0.03319329395890236, 0.017796454951167107, 0.043522246181964874, -0.02257140353322029, -0.017199529334902763, -0.020028138533234596, 0.00022232461196836084, 0.02395722270011902, -0.020526746287941933, -0.005406037904322147, 0.017502998933196068, -0.01526689250022173, 0.059656836092472076, 0.01237773522734642, -0.02249680832028389, -0.04648156091570854, 0.03372080624103546, 0.013968574814498425, -0.03757364675402641, -0.039572376757860184, 0.018852759152650833, 0.009398513473570347, -0.03421202674508095, 0.00429070508107543, 0.012602404691278934, 0.009952862747013569, -0.02255336381494999, -0.019484123215079308, 0.041582416743040085, 0.07060698419809341, -0.02024178020656109, 0.034934207797050476, 0.03110160306096077, 0.024278506636619568, 0.011380020529031754, 0.015483311377465725, -0.0036600332241505384, 0.014574997127056122, -0.012428732588887215, 0.0186956487596035, 0.012092136777937412, 0.003400150453671813, -0.025482362136244774, 0.010310394689440727, -0.10155156999826431, 0.02087889052927494, 0.007883652113378048, -0.013422963209450245, -0.010052766650915146, 0.010007190518081188, -0.03310442715883255, 0.0017502601258456707, 0.009724445641040802, 0.007075364701449871, 0.04640141502022743, -0.004143621306866407, -0.006232874467968941, 0.01693836972117424, 0.009362578392028809, 0.01721196062862873, 0.05127247795462608, -0.03846599534153938, -0.005088901147246361, 0.011554081924259663, 0.04912490025162697, 0.030420158058404922, 0.018954936414957047, 0.03850667551159859, -0.024995451793074608, 0.06191664934158325, -0.03222839534282684, 0.03228575736284256, 0.04601077735424042, -0.01770721934735775, -0.018375487998127937, -0.021103236824274063, -0.00023579850676469505, -0.031249502673745155, -0.04518844932317734, 0.019726449623703957, -0.007669977378100157, -0.019099393859505653, -0.003909620456397533, 0.03969072178006172, 0.08113185316324234, 0.05549061670899391, 0.009802107699215412, 0.04057878255844116, 0.05430116131901741, 0.009866149164736271, 0.009345880709588528, 0.019758325070142746, 0.026484070345759392, 0.0014358507469296455, 0.004112280905246735, 0.00329769984818995, 0.045152775943279266, -0.03331512212753296, 0.0017553978832438588, -0.0053822193294763565, 0.021335285156965256, -0.027096375823020935, 0.0535990372300148, 0.00383575027808547, -0.04175659641623497, -0.0413338877260685, 0.01776391640305519, -0.0338473878800869, 0.04633874446153641, -0.007707979064434767, -0.0031274044886231422, -0.02384701929986477, 0.006958909798413515, 0.00294853956438601, 0.021052295342087746, 0.014959719032049179, -0.05262321978807449, 0.027062807232141495, 0.00589517829939723, 0.0006819829577580094, 0.01998131163418293, -0.007059263996779919, -0.0021335275378078222, 0.0070742289535701275, -0.02600778080523014, -0.0683530792593956, -0.0183210838586092, -0.03979072719812393, 0.005773232318460941, -0.032007571309804916, 0.02096043899655342, 0.029810404404997826, 0.02091408707201481, 0.0189889557659626, 0.0003124666982330382, -0.0019367138156667352, 0.004853269550949335, -0.00529632018879056, -0.02681056037545204, -0.010915342718362808, -0.05823532119393349, 0.00737076485529542, -0.01258552260696888, 0.015054603107273579, 0.022678900510072708, 0.023393871262669563, 0.01776086911559105, -0.02268126606941223, 0.0003165631787851453, 0.0072130244225263596, -0.03351815789937973, 0.025896422564983368, -0.01245639193803072, -0.029672827571630478, -0.014820514246821404, -0.02287350781261921, -0.01840013824403286, 0.01524017471820116, 0.007508568465709686, 0.038909949362277985, -0.02841528318822384, -0.04688895866274834, 0.0009614137816242874, 0.03164112567901611, 0.033571839332580566, -0.0033537924755364656, 0.04389576241374016, -0.0023727270308882, 0.00505140470340848, -0.014634067192673683, 0.03195403516292572, -0.05837440863251686, -0.015484602190554142, -0.05035025626420975, -0.04215054214000702, -0.025397902354598045, 0.016884608194231987, 0.017185276374220848, 0.018134871497750282, -0.058999013155698776, -0.02582719177007675, -0.05819045379757881, -0.017156679183244705, -0.02318301983177662, 0.019810210913419724, 0.06737622618675232, 0.0763908252120018, 0.01497025229036808, -0.011447608470916748, -0.036034226417541504, -0.014519251883029938, 0.0032248341012746096, 0.046399541199207306, 0.040732983499765396, -0.009987402707338333, 0.0031997456680983305, -0.03020128607749939, -0.016528956592082977, 0.03898955509066582, -0.033723171800374985, 0.036927834153175354, -0.02085712179541588, -0.0158697422593832, -0.007879416458308697, 0.003460753709077835, 0.01679094135761261, 0.02863508090376854, 0.00987817719578743, -0.013924865983426571, -0.012380186468362808, -0.027019614353775978, -0.006722262594848871, -0.06177192181348801, -0.021287938579916954, -0.0012987992959097028, -0.02141740173101425, 0.02238868549466133, -0.00317169725894928, 0.012263373471796513, -0.023687176406383514, -0.0016697468236088753, -0.009131794795393944, -0.007408266421407461, -0.03558880090713501, -0.045614421367645264, 0.010625268332660198, 0.05577737092971802, -0.002393951639533043, 0.001135871629230678, 0.014822352677583694, -0.02660505846142769, -0.04476357623934746, -0.01053850632160902, -0.004073170945048332, -0.00810364168137312, -0.033556267619132996, -0.019920600578188896, -0.012778819538652897, 0.04577595740556717, 0.036635756492614746, 0.009893412701785564, 0.02133225090801716, 0.004846339114010334 ]
Accelerate BERT inference with Hugging Face Transformers and AWS inferentia
philschmid
March 16, 2022
bert-inferentia-sagemaker
partnerships, aws, guide, nlp
https://huggingface.co/blog/bert-inferentia-sagemaker
2. Create a custom inference.py script for text-classification The Hugging Face Inference Toolkit supports zero-code deployments on top of the pipeline feature from 🤗 Transformers. This allows users to deploy Hugging Face transformers without an inference script [Example]. Currently, this feature is not supported with AWS Inferentia, which means we need to provide an inference.py script for running inference. If you would be interested in support for zero-code deployments for Inferentia let us know on the forum. --- To use the inference script, we need to create an inference.py script. In our example, we are going to overwrite the model_fn to load our neuron model and the predict_fn to create a text-classification pipeline. If you want to know more about the inference.py script check out this example. It explains amongst other things what model_fn and predict_fn are. python !mkdir code We are using the NEURON_RT_NUM_CORES=1 to make sure that each HTTP worker uses 1 Neuron core to maximize throughput. python %%writefile code/inference.py import os from transformers import AutoConfig, AutoTokenizer import torch import torch.neuron # To use one neuron core per worker os.environ["NEURON_RT_NUM_CORES"] = "1" # saved weights name AWS_NEURON_TRACED_WEIGHTS_NAME = "neuron_model.pt" def model_fn(model_dir): # load tokenizer and neuron model from model_dir tokenizer = AutoTokenizer.from_pretrained(model_dir) model = torch.jit.load(os.path.join(model_dir, AWS_NEURON_TRACED_WEIGHTS_NAME)) model_config = AutoConfig.from_pretrained(model_dir) return model, tokenizer, model_config def predict_fn(data, model_tokenizer_model_config): # destruct model, tokenizer and model config model, tokenizer, model_config = model_tokenizer_model_config # create embeddings for inputs inputs = data.pop("inputs", data) embeddings = tokenizer( inputs, return_tensors="pt", max_length=model_config.traced_sequence_length, padding="max_length", truncation=True, ) # convert to tuple for neuron model neuron_inputs = tuple(embeddings.values()) # run prediciton with torch.no_grad(): predictions = model(*neuron_inputs)[0] scores = torch.nn.Softmax(dim=1)(predictions) # return dictonary, which will be json serializable return [{"label": model_config.id2label[item.argmax().item()], "score": item.max().item()} for item in scores]
[ -0.014955079182982445, -0.01494904886931181, -0.018009349703788757, 0.018444927409291267, 0.03384188935160637, 0.09228628873825073, 0.030218254774808884, 0.06622380018234253, -0.03715875372290611, -0.015368022955954075, -0.11843660473823547, 0.05262432619929314, 0.001734724617563188, 0.08895580470561981, -0.009242292493581772, -0.04129472002387047, 0.05614513158798218, 0.045033205300569534, -0.030137676745653152, 0.04241812974214554, -0.0075274864211678505, -0.05854479596018791, 0.037440523505210876, 0.002774022752419114, -0.0013502991059795022, -0.06313589960336685, 0.05111563578248024, -0.0065253740176558495, -0.04071664437651634, 0.07980093359947205, -0.06431373208761215, -0.03410905599594116, -0.004598561208695173, -0.050677988678216934, -0.021495025604963303, 0.06579204648733139, -0.17722336947917938, 0.009937318973243237, 0.03955475986003876, -0.007536992430686951, -0.0018945030169561505, -0.014137539081275463, -0.09096663445234299, 0.023170016705989838, 0.031062794849276543, -0.06028522178530693, -0.13752210140228271, 0.05063960328698158, -0.021542567759752274, 0.02513817511498928, -0.049239445477724075, 0.08498675376176834, -0.025975864380598068, -0.025322694331407547, -0.00639220280572772, -0.01618466153740883, -0.048213206231594086, -0.14056195318698883, 0.011006309650838375, 0.012236201204359531, -0.04441629722714424, -0.02366306632757187, 0.000542881665751338, 0.049105122685432434, 0.06487482041120529, 0.009341634809970856, -0.06914328038692474, -0.0036358300130814314, -0.03551481291651726, -0.01496670302003622, -0.021285217255353928, -0.03356608748435974, -0.004845716524869204, -0.06901059299707413, -0.011344392783939838, -0.04329686611890793, -0.014843286015093327, 0.008534690365195274, 0.008784215897321701, 0.06021721661090851, -0.03754466027021408, 0.012925405986607075, -0.03384752571582794, 0.011565601453185081, 0.028627170249819756, 0.04929666593670845, 0.03683435544371605, -0.05856508016586304, -0.0589749813079834, 0.051193978637456894, -0.012334396131336689, -0.09794420748949051, -0.0372857004404068, 0.02339988760650158, 0.01981140300631523, 0.053303562104701996, -0.003910377621650696, 0.04371247440576553, -0.037476733326911926, -0.08315157890319824, 0.03574112430214882, -0.06111013889312744, -0.040671128779649734, -0.05765638127923012, -0.07831837236881256, 0.053134869784116745, 0.014739769510924816, -0.04595937207341194, -0.02968522161245346, 0.013930186629295349, -0.0030818358063697815, -0.062076371163129807, 0.010409591719508171, 0.06753771007061005, -0.0959150567650795, -0.023972081020474434, -0.0074326517060399055, -0.033652473241090775, 0.034060120582580566, -0.008335556834936142, 0.054582178592681885, 0.06611764430999756, 0.0851021409034729, 0.00010622447007335722, -0.056142423301935196, 0.05623269081115723, 0.03447270393371582, 0.016781818121671677, 0.0133760254830122, 0.014791780151426792, 0.02831185609102249, -0.036414530128240585, 0.051391225308179855, -0.03052975796163082, 0.025522198528051376, -0.06903409957885742, -0.015772437676787376, -0.05376238748431206, 0.013090169988572598, 0.017275577411055565, -0.019950291141867638, 0.07333757728338242, 0.012600484304130077, -0.026511218398809433, 0.08956141769886017, 0.012532727792859077, -0.009768502786755562, 0.05149397253990173, 0.004102092701941729, 0.06904754787683487, -0.11650203913450241, 0.03529389202594757, -0.015672704204916954, -0.035553283989429474, 0.01000265683978796, 0.048319559544324875, -0.025205537676811218, -0.02825656719505787, -0.05482383444905281, -0.041556842625141144, -0.02475835382938385, -0.055013470351696014, -0.006583176087588072, 0.004027401562780142, -0.020777981728315353, -0.019890138879418373, 0.033710043877363205, 0.007448019925504923, 0.0583261139690876, 0.0262658279389143, 0.0047095646150410175, -0.052593108266592026, 0.06387584656476974, -0.020517811179161072, 0.03750824183225632, 0.020579421892762184, -0.04594205319881439, 0.040828727185726166, -0.04871409386396408, -0.022842679172754288, -0.028313588351011276, 0.051187433302402496, -0.0034768490586429834, 0.0025302062276750803, 0.03539060801267624, -0.043360888957977295, 0.05069072172045708, -0.03744620084762573, 0.01872517354786396, 0.03873051330447197, -0.017318299040198326, -0.002477092668414116, 0.05278477072715759, 0.033878833055496216, 0.04434746131300926, -0.012954906560480595, -0.028802134096622467, 0.08034061640501022, -0.004926678258925676, 0.020805053412914276, 0.015778325498104095, -0.019271517172455788, 0.02475328929722309, 0.009237682446837425, -0.004520414862781763, 0.03896088898181915, -0.08639320731163025, -0.03196016699075699, 0.011374983005225658, 0.004645232576876879, 0.007539468351751566, -0.08707264810800552, 0.016875674948096275, -0.05905073881149292, 0.0029038507491350174, -0.01430564746260643, -0.07374284416437149, 0.01008707843720913, 0.0018819079268723726, -0.0019852174445986748, 0.17000943422317505, -0.04094462841749191, 0.027557965368032455, -0.05033243075013161, -0.030994223430752754, -0.03927534073591232, 0.040121957659721375, 0.058987852185964584, 0.08046599477529526, -0.08644217997789383, -0.04395395144820213, -0.058486681431531906, -0.03815200924873352, 0.04247764125466347, -0.026112280786037445, -0.011546977795660496, 0.05318226292729378, -0.03517141193151474, -0.044421400874853134, -0.016873303800821304, 0.013341291807591915, 0.007774937432259321, -0.03597132861614227, -0.008540612645447254, 0.006007451098412275, -0.03895138204097748, 0.08568569272756577, -0.002002605004236102, 0.0026053297333419323, -0.015131579712033272, -0.01575390063226223, 0.04534692317247391, -0.002551720943301916, -0.033474553376436234, 0.07605062425136566, 0.0426156222820282, -0.00964395608752966, -0.0005801564548164606, -0.018305718898773193, 0.054865773767232895, 0.009066037833690643, -0.021853893995285034, 0.013901698403060436, -0.01913600042462349, -0.03383532166481018, -0.07229170203208923, -0.01868913136422634, 0.036850981414318085, 0.023142807185649872, 0.011343876831233501, 0.01391358207911253, -0.016344236209988594, 0.008273471146821976, -0.01442314125597477, 0.044318787753582, 0.04711821302771568, 0.044692039489746094, 0.007382057141512632, -0.01142169814556837, -0.034297212958335876, -0.02288670465350151, -0.05601413920521736, -0.00010983325046254322, 0.04115365073084831, -0.024826088920235634, -0.0031172274611890316, -0.02013799175620079, -0.05282425880432129, -0.012532288208603859, 0.03469915688037872, 0.005500055383890867, 0.04687916859984398, 0.03968476504087448, -0.03837651014328003, -0.05119987949728966, 0.06118807569146156, 0.024603089317679405, -0.010508817620575428, 0.004358971957117319, 0.039871230721473694, -0.014487423934042454, -0.01514634769409895, -0.010938932187855244, 0.023413801565766335, -0.040349122136831284, 0.05144552141427994, 0.024281799793243408, 0.011983456090092659, -0.07894270867109299, -0.01679440401494503, -0.006838764064013958, 0.006274912506341934, 0.0060788108967244625, -0.006483536679297686, 0.04879628121852875, -0.014723715372383595, -0.009652780368924141, 0.05414074286818504, 0.02738983742892742, 0.02221236191689968, 0.046111807227134705, -0.0207124762237072, -0.005453868769109249, -0.017434488981962204, -0.015474098734557629, -0.018702954053878784, 0.020930714905261993, 0.02162391133606434, -0.04790244996547699, 0.007856161333620548, 0.007428757380694151, -0.0024113687686622143, 0.023746920749545097, 0.002293896395713091, 0.06517840176820755, 0.03371380269527435, 0.02972153015434742, -0.03215863183140755, -0.04385731741786003, -0.013534171506762505, -0.0002335093595320359, -0.011240273714065552, -0.04181027039885521, 0.004270469304174185, 0.02806999534368515, 0.033005423843860626, 0.014065421186387539, 0.01913098618388176, -0.04068385064601898, -0.00973394326865673, 0.014980508014559746, -0.019431881606578827, 0.03573485463857651, 0.009413858875632286, 0.02203267067670822, -0.03251701965928078, 0.002665073610842228, -0.04215463995933533, -0.01562076061964035, 0.002591172233223915, 0.020940490067005157, 0.03392065688967705, 0.03159458190202713, -0.00011136772081954405, 0.023988189175724983, 0.03651241958141327, 0.05283769965171814, -0.008332437835633755, -0.047961533069610596, 0.04138666018843651, -0.01008098665624857, -0.05680495500564575, 0.011301875114440918, 0.05359485000371933, 0.029850244522094727, -0.014901732094585896, 0.01768685318529606, 0.0003388624463696033, 0.0030264381784945726, 0.07776772230863571, -0.015073299407958984, 0.00022256966622080654, -0.04871223494410515, 0.0003580667544156313, -0.0552862286567688, -0.07039220631122589, 0.03563716635107994, 0.0382823571562767, 0.010364359244704247, -0.03086838126182556, 0.00809356290847063, -0.001616778550669551, 0.0060419961810112, 0.012966842390596867, -0.0016587855061516166, -0.0746680274605751, 0.05179058387875557, 0.00738976476714015, -0.017584310844540596, -0.02704777754843235, 0.010081551969051361, -0.01281503215432167, -0.03944578766822815, -0.04566018655896187, 0.011086614802479744, -0.02063642628490925, -0.013100718148052692, -0.00796289462596178, 0.03477369621396065, -0.04481331259012222, 0.025267435237765312, -0.013032974675297737, -0.01827573962509632, 0.023518385365605354, -0.0313047394156456, -0.0053738863207399845, 0.03398021310567856, -0.016356313601136208, 0.044070739299058914, 0.02177904173731804, 0.00887040700763464, -0.033898741006851196, 0.04580734297633171, 0.03830432891845703, 0.004208634607493877, -0.025231115520000458, 0.011344843544065952, 0.012338703498244286, -0.014472264796495438, 0.032952241599559784, 0.0016313563100993633, -0.040155015885829926, 0.04398933798074722, 0.008045807480812073, 0.0395759642124176, 0.042952120304107666, -0.00010998910147463903, -0.030527064576745033, -0.03418831527233124, 0.004153967369347811, 0.04441099613904953, 0.008979144506156445, 0.0426485575735569, -0.008395054377615452, -0.020879128947854042, 0.00786008220165968, 0.031869951635599136, 0.03395884484052658, -0.03963750973343849, 0.013573243282735348, 0.018275929614901543, -0.005659335292875767, 0.008126615546643734, -0.037162065505981445, -0.03794310241937637, -0.03593580052256584, -0.05472278222441673, 0.0008967980393208563, 0.02484811283648014, 0.009571013040840626, -0.02358131669461727, -0.005467250477522612, 0.07569707185029984, -0.012271481566131115, -0.01671532914042473, 0.0046366495080292225, 0.043378010392189026, 0.03216341882944107, 0.013570941984653473, 0.02992204576730728, 0.02840307727456093, -0.003124849172309041, 0.06897523999214172, 0.004983431659638882, -0.03844814747571945, -0.060110293328762054, -0.022372564300894737, 0.03689681738615036, -0.04676445573568344, 0.015113962814211845, 0.0026894635520875454, -0.05216718092560768, -0.009875641204416752, 0.05439167097210884, 0.012430492788553238, 0.035581331700086594, -0.010355438105762005, 0.023005489259958267, 0.0005672230618074536, -0.05288378894329071, 0.038537390530109406, 0.005702270660549402, 0.014653215184807777, 0.021679077297449112, 0.04332790896296501, 0.04749174043536186, -0.0024961589369922876, 0.003398376749828458, -0.0009768989402800798, 0.0016069916309788823, 0.028265170753002167, -0.04776706546545029, 0.006608186289668083, -0.03484903275966644, 0.03264063969254494, 0.033809076994657516, -0.004058089107275009, -0.023772450163960457, 0.005253613460808992, 0.04328768700361252, -0.03431887552142143, -0.00619743624702096, 0.012707148678600788, -0.005859751254320145, -0.008202512748539448, -0.01299485843628645, 0.03552946820855141, -0.01783505082130432, 0.022995762526988983, -0.012651123106479645, 0.044655732810497284, 0.033946242183446884, -0.017609376460313797, -0.009221897460520267, 0.008867574855685234, 0.03550871089100838, 0.025066375732421875, 0.029602985829114914, -0.04009076580405235, -0.017598271369934082, 0.003021866548806429, -0.004088150802999735, 0.01863306388258934, -0.019701575860381126, 0.010572711937129498, -0.01566728949546814, 0.0025417557917535305, 0.022587483748793602, -0.009533152915537357, -0.018816465511918068, 0.020130038261413574, 0.043623629957437515, 0.02272883430123329, -0.02368733659386635, -0.048956502228975296, 0.030555548146367073, 0.056642692536115646, -0.037391114979982376, 0.0048052589409053326, -0.015211468562483788, -0.004942754283547401, -0.01974555104970932, 0.0003564798680599779, 0.03544505685567856, 0.017914608120918274, -0.028057530522346497, 0.013313209637999535, 0.014485610648989677, 0.017094949260354042, 0.03402415290474892, -0.016854407265782356, -0.034618984907865524, -0.020507534965872765, 0.013030669651925564, 0.013259206898510456, 0.018649259582161903, -0.0013773293467238545, 0.022935839369893074, 0.017239432781934738, -0.09405297040939331, 0.00022045498189982027, 0.02182243950664997, -0.01471632905304432, 0.0031132593285292387, -0.01537245325744152, -0.026831399649381638, 0.011677378788590431, -0.006055091042071581, 0.04714019596576691, 0.005859637167304754, 0.007456841412931681, -0.011523795314133167, 0.007375131361186504, 0.022104188799858093, 0.010121419094502926, 0.04379529133439064, -0.017052656039595604, -0.011118732392787933, -0.0002441444084979594, 0.04651171341538429, 0.025833457708358765, 0.021416133269667625, 0.0405842587351799, -0.04541006684303284, 0.08414345234632492, 0.03949962183833122, 0.016058504581451416, 0.02691046893596649, 0.00026983977295458317, 0.026172509416937828, -0.0254910197108984, -0.015459929592907429, -0.03381488472223282, -0.007811488583683968, 0.014058224856853485, -0.0025108950212597847, 0.015053441748023033, 0.004462198354303837, 0.05267017334699631, 0.022437063977122307, 0.05165022239089012, 0.006503595970571041, 0.0432552769780159, 0.04828229174017906, -0.0029938146471977234, 0.016209393739700317, -0.005987528711557388, 0.0394076444208622, -0.04677816480398178, 0.03096143715083599, 0.011556115932762623, 0.031158387660980225, -0.008782717399299145, -0.0055520497262477875, 0.006445670034736395, -0.028812497854232788, -0.007264069747179747, 0.019636284559965134, 0.007280857767909765, 0.0058734845370054245, -0.03728848695755005, 0.012504247948527336, -0.016129832714796066, 0.030280090868473053, -0.023609859868884087, 0.016233716160058975, 0.001902422634884715, 0.003956666216254234, 0.012291102670133114, 0.022495057433843613, 0.032144658267498016, -0.03847208619117737, 0.013041124679148197, -0.010732519440352917, 0.006792966276407242, 0.019959181547164917, 0.002849977696314454, -0.010973545722663403, -0.007208940573036671, -0.039293479174375534, -0.010392115451395512, -0.020066602155566216, -0.018998179584741592, -0.029640542343258858, -0.010636243969202042, 0.038429226726293564, 0.02154378965497017, 0.021357152611017227, 0.01799280010163784, 0.005568900145590305, -0.009418919682502747, -0.002170165069401264, -0.021551592275500298, -0.024062486365437508, -0.007809803821146488, -0.04355044662952423, -0.0188463032245636, -0.0034844232723116875, -0.015872469171881676, 0.042125388979911804, 0.04249459505081177, -0.005113041494041681, -0.04038375988602638, 0.03506467118859291, 0.02135574258863926, -0.03252207115292549, 0.04602382332086563, -0.02258542738854885, -0.012810076586902142, -0.0003754815552383661, 0.03012179210782051, -0.020289523527026176, 0.018753517419099808, -0.0016921841306611896, 0.07788834720849991, -0.019595522433519363, -0.039593152701854706, -0.0014735887525603175, 0.05720444396138191, 0.018445301800966263, 0.017804408445954323, 0.03939037024974823, 0.017905283719301224, -0.003313642693683505, -0.004499724134802818, 0.015808267518877983, -0.03691338375210762, 0.008867142722010612, -0.03059769608080387, -0.05197783559560776, -0.03412024304270744, 0.02062433399260044, -0.012988916598260403, 0.03374403715133667, -0.03027798794209957, -0.007313007954508066, -0.04520228132605553, -0.011790494434535503, -0.009154237806797028, -0.015116440132260323, 0.06237386539578438, 0.05344274640083313, 0.03580572456121445, 0.01107351016253233, -0.05154085159301758, -0.006304970011115074, -0.014556202106177807, 0.013663413003087044, 0.041634686291217804, 0.010204189456999302, 0.020713504403829575, -0.025097373872995377, 0.0015280364314094186, -0.01517702266573906, -0.028470877557992935, -0.004953879397362471, -0.017434539273381233, -0.00796630047261715, -0.016846882179379463, 0.014438619837164879, 0.04252114146947861, 0.01644876040518284, 0.025710592046380043, -0.025025872513651848, 0.0019242779817432165, -0.013253950513899326, 0.019426751881837845, -0.09859754890203476, -0.009214268065989017, -0.023358527570962906, -0.03220956772565842, 0.0060009341686964035, -0.013533136807382107, 0.06370364129543304, -0.026191512122750282, -0.012573539279401302, -0.002278755884617567, -0.014024186879396439, -0.032340481877326965, -0.07096054404973984, -0.013490533456206322, 0.04634851589798927, -0.0011123765725642443, 0.011650019325315952, 0.020886415615677834, 0.00025682683917693794, -0.013976434245705605, 0.025773148983716965, -0.01720842719078064, 0.0120368218049407, -0.015096878632903099, 0.012761830352246761, -0.0005035237409174442, 0.05228715389966965, 0.07387642562389374, 0.0035931889433413744, -0.0026361411437392235, 0.0019461141200736165 ]
Accelerate BERT inference with Hugging Face Transformers and AWS inferentia
philschmid
March 16, 2022
bert-inferentia-sagemaker
partnerships, aws, guide, nlp
https://huggingface.co/blog/bert-inferentia-sagemaker
4. Deploy a Real-time Inference Endpoint on Amazon SageMaker After we have uploaded our model.tar.gz to Amazon S3 can we create a custom HuggingfaceModel. This class will be used to create and deploy our real-time inference endpoint on Amazon SageMaker. python from sagemaker.huggingface.model import HuggingFaceModel # create Hugging Face Model Class huggingface_model = HuggingFaceModel( model_data=s3_model_uri, # path to your model and script role=role, # iam role with permissions to create an Endpoint transformers_version="4.12", # transformers version used pytorch_version="1.9", # pytorch version used py_version='py37', # python version used ) # Let SageMaker know that we've already compiled the model via neuron-cc huggingface_model._is_compiled_model = True # deploy the endpoint endpoint predictor = huggingface_model.deploy( initial_instance_count=1, # number of instances instance_type="ml.inf1.xlarge" # AWS Inferentia Instance )
[ 0.018078001216053963, -0.0077857086434960365, -0.0005930085317231715, 0.010972971096634865, -0.004699451383203268, 0.05100584775209427, 0.03803006187081337, 0.02815745770931244, -0.037362873554229736, 0.024446876719594002, -0.043363332748413086, -0.01712697185575962, 0.014274874702095985, 0.1027926504611969, 0.024952130392193794, -0.05315406993031502, -0.012331428937613964, 0.017157427966594696, -0.044220734387636185, 0.003132866695523262, 0.00303761288523674, -0.022444281727075577, -0.07039141654968262, 0.050710491836071014, -0.031314775347709656, -0.046495888382196426, -0.009427312761545181, -0.01916203461587429, -0.005791312083601952, 0.04479126259684563, -0.06045399233698845, -0.005763959605246782, 0.028314445167779922, 0.005030755884945393, 0.009963629767298698, 0.04457249492406845, -0.1486407369375229, 0.022901730611920357, 0.03525175526738167, -0.01573292538523674, 0.009336083196103573, 0.004212512634694576, -0.08569206297397614, 0.06056678667664528, 0.009428516961634159, -0.060937490314245224, -0.10820969939231873, 0.06600797176361084, 0.01972992718219757, -0.012457470409572124, -0.06716227531433105, 0.1474400758743286, -0.053186800330877304, -0.02749565988779068, -0.025754207745194435, 0.039644576609134674, -0.03357599303126335, -0.0922296792268753, -0.022701263427734375, -0.02891462668776512, -0.022040439769625664, -0.0417121946811676, 0.011405827477574348, 0.0218824353069067, 0.023455284535884857, -0.006303392816334963, 0.029797257855534554, -0.0371483638882637, -0.01458827406167984, -0.025181502103805542, -0.0003389650082681328, -0.052998486906290054, 0.028743136674165726, -0.008301453664898872, -0.026046518236398697, -0.047915227711200714, 0.03891590237617493, -0.003548715729266405, 0.05473940074443817, 0.1028493270277977, -0.03539421781897545, -0.0377325713634491, -0.012202223762869835, -0.026228155940771103, 0.0013988835271447897, 0.023626074194908142, 0.006078774109482765, -0.05622497573494911, -0.033212337642908096, 0.02283466048538685, 0.05313482880592346, -0.0731043890118599, -0.0048125493340194225, 0.042832136154174805, 0.00992794893682003, 0.0342034250497818, 0.0023212076630443335, 0.013705694116652012, -0.01586003787815571, -0.07862694561481476, 0.026766933500766754, -0.0744253396987915, -0.0025693008210510015, -0.03975604474544525, 0.015837306156754494, 0.09307629615068436, 0.025143815204501152, -0.10264888405799866, -0.020035376772284508, 0.022775867953896523, 0.012655881233513355, -0.03469356521964073, -0.004532794002443552, 0.06303612887859344, -0.14521345496177673, 0.026669029146432877, -0.03754590079188347, -0.0445299856364727, 0.02499571442604065, 0.02237001061439514, 0.06730783730745316, 0.07590388506650925, 0.03451025113463402, 0.00972868874669075, 0.023353343829512596, 0.05546163022518158, 0.029665641486644745, -0.01858421042561531, -0.014947651885449886, -0.0187709778547287, 0.028981152921915054, -0.0599621906876564, 0.027163386344909668, -0.03688477352261543, 0.053115759044885635, -0.04965841397643089, -0.00890586618334055, -0.078238345682621, 0.008977104909718037, 0.05081247165799141, 0.010254165157675743, 0.057275306433439255, 0.03291786089539528, 0.004887509159743786, 0.09188155829906464, 0.012162013910710812, -0.028322655707597733, -0.007758001796901226, 0.017704874277114868, 0.08252277225255966, -0.09598924219608307, 0.06388111412525177, -0.003522138809785247, -0.10359180718660355, -0.029633700847625732, 0.0797925591468811, -0.03271093964576721, 0.026394320651888847, -0.08010413497686386, -0.04362256079912186, -0.0022251519840210676, -0.02477135881781578, -0.0034678250085562468, -0.017989009618759155, -0.026469137519598007, -0.0069543891586363316, 0.03995518386363983, -0.0173459704965353, 0.08231863379478455, -0.037604205310344696, 0.0029181407298892736, -0.06486890465021133, 0.044778011739254, 0.01868055947124958, 0.07098551094532013, 0.016937507316470146, 0.054245274513959885, 0.07311654835939407, -0.029448747634887695, -0.0214118342846632, 0.002815537853166461, 0.07455271482467651, -0.025010690093040466, -0.024142974987626076, 0.040593262761831284, -0.07793577760457993, 0.04786652699112892, -0.014991898089647293, 0.012553125619888306, -0.022341949865221977, -0.0034315993543714285, -0.017417429015040398, 0.03922446072101593, 0.00804402306675911, 0.07616952061653137, 0.003999939654022455, -0.03318500891327858, 0.1003808081150055, -0.014517631381750107, 0.040063194930553436, 0.008438819088041782, -0.03271343186497688, -0.0002451482869219035, -0.0058064027689397335, -0.03941294550895691, 0.04541962966322899, -0.031095512211322784, -0.018588045611977577, 0.0405544675886631, 0.014840256422758102, 0.014318699017167091, -0.11916570365428925, 0.04174361377954483, -0.07493496686220169, -0.01623876951634884, -0.02820407599210739, -0.08626139909029007, -0.02383212372660637, -0.025039851665496826, -0.008947490714490414, 0.13567423820495605, -0.05088456720113754, 0.025349803268909454, -0.07346756011247635, -0.017474617809057236, -0.02475532703101635, 0.05095624923706055, 0.06821897625923157, 0.09133072942495346, -0.017100485041737556, -0.026538902893662453, -0.06864394247531891, -0.05074064061045647, 0.011219040490686893, 0.02035057544708252, 0.01053793728351593, 0.013643074780702591, -0.07087666541337967, -0.0022750254720449448, 0.0028659531380981207, 0.11384022235870361, 0.03960875794291496, 0.0008201070595532656, 0.013075435534119606, 0.011714614927768707, -0.01633322797715664, 0.07370610535144806, -0.007218532729893923, -0.027427036315202713, 0.014494922943413258, -0.061310719698667526, 0.025198711082339287, 0.006502942182123661, -0.019628357142210007, 0.055365271866321564, 0.007167498115450144, -0.04744729772210121, 0.020216908305883408, 0.013594556599855423, 0.059318963438272476, 0.03402133658528328, 0.00289463740773499, 0.019090060144662857, -0.0035556121729314327, -0.01955055631697178, -0.04472929984331131, -0.05141341686248779, -0.016662435606122017, 0.01808215118944645, -0.021813729777932167, 0.05699598789215088, -0.03235510736703873, -0.004579667467623949, 0.024441983550786972, 0.029723569750785828, 0.049405064433813095, 0.057906851172447205, 0.0344100147485733, 0.014171198010444641, -0.01860639452934265, 0.032879702746868134, -0.040381770581007004, -0.015957770869135857, 0.05016113072633743, 0.023080624639987946, 0.0038096667267382145, 0.0018276269547641277, -0.012685323134064674, -0.062074415385723114, 0.01698337309062481, 0.0207013338804245, 0.05085595324635506, 0.02613455057144165, 0.0041212658397853374, -0.021084392443299294, 0.023058203980326653, 0.009211505763232708, -0.03159308806061745, -0.007931980304419994, 0.04587149992585182, -0.03489355742931366, -0.01772024855017662, -0.004876217804849148, 0.0006939895683899522, -0.0624890998005867, 0.01515171118080616, 0.04258132725954056, -0.006077484227716923, -0.08397797495126724, -0.04662718251347542, -0.04591652750968933, -0.009719154797494411, 0.031046221032738686, -0.0108063705265522, 0.03891274333000183, -0.007408567704260349, -0.008832771331071854, 0.04769458994269371, 0.01048726961016655, 0.030130578204989433, 0.018186897039413452, -0.01871274597942829, -0.022222701460123062, 0.01259870920330286, -0.02688940241932869, 0.006060427986085415, -0.0006155128357931972, 0.03951747342944145, -0.05820535868406296, 0.046229906380176544, 0.02411104552447796, -0.04065367579460144, 0.01953958533704281, 0.01565551571547985, 0.03259238600730896, 0.01583915390074253, 0.035828325897455215, -0.029398759827017784, -0.01445316057652235, -0.04340944066643715, -0.004524810239672661, -0.028571663424372673, -0.03615056723356247, 0.0006979064201004803, 0.0038068091962486506, 0.03861716389656067, 0.006914432626217604, 0.008135291747748852, -0.01576210744678974, -0.005434849299490452, -0.016586285084486008, 0.0013687452301383018, 0.03981957584619522, 0.03418703004717827, 0.020248176530003548, 0.022744977846741676, 0.03615375608205795, -0.022170385345816612, 0.0024325719568878412, 0.020723115652799606, 0.02379842847585678, 0.012468231841921806, -0.0044970144517719746, 0.0008733418653719127, 0.011127972975373268, 0.02920275181531906, 0.04813724756240845, -0.018527422100305557, -0.04170434921979904, 0.007930143736302853, -0.009183171205222607, -0.040836162865161896, -0.011609453707933426, 0.03672599047422409, 0.014547223225235939, -0.00751094426959753, 0.039233461022377014, 0.011028315871953964, 0.0097051952034235, 0.047573648393154144, -0.011412334628403187, 0.014023246243596077, -0.02890605852007866, 0.007896525785326958, -0.04316576570272446, -0.019043929874897003, 0.02718886360526085, 0.04745972529053688, 0.009550356306135654, -0.007417677436023951, -0.011947154998779297, -0.01399591751396656, 0.046840600669384, 0.009104506112635136, 0.01434649433940649, -0.049218419939279556, 0.02059249021112919, 0.035938192158937454, -0.028411325067281723, -0.04859280213713646, 0.03278547152876854, -0.014872957020998001, -0.014066563919186592, -0.015138247981667519, 0.0226306039839983, 0.0017813406884670258, 0.01715724915266037, -0.03770194202661514, -0.004302541259676218, -0.024434681981801987, 0.016407104209065437, -0.009583549574017525, -0.05167999863624573, -0.003633111249655485, 0.00006635512545472011, 0.004901386797428131, -0.0015744456322863698, -0.026765670627355576, 0.03671736642718315, 0.0152042917907238, 0.012305577285587788, -0.017545370385050774, 0.02661164477467537, 0.03181295469403267, -0.01161584910005331, -0.024260183796286583, -0.013988369144499302, 0.027755191549658775, -0.028205394744873047, 0.043756887316703796, -0.018652480095624924, -0.05846896395087242, 0.005670915823429823, 0.030656954273581505, -0.0016323395539075136, 0.04307537153363228, -0.0325639471411705, -0.038356512784957886, 0.00979023240506649, 0.01628023013472557, 0.020398003980517387, 0.01764652691781521, 0.026696329936385155, 0.008915943093597889, -0.0075902570970356464, 0.0034301215782761574, 0.06775179505348206, 0.044804006814956665, -0.02482457645237446, 0.030812563374638557, 0.005816207733005285, -0.02637280710041523, 0.0016372090904042125, 0.01088782399892807, -0.04846179485321045, 0.004231289029121399, -0.07654404640197754, 0.0062075830064713955, 0.03393686190247536, 0.006148285232484341, -0.027422171086072922, 0.010137204080820084, 0.029237156733870506, 0.005003543104976416, 0.006921399850398302, -0.018021872267127037, 0.05223856493830681, 0.05647250637412071, 0.015247331000864506, 0.03215106204152107, 0.015408490784466267, -0.015113676898181438, 0.04058092087507248, 0.033824291080236435, -0.024506885558366776, -0.07254213094711304, 0.019055306911468506, 0.030180687084794044, -0.07888855040073395, 0.02374231070280075, 0.005842937622219324, -0.036305904388427734, -0.006016207858920097, 0.054256513714790344, 0.06727106124162674, 0.014398204162716866, -0.02738979272544384, 0.0177987702190876, -0.007229899521917105, -0.047341082245111465, 0.0045631821267306805, -0.003202588064596057, 0.00887968484312296, 0.012536779046058655, 0.0576295405626297, 0.057928651571273804, -0.009027580730617046, 0.023015102371573448, 0.010705754160881042, -0.011986039578914642, 0.011694615706801414, -0.041059449315071106, -0.008131107315421104, -0.0032281908206641674, -0.004413016606122255, -0.015250086784362793, -0.021880032494664192, -0.005973858293145895, 0.0048363832756876945, 0.06335150450468063, -0.00473377387970686, -0.025354573503136635, 0.0255268644541502, -0.007849072106182575, 0.021674729883670807, 0.0007830167305655777, 0.006060945335775614, 0.028112098574638367, 0.007273586001247168, 0.042297154664993286, 0.020294539630413055, 0.025319091975688934, 0.02494143508374691, -0.028565768152475357, 0.004290935583412647, 0.03922644630074501, 0.04343075305223465, 0.043104447424411774, -0.030301405116915703, 0.0010796934366226196, 0.01927640475332737, -0.02353837341070175, 0.00938519835472107, 0.00006173252040753141, -0.011173037812113762, 0.007741926703602076, -0.042411770671606064, 0.05279389023780823, -0.022770673036575317, -0.02208632603287697, -0.004912270698696375, -0.005956865847110748, 0.02970266528427601, -0.0328679122030735, -0.04736403748393059, 0.05973144248127937, 0.049089159816503525, -0.02973930537700653, -0.02812921069562435, -0.02496781386435032, -0.005219053942710161, -0.017923589795827866, -0.049965742975473404, 0.030361033976078033, 0.026404285803437233, -0.032181669026613235, -0.008428815752267838, 0.002215106040239334, 0.0019808472134172916, 0.02394271455705166, 0.012102877721190453, -0.00616390211507678, 0.008055098354816437, 0.0005257612210698426, -0.010941565036773682, 0.021227510645985603, -0.007746253162622452, -0.023231634870171547, 0.0132250115275383, -0.04653282091021538, -0.0035921132657676935, 0.006723593920469284, -0.014783548191189766, 0.008383269421756268, 0.012458713725209236, -0.05072479695081711, 0.022655827924609184, -0.005275016650557518, 0.030722541734576225, 0.026991548016667366, 0.0026729698292911053, -0.021815773099660873, 0.006244264077395201, -0.008514288812875748, 0.024650665000081062, 0.06951560825109482, -0.05411507934331894, 0.014005959965288639, -0.020316852256655693, 0.027341794222593307, 0.028047408908605576, 0.01989704556763172, 0.029349396005272865, -0.046955157071352005, 0.07770092785358429, 0.002828367054462433, 0.04011758789420128, 0.04743616282939911, -0.013803841546177864, 0.018693486228585243, -0.030926357954740524, -0.0006570969126187265, -0.03907886520028114, -0.009459109045565128, 0.03095473349094391, -0.023311469703912735, 0.039250876754522324, -0.02134806662797928, 0.06037771329283714, 0.02885301038622856, 0.057931240648031235, 0.011688045226037502, 0.01329100038856268, 0.056036677211523056, 0.006357933394610882, -0.006531445309519768, -0.005037527531385422, 0.012866716831922531, 0.016482308506965637, 0.014085340313613415, -0.023554891347885132, 0.01998405158519745, -0.020215662196278572, 0.01732584647834301, -0.011579195968806744, -0.00991075485944748, -0.029371200129389763, 0.005047373473644257, 0.02731301262974739, -0.032984137535095215, -0.021508751437067986, 0.03887476772069931, -0.032711345702409744, 0.03382973000407219, -0.025563491508364677, 0.026385437697172165, -0.046974413096904755, -0.005948969628661871, -0.003556581446900964, 0.009642931632697582, 0.01503197941929102, -0.04669209197163582, -0.008627546019852161, -0.01071095746010542, 0.004902416840195656, -0.03294475004076958, -0.018216585740447044, -0.02212553843855858, 0.012807309627532959, -0.024365555495023727, -0.021243009716272354, 0.0005042810807935894, -0.037110425531864166, 0.013813955709338188, 0.024472303688526154, 0.032032981514930725, 0.026868663728237152, 0.03395206853747368, 0.03247148543596268, 0.04392248019576073, -0.006876510102301836, -0.017263595014810562, -0.007396932691335678, -0.039827220141887665, 0.01124347373843193, -0.0238034650683403, -0.016626087948679924, -0.0037780378479510546, 0.06492037326097488, -0.005816049408167601, 0.024187467992305756, -0.006602918729186058, -0.01556183397769928, 0.008668589405715466, 0.03360185772180557, -0.0162371639162302, 0.04679293558001518, -0.013368261978030205, 0.0016605989076197147, 0.005219228565692902, 0.009780562482774258, 0.008827169425785542, -0.0067755249328911304, -0.0326482318341732, 0.0452192984521389, -0.03266547992825508, -0.00976323988288641, -0.00045933571527712047, 0.022930236533284187, -0.007914114743471146, 0.0266326442360878, 0.006465696729719639, 0.005276461131870747, 0.004180590622127056, -0.03434227406978607, -0.020490115508437157, -0.05431243032217026, 0.003017795505002141, -0.056520409882068634, -0.056560296565294266, -0.04502826929092407, -0.003684018971398473, -0.01847846433520317, 0.029773186892271042, -0.029797766357660294, -0.022658338770270348, -0.0353461429476738, -0.022951308637857437, -0.014734244905412197, 0.020564094185829163, 0.056702516973018646, 0.05404512956738472, 0.02091464214026928, -0.020982613787055016, -0.042650409042835236, 0.0013120867079123855, 0.008226128295063972, 0.04568756744265556, 0.04935593158006668, -0.006396399810910225, -0.011263012886047363, -0.020249638706445694, -0.0011340513592585921, 0.018197067081928253, -0.04508606344461441, 0.03911048546433449, -0.004528484307229519, 0.008367526344954967, -0.016629304736852646, 0.01977667585015297, 0.018865879625082016, -0.006423190701752901, 0.03518952429294586, -0.0358482226729393, 0.01689739339053631, -0.03965654596686363, -0.009056512266397476, -0.045249491930007935, 0.01234305277466774, -0.02940761111676693, -0.05421946570277214, 0.02388577163219452, 0.019727470353245735, 0.009126605466008186, -0.047226402908563614, -0.0019076184835284948, -0.01175540592521429, -0.02184883877635002, -0.08389953523874283, -0.07231364399194717, 0.0056245652958750725, 0.043023884296417236, -0.02475810796022415, -0.028439095243811607, -0.02571197599172592, -0.0532430075109005, -0.011547917500138283, 0.0060172430239617825, 0.012779784388840199, 0.003941421862691641, -0.03619641810655594, -0.0115225650370121, 0.010273213498294353, 0.04999150335788727, 0.038659170269966125, -0.02443741448223591, -0.01799757033586502, -0.004144543316215277 ]
Accelerate BERT inference with Hugging Face Transformers and AWS inferentia
philschmid
March 16, 2022
bert-inferentia-sagemaker
partnerships, aws, guide, nlp
https://huggingface.co/blog/bert-inferentia-sagemaker
Delete model and endpoint To clean up, we can delete the model and endpoint. python predictor.delete_model() predictor.delete_endpoint()
[ 0.04338865354657173, 0.04382947459816933, 0.022096939384937286, 0.006987905595451593, 0.10233848541975021, 0.030725473538041115, -0.008246658369898796, 0.007006241008639336, 0.0016596383647993207, -0.007360330782830715, -0.08112375438213348, 0.03592122346162796, -0.014857965521514416, 0.0529065877199173, 0.01621505245566368, -0.012557127512991428, -0.009675110690295696, -0.051127128303050995, -0.030898017808794975, 0.033947136253118515, 0.018990688025951385, -0.09942507743835449, 0.027092792093753815, -0.04789294674992561, -0.010927843861281872, -0.02858584374189377, -0.037213556468486786, -0.0005912981578148901, -0.03210180625319481, 0.026935551315546036, -0.07572479546070099, -0.0015494803665205836, 0.006964516825973988, 0.0017614115495234728, 0.03926271200180054, 0.02974936179816723, -0.07021492719650269, 0.01938282512128353, -0.002806635806336999, -0.01791073940694332, -0.04447546228766441, -0.02372059039771557, -0.08814525604248047, 0.04759059101343155, -0.0036952756345272064, -0.03692401573061943, -0.19192437827587128, 0.03951431065797806, 0.022354330867528915, -0.07185692340135574, -0.09487481415271759, 0.10654124617576599, -0.0422968827188015, -0.006833701394498348, -0.004021457862108946, -0.05810549855232239, -0.0037990137934684753, -0.03488002344965935, -0.0030197640880942345, 0.04692215844988823, 0.010278165340423584, 0.06300478428602219, 0.009142295457422733, 0.07762358337640762, -0.0033293019514530897, -0.006963497027754784, 0.003843858139589429, -0.026112865656614304, -0.022869104519486427, -0.05193328112363815, -0.03019639104604721, 0.013231188990175724, -0.016762875020503998, -0.01719195395708084, -0.027180282399058342, -0.0933040902018547, 0.009723758324980736, 0.04160190373659134, 0.03543124347925186, 0.07295764237642288, 0.03935692459344864, 0.05219374597072601, 0.01800522953271866, -0.003268267959356308, 0.05298098176717758, -0.035614777356386185, 0.01664820685982704, 0.011898854747414589, -0.026909075677394867, 0.043850790709257126, 0.02512170746922493, -0.03945552185177803, -0.01383484061807394, 0.018016111105680466, -0.028277993202209473, -0.018004335463047028, 0.03721291571855545, -0.028240708634257317, 0.010061320848762989, -0.045696839690208435, -0.041833825409412384, -0.09446954727172852, -0.05955355614423752, 0.0024179238826036453, 0.0073360297828912735, 0.0617753341794014, 0.05766192451119423, -0.052776046097278595, -0.03947656601667404, -0.017882775515317917, -0.04327409714460373, 0.02919112704694271, -0.04351174831390381, 0.10551180690526962, -0.05322203412652016, 0.06036549061536789, -0.03536638617515564, -0.0141353290528059, 0.005618111230432987, 0.05851691961288452, 0.07267195731401443, 0.03768350929021835, 0.05616288632154465, -0.011896672658622265, 0.04266214370727539, 0.06632106006145477, 0.09209097921848297, 0.03734426200389862, 0.0034143279772251844, -0.009443573653697968, 0.06374895572662354, 0.005822146777063608, 0.05177741125226021, 0.0350237637758255, 0.03651338070631027, -0.11692901700735092, 0.03176800534129143, -0.03394594416022301, 0.06366828083992004, -0.011697858572006226, -0.04646100476384163, 0.01818452961742878, -0.0011193767422810197, 0.12312480807304382, 0.027648404240608215, 0.041694529354572296, -0.04445185512304306, 0.03489664942026138, 0.04147596284747124, 0.029689764603972435, -0.03302538022398949, 0.06636626273393631, -0.03900491073727608, -0.08839933574199677, 0.026110105216503143, 0.05413499101996422, -0.023802394047379494, 0.03254871815443039, -0.031059343367815018, 0.02223135717213154, 0.0647987648844719, 0.05262655392289162, -0.028779206797480583, 0.017957674339413643, 0.128811776638031, 0.006904615089297295, 0.028856376186013222, -0.0005445328424684703, 0.003064054297283292, 0.016863234341144562, -0.03199673444032669, -0.05121530592441559, 0.1085520014166832, 0.03919846564531326, -0.006013427395373583, 0.014598608948290348, 0.01073210034519434, 0.04560855031013489, -0.04400276392698288, 0.043466296046972275, -0.01783464476466179, 0.052726589143276215, -0.09135650843381882, -0.030189234763383865, 0.06520429998636246, -0.02163456566631794, -0.015911368653178215, 0.0019911830313503742, 0.02715892903506756, 0.031246213242411613, -0.021774640306830406, -0.0857553631067276, 0.07175426185131073, -0.0048093730583786964, 0.06397859007120132, -0.05994553864002228, -0.07461341470479965, 0.11579445004463196, -0.008181901648640633, 0.04164429008960724, 0.005948198959231377, 0.02041151560842991, 0.004460605327039957, -0.04763725772500038, -0.016779381781816483, 0.07631441205739975, 0.00921806413680315, -0.0510965920984745, 0.0005448102601803839, 0.021311350166797638, 0.011312018148601055, -0.06412564218044281, 0.05786009505391121, -0.10220637917518616, 0.005894013214856386, -0.010014934465289116, 0.009968635626137257, 0.0034499920438975096, 0.029805362224578857, -0.013029281049966812, 0.13475462794303894, -0.07773663103580475, 0.02634015493094921, -0.006543662399053574, 0.007446411065757275, 0.03743184730410576, 0.07005538046360016, 0.038259293884038925, 0.05598508194088936, -0.02840958721935749, 0.010238413698971272, -0.016528183594346046, -0.017640164121985435, 0.05622793361544609, 0.018519671633839607, 0.028461696580052376, -0.032445523887872696, -0.002265204908326268, 0.024099528789520264, -0.07563666254281998, 0.011723349802196026, 0.016928011551499367, -0.0017879748484119773, 0.09327146410942078, -0.030710678547620773, -0.01888837106525898, 0.03206132724881172, -0.03060227446258068, -0.09029124677181244, 0.02922161854803562, -0.02156827040016651, -0.020955827087163925, 0.03139129653573036, -0.0353306420147419, 0.039198074489831924, -0.003530929796397686, -0.035727258771657944, -0.0010083959205076098, 0.00033911445643752813, 0.041492071002721786, 0.004773110616952181, -0.009773392230272293, -0.018163669854402542, -0.015593030489981174, 0.060008641332387924, -0.004410199820995331, -0.02743670716881752, -0.01576702669262886, 0.004085087217390537, 0.02285129763185978, 0.03496642783284187, -0.030676843598484993, 0.025911889970302582, 0.02846500836312771, 0.023590290918946266, 0.0006919807638041675, 0.019785230979323387, -0.008476052433252335, -0.019180918112397194, 0.015264577232301235, 0.0019657020457088947, -0.048241086304187775, 0.013170147314667702, 0.034118540585041046, 0.03322567790746689, -0.012929314747452736, -0.0007173033081926405, -0.01763286255300045, -0.021880557760596275, -0.012866659089922905, -0.0004180469550192356, 0.008621576242148876, 0.006606543902307749, -0.0004396684526000172, -0.010518028400838375, -0.00621990580111742, 0.0033380803652107716, 0.011406291276216507, 0.04018847644329071, -0.0027507664635777473, -0.011952064000070095, 0.036532554775476456, 0.017041675746440887, -0.04212016239762306, -0.06619507819414139, 0.034775953739881516, 0.02532760240137577, -0.011013761162757874, -0.11764603108167648, -0.03640679270029068, -0.016267361119389534, -0.012564749456942081, -0.008212767541408539, -0.008191531524062157, 0.04286888241767883, 0.01184231135994196, -0.02728397585451603, 0.042622826993465424, 0.02689671888947487, -0.021211469545960426, 0.03508681431412697, 0.048304490745067596, -0.00843985378742218, 0.007325483486056328, 0.0033561119344085455, -0.0024537215940654278, 0.026338467374444008, 0.007917017675936222, -0.016514772549271584, 0.07312420010566711, 0.033953845500946045, -0.0027980604209005833, -0.010273262858390808, 0.024546431377530098, 0.029076440259814262, 0.07353883236646652, -0.008143207058310509, -0.034560900181531906, -0.016927048563957214, -0.049444954842329025, -0.04164602607488632, -0.011663148179650307, -0.016382591798901558, 0.0005542915896512568, 0.019639693200588226, 0.012673193588852882, 0.022206474095582962, 0.023280395194888115, -0.008944504894316196, -0.003802427789196372, 0.020905140787363052, -0.00009148591198027134, -0.02478337474167347, 0.0012251668376848102, 0.009829550981521606, 0.006177204195410013, 0.03032844141125679, -0.018624305725097656, -0.01334263663738966, -0.03184209391474724, 0.0015539211453869939, 0.025971243157982826, 0.0036634316202253103, -0.01608950085937977, -0.01721169613301754, 0.03918004408478737, 0.042310599237680435, 0.009476023726165295, -0.04604549705982208, 0.00007380230817943811, 0.023541726171970367, -0.030844885855913162, -0.04970287159085274, 0.029473667964339256, 0.00037574965972453356, 0.008074164390563965, 0.007974529638886452, 0.000611002673394978, -0.00915155652910471, -0.00911144819110632, -0.0056990585289895535, 0.032776545733213425, -0.003362125949934125, 0.022890230640769005, -0.014737294055521488, -0.02265906147658825, 0.046000756323337555, -0.03276707977056503, -0.03988264128565788, -0.029196541756391525, -0.018726512789726257, -0.003280887845903635, -0.0042549800127744675, -0.013229566626250744, 0.007906355895102024, -0.004632423631846905, -0.0039025142323225737, 0.02041822299361229, -0.028959408402442932, -0.06151231750845909, 0.034421585500240326, 0.012713664211332798, -0.03379187360405922, 0.017727214843034744, 0.011473639868199825, 0.009255543351173401, 0.03942018002271652, -0.0027936205733567476, 0.008745118044316769, -0.042934052646160126, -0.023731643334031105, -0.01437930017709732, -0.039065033197402954, 0.014386190101504326, -0.03943673521280289, -0.032942287623882294, -0.0017549454933032393, -0.05497967451810837, -0.008625701069831848, 0.011488981544971466, 0.006302278023213148, -0.04423939436674118, 0.0013835766585543752, 0.053562745451927185, -0.04481375962495804, 0.006835616193711758, 0.012715039774775505, 0.05434532091021538, -0.048699259757995605, 0.021261487156152725, 0.010344493202865124, -0.05723591148853302, -0.006612842436879873, -0.014071459881961346, 0.04714618995785713, 0.0011490131728351116, 0.032397497445344925, -0.017450077459216118, -0.05060198903083801, 0.011354501359164715, 0.027407130226492882, -0.0438317134976387, 0.033003512769937515, 0.033075544983148575, 0.0005469262832775712, 0.04488980397582054, 0.028433959931135178, -0.03597445413470268, -0.004178221337497234, -0.0033523591700941324, 0.013581511564552784, -0.05632255598902702, 0.027418814599514008, -0.017759378999471664, -0.06897856295108795, -0.022425198927521706, -0.027111561968922615, -0.019422845914959908, 0.004553672391921282, -0.021895039826631546, -0.045963577926158905, -0.04038364067673683, 0.0031702015548944473, 0.011362262070178986, 0.00508238235488534, -0.002202653558924794, -0.007526025176048279, 0.06710648536682129, -0.02985789254307747, -0.0282586682587862, -0.00639448594301939, 0.020860841497778893, 0.024385448545217514, 0.014561026357114315, -0.018902920186519623, -0.06173405051231384, -0.01682514138519764, 0.01743713766336441, -0.03152205049991608, -0.008760867640376091, 0.027239687740802765, -0.026499992236495018, 0.034759748727083206, 0.0343959778547287, 0.039291366934776306, 0.02051594853401184, -0.022214744240045547, -0.004358557052910328, -0.02358831837773323, 0.011593884788453579, 0.018912147730588913, -0.00608040951192379, -0.004519286565482616, 0.04131179302930832, 0.03418301045894623, 0.0297953262925148, 0.04953752085566521, 0.06345026195049286, 0.016232848167419434, -0.0014422181993722916, 0.009082864038646221, -0.018795613199472427, 0.03658679872751236, 0.014085870236158371, -0.022802267223596573, 0.022631032392382622, -0.031641557812690735, -0.033606816083192825, -0.0025758021511137486, 0.0648794174194336, 0.03352057933807373, -0.02409597672522068, 0.017300769686698914, -0.011842173524200916, 0.026218902319669724, -0.02993108704686165, 0.04478072747588158, -0.009078879840672016, 0.005588771775364876, -0.03934013843536377, 0.0005884416168555617, -0.0007322694291360676, -0.0034377591218799353, -0.03292136639356613, 0.006791291758418083, 0.019935790449380875, -0.006124177947640419, 0.0755683109164238, 0.009079529903829098, 0.007445845752954483, -0.02724032662808895, 0.029042217880487442, 0.042374659329652786, -0.021817458793520927, -0.019140493124723434, 0.00936614628881216, 0.012561515904963017, 0.038249969482421875, 0.018669912591576576, -0.03423691168427467, 0.01860819011926651, 0.02109038643538952, 0.023629292845726013, 0.010831075720489025, -0.05664888024330139, 0.05824795737862587, 0.051732052117586136, 0.0031575222965329885, -0.03444164618849754, -0.01973850652575493, -0.050258561968803406, -0.016054870560765266, 0.0016763432649895549, 0.000665708095766604, 0.02880897931754589, -0.007641867734491825, -0.0038549616001546383, 0.008946049027144909, 0.02873857691884041, -0.0021674889139831066, 0.03024648129940033, -0.021434513852000237, -0.0052220821380615234, -0.0010031614219769835, -0.0028829218354076147, 0.001979331485927105, 0.0055509996600449085, -0.019932139664888382, 0.03131691738963127, -0.030228696763515472, 0.0022632693871855736, 0.024315718561410904, -0.03134320303797722, 0.01857953518629074, 0.032290130853652954, -0.05678970366716385, -0.005643640179187059, -0.015586436726152897, 0.026168176904320717, 0.039332032203674316, -0.004808954894542694, -0.0033680638298392296, -0.02925843372941017, -0.030891332775354385, 0.019732916727662086, 0.030344774946570396, -0.061191875487565994, 0.06394024193286896, 0.03142737224698067, 0.036846231669187546, 0.03501126542687416, -0.0022622186224907637, 0.011389429681003094, 0.011372891254723072, 0.06808952987194061, 0.018286176025867462, 0.0015571113908663392, -0.006204333156347275, -0.003914530389010906, 0.024770909920334816, -0.047453735023736954, 0.014112911187112331, -0.010118515230715275, 0.01860128529369831, 0.03672065958380699, 0.009235364384949207, 0.02095247060060501, -0.07725664973258972, -0.006632646545767784, 0.004127166699618101, 0.02493254281580448, -0.014560926705598831, -0.002095690229907632, 0.03517255187034607, 0.01729663275182247, 0.005488311871886253, 0.06702382862567902, 0.007176526822149754, 0.011410241946578026, 0.03448949009180069, 0.0011558921542018652, -0.011040622368454933, 0.009030316025018692, -0.000595879799220711, 0.019313281401991844, -0.04227951541543007, -0.03590678796172142, -0.002421846380457282, 0.018625717610120773, -0.05723406746983528, 0.010854680091142654, -0.0032648395281285048, -0.03683358430862427, -0.012622823007404804, -0.058291759341955185, 0.00007965215627336875, -0.004330124706029892, -0.02032584697008133, -0.008980470709502697, 0.017325643450021744, 0.03458066284656525, -0.028567921370267868, -0.011242170818150043, 0.023845313116908073, 0.03455479070544243, -0.012199413031339645, -0.031312499195337296, -0.004969771020114422, -0.025034945458173752, 0.018824312835931778, 0.0022115071769803762, 0.004893915262073278, -0.015061606653034687, 0.02592409960925579, 0.03577788174152374, 0.015166837722063065, -0.041327256709337234, 0.002681230427697301, 0.032902274280786514, 0.048797812312841415, -0.015806496143341064, -0.02477465569972992, -0.07161413133144379, -0.014590401202440262, 0.019548548385500908, 0.018758349120616913, -0.02550944872200489, -0.007691468112170696, 0.047054409980773926, 0.03514155372977257, -0.021196432411670685, 0.0011742194183170795, 0.023892872035503387, -0.012801497243344784, -0.02089393325150013, -0.03581244871020317, 0.011683756485581398, -0.015326145105063915, 0.01175055094063282, 0.04120534285902977, 0.007403254508972168, -0.017379216849803925, -0.05608445778489113, -0.007758837193250656, 0.024060476571321487, 0.0041098459623754025, -0.019513476639986038, 0.00356709910556674, 0.049098387360572815, 0.004256272688508034, 0.029130464419722557, 0.005040265619754791, 0.01073274202644825, -0.018205977976322174, -0.07385644316673279, 0.01337357610464096, -0.00663133105263114, 0.01654774695634842, -0.02136772684752941, -0.02912900596857071, 0.0019089924171566963, -0.029451288282871246, -0.025906072929501534, -0.004668837413191795, -0.028180548921227455, -0.026960885152220726, -0.017328087240457535, -0.005417509935796261, -0.014384761452674866, 0.02197336032986641, 0.04234478995203972, 0.08712457865476608, 0.009945954196155071, 0.0017586878966540098, -0.01527552492916584, -0.007009138818830252, -0.03533797338604927, 0.002163943136110902, -0.018833370879292488, 0.014445450156927109, -0.05259391665458679, -0.010852202773094177, 0.02913391776382923, -0.006235106382519007, -0.04936680570244789, -0.012807759456336498, -0.02098325453698635, -0.017231779173016548, -0.03272604942321777, -0.03262874856591225, 0.006757922470569611, -0.022403661161661148, 0.03126867860555649, 0.013209146447479725, -0.018137585371732712, -0.06335476785898209, 0.02883855253458023, -0.012454158626496792, -0.03836490213871002, -0.0407390370965004, -0.015607691369950771, 0.05003616213798523, 0.03534137085080147, -0.009955131448805332, -0.003412038553506136, -0.036452289670705795, 0.01348328497260809, 0.017802778631448746, -0.05397455766797066, -0.04924386367201805, -0.005512886215001345, 0.023375369608402252, -0.05658547207713127, -0.02569250576198101, 0.009479218162596226, 0.0026553268544375896, -0.033736392855644226, 0.01148797944188118, 0.010853873565793037, 0.020635856315493584, -0.011859536170959473, 0.028829338029026985, -0.04328018054366112, 0.04436131939291954, 0.04050770029425621, -0.016049081459641457, -0.02607809007167816, 0.052290767431259155 ]
Fine-Tune a Semantic Segmentation Model with a Custom Dataset
segments-tobias
March 17, 2022
fine-tune-segformer
guide, partnerships, cv
https://huggingface.co/blog/fine-tune-segformer
Image processor & data augmentation A SegFormer model expects the input to be of a certain shape. To transform our training data to match the expected shape, we can use SegFormerImageProcessor. We could use the ds.map function to apply the image processor to the whole training dataset in advance, but this can take up a lot of disk space. Instead, we'll use a transform, which will only prepare a batch of data when that data is actually used (on-the-fly). This way, we can start training without waiting for further data preprocessing. In our transform, we'll also define some data augmentations to make our model more resilient to different lighting conditions. We'll use the ColorJitter function from torchvision to randomly change the brightness, contrast, saturation, and hue of the images in the batch. python from torchvision.transforms import ColorJitter from transformers import SegformerImageProcessor processor = SegformerImageProcessor() jitter = ColorJitter(brightness=0.25, contrast=0.25, saturation=0.25, hue=0.1) def train_transforms(example_batch): images = [jitter(x) for x in example_batch['pixel_values']] labels = [x for x in example_batch['label']] inputs = processor(images, labels) return inputs def val_transforms(example_batch): images = [x for x in example_batch['pixel_values']] labels = [x for x in example_batch['label']] inputs = processor(images, labels) return inputs # Set transforms train_ds.set_transform(train_transforms) test_ds.set_transform(val_transforms) # 3. Fine-tune a SegFormer model
[ 0.05713765695691109, -0.03891801834106445, -0.02978663519024849, 0.05084148049354553, 0.00853536557406187, 0.13973630964756012, 0.0000029960879146528896, 0.043646544218063354, -0.0531388558447361, -0.024936100468039513, -0.04730330780148506, 0.013945470564067364, 0.010873879306018353, 0.04455514997243881, -0.0020310820546001196, 0.040313445031642914, 0.06736631691455841, 0.01141268014907837, -0.009632229804992676, 0.07974958419799805, 0.036127038300037384, -0.09804892539978027, -0.021078215911984444, 0.028176743537187576, -0.012958895415067673, -0.07697167992591858, -0.033342715352773666, 0.023259123787283897, -0.040387339890003204, 0.019862087443470955, -0.12795890867710114, -0.006874380633234978, 0.002032265067100525, -0.049093760550022125, -0.03717269375920296, 0.07191423326730728, -0.10072644054889679, 0.03636549040675163, 0.06584885716438293, -0.02103397808969021, -0.03014812245965004, 0.05911599472165108, -0.07354151457548141, 0.022795487195253372, 0.034996844828128815, -0.02983720786869526, -0.09066375344991684, 0.09038002789020538, 0.03419548273086548, -0.0004993958282284439, -0.027909113094210625, 0.08555547893047333, 0.018689444288611412, -0.015630172565579414, 0.017093872651457787, 0.024256542325019836, -0.010517874732613564, -0.022469090297818184, 0.015829579904675484, 0.032637450844049454, 0.08288217335939407, -0.033782314509153366, 0.02148095704615116, 0.047296006232500076, 0.05703955888748169, -0.015011616051197052, 0.0061469003558158875, 0.01581043191254139, -0.04526248574256897, -0.09263943135738373, 0.023995433002710342, -0.07328210026025772, 0.04042472317814827, -0.0009700235677883029, -0.005046209320425987, -0.030210202559828758, 0.014901134185492992, -0.010535083711147308, 0.023909498006105423, 0.029833095148205757, 0.010578018613159657, 0.04288683086633682, 0.07181090116500854, 0.03891044110059738, -0.005573222413659096, 0.014510447159409523, -0.05380580201745033, -0.0345858633518219, 0.02293957769870758, 0.0668281838297844, 0.03834007307887077, -0.06316744536161423, 0.04403414577245712, 0.036859046667814255, 0.047936297953128815, -0.003679384244605899, -0.04744521155953407, -0.016144555062055588, 0.043952323496341705, -0.03991410508751869, -0.04444444552063942, -0.009799927473068237, 0.030429715290665627, -0.02999849058687687, -0.0702608972787857, 0.03468209132552147, -0.04191580042243004, -0.028886213898658752, -0.028483957052230835, 0.04006606712937355, -0.018054788932204247, -0.009311946108937263, -0.0631796270608902, 0.10020780563354492, -0.010421890765428543, -0.021436840295791626, 0.025640428066253662, 0.015096095390617847, -0.05671686679124832, 0.012980627827346325, 0.013223649933934212, 0.052054647356271744, 0.04504280537366867, 0.024239184334874153, -0.03467780724167824, 0.02936290018260479, 0.020933935418725014, 0.05699189379811287, 0.02265353873372078, 0.023699956014752388, -0.007454691920429468, -0.058197271078825, 0.04790688678622246, 0.025724411010742188, 0.013805954717099667, -0.015230171382427216, -0.011394951492547989, -0.04844257980585098, -0.032754622399806976, 0.0032957447692751884, 0.050910525023937225, 0.04568788409233093, 0.06749863177537918, 0.02353251725435257, -0.026812365278601646, -0.07712224125862122, -0.03438961133360863, 0.0610850490629673, 0.056279461830854416, 0.017474280670285225, -0.08900909870862961, 0.05775231122970581, -0.07443547248840332, -0.051555782556533813, 0.03226224705576897, 0.060173362493515015, -0.06469682604074478, -0.07904791831970215, -0.0591488815844059, -0.002126238541677594, 0.005521345417946577, 0.020599311217665672, -0.03192576766014099, -0.017598234117031097, 0.010052450932562351, -0.020287882536649704, 0.04966222122311592, -0.00878781545907259, 0.07805833220481873, 0.07117521017789841, -0.02793310396373272, -0.03981614485383034, -0.012329579330980778, 0.07590757310390472, 0.03708285093307495, -0.011880822479724884, 0.011908016167581081, 0.08630107343196869, -0.0028417629655450583, -0.06315206736326218, -0.09178555011749268, 0.005092210602015257, -0.04339401423931122, 0.031569354236125946, -0.0017119345720857382, -0.02930610068142414, -0.002061146078631282, -0.03234917297959328, 0.0121967988088727, 0.09251262992620468, -0.07693168520927429, 0.035822659730911255, 0.0758427083492279, -0.07109296321868896, 0.09458747506141663, -0.05702489614486694, -0.07155308872461319, 0.06005930155515671, 0.050983577966690063, 0.0671834722161293, -0.009186625480651855, -0.04851684346795082, -0.044063545763492584, 0.008646827191114426, 0.05189337953925133, -0.030411355197429657, -0.019803807139396667, -0.046388112008571625, 0.06193108111619949, 0.03161662817001343, -0.008845582604408264, -0.08413240313529968, 0.022373072803020477, -0.04069603234529495, 0.028530215844511986, 0.043595701456069946, -0.05533871054649353, -0.028436800464987755, 0.01479753851890564, -0.006261397153139114, 0.0991595983505249, -0.003423075657337904, -0.0025635247584432364, -0.08483060449361801, 0.04047724977135658, 0.058683767914772034, 0.061154015362262726, 0.027410881593823433, 0.025247100740671158, -0.04025913402438164, 0.001096594613045454, -0.06832732260227203, -0.045714668929576874, -0.0015412941575050354, -0.01790788769721985, -0.06022539734840393, 0.06477154791355133, 0.07972311973571777, 0.052442729473114014, -0.0450824610888958, 0.061986006796360016, -0.0158002357929945, -0.03225759044289589, -0.02775266394019127, -0.001117348438128829, 0.05664945766329765, 0.12727805972099304, -0.02208268828690052, 0.0002900837571360171, -0.015461001545190811, -0.04250313714146614, 0.05605773255228996, -0.012411178089678288, -0.09654366970062256, 0.01607426069676876, 0.012482717633247375, 0.029900293797254562, -0.04314346984028816, 0.040368035435676575, 0.04244518280029297, 0.006762577686458826, -0.0015985752688720822, -0.06649719923734665, 0.006355320103466511, -0.012733971700072289, -0.03589370846748352, 0.04957269877195358, -0.009587278589606285, 0.010845450684428215, -0.00479312427341938, -0.000012129694368923083, -0.022290064021945, 0.04119027405977249, -0.028415638953447342, 0.025864629074931145, 0.02947913482785225, 0.04628543183207512, -0.013515393249690533, -0.03203951567411423, -0.005813494324684143, -0.0333385206758976, 0.010690363124012947, 0.024079548195004463, 0.06920997053384781, 0.006185234524309635, 0.0013476066524162889, -0.010700768791139126, 0.020749617367982864, -0.05295940861105919, 0.005564643070101738, 0.05495136231184006, 0.04578257352113724, 0.022970667108893394, -0.027332386001944542, 0.010207278653979301, 0.0657660961151123, -0.03530902415513992, -0.04398852586746216, -0.035110607743263245, -0.02232978865504265, 0.005038155242800713, -0.01249611098319292, 0.011708167381584644, -0.021422097459435463, -0.04000146687030792, 0.013058261945843697, 0.016914397478103638, 0.004638436250388622, -0.07576299458742142, -0.029888255521655083, -0.014946517534554005, 0.008999287150800228, -0.05427298694849014, -0.0186923760920763, 0.03159680217504501, 0.030133042484521866, -0.02664669044315815, 0.026444442570209503, -0.036408983170986176, -0.04900435358285904, -0.01773010939359665, 0.03306921571493149, -0.009785452857613564, -0.0237728301435709, 0.049706947058439255, 0.0022721129935234785, 0.007430495228618383, 0.011710986495018005, -0.042410969734191895, -0.0023970752954483032, 0.046548839658498764, 0.05496784299612045, -0.047800108790397644, 0.0290891882032156, 0.04036435857415199, 0.01715829223394394, 0.013604956679046154, -0.026419498026371002, -0.027984507381916046, -0.03506048396229744, -0.008344016037881374, 0.006779211573302746, -0.024040184915065765, 0.011907524429261684, 0.014404493384063244, -0.011694960296154022, 0.013379077427089214, -0.018147801980376244, -0.018450655043125153, 0.05243045836687088, -0.019246865063905716, -0.009141439571976662, 0.013961775228381157, -0.04145055264234543, 0.010483426041901112, -0.021401699632406235, -0.006259307265281677, -0.04848114773631096, -0.00684867100790143, -0.011528659611940384, 0.03694375604391098, 0.011200442910194397, 0.010827649384737015, -0.009044830687344074, -0.01721199043095112, 0.07587355375289917, 0.003250611713156104, -0.021190056577324867, 0.010831987485289574, -0.016655655577778816, 0.0016752188093960285, -0.02252122387290001, -0.019682664424180984, 0.033994875848293304, 0.021444493904709816, -0.006760061718523502, -0.016591982915997505, -0.02429366298019886, 0.003977536223828793, 0.008322588168084621, -0.023255569860339165, 0.011241773143410683, -0.02025028131902218, 0.01582515798509121, -0.03718617558479309, -0.01653759740293026, 0.015126656740903854, 0.015085214748978615, -0.010097760707139969, -0.050798505544662476, 0.016262546181678772, -0.0439443364739418, 0.00010967926209559664, 0.0036823039408773184, -0.026041226461529732, -0.043719690293073654, 0.027160193771123886, 0.005273820366710424, 0.00772693520411849, -0.019504914060235023, -0.013583101332187653, -0.03554689884185791, 0.009947996586561203, -0.008770352229475975, -0.02147497422993183, 0.013099954463541508, -0.017704997211694717, -0.030996274203062057, -0.0012083413312211633, -0.10438292473554611, -0.028288401663303375, -0.019392887130379677, 0.0022102976217865944, -0.007331021595746279, -0.019171850755810738, 0.02470722794532776, 0.0023508958984166384, -0.014253335073590279, 0.045235082507133484, -0.0322861485183239, 0.001316002686508, 0.021280033513903618, 0.06593303382396698, 0.039083339273929596, 0.031611938029527664, -0.047720205038785934, 0.028021162375807762, 0.049232374876737595, -0.02605200558900833, -0.0010795379057526588, -0.023451419547200203, -0.01962203159928322, -0.007851692847907543, -0.04426954686641693, 0.061257973313331604, 0.03551500290632248, 0.007485455833375454, -0.0065986947156488895, -0.026505043730139732, 0.014485481195151806, 0.0030318060889840126, 0.019270453602075577, 0.006470013409852982, 0.005882163532078266, -0.0066526844166219234, 0.03510004281997681, 0.006972188130021095, 0.00950208492577076, -0.021608203649520874, 0.04484843462705612, 0.06578279286623001, -0.006344405002892017, 0.022911900654435158, 0.03669615089893341, -0.03159652277827263, 0.004117924254387617, -0.04339812695980072, 0.03153664991259575, 0.038506727665662766, -0.006046555936336517, -0.03770684450864792, 0.03361468017101288, 0.04751325398683548, -0.013740240596234798, 0.008601502515375614, 0.005595293827354908, 0.022697681561112404, 0.00736176036298275, 0.010686186142265797, 0.002695240546017885, -0.03293923661112785, -0.011929521337151527, 0.03534618020057678, -0.03655897453427315, -0.01220643986016512, -0.0470387265086174, 0.03415756672620773, 0.009739351458847523, -0.012383976951241493, 0.008631807751953602, -0.019812051206827164, -0.030345028266310692, 0.0105759147554636, 0.0045628901571035385, 0.02793133072555065, 0.03175167366862297, -0.0589289627969265, 0.02839929424226284, 0.011683513410389423, -0.03314866125583649, 0.023368991911411285, 0.05848489701747894, 0.0113501762971282, 0.02439189702272415, 0.01456704642623663, 0.0079244589433074, -0.016590064391493797, 0.002243171911686659, -0.010714836418628693, -0.012198792770504951, -0.03274580091238022, -0.010237575508654118, 0.0008937034872360528, 0.014974094927310944, -0.0019445697544142604, -0.00410995539277792, -0.016536617651581764, -0.03480223938822746, 0.00018980892491526902, 0.026582006365060806, 0.026391511783003807, -0.04268068075180054, 0.007454935926944017, -0.024586299434304237, -0.020998233929276466, -0.02501169964671135, 0.005740063730627298, -0.05417127534747124, 0.012376239523291588, -0.032238028943538666, -0.007352781016379595, 0.0009627090184949338, -0.03923843428492546, 0.025280864909291267, -0.01433998066931963, -0.0057583944872021675, -0.0010167330037802458, 0.003843298414722085, -0.042578842490911484, -0.014493665657937527, 0.018445519730448723, 0.034121472388505936, 0.0081961490213871, -0.0285611804574728, -0.019830238074064255, 0.022070152685046196, -0.007340000011026859, 0.05663348361849785, 0.04719264805316925, 0.0032809509430080652, -0.030592890456318855, 0.017354566603899002, 0.005482622887939215, -0.024427007883787155, -0.002431972185149789, 0.050474945455789566, 0.03131353110074997, -0.04557247459888458, -0.002779335016384721, -0.01731047034263611, -0.014622975140810013, 0.07320224493741989, -0.003882210934534669, 0.021051740273833275, 0.052298177033662796, 0.004589108284562826, 0.03420295938849449, 0.00284775928594172, 0.014181188307702541, 0.017322184517979622, 0.010265466757118702, -0.043095849454402924, 0.022912582382559776, 0.006044582463800907, 0.007228748872876167, -0.0520583838224411, 0.013404431752860546, 0.023517630994319916, 0.00896473415195942, -0.044865746051073074, 0.01106341928243637, 0.019562724977731705, 0.014937919564545155, 0.005057492759078741, -0.013677263632416725, -0.01314571313560009, -0.022760193794965744, -0.005204967223107815, 0.06091409921646118, 0.05773068964481354, 0.02545035257935524, -0.0017172755906358361, -0.0041715423576533794, -0.011453796178102493, 0.003620395204052329, 0.022159518674016, -0.015887638553977013, 0.04050451144576073, 0.009754914790391922, 0.012881188653409481, 0.04229377955198288, -0.015865452587604523, 0.02152535319328308, -0.02275630459189415, 0.03855274245142937, 0.019259799271821976, -0.004090840928256512, 0.019640978425741196, 0.032649777829647064, -0.0020767629612237215, -0.03199347108602524, -0.03133057802915573, 0.007104390766471624, 0.027334704995155334, 0.02239382266998291, -0.013231919147074223, -0.005136734806001186, -0.041940078139305115, 0.07241395860910416, 0.04206028953194618, 0.027765458449721336, -0.00617833249270916, 0.02265959605574608, 0.04349660500884056, 0.012198461219668388, -0.026479357853531837, 0.008432606235146523, 0.02207733877003193, -0.027713537216186523, 0.01681540533900261, 0.00003341565025039017, -0.009540383704006672, 0.04226016253232956, -0.021534880623221397, 0.0006584301590919495, -0.012695315293967724, -0.022887935861945152, -0.013903802260756493, 0.014007936231791973, -0.020286157727241516, -0.033108457922935486, 0.027960339561104774, -0.07015476375818253, 0.016921576112508774, -0.001076644635759294, -0.029085347428917885, -0.037439990788698196, 0.015325268730521202, -0.0362187884747982, 0.022749731317162514, 0.019843384623527527, -0.024420469999313354, 0.004487210884690285, 0.00442564906552434, 0.0208125002682209, -0.01716757006943226, -0.023268096148967743, -0.013561408966779709, -0.0027336925268173218, 0.0008137027616612613, 0.0023025711998343468, -0.014811328612267971, -0.05985607951879501, 0.023110395297408104, 0.0022436666768044233, -0.013664359226822853, -0.026826558634638786, 0.022519085556268692, -0.012259307317435741, 0.025111855939030647, -0.03905820474028587, 0.0481501929461956, -0.00967136025428772, -0.024414030835032463, 0.02217308059334755, -0.020337438210844994, 0.02951507642865181, -0.032567378133535385, 0.04715464264154434, -0.013487095013260841, 0.05010838806629181, -0.009642898105084896, -0.052437372505664825, -0.051369454711675644, -0.023898018524050713, 0.010448821820318699, 0.009191663935780525, -0.04124145954847336, -0.006795326713472605, 0.05331435427069664, -0.011757836677134037, -0.011584061197936535, 0.028108837082982063, 0.024450941011309624, 0.016667235642671585, -0.00597559055313468, -0.04652317985892296, 0.00835183635354042, 0.04181961715221405, -0.018600812181830406, 0.01534121111035347, 0.0016370267840102315, 0.013361124321818352, 0.0035159175749868155, -0.013983560726046562, -0.015326994471251965, -0.01583346538245678, 0.05375317484140396, -0.05392763018608093, -0.021853553131222725, -0.026670293882489204, 0.012439770624041557, -0.05380720645189285, 0.08022049814462662, -0.031770747154951096, -0.013515008613467216, -0.05902797728776932, -0.0041495878249406815, -0.017210662364959717, -0.024155115708708763, 0.05282703414559364, 0.039013877511024475, -0.011268733069300652, 0.009039374068379402, -0.07394425570964813, -0.023778757080435753, -0.002609680639579892, 0.006639222148805857, 0.04877197742462158, 0.0126531682908535, -0.02304285205900669, -0.006577555555850267, 0.01748552918434143, 0.006410345435142517, -0.03351297229528427, 0.011308863759040833, 0.00957484170794487, -0.03049643337726593, -0.03093390353024006, -0.01759246550500393, 0.06689821928739548, 0.018755368888378143, 0.01345977745950222, -0.014997858554124832, 0.027292892336845398, 0.0022526809480041265, 0.0056357611902058125, -0.07866974174976349, -0.0029155323281884193, -0.01707582175731659, -0.014041208662092686, -0.028837034478783607, 0.006694852374494076, 0.004103080835193396, -0.0073287226259708405, 0.023407766595482826, -0.006067162379622459, -0.025885101407766342, -0.023362046107649803, -0.03484518453478813, -0.014974387362599373, 0.06420895457267761, 0.004735318943858147, -0.0416303426027298, -0.013181749731302261, 0.018451066687703133, -0.009781836532056332, -0.016732702031731606, 0.003601253032684326, 0.01604142226278782, 0.012797962874174118, 0.014924924820661545, -0.016627514734864235, 0.047682005912065506, 0.04494427517056465, 0.006088798400014639, -0.01909244991838932, -0.020643899217247963 ]
Fine-Tune a Semantic Segmentation Model with a Custom Dataset
segments-tobias
March 17, 2022
fine-tune-segformer
guide, partnerships, cv
https://huggingface.co/blog/fine-tune-segformer
Set up the labeling task on Segments.ai First, create an account at https://segments.ai/join. Next, create a new dataset and upload your images. You can either do this from the web interface or via the Python SDK (see the notebook).
[ 0.12769503891468048, -0.004796305205672979, -0.012021971866488457, 0.04453142732381821, 0.058983296155929565, 0.10788784176111221, -0.042573023587465286, 0.03660961613059044, -0.07423523813486099, -0.006650617811828852, -0.0680081695318222, 0.030420474708080292, -0.01846560835838318, 0.04241877794265747, 0.0028674204368144274, 0.017924273386597633, 0.0388961024582386, 0.0030374634079635143, -0.0039892797358334064, 0.012267233803868294, -0.05515187233686447, -0.036486148834228516, 0.01591453328728676, -0.04449872672557831, -0.03305048123002052, -0.046787161380052567, 0.0070677888579666615, 0.0338689386844635, 0.009276563301682472, -0.003921418450772762, -0.038158223032951355, 0.031195344403386116, 0.044657494872808456, 0.05947943031787872, -0.020790044218301773, 0.0980243980884552, -0.08979097753763199, 0.012839358299970627, 0.016804734244942665, -0.022950956597924232, -0.03533807769417763, 0.014962260611355305, -0.07189340144395828, 0.019417520612478256, 0.037187401205301285, -0.048881638795137405, -0.16829174757003784, 0.07600360363721848, 0.062317945063114166, 0.02629345841705799, 0.001369404373690486, 0.04822830110788345, 0.033572498708963394, -0.019288048148155212, -0.003696872154250741, 0.03614635765552521, -0.017675742506980896, -0.09702922403812408, -0.03914831578731537, 0.047163818031549454, 0.12465010583400726, -0.006706405431032181, 0.03330868482589722, 0.002300453605130315, -0.0007637360249646008, 0.002554552163928747, 0.033263642340898514, 0.029527563601732254, -0.04667994752526283, -0.027093054726719856, 0.004454458598047495, -0.04854271188378334, 0.00427522137761116, -0.025330744683742523, -0.03681765869259834, -0.07624737918376923, -0.0018650665879249573, 0.017049387097358704, 0.02262914925813675, 0.0038705305196344852, 0.04200165346264839, 0.05028083175420761, 0.007267440669238567, 0.009904075413942337, 0.009159496054053307, 0.007094298489391804, 0.01123847160488367, -0.07241889089345932, -0.014192868024110794, 0.08763837814331055, -0.01242667157202959, -0.08580433577299118, -0.013625886291265488, 0.006321285851299763, 0.09073226153850555, -0.09032667428255081, 0.005041220225393772, 0.036228425800800323, -0.005740680731832981, -0.0025482208002358675, 0.004593193996697664, -0.0377376489341259, 0.04024508222937584, 0.021497324109077454, 0.0028995757456868887, 0.012665534391999245, -0.010316669009625912, -0.06273873895406723, -0.014495492912828922, -0.006192216649651527, -0.017437370494008064, 0.022808583453297615, -0.006762544624507427, 0.06520570814609528, -0.05249559506773949, 0.012803209014236927, 0.034245412796735764, -0.06774813681840897, -0.03045092336833477, 0.06914414465427399, 0.024000946432352066, 0.03009643219411373, 0.051687873899936676, 0.04945341870188713, -0.026009969413280487, 0.07691413909196854, 0.025783080607652664, 0.013325839303433895, 0.029622159898281097, -0.016076410189270973, -0.01489880308508873, -0.07412604987621307, 0.022871101275086403, -0.008861726149916649, 0.04248509556055069, -0.07660253345966339, -0.008905567228794098, -0.03579885885119438, 0.10092555731534958, 0.023368816822767258, 0.03947656601667404, 0.051935046911239624, 0.032150931656360626, -0.001591531909070909, 0.005556540563702583, 0.0061539700254797935, -0.08073911815881729, 0.03898025304079056, -0.03695320338010788, 0.059324607253074646, -0.07822783291339874, 0.015013673342764378, -0.01237906701862812, -0.06759683787822723, -0.017482979223132133, 0.06969673931598663, 0.012402111664414406, -0.0005920727271586657, -0.077239029109478, -0.011684630066156387, 0.06246091425418854, -0.0077341822907328606, -0.03493998944759369, 0.05260831117630005, -0.007269950117915869, -0.02075084112584591, 0.043554410338401794, -0.028561027720570564, 0.0309052262455225, -0.05082165449857712, 0.0021211307030171156, -0.06494691967964172, 0.02838982827961445, 0.0005303614307194948, 0.058866191655397415, 0.016277117654681206, 0.052378877997398376, 0.005530651193112135, -0.0263349711894989, -0.026779495179653168, -0.06194017082452774, -0.006304799113422632, -0.025758124887943268, -0.020524993538856506, -0.0020627863705158234, -0.06671500205993652, -0.01611652970314026, -0.040501952171325684, -0.0021516710985451937, 0.00805349089205265, -0.034614551812410355, -0.033364199101924896, 0.007109952624887228, -0.021095043048262596, 0.013178759254515171, -0.014527040533721447, -0.020235441625118256, 0.10487585514783859, -0.01391720212996006, 0.10164358466863632, -0.06261982768774033, 0.0210844986140728, 0.006775722373276949, -0.010856317356228828, 0.01036099623888731, 0.038345806300640106, -0.02435271069407463, -0.13541066646575928, 0.054762229323387146, 0.010506668128073215, -0.044622939079999924, -0.10579200088977814, 0.11340426653623581, -0.07288900017738342, 0.029345577582716942, -0.02703208476305008, -0.0031515825539827347, 0.034869518131017685, -0.022497231140732765, -0.0373605340719223, 0.18809296190738678, -0.009362002834677696, 0.022533444687724113, -0.02607458271086216, -0.04431147500872612, 0.09052984416484833, 0.06998420506715775, 0.031113896518945694, 0.035513997077941895, -0.08353423327207565, 0.02455824241042137, 0.010729223489761353, 0.022078057751059532, 0.023946421220898628, -0.07234608381986618, -0.017226355150341988, 0.07925038784742355, -0.06982932239770889, 0.08273707330226898, -0.04998955503106117, 0.02391907013952732, -0.03567899391055107, -0.061057914048433304, -0.022461796179413795, 0.030863240361213684, 0.027835924178361893, 0.09870384633541107, 0.035276368260383606, 0.0076072076335549355, -0.02846461907029152, -0.05898388475179672, -0.012853948399424553, -0.07425271719694138, -0.01859651878476143, 0.03410506993532181, 0.011564861051738262, 0.004801983013749123, -0.03506258875131607, 0.007178946398198605, 0.036431290209293365, 0.0133717842400074, 0.00249466928653419, -0.04046254605054855, -0.030334651470184326, -0.01883743889629841, -0.020828045904636383, 0.018202830106019974, -0.010208413004875183, 0.007134260144084692, -0.015271513722836971, 0.02250591665506363, -0.01193984691053629, 0.01199090015143156, 0.013846641406416893, -0.013288217596709728, 0.019144881516695023, 0.011414098553359509, -0.03552122041583061, -0.007800930179655552, 0.009921098127961159, -0.01736307330429554, -0.03579706326127052, 0.04973268136382103, 0.051818620413541794, -0.00494755944237113, -0.003434352111071348, -0.008230996318161488, -0.026913220062851906, -0.019462646916508675, 0.028093984350562096, 0.015729118138551712, 0.04510929808020592, -0.022323671728372574, -0.010556034743785858, 0.010930297896265984, -0.001008294872008264, 0.027374958619475365, 0.0029643329326063395, 0.008554036729037762, 0.05093938484787941, 0.021320872008800507, 0.0025160149671137333, -0.0013792719691991806, -0.051285695284605026, -0.05464920029044151, 0.02428005076944828, 0.022340789437294006, -0.02488131634891033, -0.10044495761394501, -0.034535378217697144, 0.002289173426106572, 0.036833398044109344, -0.02813875861465931, -0.006961943581700325, 0.033938951790332794, 0.014072185382246971, -0.0031731734052300453, 0.02877824567258358, 0.008828206919133663, -0.030141212046146393, -0.0027128849178552628, 0.017972633242607117, -0.03463256359100342, 0.03727060556411743, 0.02535368874669075, 0.0052336156368255615, 0.024079136550426483, 0.02804514952003956, -0.07537603378295898, 0.04049432650208473, -0.002047069137915969, 0.05496927350759506, 0.01884562522172928, 0.026020469143986702, 0.012111044488847256, 0.034054744988679886, 0.03513270616531372, 0.004344492685049772, 0.0034272954799234867, -0.03521174564957619, -0.029709476977586746, -0.019061200320720673, -0.05394994094967842, 0.017444508150219917, 0.017622940242290497, -0.0033867331221699715, 0.014894713647663593, -0.007794409058988094, -0.04420868679881096, 0.001640832400880754, 0.003619610099121928, -0.024248061701655388, 0.0065665412694215775, -0.01280774362385273, -0.00853776466101408, 0.013165159150958061, 0.042112309485673904, -0.03392311930656433, 0.028679896146059036, 0.03267008438706398, 0.055094290524721146, 0.022993965074419975, -0.00634346716105938, -0.007704183924943209, 0.03505644202232361, 0.054566290229558945, 0.02643456496298313, 0.009037370793521404, -0.03508695214986801, -0.0037454022094607353, -0.008890790864825249, -0.0389370322227478, -0.03312278166413307, 0.0686865746974945, 0.027744073420763016, 0.014965873211622238, 0.03633720427751541, 0.04408806562423706, 0.0002587131457403302, 0.033987753093242645, -0.004638036247342825, 0.015406611375510693, -0.011535325087606907, 0.005440802313387394, -0.01894509606063366, -0.008674254640936852, 0.019553424790501595, 0.04150426760315895, 0.002286771312355995, -0.04715263843536377, 0.00833150465041399, -0.03937201201915741, 0.03022851049900055, 0.01333506591618061, -0.009459740482270718, -0.06806650012731552, -0.0004168117593508214, 0.005913731642067432, 0.00191634357906878, -0.009517722763121128, 0.01857796125113964, 0.0004568632284644991, -0.00015775345673318952, -0.003763956017792225, 0.05182171240448952, 0.00005671360850101337, -0.011209966614842415, -0.0014873837353661656, 0.003740632440894842, -0.032201629132032394, -0.0016738168196752667, -0.004997456446290016, 0.01818247325718403, 0.02329578623175621, 0.005780733190476894, -0.029183464124798775, 0.0040326472371816635, 0.007599730044603348, -0.01320258341729641, -0.016646889969706535, -0.03483254462480545, 0.00543352123349905, 0.012888825498521328, 0.008036909624934196, -0.009458779357373714, -0.04046369343996048, 0.007003233302384615, 0.03812111169099808, -0.03036976046860218, 0.01739143580198288, 0.018611915409564972, -0.005323333665728569, -0.0031322569120675325, -0.006983584258705378, 0.04613655060529709, -0.01812727563083172, 0.012040297500789165, 0.016149606555700302, 0.006165539845824242, -0.02703612856566906, -0.003414424601942301, 0.012103026732802391, 0.017405539751052856, 0.0008849175064824522, -0.0326833575963974, 0.017540637403726578, -0.011268064379692078, -0.026017852127552032, 0.002571884309872985, 0.002951069502159953, 0.08343718945980072, -0.011240346357226372, 0.027974730357527733, 0.0005638883449137211, -0.08135826140642166, -0.01817399635910988, -0.004461661446839571, -0.007275963202118874, 0.04225659742951393, 0.010368568822741508, -0.034995920956134796, 0.026211360469460487, 0.01803877204656601, -0.038901958614587784, -0.008748607710003853, 0.0032704102341085672, -0.015290436334908009, 0.06614016741514206, 0.009409192949533463, -0.01767069846391678, 0.0022287205792963505, -0.026233447715640068, 0.0196500476449728, 0.006498586852103472, 0.005986338946968317, -0.08666028827428818, 0.01560908555984497, 0.03793148696422577, -0.08415430039167404, 0.017441870644688606, -0.0046935249119997025, -0.037558939307928085, -0.0074422163888812065, 0.0310078002512455, 0.040982332080602646, 0.058075230568647385, -0.011829784139990807, 0.0076585859060287476, -0.019102543592453003, 0.01023157499730587, -0.01339813508093357, -0.003406345611438155, -0.020115245133638382, 0.030791733413934708, 0.06778093427419662, 0.04455316439270973, -0.005529255140572786, -0.023574601858854294, -0.022037994116544724, 0.011660999618470669, 0.004714467562735081, -0.0363033302128315, 0.01684688962996006, -0.0013918764889240265, -0.009201383218169212, -0.055314499884843826, -0.04300926253199577, -0.02447490207850933, 0.023200200870633125, 0.04553993418812752, 0.006923311855643988, -0.009946398437023163, 0.014341136440634727, -0.007826846092939377, -0.014224034734070301, 0.005804949905723333, 0.042584825307130814, -0.021884389221668243, 0.01211753860116005, -0.008363353088498116, -0.00937684252858162, -0.024333398789167404, -0.00697935838252306, -0.02268257737159729, -0.038642264902591705, 0.0008692462579347193, 0.05547397583723068, 0.03510236740112305, -0.044519465416669846, 0.012288612313568592, 0.01728581078350544, 0.012344347313046455, -0.003656890941783786, -0.008586701937019825, -0.004990847781300545, -0.0006892763776704669, -0.011609735898673534, 0.017853572964668274, 0.01129607018083334, -0.041914839297533035, 0.03223821148276329, 0.0441448837518692, -0.029642434790730476, -0.0033630800899118185, -0.0686139464378357, 0.02135174535214901, 0.011880509555339813, -0.022269971668720245, -0.0029561275150626898, 0.011965375393629074, -0.0931701585650444, 0.01682627759873867, -0.00038992048939689994, 0.009671519510447979, 0.06727907806634903, -0.0025771877262741327, 0.04595288634300232, -0.007039669435471296, 0.017886115238070488, -0.01041969284415245, 0.00019073458679486066, -0.00755738653242588, 0.02544810064136982, 0.0037234448827803135, 0.010921365581452847, 0.014268271625041962, -0.029735222458839417, 0.03415214270353317, -0.02631540223956108, -0.05825208127498627, 0.007031445391476154, 0.019771691411733627, -0.010347709991037846, 0.030155902728438377, -0.027497025206685066, -0.0034460234455764294, -0.004411767236888409, 0.03056507185101509, 0.007692391984164715, 0.03483199328184128, -0.000840137479826808, -0.02117827534675598, -0.02336815372109413, 0.007331217639148235, -0.013837321661412716, 0.04071306437253952, -0.07154950499534607, 0.04676667973399162, 0.032676827162504196, 0.03149940446019173, 0.02063305303454399, 0.027878059074282646, 0.030816568061709404, 0.01281646452844143, 0.0400855615735054, 0.021849889308214188, -0.002480387454852462, -0.009482267312705517, 0.020602334290742874, -0.0417746901512146, -0.03632364049553871, -0.013331985101103783, -0.022798148915171623, 0.023333758115768433, 0.05220496654510498, -0.04320588335394859, -0.00017048876907210797, -0.025521211326122284, 0.06769197434186935, 0.012779656797647476, 0.0018996436847373843, -0.009661599062383175, -0.015016267076134682, 0.03851478546857834, -0.0009584880317561328, -0.009971678256988525, 0.02785477414727211, 0.052054185420274734, -0.036049310117959976, 0.017605092376470566, -0.00496406015008688, 0.015947984531521797, 0.017994167283177376, 0.02098976820707321, -0.019552187994122505, -0.005593900568783283, -0.039143867790699005, -0.0014932563062757254, 0.02020682580769062, 0.010522213764488697, -0.028803762048482895, 0.0023048250004649162, -0.03689853101968765, -0.012980704195797443, -0.0009534047567285597, 0.04951268061995506, -0.001687763025984168, -0.03222791105508804, 0.0017704122001305223, 0.00793079100549221, -0.0019453553250059485, -0.009146065451204777, -0.013811392709612846, 0.01756570115685463, -0.01824147067964077, -0.023787152022123337, -0.009385401383042336, -0.0318320207297802, -0.03213287517428398, -0.00014597299741581082, -0.014413627795875072, -0.010623166337609291, -0.00976709183305502, 0.008352692238986492, -0.004709003958851099, 0.006590099073946476, -0.01666591875255108, 0.03737475723028183, 0.006434942129999399, 0.03443608060479164, -0.008438138291239738, 0.02018469199538231, 0.003564178477972746, -0.012730058282613754, 0.014434519223868847, -0.009174404665827751, 0.011832105927169323, 0.013799846172332764, 0.00538958003744483, 0.035814691334962845, 0.008044208399951458, -0.01097493153065443, -0.051868684589862823, -0.00009469906217418611, 0.026510776951909065, 0.02111217752099037, 0.03179064393043518, -0.011996938847005367, 0.0026007439009845257, 0.04997504875063896, -0.025263307616114616, 0.01429275143891573, -0.0025498049799352884, 0.002858988009393215, 0.007624200079590082, 0.010823850519955158, -0.05110990256071091, -0.030301928520202637, 0.017180880531668663, -0.04629725217819214, 0.04312150552868843, 0.01091460045427084, 0.015378274023532867, -0.010453373193740845, -0.016307761892676353, 0.028172681108117104, -0.0039849840104579926, 0.04312986880540848, -0.07375872135162354, -0.03844475373625755, -0.013490235432982445, -0.0244989562779665, -0.027939239516854286, 0.010138657875359058, -0.06090771406888962, -0.015146947465837002, -0.0005043085548095405, 0.00031813897658139467, -0.0376683734357357, -0.041548702865839005, 0.07389892637729645, 0.016541313380002975, 0.037477679550647736, -0.00009711864549899474, -0.03125699982047081, 0.03468421474099159, 0.0356362983584404, 0.043413031846284866, 0.0004839152388740331, -0.0011750753037631512, -0.020351871848106384, -0.004311108961701393, 0.06999754160642624, -0.019871702417731285, -0.05714353546500206, 0.04685134068131447, 0.035184621810913086, -0.025785932317376137, -0.05783657357096672, -0.03830597177147865, 0.025352247059345245, 0.0043347980827093124, 0.012681534513831139, -0.021980252116918564, -0.00005484400026034564, 0.01698373816907406, 0.019563382491469383, -0.05466923862695694, -0.00923805870115757, -0.027614129707217216, -0.030293859541416168, 0.006365351378917694, -0.026884114369750023, -0.04332604259252548, -0.02296614833176136, 0.010584844276309013, 0.03222264349460602, -0.0005841277306899428, 0.0007036239258013666, -0.029697837308049202, 0.00800350122153759, 0.016298949718475342, -0.009689110331237316, -0.044562965631484985, 0.024349670857191086, 0.02845635823905468, -0.00562331872060895, -0.004157470539212227, -0.0293672326952219, -0.007731851655989885, -0.019240904599428177, 0.03225071355700493, 0.013775454834103584, 0.04201124981045723, 0.06375335901975632, -0.004558608867228031, -0.005975044798105955, -0.0043050069361925125 ]
Fine-Tune a Semantic Segmentation Model with a Custom Dataset
segments-tobias
March 17, 2022
fine-tune-segformer
guide, partnerships, cv
https://huggingface.co/blog/fine-tune-segformer
Use a dataset from the Hub If you don't want to create your own dataset, but found a suitable dataset for your use case on the Hugging Face Hub, you can define the identifier here. For example, you can use the full labeled sidewalk dataset. Note that you can check out the examples directly in your browser. python hf_dataset_identifier = "segments/sidewalk-semantic" # 2. Load and prepare the Hugging Face dataset for training Now that we've created a new dataset and pushed it to the Hugging Face Hub, we can load the dataset in a single line. python from datasets import load_dataset ds = load_dataset(hf_dataset_identifier) Let's shuffle the dataset and split the dataset in a train and test set. python ds = ds.shuffle(seed=1) ds = ds["train"].train_test_split(test_size=0.2) train_ds = ds["train"] test_ds = ds["test"] We'll extract the number of labels and the human-readable ids, so we can configure the segmentation model correctly later on. python import json from huggingface_hub import hf_hub_download repo_id = f"datasets/{hf_dataset_identifier}" filename = "id2label.json" id2label = json.load(open(hf_hub_download(repo_id=hf_dataset_identifier, filename=filename, repo_type="dataset"), "r")) id2label = {int(k): v for k, v in id2label.items()} label2id = {v: k for k, v in id2label.items()} num_labels = len(id2label)
[ 0.0006197967450134456, -0.0231474656611681, -0.035862572491168976, -0.0130960987880826, 0.019571317359805107, 0.04790133237838745, 0.016116883605718613, 0.04701574891805649, -0.07005193084478378, -0.07201727479696274, -0.10302052646875381, 0.04188047721982002, -0.05063401162624359, 0.021420184522867203, -0.029300346970558167, -0.01661863550543785, 0.027154602110385895, 0.016470495611429214, -0.0259841438382864, 0.0828961655497551, 0.0009113107225857675, -0.03199044242501259, 0.023624088615179062, -0.015214820392429829, -0.04610128328204155, -0.05033785104751587, 0.0046959854662418365, 0.006263338029384613, 0.013387562707066536, 0.022264955565333366, -0.13349707424640656, 0.03933846205472946, 0.027773495763540268, 0.0021970467641949654, 0.0271449014544487, 0.08487511426210403, -0.06354382634162903, 0.03600100427865982, 0.054083019495010376, -0.01224083174020052, 0.02464902214705944, -0.028622256591916084, -0.05842549353837967, 0.010174029506742954, 0.03550954908132553, -0.014817082323133945, -0.13483168184757233, 0.06347468495368958, 0.04126546159386635, 0.019108392298221588, -0.08709052205085754, 0.06373242288827896, -0.005252367816865444, -0.0016776457196101546, 0.044107165187597275, -0.05202842131257057, -0.03792082518339157, -0.10742586851119995, 0.021635422483086586, 0.05406118929386139, 0.07250956445932388, -0.009176205843687057, 0.0451308935880661, 0.049131717532873154, 0.016544485464692116, 0.021318569779396057, -0.018900323659181595, 0.04780595004558563, -0.030998041853308678, -0.030696842819452286, 0.014568135142326355, -0.019485605880618095, -0.02102348767220974, -0.03699672594666481, -0.014087566174566746, -0.04899940639734268, 0.00266893464140594, 0.008789955638349056, 0.0653596967458725, 0.01917811669409275, 0.0001345626515103504, 0.06359501928091049, 0.014678684063255787, 0.02663036435842514, 0.03225376084446907, 0.020196733996272087, -0.03915396332740784, -0.05821767449378967, -0.05587117746472359, 0.09471289068460464, -0.04958278685808182, -0.05267596244812012, -0.04196073114871979, -0.039996493607759476, 0.05879122018814087, -0.025798264890909195, 0.02053099311888218, 0.03294767811894417, 0.04346819221973419, -0.0005638679140247405, -0.03531923145055771, -0.039086997509002686, 0.030336007475852966, -0.05087517946958542, -0.039105094969272614, 0.005025145597755909, -0.015401349402964115, -0.07671396434307098, -0.02345622330904007, -0.024071555584669113, 0.030479421839118004, -0.03545992076396942, -0.0117760319262743, 0.09374956786632538, -0.06822027266025543, 0.06482245028018951, 0.03517870232462883, -0.02666623704135418, -0.02396361716091633, 0.021905560046434402, -0.03283953666687012, 0.042982082813978195, -0.005655496381223202, 0.04067215323448181, 0.025077663362026215, 0.045689862221479416, -0.039646830409765244, 0.03079931065440178, 0.0768490880727768, 0.03480207547545433, -0.015291575342416763, -0.026682956144213676, 0.05479038506746292, -0.005119748879224062, -0.009141206741333008, -0.08330325782299042, -0.006354781799018383, -0.0074515738524496555, 0.048769257962703705, 0.030905984342098236, -0.0040334234945476055, 0.06819403171539307, -0.005198508035391569, -0.0034362347796559334, 0.05882928892970085, 0.037910230457782745, -0.06497679650783539, 0.008486504666507244, 0.013706940226256847, 0.00011594995885388926, -0.049957480281591415, 0.12201110273599625, 0.02234061062335968, -0.04686495289206505, 0.05423596501350403, 0.033219125121831894, -0.03349519148468971, -0.008364534005522728, -0.05531996116042137, 0.009752637706696987, -0.010018832981586456, 0.054814040660858154, -0.08488962054252625, 0.010299589484930038, -0.017137084156274796, -0.015789315104484558, 0.005663746502250433, -0.017062189057469368, 0.06032535061240196, -0.05478803813457489, 0.04311825707554817, -0.08101457357406616, 0.05293012410402298, -0.005420939065515995, 0.04877180606126785, 0.014020321890711784, 0.0319291353225708, 0.02949340082705021, -0.01638888753950596, 0.02315610833466053, -0.04914059489965439, 0.01401496771723032, 0.021025579422712326, 0.039033979177474976, 0.08823864907026291, -0.03964532911777496, 0.0042340317741036415, 0.03188007324934006, -0.0009917276911437511, 0.03575035184621811, -0.01836973987519741, -0.06651673465967178, 0.046308841556310654, -0.025168567895889282, 0.057019561529159546, -0.049222081899642944, 0.015421582385897636, 0.14808444678783417, 0.01884511113166809, 0.06180644407868385, -0.020491821691393852, 0.008289550431072712, 0.00000878101673151832, -0.04370870813727379, 0.03060297854244709, -0.005735685583204031, -0.052173640578985214, -0.06642059236764908, 0.07917758822441101, -0.04186420142650604, 0.020454494282603264, -0.09210439771413803, 0.12350046634674072, -0.08969304710626602, 0.008588871918618679, -0.020342204719781876, -0.013586202636361122, 0.03135494142770767, 0.014569755643606186, 0.0033666491508483887, 0.1477629542350769, -0.005994000937789679, 0.009774147532880306, -0.029810059815645218, -0.024267615750432014, 0.014079621993005276, 0.057192422449588776, 0.05969863012433052, 0.03341348096728325, -0.10391464829444885, -0.05889503285288811, -0.08121614903211594, 0.045100774616003036, -0.003964048810303211, -0.048577576875686646, -0.07498663663864136, 0.07440141588449478, 0.014431966468691826, 0.0263456292450428, -0.03508347272872925, -0.02440190128982067, -0.07963227480649948, -0.02047482319176197, -0.00005288839747663587, -0.01371185202151537, -0.02376200072467327, 0.06449481099843979, 0.03229523077607155, -0.04862732067704201, -0.012578558176755905, -0.07827985286712646, 0.042541250586509705, -0.02440616488456726, -0.018414955586194992, 0.03050070069730282, 0.03311768174171448, 0.007917486131191254, -0.02153506502509117, -0.004780745133757591, 0.07099951058626175, -0.0022635431960225105, -0.016204848885536194, -0.0624224916100502, -0.00921297911554575, -0.03999366611242294, -0.035974159836769104, 0.006805310025811195, 0.011985404416918755, 0.0057855816558003426, -0.009413821622729301, -0.0055567119270563126, 0.01919163577258587, 0.02408209815621376, 0.036519523710012436, 0.02578175626695156, 0.041457753628492355, 0.036333512514829636, -0.02207913249731064, -0.024417495355010033, 0.00024617210146971047, -0.030296429991722107, -0.0591493584215641, 0.012680158950388432, 0.022533917799592018, 0.009757707826793194, 0.007068971637636423, 0.026068957522511482, -0.010800989344716072, -0.04867890849709511, 0.052130017429590225, 0.04574384167790413, 0.07046788185834885, 0.012997717596590519, -0.05023537576198578, -0.010053112171590328, 0.03813915699720383, 0.016696389764547348, 0.0126276770606637, 0.016427991911768913, 0.03624628856778145, 0.00047381289186887443, 0.05313458293676376, 0.0054709818214178085, -0.01439508143812418, -0.023667316883802414, 0.040627941489219666, -0.0003511041577439755, -0.009281665086746216, -0.09134270250797272, 0.007999356836080551, -0.014323009178042412, 0.006767559796571732, -0.03462780639529228, -0.004197581671178341, 0.05304798111319542, -0.0023537306115031242, 0.0141300018876791, 0.0025665301363915205, 0.037622518837451935, 0.0058927107602357864, 0.006228900048881769, -0.016449837014079094, -0.00899660587310791, 0.004274453967809677, -0.0006860053399577737, -0.018474169075489044, 0.03915225341916084, 0.026226786896586418, -0.06415930390357971, -0.015430529601871967, 0.008803022094070911, 0.03666653856635094, -0.006888837553560734, -0.022369880229234695, 0.030794454738497734, -0.0047416058368980885, 0.026232479140162468, -0.027011679485440254, 0.011168845929205418, -0.04637172073125839, 0.0028768302872776985, -0.017363006249070168, -0.02785027027130127, -0.008942621760070324, 0.03860754147171974, 0.000165393459610641, 0.02064640261232853, -0.0006058992585167289, -0.031043116003274918, -0.007055813912302256, -0.003854784183204174, -0.024048231542110443, 0.02907467447221279, -0.030135180801153183, -0.047175996005535126, -0.02413983643054962, 0.0055448575876653194, -0.05824483931064606, -0.00403846288099885, -0.028392182663083076, 0.02141822688281536, 0.02490215003490448, -0.008818620815873146, 0.016324197873473167, 0.03131094202399254, 0.03025735728442669, -0.015067201107740402, -0.026432152837514877, -0.06843215227127075, 0.019498545676469803, -0.03504106029868126, -0.03492969647049904, -0.003989968914538622, -0.004424639046192169, -0.013439570553600788, 0.03308822214603424, 0.0015783151611685753, 0.044339943677186966, -0.013262880966067314, 0.025898054242134094, 0.00675980607047677, 0.007410733960568905, -0.0004825486394111067, 0.0009915110422298312, -0.01913650706410408, -0.03390144556760788, 0.03934427350759506, 0.018772246316075325, -0.02358323708176613, -0.033507268875837326, -0.005094523541629314, 0.0018640205962583423, -0.02183658815920353, 0.006694893352687359, 0.04927688091993332, -0.041777584701776505, 0.031420692801475525, -0.013852577656507492, -0.02847210504114628, -0.023708675056695938, 0.046038441359996796, 0.0004637070233002305, -0.028949839994311333, -0.0196524765342474, 0.023411709815263748, 0.013774269260466099, -0.027562545612454414, 0.007277510594576597, 0.0067105721682310104, -0.021894769743084908, 0.025865592062473297, -0.03537577763199806, -0.004842045251280069, 0.049737077206373215, -0.04108533635735512, -0.035430196672677994, 0.011511964723467827, -0.02616816572844982, 0.005085478536784649, -0.0016618689987808466, -0.040314823389053345, -0.022800356149673462, 0.05521605536341667, 0.037596695125103, -0.00003319841925986111, -0.032911792397499084, -0.03677493706345558, 0.04674912244081497, -0.032741427421569824, 0.022966528311371803, -0.024009276181459427, -0.0411849208176136, 0.02292117290198803, -0.009679199196398258, 0.03593449294567108, -0.00553023861721158, 0.015948347747325897, -0.008344965055584908, -0.0019250914920121431, -0.021417515352368355, -0.004158599302172661, -0.005546492990106344, -0.01104895118623972, 0.028743989765644073, -0.018725037574768066, 0.010514671914279461, -0.005309827160090208, -0.019719213247299194, -0.014674805104732513, 0.01844022236764431, 0.06409318000078201, 0.0022270928602665663, 0.013278196565806866, 0.0231024157255888, -0.03592204302549362, -0.025459764525294304, -0.026286594569683075, -0.04296889156103134, 0.04163301736116409, 0.020325148478150368, -0.023358885198831558, 0.04486653953790665, 0.01995278149843216, -0.035529572516679764, -0.011467019096016884, -0.002436823444440961, -0.010280379094183445, 0.021622318774461746, -0.036359503865242004, -0.01654348336160183, -0.0236382894217968, 0.0045443386770784855, 0.0036799402441829443, 0.0023421866353601217, 0.042004089802503586, -0.056978676468133926, 0.010203983634710312, -0.0109727056697011, -0.017192378640174866, -0.008151145651936531, 0.004712868947535753, -0.037483036518096924, -0.02807495929300785, 0.05775058642029762, 0.03661130741238594, 0.057450663298368454, -0.00100385129917413, 0.024796685203909874, -0.013080195523798466, -0.0016957572661340237, 0.03971835970878601, 0.006819002330303192, 0.006670341826975346, -0.012094197794795036, 0.03968403860926628, 0.06599918752908707, 0.024377796798944473, -0.017552858218550682, -0.03675207495689392, -0.04186569154262543, -0.00028363155433908105, -0.03155665844678879, 0.028764648362994194, -0.005860397592186928, 0.008248831145465374, -0.043278347700834274, -0.015584930777549744, -0.04510188847780228, -0.007724388036876917, 0.06783223897218704, -0.01555158942937851, -0.008283071219921112, -0.007026091683655977, -0.014968130737543106, 0.0031352811492979527, -0.014106775633990765, 0.04484152793884277, -0.0640786811709404, -0.022219959646463394, -0.021804166957736015, 0.005842845421284437, -0.017765438184142113, 0.006365932058542967, -0.007465910632163286, -0.017127271741628647, 0.0035946285352110863, 0.014134133234620094, 0.03887539729475975, -0.041272636502981186, -0.01913127675652504, 0.013892843388020992, -0.013349893502891064, 0.0298153106123209, -0.05973067879676819, 0.008317525498569012, -0.009149919264018536, 0.03884602338075638, 0.08870775252580643, 0.01690096966922283, -0.033575236797332764, 0.031865254044532776, 0.06231840327382088, 0.008195055648684502, 0.03269185498356819, -0.03689691796898842, 0.02900674194097519, 0.054404400289058685, -0.022087369114160538, 0.002091632690280676, 0.037089455872774124, -0.04685181751847267, 0.005079958122223616, -0.039151452481746674, -0.006911504082381725, 0.056700002402067184, 0.017154106870293617, 0.051521506160497665, -0.018817927688360214, 0.0213931854814291, -0.020688151940703392, 0.006411308888345957, -0.009083017706871033, 0.0032239495776593685, -0.01295239944010973, 0.00006546747317770496, -0.02980148419737816, 0.011872179806232452, 0.007778332568705082, -0.01460330095142126, -0.05680610612034798, 0.017487086355686188, 0.04321611672639847, -0.039582036435604095, 0.036089684814214706, -0.025991948321461678, -0.05832476168870926, 0.015163583680987358, 0.01798618957400322, 0.029396841302514076, 0.03853273019194603, -0.014698348008096218, 0.0038868889678269625, -0.03471997380256653, -0.013664758764207363, -0.027258310467004776, 0.06116341054439545, -0.02150564454495907, 0.029702743515372276, 0.015036841854453087, 0.01854458637535572, 0.07316883653402328, 0.00954444520175457, -0.022024353966116905, 0.011380207724869251, 0.04506134241819382, 0.024213599041104317, 0.016875455155968666, 0.013550983741879463, 0.008589568547904491, -0.0004721070290543139, -0.057230059057474136, -0.012615769170224667, 0.006381648126989603, 0.04226315766572952, 0.06521306186914444, 0.00830973032861948, 0.008540751412510872, -0.012990347109735012, 0.04244532436132431, 0.05760224536061287, -0.017670374363660812, -0.015093399211764336, 0.02253616601228714, 0.06485752016305923, 0.008701750077307224, 0.00038801354821771383, 0.016010474413633347, -0.01053388137370348, -0.02324921078979969, 0.03273369371891022, 0.014939388260245323, 0.026913363486528397, 0.018360568210482597, 0.036917783319950104, -0.013864393346011639, -0.010156062431633472, -0.03136489540338516, 0.013842856511473656, -0.006719301454722881, -0.006074208300560713, -0.03413795679807663, 0.019433295354247093, -0.009469393640756607, 0.01707916148006916, 0.00870439037680626, 0.03580426797270775, -0.0383717380464077, 0.0051431190222501755, 0.022504344582557678, 0.04939490556716919, 0.025612182915210724, -0.008559983223676682, 0.011443701572716236, 0.006185581907629967, 0.015407618135213852, 0.01749209314584732, -0.004847689997404814, -0.04367911070585251, -0.03531969338655472, -0.03260883688926697, -0.0020258601289242506, 0.019527805969119072, -0.0036758175119757652, -0.03071540594100952, -0.03889083489775658, 0.024311566725373268, 0.031997062265872955, 0.041093260049819946, 0.0037387977354228497, 0.03949471563100815, 0.012986784800887108, 0.04213959351181984, -0.0213305726647377, 0.026885388419032097, 0.005360542330890894, -0.04124142974615097, 0.03689375892281532, 0.014230821281671524, 0.009465831331908703, 0.04919055104255676, 0.029614105820655823, 0.030031217262148857, -0.0813978761434555, -0.003503270447254181, 0.00004096793782082386, -0.04540350288152695, 0.03147827088832855, -0.03344305604696274, -0.029366353526711464, 0.051592867821455, -0.02964451164007187, -0.012410772033035755, -0.0018678756896406412, -0.00718414643779397, 0.031230609863996506, -0.026587415486574173, -0.000500376510899514, -0.002067205496132374, 0.022873206064105034, 0.01881164126098156, 0.03790602460503578, 0.02505127154290676, 0.025295065715909004, 0.011593726463615894, -0.02037603035569191, 0.030568165704607964, -0.04345837980508804, 0.01453910768032074, -0.04585102200508118, -0.07015803456306458, -0.01975315995514393, -0.011097921058535576, -0.03001120500266552, 0.014472292736172676, -0.035008564591407776, -0.0018082703463733196, -0.01700269617140293, -0.020064108073711395, -0.023313069716095924, 0.010760776698589325, 0.034931134432554245, 0.025825150310993195, 0.0195517148822546, 0.045423541218042374, -0.01930471882224083, 0.022924501448869705, -0.008292644284665585, 0.02179116941988468, 0.030827205628156662, 0.0584247000515461, -0.017301445826888084, -0.0134446294978261, 0.014760843478143215, -0.004497559741139412, -0.06334848701953888, 0.014162029139697552, 0.005816472228616476, -0.017127394676208496, -0.03468416631221771, -0.0032957973890006542, 0.0016147876158356667, 0.026846228167414665, 0.023638451471924782, -0.049186039716005325, -0.008035016246140003, -0.0071840593591332436, 0.011272470466792583, -0.06463474035263062, 0.008297697640955448, -0.05094967037439346, 0.0004397155425976962, 0.011614715680480003, -0.0027154074050486088, 0.018908469006419182, 0.009112745523452759, -0.0015452855732291937, 0.004163912497460842, -0.005481503438204527, 0.001023025717586279, -0.0448322594165802, 0.0003410062927287072, 0.0613684318959713, -0.02337767370045185, 0.005815468262881041, 0.04252348840236664, 0.013401507399976254, -0.02078554779291153, 0.003501261817291379, -0.027050580829381943, 0.013030829839408398, -0.02854779176414013, -0.004790726583451033, -0.007687120698392391, 0.034000277519226074, 0.01780775934457779, -0.021056538447737694, -0.0353252999484539, 0.027011636644601822 ]
Fine-Tune a Semantic Segmentation Model with a Custom Dataset
segments-tobias
March 17, 2022
fine-tune-segformer
guide, partnerships, cv
https://huggingface.co/blog/fine-tune-segformer
Load the model to fine-tune The SegFormer authors define 5 models with increasing sizes: B0 to B5. The following chart (taken from the original paper) shows the performance of these different models on the ADE20K dataset, compared to other models. Source Here, we'll load the smallest SegFormer model (B0), pre-trained on ImageNet-1k. It's only about 14MB in size! Using a small model will make sure that our model can run smoothly on our pizza delivery robot. python from transformers import SegformerForSemanticSegmentation pretrained_model_name = "nvidia/mit-b0" model = SegformerForSemanticSegmentation.from_pretrained( pretrained_model_name, id2label=id2label, label2id=label2id )
[ 0.04686587303876877, -0.04071173816919327, 0.031291477382183075, 0.026613669469952583, -0.004378578159958124, 0.1462269425392151, -0.021775970235466957, 0.07709099352359772, -0.004397125449031591, 0.0069551365450024605, -0.01056270394474268, 0.01066101435571909, -0.020239578559994698, 0.014134888537228107, 0.035965051501989365, 0.025241335853934288, 0.02566778101027012, -0.06479723006486893, -0.08501750230789185, -0.019163062795996666, 0.028865065425634384, -0.13244855403900146, 0.03891947865486145, 0.026952719315886497, -0.055243365466594696, -0.0659618079662323, -0.004698021803051233, 0.0051425606943666935, -0.003176026977598667, -0.013135034590959549, -0.12532080709934235, -0.024348491802811623, -0.012324202805757523, -0.019003350287675858, -0.03984103724360466, 0.010080238804221153, -0.043912287801504135, 0.03436645120382309, 0.013261217623949051, 0.002517386106774211, -0.04598327726125717, 0.025973977521061897, -0.06642808765172958, 0.03868550807237625, 0.06525534391403198, -0.05758948251605034, -0.08527909219264984, 0.059081725776195526, 0.022544873878359795, -0.02427642047405243, 0.0018119829474017024, 0.0010684180306270719, 0.053520817309617996, -0.025990357622504234, 0.020435873419046402, 0.002071238122880459, 0.04658202454447746, -0.03639012202620506, -0.014325045980513096, 0.0415690578520298, 0.11338333040475845, 0.0005040285759605467, 0.0340350978076458, -0.0021759115625172853, 0.021278005093336105, 0.0004424351791385561, -0.035171352326869965, 0.04433107376098633, -0.025387484580278397, -0.06776294857263565, -0.014648031443357468, -0.07795553654432297, 0.03931175544857979, -0.05634574964642525, -0.06215731427073479, -0.08077812194824219, -0.010477184318006039, -0.0005975556559860706, 0.022263046354055405, 0.006239122245460749, 0.000676700088661164, 0.0805051252245903, -0.005538040306419134, 0.013433466665446758, 0.005639708135277033, -0.011863247491419315, -0.052927348762750626, -0.013363287784159184, -0.03912743180990219, 0.06290409713983536, -0.002107881475239992, -0.049039576202631, -0.02466127835214138, -0.018743589520454407, 0.060620661824941635, 0.05520395189523697, 0.0023681556340306997, 0.007736947387456894, 0.04020204767584801, -0.03897048532962799, -0.002179490402340889, -0.053706780076026917, 0.038416702300310135, -0.059360988438129425, -0.034033067524433136, 0.023276198655366898, -0.04509924352169037, -0.05928530916571617, -0.03196180239319801, 0.011779884807765484, -0.012586940079927444, -0.047768790274858475, -0.06731893122196198, 0.0706758126616478, -0.0928671807050705, 0.05027265474200249, -0.015341551043093204, -0.04262418672442436, -0.01223608199506998, 0.049946751445531845, -0.04046615958213806, 0.13044218719005585, 0.027539262548089027, -0.01667817309498787, 0.028285929933190346, 0.07694049924612045, -0.0054225679486989975, 0.043323975056409836, 0.01381897646933794, 0.009421058930456638, 0.022603429853916168, -0.04278062656521797, 0.07029728591442108, -0.022365186363458633, -0.0031430141534656286, -0.05241845175623894, -0.009037853218615055, -0.010933328419923782, 0.0018165446817874908, 0.03580300509929657, -0.03238895162940025, 0.02418232336640358, 0.024643870070576668, 0.01770344190299511, 0.07930915802717209, -0.02999609149992466, -0.02067476324737072, 0.06961797922849655, 0.03875448554754257, 0.05694732442498207, -0.08779726177453995, 0.07516968995332718, -0.05902375653386116, -0.037663187831640244, 0.061778511852025986, -0.010062888264656067, -0.06299518048763275, -0.04554815962910652, -0.09525428712368011, 0.020792972296476364, -0.022827038541436195, -0.01646004430949688, -0.05406907945871353, 0.01954306848347187, 0.0183501448482275, -0.05427410081028938, 0.04017781466245651, 0.013359391130506992, 0.10040316730737686, 0.012199560180306435, -0.0151609992608428, -0.018565896898508072, 0.07497568428516388, -0.008881735615432262, -0.027933979406952858, 0.006184595171362162, 0.048751283437013626, 0.07449200004339218, 0.03274111449718475, -0.0749458447098732, -0.04347091540694237, 0.03726120665669441, -0.014941150322556496, 0.057111047208309174, 0.018840165808796883, -0.10909190028905869, 0.04527465999126434, -0.017591705545783043, -0.015037291683256626, -0.017554141581058502, -0.006931690499186516, -0.02494945377111435, 0.11668524146080017, -0.027041777968406677, 0.0362003929913044, -0.04340348765254021, -0.07347962260246277, 0.02747083082795143, 0.05355539917945862, -0.009847056120634079, -0.00841456837952137, 0.009488195180892944, -0.0070603983476758, 0.01898377202451229, 0.05345170572400093, 0.004977686330676079, -0.04476412013173103, -0.05133120343089104, 0.09435170888900757, 0.008435799740254879, 0.058008261024951935, -0.1645406186580658, 0.028276927769184113, -0.1390739232301712, 0.05028310418128967, -0.01690562628209591, 0.02949928306043148, 0.028997693210840225, -0.0058650365099310875, -0.029611675068736076, 0.12356389313936234, 0.053287215530872345, -0.014519602991640568, -0.01899707317352295, -0.05167572572827339, 0.04886944219470024, 0.047336645424366, 0.0021567491348832846, 0.013791159726679325, -0.04097963497042656, 0.03439531475305557, -0.0026483433321118355, -0.009817917831242085, 0.007292784750461578, -0.05029921606183052, -0.0788220539689064, -0.028227202594280243, 0.03839075192809105, 0.03934593126177788, -0.043877482414245605, 0.025028899312019348, 0.012214249931275845, -0.037845466285943985, 0.05887288972735405, -0.05247797444462776, -0.010808844119310379, 0.06055492162704468, 0.023274989798665047, -0.030569205060601234, 0.01795765943825245, -0.03949017450213432, -0.0026817726902663708, 0.016006164252758026, -0.05763324350118637, 0.013444703072309494, 0.026724595576524734, -0.005071669816970825, -0.030718887224793434, 0.01469296682626009, 0.03135271370410919, -0.003117009298875928, 0.021225182339549065, -0.033974792808294296, 0.013073945418000221, 0.0003577934403438121, -0.004454206209629774, -0.009642761200666428, -0.007336648181080818, -0.02705484814941883, -0.032212428748607635, -0.012248452752828598, -0.003655520733445883, 0.011960971169173717, 0.013713601976633072, 0.042943861335515976, 0.07399856299161911, 0.03179693967103958, -0.03136425092816353, -0.04902804642915726, -0.03077239915728569, -0.0024848156608641148, 0.011417476460337639, 0.015990234911441803, 0.026174016296863556, 0.01194959320127964, 0.0017996898386627436, 0.026096364483237267, -0.0031070872209966183, -0.02018086239695549, 0.025577757507562637, -0.0016364684561267495, 0.0518585741519928, -0.015047391876578331, -0.025418752804398537, -0.007318847347050905, 0.025079604238271713, -0.008656398393213749, -0.03760776296257973, 0.024609055370092392, -0.03176732361316681, -0.00977669470012188, 0.008950957097113132, 0.032538242638111115, 0.003230988048017025, -0.020025333389639854, -0.00007654114597244188, 0.0029330896213650703, 0.016841229051351547, -0.08290132135152817, -0.012841352261602879, 0.016093295067548752, 0.01008825097233057, -0.015919523313641548, -0.015586340799927711, 0.034085385501384735, -0.0003142397908959538, 0.014364701695740223, 0.028526294976472855, -0.0017121422570198774, 0.0009928240906447172, 0.007033932022750378, 0.019118618220090866, -0.00814915169030428, 0.006455336697399616, 0.043434739112854004, 0.0010185159044340253, 0.050295390188694, -0.005073260515928268, -0.050863076001405716, 0.003513479372486472, -0.028606610372662544, 0.008342512883245945, 0.03383447974920273, 0.05474640429019928, -0.018361380323767662, 0.023766010999679565, -0.011668064631521702, -0.03517991676926613, -0.01240303460508585, -0.007640725001692772, -0.02934171073138714, 0.010038369335234165, -0.01112296711653471, -0.011041958816349506, 0.000866247748490423, -0.00861630029976368, 0.008663513697683811, 0.001796024851500988, -0.005623366683721542, 0.003001346020027995, 0.011475328356027603, 0.01648731343448162, 0.004759517963975668, -0.01504679024219513, -0.03666282817721367, -0.004813807550817728, -0.02163253165781498, -0.07540899515151978, 0.0062427097000181675, 0.017224250361323357, -0.001005231635645032, 0.05537806823849678, 0.01802319847047329, -0.00858877319842577, 0.03593099117279053, 0.0388573557138443, 0.02292315475642681, 0.002404780127108097, -0.06308338791131973, 0.005011342000216246, -0.000767673016525805, 0.01543375663459301, -0.02604621835052967, 0.07619556039571762, -0.001440990949049592, 0.04591815546154976, -0.01093304343521595, 0.003830885048955679, -0.03267096355557442, 0.012778104282915592, 0.010294722393155098, 0.004373427480459213, 0.0002250770339742303, 0.000997199211269617, 0.003938279580324888, 0.030818356201052666, 0.023913754150271416, 0.040096502751111984, -0.016099704429507256, -0.02079358883202076, -0.01280209980905056, -0.021878013387322426, 0.0043453676626086235, -0.02070033922791481, 0.012953001074492931, -0.08308880031108856, 0.01515946350991726, -0.019449329003691673, -0.023928944021463394, 0.003538720076903701, 0.02314436435699463, 0.01001130510121584, 0.025203092023730278, -0.02132578007876873, -0.028492433950304985, 0.03541819378733635, -0.02637370489537716, -0.0031180409714579582, 0.03916798159480095, -0.0234199371188879, -0.01938335970044136, 0.006131552625447512, -0.012794217094779015, 0.009419869631528854, 0.029979024082422256, -0.0027327840216457844, -0.025330230593681335, -0.01101252157241106, 0.017141835764050484, -0.007783497683703899, 0.024274781346321106, -0.0007323949248529971, 0.05962516739964485, 0.013150347396731377, -0.00710307015106082, -0.0063733807764947414, 0.023777363821864128, 0.0475185327231884, -0.031774815171957016, 0.003851550631225109, 0.018930241465568542, -0.03649861365556717, 0.03132360056042671, -0.009898084215819836, 0.01598627306520939, 0.025646373629570007, -0.0004978447686880827, -0.015979856252670288, -0.0379260778427124, 0.00729525089263916, -0.010147003456950188, 0.02284904383122921, -0.002713706810027361, 0.045540302991867065, -0.04640358313918114, 0.036765262484550476, 0.04534781724214554, -0.0033776783384382725, 0.025835108011960983, 0.015506325289607048, 0.014607125893235207, -0.020053690299391747, 0.03754989057779312, 0.0401025228202343, 0.014298438094556332, 0.0042864796705543995, -0.030138198286294937, -0.01199240144342184, 0.03706726059317589, 0.046930745244026184, -0.06807861477136612, 0.026536431163549423, 0.023265935480594635, -0.024124054238200188, 0.01694451831281185, 0.024551833048462868, -0.03303094208240509, 0.015735682100057602, 0.007292286027222872, 0.01913677714765072, -0.021700799465179443, 0.011580333113670349, 0.03719501942396164, 0.004062879830598831, 0.009669153019785881, -0.06510747224092484, 0.019204704090952873, 0.008330020122230053, -0.018148861825466156, -0.017548251897096634, -0.006171005312353373, -0.026994042098522186, 0.0034684231504797935, 0.03298274055123329, -0.004925571847707033, -0.04022613540291786, -0.03151994198560715, -0.0008448339649476111, 0.03482711687684059, -0.018929939717054367, 0.01488630473613739, 0.018833493813872337, -0.005760615691542625, 0.026763036847114563, 0.04072463884949684, 0.04030735790729523, -0.00349420215934515, -0.03213357925415039, 0.0014740136684849858, -0.011022856459021568, 0.01021650992333889, 0.014696328900754452, 0.01059834286570549, 0.04400608316063881, 0.03205699101090431, 0.0082002067938447, -0.0250528696924448, -0.044564153999090195, 0.02433737739920616, 0.06048978492617607, -0.023878999054431915, -0.01502289343625307, -0.01685456559062004, -0.009766844101250172, 0.004268023185431957, -0.03963574022054672, 0.04878350347280502, -0.05446511507034302, 0.028539428487420082, -0.0007244223961606622, -0.009226766414940357, -0.019884800538420677, -0.03822922334074974, -0.00866395328193903, -0.05357087403535843, 0.04354521259665489, 0.029986735433340073, 0.036732785403728485, -0.006034890655428171, -0.023135699331760406, -0.016766652464866638, 0.00010873388964682817, -0.017438696697354317, -0.06550956517457962, 0.0021581347100436687, -0.01648019626736641, -0.012159655801951885, 0.04983329772949219, 0.03953392431139946, -0.011651961132884026, -0.0014553195796906948, 0.0299207866191864, 0.007478917017579079, -0.054418839514255524, -0.0077475751750171185, 0.02990029565989971, 0.008596579544246197, -0.0026318125892430544, 0.012058599852025509, -0.015328614972531796, -0.04729796573519707, 0.030559243634343147, -0.03324158862233162, 0.019210653379559517, 0.060556281358003616, -0.009544255211949348, 0.035374823957681656, -0.008166717365384102, 0.055635686963796616, -0.009608374908566475, -0.00807297881692648, 0.007552776951342821, 0.0021195977460592985, -0.017048275098204613, -0.02395370416343212, 0.017311396077275276, 0.014992207288742065, 0.026253143325448036, -0.02898651920258999, -0.05226356163620949, 0.047947775572538376, 0.0178538728505373, -0.0300311166793108, -0.003325478173792362, 0.00475846603512764, -0.07580582797527313, 0.0030273895245045424, -0.02294701710343361, -0.010460961610078812, 0.03485255688428879, 0.00888354703783989, 0.01876133866608143, -0.022914130240678787, 0.03071693144738674, 0.03676505759358406, 0.06050194799900055, -0.008281979709863663, 0.03669775277376175, 0.019816935062408447, 0.02893078327178955, 0.08659147471189499, -0.02034200355410576, -0.013085508719086647, -0.02349283918738365, 0.05518278479576111, 0.03333355113863945, -0.009454570710659027, 0.02964567393064499, 0.03183621168136597, 0.0010212274501100183, -0.03490853309631348, -0.03941287100315094, -0.0565439909696579, 0.03775623068213463, 0.06923286616802216, -0.00718939071521163, -0.0026801463682204485, -0.039510007947683334, 0.07105827331542969, 0.02932831272482872, 0.030116595327854156, -0.02397664450109005, 0.042306285351514816, 0.03200545907020569, -0.020549219101667404, 0.0034590393770486116, 0.0018122391775250435, 0.010882670059800148, -0.04857471585273743, 0.009474823251366615, -0.012606755830347538, 0.019328013062477112, -0.004716362338513136, -0.007708503399044275, -0.04172913730144501, -0.014991114847362041, -0.04837361350655556, -0.014158874750137329, -0.00495733181014657, 0.01592608354985714, 0.004678524099290371, 0.03665332496166229, -0.071108378469944, -0.017253205180168152, -0.011927230283617973, -0.03639213368296623, -0.06682217121124268, 0.011034863069653511, 0.020156335085630417, -0.021863019093871117, 0.021900806576013565, -0.008511277846992016, -0.011594152078032494, 0.019949868321418762, 0.01691051945090294, 0.01851978339254856, 0.003182880813255906, -0.02883589267730713, -0.028717584908008575, 0.017103705555200577, -0.010833733715116978, 0.024897001683712006, -0.023893676698207855, 0.012951253913342953, 0.005990863777697086, 0.010817351751029491, -0.043880827724933624, 0.0398823581635952, 0.01863821968436241, -0.0004117945791222155, -0.039278239011764526, 0.03915434330701828, -0.03424863889813423, -0.022159269079566002, 0.04228890314698219, -0.00249498407356441, -0.030904971063137054, -0.023917527869343758, 0.01630096137523651, 0.046264056116342545, 0.0534684844315052, -0.002597951563075185, -0.03429045155644417, 0.0156033243983984, -0.042051322758197784, 0.00007657489186385646, 0.02599450759589672, -0.0037414429243654013, 0.03241315111517906, 0.005827015731483698, -0.003988122567534447, 0.002422933466732502, -0.0184674933552742, -0.004881963133811951, 0.03657469153404236, -0.02505500055849552, -0.0023205173201858997, -0.029337793588638306, 0.009379287250339985, -0.015331024304032326, 0.017031658440828323, 0.026274200528860092, 0.03075230121612549, -0.013694149442017078, 0.009579233825206757, -0.03664889559149742, -0.04206131771206856, 0.028167396783828735, -0.0689653679728508, -0.034298621118068695, -0.04869258031249046, 0.012971616350114346, -0.06108719855546951, 0.023297179490327835, -0.027785472571849823, -0.017289360985159874, -0.08290024846792221, 0.0013276308309286833, 0.00959464069455862, -0.01732775755226612, 0.04683041200041771, 0.05763266980648041, 0.026710906997323036, 0.01040826179087162, -0.038824643939733505, 0.013943650759756565, -0.011012439616024494, -0.0008601363515481353, 0.02427697367966175, 0.006176467519253492, 0.005932328756898642, -0.03467598557472229, 0.03983817622065544, 0.02652544528245926, -0.058123476803302765, 0.0023770348634570837, 0.019435983151197433, 0.005026733502745628, -0.00379946012981236, 0.00597594678401947, 0.0340672992169857, 0.005398391745984554, 0.043379150331020355, 0.029945094138383865, 0.024166177958250046, 0.0023911730386316776, 0.02248929627239704, -0.019515270367264748, 0.01586628518998623, -0.01274926122277975, -0.013100807555019855, -0.0006652840529568493, -0.0034265650901943445, 0.00736624002456665, 0.005321289878338575, 0.00398264778777957, 0.01954316534101963, -0.005818476900458336, -0.03239566460251808, -0.027792805805802345, 0.023639751598238945, 0.08063506335020065, 0.00958164967596531, -0.06697740405797958, 0.013576317578554153, 0.04903889819979668, 0.0028551537543535233, -0.00892909336835146, 0.01690918393433094, 0.02063361555337906, -0.021871257573366165, 0.05377792939543724, -0.053209301084280014, 0.012411599978804588, 0.023442910984158516, -0.035841166973114014, -0.0042371731251478195, 0.03487856686115265 ]
Fine-Tune a Semantic Segmentation Model with a Custom Dataset
segments-tobias
March 17, 2022
fine-tune-segformer
guide, partnerships, cv
https://huggingface.co/blog/fine-tune-segformer
Push the result to the Hugging Face Hub When you're done labeling, create a new dataset release containing the labeled data. You can either do this on the releases tab on Segments.ai, or programmatically through the SDK as shown in the notebook. Note that creating the release can take a few seconds. You can check the releases tab on Segments.ai to check if your release is still being created. Now, we'll convert the release to a Hugging Face dataset via the Segments.ai Python SDK. If you haven't set up the Segments Python client yet, follow the instructions in the "Set up the labeling task on Segments.ai" section of the notebook. Note that the conversion can take a while, depending on the size of your dataset. python from segments.huggingface import release2dataset release = segments_client.get_release(dataset_identifier, release_name) hf_dataset = release2dataset(release) If we inspect the features of the new dataset, we can see the image column and the corresponding label. The label consists of two parts: a list of annotations and a segmentation bitmap. The annotation corresponds to the different objects in the image. For each object, the annotation contains an id and a category_id. The segmentation bitmap is an image where each pixel contains the id of the object at that pixel. More information can be found in the relevant docs. For semantic segmentation, we need a semantic bitmap that contains a category_id for each pixel. We'll use the get_semantic_bitmap function from the Segments.ai SDK to convert the bitmaps to semantic bitmaps. To apply this function to all the rows in our dataset, we'll use dataset.map. python from segments.utils import get_semantic_bitmap def convert_segmentation_bitmap(example): return { "label.segmentation_bitmap": get_semantic_bitmap( example["label.segmentation_bitmap"], example["label.annotations"], id_increment=0, ) } semantic_dataset = hf_dataset.map( convert_segmentation_bitmap, ) You can also rewrite the convert_segmentation_bitmap function to use batches and pass batched=True to dataset.map. This will significantly speed up the mapping, but you might need to tweak the batch_size to ensure the process doesn't run out of memory. The SegFormer model we're going to fine-tune later expects specific names for the features. For convenience, we'll match this format now. Thus, we'll rename the image feature to pixel_values and the label.segmentation_bitmap to label and discard the other features. python semantic_dataset = semantic_dataset.rename_column('image', 'pixel_values') semantic_dataset = semantic_dataset.rename_column('label.segmentation_bitmap', 'label') semantic_dataset = semantic_dataset.remove_columns(['name', 'uuid', 'status', 'label.annotations']) We can now push the transformed dataset to the Hugging Face Hub. That way, your team and the Hugging Face community can make use of it. In the next section, we'll see how you can load the dataset from the Hub. python hf_dataset_identifier = f"{hf_username}/{dataset_name}" semantic_dataset.push_to_hub(hf_dataset_identifier)
[ 0.01898510754108429, -0.0548708550632, 0.01165146566927433, -0.01827053725719452, 0.02493646740913391, 0.0754130631685257, -0.036209654062986374, 0.04434109851717949, -0.04778279736638069, -0.008405745960772038, -0.09592849016189575, 0.03429562970995903, -0.019587475806474686, 0.019767610356211662, -0.019980376586318016, -0.03102075308561325, 0.06258326023817062, -0.016886301338672638, -0.007212236523628235, 0.06806962937116623, 0.009713449515402317, -0.06390567123889923, -0.021358171477913857, -0.014460220001637936, -0.059049949049949646, -0.014572321437299252, 0.043010320514440536, 0.01032208651304245, 0.03076018951833248, 0.014200383797287941, -0.10716334730386734, -0.00645282631739974, 0.009776466526091099, 0.04288939759135246, 0.014723359607160091, 0.10022646933794022, -0.1025710478425026, 0.009522251784801483, 0.04766995832324028, -0.017460696399211884, 0.020514225587248802, 0.019457099959254265, -0.06404351443052292, 0.003487536683678627, 0.09844192862510681, 0.011858412064611912, -0.12929320335388184, 0.047768231481313705, 0.048703745007514954, 0.05689316987991333, -0.03100518323481083, 0.03577893599867821, 0.01701406016945839, 0.003036706941202283, 0.028411036357283592, -0.015362715348601341, -0.016033276915550232, -0.06259501725435257, -0.02733604796230793, 0.040892910212278366, 0.02984933741390705, -0.04287923872470856, 0.026164785027503967, 0.03300492465496063, 0.011843896470963955, 0.05546291545033455, 0.03413103148341179, 0.023855825886130333, -0.03348433971405029, -0.007028909865766764, 0.012495597824454308, -0.06812380254268646, 0.005003668367862701, -0.01873711682856083, -0.03042774088680744, -0.06834234297275543, 0.01590135134756565, 0.025029152631759644, 0.02275869995355606, -0.0293092243373394, 0.024999216198921204, 0.007963440380990505, 0.011695345863699913, -0.010922721587121487, 0.05909477174282074, 0.0068322536535561085, 0.0028336942195892334, -0.11348529160022736, -0.06729914247989655, 0.10528188198804855, -0.04294656217098236, -0.08103733509778976, -0.008528714999556541, 0.0026796292513608932, -0.003690043231472373, -0.08350406587123871, 0.05442335084080696, 0.030131345614790916, 0.04577091708779335, -0.04547438770532608, 0.03289398178458214, -0.06597954779863358, -0.008856547065079212, -0.02749246172606945, 0.0012471607187762856, -0.02971787378191948, -0.06461431086063385, -0.09244523197412491, -0.04594965651631355, -0.022683128714561462, 0.01762840710580349, 0.008194215595722198, 0.007120478432625532, 0.0339047871530056, -0.055983126163482666, 0.02142306976020336, 0.004650834482163191, -0.031852275133132935, -0.021499034017324448, 0.030191322788596153, 0.03418952226638794, 0.03672383725643158, 0.0034277094528079033, 0.015508920885622501, -0.029301047325134277, 0.0546376034617424, -0.024059448391199112, 0.05254121869802475, 0.061768628656864166, 0.015427742153406143, -0.04625336453318596, -0.031770166009664536, 0.030163303017616272, -0.004075794015079737, -0.007341348100453615, -0.07066527754068375, 0.02233300358057022, -0.08905265480279922, 0.0646410882472992, -0.017740577459335327, 0.013199398294091225, 0.08352445811033249, 0.024325331673026085, -0.03390854597091675, 0.025135304778814316, 0.002614664612337947, -0.11486080288887024, 0.05895140394568443, -0.04331737756729126, 0.026641281321644783, -0.0502404123544693, 0.025148112326860428, -0.021685399115085602, -0.06383839249610901, -0.00431930972263217, 0.03419888764619827, -0.001660552341490984, 0.0024563162587583065, -0.1167466938495636, 0.012273848988115788, 0.00809174682945013, 0.012076113373041153, -0.03708835318684578, -0.01651424914598465, 0.015018771402537823, 0.002954344265162945, 0.042311735451221466, -0.006179098505526781, 0.0063958074897527695, -0.060810063034296036, 0.02375500649213791, -0.09174554795026779, 0.01638522744178772, -0.04959619790315628, 0.053261950612068176, -0.0019708124455064535, 0.08233378827571869, 0.03917546197772026, -0.013453271239995956, -0.0029650854412466288, -0.021444911137223244, 0.011698734015226364, -0.0168303232640028, 0.005389118567109108, 0.05539775267243385, -0.03901004046201706, 0.022367704659700394, 0.0008763625519350171, -0.03635672479867935, 0.03565525636076927, -0.03448893502354622, -0.005292557179927826, 0.024481870234012604, -0.06784031540155411, 0.03990679979324341, -0.07099959999322891, -0.020405715331435204, 0.12064037472009659, -0.04863933101296425, 0.05727304890751839, -0.008160182274878025, 0.01681271381676197, 0.038998592644929886, -0.02925831265747547, 0.0007960357470437884, -0.010555299930274487, -0.042145419865846634, -0.10039247572422028, 0.057427093386650085, 0.03054048679769039, -0.009673661552369595, -0.112520232796669, 0.10386655479669571, -0.10951456427574158, 0.004277232568711042, -0.04513833671808243, -0.013943019323050976, 0.03856077790260315, -0.013938689604401588, -0.03801729157567024, 0.14834153652191162, -0.02602495811879635, 0.027960659936070442, -0.018627000972628593, 0.0428464449942112, 0.03319401293992996, 0.05756770819425583, 0.07248580455780029, 0.03191868215799332, -0.10992132127285004, -0.07569423317909241, -0.0874270424246788, -0.005855600815266371, -0.0024372022598981857, -0.05282445624470711, -0.08028244227170944, 0.09839595854282379, 0.0037208988796919584, 0.0433073453605175, -0.05650733411312103, 0.02145020291209221, -0.03285738080739975, 0.022798573598265648, -0.008775746449828148, 0.03280741348862648, 0.014151950366795063, 0.09955641627311707, 0.04316719248890877, -0.023427246138453484, -0.00974825769662857, -0.08724365383386612, 0.03646649047732353, -0.0426931194961071, -0.023064451292157173, 0.04464989900588989, -0.012512617744505405, 0.01217192504554987, -0.01435365341603756, -0.030574774369597435, 0.0559399276971817, -0.021687041968107224, -0.04438331723213196, -0.05324308201670647, -0.0000479349255328998, -0.04397837072610855, -0.014655756764113903, -0.00658013578504324, 0.038131967186927795, -0.034299153834581375, -0.003532580565661192, -0.019645076245069504, -0.005091802217066288, 0.03954387456178665, 0.014918379485607147, 0.00790243037045002, 0.013003512285649776, 0.055259328335523605, -0.03668516129255295, -0.022358180955052376, -0.0003799054538831115, -0.015153863467276096, -0.04434749111533165, 0.0013970527797937393, 0.07355238497257233, 0.014787578023970127, 0.026957636699080467, 0.016166718676686287, -0.010171923786401749, -0.052129823714494705, 0.046974923461675644, 0.019819775596261024, 0.041448358446359634, 0.0005133001832291484, -0.02430897206068039, 0.016112366691231728, 0.015498624183237553, -0.0013078761985525489, 0.01700877957046032, 0.009495562873780727, 0.04597029834985733, -0.0011446709977462888, 0.03457221761345863, 0.0006523106130771339, -0.006589410826563835, -0.023071113973855972, 0.018500037491321564, 0.0041181230917572975, -0.0031780931167304516, -0.0857873484492302, 0.00307313515804708, -0.03390426188707352, 0.0017046856228262186, -0.0256547462195158, -0.0004115754272788763, 0.045477259904146194, 0.022143183276057243, -0.014774461276829243, 0.0006155291921459138, 0.027859700843691826, -0.011542883701622486, -0.003992375452071428, -0.01767391711473465, 0.0043532163836061954, 0.011557203717529774, -0.014488456770777702, -0.016989871859550476, 0.0223873071372509, 0.05543140321969986, -0.06296869367361069, -0.009581775404512882, 0.0024062134325504303, 0.025439882650971413, -0.01822686940431595, 0.001623967895284295, 0.022178176790475845, 0.01329626515507698, 0.01964431442320347, -0.012701687403023243, 0.009655129164457321, -0.042902134358882904, -0.01783170737326145, -0.01937107928097248, -0.044985849410295486, -0.012331128120422363, -0.00537152448669076, 0.0196535587310791, -0.001303349039517343, -0.0023879376240074635, -0.004196827299892902, 0.008944230154156685, -0.023080961778759956, -0.0028427913784980774, 0.03523919731378555, 0.005624822340905666, -0.006495793350040913, -0.0014968140749260783, 0.012477477081120014, -0.04549096152186394, 0.023371808230876923, 0.022710464894771576, 0.01807047426700592, 0.06967107206583023, -0.03910873457789421, 0.042854778468608856, 0.01590423658490181, 0.03961430862545967, -0.004507625009864569, 0.0033584258053451777, -0.04956928268074989, 0.00004549894583760761, -0.050700362771749496, -0.009279781021177769, -0.015908658504486084, 0.08476973325014114, -0.0009105969220399857, 0.01281759887933731, -0.006343845743685961, 0.07416846603155136, -0.0056738960556685925, 0.033336810767650604, -0.00021820289839524776, 0.005118079483509064, 0.02170734666287899, 0.012504342943429947, 0.008351505734026432, -0.039615873247385025, 0.03623989224433899, 0.05549360811710358, -0.007071489002555609, 0.003799984697252512, 0.030245201662182808, 0.000941416947171092, -0.01398573536425829, 0.02533803880214691, 0.028121715411543846, -0.030281061306595802, 0.03513503074645996, 0.0014384740497916937, 0.03942792862653732, -0.0606796070933342, 0.005806758534163237, -0.008928398601710796, -0.024700814858078957, 0.005341495852917433, 0.028720056638121605, 0.02621258981525898, -0.009969254955649376, -0.005700291600078344, -0.006611868739128113, 0.004259677138179541, -0.003691753139719367, -0.028762787580490112, 0.013844025321304798, 0.03875735029578209, -0.03692864254117012, -0.038535866886377335, 0.0327422134578228, -0.02421388402581215, -0.05266449227929115, -0.009946643374860287, -0.03166981786489487, 0.003111814381554723, 0.03431062772870064, 0.021040363237261772, -0.01948387734591961, -0.05384509637951851, -0.022588154301047325, 0.04250568524003029, -0.009998531080782413, 0.013914918527007103, 0.008565722964704037, -0.022400207817554474, 0.016867410391569138, 0.0064245592802762985, -0.0005759993800893426, 0.000403543992433697, 0.026820525527000427, -0.000423936900915578, 0.014408119954168797, -0.023390112444758415, 0.03742092475295067, -0.005198522005230188, 0.025602169334888458, 0.042563650757074356, -0.019754691049456596, 0.0021646562963724136, -0.003695960156619549, 0.005343984812498093, -0.02183820679783821, 0.01724080927670002, 0.058510277420282364, -0.02375701628625393, 0.018874576315283775, 0.0344480536878109, -0.040033258497714996, -0.012253017164766788, -0.03308817371726036, -0.020551204681396484, 0.02420041337609291, 0.026799138635396957, -0.02157444693148136, 0.016137659549713135, 0.010352052748203278, -0.026610879227519035, -0.018072806298732758, -0.023591918870806694, 0.031982291489839554, 0.024247443303465843, -0.057552751153707504, -0.0027740574441850185, 0.010769347660243511, -0.014943979680538177, 0.008016424253582954, -0.018929174169898033, 0.0027899688575416803, -0.04609975963830948, 0.02315542846918106, -0.004845916293561459, -0.0499437116086483, -0.016705822199583054, -0.009411968290805817, -0.03733055666089058, -0.039074160158634186, 0.06517980247735977, 0.08675341308116913, 0.058218155056238174, 0.017368583008646965, 0.014603222720324993, -0.014581942930817604, 0.006731162313371897, 0.025878489017486572, 0.006001382600516081, -0.007483608555048704, 0.0007947015692479908, 0.04979696497321129, 0.06315441429615021, -0.010920180007815361, 0.005679546855390072, -0.0022324370220303535, -0.0036503365263342857, 0.006488933227956295, -0.011429141275584698, -0.028518667444586754, -0.03106256201863289, -0.01969139836728573, -0.037623416632413864, -0.04101231321692467, -0.013481802307069302, 0.02482151798903942, 0.05036674439907074, -0.016042085364460945, 0.002390617737546563, 0.023693997412919998, -0.012237267568707466, -0.01446598581969738, 0.029947718605399132, 0.03675661236047745, -0.033797021955251694, 0.005169591400772333, -0.03410250321030617, -0.008668459951877594, 0.009536907076835632, 0.00025167976855300367, 0.009222890250384808, -0.03716757148504257, 0.0038753945846110582, 0.018604882061481476, 0.04280174523591995, -0.03987385705113411, 0.009749763645231724, 0.025609266012907028, -0.010997873730957508, 0.0014538171235471964, -0.04332742840051651, 0.020677823573350906, -0.00580115569755435, -0.017393965274095535, 0.0505964569747448, 0.009214425459504128, -0.03621440753340721, -0.0014117233222350478, 0.04560694471001625, -0.0050713615491986275, 0.02474956214427948, -0.03207044675946236, 0.016177183017134666, 0.028248753398656845, 0.0002098830882459879, 0.0034148243721574545, 0.02932007424533367, -0.07480861991643906, -0.006951446644961834, -0.009581022895872593, 0.04324236512184143, 0.05298619717359543, -0.005278205033391714, 0.03139197453856468, 0.0007444339571520686, 0.023818988353013992, 0.016770070418715477, 0.035937655717134476, -0.01333090290427208, 0.0023644082248210907, 0.011223359033465385, 0.010488751344382763, 0.01781201921403408, -0.0033278209157288074, -0.00493662990629673, -0.015694931149482727, -0.06478835642337799, -0.018560221418738365, 0.04513895884156227, -0.045269619673490524, 0.03386816009879112, -0.04971299320459366, -0.019040977582335472, -0.0031434474512934685, 0.03866533562541008, 0.03108980506658554, 0.038986410945653915, 0.003071230836212635, 0.013104402460157871, -0.05077984556555748, -0.015737490728497505, -0.022711623460054398, 0.03503745421767235, -0.044401247054338455, -0.0035328357480466366, 0.05503232404589653, 0.035951875150203705, 0.0690384954214096, 0.02530580572783947, 0.08018781244754791, -0.007501265965402126, 0.03814880549907684, -0.01203854475170374, 0.010377734899520874, 0.01593567058444023, -0.004329369869083166, -0.02452537789940834, -0.03074014186859131, -0.027581244707107544, 0.008339355699717999, 0.036512695252895355, 0.03200242295861244, -0.036461833864450455, 0.006934764329344034, -0.003707496915012598, 0.04814811795949936, 0.05443266034126282, 0.005449177231639624, 0.0030387158039957285, 0.009158964268863201, 0.04925807937979698, -0.0063719600439071655, 0.005135240964591503, 0.0305866040289402, 0.030107170343399048, 0.0038981761317700148, 0.02784695103764534, -0.012830786406993866, 0.025457177311182022, 0.02413449063897133, 0.022669870406389236, -0.010936066508293152, 0.009714208543300629, -0.034929100424051285, 0.01485639251768589, -0.001906449906527996, -0.0019832770340144634, -0.03078632801771164, 0.021812131628394127, -0.06012260168790817, 0.02173495665192604, -0.0089139798656106, 0.018932612612843513, -0.008787819184362888, 0.00546348886564374, 0.027376297861337662, 0.07407858967781067, 0.00905306451022625, -0.03317830339074135, -0.008448009379208088, 0.002697237301617861, -0.0008984419400803745, 0.01642448455095291, -0.0012725390261039138, -0.03935470059514046, -0.018574032932519913, 0.0020461375825107098, -0.017525991424918175, -0.004366137553006411, -0.033876094967126846, 0.019101858139038086, 0.005148360505700111, -0.01297715399414301, 0.027833256870508194, 0.04767090082168579, 0.01542845368385315, 0.04221131280064583, -0.025011340156197548, 0.042747654020786285, -0.006788298953324556, 0.046451766043901443, 0.001570624765008688, -0.02394888922572136, 0.022085942327976227, 0.037041377276182175, 0.0007877614698372781, 0.02764263190329075, 0.0549984872341156, -0.0003002293815370649, -0.03563200309872627, -0.017107021063566208, 0.008210411295294762, 0.01250308658927679, 0.02497374266386032, -0.005222825799137354, -0.03404492512345314, 0.06199805811047554, -0.01411743089556694, -0.005577937699854374, 0.015191803686320782, 0.006422316189855337, 0.05612264573574066, -0.02745375968515873, -0.0335441529750824, -0.013608014211058617, 0.016564497724175453, 0.009496635757386684, 0.04219929501414299, 0.012941882014274597, -0.01639031060039997, 0.014124386943876743, -0.03651238977909088, 0.03542258217930794, -0.03820569068193436, 0.01955622062087059, -0.056362513452768326, -0.023287447169423103, -0.017196301370859146, -0.007013324648141861, -0.012263547629117966, 0.009759416803717613, -0.02670409344136715, -0.013021866790950298, 0.01164919137954712, 0.006837915629148483, -0.0007446256931871176, -0.009418223053216934, 0.0792744904756546, 0.04327385500073433, 0.014056645333766937, 0.030525265261530876, -0.003678171429783106, 0.040161844342947006, -0.005796728190034628, 0.046162452548742294, 0.008946091867983341, 0.0013253616634756327, -0.011558691039681435, -0.016807250678539276, -0.0012065417831763625, -0.008086769841611385, -0.057993337512016296, 0.041317421942949295, 0.02154211886227131, -0.009416330605745316, -0.02790096588432789, -0.0279963631182909, 0.023151198402047157, -0.004774623084813356, 0.011884584091603756, -0.05046653002500534, -0.004388028290122747, -0.008272822014987469, 0.00924406573176384, -0.048094071447849274, -0.0024562999606132507, -0.02548963390290737, 0.003352903528138995, 0.02386249043047428, -0.005940243601799011, 0.010455001145601273, 0.004805482923984528, 0.00611247168853879, 0.012202583253383636, -0.026457536965608597, -0.024589069187641144, -0.009040123783051968, 0.010212409310042858, 0.06203459948301315, -0.03078523837029934, -0.033477816730737686, 0.02465970627963543, 0.031253136694431305, -0.02985437586903572, 0.01862778514623642, -0.054991576820611954, 0.03698933124542236, -0.019999399781227112, -0.0021736789494752884, 0.025119595229625702, 0.021420668810606003, 0.031407758593559265, -0.03168445825576782, -0.023699406534433365, -0.02593967877328396 ]
Fine-Tune a Semantic Segmentation Model with a Custom Dataset
segments-tobias
March 17, 2022
fine-tune-segformer
guide, partnerships, cv
https://huggingface.co/blog/fine-tune-segformer
Set up the Trainer To fine-tune the model on our data, we'll use Hugging Face's Trainer API. We need to set up the training configuration and an evalutation metric to use a Trainer. First, we'll set up the TrainingArguments. This defines all training hyperparameters, such as learning rate and the number of epochs, frequency to save the model and so on. We also specify to push the model to the hub after training (push_to_hub=True) and specify a model name (hub_model_id). python from transformers import TrainingArguments epochs = 50 lr = 0.00006 batch_size = 2 hub_model_id = "segformer-b0-finetuned-segments-sidewalk-2" training_args = TrainingArguments( "segformer-b0-finetuned-segments-sidewalk-outputs", learning_rate=lr, num_train_epochs=epochs, per_device_train_batch_size=batch_size, per_device_eval_batch_size=batch_size, save_total_limit=3, evaluation_strategy="steps", save_strategy="steps", save_steps=20, eval_steps=20, logging_steps=1, eval_accumulation_steps=5, load_best_model_at_end=True, push_to_hub=True, hub_model_id=hub_model_id, hub_strategy="end", ) Next, we'll define a function that computes the evaluation metric we want to work with. Because we're doing semantic segmentation, we'll use the mean Intersection over Union (mIoU), directly accessible in the evaluate library. IoU represents the overlap of segmentation masks. Mean IoU is the average of the IoU of all semantic classes. Take a look at this blogpost for an overview of evaluation metrics for image segmentation. Because our model outputs logits with dimensions height/4 and width/4, we have to upscale them before we can compute the mIoU. python import torch from torch import nn import evaluate metric = evaluate.load("mean_iou") def compute_metrics(eval_pred): with torch.no_grad(): logits, labels = eval_pred logits_tensor = torch.from_numpy(logits) # scale the logits to the size of the label logits_tensor = nn.functional.interpolate( logits_tensor, size=labels.shape[-2:], mode="bilinear", align_corners=False, ).argmax(dim=1) pred_labels = logits_tensor.detach().cpu().numpy() # currently using _compute instead of compute # see this issue for more info: https://github.com/huggingface/evaluate/pull/328#issuecomment-1286866576 metrics = metric._compute( predictions=pred_labels, references=labels, num_labels=len(id2label), ignore_index=0, reduce_labels=processor.do_reduce_labels, ) # add per category metrics as individual key-value pairs per_category_accuracy = metrics.pop("per_category_accuracy").tolist() per_category_iou = metrics.pop("per_category_iou").tolist() metrics.update({f"accuracy_{id2label[i]}": v for i, v in enumerate(per_category_accuracy)}) metrics.update({f"iou_{id2label[i]}": v for i, v in enumerate(per_category_iou)}) return metrics Finally, we can instantiate a Trainer object. python from transformers import Trainer trainer = Trainer( model=model, args=training_args, train_dataset=train_ds, eval_dataset=test_ds, compute_metrics=compute_metrics, ) Now that our trainer is set up, training is as simple as calling the train function. We don't need to worry about managing our GPU(s), the trainer will take care of that. python trainer.train() When we're done with training, we can push our fine-tuned model and the image processor to the Hub. This will also automatically create a model card with our results. We'll supply some extra information in kwargs to make the model card more complete. python kwargs = { "tags": ["vision", "image-segmentation"], "finetuned_from": pretrained_model_name, "dataset": hf_dataset_identifier, } processor.push_to_hub(hub_model_id) trainer.push_to_hub(**kwargs) # 4. Inference Now comes the exciting part, using our fine-tuned model! In this section, we'll show how you can load your model from the hub and use it for inference. However, you can also try out your model directly on the Hugging Face Hub, thanks to the cool widgets powered by the hosted inference API. If you pushed your model to the Hub in the previous step, you should see an inference widget on your model page. You can add default examples to the widget by defining example image URLs in your model card. See this model card as an example.
[ 0.05089319124817848, -0.05264020338654518, -0.02247115783393383, -0.018792932853102684, 0.06175922229886055, 0.0824301540851593, 0.034326497465372086, 0.06853201240301132, -0.009452159516513348, -0.006547488272190094, -0.047476861625909805, 0.07340992242097855, -0.027224989607930183, 0.011622138321399689, 0.00830900389701128, -0.04450152441859245, 0.02424003928899765, -0.012403877452015877, -0.024485420435667038, 0.04847951605916023, -0.030193807557225227, -0.04778162017464638, 0.0036200438626110554, 0.000664170365780592, -0.011792044155299664, -0.058444615453481674, 0.027727946639060974, 0.0225340835750103, -0.004701363388448954, 0.05010093003511429, -0.0990782082080841, -0.037475015968084335, -0.021583806723356247, -0.0624459832906723, 0.011311489157378674, 0.01637767069041729, -0.0914745181798935, 0.014877150766551495, 0.0661415308713913, 0.0030485892202705145, 0.00038995034992694855, -0.006249710451811552, -0.05625549331307411, 0.0474981926381588, 0.02667442336678505, -0.0696706473827362, -0.13639399409294128, 0.06238675117492676, 0.02370067872107029, -0.01996603049337864, -0.07219952344894409, 0.09891479462385178, 0.03670079633593559, 0.0051686689257621765, -0.009970503859221935, -0.03075510635972023, -0.005774497054517269, -0.045927077531814575, 0.010604268871247768, 0.009320656768977642, 0.07222271710634232, 0.022292746230959892, 0.019199324771761894, 0.010472475551068783, -0.011596455238759518, 0.04296264052391052, 0.003411573823541403, 0.031945664435625076, -0.0742693617939949, -0.08337865024805069, 0.02089076302945614, -0.023223984986543655, 0.04003879055380821, -0.0029216601978987455, -0.038721345365047455, -0.06888291984796524, 0.01708562672138214, -0.052311010658741, 0.08562932163476944, 0.0712185651063919, -0.06083555147051811, 0.015143157914280891, -0.004972083494067192, 0.039075784385204315, -0.001219014753587544, 0.06699671596288681, 0.003440417582169175, -0.049010273069143295, -0.0005002813995815814, 0.06494488567113876, -0.03210274502635002, -0.08652107417583466, -0.0010297466069459915, -0.006310234311968088, 0.05911076441407204, 0.005717885214835405, -0.017522336915135384, 0.02349867857992649, 0.043446995317935944, -0.06601392477750778, -0.027181677520275116, -0.02947823703289032, 0.033713795244693756, -0.03898198902606964, -0.030088333413004875, 0.04814240336418152, -0.022710051387548447, -0.08037321269512177, -0.022095894441008568, 0.030552277341485023, -0.019434763118624687, -0.04328838735818863, -0.009399626404047012, 0.10747118294239044, -0.034823063760995865, 0.018231088295578957, 0.01771925576031208, 0.00789655651897192, -0.018728459253907204, 0.003609682898968458, 0.013185559771955013, 0.12914322316646576, 0.04532430320978165, 0.021265383809804916, -0.03923650458455086, 0.050448618829250336, 0.024454234167933464, 0.050777871161699295, 0.014157937839627266, -0.028272856026887894, 0.003004926024004817, -0.08471445739269257, 0.026308324187994003, -0.005684517323970795, -0.0012962684268131852, -0.04768936708569527, 0.030910948291420937, -0.06540723145008087, 0.008856719359755516, 0.021640149876475334, -0.04725078120827675, 0.08053582161664963, 0.006482601165771484, 0.018906274810433388, 0.011786634102463722, -0.03752072528004646, -0.04471815004944801, 0.0855160504579544, 0.05696273595094681, 0.039522673934698105, -0.07946557551622391, 0.12026605755090714, -0.027581967413425446, -0.03222860023379326, 0.03561083599925041, 0.08224128186702728, -0.05998031422495842, -0.021156609058380127, -0.08282824605703354, 0.0032302276231348515, -0.01740833930671215, 0.01997607946395874, -0.0732089951634407, 0.03318743780255318, 0.05519572272896767, -0.013777627609670162, 0.04793431982398033, 0.00389855750836432, 0.04448213055729866, 0.005634862929582596, 0.019447173923254013, -0.033213064074516296, 0.05417924001812935, 0.024242006242275238, -0.013218882493674755, 0.013202600181102753, 0.07152128219604492, 0.06959176063537598, -0.015038672834634781, 0.004448769614100456, -0.048299390822649, 0.055951423943042755, -0.0026151773054152727, 0.07022679597139359, 0.07213054597377777, -0.06485475599765778, 0.02101079747080803, -0.009146614000201225, -0.04746003448963165, 0.04383324459195137, 0.003946877084672451, -0.017342889681458473, 0.0432618148624897, -0.059788014739751816, 0.058553680777549744, -0.058670930564403534, -0.0018510064110159874, 0.10709409415721893, 0.0043221707455813885, 0.045047271996736526, 0.02767517976462841, -0.028164632618427277, 0.05156245455145836, -0.001315838424488902, -0.020570242777466774, -0.0013339091092348099, -0.017718767747282982, -0.08629098534584045, 0.07889482378959656, 0.039812248200178146, 0.0008215981652028859, -0.15376761555671692, 0.07039039582014084, -0.10264784842729568, 0.005071103572845459, -0.02936556190252304, -0.00193782860878855, 0.008115284144878387, -0.02471502125263214, 0.02605508267879486, 0.13763205707073212, -0.01898825541138649, -0.0021960330195724964, -0.05299997329711914, -0.024097150191664696, -0.014467994682490826, 0.04076656699180603, 0.05231069400906563, 0.05548783019185066, -0.10601326823234558, -0.03642535209655762, -0.10058192908763885, -0.040620751678943634, 0.03340902924537659, -0.019210878759622574, -0.04281121492385864, 0.06802035868167877, -0.005230557639151812, 0.0698694959282875, -0.007025427184998989, -0.0026617259718477726, -0.0010501230135560036, 0.011616821400821209, 0.0632115826010704, -0.024499937891960144, 0.016836395487189293, 0.057897914201021194, 0.06510280817747116, -0.060590099543333054, 0.022114472463726997, -0.05470587685704231, 0.044770702719688416, 0.00793957244604826, -0.039771392941474915, 0.031396422535181046, 0.02995346300303936, -0.01436931174248457, -0.020281152799725533, 0.006419341545552015, 0.06476689875125885, 0.02320924960076809, -0.009169138967990875, -0.052266888320446014, -0.02401399053633213, -0.0020049428567290306, -0.029521631076931953, -0.019095687195658684, 0.01920325867831707, 0.020325995981693268, -0.0059799691662192345, 0.041815176606178284, 0.0010588010773062706, 0.02959873527288437, 0.001733899349346757, 0.017299233004450798, 0.05082676187157631, 0.0506100207567215, -0.013829667121171951, -0.04494630917906761, 0.015419457107782364, -0.012734748423099518, -0.021793385967612267, -0.010859891772270203, 0.02898534946143627, 0.005892811808735132, -0.024471377953886986, -0.002289756201207638, -0.007143518887460232, -0.04069894552230835, 0.036798905581235886, 0.009560322389006615, 0.056032318621873856, -0.009057532995939255, -0.031560853123664856, -0.017094513401389122, 0.01902170665562153, 0.003171418095007539, -0.02823188342154026, 0.008498404175043106, 0.02393132634460926, -0.010677832178771496, -0.014975751750171185, 0.0016877829330042005, -0.031088368967175484, -0.011465964838862419, -0.03700017184019089, 0.026932841166853905, 0.02231515571475029, -0.10097026079893112, 0.01409206073731184, -0.0010539902141317725, 0.007032286841422319, -0.020354069769382477, -0.047820329666137695, 0.041268397122621536, -0.008568779565393925, -0.038501299917697906, 0.007399452850222588, 0.040487486869096756, 0.004103170242160559, -0.006870612967759371, -0.0012890062062069774, -0.01576894149184227, -0.016613759100437164, 0.007081177551299334, -0.021245229989290237, 0.031649574637413025, 0.03008885867893696, -0.05836224555969238, 0.025039998814463615, -0.0076441895216703415, -0.005060585681349039, -0.010773353278636932, 0.02659694291651249, -0.0013508719857782125, -0.01416841335594654, 0.009636235423386097, -0.04129277914762497, 0.008637763559818268, -0.017911456525325775, -0.033944807946681976, 0.01391320675611496, -0.01269268523901701, 0.010915086604654789, 0.01737683266401291, -0.020924385637044907, 0.024033885449171066, 0.018114984035491943, -0.022098572924733162, 0.027413710951805115, -0.0025896381121128798, -0.016935506835579872, 0.01939551904797554, -0.006976142525672913, -0.0005498557002283633, -0.050017859786748886, 0.004538448993116617, -0.03230263665318489, -0.001669520977884531, 0.007417416665703058, -0.02284516766667366, 0.03712678328156471, -0.02281254716217518, 0.01836429536342621, 0.004830771125853062, 0.037871237844228745, 0.03230099007487297, -0.011794413439929485, -0.07377114146947861, 0.01864456757903099, -0.00969566311687231, -0.022607961669564247, -0.022622160613536835, 0.037370722740888596, 0.010171155445277691, 0.012786339037120342, -0.01794571615755558, 0.01817474327981472, -0.023748138919472694, 0.051812898367643356, -0.008307316340506077, 0.014041045680642128, -0.031145408749580383, 0.005449971649795771, -0.006379782222211361, 0.0019724376033991575, 0.05371563881635666, 0.028768163174390793, -0.021736692637205124, -0.00931790191680193, -0.03080044314265251, -0.024970315396785736, -0.025541217997670174, -0.009601328521966934, 0.043225787580013275, -0.07001620531082153, 0.031591832637786865, 0.03226110339164734, 0.012530804611742496, -0.004520893562585115, 0.0009961826726794243, -0.002759352093562484, -0.016051478683948517, -0.026677405461668968, 0.014631950296461582, 0.01902518793940544, -0.0065386476926505566, 0.03318760544061661, 0.009805813431739807, -0.04155989736318588, 0.01214552205055952, 0.0342353880405426, 0.030849505215883255, 0.017458323389291763, -0.028041107580065727, -0.04263241961598396, 0.003958381246775389, -0.009835377335548401, 0.021550560370087624, -0.03375324606895447, -0.002749220933765173, -0.04120304435491562, 0.05401689186692238, 0.037800513207912445, -0.03765242174267769, -0.0243705864995718, 0.01257878914475441, 0.06734182685613632, -0.0075494940392673016, 0.03024737350642681, 0.007640037685632706, -0.05447852611541748, 0.03792952746152878, 0.010648664087057114, 0.026305433362722397, 0.053023409098386765, -0.016938114538788795, -0.008790461346507072, -0.032845091074705124, -0.007944181561470032, 0.01162866223603487, 0.009453047066926956, 0.004239617846906185, 0.00833046156913042, -0.016437526792287827, -0.011301240883767605, 0.01738460175693035, 0.015192301012575626, -0.015846574679017067, 0.03681987151503563, 0.06584107875823975, -0.02171522192656994, 0.02697567455470562, 0.014592183753848076, -0.05076934024691582, 0.005012082867324352, -0.04273355007171631, 0.027878135442733765, 0.03364145755767822, -0.01825592666864395, -0.047662608325481415, -0.004348583985120058, 0.047044333070516586, -0.02858145907521248, -0.028776923194527626, 0.012368290685117245, 0.017240993678569794, 0.044376373291015625, -0.01917974464595318, 0.010757402516901493, -0.019505193457007408, 0.005168810952454805, 0.03799809515476227, 0.0073378547094762325, -0.004760224837809801, -0.05053073540329933, -0.015036245808005333, -0.00888148508965969, -0.013150634244084358, -0.019942443817853928, -0.0100029818713665, -0.05052971839904785, 0.0045595732517540455, 0.041292641311883926, 0.00705357501283288, 0.006604427937418222, -0.03688159957528114, 0.025795605033636093, 0.004439411219209433, -0.021856391802430153, 0.039083003997802734, 0.006013784091919661, 0.026860380545258522, 0.0012626699171960354, 0.0653504952788353, 0.015929458662867546, 0.01618722639977932, 0.04223465919494629, 0.0009635474416427314, -0.028390636667609215, -0.0033359145745635033, -0.028205376118421555, -0.018587054684758186, 0.00760647002607584, -0.016559261828660965, 0.008461999706923962, -0.019901040941476822, 0.0003657583147287369, -0.0026563801802694798, 0.020258836448192596, -0.01997404545545578, -0.021679610013961792, 0.007930290885269642, 0.013667571358382702, 0.004259223118424416, -0.018954291939735413, 0.003406692063435912, -0.04743174836039543, -0.018692629411816597, -0.010611447505652905, 0.020731644704937935, -0.01376922708004713, 0.013199596665799618, -0.01452074944972992, -0.031079793348908424, 0.007862197235226631, 0.02170669287443161, 0.029068607836961746, -0.03787420690059662, -0.008902459405362606, -0.008318929001688957, -0.013293901458382607, 0.036610621958971024, -0.06398791819810867, -0.003883471479639411, -0.0075478823855519295, -0.022595027461647987, 0.04790053516626358, 0.009286261163651943, -0.012982739135622978, -0.007872054353356361, 0.05953081324696541, 0.04399265721440315, -0.02850836142897606, -0.041311733424663544, 0.03480616956949234, 0.04390301555395126, -0.007595346309244633, 0.0060396078042685986, 0.011840013787150383, -0.04095383360981941, -0.012829863466322422, -0.032992906868457794, 0.036858659237623215, 0.0475788451731205, -0.015462185256183147, 0.02560552954673767, -0.02845415100455284, 0.02612919732928276, 0.00010496032336959615, -0.004014106467366219, -0.004942076746374369, 0.018851757049560547, -0.021863101050257683, -0.010963313281536102, 0.0030703258235007524, 0.010898289270699024, 0.0097042266279459, 0.026684733107686043, -0.07413779944181442, 0.014355216175317764, 0.0487188920378685, -0.025202926248311996, 0.016705026850104332, -0.025000497698783875, -0.03385508060455322, 0.018035689368844032, 0.014307063072919846, 0.014621100388467312, 0.0419129952788353, 0.03294390067458153, 0.03865785524249077, -0.012203623540699482, -0.03838368505239487, -0.005936200264841318, 0.046627987176179886, -0.04122474044561386, 0.014671367593109608, 0.00916818343102932, 0.0018931885715574026, 0.015418333001434803, 0.018221572041511536, 0.030854403972625732, 0.04816703870892525, 0.06507789343595505, -0.0015309709124267101, 0.0009343958226963878, 0.02584903873503208, 0.003424631664529443, 0.02730579301714897, -0.0415017269551754, -0.034106891602277756, -0.026759684085845947, 0.02141558565199375, 0.03658473119139671, -0.024579936638474464, -0.0004752780660055578, -0.017797023057937622, 0.05036317929625511, 0.04258844256401062, 0.026666291058063507, -0.029204372316598892, 0.0409979447722435, 0.042982857674360275, 0.017298011109232903, -0.021003613248467445, 0.04793199524283409, 0.0007620626711286604, -0.030276136472821236, 0.03344564512372017, 0.0029856758192181587, 0.01960771717131138, 0.006109665613621473, -0.009219178929924965, -0.005224576685577631, -0.01756536029279232, -0.028431180864572525, 0.036741387099027634, 0.003064289689064026, 0.021068304777145386, -0.027981974184513092, -0.0015338909579440951, -0.042934950441122055, 0.009417221881449223, 0.00863569974899292, 0.015312251634895802, -0.0248931422829628, -0.006382341496646404, -0.016252966597676277, 0.058542344719171524, 0.03436964005231857, -0.033517591655254364, 0.0002683801285456866, -0.005508061498403549, -0.011712047271430492, 0.012184565886855125, -0.02185111865401268, -0.029797282069921494, -0.039193615317344666, -0.03857522830367088, -0.01184848789125681, 0.002357088029384613, -0.012475244700908661, -0.004905011039227247, -0.021598638966679573, -0.005307148210704327, -0.003973875194787979, 0.022083910182118416, 0.03760524466633797, -0.015352705493569374, -0.023840757086873055, 0.029111914336681366, 0.005606250837445259, -0.026917515322566032, 0.04199260100722313, -0.0294815581291914, 0.05251457169651985, 0.02628932148218155, 0.0505673885345459, -0.018142063170671463, 0.03895413503050804, -0.012724732048809528, -0.05821919068694115, 0.007951219566166401, -0.005206143017858267, -0.007214723154902458, 0.039605218917131424, -0.000021546882635448128, -0.007718643173575401, 0.017760993912816048, -0.006749221123754978, -0.03196868300437927, -0.005365846212953329, 0.016918962821364403, -0.0021367252338677645, -0.014958598650991917, -0.03098912164568901, -0.037064313888549805, 0.044670768082141876, 0.024637751281261444, 0.02415028214454651, 0.020288920029997826, 0.015567147172987461, 0.002187717240303755, 0.02043081447482109, 0.03591950610280037, -0.04783039912581444, 0.0011383903911337256, -0.06553216278553009, -0.04446325823664665, -0.025169720873236656, 0.02882709540426731, -0.03403661400079727, 0.03095545619726181, -0.02489941194653511, -0.029901349917054176, -0.0438992939889431, -0.024279916658997536, -0.015360208228230476, 0.005005985032767057, 0.040048759430646896, 0.053109511733055115, 0.0420561358332634, 0.04127595201134682, -0.035327982157468796, -0.006077834405004978, 0.010146048851311207, 0.016669612377882004, 0.0716368779540062, 0.02181611955165863, 0.018781812861561775, -0.021809900179505348, 0.027839822694659233, 0.03332653269171715, -0.06622549891471863, 0.0011054211063310504, -0.002267787465825677, -0.011636186391115189, -0.03490651026368141, -0.005626085679978132, 0.05288540944457054, 0.021905291825532913, 0.05704294517636299, -0.06447422504425049, 0.010743835009634495, -0.021094772964715958, 0.017386609688401222, -0.05822131782770157, 0.0012158474419265985, -0.03173212334513664, -0.029829122126102448, -0.005495961289852858, -0.025458108633756638, 0.002770880237221718, 0.005059630610048771, -0.0035367123782634735, 0.01289128977805376, -0.006509823724627495, 0.0053711882792413235, -0.03923473879694939, -0.007864326238632202, 0.041609618812799454, -0.014981883578002453, -0.054102130234241486, 0.006694266106933355, 0.0032280338928103447, -0.03169020637869835, -0.034683529287576675, -0.028420710936188698, 0.032347600907087326, 0.016036495566368103, 0.006702462211251259, -0.04868225008249283, 0.031294114887714386, -0.00603362824767828, -0.06585722416639328, -0.000055556643928866833, 0.007258718833327293 ]
Fine-Tune a Semantic Segmentation Model with a Custom Dataset
segments-tobias
March 17, 2022
fine-tune-segformer
guide, partnerships, cv
https://huggingface.co/blog/fine-tune-segformer
Create your own dataset To create your semantic segmentation dataset, you'll need two things: 1. images covering the situations your model will encounter in the real world 2. segmentation labels, i.e. images where each pixel represents a class/category. We went ahead and captured a thousand images of sidewalks in Belgium. Collecting and labeling such a dataset can take a long time, so you can start with a smaller dataset and expand it if the model does not perform well enough. Some examples of the raw images in the sidewalk dataset. To obtain segmentation labels, we need to indicate the classes of all the regions/objects in these images. This can be a time-consuming endeavour, but using the right tools can speed up the task significantly. For labeling, we'll use Segments.ai, since it has smart labeling tools for image segmentation and an easy-to-use Python SDK.
[ 0.09352078288793564, -0.08109566569328308, -0.035511113703250885, 0.0697767361998558, 0.02981697954237461, 0.09349025785923004, -0.02470105141401291, 0.013298574835062027, -0.06788203120231628, -0.006631889380514622, -0.07269201427698135, 0.003796517616137862, -0.021609028801321983, 0.028866799548268318, 0.0561811625957489, 0.020356981083750725, 0.01382820587605238, 0.016488032415509224, 0.0031259474344551563, -0.003518020501360297, -0.04731002077460289, -0.062071893364191055, -0.005385567434132099, -0.048041537404060364, -0.02286328561604023, -0.039335500448942184, 0.008838290348649025, 0.0224129818379879, 0.02717881090939045, -0.02049255184829235, -0.0906023159623146, 0.055965784937143326, -0.031880538910627365, 0.012357370927929878, -0.019445760175585747, 0.04907291755080223, -0.09653372317552567, 0.054158542305231094, 0.05044439435005188, -0.05869819223880768, 0.010224366560578346, 0.024013036862015724, -0.0809793546795845, 0.027594828978180885, 0.06142694130539894, -0.04106244817376137, -0.11606768518686295, 0.044977765530347824, 0.03319353237748146, 0.03566638007760048, -0.038171570748090744, 0.053209055215120316, 0.015575241297483444, 0.02532544918358326, -0.004521449562162161, 0.03129535913467407, 0.03578650951385498, -0.0842171311378479, -0.0053482744842767715, 0.036378148943185806, 0.10922512412071228, -0.014269810169935226, 0.0316159725189209, 0.004318647086620331, -0.00026766740484163165, -0.052819304168224335, 0.0061234598979353905, 0.04807666316628456, -0.05105433985590935, -0.032213568687438965, 0.02537515200674534, -0.046733010560274124, -0.010441187769174576, -0.005128406919538975, -0.024696828797459602, -0.0697038471698761, 0.013710075058043003, 0.004004858899861574, 0.02983788400888443, -0.02570524998009205, 0.003050848376005888, 0.05159257724881172, 0.04130123183131218, -0.04840812832117081, 0.042997509241104126, -0.004721950739622116, -0.03612580895423889, -0.09887640923261642, -0.011183004826307297, 0.04691263660788536, 0.01025630347430706, -0.036251623183488846, 0.02567988634109497, 0.015892215073108673, 0.05170886591076851, -0.0632622018456459, 0.05198158323764801, 0.03266369178891182, 0.05950290337204933, -0.020089836791157722, -0.0318676121532917, -0.06488221138715744, 0.027544500306248665, -0.045695994049310684, -0.022594399750232697, 0.004285713192075491, -0.01060443464666605, -0.03635474666953087, -0.04055395349860191, 0.046850696206092834, -0.032464269548654556, 0.02078644186258316, -0.010318087413907051, 0.06555350124835968, -0.04004180431365967, -0.0009442440350539982, 0.057981137186288834, -0.06770235300064087, -0.04825710132718086, 0.04540811479091644, 0.009748848155140877, -0.0023753629066050053, -0.006156188901513815, 0.06045131757855415, -0.043147843331098557, 0.029730042442679405, 0.03287786245346069, 0.07775118201971054, 0.08267626911401749, -0.004035909194499254, -0.04569851607084274, -0.052205320447683334, -0.002164148725569248, -0.00675837229937315, 0.03239188343286514, -0.05474770814180374, -0.005224952474236488, -0.03834894672036171, 0.060913633555173874, 0.025484567508101463, -0.017291711643338203, 0.03255418688058853, 0.03430050611495972, -0.015437504276633263, 0.027761224657297134, 0.017097700387239456, -0.06207479164004326, 0.027113135904073715, -0.046847864985466, 0.01986979879438877, -0.061976850032806396, 0.06368786841630936, -0.0068688346073031425, -0.061604779213666916, 0.015246937051415443, 0.054661791771650314, -0.03342955932021141, -0.01761215180158615, -0.11168885976076126, -0.01897924393415451, 0.03385177254676819, 0.017907455563545227, -0.013264285400509834, 0.05562826618552208, 0.011083242483437061, -0.052597612142562866, 0.02364092320203781, 0.012991935014724731, 0.007988358847796917, 0.026698069646954536, 0.0024813509080559015, -0.06689678132534027, 0.04451601207256317, -0.030265050008893013, 0.08037026971578598, -0.03261246904730797, 0.06544840335845947, -0.0038139550015330315, -0.0031832344830036163, 0.014235734939575195, -0.012203930877149105, -0.07386275380849838, -0.023496244102716446, -0.012770834378898144, 0.05350697785615921, -0.026835568249225616, 0.0549595020711422, -0.04238095134496689, -0.031715329736471176, 0.006813069339841604, -0.020921489223837852, -0.04862203076481819, 0.021997829899191856, -0.05011891946196556, 0.010756448842585087, -0.04995293915271759, 0.008451214991509914, 0.10070914030075073, 0.026253722608089447, 0.10799738019704819, -0.02321537397801876, -0.038991108536720276, -0.013590441085398197, -0.04907446354627609, 0.028967542573809624, -0.015134431421756744, -0.020975610241293907, -0.04419054090976715, 0.10739630460739136, -0.00803855899721384, -0.008213735185563564, -0.1169348731637001, 0.10002589970827103, -0.10637646913528442, -0.00429672421887517, -0.03582962602376938, 0.026151929050683975, 0.0246188435703516, -0.003752492368221283, -0.02653885819017887, 0.13251987099647522, -0.06545062363147736, -0.07952854782342911, 0.01040683314204216, -0.0613274872303009, 0.043264396488666534, 0.05711246281862259, 0.059157345443964005, 0.10070278495550156, -0.10514891892671585, 0.0028055990114808083, -0.020346878096461296, 0.05979195609688759, -0.029096588492393494, -0.07426567375659943, -0.051011838018894196, 0.09108269214630127, 0.019185645505785942, 0.07116951793432236, -0.05304430052638054, 0.0005604506586678326, -0.032405443489551544, -0.052487537264823914, -0.0021115955896675587, 0.042139265686273575, 0.023033015429973602, 0.12124347686767578, -0.02250133827328682, -0.022755062207579613, 0.0167829766869545, -0.0567176379263401, 0.018039049580693245, -0.07848957926034927, -0.026349524036049843, 0.023287219926714897, -0.016591554507613182, 0.02018456719815731, -0.05794474110007286, -0.006289168260991573, 0.03654741495847702, 0.0036008008755743504, -0.020282024517655373, -0.043075889348983765, -0.01683405600488186, -0.01735030487179756, -0.041218217462301254, 0.02840031310915947, -0.017644932493567467, 0.038796938955783844, 0.0015808547614142299, -0.010168435052037239, -0.008313443511724472, 0.027125520631670952, 0.006299516651779413, 0.019278107210993767, 0.05859435722231865, 0.014411798678338528, -0.011068617925047874, 0.002452200511470437, -0.009568064473569393, -0.03221835196018219, -0.03418124467134476, 0.03679236024618149, 0.05831242352724075, 0.017600318416953087, -0.003998022060841322, 0.028794586658477783, 0.011913314461708069, -0.07099822163581848, 0.010658830404281616, 0.03380007669329643, 0.06877519935369492, -0.04287101328372955, -0.028896277770400047, -0.007357086054980755, -0.0019961989019066095, -0.016421163454651833, 0.03473008796572685, -0.014301436021924019, 0.0397007092833519, -0.008187949657440186, 0.033267661929130554, -0.011184844188392162, -0.03447907418012619, -0.03533126041293144, 0.04475904628634453, 0.017643077298998833, 0.023714469745755196, -0.0829538032412529, -0.0002837617648765445, -0.06098588928580284, -0.01354161649942398, -0.03919519856572151, -0.016992293298244476, 0.030353108420968056, 0.03490443155169487, -0.007511666044592857, 0.012602102942764759, 0.015915753319859505, -0.02718769758939743, -0.009180736728012562, 0.0152404410764575, -0.004795046988874674, 0.021567227318882942, -0.03453126922249794, 0.0044884951785206795, 0.015937011688947678, 0.0362427718937397, -0.046278614550828934, 0.049258410930633545, -0.031658053398132324, 0.06541015952825546, -0.02597305178642273, 0.03079052083194256, -0.0076558212749660015, 0.012504351325333118, 0.022131921723484993, -0.006312651094049215, -0.006415565498173237, -0.011377564631402493, -0.03280971199274063, 0.004041427746415138, -0.02220013551414013, 0.029417451471090317, 0.017405463382601738, 0.04018455743789673, 0.02683173306286335, 0.01400707196444273, -0.03415104001760483, 0.004994293209165335, -0.008931472897529602, 0.004965092986822128, -0.00016520917415618896, -0.010503830388188362, -0.03819596767425537, 0.006958195939660072, -0.012166142463684082, -0.054325610399246216, 0.04525918513536453, 0.03239059075713158, 0.042889874428510666, 0.04293426126241684, -0.005313913803547621, 0.001330510014668107, 0.05896381661295891, 0.04432902857661247, -0.0052772886119782925, -0.01518851425498724, 0.00041700791916809976, 0.010586446151137352, -0.00692183431237936, -0.016116667538881302, -0.03469910845160484, 0.04660814628005028, 0.04050114378333092, 0.041289735585451126, 0.01147899404168129, 0.04472919553518295, -0.022860122844576836, 0.012105945497751236, 0.013858208432793617, 0.0034783161245286465, -0.017149658873677254, 0.04037926718592644, 0.01206208299845457, -0.025766680017113686, 0.04214586317539215, 0.059477463364601135, 0.035421401262283325, -0.03535904362797737, 0.004148274194449186, -0.034268446266651154, 0.003519949270412326, -0.0017372516449540854, 0.0031936385203152895, -0.04975755140185356, -0.0009927187347784638, -0.0010091813746839762, 0.01930360123515129, -0.04629717767238617, 0.00902928039431572, 0.020921768620610237, -0.0066669173538684845, -0.0012391408672556281, 0.038179345428943634, 0.016236888244748116, 0.023578042164444923, -0.04441220685839653, 0.0006442588055506349, -0.015186336822807789, 0.015305436216294765, -0.028960390016436577, 0.004727157764136791, 0.036431774497032166, -0.02436571568250656, -0.020789725705981255, 0.03856914862990379, -0.014106453396379948, -0.002195760142058134, -0.002747852588072419, -0.014543749392032623, 0.029147177934646606, 0.03627149760723114, 0.026994524523615837, -0.03167838603258133, -0.023435717448592186, 0.02640756405889988, 0.03885344788432121, -0.002497693058103323, 0.01975136622786522, 0.002573846373707056, -0.012988803908228874, 0.0338171161711216, -0.023080307990312576, 0.0020720011088997126, -0.02931804768741131, 0.0076729245483875275, 0.024505404755473137, 0.029301568865776062, -0.006127884611487389, -0.016424259170889854, 0.017069321125745773, 0.01654835045337677, 0.012468392960727215, -0.03049115650355816, 0.009272853843867779, 0.009329534135758877, -0.01002067793160677, -0.01214516069740057, -0.007855688221752644, 0.08120690286159515, -0.010951018892228603, 0.02370953932404518, 0.005371671635657549, -0.04348674789071083, -0.03258496895432472, 0.01210115198045969, 0.0006170864216983318, 0.004803507123142481, 0.005783446598798037, -0.013157309032976627, -0.0013104164972901344, 0.001191458199173212, -0.04534393176436424, 0.0029791404958814383, -0.020053451880812645, 0.02091868780553341, 0.007935483008623123, -0.010625418275594711, -0.021790100261569023, -0.014868362806737423, -0.03564984351396561, 0.01854097656905651, 0.00043584994273260236, 0.022790800780057907, -0.04987059906125069, 0.032380957156419754, 0.007172778248786926, -0.047859594225883484, 0.0278154406696558, -0.0004864560905843973, -0.02479480765759945, -0.005901751108467579, 0.0233218502253294, 0.04557396471500397, 0.06855063140392303, -0.03477142006158829, -0.0104252053424716, -0.042407579720020294, 0.009105855599045753, 0.0007134971674531698, -0.004667732864618301, 0.021180173382163048, 0.009915183298289776, 0.04046360403299332, 0.06829069554805756, -0.008999621495604515, 0.006823354866355658, -0.031136488541960716, 0.013068681582808495, -0.004536298103630543, -0.012589752674102783, 0.018841484561562538, -0.004031802993267775, 0.013049098663032055, -0.045131195336580276, -0.03573903068900108, -0.04642359912395477, 0.032515671104192734, 0.040447868406772614, 0.01766839437186718, 0.004158010706305504, -0.027756817638874054, 0.004243146162480116, -0.00830754917114973, 0.006611289456486702, 0.024938033893704414, -0.05818644165992737, -0.012979360297322273, -0.014529245905578136, -0.011006392538547516, 0.003790575312450528, -0.04345635697245598, 0.023074105381965637, -0.0016656359657645226, -0.01739927940070629, 0.010096829384565353, 0.01210411824285984, -0.025403112173080444, -0.0013341251760721207, 0.003078912617638707, 0.019782153889536858, -0.000985942780971527, -0.02855079621076584, -0.013321828097105026, -0.043306637555360794, -0.004720373544842005, 0.02716592140495777, -0.005393546540290117, -0.0372135154902935, 0.021403318271040916, 0.05785352364182472, -0.03801290690898895, -0.03096533566713333, -0.03963341563940048, 0.039378296583890915, 0.02271384932100773, -0.003061704570427537, -0.0011908180313184857, -0.006534887943416834, -0.050902631133794785, -0.010494637303054333, -0.02050113119184971, -0.020871862769126892, 0.046482112258672714, 0.00041034145397134125, 0.0374700091779232, -0.024639729410409927, -0.024638861417770386, -0.04704312980175018, 0.007136505097150803, 0.007181545719504356, 0.04709485545754433, -0.005976194050163031, 0.0010419661412015557, 0.013209303840994835, 0.013796249404549599, 0.009655704721808434, -0.03588789328932762, -0.0783938392996788, 0.030627122148871422, 0.04389619827270508, -0.04812406003475189, 0.005589555948972702, -0.026389677077531815, -0.04446828365325928, 0.012431357055902481, 0.0012350947363302112, 0.011879662051796913, 0.048047713935375214, 0.02802407555282116, 0.02149268239736557, -0.04918362572789192, -0.02231026068329811, -0.04695653170347214, 0.040426626801490784, -0.03130917251110077, 0.03661176934838295, -0.0055934670381248, 0.01962297596037388, 0.06163526326417923, 0.01037819404155016, 0.03325041010975838, 0.016971517354249954, 0.04067123308777809, 0.03888144716620445, -0.015189209952950478, 0.014735343866050243, -0.020913438871502876, -0.03344123438000679, -0.0486859530210495, 0.012496252544224262, -0.017306162044405937, 0.04332008212804794, 0.04809219762682915, -0.05654190853238106, -0.019057000055909157, -0.018650835379958153, 0.0644882321357727, 0.019148271530866623, 0.026790078729391098, -0.004333892371505499, 0.03415622562170029, 0.04454394057393074, -0.010485762730240822, -0.003245755797252059, 0.04024001955986023, 0.05915376916527748, -0.005623580887913704, 0.007540046703070402, 0.009089933708310127, 0.03165246918797493, 0.032480716705322266, 0.040474917739629745, -0.044429320842027664, 0.010018054395914078, -0.01960355043411255, 0.016276519745588303, 0.017682095989584923, 0.0029416712932288647, -0.033013809472322464, -0.012348467484116554, -0.06243205815553665, 0.012115196324884892, -0.0014701710315421224, 0.02222735807299614, -0.02040470577776432, -0.005287229083478451, 0.006456764414906502, 0.030098674818873405, -0.0025850310921669006, -0.01848331280052662, -0.03098597377538681, -0.003252962604165077, -0.006630172021687031, 0.007767851464450359, -0.025629514828324318, -0.05402638018131256, -0.024320734664797783, -0.01664591394364834, -0.018490852788090706, 0.008847982622683048, -0.028317058458924294, -0.012920582666993141, 0.016698649153113365, -0.03028886578977108, -0.006650868803262711, 0.040730684995651245, 0.03136464208364487, 0.030922824516892433, -0.006842673756182194, 0.018325883895158768, -0.045658502727746964, -0.03031066432595253, 0.005470386240631342, 0.010977601632475853, 0.029490845277905464, 0.02259143441915512, 0.012544778175652027, 0.03646596148610115, 0.009983137249946594, 0.02771597169339657, -0.052842140197753906, -0.017439255490899086, -0.005599088966846466, 0.035283345729112625, 0.05574978515505791, 0.012321311049163342, -0.02840328775346279, 0.05203714594244957, -0.03710860386490822, 0.01302355621010065, -0.00495633389800787, -0.0017298252787441015, 0.033724892884492874, -0.02820769138634205, -0.04376834258437157, -0.006530523765832186, 0.007457469590008259, -0.040623243898153305, 0.03544906899333, -0.005225082393735647, 0.03564859554171562, -0.028038837015628815, -0.022216713055968285, 0.034818731248378754, -0.021654192358255386, 0.08200511336326599, -0.05401831492781639, -0.04463660717010498, -0.028852086514234543, 0.024779342114925385, -0.01539938896894455, 0.017277570441365242, -0.039512600749731064, 0.0007425819640047848, -0.03111550770699978, 0.007041743025183678, -0.03508785739541054, -0.0159662663936615, 0.04803937301039696, 0.004028879571706057, 0.02083178609609604, 0.008642504923045635, 0.018199602141976357, 0.046331197023391724, 0.013528396375477314, 0.06208224594593048, 0.01549471914768219, 0.0012542754411697388, -0.006045705173164606, -0.027482902631163597, 0.022168856114149094, -0.012964768335223198, -0.037114545702934265, 0.01974056288599968, 0.05386822670698166, 0.0006663286476396024, -0.017919758334755898, -0.019481869414448738, 0.04080156609416008, -0.005126950331032276, -0.006829252000898123, -0.025434846058487892, 0.037664759904146194, 0.017286917194724083, -0.021453484892845154, -0.035187289118766785, -0.0025821116287261248, -0.01989607885479927, -0.03148619830608368, 0.015702582895755768, -0.0006492137908935547, 0.01652849093079567, 0.011234712786972523, 0.03981301188468933, 0.023111706599593163, 0.026486314833164215, -0.004836331587284803, -0.018908582627773285, -0.0140030262991786, 0.03193099424242973, -0.011562961153686047, -0.01934994012117386, 0.02064981311559677, 0.021997738629579544, -0.0014157916884869337, 0.01393498107790947, -0.0414574071764946, 0.023133987560868263, -0.010565163567662239, 0.011942793615162373, -0.006989969406276941, 0.03605927526950836, 0.05534122511744499, -0.004386983811855316, -0.004413021262735128, 0.010091165080666542 ]
Fine-Tune a Semantic Segmentation Model with a Custom Dataset
segments-tobias
March 17, 2022
fine-tune-segformer
guide, partnerships, cv
https://huggingface.co/blog/fine-tune-segformer
Use the model from the Hub We'll first load the model from the Hub using SegformerForSemanticSegmentation.from_pretrained(). python from transformers import SegformerImageProcessor, SegformerForSemanticSegmentation processor = SegformerImageProcessor.from_pretrained("nvidia/segformer-b0-finetuned-ade-512-512") model = SegformerForSemanticSegmentation.from_pretrained(f"{hf_username}/{hub_model_id}") Next, we'll load an image from our test dataset. python image = test_ds[0]['pixel_values'] gt_seg = test_ds[0]['label'] image To segment this test image, we first need to prepare the image using the image processor. Then we forward it through the model. We also need to remember to upscale the output logits to the original image size. In order to get the actual category predictions, we just have to apply an argmax on the logits. python from torch import nn inputs = processor(images=image, return_tensors="pt") outputs = model(**inputs) logits = outputs.logits # shape (batch_size, num_labels, height/4, width/4) # First, rescale logits to original image size upsampled_logits = nn.functional.interpolate( logits, size=image.size[::-1], # (height, width) mode='bilinear', align_corners=False ) # Second, apply argmax on the class dimension pred_seg = upsampled_logits.argmax(dim=1)[0] Now it's time to display the result. We'll display the result next to the ground-truth mask. What do you think? Would you send our pizza delivery robot on the road with this segmentation information? The result might not be perfect yet, but we can always expand our dataset to make the model more robust. We can now also go train a larger SegFormer model, and see how it stacks up. # 5. Conclusion That's it! You now know how to create your own image segmentation dataset and how to use it to fine-tune a semantic segmentation model. We introduced you to some useful tools along the way, such as: * Segments.ai for labeling your data * 🤗 datasets for creating and sharing a dataset * 🤗 transformers for easily fine-tuning a state-of-the-art segmentation model * Hugging Face Hub for sharing our dataset and model, and for creating an inference widget for our model We hope you enjoyed this post and learned something. Feel free to share your own model with us on Twitter (@TobiasCornille, @NielsRogge, and @huggingface).
[ 0.017264578491449356, -0.05776059255003929, 0.002810441656038165, 0.03197486698627472, 0.03850727900862694, 0.11647932976484299, -0.009683452546596527, 0.06641647219657898, -0.053438834846019745, -0.016526566818356514, -0.05909363552927971, 0.034649208188056946, -0.0071374960243701935, 0.03232960402965546, 0.021575195714831352, -0.015672242268919945, 0.035450246185064316, -0.046553194522857666, -0.025577640160918236, 0.051565300673246384, 0.008356049656867981, -0.08957064896821976, 0.029655389487743378, 0.06520471721887589, -0.03518783301115036, -0.05835852771997452, 0.03079218417406082, 0.05370355769991875, -0.012732945382595062, 0.013516562059521675, -0.10097257792949677, -0.029179122298955917, -0.004744958598166704, -0.08171115815639496, 0.01643979921936989, 0.017115933820605278, -0.06712555140256882, 0.039797961711883545, 0.028534436598420143, 0.03210572153329849, 0.01756099797785282, 0.05824101343750954, -0.06972425431013107, 0.01493150182068348, 0.06769190728664398, -0.03681588172912598, -0.11745617538690567, 0.08217665553092957, 0.03482035920023918, -0.02196650207042694, -0.009880399331450462, 0.08052842319011688, -0.01169643085449934, 0.006358247250318527, 0.03031011112034321, 0.02619328536093235, 0.014546511694788933, -0.060563404113054276, 0.0019119225908070803, 0.0030626815278083086, 0.08947551995515823, 0.041311927139759064, -0.008068514056503773, -0.00009894329559756443, -0.025412388145923615, 0.007652468979358673, 0.024879787117242813, 0.01694105751812458, 0.0020826070103794336, -0.06885688006877899, -0.008330464363098145, -0.07397973537445068, 0.02668493241071701, -0.029924770817160606, -0.027914132922887802, -0.06430665403604507, -0.044355787336826324, -0.008656849153339863, 0.01485538948327303, -0.019818775355815887, -0.04871020466089249, 0.005792304407805204, 0.012103656306862831, 0.024488301947712898, 0.05174177512526512, 0.06355959177017212, 0.014306249096989632, -0.06423236429691315, -0.010241377167403698, 0.10288803279399872, -0.020224997773766518, -0.035668324679136276, -0.03635691851377487, 0.03369741886854172, 0.0630689486861229, 0.03345215320587158, 0.04495956376194954, 0.048164546489715576, -0.009138861671090126, -0.07823594659566879, -0.015711341053247452, -0.061002217233181, 0.031069066375494003, -0.004292377736419439, 0.020322518423199654, 0.015892257913947105, -0.04134310409426689, -0.11134390532970428, -0.005842872895300388, -0.01592627353966236, 0.0017851986922323704, -0.05002395808696747, -0.037086036056280136, 0.0893486961722374, -0.04472796246409416, -0.01636563427746296, 0.01579621434211731, -0.017844602465629578, -0.027184249833226204, 0.006190621759742498, -0.031024619936943054, 0.10958242416381836, -0.004599863197654486, 0.04957691207528114, -0.0016331025399267673, 0.08040595799684525, -0.014736914075911045, 0.0070434981025755405, 0.0027745882980525494, 0.019222447648644447, 0.01630285196006298, -0.04461593180894852, 0.07216029614210129, 0.018153812736272812, -0.028399746865034103, -0.021560393273830414, 0.035737745463848114, -0.0555744543671608, -0.004155547358095646, -0.03394494205713272, -0.0018829454202204943, 0.028768265619874, 0.009217173792421818, -0.037035997956991196, 0.04707775637507439, -0.06997200846672058, 0.013494834303855896, 0.07103785872459412, 0.04008838161826134, 0.027462689206004143, -0.10355442762374878, 0.05304102599620819, -0.02365989051759243, -0.05690833181142807, 0.016921568661928177, 0.03218814358115196, -0.03494037315249443, -0.04435976222157478, -0.08420277386903763, -0.020428266376256943, 0.010158981196582317, 0.01696675829589367, -0.0664079487323761, -0.022777993232011795, -0.059187814593315125, -0.0130072683095932, 0.05920049175620079, -0.11842768639326096, 0.07188814133405685, -0.021829407662153244, -0.039663489907979965, -0.029492799192667007, 0.017130549997091293, -0.02078305371105671, -0.02560725063085556, 0.08143522590398788, 0.03948627784848213, 0.06301036477088928, -0.011611062102019787, -0.03229649364948273, -0.042892467230558395, 0.05166993662714958, -0.027495868504047394, 0.07914678007364273, 0.018284371122717857, -0.07570189237594604, -0.03413354605436325, -0.01392611488699913, -0.040818825364112854, 0.04999459162354469, -0.007030422333627939, -0.011941849254071712, 0.06414218991994858, -0.03479909151792526, 0.040242020040750504, -0.02386244758963585, -0.01557586807757616, 0.033928778022527695, 0.0299119483679533, 0.019029125571250916, -0.018002482131123543, 0.021333931013941765, -0.0028726293239742517, -0.060285571962594986, 0.053891535848379135, 0.04499476030468941, -0.030088266357779503, -0.06796538084745407, 0.06786315143108368, 0.08511468768119812, -0.01685316674411297, -0.12047460675239563, 0.0585608035326004, -0.07696446776390076, 0.033789828419685364, -0.0071165855042636395, -0.05010056123137474, 0.034683000296354294, -0.024768345057964325, 0.013430626131594181, 0.15038438141345978, 0.04529653862118721, -0.023245209828019142, -0.07064506411552429, -0.017896905541419983, 0.04693130403757095, 0.049793701618909836, 0.06549204885959625, 0.044706229120492935, -0.06974947452545166, -0.03671252727508545, -0.06303785741329193, -0.03897908329963684, 0.011273667216300964, -0.0640031173825264, -0.06274545192718506, 0.05426599457859993, 0.04063178598880768, 0.009858937002718449, -0.04177643358707428, 0.027691563591361046, 0.004866232164204121, -0.026943350210785866, 0.06565149128437042, -0.032740943133831024, -0.00011027713480871171, 0.061124514788389206, 0.029935020953416824, -0.02061774767935276, 0.026945607736706734, -0.03626890107989311, 0.04833181947469711, 0.004147317260503769, -0.023288866505026817, 0.031126976013183594, 0.0076303184032440186, 0.009476130828261375, -0.055950991809368134, -0.0015080630546435714, 0.053203847259283066, 0.028824985027313232, -0.023452406749129295, -0.06479054689407349, -0.03199644759297371, -0.022458303719758987, -0.010499773547053337, -0.009741123765707016, -0.00047830145922489464, -0.025403497740626335, -0.023160332813858986, -0.008847933262586594, -0.002326767425984144, 0.062405187636613846, 0.011669446714222431, 0.03414193168282509, 0.04723013564944267, 0.005217139609158039, 0.009713257662951946, -0.01813085749745369, -0.013517409563064575, -0.033899687230587006, -0.028772758319973946, 0.0351179800927639, 0.048843055963516235, 0.03483467549085617, 0.016787279397249222, 0.013530603609979153, -0.023026470094919205, -0.006839312147349119, 0.041915398091077805, 0.014825329184532166, 0.060665443539619446, 0.022788722068071365, -0.02637859247624874, -0.008119105361402035, 0.021636877208948135, 0.008653722703456879, -0.03916817530989647, -0.004725450184196234, -0.013864138163626194, -0.0034933779388666153, -0.0015371089102700353, 0.018581153824925423, -0.0002325294044567272, -0.014303694479167461, -0.023132918402552605, -0.014108055271208286, -0.010789339430630207, -0.08112099021673203, 0.01085940096527338, -0.011098998598754406, -0.001127981231547892, -0.05745071545243263, -0.02272871881723404, 0.03258750960230827, 0.028110750019550323, 0.028160370886325836, 0.017387883737683296, 0.00038520043017342687, -0.010273064486682415, 0.00047597434604540467, -0.011371697299182415, -0.03544916212558746, 0.010176782496273518, 0.027368001639842987, -0.0005593651439994574, 0.049271099269390106, 0.008978485129773617, -0.0499897301197052, -0.02425757795572281, -0.03796566650271416, 0.014848843216896057, -0.02197197824716568, 0.029361262917518616, 0.02655079774558544, 0.01767881028354168, 0.010792888700962067, -0.025008291006088257, -0.005906208883970976, -0.04072172939777374, -0.004201398231089115, 0.03240878880023956, -0.0295646283775568, -0.04890871420502663, -0.004788071848452091, -0.029648825526237488, 0.02097092755138874, -0.0129647022113204, 0.0026155756786465645, 0.04781268537044525, -0.021028293296694756, -0.016009291633963585, 0.019365249201655388, -0.021299442276358604, -0.0018348009325563908, -0.010023047216236591, -0.0027782246470451355, -0.054559558629989624, -0.04253482073545456, -0.019185487180948257, 0.017364053055644035, 0.04947338625788689, 0.001983869122341275, -0.01696755550801754, 0.030027734115719795, 0.05961990728974342, 0.023143891245126724, -0.029587101191282272, -0.06588774174451828, 0.012575969099998474, -0.010056807659566402, -0.024718260392546654, -0.027518661692738533, 0.04198009893298149, 0.020725542679429054, 0.003197628306224942, -0.03332095220685005, 0.012347785755991936, -0.007544345688074827, 0.048731010407209396, 0.0018999135354533792, 0.009148352779448032, -0.007668368052691221, 0.01826866716146469, 0.014138588681817055, 0.01828501559793949, 0.05045603960752487, 0.012631822377443314, 0.016040096059441566, 0.0013175779022276402, -0.006890014745295048, -0.050360824912786484, -0.018203428015112877, -0.014955236576497555, 0.028871743008494377, -0.04565361514687538, -0.0019306233152747154, -0.012283534742891788, 0.026973851025104523, -0.02457578480243683, 0.0005910175968892872, 0.028427837416529655, 0.010860258713364601, -0.027481917291879654, -0.008413857780396938, 0.030460642650723457, -0.040250252932310104, -0.034028928726911545, 0.0032251491211354733, -0.023273233324289322, -0.014803234487771988, 0.018730077892541885, 0.035858023911714554, 0.02942812442779541, 0.01698695309460163, -0.008966012857854366, -0.021928217262029648, -0.0615849643945694, 0.0016888548852875829, -0.018116720020771027, 0.029354669153690338, -0.01563319005072117, 0.03890341520309448, 0.03439301252365112, -0.035730354487895966, -0.03477632254362106, 0.030475815758109093, 0.04569171741604805, -0.02428576536476612, -0.02043328247964382, -0.029917240142822266, -0.061944711953401566, 0.01723126508295536, 0.008656932972371578, 0.03511439263820648, 0.030742507427930832, 0.037341728806495667, 0.024751439690589905, -0.0010741617297753692, 0.02633645571768284, 0.0311700701713562, 0.010045057162642479, -0.01621328294277191, 0.017551785334944725, 0.010359309613704681, -0.002338927472010255, 0.016028929501771927, 0.008873391896486282, -0.005275295116007328, 0.03242356330156326, 0.042559389024972916, -0.03506133705377579, 0.02609589323401451, 0.01004842109978199, -0.017476020380854607, 0.0037322191055864096, -0.04182370752096176, 0.020521298050880432, 0.04569818452000618, 0.032364603132009506, -0.031083067879080772, 0.03142405301332474, 0.04350709170103073, 0.012022770009934902, 0.023041365668177605, 0.012356721796095371, -0.03716210648417473, -0.012585480697453022, 0.005569831468164921, 0.006875819060951471, -0.011137809604406357, 0.005927047226577997, 0.0060276612639427185, 0.0003721682005561888, -0.009797879494726658, -0.10885634273290634, 0.007907110266387463, -0.001545034465380013, -0.03366884961724281, 0.008355500176548958, -0.0036513591185212135, -0.03587208688259125, -0.002645480912178755, 0.06392082571983337, 0.01377461850643158, -0.018256960436701775, -0.005496243014931679, 0.014182908460497856, -0.0037765062879770994, -0.00784317497164011, 0.02927331253886223, 0.013566277921199799, -0.04961221665143967, 0.027799313887953758, 0.021820280700922012, 0.022740798071026802, -0.005882413126528263, -0.011504205875098705, -0.00932262372225523, 0.010084972716867924, -0.012085353955626488, -0.04461285099387169, -0.00735818687826395, 0.027557196095585823, -0.011180642992258072, -0.024168040603399277, -0.023327218368649483, -0.026619678363204002, 0.015974124893546104, 0.07376386225223541, -0.04759163036942482, 0.018148230388760567, 0.03265652805566788, -0.017383361235260963, 0.013631214387714863, -0.008417120203375816, 0.029053732752799988, 0.0017204245086759329, -0.012992643751204014, 0.039768364280462265, -0.0006204126984812319, 0.0022880802862346172, -0.008922961540520191, 0.008860362693667412, -0.02008194476366043, 0.02594505250453949, 0.04832293093204498, 0.047105200588703156, -0.02365313656628132, -0.020444337278604507, -0.0026942905969917774, -0.01301908865571022, 0.008520619012415409, -0.07230418920516968, 0.020188555121421814, 0.003143123583868146, -0.01693516969680786, 0.060560524463653564, 0.03479095175862312, -0.019316449761390686, -0.004683828447014093, 0.03743762895464897, 0.023356707766652107, -0.029796071350574493, -0.01822853274643421, 0.007256312295794487, 0.02372666634619236, -0.015236522071063519, 0.0212593674659729, -0.022766385227441788, -0.004437881056219339, 0.04955437034368515, -0.025537798181176186, 0.034882742911577225, 0.07776007801294327, 0.012246640399098396, 0.031312234699726105, -0.01690598949790001, 0.04035577550530434, -0.0033517314586788416, 0.025544986128807068, 0.047899771481752396, -0.01809214986860752, -0.022667717188596725, -0.00790116935968399, -0.0006296438514254987, 0.019617445766925812, 0.03261949121952057, -0.015069866552948952, -0.061808645725250244, 0.014353492297232151, 0.03517712280154228, -0.038300689309835434, 0.028559956699609756, -0.010272141546010971, -0.057660121470689774, -0.03480803593993187, -0.019100205972790718, 0.03381568565964699, 0.041539087891578674, -0.0004738306743092835, 0.03106405772268772, -0.0012375859078019857, 0.02226462960243225, 0.03255318105220795, 0.036697253584861755, -0.018215084448456764, 0.01260626595467329, 0.0015128920786082745, 0.024324089288711548, 0.02401585690677166, 0.008724603801965714, -0.0025621913373470306, -0.00965479202568531, 0.06440234929323196, 0.03834081068634987, -0.035820432007312775, 0.01882065460085869, 0.02583189494907856, 0.0259614996612072, -0.041976846754550934, -0.03490353748202324, -0.02118462510406971, 0.009992161765694618, 0.04141223058104515, -0.026711905375123024, -0.004067465662956238, -0.013891845010221004, 0.0392843596637249, 0.027911027893424034, 0.011901847086846828, -0.03941108286380768, 0.01670706458389759, 0.03974400833249092, 0.024856265634298325, 0.00117682374548167, 0.02771768718957901, 0.002276215935125947, -0.021057212725281715, -0.0072377570904791355, -0.0030806970316916704, 0.0280363280326128, -0.030804812908172607, 0.03248549625277519, 0.0019209684105589986, 0.016984233632683754, -0.040873970836400986, 0.02633730322122574, 0.0003339251270517707, 0.020314881578087807, -0.0076923854649066925, 0.005966171156615019, -0.05891549959778786, 0.008056518621742725, -0.009436240419745445, 0.008456557989120483, -0.042896565049886703, 0.012881957925856113, -0.015259475447237492, 0.03695901855826378, -0.012313001789152622, -0.03237750753760338, 0.015126115642488003, 0.05072479322552681, 0.03720938786864281, -0.03716452047228813, 0.041922230273485184, -0.02213222160935402, -0.032442305237054825, -0.00844378862529993, -0.04206620156764984, -0.015453462488949299, -0.027931328862905502, 0.011114786379039288, -0.0006063904147595167, 0.006898180115967989, -0.028551632538437843, 0.055175796151161194, 0.02029160037636757, 0.016048124060034752, -0.013540585525333881, 0.03610861301422119, -0.015322389081120491, -0.01408372912555933, 0.06899341195821762, -0.028344664722681046, -0.03750983998179436, 0.018752608448266983, 0.03085816092789173, 0.015250973403453827, 0.07040522247552872, -0.02375943399965763, -0.06068815290927887, 0.00933113507926464, 0.024740738794207573, -0.021819181740283966, 0.04101687669754028, -0.012879648245871067, 0.020345041528344154, 0.03583361580967903, 0.015583764761686325, 0.015314104035496712, 0.014097217470407486, -0.03338881954550743, 0.058364782482385635, 0.0178157277405262, -0.02328808233141899, -0.012234671041369438, 0.014248388819396496, 0.004482234828174114, 0.017531434074044228, 0.03531500697135925, -0.014550203457474709, 0.003919065929949284, 0.020788712427020073, 0.0060096257366240025, -0.06597370654344559, -0.00919620506465435, -0.03309658169746399, -0.01051568053662777, -0.06595684587955475, 0.007802323438227177, -0.03518529236316681, 0.03415047377347946, -0.03947969898581505, -0.021145107224583626, -0.0399143360555172, 0.01565038412809372, -0.0039528547786176205, -0.020420240238308907, 0.07943598926067352, 0.034647148102521896, 0.02883121743798256, -0.015328142791986465, -0.07204155623912811, 0.0017636320553719997, -0.014227170497179031, 0.02267209067940712, 0.005136809777468443, 0.017144113779067993, -0.019841045141220093, -0.0316639319062233, 0.006369606591761112, 0.040026888251304626, -0.05725914239883423, -0.026069896295666695, 0.031765569001436234, -0.02126176655292511, -0.05771874263882637, -0.008839390240609646, 0.028222350403666496, 0.01341584324836731, 0.01844184473156929, -0.018849119544029236, -0.012037050910294056, -0.009461085312068462, -0.007131251972168684, -0.01260960940271616, 0.01450438518077135, -0.05442661792039871, -0.012395191937685013, -0.026573291048407555, 0.022418156266212463, 0.046796806156635284, 0.02193257212638855, 0.008422300219535828, 0.026776235550642014, -0.0009104547207243741, -0.01063239760696888, -0.05314579978585243, 0.01526707410812378, 0.061551664024591446, 0.0005599737050943077, -0.06008109450340271, -0.006553157698363066, 0.004028782714158297, -0.04125867411494255, -0.004759154282510281, -0.004289590287953615, 0.060972172766923904, 0.02887919917702675, 0.0184381902217865, -0.016765784472227097, 0.05004720762372017, 0.015130026265978813, -0.07672113180160522, -0.028615184128284454, 0.004819427616894245 ]
Fine-Tune a Semantic Segmentation Model with a Custom Dataset
segments-tobias
March 17, 2022
fine-tune-segformer
guide, partnerships, cv
https://huggingface.co/blog/fine-tune-segformer
Label the images Now that the raw data is loaded, go to segments.ai/home and open the newly created dataset. Click "Start labeling" and create segmentation masks. You can use the ML-powered superpixel and autosegment tools to label faster. Tip: when using the superpixel tool, scroll to change the superpixel size, and click and drag to select segments.
[ 0.06713390350341797, -0.07117458432912827, -0.01004389114677906, 0.07307614386081696, 0.050740327686071396, 0.08364205807447433, -0.04871007055044174, -0.005111680831760168, -0.048881709575653076, 0.009102906100451946, -0.09675037860870361, 0.044867224991321564, -0.025639982894062996, 0.0009215104510076344, 0.0855170339345932, -0.004133070819079876, -0.0037288835737854242, 0.02526887319982052, -0.014903096482157707, 0.022909846156835556, -0.021188389509916306, -0.07512349635362625, 0.01745002157986164, -0.03680017963051796, -0.04657372459769249, -0.00901868101209402, -0.00045100715942680836, 0.027333805337548256, 0.04601659998297691, -0.0213933065533638, -0.0529128834605217, 0.010605831630527973, 0.007654264103621244, 0.07551513612270355, -0.054787199944257736, 0.05951083451509476, -0.05337967351078987, 0.01929018460214138, 0.014758327044546604, 0.00005139534187037498, -0.04995733126997948, 0.044939883053302765, -0.05412983521819115, 0.03922145441174507, 0.04675837606191635, -0.040598638355731964, -0.11642595380544662, 0.0731794536113739, 0.026526926085352898, 0.0312190018594265, 0.0006158085307106376, 0.034216415137052536, 0.0255059152841568, 0.002621447667479515, -0.026281502097845078, 0.0020201432052999735, -0.013581144623458385, -0.09254004061222076, -0.07588627189397812, 0.02760939672589302, 0.12615467607975006, -0.03412419557571411, -0.012332434765994549, -0.011594031006097794, -0.0007791437674313784, 0.01901172287762165, 0.014408092945814133, 0.02279025875031948, -0.038870856165885925, -0.030680976808071136, -0.006887571420520544, -0.03566736727952957, 0.004898547660559416, -0.02952026017010212, -0.04362141340970993, -0.023153917863965034, -0.01715175248682499, -0.02250438742339611, -0.03153054788708687, -0.024401837959885597, 0.021840551868081093, 0.05192391946911812, 0.03604625165462494, 0.011388941667973995, -0.0332615002989769, -0.00027346701244823635, -0.0329585000872612, -0.07181419432163239, 0.03235273435711861, 0.1055227518081665, 0.0005317430477589369, -0.07149779796600342, 0.03750009834766388, -0.007124949246644974, 0.025024255737662315, -0.08818337321281433, 0.02456471510231495, 0.015343911945819855, 0.013193120248615742, -0.011645710095763206, -0.0115832993760705, -0.07893496751785278, 0.06831526011228561, 0.008960378356277943, -0.03996685519814491, -0.0313514843583107, -0.03130301460623741, -0.06466002017259598, -0.042192839086055756, -0.0020417741034179926, -0.009989986196160316, 0.04257351905107498, -0.011078382842242718, 0.05700084939599037, -0.07146777212619781, -0.04148385301232338, 0.07426340878009796, -0.05916577950119972, -0.026809601113200188, 0.07013195008039474, -0.008207036182284355, 0.03738834708929062, 0.009606033563613892, 0.05229703336954117, -0.020048176869750023, 0.032242584973573685, 0.09046076238155365, 0.06556302309036255, 0.0992586761713028, 0.012976917438209057, -0.022691968828439713, -0.02991686947643757, 0.0034431854728609324, -0.019939441233873367, 0.10675593465566635, -0.058128632605075836, 0.0013466026866808534, -0.012489667162299156, 0.0391504168510437, -0.01692747324705124, 0.00890522263944149, -0.019416937604546547, 0.04055648669600487, -0.06429393589496613, 0.02425025962293148, -0.023215653374791145, -0.09172701835632324, 0.02353365160524845, -0.06314083188772202, 0.019321784377098083, -0.07133454084396362, 0.03478848561644554, 0.00413992814719677, -0.09183342754840851, 0.014049493707716465, 0.05982394888997078, -0.014084208756685257, -0.01837179623544216, -0.12568193674087524, -0.0028839074075222015, 0.09164133667945862, 0.008045636117458344, -0.04501307010650635, 0.05093381553888321, -0.01986033469438553, -0.032465457916259766, 0.03273487836122513, 0.008354890160262585, 0.018354980275034904, 0.01246306486427784, 0.020071206614375114, -0.07195569574832916, 0.01016324944794178, -0.016164127737283707, 0.07091743499040604, 0.024610573425889015, 0.0516880564391613, 0.04119603708386421, -0.021733080968260765, -0.03649267926812172, -0.03312411159276962, -0.005150216165930033, -0.04553215205669403, -0.008987266570329666, -0.00450601801276207, -0.07660740613937378, 0.061758387833833694, -0.02028772607445717, -0.03280828520655632, 0.009544984437525272, -0.06272024661302567, -0.022548208013176918, 0.043520230799913406, -0.013652736321091652, -0.04851812869310379, -0.009423826821148396, -0.0028969203121960163, 0.11380378901958466, 0.010095340199768543, 0.04442114755511284, -0.03604336827993393, -0.010556826367974281, 0.0205235555768013, -0.030346808955073357, 0.029611388221383095, -0.012233619578182697, -0.038632284849882126, -0.053587764501571655, 0.08931344747543335, 0.012796351686120033, -0.06459466367959976, -0.10566246509552002, 0.06976202130317688, -0.06137935444712639, 0.035888440907001495, 0.0067170108668506145, 0.017751235514879227, 0.008147191256284714, -0.01027133408933878, -0.019613243639469147, 0.08980860561132431, -0.03076653555035591, -0.08358516544103622, 0.013616920448839664, -0.02203533612191677, 0.07662440836429596, 0.03942093625664711, -0.016814501956105232, 0.023377180099487305, -0.06320322304964066, -0.022421101108193398, -0.058546725660562515, 0.04759166017174721, -0.021123815327882767, -0.06103764474391937, -0.09527859091758728, 0.07864239066839218, -0.004018442705273628, 0.10737564414739609, -0.10815313458442688, 0.020337531343102455, -0.0950927734375, -0.0831589475274086, -0.022488173097372055, 0.03390391170978546, 0.06609686464071274, 0.10171570628881454, 0.008332460187375546, 0.0016963154776021838, 0.04403121396899223, -0.006651352625340223, -0.021513765677809715, -0.05753672495484352, -0.024927666410803795, 0.03426583483815193, 0.017180250957608223, 0.009415285661816597, -0.06015463545918465, -0.034259356558322906, 0.0446455217897892, 0.021083276718854904, -0.009179599583148956, -0.039673563092947006, 0.055975303053855896, -0.02983713336288929, -0.039867058396339417, 0.034498605877161026, 0.0165345910936594, -0.011547790840268135, -0.03976283222436905, -0.012910695746541023, 0.014381363987922668, 0.016162483021616936, -0.00043924531200900674, 0.01801225356757641, 0.01808047667145729, 0.006965729873627424, -0.008694957010447979, 0.014311537146568298, 0.015363353304564953, 0.009738211520016193, 0.005650079809129238, 0.06058776006102562, 0.041718799620866776, -0.006982262246310711, 0.00967949815094471, -0.009773326106369495, 0.014684337191283703, -0.035490795969963074, 0.020719921216368675, 0.022806786000728607, 0.0890287235379219, -0.0467170849442482, -0.007350803352892399, -0.0050687422044575214, 0.0019661802798509598, -0.007754090707749128, -0.006809242535382509, 0.0132819302380085, 0.03059510327875614, 0.01083451509475708, 0.0047070337459445, 0.002735244110226631, -0.031023140996694565, -0.052014049142599106, 0.02515316568315029, -0.031239530071616173, -0.02317195199429989, -0.0772194191813469, -0.0060411072336137295, -0.024936659261584282, 0.004581523593515158, -0.05718125030398369, -0.016856545582413673, 0.008364155888557434, 0.010749229229986668, 0.007846764288842678, 0.0021166554652154446, 0.034294839948415756, -0.02104848623275757, 0.013899155892431736, 0.0031342231668531895, -0.02374294213950634, 0.06158722937107086, -0.029861563816666603, 0.005239693447947502, -0.02000225894153118, 0.04524609073996544, -0.0418391153216362, 0.0728147029876709, 0.023518625646829605, 0.06200262904167175, 0.03432639688253403, 0.041035473346710205, 0.0004049156268592924, 0.005817804019898176, 0.02806585468351841, -0.00806731078773737, -0.01149979792535305, -0.06290387362241745, -0.033859413117170334, 0.011159072630107403, -0.017561156302690506, -0.018968934193253517, -0.010665586218237877, 0.03067474253475666, 0.017015958204865456, -0.01533391885459423, -0.027392346411943436, 0.03620758280158043, -0.011054866015911102, 0.00297336233779788, 0.017431963235139847, -0.04168802127242088, -0.03054412081837654, -0.004713212605565786, -0.016371991485357285, -0.03200707584619522, 0.03883809968829155, 0.01640349067747593, 0.033734191209077835, 0.030491594225168228, -0.022887693718075752, 0.002125460421666503, 0.028961356729269028, 0.016145184636116028, -0.001429999596439302, -0.008707084693014622, -0.0010753965470939875, 0.012093039229512215, -0.028229959309101105, -0.0022839964367449284, -0.03367525339126587, 0.03641592338681221, 0.022660963237285614, 0.015340921469032764, 0.0269357617944479, 0.048714250326156616, 0.01724969409406185, 0.008332345634698868, 0.0021544164046645164, 0.008059456013143063, -0.015946844592690468, 0.007910567335784435, -0.030113937333226204, -0.015028602443635464, 0.03236181288957596, 0.05544597655534744, 0.03193899616599083, -0.0144801652058959, -0.004934781230986118, -0.04228091239929199, -0.010740725323557854, -0.011191615834832191, 0.011607022024691105, -0.03022281639277935, 0.02138005942106247, 0.0006145253428258002, 0.019778380170464516, -0.04741524159908295, -0.008554509840905666, -0.03671436011791229, -0.0029299266170710325, 0.008843629620969296, 0.04287121817469597, -0.012640747241675854, 0.015776408836245537, -0.008612873032689095, 0.0037700056564062834, -0.0192096084356308, 0.005867066793143749, -0.025472167879343033, 0.03797899931669235, 0.039414990693330765, 0.013406832702457905, -0.00257379119284451, 0.025137683376669884, -0.022537242621183395, -0.010258172638714314, -0.023184647783637047, -0.021571889519691467, 0.02849084883928299, 0.045231904834508896, 0.0013340191217139363, 0.019513266161084175, -0.036787256598472595, 0.038703594356775284, 0.022349955514073372, -0.019697487354278564, 0.03159436210989952, 0.012041262350976467, 0.009743762202560902, 0.04174143448472023, -0.006290481425821781, 0.0182578656822443, 0.017165085300803185, 0.04626300185918808, 0.0043494789861142635, 0.0061249579302966595, -0.03408580273389816, 0.03621739149093628, 0.006718616001307964, 0.03681396320462227, -0.01522838044911623, -0.06046544760465622, 0.016264677047729492, -0.014748687855899334, -0.02940398082137108, 0.004953054245561361, 0.015589440241456032, 0.06035928055644035, 0.005062069743871689, 0.04547245427966118, 0.017705468460917473, -0.049094803631305695, -0.02430073730647564, -0.017162073403596878, 0.008316929452121258, 0.02869764342904091, 0.015966948121786118, -0.018898343667387962, 0.0063614752143621445, 0.003407728625461459, -0.034771520644426346, 0.017666883766651154, -0.0066266655921936035, -0.016439339146018028, 0.018561486154794693, 0.007675089407712221, 0.009668613784015179, -0.0073211113922297955, -0.029409369453787804, 0.019736064597964287, 0.0005841090460307896, 0.03074050322175026, -0.04712073877453804, -0.002243023132905364, 0.021609457209706306, -0.057287462055683136, 0.023442799225449562, -0.03463299944996834, -0.020747991278767586, -0.0041642989963293076, 0.0050633493810892105, 0.03480961546301842, 0.01824863813817501, -0.017151791602373123, -0.022708380594849586, -0.03853015974164009, 0.021302849054336548, -0.019934991374611855, 0.008520171977579594, -0.047265954315662384, 0.044386137276887894, 0.02182694897055626, 0.0460885614156723, -0.00846477597951889, -0.04824501648545265, -0.01316016260534525, 0.015107205137610435, 0.009904108941555023, 0.017245201393961906, 0.05749466270208359, 0.024399690330028534, 0.00035850732820108533, -0.04421384632587433, -0.03126462176442146, -0.022610291838645935, 0.02124401368200779, 0.04897686466574669, 0.016012415289878845, -0.02402287907898426, -0.016269801184535027, -0.0012112814001739025, -0.022551439702510834, 0.031156333163380623, 0.0016954030143097043, -0.019960446283221245, 0.010300238616764545, 0.015444799326360226, -0.021310802549123764, -0.018670855090022087, -0.05563948675990105, 0.006666296161711216, -0.023038741201162338, 0.006902690976858139, 0.042683690786361694, 0.028762521222233772, -0.03610682487487793, -0.016543006524443626, 0.007818629033863544, -0.027967052534222603, 0.012987497262656689, -0.03341047093272209, -0.008552632294595242, -0.023180603981018066, 0.012423613108694553, 0.020478148013353348, 0.016449203714728355, -0.026476722210645676, 0.014567815698683262, 0.0701967179775238, -0.0285878274589777, -0.01846792921423912, -0.04061272367835045, 0.02271081879734993, 0.014302427880465984, 0.01436605118215084, -0.007631982676684856, -0.017077667638659477, -0.08805175125598907, 0.04716307297348976, -0.033563319593667984, 0.039159346371889114, 0.033981673419475555, -0.0023696578573435545, 0.030760839581489563, 0.004164505749940872, 0.03955972567200661, -0.05308444797992706, 0.013758860528469086, 0.015001324936747551, 0.03465675562620163, -0.015518381260335445, 0.027694759890437126, 0.011104200035333633, -0.003992799203842878, 0.028614467009902, -0.039244625717401505, -0.0723181962966919, 0.0045471652410924435, 0.03228163346648216, 0.0174103956669569, 0.02360500954091549, -0.0337437242269516, 0.003942179027944803, -0.02449064701795578, 0.025197120383381844, -0.005819042678922415, 0.044926874339580536, -0.000965758110396564, 0.01194462738931179, -0.013301093131303787, -0.016637997701764107, -0.026403076946735382, 0.026922427117824554, -0.060352176427841187, 0.035049427300691605, 0.004557236097753048, 0.01735878922045231, 0.018699249252676964, 0.024136219173669815, 0.020055828616023064, 0.016519639641046524, 0.027698708698153496, 0.030810555443167686, -0.015221801586449146, -0.004964620806276798, 0.02415079064667225, -0.01622145064175129, -0.021864060312509537, 0.01328215841203928, -0.015239434316754341, 0.03779607638716698, 0.054986126720905304, -0.042418066412210464, 0.009655401110649109, -0.022480344399809837, 0.07166410237550735, 0.03806024417281151, 0.0009078584844246507, -0.011373920366168022, 0.0019743654411286116, 0.018927976489067078, 0.013784731738269329, 0.003623412922024727, 0.0024717426858842373, 0.07940292358398438, -0.03970259055495262, 0.030511265620589256, -0.026235340163111687, 0.03429431840777397, 0.019855815917253494, 0.02985261008143425, -0.01961986906826496, 0.013380148448050022, -0.03517639636993408, 0.019973691552877426, 0.005819286219775677, 0.022667689248919487, -0.056115392595529556, -0.001433373661711812, -0.05860177055001259, 0.0013601965038105845, 0.014065281488001347, 0.043260056525468826, -0.019180580973625183, -0.008475386537611485, 0.022382093593478203, 0.014043362811207771, -0.026838721707463264, 0.00021022220607846975, -0.03001069836318493, 0.0017623929306864738, 0.012610389851033688, -0.01653441973030567, -0.005324549973011017, -0.068182572722435, 0.0023987318854779005, 0.016843583434820175, -0.015274475328624249, -0.02999744936823845, -0.02420654520392418, 0.03456564620137215, 0.012203829362988472, 0.022246934473514557, -0.010621648281812668, 0.010509593412280083, 0.004243678413331509, 0.024888955056667328, -0.007411665748804808, 0.03872786834836006, -0.016787339001893997, -0.021002905443310738, 0.0011370161082595587, -0.012932198122143745, 0.0029100803658366203, 0.022477606311440468, -0.01661209762096405, 0.024594832211732864, 0.007815209217369556, 0.023712147027254105, -0.06099776178598404, -0.014421517960727215, 0.020512521266937256, 0.055135875940322876, 0.027371857315301895, 0.03521395102143288, 0.0015730730956420302, 0.05992496386170387, -0.009033363312482834, -0.007948344573378563, 0.03006773814558983, 0.02322748489677906, 0.003633412765339017, -0.004777831956744194, -0.04669232293963432, -0.02368098683655262, 0.004265317227691412, -0.05405286327004433, 0.03696497902274132, -0.023555735126137733, -0.00298840063624084, -0.012750566937029362, 0.0015162915224209428, 0.011633933521807194, -0.013650170527398586, 0.08361981064081192, -0.05292084813117981, -0.00042260432383045554, -0.022234421223402023, 0.010077058337628841, -0.010202797129750252, 0.02883407659828663, -0.02643442712724209, -0.008318583481013775, -0.02380605787038803, 0.0073496876284480095, -0.05700284615159035, -0.036642368882894516, 0.060510288923978806, -0.009406037628650665, 0.050374556332826614, 0.0014718736056238413, -0.011766873300075531, 0.03231336548924446, -0.011161244474351406, 0.061667632311582565, 0.008775467053055763, -0.02782418020069599, 0.001455242047086358, 0.004532997030764818, 0.03737160190939903, 0.005714974831789732, -0.03783091530203819, 0.028192583471536636, 0.010425124317407608, -0.021765021607279778, -0.053345099091529846, -0.021592028439044952, 0.041178543120622635, 0.010517212562263012, 0.025838542729616165, -0.013648902997374535, -0.015405705198645592, 0.0198108721524477, 0.016992725431919098, -0.06575142592191696, -0.00636652298271656, 0.016800828278064728, -0.016163071617484093, 0.02881619706749916, -0.025004496797919273, 0.007084346376359463, 0.007567029446363449, 0.008799904026091099, -0.0073129660449922085, 0.013138025999069214, 0.025746485218405724, -0.03709607571363449, 0.00522432429715991, 0.01791464351117611, 0.010399837978184223, -0.020910078659653664, 0.01173561904579401, 0.025605149567127228, 0.032735273241996765, -0.0022993655875325203, -0.02890635095536709, 0.04094386845827103, 0.005280491430312395, 0.02846447192132473, 0.00015564933710265905, 0.0346214734017849, 0.06207844242453575, 0.03544168174266815, 0.01010207924991846, -0.010225348174571991 ]
Fine-Tune a Semantic Segmentation Model with a Custom Dataset
segments-tobias
March 17, 2022
fine-tune-segformer
guide, partnerships, cv
https://huggingface.co/blog/fine-tune-segformer
# Fine-Tune a Semantic Segmentation Model with a Custom Dataset This guide shows how you can fine-tune Segformer, a state-of-the-art semantic segmentation model. Our goal is to build a model for a pizza delivery robot, so it can see where to drive and recognize obstacles 🍕🤖. We'll first label a set of sidewalk images on Segments.ai. Then we'll fine-tune a pre-trained SegFormer model by using 🤗 transformers, an open-source library that offers easy-to-use implementations of state-of-the-art models. Along the way, you'll learn how to work with the Hugging Face Hub, the largest open-source catalog of models and datasets. Semantic segmentation is the task of classifying each pixel in an image. You can see it as a more precise way of classifying an image. It has a wide range of use cases in fields such as medical imaging and autonomous driving. For example, for our pizza delivery robot, it is important to know exactly where the sidewalk is in an image, not just whether there is a sidewalk or not. Because semantic segmentation is a type of classification, the network architectures used for image classification and semantic segmentation are very similar. In 2014, a seminal paper by Long et al. used convolutional neural networks for semantic segmentation. More recently, Transformers have been used for image classification (e.g. ViT), and now they're also being used for semantic segmentation, pushing the state-of-the-art further. SegFormer is a model for semantic segmentation introduced by Xie et al. in 2021. It has a hierarchical Transformer encoder that doesn't use positional encodings (in contrast to ViT) and a simple multi-layer perceptron decoder. SegFormer achieves state-of-the-art performance on multiple common datasets. Let's see how our pizza delivery robot performs for sidewalk images. Let's get started by installing the necessary dependencies. Because we're going to push our dataset and model to the Hugging Face Hub, we need to install Git LFS and log in to Hugging Face. The installation of git-lfs might be different on your system. Note that Google Colab has Git LFS pre-installed. bash pip install -q transformers datasets evaluate segments-ai apt-get install git-lfs git lfs install huggingface-cli login # 1. Create/choose a dataset The first step in any ML project is assembling a good dataset. In order to train a semantic segmentation model, we need a dataset with semantic segmentation labels. We can either use an existing dataset from the Hugging Face Hub, such as ADE20k, or create our own dataset. For our pizza delivery robot, we could use an existing autonomous driving dataset such as CityScapes or BDD100K. However, these datasets were captured by cars driving on the road. Since our delivery robot will be driving on the sidewalk, there will be a mismatch between the images in these datasets and the data our robot will see in the real world. We don't want our delivery robot to get confused, so we'll create our own semantic segmentation dataset using images captured on sidewalks. We'll show how you can label the images we captured in the next steps. If you just want to use our finished, labeled dataset, you can skip the "Create your own dataset" section and continue from "Use a dataset from the Hub".
[ 0.06420410424470901, -0.12639681994915009, -0.030677566304802895, 0.06802334636449814, 0.04120783135294914, 0.1153486892580986, -0.020101770758628845, 0.08356978744268417, -0.01754703000187874, -0.013995121233165264, -0.07133491337299347, 0.014845446683466434, -0.015326489694416523, 0.032210830599069595, 0.00712614506483078, 0.0154630271717906, 0.012124411761760712, 0.020215412601828575, -0.027957040816545486, 0.0196760855615139, 0.020003123208880424, -0.07393830269575119, -0.005551970098167658, -0.04372156038880348, -0.06226605921983719, -0.0292048379778862, 0.015053636394441128, 0.038124002516269684, -0.029148347675800323, 0.008110303431749344, -0.13674725592136383, -0.0045281206257641315, -0.02686287648975849, -0.05663762241601944, -0.04316176474094391, 0.033222746104002, -0.10170604288578033, 0.013830039650201797, 0.07427222281694412, -0.0132014574483037, -0.019840946421027184, 0.000999628915451467, -0.05519303306937218, 0.006739100906997919, 0.08054757118225098, -0.06341328471899033, -0.1016886755824089, 0.059452999383211136, 0.019367991015315056, -0.0000929341113078408, -0.0223549734801054, 0.0364445224404335, 0.08173410594463348, 0.005940060131251812, 0.019282490015029907, -0.004808671306818724, 0.03373788297176361, -0.05637885630130768, 0.030672045424580574, 0.025285573676228523, 0.0795884057879448, -0.022666379809379578, -0.004186423495411873, -0.03283627703785896, 0.022306503728032112, 0.0017171184299513698, -0.036811865866184235, 0.05880829319357872, -0.03167196735739708, -0.06942832469940186, 0.04148198291659355, -0.033254895359277725, 0.027947722002863884, 0.008855556137859821, -0.0487048476934433, -0.05581384524703026, -0.012098202481865883, 0.006325280759483576, -0.003702234011143446, -0.04238024353981018, -0.06746768951416016, 0.06955252587795258, 0.04524620994925499, 0.05243387073278427, 0.03456581383943558, 0.04412541538476944, -0.03010307438671589, -0.08104091882705688, -0.013049814850091934, 0.06727521121501923, 0.020102079957723618, -0.03757208585739136, -0.025806710124015808, -0.01013950351625681, 0.057772353291511536, 0.004378136247396469, 0.020403070375323296, 0.010965281166136265, 0.0781337320804596, -0.09041067212820053, -0.05360489338636398, -0.0330202691257, 0.021685868501663208, -0.0663263276219368, -0.005218119826167822, 0.04284044727683067, -0.05375584959983826, -0.041283462196588516, -0.03261014074087143, 0.012865044176578522, 0.01582293212413788, -0.023381680250167847, -0.01871560513973236, 0.12719520926475525, -0.06277278065681458, 0.04638848453760147, 0.04315110296010971, -0.07932043820619583, -0.024474848061800003, 0.0396217443048954, 0.014576676301658154, 0.05235699564218521, 0.029356708750128746, 0.02652246691286564, 0.013489889912307262, 0.030267953872680664, -0.016412153840065002, 0.053687237203121185, 0.01923438534140587, -0.01766040548682213, 0.024422962218523026, -0.0549868568778038, -0.012333573773503304, 0.007746328599750996, -0.026746250689029694, -0.05159975215792656, 0.03139312192797661, -0.051796019077301025, 0.04681351035833359, -0.04271522909402847, -0.023711051791906357, 0.05743544176220894, 0.0268692784011364, -0.07147186249494553, 0.04535239562392235, -0.02182171680033207, -0.05912920460104942, 0.07724877446889877, 0.005285721737891436, 0.0227322056889534, -0.025981267914175987, 0.10409783571958542, -0.04934271425008774, -0.05593104287981987, 0.05716858431696892, 0.03794870153069496, -0.057994544506073, -0.009207425639033318, -0.09950382262468338, -0.0055501870810985565, -0.010638762265443802, -0.029672708362340927, -0.040318213403224945, 0.037867471575737, -0.007041718810796738, -0.05462181568145752, 0.06186939403414726, 0.00982746109366417, -0.0034210002049803734, 0.060406316071748734, -0.02228066511452198, -0.026650235056877136, 0.07494408637285233, -0.04426971450448036, 0.051079582422971725, -0.045918058604002, 0.055302944034338, 0.05124349147081375, 0.008648271672427654, -0.02392754890024662, -0.0027640988118946552, -0.011249124072492123, 0.00927263218909502, 0.04993659257888794, 0.03073907643556595, -0.061170563101768494, 0.009293856099247932, 0.0031888806261122227, -0.014776285737752914, 0.00817505456507206, -0.04224035143852234, -0.017436886206269264, 0.05007179453969002, -0.03193286806344986, 0.05735647678375244, -0.050183650106191635, -0.010522264055907726, 0.030277881771326065, 0.05493532121181488, 0.06889604777097702, -0.012879710644483566, -0.07042913883924484, 0.004067941568791866, -0.04150394722819328, 0.044898804277181625, -0.016057780012488365, -0.02307196334004402, -0.10375193506479263, 0.08849794417619705, 0.02089904434978962, 0.034910883754491806, -0.14099648594856262, 0.03950655460357666, -0.07316933572292328, 0.040352631360292435, -0.08330205082893372, 0.02627410553395748, 0.010552390478551388, -0.0052601187489926815, -0.029961172491312027, 0.0866335779428482, -0.02367483079433441, -0.0525040328502655, 0.006773843429982662, -0.015985557809472084, 0.034439731389284134, 0.0485171303153038, 0.056329187005758286, 0.07557997852563858, -0.043466437608003616, -0.010130004025995731, -0.0659991055727005, 0.021012485027313232, -0.03049207292497158, -0.03862132132053375, -0.07207407802343369, 0.07348119467496872, 0.03945842757821083, 0.036727387458086014, -0.023743685334920883, -0.002307686023414135, 0.017477326095104218, -0.025978513062000275, 0.04099790379405022, -0.027037790045142174, -0.028004832565784454, 0.06267396360635757, -0.0006549652898684144, 0.009771332144737244, 0.06334821879863739, -0.07382592558860779, 0.026165446266531944, -0.05456952378153801, -0.04361118748784065, 0.033842314034700394, -0.024594027549028397, 0.020564712584018707, -0.03185480833053589, -0.013274122029542923, 0.05917878821492195, -0.003936505410820246, -0.009368069469928741, -0.04932589828968048, 0.0022136224433779716, -0.018465198576450348, -0.045555420219898224, -0.015961186960339546, 0.020142555236816406, 0.029657190665602684, 0.0036069201305508614, -0.006026417948305607, -0.024199677631258965, 0.06423695385456085, 0.006449934095144272, 0.0373636893928051, 0.056372251361608505, 0.03959989920258522, -0.019172241911292076, -0.02178996428847313, 0.000107768559246324, -0.015533197671175003, -0.018051588907837868, 0.028796281665563583, 0.05351591855287552, 0.015197964385151863, 0.00991804525256157, 0.035295143723487854, 0.01058000884950161, -0.059609465301036835, 0.02339581772685051, 0.022455405443906784, 0.05754271522164345, -0.030011488124728203, -0.04256733879446983, -0.004998005926609039, 0.002645645523443818, -0.018945954740047455, -0.02296854555606842, -0.010471953079104424, 0.004380712751299143, 0.004317393992096186, 0.01780843734741211, 0.02399350143969059, -0.050130121409893036, 0.005662744399160147, 0.03599401190876961, 0.032648876309394836, 0.04888619855046272, -0.07587789744138718, -0.021898329257965088, -0.04202982410788536, -0.005163197871297598, -0.03717660903930664, -0.033288225531578064, 0.04145178571343422, 0.005125570110976696, -0.020844077691435814, 0.007517580408602953, 0.04034096747636795, 0.005755626130849123, 0.009231905452907085, -0.014868874102830887, -0.007253717165440321, -0.010279431007802486, 0.013888191431760788, 0.012501521967351437, 0.009225897490978241, 0.009648249484598637, -0.06822145730257034, 0.01009009312838316, -0.03910469263792038, 0.028684599325060844, -0.014110183343291283, 0.032778963446617126, 0.002665669657289982, -0.01722855679690838, -0.009983244352042675, -0.04461604729294777, 0.02229730412364006, 0.017138047143816948, -0.02233901619911194, 0.029785031452775, -0.0029515300411731005, 0.007953180000185966, 0.03663286566734314, -0.004890017677098513, 0.049068741500377655, 0.026420846581459045, -0.009609557688236237, 0.01798759028315544, -0.019194744527339935, 0.01596721075475216, 0.03179120644927025, -0.006114615593105555, -0.02703031711280346, -0.02692095935344696, -0.027464212849736214, -0.06909774988889694, 0.04561563581228256, 0.016203267499804497, -0.013616790063679218, 0.05712050944566727, -0.002231745980679989, 0.02044565975666046, 0.03832659125328064, 0.024239376187324524, 0.006253265775740147, -0.022284120321273804, -0.02688242867588997, 0.026077626273036003, -0.0171599593013525, -0.012040087021887302, -0.002738249022513628, 0.04359370470046997, 0.009348775260150433, -0.00931594893336296, -0.016909729689359665, 0.016031499952077866, -0.029405415058135986, 0.027934588491916656, -0.016728078946471214, 0.00023561043781228364, -0.025732899084687233, 0.00541331060230732, 0.006508206482976675, -0.00989670492708683, 0.012968011200428009, 0.05335588380694389, -0.006609512027353048, -0.0021037764381617308, 0.003525310894474387, 0.0011669363593682647, -0.0053839776664972305, -0.011700757779181004, 0.020899519324302673, -0.08902814239263535, 0.03201853111386299, -0.015807075425982475, 0.008739381097257137, -0.015453215688467026, -0.05537084490060806, 0.0072380839847028255, -0.012597302906215191, 0.004324761684983969, -0.006275258958339691, 0.06529175490140915, -0.026255428791046143, -0.028121743351221085, 0.01153538003563881, -0.008697232231497765, 0.013382084667682648, 0.009390047751367092, 0.020010510459542274, 0.03046656958758831, 0.019182024523615837, -0.02294595167040825, 0.0027803517878055573, 0.003375647822394967, 0.02314486913383007, 0.0002950795169454068, 0.006833168212324381, 0.001190812443383038, 0.07064590603113174, 0.02126576378941536, -0.012108786962926388, -0.01505226083099842, 0.02698661759495735, 0.04947949945926666, 0.01710577681660652, 0.011385932564735413, -0.015920640900731087, -0.04329783841967583, 0.05881361663341522, 0.0018505981424823403, 0.0034000365994870663, -0.005235207732766867, -0.019178874790668488, 0.020777057856321335, 0.01526748389005661, -0.008894592523574829, -0.020339444279670715, -0.005542165599763393, 0.010719791054725647, 0.017122911289334297, -0.02557654120028019, 0.02392945997416973, -0.005144620779901743, 0.0039617507718503475, -0.023438984528183937, 0.04248499870300293, 0.07362306118011475, 0.0034193957690149546, 0.0488528311252594, 0.005146783776581287, 0.0013384012272581458, -0.018395263701677322, -0.005551861133426428, 0.033887047320604324, 0.016295714303851128, -0.007641935255378485, 0.012120713479816914, 0.00828850083053112, 0.03304547443985939, -0.022736210376024246, -0.014509513042867184, -0.018203627318143845, 0.016949202865362167, 0.03690832853317261, -0.014350024051964283, -0.013326268643140793, -0.04681611806154251, 0.009336113929748535, 0.02733505330979824, -0.007071849890053272, 0.00850897841155529, -0.051775358617305756, -0.03534215688705444, -0.00025101518258452415, -0.01944470778107643, 0.010183323174715042, 0.028202461078763008, -0.02316896617412567, 0.016163092106580734, 0.016189269721508026, 0.018161416053771973, 0.012810669839382172, -0.003922065254300833, 0.008230870589613914, -0.0201459601521492, -0.03018854930996895, 0.006367861293256283, 0.054866380989551544, 0.03903580829501152, -0.0044944570399820805, 0.06123809143900871, 0.06357391923666, -0.00603030389174819, 0.0009909211657941341, -0.01758585125207901, 0.005909235216677189, -0.0030955371912568808, -0.03530514985322952, 0.01247808150947094, 0.006537578068673611, 0.013595236465334892, -0.0019085054518654943, -0.034041836857795715, -0.02610926702618599, 0.018733233213424683, 0.06172929331660271, -0.014999357983469963, 0.012628384865820408, -0.0026260721497237682, -0.03244642913341522, -0.014220688492059708, -0.02374388836324215, 0.014203707687556744, -0.043057821691036224, 0.0017570107011124492, 0.0012788923922926188, 0.0010655268561095, -0.02102447859942913, -0.0031147305853664875, -0.014115162193775177, 0.00013547860726248473, -0.01344256941229105, 0.025876767933368683, 0.009851468726992607, -0.026568163186311722, -0.023084959015250206, -0.005080966744571924, 0.013902273960411549, -0.01312761940062046, -0.03583478182554245, 0.00342907989397645, -0.043719880282878876, 0.0010731498477980494, 0.02011764608323574, 0.03011251799762249, -0.03603048995137215, 0.03833218291401863, 0.044114526361227036, -0.03277631476521492, -0.047629427164793015, -0.01676018349826336, -0.00538728479295969, 0.04052501171827316, -0.005595029331743717, 0.00645315321162343, -0.020128348842263222, -0.027903832495212555, -0.028666982427239418, -0.03969955071806908, 0.04231937229633331, 0.046975698322057724, 0.02174292504787445, 0.04249994456768036, -0.01634509116411209, 0.02785048820078373, -0.03171079233288765, 0.028988629579544067, 0.030415024608373642, 0.034386780112981796, -0.0020600175485014915, 0.010568861849606037, 0.004488128237426281, 0.04494089633226395, 0.01630992442369461, -0.03453708812594414, -0.08947375416755676, 0.017854521051049232, 0.06813903152942657, -0.03481224179267883, -0.033600129187107086, -0.0029754582792520523, -0.07498321682214737, -0.006837660912424326, 0.0005428035510703921, 0.02399435080587864, 0.036210719496011734, 0.027829261496663094, 0.026762377470731735, -0.06097482889890671, -0.02079334855079651, -0.011323374696075916, 0.024254828691482544, -0.002895300043746829, 0.01123187318444252, 0.0062752277590334415, -0.02838771790266037, 0.07572207599878311, -0.0019326208857819438, 0.012774151749908924, 0.013101690448820591, 0.05280439555644989, 0.0356249175965786, 0.02031339891254902, 0.026375606656074524, -0.032925765961408615, 0.0031997854821383953, -0.05535312369465828, -0.036335334181785583, -0.04839881509542465, 0.0445086807012558, 0.054380062967538834, -0.0336749367415905, 0.004349623806774616, -0.03136450797319412, 0.04001365974545479, 0.04031224921345711, 0.03759223222732544, -0.030561108142137527, 0.023614440113306046, 0.0315670482814312, 0.00693817064166069, 0.001440893393009901, 0.018832024186849594, 0.023988399654626846, -0.04290689900517464, 0.008595841936767101, -0.011344172060489655, 0.05971892550587654, 0.0034077081363648176, 0.019261766225099564, -0.04529291391372681, -0.005316020455211401, -0.05880829691886902, 0.022328227758407593, -0.005893978755921125, 0.02929387055337429, -0.026336615905165672, -0.017372362315654755, -0.038897085934877396, -0.0054232398979365826, 0.0176519937813282, 0.023158187046647072, -0.02566688507795334, 0.00572024704888463, 0.020125728100538254, 0.0450235977768898, 0.011815695092082024, -0.02392316609621048, -0.042590077966451645, -0.0010225807782262564, -0.018956629559397697, -0.0414900928735733, -0.016568655148148537, -0.06337998807430267, -0.02613614685833454, -0.009393447078764439, -0.006403949111700058, 0.01952379010617733, -0.010678915306925774, -0.03739900141954422, 0.002245111158117652, -0.005940609611570835, -0.01862342655658722, 0.029416529461741447, 0.04280927777290344, -0.002193917753174901, -0.01872263289988041, 0.050746332854032516, -0.04762554541230202, -0.027366431429982185, -0.001668933779001236, -0.009185888804495335, 0.0377931073307991, 0.03125222772359848, 0.03558090701699257, 0.024240996688604355, 0.06665534526109695, -0.012833920307457447, -0.027928752824664116, -0.01592082716524601, -0.02210310474038124, -0.015399068593978882, 0.037576641887426376, 0.00947077851742506, -0.006955958437174559, 0.023581620305776596, -0.03169788792729378, 0.018741760402917862, 0.02250293456017971, -0.0014805870596319437, 0.0353374183177948, -0.010886394418776035, -0.06589073687791824, -0.03700445592403412, 0.013247959315776825, 0.023682719096541405, 0.06234973669052124, -0.004912216681987047, 0.022905267775058746, -0.04527829587459564, 0.02980632148683071, 0.025835426524281502, -0.04622230678796768, 0.03517359495162964, -0.05700128525495529, -0.04591383412480354, -0.03640705347061157, 0.02746869996190071, -0.0129852294921875, 0.0306682251393795, -0.030641762539744377, -0.02132726088166237, -0.031653083860874176, -0.019561385735869408, 0.007136450614780188, -0.004538941662758589, 0.04950716719031334, 0.04263995960354805, 0.014792012050747871, 0.022997669875621796, -0.00017902962281368673, -0.009301481768488884, 0.008468534797430038, 0.028825875371694565, 0.031120911240577698, 0.002840398345142603, -0.009394994005560875, -0.051131196320056915, -0.005723165813833475, -0.004941332619637251, -0.03097040392458439, -0.005369426216930151, 0.055178217589855194, 0.005231982097029686, -0.016591880470514297, -0.001114377984777093, 0.02947407215833664, 0.01575925014913082, 0.0008206125348806381, -0.011040527373552322, 0.050453100353479385, 0.018152665346860886, 0.008629422634840012, -0.020121105015277863, -0.007221500389277935, -0.012052078731358051, -0.02627411112189293, -0.022655323147773743, -0.0018501132726669312, 0.011153862811625004, -0.011849354021251202, 0.022692671045660973, 0.02046172134578228, -0.02040777914226055, 0.01295624952763319, -0.008171897381544113, -0.017951151356101036, 0.0499192476272583, -0.019450996071100235, -0.031226716935634613, 0.02265196293592453, 0.020688461139798164, -0.015964040532708168, 0.017301950603723526, -0.056332893669605255, 0.03499378636479378, -0.02990245260298252, 0.0435270220041275, -0.0019374556140974164, 0.04061318561434746, 0.04909241572022438, -0.003910556435585022, -0.01745668426156044, 0.011627455241978168 ]
Announcing the 🤗 AI Research Residency Program
douwekiela
March 22, 2022
ai-residency
community, research
https://huggingface.co/blog/ai-residency
# Announcing the 🤗 AI Research Residency Program 🎉 🎉 🎉 The 🤗 Research Residency Program is a 9-month opportunity to launch or advance your career in machine learning research 🚀. The goal of the residency is to help you grow into an impactful AI researcher. Residents will work alongside Researchers from our Science Team. Together, you will pick a research problem and then develop new machine learning techniques to solve it in an open & collaborative way, with the hope of ultimately publishing your work and making it visible to a wide audience. Applicants from all backgrounds are welcome! Ideally, you have some research experience and are excited about our mission to democratize responsible machine learning. The progress of our field has the potential to exacerbate existing disparities in ways that disproportionately hurt the most marginalized people in society — including people of color, people from working-class backgrounds, women, and LGBTQ+ people. These communities must be centered in the work we do as a research community. So we strongly encourage proposals from people whose personal experience reflects these identities.. We encourage applications relating to AI that demonstrate a clear and positive societal impact.
[ 0.03422721475362778, -0.0033086417242884636, 0.07032928615808487, 0.006021111272275448, 0.008840516209602356, 0.0663328543305397, -0.039367854595184326, 0.02520289458334446, -0.01862872950732708, -0.08695423603057861, -0.09987252205610275, 0.03308184817433357, 0.02916489727795124, 0.04278247803449631, 0.010895103216171265, -0.028063245117664337, 0.041804227977991104, -0.0589926540851593, -0.016601497307419777, -0.040005773305892944, -0.04946005716919899, 0.01603810116648674, 0.02785920910537243, 0.01037596259266138, -0.04967336729168892, 0.019209090620279312, 0.05037619546055794, -0.013239994645118713, -0.015521845780313015, 0.00433598505333066, -0.10173039883375168, 0.0071693831123411655, -0.02201743796467781, -0.024172678589820862, -0.034834861755371094, 0.09753197431564331, -0.08292882889509201, 0.02208317629992962, 0.08953546732664108, -0.010466220788657665, -0.03088916279375553, -0.0073440601117908955, -0.026423459872603416, 0.08233296871185303, -0.01724664680659771, -0.06818443536758423, -0.13172326982021332, -0.0021586476359516382, -0.05943969637155533, -0.019014272838830948, -0.030671631917357445, 0.03281007334589958, 0.01474578958004713, -0.018605006858706474, 0.02451087161898613, 0.02654285728931427, 0.04300623759627342, -0.045903291553258896, -0.030206412076950073, 0.015013792552053928, 0.0015237012412399054, -0.011032980866730213, 0.04553047940135002, 0.019175516441464424, 0.0411759652197361, 0.017202286049723625, 0.08358632773160934, -0.021692097187042236, -0.05532461032271385, -0.03044566698372364, -0.03287968784570694, 0.007087721489369869, -0.033912111073732376, -0.009438397362828255, -0.027166698127985, -0.060350075364112854, -0.00867304764688015, 0.038924239575862885, 0.022499948740005493, 0.01673319935798645, 0.02429630607366562, -0.021710094064474106, 0.04420382156968117, -0.019172927364706993, 0.03399807959794998, -0.008811145089566708, -0.04890114441514015, -0.049845173954963684, 0.019815288484096527, 0.03862854465842247, -0.009281450882554054, -0.08178116381168365, 0.1038479432463646, 0.03241734206676483, 0.10092149674892426, -0.0950259268283844, 0.0045031532645225525, -0.006659630686044693, -0.06824320554733276, -0.021716680377721786, 0.002044202759861946, 0.03140300512313843, -0.0029474347829818726, 0.0008166339248418808, -0.08475998789072037, 0.1363026350736618, 0.0007059278432279825, -0.04389055445790291, -0.06165635585784912, -0.034041307866573334, 0.024648211896419525, 0.047163981944322586, -0.0025090903509408236, 0.006665483117103577, -0.05659575015306473, 0.08321623504161835, 0.0352272167801857, -0.03401576355099678, -0.011207628063857555, 0.050570763647556305, 0.03848185017704964, 0.015405510552227497, -0.013850314542651176, 0.08402698487043381, -0.08925175666809082, 0.05710124969482422, 0.00623604329302907, -0.006550160702317953, -0.01489280816167593, -0.05833771452307701, 0.017187127843499184, -0.028636660426855087, -0.0015413849614560604, 0.038983844220638275, 0.0225130096077919, -0.03266294300556183, -0.01966702938079834, -0.04849116876721382, 0.06381502747535706, -0.006085836328566074, -0.02672249637544155, -0.012673623859882355, 0.050516169518232346, -0.01353190653026104, 0.05522561073303223, 0.009017495438456535, -0.08320724219083786, 0.04636959359049797, 0.016859278082847595, 0.008999671787023544, -0.08116394281387329, 0.07936353236436844, -0.029290979728102684, -0.08818932622671127, -0.0000589402079640422, 0.006512315012514591, -0.05860860273241997, -0.023356162011623383, 0.0013824127381667495, 0.044474873691797256, -0.013740266673266888, -0.052723173052072525, -0.052082933485507965, 0.012520866468548775, 0.030924636870622635, -0.05138573423027992, 0.0428084097802639, -0.011138658039271832, -0.03894159570336342, 0.020302023738622665, 0.002318048384040594, -0.05778840184211731, 0.1147443950176239, 0.015112250111997128, 0.04908261075615883, 0.019227974116802216, 0.025612784549593925, 0.02905852533876896, -0.024926358833909035, 0.004557895008474588, 0.014480596408247948, 0.08983371406793594, -0.07507463544607162, 0.0008606400224380195, 0.05680924654006958, -0.09193260222673416, -0.024354450404644012, 0.028238650411367416, 0.03079943172633648, 0.012522532604634762, -0.05425265431404114, 0.015322092920541763, 0.0572204627096653, -0.011396501213312149, 0.028829142451286316, -0.03619025647640228, -0.010156207717955112, 0.14790049195289612, -0.03446941450238228, 0.10053377598524094, 0.023214370012283325, -0.02674952521920204, 0.06722607463598251, -0.051763396710157394, -0.07613558322191238, 0.04648420959711075, 0.028170425444841385, -0.019393209367990494, 0.07412390410900116, -0.00812870729714632, -0.024655357003211975, -0.10236001759767532, 0.009878751821815968, -0.002123103477060795, 0.028118975460529327, -0.0014138300903141499, 0.03616403415799141, -0.011690102517604828, -0.006373810116201639, -0.06665567308664322, 0.1626327931880951, -0.07526338845491409, 0.0387713797390461, 0.058974456042051315, 0.02157643809914589, 0.0358654223382473, 0.04608151689171791, -0.019853169098496437, 0.09790987521409988, -0.012365472503006458, -0.01789439655840397, -0.007877427153289318, 0.036141879856586456, 0.0032433406449854374, 0.0005462992121465504, -0.009815315715968609, 0.02119133062660694, -0.03489186242222786, 0.030347101390361786, -0.009644691832363605, -0.0357898510992527, 0.02128852717578411, 0.0014645984629169106, -0.011725135147571564, 0.036925602704286575, -0.016556011512875557, 0.07801571488380432, 0.015093661844730377, 0.009544577449560165, 0.02669399417936802, -0.026963360607624054, -0.03417135030031204, -0.022919975221157074, -0.008066569454967976, 0.026159923523664474, 0.05456504598259926, 0.015578614547848701, -0.024656757712364197, -0.025530926883220673, -0.003929524682462215, -0.00461493618786335, -0.005920178256928921, -0.008222818374633789, -0.026084354147315025, -0.022847402840852737, 0.009675216861069202, 0.04075721278786659, -0.005685430020093918, -0.002264193492010236, -0.01023712195456028, 0.057000380009412766, -0.029639726504683495, -0.001955343410372734, 0.006492377258837223, -0.05225358158349991, 0.027993910014629364, 0.03367180749773979, -0.024070078507065773, -0.024448296055197716, -0.001505816588178277, -0.019814882427453995, -0.02897694893181324, 0.0040878611616790295, 0.09674876928329468, -0.013617458753287792, 0.01659681275486946, -0.021976085379719734, -0.00755834998562932, -0.0427311435341835, -0.00020471720199566334, 0.00258009135723114, 0.03263014927506447, -0.010756575502455235, 0.043510936200618744, -0.001242148457095027, -0.03643874078989029, 0.03309173136949539, 0.026436282321810722, 0.004221596289426088, -0.0010703204898163676, 0.015469830483198166, 0.014851835556328297, 0.04048532992601395, 0.02443045563995838, -0.03162488341331482, 0.016973227262496948, 0.013516021892428398, -0.005893202498555183, -0.09322714805603027, -0.019761040806770325, -0.021843643859028816, 0.033399831503629684, -0.004847153555601835, -0.0034092769492417574, 0.05538959801197052, 0.01218477264046669, -0.027262605726718903, -0.045043256133794785, -0.03478140011429787, 0.02312772534787655, 0.008276687934994698, 0.01978844590485096, -0.037789832800626755, 0.03258754312992096, -0.02207198180258274, 0.006551421247422695, 0.01661100424826145, 0.04086873680353165, -0.0415920615196228, 0.03487124294042587, 0.00017014778859447688, 0.059162769466638565, 0.011838512495160103, 0.04861076548695564, -0.022481732070446014, 0.029689274728298187, -0.01851857639849186, 0.0037305064033716917, -0.057404741644859314, -0.00370572367683053, -0.02898893505334854, 0.008047291077673435, -0.03480872884392738, -0.004696703981608152, 0.033797670155763626, 0.005869436543434858, 0.003447971073910594, 0.001556303701363504, 0.020760755985975266, 0.010765479877591133, -0.009488933719694614, 0.0012555093271657825, -0.028062980622053146, 0.004234883468598127, -0.0031955374870449305, 0.04171539098024368, 0.008164769038558006, -0.026856524869799614, 0.010193489491939545, 0.013802212662994862, 0.021632621064782143, 0.029627889394760132, -0.02756396308541298, 0.0221681147813797, -0.001759893144480884, 0.06276605278253555, -0.021814104169607162, -0.019480619579553604, -0.035113949328660965, 0.030835915356874466, 0.026250839233398438, -0.0017070904141291976, -0.00482965400442481, 0.008472521789371967, -0.0021970667876303196, 0.010262243449687958, 0.009266580455005169, 0.0749548152089119, 0.02668401598930359, 0.007731271907687187, 0.004460848867893219, -0.0004627110902220011, -0.03574683144688606, -0.028942279517650604, -0.0013419416500255466, -0.022511310875415802, 0.04755854234099388, 0.05877773463726044, 0.007766640279442072, -0.017884667962789536, -0.00427966145798564, -0.0030703016091138124, -0.011938711628317833, -0.006114636082202196, 0.022338654845952988, -0.007553496398031712, 0.009080733172595501, 0.0470212884247303, -0.030989177525043488, -0.04947829246520996, 0.034451473504304886, -0.03294013813138008, 0.05623750388622284, 0.0026934328489005566, 0.015285112895071507, 0.0021979226730763912, 0.010236043483018875, 0.017939645797014236, 0.030152330175042152, -0.0683947503566742, -0.04329737648367882, -0.010033311322331429, 0.014067674055695534, 0.03775474801659584, 0.0024556261487305164, -0.028946882113814354, 0.034248460084199905, -0.05650308355689049, 0.011739997193217278, -0.01698937825858593, 0.023278143256902695, -0.019627543166279793, 0.009658118709921837, 0.030201178044080734, -0.011495009064674377, -0.03192303329706192, -0.002696261741220951, 0.0438004694879055, -0.06542941182851791, -0.010842423886060715, -0.010529560968279839, 0.021602872759103775, 0.04259027540683746, 0.011268775910139084, -0.013524777255952358, -0.01977384462952614, -0.015252161771059036, -0.02241240255534649, -0.012801602482795715, 0.017028052359819412, -0.028041815385222435, -0.00030310844886116683, 0.010999005287885666, -0.0007812149706296623, -0.011983995325863361, 0.014252482913434505, -0.006780287716537714, -0.0016613481566309929, 0.023356202989816666, -0.001051339553669095, 0.017989186570048332, -0.06242206692695618, 0.016674980521202087, 0.035807039588689804, -0.07281036674976349, -0.033412374556064606, -0.08058570325374603, -0.026951024308800697, -0.0010376607533544302, -0.008581895381212234, -0.036114562302827835, -0.014220069162547588, 0.005950473248958588, -0.037983424961566925, -0.006961836013942957, 0.008633939549326897, -0.008457320742309093, 0.011011499911546707, -0.028093889355659485, -0.013005977496504784, -0.032469864934682846, 0.005016915965825319, 0.005035738460719585, -0.001981802051886916, -0.02823452092707157, 0.006371285300701857, -0.032719288021326065, 0.007163213100284338, 0.027047602459788322, 0.003498374717310071, 0.016638001427054405, -0.057221997529268265, -0.005677687004208565, 0.004268455784767866, 0.015573105774819851, 0.036984141916036606, -0.07070570439100266, 0.02725772000849247, -0.020472507923841476, 0.04802558571100235, -0.05201321467757225, 0.015532117336988449, -0.0012056928826496005, 0.035893764346838, 0.06427121162414551, 0.017578236758708954, 0.00808801781386137, 0.0038910112343728542, 0.043572697788476944, 0.024799123406410217, 0.0625714436173439, -0.026189908385276794, -0.003564571961760521, -0.0016097717452794313, -0.006723569240421057, -0.02196887880563736, -0.03641792759299278, -0.007335461210459471, -0.004559298511594534, 0.014514977112412453, 0.004254252649843693, 0.006483512930572033, 0.07129233330488205, -0.021863210946321487, -0.05131318047642708, -0.012965351343154907, 0.022096732631325722, -0.002383431186899543, 0.0020029274746775627, 0.02011868916451931, 0.012811180204153061, -0.0271608829498291, -0.004143040161579847, -0.030389148741960526, 0.0002794379252009094, 0.023725710809230804, 0.002564055612310767, 0.023110779002308846, -0.02052099071443081, 0.015651896595954895, -0.01932837814092636, 0.033652160316705704, -0.023163363337516785, -0.05490553751587868, 0.015731770545244217, 0.04327036812901497, 0.002876425627619028, -0.00007850064139347523, 0.03195507451891899, 0.0065232617780566216, 0.016104910522699356, 0.012574432417750359, 0.00968713779002428, -0.030415335670113564, -0.05245930701494217, 0.08964046835899353, 0.011649280786514282, -0.022242000326514244, -0.039607685059309006, -0.037684399634599686, -0.03814544901251793, -0.0331304632127285, -0.03572031483054161, 0.02362130396068096, 0.012132777832448483, -0.007209602277725935, 0.017980122938752174, 0.022820571437478065, -0.017071837559342384, 0.03285990655422211, 0.026834266260266304, -0.042430777102708817, 0.02491685561835766, 0.04085611179471016, 0.018745001405477524, 0.018732121214270592, 0.04490543156862259, -0.007926869206130505, 0.019347526133060455, -0.058519765734672546, 0.006564232986420393, 0.03527871146798134, -0.023237762972712517, 0.017069436609745026, 0.003402330679818988, -0.04518284276127815, 0.01513238437473774, 0.011238754726946354, 0.016399478539824486, 0.02614239789545536, 0.039418987929821014, 0.020894881337881088, -0.014136124402284622, 0.003818331053480506, 0.0038830803241580725, 0.03064815327525139, -0.048652343451976776, 0.0643015056848526, 0.04718447104096413, 0.05120624974370003, -0.005032822489738464, 0.021840352565050125, 0.020649634301662445, 0.0071266102604568005, 0.06304855644702911, 0.02742137759923935, 0.014625780284404755, 0.012550069019198418, -0.005085611250251532, -0.04866601526737213, 0.023942213505506516, -0.032096683979034424, -0.02628204971551895, 0.042346276342868805, 0.009066041558980942, -0.03095097839832306, 0.0064270272850990295, -0.028453053906559944, -0.0009520797175355256, 0.05794708430767059, 0.03677087649703026, 0.024881521239876747, 0.02938069775700569, 0.06150247901678085, 0.03020879253745079, 0.009341311641037464, -0.006873270496726036, 0.02635401487350464, 0.03627887740731239, 0.020244546234607697, 0.036461882293224335, 0.022493815049529076, 0.04146810621023178, 0.009415081702172756, -0.002543597249314189, -0.02113802172243595, 0.0343482606112957, -0.02319624274969101, -0.07088807970285416, 0.055003758519887924, -0.0075024450197815895, 0.016697296872735023, -0.009567595086991787, 0.0036824604030698538, -0.01929750293493271, 0.02044636197388172, 0.04345637559890747, -0.0018542923498898745, -0.025890201330184937, -0.0037126473616808653, 0.008384612388908863, 0.024573808535933495, -0.016406627371907234, 0.004486102610826492, -0.015312177129089832, 0.007151867263019085, -0.031048288568854332, -0.026872217655181885, -0.027504347264766693, 0.03443052992224693, -0.013506563380360603, -0.02569568157196045, -0.0202803835272789, -0.009474948048591614, 0.03534658998250961, 0.027860049158334732, 0.003820659825578332, 0.03239769861102104, 0.030372822657227516, -0.00785201508551836, -0.05228707566857338, 0.019695863127708435, -0.04689100757241249, -0.013816921040415764, 0.027490822598338127, -0.005158949643373489, 0.017752155661582947, -0.02651859074831009, -0.006912773475050926, -0.0038838048931211233, 0.04354555532336235, -0.021403323858976364, 0.0034861499443650246, -0.009305527433753014, 0.02829902432858944, 0.006959093268960714, -0.029132552444934845, -0.004881379660218954, 0.0002205931959906593, 0.007535471580922604, 0.00264785741455853, -0.014265324920415878, 0.012249619700014591, 0.004676410928368568, 0.03360921889543533, -0.04057029262185097, -0.06052154302597046, 0.006611508317291737, -0.006630411371588707, -0.025039220228791237, 0.03703344985842705, -0.015318884514272213, -0.016345519572496414, -0.006341448053717613, -0.06821510940790176, -0.01415881048887968, -0.0072868866845965385, 0.008642986416816711, -0.017104823142290115, -0.04853271692991257, -0.027108339592814445, 0.008802470751106739, -0.020361853763461113, -0.0022254844661802053, -0.07074989378452301, -0.03417129069566727, -0.027235159650444984, 0.018749209120869637, -0.0417683869600296, -0.024932749569416046, 0.042164504528045654, -0.01969733275473118, 0.0005802300292998552, -0.016935724765062332, 0.01764722727239132, -0.04135242849588394, 0.021358618512749672, -0.01411015260964632, 0.03687739744782448, -0.0074503482319414616, -0.004600743297487497, 0.04016415402293205, 0.04276638105511665, -0.05514097958803177, -0.04623887687921524, 0.021380089223384857, 0.03557318076491356, -0.022640567272901535, -0.018841320648789406, 0.007729589473456144, -0.016925085335969925, 0.011437046341598034, 0.03228352963924408, -0.04211682081222534, -0.02314762957394123, -0.04661426693201065, 0.0023011385928839445, -0.04047665745019913, -0.002844252623617649, -0.028969656676054, -0.054799191653728485, 0.0665244534611702, -0.03410527482628822, -0.019482886418700218, 0.018518000841140747, -0.006448605563491583, -0.0077818711288273335, -0.022117504850029945, -0.0183230210095644, -0.019809748977422714, -0.003995256964117289, 0.009960546158254147, 0.015255712904036045, -0.024166416376829147, 0.04081248492002487, 0.008642050437629223, 0.004893427714705467, 0.024593718349933624, -0.007485602516680956, 0.013874570839107037, 0.011383392848074436, -0.02496698684990406, -0.030718781054019928, 0.0909094586968422, 0.06466952711343765, 0.03261861577630043, 0.005260507110506296, 0.008167879655957222 ]
Announcing the 🤗 AI Research Residency Program
douwekiela
March 22, 2022
ai-residency
community, research
https://huggingface.co/blog/ai-residency
How to Apply Since the focus of your work will be on developing Machine Learning techniques, your application should show evidence of programming skills and of prerequisite courses, like calculus or linear algebra, or links to an open-source project that demonstrates programming and mathematical ability. More importantly, your application needs to present interest in effecting positive change through AI in any number of creative ways. This can stem from a topic that is of particular interest to you and your proposal would capture concrete ways in which machine learning can contribute. Thinking through the entire pipeline, from understanding where ML tools are needed to gathering data and deploying the resulting approach, can help make your project more impactful. We are actively working to build a culture that values diversity, equity, and inclusivity. We are intentionally building a workplace where people feel respected and supported—regardless of who you are or where you come from. We believe this is foundational to building a great company and community. Hugging Face is an equal opportunity employer and we do not discriminate on the basis of race, religion, color, national origin, gender, sexual orientation, age, marital status, veteran status, or disability status. Submit your application here.
[ 0.05893107131123543, -0.010571800172328949, 0.05940467491745949, -0.029193639755249023, 0.08180801570415497, 0.051290396600961685, 0.03580264374613762, 0.041426338255405426, -0.0007443955983035266, -0.04397968947887421, -0.08864390850067139, 0.0822979062795639, -0.008188102394342422, 0.0008560094865970314, 0.010868106968700886, -0.07204059511423111, 0.10825330764055252, 0.002861624350771308, -0.014450041577219963, 0.0118812695145607, -0.049009695649147034, 0.020647013559937477, 0.03400634601712227, 0.0073883724398911, -0.036050207912921906, -0.05468083545565605, 0.03272715210914612, -0.0034762697760015726, 0.003026314079761505, 0.08862274140119553, -0.07063990831375122, -0.03013528324663639, -0.01339888945221901, -0.03532522916793823, 0.00659421319141984, 0.02615274302661419, -0.08908748626708984, 0.07221448421478271, 0.08429539203643799, 0.011916177347302437, 0.018430154770612717, -0.020204460248351097, -0.1059238463640213, 0.014519690535962582, -0.0270291268825531, -0.07051391899585724, -0.1509294956922531, 0.022183656692504883, -0.03852646425366402, 0.009516187943518162, -0.008007233031094074, 0.0343717485666275, -0.005407859571278095, 0.006454463582485914, 0.039948802441358566, 0.017025941982865334, -0.011205141432583332, -0.038894664496183395, -0.016017388552427292, -0.00867481343448162, 0.013201787136495113, -0.07600422948598862, 0.045248523354530334, -0.029632065445184708, 0.05139043927192688, 0.030527276918292046, -0.042708661407232285, -0.06920616328716278, -0.08557571470737457, -0.021266257390379906, 0.029500773176550865, -0.03299186751246452, -0.024977732449769974, -0.03454070910811424, -0.010966550558805466, -0.050542138516902924, 0.013467810116708279, 0.056810155510902405, 0.006262392736971378, 0.05289522558450699, 0.008068529888987541, -0.018094215542078018, 0.02564578875899315, 0.019665857776999474, 0.06256629526615143, 0.03574475646018982, 0.0199093297123909, -0.02563522383570671, 0.008558380417525768, 0.08662597835063934, -0.028188180178403854, -0.05949542671442032, 0.03765660151839256, 0.04030068591237068, 0.05597972497344017, -0.07770801335573196, 0.007579081691801548, -0.039066132158041, -0.012684186920523643, -0.031359098851680756, 0.008464688435196877, 0.014052465558052063, 0.006005877163261175, -0.05965070053935051, -0.09672346711158752, 0.07825540751218796, 0.010766580700874329, -0.04213060811161995, -0.04753910005092621, -0.032086119055747986, 0.010175833478569984, -0.04108211025595665, 0.013472437858581543, 0.048956602811813354, -0.059390731155872345, 0.08166173100471497, 0.020156914368271828, -0.034501124173402786, -0.007566855754703283, 0.03954935073852539, 0.058839667588472366, 0.06380268931388855, -0.028241420164704323, -0.016514597460627556, -0.01287772785872221, 0.07127917557954788, -0.026781801134347916, -0.014715521596372128, 0.027875738218426704, -0.07986388355493546, 0.018130309879779816, -0.014960615895688534, -0.01433492824435234, -0.008273513987660408, 0.027459945529699326, -0.04127947986125946, -0.018893692642450333, -0.05731094256043434, 0.07283952832221985, -0.012088892981410027, 0.03593205660581589, 0.0642210841178894, 0.03415664657950401, -0.004130654968321323, 0.055827852338552475, -0.004230329766869545, -0.032620783895254135, 0.0419611856341362, -0.038427576422691345, 0.02463497407734394, -0.08536608517169952, 0.07318832725286484, -0.06201951578259468, -0.02290446124970913, -0.014446627348661423, 0.06915216147899628, -0.049553390592336655, 0.007791986223310232, -0.04420357197523117, -0.00534903584048152, -0.013187752105295658, -0.043662022799253464, -0.09242357313632965, 0.046207498759031296, 0.07789280265569687, 0.041438546031713486, 0.048002149909734726, -0.04362376034259796, -0.06564075499773026, 0.02630019374191761, -0.02627473510801792, -0.0342852957546711, 0.026767775416374207, -0.0834290161728859, 0.00833912380039692, 0.015533325262367725, -0.013615687377750874, 0.04916136711835861, -0.039054349064826965, 0.001217908225953579, -0.0329807847738266, 0.08274318277835846, 0.009126337245106697, 0.05261211469769478, 0.032043203711509705, -0.09495636820793152, -0.042473454028367996, -0.004188342019915581, 0.014777722768485546, -0.012610521167516708, -0.06073638051748276, 0.017720649018883705, 0.032104335725307465, 0.030786266550421715, 0.010478617623448372, -0.014447236433625221, -0.09550520032644272, 0.1496058702468872, -0.014236614108085632, 0.05980382859706879, 0.01096549816429615, -0.08339662849903107, 0.07916101068258286, -0.05327688530087471, -0.010154682211577892, -0.011989436112344265, 0.05421099811792374, -0.03020378015935421, -0.008002114482223988, 0.02453756146132946, 0.02156241610646248, -0.09033877402544022, 0.059448014944791794, -0.023429088294506073, 0.004244804382324219, 0.01847892440855503, -0.007681692019104958, -0.0093457056209445, -0.011620454490184784, 0.00936603732407093, 0.15432725846767426, -0.0566541813313961, 0.01510434690862894, -0.02545011416077614, 0.05577859655022621, 0.0006595590966753662, 0.08198899775743484, 0.11343718320131302, 0.11924979835748672, -0.06066269055008888, -0.024047262966632843, -0.02928667515516281, 0.00562373548746109, -0.004828497301787138, -0.04157236963510513, -0.03626025468111038, 0.06346099078655243, 0.018948538228869438, -0.007974915206432343, 0.03892374038696289, -0.034150585532188416, -0.002006197115406394, 0.010348662734031677, -0.015142069198191166, 0.0028841099701821804, -0.0485396645963192, 0.08411894738674164, 0.007974340580403805, 0.057418931275606155, 0.037964142858982086, -0.048030924052000046, 0.0727267637848854, -0.004361043218523264, -0.004468660801649094, -0.02327350154519081, 0.032687582075595856, 0.004022397566586733, 0.022556191310286522, -0.027399925515055656, 0.0010587433353066444, 0.01962243765592575, -0.019901150837540627, -0.012041307054460049, -0.048193152993917465, -0.01497627142816782, -0.01635637879371643, -0.022644469514489174, 0.021520104259252548, -0.02823464944958687, 0.05847180262207985, 0.02738821506500244, -0.027476154267787933, 0.02017701230943203, -0.00809482578188181, -0.01106832455843687, 0.02207852341234684, 0.02333712950348854, 0.02035694196820259, -0.015238447114825249, -0.02539401315152645, -0.004479086492210627, -0.04948027431964874, 0.02183225192129612, 0.06313828378915787, 0.001863419427536428, 0.0277603380382061, -0.00444015534594655, -0.022485705092549324, -0.031769853085279465, 0.01904948614537716, 0.005711567588150501, 0.05969657003879547, -0.020718101412057877, -0.025286421179771423, -0.006351421121507883, -0.0050361561588943005, -0.013951623812317848, 0.026124129071831703, -0.004446344915777445, 0.013788980431854725, 0.016731182113289833, -0.00724332919344306, 0.046362537890672684, -0.026498692110180855, -0.019785085693001747, 0.015484918840229511, 0.013893396593630314, 0.024326510727405548, -0.09584317356348038, -0.02874867431819439, -0.019896095618605614, 0.014627506025135517, 0.011268206872045994, -0.02010096050798893, 0.026697231456637383, 0.015614263713359833, -0.04201435297727585, -0.010599481873214245, -0.03093528561294079, 0.033850833773612976, -0.009434732608497143, 0.00004232683568261564, -0.0005569414934143424, 0.019246753305196762, 0.0005854191840626299, -0.02058490365743637, 0.02672167867422104, 0.01226835884153843, -0.07525108754634857, 0.03157884255051613, 0.007916586473584175, 0.018565915524959564, 0.029172049835324287, 0.017042802646756172, 0.025422554463148117, 0.025880446657538414, 0.029457692056894302, -0.057272277772426605, -0.020340731367468834, 0.03714574873447418, -0.004905582871288061, -0.02855086699128151, -0.05168720334768295, 0.013732906430959702, 0.021148454397916794, -0.026385590434074402, 0.03675166890025139, 0.053306348621845245, -0.0064354934729635715, -0.01060184184461832, -0.022448189556598663, 0.009901119396090508, 0.03597591444849968, 0.00516510009765625, -0.013869963586330414, 0.019610783085227013, 0.021188413724303246, -0.02787068486213684, -0.00008975163655122742, 0.05813261866569519, 0.02036602422595024, 0.041784707456827164, -0.012572103179991245, 0.01775418594479561, 0.014029673300683498, 0.030279135331511497, -0.00958817359060049, 0.0015761279501020908, -0.04368359595537186, 0.016770679503679276, -0.009556885808706284, -0.02800392545759678, -0.039886634796857834, -0.015501799061894417, 0.00222467421554029, -0.012446233071386814, -0.013991313986480236, 0.0570022352039814, 0.042596641927957535, 0.0014503032434731722, 0.0044143726117908955, 0.004125640261918306, 0.002754485933110118, -0.02339722402393818, -0.025278588756918907, -0.0218071099370718, 0.025057481601834297, 0.026585111394524574, -0.00008869854354998097, -0.00954100489616394, 0.007623099256306887, -0.002109808148816228, 0.013995951041579247, -0.012406336143612862, 0.01873234286904335, -0.011331801302731037, -0.001475722761824727, 0.03205200284719467, 0.0011915653012692928, -0.06837202608585358, 0.010466055944561958, -0.004588210489600897, 0.01867508515715599, 0.004705756437033415, 0.02838197350502014, -0.032782476395368576, -0.046354714781045914, -0.012316383421421051, 0.020488131791353226, -0.06323535740375519, -0.007073167245835066, -0.012138246558606625, 0.032861046493053436, 0.003987036645412445, 0.010092201642692089, -0.05112424120306969, 0.0503990463912487, 0.006328371819108725, -0.004033391363918781, -0.025211568921804428, -0.002879639621824026, -0.004233371000736952, 0.042065493762493134, 0.01600802130997181, -0.012126072309911251, -0.026995643973350525, -0.02176765911281109, 0.001901039620861411, -0.018452847376465797, -0.02843848057091236, -0.01132899895310402, -0.026092493906617165, 0.03965853527188301, -0.01173389796167612, 0.015486795455217361, 0.013600178062915802, 0.005112808663398027, -0.014138828031718731, -0.060877006500959396, 0.0009841005085036159, 0.02318921871483326, -0.006078342441469431, -0.00960388034582138, -0.002279670676216483, -0.018551740795373917, 0.030584534630179405, -0.037289105355739594, 0.00038832920836284757, 0.005853848531842232, -0.0182795412838459, 0.034845780581235886, -0.03308738395571709, 0.006444278638809919, 0.0056313760578632355, -0.04472767561674118, -0.03041013516485691, 0.00020639252034015954, -0.0050401100888848305, -0.0011802096851170063, -0.01955266483128071, -0.017976239323616028, 0.006514953449368477, 0.039375871419906616, -0.03755730763077736, 0.002579644089564681, 0.03261575475335121, 0.006394433788955212, 0.018638353794813156, -0.027452202513813972, -0.029219919815659523, -0.010369987227022648, -0.0038864610251039267, 0.014504107646644115, 0.004805122967809439, -0.008148595690727234, -0.011828982271254063, -0.02678457833826542, -0.0012454428942874074, -0.027044739574193954, 0.027986282482743263, 0.002511377679184079, -0.0696464478969574, -0.008195837959647179, 0.06082679331302643, 0.06609722226858139, 0.009160053916275501, -0.0341818705201149, 0.034564513713121414, 0.010513309389352798, 0.011478320695459843, 0.011562048457562923, -0.004173797555267811, 0.037206750363111496, 0.06935542076826096, 0.05139070749282837, 0.06464628875255585, 0.0035371717531234026, 0.008076312020421028, 0.004962385166436434, -0.018792036920785904, 0.04574853181838989, -0.029427271336317062, -0.005151304882019758, -0.0172182098031044, 0.011275849305093288, -0.01928100176155567, -0.021295534446835518, 0.017087530344724655, 0.01104915514588356, 0.049490224570035934, -0.031224163249135017, 0.0020053330808877945, 0.04048653692007065, 0.0016123525565490127, -0.0343148410320282, 0.0009652330190874636, 0.031124986708164215, 0.0004456068854779005, -0.006472975015640259, 0.01286127045750618, 0.06545242667198181, -0.06722171604633331, -0.018448831513524055, -0.021326208487153053, -0.0409274585545063, 0.025654984638094902, -0.013766873627901077, 0.03574239835143089, -0.027458949014544487, 0.002928742440417409, -0.03734886273741722, -0.0075339628383517265, 0.030469734221696854, -0.044348396360874176, 0.0021633878350257874, 0.021344486624002457, 0.0007258267723955214, 0.012974182143807411, 0.033867377787828445, -0.003905905643478036, 0.02069944329559803, 0.022579321637749672, 0.04037303477525711, -0.0432794913649559, -0.005222579464316368, 0.010778456926345825, 0.0027610601391643286, -0.02437533624470234, -0.027196679264307022, -0.02947450987994671, -0.07011763751506805, -0.02581840194761753, -0.015489457175135612, 0.033223409205675125, 0.04803289473056793, 0.01215322781354189, -0.034902166575193405, 0.009374722838401794, 0.023918503895401955, 0.01920846477150917, 0.004710291046649218, -0.0023043302353471518, 0.026076357811689377, 0.016775663942098618, 0.005904061254113913, 0.00476008141413331, 0.05047605559229851, -0.0010236003436148167, 0.030698148533701897, -0.08537288755178452, -0.007736216299235821, -0.0011906469007954001, -0.026835229247808456, 0.03056010603904724, -0.02550003118813038, -0.031160617247223854, 0.02300828881561756, 0.01233806274831295, 0.03557983413338661, 0.013823985122144222, 0.015155320055782795, 0.0030458765104413033, -0.04439997673034668, -0.012514072470366955, -0.004514321684837341, 0.028300641104578972, -0.021916158497333527, -0.009694577194750309, -0.017240561544895172, 0.060472842305898666, 0.0476628914475441, 0.022701717913150787, 0.05504554137587547, -0.012328517623245716, 0.13468649983406067, 0.03037814237177372, 0.06728802621364594, 0.025708360597491264, -0.046587053686380386, -0.04544847086071968, 0.011194820515811443, -0.02603418380022049, -0.01146680861711502, -0.0004571282770484686, 0.026039650663733482, -0.02625841647386551, -0.012363474816083908, -0.04061446338891983, 0.03125540539622307, 0.014303757809102535, 0.053571078926324844, 0.021515820175409317, 0.04633186012506485, 0.03308109566569328, 0.017198538407683372, 0.01957118883728981, 0.023291656747460365, -0.004610005766153336, -0.020457522943615913, 0.027545982971787453, 0.04843926057219505, 0.03266686946153641, 0.006394087336957455, 0.00016370645607821643, 0.015678664669394493, -0.03247131034731865, 0.001259175012819469, 0.004922379273921251, -0.03709347918629646, -0.004043043591082096, -0.00845047552138567, 0.008750409819185734, 0.002292618155479431, 0.0265522263944149, -0.018363334238529205, 0.03075776807963848, 0.014049320481717587, 0.003393856342881918, -0.026021815836429596, 0.030661003664135933, 0.002418066607788205, 0.011646367609500885, 0.02532990276813507, 0.014483531005680561, -0.005197223275899887, -0.014378388412296772, -0.07453541457653046, -0.06940189003944397, -0.03748930245637894, -0.008232827298343182, -0.006278812885284424, -0.011546158231794834, -0.01538781076669693, -0.0332186333835125, 0.020414048805832863, 0.048850927501916885, 0.009344777092337608, 0.0519137941300869, 0.009319818578660488, 0.012049967423081398, -0.023206748068332672, 0.03816378489136696, -0.01801910623908043, -0.028605371713638306, -0.021249061450362206, -0.022049902006983757, -0.010641152039170265, -0.011718351393938065, 0.004014096222817898, -0.02895386703312397, 0.05595026910305023, -0.03281140699982643, -0.012771467678248882, -0.01119061280041933, 0.01986505463719368, 0.0047132885083556175, 0.017193078994750977, 0.0072745089419186115, -0.03973160311579704, 0.021478185430169106, -0.00814594142138958, -0.025494631379842758, 0.029046224430203438, 0.016930947080254555, 0.007594279479235411, -0.015984680503606796, -0.05461554974317551, 0.019637806341052055, -0.004848493728786707, 0.044412609189748764, 0.021900763735175133, 0.03436780348420143, 0.006755144335329533, -0.00040759649709798396, -0.040615957230329514, 0.030626380816102028, -0.01310676522552967, -0.0278997253626585, -0.014598812907934189, -0.02013525366783142, -0.002937438664957881, -0.005753453820943832, 0.0382721908390522, -0.029756693169474602, -0.059585850685834885, -0.0306866317987442, -0.0259647686034441, 0.009444987401366234, -0.011102448217570782, -0.0018626212840899825, 0.05132535099983215, -0.013710688799619675, 0.015014161355793476, -0.023478927090764046, -0.01735106110572815, 0.04114831984043121, 0.03134572133421898, 0.016473829746246338, 0.046946000307798386, 0.010301858186721802, -0.027141941711306572, -0.01016603410243988, 0.019004743546247482, 0.03832000494003296, -0.04220862686634064, 0.0024728174321353436, 0.002160620177164674, 0.019048213958740234, 0.0077323694713413715, -0.004632596392184496, 0.024232622236013412, -0.009263604879379272, 0.03056211955845356, -0.04556093364953995, -0.038618460297584534, -0.025722842663526535, 0.029064716771245003, -0.028591446578502655, 0.016325803473591805, -0.009752835147082806, 0.018642129376530647, 0.050657760351896286, -0.01672976464033127, -0.0200507789850235, -0.001027999329380691, 0.01355202216655016, 0.01658092811703682, -0.022332146763801575, -0.03358057513833046, -0.004404330626130104, 0.00242305058054626, 0.023887716233730316, -0.003647515084594488, -0.03615806996822357, 0.018013490363955498, -0.015416446141898632, -0.01087015587836504, -0.01588352397084236, -0.014409618452191353, -0.037378326058387756, -0.001369806588627398, -0.019497595727443695, -0.02679535187780857, 0.05373460799455643, 0.05880628898739815, -0.007530413568019867, -0.03197632357478142, -0.01867338828742504 ]
Announcing the 🤗 AI Research Residency Program
douwekiela
March 22, 2022
ai-residency
community, research
https://huggingface.co/blog/ai-residency
FAQs * Can I complete the program part-time?No. The Residency is only offered as a full-time position. * I have been out of school for several years. Can I apply?Yes. We will consider applications from various backgrounds. * Can I be enrolled as a student at a university or work for another employer during the residency?No, the residency can’t be completed simultaneously with any other obligations. * Will I receive benefits during the Residency?Yes, residents are eligible for most benefits, including medical (depending on location). * Will I be required to relocate for this residency?Absolutely not! We are a distributed team and you are welcome to work from wherever you are currently located. * Is there a deadline?Applications close on April 3rd, 2022!
[ 0.06117376685142517, 0.04789181426167488, 0.11502829194068909, 0.0008173125679604709, 0.10058491677045822, 0.04032913222908974, -0.019659943878650665, 0.08872868120670319, 0.04855085909366608, -0.1224876195192337, -0.031110312789678574, 0.05514151230454445, 0.049824610352516174, -0.01238581258803606, -0.025685053318738937, 0.010216759517788887, 0.11308886855840683, -0.03846734017133713, 0.016199493780732155, -0.05223938822746277, -0.002271398901939392, 0.01020617876201868, 0.01742204651236534, 0.04153281822800636, -0.039641544222831726, -0.01077370997518301, -0.004613454919308424, -0.008670561946928501, -0.044737040996551514, 0.023912977427244186, -0.049883708357810974, -0.009826100431382656, 0.0568331740796566, -0.030556296929717064, 0.015688886865973473, 0.02517681196331978, -0.03917738050222397, 0.018449818715453148, 0.07012053579092026, -0.08968029171228409, -0.017419226467609406, -0.04881913959980011, -0.020237566903233528, 0.07201303541660309, -0.07297414541244507, -0.029670115560293198, -0.17562413215637207, 0.014420431107282639, -0.033195849508047104, -0.05000625178217888, -0.02023688517510891, -0.031433477997779846, 0.04624627158045769, -0.01908278465270996, 0.011622835882008076, -0.003876207396388054, 0.03487355634570122, 0.005290566012263298, -0.03690022602677345, -0.02970101498067379, -0.005873485002666712, -0.004842453170567751, -0.012616775929927826, 0.016895443201065063, 0.030893437564373016, 0.016180971637368202, 0.044952478259801865, -0.014875940978527069, -0.04395390674471855, 0.007177628111094236, -0.004438069649040699, -0.04074634984135628, -0.004074269440025091, 0.021691618487238884, 0.006245781201869249, -0.08754812926054001, -0.04489094763994217, 0.03945668414235115, 0.039160966873168945, 0.0758364126086235, 0.05003342032432556, -0.034318409860134125, 0.021287450566887856, 0.011257030069828033, 0.009491722099483013, -0.08646012842655182, -0.05711228772997856, -0.03147686645388603, 0.032829392701387405, -0.002706678118556738, -0.024149024859070778, -0.016930056735873222, 0.05390205606818199, 0.026632288470864296, 0.05750711262226105, -0.09303450584411621, 0.002177819376811385, -0.013250606134533882, -0.05835818126797676, -0.003063090378418565, -0.025256091728806496, 0.040840961039066315, 0.0013564099790528417, 0.03188995644450188, -0.061660949140787125, 0.038465749472379684, -0.004614843986928463, -0.0701821967959404, -0.0372375026345253, 0.002761495765298605, -0.012699153274297714, 0.03495026379823685, 0.023977836593985558, -0.056181129068136215, -0.04041626304388046, 0.042686350643634796, 0.09050627052783966, -0.037037450820207596, -0.04288589954376221, -0.010684233158826828, 0.06890134513378143, 0.01205008290708065, 0.0020694793201982975, 0.07803689688444138, -0.015726614743471146, 0.036592502146959305, 0.0001559857773827389, -0.05536547675728798, -0.08010897785425186, -0.10487370193004608, 0.024404633790254593, -0.015587164089083672, 0.004206840880215168, 0.07134925574064255, -0.02523748204112053, -0.017186641693115234, -0.03492394834756851, -0.000768267665989697, 0.04051382467150688, -0.05418184772133827, -0.05653281509876251, 0.05108758434653282, 0.02585676684975624, 0.05480947718024254, 0.03296640142798424, -0.08838007599115372, -0.03916957601904869, 0.004933031275868416, 0.003831377951428294, 0.029747895896434784, -0.04124004393815994, 0.09727293252944946, -0.00668294494971633, -0.07231055200099945, 0.015255549922585487, -0.0011127274483442307, -0.003396544838324189, 0.018103862181305885, -0.009823499247431755, -0.035549551248550415, 0.03998536989092827, 0.031128769740462303, 0.0508103221654892, 0.003714685793966055, 0.10760688036680222, -0.005802904721349478, 0.026372717693448067, -0.051768574863672256, -0.034594036638736725, -0.06953267753124237, -0.028034476563334465, -0.07999011874198914, 0.09090284258127213, -0.021208368241786957, -0.029387008398771286, 0.0381435826420784, 0.05240049958229065, 0.09373277425765991, 0.0028651657048612833, -0.009032774716615677, -0.013600893318653107, 0.04619373381137848, -0.03537583351135254, 0.0021534771658480167, 0.026508653536438942, -0.10499780625104904, -0.007681289222091436, -0.048180606216192245, 0.002495584776625037, 0.06286601722240448, -0.07500381022691727, -0.061027705669403076, 0.04122351109981537, -0.02094731107354164, 0.03630318492650986, -0.030917463824152946, -0.02266235090792179, 0.18508698046207428, -0.019019432365894318, 0.051377877593040466, 0.033765897154808044, 0.012643502093851566, 0.042118217796087265, -0.014928103424608707, -0.12366604059934616, 0.09297309815883636, 0.08596783131361008, -0.01190717052668333, 0.06307773292064667, 0.010387453250586987, 0.015159770846366882, -0.09769362211227417, -0.04086538776755333, -0.006030842661857605, 0.033006154000759125, -0.030766909942030907, 0.0330791212618351, -0.03581525757908821, 0.013331127353012562, -0.028267905116081238, 0.1071871742606163, -0.03732376918196678, 0.03324208781123161, 0.011118627153337002, -0.01848035678267479, 0.025146471336483955, 0.02750311605632305, -0.026023805141448975, 0.0642215833067894, 0.02927188202738762, -0.029748395085334778, -0.035218577831983566, 0.009267623536288738, -0.008691984228789806, 0.05296444892883301, 0.034248750656843185, -0.06818065792322159, -0.03174586221575737, 0.0002433542103972286, -0.0023821662180125713, -0.021752992644906044, -0.027023352682590485, 0.02122754417359829, -0.015469211153686047, -0.006856645457446575, -0.012019590474665165, 0.07222015410661697, 0.061951372772455215, -0.06742695719003677, -0.009480430744588375, -0.03848706930875778, -0.019399287179112434, -0.00992796290665865, -0.0027528905775398016, 0.1133800745010376, -0.017429176717996597, 0.014060797169804573, -0.003966198768466711, -0.005988902412354946, -0.04257350042462349, -0.027668384835124016, -0.020028013736009598, -0.0031225758139044046, -0.027067603543400764, -0.03478165715932846, 0.0037974535953253508, 0.028029417619109154, -0.019443344324827194, -0.007791096810251474, -0.005203776527196169, 0.03902750462293625, -0.03891303762793541, 0.008326485753059387, 0.011437716893851757, -0.05800647661089897, 0.02025478333234787, 0.04257100448012352, -0.024674581363797188, -0.028677187860012054, 0.018254881724715233, 0.0423889085650444, -0.01981183886528015, -0.006112035363912582, 0.055339451879262924, 0.01704392209649086, -0.011065857484936714, 0.003678543260321021, 0.03008204698562622, -0.04122908040881157, 0.003328627673909068, 0.027611853554844856, 0.008220227435231209, -0.00657874159514904, 0.013210839591920376, -0.004513891879469156, -0.06452609598636627, 0.028933752328157425, 0.008022126741707325, 0.010764913633465767, -0.004294835962355137, 0.028860481455922127, -0.02827082760632038, 0.01747625507414341, -0.0025547598488628864, -0.04197878763079643, 0.0009381942800246179, 0.0024017207324504852, 0.0018997258739545941, -0.12731441855430603, -0.028128867968916893, -0.004507151432335377, 0.042019955813884735, 0.03626406192779541, -0.05181805044412613, 0.034784525632858276, -0.00958773773163557, -0.02483670972287655, -0.03291776776313782, 0.004821151494979858, 0.016049744561314583, 0.042439334094524384, -0.0008741806959733367, -0.05611557140946388, 0.023773256689310074, 0.027939127758145332, -0.009303370490670204, 0.017532233148813248, -0.0003006109909620136, -0.008256681263446808, 0.060410089790821075, 0.007974731735885143, -0.013653689064085484, -0.029227079823613167, 0.03019442781805992, -0.018962150439620018, 0.043464940041303635, -0.021413059905171394, -0.022190088406205177, -0.04692986607551575, 0.02427704632282257, -0.008499788120388985, 0.023195531219244003, -0.027497204020619392, 0.011214218102395535, 0.00768091157078743, -0.006195911206305027, -0.025334035977721214, 0.017500214278697968, -0.0009008471970446408, -0.01766015961766243, -0.0023407088592648506, 0.023768175393342972, -0.04015342891216278, -0.012567403726279736, -0.003091252874583006, 0.007439814507961273, 0.08724740147590637, 0.022085104137659073, 0.016536714509129524, 0.015645263716578484, 0.015037315897643566, 0.05840972438454628, -0.061952266842126846, -0.007480275817215443, -0.021242091432213783, 0.05361834168434143, 0.024865537881851196, -0.0306874867528677, -0.008897308260202408, 0.03478848561644554, 0.048485737293958664, -0.023005086928606033, -0.04451485350728035, -0.007282446604222059, -0.017917979508638382, -0.003656440181657672, -0.017955144867300987, 0.05005105212330818, 0.024782197549939156, -0.00995753612369299, 0.03481316193938255, 0.010797329246997833, -0.01508808508515358, 0.006703467108309269, -0.040831588208675385, 0.007762219291180372, 0.027217715978622437, 0.015198457054793835, 0.029668759554624557, -0.016295338049530983, 0.026643414050340652, 0.015532475896179676, -0.01985025964677334, 0.0030937516130506992, 0.03382023423910141, 0.04557744413614273, -0.0025963743682950735, 0.04652373492717743, -0.004281780682504177, -0.014277531765401363, 0.05286528170108795, 0.013398741371929646, 0.004337173420935869, -0.0008873289916664362, 0.03395073115825653, -0.0272689126431942, -0.006566356401890516, 0.023890281096100807, 0.031165633350610733, -0.027963709086179733, -0.03131989389657974, 0.01970423385500908, 0.014958220534026623, 0.03987402468919754, -0.02903216890990734, -0.02076464705169201, -0.010704618878662586, -0.014590851031243801, 0.029893679544329643, 0.022334681823849678, 0.03796347975730896, -0.03841013461351395, -0.02309938706457615, 0.019504351541399956, -0.020312940701842308, -0.05162337049841881, -0.017844852060079575, 0.054424699395895004, -0.033598363399505615, -0.004799891263246536, -0.0018599745817482471, -0.005262092687189579, 0.020382165908813477, 0.05465773865580559, 0.024553528055548668, -0.04176715761423111, -0.020386112853884697, 0.03296445682644844, -0.012935096397995949, 0.022686123847961426, -0.02127929963171482, 0.01855095848441124, -0.0031909290701150894, 0.0248175747692585, 0.021544281393289566, 0.017396168783307076, -0.03523116558790207, -0.05296092852950096, -0.02257343754172325, 0.00441252626478672, 0.009644663892686367, 0.01029464602470398, 0.005216160789132118, 0.011173096485435963, -0.06152119114995003, -0.007707818411290646, -0.053086601197719574, 0.010318396613001823, 0.024030160158872604, -0.015334882773458958, -0.014033851213753223, -0.011155510321259499, -0.011491676792502403, -0.006394241936504841, 0.005859149619936943, -0.022224185988307, 0.03469923883676529, 0.07370258867740631, -0.01791987009346485, 0.02262936532497406, -0.03388812765479088, -0.021599488332867622, 0.010920093394815922, -0.007013511378318071, -0.0065143113024532795, 0.024963468313217163, -0.02875252068042755, 0.0018270983127877116, 0.0412403866648674, 0.00489185331389308, -0.007289837580174208, -0.05373712629079819, 0.03642836585640907, -0.011402730830013752, 0.022720007225871086, 0.00878177210688591, -0.0009645686368457973, 0.035251639783382416, 0.004603780806064606, 0.021775422617793083, -0.008360057137906551, 0.006669291760772467, -0.009127763099968433, 0.011248139664530754, 0.048509806394577026, -0.01901775225996971, 0.04682473465800285, 0.04966359958052635, 0.032020870596170425, -0.016199098899960518, 0.0005884177517145872, -0.03574886918067932, -0.0004978131619282067, 0.023642536252737045, 0.003033726941794157, 0.006081605330109596, -0.006864816881716251, 0.02485647425055504, -0.007533262018114328, 0.052125245332717896, -0.0027685901150107384, 0.02724735252559185, 0.0321071557700634, 0.02679002657532692, -0.030772561207413673, -0.014106649905443192, -0.03724321350455284, -0.0037645800039172173, -0.004656631499528885, 0.03348448872566223, 0.002344895852729678, 0.02843616157770157, 0.005086100194603205, -0.0022752517834305763, -0.03594440966844559, 0.02962402068078518, 0.0019295960664749146, 0.0464058555662632, -0.012380068190395832, 0.031212663277983665, -0.01517004519701004, 0.073086678981781, -0.0043042306788265705, 0.0016062638023868203, 0.004762990400195122, 0.032780859619379044, 0.005193778313696384, 0.0035538587253540754, 0.022171853110194206, -0.0034455435816198587, -0.03871533274650574, 0.0029124643187969923, 0.022139953449368477, -0.006637122947722673, -0.0460272915661335, 0.007174613885581493, -0.0019766404293477535, -0.0033507677726447582, -0.04054369032382965, -0.027584701776504517, -0.0077006942592561245, -0.01822083257138729, -0.03646351024508476, 0.000032579944672761485, 0.09095573425292969, -0.02465236932039261, 0.003966588526964188, -0.014683706685900688, 0.00009598704491509125, 0.024885622784495354, 0.04269551858305931, -0.03890760615468025, 0.008315889164805412, 0.021816520020365715, 0.012700343504548073, 0.01465109083801508, 0.04064272344112396, -0.006576079409569502, 0.00893385149538517, -0.039523158222436905, -0.011938986368477345, 0.018079040572047234, 0.0022983963135629892, -0.0005488349706865847, 0.012358643114566803, -0.015094692818820477, 0.010752398520708084, 0.0013948376290500164, -0.014098597690463066, 0.05485276132822037, 0.031125813722610474, -0.0023118103854358196, 0.0070617529563605785, -0.01834038458764553, 0.029645010828971863, -0.008938324637711048, -0.03506814315915108, 0.03584957867860794, 0.015151869505643845, 0.055712807923555374, -0.03200315684080124, -0.014948260970413685, -0.005630017723888159, 0.01644291542470455, 0.03976735100150108, 0.02774221822619438, 0.00849270448088646, 0.04148421809077263, 0.022802067920565605, -0.016814423725008965, 0.004333017393946648, 0.022573605179786682, -0.07882069051265717, 0.022884344682097435, 0.00229118624702096, -0.020427824929356575, 0.05925306677818298, -0.02039485052227974, -0.027336277067661285, 0.04149937257170677, 0.00996337179094553, -0.011033719405531883, -0.014536329545080662, 0.04674062877893448, 0.020906012505292892, 0.01965215429663658, -0.0007517952471971512, -0.04639448970556259, 0.051838599145412445, 0.023439791053533554, 0.042888544499874115, 0.020369432866573334, 0.025283772498369217, -0.027037229388952255, 0.02458210103213787, -0.0024597139563411474, 0.009652882814407349, 0.0022362482268363237, 0.005038419272750616, 0.009127146564424038, -0.014692272990942001, 0.013911937363445759, -0.02076309733092785, 0.006699383724480867, 0.0011794313322752714, -0.02153138816356659, 0.003873308887705207, -0.00944423209875822, 0.0018743311520665884, 0.020987464115023613, 0.013850952498614788, -0.008461526595056057, -0.02938687987625599, 0.048288922756910324, 0.0014725092332810163, 0.002020986285060644, -0.025039276108145714, -0.012647274881601334, -0.006074634846299887, 0.03966505452990532, -0.018378179520368576, 0.033439747989177704, 0.006415190175175667, 0.0391545407474041, 0.018908226862549782, 0.0068000201135873795, 0.03824802488088608, 0.026320334523916245, 0.03032538667321205, -0.049376536160707474, -0.016976960003376007, 0.03909890726208687, -0.027495205402374268, -0.03513485565781593, -0.00859158392995596, 0.018920401111245155, -0.007492895238101482, -0.042296282947063446, 0.0041494108736515045, -0.023230362683534622, 0.003705250797793269, -0.012104093097150326, 0.009691528975963593, -0.049257732927799225, 0.01586737111210823, 0.008024306036531925, -0.023842703551054, 0.004597721621394157, -0.007552372757345438, -0.0022640724200755358, 0.010850897058844566, -0.022805817425251007, 0.030649889260530472, 0.015425636433064938, -0.015681419521570206, -0.03206435590982437, -0.017964307218790054, -0.006399509962648153, 0.041348207741975784, -0.034639328718185425, 0.030914530158042908, 0.005601228680461645, -0.008928721770644188, -0.012292490340769291, -0.08305199444293976, -0.038924846798181534, 0.016762778162956238, 0.01036350429058075, 0.007182221859693527, -0.047711748629808426, -0.013476475141942501, -0.05512762442231178, 0.006953158415853977, -0.02975522167980671, -0.03154805302619934, -0.05620172619819641, 0.002606608672067523, -0.0052075800485908985, -0.03634466603398323, -0.028672797605395317, 0.018469035625457764, -0.04782019183039665, -0.0032296054996550083, -0.004027551971375942, 0.03477878123521805, -0.025160785764455795, 0.019803864881396294, -0.007774366997182369, 0.010249135084450245, 0.0068579744547605515, -0.03041144460439682, 0.030571917071938515, 0.025948207825422287, -0.052082668989896774, -0.021694855764508247, 0.025264473631978035, 0.049763068556785583, -0.018329689279198647, 0.0026862574741244316, -0.005534267984330654, 0.025632113218307495, 0.028884651139378548, 0.015179751440882683, -0.02557566575706005, -0.04577311500906944, 0.0008284904761239886, 0.027359595522284508, -0.02979678101837635, -0.013251930475234985, -0.005089511629194021, -0.046921879053115845, 0.059243690222501755, -0.0018083546310663223, -0.03048163466155529, 0.011145878583192825, -0.014967218041419983, 0.032819733023643494, -0.013945433311164379, 0.005367174278944731, -0.03927982971072197, 0.01624520681798458, 0.02239108644425869, -0.01690741628408432, -0.03783872723579407, 0.05709023028612137, 0.01417529582977295, -0.009284407831728458, -0.007811638992279768, 0.013649038039147854, 0.006035269238054752, 0.002393441740423441, 0.018089130520820618, -0.00777950044721365, 0.04597726836800575, 0.010250343941152096, 0.03371630236506462, 0.0302460715174675, 0.012430665083229542 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
What are you working on at Hugging Face? - Working on a few different tools designed for engineers. - Working on philosophical and social science research: Just did a deep dive into UDHR (Universal Declaration of Human Rights) and how those can be applied with AI. Trying to help bridge the gaps between AI, ML, law, and philosophy. - Trying to develop some statistical methods that are helpful for testing systems as well as understanding datasets. - We also recently put out a tool that shows how well a language maps to Zipfian distributions (how natural language tends to go) so you can test how well your model is matching with natural language that way. - Working a lot on the culture stuff: spending a lot of time on hiring and what processes we should have in place to be more inclusive. - Working on Big Science: a massive effort with people from all around the world, not just hugging face working on data governance (how can big data be used and examined without having it proliferate all over the world/being tracked with how it’s used). - Occasionally I’ll do an interview or talk to a Senator, so it’s all over the place. - Try to answer emails sometimes. Note: Everyone at Hugging Face wears several hats. :)
[ 0.07483644783496857, -0.006769647356122732, 0.008997648023068905, -0.016868386417627335, 0.05059249326586723, 0.017543211579322815, 0.011954410001635551, 0.05064469203352928, -0.019719917327165604, -0.04609311372041702, -0.1341397911310196, 0.06804972887039185, 0.008178043179214, 0.03895968943834305, 0.03569196164608002, -0.06260699033737183, 0.0599638968706131, -0.004764321725815535, 0.022182311862707138, 0.018796507269144058, -0.014614828862249851, 0.010144839063286781, 0.012632038444280624, 0.0017786272801458836, -0.0331687293946743, -0.07231339067220688, 0.0127112353220582, -0.026792118325829506, -0.0021270925644785166, 0.09005971252918243, -0.11105961352586746, -0.004141026642173529, -0.05711670219898224, 0.006272354628890753, -0.059151433408260345, -0.016998576000332832, -0.13817861676216125, 0.07943183928728104, 0.04736696556210518, -0.00909346155822277, 0.033161528408527374, 0.0023037376813590527, -0.10461265593767166, 0.01616540364921093, -0.004304850473999977, -0.040716856718063354, -0.15736939013004303, 0.08730310201644897, 0.003294937778264284, -0.043395958840847015, -0.0456610806286335, 0.05260557681322098, 0.004532803315669298, -0.023915212601423264, 0.0037633422762155533, 0.0013922200305387378, -0.004186697769910097, -0.07677353918552399, -0.0035482970997691154, -0.037560224533081055, -0.005086159333586693, -0.0034443577751517296, 0.028613023459911346, -0.013417302630841732, 0.0716010183095932, 0.05451400578022003, 0.0023598279803991318, -0.037221331149339676, -0.07035278528928757, 0.035773806273937225, 0.06958933174610138, -0.01146483700722456, -0.04408526420593262, -0.009993942454457283, 0.011994105763733387, -0.007501707412302494, 0.0113596860319376, 0.02757619507610798, 0.007514134049415588, 0.02162579819560051, 0.011109947226941586, -0.030644193291664124, 0.07397443056106567, 0.052755698561668396, 0.03952101245522499, 0.02312745526432991, 0.0113797876983881, -0.06285982578992844, -0.03675118461251259, 0.0881524607539177, -0.013716497458517551, -0.10307809710502625, 0.03955557197332382, 0.0027468253392726183, 0.06565003097057343, -0.04482107609510422, -0.014925616793334484, 0.016477111726999283, -0.03897186741232872, -0.016145912930369377, 0.0005978356348350644, -0.04217533767223358, 0.007005902472883463, -0.062471792101860046, -0.0571323037147522, 0.05684308335185051, -0.012580705806612968, -0.06110267713665962, -0.03718138858675957, 0.02892228215932846, 0.0266078133136034, -0.02415265515446663, 0.011411863379180431, 0.027882710099220276, -0.0417553186416626, 0.1500520408153534, 0.020534686744213104, -0.04999485984444618, -0.04535955190658569, 0.04385485127568245, 0.016060082241892815, 0.04095730930566788, 0.0012122170301154256, 0.009231437928974628, -0.004264320712536573, 0.025257600471377373, -0.023246794939041138, -0.020600954070687294, 0.05980367213487625, -0.0955381691455841, -0.0009081228636205196, -0.02295651286840439, 0.016155442222952843, 0.040881965309381485, 0.04374489560723305, -0.027769915759563446, 0.0036838992964476347, -0.028216639533638954, 0.04654916375875473, 0.011255312711000443, -0.01912633143365383, 0.04006454721093178, 0.06429977715015411, 0.007491379976272583, 0.06237362325191498, -0.020426705479621887, -0.10869548469781876, 0.04042418301105499, -0.02041902206838131, 0.006405471824109554, -0.07287872582674026, 0.0249832421541214, 0.0035087873693555593, -0.04478366672992706, 0.048585180193185806, 0.028737563639879227, -0.04846493899822235, -0.03286511451005936, 0.016193777322769165, -0.01988278329372406, -0.02793380618095398, -0.0438847579061985, -0.026973087340593338, 0.011434569023549557, 0.027389613911509514, 0.004682639613747597, 0.0005027860752306879, -0.012913903221487999, -0.0727454125881195, 0.06938107311725616, -0.030392540618777275, -0.05223848670721054, 0.0401180274784565, -0.01752239279448986, 0.004368949215859175, 0.04296106472611427, 0.04972788318991661, 0.018603531643748283, -0.016806740313768387, 0.07806144654750824, -0.04613422974944115, 0.04700145125389099, 0.04999316483736038, 0.07496844232082367, 0.047300755977630615, -0.0483095608651638, -0.03874652460217476, -0.0129931615665555, 0.006861934904009104, 0.041225701570510864, -0.04231627658009529, -0.025539522990584373, 0.07517160475254059, -0.03978591039776802, 0.015130237676203251, 0.02159993350505829, -0.0024563053157180548, 0.12261495739221573, 0.004727425053715706, 0.09430480748414993, 0.013397636823356152, -0.03342234715819359, 0.05471894517540932, -0.02628934755921364, -0.005408761091530323, 0.037240587174892426, 0.09090828895568848, -0.0560106597840786, -0.02314886264503002, 0.026932867243885994, 0.02480102702975273, -0.132377490401268, 0.03359406068921089, -0.010012523271143436, -0.02439306117594242, -0.055957041680812836, -0.0033534676767885685, -0.005090328399091959, -0.013957936316728592, 0.004201075527817011, 0.18267719447612762, -0.057285942137241364, 0.017452893778681755, -0.015697937458753586, 0.04829047992825508, -0.004779061768203974, 0.1018587127327919, 0.10165031999349594, 0.07040926814079285, -0.09561186283826828, -0.04720282554626465, -0.04574805498123169, -0.017664024606347084, -0.008103935979306698, -0.03428476303815842, -0.0003641301009338349, 0.05889391899108887, -0.0270455963909626, 0.01930348575115204, 0.009572978131473064, -0.017483342438936234, -0.021764470264315605, 0.04852927848696709, 0.06026201695203781, -0.05441822484135628, -0.02571309357881546, 0.07787162810564041, -0.00003392759754206054, -0.04369009658694267, 0.04998256266117096, -0.027545040473341942, 0.04482939466834068, -0.006022770423442125, 0.045164234936237335, 0.03134375065565109, 0.0033204101491719484, 0.041649919003248215, 0.029214544221758842, -0.02267279662191868, 0.03739931434392929, 0.010775327682495117, -0.05870549753308296, -0.006136155221611261, -0.021771511062979698, -0.032296743243932724, -0.007629388477653265, -0.024657433852553368, 0.0174475759267807, -0.00732082687318325, 0.03145088255405426, 0.06609068810939789, -0.017244933173060417, 0.050068724900484085, 0.02518390119075775, 0.001545813400298357, -0.010891309008002281, 0.032592687755823135, -0.03251364454627037, 0.0013472975697368383, -0.049125827848911285, 0.013511254452168941, -0.033492255955934525, 0.025552555918693542, 0.0659506767988205, -0.0008635149570181966, -0.009562009014189243, -0.029820099472999573, 0.015368599444627762, -0.026573313400149345, 0.013589980080723763, 0.05534973368048668, 0.019667167216539383, -0.02446286752820015, -0.02431228943169117, 0.0107181491330266, -0.02404746040701866, 0.027008287608623505, -0.01602794975042343, -0.03067827597260475, 0.035360805690288544, 0.022179896011948586, -0.006141118239611387, -0.020412441343069077, -0.0010159851517528296, -0.002736272057518363, 0.012733413837850094, 0.012339509092271328, 0.013534482568502426, -0.103387251496315, -0.02252732217311859, -0.007735368330031633, 0.04771280661225319, 0.010389947332441807, -0.04328669607639313, 0.04479420930147171, -0.0306654404848814, -0.017741858959197998, 0.02411704510450363, -0.018621807917952538, 0.0299153383821249, 0.03359159454703331, -0.003240147838369012, 0.011527547612786293, -0.016049424186348915, -0.0009019087301567197, -0.0006377312820404768, 0.05842196196317673, 0.01304131094366312, -0.049390263855457306, 0.04415132477879524, -0.006337368860840797, 0.014820105396211147, -0.003256329335272312, -0.0250482689589262, 0.0027925402391701937, 0.02773471362888813, 0.03762255981564522, -0.021397126838564873, -0.017186077311635017, 0.032828763127326965, -0.029169699177145958, -0.0131058469414711, -0.020156968384981155, -0.019925151020288467, 0.0038145226426422596, 0.03581284359097481, 0.0035565549042075872, 0.03622566536068916, -0.011517945677042007, -0.00886494293808937, -0.002636085031554103, 0.022366764023900032, 0.008424825966358185, 0.003141561057418585, -0.017127560451626778, -0.024488527327775955, 0.02124188467860222, -0.030620427802205086, 0.0011724565410986543, 0.017349040135741234, 0.01179173681885004, 0.04494200646877289, -0.03154241293668747, 0.016871286556124687, 0.001935235341079533, 0.01679893210530281, -0.006148534826934338, -0.01264034491032362, -0.02542717009782791, 0.008465125225484371, -0.004356564953923225, -0.0050972639583051205, -0.03445391729474068, 0.02028888463973999, 0.0022157884668558836, -0.032478202134370804, -0.03658117726445198, 0.02502305433154106, 0.016397230327129364, 0.006438759155571461, -0.02866421826183796, 0.00343783525750041, -0.028491130098700523, -0.005438977386802435, -0.0039797998033463955, -0.039991848170757294, 0.06208290532231331, 0.0020646301563829184, -0.03797030821442604, -0.04899117350578308, 0.014202178455889225, -0.009713221341371536, 0.01731189340353012, -0.015775278210639954, 0.04479392245411873, -0.00436628982424736, -0.02784815989434719, 0.03127000480890274, -0.010317028500139713, -0.07379094511270523, -0.004747629631310701, -0.008309324271976948, 0.021399253979325294, 0.006989870686084032, 0.015425506047904491, -0.018373863771557808, 0.0021391338668763638, -0.015681704506278038, 0.01472276821732521, -0.06563041359186172, -0.02340788207948208, -0.003982546739280224, 0.008741259574890137, 0.02763628028333187, -0.019964173436164856, -0.06229435279965401, 0.04328145831823349, 0.04058949649333954, -0.0028173327445983887, 0.017225492745637894, 0.009375501424074173, -0.03169539198279381, 0.0433722622692585, 0.024579809978604317, -0.017400801181793213, -0.013194175437092781, 0.0019416536670178175, 0.019341325387358665, -0.03850170969963074, -0.011269500479102135, -0.016199208796024323, 0.015629369765520096, 0.03123014234006405, 0.0025208990555256605, -0.00013754745305050164, -0.02004537545144558, -0.019150035455822945, -0.004918267019093037, -0.015410240739583969, 0.02950737625360489, 0.016146356239914894, -0.013999149203300476, 0.011474261060357094, 0.0021711888257414103, -0.022150464355945587, -0.013742213137447834, -0.03149888291954994, -0.03834301978349686, -0.0017237397842109203, 0.025428185239434242, 0.020586896687746048, -0.0097660506144166, -0.001273806905373931, 0.009231950156390667, -0.0397060327231884, -0.007344037760049105, -0.02652508020401001, 0.021792789921164513, 0.015261339955031872, -0.021302705630660057, -0.07142021507024765, 0.018222860991954803, 0.03456401452422142, -0.016970612108707428, 0.00093540467787534, 0.04259811341762543, 0.009282826445996761, 0.057998307049274445, -0.016990680247545242, -0.005013365298509598, -0.011863645166158676, 0.00956957507878542, 0.0403149239718914, 0.0021439737174659967, -0.013948677107691765, -0.023977510631084442, -0.00695937592536211, -0.01927931420505047, -0.01242175605148077, 0.03536961227655411, -0.019214605912566185, -0.03946947306394577, -0.010667307302355766, 0.03389952704310417, 0.015723735094070435, 0.0074365935288369656, -0.05392434820532799, 0.043711114674806595, 0.012214417569339275, 0.030329721048474312, -0.0017221630550920963, -0.02836114913225174, 0.01581256464123726, 0.04220081493258476, 0.024101622402668, 0.074057936668396, -0.005793337244540453, 0.007345668040215969, 0.030869174748659134, 0.005614047404378653, 0.02621478959918022, -0.04263767972588539, 0.009690488688647747, -0.020001305267214775, 0.020544102415442467, -0.03653179109096527, -0.05348435789346695, 0.005282137542963028, -0.02336888760328293, 0.016733257099986076, -0.022365467622876167, 0.014633558690547943, 0.0247805193066597, -0.018808385357260704, -0.04222619906067848, -0.027423134073615074, 0.048149026930332184, -0.03666382282972336, 0.0033322847448289394, 0.01577053964138031, 0.028361031785607338, -0.04566460847854614, 0.007163728587329388, -0.015215017832815647, -0.025500323623418808, 0.03397027775645256, -0.007151733618229628, 0.021516159176826477, -0.04404826462268829, 0.00831141509115696, -0.04121983423829079, -0.014042189344763756, 0.048021361231803894, -0.027907300740480423, -0.018156873062253, 0.01811903901398182, 0.023952024057507515, -0.006331722717732191, 0.029239362105727196, 0.008878624998033047, 0.016756784170866013, 0.04068773239850998, -0.0021211260464042425, -0.02810087986290455, -0.014978036284446716, 0.049473512917757034, 0.0000535514009243343, -0.03803504258394241, -0.006186808925122023, -0.020876405760645866, -0.04189017787575722, -0.011331100016832352, -0.03169771283864975, 0.01865987852215767, 0.056555427610874176, 0.023601412773132324, -0.016757626086473465, -0.0039008648600429296, 0.013159926980733871, 0.043923914432525635, -0.0030806451104581356, 0.03320566192269325, 0.025112228468060493, 0.042099177837371826, -0.003996856510639191, -0.001688921358436346, 0.016255561262369156, -0.014761937782168388, 0.005757711362093687, -0.10734482109546661, 0.006006661336869001, -0.02542935311794281, -0.053673531860113144, 0.011932242661714554, 0.011607221327722073, -0.02559076063334942, 0.02755807153880596, 0.017236515879631042, 0.01715456321835518, 0.036159269511699677, 0.013182215392589569, 0.018610160797834396, -0.02973337471485138, -0.026940664276480675, 0.007657747715711594, 0.056253354996442795, -0.023379312828183174, 0.0037028442602604628, 0.011387701146304607, 0.04019346833229065, 0.05688450485467911, 0.020588045939803123, 0.03554129600524902, 0.008160972967743874, 0.09053650498390198, 0.02237478271126747, 0.04936891049146652, 0.025876689702272415, -0.04518654942512512, -0.008352193050086498, -0.008319650776684284, -0.024755358695983887, 0.004836934618651867, -0.015827296301722527, 0.016257736831903458, -0.041479144245386124, 0.030839363113045692, -0.02646767348051071, 0.02019280008971691, -0.01282885018736124, 0.031123289838433266, 0.003882475895807147, 0.012898835353553295, 0.04497819021344185, 0.00900542363524437, -0.000301884749205783, 0.055486004799604416, -0.005969484802335501, 0.0035135464277118444, 0.049913253635168076, 0.04154606908559799, 0.03939046710729599, 0.03273461014032364, 0.03531773015856743, 0.026965569704771042, -0.0403146855533123, -0.007703672628849745, 0.026135306805372238, -0.02175549417734146, 0.0060819219797849655, 0.002887200564146042, -0.003825328778475523, -0.0030183084309101105, 0.0243962574750185, -0.007252855692058802, 0.0336310938000679, 0.005294949747622013, -0.03650645166635513, -0.031458646059036255, 0.03906269371509552, -0.002943898318335414, -0.01297616958618164, 0.0011871259193867445, -0.02595813199877739, 0.002334214746952057, -0.004964311141520739, -0.047531310468912125, -0.02785167098045349, -0.0037118580657988787, 0.0055673313327133656, -0.025045674294233322, 0.010422267951071262, -0.0016970583237707615, -0.0653647854924202, 0.0065899440087378025, 0.028785334900021553, 0.014551879838109016, 0.03924579918384552, 0.010325460694730282, 0.005826725158840418, -0.03880614414811134, 0.0027661516796797514, -0.012037079781293869, -0.004366165492683649, -0.04974193498492241, -0.005896535236388445, -0.0047977389767766, -0.04586844891309738, 0.0035130861215293407, -0.0033094666432589293, 0.05887790024280548, -0.017324283719062805, -0.009274479933083057, -0.0009192715515382588, -0.006098372861742973, -0.045383021235466, 0.02055845782160759, -0.015436316840350628, -0.022981444373726845, 0.0043755932711064816, -0.003391029080376029, -0.03507470339536667, 0.0002158742572646588, -0.01758374646306038, 0.046493448317050934, -0.04936440289020538, -0.040682703256607056, 0.029204869642853737, 0.03601731359958649, 0.043561629951000214, 0.050859980285167694, -0.0008591818041168153, 0.029746178537607193, -0.000592213764321059, -0.041004616767168045, 0.053909216076135635, -0.014446638524532318, 0.005143080838024616, -0.037921369075775146, -0.055086731910705566, -0.026395471766591072, -0.021478574723005295, 0.015452858991920948, 0.008525154553353786, -0.00665887538343668, 0.02046201378107071, 0.0006480125011876225, -0.010123579762876034, 0.006736698094755411, -0.0056909965351223946, 0.03333001583814621, -0.013727922923862934, -0.01535750925540924, -0.020083347335457802, 0.017801498994231224, -0.0037595240864902735, 0.0002430613385513425, 0.0285190362483263, 0.012190078385174274, -0.003702856134623289, -0.026895806193351746, 0.00983129721134901, -0.006202216725796461, 0.023266563192009926, -0.033015765249729156, 0.031681906431913376, 0.040244728326797485, -0.0034512069541960955, -0.01239566970616579, -0.02586163952946663, 0.03937920182943344, -0.019317083060741425, 0.04685983434319496, -0.03882336989045143, -0.02500448003411293, -0.014853968285024166, 0.02966080978512764, -0.0537504144012928, 0.00593368336558342, 0.011655728332698345, -0.015297533012926579, 0.05747002363204956, 0.011409899219870567, 0.021289076656103134, -0.007327594328671694, -0.008251931518316269, 0.027888385578989983, -0.0019672433845698833, -0.04342672601342201, -0.009555675089359283, 0.005315539427101612, 0.028692565858364105, -0.03755641728639603, -0.042075205594301224, 0.015608176589012146, -0.003291260451078415, -0.04008159413933754, -0.001003808225505054, 0.020410897210240364, 0.0027303057722747326, -0.0038043248932808638, 0.008186465129256248, -0.02504849247634411, 0.03682113438844681, 0.03271167725324631, -0.01610543020069599, -0.0023582009598612785, -0.02815578691661358 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
You frequently include incredible examples of biased models in your Keynotes and interviews. One in particular that I love is the criminal detection model you've talked about that was using patterns of mouth angles to identify criminals (which you swiftly debunked). Meg: Yes, [the example is that] they were making this claim that there was this angle theta that was more indicative of criminals when it was a smaller angle. However, I was looking at the math and I realized that what they were talking about was a smile! Where you would have a wider angle for a smile vs a smaller angle associated with a straight face. They really missed the boat on what they were actually capturing there. Experimenter's bias: wanting to find things that aren’t there.
[ 0.032032426446676254, -0.00299091637134552, 0.002765845274552703, 0.004948639776557684, 0.08424174785614014, 0.065485879778862, -0.005138474982231855, 0.03631238266825676, -0.04935552924871445, -0.044480178505182266, -0.028372641652822495, 0.04563959315419197, -0.020205693319439888, 0.0439336895942688, -0.00937717966735363, -0.051319509744644165, -0.019249992445111275, -0.03635694459080696, 0.022440742701292038, 0.05165673419833183, 0.01323878113180399, -0.04220962896943092, 0.05808721110224724, -0.11314662545919418, -0.0002024995774263516, -0.041226740926504135, 0.01610591635107994, -0.07789968699216843, -0.08163289725780487, 0.03857387974858284, -0.04760167375206947, 0.05856136232614517, 0.003574737813323736, -0.023137513548135757, -0.07487577944993973, 0.004774795845150948, -0.10833201557397842, 0.07885245978832245, 0.001552001922391355, 0.028999749571084976, 0.05174305662512779, -0.03982458636164665, -0.05756371095776558, -0.03614397346973419, -0.030905239284038544, -0.04921684414148331, -0.16016483306884766, 0.07555599510669708, -0.0036003608256578445, 0.008350317366421223, -0.048301633447408676, 0.08254016935825348, -0.07905412465333939, 0.03310120478272438, 0.008133945986628532, -0.03628344088792801, 0.01729799248278141, -0.07960347086191177, 0.04369385913014412, -0.04277956858277321, 0.022602949291467667, -0.0010911168064922094, 0.008922328241169453, 0.0020530507899820805, -0.01447331067174673, 0.007393192034214735, 0.031491708010435104, 0.021251361817121506, -0.07975778728723526, 0.000683286227285862, -0.006542279850691557, 0.007738079410046339, -0.03543825447559357, -0.007491460070014, 0.06162189319729805, -0.01781841553747654, 0.07554963231086731, 0.03695207089185715, -0.0019941485952585936, -0.05427892133593559, 0.023891448974609375, -0.03395930677652359, 0.07222707569599152, 0.09914544969797134, 0.014374010264873505, -0.011104091070592403, 0.01517805177718401, 0.018391620367765427, -0.018498707562685013, 0.048983752727508545, 0.013161883689463139, -0.09528592228889465, 0.03875793516635895, 0.016748176887631416, 0.032014984637498856, -0.025636086240410805, 0.10219582170248032, -0.018158037215471268, 0.07227544486522675, 0.0579034760594368, -0.056963998824357986, -0.07311470806598663, 0.036564674228429794, 0.026439351961016655, -0.027861356735229492, 0.02686048112809658, 0.005324339959770441, -0.030252335593104362, -0.09815756976604462, 0.07045643031597137, -0.04010414704680443, -0.016967782750725746, 0.036796070635318756, 0.01906932331621647, -0.044504597783088684, 0.05372165888547897, 0.054634228348731995, -0.0030620021279901266, 0.0056635732762515545, -0.054061029106378555, -0.03351201117038727, 0.05490205064415932, 0.08151990920305252, 0.007153042126446962, 0.013825134374201298, -0.021046852692961693, -0.00035935145569965243, 0.01356758363544941, -0.02145492099225521, -0.04718638211488724, -0.019789140671491623, 0.01740296743810177, 0.0218050517141819, 0.05899167060852051, 0.004091705661267042, -0.08438203483819962, 0.007115333806723356, -0.05961354076862335, -0.0001086959382519126, -0.03373582288622856, -0.020329449325799942, -0.039160724729299545, 0.038028523325920105, 0.05686058849096298, 0.0559244230389595, -0.07530365884304047, -0.05266161635518074, 0.03694874793291092, 0.007713616359978914, 0.029020093381404877, -0.03358037769794464, 0.0754048228263855, 0.02814040519297123, -0.16024336218833923, 0.035655293613672256, 0.05405619367957115, -0.01737271063029766, -0.009048608131706715, 0.022017603740096092, -0.05847667530179024, -0.007235239259898663, -0.03784782066941261, -0.02573791891336441, -0.01999756321310997, 0.05220092460513115, 0.028888562694191933, -0.020268715918064117, 0.001949160941876471, -0.047856759279966354, 0.07674262672662735, -0.027824642136693, -0.07434523105621338, 0.0980793833732605, 0.0009171984274871647, -0.06294465065002441, 0.09216704964637756, -0.04235507547855377, 0.008455399423837662, -0.005368518643081188, -0.012862717732787132, -0.03659228980541229, 0.04002842679619789, 0.007961330935359001, 0.0388268306851387, 0.07087623327970505, -0.07848374545574188, 0.01722908392548561, 0.005397826433181763, -0.05928920581936836, 0.01893988624215126, -0.049166589975357056, 0.008689462207257748, 0.09538380801677704, 0.011556091718375683, 0.01680244877934456, -0.05850750580430031, -0.04306861013174057, 0.004609142895787954, 0.025965536013245583, 0.022257760167121887, 0.008367807604372501, -0.03209353983402252, 0.013037335127592087, -0.011516197584569454, -0.058846063911914825, 0.011331108398735523, 0.054752200841903687, -0.054437048733234406, 0.0034726832527667284, 0.026193512603640556, 0.00965870451182127, -0.08156536519527435, 0.03160172700881958, 0.005160357337445021, -0.07044056802988052, 0.035167936235666275, 0.036799248307943344, 0.03496270626783371, -0.024062812328338623, 0.0002135503600584343, 0.06690926849842072, -0.00485827075317502, 0.013730905018746853, 0.009744320064783096, 0.04473311826586723, 0.016292216256260872, 0.07079283148050308, 0.018249426037073135, 0.09708448499441147, -0.05265113338828087, 0.018277840688824654, 0.018689699470996857, 0.0904436707496643, -0.034349244087934494, -0.03474761173129082, 0.005327275488525629, 0.04842012748122215, 0.020929275080561638, 0.005282338708639145, -0.06155361235141754, -0.007203353568911552, -0.03655684366822243, -0.027823619544506073, 0.09070941060781479, -0.07347546517848969, -0.05967441201210022, 0.0006104285130277276, -0.0218050554394722, -0.030336229130625725, 0.07259483635425568, -0.10911288112401962, 0.07370688021183014, -0.00879182294011116, -0.031344521790742874, -0.015662049874663353, 0.06438229233026505, 0.03070189617574215, -0.004104818683117628, -0.0033358437940478325, -0.022806990891695023, -0.0005018675001338124, -0.02950294315814972, 0.022223059087991714, -0.025650618597865105, -0.013347026892006397, -0.0278963353484869, 0.010877576656639576, 0.0547795332968235, 0.036694224923849106, 0.029737059026956558, 0.03263029083609581, -0.0048586707562208176, 0.04907313734292984, -0.0016484487568959594, -0.012406960129737854, -0.040659546852111816, -0.016026873141527176, -0.006485456600785255, 0.018505480140447617, 0.00399896502494812, -0.05045679211616516, 0.01270599476993084, 0.03289329260587692, 0.039314452558755875, 0.024237973615527153, -0.00556018715724349, -0.01218591257929802, -0.0343540795147419, -0.0021272380836308002, -0.009763237088918686, 0.026768947020173073, 0.05889325961470604, 0.01736314222216606, -0.024907678365707397, 0.00837688334286213, -0.00903876032680273, 0.015393874607980251, -0.018233003094792366, -0.017413850873708725, -0.01999855786561966, 0.026644224300980568, -0.004323441535234451, -0.012019183486700058, -0.04930320754647255, 0.003181553678587079, 0.03959638997912407, 0.04378224536776543, 0.06673387438058853, -0.09257952868938446, -0.023055480793118477, -0.005273007322102785, 0.014460821636021137, -0.03152322396636009, -0.06074624881148338, 0.08868607133626938, 0.0006531088729389012, -0.034168440848588943, -0.02107114903628826, -0.015275202691555023, -0.023645738139748573, 0.001086585340090096, -0.010170110501348972, 0.004283476620912552, 0.004959164187312126, -0.0018032321240752935, 0.005801915191113949, 0.008717603050172329, 0.031600769609212875, -0.003490033559501171, 0.033589236438274384, -0.002424134174361825, -0.009334948845207691, -0.024194542318582535, 0.059541966766119, 0.03724084421992302, 0.029441174119710922, 0.0041086431592702866, -0.060837745666503906, 0.009878695011138916, -0.019407952204346657, -0.07720156013965607, -0.019815554842352867, -0.004832281731069088, 0.00989795196801424, -0.0075822132639586926, 0.019661955535411835, 0.018591074272990227, 0.08018725365400314, -0.010309741832315922, 0.008499140851199627, 0.04458245262503624, 0.011592699214816093, 0.013156900182366371, -0.014949561096727848, -0.016614563763141632, -0.0016662308480590582, 0.0012266900157555938, -0.07922489941120148, -0.051033079624176025, -0.020914724096655846, 0.020379485562443733, 0.08542150259017944, 0.005548238754272461, -0.011143289506435394, -0.005320201627910137, 0.07096557319164276, 0.027549948543310165, -0.012559675611555576, -0.009832991287112236, 0.03526466339826584, 0.003934089560061693, 0.027578454464673996, -0.039956990629434586, -0.0052911676466465, 0.015947822481393814, 0.0005792748997919261, 0.015183558687567711, -0.017944203689694405, 0.021683290600776672, -0.004737203940749168, 0.009439682587981224, 0.013951843604445457, -0.009818795137107372, 0.02538004145026207, 0.014801333658397198, 0.00920424796640873, 0.062342483550310135, -0.05302759259939194, -0.025358140468597412, -0.021513793617486954, -0.041150979697704315, 0.0008718497701920569, -0.007324559148401022, -0.011912987567484379, -0.014182799495756626, 0.02157699503004551, -0.0362306572496891, 0.04388860985636711, -0.015569913201034069, -0.01803932711482048, 0.000059847443480975926, 0.0035424213856458664, -0.038785915821790695, -0.0015778961824253201, 0.005033669527620077, -0.0014201737940311432, -0.0013240433763712645, -0.002959588775411248, 0.023910533636808395, -0.002989883301779628, -0.015794800594449043, 0.011321686208248138, 0.0004692742950282991, 0.051798172295093536, -0.011154034174978733, -0.018479496240615845, -0.004510892555117607, -0.024313639849424362, 0.024302493780851364, 0.00220020255073905, -0.010056987404823303, 0.02387838251888752, 0.03554253280162811, -0.04847412183880806, -0.03277074545621872, 0.03781459480524063, 0.030423998832702637, -0.019517753273248672, -0.0478387214243412, 0.04943240433931351, -0.019515426829457283, -0.03092357888817787, 0.01989196240901947, 0.009299424476921558, 0.006847277749329805, 0.007162627764046192, 0.017281942069530487, 0.01824088767170906, -0.01303685363382101, 0.027158498764038086, 0.035130035132169724, 0.0015693499008193612, 0.03160332143306732, 0.053006965667009354, -0.023019541054964066, 0.043956998735666275, -0.036263708025217056, -0.0549188107252121, 0.014834881760179996, 0.031209854409098625, 0.028416646644473076, -0.019173715263605118, 0.003518621437251568, -0.028395285829901695, -0.03291655331850052, -0.03655170276761055, 0.005748470313847065, 0.04945274442434311, 0.007228431291878223, -0.009681076742708683, -0.030514422804117203, 0.03268685191869736, 0.02493455447256565, -0.011491005308926105, -0.019310180097818375, 0.008133838884532452, -0.04376226291060448, 0.07176733016967773, 0.036694712936878204, 0.011566593311727047, -0.047526437789201736, 0.04189426824450493, -0.0165077056735754, -0.0007356423302553594, -0.03692525252699852, -0.0281223151832819, -0.0037680903915315866, 0.046029455959796906, -0.0073670861311256886, -0.052429359406232834, -0.008116408251225948, 0.011864899657666683, 0.009041501209139824, 0.006399160251021385, 0.01626320742070675, -0.02132745459675789, -0.011171608231961727, 0.03011472336947918, -0.016263645142316818, 0.01647958531975746, -0.011115794070065022, 0.01998790353536606, 0.02663327194750309, 0.01769918203353882, 0.011975397355854511, 0.05395040288567543, 0.03719334676861763, 0.0002936855307780206, 0.012967809103429317, 0.010696593672037125, 0.006132771726697683, -0.02915213815867901, 0.016476929187774658, 0.019490525126457214, -0.015477512031793594, 0.004459399729967117, -0.014688984490931034, 0.010746256448328495, 0.04189751669764519, 0.044937070459127426, 0.004374261014163494, 0.042301420122385025, -0.006386250257492065, -0.017269955947995186, 0.0013938327319920063, -0.022768033668398857, 0.0034512928687036037, -0.019264252856373787, -0.007301336620002985, -0.036283913999795914, -0.03987191990017891, -0.006899281404912472, -0.018861597403883934, -0.05448506027460098, -0.03684358298778534, 0.028506062924861908, 0.022244174033403397, 0.05858277156949043, 0.015109188854694366, -0.02750648930668831, -0.07150552421808243, 0.011075871996581554, 0.01850544847548008, -0.024367254227399826, -0.029698742553591728, 0.04289393499493599, 0.01663355529308319, -0.014106390997767448, 0.015591281466186047, 0.06159711629152298, 0.029861532151699066, 0.04507855325937271, -0.022601447999477386, -0.029400069266557693, 0.030335161834955215, 0.06952568143606186, -0.02199925109744072, -0.004800112918019295, -0.002864403650164604, -0.020463882014155388, -0.03016873262822628, -0.01684432476758957, -0.019818183034658432, -0.008868408389389515, 0.025688720867037773, 0.010877218097448349, 0.006026505958288908, 0.035237185657024384, -0.008005878888070583, 0.014497189782559872, 0.027945298701524734, 0.0317610502243042, -0.008219750598073006, 0.022444527596235275, 0.03903691843152046, -0.028675347566604614, -0.018329575657844543, -0.013209844939410686, 0.02500922605395317, -0.03869825229048729, -0.025206327438354492, 0.01113276369869709, -0.049664564430713654, 0.031071064993739128, 0.028659842908382416, -0.01115752849727869, 0.03808341920375824, -0.022244777530431747, 0.0476338192820549, -0.003902334487065673, 0.013464021496474743, -0.023620689287781715, -0.031662944704294205, -0.00045461219269782305, 0.03258674591779709, 0.08273046463727951, 0.017881831154227257, -0.03444913402199745, 0.02679641917347908, 0.00799734890460968, 0.04813362658023834, -0.06287679076194763, 0.010573828592896461, 0.03319195285439491, 0.06505357474088669, -0.0018868970219045877, -0.007643504533916712, -0.00732849445194006, -0.025197599083185196, -0.0070209261029958725, -0.024058014154434204, -0.006142477970570326, 0.029803022742271423, 0.033894456923007965, 0.0033079360146075487, -0.019369101151823997, -0.0211569182574749, -0.0637909471988678, 0.03094283491373062, 0.001894167740829289, 0.03851720690727234, -0.0024010969791561365, 0.03554706647992134, -0.0077505167573690414, 0.036973822861909866, -0.0044034854508936405, 0.028536899015307426, 0.0006258045323193073, -0.0010235444642603397, 0.018291618674993515, 0.010249743238091469, 0.01997974142432213, 0.06150718778371811, -0.012626586481928825, 0.04071268066763878, -0.012195291928946972, -0.03546745330095291, -0.019248750060796738, -0.017525944858789444, -0.003038083203136921, -0.04539387300610542, -0.052192021161317825, 0.012977596372365952, -0.04341565817594528, 0.01462221797555685, 0.005254717078059912, 0.016362538561224937, 0.028400462120771408, 0.01896708831191063, 0.034458357840776443, 0.0075522009283304214, -0.027563931420445442, 0.0006898452411405742, -0.04633045941591263, -0.004042103886604309, -0.031819768249988556, -0.020670270547270775, -0.03485972061753273, -0.03916192054748535, -0.019944457337260246, 0.02052338793873787, 0.0076089054346084595, -0.013966573402285576, 0.006714655086398125, 0.024496106430888176, -0.016359806060791016, -0.02019990049302578, 0.0018199161859229207, 0.00013087145634926856, -0.01600801758468151, -0.0031276645604521036, 0.018226269632577896, -0.01987127773463726, -0.017815515398979187, -0.023060334846377373, -0.03885290399193764, -0.00823909416794777, -0.056009549647569656, -0.001223454368300736, -0.0055940160527825356, 0.045536480844020844, -0.02939872443675995, -0.011317617259919643, -0.012234648689627647, -0.031763236969709396, -0.005611324217170477, 0.01642059162259102, 0.03168053179979324, 0.012654619291424751, -0.012515071779489517, -0.026697276160120964, -0.0000194675139937317, 0.002300458960235119, -0.01869591511785984, 0.04522303491830826, 0.011345447972416878, -0.032608941197395325, -0.041872717440128326, 0.007764228619635105, 0.024776533246040344, 0.031026767566800117, 0.013911661691963673, 0.036999039351940155, 0.03590536117553711, -0.02877206541597843, 0.033819738775491714, -0.027592774480581284, -0.004717421717941761, -0.0186248030513525, -0.03785319626331329, -0.03563749045133591, -0.018007412552833557, -0.04866992309689522, -0.02787686698138714, -0.018898747861385345, 0.03786071017384529, -0.02278190292418003, -0.026145152747631073, -0.014357438310980797, 0.03583408147096634, 0.04725463688373566, 0.00789436511695385, 0.022152423858642578, -0.022237243130803108, 0.06097753718495369, -0.035200171172618866, -0.008766388520598412, 0.0009449784411117435, 0.019009504467248917, -0.03071541152894497, -0.01636338233947754, -0.024378113448619843, -0.006764795631170273, -0.0018299471121281385, -0.027178816497325897, -0.009442387148737907, 0.04673272743821144, -0.0005350888823159039, 0.0251493901014328, 0.003060494549572468, -0.004597081337124109, 0.003414053237065673, 0.01632605493068695, 0.006801804527640343, -0.049745574593544006, -0.032830070704221725, 0.01054880116134882, 0.0026133081410080194, 0.04235238954424858, -0.017590906471014023, 0.013555798679590225, 0.02832622267305851, 0.047862473875284195, -0.0017094704089686275, 0.02447245642542839, 0.0005174836260266602, 0.0016480287304148078, 0.015835748985409737, -0.02166224829852581, -0.048724886029958725, 0.006055973004549742, 0.0017858278006315231, -0.0034355761017650366, 0.006324796471744776, -0.0072672413662076, -0.020091723650693893, 0.004544820636510849, 0.012447568587958813, 0.026031427085399628, 0.011224769055843353, -0.02215428277850151, 0.002111393492668867, 0.010484810918569565, 0.011294851079583168, 0.02866464853286743, 0.02456366829574108, 0.03277251496911049, 0.02542996220290661 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Could you share a little bit about your background and what brought you to Hugging Face? Dr. Margaret Mitchell’s Background: - Bachelor’s in Linguistics at Reed College - Worked on NLP - Worked on assistive and augmentative technology after her Bachelor’s and also during her graduate studies - Master’s in Computational Linguistics at the University of Washington - PhD in Computer Science Meg: I did heavy statistical work as a postdoc at Johns Hopkins and then went to Microsoft Research where I continued doing vision to language generation that led to working on an app for people who are blind to navigate the world a bit easier called Seeing AI. After a few years at Microsoft, I left to work at Google to focus on big data problems inherent in deep learning. That’s where I started focusing on things like fairness, rigorous evaluation for different kinds of issues, and bias. While at Google, I founded and co-led the Ethical AI Team which focuses on inclusion and transparency. After four years at Google, I came over to Hugging Face where I was able to jump in and focus on coding. I’m helping to create protocols for ethical AI research, inclusive hiring, systems, and setting up a good culture here at Hugging Face.
[ 0.01892249658703804, -0.025119157508015633, -0.0011699377791956067, -0.027900179848074913, 0.021500712260603905, 0.11765897274017334, -0.0014294334687292576, 0.004274504724889994, -0.07808548957109451, -0.07655251771211624, -0.09852315485477448, 0.06082700192928314, -0.031013047322630882, 0.06022706627845764, 0.013359371572732925, -0.12310782074928284, 0.05205821618437767, -0.04794856160879135, -0.03974365070462227, -0.011577767319977283, -0.04479562118649483, 0.0030887231696397066, 0.015631183981895447, 0.010628999210894108, -0.0068846335634589195, -0.11547821760177612, -0.007503293454647064, -0.012791168875992298, -0.005934945307672024, 0.03806433826684952, -0.046804122626781464, -0.014112415723502636, 0.012304713949561119, -0.00046896832645870745, -0.0248190239071846, 0.03411243483424187, -0.0764976218342781, 0.051562000066041946, -0.02914212830364704, 0.06747908145189285, -0.00984065793454647, -0.060689978301525116, -0.07958326488733292, 0.03847479820251465, -0.038212332874536514, -0.03845443204045296, -0.12578561902046204, 0.06143105402588844, -0.008454015478491783, -0.027569327503442764, -0.07676207274198532, -0.006775542628020048, 0.06640799343585968, 0.04745180159807205, -0.03341507539153099, -0.0016395419370383024, -0.00609677704051137, -0.04410373046994209, -0.011027702130377293, -0.0410722978413105, 0.009850217029452324, -0.048918697983026505, 0.02951488457620144, 0.012008766643702984, 0.024266812950372696, 0.02256614714860916, 0.0027625609654933214, -0.08126239478588104, -0.10437356680631638, 0.0240878164768219, 0.08301161974668503, -0.04008067026734352, -0.06505017727613449, -0.03272918611764908, -0.027046089991927147, -0.008520071394741535, 0.016204819083213806, 0.003221302991732955, 0.03229586407542229, 0.017757056280970573, -0.09661158174276352, 0.024198265746235847, 0.033708859235048294, 0.06830590963363647, 0.010424603708088398, 0.01804249733686447, 0.04785987362265587, -0.048173993825912476, 0.017487462610006332, 0.03429212421178818, -0.030816297978162766, -0.056113842874765396, -0.011228014715015888, -0.00808502733707428, 0.10522507131099701, -0.04495812952518463, -0.019328244030475616, 0.003013603389263153, 0.04063121974468231, -0.07784924656152725, -0.023619821295142174, -0.015797151252627373, -0.018271811306476593, -0.013562225736677647, -0.10625998675823212, 0.04415250942111015, 0.005511188413947821, -0.03376428410410881, -0.045931994915008545, -0.002852190285921097, 0.026964152231812477, -0.020608367398381233, -0.009429526515305042, 0.04368048533797264, -0.06243838742375374, 0.07423247396945953, 0.013094075955450535, -0.029727742075920105, 0.06253250688314438, 0.007944095879793167, -0.005295637063682079, 0.037667371332645416, -0.04103739559650421, -0.029456231743097305, -0.01401401124894619, 0.008790704421699047, 0.023426447063684464, -0.02328457683324814, 0.007908990606665611, -0.03293295577168465, 0.0048435586504638195, -0.02924385853111744, 0.002426847582682967, 0.008243473246693611, 0.05440729856491089, 0.005612129811197519, 0.049413979053497314, -0.05976399779319763, 0.015337169170379639, 0.009575092233717442, -0.01130593754351139, 0.037007495760917664, -0.028796473518013954, 0.0005423020920716226, 0.05439453572034836, 0.022206421941518784, -0.13236254453659058, 0.0200522281229496, -0.015596895478665829, 0.03426196426153183, -0.09630468487739563, 0.0907980278134346, 0.03491367772221565, -0.06545782834291458, 0.019971055909991264, 0.04190146178007126, -0.037063658237457275, 0.046932198107242584, 0.019301587715744972, -0.05139371007680893, 0.05193124711513519, -0.03084368258714676, -0.07384204119443893, 0.04769620671868324, -0.008742130361497402, 0.01720903255045414, -0.004820899106562138, -0.019693506881594658, -0.09563732892274857, 0.0818055272102356, -0.012941775843501091, -0.045964717864990234, 0.06759476661682129, 0.010872508399188519, 0.019147491082549095, 0.02561795897781849, 0.02563183568418026, 0.002995301503688097, -0.03270234540104866, -0.010331271216273308, -0.08922327309846878, 0.07022479176521301, 0.018311534076929092, 0.0634893923997879, 0.0631028488278389, -0.03692323714494705, 0.040235526859760284, 0.011132089421153069, -0.0002524395822547376, 0.031127266585826874, -0.03502996265888214, 0.009496383368968964, 0.12158862501382828, -0.04207779839634895, 0.010627088136970997, 0.021366262808442116, -0.0041017476469278336, 0.13116711378097534, -0.006870895624160767, 0.047039564698934555, 0.02309528738260269, -0.042177557945251465, -0.012168017216026783, -0.045198097825050354, 0.011115442961454391, -0.030583523213863373, 0.1232084184885025, -0.011386479251086712, -0.06482183933258057, 0.04889311641454697, 0.008404170162975788, -0.04120846837759018, 0.017943693324923515, 0.04556192457675934, -0.03331940621137619, 0.023161837831139565, 0.008288531564176083, 0.0012041231384500861, 0.027146711945533752, -0.030930591747164726, 0.13739252090454102, -0.05379443243145943, 0.010732864029705524, -0.008361916989088058, 0.03850201144814491, 0.015731152147054672, 0.07811746001243591, 0.04808984324336052, 0.030682146549224854, -0.05038198456168175, -0.007573912385851145, 0.012246375903487206, -0.03335554897785187, -0.003265778999775648, -0.05184416100382805, -0.03641127794981003, 0.05291084945201874, -0.007887992076575756, 0.016721466556191444, 0.010605270974338055, -0.03580540046095848, -0.01147891953587532, 0.025347795337438583, 0.023527737706899643, 0.0011141421273350716, -0.06625059992074966, 0.02252100221812725, -0.003802904859185219, 0.014292032457888126, 0.05408646911382675, -0.025980351492762566, 0.07537591457366943, 0.005516177974641323, 0.045578137040138245, 0.021249106153845787, 0.13021108508110046, 0.017661865800619125, 0.02403300069272518, 0.006180616561323404, 0.06563494354486465, 0.05616030469536781, 0.005948207341134548, -0.030815912410616875, -0.03317034989595413, 0.01518051978200674, 0.004266634583473206, -0.022190673276782036, 0.02476288564503193, 0.009026072919368744, 0.07507918775081635, 0.008305743336677551, 0.005660122260451317, 0.027970802038908005, 0.011103975586593151, 0.013224204070866108, 0.00521493423730135, 0.011261288076639175, 0.009361766278743744, 0.0012383069843053818, -0.02385854907333851, 0.017056701704859734, -0.008035744540393353, -0.014032311737537384, 0.05282457172870636, -0.012790089473128319, 0.005783805623650551, -0.033782705664634705, -0.02168263867497444, -0.04281407967209816, 0.028476260602474213, 0.0047260187566280365, 0.04857777804136276, 0.011829973198473454, -0.04219885915517807, -0.03136037662625313, 0.004154553636908531, -0.005095627158880234, 0.010861528106033802, -0.0016099162166938186, 0.0366557352244854, 0.023080212995409966, -0.012666892260313034, 0.008371054194867611, 0.0008624952170066535, 0.012483075261116028, -0.0027402141131460667, 0.007759853266179562, 0.0014876486966386437, -0.07826826721429825, -0.022277548909187317, -0.006654037162661552, 0.03561754152178764, -0.024854522198438644, -0.03061048872768879, 0.003006906248629093, -0.031816739588975906, -0.009201766923069954, -0.0038742830511182547, -0.004958305042237043, 0.024701325222849846, 0.03271216154098511, 0.04273213446140289, 0.03266235813498497, 0.01817641407251358, -0.01460024993866682, -0.05453501269221306, 0.008539820089936256, 0.001050650142133236, -0.03284432739019394, 0.04143502935767174, 0.01317258458584547, 0.011747030541300774, 0.01795351132750511, -0.03407760336995125, -0.020644979551434517, 0.013620146550238132, -0.0006086889770813286, -0.025334682315587997, -0.02789616771042347, 0.014065123163163662, -0.012313910759985447, 0.023908372968435287, -0.009614500217139721, 0.002549149328842759, 0.03466353937983513, 0.01069687120616436, 0.01343869511038065, 0.002631525043398142, -0.005926031619310379, -0.011528409086167812, 0.002957544755190611, 0.010072233155369759, 0.021505452692508698, 0.019706787541508675, -0.025780290365219116, -0.044488757848739624, 0.053664613515138626, -0.01211494579911232, -0.03642852604389191, 0.00433294428512454, 0.007368156220763922, 0.0408637598156929, -0.04423084482550621, 0.007029141765087843, -0.018220745027065277, -0.00007368112710537389, -0.031777966767549515, -0.02279452234506607, 0.005873202346265316, 0.009760536253452301, -0.023685134947299957, -0.044695064425468445, 0.013086317107081413, -0.01463636290282011, 0.00819390919059515, 0.004151763394474983, -0.06350810825824738, -0.016362255439162254, 0.013488933444023132, 0.033901747316122055, 0.0068401009775698185, -0.007871685549616814, -0.054063986986875534, -0.019627265632152557, -0.02479247748851776, 0.012879284098744392, 0.02075846865773201, -0.06564019620418549, -0.034723252058029175, -0.0060035185888409615, 0.007674753665924072, -0.02366865985095501, 0.026162682101130486, -0.01432501059025526, 0.005470193922519684, -0.0015170620754361153, 0.010452966205775738, 0.030954360961914062, -0.015022335574030876, -0.09498316794633865, 0.014456833712756634, -0.015400545671582222, -0.00044893729500472546, 0.015104533173143864, 0.016740882769227028, 0.014295709319412708, 0.0019093274604529142, 0.019563721492886543, -0.006070130039006472, -0.05698520690202713, -0.04676450788974762, 0.0076011004857718945, 0.03785695135593414, 0.025068704038858414, 0.014271578751504421, -0.06767402589321136, 0.060139358043670654, 0.012835553847253323, -0.02941293455660343, 0.002372722141444683, 0.024363812059164047, -0.01181510929018259, 0.03565698489546776, 0.004264032002538443, 0.03256648778915405, 0.004546294454485178, -0.013320574536919594, -0.014428190886974335, 0.0020647288765758276, -0.00814512837678194, 0.014512489549815655, 0.030225582420825958, 0.041771914809942245, -0.008345261216163635, -0.002867676317691803, 0.021335141733288765, 0.011359253898262978, 0.009589157067239285, -0.0282804686576128, -0.015576622448861599, 0.030457008630037308, -0.011085623875260353, 0.013515991158783436, -0.0009216293692588806, -0.07536986470222473, 0.012609445489943027, -0.03142072260379791, 0.005711341742426157, 0.041851650923490524, 0.0013115005567669868, 0.030198268592357635, -0.025822672992944717, -0.016690438613295555, -0.005307266488671303, -0.024725690484046936, 0.04394182935357094, -0.03700055554509163, 0.013959757052361965, 0.010955418460071087, -0.031185992062091827, -0.050990309566259384, 0.03641653060913086, 0.047834716737270355, -0.040072228759527206, 0.05851344019174576, 0.040674302726984024, -0.01870538294315338, 0.05000036582350731, -0.015874650329351425, -0.008478186093270779, -0.025055766105651855, 0.03160190209746361, 0.005580967292189598, 0.021561456844210625, 0.02749166637659073, -0.052118778228759766, 0.025266187265515327, 0.024733353406190872, -0.00009457191481487826, 0.011082290671765804, -0.004361310042440891, -0.021573787555098534, -0.016102729365229607, 0.06440141052007675, 0.07849211990833282, 0.054386965930461884, -0.0747029259800911, 0.05499869957566261, -0.011578441597521305, 0.011621643789112568, 0.03360828012228012, -0.037544701248407364, 0.03130960837006569, 0.021328656002879143, 0.03515606001019478, 0.03584560379385948, -0.02435833215713501, 0.006601349916309118, -0.020309630781412125, -0.003304034471511841, -0.025041820481419563, -0.02840998023748398, -0.003073443192988634, -0.008394761011004448, 0.003752495162189007, -0.006530630402266979, -0.011268913745880127, -0.02985154278576374, -0.021219685673713684, 0.02580656111240387, -0.027089541777968407, 0.028532588854432106, 0.010463681071996689, 0.03406096249818802, -0.05938149616122246, -0.04212872311472893, 0.04092789813876152, -0.0034745880402624607, -0.009407947771251202, 0.03960651159286499, 0.07165850698947906, -0.04870796203613281, -0.014721265994012356, -0.02548009529709816, -0.013967368751764297, 0.0411255918443203, 0.05837857350707054, 0.06794434785842896, -0.03553877770900726, -0.027433842420578003, -0.022595183923840523, -0.04223364591598511, 0.05160042271018028, -0.05747362971305847, -0.047861646860837936, 0.012399209663271904, 0.0032638069242239, -0.0006384500884450972, 0.026292791590094566, 0.016243742778897285, 0.013818375766277313, 0.03824666514992714, 0.014114185236394405, -0.0229490976780653, -0.0009442566661164165, 0.05554455891251564, -0.010207954794168472, -0.0029103250708431005, 0.03493301197886467, -0.033947356045246124, -0.005724817514419556, -0.05476415157318115, -0.03144115209579468, -0.021293632686138153, 0.015120869502425194, 0.021979574114084244, 0.029017234221100807, -0.006824043113738298, 0.06384261697530746, 0.0260128453373909, 0.016798686236143112, 0.0009621379431337118, 0.012528788298368454, 0.042501453310251236, -0.001959283370524645, -0.011048453859984875, -0.03047301433980465, 0.010463317856192589, 0.01428080815821886, -0.0778300017118454, -0.016071947291493416, 0.012816352769732475, -0.034324921667575836, 0.030343111604452133, 0.034826405346393585, -0.011374694295227528, 0.02373194508254528, 0.005161270499229431, 0.0489865280687809, -0.039104536175727844, -0.03156084567308426, -0.02191009372472763, -0.030855393037199974, -0.015942420810461044, 0.02497945912182331, 0.05516563355922699, 0.004977555014193058, -0.029411256313323975, 0.014149683527648449, 0.008604259230196476, 0.06360520422458649, 0.016808105632662773, 0.0492548868060112, 0.012438449077308178, 0.08569347113370895, -0.010440198704600334, 0.01863047108054161, -0.005039725452661514, -0.035891517996788025, -0.011513308621942997, -0.014769894070923328, -0.018699316307902336, 0.02737218327820301, -0.03930739685893059, 0.02932930923998356, -0.03755224496126175, 0.019916685298085213, -0.0002815121551975608, 0.01091967523097992, 0.015949347987771034, 0.02018384076654911, -0.007481359411031008, 0.061249714344739914, 0.023345300927758217, 0.034550249576568604, 0.012784729711711407, 0.06159888580441475, 0.004198020324110985, -0.010287054814398289, 0.0011686262441799045, 0.06088927015662193, 0.0357646718621254, 0.007216461002826691, -0.028418073430657387, 0.015955157577991486, -0.013626070693135262, -0.015300708822906017, -0.0355110764503479, -0.03509683534502983, 0.0007360854069702327, -0.01949050836265087, -0.02261541783809662, 0.013581769540905952, -0.0029470552690327168, 0.00709116505458951, 0.03750265762209892, 0.023795558139681816, -0.0013819816522300243, -0.0011933137429878116, 0.024180985987186432, 0.0028171497397124767, -0.043528031557798386, 0.04343659058213234, -0.0323600247502327, 0.029091686010360718, -0.0024972727987915277, -0.06201129034161568, -0.021362682804465294, -0.01739213801920414, 0.023103032261133194, -0.0018548407824710011, -0.013771513476967812, 0.024562209844589233, -0.004994145128875971, 0.012541942298412323, 0.055581629276275635, 0.007556486409157515, 0.009435768239200115, 0.019041026011109352, 0.0015212837606668472, -0.0216282419860363, 0.005550958216190338, 0.019616609439253807, -0.023516159504652023, -0.025765027850866318, -0.046980928629636765, -0.005367868114262819, -0.02005796879529953, 0.027292368933558464, 0.005772643722593784, 0.03693856671452522, -0.036333076655864716, -0.014306021854281425, -0.034807369112968445, 0.031208161264657974, -0.01649540662765503, 0.02567722648382187, 0.04236830398440361, 0.014338944107294083, -0.018407229334115982, -0.012840732000768185, -0.0010810581734403968, -0.03192520886659622, -0.013761250302195549, 0.0007455125451087952, -0.009180664084851742, -0.04524877667427063, -0.009560910053551197, 0.03728495165705681, 0.031504206359386444, 0.028949445113539696, 0.024796416983008385, -0.02382604219019413, -0.006839965935796499, -0.08559836447238922, 0.014217308722436428, -0.02778659388422966, -0.027411794289946556, -0.02235729992389679, -0.048888396471738815, 0.0011428175494074821, -0.021239018067717552, 0.010807869024574757, -0.000766025681514293, -0.03942690044641495, -0.013476950116455555, -0.00841466337442398, 0.027414044365286827, -0.01913687214255333, 0.018644653260707855, 0.011572659015655518, -0.015993747860193253, -0.02478880248963833, -0.006106996443122625, 0.036312732845544815, 0.014331892132759094, 0.013692600652575493, -0.015721768140792847, 0.05274133384227753, 0.004098206292837858, -0.010150470770895481, -0.004315716214478016, 0.01375784445554018, 0.04628884047269821, -0.03527349978685379, 0.03871101140975952, 0.0038344915956258774, 0.04364439472556114, 0.0019789079669862986, 0.020607924088835716, 0.018038155511021614, -0.019782301038503647, 0.025823134928941727, 0.0002605986956041306, -0.006515990011394024, -0.034221101552248, -0.010942567139863968, -0.03049890138208866, 0.0031755133531987667, 0.04173985868692398, 0.016990970820188522, 0.03413736820220947, -0.01698463223874569, 0.030994687229394913, -0.007751073222607374, 0.039519622921943665, 0.0032980432733893394, 0.017568567767739296, -0.03831024095416069, -0.031854961067438126, -0.040500372648239136, 0.026633186265826225, -0.017504796385765076, -0.031207839027047157, 0.028855929151177406, 0.0047304388135671616, -0.026905959472060204, -0.013606221415102482, -0.020374054089188576, 0.004283730406314135, -0.016808196902275085, -0.02576499432325363, -0.01824042573571205, 0.031745489686727524, 0.03620482236146927, -0.011920089833438396, 0.008218131959438324, 0.03764266520738602 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Best piece of advice for someone looking to get into AI? Meg: Depends on who the person is. If they have marginalized characteristics I would give very different advice. For example, if it was a woman I would say, 'Don’t listen to your supervisors saying you aren’t good at this. Chances are you are just thinking about things differently than they are used to so have confidence in yourself.' If it’s someone with more majority characteristics I’d say, 'Forget about the pipeline problem, pay attention to the people around you and make sure that you hold them up so that the pipeline you’re in now becomes less of a problem.' Also, 'Evaluate your systems'.
[ 0.06515161693096161, -0.047910891473293304, -0.01834256574511528, 0.03696265444159508, 0.06311669945716858, 0.05791473388671875, -0.04388848692178726, 0.038010384887456894, -0.047874148935079575, -0.06717151403427124, -0.04080855846405029, 0.07078088819980621, -0.02707088179886341, 0.0028997573535889387, 0.002823040820658207, -0.042175471782684326, 0.06033853814005852, -0.025405846536159515, -0.02588585391640663, -0.022075336426496506, -0.002219428541138768, 0.0421551838517189, 0.055250149220228195, -0.0007448674296028912, -0.01139738131314516, -0.06421884894371033, 0.015391168184578419, 0.02251112088561058, -0.0691310316324234, 0.008864998817443848, -0.08168035000562668, -0.02206973172724247, 0.0059526595287024975, -0.026900209486484528, 0.010914490558207035, 0.02484978176653385, -0.06855883449316025, 0.0706387609243393, 0.046817999333143234, 0.04178967699408531, -0.01563647761940956, -0.05057985335588455, -0.061309508979320526, 0.04335303604602814, -0.0595485158264637, -0.0580899752676487, -0.20287930965423584, 0.04879976063966751, -0.027012119069695473, -0.04950188100337982, 0.009111098013818264, 0.06111763045191765, -0.006629229988902807, -0.00806462112814188, 0.03602322190999985, 0.0371486097574234, 0.026589052751660347, -0.06877323240041733, -0.056207772344350815, -0.010908607393503189, 0.0666893720626831, 0.03908615931868553, -0.016807107254862785, 0.015523574315011501, 0.056304436177015305, -0.027223972603678703, 0.014808756299316883, -0.00427293824031949, -0.11327872425317764, -0.012583954259753227, 0.017549695447087288, -0.06423977762460709, -0.006553032901138067, -0.06560768932104111, -0.004878124222159386, -0.0997646227478981, 0.07480756938457489, 0.04341241717338562, -0.007954303175210953, 0.010649031959474087, -0.022944903001189232, 0.021512029692530632, 0.02670707181096077, 0.11106271296739578, 0.01944284699857235, 0.01976056583225727, 0.07406997680664062, 0.03741341084241867, -0.06920592486858368, 0.0957225039601326, 0.012676827609539032, -0.07707672566175461, 0.026140937581658363, 0.04284815862774849, 0.08170890063047409, -0.056151214987039566, 0.03354725241661072, 0.014729015529155731, -0.0137491375207901, -0.00602756766602397, -0.03876403346657753, -0.0025729190092533827, 0.0627497136592865, -0.0450870580971241, -0.06506814807653427, 0.03711387515068054, 0.020310262218117714, -0.031885866075754166, -0.08291984349489212, 0.019542697817087173, -0.049745380878448486, -0.019102582708001137, 0.051871899515390396, 0.040388308465480804, -0.0544251911342144, 0.05457192286849022, 0.021844210103154182, -0.017663439735770226, 0.052408162504434586, 0.04485367238521576, 0.07985130697488785, 0.036388132721185684, 0.012211968190968037, -0.001035474007949233, -0.010708093643188477, -0.02520786225795746, 0.02085799351334572, 0.030583087354898453, 0.010540775954723358, -0.040449727326631546, 0.016463574022054672, -0.03792422264814377, -0.02489110827445984, -0.011753310449421406, 0.021699579432606697, -0.05383053794503212, 0.0072260163724422455, -0.04777422547340393, 0.04556213691830635, -0.030165525153279305, -0.04097117483615875, 0.02044219896197319, 0.027161816135048866, 0.048819709569215775, 0.06597503274679184, -0.01329176314175129, -0.07709299027919769, -0.034612011164426804, -0.00010131805174751207, 0.07340164482593536, -0.07342617958784103, 0.10931124538183212, -0.0772218331694603, -0.07085277885198593, 0.03529884293675423, 0.05387428030371666, 0.0007475085440091789, -0.012073765508830547, 0.04613228514790535, -0.023144878447055817, 0.04516259580850601, -0.01990743726491928, 0.02059720829129219, 0.009175067767500877, 0.04072269797325134, -0.044443413615226746, -0.009561162441968918, -0.04171642288565636, -0.04462848976254463, 0.03958483412861824, 0.044002238661050797, -0.009099635295569897, 0.037462327629327774, -0.07591383159160614, 0.012024952098727226, 0.05581066384911537, 0.01093989610671997, 0.04902772232890129, -0.02335023134946823, -0.026299385353922844, -0.025168687105178833, 0.037258122116327286, -0.05619838088750839, 0.08147213608026505, 0.018837453797459602, -0.0730564221739769, -0.042192600667476654, -0.00826322939246893, 0.017734533175826073, 0.02049851417541504, -0.03849424049258232, -0.048774171620607376, 0.06649105250835419, 0.006883376277983189, 0.043790288269519806, -0.07351992279291153, -0.02690766751766205, 0.09687696397304535, 0.015580895356833935, 0.03175438195466995, 0.055205222219228745, -0.060765042901039124, 0.03621480241417885, -0.07283186912536621, -0.004320430103689432, -0.0021202219650149345, 0.056997183710336685, 0.0012835584348067641, 0.008499207906425, 0.10178490728139877, 0.008705859072506428, -0.06060045212507248, 0.02043744921684265, -0.07052794098854065, -0.04254864901304245, 0.032899707555770874, -0.037523794919252396, -0.0021955124102532864, -0.013261563144624233, -0.00041527266148477793, 0.14706631004810333, -0.055333711206912994, -0.00983839575201273, 0.042449962347745895, 0.03244573622941971, 0.04872607812285423, 0.08435022830963135, 0.027262860909104347, 0.06709574908018112, -0.07794056832790375, -0.022853843867778778, 0.06000647321343422, 0.04512622952461243, 0.011231792159378529, -0.005393837578594685, 0.03288284316658974, 0.023940639570355415, 0.022218141704797745, 0.03605711832642555, -0.014646120369434357, -0.06692850589752197, -0.058245666325092316, -0.010296317748725414, 0.04601600393652916, -0.03363808989524841, 0.025714417919516563, 0.039077773690223694, 0.012746822088956833, 0.04801596328616142, 0.06055128946900368, -0.062299445271492004, 0.05210544914007187, -0.011613383889198303, 0.018243826925754547, -0.002274058060720563, -0.00923048984259367, 0.023729655891656876, 0.006321542430669069, -0.052166689187288284, 0.007252333220094442, 0.02573692612349987, -0.013111413456499577, -0.04816718399524689, -0.012941146269440651, 0.020833874121308327, 0.003527594730257988, -0.032337337732315063, -0.020407909527420998, -0.004760262556374073, 0.021433789283037186, 0.0023819024208933115, -0.0026548728346824646, 0.060110148042440414, 0.005012527573853731, -0.03373362869024277, 0.009400581941008568, 0.015073088929057121, 0.000060556416428880766, 0.002777530811727047, -0.01556016318500042, 0.016740303486585617, 0.0010272396029904485, 0.0053298622369766235, 0.08716697990894318, -0.024467339739203453, -0.03992926701903343, -0.024488678202033043, 0.0007360710296779871, -0.028134729713201523, 0.02397782728075981, -0.009547470137476921, 0.057979438453912735, -0.024071043357253075, -0.04046070575714111, -0.02980993688106537, -0.0022224218118935823, 0.007073648273944855, 0.012518567033112049, -0.001565836719237268, -0.032551418989896774, 0.009635654278099537, 0.034892600029706955, -0.005609844345599413, 0.006480936426669359, -0.02711544558405876, 0.040399931371212006, -0.020577454939484596, 0.011087584309279919, -0.10763058811426163, -0.0345260389149189, 0.006152376998215914, 0.0149914575740695, 0.035848621279001236, -0.02554933913052082, 0.06325613707304001, 0.003664927091449499, -0.028703300282359123, -0.04410518705844879, -0.014376342296600342, 0.011019392870366573, -0.014066886156797409, 0.02792789600789547, 0.013653741218149662, -0.0013136741472408175, 0.024037674069404602, -0.037393540143966675, 0.007713025901466608, 0.012323597446084023, -0.03339902684092522, 0.06039063632488251, -0.03142130747437477, 0.04928094521164894, 0.047894589602947235, -0.003788718953728676, 0.004589424002915621, 0.048541683703660965, 0.010491096414625645, -0.024513978511095047, -0.01158812828361988, 0.03406527638435364, -0.0627405121922493, -0.008365797810256481, -0.011043821461498737, 0.012647154740989208, 0.02914394810795784, 0.023760981857776642, 0.011532322503626347, 0.05870833992958069, -0.004035723861306906, -0.040626298636198044, -0.007663434371352196, -0.02212190441787243, -0.003162616165354848, -0.026327256113290787, -0.010296091437339783, -0.01756586693227291, 0.03928814455866814, -0.08831227570772171, -0.02067556232213974, 0.009638345800340176, 0.02246859483420849, 0.032273899763822556, 0.018285810947418213, 0.012374001555144787, -0.003864980535581708, 0.0582725927233696, -0.0016750458162277937, -0.013772614300251007, -0.03115137852728367, 0.03408355265855789, 0.027878116816282272, -0.015843424946069717, -0.04063818231225014, 0.00046761997509747744, 0.011911194771528244, 0.015115531161427498, 0.03207961842417717, 0.024036303162574768, 0.07782130688428879, 0.03620384633541107, 0.026669904589653015, 0.0012639914639294147, -0.0010615024948492646, -0.0029211535584181547, -0.05609191954135895, 0.018047373741865158, 0.06827782839536667, -0.0048362514935433865, -0.03575385361909866, -0.029958978295326233, -0.04702555015683174, -0.05873049050569534, -0.034479688853025436, 0.0047729345969855785, 0.06467900425195694, -0.00314325955696404, -0.03282321244478226, 0.04134730249643326, 0.013464968651533127, -0.04427742958068848, 0.02021103724837303, 0.0025620576925575733, 0.021649189293384552, -0.009464981965720654, 0.006855446845293045, -0.019046952947974205, -0.03726397082209587, -0.0007736439583823085, 0.01959967240691185, -0.06434698402881622, -0.020274698734283447, -0.01780763268470764, 0.023477641865611076, 0.03191235288977623, 0.02081635221838951, -0.0520285926759243, 0.01104644127190113, -0.009051418863236904, 0.0024368970189243555, -0.01819881983101368, 0.01757422648370266, -0.032844603061676025, 0.008639996871352196, 0.00122766790445894, -0.009416069835424423, -0.006970283109694719, -0.009024936705827713, 0.0012316013453528285, -0.022580163553357124, -0.008354262448847294, -0.009157100692391396, -0.012177256867289543, 0.02299748919904232, 0.008990813978016376, 0.010968293063342571, -0.0031643419060856104, 0.012831497937440872, -0.026253797113895416, 0.018106352537870407, -0.01336453016847372, 0.01710318773984909, -0.02232368104159832, -0.015694675967097282, -0.029081586748361588, -0.030014120042324066, 0.04492492228746414, -0.03290669247508049, 0.004089859314262867, 0.010958988219499588, 0.016499558463692665, 0.038906995207071304, -0.04216718301177025, 0.024145029485225677, -0.0011652294779196382, -0.06696347147226334, 0.004660092759877443, -0.013181481510400772, 0.048440784215927124, 0.018450524657964706, 0.0003556368756107986, 0.0030752450693398714, 0.014316380023956299, 0.024722186848521233, -0.05870749428868294, -0.015821408480405807, -0.0002558940614107996, -0.0653010755777359, 0.016762932762503624, -0.012049255892634392, -0.018101707100868225, -0.008956505917012691, 0.0067609441466629505, 0.04356727749109268, 0.0012456562835723162, -0.009247399866580963, -0.031807344406843185, -0.010019160807132721, 0.03707687184214592, 0.00014140178973320872, 0.023437023162841797, 0.025998642668128014, -0.050689514726400375, -0.007600742392241955, 0.04360633343458176, 0.021731175482273102, 0.01837380975484848, -0.027158763259649277, 0.0034289308823645115, 0.015703110024333, -0.02622498758137226, 0.02226441539824009, -0.021841956302523613, 0.011453512124717236, 0.028770310804247856, 0.04637105390429497, 0.059536028653383255, -0.02225736528635025, 0.011897855438292027, 0.031052572652697563, 0.009831123985350132, -0.0015480178408324718, -0.04578344523906708, 0.01906402036547661, -0.017369527369737625, 0.02080582082271576, 0.0036886760499328375, -0.005819458980113268, 0.007605335209518671, 0.021556276828050613, 0.036974456161260605, 0.015139095485210419, -0.008902267552912235, 0.03504995256662369, -0.012525615282356739, -0.029412029311060905, 0.011127430945634842, -0.009583549574017525, -0.0035437436308711767, -0.03257006034255028, 0.008357910439372063, 0.014984735287725925, -0.03692913055419922, 0.007151390425860882, -0.04140175133943558, -0.054677564650774, 0.05979835242033005, 0.026862148195505142, 0.04634920507669449, -0.021471381187438965, -0.014217209070920944, -0.06073233112692833, 0.017336253076791763, 0.020693382248282433, -0.0036427320446819067, -0.015532927587628365, 0.02210218645632267, -0.012941085733473301, 0.01766817830502987, 0.00424714433029294, 0.0024903316516429186, 0.008889773860573769, 0.04397125169634819, 0.01749119907617569, -0.02600962668657303, -0.022183233872056007, 0.05021614953875542, 0.03167092800140381, -0.012307371012866497, -0.007507996167987585, -0.016602693125605583, -0.026450198143720627, -0.0380152128636837, -0.04177657514810562, 0.011416337452828884, 0.023787135258316994, 0.019153855741024017, -0.03634568676352501, 0.002096682321280241, 0.049168217927217484, 0.023668883368372917, -0.013046935200691223, -0.0007531613227911294, 0.01766868121922016, 0.011385892517864704, 0.027428021654486656, -0.005333704873919487, -0.015807829797267914, 0.000295875157462433, 0.026183901354670525, -0.06823945045471191, -0.01916973851621151, 0.00011087587336078286, -0.009575912728905678, 0.04570772498846054, 0.006776939611881971, -0.041157666593790054, 0.0028060772456228733, 0.004743895959109068, 0.059686847031116486, -0.003027228871360421, 0.021108044311404228, 0.02820757031440735, 0.00339871016331017, -0.04491696134209633, 0.0013515471946448088, 0.074050173163414, -0.02370721660554409, 0.015984024852514267, 0.02889077551662922, 0.025410868227481842, 0.020060287788510323, -0.02015453763306141, 0.015336469747126102, 0.00844146404415369, 0.08140433579683304, 0.026403294876217842, 0.03341333568096161, 0.06288991868495941, -0.015897639095783234, -0.04526481404900551, 0.0055082328617572784, -0.020191187039017677, 0.006519193295389414, 0.042030639946460724, 0.015552906319499016, -0.035645999014377594, 0.013361090794205666, -0.03207479417324066, 0.011049951426684856, -0.0024615302681922913, 0.028471102938055992, -0.018684029579162598, 0.04559899866580963, 0.017314093187451363, 0.030708979815244675, -0.03718830272555351, 0.056367598474025726, 0.006396840326488018, 0.005148661322891712, 0.04560757055878639, 0.016592340543866158, 0.035271428525447845, 0.011741339229047298, -0.00040281665860675275, 0.0015725468983873725, 0.016507267951965332, -0.01623399183154106, -0.026898737996816635, -0.003285859478637576, -0.036371443420648575, -0.019908715039491653, -0.038562968373298645, 0.0005509221809916198, -0.03327976539731026, -0.019704291597008705, 0.022122636437416077, 0.00032834080047905445, -0.014911762438714504, -0.0024459033738821745, 0.06677935272455215, 0.010515458881855011, 0.00005352395965019241, 0.007860474288463593, -0.011405891738831997, 0.035715337842702866, 0.005542523227632046, -0.042158838361501694, -0.037923023104667664, -0.01645066775381565, 0.012787112034857273, -0.020086804404854774, 0.036150384694337845, -0.03787778317928314, -0.01763520948588848, 0.032370492815971375, 0.02394167333841324, -0.022779013961553574, 0.03446391224861145, 0.012625952251255512, -0.021747684106230736, -0.0012129046954214573, -0.00806157011538744, -0.04456613212823868, -0.005455323960632086, -0.03003801964223385, -0.05095433071255684, -0.0033044032752513885, -0.035704564303159714, 0.0037950403057038784, -0.00593080697581172, 0.00508313300088048, -0.01983407884836197, 0.01729581132531166, 0.01974603720009327, -0.015851568430662155, -0.026359878480434418, 0.006744712591171265, -0.0037197312340140343, -0.027230799198150635, 0.004793733824044466, -0.026837022975087166, 0.03260662034153938, 0.011744915507733822, 0.014541949145495892, 0.011579575948417187, -0.01423641573637724, -0.04002714529633522, -0.012006253004074097, 0.019742025062441826, -0.0040372032672166824, 0.013896525837481022, 0.020202359184622765, 0.021002620458602905, -0.03300578147172928, -0.03459693118929863, 0.006074442062526941, 0.004165383521467447, 0.017834162339568138, -0.02027924731373787, -0.010733592323958874, -0.04092564061284065, -0.004640592262148857, -0.019730499014258385, -0.008903627283871174, -0.0785265639424324, -0.025727754458785057, 0.005290667526423931, 0.0362510159611702, -0.054993726313114166, 0.006890260148793459, 0.06001832336187363, 0.021104952320456505, 0.011014158837497234, -0.020427411422133446, 0.0022039315663278103, -0.0053150649182498455, -0.008087518624961376, 0.018915127962827682, 0.014030801132321358, -0.007336163427680731, -0.023129334673285484, -0.009996311739087105, 0.03953012451529503, 0.015361909754574299, -0.04032459110021591, -0.008808694779872894, 0.048261865973472595, 0.006379591766744852, 0.015455168671905994, -0.05165622755885124, -0.011054624803364277, -0.012886356562376022, 0.031561605632305145, 0.018386369571089745, -0.033618438988924026, 0.012903212569653988, 0.02495201677083969, -0.035118356347084045, 0.00040502616320736706, 0.0030675483867526054, 0.024272147566080093, 0.008296814747154713, 0.027000971138477325, -0.03150768578052521, 0.04044211655855179, -0.01021245215088129, 0.009813269600272179, 0.00019927116227336228, -0.02174905315041542, -0.028054997324943542, -0.016988281160593033, 0.052624065428972244, -0.024963734671473503, -0.04565245285630226, 0.016017448157072067, -0.01858368143439293, -0.016109202057123184, 0.02269458770751953, 0.012773173861205578, -0.05016523599624634, -0.0067561049945652485, 0.0012817354872822762, -0.036404307931661606, 0.044326215982437134, 0.04557841643691063, 0.02388921193778515, 0.027824679389595985, 0.011279123835265636 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
How can ML teams be more aware of harmful bias? Meg: A primary issue is that these concepts haven't been taught and most teams simply aren’t aware. Another problem is the lack of a lexicon to contextualize and communicate what is going on. For example: - This is what marginalization is - This is what a power differential is - Here is what inclusion is - Here is how stereotypes work Having a better understanding of these pillars is really important. Another issue is the culture behind machine learning. It’s taken a bit of an ‘Alpha’ or ‘macho’ approach where the focus is on ‘beating’ the last numbers, making things ‘faster’, ‘bigger’, etc. There are lots of parallels that can be made to human anatomy. There’s also a very hostile competitiveness that comes out where you find that women are disproportionately treated as less than. Since women are often much more familiar with discrimination women are focusing a lot more on ethics, stereotypes, sexism, etc. within AI. This means it gets associated with women more and seen as less than which makes the culture a lot harder to penetrate. It’s generally assumed that I’m not technical. It’s something I have to prove over and over again. I’m called a linguist, an ethicist because these are things I care about and know about but that is treated as less-than. People say or think, “You don’t program, you don’t know about statistics, you are not as important,” and it’s often not until I start talking about things technically that people take me seriously which is unfortunate. There is a massive cultural barrier in ML.
[ 0.02467448264360428, -0.05737357959151268, -0.006928467191755772, 0.034946754574775696, 0.04532783105969429, 0.015863711014389992, -0.011871314607560635, 0.026518428698182106, -0.022143980488181114, -0.05768279358744621, -0.0913027822971344, 0.060279980301856995, -0.006304463837295771, 0.07773702591657639, 0.028102489188313484, -0.02189226821064949, 0.02738538198173046, 0.006602348294109106, 0.011114896275103092, 0.00011781887587858364, -0.02886284701526165, -0.009939305484294891, 0.06303206831216812, -0.04657493159174919, 0.002834360348060727, -0.023689983412623405, 0.05592581629753113, -0.003894072724506259, -0.09672548621892929, 0.03796382620930672, -0.05723971500992775, 0.005780874285846949, -0.004337577149271965, 0.010697150602936745, -0.038463592529296875, 0.02151544950902462, -0.0876111313700676, 0.06708817183971405, 0.04155341163277626, 0.0226352047175169, -0.00031451700488105416, -0.057985302060842514, -0.0902986079454422, 0.06547658145427704, -0.009117827750742435, -0.04051695019006729, -0.1881248652935028, 0.059898074716329575, -0.04217599704861641, -0.010254834778606892, -0.10612562298774719, 0.005877475254237652, -0.011544601991772652, 0.005153223872184753, -0.02365969307720661, -0.02602842077612877, -0.010395113378763199, -0.05861201509833336, -0.0243043415248394, -0.014730066061019897, 0.0387309268116951, 0.03429107367992401, 0.010387611575424671, -0.04159093648195267, 0.04893789067864418, -0.03372889384627342, 0.03738763555884361, -0.014422532171010971, -0.08578299731016159, -0.022525358945131302, -0.008496185764670372, -0.05563760921359062, -0.08482130616903305, -0.044629454612731934, 0.016222773119807243, -0.05786038562655449, 0.0025468238163739443, 0.021015629172325134, -0.007798853795975447, 0.0006373997894115746, -0.02290932647883892, 0.03775946795940399, 0.09882757812738419, 0.07329834997653961, -0.013504134491086006, 0.005773932207375765, 0.06207426264882088, 0.014218898490071297, 0.02351902611553669, 0.10842146724462509, 0.03295620158314705, -0.09281577914953232, 0.027378078550100327, 0.030870957300066948, 0.04774260148406029, -0.06430904567241669, 0.08662161231040955, 0.005938239395618439, 0.0009111440158449113, 0.0032475271727889776, -0.06798234581947327, 0.006710818037390709, 0.04526485875248909, -0.012842650525271893, -0.07590741664171219, 0.0498165600001812, 0.024720806628465652, -0.026882292702794075, -0.05192485451698303, 0.020203275606036186, -0.05895991623401642, 0.0322427935898304, -0.008212233893573284, 0.02215871959924698, -0.07493288815021515, 0.03512020781636238, 0.030217984691262245, 0.0031479846220463514, 0.018740639090538025, 0.04250267520546913, 0.04580068215727806, 0.05778728425502777, -0.012695268727838993, 0.02893107570707798, -0.04014879837632179, 0.001759959734044969, 0.054823994636535645, 0.03875383362174034, 0.041855841875076294, -0.07966035604476929, -0.017153846099972725, -0.009494246914982796, -0.057460568845272064, -0.00956936739385128, 0.019748177379369736, -0.040671948343515396, 0.020310640335083008, -0.03195799142122269, 0.018173737451434135, -0.021286554634571075, -0.08345665037631989, -0.009471435099840164, -0.007705541327595711, -0.008291946724057198, 0.08316308259963989, -0.009357458911836147, -0.06150631979107857, 0.018361955881118774, 0.013552838936448097, 0.0011537492973729968, -0.0921853557229042, 0.05005804821848869, -0.02540082111954689, -0.1049012839794159, -0.0016179130179807544, 0.0899791568517685, -0.011362321674823761, -0.045437201857566833, -0.009706614539027214, 0.026221219450235367, -0.029270881786942482, -0.10566116869449615, -0.02401566505432129, -0.0029953005723655224, 0.05595343932509422, -0.01738245040178299, -0.007038296200335026, -0.010236327536404133, -0.024107815697789192, 0.07421974092721939, -0.004531537182629108, -0.0457846038043499, 0.04120646417140961, 0.026810532435774803, -0.012544720433652401, 0.07278008759021759, -0.028621181845664978, 0.028260037302970886, -0.034407708793878555, 0.03139273822307587, -0.04240543022751808, 0.08067677170038223, -0.020940003916621208, 0.04268168658018112, 0.07716714590787888, -0.06797617673873901, 0.0015651271678507328, -0.06052533909678459, -0.01576978527009487, 0.028830936178565025, -0.08015145361423492, 0.0116585036739707, 0.07613777369260788, 0.010655844584107399, 0.02237822487950325, -0.08537239581346512, -0.011049727909266949, 0.13227637112140656, -0.02413271926343441, 0.04616914689540863, 0.05524192750453949, -0.03102683648467064, -0.026728110387921333, -0.025065962225198746, 0.02071000076830387, 0.048017702996730804, 0.04515863209962845, -0.05098466947674751, 0.0020368658006191254, 0.04311717674136162, -0.007452554535120726, -0.08028756827116013, 0.0007961411029100418, -0.05074882134795189, -0.019495133310556412, 0.01690828986465931, 0.04037219285964966, 0.01256577204912901, -0.0038268566131591797, -0.058341607451438904, 0.12716560065746307, -0.07586303353309631, 0.02976997010409832, 0.05612945184111595, 0.03610297292470932, 0.010821228846907616, 0.07607010006904602, 0.037725742906332016, 0.12673768401145935, -0.0694006085395813, -0.03630002215504646, 0.01213248074054718, 0.019676871597766876, -0.0016160899540409446, -0.053940299898386, -0.004971260204911232, 0.00007559572259197012, 0.04168742895126343, 0.03523316606879234, -0.02246529422700405, -0.030204061418771744, -0.06694471091032028, -0.013922886922955513, 0.057398613542318344, -0.0410061776638031, -0.04558313265442848, 0.08127687871456146, -0.036273930221796036, 0.002049865899607539, 0.03432822972536087, -0.04235820472240448, 0.0429706797003746, -0.025275442749261856, -0.03031133860349655, -0.031068800017237663, 0.07857950776815414, 0.046743571758270264, 0.008405094966292381, -0.02372339554131031, 0.029945993795990944, 0.01636095531284809, -0.010748498141765594, -0.0011951180640608072, -0.05179682746529579, -0.002517001936212182, -0.03407864645123482, -0.041590847074985504, 0.022045042365789413, 0.01994556561112404, 0.051189929246902466, 0.02252124808728695, -0.035094890743494034, 0.03659747168421745, 0.015585482120513916, -0.014745980501174927, 0.0052164653316140175, 0.009306450374424458, -0.04001040756702423, -0.005182360764592886, -0.05001687631011009, -0.00016199180390685797, -0.006287962663918734, 0.05379876121878624, 0.04847409203648567, -0.010761113837361336, 0.005397485569119453, -0.026858193799853325, -0.01653582975268364, -0.027630556374788284, 0.04107360541820526, -0.0022313958033919334, 0.04563681781291962, -0.01723267324268818, -0.02397170476615429, 0.01229654811322689, -0.015616703778505325, -0.027368340641260147, 0.00946726929396391, -0.01874512806534767, 0.008383252657949924, -0.01967477798461914, 0.051412008702754974, -0.0014217993011698127, 0.010319164954125881, -0.02956748940050602, 0.055628057569265366, -0.011758080683648586, 0.029324069619178772, -0.10405181348323822, -0.016248174011707306, 0.007697493769228458, 0.03795330971479416, -0.013602407649159431, -0.023062480613589287, 0.03734676167368889, -0.0075782169587910175, -0.01041711401194334, -0.01727776974439621, -0.015714585781097412, 0.024812303483486176, 0.01847856119275093, 0.02432943321764469, 0.0057061160914599895, 0.018001776188611984, 0.0021571540273725986, -0.007158951368182898, 0.019214222207665443, 0.03153648599982262, -0.034428633749485016, 0.044108130037784576, 0.003756418824195862, 0.017522616311907768, -0.02266395092010498, 0.05933261290192604, 0.000039342390664387494, 0.05867407098412514, 0.019291631877422333, -0.014022731222212315, -0.02386033907532692, 0.007751145400106907, -0.054550908505916595, -0.021056871861219406, -0.00477707339450717, -0.001757721183821559, 0.002843261929228902, 0.021980252116918564, 0.02574528567492962, 0.022790901362895966, 0.00647074356675148, 0.012673669494688511, 0.027766067534685135, -0.0008824333199299872, -0.015690697357058525, 0.01432296633720398, -0.01155525166541338, -0.05661369860172272, 0.01785760000348091, -0.013781308196485043, -0.034857261925935745, -0.024001594632864, -0.008459910750389099, 0.06759468466043472, -0.006074575707316399, 0.015389312990009785, -0.005316643044352531, 0.010916143655776978, 0.019774451851844788, 0.015365472063422203, -0.006916841026395559, 0.0371687225997448, 0.04104788973927498, 0.003281563986092806, -0.04498619586229324, 0.006240954156965017, 0.04712473973631859, 0.02713054232299328, 0.008420584723353386, 0.0011097362730652094, 0.03082427754998207, 0.02956884354352951, 0.02903692238032818, 0.0028069461695849895, -0.0130226481705904, -0.006955847609788179, 0.0031928846146911383, -0.015415343455970287, 0.06371568143367767, -0.008814021944999695, 0.0029717094730585814, 0.0009319215314462781, -0.03150452673435211, -0.047721754759550095, 0.007344339042901993, -0.03665847331285477, 0.05277212709188461, 0.007546063978224993, -0.013917629607021809, 0.06764562427997589, -0.01959378831088543, -0.0570683516561985, 0.007236841134727001, -0.009995047934353352, -0.036993466317653656, 0.02515588514506817, 0.01982465386390686, 0.0071920971386134624, -0.006577260326594114, -0.0041266013868153095, -0.006253180559724569, -0.062084682285785675, -0.009596068412065506, -0.00225824024528265, 0.03480684384703636, 0.029298003762960434, -0.005102633032947779, -0.0587654709815979, 0.04053620249032974, -0.017253372818231583, 0.051990218460559845, 0.02664780057966709, 0.0005277476157061756, -0.015419842675328255, 0.018123958259820938, 0.004862901754677296, -0.005116714164614677, 0.016037113964557648, -0.010984184220433235, 0.021439800038933754, -0.02034974843263626, 0.014661102555692196, -0.04062296822667122, 0.011877303011715412, 0.02665865235030651, 0.005855150520801544, 0.014538636431097984, 0.0030573327094316483, 0.02465093694627285, -0.048312023282051086, -0.0026305431965738535, 0.015474536456167698, 0.022135388106107712, -0.0034693309571594, 0.051259513944387436, 0.01787727139890194, -0.033285997807979584, 0.03808918222784996, -0.015888940542936325, -0.038626573979854584, 0.021520858630537987, 0.007424740586429834, 0.030031997710466385, -0.039522696286439896, 0.010741581209003925, -0.022385675460100174, -0.06577164679765701, -0.03097233735024929, 0.014456437900662422, 0.0411987230181694, 0.012968464754521847, 0.004767481703311205, 0.012841477058827877, 0.013646631501615047, 0.04882649704813957, -0.03147618845105171, 0.0017578507540747523, 0.030271310359239578, -0.0451851449906826, 0.009784260764718056, -0.017733216285705566, 0.015792634338140488, -0.03312764689326286, 0.0007310537621378899, 0.032481059432029724, 0.005328819155693054, 0.025733502581715584, -0.045811496675014496, 0.0015981029719114304, -0.006712004542350769, -0.006466880906373262, 0.0007104232790879905, 0.0018834633519873023, -0.019002854824066162, 0.008125795982778072, 0.013395803049206734, 0.023051131516695023, 0.02574211359024048, -0.07024182379245758, 0.01688089407980442, -0.028570765629410744, 0.019841201603412628, 0.005688293371349573, 0.00602865032851696, 0.008821052499115467, 0.01686716638505459, 0.05016674846410751, 0.045429762452840805, 0.00791768729686737, 0.013255491852760315, -0.005551555193960667, 0.015361105091869831, 0.05382271111011505, -0.05256268009543419, 0.014076007530093193, -0.006164566148072481, 0.03361092135310173, 0.025515101850032806, -0.01585891656577587, -0.00787736289203167, 0.01950867287814617, 0.03284231945872307, 0.012596135959029198, -0.02891288883984089, 0.03429734334349632, 0.005305343773216009, -0.026502700522542, -0.02821405977010727, -0.006899773608893156, -0.021084565669298172, 0.013392316177487373, 0.002144708065316081, -0.0010453453287482262, -0.014104558154940605, 0.01808646321296692, -0.04871147871017456, -0.021142274141311646, 0.021936146542429924, 0.006251761689782143, 0.04454222694039345, -0.010441194288432598, 0.0011845672270283103, -0.05550723895430565, -0.029572566971182823, 0.05427990108728409, -0.04819165915250778, -0.0240954402834177, 0.0029220108408480883, 0.05584467574954033, -0.014204888604581356, 0.048400744795799255, 0.02695934846997261, 0.025583013892173767, 0.061157237738370895, 0.015437459573149681, -0.007476914208382368, -0.006377922371029854, 0.055776674300432205, 0.03477773815393448, -0.021824246272444725, -0.024711016565561295, -0.022886183112859726, -0.030700966715812683, 0.012294389307498932, -0.024392664432525635, 0.008785231038928032, 0.0041623846627771854, -0.015124740079045296, -0.04976029321551323, 0.02422322891652584, 0.046497754752635956, 0.01616349071264267, 0.03432339429855347, 0.007797258906066418, 0.024694209918379784, 0.031130731105804443, 0.017912792041897774, -0.021672310307621956, -0.010137300938367844, -0.027844462543725967, 0.009860661812126637, -0.06643985956907272, -0.0071426574140787125, 0.0057755145244300365, -0.045626264065504074, 0.018412986770272255, 0.01969885267317295, -0.04266398772597313, -0.005090742837637663, 0.02686833031475544, 0.041420966386795044, 0.00680192606523633, 0.003710418473929167, 0.000378108088625595, -0.009231684729456902, -0.02431458607316017, 0.002075379015877843, 0.040139470249414444, -0.038841839879751205, 0.01394358929246664, 0.01749109849333763, -0.006069347728043795, 0.036609094589948654, -0.015196685679256916, 0.030565451830625534, 0.012819003313779831, 0.08377334475517273, 0.0329001247882843, 0.025119304656982422, 0.00831731129437685, -0.018971893936395645, -0.009922785684466362, -0.01992451213300228, 0.008978438563644886, 0.0060846926644444466, 0.0213623046875, 0.03696469962596893, -0.05090032145380974, 0.002136750379577279, -0.047655463218688965, 0.0230542179197073, 0.021647142246365547, 0.024590447545051575, 0.010271020233631134, 0.05793943256139755, 0.06048019230365753, 0.023285774514079094, -0.018665945157408714, 0.044756848365068436, 0.004370206966996193, -0.0025031673721969128, 0.043140724301338196, 0.02702023647725582, 0.029827764257788658, 0.0034737985115498304, -0.024978116154670715, 0.005455952137708664, -0.004354539792984724, 0.0064246803522109985, 0.00452423607930541, -0.02174965851008892, -0.001624851138330996, -0.01586848497390747, -0.0477367527782917, -0.02356806769967079, -0.02378755994141102, 0.037786878645420074, 0.017397278919816017, 0.023681296035647392, 0.0042271725833415985, -0.008122319355607033, 0.06390757113695145, -0.015734590590000153, -0.006152949761599302, 0.0030510451178997755, -0.0711413025856018, 0.044643376022577286, -0.006649132817983627, -0.027210980653762817, -0.030985716730356216, -0.00837104395031929, -0.027648139744997025, 0.01817290671169758, -0.023375941440463066, -0.019204450771212578, -0.025712253525853157, 0.04519060254096985, -0.009178441017866135, -0.006137028336524963, 0.0479482039809227, 0.0191439688205719, -0.027612334117293358, -0.003550122957676649, -0.01830522157251835, -0.041347213089466095, -0.006830189842730761, -0.02402709424495697, -0.06373315304517746, 0.0027303637471050024, -0.019429856911301613, 0.004629671107977629, -0.012770027853548527, -0.002358576050028205, -0.039579134434461594, -0.0013132457388564944, 0.004206736106425524, 0.024000128731131554, -0.004236746113747358, -0.004612208344042301, 0.02414841577410698, -0.011335774324834347, -0.005307544022798538, -0.031550899147987366, -0.031110679730772972, -0.004500846844166517, 0.007385171949863434, 0.03470516949892044, -0.009700991213321686, -0.05187360197305679, -0.026280170306563377, 0.050578486174345016, 0.05481255054473877, 0.01754872500896454, 0.013976778835058212, 0.02972961962223053, -0.008702937513589859, -0.02775094471871853, 0.03784165531396866, -0.0014976738020777702, 0.03305504471063614, -0.05032163858413696, 0.00009259057696908712, -0.030350545421242714, -0.020180718973279, 0.019641362130641937, 0.028703365474939346, -0.04417049139738083, -0.022476311773061752, -0.006114952266216278, 0.02355704829096794, -0.05216770991683006, -0.04494447261095047, 0.05400367081165314, -0.015056155622005463, 0.0009599773911759257, -0.01912783645093441, 0.004467049613595009, 0.008596864528954029, 0.001739796600304544, -0.010515480302274227, 0.024046774953603745, -0.02515503205358982, -0.02015039324760437, 0.015294062905013561, 0.02831689640879631, -0.006975146010518074, 0.0039020045660436153, 0.0025465937796980143, 0.0154438316822052, -0.008950802497565746, -0.0043726721778512, -0.014781391248106956, 0.007002562750130892, 0.013288629241287708, 0.04023304954171181, -0.020823048427700996, -0.024346109479665756, 0.00583012355491519, -0.029094237834215164, -0.04386068508028984, 0.02203311026096344, -0.03446444869041443, -0.030033672228455544, 0.07322027534246445, 0.04049532860517502, -0.006888813804835081, 0.04171117767691612, -0.018524063751101494, -0.01994509994983673, 0.023304510861635208, -0.0238804928958416, -0.056643661111593246, -0.021373366937041283, 0.020187027752399445, -0.0150976050645113, -0.03470788896083832, -0.00945151038467884, 0.007352618500590324, 0.01542505994439125, 0.03583182394504547, 0.0006776501541025937, 0.031762510538101196, -0.005641695577651262, 0.00915477704256773, -0.02206331118941307, 0.045030854642391205, 0.05123969539999962, 0.015660515055060387, 0.03179735690355301, 0.02709268219769001 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Decision thresholds & model transparency Meg: When Amazon first started putting out facial recognition and facial analysis technology it was found that the gender classification was disproportionately bad for black women and Amazon responded by saying “this was done using the wrong decision threshold”. And then one of the police agencies who had been using one of these systems had been asked what decision threshold they had been using and said, “Oh we’re not using a decision threshold,”. Which was like oh you really don’t understand how this works and are using this out of the box with default parameter settings?! That is a problem. So minimally having this documentary brings awareness to decisions around the various types of parameters. Machine learning models are so different from other things we put out into the public. Toys, medicine, and cars have all sorts of regulations to ensure products are safe and work as intended. We don’t have that in machine learning, partly because it’s new so the laws and regulations don’t exist yet. It’s a bit like the wild west, and that’s what we’re trying to change with model cards.
[ 0.01112150214612484, -0.06558605283498764, -0.04449976980686188, 0.016486573964357376, 0.06933868676424026, 0.07338053733110428, -0.05221642926335335, 0.022035038098692894, -0.08186676353216171, -0.027358435094356537, -0.04873737692832947, 0.054025717079639435, -0.031148405745625496, 0.12387286871671677, -0.02955704554915428, -0.03407537564635277, -0.027615569531917572, 0.042964477092027664, -0.019757693633437157, 0.011114896275103092, -0.03156647831201553, -0.050517309457063675, 0.007757669314742088, -0.061665792018175125, -0.04868833348155022, -0.02341318130493164, 0.03842717409133911, -0.061615053564310074, -0.05239807814359665, 0.07747703790664673, -0.025962501764297485, -0.07282961905002594, -0.06408977508544922, -0.01485783327370882, -0.013762004673480988, 0.018598152324557304, -0.1069728210568428, 0.0430353544652462, 0.014951600693166256, 0.05186339467763901, -0.038001470267772675, -0.024599086493253708, -0.10668077319860458, 0.060407351702451706, -0.0529634989798069, 0.03372007980942726, -0.13853655755519867, 0.04001438617706299, 0.008927563205361366, 0.00682677561417222, -0.03787039965391159, 0.062181368470191956, -0.00007799708691891283, -0.007221744861453772, 0.013063584454357624, -0.0649130716919899, -0.022870786488056183, -0.04648870229721069, -0.02623569965362549, -0.002958098892122507, 0.047878116369247437, -0.014223969541490078, 0.07501356303691864, -0.054617106914520264, 0.08431869000196457, -0.052070699632167816, 0.08097019046545029, -0.010679288767278194, 0.024791086092591286, -0.03663257136940956, 0.009292724542319775, -0.05589153617620468, 0.03964783251285553, -0.04710191860795021, -0.05136054381728172, -0.019935760647058487, 0.06468728184700012, 0.014037441462278366, -0.01762196607887745, -0.04579376056790352, -0.0009837406687438488, -0.01843746192753315, 0.051791246980428696, 0.08056852221488953, -0.01918201707303524, -0.03596636652946472, 0.03795919939875603, -0.03613467514514923, 0.04893391579389572, 0.0676560029387474, -0.003195975674316287, -0.04520931467413902, 0.0300680473446846, -0.014369625598192215, 0.046396367251873016, -0.07010150700807571, 0.008731688372790813, -0.016551656648516655, 0.011032549664378166, -0.01942797563970089, -0.014129875227808952, -0.016445692628622055, 0.08814068138599396, -0.08284224569797516, -0.09933546930551529, 0.04864933341741562, 0.02219335362315178, -0.06143803894519806, -0.025012709200382233, 0.0409228652715683, 0.012313632294535637, -0.002262429567053914, 0.03388518467545509, 0.014080262742936611, -0.05223125219345093, 0.014878111891448498, 0.035110097378492355, -0.03068755939602852, 0.020216627046465874, 0.11114392429590225, 0.019786933436989784, 0.08927727490663528, 0.015707891434431076, -0.004109463654458523, -0.037829041481018066, -0.008494216948747635, 0.08676106482744217, 0.05944568291306496, 0.009690670296549797, 0.01905830018222332, 0.024486133828759193, 0.01847158931195736, -0.020325161516666412, -0.003394228871911764, -0.025503963232040405, -0.0763527899980545, -0.01953238807618618, -0.09315795451402664, 0.007329429499804974, -0.00037139214691706, -0.07594894617795944, -0.003815851639956236, 0.0006746411672793329, -0.004133916459977627, 0.03656896948814392, -0.03897504508495331, -0.029293863102793694, 0.035607531666755676, 0.017340069636702538, 0.01548891980201006, -0.12276291102170944, 0.12701454758644104, 0.035695645958185196, -0.13741250336170197, -0.024177726358175278, 0.03410089388489723, -0.03163832053542137, -0.03349287435412407, -0.027071742340922356, -0.045273177325725555, 0.012267469428479671, -0.0448170080780983, -0.05450594052672386, -0.001957832369953394, 0.04518212005496025, -0.0017290597315877676, -0.012068298645317554, 0.006134985014796257, -0.012597880326211452, 0.02699258364737034, -0.02247166447341442, -0.024214981123805046, 0.06586036086082458, -0.03596965968608856, -0.037238556891679764, 0.06586194038391113, -0.029524849727749825, 0.051979273557662964, -0.05096808448433876, 0.03143579885363579, -0.04481174051761627, 0.000823117617983371, -0.029247308149933815, 0.040094535797834396, 0.06102558225393295, -0.0710795670747757, 0.024595411494374275, -0.009584268555045128, -0.06926577538251877, 0.05510425567626953, -0.01381782628595829, -0.015579145401716232, 0.08716477453708649, 0.004935611505061388, -0.01447213813662529, -0.011435708962380886, -0.03951139375567436, 0.07837562263011932, -0.00030319156940095127, -0.00015306817658711225, 0.04302060976624489, -0.02105868048965931, -0.005578091833740473, -0.0540362112224102, -0.042091529816389084, 0.028857821598649025, 0.009088028222322464, 0.017128484323620796, -0.0018581132171675563, 0.04621732607483864, 0.007249671965837479, -0.09834326803684235, -0.030428757891058922, -0.013187473639845848, 0.04269332438707352, 0.048078637570142746, 0.00006011107689118944, 0.012145714834332466, -0.0053365398198366165, -0.03155910223722458, 0.08704230934381485, 0.010849245823919773, 0.018550856038928032, 0.0015174573054537177, 0.00472273537889123, -0.01828848198056221, 0.046928420662879944, 0.03731464222073555, 0.0566394180059433, -0.07712694257497787, 0.0014220960438251495, 0.07372639328241348, 0.004774778615683317, -0.04625504091382027, 0.04826976731419563, 0.015823829919099808, 0.02520161122083664, 0.0006382913561537862, 0.02471860684454441, -0.009594163857400417, -0.04586314037442207, -0.008309644646942616, -0.02364397794008255, 0.06137619912624359, -0.04105960205197334, -0.07875383645296097, 0.07501061260700226, 0.008173463866114616, -0.0899479016661644, 0.028217552229762077, -0.13208064436912537, 0.06385747343301773, -0.016969528049230576, 0.0315273255109787, -0.021778183057904243, 0.01954391598701477, 0.04368505999445915, -0.00961253046989441, 0.03377827629446983, 0.06154964119195938, 0.06592854857444763, -0.020664414390921593, -0.0367874875664711, -0.03179902210831642, -0.03524504601955414, -0.03380918875336647, -0.019489016383886337, 0.0061523886397480965, 0.004089926835149527, 0.04537338763475418, 0.030240707099437714, 0.010096972808241844, 0.0094025619328022, 0.012591908685863018, 0.01320874597877264, 0.04569762200117111, 0.04240039363503456, -0.05108782276511192, 0.01978648453950882, 0.0001213530995300971, 0.012632496654987335, 0.03761900216341019, 0.028629589825868607, 0.02851247973740101, 0.009747890755534172, -0.017466077581048012, -0.019834376871585846, 0.00034998584305867553, -0.054695744067430496, 0.03210711106657982, 0.03212641552090645, 0.013868860900402069, 0.014565498568117619, -0.0020041444804519415, -0.00047778055886738, 0.006894018966704607, 0.006213203072547913, 0.044129468500614166, 0.008565019816160202, -0.016152841970324516, -0.019985724240541458, 0.04144413769245148, -0.007144412491470575, -0.01389925554394722, 0.021748628467321396, 0.03162456303834915, 0.011948046274483204, 0.010350706987082958, -0.08876094222068787, 0.026754897087812424, -0.019615676254034042, 0.019014962017536163, -0.014030395075678825, -0.028481347486376762, 0.048248857259750366, -0.014974400401115417, 0.0013133957982063293, 0.013724392279982567, 0.015834137797355652, 0.007543747778981924, 0.007764524780213833, 0.052001576870679855, 0.000013366359780775383, 0.023982906714081764, -0.013507261872291565, -0.014539102092385292, 0.006131983362138271, 0.00231937482021749, -0.044172972440719604, 0.03429058939218521, -0.044374994933605194, -0.007922510616481304, -0.025006800889968872, 0.0029102195985615253, 0.020636197179555893, 0.01360992155969143, 0.031584519892930984, -0.014128751121461391, -0.03163420036435127, -0.023057997226715088, -0.07344095408916473, 0.017794379964470863, 0.00612964341416955, 0.01568198762834072, 0.03631867840886116, 0.007396613247692585, 0.007672612089663744, 0.03831939026713371, -0.021396294236183167, -0.007755044847726822, 0.028644729405641556, 0.019649526104331017, 0.009700535796582699, 0.028283821418881416, 0.03139861673116684, -0.0401274710893631, 0.00679470831528306, -0.06280964612960815, -0.04589083418250084, -0.03243691846728325, -0.0054065934382379055, 0.05128670856356621, 0.0077500492334365845, -0.010859236121177673, -0.04456682130694389, 0.03403880447149277, -0.012646614573895931, -0.0216867346316576, 0.003425769042223692, 0.02246977761387825, 0.019509365782141685, 0.03587798774242401, -0.05398507043719292, 0.009291259571909904, 0.044715169817209244, 0.008419574238359928, -0.010077678598463535, -0.05385976657271385, 0.025303205475211143, 0.03311069682240486, 0.0017794062150642276, -0.00017564126756042242, -0.021627437323331833, -0.03530080243945122, -0.00023232177773024887, 0.014155703596770763, 0.010327288880944252, 0.05740917846560478, 0.0010286957258358598, -0.003750277915969491, -0.022910572588443756, -0.028548989444971085, 0.009113875217735767, -0.04321959987282753, 0.004510635044425726, 0.00730033777654171, -0.03725748136639595, 0.04650064930319786, -0.008254244923591614, -0.01974530518054962, -0.019274776801466942, 0.016395751386880875, 0.011553321033716202, -0.020116902887821198, 0.004262334201484919, 0.026657618582248688, -0.006963733118027449, 0.01401451975107193, -0.007052857894450426, -0.03486895561218262, -0.011906514875590801, 0.03861186280846596, 0.011836185120046139, 0.025845957919955254, 0.01533123105764389, -0.01658676005899906, 0.009478293359279633, -0.037730924785137177, 0.04000503197312355, -0.00409612525254488, 0.018733257427811623, -0.045266974717378616, 0.057641126215457916, 0.004188669379800558, -0.010483050718903542, -0.0030183796770870686, 0.021548371762037277, -0.0022993015591055155, -0.0056498185731470585, 0.02728840336203575, -0.03227586671710014, -0.014633671380579472, 0.021291403099894524, -0.011254801414906979, -0.024157444015145302, 0.03723428398370743, 0.010992559604346752, -0.02591901645064354, -0.017828283831477165, -0.008682687766849995, 0.0051930686458945274, 0.029803408309817314, 0.026895329356193542, 0.031629323959350586, -0.05964601784944534, 0.03009321540594101, -0.009104459546506405, -0.00005954119478701614, 0.02149531990289688, 0.015335381962358952, 0.03271518275141716, 0.014882329851388931, 0.04524751752614975, -0.052481696009635925, -0.024002010002732277, -0.02976468950510025, 0.018323048949241638, 0.051387056708335876, 0.030016370117664337, 0.01060706377029419, -0.027590692043304443, -0.01817321963608265, 0.016469866037368774, -0.014862165786325932, -0.0011374980676919222, 0.05393057316541672, -0.02036920376121998, 0.002323722466826439, -0.019186489284038544, 0.03434855118393898, -0.0394446961581707, -0.006103621330112219, 0.054578736424446106, 0.02811182662844658, 0.012280808761715889, -0.029420293867588043, -0.028860991820693016, 0.0757770761847496, 0.018728574737906456, -0.0004633333592209965, 0.010258417576551437, -0.008857346139848232, 0.02079581283032894, 0.061140771955251694, 0.011248691938817501, -0.023989269509911537, -0.03663228824734688, 0.014888638630509377, -0.008721047081053257, 0.012209530919790268, 0.028841758146882057, -0.02100481651723385, 0.02588803321123123, 0.02799227461218834, 0.040472738444805145, 0.0934482216835022, 0.002541269874200225, 0.0033664305228739977, 0.03786899894475937, 0.03650817275047302, 0.047286856919527054, -0.050883229821920395, -0.008994866162538528, 0.01715823821723461, 0.04182941094040871, 0.030534731224179268, 0.011583616957068443, 0.019206000491976738, 0.03600335866212845, 0.03377081826329231, 0.0070500425063073635, 0.016556261107325554, -0.014060079120099545, -0.02367457002401352, -0.022625736892223358, 0.004273144528269768, -0.029339350759983063, -0.0010663553839549422, -0.002250964753329754, -0.011373907327651978, 0.001907485187985003, -0.05881698802113533, -0.023506328463554382, -0.039800744503736496, -0.0384841188788414, 0.040597327053546906, 0.02930348552763462, 0.05666302144527435, -0.004005036782473326, -0.00005063160278950818, -0.0374457873404026, -0.023523172363638878, 0.02559291012585163, -0.014371830970048904, -0.0021835665684193373, -0.006216282490640879, -0.01411871612071991, 0.03264516964554787, -0.001301454147323966, 0.012542197480797768, -0.015464025549590588, 0.06227380782365799, 0.01811309903860092, -0.01581329107284546, -0.049961499869823456, 0.0398622527718544, -0.005856502801179886, -0.012175927869975567, -0.043046195060014725, 0.004512709099799395, -0.035464096814394, 0.006742000579833984, -0.01321027148514986, 0.03985210135579109, 0.0035518889781087637, -0.02126351371407509, 0.002019885927438736, 0.04123469814658165, 0.002758422400802374, 0.0554472841322422, 0.010070381686091423, 0.022675251588225365, 0.008645650930702686, 0.02704928070306778, 0.047039419412612915, -0.002112276153638959, -0.01906902715563774, -0.03152880072593689, -0.015529255382716656, -0.017578262835741043, -0.03083513118326664, 0.022967908531427383, -0.020210443064570427, 0.04777078330516815, 0.027437500655651093, -0.01567523181438446, 0.05321057513356209, 0.03217686712741852, 0.05200960859656334, 0.03397967293858528, 0.0012738917721435428, -0.016244754195213318, -0.07321533560752869, 0.007168109528720379, 0.027510467916727066, 0.06623467803001404, -0.023847229778766632, -0.03683473542332649, 0.025334125384688377, 0.04243547096848488, 0.02056998945772648, -0.008031633682549, 0.029919086024165154, 0.004799484275281429, 0.06930960714817047, 0.02472483180463314, -0.00982501171529293, 0.033581219613552094, -0.011961403302848339, -0.0315108597278595, -0.03155478090047836, -0.005781749729067087, 0.002283986657857895, 0.019533542916178703, -0.04213720187544823, -0.014489052817225456, -0.010710964910686016, -0.05411257594823837, 0.07411477714776993, -0.007919307798147202, -0.01814001426100731, 0.0016012410633265972, 0.0370057113468647, 0.008952448144555092, 0.06047863885760307, 0.015007363632321358, 0.03920281305909157, 0.007588959764689207, -0.055114664137363434, -0.03127383440732956, 0.04702939838171005, 0.0109160877764225, 0.02291993983089924, -0.009271960705518723, -0.019729342311620712, -0.0026164145674556494, -0.011871371418237686, -0.03707728907465935, -0.02976059541106224, 0.0039655291475355625, 0.013383284211158752, -0.03150540217757225, -0.019543305039405823, 0.001399880275130272, 0.01846570149064064, 0.025727085769176483, 0.03615456819534302, 0.015095317736268044, -0.024882864207029343, 0.044511836022138596, -0.010572126135230064, -0.005608763080090284, -0.014422476291656494, -0.00014856766210868955, 0.0041124545969069, 0.006770428270101547, -0.021552331745624542, -0.01924372836947441, -0.03568704426288605, -0.015681063756346703, 0.030771423131227493, 0.0021678467746824026, 0.0010334579274058342, 0.004498233553022146, 0.04329915717244148, -0.012491331435739994, -0.008907257579267025, 0.04702233895659447, -0.02867571823298931, 0.0009118099696934223, 0.00911202747374773, 0.010643498040735722, -0.020569728687405586, -0.024191994220018387, -0.011907000094652176, -0.06409196555614471, 0.02474248595535755, -0.029152996838092804, 0.017838004976511, -0.012118267826735973, 0.013345246203243732, -0.006842340342700481, 0.03885907307267189, -0.021291647106409073, -0.017909124493598938, 0.014456049539148808, 0.02471267804503441, 0.03547477349638939, -0.037296511232852936, -0.006727501749992371, 0.009987878613173962, 0.00332584953866899, -0.000727820151951164, 0.017978815361857414, 0.023549195379018784, -0.007274160627275705, -0.0028347368352115154, 0.01336502656340599, 0.03854537382721901, 0.044300973415374756, 0.040067944675683975, -0.018662819638848305, 0.019085468724370003, 0.002155309310182929, -0.05307407304644585, 0.03969699144363403, 0.014823240227997303, 0.04094841331243515, -0.004232357256114483, -0.02138325199484825, -0.006318979896605015, -0.006437236443161964, -0.020574351772665977, -0.020730705931782722, -0.05714557692408562, -0.06980405747890472, -0.03849503770470619, 0.011610259301960468, -0.046346087008714676, 0.0051962644793093204, 0.01739070564508438, 0.01721605286002159, -0.0058706942945718765, 0.00050483422819525, 0.026728620752692223, 0.011336407624185085, -0.014162488281726837, -0.004127067513763905, 0.019349681213498116, -0.04526088386774063, -0.011257948353886604, -0.055861376225948334, -0.03324732556939125, -0.03534477576613426, -0.04174042120575905, 0.015283538028597832, 0.07392086833715439, -0.0036656176671385765, 0.017747359350323677, -0.027979977428913116, -0.008108950220048428, 0.016274098306894302, 0.024050870910286903, -0.02889131009578705, 0.016154862940311432, -0.016376933082938194, -0.012391350232064724, -0.048239823430776596, 0.03147479519248009, -0.007058035582304001, 0.010695279575884342, 0.03323610872030258, 0.002943335333839059, 0.00014270552492234856, 0.019345788285136223, 0.004754672758281231, -0.011715061962604523, 0.0029043189715594053, -0.01251925714313984, -0.038402050733566284, 0.0012532888213172555, 0.013349398970603943, 0.01640200801193714, -0.03960159793496132, -0.0052294302731752396, 0.009361314587295055, -0.014048660174012184, -0.021328313276171684, -0.013507816009223461, -0.0036774403415620327, 0.0370236299932003, -0.0076821534894406796, -0.040322743356227875, 0.021777555346488953, 0.05391368269920349, -0.0014700001338496804, 0.04874573275446892, 0.011843455955386162 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Transcription: Note: Transcription has been slightly modified/reformatted to deliver the highest-quality reading experience.
[ 0.025805652141571045, 0.040428485721349716, 0.07361820340156555, -0.002160842064768076, 0.12100290507078171, 0.04422040283679962, 0.06586983799934387, 0.02535536140203476, -0.04293693229556084, -0.11161323636770248, -0.004296333994716406, 0.06402115523815155, -0.01788363978266716, 0.003540618810802698, 0.0019494990119710565, 0.07844571024179459, 0.04647683724761009, -0.05717538669705391, 0.0018162246560677886, -0.05410022661089897, 0.01618303917348385, 0.021205449476838112, 0.05382184311747551, 0.06727226078510284, 0.03962114453315735, -0.024214042350649834, -0.004952303133904934, 0.00853878352791071, -0.09433487802743912, 0.06373564898967743, -0.05352426692843437, -0.018152983859181404, 0.04486478492617607, 0.018041783943772316, -0.043893296271562576, 0.011138135567307472, -0.04546480253338814, 0.004668166860938072, -0.007891113869845867, -0.046139393001794815, 0.039629481732845306, -0.023640088737010956, 0.01783549226820469, 0.07624572515487671, -0.07272181659936905, 0.01063095685094595, -0.23291701078414917, 0.07938055694103241, -0.031546540558338165, -0.03212238475680351, -0.02940298244357109, 0.011568316258490086, 0.055065933614969254, 0.00791344977915287, 0.012226871214807034, -0.01666436716914177, 0.030250148847699165, 0.00009642507211538032, 0.033722080290317535, -0.04272459074854851, 0.06673690676689148, 0.016948232427239418, 0.025504587218165398, -0.030059142038226128, 0.06024833023548126, 0.03350161761045456, -0.02338799089193344, 0.06835336238145828, -0.06440862268209457, -0.009274265728890896, 0.01888931915163994, -0.0032079683151096106, -0.01800660416483879, -0.028938457369804382, 0.049281079322099686, -0.11229924112558365, -0.003256936091929674, 0.04327404871582985, 0.047179214656353, 0.0816974863409996, 0.010389503091573715, -0.027470100671052933, 0.09540394693613052, 0.10650602728128433, -0.03611942380666733, -0.07350316643714905, 0.07592745125293732, 0.04391865432262421, 0.012360895983874798, -0.031954776495695114, -0.05280211195349693, -0.08758123964071274, -0.03244369849562645, 0.038563117384910583, -0.010540183633565903, -0.06366811692714691, 0.0536065436899662, 0.0056595453061163425, -0.024750644341111183, 0.015326539985835552, -0.02352280728518963, 0.03715089336037636, 0.050330281257629395, -0.03576039522886276, -0.01568206213414669, 0.01653280109167099, 0.0008801937219686806, -0.043893493711948395, -0.011104436591267586, 0.03577325493097305, 0.03049304708838463, 0.002410707762464881, 0.08019330352544785, -0.055531810969114304, -0.024118445813655853, 0.022791432216763496, 0.01860971562564373, -0.04917663708329201, 0.008267996832728386, -0.02062283083796501, -0.002177776535972953, 0.06748083978891373, 0.07499227672815323, 0.012881986796855927, 0.03651729226112366, -0.018237370997667313, 0.04786479100584984, 0.042852021753787994, -0.023314427584409714, -0.04082098975777626, -0.010819854214787483, 0.003502317238599062, 0.04211947321891785, 0.020576292648911476, -0.03187644109129906, -0.049227986484766006, -0.008298702538013458, -0.008290236815810204, 0.021157987415790558, 0.0025954931043088436, 0.003511569695547223, 0.055168550461530685, -0.03368133306503296, 0.08025937527418137, 0.02534407377243042, -0.009107147343456745, -0.06689834594726562, 0.037360526621341705, -0.01587616838514805, 0.004565925803035498, 0.02270788699388504, 0.036714717745780945, -0.006840788759291172, -0.07421134412288666, 0.013138090260326862, 0.022375283762812614, 0.04099387302994728, 0.003190115559846163, -0.04307625815272331, -0.020351076498627663, 0.04733088240027428, 0.029248123988509178, 0.06566543877124786, 0.004358428064733744, 0.027509843930602074, -0.06759556382894516, 0.007760264445096254, -0.001909305457957089, -0.06876849383115768, -0.11940407007932663, -0.03537848964333534, -0.028630193322896957, 0.09310344606637955, -0.02208438701927662, -0.11441674083471298, 0.05365680903196335, 0.052675578743219376, 0.04784209281206131, -0.012332436628639698, -0.02596593089401722, -0.02556212991476059, 0.01850459910929203, -0.0067867860198020935, 0.008142045699059963, 0.006317037157714367, -0.006394959054887295, 0.01488100178539753, -0.006785415578633547, 0.021312611177563667, 0.05300702527165413, -0.1167486160993576, -0.07842525839805603, 0.08822229504585266, 0.00163314922247082, -0.008145853877067566, -0.10919608175754547, -0.030210047960281372, 0.08056464046239853, 0.0621732659637928, 0.06035619601607323, 0.09064745903015137, 0.03742146119475365, 0.06954233348369598, 0.01453495305031538, -0.06715209037065506, 0.07072705775499344, 0.04121275618672371, -0.031013738363981247, 0.039150211960077286, -0.041173286736011505, -0.042532555758953094, -0.09544575959444046, 0.04139287769794464, -0.06801020354032516, -0.035376135259866714, -0.03368392959237099, -0.013715339824557304, -0.01162724755704403, 0.038698531687259674, -0.04649665951728821, 0.04775869846343994, 0.036256030201911926, 0.01774553954601288, 0.05352028086781502, -0.025923343375325203, 0.08531380444765091, 0.05564318969845772, -0.0024849064648151398, -0.042288459837436676, -0.07192441821098328, -0.04126810282468796, -0.04516196995973587, 0.01514467503875494, 0.08038947731256485, 0.027271410450339317, 0.04623214527964592, 0.003008252242580056, -0.011290434747934341, 0.026584990322589874, -0.047280676662921906, 0.052106600254774094, -0.03907390683889389, 0.006893124897032976, 0.03339621052145958, -0.06352736800909042, -0.03622782602906227, 0.01946737989783287, 0.029846908524632454, -0.03476296737790108, -0.008635039441287518, -0.03855682164430618, 0.11645770072937012, 0.015199760906398296, 0.012361795641481876, 0.028938036412000656, -0.0011544536100700498, 0.021759653463959694, -0.029412738978862762, -0.004742786753922701, 0.014408032409846783, 0.021305052563548088, -0.038381051272153854, 0.0035847157705575228, -0.07333896309137344, 0.004978291690349579, -0.023058444261550903, 0.009260263293981552, 0.013445194810628891, -0.007316593546420336, 0.02943786233663559, -0.014485957100987434, 0.005921392701566219, 0.04778951406478882, 0.025938093662261963, 0.02214800752699375, 0.0003771562478505075, 0.0388234406709671, -0.02265281416475773, 0.0002204045740654692, -0.03366006165742874, 0.010390175506472588, -0.019674815237522125, 0.009364014491438866, 0.020782772451639175, 0.01901964284479618, -0.021370068192481995, 0.026831043884158134, -0.006586570758372545, -0.00623040646314621, 0.02420794777572155, 0.006433590315282345, 0.028400301933288574, 0.019883446395397186, -0.039401911199092865, 0.04808434844017029, -0.044187262654304504, -0.006147837266325951, 0.01593080721795559, -0.03558474779129028, -0.02028614655137062, 0.02987130731344223, 0.010455015115439892, -0.014796203933656216, 0.009239234030246735, -0.02551281452178955, -0.00802120752632618, 0.0029133898206055164, 0.03267407789826393, -0.14121368527412415, -0.03999948874115944, 0.021994130685925484, 0.0017462003743276, -0.0060769179835915565, -0.03517971932888031, 0.02904789336025715, -0.025644708424806595, -0.017376629635691643, -0.03850797936320305, 0.010735186748206615, 0.032002758234739304, 0.0070698456838727, -0.02386801317334175, -0.017771041020751, -0.006265618372708559, -0.010319972410798073, -0.021150214597582817, 0.003449549898505211, 0.01679767109453678, 0.02044603042304516, 0.03477345034480095, 0.010993465781211853, -0.027837978675961494, -0.03436105698347092, 0.04656608775258064, 0.012943784706294537, 0.0312831774353981, 0.009407434612512589, -0.004914978984743357, -0.06300773471593857, 0.04569033533334732, 0.009369214065372944, 0.013853572309017181, -0.007792333606630564, -0.029268987476825714, -0.01068567018955946, 0.018053941428661346, 0.0029753425624221563, 0.0578387975692749, 0.02118426375091076, -0.015744520351290703, 0.01853744313120842, 0.04131363332271576, -0.05250879377126694, 0.017380718141794205, -0.02458854764699936, -0.009583616629242897, 0.022566407918930054, -0.008015350438654423, -0.060808468610048294, 0.03442390263080597, 0.002859195228666067, 0.04683459922671318, -0.028537224978208542, -0.004560556728392839, 0.01139749400317669, 0.016005484387278557, 0.04491244629025459, -0.011517686769366264, -0.0035796461161226034, 0.026664769276976585, 0.0070562767796218395, 0.003647604025900364, -0.005857341922819614, 0.04332677647471428, -0.027575179934501648, 0.03446469083428383, -0.020495986565947533, 0.03621380403637886, -0.015912432223558426, 0.024897634983062744, 0.0022981655783951283, 0.009814387187361717, -0.01368252094835043, -0.012161033228039742, -0.0467926561832428, 0.015658369287848473, 0.045223940163850784, -0.018538475036621094, -0.00465715117752552, 0.014014551416039467, -0.016403578221797943, -0.016416143625974655, -0.004670353140681982, 0.027414770796895027, 0.005399560555815697, 0.029100816696882248, -0.0010828090598806739, 0.017967931926250458, 0.006130757741630077, 0.0002023001288762316, 0.00007369253580691293, -0.013772716745734215, 0.02037985622882843, 0.0203404538333416, 0.010976433753967285, -0.026953011751174927, -0.004289311822503805, 0.023958709090948105, 0.0328713022172451, -0.012991618365049362, -0.017902689054608345, 0.01888878643512726, 0.022109035402536392, 0.008182857185602188, -0.04022089019417763, -0.06085209548473358, -0.020889949053525925, 0.028397211804986, 0.03048182837665081, -0.030161431059241295, 0.028809398412704468, -0.06203734129667282, -0.04323984682559967, -0.04498207941651344, 0.005232084076851606, -0.06763201206922531, -0.027456404641270638, 0.007864018902182579, -0.010545208118855953, 0.0016782867023721337, 0.027906326577067375, -0.011012870818376541, 0.005841272883117199, 0.01563701406121254, 0.039562709629535675, 0.03175034001469612, -0.007493959739804268, -0.010614440776407719, 0.015299391932785511, -0.020544059574604034, 0.038952577859163284, 0.0058510396629571915, 0.029369810596108437, -0.000453112181276083, 0.013924076221883297, 0.03133610263466835, -0.008198421448469162, -0.046306125819683075, 0.002259594388306141, -0.01404852606356144, 0.0016487244283780456, 0.009456321597099304, 0.0510496087372303, 0.0150959687307477, 0.0032368600368499756, -0.0034823562018573284, 0.0140910055488348, 0.011513807810842991, 0.03215758129954338, 0.0022178522776812315, -0.03517041355371475, -0.013425302691757679, -0.058373190462589264, 0.011213453486561775, -0.015932071954011917, -0.03862937167286873, -0.024521127343177795, 0.0914216861128807, -0.02861962467432022, -0.018020248040556908, -0.04738522693514824, 0.04505079239606857, 0.004684103652834892, 0.016105892136693, 0.02706131897866726, -0.0043725064024329185, -0.011553133837878704, 0.014905530028045177, -0.03179999813437462, -0.026962555944919586, 0.005966485012322664, -0.027460409328341484, 0.04935365542769432, 0.020763911306858063, -0.03394315019249916, 0.023673204705119133, 0.035171665251255035, 0.04500530660152435, 0.004101867321878672, -0.016967816278338432, 0.029142171144485474, 0.0064989253878593445, -0.012157145887613297, -0.010272055864334106, 0.020289991050958633, -0.028042595833539963, 0.00977117009460926, 0.053545139729976654, -0.019892213866114616, -0.0364881306886673, -0.041071392595767975, -0.03933615982532501, 0.020169615745544434, 0.02938157692551613, 0.021636590361595154, -0.011514708399772644, -0.012005328200757504, 0.05225035175681114, 0.03970787674188614, -0.001252134912647307, 0.015406128019094467, -0.032510846853256226, 0.01644826866686344, 0.023576006293296814, 0.0006501086754724383, -0.04356786236166954, -0.03865941986441612, -0.018651720136404037, 0.01035162340849638, 0.003766212146729231, -0.03186448663473129, -0.022496677935123444, 0.022818662226200104, -0.02285853400826454, -0.032707732170820236, 0.01816604472696781, -0.024491962045431137, 0.020962512120604515, 0.04439045116305351, 0.005795086268335581, -0.02971387282013893, 0.06394866108894348, 0.04234668239951134, -0.004497379530221224, -0.031972065567970276, 0.02813512459397316, 0.0036862415727227926, 0.016191788017749786, 0.036451008170843124, 0.019024135544896126, -0.012698555365204811, 0.02319803647696972, 0.04454968497157097, 0.012705869041383266, -0.04130830243229866, 0.008442018181085587, -0.006117226090282202, 0.01893283613026142, 0.015178247354924679, 0.00042075576493516564, 0.012873382307589054, 0.006224443670362234, -0.01857186295092106, -0.023387644439935684, 0.025147121399641037, -0.006748647894710302, 0.027891099452972412, 0.015017174184322357, 0.028883516788482666, 0.02174713835120201, 0.018405182287096977, -0.01553631853312254, -0.021009093150496483, 0.013244184665381908, -0.01414491981267929, 0.002715220209211111, -0.002093516057357192, -0.0015972040127962828, 0.023751040920615196, 0.008517934940755367, -0.0037139574997127056, -0.01940164528787136, -0.01319102756679058, 0.020022915676236153, 0.024974895641207695, 0.026612436398863792, 0.023067915812134743, 0.0011263268534094095, -0.04829826205968857, -0.00047046045074239373, 0.008099152706563473, -0.026363970711827278, -0.004552132450044155, 0.00678016385063529, 0.020375538617372513, 0.022026851773262024, -0.01126058492809534, -0.0030535119585692883, 0.043805081397295, -0.0047548734582960606, -0.0009745056740939617, -0.015886440873146057, -0.030587775632739067, 0.019627967849373817, 0.019092241302132607, 0.006397981196641922, 0.014499801211059093, 0.04068984091281891, -0.010885967873036861, -0.02710198611021042, -0.010164155624806881, 0.020566178485751152, -0.03563303500413895, 0.027038611471652985, 0.0014690717216581106, -0.040793124586343765, 0.05296994000673294, -0.019870778545737267, 0.008661635220050812, -0.00782318226993084, 0.0017338914331048727, -0.003392712911590934, -0.03279023990035057, 0.016804536804556847, 0.02639535814523697, -0.04313120245933533, -0.003935523331165314, -0.016420656815171242, 0.03268299624323845, 0.056806404143571854, -0.004876515828073025, -0.02927521988749504, 0.013092750683426857, -0.04878894239664078, -0.006815502420067787, -0.014664368703961372, -0.0230356827378273, 0.00028443336486816406, 0.040547147393226624, -0.024924365803599358, 0.03189874440431595, -0.008457924239337444, -0.03685353323817253, -0.04553736373782158, 0.021003596484661102, -0.006921765860170126, 0.0036283652298152447, -0.023251879960298538, 0.006227055098861456, 0.040965642780065536, -0.018943898379802704, -0.010989935137331486, -0.05265047028660774, 0.05784689635038376, 0.0007362119504250586, 0.02044476754963398, -0.003704034024849534, -0.024952255189418793, -0.014276377856731415, -0.05165382847189903, -0.008577045984566212, -0.004685224965214729, 0.009377795271575451, -0.03477061539888382, -0.023198287934064865, 0.021027129143476486, -0.032518137246370316, -0.018545806407928467, 0.02839970961213112, 0.001750143594108522, 0.00901736132800579, 0.006795217748731375, 0.013342687860131264, 0.019062288105487823, -0.006772843189537525, -0.011673138476908207, -0.003095247084274888, -0.02044134959578514, -0.010877813212573528, 0.0019060410559177399, 0.004415583331137896, -0.02812001295387745, -0.06054457277059555, -0.0044514695182442665, -0.03575598821043968, -0.0021182456985116005, -0.011127644218504429, 0.011309425346553326, -0.01908436417579651, -0.04664362594485283, 0.00249119708314538, 0.013523032888770103, -0.024592123925685883, -0.02146328054368496, -0.03153550252318382, -0.01692056655883789, 0.001514081028290093, -0.041899822652339935, 0.06997579336166382, 0.007288443855941296, 0.011240042746067047, 0.03286443650722504, 0.024413075298070908, 0.004021559376269579, -0.028062263503670692, -0.025183338671922684, -0.009757578372955322, 0.012962093576788902, -0.029933884739875793, -0.026227110996842384, -0.03097747080028057, -0.058842241764068604, 0.013919420540332794, -0.014602595008909702, -0.04714428260922432, -0.009023101069033146, 0.0004409208195284009, -0.011420553550124168, -0.03203124180436134, 0.032674480229616165, 0.0122248949483037, -0.020288249477744102, 0.04613793268799782, -0.006923303473740816, 0.01292924303561449, -0.02081937901675701, 0.013240480795502663, -0.005196691490709782, 0.01568424515426159, 0.03726616129279137, -0.01235352735966444, -0.04687270522117615, 0.04653039574623108, -0.049519751220941544, -0.05432778224349022, 0.014560808427631855, 0.04397859796881676, -0.012180827558040619, -0.030150357633829117, 0.009766161441802979, 0.0006249641301110387, 0.035752709954977036, 0.021231479942798615, 0.03654872626066208, -0.04777636379003525, 0.00937469583004713, 0.0340898372232914, -0.04283621534705162, 0.027746960520744324, -0.018032459542155266, 0.036322060972452164, 0.009006891399621964, 0.08716843277215958, -0.010929003357887268, 0.002181898569688201, -0.06445355713367462, 0.0051621184684336185, -0.004756279289722443, -0.012779701501131058, 0.013279438950121403, 0.025081736966967583, -0.018785955384373665, -0.014479564502835274, -0.041206106543540955, 0.04705702140927315, 0.01668599434196949, -0.04052644222974777, 0.004697077441960573, -0.01467929407954216, 0.013763459399342537, -0.02621653862297535, 0.017177727073431015, -0.003530181711539626, 0.014639533124864101, 0.01847214438021183, -0.009733096696436405, 0.020065994933247566, 0.031898967921733856 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Diversity in AI - Isn’t there proof that having a more diverse set of people on an ML project results in better outcomes? Meg: Yes, since you have different perspectives you have a different distribution over options and thus, more options. One of the fundamental aspects of machine learning is that when you start training you can use a randomized starting point and what kind of distribution you want to sample from. Most engineers can agree that you don’t want to sample from one little piece of the distribution to have the best chance of finding a local optimum. You need to translate this approach to the people sitting at the table. Just how you want to have a Gaussian approach over different start states, so too do you want that at the table when you’re starting projects because it gives you this larger search space making it easier to attain a local optimum.
[ 0.04357588291168213, -0.058079201728105545, -0.03714984655380249, 0.05112416669726372, 0.044785257428884506, 0.07397226989269257, -0.08168929815292358, 0.022802826017141342, -0.06953022629022598, -0.11576264351606369, -0.083457812666893, 0.013663451187312603, -0.040617089718580246, 0.037566717714071274, -0.03890496492385864, -0.043311286717653275, 0.021770073100924492, -0.08788372576236725, 0.02051653154194355, -0.006361188367009163, 0.04639439657330513, 0.002508566016331315, 0.11264443397521973, -0.03964727744460106, 0.00820842944085598, -0.037324655801057816, 0.04335795342922211, -0.024872347712516785, -0.012537812814116478, 0.0036549449432641268, -0.10619732737541199, 0.005017711780965328, -0.027426864951848984, 0.05213075876235962, -0.01457019243389368, 0.011630896478891373, -0.0699840635061264, 0.06696366518735886, 0.08333663642406464, -0.025783469900488853, 0.014540091156959534, -0.01764935627579689, -0.04840836301445961, 0.0211708415299654, -0.08393041789531708, -0.07442370802164078, -0.1462627649307251, 0.04382554814219475, -0.06422320008277893, -0.02572736330330372, -0.05104512348771095, -0.0017199940048158169, -0.04060287028551102, 0.03448338434100151, -0.003624057164415717, -0.029044467955827713, 0.05504907667636871, -0.06508525460958481, 0.04047105833888054, -0.013341532088816166, 0.008174056187272072, 0.03641844540834427, 0.055272504687309265, 0.026474639773368835, -0.01720878854393959, 0.043204501271247864, 0.04463459178805351, -0.05301351100206375, -0.05851298198103905, 0.012453443370759487, -0.0034733042120933533, -0.07837327569723129, -0.01480943989008665, 0.005174143239855766, -0.00031828199280425906, -0.013754422776401043, 0.02540021575987339, 0.0011256682919338346, 0.015401849523186684, -0.05386314168572426, 0.02535071223974228, 0.018579864874482155, 0.05794050544500351, 0.07442350685596466, 0.031884148716926575, -0.028752461075782776, 0.05219012126326561, 0.0025102749932557344, 0.002498036716133356, 0.06763903051614761, 0.003972330130636692, -0.08434084802865982, 0.054787084460258484, 0.031919702887535095, 0.1065477505326271, -0.06733153760433197, 0.0552251972258091, 0.034222573041915894, -0.02612660452723503, -0.0031948836985975504, -0.053124915808439255, 0.000864669680595398, 0.01678687147796154, -0.045686986297369, -0.09937428683042526, 0.07809939980506897, -0.002984345890581608, -0.07012350857257843, -0.057520005851984024, 0.052463382482528687, -0.05021701008081436, -0.0679716020822525, 0.01393449492752552, 0.039490535855293274, -0.08898395299911499, 0.035695578902959824, 0.06635012477636337, 0.009240860119462013, 0.04912498593330383, -0.013778729364275932, 0.005812148097902536, 0.07096364349126816, 0.0025998339988291264, 0.05254494771361351, -0.07183974236249924, -0.0016726269386708736, 0.0015546755166724324, 0.041430361568927765, 0.0320594422519207, -0.04107959195971489, 0.015839900821447372, 0.004324109759181738, 0.007729839067906141, -0.005051491782069206, 0.0165738295763731, -0.0661349892616272, 0.006182588636875153, -0.05780591815710068, 0.05026880279183388, -0.03809857368469238, -0.06030406802892685, -0.001052852370776236, 0.043889932334423065, 0.035074781626462936, 0.040953923016786575, 0.009571531787514687, -0.005157009698450565, -0.05233457311987877, -0.0007235519005917013, 0.03299258276820183, -0.04386627674102783, 0.08476614207029343, -0.05797276645898819, -0.11669909954071045, 0.0693482980132103, 0.10065387934446335, -0.04366805776953697, -0.03304453194141388, 0.01996692642569542, -0.005062958225607872, -0.012589210644364357, -0.030949588865041733, 0.03538129851222038, 0.0074629210866987705, -0.00677407206967473, -0.037373073399066925, -0.03153017908334732, 0.03362356498837471, -0.004948324523866177, 0.0852166935801506, -0.0005247665685601532, 0.005334562622010708, 0.045697152614593506, -0.03732778877019882, -0.007762453053146601, 0.039408814162015915, -0.04729647561907768, 0.06692417711019516, -0.0019609429873526096, -0.0029959341045469046, -0.024206070229411125, 0.018364492803812027, -0.010497956536710262, 0.021439336240291595, 0.05357140302658081, -0.07337238639593124, -0.016093583777546883, -0.0449850969016552, 0.015156339854001999, 0.03926574066281319, 0.007443866692483425, -0.027015700936317444, 0.06005379185080528, -0.024865418672561646, 0.02874041348695755, -0.09701354056596756, -0.016929829493165016, 0.08401084691286087, 0.035121455788612366, 0.03290257230401039, 0.03151519596576691, -0.07512085884809494, -0.0038870663847774267, -0.012580156326293945, -0.005425456445664167, 0.0006240451475605369, 0.04321341589093208, -0.04642300680279732, 0.025223946198821068, 0.05674681439995766, 0.0011113978689536452, -0.06521300226449966, -0.005051382817327976, -0.011145636439323425, -0.020969225093722343, 0.0539475753903389, -0.008828679099678993, 0.0328051783144474, 0.018926013261079788, -0.060280438512563705, 0.15553313493728638, -0.022741083055734634, 0.06429620087146759, 0.03961275517940521, 0.06857607513666153, 0.03481430187821388, 0.058248572051525116, 0.0296676903963089, 0.08312398195266724, -0.041622892022132874, -0.00754742044955492, 0.038842007517814636, 0.037371523678302765, -0.0008900872780941427, -0.007356459274888039, 0.02088351920247078, 0.023078611120581627, 0.0036384675186127424, 0.037343431264162064, -0.030235320329666138, -0.031306229531764984, -0.00348709337413311, -0.06964080035686493, 0.03166322410106659, -0.012871791608631611, -0.030176129192113876, -0.0027360250242054462, -0.05986572802066803, 0.05003511533141136, -0.003316044108942151, -0.06178661435842514, -0.0028690898325294256, -0.003052195766940713, -0.010489404201507568, -0.038543324917554855, 0.049773674458265305, 0.030866680666804314, -0.04753445088863373, -0.03386535495519638, -0.006187123712152243, -0.009038827382028103, -0.04664032533764839, -0.025497961789369583, -0.0157183650881052, 0.0037098557222634554, -0.014463971368968487, -0.0068732998333871365, -0.02372504025697708, 0.021831005811691284, 0.04368875175714493, 0.05065334215760231, -0.00015188496035989374, 0.012971512973308563, 0.018254127353429794, -0.018869217485189438, -0.004719095770269632, -0.0058542825281620026, -0.010828426107764244, -0.021965378895401955, -0.0390666127204895, -0.007425134070217609, -0.006910220719873905, 0.024085862562060356, 0.06974013149738312, -0.04183969646692276, -0.0012061177985742688, -0.035691726952791214, 0.0180436410009861, -0.03915951028466225, 0.023315582424402237, 0.0066171796061098576, 0.05353197455406189, -0.010490705259144306, -0.0027229618281126022, 0.00912967137992382, 0.0009885693434625864, 0.0009544144268147647, -0.00445603160187602, -0.014076244086027145, -0.028818994760513306, 0.0009659744682721794, 0.011883508414030075, 0.01226476114243269, -0.009693864732980728, -0.014569402672350407, 0.03560744598507881, 0.027143282815814018, 0.05297812074422836, -0.08881825953722, -0.02215585857629776, 0.015448324382305145, 0.04435490444302559, -0.02004631608724594, -0.05201658234000206, 0.02892516367137432, -0.062406618148088455, -0.022238146513700485, -0.03024630807340145, -0.008410722017288208, -0.01255719643086195, -0.012943231500685215, 0.047826264053583145, 0.0011086957529187202, 0.03204832598567009, 0.02302599884569645, -0.012222486548125744, 0.018093015998601913, 0.029319074004888535, -0.016358526423573494, 0.014111706055700779, -0.041057415306568146, 0.05124147608876228, -0.049383774399757385, 0.02354012243449688, 0.03123430907726288, 0.03759200870990753, 0.008667540736496449, -0.024346832185983658, -0.026966100558638573, 0.028776690363883972, -0.05676639825105667, -0.006172828376293182, 0.012771462090313435, 0.009326787665486336, 0.026080472394824028, -0.002629562048241496, 0.029996363446116447, 0.0355803482234478, 0.009735825471580029, -0.010720049031078815, 0.0030178737360984087, -0.03545260429382324, -0.0026184821035712957, -0.0017439560033380985, -0.012098759412765503, 0.024846086278557777, 0.011229722760617733, -0.048016257584095, -0.007314126472920179, -0.0007460869965143502, 0.014087921939790249, 0.0648927241563797, -0.022598102688789368, -0.013422864489257336, 0.01610836759209633, 0.06205383315682411, 0.022252334281802177, -0.01705241948366165, -0.013494930230081081, 0.03705505654215813, 0.04006734862923622, -0.0017141137504950166, -0.05935865640640259, -0.02645745314657688, 0.0034930820111185312, 0.0390799343585968, 0.011864089407026768, -0.00983717292547226, 0.03900514543056488, 0.014163600280880928, 0.024731747806072235, -0.0023567592725157738, -0.043820228427648544, 0.011045223101973534, 0.017187442630529404, 0.0027564542833715677, 0.05737709254026413, -0.014216287061572075, 0.009248381480574608, 0.0032927030697464943, -0.03221769630908966, -0.04614279046654701, -0.0034667481668293476, -0.01313635241240263, 0.003483617678284645, 0.00452976580709219, -0.03799751028418541, 0.0032236166298389435, -0.031930066645145416, -0.03035367839038372, 0.013997389934957027, -0.002484583528712392, 0.00466241966933012, 0.049498870968818665, 0.026867398992180824, 0.01621941104531288, -0.006667336914688349, -0.015714002773165703, 0.01227705180644989, -0.07299704104661942, -0.033070921897888184, -0.028603196144104004, 0.020581940189003944, 0.022584060207009315, 0.0038155026268213987, -0.03764693811535835, 0.019320013001561165, -0.03966151550412178, -0.016483601182699203, 0.01710757426917553, 0.0346684493124485, -0.008913746103644371, 0.045720867812633514, -0.0015311556635424495, -0.03267224505543709, -0.0024101778399199247, 0.013067968189716339, -0.030528808012604713, -0.035708047449588776, -0.008688255213201046, 0.0037530448753386736, 0.0031642017420381308, 0.02784688025712967, 0.021143220365047455, -0.0048494827933609486, 0.028722217306494713, 0.020955773070454597, -0.03399770334362984, 0.0028992807492613792, 0.009972810745239258, 0.019649287685751915, -0.014269809238612652, -0.025502216070890427, -0.010302127338945866, -0.014932764694094658, 0.047836706042289734, 0.009259111247956753, -0.03152666985988617, 0.01365499198436737, 0.01786627434194088, 0.022765671834349632, -0.03557524457573891, 0.04550009220838547, -0.01680954545736313, -0.043452002108097076, -0.029406273737549782, -0.003017568727955222, 0.044363196939229965, -0.008428116329014301, 0.02189088612794876, -0.030782675370573997, 0.04119715839624405, 0.011593390256166458, -0.06109054386615753, -0.046182580292224884, 0.0293650571256876, -0.018543854355812073, 0.014708210714161396, -0.027985434979200363, -0.012221208773553371, -0.03940360248088837, 0.011101530864834785, 0.012826349586248398, 0.007464282680302858, 0.001647396944463253, -0.0075809890404343605, -0.023548129945993423, 0.05760111287236214, 0.024633467197418213, 0.011107755824923515, -0.01555709820240736, -0.03630182892084122, 0.033397722989320755, -0.00440210709348321, 0.051046326756477356, 0.011838850565254688, -0.002327492693439126, -0.005435353145003319, 0.007634028326719999, -0.0024503078311681747, -0.0009457773412577808, -0.01322389766573906, 0.03979036957025528, 0.03398483619093895, 0.06422501057386398, 0.07517201453447342, 0.028795164078474045, -0.03672710061073303, 0.010770464316010475, -0.005044922698289156, 0.03369151055812836, -0.09927603602409363, -0.013879375532269478, 0.009194283746182919, 0.02111268974840641, -0.029780283570289612, 0.002455071546137333, -0.0001922106894198805, 0.023199981078505516, 0.027479873970150948, 0.025577647611498833, -0.024081038311123848, -0.01698433980345726, -0.012944942340254784, -0.02766694687306881, -0.019497912377119064, -0.011855191551148891, -0.014979439787566662, -0.03383404016494751, -0.02938840165734291, -0.0000106101233541267, -0.046802882105112076, -0.006719427183270454, -0.032866381108760834, -0.05769330635666847, 0.015686804428696632, 0.06473781913518906, 0.03240158408880234, -0.008707775734364986, -0.025700079277157784, -0.05684102326631546, -0.034510474652051926, -0.011935866437852383, -0.07004817575216293, 0.02288808301091194, 0.03543431684374809, 0.019511980935931206, -0.011018539778888226, -0.008033379912376404, -0.027576543390750885, 0.0027710848953574896, 0.028021764010190964, 0.011264484375715256, -0.04475869610905647, 0.01767973229289055, 0.032120537012815475, 0.033121030777692795, -0.037306513637304306, -0.019430112093687057, -0.054160259664058685, -0.022041289135813713, -0.0017694788984954357, -0.040202632546424866, 0.008205597288906574, 0.011146427132189274, 0.015604255720973015, -0.013925162144005299, 0.018030423671007156, 0.0010871479753404856, 0.012017444707453251, 0.01063702441751957, 0.013704385608434677, -0.027899309992790222, 0.05361824110150337, 0.021022601053118706, -0.03182576969265938, -0.021449437364935875, 0.033824726939201355, -0.0007782539469189942, -0.03955418989062309, -0.019351007416844368, -0.007434637751430273, -0.009406395256519318, 0.019407961517572403, 0.03482342138886452, -0.04118688404560089, 0.02007739618420601, -0.013056859374046326, 0.06270959973335266, -0.010003249160945415, 0.013727647252380848, 0.012005293741822243, -0.008899071253836155, 0.0033995697740465403, -0.030448898673057556, 0.05704618617892265, 0.004243765026330948, 0.015437178313732147, 0.015184544958174229, 0.016039947047829628, 0.02864089608192444, -0.024987921118736267, 0.02609165571630001, 0.016928303986787796, 0.039821870625019073, 0.006184826605021954, 0.03937244042754173, 0.04862307012081146, -0.01234645489603281, -0.024454420432448387, -0.017690563574433327, -0.002659519435837865, 0.026160545647144318, 0.04957232624292374, 0.023677783086895943, -0.0033478341065347195, -0.011362895369529724, -0.0016304826131090522, 0.03059755451977253, 0.04933964088559151, 0.0398152656853199, 0.028672466054558754, 0.020081542432308197, 0.022731972858309746, 0.038826774805784225, -0.0021778687369078398, 0.05238182470202446, -0.009024476632475853, 0.014891198836266994, 0.013364363461732864, 0.011885551735758781, 0.03690069913864136, -0.01888103410601616, 0.007390543818473816, 0.01491827704012394, -0.005460257641971111, 0.04053281620144844, -0.006747743580490351, -0.02725990302860737, 0.005964275915175676, -0.00870052631944418, -0.01477176696062088, -0.026480887085199356, 0.034563176333904266, -0.0019006658112630248, 0.015130591578781605, 0.030219964683055878, -0.005660155788064003, -0.02072753943502903, 0.051506660878658295, -0.005617459770292044, -0.03346261754631996, 0.03553367778658867, -0.023518942296504974, 0.05303579941391945, -0.009635504335165024, -0.03795270249247551, -0.0113148158416152, -0.04641507938504219, -0.009932913817465305, 0.04792710766196251, 0.03482536971569061, -0.01582559570670128, -0.03232831507921219, 0.024171916767954826, 0.02044677734375, -0.005492926575243473, 0.02791018597781658, 0.024219825863838196, -0.003915532026439905, -0.008060487918555737, -0.02574850246310234, -0.032003190368413925, -0.03849545866250992, 0.02185641974210739, -0.02508811466395855, -0.006893583573400974, -0.025339752435684204, 0.025233136489987373, 0.002550736768171191, 0.03027351200580597, -0.028513045981526375, 0.017718615010380745, 0.04768538847565651, -0.021166162565350533, -0.04138367995619774, -0.02818116545677185, 0.013268379494547844, -0.04442456737160683, 0.014283663593232632, 0.0008653458207845688, 0.00777111342176795, -0.028818044811487198, -0.021949300542473793, 0.05398048833012581, -0.024772239848971367, -0.042467907071113586, -0.031141171231865883, 0.034313082695007324, 0.015386301092803478, 0.04488861933350563, -0.00384453684091568, 0.01038483064621687, -0.007429079152643681, -0.01804148405790329, 0.010196988470852375, -0.026193005964159966, 0.07120056450366974, 0.005636443383991718, -0.006946159992367029, -0.0322941318154335, -0.0028957752510905266, -0.03557230532169342, -0.008523376658558846, -0.07135910540819168, 0.03617218881845474, 0.022904813289642334, 0.039515476673841476, -0.07047245651483536, 0.033772870898246765, 0.04262182489037514, 0.03762538358569145, 0.014466840773820877, -0.01497875340282917, 0.03453182801604271, -0.014982541091740131, 0.01174329873174429, -0.008692124858498573, 0.013284801505506039, -0.026339877396821976, -0.02199156954884529, -0.019298367202281952, 0.05076417326927185, 0.00012517043796833605, -0.009063693694770336, -0.003678438952192664, 0.017523400485515594, -0.0026537692174315453, -0.014843132346868515, -0.018072260543704033, 0.0035228757187724113, -0.0572616346180439, 0.031367991119623184, 0.02033601514995098, -0.007543336600065231, -0.02394949644804001, -0.021183861419558525, 0.014128799550235271, 0.022598011419177055, 0.016368040814995766, 0.003821974853053689, 0.031886398792266846, 0.009414425119757652, 0.0038033791352063417, 0.04200010746717453, 0.00676417862996459, 0.025435706600546837, 0.042562540620565414, -0.032935019582509995, -0.03025958314538002, -0.0030671213753521442, 0.043918389827013016, -0.003383078146725893, -0.08270173519849777, -0.046058159321546555, 0.027191078290343285, 0.00280614010989666, 0.05212165042757988, 0.0330624058842659, 0.014408261515200138, -0.04365863278508186, -0.0037192946765571833, -0.04357578605413437, 0.0596991591155529, 0.013626222498714924, 0.04767915979027748, 0.028439246118068695, 0.017017249017953873 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Can you talk about Model Cards and how that project came to be? Meg: This project started at Google when I first started working on fairness and what a rigorous evaluation of fairness would look like. In order to do that you need to have an understanding of context and understanding of who would use it. This revolved around how to approach model biases and it wasn’t getting a lot of pick up. I was talking to Timnit Gebru who was at that time someone in the field with similar interest to me and she was talking about this idea of datasheets; a kind of documentation for data (based on her experience at Apple) doing engineering where you tend to have specifications of hardware. But we don’t have something similar for data and she was talking about how crazy that is. So Timnit had this idea of datasheets for datasets. It struck me that by having an ‘artifact’ people in tech who are motivated by launches would care a lot more about it. So if we say you have to produce this artifact and it will count as a launch suddenly people would be more incentivized to do it. The way we came up with the name was that a comparable word to ‘data sheet’ that could be used for models was card (plus it was shorter). Also decided to call it ‘model cards’ because the name was very generic and would have longevity over time. Timnit’s paper was called ‘Data Sheets for Datasets’. So we called ours ‘Model Cards for Model Reporting’ and once we had the published paper people started taking us more seriously. Couldn’t have done this without Timnit Gebru’s brilliance suggesting “You need an artifact, a standardized thing that people will want to produce.”
[ 0.03181691840291023, -0.054305315017700195, 0.017536701634526253, 0.020493831485509872, 0.049436237663030624, -0.0043195937760174274, -0.10029808431863785, 0.011366426944732666, -0.04390303045511246, -0.04531342536211014, -0.007877728901803493, -0.010206528007984161, -0.013968355022370815, 0.07102598994970322, -0.05065133050084114, -0.050117719918489456, -0.028713572770357132, -0.057111382484436035, -0.01211901381611824, 0.009454946964979172, -0.018637485802173615, -0.05016101896762848, 0.07422449439764023, -0.024549072608351707, -0.028730642050504684, -0.0009913640096783638, 0.05161147937178612, -0.09116610139608383, -0.04033976048231125, 0.06685387343168259, -0.06897193938493729, 0.04705291986465454, -0.022724319249391556, -0.012482238933444023, -0.06711115688085556, -0.023152971640229225, -0.05032835900783539, 0.03983777016401291, -0.0003197375626768917, -0.021777663379907608, 0.06912320107221603, -0.02555006928741932, -0.056061066687107086, 0.004928566049784422, -0.02700028568506241, 0.033989470452070236, -0.1353018432855606, 0.01604161038994789, -0.052154116332530975, 0.02735733427107334, -0.007569838315248489, 0.09017122536897659, -0.02582688070833683, 0.0139564648270607, 0.017663344740867615, -0.024151839315891266, 0.03022845834493637, -0.01821182668209076, -0.01410500705242157, -0.0020810370333492756, 0.05318034812808037, -0.002890914212912321, 0.06287337839603424, 0.009393688291311264, 0.024875011295080185, -0.02503807470202446, 0.07589405030012131, 0.001624461729079485, -0.009194448590278625, -0.01136312261223793, -0.01853584311902523, -0.03533918038010597, 0.009044032543897629, -0.06782619655132294, 0.016996582970023155, -0.04262435436248779, 0.042170390486717224, 0.044700987637043, 0.02259112522006035, -0.025628946721553802, -0.08671759068965912, -0.016688929870724678, 0.09757906943559647, 0.04567503556609154, -0.04059537872672081, -0.03965356573462486, 0.0033152028918266296, -0.03403111919760704, -0.01882600598037243, 0.045335717499256134, -0.012539291754364967, -0.09532840549945831, 0.06886379420757294, -0.014618630520999432, 0.047739092260599136, -0.10056261718273163, 0.02617262303829193, 0.031242066994309425, 0.012196287512779236, 0.0079423189163208, -0.026535408571362495, 0.05600001662969589, 0.03753489628434181, -0.038925670087337494, -0.02406468614935875, 0.050018273293972015, -0.02180694416165352, -0.05614914372563362, -0.05852661654353142, 0.04111238569021225, 0.016081469133496284, -0.03105032630264759, 0.046392347663640976, 0.08031907677650452, 0.046967197209596634, 0.03638630360364914, 0.05029977858066559, -0.01613900065422058, -0.0129880765452981, 0.05048283562064171, -0.017025446519255638, 0.018636558204889297, -0.031595975160598755, 0.036082539707422256, 0.04419875890016556, 0.04257339611649513, 0.0728188306093216, 0.017752015963196754, -0.09222816675901413, -0.009385179728269577, 0.013714304193854332, 0.023563025519251823, -0.05486495420336723, -0.006771789398044348, -0.02820805087685585, -0.015723761171102524, 0.008497619070112705, -0.025578992441296577, 0.04579376429319382, 0.05030487850308418, -0.03802546113729477, -0.029149997979402542, 0.02602045051753521, 0.011385473422706127, 0.08332820981740952, -0.007255958393216133, -0.012992361560463905, 0.015534141100943089, -0.03621121495962143, -0.019819241017103195, -0.06977953761816025, 0.02741369791328907, 0.04659344255924225, -0.08284127712249756, -0.00013274095545057207, 0.039970170706510544, -0.028055183589458466, -0.0014069238677620888, -0.02978162281215191, 0.037473730742931366, -0.008843882940709591, -0.0301231537014246, -0.04006284847855568, 0.014770296402275562, -0.032254502177238464, 0.05985027924180031, 0.008753947913646698, -0.0012514954432845116, 0.008499614894390106, 0.04450124502182007, -0.024008434265851974, -0.06971361488103867, 0.1416514664888382, -0.033555686473846436, 0.024665264412760735, 0.11523085087537766, 0.027325771749019623, -0.01707940362393856, 0.04515208303928375, 0.01646953634917736, -0.039556633681058884, 0.03445512801408768, -0.011427085846662521, 0.05797450244426727, 0.055680159479379654, -0.02348092384636402, -0.04338104650378227, -0.039695754647254944, -0.07253962755203247, -0.0187836866825819, -0.12204472720623016, 0.018214792013168335, 0.13940948247909546, -0.0225084088742733, 0.011132091283798218, -0.05924186855554581, 0.011351224966347218, 0.08297214657068253, 0.005814938805997372, 0.07890141755342484, 0.04228394106030464, 0.008541995659470558, -0.006118139252066612, -0.06219030171632767, -0.025916090235114098, 0.0021084973122924566, 0.038183629512786865, -0.008959302678704262, 0.01868017390370369, 0.0308323185890913, -0.005308946594595909, -0.1035057008266449, 0.05456738919019699, 0.015135823749005795, -0.04948272183537483, -0.037704240530729294, 0.016459466889500618, 0.02508290484547615, -0.05143463984131813, -0.08876868337392807, 0.17836850881576538, -0.017588971182703972, -0.030313145369291306, -0.011309058405458927, 0.010401529259979725, 0.05702853947877884, 0.0705806165933609, 0.03433628007769585, 0.0675070583820343, -0.08093734830617905, -0.008869810029864311, 0.02626333385705948, 0.034083642065525055, 0.018820401281118393, 0.06950824707746506, -0.02150556817650795, 0.0443246066570282, -0.015055682510137558, 0.04533162713050842, -0.06687762588262558, 0.006905699148774147, 0.000609218142926693, -0.02017064578831196, 0.0032849253620952368, -0.006315550301223993, -0.015937872231006622, 0.07387897372245789, -0.0483228825032711, -0.02614731527864933, -0.021525083109736443, -0.08787228167057037, 0.05123082548379898, -0.05449278652667999, 0.033938027918338776, -0.032898031175136566, 0.07885651290416718, 0.056330032646656036, -0.01735551469027996, -0.007851297035813332, 0.04079839959740639, 0.0006919552106410265, -0.04160314425826073, -0.025402244180440903, -0.0535406731069088, 0.006235484499484301, -0.02282387763261795, 0.03419553488492966, -0.007614015135914087, 0.008943106979131699, 0.05529205873608589, 0.000992180430330336, -0.01034637913107872, 0.0037510243710130453, -0.0009887266205623746, -0.01515053678303957, 0.02211211808025837, -0.031561195850372314, -0.014190237037837505, 0.008108025416731834, -0.0233326219022274, -0.026533886790275574, 0.03386816754937172, 0.037900593131780624, 0.01474944781512022, 0.06562243402004242, -0.009680772200226784, -0.019551575183868408, 0.01903337426483631, -0.032399676740169525, -0.006847590208053589, 0.046362727880477905, 0.06426633149385452, -0.03489918261766434, -0.030702559277415276, 0.0010602310067042708, 0.0003630680439528078, 0.01809820905327797, -0.030311904847621918, -0.03683089464902878, 0.00889071635901928, 0.010633036494255066, -0.011099759489297867, 0.002042550127953291, 0.018963804468512535, 0.024635858833789825, 0.051797110587358475, -0.02752143144607544, 0.012735646218061447, -0.09565568715333939, -0.023567520081996918, -0.022080006077885628, 0.025253983214497566, -0.04459017887711525, -0.003928381484001875, 0.04434283822774887, -0.003832249902188778, 0.009503412991762161, -0.027644945308566093, -0.014335231855511665, -0.00034465387579984963, 0.033715683966875076, 0.02812802791595459, 0.026415394619107246, 0.05249432846903801, -0.005251917522400618, -0.017798515036702156, 0.009378580376505852, 0.008197479881346226, -0.02521689049899578, 0.006513277534395456, -0.005137252621352673, 0.012145448476076126, -0.04155908524990082, 0.01654152199625969, 0.013939501717686653, -0.010667379014194012, -0.006168136838823557, 0.021730097010731697, -0.022456970065832138, 0.013822571374475956, -0.019867610186338425, 0.013576628640294075, 0.001939899637363851, 0.002275635488331318, 0.015247324481606483, 0.03222732990980148, -0.02543574385344982, 0.04400569573044777, 0.0018508186331018806, 0.02808811143040657, 0.011073265224695206, 0.018616294488310814, 0.017578672617673874, 0.015156296081840992, -0.01196466013789177, 0.01193968951702118, 0.010654201731085777, -0.04433020204305649, -0.014786776155233383, -0.002562626264989376, 0.04784834757447243, 0.07145354151725769, -0.04524161294102669, 0.0009107678197324276, 0.013012646697461605, 0.035075925290584564, -0.000725371646694839, -0.02491842955350876, -0.014907044358551502, 0.015896640717983246, -0.001100627239793539, 0.00815818551927805, -0.049239303916692734, -0.028196800500154495, 0.030231138691306114, 0.021093958988785744, -0.01589861884713173, 0.0158380139619112, 0.007856939919292927, 0.04340999200940132, -0.016709167510271072, 0.006020656321197748, 0.024259906262159348, 0.009974024258553982, 0.0038101072423160076, -0.0032371473498642445, 0.05088241025805473, 0.03774743527173996, -0.008779634721577168, -0.047967519611120224, -0.026507753878831863, -0.05265605449676514, 0.028001394122838974, -0.0433012880384922, 0.014110082760453224, -0.0046171341091394424, -0.011122248135507107, 0.03482026979327202, 0.014459667727351189, -0.03431050479412079, 0.01632796600461006, -0.0038557748775929213, 0.01571308821439743, 0.0200438741594553, 0.0339895635843277, 0.020323464646935463, 0.008226598612964153, 0.052291154861450195, 0.004826702177524567, -0.01796710304915905, 0.0035177599638700485, 0.010863233357667923, -0.03319681063294411, 0.06600267440080643, -0.01812957227230072, -0.046097930520772934, 0.007260199636220932, 0.006934278644621372, 0.0019390201196074486, 0.009497116319835186, -0.012340293265879154, -0.03518451377749443, 0.02318994328379631, 0.014746996574103832, 0.011254026554524899, 0.005051075480878353, -0.01920831948518753, -0.015428600832819939, -0.037206411361694336, -0.013947504572570324, 0.014919993467628956, -0.015970874577760696, 0.021489616483449936, -0.018979109823703766, 0.003977998159825802, 0.003952914848923683, 0.03351573273539543, 0.0172760970890522, 0.01883990317583084, -0.026218192651867867, 0.010451949201524258, -0.0024633321445435286, 0.02487226575613022, 0.03224851191043854, -0.11892087012529373, 0.032112278044223785, -0.032204531133174896, -0.017121046781539917, 0.03261211887001991, -0.014135527424514294, 0.049546852707862854, -0.030886847525835037, 0.04121485352516174, -0.04548924043774605, -0.022833675146102905, 0.01434375811368227, -0.012178443372249603, 0.00017076305812224746, 0.020019011572003365, -0.0215611532330513, -0.017558027058839798, -0.023031264543533325, 0.018601983785629272, -0.004975422285497189, 0.013375953771173954, -0.009325338527560234, -0.031089771538972855, 0.04697078466415405, -0.0418829619884491, 0.00027544854674488306, -0.011961429379880428, -0.0019207976292818785, -0.0024291803129017353, 0.03513491526246071, 0.008710796013474464, -0.05334200710058212, 0.020724700763821602, 0.02614625170826912, -0.02056165412068367, -0.015906833112239838, 0.00020892232714686543, -0.02488306164741516, 0.014338658191263676, 0.019131671637296677, 0.024698706343770027, -0.004251259379088879, -0.06143847107887268, 0.04727788642048836, -0.06128332391381264, 0.013594397343695164, -0.00009823491564020514, -0.02389654330909252, 0.05236091464757919, 0.004462860990315676, 0.028184404596686363, 0.0926428958773613, -0.003796621225774288, 0.005914267152547836, 0.03538116440176964, 0.02568764053285122, 0.040543291717767715, -0.05344685912132263, -0.027357682585716248, 0.01839442551136017, -0.019804632291197777, 0.00363841257058084, -0.03284335508942604, -0.04397956654429436, 0.017200011759996414, 0.01197441853582859, -0.005363153759390116, 0.02106088027358055, 0.013440003618597984, 0.02799208089709282, -0.014336432330310345, -0.006342731881886721, 0.020626559853553772, -0.032111912965774536, -0.01711016334593296, -0.0051171970553696156, -0.0006763831479474902, -0.03235776349902153, 0.00234240829013288, -0.06186284124851227, 0.025999348610639572, -0.007069016806781292, 0.020044958218932152, 0.04848979786038399, -0.053127408027648926, 0.04017117992043495, -0.029229622334241867, -0.009897972457110882, 0.04118740186095238, 0.009293394163250923, -0.014128019101917744, -0.0016222564736381173, 0.02088201977312565, -0.006703602150082588, 0.03448424115777016, -0.0010853458661586046, 0.04387589544057846, 0.029620161280035973, 0.024940667673945427, 0.023170750588178635, -0.01957279071211815, 0.056753356009721756, 0.005948603618890047, 0.04043101891875267, -0.023135265335440636, -0.044339869171381, -0.030917931348085403, -0.010655303485691547, -0.046371184289455414, 0.004190733656287193, 0.021896174177527428, 0.012639004737138748, 0.015609370544552803, 0.0561528280377388, -0.012501795776188374, 0.013578559271991253, 0.014918673783540726, 0.062187451869249344, -0.022360626608133316, 0.0027080748695880175, 0.04140571877360344, -0.016515100374817848, -0.03745339438319206, 0.002814462874084711, 0.00673129316419363, -0.014567913487553596, -0.019181856885552406, 0.019476376473903656, -0.01941409893333912, 0.07001817971467972, 0.06358946859836578, -0.04990782588720322, 0.025643495842814445, -0.012357383035123348, 0.048491835594177246, -0.008950850926339626, -0.006588525604456663, -0.018652450293302536, -0.03217563033103943, -0.023364689201116562, 0.037597961723804474, 0.032076459378004074, -0.006663183681666851, 0.018726112321019173, 0.040680669248104095, 0.038741450756788254, 0.06029042601585388, 0.02001398429274559, -0.007487867493182421, 0.02855902537703514, 0.05819737911224365, -0.03713899105787277, 0.03492608293890953, 0.03304867073893547, 0.009271061047911644, -0.03277340531349182, -0.028364403173327446, 0.005091238766908646, -0.01034644152969122, 0.019181646406650543, -0.044149283319711685, -0.034489475190639496, 0.019513539969921112, -0.008711821399629116, 0.03215759992599487, 0.019506143406033516, -0.004836276639252901, -0.015346230007708073, 0.039084531366825104, 0.060320474207401276, 0.005826937034726143, 0.01551596075296402, 0.010221029631793499, 0.003634354332461953, 0.016732653602957726, -0.0058141788467764854, 0.017233429476618767, -0.020407486706972122, -0.001571331056766212, 0.004496422596275806, 0.0009444807656109333, -0.036061402410268784, 0.004054120276123285, -0.004113894421607256, -0.027569957077503204, 0.044494304805994034, -0.026990560814738274, -0.03631120175123215, -0.025480996817350388, -0.05123559758067131, 0.017361348494887352, 0.0025623715482652187, -0.0076951077207922935, -0.0173979252576828, 0.028976285830140114, 0.0134498355910182, 0.027758199721574783, -0.014298131689429283, -0.051060792058706284, -0.06490201503038406, 0.0007356982678174973, -0.023177148774266243, -0.005193975754082203, 0.013010241091251373, -0.045245084911584854, 0.003226259956136346, 0.030749589204788208, 0.0034300764091312885, 0.02572975866496563, 0.0016732077347114682, 0.047384221106767654, 0.013337049633264542, 0.0207776241004467, 0.004608223680406809, -0.00459709158167243, 0.0030806642025709152, -0.011132296174764633, 0.0017190891085192561, -0.018853630870580673, -0.048754189163446426, 0.009573813527822495, -0.014073146507143974, 0.025115473195910454, -0.0573856495320797, 0.0074079581536352634, -0.011129339225590229, 0.01972319185733795, -0.043147824704647064, -0.021799856796860695, -0.018165040761232376, -0.010675471276044846, 0.022151406854391098, -0.0030655774753540754, 0.006823929026722908, 0.001230118446983397, -0.0016050031408667564, -0.030955001711845398, 0.027112098410725594, -0.030658992007374763, -0.007779130712151527, 0.02854120545089245, 0.036809612065553665, 0.02842678129673004, -0.027282778173685074, 0.04810713976621628, 0.04193674400448799, 0.08153142780065536, 0.003279747674241662, 0.027752947062253952, -0.007586629129946232, -0.01845371723175049, 0.024579156190156937, -0.005954082123935223, 0.02862728200852871, -0.017316577956080437, -0.0552821047604084, -0.021573327481746674, 0.037138815969228745, 0.0029396279715001583, -0.02241860143840313, -0.05063841864466667, -0.04555240273475647, -0.038550712168216705, 0.013576229102909565, -0.042588308453559875, -0.020241590216755867, 0.03111940808594227, -0.04766710475087166, -0.021306470036506653, -0.011600036174058914, -0.03497222810983658, -0.01188335195183754, -0.024693563580513, -0.013428024016320705, -0.0070253838784992695, -0.0510094054043293, -0.008872692473232746, -0.013968635350465775, 0.00932640302926302, -0.01572403684258461, -0.013948892243206501, 0.00081779615720734, 0.04697404429316521, 0.013184989802539349, 0.011887391097843647, 0.008716970682144165, -0.002557857194915414, -0.02621331997215748, 0.03933923318982124, 0.008414061740040779, 0.009214216843247414, -0.02485627308487892, 0.011549527756869793, -0.08001625537872314, 0.016523269936442375, -0.039894137531518936, 0.003655172884464264, 0.057389259338378906, -0.017604010179638863, 0.025157824158668518, 0.006977985613048077, -0.00046962129999883473, 0.04276454448699951, 0.004080269485712051, -0.03133079409599304, -0.04892737790942192, -0.005768976174294949, 0.024882294237613678, -0.033022280782461166, -0.06069475784897804, 0.008885149843990803, 0.011873955838382244, -0.03678113594651222, 0.019941311329603195, 0.014466510154306889, 0.0119254719465971, 0.0016100299544632435, -0.010075590573251247, -0.034369874745607376, -0.0011928653111681342, 0.03957626596093178, -0.01094520092010498, 0.04586454853415489, -0.017667068168520927 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Where are model cards headed? Meg: There’s a pretty big barrier to entry to do model cards in a way that is well informed by ethics. Partly because the people who need to fill this out are often engineers and developers who want to launch their model and don’t want to sit around thinking about documentation and ethics. Part of why I wanted to join Hugging Face is because it gave me an opportunity to standardize how these processes could be filled out and automated as much as possible. One thing I really like about Hugging Face is there is a focus on creating end-to-end machine learning processes that are as smooth as possible. Would love to do something like that with model cards where you could have something largely automatically generated as a function of different questions asked or even based on model specifications directly. We want to work towards having model cards as filled out as possible and interactive. Interactivity would allow you to see the difference in false-negative rate as you move the decision threshold. Normally with classification systems, you set some threshold at which you say yes or no, like .7, but in practice, you actually want to vary the decision threshold to trade off different errors. A static report of how well it works isn’t as informative as you want it to be because you want to know how well it works as different decision thresholds are chosen, and you could use that to decide what decision threshold to be used with your system. So we created a model card where you could interactively change the decision threshold and see how the numbers change. Moving towards that direction in further automation and interactivity is the way to go.
[ 0.060608044266700745, -0.07936862111091614, 0.005502002313733101, -0.01146736741065979, 0.04556407779455185, 0.03073183074593544, -0.03517327085137367, 0.022297775372862816, -0.05897138640284538, -0.032681528478860855, -0.05820303037762642, 0.025926077738404274, 0.02272002212703228, 0.0721968486905098, -0.016848349943757057, -0.07195691764354706, 0.01743573136627674, -0.00790654867887497, -0.02303813211619854, -0.03930673748254776, -0.053315095603466034, -0.05234518647193909, 0.0499824620783329, -0.032318420708179474, -0.03380262479186058, -0.05777214094996452, 0.06365235894918442, -0.06338232010602951, -0.017186585813760757, 0.04990946501493454, -0.07642152905464172, 0.0028322855941951275, -0.022828910499811172, -0.010655921883881092, 0.006883034482598305, 0.008055326528847218, -0.137460857629776, 0.055756889283657074, 0.04629059135913849, -0.010718325152993202, 0.01008526049554348, 0.002898102393373847, -0.0583442747592926, 0.031374234706163406, 0.003881639102473855, -0.0457335002720356, -0.19007188081741333, 0.0197429321706295, -0.044274840503931046, -0.017582403495907784, -0.04187576472759247, 0.09445531666278839, -0.03498508408665657, -0.01219227071851492, -0.017185943201184273, -0.05070938169956207, -0.02615886554121971, -0.00706299114972353, -0.010303698480129242, 0.01909038797020912, 0.01805993728339672, -0.016288939863443375, 0.02056010812520981, 0.03689014911651611, 0.010256129316985607, 0.016550211235880852, 0.05769480764865875, -0.0018060589209198952, -0.046546485275030136, -0.02977774851024151, 0.041362613439559937, -0.03515562787652016, 0.031718168407678604, -0.04891987890005112, 0.01441936381161213, -0.03705066442489624, 0.0016280116979032755, 0.046354372054338455, 0.019617898389697075, -0.00871878769248724, 0.015782563015818596, -0.01779448427259922, 0.05685866251587868, 0.07209394872188568, 0.018468907102942467, -0.004385828506201506, -0.008206686936318874, -0.02814720943570137, 0.012221015058457851, 0.10267501324415207, 0.002153760753571987, -0.07819700986146927, 0.03093181923031807, -0.015880674123764038, 0.06930791586637497, -0.02577276900410652, -0.026082508265972137, 0.030482342466711998, -0.056261442601680756, 0.010930261574685574, -0.0013135452754795551, -0.005973574705421925, 0.042135387659072876, -0.06760724633932114, -0.06701472401618958, 0.06117711216211319, -0.003928298596292734, -0.10265812277793884, -0.015588647685945034, 0.02064857818186283, 0.003864200320094824, -0.0693088173866272, 0.057673029601573944, 0.07827188074588776, -0.0439150407910347, 0.031005647033452988, 0.0168452225625515, -0.057303301990032196, -0.005533759947866201, 0.040620751678943634, 0.048228438943624496, 0.04554931819438934, 0.007757838349789381, 0.01919126696884632, -0.01813722588121891, 0.030690424144268036, 0.06390310823917389, 0.0012906359042972326, -0.010826393030583858, -0.030952787026762962, 0.038337342441082, 0.051595840603113174, -0.0442182719707489, 0.006628335453569889, -0.02547149918973446, -0.06281956285238266, -0.006584850139915943, -0.0897965058684349, 0.06315861642360687, 0.003972708713263273, -0.05056363344192505, -0.002629899187013507, 0.04493828862905502, -0.007140863686800003, 0.09082654118537903, -0.02797705866396427, -0.06451785564422607, 0.06507853418588638, -0.0043463935144245625, 0.02371169812977314, -0.09300755709409714, 0.03849984332919121, 0.03909870982170105, -0.06742121279239655, -0.009416195563971996, 0.04701932892203331, -0.07141429930925369, -0.0010912609286606312, -0.04243025928735733, -0.03085901401937008, -0.02733849361538887, -0.000004749126674141735, -0.06655542552471161, -0.0021726705599576235, 0.024806316941976547, 0.040147922933101654, 0.018585553392767906, 0.032665688544511795, -0.002829595934599638, 0.03836604580283165, 0.0015500119188800454, -0.048740919679403305, 0.08140372484922409, -0.051292937248945236, 0.0478518009185791, 0.02337539941072464, 0.03441809117794037, -0.010488458909094334, -0.03310512378811836, 0.029911890625953674, -0.04972867667675018, 0.03190530464053154, 0.0027874144725501537, 0.04215560480952263, 0.04003613069653511, -0.09233642369508743, -0.04326532781124115, -0.02423010766506195, -0.01783406175673008, 0.0001339986629318446, -0.03561101853847504, 0.03370184451341629, 0.10322540998458862, 0.018853185698390007, 0.02568470500409603, -0.030319513753056526, -0.07439559698104858, 0.1252499520778656, 0.012904890812933445, 0.06589759141206741, 0.05753004550933838, 0.04652084410190582, 0.03331641107797623, -0.027557943016290665, 0.012966872192919254, 0.015328842215240002, 0.017330467700958252, -0.028772246092557907, 0.004780106712132692, 0.053102415055036545, 0.009074428118765354, -0.11735811084508896, 0.047767121344804764, 0.010224554687738419, -0.02564171329140663, -0.021893644705414772, -0.01587037928402424, -0.0021184044890105724, -0.046167321503162384, -0.011561736464500427, 0.15046744048595428, -0.007659371942281723, -0.024277543649077415, -0.03338171914219856, 0.012659738771617413, 0.040084391832351685, 0.09202472865581512, 0.13259099423885345, 0.05611729621887207, -0.12271688133478165, -0.03198442980647087, -0.02071184292435646, 0.010721422731876373, 0.005697021260857582, 0.03959197923541069, -0.011964038014411926, 0.06608722358942032, -0.060738615691661835, 0.04594368487596512, -0.020900366827845573, -0.018844064325094223, -0.0053808302618563175, 0.018441852182149887, 0.028757181018590927, 0.0038986424915492535, -0.034917354583740234, 0.09171933680772781, 0.019524283707141876, -0.054887812584638596, 0.03027767315506935, -0.1279374659061432, 0.049029819667339325, -0.00758024025708437, -0.0016254597576335073, 0.029114272445440292, 0.04182710126042366, 0.02621389739215374, 0.000966641993727535, -0.02194794826209545, 0.052275288850069046, 0.03142217546701431, -0.05018625035881996, -0.00943042617291212, -0.05559125542640686, -0.011081929318606853, -0.03447238355875015, -0.0035863465163856745, -0.014192666858434677, 0.02429323084652424, 0.051412004977464676, 0.041473183780908585, -0.037930868566036224, 0.029133623465895653, 0.0026940584648400545, 0.0061235493049025536, 0.03465665131807327, 0.054081954061985016, -0.005446916446089745, -0.008352182805538177, -0.028375590220093727, -0.018093962222337723, 0.001445743371732533, 0.031069742515683174, 0.0319133885204792, 0.04383934289216995, 0.017286932095885277, -0.01427481509745121, 0.01624029502272606, -0.035728875547647476, 0.03360339626669884, 0.05196628347039223, 0.042085982859134674, -0.026386989280581474, -0.02111964486539364, -0.015518121421337128, -0.021749747917056084, 0.010504699312150478, -0.010549550876021385, -0.03629736602306366, 0.015997372567653656, 0.00096795370336622, 0.011923822574317455, -0.003363500814884901, 0.0014299616450443864, -0.011829063296318054, 0.01868024468421936, 0.011046342551708221, 0.01071945670992136, -0.09917823225259781, -0.011791415512561798, -0.029899965971708298, 0.030670128762722015, -0.02590618096292019, 0.02215977944433689, 0.03480776026844978, -0.019714927300810814, 0.022397221997380257, -0.008835487999022007, -0.004287444520741701, 0.025172783061861992, -0.009363250806927681, 0.05831434577703476, -0.0072797867469489574, 0.00621387455612421, 0.027550285682082176, -0.018944695591926575, 0.03041119873523712, -0.009158053435385227, -0.04412213712930679, 0.0600164569914341, -0.024917205795645714, 0.024667110294103622, -0.03821100667119026, -0.0202105101197958, 0.042959388345479965, 0.014543800614774227, 0.019551774486899376, -0.020700911059975624, -0.02680276893079281, 0.0032118293456733227, -0.017764434218406677, -0.004577807616442442, -0.03262140229344368, 0.0001439071202185005, 0.03291381150484085, 0.004201299510896206, -0.018034925684332848, 0.023411912843585014, -0.011073891073465347, 0.00927275326102972, 0.012168681249022484, -0.008323045447468758, 0.000520198664162308, 0.013733375817537308, 0.0064856018871068954, -0.0035856342874467373, 0.03591309115290642, -0.04356520250439644, 0.010240753181278706, 0.011108015663921833, 0.02677103504538536, 0.07248249650001526, -0.016860002651810646, 0.02689693123102188, -0.019848912954330444, 0.051918163895606995, -0.024620404466986656, -0.03162618353962898, -0.026327697560191154, -0.031696151942014694, -0.01584663614630699, 0.002928780857473612, -0.03297897055745125, 0.047409627586603165, 0.01885977014899254, -0.00951579213142395, 0.01478379126638174, 0.015617690980434418, -0.005456794053316116, 0.01805591769516468, -0.018817948177456856, 0.006259427405893803, 0.00631456496194005, -0.027808398008346558, -0.0016959724016487598, -0.006771782413125038, 0.048383619636297226, 0.02276633121073246, -0.02701399475336075, -0.02740783803164959, -0.028904268518090248, -0.017674459144473076, 0.025969702750444412, -0.03767268359661102, 0.04565350338816643, 0.001075923559255898, -0.010348290205001831, 0.032286010682582855, 0.000653432565741241, -0.05326281487941742, 0.012720310129225254, -0.032535579055547714, 0.01845484785735607, 0.009907258674502373, 0.034012943506240845, 0.011983228847384453, 0.009299006313085556, 0.025533001869916916, 0.017496904358267784, -0.06736376881599426, -0.007473081350326538, 0.03622354194521904, 0.017415866255760193, 0.06849481910467148, -0.012983350083231926, -0.04985373839735985, 0.0013301767176017165, -0.0034843445755541325, -0.014083468355238438, -0.0016277742106467485, 0.012857994064688683, -0.04259062930941582, 0.04739994555711746, 0.019574325531721115, -0.01428995467722416, -0.007721940521150827, -0.021793149411678314, 0.0022510564886033535, -0.033399056643247604, 0.023616908118128777, 0.006696242839097977, -0.013130107894539833, 0.04858814552426338, 0.0007072422304190695, 0.014117171056568623, 0.005683092400431633, 0.01462705247104168, -0.03472665697336197, 0.0012590877013280988, -0.016912633553147316, 0.004774243570864201, -0.0033816539216786623, 0.04093541204929352, 0.028688743710517883, -0.08545984327793121, 0.02922426536679268, 0.0041619534604251385, -0.02777809463441372, 0.02165927365422249, 0.010704772546887398, 0.035775963217020035, -0.012969412840902805, 0.05007268488407135, -0.041137371212244034, -0.05518920719623566, 0.0032591265626251698, 0.01740412227809429, 0.004996057599782944, 0.00396747887134552, 0.018410490825772285, -0.06065336987376213, -0.002152957720682025, 0.024935277178883553, -0.03175409510731697, -0.020985716953873634, -0.002255435334518552, 0.0022219743113964796, 0.03771109879016876, -0.02070322446525097, 0.02737489342689514, -0.0013578463112935424, 0.012201192788779736, 0.02701970562338829, 0.015231928788125515, 0.011917449533939362, -0.0552082359790802, 0.019310124218463898, 0.031526632606983185, -0.026469949632883072, -0.03262102231383324, 0.026488322764635086, -0.03319120779633522, -0.02232537791132927, 0.010558794252574444, 0.02946234680712223, -0.009548749774694443, -0.07170647382736206, -0.0012129147071391344, -0.035797275602817535, 0.008152902126312256, 0.034440118819475174, -0.012024620547890663, 0.02689206600189209, 0.013223775662481785, 0.05775320902466774, 0.10862503945827484, 0.022093413397669792, 0.006553246174007654, 0.03187429532408714, 0.03956088423728943, 0.036838408559560776, -0.06432981789112091, -0.012565309181809425, -0.0008889627060852945, 0.0101142767816782, -0.001068171113729477, -0.032826393842697144, -0.0023206756450235844, 0.030964598059654236, 0.025455115363001823, -0.023250024765729904, 0.01668732240796089, 0.02629491500556469, 0.02226804383099079, -0.029150797054171562, -0.010073656216263771, 0.03153055161237717, -0.03434886038303375, 0.011658644303679466, 0.0022125637624412775, -0.010915063321590424, -0.04944941774010658, 0.024008385837078094, -0.030221085995435715, -0.002874865662306547, 0.006460008677095175, -0.005189712159335613, 0.06272424012422562, -0.026836605742573738, 0.027244895696640015, -0.04490341991186142, -0.030601002275943756, 0.026949144899845123, -0.018474014475941658, -0.0009138063760474324, -0.010085496120154858, 0.015157824382185936, 0.002607367467135191, 0.017911959439516068, -0.0024872422218322754, 0.03844332695007324, 0.019567040726542473, 0.022915920242667198, -0.0068382336758077145, -0.04351555183529854, 0.0550786629319191, -0.0007500230567529798, -0.027003848925232887, -0.015695098787546158, 0.00416250666603446, -0.03219463303685188, 0.004180537071079016, -0.047495897859334946, 0.022425204515457153, 0.057693686336278915, -0.00304188160225749, 0.0005410053418017924, 0.038218215107917786, 0.027763882651925087, 0.030449192970991135, -0.01608775556087494, 0.04744180291891098, 0.0042584617622196674, 0.016049286350607872, 0.01589037850499153, -0.0024840335827320814, -0.03941674903035164, -0.03165697678923607, 0.03266168758273125, -0.07196926325559616, -0.022257786244153976, 0.034490372985601425, -0.01831400766968727, 0.040148913860321045, 0.011710704304277897, -0.02298334240913391, 0.013145663775503635, 0.010056077502667904, 0.05585204437375069, 0.02454867586493492, -0.007328814826905727, 0.021670404821634293, -0.04335400462150574, -0.010317840613424778, 0.021451858803629875, 0.04262857884168625, -0.009843768551945686, 0.021753910928964615, 0.002871111035346985, 0.05589146539568901, 0.023823976516723633, 0.014880427159368992, -0.03180968016386032, 0.008419173769652843, 0.07909344881772995, -0.00273077841848135, 0.04623493179678917, 0.04073566943407059, 0.0015101841418072581, -0.023660933598876, 0.012168554589152336, -0.018934931606054306, -0.020910510793328285, -0.0044539924710989, 0.005397741682827473, -0.022717176005244255, -0.0011692820116877556, -0.025036625564098358, 0.07497894763946533, 0.02335761860013008, 0.01243932731449604, 0.00322433328256011, 0.027646372094750404, 0.05059874802827835, 0.0014764652587473392, 0.0019516891334205866, 0.010227839462459087, -0.009883126243948936, -0.029774896800518036, 0.020806245505809784, 0.01412674505263567, 0.00019776208500843495, 0.016518108546733856, 0.018683284521102905, -0.004834442865103483, -0.024197394028306007, 0.002534376922994852, 0.028522631153464317, -0.00025273297796957195, 0.040616005659103394, 0.0021224073134362698, -0.021569671109318733, -0.018568025901913643, -0.003725305898115039, 0.002025387715548277, 0.02690194919705391, -0.007795501966029406, -0.027509542182087898, 0.005765372887253761, 0.037922803312540054, 0.035354699939489365, 0.0010235433001071215, -0.018661940470337868, -0.04112819954752922, -0.019890071824193, -0.009289972484111786, -0.03004435822367668, -0.010269375517964363, -0.01620529033243656, -0.03144412860274315, 0.007521330378949642, -0.015530912205576897, 0.003360928501933813, -0.012825378216803074, 0.04544632136821747, 0.0372687429189682, -0.0027466239407658577, 0.04777080565690994, 0.0024200959596782923, -0.02032003365457058, -0.03621533140540123, -0.005068521481007338, -0.029685402289032936, -0.01626676693558693, -0.015574737451970577, -0.03386319801211357, -0.0018810309702530503, -0.04277839511632919, 0.04550626501441002, -0.017533736303448677, 0.04017438367009163, -0.042320724576711655, 0.018250595778226852, -0.011051670648157597, 0.0005955312517471611, -0.0033635394647717476, 0.011902389116585255, -0.007266394793987274, -0.008100938983261585, 0.013379265554249287, -0.017335230484604836, 0.00586357107385993, -0.005043648649007082, 0.004224409349262714, 0.055418819189071655, 0.014677337370812893, -0.03558528795838356, 0.0363088883459568, 0.051264308393001556, 0.04324156790971756, 0.04663205146789551, 0.0034495266154408455, 0.0018596097361296415, -0.002590957097709179, -0.035043857991695404, 0.022519942373037338, -0.01992323435842991, 0.024651657789945602, -0.028521114960312843, -0.04779728129506111, 0.006233199033886194, -0.0117601677775383, 0.007291512098163366, 0.0013565060216933489, -0.045481953769922256, -0.024244429543614388, -0.03787064924836159, -0.03529591113328934, -0.04720624163746834, -0.03665287792682648, 0.05379331111907959, -0.015913700684905052, 0.007891341112554073, -0.004128934815526009, 0.009616111405193806, 0.020467722788453102, -0.015509674325585365, 0.010709979571402073, 0.011210663244128227, -0.02369103766977787, -0.025662966072559357, -0.012584432028234005, -0.021040761843323708, 0.0034083337523043156, -0.048570211976766586, -0.0044542583636939526, 0.02663377672433853, -0.006510682869702578, -0.017965372651815414, -0.0008901333203539252, 0.01896785944700241, -0.009454385377466679, 0.04463290423154831, -0.042885202914476395, 0.011598030105233192, -0.03517093509435654, 0.03578287363052368, -0.04974236339330673, 0.012141470797359943, -0.04494169354438782, 0.005004162900149822, 0.04115767776966095, -0.006388613488525152, 0.030580947175621986, 0.016807032749056816, -0.002632124349474907, 0.05804963409900665, -0.018109504133462906, -0.05117766559123993, -0.0509461872279644, 0.009129703976213932, 0.04415962100028992, -0.003978348337113857, -0.02420285902917385, 0.00003589430343708955, 0.004233065061271191, -0.030318856239318848, -0.026065710932016373, -0.020029576495289803, 0.016622716560959816, 0.01597871072590351, 0.01694999262690544, -0.04525725543498993, 0.03754016384482384, 0.006766307167708874, -0.020370906218886375, -0.009963189251720905, -0.014531626366078854 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Should people be afraid of AI taking over the world? Meg: There are a lot of things to be afraid of with AI. I like to see it as we have a distribution over different kinds of outcomes, some more positive than others, so there’s not one set one that we can know. There are a lot of different things where AI can be super helpful and more task-based over more generalized intelligence. You can see it going in another direction, similar to what I mentioned earlier about a model thinking something destructive is beautiful is one hop away from a system that is able to press a button to set off a missile. Don’t think people should be scared per se, but they should think about the best and worst-case scenarios and try to mitigate or stop the worst outcomes. I think the biggest thing right now is these systems can widen the divide between the haves and have nots. Further giving power to people who have power and further worsening things for people who don’t. The people designing these systems tend to be people with more power and wealth and they design things for their kinds of interest. I think that’s happening right now and something to think about in the future. Hopefully, we can focus on the things that are most beneficial and continue heading in that direction.
[ 0.046652864664793015, -0.04874732345342636, 0.0183043722063303, 0.052953582257032394, 0.019869115203619003, -0.011870749294757843, -0.051333967596292496, 0.003933608531951904, -0.05931592732667923, -0.09504818171262741, -0.07798473536968231, 0.02697422355413437, -0.061432261019945145, 0.07018765062093735, 0.03566057235002518, -0.05287075415253639, -0.008632928133010864, -0.006257682107388973, -0.011411978863179684, -0.002327047288417816, 0.018085509538650513, -0.016725733876228333, 0.05888037011027336, -0.03536044433712959, -0.05433691293001175, -0.030441248789429665, 0.03322889283299446, -0.039467666298151016, -0.06635480374097824, -0.01169862225651741, -0.07893776148557663, -0.03659166768193245, -0.037408746778964996, 0.008096793666481972, -0.004074667580425739, -0.016403671354055405, -0.07887264341115952, 0.07503679394721985, 0.013313976116478443, 0.08060762286186218, 0.021826963871717453, -0.025144563987851143, -0.050899628549814224, 0.07139765471220016, -0.03557730093598366, -0.042326509952545166, -0.21294747292995453, 0.09838703274726868, -0.07084068655967712, -0.03831879794597626, -0.06680821627378464, 0.07096316665410995, -0.007870039902627468, -0.04990354925394058, 0.05070556700229645, -0.03995998576283455, -0.005438105668872595, -0.06053142249584198, -0.052637916058301926, -0.041261542588472366, 0.009085820987820625, 0.0007450890261679888, 0.013464574702084064, 0.013474763371050358, 0.0005497389938682318, -0.0320608913898468, 0.0979730412364006, 0.01409797091037035, -0.0737432986497879, -0.030362410470843315, 0.007711419370025396, -0.038236577063798904, -0.0574849471449852, -0.025023426860570908, -0.057806145399808884, -0.050607405602931976, 0.05027540400624275, 0.10314895957708359, 0.0011182946618646383, -0.0360102653503418, 0.057838354259729385, 0.013373900204896927, 0.11073155701160431, 0.06934773176908493, 0.0043966639786958694, 0.002244453178718686, 0.04461881145834923, 0.06726080924272537, -0.07268274575471878, 0.06992648541927338, 0.05423348397016525, -0.08684419095516205, 0.017084522172808647, 0.006929569877684116, 0.07192559540271759, -0.031270209699869156, -0.022111233323812485, -0.008498985320329666, -0.07586050033569336, 0.004366321489214897, -0.0358828529715538, -0.008718039840459824, 0.08098331838846207, -0.03648896515369415, -0.03416025638580322, -0.02986830286681652, 0.021651746705174446, -0.08606364578008652, 0.025708502158522606, 0.011597354896366596, -0.04839002341032028, -0.024241706356406212, 0.04498345032334328, -0.0030913150403648615, -0.04138387739658356, 0.028734153136610985, 0.04125172644853592, -0.05183800682425499, 0.0945843756198883, 0.028621448203921318, 0.07392841577529907, 0.019010284915566444, -0.020057041198015213, 0.059445664286613464, 0.005074697080999613, -0.05298396572470665, 0.05885172262787819, 0.0016943445662036538, 0.026414157822728157, -0.04286246374249458, 0.02985936775803566, -0.020878737792372704, -0.044722914695739746, -0.037940915673971176, 0.03690879046916962, -0.003137495368719101, 0.00778551260009408, -0.0350693017244339, 0.02437054179608822, -0.020870337262749672, -0.06900155544281006, -0.02962062507867813, 0.020908571779727936, 0.051810573786497116, 0.0685025006532669, -0.03821144625544548, -0.04067939519882202, -0.015147474594414234, -0.005706754978746176, 0.050155363976955414, -0.07068196684122086, 0.057794924825429916, -0.04788613319396973, -0.0730305090546608, 0.010303397662937641, 0.04521165415644646, 0.0002014190686168149, -0.02421068400144577, 0.05863092839717865, 0.025429455563426018, -0.014154406264424324, -0.004337182268500328, 0.03302725777029991, -0.027725575491786003, 0.06599871069192886, -0.04911206662654877, 0.008657550439238548, 0.004805775359272957, 0.01800020970404148, 0.02213277481496334, -0.051052726805210114, 0.008190510794520378, 0.06817958503961563, -0.07509928196668625, 0.03409704566001892, 0.0029326591175049543, 0.00955155584961176, 0.021687373518943787, 0.010578366927802563, 0.01533600315451622, -0.023565230891108513, 0.0667235404253006, -0.01177243236452341, 0.010048958472907543, 0.057289008051157, -0.07490981370210648, -0.025232601910829544, -0.015272257849574089, 0.018979163840413094, 0.01897919923067093, -0.02876366302371025, -0.016323264688253403, 0.06553564220666885, 0.034481387585401535, 0.022161977365612984, -0.04778469353914261, 0.013914110139012337, 0.10887769609689713, 0.026140572503209114, 0.059513259679079056, 0.03972359001636505, -0.07643720507621765, 0.04175226390361786, -0.06794144213199615, -0.009686940349638462, 0.020692523568868637, 0.07183386385440826, -0.01062414888292551, -0.03629659116268158, 0.07548133283853531, 0.03674297034740448, -0.06540355831384659, -0.003869950072839856, -0.01245729997754097, 0.005892908666282892, -0.009175583720207214, -0.0650276243686676, 0.0015029690694063902, -0.04287038743495941, -0.008975056000053883, 0.097982257604599, -0.042794566601514816, -0.010997476987540722, 0.03429151698946953, 0.03544659912586212, 0.05948198586702347, 0.06443332880735397, 0.02006547898054123, 0.06014631688594818, -0.027413468807935715, -0.020797699689865112, 0.039512474089860916, 0.012776139192283154, -0.026301082223653793, 0.002042617416009307, 0.09343568980693817, 0.007142907939851284, 0.012714890763163567, 0.0015267047565430403, -0.06936436146497726, -0.02564113959670067, -0.04374609515070915, -0.006914782337844372, 0.06501016765832901, -0.012120547704398632, -0.00790752749890089, 0.0639394149184227, -0.015444207936525345, -0.025846131145954132, 0.01710880547761917, -0.061537016183137894, 0.052807994186878204, 0.0014432049356400967, 0.06274490803480148, 0.009444596245884895, 0.04603327810764313, 0.014169723726809025, -0.021057939156889915, -0.013600264675915241, -0.012749732472002506, 0.026245715096592903, -0.05130232125520706, 0.0032731760293245316, -0.04602256044745445, 0.009271238930523396, -0.016037598252296448, -0.035510919988155365, -0.009594614617526531, 0.024661941453814507, 0.004917294252663851, 0.04762298986315727, 0.008802159689366817, 0.021048136055469513, 0.026820626109838486, -0.04202619567513466, 0.022386373952031136, 0.02831399068236351, 0.012825513258576393, -0.005061423406004906, -0.025652118027210236, 0.0064816465601325035, 0.037059102207422256, 0.0016794073162600398, 0.03827253729104996, 0.017342742532491684, -0.015036113560199738, -0.01774349994957447, 0.0262785442173481, -0.033346060663461685, 0.011935302056372166, -0.006752797868102789, 0.03146462142467499, 0.009729492478072643, -0.010646700859069824, -0.038506608456373215, -0.053754985332489014, 0.019438082352280617, -0.00364801031537354, -0.019524861127138138, 0.01140657626092434, 0.022423285990953445, 0.015314537100493908, -0.03126004710793495, -0.015046564862132072, -0.03709609434008598, 0.04614148661494255, 0.0033567678183317184, 0.02430080622434616, -0.10471629351377487, -0.06707257777452469, -0.0050855474546551704, 0.02136896550655365, -0.006047188304364681, -0.006193825975060463, 0.035340048372745514, -0.008720599114894867, 0.009349227882921696, -0.010432609356939793, 0.0308587197214365, -0.012322562746703625, 0.01700095646083355, 0.04490550979971886, 0.027947966009378433, 0.006781443487852812, 0.026432091370224953, -0.015666522085666656, 0.020543117076158524, 0.03426549211144447, -0.032451875507831573, 0.0757361575961113, -0.02888822741806507, 0.020385216921567917, -0.03623368218541145, -0.033473383635282516, 0.008650528267025948, 0.05015767365694046, -0.0025969366542994976, -0.004963871091604233, -0.004135686904191971, -0.024617433547973633, -0.03567209094762802, 0.021945737302303314, -0.0022709695622324944, 0.040123507380485535, 0.025795847177505493, 0.024635927751660347, 0.019975626841187477, 0.10042695701122284, 0.01705675944685936, -0.005194535944610834, 0.03465428203344345, -0.02077840454876423, 0.02263261377811432, 0.018565038219094276, 0.017331281676888466, -0.011120764538645744, 0.009807501919567585, -0.04001406580209732, -0.020708827301859856, 0.005062410607933998, -0.0017033964395523071, 0.049926672130823135, -0.001904421835206449, 0.030138758942484856, -0.015021547675132751, 0.051771439611911774, -0.0018778381636366248, 0.029752206057310104, 0.00114866450894624, 0.034654650837183, 0.04610651731491089, 0.011232570745050907, -0.010713553056120872, 0.0346611812710762, 0.02891009859740734, 0.0025228308513760567, 0.03527611121535301, -0.03845326229929924, 0.04305272549390793, -0.02495930902659893, 0.023631883785128593, 0.004397031385451555, -0.02442319132387638, 0.01059663575142622, -0.027405578643083572, 0.01704675331711769, 0.057241328060626984, 0.005299339070916176, -0.022535422816872597, -0.06287844479084015, -0.03971917927265167, -0.06670227646827698, -0.023399075493216515, -0.04036381468176842, 0.03384736552834511, -0.012824257835745811, 0.00856831669807434, 0.047088123857975006, -0.016774429008364677, -0.08882229775190353, 0.007683219853788614, -0.004740162752568722, 0.014482485130429268, 0.010778279043734074, 0.03901267424225807, 0.015091566368937492, -0.015399252995848656, 0.0021804815623909235, 0.028224896639585495, -0.0681876465678215, -0.012198453769087791, -0.01421838253736496, -0.011433431878685951, 0.0760539099574089, 0.009639772586524487, -0.005842780228704214, 0.00838723499327898, 0.00006482383469119668, 0.013523745350539684, 0.0008397327619604766, 0.03289157897233963, -0.05460247024893761, 0.03085305355489254, -0.006512874737381935, -0.014139004983007908, 0.020716845989227295, -0.022053994238376617, 0.009616991505026817, -0.02625255472958088, 0.001472119358368218, -0.019026029855012894, 0.022967113181948662, -0.012032232247292995, -0.003963659051805735, -0.0230703204870224, -0.02750714309513569, 0.010842544957995415, -0.011453124694526196, 0.03595484793186188, 0.0031792414374649525, -0.001449598465114832, 0.0018227212131023407, 0.012792663648724556, -0.0005767631228081882, 0.0002104045415762812, 0.035941485315561295, -0.008948673494160175, -0.014663467183709145, 0.01383146271109581, 0.012338903732597828, 0.06231801584362984, -0.032758619636297226, 0.015473520383238792, -0.021890565752983093, -0.033727359026670456, -0.0035402814392000437, -0.008412977680563927, 0.04671546071767807, 0.00794441718608141, 0.019963620230555534, -0.0207056924700737, -0.030467936769127846, 0.033979494124650955, -0.04600762948393822, -0.027892788872122765, 0.019355924800038338, -0.0301338080316782, -0.0010039512999355793, 0.013351455330848694, 0.009349334053695202, -0.0006352078053168952, -0.008926808834075928, 0.016164574772119522, 0.04568212106823921, 0.01761433109641075, -0.03695545345544815, -0.010649523697793484, 0.03069176897406578, 0.045265257358551025, 0.014213256537914276, -0.02366291917860508, -0.04125495254993439, -0.010221417993307114, 0.0020771517883986235, 0.016977844759821892, 0.016985010355710983, -0.036618296056985855, -0.017164958640933037, 0.03747714310884476, -0.0038106415886431932, 0.033856138586997986, -0.03144756332039833, 0.04745097458362579, 0.011397826485335827, 0.019911298528313637, 0.07170359790325165, -0.018610449507832527, -0.0359286367893219, 0.02577478066086769, 0.03771953657269478, -0.005984092131257057, -0.04452555999159813, 0.013441714458167553, 0.020611153915524483, 0.027142006903886795, 0.024808937683701515, -0.03454982861876488, 0.015562821179628372, 0.012722410261631012, 0.03589737042784691, -0.0037777507677674294, 0.00035813101567327976, 0.002566030714660883, -0.028318196535110474, -0.0021941710729151964, 0.00713735306635499, -0.00811657402664423, -0.005006087943911552, -0.02544129267334938, -0.0069117252714931965, -0.015948014333844185, -0.026967201381921768, -0.01577736623585224, -0.016403811052441597, -0.06259262561798096, 0.021466735750436783, 0.0019310559146106243, 0.03657607361674309, 0.0053963628597557545, 0.019682476297020912, -0.06384948641061783, -0.011624695733189583, 0.03166642412543297, -0.005199794191867113, -0.01052974071353674, 0.04142868518829346, 0.0032470349688082933, -0.01137635949999094, 0.026293929666280746, 0.017614366486668587, 0.03734510764479637, 0.05888516083359718, 0.02478463388979435, -0.026728937402367592, -0.007414446212351322, 0.05107982084155083, 0.02903258427977562, -0.03588273003697395, -0.02314373478293419, -0.0649305135011673, -0.013738878071308136, -0.042718555778265, -0.03157908096909523, 0.004174502100795507, 0.038438599556684494, -0.008859324268996716, -0.01132512278854847, -0.008825433440506458, 0.036737363785505295, 0.026187164708971977, -0.005466189235448837, -0.00842417124658823, 0.014409366063773632, 0.021975137293338776, -0.010026921518146992, -0.025433804839849472, -0.0007556378841400146, -0.030293110758066177, -0.01080448180437088, -0.04610535874962807, 0.01512785442173481, 0.01790897361934185, 0.02653747797012329, 0.05059510096907616, 0.03932652994990349, -0.059121064841747284, -0.04245062172412872, -0.005177097395062447, 0.052240096032619476, 0.0284733846783638, -0.02493773028254509, 0.0031020932365208864, -0.0016928178956732154, -0.02596346102654934, 0.021712778136134148, 0.03716256096959114, -0.022525327280163765, 0.011236894875764847, 0.029941311106085777, 0.05770053714513779, 0.03108580783009529, -0.06577328592538834, 0.02113116905093193, 0.014053710736334324, 0.03603902459144592, -0.009427840821444988, 0.020664280280470848, 0.04182209447026253, -0.0371222048997879, -0.05508079007267952, -0.022293297573924065, 0.03543553128838539, 0.007522678934037685, 0.028831927105784416, 0.02660943754017353, -0.06224191561341286, -0.00042535574175417423, -0.02395389787852764, 0.019103391095995903, 0.018652547150850296, 0.00319080613553524, 0.009626086801290512, 0.026798555627465248, 0.017292704433202744, 0.033237703144550323, -0.026806842535734177, 0.03011050634086132, -0.005051987711340189, 0.015444178134202957, 0.011699412949383259, 0.016842028126120567, 0.01667174883186817, -0.0024529576767235994, 0.014954215846955776, -0.013452581129968166, -0.005123945884406567, -0.019388552755117416, -0.0045553212985396385, -0.04128095880150795, -0.0025415155105292797, -0.017991850152611732, -0.027590077370405197, 0.03464829549193382, -0.03156276419758797, -0.013995247893035412, 0.01324184238910675, -0.019020218402147293, -0.041984908282756805, -0.008078471757471561, 0.055346712470054626, 0.009336761198937893, -0.00606381893157959, -0.01857096515595913, -0.04177693650126457, 0.02757347747683525, -0.012225943617522717, -0.033796314150094986, -0.018645906820893288, -0.0009659177740104496, -0.03924430161714554, -0.018105823546648026, 0.004341441672295332, -0.012456673197448254, -0.05188002437353134, -0.008565620519220829, 0.046272553503513336, -0.01599547080695629, 0.004199486691504717, 0.03861687704920769, -0.011173929087817669, -0.02225521206855774, -0.01761442981660366, -0.04871164262294769, 0.029163064435124397, -0.02954740636050701, -0.02123039774596691, 0.00851298589259386, -0.05664001405239105, 0.01605590060353279, -0.01535953488200903, 0.03202468901872635, -0.0340876542031765, 0.05272066965699196, 0.040274251252412796, -0.026303263381123543, -0.004313491750508547, 0.011983972042798996, 0.025321930646896362, -0.021618181839585304, 0.0065031275153160095, -0.01831660233438015, 0.007745060604065657, -0.01350365113466978, -0.00818359013646841, 0.07039588689804077, -0.009814351797103882, -0.04592515528202057, 0.01543587725609541, 0.04137897491455078, 0.04199116677045822, 0.030601976439356804, 0.005879739299416542, 0.003539588302373886, -0.009322218596935272, -0.050564106553792953, 0.0370401032269001, 0.023656168952584267, 0.04620666056871414, -0.0037344712764024734, -0.009445836767554283, -0.049260422587394714, -0.017740163952112198, 0.02621336095035076, 0.00642739050090313, -0.01845039613544941, -0.04485097900032997, -0.02075587771832943, 0.050032541155815125, -0.06416863203048706, 0.02773752249777317, 0.06277076154947281, 0.03433827683329582, -0.0027432625647634268, -0.06913216412067413, 0.016861097887158394, 0.007047535385936499, -0.016520604491233826, 0.03105783462524414, 0.008984854444861412, -0.006248914636671543, -0.03748967498540878, 0.01139522809535265, 0.020589297637343407, -0.018900668248534203, -0.012588541023433208, -0.007101738825440407, 0.03835657611489296, -0.002188565907999873, 0.015239358879625797, -0.015911463648080826, -0.008360851556062698, 0.010069913230836391, 0.016795026138424873, -0.007861516438424587, 0.008754836395382881, -0.013247850351035595, 0.03250379115343094, -0.03994680941104889, 0.00490614166483283, -0.02220342867076397, 0.03030228242278099, 0.03331897035241127, 0.03001890704035759, -0.004320355132222176, -0.0036019945982843637, -0.009983297437429428, 0.0331244058907032, 0.018459562212228775, -0.0180011298507452, -0.03608039394021034, -0.020487260073423386, 0.04437168687582016, 0.002016383921727538, -0.06491077691316605, 0.010110234841704369, -0.013561651110649109, -0.015649672597646713, 0.02497466281056404, 0.01962129771709442, -0.011495955288410187, 0.014576975256204605, 0.0015732550527900457, -0.015682058408856392, 0.006808961275964975, 0.035523299127817154, 0.0023818258196115494, 0.04223145544528961, -0.006744581274688244 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Outro Britney: Meg had a hard stop on the hour but I was able to ask her my last question offline: What’s something you’ve been interested in lately? Meg’s response: "How to propagate and grow plants in synthetic/controlled settings." Just when I thought she couldn’t get any cooler. 🤯 I’ll leave you with a recent quote from Meg in a Science News article on Ethical AI: “The most pressing problem is the diversity and inclusion of who’s at the table from the start. All the other issues fall out from there.” -Meg Mitchell. Thank you for listening to Machine Learning Experts! Honorable mentions + links: - Emily Bender - Ehud Reiter - Abeba Birhane - Seeing AI - Data Sheets for Datasets - Model Cards - Model Cards Paper - Abeba Birhane - The Values Encoded in Machine Learning Research - Data and its (dis)contents: - Herbert Clark Follow Meg Online: - Twitter - Website - LinkedIn
[ 0.10196377336978912, -0.06486059725284576, -0.0037489072419703007, 0.028201457113027573, 0.07513060420751572, 0.02784654311835766, -0.07150730490684509, 0.039164986461400986, -0.09934819489717484, -0.047068074345588684, -0.08797110617160797, 0.04096103087067604, 0.006649448070675135, 0.03409571573138237, 0.01897369883954525, -0.028575869277119637, -0.03226236253976822, -0.002728183986619115, -0.0357736311852932, 0.05119487643241882, -0.04935297742486, -0.030381200835108757, 0.05281637981534004, 0.01171873789280653, -0.024289367720484734, -0.06848568469285965, 0.0031405065674334764, -0.037284210324287415, -0.04279898479580879, 0.07166897505521774, -0.07846945524215698, 0.03982240706682205, 0.04556259885430336, -0.003682722570374608, -0.052770450711250305, -0.011706266552209854, -0.08879072219133377, 0.07165428251028061, 0.014578621834516525, 0.008012610487639904, -0.06317061185836792, 0.007400688249617815, -0.06259997189044952, 0.08975335955619812, -0.003673532512038946, 0.03512285277247429, -0.1753559559583664, 0.08260960131883621, -0.027357138693332672, -0.04031499847769737, -0.0839473158121109, 0.04014504328370094, 0.04972010850906372, -0.03761109709739685, 0.037112634629011154, 0.061221230775117874, 0.02162698470056057, -0.03338633105158806, -0.009511304087936878, -0.05434359610080719, 0.018975770100951195, 0.009168928489089012, 0.031943097710609436, -0.005121870897710323, 0.06056014075875282, 0.01867535151541233, 0.0037502385675907135, -0.022459346801042557, -0.04726013168692589, 0.009109485894441605, 0.016201231628656387, -0.0305124931037426, -0.04386697709560394, -0.028737708926200867, 0.06184517219662666, -0.0362112857401371, 0.02862248197197914, 0.015917856246232986, 0.04474060982465744, -0.00016775996482465416, 0.0048602367751300335, 0.038229770958423615, 0.056106436997652054, 0.08109185844659805, -0.025090312585234642, -0.0428127758204937, 0.08833980560302734, 0.025375405326485634, -0.016567295417189598, -0.009453794918954372, -0.03557130694389343, -0.042051129043102264, 0.053100913763046265, 0.004159755073487759, 0.10862941294908524, -0.08168654143810272, -0.02813698723912239, -0.02967308647930622, -0.05357799306511879, -0.029484113678336143, -0.042488109320402145, 0.030953746289014816, 0.018457550555467606, -0.035734616219997406, -0.0658702701330185, 0.10167161375284195, -0.014091555029153824, -0.0807831808924675, -0.0792238712310791, 0.04299643263220787, -0.012134427204728127, 0.06444767117500305, 0.060278262943029404, 0.020889705047011375, -0.05115833505988121, 0.06371214985847473, 0.042987436056137085, -0.020008442923426628, -0.0020352210849523544, 0.01943906582891941, 0.008267723955214024, 0.02838229201734066, 0.04255782812833786, 0.04319882392883301, -0.020451653748750687, -0.03313853219151497, 0.0143209183588624, 0.015330003574490547, -0.02640010602772236, -0.08065351098775864, 0.06583436578512192, -0.0021824121940881014, -0.018807873129844666, -0.057602155953645706, 0.05337625369429588, -0.03753061220049858, 0.04596508666872978, 0.0050011989660561085, -0.01843012496829033, -0.0011336335446685553, -0.05211928114295006, -0.020697087049484253, -0.023455936461687088, 0.010964102111756802, 0.09029548615217209, -0.012713242322206497, -0.07506360113620758, -0.0337877981364727, 0.008441970683634281, 0.05499505251646042, -0.010053313337266445, 0.08201544731855392, -0.014290081337094307, -0.08209183812141418, 0.005207983776926994, 0.04932817071676254, -0.02844521403312683, 0.0312541201710701, -0.0008578751003369689, -0.011380317620933056, 0.03604907914996147, -0.006727665662765503, 0.05194870010018349, 0.04872772842645645, 0.02485487423837185, -0.03400546684861183, 0.03281213343143463, 0.01849454827606678, -0.042797308415174484, 0.02989073097705841, -0.03520163148641586, -0.008231589570641518, 0.0772809386253357, -0.06860840320587158, -0.041940707713365555, 0.08683378249406815, -0.007607218809425831, -0.00006078197475289926, 0.013303149491548538, 0.023715944960713387, -0.0848303958773613, 0.028578389436006546, 0.003531647613272071, 0.08137490600347519, 0.04135606065392494, -0.030361734330654144, 0.022683830931782722, -0.03557687997817993, 0.008425036445260048, -0.004701289813965559, -0.04067370295524597, 0.013451377861201763, 0.14115913212299347, 0.007705580908805132, -0.03404851257801056, -0.0612763874232769, -0.017886104062199593, 0.10456041991710663, 0.015214656479656696, 0.022875899448990822, 0.045427463948726654, 0.010804134421050549, 0.020718012005090714, -0.09350396692752838, -0.010928337462246418, -0.034149009734392166, 0.018762264400720596, -0.04405637085437775, 0.017171910032629967, 0.042507853358983994, -0.03858684003353119, -0.07155749946832657, 0.0610344372689724, -0.012355014681816101, -0.03848756104707718, -0.03090030699968338, -0.056846242398023605, -0.009730947203934193, -0.03040221892297268, -0.09746358543634415, 0.11659131944179535, -0.0007852661074139178, 0.025701088830828667, 0.012848976068198681, 0.0286731980741024, 0.08713018894195557, 0.12008471041917801, 0.0030385612044483423, 0.06407447159290314, -0.02058294042944908, -0.01169532723724842, 0.036032602190971375, -0.007976301945745945, -0.010781736113131046, 0.03537440299987793, 0.05763489380478859, -0.014180710539221764, 0.022682368755340576, 0.01678621396422386, -0.03803692013025284, 0.009325460530817509, -0.03510398045182228, -0.00457540899515152, 0.05199984088540077, -0.0334700271487236, -0.04707946255803108, 0.04114289954304695, 0.035244282335042953, 0.0011446410790085793, 0.011467181146144867, -0.06209936738014221, 0.03468107059597969, 0.012065508402884007, 0.007357101887464523, 0.024808621034026146, 0.010156339965760708, 0.028570052236318588, 0.019950302317738533, -0.002215301850810647, 0.06431341171264648, 0.039841342717409134, -0.04582677781581879, -0.0027876505628228188, -0.03885337710380554, 0.016976112499833107, 0.012852335348725319, 0.00873768050223589, -0.052109796553850174, 0.02842812053859234, 0.05813514068722725, 0.043957289308309555, 0.005547759123146534, 0.011517956852912903, 0.024485226720571518, 0.0005052668857388198, 0.014446400105953217, -0.0025601694360375404, -0.012110697105526924, 0.00495012104511261, -0.06191934272646904, 0.03006579540669918, -0.009695425629615784, -0.010016577318310738, 0.0721772238612175, 0.010368404909968376, -0.039559293538331985, -0.033753059804439545, 0.011190010234713554, 0.007625432685017586, 0.006481288466602564, 0.03400136157870293, 0.057469774037599564, -0.014244122430682182, -0.030566971749067307, -0.027018453925848007, -0.03384597972035408, -0.0033209018874913454, -0.03228253126144409, -0.0359252393245697, 0.0009517421713098884, -0.0021859356202185154, -0.012061512097716331, -0.013385158963501453, 0.025258230045437813, 0.008191198110580444, 0.03680060803890228, -0.004327092319726944, 0.001813330571167171, -0.11085998266935349, -0.026211675256490707, 0.00012305182463023812, 0.017430812120437622, -0.016825130209326744, -0.031744252890348434, 0.027761926874518394, -0.031022390350699425, -0.011546455323696136, -0.01787719503045082, -0.002492079744115472, -0.012612451799213886, -0.037331949919462204, 0.03972569480538368, -0.0020839818753302097, 0.01720975898206234, 0.01861172914505005, -0.042628634721040726, -0.020493071526288986, 0.026884937658905983, -0.016482148319482803, 0.052594199776649475, -0.041656963527202606, 0.013625930063426495, -0.030985672026872635, 0.013477443717420101, -0.003711780533194542, 0.06811400502920151, 0.014134186320006847, -0.0026035052724182606, -0.01763264462351799, 0.025333374738693237, -0.0653456449508667, 0.04294097051024437, 0.021549783647060394, 0.025519534945487976, -0.013783032074570656, -0.018506677821278572, 0.005367283243685961, 0.05241202563047409, 0.012374430894851685, -0.006981851998716593, -0.0013836228754371405, 0.0021826978772878647, 0.003954557701945305, -0.004058836493641138, 0.043968360871076584, -0.015931153669953346, 0.06267424672842026, -0.05312265083193779, -0.027367712929844856, -0.0013047278625890613, 0.04015464335680008, 0.03862012177705765, -0.014020743779838085, 0.003845120081678033, -0.024134332314133644, 0.014180561527609825, 0.04962628334760666, -0.037704948335886, -0.005135645158588886, 0.03699525445699692, 0.05435491353273392, 0.03825841471552849, 0.0015313496114686131, 0.03749608248472214, -0.010821465402841568, 0.027114685624837875, -0.03159014880657196, 0.004927325993776321, 0.020819462835788727, 0.012590786442160606, 0.009763307869434357, -0.019463106989860535, -0.03311821073293686, -0.010168313048779964, -0.02082386426627636, -0.010048957541584969, 0.06544662266969681, 0.009310062974691391, 0.004096560645848513, -0.05383908748626709, -0.04002974182367325, -0.057326409965753555, -0.007063261698931456, -0.05836867541074753, 0.013546191155910492, -0.03859524056315422, -0.020442184060811996, 0.039909686893224716, -0.004978651646524668, -0.0334937609732151, 0.006309032905846834, -0.028231175616383553, 0.016861695796251297, 0.008811555802822113, 0.00983827281743288, 0.012460971251130104, 0.019201714545488358, 0.003644243348389864, -0.001723605440929532, -0.06796954572200775, -0.04962615296244621, 0.008375654928386211, -0.037491343915462494, 0.038349706679582596, 0.01751040853559971, -0.053894441574811935, -0.01606164500117302, -0.0020821020007133484, -0.010202075354754925, -0.01374035980552435, 0.0061334604397416115, -0.042702604085206985, 0.02978898026049137, -0.0005615916452370584, 0.016619333997368813, 0.015452983789145947, 0.001811856753192842, -0.012135785073041916, -0.01636841520667076, 0.008106909692287445, 0.027335001155734062, -0.03101518005132675, 0.015271294862031937, -0.01565449871122837, -0.05158712714910507, 0.008008378557860851, 0.003568667219951749, -0.006215756759047508, 0.021798912435770035, -0.037117939442396164, 0.0218237042427063, -0.024600038304924965, 0.015921473503112793, 0.017752259969711304, -0.04687872901558876, 0.05576697736978531, -0.05248764902353287, -0.0174348633736372, 0.009743999689817429, 0.003244685707613826, 0.0301930271089077, -0.03557710722088814, 0.0515579916536808, 0.02356051467359066, -0.02052340656518936, 0.025133227929472923, 0.012347904033958912, 0.07118362188339233, 0.017711633816361427, 0.009267834015190601, 0.002284562448039651, 0.010263036005198956, 0.01585424691438675, -0.013354330323636532, 0.03714347258210182, -0.010509055107831955, 0.0026055520866066217, 0.037714872509241104, 0.005995550192892551, 0.017211858183145523, -0.039511896669864655, 0.03167237341403961, -0.009647957980632782, 0.048983074724674225, 0.000878979277331382, 0.04084582254290581, -0.0025546252727508545, 0.02061295136809349, -0.00042210600804537535, 0.034821271896362305, -0.010543708689510822, -0.00791992712765932, 0.03221820294857025, 0.023682691156864166, 0.025877872481942177, 0.019597304984927177, -0.061715129762887955, 0.022155795246362686, 0.009782438166439533, -0.019884198904037476, 0.029071234166622162, -0.015373792499303818, -0.004679602570831776, 0.006553717888891697, 0.033809710294008255, 0.02999175526201725, -0.021896492689847946, 0.01926279440522194, 0.004310281481593847, 0.006859163753688335, 0.012491153553128242, 0.004145755432546139, 0.011613975279033184, 0.0334315299987793, 0.007873003371059895, 0.0075592221692204475, -0.009627897292375565, 0.008305096998810768, 0.02879788726568222, 0.03253927081823349, -0.021848488599061966, -0.017892342060804367, 0.025976529344916344, 0.005837220698595047, -0.011494390666484833, -0.07060843706130981, -0.02765488065779209, -0.011533869430422783, 0.005387806799262762, 0.003316577523946762, 0.010662255808711052, -0.01301482692360878, 0.024149391800165176, -0.06907141208648682, -0.024515684694051743, 0.0350600965321064, 0.048294659703969955, 0.043254319578409195, -0.029839053750038147, -0.0010399188613519073, -0.023264888674020767, -0.006176421418786049, 0.001955450279638171, -0.01123806182295084, 0.0206484105437994, 0.03149184212088585, -0.005607840605080128, 0.00807766430079937, 0.026910556480288506, 0.03159281611442566, 0.009975039400160313, 0.03226173296570778, -0.021403014659881592, -0.04393264278769493, -0.013098311610519886, 0.0614660419523716, -0.0038333360571414232, -0.014396660029888153, 0.01917180046439171, -0.04952051118016243, -0.017913101240992546, 0.00479296687990427, -0.031898535788059235, -0.0037665418349206448, -0.0017562686698511243, -0.0007386722136288881, -0.02696395292878151, -0.013871678151190281, 0.013830737210810184, 0.02999492920935154, 0.004524169489741325, 0.0005417240899987519, -0.040157902985811234, 0.017785416916012764, 0.01634339801967144, -0.0024585730861872435, -0.04225403815507889, -0.014766968786716461, 0.0023365323431789875, -0.052262354642152786, 0.0070993006229400635, 0.01835092157125473, -0.005677914246916771, 0.006023697555065155, 0.022874286398291588, -0.02902056835591793, 0.028036195784807205, 0.011238595470786095, 0.015603490173816681, -0.012169145978987217, -0.006720279343426228, 0.012500755488872528, 0.009452443569898605, 0.001890523242764175, 0.014364020898938179, 0.012709463015198708, -0.03304804861545563, 0.0004917826736345887, 0.00021482404554262757, 0.0349116325378418, 0.05433110147714615, 0.01750841736793518, -0.0249579306691885, 0.022045493125915527, 0.032177262008190155, -0.004784734919667244, 0.01468134205788374, 0.015779493376612663, -0.02644493244588375, -0.020708734169602394, -0.004533185623586178, 0.0011479746317490935, 0.007401518989354372, 0.03935091197490692, 0.07327147573232651, -0.05299156531691551, -0.003757420228794217, -0.0255720391869545, 0.010555608198046684, -0.003649236401543021, -0.005952880717813969, 0.04761768877506256, 0.032562874257564545, 0.05050097778439522, 0.05537249147891998, 0.005086598917841911, 0.04452185705304146, -0.014615238644182682, 0.002041028579697013, 0.021042412146925926, -0.0029532506596297026, 0.010799271985888481, -0.007860993035137653, -0.03265397250652313, -0.016503849998116493, -0.06927609443664551, 0.001746439142152667, 0.0009544200147502124, 0.0043745809234678745, -0.00082068593474105, -0.00880546122789383, -0.044886890798807144, -0.025838661938905716, -0.039857953786849976, 0.027628185227513313, 0.04007381573319435, 0.008185165002942085, 0.020907320082187653, 0.018289245665073395, 0.051388081163167953, 0.013145197182893753, 0.009513712488114834, 0.00675932364538312, -0.00758024025708437, 0.004424776881933212, 0.044930849224328995, -0.046976517885923386, -0.05428404361009598, -0.017867857590317726, 0.021475186571478844, 0.06532502174377441, 0.0022448503877967596, 0.005459551699459553, -0.06388381868600845, 0.017173107713460922, 0.015527589246630669, -0.002751189051195979, 0.031601328402757645, -0.048812784254550934, 0.006931733340024948, -0.00850699283182621, 0.01889200322329998, -0.020271005108952522, -0.005527046509087086, -0.0011948349419981241, -0.026891784742474556, 0.010941053740680218, -0.04187336564064026, -0.013633676804602146, 0.03947918862104416, 0.021591829136013985, -0.008523918688297272, 0.003950809594243765, 0.008344095200300217, 0.032088156789541245, -0.03530692309141159, -0.024456018581986427, 0.029872169718146324, -0.010812723077833652, -0.012621312402188778, -0.016475936397910118, 0.0490066260099411, -0.019107922911643982, -0.04441803693771362, -0.016262123361229897, -0.02762661688029766, -0.0268459040671587, 0.008006262592971325, 0.05831340700387955, 0.04382534325122833, 0.043489567935466766, -0.00888687465339899, -0.003710037562996149, -0.035889916121959686, -0.015186436474323273, -0.0035454940516501665, 0.02127966284751892, 0.04043476656079292, 0.0017729229293763638, -0.02344343066215515, -0.04993077367544174, -0.004020434804260731, 0.015471495687961578, 0.023058895021677017, -0.10532456636428833, -0.036889974027872086, -0.02981552854180336, -0.022762086242437363, -0.0226568803191185, 0.008913284167647362, 0.019893020391464233, 0.0035333726555109024, -0.00077101681381464, -0.01757049188017845, 0.03242246434092522, -0.016830751672387123, 0.002225929405540228, 0.0438208244740963, 0.0034726541489362717, -0.012882746756076813, 0.018419818952679634, -0.05671713873744011, 0.016585510224103928, -0.01992875710129738, -0.036455653607845306, -0.01768282987177372, 0.03232249245047569, -0.007773238234221935, -0.005736933555454016, -0.01291471067816019, -0.017893189564347267, 0.002679000375792384, 0.02004038728773594, 0.01266862265765667, 0.003992494195699692, 0.034347690641880035, -0.005149346310645342, -0.04511692374944687, 0.004753076937049627, 0.00014792877482250333, 0.030035652220249176, 0.03576500341296196, 0.011004925705492496, -0.013217356987297535, 0.014938073232769966, -0.02569400519132614, 0.02606271207332611, 0.003708251751959324, -0.06243300065398216, -0.012513733468949795, -0.020196644589304924, -0.044873110949993134, -0.0070481630973517895, -0.020473819226026535, 0.030275050550699234, 0.022052176296710968, -0.018165647983551025, 0.0032760107424110174, -0.0371931791305542, 0.0103827565908432, -0.024008600041270256, -0.022212548181414604, -0.03486613556742668, 0.019312771037220955, 0.07223794609308243, -0.021364590153098106, 0.00019328304915688932, 0.03614174202084541 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
# Machine Learning Experts - Margaret Mitchell Hey friends! Welcome to Machine Learning Experts. I'm your host, Britney Muller and today’s guest is none other than Margaret Mitchell (Meg for short). Meg founded & co-led Google’s Ethical AI Group, is a pioneer in the field of Machine Learning, has published over 50 papers, and is a leading researcher in Ethical AI. You’ll hear Meg talk about the moment she realized the importance of ethical AI (an incredible story!), how ML teams can be more aware of harmful data bias, and the power (and performance) benefits of inclusion and diversity in ML. Very excited to introduce this powerful episode to you! Here’s my conversation with Meg Mitchell:
[ 0.004463948775082827, -0.06057015806436539, -0.010756850242614746, 0.0792272761464119, 0.0013927005929872394, 0.06559237837791443, -0.05208830162882805, -0.06277003884315491, -0.06355010718107224, -0.043161749839782715, -0.09247803688049316, 0.023241501301527023, -0.03240254893898964, 0.060437485575675964, -0.0037162750959396362, -0.09254725277423859, -0.00221508857794106, -0.06461602449417114, -0.03739454224705696, -0.010216270573437214, 0.010458354838192463, -0.00877576507627964, 0.06275947391986847, -0.04337422177195549, 0.00907297432422638, 0.013901318423449993, 0.03397311270236969, -0.004451690707355738, -0.04414987564086914, 0.016462983563542366, -0.023321032524108887, -0.005909500177949667, 0.010022154077887535, 0.03394010663032532, 0.0003232050221413374, 0.0699041336774826, -0.05071836709976196, 0.03261841461062431, -0.04176225885748863, 0.05519326403737068, -0.021334165707230568, -0.061464618891477585, -0.09296534955501556, 0.013206870295107365, -0.020280668511986732, -0.011524409987032413, -0.15292109549045563, 0.029096011072397232, -0.012851392850279808, -0.0391780249774456, -0.03944951295852661, 0.04212347790598869, 0.022888759151101112, 0.07145864516496658, -0.043301042169332504, 0.004495784640312195, 0.02380746230483055, -0.054645661264657974, -0.0763763040304184, -0.04448309540748596, 0.035386886447668076, 0.007746135350316763, 0.04775020480155945, -0.010676118545234203, 0.01216365396976471, -0.009016896598041058, 0.05156276375055313, -0.04676365852355957, -0.09153686463832855, -0.008652796968817711, 0.0392458438873291, -0.047477301210165024, -0.09461335837841034, -0.030432159081101418, -0.017729444429278374, -0.03442702069878578, 0.06041213870048523, -0.017194585874676704, 0.07029629498720169, 0.004316673614084721, -0.06145867705345154, 0.04875630512833595, 0.08429286628961563, 0.0518820695579052, -0.04100007563829422, -0.022530613467097282, 0.07612735033035278, -0.013284243643283844, 0.030676018446683884, 0.05622822418808937, 0.0046436600387096405, -0.10545016825199127, 0.03868696466088295, -0.009111733175814152, 0.07878202944993973, -0.0233816709369421, -0.00812961533665657, -0.06035451963543892, 0.02811814844608307, -0.07717077434062958, -0.07361239194869995, 0.0023845499381422997, 0.021669970825314522, -0.025921685621142387, -0.11264241486787796, 0.07863721251487732, 0.047388941049575806, -0.06297879666090012, -0.042092252522706985, 0.058705855160951614, 0.0022702969145029783, -0.015912137925624847, -0.06745252758264542, 0.02533612959086895, -0.045526888221502304, 0.007996512576937675, 0.038109567016363144, -0.04385634884238243, 0.08497907221317291, 0.06320347636938095, -0.014374595135450363, 0.03469487279653549, -0.0035198682453483343, 0.05627328157424927, -0.058243006467819214, -0.009349600411951542, 0.018664391711354256, 0.021626902744174004, 0.06088649854063988, -0.03192982077598572, 0.023954520002007484, -0.013741662725806236, -0.012457957491278648, -0.03301520645618439, -0.010964378714561462, -0.02245406061410904, 0.03969208523631096, -0.039644550532102585, 0.020901445299386978, 0.0076872482895851135, -0.05293290689587593, -0.05065469443798065, -0.03959214314818382, -0.022908132523298264, 0.10500238835811615, -0.007020838093012571, -0.06357600539922714, -0.061386819928884506, -0.013356799259781837, 0.032305121421813965, -0.0839366465806961, 0.07228134572505951, -0.01156231202185154, -0.09875999391078949, -0.0245000459253788, 0.10617081820964813, 0.002727743936702609, 0.019304247573018074, 0.013859361410140991, -0.02532632276415825, 0.03524428978562355, -0.06848651170730591, -0.00601258734241128, 0.04343465343117714, -0.0040670400485396385, -0.061336930841207504, 0.010997436009347439, 0.011100703850388527, -0.05897984281182289, 0.10415884852409363, -0.028858255594968796, -0.02468603104352951, 0.07750777155160904, 0.017915580421686172, -0.0036121453158557415, 0.042225416749715805, 0.03168375790119171, -0.019407059997320175, -0.039928700774908066, -0.05010998994112015, -0.054896801710128784, 0.03857417032122612, -0.0440293587744236, 0.034671682864427567, 0.04297874495387077, 0.007770046126097441, 0.03205329179763794, 0.0008024376584216952, 0.026915639638900757, 0.02812776528298855, -0.05603949725627899, -0.012302312068641186, 0.1121966764330864, -0.03875851631164551, 0.052256375551223755, 0.012900504283607006, 0.04185764491558075, 0.09127560257911682, -0.0007832566043362021, 0.02371334470808506, 0.0035130067262798548, -0.008143668994307518, -0.0365886427462101, -0.0826726108789444, -0.006452283356338739, -0.021743951365351677, 0.07520607858896255, -0.019409893080592155, 0.01599854603409767, 0.024973217397928238, -0.0416472889482975, -0.00428629107773304, 0.00471976725384593, 0.025633199140429497, -0.05323120206594467, 0.013974151574075222, 0.04561004042625427, 0.017268093302845955, 0.004685245919972658, -0.06866004317998886, 0.11251623183488846, -0.07284972816705704, 0.026352625340223312, 0.040911965072155, 0.008782564662396908, 0.031806256622076035, 0.07268670946359634, 0.026156211271882057, 0.06828203052282333, 0.03984373062849045, -0.04308009520173073, 0.08425300568342209, 0.0011144678574055433, -0.0729030966758728, -0.02514537237584591, -0.0026777146849781275, 0.03970833867788315, 0.07354999333620071, -0.014829844236373901, -0.04877036437392235, -0.03252691030502319, -0.00575528247281909, -0.05408044904470444, 0.02065597102046013, 0.0012426903704181314, -0.03610311821103096, 0.008265848271548748, 0.001370839774608612, 0.005867181345820427, 0.025157643482089043, 0.012619460932910442, -0.024053256958723068, -0.03126087412238121, 0.03699171170592308, -0.04928896203637123, 0.07540404051542282, -0.000801804824732244, -0.01308977697044611, -0.01209534052759409, 0.0232393816113472, 0.04859943687915802, 0.017412912100553513, 0.012351014651358128, -0.05444834753870964, 0.0656425803899765, -0.004774231929332018, -0.00894186645746231, 0.01795301027595997, 0.023687737062573433, -0.013085925951600075, 0.027328327298164368, -0.007722388952970505, 0.04376765340566635, 0.016479281708598137, 0.01730489917099476, 0.019983870908617973, -0.014198237098753452, -0.013044601306319237, 0.04176158457994461, -0.04611027240753174, -0.002763708820566535, -0.0021051771473139524, 0.03520197793841362, 0.01726604998111725, -0.02410024218261242, 0.017699841409921646, -0.022309202700853348, -0.0006642661755904555, -0.030379118397831917, 0.034130193293094635, -0.023426000028848648, 0.035396356135606766, -0.019079050049185753, -0.056522294878959656, -0.019290925934910774, 0.014950876124203205, -0.01975618489086628, -0.003364982781931758, -0.02710440568625927, 0.011495215818285942, 0.022285547107458115, -0.0062027256935834885, 0.01561766117811203, 0.03244999051094055, 0.039339207112789154, 0.018392518162727356, 0.011686937883496284, -0.006514059845358133, -0.0786019116640091, -0.049169473350048065, 0.005107133649289608, 0.01772572658956051, -0.024520564824342728, -0.02984311431646347, 0.007379220798611641, -0.015519839711487293, -0.014415047131478786, -0.0635228380560875, -0.009169438853859901, -0.006980218458920717, -0.03759058564901352, 0.05276675522327423, 0.004753153305500746, 0.04836682602763176, 0.004184147343039513, -0.0036333324387669563, 0.021207477897405624, 0.03136676922440529, -0.021631471812725067, 0.058872997760772705, -0.01616678014397621, 0.033389654010534286, 0.004268248565495014, 0.026774989441037178, -0.008585712872445583, 0.04305398836731911, -0.014590634033083916, -0.0049992818385362625, -0.020253455266356468, 0.0013378809671849012, -0.029560182243585587, -0.0035642709117382765, 0.0639151930809021, 0.01070029754191637, 0.003335865680128336, 0.017987022176384926, 0.010253412649035454, 0.01459584105759859, 0.006780426483601332, 0.017168983817100525, 0.020200707018375397, -0.014647434465587139, 0.004663432948291302, 0.04214863479137421, 0.000008658017577545252, -0.0031132339499890804, 0.016061561182141304, 0.0023251071106642485, -0.04028923064470291, -0.024768738076090813, 0.03879730775952339, 0.00040518477908335626, -0.030612187460064888, -0.040432825684547424, -0.02278938516974449, -0.005471840500831604, -0.02942114882171154, -0.005522570107132196, 0.012724403291940689, 0.0007800437160767615, 0.04057471826672554, 0.00997183471918106, -0.015581707470119, -0.008869636803865433, 0.007889888249337673, 0.03189034014940262, -0.006858769804239273, -0.02563890628516674, 0.028744321316480637, 0.009205346927046776, 0.02447185106575489, -0.005617648828774691, -0.05919857695698738, 0.010673807002604008, 0.05601448565721512, 0.030521156266331673, 0.0341724157333374, 0.00520719401538372, -0.0008489068131893873, -0.02523530274629593, -0.06328196823596954, -0.044839490205049515, 0.013188169337809086, 0.023879768326878548, 0.020001467317342758, 0.004781522788107395, -0.03210333734750748, 0.05711565166711807, -0.024517623707652092, -0.045426011085510254, 0.000558019382879138, -0.007992190308868885, 0.03296686336398125, 0.010162034071981907, -0.014948040246963501, 0.0051566120237112045, -0.014185401611030102, 0.008212379179894924, -0.022186022251844406, -0.03709244728088379, -0.028834998607635498, -0.03202918916940689, 0.008720798417925835, 0.01439308375120163, 0.05392357334494591, -0.040519021451473236, 0.06696393340826035, -0.01580054499208927, -0.013057470321655273, -0.015187832526862621, 0.0410316102206707, 0.010161034762859344, 0.04058238863945007, -0.007072926498949528, -0.01868753880262375, 0.0022957688197493553, 0.018946148455142975, -0.013585921376943588, -0.025551030412316322, 0.0189244095236063, 0.011109573766589165, 0.028510836884379387, 0.013403911143541336, 0.002411909867078066, 0.010395275428891182, 0.008360624313354492, 0.04753946140408516, -0.012613183818757534, 0.0013350099325180054, -0.026373863220214844, 0.05728044733405113, -0.012967274524271488, 0.03543063625693321, 0.001355947577394545, -0.0463249534368515, 0.06430091708898544, -0.006379952188581228, -0.016487086191773415, 0.049883946776390076, -0.006297451443970203, 0.05578188970685005, -0.01563180983066559, 0.04581683874130249, 0.013725578784942627, -0.04768959805369377, 0.04051332175731659, -0.02036646008491516, 0.01355524268001318, -0.028902892023324966, 0.024138087406754494, 0.025008147582411766, 0.0020163909066468477, 0.04031503573060036, -0.04436838999390602, 0.02338220365345478, 0.07575490325689316, -0.009148537181317806, 0.021554933860898018, -0.007062238175421953, 0.010822903364896774, -0.0592535175383091, 0.01677572913467884, 0.03368459269404411, 0.01875424198806286, 0.026045534759759903, -0.00476869335398078, -0.0003206213004887104, 0.036506060510873795, 0.03261365368962288, 0.04257795587182045, 0.03472428023815155, -0.008430378511548042, 0.02546192891895771, 0.03613196313381195, 0.034556519240140915, 0.05859590321779251, -0.06338034570217133, 0.0421774685382843, -0.02054552733898163, 0.04426681622862816, -0.0012698802165687084, -0.018853725865483284, 0.037480659782886505, 0.0031462039332836866, 0.029310207813978195, 0.02871321327984333, -0.029469097033143044, 0.019621143117547035, -0.023791586980223656, 0.023290138691663742, 0.002540263347327709, -0.027794502675533295, 0.017856650054454803, -0.029727021232247353, 0.04058745875954628, 0.002270441735163331, -0.0265855323523283, 0.001872618100605905, 0.021491115912795067, 0.027298053726553917, -0.023913078010082245, 0.018440663814544678, 0.00133664277382195, -0.021487774327397346, -0.043718371540308, -0.012732038274407387, 0.002649544272571802, -0.002708827843889594, 0.03772978112101555, -0.023128066211938858, 0.06049172952771187, -0.028590016067028046, -0.01122863870114088, -0.03129513934254646, -0.0025450843386352062, 0.022477781400084496, 0.041771337389945984, 0.05711952596902847, -0.02078690566122532, -0.043870605528354645, -0.03577679768204689, -0.034026850014925, 0.014165366068482399, -0.06398186087608337, -0.017973843961954117, 0.026503106579184532, 0.04608777537941933, -0.015183987095952034, 0.0013354449765756726, 0.017004579305648804, 0.040549516677856445, 0.0353696346282959, 0.0015493399696424603, -0.0478234589099884, -0.01634308323264122, 0.09599519520998001, 0.039655715227127075, -0.006500194314867258, -0.008226717822253704, -0.03854404762387276, -0.0028513874858617783, -0.0018132400000467896, -0.041369419544935226, -0.042357187718153, -0.02831566333770752, -0.01967697963118553, 0.012774704024195671, 0.00784974917769432, 0.04052994027733803, 0.033370714634656906, 0.01407336164265871, 0.028515076264739037, 0.02376912347972393, 0.024453049525618553, -0.017056714743375778, 0.003775494173169136, -0.06725097447633743, 0.002902196953073144, -0.009432347491383553, -0.029232244938611984, -0.019464099779725075, -0.010011228732764721, -0.00018030570936389267, 0.03275006636977196, 0.036025382578372955, -0.03863508999347687, 0.02157692424952984, -0.00432976009324193, 0.03464682400226593, -0.019183360040187836, -0.02298913151025772, -0.0012477550189942122, -0.057276446372270584, -0.003036053152754903, -0.015967320650815964, 0.05050763860344887, -0.04627692326903343, 0.0251032505184412, -0.006027089431881905, -0.0007949042483232915, 0.039444439113140106, -0.03312431275844574, 0.02911294996738434, 0.015431443229317665, 0.02231323905289173, -0.01299340184777975, -0.005759878549724817, 0.023971842601895332, -0.0019843713380396366, -0.005954078398644924, 0.02256855182349682, -0.011625288054347038, 0.016216257587075233, -0.010628066025674343, 0.054542746394872665, -0.03985094651579857, 0.03829396888613701, -0.035030968487262726, 0.0226869136095047, 0.029546385630965233, 0.028098277747631073, -0.006778356619179249, 0.061906345188617706, 0.02509496733546257, 0.02074941247701645, 0.0016581844538450241, 0.05499208718538284, 0.03837297111749649, -0.043471526354551315, 0.011157152242958546, 0.051047343760728836, 0.05445997789502144, 0.0022358656860888004, -0.03953777253627777, -0.031581006944179535, -0.03366822004318237, -0.024341803044080734, -0.046825479716062546, -0.06067371368408203, 0.018811482936143875, -0.010827751830220222, -0.03540249168872833, -0.034029219299554825, -0.04308602958917618, 0.02486450783908367, 0.013641562312841415, 0.05780775099992752, 0.004428303800523281, -0.017121696844697, 0.023624546825885773, 0.03297892212867737, -0.009160483255982399, 0.01877446658909321, -0.05425291508436203, 0.02578672394156456, 0.0050615728832781315, -0.023556899279356003, -0.03597617894411087, -0.035294562578201294, 0.027881881222128868, 0.01713343895971775, -0.0366913266479969, -0.0076546743512153625, -0.02733028307557106, 0.0035024238750338554, 0.054187703877687454, 0.000014283626114774961, 0.019101783633232117, 0.0006342167616821826, 0.029395142570137978, 0.022657284513115883, 0.0009182219509966671, -0.0021434437949210405, 0.009444570168852806, -0.0033062538132071495, -0.03287877142429352, 0.014355259016156197, 0.0019848919473588467, 0.00565672479569912, 0.016260208562016487, 0.007643687538802624, -0.0024647414684295654, 0.01774202287197113, 0.012400283478200436, 0.014079035259783268, -0.02531316503882408, -0.012075548060238361, 0.0030829873867332935, -0.03731705620884895, -0.02688918448984623, -0.021311169490218163, 0.02103845588862896, -0.01213162112981081, -0.022032953798770905, 0.023273907601833344, -0.018614834174513817, -0.02714642323553562, -0.012719277292490005, 0.007226409390568733, 0.017552927136421204, 0.012601248919963837, 0.013083825819194317, -0.023913798853754997, -0.020098701119422913, -0.07155616581439972, 0.0021223034709692, -0.027187639847397804, 0.03674086555838585, -0.025081057101488113, -0.03396361693739891, -0.020488858222961426, 0.001210948801599443, -0.021768713369965553, -0.0031616748310625553, -0.056804727762937546, -0.014196612872183323, 0.0008638940053060651, 0.034113768488168716, -0.07207837700843811, 0.008726824074983597, 0.011688323691487312, 0.00570662971585989, 0.00599037017673254, -0.05481754615902901, 0.018912294879555702, -0.013439478352665901, -0.008465493097901344, 0.010746915824711323, 0.021605409681797028, -0.0013375068083405495, 0.03569129854440689, -0.009275809861719608, 0.018916023895144463, 0.03344268351793289, -0.005245102569460869, 0.02355315536260605, 0.024573834612965584, -0.01335903536528349, 0.005020627751946449, 0.0011978240218013525, -0.02408847212791443, -0.03081321343779564, -0.027328496798872948, 0.031072763726115227, -0.016837099567055702, -0.012734572403132915, -0.02752816304564476, 0.0029862860683351755, -0.0020904443226754665, 0.051816150546073914, -0.03998355194926262, 0.01210713665932417, 0.004805839620530605, 0.010685335844755173, 0.009017017669975758, 0.006669222377240658, -0.0029471181333065033, 0.02417011931538582, -0.048705436289310455, -0.0568455308675766, -0.010012042708694935, 0.0026630109641700983, -0.011715861968696117, -0.017432497814297676, 0.029528819024562836, 0.013053852133452892, 0.018004223704338074, 0.018647586926817894, 0.010634763166308403, 0.025107692927122116, -0.0010258278343826532, -0.04365498200058937, -0.015287431888282299, 0.03629692271351814, 0.06355652958154678, -0.02476627193391323, 0.03135276958346367, 0.04826919734477997 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
What industries are you most excited to see ML applied (or ML Ethics be applied) Meg: The health and assistive domains continue to be areas I care a lot about and see a ton of potential. Also want to see systems that help people understand their own biases. Lots of technology is being created to screen job candidates for job interviews but I feel that technology should really be focused on the interviewer and how they might be coming at the situation with different biases. Would love to have more technology that assists humans to be more inclusive instead of assisting humans to exclude people.
[ 0.1068570464849472, -0.023929815739393234, 0.025453122332692146, 0.009905224665999413, 0.03431805223226547, 0.04254695773124695, -0.05916865915060043, 0.012584343552589417, -0.08167653530836105, -0.04597761482000351, -0.11509260535240173, 0.09127028286457062, 0.020153913646936417, 0.03085089661180973, 0.016705047339200974, -0.05792713910341263, 0.02358027547597885, -0.023730743676424026, 0.03137928247451782, -0.0321207232773304, -0.074043869972229, 0.003121923888102174, 0.06527426838874817, -0.014629538170993328, -0.010575344786047935, -0.031176969408988953, 0.01192281860858202, 0.0022494844160974026, -0.09432130306959152, 0.055386871099472046, -0.02756277285516262, 0.03395472839474678, -0.03407224640250206, 0.0233379527926445, -0.0769011601805687, 0.025426005944609642, -0.12780171632766724, 0.08428109437227249, 0.015077468007802963, -0.004408714827150106, -0.016164269298315048, -0.056473903357982635, -0.11484964936971664, 0.05114427208900452, -0.06498301774263382, -0.0410025492310524, -0.18608947098255157, 0.028872918337583542, -0.04195971041917801, 0.021869705989956856, -0.025656960904598236, 0.051991384476423264, 0.011816861107945442, 0.006596314255148172, 0.06929875165224075, 0.04273422434926033, 0.03341607749462128, -0.05652981996536255, -0.06443754583597183, -0.024472884833812714, -0.002672659931704402, 0.012221608310937881, 0.013427474536001682, 0.025612827390432358, 0.06645853817462921, -0.054454006254673004, 0.015192622318863869, -0.04685502499341965, -0.0460154227912426, 0.0060820020735263824, 0.05883750319480896, -0.001616255845874548, -0.04749744012951851, 0.00367389852181077, 0.0625717043876648, -0.057266965508461, -0.020746974274516106, 0.0010258557740598917, -0.004916978068649769, -0.015542835928499699, -0.03607269003987312, -0.029401132836937904, 0.09895771741867065, 0.06321687251329422, 0.029484689235687256, 0.02500513568520546, 0.027668073773384094, -0.017758559435606003, -0.010565143078565598, 0.055836454033851624, 0.057458143681287766, -0.07417931407690048, 0.04858628660440445, -0.011002247221767902, 0.10879277437925339, -0.06808877736330032, 0.021174326539039612, -0.032808832824230194, -0.04226285219192505, 0.03237975016236305, -0.049224577844142914, -0.02266850695014, 0.009766343981027603, -0.03247629478573799, -0.0790378525853157, 0.0638367161154747, 0.012218775227665901, -0.026540733873844147, -0.05094677954912186, 0.08148365467786789, -0.007613088004291058, -0.021670453250408173, 0.013535951264202595, 0.059347786009311676, -0.029455875977873802, 0.06466781347990036, 0.009161178953945637, -0.024198519065976143, 0.031841062009334564, 0.0377192385494709, 0.06270141154527664, 0.03390925005078316, -0.07105866074562073, 0.07406765222549438, 0.014511976391077042, -0.02698945626616478, -0.034130632877349854, -0.010355064645409584, -0.00855501089245081, -0.05629180371761322, 0.04310139641165733, 0.0424453429877758, -0.05116228759288788, 0.007868030108511448, 0.035685356706380844, -0.04652897268533707, 0.003306823316961527, -0.045612022280693054, 0.009698295965790749, -0.05914058908820152, -0.03575441613793373, -0.03512336686253548, 0.04775606095790863, 0.02031707763671875, 0.07540374994277954, -0.03845757246017456, -0.04140399396419525, 0.04365323856472969, -0.04916604608297348, 0.03903428092598915, -0.10470884293317795, 0.0607224702835083, -0.06000765413045883, -0.06753424555063248, 0.03953798860311508, 0.07658269256353378, -0.02181447483599186, -0.016004370525479317, 0.028582435101270676, -0.02114238403737545, -0.01339700911194086, -0.0029387359973043203, -0.0063625238835811615, -0.008748555555939674, 0.041130874305963516, 0.011031527072191238, -0.018341029062867165, -0.035987820476293564, -0.05863242968916893, 0.0653902217745781, -0.03685262054204941, -0.023194819688796997, 0.04036487266421318, -0.03923174738883972, -0.033321768045425415, 0.019244030117988586, 0.03110041841864586, 0.0786723718047142, -0.05574854835867882, 0.04127577692270279, -0.05094079673290253, 0.04229264706373215, 0.005493586882948875, 0.04563019052147865, 0.022367458790540695, -0.05064205452799797, 0.04330189898610115, -0.017426876351237297, 0.026484347879886627, 0.02792094461619854, -0.053529076278209686, -0.010387157090008259, 0.08595283329486847, 0.006700585596263409, 0.03896191716194153, -0.008670528419315815, -0.030939077958464622, 0.1387249380350113, -0.03491828963160515, 0.02674400992691517, 0.03827117010951042, -0.04386553540825844, 0.023432713001966476, -0.007326188962906599, 0.0032011892180889845, -0.03426900878548622, 0.06942175328731537, -0.008139364421367645, -0.049388427287340164, 0.025302795693278313, 0.08306752890348434, -0.08963727205991745, 0.01649392768740654, 0.008640444837510586, -0.018135758116841316, 0.010089442133903503, -0.03930946812033653, -0.00283440831117332, -0.02767280302941799, -0.02908312901854515, 0.07478854805231094, -0.022207146510481834, 0.02586141973733902, -0.009698585607111454, 0.022152554243803024, 0.0323832668364048, 0.10864966362714767, 0.024984557181596756, 0.10466358810663223, -0.01971651054918766, 0.0000034090214739990188, 0.011641543358564377, 0.027312878519296646, -0.00444291764870286, -0.027266670018434525, -0.01420629397034645, 0.016676906496286392, 0.019835006445646286, 0.030953576788306236, 0.02479158341884613, 0.007853050716221333, -0.01899006776511669, -0.009595474228262901, 0.045583952218294144, -0.030877234414219856, -0.05781269073486328, 0.07620679587125778, -0.009113263338804245, -0.023583265021443367, 0.033853646367788315, -0.06623032689094543, 0.0008545572636649013, -0.025387948378920555, -0.007840970531105995, 0.03425535559654236, 0.05901137739419937, 0.02912665717303753, -0.0354042686522007, -0.023341696709394455, -0.002033977070823312, 0.036420173943042755, -0.03374328836798668, -0.004989170003682375, -0.02878987044095993, 0.005457159597426653, 0.0010913040023297071, 0.0012431330978870392, -0.028514381498098373, 0.009963356889784336, 0.07357039302587509, 0.02430901490151882, -0.026230327785015106, 0.0353495329618454, -0.010278585366904736, 0.02903056889772415, -0.016669034957885742, 0.03701872006058693, 0.006345420144498348, -0.029598306864500046, -0.020846284925937653, -0.02486184798181057, -0.022133272141218185, 0.06777498871088028, 0.04015921428799629, 0.005124751478433609, 0.00337370322085917, -0.04559428617358208, -0.008907255716621876, -0.02330295369029045, 0.031747326254844666, 0.024790875613689423, 0.020747799426317215, 0.027491966262459755, -0.02611335553228855, -0.012479924596846104, -0.03364432230591774, 0.030208367854356766, -0.007161065004765987, -0.049032002687454224, 0.00955123733729124, -0.005998923908919096, 0.06172674894332886, 0.018915092572569847, 0.02235657349228859, -0.009600287303328514, 0.03602081537246704, 0.00461620045825839, 0.0065130814909935, -0.10012201219797134, -0.024246320128440857, 0.012814730405807495, 0.035592008382081985, -0.004014185629785061, -0.031860753893852234, 0.011718294583261013, -0.006479186471551657, 0.028580810874700546, -0.00798011478036642, -0.00933094322681427, 0.010130544193089008, 0.030528685078024864, 0.02606933005154133, 0.011774750426411629, 0.0206171702593565, 0.022005777806043625, 0.007198038045316935, 0.03839994966983795, 0.019238706678152084, -0.01606895588338375, 0.053817279636859894, 0.01184117142111063, 0.03674408048391342, 0.004279216751456261, 0.0012264676624909043, 0.009395673871040344, 0.07071644812822342, 0.03149290755391121, -0.04498893395066261, -0.01657942868769169, 0.0291098915040493, -0.05184755101799965, -0.026532219722867012, -0.009290275163948536, 0.0024237986654043198, 0.011703087948262691, 0.018471797928214073, 0.019001007080078125, 0.02692641317844391, 0.04108244553208351, -0.04413123056292534, 0.00029249387443996966, 0.00030695070745423436, -0.01738424226641655, -0.039298392832279205, -0.009155107662081718, -0.01181893702596426, 0.05598203465342522, -0.042009443044662476, -0.03167944774031639, -0.019060654565691948, 0.009814765304327011, 0.04266664385795593, -0.011315767653286457, -0.0280526764690876, -0.020035451278090477, 0.044145409017801285, -0.014552831649780273, -0.02028712071478367, 0.008451505564153194, 0.022388551384210587, 0.026610247790813446, -0.003915885463356972, -0.05558216571807861, 0.0077101183123886585, 0.008191523142158985, -0.005977589637041092, -0.013314246200025082, -0.01089762058109045, 0.04113728925585747, 0.03260070085525513, 0.021967308595776558, 0.009292921051383018, -0.03822135925292969, 0.025093432515859604, 0.02364080399274826, -0.002366456435993314, 0.04325266182422638, -0.006066721398383379, -0.008004790171980858, -0.06083754077553749, -0.007252107840031385, -0.054685961455106735, 0.02025301195681095, -0.08119414746761322, 0.016504419967532158, -0.0013352340320125222, -0.032788798213005066, 0.03303619474172592, -0.017883311957120895, -0.0960092544555664, 0.039937619119882584, 0.0007368124206550419, 0.012279673479497433, 0.016858479008078575, 0.035426829010248184, -0.020710524171590805, -0.014921097084879875, -0.02026361972093582, -0.017276937142014503, -0.038236308842897415, -0.031554464250802994, 0.010419325903058052, -0.0028386288322508335, 0.014949463307857513, 0.027338653802871704, -0.056067466735839844, 0.023334790021181107, -0.02032489702105522, 0.013731013052165508, 0.023872168734669685, -0.018771903589367867, -0.03142818808555603, 0.05069319158792496, -0.006907450966536999, 0.02177947759628296, 0.02431989088654518, -0.03136393427848816, 0.0061549353413283825, -0.026195380836725235, 0.008422046899795532, 0.0035235167015343904, -0.006887531373649836, 0.0469212643802166, -0.014626866206526756, 0.004880920983850956, -0.03619444742798805, 0.009132977575063705, 0.004293033853173256, 0.027325812727212906, -0.02637339010834694, -0.010510818101465702, 0.015453759580850601, 0.014692805707454681, -0.006407398264855146, -0.025517772883176804, 0.05378606170415878, -0.03736058250069618, -0.028856078162789345, 0.0016308818012475967, 0.005708813201636076, 0.04347974434494972, -0.016173968091607094, 0.02294766902923584, -0.04018556326627731, -0.03840900585055351, -0.01188549306243658, 0.014875970780849457, 0.006711910013109446, -0.0060854507610201836, 0.01577853597700596, -0.051968108862638474, 0.020961245521903038, 0.03910421207547188, -0.022584155201911926, 0.04012172296643257, 0.03436059504747391, -0.015331455506384373, 0.04414738714694977, 0.025778502225875854, 0.027100179344415665, -0.0234597846865654, 0.020635679364204407, 0.04444051533937454, -0.0022123465314507484, 0.0056941392831504345, -0.03278666362166405, -0.007813919335603714, 0.023665757849812508, -0.005992482881993055, 0.0004982068785466254, 0.0019608684815466404, -0.01642984338104725, 0.0058446843177080154, 0.0051462952978909016, 0.0021237486507743597, -0.025395413860678673, -0.08134087920188904, 0.008769173175096512, -0.000966210791375488, 0.007920882664620876, -0.011650084517896175, 0.0024228831753134727, 0.007592152338474989, 0.04901904985308647, 0.01999283768236637, 0.046662479639053345, 0.023282567039132118, 0.029817650094628334, 0.03833581134676933, -0.01121594663709402, 0.01300661638379097, -0.015987718477845192, 0.02004958689212799, 0.001036106375977397, 0.009850936010479927, -0.01943015493452549, -0.03162458539009094, -0.008248318918049335, 0.0201028473675251, 0.034045182168483734, -0.0013306166511029005, 0.02272416278719902, 0.03247332200407982, -0.037374574691057205, -0.015619132667779922, -0.04117774963378906, -0.006585853639990091, -0.03982976824045181, 0.00649998988956213, -0.007430277299135923, 0.021468892693519592, -0.016795296221971512, -0.0054870895110070705, -0.06393429636955261, -0.016096288338303566, 0.034255169332027435, -0.012423396110534668, 0.02794039435684681, -0.005775668658316135, 0.0015779819805175066, -0.028558405116200447, -0.005738356150686741, 0.04754532128572464, -0.0006038705469109118, -0.02026747725903988, 0.008142986334860325, 0.0021715585608035326, -0.0033193195704370737, 0.023084545508027077, 0.03512493148446083, 0.024131841957569122, 0.04514983668923378, 0.018242226913571358, -0.03422965854406357, 0.017235979437828064, 0.08402379602193832, 0.01081288605928421, -0.04369574040174484, 0.002846992341801524, -0.02816018834710121, -0.04016227275133133, -0.01385162491351366, -0.02363293245434761, 0.010805453173816204, 0.052272722125053406, 0.02162911556661129, -0.030202994123101234, -0.008112341165542603, 0.023806123062968254, 0.04248136654496193, 0.012012646533548832, 0.04373037815093994, 0.017168603837490082, 0.0037844690959900618, 0.016342364251613617, -0.008683927357196808, -0.039631977677345276, -0.024307336658239365, -0.01853407919406891, -0.06273385882377625, 0.01583944261074066, 0.026029638946056366, -0.0378023199737072, 0.03089078702032566, 0.009506949223577976, -0.021845858544111252, 0.018354350700974464, -0.011341863311827183, 0.030232630670070648, 0.03740989416837692, 0.033769380301237106, -0.01924094930291176, 0.043301232159137726, -0.022417092695832253, -0.02132105454802513, 0.03754988685250282, 0.00516589405015111, 0.007984856143593788, -0.012895003892481327, 0.03931422159075737, 0.042828407138586044, -0.013102642260491848, 0.011355365626513958, -0.010769943706691265, 0.07097876071929932, 0.013682304881513119, 0.02811189740896225, 0.024526851251721382, -0.039771340787410736, -0.019412100315093994, 0.0169697143137455, 0.006846796255558729, 0.014616893604397774, -0.027354765683412552, 0.0331864207983017, -0.04345804080367088, -0.004711023531854153, -0.03689124435186386, 0.01629580371081829, 0.023128567263484, 0.015844151377677917, -0.018694914877414703, 0.042702898383140564, 0.032122984528541565, 0.03138764575123787, -0.03684765473008156, 0.005292569287121296, -0.02727430872619152, 0.04011615738272667, 0.016538482159376144, 0.02659470960497856, 0.03990769758820534, 0.002806109609082341, 0.013699711300432682, 0.016775643453001976, -0.005569205153733492, 0.019919268786907196, -0.007385748438537121, -0.04075240343809128, -0.012074547819793224, -0.033817268908023834, -0.014679238200187683, 0.0028508943505585194, -0.02399495430290699, 0.04576669633388519, 0.031593263149261475, 0.030612049624323845, 0.019952736794948578, -0.005488416645675898, 0.04351617395877838, 0.021189864724874496, -0.008288322947919369, -0.01705062948167324, -0.04016437381505966, -0.007378497626632452, 0.025934580713510513, -0.039924442768096924, -0.031804729253053665, -0.006577222608029842, -0.01817556843161583, -0.06991586834192276, -0.0411539189517498, -0.019342374056577682, 0.020102666690945625, 0.01606997661292553, 0.03254499286413193, 0.007413759361952543, 0.026444807648658752, 0.022729983553290367, 0.009953833185136318, -0.007856220006942749, 0.003857653820887208, -0.058963678777217865, -0.025498786941170692, -0.012712463736534119, -0.05140071362257004, 0.00991076696664095, -0.044664572924375534, 0.02504122070968151, 0.0191867183893919, 0.043604739010334015, -0.027449972927570343, 0.007838103920221329, -0.01134471409022808, 0.033163223415613174, -0.0209041777998209, -0.008969898335635662, 0.0374138280749321, -0.021977631375193596, 0.0014185314066708088, -0.01642337627708912, 0.014099784195423126, -0.0073324101977050304, 0.006916432175785303, 0.010439997538924217, -0.01886950619518757, -0.07220087200403214, 0.011429084464907646, 0.039591651409864426, 0.02093794383108616, 0.03349865972995758, -0.0031424795743077993, -0.005376685410737991, 0.007310131099075079, -0.04868431016802788, -0.01400537695735693, 0.018728116527199745, 0.03869603946805, 0.00552294822409749, -0.03314094990491867, -0.03708162531256676, -0.009116546250879765, -0.011541491374373436, -0.010456404648721218, -0.07030736654996872, -0.01315839309245348, -0.03393535315990448, 0.003473578253760934, -0.05099676549434662, -0.010331817902624607, 0.07035493850708008, -0.025982718914747238, -0.0028107294347137213, -0.01669963076710701, 0.01661115139722824, 0.005359401926398277, 0.03514716774225235, -0.01634019985795021, 0.0005991586367599666, -0.0016201665857806802, -0.03526591509580612, 0.023071402683854103, 0.024296214804053307, 0.005037916358560324, -0.03214433789253235, -0.002961859805509448, 0.04649675637483597, -0.0023752180859446526, -0.010991975665092468, -0.011998753994703293, -0.010222145356237888, -0.028925245627760887, 0.0007512944284826517, -0.008130298927426338, -0.03181486576795578, -0.004905138164758682, 0.0007844992796890438, -0.0012684542452916503, 0.016790440306067467, -0.010908431373536587, -0.01314945425838232, 0.03818511217832565, 0.026761947199702263, 0.028806161135435104, -0.0016284449957311153, 0.003763125743716955, -0.0005656287539750338, -0.01846444234251976, -0.05685213953256607, -0.04502411559224129, -0.026427747681736946, 0.017482100054621696, -0.0286141037940979, -0.05245625227689743, 0.04506905749440193, -0.02024313621222973, -0.044752318412065506, -0.011566347442567348, -0.012523050419986248, 0.005201828666031361, 0.03139474615454674, 0.022833336144685745, 0.022309130057692528, 0.09848951548337936, 0.07118052244186401, 0.01828351616859436, 0.0020900762174278498, -0.02676171436905861 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Lack of diversity and inclusion hurts everyone Meg: Diversity is when you have a lot of races, ethnicities, genders, abilities, statuses at the table. Inclusion is when each person feels comfortable talking, they feel welcome. One of the best ways to be more inclusive is to not be exclusive. Feels fairly obvious but is often missed. People get left out of meetings because we don’t find them helpful or find them annoying or combative (which is a function of various biases). To be inclusive you need to not be exclusive so when scheduling a meeting pay attention to the demographic makeup of the people you’re inviting. If your meeting is all-male, that’s a problem. It’s incredibly valuable to become more aware and intentional about the demographic makeup of the people you’re including in an email. But you’ll notice in tech, a lot of meetings are all male, and if you bring it up that can be met with a lot of hostility. Air on the side of including people. We all have biases but there are tactics to break some of those patterns. When writing an email I’ll go through their gender and ethnicities to ensure I’m being inclusive. It’s a very conscious effort. That sort of thinking through demographics helps. However, mention this before someone sends an email or schedules a meeting. People tend to not respond as well when you mention these things after the fact.
[ 0.03221074864268303, 0.020707866176962852, 0.023269211873412132, 0.05586354434490204, 0.04254191368818283, 0.02717049978673458, -0.03170612081885338, 0.04342582821846008, -0.05286175385117531, -0.04072750359773636, -0.11227379739284515, 0.026252303272485733, -0.09586414694786072, 0.030168507248163223, -0.03136465698480606, 0.016011642292141914, 0.023291902616620064, -0.0557345487177372, 0.004885358735918999, -0.03235829249024391, -0.035644982010126114, 0.02408677712082863, 0.04766324907541275, -0.0063192895613610744, 0.022855708375573158, -0.048555631190538406, -0.041647132486104965, -0.03979753702878952, -0.012866845354437828, 0.01750330999493599, -0.019359184429049492, 0.021308276802301407, -0.007805069908499718, -0.0006965938373468816, -0.004146479070186615, 0.016561483964323997, -0.052082158625125885, 0.08427151292562485, 0.062150098383426666, 0.0174572616815567, 0.03355729952454567, -0.08701452612876892, -0.02157328650355339, 0.010162131860852242, -0.04948588088154793, -0.02170960232615471, -0.15926332771778107, 0.04788365587592125, -0.04618311673402786, 0.0031416115816682577, -0.05508122593164444, -0.00925992801785469, 0.04393831267952919, 0.0054683322086930275, 0.00786763895303011, -0.05128497630357742, -0.04841756448149681, -0.07329654693603516, -0.07115338742733002, -0.042101554572582245, 0.03895220905542374, 0.037434231489896774, -0.07146561145782471, -0.02754032239317894, 0.05418618023395538, 0.04677046090364456, 0.02274073287844658, -0.0570363886654377, -0.05258500203490257, 0.046911925077438354, -0.017013000324368477, -0.07572169601917267, 0.0013903201324865222, -0.01841401681303978, 0.04786495491862297, -0.058788564056158066, 0.014783039689064026, 0.002457068068906665, 0.028585050255060196, -0.021862031891942024, 0.006935620214790106, 0.03320930898189545, 0.07480334490537643, 0.0797487422823906, 0.035398148000240326, -0.07960257679224014, 0.02368631213903427, 0.09745072573423386, 0.005960195790976286, 0.034564077854156494, 0.07188218086957932, -0.07178370654582977, 0.06135009601712227, -0.013053853064775467, 0.07338179647922516, -0.09292025864124298, 0.08950576186180115, -0.017133111134171486, 0.02710769884288311, -0.02734866738319397, -0.08111362159252167, -0.008092264644801617, 0.002124127931892872, -0.041694846004247665, -0.08003002405166626, 0.06222065910696983, -0.017625899985432625, 0.014100102707743645, -0.02225552126765251, 0.09666281938552856, -0.08892449736595154, -0.04416501894593239, 0.02845402993261814, 0.0008728867396712303, 0.0028681568801403046, 0.0317242294549942, 0.05388186499476433, 0.0411718487739563, -0.021256625652313232, -0.0028017754666507244, 0.07063393294811249, 0.06198295205831528, 0.08242626488208771, 0.028040988370776176, -0.03123486414551735, -0.029461849480867386, 0.03831183537840843, 0.04449252411723137, 0.022688332945108414, -0.05723492056131363, -0.01778668537735939, -0.011982888914644718, 0.013764583505690098, -0.00528641976416111, -0.025461137294769287, -0.06621672213077545, 0.012725982815027237, -0.04383654519915581, 0.06769861280918121, -0.003303004428744316, 0.015707429498434067, 0.0009953194530680776, 0.003824368119239807, 0.002385159721598029, -0.020239735022187233, -0.012423332780599594, -0.0767156332731247, -0.03459518775343895, -0.010892447084188461, -0.005541283171623945, -0.015047361142933369, 0.0662715807557106, -0.018881283700466156, -0.11447810381650925, 0.055839020758867264, 0.0683356374502182, -0.0521143414080143, -0.06086164340376854, 0.03040999360382557, 0.023447519168257713, -0.020774316042661667, -0.09323256462812424, 0.06679505854845047, 0.0005302469944581389, 0.06618278473615646, 0.04892627149820328, -0.010452699847519398, -0.0766969546675682, 0.04604244977235794, 0.030410530045628548, -0.03666003793478012, -0.0279017835855484, -0.03718709945678711, -0.008329962380230427, -0.024592088535428047, 0.06738045811653137, 0.016620071604847908, 0.04539249464869499, 0.001165500609204173, 0.05078636482357979, 0.013725659810006618, -0.02359788864850998, -0.03408876061439514, 0.06966782361268997, 0.036920346319675446, -0.09361712634563446, -0.013329674489796162, -0.00787324458360672, -0.04845607653260231, 0.027893492951989174, -0.06203024461865425, -0.014966508373618126, 0.07529576122760773, -0.026755794882774353, 0.03955196216702461, -0.09730472415685654, 0.010107549838721752, 0.14388364553451538, 0.00749091524630785, 0.051192887127399445, 0.008196212351322174, -0.06666143983602524, 0.00905571412295103, 0.04896799847483635, 0.0029975695069879293, 0.05042800307273865, 0.10879816859960556, 0.028681226074695587, -0.05026516318321228, 0.0677066519856453, -0.0034711607731878757, -0.013900909572839737, 0.08996704965829849, -0.008103095926344395, -0.019350163638591766, -0.02662958763539791, 0.033676695078611374, 0.0034942529164254665, 0.053658172488212585, -0.009349876083433628, 0.11916331201791763, -0.02525588870048523, 0.015188990160822868, 0.052085623145103455, 0.0021079780999571085, 0.011597796343266964, 0.03964226320385933, -0.012519866228103638, 0.08575548231601715, 0.011928818188607693, 0.02685432694852352, 0.04088590294122696, -0.014937869273126125, -0.03015216253697872, -0.006996563170105219, 0.017957251518964767, -0.01633179746568203, 0.043717313557863235, 0.04465788975358009, -0.016088712960481644, -0.08031846582889557, -0.022084644064307213, -0.027966221794486046, 0.02124113216996193, -0.012464758940041065, 0.013527017086744308, 0.0468476340174675, -0.05683670938014984, 0.02890312485396862, 0.0369512140750885, 0.005745263770222664, 0.045521218329668045, 0.026913750916719437, -0.00991513766348362, -0.0006865027244202793, 0.013092577457427979, 0.06859665364027023, -0.021844742819666862, 0.022122135385870934, -0.01479541976004839, -0.03733491152524948, -0.03745293989777565, 0.016764283180236816, -0.01301734708249569, -0.006316568702459335, -0.021818729117512703, -0.012032359838485718, 0.036626849323511124, 0.03226160258054733, 0.027099918574094772, 0.02673664502799511, 0.0084924241527915, -0.02529130131006241, 0.007788936607539654, -0.04636535048484802, 0.01585594192147255, 0.010345623828470707, -0.018403198570013046, 0.007025290746241808, -0.02650301158428192, -0.013986648991703987, 0.006404572632163763, -0.008159214630723, 0.047320082783699036, -0.02959349751472473, -0.010996287688612938, -0.004161709453910589, -0.0026376547757536173, -0.043996114283800125, -0.05751562863588333, -0.004948657006025314, 0.026418061926960945, -0.02851426601409912, -0.04241703450679779, 0.03543992340564728, -0.0035113247577100992, -0.05733869597315788, -0.0276457779109478, -0.01660238206386566, 0.008295581676065922, 0.010309342294931412, -0.0031912492122501135, 0.04649337753653526, 0.017198573797941208, -0.03258071839809418, 0.011004561558365822, 0.01437799446284771, 0.006842250935733318, -0.10657624155282974, 0.0017474227352067828, 0.004488524980843067, 0.027113625779747963, -0.03479304164648056, -0.028490785509347916, 0.04585066810250282, -0.007748240604996681, -0.016081830486655235, -0.024741187691688538, -0.060773253440856934, 0.03354094177484512, 0.00042975746328011155, -0.00741960434243083, 0.00916716642677784, 0.0378282256424427, 0.03951616585254669, 0.006496450863778591, -0.009031027555465698, -0.0014873851323500276, 0.006723764818161726, 0.03665965050458908, 0.02699621394276619, 0.037925835698843, 0.04622077941894531, 0.00608413340523839, -0.00657960819080472, 0.040721725672483444, 0.033576954156160355, -0.021378694102168083, 0.003905754303559661, 0.0692489817738533, -0.033997341990470886, -0.02313859947025776, 0.016899051144719124, 0.013034536503255367, 0.041000161319971085, -0.03259151428937912, 0.012865082360804081, 0.018112225458025932, 0.0005200246232561767, 0.037199556827545166, 0.007499298080801964, 0.01356713566929102, 0.0009592513088136911, -0.01824963092803955, -0.0058274767361581326, -0.03345951810479164, 0.011717474088072777, -0.0018036282854154706, -0.018473168835043907, -0.044733643531799316, 0.0482570081949234, 0.029600711539387703, 0.00019074750889558345, 0.0025141711812466383, -0.030222337692975998, 0.014276159927248955, 0.022655906155705452, -0.00909076165407896, 0.0017430417938157916, 0.030923563987016678, 0.03148212656378746, 0.0063514565117657185, -0.10831449925899506, 0.011452995240688324, -0.017942994832992554, 0.04132987558841705, 0.02880910597741604, 0.01172611489892006, 0.0058029391802847385, 0.0014424597611650825, 0.010012454353272915, 0.0018290284788236022, -0.041822195053100586, -0.02144322358071804, -0.014238803647458553, 0.013654056005179882, 0.030520476400852203, -0.021181518211960793, -0.020906656980514526, -0.0029810164123773575, -0.025532996281981468, -0.0357578843832016, -0.01932261325418949, -0.02437451295554638, 0.009859922342002392, -0.005465634632855654, -0.08094991743564606, 0.08729152381420135, -0.01795114576816559, -0.0727466568350792, -0.016372481361031532, -0.017242392525076866, 0.010290614329278469, 0.030205655843019485, 0.012383094057440758, 0.007249041460454464, -0.02956368587911129, -0.019938362762331963, 0.023776277899742126, -0.030095817521214485, -0.011943528428673744, 0.018944906070828438, 0.021035194396972656, 0.026906916871666908, 0.010163790546357632, -0.029930172488093376, -0.004061446525156498, 0.006161878351122141, -0.014414813369512558, 0.006648736540228128, 0.005441231187433004, -0.06910517066717148, -0.005980834364891052, -0.026676837354898453, -0.05864018201828003, 0.04518522322177887, -0.05904890224337578, 0.022457599639892578, -0.04195080325007439, 0.050174154341220856, 0.019043399021029472, 0.01904165931046009, -0.006665158085525036, 0.006233180407434702, 0.004779028240591288, -0.014291095547378063, -0.00016067388060037047, 0.011715274304151535, 0.001273136818781495, -0.007631368935108185, -0.0014560462441295385, 0.000711366708856076, 0.028965720906853676, -0.008079112507402897, -0.05766573175787926, 0.04056081920862198, -0.009711475111544132, -0.03395725041627884, 0.013465749099850655, -0.002510595368221402, -0.025138186290860176, -0.023680899292230606, -0.0060445587150752544, 0.012619861401617527, -0.07545553147792816, 0.000023968892492121086, 0.0028749501798301935, 0.07075469940900803, -0.005693274084478617, 0.032870519906282425, -0.007143132854253054, 0.00031140705686993897, -0.012423389591276646, -0.026620464399456978, -0.0027104977052658796, 0.004484889097511768, -0.06794436275959015, 0.0012452686205506325, -0.01005152054131031, 0.018067006021738052, -0.03980373218655586, 0.03116394393146038, 0.05278699845075607, -0.04007849097251892, 0.0031079037580639124, -0.005764002911746502, -0.034786876291036606, 0.011324665509164333, -0.023458898067474365, 0.0337405689060688, 0.022498272359371185, 0.014780964702367783, 0.0209353044629097, 0.02388044260442257, 0.03856831416487694, 0.033074505627155304, 0.022926554083824158, 0.04589732363820076, 0.022583656013011932, -0.0073648723773658276, 0.0017696669092401862, 0.022962475195527077, 0.027865510433912277, 0.010784006677567959, 0.023449275642633438, 0.06585751473903656, -0.0011090182233601809, 0.03839093819260597, 0.01343140471726656, 0.013913585804402828, 0.01680750958621502, -0.057446882128715515, 0.024627169594168663, -0.012924464419484138, 0.006703488063067198, -0.0059692272916436195, -0.025159098207950592, 0.024089161306619644, 0.03490973263978958, 0.014576696790754795, 0.020866423845291138, -0.01695486530661583, 0.012490806169807911, 0.028114192187786102, 0.0036963641177862883, -0.041110072284936905, -0.05192229524254799, -0.005939393769949675, -0.014803454279899597, -0.017065441235899925, 0.024896087124943733, -0.03635159879922867, -0.007906246930360794, -0.021491333842277527, -0.0569038987159729, 0.058500535786151886, 0.013534248806536198, 0.015432947315275669, 0.022099660709500313, 0.017721176147460938, -0.049785371869802475, 0.031842444092035294, 0.040989603847265244, -0.09875638782978058, -0.0014643557369709015, -0.038407329469919205, 0.011957894079387188, -0.017970042303204536, -0.005294341593980789, 0.0172268133610487, 0.011238320730626583, 0.017622236162424088, 0.01634698361158371, 0.03219084441661835, -0.03817860782146454, 0.011228744871914387, 0.03898578882217407, -0.022821545600891113, -0.04128192737698555, -0.0535682775080204, 0.004111824557185173, -0.03867368772625923, -0.029263315722346306, 0.0019873345736414194, 0.053391147404909134, 0.010594591498374939, -0.019765077158808708, 0.020786790177226067, 0.058673419058322906, -0.004186820704489946, 0.020410537719726562, 0.02147882618010044, -0.018036900088191032, 0.02480674907565117, -0.00399020267650485, -0.03336818143725395, -0.05254355072975159, -0.03612380847334862, 0.008771689608693123, -0.05069483816623688, -0.019556619226932526, -0.00925424788147211, -0.04996037110686302, 0.02784198708832264, 0.027853606268763542, -0.02917362004518509, 0.005525116343051195, 0.011558642610907555, 0.04274829104542732, 0.0053000799380242825, 0.03677466884255409, -0.012445780448615551, 0.0040082912892103195, -0.001140874926932156, 0.012735631316900253, 0.0294247567653656, -0.020583009347319603, 0.026885613799095154, -0.010408115573227406, 0.03143547475337982, 0.006190922111272812, -0.019365543499588966, 0.0667312815785408, -0.010852666571736336, 0.047541942447423935, -0.0021875794045627117, -0.007888590916991234, 0.022982433438301086, 0.017733529210090637, -0.02163533866405487, -0.017534492537379265, 0.023494351655244827, 0.003057489637285471, 0.006396492011845112, 0.014678685925900936, 0.0054068355821073055, -0.021376274526119232, -0.004595223348587751, -0.027813900262117386, 0.014610898680984974, 0.04509134963154793, 0.019670432433485985, 0.038759827613830566, 0.0035515078343451023, 0.008731548674404621, -0.03501934930682182, 0.08916252851486206, 0.007252965122461319, -0.031146449968218803, 0.06984376907348633, 0.00983176939189434, 0.0077171348966658115, -0.025976721197366714, 0.03050571121275425, 0.03714539110660553, 0.01152037363499403, 0.01841074228286743, -0.021121298894286156, 0.001269731903448701, -0.017029356211423874, 0.002140249591320753, -0.059344470500946045, -0.02196187525987625, -0.008202023804187775, 0.010361909866333008, 0.015565769746899605, 0.0276253130286932, 0.013285317458212376, -0.014609670266509056, 0.02081497572362423, 0.0026774192228913307, -0.014369011856615543, 0.016592420637607574, -0.013663691468536854, 0.022449277341365814, -0.03088584542274475, -0.03707590699195862, -0.0509096197783947, -0.035885848104953766, -0.014542747288942337, 0.029139379039406776, 0.046401530504226685, -0.012315750122070312, -0.02041757106781006, 0.020040864124894142, -0.012171653099358082, 0.0004077231278643012, 0.06955618411302567, -0.002912247786298394, 0.006092465482652187, -0.01710379123687744, -0.023181844502687454, -0.03160195052623749, -0.006586598232388496, 0.009240154176950455, -0.014664752408862114, 0.03427232429385185, -0.010300825349986553, 0.007585637271404266, -0.05529824644327164, 0.003961001057177782, 0.0009869496570900083, -0.010266304947435856, 0.022108038887381554, -0.05170268192887306, -0.01622888818383217, 0.027925947681069374, 0.01874971017241478, -0.03556523472070694, -0.028432337567210197, -0.04258323088288307, -0.04352093115448952, -0.01418375875800848, 0.00929259043186903, 0.012504056096076965, -0.02843596041202545, -0.02379618026316166, -0.008163155056536198, 0.033215802162885666, 0.00418754993006587, -0.005145224276930094, -0.026673825457692146, 0.03386985883116722, 0.0013679416151717305, -0.0313393697142601, 0.02970525622367859, 0.01901552639901638, 0.027826346457004547, 0.0020779334008693695, 0.01582862250506878, -0.038213539868593216, -0.04066788777709007, 0.019124822691082954, -0.022948984056711197, -0.05234739929437637, -0.02101576328277588, 0.007583067286759615, 0.039104074239730835, -0.010935069993138313, -0.03783854469656944, 0.03567976877093315, 0.009024892933666706, 0.026533013209700584, -0.004379039164632559, 0.013697008602321148, -0.010610672645270824, 0.00068207539152354, -0.03745603188872337, 0.013307895511388779, -0.0038211571518331766, 0.03339209780097008, 0.01724129728972912, 0.053628530353307724, 0.0035538473166525364, -0.010087545961141586, 0.024134114384651184, -0.0062171234749257565, 0.019710170105099678, 0.006815584376454353, 0.0034731023479253054, 0.033843994140625, -0.008574385195970535, 0.011491432785987854, 0.00667216069996357, -0.005662558134645224, -0.005847617983818054, -0.026419252157211304, -0.0039124684408307076, 0.02553356997668743, -0.0025659562088549137, 0.04436757415533066, 0.05219433084130287, 0.006806857418268919, 0.0011265877401456237, -0.000015144965800573118, 0.017331447452306747, 0.029024815186858177, 0.042331401258707047, -0.021992342546582222, -0.014244494028389454, -0.032505858689546585, 0.00629398925229907, -0.040412016212940216, -0.024219892919063568, -0.03371456265449524, -0.010676326230168343, 0.01155107468366623, 0.005386718083173037, 0.00719396723434329, -0.016025831922888756, -0.020832249894738197, 0.0045338892377913, -0.02230161987245083, 0.006707416381686926, 0.014943930320441723, 0.03480958193540573, 0.048292066901922226, 0.05056477710604668 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Anything else you would like to mention? Meg: One of the things I’m working on, that I think other people should be working on, is lowering the barrier of entry to AI for people with different academic backgrounds. We have a lot of people developing technology, which is great, but we don’t have a lot of people in a situation where they can really question the technology because there is often a bottleneck. For example, if you want to know about data directly you have to be able to log into a server and write a SQL query. So there is a bottleneck where engineers have to do it and I want to remove that barrier. How can we take things that are fundamentally technical code stuff and open it up so people can directly query the data without knowing how to program? We will be able to make better technology when we remove the barriers that require engineers to be in the middle.
[ 0.09166234731674194, -0.00009556818986311555, 0.04170910269021988, 0.0423104353249073, 0.07231108844280243, 0.023890236392617226, -0.029259370639920235, 0.041408002376556396, -0.03030051290988922, -0.04964222386479378, -0.07568687200546265, 0.06039261817932129, -0.01660306006669998, 0.02511298842728138, 0.040325265377759933, -0.024519529193639755, 0.028199901804327965, -0.07207182049751282, 0.002916319528594613, 0.017401915043592453, -0.02881058305501938, 0.024032192304730415, 0.04927099868655205, 0.007633316796272993, -0.06985430419445038, -0.045483436435461044, -0.00932567659765482, -0.01081086415797472, -0.08375190943479538, 0.056677401065826416, -0.0471709743142128, 0.017544301226735115, -0.009726900607347488, -0.01349359005689621, -0.04236064478754997, 0.008664262481033802, -0.060000788420438766, 0.0976245328783989, 0.03760122135281563, 0.02187938056886196, -0.015376709401607513, -0.01987137831747532, -0.054693758487701416, 0.0993552953004837, -0.07915810495615005, 0.008878769353032112, -0.20907612144947052, 0.09919316321611404, -0.05213404819369316, 0.0038576461374759674, -0.07528229057788849, 0.049895480275154114, -0.013062858022749424, -0.02871786244213581, 0.03821985051035881, 0.02397802099585533, -0.005301858764141798, -0.074636310338974, -0.03803058713674545, -0.0061180260963737965, 0.04828791692852974, 0.05440433323383331, 0.002729576313868165, -0.026567351073026657, 0.05105132982134819, 0.021613270044326782, 0.01941637322306633, -0.02973555214703083, -0.07430164515972137, 0.005576055962592363, 0.05809003487229347, -0.0873991921544075, -0.06176556274294853, -0.04305306822061539, -0.01034523081034422, -0.0855814516544342, 0.048841871321201324, 0.08446643501520157, 0.0389472134411335, -0.012331722304224968, 0.0004390453395899385, 0.04924706742167473, 0.04845629632472992, 0.07740598171949387, 0.025349458679556847, -0.013054058887064457, 0.046546030789613724, -0.02676614560186863, -0.027890503406524658, 0.06652414798736572, 0.021711550652980804, -0.06500764191150665, 0.008279050700366497, 0.01103825680911541, 0.06345907598733902, -0.03891449049115181, 0.00840633176267147, 0.056339625269174576, -0.008539104834198952, 0.0314750149846077, -0.04658419266343117, 0.01791865937411785, 0.05001981928944588, -0.03251514583826065, -0.08816157281398773, 0.01673446036875248, 0.005724006798118353, -0.08207935839891434, -0.044613540172576904, 0.061070654541254044, -0.010002952069044113, 0.01682976633310318, 0.026319248601794243, 0.04633253812789917, -0.07344219833612442, 0.06336117535829544, 0.025689078494906425, -0.020918477326631546, 0.009012390859425068, 0.04604509100317955, 0.044775091111660004, 0.06018597632646561, -0.004521260038018227, 0.041501741856336594, -0.0042844898998737335, -0.01748467981815338, 0.03930934518575668, 0.02443275973200798, -0.01246590819209814, -0.039966076612472534, 0.01720166951417923, 0.009530873037874699, -0.03598245978355408, 0.015508677810430527, -0.00607755221426487, -0.00834953784942627, -0.01694861240684986, -0.02542765811085701, 0.009017943404614925, -0.007437168620526791, -0.0033951918594539165, -0.0034433649852871895, 0.03841398283839226, -0.014622802846133709, 0.049964286386966705, 0.012496653944253922, -0.09510300308465958, -0.008211459033191204, -0.021234748885035515, 0.04471289739012718, -0.0823783129453659, 0.06999621540307999, -0.05584953725337982, -0.08228765428066254, -0.011436302214860916, 0.07983509451150894, 0.0005309180123731494, 0.015199604444205761, 0.03696504607796669, -0.029614627361297607, 0.052427999675273895, -0.03839336708188057, 0.0038260999135673046, 0.02801564522087574, 0.047333043068647385, -0.035086847841739655, 0.014614531770348549, -0.02180781587958336, -0.017780926078557968, -0.008059841580688953, -0.03289300203323364, -0.01612669788300991, 0.07644088566303253, -0.07373088598251343, -0.019392836838960648, 0.026360031217336655, 0.040823642164468765, 0.045332860201597214, 0.02462102100253105, 0.016275685280561447, -0.02728365920484066, 0.03089686669409275, -0.02306368388235569, 0.08371366560459137, 0.03607972711324692, -0.08425910025835037, -0.0022303443402051926, -0.0337420217692852, -0.02676372043788433, 0.012643896043300629, -0.08717968314886093, -0.004358201287686825, 0.09748579561710358, 0.016001887619495392, 0.014716099016368389, -0.0584869459271431, -0.008073261007666588, 0.1662432700395584, 0.012520736083388329, 0.08994516730308533, 0.0996716096997261, 0.006549482699483633, 0.06510912626981735, -0.06144057214260101, 0.011302250437438488, -0.0059203808195889, 0.0899118110537529, -0.0332399345934391, -0.02080821618437767, 0.04015765339136124, 0.004396376200020313, -0.08392743021249771, 0.015283789485692978, -0.04399062693119049, -0.023134399205446243, 0.01368748303502798, -0.04359201341867447, -0.0005400195368565619, -0.003943768795579672, -0.0504244826734066, 0.1371457576751709, -0.035114943981170654, 0.006114970427006483, 0.027175122871994972, 0.015974007546901703, 0.07802602648735046, 0.0984475389122963, 0.022973349317908287, 0.06646358966827393, -0.08145539462566376, -0.026196511462330818, 0.016527829691767693, -0.009910558350384235, 0.03207399696111679, 0.019852634519338608, 0.05421605706214905, 0.043710485100746155, -0.02796126902103424, 0.00956654641777277, -0.00958072766661644, -0.04074498638510704, -0.03689930588006973, -0.01905609853565693, 0.05125903710722923, -0.016558855772018433, -0.043119799345731735, 0.09152934700250626, -0.028431560844182968, 0.02207314781844616, 0.025082314386963844, -0.045345503836870193, 0.047453440725803375, -0.029116028919816017, 0.023004967719316483, 0.02910042554140091, 0.017617523670196533, 0.02121254988014698, -0.03404824808239937, -0.008771379478275776, 0.03840423747897148, 0.01750539243221283, -0.04870228469371796, -0.03277717903256416, -0.04385613650083542, 0.01671038568019867, -0.01108505204319954, -0.022248337045311928, -0.008413936011493206, 0.011526711285114288, 0.022928617894649506, 0.015840210020542145, -0.019898321479558945, 0.06269364058971405, 0.014781109057366848, -0.02932618372142315, 0.033526062965393066, 0.0004341033927630633, -0.008396847173571587, 0.023634828627109528, -0.05020821839570999, 0.0005937428795732558, -0.05506144464015961, 0.019727798178792, 0.056447915732860565, 0.018719790503382683, -0.008203888311982155, -0.03845788165926933, 0.017231302335858345, -0.017171848565340042, 0.02385874278843403, -0.00011135487875435501, 0.04968027025461197, -0.0143269719555974, -0.04126036539673805, -0.010074992664158344, -0.054372482001781464, 0.019755130633711815, -0.02164999581873417, -0.02386138029396534, 0.005904799792915583, 0.002462835982441902, 0.0197064857929945, -0.00706745870411396, 0.019711218774318695, -0.020603317767381668, 0.010852410458028316, -0.0055818939581513405, 0.017413651570677757, -0.12331709265708923, -0.012560385279357433, -0.028847303241491318, 0.020848628133535385, 0.004791600164026022, -0.017894739285111427, 0.047379717230796814, -0.01469344925135374, -0.013670639134943485, -0.013740312308073044, 0.005293004214763641, 0.03736570104956627, 0.035654015839099884, 0.011871748603880405, -0.0036372593604028225, 0.03067692182958126, 0.00726271839812398, 0.000711127941031009, 0.01682513765990734, 0.012177381664514542, -0.03863433003425598, 0.03323699161410332, -0.022463994100689888, 0.0075393738225102425, -0.02896242029964924, 0.00857219472527504, -0.028080472722649574, 0.07336897403001785, 0.019412890076637268, -0.002762822201475501, -0.010826358571648598, 0.0011676251888275146, -0.06619759649038315, 0.02469443529844284, -0.022223597392439842, -0.000834294653031975, 0.04015934094786644, -0.007014382630586624, -0.0021862974390387535, 0.06478245556354523, -0.003237855853512883, -0.013080800883471966, 0.01072198711335659, -0.016259975731372833, -0.004077023360878229, -0.025930367410182953, 0.029915697872638702, 0.00019203177362214774, 0.05563909560441971, -0.04874291643500328, -0.059284571558237076, 0.0013647399609908462, 0.013185296207666397, 0.047195613384246826, -0.03989327698945999, -0.02701565995812416, -0.03626229241490364, 0.031477440148591995, 0.016472937539219856, 0.0005401615053415298, -0.01931118033826351, 0.022537419572472572, 0.05550498887896538, 0.015090110711753368, -0.01651085540652275, 0.025617843493819237, 0.01153077743947506, 0.013038553297519684, -0.008545389398932457, 0.020479971542954445, 0.016194064170122147, 0.0066992733627557755, 0.021267427131533623, 0.0014537109527736902, -0.026518110185861588, 0.022979557514190674, -0.05210233852267265, 0.004438871052116156, 0.05029447376728058, 0.008747458457946777, -0.006322390865534544, -0.04543145000934601, -0.018280794844031334, -0.07160945236682892, -0.014481357298791409, -0.02045283652842045, -0.0021279351785779, 0.0019105849787592888, -0.025679653510451317, 0.030298396944999695, 0.01979878544807434, -0.08113788068294525, 0.027413353323936462, -0.009886412881314754, 0.0068579427897930145, -0.01705060712993145, 0.05411539971828461, 0.0035425182431936264, -0.0014599439455196261, -0.003351560328155756, 0.015662873163819313, -0.04835990443825722, -0.04150838404893875, 0.019651254639029503, 0.010535634122788906, 0.02473321184515953, 0.009406215511262417, -0.05025303363800049, 0.0006212378502823412, -0.005929846782237291, 0.024729657918214798, -0.009249424561858177, 0.027302317321300507, -0.01820218749344349, 0.02503151074051857, 0.014561439864337444, 0.017533978447318077, -0.024151664227247238, -0.027658293023705482, 0.004031726159155369, -0.03789045661687851, 0.01107939425855875, 0.01295128371566534, 0.024861780926585197, 0.018080545589327812, -0.019963758066296577, -0.015093059279024601, -0.015924105420708656, 0.011916449293494225, -0.0025186799466609955, -0.009461772628128529, -0.009481326676905155, 0.005690214689821005, -0.017413709312677383, 0.03918087109923363, -0.03471706062555313, -0.010794457979500294, 0.048641741275787354, -0.024193180724978447, -0.05825412645936012, 0.037207044661045074, -0.0016278154216706753, 0.023292414844036102, -0.027763504534959793, 0.03268471360206604, -0.024193502962589264, -0.015377956442534924, -0.010202127508819103, -0.005476893857121468, 0.04283995181322098, 0.007055000867694616, -0.020953793078660965, -0.023914938792586327, -0.003072107443585992, 0.045670222491025925, -0.020389821380376816, 0.017457246780395508, 0.006401112303137779, -0.0372655987739563, 0.013342402875423431, -0.02526838332414627, 0.0007957872585393488, -0.021324090659618378, -0.017919281497597694, 0.011231820099055767, 0.02285975217819214, 0.021289559081196785, -0.0008870745659805834, -0.01927945576608181, 0.019665293395519257, -0.008899340406060219, -0.003325969912111759, 0.0004934174357913435, -0.05344320461153984, -0.0024392609484493732, 0.01860029809176922, 0.04234298691153526, 0.013710436411201954, -0.024638116359710693, -0.005010326858609915, 0.013149091973900795, -0.010985719040036201, 0.03965535759925842, -0.007251367904245853, 0.020948540419340134, 0.02818891778588295, 0.040533021092414856, 0.06287401169538498, 0.004313575103878975, 0.018713368102908134, -0.012849546037614346, 0.004916033707559109, 0.008351538330316544, -0.03291472792625427, 0.05222756043076515, -0.022524632513523102, -0.002350367372855544, -0.001885905279777944, -0.04915524646639824, 0.014770249836146832, 0.01937299221754074, 0.029815053567290306, -0.0024778670631349087, -0.002541248919442296, 0.056297365576028824, 0.0005203646724112332, -0.020706985145807266, -0.01962963491678238, 0.021110478788614273, -0.018349414691329002, -0.03616146370768547, 0.03135506063699722, -0.0222514346241951, -0.019547797739505768, -0.02140263095498085, -0.02984628453850746, -0.026224134489893913, 0.0417996384203434, 0.006735524628311396, 0.029653353616595268, -0.04476931691169739, -0.02600979059934616, -0.03451245278120041, 0.0212800744920969, 0.049841154366731644, -0.013872874900698662, -0.005574290174990892, 0.02466205693781376, -0.0023080764804035425, 0.00945308618247509, 0.04409141093492508, 0.015267561189830303, 0.006966528482735157, 0.031601499766111374, 0.022494420409202576, -0.013854572549462318, -0.03006633371114731, 0.03419479727745056, 0.035773709416389465, -0.03782546520233154, -0.009164078161120415, -0.0372302420437336, -0.01676011271774769, -0.006887410301715136, -0.03907230868935585, 0.012688917107880116, 0.030946655198931694, 0.0006715165800414979, -0.02677352912724018, -0.007895694114267826, 0.05903750658035278, -0.01293716486543417, 0.020381439477205276, 0.006059344857931137, 0.005273814313113689, 0.023223426192998886, 0.015165206044912338, -0.027335500344634056, -0.015448881313204765, -0.019013414159417152, 0.03941266983747482, -0.06814589351415634, -0.022873230278491974, 0.006638503633439541, -0.0044996123760938644, 0.017544951289892197, 0.023550620302557945, -0.035223692655563354, 0.005993184633553028, 0.00016403268091380596, 0.021064575761556625, 0.015340244397521019, 0.0010814768029376864, 0.015186406672000885, 0.004781649447977543, -0.047457221895456314, 0.03324257954955101, 0.0433492548763752, 0.011800341308116913, 0.004212924279272556, 0.04900871217250824, 0.058010365813970566, 0.021218713372945786, -0.03632543236017227, -0.025406820699572563, 0.01625429466366768, 0.04733135551214218, 0.004357071127742529, 0.039135053753852844, 0.0379875972867012, -0.010701802559196949, -0.022486627101898193, -0.03100443445146084, 0.017064519226551056, -0.013653595000505447, 0.00993417575955391, 0.003945441450923681, -0.04315408319234848, 0.010237975977361202, -0.03926611691713333, 0.045614004135131836, 0.013367386534810066, 0.01670849695801735, 0.028200669214129448, 0.020522624254226685, 0.05415713042020798, 0.022342482581734657, -0.013577639125287533, 0.03130723163485527, -0.03188253194093704, 0.007253546267747879, 0.01331188715994358, 0.011606353335082531, 0.007454770151525736, 0.006321807857602835, -0.008534158580005169, 0.030402865260839462, 0.00740524847060442, 0.00429384782910347, -0.0092546958476305, -0.018849171698093414, -0.019074715673923492, -0.02526937425136566, -0.051687225699424744, 0.005271861795336008, -0.034241411834955215, -0.005208120681345463, 0.010886534117162228, -0.029066700488328934, -0.02848009392619133, 0.016930146142840385, 0.04205284267663956, 0.01290997676551342, 0.003015906782820821, -0.01598646305501461, -0.00757976621389389, 0.03178311511874199, -0.007552480790764093, -0.02771935798227787, -0.04902396351099014, -0.034110575914382935, -0.015386422164738178, 0.01079549826681614, -0.01292785257101059, -0.023210356011986732, -0.036219291388988495, 0.009909496642649174, 0.03231245279312134, -0.008531679399311543, 0.015546153299510479, 0.004848666023463011, -0.007510164752602577, 0.0004139580705668777, -0.0004026501555927098, -0.048656072467565536, -0.025908585637807846, -0.01747286692261696, -0.03868104889988899, 0.023916788399219513, -0.013719134032726288, 0.0013831822434440255, -0.0029202294535934925, 0.02329409308731556, -0.058127254247665405, -0.015676600858569145, 0.024837102741003036, 0.025238124653697014, -0.04121706262230873, 0.03761494904756546, 0.004028639756143093, -0.011414531618356705, -0.010638730600476265, 0.01748572289943695, -0.0009253838215954602, -0.030927473679184914, -0.02457316219806671, 0.030130134895443916, -0.017007317394018173, -0.06242906674742699, 0.004020394757390022, 0.04546608030796051, 0.041632797569036484, 0.034106023609638214, 0.010528577491641045, 0.004682326689362526, -0.00985163263976574, -0.03831131011247635, 0.04179904982447624, 0.01433295663446188, 0.047942955046892166, -0.035424381494522095, -0.03364230692386627, -0.05275270342826843, 0.004111323039978743, 0.029295161366462708, -0.03803839907050133, -0.05091090500354767, -0.0448947437107563, 0.007762935943901539, -0.002952941693365574, -0.05012660473585129, -0.015392431989312172, 0.022027717903256416, -0.0054174079559743404, 0.007433723192662001, 0.007519592996686697, -0.00789839681237936, -0.007719735149294138, 0.008276831358671188, 0.03528866171836853, 0.02129244990646839, -0.00788346491754055, -0.05718864127993584, -0.009194651618599892, 0.006729816552251577, -0.015539897605776787, -0.04443548992276192, -0.01116103958338499, 0.061742689460515976, 0.008009820245206356, -0.0019295245874673128, -0.004102610517293215, -0.012755416333675385, 0.0202700924128294, 0.018955940380692482, -0.0049046180211007595, -0.024325557053089142, 0.017695227637887, -0.009402950294315815, -0.051679160445928574, 0.0018136681756004691, -0.037134263664484024, 0.028194626793265343, 0.05395269766449928, 0.039671655744314194, 0.00976534653455019, 0.033929772675037384, 0.02073923870921135, 0.015027282759547234, -0.0022034989669919014, -0.0338897667825222, 0.023342376574873924, -0.028441471979022026, 0.032284852117300034, -0.03401276469230652, -0.049516238272190094, 0.02007567137479782, 0.00023316461010836065, -0.03926624730229378, 0.0117472093552351, -0.006483353674411774, -0.03333171829581261, 0.015924451872706413, 0.012831461615860462, -0.005827677436172962, 0.05060123652219772, 0.08340343832969666, -0.002265239367261529, 0.02216612733900547, 0.0011999447597190738 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Meg’s impact on AI Meg is featured in the book Genius Makers ‘The Mavericks who brought AI to Google, Facebook, and the World’. Cade Metz interviewed Meg for this while she was at Google. Meg’s pioneering research, systems, and work have played a pivotal role in the history of AI. (we are so lucky to have her at Hugging Face!)
[ -0.052959755063056946, -0.036707572638988495, 0.04470129683613777, 0.010138148441910744, 0.04930930957198143, 0.000980176730081439, -0.026029521599411964, 0.03630084544420242, -0.023857664316892624, -0.016158772632479668, -0.050601452589035034, 0.0009386282763443887, -0.009085212834179401, 0.0009552582050673664, -0.06257827579975128, -0.10556158423423767, -0.05963942036032677, -0.0637660026550293, -0.08669659495353699, 0.007026142906397581, 0.002256709849461913, -0.0397590734064579, 0.0695110633969307, -0.02131192572414875, -0.06261811405420303, -0.02375527285039425, -0.009047947824001312, -0.020923446863889694, -0.009206993505358696, -0.017671577632427216, -0.052708130329847336, -0.02614632435142994, -0.004596182145178318, 0.017221590504050255, -0.05890673026442528, -0.0047626616433262825, -0.0848870724439621, 0.07210221886634827, 0.026597635820508003, 0.047421395778656006, -0.026338307186961174, -0.006780900992453098, -0.06550461798906326, 0.041238199919462204, -0.015713103115558624, -0.012170353904366493, -0.1723417490720749, 0.009141615591943264, 0.0431642085313797, -0.06573023647069931, -0.05380278825759888, 0.0673389658331871, -0.0006746536237187684, -0.025308558717370033, -0.024728581309318542, 0.03125139698386192, -0.03094206191599369, -0.04060763493180275, -0.0034429004881531, -0.0407467819750309, 0.03132418543100357, 0.018630918115377426, 0.07952418923377991, 0.035085149109363556, -0.01246949378401041, 0.040085721760988235, 0.07561665773391724, -0.07669739425182343, -0.08778878301382065, 0.02892127074301243, 0.011453785002231598, -0.06198584660887718, -0.03640341758728027, -0.032044969499111176, -0.024182530120015144, 0.038178347051143646, 0.08634278178215027, 0.03920122608542442, 0.05507407709956169, -0.004681087099015713, 0.004857558291405439, -0.018651224672794342, 0.047192782163619995, 0.058406077325344086, 0.010604645125567913, 0.030449997633695602, 0.05240517854690552, -0.021170565858483315, -0.0748230591416359, 0.06399726867675781, -0.01044984720647335, -0.132722869515419, 0.005061208736151457, 0.01112176664173603, 0.08162353187799454, -0.044039078056812286, 0.015387486666440964, 0.0030749314464628696, -0.014281508512794971, -0.05801882967352867, 0.0023767766542732716, 0.012175210751593113, 0.008911547251045704, -0.04195806011557579, -0.07604459673166275, 0.04413936659693718, -0.0019877529703080654, -0.06446417421102524, -0.0067934379912912846, 0.06278994679450989, -0.023933717980980873, -0.04050026834011078, 0.014968423172831535, 0.021112654358148575, -0.023095961660146713, 0.11356285959482193, -0.006535348016768694, -0.06377136707305908, 0.05495387688279152, 0.07493986189365387, 0.012713161297142506, 0.028687402606010437, 0.036450374871492386, 0.03735048323869705, 0.025386909022927284, 0.025506755337119102, 0.035977259278297424, -0.02161499485373497, 0.032611407339572906, -0.020155970007181168, -0.03496167063713074, -0.018051033839583397, 0.012388335540890694, -0.038390591740608215, 0.03669014573097229, 0.02127595618367195, 0.00204314268194139, -0.031035618856549263, 0.0018862105207517743, 0.013728911057114601, 0.007530931383371353, 0.018588900566101074, -0.06585613638162613, -0.045752815902233124, 0.12685666978359222, -0.041126590222120285, -0.06062992289662361, 0.02432834543287754, -0.08407367765903473, -0.016317330300807953, -0.10191553086042404, 0.05260559916496277, 0.0071657272055745125, -0.05233893543481827, -0.018866177648305893, 0.11701013892889023, 0.002238456392660737, 0.009086111560463905, 0.03882693499326706, 0.010257907211780548, 0.056575383991003036, -0.03144512325525284, -0.04733055830001831, -0.03059237264096737, 0.011591904796659946, -0.018752845004200935, 0.028049569576978683, 0.0009955198038369417, -0.0642232894897461, 0.00912468135356903, -0.0026070065796375275, -0.03294235095381737, 0.055208317935466766, -0.025358516722917557, 0.009946255944669247, 0.0677625760436058, 0.07178855687379837, 0.05110415071249008, 0.01382633950561285, 0.02914191596210003, -0.09772121161222458, 0.05648485943675041, -0.040856312960386276, 0.026028765365481377, 0.04423115402460098, -0.00015583155618514866, 0.0029595941305160522, 0.012640919536352158, 0.024022066965699196, -0.019860709086060524, -0.06457488238811493, -0.029952287673950195, 0.09271147847175598, -0.011480072513222694, 0.034332193434238434, 0.013833979144692421, -0.028913557529449463, 0.09943730384111404, 0.04873333498835564, 0.07631422579288483, -0.023304367437958717, -0.05220761522650719, 0.01647028885781765, -0.03414706140756607, 0.004670102149248123, -0.04189179837703705, 0.06446260213851929, -0.0666622668504715, -0.000001391312139276124, 0.03813948854804039, 0.016500961035490036, -0.05258945748209953, 0.027179541066288948, 0.035358790308237076, -0.04389204829931259, 0.0008660581079311669, -0.03774368390440941, -0.016200710088014603, -0.042357221245765686, -0.05460016429424286, 0.09145679324865341, -0.009085845202207565, 0.0086041996255517, -0.02853437326848507, 0.02749842032790184, 0.09890307486057281, 0.044477447867393494, -0.005759696941822767, 0.04669264703989029, -0.020023498684167862, 0.008267318829894066, -0.013387110084295273, 0.020693829283118248, -0.040475573390722275, 0.012943043373525143, -0.004708055406808853, 0.07524067163467407, 0.09700627624988556, -0.010423962958157063, 0.00339243421331048, -0.04516194760799408, -0.02547641657292843, 0.0023296924773603678, 0.027682751417160034, -0.037460919469594955, 0.04800020903348923, 0.03233838453888893, -0.0890008807182312, -0.002101562451571226, 0.006972881965339184, -0.029357662424445152, 0.024181874468922615, 0.020643386989831924, 0.06990184634923935, 0.024112636223435402, 0.05072985962033272, 0.013502744026482105, -0.03189567103981972, -0.037303902208805084, 0.03759581595659256, 0.034569211304187775, -0.03448234871029854, -0.018961448222398758, -0.016319097951054573, 0.00867779552936554, -0.030367901548743248, 0.005328712519258261, -0.022783242166042328, 0.0024351682513952255, 0.024654746055603027, 0.014827381819486618, -0.0221577025949955, 0.0653611421585083, 0.03540152683854103, 0.014107649214565754, 0.010833810083568096, -0.021900441497564316, -0.009505107998847961, -0.003195736324414611, -0.0136030288413167, 0.007694763597100973, 0.03548920527100563, 0.03871558606624603, 0.03931588679552078, 0.015509077347815037, 0.018969349563121796, -0.0011282515479251742, -0.03725248575210571, -0.06308530271053314, 0.05989504233002663, 0.013939552009105682, 0.06520494073629379, -0.02489415928721428, -0.03329825401306152, -0.007131501566618681, 0.02191341295838356, 0.02094656601548195, 0.010048002935945988, -0.031498853117227554, 0.06817947328090668, 0.04593813791871071, 0.01073214691132307, -0.013353544287383556, -0.0032995189540088177, -0.0024706581607460976, 0.06605730950832367, 0.005874577444046736, 0.024042414501309395, -0.09167199581861496, -0.04706082493066788, 0.00467404630035162, -0.00888148881494999, -0.021868901327252388, -0.006340585183352232, 0.003997670020908117, 0.0033058261033147573, 0.012406178750097752, -0.02615087293088436, 0.013364595361053944, 0.012492519803345203, -0.005885746330022812, -0.002143953926861286, 0.006884683854877949, 0.08463563770055771, -0.010146083310246468, 0.00997976679354906, 0.006674694363027811, 0.054657094180583954, -0.04329243674874306, 0.014582285657525063, -0.01586257666349411, -0.009089943952858448, 0.04974156990647316, -0.043063849210739136, 0.010419153608381748, 0.024777524173259735, -0.008992116898298264, -0.00930727832019329, -0.02106402814388275, 0.027371760457754135, 0.025398027151823044, 0.02802269719541073, 0.009280478581786156, 0.013811211101710796, -0.019830569624900818, 0.012759128585457802, 0.012719200924038887, 0.01842029206454754, 0.016140878200531006, 0.007963490672409534, 0.015736231580376625, 0.048276420682668686, 0.03503881394863129, -0.01533905416727066, 0.013411331921815872, 0.0009349058964289725, -0.008712180890142918, -0.026080796495079994, -0.010748365893959999, -0.009535451419651508, 0.0011729411780834198, 0.004674042109400034, -0.03293775022029877, -0.008991126902401447, 0.012277215719223022, -0.01884622499346733, 0.0004244573356118053, -0.017106348648667336, -0.0004653709474951029, -0.02392190508544445, 0.0010838046437129378, 0.014021581970155239, -0.009476329199969769, 0.02709115855395794, 0.011620668694376945, -0.0066443379037082195, -0.006008110474795103, 0.013048140332102776, 0.04925084486603737, -0.011798706836998463, -0.021227719262242317, 0.0056233578361570835, -0.06145172566175461, 0.024424275383353233, -0.008671927265822887, -0.0008486835868097842, 0.05502791702747345, 0.0054847183637320995, -0.007930593565106392, 0.007327009923756123, -0.03723299130797386, -0.05012648180127144, -0.008781307376921177, -0.044422950595617294, 0.03860887885093689, -0.018265413120388985, -0.044217538088560104, 0.004828344564884901, 0.008708249777555466, -0.07167734205722809, 0.006941835395991802, -0.017118962481617928, 0.0025132170412689447, -0.012603734619915485, 0.03618866950273514, 0.010325337760150433, 0.014649546705186367, 0.020003709942102432, -0.04538963735103607, -0.04080407693982124, -0.03986706584692001, 0.006106268614530563, -0.0043862359598279, 0.025254743173718452, 0.07266653329133987, -0.0657290443778038, 0.020429737865924835, 0.019106967374682426, -0.01703309640288353, -0.049078334122896194, -0.013591340743005276, -0.04028280824422836, 0.029410958290100098, -0.011238904669880867, 0.0180672537535429, -0.04124392196536064, -0.01327741239219904, 0.003241532249376178, -0.017773229628801346, -0.0010011987760663033, -0.020280450582504272, 0.02436576783657074, 0.012846091762185097, -0.0019954147282987833, -0.012290499173104763, -0.03242355212569237, 0.051470957696437836, 0.024559160694479942, -0.01822509989142418, 0.006708779837936163, 0.04867914319038391, 0.04759681969881058, 0.026629438623785973, -0.022280635312199593, -0.022716684266924858, 0.03632080554962158, -0.01760113798081875, -0.015569319948554039, 0.036419499665498734, 0.021046627312898636, 0.04059477522969246, -0.027066215872764587, 0.018924137577414513, 0.011892217211425304, -0.018492408096790314, 0.03368368372321129, -0.017751824110746384, 0.04033881053328514, 0.0010373808909207582, -0.041875869035720825, 0.010512173175811768, 0.0037165849935263395, 0.0009805865120142698, -0.042017534375190735, -0.00987075362354517, 0.03699859231710434, -0.015183026902377605, 0.046946607530117035, 0.009579210542142391, -0.007174789905548096, 0.005232740193605423, 0.0005124650779180229, 0.0023726739455014467, 0.005770756397396326, 0.005463903304189444, -0.04166477918624878, 0.02615520730614662, 0.02340499870479107, 0.05884907394647598, 0.03856735676527023, -0.046576593071222305, -0.011179106310009956, -0.012752256356179714, 0.014422869309782982, 0.013466156087815762, 0.01556644681841135, -0.05626585707068443, 0.037041161209344864, 0.024162285029888153, -0.007744886446744204, 0.023029668256640434, -0.05755026638507843, 0.05778181925415993, 0.02899683080613613, 0.01922907680273056, 0.06108241528272629, -0.04108395054936409, -0.0008225348428823054, -0.013600826263427734, 0.04833636432886124, 0.0072559695690870285, -0.01970510557293892, 0.027038894593715668, 0.02239181473851204, -0.0019271103665232658, 0.010276210494339466, -0.026182737201452255, 0.0022453689016401768, 0.012719233520328999, 0.023101110011339188, -0.02675967663526535, 0.0228847898542881, 0.01436048373579979, -0.008965123444795609, -0.05143324285745621, -0.023552199825644493, 0.03269772231578827, -0.004749389830976725, 0.0021267228294163942, 0.012162989005446434, 0.03400750085711479, -0.009773087687790394, 0.03912683576345444, -0.010777792893350124, -0.008148913271725178, 0.015197299420833588, 0.028319450095295906, 0.09806784242391586, -0.026324821636080742, -0.03512575849890709, -0.03346489369869232, -0.023277288302779198, 0.020637599751353264, -0.03801422193646431, -0.010534963570535183, 0.041310299187898636, 0.015610706992447376, -0.016074616461992264, 0.0197704266756773, 0.02071508951485157, 0.05519591271877289, 0.020108893513679504, 0.047117315232753754, 0.00005680043250322342, -0.007532602176070213, 0.05770643427968025, 0.02193128876388073, -0.026524176821112633, 0.04826769977807999, 0.008563036099076271, -0.04805329069495201, -0.008368792943656445, -0.04471353814005852, -0.041014257818460464, 0.028080184012651443, -0.009059542790055275, 0.024510027840733528, -0.02511916309595108, 0.019781863316893578, 0.02706996537744999, -0.020053725689649582, 0.017489584162831306, 0.014801925979554653, 0.004173107445240021, -0.006899232976138592, -0.04072219133377075, -0.00799986720085144, 0.014297169633209705, 0.0015733131440356374, -0.041878946125507355, -0.029532771557569504, 0.003934538923203945, 0.0037787791807204485, 0.023720072582364082, 0.044746190309524536, -0.014729290269315243, -0.020069947466254234, 0.01626407727599144, 0.010433671995997429, 0.0017323275096714497, -0.006518092006444931, 0.018679164350032806, -0.056906845420598984, -0.016795717179775238, 0.0002813029568642378, 0.06743846833705902, -0.03849459066987038, 0.011332225054502487, -0.030567791312932968, 0.03251393139362335, 0.03492775931954384, 0.009578149765729904, -0.010183568112552166, 0.027509991079568863, 0.0390922874212265, -0.034388016909360886, 0.024696389213204384, 0.03019978478550911, -0.04394801706075668, -0.029096882790327072, -0.04178566858172417, 0.005019059404730797, 0.04646069183945656, 0.002243801485747099, 0.03363117203116417, 0.0027212793938815594, 0.010954936034977436, -0.02066759206354618, 0.008748342283070087, 0.014049292542040348, 0.0014963928842917085, -0.025927770882844925, 0.06374385207891464, 0.032558269798755646, -0.013821297325193882, -0.0014470380265265703, 0.009661308489739895, -0.03127323091030121, -0.012195123359560966, 0.003428312484174967, 0.022596830502152443, 0.053720369935035706, 0.003012648317962885, -0.006612871307879686, -0.03770850598812103, 0.03828398883342743, -0.007265410386025906, -0.02437789924442768, -0.03301548957824707, -0.017365705221891403, -0.02739022485911846, -0.01828966662287712, -0.0066655538976192474, -0.024032877758145332, -0.027140213176608086, 0.030509022995829582, -0.032249413430690765, -0.03497622162103653, 0.010739580728113651, 0.02374209649860859, 0.03515591099858284, 0.004588682670146227, 0.05850439518690109, -0.04433494433760643, 0.02613799087703228, -0.014088543131947517, -0.05937468260526657, -0.045375604182481766, -0.03229778632521629, 0.011451700702309608, 0.01029664371162653, 0.004384926985949278, 0.028609497472643852, -0.033623918890953064, 0.008047188632190228, 0.07119601964950562, 0.033011723309755325, -0.007913812063634396, 0.012548905797302723, 0.047289807349443436, -0.03337486833333969, -0.007204065565019846, -0.005250680260360241, 0.043007854372262955, 0.009724286384880543, -0.056447237730026245, 0.0019486581441015005, -0.021647928282618523, 0.016079839318990707, -0.022488832473754883, 0.07276055216789246, 0.019657153636217117, 0.02461896650493145, -0.010114287957549095, -0.028661832213401794, -0.018460210412740707, 0.03058936633169651, -0.015017343685030937, -0.04225492849946022, 0.0013382253237068653, -0.006825156509876251, -0.007921123877167702, 0.010252358391880989, 0.007048926781862974, 0.051611870527267456, -0.016290506348013878, -0.024915991351008415, -0.02891986072063446, -0.0009714144398458302, 0.03416849672794342, 0.029178466647863388, 0.05306752398610115, 0.014041878283023834, -0.015397472307085991, -0.06514401733875275, 0.07002739608287811, -0.03041664883494377, 0.003032187931239605, -0.0310489684343338, -0.07844986021518707, 0.002688163425773382, -0.038758981972932816, -0.0188816636800766, 0.007257775869220495, -0.0633353590965271, -0.029420597478747368, -0.022354161366820335, 0.014423863030970097, -0.0341363325715065, 0.01614748314023018, 0.07983775436878204, 0.036245111376047134, 0.04067475348711014, -0.030181584879755974, -0.0014563793083652854, -0.017089279368519783, 0.028458578512072563, 0.024202929809689522, 0.01046633068472147, 0.004816427826881409, 0.0077407569624483585, 0.006131778936833143, -0.013013693504035473, -0.012757359072566032, -0.005315381567925215, 0.056546058505773544, -0.029395954683423042, 0.030705096200108528, 0.008395581506192684, 0.002854596357792616, 0.006606465205550194, -0.0006639350322075188, 0.005968850571662188, 0.0235485527664423, -0.03588072583079338, -0.059838972985744476, 0.022946994751691818, -0.03301885351538658, 0.01511957123875618, 0.016914907842874527, 0.02032189443707466, -0.0021359866950660944, 0.008250824175775051, 0.028133763000369072, -0.00035076908534392715, -0.01379483100026846, 0.04018223285675049, -0.02731144241988659, -0.03949793428182602, -0.030034635215997696, -0.0696449801325798, -0.005604129284620285, -0.02283420041203499, -0.08135030418634415, 0.016202334314584732, -0.0220035333186388, -0.022365756332874298, 0.022606460377573967, -0.000007868796274124179, -0.025565065443515778, 0.0023494225461035967, -0.026597479358315468, -0.00254791765473783, 0.03343018889427185, 0.04214489832520485, -0.022398637607693672, 0.018735235556960106, 0.020927440375089645 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
When did you recognize the importance of Ethical AI? Meg: This occurred when I was working at Microsoft while I was working on the assistance technology, Seeing AI. In general, I was working on generating language from images and I started to see was how lopsided data was. Data represents a subset of the world and it influences what a model will say. So I began to run into issues where white people would be described as ‘people’ and black people would be described as ‘black people’ as if white was a default and black was a marked characteristic. That was concerning to me. There was also an ah-ha moment when I was feeding my system a sequence of images, getting it to talk more about a story of what is happening. And I fed it some images of this massive blast where a lot of people worked, called the ‘Hebstad blast’. You could see that the person taking the picture was on the second or third story looking out on the blast. The blast was very close to this person. It was a very dire and intense moment and when I fed this to the system the system’s output was that “ this is awesome, this is a great view, this is beautiful’. And I thought.. this is a great view of this horrible scene but the important part here is that people may be dying. This is a massive destructive explosion. But the thing is, when you’re learning from images people don’t tend to take photos of terrible things, they take photos of sunsets, fireworks, etc., and a visual recognition model had learned on these images and believed that color in the sky was a positive, beautiful thing. At that moment, I realized that if a model with that sort of thinking had access to actions it would be just one hop away from a system that would blow up buildings because it thought it was beautiful. This was a moment for me when I realized I didn’t want to keep making these systems do better on benchmarks, I wanted to fundamentally shift how we were looking at these problems, how we were approaching data and analysis of data, how we were evaluating and all of the factors we were leaving out with these straightforward pipelines. So that really became my shift into ethical AI work.
[ 0.007916291244328022, -0.10299832373857498, -0.02088206447660923, 0.038896117359399796, 0.0007621458498761058, 0.00088262849021703, -0.030502166599035263, 0.010149159468710423, -0.07721380889415741, -0.07640249282121658, -0.08729222416877747, 0.05691700428724289, -0.04883194342255592, 0.027294395491480827, -0.006791236344724894, -0.08298379182815552, 0.015697535127401352, -0.04045531526207924, -0.03972521051764488, 0.031147602945566177, -0.035899173468351364, 0.0009751307079568505, 0.060616422444581985, -0.04596733674407005, -0.024712515994906425, -0.055151451379060745, 0.03141842037439346, -0.017877893522381783, -0.05346228554844856, 0.03801269456744194, -0.10922360420227051, -0.05830671265721321, -0.018260741606354713, 0.0402325764298439, -0.06605270504951477, 0.005711215548217297, -0.10613222420215607, 0.11727035790681839, -0.0185035839676857, 0.06760616600513458, 0.019651619717478752, -0.018753157928586006, -0.04217728599905968, 0.009991541504859924, -0.034438446164131165, -0.02490886300802231, -0.16456338763237, 0.05367719382047653, -0.005981173366308212, -0.00045770290307700634, -0.02698494866490364, 0.04346391186118126, -0.007943818345665932, 0.02336687408387661, 0.012484675273299217, 0.0017744280630722642, -0.022419022396206856, -0.005147911608219147, -0.03955521807074547, -0.0283774733543396, 0.032410286366939545, -0.027141498401761055, 0.04258180782198906, -0.017768599092960358, 0.010821540839970112, -0.03604651987552643, 0.06645961105823517, -0.04162505269050598, -0.06568145006895065, -0.007059394381940365, 0.00852696318179369, -0.01873936876654625, -0.03344143554568291, -0.06973069906234741, -0.037314776331186295, -0.050398558378219604, 0.03413362428545952, 0.012627177871763706, 0.04528260976076126, 0.012081447057425976, -0.01610938273370266, 0.007923065684735775, 0.07956189662218094, 0.09509935975074768, -0.01643260195851326, 0.013033292256295681, 0.07442381978034973, 0.05227664113044739, 0.004040298983454704, 0.05100034922361374, 0.030847446992993355, -0.0803578719496727, -0.003846513805910945, 0.0025293261278420687, 0.060029927641153336, -0.0451367124915123, 0.025009509176015854, -0.0066793556325137615, -0.0421704426407814, -0.006372018251568079, -0.04386337101459503, -0.0046134451404213905, 0.006331456825137138, -0.06612936407327652, -0.09778261929750443, 0.06412076205015182, -0.0014559971168637276, -0.029397329315543175, 0.0007677057874388993, 0.04411683976650238, -0.005542471073567867, 0.03304623067378998, -0.023135283961892128, 0.039608776569366455, -0.028939638286828995, 0.06376726180315018, 0.046281665563583374, -0.0006109443493187428, 0.04715428873896599, 0.06438270211219788, 0.04594280943274498, 0.032457903027534485, -0.018234189599752426, 0.052446696907281876, -0.042053963989019394, -0.025989217683672905, 0.07654476910829544, 0.015611177310347557, -0.050042372196912766, -0.04870899021625519, 0.016261443495750427, 0.0630497857928276, -0.08291993290185928, 0.02615795098245144, 0.04425116255879402, -0.03552402928471565, 0.029052767902612686, -0.08177127689123154, -0.015674816444516182, -0.010746700689196587, -0.03450845927000046, -0.06736233830451965, 0.006401263643056154, 0.004466228187084198, 0.09991966933012009, -0.003777074394747615, -0.07582613825798035, -0.04703592136502266, 0.03839565068483353, 0.02225242741405964, -0.08758590370416641, 0.06896178424358368, -0.02354702353477478, -0.10764473676681519, -0.00028614618349820375, 0.08380386978387833, -0.027284812182188034, 0.007696878165006638, -0.03850488364696503, 0.012366645969450474, -0.00932144932448864, -0.04777355492115021, 0.013602841645479202, 0.010754646733403206, 0.009130040183663368, -0.03965287655591965, -0.029215864837169647, -0.06739228963851929, -0.055205896496772766, 0.050198815762996674, -0.014294547028839588, -0.016214217990636826, 0.07952983677387238, -0.07282207161188126, -0.008520691655576229, 0.0792340636253357, 0.03854623809456825, -0.005464096087962389, -0.015545492060482502, 0.005090340971946716, -0.11310352385044098, 0.04877793416380882, -0.0548722967505455, 0.059990737587213516, 0.05813319608569145, -0.03707319498062134, 0.009451719932258129, -0.046845942735672, -0.012568731792271137, 0.047467514872550964, -0.06650745868682861, -0.008494085632264614, 0.07516158372163773, -0.034341808408498764, 0.0037137502804398537, -0.023649701848626137, -0.014515453949570656, 0.12140974402427673, 0.006254576146602631, 0.09096308052539825, 0.030750401318073273, -0.015461948700249195, -0.022334853187203407, -0.07115639746189117, -0.007866374216973782, 0.03413008898496628, 0.06963904947042465, -0.02710486575961113, 0.007681185379624367, 0.04827594384551048, 0.02111407183110714, -0.06850212812423706, 0.026813117787241936, 0.009534440003335476, -0.0038298978470265865, 0.017529070377349854, 0.0017238357104361057, 0.02711944468319416, -0.011232813820242882, -0.017807818949222565, 0.05273546651005745, -0.032871343195438385, 0.004111059941351414, 0.015780407935380936, 0.04536830261349678, 0.038161501288414, 0.08706967532634735, 0.004874865524470806, 0.07997721433639526, 0.0007799293380230665, -0.02963380143046379, 0.06908158212900162, -0.034790389239788055, -0.042184244841337204, 0.007978984154760838, 0.02832002192735672, 0.07458218932151794, 0.027201402932405472, 0.05677254498004913, -0.008715005591511726, -0.002016635611653328, -0.05632690712809563, -0.040839508175849915, 0.0648508295416832, -0.06865784525871277, -0.053300291299819946, 0.06842674314975739, -0.03050447441637516, -0.05756073817610741, 0.03680332750082016, -0.0479673370718956, 0.010590055957436562, -0.053908493369817734, 0.0487511046230793, 0.01553357858210802, 0.06470885127782822, 0.03746780380606651, -0.028537718579173088, -0.03885135054588318, 0.032656747847795486, 0.035500604659318924, -0.021270079538226128, -0.011807015165686607, -0.06774850934743881, 0.00879956129938364, -0.005044742953032255, -0.007196227554231882, 0.004014845937490463, 0.01385008916258812, 0.050389375537633896, -0.002832612721249461, 0.002252406207844615, 0.014142466709017754, -0.0005222386098466814, -0.03696056827902794, 0.0192597433924675, -0.00680219940841198, 0.022410348057746887, 0.012070744298398495, -0.015219775028526783, 0.008343552239239216, 0.025289999321103096, 0.014279549941420555, 0.06359826773405075, 0.009324810467660427, 0.021770667284727097, -0.032085150480270386, 0.019203495234251022, -0.048060301691293716, 0.04927968606352806, -0.015802305191755295, 0.01379503682255745, -0.006673133000731468, -0.043481264263391495, 0.030072055757045746, -0.007025888189673424, 0.024732118472456932, -0.006265049800276756, -0.024716375395655632, 0.024895932525396347, 0.013476984575390816, 0.010766317136585712, -0.014623042196035385, -0.0189175046980381, 0.017297541722655296, 0.03496735915541649, -0.023842327296733856, -0.004541370552033186, -0.10098300129175186, -0.04076562821865082, 0.009753348305821419, 0.020342916250228882, -0.029258010908961296, 0.01784917712211609, 0.05367738753557205, 0.008248108439147472, 0.00957051757723093, -0.051065411418676376, 0.022849299013614655, 0.016676219180226326, 0.011377585120499134, 0.0579916387796402, 0.01778067648410797, 0.037134356796741486, -0.004856491461396217, -0.013380329124629498, -0.0018103159964084625, 0.022330114617943764, -0.03641693294048309, 0.0752737820148468, -0.049969080835580826, 0.028415631502866745, 0.0014917145017534494, 0.011416205205023289, -0.013379632495343685, 0.02977186255156994, 0.01998216286301613, -0.012722693383693695, 0.010519877076148987, -0.0008122265571728349, -0.029828278347849846, -0.018719840794801712, 0.017783209681510925, -0.00931119080632925, 0.044617924839258194, 0.003099083434790373, 0.014877785928547382, 0.01743483357131481, 0.0294338446110487, -0.015367251820862293, -0.002697164658457041, -0.002049064729362726, 0.01758468709886074, -0.013281377032399178, 0.018521826714277267, -0.049776818603277206, 0.072034552693367, -0.031741317361593246, -0.030808057636022568, -0.016005294397473335, -0.0016022642375901341, 0.07188839465379715, 0.011215330101549625, 0.03112771362066269, -0.02667474001646042, 0.04443451017141342, -0.005506403744220734, -0.028367890045046806, 0.011288397014141083, 0.014746119268238544, 0.019263777881860733, 0.02031583897769451, -0.03337470442056656, -0.018361901864409447, 0.031190620735287666, 0.0498051643371582, 0.014454027637839317, -0.0028859975282102823, 0.04321478679776192, 0.017709290608763695, 0.02762104570865631, 0.011248652823269367, -0.041786808520555496, 0.015237421728670597, -0.01018550992012024, 0.01935531012713909, 0.040295351296663284, -0.029587777331471443, -0.013918326236307621, -0.0707922950387001, -0.010172509588301182, -0.06547565013170242, -0.01171449851244688, -0.040045659989118576, 0.08131880313158035, 0.007185462396591902, -0.030810577794909477, 0.03803867846727371, -0.006709790322929621, -0.0967102125287056, 0.01494071539491415, 0.0035814472939819098, 0.004537702538073063, 0.036164380609989166, 0.027503879740834236, -0.014192030765116215, 0.005543172359466553, 0.005388271529227495, -0.01208197046071291, -0.047013331204652786, -0.0005672764964401722, 0.0014098904794082046, 0.020054224878549576, 0.021580025553703308, 0.02779228612780571, -0.04181636869907379, 0.05456685647368431, -0.028682349249720573, -0.004427108447998762, -0.018083395436406136, 0.01981232315301895, -0.019976291805505753, 0.041102971881628036, -0.018193205818533897, 0.013116634450852871, 0.0009172514546662569, -0.010861324146389961, 0.00892840139567852, -0.0199127160012722, 0.020562876015901566, -0.005508332047611475, 0.031758684664964676, 0.0306553952395916, -0.007379040587693453, -0.0015279290964826941, 0.007299207150936127, 0.009466256015002728, -0.034582190215587616, 0.047076012939214706, 0.0011486911680549383, 0.033223338425159454, -0.013854647055268288, 0.021586798131465912, 0.0012335603823885322, -0.046095818281173706, 0.018026744946837425, -0.013552406802773476, 0.0008255242137238383, 0.01834676042199135, -0.02968970127403736, 0.0441567599773407, -0.010408551432192326, 0.027701562270522118, -0.016856815665960312, -0.029116010293364525, -0.0038723584730178118, 0.009335015900433064, -0.005356395151466131, 0.02206082083284855, 0.00978648941963911, -0.022236967459321022, 0.013761711306869984, 0.045796092599630356, -0.024114439263939857, 0.015106696635484695, 0.0317443422973156, -0.036809977144002914, 0.013197038322687149, 0.030517736449837685, 0.03749917075037956, -0.010146966204047203, 0.020801788195967674, 0.041930560022592545, 0.028051545843482018, 0.04568939656019211, -0.04634528234601021, -0.03553440794348717, 0.03182706609368324, -0.011692075990140438, 0.038880519568920135, 0.009896988980472088, -0.012870448641479015, 0.04874677583575249, -0.001984179485589266, 0.038803230971097946, 0.020839709788560867, -0.035506218671798706, 0.030463779345154762, 0.01165370736271143, 0.019426405429840088, 0.0052587417885661125, -0.012685523368418217, 0.04558524489402771, 0.01168338768184185, 0.022219689562916756, 0.04160409793257713, -0.009416493587195873, 0.015015123412013054, 0.0148891257122159, 0.03657855838537216, 0.04132351279258728, -0.029025018215179443, -0.001885283156298101, 0.020389942452311516, 0.0036127138882875443, -0.011980137787759304, 0.013902795501053333, 0.0316610224545002, 0.01229059137403965, 0.04508870467543602, -0.016333049163222313, 0.010762082412838936, 0.02254576049745083, 0.015999501571059227, -0.04015841707587242, -0.012009539641439915, -0.009632025845348835, -0.032339297235012054, 0.007420514710247517, -0.021384347230196, -0.0017816022736951709, -0.030002988874912262, 0.004194528795778751, -0.04158572107553482, 0.003101497422903776, 0.03423251211643219, -0.007607569452375174, 0.053754016757011414, -0.02950366958975792, -0.01019324827939272, -0.043044563382864, -0.022455718368291855, 0.02304687909781933, -0.03987507522106171, 0.0039749168790876865, 0.040356870740652084, -0.0029617836698889732, -0.013014924712479115, 0.016541697084903717, 0.010102523490786552, 0.04858723655343056, 0.05012403428554535, 0.030561210587620735, -0.02008608914911747, 0.01884528249502182, 0.07257066667079926, -0.013922467827796936, -0.01119005586951971, -0.00751865841448307, -0.050748370587825775, -0.02309434674680233, 0.0016271350905299187, -0.02761121280491352, 0.011764629743993282, 0.02018369361758232, -0.004169783554971218, -0.07866083830595016, 0.010424601845443249, 0.019808540120720863, 0.039359550923109055, 0.003327009966596961, 0.023554794490337372, -0.00432896101847291, 0.02116316370666027, 0.004436342511326075, -0.0264044888317585, -0.010109669528901577, -0.03302685171365738, 0.003163374261930585, -0.030772464349865913, -0.02691641077399254, 0.028339656069874763, 0.015447655692696571, 0.049718547612428665, 0.03316403552889824, -0.051682617515325546, 0.00560045288875699, 0.008996283635497093, 0.05334404483437538, -0.005985502619296312, -0.018532507121562958, 0.022021358832716942, -0.04577580466866493, -0.03477104380726814, 0.018911847844719887, 0.04716947302222252, -0.026219185441732407, 0.034941401332616806, 0.0025407003704458475, 0.01392215397208929, 0.032847847789525986, -0.030061086639761925, 0.02990870736539364, 0.021872354671359062, 0.05784142389893532, -0.010435943491756916, -0.0042021372355520725, -0.015475238673388958, -0.03442966192960739, 0.02071925438940525, -0.003527294844388962, -0.009033182635903358, 0.006437443662434816, -0.01595822349190712, -0.033231452107429504, -0.010565157979726791, 0.006870198529213667, -0.03865635022521019, 0.04639231413602829, -0.0008124397718347609, -0.03615238890051842, -0.01261549536138773, 0.028424331918358803, 0.03625192865729332, 0.0431385338306427, -0.049868132919073105, 0.055291321128606796, -0.0008517124806530774, -0.0005784793756902218, 0.0054955692030489445, 0.01647416315972805, 0.04177922010421753, 0.01706721819937229, 0.004050995223224163, 0.000952454109210521, 0.004299366846680641, 0.01437334343791008, -0.018479667603969574, -0.025625010952353477, 0.004442756995558739, -0.006974666845053434, -0.04307498037815094, -0.017990199849009514, -0.040521424263715744, -0.00040679489029571414, 0.04168221727013588, -0.0009743458358570933, -0.02254639007151127, -0.019488390535116196, 0.038787852972745895, 0.02422674000263214, 0.0024464719463139772, -0.01725347340106964, -0.03330147638916969, 0.0031323086004704237, -0.011552560143172741, -0.03803616017103195, -0.03438592702150345, -0.0015759256202727556, 0.00590400118380785, 0.03945053741335869, -0.015920866280794144, -0.03593796119093895, -0.017653129994869232, 0.04715568944811821, 0.03645133599638939, 0.014495298266410828, -0.024042725563049316, 0.0012791380286216736, -0.002563121495768428, 0.007899419404566288, -0.023822462186217308, 0.0013336855918169022, -0.013717131689190865, -0.029205666854977608, -0.05879417806863785, 0.042819444090127945, -0.011606408283114433, 0.01950964331626892, 0.0027418527752161026, 0.0466974675655365, -0.009346410632133484, -0.0032094367779791355, 0.002740439958870411, -0.007760951295495033, -0.026146816089749336, -0.03399847075343132, -0.019936779513955116, -0.009000750258564949, -0.024730153381824493, -0.020602524280548096, -0.014876684173941612, -0.03438258171081543, -0.00468257674947381, 0.033532045781612396, -0.031090116128325462, -0.020076783373951912, -0.029223598539829254, 0.058963533490896225, 0.027762653306126595, 0.015075950883328915, 0.0029002355877310038, 0.006465500220656395, -0.0343065969645977, -0.047310709953308105, 0.04011617973446846, -0.011642953380942345, 0.06429245322942734, -0.03872080519795418, -0.005883468315005302, -0.015132623724639416, 0.004297900013625622, -0.021708324551582336, 0.011510979384183884, -0.03394113481044769, -0.014091933146119118, -0.0261710062623024, 0.041438065469264984, -0.029286881908774376, 0.007378881331533194, 0.017395319417119026, 0.015600267797708511, -0.018194658681750298, -0.06924079358577728, -0.013505866751074791, -0.0019114883616566658, 0.01647106371819973, 0.0411284901201725, -0.014754501171410084, -0.03758976235985756, 0.010168076492846012, 0.026389624923467636, -0.019055556505918503, -0.026605455204844475, -0.019598860293626785, 0.043133702129125595, 0.033172689378261566, 0.01746990904211998, -0.0010099111823365092, -0.01561124250292778, 0.009984437376260757, -0.005514210090041161, 0.027560243383049965, -0.006831374019384384, -0.014195170253515244, -0.014896581880748272, 0.0014259631279855967, -0.02134501375257969, 0.028599975630640984, -0.012728098779916763, 0.025401558727025986, 0.03346573933959007, 0.044548701494932175, 0.017365435138344765, -0.00015014753444120288, 0.013196924701333046, 0.011784616857767105, -0.008638531900942326, -0.025721540674567223, -0.05088717117905617, -0.01591421850025654, 0.008280103094875813, -0.00012353609781712294, -0.08044037967920303, 0.050310831516981125, -0.004092478193342686, -0.010476558469235897, 0.012922865338623524, 0.04331159219145775, -0.008225034922361374, 0.008120188489556313, -0.011840030550956726, 0.01333661749958992, 0.056706320494413376, 0.05894261598587036, -0.009920711629092693, 0.05232696235179901, 0.0387728288769722 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
In what applications is data ethics most important? Meg: Human-centric technology that deals with people and identity (face recognition, pedestrian recognition). In NLP this would pertain more to the privacy of individuals, how individuals are talked about, and the biases models pick up with regards to descriptors used for people.
[ -0.054001614451408386, -0.02392299473285675, 0.031613610684871674, -0.03675410524010658, 0.04190156236290932, 0.07024462521076202, -0.0657515600323677, 0.01828886568546295, -0.11109059303998947, -0.03622351214289665, -0.08819681406021118, 0.07535659521818161, -0.025489848107099533, -0.008649380877614021, -0.03369700163602829, -0.022933395579457283, 0.014907250180840492, -0.02463926374912262, -0.03762740641832352, -0.004325350280851126, -0.01647171378135681, -0.05640273913741112, 0.039429161697626114, -0.059422075748443604, -0.021699629724025726, -0.00537198456004262, -0.04314342886209488, 0.004039113875478506, -0.07456792891025543, 0.09041847288608551, -0.10373988747596741, -0.012410999275743961, -0.045593295246362686, 0.033471714705228806, -0.038775574415922165, -0.004461062140762806, -0.11661964654922485, 0.06425773352384567, -0.03596620261669159, 0.042535942047834396, -0.03990206494927406, -0.049687277525663376, -0.09566652774810791, -0.001406253781169653, -0.11618131399154663, -0.03190033882856369, -0.09509415924549103, 0.014139083214104176, 0.007612420711666346, -0.014838902279734612, -0.07810389995574951, 0.0570862740278244, -0.027084916830062866, 0.0791807547211647, 0.08736201375722885, -0.02253110706806183, -0.017427494749426842, -0.06866110116243362, 0.018565930426120758, -0.03158705309033394, -0.011648942716419697, -0.020083341747522354, 0.04171506315469742, 0.01904364675283432, 0.034108858555555344, -0.02825584076344967, 0.04549359902739525, -0.08234059810638428, -0.09222292900085449, -0.004987047985196114, 0.0043317717500030994, 0.013268127106130123, -0.09125428646802902, -0.014410127885639668, -0.046433839946985245, 0.006382877007126808, 0.030985837802290916, -0.05240032821893692, 0.010428857989609241, 0.01534342672675848, -0.04639546573162079, 0.013318532146513462, 0.08913248032331467, 0.054949622601270676, 0.02739899791777134, 0.02800099365413189, 0.043587978929281235, 0.020545944571495056, -0.013518833555281162, 0.06306425482034683, 0.032351866364479065, -0.0841168761253357, -0.005604195408523083, -0.05353085696697235, 0.07932323217391968, -0.04287374019622803, -0.05829060077667236, -0.028331751003861427, -0.04865514114499092, -0.023689093068242073, -0.048169396817684174, 0.026259416714310646, 0.03815961256623268, -0.07501094043254852, -0.0700889378786087, 0.055965788662433624, -0.010064739733934402, 0.003241264261305332, -0.0054990677163004875, 0.08370945602655411, -0.04671155661344528, 0.023215191438794136, -0.004561310168355703, 0.05808217450976372, -0.014820816926658154, 0.10126683861017227, 0.005021550692617893, -0.014223477803170681, 0.02650606818497181, 0.04551035910844803, 0.03855161741375923, 0.0077473740093410015, -0.037975065410137177, 0.010434161871671677, 0.02009308896958828, -0.017861342057585716, 0.03573637455701828, -0.02487139217555523, -0.0346141941845417, -0.01613312028348446, 0.004485560115426779, 0.004568199627101421, -0.04264072701334953, 0.055697962641716, 0.02835070714354515, -0.019478866830468178, 0.04312213137745857, -0.08820513635873795, 0.021410604938864708, -0.01634170301258564, -0.008469336666166782, -0.07256890088319778, -0.01964719034731388, 0.00011437520879553631, 0.08846823871135712, -0.06660767644643784, -0.05932088941335678, -0.04235519841313362, 0.014925038442015648, 0.0018816936062648892, -0.053227074444293976, 0.11036086827516556, 0.02531760185956955, -0.09643939882516861, 0.03699202463030815, 0.09167248010635376, 0.0019379236036911607, 0.037375081330537796, 0.014107860624790192, -0.0473783016204834, -0.041046515107154846, -0.024172797799110413, -0.06545816361904144, 0.059136006981134415, 0.028415178880095482, -0.005213581491261721, -0.03272910788655281, -0.013815146870911121, -0.0005384252872318029, 0.04215826466679573, 0.00033595151035115123, -0.05580011382699013, 0.05525224283337593, -0.0592147596180439, -0.011797569692134857, 0.07796419411897659, 0.025407349690794945, 0.04570239037275314, -0.023807285353541374, 0.06114120036363602, -0.055393073707818985, 0.032997965812683105, 0.0020610184874385595, 0.052053261548280716, 0.006807133089751005, -0.013739137910306454, -0.011852623894810677, -0.000752486172132194, -0.05224810168147087, 0.010753482580184937, -0.08696196973323822, -0.029839446768164635, 0.0477648563683033, -0.03504515066742897, 0.044807493686676025, -0.004407371394336224, 0.003199661150574684, 0.10597798973321915, -0.008021927438676357, 0.051455914974212646, -0.0023451566230505705, -0.08828503638505936, -0.01969563588500023, -0.05775019899010658, 0.025712301954627037, -0.048021793365478516, 0.023600660264492035, 0.012388790026307106, 0.02372082695364952, -0.016772015020251274, 0.02411513403058052, -0.015113465487957, 0.005487552843987942, 0.011434364132583141, -0.0583580881357193, 0.0007142554386518896, -0.014357618056237698, 0.029657848179340363, -0.05219130590558052, -0.03995482623577118, 0.017505887895822525, -0.07553596794605255, 0.030760973691940308, 0.03297239542007446, 0.007802874315530062, 0.07417759299278259, 0.08396624773740768, 0.03511393070220947, 0.07483319938182831, -0.009646008722484112, 0.040795281529426575, 0.05534656345844269, 0.03831576555967331, -0.03571420907974243, -0.009612190537154675, -0.01635483279824257, 0.1254654824733734, 0.07422033697366714, 0.08698422461748123, 0.03044399991631508, -0.023218175396323204, -0.006168208085000515, -0.03009047918021679, 0.06133882328867912, -0.012600606307387352, -0.037555549293756485, 0.025719493627548218, -0.043006960302591324, -0.020629629492759705, 0.08074141293764114, -0.0652826800942421, 0.04773823171854019, 0.0109648322686553, 0.0006244227988645434, 0.05117260292172432, 0.01977364532649517, 0.030294107273221016, -0.019665099680423737, -0.0007504259701818228, 0.026437338441610336, 0.02042214944958687, -0.026881631463766098, -0.024145029485225677, -0.06892397254705429, 0.00811784714460373, -0.009966908022761345, 0.018126150593161583, 0.056782789528369904, 0.024820512160658836, 0.08495937287807465, 0.002231794409453869, -0.004636076744645834, 0.006832979153841734, -0.009013142436742783, 0.022453881800174713, -0.021437548100948334, 0.0015149941900745034, 0.000500381167512387, -0.003319384530186653, -0.005894727073609829, -0.01250714436173439, -0.0027156162541359663, 0.04209697246551514, 0.05778766795992851, 0.007460558786988258, -0.02334575168788433, -0.03664368391036987, -0.032420139759778976, -0.024791697040200233, 0.01752431131899357, -0.007937130518257618, 0.03227917104959488, -0.032703571021556854, 0.00727337971329689, -0.0013480802299454808, 0.00025855485000647604, 0.03771796077489853, -0.017136096954345703, -0.06658682227134705, 0.024480829015374184, 0.023423219099640846, 0.01915665529668331, 0.002082009334117174, -0.0013386609498411417, -0.00437407661229372, 0.013305606320500374, -0.009822173975408077, 0.02624261938035488, -0.07853914797306061, -0.0198400616645813, -0.001381140318699181, 0.022928256541490555, -0.0041655865497887135, -0.004961279220879078, 0.05706978216767311, 0.02752479538321495, 0.00039436525548808277, -0.03784242272377014, 0.02015407755970955, -0.010905919596552849, 0.02740436978638172, 0.023251526057720184, 0.0141818318516016, 0.030694028362631798, 0.009377839043736458, -0.024221450090408325, 0.02038571424782276, 0.004692543298006058, -0.00502912700176239, 0.049184154719114304, -0.010714363306760788, -0.01851421222090721, -0.016110312193632126, -0.015646709129214287, 0.01335841789841652, 0.0034266968723386526, -0.0044046323746442795, -0.022687338292598724, 0.006107719149440527, 0.0139650022611022, -0.022064153105020523, -0.001478091930039227, 0.022669553756713867, -0.0060210926458239555, 0.045786239206790924, 0.0388779416680336, 0.024391518905758858, 0.008172154426574707, 0.029515370726585388, -0.009722811169922352, -0.00015967075887601823, 0.016249412670731544, 0.028864480555057526, -0.032590869814157486, -0.019708288833498955, -0.06940684467554092, 0.010508159175515175, -0.06757918000221252, -0.03836634010076523, -0.030383678153157234, -0.035528961569070816, 0.06344146281480789, -0.005913244094699621, -0.012083311565220356, -0.02287227101624012, 0.005461276508867741, -0.04185808449983597, -0.008885703980922699, 0.01911182887852192, 0.014582806266844273, 0.022354140877723694, -0.04809590056538582, -0.04168756306171417, -0.01662156917154789, 0.004846656695008278, 0.018950268626213074, 0.012311355210840702, 0.008381076157093048, 0.025691067799925804, 0.018167467787861824, -0.0025884960778057575, 0.012760805897414684, -0.027634624391794205, 0.03234739229083061, -0.0015628037508577108, 0.01066969707608223, 0.015092791058123112, -0.0490267239511013, -0.029399115592241287, -0.0388883575797081, -0.018588164821267128, -0.059971362352371216, -0.009780327789485455, -0.07213291525840759, 0.048689138144254684, -0.0071808272041380405, -0.02255117893218994, 0.02248048596084118, 0.005353781394660473, -0.0890025720000267, 0.004576357081532478, -0.00326165440492332, 0.008114135824143887, 0.0262791458517313, 0.014556905254721642, -0.015101045370101929, -0.0047447714023292065, -0.01459566131234169, -0.01312256045639515, -0.03182012587785721, -0.03121844120323658, -0.002375205745920539, 0.0223265178501606, 0.008480364456772804, 0.04039643332362175, -0.02507813461124897, 0.04750975966453552, 0.005490906536579132, 0.0018130397656932473, 0.0349530391395092, -0.01387642603367567, -0.034633055329322815, 0.028697844594717026, -0.020212000235915184, -0.03158339485526085, 0.018824119120836258, 0.021247001364827156, 0.009049463085830212, -0.005160172935575247, 0.03514071926474571, -0.009838756173849106, 0.009679252281785011, 0.034007541835308075, 0.008599230088293552, -0.004632576368749142, -0.011293460614979267, -0.004658972844481468, -0.02279658615589142, 0.046008482575416565, -0.008123999461531639, 0.0032817579340189695, 0.03387784957885742, 0.050575029104948044, 0.014840827323496342, -0.018216539174318314, 0.05078223720192909, -0.00004623588756658137, 0.006137405522167683, 0.027493055909872055, -0.01281382329761982, 0.033327050507068634, -0.011167800985276699, 0.0018939021974802017, -0.030974825844168663, -0.05582644045352936, 0.042242877185344696, -0.02675599791109562, 0.028207890689373016, 0.03990916907787323, -0.017498353496193886, 0.011710296384990215, 0.021261556074023247, 0.06120068207383156, -0.03589068725705147, 0.043786998838186264, 0.04135292395949364, -0.0028934795409440994, 0.056567512452602386, 0.010251883417367935, 0.019736282527446747, -0.002491546794772148, 0.03091617114841938, 0.010729287751019001, 0.014217503368854523, 0.017227113246917725, -0.022606782615184784, -0.025498049333691597, 0.06397592276334763, -0.031024126335978508, 0.022112568840384483, -0.008242754265666008, 0.03652236983180046, -0.01598324067890644, -0.012157336808741093, 0.02330191060900688, 0.03479882702231407, -0.04921797662973404, 0.016143230721354485, 0.015527760609984398, -0.001993625657632947, 0.02094493992626667, 0.037891555577516556, 0.07716678082942963, 0.043138906359672546, 0.05126503109931946, 0.026329467073082924, -0.017071940004825592, -0.0012914715334773064, 0.001766600296832621, -0.010897560976445675, -0.004988375585526228, -0.033678557723760605, 0.04951135441660881, 0.02217697724699974, -0.002318883780390024, 0.017800763249397278, 0.025753701105713844, 0.020295776426792145, 0.0002608201466500759, 0.04837238788604736, 0.025043992325663567, 0.017699768766760826, -0.007087259087711573, -0.026439150795340538, 0.000027179055905435234, -0.035969316959381104, -0.016389235854148865, 0.008917025290429592, -0.02726942114531994, -0.01615770347416401, 0.02134927734732628, -0.011401418596506119, -0.032234929502010345, -0.027171887457370758, -0.004658328834921122, 0.03739738091826439, 0.006459787953644991, 0.07425325363874435, -0.025510694831609726, -0.028954332694411278, -0.0060349199920892715, -0.013265613466501236, 0.06317050009965897, -0.031170526519417763, -0.016577767208218575, 0.01828778348863125, 0.04101678356528282, 0.05040780082345009, -0.0046743410639464855, 0.01664871908724308, 0.048223525285720825, 0.0014253035187721252, -0.004229684825986624, -0.005437538493424654, -0.0027610433753579855, 0.06700935959815979, 0.03111124224960804, -0.0039861612021923065, 0.020219918340444565, -0.0032777918968349695, -0.04455990716814995, -0.021285947412252426, -0.03357316553592682, 0.006620309315621853, 0.017193494364619255, -0.009045527316629887, -0.04049770534038544, 0.025148646906018257, -0.01255872193723917, -0.05151700973510742, 0.005844981875270605, 0.03944901004433632, -0.012398299761116505, 0.010336186736822128, 0.007608131505548954, -0.010758927091956139, -0.010113930329680443, -0.0332297645509243, 0.013929378241300583, -0.018912488594651222, -0.0313919372856617, 0.014884413219988346, 0.00015078496653586626, 0.03815344721078873, 0.046236760914325714, -0.0387338362634182, 0.004589207004755735, 0.006261029746383429, 0.034517232328653336, 0.02502566948533058, 0.05436677485704422, -0.01875344105064869, -0.01751648262143135, -0.03901277855038643, -0.00041893660090863705, 0.01575419306755066, 0.003053298918530345, 0.02827771008014679, -0.010566155426204205, 0.008883167989552021, 0.06036628037691116, 0.01782291755080223, -0.034110937267541885, 0.0037439996376633644, 0.05957208201289177, -0.04755255952477455, 0.003735149512067437, -0.014407663606107235, -0.06450479477643967, 0.0056936475448310375, -0.006977814249694347, -0.015612859278917313, 0.025455806404352188, 0.025522686541080475, 0.01766510121524334, -0.006910902447998524, -0.012565973214805126, -0.06044429913163185, 0.03497350960969925, 0.011206889525055885, 0.0032721913885325193, 0.008682255633175373, 0.04191642627120018, 0.04145301878452301, 0.043211035430431366, -0.050600867718458176, 0.03908408433198929, 0.00965291541069746, -0.0016480075428262353, 0.0017660446465015411, 0.057379238307476044, 0.0667293593287468, 0.013163769617676735, -0.01605721190571785, -0.008566852658987045, -0.009942948818206787, -0.00010329152428312227, -0.023702336475253105, -0.01118015218526125, -0.007751230616122484, 0.0013072685105726123, -0.010730001144111156, -0.0019481286872178316, 0.014353273436427116, 0.03265463188290596, 0.04110253229737282, 0.018717627972364426, 0.0006234060856513679, 0.010554327629506588, 0.05821343511343002, 0.046018391847610474, 0.041133951395750046, 0.03677748516201973, -0.024886630475521088, 0.010700037702918053, 0.03378935903310776, -0.042458608746528625, -0.06651952862739563, -0.02682344801723957, 0.007187630515545607, -0.030541276559233665, 0.009590658359229565, 0.024950526654720306, -0.00573878875002265, 0.02408471517264843, 0.0299790408462286, 0.02172630839049816, -0.01541922241449356, -0.0007000799523666501, -0.005689132958650589, 0.0036859135143458843, -0.010616305284202099, -0.02200363576412201, 0.0004434307338669896, 0.014783969148993492, -0.04482297971844673, 0.0011328674154356122, -0.00894429162144661, 0.025119032710790634, 0.009386599995195866, 0.07957231998443604, 0.0173866655677557, 0.006858910899609327, -0.007768487092107534, 0.01636013574898243, -0.022514278069138527, -0.01752612739801407, 0.010341388173401356, -0.02554251439869404, 0.008498459123075008, -0.03965604677796364, -0.02159488946199417, -0.030091961845755577, -0.01233136560767889, 0.002306013135239482, 0.0017466788413003087, -0.05436204373836517, -0.030891653150320053, -0.001866132253780961, 0.024786025285720825, 0.03602539375424385, -0.0013964383397251368, -0.00226282374933362, -0.00040439641452394426, -0.028077898547053337, 0.02613433077931404, -0.0004324023611843586, 0.018949177116155624, -0.007236544508486986, -0.03532503917813301, -0.02674907073378563, 0.028060708194971085, -0.0072813453152775764, 0.01816067472100258, -0.061232004314661026, -0.001966963754966855, -0.02333839423954487, 0.00955606997013092, -0.048838526010513306, 0.016273491084575653, 0.035566072911024094, 0.028627147898077965, -0.00750192953273654, -0.02294926531612873, 0.016147593036293983, -0.00806641485542059, 0.022381611168384552, 0.002903775544837117, 0.025572312995791435, 0.014426371082663536, 0.009842277504503727, -0.014600986614823341, 0.010995101183652878, 0.00654890900477767, -0.05901084467768669, 0.02421206422150135, 0.018749676644802094, 0.00016197397781070322, -0.0012741184327751398, -0.004304586444050074, -0.021010231226682663, 0.013957484625279903, -0.010388589464128017, -0.01982778310775757, 0.013786690309643745, -0.052182573825120926, -0.005906128790229559, -0.00880306214094162, 0.04983659088611603, 0.00766190979629755, -0.01220409944653511, 0.02364526130259037, 0.03612184897065163, 0.016605960205197334, -0.024649538099765778, 0.015467789955437183, 0.01004074513912201, -0.035710882395505905, -0.027908748015761375, -0.03797430917620659, -0.008552678860723972, -0.008327579125761986, -0.028773801401257515, -0.07881295680999756, 0.009920727461576462, -0.03551112860441208, -0.006556149106472731, -0.011658377945423126, 0.008326459676027298, 0.0062078554183244705, 0.018098097294569016, -0.027769381180405617, -0.005224029067903757, 0.058901604264974594, 0.06500821560621262, 0.02402018941938877, 0.01841273345053196, -0.009019636549055576 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Rapid Fire Questions:
[ 0.05670177564024925, 0.018740424886345863, 0.12389564514160156, 0.03794331103563309, 0.11903563141822815, 0.042850837111473083, 0.03891758993268013, 0.03767487779259682, -0.019671112298965454, -0.06277691572904587, -0.04427403211593628, 0.05343194678425789, -0.02001100778579712, -0.028710873797535896, 0.028082678094506264, 0.03634428232908249, 0.044170595705509186, -0.051906585693359375, -0.009519768878817558, 0.0034599744249135256, -0.013719777576625347, -0.019915597513318062, 0.04999714344739914, 0.019895074889063835, 0.01736580766737461, -0.015567639842629433, 0.010836915113031864, -0.06615254282951355, -0.03642694279551506, 0.048430636525154114, -0.041991230100393295, -0.022434517741203308, 0.07819186896085739, 0.011781211942434311, -0.004129484295845032, -0.009351999498903751, -0.05670467019081116, 0.02766057848930359, 0.016246773302555084, -0.051929496228694916, 0.0020808496046811342, -0.08594384044408798, 0.00201680907048285, 0.06139332056045532, -0.02917778119444847, 0.014410962350666523, -0.28790533542633057, 0.07292839884757996, -0.050842806696891785, -0.02297656424343586, -0.04415763169527054, 0.030838090926408768, 0.008546539582312107, -0.011235726997256279, 0.024981997907161713, 0.020875781774520874, 0.05157337710261345, -0.06262589991092682, -0.0264800526201725, -0.04774409160017967, 0.0768047347664833, -0.018242686986923218, -0.0031645898707211018, -0.010550151579082012, 0.03503214940428734, 0.039314039051532745, 0.003061193274334073, 0.06246117874979973, -0.05514654889702797, -0.010503819212317467, 0.024439798668026924, -0.049494609236717224, -0.04110356792807579, 0.014841530472040176, 0.07538669556379318, -0.02541247569024563, -0.04971477389335632, 0.05665772780776024, 0.017465690150856972, 0.05786438658833504, -0.010984701104462147, -0.008508124388754368, 0.08109679073095322, 0.04855848476290703, 0.001643301104195416, -0.0590258464217186, 0.05476207286119461, -0.013346424326300621, 0.0031408690847456455, 0.0024118146393448114, -0.03253595903515816, -0.04966319724917412, 0.03165028616786003, 0.03917307406663895, 0.011039983481168747, -0.03932313993573189, 0.050817377865314484, -0.011564499698579311, 0.04205640032887459, 0.008335215039551258, -0.0285734161734581, -0.01645049825310707, 0.0411498099565506, -0.02013346739113331, -0.06359031796455383, -0.01629970408976078, -0.017694132402539253, -0.07711341232061386, -0.07065802812576294, 0.048783473670482635, -0.042527563869953156, 0.035884611308574677, 0.04134124517440796, -0.009308531880378723, -0.0555875226855278, 0.031054602935910225, 0.027984732761979103, 0.014166059903800488, 0.002132514026015997, 0.0389891117811203, 0.005558716133236885, 0.11593034118413925, 0.06281021237373352, 0.01854502409696579, 0.025368740782141685, -0.018032588064670563, 0.055345483124256134, 0.03664854168891907, -0.09994620829820633, -0.042772818356752396, 0.014618516899645329, -0.013688079081475735, 0.00351720885373652, 0.008827809244394302, -0.06754565238952637, -0.04467817023396492, -0.023793797940015793, 0.01287856325507164, 0.019883830100297928, 0.005589520558714867, 0.02479926124215126, 0.02793944627046585, 0.0006766350707039237, 0.05760044977068901, 0.039063312113285065, -0.051185980439186096, -0.04000484198331833, 0.003455997910350561, -0.012238403782248497, 0.019531551748514175, 0.01533004455268383, 0.07189857214689255, -0.02665598690509796, -0.07058904320001602, 0.004324288107454777, 0.07108438014984131, 0.03116387501358986, 0.0065374732948839664, -0.08884195238351822, -0.028049925342202187, 0.04603002220392227, -0.0036327880807220936, -0.009078984148800373, -0.001129915821366012, 0.032834891229867935, -0.006167917978018522, 0.02901814505457878, -0.0021426312159746885, -0.03887166827917099, -0.09500962495803833, -0.028940053656697273, 0.005539040546864271, 0.06143173575401306, -0.046658363193273544, -0.07355652749538422, 0.04236486926674843, 0.04860712215304375, 0.03573860228061676, 0.033699147403240204, 0.008287864737212658, -0.037509117275476456, 0.01869378052651882, -0.018354471772909164, 0.0455080047249794, 0.004171523731201887, -0.05468740686774254, 0.08229723572731018, -0.025752127170562744, 0.003030364168807864, 0.01529182493686676, -0.13933990895748138, -0.02392103150486946, 0.1335304081439972, 0.01642003282904625, 0.030508069321513176, -0.12334919720888138, -0.018355196341872215, 0.127126544713974, 0.05081914737820625, 0.044399335980415344, 0.041878294199705124, 0.05168977379798889, 0.11133383214473724, -0.04166485741734505, -0.05344805866479874, 0.03761059045791626, 0.036526378244161606, -0.0025646097492426634, 0.005998535547405481, 0.008229074999690056, -0.00035154735087417066, -0.07840876281261444, 0.05077056586742401, -0.07167884707450867, -0.029412608593702316, -0.004168621264398098, -0.011922836303710938, -0.030188748612999916, 0.04339505732059479, -0.05499549210071564, 0.08402497321367264, -0.0225846990942955, -0.03469386696815491, 0.026628786697983742, -0.04370211437344551, 0.08718793094158173, 0.06602548807859421, 0.03432100638747215, 0.062230873852968216, -0.09324786812067032, -0.0346793495118618, -0.008522153832018375, -0.012179640121757984, 0.06391478329896927, 0.03888769820332527, 0.03894707188010216, -0.008795766159892082, -0.05164177343249321, 0.050035592168569565, -0.04559021815657616, 0.0019883220084011555, 0.030375633388757706, 0.0014605364995077252, 0.06704989075660706, -0.03842361643910408, -0.029984116554260254, 0.034450940787792206, 0.01440085843205452, -0.037400368601083755, 0.0005595199181698263, -0.07054159790277481, 0.07463986426591873, 0.024648787453770638, -0.03154781088232994, 0.09769909083843231, -0.05235535651445389, -0.0004628630413208157, -0.006738524883985519, -0.004386234562844038, -0.008753503672778606, 0.012551386840641499, -0.01556446310132742, -0.015014024451375008, -0.05074751377105713, -0.007748010568320751, -0.029139932245016098, 0.012067217379808426, 0.00952855870127678, -0.002383739687502384, 0.04448026418685913, -0.02396949753165245, -0.019670752808451653, 0.052528344094753265, -0.0012089002411812544, -0.02902316115796566, 0.0074163395911455154, 0.04405947029590607, 0.0031845932826399803, -0.0013776515843346715, -0.022968150675296783, -0.003144221380352974, -0.029189633205533028, 0.0006083627231419086, 0.021490883082151413, 0.05625542998313904, -0.027083080261945724, 0.017911510542035103, 0.0009319004020653665, -0.021318793296813965, 0.02623629942536354, -0.0013709685299545527, 0.031146442517638206, 0.0009805774316191673, -0.051016923040151596, 0.014996946789324284, -0.037069231271743774, -0.02294369600713253, 0.013195423409342766, -0.039554204791784286, 0.01896575465798378, 0.027321062982082367, 0.0028092421125620604, -0.03186936303973198, 0.02311032824218273, -0.025916462764143944, 0.03982069715857506, -0.010053906589746475, 0.045786548405885696, -0.1587102860212326, -0.029015332460403442, -0.0025813463144004345, 0.001349934609606862, -0.0028363154269754887, -0.007719843182712793, 0.04054997116327286, -0.034315966069698334, -0.03101525828242302, -0.012441973201930523, 0.026797348633408546, 0.016757169738411903, 0.01779427006840706, -0.014340706169605255, -0.01035490445792675, -0.0028652402106672525, -0.008949321694672108, 0.0008868969744071364, -0.014593093656003475, -0.014405797235667706, 0.004779701121151447, 0.06687697023153305, -0.005592010915279388, -0.010692344047129154, -0.01498823519796133, 0.06966301053762436, 0.012070928700268269, 0.039703886955976486, 0.023707984015345573, -0.022895505651831627, -0.009785966016352177, 0.05130985006690025, -0.021643947809934616, 0.03333970159292221, -0.010010436177253723, -0.01526365801692009, 0.007437631953507662, 0.007385937497019768, -0.012259932234883308, 0.05983448401093483, 0.017818160355091095, -0.0010446652304381132, 0.028516113758087158, 0.024529075250029564, -0.028739145025610924, 0.0014197384007275105, 0.02939126454293728, 0.004220746923238039, 0.0448148176074028, -0.054829929023981094, -0.051299624145030975, 0.0058923205360770226, 0.003746592905372381, 0.04537248983979225, -0.01916385628283024, -0.004919087514281273, -0.03193376585841179, -0.0033257531467825174, 0.05558774992823601, -0.032712422311306, -0.007846343331038952, 0.016785237938165665, 0.001982741057872772, -0.007704081479460001, -0.02918676659464836, 0.03433796390891075, -0.05425480008125305, 0.015007022768259048, -0.027300752699375153, 0.06352069228887558, 0.02225566655397415, 0.008641579188406467, -0.0015883943997323513, 0.011685715988278389, 0.020112456753849983, 0.007699462119489908, -0.0286821611225605, 0.0023217936977744102, 0.044657159596681595, -0.0053700958378612995, 0.017748946323990822, -0.019181588664650917, -0.02270246297121048, -0.00902074296027422, 0.0089746518060565, 0.03384186327457428, -0.004172508139163256, 0.004193600732833147, 0.012464186176657677, 0.03330419957637787, 0.019811738282442093, -0.0054857730865478516, -0.0029964724089950323, 0.0005353990709409118, -0.0063096205703914165, 0.01285015232861042, 0.06469865888357162, -0.00895211286842823, 0.02581877075135708, 0.00024508824571967125, 0.010898332111537457, -0.025184644386172295, -0.01737544871866703, 0.011874889023602009, -0.01113308034837246, 0.028010908514261246, -0.025385770946741104, -0.020336510613560677, -0.019568942487239838, 0.020868899300694466, -0.004995095077902079, -0.03405788913369179, -0.0038232735823839903, -0.03630044683814049, -0.003240165999159217, -0.001137263374403119, -0.011345448903739452, -0.026979899033904076, -0.036929596215486526, 0.01446307823061943, -0.041239816695451736, 0.03115396946668625, 0.009911971166729927, -0.04083840921521187, -0.009717192500829697, -0.006378697697073221, 0.006656337063759565, -0.0018587958766147494, 0.013810970820486546, -0.012267562560737133, -0.036201801151037216, -0.02538333460688591, 0.04780642315745354, -0.014081127010285854, 0.04390493407845497, -0.008336303755640984, -0.012828228995203972, 0.04844629019498825, -0.0020797119941562414, -0.07424330711364746, 0.020481549203395844, 0.01922420971095562, 0.012156407348811626, -0.023130465298891068, 0.014802594669163227, -0.024820366874337196, 0.005409425590187311, -0.007886337116360664, -0.024050751700997353, 0.02640625834465027, 0.028948336839675903, -0.026343179866671562, -0.031005673110485077, -0.02127416990697384, 0.015042971819639206, 0.0027579960878938437, 0.01321378629654646, -0.04435429722070694, -0.006556237116456032, 0.036688171327114105, -0.015439343638718128, -0.031156279146671295, -0.06377721577882767, 0.031031975522637367, -0.0298351738601923, 0.0024341579992324114, 0.0032718710135668516, 0.018776623532176018, -0.012406745925545692, 0.005420854315161705, -0.02513158693909645, -0.01722397282719612, 0.026176737621426582, -0.022747362032532692, 0.026376377791166306, 0.03857209533452988, 0.026738032698631287, 0.009041598998010159, 0.0013125573750585318, 0.009161793626844883, -0.007967567071318626, -0.016692588105797768, 0.030634485185146332, 0.020678190514445305, -0.027437150478363037, -0.004765558056533337, 0.05265532806515694, 0.011960476636886597, 0.011341225355863571, 0.07057859748601913, -0.04536842927336693, -0.018023371696472168, -0.004836664535105228, -0.03991946578025818, 0.010144072584807873, 0.012482088059186935, -0.009187472052872181, -0.005154850427061319, -0.0002612620883155614, -0.003670313861221075, 0.0391729474067688, 0.03173409029841423, 0.007061431184411049, -0.027148110792040825, 0.006312133278697729, 0.03902077302336693, 0.004153771325945854, -0.008406826294958591, -0.02091062255203724, -0.01844784989953041, -0.00988416001200676, 0.014601829461753368, -0.03145431727170944, -0.010038484819233418, -0.018786203116178513, -0.054445698857307434, -0.044547997415065765, 0.016720149666070938, 0.034768298268318176, 0.01676216721534729, 0.002472434425726533, 0.004731258377432823, -0.01921946555376053, 0.04751162603497505, 0.06684358417987823, 0.0038778840098530054, -0.011328432708978653, 0.010808681137859821, -0.0209678765386343, 0.038084156811237335, 0.026420151814818382, 0.020159082487225533, -0.008515034802258015, 0.02146826684474945, 0.023792792111635208, 0.008692565374076366, -0.06261289119720459, 0.006617734208703041, -0.006942878011614084, -0.006193036679178476, -0.01773971877992153, -0.000950682966504246, 0.004939008038491011, -0.029338711872696877, -0.039719946682453156, 0.04036266729235649, 0.051854170858860016, -0.028870321810245514, 0.01870269514620304, -0.005491519346833229, 0.03288920596241951, -0.013286027126014233, 0.004154975526034832, -0.016229087486863136, -0.004453530069440603, 0.000758129870519042, 0.003022270044311881, -0.011668476276099682, -0.004016973543912172, -0.029127268120646477, -0.0014319567708298564, -0.01057895552366972, 0.03029845841228962, 0.024212386459112167, -0.03783176466822624, 0.015349818393588066, 0.012169813737273216, -0.011692461557686329, -0.005839947611093521, 0.013084439560770988, -0.018949095159769058, -0.014320041984319687, 0.047366105020046234, -0.002906164852902293, 0.018531201407313347, -0.018229370936751366, 0.03573055565357208, 0.03811964392662048, 0.010991589166224003, 0.0016251945635303855, 0.004691161215305328, 0.04293442144989967, 0.019818777218461037, -0.008536580950021744, -0.009350009262561798, 0.00414612190797925, 0.01199101097881794, 0.015536063350737095, 0.021426482126116753, 0.02374621480703354, 0.013685479760169983, -0.0010907741962000728, -0.012144392356276512, 0.023815490305423737, -0.037192072719335556, 0.022405171766877174, 0.033835843205451965, -0.016716059297323227, 0.035559140145778656, -0.04082035273313522, 0.030987441539764404, 0.012855286709964275, 0.006157643627375364, 0.00895655620843172, -0.009736604988574982, 0.0046771434135735035, 0.023077109828591347, 0.015078567899763584, -0.0017530375625938177, -0.05547919124364853, 0.0181127917021513, 0.056785766035318375, -0.03952762484550476, -0.008470460772514343, -0.0007701400318183005, -0.054782282561063766, 0.030494531616568565, -0.018127599731087685, -0.019669365137815475, -0.0048337094485759735, 0.038678109645843506, -0.004693436436355114, -0.020440462976694107, -0.006341111846268177, -0.030346311628818512, -0.07558940351009369, 0.042060479521751404, 0.0023614780511707067, -0.022976813837885857, -0.016979070380330086, 0.01670457236468792, 0.036051999777555466, -0.014459531754255295, -0.005229644011706114, 0.003006584709510207, 0.04550263285636902, 0.012016724795103073, 0.036297667771577835, -0.028469739481806755, -0.017087677493691444, -0.02246071584522724, -0.0007943699019961059, 0.0236516036093235, -0.005170437972992659, -0.012994703836739063, 0.003279441501945257, 0.0008674966520629823, 0.00003110966645181179, -0.0077687641605734825, 0.05108622461557388, 0.011424079537391663, 0.031853944063186646, -0.0148544916883111, 0.046134449541568756, -0.016749182716012, -0.0003376673848833889, -0.0035818000324070454, 0.013062749058008194, -0.019189009442925453, -0.005250893533229828, 0.005793821066617966, 0.01783355139195919, 0.010704291984438896, -0.028984645381569862, -0.01929585449397564, 0.014477051794528961, -0.009740104898810387, 0.02233392931520939, 0.018450796604156494, 0.0308968648314476, -0.01941085420548916, -0.04326339066028595, 0.015062568709254265, -0.015648864209651947, -0.033805955201387405, -0.007204052526503801, -0.03970964252948761, -0.0172125231474638, -0.009164219722151756, -0.0021100486628711224, 0.048642516136169434, 0.00257475976832211, 0.00962525699287653, 0.007411440368741751, 0.025099413469433784, 0.008638751693069935, -0.012751111760735512, -0.0015582380583509803, 0.004962793551385403, 0.026462899520993233, -0.01713664084672928, -0.030526863411068916, -0.02742975763976574, -0.042282234877347946, 0.0025939177721738815, -0.008388279937207699, -0.05012648180127144, -0.03228394314646721, 0.020082134753465652, 0.020205406472086906, -0.04938684031367302, 0.011786086484789848, 0.02244974672794342, -0.010784528218209743, 0.027343234047293663, -0.009135971777141094, 0.004890955984592438, -0.007260543294250965, -0.01760568842291832, -0.007299824617803097, 0.022853003814816475, 0.029504410922527313, -0.013891179114580154, -0.03596237301826477, 0.048504505306482315, -0.02629229798913002, -0.04253526031970978, -0.01188748236745596, 0.04277481511235237, -0.00013693187793251127, -0.014658424071967602, -0.009867092594504356, -0.0022185142152011395, 0.007943285629153252, 0.008164674043655396, 0.03907093033194542, -0.014909658581018448, 0.02075362578034401, 0.0013504920061677694, -0.0460844486951828, 0.005935530178248882, 0.012925988994538784, 0.02126237377524376, 0.040323421359062195, 0.02643650211393833, -0.03335048258304596, -0.0032417825423181057, -0.04914091154932976, 0.006076658144593239, 0.0054637594148516655, -0.03206633776426315, 0.007866773754358292, 0.019764848053455353, -0.014689972624182701, 0.00014196768461260945, -0.019472192972898483, 0.04114140570163727, 0.005611555650830269, -0.014672755263745785, -0.04356222227215767, -0.01802019774913788, 0.01691398024559021, 0.011334392242133617, 0.03869129344820976, -0.004680512472987175, 0.06654127687215805, 0.05408325046300888, -0.0062933266162872314, -0.003613219829276204, 0.035495202988386154 ]
Machine Learning Experts - Meg Mitchell Interview
britneymuller
March 23, 2022
meg-mitchell-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/meg-mitchell-interview
Fav ML papers? Meg: Most recently I’ve really loved what Abeba Birhane has been doing on values that are encoded in machine learning. My own team at Google had been working on data genealogies, bringing critical analysis on how ML data is handled which they have a few papers on - for example, Data and its (dis)contents: A survey of dataset development and use in machine learning research. Really love that work and might be biased because it included my team and direct reports, I’m very proud of them but it really is fundamentally good work. Earlier papers that I’m interested in are more reflective of what I was doing at that time. Really love the work of Herbert Clark who was a psycholinguistics/communications person and he did a lot of work that is easily ported to computational models about how humans communicate. Really love his work and cite him a lot throughout my thesis.
[ 0.027716001495718956, 0.014024902135133743, -0.010179813019931316, -0.02117585577070713, 0.044842496514320374, 0.045066721737384796, -0.039257995784282684, 0.026912793517112732, -0.03928830474615097, -0.03491538390517235, -0.046449560672044754, 0.030216792598366737, 0.04317843168973923, 0.02708430215716362, 0.019325269386172295, -0.040410365909338, -0.00577422883361578, 0.008659441955387592, 0.04739682748913765, -0.024267958477139473, -0.01851210556924343, -0.012145386077463627, 0.029978984966874123, 0.004998160991817713, 0.003336190478876233, -0.018398482352495193, 0.015187100507318974, -0.03252477943897247, -0.09608981758356094, 0.01933049038052559, -0.10857897251844406, 0.022183172404766083, -0.0072307465597987175, 0.041926801204681396, -0.10132243484258652, -0.014475498348474503, -0.10527550429105759, 0.05945246294140816, -0.005162595305591822, 0.011173272505402565, 0.038326017558574677, -0.032807860523462296, -0.09613750874996185, 0.03894456475973129, -0.06819528341293335, -0.03213927522301674, -0.1792057752609253, 0.0459347739815712, -0.049503590911626816, -0.022357188165187836, -0.07812430709600449, 0.10072667896747589, -0.018377015367150307, 0.028148461133241653, -0.014306042343378067, 0.05572076141834259, 0.011617532931268215, -0.07932545244693756, -0.00779811292886734, 0.0022495926823467016, 0.0326865129172802, 0.02104703150689602, 0.04855004698038101, 0.04075438156723976, 0.05226970463991165, 0.02013283595442772, 0.009602831676602364, 0.01592150889337063, -0.08562900125980377, 0.06657732278108597, 0.012767535634338856, -0.009732965379953384, -0.02982671931385994, -0.048804156482219696, -0.004268130287528038, 0.005417832173407078, 0.05865606665611267, 0.005069669336080551, 0.007784054148942232, -0.0011222853790968657, -0.0351102240383625, -0.02476455643773079, 0.08762875199317932, 0.0928887128829956, 0.0169353224337101, 0.03294156491756439, 0.08659645169973373, -0.014843707904219627, -0.008530751802027225, 0.04606110602617264, -0.01071865949779749, -0.10884319245815277, 0.003171713324263692, 0.049581289291381836, 0.11600769311189651, -0.07153618335723877, 0.021369842812418938, 0.01990268938243389, -0.07668088376522064, -0.04992349445819855, -0.03177335485816002, 0.020067989826202393, 0.08826597779989243, -0.06761577725410461, -0.07757309079170227, 0.04350928217172623, -0.0031078543979674578, -0.0671239122748375, -0.047281745821237564, -0.00424431636929512, 0.003865256439894438, 0.005455063655972481, 0.012654611840844154, 0.017357945442199707, -0.01963484100997448, 0.03682718425989151, 0.021380310878157616, -0.013256313279271126, -0.054753925651311874, 0.03936230018734932, -0.01914529874920845, 0.025922885164618492, 0.005623095203191042, 0.009858082979917526, 0.013636449351906776, 0.04727274551987648, 0.0033309641294181347, -0.010142485611140728, 0.0015575980069115758, -0.008242256008088589, 0.02821083553135395, 0.009649320505559444, -0.005094046238809824, -0.03565863147377968, 0.036989472806453705, -0.03905797749757767, 0.012373533099889755, -0.03019162081182003, -0.012652570381760597, 0.00371720758266747, -0.06456083059310913, 0.017898213118314743, -0.04206950217485428, 0.07291246950626373, 0.10845193266868591, -0.0446166954934597, -0.04647090658545494, 0.0013344320468604565, -0.012009925208985806, -0.017149657011032104, -0.012805045582354069, 0.02028641663491726, -0.014281653799116611, -0.09902966022491455, -0.0148123474791646, 0.08183379471302032, -0.023417603224515915, 0.005919516086578369, -0.00014888914301991463, -0.00017323819338344038, -0.02075403369963169, -0.002368962625041604, -0.0014355344465002418, 0.01732993870973587, 0.004960616584867239, -0.01635466143488884, 0.009722990915179253, 0.032049406319856644, -0.07549536973237991, 0.06150771304965019, 0.025876108556985855, -0.06809552013874054, 0.09107837826013565, 0.008583744056522846, -0.014469381421804428, 0.07359703630208969, 0.06303369253873825, 0.04086083546280861, 0.028087515383958817, -0.008059119805693626, -0.05593166500329971, -0.0128195034340024, -0.014998252503573895, 0.03597944602370262, 0.027013197541236877, 0.03019111044704914, 0.021219413727521896, -0.03426601365208626, 0.024810386821627617, -0.00989117193967104, -0.05277952551841736, -0.04081737622618675, 0.09736163169145584, 0.013743377290666103, 0.02954213321208954, -0.009156404063105583, 0.011697269044816494, 0.10794249922037125, 0.021752335131168365, 0.062495339661836624, 0.09515220671892166, -0.03290732949972153, -0.020102711394429207, -0.0598757304251194, 0.05277711898088455, -0.06541117280721664, -0.003181152744218707, -0.005366775207221508, 0.010951886884868145, 0.03921249508857727, 0.010699261911213398, -0.05671018734574318, 0.006779690273106098, -0.040859390050172806, -0.013228979893028736, -0.03290529176592827, 0.027731630951166153, 0.03713921457529068, 0.0274654608219862, -0.06026202067732811, 0.20265178382396698, -0.03676166385412216, 0.016748279333114624, 0.06584737449884415, 0.017346492037177086, 0.05664891377091408, 0.11503718048334122, 0.06440114974975586, 0.13805189728736877, -0.029636934399604797, -0.012473986484110355, 0.010276427492499352, 0.030892368406057358, -0.011024531908333302, 0.012693261727690697, -0.0013071901630610228, 0.01038647536188364, 0.024273470044136047, -0.03424418345093727, 0.010781482793390751, 0.002848903415724635, -0.05635754391551018, 0.00136653333902359, 0.05447249487042427, -0.04327006638050079, -0.0423724465072155, 0.049370355904102325, -0.03898989409208298, -0.017474323511123657, 0.05408407375216484, -0.007498012389987707, 0.005303726531565189, -0.014184311032295227, -0.02187826856970787, 0.0064473021775484085, 0.0358908586204052, 0.026852525770664215, 0.013713729567825794, 0.023146886378526688, 0.019427988678216934, 0.005398459266871214, -0.03861138969659805, -0.028044449165463448, -0.04699667915701866, 0.021508414298295975, -0.017608733847737312, -0.00764430919662118, -0.004234333988279104, 0.019041288644075394, 0.055464401841163635, 0.029401404783129692, 0.022909805178642273, 0.04172604903578758, 0.008065602742135525, 0.004220456816256046, 0.016491344198584557, 0.009467621333897114, -0.031703367829322815, -0.005633329041302204, -0.03752319887280464, -0.004409286193549633, -0.02005222998559475, 0.052264899015426636, 0.04419659078121185, -0.013384641148149967, -0.049969710409641266, -0.02357061579823494, 0.013613380491733551, -0.001239830395206809, 0.027828117832541466, -0.02364080771803856, 0.0660502165555954, -0.03244314715266228, -0.02150166779756546, -0.015927273780107498, 0.010744201019406319, 0.009333083406090736, 0.01545693352818489, -0.05927824229001999, 0.04177415370941162, 0.008326759561896324, 0.009259611368179321, -0.004237078595906496, 0.011982820928096771, -0.00986073724925518, 0.05521531403064728, 0.020251814275979996, 0.029798628762364388, -0.10390466451644897, -0.033279113471508026, 0.011926601640880108, 0.03713428974151611, 0.012956307269632816, -0.05023760348558426, 0.003745937952771783, -0.03572746738791466, -0.01649382710456848, -0.008446821011602879, 0.007733385544270277, -0.026298196986317635, -0.010247936472296715, 0.01792152225971222, 0.008624236099421978, 0.022779297083616257, -0.04931315779685974, 0.034798309206962585, 0.02830244041979313, 0.03970955312252045, -0.04613928869366646, 0.049892716109752655, -0.01431288756430149, 0.02237277664244175, -0.02531374990940094, 0.05481596663594246, 0.0022482743952423334, 0.03092886507511139, 0.0016127955168485641, -0.0253116637468338, 0.0009702920797280967, 0.04282087832689285, -0.0229030828922987, -0.023659680038690567, 0.004557654727250338, 0.019170979037880898, -0.01599852554500103, 0.03920348361134529, -0.0039846389554440975, 0.045626118779182434, -0.00775810657069087, -0.027770662680268288, 0.022709032520651817, -0.02942315861582756, -0.000060576345276786014, -0.0026733377017080784, -0.02054831013083458, 0.015821006149053574, 0.020749878138303757, -0.058682914823293686, -0.05703263729810715, -0.025154151022434235, -0.004886424634605646, 0.04035826027393341, 0.0113567765802145, 0.005437270272523165, -0.0034034941345453262, 0.002482919255271554, 0.012820418924093246, -0.005118099972605705, -0.0265703983604908, 0.03128409758210182, 0.008866352960467339, -0.027811607345938683, -0.0249042771756649, 0.002647498855367303, -0.003947990480810404, 0.039975255727767944, -0.012995545752346516, 0.025979219004511833, 0.035351186990737915, 0.007011706940829754, 0.0014171908842399716, 0.009198909625411034, -0.06264898180961609, 0.008402639999985695, -0.011482104659080505, -0.010358336381614208, 0.09724126756191254, 0.046771250665187836, -0.04795360565185547, -0.02527811750769615, -0.05207233875989914, -0.012697064317762852, 0.016262143850326538, -0.046016890555620193, -0.0073638781905174255, 0.005690740887075663, -0.006575843784958124, -0.007027556654065847, 0.014199097640812397, -0.07340877503156662, -0.002023476641625166, -0.009913078509271145, 0.027641767635941505, -0.009060792624950409, 0.022046087309718132, -0.0013654070207849145, 0.006044190842658281, -0.008724312297999859, 0.022051172330975533, -0.031003620475530624, -0.011656127870082855, 0.020220668986439705, 0.0074597131460905075, 0.043629132211208344, -0.026916081085801125, -0.038563139736652374, 0.025498516857624054, -0.014302849769592285, 0.02008293755352497, 0.015524469316005707, -0.033053573220968246, -0.013818478211760521, 0.025702163577079773, -0.009710146114230156, -0.020501844584941864, 0.0031749429181218147, -0.004219481721520424, -0.04378529638051987, -0.054202012717723846, 0.011787193827331066, -0.014645387418568134, 0.04568580538034439, -0.017197180539369583, 0.007201068568974733, -0.0006591946585103869, 0.0004959134384989738, -0.026460597291588783, 0.005040537565946579, 0.007964478805661201, -0.048407625406980515, -0.008084607310593128, -0.0073557160794734955, -0.007701508700847626, 0.008495139889419079, -0.016580907627940178, 0.0526641383767128, -0.022718947380781174, -0.048127591609954834, 0.001118773827329278, -0.01651727221906185, 0.015477755106985569, -0.04831792786717415, 0.029465122148394585, -0.022413361817598343, -0.061976850032806396, -0.02228245511651039, -0.028066767379641533, 0.013529385440051556, 0.04827452078461647, -0.02072856016457081, 0.00010735126852523535, 0.007371098734438419, -0.0001664831070229411, -0.010416539385914803, 0.009240038692951202, 0.057273443788290024, -0.03147121146321297, 0.022925714030861855, 0.01747988350689411, 0.0236103143543005, -0.015288598835468292, 0.029881000518798828, -0.011564566753804684, 0.0399366095662117, -0.019578035920858383, -0.04968395084142685, 0.0466739684343338, 0.028661316260695457, -0.012672015465795994, 0.025710923597216606, -0.0016856978181749582, -0.03620651736855507, 0.008170275948941708, 0.03460223227739334, 0.02970876730978489, 0.02904541976749897, -0.04305320605635643, 0.002421290846541524, -0.04856891185045242, -0.0028952204156666994, 0.008883090689778328, 0.009551675990223885, 0.018399475142359734, 0.06510209292173386, 0.02440720610320568, 0.040730949491262436, -0.0026542667765170336, 0.016557374969124794, 0.01031828299164772, 0.01221246737986803, 0.04707701876759529, -0.004788410384207964, 0.003921898547559977, 0.041095852851867676, 0.022164640948176384, -0.030698318034410477, -0.02743476629257202, -0.009287003427743912, 0.024050379171967506, 0.020200476050376892, -0.020803727209568024, -0.0038046787958592176, 0.012613813392817974, -0.021175052970647812, -0.015860963612794876, -0.061062783002853394, 0.04698373004794121, -0.022858986631035805, -0.007783330511301756, 0.04820521920919418, -0.01089463010430336, -0.021931499242782593, 0.027239134535193443, -0.013985155150294304, -0.013114633038640022, 0.007155249360948801, -0.0049320608377456665, 0.056339651346206665, -0.011219053529202938, -0.004709920845925808, -0.05183161050081253, 0.016031233593821526, 0.025340301916003227, -0.02703271061182022, -0.06348899006843567, 0.043071199208498, 0.0393124595284462, -0.005709745921194553, 0.01804131641983986, -0.0034384680911898613, 0.02490154094994068, 0.07065754383802414, 0.002266479888930917, -0.043579038232564926, -0.03290668874979019, 0.07305722683668137, 0.042806386947631836, 0.014029075391590595, -0.009067418053746223, -0.05911990627646446, -0.014476420357823372, 0.014300593174993992, -0.03281489387154579, -0.005963102914392948, 0.0437224879860878, 0.03282370790839195, 0.002483951160684228, 0.01211641263216734, -0.01362606417387724, -0.001188308116979897, 0.020444771274924278, 0.01264308299869299, 0.0008934065699577332, 0.020922230556607246, 0.020406732335686684, -0.04326200112700462, -0.007279154844582081, 0.004549977369606495, 0.02655990608036518, -0.04574666917324066, 0.008449054323136806, -0.011351007036864758, -0.025591621175408363, 0.035521768033504486, 0.04526791721582413, -0.029583072289824486, 0.028589140623807907, 0.026442402973771095, 0.03145860508084297, 0.019387325271964073, 0.005617612041532993, -0.004710767418146133, 0.0023854663595557213, -0.03911416605114937, 0.019530683755874634, 0.0358794741332531, -0.01333354040980339, 0.034527264535427094, 0.007459525018930435, -0.01595808006823063, 0.03355709835886955, 0.034207481890916824, 0.008910071104764938, 0.003810217371210456, 0.03781285136938095, -0.021020691841840744, 0.052078183740377426, 0.05086340755224228, -0.04049941152334213, -0.01860470324754715, -0.03167152404785156, -0.019600331783294678, 0.005007743835449219, 0.011323625221848488, 0.008755276910960674, -0.0039552380330860615, 0.022733626887202263, -0.04380333796143532, 0.052749309688806534, 0.007024097256362438, 0.008655010722577572, 0.027580780908465385, 0.04950690641999245, 0.056388385593891144, -0.008828165009617805, -0.019591549411416054, 0.017529333010315895, -0.033750444650650024, -0.003254043171182275, 0.013922212645411491, 0.027668770402669907, 0.028978917747735977, -0.026241298764944077, -0.030408281832933426, -0.0025664379354566336, -0.03277187794446945, 0.021303655579686165, -0.0020075226202607155, -0.010081812739372253, -0.014908302575349808, -0.035159192979335785, -0.03933309391140938, -0.029808146879076958, -0.009278781712055206, -0.017175016924738884, -0.007855524308979511, 0.028293084353208542, -0.024391233921051025, 0.000013240891348687, 0.06203802675008774, -0.02008700929582119, -0.0063126543536782265, 0.013092800974845886, -0.03226260095834732, 0.0016499892808496952, -0.01090000569820404, -0.04239899665117264, -0.02105451375246048, -0.0245116725564003, 0.019867073744535446, -0.04929831996560097, -0.03768742457032204, -0.011348200030624866, -0.04197537153959274, 0.02254343032836914, 0.02814146690070629, -0.0036039024125784636, 0.004720890894532204, -0.013162917457520962, 0.03385993465781212, -0.012708129361271858, -0.0015327073633670807, -0.029925454407930374, -0.02723683789372444, -0.00736759090796113, -0.008001813665032387, -0.02845427580177784, -0.044528208673000336, -0.0013898041797801852, -0.0077268504537642, 0.039317622780799866, -0.022811396047472954, -0.0055170427076518536, -0.013254057615995407, 0.029489757493138313, 0.0011444028932601213, -0.01651742123067379, 0.035717543214559555, -0.0318371057510376, 0.004295059945434332, -0.005875168368220329, 0.023170633241534233, 0.006212265696376562, -0.02563679963350296, 0.02302367426455021, -0.018385058268904686, -0.009626382030546665, -0.0400208942592144, 0.06229559704661369, 0.002463665558025241, 0.009929772466421127, 0.018763482570648193, 0.022767379879951477, 0.0025637452490627766, -0.05037270113825798, 0.026832688599824905, 0.0010231697233393788, -0.009250657632946968, 0.003485637716948986, -0.07665874809026718, -0.051696207374334335, 0.008893062360584736, -0.01142847165465355, 0.03590800613164902, -0.06881413608789444, -0.017069803550839424, -0.04739084467291832, -0.01619156077504158, -0.059224504977464676, -0.002683470491319895, 0.04757196456193924, 0.0029737157747149467, 0.000708737235981971, -0.030211426317691803, 0.023940110579133034, 0.014277280308306217, 0.01583794876933098, 0.017537640407681465, -0.01573839597404003, -0.007066691294312477, 0.006073410622775555, 0.019044695422053337, -0.0019170613959431648, -0.026883019134402275, -0.013610622845590115, -0.0018517140997573733, 0.0027705244719982147, 0.007038992363959551, -0.010571419261395931, -0.04116612672805786, 0.03471951186656952, -0.057428065687417984, 0.04217785969376564, 0.026241598650813103, 0.022913305088877678, -0.0024764295667409897, 0.014693778939545155, -0.039820123463869095, 0.024875691160559654, 0.0222932156175375, -0.024338452145457268, 0.013287107460200787, 0.042917706072330475, 0.029997538775205612, -0.0018457494443282485, -0.014743916690349579, 0.013397244736552238, -0.006035189144313335, -0.04797223582863808, -0.058107368648052216, -0.010812868364155293, 0.00782411266118288, -0.03296320512890816, -0.06714484840631485, 0.055580537766218185, 0.005002152174711227, -0.008363327011466026, -0.01694347895681858, 0.032343290746212006, 0.0062973289750516415, 0.014892695471644402, -0.01916094869375229, -0.0009432912920601666, 0.04243635758757591, 0.019748764112591743, -0.011552393436431885, 0.043154291808605194, 0.016184834763407707 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
Acknowledgements We would like to thank the paper’s first authors, Kevin Lu and Lili Chen, for their constructive conversations.
[ 0.057521991431713104, -0.03125596418976784, 0.03779498115181923, -0.01663159392774105, 0.08453872799873352, 0.06230694428086281, -0.002360482234507799, 0.029866883531212807, -0.030402153730392456, -0.11026431620121002, -0.007687245961278677, 0.02267545275390148, -0.03181598708033562, -0.01760433055460453, 0.00966755859553814, 0.062151387333869934, 0.02547927014529705, -0.020287202671170235, 0.015712223947048187, 0.030540045350790024, -0.006483085919171572, -0.029462561011314392, 0.07554779201745987, 0.044700827449560165, -0.009863654151558876, -0.0526420921087265, -0.005660667549818754, -0.009720010682940483, -0.07196573913097382, 0.0776367038488388, -0.010785884223878384, -0.0036742496304214, 0.07790831476449966, 0.011057178489863873, -0.01763133332133293, -0.056834325194358826, -0.08667633682489395, -0.004169135820120573, -0.03440405800938606, -0.026596754789352417, 0.058829210698604584, -0.004017997067421675, 0.011898413300514221, 0.0875151976943016, -0.04123315587639809, 0.010741082951426506, -0.1890116035938263, 0.10411166399717331, -0.03367418795824051, 0.0009308403823524714, -0.01906438358128071, -0.028441695496439934, 0.029315879568457603, -0.008108517155051231, 0.04255762696266174, 0.008452913723886013, 0.032545264810323715, -0.04485449194908142, 0.05116739124059677, -0.09960655868053436, 0.016300803050398827, -0.003544516395777464, -0.003871575463563204, -0.03308231383562088, 0.0635971873998642, 0.04707501083612442, 0.010528638027608395, 0.05258060246706009, -0.031627386808395386, -0.009721030481159687, 0.03362493962049484, 0.015307961031794548, -0.031272243708372116, -0.00501630362123251, 0.03162236139178276, -0.03280317038297653, -0.036878980696201324, -0.010604043491184711, 0.05020637810230255, 0.04154907539486885, -0.01970689743757248, 0.00031797599513083696, 0.093107670545578, 0.08890679478645325, -0.003894082037732005, -0.03221624717116356, 0.09769752621650696, -0.023188838735222816, 0.014011108316481113, -0.055391889065504074, -0.06753679364919662, -0.05584898218512535, 0.03229748457670212, 0.052623894065618515, 0.0400119423866272, -0.035125043243169785, 0.0756193995475769, 0.03539453446865082, 0.04356113821268082, -0.008895878680050373, 0.019011883065104485, 0.09463421255350113, -0.011462459340691566, -0.031880177557468414, -0.02574555203318596, 0.00799399521201849, -0.03600680083036423, -0.03232056647539139, -0.07193809747695923, 0.033510722219944, 0.014809061773121357, 0.07741948962211609, 0.05707099661231041, -0.013830066658556461, -0.053082022815942764, 0.056355252861976624, -0.01823674701154232, -0.008458314463496208, 0.06072433292865753, 0.0076567260548472404, -0.04251012206077576, 0.09382492303848267, 0.04661232978105545, -0.0022155113983899355, 0.03927799314260483, -0.012077989056706429, 0.04709894582629204, 0.010014291852712631, -0.1059587150812149, -0.0022902749478816986, -0.005104963202029467, -0.024001985788345337, 0.012879682704806328, -0.01262570358812809, -0.07734860479831696, -0.02173616550862789, -0.012764151208102703, -0.006916211452335119, -0.03339148685336113, 0.0234984140843153, -0.002621924504637718, 0.028609974309802055, -0.015996521338820457, 0.03277556598186493, 0.01973593607544899, -0.01787831261754036, -0.05263780057430267, 0.04861310124397278, -0.006791259627789259, -0.06303717195987701, 0.01126907579600811, 0.04422849789261818, -0.05357907712459564, -0.0289059579372406, -0.03545168787240982, 0.036999884992837906, 0.03929020091891289, 0.019983574748039246, -0.07297132164239883, -0.019757675006985664, 0.03106921911239624, 0.030961059033870697, -0.032721567898988724, -0.01861593686044216, 0.05779419466853142, -0.03180398792028427, 0.05524557828903198, 0.030547773465514183, -0.055229753255844116, -0.09218436479568481, 0.0006353067001327872, 0.012438046745955944, 0.07658154517412186, 0.011875240132212639, -0.11399479955434799, 0.030820762738585472, 0.04566638544201851, 0.055656496435403824, 0.017186623066663742, 0.023168595507740974, -0.05004236847162247, 0.038565363734960556, -0.015203384682536125, 0.014007466845214367, 0.007609284948557615, -0.018957478925585747, 0.07796262949705124, 0.007176324259489775, -0.021442405879497528, 0.06784698367118835, -0.1538299173116684, -0.03891527280211449, 0.10050328820943832, -0.00041793700074777007, -0.029582731425762177, -0.10280953347682953, -0.026000991463661194, 0.09399127960205078, 0.048684392124414444, 0.046254076063632965, 0.05659506097435951, 0.0748702883720398, 0.06967514008283615, -0.011017866432666779, -0.038873374462127686, -0.01412323210388422, 0.039739400148391724, -0.018602853640913963, 0.0020740379113703966, -0.04781627282500267, -0.07421901822090149, -0.09203050285577774, -0.008320722728967667, -0.02364439330995083, 0.0033679793123155832, -0.009945457801222801, -0.014538666233420372, -0.020098689943552017, 0.02414698712527752, -0.08677919954061508, 0.04885714501142502, 0.03261730074882507, 0.0164620503783226, 0.029878975823521614, 0.005504164379090071, 0.08609133213758469, 0.05576935037970543, -0.01153650600463152, 0.06604556739330292, -0.05256751924753189, 0.025340721011161804, -0.012844863347709179, 0.04775318130850792, 0.08619614690542221, 0.03188105672597885, 0.035363782197237015, 0.009883490391075611, -0.039572931826114655, 0.018580129370093346, -0.013992585241794586, 0.003439249936491251, 0.010745585896074772, -0.017501283437013626, 0.04120515286922455, -0.04983283206820488, -0.1112111434340477, -0.005453483667224646, 0.04785376787185669, -0.10681712627410889, -0.00957791693508625, -0.050298698246479034, 0.12017124891281128, 0.032252807170152664, -0.011277537792921066, 0.10354405641555786, -0.013437452726066113, 0.0006740562384948134, -0.020764192566275597, 0.020828617736697197, 0.007652415428310633, 0.021825632080435753, -0.014558941125869751, -0.0011530454503372312, -0.05938088521361351, 0.0044695110991597176, -0.023578055202960968, 0.028941065073013306, -0.0022029122337698936, 0.012786755338311195, 0.034934092313051224, -0.015995554625988007, -0.017990073189139366, 0.012265055440366268, 0.031285807490348816, 0.005526489112526178, 0.002161871176213026, 0.03431900218129158, -0.02489495649933815, -0.0173578429967165, -0.05718338117003441, -0.004294699057936668, -0.02499820664525032, -0.0008967263856902719, -0.010458296164870262, 0.04619758576154709, -0.017277276143431664, -0.0025916460435837507, 0.003033493412658572, 0.0029439222998917103, 0.034692298620939255, -0.002055145800113678, 0.0060045672580599785, 0.030325675383210182, -0.059828903526067734, 0.017789794132113457, -0.01694955676794052, -0.015451330691576004, 0.028070492669939995, -0.026045670732855797, -0.02140331082046032, 0.0020013207104057074, 0.0023164094891399145, -0.020452894270420074, 0.04212674871087074, -0.018111400306224823, 0.01581580564379692, -0.004102515522390604, 0.027402611449360847, -0.11663776636123657, -0.011943618766963482, 0.06232590600848198, 0.06131358817219734, -0.007925466634333134, 0.007889559492468834, 0.056884441524744034, -0.06370259076356888, -0.041265811771154404, -0.04624825343489647, 0.05814099684357643, 0.019413582980632782, 0.012714204378426075, -0.052439022809267044, -0.009598015807569027, -0.01826860010623932, 0.00011242095206398517, -0.00036043679574504495, -0.00970593374222517, -0.026636596769094467, 0.004736892879009247, 0.035265594720840454, -0.04045678675174713, -0.013000897131860256, -0.05162372067570686, 0.053671225905418396, 0.0252876915037632, 0.012374617159366608, 0.008559562265872955, -0.0377897247672081, -0.05447809770703316, 0.034619104117155075, -0.007676475681364536, 0.05450765788555145, 0.027410345152020454, -0.0014299846952781081, -0.015838144347071648, -0.016540974378585815, 0.016260068863630295, 0.04077601060271263, 0.025619788095355034, 0.021358562633395195, 0.04827103391289711, 0.008241677656769753, -0.012597654014825821, 0.03714543208479881, 0.025127194821834564, -0.006077598314732313, 0.030486008152365685, -0.010854081250727177, -0.04039335623383522, 0.0012124866480007768, 0.008157456293702126, 0.06107115000486374, 0.0002897326194215566, 0.014622898772358894, -0.025584321469068527, -0.0019609753508120775, 0.042635053396224976, 0.010808349587023258, 0.004020133055746555, 0.031136712059378624, -0.001685455208644271, 0.028777340427041054, 0.008423827588558197, 0.045233555138111115, -0.03515709936618805, 0.016337066888809204, -0.07937346398830414, 0.046632070094347, -0.0006845511379651725, 0.044980570673942566, -0.03532745689153671, 0.012506479397416115, -0.012112073600292206, -0.0036997455172240734, -0.009720622561872005, -0.018384359776973724, 0.03559752553701401, -0.04809023067355156, -0.023145899176597595, -0.005766310729086399, -0.02259671501815319, -0.008602598682045937, 0.007355514448136091, 0.030412442982196808, -0.04020295292139053, 0.017108842730522156, -0.022704659029841423, 0.0130153838545084, 0.028897153213620186, 0.02268213964998722, -0.02081683836877346, -0.03283454105257988, 0.010122284293174744, 0.030225006863474846, 0.05953623354434967, -0.014621551148593426, 0.02366698533296585, 0.01532095205038786, -0.0004110352019779384, -0.0008538448601029813, -0.021375302225351334, -0.010609080083668232, 0.013059012591838837, 0.02504013292491436, -0.015494237653911114, -0.03417208045721054, -0.023874038830399513, -0.0034738152753561735, 0.02198350988328457, -0.04470769315958023, 0.018548324704170227, -0.01609540544450283, -0.012077038176357746, -0.004580275621265173, -0.014314329251646996, -0.08509491384029388, -0.009412553161382675, 0.001103695947676897, -0.03414563834667206, 0.028399687260389328, -0.01290077529847622, -0.019883468747138977, 0.02046583779156208, 0.010457156226038933, -0.010370968841016293, 0.026135116815567017, -0.010774618946015835, 0.004146224353462458, -0.007562164217233658, -0.05295586958527565, 0.03325844928622246, 0.013015758246183395, 0.009941562078893185, -0.013028979301452637, 0.006639867555350065, 0.005474444478750229, -0.020028522238135338, -0.020934220403432846, 0.010806644335389137, 0.004099435172975063, 0.001676734071224928, -0.007882471196353436, 0.030624575912952423, -0.017949141561985016, 0.012324386276304722, 0.008894773200154305, 0.010860254056751728, 0.004343925043940544, 0.053354449570178986, -0.04054812341928482, -0.008311409503221512, -0.0025906262453645468, 0.0012046811170876026, 0.0442584753036499, 0.037357401102781296, -0.014495906420052052, -0.03572140261530876, 0.06045619770884514, 0.0016627747099846601, 0.0036159995943307877, -0.061466433107852936, 0.02926243469119072, -0.03972373157739639, 0.0162027720361948, 0.010222967714071274, 0.01434487383812666, -0.004290950018912554, -0.008557386696338654, -0.024955211207270622, -0.05002615600824356, 0.022845635190606117, -0.03910307213664055, 0.003562253201380372, -0.012154986150562763, -0.014721021056175232, -0.02457798644900322, -0.006726746913045645, 0.03617138788104057, -0.02306637540459633, 0.00020862321252934635, 0.029337383806705475, -0.00704489229246974, 0.01858356222510338, -0.006279727444052696, 0.01725822314620018, -0.02038600668311119, 0.00500760693103075, 0.051248982548713684, -0.0408288948237896, -0.00005475313446368091, -0.010743667371571064, -0.021314870566129684, -0.002544650575146079, 0.015988191589713097, 0.014319900423288345, -0.029022539034485817, -0.022503051906824112, 0.0168725848197937, -0.00047811956028454006, 0.029847407713532448, -0.021959159523248672, 0.0008910497999750078, 0.014044464565813541, 0.0437428317964077, 0.003873106325045228, -0.029061079025268555, 0.01591929979622364, -0.05321548134088516, -0.032864801585674286, 0.015249033458530903, -0.05904241278767586, -0.012843948788940907, 0.005315432790666819, -0.05390971526503563, -0.03407451882958412, 0.027629369869828224, -0.003057918744161725, 0.016769813373684883, 0.019635677337646484, 0.0015262361848726869, -0.008895489387214184, 0.0388670340180397, 0.034194547683000565, -0.005352569743990898, -0.031543537974357605, 0.04743363708257675, -0.021957440301775932, 0.037667591124773026, 0.009560919366776943, -0.0001505232066847384, -0.022806737571954727, 0.007809140719473362, 0.03333915024995804, 0.016774620860815048, -0.053750958293676376, 0.0063363490626215935, -0.006295741535723209, 0.028667474165558815, 0.059094157069921494, -0.01646026223897934, 0.010387059301137924, -0.018773656338453293, -0.022595662623643875, 0.01723397895693779, 0.0351543165743351, -0.04249674826860428, 0.010343613103032112, -0.01428176462650299, 0.015542067587375641, -0.027641266584396362, -0.0017219738801941276, -0.0393361859023571, -0.015734056010842323, 0.02562461607158184, 0.0035187103785574436, -0.029944567009806633, 0.022963840514421463, 0.0013256598031148314, -0.008246404118835926, -0.002122915117070079, -0.0057665323838591576, 0.018676040694117546, -0.030976464971899986, 0.0048946356400847435, 0.014250239357352257, -0.027082493528723717, 0.022769765928387642, -0.010485803708434105, -0.02212395891547203, 0.004788248334079981, 0.011599628254771233, -0.004315005149692297, -0.006208791397511959, -0.0005951804341748357, 0.03143361210823059, 0.006462668534368277, 0.029275277629494667, -0.02197946421802044, 0.0020048320293426514, -0.01592920534312725, 0.041093211621046066, 0.008836181834340096, -0.00874576810747385, 0.00866545457392931, 0.04259133338928223, -0.011285754851996899, -0.009809180162847042, -0.01170491985976696, 0.0012581669725477695, 0.024169446900486946, -0.018816297873854637, 0.011036655865609646, -0.015263336710631847, 0.007403804454952478, -0.0015038906130939722, -0.01394896861165762, 0.025063173845410347, -0.03732434660196304, 0.004890654236078262, 0.003421464003622532, -0.03323672339320183, 0.01650897227227688, -0.025236839428544044, 0.016725940629839897, 0.02855054661631584, -0.04173322021961212, -0.05566024407744408, -0.03409315273165703, 0.04403812810778618, 0.02494167909026146, -0.02611733227968216, -0.0378744900226593, -0.022592853754758835, -0.04313964024186134, 0.03187865391373634, 0.002274263184517622, 0.02059232071042061, -0.008302774280309677, 0.04709604009985924, 0.013105596415698528, 0.007653325330466032, -0.03258756548166275, -0.016427116468548775, -0.044617317616939545, 0.03211719170212746, 0.0018731533782556653, -0.03838720917701721, -0.0014648119686171412, 0.03692261502146721, 0.019389843568205833, -0.011078480631113052, 0.012651888653635979, 0.005674020852893591, 0.046790000051259995, -0.003190831281244755, 0.03497295826673508, 0.020206747576594353, -0.00943148136138916, 0.005181369837373495, 0.005155384540557861, 0.022653143852949142, -0.014909042976796627, -0.008003118447959423, 0.015408989042043686, -0.028212444856762886, 0.028257327154278755, -0.0337221696972847, 0.01850995048880577, 0.05462740361690521, -0.002963620936498046, 0.0256037674844265, 0.03944460675120354, -0.002165493555366993, 0.011176468804478645, -0.012359977699816227, -0.009122254326939583, -0.0037487416993826628, -0.03231044486165047, -0.01703101582825184, 0.05403868481516838, 0.020294249057769775, -0.03620969131588936, -0.05061842128634453, -0.011015920899808407, -0.005933981388807297, 0.01189673226326704, -0.0005110957426950336, 0.006329523399472237, -0.01964205503463745, -0.05278640612959862, 0.011699794791638851, -0.00444381358101964, -0.02486027404665947, -0.045947130769491196, -0.04079129546880722, -0.02430526353418827, -0.01210014522075653, -0.02063647098839283, 0.05202702432870865, 0.035857655107975006, 0.022714272141456604, 0.04464077576994896, 0.024530401453375816, -0.0007502766093239188, -0.010328095406293869, -0.013742750510573387, 0.02471369504928589, 0.045330122113227844, -0.012904001399874687, -0.012370402924716473, -0.008260888047516346, -0.020801646634936333, 0.0055825249291956425, 0.01875326782464981, -0.0524616539478302, -0.027650531381368637, 0.001512249931693077, 0.007718851789832115, -0.04771977290511131, 0.017656836658716202, 0.036642398685216904, 0.018369482830166817, 0.007436803076416254, 0.014726533554494381, -0.013501481153070927, -0.013984051533043385, 0.03917740657925606, -0.02704169787466526, 0.06587227433919907, 0.03132413327693939, -0.003940624184906483, -0.08519256114959717, 0.017957914620637894, -0.04178006201982498, -0.04405897483229637, -0.006879656109958887, 0.030274242162704468, -0.0084268469363451, 0.0015838799299672246, -0.011043707840144634, 0.00619150884449482, 0.028828682377934456, 0.00952985230833292, 0.026524215936660767, -0.006023027002811432, 0.015388700179755688, -0.024181921035051346, -0.0268232524394989, -0.004455466289073229, 0.01867895945906639, 0.010357566177845001, 0.029002245515584946, -0.002223357791081071, -0.03407447040081024, 0.010098273865878582, -0.030672883614897728, 0.014137715101242065, -0.02041229046881199, -0.0030924356542527676, 0.015205582603812218, 0.023746781051158905, -0.07909204810857773, 0.0018800743855535984, -0.020672107115387917, 0.021727247163653374, 0.03379087150096893, -0.016716880723834038, -0.028705323114991188, -0.04870477691292763, 0.012866714969277382, -0.028804179280996323, 0.013573218137025833, 0.028055477887392044, 0.05031198635697365, 0.0519641637802124, -0.013981505297124386, 0.019790031015872955, 0.01738252304494381 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
Install the package python pip install git+https://github.com/huggingface/transformers
[ 0.006055761128664017, 0.00024260814825538546, 0.08255656808614731, -0.0070932721719145775, 0.039182085543870926, 0.03544760122895241, 0.036196667701005936, 0.06810103356838226, -0.012547125108540058, -0.06293250620365143, -0.09257324039936066, 0.10367394983768463, -0.015619090758264065, 0.07954233139753342, 0.0010064063826575875, -0.00977722741663456, 0.03676777705550194, -0.01537305023521185, -0.039142269641160965, 0.024257227778434753, -0.040746115148067474, -0.04727742820978165, 0.006065000779926777, -0.035896625369787216, -0.018444621935486794, -0.10197538137435913, 0.05063829943537712, 0.03604953736066818, -0.01829601638019085, 0.023657966405153275, -0.10117074102163315, -0.05048525333404541, 0.00916150864213705, -0.06737077236175537, -0.0023829543497413397, 0.0270246434956789, -0.15420058369636536, 0.008616418577730656, 0.059907734394073486, -0.032038409262895584, -0.004372631199657917, -0.013361998833715916, -0.08146172761917114, 0.009946449659764767, -0.05034350976347923, -0.006360380910336971, -0.20253391563892365, 0.08051732927560806, -0.04224688559770584, -0.008165973238646984, -0.04381091147661209, 0.046985700726509094, 0.0023888901341706514, -0.04179874435067177, -0.013536829501390457, -0.005401131231337786, -0.01820543222129345, -0.06612720340490341, -0.015603635460138321, 0.007431830745190382, 0.06222788244485855, -0.005276597570627928, 0.013887403532862663, 0.044951822608709335, 0.0016718413680791855, 0.02173188328742981, -0.019287139177322388, 0.007614532485604286, -0.05644882470369339, -0.0329771526157856, 0.046939101070165634, -0.06339437514543533, -0.034316256642341614, -0.036422524601221085, -0.014462081715464592, -0.053924400359392166, -0.009146393276751041, 0.05088137090206146, 0.05585703253746033, 0.10013076663017273, 0.02072412706911564, 0.009629359468817711, 0.03349006921052933, 0.10397502779960632, 0.05322485417127609, 0.029462633654475212, 0.07010594010353088, -0.03232479840517044, -0.08000671863555908, 0.07329829782247543, 0.006244796793907881, -0.07419820874929428, -0.06078454107046127, 0.027576882392168045, 0.04065384343266487, -0.015519874170422554, -0.02862025424838066, -0.007505276706069708, -0.027438638731837273, -0.016237331554293633, -0.017445720732212067, -0.017694871872663498, -0.007017080206423998, -0.05027563124895096, -0.010361822322010994, 0.030371258035302162, -0.03626720607280731, -0.02919941395521164, 0.009470018558204174, -0.023824427276849747, 0.022833533585071564, -0.018497364595532417, 0.04521382972598076, 0.03163745626807213, -0.0563255250453949, 0.12478376924991608, -0.008865022100508213, -0.053179990500211716, 0.018715905025601387, 0.050285663455724716, 0.0032370476983487606, 0.06201144680380821, -0.00859726220369339, 0.03874245658516884, 0.03586946800351143, 0.09980322420597076, -0.04593120515346527, -0.011543582193553448, -0.035448696464300156, -0.0520535483956337, 0.045480359345674515, -0.006280452013015747, 0.03892295062541962, -0.016643567010760307, -0.037672970443964005, -0.060451000928878784, 0.05920469015836716, -0.0335676483809948, -0.004804851487278938, -0.023383766412734985, 0.015211022458970547, 0.09669772535562515, -0.030933137983083725, 0.06706375628709793, 0.016230767592787743, 0.007818086072802544, -0.13041190803050995, 0.05480024218559265, 0.010202236473560333, 0.022642167285084724, -0.023471089079976082, 0.05948159471154213, -0.054893359541893005, -0.012889734469354153, -0.016759978607296944, 0.08537320047616959, 0.000990998581983149, -0.00679474463686347, -0.05480557680130005, -0.02446836419403553, 0.023030050098896027, 0.0002780935901682824, -0.05061285197734833, -0.00219590007327497, 0.03796027973294258, -0.07571308314800262, 0.007363049779087305, -0.013934355229139328, 0.012277554720640182, -0.01132567971944809, 0.006509022321552038, -0.08195926249027252, 0.038920849561691284, -0.013307972811162472, 0.015450315549969673, 0.0014991009375080466, 0.04276479408144951, 0.031406469643116, -0.005612896289676428, -0.04580807313323021, -0.021042730659246445, 0.08521653711795807, -0.02167905494570732, 0.028237661346793175, 0.050593163818120956, -0.05685194209218025, -0.010059709660708904, -0.0034581469371914864, 0.04604624584317207, 0.005821052473038435, -0.018102286383509636, -0.1101628765463829, 0.07576122134923935, 0.0011577476980164647, 0.06289765238761902, -0.05761907622218132, -0.03092622384428978, 0.0872897058725357, 0.044082846492528915, 0.06776480376720428, -0.02053246647119522, -0.03875342756509781, 0.04880116507411003, 0.01733980141580105, -0.004593949299305677, 0.05784844234585762, -0.027582546696066856, -0.035212840884923935, 0.029481006786227226, 0.002965453779324889, 0.007348276674747467, -0.07714716345071793, 0.05916573479771614, -0.050506338477134705, -0.0015902752056717873, -0.0568646602332592, -0.05629458650946617, 0.010253529995679855, 0.030092831701040268, 0.022206731140613556, 0.13471755385398865, -0.026477020233869553, 0.016417885199189186, -0.021794576197862625, -0.03521124646067619, 0.0595732256770134, 0.10421781241893768, 0.021559739485383034, 0.06235933676362038, -0.09340570122003555, -0.02857302874326706, -0.05467785522341728, -0.04455409198999405, 0.05879337713122368, 0.013050495646893978, -0.05297136679291725, -0.022214876487851143, -0.0295339897274971, 0.0181883592158556, -0.015841756016016006, -0.002037117024883628, -0.03908943012356758, -0.013530649244785309, -0.0038814733270555735, 0.03953079506754875, -0.021985407918691635, 0.016513766720891, 0.020990826189517975, -0.017496183514595032, -0.025569340214133263, -0.04408732429146767, -0.003528670407831669, 0.045541923493146896, 0.01949153281748295, 0.008677605539560318, 0.07618413865566254, -0.0066425250843167305, 0.00016626197611913085, -0.008650422096252441, 0.0679570809006691, -0.016834944486618042, 0.020108282566070557, -0.03472662344574928, -0.059825118631124496, -0.02791445143520832, -0.00016177845827769488, -0.026692098006606102, 0.011772816069424152, -0.01766202412545681, 0.01846911385655403, 0.03876177966594696, -0.044679395854473114, 0.0392858125269413, 0.02254415489733219, -0.005832448601722717, 0.01430774200707674, 0.051796846091747284, -0.011796093545854092, -0.0093378322198987, -0.03189508244395256, 0.009754994884133339, -0.030726488679647446, 0.02888832613825798, 0.04413627088069916, 0.019215265288949013, -0.0007251437054947019, 0.015714170411229134, -0.031329020857810974, 0.005146449431777, 0.01866810955107212, -0.002046271925792098, 0.035418927669525146, 0.01578500308096409, -0.029510650783777237, 0.021328361704945564, -0.008746011182665825, 0.03630910441279411, 0.0057220482267439365, 0.0022278325632214546, 0.036425743252038956, 0.011327854357659817, 0.012458651326596737, 0.0208431426435709, -0.010639849118888378, -0.03104359284043312, 0.02352905087172985, 0.020218627527356148, -0.016374122351408005, -0.11489227414131165, -0.0644097775220871, -0.011527949944138527, 0.035380769520998, 0.013761736452579498, -0.023645495995879173, 0.05892454832792282, 0.007535278797149658, -0.0010478142648935318, 0.002405698411166668, 0.0015724110417068005, 0.003074212232604623, 0.030155552551150322, 0.03572043403983116, 0.009309916757047176, -0.05567920580506325, 0.0008795745670795441, -0.0039044346194714308, 0.02959805727005005, 0.038425885140895844, -0.04788392037153244, 0.03617575764656067, -0.007873435504734516, -0.00928699690848589, 0.0009208343690261245, -0.001981760375201702, 0.047561146318912506, 0.04281146451830864, 0.012699553743004799, -0.03583775460720062, -0.010572707280516624, 0.0009557429584674537, -0.01670661009848118, 0.011359253898262978, -0.05029435083270073, -0.00791915599256754, 0.006720343604683876, 0.01117353979498148, 0.02752917818725109, 0.017880449071526527, 0.012607445940375328, -0.030696570873260498, -0.004673249553889036, -0.017979826778173447, 0.008149964734911919, -0.02235555090010166, -0.032825201749801636, 0.013169676065444946, 0.011532362550497055, -0.016312269493937492, -0.029722729697823524, 0.00016723788576200604, 0.005070750135928392, 0.049602359533309937, 0.043973516672849655, 0.022828588262200356, 0.008329907432198524, 0.025996845215559006, 0.03096848353743553, 0.0019389945082366467, -0.0568549707531929, 0.010759417898952961, -0.006783761084079742, -0.05373057723045349, -0.005444423761218786, 0.054212167859077454, -0.0027944743633270264, 0.019441165030002594, 0.016037890687584877, 0.02478978782892227, 0.0032421995420008898, 0.004977144300937653, -0.005791972856968641, 0.025069013237953186, -0.05902406573295593, 0.004462207667529583, -0.04860600829124451, -0.028811441734433174, 0.06767378747463226, -0.009023903869092464, -0.045289378613233566, -0.05170545354485512, -0.010076806880533695, 0.010778313502669334, -0.019302528351545334, 0.026591282337903976, 0.02857472561299801, -0.041740722954273224, 0.04150979220867157, 0.037689175456762314, -0.02719300240278244, -0.0062446738593280315, 0.019162070006132126, -0.04889846593141556, -0.013542166911065578, 0.007333527319133282, 0.029021674767136574, -0.00868386309593916, -0.01880234107375145, 0.022078894078731537, 0.01816849410533905, -0.04946871101856232, -0.012915880419313908, -0.004598227329552174, 0.02088054083287716, 0.027701254934072495, 0.0018208813853561878, -0.029107453301548958, -0.012441790662705898, 0.007014568895101547, 0.019195951521396637, -0.04267320781946182, -0.01988477073609829, -0.024061091244220734, 0.006023784168064594, 0.02199619822204113, 0.014475436881184578, -0.050340283662080765, -0.04622573405504227, 0.0639888122677803, -0.01552661508321762, 0.03271950036287308, -0.0061420598067343235, -0.019001800566911697, -0.011618545278906822, 0.00498146703466773, 0.04245096072554588, 0.04792339354753494, -0.030558358877897263, 0.0022784483153373003, -0.013192719779908657, -0.02275005914270878, 0.026013195514678955, -0.006539721507579088, 0.010764120146632195, 0.027705959975719452, 0.019688183441758156, 0.029421057552099228, 0.023052943870425224, -0.041557952761650085, -0.019233128055930138, -0.0029807225801050663, 0.07655145227909088, -0.037874799221754074, 0.026519881561398506, 0.004758144728839397, -0.027529945597052574, 0.014380212873220444, -0.03845815360546112, 0.020758632570505142, 0.021625755354762077, -0.03258679062128067, 0.027064574882388115, 0.05293814092874527, 0.02164890244603157, -0.0045478930696845055, -0.03209420666098595, 0.02524378150701523, -0.01765349693596363, 0.06879721581935883, -0.008479969576001167, -0.005569916218519211, -0.024454478174448013, 0.03011876344680786, 0.014813109301030636, 0.004852089565247297, 0.020566001534461975, -0.07377444207668304, -0.015309003181755543, 0.005302852019667625, -0.0016941148787736893, 0.007997621782124043, 0.015926120802760124, -0.03177260234951973, -0.019415369257330894, 0.050911009311676025, 0.05418894439935684, 0.0019735475070774555, -0.007657627109438181, 0.038700662553310394, -0.0050976090133190155, -0.004277877975255251, -0.014162985607981682, 0.02516981028020382, -0.002036183839663863, 0.020193377509713173, 0.05324559658765793, 0.04285852238535881, -0.019069937989115715, 0.02102360688149929, 0.001358652370981872, -0.03192092850804329, 0.026916727423667908, -0.03737979754805565, -0.013377499766647816, -0.029501724988222122, -0.0058999438770115376, -0.02393576130270958, 0.008503311313688755, -0.001528469379991293, 0.030147962272167206, 0.05052438750863075, 0.000284537672996521, -0.03295566141605377, 0.036646049469709396, 0.005707110278308392, -0.004392203874886036, -0.00044960100785829127, 0.04790067672729492, -0.0015355872455984354, 0.021439332515001297, -0.010866595432162285, -0.02037503756582737, -0.018652338534593582, -0.03609083592891693, -0.04422074556350708, -0.0075492230243980885, 0.017562784254550934, -0.010543891228735447, 0.024720871821045876, -0.032782889902591705, 0.02720469981431961, -0.004148406442254782, -0.01422700472176075, 0.03448748216032982, -0.024742435663938522, -0.0129208629950881, 0.04183679819107056, -0.010827514342963696, 0.020201807841658592, 0.0333453044295311, -0.013631788082420826, -0.0034431961830705404, 0.028223589062690735, 0.04124213382601738, 0.01804092526435852, -0.026442961767315865, 0.005322054028511047, 0.01923350803554058, -0.005529998801648617, 0.007416806649416685, -0.011504880152642727, -0.04950059577822685, -0.011080730706453323, -0.011888991110026836, -0.0026730915997177362, 0.060672249644994736, 0.02320372872054577, 0.0019431777764111757, 0.008539777249097824, 0.02412244863808155, 0.011842261999845505, -0.01952766627073288, -0.016157452017068863, 0.009734893217682838, 0.025406384840607643, -0.01601502113044262, -0.00335770845413208, -0.00016372359823435545, -0.013765990734100342, 0.022114161401987076, -0.014983502216637135, 0.008064642548561096, 0.005345284938812256, -0.02816931903362274, 0.003339797956869006, -0.008577842265367508, -0.033863943070173264, -0.007774269208312035, 0.03642980381846428, 0.008978131227195263, 0.050089627504348755, 0.0020695324055850506, -0.011369557119905949, -0.01515490747988224, -0.03909674659371376, 0.026450345292687416, 0.030791418626904488, -0.03306178003549576, 0.03394550085067749, 0.01058022677898407, 0.041344571858644485, 0.01397417951375246, -0.007605457678437233, -0.01001984067261219, 0.03205562382936478, 0.05923868715763092, 0.00034596759360283613, 0.04275217279791832, 0.041792817413806915, -0.024678543210029602, -0.01496530044823885, -0.018589477986097336, -0.016212036833167076, -0.04088236019015312, 0.015096055343747139, 0.008102711290121078, 0.010926936753094196, 0.016511285677552223, -0.02080227993428707, 0.03735391050577164, 0.023472078144550323, 0.06134258955717087, 0.007339751347899437, -0.000029270449886098504, 0.06100819259881973, -0.0002494184300303459, 0.01914713717997074, 0.014649594202637672, 0.01669747568666935, -0.00989220105111599, 0.05319902300834656, 0.00016167577996384352, 0.0519629567861557, -0.01695794053375721, 0.00409741559997201, -0.0004929532879032195, -0.010557228699326515, -0.019068043678998947, -0.054790329188108444, 0.02267114259302616, -0.057478953152894974, -0.028914205729961395, 0.014079863205552101, -0.0334765799343586, -0.002814091043546796, -0.04053506255149841, 0.038196466863155365, 0.0078036910854279995, -0.054532360285520554, -0.00401266710832715, 0.0331701897084713, 0.017902495339512825, 0.01794866845011711, 0.014545133337378502, 0.03941667452454567, 0.03139396011829376, -0.011615629307925701, -0.024712661281228065, -0.0030180092435330153, -0.03911319747567177, 0.02268022485077381, -0.00976556446403265, 0.003144848858937621, -0.020368101075291634, -0.025227246806025505, -0.002947682747617364, 0.020937340334057808, -0.014950849115848541, 0.028465591371059418, 0.040927521884441376, 0.02422095462679863, -0.048171017318964005, 0.027134042233228683, -0.012059000320732594, 0.013886520639061928, 0.003754559438675642, -0.015137496404349804, 0.01139951590448618, -0.025807972997426987, 0.0380876362323761, 0.04060354083776474, 0.0073863435536623, -0.029256809502840042, -0.062454771250486374, 0.012162549421191216, -0.007787717971950769, -0.031036948785185814, 0.05021809786558151, 0.010262396186590195, -0.0000926515567698516, 0.00564756290987134, 0.012984402477741241, 0.01760706678032875, 0.00458151800557971, 0.015985164791345596, 0.02418680302798748, -0.010587266646325588, -0.011691140942275524, 0.01954934559762478, 0.03033035434782505, 0.03694119676947594, 0.006421845871955156, 0.031642768532037735, 0.038904815912246704, -0.0016638718079775572, -0.03786696866154671, 0.01000478770583868, -0.037903446704149246, -0.034383561462163925, -0.04669996723532677, -0.03509996086359024, 0.0004978652577847242, -0.029077375307679176, 0.01239846833050251, -0.006910498719662428, -0.06192437559366226, -0.030623266473412514, -0.018287723883986473, -0.006580663844943047, 0.02222382463514805, 0.03197531774640083, 0.029729491099715233, 0.04482747241854668, 0.027664946392178535, 0.002979939803481102, -0.012129109352827072, 0.012279605492949486, 0.00815151073038578, 0.014796781353652477, 0.02766491286456585, 0.021415667608380318, -0.009542456828057766, -0.03596045821905136, 0.04032318666577339, -0.0011053108610212803, -0.06971457600593567, 0.007402318529784679, -0.016370143741369247, -0.04523404687643051, 0.006971190217882395, -0.006112008821219206, 0.015519076958298683, -0.005207937676459551, 0.056501757353544235, -0.032388489693403244, -0.029441600665450096, 0.022927982732653618, -0.0015523353358730674, -0.021268831565976143, 0.01104261539876461, 0.015778077766299248, 0.0367279127240181, 0.024074703454971313, 0.014605086296796799, 0.022789282724261284, 0.013109114021062851, -0.027891861274838448, -0.002396796364337206, 0.006523451302200556, -0.06457746028900146, -0.05188619717955589, -0.0014475766802206635, 0.055790241807699203, -0.03195098042488098, -0.06846228241920471, 0.012752176262438297, 0.0014779340708628297, -0.018138624727725983, 0.007680538110435009, 0.00693861348554492, 0.0021732926834374666, -0.016809877008199692, 0.047201793640851974, -0.009072866290807724, 0.050508834421634674, -0.004234015010297298, -0.024259747937321663, -0.013546695001423359, 0.027803124859929085 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
# Introducing Decision Transformers on Hugging Face 🤗 At Hugging Face, we are contributing to the ecosystem for Deep Reinforcement Learning researchers and enthusiasts. Recently, we have integrated Deep RL frameworks such as Stable-Baselines3. And today we are happy to announce that we integrated the Decision Transformer, an Offline Reinforcement Learning method, into the 🤗 transformers library and the Hugging Face Hub. We have some exciting plans for improving accessibility in the field of Deep RL and we are looking forward to sharing them with you over the coming weeks and months. - What is Offline Reinforcement Learning? - Introducing Decision Transformers - Using the Decision Transformer in 🤗 Transformers - Conclusion - What's next? - References
[ 0.004248434212058783, -0.08124013245105743, 0.02936573512852192, 0.007446326781064272, 0.011908221989870071, 0.0739896148443222, 0.01999906823039055, 0.05644667521119118, -0.057537466287612915, -0.05738728120923042, -0.06622286140918732, 0.06319216638803482, -0.030642319470643997, 0.06791731715202332, 0.020997632294893265, -0.07880903035402298, 0.018462607637047768, -0.027221156284213066, -0.013332340866327286, 0.032849233597517014, -0.02610432542860508, -0.0569877065718174, -0.016899675130844116, -0.01887197233736515, 0.026890181005001068, -0.09761179238557816, 0.04195469617843628, -0.03576495870947838, 0.01925581321120262, 0.027086317539215088, -0.06429238617420197, -0.05619805306196213, -0.002484304830431938, -0.04859648272395134, 0.0024917381815612316, 0.022311026230454445, -0.10585393011569977, -0.040419481694698334, 0.034393440932035446, -0.003994107246398926, 0.014618570916354656, 0.025562243536114693, -0.062035202980041504, 0.028311077505350113, 0.05588948726654053, -0.05056926980614662, -0.18130221962928772, 0.06358303129673004, -0.024771815165877342, -0.03294506296515465, -0.052022095769643784, 0.10329059511423111, -0.011756476946175098, -0.012194487266242504, 0.015487950295209885, -0.020877297967672348, -0.052458230406045914, -0.06022294610738754, 0.04139429330825806, 0.01187854539602995, 0.030865369364619255, 0.032593753188848495, 0.0321735180914402, 0.06319741904735565, 0.00762935122475028, 0.010279717855155468, 0.0016689643962308764, -0.07341434061527252, -0.03614570200443268, -0.024270324036478996, 0.04609101265668869, 0.016097882762551308, -0.026319030672311783, -0.011320856399834156, -0.006080309394747019, 0.03600086271762848, -0.03228616714477539, 0.0957508459687233, 0.022306235507130623, 0.04822017624974251, 0.01334646251052618, -0.01417128462344408, 0.04366671293973923, 0.05442975088953972, 0.03340969234704971, 0.06690548360347748, 0.04856990650296211, -0.07413272559642792, -0.05763164907693863, 0.11188646405935287, -0.05664128437638283, -0.08702912926673889, -0.008519960567355156, -0.03418959304690361, 0.12703031301498413, -0.03030894510447979, 0.007440966088324785, 0.007366348057985306, -0.06209990382194519, -0.0748300850391388, 0.045572735369205475, -0.06272184103727341, 0.06601433455944061, -0.08135374635457993, 0.010979875922203064, 0.021968480199575424, 0.0066850618459284306, -0.09658027440309525, 0.013185210525989532, 0.02187868021428585, 0.003261290490627289, -0.07244185358285904, 0.04180184006690979, 0.08917172998189926, -0.10240146517753601, 0.07168462127447128, -0.02821599505841732, -0.01657841168344021, -0.014274871908128262, 0.06401251256465912, 0.0030702603980898857, 0.08028607070446014, 0.01293118204921484, -0.002203464275225997, -0.009539270773530006, 0.05237907916307449, -0.008334056474268436, -0.027834452688694, 0.03812582045793533, 0.011876302771270275, 0.05041893944144249, -0.018680952489376068, 0.013855313882231712, -0.022214200347661972, -0.035871364176273346, -0.09694051742553711, 0.045592959970235825, -0.05395711958408356, 0.0022558278869837523, -0.00651695067062974, -0.03190121054649353, 0.012568516656756401, 0.016379613429307938, -0.011569784954190254, 0.04996059462428093, -0.03186911344528198, -0.07991531491279602, 0.04902941733598709, -0.006944999564439058, 0.01758982427418232, -0.043064188212156296, 0.010152245871722698, -0.038855552673339844, -0.05726589262485504, -0.05111781507730484, 0.013883830048143864, -0.03581888973712921, -0.04065245762467384, -0.056930504739284515, -0.022647986188530922, -0.04907585680484772, 0.006710966117680073, -0.0754130408167839, -0.006169825792312622, 0.03116786479949951, -0.016112815588712692, 0.014775125309824944, -0.00799548625946045, 0.04429365694522858, 0.0182338897138834, -0.007720726542174816, -0.0840056762099266, 0.02044193632900715, -0.024539006873965263, -0.0073664262890815735, -0.005440031178295612, -0.005252480041235685, 0.0565166212618351, 0.016508566215634346, -0.01861034706234932, -0.060690056532621384, 0.008740046992897987, 0.054126471281051636, 0.01988326385617256, 0.058600470423698425, -0.04487134516239166, 0.04799915477633476, 0.0183531753718853, -0.0023692708928138018, 0.03244514390826225, -0.015261424705386162, 0.04052899777889252, 0.06209705024957657, -0.010250138118863106, 0.03528855741024017, -0.014882207848131657, -0.057533156126737595, 0.12454428523778915, 0.026172660291194916, 0.0532456636428833, 0.04597559571266174, -0.05998016148805618, 0.014987015165388584, -0.06108687072992325, 0.0012326054275035858, 0.028838863596320152, -0.0032330339308828115, -0.04526887089014053, 0.014241846278309822, 0.015214279294013977, 0.02440032921731472, -0.05941394716501236, -0.010299550369381905, -0.05454413220286369, -0.010217146947979927, -0.07191002368927002, -0.033884234726428986, 0.07077954709529877, 0.02144218049943447, -0.006716064643114805, 0.1244029775261879, -0.013941018842160702, -0.03199413791298866, -0.012873418629169464, -0.011143766343593597, 0.03194262087345123, 0.06768688559532166, 0.03129079192876816, 0.04239320382475853, -0.024858135730028152, -0.018435755744576454, -0.0345868319272995, -0.05095980316400528, -0.014740466140210629, 0.001857637776993215, -0.056554753333330154, -0.030698426067829132, -0.020141351968050003, -0.002282259054481983, 0.05499223247170448, -0.03726527839899063, -0.03729037567973137, 0.07544004917144775, 0.07693568617105484, 0.025190111249685287, 0.00352454069070518, 0.04612427577376366, 0.04959673061966896, 0.0031904573552310467, 0.007093198597431183, -0.09896236658096313, 0.018574396148324013, 0.02284306474030018, -0.010795719921588898, 0.0459887757897377, 0.07244408130645752, 0.021515903994441032, 0.02566768042743206, -0.0010745517211034894, 0.06598645448684692, 0.010060662403702736, 0.0009845055174082518, -0.03129563480615616, -0.03486287593841553, -0.021763550117611885, -0.06151438504457474, -0.011530744843184948, 0.03164485841989517, -0.0035646480973809958, 0.008796588517725468, 0.0162265133112669, -0.048875901848077774, 0.00814752746373415, 0.011059354990720749, 0.013243432156741619, 0.025239432230591774, 0.059239041060209274, 0.003225059248507023, -0.024828175082802773, -0.016322728246450424, -0.0214304830878973, -0.0038184334989637136, 0.04714614525437355, 0.03334752470254898, 0.028478631749749184, 0.03867155313491821, -0.0027282852679491043, -0.009253144264221191, 0.011625745333731174, -0.0037167903501540422, 0.05007966607809067, 0.01562674343585968, 0.011281541548669338, -0.026786161586642265, 0.005219325888901949, -0.0017073717899620533, 0.006468636449426413, -0.010104903019964695, 0.0226889718323946, 0.02039184607565403, -0.01159423403441906, 0.013909611850976944, 0.02329016476869583, 0.0014397914055734873, 0.01494181714951992, 0.02183511108160019, 0.033516775816679, 0.02248856984078884, -0.09446664154529572, -0.036529507488012314, -0.03101719543337822, 0.03664933517575264, -0.005724033340811729, -0.044790931046009064, 0.0031911195255815983, 0.004968993831425905, 0.0014331612037494779, 0.021508369594812393, -0.0033619164023548365, -0.011127988807857037, 0.020133521407842636, 0.00749778188765049, -0.03253330662846565, -0.021942922845482826, 0.009378758259117603, 0.005097659770399332, 0.026949383318424225, 0.027708807960152626, -0.04141959920525551, 0.030471917241811752, -0.009881933219730854, 0.023723045364022255, -0.01079416461288929, -0.032902318984270096, 0.04191596806049347, 0.010421982035040855, 0.0011650263331830502, -0.02238321863114834, 0.02281567081809044, -0.0008418185170739889, -0.02564374916255474, 0.021449266001582146, -0.04405226185917854, 0.00903764832764864, 0.0278057549148798, 0.012558121234178543, 0.04250865429639816, 0.03597322478890419, -0.00617202278226614, 0.0017231447855010629, 0.0006616070168092847, -0.02409970387816429, 0.021642548963427544, 0.005633498542010784, 0.021280303597450256, 0.0008810376166366041, 0.004185836296528578, -0.02692646160721779, -0.015823950991034508, 0.006496102083474398, -0.0015506326453760266, 0.00692492350935936, 0.01308502908796072, -0.011826882138848305, -0.03158833459019661, 0.011025109328329563, -0.0005818216595798731, -0.00035364890936762094, -0.05082019045948982, 0.013277445919811726, -0.007683770731091499, -0.02980785258114338, 0.005995176732540131, 0.026942919939756393, 0.03158397600054741, -0.019878661260008812, -0.004162028897553682, 0.01439198199659586, 0.008971545845270157, 0.03852114826440811, 0.006818750407546759, 0.010394112206995487, -0.0518258698284626, -0.004162729252129793, 0.021210385486483574, -0.03160412982106209, 0.08703399449586868, -0.007594105787575245, -0.0773986428976059, -0.013849074020981789, -0.03228561952710152, 0.0029560914263129234, 0.009875567629933357, 0.01313888281583786, 0.07367312908172607, 0.0009581177146174014, -0.005746303126215935, 0.02433525025844574, 0.010696006938815117, -0.0460871160030365, -0.0030230677220970392, -0.053241509944200516, -0.018034057691693306, 0.017929434776306152, 0.012012260034680367, 0.00533789349719882, 0.016955068334937096, 0.022528531029820442, 0.020632026717066765, -0.05339011177420616, -0.008410763926804066, 0.007052388973534107, 0.037481874227523804, 0.020279228687286377, 0.004065708722919226, -0.03205706551671028, 0.015126870013773441, 0.0057053398340940475, 0.06587248295545578, -0.021408215165138245, -0.03352968022227287, 0.012915773317217827, 0.06252846866846085, 0.0016622170805931091, 0.018358083441853523, -0.015940697863698006, -0.03356675058603287, 0.026240447536110878, -0.02362377941608429, -0.02394990622997284, 0.028971249237656593, 0.04237731918692589, -0.005545818712562323, -0.03084658458828926, 0.02094115875661373, 0.03474980592727661, 0.010096288286149502, -0.008507959544658661, -0.020256854593753815, -0.019182374700903893, 0.03136336803436279, 0.01290455088019371, 0.012185881845653057, 0.013065324164927006, -0.011241748929023743, 0.03458861634135246, -0.046529289335012436, 0.0017406778642907739, -0.027813958004117012, -0.007870078086853027, 0.07594268023967743, -0.03821564465761185, 0.016101926565170288, 0.0011088328901678324, -0.04434710368514061, 0.010624881833791733, -0.025339804589748383, 0.0553692951798439, 0.05664774402976036, -0.02338554710149765, -0.0382557138800621, 0.01689309999346733, 0.03475980460643768, -0.02433263137936592, -0.015067243948578835, 0.021331945434212685, 0.001703125424683094, -0.0021745741833001375, -0.03884635493159294, 0.005229111295193434, 0.004182071890681982, 0.032099176198244095, 0.03800221532583237, 0.0094255730509758, -0.03753133490681648, -0.036358922719955444, 0.013000172562897205, -0.012165122665464878, 0.002094223164021969, 0.0045310137793421745, 0.014959301799535751, -0.008390695787966251, -0.032285142689943314, 0.055673517286777496, 0.02847098372876644, -0.012704430148005486, -0.03518527373671532, -0.003458576975390315, -0.027333956211805344, -0.001870873849838972, -0.0003619158233050257, -0.022149784490466118, 0.015198051929473877, -0.004939649719744921, 0.04391639307141304, 0.0766008198261261, -0.005522619467228651, 0.00012194499868201092, 0.03865451365709305, 0.014515617862343788, -0.020875928923487663, -0.05040613189339638, 0.014304522424936295, -0.01731070876121521, 0.02303384616971016, 0.039304424077272415, -0.002966982079669833, 0.004223245196044445, 0.01509998831897974, 0.024757180362939835, -0.010873320512473583, 0.027355816215276718, 0.016284912824630737, -0.00868228916078806, -0.028603054583072662, 0.012288510799407959, 0.015196963213384151, -0.03773495554924011, 0.0405009426176548, -0.016181830316781998, 0.02286367118358612, -0.013566051609814167, -0.00460401875898242, -0.012974546290934086, -0.027847638353705406, -0.009444543160498142, 0.013201985508203506, 0.058590199798345566, -0.0370386578142643, -0.02451888471841812, -0.027725988999009132, -0.0036337892524898052, 0.01889995113015175, -0.07549683004617691, 0.02576310560107231, 0.021332191303372383, 0.007403587456792593, 0.02122657559812069, 0.022510459646582603, 0.00454637361690402, 0.05090615525841713, 0.002756476867944002, 0.03400484099984169, -0.016800569370388985, -0.05991161987185478, 0.0320313461124897, 0.04119597375392914, -0.05236624553799629, 0.004976561758667231, -0.003889883402734995, -0.04690249264240265, -0.014980673789978027, -0.05763356387615204, 0.06348761171102524, 0.05286343768239021, -0.0018812891794368625, -0.0036006781738251448, 0.0030244148802012205, 0.02662758342921734, 0.025069592520594597, -0.025579681620001793, -0.01044269185513258, 0.009924933314323425, 0.05463080108165741, 0.009647058323025703, 0.003913332242518663, -0.001995318103581667, 0.018703140318393707, 0.011607035994529724, -0.04729209467768669, 0.005295688286423683, 0.04388187825679779, -0.021891679614782333, 0.0025133988820016384, -0.0042488654144108295, -0.018307004123926163, -0.000583716609980911, -0.004427784588187933, -0.0049631488509476185, 0.043689750134944916, -0.0001083455208572559, 0.009709253907203674, -0.02517000399529934, -0.03704851493239403, 0.018699608743190765, 0.05530017241835594, -0.02947252057492733, 0.026021357625722885, 0.013730073347687721, 0.02596687152981758, 0.025196360424160957, 0.0007684781448915601, 0.024142863228917122, 0.003016448812559247, 0.04857168346643448, -0.024635575711727142, 0.03222951665520668, 0.06685449182987213, -0.03018300049006939, -0.043053507804870605, -0.0010816147550940514, -0.040762729942798615, -0.03294651210308075, 0.005808842834085226, 0.03505949303507805, 0.002234742511063814, 0.00831810012459755, -0.03195968270301819, 0.0072971829213202, 0.034685924649238586, 0.0256486963480711, -0.005874995607882738, 0.037052106112241745, 0.06425640732049942, 0.057183489203453064, 0.05318000540137291, -0.007903384044766426, -0.007175522856414318, -0.012477867305278778, 0.03945942595601082, -0.006716799456626177, 0.04849443584680557, -0.014117434620857239, 0.010662579908967018, -0.013652191497385502, 0.008578077889978886, -0.06768593937158585, 0.013171200640499592, -0.012146729044616222, -0.00762178935110569, 0.018280187621712685, 0.02692180499434471, -0.037028469145298004, 0.03384283930063248, -0.00038673955714330077, -0.0025269638281315565, -0.02501487173140049, -0.02358715608716011, -0.0005762911750935018, 0.04655848816037178, 0.02721710130572319, -0.0062601822428405285, 0.022249633446335793, -0.0010385956848040223, 0.03724996745586395, 0.004667819943279028, -0.011794528923928738, -0.005157437175512314, -0.016485534608364105, -0.008031497709453106, -0.029046272858977318, -0.010135821998119354, -0.03349782153964043, -0.0016889336984604597, 0.008162406273186207, 0.050697918981313705, 0.008222769014537334, 0.04160269349813461, 0.01872858591377735, 0.04165499284863472, -0.019809719175100327, 0.02051042579114437, 0.012543455697596073, -0.021499058231711388, -0.008853723295032978, -0.05734334886074066, 0.01095471903681755, -0.012690587900578976, 0.03187303617596626, 0.05986263230443001, 0.04910650476813316, -0.04871363937854767, -0.005697192624211311, -0.008115602657198906, -0.003587591229006648, 0.009285199455916882, 0.02560112439095974, 0.01052909716963768, -0.037346288561820984, 0.010552847757935524, 0.023656651377677917, 0.04176050424575806, -0.005943380296230316, 0.0433308407664299, 0.058520425111055374, -0.0011642433237284422, -0.034919898957014084, 0.022815855219960213, 0.026761865243315697, 0.029678715392947197, 0.044832538813352585, 0.03278772532939911, 0.023983942344784737, 0.004996083676815033, -0.07604645192623138, -0.002069018082693219, -0.01697142980992794, -0.009059522300958633, -0.020085688680410385, -0.020709404721856117, 0.02484809048473835, -0.005376843735575676, 0.0058618998154997826, 0.0457204207777977, -0.018216058611869812, -0.009315250441432, -0.028216462582349777, -0.023192457854747772, -0.00997974444180727, -0.011351384222507477, 0.01884445920586586, 0.03184477612376213, 0.04810182377696037, -0.018148018047213554, 0.0018201499478891492, 0.008816614747047424, -0.030630772933363914, 0.015360440127551556, 0.034990910440683365, -0.04941411688923836, -0.0016115786274895072, -0.07786083221435547, -0.07491986453533173, 0.007028385531157255, -0.07863274961709976, 0.010504390113055706, 0.03174661099910736, -0.017109334468841553, -0.009996091015636921, -0.0017814823659136891, 0.005584356840699911, -0.003447009017691016, 0.05621788278222084, -0.03662906214594841, -0.04275479540228844, -0.005080066155642271, -0.027045972645282745, -0.023197675123810768, 0.01786118373274803, -0.06916328519582748, 0.028386298567056656, 0.0003541132900863886, -0.00024075154215097427, -0.03515109792351723, -0.003963294439017773, -0.010174237191677094, -0.036834102123975754, 0.00699581578373909, -0.02882044017314911, -0.07804808765649796, 0.013845888897776604, 0.03355836868286133, -0.007827192544937134, -0.04219244047999382, 0.018743891268968582, 0.0055402289144694805, -0.0016213138587772846, 0.012602769769728184, 0.012249414809048176, 0.00007789004303049296, 0.0014098194660618901, 0.0009250360890291631, -0.013206446543335915, 0.02181631699204445, -0.020283866673707962, -0.02972474694252014, -0.052168022841215134, -0.02812090329825878 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
What is Offline Reinforcement Learning? Deep Reinforcement Learning (RL) is a framework to build decision-making agents. These agents aim to learn optimal behavior (policy) by interacting with the environment through trial and error and receiving rewards as unique feedback. The agent’s goal is to maximize its cumulative reward, called return. Because RL is based on the reward hypothesis: all goals can be described as the maximization of the expected cumulative reward. Deep Reinforcement Learning agents learn with batches of experience. The question is, how do they collect it?: A comparison between Reinforcement Learning in an Online and Offline setting, figure taken from this post In online reinforcement learning, the agent gathers data directly: it collects a batch of experience by interacting with the environment. Then, it uses this experience immediately (or via some replay buffer) to learn from it (update its policy). But this implies that either you train your agent directly in the real world or have a simulator. If you don’t have one, you need to build it, which can be very complex (how to reflect the complex reality of the real world in an environment?), expensive, and insecure since if the simulator has flaws, the agent will exploit them if they provide a competitive advantage. On the other hand, in offline reinforcement learning, the agent only uses data collected from other agents or human demonstrations. It does not interact with the environment. The process is as follows: 1. Create a dataset using one or more policies and/or human interactions. 2. Run offline RL on this dataset to learn a policy This method has one drawback: the counterfactual queries problem. What do we do if our agent decides to do something for which we don’t have the data? For instance, turning right on an intersection but we don’t have this trajectory. There’s already exists some solutions on this topic, but if you want to know more about offline reinforcement learning you can watch this video
[ 0.07064077258110046, -0.07588274776935577, 0.025407390668988228, 0.056059855967760086, 0.09257197380065918, 0.0635487288236618, 0.02131054736673832, 0.0812072679400444, 0.0026902155950665474, -0.06385692209005356, -0.12810449302196503, 0.06075957044959068, -0.04699985310435295, -0.01468255277723074, 0.026520825922489166, 0.0030829780735075474, 0.052605729550123215, -0.04445355013012886, 0.023531347513198853, 0.009273477829992771, -0.0434562973678112, 0.03136008232831955, 0.0011833213502541184, -0.009288747794926167, -0.003063020994886756, -0.08246003091335297, 0.027631819248199463, -0.041967228055000305, -0.04658215865492821, 0.0002899969113059342, -0.0796976163983345, -0.03598656505346298, 0.011326382867991924, -0.010565117932856083, -0.008538726717233658, -0.06461629271507263, -0.07597851753234863, 0.023080626502633095, 0.02080501988530159, -0.04945093393325806, 0.008005013689398766, 0.006337638478726149, -0.0853370949625969, 0.04065927863121033, -0.014941048808395863, -0.007805449888110161, -0.2049150913953781, 0.028533173725008965, -0.020689617842435837, -0.08071345835924149, -0.08825728297233582, 0.09714385867118835, -0.046504389494657516, -0.0200410857796669, -0.03205293416976929, 0.012475773692131042, 0.013272958807647228, -0.022246597334742546, 0.045574210584163666, -0.0011873578187078238, 0.07939599454402924, 0.06551345437765121, 0.03812772408127785, 0.005874273832887411, -0.012153792195022106, -0.010882854461669922, 0.05260682851076126, -0.03153734654188156, -0.022070657461881638, -0.04596523195505142, 0.00047304952749982476, -0.04012792557477951, -0.058627232909202576, 0.030422983691096306, -0.023019706830382347, -0.027093691751360893, -0.04118424654006958, 0.08096221089363098, 0.025960830971598625, 0.03708433359861374, 0.009790430776774883, 0.00003246681080781855, 0.025526143610477448, 0.014494871720671654, 0.05836193263530731, -0.016765914857387543, -0.010109120979905128, -0.015473355539143085, -0.04714234545826912, 0.08344035595655441, -0.06373802572488785, -0.06607645750045776, 0.030370039865374565, -0.0011384026147425175, 0.042782094329595566, -0.07935748249292374, 0.014578073285520077, 0.012226260267198086, -0.053054627031087875, -0.010337813757359982, -0.009630972519516945, -0.05871932953596115, 0.0489606037735939, -0.039775531738996506, -0.02033844031393528, 0.08433561772108078, 0.010472841560840607, -0.05205119773745537, -0.061468660831451416, 0.03487734496593475, -0.024221161380410194, 0.02846178039908409, 0.005245494190603495, 0.040281180292367935, -0.09531231969594955, 0.02600628323853016, -0.0292579997330904, 0.04316703975200653, -0.013874159194529057, 0.029496388509869576, -0.022733323276042938, 0.06784176826477051, 0.04281574487686157, -0.019081896170973778, -0.03670942783355713, 0.039920955896377563, 0.001910280785523355, -0.012384521774947643, -0.007347672712057829, -0.007541791535913944, 0.08772049099206924, 0.021671930328011513, -0.056465648114681244, 0.057369980961084366, -0.025869762524962425, -0.02110307104885578, 0.012873969972133636, -0.009253199212253094, 0.02602296881377697, 0.014101068489253521, -0.09118972718715668, -0.02340068109333515, 0.04943405091762543, 0.03166644275188446, 0.05997626110911369, -0.053409118205308914, -0.012478076852858067, -0.03449353575706482, -0.03936395421624184, -0.02977594919502735, -0.033854104578495026, 0.025485079735517502, 0.014982325956225395, -0.11631614714860916, -0.047014493495225906, 0.012284007854759693, -0.04145107418298721, -0.0319514237344265, -0.025369491428136826, 0.016991227865219116, -0.04326656088232994, 0.011872470378875732, -0.011506017297506332, 0.02175375632941723, 0.04136184602975845, 0.03148287907242775, -0.006774231791496277, 0.025529727339744568, -0.032755933701992035, 0.01000891998410225, -0.0469188317656517, -0.022426767274737358, 0.05968319997191429, -0.05091514065861702, 0.05128951370716095, 0.020456429570913315, -0.016348712146282196, 0.018772777169942856, 0.026577109470963478, 0.008122462779283524, -0.04746592789888382, -0.02405248023569584, 0.02786065824329853, -0.019039321690797806, 0.055996835231781006, -0.06903640925884247, 0.05277768895030022, 0.013496756553649902, 0.026448937132954597, 0.024144593626260757, -0.05418994277715683, 0.0332450196146965, 0.06818301975727081, -0.07914931327104568, 0.024075940251350403, -0.12000855803489685, -0.03960423544049263, 0.17386123538017273, 0.026630010455846786, 0.10143925994634628, 0.05357702821493149, 0.004670834168791771, 0.0012472360394895077, -0.044274043291807175, -0.016603892669081688, 0.04050737991929054, 0.07837078720331192, -0.06793761998414993, 0.018032776191830635, -0.01708398200571537, -0.02138420380651951, -0.05745714157819748, -0.011325012892484665, -0.06701431423425674, -0.008718864060938358, -0.019293008372187614, 0.00028622683021239936, 0.0600033700466156, 0.05307386443018913, -0.013176471926271915, 0.15621866285800934, -0.0751146525144577, -0.03413700684905052, 0.0673842802643776, -0.04162437096238136, 0.004119603894650936, 0.025123560801148415, -0.03646034747362137, 0.10745489597320557, -0.002530028112232685, -0.03711859881877899, -0.026253482326865196, 0.010658977553248405, 0.029912594705820084, 0.0019607299473136663, -0.03636680543422699, -0.015451790764927864, -0.022323008626699448, -0.022267257794737816, -0.002691306872293353, -0.021445203572511673, -0.007489990442991257, 0.06992164999246597, 0.08306661993265152, 0.05417025834321976, -0.04447722062468529, 0.05881607159972191, 0.04575684294104576, -0.02138126827776432, -0.03488666191697121, -0.07878554612398148, 0.005847868509590626, -0.006446460727602243, -0.00524212745949626, 0.03331778571009636, 0.028906431049108505, 0.0017991666682064533, 0.02102896198630333, 0.011777492240071297, 0.05058179795742035, 0.0034869052469730377, -0.030737800523638725, -0.01707223244011402, -0.007000350393354893, -0.0023622731678187847, -0.08157618343830109, 0.002452903427183628, 0.006469397339969873, 0.014109431765973568, 0.0302392840385437, 0.04895705729722977, 0.005708587355911732, -0.022611772641539574, 0.026766784489154816, -0.015742216259241104, 0.03592037782073021, 0.027939999476075172, -0.03431234136223793, 0.0033448857720941305, -0.03575265035033226, -0.017721908167004585, -0.005087563302367926, 0.0485132597386837, 0.04463260993361473, 0.04571770504117012, -0.01472889818251133, 0.00030830749892629683, 0.02415863610804081, -0.016428938135504723, 0.057139791548252106, 0.03478061407804489, 0.0009562410414218903, -0.02905663102865219, 0.008472633548080921, -0.0008534500375390053, -0.014632439240813255, 0.013265218585729599, -0.0035310795065015554, 0.011147319339215755, -0.009687266312539577, 0.003980367910116911, -0.023951897397637367, -0.006271782331168652, -0.0010577250504866242, 0.019138365983963013, 0.043094705790281296, 0.028735633939504623, 0.03925293684005737, -0.11932195723056793, -0.017318464815616608, 0.015073638409376144, 0.03436115011572838, 0.002080304082483053, -0.03187186270952225, 0.017150474712252617, 0.024252010509371758, -0.01612112484872341, -0.005232590716332197, -0.02440468594431877, 0.010673732496798038, 0.01331761572510004, 0.013673079200088978, -0.0196638535708189, 0.0010211733169853687, 0.03738158941268921, 0.0055957091972231865, -0.018914731219410896, 0.014212705194950104, -0.03223942592740059, 0.059461887925863266, 0.0069837612099945545, 0.02607482671737671, -0.04064885526895523, -0.00936628133058548, 0.00691854115575552, 0.028239117935299873, 0.006790716201066971, -0.012757924385368824, -0.011371850036084652, -0.011013474315404892, -0.042142100632190704, 0.03846031799912453, -0.02905989997088909, -0.00504807336255908, 0.013168505392968655, 0.006236721761524677, 0.011557720601558685, 0.06865546107292175, -0.026465551927685738, -0.01875031553208828, 0.00460861949250102, -0.01289975643157959, 0.010802171193063259, 0.03206441178917885, -0.017940504476428032, 0.014881229028105736, 0.017483467236161232, -0.01547461748123169, -0.01810237392783165, 0.0006546573713421822, 0.004966627806425095, 0.030441071838140488, 0.0009726432035677135, -0.02428051270544529, -0.0039800857193768024, 0.007016153074800968, 0.03909960016608238, 0.013010283932089806, -0.02456241473555565, 0.026342906057834625, -0.00616783881559968, -0.03436717391014099, -0.0240491796284914, 0.014097379520535469, 0.039718516170978546, -0.017991935834288597, -0.011298617348074913, 0.023343469947576523, -0.000670641427859664, 0.028835833072662354, 0.049446213990449905, 0.008281731978058815, -0.01298757828772068, 0.014039536006748676, 0.006126631051301956, -0.025126993656158447, 0.10040275752544403, 0.035116296261548996, -0.014761834405362606, -0.020604077726602554, -0.04940759390592575, 0.0006975286523811519, 0.020579803735017776, -0.01286589726805687, 0.048630282282829285, 0.001221543294377625, -0.0193085428327322, 0.047559626400470734, 0.018892280757427216, -0.011791755445301533, 0.051934000104665756, 0.019740048795938492, 0.0022085336968302727, 0.042060770094394684, 0.03771097958087921, -0.0038823713548481464, 0.02921042963862419, 0.02687663771212101, 0.035861771553754807, -0.026011215522885323, -0.020427413284778595, -0.006433591246604919, 0.02389921247959137, 0.025498464703559875, -0.029901990666985512, -0.0029961871914565563, -0.022008690983057022, -0.0045355842448771, 0.001025675912387669, 0.016312696039676666, -0.02061871625483036, -0.0011370721040293574, 0.05049623176455498, 0.046288710087537766, -0.023716207593679428, 0.021900851279497147, -0.026211924850940704, 0.017249636352062225, -0.05628518387675285, 0.007390704937279224, -0.01626848429441452, 0.029954640194773674, 0.0005089262849651277, -0.014010753482580185, 0.011516674421727657, 0.0193459652364254, -0.019833242520689964, -0.025134632363915443, -0.007511630188673735, 0.003080132184550166, 0.02326020784676075, -0.016661712899804115, 0.02758614346385002, -0.02942650020122528, -0.004042389802634716, 0.010061657987535, -0.037060756236314774, -0.02883395366370678, 0.01661132089793682, -0.02947833202779293, 0.03209127485752106, -0.03050767071545124, 0.018806898966431618, 0.03163495287299156, -0.018822433426976204, -0.010153300128877163, -0.025680460035800934, 0.016212182119488716, 0.0514439195394516, -0.021890684962272644, -0.061504703015089035, -0.00340479938313365, 0.02411733567714691, -0.03142387419939041, -0.0260817538946867, -0.002038936596363783, -0.0026187582407146692, 0.009646839462220669, -0.03333903104066849, -0.014643114060163498, -0.007682689931243658, 0.02432110905647278, 0.03126459941267967, -0.006121467798948288, -0.01981733925640583, -0.018661262467503548, 0.030156774446368217, -0.01869344897568226, -0.005015932489186525, 0.003945563454180956, 0.012553214095532894, -0.01976959779858589, 0.023492632433772087, -0.009249171242117882, 0.043734196573495865, -0.0037887971848249435, -0.024560175836086273, 0.035254426300525665, -0.04119057208299637, 0.006469248794019222, 0.006576164625585079, -0.022339388728141785, 0.01630910485982895, -0.014102467335760593, 0.09186047315597534, 0.030424412339925766, 0.014335990883409977, 0.050060831010341644, 0.017282634973526, 0.029912395402789116, 0.02883315458893776, -0.0754496306180954, 0.03525250032544136, 0.03141951933503151, 0.004359100479632616, 0.030831143260002136, 0.00357891246676445, 0.018405983224511147, -0.011683554388582706, 0.011148771271109581, 0.0075837657786905766, 0.023966597393155098, 0.03438251465559006, 0.007017740048468113, -0.03919142857193947, 0.00649275304749608, -0.021544858813285828, -0.003705186303704977, -0.009008390828967094, -0.044417642056941986, -0.022610433399677277, 0.0016338269924744964, -0.0299745574593544, -0.009276460856199265, -0.034956563264131546, 0.03339950367808342, 0.019652174785733223, 0.04716387018561363, -0.0427887924015522, -0.008929773233830929, -0.05024221912026405, 0.022451357915997505, 0.011061330325901508, -0.057545337826013565, -0.011707841418683529, 0.0035991088952869177, 0.01782952807843685, 0.02514377422630787, 0.04492590203881264, 0.025072293356060982, 0.04681111499667168, -0.022474123165011406, 0.02935509756207466, 0.01129517238587141, -0.03638297691941261, 0.009109082631766796, 0.014593414030969143, -0.053736355155706406, -0.06026189774274826, -0.007352159824222326, -0.01493688952177763, -0.032091330736875534, -0.019816594198346138, 0.024022048339247704, 0.025184491649270058, -0.039628949016332626, -0.01227548997849226, -0.007244490087032318, 0.019568979740142822, -0.018300538882613182, 0.011833335272967815, 0.0006861563888378441, 0.03152544051408768, 0.052089184522628784, 0.041544582694768906, 0.011673009023070335, -0.0063918097876012325, 0.03115001693367958, 0.0043579586781561375, -0.04026496037840843, 0.016808142885565758, 0.022416673600673676, -0.0067756883800029755, 0.02167210727930069, 0.007648684084415436, -0.02158910594880581, 0.01421341672539711, 0.03936762735247612, 0.012732820585370064, 0.05218697339296341, 0.01676676794886589, 0.03768555819988251, -0.018782000988721848, -0.011558165773749352, 0.0008436006028205156, 0.036531515419483185, -0.03733743354678154, 0.05709051340818405, -0.013300392776727676, 0.03776460140943527, 0.010809892788529396, -0.006953059229999781, 0.026765111833810806, 0.03019980899989605, 0.05854180455207825, -0.01605740562081337, 0.061364445835351944, 0.02098708041012287, -0.01640322431921959, -0.043575357645750046, 0.00493765901774168, 0.0051279328763484955, -0.0483655110001564, 0.001472445554099977, 0.01763046160340309, -0.01208409946411848, 0.03808668628334999, -0.029575461521744728, -0.014999842271208763, 0.018755588680505753, 0.000902696221601218, 0.01645078882575035, 0.010692344978451729, 0.05761963501572609, 0.03558904305100441, 0.033421143889427185, 0.04260403290390968, -0.027309956029057503, 0.011302478611469269, 0.04703562706708908, 0.011389311403036118, 0.03520273044705391, -0.02176717296242714, -0.012445681728422642, 0.022889073938131332, -0.03189493343234062, -0.01422232948243618, 0.0029604448936879635, 0.023669464513659477, 0.0030456928070634604, 0.029789285734295845, 0.008519398048520088, -0.015774527564644814, 0.008440852165222168, -0.014035521075129509, 0.002436387352645397, 0.023919062688946724, -0.05237993597984314, -0.008704445324838161, 0.039007894694805145, -0.0023842689115554094, -0.035016193985939026, -0.03882366791367531, 0.004940181504935026, 0.015025170519948006, -0.017094777897000313, 0.012899947352707386, -0.01985589601099491, -0.00863748136907816, 0.008877422660589218, -0.005479919724166393, 0.009235656820237637, -0.04085952788591385, -0.007726822514086962, 0.017415987327694893, 0.024232279509305954, -0.015813415870070457, 0.028452273458242416, 0.005429137963801622, 0.01246748398989439, -0.0056004649959504604, 0.0318150520324707, -0.02556331641972065, -0.019712045788764954, -0.006057350430637598, -0.003125960472971201, -0.006719806231558323, -0.04297349601984024, 0.058245670050382614, 0.00954951997846365, 0.03660409897565842, -0.015552937053143978, 0.014005846343934536, -0.017278192564845085, -0.026603152975440025, 0.0020522435661405325, -0.01956929638981819, 0.026774747297167778, -0.03012114204466343, 0.0038227427285164595, 0.01615520752966404, -0.01259713526815176, -0.024999838322401047, 0.025081364437937737, 0.0069718374870717525, -0.014088908210396767, -0.02377346158027649, 0.017928389832377434, 0.039211105555295944, -0.0011990386992692947, 0.04438000172376633, 0.03729880973696709, 0.034722644835710526, 0.0018466688925400376, -0.07429571449756622, 0.017947454005479813, -0.015182995237410069, 0.023596925660967827, -0.044774215668439865, -0.04770226776599884, -0.012647123076021671, 0.002227600896731019, -0.0036253430880606174, 0.032066937536001205, -0.03404136747121811, -0.01559461373835802, 0.0038752302061766386, 0.011171560734510422, -0.01510052289813757, -0.027655350044369698, 0.016474727541208267, -0.020956112071871758, 0.016936611384153366, -0.017093004658818245, -0.0062686665914952755, -0.016510890796780586, -0.03808845579624176, 0.028949346393346786, 0.055183716118335724, -0.026663262397050858, 0.012119305320084095, -0.05984706059098244, -0.006482175085693598, 0.005503240041434765, 0.0013702651485800743, -0.016241122037172318, 0.050068583339452744, 0.0026769128162413836, 0.011061841621994972, 0.011996367946267128, 0.01680009812116623, -0.0029924693517386913, 0.012512467801570892, -0.05217235907912254, -0.054184816777706146, 0.004757437855005264, 0.007252276409417391, -0.040180765092372894, -0.009391632862389088, -0.06523189693689346, 0.02054496295750141, 0.022894054651260376, 0.020885104313492775, -0.029736215248703957, -0.016799941658973694, -0.007576983422040939, -0.017797324806451797, -0.0003403559676371515, -0.042285483330488205, -0.07076845318078995, -0.004382549785077572, -0.008089279755949974, -0.024180404841899872, -0.032164979726076126, -0.0005326467799022794, 0.003758192528039217, 0.0036331319715827703, 0.041794952005147934, 0.026039499789476395, 0.04882340878248215, 0.02578006498515606, 0.03160502016544342, -0.03427094966173172, 0.06441454589366913, 0.006071313284337521, 0.016327645629644394, -0.017860539257526398, 0.023833975195884705 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
Loading the model Using the Decision Transformer is relatively easy, but as it is an autoregressive model, some care has to be taken in order to prepare the model’s inputs at each time-step. We have prepared both a Python script and a Colab notebook that demonstrates how to use this model. Loading a pretrained Decision Transformer is simple in the 🤗 transformers library: python from transformers import DecisionTransformerModel model_name = "edbeeching/decision-transformer-gym-hopper-expert" model = DecisionTransformerModel.from_pretrained(model_name) ``````
[ 0.020096447318792343, -0.03785916045308113, -0.006092751398682594, 0.023250317201018333, 0.04432192072272301, 0.13781872391700745, 0.011863624677062035, 0.04806917905807495, -0.0027050182688981295, -0.014476380310952663, -0.024847229942679405, 0.055428240448236465, -0.040294136852025986, 0.07696328312158585, 0.0476926751434803, -0.07759082317352295, 0.05459419637918472, -0.038433268666267395, 0.018574144691228867, 0.011475179344415665, -0.014384940266609192, -0.06625187397003174, 0.017572801560163498, 0.02511202171444893, 0.01304713636636734, -0.08492323011159897, -0.0043627419508993626, 0.04150945693254471, -0.05225235968828201, 0.0691184401512146, -0.10951634496450424, -0.013948057778179646, 0.005407219287008047, -0.025298407301306725, -0.024506408721208572, 0.007683015428483486, -0.058088794350624084, -0.020268060266971588, 0.0625421330332756, -0.07408130168914795, -0.007046057842671871, 0.030050983652472496, -0.04440711811184883, 0.03195905685424805, 0.016942495480179787, -0.07538275420665741, -0.16212579607963562, 0.0629531517624855, -0.03652461990714073, -0.06671128422021866, -0.03749694302678108, 0.09912587702274323, 0.0028380888979882, -0.005276122130453587, 0.02280260995030403, -0.00493969302624464, -0.026429980993270874, -0.03442841395735741, -0.00032930553425103426, 0.008689637295901775, 0.05825161933898926, 0.052899666130542755, -0.03218572586774826, 0.03339458629488945, 0.05281566083431244, 0.008092201314866543, 0.007984638214111328, -0.00039390684105455875, -0.04268113523721695, -0.07325469702482224, -0.003261372447013855, -0.057123228907585144, -0.008311771787703037, -0.04767615720629692, -0.033611852675676346, -0.040640078485012054, -0.013496541418135166, 0.08385351300239563, 0.006537493318319321, 0.08665163815021515, 0.042987383902072906, -0.004183019045740366, 0.0353386327624321, 0.05334606394171715, 0.04269862920045853, 0.023037800565361977, 0.007842767983675003, -0.05011632665991783, -0.021898530423641205, 0.08556990325450897, -0.016457857564091682, -0.10222014039754868, -0.07614966481924057, -0.03113364800810814, 0.07763689011335373, -0.052195314317941666, 0.03557693585753441, 0.047558657824993134, -0.011067232117056847, -0.024546252563595772, 0.002432946814224124, -0.04447491466999054, 0.08545339107513428, -0.05382480099797249, 0.01946844719350338, 0.0379236601293087, -0.024619868025183678, -0.0791105106472969, 0.030227646231651306, 0.01490251999348402, -0.016081878915429115, -0.01218587439507246, -0.013578797690570354, 0.09248959273099899, -0.08109825104475021, 0.02247614413499832, 0.057103231549263, -0.006273995153605938, -0.012203985825181007, 0.06425940990447998, -0.044319864362478256, 0.0816248431801796, 0.03589029237627983, -0.01395382359623909, 0.005116708111017942, 0.04806399345397949, 0.013125460594892502, -0.02088065817952156, 0.005778939928859472, 0.020567167550325394, 0.06409329175949097, -0.023192450404167175, 0.07172933965921402, 0.0008957794052548707, -0.015777146443724632, -0.07705054432153702, 0.020859193056821823, -0.018038606271147728, 0.006556658074259758, 0.02599816769361496, -0.03729960322380066, 0.06769860535860062, -0.00011464890849310905, 0.011532041244208813, 0.05656825751066208, -0.026959870010614395, -0.07630854845046997, 0.07374175637960434, 0.020068148151040077, 0.08112146705389023, -0.07944171875715256, 0.07109864801168442, -0.04158768057823181, -0.04621094837784767, -0.01238732784986496, 0.056048523634672165, -0.04426800087094307, -0.02005995810031891, -0.1036858782172203, -0.03081086277961731, 0.05249953269958496, 0.06292261928319931, -0.05118013173341751, 0.01944994367659092, 0.03338371962308884, -0.09346280992031097, 0.03821534663438797, -0.027296708896756172, 0.07824987173080444, -0.02184220217168331, -0.011389551684260368, -0.049795959144830704, 0.04456596076488495, 0.01870099827647209, -0.000625826243776828, 0.012808114290237427, 0.013199000619351864, 0.03637859597802162, 0.0017195794498547912, -0.07307594269514084, -0.050662994384765625, 0.06260756403207779, -0.05495011806488037, 0.008044730871915817, 0.0504644550383091, -0.04977402836084366, 0.006124791689217091, -0.05480647832155228, -0.004222413524985313, 0.053411997854709625, 0.0005640772287733853, -0.034324340522289276, 0.07813163846731186, -0.015987297520041466, 0.03030802495777607, -0.05540354177355766, -0.03475623205304146, 0.07636153697967529, 0.00814402848482132, 0.006692906841635704, 0.057008013129234314, -0.05934786796569824, 0.003607377177104354, -0.07012913376092911, 0.010529505088925362, 0.03080812282860279, -0.00031815629336051643, -0.0708913579583168, 0.08662743866443634, 0.009706524200737476, 0.002270169323310256, -0.07498335838317871, 0.04046536609530449, -0.09830943495035172, -0.012233876623213291, -0.03820279985666275, -0.04673321172595024, 0.053580041974782944, -0.06476829200983047, 0.029483729973435402, 0.14268317818641663, 0.022658713161945343, -0.008990698494017124, -0.07167000323534012, -0.017037849873304367, 0.04738951846957207, 0.05500146001577377, 0.07208676636219025, 0.04167738929390907, -0.1027408242225647, -0.016979090869426727, -0.019063452258706093, 0.004573386162519455, 0.03326268866658211, -0.012562989257276058, -0.04560445621609688, -0.015434379689395428, -0.0029973166529089212, -0.012763661332428455, 0.017700139433145523, 0.022837437689304352, -0.0380687341094017, -0.020878829061985016, 0.04765231907367706, -0.0272856242954731, -0.015717385336756706, 0.02662653662264347, 0.04745930805802345, -0.03902997076511383, -0.00024712210870347917, -0.03439395874738693, -0.013006318360567093, 0.042776089161634445, -0.027832020074129105, 0.01922139897942543, 0.05658705532550812, -0.017642922699451447, 0.004773307126015425, 0.00584107032045722, 0.05923761799931526, -0.0011445896234363317, 0.01825099065899849, -0.0473129078745842, -0.047642238438129425, -0.03431171178817749, -0.03496970236301422, -0.008549332618713379, -0.008701617829501629, 0.018163667991757393, -0.015828819945454597, -0.028393087908625603, -0.023864928632974625, 0.008399270474910736, 0.02663550339639187, 0.019196005538105965, 0.039799489080905914, 0.02635951153934002, -0.016579484567046165, -0.022846069186925888, -0.0070073576644063, 0.0011453786864876747, -0.02849292941391468, 0.03154965862631798, 0.021921329200267792, 0.028284583240747452, -0.0003912924730684608, 0.000014530824046232738, -0.013869650661945343, 0.04155061021447182, 0.020355118438601494, -0.0033093406818807125, 0.03060646541416645, -0.0018498587887734175, -0.01194364856928587, -0.01522490568459034, -0.0000038317980397550855, 0.022990886121988297, -0.005720892921090126, 0.0163564570248127, 0.01788184605538845, -0.00768457492813468, 0.025931064039468765, 0.030999550595879555, -0.0009430971113033593, -0.01633666269481182, 0.009197533130645752, 0.009022966027259827, 0.02728048712015152, -0.10518409311771393, -0.01763620600104332, 0.014863604679703712, -0.01156130712479353, 0.015586340799927711, -0.03951823338866234, 0.04106764867901802, -0.00029531202744692564, -0.025149457156658173, 0.00729228463023901, -0.020626336336135864, -0.012541783973574638, 0.023576924577355385, 0.02885562740266323, -0.0029529971070587635, -0.03780993074178696, -0.0002583475143183023, 0.027408171445131302, 0.019131192937493324, 0.028787707909941673, -0.06910873204469681, 0.05122113972902298, -0.02669834904372692, 0.016334228217601776, 0.004727089777588844, 0.02396637201309204, 0.02779287099838257, 0.017210016027092934, -0.0023496949579566717, -0.03799939900636673, 0.0009779641404747963, -0.022763730958104134, -0.02392008528113365, 0.0028431902173906565, -0.0029154615476727486, -0.020647145807743073, -0.023578748106956482, 0.01753893867135048, 0.025121480226516724, 0.025695420801639557, -0.003225443884730339, -0.012066828086972237, 0.016090916469693184, -0.014562487602233887, -0.007938179187476635, -0.0024814819917082787, -0.001500842859968543, 0.0128396637737751, -0.02107737958431244, -0.022900328040122986, -0.044445835053920746, -0.003717043437063694, 0.0026978214737027884, 0.038694120943546295, 0.024590250104665756, -0.006326598580926657, 0.028436826542019844, 0.0535944327712059, 0.02960299886763096, 0.0039028790779411793, -0.019533580169081688, 0.004990958143025637, 0.003457539714872837, -0.030760545283555984, -0.029233340173959732, 0.046022024005651474, 0.02877391315996647, 0.05950034037232399, -0.0057036359794437885, 0.022220751270651817, -0.012797826901078224, 0.03264271840453148, 0.017246179282665253, 0.018557824194431305, -0.025534819811582565, 0.018435247242450714, -0.005981653928756714, -0.0004147047293372452, 0.07036826759576797, 0.024801434949040413, -0.04478878155350685, -0.03281242027878761, -0.05567505955696106, -0.037081945687532425, -0.006665864959359169, 0.02637997269630432, 0.036962542682886124, -0.024653758853673935, 0.018569257110357285, 0.006458556279540062, 0.01418711245059967, -0.015685830265283585, 0.02366306260228157, -0.02532123401761055, -0.011706497520208359, -0.006098495330661535, -0.012975938618183136, -0.01973652094602585, -0.010416374541819096, -0.018193300813436508, 0.021960387006402016, -0.020970584824681282, -0.026783552020788193, 0.029295779764652252, 0.025898629799485207, -0.015302134677767754, -0.011531965807080269, -0.02524418942630291, -0.02142738364636898, -0.03660580515861511, 0.04942450672388077, -0.00310328952036798, 0.006446827203035355, -0.02183251827955246, 0.020683998242020607, 0.0365828275680542, 0.0002278320462210104, -0.06224063038825989, -0.015619829297065735, 0.0477505624294281, -0.03780195116996765, 0.009987258352339268, 0.0008541314746253192, -0.022277193143963814, -0.02003610134124756, 0.013253086246550083, 0.03847271949052811, 0.028046732768416405, -0.003091060556471348, -0.00972213875502348, -0.03191543370485306, -0.03960611671209335, 0.009132717736065388, 0.004275687038898468, -0.008712014183402061, 0.006853017024695873, -0.010048327967524529, 0.028504781424999237, 0.0030127561185508966, -0.011303121224045753, -0.007344395853579044, -0.02411963790655136, 0.05026889219880104, -0.017604824155569077, 0.03911752626299858, -0.021293634548783302, -0.037354934960603714, 0.0057649556547403336, -0.04854445904493332, 0.01564263366162777, 0.04000028222799301, 0.02528103068470955, -0.04733799770474434, 0.00388476368971169, 0.05955269932746887, 0.004544926341623068, 0.03281416371464729, 0.01641988195478916, 0.010044623166322708, 0.024146804586052895, 0.021068520843982697, -0.004160977900028229, -0.014347913675010204, 0.028374655172228813, 0.02251327596604824, 0.031562309712171555, -0.026323584839701653, -0.06565232574939728, 0.0042115491814911366, 0.025103256106376648, -0.016568148508667946, -0.02886437252163887, 0.038242634385824203, -0.03963567689061165, -0.016613049432635307, 0.06226140633225441, 0.00250903214327991, -0.0025121013168245554, -0.017515134066343307, -0.022382939234375954, -0.028707895427942276, -0.011088419705629349, -0.012492476962506771, -0.014137128368020058, -0.031162763014435768, -0.008605274371802807, 0.03440375253558159, 0.04203293099999428, 0.01708974875509739, -0.002585470909252763, 0.03086593933403492, -0.02242770604789257, 0.005883517675101757, -0.05743973329663277, -0.010182710364460945, -0.009884153492748737, 0.006524070631712675, 0.01809738390147686, -0.016414999961853027, -0.003481231164187193, 0.03521719202399254, 0.06494996696710587, -0.013503632508218288, 0.00004160237585892901, 0.007245560642331839, -0.001135177561081946, -0.03029630519449711, -0.012662339024245739, 0.038220785558223724, -0.03507748991250992, 0.026471201330423355, -0.012350677512586117, -0.015689361840486526, -0.007351345382630825, 0.006213770713657141, -0.002444489160552621, 0.005598248448222876, 0.02811199240386486, 0.021470118314027786, 0.07871454954147339, -0.0013195036444813013, -0.022543927654623985, -0.01160152442753315, 0.01054367609322071, 0.038219861686229706, -0.049540627747774124, 0.010930738411843777, 0.04713393747806549, 0.005653985310345888, 0.03374553099274635, 0.027037544175982475, -0.010534513741731644, 0.0033345173578709364, 0.03794786334037781, 0.0288016926497221, -0.03534946218132973, -0.028458844870328903, 0.04562076926231384, 0.023162420839071274, -0.047921452671289444, 0.0022554202005267143, -0.03873084485530853, -0.049354299902915955, 0.05157872289419174, -0.01713254116475582, 0.026950053870677948, 0.05205872654914856, -0.02721923589706421, 0.010578522458672523, 0.01756029948592186, 0.03917451575398445, 0.0028726733289659023, -0.0007347076898440719, 0.009172356687486172, -0.0022472792770713568, 0.02612440288066864, -0.005796998273581266, 0.01251351460814476, 0.011096658185124397, 0.04874343425035477, 0.024211136624217033, -0.037712693214416504, -0.017700454220175743, 0.02970551885664463, -0.0022533610463142395, 0.0006725917919538915, -0.005790297873318195, -0.02440687268972397, -0.0017906499560922384, -0.023800114169716835, 0.02752956748008728, 0.05833211913704872, 0.0040257093496620655, 0.016275804489850998, 0.0059713395312428474, -0.01834014803171158, 0.021988878026604652, 0.0675937607884407, -0.05567360296845436, 0.052046630531549454, 0.019696688279509544, 0.030040808022022247, 0.006793673150241375, 0.006840497255325317, 0.014738719910383224, -0.0253268014639616, 0.05897694081068039, 0.013878834433853626, -0.008048711344599724, 0.007181122433394194, -0.012052660807967186, -0.032053541392087936, -0.02798486314713955, -0.014193134382367134, -0.036414358764886856, 0.06333685666322708, 0.036842167377471924, -0.002194607863202691, 0.0279996320605278, -0.04863036423921585, 0.036150071769952774, 0.03385131061077118, 0.05238702893257141, -0.021903924643993378, 0.020610593259334564, 0.07289303094148636, 0.05012843757867813, 0.0354379341006279, 0.0004821750335395336, -0.006793470587581396, -0.0063625224865973, 0.05069660022854805, -0.0003909703518729657, 0.03685908764600754, 0.024572033435106277, 0.007290280889719725, 0.0050478000193834305, 0.0004065908142365515, -0.05266981199383736, 0.03254210576415062, -0.014600246213376522, -0.04197494685649872, -0.016178494319319725, -0.006301833316683769, -0.06511662155389786, 0.002684771316125989, -0.002539467066526413, -0.019867463037371635, -0.05490828678011894, -0.03247706592082977, -0.024359388276934624, 0.027847323566675186, 0.01229933649301529, -0.027294473722577095, 0.003608959959819913, 0.02520330622792244, 0.007333661895245314, -0.014686827547848225, -0.010770384222269058, -0.0068025351502001286, -0.026114800944924355, -0.02235177904367447, -0.02770513854920864, 0.0498153455555439, -0.008772201836109161, -0.003166432725265622, 0.01817232370376587, 0.026455368846654892, -0.0610932894051075, 0.03350022807717323, -0.0007648086175322533, 0.021096473559737206, -0.011224457062780857, 0.015132377855479717, -0.008047574199736118, -0.007309150416404009, 0.008959927596151829, -0.0535111278295517, 0.021709851920604706, -0.0020846868865191936, 0.02171696536242962, 0.04505368694663048, 0.02809794992208481, -0.01931532844901085, -0.055094894021749496, 0.0015111196553334594, -0.011133675463497639, -0.02852668985724449, 0.049812786281108856, 0.019940422847867012, 0.001675276318565011, 0.032880350947380066, 0.0012814346700906754, 0.04079877585172653, 0.026312964037060738, -0.009463096037507057, 0.014790765941143036, -0.013061740435659885, -0.02056504227221012, -0.007258893456310034, 0.01159595511853695, 0.004254522267729044, 0.030437085777521133, 0.018409093841910362, 0.03448977693915367, -0.029917540028691292, -0.053560689091682434, -0.016166117042303085, -0.03447843715548515, 0.011849424801766872, -0.04555579647421837, -0.04903954640030861, -0.010292009450495243, -0.02166455239057541, -0.016627689823508263, -0.001588529208675027, -0.03191952407360077, -0.024929041042923927, -0.026588546112179756, -0.0072390493005514145, 0.010159220546483994, -0.0059175933711230755, 0.05446960777044296, 0.021117230877280235, 0.043932583183050156, 0.011188589036464691, -0.027368025854229927, -0.003217126475647092, -0.006251459941267967, 0.031781457364559174, 0.018763070926070213, -0.008615675382316113, -0.007360730320215225, -0.027406007051467896, -0.003248154418542981, -0.015042893588542938, -0.07826760411262512, -0.016646848991513252, 0.03438470885157585, -0.01451627817004919, -0.04752003028988838, -0.009077874943614006, 0.03446599468588829, 0.0035048946738243103, 0.05253254249691963, -0.018643710762262344, -0.02050934173166752, -0.009551718831062317, 0.014739327132701874, -0.06538500636816025, -0.005935903172940016, -0.045404981821775436, 0.00936548039317131, 0.011340136639773846, 0.02419990859925747, 0.026134910061955452, 0.004735269583761692, -0.012251599691808224, 0.010773547925055027, 0.04762141406536102, -0.00795405451208353, -0.05383404344320297, -0.007572912145406008, 0.07024652510881424, -0.026143968105316162, -0.06039869785308838, 0.01686611957848072, 0.01942390762269497, -0.010668577626347542, -0.020340070128440857, 0.01969219371676445, 0.031867414712905884, 0.006327535025775433, 0.013184534385800362, -0.010992280207574368, 0.013226070441305637, -0.004262558650225401, -0.024229630827903748, -0.03663639351725578, 0.01350872777402401 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
Using the Decision Transformer in 🤗 Transformers The Decision Transformer model is now available as part of the 🤗 transformers library. In addition, we share nine pre-trained model checkpoints for continuous control tasks in the Gym environment. An “expert” Decision Transformers model, learned using offline RL in the Gym Walker2d environment.
[ 0.04636835306882858, -0.10352516919374466, -0.03606196492910385, -0.005652132444083691, 0.03548271954059601, 0.08875022083520889, -0.008170059882104397, -0.006429414264857769, -0.06727231293916702, -0.028721285983920097, -0.04805581271648407, 0.015613718889653683, -0.034690529108047485, 0.04498745873570442, 0.049486592411994934, -0.053526442497968674, -0.007592511363327503, -0.0068679978139698505, 0.012106888927519321, 0.017452284693717957, 0.008635912090539932, -0.07754123955965042, 0.0024634068831801414, -0.02798221819102764, -0.028178032487630844, -0.04348688945174217, 0.02669643424451351, 0.004874672740697861, -0.0024327808059751987, 0.019104978069663048, -0.05561906099319458, -0.028999168425798416, -0.0068330224603414536, -0.0763603150844574, 0.00721518462523818, 0.020806320011615753, -0.05283045396208763, -0.004314572550356388, 0.034729331731796265, -0.05782753601670265, -0.006859831046313047, 0.03602100908756256, -0.02768000215291977, 0.024932822212576866, 0.06438000500202179, -0.0033508369233459234, -0.12448544800281525, 0.020320938900113106, -0.05433936417102814, -0.06797190755605698, -0.033395394682884216, 0.09707735478878021, 0.00292907003313303, 0.018438341096043587, 0.03608725592494011, 0.0023823766969144344, 0.00604041526094079, 0.012274013832211494, 0.020879941061139107, -0.004091062117367983, 0.035031575709581375, 0.027938827872276306, 0.04875442385673523, 0.02582053653895855, -0.00221021706238389, -0.031775519251823425, 0.06757202744483948, -0.07038167119026184, -0.06097647547721863, -0.057760462164878845, 0.04248629882931709, -0.01373174600303173, -0.0027343938127160072, 0.02444596029818058, -0.014175426214933395, -0.04980034753680229, -0.028071831911802292, 0.09524045139551163, 0.009329255670309067, 0.03164074942469597, 0.029796048998832703, 0.04240887612104416, 0.06435462087392807, 0.0022909222170710564, -0.012626174837350845, 0.04819953441619873, 0.028923461213707924, -0.07696443796157837, -0.05676683783531189, 0.08324780315160751, -0.02516794763505459, -0.060341764241456985, -0.03355129063129425, -0.06664871424436569, 0.07061406224966049, -0.01775011233985424, 0.006970997899770737, 0.018380478024482727, -0.06781318038702011, -0.06469805538654327, 0.012498067691922188, -0.04236786812543869, 0.06850074231624603, -0.04773090407252312, -0.0038256116677075624, -0.01759360171854496, -0.013568723574280739, -0.07859382033348083, 0.027036655694246292, 0.05238059535622597, -0.00271749310195446, -0.07641692459583282, 0.046395596116781235, 0.05086664482951164, -0.03862418606877327, 0.061462175101041794, 0.0005982900038361549, -0.0043017189018428326, -0.011148856952786446, 0.07313863188028336, -0.04338968172669411, 0.10587223619222641, 0.013521986082196236, 0.006861955858767033, -0.008529780432581902, 0.01670120283961296, -0.05122783035039902, -0.030670281499624252, 0.009326203726232052, -0.034694984555244446, 0.08176450431346893, -0.012100464664399624, 0.0155562162399292, -0.011448093689978123, -0.022230779752135277, -0.06216245889663696, 0.06329845637083054, 0.0037170744035393, -0.029521519318223, 0.02453993447124958, -0.060376059263944626, 0.03213350474834442, 0.03148532658815384, -0.029449814930558205, 0.012148544192314148, -0.06863795220851898, -0.07718387246131897, 0.06484528630971909, 0.01719162054359913, 0.10101768374443054, -0.06457220762968063, 0.04642574116587639, -0.03479272499680519, -0.06855740398168564, -0.06306258589029312, 0.044494520872831345, 0.020520532503724098, -0.015122203156352043, -0.09425907582044601, -0.05318116769194603, -0.04681932181119919, 0.047423310577869415, -0.05456721410155296, 0.006933937314897776, 0.031882818788290024, -0.07993566989898682, 0.020946230739355087, -0.016087381169199944, 0.07418613880872726, 0.021595986559987068, -0.04479733482003212, -0.10969211906194687, 0.005666878540068865, 0.015890758484601974, -0.032379742711782455, -0.0250784233212471, -0.03481035679578781, 0.04909013584256172, 0.01321262028068304, -0.044430624693632126, -0.060353100299835205, -0.03548586741089821, 0.0009657563059590757, 0.044122688472270966, 0.07311844825744629, -0.05458511784672737, 0.05528942495584488, -0.025713052600622177, -0.008152968250215054, 0.03747989609837532, -0.00445130467414856, 0.006506448611617088, 0.03736081346869469, 0.026321936398744583, 0.021084070205688477, -0.053605955094099045, -0.04530566185712814, 0.0881519615650177, 0.054224349558353424, -0.006514471489936113, 0.07941649109125137, -0.053618840873241425, -0.029180169105529785, -0.036531489342451096, 0.00533254025503993, 0.03687048330903053, 0.02152080275118351, -0.032044436782598495, 0.0019185164710506797, 0.02717568352818489, 0.0007981063099578023, -0.03041824698448181, -0.036806218326091766, -0.04505626857280731, -0.018509332090616226, -0.07067321985960007, -0.0549122616648674, 0.09636645764112473, 0.013849787414073944, -0.039037253707647324, 0.13264593482017517, -0.01437358744442463, -0.05186603218317032, -0.01769350655376911, 0.008349786512553692, 0.008479645475745201, 0.026201410219073296, 0.05031004920601845, 0.0018581193871796131, -0.06134079396724701, -0.0014113311190158129, -0.05295941233634949, 0.030460020527243614, -0.029049720615148544, -0.001375331194140017, -0.00637069484218955, 0.017045883461833, -0.06247633323073387, -0.005864033941179514, 0.019506659358739853, -0.041294027119874954, -0.012543254531919956, -0.0013325012987479568, 0.09484802931547165, 0.028526199981570244, 0.009743399918079376, 0.0006404279847629368, 0.080306276679039, -0.03559860214591026, 0.012889995239675045, -0.09048040211200714, 0.01118493266403675, 0.06282877922058105, -0.08223596215248108, 0.08780494332313538, 0.0506509393453598, 0.01467167865484953, -0.0022415919229388237, 0.012367271818220615, 0.05100694298744202, 0.024342073127627373, -0.005666176322847605, -0.07044315338134766, -0.04970636963844299, -0.00992941576987505, -0.09059828519821167, 0.00015914002142380923, 0.0008498258539475501, 0.00016772026719991118, -0.030540449544787407, 0.010590199381113052, -0.04318114370107651, -0.019306190311908722, 0.00837257131934166, 0.025446917861700058, -0.005254346877336502, 0.05200842395424843, -0.002501128241419792, -0.006972544360905886, -0.058636460453271866, -0.008010219782590866, -0.0288010835647583, 0.04536070302128792, 0.01824335753917694, 0.019538726657629013, 0.023366497829556465, 0.03199544548988342, 0.01797422394156456, 0.02454511821269989, -0.01963290385901928, 0.012668297626078129, -0.0010516224429011345, -0.013557415455579758, -0.01327920239418745, -0.05040350928902626, 0.01235426589846611, 0.01986660063266754, -0.014632838778197765, 0.00513922655954957, 0.05956897512078285, -0.014628666453063488, 0.03548792377114296, 0.05237501487135887, -0.011645333841443062, 0.03876374661922455, -0.03706173226237297, 0.025274140760302544, 0.0055912635289132595, -0.07754289358854294, -0.03219445422291756, 0.010712127201259136, 0.01557521615177393, -0.01875382289290428, -0.038454171270132065, -0.00836406834423542, 0.01691865548491478, 0.018056007102131844, 0.006751582492142916, 0.002759239636361599, -0.01058781798928976, 0.02450585551559925, 0.001361178932711482, -0.06003575399518013, 0.006412070710211992, -0.00772074656561017, -0.012936489656567574, 0.010031996294856071, 0.01879299432039261, -0.016767874360084534, 0.04888486489653587, -0.03942541778087616, 0.012035057879984379, -0.004487707745283842, -0.002341662999242544, 0.013233207166194916, 0.03191090375185013, 0.011847094632685184, -0.0493176244199276, -0.0011869306908920407, -0.005235813558101654, -0.040204521268606186, 0.01575072854757309, 0.01917826011776924, -0.0037606770638376474, 0.027264783158898354, 0.022989703342318535, 0.06048651039600372, 0.013478248380124569, 0.009968464262783527, -0.01397987175732851, 0.01372120063751936, -0.037578072398900986, 0.001141899498179555, 0.027069076895713806, 0.046466805040836334, -0.025654660537838936, -0.015330023132264614, -0.02191118896007538, 0.005449030082672834, -0.000011757825632230379, 0.012075075879693031, 0.045497018843889236, 0.04023009538650513, -0.035292848944664, -0.0028640655800700188, 0.018423181027173996, 0.02617775835096836, -0.007408873178064823, -0.038210172206163406, -0.011908392421901226, 0.013027922250330448, -0.02943568304181099, -0.030188316479325294, 0.03353898227214813, 0.03025394305586815, 0.007227676920592785, -0.02992951311171055, -0.02038160338997841, 0.014814789406955242, 0.0561060756444931, 0.0033175519201904535, 0.0058008176274597645, -0.04780387878417969, 0.07594789564609528, 0.003913027700036764, -0.0352846123278141, 0.0894375666975975, -0.007259356789290905, -0.034708403050899506, -0.034511927515268326, -0.050583310425281525, 0.0022050212137401104, 0.0006135112489573658, 0.020760849118232727, 0.06551851332187653, 0.008074129931628704, 0.016671204939484596, 0.023365866392850876, 0.028384676203131676, -0.004635242745280266, 0.021964600309729576, -0.04091142490506172, 0.02892792969942093, 0.0141826830804348, -0.030494844540953636, -0.015230861492455006, -0.015447443351149559, -0.0009608736145310104, 0.01087987795472145, -0.028818612918257713, -0.0199842881411314, 0.006738769356161356, 0.04117681086063385, 0.011176174506545067, 0.015644937753677368, -0.036682408303022385, -0.018249114975333214, -0.0221358984708786, 0.04671023041009903, -0.021013053134083748, -0.002491272985935211, 0.030641479417681694, 0.022272950038313866, -0.00037801152211613953, 0.013269600458443165, -0.007518836762756109, -0.030370721593499184, 0.040242087095975876, -0.07107191532850266, -0.002825430128723383, 0.026456383988261223, 0.033493392169475555, 0.000013729782949667424, -0.0008463212288916111, 0.03668683022260666, 0.02761330083012581, -0.02405347116291523, -0.030365653336048126, -0.028198184445500374, -0.018212338909506798, 0.062134090811014175, 0.03660282492637634, -0.030617062002420425, 0.01888430491089821, -0.005329791456460953, 0.034045182168483734, -0.040683191269636154, -0.010315611958503723, -0.02320834808051586, -0.004424004815518856, 0.0628414899110794, -0.007125517353415489, 0.028960585594177246, -0.0483744777739048, 0.00621781637892127, 0.02646578662097454, -0.03037601336836815, 0.010626866482198238, 0.07565934956073761, 0.010737205855548382, -0.007965908385813236, -0.002527646953240037, 0.02990947663784027, -0.004621132742613554, 0.020500749349594116, 0.03215287998318672, 0.028590083122253418, -0.00374881224706769, 0.004909964744001627, 0.008016368374228477, -0.028422042727470398, 0.0644030049443245, 0.06798738241195679, 0.004816774744540453, -0.012697545811533928, -0.028862716630101204, 0.009886651299893856, 0.004103904590010643, 0.023094749078154564, -0.036842018365859985, 0.013021066784858704, -0.01137206144630909, -0.03350493311882019, 0.04168163985013962, -0.010837787762284279, 0.01332341879606247, -0.014287359081208706, -0.03043351136147976, -0.030958589166402817, 0.0055086384527385235, 0.012595987878739834, 0.02592647448182106, 0.01611148938536644, 0.0032131862826645374, 0.046845827251672745, 0.05656488612294197, 0.0027592782862484455, 0.016360055655241013, 0.06495875865221024, 0.0006868693162687123, -0.00197739084251225, -0.041832514107227325, -0.010704847984015942, -0.01444938126951456, 0.007871709764003754, 0.07624225318431854, -0.018920792266726494, -0.013067532330751419, 0.048807863146066666, 0.04598231613636017, -0.011503607966005802, 0.03867639601230621, 0.005081815179437399, -0.018768172711133957, -0.045099157840013504, 0.011380783282220364, 0.021142221987247467, -0.04625044763088226, -0.016303831711411476, -0.03847740590572357, 0.0006474460242316127, -0.00048624075134284794, -0.029690343886613846, -0.000060902591940248385, 0.008513166569173336, 0.009998702444136143, 0.02649339847266674, 0.025973623618483543, 0.009451759047806263, -0.046495161950588226, 0.002621501451358199, 0.01960461586713791, 0.008186055347323418, -0.06018621101975441, 0.03960258141160011, 0.01412574015557766, -0.025575866922736168, -0.0029287650249898434, -0.00466079730540514, 0.013539315201342106, 0.027445096522569656, 0.009405417367815971, 0.012243879958987236, -0.031069038435816765, -0.04481019452214241, 0.04422930255532265, 0.029718829318881035, -0.03894069418311119, -0.03641923516988754, -0.0032816659659147263, -0.047070812433958054, 0.022024577483534813, -0.03138845041394234, 0.049921002238988876, 0.04328615963459015, -0.028574630618095398, 0.022155262529850006, 0.034434255212545395, 0.029812144115567207, 0.026842737570405006, -0.024669542908668518, 0.008561029098927975, -0.010578334331512451, 0.037219494581222534, 0.014140148647129536, -0.0005977559485472739, 0.015295305289328098, -0.0032074928749352694, 0.006185103207826614, -0.018562806770205498, -0.013057399541139603, 0.04459036886692047, -0.016838956624269485, -0.02268073335289955, -0.0009025182225741446, -0.02754073031246662, 0.0015088821528479457, -0.042877279222011566, 0.00460779620334506, 0.04589720070362091, -0.006728969514369965, -0.013596386648714542, -0.017958568409085274, -0.037522248923778534, 0.020293373614549637, 0.06921876221895218, -0.006206585094332695, 0.04729184880852699, -0.0026594819501042366, 0.024780627340078354, 0.019336283206939697, 0.020540039986371994, -0.0005108025507070124, 0.00009042845340445638, 0.02157861739397049, -0.005539590958505869, 0.018356669694185257, 0.027901288121938705, 0.011106343008577824, -0.05499487742781639, -0.016084391623735428, -0.010508554987609386, -0.04515613242983818, 0.06136133149266243, 0.01602286286652088, -0.010504921898245811, 0.0024681745562702417, -0.027137581259012222, 0.028746657073497772, 0.03293768689036369, 0.0398608036339283, -0.006487447768449783, 0.025928333401679993, 0.02419803850352764, 0.04441065713763237, 0.047144852578639984, -0.034129705280065536, -0.00147436058614403, -0.007958944886922836, 0.017760207876563072, -0.016898149624466896, 0.05108578875660896, 0.0017017654608935118, 0.020227916538715363, -0.04144371300935745, -0.031079787760972977, -0.05274933949112892, 0.02309025451540947, 0.03160589188337326, -0.032828982919454575, 0.009495158679783344, 0.0009982127230614424, -0.05336616560816765, 0.01317934412509203, 0.05256423354148865, -0.0010178327793255448, -0.0394192598760128, -0.014991537667810917, -0.029907187446951866, 0.01695205830037594, 0.05102286860346794, -0.0435970313847065, 0.009760144166648388, 0.0056269350461661816, 0.03140989691019058, -0.003856034018099308, -0.02070610597729683, 0.0034528342075645924, -0.015239633619785309, -0.0032879747450351715, 0.0021530063822865486, 0.027312183752655983, -0.017397724092006683, 0.017726263031363487, 0.006714829243719578, 0.022821880877017975, -0.023201612755656242, 0.05606262385845184, -0.0023684322368353605, 0.01912017911672592, -0.0012004408054053783, 0.03315301984548569, 0.03213847056031227, -0.05883331969380379, -0.002013824414461851, -0.07148459553718567, 0.02838149107992649, 0.019663289189338684, 0.015867801383137703, 0.04813428595662117, 0.07318975031375885, -0.01685977727174759, -0.009348648600280285, -0.03452903777360916, -0.020158473402261734, 0.014955233782529831, 0.04089394956827164, 0.025051606819033623, -0.04130783677101135, 0.03375740721821785, 0.002740741241723299, 0.06996054947376251, 0.007033490110188723, -0.021874528378248215, 0.03574254736304283, -0.009814538061618805, -0.04311855509877205, 0.012237929739058018, 0.0480261854827404, 0.028330719098448753, 0.049891989678144455, -0.02245044894516468, 0.050228461623191833, -0.0346071831882, -0.0307800080627203, -0.0028700013644993305, -0.0338723361492157, -0.004786574747413397, -0.03811519593000412, -0.01328872237354517, 0.013329853303730488, -0.0026984550058841705, -0.002851643366739154, 0.014312127605080605, 0.004576477222144604, 0.0030221673659980297, 0.0009000167483463883, -0.02731666900217533, -0.010978027246892452, 0.002975357696413994, 0.023130103945732117, -0.00902098324149847, 0.06143166869878769, -0.006304384674876928, 0.010359317064285278, -0.01852322556078434, -0.0048862844705581665, 0.013583231717348099, 0.01413760706782341, -0.03847675397992134, -0.0060324519872665405, -0.07499151676893234, -0.05371725186705589, 0.01126476377248764, -0.06478842347860336, -0.04296734556555748, 0.021411599591374397, -0.0013365264749154449, -0.0524374358355999, 0.0364326611161232, -0.026870276778936386, 0.01278648991137743, 0.006678534671664238, -0.017189685255289078, -0.015566600486636162, -0.006161446683108807, -0.015315527096390724, -0.007157287560403347, 0.009780541993677616, -0.040919262915849686, 0.019137263298034668, -0.02039375528693199, 0.023584511131048203, -0.010104167275130749, 0.01804918795824051, -0.005202013533562422, 0.011291136033833027, 0.002966261235997081, 0.020831428468227386, -0.051091231405735016, 0.046936314553022385, 0.04777787625789642, 0.007763988804072142, -0.04615690931677818, 0.02180354855954647, 0.009120646864175797, 0.053713444620370865, 0.008221790194511414, 0.008411760441958904, 0.030166981741786003, 0.03532404825091362, 0.014752003364264965, -0.019264284521341324, 0.015490627847611904, -0.016937244683504105, -0.018521748483181, -0.04213813692331314, -0.03739600628614426 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
Evaluating the model In order to evaluate the model, we need some additional information; the mean and standard deviation of the states that were used during training. Fortunately, these are available for each of the checkpoint’s model card on the Hugging Face Hub! We also need a target return for the model. This is the power of return conditioned Offline Reinforcement Learning: we can use the target return to control the performance of the policy. This could be really powerful in a multiplayer setting, where we would like to adjust the performance of an opponent bot to be at a suitable difficulty for the player. The authors show a great plot of this in their paper! Sampled (evaluation) returns accumulated by Decision Transformer when conditioned on the specified target (desired) returns. Top: Atari. Bottom: D4RL medium-replay datasets. Figure from [1]. python TARGET_RETURN = 3.6 # This was normalized during training MAX_EPISODE_LENGTH = 1000 state_mean = np.array( [1.3490015, -0.11208222, -0.5506444, -0.13188992, -0.00378754, 2.6071432, 0.02322114, -0.01626922, -0.06840388, -0.05183131, 0.04272673,]) state_std = np.array( [0.15980862, 0.0446214, 0.14307782, 0.17629202, 0.5912333, 0.5899924, 1.5405099, 0.8152689, 2.0173461, 2.4107876, 5.8440027,]) state_mean = torch.from_numpy(state_mean) state_std = torch.from_numpy(state_std) state = env.reset() target_return = torch.tensor(TARGET_RETURN).float().reshape(1, 1) states = torch.from_numpy(state).reshape(1, state_dim).float() actions = torch.zeros((0, act_dim)).float() rewards = torch.zeros(0).float() timesteps = torch.tensor(0).reshape(1, 1).long() # take steps in the environment for t in range(max_ep_len): # add zeros for actions as input for the current time-step actions = torch.cat([actions, torch.zeros((1, act_dim))], dim=0) rewards = torch.cat([rewards, torch.zeros(1)]) # predicting the action to take action = get_action(model, (states - state_mean) / state_std, actions, rewards, target_return, timesteps) actions[-1] = action action = action.detach().numpy() # interact with the environment based on this action state, reward, done, _ = env.step(action) cur_state = torch.from_numpy(state).reshape(1, state_dim) states = torch.cat([states, cur_state], dim=0) rewards[-1] = reward pred_return = target_return[0, -1] - (reward / scale) target_return = torch.cat([target_return, pred_return.reshape(1, 1)], dim=1) timesteps = torch.cat([timesteps, torch.ones((1, 1)).long() * (t + 1)], dim=1) if done: break You will find a more detailed example, with the creation of videos of the agent in our Colab notebook.
[ 0.015996815636754036, -0.07572528719902039, -0.05682946741580963, -0.007806147914379835, 0.046131864190101624, 0.06648718565702438, 0.06083771958947182, 0.011290677823126316, -0.02070823311805725, -0.04309431090950966, -0.0186386127024889, 0.03461887687444687, -0.059495072811841965, 0.011597556993365288, -0.007553000468760729, -0.06885330379009247, 0.04827865585684776, -0.05979590862989426, 0.0056128306314349174, 0.03918467462062836, -0.03475058823823929, -0.031019678339362144, -0.02665676362812519, 0.02795238606631756, -0.023978348821401596, -0.07096323370933533, 0.07016896456480026, -0.004147929139435291, -0.012455704621970654, 0.05621593818068504, -0.12016917765140533, -0.0470082089304924, -0.017185106873512268, -0.0381985567510128, -0.0019244735594838858, -0.018771830946207047, -0.13128292560577393, 0.06635908782482147, 0.01801939681172371, 0.0037992713041603565, 0.02215484157204628, -0.01998354122042656, -0.040477216243743896, 0.019718093797564507, 0.0417121946811676, -0.0483022965490818, -0.09658141434192657, 0.00957755371928215, -0.010455046780407429, -0.030999531969428062, -0.0020620233844965696, 0.07735826075077057, -0.05850818380713463, -0.017029372975230217, -0.03586757183074951, -0.06644201278686523, -0.012337153777480125, -0.021367095410823822, 0.059786904603242874, 0.0039321561343967915, 0.005542065016925335, 0.031199464574456215, 0.006788817699998617, 0.0590980164706707, -0.009687940590083599, 0.022261297330260277, 0.05586683377623558, -0.022536028176546097, -0.018579775467514992, -0.06469301879405975, -0.029335709288716316, -0.006428934633731842, -0.024314137175679207, 0.007888718508183956, -0.018528558313846588, -0.06269164383411407, -0.01382360327988863, 0.01029914803802967, 0.03318009525537491, 0.005856777541339397, -0.02902548760175705, -0.04157058149576187, 0.012510963715612888, 0.01630685292184353, 0.02282903715968132, 0.0016412989934906363, 0.025191884487867355, -0.0971565991640091, -0.06718198210000992, 0.08156748116016388, -0.08821308612823486, -0.008616792038083076, 0.04294966161251068, -0.06209801882505417, 0.05344081670045853, -0.06066599115729332, -0.001098371110856533, -0.014431072399020195, -0.045091662555933, -0.06246000528335571, 0.0430091992020607, -0.06808601319789886, 0.008686120621860027, -0.08990314602851868, -0.07659666240215302, 0.01978527009487152, -0.007410119753330946, -0.08590149134397507, -0.07511870563030243, -0.03143271431326866, -0.013438142836093903, -0.03335459530353546, 0.026919998228549957, 0.04911138489842415, -0.03384494036436081, 0.010164059698581696, -0.018812265247106552, 0.03159800544381142, -0.013303362764418125, 0.06644333899021149, 0.017434144392609596, 0.10202594846487045, 0.05624308064579964, -0.05431393161416054, 0.00991398561745882, 0.03572125732898712, 0.05405285209417343, 0.012773094698786736, 0.018292099237442017, -0.011520718224346638, 0.05912156403064728, -0.055210549384355545, -0.010838896036148071, 0.0510755218565464, 0.009011028334498405, -0.03824084997177124, 0.01002184022217989, -0.01996154896914959, -0.013943367637693882, 0.02631092257797718, -0.10049870610237122, 0.008300327695906162, 0.007721258793026209, 0.030760418623685837, 0.024966849014163017, -0.04718737304210663, -0.011303037405014038, 0.03567563369870186, 0.0319756455719471, 0.026994481682777405, -0.0517546646296978, 0.024495435878634453, 0.02518065646290779, -0.07758311182260513, -0.03546915203332901, 0.06330747902393341, -0.04267114773392677, 0.008295319974422455, -0.0690995305776596, 0.016083037480711937, -0.015257218852639198, 0.03946902975440025, -0.0698891207575798, -0.02516377530992031, 0.046690672636032104, 0.05938215181231499, -0.0026981395203620195, 0.018169919028878212, -0.015029271133244038, 0.03664521500468254, 0.0154266357421875, -0.021160880103707314, 0.09338393062353134, 0.0027226677630096674, 0.06322577595710754, 0.08115468919277191, 0.010455465875566006, 0.02017214708030224, 0.012039567343890667, -0.02745903469622135, -0.053227394819259644, -0.023449795320630074, 0.00986163318157196, 0.013508432544767857, 0.007978458888828754, -0.11074983328580856, 0.015500271692872047, -0.02596559375524521, 0.02252817153930664, 0.06741070002317429, -0.04043949767947197, 0.023766452446579933, 0.08443508297204971, -0.061816807836294174, 0.03020154871046543, -0.06759368628263474, -0.06279350072145462, 0.09566059708595276, 0.030812779441475868, -0.00872559379786253, 0.038911398500204086, 0.00479217991232872, 0.07457266002893448, -0.02948124334216118, 0.005771622993052006, 0.010871043428778648, 0.042158257216215134, -0.08753909915685654, 0.0059062219224870205, 0.07302302122116089, 0.011510482057929039, -0.12399660795927048, 0.0013050702400505543, -0.07504932582378387, -0.001669525634497404, -0.012282530777156353, -0.01786460541188717, 0.04336971417069435, 0.027533123269677162, 0.028811704367399216, 0.13631491363048553, -0.017108965665102005, 0.004581278655678034, -0.03527579456567764, -0.012671757489442825, 0.027162231504917145, -0.022617902606725693, 0.10919632017612457, 0.01919412612915039, -0.05263281613588333, -0.0702306479215622, -0.06271732598543167, -0.04219924658536911, 0.05500733107328415, -0.03767198696732521, -0.02038777805864811, 0.06297814846038818, 0.016272183507680893, 0.04091649129986763, -0.028753766790032387, -0.04371420294046402, 0.020030666142702103, 0.08939602226018906, 0.1069430410861969, 0.0018398917745798826, 0.0004872681456618011, 0.059031128883361816, 0.05278320610523224, -0.08302100002765656, 0.0047298213467001915, -0.09863682091236115, 0.004673155955970287, 0.043377526104450226, -0.026546962559223175, 0.024118931964039803, 0.035187650471925735, 0.009462252259254456, 0.03337836265563965, -0.0327598974108696, 0.04126511141657829, 0.021312398836016655, -0.02651173807680607, -0.06540017575025558, -0.007786186877638102, 0.012483656406402588, -0.07263074070215225, 0.013774696737527847, 0.018215250223875046, 0.0012516046408563852, 0.012904859147965908, 0.03932735323905945, -0.014124089851975441, 0.005033078603446484, -0.018625829368829727, 0.027061037719249725, 0.031718891113996506, 0.024272508919239044, 0.021428218111395836, -0.045682393014431, 0.003402219619601965, -0.03250731900334358, -0.017376774922013283, 0.009518522769212723, 0.01929595321416855, 0.009588932618498802, -0.022450901567935944, 0.006890528369694948, 0.03594784066081047, -0.004730596207082272, 0.03550763800740242, 0.0549338161945343, 0.04926905781030655, -0.012828480452299118, -0.007922763004899025, 0.013181110844016075, 0.020463913679122925, 0.03757353127002716, -0.0001189368122140877, 0.013052381575107574, 0.031135020777583122, -0.03374867886304855, -0.027625367045402527, 0.011439930647611618, 0.01105391513556242, 0.030442865565419197, 0.015960995107889175, 0.0118141183629632, 0.03487810119986534, -0.08566588163375854, 0.001098261447623372, 0.046161405742168427, 0.04034867882728577, 0.00430069537833333, -0.01278696022927761, 0.01019501406699419, 0.03245995566248894, -0.03343244269490242, -0.01215129904448986, -0.0066926986910402775, -0.005433075595647097, -0.004585240036249161, 0.022618191316723824, 0.013947716914117336, -0.02379036322236061, 0.019872024655342102, -0.04699593409895897, 0.006968668196350336, -0.01664179004728794, -0.02699144557118416, 0.03524986654520035, -0.010064772330224514, -0.030176250264048576, -0.028055666014552116, 0.006602872628718615, 0.048273082822561264, -0.01641133427619934, 0.03962257131934166, -0.04489104822278023, 0.004736798815429211, -0.03330748900771141, -0.05222395434975624, 0.014368581585586071, -0.01949199102818966, -0.00483442097902298, -0.012110662646591663, 0.0033883596770465374, 0.002232350641861558, 0.03780956566333771, -0.011620267294347286, 0.018513722345232964, -0.00806272029876709, 0.017566422000527382, 0.015509827062487602, 0.017244111746549606, 0.03839053586125374, 0.006331670563668013, -0.00524168973788619, -0.02172757126390934, -0.01566982828080654, -0.00011544118024175987, -0.030766837298870087, 0.06611393392086029, -0.00756328459829092, -0.006047364324331284, -0.0024910946376621723, 0.007649756968021393, 0.04022810235619545, -0.01389026828110218, -0.05241920426487923, 0.027147255837917328, -0.025528406724333763, -0.005246366374194622, 0.002737452508881688, 0.026799870654940605, 0.02180212177336216, -0.006220987532287836, -0.041165273636579514, 0.015154115855693817, -0.013930032961070538, 0.0458802692592144, 0.012007968500256538, 0.002168433740735054, -0.029776452109217644, -0.018976544961333275, 0.02372315526008606, -0.0056821806356310844, 0.04156665876507759, 0.015487141907215118, -0.04383571818470955, -0.034154973924160004, -0.03237884119153023, 0.019203081727027893, -0.005363095551729202, 0.012021067552268505, 0.04374117776751518, -0.010967041365802288, 0.004534667357802391, 0.022570442408323288, 0.02009795419871807, -0.017632560804486275, 0.014342615380883217, 0.030254190787672997, -0.035053227096796036, 0.013498407788574696, 0.017337976023554802, 0.02586340717971325, -0.02245054952800274, 0.0018994500860571861, -0.018308479338884354, -0.06784142553806305, 0.028644250705838203, 0.011040998622775078, 0.006317060440778732, 0.040324922651052475, -0.0539187490940094, -0.010439695790410042, -0.013579162769019604, -0.08667691797018051, -0.04642648249864578, -0.01099876593798399, -0.005635421723127365, -0.008340148255228996, 0.07546550780534744, 0.0075681088492274284, -0.0006746497238054872, 0.002154664136469364, -0.0154554583132267, 0.03171625733375549, -0.06919790804386139, -0.014148338697850704, 0.027369853109121323, -0.023092122748494148, 0.008120095357298851, 0.027083391323685646, 0.022200116887688637, 0.046829890459775925, 0.009374391287565231, -0.032267093658447266, -0.03662542253732681, 0.025277918204665184, 0.039673130959272385, 0.0018877758411690593, 0.008555309846997261, 0.0007036709575913846, -0.01296155620366335, 0.0030232612043619156, -0.024577835574746132, -0.01774577796459198, -0.0005023885169066489, -0.017621712759137154, 0.023628823459148407, -0.003451581811532378, 0.02093198336660862, -0.034484490752220154, -0.025934873148798943, -0.0016578573267906904, -0.028100617229938507, 0.0039723096415400505, 0.04943845793604851, 0.00807859841734171, -0.051846303045749664, 0.007584461010992527, 0.07252528518438339, -0.0064490488730371, -0.022735225036740303, 0.005320952273905277, -0.001071345992386341, 0.026550574228167534, -0.031233588233590126, 0.008859526365995407, -0.0018411725759506226, 0.030340516939759254, 0.05070062354207039, 0.018972110003232956, 0.0013286626199260354, -0.07110029458999634, 0.047359999269247055, -0.02153606526553631, -0.020754968747496605, -0.00025537580950185657, -0.011920961551368237, -0.043413762003183365, 0.029604541137814522, 0.0509425513446331, 0.022426767274737358, -0.015020528808236122, -0.018609097227454185, 0.01243281178176403, -0.009875573217868805, -0.026777807623147964, 0.011387193575501442, -0.04068924859166145, 0.032357752323150635, 0.031335312873125076, 0.03226013854146004, 0.054994359612464905, 0.018618132919073105, 0.029902033507823944, 0.050375185906887054, 0.033354733139276505, 0.02331477776169777, -0.0635078027844429, 0.013913664035499096, 0.0302711371332407, -0.005947872996330261, 0.02471650019288063, -0.010742945596575737, 0.024492483586072922, 0.046050410717725754, 0.04472329467535019, -0.00034830058575607836, 0.007394033018499613, 0.005380493588745594, 0.00544982124119997, -0.04795001447200775, 0.018129542469978333, 0.044250909239053726, -0.030803373083472252, -0.018575582653284073, -0.049116164445877075, 0.006922122091054916, -0.021122310310602188, 0.008967814967036247, -0.005719501990824938, -0.03177150711417198, 0.02078685164451599, 0.029632028192281723, 0.030981527641415596, -0.03536500781774521, -0.019737184047698975, -0.01249696034938097, -0.013620445504784584, 0.001992496894672513, -0.08930163085460663, 0.0029055059421807528, -0.0011990054044872522, -0.01968819461762905, 0.04495802894234657, 0.0010316497646272182, 0.009582268074154854, 0.009641502983868122, 0.019268734380602837, 0.029578769579529762, -0.04325074702501297, -0.030198553577065468, 0.03208034113049507, 0.034285809844732285, -0.006720433011651039, -0.02248876541852951, 0.025469394400715828, -0.03245791047811508, 0.004311795346438885, -0.03287722170352936, 0.02929963916540146, 0.05091356486082077, 0.010865867137908936, 0.031228622421622276, -0.015110277570784092, 0.008033539168536663, 0.012545142322778702, -0.019547343254089355, 0.005463969428092241, 0.00863802619278431, 0.06476794183254242, -0.01679692231118679, 0.012058720923960209, 0.02306576818227768, 0.04037554934620857, 0.02097094990313053, -0.049218304455280304, -0.014799297787249088, 0.037554413080215454, -0.010907648131251335, 0.01749562658369541, 0.010136492550373077, -0.04632894694805145, 0.011835861951112747, 0.016290269792079926, -0.00015832889766898006, 0.012701649218797684, 0.019285432994365692, 0.04817595332860947, 0.013718630187213421, -0.007563907653093338, 0.012888981029391289, 0.07173047214746475, -0.01947988197207451, -0.009514321573078632, 0.009180202148854733, 0.037272047251462936, 0.008549537509679794, 0.04024060443043709, 0.015559590421617031, 0.003578443080186844, 0.06967049092054367, 0.0035552645567804575, 0.028972582891583443, 0.0349135585129261, 0.0031696755904704332, -0.027720598503947258, 0.014044541865587234, -0.06655264645814896, -0.03138266131281853, -0.023797815665602684, -0.017770839855074883, -0.03165487200021744, 0.04068997874855995, -0.04314715787768364, 0.027361508458852768, 0.046265799552202225, 0.038978543132543564, 0.019508641213178635, 0.017312871292233467, 0.02929496020078659, 0.007740046828985214, 0.03661388158798218, 0.017872726544737816, -0.02666269801557064, -0.015168481506407261, 0.045554276555776596, 0.0008154520182870328, -0.03877313435077667, 0.023724259808659554, 0.012195789255201817, -0.004324586130678654, -0.04267708212137222, -0.00979185663163662, 0.02642216347157955, 0.01503847911953926, 0.019692132249474525, -0.003295416245236993, 0.04702380299568176, -0.018795130774378777, -0.010716483928263187, -0.0263847503811121, -0.019780710339546204, 0.03486989066004753, -0.015524029731750488, -0.04791535064578056, 0.08315843343734741, 0.005351311527192593, -0.01823781430721283, 0.044761210680007935, 0.018539011478424072, 0.037792012095451355, 0.026237506419420242, -0.035581376403570175, -0.0019168636063113809, -0.013260244391858578, 0.002373023657128215, -0.003946581855416298, 0.027886632829904556, -0.04975014925003052, 0.011726104654371738, 0.04050995409488678, 0.023762427270412445, 0.002136537339538336, -0.00238353805616498, 0.005122809205204248, -0.011950596235692501, -0.03487158566713333, 0.020167717710137367, 0.015612360090017319, -0.03439182788133621, 0.005625462159514427, -0.03479913994669914, 0.0007347601931542158, -0.005327277816832066, 0.07494665682315826, 0.016947299242019653, 0.034784410148859024, -0.0020201322622597218, -0.018973873928189278, -0.026309801265597343, -0.0028007766231894493, 0.0018085334450006485, 0.012513435445725918, -0.02187424525618553, 0.01225983165204525, 0.007039649412035942, 0.004625852219760418, 0.007033071015030146, -0.03393372520804405, 0.0361669659614563, 0.035828448832035065, -0.004944348707795143, -0.026629239320755005, 0.018462473526597023, 0.0074204858392477036, 0.024037981405854225, 0.04268186539411545, -0.003487976500764489, 0.0004521089722402394, 0.021049214527010918, -0.019676074385643005, 0.01047623809427023, -0.02184416726231575, -0.00421132193878293, -0.006553582847118378, -0.024431632831692696, 0.002211152808740735, 0.053688809275627136, -0.004108417313545942, 0.04789989814162254, -0.026986107230186462, -0.01872854121029377, 0.016700321808457375, -0.017895057797431946, -0.02126915194094181, -0.02450699359178543, 0.041305869817733765, 0.01678522303700447, 0.06630280613899231, 0.028903570026159286, -0.035345111042261124, -0.0007351630483753979, -0.02658795192837715, 0.043365269899368286, 0.02478169836103916, -0.007442249916493893, -0.03141426667571068, 0.014114942401647568, -0.04919704422354698, 0.035560060292482376, -0.028702767565846443, -0.014085415750741959, 0.02086171694099903, -0.011835332028567791, -0.016351675614714622, -0.000761514063924551, 0.01415303722023964, -0.014255614019930363, 0.026946628466248512, -0.039290763437747955, 0.005486676003783941, -0.049412619322538376, 0.046242840588092804, -0.07415374368429184, -0.014722878113389015, -0.035764601081609726, 0.013815751299262047, 0.03671571612358093, 0.02460366301238537, -0.01147687528282404, 0.02485349401831627, -0.01334617380052805, -0.009725752286612988, 0.00433361018076539, -0.003541568061336875, -0.03878125548362732, -0.010754315182566643, 0.028323929756879807, -0.03847047686576843, -0.02313181199133396, -0.01689876988530159, -0.014555343426764011, -0.024804679676890373, -0.012981584295630455, 0.012362702749669552, 0.06034143641591072, 0.02848619967699051, -0.00008102886204142123, -0.04185418412089348, 0.0609164796769619, -0.02720690332353115, -0.005669990088790655, -0.00786628294736147, 0.017127376049757004 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
What’s next? In the coming weeks and months, we plan on supporting other tools from the ecosystem: - Integrating RL-baselines3-zoo - Uploading RL-trained-agents models into the Hub: a big collection of pre-trained Reinforcement Learning agents using stable-baselines3 - Integrating other Deep Reinforcement Learning libraries - Implementing Convolutional Decision Transformers For Atari - And more to come 🥳 The best way to keep in touch is to join our discord server to exchange with us and with the community.
[ 0.06168349087238312, -0.0842566192150116, 0.00721513107419014, 0.04177180305123329, 0.0979585200548172, 0.023201311007142067, 0.009815854020416737, 0.08062361925840378, -0.038812849670648575, -0.1011957973241806, -0.053441230207681656, 0.03992655873298645, -0.04341283440589905, 0.02764047496020794, 0.031831420958042145, -0.043745554983615875, 0.03476348891854286, -0.01883275806903839, -0.015370254404842854, 0.04606150835752487, -0.02749556489288807, -0.02482638508081436, -0.022853899747133255, 0.00839561503380537, -0.013849643059074879, -0.0758061408996582, 0.025871315971016884, -0.01971038058400154, -0.009316762909293175, 0.009573857299983501, -0.04313782975077629, -0.023238837718963623, -0.00040689765592105687, -0.01846935786306858, -0.0009493850520811975, -0.008231483399868011, -0.11069206148386002, 0.014967894181609154, 0.02314256690442562, -0.07829641550779343, -0.005146293435245752, 0.014996693469583988, -0.050706326961517334, 0.08977910131216049, 0.009612096473574638, -0.02202715538442135, -0.1879253089427948, 0.0537010058760643, -0.011459865607321262, -0.0278936754912138, -0.07515890896320343, 0.06485534459352493, -0.009597190655767918, -0.009499315172433853, -0.004498946014791727, -0.014409524388611317, -0.0009046514169313014, -0.0864114984869957, 0.0003540298203006387, 0.014152305200695992, 0.05316746234893799, 0.016233017668128014, -0.006083275657147169, 0.010431837290525436, -0.0133597357198596, 0.012015779502689838, 0.05730880796909332, -0.021333517506718636, -0.018887801095843315, -0.04195718094706535, 0.05300847440958023, -0.003281377488747239, -0.04113686829805374, -0.009870008565485477, 0.025678226724267006, -0.04055681452155113, -0.07369722425937653, 0.0659523755311966, 0.04619601368904114, 0.021908806636929512, 0.025565164163708687, -0.010836752131581306, 0.04994119703769684, 0.015996228903532028, 0.013079832307994366, 0.012230604887008667, 0.053898487240076065, -0.07944666594266891, -0.01471351645886898, 0.050665970891714096, -0.03199442848563194, -0.10032442957162857, -0.007949940860271454, 0.006347734946757555, 0.06041187047958374, -0.06438018381595612, -0.02960754930973053, 0.013129173777997494, -0.027748776599764824, -0.02892591990530491, -0.018985629081726074, -0.01867046020925045, 0.01046084426343441, -0.12813888490200043, 0.002045489614829421, 0.004298826213926077, -0.00805907603353262, -0.14451265335083008, -0.06621496379375458, -0.0025951298885047436, 0.026456758379936218, -0.010534999892115593, -0.0019070319831371307, 0.04646424204111099, -0.020480917766690254, 0.06191020458936691, -0.012215910479426384, -0.03394399955868721, 0.005915769375860691, 0.043866317719221115, 0.0013671027263626456, 0.06926776468753815, -0.016946127638220787, 0.05427209287881851, -0.029359599575400352, 0.10064377635717392, -0.022953154519200325, -0.04040740802884102, -0.041778117418289185, -0.06603424996137619, 0.021584386005997658, 0.0025518685579299927, 0.011058160103857517, -0.01574462465941906, -0.05142461135983467, -0.0851740688085556, -0.006202664226293564, -0.0719437524676323, 0.03832798823714256, 0.020681848749518394, -0.03642721101641655, 0.012246097438037395, 0.005537922494113445, 0.030256709083914757, 0.0981537401676178, -0.03633682429790497, -0.07778574526309967, 0.07951311767101288, -0.04369465261697769, -0.014804629608988762, -0.02183712087571621, 0.028072131797671318, -0.047267887741327286, -0.07895450294017792, -0.040730126202106476, 0.0257200226187706, -0.009409385733306408, -0.0327007882297039, -0.03012876957654953, 0.03882935270667076, -0.02186315879225731, -0.019496334716677666, -0.012421151623129845, 0.004261907655745745, 0.03336319699883461, -0.006792657542973757, -0.014418560080230236, -0.016119075939059258, 0.031713277101516724, -0.03354479372501373, 0.017629697918891907, -0.03286301717162132, 0.08953709900379181, -0.019861476495862007, -0.001182850101031363, 0.03773124888539314, 0.0683884546160698, 0.08261803537607193, 0.025744736194610596, 0.0352620966732502, -0.04243925213813782, 0.03455476835370064, -0.020762257277965546, 0.022174503654241562, 0.03444764390587807, -0.04413324221968651, 0.05160940811038017, -0.011607159860432148, 0.042963068932294846, 0.04517548903822899, -0.018950656056404114, 0.04339325800538063, 0.07704564929008484, 0.03811632841825485, 0.06248454377055168, -0.038160063326358795, -0.01748521998524666, 0.09952179342508316, 0.028823256492614746, 0.0847855806350708, 0.013676646165549755, 0.02288822829723358, 0.03983468934893608, -0.033744294196367264, -0.04407699033617973, 0.024673452600836754, 0.009255211800336838, -0.023606177419424057, -0.0005200763698667288, 0.009722031652927399, -0.02146832086145878, -0.09536399692296982, 0.0147401699796319, -0.07431736588478088, 0.04043180122971535, -0.03152937814593315, -0.024042321369051933, 0.05342244356870651, -0.03532302752137184, -0.1076369509100914, 0.17330078780651093, -0.054764408618211746, 0.021310241892933846, 0.03852048143744469, -0.02313210628926754, 0.061728619039058685, 0.10346068441867828, 0.026507634669542313, 0.0864880308508873, -0.024451492354273796, -0.021751146763563156, -0.033893708139657974, -0.05988726764917374, 0.027378113940358162, -0.0028283281717449427, -0.03165198117494583, -0.008579257875680923, -0.05170276388525963, -0.007036211434751749, 0.045058850198984146, -0.013337245211005211, -0.04566492885351181, 0.04668029397726059, 0.0777587741613388, 0.02566426433622837, 0.01364395022392273, 0.09443172067403793, 0.02576611191034317, -0.047176849097013474, -0.030208677053451538, -0.09200945496559143, 0.03560479357838631, 0.017692288383841515, -0.0018105750204995275, 0.04142582044005394, 0.07814620435237885, 0.028074827045202255, -0.013309625908732414, -0.016208387911319733, 0.02673226408660412, 0.024663442745804787, -0.02980729565024376, -0.02041678875684738, -0.04568931832909584, 0.019023343920707703, -0.036438439041376114, 0.00851566530764103, 0.005102772265672684, -0.026756221428513527, -0.011134736239910126, 0.033302806317806244, -0.03152704983949661, 0.011416813358664513, 0.017544325441122055, -0.00770593760535121, 0.049785420298576355, 0.052189961075782776, -0.011181658133864403, -0.010050417855381966, 0.002624024637043476, -0.01972428895533085, -0.05236904323101044, 0.05957328528165817, 0.04954838380217552, 0.02960428036749363, 0.007100521121174097, -0.00023629795759916306, -0.008421235717833042, 0.0014492410700768232, 0.024618448689579964, 0.046606894582509995, 0.0006207107217051089, -0.031241506338119507, 0.00823267176747322, -0.0198788084089756, -0.025565700605511665, 0.014782942831516266, 0.0007201742846518755, -0.016128040850162506, 0.002372436923906207, 0.00043072408880107105, -0.01844754070043564, 0.020848872140049934, -0.004445352125912905, 0.007498866878449917, 0.023119740188121796, 0.009988516569137573, 0.004519140813499689, -0.11168533563613892, -0.011206546798348427, 0.01847153715789318, 0.06944984197616577, -0.02049747295677662, -0.05382020026445389, 0.006434503477066755, -0.04539995640516281, -0.010176961310207844, 0.01475400198251009, 0.006678341887891293, 0.006481782533228397, 0.036261700093746185, 0.006550624966621399, -0.04851661995053291, -0.0002754661545623094, 0.025368444621562958, 0.014317024499177933, 0.02621726505458355, 0.00465270783752203, -0.07535757124423981, 0.04874463751912117, -0.02718595787882805, -0.0013645169092342257, -0.05860970914363861, 0.00009104459604714066, 0.07478238642215729, 0.041905488818883896, 0.00282371137291193, -0.008805747143924236, -0.026387345045804977, -0.0009656668989919126, -0.024731280282139778, 0.015810150653123856, -0.046908292919397354, -0.027665985748171806, -0.031191309913992882, 0.028628218919038773, 0.017941420897841454, 0.018976731225848198, -0.0044387830421328545, -0.004781619645655155, -0.004676229786127806, 0.00013336617848835886, -0.005208906717598438, 0.02392643876373768, 0.04309328645467758, 0.02214011363685131, 0.008986574597656727, -0.025916971266269684, -0.022592687979340553, 0.010448272339999676, 0.03141428530216217, 0.060974638909101486, -0.02631681226193905, -0.03574633225798607, -0.01207102183252573, 0.017465300858020782, 0.018060728907585144, -0.026935134083032608, -0.042303625494241714, 0.019242452457547188, 0.014869287610054016, -0.013629220426082611, -0.002867764327675104, 0.016057465225458145, 0.03413799777626991, -0.04452712461352348, -0.036246731877326965, 0.009040618315339088, -0.008936271071434021, 0.04909780994057655, 0.02365381456911564, 0.0073005156591534615, -0.04972562566399574, 0.017148567363619804, 0.010082513093948364, -0.0190692488104105, 0.06322360038757324, 0.04006976634263992, -0.06184494122862816, -0.03996969014406204, -0.0174807608127594, -0.017904724925756454, -0.032052088528871536, -0.028300287202000618, 0.03343712538480759, -0.012460860423743725, -0.018506241962313652, 0.04864822328090668, 0.003859270131215453, -0.02109290286898613, 0.016387108713388443, -0.019130945205688477, 0.05439416319131851, 0.02658148482441902, 0.030681859701871872, 0.010087817907333374, 0.01802007295191288, 0.02015574462711811, 0.03690437227487564, -0.05892576649785042, 0.030371565371751785, 0.007313873153179884, 0.00460416404530406, 0.025991227477788925, -0.0263223834335804, -0.028343617916107178, -0.00022219786478672177, 0.0032810841221362352, 0.036392055451869965, -0.03318477049469948, -0.007578348275274038, -0.021405812352895737, 0.012371358461678028, 0.004091381095349789, 0.0002880608371924609, 0.0018196834716945887, -0.038228947669267654, 0.022255124524235725, -0.04890860989689827, -0.028769798576831818, -0.011994576081633568, 0.008977971971035004, 0.009745544753968716, -0.023418931290507317, 0.01907525397837162, -0.021385859698057175, 0.007947542704641819, 0.010416454635560513, -0.006638449616730213, -0.030376436188817024, 0.015432639047503471, 0.027849141508340836, -0.01089812908321619, 0.013722714968025684, 0.01612670160830021, 0.02924460358917713, 0.0010192935587838292, -0.024894746020436287, -0.05680021271109581, 0.01117734145373106, 0.02781476266682148, -0.04516371712088585, 0.018290463835000992, -0.010801608674228191, -0.006885150447487831, -0.011107119731605053, -0.03341906517744064, 0.012723271735012531, 0.027321526780724525, 0.0004961466765962541, -0.029751332476735115, -0.012426231056451797, 0.04801902920007706, -0.048834145069122314, 0.016789885237812996, 0.0010881195776164532, 0.0020718788728117943, 0.03797505050897598, -0.011035753414034843, 0.02697867713868618, -0.016512854024767876, 0.02734280191361904, 0.03484857827425003, 0.00581846758723259, 0.008825757540762424, -0.03087196871638298, -0.007384524680674076, -0.006808213423937559, -0.022727690637111664, 0.02669427916407585, -0.0017619681311771274, -0.03578430041670799, 0.014411140233278275, 0.027732497081160545, 0.022343305870890617, 0.00766327977180481, -0.03748159483075142, 0.0054895905777812, -0.02150679938495159, -0.0031095524318516254, 0.026246750727295876, -0.02026948146522045, -0.01386207714676857, -0.008800717070698738, 0.055528610944747925, 0.03281093388795853, 0.030516061931848526, 0.022925158962607384, -0.01749083586037159, 0.02519436739385128, 0.007266119122505188, -0.006282460410147905, -0.016008207574486732, -0.006980508100241423, 0.012397399172186852, -0.0023941618856042624, -0.010039446875452995, -0.0014101744163781404, 0.0019585508853197098, 0.037690937519073486, -0.008879435248672962, 0.027313565835356712, 0.03894098848104477, 0.005237135104835033, -0.012674473226070404, -0.014417256228625774, 0.02362956292927265, -0.026863347738981247, 0.006102798972278833, 0.021416496485471725, -0.012352569960057735, 0.007898830808699131, 0.003344610333442688, -0.04851812869310379, -0.024232400581240654, -0.007253602612763643, 0.008470788598060608, 0.07867539674043655, -0.013094896450638771, -0.010400631465017796, -0.0071471864357590675, -0.020577579736709595, 0.008266046643257141, -0.03784745931625366, -0.006424720399081707, 0.02726166881620884, -0.014161746017634869, 0.021061941981315613, 0.059079162776470184, 0.0012317025102674961, 0.03904781863093376, 0.027342354878783226, 0.011235949583351612, -0.0013092583976686, -0.06885359436273575, 0.05615605041384697, 0.024706674739718437, -0.03264150768518448, -0.020799992606043816, -0.0274371225386858, -0.04074380546808243, -0.01319789607077837, -0.06746181845664978, 0.039789605885744095, 0.06101945787668228, -0.006220134906470776, -0.007576409261673689, -0.01720554567873478, 0.029766889289021492, 0.04190118983387947, -0.012729844078421593, -0.0030565503984689713, 0.0017522963462397456, 0.050925541669130325, 0.022950194776058197, -0.012979579158127308, 0.006734522990882397, -0.042655810713768005, 0.005860819015651941, -0.04391707479953766, 0.008212645538151264, 0.025562746450304985, -0.0071133775636553764, -0.005820751655846834, 0.03553905710577965, -0.019941559061408043, -0.010100441984832287, 0.02806813083589077, 0.0140728410333395, 0.03644794225692749, 0.00519236084073782, 0.017649130895733833, 0.01221889816224575, -0.029908115044236183, 0.04151607304811478, 0.014986577443778515, -0.030552782118320465, -0.002133143600076437, 0.019369833171367645, 0.0671548917889595, 0.04344785585999489, 0.019134758040308952, 0.030574381351470947, 0.0008747426327317953, 0.027378268539905548, -0.008280101232230663, 0.03703718259930611, 0.0368194617331028, -0.019071925431489944, -0.02145802229642868, -0.019191129133105278, -0.006453510839492083, -0.006384880281984806, 0.014660567045211792, 0.05477434769272804, 0.019169075414538383, 0.0019326761830598116, -0.02606608346104622, 0.02809504047036171, 0.025617431849241257, 0.007901966571807861, 0.03615442290902138, 0.015498843044042587, 0.07675284892320633, 0.01645948924124241, 0.06354270875453949, -0.009356382302939892, -0.009573104791343212, 0.025416579097509384, 0.020321784541010857, 0.01051169540733099, 0.017449049279093742, -0.01337998453527689, 0.04318984970450401, 0.029150130227208138, 0.0006285517010837793, 0.005367994774132967, 0.01750009134411812, -0.008319081738591194, 0.00911501795053482, -0.004778852686285973, -0.0008454707567580044, -0.024413233622908592, -0.03580337017774582, -0.009760255925357342, 0.022357862442731857, 0.005924287252128124, -0.021165434271097183, 0.02525731362402439, 0.016200479120016098, 0.01907067559659481, -0.029060475528240204, -0.02594751864671707, 0.023927701637148857, 0.0294047798961401, 0.026604531332850456, 0.006779154762625694, -0.0038663260638713837, -0.0074726492166519165, 0.02361815795302391, -0.01684415340423584, -0.004509193357080221, -0.046693239361047745, -0.02938666008412838, 0.008934714831411839, 0.025224434211850166, -0.010635638609528542, 0.021409939974546432, 0.027582431212067604, 0.02038838528096676, -0.006736241281032562, -0.006266532465815544, -0.011513512581586838, -0.03627310320734978, -0.0015509490622207522, -0.01863068901002407, 0.02281438373029232, -0.04522579908370972, 0.023199670016765594, 0.07045894116163254, 0.02304213121533394, -0.05069931969046593, -0.010807624086737633, -0.0028502324130386114, -0.004997862968593836, 0.004613677971065044, 0.019160181283950806, 0.01217791810631752, -0.029530616477131844, -0.013946790248155594, 0.008733653463423252, 0.0050195446237921715, -0.03656214848160744, 0.03386841341853142, 0.021003445610404015, -0.015062831342220306, -0.026147738099098206, 0.02108236961066723, 0.05211054906249046, 0.00842086598277092, 0.022469013929367065, 0.04140090197324753, 0.01754755899310112, 0.021859947592020035, -0.06362392753362656, 0.03171170502901077, -0.018704263493418694, -0.0006834519444964826, -0.03736213594675064, -0.031024077907204628, -0.02271338738501072, 0.006181355100125074, 0.010543473064899445, 0.004513809457421303, -0.030685098841786385, -0.009274529293179512, -0.032087650150060654, 0.004121816251426935, -0.010731568560004234, 0.0015729534206911922, 0.03736598789691925, 0.021398618817329407, 0.03609120100736618, 0.015007279813289642, -0.02055022493004799, 0.011521113105118275, 0.012442052364349365, 0.02155698649585247, 0.054508160799741745, -0.01748931035399437, -0.016711696982383728, 0.013201887719333172, -0.005597071256488562, 0.005801111925393343, -0.0664767250418663, 0.026213137432932854, 0.03159061074256897, 0.005805433727800846, -0.039024773985147476, 0.00988359097391367, -0.0013599221128970385, 0.004078703932464123, 0.04331468045711517, -0.0351240448653698, -0.04164186492562294, -0.016421914100646973, -0.041297782212495804, -0.02834830991923809, 0.03366578742861748, -0.0667816549539566, 0.012034052982926369, 0.017413154244422913, 0.013526605442166328, -0.06803832948207855, 0.007502507418394089, -0.040415208786726, 0.014155222102999687, -0.01664157770574093, -0.0148968156427145, -0.04607967287302017, 0.02972862869501114, 0.025306694209575653, -0.0044508203864097595, -0.04318609461188316, 0.06766004115343094, 0.04852968826889992, -0.04351148381829262, 0.008337282575666904, 0.007550723385065794, 0.03843009099364281, 0.002163615543395281, 0.006538349203765392, -0.00397175457328558, 0.05403070151805878, 0.01545641478151083, -0.022180089727044106, -0.04259073734283447, -0.001381032052449882 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
Autoregressive prediction function The model performs an [autoregressive prediction](https://en.wikipedia.org/wiki/Autoregressive_model); that is to say that predictions made at the current time-step **t** are sequentially conditioned on the outputs from previous time-steps. This function is quite meaty, so we will aim to explain it in the comments. `````python # Function that gets an action from the model using autoregressive prediction # with a window of the previous 20 timesteps. def get_action(model, states, actions, rewards, returns_to_go, timesteps): # This implementation does not condition on past rewards states = states.reshape(1, -1, model.config.state_dim) actions = actions.reshape(1, -1, model.config.act_dim) returns_to_go = returns_to_go.reshape(1, -1, 1) timesteps = timesteps.reshape(1, -1) # The prediction is conditioned on up to 20 previous time-steps states = states[:, -model.config.max_length :] actions = actions[:, -model.config.max_length :] returns_to_go = returns_to_go[:, -model.config.max_length :] timesteps = timesteps[:, -model.config.max_length :] # pad all tokens to sequence length, this is required if we process batches padding = model.config.max_length - states.shape[1] attention_mask = torch.cat([torch.zeros(padding), torch.ones(states.shape[1])]) attention_mask = attention_mask.to(dtype=torch.long).reshape(1, -1) states = torch.cat([torch.zeros((1, padding, state_dim)), states], dim=1).float() actions = torch.cat([torch.zeros((1, padding, act_dim)), actions], dim=1).float() returns_to_go = torch.cat([torch.zeros((1, padding, 1)), returns_to_go], dim=1).float() timesteps = torch.cat([torch.zeros((1, padding), dtype=torch.long), timesteps], dim=1) # perform the prediction state_preds, action_preds, return_preds = model( states=states, actions=actions, rewards=rewards, returns_to_go=returns_to_go, timesteps=timesteps, attention_mask=attention_mask, return_dict=False,) return action_preds[0, -1]
[ 0.029531199485063553, -0.009309295564889908, 0.06116032972931862, -0.023192433640360832, 0.03486458957195282, 0.09182976186275482, 0.03541973605751991, 0.023388229310512543, -0.060444220900535583, -0.008895885199308395, -0.07190242409706116, 0.07015839964151382, -0.03272941708564758, 0.06470136344432831, -0.0667247399687767, -0.005245874170213938, 0.058899857103824615, -0.03509833663702011, -0.009163739159703255, 0.0209560077637434, 0.02356543578207493, -0.021514374762773514, 0.07373740524053574, 0.020394334569573402, -0.016356004402041435, -0.04859437048435211, -0.027907127514481544, 0.023000476881861687, -0.11265479773283005, 0.0170733779668808, -0.1393006592988968, -0.038722019642591476, 0.02880997397005558, -0.017825892195105553, 0.010253568179905415, 0.001605874509550631, -0.10345087200403214, -0.0022956382017582655, 0.060569386929273605, -0.038023173809051514, -0.027734842151403427, 0.0063211810775101185, -0.07222844660282135, 0.08622048795223236, 0.02346203848719597, -0.05357258766889572, -0.1460801213979721, 0.08572520315647125, 0.003829941852018237, -0.051017533987760544, -0.05021316558122635, 0.08892129361629486, -0.08258305490016937, 0.039450522512197495, -0.0472988486289978, 0.045868683606386185, -0.0434439480304718, -0.014135211706161499, -0.008529792539775372, -0.014428741298615932, 0.0478549525141716, 0.004989883862435818, -0.0032491888850927353, 0.07238180190324783, 0.029976699501276016, 0.0012029658537358046, 0.053436052054166794, 0.046330776065588, -0.04007655754685402, -0.00966358371078968, -0.041194286197423935, -0.035311996936798096, -0.00170505593996495, 0.053796980530023575, -0.016560008749365807, -0.038525328040122986, -0.06577647477388382, -0.0054946038872003555, -0.007449144497513771, 0.053636010736227036, 0.02366131730377674, -0.008926133625209332, 0.03411591425538063, 0.05966741964221001, -0.004108046181499958, 0.008169898763298988, -0.024714330211281776, -0.1105039045214653, -0.011165780015289783, 0.0328400582075119, -0.06920185685157776, -0.12359356880187988, -0.0024019714910537004, -0.01993718557059765, -0.02603311277925968, -0.03045802377164364, -0.02548886090517044, -0.023857995867729187, -0.05162815377116203, -0.05027313902974129, 0.058837443590164185, -0.07711637020111084, 0.02256789617240429, -0.018027734011411667, -0.07058866322040558, 0.03863472491502762, -0.03081090934574604, -0.05290575698018074, -0.05059468746185303, -0.07645772397518158, -0.026685716584324837, 0.02566131390631199, -0.0013800959568470716, 0.07036673277616501, -0.027595125138759613, -0.01074829138815403, -0.040160100907087326, 0.023524461314082146, 0.041540998965501785, -0.005131803918629885, -0.043687399476766586, 0.05250954627990723, 0.07461359351873398, -0.018345901742577553, -0.03877959027886391, 0.036276381462812424, 0.04464858025312424, -0.005052831023931503, 0.01790393516421318, -0.044059451669454575, 0.0552949421107769, -0.015169745311141014, 0.026561103761196136, 0.013846643269062042, -0.012269534170627594, -0.027551475912332535, -0.017967041581869125, -0.0014290264807641506, 0.025644296780228615, 0.04569279029965401, -0.052689217031002045, 0.013669468462467194, -0.007611074484884739, -0.002621961059048772, 0.04056406021118164, -0.10388047248125076, -0.05094287917017937, 0.061261098831892014, -0.004943427164107561, 0.05318062752485275, -0.05347881093621254, 0.021930882707238197, -0.030725998803973198, -0.08953920006752014, -0.013545160181820393, 0.03824459761381149, -0.03874588757753372, -0.01849079504609108, -0.05348221957683563, -0.041503868997097015, 0.057746320962905884, 0.04800327867269516, -0.04667757824063301, -0.03404805809259415, 0.0631822943687439, -0.0036906779278069735, 0.01042240671813488, 0.0033680403139442205, 0.03747167810797691, 0.006139511242508888, -0.02610785886645317, 0.024241851642727852, 0.037217430770397186, 0.003230145201086998, -0.01179747935384512, 0.06773386150598526, 0.01570856384932995, 0.02736457623541355, -0.01620548963546753, -0.05797629430890083, -0.04377279803156853, 0.051732562482357025, -0.05735962837934494, 0.02833438664674759, 0.06082087755203247, -0.0482570044696331, 0.003967120312154293, 0.010106640867888927, 0.02396438643336296, 0.11709608137607574, -0.04445009306073189, -0.0008287772652693093, 0.04490549862384796, -0.05053378641605377, -0.009803893975913525, -0.09111107140779495, -0.06098179519176483, 0.034836795181035995, 0.024715030565857887, -0.017458708956837654, 0.01383278053253889, 0.023272402584552765, 0.04693149775266647, -0.042739011347293854, 0.03538000211119652, 0.025163253769278526, 0.03651443123817444, -0.007429283577948809, 0.04590369015932083, 0.023903248831629753, 0.001061721472069621, -0.10845831781625748, -0.02467263862490654, -0.07464791089296341, 0.0012565059587359428, 0.04096518084406853, -0.006900724954903126, 0.04416782408952713, -0.0408952571451664, 0.011563198640942574, 0.1334332972764969, -0.03403401002287865, -0.02416122518479824, -0.006351827643811703, -0.018501924350857735, -0.004880417138338089, 0.0749935433268547, 0.057122740894556046, 0.08473257720470428, -0.07076765596866608, -0.03092470020055771, -0.08155707269906998, 0.033418044447898865, 0.050134848803281784, 0.00037194311153143644, -0.03475508466362953, 0.04740914702415466, 0.035754889249801636, -0.02440575882792473, -0.0387389212846756, 0.04179657995700836, 0.03392036259174347, 0.04942987486720085, 0.09826449304819107, -0.009138545021414757, -0.03574903681874275, 0.08952809870243073, -0.002657267265021801, -0.07158121466636658, -0.0046893032267689705, -0.04143480211496353, 0.026150094345211983, 0.002085728570818901, -0.024423394352197647, 0.01708197221159935, 0.06939467042684555, -0.01163804717361927, -0.009887601248919964, -0.01771652325987816, 0.0855802670121193, 0.015117446891963482, -0.019961945712566376, -0.016510415822267532, -0.03447245433926582, -0.0122607983648777, -0.019548634067177773, 0.05261262133717537, 0.008267879486083984, 0.012038487009704113, 0.020158065482974052, -0.0032227826304733753, 0.01139357965439558, 0.015143698081374168, 0.028582382947206497, 0.022437281906604767, 0.017669973894953728, 0.05717138946056366, -0.008515268564224243, -0.04421613737940788, -0.023602351546287537, -0.03209047392010689, -0.020734628662467003, 0.06361574679613113, 0.011075416579842567, 0.025807134807109833, -0.00792623870074749, 0.009681004099547863, 0.00815073773264885, 0.011383400298655033, 0.05066024884581566, 0.011830246075987816, 0.016932005062699318, 0.017278047278523445, -0.0008640812593512237, -0.009441846050322056, 0.06882185488939285, -0.012931530363857746, -0.0012422716245055199, 0.008972223848104477, -0.005671164486557245, -0.018026670441031456, -0.0009039946598932147, -0.0171677116304636, -0.01627875678241253, 0.012808159925043583, 0.03618873283267021, -0.005484689958393574, 0.05814657732844353, -0.1051999181509018, -0.04781721159815788, 0.05800659954547882, -0.0008630842785350978, -0.006135561037808657, -0.021207470446825027, 0.06394670158624649, 0.04149267449975014, -0.014611315913498402, -0.022351834923028946, 0.003964539617300034, -0.008810598403215408, -0.007511753123253584, 0.01754583977162838, -0.005320347845554352, -0.007542024366557598, -0.0086378064006567, 0.022045323625206947, -0.019725991412997246, -0.030632661655545235, -0.00900508463382721, 0.04533538594841957, -0.02048151195049286, -0.007200388237833977, -0.024948088452219963, -0.01338768657296896, 0.055319078266620636, -0.007003786973655224, 0.01767202652990818, -0.026742136105895042, -0.030767962336540222, -0.01825626567006111, -0.035905901342630386, 0.0179019533097744, -0.02731264755129814, -0.01296214759349823, 0.005314046051353216, 0.007443492766469717, 0.01276469323784113, 0.02077723853290081, -0.013862377032637596, 0.039353370666503906, 0.0004138265794608742, -0.017741406336426735, -0.0013546397676691413, -0.009864246472716331, 0.0053110672160983086, -0.012257859110832214, 0.0046404581516981125, -0.038869522511959076, -0.054807256907224655, -0.022660067304968834, -0.04633026197552681, 0.01595691777765751, 0.008788417093455791, -0.01870599389076233, -0.019937800243496895, 0.04836052656173706, 0.04560573026537895, -0.004401175770908594, -0.027417508885264397, 0.030937548726797104, -0.007498214952647686, -0.04798967391252518, -0.026593729853630066, 0.045684583485126495, 0.050268061459064484, -0.006660094019025564, -0.004465172067284584, -0.006215962581336498, 0.0033111046068370342, 0.05323156714439392, -0.005815841257572174, 0.0017748806858435273, -0.021040212363004684, 0.0046721454709768295, -0.013399477116763592, -0.009232410229742527, 0.08108367025852203, 0.024927137419581413, -0.024334976449608803, -0.02825133688747883, -0.028125077486038208, -0.020142097026109695, 0.012176139280200005, -0.034278228878974915, 0.01533467322587967, 0.003272047033533454, 0.017888393253087997, 0.03328941389918327, 0.03256985545158386, 0.0010244457516819239, 0.04389091581106186, 0.034168630838394165, -0.03415048494935036, 0.04809355363249779, -0.0030751547310501337, 0.01210593432188034, 0.0357186459004879, -0.018208017572760582, 0.022478224709630013, -0.054884664714336395, 0.021281050518155098, -0.03220697119832039, -0.03074781410396099, 0.0069461241364479065, -0.01877935789525509, -0.020462632179260254, -0.025413090363144875, -0.010258533991873264, 0.0013376319548115134, 0.0007958543137647212, 0.018498368561267853, -0.03381365165114403, 0.057006269693374634, 0.02555537223815918, 0.000928817898966372, -0.062381990253925323, -0.013951056636869907, 0.028682328760623932, -0.03159618377685547, 0.03289283066987991, -0.04365537688136101, -0.02367476560175419, 0.0120462104678154, -0.008116375654935837, 0.04913642629981041, 0.05812554806470871, 0.010057567618787289, -0.04381256923079491, -0.059804581105709076, -0.011887595057487488, 0.016986381262540817, -0.025720741599798203, -0.026711462065577507, 0.006420531775802374, 0.01756243221461773, -0.012349501252174377, 0.004171741660684347, -0.0427071675658226, -0.04121890664100647, 0.014499456621706486, 0.004633494187146425, -0.03997249901294708, -0.0007036963361315429, 0.03592511638998985, -0.019503669813275337, -0.0016244958387687802, -0.05370781198143959, 0.05480288341641426, 0.06199844926595688, -0.00909247063100338, -0.039747659116983414, -0.034042272716760635, 0.03316807746887207, -0.0027667516842484474, 0.011503856629133224, 0.033507075160741806, -0.020587187260389328, 0.023810382932424545, 0.007664395961910486, -0.016185814514756203, 0.014768377877771854, 0.047910165041685104, 0.030760059133172035, -0.02260405756533146, -0.019564947113394737, -0.05152229964733124, 0.04342353343963623, 0.020890502259135246, -0.048875272274017334, 0.0021486771292984486, 0.009924259968101978, 0.0011648848885670304, -0.00612471392378211, 0.02341100387275219, 0.01347187627106905, -0.012235524132847786, 0.007234676741063595, 0.008721322752535343, 0.018656525760889053, 0.04428865388035774, 0.02564806491136551, -0.005526422988623381, -0.03144150227308273, 0.014154828153550625, 0.004495509900152683, 0.028229812160134315, 0.029950179159641266, 0.04458233341574669, 0.03758659586310387, -0.0018447310430929065, -0.02615116722881794, -0.06833931803703308, 0.015308510512113571, 0.02439042553305626, -0.014759393408894539, 0.005813394673168659, -0.02168460749089718, -0.004044547211378813, 0.046313997358083725, 0.044005971401929855, 0.01857554353773594, -0.05855073779821396, 0.03398451581597328, 0.004254190716892481, -0.0373021736741066, -0.005697029177099466, -0.0004387876542750746, -0.025678813457489014, 0.028364546597003937, -0.014868974685668945, 0.017484745010733604, 0.020586268976330757, -0.0007323119207285345, -0.014086547307670116, 0.004936068784445524, 0.03179508075118065, 0.02043607272207737, 0.059726011008024216, 0.004098785575479269, -0.007153687067329884, 0.01921139843761921, 0.018659939989447594, 0.028669431805610657, -0.025967778638005257, -0.0011943756835535169, 0.033350422978401184, -0.027926981449127197, 0.038696978241205215, 0.04134819284081459, 0.0021910248324275017, -0.02585022896528244, -0.015084060840308666, 0.023190559819340706, -0.06049976870417595, -0.024627147242426872, 0.09139556437730789, 0.021391134709119797, 0.004985896870493889, -0.02312811091542244, 0.01597096212208271, -0.022503308951854706, 0.03540327772498131, -0.027376551181077957, 0.02038552053272724, 0.046602051705121994, -0.043152596801519394, 0.009544594213366508, -0.018562279641628265, 0.03686074912548065, 0.014162162318825722, -0.01644359715282917, -0.002311261836439371, 0.006521332543343306, 0.07838380336761475, 0.013353901915252209, 0.036749035120010376, 0.02770232781767845, 0.027704982087016106, 0.04958580806851387, -0.048571713268756866, 0.010127546265721321, 0.030595403164625168, -0.0019285045564174652, 0.055186230689287186, 0.0022757190745323896, -0.019592052325606346, 0.035660240799188614, 0.013921150006353855, 0.023653915151953697, 0.008348802104592323, 0.010854443535208702, 0.017315274104475975, -0.016512135043740273, -0.023087231442332268, -0.01749040186405182, 0.05825270712375641, -0.014774912968277931, 0.02509336546063423, 0.0023919115774333477, 0.04745013266801834, -0.0013732101069763303, 0.029744215309619904, 0.011957615613937378, -0.014333085156977177, 0.05528036504983902, 0.01616511307656765, -0.002347884001210332, 0.035124003887176514, 0.016682609915733337, 0.03481012582778931, -0.014353740960359573, -0.01594145968556404, -0.0051673399284482, -0.015753036364912987, 0.044142235070466995, -0.0025531614664942026, 0.02485606260597706, 0.011909731663763523, 0.026187637820839882, 0.04656447470188141, 0.0346074216067791, 0.022700132802128792, -0.02895847149193287, 0.014343691989779472, 0.03303898498415947, 0.002054945332929492, 0.028674699366092682, -0.000601019652094692, 0.004831043537706137, 0.04952055588364601, -0.0021377387456595898, 0.038734760135412216, 0.04643791913986206, -0.04568552225828171, -0.005472416058182716, -0.0523822084069252, -0.027422381564974785, 0.01044890470802784, 0.013206246308982372, 0.019147053360939026, 0.008856778964400291, 0.006727735046297312, -0.021560324355959892, -0.0007127485005185008, -0.00863721128553152, -0.004910641349852085, -0.023756898939609528, -0.0010451272828504443, -0.003775158664211631, 0.050912946462631226, -0.0003762537962757051, -0.03256525844335556, -0.031015988439321518, 0.01423849631100893, 0.020747603848576546, -0.02003871463239193, -0.015141872689127922, -0.04467388242483139, -0.017692415043711662, 0.015501001849770546, -0.027463871985673904, 0.019286317750811577, 0.0019257612293586135, 0.028444016352295876, -0.0036628383677452803, 0.02311156690120697, -0.04231448471546173, 0.024620193988084793, 0.03324224427342415, 0.006794273387640715, -0.016214117407798767, 0.009893421083688736, -0.027019476518034935, -0.019859347492456436, 0.02563064731657505, -0.031895916908979416, 0.021833186969161034, 0.010197578929364681, 0.03182489052414894, 0.012552333995699883, 0.03754056617617607, -0.01157655380666256, -0.0032880401704460382, -0.02419118769466877, -0.0640043243765831, -0.0189046673476696, 0.010322299785912037, 0.013484666123986244, -0.02361208386719227, 0.01938513107597828, -0.014741930179297924, -0.03666827827692032, -0.016965743154287338, -0.013511162251234055, 0.02713087759912014, -0.010139863938093185, -0.0026461167726665735, 0.04638934135437012, 0.029289452359080315, 0.005186526104807854, 0.003572226734831929, 0.034031789749860764, -0.04620673507452011, 0.019234253093600273, -0.022654268890619278, 0.010819745250046253, -0.02754177898168564, 0.0304644126445055, -0.05833350121974945, -0.01933114416897297, -0.027378389611840248, -0.0008669583476148546, -0.010475918650627136, -0.016237745061516762, -0.04949020594358444, -0.002512654522433877, 0.01413659192621708, 0.005616735201328993, -0.0005027286824770272, 0.007097525522112846, 0.04041631147265434, -0.001132697332650423, 0.03442934527993202, 0.016793187707662582, -0.035522669553756714, -0.02777663990855217, -0.014391439966857433, 0.020415281876921654, 0.004290539305657148, -0.008276625536382198, 0.02737530879676342, -0.01122566219419241, -0.025914330035448074, -0.026426564902067184, -0.05623745918273926, 0.010424211621284485, 0.01120530255138874, -0.024173427373170853, -0.0213177427649498, 0.00406509917229414, 0.039491768926382065, 0.010008114390075207, 0.02317861281335354, -0.030604476109147072, -0.013434918597340584, -0.01372253242880106, 0.02947012521326542, -0.05780139937996864, -0.003660382702946663, 0.022043544799089432, -0.007362414617091417, 0.03189431130886078, -0.006789498962461948, 0.04026784375309944, 0.013040522113442421, 0.0013950227294117212, 0.009199772961437702, 0.017481014132499695, -0.028927139937877655, -0.0975547507405281, -0.013836463913321495, 0.027373258024454117, 0.003966107033193111, -0.010161523707211018, 0.005515508819371462, -0.009678483009338379, -0.01490785926580429, 0.010261164978146553, -0.0051285140216350555, 0.0650775209069252, -0.001501161721535027, 0.03890741616487503, -0.002242007991299033, 0.05871951952576637, -0.0007988073048181832, 0.006436723284423351, -0.012117051519453526, -0.0205575842410326 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
References [1] Chen, Lili, et al. "Decision transformer: Reinforcement learning via sequence modeling." Advances in neural information processing systems 34 (2021). [2] Agarwal, Rishabh, Dale Schuurmans, and Mohammad Norouzi. "An optimistic perspective on offline reinforcement learning." International Conference on Machine Learning. PMLR, 2020.
[ 0.05241077393293381, -0.08260700106620789, 0.008233304135501385, 0.02737974002957344, 0.03972458094358444, 0.09566356986761093, -0.05624045059084892, 0.03435410559177399, -0.028255842626094818, -0.07814113795757294, -0.06934615224599838, 0.08264303207397461, -0.02028609998524189, 0.06217951700091362, 0.016934067010879517, -0.0027840484399348497, 0.014669817872345448, -0.005830872338265181, 0.010346036404371262, -0.013241219334304333, -0.031929660588502884, -0.009111082181334496, 0.007205137982964516, 0.0002640419115778059, -0.029074788093566895, -0.07242416590452194, 0.02332867495715618, -0.03190320357680321, -0.058258991688489914, 0.032968293875455856, -0.08079501986503601, -0.029949475079774857, 0.021549992263317108, -0.005842315033078194, -0.07667133212089539, -0.02396855130791664, -0.09911460429430008, -0.019124455749988556, 0.021873505786061287, -0.005155512597411871, 0.027496764436364174, 0.006687922868877649, -0.06973609328269958, 0.04595614969730377, 0.03153728321194649, -0.019291384145617485, -0.1828361600637436, 0.009990626946091652, -0.03952430188655853, -0.04919210821390152, 0.0022136946208775043, 0.06485816836357117, -0.0011021032696589828, 0.0006426889449357986, -0.018055129796266556, -0.006389962043613195, 0.004781368654221296, -0.07904864847660065, 0.03939433395862579, 0.023241737857460976, 0.04547037556767464, 0.033731333911418915, 0.017090164124965668, -0.008060579188168049, 0.025813564658164978, -0.006508115213364363, 0.050799671560525894, -0.0487239770591259, -0.03922545909881592, -0.010134119540452957, 0.03738998994231224, -0.011345083825290203, -0.04246874526143074, 0.02557148039340973, 0.0029712410178035498, 0.014793818816542625, 0.005994164850562811, 0.06290550529956818, 0.026298288255929947, 0.055259399116039276, 0.03786563500761986, 0.03515353426337242, 0.10894042998552322, 0.06840208917856216, 0.05509381741285324, 0.027130406349897385, 0.03084501624107361, -0.06673694401979446, -0.02977278269827366, 0.020037928596138954, -0.06553808599710464, -0.10227754712104797, 0.006227513775229454, -0.0037672834005206823, 0.07320813089609146, -0.0700886994600296, 0.03388521075248718, 0.005489375442266464, -0.06347402930259705, -0.028295744210481644, 0.023518111556768417, -0.029518790543079376, 0.060706883668899536, -0.006408777553588152, -0.00729521457105875, 0.017740247771143913, -0.0051309941336512566, -0.0791502594947815, -0.07000526040792465, 0.05434737727046013, 0.027229364961385727, 0.04916759580373764, 0.05346029996871948, 0.05392894148826599, -0.10899797081947327, 0.08638818562030792, -0.0030044338200241327, -0.004707667510956526, -0.018688812851905823, 0.00917934812605381, -0.00594478752464056, 0.05820092558860779, 0.03410416468977928, 0.03585262596607208, 0.0170598141849041, 0.035837315022945404, 0.010724043473601341, -0.0340622216463089, 0.005158206447958946, -0.007319949567317963, 0.010672404430806637, -0.02039984054863453, -0.02252209559082985, -0.014281592331826687, 0.005663068499416113, -0.04923071339726448, -0.009318782947957516, -0.03405674546957016, -0.03485041856765747, -0.00766520481556654, -0.1057363897562027, 0.020077919587492943, 0.05908584967255592, 0.014068163931369781, 0.08831887692213058, -0.06769921630620956, -0.08510427176952362, 0.0780884400010109, 0.030220866203308105, -0.03966088593006134, 0.002308191731572151, 0.018481282517313957, -0.07537698745727539, -0.10321135073900223, -0.01998021826148033, -0.003275456838309765, -0.00013456270971801132, 0.006189212668687105, -0.07369060069322586, -0.05285299941897392, -0.02342754602432251, 0.056658100336790085, -0.01593705452978611, -0.004971043672412634, 0.04121669754385948, -0.049104541540145874, 0.017077766358852386, 0.05486203357577324, 0.017278704792261124, -0.04475950822234154, 0.03969511389732361, -0.04702606424689293, 0.0011888418812304735, -0.0057804468087852, -0.06336595118045807, 0.024594567716121674, 0.002205227268859744, 0.030164211988449097, 0.04620542749762535, -0.06358745694160461, -0.034988805651664734, -0.035648051649332047, 0.022534294053912163, 0.0010462785139679909, 0.050547029823064804, -0.0571402981877327, 0.02465406246483326, 0.01115462463349104, 0.038451869040727615, 0.04059266299009323, -0.10157664120197296, -0.002548708813264966, 0.08118028193712234, -0.03448287025094032, 0.05498933792114258, -0.01407669112086296, -0.05423985794186592, 0.12688319385051727, 0.02076517418026924, 0.059256039559841156, 0.11409495770931244, -0.047389376908540726, 0.015991972759366035, -0.03542455658316612, -0.019606729969382286, 0.004228529054671526, 0.02706741914153099, -0.01771264523267746, 0.03773245960474014, -0.010296574793756008, -0.0182432122528553, -0.00958471093326807, -0.02742174081504345, -0.05445278435945511, -0.011431562714278698, -0.04319613054394722, -0.025565147399902344, 0.06170303001999855, 0.017417725175619125, -0.0356602743268013, 0.14952582120895386, -0.0020098229870200157, -0.02356240339577198, 0.05326817184686661, 0.05583658441901207, 0.05660709738731384, 0.07676481455564499, -0.011044168844819069, 0.06476384401321411, 0.016472103074193, 0.020736657083034515, -0.04688754305243492, 0.03398149088025093, 0.04418456554412842, 0.06977909058332443, -0.015813881531357765, -0.055754248052835464, -0.003737000748515129, -0.017753679305315018, -0.013002882711589336, 0.013174525462090969, 0.013884305022656918, 0.05011489987373352, 0.08719038963317871, -0.0029089602176100016, -0.07214661687612534, 0.03361326828598976, 0.05485937371850014, 0.0261546578258276, -0.003864206839352846, -0.08459561318159103, 0.10258498787879944, 0.03307094797492027, -0.0183105431497097, 0.03865936025977135, 0.0675312802195549, 0.012983345426619053, 0.003065729048103094, 0.013599731959402561, 0.05695054680109024, 0.0008010354940779507, -0.019435547292232513, 0.0006474099936895072, -0.015394453890621662, -0.03636401891708374, -0.05651894956827164, -0.010095377452671528, -0.00988736841827631, 0.016491863876581192, 0.037239186465740204, -0.00589234521612525, -0.01727174036204815, 0.0010363569017499685, 0.038678787648677826, -0.014213676564395428, 0.00783937331289053, 0.0744195431470871, 0.01004625391215086, -0.003281603567302227, -0.013835275545716286, -0.021693293005228043, -0.03038996458053589, 0.02757517248392105, 0.027018653228878975, 0.007748317904770374, 0.0026054733898490667, 0.05479664355516434, -0.026590848341584206, -0.0009474525577388704, 0.031076621264219284, -0.02176821604371071, 0.011586721986532211, -0.005123643670231104, -0.05114002525806427, -0.01904057152569294, -0.0019082139478996396, 0.003194771707057953, -0.006404694635421038, -0.0028371054213494062, -0.02616203762590885, -0.004172541666775942, 0.03270135447382927, 0.020503295585513115, 0.036967791616916656, -0.004667805973440409, 0.032105378806591034, 0.05471397191286087, 0.05233049765229225, -0.10702984035015106, -0.052557572722435, 0.024297326803207397, 0.05312682315707207, -0.002208101563155651, -0.07051236182451248, 0.007788002025336027, -0.003281767712906003, -0.029662588611245155, -0.025102421641349792, 0.018182910978794098, -0.013967224396765232, -0.009321523830294609, 0.011758147738873959, -0.04212218150496483, -0.014916196465492249, -0.041149429976940155, 0.012732506729662418, -0.022525904700160027, 0.01830708421766758, -0.018472807481884956, 0.050562385469675064, -0.02842896245419979, 0.017436111345887184, -0.03984479233622551, 0.011667708866298199, 0.014756116084754467, 0.04863481968641281, 0.015609498135745525, -0.04186466708779335, -0.026313597336411476, -0.03278147429227829, -0.03797431290149689, 0.009278385899960995, -0.034128934144973755, 0.004118863493204117, -0.029087968170642853, 0.018547816202044487, 0.03422750532627106, 0.06353501230478287, 0.017575642094016075, -0.04683879762887955, 0.03560352325439453, -0.01124472077935934, -0.00440586544573307, 0.01975899748504162, 0.027968917042016983, 0.00005090995546197519, 0.023492783308029175, -0.015548490919172764, -0.025788074359297752, -0.0020557574462145567, -0.00713950302451849, 0.031935375183820724, 0.03222481906414032, -0.010797256603837013, -0.04453212395310402, 0.0110082495957613, 0.009574918076395988, 0.031280215829610825, 0.00799365434795618, 0.014820076525211334, 0.011141734197735786, -0.0307601410895586, -0.03784571588039398, 0.043225470930337906, 0.027258990332484245, 0.005904682911932468, -0.04365367814898491, 0.02794964611530304, 0.002295320387929678, 0.01930023916065693, 0.0017623479943722486, 0.0021450850181281567, -0.03285294771194458, 0.031990911811590195, 0.012096790596842766, 0.0009936627466231585, 0.1171913892030716, 0.014306053519248962, -0.037205979228019714, -0.045532941818237305, -0.040376145392656326, 0.009028091095387936, -0.0033218220341950655, 0.024808090180158615, 0.03815436735749245, 0.020939776673913002, -0.016788547858595848, 0.016136979684233665, 0.004595095757395029, -0.032376863062381744, 0.02739172801375389, -0.027686405926942825, 0.006881151348352432, 0.0435248501598835, 0.03996414691209793, 0.035399217158555984, -0.002339482307434082, 0.007921810261905193, 0.015158543363213539, -0.03171166032552719, -0.00626022182404995, -0.01233823411166668, -0.008974249474704266, 0.03892075642943382, 0.008397898636758327, -0.024279415607452393, -0.048156097531318665, -0.01570548303425312, 0.015350892208516598, -0.053875233978033066, -0.026189934462308884, -0.006158305797725916, 0.028166478499770164, 0.02565484121441841, -0.013111748732626438, 0.00618690624833107, -0.04373019561171532, 0.019837111234664917, -0.046200621873140335, -0.004255908541381359, 0.012932644225656986, 0.03412307798862457, 0.008957099169492722, 0.00013472621503751725, 0.00019981731020379812, 0.02776903659105301, -0.010155611671507359, -0.002379469107836485, -0.001920134760439396, -0.03332946449518204, 0.011492758989334106, 0.015679746866226196, -0.0015987908700481057, 0.00842321664094925, 0.005947205238044262, 0.021421587094664574, -0.061957091093063354, -0.029514888301491737, 0.004235188476741314, 0.03463662788271904, -0.0034709458705037832, -0.05964285135269165, 0.04188099876046181, 0.006775258108973503, -0.000056954497267724946, -0.009204909205436707, -0.013921448960900307, 0.026145588606595993, 0.05885540693998337, -0.017176402732729912, -0.009854614734649658, 0.0588395819067955, 0.0015401850687339902, -0.021507488563656807, 0.029330942779779434, 0.049015987664461136, 0.01776915416121483, 0.05019907280802727, 0.010881873778998852, 0.007920368574559689, -0.04382242634892464, 0.02802497148513794, -0.007464850787073374, 0.01053176261484623, -0.028743239119648933, -0.03266506269574165, 0.028264114633202553, 0.02564958669245243, 0.009461245499551296, -0.017844276502728462, 0.01404605433344841, -0.04052871838212013, -0.01060954388231039, -0.005433905404061079, 0.0358196422457695, 0.006337540224194527, -0.047773826867341995, 0.015537435188889503, -0.015593976713716984, -0.007489109877496958, 0.027054987847805023, 0.020248116925358772, 0.039049357175827026, 0.029409203678369522, 0.0411846861243248, 0.020171616226434708, 0.004205318633466959, -0.029334185644984245, 0.024895181879401207, -0.007502557244151831, -0.0181803647428751, -0.04793810844421387, -0.010021994821727276, 0.040141891688108444, 0.029738152399659157, 0.007517040707170963, -0.007828573696315289, 0.008049863390624523, 0.036877989768981934, -0.01000690832734108, 0.015097050927579403, 0.015477708540856838, 0.0349719412624836, -0.026058439165353775, -0.046480339020490646, -0.019610537216067314, -0.003084279363974929, -0.040347497910261154, 0.004239786881953478, 0.0013379610609263182, -0.0023998043034225702, -0.012753132730722427, 0.006103040184825659, -0.00383179634809494, 0.005571414716541767, 0.01735575683414936, -0.012785953469574451, 0.07387617975473404, -0.0064004575833678246, 0.006252547260373831, 0.012817994691431522, 0.027588214725255966, 0.015180042944848537, -0.022419679909944534, -0.029216844588518143, 0.02112399972975254, -0.02909562736749649, 0.01026198174804449, 0.04215734452009201, -0.02290061116218567, 0.031162666156888008, 0.02705901302397251, 0.0011377081973478198, -0.022689443081617355, -0.041399963200092316, 0.04610704258084297, 0.02338108979165554, -0.028207506984472275, -0.015847954899072647, -0.024223072454333305, -0.031163031235337257, -0.02616880275309086, -0.03898491710424423, 0.0375148244202137, 0.025975611060857773, -0.014071024022996426, -0.0014864257536828518, 0.01099509559571743, 0.012912592850625515, -0.030800892040133476, -0.015938809141516685, 0.0025399010628461838, -0.02350061573088169, 0.0653684064745903, 0.021660832688212395, -0.016576804220676422, -0.023564141243696213, 0.02578752115368843, -0.0030728650745004416, -0.029622796922922134, -0.02130083739757538, 0.00285303290002048, -0.0018773572519421577, 0.019046600908041, -0.0087148267775774, -0.0060014971531927586, 0.018983498215675354, 0.007297620642930269, -0.017394956201314926, 0.031813763082027435, 0.01988093927502632, 0.012482431717216969, -0.0016314889071509242, -0.020968474447727203, 0.05257315933704376, 0.046220868825912476, 0.00015092942339833826, 0.005194479133933783, -0.014631128869950771, -0.008155292831361294, 0.015046290121972561, 0.026523806154727936, 0.002921569161117077, 0.010793614201247692, 0.032680902630090714, -0.020555730909109116, 0.02755657583475113, 0.024435030296444893, -0.041770268231630325, -0.03820496425032616, -0.00952165201306343, -0.045501481741666794, -0.037814661860466, 0.03349221870303154, 0.022462327033281326, -0.029328886419534683, 0.013065519742667675, -0.025565890595316887, 0.03010581061244011, 0.030393393710255623, 0.010618369095027447, 0.01026355754584074, 0.0056200167164206505, 0.0811687484383583, 0.0303216353058815, -0.010788703337311745, -0.028669072315096855, -0.03174322843551636, 0.012965407222509384, 0.018053824082016945, -0.013379000127315521, 0.017978286370635033, -0.023346759378910065, -0.06906729191541672, 0.006142638623714447, -0.0005072708008810878, -0.021857136860489845, -0.00238886009901762, -0.005543066654354334, -0.04103471338748932, 0.03124323859810829, -0.01721307821571827, -0.03377380967140198, -0.00981156062334776, 0.011137988418340683, 0.007861054502427578, -0.00880657322704792, -0.022699009627103806, 0.01656876690685749, 0.05440352484583855, -0.004370405338704586, 0.003174279350787401, -0.008643207140266895, -0.026778239756822586, 0.0220219474285841, 0.0036337373312562704, -0.013551094569265842, -0.015259846113622189, 0.00583306048065424, -0.001233521499671042, -0.012000552378594875, -0.04269561171531677, -0.026153068989515305, -0.0011881145182996988, 0.05734927952289581, 0.05307012423872948, -0.034998975694179535, 0.006360892206430435, 0.0024193490389734507, 0.008210337720811367, -0.014653910882771015, 0.06572479009628296, -0.022086847573518753, -0.011664440855383873, -0.023012686520814896, -0.08013352751731873, -0.0029501488897949457, -0.03939555585384369, 0.03653980791568756, 0.06252998858690262, 0.06503179669380188, -0.03602679446339607, -0.016200685873627663, -0.02234484814107418, 0.000007051826742099365, 0.009526587091386318, 0.004467563237994909, 0.0133401183411479, -0.021620968356728554, -0.0003730427997652441, 0.008928283117711544, 0.01802981086075306, 0.023509431630373, 0.003945015370845795, 0.015893638134002686, -0.013117561116814613, -0.029455211013555527, -0.0006795423105359077, 0.03930804505944252, 0.015523326583206654, 0.02461986243724823, 0.01303702313452959, 0.040441714227199554, 0.005716964602470398, -0.08110839128494263, -0.02191517874598503, -0.004021625034511089, -0.0027813990600407124, -0.019721975550055504, -0.054257865995168686, -0.011438828893005848, 0.023462990298867226, -0.008682060055434704, 0.05870329961180687, -0.03264710679650307, -0.002099896315485239, -0.01619139313697815, -0.009894192218780518, -0.05686574429273605, -0.0392322801053524, 0.04949503764510155, 0.0010209493339061737, 0.04462529718875885, -0.028800953179597855, 0.022725261747837067, -0.014452571980655193, -0.004474567715078592, 0.021543897688388824, 0.037470895797014236, -0.006724921055138111, 0.010833998210728168, -0.07156962901353836, -0.011777203530073166, -0.021598830819129944, -0.04052421450614929, 0.002932717092335224, 0.02251506969332695, -0.022909166291356087, -0.023783549666404724, -0.004026231821626425, -0.010438124649226665, -0.006080578546971083, 0.01523351389914751, -0.0004085168766323477, -0.06696061044931412, 0.005611445754766464, -0.004299008287489414, -0.033405888825654984, 0.013254447840154171, -0.03528010472655296, 0.020425433292984962, 0.0008115863893181086, 0.05027741193771362, -0.03145422786474228, -0.010341581888496876, -0.021382907405495644, -0.022577187046408653, 0.0025294346269220114, -0.006411837413907051, -0.03635871782898903, 0.009870657697319984, -0.015239712782204151, -0.004828925710171461, -0.057076726108789444, 0.017843667417764664, 0.044909488409757614, 0.004029206931591034, -0.004153094720095396, -0.007207599934190512, 0.04731804132461548, -0.00034206107375212014, 0.014664246700704098, 0.006015223916620016, 0.055459391325712204, -0.009410043247044086, 0.005974183790385723, 0.0028943223878741264, 0.0010532899759709835 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
Creating the environment We provide pretrained checkpoints for the Gym Hopper, Walker2D and Halfcheetah. Checkpoints for Atari environments will soon be available.python import gym env = gym.make("Hopper-v3") state_dim = env.observation_space.shape[0] # state size act_dim = env.action_space.shape[0] # action size
[ 0.09453032165765762, -0.02276827208697796, -0.042553119361400604, -0.024397600442171097, 0.06527293473482132, 0.03989700600504875, 0.06215048208832741, -0.00514122424647212, -0.048389945179224014, -0.07022034376859665, -0.04762915149331093, 0.010578365996479988, -0.02697371505200863, -0.0022377476561814547, 0.012303734198212624, -0.0323609858751297, -0.0023922743275761604, -0.05459648743271828, 0.011459127068519592, 0.03904619812965393, -0.008553455583751202, 0.014945117756724358, 0.006980353966355324, 0.025307800620794296, -0.01018095389008522, -0.09188047796487808, 0.003518877550959587, 0.03801007196307182, 0.04774356260895729, 0.04105725884437561, -0.025390632450580597, -0.039688341319561005, 0.028046580031514168, -0.07807402312755585, 0.03161673992872238, 0.03752856329083443, -0.020176270976662636, 0.1229342669248581, 0.03265799209475517, -0.09492278099060059, 0.0011480144457891583, 0.02448655664920807, -0.04993400350213051, -0.007892784662544727, -0.016310591250658035, 0.027946898713707924, -0.04692821204662323, 0.0811653882265091, -0.015208033844828606, -0.032800350338220596, -0.07861265540122986, 0.04504324495792389, -0.07919985055923462, 0.018503576517105103, 0.009222964756190777, -0.009825498796999454, -0.005731033626943827, -0.02514413185417652, 0.03769419342279434, 0.02446342073380947, 0.05475138500332832, 0.0711674615740776, -0.03807469829916954, 0.05632074177265167, -0.03172823041677475, 0.04975206404924393, 0.045501913875341415, -0.019115004688501358, -0.0021329536102712154, -0.06640452146530151, -0.017003735527396202, -0.010531661100685596, -0.030952779576182365, 0.003015282563865185, 0.01184815727174282, -0.12284596264362335, -0.04601573571562767, 0.04216466844081879, -0.003643873380497098, 0.029044046998023987, 0.03878149017691612, 0.03467823937535286, 0.007058474700897932, 0.014175419695675373, -0.007289244793355465, -0.0009746163850650191, -0.047659989446401596, -0.09575802832841873, -0.03568749129772186, 0.06277483701705933, -0.0642368346452713, 0.018952514976263046, 0.010473676957190037, -0.009611578658223152, 0.00608789874240756, -0.049698520451784134, -0.05972323566675186, 0.026045192033052444, 0.05520106852054596, -0.018730593845248222, -0.03631797060370445, -0.05932532623410225, -0.025973806157708168, -0.05161371827125549, -0.030830539762973785, 0.037463124841451645, 0.00834118016064167, -0.016913678497076035, -0.008951064199209213, 0.010181780904531479, 0.0027441512793302536, 0.020081352442502975, 0.02180505357682705, 0.06193973869085312, -0.009111390449106693, 0.06391121447086334, -0.04119902104139328, -0.03882022574543953, 0.009455803781747818, 0.0855688750743866, -0.007386659737676382, 0.1244608536362648, 0.09670887142419815, -0.012312376871705055, -0.07009150087833405, 0.076866015791893, 0.010525641962885857, 0.03371549770236015, 0.05314502865076065, -0.02256944589316845, -0.05246524140238762, -0.021230557933449745, 0.04338102042675018, -0.010923875495791435, -0.027232995256781578, -0.0021532492246478796, -0.006062873173505068, 0.019572073593735695, 0.0016973154852166772, 0.02632158249616623, 0.013069181703031063, 0.012907934375107288, 0.005801101680845022, 0.014292924664914608, -0.020791463553905487, -0.080350361764431, -0.02771231159567833, 0.05405876785516739, -0.00904847215861082, 0.04691111668944359, -0.03339672461152077, -0.0012455085525289178, -0.000005376482931751525, 0.010427206754684448, -0.10971377789974213, 0.03144164755940437, -0.09802350401878357, 0.04102828726172447, -0.08749956637620926, -0.014248968102037907, -0.011587808839976788, 0.0011438920628279448, -0.05158929526805878, -0.05447036400437355, 0.050478577613830566, -0.04545421898365021, 0.007266115862876177, -0.021791575476527214, 0.021294213831424713, 0.00889408029615879, 0.014864340424537659, -0.03888272866606712, 0.09398990869522095, 0.02047228254377842, 0.0021320865489542484, -0.03698977828025818, 0.05196384713053703, 0.050531595945358276, 0.04939856752753258, -0.034888483583927155, -0.012441817671060562, -0.010784841142594814, -0.06833837926387787, 0.0865439772605896, 0.03196399286389351, -0.0930875614285469, 0.04271664097905159, -0.060772739350795746, -0.03930442035198212, 0.051285650581121445, -0.001171064330264926, -0.004096287302672863, 0.03891582787036896, -0.027294732630252838, 0.010610675439238548, -0.05225486680865288, -0.004533998668193817, 0.07522731274366379, 0.07703977078199387, 0.012853812426328659, 0.06130235269665718, 0.003040121868252754, 0.02976915054023266, 0.04756144806742668, 0.013922235928475857, 0.0087130693718791, -0.0120563805103302, -0.057803887873888016, 0.05009816586971283, 0.011864520609378815, -0.026422932744026184, -0.038415756076574326, 0.011407642625272274, -0.05726328492164612, -0.013502937741577625, -0.01653948798775673, -0.02163565903902054, 0.05873139202594757, 0.01009045634418726, -0.08513356745243073, 0.05327343940734863, 0.00947896670550108, -0.020467447116971016, -0.015390749089419842, 0.014071502722799778, 0.07708901166915894, 0.04476447030901909, 0.04204080253839493, 0.08861948549747467, -0.11564576625823975, -0.05890082195401192, -0.09300848841667175, -0.0334368497133255, 0.06448113173246384, -0.016850551590323448, 0.00043108625686727464, 0.09425530582666397, -0.039707764983177185, 0.07639910280704498, -0.07323314249515533, -0.04735633358359337, 0.005712129641324282, 0.009900596924126148, 0.003536716802045703, 0.05154227837920189, -0.00015865715977270156, 0.03968821093440056, -0.018282001838088036, -0.10924281179904938, -0.004065487999469042, -0.0013706538593396544, 0.053791943937540054, 0.1454949826002121, -0.037807539105415344, 0.0712408572435379, 0.036843281239271164, -0.02886277064681053, -0.02961529791355133, 0.01425497978925705, 0.04212268441915512, 0.010585821233689785, 0.02090085670351982, -0.04053673520684242, -0.045191001147031784, -0.020267296582460403, -0.019907157868146896, 0.016210492700338364, -0.03155495226383209, 0.018984215334057808, -0.025281595066189766, 0.05995762348175049, -0.026618745177984238, 0.006385612767189741, -0.0028030890971422195, 0.00785452127456665, 0.01953699067234993, 0.0019476542947813869, -0.01513041090220213, -0.002941839164122939, 0.018844861537218094, -0.020962826907634735, -0.013416904024779797, -0.01355667319148779, 0.014025559648871422, 0.03912722319364548, 0.0018415218219161034, 0.04076901450753212, 0.008743694052100182, 0.0021889605559408665, 0.03177156671881676, 0.03415277600288391, 0.015966737642884254, -0.0444321483373642, -0.006452010944485664, -0.009290642105042934, 0.03125573322176933, 0.02178095653653145, -0.022011565044522285, 0.009364194236695766, 0.021101536229252815, -0.01330708060413599, -0.008129951544106007, -0.002279499778524041, -0.0087210638448596, 0.0020772148855030537, -0.031106214970350266, -0.00169887684751302, 0.012420985847711563, -0.08273552358150482, -0.0049043442122638226, 0.026140961796045303, 0.017066992819309235, -0.011347045190632343, -0.011387214064598083, -0.004833973478525877, 0.002250480465590954, -0.02827027253806591, -0.004815795458853245, -0.04425967484712601, -0.007494442164897919, 0.012347330339252949, 0.008312019519507885, 0.005323505029082298, 0.015082175843417645, 0.01732593961060047, -0.05514131486415863, -0.011018150486052036, -0.04246361181139946, -0.03259309008717537, 0.020901206880807877, 0.002385365776717663, 0.014887936413288116, -0.03314655274152756, 0.004726737271994352, 0.004187919665127993, 0.017341572791337967, 0.019029781222343445, -0.07858292013406754, -0.047076307237148285, -0.042009029537439346, -0.04660885035991669, -0.016164325177669525, -0.05174119025468826, -0.018263764679431915, -0.05035862699151039, 0.013569868169724941, 0.013627261854708195, -0.000011299942343612202, -0.029396284371614456, 0.03831920772790909, 0.01648862659931183, -0.014413326978683472, -0.00047188327880576253, -0.003961711656302214, 0.030513714998960495, -0.03430232033133507, 0.028809133917093277, 0.016539614647626877, 0.00570399546995759, -0.018673861399292946, 0.03438657894730568, 0.06430667638778687, 0.0029034961480647326, 0.0005431289901025593, -0.012757284566760063, 0.05478513985872269, 0.007725927978754044, -0.04088427126407623, -0.053829681128263474, -0.01640140451490879, -0.009369049221277237, -0.01834898442029953, 0.0011503924615681171, 0.01123208086937666, -0.004680265672504902, 0.00861663743853569, -0.04746319726109505, 0.005654317792505026, 0.02849816158413887, -0.028993723914027214, 0.003810509108006954, 0.00589464046061039, -0.012559940107166767, 0.0983419343829155, 0.00403008796274662, -0.011449591256678104, 0.06204412877559662, 0.013914228416979313, -0.01255398616194725, -0.02425338327884674, -0.035312965512275696, -0.010647911578416824, 0.006737368181347847, 0.008814756758511066, 0.011484706774353981, -0.04164915531873703, 0.007609378546476364, 0.054532065987586975, 0.058981116861104965, -0.04543136805295944, 0.014861440286040306, -0.026591796427965164, -0.008796000853180885, 0.017049070447683334, 0.02834339253604412, -0.037429340183734894, -0.02550666779279709, 0.029584668576717377, -0.005012568086385727, -0.03403415530920029, -0.042618028819561005, 0.014794029295444489, -0.003822721540927887, 0.000727860489860177, -0.007668995298445225, -0.025430696085095406, -0.003805114421993494, -0.03002120926976204, 0.001340600079856813, 0.00044569754390977323, -0.030563034117221832, 0.004556429572403431, 0.022580593824386597, 0.037723641842603683, 0.03129001334309578, -0.04396212473511696, -0.035186998546123505, 0.0945611223578453, -0.06040845066308975, 0.050529494881629944, 0.026287801563739777, 0.01069872360676527, 0.04067041352391243, 0.006560082547366619, 0.04822194576263428, -0.0005393982282839715, -0.01642741449177265, -0.090671606361866, -0.05168432369828224, 0.009641609154641628, 0.03450906649231911, 0.015931401401758194, 0.00856960192322731, -0.0031222349498420954, -0.023998988792300224, 0.023973744362592697, 0.01626076176762581, -0.042768627405166626, 0.013049298897385597, -0.02559441700577736, 0.06444627791643143, -0.007614082656800747, 0.027603045105934143, -0.0018045301549136639, 0.022663401439785957, 0.02770000882446766, -0.02934904396533966, 0.01189893577247858, 0.0485512912273407, 0.014435350894927979, -0.020532924681901932, -0.02929346077144146, 0.06187178194522858, 0.006052196957170963, -0.0021060691215097904, -0.023736916482448578, 0.014610706828534603, 0.0005024339188821614, 0.04487171769142151, 0.0027787291910499334, -0.017953258007764816, 0.03159504011273384, 0.017894146963953972, -0.01238609291613102, 0.03262634202837944, -0.0238970797508955, 0.04607435315847397, -0.06675167381763458, -0.052605438977479935, 0.010870457626879215, -0.026239946484565735, -0.02400089241564274, 0.027119887992739677, 0.011058705858886242, 0.025832658633589745, 0.01821291632950306, -0.03940675035119057, -0.014218684285879135, -0.010464564897119999, -0.006817550398409367, 0.03471687063574791, 0.0020607810001820326, -0.01739375665783882, -0.003036812413483858, -0.0025784955359995365, 0.019782375544309616, 0.004374850541353226, 0.0470564104616642, 0.012105743400752544, 0.027998484671115875, 0.06434410065412521, 0.038143862038850784, 0.026370398700237274, -0.001997526967898011, -0.06838908046483994, -0.005386470817029476, 0.0014112114440649748, -0.08153071254491806, 0.056526027619838715, 0.011159496381878853, 0.015260720625519753, -0.009446008130908012, -0.0006242592353373766, 0.005380895454436541, -0.039186060428619385, -0.01038370281457901, 0.044542621821165085, -0.0014147550100460649, -0.03547293320298195, -0.02937123365700245, -0.018213970586657524, -0.004700411576777697, -0.012129283510148525, -0.015839440748095512, 0.0017645442858338356, 0.009403131902217865, 0.022188162431120872, -0.0025080908089876175, 0.0003482100728433579, -0.06377743184566498, -0.017964543774724007, 0.014364173635840416, -0.003697408130392432, -0.02440362237393856, 0.020770587027072906, 0.008957570418715477, -0.031088000163435936, 0.03618548437952995, 0.022410783916711807, 0.013370799832046032, 0.045614831149578094, 0.012688062153756618, 0.014035984873771667, -0.03721779212355614, -0.0414527952671051, -0.008365325629711151, 0.05946628004312515, -0.019903667271137238, -0.0318714864552021, 0.029140396043658257, -0.0076118712313473225, 0.031851623207330704, -0.006218372378498316, -0.00812272448092699, 0.044392939656972885, -0.022002309560775757, 0.04535863175988197, -0.02691049873828888, 0.020829524844884872, -0.008985307067632675, 0.020065559074282646, 0.015247180126607418, 0.04217628762125969, 0.03148474916815758, -0.015700586140155792, -0.02619313634932041, 0.06523507833480835, 0.006560768466442823, 0.012560549192130566, -0.02036948874592781, -0.003257111180573702, 0.015544707886874676, 0.001268093823455274, -0.029554205015301704, 0.006016588769853115, -0.0033654426224529743, 0.012627894058823586, -0.04202278330922127, -0.003718531457707286, -0.012037981301546097, 0.03212684020400047, -0.0011543765431270003, -0.008943908847868443, -0.04447172209620476, 0.04815244674682617, 0.003190792165696621, -0.00006951649265829474, -0.012638327665627003, -0.04747212305665016, 0.05847041308879852, 0.003398364642634988, 0.0142876747995615, -0.03549676015973091, 0.012262070551514626, 0.03579793497920036, 0.022789400070905685, -0.006652133539319038, 0.032796043902635574, -0.003899988019838929, 0.004168599843978882, -0.050963468849658966, -0.012885580770671368, -0.042075011879205704, -0.0027111824601888657, 0.008607341907918453, -0.023449664935469627, 0.0028175832703709602, -0.03298022970557213, 0.03887196257710457, 0.02089238166809082, -0.008320014923810959, 0.003963793627917767, 0.02321339212357998, 0.031095080077648163, 0.005356328096240759, 0.03313342481851578, -0.05575049668550491, 0.010914962738752365, 0.008431101217865944, 0.02318519540131092, 0.06802654266357422, -0.02357145957648754, 0.015639571473002434, 0.03850182890892029, 0.04943731799721718, -0.0765657126903534, 0.024118175730109215, -0.0421530082821846, 0.04125340282917023, -0.02088663913309574, -0.01675713062286377, -0.01863277144730091, -0.011785033158957958, -0.06538207083940506, -0.03000539541244507, -0.005227222573012114, -0.018402688205242157, 0.0015996743459254503, -0.011493000201880932, 0.02108437567949295, 0.045031916350126266, -0.03726290166378021, 0.00802442617714405, 0.010637721046805382, 0.04138240963220596, 0.006085989065468311, 0.0042821611277759075, -0.008442548103630543, -0.0015156659064814448, 0.032560791820287704, 0.033877644687891006, 0.01888970658183098, -0.02057698741555214, 0.0069745685905218124, -0.005040043033659458, 0.030197005718946457, -0.0005586066981777549, 0.019154075533151627, -0.0007597276126034558, 0.0006828063051216304, -0.0178145132958889, 0.019073808565735817, -0.0167328342795372, -0.03486938402056694, 0.026772528886795044, -0.02115851640701294, 0.017379332333803177, 0.03760417550802231, 0.02306445688009262, 0.041212502866983414, 0.020618679001927376, -0.023847129195928574, -0.04259081929922104, -0.01742974855005741, -0.04036093130707741, -0.04540115222334862, 0.059573955833911896, 0.015494474209845066, -0.02643369883298874, 0.027643408626317978, -0.02611394226551056, -0.011518998071551323, -0.019223952665925026, -0.027584819123148918, 0.006645733490586281, 0.003958079963922501, -0.040313720703125, -0.004841056186705828, 0.06523396074771881, 0.02067728340625763, 0.012073595076799393, 0.007258146069943905, 0.013500628061592579, 0.023901544511318207, -0.011164368130266666, 0.0009670304716564715, -0.006457054987549782, 0.0070915985852479935, -0.04185492917895317, 0.0029287533834576607, 0.00785809475928545, -0.0011289865942671895, 0.012508944608271122, 0.027246879413723946, -0.0057774861343204975, 0.00207240367308259, 0.009553827345371246, -0.0011005528504028916, 0.013026629574596882, -0.01079536136239767, 0.012684140354394913, 0.019932107999920845, 0.04661741852760315, 0.035570837557315826, -0.02974005602300167, -0.014787299558520317, 0.06499044597148895, -0.0031237045768648386, 0.01904173195362091, 0.024785684421658516, -0.01833789050579071, -0.04091375321149826, -0.02816110849380493, 0.028289347887039185, -0.06845566630363464, -0.02299143373966217, 0.008404625579714775, 0.0038806069642305374, -0.022062351927161217, 0.030480695888400078, -0.032151270657777786, 0.03622971847653389, -0.0009199347114190459, -0.03582649305462837, 0.03259473666548729, 0.008572770282626152, 0.0004190647741779685, -0.046669550240039825, 0.023374434560537338, -0.04129069298505783, 0.006986688356846571, 0.017185192555189133, -0.025615056976675987, -0.01853601261973381, 0.01579018495976925, -0.0076393610797822475, -0.01709340326488018, 0.014632199890911579, 0.021102745085954666, -0.015957266092300415, 0.07914470136165619, 0.07451549172401428, 0.007120213471353054, -0.021698681637644768, -0.036583781242370605, -0.0021420163102447987, -0.051005274057388306, 0.017341939732432365, -0.021995604038238525, 0.04150264337658882, 0.051393862813711166, 0.01459540519863367, 0.019629083573818207, 0.0203444454818964, 0.01416723057627678, -0.02077765204012394, -0.017326166853308678, 0.03070700541138649 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
Introducing Decision Transformers The Decision Transformer model was introduced by “Decision Transformer: Reinforcement Learning via Sequence Modeling” by Chen L. et al. It abstracts Reinforcement Learning as a conditional-sequence modeling problem. The main idea is that instead of training a policy using RL methods, such as fitting a value function, that will tell us what action to take to maximize the return (cumulative reward), we use a sequence modeling algorithm (Transformer) that, given a desired return, past states, and actions, will generate future actions to achieve this desired return. It’s an autoregressive model conditioned on the desired return, past states, and actions to generate future actions that achieve the desired return. This is a complete shift in the Reinforcement Learning paradigm since we use generative trajectory modeling (modeling the joint distribution of the sequence of states, actions, and rewards) to replace conventional RL algorithms. It means that in Decision Transformers, we don’t maximize the return but rather generate a series of future actions that achieve the desired return. The process goes this way: 1. We feed the last K timesteps into the Decision Transformer with 3 inputs: - Return-to-go - State - Action 2. The tokens are embedded either with a linear layer if the state is a vector or CNN encoder if it’s frames. 3. The inputs are processed by a GPT-2 model which predicts future actions via autoregressive modeling. Decision Transformer architecture. States, actions, and returns are fed into modality specific linear embeddings and a positional episodic timestep encoding is added. Tokens are fed into a GPT architecture which predicts actions autoregressively using a causal self-attention mask. Figure from [1].
[ 0.02578243426978588, -0.09908440709114075, -0.01607947051525116, 0.00313078542239964, -0.0011807391420006752, 0.13867329061031342, -0.01398635283112526, 0.013134225271642208, -0.03064819425344467, -0.012122170068323612, -0.02305504120886326, 0.05505619943141937, -0.05444350093603134, 0.09475061297416687, -0.025399260222911835, -0.07073117792606354, 0.027531864121556282, -0.04401746392250061, 0.002784975105896592, -0.008044837974011898, -0.003485115710645914, -0.016904940828680992, -0.013701068237423897, -0.02444365620613098, 0.02422603964805603, -0.03141799941658974, -0.005858160089701414, -0.022085625678300858, -0.04602786898612976, 0.06940016150474548, -0.09170595556497574, -0.04738267883658409, -0.026673628017306328, -0.02830999344587326, -0.03915395960211754, -0.02477666176855564, -0.10775703936815262, -0.04137526825070381, 0.059993255883455276, -0.05388547107577324, -0.011485474184155464, -0.003600077237933874, -0.06377562135457993, 0.02189018204808235, 0.06118595227599144, -0.0033988668583333492, -0.14878807961940765, 0.09485973417758942, -0.04321274906396866, -0.08685754984617233, -0.010853350162506104, 0.0787496343255043, -0.05000431463122368, 0.004304511472582817, -0.0058656372129917145, 0.009104718454182148, -0.007695148698985577, -0.0747208446264267, 0.0009235083125531673, -0.03656454384326935, 0.016874874010682106, 0.04389426112174988, 0.047488078474998474, 0.03606808930635452, 0.03878086805343628, -0.04806230962276459, 0.06761658936738968, -0.016539882868528366, -0.04152137041091919, -0.044440656900405884, -0.04836582764983177, -0.05237695947289467, 0.008371036499738693, 0.030756019055843353, -0.04401475936174393, -0.0068883029744029045, -0.04991912469267845, 0.08207789063453674, -0.028124282136559486, 0.03337970748543739, 0.026893580332398415, 0.034756146371364594, 0.07159516215324402, 0.009661340154707432, 0.01905297301709652, 0.07003045082092285, 0.012932131066918373, -0.06718909740447998, -0.02182980626821518, 0.10865653306245804, -0.06542237848043442, -0.13344363868236542, -0.0408739410340786, -0.028408868238329887, 0.031545113772153854, -0.04633845016360283, 0.009957723319530487, 0.012198766693472862, -0.05845274403691292, -0.05593462288379669, 0.023389138281345367, -0.013156536966562271, 0.06804124265909195, -0.021781498566269875, 0.007911032065749168, 0.041968099772930145, -0.011942358687520027, -0.06394215673208237, 0.02718471735715866, 0.008793720975518227, 0.003289645304903388, -0.05988430231809616, 0.03812001273036003, 0.04111761599779129, -0.06786977499723434, 0.04163849353790283, 0.004583301488310099, -0.03948349505662918, -0.03210829943418503, 0.08475643396377563, -0.03999653831124306, 0.03831566497683525, 0.011893834918737411, -0.002719904761761427, -0.04057859629392624, 0.01799435168504715, 0.008034292608499527, -0.04664241150021553, 0.0038463531527668238, -0.008858389221131802, 0.12776440382003784, -0.02058655582368374, 0.01765911653637886, 0.03917708247900009, -0.04197651520371437, -0.07882436364889145, 0.06262395530939102, -0.05996698513627052, 0.008788774721324444, -0.021461088210344315, -0.05896403267979622, 0.0002321608189959079, 0.05616416409611702, -0.07985670864582062, 0.042464882135391235, -0.08959019184112549, -0.06207237020134926, 0.06186501309275627, 0.04504568874835968, 0.02849910780787468, -0.038901008665561676, 0.022227447479963303, -0.03414314612746239, -0.0721653401851654, -0.026515306904911995, -0.006690126843750477, -0.023002343252301216, -0.021421954035758972, -0.061249978840351105, -0.05283749848604202, 0.015034262090921402, 0.017813924700021744, -0.03617133945226669, -0.005413901060819626, 0.04084629565477371, -0.05477263778448105, 0.023089593276381493, 0.022428056225180626, 0.045293621718883514, 0.0423528291285038, -0.013154219835996628, 0.0410640574991703, 0.005989323370158672, -0.015682626515626907, 0.0289321132004261, -0.001214799820445478, -0.01814858987927437, 0.05217347666621208, 0.029255863279104233, -0.07974223047494888, -0.05446378141641617, 0.015452970750629902, -0.012883218936622143, -0.02787724882364273, 0.07472088932991028, -0.053405437618494034, -0.001344660995528102, -0.004638605751097202, 0.012023387476801872, 0.03951125591993332, -0.036229901015758514, -0.015317448414862156, 0.0709158405661583, -0.02111477218568325, 0.0023692192044109106, 0.0023472171742469072, -0.06439028680324554, 0.06741061806678772, 0.039613787084817886, 0.05856283754110336, 0.05233139544725418, -0.04447102174162865, 0.02384454570710659, -0.11268838495016098, 0.00932979304343462, 0.0032809157855808735, -0.030928080901503563, -0.0031401219312101603, 0.0683203637599945, 0.02364371158182621, 0.006201876327395439, -0.024484287947416306, -0.03159337118268013, -0.05642475187778473, 0.014630377292633057, -0.009095029905438423, -0.02356264740228653, 0.06859073787927628, -0.03185274451971054, -0.024435997009277344, 0.060057442635297775, -0.04533720016479492, -0.032545387744903564, -0.008852323517203331, 0.02289714105427265, 0.007982602342963219, 0.03662746772170067, 0.051205359399318695, 0.010213878005743027, -0.014143591746687889, 0.008432314731180668, -0.041646648198366165, 0.053770024329423904, -0.053889527916908264, 0.061391573399305344, -0.05472850799560547, -0.004997371230274439, 0.0007214400102384388, -0.019522124901413918, 0.05570359528064728, 0.006043856497853994, 0.039041437208652496, 0.020895710214972496, 0.07238108664751053, -0.026043327525258064, -0.009034760296344757, 0.026040134951472282, 0.0535975806415081, 0.005540609359741211, -0.03770236670970917, -0.13960067927837372, 0.04797368124127388, 0.022567499428987503, -0.0544341541826725, 0.04678560048341751, 0.08399119228124619, 0.011824038811028004, 0.006872831378132105, -0.019090089946985245, 0.043043483048677444, -0.020128684118390083, 0.012133552692830563, -0.042625732719898224, -0.044683970510959625, -0.05149925500154495, -0.03999430313706398, 0.010115730576217175, 0.019098900258541107, -0.008560581132769585, 0.01322954148054123, -0.0286612156778574, -0.053118910640478134, 0.03951408341526985, 0.018243689090013504, -0.010593200102448463, 0.016003664582967758, 0.054012369364500046, 0.0008883951813913882, -0.011116879060864449, 0.012773637659847736, -0.022279273718595505, 0.009599587880074978, 0.04007728025317192, 0.03988198563456535, 0.02587679587304592, 0.033209893852472305, -0.012265602126717567, 0.008649970404803753, 0.008002566173672676, 0.02948581799864769, 0.020880045369267464, -0.002720634685829282, -0.009959675371646881, -0.013871711678802967, -0.024337034672498703, 0.04020427167415619, 0.0030876980163156986, -0.03777262941002846, 0.017234744504094124, -0.012632098980247974, -0.017380421981215477, 0.01588379591703415, 0.041681449860334396, 0.01682073064148426, 0.041226163506507874, 0.026805313304066658, 0.043696753680706024, 0.06601390987634659, -0.07851807028055191, -0.0559869222342968, 0.015037007629871368, 0.005956963635981083, 0.019885599613189697, -0.03278546780347824, 0.03439173102378845, 0.01577911712229252, -0.00013687851605936885, -0.01822575554251671, 0.022873522713780403, -0.009822660125792027, 0.024637168273329735, 0.03173506632447243, -0.03064632974565029, -0.01871521584689617, -0.011380273848772049, 0.009329746477305889, 0.02228468284010887, 0.028813105076551437, -0.0382520854473114, 0.028234142810106277, -0.024343714118003845, 0.02513265796005726, -0.012373793870210648, -0.009820520877838135, 0.04738300293684006, 0.0031976099126040936, 0.028278198093175888, -0.03595970198512077, -0.008189556188881397, -0.020983058959245682, -0.015377715229988098, 0.02717326208949089, -0.01677514985203743, -0.007863323204219341, 0.024776170030236244, 0.03251608833670616, 0.0422690249979496, 0.020190255716443062, 0.015712935477495193, -0.025664659217000008, -0.004167431499809027, -0.03265552595257759, 0.0017046274151653051, 0.006954329088330269, 0.05023698881268501, -0.009816410951316357, -0.050947584211826324, -0.0526236891746521, -0.021813252940773964, 0.014949505217373371, -0.04401745647192001, 0.00305276014842093, 0.04824579134583473, 0.0023915693163871765, 0.008483149111270905, 0.009170331992208958, 0.02684975229203701, 0.04188235476613045, -0.010369641706347466, -0.004733662120997906, 0.025921745225787163, -0.02705693058669567, -0.0061602042987942696, 0.01757119596004486, 0.027809500694274902, 0.005191786680370569, 0.009582205675542355, 0.026987915858626366, -0.007391635328531265, 0.0325152687728405, -0.02341192588210106, 0.006150169763714075, -0.008937017060816288, 0.000943127553910017, 0.017388444393873215, 0.01107636746019125, 0.07975127547979355, 0.033583931624889374, -0.027838055044412613, -0.039796046912670135, -0.060080867260694504, 0.028585638850927353, 0.013227153569459915, 0.030296385288238525, 0.0707632377743721, -0.0006957799778319895, 0.015408122912049294, 0.013433790765702724, 0.05510668084025383, -0.03560552000999451, 0.0028020313475281, -0.022587280720472336, -0.01126491092145443, 0.03571682795882225, -0.030371136963367462, -0.0020036878995597363, 0.022039473056793213, 0.00003298602678114548, 0.019648637622594833, -0.04970775172114372, 0.02184625342488289, 0.0021597689483314753, 0.010129384696483612, 0.019878249615430832, -0.016601519659161568, -0.004994774702936411, -0.009892839007079601, 0.0031531876884400845, 0.013397924602031708, -0.0004846676310990006, 0.0027317884378135204, -0.003082731505855918, 0.04160678759217262, 0.010257856920361519, 0.008793197572231293, -0.03630281612277031, -0.010201971046626568, 0.021676447242498398, 0.009525172412395477, -0.01622878946363926, -0.007288990542292595, 0.010129258036613464, 0.0061432658694684505, -0.023753460496664047, 0.0057647922076284885, 0.043291911482810974, 0.009120129980146885, -0.021435067057609558, -0.027162905782461166, -0.001788716996088624, 0.028796907514333725, 0.00017002505774144083, -0.00021540827583521605, 0.019547803327441216, -0.0062995352782309055, 0.02037062868475914, -0.031405769288539886, 0.003002958605065942, -0.011847213841974735, 0.006659174803644419, 0.04326740279793739, -0.03752753883600235, 0.054667357355356216, -0.00507549149915576, -0.00813271477818489, -0.01585608720779419, -0.036430224776268005, 0.04226335883140564, 0.09420780092477798, -0.010251695290207863, -0.03261459991335869, -0.00570898549631238, 0.041733045130968094, -0.016562337055802345, 0.03711969405412674, 0.03047531470656395, -0.011418129317462444, -0.0012044018367305398, 0.02332925610244274, -0.006725484039634466, -0.011352640576660633, 0.05134556442499161, 0.07087898254394531, 0.04630560055375099, -0.048168592154979706, -0.04372820258140564, -0.019468380138278008, -0.002103338483721018, 0.00834148284047842, -0.026268957182765007, 0.06953457742929459, 0.0058043356984853745, -0.0473465733230114, 0.057446058839559555, 0.0012630302226170897, -0.013831463642418385, -0.06422249227762222, 0.0017066152067855, -0.014104113914072514, -0.007535187993198633, -0.028766712173819542, 0.005252230912446976, 0.03242408111691475, -0.02232295833528042, 0.04047923535108566, 0.08780772238969803, -0.008615889586508274, -0.0022001422476023436, 0.05977248400449753, -0.002889852738007903, 0.0022653997875750065, -0.06272928416728973, -0.018261298537254333, 0.020208602771162987, 0.019935479387640953, 0.05257635936141014, -0.009862304665148258, 0.002278577070683241, 0.05202988162636757, 0.05808800831437111, 0.010446370579302311, 0.013447750359773636, 0.003039980074390769, -0.013274678960442543, -0.03799568861722946, 0.01039180252701044, 0.00973292626440525, -0.020923813804984093, 0.0482330285012722, -0.025391781702637672, 0.0031129729468375444, -0.033523812890052795, -0.012130547314882278, -0.0171855166554451, 0.007218002807348967, 0.04121796041727066, -0.0030461170244961977, 0.09383518993854523, -0.04052355885505676, -0.0026214325334876776, 0.01731189899146557, 0.02297752909362316, 0.005133709404617548, -0.05600011721253395, 0.0046218764036893845, 0.01070168986916542, 0.0006309898453764617, -0.021366793662309647, 0.020701317116618156, -0.03740024194121361, -0.00912921130657196, 0.0032201148569583893, 0.005242516752332449, -0.029944753274321556, -0.01762334816157818, 0.07497914880514145, 0.006243135780096054, -0.030432870611548424, 0.007562137208878994, -0.0064720697700977325, -0.026091212406754494, 0.011991630308330059, -0.029761306941509247, 0.05007251352071762, 0.026129527017474174, -0.029563015326857567, 0.009887169115245342, 0.02187812700867653, 0.04506121948361397, 0.025711003690958023, -0.00712927570566535, 0.007596829440444708, -0.003738181199878454, 0.03988645598292351, 0.016691699624061584, 0.0115193547680974, -0.005540340207517147, 0.03417043760418892, 0.01566057838499546, -0.016463933512568474, -0.03407200798392296, 0.022835029289126396, -0.020575301721692085, -0.007651386316865683, -0.005563907325267792, -0.01887545920908451, 0.011485561728477478, -0.007637872826308012, 0.012777653522789478, 0.03723526746034622, 0.0030844134744256735, 0.026631666347384453, -0.0009709455189295113, -0.029320023953914642, 0.0064716157503426075, 0.030313586816191673, -0.04603220522403717, 0.05711892992258072, -0.0002876972430385649, -0.0025913177523761988, 0.0017903611296787858, -0.002291398588567972, 0.030386008322238922, -0.02822830155491829, 0.026213806122541428, 0.004497937858104706, 0.01195714995265007, 0.00862017273902893, -0.012524602003395557, -0.050606291741132736, 0.013581558130681515, -0.008448624983429909, -0.048528626561164856, 0.029123272746801376, 0.013819340616464615, -0.020752806216478348, 0.00956721045076847, -0.020284932106733322, 0.015110802836716175, 0.04990585520863533, 0.019219109788537025, -0.0026135428342968225, 0.020422639325261116, 0.041426874697208405, 0.06114600598812103, 0.03258316218852997, 0.020524119958281517, -0.0025648365262895823, -0.0046678693033754826, 0.016424162313342094, -0.00731510017067194, 0.004949800204485655, -0.001430853153578937, -0.00700394669547677, 0.0007922755321487784, -0.02394763007760048, -0.059477537870407104, -0.017963049933314323, -0.038200169801712036, 0.008608339354395866, 0.02049744874238968, -0.010741878300905228, 0.004600523505359888, 0.03451031073927879, 0.028498869389295578, 0.0029469027649611235, -0.022171122953295708, -0.041405513882637024, -0.019014162942767143, 0.060437750071287155, -0.0071632880717515945, -0.03855634108185768, -0.003992361016571522, 0.0011115281376987696, -0.002031457144767046, -0.01992727816104889, -0.00426032580435276, -0.006567912641912699, 0.004323930945247412, 0.015614467673003674, -0.02646193839609623, -0.0007602916448377073, -0.026932699605822563, 0.012683609500527382, 0.04746149107813835, 0.05644039064645767, -0.01678331010043621, 0.020075000822544098, 0.0026357444003224373, 0.020363470539450645, -0.036837074905633926, 0.032236527651548386, -0.02073739655315876, -0.023990409448742867, -0.01467426959425211, -0.0546812079846859, 0.06004668027162552, -0.0030057812109589577, 0.041603222489356995, 0.02074545994400978, 0.06692143529653549, -0.040935467928647995, 0.005815225653350353, -0.02804436720907688, -0.029763810336589813, 0.01675695925951004, 0.027554091066122055, 0.03768264502286911, -0.010046829469501972, 0.02225729264318943, -0.009563464671373367, 0.042919665575027466, 0.016262641176581383, 0.0266223456710577, 0.017033949494361877, 0.010235256515443325, -0.030678296461701393, -0.0003807456814683974, -0.0009770028991624713, 0.024286633357405663, 0.04315124824643135, 0.0012651789002120495, 0.010116998106241226, 0.006549738347530365, -0.055046532303094864, -0.030186094343662262, -0.03534332290291786, 0.04149460420012474, -0.031760603189468384, -0.05848165601491928, -0.01682540774345398, 0.02881895750761032, -0.01694621331989765, 0.018079299479722977, -0.0010522542288526893, 0.011667418293654919, -0.01635458692908287, -0.018728533759713173, 0.01136577408760786, -0.003900736104696989, 0.028504669666290283, -0.02348269708454609, 0.04901392012834549, -0.03006286732852459, -0.039555199444293976, -0.048249486833810806, -0.015419787727296352, 0.0284951813519001, 0.028777917847037315, -0.05113212764263153, 0.03956599533557892, -0.07007479667663574, -0.06854662299156189, -0.009770802222192287, -0.044030848890542984, 0.019842073321342468, 0.03342210501432419, -0.04920860379934311, -0.010217801667749882, 0.013908079825341702, -0.015618816018104553, 0.004817619454115629, 0.026129286736249924, -0.03174431994557381, -0.014070011675357819, -0.0046743168495595455, 0.0015904094325378537, -0.0029820390045642853, -0.008040753193199635, -0.0108486944809556, 0.011426367796957493, -0.008406095206737518, 0.007946077734231949, 0.01870489865541458, -0.0009249007562175393, 0.025111863389611244, 0.017118332907557487, 0.022239109501242638, 0.027556492015719414, -0.07477632164955139, 0.002904407912865281, 0.00927064847201109, -0.01734684593975544, -0.022127481177449226, 0.016442542895674706, 0.024787256494164467, 0.024777987971901894, 0.00985912699252367, -0.024048306047916412, 0.050546541810035706, -0.0329836905002594, 0.054957423359155655, -0.023532748222351074, 0.0170851219445467, -0.018771493807435036, 0.027815794572234154, -0.04770470783114433, -0.04755428060889244 ]
Introducing Decision Transformers on Hugging Face 🤗
edbeeching
March 28, 2022
decision-transformers
open-source-collab, guide, rl
https://huggingface.co/blog/decision-transformers
Conclusion In addition to Decision Transformers, we want to support more use cases and tools from the Deep Reinforcement Learning community. Therefore, it would be great to hear your feedback on the Decision Transformer model, and more generally anything we can build with you that would be useful for RL. Feel free to reach out to us.
[ 0.09748761355876923, -0.11701810359954834, 0.028069647029042244, 0.01429726555943489, 0.03840536251664162, 0.07496749609708786, -0.020980654284358025, 0.0193687304854393, -0.01452438160777092, -0.08007137477397919, -0.040680449455976486, 0.061922382563352585, -0.009424653835594654, 0.03199214115738869, -0.008250491693615913, -0.013296003453433514, 0.022859951481223106, 0.023067796602845192, 0.013445463962852955, 0.05439814180135727, -0.033383700996637344, -0.04542384669184685, 0.01573030650615692, -0.005933284759521484, 0.023644492030143738, -0.05375142768025398, 0.0034937583841383457, -0.019239215180277824, -0.06338757276535034, 0.03664771467447281, -0.055931996554136276, 0.00782476644963026, -0.05878622084856033, -0.027718637138605118, -0.036898422986269, -0.006729551590979099, -0.07202794402837753, 0.014161208644509315, -0.0026064382400363684, -0.08270994573831558, 0.010219300165772438, -0.013397976756095886, -0.07548541575670242, 0.04169701039791107, 0.03199901431798935, -0.02031300961971283, -0.20773322880268097, 0.045010149478912354, -0.022775987163186073, -0.023968642577528954, -0.03400168567895889, 0.12102654576301575, -0.027945134788751602, 0.01257424708455801, 0.054206348955631256, -0.0047000558115541935, 0.012385809794068336, -0.0473136305809021, 0.007956267334520817, -0.015774283558130264, 0.015502103604376316, 0.028128089383244514, 0.0692296251654625, 0.043847594410181046, 0.007833319716155529, -0.010161357931792736, 0.01570349931716919, -0.05038168281316757, -0.055249761790037155, -0.008253879845142365, 0.0020935148932039738, -0.03813480585813522, -0.028250614181160927, 0.026287740096449852, 0.004197295755147934, -0.010831157676875591, -0.011458235792815685, 0.07089217752218246, 0.01849720999598503, 0.027003660798072815, 0.027498086914420128, 0.010312223806977272, 0.10691741853952408, 0.025525052100419998, 0.025833027437329292, 0.04920367896556854, 0.04417070746421814, -0.02619294822216034, -0.03982475772500038, 0.0725352093577385, -0.03149930015206337, -0.12129507213830948, -0.004097622353583574, 0.008274535648524761, 0.0815521702170372, -0.054013412445783615, 0.002979080891236663, 0.0327623225748539, -0.05496322736144066, -0.009069406427443027, -0.019362155348062515, -0.041698161512613297, 0.054105233401060104, -0.04558016359806061, 0.013954196125268936, 0.016411608085036278, -0.005051653366535902, -0.1016111746430397, -0.03591613844037056, 0.061094291508197784, 0.0025338632985949516, -0.026065299287438393, 0.03541109338402748, 0.03970315679907799, -0.036109451204538345, 0.046010397374629974, -0.002798507222905755, -0.03256002813577652, -0.011169446632266045, 0.06434717774391174, 0.00557897100225091, 0.059820402413606644, -0.01643018051981926, 0.0358072891831398, 0.010561213828623295, 0.029889335855841637, -0.018044060096144676, -0.013934238813817501, -0.024526866152882576, -0.044598858803510666, 0.042211517691612244, 0.008241836912930012, -0.020519452169537544, 0.0118021871894598, -0.055059969425201416, -0.12373166531324387, 0.03659328818321228, -0.08298738300800323, 0.01879553683102131, -0.012818031013011932, -0.08843622356653214, 0.019430510699748993, 0.06387229263782501, 0.03409849852323532, 0.046123161911964417, -0.04622511565685272, -0.09910090267658234, 0.09221045672893524, -0.0229484885931015, 0.004295267630368471, -0.05306136980652809, 0.054510604590177536, -0.050621408969163895, -0.06804932653903961, -0.010363081470131874, 0.029014771804213524, -0.024664325639605522, -0.06821287423372269, -0.056424133479595184, 0.012876222841441631, -0.0027971924282610416, 0.0023391577415168285, -0.0014946484006941319, 0.027607640251517296, 0.027211233973503113, 0.007514192257076502, 0.00934826023876667, -0.027075478807091713, -0.007270976435393095, 0.009429608471691608, -0.027741461992263794, -0.019082961603999138, 0.03346077725291252, -0.0351041741669178, 0.004963511135429144, 0.010889731347560883, 0.01425845641642809, 0.035420745611190796, 0.03690143674612045, -0.027292199432849884, -0.054306454956531525, -0.009364116936922073, -0.03268749266862869, -0.006858360022306442, 0.061554186046123505, -0.03481784835457802, 0.07329655438661575, -0.04466857388615608, 0.01002175360918045, 0.027964601293206215, -0.05937444791197777, -0.014097337611019611, 0.08059822022914886, 0.03582800179719925, 0.05838435888290405, -0.026033664122223854, -0.03894595801830292, 0.14821216464042664, 0.008832224644720554, 0.0498872846364975, 0.04703432321548462, -0.022583646699786186, 0.015355082228779793, -0.06498723477125168, -0.001217819401063025, 0.053294554352760315, 0.026898585259914398, -0.0016990642761811614, -0.0035929102450609207, 0.0029499961528927088, 0.02381819672882557, -0.08190879225730896, -0.00702239666134119, -0.0916329100728035, -0.009314543567597866, -0.062027618288993835, -0.019808508455753326, 0.08845300227403641, -0.013706587255001068, -0.029337506741285324, 0.1538994312286377, -0.015815377235412598, -0.02781052142381668, -0.027299562469124794, 0.0015978326555341482, 0.09599611908197403, 0.09218311309814453, 0.0538082979619503, 0.04717361181974411, -0.017976220697164536, -0.037963055074214935, -0.007793561089783907, -0.01530679315328598, 0.01736578531563282, 0.03396676108241081, 0.0023060552775859833, -0.03612761199474335, -0.0469968244433403, -0.043442096561193466, 0.049687739461660385, -0.020165957510471344, -0.013385148718953133, 0.041238658130168915, 0.1351800411939621, -0.030645111575722694, -0.051825106143951416, 0.023975292220711708, 0.06510139256715775, 0.015988100320100784, -0.010518461465835571, -0.10425224155187607, 0.07625807076692581, 0.027921851724386215, -0.03608723357319832, 0.07833707332611084, 0.05496460944414139, 0.028998902067542076, -0.015421589836478233, -0.020114347338676453, 0.059816185384988785, 0.014502744190394878, -0.021325651556253433, -0.029956629499793053, -0.05222519487142563, -0.005353037733584642, -0.06639648228883743, -0.013458292931318283, -0.014453805983066559, -0.0016208620509132743, 0.025907255709171295, -0.014341081492602825, -0.02870890311896801, 0.0026705795899033546, 0.011271728202700615, -0.014021540060639381, 0.021324794739484787, 0.06319055706262589, -0.002155580325052142, -0.00839209370315075, -0.02097404934465885, -0.010062877088785172, -0.02009972184896469, 0.06830143183469772, 0.060057785362005234, 0.030149145051836967, 0.012627346441149712, -0.018458569422364235, 0.01345825381577015, -0.014237252995371819, 0.007824270986020565, 0.009853987023234367, -0.03551815450191498, -0.02465861849486828, -0.010899313725531101, -0.00919344462454319, -0.033076684921979904, 0.009032122790813446, 0.014401850290596485, 0.010495055466890335, 0.00994448084384203, -0.014261395670473576, 0.02780740335583687, 0.019855648279190063, -0.019649626687169075, 0.009782816283404827, 0.037000127136707306, 0.03322689235210419, 0.0289827361702919, -0.11096015572547913, -0.03444267064332962, -0.005048154387623072, 0.047347087413072586, 0.0011586417676880956, -0.04969600588083267, 0.01886107213795185, -0.033315107226371765, -0.020104046911001205, -0.008907624520361423, -0.00020657776622101665, -0.0035332506522536278, 0.04959942772984505, 0.003995012491941452, -0.041998106986284256, 0.0022281871642917395, 0.004337451886385679, 0.018095124512910843, 0.04451178386807442, 0.024932734668254852, -0.01678543910384178, 0.042614348232746124, -0.026480531319975853, 0.008847210556268692, -0.05932695046067238, 0.007441223133355379, 0.027591433376073837, 0.02547937072813511, 0.037823714315891266, -0.01894797943532467, -0.0016074932646006346, 0.018213734030723572, -0.03599146381020546, -0.010501153767108917, -0.010089589282870293, 0.0036254527512937784, -0.01434480119496584, 0.006754337344318628, 0.032046493142843246, 0.06334739178419113, -0.0010277200490236282, -0.015900392085313797, 0.005967668257653713, -0.027500245720148087, -0.004442046862095594, 0.012470114044845104, 0.016632555052638054, 0.020998673513531685, 0.0341523252427578, -0.018692497164011, -0.007837858982384205, -0.009530829265713692, 0.017680281773209572, 0.035914868116378784, 0.025091778486967087, -0.045240920037031174, -0.016668790951371193, 0.01809925027191639, 0.02011937089264393, -0.0014925061259418726, -0.024142596870660782, 0.009561307728290558, 0.009169376455247402, 0.00428818492218852, -0.024512285366654396, 0.033409908413887024, 0.03267206251621246, -0.01850784383714199, -0.031065741553902626, 0.008155446499586105, -0.007252092938870192, 0.032573405653238297, 0.018515128642320633, 0.012568510137498379, -0.008094176650047302, 0.04618871212005615, 0.00561679620295763, -0.01763690635561943, 0.09637675434350967, 0.015596069395542145, -0.05743124708533287, -0.05151816084980965, -0.026157820597290993, -0.024522706866264343, -0.014068431220948696, 0.021075529977679253, 0.040969088673591614, 0.02539849281311035, 0.0011445771669968963, 0.05424320697784424, 0.016543641686439514, -0.03994853422045708, 0.038123905658721924, 0.000008027563126233872, 0.012067093513906002, 0.0407768078148365, 0.010239607654511929, -0.002416576026007533, 0.012839158996939659, -0.004868381656706333, 0.028014730662107468, -0.03361973166465759, 0.0122164161875844, 0.025872858241200447, 0.04895797371864319, 0.03365810960531235, -0.03576887026429176, -0.017564065754413605, -0.005321511533111334, 0.002876839367672801, 0.03889526426792145, -0.014902195893228054, -0.002167575294151902, 0.000177157242433168, 0.023542750626802444, 0.028392044827342033, 0.011768152005970478, 0.001716403872705996, -0.05474619194865227, 0.01681443117558956, -0.04440334439277649, -0.02869720198214054, -0.006757744587957859, 0.011899336241185665, 0.008416255004703999, -0.028090694919228554, 0.010913629084825516, 0.001449149800464511, -0.007338814437389374, 0.013371174223721027, 0.015237148851156235, -0.036409471184015274, -0.004138989374041557, 0.00825050100684166, -0.00451653404161334, 0.013783932663500309, -0.032878562808036804, 0.08151577413082123, -0.04785998910665512, -0.017609819769859314, -0.04138737544417381, 0.01591183803975582, 0.02758081443607807, -0.04039902240037918, 0.03282871097326279, -0.005959733389317989, -0.019677000120282173, -0.007162992376834154, -0.026540318503975868, 0.030574573203921318, 0.031932733952999115, -0.011436942964792252, -0.040581587702035904, -0.019278667867183685, 0.020224858075380325, -0.023642485961318016, 0.018893007189035416, 0.0482013039290905, -0.0012107703369110823, 0.019095078110694885, 0.020701240748167038, 0.016302403062582016, -0.026399923488497734, 0.04272521287202835, 0.03481921926140785, 0.0011085865553468466, -0.04185442626476288, -0.02236533723771572, -0.011538976803421974, 0.013162137940526009, -0.001734506106004119, -0.009266609326004982, 0.004498472437262535, -0.02802238054573536, -0.002533674007281661, 0.03515537455677986, 0.04655268415808678, -0.007636630441993475, -0.0037160906940698624, 0.00397165771573782, -0.036503344774246216, 0.0003366624587215483, -0.015602138824760914, -0.013841222040355206, 0.021596811711788177, -0.028364477679133415, 0.055383242666721344, 0.0534946583211422, -0.02949521131813526, 0.01631958782672882, 0.02432256191968918, 0.0190555602312088, -0.022175827994942665, -0.05941687896847725, -0.022639811038970947, 0.033514704555273056, 0.03141024336218834, 0.013615858741104603, -0.007933969609439373, 0.05230538547039032, 0.02178819850087166, 0.025582289323210716, 0.00984746590256691, 0.017390185967087746, 0.00662650540471077, -0.008683104999363422, 0.013331986963748932, -0.007490864489227533, 0.019698912277817726, -0.04498204216361046, -0.026637956500053406, -0.014471125788986683, 0.004301755223423243, -0.009628155268728733, 0.008564471267163754, -0.04322308301925659, -0.004398732911795378, 0.023051410913467407, -0.007896223105490208, 0.06037769094109535, 0.008072623051702976, -0.00443194480612874, -0.006613524165004492, 0.025318751111626625, 0.025621842592954636, -0.029473884031176567, -0.00896515790373087, 0.015381714329123497, -0.012862048111855984, 0.014912123791873455, 0.04123804345726967, -0.008413877338171005, 0.03378846496343613, -0.000342395156621933, 0.015447640791535378, -0.0004171391192357987, -0.06889712065458298, 0.08445080369710922, -0.007767622824758291, -0.0787711888551712, 0.0006248730351217091, -0.027190420776605606, -0.03831833600997925, -0.02250322885811329, -0.05217063054442406, 0.04747869074344635, 0.048221405595541, -0.015011495910584927, -0.0017737215384840965, 0.012610174715518951, 0.045847319066524506, 0.0281410850584507, -0.008531676605343819, -0.00025586909032426775, 0.0008988966001197696, 0.027721984311938286, 0.012089337222278118, -0.0025471202097833157, -0.016597919166088104, 0.0062411329708993435, 0.006079563871026039, -0.0383283793926239, -0.0016310238279402256, 0.024037128314375877, -0.04825647920370102, 0.01993732340633869, 0.03137119859457016, -0.006693760398775339, 0.012333751656115055, -0.01793244481086731, 0.03080889955163002, 0.048327427357435226, 0.031762655824422836, 0.01069231703877449, -0.002060047583654523, -0.04231416806578636, 0.01755848154425621, 0.036940574645996094, -0.003976006060838699, 0.022504689171910286, 0.013943878933787346, 0.031559839844703674, 0.04169003665447235, 0.01960083842277527, 0.00452857930213213, -0.005965729709714651, 0.0337587371468544, -0.014062639325857162, 0.019814902916550636, 0.022960355505347252, -0.02506185881793499, -0.06083930656313896, -0.008605889976024628, -0.008468840271234512, -0.04173407703638077, 0.02817947044968605, 0.017098020762205124, -0.007890119217336178, 0.006984389387071133, -0.03489283472299576, 0.02246650867164135, 0.02561400830745697, 0.015004672110080719, 0.02011723257601261, 0.012401419691741467, 0.06207011640071869, 0.03325466811656952, 0.025949567556381226, -0.0029765143990516663, -0.021344682201743126, 0.04013565182685852, 0.01719616912305355, -0.00858562532812357, 0.018899541348218918, 0.008476808667182922, 0.023477964103221893, -0.013477851636707783, -0.007533447816967964, -0.017758673056960106, 0.032169636338949203, -0.009869346395134926, -0.01753471978008747, -0.0029186392202973366, 0.005195601377636194, -0.04520905017852783, -0.02220235764980316, 0.00939613115042448, 0.006107147317379713, -0.00923867430537939, -0.029623325914144516, -0.007883474230766296, 0.061779387295246124, 0.013056715950369835, -0.030822470784187317, 0.0004260512359905988, -0.0010062498040497303, 0.012558570131659508, 0.019017497077584267, -0.03051978163421154, 0.01116540003567934, -0.03318270668387413, 0.004843931645154953, -0.025730345398187637, -0.015496584586799145, -0.06058216467499733, 0.011671005748212337, 0.017105434089899063, 0.01799200475215912, -0.02366173453629017, 0.03641609475016594, 0.00032047778950072825, -0.000006868016498629004, -0.026707826182246208, 0.019323615357279778, -0.016818590462207794, -0.01825229823589325, -0.0385110005736351, -0.040760766714811325, -0.0017411072039976716, -0.02739214338362217, 0.015503286384046078, 0.023742906749248505, 0.039129000157117844, -0.03182582929730415, -0.007085956633090973, -0.0058001140132546425, -0.004869354888796806, 0.005628066137433052, -0.004904214292764664, 0.05439426749944687, -0.010958467610180378, 0.013219322077929974, -0.00994884967803955, 0.04449087381362915, -0.01785329356789589, 0.03391242027282715, 0.025491518899798393, 0.00582494679838419, -0.03174777328968048, 0.004606090951710939, 0.045314591377973557, 0.029801461845636368, 0.03443000838160515, -0.00555740762501955, 0.041296232491731644, -0.02391912043094635, -0.07691753655672073, 0.016340937465429306, -0.016652146354317665, 0.00024343161203432828, -0.04286450147628784, -0.03617154806852341, 0.0012552870903164148, 0.016371507197618484, 0.003272887784987688, -0.017093205824494362, -0.03685162588953972, 0.011162870563566685, -0.01650433987379074, 0.005821670405566692, -0.007678459398448467, 0.0011747542303055525, 0.027454039081931114, 0.021066220477223396, 0.02026582509279251, -0.02916560508310795, -0.012003161013126373, -0.04556389898061752, -0.018465131521224976, 0.02575707621872425, 0.003007046179845929, -0.0012771313777193427, -0.02269788272678852, -0.05415070801973343, -0.024183742702007294, -0.03910991549491882, -0.05169692635536194, -0.014172117225825787, 0.0328340120613575, -0.00763184716925025, -0.013510056771337986, 0.007264039013534784, -0.0007152640610001981, -0.020403414964675903, 0.04656678065657616, -0.002934863092377782, -0.028237905353307724, -0.03417018800973892, -0.023405302315950394, -0.010744007304310799, 0.0043623787350952625, -0.06886803358793259, 0.030378568917512894, -0.005417243577539921, 0.03344184160232544, 0.006301330868154764, -0.008234350942075253, -0.017040373757481575, 0.007970377802848816, -0.014646788127720356, -0.023910759016871452, -0.04724090173840523, 0.042111486196517944, 0.0003696279018186033, 0.0027283444069325924, -0.05326103791594505, 0.05995003879070282, 0.016298487782478333, -0.010268084704875946, 0.007144066505134106, -0.00274901045486331, 0.008966715075075626, 0.03368144482374191, 0.02465071901679039, -0.01166028156876564, 0.04069441556930542, 0.03149325028061867, -0.019971605390310287, -0.03776668384671211, -0.01350603811442852 ]
Don't repeat yourself - 🤗 Transformers Design Philosophy
patrickvonplaten
April 5, 2022
transformers-design-philosophy
community
https://huggingface.co/blog/transformers-design-philosophy
Designing open-source libraries for modern machine learning
[ 0.05430859699845314, -0.004886598791927099, 0.056774962693452835, 0.03291453421115875, 0.07972721755504608, 0.015960896387696266, -0.035757843405008316, 0.035613518208265305, -0.00926252268254757, -0.0459025613963604, -0.05595843121409416, 0.031835462898015976, -0.02777053229510784, 0.06387209892272949, 0.0809645876288414, 0.017189178615808487, 0.024008246138691902, -0.03525540605187416, 0.03613265976309776, 0.007511247880756855, 0.007702330593019724, -0.047566093504428864, 0.04863138124346733, -0.04518774896860123, -0.00023512048937845975, -0.023813076317310333, 0.04738935828208923, -0.000024985602067317814, -0.0747796967625618, 0.013590351678431034, -0.10156051069498062, 0.030994616448879242, -0.024523021653294563, -0.015082111582159996, -0.04734165966510773, 0.007242952939122915, -0.08618604391813278, 0.03470670431852341, 0.027199435979127884, -0.016026068478822708, -0.006480909418314695, -0.02104717493057251, -0.07159364223480225, 0.059996332973241806, -0.04013282433152199, -0.02725837379693985, -0.24686625599861145, 0.07425573468208313, -0.029136627912521362, -0.010837632231414318, -0.06962127238512039, 0.015169966965913773, -0.043004561215639114, -0.007490209769457579, -0.014102872461080551, 0.03405595198273659, 0.05886954069137573, -0.052150752395391464, -0.028537428006529808, 0.020753677934408188, 0.07715492695569992, 0.017640147358179092, 0.04183775931596756, 0.001919792266562581, 0.026046859100461006, -0.022075973451137543, 0.015451832674443722, -0.017988458275794983, -0.04710602015256882, -0.04260874539613724, 0.046743955463171005, -0.006112938281148672, -0.04514555260539055, -0.047500379383563995, 0.012761189602315426, -0.04534989222884178, 0.03811129927635193, 0.028102822601795197, 0.06358198076486588, 0.058461517095565796, 0.058922071009874344, 0.052378930151462555, 0.11183761805295944, 0.04972042888402939, 0.008730585686862469, 0.033291082829236984, -0.019588371738791466, -0.05839768424630165, 0.013673319481313229, 0.048642680048942566, 0.011303775943815708, -0.14121724665164948, 0.004168929066509008, 0.04531316086649895, 0.05745881423354149, -0.04213966801762581, 0.022120963782072067, 0.013995615765452385, -0.016951417550444603, 0.004035649821162224, -0.030453236773610115, -0.01382591761648655, 0.047187261283397675, -0.09533730149269104, -0.03614002466201782, 0.053162407130002975, 0.00605684332549572, -0.0789429098367691, -0.06200278550386429, 0.038631778210401535, 0.0024103058967739344, 0.01425563357770443, -0.016486911103129387, 0.06515578180551529, -0.06012536585330963, 0.07486456632614136, 0.03084198385477066, -0.011965660378336906, -0.011708935722708702, 0.03966474533081055, -0.02037302404642105, 0.08284268528223038, 0.006778934504836798, 0.03483983874320984, 0.02634827420115471, 0.06517963111400604, 0.03695815056562424, 0.05401727929711342, 0.021308783441781998, -0.04803016036748886, 0.021809902042150497, 0.03417336568236351, 0.018243439495563507, -0.043064750730991364, 0.004960532300174236, -0.032578811049461365, 0.01286166999489069, -0.008793354034423828, -0.008182676509022713, 0.017964117228984833, -0.019735068082809448, 0.028393365442752838, 0.0218735970556736, 0.07254885882139206, 0.08046150952577591, 0.008787550963461399, -0.04544372484087944, 0.03636464476585388, 0.0066980598494410515, -0.010218169540166855, -0.024672219529747963, 0.050937168300151825, -0.052230026572942734, -0.07407808303833008, -0.03990704193711281, 0.09358450770378113, 0.004993444308638573, 0.012836779467761517, -0.03382660821080208, -0.01590530388057232, -0.016444997861981392, 0.027808750048279762, -0.025034289807081223, 0.0019100143108516932, 0.05615761876106262, -0.04128207266330719, 0.022259419783949852, 0.0635722205042839, 0.007635103072971106, 0.027013951912522316, 0.0005823802785016596, -0.04784403741359711, 0.05094016715884209, -0.027820367366075516, 0.01012033224105835, -0.011738584376871586, 0.04459526017308235, 0.05267205089330673, 0.002425904618576169, 0.016669483855366707, -0.0352354533970356, 0.010302547365427017, -0.02987636812031269, 0.00576194329187274, 0.04325895383954048, -0.05243786424398422, -0.00532162981107831, -0.04308221861720085, 0.028625093400478363, -0.0254092738032341, -0.0519842654466629, -0.054398421198129654, 0.07432400435209274, 0.03172402083873749, 0.06777883321046829, 0.0007778987637721002, -0.04066384956240654, 0.12079519778490067, 0.03362846374511719, 0.08309074491262436, 0.05126699060201645, -0.018478350713849068, 0.015947315841913223, -0.04364410415291786, -0.011992675252258778, -0.04301619902253151, 0.03895650804042816, -0.04528158903121948, 0.05292125046253204, -0.016607161611318588, 0.005227783229202032, -0.10630152374505997, 0.0204282496124506, -0.0427456758916378, 0.018727878108620644, 0.005102077964693308, 0.0013359995791688561, 0.020820895209908485, 0.02138986438512802, -0.0009244967950507998, 0.17516589164733887, -0.048502180725336075, -0.01084731612354517, 0.05384761840105057, -0.066317118704319, 0.09771180897951126, 0.11981285363435745, 0.026929521933197975, 0.13020257651805878, -0.07644139230251312, -0.031287409365177155, -0.05588698759675026, 0.0014253280824050307, 0.06914389133453369, 0.0283384770154953, 0.006238230038434267, 0.008770247921347618, 0.005894017405807972, 0.06888281553983688, -0.05706512928009033, 0.004460631869733334, -0.010154911316931248, -0.029195629060268402, 0.036712776869535446, -0.00927913747727871, -0.07689899951219559, 0.061246953904628754, -0.02173420414328575, -0.011921169236302376, 0.024175576865673065, 0.009818959049880505, 0.02702304907143116, -0.01407958846539259, -0.024634871631860733, 0.021685507148504257, 0.038849834352731705, -0.040218982845544815, -0.03301924094557762, -0.025698017328977585, 0.0495978482067585, 0.022739991545677185, -0.012208078987896442, -0.009604878723621368, -0.040561243891716, -0.018837956711649895, -0.050034187734127045, -0.013731725513935089, -0.00026990132755599916, 0.010078739374876022, 0.015560670755803585, 0.000482731411466375, -0.024314535781741142, 0.02189411222934723, 0.01423717476427555, 0.028637398034334183, 0.005653259810060263, 0.06814722716808319, -0.00590533809736371, -0.039819277822971344, -0.03250802308320999, 0.02368765138089657, -0.021819880232214928, 0.05742846056818962, 0.020848728716373444, 0.007760147098451853, -0.0009867517510429025, 0.00936900358647108, 0.01618696004152298, -0.018054725602269173, 0.052662961184978485, -0.010716571472585201, 0.05062514916062355, -0.023971766233444214, -0.019077258184552193, -0.003780808998271823, -0.01584659516811371, 0.005221978295594454, 0.008878028020262718, -0.034049712121486664, -0.009012248367071152, -0.005498936865478754, 0.014908957295119762, -0.018645990639925003, -0.01685332879424095, -0.05095328018069267, 0.058427594602108, 0.01802048087120056, 0.0010232537752017379, -0.1294267475605011, -0.021653948351740837, -0.010186977684497833, 0.03741835802793503, -0.0276686679571867, -0.03772216662764549, -0.0006256838096305728, -0.014941703528165817, -0.0013710171915590763, -0.021311527118086815, 0.0002864111738745123, 0.026411985978484154, -0.010809223167598248, 0.03911057487130165, 0.0050994823686778545, -0.010422656312584877, -0.042659927159547806, 0.04458826035261154, 0.00561536056920886, -0.0005769537528976798, -0.0384567566215992, 0.04853357374668121, -0.02401113137602806, 0.01585298590362072, -0.022495988756418228, 0.027115942910313606, 0.033896055072546005, 0.02600424364209175, 0.01894698105752468, -0.01319796871393919, -0.02644013613462448, 0.0036124230828136206, -0.05874989926815033, 0.0016438956372439861, -0.023596400395035744, 0.010414859279990196, 0.02183915302157402, -0.00011412557796575129, 0.005585538223385811, 0.042447466403245926, 0.015810485929250717, -0.001774574164301157, 0.0296467337757349, -0.023226775228977203, -0.022923974320292473, -0.008353644981980324, -0.030417583882808685, 0.006141220685094595, 0.014641514047980309, -0.06352823972702026, -0.014428921975195408, -0.020079035311937332, 0.011329338885843754, 0.04314470663666725, -0.013301008380949497, 0.0011426849523559213, -0.023386923596262932, 0.03490820899605751, 0.01947413943707943, -0.0028798102866858244, -0.04685145244002342, 0.003072618506848812, 0.03641780465841293, -0.025066634640097618, -0.06903521716594696, 0.034669410437345505, 0.01535644382238388, 0.009598719887435436, -0.01795600727200508, 0.04344944283366203, 0.02143307588994503, 0.02808309532701969, -0.011921372264623642, 0.023028217256069183, -0.025502962991595268, 0.03377477079629898, 0.004701507743448019, -0.028374318033456802, 0.09324831515550613, 0.03664318099617958, -0.028770748525857925, -0.053607597947120667, -0.005269927904009819, -0.020337216556072235, -0.0003296419745311141, -0.023538319393992424, -0.013009580783545971, -0.015337537974119186, 0.015394790098071098, 0.032955728471279144, -0.015010612085461617, -0.06637696176767349, 0.02334262989461422, -0.01904529705643654, 0.02453986555337906, -0.005232160445302725, 0.049611471593379974, 0.020886322483420372, 0.011512446217238903, 0.010325835086405277, 0.03939995914697647, -0.02420872636139393, -0.006040600128471851, 0.0005777787882834673, -0.01667132042348385, 0.015480132773518562, -0.03729899972677231, -0.020376278087496758, 0.019270384684205055, -0.01288796216249466, 0.01828976534307003, -0.04060778766870499, -0.020373692736029625, -0.017691217362880707, 0.015469944104552269, 0.007185880560427904, -0.018209535628557205, -0.021196406334638596, -0.026472171768546104, -0.0017774644074961543, -0.03547270968556404, 0.00009595526353223249, -0.008305581286549568, -0.012566637247800827, 0.018709955736994743, -0.04172214865684509, 0.017319170758128166, -0.017244964838027954, -0.03428766876459122, -0.009288020431995392, -0.020563164725899696, -0.03691066801548004, 0.03048027865588665, -0.014870868995785713, 0.03400832787156105, 0.023186923936009407, -0.015757141634821892, 0.013388105668127537, 0.0021225297823548317, -0.052928827702999115, -0.021299922838807106, 0.006456383503973484, 0.01818961463868618, -0.03090284764766693, 0.047409310936927795, -0.038724418729543686, -0.05014404281973839, -0.009940453805029392, 0.0015728287398815155, -0.006391467526555061, 0.010506646707654, -0.018625805154442787, -0.018746161833405495, 0.01660994067788124, 0.0290602408349514, -0.00563190458342433, 0.0026289995294064283, 0.02321682497859001, -0.00840873084962368, 0.03967214748263359, -0.0038309497758746147, -0.013573515228927135, -0.049729712307453156, -0.00869477167725563, -0.005540159065276384, -0.00404313812032342, 0.039958707988262177, -0.04334095120429993, -0.0011306417873129249, -0.0018373574130237103, 0.000020311175831011496, 0.01999567076563835, 0.032362304627895355, -0.02978728711605072, -0.009032072499394417, 0.017335856333374977, 0.020965563133358955, 0.018650921061635017, -0.05370953679084778, 0.012857750058174133, -0.034612249583005905, 0.005954268854111433, 0.02100861258804798, 0.012637786567211151, -0.017771683633327484, 0.029638754203915596, 0.0322364866733551, 0.015593322925269604, 0.0022644351702183485, 0.00615109084174037, -0.023712551221251488, -0.022997720167040825, 0.037780389189720154, -0.04000198096036911, 0.010964701883494854, -0.020512674003839493, 0.024133920669555664, -0.0016097503248602152, -0.011045597493648529, -0.012846305035054684, 0.008538532070815563, 0.01900177262723446, 0.002379142213612795, -0.010965080931782722, 0.04532145336270332, -0.007681144867092371, 0.023389076814055443, -0.04227080196142197, 0.03222282975912094, 0.009032797068357468, 0.0020217816345393658, 0.00650853430852294, -0.026250120252370834, -0.04119901359081268, -0.00165289465803653, -0.029354723170399666, -0.022724056616425514, -0.009429263882339, -0.01798892952501774, 0.03351324796676636, -0.0015286877751350403, -0.0014475613133981824, -0.023231372237205505, -0.0036525793839246035, 0.04553354158997536, -0.004914834164083004, -0.013246331363916397, 0.04457996040582657, 0.0044283377937972546, 0.03276598080992699, 0.045986607670784, -0.02510395459830761, 0.022550009191036224, 0.021126093342900276, 0.029372097924351692, -0.033780112862586975, -0.04074658825993538, 0.05752471834421158, 0.028780365362763405, 0.0022716238163411617, -0.02965034544467926, -0.0050401994958519936, -0.03887994959950447, 0.005866555962711573, -0.038649819791316986, -0.005138712003827095, 0.05433252453804016, -0.005377545021474361, 0.006968098226934671, -0.015928233042359352, 0.010266761295497417, -0.01830355077981949, 0.036443524062633514, -0.007573237642645836, 0.045349571853876114, 0.032572679221630096, 0.033490754663944244, -0.011927085928618908, -0.015714235603809357, -0.027661720290780067, 0.03290455415844917, -0.0580814927816391, 0.002216967288404703, -0.006953701376914978, -0.003838155185803771, 0.02900572307407856, 0.002095395466312766, -0.04404715448617935, 0.04126479849219322, 0.017998535186052322, 0.0223146453499794, 0.044693026691675186, 0.03356201946735382, -0.002449427265673876, -0.026882246136665344, -0.0558338463306427, 0.02318313904106617, 0.05842125043272972, -0.025548025965690613, 0.039169684052467346, -0.0014915624633431435, 0.03676231950521469, 0.023108432069420815, -0.019466809928417206, -0.024797817692160606, 0.03968564793467522, 0.051546718925237656, 0.02185741811990738, 0.029012637212872505, 0.036292001605033875, -0.010865633375942707, -0.03308721259236336, -0.016557229682803154, 0.023276055231690407, -0.02059188298881054, 0.029044071212410927, 0.025294611230492592, -0.01580848917365074, 0.004683579783886671, -0.04527754709124565, 0.05897573009133339, 0.028383377939462662, 0.03190384805202484, 0.008771524764597416, 0.020403821021318436, 0.0419105663895607, 0.008901547640562057, -0.011057279072701931, -0.012132328003644943, -0.023782460018992424, 0.023794542998075485, 0.03916628286242485, 0.013222643174231052, 0.021206412464380264, -0.023696022108197212, -0.045514024794101715, 0.021279875189065933, -0.0062443846836686134, -0.011455877684056759, 0.002146858489140868, -0.003667926648631692, -0.03180733695626259, -0.01977989636361599, -0.013923450373113155, -0.04137492552399635, -0.0088534876704216, -0.021582597866654396, 0.01397147960960865, -0.008012780919671059, -0.03675180301070213, -0.014392875134944916, -0.00016108083946164697, -0.020220259204506874, 0.019064361229538918, -0.026368623599410057, -0.004327693954110146, 0.043439194560050964, 0.021012164652347565, -0.021605104207992554, -0.04002325236797333, -0.03107268363237381, 0.00778144272044301, -0.019084183499217033, -0.018002336844801903, -0.024385519325733185, -0.025460612028837204, 0.022486304864287376, 0.012483326718211174, -0.031517744064331055, 0.021723510697484016, 0.02434438280761242, 0.029177814722061157, -0.04150217026472092, 0.021068057045340538, -0.06322932988405228, -0.03284403309226036, -0.021574392914772034, -0.008202830329537392, 0.013248184695839882, -0.022834481671452522, 0.0195413026958704, 0.03471207618713379, 0.023077670484781265, -0.041368886828422546, -0.047847993671894073, 0.03348332270979881, -0.01337861642241478, -0.020950376987457275, 0.035089507699012756, 0.016680385917425156, -0.024080047383904457, 0.0022319790441542864, 0.0015521232271566987, -0.00037197041092440486, -0.011865103617310524, 0.01298285461962223, 0.022204406559467316, -0.009431274607777596, -0.03209169954061508, -0.0009267789428122342, 0.05916118249297142, 0.01515805535018444, 0.03918495774269104, 0.005182992666959763, 0.04783306643366814, -0.004807456396520138, -0.033034175634384155, 0.02492128685116768, -0.00928898062556982, 0.04579837992787361, -0.03508502617478371, -0.04504338651895523, -0.015924103558063507, -0.02204481139779091, 0.0005913572967983782, -0.005863063037395477, -0.0645136684179306, -0.002709402237087488, -0.0288408026099205, -0.013837559148669243, -0.06983892619609833, 0.014738403260707855, 0.034387171268463135, 0.008395952172577381, -0.005032263230532408, 0.010917139239609241, -0.01575392484664917, 0.028391122817993164, 0.025374697521328926, 0.04464537650346756, 0.031636614352464676, -0.0031063908245414495, -0.04406039044260979, -0.0057770563289523125, 0.019412294030189514, -0.031417906284332275, -0.018557121977210045, 0.0022252993658185005, -0.0012438296107575297, -0.004308442585170269, -0.03661058098077774, 0.0048949155025184155, 0.027524322271347046, -0.026540596038103104, 0.03475853055715561, 0.014278419315814972, -0.032597508281469345, 0.012480281293392181, 0.0036371301393955946, -0.03738526999950409, -0.002662383019924164, -0.012867366895079613, -0.034310318529605865, 0.0524832122027874, 0.042694058269262314, -0.001675806357525289, -0.02037777006626129, -0.03589138761162758, -0.006270988378673792, 0.023404989391565323, -0.04995802789926529, -0.0480189211666584, 0.002146776532754302, 0.025583302602171898, -0.04395438730716705, -0.0354246161878109, 0.01842556893825531, 0.00529829366132617, -0.004262432921677828, 0.011013505049049854, 0.005205785855650902, 0.030936071649193764, 0.01867874152958393, 0.019636159762740135, -0.0013877793680876493, 0.07820636034011841, 0.028785664588212967, 0.006078149192035198, -0.010252809152007103, 0.010976025834679604 ]
Don't repeat yourself - 🤗 Transformers Design Philosophy
patrickvonplaten
April 5, 2022
transformers-design-philosophy
community
https://huggingface.co/blog/transformers-design-philosophy
🤗 Transformers Design Philosophy "Don't repeat yourself", or DRY, is a well-known principle of software development. The principle originates from "The pragmatic programmer", one of the most read books on code design. The principle's simple message makes obvious sense: Don't rewrite a logic that already exists somewhere else. This ensures the code remains in sync, making it easier to maintain and more robust. Any change to this logical pattern will uniformly affect all of its dependencies. At first glance, the design of Hugging Face's Transformers library couldn't be more contrary to the DRY principle. Code for the attention mechanism is more or less copied over 50 times into different model files. Sometimes code of the whole BERT model is copied into other model files. We often force new model contributions identical to existing models - besides a small logical tweak - to copy all of the existing code. Why do we do this? Are we just too lazy or overwhelmed to centralize all logical pieces into one place? No, we are not lazy - it's a very conscious decision not to apply the DRY design principle to the Transformers library. Instead, we decided to adopt a different design principle which we like to call the single model file policy. The single model file policy states that all code necessary for the forward pass of a model is in one and only one file - called the model file. If a reader wants to understand how BERT works for inference, she should only have to look into BERT's modeling_bert.py file. We usually reject any attempt to abstract identical sub-components of different models into a new centralized place. We don't want to have a attention_layer.py that includes all possible attention mechanisms. Again why do we do this? In short the reasons are: - 1. Transformers is built by and for the open-source community. - 2. Our product are models and our customers are users reading or tweaking model code. - 3. The field of machine learning evolves extremely fast. - 4. Machine Learning models are static.
[ 0.05415309965610504, 0.025400491431355476, -0.06575687229633331, 0.03449467942118645, 0.03272496163845062, 0.05092057213187218, 0.022496644407510757, -0.03504073992371559, 0.03435368463397026, -0.04601031914353371, -0.11336814612150192, 0.05417925864458084, -0.043142903596162796, 0.0852426066994667, 0.002888057380914688, 0.014902537688612938, 0.07862409949302673, -0.016758842393755913, -0.058770738542079926, 0.05399809777736664, 0.03088175505399704, -0.0659036785364151, 0.015897493809461594, 0.01333580631762743, 0.002794095780700445, -0.10345765948295593, -0.007081739604473114, -0.0005024645943194628, -0.031898029148578644, 0.06271760165691376, -0.06924448907375336, -0.01866382174193859, -0.01907648891210556, 0.06315591186285019, -0.05362917110323906, -0.00777777936309576, -0.04303854703903198, 0.025800684466958046, 0.01721864752471447, 0.01912640407681465, 0.02979048155248165, 0.00923953764140606, -0.0661093145608902, -0.029367994517087936, 0.0915791392326355, -0.011648529209196568, -0.059411097317934036, 0.0032987105660140514, -0.11639691144227982, -0.0039029638282954693, -0.12404986470937729, 0.0039116633124649525, -0.049246739596128464, 0.015612375922501087, -0.01766796037554741, 0.06070047244429588, 0.012188357301056385, 0.02654033713042736, -0.026543086394667625, 0.060793761163949966, 0.0124752102419734, -0.005710301920771599, 0.06813424080610275, 0.053675055503845215, -0.005919639021158218, 0.01643930748105049, -0.051305439323186874, -0.0015229082200676203, -0.01628100499510765, -0.045056313276290894, -0.0362197645008564, -0.012724746018648148, -0.041035059839487076, -0.008624008856713772, -0.0030847506131976843, 0.05428679287433624, 0.010679795406758785, 0.04637109860777855, 0.03564596176147461, 0.06601530313491821, 0.06886083632707596, 0.05479692295193672, -0.00790986604988575, 0.04074683040380478, 0.009781661443412304, -0.023703739047050476, 0.014195493422448635, -0.09161526709794998, -0.08413077890872955, 0.03184378147125244, -0.07323793321847916, -0.12965595722198486, -0.008285723626613617, -0.03440902382135391, 0.057018864899873734, 0.02695494145154953, -0.04889395087957382, 0.0014560642885044217, -0.030413050204515457, -0.011420547030866146, -0.009336980059742928, 0.012511898763477802, -0.02310592122375965, -0.038795340806245804, -0.010917672887444496, -0.03972669690847397, 0.018814941868185997, -0.08996541798114777, -0.03441264107823372, 0.054345984011888504, -0.0504411943256855, -0.1023205816745758, 0.033614832907915115, 0.04877482354640961, -0.08450181782245636, -0.003709640121087432, 0.020719483494758606, -0.04776158928871155, 0.01553872786462307, 0.028097888454794884, -0.009942778386175632, -0.0024335000198334455, 0.017588967457413673, -0.0484766960144043, 0.06856601685285568, 0.044800661504268646, -0.06575276702642441, 0.04504082351922989, 0.014036281034350395, -0.07247169315814972, 0.07939321547746658, 0.016891127452254295, 0.012253791093826294, 0.007735599298030138, -0.03628018498420715, -0.015282828360795975, 0.052179448306560516, 0.010264777578413486, 0.0483388677239418, 0.050247326493263245, 0.052746180444955826, 0.08377113938331604, 0.015246217139065266, -0.052945155650377274, 0.003538937773555517, 0.009844704531133175, -0.10812031477689743, 0.056155379861593246, -0.006498412229120731, 0.01991446316242218, -0.055619221180677414, 0.10526439547538757, -0.05685870721936226, -0.05156081169843674, -0.04501710459589958, 0.08508776128292084, -0.04671687260270119, 0.0369255505502224, -0.01818687468767166, -0.04371242970228195, 0.00021438515977934003, 0.00044127702130936086, -0.008623049594461918, 0.036730196326971054, 0.023530878126621246, -0.05617937073111534, -0.0600389763712883, 0.04860350117087364, 0.008224781602621078, 0.03784281760454178, -0.009551920928061008, 0.005891561508178711, 0.028811629861593246, -0.05125115066766739, -0.000636771263089031, 0.02034595236182213, -0.024365587159991264, 0.026283379644155502, 0.013457569293677807, -0.0032875672914087772, -0.02480669505894184, 0.01837751641869545, 0.04115073010325432, 0.030473409220576286, 0.03913530334830284, 0.00891146156936884, 0.0511031448841095, -0.03228750824928284, -0.07585678994655609, -0.0167197585105896, -0.06377888470888138, 0.0023727340158075094, 0.12008447200059891, -0.01470901072025299, 0.009589428082108498, -0.04954148456454277, -0.114357128739357, 0.08762970566749573, 0.04314890131354332, 0.02520650625228882, 0.041288360953330994, -0.029896171763539314, -0.0356263592839241, -0.05640866607427597, 0.03699009120464325, 0.02900855243206024, 0.039696112275123596, -0.04080823063850403, 0.04394816607236862, 0.024363916367292404, 0.03329937532544136, -0.01858259178698063, -0.004397375974804163, -0.033270228654146194, 0.011811974458396435, -0.09754210710525513, 0.01269197091460228, 0.07090263813734055, -0.008812451735138893, 0.04307164251804352, 0.10508426278829575, -0.04106856510043144, -0.04373827949166298, 0.04233500733971596, 0.011533371172845364, -0.007706270087510347, 0.031060175970196724, -0.011873874813318253, 0.06559845805168152, -0.06754032522439957, -0.011105848476290703, -0.06883297115564346, 0.011216070502996445, -0.00943395122885704, 0.005101350136101246, 0.0033257321920245886, 0.006279619410634041, -0.01071303989738226, -0.04797157272696495, -0.047676265239715576, -0.03465627133846283, 0.022422458976507187, 0.030959270894527435, 0.032150544226169586, 0.030273478478193283, -0.02167307212948799, 0.010388681665062904, -0.000058348716265754774, 0.016508111730217934, 0.032539092004299164, -0.07456180453300476, 0.06339520215988159, 0.028048032894730568, -0.04070017486810684, 0.0018264352111145854, 0.013774433173239231, -0.024606214836239815, -0.012180382385849953, -0.05963239446282387, 0.028118394315242767, -0.01766669936478138, 0.028362886980175972, -0.061359748244285583, -0.03918231651186943, -0.04423566535115242, -0.08411473780870438, 0.008246351033449173, 0.04331619665026665, 0.012885632924735546, 0.024539586156606674, -0.004233543295413256, -0.013722398318350315, -0.0002127927145920694, 0.01902766525745392, 0.0035555341746658087, 0.027730509638786316, 0.04636382684111595, -0.007241858635097742, -0.013853874988853931, -0.02564103715121746, -0.04122130945324898, 0.02277243509888649, 0.002309103263542056, 0.007690016180276871, -0.034490060061216354, 0.00999553594738245, -0.006716995034366846, -0.008290407247841358, -0.03484132140874863, 0.00503626000136137, 0.022314023226499557, 0.009443954564630985, -0.05054088681936264, -0.05608353763818741, -0.0020022892858833075, 0.06496597081422806, -0.02603035606443882, -0.023021820932626724, 0.004565184470266104, -0.015471070073544979, -0.01136000081896782, 0.023464562371373177, 0.016605587676167488, 0.0009806196903809905, -0.0042192693799734116, -0.014744562096893787, 0.03221786394715309, -0.009881840087473392, -0.0689648911356926, -0.048918720334768295, -0.005567651707679033, -0.029991962015628815, -0.004606246016919613, -0.041837576776742935, 0.009298169054090977, 0.00946730189025402, -0.01162304449826479, 0.04267815500497818, -0.03698580339550972, -0.01583389937877655, 0.0008240577881224453, 0.019371598958969116, 0.02869562804698944, -0.015325924381613731, -0.04468720778822899, -0.003438388928771019, 0.0308726504445076, 0.00945987831801176, 0.004491487052291632, -0.02104402333498001, -0.004180192947387695, -0.004310365300625563, 0.00366064440459013, -0.03220662474632263, 0.013929001055657864, 0.04167909175157547, 0.007864990271627903, -0.051056843250989914, -0.04479176178574562, -0.020855428650975227, -0.029012249782681465, 0.006379472557455301, -0.01351171638816595, -0.016444208100438118, 0.04431169107556343, 0.008379535749554634, 0.016357343643903732, 0.07673840969800949, 0.05337447300553322, 0.027191145345568657, 0.007887382060289383, 0.05071539059281349, 0.02599027380347252, 0.020025379955768585, 0.00015217438340187073, -0.0010926860850304365, 0.011465918272733688, 0.008206293918192387, -0.011942756362259388, -0.024857301265001297, -0.004950978793203831, 0.004332984331995249, -0.00041435807361267507, 0.017933668568730354, 0.043809760361909866, -0.029531896114349365, -0.011779203079640865, 0.006371838040649891, -0.012689403258264065, -0.0066053601913154125, -0.04598492011427879, -0.0445517897605896, -0.0007947717094793916, 0.06079675629734993, 0.004846257623285055, -0.017139624804258347, -0.02900337614119053, 0.06340458989143372, -0.0008781267097219825, 0.016352659091353416, 0.0012511821696534753, -0.008368649519979954, -0.03451642394065857, 0.04901675507426262, -0.03634556010365486, -0.07785125076770782, 0.03868597745895386, 0.027392998337745667, -0.01931585557758808, -0.00978805311024189, -0.04951368644833565, 0.0221477672457695, 0.04087479040026665, 0.024533754214644432, 0.05065382644534111, -0.015782112255692482, 0.0366399809718132, -0.012865903787314892, 0.010430599562823772, -0.03253821283578873, 0.021866869181394577, -0.03909185156226158, -0.05427270382642746, -0.03373449668288231, 0.020609993487596512, 0.005948309320956469, 0.006246700882911682, -0.035570502281188965, 0.0045453025959432125, -0.06754462420940399, -0.018567945808172226, 0.03145048767328262, -0.02171514183282852, 0.057173456996679306, 0.017117692157626152, 0.006354894023388624, 0.00899470318108797, -0.013456224463880062, 0.007345329504460096, 0.034617967903614044, 0.022464098408818245, 0.048717427998781204, 0.029701368883252144, 0.012965496629476547, -0.011426784098148346, 0.008949920535087585, -0.0696476548910141, 0.002596074715256691, 0.01102802250534296, -0.019610067829489708, 0.030605336651206017, -0.03431711345911026, 0.02849487215280533, -0.005106448661535978, 0.04059378057718277, 0.013068337924778461, -0.03577879071235657, 0.012094353325664997, -0.03495214506983757, -0.0009534540586173534, 0.030586956068873405, -0.009929714724421501, 0.009865867905318737, 0.0673423781991005, 0.0487237311899662, 0.008731994777917862, 0.005810773931443691, -0.010741987265646458, -0.01774251088500023, 0.032114651054143906, 0.05662214383482933, -0.02966604195535183, -0.009089019149541855, 0.01063503697514534, 0.02162446454167366, -0.010139367543160915, -0.013403166085481644, -0.02384568750858307, 0.020656831562519073, 0.008279494009912014, -0.06204136461019516, 0.004058086778968573, -0.011663549579679966, -0.029127098619937897, -0.016718987375497818, 0.022842850536108017, 0.014302531257271767, 0.024525560438632965, -0.06439749896526337, 0.03311818838119507, -0.042282748967409134, -0.023939749225974083, 0.029036901891231537, 0.042082205414772034, -0.010998555459082127, -0.06643134355545044, 0.01807892881333828, -0.00430669542402029, -0.0156688392162323, 0.005642410833388567, -0.041414376348257065, -0.039377354085445404, -0.05563272163271904, 0.026963571086525917, 0.04123447462916374, -0.003202175023034215, -0.01001005433499813, -0.008560403250157833, -0.013211729004979134, 0.0026848134584724903, -0.01975051499903202, -0.006029424257576466, 0.043079670518636703, -0.002062402665615082, 0.044122710824012756, 0.07207692414522171, 0.006731895729899406, 0.0276644229888916, -0.013702751137316227, -0.014748231507837772, 0.009754348546266556, 0.008222553879022598, 0.010380802676081657, -0.022697903215885162, 0.008248480968177319, 0.038949981331825256, 0.0032660767901688814, 0.011582855135202408, 0.011014285497367382, 0.05187597498297691, -0.025101693347096443, -0.024860559031367302, 0.03730466961860657, -0.018994465470314026, -0.007122551556676626, -0.04661737382411957, 0.03068682923913002, -0.009041085839271545, 0.011989886872470379, -0.03956075385212898, 0.0015899467980489135, -0.047693882137537, -0.022437671199440956, -0.011154279112815857, -0.06606722623109818, -0.003428140887990594, 0.01342539582401514, 0.007053663022816181, -0.027906885370612144, -0.003661693539470434, 0.006916966289281845, 0.015387401916086674, 0.025330834090709686, -0.05049651861190796, -0.0026654324028640985, 0.024886444211006165, -0.005696164444088936, -0.02046051435172558, 0.031000636518001556, 0.0223089549690485, -0.021938536316156387, 0.0010854701977223158, -0.011782124638557434, -0.033344730734825134, -0.02656254544854164, 0.048184674233198166, 0.0076095713302493095, -0.07194438576698303, 0.011458538472652435, -0.02850984036922455, -0.06577613204717636, 0.04268370941281319, -0.04162824526429176, 0.031068429350852966, 0.04094424471259117, -0.024919936433434486, -0.020967192947864532, -0.017672166228294373, 0.008037108927965164, 0.0031689933966845274, -0.0445256382226944, -0.0010798635194078088, -0.009223339147865772, 0.007288526277989149, 0.04741275683045387, 0.05241749808192253, 0.013535496778786182, 0.007244069594889879, 0.001798593089915812, -0.04856918007135391, 0.0030734757892787457, -0.04472244903445244, -0.018028728663921356, 0.0064156842418015, 0.01956571452319622, 0.01675260066986084, 0.016352921724319458, -0.05435396730899811, 0.016819242388010025, 0.005095516797155142, 0.04649731144309044, 0.02621929906308651, -0.003249712288379669, -0.025237591937184334, 0.0042617726139724255, 0.00726498244330287, 0.045395974069833755, -0.018030311912298203, 0.022374941036105156, 0.05339010804891586, 0.06985681504011154, -0.023250460624694824, 0.006979849189519882, -0.02379048429429531, 0.044815320521593094, 0.010059520602226257, 0.025146331638097763, 0.017925512045621872, -0.032007645815610886, -0.024939410388469696, 0.016276342794299126, -0.017435507848858833, -0.007893100380897522, -0.01368320919573307, 0.017457736656069756, -0.005175840575248003, 0.0035355212166905403, -0.00810353085398674, 0.03989178314805031, 0.039871152490377426, 0.05179423466324806, 0.05588684231042862, -0.002902087289839983, 0.02257404662668705, 0.03491337224841118, 0.021490899845957756, 0.02050614543259144, 0.03807123005390167, -0.042529672384262085, 0.05939773842692375, -0.020287293940782547, 0.03139162063598633, 0.013993904925882816, -0.02223873883485794, -0.029997901991009712, -0.035134207457304, 0.008104651235044003, -0.0200976375490427, -0.02871992066502571, 0.003578942036256194, -0.012451868504285812, 0.013743647374212742, 0.011111309751868248, -0.009978336282074451, 0.007818986661732197, 0.04396273195743561, -0.009792749769985676, -0.03185449168086052, 0.000437754497397691, -0.017276335507631302, 0.004853480029851198, -0.002828330500051379, 0.04440997168421745, 0.013564369641244411, 0.045545630156993866, 0.03617033362388611, 0.06584938615560532, -0.0014900772366672754, -0.05867306515574455, -0.01769859716296196, -0.011704176664352417, 0.04576810449361801, 0.02337120659649372, -0.017049189656972885, 0.026784848421812057, 0.01699869893491268, 0.01514330692589283, 0.05896472930908203, -0.017965424805879593, 0.014694496989250183, -0.03769510239362717, -0.009199758991599083, -0.02037273719906807, -0.026977000758051872, -0.009905224665999413, -0.043673887848854065, -0.01102187018841505, 0.008270593360066414, 0.009434161707758904, 0.021763794124126434, 0.028025047853589058, -0.03057100810110569, 0.011382662691175938, 0.013158894143998623, 0.016128962859511375, -0.04526374489068985, 0.08156666159629822, 0.02862922102212906, -0.0206606425344944, 0.04564138501882553, -0.05103864520788193, 0.0269667599350214, 0.007392469327896833, -0.021040309220552444, 0.05172936990857124, 0.004444163758307695, 0.0006192244472913444, 0.04466290771961212, 0.016081882640719414, 0.011501547880470753, 0.06418951600790024, 0.022221945226192474, 0.05586537346243858, 0.014403436332941055, -0.03863321617245674, 0.025439484044909477, 0.024184376001358032, -0.0003374809166416526, 0.00810966920107603, 0.01516351941972971, 0.014384319074451923, 0.02142958715558052, 0.0391516387462616, 0.012386350892484188, -0.019130662083625793, 0.021438542753458023, -0.020385239273309708, -0.043128907680511475, -0.0035136679653078318, 0.03669529780745506, 0.012487819418311119, 0.009871847927570343, -0.007570650428533554, -0.012588715180754662, -0.019450858235359192, -0.027577819302678108, -0.03850041702389717, 0.014573462307453156, 0.06427129358053207, 0.02964240126311779, -0.005373337771743536, -0.009776205755770206, -0.053756654262542725, 0.03065549023449421, -0.05704117938876152, 0.03490302339196205, -0.007942956872284412, 0.0018728198483586311, 0.0379415825009346, -0.03980107977986336, 0.04573296383023262, -0.02623523771762848, -0.008157181553542614, 0.00897623598575592, -0.0015114331617951393, -0.020449453964829445, 0.00485923420637846, -0.04395367205142975, -0.022463131695985794, -0.01788044162094593, -0.013768170960247517, 0.02259434573352337, -0.008947580121457577, -0.007935401052236557, -0.025157421827316284, 0.0015178271569311619, 0.02398442104458809, 0.0033500019926577806, -0.0032169201876968145, -0.011634518392384052, 0.03471088409423828, 0.012006283737719059, -0.025901246815919876, -0.035433631390333176, 0.00900506041944027, 0.03363995626568794, 0.009221977554261684, 0.03864505887031555, 0.01768847554922104, 0.020727720111608505, -0.03570865839719772, 0.03155022859573364, 0.014050864614546299, 0.03176892548799515, 0.020573623478412628, 0.01642959751188755, -0.027978267520666122, 0.03407328948378563 ]
Don't repeat yourself - 🤗 Transformers Design Philosophy
patrickvonplaten
April 5, 2022
transformers-design-philosophy
community
https://huggingface.co/blog/transformers-design-philosophy
1. Built by and for the open-source community Transformers is built to actively incentivize external contributions. A contribution is often either a bug fix or a new model contribution. If a bug is found in one of the model files, we want to make it as easy as possible for the finder to fix it. There is little that is more demotivating than fixing a bug only to see that it caused 100 failures of other models. Because model code is independent from all other models, it's fairly easy for someone that only understands the one model she is working with to fix it. Similarly, it's easier to add new modeling code and review the corresponding PR if only a single new model file is added. The contributor does not have to figure out how to add new functionality to a centralized attention mechanism without breaking existing models. The reviewer can easily verify that none of the existing models are broken.
[ 0.04984285309910774, -0.060946691781282425, 0.06123743951320648, 0.05862627923488617, 0.008761127479374409, 0.01681857369840145, -0.010599188506603241, 0.04651165381073952, 0.030507491901516914, 0.006157132796943188, -0.06556345522403717, 0.07453625649213791, -0.034611377865076065, 0.019038556143641472, -0.041681818664073944, 0.04249176010489464, 0.022146260365843773, -0.0002785906835924834, -0.06340813636779785, 0.02437296323478222, 0.012747548520565033, -0.07893010228872299, 0.040351323783397675, -0.06340835988521576, 0.010512543842196465, -0.04887670651078224, 0.02346695587038994, -0.03300810977816582, -0.07397587597370148, 0.06712383776903152, -0.0486236996948719, 0.02556823566555977, 0.005859922152012587, -0.077376589179039, -0.10674631595611572, 0.005863032769411802, -0.08354660123586655, -0.018961003050208092, 0.01295541413128376, -0.05979560315608978, 0.08244873583316803, -0.01777936890721321, -0.1523241400718689, -0.025667840614914894, -0.018322253599762917, -0.01745487004518509, -0.1395428478717804, 0.02934621088206768, -0.04033777490258217, 0.003057903377339244, -0.08174998313188553, 0.05654303357005119, -0.04046471044421196, 0.017098676413297653, 0.013942418619990349, 0.043313492089509964, 0.021489745005965233, -0.017213445156812668, 0.027613786980509758, -0.03519626706838608, 0.03161987289786339, -0.05357988178730011, 0.11494426429271698, 0.00792732648551464, 0.032514411956071854, -0.0040264553390443325, 0.001492547569796443, -0.006520935799926519, -0.01388317346572876, -0.020603397861123085, -0.03758400306105614, -0.07291741669178009, -0.027065033093094826, -0.022749075666069984, -0.007267666514962912, 0.006389246787875891, 0.013180463574826717, 0.04273277893662453, 0.054126109927892685, 0.020183583721518517, 0.060719083994627, 0.059818096458911896, 0.02469630353152752, 0.04000667855143547, 0.04509492591023445, -0.001764790271408856, -0.007277016062289476, -0.10364235192537308, -0.05871887877583504, 0.033164747059345245, 0.003836320713162422, -0.14605282247066498, 0.02623225748538971, 0.006183655932545662, 0.0939333364367485, -0.02258625440299511, 0.024570833891630173, -0.014577087014913559, -0.05265987291932106, 0.006643481086939573, -0.01200456265360117, 0.04920127987861633, -0.036097556352615356, -0.0017485121497884393, -0.011988924816250801, -0.005824441555887461, 0.027502667158842087, -0.05109994485974312, -0.010432236827909946, 0.03621925786137581, -0.013359654694795609, -0.07150769978761673, 0.00046134801232255995, 0.03469477593898773, 0.01372950617223978, 0.047033198177814484, -0.017156779766082764, -0.035016193985939026, 0.023183828219771385, -0.00218627555295825, 0.0004189671017229557, 0.05076996982097626, -0.03525855019688606, 0.03347330540418625, 0.02816648595035076, 0.04779014363884926, 0.037700798362493515, -0.016085302457213402, -0.05018327012658119, -0.061240941286087036, 0.07167906314134598, -0.011163730174303055, -0.036366309970617294, 0.008084183558821678, 0.05302600562572479, -0.11166753619909286, 0.020603179931640625, 0.001079229055903852, -0.013563069514930248, 0.02119661308825016, 0.01690990850329399, 0.037453245371580124, -0.030085964128375053, -0.03775820881128311, 0.013226539827883244, 0.004359479993581772, -0.11585079878568649, 0.07201702892780304, 0.04241511598229408, 0.020193567499518394, -0.000555792183149606, 0.010738879442214966, -0.022402208298444748, -0.09640705585479736, -0.046514641493558884, 0.11530227214097977, 0.057268183678388596, -0.0373314693570137, -0.013488681055605412, 0.0004653282230719924, -0.044461674988269806, -0.021908745169639587, 0.02803541161119938, 0.033081669360399246, 0.005267776548862457, -0.08706194162368774, -0.0019658426754176617, 0.019893120974302292, 0.04939073324203491, 0.04619613662362099, 0.040362466126680374, -0.029896290972828865, 0.034330666065216064, -0.07182850688695908, -0.021168606355786324, 0.047511886805295944, 0.056002579629421234, 0.04825892671942711, 0.020064884796738625, -0.008190068416297436, -0.08046181499958038, 0.027407724410295486, -0.0344066359102726, 0.008962319232523441, 0.05990242213010788, -0.052116360515356064, -0.00014618222485296428, -0.05448522791266441, -0.05856332182884216, -0.020512644201517105, -0.08049267530441284, 0.04771978780627251, 0.1490417867898941, 0.00557750603184104, 0.05278920754790306, 0.005444147624075413, -0.07260620594024658, 0.023047542199492455, 0.06710132956504822, 0.02933504246175289, 0.009330363012850285, -0.008473580703139305, -0.006135877221822739, -0.04086565598845482, -0.0381595753133297, 0.028203120455145836, 0.08650703728199005, -0.03236551582813263, 0.014716203324496746, 0.0014457867946475744, 0.021055476740002632, -0.0351281613111496, 0.019468074664473534, 0.020260430872440338, 0.034692395478487015, -0.02530805952847004, -0.03559214621782303, 0.01815572939813137, -0.02721037156879902, -0.006570694502443075, 0.10787034779787064, -0.015731271356344223, -0.05501702427864075, -0.018581870943307877, -0.007235546130686998, 0.04679783061146736, 0.07339639961719513, 0.029884854331612587, 0.048823148012161255, -0.028379619121551514, -0.008623169735074043, 0.01148513425141573, -0.043253351002931595, 0.02048991061747074, 0.007269382476806641, 0.015733817592263222, 0.015881186351180077, 0.021094227209687233, -0.01908029615879059, -0.015321661718189716, -0.06992528587579727, 0.028637373819947243, 0.009691153652966022, 0.07590755075216293, 0.05404452607035637, -0.0006411497015506029, 0.007196500431746244, 0.016048409044742584, 0.02502031810581684, -0.041536737233400345, -0.14905452728271484, 0.05790841206908226, 0.018242979422211647, -0.057304028421640396, 0.008851147256791592, -0.006707821507006884, 0.025400619953870773, 0.0028682590927928686, -0.03017718903720379, 0.008404726162552834, -0.005224352702498436, -0.0033562846947461367, -0.027880199253559113, -0.054479729384183884, -0.00809665396809578, -0.02617020532488823, -0.008841399103403091, 0.046983662992715836, -0.00784214772284031, -0.05016889423131943, -0.0215622391551733, -0.0216347798705101, 0.006875364575535059, -0.01001549419015646, -0.02762731909751892, 0.033633965998888016, 0.016475828364491463, 0.002839944791048765, -0.01330731064081192, -0.05608324706554413, -0.0015020259888842702, -0.029613252729177475, 0.04431186988949776, 0.03959033265709877, 0.035156045109033585, 0.036742523312568665, -0.0015060623409226537, 0.023338772356510162, -0.03686825931072235, 0.006723026279360056, -0.004837737884372473, -0.006456379778683186, 0.0017314865253865719, -0.006378184072673321, -0.021999577060341835, 0.006276018917560577, -0.022942695766687393, -0.03371795266866684, 0.007590071763843298, -0.023508606478571892, 0.0062180510722100735, -0.0019162996904924512, 0.03183063119649887, -0.0307063776999712, 0.01094641350209713, 0.05569622665643692, -0.007653393317013979, -0.022170415148139, -0.0976121723651886, -0.022551551461219788, -0.020833808928728104, 0.054088953882455826, 0.025498853996396065, -0.01681017316877842, 0.012591316364705563, 0.006422271020710468, -0.024085132405161858, -0.003381443675607443, 0.02936909720301628, -0.021876635029911995, 0.029479261487722397, 0.0468946136534214, -0.009456755593419075, -0.02121981792151928, -0.009805945679545403, 0.06246989220380783, 0.05377279594540596, -0.0012575061991810799, 0.0019067061366513371, 0.03296642377972603, -0.04323260858654976, -0.009778655134141445, -0.0336148627102375, 0.0024217700120061636, 0.042801883071660995, 0.04753710329532623, 0.015581983141601086, -0.009555536322295666, -0.009768052957952023, -0.001373930717818439, -0.05025603249669075, 0.01523803360760212, 0.009074444882571697, 0.01049878355115652, 0.06442023813724518, 0.017935730516910553, -0.00433921767398715, 0.05357061326503754, 0.02621929906308651, -0.013731456361711025, -0.025111962109804153, 0.05391509830951691, 0.024506809189915657, -0.002671999391168356, 0.025872670114040375, 0.012283891439437866, 0.0056263767182827, -0.03471185266971588, -0.006241300608962774, -0.02787153422832489, 0.015519184991717339, -0.0004339852894190699, -0.01990409381687641, -0.003284627106040716, 0.011071005836129189, -0.031496744602918625, -0.008175688795745373, 0.009917483665049076, -0.012610562145709991, 0.018027519807219505, -0.02976156398653984, 0.0005093452055007219, -0.053599514067173004, 0.0668884888291359, 0.014940221793949604, 0.0046826694160699844, 0.0013693271903321147, -0.00821483600884676, 0.020047100260853767, 0.02208816632628441, -0.007982333190739155, -0.009436040185391903, -0.028612807393074036, 0.06278911978006363, -0.05164016783237457, -0.02679542265832424, 0.05048661679029465, 0.0019467027159407735, -0.014141608960926533, -0.11359141021966934, -0.017409993335604668, 0.010701308958232403, -0.014704296365380287, 0.01733863539993763, 0.018810786306858063, 0.012521245516836643, 0.009743648581206799, 0.018238212913274765, 0.0030823964625597, -0.0410088375210762, 0.060685429722070694, -0.009481752291321754, 0.0036279954947531223, 0.005070616025477648, 0.00175144721288234, 0.00945203471928835, 0.023546647280454636, -0.0008501161355525255, -0.0012250265572220087, -0.050767164677381516, -0.013855045661330223, 0.03133472427725792, -0.03685331344604492, 0.01750040054321289, -0.026147300377488136, 0.0023628592025488615, -0.00018663977971300483, -0.01018564309924841, 0.005400852765887976, -0.010983088985085487, -0.02935057505965233, 0.009868746623396873, 0.028450733050704002, 0.032006315886974335, -0.015469886362552643, -0.006056452635675669, -0.03551441431045532, -0.019594591110944748, -0.004749803338199854, -0.025364531204104424, 0.013295629993081093, -0.010335013270378113, 0.02742447331547737, 0.014888858422636986, 0.0193137489259243, 0.03421469032764435, -0.00977449119091034, 0.04948661848902702, -0.03691672533750534, 0.000028722963179461658, 0.029085423797369003, 0.023868387565016747, -0.01424408983439207, 0.0032554403878748417, -0.013346490450203419, 0.042496103793382645, 0.006285934709012508, 0.0030514677055180073, -0.0034090010449290276, -0.03608013316988945, 0.027196798473596573, -0.02248898334801197, 0.02725171111524105, -0.04106869921088219, 0.008678020909428596, 0.021621400490403175, -0.039912544190883636, 0.016371071338653564, 0.01800593174993992, 0.013545268215239048, -0.03389786556363106, 0.021622130647301674, 0.030262691900134087, -0.02295614592730999, 0.001466714427806437, -0.01545195747166872, 0.010757898911833763, 0.05616852268576622, 0.009593069553375244, 0.01725921966135502, -0.06295205652713776, 0.024677090346813202, 0.026578346267342567, 0.010556918568909168, 0.003266763174906373, -0.05566219985485077, 0.0055601997300982475, 0.02313246950507164, -0.021765705198049545, -0.007162303198128939, -0.014283405616879463, -0.02020716480910778, -0.044720232486724854, 0.03620098903775215, 0.0426008403301239, 0.01905541680753231, 0.050219979137182236, 0.03296585753560066, -0.01904367469251156, -0.009017933160066605, 0.011927307583391666, 0.01068139635026455, 0.034239642322063446, 0.015823030844330788, 0.012393894605338573, 0.07341022044420242, -0.004730497486889362, -0.018219254910945892, -0.0006089214002713561, 0.004843882750719786, 0.0037277431692928076, -0.011274658143520355, -0.0022631750907748938, -0.06479132920503616, 0.012606073170900345, -0.009267879649996758, -0.03275078535079956, 0.02032450959086418, 0.001295703579671681, 0.04031437635421753, -0.011750311590731144, -0.019885152578353882, 0.06383432447910309, -0.00190009456127882, 0.015306496992707253, 0.0020162975415587425, 0.022525595501065254, -0.0070618800818920135, 0.016346123069524765, -0.01590510830283165, 0.027202699333429337, -0.010709724389016628, -0.020888283848762512, -0.0648779347538948, -0.017896467819809914, -0.0062528145499527454, -0.01562853716313839, -0.005494947079569101, -0.03391572833061218, 0.001531483605504036, -0.01988876238465309, -0.006954270880669355, 0.03277129679918289, -0.031496696174144745, 0.008190847001969814, 0.045846931636333466, 0.010112564079463482, -0.03998285159468651, 0.04743923246860504, 0.023668793961405754, -0.005705174058675766, -0.019295599311590195, 0.015265429392457008, 0.0037697029765695333, -0.021118255332112312, 0.03672221302986145, 0.04578503593802452, -0.04428088292479515, -0.0069762044586241245, 0.022023698315024376, -0.07867090404033661, 0.05136243253946304, -0.02031067945063114, 0.043748944997787476, 0.036147937178611755, -0.025006135925650597, 0.0028802729211747646, 0.010427186265587807, 0.020999565720558167, 0.007804964203387499, -0.0019635246135294437, 0.016874371096491814, -0.014299295842647552, -0.004059968050569296, 0.006399550940841436, 0.03393177688121796, 0.01060507446527481, -0.00504978047683835, 0.04183521494269371, -0.03328104689717293, -0.02568843774497509, 0.018305044621229172, -0.016654618084430695, 0.03245652839541435, -0.004861611407250166, -0.006932947784662247, 0.03644316643476486, -0.0024539136793464422, 0.001689918921329081, 0.016563305631279945, 0.06975351274013519, 0.02647259272634983, -0.04698605462908745, -0.003481342224404216, 0.05849483236670494, 0.030439313501119614, 0.016649900004267693, 0.012532047927379608, 0.055898092687129974, 0.08867384493350983, 0.06780700385570526, 0.014133252203464508, 0.0250173918902874, 0.013761061243712902, 0.04402942210435867, -0.002461456460878253, -0.0015538239385932684, 0.017541898414492607, 0.01402803510427475, -0.0601256862282753, 0.012783482670783997, -0.004456403199583292, -0.04384935274720192, -0.03242984414100647, -0.030889293178915977, -0.03069882094860077, -0.033302705734968185, 0.004063448403030634, 0.01610363833606243, -0.008233753964304924, 0.016794772818684578, 0.034001998603343964, 0.011300885118544102, 0.020523881539702415, 0.008271852508187294, 0.03665084019303322, 0.00961421336978674, 0.018152505159378052, 0.01223187055438757, -0.01322912983596325, -0.0365002267062664, 0.011969942599534988, 0.0015644184313714504, -0.04616653174161911, 0.013329255394637585, -0.003743656910955906, 0.005304913967847824, -0.011753137223422527, -0.02473037876188755, 0.0021062036976218224, -0.01715751364827156, 0.03290089592337608, -0.02736491709947586, -0.019805293530225754, 0.01596534252166748, -0.02273724228143692, -0.05179150030016899, -0.007613339461386204, 0.007254252675920725, 0.02856205590069294, -0.01600291207432747, 0.006988084875047207, -0.00614495063200593, -0.02028513327240944, 0.015442000702023506, 0.017135033383965492, -0.021003229543566704, 0.004272182006388903, -0.055884893983602524, -0.0007624537101946771, 0.03127552196383476, 0.022362681105732918, 0.012202653102576733, -0.0367865152657032, 0.019027654081583023, -0.002087496919557452, 0.010502459481358528, 0.0743197500705719, 0.007826762273907661, 0.007352705113589764, -0.04558246210217476, -0.0069922576658427715, -0.00665388535708189, -0.055305447429418564, -0.0016690330812707543, -0.009976577013731003, -0.000008908607924240641, -0.009821196086704731, 0.04819529131054878, 0.007476415019482374, 0.05447743088006973, -0.015202055685222149, 0.01087566465139389, 0.008841531351208687, 0.004444371908903122, 0.026324989274144173, 0.04010835662484169, 0.03917154297232628, -0.001327355159446597, -0.012670925818383694, -0.039792537689208984, 0.023553285747766495, -0.02278195135295391, 0.015292251482605934, 0.07620333880186081, 0.01128797885030508, -0.01207975298166275, 0.03214070200920105, 0.07574696838855743, 0.047975219786167145, 0.02517339400947094, 0.015313717536628246, 0.06340517848730087, -0.010150394402444363, -0.00829399935901165, 0.01006324589252472, 0.004667739849537611, 0.0056078010238707066, -0.009948188439011574, -0.046805039048194885, 0.010978727601468563, 0.03461660072207451, 0.03374900296330452, 0.005029676947742701, -0.013916869647800922, 0.02939949370920658, -0.036941032856702805, -0.043896015733480453, -0.034892041236162186, -0.0049095144495368, 0.025901800021529198, -0.025909582152962685, 0.014154660515487194, -0.035455673933029175, 0.009817255660891533, -0.04575332626700401, -0.032660387456417084, 0.03150921314954758, 0.04781898856163025, -0.02639840729534626, -0.006489696446806192, -0.015628790482878685, -0.01935630477964878, -0.0641026422381401, -0.05065082386136055, 0.023958012461662292, 0.030424702912569046, 0.007722005248069763, 0.04945577308535576, 0.0120205357670784, 0.03503488376736641, -0.018466891720891, 0.031213119626045227, 0.007737528532743454, 0.0021031785290688276, -0.010997834615409374, -0.0025384456384927034, -0.008056238293647766, 0.010455010458827019, 0.0016094313468784094, -0.024421414360404015, 0.022466886788606644, 0.031155571341514587, -0.019616609439253807, -0.006581552792340517, 0.009299228899180889, 0.028038587421178818, -0.02807738073170185, -0.05237934738397598, -0.07254300266504288, -0.008890694938600063, -0.03731125220656395, -0.0031457901932299137, -0.040325749665498734, 0.00297974213026464, 0.017878130078315735, -0.024237433448433876, 0.018818426877260208, 0.005037058610469103, -0.014284449629485607, -0.05072646215558052, -0.017297647893428802, 0.0027705992106348276, 0.04916456714272499, 0.06011655554175377, -0.006154167000204325, -0.028704004362225533, -0.02763560600578785 ]
Don't repeat yourself - 🤗 Transformers Design Philosophy
patrickvonplaten
April 5, 2022
transformers-design-philosophy
community
https://huggingface.co/blog/transformers-design-philosophy
# ~~Don't~~ Repeat Yourself
[ 0.03535989299416542, 0.04847074672579765, 0.09666042029857635, 0.0006052849930711091, 0.11880701035261154, 0.031842708587646484, 0.041583284735679626, -0.0016738773556426167, -0.05607147142291069, -0.08385408669710159, -0.048499129712581635, 0.04947587475180626, -0.05238363891839981, -0.009118102490901947, -0.01624893769621849, 0.04790452867746353, 0.04759922996163368, -0.014428092166781425, -0.016498275101184845, -0.007510063238441944, -0.004188551567494869, -0.011833617463707924, 0.08320759236812592, 0.004459339193999767, 0.028956621885299683, 0.0012188692344352603, 0.0030676170717924833, -0.0071561760269105434, -0.07376465946435928, 0.022256428375840187, -0.05833282694220543, 0.011887003667652607, 0.05892791971564293, 0.012845282442867756, -0.0013822013279423118, -0.007639645133167505, -0.0335368774831295, 0.008178699761629105, -0.004054203629493713, -0.030643079429864883, -0.0091842170804739, -0.06214055046439171, 0.005803513340651989, 0.041067931801080704, -0.0004932995652779937, 0.023710669949650764, -0.2910352349281311, 0.05751549080014229, -0.03784223645925522, -0.030860476195812225, -0.06827303767204285, 0.040890615433454514, 0.019742632284760475, -0.006630797870457172, 0.020631492137908936, 0.031051646918058395, 0.035139765590429306, -0.03992978483438492, -0.03970259055495262, -0.04571574553847313, 0.11353769898414612, -0.011221665889024734, 0.0024128039367496967, 0.02827056124806404, 0.014931552112102509, 0.053224291652441025, -0.016028614714741707, 0.05870191380381584, -0.06392441689968109, -0.031507957726716995, 0.007324556820094585, -0.02394763194024563, -0.028098884969949722, -0.019034571945667267, 0.0973653569817543, -0.04731147363781929, -0.029569417238235474, 0.05555258318781853, 0.04547344893217087, 0.0831504613161087, -0.005678133107721806, -0.00008283538045361638, 0.09015096724033356, 0.09286004304885864, -0.010250872932374477, -0.04774431884288788, 0.04680963233113289, -0.003117531305179, -0.04236789792776108, 0.011864764615893364, -0.04275130107998848, -0.06872282177209854, 0.024133091792464256, 0.030878646299242973, -0.00904124230146408, -0.04532733932137489, 0.03755299001932144, -0.001512919901870191, 0.035886622965335846, 0.025342745706439018, -0.04059276729822159, -0.004875123966485262, 0.00548039423301816, -0.05346447974443436, -0.048697296530008316, -0.03104245476424694, -0.03912144526839256, -0.046233028173446655, -0.038423631340265274, 0.029333751648664474, -0.03407775238156319, 0.04538485035300255, 0.07445638626813889, -0.034524284303188324, -0.057796940207481384, 0.030240043997764587, 0.012791367247700691, 0.0247911736369133, 0.013059032149612904, 0.011820192448794842, 0.014164301566779613, 0.08897149562835693, 0.09107668697834015, 0.036853305995464325, 0.057103198021650314, -0.010672974400222301, 0.035528041422367096, 0.054894376546144485, -0.09284242987632751, -0.026866158470511436, 0.003465210786089301, 0.014061033725738525, 0.05698486045002937, -0.009464554488658905, -0.04789876192808151, -0.08518603444099426, 0.017653610557317734, 0.03167250379920006, 0.03232663497328758, -0.012538932263851166, -0.016426103189587593, 0.06691953539848328, -0.0172489695250988, 0.1024409756064415, -0.004135654307901859, -0.015702666714787483, -0.06555663049221039, 0.011519894935190678, -0.015217524021863937, 0.033004458993673325, 0.030343787744641304, 0.09510897099971771, -0.0431293249130249, -0.08693942427635193, 0.006164030637592077, 0.04129475727677345, 0.012115607038140297, 0.03317757695913315, -0.08333145827054977, 0.0038670829962939024, 0.07176455110311508, -0.0037767053581774235, 0.003500029444694519, 0.024217097088694572, 0.023141726851463318, -0.04092235490679741, 0.013284768909215927, -0.012654272839426994, -0.014679390005767345, -0.07507314532995224, -0.02510528266429901, -0.0060386802069842815, 0.039075933396816254, -0.0302145853638649, -0.05395900458097458, 0.039995789527893066, 0.03549322858452797, 0.033040665090084076, 0.01808112859725952, 0.022710679098963737, -0.021189600229263306, 0.01283557154238224, -0.0076406593434512615, 0.035739555954933167, 0.004024500027298927, -0.023189162835478783, 0.04171673581004143, 0.011976606212556362, -0.017816932871937752, 0.05487694963812828, -0.1320422887802124, -0.043520793318748474, 0.11083681136369705, 0.0018366724252700806, 0.00698446948081255, -0.11803358793258667, -0.020858870819211006, 0.11356246471405029, 0.041982024908065796, 0.05710495635867119, 0.022832319140434265, 0.028785444796085358, 0.09818539768457413, -0.005953026004135609, -0.06454882025718689, 0.05378352478146553, 0.0558377169072628, 0.00639286357909441, 0.041613079607486725, 0.011743699200451374, -0.027856579050421715, -0.057443223893642426, 0.0676058828830719, -0.08438768982887268, -0.009566482156515121, -0.03136617690324783, 0.005642172414809465, -0.01284248661249876, 0.012652698904275894, -0.03864350542426109, 0.07648627460002899, 0.00005574754686676897, -0.04011831432580948, 0.0655723288655281, -0.02156640961766243, 0.08942899852991104, 0.07745432108640671, 0.007584492210298777, 0.05010019987821579, -0.09218400716781616, -0.043713923543691635, -0.04293278977274895, -0.01681448519229889, 0.09711384028196335, 0.013835761696100235, 0.07243672013282776, 0.022093983367085457, -0.040094226598739624, 0.011963078752160072, -0.051378555595874786, -0.0004898494808003306, -0.004184315446764231, 0.003483428619801998, 0.04510688781738281, -0.0354904867708683, -0.026826001703739166, 0.011888272128999233, 0.0004284127790015191, -0.06151355803012848, -0.014973701909184456, -0.033765748143196106, 0.073675237596035, 0.008465114049613476, -0.020004894584417343, 0.044694166630506516, -0.02447359450161457, -0.008870013058185577, -0.013594378717243671, -0.024169111624360085, 0.016526104882359505, -0.011165869422256947, 0.004408929031342268, -0.008685486391186714, -0.05835358425974846, -0.020029252395033836, -0.00957892369478941, 0.01720542646944523, 0.02628188766539097, -0.01564064249396324, 0.03601974993944168, -0.02535482496023178, -0.020811541005969048, 0.058303095400333405, 0.014393576420843601, -0.021408770233392715, -0.00039103717426769435, 0.0450495146214962, -0.01769680343568325, -0.0125528983771801, -0.03261614218354225, -0.01749366521835327, -0.003224348183721304, 0.0016514189774170518, 0.002387960907071829, 0.04184265062212944, -0.01965583674609661, 0.014813144691288471, -0.003442366374656558, -0.03530222550034523, 0.0014053969644010067, 0.0013746016193181276, 0.044657401740550995, -0.0009059237199835479, -0.03445044159889221, 0.026915742084383965, -0.02732202410697937, -0.028701601549983025, 0.018503574654459953, -0.02303617261350155, 0.0008464950369670987, 0.00539193581789732, -0.004115463234484196, -0.015434964559972286, 0.025626754388213158, -0.05500829219818115, 0.0362568199634552, 0.010167122818529606, -0.002540059620514512, -0.16247695684432983, -0.03912978619337082, 0.020544881001114845, 0.010180925019085407, -0.020180605351924896, -0.021822331473231316, 0.04219745844602585, -0.03707823157310486, -0.019475914537906647, -0.009371914900839329, 0.02708800695836544, 0.002054359298199415, 0.004835387226194143, -0.031918320804834366, -0.032002124935388565, -0.023819774389266968, -0.0278655756264925, -0.006429941859096289, -0.013173663057386875, -0.0005472475895658135, 0.005631292704492807, 0.05426311865448952, 0.00459039444103837, 0.0063279722817242146, -0.01702330820262432, 0.030903605744242668, 0.0206347294151783, 0.02117673121392727, 0.023565910756587982, -0.025933489203453064, -0.023752281442284584, 0.04300684481859207, -0.01678483560681343, 0.01299600675702095, -0.02626306191086769, -0.008697057142853737, 0.007708645425736904, 0.004916701465845108, -0.01369650848209858, 0.03052217699587345, 0.031629517674446106, 0.03123796172440052, 0.025623345747590065, 0.03230983763933182, -0.02268749475479126, 0.012942382134497166, 0.004532702267169952, 0.00233481521718204, 0.04342000558972359, -0.040380001068115234, -0.03811466321349144, -0.016790570691227913, -0.00869553629308939, 0.03759334981441498, -0.00461760675534606, 0.015376979485154152, -0.026329420506954193, 0.02154240384697914, 0.06001714617013931, -0.04203135520219803, -0.004953250288963318, 0.01678965613245964, -0.004834168124943972, -0.00834562536329031, -0.020878901705145836, 0.054772861301898956, -0.039586666971445084, 0.014532778412103653, -0.013249276205897331, 0.06510775536298752, 0.009433257393538952, -0.008676552213728428, -0.0025063534267246723, 0.01584838144481182, 0.0019663202110677958, 0.03236771002411842, -0.037246402353048325, -0.016209306195378304, 0.03374256193637848, -0.004319149535149336, 0.0049910577945411205, -0.017516756430268288, -0.02090676687657833, -0.020205100998282433, -0.01787658780813217, 0.02162936143577099, 0.012823251076042652, 0.008806776255369186, 0.0036535949911922216, 0.029401320964097977, 0.009939263574779034, 0.006285576149821281, 0.010118125937879086, -0.015905272215604782, -0.019037434831261635, 0.02707611583173275, 0.0492253303527832, -0.00926012359559536, 0.0045021651312708855, -0.013121907599270344, 0.017859820276498795, -0.0256025530397892, 0.0010730258654803038, 0.005285792052745819, -0.0015257943887263536, 0.03717705234885216, -0.03961522877216339, -0.03232087194919586, -0.03061557002365589, 0.030336931347846985, 0.034289900213479996, -0.030405407771468163, 0.0008061236003413796, -0.040414515882730484, -0.02753845602273941, -0.00463869608938694, -0.025319037958979607, -0.0371553972363472, -0.056203484535217285, 0.01142557617276907, -0.03727494180202484, 0.030375422909855843, 0.03213729336857796, -0.0495089627802372, -0.00959764514118433, -0.007990672253072262, 0.006419090554118156, 0.0062258257530629635, -0.0033608998637646437, 0.013380246236920357, -0.026532456278800964, -0.03591811656951904, 0.05189009755849838, -0.03192116320133209, 0.029515551403164864, 0.008220738731324673, 0.005818009376525879, 0.04595642536878586, -0.007837801240384579, -0.07948393374681473, 0.007494940888136625, 0.025661543011665344, 0.013640952296555042, -0.01590074598789215, 0.01079745776951313, 0.0070040347054600716, 0.008071438409388065, -0.009445705451071262, -0.014326085336506367, 0.028108341619372368, 0.023866849020123482, -0.03230634704232216, -0.03678043186664581, -0.015778303146362305, -0.01822574995458126, 0.004814013838768005, 0.002305214758962393, -0.01510138250887394, -0.022172538563609123, 0.051187630742788315, -0.028145553544163704, -0.008231472223997116, -0.05976216122508049, 0.043333668261766434, -0.02614087052643299, -0.009585716761648655, 0.017471937462687492, -0.005223540123552084, -0.00493248738348484, -0.010947567410767078, -0.007930935360491276, -0.005201744381338358, 0.03596009686589241, -0.0024782095570117235, 0.016916358843445778, 0.011225244030356407, 0.0006797961541451514, 0.024043289944529533, 0.02106429822742939, 0.028743455186486244, -0.01808333769440651, 0.002622432541102171, 0.013773194514214993, 0.02060048282146454, -0.017093036323785782, -0.019603783264756203, 0.02870825119316578, 0.00782289169728756, -0.006095294374972582, 0.06383799016475677, -0.025550274178385735, -0.023225892335176468, -0.020940547809004784, -0.016644351184368134, 0.029808834195137024, -0.003010047832503915, 0.012031806632876396, 0.0063574835658073425, -0.01022229716181755, 0.007321205921471119, 0.029329469427466393, 0.01289020199328661, 0.008320411667227745, -0.02342979796230793, 0.009309417568147182, 0.02746015042066574, 0.0075786663219332695, -0.012416266836225986, -0.0038943826220929623, -0.004271489568054676, -0.018095502629876137, 0.0037869049701839685, -0.03749735280871391, -0.021808890625834465, -0.017037048935890198, -0.018963852897286415, -0.050125278532505035, 0.015176424756646156, 0.008739867247641087, 0.02697349339723587, 0.03288860246539116, 0.015080473385751247, -0.004149277228862047, 0.06112660840153694, 0.05961458757519722, -0.009981217794120312, 0.009581697173416615, 0.027552492916584015, -0.009473230689764023, 0.028441717848181725, 0.030389683321118355, 0.02192533016204834, -0.022081643342971802, 0.018488919362425804, 0.02451269142329693, 0.030797889456152916, -0.06794002652168274, 0.04057519510388374, -0.019123196601867676, 0.019902102649211884, -0.0076090870425105095, -0.0037179456558078527, -0.0023014540784060955, -0.008921114727854729, -0.03559786081314087, 0.028725510463118553, 0.022648543119430542, -0.00516887940466404, 0.004172205459326506, 0.00681235920637846, 0.03132224828004837, -0.025812748819589615, -0.020883023738861084, -0.020394813269376755, 0.0038042678497731686, -0.006617504172027111, -0.00766888028010726, 0.00863255001604557, 0.0040799458511173725, -0.013140209950506687, 0.015173375606536865, 0.01388576626777649, 0.04010278731584549, 0.025756992399692535, -0.023991253226995468, 0.026874350383877754, 0.012725351378321648, 0.02562357857823372, 0.005268113687634468, 0.0261661559343338, -0.02378036081790924, -0.02117866277694702, 0.0580097958445549, -0.012685730122029781, 0.020536020398139954, -0.009690334089100361, 0.006642307620495558, 0.032542336732149124, 0.009142228402197361, -0.005264695733785629, 0.027038969099521637, -0.000006262833267101087, 0.004103158600628376, -0.0015752710169181228, -0.03434779495000839, 0.017859091982245445, 0.019110603258013725, 0.007365566212683916, 0.031189804896712303, 0.04464299604296684, 0.012301204726099968, -0.008698794059455395, -0.011808850802481174, 0.021005062386393547, -0.017432715743780136, 0.029159538447856903, 0.03756849095225334, -0.026108019053936005, 0.03477289527654648, -0.02790616825222969, 0.033549945801496506, 0.007569952867925167, 0.0020698157604783773, 0.012615933082997799, -0.012999524362385273, -0.0027062036097049713, 0.04709979519248009, 0.007490772753953934, 0.010339496657252312, -0.015243385918438435, 0.006326407194137573, 0.07129567861557007, -0.045351918786764145, -0.016337018460035324, 0.002213922794908285, -0.047540225088596344, 0.020419923588633537, -0.02379259467124939, -0.02883842960000038, -0.00881958194077015, 0.06888722628355026, -0.03538975492119789, -0.022611752152442932, -0.01862485520541668, -0.038164421916007996, -0.08004653453826904, 0.025889720767736435, 0.03952924162149429, -0.007226239889860153, 0.0031498675234615803, 0.000869372917804867, 0.014336897991597652, -0.005266804713755846, -0.009561385028064251, -0.0028060886543244123, 0.045306235551834106, 0.018870949745178223, 0.037457458674907684, 0.01091788336634636, -0.024607909843325615, -0.03943147510290146, -0.001708370866253972, 0.0057321893982589245, 0.007230659015476704, 0.013143585994839668, -0.028268396854400635, -0.01338136475533247, -0.021876681596040726, -0.0281362347304821, 0.03696310892701149, 0.009963556192815304, 0.04368464648723602, -0.012072433717548847, 0.0240760687738657, -0.054549336433410645, -0.008291000500321388, -0.0008317175670526922, -0.01061075646430254, 0.026318857446312904, 0.005203076638281345, -0.017093481495976448, 0.042515382170677185, -0.0016052075661718845, -0.014041580259799957, -0.040056951344013214, 0.004417611751705408, -0.010367518290877342, -0.019235029816627502, 0.022126147523522377, 0.027540095150470734, -0.023550914600491524, -0.012787542305886745, 0.016036061570048332, 0.004776499699801207, -0.03647710382938385, -0.015210093930363655, -0.030392847955226898, -0.02120206691324711, -0.017787853255867958, -0.0003506164357531816, 0.073514923453331, 0.024827321991324425, 0.005239610560238361, 0.013795146718621254, 0.024418294429779053, 0.017581427469849586, -0.01762102171778679, 0.013007627800107002, 0.012869162485003471, 0.03592877835035324, -0.016818393021821976, 0.0031238377559930086, -0.024646727368235588, -0.06892356276512146, -0.006965311709791422, -0.011500861495733261, -0.052673451602458954, -0.0008111453498713672, 0.022804178297519684, 0.02885504998266697, -0.034649383276700974, 0.04018983989953995, 0.02524568885564804, 0.010248798877000809, 0.026657585054636, -0.014227611012756824, -0.004282367881387472, -0.008621539920568466, -0.016040977090597153, -0.010823204182088375, -0.00022721652931068093, 0.03832751885056496, 0.0019208871526643634, -0.04368895664811134, 0.045874714851379395, -0.054420825093984604, -0.0632706806063652, -0.0018355692736804485, 0.03862767294049263, -0.02082945592701435, -0.022158699110150337, -0.015006434172391891, -0.0077146925032138824, 0.0075074126943945885, 0.01682201772928238, 0.04159463569521904, -0.02594926953315735, 0.0019088207045570016, 0.02424207329750061, -0.05067664757370949, 0.017731722444295883, 0.002608603099361062, 0.03657057508826256, 0.023483501747250557, 0.029630620032548904, -0.022534433752298355, -0.005196466576308012, -0.0700739249587059, 0.013649755157530308, 0.014218266122043133, 0.004784314427524805, 0.000812558748293668, 0.028396684676408768, -0.0025127397384494543, -0.019540943205356598, -0.044820815324783325, 0.048470497131347656, 0.00685686431825161, -0.018712099641561508, -0.009133778512477875, -0.002727909479290247, 0.004050516989082098, 0.004581794608384371, 0.03667638823390007, -0.011207396164536476, 0.05567264184355736, 0.03313576430082321, -0.008187365718185902, -0.0023067621514201164, 0.043817512691020966 ]
Don't repeat yourself - 🤗 Transformers Design Philosophy
patrickvonplaten
April 5, 2022
transformers-design-philosophy
community
https://huggingface.co/blog/transformers-design-philosophy
4. Machine Learning models are static The Transformers library is a unified and polished collection of machine learning models that different research teams have created. Every machine learning model is usually accompanied by a paper and its official GitHub repository. Once a machine learning model is published, it is rarely adapted or changed afterward. Instead, research teams tend to publish a new model built upon previous models but rarely make significant changes to already published code. This is an important realization when deciding on the design principles of the Transformers library. It means that once a model architecture has been added to Transformers, the fundamental components of the model don't change anymore. Bugs are often found and fixed, methods and variables might be renamed, and the output or input format of the model might be slightly changed, but the model's core components don't change anymore. Consequently, the need to apply global changes to all models in Transformers is significantly reduced, making it less important that every logical pattern only exists once since it's rarely changed. A second realization is that models do not depend on each other in a bidirectional way. More recent published models might depend on existing models, but it's quite obvious that an existing model cannot logically depend on its successor. E.g. T5 is partly built upon BERT and therefore T5's modeling code might logically depend on BERT's modeling code, but BERT cannot logically depend in any way on T5. Thus, it would not be logically sound to refactor BERT's attention function to also work with T5's attention function - someone reading through BERT's attention layer should not have to know anything about T5. Again, this advocates against centralizing components such as the attention layer into modules that all models can access. On the other hand, the modeling code of successor models can very well logically depend on its predecessor model. E.g., DeBERTa-v2 modeling code does logically depend to some extent on DeBERTa's modeling code. Maintainability is significantly improved by ensuring the modeling code of DeBERTa-v2 stays in sync with DeBERTa's. Fixing a bug in DeBERTa should ideally also fix the same bug in DeBERTa-v2. How can we maintain the single model file policy while ensuring that successor models stay in sync with their predecessor model? Now, we explain why we put the asterisk \( {}^{\textbf{}} \) after "Repeat Yourself". We don't blindly copy-paste all existing modeling code even if it looks this way. One of Transformers' core maintainers, Sylvain Gugger, found a great mechanism that respects both the single file policy and keeps maintainability cost in bounds. This mechanism, loosely called "the copying mechanism", allows us to mark logical components, such as an attention layer function, with a # Copied from <predecessor_model>.<function> statement, which enforces the marked code to be identical to the <function> of the <predecessor_model>. E.g., this line of over DeBERTa-v2's class enforces the whole class to be identical to DeBERTa's class except for the prefix DeBERTav2. This way, the copying mechanism keeps modeling code very easy to understand while significantly reducing maintenance. If some code is changed in a function of a predecessor model that is referred to by a function of its successor model, there are tools in place that automatically correct the successor model's function.
[ 0.007936765439808369, -0.03532206267118454, -0.006563896778970957, 0.02822250872850418, 0.03368113934993744, -0.015045572072267532, -0.03342951089143753, 0.06615961343050003, -0.008959376253187656, -0.014361974783241749, -0.08562351018190384, 0.06810561567544937, -0.010390295647084713, 0.09747499972581863, 0.01359714288264513, 0.013090994209051132, 0.020227547734975815, -0.003699949709698558, -0.05928904563188553, 0.04118508845567703, 0.02724658139050007, -0.07412652671337128, 0.08080682903528214, -0.012019789777696133, 0.011060749180614948, -0.07754869014024734, 0.05743609368801117, -0.015063304454088211, -0.08386453986167908, 0.0571354404091835, -0.1182159036397934, 0.0074608419090509415, 0.019095877185463905, 0.0017572527285665274, -0.06833190470933914, 0.012050599791109562, -0.06674535572528839, 0.03439965099096298, 0.03207453712821007, -0.0484846867620945, 0.03386624902486801, 0.0031246799044311047, -0.1153130978345871, -0.00532935094088316, 0.02538290247321129, -0.024722207337617874, -0.12457834184169769, 0.06995030492544174, -0.056975431740283966, -0.00879081804305315, -0.13928210735321045, 0.020947923883795738, -0.05430135130882263, 0.04125627875328064, -0.030270131304860115, 0.024254081770777702, 0.027986451983451843, -0.0008673615520820022, -0.00579559151083231, 0.053894367069005966, 0.03408510610461235, -0.009160597808659077, 0.013156476430594921, 0.03280279412865639, 0.023248741403222084, -0.050467245280742645, 0.021721472963690758, -0.04318130388855934, -0.0326898917555809, -0.04817881062626839, 0.012151475064456463, -0.017966927960515022, 0.006741569377481937, -0.051648274064064026, 0.002932898700237274, 0.02863617055118084, -0.008333866484463215, 0.05803566053509712, 0.05202706530690193, 0.012887665070593357, 0.04803960397839546, 0.022210601717233658, 0.021924901753664017, 0.04335590451955795, 0.017030205577611923, -0.007865031249821186, 0.048145465552806854, -0.05162294581532478, -0.07672509551048279, 0.01691506616771221, -0.038324907422065735, -0.16164161264896393, -0.05885479226708412, 0.016972748562693596, 0.056100860238075256, -0.012700693681836128, -0.01035566721111536, -0.01862519048154354, -0.07136747986078262, -0.02877175621688366, -0.022542547434568405, 0.012780812568962574, 0.039273135364055634, -0.014128008857369423, -0.03537767007946968, 0.003970177378505468, 0.0027458311524242163, -0.07631782442331314, -0.0407836027443409, 0.026066502556204796, -0.04721403867006302, -0.05348179116845131, 0.035884369164705276, 0.03713244944810867, -0.035764388740062714, 0.021317653357982635, 0.01425898913294077, -0.045303817838430405, 0.03371887654066086, 0.027656598016619682, -0.03786243870854378, 0.0370137058198452, 0.006941269151866436, -0.0017044658306986094, 0.03362336382269859, 0.06895796954631805, -0.021645497530698776, 0.0004235407686792314, -0.02010429836809635, -0.07208007574081421, 0.06480477005243301, -0.006395254749804735, 0.027448739856481552, -0.01593751646578312, -0.0025563405361026525, -0.04687564820051193, -0.006037476938217878, -0.001943614101037383, 0.006210031919181347, -0.014283855445683002, -0.016092579811811447, 0.05334087088704109, -0.04214303195476532, 0.02251621149480343, 0.04426821693778038, -0.0144168296828866, -0.053859490901231766, 0.056249089539051056, -0.01100839115679264, -0.01312066987156868, -0.010945449583232403, 0.025485962629318237, -0.05582878366112709, -0.09015567600727081, -0.05534222349524498, 0.047305427491664886, 0.006120465230196714, 0.04966317489743233, -0.06950157880783081, -0.014895521104335785, -0.048543643206357956, 0.004590935539454222, -0.021555297076702118, -0.005626272410154343, 0.05639186128973961, -0.06837817281484604, -0.010800587944686413, 0.0649503543972969, 0.026419203728437424, 0.06802932173013687, 0.01811930723488331, -0.03037804737687111, 0.03911241143941879, -0.039089664816856384, -0.04812481254339218, 0.051511459052562714, -0.001584590645506978, 0.026216428726911545, 0.04658183827996254, -0.008421959355473518, -0.01709546148777008, 0.040608543902635574, 0.014226756058633327, 0.0061776479706168175, 0.07925375550985336, -0.010457618162035942, 0.017496978864073753, -0.06180886551737785, -0.08371643722057343, -0.01889626495540142, -0.07306040078401566, 0.016893330961465836, 0.10630114376544952, 0.007661213632673025, 0.06135448068380356, -0.024213897064328194, -0.06864208728075027, 0.0881374329328537, 0.0005824189865961671, -0.0022321720607578754, 0.10616570711135864, -0.030497096478939056, -0.04255206510424614, -0.06282465159893036, 0.039663948118686676, 0.011598777025938034, -0.0120118148624897, -0.036522794514894485, 0.04540322721004486, 0.026841580867767334, 0.0029353599529713392, -0.0970548763871193, -0.05096634104847908, -0.023403113707900047, -0.001488042064011097, -0.1292499154806137, -0.020611511543393135, 0.025509733706712723, 0.017084486782550812, 0.011651897802948952, 0.1416853815317154, -0.07592084258794785, 0.0033663467038422823, 0.049679096788167953, 0.005081699229776859, 0.026117268949747086, 0.07690080255270004, -0.0006217397167347372, 0.08801640570163727, -0.08191610127687454, 0.01967131346464157, -0.07177675515413284, 0.016188282519578934, 0.006188083905726671, -0.009914282709360123, -0.010601131245493889, -0.06791036576032639, 0.004761072341352701, -0.03816666081547737, -0.045794542878866196, 0.010612801648676395, 0.048143234103918076, 0.03759637102484703, 0.07286026328802109, 0.03052692860364914, 0.016830947250127792, 0.03352127596735954, -0.014653170481324196, 0.0033543300814926624, -0.001278334530070424, -0.08205267041921616, -0.011077542789280415, 0.022383399307727814, -0.08836811035871506, 0.02188388630747795, 0.08478421717882156, -0.00487487530335784, -0.013070221059024334, -0.027198277413845062, 0.03101257234811783, -0.032158054411411285, -0.006542779505252838, -0.034242961555719376, -0.07248727232217789, -0.021990632638335228, -0.05174078419804573, 0.0013925093226134777, 0.013311153277754784, 0.021388152614235878, 0.008987989276647568, 0.03895212709903717, -0.02479134127497673, 0.011970337480306625, 0.007912344299256802, -0.0073338765650987625, 0.04361109063029289, 0.0070112296380102634, -0.016618693247437477, -0.020498035475611687, -0.02226213924586773, -0.014854589477181435, -0.009052385576069355, 0.04751376807689667, -0.003902132622897625, -0.01735829934477806, 0.024749796837568283, 0.017625054344534874, -0.048005640506744385, -0.018346363678574562, -0.016962289810180664, -0.021039649844169617, 0.030827367678284645, -0.01921686716377735, -0.03271524980664253, -0.049083806574344635, 0.010657141916453838, -0.0003914017288479954, -0.01618107408285141, -0.01931166835129261, 0.004813244100660086, -0.01504154596477747, 0.052273280918598175, 0.015085523948073387, 0.013502736575901508, -0.011042624711990356, 0.034332387149333954, 0.007841981947422028, 0.032763753086328506, -0.08951165527105331, -0.03757767006754875, -0.009152159094810486, 0.03615088015794754, 0.01966739632189274, -0.04505355283617973, 0.010662445798516273, 0.027104752138257027, -0.011281078681349754, 0.043449338525533676, 0.017480067908763885, 0.01572570390999317, 0.007193324156105518, 0.05751863121986389, 0.029229409992694855, -0.03309498727321625, -0.04130485653877258, 0.010926835238933563, 0.032032109797000885, 0.03130082041025162, 0.01366637833416462, -0.012445082888007164, -0.033204276114702225, -0.00024702734663151205, -0.03021911159157753, 0.01481966208666563, 0.00741258030757308, 0.08776090294122696, -0.024206392467021942, -0.03652258962392807, -0.036777932196855545, -0.00995894055813551, -0.024474475532770157, 0.01886189915239811, -0.00954568013548851, -0.009649846702814102, 0.011402484029531479, 0.04100000113248825, 0.008171135559678078, 0.07346053421497345, 0.017932917922735214, 0.015295964665710926, -0.009229118004441261, -0.007215644232928753, 0.022755715996026993, 0.0233360193669796, 0.0026353541761636734, 0.014278417453169823, -0.006219740957021713, -0.019972840324044228, 0.001143147936090827, -0.03010403923690319, -0.029023759067058563, 0.01976862922310829, 0.020525796338915825, 0.005433749407529831, 0.012102601118385792, -0.02250160649418831, -0.028684571385383606, -0.02371392399072647, -0.029648559167981148, 0.038840409368276596, -0.02424398809671402, -0.010117616504430771, -0.03769078105688095, 0.06618531048297882, 0.0033964200410991907, 0.02973892167210579, 0.017042644321918488, 0.05631392449140549, 0.007025678176432848, 0.04975191876292229, 0.011444603092968464, 0.004417577292770147, -0.02275441586971283, 0.027167635038495064, -0.00921978335827589, -0.042487360537052155, 0.08395754545927048, 0.026059681549668312, -0.01449821051210165, -0.03289983794093132, -0.042170602828264236, 0.0199679397046566, -0.000864469155203551, 0.0035260659642517567, 0.03475608304142952, -0.008638942614197731, 0.020751236006617546, -0.005262667313218117, 0.030933281406760216, -0.03077593445777893, 0.04014859348535538, -0.026641670614480972, -0.014233296737074852, -0.01494526769965887, 0.024239057675004005, -0.007965333759784698, 0.015616422519087791, 0.000628290930762887, 0.023936409503221512, -0.043200913816690445, 0.005785632878541946, -0.0015337665099650621, -0.024541212245821953, 0.023336928337812424, -0.03471933677792549, -0.003945246804505587, -0.002376216696575284, -0.019217167049646378, -0.0010953248711302876, 0.02895614318549633, -0.0031466891523450613, 0.01801029033958912, 0.033460814505815506, 0.009607795625925064, -0.0005872237379662693, -0.0032651673536747694, -0.03909954056143761, 0.008561166934669018, -0.002301494125276804, 0.015404405072331429, -0.00018653020379133523, 0.006389454007148743, -0.0009837952675297856, -0.016819171607494354, 0.011184885166585445, 0.006212933454662561, -0.033300917595624924, -0.019143175333738327, -0.04622764140367508, -0.027323022484779358, 0.03605391085147858, -0.004532797262072563, -0.03239792212843895, 0.048825494945049286, 0.026254799216985703, 0.04136839136481285, 0.025741782039403915, -0.03771426901221275, -0.018337775021791458, 0.009332455694675446, 0.04181849583983421, -0.0773061066865921, 0.01146115455776453, -0.03821035474538803, -0.0010996683267876506, -0.010627930983901024, -0.04936657100915909, -0.005450809840112925, 0.04850967973470688, 0.016933854669332504, -0.04575134068727493, 0.02480836771428585, 0.011397312395274639, -0.00897571723908186, -0.025434963405132294, 0.015001899562776089, 0.013376576825976372, 0.05317582190036774, -0.016917219385504723, 0.03356574848294258, -0.02235303819179535, -0.001041179639287293, 0.020451324060559273, 0.0325113981962204, 0.013331198133528233, -0.06619478017091751, -0.0017226719064638019, -0.018304212018847466, -0.005226594861596823, -0.03870313987135887, -0.003128936281427741, -0.02583744004368782, -0.037776414304971695, 0.04509259760379791, 0.018249623477458954, -0.0009381095296703279, 0.001446672948077321, -0.006870539393275976, 0.011236531659960747, -0.00904061272740364, -0.0084035350009799, 0.006446360144764185, 0.028527269139885902, 0.04268461838364601, 0.013512533158063889, 0.06829392910003662, -0.012468726374208927, 0.018678274005651474, 0.012986086308956146, 0.0012267760466784239, 0.03761235997080803, -0.007168154697865248, -0.030312124639749527, -0.005420240107923746, 0.041952814906835556, 0.03965666890144348, 0.0033923592418432236, -0.0005477395025081933, -0.005812495946884155, 0.08345714211463928, -0.027722006663680077, -0.015582136809825897, 0.031458642333745956, -0.025475604459643364, 0.003263443475589156, -0.03265007212758064, 0.006194750778377056, -0.012401649728417397, 0.02515631727874279, 0.0042905607260763645, 0.003866859944537282, 0.007189137861132622, 0.01586182415485382, -0.049554575234651566, -0.036205705255270004, 0.0037071285769343376, 0.004823558963835239, 0.05510542541742325, -0.014831655658781528, 0.007337920367717743, -0.02649052068591118, 0.03166036307811737, 0.007589233573526144, -0.033685535192489624, -0.010028818622231483, 0.040151048451662064, 0.017780039459466934, -0.013652972877025604, 0.026033421978354454, 0.020882731303572655, -0.006553708575665951, 0.01134918350726366, 0.003230517730116844, -0.026254387572407722, -0.027568267658352852, 0.03935233876109123, 0.052384186536073685, -0.046233318746089935, -0.00535069964826107, -0.013602710328996181, -0.04426060616970062, 0.021938877180218697, -0.038291461765766144, -0.0023335404694080353, 0.06952488422393799, -0.056620869785547256, -0.0012172593269497156, -0.019833620637655258, 0.007704747840762138, 0.012858373112976551, -0.015856752172112465, 0.04564576596021652, 0.009847013279795647, 0.03204509615898132, 0.05502409487962723, 0.04578369855880737, 0.00983563344925642, 0.00743591133505106, 0.01697317324578762, -0.06442097574472427, -0.02384517900645733, -0.026941141113638878, -0.0033225363586097956, 0.027686739340424538, 0.002657573437318206, -0.04342421889305115, 0.024876192212104797, -0.0024287549313157797, -0.01187919545918703, 0.012217914685606956, 0.029226073995232582, 0.01625748910009861, -0.027721835300326347, -0.022284898906946182, 0.025709038600325584, 0.03999008238315582, -0.020216109231114388, 0.04107341915369034, 0.040026623755693436, 0.018249768763780594, 0.076118104159832, -0.0026925578713417053, 0.010152106173336506, 0.023348931223154068, 0.04977170377969742, 0.009425588883459568, 0.03574598580598831, 0.025645175948739052, -0.01069310400635004, -0.015736302360892296, -0.0003986862429883331, 0.0020936441142112017, -0.03531534969806671, 0.018840039148926735, -0.011648375540971756, 0.027361387386918068, 0.0017682111356407404, -0.03938274458050728, 0.042624570429325104, 0.03499704971909523, 0.04169715195894241, 0.0395624004304409, 0.028740616515278816, 0.024734534323215485, 0.02954437956213951, 0.021515674889087677, 0.02162717469036579, 0.008615203201770782, 0.006415568292140961, 0.018780071288347244, 0.004596939776092768, 0.019733835011720657, -0.024961845949292183, -0.04686478152871132, -0.009043913334608078, -0.027105888351798058, -0.002227076096460223, -0.0100029231980443, 0.007047152612358332, -0.01500184927135706, -0.028018729761242867, 0.004454408306628466, -0.0183042474091053, 0.02181425876915455, 0.010705205611884594, -0.0000685742124915123, -0.020966805517673492, -0.037079911679029465, -0.008756188675761223, 0.018729427829384804, 0.017929617315530777, 0.024101706221699715, -0.024887152016162872, -0.01845787838101387, 0.0421760156750679, 0.023089194670319557, 0.01500540692359209, 0.01052845735102892, -0.03808543086051941, 0.00035095057683065534, 0.01819664053618908, 0.02987850457429886, 0.01094165537506342, -0.0206442903727293, 0.038313161581754684, 0.03378632664680481, 0.003030982566997409, 0.04876146838068962, -0.015544175170361996, 0.021806664764881134, -0.05915175750851631, 0.009064284153282642, -0.02069605328142643, -0.026000337675213814, 0.019078943878412247, -0.046800386160612106, -0.014951827004551888, -0.015841498970985413, 0.030143922194838524, 0.012715118005871773, 0.028985990211367607, -0.043300800025463104, -0.007302112877368927, 0.003650633618235588, 0.010066457092761993, 0.001784741529263556, 0.01824946701526642, 0.034568287432193756, 0.018101653084158897, 0.013583598658442497, -0.01618119142949581, 0.01823144406080246, 0.017327673733234406, 0.021346749737858772, 0.05525074899196625, 0.010920863598585129, -0.02136165276169777, 0.002353535033762455, 0.07471083849668503, 0.04122188687324524, 0.0736384242773056, 0.024722430855035782, 0.023350726813077927, 0.00102137285284698, -0.05617809668183327, 0.024858182296156883, 0.01066984049975872, -0.007503299508243799, 0.0032254038378596306, -0.016431478783488274, 0.0006539857713505626, 0.04345395788550377, 0.04366229847073555, 0.011892547830939293, -0.04608194902539253, 0.030655359849333763, -0.053171247243881226, -0.049609653651714325, -0.041362520307302475, -0.0025923082139343023, 0.056421853601932526, 0.027275819331407547, -0.013790694996714592, -0.009640425443649292, -0.04061608389019966, -0.03585793823003769, -0.017546189948916435, 0.037004318088293076, 0.04011409729719162, -0.036046549677848816, -0.0060067749582231045, -0.005133578088134527, -0.0268255528062582, -0.02930181846022606, -0.046023543924093246, 0.004539168905466795, -0.006416341755539179, 0.037751540541648865, -0.006387149449437857, -0.003851465415209532, 0.05690323933959007, 0.008944518864154816, 0.02875109761953354, -0.0071770562790334225, -0.011708464473485947, 0.007205470930784941, -0.009930884465575218, -0.03448789566755295, -0.00819451455026865, 0.0003023599274456501, -0.0524776354432106, 0.04892587661743164, 0.018857544288039207, -0.0028907605446875095, -0.007403281517326832, 0.0029573829378932714, 0.02084674872457981, 0.018873102962970734, -0.04720482975244522, -0.05780993774533272, -0.014342200942337513, 0.03164463862776756, -0.026469362899661064, -0.02545872889459133, 0.022699963301420212, 0.07650871574878693, -0.00619538314640522, 0.037902917712926865, 0.028222298249602318, 0.050340671092271805, -0.004575303290039301, 0.04226724058389664, -0.006455043330788612, 0.01873686909675598, 0.018368571996688843, -0.0362682081758976, -0.016376035287976265, -0.013046332634985447 ]
Don't repeat yourself - 🤗 Transformers Design Philosophy
patrickvonplaten
April 5, 2022
transformers-design-philosophy
community
https://huggingface.co/blog/transformers-design-philosophy
Conclusion All in all, at 🤗 Hugging Face we are convinced that the single file policy is the right coding philosophy for Transformers. What do you think? If you read until here, we would be more than interested in hearing your opinion! If you would like to leave a comment, please visit the corresponding forum post here.
[ 0.009417123161256313, -0.05697619542479515, 0.004996618255972862, 0.04053777456283569, 0.040548309683799744, -0.003408922581002116, 0.010161016136407852, 0.029169578105211258, -0.02260771207511425, -0.044139765202999115, -0.10353190451860428, 0.0858808159828186, -0.0490446537733078, 0.05133799463510513, -0.033165525645017624, -0.008300949819386005, 0.028171146288514137, -0.0019687574822455645, -0.025953054428100586, 0.01984059065580368, -0.04271150007843971, -0.055772602558135986, 0.02687803842127323, 0.007345463614910841, -0.00679645175114274, -0.07965526729822159, -0.025290725752711296, 0.0019612256437540054, -0.061617396771907806, 0.06406480818986893, -0.09677198529243469, -0.03314773365855217, 0.019091889262199402, 0.010303312912583351, 0.02607050910592079, 0.003936033695936203, -0.09587696939706802, 0.039419881999492645, 0.03861293941736221, -0.027339814230799675, 0.05973130464553833, -0.05652081221342087, -0.10727062076330185, -0.038496602326631546, 0.03516288846731186, -0.06811487674713135, -0.22266988456249237, 0.09908213466405869, -0.0810273066163063, 0.0008471886394545436, -0.02247861959040165, 0.05209844931960106, -0.0156859178096056, -0.0033395648933947086, 0.00844462402164936, 0.010068332776427269, -0.026098446920514107, -0.05707560479640961, 0.0025092510040849447, 0.04046154022216797, 0.032229188829660416, -0.04265258088707924, 0.0504312701523304, 0.06718029826879501, 0.05607117339968681, 0.05084119737148285, -0.05994293838739395, -0.011153960600495338, -0.02182619459927082, -0.03353681415319443, 0.015304028987884521, 0.006745998281985521, -0.03467542678117752, -0.031315676867961884, -0.026903199031949043, 0.018830418586730957, -0.04092755168676376, -0.0036755164619535208, 0.06701283156871796, 0.053882479667663574, 0.03112945891916752, 0.026868609711527824, 0.009894436225295067, 0.07003942877054214, 0.04506027698516846, -0.0038242433220148087, 0.02922917902469635, -0.05105352774262428, -0.07225845009088516, 0.050744786858558655, 0.01110489945858717, -0.11087258905172348, -0.04653726890683174, -0.00356441386975348, 0.09097166359424591, 0.001425067544914782, -0.03483755141496658, -0.025031238794326782, 0.018722407519817352, 0.03100072778761387, -0.011828157119452953, 0.013403060846030712, -0.02988583780825138, -0.019347980618476868, -0.0632626861333847, -0.009824873879551888, -0.00735969515517354, -0.07665308564901352, 0.002246852032840252, 0.020157575607299805, -0.009118028916418552, -0.06956436485052109, 0.04267462342977524, 0.047060467302799225, -0.08202265202999115, 0.04429760202765465, -0.029814817011356354, -0.06038352847099304, 0.02281174249947071, 0.06021161377429962, 0.01842106692492962, 0.08265163004398346, 0.06016527861356735, -0.00441957451403141, 0.06460949033498764, 0.02111058682203293, -0.005053974688053131, 0.010452360846102238, -0.009089515544474125, -0.08683419227600098, 0.02234046347439289, 0.004005668684840202, 0.0657043531537056, 0.015537463128566742, 0.008416130207479, -0.05963784456253052, 0.030094392597675323, -0.027022283524274826, 0.021125422790646553, -0.04255456104874611, -0.043171752244234085, 0.07740529626607895, 0.013121545314788818, 0.025317680090665817, -0.013675873167812824, -0.028966352343559265, -0.08196166157722473, 0.08217859268188477, -0.019933687523007393, -0.011675667949020863, -0.01313952449709177, 0.10741166025400162, -0.03706120327115059, -0.05963968485593796, -0.024196406826376915, 0.05515283718705177, -0.03057004325091839, -0.018740426748991013, -0.06482807546854019, -0.0577847994863987, 0.012569756247103214, -0.021732468158006668, -0.03602110221982002, -0.01911243237555027, 0.057420823723077774, -0.03534014895558357, -0.050969306379556656, -0.018342381343245506, 0.04396243393421173, 0.004303366877138615, 0.007014994975179434, 0.02093009278178215, 0.0485246479511261, -0.06103888154029846, 0.002144457306712866, 0.046603184193372726, 0.04184038192033768, 0.07148626446723938, 0.036471039056777954, -0.017259400337934494, -0.024659456685185432, 0.024826528504490852, 0.05323611572384834, 0.060497548431158066, 0.022841140627861023, -0.043403834104537964, 0.014062381349503994, -0.004156854469329119, -0.04338617995381355, 0.0213139858096838, -0.05612215772271156, -0.028880905359983444, 0.13293735682964325, -0.07114985585212708, 0.06776127219200134, -0.026907039806246758, -0.03304851055145264, 0.1321215182542801, 0.05739608034491539, 0.03396155685186386, 0.03842725604772568, 0.010887459851801395, 0.027474258095026016, -0.03116562031209469, -0.003059958340600133, 0.04722515493631363, 0.018966075032949448, -0.037159912288188934, 0.019581779837608337, 0.013870930299162865, 0.051258377730846405, -0.037706468254327774, 0.004725243430584669, -0.046981971710920334, 0.027608640491962433, -0.06779816001653671, -0.00245817587710917, 0.0013119482900947332, 0.012874552048742771, -0.0335080549120903, 0.11997203528881073, -0.043153297156095505, -0.015853893011808395, 0.006376903969794512, 0.047338612377643585, 0.022667504847049713, 0.0319490060210228, 0.07206991314888, 0.07155497372150421, -0.13522771000862122, -0.031224926933646202, -0.04832271859049797, -0.022228630259633064, 0.04966700077056885, -0.009893463924527168, 0.021677430719137192, 0.013272762298583984, -0.010297617875039577, -0.0023058534134179354, -0.005691000260412693, -0.044578369706869125, -0.01692204177379608, 0.05530714988708496, 0.030443299561738968, -0.02554575353860855, -0.04184065759181976, 0.02916811592876911, 0.001092033227905631, -0.008333966135978699, 0.013315974734723568, -0.09537547081708908, 0.03776412457227707, 0.007960885763168335, -0.057686109095811844, 0.06504105776548386, 0.03490770235657692, 0.01782606728374958, -0.02723652496933937, -0.04105767980217934, 0.041162729263305664, -0.02210603840649128, -0.0035830698907375336, -0.038170456886291504, -0.0525246188044548, -0.025584077462553978, -0.037294331938028336, 0.023733370006084442, 0.04543676599860191, 0.006597017869353294, 0.01406500767916441, 0.01295431051403284, -0.016336483880877495, 0.006781104952096939, -0.020717643201351166, -0.012657326646149158, 0.040766000747680664, 0.050282951444387436, 0.017559248954057693, 0.0025945242960006, 0.008309831842780113, -0.01954548992216587, -0.026017265394330025, 0.008657912723720074, 0.00123309635091573, -0.024042900651693344, 0.006079480983316898, -0.0009380828705616295, -0.027992146089673042, -0.04966384917497635, 0.03686445206403732, 0.04652921110391617, 0.028674233704805374, 0.003856976516544819, -0.04913414642214775, -0.020718328654766083, 0.013164225034415722, -0.04320839047431946, -0.012634048238396645, 0.026515552774071693, 0.027168314903974533, -0.017095107585191727, 0.02609390765428543, 0.01293149683624506, -0.017843207344412804, -0.0004739390278700739, 0.04102516546845436, 0.006288475822657347, 0.013206755742430687, -0.11636453866958618, -0.04073089361190796, -0.00816149078309536, 0.06282836198806763, -0.024949777871370316, -0.01762109436094761, 0.04820311442017555, -0.012261545285582542, 0.00007676526729483157, 0.024077175185084343, 0.01729833148419857, -0.016384314745664597, 0.03156806528568268, 0.016707733273506165, 0.001736276550218463, -0.03735451400279999, -0.020293811336159706, 0.038845449686050415, 0.027419429272413254, 0.029239168390631676, -0.027784215286374092, 0.02205722965300083, -0.006181343458592892, -0.0012031143996864557, 0.01717609539628029, 0.0033049709163606167, 0.032046765089035034, 0.023335643112659454, 0.0041091362945735455, -0.07056445628404617, 0.0007300579454749823, -0.01987370289862156, -0.00023205706384032965, 0.00035673571983352304, -0.036244623363018036, -0.0024823795538395643, 0.030865279957652092, -0.008820412680506706, 0.00047318500583060086, 0.039804622530937195, 0.010156955569982529, -0.006260426249355078, -0.010075928643345833, -0.007772685028612614, 0.005677569191902876, -0.011742094531655312, -0.0019142951350659132, -0.008678535930812359, 0.040346596390008926, -0.05049233138561249, -0.020947175100445747, -0.02260863035917282, -0.01714162528514862, 0.017337029799818993, 0.017913684248924255, -0.005134867038577795, -0.012232481501996517, 0.04583996906876564, 0.02756168134510517, -0.02044273540377617, -0.045642223209142685, -0.0073373811319470406, -0.024505728855729103, -0.03004486858844757, -0.03082611970603466, 0.0671456977725029, -0.005507442634552717, 0.017427733168005943, 0.0027476209215819836, 0.04410679638385773, 0.010477369651198387, -0.01087997481226921, 0.0018239128403365612, 0.0063773952424526215, -0.00854837242513895, 0.024085450917482376, -0.040921323001384735, -0.04806207865476608, 0.045023221522569656, -0.0013216196093708277, -0.02793511003255844, -0.0010773326503112912, -0.036092281341552734, 0.0114628616720438, -0.012510604225099087, 0.013109886087477207, 0.02345481514930725, -0.0010462100617587566, 0.027261188253760338, 0.02342718467116356, 0.01464433316141367, -0.03201361745595932, 0.02063368447124958, -0.009997746907174587, -0.02480074018239975, -0.003462254535406828, 0.03786236420273781, -0.013018970377743244, -0.014455318450927734, 0.01100508775562048, 0.011569441296160221, -0.04888896644115448, -0.0022816297132521868, 0.017809713259339333, 0.015070805326104164, 0.028496405109763145, 0.006450302433222532, -0.010863416828215122, 0.0037155686877667904, 0.022416844964027405, 0.04439530521631241, 0.014626058749854565, 0.008431154303252697, -0.02645414136350155, 0.04463109001517296, 0.01579754799604416, -0.011841310188174248, -0.05294312909245491, -0.05571664124727249, 0.026699630543589592, -0.022327572107315063, 0.00043679619557224214, -0.006744534708559513, -0.0037551801651716232, 0.0057378727942705154, 0.010154222138226032, 0.01396188698709011, 0.054184384644031525, -0.0421484112739563, 0.016028163954615593, -0.05512981116771698, -0.016320068389177322, 0.032318007200956345, -0.013857240788638592, -0.003579450771212578, 0.031237425282597542, -0.009682057425379753, 0.050387006253004074, -0.007887078449130058, -0.055978093296289444, -0.03281455859541893, 0.025964820757508278, 0.0536864809691906, -0.029804568737745285, 0.02366550639271736, 0.0051945908926427364, 0.0011507088784128428, 0.02721071057021618, -0.014217189513146877, -0.004434380680322647, 0.04732707515358925, -0.035346731543540955, -0.04755041375756264, 0.02131696417927742, -0.007370115723460913, 0.0006487856735475361, -0.01800982654094696, 0.011118564754724503, 0.0034568780101835728, 0.032524388283491135, -0.0116809643805027, 0.0021032337099313736, -0.025906361639499664, 0.0003165150701534003, 0.04021785035729408, 0.01751069538295269, 0.0036815996281802654, -0.060025401413440704, -0.0027236740570515394, -0.037256840616464615, -0.025768134742975235, -0.0008535015513189137, 0.023156659677624702, -0.024005457758903503, -0.008931001648306847, 0.04574253782629967, 0.03550385311245918, 0.012588946148753166, 0.037710778415203094, 0.02525513432919979, 0.0173631701618433, -0.00375366467051208, 0.019658032804727554, -0.011746875941753387, 0.033882081508636475, 0.033971432596445084, 0.030901290476322174, 0.09687110036611557, -0.03485905006527901, 0.015717705711722374, -0.02549181506037712, -0.022779695689678192, 0.004783479496836662, -0.025842977687716484, 0.009447661228477955, -0.02620459720492363, -0.0026067940052598715, 0.015473940409719944, 0.024992767721414566, 0.019286582246422768, 0.02026127465069294, 0.08163773268461227, -0.03395548090338707, -0.001398587948642671, -0.006343543063849211, -0.018478041514754295, -0.006371640600264072, -0.018459370359778404, 0.031548719853162766, -0.03410515561699867, 0.03640775382518768, -0.019682521000504494, 0.030180027708411217, -0.03266378864645958, -0.008966444060206413, -0.03434806317090988, -0.030439751222729683, 0.02859032340347767, 0.026992404833436012, 0.02629016898572445, -0.02941620536148548, 0.00823289155960083, -0.006425519473850727, -0.02141173556447029, 0.028160005807876587, -0.018913768231868744, -0.021711302921175957, 0.021741323173046112, -0.004257270134985447, 0.008503886871039867, 0.029871957376599312, 0.00816683005541563, 0.0040977089665830135, 0.02601758763194084, -0.01224072091281414, 0.000569752708543092, -0.05747367814183235, 0.048147041350603104, 0.013977617025375366, -0.0422699898481369, 0.00415013637393713, 0.00034905827487818897, -0.03897915780544281, 0.025420378893613815, -0.015673115849494934, 0.023774532601237297, 0.09664098918437958, 0.0006787480087950826, -0.028371643275022507, 0.03638443350791931, 0.02633395791053772, 0.0036971145309507847, -0.010114334523677826, -0.0004310001677367836, 0.04980812594294548, 0.004629096947610378, 0.019096078351140022, 0.01143425889313221, 0.002538644475862384, 0.007727229502052069, 0.024680979549884796, -0.06416228413581848, 0.012550801038742065, -0.013841009698808193, -0.024380089715123177, 0.009128046222031116, 0.02542971260845661, 0.00271972781047225, -0.001075318199582398, -0.01944238878786564, 0.021601663902401924, 0.020420663058757782, 0.03516495227813721, 0.019578738138079643, -0.00015314374468289316, -0.03338199853897095, 0.030528046190738678, 0.03853282332420349, 0.028205055743455887, 0.0320071280002594, 0.02924618497490883, 0.027431350201368332, 0.06444693356752396, 0.0104545122012496, -0.018060799688100815, -0.0076380339451134205, 0.05094790458679199, -0.003135191509500146, 0.06124654412269592, 0.043863534927368164, -0.04013880342245102, -0.010562112554907799, 0.012244774028658867, 0.0010228392202407122, -0.0160532109439373, -0.010035288520157337, -0.006848439574241638, 0.0027633572462946177, 0.018877895548939705, -0.03999681770801544, 0.07043827325105667, 0.05230431631207466, 0.0038494740147143602, -0.003772174706682563, 0.011384574696421623, 0.018684113398194313, 0.014689316041767597, 0.030300242826342583, 0.0012355936923995614, 0.023065874353051186, -0.0343434177339077, 0.08147545158863068, -0.015087046660482883, 0.056227702647447586, -0.00024750118609517813, -0.010099388659000397, 0.036433231085538864, -0.035236358642578125, 0.003505764529109001, -0.03261951729655266, 0.004842049442231655, -0.021769631654024124, -0.008284795098006725, 0.032622795552015305, -0.020676182582974434, -0.018759746104478836, 0.00665271608158946, 0.03832133486866951, -0.01612728461623192, -0.013257160782814026, 0.00020194034732412547, 0.05070136860013008, 0.012854032218456268, -0.02425929717719555, 0.037992410361766815, -0.0075868102721869946, 0.03498116508126259, 0.03610902652144432, -0.011730555444955826, 0.005284050479531288, -0.015071193687617779, -0.027262475341558456, -0.017171047627925873, 0.028176475316286087, 0.004250939469784498, -0.04778214544057846, 0.02416553907096386, 0.036283235996961594, 0.005499227903783321, 0.04318553954362869, 0.014328284189105034, 0.00800116453319788, -0.042810626327991486, 0.008628934621810913, 0.0012919591972604394, -0.02815377712249756, -0.03946089744567871, -0.05962132662534714, 0.005134752951562405, -0.025474706664681435, 0.026878410950303078, 0.026190733537077904, -0.0029576122760772705, -0.01146184466779232, -0.013055638410151005, -0.0020380928181111813, 0.000597490172367543, -0.007993062026798725, 0.05123841017484665, 0.02219894342124462, -0.038947369903326035, -0.0013552650343626738, 0.014037270098924637, 0.013266650028526783, -0.0170122142881155, -0.021387895569205284, 0.036130696535110474, -0.009726881980895996, -0.01679418608546257, 0.001997712068259716, 0.0847027599811554, 0.05544348061084747, 0.050060320645570755, 0.008523031137883663, 0.022629624232649803, -0.010846984572708607, -0.039032381027936935, 0.010060347616672516, 0.024390103295445442, -0.005129046272486448, -0.004032617434859276, -0.007363057695329189, -0.02054925449192524, -0.012777721509337425, 0.023478975519537926, -0.0059653110802173615, -0.034056711941957474, 0.005354919005185366, 0.011623409576714039, 0.005044055171310902, -0.022765379399061203, -0.016375234350562096, 0.0029982186388224363, 0.033227719366550446, 0.013918834738433361, -0.008686204440891743, -0.015164452604949474, -0.00979276280850172, 0.0042556882835924625, -0.004233091603964567, 0.05816692113876343, 0.025554941967129707, -0.023577773943543434, -0.059232987463474274, -0.003307230304926634, -0.017887575551867485, -0.04358568415045738, -0.01763155497610569, 0.025292005389928818, -0.028565790504217148, 0.006672054063528776, -0.007290662731975317, 0.036972254514694214, -0.016921892762184143, 0.04343816637992859, -0.02691032551229, -0.028992928564548492, 0.011836945079267025, 0.03977647051215172, -0.008184755221009254, -0.009747078642249107, -0.015310066752135754, 0.001989969052374363, 0.03230201452970505, 0.007854076102375984, -0.033643852919340134, -0.018201101571321487, -0.0071396357379853725, 0.013451369479298592, 0.0006562768248841166, -0.048161182552576065, -0.04632433131337166, 0.0025995399337261915, -0.01522691547870636, -0.045300647616386414, -0.0464402511715889, 0.025792263448238373, 0.023583879694342613, -0.03216171637177467, -0.018154792487621307, -0.015555737540125847, -0.022319557145237923, -0.006135329604148865, 0.025442475453019142, -0.010305255651473999, 0.034460846334695816, 0.027495255693793297, 0.01099499873816967, -0.038641251623630524, 0.029326284304261208 ]
Don't repeat yourself - 🤗 Transformers Design Philosophy
patrickvonplaten
April 5, 2022
transformers-design-philosophy
community
https://huggingface.co/blog/transformers-design-philosophy
3. Machine Learning is evolving at a neck-breaking speed Research in the field of machine learning, and especially neural networks, evolves extremely fast. A model that was state-of-the-art a year ago might be outdated today. We don't know which attention mechanism, position embedding, or architecture will be the best in a year. Therefore, we cannot define standard logical patterns that apply to all models. As an example, two years ago, one might have defined BERT's self attention layer as the standard attention layer used by all Transformers models. Logically, a "standard" attention function could have been moved into a central attention.py file. But then came attention layers that added relative positional embeddings in each attention layer (T5), multiple different forms of chunked attention (Reformer, Longformer, BigBird), and separate attention mechanism for position and word embeddings (DeBERTa), etc... Every time we would have to have asked ourselves whether the "standard" attention function should be adapted or whether it would have been better to add a new attention function to attention.py. But then how do we name it? attention_with_positional_embd, reformer_attention, deberta_attention? It's dangerous to give logical components of machine learning models general names because the perception of what this component stands for might change or become outdated very quickly. E.g., does chunked attention corresponds to GPTNeo's, Reformer's, or BigBird's chunked attention? Is the attention layer a self-attention layer, a cross-attentional layer, or does it include both? However, if we name attention layers by their model's name, we should directly put the attention function in the corresponding modeling file.
[ 0.04583277180790901, -0.01803073100745678, 0.0024436493404209614, -0.02316393330693245, -0.013714268803596497, 0.017240343615412712, -0.05572817102074623, 0.07402274012565613, -0.04708068072795868, 0.002175465691834688, -0.07729269564151764, 0.057731758803129196, -0.05398721247911453, 0.045158203691244125, 0.04958014935255051, 0.03535672649741173, 0.05317556485533714, -0.04816603660583496, -0.0330323725938797, -0.0039336164481937885, 0.009714122861623764, -0.07361185550689697, 0.05933655425906181, -0.0025867517106235027, -0.06097352132201195, -0.035151850432157516, -0.040504660457372665, -0.02013356424868107, -0.03596984222531319, 0.035122908651828766, -0.12957097589969635, 0.015473159030079842, 0.0018888337071985006, 0.0820528119802475, -0.1035631075501442, 0.008903862908482552, -0.08923187106847763, 0.05533483624458313, 0.016531556844711304, -0.09595385938882828, -0.013153000734746456, 0.01051341276615858, -0.12008653581142426, 0.0628729984164238, 0.00544039998203516, -0.014734577387571335, -0.1264975368976593, 0.049779925495386124, 0.018316933885216713, -0.00886297132819891, -0.10545013099908829, 0.032292649149894714, -0.061584535986185074, 0.04792128875851631, -0.024021610617637634, -0.02451387606561184, 0.02156691625714302, -0.026901399716734886, 0.028208188712596893, -0.008083665743470192, 0.0715608149766922, -0.010658190585672855, 0.0007284692255780101, -0.03850014507770538, 0.02477080561220646, -0.08458371460437775, 0.0070575447753071785, -0.010497283190488815, -0.09155280143022537, -0.016667332500219345, 0.009732648730278015, -0.04541073366999626, 0.040793661028146744, -0.0179532989859581, 0.009447315707802773, -0.025193994864821434, 0.005911737680435181, 0.014040499925613403, 0.0759645625948906, 0.028492270037531853, 0.0030768350698053837, 0.05866067484021187, 0.024107644334435463, 0.052549559623003006, -0.019904447719454765, -0.015713995322585106, 0.012678788043558598, -0.02196676656603813, -0.0015839874977245927, 0.045267682522535324, 0.0018003472359851003, -0.1127624660730362, 0.019754359498620033, 0.020186716690659523, 0.0038481904193758965, -0.0450761578977108, -0.02526741474866867, -0.051158349961042404, 0.0023846998810768127, -0.04482557997107506, -0.021438824012875557, -0.09680303186178207, 0.051075439900159836, -0.035709477961063385, 0.008656395599246025, 0.03083990514278412, 0.011595463380217552, -0.08222183585166931, -0.07405047118663788, 0.002130589447915554, -0.046224117279052734, 0.008133582770824432, 0.036735277622938156, 0.08270487934350967, -0.03582048416137695, 0.0074975620955228806, 0.013147779740393162, -0.020170820876955986, 0.006428402848541737, 0.04218803718686104, -0.018015850335359573, 0.028024401515722275, 0.03468970209360123, 0.021843314170837402, 0.0477176159620285, 0.025900214910507202, 0.021905750036239624, 0.041520651429891586, 0.024820685386657715, -0.061585184186697006, 0.036099113523960114, 0.01841401867568493, 0.008543433621525764, -0.018212296068668365, -0.023260125890374184, -0.02762949839234352, 0.0061628324910998344, -0.03804969787597656, 0.007250617723912001, 0.00773124722763896, -0.04165283218026161, -0.026673726737499237, 0.01409179624170065, 0.0019734520465135574, 0.09075317531824112, -0.04260653257369995, -0.08407346904277802, -0.012992464937269688, 0.014430854469537735, -0.042699795216321945, -0.034268852323293686, 0.039397161453962326, -0.060755182057619095, -0.0673496350646019, 0.031490225344896317, 0.09639489650726318, -0.037266314029693604, -0.049644585698843, -0.010222802869975567, -0.0624057874083519, 0.014259546995162964, -0.00960889644920826, -0.012922822497785091, 0.0450037457048893, 0.06433996558189392, -0.11087415367364883, 0.0016029797261580825, 0.08015000075101852, -0.022628018632531166, 0.024243593215942383, -0.026395488530397415, 0.006415278650820255, 0.06413550674915314, -0.052499644458293915, -0.04158662632107735, 0.014302754774689674, -0.017144247889518738, 0.011100143194198608, -0.02332727424800396, 0.0071519361808896065, -0.05258450284600258, 0.05196583643555641, -0.013377049006521702, 0.033714521676301956, 0.04805924370884895, -0.0244345311075449, 0.06847821921110153, -0.03590716794133186, -0.038704752922058105, -0.020286032930016518, -0.050843510776758194, 0.01875673048198223, 0.0779653936624527, -0.019502507522702217, 0.0422048382461071, -0.021857822313904762, -0.03353393077850342, 0.12081325054168701, 0.01921693980693817, 0.03657807037234306, 0.09203275293111801, -0.07197651267051697, -0.02821269817650318, -0.013515510596334934, 0.007587492000311613, 0.0001967692223843187, -0.043691739439964294, -0.0601537823677063, 0.058196794241666794, 0.003783290972933173, 0.06834303587675095, -0.05609130859375, -0.011467068456113338, -0.052511923015117645, 0.03287959098815918, -0.048270441591739655, 0.0052641648799180984, 0.04164212569594383, -0.023712845519185066, -0.022770922631025314, 0.1045168936252594, -0.07223643362522125, -0.04801298677921295, 0.03165759891271591, -0.0038872058503329754, 0.029303641989827156, 0.07451832294464111, 0.009134747087955475, 0.0952930673956871, -0.023576000705361366, -0.04193025082349777, -0.059022922068834305, 0.06546780467033386, -0.002500316593796015, 0.018955355510115623, -0.027890687808394432, -0.014273086562752724, 0.025708472356200218, 0.0024834666401147842, -0.056501053273677826, -0.005883445963263512, -0.011834044940769672, 0.06781580299139023, 0.06120159476995468, -0.024250507354736328, -0.020249664783477783, 0.06337621808052063, 0.00613941578194499, -0.023834530264139175, 0.03763917461037636, -0.06572391092777252, 0.06297033280134201, 0.021706273779273033, -0.047139015048742294, 0.002130709122866392, 0.03264569491147995, -0.0043665943667292595, -0.022994227707386017, -0.013228463008999825, 0.01758916676044464, 0.03896261006593704, 0.009675689972937107, -0.016162803396582603, -0.03037390299141407, -0.017225218936800957, -0.05358058214187622, -0.04369043558835983, -0.011715173721313477, 0.051855988800525665, 0.02523011714220047, 0.008527806028723717, -0.0004037448379676789, 0.01792803965508938, -0.0021256012842059135, 0.041442256420850754, 0.0007198450621217489, 0.016711922362446785, -0.01917012594640255, -0.00873513426631689, -0.04651782661676407, 0.006589761469513178, 0.017126984894275665, 0.02895541302859783, 0.04016272723674774, 0.013509382493793964, -0.009267966262996197, 0.020449629053473473, -0.018461959436535835, -0.0364546924829483, 0.011525318026542664, 0.012461379170417786, 0.042355816811323166, -0.044301316142082214, -0.03724522888660431, -0.04033777117729187, 0.030100582167506218, -0.006768777500838041, 0.012067715637385845, -0.03596620261669159, -0.003049914725124836, -0.004515574313700199, 0.03627878800034523, -0.004469229374080896, -0.020236214622855186, -0.00017846468836069107, 0.03290881961584091, 0.02412351965904236, 0.058636900037527084, -0.09613528102636337, -0.04434634745121002, -0.0073912194930016994, -0.003692337078973651, -0.011371718719601631, -0.040986284613609314, 0.027512039989233017, 0.02661311998963356, -0.0003220810031052679, -0.007440517656505108, -0.009669586084783077, 0.002197140594944358, -0.006439312361180782, 0.018789328634738922, 0.0120631018653512, 0.03136681765317917, -0.006256867200136185, 0.010366902686655521, -0.00483862916007638, -0.02373182401061058, -0.0025466573424637318, 0.05323801934719086, -0.005919485352933407, -0.017226500436663628, -0.03173883259296417, 0.06954451650381088, 0.019445843994617462, 0.07221126556396484, 0.030399732291698456, -0.010402768850326538, -0.051781393587589264, -0.011675452813506126, -0.02671823650598526, 0.016989298164844513, -0.005632803309708834, -0.004141562152653933, 0.0112005565315485, 0.028294431045651436, 0.04107312858104706, 0.06007916480302811, -0.007210619281977415, -0.030387356877326965, -0.0010721298167482018, 0.0025068791583180428, 0.019947724416851997, 0.01453456375747919, -0.014207731932401657, 0.00888407789170742, -0.022730642929673195, -0.02093076892197132, 0.01202695444226265, -0.022611401975154877, 0.01722845993936062, 0.012434504926204681, 0.010474180802702904, 0.0011610640212893486, 0.004523524083197117, -0.006690253969281912, -0.00898863933980465, 0.0123122064396739, -0.020009007304906845, 0.03669123724102974, 0.028596825897693634, -0.03880603611469269, -0.05142153799533844, 0.038567133247852325, -0.03635280579328537, -0.00638758996501565, 0.027636490762233734, 0.017935514450073242, 0.00015163519128691405, 0.01631869189441204, -0.01021628174930811, 0.011827906593680382, 0.01063758134841919, 0.031058624386787415, 0.0024460642598569393, -0.04144998639822006, 0.08110378682613373, 0.03073718771338463, 0.004684238228946924, -0.04920275881886482, -0.019061710685491562, -0.018337536603212357, -0.000810128403827548, -0.020252665504813194, 0.01634671725332737, -0.026181483641266823, 0.043365683406591415, 0.028548015281558037, 0.000811090343631804, -0.0049443538300693035, 0.005229231435805559, -0.008304256945848465, -0.03359198570251465, -0.015063785947859287, 0.051549237221479416, 0.019892387092113495, -0.008216106332838535, 0.013380950316786766, 0.023944206535816193, -0.053549133241176605, 0.010886156931519508, -0.01361709926277399, -0.01539426390081644, 0.017541833221912384, -0.005805866792798042, -0.0023766360245645046, 0.004346685018390417, -0.0077992030419409275, -0.012081691063940525, -0.025004690513014793, -0.03160163015127182, -0.019659943878650665, 0.055115967988967896, 0.021965108811855316, -0.0349980965256691, 0.0032682782039046288, -0.03688368946313858, -0.01795099675655365, 0.026161544024944305, 0.03632687032222748, 0.0153299355879426, -0.01449981052428484, 0.05661066249012947, -0.017584387212991714, 0.05107027664780617, 0.00852806307375431, 0.0250674020498991, -0.015075843781232834, -0.036299947649240494, -0.008868012577295303, 0.004499345552176237, 0.03409717231988907, 0.03813481703400612, 0.06383926421403885, 0.007018041331321001, 0.030512144789099693, 0.03957130387425423, -0.055593013763427734, 0.005921333096921444, 0.035410501062870026, 0.007865946739912033, -0.023915071040391922, -0.013150974176824093, -0.007523058447986841, -0.027306003496050835, -0.022603780031204224, -0.03432731330394745, -0.02147654816508293, 0.06273294240236282, 0.008803757838904858, -0.05142837390303612, 0.005211986601352692, 0.025681499391794205, 0.0027920780703425407, 0.0035228540655225515, -0.008663248270750046, -0.026654105633497238, 0.011779651045799255, -0.007689088582992554, -0.009164047427475452, -0.03141620382666588, -0.0030271157156676054, 0.0687161386013031, 0.026198409497737885, 0.010429007932543755, -0.07905682176351547, 0.022463249042630196, -0.04346455633640289, -0.007625762838870287, -0.016526343300938606, -0.05023592337965965, -0.0014107758179306984, 0.01553540863096714, -0.037080664187669754, 0.021028198301792145, 0.021737057715654373, -0.05486604943871498, 0.04045351967215538, 0.019827887415885925, -0.015918869525194168, -0.00685969227924943, 0.04536714777350426, 0.019972722977399826, 0.02871663123369217, 0.03605122119188309, 0.04619476571679115, 0.003615964436903596, 0.010340452194213867, 0.026285605505108833, 0.04408593848347664, 0.026961691677570343, -0.0020141121931374073, 0.04569234326481819, 0.04155656695365906, 0.015410145744681358, -0.03797885775566101, -0.03625450283288956, -0.01681017503142357, 0.006358161102980375, 0.07059767097234726, -0.011812480166554451, -0.030314818024635315, 0.004633025266230106, 0.020737722516059875, 0.019665999338030815, -0.022343898192048073, -0.02131681516766548, -0.030135028064250946, 0.031042790040373802, -0.02442069724202156, -0.006494845263659954, 0.003465627320110798, 0.013762899674475193, -0.028963781893253326, 0.006362175103276968, 0.0452728345990181, -0.025641892105340958, 0.028703603893518448, -0.016390454024076462, 0.011472538113594055, -0.009622947312891483, 0.0150599991902709, 0.009055064991116524, -0.05060634762048721, -0.04020381718873978, 0.0062687331810593605, 0.015261142514646053, 0.02618388459086418, 0.008901096880435944, 0.001151042291894555, 0.029857462272047997, 0.03167339786887169, -0.05124598369002342, -0.06180265545845032, -0.0051438529044389725, 0.04302998259663582, 0.07030011713504791, -0.0394093319773674, -0.001971025252714753, -0.00525079108774662, -0.033975791186094284, 0.03390394523739815, -0.03267434239387512, 0.01193975005298853, 0.0636797621846199, -0.003266687039285898, 0.014232300221920013, -0.020105261355638504, 0.02311822958290577, -0.004861153196543455, 0.006028949283063412, 0.030465057119727135, 0.017952129244804382, 0.005709459073841572, 0.04293482005596161, 0.022559667006134987, 0.0119467843323946, -0.0075731538236141205, 0.015073067508637905, -0.06556860357522964, -0.015408993698656559, -0.04479853808879852, 0.019914982840418816, 0.019700855016708374, 0.01472396682947874, -0.07708097249269485, 0.01778249442577362, -0.00460677919909358, 0.020724570378661156, 0.017299098894000053, 0.01702059619128704, 0.02918289788067341, 0.006739320233464241, -0.0021415080409497023, 0.03387574106454849, 0.01189663540571928, 0.012903183698654175, 0.022346287965774536, -0.0030892204958945513, 0.004187891725450754, 0.0894680768251419, -0.028434542939066887, 0.04957235977053642, -0.01555832102894783, 0.05965861305594444, 0.031201208010315895, 0.0359446257352829, 0.011883162893354893, -0.00830847304314375, 0.027922267094254494, -0.0007599295931868255, 0.03258633613586426, -0.016312487423419952, 0.015035885386168957, 0.06179346144199371, 0.028481818735599518, 0.013104571029543877, -0.06016606464982033, 0.043181609362363815, 0.04318254813551903, 0.03531626984477043, 0.051321376115083694, 0.026141492649912834, 0.05619100108742714, 0.04091504216194153, 0.01533280685544014, 0.03526289016008377, 0.007537003140896559, 0.013533921912312508, 0.0319843664765358, 0.024234117940068245, 0.010388622991740704, 0.008696505799889565, -0.07043638080358505, -0.033063799142837524, -0.025032667443156242, -0.0002643341140355915, 0.02191491797566414, -0.019401341676712036, 0.022395433858036995, -0.02966734953224659, -0.04386903718113899, -0.011934123001992702, -0.0036226671654731035, 0.0201621912419796, -0.007821504026651382, 0.011804192326962948, -0.01756792701780796, 0.02210235595703125, 0.03518231213092804, -0.004158559255301952, 0.0016372117679566145, -0.027609512209892273, -0.056265752762556076, 0.061519380658864975, 0.018613846972584724, 0.005496381316334009, -0.04977421090006828, 0.006970903370529413, -0.0027432923670858145, -0.011285170912742615, 0.038798972964286804, 0.002903502667322755, 0.009148301556706429, 0.06008654832839966, -0.01706809364259243, -0.024209698662161827, 0.02652851492166519, -0.003269694047048688, 0.004011946264654398, -0.034828633069992065, 0.02143894135951996, -0.05024318769574165, -0.027638955041766167, 0.00010770870721898973, 0.0030021241400390863, -0.03696785867214203, -0.01897607557475567, 0.0011788337724283338, 0.02259410358965397, 0.033931080251932144, -0.016231192275881767, -0.019181329756975174, 0.022753506898880005, -0.04300176724791527, -0.028199711814522743, 0.016945267096161842, 0.04945214092731476, -0.00945222843438387, -0.00559925427660346, -0.01352230180054903, -0.028509976342320442, -0.007816450670361519, 0.035287950187921524, 0.00857158936560154, 0.00820218212902546, -0.01091501023620367, -0.03263484314084053, 0.03421812877058983, 0.012437465600669384, 0.0593109168112278, 0.027826812118291855, 0.020104972645640373, -0.011025968007743359, -0.04469864442944527, -0.038538459688425064, -0.0297134667634964, 0.03419189155101776, -0.0003094846324529499, -0.002320373198017478, -0.008545493707060814, 0.06741618365049362, 0.008305191993713379, 0.019394895061850548, -0.06990182399749756, 0.017138641327619553, -0.05405603349208832, -0.00953097827732563, -0.013488291762769222, 0.010084262117743492, 0.023213837295770645, 0.034994520246982574, -0.0071756248362362385, -0.011582386679947376, -0.005183399189263582, -0.012881821021437645, 0.010206278413534164, 0.009044312871992588, 0.030416112393140793, -0.030572036281228065, -0.032952189445495605, -0.021329810842871666, -0.020222477614879608, 0.0004751881642732769, -0.050704117864370346, 0.015627088025212288, 0.014493984170258045, 0.04073904827237129, -0.0416526272892952, -0.028866294771432877, -0.008635974489152431, -0.027599764987826347, 0.03988734260201454, 0.044672735035419464, -0.027882207185029984, -0.009264026768505573, 0.00013059310731478035, -0.03585505485534668, -0.036294400691986084, -0.013964420184493065, 0.0011895428178831935, 0.046953439712524414, 0.03066188469529152, -0.005037159193307161, 0.0179741233587265, -0.0034077612217515707, 0.04330279678106308, -0.0018173296703025699, -0.06436700373888016, -0.05727745592594147, 0.010516374371945858, 0.04133116081357002, -0.02784072607755661, -0.025522736832499504, 0.061072565615177155, 0.04731407016515732, -0.030896231532096863, 0.029027234762907028, 0.0359610915184021, 0.03587814420461655, -0.03451014682650566, 0.01466201152652502, -0.004235650412738323, 0.006651854142546654, 0.024307124316692352, 0.008181625977158546, 0.008773100562393665, 0.01326973270624876 ]
Don't repeat yourself - 🤗 Transformers Design Philosophy
patrickvonplaten
April 5, 2022
transformers-design-philosophy
community
https://huggingface.co/blog/transformers-design-philosophy
2. Modeling code is our product We assume that a significant amount of users of the Transformers library not only read the documentation, but also look into the actual modeling code and potentially modify it. This hypothesis is backed by the Transformers library being forked over 10,000 times and the Transformers paper being cited over a thousand times. Therefore it is of utmost importance that someone reading Transformers modeling code for the first time can easily understand and potentially adapt it. Providing all the necessary logical components in order in a single modeling file helps a lot to achieve improved readability and adaptability. Additionally, we care a great deal about sensible variable/method naming and prefer expressive/readable code over character-efficient code.
[ 0.04740799963474274, 0.00832439586520195, -0.013581912964582443, 0.015666022896766663, 0.08452663570642471, 0.004030159674584866, -0.013041413389146328, 0.008586311712861061, 0.009605837985873222, 0.003047696780413389, -0.02975418232381344, 0.03961619734764099, -0.017487863078713417, 0.08253107964992523, -0.04331621900200844, -0.002056774217635393, 0.018030734732747078, 0.03018048033118248, -0.000929991714656353, 0.02883131057024002, 0.022604675963521004, -0.08436378836631775, 0.06839359551668167, -0.02224515564739704, -0.013791551813483238, -0.03933759778738022, -0.005898539908230305, -0.04512842744588852, -0.03462017700076103, 0.03362797200679779, -0.1264195442199707, 0.0037474173586815596, -0.03668447211384773, -0.03543340042233467, -0.11618411540985107, -0.029128694906830788, -0.08427484333515167, 0.020691053941845894, 0.008407593704760075, -0.06882210075855255, 0.059323497116565704, -0.057518359273672104, -0.08844240009784698, 0.022549036890268326, 0.014837624505162239, -0.037422288209199905, -0.17984387278556824, 0.07974572479724884, -0.028914637863636017, -0.0015918113058432937, -0.06716860830783844, 0.030172260478138924, -0.06231725960969925, 0.06201992183923721, 0.00028791450313292444, 0.015628622844815254, 0.00012850342318415642, -0.03285525366663933, -0.019591132178902626, 0.022057704627513885, 0.06001138314604759, 0.018941981717944145, 0.053320325911045074, 0.045237354934215546, 0.03879402205348015, -0.00376662565395236, -0.011554975993931293, 0.02570364624261856, -0.015783218666911125, 0.006832017097622156, -0.001907834899611771, -0.023152977228164673, -0.006786716636270285, -0.04732188954949379, -0.0293883103877306, -0.015507872216403484, 0.0012806141749024391, 0.06128811836242676, 0.07070424407720566, 0.05051436275243759, 0.02926659770309925, 0.07181736826896667, 0.04576442390680313, 0.04386825114488602, 0.03246784582734108, 0.001519460347481072, 0.08278976380825043, -0.054487667977809906, -0.022282473742961884, 0.04249675199389458, 0.0032805148512125015, -0.1681623011827469, -0.06304367631673813, -0.029400618746876717, 0.07326649874448776, -0.032935697585344315, 0.03465660661458969, 0.0150675717741251, -0.05141010880470276, 0.013978003524243832, -0.0054984972812235355, 0.040011413395404816, -0.0049017551355063915, 0.018348878249526024, -0.016236456111073494, -0.04459267109632492, 0.02479189820587635, -0.10229644179344177, 0.02800745517015457, 0.060134097933769226, -0.017025507986545563, -0.03410017117857933, 0.03715268522500992, 0.0440121591091156, -0.03892664983868599, 0.08610028028488159, 0.026458164677023888, -0.02424827218055725, 0.014871776103973389, 0.01640463061630726, -0.025174308568239212, 0.036398645490407944, 0.018271051347255707, 0.05617881193757057, -0.0005405322881415486, 0.03132336959242821, 0.03257131949067116, 0.04050137847661972, -0.021281642839312553, -0.06193254142999649, 0.0205487422645092, 0.0012311182217672467, 0.02151687629520893, 0.031048813834786415, 0.016900118440389633, -0.09470350295305252, 0.010736395604908466, -0.030542640015482903, 0.02881789207458496, -0.0027639749459922314, -0.0061280266381800175, 0.04305123910307884, -0.03408901393413544, 0.0012087039649486542, 0.013110723346471786, -0.040691059082746506, -0.07904434949159622, 0.07153298705816269, -0.018843024969100952, 0.025114871561527252, 0.03463735431432724, 0.027327345684170723, -0.06823153048753738, -0.08422500640153885, -0.0017788817640393972, 0.07394332438707352, 0.01913185603916645, 0.0037212322931736708, -0.07306788861751556, -0.05225180462002754, -0.022612204775214195, -0.034697845578193665, -0.021050291135907173, -0.0014763947110623121, 0.02956279367208481, -0.0679105669260025, -0.002879523206502199, 0.009751388803124428, 0.07141418009996414, 0.026873048394918442, 0.011476350016891956, -0.053015291690826416, 0.037118881940841675, -0.03580671548843384, -0.03193594515323639, 0.009317065589129925, 0.024759745225310326, 0.011646226048469543, 0.08285387605428696, -0.0511273629963398, -0.033002305775880814, 0.046133704483509064, -0.004013866651803255, 0.05144212394952774, 0.066962830722332, -0.07211454212665558, 0.01985706388950348, -0.07601658999919891, -0.05895301699638367, 0.02473882958292961, -0.08525748550891876, 0.009797793813049793, 0.10878654569387436, -0.026186324656009674, 0.04167681187391281, 0.009914289228618145, -0.06644519418478012, 0.08459572494029999, 0.04579782113432884, 0.00951480958610773, 0.07816392928361893, 0.0149467084556818, 0.0027306638658046722, -0.033993396908044815, 0.013792834244668484, 0.004488671198487282, 0.053805455565452576, 0.0333578921854496, 0.06603573262691498, -0.0164226982742548, 0.05409667268395424, -0.07840771228075027, -0.0010200634133070707, -0.08146683871746063, 0.01010160893201828, -0.09172270447015762, -0.011378899216651917, 0.08953151851892471, 0.0034704473800957203, -0.013666193932294846, 0.15179604291915894, -0.03958183526992798, -0.07090368866920471, 0.0032986376900225878, -0.021541351452469826, 0.027887197211384773, 0.08818734437227249, 0.029058795422315598, 0.02393762394785881, -0.06550799310207367, 0.004544737283140421, -0.030456440523266792, -0.02571084350347519, -0.011909633874893188, -0.023199839517474174, 0.036139704287052155, -0.017716141417622566, 0.018320921808481216, -0.030551539734005928, -0.03273164853453636, -0.01074280496686697, -0.02246229164302349, 0.024468207731842995, 0.08853700011968613, 0.026948271319270134, -0.030990367755293846, 0.00457747932523489, -0.050891339778900146, 0.009932060725986958, 0.027443621307611465, -0.056302547454833984, 0.04657837748527527, 0.020549817010760307, -0.05167456343770027, 0.012009265832602978, 0.04324888437986374, 0.03181927651166916, -0.03750944510102272, -0.010096672922372818, 0.034868720918893814, -0.029612069949507713, 0.00021714992180932313, -0.057095061987638474, -0.07549817115068436, -0.013303028419613838, -0.017256449908018112, 0.007762331049889326, 0.0460992269217968, -0.002386638429015875, 0.009897254407405853, -0.006037522107362747, -0.03456445783376694, 0.02359938435256481, 0.017693674191832542, 0.006356630939990282, 0.020143531262874603, 0.04235320910811424, -0.007868707180023193, -0.019344085827469826, -0.007145294453948736, -0.015790322795510292, -0.025822613388299942, 0.015194432809948921, 0.0012824088335037231, -0.005907474551349878, 0.004028395749628544, 0.026632942259311676, -0.006624693516641855, -0.03645368292927742, -0.002720843767747283, -0.017555532976984978, 0.02569054625928402, -0.011331292800605297, -0.024679962545633316, -0.034623853862285614, -0.021505318582057953, -0.012508684769272804, -0.028309140354394913, 0.0010382129112258554, 0.006954288110136986, -0.010817544534802437, 0.009864192456007004, 0.026516813784837723, 0.002742914017289877, -0.020664606243371964, 0.04047409072518349, 0.010506637394428253, 0.008121881633996964, -0.10513071715831757, -0.05023176223039627, 0.0011008892906829715, 0.019629940390586853, 0.0002095603704219684, -0.031170761212706566, 0.03043905645608902, 0.019536815583705902, 0.0027187897358089685, 0.01736225001513958, 0.029494570568203926, -0.0018942294409498572, 0.043569281697273254, 0.04567740485072136, 0.027379320934414864, -0.009955628775060177, 0.0009813595097512007, 0.062427032738924026, 0.026740822941064835, 0.005172531120479107, 0.014474967494606972, 0.023677589371800423, -0.035788893699645996, -0.01971588097512722, -0.0209334809333086, -0.0009561239858157933, 0.039919521659612656, 0.028769852593541145, -0.004556117579340935, -0.035682935267686844, -0.016428746283054352, -0.00643759174272418, -0.03568127006292343, -0.011256271041929722, -0.022800760343670845, -0.008968319743871689, 0.031031927093863487, -0.012684776447713375, -0.0017990809865295887, 0.053650204092264175, 0.032231710851192474, -0.024689247831702232, 0.007064191158860922, 0.007739611901342869, 0.01218497846275568, -0.0006082012550905347, -0.010126394219696522, 0.0029939489904791117, -0.0028474554419517517, -0.021727299317717552, -0.016359763219952583, -0.026753732934594154, 0.007937475107610226, 0.02922716550529003, 0.01565018855035305, -0.023900974541902542, 0.02099473588168621, -0.043731559067964554, -0.0015394347719848156, 0.01511357817798853, -0.02357248216867447, -0.02340218797326088, 0.005222131963819265, 0.00010779906006064266, -0.07006096839904785, 0.06837362051010132, 0.011440865695476532, 0.012586734257638454, -0.0032655822578817606, 0.032122351229190826, -0.0156365018337965, 0.05126623064279556, -0.009778113104403019, 0.0014478071825578809, -0.043782733380794525, 0.06282339245080948, -0.02128739282488823, -0.05208612605929375, 0.07539822161197662, 0.009929071180522442, -0.033453039824962616, -0.08222290873527527, -0.03920290991663933, 0.027532413601875305, -0.0022932046558707952, 0.03355013579130173, 0.03379202261567116, 0.0012438377598300576, 0.017490597441792488, 0.03661603108048439, 0.03864123299717903, -0.03467307984828949, 0.04724014550447464, -0.01010320708155632, -0.013922445476055145, 0.023514745756983757, 0.054765328764915466, 0.014666794799268246, 0.02761268988251686, -0.025788426399230957, 0.031216824427247047, -0.04864971339702606, 0.009913412854075432, 0.00011113553773611784, -0.03814546763896942, 0.05051546171307564, -0.011400973424315453, -0.03561718389391899, 0.030391832813620567, 0.005851475056260824, 0.03580281510949135, -0.01121868658810854, 0.01365439873188734, -0.021591143682599068, 0.05358991026878357, 0.021459264680743217, 0.012855980545282364, -0.0039459881372749805, -0.05473191663622856, 0.037810590118169785, -0.012044034898281097, -0.010535160079598427, -0.012428508140146732, 0.016083965077996254, 0.008139288052916527, -0.011186977848410606, 0.016958389431238174, 0.038046326488256454, -0.017598867416381836, 0.017879361286759377, -0.024134982377290726, 0.015751034021377563, 0.018901027739048004, 0.011740938760340214, -0.04927194491028786, 0.05127972364425659, -0.016060708090662956, 0.02407301962375641, -0.008044310845434666, -0.05329205468297005, -0.008975168690085411, -0.018134668469429016, 0.003198362421244383, -0.021868446841835976, 0.04149381443858147, -0.046299047768116, -0.03303878754377365, -0.021182486787438393, -0.01977984793484211, -0.00036336207995191216, 0.029038341715931892, -0.0004924795939587057, -0.05952365696430206, 0.03867023065686226, -0.03453761339187622, 0.00004292247831472196, -0.014597335830330849, 0.03578091412782669, -0.030527517199516296, 0.027862386777997017, -0.010510706342756748, 0.01640717312693596, -0.04094379395246506, 0.03105248138308525, 0.06093447655439377, 0.022886056452989578, -0.03074255958199501, -0.04354795441031456, -0.0398966521024704, 0.02156873047351837, 0.005932365078479052, -0.010347363539040089, -0.00018211650603916496, -0.016705812886357307, 0.004617862403392792, -0.00987234991043806, 0.03543161600828171, 0.029927823692560196, 0.03258190676569939, -0.017207330092787743, -0.016398610547184944, -0.024315891787409782, -0.013936413452029228, 0.014846066012978554, 0.03172118961811066, 0.004138660617172718, 0.02239782176911831, 0.05376831442117691, -0.009834247641265392, 0.005216320510953665, 0.02272394858300686, -0.027366356924176216, 0.006915780249983072, 0.014007581397891045, -0.006515703164041042, -0.01770850270986557, 0.01955210231244564, 0.0038836663588881493, -0.04765099659562111, 0.024431347846984863, 0.024845639243721962, 0.07201670855283737, -0.017014987766742706, 0.005277081858366728, 0.015892859548330307, 0.0030184395145624876, 0.028644250705838203, -0.019563816487789154, 0.04822400212287903, -0.03599916771054268, 0.026694966480135918, 0.023892952129244804, 0.00013905702508054674, -0.009998849593102932, -0.0041900333017110825, -0.021483292803168297, -0.03677714243531227, -0.017632681876420975, 0.00733921630308032, 0.047210607677698135, 0.013338840566575527, 0.008491212502121925, -0.028150422498583794, 0.008880131877958775, 0.0431322418153286, -0.0474078431725502, -0.02726181223988533, 0.03308463841676712, 0.0037857932038605213, -0.019421054050326347, 0.020415838807821274, -0.005842965561896563, 0.023092972114682198, 0.01852426864206791, 0.021727081388235092, -0.028442014008760452, -0.07156076282262802, 0.04306059330701828, 0.043107256293296814, -0.04301563650369644, -0.010385296307504177, -0.03215980529785156, -0.048336926847696304, 0.0530552975833416, -0.03834815323352814, -0.016132809221744537, 0.07489651441574097, -0.026169661432504654, -0.01575588621199131, 0.046613577753305435, 0.039136797189712524, -0.03183604031801224, -0.0060766893438994884, 0.004233064595609903, -0.006906189490109682, 0.0037213347386568785, 0.016575820744037628, 0.02504291571676731, 0.01644650474190712, -0.0060407547280192375, 0.0410621352493763, -0.027652600780129433, -0.014961369335651398, 0.005295874550938606, 0.021300453692674637, 0.020848393440246582, 0.005802076309919357, -0.02627365104854107, 0.028391916304826736, -0.03728850185871124, 0.0036656304728239775, 0.04410388693213463, 0.031897809356451035, 0.015126608312129974, -0.009363087825477123, -0.04935786500573158, 0.0387631319463253, 0.04907980561256409, 0.029553934931755066, 0.02111971750855446, 0.04485044255852699, 0.027227316051721573, 0.06773430109024048, 0.022678080946207047, -0.01051636878401041, -0.0023526842705905437, 0.011313114315271378, 0.001631719060242176, -0.0016700190026313066, 0.010110567323863506, 0.008480223827064037, -0.07045873254537582, 0.004616223741322756, -0.017951572313904762, -0.08064408600330353, -0.0008212513639591634, -0.0029672724194824696, -0.02311590313911438, 0.002632969059050083, -0.04874662309885025, 0.060317642986774445, 0.027192674577236176, 0.0014499357203021646, 0.02395503968000412, 0.02768348716199398, 0.07258233428001404, 0.010549121536314487, 0.015651941299438477, 0.013790536671876907, -0.003379641566425562, -0.021214760839939117, 0.028522808104753494, -0.02117208205163479, 0.020223060622811317, 0.013070488348603249, -0.013957414776086807, 0.029919832944869995, -0.01402564998716116, 0.03200167417526245, -0.004860453773289919, -0.024395566433668137, -0.04791593551635742, -0.013968685641884804, -0.0028784037567675114, -0.04647206887602806, -0.0191175639629364, 0.018486998975276947, -0.0010416567092761397, -0.046265218406915665, -0.020803820341825485, 0.020806562155485153, 0.03154315799474716, 0.0031573413871228695, -0.013208574615418911, -0.009124008938670158, -0.007423725910484791, 0.03292323276400566, 0.041194524616003036, -0.013694549910724163, 0.019615117460489273, -0.04348377138376236, -0.01720311865210533, 0.02440665289759636, 0.014480292797088623, -0.015479842200875282, -0.007228861562907696, 0.006934405770152807, 0.00940672680735588, -0.04340852051973343, 0.04616715386509895, -0.0043129040859639645, -0.0034234304912388325, -0.03929777070879936, -0.0014558607945218682, -0.005979105364531279, -0.04868254438042641, -0.02552483230829239, -0.005575584247708321, -0.019225388765335083, 0.008631214499473572, -0.01389272604137659, 0.01659270189702511, 0.031412117183208466, -0.06371980160474777, -0.039922647178173065, 0.01426360197365284, -0.010301337577402592, 0.006562761031091213, 0.02580014057457447, 0.0025395629927515984, -0.023097814992070198, 0.0037596914917230606, -0.022278571501374245, 0.01560327596962452, -0.028968945145606995, 0.01247453410178423, 0.030571870505809784, -0.029897240921854973, 0.01093991193920374, -0.02590562030673027, 0.05509570986032486, 0.03408494591712952, 0.046658650040626526, 0.025746341794729233, 0.06062217801809311, -0.0010141556849703193, -0.04058917239308357, 0.021314289420843124, -0.021590014919638634, 0.0024641696363687515, -0.011076810769736767, -0.016417039558291435, -0.024198228493332863, 0.04625467211008072, 0.01901787891983986, -0.01017231959849596, -0.025915076956152916, 0.05256769806146622, -0.03698626160621643, -0.032249145209789276, -0.0354631282389164, 0.017839258536696434, 0.026755867525935173, 0.01760348118841648, 0.04350212216377258, -0.008303576149046421, -0.006417891476303339, -0.015377476811408997, -0.015001204796135426, 0.0437798872590065, -0.0010215028887614608, 0.00641885818913579, 0.005950442049652338, -0.004183375276625156, -0.02222844399511814, -0.040657781064510345, -0.05746304616332054, 0.004609872121363878, 0.03782711178064346, 0.012508627027273178, 0.0024658364709466696, 0.009285219945013523, 0.02598789893090725, -0.032799433916807175, 0.04406056925654411, -0.004532013554126024, 0.0090622054412961, -0.022378001362085342, 0.006705928593873978, -0.020483506843447685, 0.004686438478529453, 0.013357262127101421, -0.029616888612508774, 0.04013516753911972, 0.03202028200030327, 0.0018836053786799312, -0.0004643306019715965, -0.02461712807416916, 0.025478534400463104, 0.011826547794044018, -0.028237158432602882, -0.026758238673210144, -0.04191141203045845, 0.020202521234750748, -0.012408176437020302, -0.02600788325071335, 0.024071021005511284, 0.040607668459415436, 0.01203431747853756, 0.012543974444270134, 0.03381041809916496, 0.004957359749823809, -0.03915408253669739, 0.0013957334449514747, 0.00386624108068645, 0.019041910767555237, 0.030167503282427788, -0.006454134359955788, -0.01647331193089485, -0.021869545802474022 ]
Don't repeat yourself - 🤗 Transformers Design Philosophy
patrickvonplaten
April 5, 2022
transformers-design-philosophy
community
https://huggingface.co/blog/transformers-design-philosophy
Drawbacks Clearly, there are also drawbacks to the single file policy two of which we quickly want to mention here. A major goal of Transformers is to provide a unified API for both inference and training for all models so that a user can quickly switch between different models in her setup. However, ensuring a unified API across models is much more difficult if modeling files are not allowed to use abstracted logical patterns. We solve this problem by running a lot of tests (ca. 20,000 tests are run daily at the time of writing this blog post) to ensure that models follow a consistent API. In this case, the single file policy requires us to be very rigorous when reviewing model and test additions. Second, there is a lot of research on just a single component of a Machine Learning model. E.g., research teams investigate new forms of an attention mechanism that would apply to all existing pre-trained models as has been done in the Rethinking Attention with Performers. How should we incorporate such research into the Transformers library? It is indeed problematic. Should we change all existing models? This would go against points 3. and 4. as written above. Should we add 100+ new modeling files each prefixed with Performer...? This seems absurd. In such a case there is sadly no good solution and we opt for not integrating the paper into Transformers in this case. If the paper would have gotten much more traction and included strong pre-trained checkpoints, we would have probably added new modeling files of the most important models such as modeling_performer_bert.py available.
[ -0.021876627579331398, -0.02419475093483925, -0.04830599203705788, 0.04181293770670891, 0.05109313502907753, 0.009610024280846119, -0.019089672714471817, 0.024825576692819595, 0.007740766741335392, -0.01723455637693405, -0.05629104748368263, 0.05688042566180229, -0.0376695841550827, 0.0636502057313919, -0.003777323756366968, -0.016903001815080643, 0.021681511774659157, -0.022370195016264915, -0.02454080991446972, 0.0013885627267882228, 0.02818923071026802, -0.0631648600101471, 0.04246247187256813, 0.015633907169103622, 0.0002432521723676473, -0.07746949046850204, -0.019549475982785225, 0.008622772060334682, -0.0814935564994812, 0.05539806932210922, -0.12411748617887497, -0.010721832513809204, -0.011773203499615192, 0.0675635114312172, -0.03372325375676155, 0.030276043340563774, -0.06442674249410629, -0.013697199523448944, 0.05949625000357628, -0.03023204766213894, 0.08403725177049637, 0.002742887707427144, -0.1395309418439865, 0.015330914407968521, 0.02908513881266117, -0.057898662984371185, -0.15303589403629303, 0.07762251049280167, -0.058395352214574814, -0.006431551184505224, -0.09101203829050064, 0.06662502884864807, -0.012487567961215973, -0.003140785498544574, 0.009273535571992397, 0.016091136261820793, -0.002005623420700431, -0.03538026660680771, -0.003092000260949135, 0.013647840358316898, -0.009593538008630276, -0.005318186711519957, 0.03974206745624542, 0.04848799481987953, 0.02938065491616726, -0.02938777022063732, -0.027214229106903076, -0.023397348821163177, -0.030024323612451553, -0.02750939317047596, 0.0309912022203207, -0.011314047500491142, -0.05983835086226463, -0.010661772452294827, 0.012478847987949848, -0.01321383286267519, 0.05159369111061096, 0.0047544981352984905, 0.03845931217074394, 0.007943959906697273, 0.05798362195491791, 0.045958012342453, -0.012162920087575912, 0.032630328088998795, 0.06258191168308258, -0.055789701640605927, 0.04240866005420685, -0.07583282887935638, -0.03998034819960594, 0.03879127278923988, -0.010475886054337025, -0.1323920041322708, -0.005943940486758947, -0.015888581052422523, 0.06650760769844055, 0.0018767716828733683, 0.0026567380409687757, -0.019076988101005554, -0.04949337989091873, -0.00726286368444562, -0.018282560631632805, 0.01784323714673519, -0.021168604493141174, 0.020093755796551704, -0.025681424885988235, 0.00905334297567606, -0.017917189747095108, -0.06050943210721016, 0.0071068862453103065, 0.05864277854561806, -0.018632110208272934, -0.0746726393699646, -0.003980942536145449, 0.05908806249499321, -0.053098082542419434, 0.0004670308844652027, 0.0033107863273471594, -0.054053895175457, 0.02212679758667946, 0.03520066663622856, -0.008043115958571434, 0.05941992998123169, 0.054123975336551666, -0.013729168102145195, 0.03347521275281906, 0.1054222509264946, 0.03371928632259369, -0.013822449371218681, 0.009882770478725433, -0.060545407235622406, 0.05473317950963974, -0.005938174203038216, 0.06102690100669861, 0.017362449318170547, -0.0030099605210125446, -0.06340323388576508, 0.017787620425224304, -0.012528728693723679, 0.036259572952985764, -0.019768081605434418, -0.04934430867433548, 0.04556233808398247, -0.015334386378526688, -0.019936425611376762, -0.024838652461767197, -0.022449688985943794, -0.05726204439997673, 0.0703451856970787, -0.007976657710969448, -0.04771209508180618, -0.05603785067796707, 0.09320014715194702, -0.014760457910597324, -0.09083425998687744, -0.0786198154091835, 0.061733949929475784, -0.001772809773683548, 0.008415055461227894, -0.07190928608179092, -0.053804755210876465, -0.0021691820584237576, -0.0327877514064312, -0.026878856122493744, -0.011290320195257664, 0.07476400583982468, -0.09003280848264694, -0.05325264483690262, -0.012287808582186699, 0.037548597902059555, 0.08980374038219452, 0.011476718820631504, 0.01440492644906044, 0.060879845172166824, -0.032626233994960785, 0.011881284415721893, 0.01799185946583748, 0.014561491087079048, 0.0781252458691597, 0.05453673377633095, 0.002906366251409054, -0.01143186166882515, 0.05185600742697716, 0.020152658224105835, 0.04056703671813011, 0.04123855009675026, -0.0574951097369194, 0.01113742683082819, -0.047934819012880325, -0.05356196314096451, 0.008440504781901836, -0.031320199370384216, -0.010467976331710815, 0.126297265291214, -0.015150383114814758, 0.07989949733018875, -0.005909178871661425, -0.02374238893389702, 0.1210126057267189, 0.07178167253732681, -0.010539510287344456, 0.06025876849889755, -0.00962235126644373, -0.020771143957972527, -0.022877292707562447, 0.01438550278544426, 0.026305463165044785, -0.036844149231910706, -0.07428926974534988, 0.06683774292469025, 0.014350843615829945, 0.07202637195587158, -0.0509728267788887, -0.008798250928521156, -0.0351836122572422, 0.028700606897473335, -0.06907479465007782, -0.012272420339286327, 0.03996745124459267, 0.004847533069550991, -0.03938281908631325, 0.1125587671995163, -0.07117351144552231, -0.048799652606248856, -0.005593085661530495, 0.006262393668293953, -0.010136940516531467, 0.03759722784161568, 0.018132735043764114, 0.04534534737467766, -0.12076175212860107, -0.034876689314842224, -0.05242322012782097, 0.006416042800992727, 0.030239231884479523, -0.03220304101705551, 0.03996732458472252, -0.029876550659537315, -0.032014355063438416, -0.024897444993257523, -0.008841203525662422, -0.032250888645648956, 0.02331584505736828, 0.038031868636608124, 0.0797550156712532, 0.006197120063006878, -0.010653561912477016, 0.029572706669569016, 0.001555763534270227, 0.020003916695713997, 0.03834537789225578, -0.100919209420681, 0.020593252032995224, 0.024439014494419098, -0.07039138674736023, 0.040285784751176834, 0.07607579976320267, 0.00810086540877819, -0.02133743092417717, 0.0055716754868626595, -0.003764526220038533, -0.0518840067088604, 0.012748387642204762, -0.044374722987413406, -0.06522681564092636, -0.008885553106665611, -0.045897986739873886, -0.0007512843003496528, 0.002277292776852846, 0.007321150973439217, -0.010631931014358997, 0.03576995059847832, -0.028138836845755577, 0.00655257748439908, 0.03882744908332825, -0.0008527206373400986, 0.04447023943066597, 0.010915713384747505, -0.006871179677546024, -0.012498640455305576, 0.003672345308586955, -0.004351544659584761, -0.02643345482647419, 0.03277388960123062, -0.00006649615534115583, -0.023858657106757164, 0.030937502160668373, -0.012655643746256828, -0.025054931640625, -0.008309224620461464, 0.018741857260465622, 0.009416528977453709, 0.05187658965587616, -0.007276133634150028, -0.01296693179756403, -0.03344736620783806, 0.007809038273990154, -0.03003976121544838, -0.01722390577197075, 0.0002769979473669082, 0.014130624011158943, -0.017782581970095634, 0.03624161705374718, 0.01649116538465023, -0.005029012449085712, -0.011691547930240631, 0.043732814490795135, 0.04682256653904915, -0.012456093914806843, -0.09127366542816162, -0.017661578953266144, -0.007680383510887623, 0.0387023463845253, -0.015579374507069588, -0.04467727243900299, 0.025444816797971725, -0.011507779359817505, -0.012197031639516354, 0.021536720916628838, -0.012604648247361183, -0.026186775416135788, 0.0024654781445860863, 0.0479351207613945, 0.010549511760473251, -0.02470172569155693, -0.010270390659570694, 0.04233312979340553, 0.054361168295145035, 0.027027446776628494, -0.019088758155703545, 0.022806711494922638, -0.019808946177363396, -0.00890862662345171, -0.004281497560441494, 0.02399476431310177, 0.026335621252655983, 0.03205548971891403, -0.02381129190325737, -0.0683453157544136, 0.001595471054315567, -0.023272626101970673, -0.01146792247891426, 0.009933233261108398, -0.007383933290839195, -0.0037587974220514297, 0.002203257754445076, 0.05415612831711769, 0.01546682883054018, 0.06154099106788635, 0.0020035982597619295, -0.02268025651574135, 0.01234352681785822, 0.0052831340581178665, 0.0006899713771417737, 0.02241135947406292, -0.020376697182655334, 0.021346451714634895, -0.007715622894465923, -0.03512830659747124, -0.018556984141469002, -0.003977878484874964, -0.00904563907533884, 0.029203185811638832, -0.0066168103367090225, -0.02433113567531109, 0.020609848201274872, -0.0019042155472561717, -0.012061571702361107, -0.03331737592816353, -0.022160880267620087, 0.01174650527536869, 0.0038542018737643957, 0.020619718357920647, -0.02378021366894245, 0.07116524875164032, -0.007746309973299503, 0.00036802218528464437, 0.01721862331032753, 0.007844156585633755, 0.027475601062178612, -0.0008103203144855797, 0.01734914444386959, 0.0018658146727830172, -0.008238683454692364, 0.03650914877653122, -0.010838636197149754, -0.05413735285401344, 0.04832209646701813, 0.005848948378115892, -0.03239575773477554, -0.04206670820713043, -0.07922253757715225, 0.007512843236327171, -0.019810043275356293, 0.009662494994699955, 0.01488534826785326, -0.032903023064136505, 0.030906684696674347, 0.0004686868633143604, 0.0008933181525208056, -0.03910763934254646, 0.035125866532325745, -0.02641400694847107, -0.046461910009384155, -0.001830167486332357, 0.044964779168367386, -0.004730130545794964, -0.005721460096538067, -0.013499571941792965, 0.01742842234671116, -0.049632877111434937, 0.0051111746579408646, 0.012177181430161, 0.01063504908233881, 0.030822815373539925, 0.010187240317463875, 0.008247281424701214, 0.01567765325307846, -0.02477427013218403, 0.042041704058647156, 0.06291087716817856, 0.02421249821782112, -0.00411380548030138, 0.042483970522880554, 0.04841483756899834, -0.01926816627383232, -0.024370180442929268, -0.05705628544092178, 0.04128149524331093, -0.0007468308904208243, 0.010675135999917984, 0.013635985553264618, -0.01920812577009201, 0.012703138403594494, -0.009153925813734531, 0.04480365663766861, 0.04199398308992386, -0.0392955020070076, 0.011423139832913876, -0.05082431435585022, -0.015302048996090889, 0.011794652789831161, 0.04729565232992172, -0.008014296181499958, 0.027614042162895203, 0.0218841340392828, 0.06032719835639, 0.02034415490925312, -0.023616252467036247, -0.01668991707265377, -0.0035585174337029457, 0.037078116089105606, -0.0214260071516037, 0.0076538268476724625, -0.05727509409189224, -0.008322802372276783, -0.010387706570327282, -0.043038781732320786, 0.00891525112092495, 0.03529004380106926, -0.0004656534583773464, -0.03978266939520836, 0.02951451949775219, -0.011822397820651531, -0.01124021876603365, -0.025231927633285522, 0.02939426898956299, 0.012787094339728355, 0.04531872272491455, -0.007792172487825155, -0.0022539529018104076, -0.011821068823337555, 0.0011993645457550883, 0.0768686980009079, 0.04187590256333351, -0.013354714959859848, -0.08807156980037689, 0.025006357580423355, 0.007573902606964111, -0.027011925354599953, -0.015540216118097305, 0.005879536736756563, -0.002975876908749342, 0.008919182233512402, 0.0009942305041477084, 0.023383868858218193, -0.007254302501678467, 0.024221453815698624, 0.012415301986038685, -0.008417962118983269, -0.04847268760204315, 0.010562282986938953, -0.0006268942379392684, 0.012247104197740555, 0.033268656581640244, 0.03394173085689545, 0.08265388756990433, -0.00901213102042675, 0.007645285222679377, -0.0317346416413784, 0.006511075887829065, 0.011660948395729065, -0.03634698688983917, -0.011793713085353374, -0.023653723299503326, -0.00020692733232863247, 0.04111465811729431, 0.003172746393829584, 0.006785405799746513, 0.022512437775731087, 0.06221921369433403, 0.005255390424281359, -0.01878022961318493, 0.032824818044900894, -0.056253910064697266, 0.019622093066573143, -0.019889287650585175, 0.017252013087272644, -0.03152373805642128, 0.03870636597275734, -0.018325200304389, 0.015753984451293945, -0.00391292804852128, 0.00499339122325182, -0.01674516871571541, -0.0254898052662611, 0.03876452147960663, 0.020210981369018555, 0.021554121747612953, -0.048726778477430344, -0.0001297396665904671, -0.0282173790037632, -0.002983430866152048, 0.031733714044094086, -0.054061464965343475, -0.03368149325251579, 0.03202364593744278, 0.0047423685900866985, 0.004994361661374569, 0.019344817847013474, 0.014284295961260796, 0.0005320894997566938, 0.027685746550559998, -0.027637358754873276, -0.013000734150409698, -0.05602307990193367, 0.059493932873010635, 0.058647505939006805, -0.04856263846158981, -0.0019511404680088162, 0.024664824828505516, -0.03963269293308258, 0.061871711164712906, -0.03791123256087303, 0.062285907566547394, 0.04591295123100281, -0.036222707480192184, -0.014765603467822075, 0.04925348237156868, 0.00651897955685854, 0.022537458688020706, -0.004582622554153204, -0.0006778230308555067, 0.044279761612415314, 0.009685786440968513, 0.00927605852484703, 0.02485750801861286, 0.02689311094582081, 0.04379924014210701, 0.03415444493293762, -0.05219842493534088, -0.009099538438022137, -0.04815012961626053, 0.003931460902094841, -0.017613766714930534, 0.015229923650622368, -0.04448659345507622, -0.010269872844219208, -0.058072153478860855, -0.007313848473131657, 0.017766451463103294, 0.01185082457959652, 0.025501921772956848, -0.019186165183782578, -0.012983936816453934, 0.017446652054786682, 0.014484484679996967, 0.027692610397934914, 0.03658013790845871, 0.03542468696832657, 0.045443836599588394, 0.05923627316951752, -0.012478726916015148, 0.015402494929730892, 0.007710522506386042, 0.04163779690861702, -0.0011352457804605365, 0.0032767488155514, 0.01402776688337326, -0.03767232596874237, -0.01533119473606348, 0.0009351024636998773, -0.00479527935385704, -0.022106369957327843, -0.03576144576072693, 0.0048800124786794186, -0.005032921675592661, 0.018661025911569595, -0.03597515821456909, 0.04106507450342178, 0.05714935436844826, -0.008042264729738235, 0.03501279279589653, 0.03840355947613716, 0.040835633873939514, 0.020825695246458054, 0.04058137536048889, -0.008769182488322258, 0.02482505701482296, -0.015452173538506031, 0.05264385789632797, -0.01692510023713112, 0.04220778867602348, 0.0012328181182965636, -0.008124173618853092, 0.009782549925148487, -0.02797115221619606, 0.019308991730213165, -0.00886209961026907, 0.003872798290103674, 0.008647848851978779, -0.010756086558103561, 0.01765543594956398, -0.04495326802134514, -0.008944976143538952, 0.009058079682290554, 0.018259042873978615, -0.023081691935658455, -0.03219641000032425, 0.005257795564830303, 0.023770803585648537, 0.02310035191476345, -0.027068600058555603, 0.003342539072036743, -0.038699209690093994, 0.039718907326459885, 0.006940196268260479, 0.0005393989849835634, -0.0017990270862355828, -0.014882211573421955, -0.013805552385747433, 0.010978396981954575, 0.034304406493902206, 0.024166647344827652, -0.009674396365880966, 0.03730739653110504, 0.03775588050484657, 0.01892770268023014, 0.04896178096532822, -0.006472268141806126, -0.0008901634137146175, -0.0616224966943264, -0.00919558759778738, -0.019043557345867157, -0.058814819902181625, 0.024406414479017258, -0.05226363241672516, -0.018664482980966568, -0.017714684829115868, 0.05836658552289009, 0.03616037592291832, 0.02794499136507511, -0.018620111048221588, -0.02641516923904419, 0.007981126196682453, 0.018984563648700714, 0.011819099076092243, 0.05182370916008949, 0.011211315169930458, -0.00577055849134922, -0.02765004336833954, -0.028733810409903526, 0.01450341660529375, 0.004059900995343924, -0.009104105643928051, 0.052687227725982666, 0.036386579275131226, 0.0058705988340079784, -0.014622833579778671, 0.0646071657538414, 0.04864415153861046, 0.0641476958990097, -0.016163315623998642, 0.010337840765714645, -0.017191411927342415, -0.029043998569250107, -0.0284287016838789, 0.030361875891685486, -0.0005126883625052869, -0.027667954564094543, -0.015464037656784058, -0.033260129392147064, 0.022742778062820435, 0.019974198192358017, -0.024073975160717964, -0.0364605113863945, 0.004591194447129965, -0.00547091756016016, -0.03105849027633667, -0.030559537932276726, -0.04175944998860359, -0.004094680771231651, 0.022518735378980637, 0.008250042796134949, -0.011315637268126011, -0.008958839811384678, -0.002183831762522459, -0.02669067122042179, 0.01506754569709301, 0.02178051508963108, 0.01675981655716896, -0.03651614487171173, -0.026411909610033035, -0.023026250302791595, -0.01172677706927061, -0.03514178842306137, -0.019523033872246742, 0.02630460448563099, 0.01722267083823681, -0.007545551285147667, -0.00315206334926188, 0.034543849527835846, -0.03387770056724548, 0.027443351224064827, -0.0067267646081745625, -0.025911202654242516, 0.0023437640629708767, 0.024044232442975044, -0.03319955989718437, -0.024205053225159645, -0.017241965979337692, -0.04378199949860573, 0.062147222459316254, -0.005707995966076851, -0.024993684142827988, 0.0019094357267022133, -0.009187133051455021, 0.0232828501611948, -0.04659957438707352, -0.04624219983816147, -0.07996217906475067, 0.019229471683502197, 0.0276483204215765, -0.04797615483403206, -0.03556858003139496, 0.038275346159935, 0.05748910456895828, 0.014821702614426613, 0.032924287021160126, 0.00517764687538147, 0.024369610473513603, -0.044184599071741104, 0.02938227914273739, -0.0035168142057955265, 0.022975321859121323, 0.023388132452964783, 0.012576630339026451, -0.014251913875341415, -0.0076680569909513 ]
Habana Labs and Hugging Face Partner to Accelerate Transformer Model Training
susanlansing
April 12, 2022
habana
partnerships
https://huggingface.co/blog/habana
# Habana Labs and Hugging Face Partner to Accelerate Transformer Model Training Santa Clara and San Francisco, CA, April 12th, 2022 Powered by deep learning, transformer models deliver state-of-the-art performance on a wide range of machine learning tasks, such as natural language processing, computer vision, speech, and more. However, training them at scale often requires a large amount of computing power, making the whole process unnecessarily long, complex, and costly. Today, Habana® Labs, a pioneer in high-efficiency, purpose-built deep learning processors, and Hugging Face, the home of Transformer models, are happy to announce that they’re joining forces to make it easier and quicker to train high-quality transformer models. Thanks to the integration of Habana’s SynapseAI software suite with the Hugging Face Optimum open-source library, data scientists and machine learning engineers can now accelerate their Transformer training jobs on Habana processors with just a few lines of code and enjoy greater productivity as well as lower training cost. Habana Gaudi training solutions, which power Amazon’s EC2 DL1 instances and Supermicro’s X12 Gaudi AI Training Server, deliver price/performance up to 40% lower than comparable training solutions and enable customers to train more while spending less. The integration of ten 100 Gigabit Ethernet ports onto every Gaudi processor enables system scaling from 1 to thousands of Gaudis with ease and cost-efficiency. Habana’s SynapseAI® is optimized—at inception—to enable Gaudi performance and usability, supports TensorFlow and PyTorch frameworks, with a focus on computer vision and natural language processing applications. With 60,000+ stars on Github, 30,000+ models, and millions of monthly visits, Hugging Face is one of the fastest-growing projects in open source software history, and the go-to place for the machine learning community. With its Hardware Partner Program, Hugging Face provides Gaudi’s advanced deep learning hardware with the ultimate Transformer toolset. This partnership will enable rapid expansion of the Habana Gaudi training transformer model library, bringing Gaudi efficiency and ease of use to a wide array of customer use cases like natural language processing, computer vision, speech, and more. “We’re excited to partner with Hugging Face and its many open-source developers to address the growing demand for transformer models that benefit from the efficiency, usability, and scalability of the Gaudi training platform”, said Sree Ganesan, head of software product management, Habana Labs. “Habana Gaudi brings a new level of efficiency to deep learning model training, and we’re super excited to make this performance easily accessible to Transformer users with minimal code changes through Optimum”, said Jeff Boudier, product director at Hugging Face. To learn how to get started training with Habana Gaudi, please visit https://developer.habana.ai. For more info on the Hugging Face and Habana Gaudi collaboration, please visit https://huggingface.co/Habana.
[ -0.057638369500637054, -0.02999253198504448, 0.022409189492464066, -0.017774013802409172, -0.036407165229320526, 0.01970512792468071, 0.02775331772863865, 0.04605251923203468, -0.016343649476766586, -0.013894500210881233, -0.10822977125644684, 0.13162671029567719, -0.0625966265797615, 0.10877890884876251, 0.01500261202454567, -0.11532878130674362, 0.01247995626181364, -0.02277078852057457, -0.0386975072324276, 0.08801893889904022, -0.0018025286262854934, -0.02727946825325489, 0.046136364340782166, 0.047738853842020035, -0.00752670131623745, -0.059410907328128815, 0.002158234128728509, -0.01705850102007389, 0.0658138319849968, 0.03130020201206207, -0.04993516206741333, -0.02779766544699669, 0.013716982677578926, -0.05027400329709053, 0.028101544827222824, 0.030301719903945923, -0.12112557888031006, 0.024309227243065834, 0.004753519780933857, 0.05962212011218071, 0.013266763649880886, -0.0016187709989026189, -0.03456863388419151, 0.02668173797428608, -0.017085447907447815, 0.013609272427856922, -0.03793414309620857, 0.0644795149564743, 0.007626652717590332, 0.004185521509498358, -0.10549581050872803, 0.11470653116703033, 0.012391814030706882, -0.03353676199913025, 0.05752318724989891, 0.015381665900349617, -0.019583966583013535, -0.03615868091583252, -0.016717689111828804, -0.028873419389128685, 0.04023024067282677, -0.02050485648214817, 0.06310343742370605, -0.0007476547034457326, 0.015704529359936714, -0.017149372026324272, 0.003127391217276454, -0.07154357433319092, -0.03105909563601017, -0.041320234537124634, 0.0726291835308075, 0.02263518236577511, 0.026455402374267578, -0.03946265950798988, 0.016433097422122955, -0.04745987057685852, -0.01934783346951008, -0.027102317661046982, 0.08685113489627838, -0.005144285038113594, 0.001547690131701529, 0.04573921114206314, 0.01777433045208454, 0.004304576199501753, 0.010364013724029064, 0.04686228185892105, 0.036446552723646164, -0.11230248957872391, -0.08294495195150375, 0.0497262142598629, 0.014280993491411209, -0.09887667000293732, 0.043310459703207016, 0.03584454953670502, 0.022726930677890778, 0.08855602890253067, -0.02167348749935627, -0.032107990235090256, -0.04108985885977745, -0.04759378731250763, -0.0006103769410401583, 0.03009459748864174, -0.034908972680568695, -0.01935805380344391, 0.051673632115125656, 0.059145472943782806, -0.04472583904862404, -0.10397671908140182, -0.03816855698823929, -0.003017533803358674, 0.026354296132922173, -0.037947896867990494, 0.014304577372968197, 0.04224370792508125, -0.06467863917350769, 0.035560738295316696, 0.05395209416747093, -0.00521303154528141, -0.032959554344415665, -0.01908072829246521, 0.01657448150217533, 0.03897283226251602, 0.036014124751091, 0.004686364904046059, 0.020483026280999184, 0.04632389172911644, -0.04731682315468788, 0.0670556053519249, 0.056532781571149826, -0.010411225259304047, 0.03410949930548668, -0.05450047552585602, 0.053755972534418106, 0.04800691455602646, 0.04307679459452629, -0.03509378433227539, -0.014305871911346912, -0.03643006831407547, -0.04019693657755852, -0.03623490780591965, 0.005030724219977856, 0.07119934260845184, -0.0054110633209347725, -0.05323709174990654, 0.01689852960407734, 0.0005559901474043727, -0.061895083636045456, 0.05533512681722641, -0.003522021695971489, 0.02051202580332756, -0.13784900307655334, 0.08898017555475235, -0.040038593113422394, 0.00462367245927453, 0.057331632822752, 0.054055292159318924, 0.011089201085269451, -0.049679361283779144, -0.07402248680591583, -0.036446575075387955, -0.013821475207805634, -0.05761776864528656, -0.04223323240876198, -0.007689338177442551, -0.014804333448410034, 0.022928331047296524, 0.030607013031840324, 0.05385541170835495, -0.012209194712340832, 0.022732965648174286, 0.04246694967150688, 0.012312285602092743, 0.03715210035443306, -0.0465465784072876, -0.03996090218424797, 0.03044052980840206, 0.02658911608159542, 0.03808618709445, 0.014122218824923038, 0.010148484259843826, -0.03289133682847023, 0.10191179066896439, 0.037243545055389404, 0.07715599983930588, 0.03164399042725563, -0.058499544858932495, -0.02113419584929943, -0.03455258533358574, 0.07286675274372101, 0.016044214367866516, -0.017158886417746544, 0.013715825974941254, 0.0043271128088235855, -0.03285142034292221, 0.03836086019873619, 0.009686269797384739, -0.0018667916301637888, 0.0908636674284935, 0.02539294771850109, -0.014702263288199902, 0.04437824711203575, -0.02269160747528076, 0.01812042109668255, -0.0061822254210710526, -0.023456592112779617, -0.0015405056765303016, -0.009509095922112465, -0.04793737828731537, 0.017543505877256393, 0.055517226457595825, -0.05244984105229378, -0.07924889773130417, 0.0742865651845932, -0.012015380896627903, 0.030063020065426826, -0.031290240585803986, 0.017028257250785828, -0.024578740820288658, 0.03828570991754532, 0.011500761844217777, 0.12719322741031647, -0.04274855554103851, -0.02153964899480343, -0.06289099901914597, 0.010460466146469116, 0.03653790429234505, 0.05862162634730339, 0.07130815088748932, 0.05101143568754196, -0.04154001548886299, -0.02160833775997162, -0.09243220835924149, -0.024323897436261177, 0.004071755800396204, -0.006005336530506611, 0.02147568017244339, 0.06731709092855453, 0.013971632346510887, 0.032749053090810776, 0.017167966812849045, -0.007139595691114664, 0.0026046864222735167, 0.008452537469565868, -0.012496200390160084, 0.05440039932727814, -0.0364241823554039, 0.06784814596176147, 0.030052397400140762, -0.002127269748598337, -0.007444984745234251, -0.09327220171689987, 0.08777844160795212, 0.025154665112495422, -0.004888726398348808, 0.02095513790845871, -0.010538415983319283, 0.0245217215269804, -0.029416736215353012, -0.024145007133483887, 0.04538261145353317, -0.026221634820103645, 0.012189469300210476, -0.04056914895772934, 0.011778339743614197, 0.03447447344660759, -0.006691084709018469, 0.0021253216546028852, 0.03005255199968815, -0.011398852802813053, -0.042427487671375275, 0.009830883704125881, -0.05888017639517784, 0.012599332258105278, -0.01915298029780388, 0.016927598044276237, 0.03818138316273689, 0.055527716875076294, 0.02215537801384926, -0.01175715122371912, -0.01507472898811102, -0.013326766900718212, -0.03752848505973816, -0.0038656231481581926, 0.03893793001770973, -0.031816016882658005, 0.01124411541968584, -0.021488865837454796, -0.020003775134682655, 0.014800399541854858, -0.018116995692253113, 0.0129246162250638, 0.03494107350707054, 0.04233796149492264, -0.026830462738871574, -0.015438338741660118, 0.034751784056425095, 0.02315892092883587, -0.02175377495586872, -0.006339275278151035, 0.020224034786224365, 0.002723644720390439, 0.013660125434398651, -0.023615844547748566, -0.0015624441439285874, 0.010533539578318596, -0.02449088543653488, 0.004736409056931734, 0.022784609347581863, -0.06499670445919037, 0.015306434594094753, -0.06445413082838058, -0.004854429513216019, -0.027147965505719185, -0.00661708926782012, 0.04864511638879776, 0.03637023642659187, 0.02667800337076187, 0.013382046483457088, -0.0031386506743729115, 0.013898150995373726, -0.029169175773859024, 0.009028764441609383, -0.03520188853144646, 0.004462394397705793, -0.03496043011546135, -0.011076039634644985, -0.0033045774325728416, 0.031076371669769287, -0.004354995675384998, -0.006075844168663025, 0.029337700456380844, -0.023077402263879776, -0.0182326827198267, -0.04430112615227699, 0.04398820921778679, -0.06264423578977585, 0.023226331919431686, -0.029513105750083923, -0.008803910575807095, 0.0033933648373931646, 0.011457668617367744, 0.04832977056503296, -0.021204253658652306, 0.012875099666416645, -0.010241002775728703, -0.01339519489556551, 0.03289945051074028, -0.008891372010111809, 0.022632282227277756, -0.028577113524079323, -0.009055322036147118, 0.011185982264578342, 0.07173838466405869, -0.009828761219978333, 0.0011796645121648908, -0.002811435842886567, 0.022189566865563393, -0.01040756143629551, 0.011512177996337414, 0.016612069681286812, -0.0025733185466378927, 0.023526351898908615, -0.030461493879556656, 0.021953780204057693, -0.00036826985888183117, -0.002336272969841957, 0.00694027217105031, -0.005478121805936098, -0.06900619715452194, 0.0011039817472919822, -0.006452038884162903, 0.0028865826316177845, -0.0302474033087492, 0.010925165377557278, 0.018438411876559258, -0.07875999063253403, 0.022051727399230003, 0.03381599858403206, 0.038711655884981155, 0.019066959619522095, -0.0353449285030365, 0.0029199374839663506, -0.029286671429872513, -0.022023865953087807, -0.009570105001330376, -0.04522457718849182, 0.033268336206674576, 0.036153826862573624, -0.045147884637117386, -0.08060109615325928, -0.05545133724808693, -0.006693778093904257, 0.006357257720082998, 0.00175021484028548, 0.056672707200050354, -0.029741238802671432, 0.024479813873767853, 0.02514454536139965, 0.005068541970103979, -0.04731043428182602, -0.008337609469890594, -0.015249059535562992, 0.001956076128408313, 0.037214700132608414, 0.030843127518892288, 0.04390127956867218, -0.007568927016109228, -0.029842406511306763, -0.0261528380215168, -0.024009259417653084, 0.009488440118730068, -0.027771517634391785, -0.04821642115712166, 0.0864231288433075, 0.008978449739515781, -0.02443213202059269, 0.0346628874540329, 0.01932068169116974, 0.05430298671126366, -0.002608135575428605, -0.01956854946911335, 0.010352425277233124, 0.07030835747718811, 0.03535814583301544, 0.0039236475713551044, -0.00004822380651603453, -0.023966187611222267, 0.017503686249256134, 0.05178232863545418, 0.03155903145670891, -0.026736337691545486, -0.004395404830574989, 0.03406185284256935, -0.013515922240912914, 0.03204147517681122, 0.010042057372629642, 0.028849544003605843, -0.008150174282491207, -0.06197052821516991, -0.009834060445427895, 0.02721346542239189, 0.009711241349577904, 0.004814205691218376, -0.043059851974248886, -0.03316439315676689, -0.02803831547498703, -0.053403500467538834, 0.034213218837976456, -0.02539033442735672, 0.014168288558721542, 0.03942278400063515, -0.049780406057834625, 0.0025029880926012993, -0.0005419963272288442, -0.045521922409534454, -0.014324693940579891, -0.0341816321015358, 0.00027164112543687224, -0.014532349072396755, -0.04623979702591896, -0.03156205639243126, 0.05806037038564682, 0.00028290977934375405, 0.030786912888288498, -0.004530034027993679, 0.023987537249922752, 0.01199581939727068, 0.05485237389802933, -0.013122718781232834, -0.02770962379872799, -0.08710267394781113, -0.03140927478671074, 0.018814144656062126, -0.011212254874408245, -0.03614860028028488, -0.010798853822052479, -0.02312026172876358, -0.018855391070246696, -0.018676389008760452, 0.004798478912562132, -0.0003329324536025524, -0.07577633112668991, -0.026905374601483345, 0.010859017260372639, 0.026953114196658134, 0.033402156084775925, -0.022062351927161217, 0.04829116538167, -0.007563584018498659, -0.02988439053297043, 0.031521379947662354, 0.013220780529081821, 0.0010631209006533027, 0.024230146780610085, 0.03517688438296318, 0.03444305434823036, -0.00819721631705761, -0.005768541246652603, -0.040127746760845184, -0.03358975797891617, 0.00955512747168541, 0.013382907956838608, 0.004485636949539185, -0.01706855744123459, 0.008248439058661461, 0.016201915219426155, 0.0019796472042798996, 0.0034642077516764402, -0.012546692974865437, -0.008044729009270668, -0.06649836152791977, -0.027109438553452492, 0.044814612716436386, 0.0030544251203536987, 0.022892197594046593, -0.0014711256371811032, 0.0015041482402011752, -0.01271471381187439, 0.04792534187436104, -0.04058557003736496, -0.016786962747573853, -0.009425592608749866, -0.029493015259504318, 0.002016528509557247, -0.014078543521463871, 0.037162017077207565, -0.02207387052476406, 0.040953945368528366, -0.005026854109019041, -0.011307843029499054, 0.0003246011328883469, -0.046737682074308395, -0.007533067837357521, -0.04154931381344795, -0.018427517265081406, 0.010962636210024357, -0.01850278116762638, 0.02338644675910473, 0.01637873984873295, 0.027890510857105255, -0.01429541502147913, 0.014468925073742867, 0.016025174409151077, 0.019171684980392456, -0.07524925470352173, 0.03086000122129917, -0.019366618245840073, -0.027926623821258545, -0.023295527324080467, 0.004791022278368473, -0.02116192691028118, 0.024332929402589798, -0.029099466279149055, 0.027635084465146065, 0.05595354735851288, -0.005845502018928528, 0.03760141879320145, -0.012191620655357838, -0.010987170971930027, 0.024915829300880432, 0.003021333832293749, 0.02939699776470661, 0.004663642030209303, 0.004275097046047449, 0.020037714391946793, 0.002844554604962468, -0.01522569078952074, 0.004162159748375416, -0.0027412022463977337, -0.027626285329461098, 0.03263192996382713, 0.05414402112364769, -0.005114104598760605, -0.008739910088479519, -0.013009454123675823, -0.004283495247364044, 0.031129557639360428, 0.019753510132431984, -0.005059482995420694, 0.011323641054332256, -0.04184923693537712, 0.0521584153175354, -0.0532599538564682, -0.038454342633485794, 0.044489987194538116, 0.061956100165843964, 0.013663254678249359, 0.004972247872501612, 0.01050794031471014, 0.03343931585550308, 0.03259748965501785, -0.01867242343723774, 0.02615811489522457, -0.011876676231622696, 0.04138867184519768, -0.024004735052585602, 0.025598108768463135, -0.005675928667187691, -0.010598084889352322, -0.03267182782292366, 0.0635128766298294, -0.006755255628377199, -0.022212598472833633, -0.013924220576882362, -0.01538898702710867, 0.0039460803382098675, 0.007162186782807112, -0.0065455688163638115, 0.037961408495903015, 0.0675867348909378, 0.020936066284775734, 0.01674218848347664, 0.019143471494317055, 0.03076823242008686, 0.015560589730739594, 0.028276395052671432, 0.003658175701275468, 0.008713888004422188, -0.01488523744046688, 0.028072349727153778, 0.02599344030022621, 0.06155860051512718, 0.016641372814774513, -0.012773655354976654, 0.015843356028199196, -0.006170798093080521, -0.03599207103252411, 0.03588371351361275, -0.03385419771075249, -0.02022097073495388, -0.0018829001346603036, -0.012149428017437458, -0.027759980410337448, 0.029725346714258194, -0.017992518842220306, -0.01507814321666956, 0.046963855624198914, 0.03435910493135452, -0.009031719528138638, 0.01656622253358364, 0.009800448082387447, 0.006988503038883209, -0.02495317906141281, -0.04369596019387245, -0.012486856430768967, -0.008818771690130234, -0.03253713995218277, -0.05763719230890274, 0.010104094631969929, -0.06851404905319214, -0.021275315433740616, 0.011865988373756409, 0.0014799728523939848, 0.0010064205853268504, -0.02402118407189846, 0.06374330073595047, 0.050210848450660706, 0.025027301162481308, -0.022198114544153214, -0.0087386853992939, -0.005722362548112869, 0.01386104803532362, 0.025787830352783203, 0.0031066834926605225, 0.011717336252331734, -0.07725249230861664, 0.018669171258807182, -0.021171245723962784, -0.01723138429224491, 0.02949645183980465, 0.06829304993152618, 0.02114848420023918, -0.03077404759824276, -0.05133439972996712, 0.0016444704961031675, -0.01745440438389778, 0.04832867532968521, -0.007976457476615906, -0.009053823538124561, -0.027014538645744324, -0.012419221922755241, 0.04974057897925377, 0.008361435495316982, 0.05788150429725647, 0.044288888573646545, -0.03436736389994621, -0.03288109228014946, -0.012400614097714424, 0.017921319231390953, 0.07474547624588013, 0.006683981977403164, 0.009042448364198208, -0.047797322273254395, -0.022013094276189804, -0.019739201292395592, -0.007850938476622105, -0.051417287439107895, -0.0023674156982451677, -0.025856655091047287, -0.042648401111364365, -0.005636575631797314, -0.029544485732913017, 0.013715112581849098, 0.03914591297507286, -0.03969515487551689, 0.014102030545473099, -0.031172657385468483, -0.008708582259714603, -0.0013125810073688626, 0.0233276579529047, 0.023543691262602806, 0.024890542030334473, 0.011791096068918705, -0.043176308274269104, -0.012022745795547962, -0.018517309799790382, 0.02425217069685459, -0.006318994797766209, 0.06930883973836899, -0.014308000914752483, 0.012473046779632568, -0.06918008625507355, -0.01706909015774727, 0.03779878094792366, -0.053188879042863846, 0.01551714539527893, -0.00867208931595087, 0.025726430118083954, -0.03505862504243851, -0.00222019967623055, -0.006332502234727144, -0.011336015537381172, 0.029212573543190956, -0.04119293764233589, -0.04592454433441162, 0.03754842281341553, -0.0011728426907211542, -0.056503523141145706, 0.020298751071095467, 0.007751354016363621, 0.015127284452319145, 0.020081136375665665, -0.021398352459073067, -0.012282508425414562, -0.05332448333501816, -0.009492157958447933, 0.019896509125828743, -0.026753397658467293, -0.018064815551042557, 0.0001003958604997024, 0.004033444449305534, -0.0009229433489963412, -0.012220933102071285, -0.03241991996765137, 0.03298692777752876, -0.005702442955225706, 0.019252320751547813, -0.0014017611974850297, 0.006607218645513058, -0.05352121591567993, 0.0004112356691621244, -0.02814878337085247, 0.0015994933201000094, 0.056951090693473816, 0.034586526453495026, -0.02495536021888256, -0.03794579952955246, -0.02462424524128437 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
Totally. Don't want to mess with a good thing! Lewis: Exactly.
[ 0.050263114273548126, 0.06281905621290207, 0.09846727550029755, 0.018047170713543892, 0.12420793622732162, -0.0215996615588665, 0.03215159475803375, 0.054584160447120667, -0.04439865052700043, -0.03675219789147377, -0.04196391999721527, 0.06819456815719604, -0.045238494873046875, -0.02867767959833145, 0.001082484726794064, 0.08240532875061035, 0.05196032300591469, -0.028037507086992264, -0.004350470844656229, 0.00825726892799139, 0.01514976192265749, 0.02013571746647358, 0.036846306174993515, 0.011146788485348225, 0.023179318755865097, -0.008038552477955818, -0.0089348079636693, -0.0578094944357872, -0.04433448985219002, 0.03205965459346771, 0.02718561328947544, -0.016793232411146164, 0.04774010553956032, 0.045912791043519974, 0.006506091915071011, -0.013904276303946972, -0.03310038149356842, 0.008078334853053093, -0.003922048024833202, -0.009270034730434418, -0.020036103203892708, -0.028297264128923416, -0.03376900404691696, 0.01221073791384697, -0.04619951173663139, 0.012383210472762585, -0.2729499340057373, 0.1075848788022995, -0.04460693150758743, -0.061255574226379395, -0.05477038398385048, 0.021741623058915138, 0.0047839330509305, -0.011734098196029663, 0.043880753219127655, 0.016916655004024506, 0.033940836787223816, -0.03793269023299217, 0.03038637526333332, -0.05388892441987991, 0.07837788015604019, -0.019542157649993896, 0.0058469390496611595, -0.0124955540522933, 0.03103734739124775, 0.07085337489843369, 0.03723778948187828, 0.04240508750081062, -0.05821393057703972, -0.030664974823594093, 0.022489439696073532, -0.025468021631240845, -0.05052646994590759, -0.0023849424906075, 0.08262899518013, -0.05495012551546097, -0.0707811787724495, 0.03671889007091522, 0.04222568869590759, 0.07325945049524307, 0.006632372736930847, -0.02592720463871956, 0.11919230222702026, 0.11327771097421646, -0.016735145822167397, -0.04692453518509865, 0.02676466852426529, -0.03642409294843674, -0.02030450850725174, 0.03910757228732109, -0.019138570874929428, -0.04667718708515167, 0.02731841243803501, 0.02864120341837406, 0.01209272537380457, -0.08166757971048355, 0.02498471736907959, -0.06534778326749802, 0.03223797306418419, 0.015431530773639679, -0.04900253564119339, -0.024988364428281784, 0.02026473544538021, -0.05313728004693985, -0.04059074819087982, 0.017618631944060326, 0.024196231737732887, -0.06201877072453499, -0.02321798726916313, 0.060673993080854416, -0.028063302859663963, 0.040721625089645386, 0.07572733610868454, -0.01268082670867443, -0.051909077912569046, 0.030304450541734695, 0.005286439787596464, 0.015364659018814564, -0.0027849709149450064, 0.008685315027832985, 0.0412234291434288, 0.07436057180166245, 0.05509229004383087, 0.030391188338398933, 0.05422987416386604, -0.009723000228404999, 0.0015919911675155163, 0.07399653643369675, -0.09317313879728317, -0.09788230806589127, 0.024843597784638405, 0.06493502110242844, 0.02218027412891388, -0.03158968687057495, -0.024893730878829956, -0.07210354506969452, 0.04028087481856346, 0.004037494771182537, 0.010118274949491024, -0.032025568187236786, -0.007584943901747465, 0.025057556107640266, -0.014777468517422676, 0.08190163969993591, 0.001355108805000782, -0.05647260695695877, -0.024408575147390366, 0.06916038691997528, 0.015304837375879288, 0.030537892132997513, 0.06062307581305504, 0.09431798756122589, -0.04451621696352959, -0.08304940164089203, 0.02340809814631939, 0.022962793707847595, -0.024703675881028175, 0.056553833186626434, -0.06300731748342514, -0.0024024811573326588, 0.055656224489212036, -0.010865911841392517, 0.02414177916944027, -0.04611411690711975, 0.035159170627593994, -0.016912046819925308, -0.01516522467136383, -0.026726068928837776, -0.07784378528594971, -0.07966674864292145, -0.042868051677942276, 0.01055199559777975, 0.035763174295425415, -0.027043750509619713, -0.04711226746439934, 0.03200053796172142, 0.04747258126735687, 0.0016714328667148948, -0.0016416902653872967, 0.007420518901199102, -0.024482613429427147, 0.019915545359253883, -0.03969636186957359, -0.0046717217192053795, 0.015941226854920387, 0.03516457602381706, 0.032528094947338104, -0.021519387140870094, -0.002857515588402748, 0.031936708837747574, -0.12276779860258102, -0.029075752943754196, 0.11413049697875977, -0.013558224774897099, -0.004667330998927355, -0.10183844715356827, -0.08160138875246048, 0.0800868421792984, 0.042574118822813034, 0.007816034369170666, 0.06849867850542068, 0.026922013610601425, 0.06775882840156555, -0.019191790372133255, -0.035007964819669724, 0.05072782561182976, 0.055892135947942734, 0.012331980280578136, 0.0009397543617524207, 0.015167640522122383, -0.0010876278392970562, -0.05453677475452423, 0.058970410376787186, -0.059716541320085526, -0.05686650052666664, -0.025410685688257217, -0.028571099042892456, -0.018536292016506195, 0.034060288220644, -0.08261283487081528, 0.033915746957063675, -0.003583005163818598, -0.028145482763648033, 0.042228709906339645, -0.014649910852313042, 0.10089349746704102, 0.07497499883174896, -0.016897600144147873, 0.020091531798243523, -0.08418720960617065, -0.0417451485991478, 0.007983074523508549, -0.054016295820474625, 0.059686094522476196, 0.012971972115337849, 0.047753509134054184, 0.0033935504034161568, -0.017984479665756226, 0.022249987348914146, -0.0502675361931324, 0.03000977262854576, -0.019266506657004356, -0.0010852785781025887, 0.08455399423837662, -0.03452898934483528, -0.04516634717583656, 0.0003869106585625559, 0.015934213995933533, -0.027026159688830376, -0.0018757074140012264, -0.07338188588619232, 0.03837219625711441, 0.00999627448618412, -0.025547318160533905, 0.04661864787340164, -0.07225845754146576, 0.002125207334756851, 0.00881958194077015, -0.012267490848898888, 0.0014061799738556147, -0.0028780156280845404, -0.03477640822529793, 0.0015964026097208261, -0.049110058695077896, 0.008101600222289562, -0.000840296852402389, 0.024132592603564262, 0.03165677562355995, -0.0026668203063309193, 0.053775519132614136, -0.018376225605607033, 0.0006630450370721519, 0.055235546082258224, -0.020861303433775902, -0.03316879644989967, 0.01061252225190401, 0.06232379004359245, -0.0013682229910045862, -0.015435424633324146, -0.00971134752035141, -0.012047450058162212, -0.01969468593597412, 0.00439869612455368, -0.0013955574249848723, 0.01348326075822115, -0.019783848896622658, 0.011285450309515, 0.009887231513857841, -0.02043876424431801, 0.0295993834733963, -0.010771014727652073, 0.047212619334459305, -0.007565678097307682, -0.0463361032307148, 0.0030395661015063524, -0.006767720449715853, -0.01198761910200119, 0.007254619617015123, -0.052540916949510574, -0.02507770247757435, 0.03362558037042618, 0.03434625640511513, -0.02272949554026127, 0.027767181396484375, -0.028705965727567673, 0.037992555648088455, 0.007945741526782513, 0.013755343854427338, -0.1483469158411026, -0.04081651568412781, 0.01854604110121727, 0.023605868220329285, -0.0038385323714464903, -0.004315825179219246, 0.0462154746055603, -0.04726429283618927, -0.030367035418748856, -0.008576410822570324, 0.00904910173267126, -0.009496991522610188, 0.029089804738759995, -0.007709268014878035, 0.006554947234690189, -0.0223917905241251, 0.006867154035717249, 0.0027292666491121054, -0.027402399107813835, 0.000056486111134290695, -0.006317556370049715, 0.03602178022265434, -0.004863707348704338, -0.007896474562585354, -0.020360689610242844, 0.03703811392188072, 0.0034083877690136433, 0.06786175817251205, 0.010061927139759064, -0.01741820201277733, -0.045686930418014526, 0.03922351077198982, -0.030032094568014145, 0.01992780901491642, 0.019232619553804398, -0.015618222765624523, -0.009511520154774189, -0.04284851998090744, -0.0029313531704247, 0.05188222974538803, 0.03045322559773922, 0.00024477599072270095, 0.0026401702780276537, 0.01820198819041252, -0.05975048616528511, 0.0016557028284296393, -0.024799631908535957, -0.024097880348563194, 0.051673199981451035, -0.043601732701063156, -0.03671720623970032, 0.007883346639573574, 0.019904999062418938, 0.02674669772386551, -0.009152797050774097, 0.013742892071604729, -0.03834021836519241, 0.010051599703729153, 0.027297722175717354, -0.04497060552239418, 0.009045767597854137, 0.017741600051522255, 0.008711453527212143, 0.03969310596585274, 0.012539411894977093, 0.05185740813612938, -0.05619628727436066, -0.019583411514759064, -0.016415411606431007, 0.039762113243341446, 0.014933849684894085, -0.013756233267486095, -0.009267867542803288, 0.013825646601617336, 0.02558423951268196, 0.03646468743681908, -0.02066263183951378, -0.014813053421676159, 0.06071339547634125, -0.01794484257698059, 0.015377728268504143, -0.028655894100666046, -0.012888705357909203, -0.019802212715148926, -0.017763901501893997, 0.02385837770998478, 0.0019972980953752995, 0.041030965745449066, -0.008507436141371727, 0.03765915706753731, 0.04497738555073738, 0.018789950758218765, -0.0037545249797403812, 0.04002348706126213, -0.0008609429933130741, 0.019575640559196472, 0.039816733449697495, 0.005200298503041267, 0.020493019372224808, -0.015826459974050522, 0.029497014358639717, -0.0048259892500936985, 0.0010105366818606853, 0.0027256521862000227, -0.0276667270809412, 0.01885906234383583, -0.03604310750961304, 0.009595281444489956, -0.018854117020964622, 0.02158964052796364, 0.015071968547999859, -0.0634656772017479, 0.008604566566646099, -0.05925552919507027, -0.021633075550198555, 0.0035694572143256664, -0.014079016633331776, -0.019644321873784065, -0.03301919996738434, 0.018677199259400368, -0.020855683833360672, 0.014085293747484684, 0.013789160177111626, -0.038596346974372864, -0.007790039759129286, 0.0007577371434308589, 0.0009251987794414163, -0.0025352146476507187, 0.01918186992406845, 0.01436860766261816, -0.03227519616484642, -0.03213904798030853, 0.04446945711970329, -0.004968517459928989, 0.03672925382852554, 0.008920461870729923, -0.021448669955134392, 0.059503551572561264, -0.008233210071921349, -0.08366287499666214, 0.0324113592505455, 0.015316050499677658, 0.0019371620146557689, -0.013628357090055943, 0.03507975488901138, -0.013288669288158417, -0.010123194195330143, -0.0065919458866119385, -0.00941536482423544, 0.025881245732307434, 0.05098848044872284, -0.030814962461590767, -0.0320528969168663, -0.009840966202318668, -0.013746829703450203, 0.04611421748995781, -0.005322900600731373, -0.024415045976638794, -0.003597961738705635, 0.06661195307970047, -0.0341426357626915, -0.002118786796927452, -0.0328715518116951, 0.052865467965602875, -0.0033954987302422523, -0.0014952432829886675, -0.019033828750252724, -0.008439155295491219, -0.013620899058878422, -0.009227889589965343, -0.018842631950974464, -0.03031652793288231, 0.01052484754472971, 0.0030987970530986786, 0.03893876075744629, 0.01213750895112753, 0.014443732798099518, 0.019582388922572136, 0.013799333944916725, 0.007190684787929058, -0.00337270088493824, 0.01302611269056797, 0.022193703800439835, 0.0031859097070991993, 0.01834952086210251, -0.01874781772494316, 0.03100791573524475, -0.003935135900974274, 0.0378238819539547, 0.05107120797038078, -0.027366215363144875, -0.020557262003421783, -0.0003244367253500968, -0.015373450703918934, 0.004522209521383047, 0.030033642426133156, -0.004233150277286768, -0.030488271266222, 0.0114302858710289, -0.010788043029606342, -0.002353447722271085, 0.0006856598192825913, -0.005268924403935671, -0.016412612050771713, 0.0003749297757167369, 0.005028733517974615, 0.0016595869092270732, -0.002369997790083289, -0.02889871597290039, -0.014243840239942074, 0.02367176115512848, 0.01329435408115387, -0.0302188228815794, 0.010857317596673965, -0.00685080885887146, -0.0427468940615654, -0.044278401881456375, 0.03465862199664116, -0.03960190713405609, 0.028969058766961098, 0.04295094311237335, 0.002343157771974802, -0.03194722905755043, 0.0701771154999733, 0.049623169004917145, -0.010665234178304672, -0.003846327308565378, 0.031045297160744667, 0.018525533378124237, 0.0035339612513780594, 0.03739963844418526, 0.04272879660129547, -0.000453207700047642, 0.008403920568525791, 0.01831013523042202, 0.030893752351403236, -0.04634857550263405, 0.023633500561118126, -0.035790156573057175, 0.001063956064172089, -0.00037942014751024544, -0.024025002494454384, -0.018289539963006973, -0.026994632557034492, -0.011154411360621452, 0.009764193557202816, 0.016898803412914276, 0.009787424467504025, 0.01674444042146206, -0.0008383126696571708, 0.053047921508550644, -0.005327293649315834, 0.005073219072073698, -0.01869068667292595, -0.01582908444106579, -0.008045461028814316, 0.01770569570362568, -0.019787520170211792, 0.0024968055076897144, -0.04494708031415939, -0.00977811124175787, 0.01845158077776432, 0.0305962972342968, 0.03170253708958626, -0.025835348293185234, 0.033874619752168655, 0.02752760425209999, -0.00553989689797163, -0.0014363433001562953, -0.009578843601047993, -0.026434846222400665, -0.016178105026483536, 0.03455764427781105, -0.0255472082644701, 0.02949722856283188, -0.021030312404036522, 0.013072465546429157, -0.0025962460786104202, 0.011332474648952484, -0.00045303854858502746, -0.0067391241900622845, 0.026290981099009514, 0.01640387251973152, -0.019588662311434746, -0.029492083936929703, 0.004622797481715679, -0.007234666030853987, 0.012292850762605667, 0.07894191145896912, 0.033392924815416336, -0.016222823411226273, -0.013586897403001785, -0.001633118954487145, 0.005205546040087938, -0.03808542340993881, 0.01150456815958023, 0.026723388582468033, -0.00581468315795064, 0.031452521681785583, -0.03932303190231323, 0.016356032341718674, -0.04503367096185684, -0.011379086412489414, -0.01501450315117836, -0.036756448447704315, 0.007632484659552574, 0.016243532299995422, 0.007646378129720688, 0.00621445756405592, -0.018938422203063965, 0.007409859914332628, 0.057030465453863144, -0.03685758262872696, -0.012823120690882206, 0.008614815771579742, -0.04669672250747681, 0.059912893921136856, -0.03326089307665825, -0.027217140421271324, 0.01254730299115181, 0.0409233458340168, -0.046133462339639664, -0.033370424062013626, -0.009609776549041271, -0.026216372847557068, -0.08120988309383392, 0.011672387830913067, 0.029166247695684433, 0.015711870044469833, -0.007162024267017841, -0.00445379177108407, 0.03206559643149376, -0.014637978747487068, 0.011747212149202824, -0.015698518604040146, 0.05016366392374039, 0.04337695613503456, 0.03691037744283676, -0.05708523094654083, -0.007921016775071621, -0.023414727300405502, 0.001627175253815949, 0.027724677696824074, -0.003826986299827695, 0.00014173254021443427, 0.0016802615718916059, 0.003101346082985401, -0.0016440325416624546, -0.037308573722839355, 0.008815063163638115, 0.014469542540609837, 0.03448855131864548, -0.018477963283658028, 0.02238130196928978, -0.0027154376730322838, -0.010142655111849308, 0.0033246439415961504, -0.015341880731284618, -0.003672816092148423, 0.010531868785619736, 0.003886254271492362, 0.0034579592756927013, 0.0007755232509225607, -0.030459947884082794, -0.019685368984937668, 0.003003984224051237, -0.021981773898005486, 0.02105124108493328, -0.0031019465532153845, 0.017482120543718338, -0.0021592762786895037, 0.013044597581028938, 0.031296778470277786, 0.03977622836828232, -0.026405205950140953, -0.024279866367578506, -0.022716479375958443, -0.008470824919641018, -0.02236439287662506, 0.014032764360308647, 0.05126829445362091, -0.006804036907851696, 0.02514002099633217, 0.009545345790684223, 0.048872143030166626, -0.018878374248743057, -0.02525871805846691, 0.012580427341163158, 0.019368350505828857, -0.010458225384354591, -0.0052784280851483345, -0.013515903614461422, -0.010696078650653362, -0.08893642574548721, 0.009212994948029518, -0.023188350722193718, -0.012855061329901218, -0.027716560289263725, -0.0009531050454825163, 0.01408776082098484, -0.021696779876947403, 0.0463780015707016, 0.02475268766283989, 0.014642437919974327, 0.008991525508463383, -0.006471473723649979, 0.02797299064695835, -0.021334616467356682, 0.017219677567481995, 0.009526345878839493, 0.01175973191857338, -0.014567503705620766, 0.014350100420415401, -0.0691303163766861, 0.041866667568683624, -0.030100125819444656, -0.0551329106092453, 0.0110288355499506, 0.030286140739917755, -0.007686147931963205, -0.006619239691644907, 0.005622281692922115, -0.014140099287033081, -0.00203864392824471, -0.0035692325327545404, 0.03545648977160454, 0.0066285887733101845, 0.009548414498567581, 0.0030130327213555574, -0.027068525552749634, 0.017883453518152237, -0.003965314012020826, 0.0604940764605999, 0.038282912224531174, 0.06412497907876968, -0.023231137543916702, -0.002727353014051914, -0.05977482721209526, -0.003908519633114338, 0.032731812447309494, -0.004827529191970825, 0.02200932614505291, 0.013641337864100933, -0.008605094626545906, -0.0025914746802300215, -0.041771531105041504, 0.04143041744828224, 0.0009817320387810469, -0.009829975664615631, -0.0010664954315871, -0.006987008731812239, -0.010527040809392929, 0.02001689001917839, 0.030382830649614334, 0.0012078866129741073, 0.05112950876355171, 0.038178008049726486, -0.007809860166162252, 0.01627415232360363, 0.04091125726699829 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
Should people be afraid of AI taking over the world? Lewis: Maybe. It’s a tough one because I think we have reasons to think that we may create systems that are quite dangerous in the sense that they could be used to cause a lot of harm. An analogy is perhaps with weapons you can use within the sports like archery and shooting, but you can also use them for war. One big risk is probably if we think about combining these techniques with the military perhaps this leads to some tricky situations. But, I'm not super worried about the Terminator. I'm more worried about, I don't know, a rogue agent on the financial stock market bankrupting the whole world.
[ 0.0735272467136383, -0.009528965689241886, 0.02140916883945465, 0.0553978756070137, 0.0484887920320034, -0.01268883515149355, -0.004100122023373842, -0.016708748415112495, -0.032164640724658966, -0.005144935101270676, -0.08081457018852234, 0.028583643957972527, -0.05412030220031738, 0.05812598019838333, 0.06973538547754288, -0.022344818338751793, -0.014898145571351051, -0.014730844646692276, 0.016123797744512558, 0.016725996509194374, -0.023541821166872978, 0.044950224459171295, 0.048853177577257156, -0.018728114664554596, -0.02313155122101307, -0.003502148436382413, 0.01955787092447281, -0.04308049753308296, -0.04877053573727608, -0.022117603570222855, -0.023781223222613335, -0.03441430628299713, -0.04719240218400955, 0.03193184360861778, 0.011682519689202309, -0.031395237892866135, -0.1337687224149704, 0.06511297821998596, -0.015613270923495293, 0.018461190164089203, 0.004864901304244995, 0.016769027337431908, -0.04533402994275093, 0.03915431722998619, -0.07253700494766235, -0.07468778640031815, -0.2253456860780716, 0.11695732921361923, -0.07091818004846573, -0.05159953981637955, -0.04879091680049896, 0.054708704352378845, -0.02744072489440441, -0.02175706997513771, 0.030226649716496468, 0.009102870710194111, 0.06316188722848892, -0.08721566200256348, -0.04303419217467308, -0.03860409930348396, 0.02666601724922657, 0.010496346279978752, 0.015392332337796688, -0.02376517653465271, 0.03107019141316414, -0.04821281507611275, 0.1054690033197403, -0.022680195048451424, -0.10449263453483582, -0.022542668506503105, 0.05592484772205353, -0.017881004139780998, -0.07278408855199814, -0.01834246516227722, -0.012630946934223175, -0.021777218207716942, 0.0015700365183874965, 0.10647362470626831, -0.005898952018469572, 0.007965710945427418, 0.0703391581773758, 0.03403390198945999, 0.12147902697324753, 0.07427500933408737, -0.020950214937329292, 0.00019429641542956233, 0.008894447237253189, 0.07658998668193817, -0.05514069274067879, 0.08314458280801773, 0.024551812559366226, -0.06625175476074219, -0.0010158425429835916, 0.005400403402745724, 0.06868048012256622, -0.005284527316689491, -0.029894793406128883, -0.029302062466740608, -0.05618730187416077, 0.030220940709114075, -0.038706064224243164, -0.046211473643779755, 0.11098785698413849, -0.03356167674064636, -0.015053829178214073, 0.0012833485379815102, 0.08276118338108063, -0.05313338339328766, -0.0004502719093579799, -0.0074044037610292435, -0.02787512168288231, -0.02238263376057148, 0.06519041955471039, -0.028623415157198906, -0.05783022195100784, 0.014056365936994553, 0.056547071784734726, -0.03745081648230553, 0.079844631254673, 0.050859227776527405, 0.07139916718006134, 0.023573137819767, -0.03666188567876816, 0.0506770983338356, 0.014880665577948093, -0.034119971096515656, 0.02723000757396221, 0.013611444272100925, -0.04577229171991348, -0.08609426021575928, 0.04672445356845856, 0.026632294058799744, -0.054687127470970154, -0.015830669552087784, 0.040365319699048996, 0.002514077816158533, 0.0006329651805572212, -0.004176350310444832, 0.0036241572815924883, -0.02031893841922283, -0.04222884774208069, -0.023824268952012062, 0.050917696207761765, 0.06482008099555969, 0.048768073320388794, -0.028991738334298134, -0.04216603562235832, 0.03453299403190613, 0.019344035536050797, 0.0008542811265215278, -0.0525924377143383, 0.0386960543692112, -0.048427265137434006, -0.031385667622089386, 0.005973901599645615, 0.04561493918299675, 0.016516467556357384, -0.030670376494526863, 0.03825589641928673, 0.01771450787782669, 0.015226016752421856, 0.005376441404223442, 0.02506098523736, -0.06672835350036621, 0.06594830751419067, -0.11984025686979294, 0.018464824184775352, -0.005122163332998753, -0.014261072501540184, -0.027472369372844696, -0.07011038810014725, 0.010167906992137432, 0.0647125169634819, -0.07911019772291183, 0.038249578326940536, 0.050141919404268265, 0.021747181192040443, 0.0372178815305233, 0.011363063007593155, 0.025629350915551186, -0.025969248265028, 0.021547116339206696, 0.00594320148229599, -0.008622943423688412, 0.01048254407942295, -0.05660188943147659, -0.001827400061301887, 0.009359179064631462, 0.04873371869325638, 0.03517986461520195, -0.026464419439435005, -0.0325460247695446, 0.045556794852018356, 0.04855267331004143, 0.023006964474916458, -0.09829609841108322, -0.045458678156137466, 0.08167839050292969, 0.028012925758957863, 0.06099903583526611, 0.026133516803383827, -0.043094515800476074, 0.03213261440396309, -0.0336642824113369, -0.020433897152543068, 0.04597386345267296, 0.0403798446059227, -0.019914008677005768, 0.015084772370755672, 0.04147969186306, 0.09171991050243378, -0.07292401045560837, -0.038029368966817856, -0.032444968819618225, 0.013796638697385788, -0.00016754260286688805, -0.04663383960723877, 0.024760616943240166, -0.025432167574763298, -0.03430608659982681, 0.046084556728601456, -0.029156479984521866, -0.03042314015328884, 0.037923432886600494, 0.027847738936543465, 0.032402556389570236, 0.029439939185976982, -0.0021182342898100615, 0.015736905857920647, -0.07063916325569153, -0.02983149327337742, 0.04863394796848297, -0.007671888452023268, -0.04144086688756943, -0.028183601796627045, 0.08452367782592773, -0.003700156230479479, -0.017140306532382965, -0.021332092583179474, -0.11507387459278107, 0.0192636176943779, -0.08072254806756973, -0.014284679666161537, 0.09014645963907242, -0.03164903447031975, -0.0214114710688591, 0.0596541203558445, -0.01474092062562704, 0.014340206049382687, -0.024693673476576805, -0.07980629056692123, 0.04959365352988243, 0.028805892914533615, 0.014519470743834972, -0.0023502057883888483, 0.00806884840130806, 0.024403167888522148, -0.003939973656088114, 0.017106620594859123, -0.029418447986245155, 0.023456500843167305, -0.015118760988116264, -0.013791002333164215, -0.04672553762793541, -0.00090285565238446, -0.03215564042329788, -0.02114579826593399, -0.01248350739479065, -0.001925684860907495, 0.008914577774703503, 0.06259384751319885, -0.0037547301035374403, 0.052980370819568634, 0.009630542248487473, -0.019281825050711632, 0.012320857495069504, 0.061911169439554214, 0.01839958131313324, -0.009321914985775948, 0.002990391803905368, 0.02131914719939232, 0.006689826492220163, 0.02499752677977085, -0.011325539089739323, 0.0046981205232441425, -0.043963830918073654, -0.0002547524345573038, 0.01748480834066868, -0.002936881734058261, 0.04237161576747894, -0.029226386919617653, 0.020625527948141098, -0.003823940409347415, 0.015822404995560646, -0.03240613266825676, -0.05476328730583191, 0.01869054324924946, -0.0183589905500412, -0.04888300970196724, -0.01980864442884922, -0.0028471732512116432, 0.051549896597862244, -0.009054014459252357, -0.0015715043991804123, -0.008050976321101189, 0.038120087236166, 0.018299948424100876, 0.029379190877079964, -0.10130544006824493, -0.05432227626442909, 0.007443791255354881, 0.03693588823080063, -0.00554352393373847, 0.011537403799593449, 0.029689084738492966, -0.01974327117204666, -0.0034882451873272657, -0.012657196260988712, 0.014326083473861217, -0.010313509963452816, 0.023445280268788338, 0.011846375651657581, 0.059697769582271576, -0.044403161853551865, 0.021774210035800934, -0.0038119107484817505, 0.012495864182710648, 0.03747124969959259, -0.036090925335884094, 0.07403364777565002, -0.034926317632198334, 0.02129148505628109, -0.02736930549144745, 0.00020860919903498143, -0.015422455035150051, 0.05073978006839752, 0.03264615312218666, 0.0060876705683767796, -0.019189035519957542, -0.014558041468262672, -0.018948553130030632, 0.002789196791127324, -0.010535798035562038, 0.02273019216954708, 0.0353185199201107, -0.002602574648335576, 0.010544599033892155, 0.09927967935800552, 0.028883425518870354, -0.02699173241853714, 0.012213959358632565, -0.015415795147418976, -0.001482610940001905, -0.005202141590416431, 0.0003317798546049744, 0.010061652399599552, -0.015124375000596046, -0.054432496428489685, 0.006322886329144239, 0.033808398991823196, -0.0011044983984902501, 0.02558313123881817, 0.0010315428953617811, 0.02999364212155342, -0.0047293431125581264, 0.050506893545389175, -0.015210449695587158, 0.02267618291079998, -0.010429468005895615, 0.044832758605480194, 0.024240905418992043, 0.01302711945027113, 0.019601577892899513, 0.04347815364599228, -0.002522266935557127, -0.019023483619093895, 0.012344298884272575, -0.008681290782988071, 0.022036680951714516, -0.01319198403507471, 0.015168821439146996, 0.008655386976897717, -0.007338626775890589, 0.018755050376057625, -0.0046210759319365025, -0.007649419829249382, 0.06711649149656296, 0.017361337319016457, -0.019208496436476707, -0.04952479526400566, -0.013897367753088474, -0.049981970340013504, -0.016116665676236153, -0.02855723910033703, 0.030023833736777306, 0.003938042093068361, 0.016974925994873047, 0.06175501272082329, 0.005877967923879623, -0.06771634519100189, 0.00939230713993311, 0.01905590295791626, -0.008190502412617207, 0.009218915365636349, 0.025669898837804794, -0.0009776672814041376, -0.0002447563165333122, 0.000491434067953378, 0.04091380909085274, -0.048548001796007156, -0.003365623764693737, -0.037495389580726624, -0.02296488545835018, 0.055037856101989746, 0.009896904230117798, 0.0038184758741408587, 0.01548429299145937, -0.005175648722797632, 0.03529726341366768, -0.01868782751262188, 0.034029025584459305, -0.0386471264064312, 0.005594231653958559, -0.006601184606552124, -0.014449739828705788, 0.0179643202573061, -0.013405333273112774, -0.0077896821312606335, -0.03701770678162575, 0.007594024762511253, -0.022493278607726097, 0.005385491997003555, 0.005714326165616512, -0.028034623712301254, 0.010395863093435764, -0.03594508022069931, 0.007279068697243929, 0.0016831221291795373, 0.005898764822632074, -0.0006653591408394277, -0.00349435955286026, 0.01709914021193981, 0.03625298663973808, 0.021577339619398117, 0.022000297904014587, 0.04344247281551361, -0.004238993860781193, -0.012001683004200459, 0.01005607657134533, 0.015853019431233406, 0.043851159512996674, -0.006101991981267929, 0.027545787394046783, -0.01671387255191803, -0.03411275893449783, -0.028810610994696617, 0.0074869245290756226, 0.051256392151117325, 0.023081066086888313, 0.024744734168052673, -0.0018401558045297861, -0.013701644726097584, 0.0399656817317009, -0.03580024838447571, 0.032342277467250824, 0.004976752679795027, -0.025322208181023598, 0.014471245929598808, 0.03554854914546013, 0.03587185591459274, -0.006187545135617256, -0.006615740712732077, 0.04584042355418205, 0.03892168775200844, 0.015551699325442314, -0.04444326460361481, 0.002802679082378745, 0.022990606725215912, 0.017050161957740784, -0.00865104142576456, -0.0378507524728775, 0.013301350176334381, 0.006995862349867821, -0.003767296439036727, -0.015412217006087303, 0.0035754998680204153, -0.02830825001001358, -0.019255129620432854, 0.032420504838228226, 0.011600153520703316, 0.0046779438853263855, -0.029606280848383904, 0.0143967280164361, -0.004535658285021782, 0.042228203266859055, 0.050028808414936066, -0.02938693016767502, -0.027621706947684288, 0.022810501977801323, 0.030635638162493706, -0.007515932898968458, -0.029942966997623444, 0.013529992662370205, 0.037501607090234756, -0.0004957427736371756, -0.016647623851895332, -0.014986932277679443, 0.023325905203819275, 0.03338908404111862, 0.034165918827056885, 0.0049436348490417, -0.01299342792481184, 0.0037535158917307854, -0.029310723766684532, -0.005958870984613895, 0.004850489087402821, 0.015497471205890179, 0.008261347189545631, -0.009451991878449917, -0.010776055045425892, -0.01587456464767456, -0.017253369092941284, -0.052780624479055405, -0.0066069019958376884, -0.0585426390171051, 0.04785359650850296, -0.015398876741528511, 0.044389884918928146, 0.029802490025758743, 0.01223438885062933, -0.04989767074584961, -0.0009569953544996679, 0.012216427363455296, 0.018504537642002106, -0.02835707738995552, 0.04883715510368347, 0.03390925005078316, -0.015080169774591923, 0.009395402856171131, 0.03153594583272934, 0.03178313374519348, 0.061860229820013046, -0.0064523667097091675, -0.009719056077301502, -0.02425985038280487, 0.0678577870130539, 0.010707216337323189, -0.060916706919670105, -0.003754435107111931, -0.05556224286556244, -0.005478104576468468, -0.02862239070236683, -0.01577085256576538, 0.009960848838090897, 0.03337795287370682, 0.025014808401465416, -0.013942726887762547, -0.028729794546961784, 0.03481551259756088, 0.01607498712837696, -0.003990469966083765, -0.029287466779351234, 0.004124929197132587, 0.006546672899276018, 0.0027831443585455418, -0.005466959904879332, -0.012161880731582642, -0.02103790082037449, -0.012721327133476734, -0.03625220060348511, 0.015135782770812511, 0.03873574733734131, 0.052737846970558167, 0.043541159480810165, 0.019307885318994522, -0.012441585771739483, -0.03150147199630737, -0.014651281759142876, 0.0034152809530496597, 0.04095900431275368, -0.014315659180283546, -0.011373125948011875, 0.011401009745895863, 0.008460786193609238, 0.019552547484636307, 0.019463738426566124, -0.03121795505285263, 0.029653601348400116, 0.008152524940669537, 0.07260128855705261, 0.0196247361600399, -0.08332481980323792, 0.0005446748109534383, 0.018137292936444283, 0.023780200630426407, 0.02132536843419075, 0.04217271879315376, 0.028628572821617126, -0.013390898704528809, -0.06125389039516449, -0.014567742124199867, 0.03746495768427849, -0.04718136042356491, 0.01843375712633133, 0.006352988071739674, -0.047356072813272476, 0.03805321455001831, -0.029068563133478165, 0.01983652636408806, -0.011911864392459393, 0.01313096471130848, -0.0038473771419376135, 0.025254180654883385, 0.0003631023573689163, 0.02851364202797413, -0.018968386575579643, 0.015345192514359951, -0.014008096419274807, 0.012634584680199623, 0.021856073290109634, 0.011321489699184895, 0.002224624389782548, -0.0031638392247259617, -0.006750392261892557, 0.014183588325977325, -0.004727296996861696, -0.022169487550854683, -0.028861261904239655, -0.009458680637180805, -0.024995407089591026, -0.0372372567653656, -0.01865340955555439, 0.028063062578439713, -0.03270347788929939, -0.02130971848964691, 0.01514312531799078, -0.01840510405600071, -0.05677281320095062, -0.026815155521035194, 0.019276367500424385, 0.003422159468755126, 0.002350588096305728, -0.03540802747011185, -0.02915741316974163, 0.05796559900045395, -0.009865974076092243, -0.05106903985142708, -0.016841940581798553, 0.0009505808120593429, -0.06744734942913055, -0.021928030997514725, -0.018778463825583458, -0.03231881186366081, -0.046883970499038696, 0.010722736828029156, 0.0464898981153965, -0.03352230414748192, 0.008788900449872017, 0.031074196100234985, 0.006097132805734873, -0.018571464344859123, -0.007001988124102354, -0.019799737259745598, -0.008323471061885357, -0.039910946041345596, 0.006758041214197874, 0.025457071140408516, -0.043123096227645874, 0.00251716747879982, -0.007266812026500702, 0.015238908119499683, -0.024650976061820984, 0.04748154804110527, 0.040863800793886185, -0.03566620498895645, 0.00959398690611124, 0.005371950566768646, 0.0520101897418499, -0.02312128245830536, 0.021784095093607903, 0.015993040055036545, -0.009914212860167027, -0.02900145761668682, -0.01807919330894947, 0.057252973318099976, -0.01936361752450466, -0.04071997106075287, 0.009307175874710083, 0.011272518895566463, 0.018306761980056763, 0.01610201597213745, 0.012333468534052372, 0.033400095999240875, -0.01695195399224758, -0.014710142277181149, 0.01175791397690773, -0.015886621549725533, 0.04385429620742798, -0.0024623365607112646, -0.01263987086713314, -0.0406968928873539, -0.038693398237228394, 0.015626313164830208, -0.00790493655949831, -0.02642001397907734, -0.03501511365175247, -0.029691392555832863, 0.043382514268159866, -0.06073174625635147, 0.02199888974428177, 0.051751282066106796, 0.02236764505505562, -0.012471195310354233, -0.07764136791229248, 0.027731508016586304, -0.017492275685071945, -0.007524813991039991, 0.023795701563358307, 0.005883835721760988, -0.002726636826992035, -0.02024124562740326, 0.0077131385914981365, -0.009243745356798172, -0.017702506855130196, -0.005804178770631552, -0.018429504707455635, 0.038185376673936844, -0.024881353601813316, 0.007430780213326216, -0.011517565697431564, -0.06039399281144142, -0.019296890124678612, 0.0043862443417310715, -0.004888823255896568, -0.03459789976477623, -0.01694875955581665, 0.04520328715443611, -0.020440340042114258, 0.02520228736102581, -0.011681271716952324, 0.04219767078757286, 0.03519349545240402, 0.07565663754940033, -0.06541457027196884, 0.022155068814754486, -0.025067271664738655, 0.017229100689291954, 0.024114733561873436, -0.033064041286706924, 0.0026960934046655893, -0.03662101924419403, 0.016263803467154503, 0.012053422629833221, -0.05836019292473793, -0.00006040470179868862, -0.0007392221014015377, 0.02997509390115738, 0.008608026430010796, 0.009208825416862965, -0.03308550640940666, 0.029448173940181732, 0.037745047360658646, -0.015377692878246307, 0.01878483034670353, 0.016590073704719543, 0.0215993020683527, 0.03244219720363617, 0.004881313536316156 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
What are some of the industries you're most excited to see machine learning applied? Lewis: As I mentioned before, I think the natural sciences is the area I’m most excited about This is where I think that's most exciting. If we look at something, say at the industrial side, I guess some of the development of new drugs through machine learning is very exciting. Personally, I'd be really happy if there were advancements in robotics where I could finally have a robot to like fold my laundry because I really hate doing this and it would be nice if like there was an automated way of handling that.
[ 0.12190945446491241, -0.010571589693427086, 0.03113800846040249, -0.021355826407670975, 0.029292525723576546, 0.036977577954530716, -0.06477700918912888, 0.07197890430688858, -0.04444504901766777, 0.01132300216704607, -0.07217763364315033, 0.030094318091869354, 0.021892795339226723, 0.0393897145986557, 0.03197425976395607, -0.01646553911268711, -0.006570151075720787, -0.003867796855047345, 0.06498640030622482, -0.00996590405702591, -0.08572991192340851, 0.045619718730449677, 0.05713807791471481, 0.020445886999368668, -0.034283820539712906, -0.027776464819908142, -0.023636875674128532, -0.009064817801117897, -0.06538262218236923, 0.015247710049152374, -0.07486598938703537, 0.01527926791459322, -0.050574589520692825, 0.06860372424125671, -0.06412045657634735, 0.0005117523251101375, -0.12258504331111908, 0.0692940279841423, 0.0046360185369849205, -0.038939591497182846, -0.044172145426273346, -0.029310833662748337, -0.08372201770544052, 0.024731231853365898, -0.061803415417671204, -0.03587847203016281, -0.18901515007019043, 0.08333078771829605, -0.036208752542734146, -0.04234170913696289, -0.019712813198566437, 0.10022740066051483, -0.01958848536014557, 0.007175580598413944, 0.013018165715038776, 0.07581497728824615, 0.04527519643306732, -0.050661854445934296, -0.0217644814401865, 0.0032188526820391417, 0.024205513298511505, 0.03810025751590729, 0.02191106788814068, 0.051592666655778885, 0.05346134677529335, -0.01587049290537834, 0.039867300540208817, -0.02020431123673916, -0.05568414926528931, -0.0050820293836295605, 0.0925360843539238, -0.023501647636294365, -0.03994646668434143, -0.01723908819258213, 0.05933886393904686, -0.016571294516324997, 0.023736584931612015, 0.04247055575251579, -0.007588378619402647, 0.029166098684072495, 0.03014487586915493, -0.027835384011268616, 0.09649690985679626, 0.05332327261567116, 0.06199515983462334, 0.030617786571383476, 0.026280732825398445, -0.00497947633266449, -0.027812402695417404, 0.07916881144046783, 0.05429202690720558, -0.06922254711389542, 0.04161630943417549, 0.007063159719109535, 0.1085997149348259, -0.08657440543174744, -0.0034313274081796408, -0.05324053391814232, -0.059824418276548386, 0.00012788569438271224, -0.022515665739774704, -0.04417154937982559, 0.05524227023124695, -0.04666496068239212, -0.030055468901991844, 0.06835107505321503, -0.01895722933113575, -0.06653062999248505, -0.049877334386110306, 0.04563910886645317, -0.031595565378665924, -0.044463273137807846, 0.02142375521361828, 0.03000134974718094, -0.033801574259996414, 0.07731697708368301, 0.015162545256316662, -0.02987285517156124, 0.02454317919909954, 0.030443228781223297, 0.007993989624083042, 0.019985154271125793, -0.04343905672430992, 0.05881036818027496, -0.036271896213293076, 0.017579413950443268, -0.040703192353248596, 0.018806742504239082, 0.042748212814331055, -0.09348031878471375, 0.07093814015388489, 0.03928086906671524, -0.031940557062625885, 0.009929624386131763, 0.07885240018367767, -0.062037836760282516, -0.027212044224143028, -0.0277211032807827, 0.0033873473294079304, -0.02386687695980072, -0.051688238978385925, -0.0013348846696317196, 0.04371052235364914, 0.03524400293827057, 0.04779444634914398, -0.07610010355710983, -0.01754113845527172, 0.013331105932593346, -0.046625059098005295, 0.017433399334549904, -0.057102836668491364, 0.045217759907245636, -0.11218705028295517, -0.03584004193544388, 0.044610653072595596, 0.05194685980677605, -0.014454926364123821, -0.016736481338739395, 0.062415365129709244, -0.006168677005916834, -0.03574862331151962, 0.031157122924923897, 0.008481589145958424, -0.028061095625162125, 0.048499807715415955, -0.06471416354179382, 0.022687029093503952, -0.0019220610847696662, -0.06490727514028549, 0.03473552688956261, -0.03505299612879753, -0.04766600951552391, 0.045302268117666245, -0.04867124930024147, -0.018345551565289497, -0.007288537919521332, 0.019694902002811432, 0.05929208919405937, -0.040561333298683167, 0.024482324719429016, 0.010135089978575706, 0.012261470779776573, -0.011007743887603283, 0.013492478057742119, 0.05895969271659851, -0.040952254086732864, 0.02470553293824196, -0.00659957155585289, 0.0467442162334919, 0.013528309762477875, -0.0384778268635273, -0.0012229178100824356, 0.06549222767353058, 0.005092381499707699, 0.026938220486044884, 0.00548596354201436, -0.059702318161726, 0.08117269724607468, -0.03649625554680824, 0.025920549407601357, 0.04339633136987686, -0.011248200200498104, 0.03003164753317833, -0.03493248298764229, 0.0384778156876564, -0.02930113859474659, 0.030738590285182, -0.014413439668715, -0.017821334302425385, 0.003870575223118067, 0.06183195114135742, -0.1195845976471901, 0.0032319617457687855, -0.03928850218653679, 0.015201818197965622, 0.010931489057838917, -0.07008098810911179, 0.04420572519302368, -0.00953278411179781, -0.02821940742433071, 0.10905221849679947, -0.020029699429869652, 0.037832580506801605, 0.01154185738414526, 0.04786776378750801, 0.06272304803133011, 0.10860494524240494, 0.015797534957528114, 0.10124838352203369, -0.02793743647634983, -0.037814538925886154, -0.02881835773587227, 0.013115940615534782, -0.017142975702881813, -0.040900085121393204, 0.012628866359591484, 0.03129088133573532, 0.022742263972759247, -0.04816032946109772, -0.019237928092479706, 0.031599465757608414, -0.03967011347413063, -0.007700837682932615, 0.09996645152568817, -0.013584040105342865, -0.08837893605232239, 0.06595693528652191, 0.006574596278369427, -0.03318532556295395, 0.017259282991290092, -0.02203124389052391, 0.02762443944811821, -0.011509040370583534, 0.008323034271597862, -0.01638660579919815, 0.010253850370645523, 0.004566684365272522, -0.017196841537952423, -0.010903242975473404, 0.02033381350338459, 0.019564973190426826, -0.03189621493220329, 0.02350202016532421, -0.01104329340159893, -0.00037054449785500765, -0.0023222253657877445, -0.00834689475595951, -0.03733724728226662, 0.034111324697732925, 0.04236064478754997, 0.04815077409148216, -0.012521994300186634, 0.06322593986988068, -0.004931941162794828, 0.015511060133576393, -0.011277706362307072, 0.03843531385064125, -0.013145756907761097, -0.05230063199996948, -0.019126607105135918, -0.008861242793500423, -0.042273662984371185, 0.07280422747135162, 0.03121229261159897, -0.0013574515469372272, -0.03982904925942421, -0.030747128650546074, -0.0006875107646919787, -0.022953439503908157, 0.03879561647772789, 0.011676258407533169, 0.00920881051570177, 0.0016261478886008263, -0.007408160250633955, -0.026617027819156647, -0.027705781161785126, 0.024421077221632004, -0.023485329002141953, -0.050318893045186996, -0.018003340810537338, 0.01634155958890915, 0.05874719098210335, -0.030439939349889755, 0.0041781035251915455, -0.027431173250079155, 0.023338185623288155, 0.03532620519399643, 0.037111956626176834, -0.10442764312028885, -0.05794982612133026, 0.027690887451171875, -0.0047054896131157875, 0.043821532279253006, -0.013946833088994026, 0.03504657372832298, 0.006626894231885672, 0.013821885921061039, -0.0028502577915787697, 0.0004755242553073913, -0.00508512556552887, 0.02776861935853958, 0.015740131959319115, 0.027928123250603676, 0.013360979966819286, 0.020451968535780907, 0.02825065702199936, 0.026606224477291107, 0.043260060250759125, -0.0213019922375679, 0.05891595408320427, 0.0015060807345435023, 0.03703668341040611, -0.006646323949098587, 0.016217263415455818, -0.005654423963278532, 0.06496334075927734, 0.013255693949759007, -0.02435178868472576, -0.017862901091575623, 0.005149459466338158, -0.06085645779967308, 0.000022016045477357693, -0.009995343163609505, -0.0035746232606470585, 0.011087434366345406, 0.0019988217391073704, 0.010465779341757298, 0.042920734733343124, 0.013094408437609673, -0.04286987707018852, 0.01566724292933941, -0.006055019795894623, -0.026108719408512115, -0.00813665334135294, -0.02342475764453411, 0.016609957441687584, 0.013939962722361088, -0.06880302727222443, -0.021573951467871666, -0.01462252251803875, -0.007912483997642994, 0.026433875784277916, -0.0018815951189026237, -0.01292630285024643, -0.018907791003584862, 0.029978392645716667, -0.0020721519831568003, -0.02329988218843937, -0.03171722590923309, 0.03137751296162605, 0.04064447060227394, -0.027792854234576225, -0.03372987359762192, -0.0019976471085101366, -0.018351580947637558, -0.006278687622398138, -0.017785096541047096, -0.011733327992260456, 0.06279760599136353, 0.002880009589716792, -0.0029339781031012535, 0.012860601767897606, -0.024601871147751808, 0.03538067266345024, 0.017427928745746613, -0.025873864069581032, 0.09062809497117996, 0.037556182593107224, -0.02318885736167431, -0.05122465640306473, -0.013062819838523865, -0.03478453680872917, -0.007721619214862585, -0.07404777407646179, 0.01573168858885765, -0.041883684694767, -0.025030769407749176, 0.0525958389043808, 0.001370798796415329, -0.056927066296339035, 0.013231240212917328, 0.0010116171324625611, 0.03675079345703125, -0.013551785610616207, 0.021291913464665413, -0.0038941456004977226, -0.013487780466675758, -0.053175315260887146, 0.0299064964056015, -0.03895556926727295, -0.04278815537691116, 0.007510517258197069, -0.006987408269196749, -0.035974640399217606, 0.013634069822728634, -0.026113878935575485, 0.026055870577692986, -0.011114598251879215, 0.0017618832644075155, 0.005288467742502689, -0.027767257764935493, -0.049115896224975586, 0.07244002819061279, 0.00833381898701191, 0.010350181721150875, 0.0072313700802624226, -0.01978038065135479, 0.033619970083236694, -0.04053809493780136, -0.01072632148861885, -0.027975795790553093, 0.01797795109450817, 0.043559227138757706, -0.021369950845837593, 0.03294038400053978, 0.0064546153880655766, 0.027734337374567986, 0.005384282674640417, -0.00007835839642211795, -0.04038131237030029, -0.012000764720141888, 0.006502487231045961, 0.002119773533195257, -0.01924074813723564, -0.002407834632322192, 0.03707385063171387, -0.034542400389909744, -0.03783143311738968, 0.0174274779856205, 0.008723044767975807, 0.02234615758061409, -0.022829364985227585, 0.030178816989064217, -0.015854811295866966, -0.04598917439579964, -0.024123169481754303, -0.0015139415627345443, -0.010366639122366905, 0.032954342663288116, 0.003171904943883419, -0.07373744994401932, 0.0040228404104709625, 0.012210872024297714, -0.009390165098011494, 0.0007503086235374212, 0.020991250872612, -0.022306185215711594, 0.012464180588722229, 0.030811816453933716, 0.027606511488556862, -0.012120588682591915, 0.011309829540550709, 0.028760476037859917, 0.006040652748197317, -0.02468770369887352, -0.021443519741296768, 0.008323903195559978, 0.009485184215009212, 0.013239373452961445, -0.0029654037207365036, -0.017728937789797783, -0.0399366170167923, -0.010305830277502537, 0.007068956270813942, -0.008121853694319725, -0.01433430053293705, -0.07368374615907669, 0.014561377465724945, -0.0006897161947563291, -0.004567828495055437, -0.008949534967541695, 0.004502981901168823, -0.01793896220624447, 0.07109896093606949, 0.014314751140773296, 0.032540883868932724, 0.044962748885154724, 0.029576845467090607, 0.04167162626981735, -0.020788557827472687, 0.012890402227640152, -0.02109522558748722, 0.009386161342263222, 0.037814561277627945, 0.027036011219024658, -0.0503993034362793, -0.027750318869948387, -0.026680920273065567, 0.01801622286438942, 0.023879101499915123, 0.007259514648467302, -0.007329572923481464, 0.03285026177763939, -0.01744898594915867, -0.025015084072947502, -0.02855834551155567, 0.021501919254660606, -0.03521351143717766, -0.0034716157242655754, 0.010539298877120018, -0.006221821065992117, -0.0009399422560818493, -0.019092487171292305, -0.029874678701162338, 0.0007900223135948181, 0.021916968747973442, -0.02561824582517147, 0.036636535078287125, 0.004662889521569014, -0.011298972181975842, -0.03448040410876274, -0.03332413733005524, 0.015187800861895084, 0.006810201797634363, 0.0007280789432115853, 0.044795237481594086, 0.0198076032102108, 0.001515271607786417, 0.023038331419229507, 0.014478025957942009, 0.04176034778356552, 0.03508349508047104, -0.03544024005532265, -0.03608782961964607, 0.009956357069313526, 0.09187179803848267, 0.02869529090821743, -0.043642833828926086, -0.016119491308927536, -0.007373787462711334, -0.04704820364713669, -0.007237475831061602, -0.004271678160876036, -0.02525021694600582, 0.06148447096347809, 0.029324224218726158, -0.013152890838682652, -0.006044493056833744, 0.04401085898280144, 0.027976231649518013, 0.014908542856574059, 0.02322842925786972, 0.011510929092764854, 0.030313000082969666, 0.04195384308695793, -0.01881391555070877, -0.03864886239171028, -0.02445863001048565, -0.018723608925938606, -0.054655615240335464, 0.005529200192540884, 0.000864069617819041, -0.012254840694367886, 0.01244482770562172, 0.0022829025983810425, -0.017908066511154175, 0.00435736496001482, -0.015900177881121635, 0.027629025280475616, 0.043247371912002563, 0.010950210504233837, 0.0196315236389637, 0.03710439056158066, -0.01403131429105997, -0.014826779253780842, 0.024642987176775932, -0.023498253896832466, 0.023039739578962326, -0.021547118201851845, 0.02959274873137474, 0.0572778694331646, -0.013492586091160774, 0.01262148842215538, -0.01563355326652527, 0.05202067270874977, 0.02161090075969696, 0.043623026460409164, 0.035043030977249146, 0.002389986999332905, -0.05373535305261612, -0.026019373908638954, -0.00475693354383111, 0.00361789483577013, -0.0023519592359662056, 0.039845604449510574, -0.0437215119600296, -0.0043921624310314655, -0.04740877449512482, -0.0023482488468289375, -0.01421909686177969, 0.03532852977514267, -0.010671663098037243, 0.0392831489443779, 0.050148557871580124, 0.035414375364780426, -0.003383948467671871, 0.012855439446866512, -0.025988362729549408, 0.03714359179139137, 0.011323542334139347, -0.011325565166771412, 0.01920011267066002, 0.0025094260927289724, 0.006205517798662186, 0.024562621489167213, -0.03155621141195297, 0.023852039128541946, -0.0030671122949570417, -0.028310300782322884, -0.028008820489048958, -0.034555476158857346, -0.02186470292508602, 0.01826242171227932, 0.00432493444532156, 0.01324267964810133, 0.01787838526070118, 0.023952854797244072, -0.0284656323492527, -0.00721938768401742, 0.03431244567036629, 0.008187995292246342, -0.010247456841170788, -0.04948979616165161, -0.003751371055841446, 0.03200704604387283, 0.0189493540674448, -0.027202289551496506, -0.060002896934747696, 0.014876197092235088, 0.0035649656783789396, -0.0714838057756424, -0.04512255638837814, -0.03418697044253349, -0.024590853601694107, 0.009245665743947029, 0.025467222556471825, -0.015947595238685608, 0.0096324747428298, 0.020880378782749176, 0.03589427471160889, -0.034004323184490204, 0.04871794581413269, -0.04749274253845215, -0.010665741749107838, -0.004723710473626852, -0.02568592131137848, 0.005600547417998314, -0.01974424719810486, 0.01028704084455967, 0.026559602469205856, 0.04576919600367546, -0.03618431091308594, 0.012848886661231518, 0.02085300348699093, 0.028387023136019707, -0.02064405009150505, -0.017437772825360298, 0.006619831081479788, -0.03850211948156357, 0.02716994099318981, 0.004255651496350765, 0.013933693058788776, -0.008414548821747303, 0.009550508111715317, 0.03325579687952995, 0.007043736521154642, -0.02437300607562065, 0.03732806071639061, 0.03177914023399353, 0.007448005955666304, 0.034318700432777405, 0.0075645423494279385, -0.0011951886117458344, -0.017005497589707375, -0.05888577923178673, 0.0018328051082789898, -0.0029673567041754723, 0.038380060344934464, -0.002547640586271882, -0.03133103623986244, -0.044735562056303024, 0.007210576441138983, -0.016664734110236168, -0.015917161479592323, -0.047582875937223434, 0.010993423871695995, -0.038000889122486115, 0.0031527504324913025, -0.031393613666296005, 0.02599479630589485, 0.05733916535973549, 0.023394621908664703, -0.011502785608172417, -0.02928471378982067, 0.021635819226503372, -0.02272513322532177, 0.016600312665104866, 0.034183427691459656, -0.018375607207417488, -0.015778569504618645, -0.02621089667081833, 0.0010220411932095885, -0.002297536237165332, -0.025011345744132996, -0.01480446383357048, 0.004223483148962259, 0.03886391222476959, -0.011193356476724148, -0.01154741458594799, -0.00966615043580532, -0.015312734991312027, -0.03820289671421051, 0.034730952233076096, -0.007933047600090504, -0.033856261521577835, 0.007653350010514259, 0.037960316985845566, 0.000043387113692006096, -0.003346237586811185, -0.002294322708621621, -0.0074144406244158745, 0.04870603233575821, 0.04482275992631912, 0.0355486162006855, -0.015468019992113113, -0.024234168231487274, 0.011010979302227497, -0.008817405439913273, -0.05583254620432854, -0.036253899335861206, -0.02544613555073738, 0.021612226963043213, -0.022202277556061745, -0.040850382298231125, 0.05433770269155502, -0.0178489051759243, -0.022151213139295578, 0.01867317408323288, 0.02250112034380436, 0.012803898192942142, 0.02106243371963501, 0.023192599415779114, 0.004222255665808916, 0.08091775327920914, 0.06564601510763168, 0.004998859483748674, 0.012306679971516132, -0.028644757345318794 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
I'm definitely going to give that a listen. [Update: It’s one of my new favorite podcasts. :) Thank you, Lewis!]
[ 0.06985663622617722, -0.026373697444796562, 0.0931834802031517, 0.017863288521766663, 0.10597025603055954, 0.0031866692006587982, 0.008101661689579487, 0.04941980168223381, -0.01455082930624485, -0.07239007204771042, -0.026846691966056824, 0.027550529688596725, -0.023158550262451172, -0.0089638102799654, 0.021764621138572693, 0.034498706459999084, 0.013325189240276814, -0.044697459787130356, 0.04710543900728226, 0.016944047063589096, -0.03256133571267128, 0.008705802261829376, 0.045782670378685, -0.003004398662596941, 0.004816200118511915, 0.013661910779774189, 0.03263115882873535, -0.015666859224438667, -0.10814248025417328, 0.028522692620754242, 0.017053693532943726, 0.017357395961880684, 0.04682847112417221, -0.009691903367638588, -0.012165484949946404, 0.006407182663679123, -0.0845181867480278, -0.03376815468072891, -0.0019778816495090723, -0.029979290440678596, 0.027770843356847763, -0.056730322539806366, -0.008629902265965939, 0.07053286582231522, -0.06843827664852142, -0.00764098297804594, -0.30067071318626404, 0.0766599252820015, -0.05825388804078102, -0.05194447189569473, -0.006548628676682711, 0.028825821354985237, -0.0002415633061900735, 0.019530966877937317, 0.03596065938472748, 0.011974726803600788, 0.025639597326517105, -0.05197795853018761, 0.0010841578477993608, -0.02079830877482891, 0.02510049194097519, 0.0479135736823082, 0.0033536148257553577, -0.03838492929935455, 0.04557798057794571, 0.029040763154625893, 0.019004225730895996, 0.04548219218850136, -0.043839894235134125, 0.012446777895092964, 0.029500925913453102, -0.04388388246297836, -0.045970868319272995, -0.031602270901203156, 0.04942779615521431, -0.04332198202610016, -0.01811373047530651, 0.06649328768253326, 0.0634140595793724, 0.08615225553512573, -0.02888406813144684, 0.006004410795867443, 0.09998097270727158, 0.10498013347387314, -0.03146464750170708, -0.028918253257870674, 0.06509716808795929, -0.033402219414711, -0.021700937300920486, -0.005953412037342787, -0.024079401046037674, -0.09655630588531494, 0.02714362181723118, 0.028473155573010445, 0.0730869472026825, -0.0824735090136528, 0.014674547128379345, -0.0012259581126272678, 0.03570341691374779, -0.010744377970695496, -0.004050923511385918, -0.040169984102249146, 0.006210668478161097, -0.027402831241488457, -0.03201288357377052, 0.019954299554228783, 0.04662877693772316, -0.0712965875864029, -0.06146673113107681, 0.03976503387093544, 0.001499586971476674, 0.04199526458978653, 0.039116859436035156, -0.025653528049588203, -0.014470333233475685, 0.04878220707178116, -0.0009406658937223256, -0.014809711836278439, -0.013902442529797554, 0.01474643126130104, -0.01564645953476429, 0.0731235072016716, 0.03749116137623787, 0.054974738508462906, 0.03202616423368454, -0.033493176102638245, -0.010223177261650562, 0.07717017084360123, -0.024980569258332253, -0.05824197456240654, 0.025968849658966064, -0.004895701073110104, 0.04877743124961853, 0.0037089120596647263, -0.0406278520822525, -0.010611527599394321, -0.013048841618001461, 0.0025906122755259275, 0.026539869606494904, 0.018812663853168488, -0.0268599521368742, 0.027691159397363663, -0.038002535700798035, 0.09704048186540604, 0.04024520516395569, -0.04017879441380501, -0.08320930600166321, -0.008414407260715961, -0.005996250081807375, 0.01175292395055294, -0.021512139588594437, 0.10153014957904816, -0.04307902976870537, -0.08016198873519897, -0.003684882540255785, 0.03999381884932518, -0.0015142501797527075, -0.003361247945576906, -0.007357276976108551, 0.025429369881749153, 0.05209038779139519, -0.017490297555923462, 0.0239680465310812, -0.012481996789574623, 0.06543829292058945, -0.01898525282740593, 0.012959502637386322, -0.02924017608165741, -0.07383005321025848, -0.10286547988653183, -0.018647590652108192, 0.03218245506286621, 0.04597899690270424, -0.014379323460161686, -0.05356604605913162, 0.0338667631149292, 0.08750753849744797, 0.009637808427214622, -0.019392207264900208, 0.02553805336356163, -0.022035907953977585, 0.01340129878371954, -0.01568741910159588, 0.01164660882204771, 0.045823559165000916, -0.009972898289561272, 0.012948052026331425, 0.01677880249917507, -0.00426480220630765, 0.04235061630606651, -0.09764543920755386, -0.050855688750743866, 0.12415198981761932, 0.047585368156433105, -0.003817920107394457, -0.08977215737104416, -0.033742524683475494, 0.07377543300390244, 0.03817952796816826, 0.04912875220179558, 0.04158560186624527, 0.013150851242244244, 0.05291597172617912, -0.027982374653220177, -0.020498909056186676, 0.04319849610328674, 0.0584731288254261, -0.012967796996235847, 0.012239581905305386, 0.010636442340910435, 0.012226613238453865, -0.08353125303983688, 0.029536547139286995, -0.00625988282263279, -0.01948012225329876, 0.010663247667253017, -0.009459507651627064, -0.011675245128571987, -0.06343092769384384, -0.08762707561254501, 0.09403689205646515, 0.013914389535784721, -0.01010382641106844, 0.03594205901026726, 0.024601709097623825, 0.11364105343818665, 0.08506360650062561, 0.001164195709861815, 0.10062523186206818, -0.08665415644645691, -0.05138777941465378, 0.043219491839408875, -0.07655133306980133, 0.030904941260814667, 0.029075220227241516, 0.06924926489591599, 0.01047101616859436, -0.037954363971948624, -0.02954338677227497, -0.0802958533167839, 0.03125828877091408, -0.05775970593094826, 0.0126394247636199, 0.07198021560907364, -0.08479396253824234, -0.03447125852108002, 0.012766667641699314, 0.017903827130794525, -0.040429241955280304, 0.0069855814799666405, -0.04402982071042061, 0.06757918745279312, 0.007471555843949318, 0.013174829073250294, 0.02439088188111782, 0.0010021192720159888, -0.00031932746060192585, 0.00468652555719018, 0.0019347246270626783, 0.003288250183686614, 0.03408236429095268, -0.027494076639413834, 0.007251878269016743, -0.04896479845046997, -0.0006581569323316216, -0.020822811871767044, -0.014746651984751225, 0.0021333410404622555, 0.009684846736490726, 0.005930179730057716, 0.010187141597270966, -0.005034649278968573, 0.042591195553541183, 0.019065486267209053, -0.011184709146618843, -0.02596430480480194, 0.04825751483440399, -0.01742485910654068, 0.00294318376109004, -0.03015030175447464, 0.003906637895852327, -0.016582520678639412, 0.031088978052139282, 0.0031436809804290533, 0.03590597212314606, -0.023445777595043182, 0.004626946989446878, 0.012019220739603043, -0.0017358552431687713, 0.0739826038479805, 0.00999247096478939, 0.0017295049037784338, 0.024215012788772583, -0.045227039605379105, 0.01216293778270483, -0.02810906246304512, 0.026939574629068375, 0.002413160866126418, -0.04417164623737335, 0.0009624288068152964, 0.0244689229875803, 0.017276516184210777, -0.0003001120931003243, 0.02712220884859562, -0.023108884692192078, 0.02364874817430973, 0.01947794109582901, 0.009830336086452007, -0.1426645815372467, -0.04887566715478897, 0.027586588636040688, 0.0015148046659305692, 0.0013405043864622712, -0.018916793167591095, 0.045060232281684875, -0.04256794601678848, -0.02711009420454502, -0.033834416419267654, -0.01043709646910429, -0.0035369566176086664, 0.027780992910265923, -0.04581363871693611, -0.021894371137022972, -0.02529727853834629, -0.007627018727362156, -0.006365252658724785, 0.004787064623087645, 0.017942439764738083, -0.02830406092107296, 0.06748047471046448, -0.007534077391028404, 0.005166734103113413, -0.009856208227574825, 0.057989075779914856, 0.0307998638600111, 0.05149955302476883, 0.049381744116544724, -0.020350826904177666, -0.04436985403299332, 0.04234638437628746, -0.03697200492024422, 0.02641463465988636, 0.012273445725440979, 0.02204444631934166, -0.01260063424706459, -0.017905961722135544, -0.014903124421834946, 0.03562794625759125, -0.000335299497237429, -0.0014147624606266618, 0.02712828665971756, 0.027453670278191566, -0.0027941791340708733, 0.019811755046248436, -0.007642907556146383, -0.009714889340102673, 0.033972784876823425, -0.028643280267715454, -0.025498997420072556, -0.01820863038301468, -0.007240292616188526, 0.06185036897659302, -0.02699846215546131, -0.002580368658527732, -0.03459341824054718, 0.034636009484529495, 0.04213680326938629, -0.01127330306917429, -0.012829413637518883, 0.02421516738831997, 0.03503032028675079, 0.03583144396543503, -0.014037048444151878, 0.02799299545586109, -0.0346902497112751, 0.002861575223505497, -0.03607673570513725, 0.02886282466351986, 0.03614169359207153, -0.0020017039496451616, -0.009038034826517105, 0.015455302782356739, -0.009358679875731468, 0.020536230877041817, -0.03416742756962776, -0.01905745081603527, 0.06558677554130554, -0.005043764133006334, -0.010832593776285648, 0.03111821413040161, -0.026251021772623062, -0.01769581437110901, -0.014448943547904491, 0.016309134662151337, 0.012701920233666897, 0.023123664781451225, -0.014123971574008465, 0.06606428325176239, 0.015694987028837204, 0.029159456491470337, -0.0015845344169065356, 0.01837838441133499, 0.02368776872754097, 0.012424626387655735, 0.0386505201458931, -0.010179257020354271, 0.013131355866789818, -0.01632041484117508, 0.01769409142434597, -0.01244022510945797, -0.01938525401055813, 0.022404750809073448, -0.009967267513275146, 0.020176690071821213, -0.005401200149208307, -0.033236950635910034, -0.009693787433207035, 0.002820475259795785, 0.044325146824121475, -0.02958252653479576, 0.01311743538826704, -0.03650188446044922, -0.00670155743137002, -0.0023737745359539986, 0.0018230155110359192, -0.03015289455652237, -0.02805609442293644, 0.019653277471661568, -0.04119789972901344, -0.0052721849642694, 0.013176101259887218, -0.022487230598926544, -0.021082844585180283, -0.0028456731233745813, -0.0003431499353609979, -0.033361297100782394, -0.005341934040188789, -0.017105216160416603, -0.027730099856853485, -0.03821863979101181, 0.007307132240384817, -0.0016762566519901156, 0.020843755453824997, 0.005432250909507275, -0.017295124009251595, 0.054239422082901, -0.023551665246486664, -0.044046659022569656, -0.013747185468673706, 0.010029580444097519, 0.03902905061841011, -0.02343793399631977, 0.012749597430229187, -0.007100858259946108, -0.007580921985208988, 0.015535034239292145, -0.0032598692923784256, 0.02221713773906231, 0.019891485571861267, -0.006016927771270275, -0.004568738397210836, -0.030685855075716972, -0.01030074991285801, 0.0519702322781086, -0.01202576793730259, 0.01331315003335476, -0.03435138612985611, 0.06861388683319092, -0.025845997035503387, 0.00699627073481679, -0.032795973122119904, 0.02029336616396904, -0.011656888760626316, -0.011372879147529602, -0.015807414427399635, -0.0070653981529176235, -0.012949669733643532, 0.0015883875312283635, 0.005661665461957455, 0.013398476876318455, 0.03885136544704437, -0.02870279923081398, -0.00392847741022706, 0.008829145692288876, -0.015465904027223587, 0.019302140921354294, -0.00481012649834156, 0.010351338423788548, -0.018213491886854172, 0.01592753641307354, 0.009605986066162586, -0.029582014307379723, -0.007835169322788715, -0.008943353779613972, 0.048170287162065506, 0.005186774302273989, -0.0004465215024538338, 0.05971934273838997, -0.025806959718465805, 0.026744762435555458, -0.030130550265312195, -0.049856800585985184, 0.013561996631324291, 0.011839804239571095, 0.014698073267936707, -0.031126348301768303, -0.03410458192229271, 0.030632374808192253, 0.026424819603562355, 0.011581575497984886, 0.022941114380955696, 0.002139307791367173, 0.02634287253022194, 0.01159615721553564, -0.013179860077798367, -0.014422566629946232, -0.018040016293525696, -0.026051471009850502, 0.003965737763792276, 0.008660468272864819, -0.016532571986317635, -0.031439390033483505, 0.008891020901501179, -0.04709915816783905, -0.011810616590082645, 0.01415836252272129, 0.007575714495033026, 0.02734920009970665, 0.04361042007803917, 0.01274100597947836, -0.053936537355184555, 0.017848899587988853, 0.0383327342569828, 0.023160303011536598, -0.015181446447968483, 0.05524573102593422, -0.005402739159762859, 0.021784663200378418, 0.05385208502411842, 0.014612269587814808, 0.006284508854150772, 0.04835514351725578, 0.011832059361040592, -0.00042836504871957004, -0.053902916610240936, 0.05415976420044899, 0.007949101738631725, 0.006481326650828123, 0.012740697711706161, -0.038300059735774994, -0.035869088023900986, -0.029211387038230896, -0.04275644198060036, -0.002964841201901436, 0.03337808698415756, 0.008910851553082466, 0.03520029038190842, -0.022912872955203056, 0.047459471970796585, 0.021895866841077805, 0.006422671023756266, -0.00050488201668486, 0.009102550335228443, 0.006110678426921368, -0.03301602974534035, 0.00277539505623281, -0.028299398720264435, -0.02112254872918129, 0.006381722167134285, -0.010655809193849564, 0.03594125062227249, 0.016873087733983994, -0.0018752445466816425, 0.024686871096491814, 0.03089470975100994, -0.021449392661452293, 0.017329826951026917, 0.004853379912674427, -0.03973174840211868, -0.007909123785793781, 0.0172580536454916, -0.04028436169028282, 0.008236169815063477, -0.04552039876580238, 0.04163610562682152, 0.017317820340394974, -0.005926685873419046, 0.029728472232818604, 0.007402697578072548, 0.02000749669969082, -0.01589776761829853, -0.024548089131712914, 0.008713179267942905, 0.03971133008599281, 0.027534659951925278, 0.014899492263793945, 0.04920995235443115, 0.02156386710703373, 0.021702734753489494, -0.013807476498186588, 0.0028226920403540134, 0.011204908601939678, 0.01076248474419117, 0.0035619826521724463, 0.03811703622341156, -0.03185233101248741, 0.0439947247505188, -0.039425984025001526, 0.0068718739785254, -0.007186350878328085, -0.015911681577563286, -0.014968512579798698, -0.023382047191262245, 0.015057596378028393, 0.01133426558226347, -0.028331059962511063, -0.021136168390512466, 0.002254601800814271, 0.019648397341370583, 0.05251427739858627, -0.022527560591697693, -0.029011569917201996, 0.0011472352780401707, -0.04927477240562439, 0.04346005246043205, -0.0033740769140422344, -0.0131759624928236, -0.0020656397100538015, -0.004168251063674688, -0.03189448267221451, -0.01578344777226448, -0.033341437578201294, -0.014069333672523499, -0.07789462804794312, 0.00764391990378499, 0.012805136851966381, 0.01161519531160593, -0.023533692583441734, 0.01629403792321682, 0.04863367974758148, -0.0037681132089346647, 0.002249016659334302, -0.010329794138669968, 0.020942244678735733, 0.046181876212358475, 0.058234136551618576, -0.026836823672056198, -0.03365427628159523, -0.021374814212322235, -0.007301608100533485, -0.010823160409927368, 0.027621403336524963, -0.007382892072200775, -0.004395066294819117, -0.023939479142427444, -0.00961400754749775, -0.028060149401426315, 0.02372017502784729, 0.014084147289395332, 0.006015756633132696, 0.026784060522913933, 0.009157354943454266, -0.005654463078826666, -0.010975850746035576, -0.03839297220110893, -0.004115405026823282, 0.002098562428727746, -0.0012971251271665096, -0.011106258258223534, -0.011486215516924858, 0.02430291287600994, -0.03175155445933342, -0.033949412405490875, 0.00838580820709467, -0.017885055392980576, -0.006549383979290724, -0.012963702902197838, 0.018822891637682915, -0.024781759828329086, -0.028938135132193565, 0.0247945599257946, -0.005058234091848135, -0.021310370415449142, -0.01009848341345787, -0.0026517680380493402, 0.018674880266189575, -0.006540985777974129, 0.0022210825700312853, 0.07149213552474976, 0.021692903712391853, -0.010673712939023972, 0.03158502280712128, 0.05782522261142731, -0.0003401173453312367, -0.038547564297914505, 0.013649191707372665, 0.006186166778206825, 0.01964643970131874, -0.027986284345388412, -0.03881051763892174, -0.013203827664256096, -0.05218738690018654, -0.004538374021649361, -0.04766632989048958, -0.03601059690117836, -0.020266076549887657, -0.0074485777877271175, 0.01157243363559246, -0.03677627444267273, 0.03589143231511116, 0.0355459488928318, -0.00644062552601099, 0.006185253616422415, -0.0256840568035841, -0.009765478782355785, -0.06763030588626862, -0.0036961918231099844, 0.019107850268483162, 0.014263217337429523, 0.013145169243216515, 0.008219736628234386, -0.06390759348869324, 0.03679018095135689, -0.04714743793010712, -0.04189889878034592, 0.0023915120400488377, 0.06755369156599045, -0.029486345127224922, 0.010779774747788906, 0.03353676572442055, -0.04281987249851227, -0.020416710525751114, 0.016241945326328278, 0.020197778940200806, -0.06255989521741867, 0.003341331845149398, 0.025728216394782066, -0.04160529002547264, 0.03498200327157974, -0.03691144660115242, 0.030253807082772255, 0.0143020860850811, 0.029046563431620598, -0.03976813331246376, 0.01579875499010086, -0.044486984610557556, 0.013982883654534817, 0.02433016337454319, -0.01304174680262804, -0.036721181124448776, -0.014220350421965122, -0.016165290027856827, -0.015931550413370132, -0.03312942385673523, 0.04136638343334198, 0.049806464463472366, -0.020200030878186226, -0.005483093671500683, 0.0042925383895635605, -0.032390985637903214, 0.02966889925301075, 0.0252352524548769, -0.0037853543180972338, 0.04773043841123581, 0.03508908301591873, -0.025270186364650726, 0.0290144644677639, 0.019567282870411873 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
What is the meaning of life? Lewis: I think that the honest answer is, I don't know. And probably anyone who does tell you an answer probably is lying. That's a bit sarcastic. I dunno, I guess being a site scientist by training and especially a physicist, you develop this worldview that is very much that there isn't really some sort of deeper meaning to this. It's very much like the universe is quite random and I suppose the only thing you can take from that beyond being very sad is that you derive your own meaning, right? And most of the time this comes either from the work that you do or from the family or from your friends that you have. But I think when you find a way to derive your own meaning and discover what you do is actually interesting and meaningful that that's the best part. Life is very up and down, right? At least for me personally, the things that have always been very meaningful are generally in creating things. So, I used to be a musician, so that was a way of creating music for other people and there was great pleasure in doing that. And now I kind of, I guess, create code which is a form of creativity.
[ 0.11168115586042404, 0.04078122228384018, 0.06391871720552444, -0.03203630819916725, 0.07330211251974106, 0.014575059525668621, 0.0322970487177372, 0.07111307233572006, -0.01657082885503769, 0.0011158175766468048, -0.07493437081575394, 0.015482096932828426, -0.005579009652137756, -0.0031689272727817297, -0.044281184673309326, -0.001377623644657433, 0.0018671306315809488, 0.010593220591545105, 0.027041789144277573, -0.002638392848894, -0.06438512355089188, 0.12111036479473114, -0.05057618394494057, -0.03080226667225361, 0.00850761029869318, 0.0034477831795811653, -0.0681774914264679, -0.05110285058617592, -0.016431115567684174, 0.009739497676491737, -0.10790732502937317, -0.011274920776486397, -0.01286737434566021, 0.02779327519237995, -0.03568229079246521, -0.059608593583106995, -0.1038004532456398, 0.02116445079445839, -0.0021804955322295427, -0.04330055043101311, 0.022451868280768394, -0.007052468601614237, -0.00005524788866750896, 0.0006741532706655562, -0.009634716436266899, -0.0160130076110363, -0.1970459669828415, 0.07900819182395935, -0.09497790783643723, -0.03683798387646675, -0.02475592866539955, 0.0384838841855526, -0.00319024920463562, 0.05721551924943924, -0.008630418218672276, 0.004541394300758839, -0.024305010214447975, 0.009032083675265312, 0.04099626839160919, -0.014436501078307629, 0.04608164355158806, 0.011780870147049427, 0.011358527466654778, -0.008015420287847519, 0.0004446891834959388, -0.006179003976285458, 0.02322317846119404, 0.03307183086872101, -0.07960335910320282, 0.022922415286302567, -0.027972055599093437, -0.009528962895274162, -0.05910608172416687, -0.004908979870378971, 0.002054050099104643, -0.014517633244395256, 0.014092233963310719, 0.0461527556180954, -0.008415997959673405, 0.019344918429851532, 0.07085693627595901, 0.008636311627924442, 0.09128619730472565, 0.11909899860620499, -0.01309345755726099, -0.0057777478359639645, 0.039021797478199005, 0.024383513256907463, -0.0580262690782547, 0.04539456218481064, 0.0337856188416481, -0.12641935050487518, 0.023484978824853897, 0.015306958928704262, 0.0971243605017662, -0.06829458475112915, -0.02329995296895504, -0.03780989721417427, -0.02780810184776783, 0.021123835816979408, 0.015463482588529587, -0.006300217006355524, 0.04330175742506981, -0.01581776887178421, -0.012466504238545895, 0.0355006568133831, 0.03956758975982666, -0.10246005654335022, -0.062406595796346664, 0.019821953028440475, -0.09921710193157196, 0.02194041945040226, 0.032923053950071335, 0.01900489442050457, -0.023227358236908913, 0.11830750852823257, 0.0036312288139015436, -0.03783030807971954, -0.00428979005664587, 0.06068043410778046, 0.0015142280608415604, -0.03733599931001663, -0.028948741033673286, 0.01873496174812317, 0.005379577167332172, -0.035802531987428665, -0.04521910101175308, 0.05304030328989029, 0.024689285084605217, -0.05412409082055092, 0.07375689595937729, 0.0669771283864975, 0.03482191264629364, 0.017214512452483177, -0.022419089451432228, -0.04978267848491669, -0.004701555706560612, -0.02102253958582878, 0.0658012107014656, 0.01963798701763153, 0.007449368014931679, -0.05848347395658493, -0.015455334447324276, 0.09900162369012833, 0.029687168076634407, -0.043630003929138184, -0.0246209017932415, -0.03391428291797638, 0.029084764420986176, 0.006757854018360376, 0.0031266978476196527, 0.004004392307251692, 0.03206333890557289, -0.12930405139923096, 0.07777732610702515, 0.021514292806386948, -0.01302806194871664, -0.011716303415596485, 0.032918039709329605, 0.014259636402130127, -0.003413159167394042, -0.030221035704016685, 0.042524464428424835, -0.02805083803832531, 0.043577492237091064, -0.04119516536593437, -0.02666165493428707, -0.008077600970864296, -0.06715619564056396, -0.031766701489686966, -0.008037502877414227, -0.05918549373745918, 0.06734264642000198, -0.03280951455235481, 0.016751980409026146, -0.010115040466189384, 0.04186359420418739, -0.03767382726073265, -0.026839371770620346, -0.03761948272585869, -0.02791312150657177, -0.05132398381829262, -0.022264566272497177, 0.011039841920137405, 0.03735598921775818, -0.04120374098420143, -0.023754730820655823, 0.00457358593121171, 0.0672285407781601, 0.0013063434744253755, -0.07445362210273743, -0.07437881082296371, 0.018024969846010208, -0.0029861335642635822, 0.0026496159844100475, -0.07454074919223785, -0.1019618958234787, 0.06707917153835297, 0.04501566290855408, 0.007594720926135778, 0.012078655883669853, -0.03378169611096382, 0.030237555503845215, -0.029201021417975426, -0.029577532783150673, 0.15322212874889374, 0.06405595690011978, 0.04888544976711273, 0.03634702041745186, 0.014438571408390999, 0.10646587610244751, -0.09771650284528732, 0.05228776857256889, -0.010094239376485348, 0.010143598541617393, -0.1048426628112793, -0.012582069262862206, -0.0071712457574903965, 0.013969438150525093, -0.019637301564216614, 0.01934187114238739, -0.017072143033146858, 0.004148948937654495, 0.026486609131097794, -0.023518946021795273, 0.017846668139100075, 0.05739736184477806, 0.02139848843216896, 0.009020601399242878, -0.017419664189219475, -0.0615709163248539, 0.007609638851135969, -0.021462704986333847, 0.008128541521728039, -0.008149194531142712, 0.043421924114227295, 0.050321124494075775, -0.004712466150522232, -0.04863179102540016, -0.06507907062768936, 0.07472466677427292, -0.04757560044527054, 0.029500845819711685, 0.06395576894283295, -0.03497050702571869, -0.027454951778054237, 0.04550310596823692, -0.06449659913778305, -0.04232705011963844, 0.04035111516714096, 0.013090205378830433, -0.007254327647387981, 0.0099896639585495, 0.04547210410237312, -0.01175089180469513, 0.01172297541052103, 0.014658231288194656, 0.016218943521380424, 0.003245621919631958, 0.043769996613264084, -0.0033572239335626364, -0.06456643342971802, 0.02671835385262966, -0.06463935971260071, -0.029768407344818115, 0.004197003785520792, -0.005786242429167032, 0.008307057432830334, -0.013505030423402786, 0.05551747605204582, 0.07531345635652542, 0.028465336188673973, 0.019971346482634544, 0.03102019801735878, -0.028557049110531807, -0.007617264986038208, 0.051934465765953064, 0.0071725910529494286, 0.002913758857175708, 0.01291811466217041, 0.011179640889167786, -0.0015841589774936438, 0.031138548627495766, 0.03939831256866455, 0.016281023621559143, -0.03473908081650734, -0.005514867138117552, 0.017795780673623085, -0.015171336010098457, 0.01441415585577488, 0.029562516137957573, -0.0027449748013168573, -0.019316434860229492, -0.03483903408050537, -0.00043816445395350456, -0.01725384220480919, 0.03981608524918556, -0.026016904041171074, -0.05187287926673889, -0.0070878127589821815, 0.04481189325451851, 0.00022392495884560049, 0.0215742290019989, -0.007014370057731867, -0.02554919756948948, 0.09110540896654129, 0.0026014866307377815, 0.0042053097859025, -0.11007139086723328, -0.009430073201656342, 0.006491651758551598, -0.055382970720529556, 0.02960006333887577, 0.02928750403225422, 0.07572313398122787, 0.0011797818588092923, 0.006210855208337307, 0.011575440876185894, -0.0399402417242527, -0.004810216370970011, -0.024473369121551514, 0.05151490867137909, 0.07386794686317444, 0.0034993253648281097, -0.007636010646820068, 0.03358061611652374, -0.007839894853532314, 0.017210206016898155, -0.018581997603178024, 0.055365800857543945, -0.019693439826369286, 0.028002073988318443, -0.021808113902807236, -0.004499088041484356, 0.013431113213300705, 0.047323793172836304, 0.00950456690043211, 0.00654967688024044, 0.007324397098273039, 0.041487887501716614, -0.04246759042143822, -0.03400589898228645, -0.004052105825394392, -0.01717200130224228, 0.007960326969623566, -0.06460315734148026, 0.005138622596859932, 0.04706026613712311, -0.009135750122368336, -0.037891145795583725, -0.011917571537196636, -0.020489774644374847, -0.02393619902431965, 0.0047816326841712, -0.03477655351161957, -0.02219252474606037, -0.009116172790527344, -0.0424666628241539, -0.04290703311562538, -0.016454990953207016, -0.01374438963830471, 0.020271481946110725, -0.012952372431755066, -0.017388267442584038, 0.008967009373009205, 0.01138376072049141, 0.01725541613996029, 0.0013178784865885973, 0.00016968190902844071, 0.04724828526377678, 0.005204036366194487, -0.0016984265530481935, -0.018433591350913048, 0.0728498175740242, -0.05765524506568909, -0.004200971685349941, -0.006742553785443306, 0.013331898488104343, -0.015494564548134804, -0.0210281852632761, -0.02490185759961605, 0.0149355698376894, 0.008413530886173248, 0.035711389034986496, -0.020212817937135696, -0.0012206702958792448, 0.07560121268033981, 0.006373114883899689, -0.001500751357525587, -0.011703292839229107, -0.012061301618814468, -0.006902004592120647, -0.004557021893560886, 0.00027628339012153447, 0.017725933343172073, 0.0020384551025927067, 0.006479250267148018, 0.07638099044561386, -0.01023988239467144, -0.02104499749839306, -0.027452966198325157, 0.02417004480957985, 0.0039823539555072784, 0.025513380765914917, 0.004393787123262882, 0.001090707373805344, 0.0619472935795784, -0.00028705273871310055, 0.09078805148601532, -0.050454605370759964, -0.045188918709754944, 0.010541987605392933, -0.03185276687145233, 0.003012818982824683, -0.015217984095215797, -0.02756110392510891, -0.015385022386908531, 0.014446630142629147, 0.0278242789208889, -0.0025904157664626837, -0.004373104311525822, -0.029864240437746048, 0.042919889092445374, -0.002088321140035987, -0.00032190539059229195, -0.018031151965260506, -0.03720320016145706, 0.01296979933977127, -0.00758306635543704, -0.04624228551983833, 0.01645222306251526, -0.0026241131126880646, -0.035662807524204254, 0.029122794046998024, 0.030376125127077103, -0.023525744676589966, 0.012982397340238094, -0.0008156588301062584, 0.04416617751121521, 0.026516612619161606, 0.026289790868759155, -0.01119279395788908, -0.008984516374766827, 0.0015652998117730021, 0.0016165269771590829, 0.012414800934493542, -0.007402485236525536, -0.060868874192237854, -0.0004903931403532624, -0.029754605144262314, 0.017298124730587006, 0.03021213784813881, 0.01642133854329586, 0.0014190601650625467, -0.025725102052092552, 0.00407384242862463, 0.011125871911644936, 0.039962515234947205, 0.08497042208909988, 0.03284893184900284, -0.05923984572291374, -0.0009260260267183185, -0.03944016993045807, 0.0007269314955919981, -0.028103552758693695, 0.022415971383452415, -0.005364955868571997, 0.03890175372362137, -0.0225434098392725, 0.02559947781264782, 0.008364888839423656, 0.03926131874322891, -0.0003970448160544038, 0.013784697279334068, 0.02558518759906292, -0.02438262850046158, -0.008577285334467888, -0.022651012986898422, -0.005596279166638851, 0.008185167796909809, 0.010537704452872276, -0.040733616799116135, 0.00879599153995514, -0.034272704273462296, -0.028229322284460068, 0.03553207218647003, -0.019384706392884254, -0.02660905383527279, 0.002206892240792513, 0.00542135676369071, -0.02229389175772667, -0.01358032412827015, -0.00495065376162529, 0.017644276842474937, 0.03886636719107628, 0.03757438436150551, 0.03006262332201004, 0.017600446939468384, 0.0421043261885643, 0.02134060673415661, -0.013056699186563492, -0.013967124745249748, 0.0503937304019928, 0.03108624368906021, 0.019613143056631088, -0.05513900890946388, -0.010506069287657738, 0.0009695648332126439, 0.03168989345431328, 0.012476056814193726, 0.0015105762286111712, -0.004555087070912123, -0.008065465837717056, 0.006972269620746374, -0.016066614538431168, -0.0007851212285459042, 0.034012485295534134, -0.0017440586816519499, -0.008664634078741074, -0.028059741482138634, -0.037231698632240295, -0.017089921981096268, -0.0008552964427508414, -0.0207669660449028, -0.0031931763514876366, -0.004583308938890696, -0.017626699060201645, 0.0016051357379183173, 0.028179511427879333, 0.0134419035166502, -0.019156070426106453, 0.013350219465792179, 0.03647220879793167, 0.0023047614376991987, 0.014890252612531185, 0.018084749579429626, 0.04163865000009537, -0.023212773725390434, 0.030683929100632668, -0.002542282221838832, 0.02881290577352047, -0.0006994300638325512, 0.020702021196484566, -0.02702176943421364, -0.04518263414502144, 0.042329877614974976, -0.0024135170970112085, -0.0323457308113575, -0.020770087838172913, -0.014216991141438484, -0.012865347787737846, -0.01584475301206112, 0.005368139129132032, -0.028884833678603172, 0.06385183334350586, -0.0065712654031813145, -0.04569949582219124, 0.013261454179883003, 0.04127109423279762, -0.006401780992746353, -0.0073585896752774715, -0.012196146883070469, 0.057160526514053345, 0.0055505456402897835, -0.006424296647310257, 0.0020280368626117706, -0.03628233075141907, -0.04369768500328064, 0.022134944796562195, -0.015318822115659714, 0.009383314289152622, 0.0005605709156952798, -0.012192477472126484, 0.0293487086892128, 0.04109889268875122, 0.019379790872335434, -0.02336084470152855, -0.0053189960308372974, -0.013798840343952179, 0.016049707308411598, -0.012233922258019447, -0.01476375199854374, 0.0006145150400698185, -0.018991373479366302, -0.03448979929089546, 0.026896368712186813, -0.05122017115354538, 0.0343952476978302, 0.013722788542509079, 0.06780719012022018, 0.058433882892131805, 0.008860679343342781, -0.0008118370897136629, 0.004512840416282415, 0.05253461375832558, 0.05681396648287773, 0.04579044505953789, -0.005919142160564661, -0.00003227378329029307, -0.022345829755067825, 0.02709409035742283, 0.013740555383265018, -0.029806826263666153, -0.02443195879459381, -0.019338121637701988, -0.01528332382440567, 0.040958840399980545, -0.018490159884095192, -0.012332746759057045, -0.023999253287911415, 0.05439352989196777, 0.01933899149298668, 0.01194336824119091, 0.020190779119729996, 0.0263524167239666, 0.035941194742918015, 0.04316210001707077, -0.014702579006552696, 0.0021638423204421997, 0.008659899234771729, 0.007728575728833675, -0.019471006467938423, 0.010533329099416733, 0.004007421899586916, 0.02658451348543167, -0.017343442887067795, 0.02832253836095333, 0.028053194284439087, 0.007940320298075676, -0.024372229352593422, -0.044240448623895645, -0.014884809963405132, 0.005352220963686705, -0.011248670518398285, 0.006435154937207699, 0.002235022373497486, 0.019462397322058678, -0.04219484701752663, -0.0012685843976214528, -0.000412478344514966, 0.022013666108250618, 0.02039971761405468, -0.02184082567691803, -0.02081410400569439, 0.03504157066345215, -0.009958566166460514, -0.05522635579109192, 0.00556917954236269, -0.012666367925703526, -0.014944549649953842, -0.025447390973567963, 0.0193772129714489, -0.006936477031558752, -0.007960260845720768, 0.0009310314781032503, -0.01570565439760685, -0.027644872665405273, -0.03195454180240631, 0.022829867899417877, -0.00947955995798111, 0.01497966330498457, 0.008057924918830395, -0.015354398638010025, 0.022144675254821777, -0.04111841693520546, 0.047686945647001266, 0.016134560108184814, -0.009728259406983852, 0.011877055279910564, -0.006204220000654459, 0.0006101581966504455, -0.00943963136523962, 0.0119003402069211, 0.013779587112367153, -0.08141514658927917, -0.033930834382772446, -0.03262866288423538, 0.009705905802547932, -0.009942554868757725, 0.0486074835062027, 0.006260593421757221, -0.03473713621497154, -0.06275491416454315, -0.003367336466908455, 0.048272401094436646, -0.02777797356247902, -0.00955894310027361, -0.014740509912371635, 0.03763987869024277, -0.04265409708023071, 0.017275495454669, 0.0032997685484588146, 0.02240261435508728, -0.020614556968212128, -0.02912144921720028, 0.0359075628221035, -0.026131143793463707, 0.014626444317400455, 0.032562315464019775, -0.007474420126527548, -0.0446309857070446, -0.022513868287205696, 0.00505579449236393, -0.0034795948304235935, -0.011328990571200848, -0.009072606451809406, 0.011320428922772408, 0.0006574078579433262, -0.006134901195764542, 0.04217923805117607, -0.013151727616786957, -0.01239794958382845, -0.0011182210873812437, -0.03298627585172653, 0.05777493119239807, -0.06097780168056488, -0.005366225726902485, 0.016246099025011063, -0.022021040320396423, 0.0007185094873420894, -0.00657153595238924, 0.001584655954502523, 0.023785442113876343, -0.016911087557673454, -0.02763974852859974, 0.04018807038664818, 0.06154310330748558, -0.04902457818388939, 0.006572777405381203, 0.0247254129499197, 0.0036359981168061495, -0.0239532720297575, 0.046497445553541183, 0.007458481006324291, -0.04456581547856331, 0.0060334037989377975, 0.03063124790787697, -0.029507923871278763, 0.055561698973178864, 0.006725907325744629, 0.03795081377029419, 0.04480177164077759, 0.04406172037124634, -0.013020147569477558, 0.021810105070471764, 0.003895148169249296, 0.02260645292699337, -0.006532921455800533, -0.04740186408162117, -0.02014460414648056, -0.006711493246257305, 0.005826070439070463, -0.029717855155467987, -0.025881249457597733, 0.02599814347922802, -0.007873066700994968, 0.00885672029107809, -0.018520690500736237, 0.07093643397092819, -0.018084069713950157, -0.011124287731945515, 0.033613186329603195, -0.030352845788002014, 0.04198579862713814, 0.00906566996127367, 0.06034126505255699, 0.0476081483066082, 0.005128850229084492 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
That's a good point. Lewis: Sorry, that's a bit dark.
[ 0.04281943663954735, 0.006425774656236172, 0.09753107279539108, -0.011575793847441673, 0.08646968007087708, 0.014855001121759415, 0.016598764806985855, 0.03167364001274109, -0.05605647340416908, -0.05029508098959923, -0.05957403406500816, 0.06163324415683746, -0.02049468457698822, 0.004131325986236334, 0.005943887401372194, 0.03704424574971199, 0.012678567320108414, -0.04312153533101082, 0.0016882183263078332, 0.0008015493513084948, -0.017169984057545662, 0.05430016294121742, -0.0017313730204477906, -0.00279406551271677, 0.03426407277584076, -0.03722881153225899, -0.008862005546689034, -0.036693327128887177, -0.07147581875324249, 0.021926304325461388, 0.002861781744286418, -0.022042198106646538, 0.04453583434224129, 0.05765087530016899, -0.019249048084020615, -0.011679788120090961, -0.08480105549097061, 0.007726034615188837, 0.022464238107204437, -0.03747119754552841, 0.023413818329572678, -0.06388235092163086, -0.01007150486111641, -0.006357291247695684, -0.0316183976829052, -0.0024645966477692127, -0.2704322338104248, 0.1011754646897316, -0.06883842498064041, -0.03776681795716286, -0.07479085773229599, 0.00792856514453888, 0.010141395963728428, 0.027352534234523773, 0.031680990010499954, 0.021622760221362114, -0.012872445397078991, -0.04391245171427727, 0.06438004225492477, -0.06616504490375519, 0.05745917931199074, -0.02769949473440647, -0.0025936828460544348, -0.004011601209640503, 0.0424707755446434, 0.052101828157901764, -0.014130483381450176, 0.006681660655885935, -0.07108486443758011, 0.014842582866549492, -0.006804615259170532, -0.017815405502915382, -0.04107562452554703, 0.007118164096027613, 0.0009626979590393603, -0.018845051527023315, -0.04717164486646652, -0.003834002884104848, 0.046022929251194, 0.0699702650308609, -0.003845545230433345, 0.040140971541404724, 0.11335068196058273, 0.1457095593214035, -0.025895146653056145, -0.05650486797094345, 0.07124975323677063, 0.026901904493570328, -0.02813406102359295, 0.013214725069701672, -0.03370289504528046, -0.0443173423409462, -0.004046685062348843, 0.06337729096412659, 0.012627555057406425, -0.06554961949586868, 0.0710642859339714, -0.049150269478559494, 0.027571221813559532, 0.030253291130065918, -0.06681819260120392, 0.00678169634193182, 0.08695864677429199, -0.0747598335146904, -0.06722748279571533, 0.024531709030270576, 0.01827026903629303, -0.07292889803647995, -0.036352697759866714, 0.05727437138557434, -0.011523539200425148, 0.05398915708065033, 0.05153128504753113, 0.0002207546349382028, -0.03839293122291565, 0.03858206048607826, 0.0014932641061022878, -0.018482718616724014, -0.002583943773061037, 0.021247051656246185, 0.02040315605700016, 0.08215142786502838, 0.014268542639911175, 0.005161118693649769, 0.03760404512286186, -0.05267089605331421, -0.007776667829602957, 0.08137623965740204, -0.04173724725842476, -0.04545767232775688, 0.011346457526087761, 0.055705636739730835, 0.020203836262226105, -0.023958483710885048, -0.03518601506948471, -0.08256515115499496, 0.04005034267902374, -0.04170708358287811, 0.02262607216835022, 0.003729691030457616, -0.0009616976603865623, 0.0034986038226634264, 0.009715542197227478, 0.1179967075586319, -0.006305001210421324, -0.06437268108129501, -0.01553016435354948, 0.019961465150117874, -0.005464149639010429, 0.015829995274543762, 0.02616696245968342, 0.07604115456342697, -0.0020823157392442226, -0.08954290300607681, 0.04009541869163513, 0.03620253503322601, -0.004327346105128527, 0.01161373034119606, -0.08054565638303757, -0.009851044043898582, 0.061487723141908646, -0.02775437757372856, 0.013092187233269215, -0.04922975227236748, 0.06527037918567657, -0.026170488446950912, -0.014479911886155605, -0.058526746928691864, -0.060569778084754944, -0.07054774463176727, -0.046197351068258286, -0.024555763229727745, 0.06608287245035172, -0.04928469657897949, -0.021096624433994293, 0.05986282601952553, 0.005985330790281296, 0.010221061296761036, 0.0016795832198113203, -0.03659512847661972, -0.026624010875821114, -0.01256105862557888, -0.044222891330718994, 0.004238124005496502, 0.006664726417511702, 0.020268123596906662, -0.0011458994122222066, -0.026243699714541435, 0.0021588169038295746, 0.014211522415280342, -0.11688210815191269, -0.038898006081581116, 0.053563810884952545, -0.01716628298163414, 0.01312454417347908, -0.0945957750082016, -0.07109341770410538, 0.03164830058813095, 0.008876971900463104, -0.010187739506363869, 0.08253353834152222, -0.008020957000553608, 0.09411925077438354, 0.00754178361967206, 0.006071269046515226, 0.11451999098062515, 0.06436081975698471, -0.006383600644767284, 0.02381187677383423, -0.016630157828330994, 0.042778242379426956, -0.10808179527521133, 0.033365342766046524, -0.05707187578082085, -0.03249424695968628, 0.008880618028342724, 0.004630289971828461, 0.011667026206851006, 0.05381122976541519, -0.034276336431503296, 0.015322220511734486, 0.03915483132004738, 0.004949094261974096, 0.031532399356365204, 0.01376724150031805, 0.09003082662820816, 0.05528265982866287, -0.04513971880078316, 0.05739513784646988, -0.08528470993041992, -0.05482758209109306, -0.01522071659564972, -0.049174800515174866, 0.06638243049383163, -0.025812793523073196, 0.03694077953696251, -0.04388631880283356, -0.04484286904335022, 0.019382810220122337, -0.10903190821409225, 0.037023261189460754, -0.059019412845373154, -0.012892774306237698, 0.05691717565059662, -0.038658346980810165, -0.04724988341331482, -0.010879621841013432, 0.015076984651386738, -0.029999930411577225, 0.02814089134335518, -0.06568567454814911, 0.040864963084459305, -0.023280763998627663, -0.025454768911004066, 0.031509559601545334, -0.026721853762865067, 0.026924993842840195, 0.0014841608935967088, 0.0018893057713285089, 0.026377789676189423, -0.01664447970688343, -0.02740546502172947, -0.00796288251876831, -0.050393205136060715, -0.004643844906240702, 0.005516201723366976, -0.001520551391877234, 0.02035834640264511, 0.026327619329094887, 0.05822102352976799, -0.012799211777746677, -0.05060606822371483, 0.02172953449189663, 0.017850881442427635, -0.03979094326496124, 0.00011151886428706348, 0.05123170092701912, -0.013414081186056137, 0.002226538024842739, -0.008001904934644699, -0.004185063298791647, -0.010242597199976444, 0.0070550693199038506, 0.04010504484176636, 0.0035374052822589874, -0.04810154438018799, 0.013305814936757088, -0.009314008057117462, -0.012997685931622982, 0.012806251645088196, -0.01184102799743414, 0.05341624096035957, 0.022334609180688858, -0.05486125871539116, 0.02399551123380661, 0.001446514273993671, -0.020904505625367165, 0.013094316236674786, -0.04722641408443451, -0.0036904248408973217, 0.03801596164703369, 0.022715386003255844, 0.005508129950612783, 0.023379895836114883, -0.019967539235949516, 0.026944931596517563, 0.013956958428025246, 0.04250285029411316, -0.13606253266334534, -0.029308190569281578, 0.028866691514849663, 0.030760718509554863, 0.015504436567425728, -0.01071565318852663, 0.04793109372258186, -0.05138975754380226, -0.03249458223581314, -0.03205440938472748, -0.007710927166044712, -0.023650117218494415, 0.014910277910530567, 0.004810295533388853, 0.017346637323498726, -0.02289893478155136, -0.0018561627948656678, 0.035269595682621, -0.013825041241943836, 0.0052362000569701195, 0.011729132384061813, 0.03740912675857544, 0.00577605189755559, -0.011860910803079605, -0.03714277595281601, 0.046677347272634506, 0.002752768574282527, 0.028488127514719963, 0.03053024783730507, -0.013528039678931236, -0.01789148338139057, 0.023744655773043633, -0.040662892162799835, 0.008687068708240986, 0.010022317059338093, -0.02744283340871334, 0.0003797968674916774, -0.061921264976263046, 0.0013332061935216188, 0.04972046986222267, 0.011409126222133636, 0.008215770125389099, 0.009966323152184486, 0.006091125775128603, -0.055280495434999466, -0.000819267297629267, -0.032358910888433456, -0.024438830092549324, 0.04814077541232109, -0.054979972541332245, -0.05881396308541298, 0.02046390250325203, -0.035901281982660294, 0.029816875234246254, -0.02851191908121109, 0.005479527171701193, -0.024144871160387993, 0.03018907830119133, 0.02096693590283394, -0.02802008017897606, 0.0058782403357326984, 0.0452105775475502, 0.0011016650823876262, 0.020571714267134666, 0.026336435228586197, 0.03372926637530327, -0.04745663329958916, 0.02190738543868065, -0.015069570392370224, 0.002029960509389639, -0.003680719994008541, -0.013145506381988525, -0.0052040945738554, 0.02639647014439106, 0.019591202959418297, 0.019746864214539528, -0.01671462133526802, -0.004272973630577326, 0.07374053448438644, -0.05018121376633644, 0.02951447106897831, 0.020424822345376015, -0.017786767333745956, -0.0016819924348965287, 0.007527193985879421, 0.0455235056579113, 0.014000202529132366, 0.04566919058561325, 0.020203690975904465, 0.056892987340688705, 0.030955856665968895, 0.021386632695794106, -0.02117106132209301, 0.009869002737104893, -0.008295638486742973, 0.012726415880024433, 0.014426376670598984, 0.009541747160255909, 0.009229643270373344, 0.024353187531232834, 0.031246954575181007, -0.0129613745957613, -0.019555924460291862, 0.017938880249857903, 0.006958329118788242, 0.02577533945441246, -0.026531433686614037, 0.011935883201658726, -0.006722322199493647, 0.012353603728115559, 0.029865026473999023, -0.025363843888044357, 0.011782361194491386, -0.04746004566550255, -0.005729684140533209, -0.002826972398906946, 0.016099318861961365, -0.01686297543346882, -0.0025936292950063944, 0.021612966433167458, -0.011585207656025887, 0.010387404821813107, 0.055086977779865265, -0.02641209587454796, -0.013594470918178558, 0.019847875460982323, -0.0001181669213110581, -0.0010892783757299185, -0.003683759830892086, -0.03488821163773537, -0.005867796018719673, -0.05224165320396423, 0.022423986345529556, -0.028158582746982574, 0.046815596520900726, 0.011226879432797432, -0.0005838856450282037, 0.07347811013460159, -0.0007774176192469895, -0.09386005997657776, 0.0075164902955293655, -0.003384880255907774, 0.009268934838473797, -0.014116508886218071, 0.032027468085289, -0.02696944959461689, 0.0023283332120627165, -0.01246124878525734, 0.012439313344657421, 0.04103866219520569, 0.07555563747882843, 0.03186534345149994, -0.019080301746726036, 0.01836474984884262, -0.02206532284617424, 0.0364658497273922, -0.013878189027309418, 0.02264225482940674, -0.016800887882709503, 0.06402567028999329, -0.019697342067956924, 0.00904125813394785, -0.04075312614440918, 0.03620528429746628, 0.009548216126859188, -0.028404997661709785, 0.007741766050457954, -0.03399810940027237, -0.009530332870781422, 0.001880027586594224, -0.03474581241607666, 0.01209782063961029, 0.020058542490005493, 0.003982387017458677, 0.037226926535367966, 0.007100848481059074, 0.02361910045146942, -0.014853174798190594, 0.0145097142085433, -0.0076217916794121265, -0.0022286090534180403, 0.0017721394542604685, -0.013711564242839813, -0.01023035030812025, -0.00014640013978350908, -0.02639082260429859, 0.052290067076683044, 0.011135507375001907, 0.022659922018647194, 0.05758924409747124, 0.00571517925709486, -0.016214411705732346, 0.005800091195851564, -0.012058135122060776, -0.00269680074416101, 0.0360611267387867, 0.0074323383159935474, -0.044748466461896896, 0.037832506000995636, -0.012899685651063919, 0.024182694032788277, 0.037338800728321075, 0.013952525332570076, -0.03643561899662018, -0.004472559783607721, 0.003938339184969664, 0.003475878620520234, -0.00020573635993059725, -0.03034077398478985, -0.003980331122875214, -0.009091367945075035, -0.01942606456577778, -0.03203081712126732, -0.05127543583512306, 0.012684169225394726, -0.034727632999420166, -0.04109444096684456, 0.018048543483018875, -0.00029354006983339787, 0.039508283138275146, 0.06224488839507103, 0.0291612446308136, -0.03582325205206871, 0.0254822950810194, 0.05978185310959816, -0.005523237865418196, -0.011725518852472305, 0.024526678025722504, 0.03664691001176834, 0.021237872540950775, 0.03228447958827019, 0.042131759226322174, 0.016047684475779533, 0.023188430815935135, 0.019695129245519638, 0.013044816441833973, -0.04899124801158905, 0.0114212641492486, -0.028226276859641075, -0.013733161613345146, 0.004365998785942793, -0.018358828499913216, -0.0064428118057549, -0.012687870301306248, -0.007434980012476444, -0.008862870745360851, 0.018739817664027214, 0.00363542209379375, 0.0005179222789593041, 0.011629943735897541, 0.06363552808761597, 0.00958750955760479, 0.03261961787939072, -0.0013916130410507321, 0.01966381072998047, -0.007464786991477013, 0.02401929348707199, -0.0050983186811208725, -0.0022689884062856436, -0.027611706405878067, 0.0036228422541171312, -0.016671419143676758, 0.043685171753168106, 0.0013469202676787972, -0.024049995467066765, 0.05279861018061638, 0.013327687047421932, 0.008941731415688992, 0.022775843739509583, -0.00041239819256588817, -0.0061052776873111725, -0.010811683721840382, -0.005655590444803238, -0.026400698348879814, 0.003361551556736231, -0.002298385137692094, 0.007891073822975159, 0.03274700418114662, -0.004177588503807783, -0.009948250837624073, 0.04031055048108101, 0.025475602596998215, 0.02820328250527382, 0.0044446829706430435, -0.022533973678946495, 0.0020604238379746675, 0.03854058310389519, 0.01904483325779438, 0.06594826281070709, -0.008733806200325489, 0.004417601972818375, -0.011639770120382309, 0.014097432605922222, 0.021770808845758438, -0.042706865817308426, 0.03653810918331146, 0.0005161481094546616, -0.009664767421782017, 0.045540858060121536, -0.02527015097439289, 0.02555363066494465, 0.0016428781673312187, 0.014141736552119255, -0.005933032836765051, -0.019469870254397392, -0.013466058298945427, 0.05188099294900894, 0.01642443984746933, 0.013803738169372082, -0.009531201794743538, 0.00522267259657383, 0.0274855587631464, -0.025214597582817078, 0.0014901162358000875, -0.012314562685787678, -0.03314176946878433, 0.03714164346456528, -0.013880904763936996, -0.010191621258854866, 0.005705856252461672, 0.030435428023338318, -0.04092034697532654, -0.02210336923599243, -0.0013579450314864516, -0.04052317142486572, -0.07846330106258392, 0.030943503603339195, 0.037118855863809586, 0.0002240720932604745, -0.009547543711960316, 0.01612147130072117, 0.013189348392188549, -0.009925251826643944, 0.010681224055588245, -0.030016344040632248, 0.006727420259267092, 0.046032555401325226, 0.029087521135807037, -0.03928351774811745, -0.009713459759950638, -0.01843598671257496, -0.028504708781838417, -0.01138840802013874, -0.0024128598161041737, -0.042171087116003036, 0.011308044195175171, 0.023144761100411415, -0.022514808923006058, -0.04165537655353546, 0.021336793899536133, 0.015507465228438377, 0.018979351967573166, 0.015891024842858315, 0.015151372179389, 0.0005412082537077367, -0.004887738730758429, -0.05030934512615204, -0.009298414923250675, -0.0053425938822329044, -0.005058229435235262, 0.0028284236323088408, 0.03384736552834511, -0.006080580875277519, -0.03600026294589043, -0.036273978650569916, -0.0026115013752132654, -0.025494251400232315, 0.0103093720972538, -0.015078372322022915, 0.04016497731208801, 0.000262341316556558, -0.005438158288598061, 0.019537732005119324, 0.0019340296275913715, -0.007418038323521614, -0.01946703903377056, 0.006493398454040289, -0.002540471265092492, -0.00817920546978712, -0.03772469609975815, 0.05430184677243233, -0.003290469292551279, 0.005776035599410534, 0.002273540711030364, 0.03419571369886398, -0.008487393148243427, -0.030229995027184486, 0.013783670961856842, 0.013202250003814697, 0.04739632084965706, -0.031324565410614014, -0.01898721046745777, -0.023508016020059586, -0.05334070324897766, -0.0030324982944875956, -0.005910547915846109, -0.0200129933655262, -0.01606058143079281, 0.009596118703484535, -0.012368615716695786, -0.020095424726605415, 0.0391860157251358, 0.010470841079950333, 0.013431998901069164, 0.030649490654468536, -0.029995957389473915, 0.015453912317752838, -0.03802087530493736, 0.003111571539193392, 0.0007109337020665407, 0.0023766884114593267, 0.02038998156785965, 0.013964090496301651, -0.060896772891283035, 0.030982209369540215, -0.02795189619064331, -0.05748624727129936, -0.0004571973404381424, 0.04440862685441971, -0.005421673413366079, 0.008945774286985397, 0.00982558261603117, -0.007033052854239941, 0.026649100705981255, 0.024569112807512283, 0.008423482067883015, -0.015300491824746132, 0.04210445657372475, 0.015549027360975742, -0.024672629311680794, 0.031893838196992874, -0.0013553235912695527, 0.0321141816675663, 0.05327160283923149, 0.05061211436986923, -0.004994898568838835, 0.011464932933449745, -0.03868778422474861, -0.030166123062372208, 0.011773364618420601, -0.01699092425405979, 0.0031834121327847242, -0.017369849607348442, -0.010692223906517029, -0.03273667395114899, -0.06506169587373734, 0.029683465138077736, -0.011405395343899727, 0.0130086038261652, -0.011912592686712742, 0.020063044503331184, -0.020201310515403748, 0.024679500609636307, 0.0655248686671257, -0.004488566890358925, 0.03266936168074608, 0.02953306771814823, 0.028206592425704002, 0.01653093285858631, 0.04172185808420181 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
You and other experts at Hugging Face have been working hard on the Hugging Face Course. How did that come about & where is it headed? Lewis: When I joined Hugging Face, Sylvian and Lysandre, two of the core maintainers of the transformers library, were developing a course to basically bridge the gap between people who are more like software engineers who are curious about natural language processing but specifically curious about the transformers revolution that's been happening. So I worked with them and others in the open-source team to create a free course called the Hugging Face Course. And this course is designed to really help people go from knowing kind of not so much about ML all the way through to having the ability to train models on many different tasks. And, we've released two parts of this course and planning to release the third part this year. I'm really excited about the next part that we're developing right now where we're going to explore different modalities where transformers are really powerful. Most of the time we think of transformers for NLP, but likely there's been this explosion where transformers are being used in things like audio or in computer vision and we're going to be looking at these in detail.
[ 0.0530475378036499, -0.06279756873846054, 0.051930926740169525, -0.06299319863319397, 0.014110574498772621, 0.056505102664232254, -0.010267806239426136, 0.0548870712518692, -0.00836460292339325, 0.016902251169085503, -0.08905668556690216, 0.0915537029504776, -0.006172442343086004, 0.05784333869814873, 0.009515422396361828, -0.04978255555033684, 0.015292656607925892, -0.02936926856637001, 0.004544305615127087, 0.0755271315574646, -0.04757095128297806, -0.01588928885757923, 0.04409462586045265, -0.012444548308849335, -0.020065154880285263, -0.04565254971385002, 0.018653254956007004, -0.027244171127676964, 0.0064428518526256084, 0.018801892176270485, -0.06410729885101318, -0.04957209900021553, -0.03508535027503967, -0.04497334361076355, -0.04718281328678131, -0.002814257051795721, -0.16055592894554138, 0.037077583372592926, 0.04009787738323212, 0.0326833538711071, 0.008260590955615044, -0.019768934696912766, -0.10435806214809418, 0.02639174275100231, -0.04890815168619156, -0.02505439706146717, -0.21775537729263306, 0.07902585715055466, -0.04124021157622337, -0.06738656014204025, -0.09804961830377579, 0.09157077968120575, -0.009397617541253567, 0.03183748945593834, -0.0022174010518938303, 0.0013310546055436134, 0.030288809910416603, -0.041168294847011566, 0.02303619682788849, -0.014424712397158146, 0.013103831559419632, 0.007679514121264219, 0.0285482220351696, -0.02341696433722973, 0.013208546675741673, 0.009026777930557728, 0.017552385106682777, -0.040144797414541245, -0.09672673046588898, -0.03347468376159668, 0.08698541671037674, -0.04323318228125572, -0.029583439230918884, 0.0018284053076058626, -0.029992975294589996, -0.01092476211488247, 0.021502137184143066, 0.018811983987689018, 0.029246993362903595, 0.03605905920267105, -0.01679093949496746, 0.018087226897478104, 0.03018178790807724, 0.034275121986866, 0.008815470151603222, 0.0474509671330452, 0.025906305760145187, -0.03580090403556824, -0.05400002375245094, 0.06405095756053925, -0.013995413668453693, -0.09590023010969162, -0.006842330563813448, 0.0036257109604775906, 0.07722657173871994, -0.04989750683307648, -0.031146032735705376, 0.027231069281697273, 0.004672170616686344, -0.06422629207372665, 0.010494421236217022, -0.01575324311852455, 0.007454151753336191, -0.033862337470054626, -0.034178465604782104, 0.030513770878314972, -0.005210765637457371, -0.1007595807313919, -0.02868420071899891, 0.02174844779074192, 0.015029407106339931, -0.05333596467971802, 0.027516759932041168, 0.07398392260074615, -0.07592470198869705, 0.07643147557973862, 0.011990881524980068, -0.029737723991274834, 0.005031913984566927, 0.00634464155882597, 0.00969949271529913, 0.04232374206185341, -0.036400943994522095, 0.016662722453475, -0.0187050960958004, 0.05582927539944649, -0.04805732145905495, 0.04707140475511551, 0.019742455333471298, -0.0797058567404747, 0.03440677374601364, -0.032207634299993515, 0.021909739822149277, -0.012818393297493458, 0.00018646451644599438, -0.017234304919838905, 0.052097175270318985, -0.0762479156255722, 0.019993962720036507, 0.05153747648000717, -0.024190355092287064, 0.07690205425024033, 0.030353078618645668, -0.005280457437038422, 0.04364599660038948, -0.021764731034636497, -0.13170605897903442, 0.0545983612537384, -0.008480127900838852, -0.0001354920823359862, -0.03684863820672035, 0.022817036136984825, -0.016236387193202972, -0.06600095331668854, 0.04413541033864021, 0.039903055876493454, -0.01612146943807602, -0.019932260736823082, -0.00042283194488845766, -0.052097368985414505, -0.010905809700489044, -0.038573238998651505, -0.020637333393096924, 0.0060791377909481525, 0.03207508102059364, -0.08665554970502853, -0.07758934795856476, 0.01398425456136465, -0.04221881926059723, 0.005745834670960903, -0.005221880041062832, -0.01720455288887024, 0.013333279639482498, -0.028823062777519226, -0.042038869112730026, 0.02540626935660839, 0.05180228129029274, 0.07292341440916061, -0.0029069746378809214, 0.035772185772657394, -0.04785875231027603, 0.007110464386641979, 0.02844102680683136, 0.009363183751702309, 0.0781979113817215, -0.02165094017982483, -0.010229171253740788, 0.006986722350120544, 0.01855754293501377, 0.029581677168607712, -0.004889728967100382, -0.00034711690386757255, 0.07575880736112595, -0.018668033182621002, 0.025564847514033318, -0.034274470061063766, -0.07524865120649338, 0.1222003772854805, -0.028824560344219208, 0.07585395872592926, 0.05237332358956337, -0.02324838377535343, 0.02809099480509758, -0.029951678588986397, 0.010837011970579624, -0.008321400731801987, 0.053399451076984406, -0.03210045024752617, 0.022664833813905716, 0.03859192878007889, 0.0938459262251854, -0.0756245106458664, 0.026023998856544495, -0.006927283946424723, 0.034794293344020844, -0.06967394053936005, -0.019958164542913437, 0.01725645363330841, -0.0020040725357830524, 0.004394229967147112, 0.13858763873577118, -0.030702020972967148, -0.02860669046640396, -0.03810260817408562, 0.023657847195863724, 0.008834927342832088, 0.06749515980482101, 0.05537056550383568, 0.07399618625640869, -0.07400331646203995, -0.04817270487546921, -0.034742411226034164, -0.05510120838880539, -0.0233860332518816, -0.0021671000868082047, -0.036496736109256744, 0.039121098816394806, -0.045729976147413254, -0.0007088390993885696, -0.02188912406563759, 0.026331167668104172, -0.05033547803759575, 0.03368394076824188, 0.05616363137960434, -0.029301738366484642, -0.01280553825199604, 0.05692559480667114, -0.00773570965975523, 0.0018461105646565557, 0.03367212787270546, -0.056104373186826706, 0.06563351303339005, -0.032152216881513596, 0.01881205104291439, 0.005198033060878515, 0.03365476801991463, 0.03350680321455002, -0.003494624514132738, 0.020778531208634377, 0.05305061861872673, 0.011141196824610233, -0.03345790505409241, -0.03495553508400917, -0.024153802543878555, 0.0014667718205600977, -0.02849418856203556, -0.0201526191085577, -0.009346705861389637, 0.029977763071656227, 0.07483121007680893, 0.03784959763288498, -0.03206683695316315, 0.05669209733605385, 0.009878133423626423, 0.003560949582606554, 0.007559574209153652, 0.06847051531076431, 0.02786991372704506, -0.0115627720952034, -0.05683155730366707, -0.0024908562190830708, -0.00448647141456604, 0.021632060408592224, 0.031013114377856255, 0.01970151625573635, -0.004212730564177036, -0.04169108718633652, -0.033507462590932846, -0.000937963486649096, 0.03252332657575607, 0.02302505262196064, 0.046390995383262634, 0.012772650457918644, -0.04598713293671608, -0.02538738213479519, -0.003685962175950408, 0.01771022006869316, -0.02890280820429325, -0.04213130846619606, 0.044240884482860565, 0.021781010553240776, 0.005358866881579161, -0.0038157117087394, 0.023394770920276642, 0.003382984083145857, 0.003380655776709318, 0.04300817847251892, 0.01739681139588356, -0.09940390288829803, -0.017580540850758553, 0.005992577411234379, -0.014584047719836235, -0.002722712466493249, -0.021663472056388855, 0.04692234471440315, -0.0381886288523674, 0.009921652264893055, -0.0029867514967918396, -0.003144304733723402, 0.0007390707614831626, -0.0010025951778516173, 0.02912643924355507, 0.000940825033467263, -0.007538695819675922, 0.014406234957277775, 0.03383668139576912, 0.019495436921715736, 0.03949007764458656, -0.024279693141579628, 0.049327004700899124, 0.0016197845106944442, 0.01474018581211567, 0.01800094172358513, -0.023128099739551544, 0.027097931131720543, 0.019352419301867485, 0.025141529738903046, -0.03542223200201988, 0.009852595627307892, 0.0430336594581604, -0.06709779798984528, 0.050758544355630875, -0.023026639595627785, 0.02452019229531288, 0.0030980093870311975, -0.028273288160562515, -0.002139459829777479, 0.015453951433300972, -0.004712987691164017, -0.027384549379348755, -0.021175863221287727, -0.029700422659516335, 0.014880988746881485, -0.012728464789688587, -0.049355775117874146, -0.021907880902290344, -0.001498188590630889, -0.012120702303946018, -0.01292320154607296, 0.012868516147136688, 0.014641137793660164, 0.01537755411118269, -0.02212638221681118, -0.0012383183930069208, 0.007457703817635775, -0.034798458218574524, -0.008826087228953838, 0.024667968973517418, -0.03985823690891266, 0.016499673947691917, -0.03181534260511398, -0.011106989346444607, 0.016628840938210487, 0.056521669030189514, -0.026874257251620293, -0.011330043897032738, 0.0036703613586723804, 0.010337529703974724, 0.026372916996479034, 0.028287965804338455, -0.03833453729748726, 0.0011011078022420406, -0.03825054690241814, 0.022736679762601852, 0.01576409861445427, -0.02398362196981907, 0.10428851842880249, 0.032830383628606796, -0.059521473944187164, 0.0048884241841733456, -0.02048090100288391, -0.029191192239522934, 0.009100164286792278, -0.014546452090144157, 0.056633271276950836, -0.012204505503177643, 0.05649728327989578, 0.048091500997543335, 0.008452278561890125, -0.03348584845662117, -0.008763534016907215, 0.0001814987772377208, -0.013448616489768028, -0.016594374552369118, 0.02563305012881756, 0.015565598383545876, 0.02594934031367302, -0.017266979441046715, 0.028013600036501884, -0.04151856526732445, -0.011975201778113842, -0.025237001478672028, 0.003197555663064122, 0.014013882726430893, -0.025901490822434425, -0.07758425921201706, 0.023307448253035545, -0.005833896808326244, 0.012928462587296963, -0.025113744661211967, 0.027618058025836945, -0.023589225485920906, 0.04955726116895676, 0.019940370693802834, -0.020584365352988243, 0.007174708880484104, -0.057710666209459305, 0.020866209641098976, 0.002337459707632661, -0.018667252734303474, 0.008891572244465351, -0.02262701466679573, 0.03563697636127472, -0.009725195355713367, 0.0242879968136549, -0.008439641445875168, 0.008111084811389446, 0.021633395925164223, -0.026578987017273903, -0.017621416598558426, 0.027323313057422638, 0.009778386913239956, 0.021073661744594574, 0.03574489802122116, -0.05595859885215759, 0.004919332917779684, -0.016766993328928947, -0.008938584476709366, -0.008494086563587189, -0.00303963222540915, 0.06487767398357391, -0.02739209309220314, 0.016619054600596428, 0.00005671415783581324, -0.05425409600138664, -0.033151775598526, -0.0158137958496809, 0.014473730698227882, 0.02597268857061863, -0.01060828473418951, -0.0423087403178215, 0.03427378088235855, 0.020490121096372604, 0.030043628066778183, 0.0019775915425270796, 0.030044278129935265, -0.003651226172223687, 0.018231486901640892, -0.029894376173615456, 0.038088150322437286, -0.045252151787281036, 0.009811362251639366, 0.022055577486753464, -0.019819345325231552, -0.006139731965959072, -0.06449019908905029, 0.021409450098872185, 0.004265086725354195, 0.012969428673386574, -0.026846736669540405, 0.0016308517660945654, -0.025089237838983536, -0.0025081613566726446, 0.034174349159002304, 0.020607775077223778, 0.010450566187500954, -0.053491950035095215, 0.009378397837281227, -0.012290416285395622, 0.0022554772440344095, 0.000546672788914293, -0.01612892374396324, 0.026814516633749008, 0.005249334499239922, 0.06412255764007568, 0.07107442617416382, -0.011348406784236431, 0.0009282164974138141, 0.03381773456931114, -0.020701007917523384, 0.019526174291968346, -0.009590971283614635, -0.009033184498548508, -0.004871977958828211, -0.010151459835469723, -0.01767563819885254, -0.0505652129650116, -0.017195990309119225, 0.005935216322541237, 0.040353599935770035, -0.02880850061774254, 0.0010889089899137616, 0.024036210030317307, -0.00024542270693928003, -0.0029064896516501904, -0.011301389895379543, 0.016310399398207664, -0.046803154051303864, 0.025025201961398125, 0.011623484082520008, 0.024169370532035828, -0.025169305503368378, -0.008597553707659245, -0.012440665625035763, -0.00238107074983418, -0.0008345395908690989, 0.02364729717373848, 0.035011421889066696, -0.03386905789375305, 0.014096761122345924, -0.04865589737892151, -0.052090853452682495, 0.04065946117043495, -0.017002295702695847, -0.005282318685203791, 0.027404528111219406, 0.039619144052267075, -0.013059267774224281, 0.05025862157344818, 0.018287984654307365, 0.012211658991873264, 0.029380235821008682, -0.012648280709981918, 0.0020542708225548267, -0.025097807869315147, 0.029485506936907768, 0.007359152659773827, -0.019388001412153244, 0.02233932353556156, -0.008750648237764835, -0.02341773919761181, -0.009352538734674454, -0.038606759160757065, 0.009472712874412537, 0.07983162999153137, 0.015811873599886894, -0.0016278059920296073, -0.015395577996969223, 0.05287042260169983, 0.019196536391973495, 0.0077620865777134895, 0.008071855641901493, 0.013058345764875412, 0.043267831206321716, 0.02640802040696144, 0.013640293851494789, -0.011758382432162762, -0.044411975890398026, -0.0029281293973326683, -0.05431089177727699, 0.017754802480340004, 0.005754426587373018, -0.0020916368812322617, 0.008124640211462975, 0.01785660907626152, 0.0038887911941856146, -0.0008383002714253962, -0.007159519474953413, 0.01034809835255146, 0.020746495574712753, 0.010589095763862133, 0.02070438303053379, -0.01869749091565609, -0.06846171617507935, 0.02030385658144951, 0.05272005498409271, 0.00865852739661932, 0.035694628953933716, 0.035650789737701416, 0.03477185592055321, 0.05260935798287392, 0.014497015625238419, 0.03188074007630348, 0.02762794680893421, 0.06259949505329132, 0.0007792518008500338, 0.046983931213617325, 0.03951249644160271, -0.02625809796154499, -0.05194682627916336, 0.004637919832020998, -0.01516930665820837, -0.025868035852909088, -0.04309132322669029, 0.008973021060228348, -0.013315385207533836, 0.013090332970023155, -0.022178955376148224, 0.049570776522159576, 0.013686730526387691, 0.01813550479710102, 0.003700805827975273, 0.07105222344398499, 0.05534438416361809, 0.046852536499500275, 0.02712300419807434, 0.07225508242845535, -0.004072345327585936, -0.016124971210956573, 0.04496835917234421, 0.029165038838982582, 0.02891078218817711, 0.009127425029873848, -0.037164077162742615, 0.030027173459529877, -0.01104161236435175, 0.002475350396707654, -0.003188306698575616, -0.02671470306813717, 0.010679638013243675, 0.016415303573012352, -0.03418760001659393, 0.005504337139427662, 0.019305014982819557, -0.011412104591727257, 0.0018418143736198545, -0.001946564414538443, -0.03797071427106857, 0.013071218505501747, 0.053129494190216064, 0.022263767197728157, -0.010421578772366047, -0.012891924008727074, -0.04385131224989891, 0.05095834657549858, -0.008158507756888866, -0.04164426401257515, -0.03426676616072655, 0.0126221664249897, 0.012717756442725658, -0.007800250314176083, 0.0031858249567449093, -0.035918015986680984, -0.018999971449375153, 0.003935986664146185, 0.028859751299023628, -0.02166493982076645, 0.05111050605773926, 0.030391903594136238, -0.01113594975322485, -0.05734657496213913, 0.002330077812075615, 0.00017980374104809016, -0.009239026345312595, -0.04123720899224281, -0.043556950986385345, 0.025923600420355797, -0.013693781569600105, 0.005211557727307081, 0.0019297065446153283, 0.07798011600971222, -0.024735022336244583, -0.03261740878224373, 0.009600384160876274, 0.009303729981184006, -0.005124915856868029, 0.02102593332529068, 0.02966122329235077, -0.03005017712712288, 0.003722625318914652, 0.024975767359137535, -0.0031898580491542816, 0.0025582839734852314, -0.009272877126932144, 0.04677582532167435, -0.031116047874093056, -0.047196514904499054, 0.02251369319856167, 0.05107696354389191, 0.02053214982151985, 0.0446070097386837, 0.013528487645089626, 0.015312187373638153, -0.004168129526078701, -0.057539746165275574, 0.002230437006801367, -0.037424106150865555, 0.006381727755069733, -0.022542495280504227, -0.0620475597679615, 0.004631917458027601, -0.0035674332175403833, -0.014001261442899704, 0.010728344321250916, -0.02115746960043907, -0.003755052573978901, -0.024769237264990807, -0.006791718304157257, 0.014084381982684135, 0.014136859215795994, 0.04097767919301987, 0.013185045681893826, 0.002286983421072364, -0.018698398023843765, 0.009172932244837284, -0.02426053024828434, 0.023865344002842903, 0.02100265584886074, 0.03552350029349327, -0.01179816760122776, -0.01037890650331974, -0.03433336690068245, -0.042030829936265945, 0.00540535431355238, -0.05707016587257385, 0.038341786712408066, 0.026064390316605568, -0.0155525803565979, 0.006188839673995972, 0.019271181896328926, -0.014090897515416145, -0.03266130015254021, 0.052637599408626556, -0.028049670159816742, -0.018621856346726418, 0.002171544823795557, 0.048046424984931946, -0.029923055320978165, 0.016615714877843857, -0.009146830067038536, 0.04126293212175369, 0.04587378725409508, 0.011208673007786274, -0.01681523583829403, 0.015085235238075256, 0.0073265377432107925, 0.017923319712281227, 0.026429345831274986, -0.04573924094438553, -0.028940115123987198, -0.0017926051514223218, 0.03643207997083664, -0.016109507530927658, -0.06123756244778633, 0.02709520235657692, 0.018994072452187538, -0.008082735352218151, -0.002897853497415781, -0.013329057954251766, -0.023950083181262016, -0.032244808971881866, 0.023032573983073235, -0.009267383255064487, 0.05018392205238342, 0.045617587864398956, -0.02434392273426056, -0.015231477096676826, -0.034603096544742584 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
I don't think so. Lewis: So when O’Reilly is telling you “We're going to get our illustrator now to design the cover,” it's a secret, right? They don't tell you what the logic is or you have no say in the matter. So, basically, the illustrator comes up with an idea and in one of the last chapters of the book we have a section where we basically train a GPT-2 like model on Python code, this was Thom's idea, and he decided to call it code parrot. I think the idea or the joke he had was that there's a lot of discussion in the community about this paper that Meg Mitchell and others worked on called, ‘Stochastic Parrots’. And the idea was that you have these very powerful language models which seem to exhibit human-like traits in their writing as we discussed earlier but deep down maybe they're just doing some sort of like parrot parenting thing. You know, if you talk to like a cockatoo it will swear at you or make jokes. That may not be a true measure of intelligence, right? So I think that the illustrator somehow maybe saw that and decided to put a parrot which I think is a perfect metaphor for the book. And the fact that there are transformers in it.
[ -0.007256165612488985, 0.027696244418621063, -0.07414635270833969, 0.04365964233875275, 0.06518415361642838, 0.03174946457147598, -0.02678215503692627, 0.060155581682920456, -0.03358512744307518, -0.03185417130589485, -0.07589374482631683, 0.0678117498755455, -0.047774218022823334, 0.007299645338207483, -0.013987292535603046, 0.009683764539659023, 0.020970705896615982, -0.004144733771681786, -0.050376199185848236, -0.016942499205470085, -0.031988415867090225, -0.014208268374204636, -0.027764542028307915, -0.11576304584741592, -0.06723956763744354, -0.03888874873518944, 0.02002224698662758, -0.023706480860710144, 0.04564119502902031, 0.038339950144290924, 0.00637514004483819, -0.050868839025497437, 0.0011717306915670633, 0.0026671160012483597, -0.050943706184625626, -0.046322159469127655, -0.13705399632453918, 0.03261185437440872, -0.026065031066536903, -0.0020538042299449444, 0.03731171786785126, -0.00761182839050889, -0.04768957197666168, 0.02587488479912281, -0.05222977697849274, -0.021969374269247055, -0.1460110992193222, 0.09295777231454849, -0.0635969489812851, -0.0357527993619442, -0.03475786745548248, -0.03358426317572594, -0.05102534592151642, 0.0027700290083885193, -0.03680340573191643, 0.025994375348091125, -0.018851330503821373, -0.037192799150943756, 0.013662409037351608, -0.06996679306030273, 0.026242995634675026, -0.0003415009705349803, 0.035604432225227356, 0.0025677853263914585, 0.032959070056676865, -0.030141588300466537, -0.017440568655729294, -0.008546079508960247, -0.06255211681127548, -0.005154202692210674, -0.06364575773477554, -0.04914728179574013, 0.04225228726863861, -0.06923285871744156, 0.02183680608868599, 0.0027962266467511654, 0.0010228503961116076, 0.14473332464694977, -0.006959252059459686, 0.0003775318036787212, 0.03552656248211861, 0.07519137114286423, 0.07929451763629913, 0.008253566920757294, -0.01780000887811184, -0.019417138770222664, 0.020347779616713524, -0.022534532472491264, -0.05914108082652092, -0.02743956819176674, -0.04958925023674965, -0.10772304236888885, -0.05214477702975273, 0.03453407064080238, 0.039691925048828125, -0.031766802072525024, -0.06136877462267876, -0.008413105271756649, -0.04300546646118164, -0.0005925603909417987, -0.004442525561898947, -0.030888665467500687, 0.010661210864782333, -0.07563407719135284, -0.09202825278043747, 0.010768093168735504, 0.01197440642863512, -0.10227952152490616, -0.010529967956244946, 0.0993041843175888, -0.004152023699134588, -0.0243487898260355, 0.02761691063642502, 0.042695529758930206, -0.04557349160313606, 0.016691703349351883, -0.007529387716203928, -0.023407036438584328, -0.03495601937174797, 0.06451055407524109, -0.013328134082257748, -0.0160212442278862, 0.047544676810503006, 0.014192475005984306, -0.0027232819702476263, -0.04030846431851387, -0.061167459934949875, 0.03885537385940552, -0.007708629593253136, -0.011276681907474995, 0.049051690846681595, 0.03951572626829147, 0.008786608465015888, -0.022633690387010574, 0.06031694635748863, 0.08369000256061554, 0.00019050519040320069, -0.015030007809400558, 0.03190680593252182, 0.06816614419221878, 0.03835344314575195, 0.02502313069999218, 0.0330844521522522, -0.025710999965667725, 0.033086445182561874, -0.010829562321305275, -0.03207536041736603, 0.04177377372980118, -0.0223246980458498, -0.012767603620886803, -0.012357491068542004, 0.02493094839155674, -0.04345102980732918, -0.030752908438444138, 0.04260829836130142, 0.018482860177755356, -0.015079036355018616, -0.03670913726091385, -0.03579025715589523, -0.03001554124057293, 0.054476298391819, -0.06262737512588501, -0.035687144845724106, -0.043408095836639404, 0.017127377912402153, -0.0679216980934143, -0.04757368192076683, 0.00565665727481246, -0.0001385620271321386, -0.021681584417819977, -0.08273080736398697, -0.02335490472614765, 0.03436558321118355, 0.04845975711941719, 0.059287965297698975, -0.010146498680114746, -0.01272566057741642, -0.05073096603155136, 0.02760026790201664, 0.04501776769757271, -0.03462677448987961, 0.023348737508058548, 0.031421881169080734, 0.004454350098967552, 0.012337618507444859, -0.009940876625478268, -0.004368404857814312, -0.06158510223031044, -0.005259173922240734, -0.06199120730161667, -0.008874704129993916, -0.02911590039730072, 0.08049832284450531, -0.01808341033756733, 0.02294730395078659, -0.07484904676675797, -0.06438864022493362, 0.07059214264154434, 0.03479298576712608, 0.07812922447919846, 0.041487570852041245, 0.03407032787799835, 0.0354200080037117, -0.01567462645471096, -0.015597009100019932, 0.014449488371610641, -0.0012768174055963755, 0.004101707600057125, -0.0035215255338698626, 0.0034740353003144264, 0.08769507706165314, 0.02888457663357258, -0.008149809204041958, -0.00048728022375144064, -0.026927605271339417, 0.02295519784092903, 0.031156156212091446, 0.007261013612151146, -0.06810751557350159, -0.07995011657476425, 0.05850199609994888, 0.050100795924663544, -0.040755659341812134, -0.05171367898583412, 0.06250796467065811, 0.12094811350107193, 0.09255097806453705, -0.02338653802871704, 0.007663730997592211, -0.07766637206077576, -0.05502423271536827, -0.04290991649031639, 0.006266169250011444, 0.0265229269862175, -0.07393934577703476, 0.0465918630361557, -0.018539538607001305, 0.03523288667201996, -0.0032250259537249804, -0.073576420545578, 0.01155109703540802, -0.027161771431565285, -0.03135703504085541, 0.09804005920886993, 0.017431529238820076, -0.029947685077786446, 0.024875879287719727, -0.02945612370967865, 0.0330720990896225, 0.09773198515176773, 0.0005425232229754329, 0.07033492624759674, -0.01693127490580082, -0.008950292132794857, -0.07157693058252335, 0.09472283720970154, -0.023571424186229706, -0.0036799474619328976, 0.0024624804500490427, 0.019142815843224525, -0.06259522587060928, 0.02107607200741768, -0.01993817277252674, -0.006428871303796768, -0.0396902859210968, -0.034052230417728424, 0.008077948354184628, 0.027262425050139427, 0.01668083295226097, 0.051403824239969254, 0.013265379704535007, 0.0030421463306993246, -0.027318276464939117, 0.005453352816402912, 0.008667180314660072, 0.03820665180683136, 0.027391506358981133, -0.00015917936980258673, -0.006177023984491825, -0.020053070038557053, -0.04221957549452782, 0.012179151177406311, 0.038381725549697876, 0.021857336163520813, -0.01810292713344097, 0.011892955750226974, -0.01563946157693863, 0.013719726353883743, -0.026928488165140152, -0.01135250087827444, -0.01805083267390728, 0.021601082757115364, -0.00394198065623641, -0.0034286698792129755, -0.04546685144305229, 0.008848422206938267, 0.0026614132802933455, -0.009660606272518635, -0.04961662366986275, 0.020594222471117973, 0.04807717725634575, 0.009121537208557129, 0.02959076687693596, 0.0534059964120388, 0.02804882451891899, 0.038758646696805954, 0.012043358758091927, 0.001254450180567801, -0.06845340877771378, -0.034733355045318604, 0.0027848752215504646, -0.036661889404058456, -0.0032522582914680243, -0.008795049972832203, 0.03828189894556999, -0.03310718014836311, 0.0028045044746249914, 0.055220723152160645, -0.005788052454590797, 0.01316065527498722, -0.01966581493616104, 0.03284595534205437, 0.06293045729398727, -0.017616666853427887, -0.06880742311477661, 0.031028667464852333, -0.036447443068027496, 0.05402081459760666, -0.007674393244087696, 0.026738543063402176, -0.017430979758501053, 0.0026044477708637714, -0.004057887475937605, 0.003780751023441553, 0.006297044921666384, 0.02310780994594097, 0.07110346108675003, -0.016602184623479843, -0.0372573621571064, -0.003945706877857447, 0.018384724855422974, -0.02102109231054783, -0.05930469557642937, -0.03748952969908714, 0.009561560116708279, 0.01865614578127861, -0.018860729411244392, 0.08512984961271286, -0.027784928679466248, -0.03970066457986832, 0.009524826891720295, -0.005881788209080696, -0.010671566240489483, -0.027755355462431908, -0.04464253783226013, -0.027391575276851654, 0.029047857969999313, 0.0007201391854323447, 0.008794811554253101, 0.014618945308029652, -0.0016495742602273822, 0.0537140816450119, -0.023767372593283653, -0.003431383753195405, 0.049857866019010544, 0.045537497848272324, 0.003889800049364567, -0.006808773148804903, 0.02107221819460392, -0.021277407184243202, 0.02974027208983898, 0.0012871574144810438, -0.02153991162776947, 0.028111105784773827, 0.01573958806693554, -0.008834976702928543, -0.001443595509044826, 0.010586416348814964, 0.039292678236961365, 0.018664797767996788, -0.005727605428546667, -0.003916625864803791, -0.0049635544419288635, 0.02014230005443096, -0.06472977250814438, -0.025915438309311867, 0.07577210664749146, 0.019669346511363983, 0.018842585384845734, -0.02552231214940548, -0.031586654484272, -0.018810240551829338, 0.03749745339155197, 0.0022474462166428566, 0.017762383446097374, -0.07238167524337769, -0.004900421481579542, 0.029249368235468864, 0.016910558566451073, -0.025929389521479607, -0.012492179870605469, 0.007601466029882431, 0.016875021159648895, 0.017789550125598907, 0.0937097817659378, 0.014139923267066479, 0.01646263711154461, -0.014335399493575096, -0.00863917637616396, -0.02005993388593197, -0.03856074437499046, 0.0029434107709676027, 0.0023843522649258375, -0.0034762914292514324, 0.008676867000758648, -0.05246613919734955, -0.00963139533996582, 0.021798741072416306, -0.017421936616301537, -0.06243491917848587, 0.024537378922104836, -0.0018112470861524343, 0.01047202292829752, 0.03906932473182678, 0.05743847414851189, -0.025679748505353928, 0.011491320095956326, 0.004848519805818796, -0.022840695455670357, -0.027587294578552246, -0.004195959307253361, 0.009182417765259743, -0.04214157536625862, -0.02981235273182392, -0.005182755179703236, -0.003194571938365698, 0.04175415262579918, 0.0026790082920342684, -0.0203997939825058, -0.008527418598532677, -0.022179879248142242, -0.02368231862783432, 0.012214576825499535, 0.07213786244392395, -0.014539865776896477, 0.009362820535898209, 0.013424316421151161, -0.018128929659724236, 0.040030431002378464, -0.006057498976588249, 0.020695006474852562, -0.03347821906208992, 0.025331955403089523, -0.00824378989636898, 0.020018525421619415, -0.011466467753052711, 0.011534588411450386, 0.00521656172350049, 0.03691168501973152, 0.056426797062158585, -0.03686213865876198, -0.029185371473431587, -0.006335079204291105, 0.06779299676418304, 0.008131195791065693, 0.02795496955513954, -0.008998626843094826, -0.0012275465996935964, 0.06469717621803284, 0.04530329257249832, -0.012729200534522533, 0.0015249951975420117, 0.05895210802555084, 0.059005096554756165, -0.009139059111475945, -0.06389565020799637, 0.026954777538776398, -0.014619236811995506, -0.0523194819688797, 0.007516807876527309, -0.013119637034833431, 0.025247596204280853, -0.007260092068463564, 0.006671220995485783, 0.03326603025197983, 0.05232911929488182, -0.032976072281599045, 0.07950066030025482, 0.028694698587059975, 0.008370473980903625, 0.0017001855885609984, -0.011460170149803162, 0.02374938130378723, -0.0032891614828258753, 0.05041617155075073, 0.05258805304765701, -0.02922273613512516, -0.01926092617213726, 0.03018929995596409, -0.006249072961509228, -0.05554249882698059, -0.013029126450419426, 0.03300804644823074, 0.0317947156727314, -0.001989523181691766, -0.007629991043359041, -0.0016900859773159027, -0.01685354672372341, 0.003375158878043294, 0.023222658783197403, -0.000933384639210999, -0.03149993717670441, 0.009674330241978168, 0.0012643736554309726, -0.0022756082471460104, 8.66975469193676e-8, 0.041261669248342514, 0.006508872844278812, -0.009221681393682957, -0.02197408862411976, 0.017278432846069336, -0.0024574040435254574, 0.012096279300749302, 0.021499717608094215, 0.010930623859167099, -0.0006180427735671401, -0.01271219551563263, 0.014543736353516579, 0.0022529051639139652, 0.0023272233083844185, -0.005386573728173971, -0.012778104282915592, 0.028462868183851242, -0.031475167721509933, 0.0070406245067715645, 0.0026523026172071695, 0.01631893403828144, -0.05971376970410347, 0.0574970543384552, 0.015598633326590061, -0.003156612627208233, 0.04361480101943016, 0.0116476034745574, -0.0013284251326695085, -0.04386221617460251, 0.018120286986231804, -0.025926947593688965, -0.017846815288066864, 0.04726425185799599, 0.006672043353319168, -0.056559979915618896, 0.01040385290980339, -0.06410937011241913, 0.010223036631941795, -0.006032971665263176, 0.014934999868273735, 0.013241872191429138, -0.04581107944250107, 0.032656121999025345, 0.012054434977471828, 0.0033242660574615, -0.0038386189844459295, 0.005499040707945824, 0.07014033198356628, 0.0008409445290453732, 0.008835810236632824, 0.023531250655651093, -0.004417842719703913, 0.01100090891122818, -0.0156087726354599, -0.0034201019443571568, 0.01613595336675644, 0.021566102281212807, 0.03355108201503754, 0.06372224539518356, -0.03947385028004646, -0.0072227404452860355, 0.002238806802779436, 0.029853753745555878, 0.016430053859949112, -0.06359786540269852, 0.0216215830296278, 0.0035355223808437586, -0.05328657478094101, 0.031248603016138077, 0.011292110197246075, 0.03226806968450546, -0.009167236275970936, 0.028418175876140594, 0.06404245644807816, 0.024322815239429474, -0.03214999660849571, -0.06699830293655396, -0.0058771586045622826, 0.047069985419511795, -0.0038812397979199886, 0.02876897156238556, -0.029512768611311913, 0.049162156879901886, -0.03853214159607887, 0.015864398330450058, -0.008687607944011688, -0.024340840056538582, 0.0009284760453738272, -0.007837804965674877, 0.0033527500927448273, -0.018317624926567078, -0.06138641759753227, 0.0379706509411335, 0.021529871970415115, 0.05193834379315376, 0.04019699618220329, -0.0018739737570285797, 0.010185923427343369, -0.04130864888429642, -0.014919060282409191, -0.001954064704477787, -0.007912028580904007, -0.031891293823719025, 0.016043422743678093, 0.022099975496530533, -0.0015384319704025984, 0.02478181943297386, -0.010899052023887634, 0.05516926199197769, -0.002772953361272812, 0.006012103985995054, -0.03006753697991371, 0.015207890421152115, -0.047803714871406555, -0.04738333076238632, -0.0046555656008422375, -0.055135585367679596, -0.01681438833475113, -0.03036288358271122, -0.0006406476604752243, -0.02810710482299328, -0.007918250747025013, 0.02188687212765217, -0.001069424906745553, 0.023764288052916527, -0.009809257462620735, 0.015005622059106827, -0.01714426837861538, 0.05807015672326088, 0.0254397913813591, -0.0010311499936506152, -0.029006624594330788, 0.03958271071314812, -0.0080042015761137, 0.04819704592227936, 0.027152149006724358, -0.017770498991012573, -0.002306068781763315, 0.02269664965569973, 0.02153114043176174, -0.041872359812259674, 0.04324251785874367, -0.02113346941769123, 0.03173790127038956, -0.043941929936409, -0.04094948619604111, -0.011850480921566486, 0.005437368061393499, -0.003757040249183774, 0.0000155810503201792, -0.003121854504570365, -0.03387746214866638, 0.007251382805407047, 0.03709674999117851, 0.02669835276901722, -0.01403643935918808, -0.016092658042907715, 0.025351528078317642, 0.01076534204185009, 0.018755139783024788, -0.008360665291547775, 0.04257003217935562, -0.025628039613366127, -0.035733506083488464, 0.008129555732011795, 0.005534591153264046, -0.009740306995809078, 0.001789440051652491, 0.019155699759721756, -0.010863345116376877, -0.02333757095038891, 0.03712022304534912, 0.045656416565179825, -0.0705377459526062, 0.01821986213326454, 0.04538910090923309, 0.09977990388870239, 0.009436802007257938, 0.015382586047053337, 0.0552227720618248, -0.01895792782306671, 0.00060271070105955, -0.02539520524442196, -0.013299023732542992, -0.03347795456647873, 0.04241156578063965, 0.014658487401902676, -0.011280398815870285, 0.01584431901574135, 0.00508832698687911, -0.022111117839813232, 0.016036396846175194, 0.037150148302316666, 0.02347804419696331, 0.011934062466025352, -0.038751740008592606, -0.005616247188299894, 0.005706493742763996, -0.0013910274719819427, -0.003955332096666098, -0.006171191576868296, -0.06939054280519485, 0.035634174942970276, 0.012700206600129604, -0.005663459654897451, -0.02424292266368866, -0.027698349207639694, -0.0075547476299107075, -0.06243756785988808, -0.004614145494997501, 0.00020055010099895298, 0.007046806160360575, 0.01864829659461975, -0.031351372599601746, 0.04363778978586197, -0.052469223737716675, 0.00042933557415381074, 0.020272841677069664, 0.020002534613013268, -0.0067910426296293736, 0.04481644183397293, -0.053838275372982025, 0.022816510871052742, 0.016240661963820457, 0.03565477952361107, 0.06998845934867859, 0.062491532415151596, -0.03164574131369591, 0.0565367117524147, 0.01663975790143013, -0.004032415803521872, 0.0270096305757761, -0.039210595190525055, 0.010390299372375011, -0.0006092183175496757, -0.015095126815140247, -0.02220878191292286, -0.04136640205979347, 0.014850879088044167, 0.0010335511760786176, 0.017227480188012123, -0.026079289615154266, 0.0316622331738472, 0.00031930807745084167, -0.0021936174016445875, -0.003014989895746112, 0.008128386922180653, 0.019323507323861122, 0.024497386068105698, 0.01789947785437107, 0.028629597276449203, -0.0037190953735262156 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
I love the idea of had you done something differently maybe you wouldn't be at Hugging Face. Lewis: It’s like the butterfly effect movie, right? You go back in time and then you don't have any legs or something.
[ 0.006859962362796068, -0.08285354822874069, 0.029989395290613174, 0.008737362921237946, 0.06310993432998657, -0.0015805148286744952, -0.005910477135330439, 0.04912291467189789, -0.05240298807621002, -0.03622230142354965, -0.03964542970061302, 0.013927885331213474, -0.07982350885868073, 0.0025985378306359053, -0.04444615915417671, -0.03701608628034592, 0.016667667776346207, -0.07510137557983398, 0.012869380414485931, -0.00035092662437818944, 0.002098824828863144, 0.017675532028079033, 0.04945168271660805, -0.006375916302204132, -0.03942899778485298, -0.03183360770344734, 0.0381341278553009, -0.043679025024175644, -0.007616412825882435, -0.002984630176797509, -0.008696778677403927, -0.0415046401321888, -0.011230933479964733, 0.028780749067664146, 0.007724019233137369, -0.04780353605747223, -0.0904402807354927, 0.029296033084392548, -0.0086724404245615, 0.0012383039575070143, -0.0005009985179640353, 0.030990395694971085, -0.03314836695790291, -0.015397099778056145, -0.06703619658946991, -0.003845446277409792, -0.2527291476726532, 0.09320168942213058, -0.051703643053770065, -0.06612833589315414, -0.06494344025850296, 0.06761468201875687, 0.10102420300245285, 0.020334521308541298, -0.024471411481499672, -0.0078092096373438835, 0.020270487293601036, -0.021887458860874176, 0.04274576157331467, -0.04490477964282036, 0.04596729949116707, -0.019653329625725746, 0.003126098308712244, -0.004737413488328457, 0.015007163397967815, 0.0362912192940712, 0.036259058862924576, 0.006117560900747776, -0.06821936368942261, 0.0003539818280842155, 0.027237283065915108, -0.06421022117137909, -0.025999290868639946, 0.026632683351635933, 0.08708519488573074, -0.012955859303474426, -0.002676671836525202, 0.08941206336021423, 0.009933646768331528, 0.040991369634866714, 0.04786549508571625, -0.037145499140024185, 0.06806686520576477, 0.1157042607665062, -0.02384462207555771, -0.007483743596822023, 0.04066985845565796, -0.002599481027573347, -0.09160163998603821, 0.0677759200334549, -0.04421122372150421, -0.03071919083595276, 0.021978795528411865, 0.028494607657194138, 0.053847216069698334, 0.009585184045135975, 0.022277353331446648, -0.03585882484912872, -0.006967808119952679, -0.029278017580509186, -0.02543008327484131, -0.12287157773971558, 0.012359141372144222, -0.05951922386884689, -0.02568492479622364, 0.001444733003154397, -0.0008450064342468977, -0.02912336029112339, -0.036150332540273666, -0.02130863070487976, -0.07413958013057709, -0.015147476457059383, 0.036565303802490234, 0.028767846524715424, -0.06568564474582672, 0.06054875627160072, 0.027377398684620857, 0.019146105274558067, 0.021214498206973076, 0.010013137944042683, 0.01885931007564068, 0.03218669071793556, 0.09087662398815155, -0.018430795520544052, 0.04156291112303734, 0.009365282952785492, -0.019740868359804153, -0.011201211251318455, -0.012051071971654892, -0.04407740756869316, 0.06147311255335808, 0.020878298208117485, -0.008215388283133507, -0.020063383504748344, -0.0006113154231570661, -0.055488184094429016, -0.011497657746076584, 0.03345100209116936, 0.036322712898254395, -0.046341169625520706, -0.004106889478862286, 0.014142020605504513, -0.004076475277543068, 0.08105211704969406, 0.008294938132166862, -0.11386041343212128, -0.018483946099877357, 0.061597857624292374, -0.05615413933992386, -0.018180105835199356, -0.033600956201553345, 0.048039939254522324, -0.005708100274205208, -0.08202093094587326, -0.025799544528126717, 0.03573565185070038, -0.051484301686286926, -0.015720199793577194, 0.024477440863847733, -0.057348914444446564, 0.05152548477053642, 0.04120893403887749, 0.01449236273765564, -0.039764292538166046, 0.059648964554071426, -0.021179039031267166, -0.03618830814957619, -0.05290361866354942, -0.08671613782644272, -0.08059697598218918, -0.03455431014299393, 0.0004754727997351438, -0.026230858638882637, -0.00623699277639389, -0.03220902383327484, 0.03687916696071625, -0.0029678598511964083, 0.05332328751683235, -0.021895570680499077, 0.010930570773780346, -0.04017283022403717, -0.00043114525033161044, 0.004679000936448574, 0.03068503364920616, 0.036893781274557114, -0.011468800716102123, -0.005992701277136803, 0.04363109916448593, -0.03711675852537155, 0.0229379590600729, -0.09585437178611755, -0.05523061379790306, 0.05244063958525658, 0.007423429284244776, -0.008151078596711159, -0.12771296501159668, -0.0874425396323204, 0.12980365753173828, -0.024301163852214813, 0.04130188003182411, 0.030161013826727867, 0.021068871021270752, 0.058767471462488174, -0.018865348771214485, 0.031464677304029465, 0.03243562579154968, 0.09043692797422409, -0.0423651821911335, -0.0008859309018589556, 0.0007555302581749856, 0.05313396081328392, -0.0611264742910862, 0.052836090326309204, -0.010296816937625408, -0.020131418481469154, -0.023119017481803894, -0.05079561099410057, -0.06469933688640594, 0.012153210118412971, -0.05979999899864197, 0.05511334910988808, 0.03740856423974037, -0.020790793001651764, 0.00781957432627678, 0.08905064314603806, 0.043751854449510574, 0.07823784649372101, 0.03400048986077309, 0.04228159040212631, -0.07657960802316666, -0.05381670966744423, -0.02305724285542965, -0.11131304502487183, 0.0056226821616292, -0.026982460170984268, 0.04960881173610687, 0.03343942016363144, -0.01178357657045126, -0.0329885259270668, -0.0682402178645134, -0.020320339128375053, -0.033671800047159195, 0.0005698048043996096, 0.08789660036563873, -0.06861599534749985, -0.06710491329431534, 0.026472970843315125, -0.01807297021150589, -0.0247072484344244, 0.049246832728385925, -0.041103169322013855, 0.06625320762395859, -0.019450396299362183, -0.004209204576909542, 0.03758715093135834, 0.03687099367380142, -0.018428871408104897, -0.011507495306432247, 0.01935950107872486, 0.046986136585474014, -0.004034183453768492, -0.047895751893520355, -0.02556612715125084, -0.04445168003439903, -0.01853998750448227, -0.01911809667944908, -0.022405164316296577, 0.0035130747128278017, 0.031125659123063087, 0.05786868929862976, 0.04388090595602989, -0.0014144073938950896, 0.05284281447529793, 0.05199168995022774, 0.0009618902113288641, 0.00644350703805685, 0.06883164495229721, 0.008295071311295033, -0.007061502430588007, -0.01905445195734501, 0.0030045153107494116, 0.01661320962011814, 0.03458128869533539, -0.0014140845742076635, 0.03557063639163971, 0.0019418917363509536, -0.0008632175740785897, 0.009411267004907131, -0.0378006175160408, 0.03934799134731293, 0.011664362624287605, 0.03634760528802872, -0.003850339213386178, -0.030149027705192566, -0.006163041107356548, 0.007278035394847393, 0.03130890801548958, -0.017358917742967606, -0.019143635407090187, -0.01827124133706093, 0.020085196942090988, 0.03541919216513634, -0.016294514760375023, 0.01054847426712513, -0.0025390684604644775, 0.05930512025952339, 0.03661760315299034, 0.04889855161309242, -0.11725907027721405, -0.061682093888521194, 0.01792932115495205, -0.03638797253370285, -0.002410351298749447, 0.022696131840348244, 0.020610379055142403, -0.034822575747966766, -0.04542936757206917, 0.020877201110124588, 0.005875224247574806, 0.014305513352155685, 0.0010713700903579593, -0.04066182300448418, -0.011559116654098034, -0.04912618547677994, 0.02397078089416027, -0.003806396620348096, -0.004026301670819521, 0.05838371813297272, -0.06445469707250595, 0.051995549350976944, 0.00915641151368618, 0.012180179357528687, -0.01041311677545309, 0.035908281803131104, -0.005072985775768757, 0.020558515563607216, 0.031054934486746788, 0.002895892132073641, -0.05552377179265022, 0.03133966401219368, -0.011657982133328915, 0.011774644255638123, 0.016377437859773636, -0.003935082815587521, 0.03910386934876442, -0.025557639077305794, 0.02965683862566948, 0.04773283004760742, -0.012290232814848423, -0.002087424974888563, -0.025231171399354935, -0.000611139927059412, 0.004796197637915611, -0.013459372334182262, -0.017849519848823547, -0.021606914699077606, 0.05338975414633751, 0.0002961567370221019, 0.007473895791918039, 0.02919425442814827, 0.006172725930809975, 0.039592646062374115, -0.014007954858243465, 0.033892229199409485, -0.021245351061224937, 0.05671631544828415, -0.008862573653459549, -0.013883938081562519, -0.014271803200244904, 0.03963411971926689, -0.017167361453175545, 0.0010073528392240405, 0.019100181758403778, 0.009331402368843555, -0.0226435586810112, 0.011044285260140896, 0.006084028631448746, -0.022851845249533653, 0.033607304096221924, -0.03982358053326607, -0.03656492382287979, 0.0034833757672458887, 0.021377716213464737, 0.016226591542363167, 0.00895997416228056, -0.03589830920100212, 0.06332844495773315, -0.012775375507771969, 0.00717269629240036, 0.032742902636528015, -0.027603788301348686, -0.022677866742014885, 0.002927596913650632, 0.000966372957918793, 0.03220902383327484, -0.01400364376604557, -0.0091273607686162, 0.0476042740046978, 0.023897290229797363, -0.03747640922665596, -0.027422409504652023, 0.008520001545548439, -0.05530749633908272, 0.013843809254467487, 0.02445385232567787, -0.021281560882925987, 0.02291405200958252, -0.031902968883514404, 0.02261575683951378, -0.004465026780962944, -0.022710241377353668, 0.004482651129364967, 0.00046709002344869077, 0.02677137963473797, -0.03881114721298218, -0.008964402601122856, -0.019055891782045364, 0.017088375985622406, 0.035702891647815704, -0.026055850088596344, 0.022677822038531303, -0.0679830014705658, 0.023672649636864662, 0.030738884583115578, 0.01944010518491268, 0.0010683012660592794, -0.01046321727335453, -0.009594498202204704, -0.028891099616885185, 0.019123349338769913, -0.014607474207878113, -0.006962111219763756, -0.006106942892074585, 0.013850928284227848, 0.031992603093385696, -0.0357547253370285, 0.04940032213926315, 0.013142882846295834, -0.028860315680503845, -0.025931088253855705, 0.030199415981769562, 0.0004121059610042721, 0.058957308530807495, 0.0043510678224265575, -0.011927071027457714, 0.04354770854115486, -0.04115521162748337, -0.018520276993513107, -0.026462465524673462, -0.02252611331641674, 0.015609895810484886, 0.016265515238046646, 0.005941661540418863, 0.00014124186418484896, -0.018466070294380188, 0.027035610750317574, -0.020218858495354652, 0.06397771090269089, 0.00930421706289053, -0.006785297766327858, -0.03880632296204567, 0.0007556762429885566, 0.005818158388137817, 0.008586385287344456, -0.010807564482092857, -0.003441140754148364, -0.030790716409683228, 0.0686815083026886, -0.014272416941821575, 0.05106665566563606, -0.001251115812920034, 0.05677667260169983, -0.016479037702083588, 0.005730600096285343, -0.03611265867948532, -0.024074677377939224, 0.018404394388198853, -0.015525818802416325, 0.0032479718793183565, -0.04147528484463692, 0.022488361224532127, 0.017913037911057472, -0.006628983188420534, -0.008699319325387478, 0.03258579224348068, -0.0006699202349409461, -0.002590562216937542, 0.011593525297939777, 0.030873820185661316, 0.009487850591540337, 0.03048732317984104, -0.005864645820111036, 0.03182573243975639, 0.04066445678472519, 0.022294897586107254, 0.03959491476416588, -0.00406622001901269, 0.035932984203100204, 0.01252878550440073, 0.00939660333096981, -0.023005548864603043, -0.04294842481613159, 0.03633420914411545, 0.034794099628925323, 0.007409663870930672, -0.024041589349508286, 0.004107645247131586, 0.00249071279540658, 0.04195782169699669, 0.033850908279418945, -0.007235072553157806, -0.009215196594595909, -0.00530508067458868, 0.00100975320674479, -0.04477669298648834, 0.01436054427176714, 0.011111592873930931, -0.025730114430189133, 0.0005545252352021635, 0.007096440531313419, 0.018830791115760803, -0.03877263516187668, -0.03234345465898514, 0.023616665974259377, -0.024768846109509468, 0.0014067075680941343, 0.017962129786610603, 0.0362413227558136, 0.03266570717096329, 0.00869041308760643, -0.0568094328045845, 0.01103307493031025, 0.010735714808106422, -0.0325658954679966, 0.010691172443330288, 0.009961199015378952, 0.011764701455831528, 0.00268973084166646, 0.026139283552765846, 0.05168938264250755, 0.028982235118746758, 0.037037480622529984, -0.008677685633301735, 0.02058243751525879, -0.00895603932440281, 0.04983065277338028, 0.015649791806936264, -0.028895804658532143, 0.01437577698379755, 0.003870347049087286, -0.011632970534265041, 0.012154556810855865, -0.02413906902074814, 0.0017780900234356523, 0.06555374711751938, 0.0022643557749688625, 0.00032507017021998763, -0.03220938518643379, 0.05349758267402649, 0.018147781491279602, -0.0012667670380324125, -0.0445089265704155, -0.01304182130843401, 0.0010414854623377323, -0.0054529691115021706, -0.0009625977836549282, -0.008672927506268024, -0.030840624123811722, -0.0008560103597119451, -0.03633730486035347, 0.020377354696393013, 0.032305002212524414, -0.0012964052148163319, 0.03593353554606438, 0.0536101758480072, 0.027093449607491493, -0.0029137132223695517, -0.03125111013650894, 0.030717909336090088, 0.007635551504790783, -0.0016680225962772965, 0.0036017948295921087, 0.00045038218377158046, 0.013475880958139896, 0.0030187240336090326, 0.02400657907128334, 0.007895270362496376, -0.01848221942782402, 0.021538183093070984, 0.0440061129629612, 0.02376679703593254, 0.006547208875417709, -0.007145156152546406, 0.015024242922663689, 0.06254883855581284, -0.00020872248569503427, 0.049558088183403015, 0.059295084327459335, 0.012547877617180347, -0.023238051682710648, 0.0005502068670466542, 0.002491461345925927, 0.003652245504781604, -0.008677041158080101, -0.00920158252120018, 0.0035529397428035736, 0.012819189578294754, -0.035588622093200684, 0.017683368176221848, -0.004842970985919237, 0.04450901597738266, 0.001870166277512908, 0.020632702857255936, 0.011614191345870495, 0.02511485666036606, -0.007070228457450867, 0.029847657307982445, -0.02335638925433159, -0.006705398205667734, 0.05588455870747566, -0.03927863761782646, -0.01171459723263979, -0.025775939226150513, -0.03260905295610428, 0.061678286641836166, -0.01384178176522255, 0.007016651798039675, 0.003060599323362112, 0.01238336507230997, -0.018620239570736885, -0.0061156293377280235, -0.01861904375255108, 0.03396986424922943, -0.016756661236286163, 0.03085787408053875, 0.05239923298358917, -0.006168524734675884, 0.021613290533423424, -0.0014483361737802625, 0.008455384522676468, 0.012958604842424393, 0.012886904180049896, -0.005884955637156963, 0.028342673555016518, 0.05133463442325592, 0.0553891696035862, -0.06350197643041611, -0.030958378687500954, -0.0025199393276125193, -0.014944255352020264, 0.013520397245883942, -0.0028506352100521326, -0.01834707148373127, -0.03996387496590614, 0.007312867324799299, 0.0345253087580204, -0.03997184336185455, 0.04006924107670784, 0.009789902716875076, 0.047661520540714264, -0.009551639668643475, 0.004575792234390974, 0.003730735508725047, 0.0069230603985488415, 0.0182137880474329, -0.010269874706864357, 0.020269596949219704, 0.01546955294907093, -0.03365262225270271, -0.011706397868692875, 0.00876124482601881, -0.01478774007409811, 0.023500749841332436, 0.008211588487029076, -0.034172140061855316, 0.025994978845119476, -0.014575735665857792, 0.015160969458520412, -0.030292054638266563, -0.016146913170814514, 0.00699049374088645, -0.016764096915721893, -0.020467905327677727, -0.024227676913142204, -0.0007343666511587799, -0.03443900868296623, -0.0332924984395504, -0.017922405153512955, 0.06285032629966736, 0.00006722466787323356, 0.014046525582671165, 0.021994151175022125, 0.0431743748486042, -0.01187837217003107, -0.048126425594091415, -0.013898596167564392, 0.023932507261633873, 0.045751333236694336, -0.0023001558147370815, -0.0038720229640603065, -0.03504385054111481, -0.04328864812850952, -0.008612598292529583, -0.04380356892943382, -0.0312223881483078, -0.038909971714019775, 0.01878610998392105, 0.02886960655450821, -0.00286235474050045, 0.0453275628387928, 0.014756537973880768, 0.015474081970751286, 0.03358560800552368, 0.008927716873586178, 0.019347479566931725, -0.004634477663785219, -0.01821829192340374, 0.0038988038431853056, 0.006968987639993429, 0.0018030115170404315, -0.04468417912721634, -0.04091211408376694, 0.010551287792623043, 0.008127267472445965, -0.06119551882147789, -0.03372139111161232, -0.03857595473527908, -0.0006693665054626763, -0.00040541854104958475, -0.003867353778332472, -0.015861526131629944, -0.01171738188713789, 0.010562527924776077, 0.015960674732923508, -0.04051660746335983, 0.029533127322793007, 0.06694427132606506, -0.046474114060401917, 0.032464880496263504, 0.004224209114909172, 0.04196389392018318, -0.002190106315538287, 0.0449039489030838, -0.007151223719120026, -0.019907323643565178, -0.018865058198571205, -0.0004964529071003199, -0.0009575327858328819, -0.041850317269563675, 0.030683381482958794, -0.0390462800860405, -0.004481469746679068, 0.01710493117570877, -0.07982711493968964, 0.03606349229812622, 0.033653538674116135, 0.00785874854773283, 0.000552079058252275, 0.027927599847316742, -0.010515529662370682, 0.006249482277780771, 0.0724324882030487, -0.021445250138640404, 0.0349898636341095, 0.04087313264608383, -0.0011226244969293475, 0.02661391720175743, 0.04601237177848816 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
# Machine Learning Experts - Lewis Tunstall
[ 0.07169456034898758, -0.009183969348669052, 0.07491622120141983, 0.0222510676831007, 0.061872176826000214, 0.06110012158751488, -0.016283011063933372, 0.017265351489186287, -0.025055373087525368, -0.04515552520751953, -0.11866817623376846, 0.012273916974663734, -0.007135842926800251, 0.05627769976854324, 0.027167096734046936, 0.008799637667834759, -0.037476424127817154, -0.0012514537665992975, 0.044642653316259384, 0.020210595801472664, -0.014420663937926292, -0.054668668657541275, 0.0634913444519043, -0.03539518266916275, -0.020626693964004517, 0.002681063488125801, 0.0035762370098382235, -0.053759731352329254, -0.054093193262815475, 0.03734307363629341, -0.030223462730646133, 0.03664017841219902, -0.015740055590867996, 0.02226845733821392, -0.01821647770702839, -0.03687654435634613, -0.06479711830615997, 0.03475462645292282, 0.0072145601734519005, -0.035395003855228424, -0.07996219396591187, -0.060447439551353455, -0.07368094474077225, 0.0375811904668808, -0.05610064044594765, -0.04122510552406311, -0.2353757619857788, 0.09001605957746506, -0.0042003486305475235, -0.07628323137760162, 0.01672149822115898, 0.08823713660240173, -0.015324734151363373, -0.011324208229780197, -0.010168934240937233, 0.022097552195191383, 0.040277671068906784, -0.0656166821718216, -0.0062061939388513565, -0.011170019395649433, 0.0655694305896759, -0.03564028441905975, 0.01998635195195675, -0.019977837800979614, 0.014382066205143929, 0.019215526059269905, 0.07460495829582214, -0.020812582224607468, -0.12196943908929825, -0.008306806907057762, 0.0778949186205864, -0.03852484002709389, -0.02724921889603138, 0.023624513298273087, 0.05287984013557434, -0.03082524985074997, 0.008811159059405327, 0.03511374816298485, 0.05557926371693611, 0.050962481647729874, -0.0020471021998673677, 0.024318059906363487, 0.10995811223983765, 0.06697706878185272, -0.012547838501632214, 0.06436548382043839, 0.03345101326704025, -0.02268083207309246, -0.013981490395963192, 0.07884170860052109, 0.01496414840221405, -0.10004941374063492, 0.018598774448037148, 0.05194442719221115, 0.040500544011592865, -0.08726874738931656, -0.0004979006480425596, -0.021604709327220917, 0.006462655495852232, -0.07702453434467316, -0.05792878195643425, -0.011201967485249043, 0.05185835063457489, -0.06795243918895721, -0.053748324513435364, 0.05758196860551834, 0.004448496270924807, -0.0442911759018898, -0.0735994204878807, 0.045779936015605927, -0.04128884896636009, -0.007628219667822123, 0.002184867160394788, 0.03852913901209831, -0.03833102062344551, 0.07121217250823975, 0.029725512489676476, -0.011583071202039719, 0.05032230541110039, 0.04617593437433243, 0.006173113826662302, 0.08484161645174026, 0.02439502254128456, 0.029682714492082596, 0.030647916719317436, 0.0369136743247509, -0.014276769012212753, 0.03130176663398743, 0.005694081075489521, -0.014020952396094799, -0.0073103406466543674, -0.013014149852097034, 0.0004625644360203296, 0.022453172132372856, 0.02728128246963024, -0.03475125879049301, -0.007683317176997662, -0.03572145104408264, 0.05980871245265007, 0.008196819573640823, -0.04288630187511444, 0.032165687531232834, 0.001578049035742879, 0.059386320412158966, 0.05512277036905289, -0.03569503501057625, -0.026422826573252678, 0.036853544414043427, -0.0034492886625230312, 0.004007425624877214, -0.01751401461660862, 0.05527167022228241, -0.08665013313293457, -0.08352383226156235, 0.008862210437655449, 0.09842464327812195, -0.01645645685493946, 0.0002499227994121611, -0.03988843783736229, -0.024697717279195786, 0.017319170758128166, -0.0007614356582053006, -0.002320324070751667, -0.010775124654173851, 0.05255993455648422, -0.07260150462388992, 0.018541604280471802, 0.00014570039638783783, 0.01107948087155819, -0.039821892976760864, 0.0015531940152868629, -0.030796857550740242, 0.04393720626831055, -0.0014697922160848975, -0.042039938271045685, 0.0153170395642519, 0.032760318368673325, 0.002507483121007681, -0.004971396643668413, -0.005124342627823353, -0.042866550385951996, 0.034111469984054565, -0.04373505339026451, -0.006239775102585554, 0.03083001635968685, -0.03292969986796379, 0.010758948512375355, -0.00274404208175838, 0.08573243767023087, 0.016322148963809013, -0.04038111865520477, -0.06503678113222122, 0.08303377032279968, -0.02478351630270481, 0.026777489110827446, -0.06499598920345306, -0.0627124235033989, 0.13174036145210266, 0.026828885078430176, 0.08801078796386719, 0.04618280753493309, 0.0201820507645607, 0.04894760623574257, -0.04113364592194557, -0.02356036566197872, 0.010334399528801441, 0.05607517808675766, -0.018752560019493103, 0.037679485976696014, 0.03700495883822441, -0.07109427452087402, -0.14226138591766357, 0.003564382204785943, -0.03982841223478317, -0.02581791579723358, 0.031009722501039505, -0.004875743295997381, 0.01028617937117815, 0.03751314803957939, -0.06250303238630295, 0.14559917151927948, -0.006268585100769997, -0.002483316930010915, 0.06620553880929947, -0.018065793439745903, 0.07655300199985504, 0.06382351368665695, -0.0002498336252756417, 0.11296989768743515, -0.09294702857732773, -0.07352344691753387, -0.05108426511287689, 0.007453124970197678, 0.04374260827898979, 0.02038232795894146, 0.012671277858316898, -0.02551846392452717, 0.024780504405498505, 0.00045591473462991416, -0.027082305401563644, 0.0017995919333770871, -0.029262762516736984, -0.0338025763630867, 0.07120378315448761, -0.0345979742705822, -0.032380931079387665, 0.01998511515557766, 0.02953680418431759, -0.012966900132596493, 0.030802302062511444, 0.04743887856602669, 0.01730257458984852, -0.023304132744669914, 0.04254208132624626, -0.0019568109419196844, -0.014953097328543663, -0.012776629999279976, -0.010332238860428333, -0.030399292707443237, 0.028296252712607384, 0.02275727689266205, -0.03227589279413223, 0.0034722047857940197, -0.05261637270450592, 0.029606878757476807, -0.044106315821409225, 0.007073566783219576, -0.014408360235393047, 0.028873978182673454, 0.02705105021595955, 0.0476951077580452, -0.01597367785871029, 0.05512522906064987, 0.03742862120270729, -0.0021922490559518337, -0.019892938435077667, 0.06909448653459549, -0.029133230447769165, -0.0040216827765107155, -0.04637562111020088, 0.028531372547149658, -0.016253290697932243, 0.07051221281290054, 0.007831059396266937, 0.027551740407943726, -0.0653262734413147, 0.041013203561306, -0.009218167513608932, -0.01410067267715931, 0.032984327524900436, -0.04133152589201927, 0.048492636531591415, -0.02788795344531536, -0.008922549895942211, -0.0012659592321142554, -0.035671357065439224, -0.006765445694327354, -0.0025107047986239195, -0.030145134776830673, -0.014661033637821674, 0.029722847044467926, 0.01037350669503212, -0.02688947319984436, -0.011169139295816422, -0.015280709601938725, 0.06900982558727264, 0.0362694188952446, -0.016113631427288055, -0.13544532656669617, -0.05415942147374153, 0.0373215414583683, 0.006229492370039225, 0.011108881793916225, -0.020226363092660904, 0.05803750827908516, -0.026976924389600754, -0.016462845727801323, -0.03018287569284439, 0.009632918052375317, 0.010890522040426731, -0.010387173853814602, -0.01238300185650587, 0.0019353670068085194, 0.02380850538611412, 0.005908539518713951, -0.0021048663184046745, 0.002009668620303273, 0.029300382360816002, -0.06480713933706284, 0.06948225945234299, -0.01489565521478653, 0.011554870754480362, -0.00008384601096622646, 0.07298608869314194, 0.009158656932413578, 0.049128010869026184, 0.02216392010450363, -0.025680245831608772, -0.0326748788356781, 0.0380304716527462, -0.05428313463926315, 0.022244807332754135, -0.012735231779515743, -0.010722811333835125, 0.005132118705660105, -0.00992485973984003, 0.03475205600261688, 0.0012141820043325424, 0.025340959429740906, 0.031792014837265015, 0.009761565364897251, -0.028975049033761024, -0.013690752908587456, -0.022816624492406845, -0.009041408076882362, 0.01681797206401825, 0.0010829147649928927, -0.03070739284157753, -0.022144310176372528, 0.006868218537420034, 0.021550221368670464, 0.02797817438840866, 0.04025465250015259, -0.012914498336613178, -0.024778954684734344, -0.00024704213137738407, 0.007114721927791834, -0.025302205234766006, -0.020462075248360634, 0.005678788758814335, 0.016969652846455574, -0.025651639327406883, -0.036301203072071075, 0.040900781750679016, -0.01608102209866047, 0.002479519695043564, -0.017148928716778755, 0.026999900117516518, 0.02097698487341404, -0.004645084496587515, -0.00901756715029478, 0.019394906237721443, -0.024495868012309074, 0.021294256672263145, 0.000963394355494529, -0.007399274501949549, 0.08461219817399979, 0.026469610631465912, -0.03439320623874664, -0.022043848410248756, -0.010325534269213676, -0.05145896598696709, 0.006624756380915642, 0.009847726672887802, -0.009364217519760132, 0.008329867385327816, 0.020691419020295143, 0.05778367444872856, -0.012542692944407463, -0.011018428951501846, 0.0055677630007267, -0.00036166724748909473, 0.02200770378112793, 0.0166630782186985, 0.042686477303504944, -0.015019348822534084, 0.0037323508877307177, 0.0038520931266248226, 0.015253928489983082, -0.023763883858919144, -0.001166001195088029, -0.010679736733436584, -0.008735746145248413, 0.02406414784491062, -0.002569693373516202, -0.05775515362620354, 0.007837764918804169, -0.0025672409683465958, 0.01164809986948967, -0.040787097066640854, -0.026416199281811714, -0.007683627773076296, 0.011588023975491524, 0.0072698695585131645, -0.02057952806353569, -0.025040967389941216, -0.032963816076517105, 0.04243849590420723, -0.0486353300511837, 0.00038683973252773285, -0.023819174617528915, 0.00943861622363329, 0.015619914047420025, -0.010541110299527645, 0.009899692609906197, -0.008644440211355686, 0.0008838219800963998, -0.006209171377122402, -0.05243692919611931, -0.021648379042744637, 0.03667294606566429, -0.022204449400305748, 0.012906883843243122, 0.019624529406428337, -0.016725389286875725, 0.040777482092380524, -0.0034594153985381126, -0.05778224766254425, 0.03518834337592125, 0.004768990445882082, 0.029594944790005684, -0.030259041115641594, 0.0599563904106617, -0.03785640373826027, -0.03228036314249039, 0.00787790585309267, -0.02093631401658058, 0.02069661393761635, 0.023269979283213615, -0.010548007674515247, -0.0045717628672719, -0.0191826019436121, 0.014682218432426453, -0.006577561609447002, 0.003025087993592024, 0.021423418074846268, -0.008481109514832497, 0.01435333862900734, 0.014275788329541683, -0.009921478107571602, -0.02593407966196537, 0.006222411058843136, 0.0019500746857374907, -0.005833236034959555, 0.022862348705530167, -0.023349672555923462, 0.0007549204747192562, 0.009166428819298744, -0.011002357117831707, -0.003432689467445016, 0.020294612273573875, -0.024045227095484734, 0.009846477769315243, 0.03357405588030815, 0.003099897876381874, -0.002417990006506443, -0.01578514464199543, 0.023851072415709496, -0.029964126646518707, 0.05251646414399147, -0.0018785260617733002, 0.047391586005687714, 0.014406074769794941, 0.031486283987760544, 0.03208344429731369, 0.02429676055908203, 0.013844662345945835, 0.04046100378036499, -0.010941972024738789, -0.0015758671797811985, -0.002524101175367832, -0.020069219172000885, 0.00272328220307827, 0.01243683323264122, 0.03388160094618797, -0.03160819038748741, -0.04350357502698898, -0.020373685285449028, -0.03338851034641266, -0.004076278302818537, 0.014382705092430115, -0.02029658854007721, 0.03872445598244667, 0.020503917708992958, -0.009334426373243332, -0.009571460075676441, 0.022336270660161972, 0.023186534643173218, 0.0030798318330198526, 0.0077520632185041904, 0.01794205605983734, -0.025535227730870247, -0.016206083819270134, -0.030621275305747986, -0.02521621435880661, 0.032071951776742935, 0.006126639898866415, 0.030646342784166336, -0.02096262015402317, -0.024457912892103195, -0.012676271609961987, -0.008853010833263397, 0.028473442420363426, -0.026020828634500504, -0.01125261839479208, 0.03539354354143143, 0.018225891515612602, 0.038621123880147934, 0.0007425047806464136, -0.0004646966408472508, 0.024556191638112068, 0.04865075275301933, 0.03226909413933754, 0.013180534355342388, -0.06265779584646225, 0.05943135917186737, -0.004321511834859848, -0.023067358881235123, -0.020115774124860764, -0.02418592758476734, -0.05312076210975647, -0.04175321012735367, -0.04203871637582779, -0.018134579062461853, 0.024592870846390724, 0.014558767899870872, 0.028708769008517265, 0.013107851147651672, 0.02906355820596218, -0.012704639695584774, 0.037380386143922806, 0.00869150459766388, 0.007513172458857298, 0.009345137514173985, 0.043961841613054276, -0.03194345906376839, 0.0069600800052285194, -0.009828352369368076, -0.018951373174786568, -0.03846178576350212, 0.03388150781393051, 0.02381707727909088, -0.011791146360337734, 0.024157220497727394, 0.0021285885013639927, -0.015760388225317, 0.03184962645173073, 0.020357003435492516, 0.018803592771291733, 0.03216342255473137, -0.0196782648563385, 0.017835326492786407, 0.00978637021034956, -0.006871931254863739, -0.008329140022397041, 0.05415116623044014, -0.03102140501141548, 0.04163074865937233, -0.017765512689948082, 0.0181471835821867, 0.04816794395446777, -0.026699556037783623, -0.0487113893032074, 0.022594019770622253, 0.05126199871301651, 0.017897220328450203, 0.030434023588895798, 0.03355969116091728, 0.012560812756419182, -0.03151264786720276, -0.0322728268802166, 0.007585921324789524, -0.033721473067998886, 0.018529321998357773, 0.06708820164203644, 0.004765024874359369, 0.031050121411681175, -0.03977033123373985, 0.03161817044019699, 0.007250615861266851, 0.02392762340605259, -0.008996640332043171, 0.011271734721958637, 0.03691243752837181, 0.03348248451948166, 0.015008584596216679, 0.026649676263332367, -0.02861500345170498, -0.016448844224214554, 0.0374717079102993, -0.009758485481142998, 0.016202758997678757, 0.01281700935214758, -0.023982562124729156, 0.023984765633940697, -0.031198054552078247, -0.031173527240753174, 0.004669444169849157, 0.019862862303853035, -0.03074384108185768, -0.01698189415037632, -0.01987900584936142, -0.028037233278155327, -0.021536115556955338, -0.008408961817622185, 0.023662429302930832, -0.004090463742613792, -0.02495504543185234, -0.049054428935050964, 0.03720397874712944, 0.0018214930314570665, 0.006934153847396374, 0.0005238570738583803, -0.016886472702026367, 0.057210471481084824, 0.01324151549488306, -0.031230879947543144, -0.04037204012274742, 0.0006046584458090365, 0.024915173649787903, -0.020245803520083427, 0.018991105258464813, -0.034517642110586166, -0.003136289771646261, -0.014952035620808601, 0.016876619309186935, -0.06760133802890778, 0.022771921008825302, 0.04000019654631615, 0.030603701248764992, 0.00020694399427156895, 0.01665644347667694, -0.031476590782403946, -0.005786870140582323, -0.02770904451608658, -0.019386300817131996, 0.012788491323590279, -0.01731519214808941, 0.00743080722168088, 0.014956556260585785, -0.003429063595831394, -0.007693385239690542, -0.02820914052426815, 0.014872245490550995, 0.0028306739404797554, -0.019795633852481842, 0.015230926685035229, 0.011816930025815964, -0.014712766744196415, -0.02412727102637291, 0.03017331473529339, 0.004536349326372147, -0.009147022850811481, -0.004955136217176914, 0.0048073045909404755, -0.013744523748755455, -0.03103359043598175, -0.028795339167118073, 0.05112864822149277, -0.0012589844409376383, 0.03424292057752609, 0.01624547503888607, 0.041791319847106934, -0.01506511028856039, -0.060821425169706345, 0.040045253932476044, 0.005959894973784685, 0.037237491458654404, -0.017813514918088913, -0.033397238701581955, -0.03709714487195015, -0.026441950350999832, -0.02643851563334465, -0.012871024198830128, -0.0417841374874115, -0.010550017468631268, -0.021624116227030754, 0.00848789419978857, -0.059172503650188446, 0.003361258888617158, 0.059933990240097046, 0.042877376079559326, 0.025367513298988342, -0.01449268963187933, -0.012802297249436378, -0.030458340421319008, 0.01482196431607008, 0.029072530567646027, 0.024077150970697403, 0.026697585359215736, -0.013834425248205662, -0.019706910476088524, 0.019376186653971672, -0.023134782910346985, -0.01914428547024727, 0.006888346280902624, 0.02468099072575569, -0.046928852796554565, -0.02219279482960701, -0.006818773224949837, 0.013108395971357822, -0.03355080261826515, 0.0369701012969017, 0.019498268142342567, -0.021975936368107796, 0.009772474877536297, 0.013719864189624786, -0.019027717411518097, 0.013941419310867786, 0.02153058722615242, 0.006714911665767431, 0.04054353013634682, 0.04404674097895622, 0.0029618851840496063, -0.022239141166210175, -0.035234738141298294, -0.007333262357860804, 0.018604876473546028, -0.051427874714136124, -0.029144184663891792, 0.0013163441326469183, -0.0005242518382146955, -0.011280331760644913, -0.05771923437714577, 0.013036884367465973, -0.0054803588427603245, -0.01930653303861618, -0.020580900833010674, -0.009419280104339123, 0.022471772506833076, 0.0163642056286335, -0.000043766063754446805, -0.006022041663527489, 0.06637072563171387, 0.029880881309509277, 0.009634649381041527, -0.005478992126882076, 0.033483196049928665 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
Perfect. Thank you so much, Lewis. And I'll chat with you soon! Lewis: See ya, Britney. Bye. Thank you for listening to Machine Learning Experts!
[ 0.0824020728468895, 0.034983545541763306, 0.10503929108381271, 0.026021113619208336, 0.07392436265945435, 0.045515988022089005, -0.026514984667301178, 0.04151197522878647, -0.06104278936982155, -0.004615053068846464, -0.03951852768659592, 0.040347881615161896, 0.008764511905610561, -0.011409235186874866, -0.021140212193131447, -0.018559269607067108, -0.0065518091432750225, -0.035782404243946075, 0.007154746912419796, 0.015040413476526737, -0.06588544696569443, 0.052124567329883575, 0.032897453755140305, 0.012755867093801498, -0.031152743846178055, 0.001747257192619145, -0.014675753191113472, -0.01202621404081583, -0.051112640649080276, 0.04500719904899597, -0.0324263796210289, 0.00456507271155715, -0.01914113759994507, 0.024996086955070496, -0.02025633677840233, -0.031779516488313675, -0.06701633334159851, 0.05681859701871872, 0.009330780245363712, -0.025694673880934715, 0.00716789485886693, -0.04172809422016144, -0.07109895348548889, 0.003857055678963661, -0.07959713786840439, -0.046469785273075104, -0.2685459554195404, 0.04145485535264015, -0.05649818852543831, -0.08112696558237076, -0.07317369431257248, 0.05121557042002678, -0.0045890361070632935, 0.026309436187148094, 0.042111851274967194, -0.006889998447149992, 0.02227616123855114, -0.06964922696352005, 0.004397846758365631, 0.03976033627986908, 0.03434848040342331, 0.004857380408793688, 0.018660979345440865, -0.01235992182046175, 0.08104286342859268, 0.035384226590394974, 0.01268476527184248, 0.006503505166620016, -0.04942623898386955, -0.08811980485916138, 0.037831924855709076, -0.0414498932659626, 0.0012232741573825479, -0.0212342981249094, 0.021736646071076393, -0.05018938332796097, -0.00029062601970508695, 0.0046407440677285194, 0.04941011592745781, 0.05841714143753052, -0.04824177175760269, -0.004710378125309944, 0.08901415020227432, 0.07122581452131271, -0.025410586968064308, -0.015058273449540138, 0.05948340892791748, -0.009758253581821918, -0.04834899678826332, -0.002307213144376874, -0.04369812831282616, -0.08795250952243805, -0.011503349989652634, 0.026223504915833473, 0.027730954810976982, -0.0731116384267807, -0.007519457023590803, -0.05219356343150139, -0.009709888137876987, -0.05623064562678337, -0.07763072103261948, -0.045104093849658966, 0.030888766050338745, -0.04865249618887901, -0.06768539547920227, 0.07017137855291367, 0.018048886209726334, -0.07028181105852127, -0.05008399859070778, 0.042531199753284454, 0.0011742115020751953, 0.0639844462275505, 0.03174605220556259, 0.058111902326345444, -0.05342772975564003, 0.09167224913835526, 0.02740933932363987, 0.03675549849867821, 0.04055900126695633, 0.06784376502037048, 0.01963486708700657, 0.035111088305711746, 0.035115763545036316, 0.022170299664139748, 0.0005718633183278143, -0.008620914071798325, -0.030252952128648758, 0.09333950281143188, -0.042162321507930756, -0.0384053997695446, 0.034303247928619385, -0.00965560507029295, 0.001189247239381075, -0.0003872322849929333, -0.04529329016804695, -0.04682169854640961, 0.020037587732076645, -0.03947271406650543, 0.029441621154546738, -0.0013294069794937968, 0.001477284007705748, 0.026196429505944252, -0.018141351640224457, 0.04921312257647514, 0.053484078496694565, -0.0075442492961883545, -0.05587911978363991, 0.05577179789543152, 0.007789876312017441, 0.04000307247042656, -0.01354223396629095, 0.055905431509017944, -0.0677657276391983, -0.09101829677820206, -0.01591683179140091, 0.03709208220243454, 0.03533494845032692, -0.006196404341608286, -0.020032279193401337, 0.012359235435724258, 0.0482482872903347, 0.02746422216296196, -0.06589493155479431, 0.017851892858743668, 0.044211335480213165, -0.029588203877210617, 0.001860518124885857, 0.00912820640951395, -0.0288979634642601, -0.05158189311623573, 0.016280479729175568, 0.0034900568425655365, 0.09326443076133728, -0.01135325524955988, -0.05293234437704086, 0.052592162042856216, 0.041153598576784134, -0.04779360443353653, -0.017236273735761642, 0.0023890661541372538, -0.011354269459843636, 0.03814687579870224, -0.01784980669617653, -0.009060671553015709, 0.0003034803085029125, -0.017367146909236908, 0.04535217210650444, 0.008001652546226978, -0.00769562553614378, 0.048519834876060486, -0.07080023735761642, -0.031048841774463654, 0.1166953444480896, 0.018905919045209885, 0.00885474681854248, -0.06388790905475616, -0.04446294903755188, 0.11609399318695068, 0.059022337198257446, 0.018311120569705963, 0.056708235293626785, 0.007175009232014418, 0.08323566615581512, -0.02564554288983345, 0.049583885818719864, 0.06952331215143204, 0.04609866440296173, -0.06331373006105423, -0.02203352190554142, 0.04057611897587776, -0.027912728488445282, -0.07273699343204498, 0.00602462375536561, -0.04960146173834801, -0.028862744569778442, -0.017520369961857796, -0.013469302095472813, -0.007984613999724388, 0.06937764585018158, -0.09665127843618393, 0.117684006690979, -0.03423236683011055, -0.02016596682369709, 0.008319965563714504, 0.01721607707440853, 0.14020608365535736, 0.09945165365934372, -0.002123405924066901, 0.04728097468614578, -0.051018621772527695, -0.05531737580895424, -0.05471472442150116, -0.032010018825531006, 0.04216023162007332, -0.009031347930431366, 0.02266530692577362, -0.04645610600709915, 0.039687879383563995, -0.03300052136182785, -0.034540433436632156, 0.005317757837474346, -0.03923464193940163, 0.009956683963537216, 0.019321059808135033, -0.03495456278324127, -0.04978400468826294, 0.07502763718366623, 0.016235219314694405, -0.06811977922916412, 0.08363737910985947, -0.029401440173387527, 0.043262600898742676, 0.0065496526658535, -0.04479191079735756, 0.022175347432494164, -0.015704646706581116, 0.00006814783409936354, -0.012315169908106327, -0.013904226012527943, 0.04325493052601814, 0.008183956146240234, -0.00881204754114151, 0.030242115259170532, -0.029032578691840172, 0.02211056835949421, -0.018715154379606247, 0.024173490703105927, -0.00850661937147379, 0.009500361979007721, 0.0376104861497879, 0.009960952214896679, -0.0047352733090519905, 0.06193336844444275, 0.03707122057676315, -0.008490527980029583, -0.007297974079847336, 0.02454972453415394, -0.01925724744796753, -0.011319104582071304, -0.033545661717653275, 0.000024649491024320014, -0.025362778455018997, 0.0239072497934103, 0.008348425850272179, 0.013968158513307571, -0.04250617325305939, -0.014337313361465931, -0.026096921414136887, -0.029580330476164818, -0.025922097265720367, -0.02552708610892296, 0.03907604515552521, -0.03444988280534744, -0.02219914086163044, -0.020602906122803688, -0.0016716023674234748, -0.030602462589740753, 0.019241362810134888, -0.025855494663119316, -0.00424290681257844, 0.01662537083029747, 0.019516266882419586, 0.015725893899798393, 0.022237503901124, -0.001103958347812295, 0.02036563865840435, 0.02152176946401596, 0.019485674798488617, -0.12278658896684647, -0.009588688611984253, 0.008618451654911041, -0.0009480855660513043, 0.01290898397564888, 0.005195913836359978, 0.04315045103430748, -0.031276166439056396, -0.027227044105529785, -0.04023207351565361, -0.006941304076462984, -0.006592993158847094, -0.026811348274350166, -0.008425918407738209, -0.006497048772871494, -0.02926981821656227, 0.000111082372313831, -0.010279431007802486, -0.01144450344145298, 0.00704731373116374, -0.016644615679979324, 0.022558527067303658, 0.0030586321372538805, 0.021019143983721733, -0.003567803418263793, 0.03431360051035881, 0.037975892424583435, 0.05202488228678703, 0.023210041224956512, -0.04329678788781166, -0.028659343719482422, -0.024093670770525932, -0.026665590703487396, 0.03262651339173317, -0.0035601207055151463, -0.017341462895274162, 0.000738019123673439, -0.017384864389896393, -0.015573723241686821, 0.04445280507206917, 0.015610852278769016, 0.0012626518728211522, 0.004280812572687864, -0.024604633450508118, -0.04053734242916107, 0.0042061894200742245, -0.03761793300509453, 0.009287906810641289, -0.007117100525647402, -0.04243167117238045, -0.01109807938337326, -0.009901772253215313, -0.002509569050744176, 0.0636051818728447, 0.004742397461086512, -0.0192423053085804, -0.024836597964167595, 0.04051264002919197, 0.00685656676068902, -0.00013188367302063853, -0.014746004715561867, 0.06706776469945908, 0.003464873880147934, 0.01083418633788824, -0.021145779639482498, 0.03359720855951309, -0.016544774174690247, 0.004945095628499985, -0.03260739892721176, 0.04989608749747276, 0.046479206532239914, 0.0007376541034318507, 0.0035246124025434256, 0.014737996272742748, -0.00449465261772275, -0.015622648410499096, 0.005109058227390051, -0.008533085696399212, 0.05462734401226044, 0.022029120475053787, -0.004965110681951046, 0.0034376191906630993, -0.019234085455536842, -0.02849903702735901, -0.004124996718019247, 0.006158183328807354, 0.025622118264436722, 0.024936281144618988, 0.020780976861715317, 0.06857945770025253, 0.024293219670653343, 0.0006304148118942976, -0.0046080672182142735, -0.024762507528066635, 0.02229631319642067, 0.0015012272633612156, 0.0372818186879158, 0.020380649715662003, 0.009109933860599995, -0.012264261022210121, 0.022371593862771988, -0.03925376757979393, -0.032845064997673035, -0.014834381639957428, -0.018154842779040337, 0.020625898614525795, -0.01918841525912285, -0.03788893669843674, 0.00556095689535141, -0.03573879599571228, 0.0014625679468736053, -0.019561823457479477, 0.04365961626172066, -0.05427447333931923, 0.03543524816632271, 0.010940107516944408, -0.008169978857040405, 0.0036566921044141054, 0.003546704538166523, 0.02549825794994831, -0.040849559009075165, -0.009624014608561993, 0.02878599427640438, 0.0020376923494040966, 0.03957384452223778, -0.01174127496778965, 0.010905545204877853, -0.03008338250219822, 0.042991239577531815, -0.009680625051259995, -0.019621077924966812, -0.019546691328287125, 0.02798282541334629, -0.010994814336299896, 0.048428043723106384, 0.009708153083920479, -0.015262039378285408, 0.08546125888824463, -0.016181999817490578, -0.04511461779475212, 0.03701423853635788, -0.032234564423561096, 0.030742626637220383, -0.04887261614203453, 0.029249614104628563, 0.015360577963292599, 0.012182825244963169, 0.0015581115148961544, 0.0016897720051929355, 0.013065362349152565, 0.02190721407532692, -0.03413276746869087, -0.009385631419718266, -0.0135108083486557, -0.027783766388893127, 0.005548488814383745, -0.024637289345264435, -0.01652035117149353, 0.012133479118347168, 0.025791630148887634, -0.0033337059430778027, 0.014075757935643196, -0.046615876257419586, 0.051966678351163864, -0.005823448766022921, -0.013329163193702698, -0.025205669924616814, 0.005415295250713825, -0.03490184620022774, -0.0018341713584959507, -0.015602407976984978, -0.03131052106618881, 0.011162563227117062, -0.007544856518507004, -0.00006154389848234132, 0.019445909187197685, 0.0019694683142006397, 0.0009132068953476846, -0.009266724810004234, 0.008818143978714943, -0.02873975597321987, 0.0018814282957464457, 0.011456051841378212, -0.0004123070102650672, 0.00031091453274711967, 0.021093031391501427, 0.061831165105104446, 0.015856854617595673, -0.009492101147770882, 0.0685703456401825, -0.009034414775669575, 0.009107069112360477, 0.001828413107432425, 0.00006681089871563017, -0.02616538293659687, 0.020311525091528893, 0.021930012851953506, -0.030647307634353638, -0.026398759335279465, 0.005552792456001043, 0.024509932845830917, 0.027268793433904648, 0.007095631677657366, -0.0042388164438307285, 0.004125335719436407, 0.026471760123968124, -0.017118657007813454, -0.0064007886685431, 0.02206403762102127, -0.0017298337770625949, -0.012979671359062195, -0.006677449680864811, -0.0007266615284606814, -0.008509396575391293, 0.013310279697179794, -0.054950468242168427, -0.01191022153943777, 0.01847217231988907, 0.0006735612987540662, 0.0344853401184082, 0.03726167976856232, -0.024056248366832733, -0.034745246171951294, -0.004391827620565891, 0.03295949846506119, -0.0022742259316146374, -0.023219062015414238, 0.053583815693855286, 0.005418342538177967, 0.026676513254642487, 0.037081651389598846, 0.05329988896846771, 0.03581796586513519, 0.0398700125515461, -0.020677179098129272, 0.000165805293363519, -0.06506454199552536, 0.040518470108509064, 0.05279562994837761, -0.03131856024265289, -0.001216659089550376, -0.038001906126737595, -0.05890806391835213, -0.0037631141021847725, -0.006986370775848627, 0.018944893032312393, 0.03658255934715271, 0.012584573589265347, 0.01477994117885828, -0.006800949573516846, 0.02198055386543274, 0.03120524063706398, 0.011182287707924843, 0.0006406826432794333, 0.015886936336755753, -0.007579274475574493, -0.00037350167986005545, 0.008732674643397331, -0.012625569477677345, -0.026176998391747475, 0.00021543947514146566, -0.03574623912572861, 0.004329420626163483, 0.0162380188703537, -0.013947938568890095, 0.05054124817252159, 0.023674288764595985, 0.007013203110545874, 0.009913884103298187, 0.03053967095911503, -0.007756381761282682, 0.010061764158308506, -0.0009009293280541897, -0.01402480248361826, 0.019166598096489906, -0.018559986725449562, 0.04217228665947914, 0.04368922859430313, -0.026718037202954292, 0.026516979560256004, 0.020438043400645256, 0.01258134562522173, 0.02231661230325699, 0.0112957414239645, -0.000817154417745769, 0.019744979217648506, 0.05156951770186424, 0.01561562530696392, 0.059633176773786545, 0.043005961924791336, -0.022188635542988777, 0.009053308516740799, -0.01658495143055916, 0.03382078930735588, -0.045511823147535324, 0.04007314518094063, 0.047672342509031296, 0.011077508330345154, 0.0367894172668457, -0.05086920037865639, 0.01731203682720661, 0.00943087413907051, 0.042065054178237915, 0.009479534812271595, -0.04245355352759361, 0.01928575150668621, 0.035982679575681686, 0.01167610939592123, -0.023179354146122932, -0.021999835968017578, -0.019836600869894028, 0.010906846262514591, 0.01013663038611412, 0.029277972877025604, -0.017777273431420326, -0.05569351091980934, -0.008009676821529865, -0.04131096601486206, -0.010987984947860241, 0.010748539119958878, -0.03366955369710922, -0.04013238474726677, -0.025442207232117653, -0.031986579298973083, -0.022054636850953102, -0.051044758409261703, -0.015468976460397243, 0.002350862603634596, 0.010470664128661156, -0.02024713158607483, -0.007506104186177254, 0.06616475433111191, 0.0013872932177037, 0.009618669748306274, -0.01873311772942543, 0.0014055217616260052, 0.05924675986170769, 0.033376362174749374, -0.016187245026230812, -0.024576950818300247, -0.042072273790836334, 0.046517517417669296, 0.0007070769788697362, 0.027772504836320877, -0.041555456817150116, -0.005462556146085262, 0.004651443101465702, 0.03702607750892639, -0.005331249441951513, 0.004447797778993845, 0.0021684078965336084, 0.03646497800946236, -0.030940880998969078, 0.013553595170378685, -0.02427106723189354, -0.010692213661968708, -0.03516325727105141, -0.021713707596063614, -0.012359768152236938, 0.02035907469689846, -0.02596120536327362, 0.01299121230840683, 0.03612499684095383, -0.010699218139052391, -0.04242221638560295, -0.009997551329433918, -0.002650079783052206, -0.016952376812696457, -0.015394816175103188, 0.039547380059957504, -0.012767957523465157, 0.0004019077168777585, 0.030348466709256172, 0.00020867428975179791, -0.015545924194157124, -0.017974697053432465, -0.004004604648798704, -0.016017740592360497, -0.00815520714968443, -0.014211148023605347, 0.04945555329322815, 0.037210553884506226, 0.02514359913766384, 0.02887675166130066, -0.00527134258300066, 0.013868645764887333, -0.035744667053222656, -0.00012413829972501844, 0.019843490794301033, 0.020268162712454796, -0.02250373736023903, -0.037257835268974304, -0.03483397886157036, -0.011034811846911907, -0.01431214902549982, 0.011213323101401329, -0.06403879821300507, -0.04526016116142273, 0.0019494743319228292, 0.01705011911690235, -0.021395841613411903, 0.039814628660678864, 0.05185544490814209, -0.005394930951297283, 0.025587357580661774, -0.018148891627788544, 0.027905914932489395, -0.016613589599728584, 0.05409420281648636, 0.02617262303829193, -0.005183998961001635, 0.027661757543683052, 0.024744046851992607, -0.07590597122907639, 0.026621103286743164, -0.019714321941137314, -0.07600221037864685, -0.009681770578026772, 0.051589224487543106, -0.012411367148160934, -0.013405335135757923, 0.018630532547831535, -0.010252189822494984, -0.007510627154260874, 0.004773368127644062, 0.028502730652689934, -0.017519565299153328, 0.024597927927970886, 0.013386321254074574, -0.0322183333337307, -0.01583905890583992, 0.018260130658745766, 0.035375241190195084, 0.05700001120567322, 0.03930937871336937, -0.03283856064081192, -0.013696963898837566, -0.018182625994086266, -0.003673985367640853, 0.015494880266487598, -0.03956574201583862, -0.014581511728465557, 0.009071036241948605, -0.01758902333676815, -0.04136664420366287, -0.0391763411462307, 0.057646118104457855, -0.011538996361196041, -0.01629060134291649, -0.05151841789484024, -0.007356088142842054, -0.0179179385304451, 0.025140151381492615, 0.01173989474773407, 0.031890854239463806, 0.08237724751234055, 0.07067214697599411, -0.015568956732749939, -0.037890706211328506, 0.032079000025987625 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
So glad you got that one in there. Well done! Look forward to many more in the next edition. Thank you so much for joining me today. I really appreciate it. Where can our listeners find you online? Lewis: I'm fairly active on Twitter. You can just find me my handle @_lewtun. LinkedIn is a strange place and I'm not really on there very much. And of course, there's Hugging Face, the Hugging Face Forums, and Discord.
[ 0.07677198201417923, -0.046633556485176086, 0.07237885892391205, 0.0009296443313360214, 0.05232106149196625, 0.024539804086089134, 0.004881888162344694, 0.041924674063920975, -0.06791403144598007, -0.06393741071224213, -0.06331392377614975, 0.040749691426754, -0.011170524172484875, 0.019576767459511757, -0.005257651209831238, -0.02693048305809498, 0.010965907946228981, -0.038860879838466644, 0.015464060939848423, -0.00021630298579111695, -0.04383210465312004, 0.005633106455206871, 0.06312613189220428, 0.01606425642967224, -0.024423645809292793, -0.030930815264582634, -0.008109799586236477, 0.01118193194270134, -0.04292735084891319, 0.062477197498083115, -0.02696882002055645, 0.015857545658946037, 0.039103392511606216, 0.007048020139336586, -0.001212863135151565, 0.004297609440982342, -0.13318702578544617, 0.03387207165360451, 0.04718352481722832, 0.036598414182662964, 0.02081075869500637, -0.03540341556072235, -0.02435169368982315, 0.09781630337238312, -0.030489249154925346, -0.04416784271597862, -0.24934595823287964, 0.07087323069572449, 0.007836706005036831, -0.03670003265142441, -0.0699705109000206, 0.053826116025447845, 0.01565920002758503, 0.0023009919095784426, 0.026835473254323006, -0.006570474710315466, 0.031259484589099884, -0.07965454459190369, 0.026033759117126465, -0.03404705226421356, 0.06102651357650757, 0.01560468040406704, -0.002871214644983411, -0.016157444566488266, 0.0720805823802948, 0.017880503088235855, 0.01592419669032097, 0.005476231686770916, -0.0658724308013916, -0.0030657644383609295, 0.07764767855405807, -0.017483336851000786, -0.04772965982556343, -0.006806147750467062, 0.029608922079205513, -0.008243461139500141, -0.011748728342354298, 0.0598730705678463, 0.051287032663822174, 0.03422035276889801, -0.028039835393428802, 0.004512646701186895, 0.08299636840820312, 0.1018325462937355, 0.006175135727971792, -0.019006989896297455, 0.07497796416282654, 0.009277716279029846, -0.058242570608854294, 0.015506042167544365, -0.045829981565475464, -0.07432182878255844, 0.03676307573914528, 0.03793472796678543, 0.07993277162313461, -0.041190531104803085, 0.011401066556572914, -0.007723154034465551, -0.007505939807742834, -0.05818094313144684, -0.05489872395992279, -0.04005279392004013, -0.0020298066083341837, -0.04370184242725372, -0.03201255947351456, 0.017197348177433014, 0.007493600714951754, -0.09008532017469406, -0.035982534289360046, 0.04646434634923935, -0.014445222914218903, 0.028269367292523384, 0.03517885133624077, 0.020705057308077812, -0.042712610214948654, 0.11432665586471558, -0.028535138815641403, -0.044056907296180725, 0.016506940126419067, -0.012815913185477257, -0.007580428384244442, 0.10574222356081009, 0.02464190684258938, 0.012048502452671528, 0.044659942388534546, -0.0024441976565867662, -0.014819150790572166, 0.05666501447558403, 0.0025610243901610374, -0.06634502112865448, 0.03473030403256416, -0.030250314623117447, 0.022358370944857597, 0.007874088361859322, -0.02873241901397705, -0.051715243607759476, 0.024500777944922447, -0.026306450366973877, 0.08556333184242249, 0.004632726311683655, -0.008484581485390663, 0.021100731566548347, 0.000031946565286489204, 0.047258634120225906, 0.032022371888160706, -0.023432206362485886, -0.1022651419043541, 0.025584153831005096, -0.02106955274939537, 0.028088891878724098, -0.014288121834397316, 0.036029111593961716, -0.02304741181433201, -0.048752788454294205, 0.03217725828289986, 0.056275397539138794, 0.02765650860965252, -0.002437823684886098, 0.004131681751459837, 0.003169807605445385, 0.044489674270153046, -0.0400206595659256, -0.013495538383722305, 0.02254524454474449, 0.0313921682536602, -0.030100177973508835, -0.02419177256524563, -0.017643295228481293, -0.04779771715402603, -0.08129525184631348, -0.0070002200081944466, 0.001237733755260706, 0.05957735329866409, -0.018189996480941772, -0.046551380306482315, 0.07044534385204315, 0.08108749240636826, 0.01931154727935791, -0.05109119042754173, 0.009252945892512798, -0.03679751977324486, 0.0065081617794930935, 0.01032012514770031, 0.042274679988622665, 0.046984344720840454, -0.04723427817225456, 0.03529047593474388, 0.049279291182756424, -0.004101235419511795, 0.06258030235767365, -0.04622704163193703, -0.012587117031216621, 0.12206395715475082, 0.004371087998151779, -0.014590390026569366, -0.06966017931699753, -0.05892704054713249, 0.10217928141355515, 0.04855511337518692, 0.017413152381777763, 0.04916871711611748, 0.02021104469895363, 0.08822503685951233, 0.003993837628513575, -0.014348015189170837, 0.04470650106668472, 0.05899939313530922, -0.05625202879309654, -0.048987843096256256, 0.039306022226810455, 0.05147312581539154, -0.12463577091693878, 0.034845251590013504, -0.021419143304228783, 0.015478970482945442, -0.03237539157271385, -0.013537373393774033, 0.009407056495547295, 0.013894029892981052, -0.023035654798150063, 0.14303696155548096, 0.029092058539390564, 0.007273044437170029, 0.023530201986432076, -0.008641262538731098, 0.09574129432439804, 0.08351676911115646, 0.03455569967627525, 0.04890017583966255, -0.07856973260641098, -0.021450242027640343, 0.01834101974964142, -0.05584975704550743, 0.016744030639529228, 0.003309929743409157, 0.015802158042788506, 0.02368263714015484, -0.08738457411527634, -0.03275642544031143, -0.023450566455721855, 0.023581134155392647, -0.04635370895266533, 0.04069780558347702, 0.04506765678524971, -0.05354747921228409, -0.04933488741517067, 0.029487309977412224, 0.047154512256383896, -0.06853355467319489, 0.020738158375024796, -0.056378576904535294, 0.11691175401210785, 0.030434660613536835, 0.021361447870731354, 0.045586664229631424, -0.009348951280117035, -0.007884292863309383, -0.017458170652389526, 0.01288225781172514, 0.019870828837156296, 0.04154568165540695, -0.034895848482847214, -0.02615642547607422, -0.04411948472261429, -0.0008269885438494384, -0.02489614486694336, -0.007924159057438374, -0.020397748798131943, 0.04450320452451706, 0.033616021275520325, 0.035713743418455124, -0.007318536750972271, 0.031033474951982498, 0.031704168766736984, -0.025284435600042343, -0.0069181052967906, 0.03592497110366821, -0.02273722179234028, -0.008665021508932114, -0.057485565543174744, -0.004330927040427923, -0.02099936455488205, 0.035777002573013306, 0.020048964768648148, 0.013546543195843697, -0.0408843457698822, -0.01697397790849209, -0.02156422846019268, -0.018897412344813347, 0.009902960620820522, 0.011163200251758099, 0.021881233900785446, 0.022534755989909172, -0.025369852781295776, 0.009339503012597561, -0.017720825970172882, 0.028556495904922485, 0.0027257429901510477, -0.06534204632043839, 0.04537408798933029, -0.00968220829963684, 0.0013480205088853836, -0.0005259844474494457, 0.03741804137825966, -0.009965232573449612, 0.012372799217700958, 0.04279511049389839, 0.029476717114448547, -0.1265903264284134, -0.04163738712668419, -0.001862257719039917, 0.002824921626597643, -0.03161297366023064, -0.011494370177388191, 0.0691872090101242, -0.07255902886390686, -0.008425721898674965, -0.0010772146051749587, -0.010627436451613903, 0.011344652622938156, 0.017861874774098396, -0.04414873942732811, -0.04043465107679367, -0.007623191457241774, 0.01691431924700737, -0.009615392424166203, 0.03320777788758278, 0.0316145159304142, -0.01623796671628952, 0.04507500305771828, -0.010430602356791496, 0.0074986121617257595, -0.013406351208686829, 0.023097414523363113, 0.013925722800195217, 0.06932887434959412, 0.03848003223538399, -0.031891096383333206, -0.002388197695836425, 0.01789192296564579, -0.0075811478309333324, 0.04287610948085785, -0.011124705895781517, 0.0076121920719742775, -0.021132228896021843, -0.02048194408416748, 0.022083545103669167, 0.03422743082046509, 0.011934990994632244, -0.004443158395588398, 0.016238637268543243, 0.0045029292814433575, 0.0011418776120990515, 0.0057655866257846355, -0.01973641663789749, -0.008090253919363022, 0.03697304055094719, -0.03996798023581505, -0.007750124204903841, 0.0001908054546220228, 0.007962931878864765, 0.06718339771032333, -0.012979285791516304, -0.010122785344719887, -0.02751287631690502, 0.013398712500929832, 0.00986990425735712, -0.006098853424191475, -0.023064974695444107, 0.0362122505903244, -0.01573418825864792, -0.02079644799232483, -0.003186276415362954, 0.06948020309209824, -0.028460774570703506, -0.024404985830187798, -0.03342064842581749, 0.022783992812037468, 0.011393234133720398, 0.000955622352194041, -0.018936775624752045, -0.005356172565370798, -0.009274943731725216, 0.007140564266592264, -0.0338454507291317, 0.020368115976452827, 0.04876849055290222, 0.0057639870792627335, -0.03151220455765724, -0.005267987493425608, -0.015506593510508537, -0.026783199980854988, -0.0002843727997969836, -0.0006596999010071158, 0.01669451594352722, 0.004133220762014389, -0.005005490500479937, 0.07071007788181305, 0.007287715561687946, 0.009406881406903267, 0.0012479291763156652, -0.0073784152045845985, 0.006059562787413597, 0.02144244685769081, 0.025088666006922722, 0.01991919055581093, 0.00931865256279707, -0.0024126754142344, 0.028561796993017197, -0.013625183142721653, -0.025201421231031418, 0.010154612362384796, 0.005335967056453228, 0.05111303925514221, -0.024709096178412437, -0.07096657156944275, -0.006025690119713545, 0.008376210927963257, 0.008425292558968067, -0.03905900567770004, 0.01138247363269329, -0.05700971558690071, 0.032214149832725525, 0.010521918535232544, -0.014920548535883427, -0.005288379266858101, -0.04058612883090973, 0.031698185950517654, -0.0006797343958169222, 0.012735835276544094, 0.01582428067922592, -0.019944677129387856, 0.04382918030023575, -0.013772101141512394, 0.006170559208840132, -0.03655502200126648, 0.0065931156277656555, -0.0034497790038585663, -0.01902206428349018, -0.04448234289884567, 0.04087529703974724, -0.017247812822461128, 0.027531754225492477, -0.0026854523457586765, -0.05349182337522507, 0.05046151950955391, -0.02134643867611885, -0.03254921734333038, 0.007816480472683907, -0.0026812152937054634, 0.029852954670786858, -0.017555376514792442, 0.01999269239604473, 0.012157529592514038, -0.010027502663433552, 0.007517312187701464, -0.0008784840465523303, 0.048597224056720734, 0.010064775124192238, -0.0011429496807977557, -0.010113432072103024, 0.00906954426318407, -0.007113135419785976, 0.0072527383454144, -0.012509522028267384, 0.006266303826123476, -0.041259437799453735, 0.03176257014274597, 0.000717480550520122, 0.026696547865867615, -0.02674802392721176, 0.06277036666870117, 0.002209383063018322, 0.012110287323594093, -0.02171630784869194, -0.018055489286780357, 0.0029283773619681597, -0.029089326038956642, -0.05520416796207428, -0.018939601257443428, 0.006972508504986763, -0.02555926702916622, -0.00584450364112854, -0.002266866620630026, 0.007281191181391478, -0.012295503169298172, -0.005893654655665159, 0.011158060282468796, -0.016992516815662384, 0.005085376091301441, 0.02257542870938778, -0.021587960422039032, -0.011017278768122196, 0.00009844393207458779, 0.04233125224709511, 0.02895253524184227, 0.03423560410737991, 0.052637431770563126, -0.0038902650121599436, 0.022163454443216324, -0.03064781241118908, -0.015418932773172855, 0.017728259786963463, 0.01970028132200241, 0.035929519683122635, -0.009469675831496716, -0.05789690837264061, 0.0016145154368132353, 0.01731862686574459, 0.0403716079890728, -0.03757907450199127, -0.011675996705889702, 0.017811303958296776, 0.012298837304115295, 0.0007441745838150382, -0.01585114374756813, 0.0037614060565829277, -0.06853099912405014, -0.004152936860918999, 0.011423398740589619, 0.004694641102105379, -0.06342146545648575, 0.010044476948678493, -0.046854168176651, -0.03500473126769066, 0.029923109337687492, 0.024421293288469315, 0.051048122346401215, 0.025002650916576385, 0.0010012342827394605, -0.04984075576066971, 0.0008542830473743379, 0.021072441712021828, -0.018768828362226486, -0.05453674867749214, 0.024656377732753754, -0.015439840964972973, 0.002324315719306469, 0.05623617395758629, 0.02936633676290512, 0.02983682043850422, 0.056214384734630585, 0.000584378547500819, 0.006590411067008972, -0.047584906220436096, 0.034402284771203995, 0.014686628244817257, -0.012164484709501266, 0.019984418526291847, -0.03610338643193245, -0.010790644213557243, -0.030601058155298233, -0.04797779396176338, 0.024833090603351593, 0.061723485589027405, 0.006426272448152304, 0.0021712942980229855, -0.014009468257427216, 0.05416400730609894, 0.05129874497652054, -0.008624359034001827, 0.015596813522279263, -0.014545535668730736, -0.0027815806679427624, -0.03386737033724785, 0.013969040475785732, -0.011500178836286068, -0.0394991897046566, -0.02199043706059456, -0.07988645881414413, 0.019226806238293648, 0.015271558426320553, -0.006347942631691694, 0.01424181554466486, -0.0020881290547549725, -0.007018886506557465, 0.008330831304192543, -0.02308492548763752, -0.02623828686773777, -0.026067951694130898, 0.013422601856291294, -0.031164657324552536, -0.010252325795590878, -0.031688936054706573, 0.04528919234871864, 0.024899104610085487, -0.0036084940657019615, 0.012506822124123573, 0.015380303375422955, 0.030469799414277077, 0.01796572096645832, 0.009002955630421638, 0.015389068983495235, 0.008288622833788395, 0.05443377047777176, 0.021117033436894417, 0.047373201698064804, 0.013013254851102829, -0.02109360694885254, -0.012216776609420776, -0.02965598739683628, 0.009399963542819023, -0.003587169572710991, -0.01365287322551012, 0.01861400716006756, -0.026277387514710426, 0.049775946885347366, -0.03744545951485634, 0.02285766787827015, -0.02442109026014805, 0.02296445146203041, 0.010659505613148212, -0.011492237448692322, 0.01495244912803173, 0.0197591632604599, -0.009938129223883152, 0.018905149772763252, -0.00014841463416814804, -0.0007566255517303944, 0.02098705992102623, -0.00386124849319458, 0.00193224532995373, -0.006466626189649105, -0.0485805906355381, -0.0012328545562922955, -0.028911519795656204, 0.0013636978110298514, -0.02886327914893627, -0.011705383658409119, 0.005677876062691212, 0.006735589355230331, -0.01461849920451641, -0.026085540652275085, -0.06179030239582062, 0.012429086491465569, 0.009790925309062004, 0.03284797444939613, -0.020687539130449295, 0.03949841856956482, 0.048612080514431, -0.009730249643325806, 0.006045069545507431, 0.0006622840301133692, 0.014436562545597553, 0.03563467413187027, 0.02381960302591324, -0.03024142235517502, -0.05645330995321274, -0.009257524274289608, -0.0053998371586203575, -0.023061322048306465, 0.021691998466849327, -0.01936100423336029, -0.023801114410161972, -0.03180769830942154, 0.020484445616602898, -0.0012151147238910198, 0.049676232039928436, 0.026852760463953018, -0.005357965361326933, -0.011936071328818798, 0.015963220968842506, 0.016351275146007538, 0.005126966629177332, -0.05678559094667435, -0.019168462604284286, -0.010617661289870739, -0.020232822746038437, -0.028437433764338493, 0.022771621122956276, 0.04658188298344612, -0.015469358302652836, -0.027210479602217674, -0.004445833619683981, -0.0028052078559994698, -0.02753431349992752, -0.005399271380156279, 0.022693078964948654, -0.023460401222109795, -0.021977653726935387, -0.0035897570196539164, 0.005263517145067453, -0.03398817032575607, -0.03186408802866936, 0.032398540526628494, -0.030557552352547646, -0.04246166720986366, -0.005584533791989088, 0.06337589770555496, 0.027896957471966743, 0.022803323343396187, 0.066860631108284, 0.042117826640605927, 0.020405851304531097, -0.0555863194167614, -0.013706869445741177, 0.01081434078514576, 0.010277625173330307, -0.028180081397294998, -0.0107338922098279, -0.035642217844724655, -0.04742550849914551, 0.016771283000707626, -0.019025728106498718, -0.058892782777547836, -0.03144899755716324, -0.017202340066432953, 0.012440613470971584, -0.02301022969186306, 0.02626662328839302, 0.05010317638516426, 0.00958283245563507, 0.010305192321538925, -0.02047858200967312, 0.006029007025063038, -0.043681442737579346, 0.009676543064415455, 0.0314168706536293, 0.01647774502635002, -0.012965301983058453, 0.01121647097170353, -0.032602861523628235, -0.01640688255429268, 0.005449406802654266, -0.052713338285684586, 0.010780733078718185, 0.02934853732585907, -0.017144443467259407, -0.0270918607711792, 0.01916881650686264, -0.030185475945472717, -0.006933302152901888, 0.004610276315361261, 0.0013404632918536663, -0.04863525554537773, 0.011051187291741371, 0.03245942294597626, -0.024081213399767876, 0.02995048649609089, -0.02208796516060829, 0.044405899941921234, 0.04129302129149437, 0.02008974552154541, -0.026505691930651665, 0.015945177525281906, -0.03683031350374222, 0.0005344174569472671, 0.023696837946772575, -0.03722819313406944, -0.004708231892436743, 0.0038720513693988323, 0.0016720377607271075, -0.019027063623070717, -0.04876459389925003, 0.033782608807086945, 0.01410603616386652, -0.03201587125658989, -0.026184219866991043, -0.009235549718141556, -0.003552741603925824, -0.0358353890478611, 0.021616701036691666, 0.026579327881336212, 0.05736573785543442, 0.049565497785806656, -0.008403042331337929, 0.019784457981586456, -0.009821276180446148 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
Exactly. Congratulations! Want to briefly read one endorsement that I love about this book; “Complexity made simple. This is a rare and precious book about NLP, transformers, and the growing ecosystem around them, Hugging Face. Whether these are still buzzwords to you or you already have a solid grasp of it all, the authors will navigate you with humor, scientific rigor, and plenty of code examples into the deepest secrets of the coolest technology around. From “off-the-shelf pre-trained” to “from-scratch custom” models, and from performance to missing labels issues, the authors address practically every real-life struggle of an ML engineer and provide state-of-the-art solutions, making this book destined to dictate the standards in the field for years to come.” —Luca Perrozi Ph.D., Data Science and Machine Learning Associate Manager at Accenture. Checkout Natural Language Processing with Transformers.
[ 0.03341700881719589, -0.01008865237236023, 0.018074164167046547, -0.03838905692100525, 0.022905712947249413, 0.04547281190752983, -0.01724688895046711, 0.08924286812543869, -0.019426794722676277, 0.02219361998140812, -0.09805713593959808, 0.09044104069471359, -0.04419628158211708, 0.06323713064193726, 0.022387202829122543, 0.01755647361278534, -0.02211248129606247, 0.005076889414340258, -0.00195017596706748, 0.023811377584934235, -0.06093698740005493, -0.07017209380865097, 0.02493724226951599, -0.0034919294994324446, -0.03106565587222576, -0.04819604381918907, -0.02135041169822216, -0.004434662405401468, 0.04049460589885712, 0.06148190051317215, -0.08619948476552963, -0.04393099620938301, -0.03732673451304436, -0.04397927224636078, 0.013512623496353626, -0.0286833718419075, -0.09260804951190948, 0.018252279609441757, -0.010845986194908619, 0.003145410679280758, 0.027508731931447983, -0.017335329204797745, -0.07625342160463333, -0.0016964111709967256, -0.018770094960927963, -0.031227748841047287, -0.16790303587913513, 0.013083032332360744, -0.03228869289159775, -0.05987505614757538, -0.037960734218358994, 0.045377861708402634, -0.03506151959300041, 0.06010395660996437, 0.0005220770835876465, 0.029309267178177834, -0.015351682901382446, -0.06661192327737808, -0.003388084936887026, -0.01026532519608736, 0.0051867361180484295, 0.04448959231376648, 0.027993030846118927, 0.009191179648041725, 0.07307219505310059, -0.028273815289139748, 0.049137841910123825, -0.008707945235073566, -0.05893641710281372, 0.025139449164271355, 0.06021701544523239, -0.06756992638111115, -0.03640398755669594, -0.046885762363672256, -0.019022051244974136, -0.013525424525141716, 0.04523802548646927, 0.00006651421426795423, 0.040092967450618744, 0.052802957594394684, -0.016914211213588715, 0.008122417144477367, 0.05011220648884773, 0.09133584797382355, 0.02171626128256321, -0.005278927274048328, 0.08133605867624283, -0.03817818686366081, -0.10701379179954529, 0.04416443035006523, 0.03474454954266548, -0.12176889926195145, -0.05196656286716461, 0.04328317567706108, 0.08440756052732468, -0.04117675870656967, 0.00785644631832838, -0.007295873947441578, -0.07817905396223068, -0.0468994565308094, -0.04029744118452072, 0.0005221851170063019, 0.023432331159710884, -0.05357302725315094, -0.07537858933210373, -0.010049671865999699, 0.0004605661379173398, -0.07198400050401688, 0.0060491543263196945, 0.069547638297081, 0.010776283219456673, -0.01351227331906557, 0.009059915319085121, 0.07282926887273788, -0.08103711903095245, 0.12358475476503372, -0.0018953582039102912, -0.00820623617619276, -0.061142779886722565, 0.016363175585865974, 0.01551843248307705, 0.014034394174814224, 0.04871121793985367, 0.024530919268727303, 0.058594923466444016, 0.028256550431251526, -0.033940549939870834, 0.042360205203294754, -0.01339707151055336, -0.018728533759713173, -0.0006938232108950615, -0.04764627665281296, 0.049605876207351685, 0.005361051764339209, 0.016329336911439896, 0.0024630953557789326, 0.012578582391142845, -0.05772926285862923, 0.007604660931974649, 0.03975212201476097, 0.032271601259708405, 0.07860787212848663, -0.01788196712732315, -0.03232602775096893, 0.06428127735853195, 0.023114096373319626, -0.04716295748949051, 0.07198159396648407, -0.01742345280945301, 0.02696802467107773, -0.008644462563097477, -0.016061384230852127, -0.04286874458193779, -0.05580975115299225, 0.015387092716991901, 0.08593950420618057, -0.015020488761365414, -0.028177065774798393, -0.006400438025593758, -0.04618704319000244, 0.027386048808693886, -0.04985187202692032, -0.03931000083684921, 0.01238851435482502, 0.02856394089758396, -0.06181322783231735, 0.0093646589666605, 0.01742425002157688, -0.015674538910388947, 0.04053457826375961, 0.0759911835193634, -0.05850734934210777, 0.016464771702885628, -0.02391437254846096, -0.009116594679653645, 0.022424323484301567, 0.031285304576158524, 0.03995921090245247, 0.04851551353931427, -0.03225143998861313, -0.06256376206874847, 0.05727386102080345, 0.04802858829498291, 0.0597514733672142, 0.043396905064582825, -0.03692095726728439, -0.004046642687171698, -0.015120269730687141, 0.0002243105263914913, 0.02045409381389618, -0.036782704293727875, 0.031146716326475143, 0.10249306261539459, -0.027225196361541748, 0.06147850304841995, -0.025823324918746948, -0.09483089298009872, 0.1702267825603485, -0.014780457131564617, 0.013331271708011627, 0.04193573817610741, -0.049873385578393936, 0.02474820986390114, -0.07753339409828186, 0.011015968397259712, -0.01132554467767477, -0.04920997470617294, -0.03558320179581642, 0.008393733762204647, -0.0338134840130806, 0.05509120970964432, -0.07316868007183075, 0.010442566126585007, -0.024419184774160385, -0.046533625572919846, -0.05509934946894646, -0.0448688305914402, 0.08001797646284103, 0.013322166167199612, 0.006685150787234306, 0.16461637616157532, -0.012517375871539116, -0.03338015452027321, 0.0027913465164601803, 0.01844615675508976, 0.031202415004372597, 0.07088854163885117, -0.014267541468143463, 0.04340270161628723, -0.06779077649116516, 0.003693333826959133, -0.07867979258298874, -0.04228796437382698, -0.021805407479405403, -0.02094651386141777, -0.006099547725170851, 0.030051296576857567, 0.03829570859670639, -0.028588416054844856, 0.02404358983039856, -0.04847706854343414, -0.01640057936310768, 0.01082662958651781, 0.0856563076376915, 0.018284713849425316, -0.017533399164676666, 0.03442102670669556, -0.01797715574502945, -0.000019282737412140705, 0.07396740466356277, -0.04915040731430054, 0.06519440561532974, 0.025952409952878952, 0.004692167975008488, 0.008139869198203087, 0.03012259677052498, 0.018783029168844223, -0.005294764414429665, -0.004320007748901844, 0.015797682106494904, -0.029545696452260017, -0.020842086523771286, -0.02168978564441204, -0.01370408944785595, -0.025487996637821198, -0.05107421800494194, 0.011292705312371254, 0.025056878104805946, 0.001332907355390489, 0.02327759750187397, 0.027448130771517754, -0.004934856202453375, 0.04431794583797455, 0.023234114050865173, 0.03305044397711754, -0.006933259312063456, 0.02137940376996994, -0.03949804604053497, -0.006768140941858292, -0.03330229967832565, 0.003889848245307803, -0.023098593577742577, 0.029978131875395775, 0.06172328069806099, 0.015904050320386887, -0.03846919164061546, -0.0047371466644108295, -0.007021421566605568, -0.03310021758079529, 0.01836957037448883, -0.01729298196732998, 0.02555966190993786, 0.007482790853828192, -0.03501031547784805, -0.017829949036240578, 0.007874076254665852, -0.0007254345691762865, -0.04225938767194748, -0.01424577459692955, 0.047819774597883224, 0.013390501961112022, 0.007820194587111473, 0.02990892343223095, 0.00276185036636889, 0.005703417118638754, 0.022886980324983597, 0.02722005918622017, 0.013605087995529175, -0.09555169194936752, -0.04312455281615257, 0.0041016521863639355, -0.009511545300483704, 0.02631465159356594, -0.05776010453701019, 0.024607816711068153, 0.03474428504705429, 0.003878076793625951, 0.01706796884536743, 0.005107351578772068, -0.015975115820765495, 0.04347565770149231, 0.04415188729763031, 0.0018664482049643993, 0.02022922970354557, -0.021766837686300278, -0.0232066810131073, 0.04871322587132454, 0.046632301062345505, -0.037211403250694275, 0.0197458453476429, -0.014856544323265553, -0.007320445962250233, 0.010945068672299385, 0.002616345416754484, 0.03994371369481087, 0.05345707759261131, 0.02567862719297409, 0.02573532424867153, -0.012103692628443241, 0.01667439565062523, -0.017909975722432137, 0.007427147123962641, -0.032121483236551285, -0.008710285648703575, 0.012057165615260601, 0.04374098405241966, 0.04954402893781662, 0.027562079951167107, -0.000039857422962086275, -0.02385518327355385, 0.01830456033349037, -0.011647537350654602, 0.017396973446011543, -0.04783743992447853, -0.027791548520326614, -0.029880795627832413, -0.01054365374147892, -0.06864103674888611, -0.05849793180823326, -0.008604771457612514, -0.003796620527282357, 0.03896971046924591, 0.05020520091056824, 0.013928870670497417, -0.005003038328140974, -0.04379395768046379, -0.0076766787096858025, -0.02397943288087845, -0.015680786222219467, -0.007954048924148083, -0.010760679841041565, -0.03690880537033081, -0.011722511611878872, 0.059107083827257156, -0.02328397147357464, -0.049864381551742554, -0.03119129315018654, 0.05563712492585182, 0.025998154655098915, 0.016774866729974747, -0.05483618006110191, -0.009031515568494797, -0.01747710630297661, 0.013475886546075344, -0.009655868634581566, -0.04511821269989014, 0.07079725712537766, 0.024354364722967148, -0.08402997255325317, -0.0505901463329792, -0.017992492765188217, 0.01635894924402237, 0.013474897481501102, 0.004763004370033741, 0.024700356647372246, -0.01882912963628769, -0.018221722915768623, 0.017072008922696114, 0.007129407487809658, -0.03562140837311745, -0.0334564670920372, -0.0036126836203038692, 0.0029802245553582907, -0.03369868919253349, -0.006746822968125343, 0.03914002701640129, 0.019278351217508316, -0.00865069217979908, -0.0196639783680439, -0.04387348145246506, -0.019472334533929825, 0.03216914087533951, -0.029828501865267754, 0.007052649278193712, 0.032810356467962265, -0.025497611612081528, -0.00546297850087285, -0.006579214241355658, 0.05872767046093941, 0.005264699459075928, 0.00014778005424886942, -0.002611133735626936, 0.043512012809515, 0.015921516343951225, 0.015647808089852333, 0.015742260962724686, -0.01796797662973404, 0.02087784744799137, -0.032457321882247925, -0.008462818339467049, 0.020179441198706627, -0.0012144915526732802, 0.01247390452772379, -0.007660046685487032, 0.015566105954349041, 0.021611304953694344, 0.007479233667254448, 0.010788028128445148, -0.013506639748811722, -0.0027495683170855045, 0.04284331575036049, -0.003517160192131996, 0.0019936198368668556, 0.040669746696949005, -0.018311960622668266, 0.02724035456776619, -0.04642770439386368, -0.01797398179769516, 0.02799415774643421, 0.005715795326977968, -0.00006375490920618176, -0.041715361177921295, 0.04022708535194397, -0.008098392747342587, -0.010794047266244888, 0.016511302441358566, -0.0015388396568596363, 0.032408133149147034, 0.03634841740131378, -0.004725729580968618, 0.0007938824710436165, 0.023901091888546944, 0.000025773972083698027, -0.028768474236130714, 0.004575049038976431, 0.004578339401632547, 0.0027336939238011837, 0.025332719087600708, -0.04613727331161499, 0.008087734691798687, -0.043577611446380615, 0.001544217113405466, 0.027594787999987602, 0.026360223069787025, -0.05513923242688179, -0.027521461248397827, 0.0035497909411787987, -0.020429788157343864, 0.002695865696296096, 0.0014854813925921917, -0.011406655423343182, -0.00947131309658289, -0.03789544478058815, 0.05433022230863571, 0.004300921689718962, 0.04267372563481331, -0.026003897190093994, 0.00516063068062067, 0.0008990582427941263, -0.015512246638536453, 0.01044929027557373, -0.008896670304238796, 0.026720799505710602, 0.023111538961529732, 0.033113978803157806, 0.08389965444803238, -0.02788800373673439, 0.02575594186782837, 0.020646700635552406, -0.021603243425488472, -0.010779130272567272, 0.0018787919543683529, -0.010322462767362595, -0.014775235205888748, 0.011312884278595448, -0.001368445111438632, -0.03449308127164841, -0.035954754799604416, 0.03432725369930267, 0.01326980721205473, -0.021504288539290428, 0.009129012003540993, 0.04792454466223717, -0.022765006870031357, -0.014976741746068, -0.029654880985617638, 0.053997702896595, -0.02046438306570053, -0.018539302051067352, 0.02850579097867012, 0.04825479909777641, -0.01674959994852543, -0.013410845771431923, 0.013060846365988255, -0.021979885175824165, 0.018915528431534767, 0.017975470051169395, 0.06462737917900085, -0.000544961541891098, -0.0029833531007170677, -0.030101651325821877, 0.0055979834869503975, 0.056256379932165146, -0.0313645601272583, -0.0007707722252234817, -0.005518008954823017, 0.014273869805037975, -0.03602370619773865, -0.04624279588460922, 0.039056774228811264, -0.006438232492655516, 0.03621181473135948, -0.01510902401059866, -0.0027961675077676773, -0.06961145251989365, 0.02833876758813858, 0.054721519351005554, -0.054443299770355225, -0.011175469495356083, -0.01530557218939066, -0.04216694086790085, -0.017046039924025536, -0.027126969769597054, 0.01303020864725113, 0.04304572194814682, 0.03750738874077797, 0.025816304609179497, -0.013012280687689781, -0.0036138189025223255, 0.00013296856195665896, -0.014936370775103569, -0.01494112890213728, 0.03254380077123642, 0.004519547335803509, 0.026614122092723846, -0.009001418016850948, -0.007912256754934788, -0.0012657495681196451, 0.024030648171901703, -0.06008059158921242, -0.017857657745480537, 0.021877577528357506, 0.03250075504183769, 0.020705200731754303, 0.030098438262939453, -0.04761573672294617, 0.012033947743475437, 0.007444772403687239, -0.012663932517170906, 0.05261753872036934, 0.025353552773594856, 0.05286281183362007, 0.002779533853754401, -0.024808088317513466, 0.0014292931882664561, 0.05187142640352249, -0.009309865534305573, -0.006809074431657791, 0.016833137720823288, 0.01927410066127777, 0.019935263320803642, 0.0014757944736629725, 0.0072243413887917995, 0.026051323860883713, 0.028593938797712326, 0.0011696148430928588, 0.059631459414958954, 0.028128718957304955, -0.02501862496137619, -0.031235255300998688, 0.008829119615256786, -0.014730537310242653, -0.0061704362742602825, 0.052920736372470856, 0.07161344587802887, -0.029986515641212463, -0.0029261205345392227, -0.028140950947999954, 0.048127543181180954, 0.022729646414518356, 0.04718348756432533, -0.0015721045201644301, 0.04511526972055435, 0.06239817664027214, -0.0025679366663098335, 0.032813604921102524, 0.01202442031353712, -0.00153731822501868, -0.02168029360473156, 0.03158934414386749, 0.015027684159576893, 0.045640554279088974, -0.019508367404341698, -0.013920454308390617, 0.009084898047149181, 0.0054420484229922295, -0.00912151113152504, 0.010665209032595158, -0.05116535350680351, -0.03702044114470482, -0.011148893274366856, -0.016814973205327988, -0.050608932971954346, 0.0567040853202343, -0.016067879274487495, 0.011617830954492092, -0.00929414015263319, -0.013654733076691628, 0.006792418193072081, 0.07206506282091141, 0.018779532983899117, -0.023118456825613976, 0.036433298140764236, -0.025977296754717827, 0.040957991033792496, 0.01765560358762741, -0.02313467115163803, -0.04397342726588249, -0.04568196088075638, -0.017612237483263016, -0.0018984372727572918, 0.03177203983068466, -0.006940500345081091, -0.05085575580596924, 0.005701314192265272, 0.04316721856594086, -0.010435727424919605, 0.002189223887398839, -0.014553805813193321, 0.033064354211091995, -0.03332218527793884, -0.008642235770821571, 0.0030098571442067623, 0.00207773270085454, -0.006616281345486641, -0.04047573357820511, 0.0011058467207476497, 0.00010476056922925636, -0.01078653335571289, 0.03216633200645447, 0.05040093883872032, -0.006412451155483723, -0.040243636816740036, -0.017530502751469612, 0.011538266204297543, -0.009945040568709373, 0.036957088857889175, -0.020417874678969383, -0.03047272376716137, 0.007376561872661114, 0.003621725831180811, -0.01944917067885399, 0.001988620264455676, 0.012254062108695507, -0.004117307718843222, 0.0026568775065243244, -0.025000588968396187, -0.01571526750922203, 0.01558652799576521, 0.04265172407031059, 0.010001413524150848, 0.07663312554359436, 0.05982557311654091, -0.016831260174512863, -0.056917618960142136, -0.016345305368304253, -0.008592844009399414, -0.012104978784918785, -0.01742706634104252, -0.03439038246870041, -0.034066032618284225, 0.010660046711564064, 0.029807399958372116, 0.018135609105229378, -0.06180710345506668, 0.027019668370485306, -0.03376210108399391, -0.02763093076646328, 0.0004995777271687984, 0.037338193506002426, 0.05616229027509689, 0.020867368206381798, 0.0026939623057842255, -0.030010610818862915, -0.006810173392295837, -0.00003852399458992295, 0.010945627465844154, -0.012314376421272755, 0.03684593364596367, 0.024640124291181564, 0.005826288368552923, -0.05062339827418327, -0.02615007571876049, -0.015630975365638733, -0.048763323575258255, 0.01582268625497818, 0.018061544746160507, 0.020915944129228592, -0.003851815592497587, 0.011777255684137344, 0.01834982819855213, -0.03637038171291351, 0.009466825984418392, -0.028611155226826668, -0.010446862317621708, 0.00623294897377491, -0.004559297580271959, -0.024754023179411888, 0.047849301248788834, -0.010226967744529247, 0.011577626690268517, 0.023504776880145073, 0.060121819376945496, -0.011773335747420788, 0.023452207446098328, 0.004667386878281832, 0.0008220779127441347, -0.026624059304594994, -0.04515122249722481, -0.025279711931943893, -0.025404896587133408, 0.017038270831108093, -0.016214758157730103, -0.024191495031118393, 0.039941560477018356, -0.02264644205570221, -0.003945559728890657, -0.06371501833200455, -0.011470400728285313, 0.0003340297262184322, -0.015645643696188927, -0.018118178471922874, 0.015035916119813919, 0.06665855646133423, 0.01656646840274334, -0.029673323035240173, -0.013565405271947384, -0.0005213797558099031 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
No, that was great. The next question is a follow-up on your folding laundry robot. When will AI-assisted robots be in homes everywhere? Lewis: Honest answer. I don't know. Everyone, I know who's working on robotics says this is still an extremely difficult task in the sense that robotics hasn't quite experienced the same kind of revolutions that NLP and deep learning have had. But on the other hand, you can see some pretty exciting developments in the last year, especially around the idea of being able to transfer knowledge from a simulation into the real world. I think there's hope that in my lifetime I will have a laundry-folding robot.
[ 0.09007223695516586, -0.06059599667787552, 0.09458917379379272, 0.026780737563967705, 0.09794094413518906, 0.038804762065410614, -0.013936094008386135, 0.05179116129875183, -0.06404922902584076, -0.07929263263940811, -0.09404496103525162, 0.003883147379383445, -0.005881442688405514, 0.03250553458929062, 0.003485010704025626, -0.006569272372871637, 0.02522079460322857, 0.017604023218154907, 0.008600905537605286, 0.017089301720261574, -0.07062678784132004, 0.0005321369972079992, 0.034475915133953094, 0.0004521543742157519, -0.03598250448703766, -0.06532113999128342, 0.03794719651341438, 0.018865462392568588, -0.04938994348049164, 0.016780687496066093, -0.0652497261762619, -0.019035348668694496, 0.04002372920513153, -0.02771064080297947, -0.053772326558828354, -0.018884185701608658, -0.09511444717645645, 0.047290001064538956, 0.0028638297226279974, -0.022936593741178513, 0.00041921803494915366, 0.028383655473589897, -0.04978381469845772, 0.021141162142157555, -0.019195454195141792, -0.03635668754577637, -0.1825231909751892, 0.08845852315425873, -0.0234997496008873, -0.06354738771915436, -0.0309394970536232, 0.028509819880127907, -0.014310583472251892, -0.002320563420653343, -0.03993437439203262, 0.061853718012571335, 0.0363464280962944, -0.0679730549454689, -0.025897901505231857, -0.01692945882678032, 0.04641152545809746, 0.019168667495250702, 0.042545292526483536, 0.05695418640971184, 0.031115856021642685, 0.02899886481463909, 0.04176674410700798, -0.005868362262845039, -0.07582282274961472, -0.003531393827870488, 0.04320584237575531, -0.032628532499074936, -0.0898529440164566, 0.010490017011761665, -0.0037943555507808924, -0.07006797939538956, -0.02699708752334118, 0.039177268743515015, 0.017104484140872955, -0.014190645888447762, 0.0060936626978218555, -0.02987157553434372, 0.04850884526968002, 0.03978009894490242, 0.06651218980550766, 0.0033492601942270994, 0.042925238609313965, 0.017270775511860847, -0.06064463034272194, 0.048268068581819534, 0.0010413068812340498, -0.08204712718725204, -0.03187981992959976, 0.0639907494187355, 0.06699284166097641, -0.02822568081319332, -0.0441710501909256, 0.018107278272509575, -0.010077518410980701, -0.019406398758292198, -0.033160869032144547, -0.041563812643289566, 0.042108070105314255, -0.055615078657865524, 0.014186746440827847, 0.006656022742390633, -0.015177438035607338, -0.11082460731267929, -0.042440932244062424, 0.008091568946838379, 0.007375206332653761, 0.02146579697728157, 0.06294716894626617, 0.010093031451106071, -0.05585881322622299, 0.05292534828186035, 0.03337563946843147, -0.0028177890926599503, 0.035352982580661774, 0.03245756775140762, 0.04837416857481003, 0.03898179903626442, -0.03674592450261116, 0.058731336146593094, 0.039992280304431915, -0.0003417331899981946, -0.013698248192667961, -0.004374419804662466, -0.026006178930401802, -0.08586469292640686, 0.041496988385915756, 0.022772792726755142, 0.022500164806842804, 0.012012723833322525, 0.014272581785917282, -0.03650527819991112, -0.01752980425953865, -0.013581772334873676, 0.00183164793998003, 0.0003570628468878567, -0.0709722638130188, 0.028339924290776253, 0.07231379300355911, 0.01901821978390217, 0.09545119106769562, -0.0510924868285656, -0.05286035314202309, 0.07731252908706665, -0.065526083111763, 0.019519129768013954, -0.10422597825527191, 0.03675950691103935, -0.03880723938345909, -0.06895861029624939, 0.06832128018140793, 0.07320162653923035, 0.007904186844825745, -0.010171833448112011, -0.03385855630040169, -0.008646487258374691, -0.0027826004661619663, 0.007093523163348436, -0.034562259912490845, -0.008271787315607071, 0.031695470213890076, -0.06917459517717361, 0.03705671429634094, 0.05488565191626549, 0.022708214819431305, -0.016218381002545357, -0.006837670225650072, -0.008286581374704838, 0.0946858674287796, -0.027245165780186653, -0.015222596004605293, 0.018883928656578064, 0.0160960890352726, -0.004183501936495304, 0.020856764167547226, 0.03299473226070404, -0.03025263361632824, -0.0005489314207807183, -0.019052084535360336, 0.008875983767211437, 0.07618813961744308, -0.08950959146022797, 0.018030693754553795, -0.030460823327302933, 0.03480470925569534, 0.020555641502141953, -0.023876307532191277, -0.03653184324502945, 0.0872989073395729, 0.013059357181191444, -0.006759979762136936, -0.04915839806199074, -0.02895479090511799, 0.16775892674922943, 0.005526376888155937, 0.045826829969882965, 0.07656793296337128, 0.004439026582986116, 0.029405830428004265, -0.039454832673072815, 0.027946975082159042, -0.017227213829755783, 0.0183104258030653, -0.04738767817616463, -0.0018709037685766816, 0.04133335128426552, 0.026119207963347435, -0.12326052784919739, -0.004006925504654646, -0.06273844093084335, -0.0018155917059630156, -0.01213220413774252, -0.01443498395383358, 0.051196448504924774, -0.012524407356977463, -0.03388756141066551, 0.09954359382390976, -0.0009815257508307695, -0.008587609976530075, 0.006585973314940929, 0.008168001659214497, 0.10358738154172897, 0.08587569743394852, 0.018672188743948936, 0.05003147944808006, -0.06802152097225189, -0.10937496274709702, -0.06908649206161499, -0.02968999370932579, 0.00026986232842318714, -0.044523753225803375, 0.07286563515663147, 0.010158377699553967, -0.061015985906124115, -0.053549714386463165, -0.012218562886118889, 0.015650130808353424, 0.04735574871301651, 0.08217694610357285, 0.09508738666772842, -0.019614316523075104, -0.04376302286982536, 0.08225739002227783, 0.07558779418468475, -0.04332965984940529, 0.003519312711432576, -0.09418608248233795, 0.020116018131375313, 0.028131995350122452, 0.00314121856354177, 0.05023664981126785, 0.01705612801015377, -0.005930194165557623, -0.01054379716515541, -0.027051078155636787, 0.05755333974957466, 0.003573324764147401, -0.032697923481464386, -0.01448730193078518, -0.021601727232336998, -0.020609620958566666, -0.013287030160427094, -0.01998479664325714, -0.030974945053458214, 0.004319187719374895, 0.02655741199851036, 0.01960987038910389, -0.03313804417848587, 0.03793827071785927, 0.005981651600450277, 0.013252632692456245, -0.002873932011425495, 0.053781621158123016, -0.0034688925370573997, -0.009139490313827991, -0.028710398823022842, -0.015008454211056232, -0.032796528190374374, 0.0578509159386158, -0.0016105299582704902, 0.01799856312572956, -0.03318134695291519, 0.005936610512435436, -0.0172852985560894, -0.02784312330186367, 0.06107647344470024, -0.000023049702576827258, -0.007218774873763323, -0.0029830720741301775, -0.02733834832906723, -0.05320305377244949, -0.03991428390145302, 0.017387745901942253, 0.008073714561760426, -0.022085484117269516, 0.018055209890007973, 0.02224911004304886, 0.03041846677660942, -0.03049721196293831, 0.0023656298872083426, -0.018378200009465218, -0.008061734028160572, 0.0489133857190609, 0.0054992446675896645, -0.12082019448280334, -0.050716351717710495, -0.010121863335371017, 0.025598596781492233, 0.01059005968272686, 0.029479313641786575, 0.004455128218978643, -0.021634435281157494, 0.01681496389210224, -0.0029606835450977087, 0.027959950268268585, 0.004249682184308767, 0.01339944638311863, 0.0008166586048901081, -0.005625985562801361, -0.0020239849109202623, 0.042792029678821564, -0.005423497408628464, 0.02247469685971737, 0.018137127161026, -0.031837765127420425, 0.049333542585372925, -0.04582511633634567, 0.004886722192168236, -0.05083250254392624, 0.01194760575890541, 0.018855562433600426, 0.025284504517912865, 0.033231399953365326, -0.05333252251148224, -0.0014062944101169705, -0.010381360538303852, -0.04712006822228432, 0.020685404539108276, -0.04265948012471199, -0.004907678347080946, -0.029048368334770203, 0.01600436307489872, -0.0023095738142728806, 0.04611598327755928, 0.004225276410579681, 0.00648187892511487, -0.0076137143187224865, 0.0072899386286735535, -0.016868576407432556, 0.01350609865039587, 0.004746958613395691, -0.007807417307049036, 0.02590298466384411, -0.03975909948348999, 0.012831359170377254, 0.018230823799967766, 0.02576703205704689, 0.04404165595769882, 0.019881296902894974, -0.013450496830046177, -0.009363427758216858, 0.03779358044266701, 0.012905586510896683, -0.034075796604156494, -0.012883385643362999, 0.020122339949011803, 0.02214452624320984, -0.03897443041205406, 0.016489451751112938, 0.09284289926290512, 0.01821000687777996, -0.011056401766836643, 0.00152792118024081, 0.05980454757809639, -0.008032312616705894, 0.04271608963608742, 0.0082459831610322, 0.007303635589778423, 0.0007898011244833469, 0.04519570618867874, -0.006998446770012379, -0.0138265835121274, 0.08436234295368195, 0.014482424594461918, -0.01141243427991867, -0.0330054797232151, -0.033491116017103195, -0.0390595979988575, -0.010263039730489254, -0.013558856211602688, 0.030667701736092567, -0.0029345727525651455, -0.0038048583082854748, 0.059026479721069336, -0.00693924818187952, -0.022656869143247604, 0.02042962610721588, 0.0002794945321511477, 0.009463664144277573, 0.006558030378073454, 0.0212736614048481, -0.03995753079652786, 0.01648934930562973, -0.030161626636981964, -0.008205068297684193, -0.0461437962949276, -0.04053518548607826, 0.00461571617051959, -0.0040560513734817505, 0.03799008950591087, 0.02959982305765152, -0.016143497079610825, 0.022815903648734093, 0.00036347744753584266, 0.0013492993311956525, -0.02249397709965706, 0.002983794780448079, -0.02297850511968136, 0.05395548418164253, 0.00874668825417757, 0.016742900013923645, -0.013185454532504082, -0.05027158185839653, 0.016381723806262016, -0.042808424681425095, 0.02303837426006794, -0.041106224060058594, 0.026681212708353996, 0.017269203439354897, -0.015652408823370934, -0.0014978362014517188, 0.011356506496667862, -0.009963452816009521, -0.040141791105270386, 0.01275123842060566, 0.013316410593688488, -0.009119110181927681, 0.005043904297053814, 0.013016288168728352, 0.031759921461343765, -0.030914772301912308, 0.029366912320256233, -0.04143769294023514, -0.011458713561296463, -0.0354170985519886, -0.007324043661355972, 0.020751480013132095, -0.022468246519565582, 0.014509103260934353, 0.008292114362120628, -0.014686103910207748, -0.002590389922261238, -0.01289940346032381, 0.0051769171841442585, 0.021048612892627716, 0.018934912979602814, -0.05638402700424194, 0.008289660327136517, 0.0024618005845695734, -0.01838434301316738, -0.013913821429014206, 0.06240985170006752, -0.018527941778302193, 0.01321505568921566, 0.02286006696522236, 0.03020581230521202, -0.030022675171494484, 0.04048250615596771, -0.01535717025399208, -0.00999150425195694, 0.016943003982305527, -0.04751203954219818, 0.023867467418313026, 0.015949971973896027, 0.013004496693611145, -0.024371840059757233, -0.0020881991367787123, -0.030739478766918182, 0.05134313553571701, -0.01732470840215683, 0.0060511003248393536, -0.004836952779442072, -0.004372023977339268, 0.004249634221196175, 0.02957921288907528, -0.008081898093223572, 0.025680622085928917, -0.009098329581320286, -0.05273878946900368, 0.004264515824615955, 0.07345306873321533, 0.04539437219500542, 0.00030252360738813877, -0.003729495219886303, -0.011754367500543594, 0.017520952969789505, 0.017611222341656685, -0.02070085145533085, 0.009911171160638332, 0.003392065642401576, -0.0004125938576180488, -0.0005053154891356826, -0.019048325717449188, 0.02357512339949608, 0.010376972146332264, 0.044156525284051895, -0.019580591470003128, -0.032644473016262054, 0.04826249182224274, 0.026796981692314148, -0.013895852491259575, -0.014059889130294323, 0.03454514592885971, -0.024848388507962227, -0.03244046866893768, -0.007812213618308306, -0.0412307046353817, -0.02572673000395298, -0.005670000799000263, -0.0001966155832633376, -0.008358810096979141, 0.013293901458382607, -0.007311566732823849, 0.0642167255282402, -0.007799005601555109, -0.017446011304855347, -0.00860082171857357, 0.008493947796523571, 0.043831706047058105, -0.015798138454556465, -0.009427058510482311, 0.021165207028388977, -0.018874704837799072, 0.010803267359733582, 0.041408736258745193, 0.009364322759211063, 0.012821380980312824, 0.037877898663282394, 0.017750252038240433, -0.019899815320968628, -0.026470137760043144, 0.043212488293647766, 0.01587541215121746, -0.030846262350678444, 0.03531959652900696, -0.035807546228170395, -0.014856630936264992, -0.006018069572746754, -0.06494525074958801, 0.03704304248094559, 0.08189568668603897, 0.014565781690180302, 0.018102699890732765, 0.012159752659499645, 0.03935787081718445, 0.021134506911039352, -0.03643205016851425, -0.00015960942255333066, -0.00022521511709783226, 0.04779487103223801, 0.03455647453665733, 0.00011537371756276116, 0.011964586563408375, 0.0011035397183150053, 0.003922002390027046, -0.05829162523150444, 0.004093162249773741, 0.027764150872826576, -0.012474603950977325, 0.006686209235340357, 0.01010369323194027, -0.012771251611411572, -0.0012181020574644208, 0.015467486344277859, 0.0038839676417410374, 0.03137509524822235, 0.00013480237976182252, 0.02947327122092247, 0.004902005661278963, -0.044069092720746994, 0.013988927006721497, 0.011724038980901241, -0.015384964644908905, 0.024511272087693214, 0.01828055828809738, 0.08072604984045029, 0.032286953181028366, -0.03234975039958954, -0.008805403485894203, 0.021221628412604332, 0.04406630992889404, -0.01714221201837063, 0.024315107613801956, 0.024134868755936623, 0.012289898470044136, -0.03385074809193611, -0.0029796783346682787, 0.004981407430022955, -0.012991349212825298, 0.04240657016634941, 0.008003192953765392, -0.029561828821897507, 0.012355992570519447, -0.04475696012377739, 0.005427111871540546, 0.01036375667899847, 0.0365353487432003, 0.03616209328174591, -0.007155949249863625, 0.0662192702293396, 0.04038037359714508, 0.0006931510870344937, 0.014584431424736977, -0.02758987434208393, 0.02446707896888256, 0.01932140626013279, -0.0036536313127726316, 0.03476439043879509, -0.02810492366552353, 0.015319407917559147, 0.009218299761414528, -0.02745528519153595, 0.008982734754681587, 0.031857818365097046, -0.02305135689675808, -0.029896171763539314, -0.03594531863927841, -0.018275689333677292, -0.030630864202976227, -0.02118043228983879, 0.001304214121773839, 0.03158816322684288, 0.01023377850651741, -0.03285074606537819, -0.001982645131647587, 0.05251815915107727, -0.012602544389665127, -0.001647612894885242, -0.016501376405358315, 0.006525138858705759, 0.031750306487083435, 0.04343612119555473, -0.008385555818676949, -0.04957498982548714, -0.024296533316373825, -0.006406307686120272, -0.012121591717004776, 0.0018608146347105503, -0.040543995797634125, -0.024800270795822144, 0.029646312817931175, 0.029368432238698006, -0.008256052620708942, 0.02610122039914131, 0.0038150111213326454, 0.0163271464407444, -0.016751114279031754, 0.020155757665634155, -0.03460785374045372, -0.005174937658011913, -0.02785557694733143, -0.052329789847135544, -0.004271287936717272, -0.01684127002954483, 0.017014898359775543, 0.01765972375869751, 0.04679301381111145, -0.029358062893152237, 0.010787581093609333, 0.011954461224377155, 0.004653510171920061, -0.001410766621120274, -0.03420758992433548, 0.0462748259305954, 0.004986897110939026, 0.041428763419389725, 0.02748497575521469, 0.0041016158647835255, -0.02566489763557911, -0.02889564260840416, 0.016323881223797798, -0.02607455849647522, -0.02637960948050022, 0.00425633043050766, 0.06523889303207397, -0.020736753940582275, 0.01063446793705225, 0.05116068944334984, -0.0061252536252141, -0.0006117149023339152, -0.04522928595542908, -0.00533817894756794, -0.004560647066682577, 0.0013781553134322166, -0.0026662254240363836, -0.049676306545734406, -0.01308012567460537, 0.004481641575694084, -0.009926608763635159, -0.008316895924508572, -0.03140479698777199, -0.03471214696764946, 0.0058450945653021336, 0.0013790079392492771, -0.03171239420771599, 0.006086769513785839, 0.06350906938314438, -0.015386535786092281, -0.002064695581793785, -0.023776207119226456, 0.014937692321836948, -0.013873880729079247, 0.02976219728589058, 0.010184081271290779, -0.0028204049449414015, 0.020354602485895157, -0.03786902874708176, -0.0327741876244545, -0.028354885056614876, -0.037650905549526215, -0.031789351254701614, -0.033541157841682434, 0.04458829015493393, -0.014781372621655464, -0.006992814131081104, 0.013625540770590305, -0.01602082885801792, -0.022410700097680092, 0.0108877532184124, -0.024012316018342972, -0.03790722414851189, 0.00542586762458086, -0.0068230461329221725, -0.06771940737962723, -0.028156399726867676, -0.0326400101184845, 0.005203563254326582, 0.07949444651603699, 0.049150608479976654, -0.011286304332315922, -0.020460937172174454, -0.041937701404094696, 0.04858521372079849, -0.016459906473755836, -0.0375470295548439, -0.036359626799821854, -0.011593946255743504, 0.024629466235637665, -0.007176860701292753, -0.02938811480998993, 0.046190258115530014, 0.0024072921369224787, -0.004115650430321693, -0.007308086846023798, 0.0015356560470536351, 0.042369164526462555, 0.015231872908771038, 0.025541801005601883, 0.009403110481798649, 0.05071612074971199, 0.03640753775835037, -0.024792401120066643, 0.00431260047480464, 0.011278259567916393 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
I love it. Well, it looks absolutely amazing. A lot of these types of books tend to be quite dry and technical and this one reads almost like a novel mixed with great applicable technical information, which is beautiful. Lewis: Thanks. Yeah, that’s one thing we realized afterward because it was the first time we were writing a book we thought we should be sort of serious, right? But if you sort of know me I'm like never really serious about anything. And in hindsight, we should have been even more silly in the book. I had to control my humor in various places but maybe there'll be a second edition one day and then we can just inject it with memes.
[ 0.09449128061532974, 0.024283774197101593, 0.045021139085292816, 0.006434581242501736, 0.10074038058519363, -0.035912517458200455, -0.013198557309806347, 0.0636046752333641, -0.03583179786801338, -0.029258232563734055, -0.04919283092021942, 0.01941429264843464, 0.009647982195019722, -0.019600456580519676, -0.01438988745212555, 0.07201656699180603, 0.015411272644996643, -0.025015808641910553, -0.010551306419074535, -0.0072310250252485275, -0.051368143409490585, 0.021610789000988007, 0.018717274069786072, -0.0224545169621706, -0.014747059904038906, -0.017696188762784004, 0.014139598235487938, -0.03899798542261124, -0.06920451670885086, 0.005581078119575977, -0.028281716629862785, -0.05692584440112114, -0.029647059738636017, 0.006298736669123173, -0.07944643497467041, -0.03464285656809807, -0.0895945280790329, 0.024297984316945076, -0.015011502429842949, -0.002154485322535038, 0.06749795377254486, -0.012228441424667835, -0.021636787801980972, 0.005830627400428057, -0.06451599299907684, 0.0013545672409236431, -0.2564363479614258, 0.07998731732368469, -0.08164028078317642, -0.07357711344957352, -0.06550218164920807, 0.0018887065816670656, 0.03761143982410431, 0.028007371351122856, 0.028119178488850594, 0.06462632864713669, -0.018882103264331818, 0.015233870595693588, 0.032892655581235886, -0.022220240905880928, 0.030605442821979523, 0.034731425344944, -0.020805124193429947, -0.030427392572164536, 0.045725323259830475, -0.03393163904547691, -0.006218848284333944, 0.021323882043361664, -0.047744352370500565, 0.02189553901553154, 0.025050120428204536, -0.03530535101890564, -0.021732859313488007, -0.03891637548804283, 0.01206920575350523, -0.03610784187912941, 0.026646146550774574, 0.07653152197599411, 0.05355662479996681, -0.026249952614307404, -0.031957171857357025, 0.02471347153186798, 0.0837983563542366, 0.1393480747938156, -0.05906069278717041, 0.014418707229197025, 0.09521397948265076, 0.038207706063985825, -0.04609682038426399, -0.0033899026457220316, -0.003612471977248788, -0.08999893814325333, -0.0008417039061896503, 0.010596060194075108, 0.08421917259693146, -0.034987129271030426, -0.001237017335370183, -0.044418953359127045, 0.035984426736831665, 0.004658636171370745, 0.03449922055006027, -0.015443620271980762, 0.03949740529060364, -0.02717580460011959, -0.05350269004702568, 0.008121083490550518, 0.024748781695961952, -0.050599172711372375, -0.023286134004592896, 0.04436201974749565, -0.02098279818892479, 0.0021823146380484104, 0.008720612153410912, -0.018350528553128242, -0.05491054803133011, 0.0828004702925682, 0.02277742512524128, -0.014032654464244843, 0.011893242597579956, 0.027577105909585953, -0.012404359877109528, 0.05330841988325119, 0.0785258337855339, 0.023978600278496742, 0.03570207208395004, -0.007546786684542894, -0.03561170771718025, 0.05389426648616791, -0.05582364276051521, -0.026383381336927414, 0.05406935513019562, 0.02761872485280037, 0.015193911269307137, -0.018654141575098038, -0.06293534487485886, -0.005606962367892265, -0.007252941373735666, 0.002810962963849306, 0.02467837557196617, 0.037342458963394165, 0.003519451944157481, 0.00581177556887269, -0.002573116449639201, 0.10428949445486069, 0.007397727109491825, -0.024079279974102974, -0.02256179228425026, -0.042221471667289734, -0.04193655401468277, -0.0008519861148670316, -0.010148127563297749, 0.05861467868089676, -0.045456647872924805, -0.05595097690820694, -0.010573475621640682, 0.014835023321211338, -0.03541804850101471, 0.008640068583190441, -0.013945740647614002, -0.037078384310007095, 0.09659556299448013, -0.026768891140818596, -0.018831932917237282, -0.03437499701976776, 0.04612131789326668, -0.06718442589044571, 0.01609080098569393, -0.02119206078350544, -0.04316846281290054, -0.09548953175544739, -0.012512504123151302, -0.021381905302405357, 0.0845685675740242, -0.0038894929457455873, -0.02200211025774479, 0.06430192291736603, 0.09891176223754883, 0.015632610768079758, 0.02094455063343048, 0.020714545622467995, -0.048699695616960526, 0.021867694333195686, 0.003878565737977624, 0.020607322454452515, -0.018361112102866173, -0.03070850484073162, -0.017134370282292366, 0.02838941663503647, -0.03811437264084816, 0.002549924422055483, -0.10362718254327774, -0.0354798398911953, 0.1210218295454979, 0.03855866566300392, 0.05016117915511131, -0.10277971625328064, -0.09536105394363403, 0.085716113448143, 0.022167040035128593, -0.015626240521669388, 0.10251236706972122, 0.01430445909500122, 0.11430446803569794, -0.02847304567694664, -0.0007759576546959579, 0.004735957365483046, 0.06872844696044922, 0.005327132530510426, 0.03826596215367317, -0.04779024422168732, 0.032760076224803925, -0.0786520466208458, 0.007992078550159931, -0.02272549457848072, -0.030573835596442223, -0.02977818436920643, 0.0031867793295532465, -0.006287474650889635, 0.00884152203798294, -0.04288836941123009, 0.07696831226348877, 0.04210204631090164, -0.011352190747857094, -0.005608127452433109, -0.0008820804068818688, 0.07016053050756454, 0.0589679554104805, 0.000977992662228644, 0.07063551247119904, -0.08801519125699997, -0.08389589190483093, -0.012312897481024265, -0.038021691143512726, 0.014501888304948807, -0.02100636437535286, 0.070655956864357, -0.028699547052383423, -0.032361287623643875, 0.0007752784295007586, -0.09037770330905914, 0.033367667347192764, -0.08541691303253174, -0.01074142474681139, 0.08744983375072479, -0.05187142640352249, -0.053246840834617615, 0.040381357073783875, 0.02042032778263092, -0.05009806156158447, 0.004141534212976694, -0.03943963348865509, 0.07838691025972366, 0.005061018746346235, -0.003259093966335058, 0.013601511716842651, -0.00920786801725626, 0.0035572184715420008, -0.028715308755636215, 0.004013276658952236, 0.02197284623980522, -0.018808556720614433, -0.018198199570178986, -0.012090014293789864, -0.04815475642681122, 0.01027892716228962, 0.002232856350019574, 0.010575332678854465, -0.02772575430572033, 0.017608944326639175, 0.03334099426865578, 0.018245898187160492, 0.020953383296728134, 0.06673426181077957, 0.03348967432975769, 0.009647921659052372, -0.021870747208595276, 0.01196456328034401, -0.0033260362688452005, -0.011849207803606987, -0.04154813289642334, -0.03571481257677078, 0.011328139342367649, 0.0316176563501358, 0.004174167290329933, 0.04591973498463631, -0.032294899225234985, 0.021045900881290436, -0.02145533077418804, -0.0522749200463295, 0.03406979516148567, -0.013284733518958092, 0.006697413511574268, 0.012979667633771896, -0.03274271637201309, -0.026829654350876808, -0.012944289483129978, 0.006385179702192545, -0.007028455846011639, -0.05897904559969902, 0.014520527794957161, 0.049472033977508545, 0.01496880128979683, 0.010284309275448322, 0.05184127762913704, -0.0031297518871724606, 0.03129373490810394, 0.03623155131936073, 0.017912810668349266, -0.12657317519187927, -0.04524107649922371, 0.023609383031725883, 0.008082911372184753, 0.0016251616179943085, -0.015069624409079552, 0.04053858295083046, -0.01290892530232668, -0.021279873326420784, -0.06009930372238159, -0.007093702908605337, 0.00022009998792782426, 0.009081303142011166, -0.03429627791047096, 0.02011791802942753, -0.0018748992588371038, -0.002340530278161168, 0.0037202080711722374, -0.00773677509278059, 0.024767301976680756, -0.02539192885160446, 0.019572405144572258, -0.0006549052777700126, -0.03177051991224289, -0.0217889454215765, 0.03057587519288063, -0.01392841711640358, 0.052518170326948166, 0.07073220610618591, -0.002134336857125163, -0.032281506806612015, 0.016246743500232697, -0.006745588034391403, 0.01195619348436594, 0.011870922520756721, -0.007265585474669933, 0.04720475524663925, -0.02245260961353779, -0.014932528138160706, 0.05995900556445122, -0.024828167632222176, 0.00571481604129076, -0.009138062596321106, -0.005062314216047525, -0.012474012561142445, 0.019618431106209755, -0.0013744006864726543, -0.013311745598912239, 0.03739583492279053, -0.05063161253929138, -0.03030485101044178, 0.017400451004505157, -0.043629370629787445, 0.02208683080971241, -0.017966359853744507, 0.004636125173419714, -0.012742938473820686, 0.056001611053943634, 0.02734970487654209, -0.03673549368977547, -0.0010973805328831077, 0.017268210649490356, 0.0040041739121079445, 0.02086450532078743, 0.002943379571661353, 0.013099211268126965, -0.04867776855826378, -0.02897501550614834, -0.04417269676923752, 0.03544172644615173, 0.024017689749598503, 0.0003530120593495667, 0.02179395966231823, 0.001698742969892919, 0.026022570207715034, -0.000015372168491012417, -0.045468296855688095, 0.011673947796225548, 0.06604703515768051, 0.00673288106918335, -0.026946136727929115, -0.022048817947506905, -0.03384426236152649, -0.011421075090765953, 0.004426175262778997, 0.008100427687168121, 0.009829065762460232, -0.009064032696187496, -0.016161924228072166, 0.060078468173742294, 0.014870923012495041, 0.014419055543839931, 0.004517232533544302, 0.036221981048583984, 0.028892476111650467, -0.005981234833598137, 0.028298238292336464, 0.02294282056391239, 0.04754586145281792, 0.0150224007666111, 0.04471423849463463, 0.0024850161280483007, -0.01616181991994381, 0.044921230524778366, -0.010508976876735687, 0.014174415729939938, -0.025344273075461388, -0.020627595484256744, -0.0024926508776843548, 0.007419985719025135, 0.051833778619766235, -0.04508952796459198, 0.012651225551962852, -0.040297918021678925, -0.003049989230930805, -0.003473523771390319, 0.03888685628771782, -0.015260381624102592, -0.04053640738129616, 0.002523596864193678, -0.029306188225746155, 0.010002215392887592, 0.031225718557834625, -0.02527490071952343, -0.04315857216715813, -0.0006153059075586498, -0.0021386395674198866, -0.02484060265123844, 0.04924724996089935, -0.0008166177431121469, -0.0139003936201334, -0.06152898818254471, 0.026589784771203995, 0.01878119818866253, 0.000325668603181839, 0.0258814487606287, 0.009325715713202953, 0.0734395906329155, -0.029024528339505196, -0.038959186524152756, -0.012444030493497849, -0.0344184935092926, 0.014905227348208427, 0.031255967915058136, 0.011983402073383331, -0.025538619607686996, -0.0025187276769429445, 0.0032076092902570963, 0.03113563172519207, 0.04053804278373718, 0.013659421354532242, 0.03903024271130562, -0.029238300397992134, 0.00044485408579930663, -0.04580162838101387, 0.06360211223363876, -0.011164953000843525, 0.008380093611776829, -0.035044025629758835, 0.04489479586482048, -0.0088149793446064, 0.042901527136564255, -0.03614076226949692, 0.029293255880475044, -0.0034030871465802193, 0.02427791990339756, -0.007478663232177496, -0.01510421559214592, -0.0017468550940975547, -0.003913002088665962, 0.004958756733685732, -0.02213127166032791, -0.006332337390631437, 0.012898614630103111, 0.022215228527784348, 0.007401323411613703, 0.01878867670893669, 0.032118700444698334, 0.017753928899765015, 0.016842138022184372, 0.00281425379216671, -0.00656041968613863, -0.0016550454311072826, -0.018987532705068588, -0.03441712632775307, 0.014175379648804665, 0.041881609708070755, 0.01156846433877945, 0.005547661799937487, 0.041998255997896194, -0.006683172658085823, 0.01704002544283867, -0.013437733985483646, -0.01206116657704115, 0.016976650804281235, 0.01589442975819111, 0.03131472319364548, -0.02544006146490574, 0.005785705056041479, 0.035426873713731766, 0.03777487576007843, 0.023706097155809402, -0.01675605960190296, -0.004288605414330959, 0.035352565348148346, 0.01072547398507595, -0.0009271082235500216, -0.025104010477662086, 0.02929108776152134, 0.014569149352610111, 0.0040839980356395245, 0.008455989882349968, -0.029978735372424126, -0.01721024140715599, 0.006682258099317551, -0.012249341234564781, -0.0403841957449913, 0.003313286928460002, 0.017844077199697495, 0.045382309705019, 0.05227528139948845, 0.006393300369381905, -0.05837147310376167, 0.026720991358160973, 0.02700694464147091, -0.018865346908569336, -0.00571970222517848, 0.03005100041627884, 0.0028681145049631596, -0.009457873180508614, 0.0420864000916481, 0.06838510930538177, 0.03020881675183773, 0.018680332228541374, 0.010284008458256721, -0.0015417815884575248, -0.04816555231809616, 0.018588174134492874, 0.0037726792506873608, -0.0003904856275767088, 0.005780954845249653, -0.030252045020461082, -0.004731223918497562, 0.009182305075228214, -0.03231104835867882, 0.00972692295908928, 0.034865617752075195, -0.004693116992712021, 0.0018112119287252426, -0.018832700327038765, 0.04026114195585251, -0.011350509710609913, 0.018899010494351387, 0.02066160924732685, 0.02234547957777977, 0.015159210190176964, 0.022991085425019264, -0.031753309071063995, -0.03834628686308861, -0.02724555879831314, 0.022526336833834648, -0.004645337350666523, 0.012636778876185417, 0.0022003811318427324, -0.0053437864407896996, 0.025940101593732834, 0.05567212030291557, -0.0171170886605978, -0.009351938962936401, 0.020712461322546005, -0.01636706106364727, 0.0019596072379499674, 0.003929430618882179, 0.01545130368322134, -0.002296989783644676, -0.0614413246512413, 0.03674155846238136, 0.029936563223600388, 0.008539960719645023, 0.016239257529377937, 0.02639663964509964, 0.06779157370328903, 0.03547165170311928, 0.01547494437545538, -0.029086189344525337, 0.02818954735994339, 0.04802144691348076, -0.018226034939289093, 0.06223737448453903, 0.011819002218544483, -0.02656855806708336, -0.011743166483938694, 0.0131469015032053, 0.011378530412912369, -0.025300323963165283, 0.009973245672881603, 0.012331178411841393, -0.00614515645429492, 0.027617504820227623, -0.037254028022289276, 0.025377750396728516, -0.015636615455150604, 0.023801332339644432, 0.01665257290005684, 0.03203762695193291, -0.009439727291464806, 0.009685865603387356, -0.02534635178744793, 0.0053281961008906364, -0.018786368891596794, -0.01569867692887783, 0.0334179662168026, -0.03448837250471115, 0.02952762320637703, -0.00972339604049921, -0.03903735429048538, 0.023863866925239563, 0.027448900043964386, 0.0068268305622041225, -0.021014532074332237, 0.03744163364171982, -0.02374834567308426, -0.028396936133503914, -0.051867879927158356, -0.014888763427734375, -0.06709957867860794, 0.009072506800293922, 0.008727299980819225, -0.026883943006396294, -0.027614330872893333, 0.031456269323825836, 0.02984398417174816, 0.014742766506969929, 0.015236393548548222, -0.01739034801721573, 0.023172792047262192, 0.01385253295302391, 0.005131801590323448, -0.03854253888130188, 0.015112695284187794, -0.004914143122732639, -0.009541629813611507, -0.011487186886370182, 0.027488630264997482, -0.024095963686704636, 0.01144592184573412, -0.0024679512716829777, 0.010857755318284035, -0.070854052901268, -0.0038376301527023315, 0.0025815805420279503, 0.018736395984888077, -0.004300623666495085, 0.0067915720865130424, 0.018304839730262756, -0.03194307163357735, -0.04193578660488129, -0.022280937060713768, -0.006686015985906124, 0.006350694689899683, -0.0027852465864270926, 0.026706570759415627, 0.020881908014416695, -0.03234245628118515, -0.03863392770290375, 0.019649235531687737, -0.012380612082779408, -0.00908823125064373, -0.011823863722383976, 0.02184145152568817, -0.029985737055540085, -0.0061355046927928925, 0.0008146481122821569, -0.041974663734436035, -0.02642781473696232, -0.00992526113986969, -0.019108619540929794, -0.0010026592062786222, -0.009619555436074734, -0.013038570061326027, 0.05446186289191246, 0.019804228097200394, 0.0021138291340321302, 0.035497575998306274, 0.01571669615805149, -0.02719215862452984, -0.034919846802949905, 0.013668752275407314, 0.031899407505989075, 0.024347856640815735, -0.009763969108462334, -0.04267328232526779, -0.04877559095621109, -0.03511161729693413, -0.008979910053312778, -0.02121666818857193, 0.0077205742709338665, -0.014914898201823235, -0.02792162448167801, -0.01822853833436966, -0.01927347108721733, 0.02128027379512787, 0.0544455349445343, 0.0004824040224775672, -0.0208501648157835, -0.025311870500445366, 0.01439663302153349, -0.011521208100020885, 0.026308290660381317, -0.031561870127916336, 0.017550263553857803, 0.05419738590717316, -0.0025535644963383675, -0.024765562266111374, 0.0015508715296164155, -0.06135202944278717, -0.056984949856996536, -0.00532595394179225, 0.04946175590157509, -0.03774978220462799, 0.003399825422093272, -0.016588110476732254, -0.02024112083017826, 0.010234403423964977, 0.02883594110608101, 0.014489584602415562, -0.024768484756350517, 0.02158856950700283, 0.04699375107884407, -0.03609713166952133, 0.03790497034788132, -0.01999528519809246, 0.014984438195824623, 0.07913211733102798, 0.0573279894888401, -0.014685048721730709, 0.021320926025509834, 0.011318524368107319, -0.028287146240472794, 0.010355973616242409, -0.045419879257678986, 0.0001729081996018067, -0.009743639267981052, -0.0029087436851114035, -0.02611352689564228, -0.020374083891510963, 0.022568389773368835, 0.013992054387927055, 0.004116618540138006, -0.03491087257862091, 0.03656286001205444, -0.029753699898719788, -0.013573735021054745, 0.06271634250879288, 0.03396560996770859, 0.04488375410437584, 0.029328327625989914, -0.006777175702154636, 0.042845260351896286, 0.008328039199113846 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
What are some common mistakes machine learning engineers or teams make? Lewis: I can maybe tell you the ones that I've done. Probably a good representative of the rest of the things. So I think the biggest lesson I learned when I was starting out in the field is using baseline models when starting out. It’s a common problem that I did and then later saw other junior engineers doing is reaching for the fanciest state-of-the-art model. Although that may work, a lot of the time what happens is you introduce a lot of complexity into the problem and your state-of-the-art model may have a bug and you won't really know how to fix it because the model is so complex. It’s a very common pattern in industry and especially within NLP is that you can actually get quite far with regular expressions and linear models like logistic regression and these kinds of things will give you a good start. Then if you can build a better model then great, you should do that, but it's great to have a reference point. And then I think the second big lesson I’ve learned from building a lot of projects is that you can get a bit obsessed with the modeling part of the problem because that's the exciting bit when you're doing machine learning but there's this whole ecosystem. Especially if you work in a large company there'll be this whole ecosystem of services and things that are around your application. So the lesson there is you should really try to build something end to end that maybe doesn't even have any machine learning at all. But it's the scaffolding upon which you can build the rest of the system because you could spend all this time training an awesome mode, and then you go, oh, oops. It doesn't integrate with the requirements we have in our application. And then you've wasted all this time.
[ 0.04225200042128563, -0.01674518920481205, -0.014496145769953728, 0.03223254531621933, 0.04457747936248779, 0.013189340010285378, 0.014305014163255692, 0.0006489600636996329, 0.016669459640979767, -0.00269890995696187, -0.07252765446901321, 0.05306791886687279, 0.004115470219403505, 0.038778744637966156, -0.006084532011300325, -0.015389801934361458, 0.012357022613286972, -0.000012354954378679395, 0.022410565987229347, -0.01621665246784687, 0.012313119135797024, 0.011853174306452274, 0.04329496622085571, 0.0005676787113770843, -0.00851783063262701, -0.0505216158926487, -0.0370173417031765, -0.014412135817110538, -0.03841422498226166, 0.029461996629834175, -0.05372867360711098, -0.005828431341797113, -0.0321231484413147, 0.038604091852903366, -0.051357537508010864, -0.013315277174115181, -0.06783800572156906, 0.06830886006355286, 0.036736030131578445, -0.036039337515830994, 0.02048119343817234, -0.0018478831043466926, -0.10723604261875153, 0.03244995325803757, -0.0005157856503501534, -0.05755143240094185, -0.177326500415802, 0.012351715005934238, -0.040779996663331985, -0.06205408647656441, -0.11059693247079849, 0.07616717368364334, -0.039622727781534195, -0.013693412765860558, -0.04286811500787735, -0.012285895645618439, 0.07784384489059448, -0.07160364836454391, -0.019727230072021484, 0.04944590479135513, 0.025708045810461044, 0.031927332282066345, 0.026055701076984406, -0.026228902861475945, -0.0043177613988518715, -0.02095252461731434, 0.0643758699297905, -0.02516627497971058, -0.09369542449712753, 0.00030112554668448865, 0.07234904915094376, -0.09070304781198502, -0.026591800153255463, -0.036202963441610336, 0.024253206327557564, -0.056844163686037064, 0.0697774887084961, 0.057809244841337204, -0.03909625485539436, 0.02709195576608181, 0.04691128060221672, 0.04899758845567703, 0.05310811474919319, 0.05850034952163696, 0.016439059749245644, 0.03746042400598526, 0.019831862300634384, 0.006995892617851496, -0.039265815168619156, 0.1015123799443245, 0.04153376445174217, -0.11180051416158676, -0.016641266644001007, 0.039961077272892, 0.042789895087480545, -0.026125360280275345, 0.002045989967882633, 0.015793748199939728, -0.03297943249344826, -0.020691867917776108, -0.08189709484577179, -0.029552742838859558, 0.029342109337449074, 0.009446660056710243, -0.07872002571821213, 0.05091268941760063, 0.003238147357478738, -0.06742466241121292, -0.041759662330150604, 0.0405084528028965, -0.05514601245522499, 0.00036685026134364307, -0.02787715196609497, 0.042779337614774704, -0.07341630011796951, 0.05503786355257034, 0.034657642245292664, 0.0040852902457118034, 0.016839589923620224, 0.02871687524020672, 0.026218680664896965, 0.04957227408885956, -0.005850173532962799, -0.026009317487478256, -0.03514394536614418, 0.07459458708763123, 0.03347785770893097, 0.007610661908984184, 0.0501118004322052, -0.06701434403657913, 0.016434863209724426, 0.029827898368239403, -0.004535271320492029, 0.0210969727486372, 0.044237032532691956, -0.09037402272224426, 0.04714583605527878, -0.04165981337428093, 0.02837078832089901, 0.022118540480732918, -0.12386806309223175, 0.02014724351465702, 0.00831024069339037, 0.07281109690666199, 0.06179196015000343, -0.005292603746056557, -0.03484474495053291, 0.017427140846848488, 0.06514395773410797, 0.022956373170018196, -0.06498590856790543, 0.06365660578012466, -0.06391417980194092, -0.08110976219177246, 0.030353162437677383, 0.0907098576426506, -0.05731598287820816, -0.02361893653869629, 0.025639081373810768, 0.00033092309604398906, -0.0301193930208683, -0.003431926714256406, -0.020353851839900017, 0.07194666564464569, 0.06650391221046448, -0.049468375742435455, -0.01634790189564228, 0.010958394035696983, -0.020510384812951088, 0.08932895958423615, 0.0076720272190868855, -0.042319405823946, 0.04620373249053955, -0.023679587990045547, 0.027635006234049797, 0.015161472372710705, -0.02320079505443573, 0.036757953464984894, -0.020994361490011215, 0.02469361573457718, -0.018846750259399414, 0.06022082269191742, -0.015880029648542404, 0.03095296211540699, 0.024961059913039207, -0.032045427709817886, -0.0015712333843111992, -0.023287098854780197, -0.019667869433760643, -0.0002164433099096641, -0.03889591619372368, 0.0025828168727457523, 0.09302985668182373, -0.002211642451584339, 0.016077902168035507, -0.06325895339250565, -0.01313822716474533, 0.12885479629039764, 0.028054650872945786, 0.040839724242687225, 0.057890634983778, 0.005535399075597525, -0.02466391585767269, -0.03896153345704079, 0.042013801634311676, 0.02561057172715664, 0.01854284666478634, -0.053547631949186325, -0.00481391279026866, 0.06593716144561768, 0.05140310898423195, -0.08903595060110092, -0.014895515516400337, -0.06383199989795685, 0.0025810953229665756, -0.03679802268743515, 0.04852497577667236, -0.016824714839458466, 0.03200015053153038, -0.027841975912451744, 0.16447791457176208, 0.0008992617949843407, 0.004435312934219837, 0.05913762375712395, 0.004927842412143946, 0.0003723368572536856, 0.05574802681803703, 0.07584129273891449, 0.11117168515920639, -0.07412945479154587, -0.045756641775369644, -0.05719655007123947, 0.022573763504624367, 0.0008392921299673617, -0.027713559567928314, 0.018202153965830803, -0.0018940422451123595, 0.013292425312101841, -0.03522737696766853, -0.019357768818736076, 0.002492200816050172, -0.01548985205590725, -0.06355831027030945, 0.06342966854572296, -0.034831512719392776, -0.027043987065553665, 0.09225830435752869, -0.044529080390930176, -0.030180254951119423, 0.02766718529164791, -0.022154733538627625, 0.016248157247900963, 0.004709276370704174, 0.012662001885473728, -0.04302169382572174, 0.011158878915011883, -0.0036654414143413305, 0.01229709479957819, -0.011184982024133205, 0.0027321591041982174, -0.005843774415552616, -0.012557948008179665, 0.010016295127570629, -0.03730356693267822, 0.02895481511950493, -0.035156819969415665, -0.02006610855460167, -0.01367028895765543, 0.02219085395336151, 0.013777722604572773, 0.044989053159952164, -0.022749030962586403, 0.05559830740094185, 0.024624153971672058, -0.03994910791516304, 0.01755467616021633, -0.01358732394874096, -0.06283442676067352, -0.015459607355296612, -0.034125812351703644, 0.0176457017660141, -0.056001633405685425, 0.05184151604771614, 0.022642025724053383, 0.01173205766826868, -0.01009934302419424, -0.012529007159173489, -0.0020468903239816427, -0.021119816228747368, 0.008068196475505829, 0.015374405309557915, 0.035887885838747025, -0.030926937237381935, -0.02948145940899849, 0.011606705375015736, 0.022775545716285706, 0.01618841104209423, -0.0040965452790260315, -0.0019478527829051018, -0.0021671918220818043, -0.036630384624004364, 0.03785119205713272, -0.001107744756154716, -0.03907068446278572, -0.023113928735256195, 0.02484373189508915, 0.04259035736322403, 0.017413221299648285, -0.10106246918439865, -0.015583831816911697, 0.017270687967538834, 0.010806949809193611, 0.008492623455822468, -0.018543433398008347, 0.026532940566539764, 0.012600500136613846, -0.007138513028621674, 0.0007375601562671363, -0.03043242171406746, 0.022383416071534157, -0.004890775308012962, 0.04513062164187431, 0.02655171975493431, -0.006412988994270563, -0.016586562618613243, -0.02809491567313671, 0.06924837082624435, 0.04334992542862892, -0.033636320382356644, 0.09267745167016983, 0.031754523515701294, 0.008283059112727642, -0.03342805802822113, 0.03600652143359184, 0.004636455327272415, 0.03728754073381424, -0.0005667314399033785, -0.030132276937365532, 0.0009406002354808152, -0.0047483607195317745, -0.08246690779924393, -0.00441638333722949, -0.033911384642124176, 0.0015658611664548516, 0.0171216893941164, 0.025913681834936142, 0.04337291046977043, 0.04507560282945633, 0.0028480305336415768, -0.006967438384890556, 0.01214875839650631, -0.01968184858560562, 0.007431027013808489, -0.005031237844377756, -0.04447237029671669, 0.0029743642080575228, 0.02038559317588806, -0.03622620552778244, -0.0024924580939114094, -0.03668258711695671, 0.020969389006495476, 0.03786955028772354, 0.03138825669884682, -0.008225828409194946, 0.021899651736021042, 0.013560852035880089, -0.021123947575688362, 0.011581729166209698, -0.018502842634916306, 0.04611620306968689, 0.0031292159110307693, -0.033879220485687256, -0.027759937569499016, -0.00007981191447470337, 0.028065409511327744, 0.004027919843792915, 0.00520792743191123, -0.01234342809766531, 0.03393298014998436, -0.008763599209487438, 0.034579481929540634, 0.00609067315235734, -0.018173161894083023, 0.0024490314535796642, 0.015554603189229965, 0.015280846506357193, 0.09088996797800064, 0.02753080613911152, -0.05081155523657799, -0.022914430126547813, -0.02929277904331684, -0.03927207738161087, 0.009757773950695992, -0.017765378579497337, 0.04724932089447975, -0.01764192432165146, -0.0008856412605382502, 0.01675969734787941, 0.006405448075383902, -0.04187575727701187, 0.023347429931163788, -0.006986077409237623, 0.005946877878159285, -0.0041914754547178745, 0.01876164600253105, 0.013651683926582336, 0.003287398489192128, -0.034843627363443375, 0.03823484852910042, -0.04523412883281708, -0.007313977926969528, -0.014237776398658752, 0.02045735903084278, 0.00663868710398674, -0.0248094592243433, -0.032162681221961975, 0.02342919632792473, -0.02829122170805931, 0.0363556332886219, 0.017789600417017937, 0.028559058904647827, -0.022113151848316193, 0.04382365569472313, 0.048823826014995575, -0.007192793767899275, 0.0228992011398077, -0.012567471712827682, 0.012791461311280727, -0.030357148498296738, -0.0018419371917843819, -0.030214861035346985, -0.011028164997696877, 0.04776769131422043, -0.015534910373389721, 0.034711647778749466, 0.0008860038942657411, 0.009086260572075844, -0.0097464919090271, 0.0027742553502321243, 0.027502326294779778, 0.03911351412534714, -0.00074487563688308, 0.020644115284085274, 0.0006420973804779351, 0.0016238557873293757, 0.033087946474552155, -0.00219071377068758, -0.05559895932674408, 0.05110349878668785, 0.013026147149503231, 0.02929775044322014, -0.0552794486284256, 0.015325317159295082, -0.03901701793074608, -0.027123255655169487, -0.036975614726543427, -0.007368665654212236, 0.013762381859123707, 0.018332380801439285, 0.006321618799120188, -0.03267376497387886, -0.011034904979169369, -0.01563173346221447, -0.053421229124069214, -0.014976232312619686, -0.0007481278735212982, -0.022067703306674957, 0.035810962319374084, -0.016597164794802666, -0.005574398208409548, -0.02944815158843994, 0.000019463701391941868, 0.03210010379552841, -0.00164987042080611, 0.018118055537343025, -0.054742440581321716, -0.004944080486893654, -0.026486476883292198, 0.003297114046290517, -0.009367566555738449, -0.008016877807676792, -0.037695351988077164, -0.004110714420676231, -0.017775079235434532, 0.028893692418932915, -0.012267107143998146, -0.01888723485171795, 0.011686180718243122, -0.025796543806791306, 0.023314032703638077, 0.02469033934175968, -0.0010242392309010029, -0.002609439892694354, 0.01409256923943758, 0.04468829184770584, 0.05263634771108627, -0.005978136323392391, 0.007544508203864098, -0.0011200171429663897, -0.0008705562213435769, 0.052083972841501236, -0.03457902371883392, -0.0009293632465414703, 0.012003987096250057, 0.03233291208744049, 0.01033778116106987, -0.03898818790912628, -0.04277518764138222, -0.003393523395061493, 0.019454482942819595, 0.024316495284438133, -0.04966941475868225, 0.02705061063170433, -0.02820948325097561, -0.02740802988409996, -0.03272885084152222, 0.03300171718001366, -0.005947646219283342, -0.008028436452150345, -0.03168394789099693, -0.0048061576671898365, -0.018642695620656013, -0.0028862294275313616, -0.011211324483156204, -0.016850266605615616, 0.05044419318437576, 0.04888727143406868, 0.03174937888979912, -0.016454048454761505, -0.014404378831386566, -0.04068891331553459, -0.02054927684366703, 0.021730776876211166, -0.028419189155101776, -0.019419346004724503, 0.01946292631328106, 0.03614215925335884, 0.0037895392160862684, 0.0062020402401685715, 0.020743707194924355, 0.027225393801927567, 0.0723082646727562, 0.002801039721816778, -0.022053183987736702, -0.017262691631913185, 0.06575562804937363, 0.048400964587926865, -0.04265286400914192, -0.022221829742193222, -0.015873385593295097, -0.05801656097173691, 0.025880586355924606, -0.01889467053115368, 0.0015206170501187444, 0.029332360252738, -0.033560462296009064, -0.015343774110078812, 0.008625942282378674, 0.042851291596889496, 0.012671361677348614, 0.024154648184776306, 0.04116487875580788, 0.01967567205429077, 0.03540094941854477, 0.04752641171216965, -0.009996267035603523, -0.02401428297162056, -0.003808960784226656, 0.010534209199249744, -0.06785373389720917, 0.001725211157463491, -0.026739461347460747, -0.013874491676688194, 0.0326048918068409, 0.04034934937953949, -0.03080664575099945, -0.009717772714793682, 0.012459383346140385, 0.060032811015844345, 0.005120634566992521, -0.007823021151125431, 0.060599979013204575, -0.028056420385837555, -0.025110885500907898, -0.02495986595749855, 0.022996846586465836, -0.04942382499575615, 0.04983321204781532, 0.0077763088047504425, -0.010382947511970997, 0.03646530210971832, -0.020551355555653572, 0.008286218158900738, 0.0192941315472126, 0.07617045193910599, 0.03928107023239136, 0.02712615393102169, 0.0383976548910141, -0.008974994532763958, -0.008897804655134678, -0.03315338119864464, -0.017267683520913124, -0.024666134268045425, 0.0006944307824596763, 0.036168940365314484, -0.04272155091166496, -0.0006509175873361528, -0.026674602180719376, -0.003108158940449357, 0.03315442055463791, 0.01737879402935505, -0.004697228316217661, 0.04556825011968613, 0.056567512452602386, 0.037259843200445175, 0.017085490748286247, 0.05480135604739189, -0.03493017330765724, -0.01921548880636692, 0.04826570302248001, -0.008379867300391197, 0.04985295236110687, 0.017146598547697067, -0.009548606351017952, 0.015650959685444832, -0.015542825683951378, -0.0050084590911865234, -0.001315898378379643, -0.005857930053025484, -0.02598094753921032, -0.0228715967386961, -0.008503720164299011, -0.027046622708439827, 0.020187046378850937, -0.004196478519588709, -0.0008821636438369751, -0.01482468657195568, -0.03879948705434799, -0.04569800943136215, 0.046714626252651215, -0.0009953182889148593, -0.043642785400152206, -0.003635794622823596, -0.04211605712771416, 0.04196559637784958, -0.01211792603135109, -0.0579720214009285, -0.03346985951066017, -0.005718720145523548, -0.0025862285401672125, -0.03586885705590248, 0.015672817826271057, -0.006927473936229944, -0.04053615778684616, 0.0025089457631111145, -0.002285779919475317, 0.0017364048399031162, 0.030180267989635468, 0.007521528750658035, -0.026499876752495766, -0.016070950776338577, 0.016958463937044144, -0.060406602919101715, -0.023366965353488922, -0.006196072790771723, -0.015710458159446716, -0.017972012981772423, -0.00927675236016512, -0.008076258935034275, -0.03380300849676132, 0.029297180473804474, -0.03870633617043495, -0.001607985352165997, 0.007704733870923519, 0.006534736603498459, -0.009206155315041542, 0.024864640086889267, 0.0063263471238315105, -0.031667646020650864, 0.007303342223167419, -0.014013220556080341, -0.02482708916068077, -0.0005436019273474813, -0.026674380525946617, 0.05438196286559105, -0.0019351603696122766, -0.024386880919337273, 0.0017235818086192012, 0.0793670192360878, 0.015667542815208435, 0.05494200438261032, 0.0034330333583056927, 0.006752440705895424, -0.01553727313876152, -0.0471876822412014, 0.027288977056741714, -0.00407831696793437, 0.05041409283876419, -0.02191668562591076, -0.05383077263832092, -0.04936961457133293, 0.0012516203569248319, -0.0033248555846512318, 0.008751742541790009, -0.0145482262596488, 0.023961076512932777, -0.012746873311698437, -0.0039350236766040325, -0.055080559104681015, -0.01897810399532318, 0.06428245455026627, 0.007165070157498121, -0.03709627315402031, -0.018583904951810837, 0.00858270563185215, -0.008052810095250607, -0.02071058563888073, 0.0035328324884176254, -0.021214110776782036, -0.020242542028427124, -0.021385790780186653, 0.00917879119515419, 0.00951223261654377, -0.007260741200298071, -0.004571494646370411, -0.0028025845531374216, 0.009598641656339169, 0.0044831763952970505, -0.008790230378508568, -0.043796759098768234, 0.040042564272880554, -0.04333983361721039, 0.024548960849642754, 0.01585502177476883, -0.02276674658060074, 0.006490712054073811, 0.04510920122265816, -0.028452536091208458, 0.016317710280418396, -0.028453869745135307, -0.02089831978082657, -0.009982414543628693, 0.03019501082599163, 0.015117698349058628, 0.030579915270209312, -0.034573573619127274, 0.01876966655254364, 0.025005538016557693, -0.04225311428308487, -0.04693449288606644, -0.006870495621114969, 0.0339336134493351, -0.05023554340004921, -0.030782608315348625, 0.047610435634851456, 0.0000714789712219499, -0.005260010249912739, -0.00110911438241601, 0.061388853937387466, 0.015624451451003551, 0.04170669987797737, -0.006856592372059822, -0.013013148680329323, 0.06360766291618347, 0.05965736135840416, 0.01057513803243637, -0.017214592546224594, 0.036404553800821304 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
🤗 Welcome to Machine Learning Experts - Lewis Tunstall Hey friends! Welcome to Machine Learning Experts. I'm your host, Britney Muller and today’s guest is Lewis Tunstall. Lewis is a Machine Learning Engineer at Hugging Face where he works on applying Transformers to automate business processes and solve MLOps challenges. Lewis has built ML applications for startups and enterprises in the domains of NLP, topological data analysis, and time series. You’ll hear Lewis talk about his new book, transformers, large scale model evaluation, how he’s helping ML engineers optimize for faster latency and higher throughput, and more. In a previous life, Lewis was a theoretical physicist and outside of work loves to play guitar, go trail running, and contribute to open-source projects. Very excited to introduce this fun and brilliant episode to you! Here’s my conversation with Lewis Tunstall: Note: Transcription has been slightly modified/reformatted to deliver the highest-quality reading experience.
[ 0.009334968402981758, -0.0432625487446785, 0.020885203033685684, -0.0010269355261698365, 0.007860081270337105, 0.04706437513232231, 0.031259920448064804, 0.028319884091615677, 0.005071090534329414, 0.022528348490595818, -0.12662707269191742, 0.04556112363934517, -0.012850379571318626, 0.04943280294537544, 0.01164968591183424, -0.03135581687092781, -0.05781453847885132, -0.04032386466860771, 0.02826470136642456, 0.06525468081235886, 0.01345883496105671, -0.04105799272656441, 0.05274691805243492, 0.025954589247703552, -0.041591744869947433, 0.0034757398534566164, -0.04709704592823982, -0.048216450959444046, 0.019379181787371635, 0.06520240008831024, -0.031374409794807434, 0.04237545654177666, -0.035190947353839874, 0.010348297655582428, -0.0025765704922378063, -0.04382118210196495, -0.07397641986608505, 0.022472674027085304, 0.0568884052336216, -0.03017917461693287, 0.003785128938034177, -0.00865402165800333, -0.12699440121650696, 0.005763677414506674, 0.0017060721293091774, -0.06249798834323883, -0.14236319065093994, 0.04339813441038132, -0.04256964847445488, -0.11090029776096344, 0.010864189825952053, 0.07961104065179825, 0.02818773314356804, 0.031073857098817825, 0.00037976333987899125, 0.018168628215789795, 0.059700798243284225, -0.06807797402143478, -0.006749387830495834, 0.0011730259284377098, 0.05400223657488823, -0.0028984067030251026, 0.0024911784566938877, -0.04682531952857971, 0.0306635070592165, -0.005830519367009401, 0.05746234580874443, -0.035484787076711655, -0.07623657584190369, -0.05116179957985878, 0.06049007922410965, -0.028911270201206207, -0.02950725518167019, 0.004141627345234156, 0.0066825635731220245, 0.015736883506178856, 0.043279971927404404, 0.06526349484920502, 0.03001376986503601, 0.028519809246063232, -0.0246753990650177, 0.07061592489480972, 0.07063858211040497, 0.025475021451711655, -0.017771583050489426, 0.08233495056629181, 0.017223060131072998, -0.027051281183958054, -0.08212268352508545, 0.10390432178974152, 0.023469114676117897, -0.0943443700671196, 0.021194014698266983, 0.012826154939830303, 0.08147606253623962, -0.028060000389814377, -0.05569549649953842, -0.005943881813436747, -0.012090206146240234, -0.06386436522006989, -0.05227452144026756, 0.013767099939286709, 0.06483401358127594, -0.02316567860543728, -0.022230098024010658, 0.03276151791214943, 0.009198944084346294, -0.0656624436378479, -0.06867915391921997, 0.03453812748193741, -0.01575504243373871, -0.07584619522094727, 0.013308855704963207, 0.054957762360572815, -0.04830196499824524, 0.0474545992910862, 0.022651880979537964, -0.025670740753412247, 0.03960931673645973, 0.027437817305326462, 0.00836079753935337, 0.04047509282827377, 0.008649079129099846, -0.016256287693977356, 0.018877791240811348, 0.058634307235479355, -0.11452089995145798, 0.04346843808889389, 0.06818724423646927, -0.020941413938999176, 0.021394869312644005, -0.07242481410503387, 0.0546315461397171, 0.03915876895189285, 0.03082015924155712, -0.033667370676994324, 0.056077875196933746, -0.04887593910098076, 0.08388327807188034, 0.024841444566845894, -0.015184895135462284, 0.041318800300359726, -0.03785739094018936, -0.05553366243839264, 0.019631993025541306, -0.027742968872189522, -0.06647014617919922, 0.025404369458556175, 0.008119112811982632, 0.022932276129722595, -0.0350654162466526, 0.05005192011594772, -0.04835209622979164, -0.07924095541238785, 0.029900750145316124, 0.09340283274650574, -0.006264908239245415, 0.02729305624961853, -0.0022153875324875116, -0.057345662266016006, 0.03409934416413307, -0.02982277236878872, -0.0452628992497921, 0.002132557099685073, 0.06983433663845062, -0.026989266276359558, 0.047731123864650726, 0.0001063277741195634, -0.01352169644087553, 0.021281421184539795, 0.012553122825920582, 0.038698308169841766, 0.027388757094740868, 0.027621185407042503, -0.01537187397480011, 0.02718408964574337, 0.050340015441179276, -0.04046056047081947, -0.015768475830554962, -0.019874025136232376, -0.08430425822734833, 0.08278441429138184, -0.009282768703997135, 0.04384281858801842, 0.03566168248653412, 0.005309271160513163, -0.04525294527411461, 0.03624170273542404, 0.03725791722536087, 0.02575007639825344, 0.006317649036645889, 0.0008455312927253544, 0.08545141667127609, 0.015718108043074608, 0.01231940183788538, 0.016774537041783333, -0.06389112770557404, 0.07343663275241852, 0.02121921442449093, 0.03447701409459114, 0.03625345230102539, 0.016942139714956284, 0.037960536777973175, -0.05530760437250137, 0.022122031077742577, 0.006941158790141344, 0.06458214670419693, -0.08583571016788483, 0.011844780296087265, 0.019640116021037102, -0.037611495703458786, -0.11874660104513168, -0.005640318617224693, -0.0176406092941761, 0.004607638344168663, -0.04086771607398987, -0.01450556144118309, -0.01698250323534012, 0.06133905425667763, -0.03392524644732475, 0.1301552802324295, -0.013384596444666386, -0.012708443216979504, -0.018163667991757393, -0.0041669015772640705, 0.015448502264916897, 0.0741884633898735, 0.047325555235147476, 0.10648302733898163, -0.04864327237010002, -0.07694780081510544, -0.03187797591090202, -0.044623859226703644, -0.035224419087171555, -0.010541833937168121, -0.02624027244746685, -0.010938108898699284, 0.039487577974796295, -0.056601766496896744, -0.03355534002184868, 0.005692922044545412, -0.0405021496117115, -0.028429459780454636, 0.06460566818714142, 0.009345333091914654, 0.01651489920914173, -0.007081726100295782, 0.03352196887135506, 0.007249781861901283, 0.06033051759004593, 0.03195720911026001, 0.060793839395046234, -0.015004429966211319, 0.05278315767645836, -0.0552205815911293, 0.02410130202770233, -0.010510326363146305, 0.028070800006389618, -0.02878986857831478, 0.033142562955617905, 0.0045744930393993855, -0.039957255125045776, -0.0190432071685791, -0.060032811015844345, 0.004063235595822334, -0.05065657198429108, -0.0033053848892450333, 0.008152199909090996, 0.04297278821468353, -0.05048113688826561, 0.04973310977220535, -0.015364144928753376, 0.06646183878183365, 0.033955056220293045, 0.01257015485316515, -0.04192858189344406, 0.026721280068159103, -0.027867164462804794, 0.02528988942503929, -0.04902752861380577, 0.05524846911430359, -0.04817516356706619, 0.07420377433300018, -0.004710652399808168, -0.0035269861109554768, -0.03996178135275841, 0.002270703436806798, -0.02488076314330101, -0.014890989288687706, 0.010233401320874691, -0.016416963189840317, 0.04524854198098183, -0.030152499675750732, -0.030145663768053055, -0.02931375987827778, 0.04024992510676384, 0.016328316181898117, -0.06156446412205696, -0.022518806159496307, -0.017261037603020668, 0.002852326724678278, -0.02650473825633526, -0.004802037496119738, 0.013162274844944477, 0.019713355228304863, 0.03961992636322975, 0.058853939175605774, 0.006735936738550663, -0.07566734403371811, -0.05192265659570694, -0.017588583752512932, -0.036431875079870224, 0.016672387719154358, -0.032916612923145294, 0.05824781954288483, -0.01145248208194971, -0.020365294069051743, -0.022116564214229584, -0.012748870067298412, 0.0007861079066060483, -0.038248129189014435, -0.0039000590331852436, 0.002587913302704692, 0.012166367843747139, 0.043036431074142456, -0.005765508860349655, 0.03169865906238556, 0.02861204370856285, -0.03959571197628975, 0.032205354422330856, 0.0007251258939504623, 0.0056199268437922, 0.02209399826824665, 0.0463038831949234, 0.03880906477570534, 0.022951865568757057, 0.00212669325992465, -0.020064428448677063, -0.030707312747836113, 0.009397097863256931, -0.051700808107852936, 0.06960311532020569, 0.03853844106197357, -0.0326882041990757, -0.010834014974534512, -0.028924748301506042, 0.05445864051580429, 0.02300872839987278, -0.0036464694421738386, 0.011632820591330528, -0.003184777218848467, -0.02587721310555935, 0.02878340147435665, -0.019457729533314705, -0.026109855622053146, -0.0038655404932796955, -0.024318305775523186, -0.014417474158108234, -0.017383815720677376, 0.012204376049339771, 0.026138871908187866, 0.01983068138360977, -0.004939303733408451, -0.024136532098054886, -0.02028433047235012, -0.03726494312286377, -0.02276633121073246, 0.03676431253552437, -0.019568325951695442, 0.028402553871273994, -0.030757304280996323, -0.035852786153554916, 0.023851895704865456, 0.014352131634950638, -0.005165628157556057, 0.00045029979082755744, -0.010580877773463726, -0.03223657235503197, 0.026007479056715965, 0.010046971961855888, 0.005359369795769453, 0.0009459329885430634, -0.05549655109643936, -0.008479305543005466, 0.003538355231285095, 0.0005852026515640318, 0.05143206566572189, 0.041827764362096786, -0.034688837826251984, -0.007651935797184706, -0.03163180500268936, -0.02365965023636818, -0.010425320826470852, 0.023945407941937447, 0.0590086355805397, 0.01534159667789936, 0.002159412717446685, 0.04979459568858147, 0.027908600866794586, 0.012038341723382473, -0.01965230703353882, -0.03134447708725929, 0.012607927434146404, -0.02319619618356228, 0.025896353647112846, -0.0024575330317020416, -0.012765665538609028, -0.03372041881084442, 0.00674620782956481, -0.06958122551441193, -0.02986607700586319, 0.012852875515818596, -0.0010122888488695025, -0.01457665953785181, 0.010804127901792526, -0.08614280074834824, 0.04332037270069122, 0.014981862157583237, 0.03238489851355553, -0.035792943090200424, -0.0041002086363732815, -0.011255920864641666, 0.05102919787168503, 0.014178924262523651, 0.019483016803860664, 0.0008412757306359708, -0.014352420344948769, 0.028512565419077873, -0.0014126587193459272, -0.021590683609247208, 0.00020481529645621777, -0.03593295067548752, 0.04363330453634262, 0.012769659049808979, 0.026706382632255554, -0.01160496473312378, 0.033437542617321014, -0.007284001912921667, -0.03886684402823448, 0.011877739802002907, 0.06459523737430573, -0.006849023979157209, -0.006494319066405296, 0.014214470982551575, -0.02637573331594467, 0.0055707539431750774, -0.052819862961769104, -0.019247839227318764, 0.04326160252094269, 0.007977068424224854, 0.06770719587802887, -0.037991300225257874, 0.02030494436621666, -0.0277734212577343, -0.006062597036361694, 0.0026637890841811895, -0.00880782026797533, 0.033535029739141464, 0.020937267690896988, -0.013073344714939594, 0.028885921463370323, 0.002169595332816243, 0.05320465937256813, -0.0009775027865543962, -0.03398469090461731, 0.03040982596576214, -0.00002889141978812404, 0.005585254170000553, -0.013802655972540379, 0.0023999111726880074, -0.05499916151165962, 0.031893834471702576, 0.006114790681749582, 0.022199546918272972, -0.036185115575790405, -0.013616020791232586, 0.005826930981129408, -0.03808451071381569, -0.020802835002541542, 0.01835629716515541, 0.013887393288314342, -0.0347578264772892, -0.023373745381832123, 0.050153281539678574, 0.007940628565847874, -0.0090772844851017, -0.03487293794751167, 0.007829342968761921, -0.008987639099359512, 0.019670989364385605, -0.024785207584500313, -0.03201444074511528, 0.003429197473451495, 0.03971196338534355, 0.0456489622592926, 0.07671955227851868, -0.030462242662906647, 0.03562264144420624, 0.002116512507200241, -0.019742505624890327, -0.03827866166830063, 0.023840956389904022, 0.022504841908812523, -0.01121901348233223, 0.034471768885850906, -0.017157068476080894, -0.06000763550400734, 0.01477658562362194, -0.023058922961354256, 0.013535061851143837, -0.008664635010063648, -0.012048394419252872, 0.027458110824227333, -0.0333058126270771, -0.01602727733552456, 0.005852657835930586, 0.03654686361551285, 0.004671444650739431, 0.023538611829280853, -0.0008039529202505946, 0.05040730908513069, -0.02458469569683075, -0.019502149894833565, -0.01813504472374916, -0.002458067610859871, 0.009847963228821754, 0.037675220519304276, 0.03557171672582626, -0.06828324496746063, -0.017874427139759064, -0.01587972231209278, -0.04080406203866005, -0.008936455473303795, -0.0454995334148407, 0.0015219948254525661, 0.015714118257164955, 0.057732563465833664, 0.001610222621820867, 0.028919244185090065, 0.021455494686961174, 0.023728149011731148, 0.03946012258529663, 0.007480282802134752, -0.0010170199675485492, -0.052383191883563995, 0.027391156181693077, 0.06903766095638275, -0.05382845178246498, 0.00022027445083949715, -0.021723661571741104, -0.055397581309080124, -0.039644282311201096, -0.056650545448064804, -0.0013770622899755836, 0.03366267308592796, 0.010945625603199005, 0.030067790299654007, -0.013166839256882668, 0.04547562450170517, 0.015631457790732384, 0.007776802871376276, 0.02480374090373516, 0.02424655482172966, 0.025696635246276855, -0.00992630422115326, 0.03014425002038479, -0.011435350403189659, 0.028589775785803795, -0.04096696525812149, -0.06241016462445259, 0.009388463571667671, 0.015754172578454018, 0.022168951109051704, 0.010710605420172215, 0.00476870546117425, -0.021625548601150513, 0.009093412198126316, 0.02246975712478161, -0.030923323705792427, 0.017065243795514107, -0.034655727446079254, -0.0023647218476980925, 0.002390748355537653, 0.01191257406026125, 0.01662236638367176, 0.0499764047563076, -0.027586717158555984, 0.01828230544924736, 0.024539213627576828, 0.007759154308587313, 0.0640629306435585, -0.013676605187356472, -0.01073728408664465, 0.0009663939126767218, 0.04604664817452431, -0.0018918074201792479, 0.04194343090057373, 0.06566282361745834, -0.02263496443629265, -0.022468648850917816, -0.004794321022927761, -0.0185362808406353, -0.01667068898677826, -0.004361974541097879, 0.043179094791412354, 0.012463392689824104, 0.033301595598459244, -0.022103048861026764, -0.003563332138583064, 0.008464732207357883, 0.07006288319826126, -0.00843922607600689, 0.012825465761125088, 0.00935761071741581, 0.043364863842725754, 0.01064007356762886, 0.03931543603539467, -0.028374647721648216, -0.04543863981962204, 0.0512038879096508, -0.012270158156752586, 0.03053245320916176, 0.0318276509642601, 0.005828283727169037, 0.01427611242979765, -0.08778128027915955, -0.025993989780545235, 0.0047549414448440075, -0.047765180468559265, -0.01670408435165882, 0.008145760744810104, -0.027776334434747696, -0.005546194035559893, -0.010244746692478657, 0.009530548006296158, -0.02679068222641945, -0.004347254987806082, -0.01625596359372139, -0.01921911910176277, 0.0534827820956707, 0.010537291876971722, 0.005176769569516182, -0.012736075557768345, -0.05372733250260353, 0.05847243592143059, 0.02603178657591343, -0.03997906297445297, -0.0390012152493, -0.04715462028980255, 0.03776382654905319, -0.022601637989282608, 0.08120998740196228, -0.016566168516874313, -0.015803683549165726, -0.010362409986555576, 0.023234698921442032, -0.03895508497953415, 0.02907942607998848, 0.013481628149747849, 0.010210768319666386, 0.018211107701063156, -0.002882895525544882, 0.02999764308333397, -0.027054578065872192, -0.030882179737091064, -0.0033567221835255623, 0.011423076502978802, -0.015301791951060295, -0.007601345889270306, -0.010552294552326202, 0.01790698617696762, -0.00512484647333622, -0.020737111568450928, -0.003201252780854702, -0.009792552329599857, -0.02927098050713539, 0.01839767023921013, -0.010450267232954502, 0.007529838941991329, -0.031799767166376114, 0.01566476747393608, 0.0005794759490527213, 0.04725997522473335, -0.03382379934191704, -0.0019815557170659304, 0.005470296833664179, -0.05276353284716606, -0.006394294556230307, -0.0030427228193730116, 0.0525297075510025, 0.05016367882490158, 0.03198738023638725, 0.016589069738984108, -0.015069415792822838, -0.0429527685046196, 0.005823323503136635, -0.009086881764233112, -0.0039968634955585, -0.026415199041366577, -0.03446641191840172, -0.0285076592117548, 0.025575371459126472, -0.0037942142225801945, -0.03131772577762604, -0.03317714482545853, 0.000992729444988072, -0.03867209330201149, -0.014076515100896358, -0.02183687686920166, 0.002302424283698201, 0.023387856781482697, 0.03341187164187431, -0.012312107719480991, -0.026820914819836617, -0.028268251568078995, -0.01887495070695877, 0.01997799426317215, 0.03753119707107544, 0.03464670479297638, 0.0024555374402552843, 0.02324407361447811, -0.0501113124191761, -0.025438278913497925, 0.051539551466703415, -0.04825066402554512, -0.01650317944586277, 0.014787252992391586, -0.04515208676457405, -0.01684231124818325, -0.003923109266906977, 0.00014093550271354616, -0.0540238581597805, 0.016033485531806946, -0.03552129864692688, -0.01877623051404953, 0.018010783940553665, 0.02271372079849243, -0.020269496366381645, 0.0204252228140831, 0.007892814464867115, -0.004488911479711533, 0.03298036754131317, 0.011660018004477024, 0.007465952076017857, -0.004193548113107681, 0.017499852925539017, 0.015160511247813702, 0.03750746697187424, -0.016139665618538857, -0.01608818583190441, -0.016235115006566048, 0.02502908743917942, -0.011552897281944752, -0.026576709002256393, 0.003245605854317546, 0.0056645977310836315, 0.01387527771294117, -0.000973521382547915, 0.019615940749645233, -0.02380331978201866, -0.001560209784656763, -0.05250110849738121, -0.008698216639459133, 0.001785872271284461, 0.03708469867706299, -0.03025021031498909, -0.02893732488155365, 0.009599222801625729 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
No way?! Lewis: He's joining the Big Science team as an intern. So. I mean this is a super cool thing, right? When you learn something and then use that thing to apply which I thought was pretty awesome.
[ 0.07636918127536774, 0.0425119623541832, 0.07775288820266724, -0.017040541395545006, 0.10489895194768906, -0.06754840910434723, -0.04949628561735153, 0.08098921179771423, -0.0391177199780941, -0.028773188591003418, -0.06778635084629059, 0.025168636813759804, 0.03583038970828056, -0.022861381992697716, 0.024403491988778114, 0.0025022428017109632, 0.03444341942667961, -0.07614339143037796, 0.014508961699903011, 0.02712426520884037, 0.027393342927098274, 0.07033709436655045, 0.03628099337220192, -0.010512863285839558, -0.010952573269605637, 0.03647715225815773, -0.011403973214328289, -0.01052604615688324, 0.004851213190704584, 0.038035232573747635, 0.020282309502363205, -0.064407117664814, 0.003681768197566271, 0.02129625715315342, -0.04536749795079231, -0.002437350805848837, -0.059178292751312256, 0.06759308278560638, 0.0032192030921578407, -0.06624052673578262, 0.01168398279696703, -0.04177536442875862, -0.02243282087147236, 0.021876832470297813, -0.06696387380361557, -0.013968399725854397, -0.20574048161506653, 0.04424360394477844, -0.03052983619272709, -0.05224063619971275, -0.053953252732753754, 0.015570591203868389, 0.03767140209674835, -0.04727115482091904, 0.02230575680732727, 0.03883232921361923, 0.0351734459400177, -0.005306461360305548, 0.009261872619390488, -0.02688661590218544, 0.03943434730172157, 0.012414934113621712, -0.02828773483633995, 0.006647331640124321, 0.034792713820934296, 0.017893265932798386, 0.007796766236424446, 0.016219431534409523, -0.11325574666261673, -0.027725212275981903, 0.04459167644381523, -0.08949148654937744, -0.05048719793558121, -0.012016735970973969, 0.06659481674432755, -0.01971176080405712, -0.019998842850327492, 0.07809799164533615, 0.013039916753768921, 0.058229539543390274, -0.0010382350301370025, 0.010167334228754044, 0.049879465252161026, 0.08437912166118622, -0.05435183271765709, -0.007356912828981876, 0.027048861607909203, -0.07932428270578384, -0.03762083128094673, 0.08526783436536789, -0.04040500894188881, -0.07220831513404846, 0.06089101731777191, 0.04827155917882919, 0.0939512625336647, -0.08303067833185196, -0.025389328598976135, -0.036653343588113785, 0.0119728809222579, 0.011434732936322689, -0.02840334363281727, -0.04855302721261978, 0.053160395473241806, 0.003435892751440406, -0.046687833964824677, 0.01751476526260376, 0.0078088087029755116, -0.059109799563884735, -0.07295037806034088, 0.02337319403886795, -0.011544110253453255, 0.026325101032853127, 0.05401976406574249, 0.0021543169859796762, -0.06067165359854698, 0.03571212291717529, 0.052084680646657944, 0.04434112831950188, -0.03908542916178703, 0.03027970716357231, 0.016835087910294533, 0.03542143106460571, 0.014462684281170368, 0.08312615752220154, 0.0011195028200745583, -0.011455463245511055, -0.0642561987042427, -0.009842930361628532, -0.04372727870941162, -0.10200212895870209, 0.056826744228601456, 0.06033758446574211, 0.07317540794610977, 0.03766368329524994, 0.011667235754430294, -0.02173474244773388, 0.020888689905405045, 0.009353025816380978, -0.0008053104975260794, -0.005285231396555901, 0.01420754473656416, 0.02751363255083561, 0.026327015832066536, 0.03330591693520546, 0.0093166409060359, -0.04784542694687843, -0.04284840077161789, 0.020447468385100365, -0.017375048249959946, 0.04631483554840088, -0.014351549558341503, 0.07622237503528595, -0.030674392357468605, -0.059773772954940796, 0.06126537173986435, 0.016565727069973946, -0.022256329655647278, -0.02064071036875248, -0.005501898005604744, 0.057198476046323776, 0.0858602449297905, -0.035530935972929, -0.017615266144275665, -0.00017768882389646024, 0.07120666652917862, -0.0034183994866907597, -0.0029729397501796484, -0.06909602135419846, -0.050489310175180435, -0.040878091007471085, 0.009112648665904999, -0.05256769433617592, -0.012901032343506813, -0.023641830310225487, 0.008000715635716915, 0.031472884118556976, -0.02681608311831951, -0.014618567191064358, 0.015200422145426273, 0.023714978247880936, -0.04666788876056671, 0.017314013093709946, -0.047666825354099274, -0.010291693732142448, 0.020313337445259094, -0.04745364934206009, 0.03495248779654503, 0.007821263745427132, 0.02723216451704502, -0.023516446352005005, -0.09719548374414444, -0.0019275229424238205, 0.08078168332576752, 0.009235628880560398, 0.015760736539959908, -0.059556860476732254, -0.07742785662412643, 0.08031035214662552, 0.023548422381281853, 0.006433470640331507, 0.04237302765250206, 0.022614413872361183, 0.07650408148765564, 0.008660613559186459, -0.04144592955708504, 0.11344519257545471, 0.09201426804065704, 0.009172498248517513, 0.0515117272734642, 0.02945973537862301, 0.053926825523376465, -0.07172466814517975, 0.049641259014606476, -0.0708761066198349, -0.029027609154582024, 0.031875722110271454, -0.02456645853817463, 0.012144393287599087, -0.05375346541404724, -0.05136881396174431, 0.04870227351784706, -0.023337796330451965, -0.007806818000972271, -0.02554415911436081, 0.0770583227276802, 0.06701719015836716, 0.07075873017311096, -0.024549955502152443, 0.015897369012236595, -0.09605389088392258, -0.06210176274180412, -0.005431545898318291, -0.020810585469007492, -0.00809001550078392, -0.05228758603334427, 0.012046928517520428, -0.0010713981464505196, -0.003965327516198158, -0.07735227793455124, -0.09111662209033966, 0.03476431220769882, -0.02613532729446888, -0.04642181470990181, 0.08505187928676605, -0.039574820548295975, -0.0016396704595535994, 0.09828715771436691, 0.036872055381536484, -0.020501641556620598, 0.050075799226760864, -0.04056309536099434, 0.017410986125469208, 0.005086730699986219, -0.07852233946323395, 0.010437826626002789, -0.05201982334256172, 0.007092035375535488, 0.00698400242254138, -0.01780138537287712, 0.012231473810970783, -0.018070271238684654, 0.01282721757888794, 0.01082057598978281, -0.032134249806404114, -0.017814310267567635, 0.021764768287539482, 0.022755876183509827, 0.018797095865011215, -0.005374579690396786, 0.014768931083381176, 0.03864739462733269, -0.01563318446278572, 0.055059630423784256, -0.010614076629281044, -0.04389527440071106, -0.03244228661060333, 0.04436073824763298, -0.02988305687904358, -0.025230852887034416, -0.04033731669187546, 0.03525985777378082, -0.030538827180862427, 0.02665840834379196, 0.024809828028082848, 0.010258091613650322, -0.019057659432291985, -0.03893901780247688, 0.0021848068572580814, -0.010279476642608643, 0.03749272599816322, -0.030305657535791397, 0.033479951322078705, -0.004388679284602404, -0.021748067811131477, -0.021853681653738022, -0.006408898625522852, 0.03161243721842766, -0.03191709518432617, 0.005106706637889147, 0.008416124619543552, 0.043960172683000565, 0.0286534633487463, -0.0024059840943664312, 0.02055906318128109, -0.03606228530406952, 0.017653582617640495, -0.010630587115883827, 0.023498954251408577, -0.11600831151008606, -0.022174622863531113, 0.0032949296291917562, 0.013578932732343674, 0.038434747606515884, -0.034742239862680435, 0.046859096735715866, -0.03197576850652695, 0.0030306251719594, -0.0038680597208440304, -0.021929970011115074, 0.005251015070825815, -0.019204769283533096, -0.05673620104789734, 0.023712772876024246, -0.027108686044812202, 0.000020899093215120956, -0.008744930848479271, -0.004265124909579754, 0.018058961257338524, -0.018229780718684196, 0.0633959099650383, 0.006187889724969864, -0.01915798708796501, 0.00005809108188259415, 0.033158980309963226, 0.006455907132476568, 0.06761576235294342, 0.048919375985860825, 0.0011314770672470331, -0.014677188359200954, 0.02192327380180359, -0.009851742535829544, -0.0028829211369156837, -0.021396972239017487, -0.018580736592411995, 0.009626462124288082, -0.029754146933555603, -0.007081347983330488, 0.03778931871056557, 0.009649417363107204, -0.040519531816244125, -0.017423929646611214, -0.013461639173328876, -0.011254663579165936, -0.02254304848611355, -0.02594882622361183, 0.007401970215141773, 0.051502443850040436, -0.04870673269033432, -0.005623500328511, 0.03427506983280182, 0.03256533294916153, 0.06158140301704407, -0.052109017968177795, -0.0025754596572369337, 0.0336742140352726, 0.008801266551017761, 0.011814470402896404, -0.04946655407547951, -0.015242857858538628, 0.024551700800657272, 0.03975214809179306, 0.030012769624590874, -0.00907817017287016, 0.009165211580693722, -0.03518657013773918, -0.030663704499602318, -0.023129716515541077, 0.02228054404258728, 0.011524106375873089, -0.0033241051714867353, 0.0008310914854519069, 0.004692038521170616, 0.030769163742661476, 0.0314103439450264, -0.0007428686949424446, -0.036708418279886246, 0.04972931742668152, 0.025881240144371986, 0.011885138228535652, 0.01791774109005928, -0.008336445316672325, -0.025674019008874893, -0.020129086449742317, 0.02665717527270317, 0.024567853659391403, -0.015318353660404682, -0.010123342275619507, 0.07606443762779236, 0.026475152000784874, -0.012574698776006699, -0.03102503903210163, 0.060894403606653214, -0.028815265744924545, 0.03099188022315502, -0.00968518853187561, 0.009574223309755325, 0.011079658754169941, -0.034750718623399734, 0.019837116822600365, -0.04809191823005676, -0.03753456845879555, 0.0135369673371315, -0.003962283488363028, -0.007466955576092005, -0.035054463893175125, -0.05040420591831207, 0.0074429637752473354, 0.00795614905655384, 0.029462339356541634, -0.02646034210920334, -0.02790096402168274, -0.025492902845144272, 0.011533280834555626, 0.02894613705575466, 0.01870136149227619, -0.005587088875472546, -0.032592400908470154, 0.003428808646276593, -0.002131347544491291, -0.026168743148446083, -0.00025088744587264955, -0.04196082055568695, -0.007590325083583593, -0.01770942471921444, 0.00873409304767847, -0.027957025915384293, 0.00812400970607996, -0.0011608214117586613, -0.0676073431968689, -0.011724493466317654, 0.01416083611547947, -0.02199629694223404, 0.007208230905234814, 0.0016505203675478697, -0.025612683966755867, 0.08444921672344208, -0.015842556953430176, -0.07713968306779861, 0.019323376938700676, -0.010599267669022083, -0.010704254731535912, -0.006132986396551132, 0.005395698361098766, -0.03706514090299606, -0.00983875710517168, 0.0013544239336624742, 0.008227470330893993, 0.08932513743638992, 0.05127871409058571, 0.0250778179615736, -0.018491365015506744, -0.012679981999099255, 0.008845952339470387, 0.0660373643040657, -0.0025219041854143143, -0.029963809996843338, -0.004175205249339342, 0.041816625744104385, -0.015506819821894169, 0.009595707058906555, -0.04390387982130051, 0.025131655856966972, 0.02730194479227066, 0.00024238803598564118, -0.04814768210053444, -0.01707787625491619, -0.01933128759264946, -0.010693148709833622, -0.012788141146302223, -0.01372110191732645, -0.04724840819835663, 0.013832656666636467, -0.005981422495096922, -0.017875852063298225, 0.015217868611216545, 0.011532498523592949, -0.04216906055808067, 0.014989827759563923, 0.008270055055618286, -0.019311828538775444, -0.009267594665288925, -0.016798026859760284, -0.016736092045903206, 0.05030343309044838, 0.03713713213801384, 0.0077794864773750305, 0.022545581683516502, 0.04025207832455635, 0.03599592298269272, -0.000986795057542622, -0.013432375155389309, -0.0359957255423069, -0.000013719364687858615, 0.004571150057017803, 0.0006551381084136665, -0.06060825288295746, -0.039137884974479675, 0.008325788192451, -0.0014911408070474863, 0.018228577449917793, 0.0003132373676635325, 0.004430360160768032, 0.016123808920383453, 0.007088415790349245, -0.04909832403063774, 0.02920423448085785, 0.0008404346881434321, -0.022969026118516922, 0.002520016161724925, -0.015159203670918941, 0.0061024087481200695, -0.0014853739412501454, -0.010798601433634758, 0.010341767221689224, -0.016753489151597023, 0.05279285088181496, 0.013534477911889553, 0.0367644838988781, 0.01212018821388483, 0.018484095111489296, -0.019382083788514137, 0.009177876636385918, 0.006357436999678612, -0.016095846891403198, 0.015225544571876526, 0.023945333436131477, 0.05794942006468773, 0.02713056653738022, 0.10242564231157303, 0.05770416930317879, 0.0421377569437027, 0.021823430433869362, -0.02331475354731083, 0.009332581423223019, -0.033196981996297836, 0.05470205843448639, 0.010311281308531761, -0.03490443155169487, 0.007183368317782879, -0.014355437830090523, -0.031217146664857864, -0.02955714799463749, -0.02830631658434868, 0.00898381881415844, 0.046509284526109695, 0.029495269060134888, -0.011432058177888393, 0.013433730229735374, 0.05364140495657921, -0.024797525256872177, 0.0007714005769230425, -0.005549440626055002, -0.009661847725510597, 0.035126253962516785, 0.035858746618032455, 0.008904516696929932, -0.01827458292245865, -0.05184967443346977, 0.026405317708849907, -0.011439085938036442, 0.03084772452712059, 0.0025669981259852648, -0.022085698321461678, 0.005231590010225773, 0.01474399771541357, -0.019951891154050827, -0.02702036127448082, -0.00043530555558390915, -0.0038756129797548056, 0.0022160254884511232, -0.02226831763982773, 0.022143743932247162, 0.03078031912446022, -0.019867829978466034, -0.021414490416646004, 0.009706232696771622, 0.004426917992532253, -0.0077507817186415195, -0.02147996984422207, 0.05522598326206207, 0.02070191316306591, -0.0172945037484169, -0.008292130194604397, 0.02283373475074768, 0.036966633051633835, 0.03878523036837578, 0.026550395414233208, 0.047387655824422836, -0.012734154239296913, -0.0437176413834095, -0.01256773341447115, -0.0034392564557492733, 0.013107014819979668, 0.07479842007160187, 0.02206266298890114, 0.006391668226569891, 0.031177854165434837, -0.03186807781457901, -0.0009102897602133453, 0.005958764813840389, 0.033465269953012466, 0.011052010580897331, -0.018602127209305763, 0.025359921157360077, 0.0315757654607296, 0.007624201010912657, 0.02420700155198574, -0.030540386214852333, -0.0003616832836996764, 0.011248642578721046, -0.032999034970998764, 0.003966044168919325, -0.005340461153537035, -0.0163675956428051, 0.06682084500789642, -0.011952519416809082, -0.017762722447514534, 0.04475180059671402, 0.025085750967264175, -0.07977673411369324, -0.07003822922706604, -0.04655332490801811, -0.011703050695359707, -0.004063120111823082, 0.05264439433813095, -0.002673886949196458, 0.022143132984638214, -0.007187419570982456, 0.008982542902231216, 0.006571606267243624, 0.008793625980615616, 0.003963944502174854, -0.03550209850072861, 0.032292068004608154, 0.05209427326917648, 0.028412101790308952, -0.03647087514400482, -0.005753568839281797, -0.008181724697351456, 0.009645223617553711, 0.04072083160281181, 0.0606481172144413, -0.0043073431588709354, 0.0010711158392950892, -0.0022221666295081377, -0.0003747965965885669, -0.039673518389463425, 0.05329213663935661, -0.008733585476875305, 0.017424363642930984, -0.022796643897891045, 0.05090232193470001, -0.002439592033624649, -0.02490864135324955, -0.035409681499004364, -0.019036347046494484, -0.009213986806571484, 0.009101674892008305, -0.014310354366898537, -0.008272644132375717, 0.025536170229315758, 0.008497997187077999, 0.01992674544453621, -0.006236634217202663, -0.004974942654371262, -0.018772410228848457, -0.004056014586240053, 0.013562521897256374, -0.00033734666067175567, 0.002942971419543028, 0.02493138238787651, -0.019412493333220482, 0.007485559210181236, -0.040113985538482666, 0.010353757999837399, -0.0036149942316114902, -0.04057420790195465, 0.012956648133695126, 0.041681598871946335, -0.020076945424079895, -0.004032188560813665, 0.04126404598355293, 0.004899858962744474, 0.012706013396382332, -0.009760420769453049, 0.009066740982234478, 0.002662727842107415, 0.009908297099173069, -0.017212288454174995, -0.032552193850278854, -0.019602596759796143, -0.040367491543293, -0.030349183827638626, -0.009023688733577728, -0.00612192926928401, -0.01492676418274641, -0.016099048778414726, 0.0057952627539634705, -0.025949813425540924, -0.004038089886307716, 0.03973286598920822, -0.03458336368203163, 0.02694222703576088, -0.01558710914105177, 0.019022095948457718, -0.06603433191776276, 0.017056666314601898, 0.004464381840080023, -0.01265748217701912, -0.0005984790623188019, 0.00019848124065902084, -0.0034239785745739937, 0.015795713290572166, -0.011336563155055046, -0.03518218919634819, 0.0171708632260561, 0.03913820534944534, 0.020886214450001717, -0.004871523939073086, -0.017150111496448517, -0.04628512263298035, 0.01905411295592785, -0.0003862424928229302, 0.001683774753473699, -0.0884845033288002, 0.010017851367592812, 0.04692099988460541, -0.028316814452409744, 0.030575841665267944, -0.016139086335897446, 0.010579966008663177, 0.044391825795173645, 0.02667495608329773, -0.045822326093912125, -0.002323492430150509, -0.032021693885326385, 0.010080370120704174, 0.006159338168799877, -0.014322677627205849, 0.006437803618609905, -0.02048158086836338, 0.03063236176967621, -0.01152798905968666, -0.0347001813352108, 0.05633580684661865, -0.0023504833225160837, 0.016051718965172768, -0.02934451587498188, 0.04538974538445473, -0.020108195021748543, 0.036465756595134735, 0.05717794969677925, 0.01549660973250866, 0.02792418748140335, 0.05931830033659935, 0.016259729862213135, 0.006657530553638935, 0.019693393260240555 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
That is incredible. How does it feel to have a copy of your book in your hands? Lewis: I have to say, I just became a parent about a year and a half ago and it feels kind of similar to my son being born. You're holding this thing that you created. It's quite an exciting feeling and so different to actually hold it (compared to reading a PDF). Confirms that it’s actually real and I didn't just dream about it.
[ -0.009107343852519989, 0.024307651445269585, 0.02593808062374592, -0.017631391063332558, 0.10881920158863068, -0.03083322010934353, -0.07461535185575485, 0.024427806958556175, -0.027852840721607208, -0.04884282499551773, -0.032811228185892105, 0.018043342977762222, 0.04325489327311516, -0.000379895354853943, 0.015308552421629429, 0.030060449615120888, 0.024514170363545418, 0.0015080178854987025, 0.002718947594985366, -0.05834012106060982, -0.05354723706841469, -0.015971673652529716, 0.007564275059849024, 0.025325944647192955, -0.01280756201595068, 0.018417982384562492, 0.0545116551220417, -0.08230817317962646, -0.044114530086517334, -0.04998505488038063, -0.04202888160943985, -0.03419090807437897, 0.009977457113564014, -0.0028482747729867697, -0.03551159054040909, -0.04176470264792442, -0.11401865631341934, 0.029260801151394844, -0.03939260169863701, -0.06635541468858719, 0.03392810374498367, 0.01598605513572693, 0.03152303025126457, -0.01756191998720169, -0.05343059077858925, -0.018340500071644783, -0.22249147295951843, 0.08974876254796982, -0.06346315890550613, -0.011641405522823334, -0.05284526199102402, 0.014302611351013184, 0.012444030493497849, 0.0011327378451824188, 0.0380203053355217, 0.0379997082054615, -0.015270353294909, 0.04091169685125351, 0.032234903424978256, 0.019144251942634583, 0.09292539209127426, 0.017053399235010147, 0.03150535002350807, 0.01615438610315323, 0.029948757961392403, -0.00806378573179245, 0.06414413452148438, 0.04570702463388443, -0.07115576416254044, -0.008622418157756329, 0.02509247697889805, -0.05863090977072716, -0.025728709995746613, -0.06679248809814453, 0.05789932236075401, 0.019471002742648125, 0.05497834086418152, 0.14060074090957642, 0.028646571561694145, 0.014414790086448193, 0.04848727211356163, 0.015223518013954163, 0.04414869844913483, 0.08779937028884888, -0.050105221569538116, 0.006973302457481623, 0.03832503408193588, -0.015561382286250591, -0.010494237765669823, -0.013473850674927235, 0.0321856290102005, -0.07431964576244354, 0.018655305728316307, 0.04734962806105614, 0.07963266223669052, -0.06266284734010696, 0.028200969099998474, -0.013834653422236443, -0.009132754988968372, 0.008871504105627537, -0.008545023389160633, -0.03523385152220726, 0.055519431829452515, -0.03237757086753845, -0.05389389023184776, -0.030450571328401566, -0.011307884007692337, -0.03629901260137558, 0.018442712724208832, 0.015782944858074188, -0.05647435411810875, 0.037586476653814316, 0.03894313797354698, -0.05395932123064995, -0.05897366628050804, 0.058161742985248566, -0.007494756020605564, -0.009427439421415329, -0.023880355060100555, 0.012685991823673248, -0.01255638524889946, 0.013279156759381294, 0.020820235833525658, 0.049940820783376694, 0.06930878013372421, 0.0103335315361619, -0.06415782868862152, 0.038632042706012726, -0.02501871809363365, -0.05926261842250824, 0.01421373151242733, 0.03569520264863968, 0.0039168125949800014, -0.037202365696430206, 0.027209822088479996, 0.055590126663446426, 0.012718558311462402, -0.025568069890141487, 0.0536329410970211, 0.02642039954662323, 0.016584232449531555, 0.010272602550685406, -0.03604593873023987, 0.07074552029371262, 0.05609723553061485, -0.03429095074534416, -0.011943451128900051, 0.05762574449181557, -0.04844329506158829, 0.001322072115726769, 0.023953283205628395, 0.04907214641571045, -0.018212277442216873, -0.08152639865875244, 0.014870096929371357, -0.0026281890459358692, 0.0019417977891862392, 0.04341666400432587, -0.009486239403486252, -0.012910203076899052, 0.046017564833164215, -0.004309171345084906, -0.012120234780013561, -0.07182507961988449, -0.014424266293644905, -0.060398101806640625, -0.026556547731161118, -0.01105175819247961, -0.038112442940473557, -0.1155087798833847, -0.04203779622912407, 0.0016912305727601051, -0.006395009346306324, -0.01032481249421835, -0.04329395294189453, 0.03190106526017189, 0.0636553168296814, 0.00444395188242197, 0.05019950866699219, -0.01711801253259182, 0.008407422341406345, -0.003688357537612319, -0.03786846995353699, 0.03721911832690239, 0.028696268796920776, -0.0882800742983818, -0.0264111440628767, 0.03395608067512512, 0.022663215175271034, -0.028304990381002426, -0.10134616494178772, -0.08443289250135422, 0.12012811750173569, -0.007947860285639763, -0.06544816493988037, -0.1191849559545517, -0.04492274671792984, 0.13129167258739471, 0.03957097604870796, 0.035552505403757095, 0.056726597249507904, -0.005509633105248213, 0.0023557778913527727, -0.017557358369231224, 0.015068053267896175, 0.0125021543353796, 0.08473072946071625, -0.027311740443110466, 0.012767178006470203, -0.00017216822016052902, 0.06058870255947113, -0.013650242239236832, 0.05313185974955559, -0.03354094922542572, -0.025418641045689583, -0.04613421484827995, 0.005176657810807228, -0.011626485735177994, 0.009103030897676945, 0.013815086334943771, 0.08154673874378204, 0.0364052951335907, 0.03937685862183571, -0.013935019262135029, 0.019724301993846893, 0.09250934422016144, -0.0000465612938569393, -0.05901751667261124, -0.003951559774577618, -0.08853934705257416, -0.06768129765987396, 0.0404706709086895, -0.079341821372509, 0.016100164502859116, -0.03877000883221626, 0.056777630001306534, -0.010126112960278988, -0.05241921916604042, -0.04948827251791954, -0.06774336099624634, 0.07476656883955002, -0.05806860327720642, 0.016096632927656174, 0.025621537119150162, -0.022891400381922722, -0.018251873552799225, 0.029641620814800262, 0.072736456990242, -0.045937251299619675, 0.04315788671374321, -0.06792642176151276, 0.07386085391044617, -0.040108032524585724, 0.03491843491792679, 0.024597041308879852, -0.03775950148701668, 0.004836344160139561, -0.006856081075966358, 0.052939943969249725, -0.009443259797990322, -0.027948444709181786, -0.00902897771447897, 0.006699827965348959, 0.01949276030063629, -0.020273001864552498, 0.0012155611766502261, -0.00046537641901522875, -0.022808142006397247, 0.022465385496616364, 0.03219087794423103, 0.039019741117954254, 0.023576682433485985, 0.03149041905999184, 0.03024008683860302, 0.004196225665509701, 0.007979130372405052, 0.03767494112253189, -0.03747507557272911, 0.027884477749466896, -0.018133103847503662, 0.01864219829440117, -0.002240486443042755, 0.040861696004867554, 0.009911851026117802, 0.06837853789329529, -0.028131425380706787, 0.05436558276414871, -0.025206299498677254, -0.034656036645174026, -0.013891328126192093, -0.03272523358464241, 0.014049495570361614, 0.019777096807956696, -0.0024700211361050606, 0.01112049724906683, -0.005676986649632454, -0.0028647410217672586, -0.008095472119748592, -0.018993034958839417, 0.012946627102792263, 0.039662569761276245, 0.028408454731106758, 0.01107550784945488, 0.03542030230164528, -0.023398924618959427, 0.055163029581308365, 0.007924125529825687, -0.0070463987067341805, -0.11575588583946228, -0.06202102452516556, -0.005624852143228054, -0.0252295583486557, 0.0030929571948945522, -0.029911953955888748, 0.027075234800577164, -0.047794897109270096, 0.0016511250287294388, 0.0033313704188913107, -0.00269585894420743, -0.01757054217159748, 0.026926925405859947, -0.006023714318871498, 0.007017366122454405, -0.0021750787273049355, -0.0004185332509223372, 0.0013120995135977864, -0.007787313312292099, 0.060442421585321426, -0.022548014298081398, -0.002605784684419632, -0.021280810236930847, -0.008185486309230328, -0.024171246215701103, 0.013075047172605991, -0.0162831861525774, 0.06605703383684158, -0.015261774882674217, 0.005787662696093321, -0.01161201111972332, 0.015664851292967796, 0.0026505272835493088, 0.026502391323447227, -0.04475072771310806, -0.010732484981417656, 0.01727055199444294, -0.045263610780239105, -0.030987998470664024, 0.01614556275308132, -0.001362823648378253, -0.014835973270237446, -0.0040953150019049644, -0.01636528968811035, -0.0288735032081604, 0.024547891691327095, -0.04964946210384369, -0.009597543627023697, 0.03767038881778717, -0.013374295085668564, -0.022805839776992798, 0.018917538225650787, 0.004779206123203039, 0.056898072361946106, -0.023656737059354782, 0.015485539101064205, -0.021844318136572838, 0.016724318265914917, 0.0160616934299469, -0.009674960747361183, -0.023615343496203423, 0.05127180367708206, -0.01462356373667717, 0.022116204723715782, 0.018258128315210342, 0.022835608571767807, -0.046349458396434784, -0.036510124802589417, -0.02507878467440605, 0.04201040044426918, -0.0007877543685026467, -0.025981148704886436, 0.014154186472296715, 0.002889805706217885, 0.004552431870251894, -0.026295747607946396, 0.004723864607512951, -0.0004708946216851473, 0.06743327528238297, 0.029347781091928482, 0.008975259028375149, 0.019453061744570732, -0.014401872642338276, -0.05257023870944977, -0.03266482800245285, 0.011386845260858536, 0.00717234518378973, -0.03538684919476509, 0.002861996181309223, 0.014176419004797935, -0.0021199220791459084, -0.010710901580750942, -0.039853110909461975, 0.008994918316602707, -0.04453812167048454, -0.008764262311160564, 0.03378710523247719, 0.012135222554206848, 0.013674981892108917, -0.03995339572429657, 0.047361113131046295, 0.023949546739459038, -0.02391856536269188, 0.03909635916352272, -0.01787332445383072, 0.005133959464728832, -0.043226782232522964, -0.03405996039509773, -0.017476152628660202, 0.012112670578062534, 0.01739603281021118, -0.02272624708712101, 0.04703633859753609, -0.014721974730491638, 0.013247265480458736, -0.0066455211490392685, 0.05518639460206032, -0.051462866365909576, -0.08175138384103775, 0.003216763725504279, -0.08864721655845642, -0.012327540665864944, -0.006850195582956076, 0.009912606328725815, -0.03448444977402687, -0.014860063791275024, 0.027401592582464218, -0.04476473107933998, 0.023648083209991455, 0.019961686804890633, 0.01099228672683239, -0.025990769267082214, -0.0026525903958827257, -0.013843758031725883, -0.011271690018475056, 0.02587871067225933, -0.01912858709692955, 0.010623612441122532, -0.017095835879445076, -0.024731962010264397, 0.035293832421302795, -0.01215212233364582, 0.010750889778137207, 0.011594882234930992, 0.025146005675196648, -0.04071247950196266, -0.009104082360863686, 0.027797751128673553, -0.010002128779888153, 0.024803992360830307, 0.03442099317908287, 0.016721032559871674, -0.02985607646405697, -0.007331143133342266, -0.051651328802108765, 0.06179444491863251, -0.058864351361989975, -0.019951950758695602, 0.0033907375764101744, -0.000733139633666724, 0.010491698980331421, 0.001410558121278882, -0.0024445464368909597, 0.06181212142109871, 0.0036451690830290318, 0.04540269821882248, 0.017552901059389114, -0.003063260344788432, 0.012167531996965408, -0.0023974955547600985, 0.022612353786826134, -0.045980703085660934, 0.02745121344923973, 0.021441195160150528, 0.023994414135813713, 0.0109779117628932, -0.0166386179625988, -0.00019623081607278436, 0.005970749072730541, -0.005711713340133429, 0.017831698060035706, 0.01572991907596588, 0.021107051521539688, -0.04750920832157135, 0.002835396910086274, 0.0016254738438874483, 0.04406595602631569, -0.0007012627320364118, 0.005964561365544796, 0.018904322758316994, 0.0049898661673069, 0.004569506738334894, -0.024511286988854408, -0.015430574305355549, 0.01668349839746952, 0.03814665973186493, 0.017603129148483276, -0.03957480564713478, -0.0215435978025198, 0.015330417081713676, 0.04423109069466591, 0.05956896394491196, -0.025549501180648804, 0.003796998644247651, -0.005211200565099716, 0.010592999868094921, 0.03287713602185249, -0.0019584507681429386, 0.022143658250570297, -0.008906442672014236, -0.0036541204899549484, 0.039964672178030014, -0.026944758370518684, -0.020951785147190094, 0.025737272575497627, 0.029312675818800926, -0.016558948904275894, 0.001002062694169581, -0.02532701939344406, 0.0471329391002655, 0.036537110805511475, 0.012864201329648495, -0.03528254106640816, 0.04701993241906166, 0.036808114498853683, -0.0004277212137822062, 0.004217536188662052, 0.03918270766735077, 0.03177085518836975, -0.021440399810671806, 0.07743969559669495, 0.033066071569919586, 0.022779712453484535, -0.01665031909942627, -0.006130886729806662, 0.011232093907892704, 0.008063877932727337, 0.03718922287225723, -0.027161134406924248, -0.05479346960783005, 0.03436477482318878, -0.03687368705868721, -0.03886742889881134, 0.010745425708591938, 0.003000957425683737, -0.0014693844132125378, 0.03693053871393204, 0.010413844138383865, -0.0240908395498991, 0.016386695206165314, 0.029951293021440506, -0.008386433124542236, 0.050015248358249664, -0.029029792174696922, -0.0201287679374218, -0.009789281524717808, -0.0018909162608906627, -0.014515415765345097, -0.025077883154153824, -0.03841699659824371, 0.04286278411746025, -0.014953341335058212, 0.031132297590374947, 0.04442194849252701, 0.0077884616330266, 0.04969167709350586, 0.009789632633328438, 0.02143845334649086, -0.029316851869225502, 0.03165051341056824, -0.012632416561245918, 0.029039643704891205, 0.014985588379204273, -0.030357725918293, -0.00894497986882925, -0.01530301384627819, 0.0422649122774601, 0.06018730252981186, -0.01406113151460886, 0.0371645949780941, 0.009085603058338165, 0.06447852402925491, 0.011121618561446667, -0.027355210855603218, -0.017311977222561836, 0.05642325431108475, 0.015215153805911541, -0.02586902678012848, 0.041906002908945084, -0.0036227586679160595, 0.02746991068124771, -0.05187751725316048, 0.004957906901836395, 0.03465860337018967, -0.003455279627814889, -0.001673419028520584, -0.014857023023068905, -0.017081368714571, 0.013669738546013832, -0.03287845849990845, 0.012229995802044868, -0.026057276874780655, 0.05539528653025627, 0.021470898762345314, 0.01211854349821806, 0.007360717281699181, 0.023036649450659752, -0.05631205812096596, 0.030077742412686348, -0.0022005934733897448, 0.0297074094414711, 0.005945117212831974, -0.010291132144629955, 0.0010892507852986455, 0.012831215746700764, -0.010815877467393875, 0.0625099316239357, 0.009543503634631634, 0.006272791884839535, -0.024892576038837433, 0.029345249757170677, -0.025896258652210236, -0.048281025141477585, -0.029906271025538445, 0.0002658423618413508, -0.022446226328611374, 0.016205890104174614, -0.007343659643083811, 0.021107668057084084, -0.019806083291769028, 0.012736009433865547, 0.03801172599196434, 0.0274344552308321, -0.005167489405721426, -0.02084372378885746, 0.03484251722693443, 0.03904685750603676, 0.025920739397406578, -0.060873497277498245, 0.0032479434739798307, -0.006509648635983467, -0.03650377318263054, -0.00534883514046669, 0.02748502790927887, -0.01646341383457184, -0.008096746169030666, -0.021936064586043358, 0.031649958342313766, -0.033053625375032425, 0.011271745897829533, -0.00036602694308385253, -0.01831488311290741, -0.003109564306214452, -0.009623751044273376, 0.02563757635653019, -0.0010161401005461812, -0.026461182162165642, 0.0010646024020388722, 0.004258351866155863, -0.02665705233812332, -0.027284007519483566, 0.02163420245051384, 0.030979275703430176, 0.0010864917421713471, 0.017801493406295776, 0.01085431408137083, -0.009456135332584381, 0.0005952830542810261, -0.0011772233992815018, 0.0629236102104187, 0.002705187303945422, -0.048739027231931686, -0.004789436236023903, 0.02025405690073967, -0.02597164735198021, -0.01250219251960516, 0.018290506675839424, -0.03169430419802666, -0.0002689370303414762, -0.01000045146793127, 0.06352877616882324, -0.030966468155384064, -0.004925383720546961, 0.06332655996084213, 0.05966831371188164, -0.0008734859293326735, -0.014753349125385284, 0.04965535178780556, 0.021207423880696297, 0.06681462377309799, -0.0016001351177692413, 0.0018203631043434143, -0.013526263646781445, -0.02367543615400791, -0.03265902027487755, -0.032133881002664566, -0.0664655789732933, -0.0007468744879588485, -0.022859832271933556, 0.03155437111854553, -0.0330674909055233, 0.010927676223218441, -0.014276712201535702, -0.015722772106528282, -0.004209598526358604, -0.02154679223895073, 0.01064582820981741, -0.02346818335354328, 0.009221411310136318, 0.005050628446042538, -0.008680649101734161, 0.009549463167786598, 0.0009528666851110756, 0.021927503868937492, 0.0003033727698493749, -0.06705524772405624, -0.027288168668746948, 0.020453467965126038, 0.05732901766896248, -0.0023559187538921833, -0.016694173216819763, 0.004437637515366077, -0.0005625759367831051, 0.014416700229048729, 0.014519738033413887, 0.021297674626111984, -0.028966624289751053, 0.012902319431304932, 0.030450431630015373, -0.05398373678326607, 0.030458912253379822, 0.006292831152677536, 0.04215247556567192, 0.038740843534469604, 0.0667695701122284, -0.019490545615553856, 0.022940536960959435, -0.030397621914744377, -0.014863626100122929, 0.018402857705950737, -0.051496341824531555, -0.006706187501549721, -0.03497081622481346, 0.00308901141397655, -0.006175518501549959, -0.08340251445770264, 0.01944606564939022, -0.0020094881765544415, -0.004767787642776966, -0.010357694700360298, 0.03340007737278938, -0.037491194903850555, 0.04512544348835945, -0.001757929683662951, 0.022332269698381424, 0.00252150627784431, 0.01717088557779789, -0.036170318722724915, 0.05828956142067909, -0.010020794346928596 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
Best piece of advice for someone looking to get into AI/Machine Learning? Lewis: Just start. Just start coding. Just start contributing if you want to do open-source. You can always find reasons not to do it but you just have to get your hands dirty.
[ 0.1018826887011528, -0.011095363646745682, -0.004133906215429306, 0.04057614877820015, 0.05705147981643677, 0.028257830068469048, -0.060671351850032806, 0.007711390499025583, -0.014524048194289207, -0.015283193439245224, -0.049249473959207535, 0.07703953236341476, -0.007040751166641712, -0.00858774222433567, 0.046942003071308136, -0.027775689959526062, 0.006964146625250578, -0.018817417323589325, 0.03765648975968361, 0.011580381542444229, -0.02920323796570301, 0.042065978050231934, -0.012661191634833813, -0.004302539397031069, -0.019846104085445404, -0.040401194244623184, 0.013441420160233974, -0.015070532448589802, -0.03727420046925545, -0.0012578071327880025, -0.07323451340198517, 0.015952272340655327, -0.04761185869574547, -0.035033416002988815, -0.01818932592868805, 0.03325468301773071, -0.017903458327054977, 0.05926460027694702, 0.07718470692634583, -0.0014160900609567761, -0.044189076870679855, -0.027392711490392685, -0.11216170340776443, 0.05525602027773857, -0.07749246060848236, -0.05204939469695091, -0.21031658351421356, 0.040775466710329056, -0.02628512680530548, -0.0517750084400177, 0.037740640342235565, 0.06695128977298737, -0.044393494725227356, 0.013155371882021427, 0.011752674356102943, 0.04131811112165451, 0.055547043681144714, -0.08702116459608078, -0.08130385726690292, 0.04959483817219734, 0.07865121215581894, 0.028581226244568825, 0.018962794914841652, -0.0007905947277322412, 0.03471938520669937, -0.02744659222662449, -0.00727176433429122, -0.013549398630857468, -0.10654478520154953, -0.013454745523631573, 0.06098782271146774, -0.05298016592860222, 0.0009409414487890899, -0.011507987976074219, 0.011313543654978275, -0.07278541475534439, 0.07678788900375366, 0.06783032417297363, 0.014029213227331638, -0.010189102031290531, -0.008964385837316513, 0.035239577293395996, 0.03260442242026329, 0.013899893499910831, 0.05945446342229843, 0.029628541320562363, -0.0028286913875490427, 0.002216224791482091, -0.04621370881795883, 0.07161449640989304, 0.016733834519982338, -0.09190662950277328, 0.03038773499429226, 0.05286957323551178, 0.07926641404628754, -0.08041795343160629, -0.020998302847146988, 0.008379802107810974, -0.025434141978621483, -0.054473988711833954, -0.014351545833051205, 0.0004040729545522481, 0.03216284513473511, -0.006908169481903315, -0.049413714557886124, 0.08956161886453629, 0.00584007240831852, -0.06260421872138977, -0.042776159942150116, 0.006163022946566343, -0.07416294515132904, 0.0030602163169533014, 0.013112938031554222, 0.016450272873044014, -0.0678495243191719, 0.08088800311088562, 0.014986475929617882, -0.0733225867152214, -0.0007674824446439743, 0.05819018930196762, 0.015329821966588497, 0.013323376886546612, -0.011053028516471386, 0.029271844774484634, 0.001847766456194222, 0.03674055263400078, 0.016527650877833366, 0.045047830790281296, 0.05540384724736214, -0.039428457617759705, 0.07446413487195969, 0.012426119297742844, -0.003758732695132494, -0.05589408054947853, 0.0276237353682518, -0.019145293161273003, 0.04178167134523392, -0.027835877612233162, 0.021294964477419853, 0.005499073304235935, -0.03400227054953575, 0.006623152177780867, 0.031551770865917206, 0.04639766365289688, 0.07953285425901413, 0.015416299924254417, -0.053793881088495255, 0.007420453708618879, -0.009424760937690735, 0.06714653223752975, -0.06564836204051971, 0.0738895833492279, -0.10422544181346893, -0.07728995382785797, 0.01298702321946621, 0.06367739289999008, 0.010546494275331497, 0.006800773087888956, 0.06915164738893509, -0.005556794814765453, 0.04655454307794571, -0.0001272965600946918, 0.009136801585555077, 0.008666195906698704, 0.044349029660224915, -0.11294016242027283, 0.009836900047957897, 0.003541391110047698, -0.010164840146899223, 0.012437880970537663, 0.01045542024075985, -0.018240591511130333, 0.08957255631685257, -0.08389853686094284, 0.0420597642660141, 0.0011796102626249194, 0.02460244856774807, 0.014532462693750858, -0.013742264360189438, -0.022348301485180855, -0.04953569546341896, 0.00027951301308348775, -0.024975134059786797, -0.001532378257252276, 0.049138057976961136, -0.051384493708610535, -0.02125341072678566, -0.0024444384034723043, 0.03294528275728226, -0.037092119455337524, -0.014884659089148045, -0.03149861842393875, 0.10646162182092667, 0.03185994178056717, 0.03507518023252487, -0.02175561524927616, -0.042594268918037415, 0.0797714963555336, 0.05035952851176262, 0.048104386776685715, 0.037356335669755936, -0.031832508742809296, 0.024771688506007195, -0.036793965846300125, -0.011027811095118523, 0.0335153304040432, 0.057106807827949524, -0.023315753787755966, 0.023219825699925423, 0.040415648370981216, 0.03344472870230675, -0.05254003405570984, 0.0025202699471265078, -0.038864973932504654, 0.015529962256550789, 0.01769266650080681, -0.005230613052845001, 0.01220366358757019, 0.005113690625876188, -0.006661650259047747, 0.14954176545143127, -0.07312843948602676, 0.0009534540586173534, 0.048324547708034515, 0.0036109574139118195, 0.05406332388520241, 0.11418851464986801, 0.04368490353226662, 0.08840001374483109, -0.10897886753082275, -0.055858809500932693, -0.021197954192757607, 0.008382369764149189, 0.025136692449450493, 0.010488987900316715, 0.021587954834103584, 0.02498788759112358, -0.015246335417032242, -0.018589194864034653, -0.014977085404098034, -0.04175958409905434, -0.07454050332307816, 0.0014740213518962264, -0.007045619655400515, 0.015053536742925644, 0.00793132558465004, 0.06474260240793228, 0.0012086257338523865, 0.042504459619522095, 0.06123265251517296, -0.018028460443019867, 0.007748628966510296, 0.01907147467136383, 0.008618444204330444, -0.0627274140715599, -0.009083427488803864, 0.002584554022178054, -0.010112372227013111, -0.026597298681735992, 0.04596919193863869, 0.02640751749277115, -0.005305454134941101, -0.022628454491496086, -0.020360752940177917, 0.00332990032620728, -0.02191155031323433, -0.06016916409134865, -0.011949491687119007, -0.004434235394001007, 0.015840983018279076, 0.03509264439344406, -0.03146704286336899, 0.050661325454711914, 0.023285530507564545, -0.03399568051099777, -0.000014696957805426791, 0.01987064629793167, -0.0175896268337965, -0.03238537162542343, -0.023403281345963478, 0.004292425233870745, 0.006170308217406273, 0.03395981714129448, 0.04929870739579201, -0.029882293194532394, -0.03456834703683853, -0.00415412662550807, 0.0012199896154925227, -0.03734947368502617, 0.039966460317373276, -0.01898549683392048, 0.048523347824811935, -0.046972595155239105, -0.020615020766854286, -0.045079056173563004, -0.026763973757624626, 0.01822861097753048, -0.022251473739743233, -0.021940063685178757, -0.0225647184997797, 0.01068141683936119, 0.03710392862558365, 0.004228522069752216, -0.03567981719970703, -0.01422237977385521, 0.03796830773353577, 0.021090634167194366, -0.019219493493437767, -0.10132376104593277, -0.0224744975566864, -0.03405032679438591, 0.0012192658614367247, 0.03147599473595619, -0.018807781860232353, 0.05315491184592247, 0.0014947033487260342, -0.024643216282129288, -0.013349330984055996, -0.012711278162896633, 0.013026549480855465, -0.024929698556661606, 0.06686422228813171, 0.022883405908942223, 0.01323836948722601, -0.008134261704981327, -0.002566029317677021, -0.02043311484158039, 0.04074660316109657, -0.04302993416786194, 0.07931683212518692, -0.027831001207232475, 0.05962274223566055, 0.02160503901541233, 0.01805049367249012, 0.011774202808737755, 0.03531404584646225, 0.008847479708492756, -0.013348196633160114, 0.016081754118204117, 0.01565931737422943, -0.07008599489927292, 0.008581886067986488, -0.031200755387544632, 0.016641879454255104, 0.030916638672351837, 0.02870955318212509, 0.0038741729222238064, 0.04469190537929535, -0.0062269847840070724, -0.06671851128339767, -0.009584222920238972, -0.015928873792290688, -0.018104664981365204, -0.016525067389011383, -0.01015257928520441, 0.02458847500383854, -0.023421846330165863, -0.06873423606157303, -0.02902086079120636, -0.009783705696463585, 0.03606543689966202, 0.0029496897477656603, 0.017510173842310905, -0.008932181634008884, 0.0045370664447546005, 0.0633736103773117, -0.006822783499956131, 0.010561610572040081, -0.03846681863069534, 0.02211640030145645, 0.03900203853845596, -0.04993726313114166, -0.02807179093360901, 0.017252733930945396, 0.0019362911116331816, -0.02845652960240841, 0.024354256689548492, 0.03734208643436432, 0.05047323927283287, 0.005042236763983965, 0.0012598470784723759, 0.007380015216767788, -0.021888116374611855, 0.006222018972039223, -0.04200577363371849, -0.0028292194474488497, 0.10185959935188293, 0.05230455473065376, -0.04639643430709839, -0.04532768577337265, -0.019687242805957794, -0.060578394681215286, -0.033019058406353, -0.022187255322933197, 0.02164960838854313, -0.0332372710108757, 0.014851001091301441, 0.04125584289431572, 0.02397100441157818, -0.03340879827737808, 0.017184056341648102, 0.002741689793765545, 0.03330366685986519, 0.011457768268883228, 0.027581866830587387, 0.01130736991763115, -0.007451711222529411, 0.0070085544139146805, 0.03402377665042877, -0.02702777273952961, 0.002118969103321433, -0.041333746165037155, 0.006509847939014435, 0.019290195778012276, 0.02858923189342022, -0.05336922034621239, 0.02872442454099655, -0.01849214732646942, -0.007832800969481468, -0.02443573623895645, -0.02689318172633648, -0.03699792921543121, -0.0004570674791466445, 0.02788766473531723, -0.028141677379608154, -0.027757978066802025, -0.006396952085196972, -0.011885490268468857, -0.031984593719244, -0.07052327692508698, -0.02078833431005478, -0.01090614590793848, 0.04632751643657684, -0.030268985778093338, 0.00003664639370981604, -0.028606927022337914, 0.01940842717885971, 0.02326432429254055, -0.015531107783317566, -0.03760630637407303, 0.00959029421210289, -0.04346276447176933, -0.02013283222913742, -0.0010089142015203834, -0.0008548123296350241, 0.045829035341739655, 0.011801805347204208, -0.01326427236199379, 0.03545914217829704, 0.03140423819422722, 0.029549282044172287, -0.05263718590140343, 0.013060195371508598, 0.006915820762515068, -0.0550590381026268, -0.010995381511747837, 0.0028706383891403675, 0.008758078329265118, 0.014569173566997051, 0.002709517953917384, -0.015020315535366535, 0.005424609873443842, -0.012665417045354843, -0.03695068880915642, -0.009378643706440926, 0.004444238729774952, -0.026337463408708572, -0.012228290550410748, -0.017559392377734184, 0.007403233088552952, -0.0014662948669865727, -0.0037765440065413713, 0.03381084278225899, -0.0025894558057188988, 0.020680950954556465, -0.040707655251026154, -0.0035621686838567257, 0.00856208149343729, 0.014315872453153133, 0.00419562216848135, 0.015478086657822132, -0.061161305755376816, -0.0096528185531497, 0.005149151664227247, 0.01295184250921011, 0.009011736139655113, -0.05768546462059021, -0.008168482221662998, -0.0005840544472448528, -0.015575272962450981, 0.013869453221559525, -0.009607477113604546, 0.004588127136230469, 0.027036985382437706, 0.06407322734594345, 0.045387204736471176, -0.014550798572599888, 0.00449577858671546, 0.04445454105734825, 0.008118155412375927, 0.013166687451303005, -0.021915892139077187, 0.01120895054191351, -0.044542014598846436, 0.03437862917780876, -0.03215917944908142, -0.026357868686318398, -0.024001799523830414, 0.013628227636218071, 0.02313515543937683, 0.0111659225076437, 0.0015254357131198049, 0.04784093424677849, -0.020616529509425163, -0.0419696569442749, -0.0021642555948346853, 0.060825057327747345, 0.02694420889019966, -0.012602051720023155, -0.00018802870181389153, 0.018762120977044106, -0.03341566398739815, 0.00046776788076385856, -0.0059897033497691154, -0.012480752542614937, 0.04172099754214287, 0.02373610995709896, 0.036282386630773544, -0.011005968786776066, 0.0038043453823775053, -0.05914591625332832, 0.00562683679163456, -0.005645181983709335, 0.017071444541215897, -0.009516277350485325, 0.047889143228530884, -0.005798185709863901, -0.011187378317117691, 0.0545082651078701, -0.0177106074988842, 0.02821577526628971, 0.06110654026269913, -0.005290486384183168, -0.029259664937853813, -0.028441166505217552, 0.06244296953082085, 0.01890658214688301, -0.012686735950410366, -0.04009542614221573, -0.0064559755846858025, -0.055107057094573975, -0.0018394211074337363, -0.03745077922940254, 0.016623511910438538, 0.032683372497558594, 0.01973000355064869, 0.0025855619460344315, -0.013796829618513584, 0.03335849195718765, 0.022627098485827446, 0.019425172358751297, 0.006762933451682329, 0.02606385573744774, 0.022349843755364418, 0.029518086463212967, -0.01265302486717701, -0.033413875848054886, -0.008982473984360695, 0.009801700711250305, -0.06251692026853561, 0.02550703100860119, 0.003906752914190292, -0.016110146418213844, 0.005654696840792894, -0.02215661108493805, -0.006091383285820484, -0.008882950991392136, -0.03895477578043938, 0.02776162326335907, 0.0029604497831314802, 0.012216497212648392, 0.03454209119081497, 0.018708135932683945, -0.033652741461992264, 0.006055389530956745, 0.04583493247628212, -0.05385386198759079, 0.04445395991206169, 0.021567223593592644, 0.027400778606534004, 0.017759159207344055, -0.005022958852350712, -0.03878419101238251, 0.02466360107064247, 0.06156283617019653, 0.07083578407764435, 0.04722678288817406, 0.07777466624975204, -0.018788229674100876, -0.06189556047320366, -0.015813305974006653, -0.012809758074581623, -0.00952854659408331, 0.037262894213199615, 0.03749296814203262, -0.015255824662744999, 0.011935094371438026, -0.049143679440021515, 0.016398807987570763, -0.005114259663969278, 0.02424086444079876, -0.014570334926247597, 0.05016576126217842, 0.048688195645809174, 0.004380329046398401, -0.012820076197385788, 0.03412595018744469, 0.006212946493178606, -0.006602847948670387, 0.03653424605727196, 0.026967719197273254, 0.02904665470123291, 0.0216180719435215, -0.001879270887002349, 0.026015181094408035, 0.012928178533911705, 0.012983622029423714, -0.03223579376935959, -0.04356716200709343, -0.054574109613895416, -0.043823208659887314, -0.014536408707499504, -0.046389900147914886, -0.002181780058890581, -0.020964348688721657, 0.0050438628531992435, 0.026547009125351906, -0.043019868433475494, 0.014178087003529072, 0.0277645792812109, -0.005749100353568792, 0.009824068285524845, -0.0034130937419831753, 0.004980404395610094, 0.021691257134079933, -0.004409939981997013, -0.039472900331020355, -0.017618801444768906, -0.044248998165130615, 0.010194859467446804, -0.019331028684973717, 0.008582851849496365, -0.041284944862127304, -0.045401815325021744, 0.02341976761817932, 0.00434495136141777, -0.021159395575523376, 0.05504412576556206, 0.014162124134600163, 0.00887308269739151, -0.012328753247857094, 0.0036255877930670977, -0.05261562392115593, -0.017003292217850685, -0.011790775693953037, -0.0067944894544780254, -0.006765342783182859, -0.005844202358275652, 0.0027109580114483833, 0.0011928639141842723, 0.029487276449799538, -0.016601702198386192, -0.011515325866639614, 0.03783844783902168, 0.006201337091624737, -0.03261268511414528, 0.011687880381941795, 0.01987442746758461, -0.024849748238921165, 0.049628131091594696, 0.010667971335351467, 0.041988931596279144, 0.002871092641726136, -0.017189988866448402, 0.030705777928233147, 0.004477737471461296, -0.0414176881313324, 0.007705081719905138, 0.030238714069128036, -0.03240686282515526, 0.0035196549724787474, 0.014052622951567173, 0.007465115748345852, -0.02403498813509941, -0.018271006643772125, 0.00494069280102849, 0.005934432614594698, 0.0378640741109848, -0.026769716292619705, -0.022238072007894516, -0.03441663086414337, -0.017510628327727318, -0.019974857568740845, -0.004954204428941011, -0.06667307764291763, -0.01732277311384678, -0.02583061158657074, 0.018135415390133858, -0.07338631898164749, -0.021178873255848885, 0.023420104756951332, 0.00013030419358983636, 0.0013293264200910926, 0.008755671791732311, 0.0167583916336298, 0.004743997007608414, -0.005509922280907631, 0.008695007301867008, -0.007134922780096531, -0.0023846591357141733, -0.02544560097157955, -0.0005944742006249726, 0.029485270380973816, 0.004928419832140207, -0.012740807607769966, -0.026080595329403877, 0.05622151121497154, -0.016140185296535492, -0.021447034552693367, -0.008143594488501549, -0.01718301884829998, -0.021783171221613884, 0.04053245857357979, 0.024800201877951622, -0.04404439777135849, 0.013873293995857239, 0.036073826253414154, -0.003621633630245924, 0.007329082116484642, 0.013878119178116322, -0.00961657240986824, 0.015620781108736992, 0.038534488528966904, -0.004358666483312845, 0.025713160634040833, -0.023549681529402733, -0.005722736474126577, 0.022396376356482506, -0.03614057973027229, -0.023517746478319168, -0.0390288420021534, 0.05396924540400505, -0.01739916391670704, -0.028768062591552734, 0.024607647210359573, -0.01849655993282795, 0.002071773400530219, 0.022147173061966896, 0.0035904718097299337, -0.011474035680294037, 0.025271479040384293, 0.00804902520030737, -0.016868313774466515, 0.0612189956009388, 0.05993952974677086, 0.019837861880660057, -0.008007868193089962, -0.005396877881139517 ]
Machine Learning Experts - Lewis Tunstall Interview
britneymuller
April 13, 2022
lewis-tunstall-interview
expert-acceleration-program, ml-experts
https://huggingface.co/blog/lewis-tunstall-interview
What are some transformers applications that you're excited about? Lewis: So one that's kind of fun is in the course we had an event last year where we got people in the community to use the course material to build applications. And one of the participants in this event created a cover letter generator for jobs. So the idea is that when you apply for a job there's always this annoying thing you have to write a cover letter and it's always like a bit like you have to be witty. So this guy created a cover letter generator where you provide some information about yourself and then it generates it from that. And he actually used that to apply to Hugging Face.
[ 0.0789034515619278, -0.0038821895141154528, 0.06895173341035843, -0.024853629991412163, 0.03334846347570419, 0.03327436372637749, 0.015631288290023804, 0.04008617624640465, 0.012175748124718666, -0.009457292035222054, -0.08169642835855484, 0.07676541060209274, 0.02740197628736496, 0.025009725242853165, -0.012491208501160145, -0.029238982126116753, 0.018694764003157616, 0.010123226791620255, 0.0008993508527055383, -0.013803755864501, -0.03127102181315422, 0.029307441785931587, 0.06452202051877975, -0.005012953653931618, 0.012826807796955109, -0.04819243401288986, -0.00028552146977744997, -0.013034758158028126, -0.02713576704263687, 0.06733039766550064, -0.0597127266228199, -0.0037969660479575396, 0.06624405831098557, -0.04089337959885597, -0.06433861702680588, -0.005742714740335941, -0.13488665223121643, 0.05622835084795952, -0.013434396125376225, -0.04834062606096268, 0.012125547043979168, -0.017337942495942116, -0.05669700726866722, -0.013780917972326279, -0.01796766184270382, -0.036815669387578964, -0.22804027795791626, 0.0760105773806572, -0.10296693444252014, -0.043745800852775574, -0.04065367206931114, 0.0895438864827156, -0.007241991814225912, -0.020875848829746246, 0.036334339529275894, 0.08224587887525558, 0.06173691526055336, -0.06262645870447159, 0.00662072841078043, 0.008115892298519611, -0.010591031052172184, 0.00652155838906765, 0.006728288251906633, 0.040943827480077744, 0.05398925021290779, -0.004333877936005592, -0.021160002797842026, 0.0071632652543485165, -0.045869067311286926, -0.020131809636950493, 0.01401280052959919, -0.03413233533501625, -0.032764822244644165, -0.06928569078445435, 0.028420500457286835, 0.009181005880236626, 0.032910943031311035, 0.07635175436735153, 0.009481912478804588, 0.057529985904693604, 0.01810588873922825, 0.017401764169335365, 0.09702635556459427, 0.06361623853445053, 0.04145525395870209, 0.04856741055846214, 0.006770995911210775, -0.04649519547820091, -0.10322225093841553, 0.061462100595235825, 0.02869105525314808, -0.1338883638381958, 0.024626420810818672, -0.0008816358167678118, 0.10787991434335709, -0.036565568298101425, -0.030250851064920425, -0.047077007591724396, -0.054800260812044144, 0.0006539152236655354, 0.023119866847991943, -0.04118034988641739, 0.0325499102473259, -0.04022741690278053, -0.04443866014480591, 0.01648220419883728, 0.004777218215167522, -0.09785491228103638, -0.02533932775259018, 0.0866515263915062, -0.004129732958972454, -0.05506683886051178, 0.04672999307513237, 0.03539713844656944, -0.051802873611450195, 0.06270916759967804, 0.007558605633676052, -0.051510319113731384, -0.022102007642388344, 0.008249049074947834, 0.007576600648462772, 0.03307206183671951, -0.023277826607227325, 0.023169809952378273, 0.023261575028300285, 0.06051025167107582, -0.05634189024567604, -0.012359865941107273, 0.009749719873070717, -0.02009953185915947, 0.04569120705127716, 0.027194051072001457, 0.045270249247550964, 0.02747723087668419, 0.031994082033634186, -0.06365923583507538, 0.017179030925035477, -0.05262092128396034, 0.03241784870624542, 0.012006288394331932, 0.049398381263017654, 0.052041586488485336, 0.0913948193192482, 0.03137637674808502, -0.024915041401982307, -0.04126814380288124, -0.06684781610965729, 0.05719158425927162, -0.027973778545856476, 0.03704838082194328, -0.003625195473432541, 0.030306143686175346, -0.034860759973526, -0.023794127628207207, 0.004979008808732033, 0.05059250816702843, -0.030255120247602463, -0.008386810310184956, -0.004966523963958025, -0.046846188604831696, -0.007879046723246574, -0.01481169369071722, -0.027473753318190575, 0.035747699439525604, 0.038302771747112274, -0.016619302332401276, -0.027354391291737556, -0.05711076408624649, 0.0024017260875552893, 0.0012914360268041492, -0.004011794459074736, -0.025414414703845978, -0.013968602754175663, -0.014671801589429379, -0.01345953531563282, 0.03091478906571865, 0.06188086047768593, 0.0028664306737482548, 0.014714809134602547, 0.0036810070741921663, -0.022452913224697113, 0.059358932077884674, 0.03961808234453201, 0.06734328716993332, 0.045345354825258255, -0.0484289787709713, -0.05283982306718826, 0.025492312386631966, -0.015904204919934273, 0.004808366764336824, -0.07101410627365112, 0.01666383631527424, 0.09361301362514496, -0.001336747664026916, 0.010615079663693905, -0.025453656911849976, -0.07090817391872406, 0.08090945333242416, 0.04900370538234711, 0.06760808825492859, 0.0026208816561847925, 0.01638067699968815, 0.03806361183524132, -0.07386971265077591, 0.0069962008856236935, 0.002237825421616435, 0.04041989892721176, 0.008419588208198547, -0.021300634369254112, 0.030914729461073875, 0.09886130690574646, -0.07604634016752243, 0.05127742886543274, -0.056311871856451035, 0.009577999822795391, -0.03345731273293495, -0.03993116691708565, 0.007507046684622765, -0.030230000615119934, -0.010687284171581268, 0.10684342682361603, -0.0013971725711598992, -0.07128549367189407, -0.0582919642329216, 0.03495413064956665, 0.07311251014471054, 0.036485809832811356, 0.04902143031358719, 0.09092055261135101, -0.07508078962564468, -0.03184208273887634, -0.010742905549705029, -0.07049746811389923, -0.03629494458436966, -0.08693694323301315, -0.0461614690721035, 0.05669056251645088, 0.0017764572985470295, -0.010939153842628002, -0.008006680756807327, 0.008369478397071362, 0.010145612061023712, 0.012813114561140537, 0.045241910964250565, -0.02955097332596779, -0.0048629590310156345, 0.0671602189540863, 0.008331178687512875, 0.03796344995498657, 0.03972728177905083, -0.0707056000828743, 0.06108091026544571, 0.02466234378516674, -0.030623886734247208, 0.03208637982606888, 0.027402173727750778, -0.01019213441759348, 0.009587115608155727, -0.03737831488251686, 0.011658895760774612, -0.019530516117811203, -0.007856453768908978, -0.0003013689420185983, -0.04917502403259277, -0.03268878534436226, -0.005402880720794201, 0.008277423679828644, 0.027085451409220695, -0.015673022717237473, 0.03414647653698921, 0.000863368040882051, -0.029647378250956535, 0.0686672255396843, -0.026296716183423996, 0.0029491845052689314, -0.008962364867329597, 0.06574981659650803, 0.011609009467065334, 0.005751351360231638, -0.00779194850474596, -0.01188499853014946, -0.04169432818889618, 0.04336730018258095, 0.03618600592017174, 0.03174159303307533, 0.002679757308214903, -0.02006249502301216, -0.009759115986526012, -0.013737443834543228, -0.0008045982685871422, -0.001872682711109519, 0.02424812875688076, 0.01677677407860756, -0.01043973583728075, 0.002680498640984297, -0.000531746307387948, 0.016211513429880142, -0.04033728316426277, -0.03603258728981018, 0.018300652503967285, 0.04259992763400078, -0.009782847948372364, -0.004671287257224321, 0.03304591774940491, -0.01812221296131611, 0.029575737193226814, -0.012609777972102165, 0.0049346075393259525, -0.09824249893426895, -0.03537558764219284, 0.0009556878940202296, -0.036020055413246155, 0.0251724012196064, -0.025306733325123787, 0.026233939453959465, -0.00980090070515871, -0.02592252381145954, 0.030851805582642555, -0.023930655792355537, -0.005940939765423536, -0.007328340318053961, 0.0010531049920246005, 0.011919728480279446, -0.028256157413125038, -0.007648623548448086, 0.03786327689886093, 0.06685510277748108, 0.029149645939469337, -0.014761731959879398, 0.019239600747823715, 0.018240612000226974, 0.005844461265951395, -0.0024290368892252445, -0.009803147055208683, -0.0010932253208011389, 0.049213506281375885, 0.04648138955235481, -0.03726577013731003, 0.0011102138087153435, 0.03283390775322914, -0.004912209697067738, 0.012013583444058895, -0.048333898186683655, -0.03157448396086693, 0.02259403094649315, -0.0355914942920208, 0.01589607074856758, 0.03499962016940117, 0.0011199990985915065, -0.02643437497317791, -0.0007952844025567174, -0.0006104451022110879, 0.042176660150289536, -0.015738891437649727, -0.01608339324593544, 0.006198536604642868, 0.04106854647397995, -0.06218620017170906, -0.025546906515955925, 0.00711359828710556, 0.007718734908849001, 0.014859028160572052, -0.008011181838810444, -0.005384673364460468, -0.0059931655414402485, 0.011425890028476715, -0.026519931852817535, -0.00846228189766407, -0.06235998496413231, 0.008930313400924206, -0.014469146728515625, -0.004123144783079624, -0.028843145817518234, 0.04974214732646942, 0.0037813549861311913, -0.0007482258370146155, 0.010551993735134602, 0.027933038771152496, 0.007703585084527731, -0.0018003726145252585, -0.010359483771026134, 0.011373431421816349, -0.03079156205058098, 0.03840002045035362, -0.012062245048582554, -0.015945106744766235, 0.07311005145311356, 0.016292333602905273, -0.023489562794566154, -0.046613436192274094, -0.015796760097146034, -0.020643366500735283, -0.016664598137140274, -0.00980263389647007, 0.04527520760893822, -0.029780004173517227, 0.0031842703465372324, 0.02572554163634777, 0.008589047938585281, -0.06593405455350876, 0.021529635414481163, -0.0011481017572805285, 0.017961306497454643, 0.0019439375028014183, -0.016414005309343338, -0.02597719244658947, -0.0005190169904381037, -0.039808642119169235, 0.008758601732552052, -0.03565969690680504, -0.021983403712511063, 0.03350995108485222, 0.004765577148646116, 0.022694384679198265, -0.047248709946870804, -0.05283655226230621, 0.018330838531255722, 0.02629544585943222, 0.022659648209810257, -0.03046717680990696, -0.01891128532588482, -0.019133759662508965, 0.03469467908143997, 0.01082666590809822, 0.0463356152176857, -0.012279890477657318, -0.04296006262302399, 0.029785411432385445, -0.051950808614492416, 0.006196943111717701, 0.014187511056661606, 0.004748661071062088, 0.020700447261333466, -0.016856560483574867, 0.04284394159913063, 0.012590824626386166, 0.0054602003656327724, 0.03220297396183014, -0.015700435265898705, 0.008792825043201447, -0.005691176280379295, -0.012208574451506138, 0.017949772998690605, 0.034252673387527466, -0.03625841811299324, 0.010764040984213352, -0.04024631157517433, -0.02672978863120079, -0.0026169538032263517, -0.01097631175071001, 0.04252609610557556, -0.017497867345809937, 0.0176811795681715, 0.02303631789982319, -0.016610313206911087, 0.0017215856350958347, 0.0016177525976672769, 0.013081821613013744, 0.02468244917690754, 0.0121539905667305, -0.0638454332947731, 0.0041419449262320995, 0.005192853976041079, -0.013438425026834011, -0.022210396826267242, 0.004819936119019985, 0.010294861160218716, 0.040964026004076004, 0.004942011088132858, 0.02921483665704727, -0.015335478819906712, 0.04192053899168968, 0.03180329129099846, 0.02404491975903511, -0.0456719696521759, -0.08312617987394333, 0.020413026213645935, -0.009197776205837727, -0.011129829101264477, 0.008115176111459732, 0.01576271280646324, -0.013380802236497402, -0.05003395304083824, 0.05399221181869507, -0.005033968947827816, 0.0018744823755696416, -0.015255867503583431, 0.025857731699943542, 0.0038147238083183765, 0.01896893046796322, -0.012796612456440926, -0.027417941018939018, 0.023552656173706055, 0.03601207211613655, 0.036280129104852676, 0.09533726423978806, -0.02212740108370781, -0.003191199153661728, -0.005987350828945637, -0.031625766307115555, -0.04342981427907944, -0.028567403554916382, 0.0439978651702404, -0.013330656103789806, -0.007203580345958471, -0.017875786870718002, -0.0435984767973423, -0.030519403517246246, 0.043933089822530746, 0.03110460191965103, -0.026895029470324516, 0.00955166295170784, 0.06467586755752563, -0.026280608028173447, 0.014921644702553749, -0.005436064675450325, 0.015592002309858799, -0.06033984199166298, 0.009775158949196339, 0.007679823320358992, 0.027908971533179283, -0.04647769033908844, -0.030044294893741608, -0.017204085364937782, -0.0012156680459156632, -0.002690300578251481, 0.02011658437550068, 0.03478934243321419, -0.024779118597507477, 0.026064470410346985, -0.01037079468369484, 0.017519494518637657, 0.04383189603686333, -0.009677492082118988, 0.011237327009439468, -0.0053109764121472836, -0.00045412941835820675, -0.0033404233399778605, 0.04356804117560387, 0.05091008171439171, 0.018784962594509125, -0.004441504366695881, -0.016046760603785515, -0.024207474663853645, -0.03307880833745003, 0.060857828706502914, 0.005704771727323532, -0.0525994673371315, 0.013952024281024933, -0.008935554884374142, -0.023202717304229736, 0.0030162509065121412, -0.024534231051802635, 0.047917190939188004, 0.08521869033575058, 0.012096203863620758, -0.015125405043363571, -0.011599207296967506, 0.04035603627562523, -0.0019296444952487946, -0.028405962511897087, 0.013056846335530281, -0.0063297743909060955, 0.019038690254092216, 0.003778943093493581, 0.042811885476112366, -0.015239963307976723, -0.026082873344421387, 0.004346178844571114, -0.048242516815662384, -0.00234598177485168, 0.02187400497496128, -0.0289112851023674, 0.052107565104961395, 0.014853538013994694, -0.02367740124464035, 0.012563689611852169, -0.007947447709739208, -0.04365023970603943, 0.04137101396918297, 0.012076443061232567, -0.003961644135415554, 0.018762631341814995, -0.037236232310533524, 0.024656429886817932, 0.016593296080827713, 0.03897342085838318, 0.013948130421340466, 0.01534957718104124, 0.05999428778886795, 0.03253195062279701, -0.008818062953650951, 0.00465808343142271, -0.0019024385837838054, 0.09142883121967316, 0.018869923427700996, 0.030466636642813683, 0.0073934500105679035, -0.025359662249684334, -0.05123160406947136, -0.02593311108648777, -0.020214391872286797, -0.019193274900317192, 0.007082481402903795, 0.019161349162459373, -0.04143710434436798, 0.0010016050655394793, -0.027340592816472054, 0.030473828315734863, 0.016162004321813583, 0.044996168464422226, 0.020129282027482986, 0.0572417676448822, 0.019187292084097862, 0.0314655676484108, 0.014627648517489433, 0.023261846974492073, 0.013704904355108738, -0.008548328652977943, 0.05394895374774933, -0.031522754579782486, 0.02540844865143299, 0.013685747049748898, -0.01539845485240221, 0.042840711772441864, -0.051210273057222366, 0.005065434146672487, -0.027561640366911888, 0.0014829824212938547, -0.058981966227293015, -0.04103228449821472, 0.006208315957337618, 0.02691018581390381, 0.01808292046189308, 0.03837922587990761, -0.03464231640100479, -0.012019491754472256, -0.007852238602936268, -0.007876090705394745, 0.03534489870071411, 0.027319833636283875, 0.009045451879501343, 0.0156431645154953, 0.0010232998756691813, 0.03744097054004669, 0.029647953808307648, -0.0474717803299427, -0.02696060575544834, -0.023940782994031906, 0.00688753928989172, -0.02418314479291439, -0.003862544195726514, -0.02351357601583004, -0.014117683283984661, 0.002758674556389451, 0.052618902176618576, -0.02407309226691723, 0.04594320058822632, -0.01652582548558712, 0.03359559550881386, -0.036720406264066696, 0.018333977088332176, -0.05155078321695328, -0.019055305048823357, -0.03043692745268345, -0.034479692578315735, -0.006349819712340832, -0.002099547768011689, -0.00360805238597095, -0.03159678727388382, 0.05221722647547722, -0.062242183834314346, -0.020910140126943588, 0.0024463573936372995, -0.0027622447814792395, 0.0029198438860476017, 0.011308971792459488, -0.002741820178925991, -0.016934026032686234, 0.006344054825603962, -0.011688007973134518, 0.0016272204229608178, -0.015814675018191338, -0.00016546067490708083, 0.056766171008348465, -0.00865971576422453, -0.055039361119270325, 0.05463587865233421, 0.005712706595659256, 0.01381034404039383, -0.00439292611554265, 0.04698672145605087, 0.0326814204454422, -0.00907933246344328, -0.02538149245083332, -0.0027356224600225687, -0.009899546392261982, -0.02051262930035591, -0.02808600477874279, -0.05815601721405983, -0.021833932027220726, 0.014341196976602077, 0.0275090541690588, -0.0033687918912619352, -0.054812800139188766, 0.03564346209168434, -0.031423646956682205, -0.025418812409043312, -0.027188658714294434, 0.018680186942219734, 0.054627425968647, -0.0016397821018472314, 0.009783019311726093, -0.02814740687608719, -0.017847897484898567, -0.04859564080834389, -0.011429151520133018, 0.02876948192715645, 0.03776001185178757, 0.006521984003484249, -0.027379952371120453, -0.031292662024497986, -0.011629185639321804, 0.0013568165013566613, -0.05543582886457443, 0.030164185911417007, 0.028167331591248512, -0.0430002398788929, 0.007783979177474976, -0.004662173800170422, 0.00170471565797925, -0.023485451936721802, 0.016016893088817596, -0.005732256919145584, -0.044222909957170486, -0.004897278733551502, 0.02845647931098938, -0.023361193016171455, 0.015533148311078548, -0.02015010640025139, 0.023927683010697365, 0.027984393760561943, 0.00748781580477953, 0.018850164487957954, -0.01099387090653181, 0.01896212436258793, 0.01050486695021391, 0.0058394186198711395, -0.05828379467129707, -0.03377734497189522, -0.021564848721027374, 0.01213847380131483, -0.0496828556060791, -0.02895001322031021, 0.0255544725805521, 0.008338539861142635, 0.012615746818482876, -0.026381103321909904, 0.01731749437749386, -0.05293458700180054, 0.018066750839352608, 0.028587142005562782, 0.023165762424468994, 0.044287990778684616, 0.03921649605035782, 0.0062120091170072556, -0.023488378152251244, -0.01893909089267254 ]