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
listlengths
768
768
Deploy LLMs with Hugging Face Inference Endpoints
philschmid
July 4, 2023
inference-endpoints-llm
guide, llm, apps, inference
https://huggingface.co/blog/inference-endpoints-llm
Streaming requests with Python First, you need to install the huggingface_hub library: python pip install -U huggingface_hub We can create a InferenceClient providing our endpoint URL and credential alongside the hyperparameters we want to use python from huggingface_hub import InferenceClient # HF Inference Endpoints parameter endpoint_url = "https://YOUR_ENDPOINT.endpoints.huggingface.cloud" hf_token = "hf_YOUR_TOKEN" # Streaming Client client = InferenceClient(endpoint_url, token=hf_token) # generation parameter gen_kwargs = dict( max_new_tokens=512, top_k=30, top_p=0.9, temperature=0.2, repetition_penalty=1.02, stop_sequences=["\nUser:", "<|endoftext|>", "</s>"], ) # prompt prompt = "What can you do in Nuremberg, Germany? Give me 3 Tips" stream = client.text_generation(prompt, stream=True, details=True, **gen_kwargs) # yield each generated token for r in stream: # skip special tokens if r.token.special: continue # stop if we encounter a stop sequence if r.token.text in gen_kwargs["stop_sequences"]: break # yield the generated token print(r.token.text, end = "") # yield r.token.text Replace the print command with the yield or with a function you want to stream the tokens to.
[ 0.057002365589141846, 0.010061533190310001, 0.0638674795627594, -0.02258523367345333, 0.02339193783700466, 0.009826233610510826, 0.03887484595179558, 0.04624101147055626, -0.025227533653378487, -0.024299578741192818, -0.16552691161632538, -0.005680672358721495, -0.004505693446844816, 0.06577097624540329, 0.0022782236337661743, -0.06296293437480927, 0.05236051231622696, -0.024678386747837067, -0.01328881736844778, -0.002612875308841467, -0.010358246974647045, -0.009529764764010906, -0.020214928314089775, 0.019541917368769646, -0.01673821173608303, -0.07046663016080856, -0.02990391105413437, 0.06127537414431572, -0.00920962356030941, 0.00035851815482601523, -0.07881926000118256, -0.01593225821852684, 0.021751699969172478, -0.02432023361325264, 0.08885232359170914, 0.03476811572909355, -0.13502363860607147, 0.043994296342134476, 0.0539928637444973, 0.038391344249248505, -0.014635241590440273, -0.03267749771475792, -0.03395487368106842, 0.013336773961782455, 0.018234912306070328, 0.014004727825522423, -0.15484587848186493, 0.05376599729061127, -0.007005288731306791, -0.0128333680331707, -0.08252718299627304, 0.1192673072218895, -0.00945181492716074, 0.01130363717675209, 0.04707678407430649, 0.014375662431120872, -0.014429764822125435, -0.07967153191566467, 0.012776749208569527, 0.022204965353012085, 0.053770761936903, 0.006721628829836845, -0.0005441952962428331, 0.060276098549366, -0.015889117494225502, 0.008708889596164227, -0.018775204196572304, 0.028623096644878387, -0.0074722920544445515, -0.02116050384938717, 0.06823759526014328, -0.006405224557965994, 0.0061066546477377415, 0.020235126838088036, -0.0040145874954760075, -0.1325133889913559, -0.0019987705163657665, 0.05122975632548332, 0.027434593066573143, 0.05573157221078873, -0.0019147853599861264, 0.006287178490310907, 0.021815678104758263, -0.000339162303134799, 0.042596906423568726, 0.05361590534448624, 0.013541662134230137, -0.026879504323005676, -0.012638901360332966, 0.03724759444594383, -0.028647080063819885, -0.06280659884214401, -0.010276745073497295, -0.0016405547503381968, 0.029333923012018204, -0.006755568087100983, -0.004555344581604004, 0.06789270043373108, -0.025277029722929, -0.049614958465099335, -0.0015229417476803064, -0.08626064658164978, -0.007150811143219471, -0.06376964598894119, -0.06256163120269775, 0.06667178124189377, 0.008608684875071049, -0.05222097039222717, -0.03558667004108429, -0.01691422052681446, 0.036363765597343445, 0.03421822562813759, -0.01073918491601944, 0.06040782481431961, -0.07803010940551758, 0.034133683890104294, -0.0074701146222651005, -0.00937285553663969, -0.07910241186618805, 0.011023923754692078, 0.020926978439092636, 0.07476167380809784, 0.04932887852191925, 0.012865775264799595, -0.006128415465354919, 0.07583663612604141, 0.015679143369197845, 0.010006550699472427, 0.05755411460995674, 0.0018489937065169215, 0.036025822162628174, 0.024852704256772995, 0.07459813356399536, 0.013215111568570137, 0.0123049421235919, -0.028614217415452003, -0.0032459567300975323, -0.09344825893640518, -0.007021875120699406, 0.013759325258433819, -0.00439495500177145, 0.05440157651901245, 0.020134711638092995, 0.0001451145944884047, -0.0001252489601029083, 0.030617553740739822, -0.11552790552377701, 0.017527032643556595, 0.0570339672267437, 0.021481888368725777, -0.1078101098537445, 0.10909907519817352, 0.015565956942737103, 0.0271699707955122, -0.024184539914131165, 0.04674835130572319, 0.014882632531225681, 0.031592920422554016, -0.05731715261936188, -0.022158455103635788, 0.03127676993608475, 0.01194387674331665, -0.08114489167928696, -0.038210056722164154, 0.01099892146885395, 0.011065381579101086, -0.007334343623369932, -0.014433063566684723, -0.057584233582019806, 0.0032097804360091686, -0.03483282029628754, 0.01084282249212265, 0.013221457600593567, -0.01821056567132473, 0.06552836298942566, 0.002593871671706438, 0.07753309607505798, 0.039382245391607285, -0.0007180441170930862, -0.009970921091735363, -0.051976099610328674, 0.07900102436542511, -0.026523804292082787, 0.05499647185206413, 0.020986462011933327, -0.047554466873407364, -0.020035656169056892, 0.04026898741722107, 0.03965930640697479, 0.00629045907407999, -0.010590322315692902, -0.07570116966962814, 0.02390671893954277, 0.0008253473788499832, 0.029033562168478966, -0.050478894263505936, -0.024581007659435272, 0.04875342175364494, 0.01896524429321289, 0.07364805042743683, 0.009301258251070976, 0.07295816391706467, 0.03066220134496689, -0.05329659953713417, -0.07675071060657501, 0.015614138916134834, -0.055732183158397675, -0.08743768185377121, 0.028727110475301743, 0.02808523178100586, -0.0008776363683864474, -0.08303847163915634, 0.08434464782476425, -0.10326679050922394, -0.005806990433484316, -0.016902342438697815, -0.0693562850356102, -0.003909024875611067, -0.01296769455075264, 0.035390183329582214, 0.15794579684734344, -0.07523125410079956, 0.09467330574989319, -0.020527545362710953, -0.012640987522900105, -0.02018291875720024, 0.042910318821668625, 0.06665561348199844, 0.043174877762794495, -0.07199102640151978, -0.06253081560134888, -0.02766299992799759, -0.03976589813828468, 0.01850411668419838, 0.010964324697852135, -0.02904106304049492, 0.04743677005171776, -0.010383270680904388, -0.014536375179886818, -0.0056455982849001884, 0.06100410968065262, -0.011026452295482159, -0.019777271896600723, 0.022094178944826126, 0.00010091578587889671, -0.04714999720454216, 0.10551384836435318, 0.037914376705884933, -0.0629374086856842, -0.04161351919174194, -0.07059960067272186, 0.029838232323527336, -0.012291026301681995, -0.03360459581017494, 0.004303292371332645, 0.00407718401402235, -0.013651151210069656, 0.007098929490894079, -0.007790712174028158, 0.0593176931142807, 0.05643802508711815, -0.029069839045405388, -0.024175336584448814, -0.03229944407939911, -0.030057352036237717, -0.012362897396087646, -0.006127651780843735, -0.01613204926252365, -0.012891871854662895, 0.01593407616019249, 0.0613013431429863, -0.010451974347233772, 0.028244661167263985, 0.00965830683708191, 0.027813831344246864, 0.02068725973367691, 0.040625765919685364, 0.011322137899696827, -0.00594522338360548, -0.011363130994141102, 0.013884434476494789, -0.049778591841459274, 0.014900061301887035, 0.02627423033118248, 0.009011421352624893, -0.003887604223564267, -0.017010899260640144, -0.0115611981600523, -0.03254218399524689, 0.05344664305448532, -0.0002287574316142127, 0.035666897892951965, 0.006207539699971676, 0.002606312045827508, 0.00013314539683051407, 0.004954868927598, 0.05578238144516945, -0.0040140412747859955, -0.02849520370364189, 0.028227616101503372, -0.019983967766165733, -0.015790650621056557, -0.006275145336985588, -0.0016936970641836524, -0.037254493683576584, -0.0007456676103174686, -0.00555974617600441, -0.013538696803152561, -0.09394180774688721, -0.012637520208954811, -0.023317478597164154, 0.011724138632416725, -0.012094271369278431, 0.016824467107653618, 0.05548259988427162, -0.0033898595720529556, 0.008855916559696198, -0.00648229056969285, -0.00495507474988699, 0.022655392065644264, -0.030754145234823227, -0.017135197296738625, 0.013491862453520298, 0.003111890982836485, 0.021096039563417435, -0.03475626930594444, 0.05221899598836899, 0.019233299419283867, -0.043089453130960464, 0.03409759700298309, 0.061933960765600204, -0.005716556217521429, -0.0006919832085259259, -0.03853153809905052, 0.028540318831801414, 0.008405574597418308, 0.004660368897020817, -0.05051926523447037, -0.0070790983736515045, -0.07471618801355362, -0.0072584920562803745, 0.02143181301653385, -0.05328966677188873, 0.00469491770491004, 0.02029716782271862, -0.02016340382397175, 0.00013499749184120446, -0.011023027822375298, 0.01654195785522461, -0.02718907967209816, -0.0006900601438246667, -0.037918560206890106, -0.010606066323816776, 0.005458355415612459, -0.009079462848603725, -0.023433756083250046, 0.03227590397000313, -0.036296382546424866, -0.024554338306188583, 0.016590096056461334, 0.024253614246845245, 0.0399743914604187, 0.001900381874293089, 0.044497691094875336, -0.007218098733574152, 0.04124254360795021, 0.03815196081995964, -0.010808938182890415, -0.07705403119325638, 0.008017100393772125, -0.003938623238354921, -0.029182814061641693, -0.026544585824012756, 0.06297479569911957, -0.008463715203106403, 0.00741457287222147, -0.006064185407012701, 0.022328970953822136, 0.007867074571549892, 0.04359641298651695, 0.02289510704576969, 0.01792658306658268, -0.0455147884786129, -0.011189498007297516, -0.008081946521997452, -0.045324601233005524, 0.06332357972860336, 0.03942529484629631, -0.012743133120238781, 0.015971677377820015, -0.05815068632364273, 0.009917124174535275, 0.003904269076883793, 0.006225346587598324, 0.04493969306349754, -0.04412368685007095, 0.05766038969159126, 0.006058720871806145, -0.03811614215373993, -0.030405301600694656, 0.0005250074318610132, -0.005973623599857092, -0.03598422557115555, -0.009626159444451332, 0.006200456526130438, 0.02532387711107731, -0.0032682318706065416, 0.02080998197197914, 0.027379995211958885, -0.04392281547188759, -0.0031491487752646208, 0.014581291936337948, -0.026542214676737785, -0.0017744998913258314, -0.017747366800904274, -0.01114440057426691, 0.035788893699645996, -0.011472265236079693, -0.003130194963887334, -0.010004433803260326, -0.02425920031964779, -0.0111822709441185, 0.04170740768313408, 0.05388722941279411, -0.006518167909234762, -0.024488575756549835, -0.0184817835688591, 0.04281309247016907, -0.057219989597797394, 0.025827789679169655, 0.026755021885037422, -0.013822951354086399, -0.0089000528678298, -0.0041234297677874565, 0.021357037127017975, 0.026905156672000885, -0.019206855446100235, 0.005522025749087334, -0.004742791876196861, -0.0024519802536815405, 0.0065804580226540565, -0.011126328259706497, 0.009795179590582848, 0.013206733390688896, 0.016146106645464897, -0.024013319984078407, 0.022058065980672836, -0.018515363335609436, -0.009080281481146812, -0.00398296071216464, 0.022033317014575005, -0.009900428354740143, -0.00652880035340786, 0.029851123690605164, -0.0582222118973732, 0.005349927581846714, -0.01741114817559719, 0.003573184832930565, 0.010628142394125462, -0.002902095438912511, -0.0038754648994654417, 0.020613890141248703, 0.038088519126176834, 0.012629112228751183, -0.01613486371934414, 0.017127370461821556, 0.006024004425853491, 0.03858441859483719, 0.013118017464876175, -0.014121771790087223, -0.0007320860750041902, -0.002755177905783057, -0.018857985734939575, -0.003339948831126094, -0.008732215501368046, -0.04554545134305954, -0.015842903405427933, -0.004304165951907635, -0.03949017450213432, 0.02592030167579651, 0.04212368279695511, -0.039167843759059906, -0.030709464102983475, 0.05731489881873131, 0.05650268867611885, 0.0421358086168766, -0.009627478197216988, -0.0022349285427480936, 0.006535725202411413, -0.014908784069120884, 0.04211617633700371, -0.05719011276960373, -0.02019665390253067, 0.021239574998617172, 0.09205862879753113, 0.053744859993457794, 0.005572699476033449, 0.06189318746328354, -0.010010606609284878, 0.008503921329975128, 0.0025238709058612585, -0.039608899503946304, -0.009534691460430622, -0.03680747002363205, -0.04471588879823685, -0.03041527047753334, -0.013335383497178555, -0.04301514849066734, 0.040880270302295685, 0.053318943828344345, -0.032485175877809525, -0.033691179007291794, 0.036663930863142014, 0.0029697157442569733, 0.035452455282211304, -0.0009340626420453191, 0.02378571219742298, -0.025734366849064827, 0.03601756691932678, -0.025421492755413055, -0.02421831525862217, 0.004855671897530556, 0.010189968161284924, 0.001247180043719709, -0.012295459397137165, 0.03089757263660431, 0.00692256074398756, 0.05860880762338638, -0.025136006996035576, -0.013625659979879856, 0.0034564060624688864, -0.06382156163454056, 0.032338697463274, 0.00010847450903384015, 0.019718974828720093, -0.0017504951683804393, -0.0025340900756418705, 0.03386135399341583, 0.031025495380163193, -0.017973529174923897, -0.017192751169204712, 0.01932143233716488, 0.05556362867355347, 0.020218057557940483, -0.032691217958927155, 0.03330036252737045, 0.015421564690768719, 0.0052641527727246284, 0.0074964300729334354, -0.02174016647040844, -0.025500761345028877, -0.0062461975030601025, -0.0012531569227576256, 0.04967043548822403, 0.04352990537881851, 0.0013020691694691777, 0.0007768824580125511, -0.015355653129518032, 0.040043994784355164, 0.0067322454415261745, -0.044090524315834045, -0.021247845143079758, -0.002827304182574153, -0.02024064026772976, 0.028366124257445335, -0.01032245997339487, 0.012554292567074299, 0.017865432426333427, 0.015420295298099518, -0.0630113035440445, -0.0013877750607207417, 0.012264871969819069, -0.0313631072640419, 0.03371769189834595, -0.009776272810995579, -0.014990044757723808, -0.005015899892896414, 0.01154503133147955, 0.0343765951693058, 0.02388356812298298, -0.039774417877197266, 0.010670607909560204, -0.00690615177154541, 0.03124859742820263, -0.005468775983899832, 0.04162837564945221, -0.049395959824323654, 0.03567894548177719, 0.015123131684958935, 0.03450248762965202, -0.02185043878853321, -0.0009569180547259748, 0.02022251859307289, 0.016997817903757095, 0.06375707685947418, 0.038685329258441925, 0.020783985033631325, 0.014534205198287964, -0.018880227580666542, 0.007322532590478659, -0.0192696675658226, -0.009555647149682045, 0.025467896834015846, -0.03137882426381111, 0.029204465448856354, -0.0363902784883976, 0.0290509220212698, -0.043081581592559814, 0.0536155104637146, 0.017178144305944443, 0.01932215690612793, -0.005031258799135685, 0.03343459218740463, 0.032794803380966187, 0.006575750187039375, -0.003738757688552141, 0.04204793646931648, 0.011939841322600842, -0.05063008517026901, 0.02788597159087658, 0.02796942926943302, 0.016552608460187912, -0.005970384925603867, 0.03726397454738617, -0.018815461546182632, -0.0315033383667469, -0.04655857011675835, 0.012383860535919666, 0.0338602177798748, -0.025266170501708984, 0.003552351612597704, -0.010072995908558369, -0.023527562618255615, 0.011456577107310295, -0.0032911617308855057, 0.003633192740380764, 0.032861001789569855, -0.007850602269172668, -0.0016869110986590385, 0.03805078566074371, 0.0038659439887851477, -0.04429904744029045, -0.017511233687400818, 0.044653017073869705, 0.00657046539708972, 0.0005461758119054139, -0.04855186864733696, -0.03081950917840004, -0.03044082038104534, -0.004354845266789198, -0.003702796995639801, 0.00692632794380188, -0.02359630912542343, 0.012784898281097412, -0.005143342539668083, 0.04717603325843811, 0.02065095491707325, 0.04384538158774376, 0.040540046989917755, 0.06058449298143387, -0.016267120838165283, 0.007449611555784941, -0.0021300348453223705, -0.011899561621248722, 0.030376121401786804, 0.000025309136617579497, 0.012356345541775227, -0.0009513930417597294, 0.06518710404634476, -0.005635323002934456, 0.01781679317355156, -0.015966007485985756, -0.040755633264780045, 0.017401184886693954, -0.02106877788901329, -0.07276353985071182, 0.06039341539144516, -0.012944956310093403, -0.020988402888178825, -0.011433827690780163, 0.004200407303869724, -0.013316232711076736, 0.009891961701214314, -0.01702984608709812, 0.04141271114349365, -0.020098639652132988, -0.03426913544535637, -0.00957143772393465, 0.004564713221043348, 0.024101093411445618, 0.02049298584461212, 0.01802312768995762, -0.04270826280117035, 0.007632632739841938, -0.04071084037423134, 0.013926252722740173, -0.059818901121616364, 0.006201110314577818, -0.06002093106508255, -0.03381381556391716, -0.02890259213745594, 0.01808333396911621, -0.036196865141391754, 0.004261605907231569, -0.02664046362042427, 0.00009190901619149372, -0.026841137558221817, -0.034016843885183334, 0.006150537170469761, -0.022637413814663887, 0.03189263120293617, 0.037546370178461075, 0.030770588666200638, 0.015612178482115269, -0.022616807371377945, -0.004405952524393797, 0.007902652956545353, -0.006066597066819668, 0.0288042351603508, 0.050837937742471695, -0.032462138682603836, -0.02373054064810276, 0.008381086401641369, 0.01515350304543972, -0.04281929135322571, 0.03851814568042755, 0.024090655148029327, -0.025282947346568108, -0.04832259193062782, -0.008803201839327812, 0.012359936721622944, 0.03103703260421753, 0.0459870882332325, -0.013459157198667526, -0.02717011421918869, -0.010603898204863071, 0.03239855915307999, -0.023346202448010445, -0.023211171850562096, -0.05286812409758568, -0.013640805147588253, 0.015009178780019283, -0.0024045745376497507, 0.009628109633922577, -0.020015757530927658, 0.0007588589214719832, 0.005389621015638113, -0.032124053686857224, -0.032620955258607864, -0.044135309755802155, 0.00033481273567304015, 0.042073581367731094, -0.03765598312020302, -0.005445689894258976, 0.0376024954020977, -0.004917040001600981, -0.04765263944864273, 0.03553140163421631, -0.015616354532539845, -0.015936605632305145, -0.012966272421181202, 0.02199629321694374, -0.021785324439406395, 0.07969119399785995, 0.005058586597442627, -0.018303757533431053, -0.03145993873476982, 0.004400417674332857 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
# Making ML-powered web games with Transformers.js In this blog post, I'll show you how I made Doodle Dash, a real-time ML-powered web game that runs completely in your browser (thanks to Transformers.js). The goal of this tutorial is to show you how easy it is to make your own ML-powered web game... just in time for the upcoming Open Source AI Game Jam (7-9 July 2023). Join the game jam if you haven't already! Video: Doodle Dash demo video
[ 0.009220501407980919, -0.04557979479432106, 0.13017871975898743, -0.040811795741319656, 0.031280070543289185, 0.019556932151317596, 0.025462402030825615, 0.03242313861846924, 0.04879703000187874, -0.03715385124087334, -0.030049556866288185, 0.03140103071928024, -0.04751637578010559, 0.07036135345697403, 0.059819046407938004, -0.0560542494058609, -0.04133224114775658, -0.0013813049299642444, -0.03120238520205021, -0.005269411485642195, -0.018574485555291176, -0.06094478443264961, -0.0194534994661808, 0.01870441623032093, -0.002025219378992915, 0.02630457654595375, 0.025858106091618538, 0.036786433309316635, -0.04067610576748848, 0.04389199987053871, -0.01924697495996952, -0.012310793623328209, 0.03716103360056877, -0.024980591610074043, -0.06190674379467964, 0.035477519035339355, -0.05945666879415512, 0.06280722469091415, -0.001386344200000167, -0.030688676983118057, -0.014941387809813023, -0.015209251083433628, -0.05262831598520279, 0.018070019781589508, 0.022145520895719528, -0.008444753475487232, -0.19228960573673248, 0.0655018761754036, -0.075836181640625, -0.005760441534221172, -0.07057476043701172, 0.05753493309020996, -0.01324968971312046, 0.021818527951836586, -0.05062244459986687, 0.030342135578393936, 0.03258519619703293, -0.04382067918777466, -0.02179182693362236, 0.05282391235232353, 0.07968930155038834, 0.011251542717218399, -0.01330901961773634, 0.010348839685320854, 0.0011891851900145411, 0.017263641580939293, 0.03568628057837486, 0.04604683071374893, -0.0193741824477911, -0.0751662328839302, 0.06613189727067947, 0.0027873648796230555, -0.052179545164108276, -0.01869673654437065, 0.0047893584705889225, 0.04009101167321205, 0.03921876102685928, 0.08843469619750977, 0.04276330769062042, 0.013267455622553825, 0.00007875058508943766, -0.037421051412820816, 0.13243086636066437, 0.043995775282382965, 0.02312740497291088, -0.002782958559691906, -0.014742192812263966, 0.0071191331371665, -0.04529797285795212, 0.05686482414603233, 0.059774432331323624, -0.15217101573944092, -0.03533797338604927, 0.024544987827539444, 0.08026030659675598, 0.03146065026521683, -0.03859656676650047, 0.022342288866639137, -0.05441998317837715, 0.0038781575858592987, 0.005398684646934271, -0.027729487046599388, 0.011367456056177616, -0.0191340334713459, -0.05670605227351189, 0.055258311331272125, -0.0025353762321174145, -0.09133666008710861, 0.000392594956792891, -0.012645500712096691, -0.04929926246404648, -0.008352945558726788, 0.03044477105140686, 0.0293988399207592, -0.06336618214845657, -0.012940941378474236, -0.03014555014669895, 0.06269171088933945, -0.07932791858911514, 0.06329943984746933, 0.0014975318918004632, 0.04626603052020073, 0.02336374670267105, 0.015579993836581707, 0.02857661060988903, 0.05238262936472893, 0.015122161246836185, -0.015018572099506855, 0.06740278005599976, -0.016695410013198853, 0.08738700300455093, -0.003523795399814844, 0.03040361776947975, -0.03350834921002388, 0.023633278906345367, -0.02301069349050522, -0.0016062756767496467, -0.042164403945207596, -0.02199280634522438, 0.006348241586238146, -0.06636602431535721, 0.02097444236278534, 0.02632429078221321, 0.011482451111078262, 0.05931041017174721, -0.0687025785446167, -0.0655086562037468, 0.009741081856191158, -0.06815414875745773, 0.0467032752931118, -0.03405393287539482, 0.05264719948172569, -0.04368738830089569, -0.061315424740314484, -0.03847292438149452, 0.12094615399837494, 0.008676283992826939, 0.0007630458567291498, -0.03693527728319168, 0.023851929232478142, 0.028347333893179893, 0.04510626196861267, -0.0016531335422769189, 0.043664731085300446, 0.0014853674219921231, -0.03212964907288551, 0.0058213816955685616, 0.006869735661894083, 0.03759554401040077, 0.02013610303401947, 0.014774732291698456, 0.010043220594525337, 0.07399847358465195, -0.0027280745562165976, 0.05271819606423378, 0.013261202722787857, 0.04781176149845123, 0.02996893785893917, 0.10853733867406845, -0.003862932091578841, -0.02489146590232849, 0.018622875213623047, 0.08310089260339737, 0.07796560972929001, 0.006121514365077019, -0.0800570622086525, 0.029265448451042175, -0.031059468165040016, -0.0015092607354745269, -0.00025095496675930917, -0.034975726157426834, -0.0020933684427291155, 0.03342082351446152, -0.00779354851692915, 0.03544817864894867, -0.007621877361088991, -0.08066942542791367, 0.11848341673612595, 0.08527258038520813, 0.07749970257282257, 0.018870744854211807, -0.010705376975238323, -0.010989009402692318, -0.02140996791422367, 0.004410847090184689, -0.044848572462797165, 0.08088613301515579, -0.060824621468782425, -0.00869152694940567, -0.052672963589429855, -0.05109364911913872, -0.060414835810661316, 0.04570239409804344, -0.02171991392970085, -0.01654784008860588, -0.011843115091323853, -0.028397148475050926, -0.002500302856788039, 0.0037864563055336475, 0.0009084359626285732, 0.07965701818466187, -0.09140203148126602, -0.06562111526727676, -0.00415787985548377, 0.0011100355768576264, 0.05825619399547577, 0.060955822467803955, 0.05328565090894699, 0.11397898197174072, -0.05341837927699089, -0.06985227763652802, 0.012354846112430096, 0.010024021379649639, 0.0013813670957461, -0.007148610427975655, -0.06613739579916, 0.08915550261735916, -0.011286821216344833, 0.015794357284903526, -0.010040581226348877, 0.01480502262711525, 0.02370893582701683, -0.02295287698507309, 0.015644114464521408, -0.013059228658676147, 0.034823041409254074, 0.05198291689157486, 0.03840832784771919, 0.07225103676319122, -0.015138325281441212, -0.0615905299782753, -0.016213124617934227, -0.01727261021733284, -0.0384218655526638, 0.0606936439871788, 0.025277288630604744, -0.011047781445086002, 0.019929872825741768, -0.012435068376362324, 0.041919633746147156, 0.016373353078961372, -0.004078857135027647, -0.017932016402482986, -0.012985670007765293, -0.013124148361384869, -0.0494660809636116, -0.016631947830319405, 0.00428535183891654, 0.016304861754179, -0.02117743343114853, 0.008057914674282074, -0.016600875183939934, 0.020502422004938126, -0.06561839580535889, 0.019921617582440376, 0.01639724150300026, 0.033751919865608215, -0.022339338436722755, 0.0008484956342726946, -0.006150758359581232, 0.016082754358649254, 0.015960244461894035, 0.03281822428107262, 0.028580034151673317, -0.019645066931843758, 0.006416242104023695, -0.012013597413897514, 0.006631862372159958, -0.01889106258749962, -0.031563419848680496, -0.012604744173586369, 0.07434365153312683, -0.044387832283973694, -0.006583958864212036, -0.004524812567979097, -0.03380613401532173, -0.007428549230098724, -0.027652299031615257, -0.035508111119270325, 0.027246206998825073, 0.001557509764097631, -0.030027909204363823, -0.014162104576826096, 0.04579641669988632, -0.009807102382183075, 0.01301599107682705, -0.000015898671335889958, 0.022634664550423622, -0.09466584771871567, -0.004952689632773399, -0.02921506017446518, 0.039259377866983414, -0.01991017907857895, -0.05975308641791344, -0.012922265566885471, -0.031962715089321136, -0.0035569441970437765, -0.007640010677278042, -0.02504316158592701, 0.0015336499782279134, -0.05178443342447281, -0.011339742690324783, 0.010648423805832863, -0.031063318252563477, -0.015833735466003418, 0.01698945090174675, -0.019293220713734627, 0.027378352358937263, -0.05480342358350754, 0.05096210166811943, 0.008854340761899948, -0.021707184612751007, -0.004472385160624981, -0.0010974312899634242, 0.06043288856744766, 0.01639547571539879, 0.0463164821267128, 0.004430994391441345, 0.008650172501802444, -0.04256266728043556, -0.01042608916759491, 0.047845736145973206, -0.04460180550813675, 0.036173924803733826, -0.008555689826607704, -0.03645103797316551, 0.021367859095335007, -0.021206529811024666, 0.0052367825992405415, -0.022443966940045357, 0.007965870201587677, -0.030084148049354553, 0.01869039796292782, -0.05309810861945152, -0.007864516228437424, 0.04073914885520935, 0.020118199288845062, -0.0472511425614357, -0.011661927215754986, -0.012320850044488907, -0.009388677775859833, 0.018171142786741257, 0.019448701292276382, -0.0286564901471138, -0.019005186855793, -0.0020883530378341675, 0.031684644520282745, 0.008433360606431961, -0.021155351772904396, 0.023982159793376923, -0.03550927713513374, 0.009468878619372845, -0.01809334009885788, 0.0643993616104126, 0.0493246428668499, 0.023275259882211685, -0.005123109556734562, 0.05563219264149666, 0.0194476880133152, 0.013944285921752453, 0.03667997568845749, 0.007413997780531645, -0.017839692533016205, 0.03790528327226639, 0.001963724149391055, 0.007029419764876366, 0.07521471381187439, 0.05607772246003151, -0.00687677226960659, -0.055811990052461624, -0.04910368472337723, -0.05551093444228172, 0.0056985728442668915, 0.006949261762201786, 0.02885204739868641, -0.01454506441950798, 0.030930260196328163, -0.005378443747758865, 0.03517156466841698, -0.030720731243491173, 0.027017291635274887, -0.011474521830677986, 0.013991819694638252, 0.018896689638495445, 0.004969188943505287, 0.0003789493057411164, -0.03850371763110161, -0.027279745787382126, 0.01129069458693266, -0.02198423258960247, -0.007735665421932936, 0.044464949518442154, 0.024358822032809258, 0.02711685746908188, -0.0029043552931398153, 0.006505335681140423, 0.0372769758105278, 0.002843419788405299, 0.017288638278841972, 0.00011177970009157434, -0.01425527036190033, 0.041150063276290894, -0.011654294095933437, -0.008003252558410168, 0.0222565196454525, -0.03485903888940811, -0.019112491980195045, -0.009404301643371582, -0.050339940935373306, 0.018653076142072678, 0.004260049667209387, 0.008750250563025475, 0.04104283079504967, -0.004590727388858795, 0.014136356301605701, 0.017888043075799942, 0.008531467989087105, -0.00954416487365961, -0.009417799301445484, 0.00502088712528348, 0.026679424569010735, 0.03167380020022392, 0.0017924107378348708, 0.022875193506479263, 0.007918483577668667, 0.008980636484920979, 0.0033592148683965206, -0.046069905161857605, 0.021057888865470886, 0.014685970731079578, 0.041125595569610596, -0.03191853314638138, -0.021227268502116203, 0.0003016888804268092, -0.022401385009288788, 0.031347230076789856, -0.004541113972663879, -0.024742556735873222, 0.03234740346670151, 0.006965613458305597, -0.03666897863149643, -0.02937808446586132, 0.04052183777093887, 0.005215056240558624, -0.013638895936310291, 0.0034429049119353294, -0.0079167066141963, 0.02903939038515091, -0.010084998793900013, 0.0011659320443868637, -0.027851594612002373, 0.06854897737503052, -0.019407207146286964, 0.004096027929335833, 0.02026986889541149, -0.020896052941679955, 0.035489581525325775, 0.009988037869334221, -0.004093402996659279, 0.015871787443757057, 0.03092566505074501, -0.016262097284197807, -0.006222700700163841, 0.025244053453207016, 0.01610734313726425, 0.0319892093539238, -0.022824466228485107, -0.04744669422507286, -0.03748784586787224, -0.0005162014276720583, -0.01192842423915863, -0.01413238886743784, -0.015399329364299774, 0.031393472105264664, 0.014172308146953583, 0.06863491982221603, 0.00998426228761673, -0.01984190009534359, -0.00015257138875313103, 0.005049661733210087, 0.015858029946684837, -0.038434453308582306, 0.06048283725976944, -0.014788460917770863, -0.03867664188146591, -0.005946263670921326, -0.0240411888808012, -0.004896060563623905, 0.06176649034023285, 0.004322002176195383, -0.03552072495222092, 0.014657840132713318, 0.016861917451024055, -0.011448310688138008, 0.011243552900850773, -0.026484064757823944, 0.0025258567184209824, -0.013937629759311676, -0.00265066372230649, -0.019462913274765015, 0.041997164487838745, -0.028044618666172028, -0.031072532758116722, -0.039168376475572586, 0.013610640540719032, -0.020595498383045197, 0.036847926676273346, 0.06597661972045898, -0.02480447292327881, 0.001859457464888692, -0.013324664905667305, 0.02185703255236149, 0.016727788373827934, -0.018009629100561142, 0.016261253505945206, 0.006964001804590225, 0.00009022817539516836, -0.021865850314497948, 0.09879998862743378, 0.011361549608409405, -0.02215198054909706, 0.05880953371524811, -0.0029013880994170904, -0.017716005444526672, -0.045236047357320786, 0.043633799999952316, 0.07344584167003632, -0.025305557996034622, -0.03906469792127609, -0.03210354968905449, -0.037368372082710266, -0.01896505430340767, -0.03582713007926941, 0.015915358439087868, 0.051888592541217804, -0.043369024991989136, -0.03059687837958336, 0.01576136238873005, 0.004889702890068293, -0.02024129405617714, -0.04107453674077988, 0.004881090484559536, 0.01006345171481371, 0.029428955167531967, 0.04794907942414284, 0.002518843859434128, -0.004690532572567463, -0.00083405856275931, -0.01486645732074976, -0.03278302773833275, -0.016080249100923538, 0.0072973924688994884, -0.02255915105342865, 0.015047919936478138, 0.0002077808603644371, -0.037903495132923126, -0.02798311784863472, 0.03053320199251175, -0.007328888401389122, 0.0329684279859066, 0.016230227425694466, -0.01179747749119997, 0.008491880260407925, -0.04523596912622452, 0.015042642131447792, 0.02930264361202717, -0.0010753250680863857, 0.03293386846780777, -0.0001507262495579198, 0.02677641063928604, 0.003705698763951659, -0.007985771633684635, 0.007625837344676256, 0.016087045893073082, 0.06147158518433571, -0.012583923526108265, 0.046150337904691696, 0.031124679371714592, -0.03602991998195648, -0.04009678587317467, 0.017917776480317116, -0.037205182015895844, -0.040557220578193665, 0.034034181386232376, 0.007825039327144623, -0.04586341604590416, -0.02848844788968563, -0.04748934507369995, 0.045295268297195435, 0.026978403329849243, 0.01779089868068695, -0.011728417128324509, 0.06276386231184006, 0.04714776948094368, 0.033529747277498245, 0.02835644967854023, -0.0028194256592541933, 0.019443755969405174, -0.006041966378688812, 0.045808207243680954, -0.01118399202823639, 0.0380566269159317, -0.007057610433548689, 0.019061869010329247, 0.012959917075932026, -0.03502572700381279, -0.04449188709259033, -0.010397316887974739, -0.034877583384513855, 0.008890064433217049, -0.03029247559607029, -0.0001941309601534158, -0.0244433656334877, -0.006871421355754137, 0.021955639123916626, -0.02610980160534382, -0.01333064865320921, -0.009293502196669579, -0.04069455340504646, -0.019963033497333527, -0.016197068616747856, -0.0034645493142306805, 0.010884641669690609, -0.03668881207704544, 0.01053323969244957, -0.0031363999005407095, -0.024441158398985863, -0.053943149745464325, -0.025731388479471207, -0.01057430449873209, -0.013067948631942272, 0.0023502539843320847, -0.040947407484054565, -0.08347569406032562, 0.03368287533521652, 0.03039027750492096, -0.0038336559664458036, 0.012346495874226093, 0.026360800489783287, 0.01773698627948761, -0.05758422985672951, 0.008916824124753475, -0.06316125392913818, 0.0048227920196950436, -0.017280053347349167, -0.012218791991472244, 0.01743525266647339, -0.010836279019713402, 0.03598339855670929, -0.02340475283563137, 0.05987207219004631, -0.0064698862843215466, -0.0037913708947598934, 0.00943237729370594, 0.029472658410668373, -0.03170008957386017, 0.004041662905365229, 0.019127268344163895, 0.034234531223773956, 0.01555577665567398, 0.0008757992764003575, 0.0643579289317131, -0.004019024781882763, 0.024839863181114197, 0.032362621277570724, 0.00003286727223894559, -0.016918543726205826, -0.02570020593702793, -0.005937053356319666, 0.00581727921962738, -0.00603560172021389, 0.04692424088716507, 0.01665198989212513, -0.018618058413267136, -0.0399431549012661, 0.019519353285431862, -0.024604367092251778, 0.006878712680190802, -0.012953895144164562, -0.057411011308431625, -0.025091776624321938, 0.005864990409463644, 0.003018132410943508, -0.012246036902070045, -0.07729682326316833, -0.010566986165940762, -0.012864366173744202, -0.029363257810473442, -0.0775492936372757, 0.009297913871705532, 0.040187325328588486, 0.009760317392647266, 0.015790510922670364, -0.01929953694343567, -0.02268366701900959, 0.014277231879532337, -0.010689630173146725, 0.050770457834005356, 0.03417489677667618, -0.0030173242557793856, -0.029361287131905556, -0.014130257070064545, -0.010514402762055397, -0.027586957439780235, -0.01542504969984293, 0.006224875338375568, -0.008370805531740189, -0.02736654132604599, -0.028015052899718285, 0.04532582312822342, 0.02213091030716896, 0.005669074133038521, -0.025640098378062248, -0.038164034485816956, -0.030292348936200142, -0.005042891018092632, -0.017150210216641426, -0.03144071251153946, 0.01150375697761774, 0.0297178253531456, 0.028368553146719933, 0.010493737645447254, 0.04590542986989021, -0.010683088563382626, -0.04230021312832832, -0.011133378371596336, 0.0541822575032711, -0.009156114421784878, -0.05872008204460144, -0.04281086474657059, -0.026578526943922043, -0.0028759222477674484, -0.020271094515919685, -0.014384971931576729, 0.04473415017127991, 0.024503052234649658, -0.025858527049422264, -0.05241711437702179, 0.03279394283890724, -0.009944248013198376, 0.027362966910004616, 0.03262932598590851, -0.057280413806438446, 0.044735297560691833, 0.001504417392425239, -0.022842517122626305, -0.037852298468351364, 0.012860734947025776 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
3. Game Design In this section, I'll briefly discuss the game design process. As a reminder, you can find the full source code for the project on GitHub, so I won't be going into detail about the code itself.
[ 0.08197874575853348, 0.010453685186803341, 0.051820117980241776, -0.012172777205705643, 0.07004155963659286, 0.0316178984940052, 0.005127863958477974, 0.04070424661040306, -0.019188782200217247, -0.09727316349744797, -0.030573071911931038, 0.02791665494441986, -0.01755637861788273, 0.01781889796257019, 0.01700435020029545, 0.03257136419415474, 0.05751297250390053, -0.04745161905884743, 0.007124371826648712, 0.013635680079460144, -0.016601191833615303, 0.007280684541910887, 0.0008627026691101491, 0.007729205768555403, 0.010789663530886173, 0.015080265700817108, -0.0005968124023638666, 0.03881361335515976, -0.06869067996740341, 0.018659142777323723, -0.08064867556095123, -0.059620946645736694, -0.019668549299240112, -0.09219630807638168, -0.06626178324222565, -0.04079039394855499, -0.052226219326257706, 0.07665691524744034, 0.06111452355980873, -0.10080030560493469, -0.020427515730261803, 0.0014458559453487396, -0.02223552204668522, 0.02401752956211567, 0.03671957179903984, -0.020629385486245155, -0.22740700840950012, 0.10349515080451965, -0.07446408271789551, 0.017573080956935883, -0.0487077459692955, 0.006313589867204428, -0.028030889108777046, 0.02598259039223194, -0.005401703529059887, 0.023421449586749077, 0.06593789160251617, 0.038261596113443375, 0.03353690728545189, 0.03209332004189491, 0.07100183516740799, 0.03364001214504242, 0.04364049434661865, 0.01536465436220169, 0.036589063704013824, 0.03907066211104393, 0.006513019558042288, 0.07327447086572647, -0.04538297653198242, -0.0005861151730641723, 0.03963048383593559, -0.05346176400780678, -0.013023005798459053, -0.008232672698795795, -0.02510838210582733, -0.03518432006239891, 0.0469418466091156, 0.06585564464330673, 0.034096281975507736, 0.004856507759541273, 0.06515201181173325, -0.019777992740273476, 0.11569677293300629, 0.05306144803762436, 0.0012277421774342656, -0.005039499141275883, 0.04013162478804588, -0.005604634992778301, -0.01812094636261463, 0.06232878565788269, -0.010667088441550732, -0.1520668864250183, -0.014187405817210674, -0.006418320816010237, 0.028150903061032295, -0.03516270965337753, 0.041879571974277496, 0.052492592483758926, -0.01756386272609234, 0.008673523552715778, -0.024662014096975327, -0.050646428018808365, -0.0006022073212079704, -0.026616128161549568, -0.027632681652903557, 0.009868981316685677, 0.01826643943786621, -0.10822072625160217, -0.06829608231782913, 0.04486969858407974, -0.020035233348608017, 0.02504509687423706, 0.058039579540491104, 0.037911009043455124, -0.02642197720706463, 0.07378897070884705, -0.023469189181923866, -0.02478053979575634, -0.07329835742712021, 0.05534111708402634, -0.002290461678057909, 0.024019550532102585, 0.010304872877895832, 0.05856512859463692, 0.014750554226338863, 0.039362989366054535, 0.03264676034450531, 0.02825097367167473, -0.029822450131177902, -0.11358606815338135, 0.021199757233262062, 0.02478722482919693, 0.022209232673048973, 0.003408159827813506, 0.03279736265540123, -0.03307687118649483, -0.01803389936685562, -0.01967518962919712, 0.028338557109236717, -0.031849611550569534, -0.041335877031087875, -0.012024913914501667, 0.015863796696066856, 0.10745467990636826, 0.017530003562569618, -0.09201633185148239, -0.06275319308042526, 0.004696921911090612, -0.034535378217697144, 0.02361108735203743, 0.009770617820322514, 0.03396961838006973, -0.02960910275578499, -0.07000713795423508, -0.032512366771698, 0.07273140549659729, -0.010968654416501522, -0.03232995420694351, -0.05717611685395241, -0.018810708075761795, 0.041899096220731735, 0.021895376965403557, -0.021527035161852837, 0.025643039494752884, 0.023873277008533478, -0.012419954873621464, 0.05807988718152046, 0.01418363582342863, 0.006296046078205109, -0.054729290306568146, -0.05152333900332451, -0.03612855076789856, 0.08108138293027878, -0.020606640726327896, 0.05970536172389984, 0.013458775356411934, 0.07298843562602997, 0.08544070273637772, 0.024376841261982918, 0.04786863550543785, -0.024559207260608673, -0.06945796310901642, -0.020794587209820747, 0.015783611685037613, 0.00017965938604902476, -0.08077017962932587, -0.019272157922387123, -0.03997248038649559, -0.03279056400060654, 0.0019102208316326141, -0.07342366874217987, -0.010909965261816978, 0.06955733150243759, 0.009778721258044243, 0.015930768102407455, -0.0583147257566452, -0.07144542038440704, 0.07755808532238007, 0.02704973705112934, 0.08464650809764862, 0.057625386863946915, 0.011317849159240723, 0.009612717665731907, 0.0004070035647600889, -0.027858039364218712, -0.028526321053504944, 0.05883354693651199, 0.016182806342840195, 0.012986371293663979, -0.030216451734304428, -0.002243424067273736, -0.05859246850013733, 0.040529124438762665, -0.06104094162583351, 0.05842853710055351, -0.018309906125068665, -0.02597787417471409, 0.031338825821876526, 0.013958517462015152, -0.05874680355191231, 0.12409168481826782, -0.01987515762448311, 0.0006757919327355921, 0.0792941153049469, -0.0428742952644825, 0.06174064427614212, 0.06680290400981903, 0.04335435479879379, 0.11059056222438812, -0.09132163226604462, -0.06108087673783302, 0.012536305002868176, -0.012229682877659798, 0.04890967905521393, 0.045763999223709106, -0.006324361078441143, 0.02807927504181862, 0.0014618844725191593, 0.04050864651799202, -0.0688602551817894, -0.027051400393247604, -0.017544761300086975, -0.006174725946038961, 0.010718400590121746, -0.03298462927341461, -0.0010218073148280382, 0.0452747642993927, 0.005141202360391617, -0.04409867152571678, 0.022857028990983963, -0.0346776582300663, 0.011613404378294945, 0.010757031850516796, 0.017870375886559486, 0.07032452523708344, -0.0096501549705863, -0.007583959493786097, -0.04744347184896469, -0.013851679861545563, 0.028607189655303955, 0.029312269762158394, -0.04584008455276489, -0.032160863280296326, -0.06933785229921341, -0.037573445588350296, -0.02200254052877426, 0.018007727339863777, 0.0005686600925400853, 0.018046654760837555, 0.01158897951245308, -0.00814887322485447, -0.025894293561577797, -0.023245736956596375, -0.0420592837035656, -0.007677778135985136, -0.020320028066635132, 0.03382062539458275, -0.05252336710691452, 0.008564857766032219, -0.023244643583893776, -0.0015433755470439792, -0.024671167135238647, 0.041802119463682175, 0.0422930009663105, 0.014644245617091656, 0.016357211396098137, 0.02326788939535618, -0.009744172915816307, -0.02431659772992134, -0.008925546891987324, 0.010480348020792007, 0.006093567702919245, -0.03230884671211243, -0.030831430107355118, 0.0504080168902874, -0.02960146963596344, 0.0025989378336817026, -0.0002201792667619884, -0.028614073991775513, 0.00046436081174761057, 0.013560203835368156, 0.013726943172514439, -0.005152922589331865, -0.016809193417429924, -0.05744091421365738, 0.029344601556658745, 0.03719625622034073, 0.0429752841591835, -0.13380005955696106, -0.029442686587572098, 0.005663088522851467, 0.024930039420723915, -0.01635371707379818, -0.01220682542771101, -0.010289683938026428, -0.02342310920357704, 0.006319401785731316, -0.017566924914717674, -0.04079751670360565, -0.00654564518481493, 0.01297058630734682, -0.0007447161478921771, 0.006382019724696875, 0.024905743077397346, -0.0071042911149561405, 0.0443313792347908, -0.009345878846943378, -0.01435896661132574, -0.02977912127971649, 0.06258097290992737, -0.02757091075181961, -0.01093205250799656, -0.03454582393169403, -0.012192906811833382, 0.03215010091662407, 0.03914880007505417, 0.02938253805041313, -0.0026482255198061466, -0.032580528408288956, 0.026061540469527245, -0.008466268889605999, 0.014389549382030964, -0.04271598905324936, 0.018800994381308556, -0.009552782401442528, -0.009750534780323505, 0.013326284475624561, 0.01829664595425129, 0.0017384866951033473, 0.029531344771385193, -0.00954238511621952, -0.004672331735491753, 0.010996317490935326, -0.05241828411817551, -0.00683800270780921, 0.018751265481114388, 0.02822193130850792, -0.027802689000964165, 0.012842501513659954, -0.02388063445687294, -0.011783379130065441, 0.04929612576961517, -0.008676817640662193, -0.02604409120976925, -0.019480690360069275, 0.022095048800110817, 0.059916362166404724, -0.01696651801466942, -0.013372955843806267, 0.002627347828820348, 0.01677737385034561, -0.006020063068717718, -0.02281905710697174, 0.0026253024116158485, 0.026053819805383682, 0.01733427308499813, -0.03469058498740196, 0.029787220060825348, 0.008124219253659248, -0.0013006653171032667, -0.00765984645113349, 0.012044206261634827, -0.014907950535416603, 0.05232756584882736, -0.04780733585357666, -0.019908657297492027, 0.08037038892507553, 0.03977534919977188, -0.0038316284772008657, -0.03377850726246834, 0.012767413631081581, -0.026812870055437088, -0.05362813174724579, 0.0435912162065506, 0.02915007993578911, 0.01011575385928154, -0.0023078417871147394, 0.038668982684612274, 0.036914512515068054, -0.022328009828925133, 0.031133214011788368, 0.002655747579410672, 0.01713434047996998, 0.0295989029109478, 0.05530708655714989, -0.023272838443517685, 0.03015405684709549, -0.00589173287153244, 0.05779954046010971, -0.037542711943387985, -0.03226450830698013, 0.03664543479681015, 0.020868007093667984, 0.038186412304639816, -0.05155007541179657, -0.03333734720945358, 0.03715164214372635, 0.011967141181230545, 0.0364983007311821, -0.03271081671118736, -0.011521539650857449, -0.049223851412534714, -0.0034378899727016687, 0.0041816080920398235, 0.011406824924051762, -0.038080621510744095, -0.021314507350325584, -0.03799315541982651, -0.0451948456466198, -0.005684887524694204, -0.005969623569399118, -0.009344492107629776, 0.019488859921693802, 0.006767999846488237, 0.04775959253311157, -0.013345952145755291, 0.01200143713504076, -0.0006158550968393683, 0.018588561564683914, -0.019378963857889175, -0.014743209816515446, 0.03514581918716431, 0.006181373726576567, 0.022877193987369537, -0.0076706986874341965, 0.0289181936532259, -0.0040880050510168076, -0.08786047250032425, 0.005095493048429489, 0.0068414174020290375, 0.027132615447044373, 0.001108798780478537, 0.010009001940488815, 0.0013955903705209494, -0.023363275453448296, 0.008006316609680653, 0.014852343127131462, 0.016590218991041183, 0.048706457018852234, -0.022413460537791252, -0.027384500950574875, 0.007651367224752903, -0.005725820083171129, 0.013321701437234879, -0.031266987323760986, 0.015738751739263535, -0.028056316077709198, 0.013652997091412544, -0.020089276134967804, -0.03421996906399727, -0.041427865624427795, 0.036828283220529556, -0.02241772785782814, 0.01796809583902359, -0.0073233712464571, -0.02728326991200447, -0.013476029969751835, -0.0201951265335083, 0.017628872767090797, -0.0005696597509086132, 0.007452706340700388, -0.04215838760137558, 0.021665962412953377, -0.005479507148265839, 0.021325046196579933, 0.01511363871395588, -0.019618602469563484, -0.04003322869539261, -0.021791940554976463, 0.026249848306179047, 0.03620642051100731, -0.0073078228160738945, -0.013786603696644306, 0.011066317558288574, 0.0518014058470726, 0.03553122282028198, 0.04074626415967941, 0.022100215777754784, 0.009137870743870735, -0.0016777018317952752, 0.016391178593039513, -0.033767085522413254, 0.0244122426956892, -0.0011011435417458415, -0.020006509497761726, -0.014768294058740139, -0.03534756973385811, -0.015351560898125172, 0.0566985048353672, 0.029277002438902855, -0.024969596415758133, 0.005243276245892048, 0.01664617657661438, 0.0020828573033213615, 0.012901118025183678, -0.04558148980140686, 0.03796318918466568, -0.016273315995931625, -0.0026555135846138, -0.010308363474905491, -0.04353659972548485, -0.04016135632991791, -0.02086702175438404, -0.026837851852178574, -0.011222178116440773, -0.020512137562036514, 0.02281832881271839, 0.035573843866586685, 0.04037840664386749, 0.010657012462615967, -0.017580339685082436, 0.05047803744673729, 0.024429431185126305, -0.034055013209581375, -0.003920074552297592, -0.005883533973246813, -0.006342269480228424, 0.009172008372843266, 0.06814277917146683, 0.003629053244367242, 0.017975997179746628, 0.006899286527186632, 0.007887466810643673, -0.04160180315375328, -0.07043545693159103, 0.04128311946988106, 0.006662525702267885, -0.014102978631854057, -0.03707136586308479, -0.05745759978890419, -0.03864496201276779, -0.018333572894334793, -0.031175674870610237, -0.012072158046066761, 0.056734416633844376, 0.003197195939719677, -0.0037675239145755768, 0.0292664784938097, 0.01598423719406128, -0.010146891698241234, -0.01833171397447586, -0.014390098862349987, 0.003912992775440216, 0.040038999170064926, 0.04079161211848259, 0.014994936063885689, 0.008050026372075081, -0.06226549670100212, 0.016692057251930237, -0.03040730021893978, -0.009092268534004688, -0.01687082275748253, -0.021397123113274574, -0.0016626872820779681, 0.0072849709540605545, -0.02546452172100544, 0.014292528852820396, -0.006083741318434477, 0.0317789651453495, 0.05193536728620529, 0.05570157244801521, -0.017727190628647804, -0.022702977061271667, -0.0438404344022274, 0.00972865428775549, 0.06403393298387527, 0.009314597584307194, 0.04447207227349281, 0.03176693618297577, 0.04417038336396217, 0.0058181406930089, -0.00904461182653904, 0.009094498120248318, 0.005895742680877447, 0.042619772255420685, -0.011757353320717812, 0.03435799106955528, -0.0013894082512706518, -0.034693386405706406, -0.02464207075536251, -0.025722885504364967, -0.00047681364230811596, -0.03531966730952263, 0.037191346287727356, -0.005092221312224865, -0.022150160744786263, 0.016589093953371048, -0.038446586579084396, 0.0359077975153923, 0.01791430078446865, 0.031042035669088364, 0.0035918275825679302, 0.03173191845417023, 0.02327686734497547, -0.025719616562128067, -0.01764374040067196, -0.003433703677728772, 0.018103083595633507, 0.022608431056141853, 0.059881389141082764, 0.005533542018383741, 0.00243780598975718, 0.0032134149223566055, -0.007930909283459187, 0.047301601618528366, 0.005035031586885452, 0.006576513405889273, -0.0010155392810702324, 0.02125326730310917, -0.021198373287916183, 0.0022253342904150486, -0.023445172235369682, -0.0221871230751276, -0.03151204437017441, 0.003154459875077009, -0.012351667508482933, 0.007843859493732452, -0.04509984329342842, -0.004909633658826351, 0.014985362067818642, -0.00728280795738101, -0.00013302027946338058, -0.02425190433859825, 0.010858298279345036, 0.01706530712544918, 0.02407238632440567, -0.012397515587508678, -0.0165282990783453, -0.0007495001191273332, 0.030969521030783653, -0.03563147038221359, -0.024222729727625847, -0.027912111952900887, -0.020855790004134178, 0.04697297513484955, -0.022816505283117294, -0.046766359359025955, 0.00811829324811697, 0.020084908232092857, -0.017395643517374992, -0.021488770842552185, 0.047508906573057175, -0.029963674023747444, -0.0034338978584855795, -0.016097817569971085, -0.0048738885670900345, 0.01285855658352375, -0.003843448357656598, 0.03431377932429314, -0.0074430909007787704, 0.008640393614768982, -0.07582313567399979, -0.027448788285255432, -0.0006597052561119199, -0.013790540397167206, -0.0021223213989287615, 0.03932642191648483, 0.047629937529563904, -0.018580706790089607, 0.04437997564673424, 0.006812155246734619, 0.0046025607734918594, -0.0428747683763504, 0.009485115297138691, 0.01741207204759121, 0.005360934417694807, -0.01457024272531271, 0.008653784170746803, 0.0847209021449089, -0.0004983119433745742, 0.03786339983344078, 0.020377155393362045, 0.02292685955762863, -0.01513252779841423, -0.035899508744478226, 0.02699250541627407, 0.012074598111212254, 0.019486714154481888, 0.003106276039034128, -0.04905547574162483, -0.030430832877755165, -0.002596372039988637, 0.002197712194174528, -0.00731201097369194, -0.04123798757791519, 0.004605669062584639, 0.011767508462071419, 0.0036039885599166155, -0.02699163369834423, 0.017142795026302338, 0.021415330469608307, 0.01022491604089737, 0.012652593664824963, 0.034660886973142624, 0.0006123934872448444, -0.010018721222877502, 0.00903615728020668, 0.041409023106098175, -0.0007785891066305339, 0.028772927820682526, -0.017970891669392586, -0.016639264300465584, 0.006050020921975374, -0.05792105570435524, -0.04195549711585045, -0.0012538231676444411, 0.0341988131403923, -0.023416420444846153, -0.008624487556517124, -0.011644122190773487, 0.004830658435821533, 0.03489530459046364, 0.01415123138576746, -0.01653362438082695, -0.03639800101518631, -0.0074553173035383224, 0.005430092103779316, -0.0010751956142485142, -0.011948135681450367, 0.02617182955145836, 0.02599521540105343, 0.01664835587143898, 0.06693736463785172, 0.007318324875086546, 0.04138852283358574, -0.03406515344977379, 0.0507478192448616, 0.007437649182975292, -0.028303569182753563, 0.0020936266519129276, -0.014252392575144768, 0.027884380891919136, -0.04235079512000084, -0.047708455473184586, 0.0174243226647377, 0.02419448085129261, -0.015026269480586052, 0.00509600667282939, 0.029073433950543404, 0.0024660355411469936, 0.03592408820986748, 0.04960303008556366, -0.03555012121796608, 0.09030456095933914, 0.01764555275440216, -0.008717844262719154, 0.010102979838848114, 0.007849649526178837 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
Model architecture We'll be finetuning apple/mobilevit-small, a lightweight and mobile-friendly Vision Transformer that has been pre-trained on ImageNet-1k. It has only 5.6M parameters (~20 MB file size), a perfect candidate for running in-browser! For more information, check out the MobileViT paper and the model architecture below.
[ 0.010112568736076355, -0.04601457715034485, 0.11296780407428741, -0.017831945791840553, 0.047638967633247375, 0.05956688150763512, -0.013827654533088207, 0.057056911289691925, -0.016785165295004845, -0.05249585956335068, -0.006808298174291849, 0.07406627386808395, -0.012069519609212875, -0.08268584311008453, 0.06333845853805542, 0.02381305582821369, 0.03757146745920181, -0.019954655319452286, -0.054087743163108826, -0.04361453652381897, -0.02720300294458866, -0.15260447561740875, 0.023578612133860588, 0.011597239412367344, -0.033820684999227524, -0.04459163174033165, 0.0014914534986019135, -0.03664566949009895, 0.002466736361384392, 0.0290813148021698, -0.06968765705823898, -0.01917785033583641, -0.04711669310927391, -0.09771208465099335, -0.04089643061161041, -0.03696569427847862, -0.019797809422016144, 0.034929562360048294, -0.10371775180101395, 0.013493838720023632, 0.02145436964929104, -0.008767670020461082, -0.011265209876000881, 0.041446786373853683, 0.018386196345090866, 0.001461654668673873, -0.09487001597881317, 0.05455467849969864, -0.03155246004462242, 0.0019351118244230747, -0.00818684697151184, 0.049856044352054596, 0.005669355392456055, 0.027789076790213585, 0.040568456053733826, 0.023740757256746292, 0.09002417325973511, -0.03855070844292641, 0.035100895911455154, -0.003799798898398876, 0.028886543586850166, -0.04828578978776932, 0.0384567566215992, 0.1121557280421257, -0.016172947362065315, -0.008252084255218506, 0.03355563431978226, -0.019618986174464226, 0.05186484009027481, 0.007235629949718714, 0.05764922872185707, 0.005560796707868576, 0.053191397339105606, -0.03623182326555252, -0.04827006533741951, -0.018767768517136574, 0.0035698646679520607, 0.059764664620161057, 0.08174020797014236, 0.024302247911691666, -0.0012745445128530264, 0.02117973007261753, -0.008910488337278366, 0.039672475308179855, -0.006445383187383413, 0.006153919268399477, -0.046722203493118286, 0.0023662478197366, -0.1009690910577774, 0.03458363190293312, -0.0011081101838499308, -0.09158727526664734, -0.023367157205939293, 0.018887897953391075, 0.029281679540872574, 0.05946335196495056, -0.0697653666138649, -0.03381650522351265, 0.059256330132484436, -0.017252318561077118, 0.010307970456779003, 0.017269566655158997, -0.006753456778824329, -0.01888238824903965, -0.05407734960317612, 0.0681045800447464, -0.07129604369401932, -0.03497568890452385, -0.07218723744153976, 0.009274634532630444, -0.015928639099001884, 0.009801244363188744, 0.00796652864664793, -0.003717112820595503, -0.03441162034869194, -0.02836368791759014, 0.012112697586417198, -0.05095185339450836, 0.015604719519615173, -0.007127656601369381, 0.018911926075816154, 0.14079467952251434, 0.03465506061911583, -0.03500337526202202, 0.01915699802339077, 0.006303820293396711, -0.027811871841549873, 0.00639208871871233, -0.010974172502756119, 0.0013933813897892833, 0.06324837356805801, -0.09750153124332428, 0.006017042323946953, -0.03241539001464844, -0.03928852453827858, -0.05365121364593506, -0.045650918036699295, -0.016013124957680702, -0.014287392608821392, 0.006944782100617886, -0.00392369506880641, 0.001060937182046473, 0.04928603768348694, -0.0477154441177845, 0.07407811284065247, -0.05195392668247223, 0.007329631596803665, 0.07428210228681564, -0.008910483680665493, -0.03666751831769943, -0.08883166313171387, 0.0654764473438263, 0.034621335566043854, 0.002102948958054185, 0.03443699702620506, 0.01374894194304943, 0.027055414393544197, 0.01960519701242447, -0.022366639226675034, -0.012685026973485947, -0.009133976884186268, 0.061296675354242325, -0.030973775312304497, 0.03884086757898331, -0.02455698512494564, 0.0049855695106089115, -0.010797904804348946, 0.05383504927158356, 0.1504453718662262, 0.00004357366560725495, 0.026237815618515015, -0.07408003509044647, 0.06741005182266235, -0.009549671784043312, -0.034177545458078384, 0.09310668706893921, 0.0746360793709755, 0.04171551391482353, -0.004373654257506132, -0.012673296965658665, 0.002138695679605007, 0.02204802632331848, 0.04772704839706421, 0.044293247163295746, 0.02240809239447117, -0.0860956609249115, 0.08306173980236053, -0.05657395347952843, -0.0732036679983139, -0.06846117228269577, -0.007478869985789061, 0.005905827973037958, 0.1138613224029541, -0.0035889726132154465, 0.07748015969991684, -0.02997039444744587, -0.019041389226913452, 0.06140448525547981, 0.036386679857969284, 0.06195000931620598, 0.03333727642893791, -0.05288463458418846, -0.02831454761326313, 0.007337144110351801, 0.03802588954567909, 0.005868877749890089, -0.00041580991819500923, 0.022161973640322685, 0.0030752981547266245, 0.03242659568786621, 0.040386173874139786, -0.08107784390449524, -0.006303498521447182, -0.0036573228426277637, 0.025868462398648262, -0.02015807293355465, -0.012656351551413536, -0.005696871783584356, 0.009549562819302082, 0.0017471533501520753, 0.012213317677378654, -0.03610280901193619, -0.06885106861591339, -0.009331158362329006, -0.03669121488928795, 0.014406287111341953, 0.0620306134223938, -0.022170132026076317, 0.09498804807662964, -0.05679670348763466, 0.02785973623394966, -0.005428828299045563, -0.042849551886320114, 0.0416664183139801, 0.036628078669309616, -0.02520168572664261, -0.0040344372391700745, 0.01161497738212347, 0.05818856880068779, 0.01907905749976635, -0.005438024643808603, -0.005528968293219805, -0.0792737826704979, 0.015663666650652885, -0.017749063670635223, -0.10129035264253616, 0.03780810162425041, -0.02783508412539959, 0.05070189759135246, 0.019024556502699852, -0.08391863107681274, 0.08234768360853195, -0.012329098768532276, -0.050405558198690414, -0.02211938612163067, 0.018518347293138504, 0.036680299788713455, 0.023435993120074272, 0.02000631019473076, 0.004540838301181793, -0.08230453729629517, 0.03261172026395798, 0.05549658462405205, -0.0017416449263691902, -0.0038893641903996468, -0.05770287662744522, -0.019283363595604897, 0.01010299101471901, 0.031461797654628754, 0.04381867125630379, -0.026645753532648087, -0.004490320570766926, 0.008243524469435215, -0.005179885309189558, 0.029262861236929893, -0.008019954897463322, -0.019846750423312187, 0.002352252369746566, 0.005179526284337044, -0.01898318901658058, -0.022480571642518044, 0.0038075812626630068, 0.01325406227260828, 0.023070931434631348, 0.07135571539402008, -0.013616856187582016, 0.0077289980836212635, -0.009770268574357033, -0.005617416929453611, -0.02135205641388893, -0.015208757482469082, 0.014118628576397896, 0.004821256268769503, -0.004959376994520426, -0.006914420519024134, 0.024711329489946365, 0.028603071346879005, 0.003786834655329585, -0.0527179129421711, -0.04503672569990158, -0.005399010609835386, 0.00444685248658061, 0.06258793920278549, -0.006292805541306734, 0.020236825570464134, 0.022399824112653732, 0.011629626154899597, 0.04320835694670677, -0.07738583534955978, -0.011971182189881802, -0.0133728152140975, 0.002523921662941575, -0.01744369976222515, -0.026553187519311905, 0.004456101451069117, -0.0009194574668072164, 0.06095554307103157, -0.004742567427456379, 0.02344507724046707, -0.015089072287082672, 0.0269775390625, 0.010389268398284912, -0.014039658010005951, 0.020358964800834656, -0.013783972710371017, -0.019326748326420784, 0.07698548585176468, -0.02439120039343834, -0.03233670815825462, -0.01374200638383627, 0.018651818856596947, -0.0029616206884384155, 0.013554156757891178, 0.0019602410029619932, 0.04545077681541443, 0.0018842027056962252, -0.0074768466874957085, 0.00610101455822587, -0.005516476929187775, -0.05503521114587784, -0.038792334496974945, 0.038154877722263336, -0.02018045075237751, -0.01884649135172367, 0.016585612669587135, 0.009920462965965271, -0.006386356428265572, -0.004844777286052704, -0.003092376282438636, 0.020297318696975708, 0.03672952577471733, 0.04331899806857109, 0.03709418326616287, 0.007884277030825615, -0.01926877722144127, -0.004577884450554848, 0.019060052931308746, -0.07628358155488968, -0.04113307595252991, 0.01291376817971468, 0.013244749046862125, 0.08558224141597748, 0.01029405277222395, -0.0178263820707798, -0.01600978523492813, -0.005892895627766848, 0.03254000097513199, -0.03058795817196369, -0.01860020123422146, -0.003594123525545001, -0.022300124168395996, 0.00596557417884469, 0.048078615218400955, 0.02582285739481449, 0.01637500338256359, 0.023632636293768883, -0.017430510371923447, -0.03710206225514412, -0.03444502502679825, 0.018866965547204018, 0.021153489127755165, -0.01129503920674324, 0.0019553331658244133, -0.00326527189463377, 0.021079672500491142, -0.006267656572163105, 0.004210877697914839, 0.021879693493247032, -0.014847171492874622, -0.0283323023468256, 0.004635447170585394, 0.005002779420465231, 0.0031413445249199867, 0.0029044721741229296, -0.02808789350092411, -0.05183180049061775, 0.04010283946990967, 0.0019526947289705276, 0.02426203340291977, 0.01174027007073164, 0.0066270348615944386, -0.006967298686504364, 0.06370444595813751, 0.01575789973139763, -0.02898888848721981, -0.021556977182626724, 0.020993662998080254, -0.017499638721346855, 0.04095165431499481, -0.033672038465738297, 0.0033102279994636774, 0.0011172411032021046, -0.0456111915409565, 0.04020118713378906, -0.008299930952489376, 0.004538328852504492, -0.014004950411617756, 0.046549178659915924, 0.006385105196386576, -0.026337962597608566, 0.05222160369157791, 0.047780416905879974, 0.06428784877061844, -0.0023388201370835304, 0.006389486137777567, -0.0077042849734425545, -0.0032736777793616056, -0.011558444239199162, -0.009689063765108585, -0.019878415390849113, -0.02677970379590988, 0.016732724383473396, 0.029789868742227554, -0.0371820442378521, 0.005339037626981735, 0.04102383926510811, -0.013403745368123055, -0.014807114377617836, -0.028978049755096436, 0.01118885912001133, 0.0547623336315155, 0.07502222806215286, -0.00030537648126482964, -0.01268070936203003, -0.04732392728328705, 0.02808832935988903, 0.019412631168961525, -0.0005059948889538646, 0.0029931573662906885, 0.05144372954964638, -0.0017793646547943354, -0.009738124907016754, 0.0250142440199852, 0.0025818925350904465, 0.007139554247260094, 0.04809342697262764, -0.057201653718948364, 0.060383860021829605, -0.02611224167048931, -0.020764704793691635, -0.022173937410116196, 0.02825971134006977, 0.025336306542158127, -0.015862751752138138, 0.01564236357808113, -0.0038630806375294924, 0.0042985775507986546, 0.04085199162364006, 0.01865789107978344, 0.04775045067071915, -0.05496871471405029, 0.026483900845050812, 0.0002632442628964782, -0.0127249825745821, 0.05621354654431343, -0.04814179986715317, -0.028478369116783142, 0.0009267159621231258, -0.025988876819610596, -0.017733868211507797, -0.022663002833724022, -0.016150541603565216, -0.010788124054670334, 0.037221696227788925, -0.04357309266924858, -0.04424190893769264, -0.03597745671868324, 0.012052733451128006, -0.011671070009469986, -0.031552933156490326, 0.03461058810353279, 0.012316647917032242, 0.04543115198612213, -0.007872495800256729, 0.012005203403532505, 0.03907690569758415, 0.0082087442278862, 0.014725650660693645, 0.018789945170283318, 0.05389723926782608, -0.02457098849117756, 0.011656910181045532, 0.01730462536215782, 0.017401011660695076, -0.0013321380829438567, 0.023005055263638496, -0.008854767307639122, -0.03003944456577301, 0.01742619462311268, 0.04626455157995224, -0.0011904432903975248, 0.05425814539194107, -0.015075117349624634, 0.009774387814104557, -0.015988238155841827, -0.0378323532640934, -0.027678832411766052, -0.03539785370230675, -0.004321095533668995, -0.003659907029941678, 0.07402420789003372, -0.03545470908284187, -0.00645554531365633, -0.029864024370908737, -0.10740359872579575, 0.03281706944108009, -0.0073667261749506, -0.008361131884157658, -0.061019621789455414, -0.02646159939467907, 0.009435439482331276, 0.004552165046334267, 0.0015785504365339875, 0.015812361612915993, 0.011884039267897606, 0.008567610755562782, -0.02138567343354225, -0.0005183063331060112, 0.0198958832770586, -0.01448152307420969, 0.014504985883831978, 0.03621831163764, -0.008665109053254128, -0.01404320914298296, -0.04861314222216606, 0.015834936872124672, -0.011510208249092102, -0.05077677592635155, -0.043898679316043854, -0.010603971779346466, -0.04479128494858742, 0.021463479846715927, -0.03790157660841942, -0.020277736708521843, 0.042634833604097366, -0.013075915165245533, 0.054008785635232925, 0.022263875231146812, 0.018039969727396965, -0.024654898792505264, 0.004530135076493025, -0.012566392309963703, 0.0003812336071860045, -0.005760438274592161, -0.01131780631840229, 0.004578211810439825, 0.02286059409379959, 0.005621425807476044, -0.002596571110188961, -0.014290766790509224, 0.017445430159568787, 0.04120504856109619, 0.007213373202830553, -0.04951947554945946, 0.014812014997005463, -0.0747583657503128, -0.022948721423745155, 0.018498161807656288, 0.0030083328019827604, -0.005448971409350634, -0.0026542197447270155, 0.003467538859695196, -0.0005629347288049757, -0.040984466671943665, 0.07876374572515488, 0.014583298936486244, 0.08476977795362473, -0.0006288044387474656, -0.021125802770256996, 0.04705420508980751, 0.06397949904203415, -0.023844022303819656, -0.05305412411689758, -0.00867978110909462, 0.04516196623444557, 0.0011001813691109419, -0.022880589589476585, 0.032944757491350174, 0.04261172190308571, 0.0015971529064700007, 0.0004237890534568578, -0.0009697135537862778, -0.06569423526525497, 0.01336466521024704, -0.03296465426683426, 0.035637564957141876, -0.0297074094414711, -0.021224701777100563, 0.03630593791604042, 0.0068061756901443005, 0.013364626094698906, -0.04172931984066963, 0.012017308734357357, -0.012605645693838596, -0.003932350780814886, 0.008972124196588993, -0.009043341502547264, -0.02301706187427044, 0.008833682164549828, 0.008954194374382496, -0.01872570998966694, 0.03076358139514923, 0.011205903254449368, -0.04231872409582138, -0.0015650878194719553, 0.01218558382242918, -0.031770508736371994, -0.02723643183708191, 0.015219414606690407, 0.011711674742400646, -0.0062855607829988, 0.010866108350455761, -0.04350188747048378, -0.008389074355363846, 0.012469981797039509, -0.027609383687376976, -0.05922843515872955, -0.012858047150075436, 0.027836773544549942, -0.0039200191386044025, -0.008692432194948196, 0.05322348326444626, -0.030459562316536903, -0.011394372209906578, -0.0031138211488723755, -0.01745462790131569, 0.009782077744603157, -0.043663185089826584, 0.0014834351604804397, 0.009631947614252567, 0.001168590853922069, 0.06260737776756287, 0.016072992235422134, -0.020256245508790016, 0.0019708224572241306, 0.003294129390269518, -0.004642861429601908, 0.014950558543205261, -0.00279308226890862, -0.003370690857991576, -0.023120108991861343, 0.01231801975518465, -0.0284075066447258, -0.02810842916369438, -0.029496772214770317, 0.01566934585571289, 0.007953627966344357, -0.020633431151509285, 0.006234016735106707, 0.01985011249780655, 0.066291943192482, -0.052638668566942215, -0.06143520027399063, 0.003463558852672577, 0.007300317753106356, 0.02046804688870907, 0.030611282214522362, 0.01589038223028183, 0.04258771613240242, 0.04100023955106735, -0.02678787149488926, 0.02783396653831005, -0.030118340626358986, 0.018725242465734482, 0.023956701159477234, -0.020205773413181305, -0.00858201552182436, 0.00030440220143646, 0.029510395601391792, 0.033163465559482574, 0.008984108455479145, 0.04677543416619301, 0.034803055226802826, 0.02139989845454693, -0.0379989892244339, -0.012045048177242279, 0.05418311804533005, -0.022994402796030045, -0.03646273910999298, -0.04507581144571304, -0.0045684995129704475, 0.04995016008615494, -0.0028037491720169783, 0.018423661589622498, -0.042089011520147324, -0.03043527714908123, -0.03221327066421509, 0.01845560222864151, -0.06818848103284836, 0.021443404257297516, -0.013096008449792862, 0.010711927898228168, 0.006074583623558283, -0.0015970654785633087, -0.05782701075077057, 0.024733688682317734, -0.0075722336769104, -0.024003613740205765, 0.052373144775629044, -0.016394445672631264, -0.030632536858320236, -0.05557237192988396, -0.022317327558994293, 0.05753844603896141, -0.055364321917295456, -0.03904998302459717, 0.03269118070602417, 0.0004816472646780312, 0.03419005498290062, 0.011235940270125866, 0.029622916132211685, 0.02237144485116005, 0.01701776497066021, 0.005666056182235479, -0.047950875014066696, 0.00610320596024394, -0.007784669753164053, -0.0009304186096414924, 0.023960771039128304, -0.029861323535442352, -0.02983725629746914, 0.022695494815707207, 0.001298446673899889, 0.010406093671917915, -0.009759826585650444, -0.012721693143248558, 0.03532308712601662, -0.03341267630457878, -0.03891993314027786, -0.014648854732513428, 0.010300613939762115, 0.0351838618516922, -0.012195565737783909, -0.039877451956272125, 0.03883678838610649, -0.01138259842991829, 0.012675321660935879, -0.050215959548950195, -0.010889754630625248, 0.009339814074337482, 0.006312990095466375, 0.019375689327716827, -0.07101611793041229, 0.02486017905175686, 0.009922483935952187, -0.022269707173109055, -0.055183760821819305, 0.018168438225984573 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
Running the model in the browser Running machine learning models is computationally intensive, so it's important to perform inference in a separate thread. This way we won't block the main thread, which is used for rendering the UI and reacting to your drawing gestures 😉. The Web Workers API makes this super simple! Create a new file (e.g., worker.js) in the src directory and add the following code: js import { pipeline, RawImage } from "@xenova/transformers"; const classifier = await pipeline("image-classification", 'Xenova/quickdraw-mobilevit-small', { quantized: false }); const image = await RawImage.read('https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/ml-web-games/skateboard.png'); const output = await classifier(image.grayscale()); console.log(output); We can now use this worker in our App.jsx file by adding the following code to the App component: jsx import { useState, useEffect, useRef } from 'react' // ... rest of the imports function App() { // Create a reference to the worker object. const worker = useRef(null); // We use the `useEffect` hook to set up the worker as soon as the `App` component is mounted. useEffect(() => { if (!worker.current) { // Create the worker if it does not yet exist. worker.current = new Worker(new URL('./worker.js', import.meta.url), { type: 'module' }); } // Create a callback function for messages from the worker thread. const onMessageReceived = (e) => { /* See code */ }; // Attach the callback function as an event listener. worker.current.addEventListener('message', onMessageReceived); // Define a cleanup function for when the component is unmounted. return () => worker.current.removeEventListener('message', onMessageReceived); }); // ... rest of the component } You can test that everything is working by running the development server (with npm run dev), visiting the local website (usually http://localhost:5173/), and opening the browser console. You should see the output of the model being logged to the console. js [{ label: "skateboard", score: 0.9980043172836304 }] Woohoo! 🥳 Although the above code is just a small part of the final product, it shows how simple the machine-learning side of it is! The rest is just making it look nice and adding some game logic.
[ -0.010074054822325706, -0.03555990383028984, 0.024077588692307472, -0.04552954435348511, 0.05430429056286812, 0.04009699821472168, -0.004958244040608406, 0.01111649814993143, -0.006062536966055632, -0.07638399302959442, -0.01865416206419468, 0.06554034352302551, -0.03214069455862045, 0.05346665158867836, 0.029340039938688278, -0.018925614655017853, 0.0554797500371933, -0.024187913164496422, -0.05166558176279068, 0.015944169834256172, 0.008099718019366264, -0.1316276490688324, 0.04763778671622276, 0.008628854528069496, -0.09936083853244781, -0.07443532347679138, 0.017167553305625916, 0.03330574557185173, 0.02052387222647667, 0.02291168086230755, -0.09661338478326797, 0.016225242987275124, -0.02776295877993107, -0.05314872786402702, -0.02982212044298649, 0.06495647132396698, -0.10950672626495361, 0.022147206589579582, 0.06769141554832458, 0.010675052180886269, -0.01999787800014019, -0.04903671145439148, -0.0693163126707077, 0.0803457498550415, 0.01769680343568325, -0.03454243019223213, -0.14449027180671692, 0.003549007000401616, -0.00806641299277544, 0.017435207962989807, -0.07275839149951935, 0.034157514572143555, 0.006635881960391998, 0.056281328201293945, -0.016296524554491043, 0.01297206524759531, 0.012866681441664696, -0.06764937937259674, 0.0037669551093131304, -0.029268871992826462, 0.06528116762638092, 0.008723112754523754, -0.0025442279875278473, 0.07723845541477203, -0.010786369442939758, 0.047611303627491, 0.02749553509056568, 0.007339118048548698, -0.009069868363440037, -0.07072313874959946, 0.005996244959533215, 0.023823851719498634, 0.020124634727835655, -0.01613970287144184, -0.008353984914720058, -0.04481448233127594, -0.045125000178813934, 0.0445714108645916, 0.05093463137745857, 0.023219985887408257, 0.04885316267609596, 0.02052539773285389, 0.061351511627435684, 0.060984961688518524, 0.07613708078861237, 0.008055323734879494, 0.0249660424888134, -0.061441004276275635, -0.022493304684758186, 0.042564067989587784, 0.00952105037868023, -0.05747951194643974, 0.03634274750947952, 0.04382646456360817, 0.034391824156045914, 0.07837318629026413, 0.02707737684249878, 0.040679167956113815, -0.047381456941366196, -0.04556778073310852, 0.006482248194515705, -0.1046750545501709, -0.040535058826208115, -0.0370628759264946, -0.011192508973181248, 0.0872076079249382, -0.014861959032714367, -0.10283131152391434, -0.024221712723374367, -0.017817489802837372, 0.0019414483103901148, 0.008560133166611195, -0.06055810675024986, -0.03123168833553791, -0.0889710932970047, 0.04677693173289299, -0.001322269905358553, 0.10037445276975632, 0.034810323268175125, 0.010807651095092297, 0.03468633070588112, 0.09762905538082123, 0.052725955843925476, 0.005075429100543261, 0.019509730860590935, 0.02043852210044861, 0.059146661311388016, 0.001545156235806644, 0.005771475378423929, -0.08332252502441406, 0.07521425932645798, 0.010008059442043304, 0.03851291537284851, 0.0009068945655599236, 0.03447805717587471, -0.022256333380937576, -0.004763641860336065, -0.06518740206956863, -0.025555606931447983, 0.03167039901018143, -0.0027653048746287823, -0.02521081082522869, 0.025387141853570938, 0.0269149262458086, 0.06834052503108978, -0.03804034739732742, -0.07352983951568604, -0.005769046954810619, -0.008105924353003502, -0.009118171408772469, -0.09581351280212402, 0.06670287996530533, -0.030991800129413605, -0.013051867485046387, -0.07842276245355606, 0.0529029481112957, 0.04273662716150284, 0.011980933137238026, -0.027573466300964355, 0.01239426713436842, -0.005554014816880226, 0.037858378142118454, -0.07035303115844727, -0.0016036768211051822, 0.0007460537599399686, 0.028927654027938843, -0.00922995712608099, -0.042770855128765106, 0.06408240646123886, -0.015685027465224266, 0.005767311900854111, -0.011741634458303452, 0.07185371220111847, -0.04573400318622589, 0.05418172851204872, 0.08453363925218582, -0.029199736192822456, -0.03127840906381607, 0.01762104034423828, -0.00053519377252087, -0.04524341598153114, 0.06495004892349243, 0.01797030307352543, 0.054233111441135406, 0.018332814797759056, -0.092801533639431, 0.06720424443483353, -0.0367610864341259, -0.07498457282781601, -0.018484041094779968, -0.03372626751661301, 0.030037036165595055, 0.04666175693273544, 0.008469996973872185, -0.03285720944404602, 0.02130037732422352, -0.0520334467291832, 0.06121518090367317, 0.019566155970096588, 0.07341136038303375, 0.023958716541528702, -0.012899508699774742, 0.026790786534547806, -0.03608321771025658, -0.023197920992970467, 0.006381832528859377, 0.02534586936235428, -0.042982593178749084, 0.0044066570699214935, -0.015569865703582764, -0.05202420428395271, -0.13112853467464447, 0.04396351799368858, -0.018500367179512978, -0.02006373181939125, -0.008708244189620018, -0.02653254196047783, -0.03402576223015785, -0.04463173821568489, 0.0057510086335241795, 0.1412234604358673, -0.06377401947975159, 0.00021887254843022674, -0.0450005903840065, 0.013936386443674564, 0.005404668394476175, 0.06280454993247986, 0.06979763507843018, 0.061670783907175064, -0.07035218179225922, -0.05207325145602226, -0.04275564104318619, -0.022343875840306282, 0.017051776871085167, -0.031499795615673065, -0.03202103450894356, 0.02375888079404831, 0.014193223789334297, -0.0029221419245004654, -0.03525501489639282, 0.018525967374444008, -0.018945375457406044, -0.03695184364914894, -0.023132577538490295, -0.04227977991104126, -0.06082499772310257, 0.03949115797877312, 0.011912036687135696, -0.08621282130479813, -0.05213020741939545, -0.014546047896146774, 0.019457640126347542, -0.056628935039043427, -0.010162663646042347, 0.01919652707874775, 0.032502129673957825, 0.006745159160345793, 0.0033564474433660507, 0.007514819968491793, 0.05953849479556084, 0.02622581087052822, 0.007314406335353851, 0.011616431176662445, 0.005262297112494707, -0.019982920959591866, -0.06825144588947296, 0.036751795560121536, -0.05007744953036308, 0.040700387209653854, 0.033230409026145935, 0.02685053087770939, -0.017895827069878578, 0.025682222098112106, -0.022856932133436203, 0.037196848541498184, 0.03806440904736519, -0.0024795057252049446, -0.017723647877573967, -0.015253064222633839, -0.03738364949822426, -0.04464205726981163, -0.029177768155932426, 0.035501860082149506, 0.041808515787124634, 0.023741936311125755, 0.02417498454451561, -0.004582088906317949, -0.005481738597154617, -0.07625559717416763, 0.04341144859790802, 0.041033171117305756, 0.010966217145323753, 0.017565613612532616, -0.029289985075592995, -0.03160807117819786, -0.0034203471150249243, 0.05764506012201309, -0.006340027786791325, -0.014987969771027565, 0.015364724211394787, -0.06652039289474487, -0.01699420064687729, 0.007948113605380058, -0.0367903970181942, -0.02427121251821518, 0.009003552608191967, -0.006111111957579851, 0.0025391376111656427, -0.09002717584371567, -0.021587202325463295, -0.010740634985268116, 0.019736159592866898, -0.011648138985037804, -0.02745039016008377, 0.06414219737052917, 0.029649030417203903, 0.005846192128956318, 0.02623124048113823, 0.011484479531645775, -0.0008805221877992153, 0.009289685636758804, -0.026598259806632996, -0.0034013926051557064, -0.025961892679333687, 0.008357998915016651, -0.02545667625963688, 0.03234217315912247, 0.01089604664593935, -0.041626229882240295, 0.055366192013025284, -0.024506941437721252, -0.04233537241816521, -0.0012104744091629982, 0.021244699135422707, 0.033857397735118866, 0.0024355475325137377, 0.014562134630978107, -0.03722522407770157, -0.03558122366666794, -0.06533577293157578, 0.005023989826440811, 0.04576977342367172, -0.03448512405157089, 0.022598374634981155, 0.020980123430490494, -0.005400822497904301, 0.010685241781175137, 0.022628892213106155, 0.028244245797395706, 0.03192778304219246, 0.009787016548216343, -0.014751474373042583, 0.013905894011259079, -0.0026349073741585016, 0.016776081174612045, -0.01111982949078083, 0.027867181226611137, -0.01100178249180317, 0.006645215209573507, 0.0035838086623698473, -0.006047070026397705, 0.0562233068048954, -0.015945352613925934, 0.010536262765526772, -0.03164086490869522, -0.00017876742640510201, 0.04541311413049698, -0.010623305104672909, -0.05023611709475517, 0.04760312661528587, -0.03073801100254059, -0.022167794406414032, -0.012901026755571365, 0.015466286800801754, 0.042959339916706085, -0.01873958483338356, -0.0012308796867728233, 0.02298249863088131, 0.021331585943698883, 0.04527353495359421, 0.012533808127045631, 0.005458096042275429, -0.0017371816793456674, 0.026014285162091255, -0.02222944051027298, -0.07384379208087921, 0.045930247753858566, 0.004926791414618492, 0.04591253399848938, -0.03259065002202988, -0.005141929257661104, -0.025616014376282692, 0.017987452447414398, -0.015081345103681087, 0.021637512370944023, -0.03139273822307587, -0.006063348613679409, 0.0323009230196476, 0.00978030450642109, -0.04164512827992439, 0.023722859099507332, -0.03413110598921776, -0.028016941621899605, -0.005021971184760332, 0.014683441258966923, 0.033750735223293304, 0.027943475171923637, -0.0006189976120367646, 0.01766851916909218, -0.01902664452791214, 0.028706304728984833, 0.05104907974600792, 0.0006683129468001425, 0.0565459243953228, -0.030054720118641853, -0.003746377071365714, 0.04237506166100502, -0.026678429916501045, -0.003303636098280549, -0.04204826056957245, 0.015865817666053772, 0.03164567053318024, 0.019330935552716255, 0.028727255761623383, 0.004285336937755346, -0.010710136964917183, -0.014275969006121159, 0.01451320480555296, -0.04047642648220062, -0.013525339774787426, -0.02249961905181408, -0.041534021496772766, 0.040475260466337204, 0.031521838158369064, 0.02576744183897972, 0.031095825135707855, 0.020509272813796997, -0.031742580235004425, -0.02606124058365822, -0.023046599701046944, 0.05346761643886566, 0.024429654702544212, 0.0527646578848362, -0.020602542906999588, 0.00006268210563575849, 0.026479139924049377, 0.034130461513996124, -0.03298117592930794, 0.002435272326692939, -0.0035890808794647455, -0.016553891822695732, -0.07184363901615143, 0.010738312266767025, 0.030286356806755066, -0.02795395441353321, 0.011178574524819851, -0.03565303236246109, -0.004455246031284332, 0.003449232317507267, -0.0209201592952013, -0.04070759937167168, 0.048766639083623886, 0.061536479741334915, 0.014338087290525436, -0.005613093730062246, -0.014539044350385666, 0.013801070861518383, 0.03145153075456619, -0.032318804413080215, 0.006908855400979519, 0.007718928158283234, 0.03054472990334034, 0.014157767407596111, -0.0215818602591753, -0.001590248430147767, -0.025930875912308693, -0.017546722665429115, 0.008550692349672318, -0.05401794612407684, -0.006152088288217783, 0.0026351786218583584, -0.03946523368358612, -0.0026812341529875994, 0.0315818190574646, -0.016797026619315147, -0.004307374823838472, -0.027204500511288643, 0.021346082910895348, 0.00039087265031412244, -0.004282528534531593, 0.06387516111135483, -0.03149653971195221, -0.016551408916711807, -0.005090614315122366, 0.052564587444067, 0.018398817628622055, 0.04843020439147949, 0.020980067551136017, 0.030311623588204384, 0.02206328883767128, 0.010951855219900608, -0.06048880144953728, 0.03673512488603592, -0.01746380515396595, 0.0075420537032186985, 0.0006797389942221344, -0.0007026909734122455, -0.012618355453014374, 0.05612528324127197, 0.04763568937778473, -0.030855461955070496, -0.013746129348874092, 0.001369456760585308, -0.01001468300819397, 0.003634790424257517, 0.007492211647331715, 0.031479816883802414, 0.0015791170299053192, -0.002794529078528285, 0.010047197341918945, -0.011375442147254944, 0.013298568315804005, -0.013981561176478863, -0.00785294733941555, -0.008688564412295818, 0.07195369899272919, 0.014411680400371552, 0.06356455385684967, -0.025965822860598564, 0.006951454561203718, -0.013809219002723694, -0.0315946526825428, -0.0019780625589191914, -0.027090197429060936, -0.013393825851380825, 0.012979632243514061, 0.02241733856499195, 0.014881773851811886, 0.039008159190416336, -0.0001995393686229363, 0.014787690714001656, 0.01983988657593727, 0.006929605267941952, 0.02109997533261776, -0.013178342953324318, 0.017600983381271362, 0.03290950134396553, 0.01060930360108614, -0.020864542573690414, -0.05539858341217041, -0.059531986713409424, 0.012481732293963432, -0.007742275949567556, 0.02289724349975586, 0.05626685172319412, -0.040364399552345276, -0.03264174237847328, 0.02375955507159233, -0.0011370716383680701, 0.0003926627687178552, 0.009535418823361397, -0.01504447776824236, -0.030597196891903877, 0.03210264444351196, 0.0203993059694767, -0.0035403345245867968, 0.011503552086651325, -0.013264351524412632, -0.031540647149086, -0.07814434915781021, 0.011238320730626583, 0.011315598152577877, -0.003074266714975238, 0.01864982396364212, 0.002833866747096181, -0.02317810244858265, -0.015801692381501198, 0.011984133161604404, 0.03165288269519806, -0.007993409410119057, -0.010739577002823353, -0.005666273646056652, -0.021659165620803833, -0.04401116073131561, -0.008048449642956257, 0.09055556356906891, 0.007211176212877035, 0.028900301083922386, 0.011287993751466274, 0.010642372071743011, 0.03632935509085655, -0.02026405744254589, 0.009804640896618366, -0.02379516139626503, 0.0705002024769783, 0.018505999818444252, 0.022685060277581215, 0.03945717215538025, 0.01883343979716301, 0.02295030653476715, 0.013571258634328842, -0.0069010304287076, 0.001887855469249189, -0.0007428997778333724, 0.0215469803661108, -0.009459011256694794, 0.004608128685504198, -0.05440887436270714, 0.0005392736056819558, 0.04045732691884041, 0.017315326258540154, 0.00475405715405941, -0.003787609748542309, 0.0309342909604311, 0.01573130302131176, 0.030246537178754807, -0.018994329497218132, 0.030598392710089684, -0.01682838425040245, 0.004611446987837553, 0.021128438413143158, 0.039801087230443954, -0.012829461134970188, -0.01371689885854721, 0.019862636923789978, -0.0110065508633852, -0.04533827677369118, -0.040597446262836456, -0.005675361026078463, 0.008067234419286251, 0.0004617377126123756, -0.0016225730068981647, -0.06731636077165604, -0.015489966608583927, 0.02128516510128975, -0.027758244425058365, 0.0008015621569938958, 0.009088330902159214, 0.007166537921875715, -0.006207640748471022, -0.010466426610946655, -0.004015226382762194, 0.03858565166592598, 0.04962275177240372, 0.006334810983389616, 0.03424517437815666, -0.002244329545646906, -0.055146388709545135, 0.0038822940550744534, -0.0004532343882601708, 0.061443571001291275, 0.022726885974407196, 0.00429124291986227, -0.04252179339528084, -0.006426624953746796, 0.06911469995975494, 0.006003608461469412, 0.04260214418172836, 0.025798438116908073, 0.019017156213521957, -0.011359049007296562, -0.005135485902428627, -0.027024801820516586, -0.02866443246603012, -0.015361141413450241, -0.012244953773915768, -0.025481507182121277, -0.02560342289507389, 0.009143552742898464, 0.007122678216546774, 0.04567645862698555, -0.03438317030668259, -0.04158897325396538, 0.050845153629779816, -0.003160146065056324, -0.028408251702785492, 0.05626710504293442, -0.003441566601395607, 0.022995447739958763, 0.006259156856685877, -0.023426132276654243, 0.022447513416409492, 0.04742266610264778, -0.010896759107708931, 0.06461473554372787, -0.023341933265328407, -0.010196477174758911, -0.013945632614195347, -0.019077928736805916, 0.042890094220638275, 0.042326103895902634, 0.010674698278307915, 0.009574840776622295, -0.005392071325331926, -0.0064399405382573605, 0.028813257813453674, -0.049474313855171204, -0.005667254328727722, -0.03634392470121384, 0.019457628950476646, -0.02045796811580658, -0.015777725726366043, -0.039664871990680695, 0.017328547313809395, -0.011439579539000988, -0.013739826157689095, -0.02509390190243721, 0.010500571690499783, -0.026989463716745377, 0.035457395017147064, 0.03046334534883499, 0.05393754690885544, -0.004892366006970406, -0.002690287074074149, -0.040220219641923904, 0.024056702852249146, -0.03353824093937874, 0.07387273758649826, 0.03899003937840462, -0.021689170971512794, -0.010228334926068783, 0.030513344332575798, 0.010440816171467304, 0.033339884132146835, -0.014563851058483124, 0.0062846834771335125, -0.0002774549648165703, -0.02350248582661152, -0.04358542710542679, 0.03427451103925705, 0.03287961333990097, 0.023543240502476692, 0.025415807962417603, -0.046547334641218185, -0.04918736591935158, -0.007597686722874641, 0.052629951387643814, -0.01660957559943199, -0.005972148384898901, 0.028940681368112564, 0.011351825669407845, 0.04511142149567604, -0.012728489935398102, 0.03317040205001831, -0.03732191026210785, -0.022743629291653633, 0.028677668422460556, -0.032987792044878006, -0.031098322942852974, -0.03872019425034523, -0.04310772567987442, 0.029269054532051086, -0.004680369049310684, -0.01332378201186657, -0.006796994712203741, -0.0004837066517211497, -0.006612391211092472, -0.02338145487010479, 0.024707520380616188, 0.020159738138318062, 0.0007988987490534782, -0.018926475197076797, -0.06410130858421326, 0.06332393735647202, 0.027421096339821815, -0.04489097371697426, -0.036688707768917084, 0.0011302812490612268 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
Overview Before we start, let's talk about what we'll be creating. The game is inspired by Google's Quick, Draw! game, where you're given a word and a neural network has 20 seconds to guess what you're drawing (repeated 6 times). In fact, we'll be using their training data to train our own sketch detection model! Don't you just love open source? 😍 In our version, you'll have one minute to draw as many items as you can, one prompt at a time. If the model predicts the correct label, the canvas will be cleared and you'll be given a new word. Keep doing this until the timer runs out! Since the game runs locally in your browser, we don't have to worry about server latency at all. The model is able to make real-time predictions as you draw, to the tune of over 60 predictions a second... 🤯 WOW! This tutorial is split into 3 sections: 1. Training the neural network 2. Running in the browser with Transformers.js 3. Game Design
[ 0.02470128796994686, -0.07175920903682709, 0.12443061918020248, -0.02932313084602356, 0.059218984097242355, 0.06994017958641052, 0.05070981755852699, 0.09271800518035889, 0.0005725044757127762, -0.05659347400069237, -0.027020618319511414, 0.07108956575393677, -0.005085368175059557, 0.05319175496697426, 0.04739464074373245, 0.005321030970662832, 0.06332433968782425, -0.014074191451072693, -0.02419896237552166, 0.009183493442833424, -0.017580419778823853, -0.03603247553110123, 0.03583570197224617, -0.04893410578370094, -0.0031791245564818382, -0.004259274806827307, -0.017214177176356316, 0.008351212367415428, -0.018222613260149956, 0.01792462356388569, -0.09037820994853973, -0.014094925485551357, 0.028830664232373238, -0.07703892886638641, -0.03819521889090538, 0.046626199036836624, -0.028497276827692986, 0.08051439374685287, -0.012822898104786873, -0.07415715605020523, -0.04341188445687294, 0.01258325856178999, 0.0028518293984234333, 0.05875452980399132, 0.07419517636299133, -0.01686692424118519, -0.1621863842010498, 0.05375084653496742, -0.07774076610803604, -0.06439159065485, -0.0750407949090004, -0.0006204764940775931, -0.03564419224858284, 0.008672194555401802, -0.09171392768621445, -0.0023212539963424206, 0.058157604187726974, -0.055853936821222305, -0.03454681858420372, 0.006970268674194813, 0.057893577963113785, 0.026778558269143105, 0.04580388218164444, -0.023146629333496094, -0.02679239958524704, -0.02919786609709263, 0.028360849246382713, 0.08481219410896301, -0.00418384512886405, 0.002889073919504881, 0.026252344250679016, -0.018992792814970016, -0.0750441923737526, 0.02084791474044323, -0.03214645758271217, 0.01345175039023161, 0.06632548570632935, 0.06086704507470131, 0.010604296810925007, 0.02464589849114418, 0.028285475447773933, 0.004484633449465036, 0.1204218864440918, 0.021808259189128876, 0.04488362371921539, 0.015339798294007778, -0.04497275501489639, 0.00788071658462286, -0.05538482218980789, -0.010034569539129734, 0.04662434384226799, -0.16123011708259583, -0.017082618549466133, -0.014637895859777927, 0.00809653103351593, 0.03109516203403473, -0.014432664960622787, 0.010789228603243828, -0.06263624131679535, -0.0615597739815712, 0.0037997420877218246, -0.12627089023590088, 0.03780447319149971, -0.053197573870420456, -0.059394679963588715, 0.032165855169296265, -0.002851806115359068, -0.12051432579755783, -0.01903187483549118, 0.044391434639692307, -0.015773149207234383, 0.019850309938192368, 0.03572418540716171, 0.024386143311858177, -0.05199805647134781, 0.0028924462385475636, 0.013728681020438671, 0.03451621159911156, -0.06620052456855774, 0.0032987671438604593, -0.03183368593454361, 0.0021389455068856478, 0.007837686687707901, 0.02802005223929882, 0.01174458209425211, 0.04186933860182762, 0.0032553651835769415, 0.030501019209623337, 0.010554245673120022, -0.0316472128033638, 0.034318339079618454, -0.03392564877867699, -0.004334751050919294, -0.01054166629910469, -0.006181242875754833, -0.0374254547059536, 0.0012744717532768846, 0.003613885724917054, -0.000846532522700727, 0.03811144083738327, -0.013651546090841293, 0.01609557308256626, 0.02540244720876217, -0.0025513102300465107, 0.06017160043120384, -0.09113586694002151, -0.05992163345217705, 0.012340674176812172, 0.023637648671865463, 0.05077347159385681, -0.08174210041761398, 0.051649309694767, -0.0303366519510746, -0.05553043261170387, -0.06046448275446892, 0.07049991935491562, -0.004972246941179037, -0.012173191644251347, -0.06871902197599411, 0.014429780654609203, 0.000042225539800710976, 0.040378034114837646, -0.04434206709265709, 0.02908126264810562, 0.0052385409362614155, -0.016113009303808212, 0.016002509742975235, -0.013882975094020367, 0.05065910518169403, 0.0148275475949049, 0.036965999752283096, 0.02514389529824257, 0.07931247353553772, -0.06151562184095383, 0.05597174912691116, 0.007470251526683569, 0.019584165886044502, 0.03233569860458374, 0.0882360190153122, -0.01375428494066, -0.032969988882541656, 0.058869026601314545, 0.07907377183437347, 0.06664793193340302, 0.06129038333892822, -0.11735481768846512, 0.02554202452301979, -0.021619735285639763, -0.018849531188607216, 0.01702060177922249, -0.023379480466246605, 0.020962463691830635, 0.048123110085725784, 0.005453650373965502, 0.05238216370344162, -0.09057226777076721, -0.07602007687091827, 0.06177248805761337, 0.03423381969332695, 0.07347727566957474, 0.018839456140995026, -0.018735520541667938, 0.03174065798521042, -0.02560434862971306, -0.0028294469229876995, -0.04625188559293747, 0.003727951552718878, -0.00813368521630764, -0.0199287049472332, -0.05178298428654671, -0.04675867408514023, -0.06833553314208984, 0.042455099523067474, -0.021365417167544365, 0.03315834701061249, 0.017051981762051582, 0.016476057469844818, 0.0072729988023638725, -0.008828969672322273, -0.04806226119399071, 0.13540129363536835, -0.05496619641780853, -0.06365912407636642, -0.021044304594397545, -0.039532940834760666, 0.029960213229060173, 0.01286966260522604, -0.033129964023828506, 0.10017368197441101, -0.09282904863357544, -0.046965911984443665, 0.024683192372322083, 0.027483884245157242, -0.025401847437024117, -0.03809233382344246, -0.02168702520430088, 0.07875071465969086, 0.029505381360650063, -0.013829748146235943, -0.04202064126729965, 0.010825118981301785, 0.00817931815981865, -0.012207170017063618, 0.019686980172991753, -0.04807334765791893, 0.003907646518200636, 0.012309188023209572, 0.0340532548725605, 0.032912276685237885, 0.005869519431143999, -0.06802518665790558, 0.0028524568770080805, -0.05848080664873123, 0.047893889248371124, 0.04963589087128639, 0.00853131152689457, -0.008249640464782715, -0.0353841707110405, 0.0021631577983498573, 0.05048668012022972, 0.025456838309764862, 0.001488541136495769, 0.0020341980271041393, -0.0014459836529567838, -0.01943087764084339, -0.052214425057172775, 0.011041449382901192, -0.01270675752311945, 0.0352582149207592, 0.003506101667881012, 0.01724432036280632, -0.01621069572865963, -0.006142535246908665, -0.045671138912439346, -0.009657904505729675, 0.020563403144478798, 0.036070555448532104, -0.0003075197455473244, 0.01885339617729187, -0.0349641814827919, -0.008162623271346092, -0.013427159748971462, 0.0313839316368103, 0.02849435806274414, 0.014646927826106548, 0.027731584385037422, 0.026695024222135544, 0.018781544640660286, -0.039494581520557404, 0.02471790835261345, 0.024227850139141083, 0.04625891521573067, -0.03299110755324364, -0.000466074823634699, -0.0016178374644368887, 0.008246409706771374, 0.026937033981084824, -0.002650204347446561, 0.005133152008056641, 0.00784815289080143, -0.004257009830325842, -0.023473544046282768, -0.02433563396334648, 0.01017675455659628, -0.007844905368983746, -0.0011703299824148417, 0.001521715079434216, 0.016210243105888367, -0.09447965770959854, -0.02347012236714363, 0.016993530094623566, 0.004968857392668724, -0.0217217318713665, -0.0344243086874485, 0.007069047074764967, 0.008041685447096825, 0.01869307830929756, 0.026192130520939827, -0.009841373190283775, 0.02978670410811901, -0.03047812171280384, -0.025061024352908134, 0.05532752349972725, 0.017752256244421005, 0.0033216234296560287, -0.009477133862674236, 0.0003124983049929142, -0.004327298142015934, -0.038786038756370544, 0.04196380823850632, -0.03435502573847771, 0.0193457193672657, -0.013214267790317535, 0.0049941809847950935, 0.006167302373796701, -0.003813958028331399, 0.038856443017721176, 0.011260618455708027, -0.004568831995129585, -0.019618872553110123, -0.006790895480662584, 0.02688850276172161, -0.028390396386384964, 0.02013389579951763, 0.0080459238961339, -0.009533670730888844, 0.015146114863455296, 0.0009040508302859962, -0.03706640005111694, -0.013566694222390652, -0.00874245259910822, -0.022181052714586258, 0.029030902311205864, 0.003866544459015131, -0.035481058061122894, 0.0018669194541871548, 0.0002405866835033521, -0.051024068146944046, -0.014719761908054352, -0.011861974373459816, -0.042975232005119324, 0.016242027282714844, 0.0009769733296707273, -0.012010546401143074, 0.0007033097208477557, -0.03203333914279938, 0.0369415208697319, -0.011786582879722118, -0.014693262055516243, 0.041532449424266815, -0.017695317044854164, -0.042512714862823486, -0.02115054987370968, 0.018360424786806107, 0.056392885744571686, 0.07308991998434067, -0.00964062288403511, 0.02741611935198307, 0.0185125470161438, 0.028001170605421066, 0.0046740309335291386, 0.006226927507668734, 0.0031050494872033596, 0.04615512862801552, -0.015030407346785069, -0.02583983726799488, 0.07979290187358856, 0.013175263069570065, 0.010154197923839092, -0.0542607344686985, -0.015154696069657803, -0.008260196074843407, 0.020325345918536186, -0.014795656315982342, 0.013134759850800037, -0.04543091729283333, 0.006164356600493193, 0.0333830788731575, 0.06106126308441162, 0.03095952235162258, 0.000013354579095903318, -0.01423514261841774, 0.007519203703850508, 0.018346549943089485, 0.01511189341545105, 0.010156005620956421, -0.005234765354543924, 0.011420081369578838, 0.019512008875608444, -0.04200800135731697, 0.0179017074406147, 0.007942510768771172, -0.004788757301867008, 0.02819840982556343, -0.012454546056687832, 0.03821687400341034, 0.03271505981683731, 0.016613859683275223, -0.004066066350787878, 0.016828496009111404, -0.017756279557943344, 0.02018001861870289, -0.0006071552052162588, 0.0053064231760799885, -0.005058913491666317, -0.018026916310191154, -0.010461189784109592, -0.010366657748818398, -0.026320625096559525, -0.0029043005779385567, -0.028030812740325928, -0.011707750149071217, 0.028343340381979942, 0.018526488915085793, 0.024416077882051468, 0.025211844593286514, 0.0005051218904554844, 0.0016741311410441995, -0.011675607413053513, -0.002905885223299265, -0.0026446233969181776, 0.05654985457658768, 0.034781988710165024, 0.019794654101133347, -0.037400681525468826, -0.016396915540099144, 0.012782332487404346, -0.010618386790156364, 0.03171689435839653, 0.022769365459680557, 0.040787916630506516, -0.02516729198396206, -0.022458752617239952, 0.01213784608989954, -0.00405930308625102, 0.019765211269259453, -0.0027849627658724785, -0.017030853778123856, 0.031876470893621445, -0.023979181423783302, -0.018952952697873116, 0.0008861977839842439, 0.06717434525489807, -0.03790274262428284, -0.05472061038017273, 0.013307946734130383, 0.015015056356787682, 0.016761094331741333, 0.013708031736314297, -0.0031048650853335857, -0.044276658445596695, 0.05935236066579819, -0.0046187154948711395, -0.04141601547598839, 0.009107968769967556, -0.004463204648345709, -0.0156887024641037, -0.0023353646975010633, -0.0027259194757789373, 0.02083694189786911, 0.029200615361332893, 0.015742972493171692, -0.006139771081507206, 0.00651190709322691, 0.003410907229408622, 0.0239467341452837, -0.007889976724982262, 0.019528834149241447, -0.007948726415634155, 0.016684049740433693, 0.025772998109459877, 0.013562219217419624, 0.03166089206933975, -0.010047764517366886, 0.06980469822883606, 0.038370802998542786, 0.039162639528512955, -0.027241382747888565, -0.010997011326253414, -0.0032779178582131863, -0.016295963898301125, -0.0664217621088028, 0.06058652698993683, -0.012402611784636974, -0.0564052052795887, -0.00897249486297369, -0.016043279320001602, -0.0033363676629960537, 0.01975215971469879, -0.009458749555051327, -0.03841511532664299, -0.0125960111618042, 0.04364199563860893, 0.004323835950344801, 0.004252735525369644, -0.029980286955833435, 0.005319495685398579, -0.007360465358942747, -0.01349374558776617, 0.0014522946439683437, -0.003966678399592638, -0.002999920630827546, 0.011586821638047695, -0.027650652453303337, 0.03524729236960411, -0.0009660080540925264, 0.06851651519536972, 0.07038303464651108, -0.0276993066072464, 0.0006861600559204817, -0.034540362656116486, 0.0027666487731039524, 0.055955469608306885, -0.03689320757985115, 0.04181161895394325, 0.00003888844003085978, -0.02713032439351082, 0.0026651902589946985, 0.09759821742773056, -0.0042495205998420715, -0.03138817101716995, 0.02010192908346653, 0.016840968281030655, -0.03704305365681648, -0.045623715966939926, 0.010838408023118973, 0.023876171559095383, -0.00005668191079166718, -0.02103659138083458, 0.0021022444125264883, -0.03639400005340576, -0.011921023949980736, -0.032534170895814896, 0.02898445352911949, 0.09099741280078888, -0.008485741913318634, -0.03962097689509392, -0.009832493029534817, -0.0018887986661866307, -0.011604796163737774, -0.02564973570406437, -0.03104545921087265, 0.023002177476882935, 0.04185371473431587, 0.04027682542800903, -0.0024430009070783854, -0.01002966146916151, -0.010388903319835663, 0.011745186522603035, -0.034270402044057846, -0.007419473025947809, 0.0182912889868021, -0.020078571513295174, 0.012389158830046654, 0.04416060820221901, -0.03723383694887161, -0.04534391686320305, 0.05645187571644783, 0.011852224357426167, 0.03727898374199867, 0.008379225619137287, 0.009606399573385715, -0.004228717647492886, -0.06696006655693054, 0.005061978939920664, 0.044772762805223465, 0.017802007496356964, 0.04345785081386566, 0.015540499240159988, 0.04667634144425392, 0.0015657360199838877, -0.017530540004372597, 0.02432543784379959, -0.03041931800544262, 0.07197272777557373, 0.008412249386310577, 0.05107523500919342, 0.0069227060303092, -0.008158405311405659, -0.05000715330243111, 0.024022875353693962, -0.0063464464619755745, -0.051812201738357544, 0.016467446461319923, 0.04483634606003761, -0.02389310859143734, -0.010288798250257969, -0.02144518494606018, 0.024724461138248444, 0.04726054519414902, 0.016456907615065575, 0.015882190316915512, 0.035621754825115204, 0.050893206149339676, 0.017129233106970787, 0.04858642444014549, 0.0013427491066977382, 0.027176063507795334, -0.03558534011244774, 0.022614620625972748, -0.011695332825183868, 0.023311959579586983, 0.006557280197739601, -0.0015840140404179692, -0.01143725961446762, 0.00199558911845088, -0.030998222529888153, -0.008975171484053135, -0.029639506712555885, 0.00017577210383024067, -0.040838442742824554, 0.0374503917992115, -0.026789264753460884, 0.006020337343215942, -0.008098457008600235, -0.03336567059159279, -0.043454524129629135, 0.000909001159016043, -0.06278564780950546, 0.01735173538327217, 0.02362484484910965, 0.00035618271795101464, -0.018193405121564865, -0.06991252303123474, 0.02125163935124874, 0.00563102588057518, -0.00687890499830246, -0.021256806328892708, -0.025109682232141495, -0.01334342174232006, -0.022998111322522163, -0.013420745730400085, -0.03907855227589607, -0.01363363303244114, 0.035063061863183975, 0.0034247597213834524, -0.02396460436284542, 0.016523126512765884, 0.018289566040039062, -0.018272891640663147, -0.03651963174343109, 0.024080142378807068, -0.0446213074028492, -0.010315395891666412, 0.02135719358921051, 0.020894477143883705, -0.02746661566197872, -0.018744437023997307, -0.002898611593991518, -0.008890971541404724, 0.05850036069750786, -0.06431067734956741, -0.045180439949035645, 0.05671554058790207, -0.015430588275194168, 0.00952840130776167, 0.02879842184484005, 0.04797443747520447, -0.01311831921339035, 0.021274788305163383, -0.003967576660215855, 0.024385998025536537, -0.007007003761827946, 0.013489879667758942, -0.007652497850358486, 0.012181089259684086, -0.017821192741394043, 0.03477136790752411, 0.01110187079757452, 0.0276346318423748, 0.009266356937587261, 0.04850095510482788, 0.01959249936044216, 0.01530164573341608, -0.04031778872013092, 0.01411869004368782, -0.04941108077764511, 0.022062771022319794, -0.04491381719708443, -0.057639773935079575, -0.06395257264375687, 0.018505580723285675, 0.021368738263845444, 0.019148170948028564, -0.05034460872411728, -0.008677612990140915, -0.021563831716775894, 0.02329082228243351, -0.02232281118631363, 0.029275041073560715, 0.011063994839787483, -0.023200228810310364, 0.02904675155878067, -0.005067164544016123, -0.0169459730386734, 0.014677445404231548, 0.010762634687125683, 0.06897269934415817, 0.02210119739174843, -0.016288578510284424, 0.004027443006634712, -0.037496309727430344, -0.021363575011491776, -0.050793737173080444, -0.052437152713537216, -0.02228447236120701, 0.027870291844010353, -0.03881948068737984, -0.02207663655281067, 0.03704455494880676, 0.0038629977498203516, -0.022396625950932503, 0.0016042463248595595, -0.04599158465862274, -0.04835289716720581, -0.002034976379945874, 0.029247816652059555, -0.02983953058719635, -0.010949703864753246, 0.05653940886259079, 0.019605383276939392, -0.023257212713360786, 0.02590988017618656, 0.019372420385479927, 0.020055126398801804, -0.01724826730787754, 0.017195723950862885, -0.013204068876802921, -0.010932656936347485, -0.057458989322185516, 0.011279977858066559, 0.005721599794924259, -0.019347738474607468, 0.025667943060398102, 0.030540959909558296, 0.024977492168545723, -0.02503306232392788, -0.034248609095811844, 0.01911742240190506, 0.025498606264591217, 0.02289241924881935, 0.029787270352244377, -0.06207452341914177, 0.07980923354625702, 0.024300791323184967, -0.00391693040728569, -0.014242087490856647, -0.0008949819603003561 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
Taking advantage of real-time performance One of the main advantages of performing in-browser inference is that we can make predictions in real time (over 60 times a second). In the original Quick, Draw! game, the model only makes a new prediction every couple of seconds. We could do the same in our game, but then we wouldn't be taking advantage of its real-time performance! So, I decided to redesign the main game loop: - Instead of six 20-second rounds (where each round corresponds to a new word), our version tasks the player with correctly drawing as many doodles as they can in 60 seconds (one prompt at a time). - If you come across a word you are unable to draw, you can skip it (but this will cost you 3 seconds of your remaining time). - In the original game, since the model would make a guess every few seconds, it could slowly cross labels off the list until it eventually guessed correctly. In our version, we instead decrease the model's scores for the first n incorrect labels, with n increasing over time as the user continues drawing.
[ -0.006036314647644758, 0.0018407985335215926, 0.07883486151695251, 0.022377856075763702, 0.02666139043867588, 0.06204574182629585, 0.039492350071668625, 0.0395222008228302, 0.00008938774408306926, -0.05541813373565674, 0.029303260147571564, -0.03376486897468567, -0.01526594813913107, 0.006065635941922665, 0.04344634711742401, -0.003805760061368346, 0.06073033809661865, -0.028916001319885254, -0.05764655023813248, -0.004609379917383194, 0.021578745916485786, -0.05382685735821724, 0.02628982439637184, -0.04237191379070282, -0.058403950184583664, 0.02821367233991623, -0.05437720939517021, -0.04795100539922714, -0.020509222522377968, -0.0003552609996404499, -0.07478135824203491, -0.014187747612595558, 0.015319978818297386, -0.00015422154683619738, -0.03498062863945961, -0.012856659479439259, -0.020781418308615685, 0.054616834968328476, -0.009166097268462181, -0.04008779302239418, 0.02894696034491062, 0.014688192866742611, -0.00042031818884424865, 0.062102075666189194, -0.018331153318285942, -0.04443327337503433, -0.1243273988366127, 0.04699438065290451, -0.035300593823194504, -0.03486991673707962, -0.08657138794660568, 0.06728943437337875, -0.05110017582774162, 0.029002578929066658, -0.0782434418797493, -0.007661895826458931, 0.045961081981658936, -0.017702458426356316, -0.03411421179771423, 0.005931534338742495, 0.037063900381326675, 0.006383562460541725, 0.10417047888040543, 0.01702479086816311, -0.0511324368417263, -0.02903505600988865, 0.02981897071003914, 0.02194187231361866, 0.0012123682536184788, -0.007660857867449522, 0.01013504434376955, -0.02660358138382435, -0.061178307980298996, 0.03595559298992157, 0.020718278363347054, -0.019093913957476616, 0.008322318084537983, 0.05721526965498924, 0.0012968218652531505, -0.03516180440783501, 0.012707334943115711, -0.05434773862361908, 0.08008938282728195, 0.04023190587759018, 0.04182378202676773, -0.008552128449082375, -0.011109134182333946, -0.014961530454456806, -0.05104590579867363, -0.03359175845980644, -0.004542019683867693, -0.1100912019610405, 0.010778248310089111, -0.03432444483041763, -0.0004651094204746187, 0.07845396548509598, 0.020046520978212357, 0.04054265096783638, -0.055245570838451385, -0.04509172588586807, -0.023521434515714645, -0.1528511643409729, 0.015188198536634445, -0.021094847470521927, -0.04864317923784256, 0.040894169360399246, -0.06267194449901581, -0.13146427273750305, -0.07640401273965836, 0.12126272916793823, -0.03472676873207092, 0.0674125924706459, 0.02549261786043644, 0.01960659958422184, -0.04338102415204048, -0.031469859182834625, -0.009365111589431763, 0.10512818396091461, -0.04543904960155487, -0.008663912303745747, -0.011435233987867832, 0.02010408416390419, 0.06838800758123398, 0.03407011181116104, -0.007019608281552792, 0.029155069962143898, 0.11058399081230164, 0.05284964293241501, 0.02435060404241085, -0.026214903220534325, 0.033181507140398026, 0.015862787142395973, -0.014166520908474922, -0.009674075990915298, 0.018940502777695656, -0.0039695329032838345, -0.04519509896636009, -0.01704254187643528, -0.03337042033672333, 0.014093443751335144, -0.04366312175989151, -0.05898977443575859, 0.02355586737394333, -0.03572415933012962, 0.05957569181919098, -0.05037451535463333, -0.08266148716211319, 0.002120572840794921, 0.0019508908735588193, 0.004076889716088772, -0.07800327241420746, 0.023376720026135445, -0.04758646339178085, -0.11413461714982986, -0.027479320764541626, 0.11183181405067444, 0.014493412338197231, 0.024190615862607956, -0.039803504943847656, 0.026372984051704407, 0.01550133153796196, 0.004984061233699322, -0.0015111734392121434, 0.0003790972114074975, 0.03454945981502533, 0.03424161672592163, 0.007797877304255962, 0.0013156735803931952, 0.05074617639183998, 0.06137273088097572, 0.029450973495841026, 0.00018110894598066807, 0.09453772753477097, -0.07709804177284241, 0.10332654416561127, 0.06170547008514404, -0.07755636423826218, 0.010696088895201683, 0.0585985966026783, -0.02973252721130848, -0.04001305624842644, 0.016640443354845047, 0.0797216072678566, 0.06913518905639648, 0.07868386059999466, -0.1945917010307312, 0.04735863581299782, -0.03997383639216423, -0.007850920781493187, -0.020949095487594604, -0.05332530662417412, 0.049037620425224304, 0.051127269864082336, -0.018921613693237305, 0.02704784646630287, -0.07374623417854309, -0.04013913497328758, 0.06702129542827606, 0.04439697787165642, 0.000484586285892874, -0.011688640341162682, 0.009762158617377281, 0.04785015061497688, 0.005327304359525442, -0.02314951829612255, 0.022820085287094116, 0.05335124954581261, -0.010196458548307419, -0.0021554031409323215, -0.036552153527736664, -0.05306319519877434, -0.049508485943078995, -0.0009232432930730283, -0.015790093690156937, -0.034121401607990265, 0.011234903708100319, 0.046053867787122726, 0.013387128710746765, -0.021747177466750145, -0.051851484924554825, 0.07458056509494781, -0.04652717709541321, -0.03218664228916168, -0.042024508118629456, -0.05700616538524628, -0.025565816089510918, 0.026852043345570564, 0.0004913155571557581, 0.04867703467607498, -0.031432922929525375, -0.053365375846624374, 0.014723319560289383, 0.04641944542527199, -0.030182601884007454, 0.01555702555924654, -0.007142269518226385, 0.06151878088712692, 0.011271080002188683, -0.035800427198410034, -0.06621614843606949, 0.05157887935638428, 0.024264473468065262, -0.046889569610357285, 0.057063065469264984, 0.00373466988094151, -0.02027163654565811, 0.04108152911067009, 0.022149592638015747, -0.0082326028496027, -0.013004297390580177, -0.03314923867583275, 0.015747928991913795, -0.03888487443327904, 0.013697336427867413, 0.012755210511386395, 0.05124329403042793, 0.0036265957169234753, -0.03207696974277496, 0.01005014218389988, 0.029966775327920914, 0.04405355080962181, -0.013605386018753052, -0.0022368552163243294, -0.004680228885263205, 0.01880638487637043, -0.09773732721805573, -0.01919945701956749, -0.047834426164627075, 0.006338870618492365, -0.00838033203035593, 0.03576543182134628, -0.031148862093687057, -0.021317429840564728, -0.01472326461225748, 0.021184327080845833, 0.02820323221385479, 0.011455130763351917, -0.020184895023703575, -0.007073628716170788, -0.0451766662299633, -0.007573951501399279, -0.020477373152971268, 0.03015764430165291, 0.02895490452647209, 0.018439386039972305, 0.030999083071947098, -0.002545036608353257, 0.021108286455273628, -0.0626472681760788, 0.04555295780301094, 0.05139515921473503, 0.04533080384135246, -0.03337183967232704, -0.01256818138062954, -0.02675735019147396, 0.013357984833419323, 0.014461242593824863, -0.04480954632163048, 0.0031105298548936844, -0.02237866446375847, -0.029735907912254333, -0.07094229012727737, -0.014478427357971668, 0.014187437482178211, -0.015455782413482666, 0.01988755539059639, -0.01211188081651926, 0.009164653718471527, -0.08562763780355453, -0.024927832186222076, 0.015241464599967003, -0.003804145846515894, -0.034723762422800064, -0.032721590250730515, 0.037016499787569046, -0.01795903407037258, 0.005583572667092085, 0.05196254327893257, 0.011294925585389137, 0.01934460736811161, -0.038836248219013214, -0.014722529798746109, 0.009332104586064816, 0.007347754668444395, -0.01009104773402214, -0.0038541171234101057, -0.03765510022640228, -0.007964749820530415, -0.000462891737697646, 0.02457171306014061, -0.04536223039031029, -0.03514936566352844, -0.03275907412171364, 0.01774667389690876, -0.0014542893040925264, -0.024399440735578537, 0.053383082151412964, 0.00638425350189209, 0.020671386271715164, -0.07688648998737335, 0.028237976133823395, -0.009627805091440678, -0.021813446655869484, 0.02395826205611229, 0.028528446331620216, 0.00014278868911787868, -0.009913425892591476, 0.023021945729851723, -0.021779950708150864, -0.03195421025156975, -0.0031140397768467665, -0.009278316050767899, -0.027780806645751, 0.0130285220220685, -0.015906929969787598, 0.01764790154993534, 0.011450774036347866, -0.04965701699256897, -0.015730256214737892, 0.013488265685737133, -0.007386637851595879, 0.047241926193237305, 0.002401988487690687, -0.02027316763997078, -0.02307327650487423, -0.04294327646493912, 0.01914883777499199, -0.01318556908518076, -0.0025374717079102993, 0.032715752720832825, 0.006678315345197916, -0.01290213130414486, -0.005312813445925713, 0.019333507865667343, 0.033492907881736755, 0.03964151442050934, -0.0068214968778193, 0.0019852377008646727, 0.049636032432317734, 0.0513283908367157, 0.03919574245810509, -0.0004470535786822438, 0.0314931757748127, 0.010770317167043686, -0.001355761312879622, -0.015269337221980095, 0.05866125598549843, 0.015143264085054398, 0.02557402290403843, -0.029493888840079308, -0.007382248528301716, 0.020224912092089653, 0.03575612232089043, -0.03260098397731781, 0.012683901935815811, -0.04359837993979454, -0.007083795964717865, 0.021386560052633286, 0.03679286688566208, 0.010212627239525318, 0.028256617486476898, -0.015212439931929111, 0.0027904235757887363, 0.05140325054526329, 0.035908449441194534, 0.005294193513691425, 0.025415610522031784, -0.03227343037724495, 0.010955519042909145, 0.008433614857494831, 0.03611436113715172, 0.009624330326914787, -0.02551710046827793, 0.0492052286863327, 0.008713402785360813, 0.04793248325586319, 0.0192106980830431, 0.02870757505297661, -0.01006492879241705, 0.0291026271879673, 0.025360630825161934, 0.03955889865756035, 0.03353676199913025, 0.019688483327627182, 0.00015145204088184983, 0.0002699968172237277, -0.006571254227310419, -0.016226498410105705, 0.00007459572225343436, 0.028360703960061073, -0.020493507385253906, -0.00544204656034708, 0.0385894775390625, 0.031450241804122925, -0.0025604553520679474, 0.01103796623647213, 0.020129205659031868, -0.01839863695204258, -0.0034191168379038572, 0.0344572588801384, 0.03455730527639389, 0.04320346564054489, 0.088465616106987, -0.017474735155701637, -0.03531036898493767, 0.0032565302681177855, 0.002839038847014308, -0.03463197872042656, 0.055432435125112534, 0.0094398008659482, 0.011396598070859909, -0.036027006804943085, -0.031924281269311905, 0.024066967889666557, -0.007753922138363123, 0.04086678475141525, -0.03842785581946373, -0.0015710914740338922, 0.012975205667316914, -0.021040435880422592, -0.016758954152464867, 0.010008786804974079, 0.05901912972331047, -0.0295440461486578, -0.044172756373882294, -0.03657674789428711, -0.01746615767478943, -0.00003140265107504092, 0.005799534730613232, 0.02518933266401291, -0.023926105350255966, 0.05150551348924637, 0.02942274883389473, -0.020491555333137512, 0.010600506328046322, -0.01142282597720623, 0.013434352353215218, -0.018924705684185028, -0.019676100462675095, 0.02281843312084675, 0.0036224755458533764, 0.004126214887946844, 0.01997975818812847, -0.021440070122480392, 0.024790959432721138, 0.014258325099945068, 0.0025558630004525185, 0.0052148886024951935, -0.05002690851688385, -0.028505098074674606, 0.054662592709064484, 0.00789274089038372, 0.03328310698270798, -0.019201010465621948, 0.037195704877376556, 0.018852805718779564, 0.0318000391125679, -0.006594034843146801, 0.015586416237056255, 0.012472354806959629, 0.0017701458418741822, -0.08928981423377991, 0.04743466526269913, -0.028508340939879417, -0.025338711217045784, 0.025423428043723106, -0.031873010098934174, -0.019425086677074432, 0.0370083712041378, -0.008908567018806934, 0.01937655545771122, -0.04181112349033356, 0.014829271472990513, 0.016985956579446793, -0.008054650388658047, -0.012876350432634354, 0.023621022701263428, -0.011842656880617142, 0.007143780589103699, -0.019259179010987282, 0.0001357114961137995, 0.033110249787569046, -0.006957681849598885, -0.04261543229222298, -0.014013533480465412, 0.0034376480616629124, 0.027869446203112602, 0.06867728382349014, -0.0313749760389328, -0.023171573877334595, -0.08216883987188339, -0.008162133395671844, 0.051743533462285995, -0.042045287787914276, -0.013965222053229809, -0.050638142973184586, -0.004250598605722189, -0.010252402164041996, 0.053712744265794754, 0.013663964346051216, 0.012877896428108215, 0.028243867680430412, -0.0006528727244585752, -0.025133199989795685, -0.04399464651942253, 0.059787217527627945, -0.008812288753688335, -0.011383572593331337, -0.033243585377931595, 0.0043235295452177525, -0.018124829977750778, -0.014788690023124218, 0.002158447401598096, 0.003281046636402607, 0.02225690893828869, -0.06283023208379745, -0.026034722104668617, 0.02194499783217907, -0.004389734473079443, -0.013975536450743675, 0.0022523775696754456, 0.005664265248924494, -0.021776098757982254, 0.023366963490843773, 0.050524093210697174, -0.03587407246232033, -0.018527621403336525, 0.024000952020287514, 0.017747297883033752, -0.008729720488190651, 0.0025312958750873804, 0.016387417912483215, -0.005514198914170265, 0.0454087071120739, 0.046350475400686264, -0.054089467972517014, 0.013851716183125973, 0.03150846064090729, 0.016857841983437538, 0.002010919153690338, 0.012595302425324917, 0.030584655702114105, -0.021386930719017982, -0.022620797157287598, -0.037627752870321274, 0.044795457273721695, 0.0212225541472435, 0.011662160977721214, 0.022477325052022934, 0.054594025015830994, 0.01022160891443491, -0.02744240313768387, 0.010408302769064903, 0.016495883464813232, 0.04797232523560524, 0.028781596571207047, 0.0077825309708714485, -0.017852745950222015, -0.0015151293482631445, -0.004239339381456375, 0.006777849514037371, 0.004497785586863756, -0.011020953767001629, -0.003032207489013672, 0.0429258793592453, -0.0014532965142279863, 0.012959961779415607, -0.04695944860577583, 0.031050905585289, 0.01894795522093773, 0.024814547970891, 0.04793568328022957, 0.009214213117957115, -0.009205522015690804, 0.02863677218556404, 0.029147638007998466, -0.029768725857138634, -0.01161306630820036, 0.0018693632446229458, -0.004944773856550455, -0.01888507604598999, 0.03919393569231033, 0.02152283489704132, 0.007748429197818041, 0.0028947379905730486, -0.0012464906321838498, -0.008075387217104435, 0.00678877392783761, -0.003266036743298173, 0.017089437693357468, 0.019893428310751915, 0.00884166918694973, -0.06933001428842545, -0.00668090907856822, 0.03669966757297516, -0.030794790014624596, -0.030579155310988426, 0.04244034364819527, -0.02059819921851158, -0.009542559273540974, 0.009463765658438206, -0.019604120403528214, -0.023835502564907074, -0.04823716729879379, -0.01937280409038067, -0.023671071976423264, -0.005305298138409853, -0.037129878997802734, -0.005181692074984312, -0.004179229959845543, 0.014015314169228077, 0.031490352004766464, -0.05113197863101959, 0.0157025009393692, 0.02239161543548107, -0.011949781328439713, -0.025372127071022987, 0.013966760598123074, -0.001700744847767055, 0.0038118697702884674, -0.03239721804857254, 0.003320154966786504, -0.01649216003715992, -0.017768463119864464, 0.02697041817009449, 0.0017514096107333899, -0.03140140324831009, 0.016420969739556313, 0.03258051723241806, -0.015461977571249008, 0.07711241394281387, -0.021366121247410774, -0.010943816043436527, 0.03445121645927429, -0.022405151277780533, 0.01072988286614418, -0.006487338803708553, 0.03813530504703522, 0.011220883578062057, 0.00018007776816375554, -0.03719630464911461, 0.025989707559347153, 0.0052337548695504665, 0.03956063836812973, 0.05930596590042114, 0.0017574640223756433, 0.003205375513061881, 0.018069786950945854, 0.00452926941215992, -0.02241426706314087, 0.020481940358877182, 0.045857008546590805, 0.00929722748696804, 0.0399056151509285, -0.047421012073755264, -0.015831058844923973, -0.0174587219953537, 0.07662119716405869, -0.038067080080509186, -0.010837557725608349, -0.04546760767698288, -0.007890578359365463, -0.01064738817512989, -0.00830041617155075, 0.0031879269517958164, -0.03170790150761604, 0.0091913603246212, 0.005845367908477783, -0.022138457745313644, 0.032201532274484634, 0.02560802735388279, -0.04133406654000282, 0.036004938185214996, 0.013856524601578712, -0.009832829236984253, 0.02527712658047676, -0.03831709548830986, 0.06718464940786362, 0.01661910116672516, -0.03076501190662384, -0.03332070633769035, 0.019249318167567253, -0.06102779507637024, -0.02309182845056057, -0.044904451817274094, 0.015635184943675995, 0.05070941522717476, -0.019129319116473198, 0.0014619424473494291, 0.04993986710906029, 0.023612968623638153, -0.0208542849868536, -0.011245191097259521, -0.01398475468158722, -0.0582452155649662, 0.000499580055475235, 0.044945280998945236, -0.029790958389639854, -0.006366824731230736, 0.019524717703461647, 0.04355840012431145, -0.0010336940176784992, 0.018194008618593216, 0.03236749768257141, 0.017273828387260437, -0.001642252434976399, 0.020366476848721504, -0.05380629748106003, -0.022396830841898918, -0.07271666824817657, -0.019483568146824837, 0.022350002080202103, 0.015678178519010544, 0.007533634547144175, 0.017149455845355988, -0.002832486992701888, -0.003838198259472847, -0.01595674268901348, 0.041641514748334885, 0.032045282423496246, 0.04163173586130142, 0.01889811083674431, -0.05556270852684975, 0.04516089707612991, 0.029049057513475418, 0.02259892225265503, -0.009098388254642487, 0.019660238176584244 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
What is Transformers.js? Transformers.js is a JavaScript library that allows you to run 🤗 Transformers directly in your browser (no need for a server)! It's designed to be functionally equivalent to the Python library, meaning you can run the same pre-trained models using a very similar API. Behind the scenes, Transformers.js uses ONNX Runtime, so we need to convert our finetuned PyTorch model to ONNX.
[ 0.016778340563178062, 0.0410243384540081, 0.10481037199497223, -0.03270742669701576, 0.021327586844563484, 0.03988003358244896, -0.00776709197089076, 0.07401680946350098, 0.02987004816532135, 0.0372975654900074, -0.07484989613294601, 0.0812583640217781, -0.04091251641511917, 0.06367651373147964, 0.04354936257004738, 0.0059425607323646545, 0.01571349799633026, -0.023265648633241653, -0.01863430254161358, 0.017835497856140137, -0.004061252344399691, -0.10364701598882675, 0.02345096878707409, -0.04580998420715332, -0.012043993920087814, -0.013118494302034378, -0.006360560655593872, 0.018447700887918472, -0.07345686852931976, 0.051337383687496185, -0.07313017547130585, 0.010687281377613544, -0.03352929651737213, -0.10314635932445526, -0.06737423688173294, 0.02787456288933754, -0.11293603479862213, 0.04959733039140701, -0.0031598596833646297, -0.029858848080039024, -0.03589371219277382, 0.015053793787956238, -0.06423920392990112, 0.01345264632254839, 0.010445164516568184, -0.017095506191253662, -0.17899969220161438, 0.10589106380939484, -0.06716657429933548, -0.05773865804076195, -0.03443211317062378, 0.055685803294181824, 0.003924105782061815, 0.060512788593769073, -0.031586091965436935, 0.06257335096597672, -0.0010367021895945072, -0.033324629068374634, -0.027093734592199326, 0.010795753449201584, 0.037736013531684875, 0.02380075491964817, -0.018218740820884705, 0.057462044060230255, -0.024242905899882317, 0.021434307098388672, 0.020394491031765938, 0.07260340452194214, 0.010404197499155998, -0.05102859437465668, 0.01022565271705389, 0.03926854208111763, -0.020250605419278145, -0.027565928176045418, -0.008085692301392555, -0.025003083050251007, -0.04219206050038338, 0.042785272002220154, 0.07848494499921799, 0.08622420579195023, 0.01725371554493904, 0.05434943363070488, 0.06924232095479965, 0.03588155284523964, 0.046138353645801544, 0.041972994804382324, 0.04104260727763176, -0.022501546889543533, -0.04543425515294075, 0.018619485199451447, 0.0488082692027092, -0.1419946849346161, -0.05821186676621437, -0.0019338068086653948, 0.07340026646852493, 0.08443784713745117, 0.0038409533444792032, -0.007284167222678661, -0.029571909457445145, -0.029536167159676552, 0.021032188087701797, -0.02329023741185665, 0.020607471466064453, -0.03778929263353348, -0.028783103451132774, 0.02004152163863182, -0.016138089820742607, -0.05383637547492981, 0.0467238575220108, -0.03550870344042778, -0.05810229852795601, -0.04333985224366188, 0.019125398248434067, 0.05736592039465904, -0.007635720539838076, -0.0017104408470913768, 0.013447568751871586, 0.021250948309898376, -0.01969192922115326, 0.03154939040541649, -0.012821925804018974, 0.09151628613471985, -0.020290005952119827, 0.04619063809514046, 0.020621493458747864, 0.07187723368406296, 0.025320878252387047, 0.002571722725406289, 0.02473226748406887, -0.040220603346824646, 0.07569588720798492, -0.03208340331912041, 0.03875317797064781, 0.03471219539642334, 0.0010289911879226565, -0.05585967004299164, -0.002239434514194727, -0.045616112649440765, -0.03550460934638977, 0.0031807192135602236, -0.03342828527092934, 0.03293917328119278, -0.007942372001707554, 0.03843843936920166, 0.039968326687812805, -0.04769665747880936, -0.08813778311014175, 0.10380233079195023, 0.002726256614550948, 0.034605417400598526, -0.05648462846875191, 0.06820360571146011, -0.0066153379157185555, -0.012104234658181667, -0.06854139268398285, 0.05542228743433952, 0.03590715304017067, -0.03531746566295624, -0.03130752220749855, -0.044634174555540085, -0.042776644229888916, 0.02750624157488346, -0.042572636157274246, 0.019099503755569458, 0.015296809375286102, -0.043739739805459976, -0.003004923230037093, 0.00894213654100895, 0.10461393743753433, 0.011408595368266106, -0.030204609036445618, -0.01919621415436268, 0.04133341461420059, -0.03507772460579872, -0.00758725218474865, -0.01518023107200861, 0.024045027792453766, 0.02364339865744114, 0.08621502667665482, -0.02727784961462021, -0.018905306234955788, 0.08496945351362228, 0.06457876414060593, 0.03880330175161362, 0.013418766669929028, -0.050720199942588806, -0.009919003583490849, -0.01731618493795395, -0.024938439950346947, 0.049756988883018494, -0.04627662152051926, -0.0026898186188191175, 0.045756492763757706, 0.0002496098168194294, 0.0511380098760128, -0.031699519604444504, -0.045030009001493454, 0.11464527994394302, 0.002966661937534809, 0.060923464596271515, 0.0034989549312740564, -0.03761357441544533, 0.029998863115906715, -0.07480815798044205, 0.0028598953504115343, -0.0007138252258300781, 0.06256351619958878, -0.057654913514852524, 0.042495694011449814, -0.049524955451488495, 0.011038192547857761, -0.09307362884283066, 0.03761332482099533, -0.04889633506536484, -0.01434799749404192, -0.021730322390794754, -0.10765637457370758, -0.013015716336667538, 0.017684221267700195, 0.025777636095881462, 0.1472075879573822, -0.040548209100961685, 0.017589643597602844, -0.0995192676782608, -0.01271602138876915, 0.03738699108362198, 0.05420568212866783, -0.028780674561858177, 0.07432814687490463, -0.0712648332118988, 0.0014464326668530703, 0.013436674140393734, -0.02658470720052719, -0.0019754364620894194, -0.05386294424533844, -0.023504748940467834, 0.07236204296350479, 0.030998991802334785, -0.0013845231151208282, 0.0210382342338562, 0.02171843871474266, 0.03007950820028782, -0.03108987957239151, 0.03197327256202698, 0.021270284429192543, 0.0328279510140419, 0.016939248889684677, 0.0024902753066271544, 0.0813116803765297, -0.007119707763195038, -0.06700629740953445, -0.024234214797616005, 0.03975548595190048, -0.08540688455104828, 0.050378404557704926, 0.08856277167797089, -0.02306722104549408, 0.003947448451071978, 0.004504392389208078, 0.03836875781416893, 0.012088780291378498, -0.03405346721410751, -0.0011947067687287927, -0.03838478401303291, -0.020084017887711525, -0.051162365823984146, 0.0068767075426876545, 0.02469029277563095, 0.012259758077561855, 0.018606428056955338, 0.040727369487285614, -0.04580058157444, 0.003326734062284231, 0.006532769184559584, 0.03868217021226883, 0.025454271584749222, 0.021424835547804832, -0.03340070694684982, -0.05080704018473625, -0.02116142213344574, -0.018886437639594078, -0.009313298389315605, 0.07404933124780655, 0.017097974196076393, -0.007140327710658312, 0.007593701593577862, -0.001772966468706727, -0.01855524070560932, -0.018021993339061737, -0.0037324584554880857, -0.01374439150094986, -0.0028417787980288267, 0.017655588686466217, 0.010853438638150692, -0.035506926476955414, -0.04483402520418167, 0.005885255057364702, -0.005796860903501511, -0.016801800578832626, 0.018653174862265587, -0.00973423570394516, -0.018236348405480385, 0.008088928647339344, 0.0038066154811531305, -0.02001817338168621, -0.001015183050185442, 0.018573425710201263, -0.0014497062657028437, -0.0974000096321106, -0.037973616272211075, -0.02827044390141964, 0.02287481352686882, 0.01628684625029564, -0.047184672206640244, 0.03959609568119049, 0.009809046983718872, 0.014382090419530869, 0.028359079733490944, -0.004024123772978783, 0.008831419050693512, -0.03566408157348633, 0.030681829899549484, -0.010027581825852394, -0.034127116203308105, -0.023099398240447044, 0.04792563244700432, 0.039759792387485504, 0.020690299570560455, -0.033058471977710724, 0.023144777864217758, -0.0067548141814768314, 0.02156400866806507, 0.005786745809018612, 0.01880432292819023, 0.039905913174152374, 0.00753293139860034, -0.020341815426945686, -0.02893996052443981, -0.007489920128136873, -0.014339127577841282, -0.0026215084362775087, 0.03778401017189026, -0.028035735711455345, -0.008648575283586979, 0.05178213119506836, -0.020210960879921913, 0.020973358303308487, -0.004777391906827688, -0.02982274815440178, -0.007927119731903076, -0.016336951404809952, -0.030828235670924187, 0.048908162862062454, -0.04591359198093414, -0.02194300852715969, -0.011724861338734627, 0.007108923979103565, -0.03612654656171799, -0.029166804626584053, -0.014016751199960709, -0.010271703824400902, 0.01299731619656086, 0.024734273552894592, -0.02295682020485401, -0.011604984290897846, 0.011395684443414211, 0.04670622572302818, 0.016187183558940887, -0.06354773789644241, 0.033391065895557404, -0.016810879111289978, -0.015708113089203835, -0.04264082387089729, 0.0561310313642025, 0.03249059244990349, 0.031142571941018105, 0.028367038816213608, 0.029007337987422943, 0.004053876269608736, 0.0166288074105978, 0.015381956472992897, 0.01710875704884529, -0.025820082053542137, 0.02200375497341156, -0.021710602566599846, -0.015809407457709312, 0.028644902631640434, -0.02142014540731907, -0.00017731772095430642, -0.04930797964334488, -0.016949957236647606, -0.01477507222443819, 0.002747352933511138, 0.015340928919613361, 0.0033890430349856615, -0.023766232654452324, 0.05232729762792587, 0.002050256123766303, 0.016437992453575134, -0.018680769950151443, 0.041294924914836884, -0.007849817164242268, -0.021573493257164955, 0.029100460931658745, 0.0002099651173921302, 0.006309737917035818, -0.016481049358844757, -0.027076590806245804, 0.008113602176308632, -0.03469549119472504, -0.012926765717566013, -0.0027234237641096115, -0.010963225737214088, 0.023168349638581276, 0.0052530765533447266, -0.010542451404035091, 0.026212796568870544, -0.01774188131093979, 0.052207235246896744, -0.011453289538621902, 0.018852772191166878, 0.049749571830034256, -0.0012741656973958015, 0.001882600481621921, 0.010266183875501156, -0.020648276433348656, -0.019482456147670746, 0.03197799623012543, -0.050437528640031815, 0.049801044166088104, -0.011612741276621819, 0.004440939519554377, -0.0208660289645195, -0.02275766246020794, 0.04190898686647415, 0.046446543186903, -0.02046220377087593, 0.0067618247121572495, -0.017840778455138206, -0.00022089268895797431, 0.018365049734711647, 0.04571113735437393, 0.008691971190273762, 0.014818886294960976, 0.00764740165323019, -0.0242655947804451, 0.01012069545686245, -0.028422344475984573, -0.016720931977033615, -0.01594959758222103, 0.033578384667634964, -0.020357558503746986, 0.007890653796494007, 0.004733559209853411, -0.0406971275806427, 0.022712701931595802, -0.04617999121546745, -0.005283572245389223, 0.04070023074746132, -0.02734491042792797, -0.011131469160318375, 0.004207766614854336, 0.034904491156339645, -0.00016223940474446863, -0.004530783277004957, 0.01928587071597576, 0.023338813334703445, 0.0394352525472641, 0.006673899944871664, -0.015003112144768238, -0.03927905485033989, 0.025138916447758675, 0.023172469809651375, -0.008334529586136341, 0.008140794932842255, -0.06637545675039291, -0.01590716652572155, 0.02646648697555065, -0.014336811378598213, 0.010103062726557255, 0.009000211022794247, -0.02368178591132164, -0.05383049324154854, 0.07448627054691315, -0.006045276764780283, 0.011448652483522892, -0.011720874346792698, 0.0016607491998001933, 0.010948184877634048, 0.003369904588907957, -0.0009813965298235416, -0.005268880166113377, 0.006274072919040918, 0.00863405130803585, 0.03230923041701317, 0.05802801996469498, -0.01560195256024599, 0.011743401177227497, -0.007688471581786871, -0.050287920981645584, 0.004239012952893972, -0.03785158321261406, 0.031211242079734802, -0.03957696631550789, -0.019257912412285805, 0.00709283584728837, -0.021802660077810287, -0.009248204529285431, 0.04535811021924019, 0.02505018189549446, -0.005104313138872385, -0.0066408198326826096, 0.027762381359934807, -0.005513196811079979, -0.0026170150376856327, -0.030114127323031425, 0.010292576625943184, -0.0291813425719738, 0.02398603782057762, -0.007236870471388102, 0.014163104817271233, -0.009212692268192768, -0.01486322283744812, -0.03084390051662922, 0.015405523590743542, -0.009893408045172691, 0.028934117406606674, 0.03056386485695839, 0.002798880450427532, -0.009859408251941204, -0.011281798593699932, 0.034327488392591476, 0.037322498857975006, -0.026213934645056725, 0.006357123143970966, 0.026104597374796867, 0.030097952112555504, -0.00884324125945568, 0.06778013706207275, 0.013720682822167873, -0.0047326479107141495, 0.010643243789672852, 0.012384689413011074, -0.002622486324980855, -0.05498175695538521, 0.03526074439287186, 0.01864704303443432, -0.018143408000469208, -0.009659038856625557, -0.024072615429759026, -0.04117828235030174, 0.016698429360985756, -0.007404303643852472, 0.021240323781967163, 0.06054435297846794, -0.02235889993607998, 0.03430885076522827, -0.006693751085549593, -0.00021907221525907516, 0.020244091749191284, 0.008706685155630112, -0.009261870756745338, -0.0002546753385104239, -0.0028532787691801786, 0.032181266695261, -0.005542577710002661, -0.010578092187643051, -0.026141904294490814, 0.012178092263638973, -0.018125995993614197, 0.025395113974809647, 0.01218181662261486, 0.021496877074241638, 0.01748509705066681, -0.007522793486714363, -0.046393897384405136, -0.026963984593749046, 0.02750919945538044, -0.02649024873971939, 0.06450781226158142, 0.02998415380716324, 0.02434367686510086, 0.03564872965216637, -0.05410774424672127, -0.0016544946702197194, 0.06188191473484039, 0.005235062912106514, 0.08455922454595566, 0.028531638905405998, 0.05726517736911774, 0.024889405816793442, 0.017374703660607338, 0.007525346241891384, 0.005432018078863621, 0.07086362689733505, -0.02793183922767639, 0.032824818044900894, 0.019654788076877594, 0.008635367266833782, -0.029903143644332886, -0.013459605164825916, -0.03220384567975998, -0.052663084119558334, -0.01725880242884159, 0.021895624697208405, 0.016801513731479645, -0.019165555015206337, -0.028936823830008507, 0.013730300590395927, 0.008154560811817646, 0.04051905870437622, -0.016584988683462143, 0.0435454435646534, 0.022002527490258217, 0.03764581307768822, 0.04025028273463249, -0.001501848571933806, 0.008955751545727253, -0.013021193444728851, 0.057742126286029816, -0.020817941054701805, 0.0437907911837101, -0.02098090387880802, 0.0025163416285067797, 0.025034848600625992, -0.03748706728219986, -0.050941918045282364, 0.004564157221466303, -0.029014063999056816, -0.008620166219770908, -0.0194349754601717, -0.005604831967502832, -0.026366164907813072, 0.01059715636074543, 0.03831881657242775, -0.005717534571886063, -0.04589005187153816, -0.029600724577903748, -0.04038916155695915, 0.01110388059169054, 0.013836563564836979, 0.010809180326759815, -0.01249972078949213, 0.012171960435807705, -0.0007597816293127835, 0.03662436082959175, -0.011954030953347683, -0.027770135551691055, -0.0557979978621006, -0.015780450776219368, -0.0017669646767899394, 0.02496945858001709, -0.020569976419210434, -0.0236924197524786, 0.009977986104786396, 0.04222147911787033, -0.023141149431467056, -0.0005625051562674344, 0.06229192763566971, 0.01472131721675396, -0.09400384873151779, 0.010836515575647354, -0.03311349079012871, -0.01465355884283781, -0.00825284793972969, -0.02085930109024048, 0.023106379434466362, -0.012610120698809624, 0.0162500087171793, 0.021418362855911255, 0.03567226603627205, -0.04388390854001045, -0.020996948704123497, 0.04289314150810242, -0.021917786449193954, -0.01132627297192812, 0.04867129772901535, -0.027208030223846436, -0.013149617239832878, 0.03148750215768814, -0.030245060101151466, 0.04211463779211044, 0.0044730170629918575, 0.012335856445133686, 0.025519324466586113, 0.020202411338686943, -0.030180467292666435, -0.023632217198610306, 0.02062767557799816, 0.02012195810675621, -0.01405621599406004, 0.036950819194316864, 0.042942967265844345, -0.028854090720415115, -0.0264864694327116, 0.029500991106033325, -0.04742899164557457, 0.003608821891248226, -0.0076020401902496815, -0.04734963923692703, -0.03669652342796326, 0.01376525778323412, 0.01023062039166689, 0.014281992800533772, -0.04114903509616852, 0.013587288558483124, -0.023090442642569542, -0.0036085383035242558, -0.030489346012473106, 0.03622135519981384, -0.0015841703861951828, 0.04132092371582985, 0.031648892909288406, -0.016050444915890694, -0.03462278097867966, -0.013634643517434597, -0.025979122146964073, 0.02298448048532009, 0.045566096901893616, -0.029361417517066002, -0.007707241456955671, -0.029649578034877777, 0.011366348713636398, -0.017627660185098648, -0.05668482184410095, -0.00661277724429965, 0.011057460680603981, 0.004776170942932367, -0.030967701226472855, 0.018568655475974083, 0.03236063942313194, -0.021404337137937546, 0.01594645343720913, -0.03540430963039398, -0.00045082325232215226, -0.038719743490219116, -0.025478549301624298, -0.028104325756430626, 0.010436256416141987, 0.003569092368707061, -0.025135528296232224, 0.026470433920621872, 0.009774211794137955, 0.0033002630807459354, -0.019549135118722916, -0.003944380674511194, 0.024134986102581024, -0.01994631253182888, -0.00914177019149065, -0.06339699774980545, -0.03432246670126915, 0.008161825127899647, -0.01129508949816227, 0.005371503997594118, 0.050135593861341476, -0.0387851819396019, -0.011673402972519398, -0.019120607525110245, 0.006071891635656357, -0.009116025641560555, 0.0013228260213509202, 0.042274776846170425, -0.09649406373500824, 0.010719937272369862, 0.02009950764477253, -0.058098774403333664, -0.022326843813061714, -0.02085145004093647 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
Quality of life improvements The original dataset contains 345 different classes, and since our model is relatively small (~20MB), it sometimes is unable to correctly guess some of the classes. To solve this problem, we removed some words which are either: - Too similar to other labels (e.g., "barn" vs. "house") - Too difficult to understand (e.g., "animal migration") - Too difficult to draw in sufficient detail (e.g., "brain") - Ambiguous (e.g., "bat") After filtering, we were still left with over 300 different classes!
[ 0.0034739449620246887, -0.058068666607141495, -0.015650982037186623, 0.025992900133132935, 0.11087456345558167, 0.10158485174179077, 0.05040676146745682, 0.02732754684984684, -0.04253241792321205, -0.08473797887563705, -0.0351562537252903, -0.015469021163880825, -0.036020271480083466, 0.03891156613826752, -0.014981201849877834, -0.014936265535652637, 0.04594525322318077, 0.03964940458536148, 0.03022014908492565, -0.016082294285297394, 0.009782605804502964, -0.025591256096959114, 0.019795918837189674, -0.015880990773439407, 0.021425019949674606, -0.05352718010544777, -0.01717999391257763, 0.02159174531698227, -0.003672824241220951, 0.03170347213745117, -0.1464349329471588, 0.00761610409244895, -0.016564004123210907, -0.011216393671929836, -0.04799780249595642, 0.005685260985046625, -0.10083994269371033, 0.003202961292117834, 0.019384274259209633, -0.06776262074708939, -0.049920689314603806, -0.03430349752306938, -0.02597365900874138, 0.0634014904499054, -0.025264501571655273, -0.022606834769248962, -0.13578534126281738, 0.0452553927898407, -0.03236677870154381, 0.004703562706708908, -0.08317675441503525, -0.004178731702268124, 0.03207341954112053, 0.008589011617004871, -0.02598637342453003, -0.08943692594766617, 0.01913931407034397, -0.03970963507890701, 0.037971723824739456, 0.018631896004080772, 0.02156399004161358, -0.01586643047630787, 0.0010298932902514935, 0.02882157824933529, -0.013231170363724232, 0.008914012461900711, -0.019488610327243805, 0.039293281733989716, -0.0021652490831911564, -0.023860298097133636, 0.0040214890614151955, -0.035391587764024734, -0.0035180067643523216, -0.04261666536331177, -0.026348359882831573, -0.052654463797807693, -0.002158906776458025, -0.03909856081008911, -0.01724729873239994, -0.006522477138787508, 0.012171337381005287, 0.047229982912540436, 0.09310249984264374, 0.07783391326665878, 0.04227755218744278, -0.03647752106189728, 0.017153792083263397, -0.01744658127427101, -0.016622845083475113, 0.007695050910115242, -0.007215860299766064, -0.09794563800096512, -0.007312929257750511, 0.0051975734531879425, 0.05211692675948143, -0.014124112203717232, 0.03441817685961723, -0.013461203314363956, -0.02462330274283886, -0.015822840854525566, -0.03853447735309601, -0.02191624417901039, 0.0940074771642685, -0.024120859801769257, -0.05836367979645729, -0.014531937427818775, -0.019908757880330086, -0.08509473502635956, -0.052799444645643234, 0.08986116945743561, -0.038092587143182755, 0.06009694188833237, -0.0516047440469265, 0.09019146859645844, -0.0630788803100586, 0.04057130962610245, 0.0450853556394577, 0.00598199013620615, 0.046761445701122284, 0.07191354036331177, 0.005487803835421801, 0.09871067851781845, 0.018374137580394745, -0.013502861373126507, 0.018237918615341187, 0.014308721758425236, 0.04634629562497139, 0.0033613787963986397, -0.0026836139149963856, 0.023727186024188995, 0.031696170568466187, 0.041861630976200104, 0.007137067150324583, 0.058573003858327866, 0.039413709193468094, -0.05082584172487259, -0.045697882771492004, -0.019378269091248512, 0.011272604577243328, -0.005668190307915211, -0.01717911846935749, -0.0074965995736420155, 0.0016453962307423353, 0.06241200119256973, 0.05199069157242775, 0.02738974057137966, -0.062735915184021, 0.022874310612678528, -0.03854802995920181, 0.0004187276936136186, -0.03573828563094139, 0.026095949113368988, -0.008208288811147213, -0.0951271504163742, 0.05986058712005615, 0.05810152366757393, -0.0827355608344078, -0.07402066141366959, -0.03192467987537384, 0.009840955957770348, -0.00945194810628891, -0.02811107039451599, 0.043778859078884125, 0.03054305538535118, 0.08862007409334183, -0.0677562952041626, 0.007182360626757145, 0.05457083508372307, -0.036533307284116745, 0.05807428061962128, 0.0071524353697896, -0.0878627672791481, 0.040582962334156036, -0.006786474492400885, -0.053441889584064484, -0.006245349999517202, 0.06263338029384613, 0.03483320400118828, -0.01970994845032692, 0.027464324608445168, 0.025468483567237854, 0.020459922030568123, -0.02468038722872734, 0.05457111448049545, 0.05805331468582153, -0.06868558377027512, 0.07718978077173233, -0.026839114725589752, -0.0073717315681278706, 0.07218791544437408, -0.0457577183842659, -0.006199750583618879, 0.12123261392116547, 0.01786358281970024, 0.027143528684973717, -0.07745394110679626, 0.0038700259756296873, 0.1369011104106903, 0.09486020356416702, 0.017037246376276016, 0.0022939140908420086, 0.017637116834521294, 0.031887222081422806, -0.030717050656676292, -0.008079438470304012, 0.05204329267144203, -0.07588837295770645, -0.022503012791275978, 0.022525401785969734, -0.04382222518324852, -0.0200547706335783, -0.12760548293590546, 0.013403710909187794, -0.07821176201105118, 0.01700609363615513, -0.04994240030646324, 0.07879756391048431, -0.003506146837025881, 0.026742594316601753, -0.0808032676577568, 0.07565851509571075, -0.006196664646267891, -0.04633035510778427, -0.001019732211716473, -0.030198583379387856, 0.028470274060964584, 0.07243566960096359, 0.01005192194133997, 0.0385546013712883, -0.08881884068250656, -0.006267919670790434, -0.0016577254282310605, 0.05527043342590332, -0.03509640321135521, -0.03918340802192688, 0.0020607165060937405, 0.012094712816178799, -0.010690214112401009, 0.028216229751706123, -0.034458111971616745, -0.004733365029096603, 0.0002516605891287327, -0.03756652772426605, 0.04359293729066849, -0.026594646275043488, -0.07389350980520248, 0.1104874536395073, 0.03328901529312134, -0.032642487436532974, -0.01833304949104786, 0.006719539873301983, 0.06646575778722763, 0.00570559361949563, 0.025119438767433167, 0.014185025356709957, 0.028171848505735397, 0.044278938323259354, -0.06025960296392441, -0.012345179915428162, 0.029599376022815704, 0.03475023806095123, -0.027896644547581673, -0.01069977693259716, -0.025708936154842377, 0.03011375293135643, -0.04107324779033661, -0.018625976517796516, -0.014027899131178856, 0.005680672824382782, -0.0008179123396985233, 0.02716861478984356, -0.023045886307954788, 0.08148255944252014, 0.04653811454772949, 0.03274880349636078, -0.010644976980984211, 0.044499147683382034, -0.02724221535027027, -0.007491808384656906, 0.00047822558553889394, -0.03899240493774414, -0.008256612345576286, 0.034890834242105484, 0.004867194686084986, 0.06022689864039421, -0.0087846415117383, 0.023129777982831, -0.001477004843764007, -0.017600620165467262, 0.006023590452969074, 0.007261080201715231, 0.04074046388268471, -0.033116456121206284, -0.02591702714562416, 0.01681317575275898, -0.014786453917622566, -0.022110464051365852, -0.010532589629292488, 0.005145482253283262, 0.007808088790625334, -0.0065346104092895985, 0.01411682553589344, 0.015649834647774696, -0.0075834281742572784, -0.015223557129502296, 0.04028734192252159, 0.00220018089748919, 0.015897462144494057, -0.10024318844079971, -0.0017964862054213881, 0.024926606565713882, 0.02362421154975891, -0.057766757905483246, -0.02843398228287697, 0.04128966107964516, -0.00022451287077274173, 0.0030999938026070595, 0.02370854839682579, -0.0010206502629444003, 0.013750039972364902, 0.061915360391139984, 0.01886058785021305, 0.03470524400472641, 0.014916087500751019, -0.03693469241261482, -0.001965719275176525, 0.028861742466688156, 0.019919486716389656, -0.017065830528736115, 0.05365264043211937, -0.013114361092448235, 0.03884866461157799, -0.03879919648170471, 0.030002836138010025, 0.02979668602347374, 0.06030875816941261, 0.014043496921658516, -0.026099154725670815, -0.025891203433275223, 0.02258826605975628, -0.03589712083339691, 0.00487683666869998, -0.002889866940677166, -0.0004827702941838652, -0.012809060513973236, 0.024178504943847656, 0.0013386516366153955, 0.056214820593595505, -0.003358258167281747, 0.0035118525847792625, 0.00591315608471632, -0.008076227270066738, -0.008613450452685356, 0.003218162339180708, -0.020302841439843178, -0.025641951709985733, 0.01682310737669468, -0.02454216405749321, 0.0033384591806679964, -0.020406028255820274, -0.017534222453832626, 0.09564624726772308, 0.0026991309132426977, -0.02142903208732605, 0.01785360835492611, 0.007953908294439316, -0.016483362764120102, -0.03553013503551483, 0.005384664982557297, 0.04040274769067764, -0.017311399802565575, -0.01387251541018486, -0.004752947948873043, 0.05593811720609665, 0.02796773426234722, 0.028354451060295105, -0.0025969133712351322, 0.04770154505968094, -0.017764292657375336, 0.015533702448010445, 0.02008528634905815, -0.0008314189617522061, -0.007061675190925598, 0.005452457349747419, -0.004414628725498915, -0.04230637848377228, 0.021406907588243484, 0.011489073745906353, 0.010122807696461678, -0.024378441274166107, -0.02462996542453766, -0.015739308670163155, 0.016162395477294922, -0.02505895122885704, -0.028839707374572754, -0.00009005676110973582, -0.009760347194969654, 0.02189491130411625, -0.042019836604595184, -0.05029420554637909, -0.015490181744098663, -0.034206025302410126, 0.010772003792226315, 0.025008302181959152, -0.01801002025604248, -0.025626156479120255, 0.006836873944848776, -0.01259405817836523, 0.022685086354613304, -0.006563730537891388, -0.00068797537824139, -0.01884586550295353, -0.01341000571846962, 0.051648739725351334, -0.0358104333281517, 0.00011101753625553101, 0.01380617544054985, -0.04552306607365608, 0.017749644815921783, -0.033406831324100494, 0.017189372330904007, 0.0024725841358304024, 0.04025569558143616, -0.004620127379894257, -0.01550071407109499, 0.004306449554860592, 0.029401591047644615, 0.04940309375524521, -0.008886801078915596, -0.024441368877887726, 0.0039989156648516655, -0.010425007902085781, 0.04709458351135254, 0.014228414744138718, 0.0561051070690155, 0.033461812883615494, -0.008478877134621143, -0.03192812576889992, 0.017780207097530365, -0.03269245848059654, 0.03862198442220688, 0.023589903488755226, -0.013039082288742065, 0.010216298513114452, -0.039852868765592575, 0.005745121277868748, -0.00268241367302835, -0.021456250920891762, -0.020215189084410667, -0.05368578061461449, 0.037664737552404404, -0.04524170234799385, 0.024328554049134254, -0.016321858391165733, -0.016046887263655663, 0.010389666073024273, 0.00227376795373857, 0.030749835073947906, 0.051885124295949936, -0.006613611709326506, -0.08922276645898819, 0.014625580050051212, 0.01840367540717125, -0.05819832906126976, 0.0026861918158829212, 0.03166517615318298, -0.030696043744683266, 0.04662182927131653, -0.006668903399258852, -0.03288379684090614, -0.04044834524393082, 0.052909187972545624, 0.02019401825964451, -0.01342266146093607, 0.06274094432592392, 0.01368420198559761, -0.05772331357002258, 0.01472924929112196, -0.01298537291586399, -0.00015602515486534685, 0.013646200299263, -0.0043855165131390095, 0.017815422266721725, -0.010118326172232628, -0.0026333460118621588, 0.011016814969480038, -0.020559439435601234, -0.004951579961925745, -0.04569330811500549, -0.004106826614588499, 0.04704870656132698, 0.009860008955001831, 0.0243584793061018, 0.011426887474954128, 0.06475532054901123, 0.048234473913908005, 0.091277576982975, 0.021763036027550697, -0.02098153531551361, 0.0018304809927940369, 0.0031294117216020823, -0.02773795835673809, 0.03791878744959831, -0.00378124020062387, 0.03584371507167816, 0.0034251392353326082, -0.009704449214041233, -0.004907574038952589, -0.005582625046372414, 0.015889819711446762, 0.05264546349644661, -0.017296485602855682, -0.003760102903470397, -0.011191134341061115, -0.03560822829604149, -0.04785165935754776, 0.026136044412851334, -0.0496298111975193, -0.009064488112926483, -0.029843797907233238, -0.056945595890283585, 0.0003723414847627282, 0.0017438312061131, -0.02410300076007843, -0.052388668060302734, 0.007954508066177368, 0.01583040878176689, 0.02793705463409424, 0.004468017723411322, -0.014944891445338726, -0.0013440598268061876, 0.008251341991126537, 0.03048025816679001, -0.05712277814745903, -0.024963200092315674, 0.011662028729915619, -0.02106415294110775, 0.007423120550811291, 0.025606075301766396, -0.029519766569137573, 0.010448952205479145, 0.04030311480164528, -0.013096742331981659, -0.02375185303390026, -0.014260767959058285, 0.028491852805018425, 0.08722355216741562, -0.015683772042393684, 0.025868507102131844, -0.00389118236489594, -0.003951238002628088, 0.0339447520673275, -0.029625501483678818, 0.02415882796049118, 0.039529625326395035, -0.01413947343826294, -0.012367651797831059, 0.01262067910283804, 0.015527836978435516, -0.002835172228515148, -0.028891028836369514, 0.008878403343260288, 0.014012259431183338, 0.034976013004779816, 0.04407494142651558, 0.0061304583214223385, -0.0032348325476050377, -0.006661924533545971, -0.006703629624098539, -0.04123115539550781, -0.00006585185474250466, 0.034298453480005264, -0.044755831360816956, -0.01942647621035576, 0.04599163308739662, -0.03484353423118591, -0.0039000415708869696, 0.03917212411761284, 0.04386163502931595, 0.046401698142290115, -0.030062682926654816, 0.018785033375024796, -0.03492965176701546, 0.006946314126253128, 0.005440029315650463, -0.015271400101482868, 0.00004722519952338189, -0.026435580104589462, 0.012938616797327995, 0.016181401908397675, 0.061237186193466187, -0.01813645288348198, 0.028481313958764076, 0.0017876350320875645, 0.040448252111673355, 0.038384683430194855, -0.024353118613362312, -0.060396622866392136, 0.01835760287940502, 0.020988844335079193, -0.09131983667612076, -0.0010035387240350246, 0.013320771045982838, -0.0046265823766589165, 0.053461041301488876, -0.06641386449337006, 0.03516240790486336, -0.024807138368487358, 0.011100993491709232, 0.0366266630589962, 0.03626709803938866, 0.03062516823410988, 0.01668202318251133, 0.012488692067563534, 0.020213617011904716, 0.0031924298964440823, 0.008630441501736641, -0.005748182535171509, -0.03894216939806938, 0.01333506777882576, 0.01479912269860506, 0.05599553510546684, 0.002860022708773613, -0.022534092888236046, -0.02587859518826008, -0.017372943460941315, 0.04022212326526642, -0.01943165995180607, 0.02376101166009903, 0.0029897685162723064, -0.014659557491540909, 0.016460640355944633, -0.04158899933099747, 0.01523685734719038, -0.027156896889209747, -0.03490379825234413, -0.029483649879693985, -0.018744535744190216, 0.004335823934525251, 0.012729029171168804, -0.003971661441028118, -0.013547543436288834, -0.026041779667139053, -0.0043320548720657825, 0.032928936183452606, 0.020376356318593025, -0.0208155307918787, -0.06452483683824539, -0.026748891919851303, 0.002192552899941802, 0.0034653889015316963, 0.023058947175741196, -0.025544550269842148, 0.007492602802813053, 0.006108124740421772, -0.010464818216860294, -0.007633584551513195, -0.025736650452017784, -0.010332128033041954, -0.004147822503000498, 0.001445038360543549, -0.014606432989239693, -0.02416367270052433, -0.02473362535238266, 0.010231819935142994, -0.013695035129785538, -0.03387244790792465, -0.0028284452855587006, -0.007352666463702917, -0.017347462475299835, -0.019961925223469734, -0.02161630429327488, -0.03146272897720337, -0.014815784059464931, -0.03608100861310959, -0.0004120086377952248, -0.01021900400519371, 0.03324385732412338, 0.006076283287256956, -0.018673449754714966, 0.018353646621108055, -0.07324394583702087, -0.050009939819574356, 0.019784390926361084, 0.007332364562898874, -0.052685052156448364, -0.024916447699069977, 0.002425295067951083, 0.028247566893696785, 0.005054521840065718, 0.047296710312366486, 0.018641460686922073, 0.08451558649539948, 0.008909255266189575, -0.026207497343420982, -0.0025630821473896503, -0.041140224784612656, 0.02456521801650524, -0.03480119630694389, -0.025100966915488243, -0.012958246283233166, 0.015487933531403542, -0.016563842073082924, 0.00874900259077549, -0.0433192104101181, -0.029602520167827606, -0.009742673486471176, 0.010888177901506424, -0.009853314608335495, 0.021450506523251534, 0.02051553688943386, 0.006909675896167755, 0.011231089010834694, 0.04013277217745781, 0.027634305879473686, -0.01942170411348343, 0.028994368389248848, 0.018927885219454765, 0.014708532951772213, 0.02153155766427517, -0.005688900593668222, -0.001689483062364161, 0.024201488122344017, -0.03923829272389412, -0.031482189893722534, 0.005749818868935108, 0.042416397482156754, -0.04314591363072395, -0.017866402864456177, 0.0011966659221798182, 0.03328201547265053, 0.011142436414957047, -0.007651668507605791, -0.000892097654286772, -0.003957019653171301, 0.009748762473464012, 0.00014452059986069798, -0.03374142944812775, 0.033552855253219604, 0.038053661584854126, -0.00682852091267705, 0.051000066101551056, 0.021207109093666077, 0.00928795151412487, 0.009427845478057861, -0.054390158504247665, 0.01237606443464756, -0.003774988930672407, -0.025390855967998505, -0.026017019525170326, 0.03646060451865196, 0.050380248576402664, -0.010913703590631485, -0.053620219230651855, 0.04819101095199585, 0.06499606370925903, -0.017678778618574142, -0.02926899679005146, 0.00009482877794653177, 0.04527595639228821, -0.04072717949748039, 0.004424632526934147, -0.013018453493714333, 0.0070588309317827225, 0.009782441891729832, 0.03597379848361015, 0.044169411063194275, 0.005574028007686138 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
Finetuning To keep the blog post (relatively) short, we've prepared a Colab notebook which will show you the exact steps we took to finetune apple/mobilevit-small on our dataset. At a high level, this involves: 1. Loading the "Quick, Draw!" dataset. 2. Transforming the dataset using a MobileViTImageProcessor. 3. Defining our collate function and evaluation metric. 4. Loading the pre-trained MobileVIT model using MobileViTForImageClassification.from_pretrained. 5. Training the model using the Trainer and TrainingArguments helper classes. 6. Evaluating the model using 🤗 Evaluate. NOTE: You can find our finetuned model here on the Hugging Face Hub.
[ 0.0009724365663714707, -0.03805823624134064, 0.06327085196971893, -0.0034413281828165054, 0.0783236175775528, 0.04588281363248825, 0.003355293767526746, 0.048679377883672714, -0.031227193772792816, -0.049275707453489304, 0.00511212320998311, 0.06567130237817764, 0.0067021818831563, -0.055126506835222244, 0.04201953113079071, -0.008260549046099186, 0.035431258380413055, -0.031060531735420227, -0.03648701310157776, 0.025619899854063988, 0.009204345755279064, -0.05835887789726257, -0.00013991813466418535, 0.04849178344011307, -0.02922353520989418, -0.05069303885102272, 0.07105368375778198, -0.011775071732699871, 0.0030364023987203836, 0.03170482814311981, -0.09809152781963348, -0.03041764162480831, -0.008876713924109936, -0.07600244879722595, -0.05603339895606041, -0.01591263897716999, -0.050063956528902054, 0.02468539960682392, -0.024401390925049782, -0.01728612370789051, 0.005715536884963512, -0.05411650240421295, 0.03315510228276253, 0.08427156507968903, 0.03318144008517265, -0.06478140503168106, -0.12272809445858002, 0.061794109642505646, -0.017280396074056625, -0.03684857487678528, -0.011360310018062592, 0.07715858519077301, 0.058229364454746246, -0.01109047420322895, 0.01849767565727234, -0.030004587024450302, 0.01612875796854496, -0.050079453736543655, 0.019532442092895508, -0.02586735598742962, 0.04983250051736832, -0.0368179976940155, 0.01631147228181362, 0.06048084422945976, 0.012239435687661171, 0.05087822303175926, 0.03901875764131546, 0.025365684181451797, -0.008537433110177517, -0.01144675724208355, 0.033062707632780075, -0.042092788964509964, 0.060614559799432755, -0.019713269546628, -0.07822898775339127, 0.003985918127000332, -0.04197772219777107, 0.042342014610767365, 0.045403096824884415, 0.017556941136717796, -0.020768338814377785, -0.046508871018886566, 0.012226223014295101, 0.08109297603368759, -0.03087642788887024, 0.021958572790026665, -0.003817857475951314, -0.02203311026096344, -0.10793011635541916, 0.04115778207778931, -0.05932871997356415, -0.09617574512958527, -0.015436859801411629, 0.010586356744170189, 0.0665496289730072, -0.04253659397363663, 0.008544277399778366, 0.016964875161647797, 0.05834084749221802, -0.0411432720720768, 0.006537127774208784, -0.01757243275642395, 0.053462594747543335, -0.011052194982767105, -0.056561458855867386, 0.04921570420265198, -0.09726855903863907, -0.04291766136884689, -0.051939427852630615, -0.013341039419174194, 0.01598028838634491, 0.028755057603120804, -0.04137079045176506, 0.10313158482313156, -0.08566496521234512, 0.046047549694776535, 0.011881228536367416, -0.009800209663808346, -0.054514333605766296, 0.006241577677428722, 0.009000813588500023, 0.09660432487726212, 0.05905629321932793, -0.03523768112063408, 0.04913279041647911, 0.06860123574733734, 0.007070812862366438, 0.04569891840219498, 0.032428987324237823, 0.011106896214187145, -0.013900576159358025, -0.057942356914281845, -0.0012152302078902721, -0.004366472363471985, -0.02733396738767624, -0.09353138506412506, -0.02448221854865551, -0.034605398774147034, 0.018612412735819817, 0.011121890507638454, 0.015314082615077496, 0.03210068121552467, -0.014983207918703556, 0.007745446637272835, 0.07247152924537659, -0.05882464721798897, -0.061398666352033615, 0.09720222651958466, -0.017949188128113747, 0.002311545656993985, -0.07551083713769913, 0.06781129539012909, 0.020151395350694656, -0.028971245512366295, 0.031713347882032394, 0.04029085487127304, -0.03449692949652672, 0.01461845450103283, -0.041954416781663895, 0.013868702575564384, -0.006087732966989279, 0.045522693544626236, -0.022737111896276474, 0.05094290152192116, -0.030453603714704514, 0.04226478189229965, 0.029658155515789986, 0.0886186808347702, 0.0957588329911232, 0.05211032181978226, 0.04688221216201782, -0.09403567761182785, 0.06572247296571732, -0.025225242599844933, -0.013538273051381111, 0.06954600661993027, 0.08259247988462448, 0.0810629278421402, -0.07882121205329895, 0.018291279673576355, 0.006237288936972618, 0.0378042496740818, 0.06355703622102737, 0.02400106005370617, 0.019108980894088745, -0.04104609787464142, 0.06564895063638687, -0.08876869827508926, 0.01460530236363411, -0.048593927174806595, 0.007061935495585203, 0.08874969929456711, 0.1204991266131401, -0.06897907704114914, 0.017821788787841797, -0.10077520459890366, -0.054142847657203674, 0.08807583898305893, 0.037743985652923584, 0.014560782350599766, 0.028101593255996704, -0.06631046533584595, 0.052224915474653244, 0.009926402010023594, 0.006997152231633663, 0.043418511748313904, 0.028765730559825897, -0.046012625098228455, 0.008084924891591072, 0.029911359772086143, 0.014811716973781586, -0.1675555258989334, -0.02571716532111168, -0.0574951134622097, 0.04609815776348114, -0.0027758264914155006, -0.04796609282493591, 0.00761420140042901, -0.03488056734204292, 0.017519742250442505, 0.08845075964927673, 0.00881414394825697, 0.017477260902523994, 0.0174274705350399, -0.023480704054236412, -0.006852495484054089, 0.05461784079670906, 0.038913074880838394, 0.09191256761550903, -0.05276140943169594, -0.027575252577662468, -0.04672956094145775, -0.07935581356287003, 0.05872977897524834, -0.009047283791005611, -0.07889106124639511, 0.02265232801437378, -0.005419841036200523, -0.003759951563552022, -0.011853656731545925, 0.0008293400169350207, -0.02956247515976429, -0.07090665400028229, 0.021957259625196457, -0.036253672093153, -0.043168701231479645, 0.02852364256978035, -0.018837282434105873, -0.013328040950000286, -0.008959890343248844, -0.037507276982069016, 0.027794333174824715, -0.02503143437206745, -0.00168685894459486, -0.024429380893707275, 0.014652869664132595, 0.004350793547928333, 0.02229361981153488, -0.016433240845799446, 0.06959311664104462, -0.008054272271692753, 0.009711825288832188, 0.011058442294597626, 0.012130281887948513, -0.004338344093412161, -0.05568283051252365, -0.014916767366230488, 0.02978658117353916, 0.006268389523029327, 0.05252958461642265, -0.03453110158443451, 0.011336428113281727, -0.006044443231076002, -0.006461289245635271, 0.03194800764322281, 0.023155951872467995, -0.02057226188480854, -0.03216882050037384, -0.003675491316244006, -0.019623830914497375, 0.019751038402318954, -0.008472951129078865, 0.024418167769908905, 0.027860533446073532, 0.06378678977489471, -0.0020712644327431917, -0.007975737564265728, 0.00963865127414465, -0.0005074601504020393, 0.015595023520290852, 0.022273024544119835, 0.026431309059262276, -0.012748032808303833, -0.03527125343680382, 0.01028826180845499, -0.0055401138961315155, 0.009690618142485619, -0.024487165734171867, -0.005162335466593504, -0.005908899940550327, -0.007512027397751808, -0.01061275415122509, 0.02080049179494381, -0.029464054852724075, -0.002704985672608018, 0.030077442526817322, 0.011830638162791729, 0.023709304630756378, -0.09144023805856705, 0.004381489474326372, -0.008491616696119308, 0.0023760278709232807, -0.024556811898946762, -0.032790955156087875, 0.02015620842576027, -0.019468005746603012, -0.009840497747063637, 0.014061334542930126, 0.044343654066324234, 0.008639883249998093, 0.03609089180827141, 0.030016297474503517, 0.0015138494782149792, 0.003147875890135765, -0.009856075048446655, -0.020882653072476387, 0.04948585107922554, 0.021543482318520546, -0.04800522327423096, 0.0028175627812743187, -0.00767300371080637, 0.00247955066151917, 0.008748113177716732, 0.02664201706647873, 0.03339260816574097, -0.005950340069830418, 0.0029429246205836535, 0.014898300170898438, -0.02570158801972866, -0.004407674074172974, -0.03621956333518028, -0.0018219485646113753, -0.03173278272151947, 0.019717177376151085, -0.006525120232254267, 0.01712391898036003, 0.01049549225717783, 0.010259408503770828, 0.009932338260114193, 0.05162184685468674, 0.0030964617617428303, -0.001526538166217506, 0.022257767617702484, 0.03346347436308861, -0.039724018424749374, -0.013668371364474297, -0.011131695471704006, -0.039270516484975815, -0.029657991603016853, 0.034227825701236725, -0.034265849739313126, 0.10748829692602158, -0.03388495743274689, 0.0032615268137305975, 0.000952978793065995, 0.022156359627842903, 0.039375487715005875, -0.03851701319217682, -0.05730080604553223, 0.01352652907371521, -0.03547467663884163, -0.037059806287288666, 0.020392976701259613, 0.017294516786932945, -0.02191743440926075, 0.007628205232322216, -0.03583095222711563, -0.03040030226111412, -0.010383222252130508, 0.012175706215202808, -0.011766080744564533, 0.0027724525425583124, -0.003678599838167429, -0.027261149138212204, -0.04191085323691368, 0.0245854202657938, 0.020480316132307053, 0.038784511387348175, -0.029797129333019257, -0.015071251429617405, 0.017044195905327797, -0.025042811408638954, 0.012785326689481735, -0.008459477685391903, -0.018118256703019142, -0.047721073031425476, 0.024811822921037674, 0.03035719133913517, 0.033426377922296524, -0.011580654419958591, -0.009369218721985817, 0.018374003469944, 0.02491530403494835, -0.006386632099747658, 0.0007766927010379732, 0.004711703397333622, 0.029280075803399086, -0.0024999924935400486, 0.03171299397945404, -0.03510981798171997, 0.0008799188653938472, 0.007845495827496052, 0.0008190687512978911, 0.04432158172130585, -0.023115692660212517, -0.014740587212145329, -0.018032850697636604, 0.026539074257016182, 0.015261461026966572, -0.04724445194005966, 0.0012134178541600704, -0.027892448008060455, 0.060030512511730194, -0.0010985456174239516, 0.014207285828888416, -0.02438397705554962, 0.0013447701930999756, -0.007287695072591305, -0.009459718130528927, 0.002872513374313712, -0.0011859724763780832, -0.004046119283884764, 0.04580920189619064, 0.023578951135277748, -0.030290614813566208, 0.06183353811502457, -0.0053275348618626595, -0.013391506858170033, -0.005110079888254404, -0.04185056686401367, 0.015189890749752522, 0.053220849484205246, 0.024897614493966103, -0.01986042596399784, -0.013081729412078857, 0.025821037590503693, 0.02798926830291748, -0.023654187098145485, 0.019810514524579048, -0.0003943835326936096, 0.023945191875100136, -0.025486642494797707, 0.04122767597436905, 0.0032929752487689257, -0.003918313421308994, 0.013641390018165112, -0.05462050437927246, 0.036046236753463745, 0.032558705657720566, -0.009937526658177376, -0.03497975319623947, -0.010137571953237057, 0.03178196772933006, -0.018453150987625122, 0.003218906931579113, 0.003515730146318674, -0.006948518101125956, 0.03863069415092468, 0.004626361653208733, 0.0350150391459465, -0.028165139257907867, 0.021319519728422165, -0.003221286227926612, -0.020344950258731842, 0.016188716515898705, -0.06363595277070999, -0.021735789254307747, -0.012827972881495953, -0.0172395221889019, 0.0124165378510952, -0.012708502821624279, -0.03429309278726578, 0.003990533761680126, 0.05441024899482727, 0.024636708199977875, -0.03356075659394264, -0.005577207542955875, -0.0002737342438194901, -0.03362023085355759, 0.00009422675066161901, 0.023171095177531242, 0.0010179689852520823, 0.012657717801630497, -0.0008731763809919357, 0.04799320548772812, 0.025744933634996414, 0.029531070962548256, -0.015522480010986328, 0.05569102242588997, 0.011397368274629116, 0.010274197906255722, -0.03949318826198578, -0.0017100073164328933, 0.01494397222995758, -0.027131423354148865, 0.036604709923267365, -0.07182507961988449, -0.027682339772582054, 0.02081928588449955, 0.009327913634479046, -0.04749958589673042, 0.005352772306650877, 0.0010005033109337091, 0.04600769653916359, -0.048527803272008896, -0.007622891571372747, -0.0288785919547081, -0.047208208590745926, -0.00641589192673564, -0.0012004082091152668, 0.022642895579338074, -0.03525131568312645, 0.020516037940979004, -0.01988435722887516, -0.07440751791000366, 0.0015952674439176917, 0.026838134974241257, 0.03525802865624428, -0.03777988627552986, 0.002783101284876466, -0.004603525158017874, -0.026170263066887856, -0.001673165475949645, 0.0010393153643235564, 0.006984957959502935, 0.02976151928305626, 0.010738636367022991, 0.04517751187086105, 0.0023342054337263107, -0.020945226773619652, 0.004855404607951641, 0.050916772335767746, -0.03704044967889786, 0.005115097388625145, -0.06295016407966614, -0.00839700922369957, 0.010273410938680172, -0.02732398547232151, -0.010545662604272366, -0.030301637947559357, -0.05231478065252304, 0.000838871521409601, -0.034493327140808105, 0.018025469034910202, 0.05938044935464859, 0.001108046853914857, 0.0704469308257103, 0.013033847324550152, 0.0157711710780859, 0.010859922505915165, -0.0007280504796653986, 0.026091359555721283, -0.010140405036509037, 0.007142817135900259, 0.005991670768707991, -0.018066639080643654, 0.0123206228017807, -0.010831152088940144, 0.033430058509111404, -0.07448989897966385, 0.04912314563989639, 0.00902454275637865, -0.017271433025598526, -0.009800199419260025, -0.020051615312695503, -0.05932037904858589, -0.025723017752170563, 0.04329504817724228, 0.03566449508070946, 0.010104485787451267, 0.006611499935388565, 0.023422209545969963, -0.028426608070731163, -0.052322808653116226, 0.0403432734310627, 0.0408313125371933, 0.04291973263025284, -0.006104957778006792, 0.002899362239986658, 0.00818363856524229, 0.042266830801963806, 0.02772822603583336, 0.04811721667647362, -0.01922246441245079, 0.04568931460380554, 0.0250290147960186, 0.0384335070848465, 0.04685224965214729, 0.01593642681837082, 0.02719911001622677, -0.03178481012582779, -0.02843158319592476, -0.028604967519640923, 0.045523740351200104, 0.04958387836813927, 0.030779989436268806, 0.02221357822418213, -0.034157995134592056, 0.01217532530426979, 0.04311767593026161, 0.053348369896411896, -0.04213811829686165, -0.005866204854100943, 0.018876800313591957, -0.0077042835764586926, -0.02198917604982853, 0.019213862717151642, -0.030858762562274933, -0.007771915290504694, 0.023047978058457375, 0.016552066430449486, 0.0256032794713974, 0.013338450342416763, 0.0000657420969218947, 0.015935828909277916, 0.015956083312630653, -0.048936061561107635, 0.028206702321767807, 0.007850740104913712, -0.0068683987483382225, -0.019995495676994324, -0.0027540570590645075, -0.03850014507770538, -0.01594802923500538, 0.009477716870605946, -0.05353815108537674, -0.03907356038689613, 0.01150610949844122, 0.017564207315444946, 0.043058522045612335, -0.007301136385649443, 0.003419449320062995, -0.014204234816133976, -0.001453277189284563, -0.016665415838360786, -0.020324721932411194, -0.033472828567028046, -0.0747789740562439, -0.022668249905109406, 0.007250252645462751, -0.014365466311573982, 0.024044757708907127, 0.01562640629708767, -0.02488822117447853, 0.008598515763878822, -0.03572898730635643, -0.01471009198576212, -0.020928747951984406, -0.0003947210789192468, 0.005915353540331125, -0.06362805515527725, 0.03931071236729622, 0.017366064712405205, -0.006644311361014843, 0.01567847840487957, -0.010213734582066536, 0.012980627827346325, -0.011265255510807037, -0.00151061883661896, 0.015436338260769844, 0.03362152352929115, -0.008113447576761246, -0.05715596303343773, 0.019337119534611702, 0.018081555142998695, -0.005777591373771429, 0.049839481711387634, 0.0092238774523139, 0.042766645550727844, 0.043239742517471313, -0.0017478192457929254, 0.0176838506013155, -0.01087502297013998, 0.015602309256792068, 0.0044599492102861404, -0.038819149136543274, -0.04892522096633911, -0.033031389117240906, 0.022786512970924377, 0.02987758442759514, 0.018183909356594086, 0.06979416310787201, 0.02821943163871765, 0.03374409303069115, -0.02221839502453804, 0.021472755819559097, 0.015680668875575066, -0.025023868307471275, -0.038452643901109695, -0.03926342353224754, -0.03221724554896355, 0.01921692304313183, -0.006318036001175642, 0.05149177089333534, -0.011908205226063728, -0.046644724905490875, -0.010926496237516403, -0.016200827434659004, -0.03445088118314743, 0.0147322379052639, 0.059858836233615875, 0.024830415844917297, 0.023071225732564926, 0.019337492063641548, -0.016097301617264748, 0.013808969408273697, -0.016839629039168358, -0.0011641033925116062, 0.014883213676512241, -0.015954097732901573, -0.02824859693646431, -0.04176581650972366, -0.027238957583904266, 0.045107390731573105, -0.04106424003839493, -0.011599453166127205, 0.009712914004921913, 0.01029089093208313, -0.011127031408250332, 0.017789326608181, 0.05514714866876602, 0.021205896511673927, 0.03512774780392647, -0.0002887044392991811, -0.04728099703788757, 0.0031275413930416107, 0.012073412537574768, -0.038335852324962616, 0.03560737892985344, -0.03474628925323486, -0.010936906561255455, 0.005898683797568083, -0.009191978722810745, 0.01630478724837303, -0.02387518435716629, -0.059111639857292175, 0.00019301810243632644, 0.015409622341394424, -0.03147204965353012, -0.012965433299541473, -0.014110367745161057, 0.03210734948515892, -0.004294517915695906, -0.055822838097810745, 0.0013394744601100683, 0.014547486789524555, -0.012414327822625637, -0.003956082742661238, 0.0072634294629096985, 0.03060929663479328, -0.010032900609076023, -0.00418816739693284, -0.025920303538441658, 0.030838819220662117, -0.008499684743583202, -0.010152308270335197, -0.06664581596851349, 0.017956266179680824 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
BONUS: Coming up with the name In the spirit of open-source development, I decided to ask Hugging Chat for some game name ideas... and needless to say, it did not disappoint! I liked the alliteration of "Doodle Dash" (suggestion #4), so I decided to go with that. Thanks Hugging Chat! 🤗 --- I hope you enjoyed building this game with me! If you have any questions or suggestions, you can find me on Twitter, GitHub, or the 🤗 Hub. Also, if you want to improve the game (game modes? power-ups? animations? sound effects?), feel free to fork the project and submit a pull request! I'd love to see what you come up with! PS: Don't forget to join the Open Source AI Game Jam! Hopefully this blog post inspires you to build your own web game with Transformers.js! 😉 See you at the Game Jam! 🚀
[ 0.027197107672691345, -0.06750649958848953, 0.06227528676390648, -0.04473842307925224, -0.013260305859148502, 0.04228157922625542, 0.05002661794424057, 0.06688597798347473, 0.01849021576344967, -0.08461801707744598, -0.05088448151946068, 0.03750068321824074, -0.07510257512331009, 0.08171503990888596, 0.012521098367869854, -0.023900184780359268, 0.013678453862667084, 0.0315239280462265, -0.025671983137726784, 0.013259375467896461, -0.05794847756624222, -0.027722496539354324, -0.009048757143318653, -0.0001240291603608057, -0.013177466578781605, 0.004759467206895351, 0.023091740906238556, 0.013738521374762058, -0.04910344257950783, 0.02766762673854828, -0.02812635898590088, -0.015914876013994217, 0.04956347867846489, -0.030385594815015793, -0.054333943873643875, 0.02419443055987358, -0.03481532633304596, 0.066593699157238, -0.003938501700758934, -0.10053999722003937, -0.012484109960496426, -0.05668170750141144, -0.013464247807860374, -0.03188806027173996, 0.0550198033452034, -0.03966230899095535, -0.18695591390132904, 0.07606155425310135, -0.08824934810400009, -0.014365996234118938, -0.023103982210159302, 0.020062295719981194, -0.027382371947169304, 0.03823694586753845, -0.046058062463998795, -0.017594072967767715, 0.024091143161058426, -0.04905389994382858, 0.03127163648605347, 0.013704437762498856, 0.07042727619409561, 0.0033997956197708845, -0.012424003332853317, 0.04053991660475731, 0.0014316329034045339, 0.04687156528234482, 0.0045737395994365215, 0.04467509314417839, -0.021856721490621567, -0.03155134245753288, 0.025547251105308533, 0.015048910863697529, -0.07745545357465744, -0.009052406996488571, 0.013797692023217678, -0.019031524658203125, 0.0477256141602993, 0.06728988885879517, 0.009219705127179623, 0.05052122473716736, -0.022281331941485405, 0.010027007199823856, 0.1392534375190735, 0.07671434432268143, 0.016917511820793152, 0.021653009578585625, -0.011026710271835327, -0.00007166448631323874, -0.07121560722589493, 0.03931090980768204, 0.03016101010143757, -0.1782418042421341, -0.04584020748734474, -0.03418140485882759, 0.07203079760074615, -0.00386408856138587, -0.02781485952436924, -0.02653399296104908, -0.06389995664358139, 0.055476345121860504, -0.02574857883155346, -0.07629823684692383, -0.010727804154157639, -0.03855219855904579, -0.03925038501620293, 0.028240488842129707, 0.012227639555931091, -0.10024592280387878, 0.011980708688497543, -0.0055666472762823105, 0.04007944092154503, -0.005728313233703375, 0.12016270309686661, 0.06750037521123886, -0.03869251161813736, 0.029691139236092567, -0.05028075724840164, 0.0023519040551036596, -0.04434097930788994, 0.011974425055086613, 0.019746357575058937, 0.015098053961992264, -0.0057045468129217625, 0.023530954495072365, 0.0641595721244812, 0.0437929667532444, 0.014601532369852066, -0.004223063588142395, 0.012710903771221638, -0.0059440359473228455, 0.0101166982203722, -0.010224060155451298, 0.016912125051021576, -0.01938336342573166, 0.03288145363330841, -0.023549700155854225, 0.023627828806638718, -0.012466201558709145, 0.029876865446567535, 0.03211527317762375, -0.04978207126259804, 0.03912268579006195, 0.013103097677230835, 0.05054638162255287, 0.03909827768802643, -0.07588315010070801, -0.0712260827422142, 0.017436452209949493, -0.02556733787059784, 0.02400987222790718, -0.009260986000299454, 0.03735693171620369, -0.036263417452573776, -0.04899316653609276, 0.011745771393179893, 0.07201043516397476, -0.016087261959910393, -0.0695546567440033, -0.00247562350705266, 0.016933618113398552, -0.01292759831994772, 0.025269770994782448, -0.02106555365025997, 0.026562701910734177, -0.016121793538331985, -0.04557899758219719, 0.024223968386650085, -0.025430601090192795, 0.012175538577139378, -0.012733280658721924, -0.00840982235968113, 0.03257652372121811, 0.05379917100071907, -0.004682627972215414, 0.009330954402685165, 0.042757924646139145, 0.05851428583264351, 0.004536883905529976, 0.06253176927566528, 0.033840298652648926, -0.045575980097055435, -0.0010620617540553212, 0.056278981268405914, 0.07985129952430725, 0.018942557275295258, -0.05408010259270668, 0.002111991634592414, -0.05510880798101425, -0.015230481512844563, 0.015629012137651443, -0.032850995659828186, -0.05025855079293251, 0.0644860789179802, -0.003332887077704072, 0.008534058928489685, -0.08672501891851425, -0.06064332276582718, 0.08799844235181808, 0.09920113533735275, 0.07696984708309174, 0.005825091153383255, -0.034897588193416595, -0.008889663964509964, -0.014842205680906773, -0.024812007322907448, 0.0045583536848425865, 0.051336921751499176, -0.012307330965995789, -0.029551595449447632, -0.05671479552984238, 0.010387737303972244, -0.047787610441446304, 0.0850975513458252, -0.04317164793610573, 0.018839359283447266, -0.0592302605509758, -0.05627801641821861, -0.016864771023392677, 0.02113146148622036, 0.003944634459912777, 0.07145176827907562, -0.0869307890534401, -0.08718641102313995, -0.020846381783485413, 0.04386578127741814, 0.09142047166824341, 0.08236438781023026, 0.042973533272743225, 0.07024604082107544, -0.07659102976322174, -0.04871924966573715, 0.050025612115859985, -0.02862643450498581, 0.01110256277024746, 0.015076636336743832, -0.03916194289922714, 0.11460428684949875, -0.05842854455113411, 0.016380220651626587, -0.023408055305480957, -0.04499061778187752, -0.03173471614718437, 0.03876347467303276, 0.022955264896154404, -0.007933548651635647, -0.02045823074877262, 0.04481996223330498, -0.008869017474353313, 0.0368579663336277, 0.0011184454197064042, -0.056421902030706406, 0.030733296647667885, 0.003066904842853546, -0.04434508457779884, 0.09929569810628891, 0.038320668041706085, 0.007761478889733553, -0.005036673508584499, -0.027697518467903137, 0.04259517788887024, 0.02254818193614483, -0.007564741186797619, 0.022682474926114082, -0.022808454930782318, 0.026806512847542763, -0.03452710434794426, -0.024502327665686607, 0.04283573478460312, -0.011294160969555378, 0.027094848453998566, 0.0025721390265971422, 0.02164996787905693, -0.004947942215949297, -0.03475191444158554, -0.0015905675245448947, 0.004952452145516872, 0.04308178648352623, -0.004891243297606707, 0.02574928104877472, -0.010023482143878937, -0.024325378239154816, -0.00801090057939291, -0.003114853985607624, 0.015778174623847008, -0.01600508764386177, -0.00025247118901461363, 0.0046418956480920315, 0.022842103615403175, 0.00983848050236702, -0.031810931861400604, 0.01888628676533699, 0.027453839778900146, -0.07156098634004593, -0.013469420373439789, -0.0009517961298115551, -0.027375686913728714, 0.021569430828094482, 0.01685975305736065, -0.029894694685935974, 0.008885008282959461, 0.018459932878613472, -0.00920813251286745, -0.027665143832564354, 0.03528926894068718, 0.013925493694841862, 0.011496292427182198, -0.015020317398011684, -0.012468426488339901, -0.09956435859203339, -0.04173276200890541, -0.0037560940254479647, 0.0267434474080801, -0.01987629383802414, -0.0143065070733428, -0.013432677835226059, -0.03205543011426926, 0.003887991653755307, 0.025476135313510895, -0.04729583486914635, 0.010121717117726803, -0.011402765288949013, -0.021213022992014885, 0.0039364490658044815, -0.06596702337265015, -0.00008220773452194408, 0.03519146144390106, -0.039393749088048935, 0.031231753528118134, -0.022240666672587395, 0.07729305326938629, 0.017872001975774765, 0.0003728579031303525, 0.007119470275938511, -0.02119181491434574, 0.05267917364835739, -0.007600268814712763, 0.04997750744223595, -0.036622609943151474, -0.012637298554182053, -0.0007400718750432134, -0.03617312014102936, 0.03277521952986717, -0.060060929507017136, 0.04819843918085098, -0.03572574257850647, -0.031352732330560684, 0.008488514460623264, 0.026737818494439125, -0.0051302057690918446, -0.010842340067029, -0.009079854004085064, -0.03210949897766113, 0.045550692826509476, -0.03876965120434761, -0.019794655963778496, 0.03140506148338318, 0.02285303920507431, -0.030779775232076645, 0.01231659296900034, -0.025713983923196793, -0.008072759956121445, 0.0032909775618463755, 0.04085930809378624, -0.009196205995976925, -0.0290975421667099, 0.008514031767845154, 0.01590723916888237, -0.011291087605059147, 0.00580830592662096, 0.030498599633574486, -0.03220287710428238, 0.0038963747210800648, -0.03367847204208374, 0.03385188430547714, 0.018183903768658638, 0.008381349965929985, -0.0030158590525388718, 0.05004751309752464, 0.020481880754232407, 0.01857980526983738, -0.012962685897946358, 0.0075356015004217625, -0.013660428114235401, 0.04712456092238426, -0.008549187332391739, -0.023221289739012718, 0.05334870517253876, -0.002700800308957696, -0.03674274682998657, -0.04439892992377281, -0.028597954660654068, -0.05684201046824455, 0.013060899451375008, 0.01857326179742813, 0.05734185874462128, -0.003908761776983738, 0.05037117004394531, 0.046853747218847275, 0.025646988302469254, -0.006224580574780703, 0.04205043613910675, -0.029388926923274994, 0.013074398040771484, 0.03625977784395218, 0.005454136524349451, -0.03519447520375252, -0.05814417079091072, 0.005808343645185232, 0.03471697121858597, -0.0310310497879982, -0.009623285382986069, 0.028845736756920815, 0.04965163394808769, 0.049583856016397476, -0.019233884289860725, -0.008110519498586655, 0.023858768865466118, 0.004237254615873098, 0.044427067041397095, -0.006375073920935392, -0.022073332220315933, -0.009899172000586987, 0.012301811948418617, 0.02078002132475376, 0.024758273735642433, -0.02848999574780464, -0.0010195367503911257, 0.010646817274391651, -0.030032383278012276, 0.013772831298410892, 0.009302922524511814, 0.03889588266611099, 0.05089547112584114, 0.018080975860357285, 0.04575362056493759, 0.0021693736780434847, 0.012324784882366657, 0.005557720083743334, -0.00908801332116127, 0.0037166213151067495, 0.013008679263293743, 0.011143617331981659, -0.00930197536945343, 0.01403119694441557, -0.0479956716299057, -0.0012702151434496045, -0.02999085560441017, -0.04093282297253609, 0.003396921558305621, 0.04304774850606918, 0.037024930119514465, -0.033218737691640854, -0.009143041446805, 0.01707289181649685, -0.019835075363516808, 0.010951054282486439, 0.014590890146791935, -0.027398692443966866, 0.05720509588718414, 0.013367344625294209, -0.02553524449467659, 0.03858549892902374, 0.025226250290870667, 0.001053071697242558, -0.0380672886967659, 0.019044529646635056, -0.028204679489135742, 0.046809177845716476, 0.013376609422266483, -0.01570078544318676, -0.02391459420323372, 0.07428304851055145, 0.003299121279269457, -0.010310719721019268, 0.012513036839663982, -0.06630513817071915, 0.03344766050577164, -0.024947384372353554, 0.007759871892631054, 0.006111909169703722, 0.0449068620800972, -0.007992400787770748, -0.008730319328606129, -0.02728898823261261, 0.004290285520255566, 0.043190713971853256, -0.03029484860599041, -0.022800903767347336, -0.023600416257977486, 0.019004425033926964, -0.006808297708630562, -0.030796285718679428, 0.027485720813274384, 0.009983436204493046, 0.017511416226625443, 0.07267185300588608, 0.003002285724505782, -0.03139611333608627, -0.008883805014193058, 0.01931004412472248, -0.017671190202236176, -0.0439007505774498, 0.045141544193029404, -0.027398718520998955, -0.06387711316347122, -0.028568414971232414, -0.009183511137962341, -0.025191983208060265, 0.02849896252155304, 0.02726864442229271, -0.03519206494092941, 0.025522245094180107, -0.002206281991675496, 0.00871847104281187, 0.040782101452350616, -0.042786188423633575, 0.00787296425551176, -0.021643944084644318, -0.030577946454286575, -0.014107098802924156, 0.033170975744724274, -0.029905861243605614, -0.032507382333278656, -0.02233039028942585, 0.02143915742635727, -0.00895457062870264, 0.03921636939048767, 0.03631538525223732, -0.004843242932111025, -0.012095261365175247, 0.004766223486512899, 0.019116366282105446, 0.04054814949631691, -0.027923721820116043, 0.005678586661815643, -0.00909985788166523, -0.02740580029785633, 0.007819954305887222, 0.055954709649086, 0.025431746616959572, -0.00843795109540224, 0.021297376602888107, -0.009528731927275658, -0.03157920762896538, -0.04831332340836525, 0.021023372188210487, 0.05341339856386185, -0.02925179712474346, 0.016880936920642853, -0.023575639352202415, -0.023924417793750763, -0.046238791197538376, -0.018587395548820496, 0.00068226846633479, 0.060098182410001755, 0.008047927170991898, -0.037191715091466904, 0.026355359703302383, 0.02363118901848793, -0.0024715655017644167, -0.04501207172870636, -0.024672556668519974, 0.010024254210293293, 0.0009308800799772143, 0.003649055492132902, 0.014963223598897457, -0.01935908943414688, -0.029805025085806847, 0.002457611495628953, -0.03482457995414734, -0.005706074181944132, 0.026553692296147346, -0.01937241107225418, 0.03336569294333458, 0.0151151018217206, -0.010537458583712578, -0.01044691726565361, 0.014426753856241703, -0.022914651781320572, 0.03163433447480202, 0.03524068370461464, -0.005293512251228094, -0.010443408042192459, -0.041966117918491364, 0.07063096761703491, 0.017337916418910027, 0.004832378122955561, 0.017485525459051132, 0.01407609973102808, 0.015029841102659702, 0.0157316867262125, 0.01563042402267456, -0.005789102520793676, 0.0012687344569712877, 0.10740873217582703, -0.005399609450250864, 0.0683814063668251, 0.009953671135008335, -0.02596074901521206, -0.04707963019609451, 0.039723191410303116, -0.017888730391860008, -0.04177048057317734, -0.0028208184521645308, -0.0039693140424788, -0.04585034027695656, -0.002477634698152542, 0.0038325528148561716, 0.05482201278209686, 0.029728790745139122, 0.004930987488478422, -0.02072756551206112, 0.03656403720378876, 0.032277364283800125, 0.021489890292286873, 0.032146256417036057, -0.026298055425286293, 0.019180994480848312, -0.018003782257437706, 0.052639495581388474, -0.01677674427628517, 0.022929007187485695, -0.009180018678307533, 0.021239804103970528, -0.0020652622915804386, -0.03006022423505783, -0.006418114062398672, 0.014339027926325798, -0.024165410548448563, 0.023030895739793777, -0.011334934271872044, -0.012315785512328148, 0.011077942326664925, -0.003367216559126973, 0.034883756190538406, 0.001837996649555862, -0.01676792837679386, -0.015810206532478333, 0.004606478847563267, -0.007653054781258106, -0.004201389849185944, -0.017353275790810585, 0.004700524732470512, -0.035338375717401505, 0.02406913973391056, 0.04089139401912689, -0.04144531115889549, -0.0495171844959259, -0.011101426556706429, -0.010295674204826355, 0.003947107587009668, -0.004243644420057535, -0.054221078753471375, -0.07737555354833603, 0.040640681982040405, 0.010970409028232098, 0.0012660408392548561, -0.0018120926106348634, 0.015384630300104618, -0.020692620426416397, -0.05761507526040077, 0.018393080681562424, -0.020962707698345184, 0.0001006522070383653, -0.0073595657013356686, -0.012555153109133244, 0.03828025981783867, -0.0069964006543159485, 0.02236252836883068, -0.021923838183283806, 0.026298772543668747, -0.05540069565176964, -0.018458081409335136, 0.038414787501096725, -0.010764680802822113, -0.020650407299399376, 0.028335601091384888, 0.03247573599219322, 0.009478085674345493, -0.008250972256064415, 0.0037143512163311243, 0.004389362875372171, -0.027389010414481163, 0.023084217682480812, 0.04931044951081276, 0.014673150144517422, 0.008207236416637897, 0.025817565619945526, 0.038008756935596466, 0.02651708573102951, 0.018086997792124748, 0.037340763956308365, 0.05743439868092537, -0.0040397848933935165, -0.01958141289651394, 0.006430892739444971, -0.022606272250413895, -0.00010567772551439703, -0.009395024739205837, -0.061212725937366486, -0.004406685009598732, -0.011451177299022675, 0.013653866946697235, -0.011228427290916443, -0.0919693186879158, 0.017747730016708374, 0.001372253755107522, 0.011254814453423023, -0.04369242861866951, 0.026809684932231903, 0.036192528903484344, -0.01223880983889103, 0.01908966340124607, -0.018519489094614983, 0.006229792255908251, 0.016643431037664413, 0.026447078213095665, 0.0025121704675257206, 0.04798894375562668, -0.02138771489262581, -0.012328854762017727, -0.02040962316095829, -0.007175174541771412, -0.04900026693940163, -0.04464321583509445, -0.008809376507997513, 0.02133733034133911, -0.04248311370611191, -0.022958194836974144, 0.04544537886977196, 0.0076281242072582245, -0.009197700768709183, -0.0007188612944446504, -0.014282695017755032, -0.031248915940523148, -0.023314157500863075, 0.02466004341840744, -0.05726867914199829, 0.00030823316774331033, 0.013676664792001247, 0.06248561292886734, -0.0017868665745481849, 0.06794881820678711, -0.011437131091952324, 0.008700070902705193, 0.002035049721598625, 0.03447457402944565, -0.008501971140503883, -0.032328978180885315, -0.025825735181570053, -0.0202593095600605, -0.011118892580270767, -0.015041915699839592, -0.03296688571572304, 0.022564750164747238, 0.028908908367156982, -0.04872531071305275, 0.006707909516990185, 0.034983932971954346, -0.010037366300821304, 0.04217059910297394, 0.06174280494451523, -0.03187411651015282, 0.015124309808015823, -0.004482436925172806, 0.0011079610558226705, 0.02742168866097927, 0.028180019930005074 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
Training data We'll be training our model using a subset of Google's Quick, Draw! dataset, which contains over 5 million drawings across 345 categories. Here are some samples from the dataset:
[ 0.0314413346350193, -0.018731361255049706, 0.09211672842502594, 0.016912389546632767, 0.09750432521104813, 0.07509111613035202, 0.002913600532338023, 0.05819602310657501, -0.024068651720881462, -0.042223889380693436, -0.05132061243057251, 0.023150581866502762, -0.005398474633693695, 0.02200617641210556, 0.028739474713802338, -0.022097067907452583, 0.039915770292282104, -0.011479362845420837, 0.01778765581548214, 0.011630524881184101, -0.019011344760656357, -0.07696452736854553, 0.03906131908297539, -0.058361154049634933, -0.0038990166503936052, -0.04392027482390404, -0.001512562041170895, -0.012201978825032711, -0.0032103657722473145, 0.0009107352234423161, -0.09125664830207825, -0.005018258932977915, 0.043520089238882065, -0.012222466059029102, -0.03934480622410774, 0.023889563977718353, -0.10173360258340836, 0.037832289934158325, -0.00403566611930728, -0.0599510632455349, 0.027887314558029175, 0.0032200345303863287, -0.021387171000242233, 0.11486364901065826, 0.012691023759543896, -0.0008246170473285019, -0.22623002529144287, 0.028654832392930984, 0.006567772943526506, -0.036926496773958206, -0.1088341474533081, 0.04513337463140488, 0.004143550992012024, -0.0229414701461792, 0.00017114229558501393, -0.00459599494934082, 0.0714312195777893, -0.0482616163790226, -0.023475538939237595, -0.023704243823885918, 0.03808153420686722, 0.019285913556814194, 0.034494370222091675, 0.029991095885634422, 0.002478011418133974, -0.03179743513464928, 0.001413714955560863, 0.058042366057634354, -0.06522366404533386, 0.012142343446612358, 0.06673189252614975, -0.05525263398885727, 0.003316408721730113, 0.040523726493120193, -0.028338907286524773, -0.03186627849936485, -0.013304430060088634, 0.029533931985497475, 0.06592950224876404, 0.012867004610598087, 0.01588595286011696, -0.017731279134750366, 0.08511699736118317, 0.05649985373020172, 0.03607817366719246, -0.007595820352435112, 0.041616179049015045, -0.019853636622428894, -0.024430036544799805, 0.039810389280319214, -0.012392819859087467, -0.12798473238945007, -0.0019922798965126276, 0.017320863902568817, 0.03180886059999466, -0.05560872331261635, 0.046073392033576965, -0.016771815717220306, 0.028748061507940292, -0.06441815197467804, -0.029119711369276047, -0.04766770079731941, 0.031962279230356216, -0.022847386077046394, -0.08020760118961334, 0.004842155147343874, -0.006783276330679655, -0.08619265258312225, -0.07202619314193726, 0.07402479648590088, -0.014664770103991032, -0.011699773371219635, -0.0010933951707556844, 0.016571322456002235, -0.05075516551733017, 0.04127617925405502, 0.01509817037731409, -0.02500767633318901, -0.004484462086111307, 0.021118801087141037, -0.05044249817728996, 0.0479290597140789, 0.019556747749447823, -0.002234893850982189, -0.005383997689932585, 0.07202187925577164, 0.06381113827228546, 0.05690601468086243, -0.02316887304186821, -0.042444806545972824, 0.008982324972748756, -0.025025634095072746, 0.04836621508002281, -0.027641475200653076, -0.009172317571938038, -0.0680251270532608, -0.07790359854698181, 0.020516185089945793, 0.04231102392077446, 0.019624484702944756, -0.04737028479576111, 0.03606388717889786, -0.010755877010524273, 0.030373938381671906, 0.043928079307079315, -0.07078046351671219, -0.03556794300675392, 0.034312665462493896, -0.04524997994303703, 0.005434686318039894, -0.07465177774429321, 0.07298417389392853, -0.05885758250951767, -0.0697241947054863, 0.04045617952942848, 0.036959197372198105, 0.021512797102332115, -0.029465671628713608, -0.062412939965724945, 0.008445948362350464, 0.024259258061647415, 0.02394593134522438, -0.018118368461728096, 0.034245263785123825, 0.013410559855401516, -0.03633542358875275, -0.02721988409757614, -0.012925068847835064, -0.020349444821476936, 0.002937043085694313, -0.006220806390047073, -0.05231766030192375, 0.07187625765800476, -0.003413519822061062, -0.021330924704670906, 0.022857576608657837, 0.02754918299615383, 0.08141482621431351, 0.01434455718845129, 0.012511683627963066, -0.030293753370642662, 0.009822675958275795, 0.03479927033185959, 0.021624773740768433, 0.08711150288581848, -0.12077838182449341, 0.08538690209388733, -0.023630814626812935, 0.007452342193573713, 0.018363425508141518, -0.03509141504764557, -0.012755396775901318, 0.09738655388355255, -0.011642126366496086, 0.04689621180295944, -0.10519158840179443, -0.0260678268969059, 0.10410328209400177, 0.06002632901072502, 0.03466348722577095, 0.046513114124536514, 0.012549773789942265, 0.0421157144010067, -0.02086229808628559, -0.007276688702404499, -0.013301749713718891, -0.008213748224079609, -0.00833031814545393, 0.037052664905786514, -0.052912525832653046, -0.007634754292666912, -0.0928490087389946, 0.017552385106682777, -0.07177324593067169, 0.006433034781366587, 0.027077099308371544, 0.07870595902204514, 0.004800889641046524, 0.0002822767710313201, -0.05967707559466362, 0.15041054785251617, 0.03688158839941025, -0.055735599249601364, 0.03994844853878021, -0.06489349901676178, 0.047191109508275986, 0.09448736160993576, 0.028515251353383064, 0.10023242980241776, -0.10116801410913467, -0.03461412712931633, 0.012380457483232021, 0.03622136265039444, 0.0425180159509182, -0.022525930777192116, -0.019008861854672432, 0.05123625323176384, -0.02147984318435192, 0.04331053048372269, -0.07149433344602585, 0.009754789061844349, -0.015732938423752785, -0.009688986465334892, 0.009208118543028831, -0.03588311746716499, -0.028984108939766884, 0.019315002486109734, 0.01690252125263214, -0.0477868914604187, -0.025419313460588455, -0.032336991280317307, 0.043413545936346054, -0.03341936692595482, -0.034314751625061035, 0.037743352353572845, 0.009907981380820274, -0.0067668757401406765, -0.06308076530694962, 0.00061316805658862, 0.031078364700078964, 0.02412719465792179, 0.011077837087213993, -0.034477051347494125, -0.010767538100481033, 0.01258663460612297, -0.05708884820342064, -0.009436167776584625, -0.042560726404190063, 0.006268876604735851, 0.03721245378255844, 0.014258005656301975, -0.00464796693995595, 0.03090035542845726, 0.00566864712163806, 0.03402242437005043, 0.02130286581814289, 0.05040225386619568, -0.021795563399791718, 0.007256629876792431, -0.04323304817080498, -0.014179996214807034, -0.036679331213235855, 0.010294578969478607, 0.02990451268851757, 0.06682521849870682, 0.01864856295287609, 0.03706878051161766, -0.020318783819675446, -0.030688850209116936, 0.053321026265621185, 0.03289933502674103, 0.04097191244363785, 0.00815288070589304, -0.01750491000711918, 0.00026491546304896474, -0.04459362477064133, 0.0039296457543969154, 0.014754396863281727, -0.015971587970852852, 0.03680798038840294, 0.003832913003861904, 0.006825458724051714, -0.006037809420377016, -0.011904534883797169, -0.038869138807058334, 0.03870057687163353, 0.009179303422570229, 0.03667975217103958, -0.12862499058246613, -0.018775373697280884, 0.0180351659655571, 0.03072824701666832, -0.045701585710048676, -0.039747387170791626, 0.01654910109937191, -0.02025642618536949, 0.0060003711842000484, 0.0021118985023349524, 0.03712921962141991, -0.012476042844355106, 0.007984059862792492, -0.014635403640568256, 0.020234428346157074, 0.02319403365254402, -0.007613225374370813, -0.014972205273807049, 0.009794356301426888, 0.01499783992767334, -0.04067433625459671, 0.03688918426632881, -0.017204519361257553, 0.012337950989603996, 0.005179953295737505, 0.020015472546219826, 0.013066181913018227, 0.015715651214122772, 0.03431107476353645, -0.023059088736772537, -0.006238402798771858, 0.012962322682142258, -0.059823695570230484, 0.04447035491466522, -0.014065857045352459, 0.015494294464588165, 0.013818084262311459, 0.024571990594267845, 0.015399365685880184, 0.03563413769006729, -0.005684626754373312, -0.03393105790019035, 0.025003967806696892, 0.027976052835583687, -0.004340113140642643, 0.01975914090871811, -0.01204469334334135, 0.006167865823954344, 0.03610111400485039, -0.03884955868124962, -0.039991818368434906, 0.006514362990856171, -0.003720339620485902, 0.07475148886442184, -0.01980445347726345, -0.018188880756497383, -0.01987387239933014, -0.006992737762629986, 0.035651277750730515, -0.020717553794384003, -0.026990605518221855, 0.010732428170740604, -0.00864125695079565, -0.007580820471048355, -0.0488305501639843, 0.022189214825630188, -0.011312030255794525, 0.03762037679553032, -0.0511474609375, 0.02195148356258869, 0.0071365428157150745, 0.02541165053844452, -0.010519012808799744, 0.01450273022055626, -0.013635005801916122, 0.019322693347930908, 0.0029189635533839464, -0.014625703915953636, 0.09974319487810135, -0.0055820029228925705, -0.014214420691132545, -0.04025419428944588, -0.016484009101986885, -0.032217565923929214, 0.010074307210743427, 0.0047905417159199715, -0.0264685470610857, -0.0418059304356575, 0.005979642737656832, 0.0394931435585022, 0.042551446706056595, -0.012325834482908249, -0.022027933970093727, 0.015655966475605965, 0.023086439818143845, 0.023898299783468246, 0.045201994478702545, 0.001846023602411151, 0.017540613189339638, 0.01150772999972105, 0.024805042892694473, -0.015826163813471794, -0.009986914694309235, -0.01759815588593483, 0.000445944897364825, 0.022397775202989578, -0.010561618022620678, -0.03606424853205681, 0.04278142750263214, 0.006609850563108921, 0.031015876680612564, -0.007039668969810009, -0.013548624701797962, -0.03794383630156517, 0.04208872839808464, 0.007051058113574982, -0.03139881417155266, -0.00015536996943410486, -0.019148806110024452, 0.014575918205082417, -0.03381595015525818, -0.00013490553828887641, -0.019762497395277023, 0.0005531319766305387, 0.023955870419740677, 0.019691675901412964, -0.004379820078611374, 0.034583013504743576, -0.008133524097502232, -0.006244998890906572, -0.013374892063438892, -0.0389234758913517, 0.0044567035511136055, 0.037675220519304276, 0.02705482766032219, -0.0020535753574222326, -0.03878706693649292, 0.032889530062675476, -0.015648819506168365, -0.06960159540176392, 0.02526834048330784, 0.019315605983138084, 0.046481627970933914, -0.008702974766492844, 0.024640997871756554, -0.0014863424003124237, -0.02333478443324566, -0.002646144013851881, -0.043710943311452866, 0.000400192744564265, 0.012167529202997684, -0.04167676717042923, -0.048592496663331985, 0.017474019899964333, 0.01790781132876873, -0.017171746119856834, -0.012358580715954304, 0.03525545448064804, -0.017911091446876526, 0.03223022073507309, -0.014858119189739227, -0.009931227192282677, -0.06127225235104561, 0.036170922219753265, 0.016608096659183502, -0.0140202846378088, 0.00840272568166256, -0.0387810617685318, -0.0019536789041012526, 0.017055382952094078, -0.01663544401526451, -0.016367942094802856, 0.01402236521244049, -0.014163770712912083, 0.04679528996348381, 0.013113046064972878, 0.026834500953555107, 0.04223446547985077, 0.02358023263514042, 0.031941529363393784, -0.05785919725894928, -0.005760410334914923, 0.003946922719478607, 0.007742009125649929, -0.0009500958258286119, -0.009816785342991352, 0.05938423424959183, 0.039143238216638565, 0.055503033101558685, 0.012239350005984306, -0.023045016452670097, -0.028210733085870743, -0.008302916772663593, -0.03066730871796608, 0.014505579136312008, 0.02792045660316944, 0.009838313795626163, -0.000499510089866817, -0.012506802566349506, -0.016170674934983253, -0.002489883918315172, 0.0011059424141421914, -0.020658446475863457, 0.0010100188665091991, 0.008467319421470165, 0.01596114970743656, -0.03373764827847481, -0.031688887625932693, 0.01415963564068079, -0.04959059879183769, 0.0015288939466699958, -0.007210043724626303, -0.022910576313734055, -0.003118933644145727, -0.007786658126860857, -0.04537738487124443, -0.03967713192105293, 0.005979422479867935, 0.04017886891961098, 0.04256318882107735, -0.015833521261811256, 0.0039026737213134766, -0.039604552090168, 0.017673170194029808, 0.04149524122476578, -0.02422918938100338, -0.009237147867679596, -0.0028762922156602144, -0.01994328387081623, 0.02264605648815632, 0.032089609652757645, -0.0024467476177960634, -0.01612459123134613, 0.0436626560986042, 0.02388077601790428, 0.0061228154227137566, -0.028018344193696976, 0.05645544081926346, 0.047236066311597824, 0.009385921061038971, -0.023567184805870056, 0.023438790813088417, -0.04187159240245819, -0.011080224998295307, -0.03396894782781601, -0.016269471496343613, 0.07406465709209442, -0.01342516578733921, 0.015853151679039, 0.028783047571778297, 0.04299222305417061, -0.0002629211521707475, 0.011791343800723553, -0.013118766248226166, 0.003221461782231927, 0.025839131325483322, 0.009221838787198067, -0.015303019434213638, 0.02154427021741867, 0.0212420541793108, 0.027898168191313744, -0.01125072780996561, 0.050519783049821854, 0.021053634583950043, -0.03031822480261326, 0.012684550136327744, 0.013957048766314983, -0.015879837796092033, -0.003774189855903387, 0.03178025409579277, 0.030949579551815987, 0.04270213469862938, 0.005493141710758209, -0.023791123181581497, -0.04240552708506584, -0.05017237365245819, 0.0027310731820762157, 0.040666934102773666, 0.008533500134944916, 0.03836078196763992, 0.0025141427759081125, 0.0501972958445549, 0.0449208989739418, -0.023054802790284157, 0.016814999282360077, 0.006724042817950249, 0.06203419715166092, 0.027745818719267845, 0.024817494675517082, -0.004017982631921768, 0.014052504673600197, -0.05735994130373001, -0.03435194119811058, 0.01886657625436783, -0.005562452133744955, 0.022459909319877625, 0.05277393013238907, -0.001374156796373427, 0.025310132652521133, -0.014587382785975933, 0.042289987206459045, 0.03375575691461563, 0.003958055283874273, 0.0079638147726655, 0.031522106379270554, 0.0489521324634552, 0.01049928367137909, 0.030852699652314186, 0.03547525405883789, -0.016762850806117058, 0.007890503853559494, 0.020179424434900284, 0.018711501732468605, 0.010593864135444164, -0.0039507620967924595, -0.0235381331294775, 0.01398488599807024, -0.02629132568836212, -0.019619375467300415, -0.006061001215130091, 0.04345647245645523, -0.003807213855907321, -0.02481525018811226, -0.00671812379732728, -0.046586036682128906, -0.034284431487321854, -0.03205602243542671, -0.01906900852918625, -0.024287879467010498, 0.003365573240444064, -0.030253447592258453, 0.006080856546759605, 0.020287249237298965, -0.01607014797627926, -0.024389857426285744, -0.0315154530107975, 0.015510611236095428, 0.00934333074837923, -0.0017138462280854583, -0.034956835210323334, -0.012754729948937893, -0.007129509933292866, -0.006027997471392155, 0.027218133211135864, -0.012600990012288094, 0.012013399042189121, 0.0038345875218510628, -0.015783723443746567, -0.01654127426445484, 0.012258377857506275, 0.0018823108403012156, 0.0026807389222085476, -0.018068721517920494, 0.04401969537138939, -0.015545380301773548, -0.03247721120715141, -0.02168123610317707, 0.002269103191792965, -0.030384717509150505, -0.016377681866288185, -0.0020023423712700605, 0.037139832973480225, 0.011768516153097153, -0.034689005464315414, -0.03545635938644409, 0.004441963043063879, -0.04772993177175522, 0.0256982259452343, 0.023572158068418503, 0.05693242326378822, -0.04052049294114113, -0.01942683570086956, 0.007830461487174034, 0.021011672914028168, -0.0378023236989975, 0.026020508259534836, 0.01893620751798153, -0.028588859364390373, -0.015245659276843071, 0.019288545474410057, 0.035405006259679794, 0.005528406705707312, 0.02319931611418724, 0.0392167903482914, 0.04316414147615433, 0.025516944006085396, -0.04892411828041077, 0.018853429704904556, -0.008594655431807041, 0.04008369520306587, -0.0669228807091713, -0.06128512695431709, -0.06542057543992996, -0.014341684989631176, -0.01243231724947691, 0.011504643596708775, -0.01807466521859169, -0.05676876753568649, -0.011918218806385994, 0.02781503088772297, -0.0574059821665287, 0.04342029616236687, 0.05907043442130089, 0.0014788791304454207, 0.0495794452726841, 0.008593901991844177, -0.00811709277331829, -0.009617211297154427, 0.029873695224523544, 0.007720558904111385, 0.023338407278060913, 0.033466991037130356, -0.0162994135171175, -0.04961443319916725, 0.02552276849746704, -0.03382352739572525, -0.06120321899652481, 0.0035715268459171057, 0.009905751794576645, 0.011834577657282352, -0.03514125943183899, -0.02706160582602024, 0.02612997218966484, 0.004814131185412407, 0.031176462769508362, -0.008809230290353298, -0.03175002709031105, -0.009562386199831963, 0.02687029354274273, -0.02366756834089756, -0.01667318120598793, 0.019678743556141853, -0.01399936992675066, 0.013718552887439728, 0.008378757163882256, 0.009836426004767418, 0.048768747597932816, -0.028946198523044586, 0.03500362113118172, 0.027370939031243324, -0.04563111811876297, -0.030632471665740013, 0.01318479236215353, -0.0028167949058115482, -0.014250707812607288, -0.013827141374349594, 0.036600835621356964, 0.05007387325167656, -0.011219511739909649, -0.017865052446722984, -0.007707598153501749, 0.014546336606144905, -0.014768275432288647, 0.014982686378061771, -0.02490691840648651, 0.06557139754295349, 0.03224065154790878, -0.007235040422528982, 0.016310932114720345, 0.0075902314856648445 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
2. Running in the browser with Transformers.js
[ 0.03261180594563484, 0.005915830377489328, 0.1310023069381714, -0.010293523781001568, 0.07096055150032043, 0.03089274652302265, 0.04527486488223076, 0.05914168804883957, 0.011362859047949314, -0.06279260665178299, -0.039866622537374496, 0.07547982782125473, -0.04165664315223694, 0.026410873979330063, 0.048201270401477814, 0.05733715370297432, -0.000024015898816287518, -0.0318298414349556, -0.019929133355617523, -0.02121426910161972, -0.015520081855356693, -0.07366780936717987, 0.04191751778125763, -0.0070959581062197685, -0.0007193266064859927, -0.03381757065653801, -0.0006213409942574799, 0.030838681384921074, -0.0910877138376236, 0.0755157545208931, -0.0576256588101387, 0.0025092437863349915, -0.008455729112029076, -0.045592863112688065, -0.052121177315711975, 0.01651114597916603, -0.07857207208871841, 0.004440266638994217, -0.0212471392005682, -0.06185450404882431, -0.026019159704446793, -0.031068308278918266, -0.016647033393383026, 0.023431848734617233, -0.018186843022704124, 0.01537394616752863, -0.29377904534339905, 0.10499180853366852, -0.033940237015485764, -0.00881112925708294, -0.03425244241952896, 0.06671299785375595, 0.01276321616023779, -0.005538329016417265, 0.0045088594779372215, 0.03173390403389931, 0.017997896298766136, -0.04829556494951248, -0.007246275432407856, -0.011824354529380798, 0.0650029331445694, 0.022021278738975525, -0.013402484357357025, 0.022492336109280586, 0.03854060545563698, 0.04662397503852844, -0.026483094319701195, 0.06966644525527954, -0.039151664823293686, -0.037481628358364105, 0.03540000319480896, -0.01812896318733692, -0.009577032178640366, -0.06197322905063629, 0.05181892216205597, -0.008689905516803265, -0.05736970528960228, 0.07206617295742035, 0.04378549009561539, 0.08253129571676254, 0.040836479514837265, 0.009457645937800407, 0.08689247816801071, 0.0841374397277832, 0.05325782299041748, -0.020900560542941093, 0.07522860169410706, -0.017659377306699753, -0.042007509618997574, 0.03335340693593025, 0.011316871270537376, -0.12788130342960358, -0.025208154693245888, 0.05263427644968033, 0.06387512385845184, 0.017511703073978424, 0.022662052884697914, 0.007605901453644037, 0.011143053881824017, 0.00811021588742733, -0.04263453930616379, 0.0054761185310781, 0.0015496534761041403, -0.0487520731985569, -0.012464184314012527, -0.02012006938457489, -0.026609094813466072, -0.07956977188587189, 0.048060256987810135, 0.016983453184366226, -0.01178849395364523, -0.007349356543272734, 0.06961249560117722, -0.001139491912908852, -0.0267658568918705, 0.025721196085214615, 0.014086342416703701, 0.019051315262913704, -0.006494664121419191, 0.04277587682008743, 0.010848168283700943, 0.12308990210294724, 0.03958708047866821, 0.06144119054079056, 0.04096252843737602, 0.020083585754036903, 0.02163047529757023, 0.030279461294412613, -0.06486291438341141, -0.0350334458053112, 0.04781188815832138, -0.03445864096283913, 0.06216257065534592, -0.014026682823896408, -0.021847102791070938, -0.07398410886526108, -0.009092246182262897, -0.011928563937544823, -0.01851556822657585, -0.017501503229141235, -0.004063441883772612, 0.05894488841295242, -0.011561962775886059, 0.05964682251214981, 0.037555087357759476, -0.06474877148866653, -0.08156830817461014, 0.04274154081940651, 0.00770159624516964, 0.02736769989132881, 0.0191034022718668, 0.08801667392253876, -0.03625960648059845, -0.0416245311498642, -0.019875772297382355, 0.07944129407405853, 0.037051018327474594, 0.008649716153740883, -0.09127792716026306, -0.037524592131376266, 0.019440216943621635, 0.0395355187356472, -0.010906560346484184, 0.022052651271224022, 0.016004128381609917, -0.03448246046900749, 0.0024710434954613447, -0.012087061069905758, 0.03296412527561188, -0.05772869661450386, -0.037632767111063004, 0.016160061582922935, 0.04898399859666824, -0.03153810650110245, -0.03876368701457977, 0.046709608286619186, 0.08427143096923828, 0.04747205227613449, 0.04748408868908882, 0.003400817746296525, -0.034477658569812775, 0.06586340069770813, 0.031635720282793045, 0.056910015642642975, 0.0007451597484759986, -0.04130435362458229, 0.04227076843380928, -0.002062684390693903, -0.05223384499549866, 0.033816710114479065, -0.08977727591991425, -0.03482693433761597, 0.08148165047168732, -0.002446061698719859, -0.016014158725738525, -0.04417968541383743, -0.020009489730000496, 0.1179502010345459, 0.03948753699660301, 0.08430663496255875, -0.005855462979525328, 0.013176324777305126, 0.08391644060611725, -0.0355016253888607, -0.040318768471479416, -0.012009978294372559, 0.06115888059139252, -0.04153839126229286, 0.013745298609137535, -0.025752874091267586, -0.019744470715522766, -0.09098320454359055, 0.06100309640169144, -0.055179569870233536, -0.031863752752542496, -0.023326817899942398, -0.0474708117544651, -0.0181773342192173, 0.009835348464548588, -0.02696201018989086, 0.09875337034463882, -0.013925515115261078, -0.046961862593889236, -0.014792927540838718, -0.042870789766311646, 0.09236658364534378, 0.07533346861600876, 0.011288674548268318, 0.08108236640691757, -0.06859143078327179, -0.03403569385409355, 0.018310369923710823, -0.020916499197483063, 0.03769746050238609, -0.005957786925137043, 0.002628730610013008, 0.019236890599131584, -0.021498028188943863, 0.038790926337242126, -0.0035662802401930094, 0.013367424719035625, 0.007311871740967035, -0.017868801951408386, 0.025875642895698547, -0.04352445900440216, -0.0138769606128335, 0.02636149525642395, 0.05277936905622482, 0.013020734302699566, -0.0320112481713295, -0.06416665762662888, 0.04734534025192261, -0.002794855972751975, -0.07134505361318588, 0.0958254337310791, -0.00085182033944875, -0.017792893573641777, -0.0013720481656491756, -0.024883275851607323, 0.02549908123910427, 0.01323625911027193, -0.02237619459629059, 0.01776938885450363, -0.05698153004050255, -0.013232455588877201, -0.019059373065829277, -0.0004826697986572981, -0.003965086303651333, -0.0011336174793541431, 0.01620315946638584, -0.007180504966527224, -0.017412079498171806, 0.028274668380618095, -0.00763257360085845, 0.02162214182317257, 0.018952185288071632, 0.028880199417471886, -0.022661931812763214, -0.0022877706214785576, -0.019610995426774025, -0.02611345797777176, -0.03008498065173626, 0.03880619257688522, 0.004564905539155006, 0.035347830504179, -0.013320938684046268, 0.0074669853784143925, -0.007490823045372963, -0.01870247721672058, 0.024306587874889374, 0.010500537231564522, 0.012385225854814053, 0.0002694347931537777, -0.008707664906978607, 0.0036941044963896275, -0.024277983233332634, 0.0017264137277379632, -0.002632037503644824, -0.031209593638777733, 0.008123325183987617, -0.0008807498961687088, -0.007755658123642206, -0.011341816745698452, 0.011396719142794609, -0.042054302990436554, 0.024394001811742783, 0.010297897271811962, 0.020948797464370728, -0.1460210531949997, -0.047499824315309525, 0.005501593928784132, 0.023223325610160828, -0.010469255037605762, -0.03143879398703575, 0.02447957918047905, -0.041753437370061874, -0.01606380008161068, -0.00038379483157768846, 0.008204103447496891, -0.017058899626135826, 0.005804162472486496, -0.012029390782117844, -0.024337511509656906, -0.042947426438331604, -0.0240953229367733, 0.03643868491053581, 0.040849726647138596, 0.0011280307080596685, -0.022604409605264664, 0.0419338122010231, -0.017264647409319878, -0.016060281544923782, 0.007428888231515884, 0.0473453663289547, 0.04202234745025635, 0.01907537877559662, 0.03399936854839325, -0.039378609508275986, -0.00951602403074503, 0.028048517182469368, -0.0015527218347415328, 0.05128605291247368, -0.011454878374934196, -0.00007391274266410619, 0.01623917929828167, -0.03020014613866806, -0.013056909665465355, 0.019011829048395157, 0.026205843314528465, 0.010260452516376972, 0.018910624086856842, 0.009320764802396297, -0.00133906037081033, -0.029504502192139626, 0.003769582835957408, 0.00892639346420765, 0.04430985078215599, -0.04232334718108177, -0.03552502766251564, -0.015294200740754604, 0.007389673497527838, 0.012025152333080769, -0.0010532652959227562, 0.0022878115996718407, -0.018421720713377, 0.00001217608223669231, 0.06272242218255997, -0.011360453441739082, -0.03426303341984749, 0.007349722553044558, 0.004134080838412046, 0.0023030261509120464, -0.03461478650569916, 0.06989363580942154, -0.008861973881721497, 0.04753642529249191, 0.005575406830757856, 0.0510784313082695, 0.013244818896055222, 0.008957923389971256, -0.006613823119550943, 0.02241390198469162, -0.011555553413927555, 0.022076306864619255, -0.008638511411845684, -0.021069331094622612, 0.05849161371588707, -0.026065032929182053, -0.013774150051176548, -0.03932598978281021, -0.043172113597393036, -0.024053266271948814, -0.007443412207067013, 0.02230588160455227, 0.015931619331240654, -0.008158950135111809, 0.009549889713525772, 0.0048701465129852295, 0.04124034568667412, -0.007463602349162102, 0.013760443776845932, -0.01995764672756195, -0.02228930965065956, 0.02157699130475521, 0.04102957993745804, -0.025096016004681587, -0.01675708405673504, 0.0029361345805227757, 0.013090739957988262, -0.020083105191588402, 0.006306448020040989, 0.03203997388482094, 0.009065765887498856, 0.027790993452072144, -0.020033108070492744, -0.018443673849105835, -0.009119111113250256, 0.026389874517917633, 0.044100310653448105, -0.03464950621128082, -0.013683153316378593, -0.010696133598685265, -0.00882991123944521, 0.02582140453159809, -0.013490949757397175, -0.05388972908258438, -0.05182443559169769, 0.007988709025084972, -0.03483370691537857, 0.03228432685136795, 0.0012234157184138894, -0.008247521705925465, -0.020685065537691116, -0.0006469666841439903, 0.028195150196552277, 0.043381791561841965, 0.012799385003745556, 0.01840168796479702, -0.033984921872615814, -0.03759912773966789, 0.022506019100546837, 0.018806543201208115, 0.07003096491098404, 0.012331918813288212, 0.005894325207918882, 0.024189753457903862, 0.00837754551321268, -0.061244573444128036, 0.010654970072209835, 0.0018523180624470115, 0.011710166931152344, -0.0313405841588974, 0.010548578575253487, -0.018193628638982773, 0.008967974223196507, 0.007635194342583418, -0.024141676723957062, 0.0010378502774983644, 0.030950777232646942, -0.029274597764015198, -0.03872485086321831, 0.02356773428618908, 0.031475797295570374, 0.005510655697435141, -0.007164910901337862, -0.017096135765314102, -0.005391763057559729, 0.05373097211122513, -0.001653745537623763, 0.00029819467454217374, -0.06454522907733917, 0.05200974643230438, -0.0054292622953653336, 0.012610258534550667, 0.003199027618393302, -0.03933528810739517, -0.01981048658490181, 0.0007607184234075248, -0.026139583438634872, 0.0018594792345538735, 0.03570055961608887, -0.024190425872802734, -0.01223373506218195, 0.04674419015645981, 0.004398437682539225, 0.011657940223813057, 0.009515093639492989, 0.008671713061630726, 0.004221179988235235, -0.017402207478880882, 0.021628346294164658, 0.01553074736148119, -0.013382850214838982, -0.020633770152926445, 0.02526237629354, 0.03041818179190159, -0.005052200052887201, 0.027464061975479126, -0.04749704897403717, -0.0357980951666832, -0.025067951530218124, -0.04834499582648277, 0.0029395706951618195, -0.03181660920381546, 0.02330854907631874, -0.010289673693478107, -0.013597068376839161, -0.005977393127977848, 0.04557720199227333, 0.023218024522066116, -0.020392604172229767, 0.006288808770477772, -0.0008269841782748699, 0.008510380983352661, 0.01409668568521738, -0.024775728583335876, 0.0026159698609262705, -0.03366948664188385, 0.012669422663748264, 0.005725879222154617, -0.028051365166902542, -0.0369299091398716, -0.02133750170469284, -0.04324595630168915, -0.022264566272497177, -0.006733548361808062, 0.007362769450992346, 0.04960550740361214, 0.018878096714615822, 0.000499405839946121, -0.015226377174258232, 0.07286100834608078, 0.05950089544057846, -0.017764518037438393, 0.000493664585519582, 0.01223975419998169, -0.011959796771407127, 0.03076881170272827, 0.06454569846391678, 0.017266638576984406, -0.017140183597803116, 0.030666623264551163, 0.022479340434074402, -0.004298646468669176, -0.07263011485338211, 0.012756087817251682, 0.0015045262407511473, -0.002813542727380991, 0.006061591673642397, -0.013586645014584064, -0.01851019635796547, -0.008892565034329891, -0.01713963970541954, 0.04062138497829437, 0.05700305849313736, -0.008578876964747906, 0.007021530531346798, 0.0039920806884765625, 0.013642264530062675, -0.014675996266305447, 0.020128974691033363, -0.02516644261777401, -0.008463219739496708, -0.0027608079835772514, 0.005119550507515669, -0.0021896627731621265, -0.0013749367790296674, -0.013257409445941448, -0.005059975665062666, -0.010031012818217278, 0.027517329901456833, 0.017266860231757164, 0.010093950666487217, 0.014076787047088146, 0.0002399493387201801, -0.026895172894001007, -0.02520677074790001, 0.030325990170240402, -0.02238631807267666, 0.04102957621216774, 0.04206778481602669, -0.0028990041464567184, 0.02726287767291069, -0.051008112728595734, 0.042641445994377136, 0.04059704765677452, 0.017035257071256638, 0.03277260810136795, 0.018628383055329323, 0.01955622062087059, 0.006425112951546907, -0.011621929705142975, -0.011432692408561707, 0.008690307848155499, 0.030954411253333092, -0.008331899531185627, 0.042618948966264725, 0.03210365027189255, 0.006807004101574421, -0.0031062050256878138, -0.01593620516359806, 0.017165834084153175, -0.047694429755210876, 0.008552745915949345, 0.024660155177116394, -0.029359225183725357, -0.006605732720345259, -0.045667603611946106, 0.04574199393391609, -0.006357288453727961, 0.012175103649497032, -0.016073239967226982, 0.0024002192076295614, 0.010581589303910732, 0.057464949786663055, 0.020663615316152573, -0.005631710402667522, 0.0038726727943867445, 0.006679374724626541, 0.06409266591072083, -0.034206878393888474, 0.024354634806513786, -0.01198268961161375, -0.02018970251083374, 0.052634838968515396, -0.01611735112965107, -0.030292391777038574, -0.009363625198602676, 0.028826246038079262, -0.023809559643268585, -0.019064320251345634, -0.0029836869798600674, -0.046480920165777206, -0.050187695771455765, 0.044758763164281845, 0.013119540177285671, -0.047517526894807816, -0.028751742094755173, -0.010807747021317482, 0.019300421699881554, -0.0125918323174119, -0.002538280328735709, -0.0020267453510314226, 0.03164386376738548, 0.01408699993044138, 0.06629699468612671, 0.0006147464737296104, -0.027020465582609177, -0.03314853832125664, -0.008705830201506615, 0.011320131830871105, 0.017626583576202393, 0.0068328906781971455, -0.04277842119336128, -0.018141498789191246, 0.004486744292080402, 0.001495632342994213, 0.04555238038301468, 0.03246941789984703, 0.013310457579791546, -0.059712350368499756, 0.033578548580408096, -0.04724188148975372, -0.005444999784231186, -0.016100743785500526, -0.02007477544248104, 0.02614668570458889, -0.006364821456372738, -0.011125055141746998, 0.020346013829112053, 0.02530961111187935, -0.036993008106946945, -0.05035404488444328, 0.02776016853749752, 0.007238238584250212, -0.012635309249162674, 0.035429347306489944, 0.0020246831700205803, -0.02138005569577217, -0.016732892021536827, 0.006151868030428886, 0.039975546300411224, -0.003745138179510832, 0.009994883090257645, 0.006668813526630402, 0.011564882472157478, -0.028601618483662605, -0.022875279188156128, 0.05140437185764313, 0.014573291875422001, 0.02066793665289879, 0.01863076537847519, 0.020597238093614578, -0.006626587826758623, -0.03248538449406624, 0.008371025323867798, -0.007161617279052734, 0.022095579653978348, -0.03287806361913681, -0.03818574547767639, -0.02957262471318245, -0.04842415452003479, -0.016339614987373352, -0.014033892191946507, -0.05173371359705925, -0.016513420268893242, -0.02676096186041832, -0.003926753532141447, -0.03457162529230118, 0.037618622183799744, 0.03848419710993767, 0.02755720354616642, 0.01589028537273407, -0.005033545196056366, -0.003339783987030387, 0.011339792981743813, -0.0010091052390635014, 0.014706127345561981, 0.031864382326602936, 0.039106909185647964, -0.0344790518283844, -0.05549250915646553, 0.023462442681193352, -0.041304562240839005, -0.0463993176817894, -0.005482035223394632, 0.02410891279578209, -0.019013606011867523, -0.02638130635023117, -0.002065876731649041, 0.03696683421730995, 0.016774948686361313, 0.01410970464348793, -0.0014966406160965562, -0.02571685053408146, 0.013063393533229828, -0.0005227916990406811, -0.03259620442986488, 0.013592276722192764, 0.022516636177897453, 0.03699148818850517, 0.04276740550994873, 0.031845372170209885, -0.013719553127884865, -0.010191618464887142, -0.04178830236196518, 0.02849229797720909, 0.00928244274109602, -0.014286132529377937, -0.03836212679743767, -0.008231272920966148, -0.015075573697686195, -0.04065292701125145, -0.04629266634583473, 0.06474802643060684, -0.01772417314350605, -0.02288607694208622, -0.030455417931079865, 0.0015313408803194761, -0.01666705124080181, 0.005716895684599876, 0.045909490436315536, -0.04280531406402588, 0.033377476036548615, 0.018712572753429413, -0.050683069974184036, -0.024949850514531136, -0.0019345160108059645 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
Converting our model to ONNX Fortunately, the 🤗 Optimum library makes it super simple to convert your finetuned model to ONNX! The easiest (and recommended way) is to: 1. Clone the Transformers.js repository and install the necessary dependencies: bash git clone https://github.com/xenova/transformers.js.git cd transformers.js pip install -r scripts/requirements.txt 2. Run the conversion script (it uses Optimum under the hood): bash python -m scripts.convert --model_id <model_id> where <model_id> is the name of the model you want to convert (e.g. Xenova/quickdraw-mobilevit-small).
[ 0.015585255809128284, 0.009730767458677292, 0.030818220227956772, 0.014445501379668713, 0.09989242255687714, 0.04782268404960632, -0.00385070382617414, 0.05188392847776413, 0.050213541835546494, -0.023130957037210464, -0.027047662064433098, 0.09447143971920013, 0.03893719241023064, -0.03068758361041546, 0.08087851107120514, 0.0061044045723974705, -0.00533433398231864, 0.002808299846947193, -0.041071563959121704, -0.03829287737607956, 0.0279094148427248, -0.1057288870215416, 0.03598356619477272, -0.0017329398542642593, -0.07244157791137695, -0.06569449603557587, 0.004870560020208359, 0.037133581936359406, 0.01667729951441288, 0.0734560415148735, -0.060558710247278214, -0.034437209367752075, -0.037045177072286606, -0.12053842097520828, -0.029448162764310837, 0.05280809476971626, -0.02865408919751644, 0.030564019456505775, -0.011056066490709782, -0.021642286330461502, -0.02544989250600338, 0.01502161379903555, -0.040856052190065384, 0.042284853756427765, 0.05537862330675125, -0.0484333410859108, -0.08146671950817108, 0.0739716961979866, -0.021392792463302612, -0.02216530777513981, -0.012888194993138313, 0.029930144548416138, -0.02113991789519787, 0.008469405584037304, 0.0004414048162288964, 0.008702077902853489, -0.02213379740715027, -0.0191794503480196, -0.07708282023668289, 0.02967381291091442, 0.05701225623488426, 0.03290735185146332, -0.007641131058335304, 0.06222835183143616, -0.02475816197693348, 0.04643777757883072, -0.04921045899391174, 0.04775122553110123, -0.05955125764012337, -0.06447404623031616, 0.006432558409869671, 0.023177320137619972, 0.034029554575681686, -0.007558030541986227, -0.08540914207696915, -0.0981636643409729, -0.004748750943690538, 0.041880447417497635, 0.1177276149392128, 0.08167897909879684, 0.042975787073373795, 0.04162624850869179, 0.07844795286655426, 0.035531871020793915, 0.010632792487740517, 0.010143725201487541, -0.016345959156751633, 0.004730792250484228, -0.056691646575927734, -0.005327756982296705, -0.04184379428625107, -0.07011222839355469, -0.03162478283047676, 0.0536642000079155, 0.025958770886063576, 0.05437850207090378, 0.07230640947818756, 0.022386088967323303, 0.009737223386764526, -0.03070101886987686, 0.05426115170121193, -0.03419079631567001, 0.030005861073732376, -0.05698089301586151, -0.044659510254859924, -0.005624356679618359, -0.01127555686980486, -0.0795956626534462, -0.006387894973158836, -0.057090431451797485, -0.024304727092385292, 0.03985768184065819, 0.018954141065478325, 0.03206575661897659, -0.050725050270557404, 0.021227844059467316, 0.02361048385500908, -0.008409718982875347, 0.02680671215057373, -0.0020127499010413885, -0.015528356656432152, 0.07612098753452301, 0.019779572263360023, -0.04661339148879051, 0.08168580383062363, 0.10273850709199905, 0.030700137838721275, 0.028987247496843338, -0.035236239433288574, -0.027096182107925415, 0.05543239042162895, -0.0036303477827459574, -0.044308099895715714, 0.01983768865466118, -0.002614719793200493, -0.11328867077827454, -0.0024146356154233217, -0.006574135739356279, -0.026942715048789978, -0.020625539124011993, -0.006627446040511131, 0.022525977343320847, -0.004843581933528185, 0.10066280514001846, 0.034595515578985214, -0.007386698853224516, 0.012898672372102737, 0.11950142681598663, -0.011979934759438038, 0.029940126463770866, -0.019080040976405144, 0.04873481020331383, 0.01836702972650528, -0.014624581672251225, -0.018229767680168152, 0.023383280262351036, 0.016807522624731064, -0.004542246926575899, -0.044798921793699265, -0.08150364458560944, -0.02457135170698166, 0.02003927156329155, -0.021683335304260254, 0.05078711360692978, -0.03282638639211655, -0.05719955638051033, 0.038238950073719025, 0.053810328245162964, 0.05410711467266083, -0.0034779312554746866, 0.02656926028430462, -0.054706864058971405, 0.04776227846741676, -0.01563173159956932, -0.010515880770981312, -0.04295565187931061, 0.02458317019045353, -0.0025140338111668825, -0.03949657827615738, -0.06501032412052155, -0.023131368681788445, 0.07895447313785553, 0.023190520703792572, 0.045642949640750885, 0.04804755374789238, -0.04535163566470146, 0.016297368332743645, -0.05553925409913063, -0.01997804082930088, -0.0007532623130828142, -0.038355473428964615, 0.04923944175243378, 0.09535907208919525, -0.03902391716837883, -0.006703247781842947, -0.01272481121122837, -0.07033669203519821, 0.09195651859045029, 0.0435711108148098, 0.024510113522410393, 0.020783066749572754, -0.06099644675850868, 0.06623521447181702, -0.030620919540524483, 0.03527359291911125, 0.04629819467663765, -0.018962938338518143, -0.13785330951213837, 0.051676977425813675, 0.03560280799865723, 0.008148273453116417, -0.13325980305671692, 0.02786179445683956, -0.10483136028051376, -0.02396932616829872, 0.0056321644224226475, -0.09444074332714081, -0.00768123846501112, -0.07222523540258408, -0.0027195599395781755, 0.12007250636816025, 0.040158502757549286, 0.03994043171405792, -0.06630120426416397, -0.022201022133231163, -0.014172699302434921, 0.07675383239984512, -0.010688092559576035, 0.0515664778649807, -0.009095100685954094, -0.004245316609740257, 0.011403178796172142, -0.03728111460804939, 0.030223600566387177, 0.022799117490649223, -0.037045545876026154, 0.013607783243060112, 0.01682141050696373, 0.011805771850049496, 0.03326038643717766, 0.006471129599958658, 0.031369924545288086, -0.026743244379758835, 0.013062095269560814, 0.027993736788630486, 0.06926944851875305, 0.026885852217674255, -0.07882238179445267, 0.04151655733585358, -0.003603848861530423, -0.04065301641821861, -0.005512522533535957, 0.05415574461221695, -0.037841297686100006, 0.02205461636185646, 0.053934864699840546, -0.02289700135588646, 0.021065570414066315, 0.0009473132668063045, 0.024498922750353813, -0.008881133049726486, 0.03226068988442421, 0.05059393122792244, 0.020984504371881485, 0.025414416566491127, -0.05830473080277443, -0.010904910042881966, -0.022637762129306793, -0.002470324281603098, 0.03529663756489754, -0.008889077231287956, -0.042922958731651306, -0.0083933649584651, 0.033494602888822556, 0.04833307862281799, 0.018200254067778587, 0.0030591683462262154, -0.06307057291269302, -0.057882193475961685, -0.02213936485350132, 0.03582591190934181, -0.002792599843814969, 0.0036060840357095003, -0.004635340999811888, 0.058357831090688705, 0.0248617772012949, 0.014800149016082287, -0.008609596639871597, -0.01789834536612034, 0.014020822010934353, -0.017274994403123856, 0.03151172772049904, -0.012426926754415035, 0.030579699203372, -0.022954551503062248, -0.023479333147406578, 0.00567076588049531, 0.03241894021630287, -0.014604201540350914, 0.016750715672969818, -0.02385449782013893, -0.016738642007112503, 0.02407161146402359, -0.037167951464653015, -0.01962216943502426, 0.011718908324837685, 0.03695305809378624, -0.016268227249383926, -0.08642014116048813, 0.0071593159809708595, -0.03748324140906334, 0.04126684367656708, -0.026482749730348587, -0.04768402874469757, 0.010582713410258293, 0.04050827771425247, 0.0013830405659973621, 0.01641998626291752, 0.0355418361723423, 0.0184431541711092, 0.006872681900858879, 0.037004563957452774, 0.029566671699285507, -0.016900431364774704, 0.025933729484677315, -0.012335450388491154, 0.04360824450850487, -0.0016502939397469163, -0.029870623722672462, 0.009723229333758354, -0.03726782649755478, 0.014127995818853378, 0.004083856008946896, 0.015115472488105297, 0.06672225147485733, 0.020599765703082085, -0.023751812055706978, -0.03827761486172676, -0.024770941585302353, -0.017388317734003067, -0.04612433537840843, -0.018681908026337624, -0.032212015241384506, 0.010473284870386124, 0.03247139975428581, -0.013071196153759956, 0.050954610109329224, 0.03134533762931824, -0.03594468906521797, -0.014406981877982616, 0.031003965064883232, -0.022335994988679886, 0.01330010499805212, -0.05619223043322563, 0.015841636806726456, -0.022966092452406883, -0.02280435897409916, 0.0025130463764071465, -0.05095637962222099, 0.030720315873622894, -0.022119488567113876, 0.045202042907476425, -0.02839558757841587, 0.024350697174668312, -0.009078208357095718, 0.014154801145195961, 0.05232807248830795, 0.006877017207443714, -0.0020741515327244997, 0.017671337351202965, -0.0510997399687767, -0.06529935449361801, 0.010154379531741142, 0.048335202038288116, 0.00517227640375495, 0.0027838596142828465, 0.015064750798046589, 0.002305582631379366, -0.020474497228860855, -0.0039891027845442295, 0.012563359923660755, 0.022095773369073868, -0.01318984292447567, -0.0057332939468324184, -0.06594764441251755, -0.02549784444272518, -0.02069782093167305, -0.01942390762269497, 0.01615440472960472, -0.012793339788913727, -0.009787473827600479, -0.010393434204161167, -0.019045762717723846, 0.025563159957528114, 0.0162523090839386, -0.03622880205512047, 0.013569295406341553, -0.014090931974351406, 0.017019689083099365, -0.037113744765520096, 0.026141740381717682, -0.019369086250662804, -0.044183459132909775, 0.024548619985580444, 0.022001424804329872, 0.002256610430777073, -0.0018438382539898157, 0.00775229511782527, 0.0016770913498476148, -0.03255997598171234, -0.009720864705741405, -0.007401160430163145, -0.011057961732149124, 0.017530815675854683, 0.012680337764322758, 0.012543228454887867, 0.01250828243792057, 0.008188567124307156, 0.016236210241913795, -0.041950616985559464, -0.028089961037039757, -0.02629341557621956, 0.01843700185418129, -0.029521668329834938, 0.017596377059817314, 0.0005343743832781911, -0.02075582556426525, 0.027941836044192314, -0.022907311096787453, -0.006274936720728874, -0.0033445858862251043, -0.0387239009141922, 0.042314983904361725, -0.012217501178383827, 0.04881718009710312, 0.06570321321487427, -0.018605466932058334, -0.011441456153988838, 0.0005500053521245718, -0.014469290152192116, 0.036664437502622604, 0.06139592453837395, 0.041241515427827835, -0.03398379310965538, 0.02128567174077034, 0.0043314360082149506, 0.031409021466970444, 0.0033008940517902374, 0.01541600376367569, -0.011246316134929657, 0.02025660313665867, -0.03178530931472778, 0.01674249768257141, 0.00985865667462349, -0.020059889182448387, 0.027790838852524757, 0.025527605786919594, 0.05141115188598633, 0.02195778861641884, -0.02716861665248871, -0.01779593713581562, -0.011737738735973835, 0.018710589036345482, 0.007002000696957111, 0.020098961889743805, 0.009259821847081184, 0.016289332881569862, 0.042319271713495255, -0.0229374747723341, -0.0380694642663002, -0.01934405416250229, 0.04093996435403824, 0.030818577855825424, 0.005244486033916473, 0.000294574536383152, -0.08719663321971893, -0.03423150256276131, 0.03512219339609146, -0.02230670675635338, 0.02735198475420475, -0.014540566131472588, -0.0577501505613327, 0.016865329816937447, 0.049084290862083435, -0.010238245129585266, -0.010910123586654663, -0.03444632515311241, -0.002346920548006892, 0.006144407205283642, 0.00855068489909172, 0.044369302690029144, -0.019962387159466743, -0.05436081811785698, 0.03224136307835579, 0.05470561608672142, 0.02532847784459591, 0.021149687469005585, -0.006222537253051996, 0.041257891803979874, -0.011363872326910496, 0.002506048185750842, -0.04382016509771347, -0.0023468947038054466, -0.010052928701043129, -0.0077078635804355145, 0.015041757375001907, -0.012025774456560612, -0.027977485209703445, 0.057779714465141296, 0.01154253538697958, 0.00205821986310184, -0.031309518963098526, 0.014793714508414268, 0.014714665710926056, -0.004978755954653025, 0.014368141070008278, 0.00890353973954916, -0.04475793614983559, 0.012594581581652164, 0.013644736260175705, -0.02983098104596138, -0.030960381031036377, 0.029905367642641068, -0.039142217487096786, -0.03225500509142876, 0.02182566560804844, -0.022678619250655174, 0.03908591717481613, -0.028552383184432983, 0.013520627282559872, -0.03042043186724186, 0.03200558200478554, -0.0063603902235627174, 0.013173961080610752, 0.009302456863224506, 0.01941964589059353, 0.044059377163648605, -0.009177524596452713, 0.02517395280301571, -0.03975912928581238, -0.006903231609612703, -0.01204671524465084, 0.05458446219563484, -0.0033724880777299404, -0.019803116098046303, 0.002061598002910614, 0.01990431547164917, -0.03713499382138252, 0.004494596738368273, -0.0544312484562397, -0.07214108854532242, -0.00003322676275274716, -0.04547706991434097, 0.02777782827615738, 0.05468619987368584, -0.023251157253980637, 0.017427848652005196, 0.01858728565275669, 0.028733454644680023, 0.008188639767467976, 0.009820748120546341, -0.026441527530550957, -0.008645323105156422, -0.00023288701777346432, 0.005940176080912352, -0.032576534897089005, -0.017579341307282448, -0.0074425009079277515, 0.026414496824145317, 0.01016885694116354, 0.028429774567484856, 0.012594016268849373, 0.01809588633477688, 0.00037222992978058755, -0.004272123798727989, -0.03871387243270874, 0.013451823964715004, 0.008434425108134747, 0.0020335030276328325, 0.040855295956134796, -0.0034039937891066074, 0.03553817793726921, -0.01918318122625351, -0.03656760975718498, 0.04809756949543953, 0.05340074002742767, 0.02495208941400051, 0.04147724434733391, 0.010056527331471443, -0.013878039084374905, 0.017988627776503563, 0.03606586158275604, 0.01496479194611311, -0.007023129612207413, 0.03675141558051109, 0.006332672666758299, 0.03564992919564247, 0.03729205206036568, 0.021164653822779655, -0.011152827180922031, -0.029185835272073746, -0.011114564724266529, -0.04743983969092369, 0.015894491225481033, 0.05487050488591194, 0.005510637536644936, -0.005128384102135897, -0.051870957016944885, 0.03145190328359604, 0.0155711704865098, 0.022547360509634018, -0.071302130818367, 0.011403115466237068, 0.0031376101542264223, 0.02808108553290367, 0.06017668545246124, 0.006393959280103445, 0.03501779958605766, 0.0040176669135689735, 0.05842946097254753, -0.020442267879843712, 0.033472150564193726, -0.02010958455502987, -0.009658758528530598, 0.001108889700844884, -0.005939370486885309, -0.05296796187758446, 0.0362420417368412, 0.0129450224339962, -0.024563781917095184, -0.07017768174409866, -0.007846389897167683, -0.042535118758678436, -0.008515398018062115, -0.017771808430552483, 0.009354757145047188, -0.02331012301146984, -0.012686202302575111, -0.034604694694280624, 0.03655007854104042, -0.03761250153183937, 0.024241527542471886, -0.009851113893091679, 0.03108908422291279, 0.0024998823646456003, 0.01701427437365055, -0.0036382449325174093, -0.023608839139342308, -0.05701605975627899, 0.006798714864999056, -0.01579788699746132, -0.01776418834924698, 0.015658056363463402, 0.009269642643630505, 0.020083099603652954, 0.01510181836783886, -0.022333895787596703, -0.05005836859345436, 0.043277252465486526, -0.021670514717698097, -0.08960484713315964, -0.003072605701163411, 0.001811934169381857, 0.008126780390739441, -0.004901030100882053, -0.007612062618136406, -0.0021538829896599054, -0.0008141636499203742, 0.00821115542203188, 0.011416084133088589, 0.022431645542383194, -0.05165468156337738, -0.025476744398474693, 0.0363999605178833, -0.03382723033428192, -0.01914331130683422, 0.005007834639400244, -0.019618375226855278, 0.03640592098236084, 0.044500939548015594, -0.01872481405735016, 0.04300221800804138, -0.020257145166397095, -0.0027222996577620506, -0.03736470639705658, -0.01721193827688694, -0.0405944287776947, -0.041672077029943466, 0.02035406604409218, -0.004155198577791452, -0.01153174601495266, 0.05751854553818703, 0.06035924330353737, -0.0013006593799218535, -0.00010377643775427714, 0.04108713939785957, -0.011966005899012089, -0.013209495693445206, -0.010499274358153343, -0.02914513275027275, -0.011150809936225414, 0.009820514358580112, -0.016382267698645592, 0.03220316022634506, -0.04728040099143982, -0.03010965697467327, -0.04857838898897171, -0.017276937142014503, -0.025490473955869675, 0.027118345722556114, 0.027188478037714958, 0.027776626870036125, 0.04330474138259888, -0.0009024901664815843, -0.042006175965070724, 0.0005609694635495543, -0.016560165211558342, 0.03660275414586067, -0.016433091834187508, -0.02325921505689621, -0.05117298290133476, -0.012256989255547523, 0.05261965095996857, 0.012724540196359158, -0.032837871462106705, -0.034685637801885605, -0.0010250272462144494, 0.012004953809082508, -0.024785365909337997, 0.02935255505144596, 0.04462107643485069, -0.0037186946719884872, -0.009914718568325043, 0.004607701674103737, -0.03405160829424858, -0.032639432698488235, 0.01986442692577839, -0.010466677136719227, 0.03028772957623005, 0.015352954156696796, -0.05181806534528732, -0.030568726360797882, -0.03223773464560509, -0.023474007844924927, 0.020737968385219574, -0.02137739211320877, 0.026483291760087013, -0.026730841025710106, -0.010858455672860146, 0.03560890257358551, 0.01702963188290596, 0.05643479898571968, 0.0003780561964958906, -0.028922608122229576, 0.011955387890338898, 0.025602471083402634, -0.024989500641822815, -0.016326379030942917, -0.015791820362210274, 0.014311030507087708, 0.02212378941476345, -0.044175900518894196, -0.07921169698238373, 0.00015571583935525268, 0.0036988116335123777, -0.048779748380184174, 0.004038993269205093, 0.0135172288864851 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
Setting up our project Let's start by scaffolding a simple React app using Vite: bash npm create vite@latest doodle-dash -- --template react Next, enter the project directory and install the necessary dependencies: bash cd doodle-dash npm install npm install @xenova/transformers You can then start the development server by running: bash npm run dev
[ 0.06599649786949158, -0.028769947588443756, 0.050173528492450714, 0.013887914828956127, 0.09336110949516296, 0.026306185871362686, 0.017585795372724533, 0.044244591146707535, 0.08618004620075226, -0.0686536580324173, -0.022511333227157593, 0.1084386482834816, -0.007124592550098896, 0.0611443929374218, 0.08497584611177444, -0.02565283142030239, 0.04114099219441414, -0.030446747317910194, -0.008295751176774502, -0.022628504782915115, 0.00909048318862915, -0.005194724537432194, 0.029832905158400536, 0.08080773800611496, -0.008298153057694435, -0.10512325167655945, 0.02655305154621601, 0.04013863578438759, 0.007815239951014519, 0.012697717174887657, -0.061602089554071426, -0.04608042910695076, -0.024490298703312874, -0.08988809585571289, -0.03863443434238434, 0.09784554690122604, 0.023449119180440903, 0.04672151431441307, 0.03959057480096817, -0.09721707552671432, -0.037272632122039795, -0.12412252277135849, -0.03250739723443985, 0.051694270223379135, -0.052662692964076996, -0.006736997980624437, -0.17981356382369995, 0.07985594868659973, -0.07427138090133667, 0.043524663895368576, -0.029445335268974304, 0.019461393356323242, 0.020001964643597603, -0.024230679497122765, -0.017678935080766678, 0.030083904042840004, -0.03496614843606949, -0.049787960946559906, 0.012837378308176994, -0.009382757358253002, 0.06120981648564339, 0.027827268466353416, -0.05130159109830856, 0.05335155129432678, -0.011051255278289318, 0.05495532974600792, -0.009672445245087147, 0.034074198454618454, -0.028014501556754112, -0.03761911392211914, 0.03209461644291878, 0.012643266469240189, 0.01214449480175972, -0.02639981545507908, 0.015071197412908077, -0.028318043798208237, 0.052616555243730545, 0.09150046110153198, 0.05972861871123314, 0.05873355641961098, 0.01786959543824196, 0.02012060396373272, 0.07671959698200226, 0.03987923637032509, -0.037267055362463, 0.0067911455407738686, 0.04880095645785332, -0.03319529816508293, -0.11724560707807541, -0.00913836620748043, 0.018396452069282532, -0.08410677313804626, -0.019453875720500946, 0.011262980289757252, 0.03474544361233711, -0.020552443340420723, 0.026505034416913986, -0.015833165496587753, 0.007787363138049841, 0.04886651411652565, -0.007542144041508436, 0.0231090746819973, -0.039008788764476776, -0.03711570426821709, 0.0165692325681448, -0.036902908235788345, 0.01964387856423855, -0.06542523205280304, -0.031554047018289566, -0.04922789707779884, 0.011033425107598305, -0.0030731125734746456, 0.015686409547924995, 0.04620204493403435, -0.04504323750734329, 0.0823887512087822, 0.008498461917042732, 0.05063334107398987, -0.012570925988256931, -0.010751419700682163, 0.01751936785876751, 0.04902811720967293, -0.01587344892323017, 0.025449112057685852, -0.027610821649432182, 0.07640156149864197, -0.010064476169645786, -0.009250784292817116, -0.04538914933800697, -0.08641784638166428, 0.05162283778190613, -0.006340559106320143, 0.04429394379258156, 0.007516281213611364, -0.0232086144387722, -0.06485840678215027, 0.05832012742757797, 0.012270866893231869, 0.0224846713244915, -0.002015776466578245, 0.021018994972109795, 0.05535903200507164, -0.005992093589156866, 0.12258026003837585, 0.031534262001514435, -0.060884442180395126, -0.024991294369101524, 0.01563419960439205, -0.037172213196754456, 0.03722962364554405, 0.04225596413016319, 0.0022050829138606787, -0.06499973684549332, 0.01198863610625267, 0.01739293895661831, 0.08569251000881195, 0.03830762207508087, 0.03183124214410782, -0.04359738901257515, -0.01427715364843607, 0.04533280432224274, -0.005099958274513483, -0.015256275422871113, 0.03557349741458893, -0.02107369899749756, 0.0004023010842502117, -0.01196750532835722, 0.023589469492435455, 0.0653708428144455, -0.012762725353240967, -0.028709009289741516, -0.004519826266914606, 0.07472427189350128, 0.004481314681470394, 0.07083816826343536, 0.01700001396238804, 0.03917049989104271, 0.03974554315209389, -0.015078340657055378, 0.005138728767633438, -0.010676426813006401, 0.057274796068668365, 0.07399185001850128, 0.09696773439645767, -0.04105379432439804, -0.05929366499185562, 0.012020444497466087, -0.0355561263859272, 0.01386098563671112, 0.03541889041662216, -0.04996909201145172, -0.008721339516341686, 0.0740341991186142, 0.010210157372057438, 0.02314898930490017, -0.0056635187938809395, -0.03724440187215805, 0.05124177783727646, 0.06330811977386475, 0.06899625062942505, -0.016159281134605408, 0.01070734579116106, 0.010382028296589851, -0.01988101378083229, 0.012614822015166283, 0.019073888659477234, 0.05557704344391823, -0.018820393830537796, 0.03838768228888512, 0.0016336427070200443, -0.05703362822532654, -0.0727875605225563, 0.08663413673639297, 0.03040924482047558, -0.008788620121777058, 0.004702885635197163, 0.015178416855633259, -0.026473455131053925, 0.019832853227853775, 0.0077629475854337215, 0.06992068141698837, -0.0674864873290062, -0.054806120693683624, 0.025069868192076683, -0.04820004850625992, 0.036994196474552155, 0.11038471758365631, 0.017260819673538208, 0.10520492494106293, -0.01877269521355629, -0.04566900432109833, 0.01797124557197094, -0.029407324269413948, 0.06330616772174835, 0.0022429507225751877, -0.0031683221459388733, 0.003184534842148423, 0.007907862775027752, 0.016928493976593018, -0.00986448023468256, 0.03943638876080513, 0.00475350022315979, -0.038801781833171844, -0.0004394410061649978, -0.035479847341775894, 0.0070090098306536674, 0.10495743900537491, -0.041337527334690094, -0.010794756934046745, -0.08699989318847656, -0.06785430014133453, -0.03838174045085907, 0.01541883498430252, -0.01446273922920227, 0.09996674209833145, 0.02976091019809246, 0.006360597442835569, 0.03955256938934326, -0.025798708200454712, -0.005891635548323393, -0.039061080664396286, -0.009336226619780064, 0.009313098154962063, -0.022886741906404495, 0.022765066474676132, -0.004655822180211544, 0.015617558732628822, 0.0025311680510640144, 0.011147962883114815, 0.0025107525289058685, -0.02741992101073265, -0.012613021768629551, 0.030127981677651405, 0.002947042929008603, -0.030007116496562958, -0.03002806194126606, -0.03377404436469078, -0.04246066138148308, 0.0005161753506399691, 0.006282568909227848, 0.023806283250451088, -0.00369991734623909, -0.026544807478785515, 0.01704401522874832, 0.0029526560101658106, -0.0008227769867517054, 0.0008943689172156155, -0.017630601301789284, 0.022275950759649277, -0.032686710357666016, 0.0009509444935247302, -0.01680874265730381, -0.038485560566186905, -0.035989318042993546, -0.029878662899136543, -0.035267423838377, 0.02476068027317524, -0.001743547385558486, -0.02949376218020916, 0.018506141379475594, -0.0026677821297198534, 0.02561247907578945, -0.023373721167445183, 0.005129560362547636, -0.03372792527079582, 0.02466575987637043, 0.02440146915614605, -0.005302940029650927, -0.10509039461612701, -0.039611514657735825, 0.0219197329133749, 0.047002341598272324, -0.031211059540510178, -0.05257665365934372, 0.007253604009747505, -0.026502378284931183, -0.007970231585204601, -0.044431909918785095, -0.00101087789516896, 0.008955758064985275, -0.016111865639686584, -0.010296769440174103, 0.002776070963591337, -0.04759744182229042, 0.011414647102355957, -0.004588537849485874, 0.007947653532028198, 0.017209995537996292, -0.0905991643667221, 0.02099871262907982, 0.0008055896614678204, -0.021169578656554222, -0.004972666501998901, 0.007806050591170788, 0.056401900947093964, 0.022816380485892296, -0.0044549074955284595, -0.022096000611782074, -0.005119550973176956, 0.024989988654851913, -0.011715877801179886, 0.06784523278474808, -0.0344613753259182, 0.0353744812309742, 0.03332909196615219, -0.03236020728945732, -0.0086321160197258, 0.004786767065525055, 0.024004071950912476, -0.034679729491472244, 0.016274549067020416, -0.055373478680849075, -0.003351990832015872, -0.029065538197755814, 0.026569388806819916, 0.06724856048822403, 0.011342917568981647, 0.016333164647221565, -0.03293938562273979, -0.005245155654847622, -0.009624473750591278, 0.0038562582340091467, -0.011599332094192505, -0.034019604325294495, 0.0002766138350125402, 0.016870375722646713, 0.055144600570201874, -0.015184059739112854, -0.002411880996078253, 0.002233073813840747, -0.017351754009723663, -0.04753081500530243, -0.0074514420703053474, 0.03801890090107918, 0.03902411833405495, 0.01946820318698883, -0.008633057586848736, -0.0003535783034749329, -0.005881617311388254, 0.025217490270733833, 0.01836891658604145, 0.007873345166444778, 0.00924993958324194, -0.018682528287172318, -0.017923226580023766, -0.020390070974826813, 0.0386112816631794, -0.010910806246101856, 0.022176263853907585, -0.03395681455731392, 0.0061300271190702915, -0.041271574795246124, -0.004514191299676895, 0.0247871745377779, 0.013224143534898758, -0.04779704660177231, 0.0012255035107955337, 0.03462911397218704, 0.039616659283638, -0.02522493340075016, 0.03130987659096718, -0.017341261729598045, -0.03328830376267433, 0.011190738528966904, 0.02538895606994629, -0.005884496960788965, 0.014627915807068348, -0.012768574990332127, 0.0026638151612132788, -0.02638312429189682, 0.03021426871418953, 0.05107658728957176, 0.00753584923222661, -0.00092704949202016, -0.043729864060878754, -0.032968711107969284, 0.01563303917646408, 0.01635071635246277, 0.046114321798086166, -0.025763114914298058, -0.00468102190643549, -0.028342613950371742, -0.008330914191901684, 0.05612589791417122, 0.024699637666344643, -0.025623202323913574, -0.016643287613987923, 0.01940147392451763, -0.009370478801429272, -0.007740207947790623, -0.040031831711530685, 0.01654692366719246, 0.0022919110488146544, -0.0010701474966481328, 0.011788283474743366, 0.03412823751568794, -0.020664995536208153, 0.002187517937272787, -0.022154871374368668, -0.056957896798849106, 0.017577892169356346, -0.011849474161863327, 0.034997910261154175, -0.011083404533565044, 0.008412222377955914, 0.02698221057653427, -0.012296818196773529, -0.03731550648808479, -0.02894054539501667, -0.004605097230523825, 0.02208796702325344, -0.05784232169389725, 0.004385341424494982, -0.007331234402954578, -0.029569678008556366, 0.001247681095264852, 0.008706656284630299, 0.009906159713864326, 0.002785246819257736, 0.03718359395861626, -0.009798546321690083, 0.03732075169682503, 0.041474077850580215, -0.03132321313023567, -0.016924791038036346, -0.023850593715906143, -0.03802350163459778, 0.048365406692028046, -0.05179135128855705, -0.04262342303991318, -0.011907513253390789, 0.03754232078790665, 0.03332442417740822, -0.005734761245548725, 0.013348118402063847, -0.08220477402210236, -0.016777027398347855, 0.0014854703331366181, -0.039340291172266006, 0.03129163756966591, 0.026257367804646492, -0.03799976408481598, -0.0038589173927903175, 0.00367911858484149, 0.003652979154139757, -0.002975561423227191, 0.022321512922644615, -0.011059685610234737, -0.012421383522450924, -0.02046169899404049, -0.00036943377926945686, -0.02092977799475193, -0.04574940353631973, -0.015868375077843666, 0.04103899002075195, -0.00012161609629401937, 0.00897249486297369, 0.0009786583250388503, 0.008371856063604355, -0.02958599291741848, 0.001364731346257031, -0.052784714847803116, 0.021137965843081474, -0.042885638773441315, -0.024095922708511353, 0.01745876669883728, 0.0066256290301680565, -0.03391129896044731, 0.05486193299293518, 0.02407151460647583, -0.0648631602525711, -0.0025782797019928694, 0.04855811223387718, 0.0006683467654511333, -0.013770930469036102, -0.008607729338109493, 0.022162672132253647, 0.01060193870216608, 0.01202364731580019, -0.017592595890164375, -0.020044401288032532, -0.02014591544866562, -0.04298040270805359, -0.06933970004320145, -0.04864363372325897, -0.022830156609416008, 0.01961587928235531, 0.06932925432920456, -0.01734013669192791, 0.011946317739784718, 0.011965549550950527, -0.009198634885251522, 0.026031194254755974, -0.014818702824413776, -0.026087800040841103, 0.02085437811911106, -0.013077963143587112, 0.005974583327770233, 0.04777521640062332, -0.01378866471350193, 0.004555429797619581, -0.022215940058231354, 0.01425675768405199, -0.006759711541235447, -0.06443151831626892, 0.0076746223494410515, -0.026395658031105995, -0.004009721800684929, -0.042051468044519424, -0.03511514514684677, -0.031095612794160843, -0.00565652409568429, -0.031224681064486504, 0.01436325442045927, 0.0725884735584259, 0.013621748425066471, 0.015421648509800434, 0.02417786419391632, -0.02146352455019951, -0.010534499771893024, -0.0005841752863489091, -0.04580792784690857, 0.006541005335748196, 0.01797487773001194, 0.012710525654256344, 0.033531080931425095, -0.04373113438487053, -0.031395044177770615, 0.006950799375772476, -0.008839732967317104, 0.040987320244312286, 0.0032322865445166826, 0.00020160998974461108, 0.01681572012603283, 0.03699594363570213, -0.02172187529504299, -0.01420025434345007, 0.00920517835766077, -0.03532831370830536, 0.005559084936976433, 0.007251492701470852, -0.0019708184991031885, -0.01976913958787918, -0.065190888941288, 0.03683174401521683, 0.029545411467552185, 0.0015363494167104363, 0.0305252093821764, 0.01683245413005352, 0.04293007403612137, 0.006266429089009762, 0.012227144092321396, -0.03621740639209747, -0.020007502287626266, 0.05713590234518051, -0.001646240591071546, 0.03138032928109169, 0.03212796151638031, 0.001960069639608264, -0.009756462648510933, 0.033515509217977524, 0.0023440998047590256, -0.03933341056108475, 0.045466575771570206, -0.01883622631430626, -0.004349702037870884, -0.015379750169813633, -0.01755066029727459, 0.04703714698553085, 0.044971857219934464, 0.0017689602682366967, -0.02792227640748024, -0.0010708930203691125, 0.011753680184483528, -0.0006477275164797902, 0.035296984016895294, 0.022896917536854744, 0.04209913685917854, 0.0013914423761889338, 0.055169858038425446, -0.004589540418237448, 0.004957211669534445, 0.021332066506147385, 0.038410648703575134, 0.02793038822710514, -0.017071835696697235, -0.038276590406894684, -0.054629046469926834, -0.005302689969539642, -0.05494258925318718, -0.01482013426721096, 0.004049195908010006, -0.02559085749089718, 0.005074676126241684, 0.00962183065712452, 0.002012752229347825, 0.02135777473449707, -0.018228963017463684, -0.007513565011322498, -0.01815243624150753, -0.0355573445558548, -0.0036957454867661, -0.026267876848578453, 0.009629365988075733, 0.011569621041417122, 0.015051537193357944, -0.04001757875084877, -0.021466227248311043, -0.021212488412857056, -0.01636027731001377, 0.025154640898108482, -0.006934265606105328, 0.017975909635424614, -0.04721223935484886, -0.0036702740471810102, -0.012762564234435558, -0.003556224051862955, -0.0014768416294828057, 0.0261717326939106, -0.033508144319057465, -0.06390566378831863, 0.0905320793390274, -0.05127797648310661, -0.060843005776405334, -0.022285649552941322, 0.01608559861779213, 0.0750485509634018, -0.032020021229982376, 0.006307434756308794, -0.008214108645915985, 0.01828724332153797, -0.019290218129754066, -0.005978469271212816, 0.03710097447037697, 0.003771162824705243, -0.03769594430923462, 0.02724638767540455, -0.014801316894590855, 0.025298375636339188, 0.00497829494997859, 0.0003848330525215715, 0.01720341108739376, -0.004967221058905125, 0.03109024278819561, 0.015437527559697628, -0.04165837541222572, -0.007861506193876266, -0.04073378071188927, 0.037712495774030685, 0.014793965965509415, -0.014558221213519573, 0.0370662622153759, 0.025284890085458755, 0.007182501256465912, 0.02439861185848713, 0.02702765353024006, -0.019842810928821564, 0.013418521732091904, -0.05745425075292587, -0.06717991828918457, -0.03724176064133644, -0.021855514496564865, 0.017192840576171875, 0.03887197747826576, -0.06824779510498047, 0.010912550613284111, -0.024480175226926804, -0.035266466438770294, -0.020014623180031776, 0.04507744312286377, 0.02204374223947525, 0.04429031163454056, 0.006390228867530823, -0.016169993206858635, -0.009186984039843082, 0.052418772131204605, -0.03969059884548187, 0.004788062535226345, 0.0421685092151165, 0.025639893487095833, -0.03688357025384903, -0.0003180026251357049, 0.03983106464147568, -0.0035567882005125284, -0.015432055108249187, -0.012309234589338303, 0.013939070515334606, -0.022919874638319016, -0.002127992222085595, 0.041334524750709534, 0.020335586741566658, 0.0036652826238423586, -0.017659083008766174, -0.01415474247187376, -0.05721370503306389, 0.054482411593198776, -0.010090972296893597, 0.0034502046182751656, 0.05843989551067352, 0.035065580159425735, 0.00598566560074687, 0.03648572415113449, -0.015807418152689934, -0.038737352937459946, -0.024081485345959663, -0.05940471217036247, -0.0009663442033343017, 0.02641838788986206, -0.05134592577815056, -0.011633850634098053, -0.03761790320277214, 0.06172042340040207, -0.0422617606818676, -0.033611517399549484, 0.014718957245349884, 0.001245108200237155, -0.015661941841244698, -0.02111196517944336, 0.003055452136322856, -0.02242141403257847, 0.04113377630710602, 0.031435105949640274, -0.010878315195441246, 0.052494581788778305, 0.02364015392959118, -0.013001740910112858, 0.004310663789510727, 0.05181415006518364 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
Quick links - Demo: Doodle Dash - Source code: doodle-dash - Join the game jam: Open Source AI Game Jam
[ 0.06415826827287674, -0.03219551965594292, 0.1193443164229393, 0.019107600674033165, 0.0818973258137703, 0.03922777250409126, -0.014288987033069134, 0.03186121955513954, -0.02538670413196087, -0.07294224947690964, -0.0425606444478035, 0.0165216326713562, -0.027714261785149574, 0.07180579006671906, -0.004116359166800976, -0.013370928354561329, -0.008759214542806149, -0.014749172143638134, 0.013717046007514, 0.001865194644778967, -0.02303595282137394, 0.021005066111683846, -0.046345748007297516, 0.002327073598280549, 0.010776114650070667, 0.010385875590145588, 0.039557233452796936, 0.03406018391251564, -0.04823852330446243, -0.0026843431405723095, -0.01796894334256649, -0.0313069224357605, 0.08604627102613449, -0.037595272064208984, -0.017534436658024788, 0.01828707382082939, -0.055295899510383606, 0.055495698004961014, 0.001882086624391377, -0.03770238533616066, -0.016674144193530083, -0.05216356739401817, -0.020785139873623848, 0.05537383630871773, 0.039654362946748734, -0.02625805325806141, -0.22496150434017181, 0.09670566767454147, -0.04932196065783501, -0.01036091148853302, -0.04823844134807587, 0.022358598187565804, -0.009001582860946655, -0.007107040379196405, -0.054318077862262726, -0.00693571288138628, 0.03875184804201126, -0.011814475990831852, 0.000535741331987083, 0.026509376242756844, 0.08003740012645721, -0.02621948905289173, 0.0016386000206694007, 0.017783332616090775, 0.014455407857894897, 0.032528385519981384, 0.011538174003362656, 0.03721772879362106, -0.057896848767995834, -0.024953635409474373, 0.0363227017223835, -0.04410852491855621, -0.05321340635418892, 0.016376463696360588, 0.02204928919672966, -0.06514441221952438, 0.03508855774998665, 0.10561104118824005, 0.06595977395772934, -0.003618939546868205, 0.01870926469564438, -0.019323332235217094, 0.1270064264535904, 0.028401460498571396, -0.0166616253554821, -0.005071596708148718, -0.041311465203762054, -0.03811795264482498, -0.07385388016700745, -0.0029345881193876266, 0.019361332058906555, -0.13328740000724792, -0.00816727988421917, -0.02611156925559044, 0.010169601999223232, -0.016754664480686188, 0.008862249553203583, 0.019583452492952347, -0.0003571693378034979, 0.06415551155805588, -0.04430004954338074, -0.04950716346502304, 0.059245750308036804, 0.0006362051935866475, -0.05818535387516022, 0.03433351218700409, -0.0011680928291752934, -0.0691380575299263, -0.05009029060602188, 0.02549934946000576, 0.0180922020226717, 0.013063466176390648, 0.0698564350605011, -0.0076877661049366, -0.06827832758426666, 0.042152829468250275, -0.026872245594859123, 0.03734753280878067, -0.06342831254005432, 0.04904372617602348, -0.014560357667505741, 0.03254583850502968, 0.029621845111250877, 0.022839175537228584, 0.08649025857448578, 0.10550699383020401, 0.01691199652850628, -0.0063022226095199585, 0.01430719718337059, -0.03787403181195259, 0.02812638320028782, 0.04266595467925072, 0.01287910621613264, -0.03858437016606331, -0.03315750136971474, -0.054920557886362076, -0.029576914384961128, -0.00031348285847343504, 0.04127690941095352, 0.028780760243535042, -0.013581949286162853, 0.040833037346601486, 0.027794579043984413, 0.03737382963299751, 0.04868991672992706, -0.038747724145650864, -0.10324189811944962, 0.025722917169332504, -0.061701614409685135, 0.03024272806942463, -0.005542749539017677, 0.03894985094666481, -0.024703767150640488, -0.0265764519572258, 0.021026942878961563, 0.08012890815734863, -0.0062295435927808285, 0.006312328390777111, -0.03265209496021271, 0.03122158907353878, 0.006378532852977514, 0.013379786163568497, -0.034177836030721664, 0.0318695493042469, -0.034896209836006165, -0.0036158119328320026, 0.055846136063337326, -0.019442234188318253, -0.02041427232325077, -0.011874777264893055, 0.014751690439879894, -0.01193621288985014, 0.0964246541261673, -0.011277022771537304, 0.0533127598464489, 0.019742518663406372, 0.054704517126083374, 0.0404302254319191, 0.038462746888399124, 0.017151249572634697, -0.03757179155945778, 0.002660188125446439, 0.05315350368618965, -0.000521281675901264, 0.020933987572789192, -0.12103763222694397, 0.019244803115725517, -0.002344246255233884, 0.04187767952680588, -0.017785191535949707, -0.015641141682863235, -0.026225529611110687, 0.036627013236284256, 0.00947592407464981, 0.0631474107503891, -0.032084546983242035, -0.08218012750148773, 0.09051401913166046, 0.10954555124044418, 0.08879537135362625, 0.02908342145383358, -0.011198821477591991, -0.026456603780388832, -0.027102872729301453, -0.042093753814697266, 0.0071531981229782104, 0.06513871997594833, -0.02569020353257656, -0.003764121560379863, -0.03567463904619217, -0.03641006350517273, -0.06771288812160492, 0.0897577777504921, -0.008831247687339783, 0.032350294291973114, 0.06573214381933212, -0.023629004135727882, 0.03231764957308769, -0.01575528085231781, -0.04880894348025322, 0.10838942229747772, -0.05415593087673187, -0.06999794393777847, 0.016669975593686104, -0.022641384974122047, 0.09370671212673187, 0.11084635555744171, 0.06760870665311813, 0.04420706257224083, -0.05724325031042099, -0.03406883031129837, 0.033705513924360275, -0.02382804825901985, 0.04495715722441673, 0.03177395462989807, 0.0004717680567409843, 0.12747609615325928, -0.040593501180410385, 0.07782445102930069, -0.038777999579906464, -0.010242327116429806, -0.033165231347084045, -0.01595810428261757, 0.014401795342564583, 0.0042738234624266624, -0.008453059941530228, 0.029813440516591072, -0.01194280106574297, 0.022382251918315887, 0.009900985285639763, -0.025056511163711548, -0.024566693231463432, 0.04611758515238762, -0.04651196673512459, 0.08081614226102829, 0.006584668066352606, -0.0006612075376324356, -0.03265779837965965, 0.0014720563776791096, 0.043075576424598694, 0.03413825109601021, -0.026037484407424927, -0.04383162036538124, -0.04067496582865715, 0.005687019322067499, -0.010521337389945984, -0.021333830431103706, 0.03794824331998825, 0.009997141547501087, 0.012948021292686462, -0.019931569695472717, 0.0021059992723166943, 0.012512330897152424, -0.03303452208638191, -0.03336368128657341, -0.017090903595089912, 0.032296642661094666, -0.021557694301009178, -0.017748359590768814, -0.003759104525670409, 0.02325952984392643, -0.004366949200630188, 0.01828528568148613, 0.04647143930196762, 0.020064502954483032, 0.01826547458767891, -0.006486543454229832, -0.00010406092769699171, -0.011116677895188332, 0.016264168545603752, -0.03202326223254204, 0.05533728376030922, -0.039464209228754044, -0.02645965851843357, 0.016404153779149055, -0.03085809387266636, 0.0351744145154953, 0.024337338283658028, -0.04075644910335541, 0.005581709090620279, 0.050846707075834274, 0.0022539631463587284, -0.01870974525809288, 0.00021148876112420112, -0.036379966884851456, 0.04126160591840744, 0.006019545253366232, 0.002460389630869031, -0.12022200971841812, -0.02400660701096058, -0.014775793999433517, 0.04221109300851822, -0.03213087469339371, -0.020968174561858177, 0.005430534016340971, -0.015600563026964664, 0.00879405066370964, 0.01848217099905014, -0.005443161819130182, -0.00951154250651598, -0.0215316042304039, -0.01158668752759695, 0.00024095599655993283, -0.018062764778733253, -0.00523365056142211, 0.008394075557589531, -0.024880435317754745, 0.020586762577295303, -0.07288475334644318, 0.05892058461904526, 0.010302389040589333, -0.004359512124210596, -0.0031198987271636724, -0.02718469873070717, 0.06317306309938431, -0.027377963066101074, 0.05323876067996025, -0.026048896834254265, 0.007952327840030193, 0.017440572381019592, -0.03344311565160751, 0.017345067113637924, -0.05221281200647354, 0.048632096499204636, -0.023327933624386787, -0.024890491738915443, 0.019525820389389992, 0.022758260369300842, 0.015151738189160824, -0.04867864027619362, 0.05206656828522682, -0.04904136806726456, -0.005337250418961048, -0.00273698172532022, -0.010114869102835655, 0.051359549164772034, 0.047897957265377045, -0.04178496077656746, -0.0034546726383268833, -0.010920699685811996, 0.015930473804473877, 0.03826767951250076, 0.012005781754851341, -0.005713809281587601, -0.012017539702355862, 0.028430387377738953, 0.04269908741116524, -0.033388663083314896, -0.04236757010221481, -0.004582002758979797, -0.015964798629283905, 0.004706668201833963, -0.0354110449552536, 0.026797862723469734, 0.0125827481970191, 0.005123162642121315, -0.028354262933135033, 0.044491421431303024, 0.03266491740942001, -0.00790909118950367, -0.004500817973166704, 0.022051554173231125, -0.017904626205563545, 0.042312175035476685, -0.03843943774700165, 0.003910016268491745, 0.04613710939884186, 0.03033638931810856, -0.01296303141862154, -0.05188358947634697, -0.011664741672575474, -0.04988935962319374, -0.011527454480528831, -0.005310122389346361, 0.0023092860355973244, 0.008451450616121292, 0.023200510069727898, 0.02633618749678135, 0.015799667686223984, -0.027105245739221573, 0.02791874296963215, -0.012538108974695206, 0.00807707104831934, 0.055449601262807846, 0.02285429649055004, -0.012995864264667034, -0.017988387495279312, 0.009517727419734001, 0.020569361746311188, 0.012216052040457726, -0.023017296567559242, 0.0010578966466709971, -0.002026160480454564, 0.009361164644360542, -0.016224823892116547, -0.024323251098394394, 0.027890998870134354, 0.01361207477748394, 0.017123807221651077, -0.026037687435746193, -0.014809956774115562, 0.004236624110490084, -0.019868049770593643, -0.003771343268454075, 0.031221207231283188, -0.04098367318511009, -0.023450611159205437, -0.015376031398773193, -0.015080844983458519, 0.0008221102179959416, 0.013802072033286095, 0.03175133839249611, 0.03817456588149071, 0.009969234466552734, 0.011299516074359417, -0.041211605072021484, -0.005275812931358814, 0.03233514726161957, -0.0007344403420574963, -0.021509608253836632, -0.0001468922127969563, 0.03282460197806358, 0.03304259106516838, 0.0020889167208224535, -0.04301413893699646, 0.03827763721346855, -0.0022207885049283504, -0.08827744424343109, 0.020727943629026413, 0.011640910059213638, 0.05492691695690155, -0.0397292785346508, -0.015184489078819752, 0.0012034099781885743, -0.02466815523803234, 0.019223321229219437, -0.01258236076682806, -0.004104255698621273, 0.03346795216202736, -0.032504186034202576, -0.0054216510616242886, -0.010561670176684856, 0.04292130470275879, -0.01572631485760212, -0.012326963245868683, 0.007402962539345026, -0.04865128919482231, 0.04117269814014435, -0.006374199874699116, -0.006145448889583349, -0.03406815975904465, 0.05245514214038849, -0.0024889882188290358, 0.012224188074469566, 0.03829798474907875, -0.04012826457619667, 0.02708692103624344, -0.003321415977552533, -0.015416597947478294, 0.018214089795947075, 0.018428634852170944, -0.009969556704163551, 0.009052511304616928, 0.014423590153455734, 0.03646393492817879, 0.05505738407373428, -0.012501480989158154, -0.008913993835449219, -0.031662870198488235, -0.011066479608416557, -0.0054697757586836815, -0.025463398545980453, -0.013120188377797604, -0.0037726901937276125, 0.045027729123830795, 0.025867698714137077, 0.016854654997587204, -0.023039279505610466, 0.014741199091076851, 0.013705391436815262, 0.0019228201126679778, -0.03262878581881523, 0.03479529544711113, -0.018989942967891693, -0.04168161749839783, -0.023754151538014412, -0.023261409252882004, -0.028752833604812622, 0.030211418867111206, -0.016032502055168152, -0.04304158315062523, -0.016437135636806488, 0.012295914813876152, -0.010411566123366356, -0.010201431810855865, -0.042080048471689224, 0.030776556581258774, -0.008429496549069881, -0.015417968854308128, -0.04420718178153038, -0.006432573311030865, -0.054082538932561874, 0.02132045477628708, -0.06001405790448189, -0.022087907418608665, -0.03164655715227127, 0.04076436534523964, 0.034831393510103226, -0.003097184468060732, -0.010057647712528706, -0.025836842134594917, 0.03758511319756508, 0.03463323414325714, -0.006612494587898254, 0.012984296306967735, -0.003278103657066822, -0.029589304700493813, 0.011360681615769863, 0.064446359872818, -0.022759882733225822, -0.01622401550412178, 0.04302956163883209, -0.013007241301238537, -0.015915522351861, -0.0482722707092762, 0.04651419818401337, 0.03995491936802864, 0.0015772873302921653, -0.021311361342668533, -0.02874895930290222, -0.03559413552284241, -0.018018124625086784, -0.03343772515654564, 0.006190306507050991, 0.056370627135038376, 0.010427332483232021, -0.001175094861537218, 0.036086734384298325, 0.03523379564285278, -0.003712088568136096, -0.017962221056222916, -0.04380404204130173, 0.009735926985740662, 0.018462780863046646, 0.031030740588903427, 0.026188615709543228, -0.021952828392386436, -0.016128497198224068, 0.0005327470717020333, -0.04413832724094391, 0.01499695423990488, 0.018198270350694656, -0.036693722009658813, 0.018216323107481003, -0.012395321391522884, -0.03507167473435402, -0.0007169655291363597, -0.0021236815955489874, -0.0005186129128560424, 0.03495510295033455, 0.01959730125963688, 0.0043029943481087685, -0.017465613782405853, -0.02829681895673275, 0.033757150173187256, 0.061933550983667374, -0.024421291425824165, 0.04333876073360443, 0.022023312747478485, 0.075629822909832, -0.023034803569316864, 0.005868091713637114, -0.02561982534825802, 0.01868743821978569, 0.06789898127317429, 0.0027071943040937185, 0.06811322271823883, 0.01549786888062954, -0.036772720515728, -0.056869398802518845, 0.013168870471417904, 0.020924903452396393, -0.05537310242652893, 0.02992890030145645, 0.04710273817181587, -0.01842537336051464, 0.02043137140572071, -0.03690527006983757, 0.06330006569623947, 0.024505529552698135, 0.0014362914953380823, -0.022571440786123276, 0.011242613196372986, 0.023938914760947227, 0.012083950452506542, 0.009674967266619205, -0.007433340884745121, -0.01663597673177719, 0.019703121855854988, 0.03427897021174431, -0.010123355314135551, 0.002404161961749196, -0.0027107165660709143, 0.04489435628056526, 0.028610998764634132, -0.03261370584368706, -0.02191186137497425, -0.012773280031979084, -0.0016101694200187922, -0.03217729553580284, -0.04225601255893707, -0.007498051039874554, -0.019565599039196968, -0.06540636718273163, 0.0036775574553757906, -0.018006691709160805, 0.014742216095328331, -0.003203802742063999, 0.011699594557285309, -0.04256173223257065, -0.005163662135601044, 0.017735887318849564, -0.006787302438169718, -0.0312558151781559, 0.02519419603049755, -0.0033375893253833055, -0.021513275802135468, -0.03691500425338745, -0.028595492243766785, 0.00646290322765708, 0.01769101619720459, -0.026637883856892586, -0.019729183986783028, -0.04265524446964264, 0.04451879858970642, -0.003708980977535248, -0.03811630234122276, -0.010110425762832165, 0.04074953868985176, 0.014753749594092369, -0.04630476236343384, 0.06585998833179474, -0.024678900837898254, -0.018133385106921196, -0.016148744150996208, 0.011723232455551624, 0.04113364219665527, -0.023800477385520935, 0.03487139940261841, 0.020745418965816498, 0.027439475059509277, -0.02901322767138481, -0.0022556197363883257, 0.035332612693309784, -0.007084804121404886, -0.01939460262656212, 0.031329959630966187, 0.03728985786437988, 0.0003197675687260926, 0.007306517101824284, 0.023038413375616074, 0.030685046687722206, -0.03412796929478645, -0.0016797897405922413, 0.030584145337343216, -0.00128974171821028, 0.0025203574914485216, -0.00860513560473919, 0.02994021587073803, 0.02284739911556244, 0.023378929123282433, 0.056840524077415466, 0.035148825496435165, 0.002980389166623354, -0.029390761628746986, 0.006511418614536524, -0.00883005652576685, 0.004510059487074614, -0.05449759215116501, -0.06356368958950043, -0.02097298577427864, -0.03903341665863991, 0.015600638464093208, -0.003888159990310669, -0.040842290967702866, -0.006572801619768143, 0.031434811651706696, -0.037766728550195694, -0.05801650136709213, 0.015513773076236248, 0.02797633409500122, -0.017596816644072533, 0.027907757088541985, 0.0008385199471376836, 0.00788029283285141, 0.005477587226778269, -0.030111126601696014, 0.014180907048285007, -0.005439235828816891, -0.0074628544971346855, -0.03241095319390297, -0.0319044403731823, 0.004553342238068581, -0.04999866336584091, -0.01578897051513195, 0.006687590852379799, 0.02429363876581192, -0.05056286230683327, -0.03537436202168465, 0.020756809040904045, -0.030696310102939606, -0.0038824165239930153, 0.006797047331929207, -0.02421744354069233, -0.025567226111888885, -0.01716253161430359, -0.013469647616147995, -0.05546325817704201, 0.021084442734718323, -0.009863883256912231, 0.005963549483567476, -0.021073216572403908, 0.015708690509200096, -0.03774101659655571, -0.008185222744941711, 0.00750889303162694, 0.024062270298600197, 0.0006198763730935752, -0.027121448889374733, -0.029244953766465187, -0.014171752147376537, 0.017268577590584755, -0.025659509003162384, -0.015602106228470802, -0.003259433899074793, 0.055873382836580276, -0.004280878230929375, -0.019406462088227272, 0.023257356137037277, 0.008786781691014767, 0.031346965581178665, 0.037949010729789734, 0.008462468162178993, 0.05213542282581329, -0.018793189898133278, -0.02330520935356617, -0.014014464803040028, 0.05531368777155876 ]
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
1. Training the neural network
[ 0.03602921590209007, -0.04201781004667282, 0.09756044298410416, 0.009509698487818241, 0.12547782063484192, 0.057920217514038086, 0.005967591889202595, 0.051240675151348114, -0.05202438309788704, -0.10109629482030869, -0.036133792251348495, 0.07533136755228043, -0.029805397614836693, 0.023376554250717163, -0.01048861350864172, 0.023746591061353683, 0.07843035459518433, -0.05440923199057579, 0.018521703779697418, 0.04151174798607826, -0.032815128564834595, -0.04393574967980385, 0.0705009177327156, 0.013820703141391277, -0.01255230512470007, -0.05578722059726715, -0.005025244317948818, 0.0007077939808368683, -0.04519980400800705, 0.019485631957650185, -0.0843622013926506, -0.012851549312472343, 0.032432056963443756, -0.010706448927521706, -0.029143719002604485, 0.029224544763565063, -0.10862386226654053, 0.021697990596294403, 0.006777963601052761, -0.04583252966403961, -0.041759416460990906, -0.01552640926092863, -0.06179115176200867, 0.07620148360729218, -0.03687403351068497, -0.008871141821146011, -0.2603188455104828, 0.09047693014144897, -0.004854308441281319, -0.04872226342558861, -0.06547241657972336, 0.05645930767059326, -0.010615827515721321, 0.0018741646781563759, 0.007655071094632149, 0.021731069311499596, 0.04028166085481644, -0.05317397788167, 0.0016224420396611094, -0.051904451102018356, 0.08722851425409317, 0.010432867333292961, -0.012921812012791634, 0.03528887778520584, 0.03722572326660156, 0.021871652454137802, 0.0171708632260561, 0.007963107898831367, -0.06869202107191086, -0.01923277974128723, 0.007836624048650265, -0.06349552422761917, -0.027172865346074104, -0.012842133641242981, 0.012449104338884354, -0.04091120511293411, -0.0074758450500667095, 0.011575407348573208, 0.02980205789208412, 0.06345272809267044, -0.00383293186314404, 0.029743878170847893, 0.07671894878149033, 0.07816007733345032, 0.02432018518447876, -0.02670281007885933, 0.02500801347196102, 0.005029484163969755, 0.0014053583145141602, 0.02159152179956436, -0.020904574543237686, -0.05069398134946823, 0.0051334453746676445, 0.03840690478682518, 0.012047018855810165, -0.03927731513977051, 0.04272402822971344, -0.00237083388492465, 0.03913130983710289, -0.02677997387945652, -0.035682354122400284, -0.025754766538739204, 0.02402159385383129, -0.03802308440208435, -0.039863672107458115, 0.004948759451508522, -0.009513328783214092, -0.08193013072013855, -0.10109313577413559, 0.020996395498514175, -0.07808127254247665, 0.034395668655633926, 0.0471961572766304, 0.006871393881738186, -0.10231030732393265, 0.022512566298246384, 0.002686191350221634, 0.011449962854385376, 0.03928963094949722, 0.02862805873155594, -0.010331640020012856, 0.13419973850250244, 0.04299119487404823, 0.03113117814064026, 0.01024937629699707, 0.007540661375969648, 0.035891104489564896, 0.027955522760748863, -0.06511954218149185, -0.0019631912000477314, 0.0024994737468659878, 0.0008925336296670139, 0.026924921199679375, 0.025679215788841248, 0.002596210455521941, -0.04914155602455139, -0.0268410611897707, -0.004442455247044563, -0.014243552461266518, 0.007451806217432022, -0.018962757661938667, 0.07155413180589676, 0.0252488125115633, 0.03636482357978821, 0.047418948262929916, -0.042330145835876465, -0.031316932290792465, 0.027977464720606804, 0.01887771300971508, 0.011364784091711044, -0.018801143392920494, 0.07977185398340225, -0.05054222419857979, -0.06505134701728821, -0.0055234795436263084, 0.08429989963769913, 0.006359255872666836, -0.004018024075776339, -0.06250060349702835, -0.0076634082943201065, 0.03570353612303734, -0.021583106368780136, -0.026948213577270508, 0.03714604675769806, 0.053529080003499985, -0.05423154681921005, 0.03599713742733002, 0.03379123657941818, -0.009452417492866516, -0.028793128207325935, -0.010295682586729527, -0.002583793830126524, 0.04344660043716431, -0.03501790016889572, -0.05891050025820732, 0.009048260748386383, 0.0003252014284953475, 0.05338154733181, -0.005233170464634895, 0.010250093415379524, -0.02824855037033558, 0.045943982899188995, -0.045508235692977905, 0.020371360704302788, 0.033715005964040756, -0.0653105154633522, 0.033644016832113266, -0.022858362644910812, -0.005164152942597866, 0.048554468899965286, -0.09582635760307312, -0.016584601253271103, 0.08468715846538544, -0.03882446512579918, 0.03093101643025875, -0.11960943788290024, -0.028791923075914383, 0.1399136781692505, 0.017845001071691513, 0.05643491446971893, 0.06026430055499077, 0.00980363879352808, 0.07212653756141663, 0.008322182111442089, -0.018877344205975533, 0.005281513091176748, 0.0496952123939991, -0.05528079345822334, 0.026925357058644295, -0.001732619246467948, -0.041755545884370804, -0.10504917055368423, 0.050284866243600845, -0.09876412898302078, -0.0037601476069539785, 0.020501432940363884, -0.009994382038712502, 0.001502090715803206, -0.004733594600111246, -0.05561747029423714, 0.10737384110689163, -0.013915596529841423, -0.024291351437568665, 0.06081128120422363, -0.027753636240959167, 0.09013930708169937, 0.06325902044773102, 0.025179171934723854, 0.08302044868469238, -0.09361731261014938, -0.026972543448209763, -0.05499207600951195, 0.02040000446140766, 0.10526733100414276, -0.003072979161515832, 0.022810790687799454, 0.03346461430191994, -0.03687061369419098, 0.02820027619600296, -0.044883403927087784, -0.0013584491098299623, 0.01265245582908392, -0.03953837975859642, 0.05168972164392471, -0.05285929888486862, -0.048613667488098145, 0.04712884500622749, 0.024436287581920624, -0.044676076620817184, -0.026416949927806854, -0.07127054035663605, 0.07074661552906036, 0.0029582760762423277, -0.03901215270161629, 0.04121934995055199, -0.03443124145269394, -0.005675365217030048, -0.0295858271420002, -0.006304016802459955, 0.03651978075504303, 0.025417327880859375, 0.0036535989493131638, -0.007174856495112181, -0.038444746285676956, -0.015302534215152264, -0.036692146211862564, 0.008866377174854279, 0.003757280530408025, 0.015552152879536152, 0.043886177241802216, -0.015621685422956944, -0.03434302657842636, 0.04709921032190323, -0.00028197330539114773, -0.007676901761442423, -0.0006247424753382802, 0.04536403715610504, -0.011007975786924362, -0.030587587505578995, -0.036741703748703, -0.012639151886105537, -0.018856890499591827, 0.025984210893511772, 0.019290214404463768, 0.05436167120933533, -0.029828812927007675, -0.006036845967173576, 0.007835784927010536, -0.012934218160808086, 0.04176443815231323, -0.01668582856655121, 0.04224080592393875, -0.013495169579982758, -0.02224050648510456, 0.03777911514043808, -0.0034173319581896067, -0.026365958154201508, 0.009589588269591331, 0.0032969152089208364, -0.013281548395752907, 0.00527983671054244, 0.005690591875463724, -0.017491815611720085, 0.00660275062546134, -0.06073087081313133, 0.03125776723027229, 0.017111165449023247, 0.02425592765212059, -0.14772139489650726, -0.037281960248947144, 0.03037331998348236, 0.03323302045464516, -0.009030603803694248, -0.012788075022399426, 0.03617865592241287, -0.01698436588048935, -0.024646684527397156, -0.016119221225380898, 0.016755657270550728, 0.028837397694587708, 0.009340806864202023, -0.010100915096700191, -0.02111980877816677, -0.016638409346342087, -0.0006042209570296109, 0.0016515933675691485, 0.012815089896321297, 0.009766979143023491, -0.0309380404651165, 0.0573037751019001, -0.014903368428349495, 0.01678646169602871, -0.0322432778775692, 0.06741400808095932, 0.023052290081977844, 0.051356542855501175, 0.010554728098213673, -0.010211058892309666, -0.02675064466893673, 0.011066939681768417, -0.03581295907497406, 0.04028375446796417, -0.010201718658208847, 0.013905607163906097, -0.003704296424984932, -0.008013947866857052, 0.0141297597438097, 0.043368902057409286, 0.016470639035105705, 0.03200642764568329, 0.023002902045845985, 0.00913157407194376, -0.028084319084882736, 0.027741145342588425, 0.006281917914748192, -0.006573365069925785, 0.058729153126478195, -0.0466783381998539, -0.04412195831537247, 0.014337006025016308, -0.005164890084415674, 0.04208583012223244, -0.008105698972940445, 0.01489842776209116, -0.007326262537389994, 0.010359377600252628, 0.05335798114538193, -0.01694425754249096, -0.020402710884809494, 0.012075462378561497, 0.029880018904805183, -0.029944097623229027, -0.03656349703669548, 0.05082780495285988, -0.012857340276241302, 0.035253360867500305, -0.00890443380922079, 0.04383992403745651, 0.013834813609719276, 0.02115272916853428, 0.006071174517273903, 0.020683640614151955, -0.007359885144978762, 0.04445112496614456, -0.017317263409495354, 0.0033841391559690237, 0.08875985443592072, -0.010988287627696991, -0.006087903399020433, -0.021670904010534286, -0.007932051084935665, -0.04697655513882637, 0.0073728966526687145, 0.02733360417187214, -0.0005340119823813438, -0.004688777960836887, 0.008219774812459946, 0.05179386958479881, 0.04452739283442497, -0.000466126948595047, 0.013797911815345287, -0.0053860642947256565, -0.013567814603447914, 0.0326225720345974, 0.05099417641758919, 0.008007646538317204, -0.0040110270492732525, 0.00334235280752182, 0.016919655725359917, -0.01989520527422428, -0.02134181559085846, -0.0039021919947117567, 0.004768444690853357, 0.030584054067730904, -0.002852784702554345, -0.019894752651453018, 0.004252220503985882, 0.006318012252449989, 0.005503400694578886, -0.0388663075864315, 0.00549708679318428, -0.028657715767621994, 0.01842545159161091, 0.00833092350512743, -0.04968341812491417, -0.038258861750364304, -0.027017561718821526, 0.011391384527087212, -0.03333878889679909, 0.03658381476998329, -0.003686133772134781, -0.04877660796046257, 0.018225980922579765, -0.01782137341797352, 0.011934690177440643, 0.02424117736518383, 0.009869989939033985, -0.0020561879500746727, -0.036601580679416656, -0.007929091341793537, 0.020996900275349617, 0.013853686861693859, 0.04145288094878197, -0.01644163578748703, -0.022234873846173286, 0.04049043729901314, 0.009104134514927864, -0.04450247436761856, 0.008635727688670158, 0.017481422051787376, 0.02374940551817417, -0.022641019895672798, 0.033196233212947845, -0.020468683913350105, -0.014969835989177227, -0.019991619512438774, -0.009599335491657257, 0.02091684378683567, 0.038698237389326096, -0.036247286945581436, -0.03731580823659897, 0.00779417809098959, 0.018945293501019478, -0.012011542916297913, 0.027526188641786575, -0.015455218032002449, -0.006677468307316303, 0.05391688272356987, -0.006054196041077375, -0.03715478256344795, -0.05424784868955612, 0.040597688406705856, -0.009857812896370888, -0.020213380455970764, 0.003955597523599863, -0.028089217841625214, -0.005069146864116192, -0.006823909934610128, -0.0022885415237396955, -0.005896652117371559, 0.027373885735869408, -0.024719858542084694, 0.017911462113261223, 0.01259919535368681, 0.010376437567174435, 0.00434616906568408, 0.008820472285151482, 0.037528105080127716, 0.002009941730648279, -0.0044746408239007, 0.02301189862191677, 0.03240879997611046, -0.0006311149918474257, 0.003039771458134055, 0.0515008382499218, 0.0028410637751221657, -0.001045512966811657, 0.03137834742665291, -0.0194396935403347, -0.0170640517026186, 0.023045148700475693, -0.026226306334137917, 0.021797847002744675, 0.022049592807888985, 0.0088270902633667, -0.00830010138452053, -0.028180688619613647, -0.0061637223698198795, 0.0074543701484799385, 0.016859887167811394, -0.0022447321098297834, -0.014027907513082027, 0.02050386555492878, 0.02732156403362751, -0.03133930638432503, 0.0053068785928189754, 0.010978588834404945, -0.017594067379832268, -0.025626208633184433, -0.004446809180080891, -0.054284658282995224, -0.030368249863386154, -0.03100932575762272, -0.022344958037137985, -0.05567023903131485, 0.04118526354432106, 0.006266184151172638, 0.0272198598831892, 0.0007675939705222845, -0.012073857709765434, -0.011801019310951233, 0.02832172065973282, 0.04152940586209297, -0.041233185678720474, 0.00015908452041912824, 0.006735712289810181, -0.007664542179554701, 0.05120222270488739, 0.018830539658665657, -0.01670110784471035, -0.022909265011548996, 0.019879121333360672, 0.02381100133061409, 0.0007008257089182734, -0.03448311239480972, 0.036903999745845795, 0.0009764732676558197, 0.00434048380702734, 0.0016512667061761022, -0.004993085749447346, -0.020227376371622086, 0.005234303418546915, -0.03256543353199959, 0.028913863003253937, 0.07154496759176254, -0.014384865760803223, 0.001648562029004097, 0.0004821241309400648, 0.04467427358031273, -0.03388816863298416, 0.009417930617928505, -0.008190754801034927, -0.005118184257298708, 0.0587007999420166, -0.003348809201270342, -0.009346909821033478, 0.005933510605245829, 0.0031937486492097378, 0.008292512968182564, -0.03909696638584137, 0.026271719485521317, 0.01871134527027607, -0.01594545505940914, 0.004460164811462164, -0.009060438722372055, -0.02387688308954239, 0.021706363186240196, 0.02817748486995697, 0.04186805710196495, -0.002901772502809763, 0.012237109243869781, 0.005860273726284504, 0.011583229526877403, -0.014606817625463009, 0.020049352198839188, 0.055975597351789474, -0.0029432307928800583, 0.014304700307548046, 0.014486348256468773, 0.01716022752225399, 0.016266580671072006, -0.029931100085377693, -0.010219544172286987, 0.007416645530611277, 0.04400978982448578, 0.008525583893060684, 0.03769129887223244, 0.0238996259868145, 0.01112787052989006, -0.00985349714756012, -0.024047188460826874, 0.02069106698036194, -0.029796907678246498, 0.01877477578818798, 0.019717304036021233, -0.02226010523736477, 0.00776219367980957, -0.041048504412174225, 0.03044702485203743, 0.026031065732240677, 0.013530838303267956, 0.0058131031692028046, 0.005780351348221302, 0.03584805130958557, 0.056360796093940735, -0.006139093078672886, 0.01169600896537304, -0.028911685571074486, 0.019970010966062546, 0.032683491706848145, -0.017588524147868156, 0.004201368894428015, -0.01239649299532175, -0.05850978195667267, 0.053325239568948746, -0.015364724211394787, 0.0014946562005206943, 0.0009300571982748806, 0.052384767681360245, -0.024020127952098846, -0.01443889457732439, -0.014863472431898117, -0.03854924440383911, -0.036937639117240906, -0.011780614033341408, 0.013735851272940636, -0.03659952059388161, -0.009050533175468445, -0.0203833170235157, 0.04746901988983154, -0.0000480831804452464, -0.0031450316309928894, -0.015737272799015045, 0.014608505181968212, 0.02166728675365448, 0.042640723288059235, 0.005216454155743122, -0.05253147706389427, -0.02120247483253479, -0.02207724191248417, 0.012478525750339031, 0.007881742902100086, -0.014375134371221066, 0.011630985885858536, -0.008635393343865871, 0.006630223244428635, -0.037591420114040375, 0.020611077547073364, 0.030557412654161453, 0.002820678288117051, -0.008963418193161488, 0.038635700941085815, -0.03935442119836807, -0.01445234939455986, -0.0096917524933815, -0.019512755796313286, 0.0026673453394323587, 0.008653220720589161, 0.002754993736743927, 0.04809078946709633, 0.015016544610261917, -0.01421702466905117, -0.042864494025707245, 0.0065001980401575565, -0.017964443191885948, -0.021947648376226425, 0.01097409799695015, 0.03650974482297897, -0.02302515134215355, -0.018649371340870857, 0.03578069061040878, -0.008898100815713406, -0.02185543067753315, 0.011641126126050949, -0.014172472059726715, -0.03741429001092911, -0.04403010755777359, -0.01324898935854435, 0.07748518139123917, 0.032646406441926956, 0.013194913044571877, 0.03283044323325157, 0.03279145434498787, -0.006878536194562912, -0.04726012796163559, 0.023684369400143623, -0.02366103045642376, 0.03096137009561062, -0.02523341402411461, -0.03863094747066498, -0.0124202324077487, -0.015879802405834198, -0.001051778788678348, 0.015887033194303513, -0.05120570585131645, -0.02783224731683731, -0.011879440397024155, 0.04074660316109657, -0.05768154188990593, 0.0366712249815464, 0.04285788536071777, 0.050832223147153854, -0.0032000469509512186, 0.01454143226146698, -0.02158520370721817, -0.007798516191542149, 0.01027704682201147, 0.004700516816228628, 0.04768845811486244, 0.02380971424281597, -0.008481108583509922, -0.052130039781332016, 0.02686748467385769, -0.022995423525571823, -0.04152197390794754, -0.01257371623069048, 0.02181885950267315, -0.013230135664343834, -0.02082822099328041, -0.007416140753775835, 0.014360248111188412, 0.018783187493681908, 0.022837376222014427, -0.0085448632016778, -0.0260935015976429, 0.0016202015103772283, 0.006812921725213528, -0.05683484300971031, -0.019022637978196144, -0.013674262911081314, 0.009392202831804752, 0.04384726658463478, 0.03165817633271217, -0.006945716682821512, 0.003655614098533988, -0.04362683743238449, 0.014579428359866142, 0.0161619633436203, 0.001311543514020741, -0.014391932636499405, 0.006013841833919287, -0.020807813853025436, -0.013517799787223339, -0.054779134690761566, 0.023003848269581795, 0.028202006593346596, -0.029781728982925415, -0.032795000821352005, -0.033678919076919556, 0.030007537454366684, 0.009176795370876789, 0.025902235880494118, -0.016034971922636032, 0.07670402526855469, 0.044237133115530014, -0.016175122931599617, 0.003546660067513585, 0.018004778772592545 ]
Fine-tuning Stable Diffusion models on Intel CPUs
juliensimon
July 14, 2023
stable-diffusion-finetuning-intel
guide, intel, hardware, partnerships
https://huggingface.co/blog/stable-diffusion-finetuning-intel
# Fine-tuning Stable Diffusion Models on Intel CPUs Diffusion models helped popularize generative AI thanks to their uncanny ability to generate photorealistic images from text prompts. These models have now found their way into enterprise use cases like synthetic data generation or content creation. The Hugging Face hub includes over 5,000 pre-trained text-to-image models. Combining them with the Diffusers library, it's never been easier to start experimenting and building image generation workflows. Like Transformer models, you can fine-tune Diffusion models to help them generate content that matches your business needs. Initially, fine-tuning was only possible on GPU infrastructure, but things are changing! A few months ago, Intel launched the fourth generation of Xeon CPUs, code-named Sapphire Rapids. Sapphire Rapids introduces the Intel Advanced Matrix Extensions (AMX), a new hardware accelerator for deep learning workloads. We've already demonstrated the benefits of AMX in several blog posts: fine-tuning NLP Transformers, inference with NLP Transformers, and inference with Stable Diffusion models. This post will show you how to fine-tune a Stable Diffusion model on an Intel Sapphire Rapids CPU cluster. We will use textual inversion, a technique that only requires a small number of example images. We'll use only five! Let's get started.
[ -0.0241386741399765, 0.004686592612415552, -0.03656068816781044, 0.01540510542690754, 0.026956405490636826, 0.045244038105010986, -0.027214186266064644, 0.04479043185710907, -0.015059025026857853, -0.046083107590675354, -0.039889492094516754, -0.006419632583856583, 0.024892199784517288, -0.0040821293368935585, -0.02303122729063034, -0.07573863118886948, -0.015322079882025719, -0.021118294447660446, -0.046597160398960114, 0.06302554905414581, 0.08267343044281006, -0.05714378505945206, 0.026899514719843864, 0.04049716144800186, -0.05023225396871567, -0.0113981943577528, 0.029571061953902245, -0.05124387890100479, 0.035204172134399414, -0.03000742197036743, -0.07190306484699249, 0.043065786361694336, 0.016293378546833992, 0.004514032043516636, 0.04217355698347092, 0.0032779655884951353, -0.10703898221254349, 0.03997935727238655, 0.031072255223989487, -0.035743486136198044, 0.009222551248967648, 0.033163249492645264, -0.005111084785312414, 0.039004139602184296, 0.04820629581809044, -0.048945456743240356, -0.07593213766813278, 0.01935172639787197, -0.06352480500936508, -0.06036825850605965, -0.04730844497680664, 0.021433938294649124, 0.025156868621706963, -0.006740535609424114, 0.030846521258354187, 0.05027095600962639, 0.011319778859615326, -0.059854038059711456, 0.009527036920189857, 0.03054245188832283, 0.0495973601937294, -0.022752007469534874, -0.01368351373821497, -0.0021536562126129866, 0.023442765697836876, 0.011851025745272636, -0.04652781784534454, -0.04146584868431091, -0.051421843469142914, -0.01720348559319973, 0.03039616346359253, -0.03299957513809204, 0.040110889822244644, -0.04610199108719826, -0.005027336068451405, -0.014199545606970787, -0.005067823454737663, 0.06487224251031876, 0.0018593149725347757, -0.03863579407334328, -0.061913132667541504, 0.051667094230651855, 0.07395089417695999, 0.06708003580570221, -0.029797136783599854, 0.0316452719271183, 0.04670298099517822, 0.02276095561683178, -0.019847363233566284, -0.04096788167953491, 0.0008367350674234331, -0.08499179035425186, -0.008619698695838451, 0.02672419138252735, 0.00004859968612436205, -0.001498881378211081, -0.047744087874889374, 0.020975932478904724, 0.06435158848762512, -0.02278893254697323, -0.012743894942104816, 0.0040621026419103146, 0.009364335797727108, -0.07578077167272568, -0.043261464685201645, 0.016675792634487152, -0.01582159847021103, -0.06604263931512833, -0.014510853216052055, 0.003120697569102049, 0.004987678956240416, 0.00595783581957221, -0.01793603226542473, 0.07123909145593643, -0.1571505218744278, 0.0553121492266655, 0.015163471922278404, -0.020058583468198776, 0.02901618927717209, 0.047617726027965546, 0.05841463804244995, 0.09302232414484024, 0.06491055339574814, 0.028997160494327545, -0.0007040625787340105, 0.08706338703632355, 0.05200345069169998, 0.011535326950252056, -0.016304798424243927, -0.024406543001532555, -0.029970476403832436, -0.045657552778720856, 0.0265162643045187, -0.053421348333358765, 0.06438036262989044, -0.06418559700250626, -0.027399247512221336, -0.07887069135904312, 0.003138179425150156, 0.05189862474799156, 0.02492760680615902, -0.005333931650966406, 0.03675280511379242, -0.06466314196586609, 0.04200482368469238, -0.020748862996697426, 0.006756167858839035, -0.012023215182125568, 0.011735264211893082, 0.004371169954538345, -0.08081739395856857, 0.07447317242622375, -0.060165368020534515, -0.08925212174654007, 0.0569695308804512, 0.03382040560245514, -0.016015516594052315, -0.06410524994134903, 0.02810627780854702, -0.03625291958451271, -0.09026898443698883, -0.06364931166172028, -0.042990636080503464, -0.007296636234968901, -0.023264620453119278, -0.062137018889188766, 0.033206623047590256, 0.05574329197406769, 0.08303888887166977, -0.012650467455387115, 0.012177770026028156, -0.025066161528229713, 0.022373370826244354, -0.03063974902033806, 0.028354717418551445, -0.022761261090636253, -0.008916417136788368, 0.12704908847808838, 0.008091832511126995, -0.06060786545276642, -0.04913406819105148, 0.04071391001343727, -0.004227605182677507, 0.08177127689123154, 0.004354929085820913, -0.049023017287254333, 0.04416172578930855, -0.022470775991678238, 0.01437098253518343, -0.019287245348095894, 0.01135031133890152, 0.07198449969291687, 0.10545098781585693, 0.02620657905936241, -0.01378369890153408, -0.05870065465569496, -0.043764952570199966, 0.03465377166867256, 0.06376394629478455, 0.03772927075624466, 0.05208822339773178, -0.08413441479206085, 0.05785796046257019, -0.08190353959798813, -0.058490995317697525, -0.048876624554395676, -0.01764502003788948, -0.03289058431982994, -0.030995676293969154, 0.06132836639881134, -0.030466299504041672, -0.18725943565368652, -0.0058697061613202095, -0.012045780196785927, 0.028645740821957588, 0.02103384956717491, -0.06028291583061218, -0.04135645180940628, -0.06126495450735092, -0.040216345340013504, 0.12616410851478577, 0.04092459753155708, -0.010054180398583412, -0.01440415345132351, -0.01817159727215767, 0.0836554616689682, 0.09009953588247299, 0.0030834891367703676, 0.04067946970462799, -0.05117167532444, -0.01898529939353466, -0.06750740855932236, -0.047366514801979065, -0.03831750154495239, 0.0620034821331501, -0.029882334172725677, 0.02473759651184082, 0.060933105647563934, 0.054521091282367706, -0.03130428120493889, 0.04336044564843178, -0.002663356950506568, -0.09978906065225601, 0.020373135805130005, 0.08848713338375092, 0.011615503579378128, 0.04477863758802414, 0.0077342865988612175, -0.02487712725996971, -0.011871032416820526, -0.024206187576055527, 0.016405701637268066, -0.016840167343616486, -0.03659641742706299, -0.017677800729870796, 0.038276877254247665, 0.022192131727933884, 0.017203042283654213, -0.03181685879826546, 0.04683542251586914, 0.009142296388745308, 0.005398556124418974, 0.011624699458479881, -0.014005041681230068, 0.01635483279824257, -0.024641960859298706, -0.0020734041463583708, -0.0034177436027675867, 0.021280573680996895, -0.046896740794181824, 0.022512570023536682, -0.0002823669055942446, -0.009982903487980366, 0.011521345004439354, -0.017438609153032303, 0.032008394598960876, 0.013252428732812405, 0.0007458304171450436, -0.027714960277080536, -0.00658066850155592, 0.027349213138222694, 0.008398144505918026, 0.015386917628347874, 0.008498693816363811, 0.02143852598965168, 0.01781616546213627, 0.023806584998965263, -0.018287168815732002, -0.06473258137702942, 0.029721925035119057, 0.0204397551715374, -0.013737339526414871, 0.0047581996768713, -0.008313632570207119, 0.03533528000116348, 0.03268783539533615, -0.03463421016931534, -0.02726389467716217, -0.056200046092271805, 0.03175102919340134, 0.003708984237164259, -0.03991569206118584, 0.0075112562626600266, 0.027104530483484268, -0.015845710411667824, 0.016250144690275192, 0.005836693570017815, -0.0023194493260234594, -0.06805261224508286, -0.009163823910057545, -0.06823235750198364, -0.024088550359010696, 0.0019424662459641695, -0.024000203236937523, 0.007224398665130138, -0.0179939866065979, 0.03870581090450287, 0.05622017756104469, 0.02026800625026226, 0.019806144759058952, 0.021320216357707977, 0.0062644463032484055, -0.0004708065534941852, 0.0039144824258983135, 0.0608673132956028, -0.03741455078125, -0.005308684427291155, 0.028436793014407158, -0.012330093421041965, 0.011811978183686733, 0.024764329195022583, -0.010746561922132969, 0.01472793985158205, 0.009076625108718872, 0.04126749560236931, -0.02182365581393242, -0.026683533564209938, -0.014767305925488472, -0.03642342612147331, -0.003480231622233987, -0.024319758638739586, 0.04051348194479942, -0.014065374620258808, -0.017580615356564522, 0.009371661581099033, 0.004971134476363659, 0.07888483256101608, 0.03214094787836075, -0.003987028729170561, 0.03903857618570328, 0.04541976377367973, -0.007183892652392387, 0.04726256802678108, 0.024302326142787933, 0.016821805387735367, 0.022463802248239517, -0.014995052479207516, -0.03892059996724129, 0.0023552540224045515, 0.0030089556239545345, -0.001015205169096589, 0.0679590031504631, 0.0094959931448102, 0.03695313259959221, 0.008860603906214237, 0.03617735952138901, 0.04630540683865547, 0.004586753435432911, -0.08520909398794174, 0.057478465139865875, -0.0016762358136475086, -0.020656883716583252, -0.0007629129104316235, 0.01658976636826992, -0.017496995627880096, -0.028944196179509163, 0.008034894242882729, 0.011245903559029102, 0.0053346059285104275, 0.011985150165855885, 0.0021424756851047277, 0.008836055174469948, -0.023839183151721954, 0.012523459270596504, -0.023826833814382553, 0.00247007654979825, 0.001974273007363081, 0.03478806093335152, -0.041963521391153336, -0.02260003797709942, 0.0063162087462842464, -0.0789291188120842, 0.03465401008725166, -0.03079417161643505, -0.013171330094337463, -0.01569512113928795, 0.035117361694574356, -0.009663443081080914, 0.009148865006864071, 0.0014302621129900217, -0.005348104052245617, -0.042909834533929825, 0.056761108338832855, -0.01551803108304739, 0.004034492187201977, 0.05620751529932022, 0.027340376749634743, -0.015951097011566162, -0.014936022460460663, -0.052992310374975204, -0.0242793969810009, 0.00039690270205028355, -0.02276460826396942, -0.005849400535225868, 0.010887118056416512, -0.00896488968282938, 0.018354417756199837, 0.02022637240588665, -0.03627858683466911, -0.056231364607810974, 0.007837931625545025, -0.027270827442407608, 0.030188508331775665, 0.005646550562232733, -0.007407758850604296, -0.01819694973528385, -0.03648761659860611, -0.02760111354291439, -0.0006747478619217873, 0.03497706726193428, -0.005908520892262459, -0.025501620024442673, 0.03636296093463898, 0.025330184027552605, 0.009622673504054546, 0.006138534750789404, -0.0015355095965787768, -0.013290119357407093, -0.007148526143282652, -0.031243909150362015, 0.029253724962472916, 0.03712473437190056, -0.0130315525457263, -0.02587965875864029, -0.035442281514406204, 0.016968322917819023, -0.016964374110102654, 0.0016308609629049897, -0.008414487354457378, 0.03539248928427696, 0.033178504556417465, 0.011549865826964378, 0.038252633064985275, 0.004087137058377266, 0.007023584097623825, -0.0013696086825802922, -0.0031569560524076223, 0.048011891543865204, 0.01030203327536583, 0.01292152889072895, -0.024914929643273354, 0.0014579492853954434, 0.03578639030456543, -0.013466525822877884, 0.02936720848083496, -0.03027513064444065, -0.005426972173154354, 0.03997518867254257, 0.021931709721684456, 0.031632475554943085, -0.026916995644569397, 0.0012372654164209962, 0.0075975097715854645, 0.018511192873120308, -0.017748422920703888, -0.026384778320789337, -0.0679929256439209, -0.0385013110935688, 0.01599207893013954, 0.04014857858419418, -0.034237347543239594, 0.01994631439447403, 0.047086071223020554, 0.031747594475746155, 0.04962144419550896, 0.00839779432862997, -0.03628645837306976, 0.009011086076498032, -0.006601911038160324, -0.02941174991428852, 0.019065653905272484, 0.02828330546617508, 0.013422554358839989, 0.020168835297226906, 0.07880790531635284, 0.014995010569691658, 0.03006919100880623, -0.047090400010347366, 0.004669320769608021, -0.010714894160628319, 0.0005795264150947332, 0.026804745197296143, 0.00821297150105238, -0.0010783380130305886, 0.01106962375342846, 0.0046987710520625114, 0.005282304715365171, -0.02268841303884983, 0.020623724907636642, -0.0052573177963495255, 0.011050685308873653, -0.019806822761893272, 0.032117802649736404, 0.020826179534196854, -0.06358114629983902, -0.0024026348255574703, 0.022354647517204285, -0.03741626814007759, 0.0002814046456478536, -0.0011138941626995802, -0.015956761315464973, -0.03403154015541077, 0.006926391273736954, -0.031024068593978882, -0.02347947657108307, -0.006098517216742039, 0.027610719203948975, 0.044882964342832565, -0.001682237721979618, -0.026255019009113312, 0.06351059675216675, -0.006988800596445799, 0.011110702529549599, -0.028351809829473495, 0.020218752324581146, 0.0023684746120125055, -0.035617806017398834, 0.027491595596075058, 0.016165487468242645, 0.0015667530242353678, 0.026931988075375557, 0.022921571508049965, 0.058492280542850494, -0.024265795946121216, 0.01057369913905859, 0.039857786148786545, 0.05580092594027519, 0.016292406246066093, 0.0007524878601543605, -0.005849117878824472, -0.03085228055715561, -0.012709012255072594, -0.049639277160167694, 0.04880967363715172, -0.013337112963199615, 0.010114815086126328, -0.0038448795676231384, 0.021244822070002556, 0.040192630141973495, -0.010831031017005444, -0.0032793355640023947, 0.00581072922796011, 0.02166072092950344, -0.0012163108913227916, 0.029490001499652863, -0.04275761917233467, -0.00019871456606779248, 0.02019018493592739, -0.040070805698633194, -0.02816205471754074, 0.058055635541677475, 0.015125872567296028, 0.002850788878276944, 0.0261700339615345, 0.009470930323004723, -0.030641594901680946, -0.0028486731462180614, 0.02650851011276245, 0.021316219121217728, -0.03797523304820061, -0.04195253923535347, -0.009526446461677551, -0.013175226747989655, 0.016863837838172913, -0.001966615207493305, 0.02101931907236576, -0.024322452023625374, 0.014122836291790009, -0.003957896027714014, 0.05054067447781563, 0.030702680349349976, -0.04863641411066055, -0.031024139374494553, 0.002015771111473441, 0.02773585170507431, -0.008153307251632214, 0.0009084939956665039, 0.05959448218345642, 0.0032108535524457693, -0.020030606538057327, -0.035896699875593185, -0.03450154885649681, -0.016436582431197166, 0.030973002314567566, 0.06057821214199066, 0.019822536036372185, -0.009138284251093864, -0.0035744300112128258, 0.07329019159078598, 0.043695345520973206, 0.06015819311141968, 0.022251155227422714, 0.0005365683464333415, 0.04113086685538292, 0.01018916442990303, -0.04293940216302872, -0.0076506552286446095, -0.00293908454477787, -0.011487920768558979, 0.0009784791618585587, 0.012065840885043144, 0.022887231782078743, 0.0022265620063990355, 0.001224913401529193, 0.005399974528700113, 0.013703816570341587, 0.008122241124510765, -0.005026672501116991, -0.010586585849523544, 0.011183551512658596, -0.027572212740778923, -0.009124324657022953, -0.03452666103839874, 0.02154610864818096, 0.013047643005847931, -0.00006363181455526501, -0.07447018474340439, 0.020283406600356102, -0.018276846036314964, 0.008388515561819077, 0.0006770525360479951, -0.04077461361885071, 0.005529872607439756, -0.02140113338828087, 0.0075463298708200455, 0.04918936267495155, -0.022184647619724274, -0.042235393077135086, -0.008045732975006104, 0.05028091371059418, 0.02718064934015274, 0.016833612695336342, 0.02602020464837551, -0.01138773187994957, 0.038928303867578506, 0.04754611477255821, -0.01987733691930771, -0.01957070827484131, 0.0012479005381464958, 0.015385519713163376, -0.04716387391090393, 0.020580921322107315, 0.025679098442196846, -0.04946249723434448, -0.018531791865825653, -0.06126962602138519, 0.034878961741924286, -0.010128309950232506, 0.030426476150751114, 0.009502681903541088, 0.04032637178897858, -0.0284997820854187, -0.05036582425236702, 0.03503327816724777, -0.036330923438072205, -0.00713368458673358, -0.034417085349559784, -0.016030658036470413, -0.03854142501950264, -0.005318603478372097, -0.019011501222848892, 0.001975914929062128, -0.006139971781522036, 0.023310862481594086, 0.018344590440392494, 0.002214476466178894, -0.012658027932047844, -0.02954547479748726, 0.03832288086414337, 0.02427259460091591, 0.04087347164750099, 0.027332928031682968, 0.032615985721349716, -0.030285043641924858, 0.032795242965221405, 0.025782810524106026, -0.01850626803934574, 0.029290232807397842, -0.011379851959645748, -0.0011953114299103618, -0.01841556839644909, 0.014520276337862015, -0.015208045020699501, 0.028354620561003685, -0.015812234953045845, 0.012049953453242779, -0.05475611239671707, -0.03206552565097809, -0.01812763139605522, -0.0002991055662278086, 0.06995303928852081, 0.05942573770880699, -0.0031662662513554096, -0.027735518291592598, -0.04307511821389198, -0.06765099614858627, -0.06029997020959854, 0.020192401483654976, 0.06354480236768723, -0.040483176708221436, -0.01055978424847126, -0.02664783224463463, -0.010798010043799877, -0.0035052490420639515, -0.053508780896663666, 0.03319907188415527, 0.00965336337685585, 0.009568961337208748, -0.0262396652251482, 0.009964071214199066, 0.050004299730062485, 0.0028075994923710823, 0.030383342877030373, 0.016063813120126724, 0.026898104697465897, -0.003166520968079567, 0.01866026595234871, -0.058640383183956146, 0.009418248198926449, 0.0009477784624323249, -0.009639385156333447, 0.03656552731990814, -0.03676072880625725, 0.0013806665083393455, -0.015096459537744522, 0.002010263269767165, 0.0608380064368248, -0.017617056146264076, -0.026243047788739204, -0.0014049714663997293, -0.0051373569294810295, 0.0628984197974205, -0.008334626443684101, -0.05495617911219597, -0.03706396743655205, -0.013887722045183182, -0.01983547955751419, 0.01899891160428524, -0.011345654726028442, -0.01729719527065754, -0.01672196388244629, 0.019823098555207253, 0.014823894947767258, 0.03809444606304169, 0.04764923080801964, -0.04204409196972847, -0.04889414831995964, -0.03837720677256584 ]
Fine-tuning Stable Diffusion models on Intel CPUs
juliensimon
July 14, 2023
stable-diffusion-finetuning-intel
guide, intel, hardware, partnerships
https://huggingface.co/blog/stable-diffusion-finetuning-intel
Setting up the cluster Our friends at Intel provided four servers hosted on the Intel Developer Cloud (IDC), a service platform for developing and running workloads in Intel®-optimized deployment environments with the latest Intel processors and performance-optimized software stacks. Each server is powered by two Intel Sapphire Rapids CPUs with 56 physical cores and 112 threads. Here's the output of lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 52 bits physical, 57 bits virtual Byte Order: Little Endian CPU(s): 224 On-line CPU(s) list: 0-223 Vendor ID: GenuineIntel Model name: Intel(R) Xeon(R) Platinum 8480+ CPU family: 6 Model: 143 Thread(s) per core: 2 Core(s) per socket: 56 Socket(s): 2 Stepping: 8 CPU max MHz: 3800.0000 CPU min MHz: 800.0000 BogoMIPS: 4000.00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_per fmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 invpcid_single intel_ppin cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities Let's first list the IP addresses of our servers in nodefile. The first line refers to the primary server. cat << EOF > nodefile 192.168.20.2 192.168.21.2 192.168.22.2 192.168.23.2 EOF Distributed training requires password-less ssh between the primary and other nodes. Here's a good article on how to do this if you're unfamiliar with the process. Next, we create a new environment on each node and install the software dependencies. We notably install two Intel libraries: oneCCL, to manage distributed communication and the Intel Extension for PyTorch (IPEX) to leverage the hardware acceleration features present in Sapphire Rapids. We also add gperftools to install libtcmalloc, a high-performance memory allocation library. conda create -n diffuser python==3.9 conda activate diffuser pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu pip3 install transformers accelerate==0.19.0 pip3 install oneccl_bind_pt -f https://developer.intel.com/ipex-whl-stable-cpu pip3 install intel_extension_for_pytorch conda install gperftools -c conda-forge -y Next, we clone the diffusers repository on each node and install it from source. git clone https://github.com/huggingface/diffusers.git cd diffusers pip install . Next, we add IPEX to the fine-tuning script in diffusers/examples/textual_inversion. We import IPEX and optimize the U-Net and Variable Auto Encoder models. Please make sure this is applied to all nodes. diff --git a/examples/textual_inversion/textual_inversion.py b/examples/textual_inversion/textual_inversion.py index 4a193abc..91c2edd1 100644 --- a/examples/textual_inversion/textual_inversion.py +++ b/examples/textual_inversion/textual_inversion.py @@ -765,6 +765,10 @@ def main(): unet.to(accelerator.device, dtype=weight_dtype) vae.to(accelerator.device, dtype=weight_dtype) + import intel_extension_for_pytorch as ipex + unet = ipex.optimize(unet, dtype=weight_dtype) + vae = ipex.optimize(vae, dtype=weight_dtype) + # We need to recalculate our total training steps as the size of the training dataloader may have changed. num_update_steps_per_epoch = math.ceil(len(train_dataloader) / args.gradient_accumulation_steps) if overrode_max_train_steps: The last step is downloading the training images. Ideally, we'd use a shared NFS folder, but for the sake of simplicity, we'll download the images on each node. Please ensure they're in the same directory on all nodes (/home/devcloud/dicoo). mkdir /home/devcloud/dicoo cd /home/devcloud/dicoo wget https://huggingface.co/sd-concepts-library/dicoo/resolve/main/concept_images/0.jpeg wget https://huggingface.co/sd-concepts-library/dicoo/resolve/main/concept_images/1.jpeg wget https://huggingface.co/sd-concepts-library/dicoo/resolve/main/concept_images/2.jpeg wget https://huggingface.co/sd-concepts-library/dicoo/resolve/main/concept_images/3.jpeg wget https://huggingface.co/sd-concepts-library/dicoo/resolve/main/concept_images/4.jpeg Here are the images: The system setup is now complete. Let's configure the training job.
[ 0.04554946720600128, 0.0992419421672821, 0.014462798833847046, 0.0807771310210228, 0.021620983257889748, 0.05167623981833458, -0.04361308738589287, 0.066209577023983, -0.015113187953829765, -0.061312299221754074, -0.0441809743642807, 0.008626814931631088, 0.0315854586660862, 0.014167689718306065, 0.003999932203441858, 0.014306716620922089, 0.047498397529125214, -0.04517940431833267, 0.04477236792445183, -0.014432947151362896, 0.01628924161195755, 0.006874457933008671, -0.002543168840929866, 0.08869229257106781, -0.02635091543197632, -0.005769405048340559, -0.02336239255964756, -0.01407370250672102, -0.07265573740005493, -0.019124552607536316, -0.04544977843761444, 0.0384943000972271, 0.034277088940143585, 0.0009762171539478004, -0.03574610874056816, 0.02712208777666092, -0.04944504797458649, 0.05473824590444565, 0.0016439309110864997, -0.05570341274142265, -0.001112052472308278, -0.11635860055685043, 0.022983288392424583, 0.0695917159318924, -0.03362831845879555, 0.0410955548286438, -0.12109161168336868, 0.045505303889513016, 0.004818161949515343, -0.0282904002815485, -0.02606460079550743, -0.00522000715136528, -0.007570506073534489, 0.015996061265468597, 0.0636395514011383, 0.013690316118299961, 0.010714382864534855, 0.054591260850429535, 0.02877887152135372, 0.02393268793821335, 0.09059661626815796, -0.048106350004673004, 0.03444627672433853, -0.059179749339818954, -0.0015164786018431187, -0.004950794856995344, 0.004838022403419018, -0.02634967491030693, -0.030506817623972893, 0.026854079216718674, 0.022768955677747726, 0.009923041798174381, 0.01711753010749817, -0.012399408966302872, -0.013477605767548084, -0.06750601530075073, -0.012448769062757492, 0.06691543757915497, 0.0677231103181839, 0.07902201265096664, -0.05847533047199249, 0.03852766007184982, 0.00920379813760519, 0.05142652615904808, 0.0068041360937058926, -0.05477635934948921, 0.029917417094111443, -0.01333950087428093, 0.005499242339283228, 0.015365062281489372, 0.028080323711037636, -0.027408147230744362, 0.031304243952035904, 0.033416856080293655, -0.03997395932674408, -0.08588536828756332, 0.011592329479753971, 0.02263917401432991, 0.0652003288269043, 0.05661863088607788, 0.03697581961750984, 0.0400410033762455, -0.021018126979470253, -0.01107069756835699, -0.037199992686510086, -0.0025591100566089153, 0.019816450774669647, -0.06467106938362122, -0.032556015998125076, 0.0407913401722908, -0.03251998871564865, 0.005899576935917139, -0.03920966014266014, 0.05182819813489914, -0.10226873308420181, 0.08059674501419067, 0.03844013437628746, -0.05313147231936455, 0.025209682062268257, -0.055599141865968704, 0.05950501561164856, 0.10702516883611679, -0.05023552104830742, 0.040590476244688034, -0.04173510521650314, -0.001760203274898231, -0.021036332473158836, 0.007771370466798544, -0.01862466335296631, -0.08902892470359802, 0.021523352712392807, -0.024931350722908974, 0.08134447783231735, -0.038194574415683746, 0.0067876423709094524, -0.04314844682812691, 0.00940768513828516, 0.0020698977168649435, 0.032679345458745956, 0.05137248709797859, -0.10193175822496414, 0.031440332531929016, 0.0008271064143627882, 0.046979837119579315, 0.06179261580109596, 0.006183373276144266, -0.0598742701113224, -0.05621203035116196, 0.04304412752389908, 0.016038808971643448, -0.032098282128572464, -0.004343422595411539, -0.045413609594106674, -0.06833706796169281, 0.03609124943614006, 0.06701896339654922, 0.041333090513944626, -0.0590406209230423, -0.06880737841129303, -0.04010363295674324, -0.0345098115503788, 0.008710774593055248, -0.037124693393707275, 0.018041029572486877, -0.011971188709139824, -0.01181795634329319, 0.0065808482468128204, -0.05857842043042183, 0.07280409336090088, -0.013275900855660439, -0.0596294105052948, -0.005949371960014105, 0.05484948679804802, 0.07306982576847076, 0.04066469147801399, 0.0062696244567632675, 0.08727152645587921, 0.08060100674629211, 0.003860623110085726, -0.06802930682897568, -0.042100898921489716, -0.004604082088917494, -0.051522571593523026, 0.09675565361976624, -0.031042566522955894, -0.04854857549071312, 0.04988521710038185, -0.020769909024238586, -0.04821985587477684, 0.008367420174181461, -0.007479607127606869, -0.037400346249341965, 0.033030916005373, -0.0011545135639607906, -0.011130095459520817, -0.04937399923801422, -0.01899574138224125, 0.04501590132713318, 0.03321446105837822, 0.09867816418409348, 0.07524514943361282, 0.014534852467477322, 0.06433252990245819, 0.01617518439888954, -0.09823913127183914, 0.07821352779865265, -0.00893131922930479, -0.049113351851701736, -0.013201810419559479, -0.018026070669293404, -0.057593438774347305, -0.10366249084472656, -0.02748185396194458, 0.006452914327383041, 0.006223828997462988, -0.009688111953437328, -0.015978597104549408, -0.002612199867144227, 0.026704702526330948, -0.024833424016833305, 0.08862590789794922, -0.007347269915044308, -0.000928035588003695, 0.024620918557047844, -0.05486387014389038, 0.049458425492048264, 0.09512697905302048, 0.018796833232045174, 0.1181894913315773, -0.024356534704566002, -0.05623779445886612, -0.03362104669213295, -0.034596968442201614, 0.04174192249774933, 0.11122202128171921, 0.09169375896453857, -0.029593104496598244, 0.0414494052529335, 0.05909840017557144, -0.0894172266125679, -0.03510760888457298, -0.04000191017985344, -0.017002562060952187, -0.04420790821313858, 0.01731666550040245, -0.023210635408759117, 0.10782360285520554, -0.03044247254729271, -0.009280272759497166, -0.066855289041996, -0.009584391489624977, -0.022045772522687912, -0.003295289818197489, -0.016005026176571846, 0.10307016223669052, -0.04239552468061447, 0.025738174095749855, 0.0031026112847030163, -0.03975402191281319, 0.005759013816714287, 0.044839080423116684, 0.0028065054211765528, 0.020314330235123634, -0.05551395192742348, 0.03661695867776871, -0.00278016971424222, 0.006645676214247942, -0.038432084023952484, 0.02685191109776497, -0.006025981158018112, 0.0030074736569076777, 0.000037925557990092784, 0.042059872299432755, -0.0057478491216897964, -0.04457565397024155, 0.027270372956991196, -0.007361531723290682, -0.00911964476108551, -0.03073233924806118, -0.015043549239635468, 0.07264509797096252, -0.04685142636299133, 0.016534434631466866, 0.012348615564405918, -0.03163729980587959, -0.005704476963728666, 0.02136547490954399, -0.025031184777617455, -0.03690660372376442, -0.043032124638557434, 0.008896912448108196, 0.009729514829814434, -0.012699897401034832, -0.008690913207828999, -0.01086401380598545, -0.00817461870610714, -0.017029045149683952, 0.00151005107909441, -0.06852987408638, 0.0023581874556839466, -0.0028164489194750786, -0.00014081760309636593, -0.03829318657517433, -0.0012697568163275719, -0.04446057602763176, -0.014719820581376553, 0.003985712770372629, 0.02869863621890545, -0.107649065554142, -0.007984916679561138, 0.019186681136488914, 0.021491724997758865, -0.006212171632796526, -0.03649003058671951, 0.06473779678344727, -0.0008502498385496438, -0.0040230718441307545, -0.0008449296583421528, 0.018072346225380898, -0.014263499528169632, 0.0033496192190796137, -0.006590064615011215, -0.0016565240221098065, 0.026614822447299957, 0.01795605570077896, 0.0029882274102419615, 0.01946442946791649, -0.011932679452002048, -0.03974631801247597, 0.012295815162360668, 0.003239173674955964, -0.018783489242196083, -0.0018218689365312457, 0.04799594357609749, -0.012559270486235619, 0.04261595755815506, -0.022823410108685493, -0.017153149470686913, -0.075011245906353, 0.013688148930668831, -0.021758386865258217, -0.008194821886718273, -0.004549755249172449, -0.026632964611053467, -0.007717984728515148, -0.01722407341003418, 0.008504198864102364, 0.029100019484758377, -0.019878778606653214, -0.008829615078866482, 0.05880124121904373, -0.029870877042412758, 0.028759175911545753, 0.024319706484675407, 0.050338950008153915, -0.01414530910551548, 0.05282912030816078, 0.0005208394140936434, -0.03918718546628952, 0.006088194437325001, 0.014173738658428192, 0.05363071709871292, -0.042536962777376175, -0.02285579778254032, -0.051533881574869156, 0.0563710518181324, 0.059207379817962646, 0.017675235867500305, -0.047087766230106354, 0.009218803606927395, 0.05330502241849899, -0.0032238864805549383, -0.011511260643601418, 0.029556196182966232, -0.0029739197343587875, 0.011512793600559235, -0.03519491106271744, 0.013644184917211533, -0.03868629038333893, 0.042862918227910995, 0.014015477150678635, 0.0033077681437134743, -0.01585770770907402, 0.04458587244153023, -0.02045316807925701, -0.011956404894590378, 0.011951296590268612, 0.044721003621816635, 0.01816548779606819, 0.020970122888684273, 0.003082317765802145, -0.04664159566164017, 0.028503555804491043, 0.010595107451081276, 0.012427803128957748, 0.0029512455221265554, 0.020199622958898544, 0.017088791355490685, 0.0016281463904306293, -0.031160563230514526, 0.012120523490011692, -0.011083560064435005, 0.04303276538848877, -0.026602929458022118, 0.030552569776773453, -0.009503582492470741, 0.017214849591255188, -0.01366510335355997, 0.015442132949829102, -0.02099800668656826, -0.002995213493704796, 0.025053957477211952, 0.0010745199397206306, -0.0009960122406482697, -0.010662986896932125, -0.04080161079764366, -0.00259793340228498, 0.029921606183052063, 0.02318221889436245, -0.010450761765241623, 0.0017956113442778587, -0.05352197587490082, 0.04362247511744499, 0.03636833652853966, -0.04854560270905495, -0.023212525993585587, 0.0008101010462269187, 0.015734322369098663, -0.025146977975964546, 0.022398367524147034, -0.0013511814177036285, 0.01384188886731863, -0.01197464857250452, 0.014156926423311234, -0.0019291425123810768, 0.019539982080459595, -0.010531952604651451, 0.006454803980886936, 0.0032640655990689993, -0.013149522244930267, 0.07079765945672989, -0.02236122265458107, -0.009730967693030834, 0.0020388925913721323, -0.005918891169130802, 0.021146778017282486, 0.03840220719575882, -0.003256177296862006, 0.011526159010827541, 0.06373455375432968, 0.012101049534976482, 0.004585500806570053, 0.018494468182325363, 0.028901804238557816, -0.0063669998198747635, -0.013743299059569836, 0.013806978240609169, 0.022137733176350594, -0.008473347872495651, -0.006875792983919382, 0.008886868134140968, 0.02403911016881466, 0.014691168442368507, 0.007926379330456257, 0.04260775446891785, -0.021511809900403023, 0.017494594678282738, 0.037332914769649506, -0.03564360365271568, -0.009321918711066246, -0.004579288884997368, -0.00009448681521462277, 0.04832308739423752, 0.016781680285930634, 0.02032298780977726, -0.014254556968808174, -0.043199632316827774, -0.015816722065210342, -0.05827118828892708, 0.021383589133620262, 0.01672281324863434, -0.00752042792737484, 0.07272499054670334, 0.020577453076839447, 0.0029070719610899687, 0.034170135855674744, 0.04468798637390137, 0.02120336703956127, -0.008902955800294876, 0.00856421422213316, -0.06224453076720238, -0.011389492079615593, -0.030494416132569313, 0.010167015716433525, 0.05326937139034271, -0.009403176605701447, 0.014461750164628029, 0.020455315709114075, 0.009970313869416714, -0.044485509395599365, 0.049584824591875076, -0.015936778858304024, 0.036359433084726334, -0.029258806258440018, 0.01140692736953497, 0.02233094722032547, -0.016976870596408844, -0.026831379160284996, -0.017216235399246216, -0.016700565814971924, -0.00474927993491292, 0.049525968730449677, 0.05706995725631714, 0.0455537810921669, 0.05732933059334755, -0.02429957501590252, -0.005029895808547735, -0.001751079922541976, 0.01657246984541416, 0.006895195692777634, -0.0451187826693058, 0.008832507766783237, 0.012684903107583523, -0.04455352574586868, -0.049423541873693466, -0.006810641381889582, 0.025923173874616623, 0.010863670147955418, -0.02329546958208084, -0.01763661578297615, 0.026006465777754784, 0.009606428444385529, -0.022589629516005516, 0.007521523628383875, -0.032511115074157715, -0.011950071901082993, -0.02688380889594555, 0.00005287226667860523, 0.03950124233961105, -0.0032300851307809353, -0.007164462003856897, -0.00590856745839119, 0.02635551430284977, 0.005965548567473888, 0.018436575308442116, -0.02302584983408451, 0.013044782914221287, 0.01989278756082058, -0.05430852621793747, -0.050905223935842514, 0.055469710379838943, -0.029893623664975166, -0.05608506500720978, -0.04355518892407417, 0.03291690722107887, 0.02269531972706318, 0.015762820839881897, 0.0160857941955328, -0.01000258419662714, -0.006299762986600399, 0.02854997292160988, -0.06035488843917847, 0.01811814121901989, 0.007673441432416439, -0.027707021683454514, 0.0008793905726633966, -0.03568298742175102, -0.02640911005437374, -0.010332990437746048, -0.05076159909367561, 0.06370081007480621, -0.005637126509100199, 0.0014703435590490699, 0.056434258818626404, -0.022848505526781082, -0.017023641616106033, 0.02681325189769268, 0.0044140685349702835, 0.010794312693178654, -0.005704973358660936, 0.02654111757874489, -0.0284190084785223, -0.000296865327982232, -0.0392582081258297, 0.023139214143157005, 0.06360361725091934, -0.0615188293159008, 0.02194391004741192, -0.026636620983481407, 0.01484901737421751, -0.008626931346952915, -0.006217425689101219, -0.023769374936819077, -0.0036713324952870607, 0.007011302746832371, -0.01613132655620575, 0.011816650629043579, 0.023674920201301575, 0.01592203788459301, -0.00984725821763277, 0.009715667925775051, 0.00008386652189074084, -0.027886394411325455, -0.013289809226989746, -0.006144375074654818, -0.055900368839502335, 0.018553003668785095, -0.004124668892472982, 0.06026224419474602, 0.038193728774785995, -0.014645867049694061, -0.004516039974987507, 0.002088160952553153, 0.02648618072271347, -0.014573237858712673, 0.010932195000350475, -0.019866235554218292, -0.035660307854413986, -0.024463174864649773, 0.030163580551743507, -0.002625096356496215, 0.03680342063307762, -0.002612343756482005, -0.0438062883913517, 0.00148117751814425, -0.020838357508182526, -0.009455093182623386, -0.030972732231020927, 0.0040193176828324795, 0.0024493520613759756, 0.0005205842899158597, 0.00428558886051178, -0.05388221517205238, 0.017024217173457146, 0.01921807788312435, -0.013519516214728355, -0.02508663199841976, 0.000792031642049551, -0.002839392749592662, -0.003841554978862405, 0.024739135056734085, -0.034044042229652405, -0.008148771710693836, 0.01849573850631714, -0.04013281315565109, 0.014878885820508003, -0.031820133328437805, 0.01670508272945881, -0.0183242354542017, 0.06532652676105499, 0.046939827501773834, 0.04295775666832924, 0.029115866869688034, -0.007599051110446453, 0.036298464983701706, -0.022382590919733047, -0.0029040605295449495, -0.0026683222968131304, -0.002742722863331437, 0.006204852368682623, 0.023849446326494217, 0.03559299185872078, -0.036170538514852524, -0.04498019441962242, -0.023115577176213264, -0.019735701382160187, 0.06163071468472481, -0.03486201912164688, -0.0051879798993468285, -0.0052929711528122425, 0.029957689344882965, -0.0025999299250543118, -0.0644313171505928, -0.0006015406106598675, -0.01796846091747284, -0.06695777177810669, 0.022098811343312263, 0.04137345030903816, -0.006316828541457653, 0.010145441628992558, 0.026723390445113182, -0.026306593790650368, -0.026076629757881165, 0.022773586213588715, 0.014707962051033974, -0.006013642530888319, -0.009877201169729233, 0.003451357129961252, 0.05708993971347809, -0.019748322665691376, 0.031397745013237, 0.018967490643262863, 0.044318776577711105, 0.029279353097081184, -0.004013022407889366, -0.032487932592630386, 0.008696828037500381, 0.04555072635412216, -0.024769308045506477, -0.0385260172188282, -0.02801341935992241, -0.03083491511642933, 0.001987231895327568, 0.006457973271608353, -0.038222409784793854, -0.022544343024492264, 0.027863280847668648, -0.007397887762635946, -0.04060082882642746, 0.017803817987442017, 0.03203466162085533, 0.022410361096262932, -0.013165182434022427, 0.01697438955307007, -0.01687929406762123, -0.04474390670657158, -0.021138237789273262, 0.0030061264988034964, 0.015669988468289375, -0.011676758527755737, 0.002807574113830924, 0.00002910040711867623, 0.03436708450317383, -0.031098749488592148, 0.0030144050251692533, 0.0011175642721354961, 0.020922277122735977, -0.025233419612050056, -0.03832261636853218, -0.0008013986516743898, 0.034727275371551514, -0.007035727147012949, 0.06544577330350876, 0.0019230468897148967, 0.04771906137466431, 0.025472959503531456, -0.008588491939008236, -0.040490541607141495, -0.04629731923341751, -0.010520233772695065, 0.008046930655837059, 0.028365489095449448, -0.01250906940549612, -0.05087858811020851, 0.008376439101994038, -0.017743928357958794, 0.03469830006361008, -0.022409047931432724, -0.04984655603766441, 0.005950715392827988, -0.075176902115345, 0.04393390193581581, -0.02960151620209217, -0.08267796039581299, -0.015535371378064156, -0.029164891690015793, -0.007640653755515814, 0.005913485772907734, 0.0001813170820241794, -0.009058895520865917, -0.02932651899755001, 0.03247510641813278, 0.01593584008514881, 0.02362580969929695, 0.025057435035705566, 0.025775937363505363, 0.028798067942261696, -0.0001066303884726949 ]
Fine-tuning Stable Diffusion models on Intel CPUs
juliensimon
July 14, 2023
stable-diffusion-finetuning-intel
guide, intel, hardware, partnerships
https://huggingface.co/blog/stable-diffusion-finetuning-intel
Troubleshooting Distributed training can be tricky, especially if you're new to the discipline. A minor misconfiguration on a single node is the most likely issue: missing dependency, images stored in a different location, etc. You can quickly pinpoint the troublemaker by logging in to each node and training locally. First, set the same environment as on the primary node, then run: python diffusers/examples/textual_inversion/textual_inversion.py \ --pretrained_model_name_or_path=$MODEL_NAME --train_data_dir=$DATA_DIR \ --learnable_property="object" --placeholder_token="<dicoo>" --initializer_token="toy" \ --resolution=512 --train_batch_size=1 --seed=7 --gradient_accumulation_steps=1 \ --max_train_steps=200 --learning_rate=2.0e-03 --scale_lr --lr_scheduler="constant" \ --lr_warmup_steps=0 --output_dir=./textual_inversion_output --mixed_precision bf16 \ --save_as_full_pipeline If training starts successfully, stop it and move to the next node. If training starts successfully on all nodes, return to the primary node and double-check the node file, the environment, and the mpirun command. Don't worry; you'll find the problem :)
[ 0.04088949039578438, -0.017376692965626717, -0.00878504104912281, 0.01617291569709778, 0.07655959576368332, 0.042372602969408035, -0.020728429779410362, -0.01747935637831688, -0.009790140204131603, -0.06259259581565857, -0.08107854425907135, 0.057968948036432266, 0.07169069349765778, 0.05676743760704994, -0.04246250167489052, -0.01991681195795536, 0.050969161093235016, -0.08029955625534058, -0.04375540465116501, -0.004119374789297581, -0.0032132966443896294, -0.020226553082466125, -0.02991054207086563, 0.024304062128067017, -0.03825366869568825, -0.09240177273750305, 0.0047317324206233025, 0.06725939363241196, -0.02835671603679657, 0.012926342897117138, -0.08752352744340897, 0.010704674758017063, 0.05727657303214073, -0.024351593106985092, 0.02546796016395092, 0.053547535091638565, -0.10567647218704224, 0.03987464681267738, 0.04775726795196533, -0.039475217461586, 0.057740725576877594, -0.0016980087384581566, -0.10282277315855026, -0.00408588582649827, -0.0034162187948822975, -0.028883716091513634, -0.08612311631441116, 0.027667829766869545, -0.008045288734138012, -0.006639086175709963, -0.15680229663848877, -0.017188915982842445, 0.007704521529376507, -0.06852392107248306, -0.042165011167526245, 0.007190482225269079, -0.03999904543161392, -0.010399231687188148, 0.036707621067762375, -0.013122174888849258, 0.03826300427317619, 0.04228785261511803, -0.04354515299201012, 0.07832066714763641, -0.03650504723191261, 0.004420740529894829, 0.022280622273683548, -0.027082696557044983, -0.0435219407081604, -0.006950255483388901, 0.0353718176484108, -0.03368620201945305, -0.0268714502453804, -0.038680654019117355, 0.013921653851866722, 0.007334622088819742, 0.05717066302895546, 0.02452426590025425, 0.003744920715689659, 0.06442312151193619, -0.006840783171355724, 0.029223036020994186, 0.01036143023520708, 0.015623255632817745, 0.08191674947738647, 0.006437350530177355, 0.04629036784172058, 0.00934403482824564, 0.0023368364199995995, -0.03485512733459473, 0.005751513876020908, -0.07868395745754242, -0.07062923908233643, 0.028655191883444786, 0.005437987390905619, -0.06874460726976395, -0.019992651417851448, 0.025716682896018028, -0.010065723210573196, -0.05074986815452576, -0.03004281036555767, -0.02525155618786812, 0.033376295119524, -0.0018818586831912398, -0.03581254556775093, 0.029920807108283043, -0.044094715267419815, -0.03998582437634468, -0.08653472363948822, -0.0070363725535571575, -0.04482056945562363, -0.010346832685172558, -0.06518612056970596, -0.03505421057343483, -0.07362496107816696, 0.045532211661338806, 0.009714347310364246, 0.03834924474358559, 0.03777369111776352, -0.013442493043839931, 0.011110161431133747, 0.12607674300670624, 0.06293977051973343, 0.038470253348350525, -0.0018313765758648515, 0.0903775542974472, 0.003128540236502886, -0.01488087885081768, -0.021485701203346252, 0.0070082093589007854, -0.004296300932765007, -0.03004823625087738, 0.024542955681681633, -0.0040399013087153435, 0.0531109943985939, -0.11889025568962097, 0.05336668714880943, 0.0014346156967803836, 0.007626611273735762, -0.03722330182790756, -0.10394411534070969, 0.06217443570494652, -0.012294786050915718, 0.0645366683602333, 0.06407326459884644, 0.05590053275227547, -0.07346522808074951, -0.016471633687615395, 0.008637405931949615, -0.01574159599840641, -0.06293222308158875, 0.04186064004898071, -0.02061588130891323, -0.05648557469248772, 0.05446735396981239, 0.05949820205569267, -0.00202665152028203, -0.024322059005498886, -0.06854020804166794, -0.015400532633066177, -0.054794248193502426, -0.0130943413823843, -0.046005215495824814, 0.042204804718494415, 0.06463314592838287, -0.053916629403829575, 0.016969822347164154, 0.05278044939041138, 0.07528924196958542, 0.0016432349802926183, -0.008317568339407444, -0.03246885910630226, 0.008635126054286957, 0.034564048051834106, -0.011953162029385567, 0.011136981658637524, -0.041754160076379776, 0.07977481186389923, -0.045226749032735825, 0.019857926294207573, -0.05245665833353996, 0.02859007567167282, -0.021703267470002174, 0.036449775099754333, 0.03310210257768631, -0.03376439958810806, 0.05508474260568619, -0.03551354259252548, 0.009197941981256008, 0.06899221986532211, -0.012988035567104816, 0.005640236660838127, 0.026477932929992676, -0.0399966798722744, 0.03980416804552078, -0.08640505373477936, -0.00950874388217926, 0.0494077131152153, 0.062014736235141754, 0.003231649985536933, -0.01163740735501051, -0.012766108848154545, -0.012879095040261745, -0.016881154850125313, -0.0032830487471073866, 0.03922254592180252, 0.001349250553175807, -0.0927581787109375, 0.05833182483911514, 0.007052401080727577, -0.026792848482728004, -0.11132475733757019, -0.014176521450281143, 0.02606016956269741, 0.02449006401002407, 0.03790179267525673, -0.035169925540685654, -0.029743192717432976, -0.004691972862929106, 0.05750430375337601, 0.14662447571754456, -0.00640456285327673, 0.03652619943022728, -0.0017707324586808681, -0.04829031229019165, 0.036161404103040695, 0.10963346809148788, 0.025664670392870903, 0.12337663024663925, -0.08204909414052963, -0.061889179050922394, 0.0009492749231867492, -0.037227366119623184, 0.08834872394800186, 0.02734752930700779, -0.004677754361182451, -0.03615768998861313, -0.029436299577355385, 0.019451268017292023, -0.0344151109457016, 0.03753926232457161, 0.02477051503956318, -0.05318748578429222, 0.022249998524785042, -0.030008690431714058, 0.005797534249722958, 0.06049058586359024, 0.016053052619099617, -0.046121746301651, 0.022771291434764862, -0.03866792842745781, 0.03216700628399849, -0.02708270214498043, -0.03151724860072136, 0.018942752853035927, 0.012555169872939587, -0.000953492010012269, -0.022237025201320648, 0.004078109283000231, 0.016944751143455505, -0.02861129865050316, 0.025998087599873543, 0.0071287089958786964, -0.018692398443818092, -0.008165947161614895, -0.015231596305966377, 0.02555522695183754, -0.03037138283252716, 0.03591109439730644, -0.001826935331337154, 0.03468609228730202, -0.026550909504294395, 0.0036987815983593464, 0.02137688174843788, 0.008058661594986916, -0.021535303443670273, -0.01313348114490509, -0.008426681160926819, -0.00356957851909101, -0.01530598383396864, 0.0061116935685276985, -0.0335269495844841, 0.021068543195724487, -0.019741076976060867, -0.0203164741396904, 0.010648013092577457, -0.012935378588736057, 0.019405337050557137, 0.0005506470333784819, 0.01830061711370945, -0.0172438845038414, 0.007308817468583584, 0.06162821501493454, 0.023403417319059372, -0.025317927822470665, 0.021421102806925774, -0.034254226833581924, 0.014907400123775005, 0.015881063416600227, 0.02895934507250786, -0.013937517069280148, 0.01350407861173153, 0.01967901922762394, 0.0249040350317955, -0.06231037154793739, 0.014553515240550041, 0.00856097973883152, 0.015010607428848743, -0.0926404744386673, 0.008488442748785019, 0.04341375082731247, 0.02468358911573887, -0.024729382246732712, -0.05368683114647865, 0.03450339287519455, -0.01737840846180916, 0.04015302658081055, -0.016528667882084846, 0.010936731472611427, 0.0030931157525628805, 0.026311172172427177, -0.003055014181882143, 0.030830079689621925, -0.03141529858112335, 0.0005458828527480364, -0.021273888647556305, 0.05051645636558533, 0.03583766892552376, -0.033238038420677185, 0.060843996703624725, 0.01077093556523323, 0.008679230697453022, -0.03691505268216133, 0.04405513033270836, 0.012451313436031342, 0.019269797950983047, -0.029454853385686874, -0.06982306391000748, -0.02369069866836071, -0.019109968096017838, -0.07420887053012848, 0.010840682312846184, -0.024784909561276436, 0.012250840663909912, 0.00740842567756772, -0.015588515438139439, 0.014376649633049965, 0.036528389900922775, 0.02487543225288391, -0.025192566215991974, 0.06136630102992058, -0.018586723133921623, 0.0500815287232399, -0.003610943676903844, -0.034540411084890366, -0.02540924958884716, 0.06159041449427605, 0.0065824175253510475, 0.01799902319908142, -0.03546903282403946, -0.011282159015536308, 0.016411716118454933, -0.013008791953325272, 0.013769182376563549, 0.006190555635839701, 0.05115100368857384, 0.046301085501909256, 0.00018336286302655935, 0.039110101759433746, 0.0351540632545948, -0.015891455113887787, -0.09111300855875015, 0.0076732151210308075, 0.051837384700775146, 0.02241184003651142, 0.034627024084329605, -0.007520296145230532, 0.03534089773893356, -0.01367679052054882, -0.002731338609009981, 0.006673211697489023, 0.009933801367878914, -0.011875838972628117, -0.02036048099398613, -0.019943751394748688, -0.01972733438014984, 0.04286230355501175, 0.0114061264321208, 0.0072587281465530396, -0.02727408893406391, -0.02392376959323883, -0.08553064614534378, 0.010210396721959114, -0.011618690565228462, 0.03883206099271774, -0.038828473538160324, 0.07691816240549088, 0.02365761809051037, 0.003317746566608548, -0.012528711929917336, 0.018466778099536896, -0.019195038825273514, -0.017780501395463943, -0.028094686567783356, 0.03374989703297615, 0.0255745742470026, 0.010528149083256721, 0.02537454664707184, -0.002917838515713811, -0.04336041584610939, -0.039281681180000305, 0.0319342277944088, 0.0050387452356517315, -0.007910526357591152, -0.023942049592733383, -0.03268583491444588, -0.007874894887208939, -0.027272790670394897, -0.011385533958673477, -0.004852754529565573, 0.012836271896958351, 0.026698037981987, 0.02097034640610218, 0.040093276649713516, -0.0598662830889225, 0.031850460916757584, -0.03134184703230858, 0.03627052158117294, -0.029178768396377563, 0.04800020903348923, 0.01549579855054617, -0.01074898336082697, 0.017245937138795853, -0.011974237859249115, 0.03137670084834099, -0.014882653951644897, 0.012015817686915398, 0.0014926590956747532, -0.03553682938218117, -0.037670284509658813, 0.02885592356324196, -0.004762729164212942, -0.027924707159399986, -0.029845772311091423, 0.02298329770565033, 0.03027251735329628, 0.03066723234951496, -0.01203327625989914, -0.0186129342764616, 0.010355338454246521, 0.011779246851801872, -0.045940887182950974, 0.035564396530389786, 0.007892862893640995, -0.024890393018722534, -0.009401165880262852, -0.00449747359380126, 0.020550493150949478, 0.02778897061944008, 0.015443502925336361, -0.004799733404070139, 0.020126402378082275, 0.04343969747424126, -0.04165772348642349, -0.02029724232852459, 0.013978153467178345, 0.0342489518225193, 0.06811520457267761, -0.040834344923496246, -0.05809906870126724, -0.04308101162314415, 0.01405628863722086, -0.03893427178263664, -0.004185588099062443, 0.03076467290520668, -0.04628000408411026, -0.006038745399564505, 0.0012633189326152205, 0.0036050963681191206, 0.0036029082257300615, -0.004779256414622068, -0.0026679362636059523, 0.050428107380867004, 0.022188467904925346, 0.025273695588111877, 0.009530480951070786, 0.002831092569977045, 0.0004569401789922267, -0.002876417012885213, 0.010638969950377941, 0.04420968145132065, -0.034081052988767624, -0.02765759453177452, 0.030296409502625465, 0.041037991642951965, -0.0016810637898743153, 0.04587003216147423, 0.036569204181432724, 0.03257180377840996, -0.023393044248223305, 0.06211875006556511, 0.003397591644898057, -0.01867038756608963, 0.00797886960208416, 0.016603322699666023, 0.03482862561941147, -0.007257916498929262, -0.02552982233464718, 0.0041460441425442696, 0.03873536363244057, 0.012956421822309494, -0.020808430388569832, 0.04321123659610748, 0.015895500779151917, -0.02338819019496441, -0.03164830431342125, -0.011502368375658989, -0.012506192550063133, 0.04509575664997101, -0.024287104606628418, -0.030433708801865578, 0.0013774291146546602, 0.05064471811056137, -0.013035810552537441, -0.03345777839422226, 0.00479860370978713, 0.028462514281272888, 0.05546208471059799, -0.05735992267727852, 0.015271746553480625, -0.043570730835199356, 0.004339633509516716, 0.00749992998316884, -0.0374409481883049, 0.02721170336008072, 0.042950086295604706, -0.028097696602344513, 0.04413392394781113, -0.014460158534348011, 0.010785553604364395, 0.013160353526473045, 0.014652920886874199, 0.04232313111424446, 0.0294326264411211, 0.0028131911531090736, 0.009697054512798786, 0.01157471165060997, -0.030524397268891335, 0.007640441879630089, 0.014375424012541771, -0.0037508064415305853, 0.03424467146396637, -0.041513774544000626, 0.005446316674351692, 0.0418001189827919, -0.041718412190675735, 0.02504361793398857, -0.0029557442758232355, 0.011350635439157486, 0.0373581126332283, 0.007986193522810936, 0.0030395907815545797, 0.01142903696745634, 0.06225471571087837, -0.026186887174844742, -0.00924202986061573, -0.008701896294951439, -0.01125283446162939, 0.03434130176901817, -0.07243683934211731, 0.0070577459409832954, -0.04246094450354576, 0.01933310367166996, -0.01859654113650322, -0.0071580130606889725, -0.036976128816604614, -0.017091963440179825, 0.032943204045295715, 0.054815057665109634, 0.0000660832884022966, -0.021083133295178413, 0.01212682481855154, 0.01640956662595272, 0.0010706824250519276, -0.02274622954428196, 0.017452716827392578, -0.08243949711322784, -0.0011211239034309983, 0.006684039253741503, 0.04835177958011627, 0.019370416179299355, 0.026785239577293396, -0.005523696541786194, -0.0007603858248330653, 0.07185228914022446, 0.022458992898464203, -0.028413331136107445, 0.01902197115123272, 0.0032327119261026382, -0.03645816445350647, -0.04075559973716736, -0.03135856240987778, 0.017108343541622162, 0.03984910994768143, 0.016058852896094322, -0.0108800632879138, -0.02357557602226734, 0.015907784923911095, 0.011111832223832607, 0.038901437073946, 0.058393415063619614, -0.02725968323647976, 0.03646747022867203, 0.03524461016058922, -0.012982840649783611, -0.0021680626086890697, 0.07477685809135437, 0.007433345075696707, 0.01580759324133396, 0.021197300404310226, 0.02032395824790001, 0.036151736974716187, -0.01774042844772339, 0.00862845778465271, 0.02498527057468891, -0.02880890667438507, 0.015499547123908997, -0.030617108568549156, 0.01542703527957201, -0.036600857973098755, -0.043206095695495605, 0.03586427494883537, -0.03138890489935875, 0.016043130308389664, -0.019893363118171692, 0.04137660935521126, 0.007778503466397524, -0.01077678520232439, 0.0033250143751502037, 0.028521878644824028, -0.007026588078588247, -0.03242518752813339, -0.007376084104180336, -0.011257936246693134, 0.01040018443018198, 0.03316685929894447, -0.04150480031967163, -0.029495224356651306, -0.024138296023011208, 0.03188407048583031, 0.019535919651389122, 0.027376927435398102, -0.002783473813906312, -0.009010226465761662, 0.031465593725442886, -0.015635576099157333, 0.009912943467497826, 0.01910838671028614, 0.02840258553624153, -0.035100046545267105, -0.012704373337328434, 0.021936951205134392, -0.011162031441926956, -0.02442656084895134, 0.026103662326931953, 0.0010385836940258741, 0.04606111720204353, -0.021256178617477417, 0.024795660749077797, 0.029990414157509804, -0.0038504591211676598, 0.028195099905133247, -0.047327980399131775, -0.010389807634055614, -0.00524344714358449, -0.03688085079193115, -0.028427785262465477, 0.009652874432504177, -0.012229982763528824, -0.022045215591788292, 0.01757456362247467, 0.015540593303740025, -0.0010010598925873637, -0.0061325812712311745, 0.0663023293018341, -0.0435808002948761, 0.001338197267614305, -0.019695531576871872, 0.06818410754203796, -0.006928602233529091, 0.06020975857973099, 0.0059605916030704975, 0.03851557523012161, -0.020125966519117355, -0.026021325960755348, -0.02214469574391842, 0.008892498910427094, 0.018525931984186172, -0.047217417508363724, -0.060804881155490875, -0.04844655469059944, -0.013071803376078606, -0.0501897856593132, 0.018449874594807625, -0.015292799100279808, -0.03346311300992966, -0.02991257980465889, -0.00811881385743618, -0.021288949996232986, -0.0013457167660817504, 0.06311358511447906, 0.041158173233270645, 0.030237291008234024, -0.01757984235882759, -0.021867725998163223, -0.03342590853571892, -0.06084271892905235, 0.041337933391332626, 0.014872400090098381, 0.011938794516026974, -0.01365196704864502, -0.0020068956073373556, 0.009552139788866043, 0.021243803203105927, -0.039857443422079086, -0.06233091652393341, -0.018357302993535995, 0.02003699354827404, -0.05890924483537674, -0.0019652186892926693, 0.04783671349287033, 0.016437262296676636, 0.050459183752536774, -0.017540160566568375, -0.006773052271455526, -0.0023511077743023634, -0.003696607891470194, -0.03832097724080086, 0.01991637423634529, -0.015590358525514603, 0.014101946726441383, 0.02136502042412758, 0.020045369863510132, 0.017314746975898743, -0.018731538206338882, -0.002326824702322483, 0.010465534403920174, -0.007910042069852352, -0.03651810437440872, -0.0451354905962944, -0.00980172585695982, 0.002742418320849538, -0.014998942613601685, -0.010362625122070312, 0.010089854709804058, 0.04173114895820618, -0.028986593708395958, -0.016260158270597458, 0.017825918272137642, 0.03775876760482788, 0.002914348617196083, 0.0034585201647132635, 0.006700999569147825, 0.027096088975667953, 0.02403993345797062, -0.039179787039756775, -0.016143102198839188, 0.04224853590130806 ]
Fine-tuning Stable Diffusion models on Intel CPUs
juliensimon
July 14, 2023
stable-diffusion-finetuning-intel
guide, intel, hardware, partnerships
https://huggingface.co/blog/stable-diffusion-finetuning-intel
Configuring the fine-tuning job The Accelerate library makes it very easy to run distributed training. We need to run it on each node and answer simple questions. Here's a screenshot for the primary node. On the other nodes, you need to set the rank to 1, 2, and 3. All other answers are identical. Finally, we need to set the environment on the primary node. It will be propagated to other nodes as the fine-tuning job starts. The first line sets the name of the network interface connected to the local network where all nodes run. You may need to adapt this usingifconfig to get the appropriate information. export I_MPI_HYDRA_IFACE=ens786f1 oneccl_bindings_for_pytorch_path=$(python -c "from oneccl_bindings_for_pytorch import cwd; print(cwd)") source $oneccl_bindings_for_pytorch_path/env/setvars.sh export LD_PRELOAD=${LD_PRELOAD}:${CONDA_PREFIX}/lib/libiomp5.so export LD_PRELOAD=${LD_PRELOAD}:${CONDA_PREFIX}/lib/libtcmalloc.so export CCL_ATL_TRANSPORT=ofi export CCL_WORKER_COUNT=1 export MODEL_NAME="runwayml/stable-diffusion-v1-5" export DATA_DIR="/home/devcloud/dicoo" We can now launch the fine-tuning job.
[ 0.07376068830490112, -0.02623131312429905, -0.01842976175248623, 0.05343089625239372, 0.0794212594628334, -0.014852207154035568, -0.019961589947342873, 0.02076650597155094, -0.03265383094549179, -0.05707194656133652, -0.06207217276096344, -0.0002417412615614012, 0.009163313545286655, 0.047098491340875626, 0.015257510356605053, -0.03962964937090874, 0.03266172856092453, -0.047642599791288376, -0.0744096040725708, 0.03440764173865318, 0.02058590017259121, -0.014447648078203201, 0.0010644946014508605, 0.06149535998702049, -0.0816100686788559, -0.05642468482255936, 0.01234427560120821, 0.06744245439767838, 0.010847295634448528, 0.0022903105709701777, -0.05286896228790283, 0.021656915545463562, 0.03992852568626404, -0.019936513155698776, 0.029382633045315742, 0.03635070100426674, 0.0022703553549945354, 0.017170896753668785, 0.031807802617549896, -0.07352950423955917, 0.012348231859505177, -0.021778760477900505, -0.07585001736879349, 0.0657583549618721, 0.015604398213326931, -0.04818059504032135, -0.06613806635141373, 0.021952558308839798, -0.0017940449761226773, -0.017141591757535934, -0.08815991878509521, -0.012340417131781578, 0.04523644968867302, -0.0263352170586586, 0.00269764824770391, 0.01784062199294567, -0.011616602540016174, -0.029520956799387932, -0.033451806753873825, 0.03472974896430969, 0.017269259318709373, 0.019948404282331467, -0.03282908722758293, 0.06273815035820007, 0.014039166271686554, -0.007268931251019239, -0.01947326585650444, -0.00496995635330677, -0.05314533784985542, -0.026848457753658295, -0.015226605348289013, 0.02118031308054924, 0.02128635346889496, -0.009620620869100094, -0.03604693338274956, -0.037456270307302475, -0.011652473360300064, -0.009154408238828182, 0.024273553863167763, 0.06812014430761337, -0.12105415016412735, 0.03781692683696747, 0.010466447100043297, 0.05884357541799545, 0.0035267130006104708, -0.007005574181675911, -0.019025035202503204, -0.009993894025683403, -0.013882815837860107, -0.0007738785352557898, -0.021568449214100838, -0.05475170165300369, -0.061021242290735245, 0.03948773071169853, 0.0807320699095726, -0.026687270030379295, -0.052245065569877625, -0.006427892949432135, -0.014445502310991287, -0.0100502148270607, 0.028174979612231255, -0.07813269644975662, 0.003920767921954393, 0.008434348739683628, -0.04382338374853134, 0.0713769868016243, -0.012434510514140129, -0.08630480617284775, -0.061683207750320435, 0.04035814478993416, 0.018780173733830452, -0.013504319824278355, -0.06244092062115669, 0.019305458292365074, -0.04940992593765259, 0.02181900292634964, -0.006900816690176725, -0.025720074772834778, 0.033285997807979584, -0.04020930454134941, -0.03185178339481354, 0.13557282090187073, 0.01986125484108925, 0.06960137188434601, -0.04591285437345505, 0.07176021486520767, -0.002039312617853284, -0.01003654208034277, -0.017391012981534004, -0.030195027589797974, 0.05257311090826988, -0.023065533488988876, -0.0033147267531603575, -0.0076116230338811874, 0.0049089547246694565, -0.0762680321931839, -0.03974895551800728, 0.049922503530979156, 0.03016101010143757, 0.011166231706738472, -0.05502184480428696, 0.005537879187613726, 0.02884022891521454, -0.0012158105382695794, 0.009632064960896969, 0.019641796126961708, -0.026349294930696487, 0.027967486530542374, -0.0015945316990837455, 0.04434797912836075, -0.04840763658285141, 0.09265044331550598, -0.010954221710562706, -0.006830393802374601, 0.07117395102977753, 0.09977009892463684, -0.04485802352428436, -0.01160451676696539, -0.04929947480559349, 0.054186925292015076, -0.011428224854171276, -0.02948588877916336, -0.06495171040296555, 0.019605081528425217, -0.038049425929784775, -0.00101071922108531, 0.029255609959363937, 0.015459287911653519, 0.048739537596702576, -0.008999609388411045, 0.021702293306589127, -0.0061780656687915325, 0.005691993050277233, 0.002218186389654875, 0.009311811067163944, -0.0038457808550447226, -0.022125355899333954, 0.07914075255393982, -0.010009439662098885, -0.011301019228994846, -0.05221278592944145, 0.10034513473510742, -0.057180047035217285, 0.10997109860181808, 0.049344081431627274, -0.08092300593852997, 0.05563778430223465, -0.03426850587129593, 0.045023322105407715, 0.021206429228186607, -0.004912154749035835, 0.07496076822280884, 0.10562369227409363, -0.01198235247284174, 0.03158074989914894, -0.11274777352809906, -0.030522746965289116, 0.037099141627550125, 0.036511313170194626, 0.0005779546918347478, 0.03672271966934204, -0.04628859460353851, 0.0770699679851532, -0.04140754044055939, -0.04184125363826752, 0.02414795011281967, -0.0022113483864814043, -0.11655834317207336, 0.04474040865898132, 0.01950928568840027, -0.029156455770134926, -0.13177324831485748, -0.05279676243662834, 0.0012959789019078016, -0.005804761778563261, -0.029597289860248566, -0.04774925112724304, 0.00011823901149909943, 0.02286202646791935, 0.05049735680222511, 0.13240931928157806, 0.02868293784558773, 0.03578544035553932, 0.005920709576457739, -0.07575815916061401, -0.025512756779789925, 0.10868162661790848, 0.024265337735414505, 0.02620464563369751, -0.020103011280298233, -0.008441305719316006, -0.028612477704882622, -0.05390038341283798, 0.12181217223405838, 0.002220972441136837, -0.015446959063410759, 0.0069976854138076305, 0.0015461771981790662, -0.02214106172323227, -0.04755927622318268, 0.07730256021022797, 0.015495359897613525, -0.10905163735151291, 0.014351476915180683, -0.035888977348804474, 0.03264782205224037, 0.08885008096694946, -0.016603058204054832, -0.03387947753071785, 0.03632955253124237, -0.04270006716251373, 0.003368564648553729, 0.012794215232133865, -0.03694046288728714, 0.039651598781347275, -0.008615341037511826, 0.003072672290727496, 0.011099831201136112, 0.008623434230685234, 0.04049801826477051, 0.021747220307588577, 0.042595379054546356, -0.031617533415555954, 0.022909898310899734, 0.0024175054859369993, -0.03612689673900604, 0.03806432709097862, -0.010277713648974895, -0.019454628229141235, -0.034107550978660583, 0.03132457286119461, 0.009938179515302181, 0.016150308772921562, 0.001923806732520461, -0.010047615505754948, 0.0135032432153821, 0.0007716480176895857, -0.031069297343492508, -0.03500720486044884, -0.009618031792342663, 0.013402561657130718, -0.008790184743702412, -0.015718992799520493, 0.030234338715672493, 0.003394779283553362, 0.045611634850502014, -0.0008687627851031721, 0.006063776556402445, -0.045606955885887146, 0.0013955346075817943, 0.008548521436750889, -0.01314227283000946, 0.0446590781211853, 0.0007751230150461197, -0.04631670191884041, 0.0005829052533954382, 0.0007405691430903971, -0.012883235700428486, 0.015421695075929165, -0.007808632683008909, 0.009160169400274754, -0.004228076431900263, -0.004840340930968523, -0.031836263835430145, -0.02317221090197563, 0.008794719353318214, 0.03765563294291496, -0.0035755697172135115, -0.07313503324985504, 0.010250461287796497, 0.027310974895954132, 0.0590323880314827, 0.00161448132712394, -0.022909972816705704, 0.01749240979552269, -0.01860826089978218, 0.036143187433481216, -0.006154811475425959, -0.005158584099262953, 0.020315343514084816, 0.01656354032456875, 0.0074689737521111965, 0.040464114397764206, 0.0027564482297748327, 0.016720851883292198, -0.05414694920182228, 0.0045568691566586494, 0.008087911643087864, -0.03761123865842819, 0.026393752545118332, 0.0026914207264781, -0.007333158049732447, -0.0013111364096403122, 0.04405098035931587, -0.002561605768278241, 0.05495506897568703, -0.0132798096165061, -0.04191604256629944, -0.042713720351457596, -0.044875405728816986, -0.03972597047686577, -0.01858344115316868, 0.00017047571600414813, -0.020353250205516815, 0.027655132114887238, 0.03533468022942543, 0.005505913402885199, 0.05882321298122406, 0.006541140377521515, -0.0013348086504265666, 0.03312205895781517, -0.043650589883327484, 0.03410404548048973, 0.006823427509516478, 0.001741273794323206, -0.043287280946969986, 0.0013653032947331667, -0.01047918014228344, 0.016963543370366096, 0.0015401679556816816, 0.01657193899154663, 0.024524085223674774, -0.030200310051441193, 0.021032657474279404, 0.004053247161209583, 0.04422600194811821, 0.05967382714152336, -0.01683874987065792, -0.024364808574318886, 0.004448670893907547, -0.014274869114160538, -0.05216240882873535, 0.0052500199526548386, 0.007426768075674772, 0.03929360583424568, 0.005887132603675127, -0.026373745873570442, 0.04782218486070633, -0.01944502256810665, -0.0069755385629832745, 0.0060519864782691, 0.0020269143860787153, -0.026507943868637085, -0.029553178697824478, -0.03877389803528786, -0.008365955203771591, 0.012546912766993046, -0.0037632070016115904, -0.008925671689212322, -0.012938625179231167, 0.014657197520136833, -0.10044823586940765, 0.04899640008807182, 0.0025590138975530863, 0.029539048671722412, -0.09069981426000595, 0.03772484138607979, 0.01472742110490799, -0.008663388900458813, 0.005213824100792408, 0.057689785957336426, 0.00003275670678704046, -0.008051419630646706, -0.005089880432933569, 0.01837673969566822, 0.03444069251418114, 0.004515673499554396, 0.010214375331997871, 0.009381232783198357, -0.039597079157829285, 0.008386514149606228, 0.0466436930000782, -0.03799924999475479, 0.0068442136980593204, 0.01601330377161503, -0.015589498914778233, -0.02200532704591751, -0.013596192002296448, -0.02619323506951332, -0.008525880053639412, 0.04525100439786911, -0.042358964681625366, 0.01140100322663784, 0.034900713711977005, 0.009782453067600727, 0.05681005120277405, -0.013146779499948025, 0.04686073958873749, 0.0030935886316001415, 0.056513309478759766, 0.04120302200317383, -0.030395690351724625, 0.041412997990846634, 0.0008450343739241362, 0.001960199559107423, 0.013394646346569061, -0.01716517098248005, -0.05964221432805061, -0.04420194774866104, -0.024492010474205017, 0.0435238778591156, -0.005126389674842358, -0.009776403196156025, -0.04465843364596367, -0.01748039200901985, 0.010751544497907162, 0.05750467628240585, 0.01279711164534092, -0.011692104861140251, 0.0436398908495903, 0.02985665202140808, -0.017558064311742783, 0.0397903136909008, 0.022070087492465973, 0.025971367955207825, 0.0034185645636171103, -0.04699177294969559, 0.012247887440025806, 0.004564834292978048, 0.011093754321336746, -0.003513575065881014, -0.009206710383296013, 0.054111555218696594, -0.04526953026652336, 0.0175310168415308, -0.006892927456647158, 0.009199961088597775, 0.060198236256837845, -0.02064199186861515, -0.016471391543745995, -0.028297150507569313, 0.03990931808948517, 0.01151302084326744, 0.00869547575712204, -0.0051330383867025375, -0.04560603201389313, -0.07053777575492859, -0.006223427597433329, -0.04558970779180527, 0.042459242045879364, -0.032347679138183594, -0.04981764405965805, 0.02813284657895565, 0.006247171200811863, 0.0315726138651371, -0.00786144845187664, -0.017187558114528656, 0.01102409977465868, -0.020784571766853333, 0.003804009174928069, -0.022166043519973755, -0.018697787076234818, -0.04081226512789726, -0.0003380964626558125, 0.02083529718220234, -0.039797261357307434, 0.06311158090829849, 0.04743734374642372, 0.04841897636651993, -0.0034849480725824833, 0.041366107761859894, -0.01896200142800808, 0.039209675043821335, 0.021476726979017258, 0.023906012997031212, 0.04524889215826988, -0.04078288748860359, -0.03765218332409859, 0.0023667330387979746, 0.04521394148468971, -0.0178273506462574, -0.05704460293054581, 0.025686658918857574, 0.01483556255698204, 0.0003636163892224431, 0.019384650513529778, -0.045897118747234344, -0.05941903963685036, -0.002984771504998207, -0.006793515756726265, -0.00756288506090641, -0.023052439093589783, 0.025374483317136765, -0.0587274469435215, -0.052109211683273315, 0.0030330601148307323, 0.03388139232993126, 0.004076054785400629, -0.06257118284702301, -0.013681438751518726, 0.031565818935632706, -0.010939249768853188, -0.009620306082069874, -0.02526092529296875, 0.0025732358917593956, -0.002732285065576434, 0.024374159052968025, 0.01813710294663906, -0.013381803408265114, 0.0008332712459377944, 0.02836163155734539, 0.018264781683683395, 0.03912804275751114, -0.04054299741983414, -0.03229779005050659, 0.05616044998168945, 0.025109801441431046, -0.04395727068185806, -0.006581397727131844, -0.03411835432052612, -0.006873427424579859, -0.004905337002128363, -0.025758719071745872, 0.04480975493788719, 0.05266494303941727, 0.030872955918312073, 0.04033544287085533, -0.04658428207039833, 0.04851275309920311, -0.006785458419471979, 0.0005881561664864421, -0.036732908338308334, -0.008587845601141453, 0.00877817440778017, -0.031300801783800125, 0.0003185182576999068, -0.003447511000558734, 0.010067546740174294, 0.058808814734220505, -0.05610588565468788, 0.024921923875808716, 0.0000842583758640103, 0.011994713917374611, 0.008763357996940613, 0.0009880798170343041, -0.036584652960300446, -0.013383081182837486, -0.016920432448387146, 0.034391749650239944, -0.011375063098967075, 0.016140136867761612, -0.007488245610147715, 0.04325687885284424, 0.014750422909855843, -0.002621430205181241, -0.0009719505906105042, -0.009946286678314209, -0.004716097842901945, 0.004675655625760555, 0.04773394763469696, 0.020549966022372246, -0.014394964091479778, 0.047014929354190826, -0.00003022177224920597, 0.05262301117181778, 0.03801977261900902, 0.008099515922367573, 0.055076584219932556, -0.00672881631180644, -0.03166069835424423, -0.04130091145634651, -0.02568642422556877, -0.01474137045443058, 0.032894112169742584, 0.04156839847564697, 0.017430119216442108, 0.014125332236289978, -0.0012843512231484056, 0.040508683770895004, 0.08424664288759232, 0.030956976115703583, -0.012656524777412415, -0.019674032926559448, 0.01088989432901144, -0.014796914532780647, -0.010291902348399162, -0.023319847881793976, 0.014354297891259193, 0.006246434990316629, 0.016431177034974098, -0.04168231412768364, 0.02867293171584606, -0.011313609778881073, -0.005860669072717428, 0.029665447771549225, -0.016959773376584053, 0.022715995088219643, -0.007716603577136993, 0.03372278809547424, 0.02705337479710579, -0.03609614819288254, 0.039531245827674866, -0.011119636707007885, -0.00657750153914094, -0.011783286929130554, 0.02461431734263897, -0.050628308206796646, 0.002456441055983305, -0.02270740643143654, 0.012979269959032536, 0.002279871143400669, -0.02166839875280857, -0.01830386184155941, 0.001793376519344747, 0.008026324212551117, 0.018271101638674736, -0.048513103276491165, -0.04030018672347069, -0.06262331455945969, 0.013538943603634834, -0.0044307527132332325, 0.028643056750297546, 0.017154837027192116, -0.0023644682951271534, -0.005198042374104261, 0.024598365649580956, 0.0017008755821734667, -0.004429575987160206, 0.04378571733832359, -0.011980541050434113, -0.008665487170219421, 0.005504951812326908, -0.009803522378206253, -0.08871785551309586, 0.03440222516655922, -0.014345873147249222, 0.04400506988167763, -0.01510570477694273, 0.02283787541091442, 0.002509249607101083, 0.02561810426414013, -0.02518163062632084, -0.023090559989213943, 0.0381634347140789, 0.011058877222239971, -0.05243963003158569, -0.01870388723909855, -0.004607477691024542, 0.026769429445266724, 0.002896098420023918, 0.003628404811024666, -0.022911135107278824, -0.0021414412185549736, 0.010504016652703285, -0.009456750936806202, -0.0013926918618381023, 0.011252769269049168, -0.025286775082349777, 0.029232965782284737, -0.010841980576515198, 0.014986555092036724, 0.041926588863134384, -0.0061088791117072105, -0.0406300388276577, 0.02319989539682865, -0.012202726677060127, -0.03662451356649399, 0.04292798042297363, 0.01970065012574196, -0.05172540619969368, -0.04427201300859451, 0.003025912679731846, -0.036103203892707825, 0.03158515319228172, -0.05315570905804634, -0.027700437232851982, -0.027873093262314796, -0.053811293095350266, -0.05522659793496132, 0.005467292387038469, 0.07017531245946884, 0.07394347339868546, 0.025508033111691475, 0.0014793226728215814, -0.07148053497076035, -0.027523640543222427, -0.042700912803411484, 0.010073814541101456, 0.045465465635061264, 0.0008927095914259553, -0.022458653897047043, 0.02476004883646965, 0.05774422362446785, 0.02581571415066719, -0.0549485944211483, -0.04047645628452301, 0.017529228702187538, 0.024601448327302933, -0.03306689113378525, 0.04890026897192001, 0.044017985463142395, 0.010482781566679478, 0.0521707683801651, 0.00023455539485439658, 0.016167139634490013, 0.02341855876147747, -0.01825871132314205, -0.035448092967271805, 0.018074486404657364, -0.04936053603887558, -0.028996087610721588, 0.01168134156614542, -0.036817386746406555, 0.052511971443891525, -0.007880028337240219, -0.0238953884691, -0.016105301678180695, -0.03673156723380089, 0.0004496774054132402, -0.030220920220017433, -0.02512829378247261, 0.015801047906279564, -0.00697799539193511, -0.002798995701596141, -0.0034785836469382048, 0.04051927849650383, -0.011573601514101028, 0.012500260956585407, 0.014669237658381462, 0.03922843933105469, -0.003744883695617318, 0.011040541343390942, 0.004710139241069555, 0.05225560814142227, 0.020217489451169968, -0.016811268404126167, -0.0016883178614079952, -0.016632914543151855 ]
Fine-tuning Stable Diffusion models on Intel CPUs
juliensimon
July 14, 2023
stable-diffusion-finetuning-intel
guide, intel, hardware, partnerships
https://huggingface.co/blog/stable-diffusion-finetuning-intel
Generating images with the fine-tuned model After 5 minutes training, the model is saved locally. We could load it with a vanilla diffusers pipeline and predict. Instead, let's use Optimum Intel and OpenVINO to optimize the model. As discussed in a previous post, this lets you generate an image on a single CPU in less than 5 seconds! pip install optimum[openvino] Here, we load the model, optimize it for a static shape, and save it: from optimum.intel.openvino import OVStableDiffusionPipeline model_id = "./textual_inversion_output" ov_pipe = OVStableDiffusionPipeline.from_pretrained(model_id, export=True) ov_pipe.reshape(batch_size=5, height=512, width=512, num_images_per_prompt=1) ov_pipe.save_pretrained("./textual_inversion_output_ov") Then, we load the optimized model, generate five different images and save them: from optimum.intel.openvino import OVStableDiffusionPipeline model_id = "./textual_inversion_output_ov" ov_pipe = OVStableDiffusionPipeline.from_pretrained(model_id, num_inference_steps=20) prompt = ["a yellow <dicoo> robot at the beach, high quality"]*5 images = ov_pipe(prompt).images print(images) for idx,img in enumerate(images): img.save(f"image{idx}.png") Here's a generated image. It is impressive that the model only needed five images to learn that dicoos have glasses! If you'd like, you can fine-tune the model some more. Here's a lovely example generated by a 3,000-step model (about an hour of training).
[ 0.010981685481965542, -0.005849785171449184, -0.0013158958172425628, 0.02198806405067444, 0.07670807093381882, 0.028145426884293556, -0.015356898307800293, 0.03860817104578018, 0.01652340590953827, -0.05728203058242798, -0.03888902813196182, 0.029963988810777664, 0.012804700061678886, -0.0038356713484972715, -0.012143376283347607, -0.06980758905410767, 0.06998798996210098, -0.032807085663080215, -0.03762025386095047, -0.0016086538089439273, 0.008138541132211685, -0.039732493460178375, 0.03871499001979828, -0.019471343606710434, -0.09474912285804749, -0.07495860755443573, 0.04120307415723801, 0.024872323498129845, -0.013226154260337353, -0.045774802565574646, -0.12432292103767395, -0.01401056069880724, -0.014026978984475136, -0.027698049321770668, 0.004842203110456467, -0.03575801104307175, -0.057203296571969986, 0.011330235749483109, 0.021378293633461, 0.005629200488328934, 0.011433339677751064, 0.0563332699239254, 0.0315416119992733, 0.05187312513589859, 0.04454460367560387, -0.06454690545797348, -0.07167472690343857, 0.060903266072273254, -0.02165585197508335, -0.04801454022526741, -0.05909229442477226, 0.04268788546323776, -0.01084063109010458, -0.02148810587823391, -0.017742305994033813, 0.06096889078617096, 0.058804310858249664, 0.02729852870106697, -0.027135774493217468, 0.03600604832172394, 0.011909275315701962, 0.0178950484842062, 0.011633017100393772, 0.05735863000154495, -0.009231716394424438, -0.007037747651338577, -0.06516072899103165, -0.0188948605209589, -0.014189749956130981, -0.05114663019776344, 0.019191240891814232, -0.036988746374845505, 0.030166544020175934, -0.01979939080774784, -0.004644487984478474, -0.022563856095075607, -0.01780923455953598, 0.025112584233283997, 0.06559471040964127, 0.05587339028716087, 0.023172695189714432, 0.02729393169283867, -0.003146842587739229, 0.005476904101669788, 0.027463072910904884, 0.005771595519036055, -0.0021811325568705797, 0.004566244315356016, -0.06646522879600525, -0.07271021604537964, -0.013265020214021206, -0.04142916947603226, -0.048833321779966354, 0.005763644818216562, 0.030748676508665085, 0.030459538102149963, -0.006717262789607048, 0.027506956830620766, 0.005636445712298155, -0.05977439880371094, 0.014938305132091045, -0.031095189973711967, -0.03312657028436661, -0.032333094626665115, -0.08060584217309952, 0.05571018531918526, -0.04487217962741852, -0.07841623574495316, -0.0383351668715477, 0.07290170341730118, -0.010086487978696823, 0.05470782145857811, -0.08503599464893341, 0.011638849042356014, -0.09957616776227951, -0.017597075551748276, 0.06938561052083969, -0.003285058541223407, 0.002006352413445711, -0.004300306085497141, -0.008425887674093246, 0.07064716517925262, 0.08542522042989731, -0.0428621880710125, 0.005940386094152927, 0.043541789054870605, -0.0013160343514755368, 0.09288083016872406, 0.022674135863780975, 0.017582301050424576, -0.01789659634232521, -0.03565353900194168, 0.03305390849709511, -0.025367408990859985, 0.06610917299985886, -0.09198108315467834, -0.014681537635624409, -0.03685712814331055, 0.019423339515924454, 0.025069329887628555, 0.013181461952626705, 0.013402081094682217, 0.01624980755150318, -0.012640945613384247, 0.04047885537147522, -0.018372107297182083, 0.03699427470564842, 0.027697347104549408, 0.00576372304931283, 0.007845030166208744, -0.07559681683778763, 0.08799721300601959, -0.07356758415699005, -0.0920557752251625, 0.004882216453552246, 0.11528391391038895, -0.016749035567045212, -0.04481516405940056, -0.03348192200064659, -0.09170156717300415, -0.010958602651953697, 0.026486627757549286, -0.022007619962096214, -0.015550627373158932, -0.010808106511831284, -0.0897178202867508, 0.030387813225388527, 0.05290231481194496, 0.07606329768896103, -0.0017959398683160543, 0.004831789992749691, -0.005701873451471329, 0.061685021966695786, 0.017683949321508408, 0.06574875116348267, 0.01877063699066639, -0.0006255837506614625, 0.039691079407930374, 0.027966218069195747, -0.043116554617881775, -0.036688558757305145, 0.024637345224618912, -0.018748335540294647, 0.015307920053601265, 0.11148633807897568, -0.08637205511331558, 0.04616747424006462, -0.05614567920565605, 0.015985194593667984, -0.007357959635555744, 0.057553306221961975, 0.04445338994264603, 0.09261703491210938, -0.010642912238836288, 0.02648930437862873, -0.08563484251499176, -0.06166158616542816, 0.014413236640393734, 0.06478989124298096, 0.0037831019144505262, -0.019846148788928986, 0.025271639227867126, 0.05145232751965523, -0.048327960073947906, -0.027042746543884277, -0.007899269461631775, -0.04739281162619591, -0.08138479292392731, 0.0592593215405941, 0.047967202961444855, -0.05779417231678963, -0.12519381940364838, 0.0457298569381237, -0.056186042726039886, 0.047259703278541565, 0.05847465246915817, -0.013431314378976822, -0.016278566792607307, -0.04861214756965637, -0.034752413630485535, 0.1322479546070099, 0.07564057409763336, 0.02780054695904255, -0.036200445145368576, -0.023887377232313156, 0.012747389264404774, 0.06614865362644196, -0.006481708027422428, 0.05536126345396042, -0.10490918904542923, -0.049701474606990814, -0.06569738686084747, -0.07545866072177887, 0.02049563266336918, 0.015537166967988014, -0.031626392155885696, 0.020229438319802284, 0.09324797987937927, 0.03503646329045296, -0.0296954158693552, 0.07817351818084717, 0.017765868455171585, -0.06654038280248642, 0.02838294953107834, 0.006374220829457045, 0.024552663788199425, 0.10183979570865631, 0.0161724966019392, -0.042680539190769196, -0.004131186753511429, -0.04426313191652298, 0.030081497505307198, -0.07279163599014282, -0.03902978077530861, -0.002025087596848607, 0.05413589999079704, -0.021868383511900902, -0.022522734478116035, -0.009210797958076, 0.05978848785161972, -0.03875639662146568, 0.03330504149198532, 0.027700455859303474, 0.03226848319172859, 0.03704417869448662, -0.03734681010246277, 0.020598385483026505, -0.032965708523988724, 0.045341167598962784, -0.017375297844409943, 0.010876675136387348, 0.012275819666683674, -0.006515156477689743, 0.03733702749013901, 0.011083036661148071, 0.05099901184439659, -0.01645383983850479, -0.010891089215874672, -0.010399095714092255, -0.02306978590786457, 0.00450326269492507, 0.005322443321347237, 0.042296189814805984, 0.04576049745082855, 0.03887231647968292, 0.010765410028398037, 0.004932875279337168, -0.008818116039037704, -0.054624658077955246, 0.03287715092301369, 0.02477322332561016, 0.01812710240483284, 0.06501644104719162, -0.01946035958826542, -0.01125479768961668, 0.00814742036163807, -0.03169303759932518, -0.031430017203092575, -0.008938220329582691, -0.00623868266120553, -0.01750510185956955, -0.054085660725831985, -0.0054298932664096355, -0.022033704444766045, -0.032429516315460205, 0.004087714944034815, 0.01018291711807251, -0.010745338164269924, -0.07812754809856415, 0.01626427471637726, -0.01176738366484642, 0.028471920639276505, -0.03189483657479286, 0.0069422670640051365, 0.010134230367839336, 0.007282386068254709, 0.03601015359163284, 0.022404219955205917, 0.012516692280769348, 0.032670535147190094, -0.0028923717327415943, 0.0227164626121521, 0.03196166455745697, -0.011015436612069607, 0.033020444214344025, -0.009531419724225998, -0.007320834323763847, 0.05321728065609932, -0.020123980939388275, 0.030932163819670677, -0.020648539066314697, 0.024134915322065353, -0.0027129522059112787, -0.0031171548180282116, 0.022764626890420914, 0.005875836592167616, 0.0009951945394277573, -0.0497371181845665, -0.05567491799592972, -0.05819055438041687, -0.011390181258320808, 0.046400584280490875, -0.0398055724799633, -0.015261339955031872, -0.02295951172709465, 0.012418171390891075, 0.036748599261045456, -0.008474918082356453, -0.021791374310851097, -0.001098201028071344, 0.004545083735138178, 0.03858004882931709, 0.012481793761253357, -0.009342766366899014, 0.02388283982872963, -0.005461130291223526, 0.01134748850017786, -0.020917704328894615, -0.04046377167105675, 0.006277036853134632, 0.005004114005714655, 0.06770029664039612, 0.019537262618541718, 0.06273818761110306, -0.010793649591505527, 0.03753553330898285, 0.06560719758272171, -0.05252674221992493, -0.03863129764795303, 0.025601893663406372, -0.00315205124206841, -0.010110403411090374, 0.025810902938246727, 0.0444471575319767, 0.00434999680146575, 0.016314037144184113, -0.004030121490359306, 0.013506704941391945, 0.004572541452944279, 0.040386397391557693, 0.019361980259418488, 0.009400316514074802, -0.004084884654730558, 0.010546600446105003, -0.03755448758602142, -0.011674625799059868, 0.027613025158643723, 0.03119434416294098, 0.01814383640885353, -0.04232776537537575, 0.0026261615566909313, -0.031463898718357086, 0.02117404155433178, -0.02473594807088375, 0.012299989350140095, -0.07446487993001938, 0.046093959361314774, -0.05811165273189545, 0.001684484421275556, 0.020559825003147125, 0.025057369843125343, -0.03708227723836899, -0.003575023962184787, -0.0030490511562675238, 0.03197440132498741, 0.011051823385059834, 0.015187980607151985, -0.017494400963187218, 0.010905464179813862, -0.034158118069171906, -0.0236615352332592, 0.016693759709596634, -0.025794751942157745, -0.021458031609654427, -0.03051300160586834, 0.00778485182672739, 0.007903819903731346, -0.01742268167436123, -0.02457525208592415, -0.04749733582139015, 0.02742674946784973, -0.04361596331000328, 0.046082235872745514, 0.024266598746180534, -0.010719723999500275, -0.036843325942754745, 0.013604126870632172, 0.010891149751842022, -0.017138199880719185, 0.015261128544807434, 0.00507447449490428, -0.035783734172582626, 0.008716433309018612, 0.03785783052444458, 0.02139219455420971, 0.0427900068461895, -0.0021208948455750942, 0.0046248179860413074, -0.01645062305033207, 0.0012129059759899974, 0.018987320363521576, 0.03196698799729347, 0.028320735320448875, -0.014440127648413181, -0.01652861014008522, -0.021738624200224876, 0.005135807208716869, 0.01671912707388401, -0.004697566851973534, 0.006018143612891436, 0.04135406017303467, -0.024975724518299103, 0.029441026970744133, 0.0592416375875473, 0.006209108512848616, 0.026346782222390175, 0.012258830480277538, 0.03708148002624512, 0.017828401178121567, 0.027241159230470657, -0.05731337144970894, -0.033358775079250336, 0.04431834816932678, -0.007332367356866598, -0.05301254242658615, -0.00892140157520771, 0.050829920917749405, 0.045552436262369156, -0.005882909055799246, 0.037630774080753326, -0.022752007469534874, 0.01861504465341568, 0.011898837983608246, 0.010754251852631569, 0.04760497063398361, -0.06791193038225174, -0.0189608633518219, 0.002089255955070257, 0.028017781674861908, 0.05075110122561455, 0.012038510292768478, -0.027050655335187912, 0.00925892312079668, 0.04697149619460106, 0.03595448657870293, -0.004446711856871843, -0.034020185470581055, 0.013685168698430061, -0.01019157562404871, -0.002720870077610016, 0.037953250110149384, -0.0024974399711936712, 0.003789969952777028, 0.03493008017539978, 0.040599267929792404, 0.005285006482154131, 0.03568171709775925, 0.01838652975857258, 0.023890472948551178, -0.033197373151779175, 0.013447189703583717, -0.023889748379588127, -0.011970807798206806, 0.010867460630834103, -0.005274222698062658, 0.004966743756085634, -0.03755580261349678, -0.03053746372461319, 0.06997280567884445, 0.014797124080359936, -0.005043849814683199, -0.039361461997032166, -0.007535136304795742, 0.009552458301186562, -0.022909697145223618, 0.003163120709359646, -0.01973472163081169, -0.040391482412815094, 0.04246243089437485, -0.029227137565612793, -0.02052101120352745, -0.008011706173419952, 0.0192735455930233, -0.003438773797824979, -0.016736332327127457, 0.023363975808024406, -0.014624853618443012, 0.041084982454776764, -0.03625733405351639, -0.02004803530871868, -0.018046101555228233, -0.017999550327658653, -0.023066800087690353, -0.02960480935871601, 0.02081846073269844, 0.0011905727442353964, -0.004134132526814938, 0.03149734064936638, 0.014495989307761192, -0.014627151191234589, -0.0052108159288764, 0.029183436185121536, 0.04406058415770531, -0.04423827677965164, -0.04345226660370827, 0.021172989159822464, 0.021064575761556625, -0.015433046035468578, -0.05757886916399002, -0.011450895108282566, -0.048252418637275696, 0.05198220908641815, -0.06089621037244797, 0.023643821477890015, 0.028031527996063232, -0.03603249043226242, 0.014912500977516174, -0.005499516148120165, 0.0030321332160383463, -0.0024653461296111345, 0.012427234090864658, -0.033267561346292496, -0.006439108867198229, -0.009616537019610405, 0.03426564484834671, -0.028930099681019783, -0.0008102412684820592, 0.016124989837408066, -0.01082684937864542, -0.03265122324228287, 0.025381674990057945, 0.018360763788223267, 0.01579854264855385, -0.00414911936968565, 0.020144199952483177, -0.023760758340358734, 0.0302056185901165, 0.012925596907734871, 0.033215004950761795, -0.01529761217534542, -0.028482168912887573, 0.019858162850141525, -0.0337844081223011, 0.009287148714065552, -0.0192987322807312, 0.061398934572935104, 0.018452556803822517, 0.04212399199604988, -0.001293629757128656, 0.04351440444588661, 0.015970056876540184, -0.03554172068834305, -0.04338759556412697, -0.010600551031529903, -0.0014684541383758187, 0.018365109339356422, -0.03384033218026161, 0.026614291593432426, 0.03826813027262688, -0.016153614968061447, -0.060696858912706375, -0.016640061512589455, -0.010611148551106453, 0.01579873077571392, 0.08576961606740952, 0.021713528782129288, -0.03028617985546589, -0.027216726914048195, 0.04183821380138397, 0.0629986822605133, 0.05483129620552063, 0.01756088249385357, 0.01485145278275013, 0.03396312892436981, 0.026553843170404434, 0.0005574448150582612, -0.017407769337296486, -0.000519460765644908, -0.0172444898635149, 0.014288864098489285, -0.00445273332297802, 0.04784407466650009, 0.039865490049123764, -0.004542795941233635, 0.020396651700139046, -0.008772196248173714, -0.008337038569152355, -0.0011251464020460844, 0.01908774860203266, -0.003154878271743655, -0.0761146992444992, 0.011543244123458862, -0.051874421536922455, 0.01215883158147335, -0.02486352063715458, 0.0033208008389919996, -0.05237988382577896, -0.0061426623724401, 0.015473997220396996, 0.0061574713326990604, 0.003845929866656661, -0.028644781559705734, 0.0000775616499595344, 0.015526656061410904, 0.023042161017656326, 0.034710679203271866, -0.00727190263569355, -0.05314793437719345, -0.031405311077833176, 0.015119187533855438, -0.023710189387202263, 0.025577282533049583, -0.0020689864177256823, 0.030021335929632187, 0.010104012675583363, 0.021069154143333435, -0.011969835497438908, 0.016038455069065094, 0.005938300862908363, 0.005016541574150324, 0.01305363979190588, 0.0278342105448246, 0.041287630796432495, -0.047574687749147415, 0.03399709612131119, -0.0068788714706897736, 0.005479785148054361, 0.02169695682823658, 0.05250795930624008, 0.016554102301597595, -0.025529611855745316, -0.01862047240138054, -0.044597361236810684, 0.0015030457871034741, 0.003989854361861944, -0.021167932078242302, -0.006777073722332716, -0.01303903292864561, 0.008385857567191124, -0.0037922984920442104, -0.0242504570633173, 0.027719564735889435, -0.004770160187035799, 0.009150583297014236, 0.046568624675273895, -0.02537977695465088, -0.020695583894848824, -0.011845716275274754, 0.029259080067276955, 0.015600149519741535, 0.04189357906579971, 0.052929285913705826, 0.0065584974363446236, -0.017841745167970657, -0.0333845354616642, 0.014968499541282654, 0.011591031216084957, 0.028495321050286293, -0.06609725952148438, -0.03481447324156761, -0.03558223322033882, 0.020611360669136047, -0.04651539400219917, -0.010248183272778988, -0.03631696105003357, -0.04565734416246414, -0.04680502042174339, -0.006499737501144409, -0.012790599837899208, -0.024507682770490646, 0.036612071096897125, 0.004822721239179373, 0.013225355185568333, 0.003806409193202853, -0.043042972683906555, -0.03512129187583923, -0.04601137340068817, 0.03059639222919941, 0.0006902996683493257, -0.017698412761092186, -0.016219962388277054, -0.04153970628976822, -0.008378814905881882, 0.024396417662501335, -0.06680665165185928, -0.026173915714025497, 0.012780207209289074, -0.012884559109807014, -0.07442110776901245, 0.013518675230443478, 0.06906963884830475, -0.009730963036417961, 0.018608899787068367, 0.018893873319029808, -0.009762833826243877, 0.019199557602405548, 0.008224360644817352, -0.03606120124459267, 0.0037025774363428354, 0.011673926375806332, 0.005420138593763113, -0.0013255972880870104, 0.009761319495737553, 0.014145048335194588, 0.015598524361848831, 0.013491860590875149, 0.04245494678616524, -0.0216085035353899, -0.029183795675635338, -0.02945493347942829, 0.0189757589250803, 0.03459661453962326, -0.01707550697028637, -0.047837987542152405, -0.013538827188313007, 0.013952469453215599, 0.03689337521791458, 0.004028381314128637, 0.025807470083236694, 0.03158062696456909, 0.00643120938912034, -0.015072344802320004, -0.03626125678420067, 0.054544597864151, 0.05641739442944527, -0.06497631967067719, -0.037800468504428864, -0.0009767240844666958 ]
Fine-tuning Stable Diffusion models on Intel CPUs
juliensimon
July 14, 2023
stable-diffusion-finetuning-intel
guide, intel, hardware, partnerships
https://huggingface.co/blog/stable-diffusion-finetuning-intel
Conclusion Thanks to Hugging Face and Intel, you can now use Xeon CPU servers to generate high-quality images adapted to your business needs. They are generally more affordable and widely available than specialized hardware such as GPUs. Xeon CPUs can also be easily repurposed for other production tasks, from web servers to databases, making them a versatile and flexible choice for your IT infrastructure. Here are some resources to help you get started: * Diffusers documentation * Optimum Intel documentation * Intel IPEX on GitHub * Developer resources from Intel and Hugging Face. * Sapphire Rapids servers on Intel Developer Cloud, AWS and GCP. If you have questions or feedback, we'd love to read them on the Hugging Face forum. Thanks for reading!
[ 0.04792482778429985, 0.01793581061065197, 0.008264587260782719, 0.017119910567998886, 0.04146266356110573, 0.04935326427221298, -0.012081669643521309, 0.09036442637443542, -0.04371516406536102, -0.09774869680404663, -0.06551095843315125, 0.025318413972854614, -0.02022447995841503, 0.029820725321769714, 0.004301225300878286, -0.0562579520046711, 0.0188040379434824, 0.043231554329395294, -0.0006478867726400495, 0.06810558587312698, 0.02021828107535839, -0.049539610743522644, 0.04262397065758705, 0.055627867579460144, -0.03318258002400398, -0.06351998448371887, -0.09369517862796783, -0.026733459904789925, 0.0031709473114460707, -0.02776431292295456, -0.09396013617515564, -0.04103577882051468, -0.03082793951034546, -0.010961298830807209, 0.010502333752810955, 0.025212664157152176, -0.11359598487615585, 0.040765754878520966, -0.0556190200150013, 0.0007880795164965093, 0.046196576207876205, 0.021731261163949966, -0.0939074382185936, 0.08065725862979889, -0.04507873207330704, -0.046417124569416046, -0.14824780821800232, 0.07328645884990692, -0.0735010951757431, 0.009135598316788673, -0.05871833115816116, 0.0637381300330162, 0.007969341240823269, 0.006737607531249523, 0.06036558374762535, 0.07434089481830597, 0.032352056354284286, -0.025335023179650307, 0.039539553225040436, 0.010485213249921799, 0.03884619101881981, -0.047958020120859146, -0.04111982136964798, -0.004140542354434729, -0.034007877111434937, 0.0018413002835586667, -0.02758822590112686, -0.07501863688230515, -0.06473653763532639, 0.0209629125893116, -0.0017349476693198085, -0.0035644746385514736, 0.009380321018397808, -0.008406458422541618, 0.03419174253940582, -0.03867628425359726, -0.0019344451138749719, -0.015033780597150326, 0.023743625730276108, 0.031301386654376984, 0.006940333638340235, 0.013494138605892658, 0.07403779029846191, 0.03318198770284653, 0.02492821216583252, 0.021433543413877487, 0.0048765032552182674, -0.011791816912591457, -0.07157990336418152, -0.01051755715161562, 0.004958510398864746, -0.043710511177778244, 0.0422821044921875, 0.03826498985290527, 0.006912640295922756, -0.01731734164059162, 0.020604515448212624, 0.01077051181346178, 0.076048843562603, 0.006340940482914448, 0.01790209487080574, -0.006906345020979643, -0.03267679363489151, -0.07401242852210999, -0.023895109072327614, -0.04108768329024315, 0.0017565990565344691, -0.060800809413194656, -0.01663951948285103, 0.009034127928316593, -0.03578481078147888, -0.0087271174415946, 0.0014235496055334806, 0.07340903580188751, -0.10211384296417236, 0.013254200108349323, 0.014093982987105846, -0.015500159934163094, 0.050023388117551804, -0.01181830931454897, 0.044845785945653915, 0.0914464071393013, -0.023228583857417107, 0.015163786709308624, -0.0049385325983166695, -0.0031584089156240225, -0.01108415238559246, 0.032843343913555145, 0.01852811686694622, -0.057812634855508804, -0.024815449491143227, -0.009459411725401878, 0.028474275022745132, -0.03843172639608383, 0.034980352967977524, -0.09225191920995712, -0.0294133760035038, -0.0787256583571434, -0.02407637983560562, 0.0374876968562603, 0.010189089924097061, 0.06044365465641022, 0.0629223883152008, 0.005481801461428404, 0.01448925118893385, -0.024304891005158424, -0.021856795996427536, 0.004556398373097181, -0.007414339575916529, -0.007500695995986462, -0.11950675398111343, 0.027529701590538025, -0.0693427100777626, -0.03766949102282524, -0.00659655686467886, 0.05096759647130966, -0.02430066652595997, -0.06611110270023346, -0.019551794975996017, -0.10429239273071289, -0.09610318392515182, -0.030354121699929237, -0.04734480008482933, -0.0015664974926039577, 0.005179331172257662, -0.015558705665171146, 0.005003203172236681, -0.000011698619346134365, 0.014901555143296719, -0.029347801581025124, -0.01937011070549488, -0.013731395825743675, 0.033083681017160416, -0.024339798837900162, 0.05433707684278488, 0.0009433263330720365, 0.0483117550611496, 0.08623094856739044, -0.004208041355013847, -0.03476914018392563, -0.06372002512216568, 0.014007644727826118, 0.035573288798332214, 0.06836006045341492, -0.019854649901390076, -0.06198954954743385, -0.0017093791393563151, -0.023236332461237907, 0.0051390924490988255, 0.008259586058557034, -0.05220605432987213, 0.046519242227077484, 0.052987925708293915, -0.00964442454278469, 0.024072736501693726, -0.018544409424066544, -0.06840947270393372, 0.10065330564975739, 0.026951851323246956, 0.06513623148202896, 0.049753278493881226, -0.04635259881615639, 0.0552234910428524, -0.030378494411706924, -0.07864410430192947, -0.03177255019545555, 0.008923433721065521, -0.03648606315255165, -0.016463713720440865, 0.04456401616334915, -0.044777244329452515, -0.15646016597747803, 0.01594383455812931, -0.0161540936678648, 0.02098681777715683, -0.006469392683357, -0.04197095334529877, -0.07297246903181076, -0.01576165482401848, -0.002309054136276245, 0.130809023976326, -0.03290054574608803, 0.011531294323503971, 0.006247811950743198, 0.038134220987558365, 0.07143569737672806, 0.10146304965019226, 0.051864057779312134, 0.0615728497505188, -0.033774323761463165, -0.048410095274448395, -0.04253976792097092, -0.059405367821455, -0.008933777920901775, 0.0462307408452034, 0.03335806354880333, 0.046378713101148605, 0.03671405091881752, 0.09982245415449142, -0.029540447518229485, -0.02657952904701233, -0.01389263290911913, -0.03815436363220215, 0.001451402553357184, 0.0717463493347168, -0.03345799073576927, 0.023339692503213882, -0.033776454627513885, -0.016330536454916, -0.08080222457647324, -0.08892349153757095, 0.050237394869327545, -0.026388706639409065, -0.03775620087981224, 0.0203107763081789, 0.00450563058257103, 0.010574446059763432, -0.015359857119619846, -0.010642013512551785, 0.05341927334666252, -0.009718566201627254, -0.03834717720746994, -0.0014355424791574478, -0.01328034047037363, 0.039591751992702484, -0.01924467645585537, 0.021193303167819977, -0.050609879195690155, 0.05823013186454773, 0.009769893251359463, 0.009942525997757912, 0.003913042135536671, 0.05275416746735573, 0.01184118539094925, -0.0068774037063121796, -0.010130230337381363, 0.0020731196273118258, 0.023393860086798668, 0.0037559685297310352, -0.019244292750954628, 0.023513829335570335, 0.0007276371470652521, 0.03959083557128906, 0.017835531383752823, 0.013782351277768612, -0.0221178587526083, -0.007216789294034243, -0.03539987653493881, -0.0709061399102211, -0.039337631314992905, 0.0346081517636776, 0.03527860715985298, -0.020643027499318123, -0.025484606623649597, 0.010515925474464893, -0.010234696790575981, -0.00834277831017971, -0.007693846244364977, -0.044419705867767334, 0.047382306307554245, -0.04070357605814934, -0.003392408136278391, -0.0017045134445652366, 0.016746878623962402, -0.014972439035773277, 0.01510720793157816, 0.005252986680716276, -0.02128502167761326, -0.09569412469863892, -0.004298147279769182, -0.01863987185060978, 0.026256173849105835, -0.056462839245796204, -0.04298132285475731, 0.04701059311628342, 0.02910609543323517, 0.042189180850982666, 0.022142106667160988, -0.0050284075550735, 0.02014327608048916, -0.0020419105421751738, -0.012174131348729134, -0.007349480874836445, -0.0014620888978242874, 0.04572544991970062, -0.008020826615393162, -0.00040459699812345207, -0.02894994243979454, -0.02359491027891636, -0.002538865664973855, 0.020138686522841454, -0.0019517326727509499, 0.006148820277303457, -0.003877583658322692, 0.06721443682909012, -0.022609874606132507, 0.004452031571418047, -0.028416931629180908, -0.002271041041240096, 0.007899542339146137, 0.023811299353837967, -0.005174196325242519, -0.01294135581701994, -0.005726309958845377, 0.004068559501320124, -0.013104737736284733, 0.06365595757961273, 0.03636716678738594, 0.00763965817168355, 0.008594709448516369, 0.020229734480381012, -0.007918527349829674, -0.003889283863827586, -0.006426397245377302, 0.007926537655293941, -0.005224183667451143, 0.04118353873491287, 0.014366221614181995, -0.03887026384472847, 0.014180750586092472, 0.016318270936608315, 0.06009402871131897, -0.0035017691552639008, 0.020228808745741844, -0.026484092697501183, 0.03389653190970421, 0.01047010999172926, 0.01059920433908701, -0.08037889003753662, 0.036951445043087006, -0.015667498111724854, -0.014026399701833725, -0.006486224941909313, 0.07390131801366806, -0.011535020545125008, -0.06672065705060959, -0.012214796617627144, 0.03027692437171936, 0.03457535058259964, 0.04451944679021835, 0.02137615904211998, 0.008853841572999954, 0.03494309261441231, 0.03487316519021988, -0.01393040269613266, 0.014136770740151405, 0.053988490253686905, 0.03661250323057175, 0.016240840777754784, -0.014680767431855202, -0.0039058916736394167, -0.0417107529938221, -0.0010847660014405847, 0.016149042174220085, -0.03955177217721939, 0.013187064789235592, -0.0026354973670095205, 0.03971320390701294, 0.01833334006369114, -0.05582611262798309, 0.04563799500465393, -0.0066742426715791225, 0.030553461983799934, -0.014475826174020767, 0.029879271984100342, 0.02961450070142746, 0.009977505542337894, -0.03561859205365181, -0.02514893375337124, -0.014449376612901688, -0.020406071096658707, 0.00036985191400162876, -0.015198965556919575, 0.04097605496644974, 0.01313401386141777, -0.021171392872929573, 0.04304279014468193, 0.016344722360372543, 0.006163301412016153, -0.032868120819330215, 0.02139938250184059, -0.023341353982686996, 0.04451466724276543, -0.02023301087319851, 0.005546539090573788, -0.013341388665139675, 0.004361721221357584, 0.0011686134384945035, -0.020429223775863647, 0.016893994063138962, -0.009928485378623009, -0.030385959893465042, -0.01636805757880211, 0.01109674945473671, -0.019480859860777855, 0.03242780640721321, 0.010707110166549683, 0.0021976828575134277, -0.018267756327986717, 0.0014470284804701805, 0.045329511165618896, 0.04254413768649101, 0.021155912429094315, 0.0034964377991855145, -0.010803974233567715, 0.026369674131274223, -0.03808320313692093, -0.011899986304342747, 0.0020432178862392902, 0.03144240379333496, 0.06361338496208191, -0.015546521171927452, -0.0028507199604064226, 0.04612402990460396, -0.014407568611204624, -0.004990892019122839, 0.025010257959365845, 0.029888929799199104, -0.003082393202930689, 0.02871016226708889, -0.04261598363518715, 0.05347517505288124, 0.06706128269433975, -0.013408529572188854, 0.014641553163528442, -0.017180385068058968, 0.008744996041059494, 0.03529540076851845, 0.0036400503013283014, 0.02481427788734436, -0.012586002238094807, -0.025487525388598442, 0.02273138426244259, -0.00799735076725483, 0.034066423773765564, -0.03792029991745949, -0.03516574949026108, 0.004246553406119347, 0.02519148774445057, 0.037261731922626495, 0.008732226677238941, -0.009313548915088177, 0.046505216509103775, 0.05075685307383537, 0.03880337253212929, 0.03747549653053284, 0.02021467499434948, 0.04112612456083298, -0.001219418947584927, -0.010011283680796623, 0.033974189311265945, 0.012074138969182968, 0.012858211062848568, 0.01889018528163433, 0.07896602153778076, 0.026749959215521812, -0.009137606248259544, -0.0036069899797439575, 0.005736187100410461, 0.0014318708563223481, 0.03341467306017876, 0.012351120822131634, 0.052413105964660645, -0.03457674756646156, -0.012387384660542011, 0.015255002304911613, 0.008279282599687576, -0.01746176928281784, 0.012167663313448429, 0.024385452270507812, -0.020140118896961212, -0.005046912934631109, 0.012261025607585907, 0.0060970070771873, -0.0014358193147927523, 0.0002661867474671453, 0.007343739736825228, -0.04454897344112396, 0.0012313628103584051, 0.029766127467155457, -0.04477949067950249, -0.0361197292804718, -0.021967792883515358, -0.029934987425804138, -0.04121746867895126, 0.003528350032866001, -0.0007950540748424828, 0.020972004160284996, 0.0041672526858747005, -0.0525045171380043, -0.00047477183397859335, -0.010325363837182522, -0.0033520828001201153, 0.013987629674375057, 0.013995199464261532, 0.014732987619936466, -0.020429003983736038, 0.0076269772835075855, 0.04007750377058983, 0.004932763520628214, -0.0016934119630604982, -0.004476426634937525, 0.04383896663784981, 0.0017384851817041636, 0.038661301136016846, 0.019416959956288338, -0.016246002167463303, -0.019801566377282143, -0.01394621655344963, -0.021429460495710373, 0.02207273244857788, 0.022140899673104286, -0.048638876527547836, 0.032601479440927505, 0.05524172633886337, -0.00030556286219507456, -0.003130050841718912, 0.006744691636413336, 0.009203866124153137, -0.026228051632642746, 0.0077271731570363045, -0.038488369435071945, 0.01916564255952835, -0.023154009133577347, 0.03714875504374504, -0.0250436719506979, -0.00160451780539006, 0.009157495573163033, -0.05994059145450592, -0.07237808406352997, 0.0269156564027071, 0.01959829218685627, -0.019588198512792587, 0.02577715553343296, -0.06526052951812744, -0.003267068648710847, 0.03592114523053169, 0.021550185978412628, 0.007502674125134945, 0.00786629505455494, 0.0071831741370260715, -0.008772791363298893, -0.016394881531596184, -0.008272376842796803, 0.028192684054374695, 0.05503308027982712, 0.017155591398477554, 0.004487453028559685, 0.0057402183301746845, 0.03265148773789406, 0.03551172465085983, -0.012200881727039814, -0.03253984451293945, -0.04075373336672783, 0.04741405323147774, -0.036685194820165634, 0.06667456775903702, 0.037546414881944656, -0.006092599127441645, -0.028360014781355858, -0.035292696207761765, 0.002748396946117282, -0.02491849474608898, -0.0017223211470991373, 0.04026471823453903, -0.005677896551787853, -0.009290034882724285, -0.015355142764747143, 0.05521345138549805, 0.06668806076049805, 0.008827943354845047, -0.004066784866154194, -0.009899862110614777, 0.006367083173245192, 0.015074933879077435, 0.013425802811980247, 0.02572554349899292, -0.017384890466928482, 0.03220411017537117, 0.07594972103834152, 0.003012151224538684, 0.03868633881211281, 0.009242730215191841, 0.009256139397621155, 0.017248714342713356, -0.022540636360645294, 0.02711496688425541, 0.01100478507578373, 0.00888186227530241, -0.011132290586829185, -0.006716532167047262, -0.03122604638338089, -0.0023329327814280987, 0.04724779352545738, 0.004017529543489218, 0.03530862182378769, -0.009038848802447319, 0.037357669323682785, 0.015368083491921425, 0.024261027574539185, -0.008556164801120758, -0.029491182416677475, 0.013632508926093578, 0.01521988958120346, -0.007115059532225132, 0.024574626237154007, -0.05129724740982056, -0.018100986257195473, -0.005517958197742701, -0.0035217967815697193, -0.013876480050384998, 0.023288946598768234, -0.001524442806839943, 0.009478138759732246, 0.028670255094766617, 0.05123220384120941, -0.007571133319288492, -0.014029287733137608, -0.0006135518196970224, 0.04642171412706375, -0.03686096519231796, 0.04377708584070206, -0.004909660667181015, -0.05329492315649986, -0.042202986776828766, -0.030649257823824883, 0.07617931813001633, -0.01941414549946785, 0.03121918812394142, -0.039709366858005524, 0.021519215777516365, -0.04602966830134392, -0.05081270635128021, 0.0057314070872962475, -0.017716582864522934, -0.013455335050821304, 0.022567300125956535, -0.0031087424140423536, -0.05253307521343231, 0.020700111985206604, 0.005933678243309259, 0.014600460417568684, -0.018468627706170082, 0.020352568477392197, 0.035967178642749786, -0.007453262805938721, -0.0633532926440239, 0.022605275735259056, 0.061215437948703766, 0.012348843738436699, 0.02641560509800911, 0.011186505667865276, 0.01947196200489998, -0.01595354452729225, -0.014805227518081665, 0.05488172918558121, -0.020960509777069092, 0.018268678337335587, -0.024457678198814392, -0.01583016663789749, 0.005411465186625719, -0.006588337942957878, 0.004440332297235727, 0.041105229407548904, -0.038864076137542725, 0.008108136244118214, -0.035143155604600906, -0.0037832814268767834, -0.036241475492715836, -0.005893730092793703, 0.043710604310035706, 0.05217950791120529, -0.026267779991030693, -0.03162712603807449, -0.03297964110970497, -0.035699598491191864, -0.02354416623711586, -0.006071337498724461, 0.06052160635590553, 0.0017330192495137453, -0.03785189986228943, -0.03264927119016647, -0.023589804768562317, 0.024405479431152344, -0.0352621003985405, 0.0123755456879735, -0.002318322891369462, -0.020750511437654495, -0.04091528430581093, -0.006851366721093655, 0.0345495380461216, -0.009902434423565865, 0.0643654465675354, -0.04526438191533089, 0.011169024743139744, 0.010659383609890938, 0.03687414899468422, -0.02973358891904354, 0.01801571063697338, -0.004761549644172192, 0.043104179203510284, 0.03040698729455471, -0.007904503494501114, -0.007770150899887085, -0.020418381318449974, -0.006482635624706745, 0.0772758200764656, 0.009146173484623432, -0.030093396082520485, 0.03412184491753578, 0.000742763455491513, 0.01452403049916029, -0.0038675684481859207, -0.039091017097234726, -0.012207836844027042, -0.025938892737030983, -0.017478829249739647, 0.01635460928082466, -0.062472108751535416, -0.023196857422590256, -0.01113346591591835, 0.02628285437822342, 0.0006946145440451801, 0.046379655599594116, 0.07750637829303741, -0.013158134184777737, -0.043389610946178436, -0.026377450674772263 ]
Fine-tuning Stable Diffusion models on Intel CPUs
juliensimon
July 14, 2023
stable-diffusion-finetuning-intel
guide, intel, hardware, partnerships
https://huggingface.co/blog/stable-diffusion-finetuning-intel
Fine-tuning the model We launch the fine-tuning job with mpirun, which sets up distributed communication across the nodes listed in nodefile. We'll run 16 tasks (-n) with four tasks per node (-ppn). Accelerate automatically sets up distributed training across all tasks. Here, we train for 200 steps, which should take about five minutes. mpirun -f nodefile -n 16 -ppn 4 \ accelerate launch diffusers/examples/textual_inversion/textual_inversion.py \ --pretrained_model_name_or_path=$MODEL_NAME --train_data_dir=$DATA_DIR \ --learnable_property="object" --placeholder_token="<dicoo>" --initializer_token="toy" \ --resolution=512 --train_batch_size=1 --seed=7 --gradient_accumulation_steps=1 \ --max_train_steps=200 --learning_rate=2.0e-03 --scale_lr --lr_scheduler="constant" \ --lr_warmup_steps=0 --output_dir=./textual_inversion_output --mixed_precision bf16 \ --save_as_full_pipeline Here's a screenshot of the busy cluster:
[ 0.015177669003605843, 0.0036614621058106422, -0.026517141610383987, 0.0031864987686276436, 0.04900693893432617, 0.05266954004764557, -0.0007532259332947433, 0.0026054561603814363, -0.016217561438679695, -0.030393294990062714, -0.06489869952201843, 0.051790159195661545, 0.024135012179613113, -0.011507456190884113, -0.013860499486327171, -0.03558437153697014, 0.015938756987452507, -0.06845428794622421, -0.031669143587350845, -0.016554806381464005, 0.007986260578036308, -0.04274820536375046, -0.005623903591185808, 0.08124421536922455, -0.022442081943154335, -0.016271714121103287, -0.0031519930344074965, 0.045100968331098557, 0.022629693150520325, 0.045691102743148804, -0.09022289514541626, 0.013831906951963902, -0.02011573500931263, -0.0007686761673539877, -0.001866454491391778, 0.0485256053507328, -0.036058101803064346, 0.04477697238326073, 0.026740899309515953, -0.06901045888662338, 0.033740777522325516, -0.015384461730718613, -0.061680346727371216, 0.02963513508439064, 0.05250348150730133, 0.00599480327218771, -0.051094070076942444, 0.016188403591513634, -0.03655474632978439, -0.05386773869395256, -0.09189394861459732, 0.010250665247440338, 0.02820081263780594, -0.06461876630783081, -0.019539736211299896, -0.016249343752861023, -0.016222620382905006, -0.018727097660303116, 0.019790442660450935, 0.0000974210342974402, 0.017323775216937065, 0.008856133557856083, -0.014380281791090965, 0.05284007638692856, 0.009265633299946785, -0.019087303429841995, -0.03955924138426781, 0.015522501431405544, -0.05539875105023384, 0.0003032530366908759, -0.014259831048548222, 0.013228104449808598, 0.00032915218616835773, -0.04362957552075386, -0.045084428042173386, -0.06994631886482239, 0.05061494559049606, 0.012223154306411743, 0.01593758352100849, 0.05948613956570625, -0.09569055587053299, 0.0034576235339045525, 0.016713151708245277, 0.03795035555958748, 0.017471179366111755, 0.010820680297911167, 0.023443756625056267, -0.016006948426365852, -0.02004149556159973, -0.08799614757299423, -0.011903242208063602, -0.09236043691635132, -0.07783517241477966, 0.013443252071738243, 0.039390165358781815, -0.013718897476792336, -0.048048101365566254, -0.008611848577857018, 0.007009785622358322, -0.031936876475811005, 0.005253734067082405, -0.05608312040567398, 0.012906529009342194, -0.013332883827388287, -0.04651936888694763, 0.05047935992479324, -0.04152017459273338, -0.07209883630275726, -0.10074147582054138, 0.0447382777929306, 0.011708575300872326, -0.001250396715477109, -0.10984569787979126, 0.028623562306165695, -0.07836533337831497, 0.002803472802042961, 0.010129508562386036, 0.027330555021762848, 0.011722964234650135, -0.04285433515906334, -0.021324537694454193, 0.07740531861782074, 0.10173822194337845, 0.01500041875988245, -0.0062720756977796555, 0.08780032396316528, 0.030529100447893143, 0.001117625623010099, 0.0060515510849654675, -0.02507261373102665, 0.05473192408680916, -0.06339023262262344, 0.013757312670350075, 0.01209639199078083, 0.03525717556476593, -0.0856204628944397, 0.003360282862558961, 0.029442263767123222, 0.009264901280403137, 0.016468647867441177, -0.06674745678901672, 0.043783314526081085, 0.035322725772857666, -0.02471679449081421, 0.06418953835964203, 0.04036618396639824, -0.01913429982960224, 0.010298396460711956, -0.01676100306212902, 0.032683808356523514, -0.09384298324584961, 0.0953504890203476, -0.04350246116518974, -0.03913155570626259, 0.09721308946609497, 0.08674460649490356, 0.0031223883852362633, -0.024532552808523178, -0.027156228199601173, -0.012850873172283173, -0.04742268845438957, -0.00429761316627264, -0.05084836483001709, -0.007777873892337084, -0.012069037184119225, -0.01629439741373062, 0.03956558555364609, 0.07063646614551544, 0.08017763495445251, -0.015424191951751709, 0.04295766353607178, 0.019870828837156296, 0.034420229494571686, -0.0035598480608314276, -0.035520873963832855, 0.017244866117835045, -0.03747664764523506, 0.07409985363483429, -0.05045067518949509, -0.01263948529958725, -0.028590640053153038, 0.08356449007987976, -0.01796211302280426, 0.07450979202985764, 0.05582552030682564, -0.08300461620092392, 0.03401780501008034, -0.014031349681317806, -0.014822889119386673, 0.03542613610625267, 0.009476862847805023, 0.042202096432447433, 0.10887559503316879, -0.020265350118279457, -0.00909778568893671, -0.1003141850233078, 0.024671826511621475, 0.05518607050180435, 0.07756537199020386, -0.019116127863526344, 0.015286021865904331, 0.0020442968234419823, 0.04716287553310394, -0.06971316784620285, -0.017463868483901024, 0.009592610411345959, 0.013994752429425716, -0.09883971512317657, 0.05305713415145874, 0.0058766757138073444, -0.0035309831146150827, -0.1451428234577179, -0.026408890262246132, -0.02229456417262554, 0.049958184361457825, 0.024015014991164207, -0.025436148047447205, -0.007577687967568636, -0.05362788215279579, 0.027044672518968582, 0.12888234853744507, 0.02751239575445652, 0.003919411450624466, -0.022218070924282074, -0.026864752173423767, -0.02512267976999283, 0.12225586175918579, -0.020927293226122856, 0.073512502014637, -0.030547067523002625, -0.04363369569182396, -0.0373493991792202, -0.102803535759449, 0.06573157757520676, -0.007916748523712158, -0.0032646646723151207, -0.03615391626954079, 0.047550879418849945, 0.024298401549458504, -0.04649757221341133, 0.040463972836732864, 0.022368604317307472, -0.08621510863304138, 0.039447467774152756, -0.011221708729863167, 0.007106481585651636, 0.07099074870347977, -0.0017199371941387653, -0.03848931938409805, 0.0479121133685112, -0.057728491723537445, 0.029696883633732796, -0.02351715788245201, -0.03388781473040581, 0.013950941152870655, 0.015482119284570217, -0.02919689752161503, -0.035435792058706284, 0.004439355805516243, 0.026731053367257118, -0.015297271311283112, 0.042076222598552704, -0.023167848587036133, 0.008248705416917801, 0.0412103608250618, -0.023162171244621277, 0.007744375616312027, -0.023099344223737717, 0.016947120428085327, -0.01662546396255493, -0.016215277835726738, -0.018562423065304756, 0.024939851835370064, 0.03514227271080017, 0.021790815517306328, -0.00644285511225462, 0.02106601931154728, -0.013318217359483242, -0.0419079028069973, -0.03420537710189819, -0.004586976487189531, -0.03629199042916298, 0.009942964650690556, 0.01501985639333725, 0.005952414125204086, 0.04534149914979935, -0.013306960463523865, 0.027274183928966522, -0.00023925627465359867, 0.034361034631729126, 0.003319312119856477, -0.012515934184193611, 0.04004952311515808, 0.006534412037581205, -0.035884708166122437, 0.03740042820572853, -0.017480898648500443, 0.002212285762652755, 0.017072411254048347, -0.00021364304120652378, -0.030592916533350945, 0.0028907242231070995, 0.008728418499231339, 0.021388545632362366, -0.022000346332788467, 0.011355211026966572, 0.021522948518395424, 0.003982041962444782, -0.07505422085523605, -0.010706664063036442, 0.023249346762895584, 0.018046054989099503, 0.00005895300273550674, -0.02098689042031765, 0.005954372696578503, -0.006290537305176258, 0.031875573098659515, -0.01039001066237688, 0.0021409092005342245, 0.014580585062503815, 0.040096465498209, -0.021657627075910568, 0.04962499067187309, -0.01785074733197689, -0.002741077682003379, -0.018425457179546356, -0.019611647352576256, 0.039626237004995346, -0.005303684622049332, 0.01923179253935814, 0.012900998815894127, -0.0013482354115694761, 0.0050314138643443584, 0.04017283767461777, -0.00793716125190258, 0.008030848577618599, -0.017904652282595634, -0.056080665439367294, -0.06123354658484459, -0.05453011766076088, -0.056559138000011444, -0.0009724101983010769, 0.009622900746762753, -0.03419008478522301, 0.005077681969851255, -0.019982662051916122, 0.027367858216166496, 0.0585830882191658, 0.01580078899860382, -0.0006066047353670001, 0.06337156146764755, 0.0014346231473609805, 0.047699786722660065, -0.0031975009478628635, -0.007315852679312229, -0.02246122807264328, 0.0656120777130127, -0.005024227779358625, -0.014798958785831928, -0.009194071404635906, -0.015251853503286839, -0.007434590253978968, -0.014827740378677845, 0.03536371514201164, 0.015572342090308666, 0.051871590316295624, 0.07119809836149216, -0.014312027022242546, -0.00043948786333203316, 0.03769903630018234, -0.022235307842493057, -0.04278787970542908, 0.006917249411344528, 0.036583062261343, 0.02741612307727337, 0.004812868312001228, -0.013782425783574581, 0.01473091822117567, -0.02873312123119831, -0.001393950660713017, 0.00600251043215394, -0.0015161293558776379, -0.022798221558332443, -0.015490112826228142, -0.03331686183810234, -0.0077270399779081345, -0.0010012530256062746, 0.023243432864546776, 0.003327922197058797, -0.04326745122671127, -0.015868963673710823, -0.09300091862678528, 0.05827193707227707, -0.03167775273323059, 0.0014975457452237606, -0.10400911420583725, 0.05675395578145981, 0.015926338732242584, -0.022986160591244698, 0.015845410525798798, 0.021938376128673553, -0.011297270655632019, 0.0028463969938457012, 0.0011840981896966696, 0.008856723085045815, 0.0314270444214344, 0.012369563803076744, -0.01733289659023285, -0.022449303418397903, -0.02321656607091427, 0.003628686536103487, 0.014667009003460407, 0.0013355243718251586, 0.005928694736212492, -0.033669523894786835, -0.012090340256690979, -0.008637350052595139, 0.028055086731910706, -0.01188720017671585, 0.012023047544062138, 0.017601603642106056, -0.005989092867821455, 0.04245718568563461, 0.036528848111629486, -0.03240915760397911, 0.026032766327261925, -0.009324656799435616, 0.034188732504844666, -0.020921148359775543, 0.02117789164185524, 0.03432445973157883, -0.012738047167658806, 0.03934198245406151, 0.012428500689566135, 0.020084714516997337, -0.002441264921799302, 0.004456773865967989, -0.0362447053194046, -0.03003835678100586, -0.05167336389422417, 0.037332601845264435, -0.003549991175532341, -0.0011438942747190595, -0.011929206550121307, -0.022846853360533714, -0.014413579367101192, 0.021150430664420128, 0.021252669394016266, -0.003405459690839052, 0.05733158439397812, -0.019073495641350746, -0.013816047459840775, 0.05089614540338516, 0.03368024528026581, 0.013679265044629574, 0.0034377630800008774, -0.014644091948866844, 0.027600500732660294, 0.030480043962597847, 0.014791840687394142, -0.025077782571315765, -0.021516337990760803, 0.03734734654426575, -0.027779772877693176, 0.0024163266643881798, -0.016368435695767403, 0.03287313133478165, 0.0884053036570549, -0.013172442093491554, -0.008522413671016693, -0.04900888726115227, 0.05382544919848442, 0.019402774050831795, -0.012749871239066124, -0.017370909452438354, -0.014742931351065636, -0.06575535982847214, -0.020032253116369247, -0.014920253306627274, 0.018664099276065826, -0.035727836191654205, -0.03143011033535004, 0.06283015012741089, 0.03204874321818352, 0.03992952033877373, -0.015795143321156502, -0.04732804745435715, 0.014802738092839718, -0.010517864488065243, 0.008845342323184013, 0.009008150547742844, -0.015788765624165535, 0.00872133020311594, 0.0025661860127002, 0.035617388784885406, -0.004115275572985411, 0.07463085651397705, 0.0017482121475040913, 0.043635305017232895, -0.03728509321808815, 0.018238507211208344, -0.010007577016949654, -0.022874455899000168, 0.005288843996822834, 0.019419854506850243, 0.04283970221877098, -0.033194005489349365, -0.014455128461122513, 0.0209482554346323, 0.03361756354570389, 0.010754749178886414, -0.01224572118371725, 0.021823786199092865, -0.010553106665611267, -0.015627803280949593, -0.032370809465646744, -0.014130132272839546, -0.04652855545282364, 0.014439404010772705, -0.022954225540161133, 0.009039439260959625, -0.061911698430776596, 0.06525012850761414, -0.030653417110443115, -0.028077535331249237, 0.009783885441720486, 0.0513433963060379, 0.0308773685246706, -0.05189543217420578, -0.017575819045305252, -0.0127700325101614, -0.008765040896832943, 0.025394989177584648, -0.05173706263303757, 0.035491812974214554, 0.0022336062975227833, -0.019555872306227684, 0.03677612543106079, -0.009314918890595436, -0.03431813046336174, 0.034087445586919785, -0.0031909265089780092, 0.03581719473004341, -0.033460430800914764, -0.027411041781306267, 0.02643180824816227, 0.07124084234237671, -0.0004538508364930749, 0.009842731058597565, -0.011978155001997948, -0.02714841440320015, -0.003687935881316662, -0.037607502192258835, 0.004391755908727646, 0.05311121419072151, -0.0013206102885305882, 0.03621606156229973, -0.006716660689562559, 0.039618171751499176, 0.008900740183889866, -0.03406371548771858, -0.012331260368227959, -0.008688943460583687, 0.02713075652718544, -0.032456882297992706, -0.03093174286186695, 0.0006244501564651728, -0.02376542054116726, 0.06330503523349762, -0.06601977348327637, 0.033003754913806915, 0.030176063999533653, 0.008247170597314835, 0.015899499878287315, 0.009418053552508354, -0.03577694669365883, 0.026703638955950737, 0.013969052582979202, 0.03175083547830582, -0.042166754603385925, -0.03649545833468437, -0.00038014358142390847, 0.01994543895125389, 0.005566410720348358, 0.008854839950799942, 0.023626403883099556, -0.028298908844590187, -0.005883323028683662, 0.02988552488386631, 0.04741910099983215, 0.055379949510097504, -0.0035529218148440123, -0.004873325582593679, -0.014896108768880367, 0.05612602084875107, 0.030700238421559334, -0.01503246184438467, 0.04026623070240021, 0.016391130164265633, -0.00013078103074803948, -0.06774444133043289, -0.009430955164134502, 0.0326196551322937, 0.013149868696928024, 0.07514581084251404, -0.0032749229576438665, -0.00799611397087574, -0.006629059091210365, 0.02101152017712593, 0.059371598064899445, 0.05352513864636421, -0.0003845698665827513, 0.032429590821266174, 0.015364673919975758, -0.005336536094546318, -0.050976742058992386, 0.03709210827946663, -0.022342661395668983, -0.006268758326768875, 0.030239857733249664, 0.0007935220492072403, 0.036138758063316345, -0.009362936951220036, 0.004092901013791561, 0.04102896898984909, -0.05259949713945389, 0.02572987601161003, 0.0028232582844793797, 0.02042519487440586, -0.003131523495540023, -0.022274725139141083, 0.03615077584981918, -0.021857844665646553, 0.024505440145730972, -0.01794329471886158, 0.02379319816827774, -0.043684959411621094, 0.002505067503079772, 0.020088685676455498, 0.021810807287693024, -0.01267961785197258, -0.062054213136434555, -0.038433294743299484, -0.007801936473697424, 0.009672527201473713, 0.05924905464053154, -0.010099353268742561, -0.02679007314145565, -0.029002998024225235, 0.028123125433921814, 0.01453184150159359, 0.04569334536790848, 0.031062763184309006, -0.026198621839284897, 0.018820745870471, -0.006182492710649967, -0.0035208321642130613, 0.012061604298651218, 0.022487077862024307, -0.02095760777592659, -0.009799407795071602, 0.030565420165657997, -0.007515437435358763, -0.06851190328598022, 0.04855204373598099, 0.006196510978043079, 0.03313248232007027, 0.01593511365354061, 0.014730788767337799, 0.010356931015849113, 0.047233354300260544, -0.007206562906503677, -0.036848269402980804, 0.021689461544156075, 0.015767497941851616, -0.006959622725844383, 0.011041677556931973, 0.004793775267899036, -0.003639367176219821, -0.019600296393036842, -0.011182911694049835, 0.0058248708955943584, -0.039355047047138214, -0.025768686085939407, -0.008488556370139122, -0.013183648698031902, 0.007533637341111898, -0.012298149056732655, 0.02866758592426777, 0.0012907248456031084, 0.07583654671907425, 0.05012547969818115, 0.010408708825707436, -0.010771525092422962, -0.010457374155521393, -0.04890703037381172, 0.03396540880203247, -0.008100390434265137, -0.009108880534768105, -0.04315020143985748, -0.0498078428208828, 0.03245622292160988, -0.044015515595674515, 0.024688642472028732, -0.013651167042553425, -0.048353757709264755, -0.05027976259589195, -0.052544914186000824, -0.03310554102063179, 0.01577334851026535, 0.07832767069339752, 0.045682642608881, 0.03660929575562477, -0.001925082178786397, -0.0431639701128006, -0.037001173943281174, -0.059376366436481476, 0.031855303794145584, 0.012928496114909649, 0.012844421900808811, -0.0024036888498812914, -0.0051255179569125175, 0.056982629001140594, 0.05998561531305313, -0.06323623657226562, -0.034292567521333694, 0.03101634606719017, 0.018556177616119385, -0.03430460765957832, 0.0327860563993454, 0.038571931421756744, 0.000045445023715728894, 0.021044934168457985, -0.006903827656060457, 0.0032295705750584602, -0.016042662784457207, -0.014772429130971432, -0.06946860998868942, -0.006083489861339331, -0.024184752255678177, -0.014264276251196861, 0.03167472779750824, -0.012218327261507511, 0.03723641484975815, 0.01207312848418951, -0.011841797269880772, 0.00966696161776781, -0.03799087926745415, -0.04315407574176788, -0.02412186563014984, -0.01737833395600319, 0.02908395789563656, -0.008417291566729546, -0.0007468047551810741, 0.03973911702632904, 0.05055944621562958, -0.016153765842318535, -0.015412087552249432, -0.0035144893918186426, 0.01953704282641411, -0.005527352448552847, 0.010702510364353657, -0.01819370687007904, 0.005661816336214542, 0.04355059936642647, -0.04690184071660042, -0.027507338672876358, 0.010062944144010544 ]
Open-Source Text Generation & LLM Ecosystem at Hugging Face
merve
July 17, 2023
os-llms
LLM, inference, nlp
https://huggingface.co/blog/os-llms
How to find the best model? Hugging Face hosts an LLM leaderboard. This leaderboard is created by evaluating community-submitted models on text generation benchmarks on Hugging Face’s clusters. If you can’t find the language or domain you’re looking for, you can filter them here. You can also check out the LLM Performance leaderboard, which aims to evaluate the latency and throughput of large language models available on Hugging Face Hub.
[ 0.040182266384363174, -0.07639987021684647, 0.061662860214710236, -0.08301589637994766, 0.029421554878354073, 0.044372692704200745, 0.012240294367074966, 0.05115235224366188, -0.05308401957154274, -0.014486239291727543, -0.06925510615110397, 0.07046026736497879, 0.034857623279094696, 0.05190056934952736, 0.0078045278787612915, -0.030650669708848, 0.010257115587592125, 0.0503690205514431, 0.029165275394916534, 0.027154842391610146, -0.0026236269623041153, -0.044911887496709824, 0.05906655639410019, -0.042100690305233, -0.015773307532072067, -0.05931606516242027, -0.01452991645783186, -0.0075076972134411335, -0.0010447903769090772, -0.02887086383998394, -0.03484012186527252, -0.0388471893966198, 0.02150331251323223, 0.021947106346488, 0.002393515780568123, -0.014483725652098656, -0.1337336301803589, 0.04182998090982437, -0.0024383822456002235, -0.022563491016626358, -0.010498667135834694, -0.06324417889118195, -0.04734315350651741, 0.03966951742768288, 0.004024089314043522, -0.007458471227437258, -0.17259091138839722, 0.057698287069797516, -0.009589563123881817, 0.0014861531089991331, -0.06535108387470245, 0.06201288104057312, -0.017371386289596558, 0.000851698569022119, -0.030168451368808746, -0.06063912808895111, 0.0359523668885231, -0.0931437686085701, 0.025227325037121773, 0.07632341980934143, 0.035121649503707886, 0.020955130457878113, 0.0056735435500741005, 0.013179434463381767, 0.00727419275790453, 0.03443573787808418, -0.04611118137836456, -0.043719515204429626, -0.04569091275334358, 0.009157677181065083, 0.0059514096938073635, -0.0028238396625965834, 0.0025459881871938705, -0.018052488565444946, -0.007360474206507206, -0.01979766972362995, -0.02363724075257778, 0.06153038144111633, 0.010688895359635353, 0.021387923508882523, -0.004165138583630323, -0.012575489468872547, 0.035618871450424194, 0.05755409598350525, 0.019005484879016876, 0.07823320478200912, -0.010776344686746597, -0.06253890693187714, -0.09049487859010696, 0.060386497527360916, -0.03095429576933384, -0.05799082666635513, -0.0019090012647211552, -0.007343927398324013, 0.07748927921056747, -0.0646146684885025, 0.0379452146589756, 0.03705263137817383, -0.05215758830308914, -0.01441715843975544, 0.013710077852010727, -0.07606762647628784, 0.009044906124472618, -0.0040258001536130905, -0.05653019994497299, 0.01448932383209467, -0.029190372675657272, -0.0825488418340683, -0.04175392910838127, 0.027943309396505356, -0.008538192138075829, -0.025435524061322212, 0.0367380753159523, 0.02845361828804016, -0.04207618907094002, 0.08928783237934113, 0.0038387454114854336, -0.05067766457796097, 0.011021443642675877, 0.057684749364852905, 0.023598631843924522, 0.059360384941101074, 0.04799514636397362, -0.021112417802214622, 0.056929707527160645, 0.10081563889980316, -0.009141935035586357, 0.025477170944213867, 0.017323598265647888, -0.01770390383899212, 0.05968356505036354, -0.04164055362343788, -0.013712476938962936, 0.009251214563846588, 0.0432329960167408, -0.028732970356941223, 0.042003605514764786, -0.05728098005056381, 0.029406137764453888, -0.019119497388601303, -0.06304381042718887, 0.04404516890645027, -0.016648804768919945, -0.013145355507731438, 0.10471022874116898, -0.03435031697154045, -0.09792755544185638, 0.02027667872607708, -0.04648439213633537, 0.017423100769519806, -0.08259601891040802, 0.06297193467617035, -0.011760889552533627, -0.017288710922002792, 0.02018149197101593, 0.08241955935955048, 0.009995893575251102, -0.03254086524248123, -0.014748326502740383, -0.014786199666559696, -0.04409478232264519, -0.023247642442584038, -0.06936617195606232, -0.009088624268770218, 0.05266423150897026, 0.01710594817996025, 0.034631676971912384, 0.030299270525574684, -0.05882984772324562, -0.0014374839374795556, 0.01340785063803196, 0.008262518793344498, 0.1120842918753624, -0.0404859222471714, -0.038503095507621765, 0.04957890510559082, 0.07388988137245178, 0.02592998556792736, 0.009057744406163692, -0.004142810590565205, -0.07254569232463837, -0.0019353964598849416, 0.008593382313847542, 0.045393072068691254, 0.045773204416036606, -0.06874462217092514, 0.02543560042977333, -0.01711263693869114, 0.013323282822966576, -0.02572604827582836, -0.03752012178301811, -0.005370900500565767, 0.09733202308416367, -0.015765000134706497, -0.02071487158536911, -0.04817028343677521, -0.034628916531801224, 0.08428675681352615, 0.05120336636900902, 0.06984967738389969, 0.07292860746383667, 0.04774635285139084, 0.042066626250743866, -0.02423090860247612, -0.04104059934616089, -0.0017359611811116338, -0.0010228414321318269, -0.03056824579834938, -0.0280831940472126, 0.017137086018919945, 0.07208872586488724, -0.1343793421983719, 0.03815935179591179, -0.02742363139986992, -0.034062258899211884, -0.06489232182502747, -0.049295663833618164, 0.030041953548789024, 0.016933051869273186, 0.039728011935949326, 0.2069549262523651, -0.04730435088276863, -0.015341855585575104, -0.02684928849339485, -0.08054319769144058, 0.06348341703414917, 0.023145968094468117, 0.0917934998869896, 0.06042347103357315, -0.053317513316869736, -0.015483335591852665, -0.058331046253442764, 0.010653475299477577, 0.06064268574118614, -0.01723145693540573, -0.034352656453847885, 0.03178563714027405, 0.006198556628078222, 0.04507031291723251, 0.05635973438620567, 0.005202353000640869, -0.035725947469472885, 0.02668626606464386, 0.0838451012969017, -0.002012548502534628, -0.013148210011422634, 0.04934951290488243, -0.005615856498479843, -0.0712539553642273, 0.06128837168216705, -0.04399081692099571, 0.014712276868522167, 0.039111413061618805, 0.006308302283287048, 0.041689325124025345, -0.01226356253027916, -0.01308449823409319, 0.02577737160027027, -0.012630334123969078, 0.0478258840739727, 0.031152669340372086, -0.031351443380117416, -0.0206613652408123, -0.013024111278355122, 0.0040931799449026585, -0.02972412109375, -0.014922349713742733, -0.003321565454825759, -0.013334243558347225, 0.009048744104802608, 0.025169741362333298, -0.002253411104902625, 0.04278843477368355, -0.001690044766291976, -0.008695602416992188, 0.030287759378552437, 0.031210845336318016, -0.036180201917886734, -0.021873055025935173, -0.016755621880292892, -0.02134489081799984, -0.01925193890929222, 0.06221620738506317, 0.03449557349085808, 0.014860180206596851, -0.04327433183789253, -0.01366755086928606, -0.02876632660627365, -0.0410965196788311, 0.023241566494107246, 0.0036101872101426125, 0.01755126565694809, -0.02875155583024025, -0.029808005318045616, 0.008569815196096897, -0.027372349053621292, 0.05998794734477997, 0.011513244360685349, -0.038847483694553375, 0.03702778369188309, -0.019563287496566772, 0.010383667424321175, -0.011907901614904404, -0.012400728650391102, -0.006290042772889137, 0.044715818017721176, -0.002136912662535906, 0.027469471096992493, -0.11008542031049728, -0.04280183091759682, 0.0030914917588233948, -0.0006971295806579292, 0.04991234838962555, -0.028682727366685867, 0.0308321975171566, 0.017985936254262924, -0.014898838475346565, 0.02708018384873867, -0.003423305694013834, 0.010631920769810677, 0.05175446346402168, -0.00590151734650135, -0.0126362144947052, 0.0023338866885751486, -0.021801430732011795, -0.016191892325878143, 0.016706041991710663, 0.03208202123641968, 0.0004169123130850494, 0.0653846338391304, 0.006029458250850439, -0.0237763449549675, -0.006959091871976852, -0.026136156171560287, 0.023789379745721817, -0.021970152854919434, 0.03308926895260811, 0.0009524596389383078, -0.009933969005942345, 0.017357826232910156, -0.03905699774622917, 0.010292449034750462, -0.06488781422376633, 0.03682016581296921, 0.004398372024297714, 0.021086743101477623, 0.04650907590985298, 0.037651028484106064, 0.005117315333336592, -0.01646564155817032, 0.018059179186820984, -0.01589866541326046, -0.006800393108278513, 0.004786350764334202, -0.0025964614469558, -0.0035001756623387337, 0.035798490047454834, -0.045210715383291245, -0.0378437340259552, -0.02328205667436123, 0.014592151157557964, 0.03504902124404907, 0.012684035114943981, 0.011383053846657276, 0.008681700564920902, -0.016203343868255615, 0.0026737211737781763, 0.005682496353983879, -0.05743112415075302, -0.026925284415483475, -0.03582893684506416, -0.00901864655315876, -0.03318541869521141, 0.03701833635568619, -0.005093597341328859, -0.014965081587433815, -0.02107287384569645, 0.034038837999105453, 0.0058014849200844765, 0.027510177344083786, -0.015280114486813545, 0.0074627818539738655, -0.04453542083501816, 0.0042685819789767265, -0.012761133722960949, -0.06456468254327774, 0.08367273956537247, 0.03846307471394539, -0.05533748120069504, 0.012600732035934925, -0.022344842553138733, -0.009804235771298409, 0.011698909103870392, -0.041003260761499405, 0.04496486857533455, 0.006958137731999159, 0.01556016132235527, 0.026048388332128525, -0.024452371522784233, -0.029659461230039597, 0.0034856589045375586, -0.01006900891661644, 0.02030693180859089, -0.013454191386699677, 0.03129033371806145, -0.0013014025753363967, -0.018147967755794525, 0.01282827090471983, 0.023795844987034798, -0.013180751353502274, -0.029590720310807228, -0.0026033171452581882, -0.017507279291749, 0.053576596081256866, -0.01811351627111435, -0.025407681241631508, 0.010713652707636356, -0.0007846105145290494, -0.03674493730068207, -0.006167193874716759, -0.005381731782108545, 0.010082072578370571, 0.0249815434217453, -0.004238502588123083, -0.01860113814473152, 0.029175225645303726, -0.025027498602867126, 0.012011555954813957, -0.009976085275411606, 0.0071229273453354836, 0.008958088234066963, 0.004115878604352474, 0.045848213136196136, -0.0040025366470217705, 0.009142492897808552, 0.005128428805619478, -0.024634432047605515, 0.006405096035450697, -0.03827769681811333, 0.025352053344249725, 0.03808511048555374, 0.011267565190792084, -0.0012225533137097955, 0.012774097733199596, -0.041081562638282776, 0.012440710328519344, -0.01975409872829914, -0.02906673215329647, -0.007696931250393391, 0.010355912148952484, 0.01658368483185768, -0.01732361875474453, 0.041562024503946304, -0.005120865534991026, -0.0314587838947773, 0.0005037523806095123, 0.008094027638435364, 0.025385066866874695, 0.0746450200676918, 0.007281715050339699, -0.04490683972835541, 0.005444586742669344, 0.03158806264400482, -0.004817767534404993, -0.02865407057106495, 0.015510975383222103, -0.0025502610951662064, 0.03634766861796379, 0.00415374431759119, 0.007488960400223732, -0.01792777143418789, 0.03812258690595627, 0.0029572700150310993, -0.0037277815863490105, -0.005699748173356056, -0.00703019043430686, 0.020371699705719948, -0.0407186858355999, 0.009259842336177826, -0.0024593465495854616, -0.01294828113168478, -0.029676146805286407, -0.013621197082102299, 0.011072153225541115, 0.05569121986627579, -0.012500318698585033, 0.016147304326295853, 0.038195643573999405, -0.0467313677072525, -0.018531769514083862, 0.04217471554875374, 0.0005720725748687983, 0.014797577634453773, 0.0416499599814415, 0.08471810817718506, 0.06199326366186142, -0.018108239397406578, -0.009928097017109394, 0.026566144078969955, 0.022012189030647278, 0.011275604367256165, -0.055071499198675156, 0.02601008675992489, -0.017400704324245453, 0.01753275841474533, -0.007389775011688471, -0.02369733899831772, -0.017899945378303528, 0.04728603735566139, 0.01748373731970787, -0.06102503836154938, -0.0063671814277768135, 0.017379654571413994, -0.026404520496726036, -0.004295276943594217, -0.05065063759684563, 0.017640242353081703, -0.0383172444999218, -0.0018057916313409805, -0.03697632998228073, -0.014572386629879475, -0.012933867983520031, 0.018396742641925812, -0.031368039548397064, 0.0198640376329422, -0.004560327157378197, 0.031018732115626335, 0.06808416545391083, -0.0039306809194386005, -0.007981273345649242, -0.0323050320148468, -0.03152632340788841, 0.011170143261551857, -0.02001812681555748, 0.010167978703975677, -0.005036140326410532, -0.007366015575826168, 0.029620300978422165, 0.03614511713385582, -0.020944790914654732, 0.023182593286037445, 0.028885573148727417, 0.020453868433833122, -0.011092317290604115, -0.009725985117256641, -0.014541304670274258, 0.021534662693738937, 0.002738664858043194, 0.004424470476806164, 0.02506939135491848, -0.04975828900933266, -0.016844559460878372, -0.026761822402477264, 0.03674672544002533, 0.09185010194778442, -0.0016395607963204384, -0.008536572568118572, -0.004855119623243809, 0.012291761115193367, 0.014937367290258408, 0.0039717708714306355, 0.029782921075820923, 0.0067561292089521885, 0.020290719345211983, -0.0017727476079016924, 0.012368963100016117, -0.031765323132276535, 0.007254985626786947, -0.0019019106402993202, -0.04131345823407173, 0.013238550163805485, 0.04702526330947876, -0.07631921023130417, 0.04450139030814171, 0.00026457622880116105, -0.04061296582221985, 0.012447686865925789, 0.018542814999818802, -0.00964965857565403, -0.002084221225231886, 0.029367240145802498, -0.0015466337790712714, 0.0032333608251065016, -0.005587770603597164, 0.053486865013837814, 0.05148422345519066, -0.015374988317489624, 0.04163762181997299, 0.0005307612009346485, 0.02728654257953167, 0.0283075962215662, 0.02787509374320507, 0.0008886775467544794, -0.012793942354619503, 0.05344928056001663, 0.052188195288181305, 0.05299396067857742, 0.06160178408026695, -0.04817866161465645, -0.022147996351122856, -0.013726340606808662, -0.010741271078586578, -0.05239745229482651, -0.01762162707746029, 0.012957566417753696, -0.006185103673487902, -0.0018485733307898045, -0.046061016619205475, 0.029136281460523605, 0.004217561334371567, 0.05165798217058182, -0.025072233751416206, -0.002606327412649989, 0.01294361799955368, -0.042099613696336746, 0.024703694507479668, 0.054306939244270325, 0.03261770308017731, 0.011807017959654331, 0.05530255287885666, 0.02599133737385273, 0.02125183679163456, -0.007681254297494888, 0.007120137568563223, -0.02285488322377205, -0.04664485529065132, -0.012594022788107395, 0.008968571200966835, 0.004584163427352905, 0.004074878059327602, -0.013902055099606514, 0.03583178296685219, -0.015446798875927925, 0.0030983604956418276, -0.027078233659267426, 0.040952086448669434, 0.0035831211134791374, -0.016956547275185585, 0.017272982746362686, 0.051895592361688614, -0.014021762646734715, -0.004035727586597204, 0.018591219559311867, -0.0035817045718431473, -0.0013046968961134553, -0.0010554775362834334, -0.04853992164134979, -0.020055091008543968, -0.009346305392682552, 0.012781764380633831, -0.031754713505506516, 0.008875399827957153, -0.01142937783151865, 0.02301109954714775, 0.014475087635219097, 0.004522338975220919, -0.012111961841583252, 0.03343736380338669, 0.008479010313749313, -0.013880272395908833, -0.025225330144166946, -0.0019108160631731153, 0.00841288361698389, 0.0059181079268455505, -0.0000012138223155488959, -0.025450583547353745, -0.026057127863168716, -0.04599298909306526, 0.041562676429748535, -0.005270578432828188, 0.020995551720261574, -0.004700252320617437, -0.043157223612070084, -0.032822731882333755, -0.025665026158094406, -0.0031731536146253347, 0.02561527118086815, 0.008474785834550858, -0.04453681409358978, 0.014250494539737701, 0.026694994419813156, 0.015685876831412315, -0.04371211677789688, 0.03912140056490898, 0.0484638512134552, 0.008819662034511566, -0.027977874502539635, -0.026465870440006256, 0.04231681302189827, 0.05395716428756714, 0.03515177220106125, 0.042595576494932175, 0.006856669206172228, 0.011196746490895748, -0.02555999532341957, 0.08783391118049622, -0.03563383221626282, 0.02426845207810402, -0.038955505937337875, -0.042730871587991714, 0.0033213947899639606, -0.03079451248049736, 0.0017283192137256265, -0.0108258668333292, -0.02908678911626339, -0.006018062122166157, -0.029771726578474045, -0.02335759438574314, -0.013647612184286118, -0.019316058605909348, 0.04507778212428093, 0.03477798402309418, 0.013502492569386959, 0.0012755218194797635, 0.0128323407843709, -0.0023289041128009558, -0.020862802863121033, 0.0037357392720878124, 0.03074023872613907, -0.02119290642440319, -0.0040799700655043125, -0.036560095846652985, -0.014852119609713554, -0.014684250578284264, -0.047890856862068176, 0.043274082243442535, 0.023083359003067017, -0.0016113696619868279, -0.02379979006946087, -0.035946838557720184, 0.03604191914200783, -0.029957802966237068, 0.047797102481126785, -0.008054853416979313, -0.03306858614087105, -0.016597077250480652, 0.024859681725502014, -0.04920974373817444, -0.006888171657919884, -0.0007310444489121437, -0.012541108764708042, 0.038743048906326294, -0.022872326895594597, 0.05213742330670357, -0.02244247868657112, 0.012716304510831833, -0.011026989668607712, -0.000587552844081074, -0.046550966799259186, -0.026027128100395203, 0.002788977464661002, -0.012731336057186127, -0.04074782133102417, -0.047347985208034515, 0.02043081633746624, 0.01855579763650894, 0.009788800962269306, -0.024361813440918922, -0.04002361744642258, -0.006248664576560259, 0.01807232014834881, -0.00432527344673872, 0.002121786819770932, 0.045117512345314026, 0.0034454313572496176, -0.007910091429948807, -0.009168453514575958, -0.0005594328977167606 ]
Open-Source Text Generation & LLM Ecosystem at Hugging Face
merve
July 17, 2023
os-llms
LLM, inference, nlp
https://huggingface.co/blog/os-llms
Text Generation Inference Response time and latency for concurrent users are a big challenge for serving these large models. To tackle this problem, Hugging Face has released text-generation-inference (TGI), an open-source serving solution for large language models built on Rust, Python, and gRPc. TGI is integrated into inference solutions of Hugging Face, Inference Endpoints, and Inference API, so you can directly create an endpoint with optimized inference with few clicks, or simply send a request to Hugging Face's Inference API to benefit from it, instead of integrating TGI to your platform. TGI currently powers HuggingChat, Hugging Face's open-source chat UI for LLMs. This service currently uses one of OpenAssistant's models as the backend model. You can chat as much as you want with HuggingChat and enable the Web search feature for responses that use elements from current Web pages. You can also give feedback to each response for model authors to train better models. The UI of HuggingChat is also open-sourced, and we are working on more features for HuggingChat to allow more functions, like generating images inside the chat. Recently, a Docker template for HuggingChat was released for Hugging Face Spaces. This allows anyone to deploy their instance based on a large language model with only a few clicks and customize it. You can create your large language model instance here based on various LLMs, including Llama 2.
[ -0.01802056096494198, -0.02535429038107395, 0.058991093188524246, -0.036574821919202805, -0.011171410791575909, 0.05794429033994675, 0.054837871342897415, 0.05559537187218666, 0.00043179639033041894, -0.061089079827070236, -0.09672118723392487, 0.00676450552418828, -0.039321646094322205, 0.06139432638883591, -0.033767543733119965, -0.019320081919431686, 0.024676162749528885, -0.0020917595829814672, -0.040354758501052856, 0.053387098014354706, 0.024280434474349022, 0.014738994650542736, 0.013480089604854584, -0.026466403156518936, -0.017940975725650787, -0.018041012808680534, -0.022770322859287262, 0.03164231404662132, 0.013775252737104893, -0.015037564560770988, -0.05686715990304947, -0.048033177852630615, -0.013251862488687038, -0.025609327480196953, 0.012309490703046322, -0.018972739577293396, -0.18701894581317902, 0.00018651215941645205, -0.012275503017008305, 0.026203632354736328, 0.06547780334949493, 0.005296809133142233, -0.022821776568889618, 0.03595359995961189, 0.01123577170073986, -0.0165097676217556, -0.053950242698192596, 0.025985725224018097, -0.013664130121469498, -0.01569540612399578, -0.10214599221944809, 0.05560171604156494, -0.06058909371495247, -0.025169024243950844, 0.05476998910307884, 0.018271511420607567, 0.023536693304777145, -0.1050034612417221, -0.027185993269085884, 0.012423965148627758, -0.04853349179029465, 0.00271035498008132, 0.03831018507480621, 0.031220415607094765, -0.0023799357004463673, 0.03163820505142212, -0.08921601623296738, -0.03861217573285103, -0.013691918924450874, -0.006699495017528534, 0.016017450019717216, 0.060155756771564484, -0.05474745109677315, -0.003187962342053652, 0.04695667326450348, 0.01264351699501276, -0.06233693286776543, 0.04529154673218727, -0.025384575128555298, -0.019086165353655815, -0.07166425883769989, 0.038633979856967926, 0.04414535313844681, -0.05931573361158371, 0.05072993040084839, 0.10905364155769348, -0.007029229309409857, -0.09334337711334229, -0.0638125017285347, -0.006507251411676407, 0.010362984612584114, -0.1470068395137787, -0.02082645893096924, 0.03178919851779938, 0.003978025633841753, 0.05737153813242912, 0.016604244709014893, 0.07209016382694244, 0.03692987188696861, -0.027436481788754463, -0.024582860991358757, -0.1010577380657196, -0.018734175711870193, -0.07186394929885864, -0.07054924219846725, 0.036157865077257156, -0.038117293268442154, -0.0887826532125473, -0.06622163206338882, -0.0294327475130558, 0.05855302885174751, 0.024222631007432938, 0.00943989772349596, 0.07096406817436218, -0.0870014950633049, 0.05169353634119034, -0.05494651943445206, -0.014718129299581051, 0.03774604573845863, -0.033329207450151443, 0.022158412262797356, 0.02194756455719471, 0.04367907717823982, -0.0375894233584404, 0.00513404281809926, 0.06359542161226273, 0.006178430747240782, 0.0022362249437719584, 0.02994522638618946, -0.005609974730759859, 0.04643968492746353, 0.013081706129014492, 0.012916705571115017, -0.003608332946896553, 0.014466635882854462, -0.006967050489038229, 0.034498266875743866, -0.07756134867668152, -0.0196678563952446, -0.044848449528217316, 0.015259495936334133, 0.030539238825440407, 0.03414584696292877, -0.02286190167069435, 0.05773461237549782, -0.017538705840706825, -0.09502328187227249, 0.0033196737058460712, 0.02504662610590458, -0.03861965239048004, -0.122487373650074, 0.04123241454362869, -0.009607218205928802, 0.02898210473358631, 0.014084458351135254, 0.040465641766786575, -0.01864021271467209, 0.02221664786338806, -0.04536377266049385, -0.03820187970995903, -0.020031942054629326, -0.012409952469170094, -0.04764387756586075, -0.028412533923983574, 0.01451144739985466, -0.024502677842974663, -0.04399511218070984, 0.04531364515423775, -0.0046799760311841965, -0.028430964797735214, -0.04398156329989433, 0.024173228070139885, 0.034015581011772156, -0.0036018495447933674, 0.035794880241155624, -0.004821546841412783, 0.018484801054000854, -0.0002505648008082062, 0.024733848869800568, -0.04473717510700226, -0.0814194306731224, 0.00416399072855711, 0.05542008951306343, -0.003987239673733711, 0.022422170266509056, -0.12818537652492523, 0.05595759302377701, -0.05821065232157707, -0.02175900526344776, -0.03446818143129349, 0.0032926518470048904, 0.0182937141507864, 0.08946368098258972, 0.01501843798905611, 0.013931823894381523, -0.0074501303024590015, -0.01531887799501419, 0.05831655487418175, 0.04889988899230957, 0.1043122187256813, -0.0030883573926985264, 0.029908830299973488, 0.056358691304922104, -0.042235519737005234, -0.023761101067066193, 0.003489204216748476, -0.011957226321101189, -0.012680570594966412, -0.05439157038927078, 0.0455998033285141, 0.028109611943364143, -0.1267480105161667, 0.03871174901723862, 0.031070813536643982, -0.03712557628750801, -0.0715109184384346, 0.009659013710916042, -0.049756236374378204, 0.057054609060287476, -0.023314133286476135, 0.17038333415985107, -0.0458955280482769, -0.006009997334331274, -0.1026129275560379, 0.02088974416255951, 0.043610189110040665, 0.04003782197833061, 0.07467021048069, 0.05802525579929352, -0.06169276311993599, -0.011295759119093418, -0.04212306812405586, -0.03666111081838608, 0.005869473330676556, 0.013982899487018585, -0.014254732988774776, -0.014358972199261189, -0.015077437274158001, 0.0027050410863012075, -0.022118261083960533, 0.031459104269742966, -0.004013511352241039, -0.0303971990942955, 0.027221105992794037, 0.018706785514950752, -0.04192376881837845, 0.0028098267503082752, 0.014181280508637428, -0.04642583057284355, -0.025322217494249344, 0.015115300193428993, 0.0701633095741272, 0.029559768736362457, 0.0078945467248559, 0.030744487419724464, -0.06931596994400024, -0.022671615704894066, 0.008994027972221375, -0.0113240797072649, 0.06726356595754623, 0.029350219294428825, -0.01131408754736185, 0.011495457962155342, -0.009079493582248688, -0.011067647486925125, -0.005704153329133987, -0.020902251824736595, 0.004851474892348051, -0.003998271189630032, 0.003345094621181488, 0.03794390335679054, -0.01000535860657692, -0.02448396570980549, 0.004726314917206764, 0.03556017205119133, 0.04031581059098244, 0.013991182669997215, -0.009976901113986969, -0.028455175459384918, -0.035532720386981964, 0.004737306851893663, -0.021372593939304352, 0.021756159141659737, 0.047490525990724564, -0.004641128703951836, -0.027312681078910828, 0.003898879513144493, -0.0426487997174263, -0.03391663357615471, 0.04748782888054848, 0.0518612377345562, 0.004315100610256195, 0.028650404885411263, -0.014798350632190704, 0.008941976353526115, -0.006072050426155329, 0.03929443284869194, -0.047265615314245224, 0.0017246147617697716, -0.031410858035087585, 0.011204333044588566, -0.049103397876024246, 0.001775088021531701, 0.01883220300078392, 0.01103435829281807, 0.04843106120824814, -0.02211882546544075, -0.001662026741541922, -0.062410395592451096, -0.03207088261842728, -0.021174045279622078, -0.03527766838669777, 0.014801349490880966, 0.021681752055883408, 0.059825073927640915, -0.03860407695174217, 0.029463645070791245, 0.07321281731128693, -0.03982384130358696, 0.017159605398774147, 0.008448759093880653, -0.030656486749649048, 0.0035913337487727404, -0.0167126152664423, -0.0353977344930172, -0.016032956540584564, 0.033892665058374405, -0.009038083255290985, -0.0009122559567913413, 0.01210111752152443, 0.016814639791846275, -0.003433322999626398, -0.028691409155726433, -0.019735515117645264, 0.031204337254166603, -0.03454889357089996, 0.033105917274951935, -0.0573950819671154, -0.008963598869740963, -0.02642415650188923, 0.014984030276536942, 0.002454824047163129, -0.03895457088947296, 0.027044910937547684, 0.0012627264950424433, 0.03961881622672081, 0.023264238610863686, 0.021748941391706467, 0.03710353001952171, 0.013642537407577038, 0.026688624173402786, -0.031241733580827713, 0.018834136426448822, -0.001451123389415443, 0.0012028466444462538, 0.009762188419699669, 0.057488713413476944, -0.011031892150640488, 0.015059187076985836, -0.02600587159395218, 0.013865536078810692, 0.05633539333939552, -0.0008894898928701878, 0.028380677103996277, 0.004901489242911339, -0.016766179352998734, -0.0031625106930732727, -0.010442392900586128, -0.07425645738840103, 0.018636267632246017, -0.02968546934425831, -0.0384802371263504, -0.01530261430889368, 0.08377446979284286, 0.02799203246831894, -0.042642999440431595, -0.018286138772964478, 0.01537067536264658, 0.013234468176960945, 0.07438777387142181, 0.004047022201120853, 0.0016038932371884584, -0.020420657470822334, 0.015034652315080166, -0.02346956543624401, -0.09014422446489334, 0.0731888934969902, -0.015350894071161747, -0.02065865322947502, -0.019118783995509148, -0.057993728667497635, 0.04404839500784874, 0.014789464883506298, -0.014986978843808174, 0.03320473060011864, -0.04229769855737686, 0.03633667156100273, 0.027925660833716393, -0.02237280271947384, 0.004025502596050501, -0.009775246493518353, 0.012241113930940628, 0.010160723701119423, 0.004011034034192562, 0.03045598231256008, 0.04642820730805397, 0.018029525876045227, -0.004347762558609247, 0.02117067016661167, -0.05454958230257034, 0.003244684310629964, -0.005679104942828417, -0.036423079669475555, 0.01744971051812172, -0.024686580523848534, 0.016322029754519463, 0.020208951085805893, 0.01737051084637642, -0.02508901245892048, -0.015710528939962387, -0.021661199629306793, -0.0032890939619392157, 0.027539553120732307, 0.0347551554441452, -0.00390534452162683, 0.009652241133153439, -0.014885497279465199, -0.01145284716039896, -0.011277017183601856, 0.015114272944629192, 0.024226756766438484, -0.009807881899178028, 0.07252147048711777, 0.026941198855638504, 0.0053757852874696255, -0.02546973153948784, 0.024368835613131523, -0.02244398184120655, -0.030195318162441254, -0.0009024729370139539, 0.07817103713750839, 0.023104960098862648, 0.010517538525164127, -0.030986705794930458, -0.030899163335561752, -0.01533852145075798, -0.027172958478331566, 0.009737834334373474, -0.02223476581275463, 0.022211413830518723, -0.007968783378601074, -0.06296619772911072, -0.018350157886743546, 0.03602948412299156, 0.027943402528762817, 0.011547998525202274, -0.016315992921590805, 0.028027471154928207, -0.005154524464160204, -0.026027904823422432, 0.006207069847732782, -0.006855179090052843, 0.08105595409870148, 0.02068730816245079, -0.005405534524470568, 0.044362086802721024, 0.04014066606760025, 0.04867655038833618, 0.017648454755544662, 0.02613796293735504, -0.00471709156408906, 0.020410988479852676, 0.008722598664462566, -0.0021300490479916334, 0.02128710225224495, -0.0031921062618494034, -0.03193657845258713, -0.03557354211807251, -0.07072997838258743, 0.069551020860672, 0.013934426009654999, -0.01289321668446064, 0.003659461159259081, 0.045181211084127426, 0.04348303750157356, -0.00022481661289930344, -0.030416339635849, 0.030422450974583626, -0.05713970214128494, -0.04171578213572502, 0.07223360985517502, 0.010821574367582798, 0.02107955887913704, 0.009461897425353527, 0.06447187811136246, 0.05479332432150841, 0.013155821710824966, 0.008549300022423267, -0.0011838198406621814, 0.011714930646121502, -0.0058868988417088985, -0.028107719495892525, 0.009622221812605858, -0.04496883228421211, -0.017989790067076683, 0.016480080783367157, 0.025806555524468422, 0.021614301949739456, 0.020536888390779495, 0.024858636781573296, -0.03375973179936409, -0.02099202200770378, 0.008449220098555088, -0.0025348507333546877, -0.002337915822863579, -0.03079264983534813, 0.04439425840973854, -0.020290324464440346, -0.033557597547769547, -0.025279169902205467, -0.01662277802824974, 0.022389499470591545, 0.00940271932631731, -0.0045439391396939754, 0.02125893160700798, 0.017055589705705643, 0.00424076896160841, 0.03440682962536812, -0.05858723074197769, -0.040755774825811386, 0.02362271025776863, -0.048847049474716187, 0.009614040143787861, 0.016900684684515, -0.030899550765752792, -0.024356573820114136, -0.011381440795958042, 0.01294534932821989, 0.029459290206432343, 0.0047265165485441685, 0.018714189529418945, 0.05056678131222725, 0.019157374277710915, 0.05522356554865837, -0.006156417541205883, 0.003004522528499365, 0.03557407110929489, -0.017044123262166977, 0.024663563817739487, -0.015962600708007812, -0.00488845631480217, -0.013595259748399258, -0.025379709899425507, 0.01636086031794548, 0.0459093302488327, -0.0072342148050665855, -0.022467801347374916, -0.015578088350594044, 0.006122843362390995, -0.00954416673630476, 0.027229707688093185, -0.00706526217982173, 0.001791841583326459, -0.015466704964637756, 0.04596460983157158, -0.002171838888898492, -0.0009242747910320759, 0.00216175545938313, -0.036647941917181015, -0.027296245098114014, 0.011226012371480465, 0.0019823741167783737, -0.021647850051522255, 0.008331380784511566, -0.01973625458776951, -0.01976071111857891, 0.015030274167656898, 0.02900541014969349, -0.0028574964962899685, -0.03270401060581207, 0.014628187753260136, -0.009000103920698166, 0.0061814370565116405, 0.0020900543313473463, -0.0014434715267270803, 0.034432344138622284, 0.051419634371995926, 0.028155311942100525, 0.03946537524461746, 0.04560311883687973, 0.012131177820265293, -0.00906467717140913, 0.013987328857183456, -0.035495106130838394, 0.06092115864157677, -0.00008321776113007218, 0.0013817285653203726, -0.0032061110250651836, -0.037106700241565704, 0.02326981909573078, 0.006911371368914843, -0.034324463456869125, -0.004289868753403425, 0.007141501642763615, 0.020809877663850784, 0.021305402740836143, 0.04194916412234306, 0.005671922117471695, 0.05229442939162254, 0.020286357030272484, 0.04419213905930519, 0.019817141816020012, -0.047380901873111725, 0.004531759303063154, -0.007660958915948868, 0.013516337610781193, 0.005564799997955561, 0.005523434840142727, -0.050934385508298874, 0.042122069746255875, 0.03274131193757057, 0.033001068979501724, -0.008069504983723164, -0.014036329463124275, 0.008691046386957169, -0.014476134441792965, -0.0011827065609395504, 0.032687753438949585, -0.012222369201481342, 0.022811444476246834, 0.005296490155160427, 0.0007513333694078028, 0.0007989902514964342, 0.008838477544486523, -0.00866406224668026, -0.008092639036476612, -0.005719983018934727, -0.026318399235606194, -0.014593790285289288, 0.023701731115579605, 0.01991376467049122, -0.025029897689819336, 0.020690293982625008, -0.014770636335015297, 0.0502668060362339, -0.006427426356822252, -0.023549942299723625, 0.0005407761782407761, 0.014576348476111889, 0.002120791934430599, -0.006770356558263302, 0.008295423351228237, -0.01468438096344471, 0.022394392639398575, 0.015671471133828163, 0.051115650683641434, 0.019348766654729843, 0.02488027699291706, 0.015889789909124374, 0.024707943201065063, -0.0392930693924427, 0.04293060302734375, 0.0053108856081962585, -0.027318282052874565, -0.05064200609922409, -0.012490583583712578, -0.032181378453969955, -0.027182040736079216, 0.06836359202861786, 0.042130835354328156, 0.060070786625146866, -0.0408925898373127, -0.03776472434401512, 0.01511631440371275, 0.011335374787449837, -0.024738198146224022, 0.06972957402467728, 0.002706509083509445, 0.007701545488089323, 0.020260939374566078, 0.016969207674264908, 0.0020185767207294703, 0.004111138638108969, -0.007595239207148552, 0.07848423719406128, -0.0010305936448276043, -0.07568876445293427, 0.0018963131587952375, 0.022051583975553513, 0.04215983301401138, 0.0466245636343956, 0.0013268040493130684, -0.03554364666342735, -0.02815036103129387, 0.016682248562574387, -0.003671749960631132, -0.023325510323047638, 0.03556077554821968, -0.04818876460194588, -0.04291744902729988, -0.04875162988901138, 0.012118520215153694, -0.02345212548971176, 0.0062807179056108, 0.015041801147162914, 0.006205115932971239, -0.01946995221078396, 0.016339506953954697, -0.002732019405812025, 0.0064048003405332565, 0.04966270178556442, -0.022190842777490616, 0.008058479055762291, -0.005820365622639656, 0.004470570012927055, 0.001334395376034081, 0.003899205010384321, 0.02765451930463314, 0.03943890705704689, 0.00791079644113779, 0.0008658096776343882, -0.02305683307349682, -0.031812041997909546, -0.0011233637342229486, -0.05310604348778725, 0.03963581100106239, 0.021827124059200287, -0.02361004799604416, -0.026527289301156998, 0.040178604423999786, 0.05306015536189079, -0.038769710808992386, 0.030333098024129868, -0.016942769289016724, -0.011125190183520317, -0.00639787083491683, 0.0017138505354523659, -0.05527324602007866, 0.006399581674486399, 0.009250177070498466, -0.004051310941576958, 0.01932746358215809, -0.028680499643087387, 0.04997995123267174, -0.026945728808641434, 0.009529112838208675, 0.016753828153014183, 0.00658646272495389, -0.04881269484758377, -0.002730683656409383, 0.03148728236556053, 0.014304082840681076, -0.015538995154201984, 0.018038464710116386, 0.002767925849184394, -0.007878722622990608, -0.009028707630932331, -0.019728122279047966, -0.0011162597220391035, -0.033062972128391266, -0.018206097185611725, 0.017875107005238533, 0.016667388379573822, 0.03634641692042351, 0.0636342316865921, -0.03210865333676338, -0.04060271009802818, -0.0007112465100362897 ]
Open-Source Text Generation & LLM Ecosystem at Hugging Face
merve
July 17, 2023
os-llms
LLM, inference, nlp
https://huggingface.co/blog/os-llms
Parameter Efficient Fine Tuning (PEFT) If you’d like to fine-tune one of the existing large models on your instruction dataset, it is nearly impossible to do so on consumer hardware and later deploy them (since the instruction models are the same size as the original checkpoints that are used for fine-tuning). PEFT is a library that allows you to do parameter-efficient fine-tuning techniques. This means that rather than training the whole model, you can train a very small number of additional parameters, enabling much faster training with very little performance degradation. With PEFT, you can do low-rank adaptation (LoRA), prefix tuning, prompt tuning, and p-tuning. You can check out further resources for more information on text generation. Further Resources - Together with AWS we released TGI-based LLM deployment deep learning containers called LLM Inference Containers. Read about them here. - Text Generation task page to find out more about the task itself. - PEFT announcement blog post. - Read about how Inference Endpoints use TGI here. - Read about how to fine-tune Llama 2 transformers and PEFT, and prompt here.
[ 0.08963804692029953, -0.028134340420365334, 0.046214982867240906, 0.05141949653625488, 0.053563494235277176, 0.04446839168667793, 0.01303335465490818, 0.051977455615997314, 0.05779213830828667, -0.010965499095618725, -0.033601097762584686, -0.02851199544966221, -0.04949461296200752, -0.01578793115913868, -0.032433465123176575, -0.021551823243498802, 0.08057837188243866, -0.07089623063802719, -0.046046704053878784, 0.04122556746006012, 0.07859545201063156, -0.08238670974969864, 0.07324343174695969, 0.02598789893090725, -0.027557119727134705, 0.02479511685669422, 0.058029722422361374, 0.006459535099565983, 0.013917000964283943, 0.0612509660422802, -0.04798639938235283, -0.019229473546147346, -0.04684242233633995, -0.022219255566596985, 0.0005968597833998501, -0.06783857941627502, -0.05921458452939987, 0.04251277446746826, -0.04562656208872795, -0.012555642053484917, -0.06562410295009613, -0.039428289979696274, 0.005978359840810299, 0.04662366211414337, 0.015322074294090271, -0.03356095030903816, -0.06177639216184616, 0.04530004411935806, 0.01400337927043438, -0.04178475961089134, -0.11333934962749481, 0.07363385707139969, 0.037065573036670685, -0.006337730213999748, 0.07031147181987762, 0.02225251868367195, 0.03777351975440979, -0.05673229321837425, 0.005115446634590626, 0.028263524174690247, 0.02709239535033703, 0.029280342161655426, 0.020270563662052155, 0.008884702809154987, 0.03744235634803772, -0.03600318729877472, -0.020355530083179474, 0.014840034767985344, -0.007513096090406179, -0.021821528673171997, 0.03593811020255089, -0.02077154442667961, 0.01965968683362007, -0.027533385902643204, -0.0023948135785758495, -0.06222467124462128, 0.030994731932878494, 0.022443316876888275, 0.011065219528973103, 0.05108648166060448, -0.03127565607428551, 0.07050494849681854, 0.008649134077131748, 0.010237681679427624, 0.027345027774572372, 0.014518835581839085, 0.027058452367782593, -0.030261268839240074, -0.03999060019850731, -0.024443360045552254, -0.0034162490628659725, -0.13337615132331848, -0.0875670537352562, 0.028840254992246628, 0.02837347611784935, 0.0350293330848217, -0.004898225888609886, -0.03037230856716633, 0.03920714557170868, -0.02166786789894104, -0.014106912538409233, -0.06998112797737122, 0.051323406398296356, -0.052117519080638885, -0.08198794722557068, 0.006919961888343096, 0.011065958999097347, -0.10061318427324295, -0.10501442849636078, 0.025970133021473885, 0.012489673681557178, 0.041996557265520096, -0.001117307343520224, 0.09845145791769028, -0.07304232567548752, 0.023222364485263824, 0.03504001349210739, -0.04891442134976387, -0.0312722772359848, -0.028173135593533516, -0.01428239420056343, 0.11426840722560883, 0.10272940993309021, -0.012101763859391212, 0.01237726304680109, 0.05083008110523224, 0.028301529586315155, -0.011496875435113907, 0.06586889922618866, 0.06375210732221603, 0.04852735996246338, -0.058221567422151566, -0.027938099578022957, 0.0017984539736062288, -0.014670134522020817, -0.052340831607580185, -0.012306594289839268, -0.05685904249548912, 0.037725623697042465, 0.01790417544543743, -0.00905787106603384, -0.0022445949725806713, 0.02264774590730667, -0.09860170632600784, 0.06161973997950554, 0.015346587635576725, 0.021043477579951286, 0.039683748036623, 0.0013357001589611173, 0.027883442118763924, -0.06072763726115227, 0.07946958392858505, -0.014706702902913094, -0.026487475261092186, 0.015207192860543728, 0.04514826461672783, 0.0031790207140147686, -0.010350444354116917, -0.03188442811369896, -0.028231170028448105, -0.0697016716003418, -0.026760084554553032, -0.02861407957971096, -0.0044213333167135715, 0.014006939716637135, -0.01727859303355217, -0.0018541391473263502, 0.02911803126335144, 0.04349580779671669, 0.04594177007675171, 0.05268346145749092, 0.03136460855603218, 0.0825183168053627, 0.015685560181736946, -0.019907813519239426, -0.0015126316575333476, 0.01673840545117855, 0.013425919227302074, 0.001449481351301074, -0.001705843023955822, -0.021078888326883316, 0.08728817850351334, -0.017940353602170944, 0.09032615274190903, -0.012003211304545403, -0.06584349274635315, 0.06934905797243118, -0.09577315300703049, 0.00828368216753006, -0.06384243816137314, -0.05495564639568329, 0.05985590070486069, 0.07525394856929779, 0.010132471099495888, 0.04839036241173744, -0.06645334511995316, -0.025210095569491386, 0.08528363704681396, 0.11041398346424103, 0.04217613860964775, -0.004785399418324232, 0.06418341398239136, 0.006622193846851587, 0.019814565777778625, -0.022036347538232803, -0.026132725179195404, -0.027166645973920822, 0.028094399720430374, 0.010817174799740314, 0.048288315534591675, 0.04864976555109024, -0.0856848731637001, -0.024753492325544357, -0.07825549691915512, 0.028264382854104042, -0.07000931352376938, 0.0078138317912817, -0.03483402356505394, -0.0011960184201598167, -0.05549401417374611, 0.12445863336324692, 0.0018590339459478855, -0.008979138918220997, -0.0365682989358902, -0.010625948198139668, -0.005229025613516569, 0.05705486983060837, -0.044861115515232086, 0.034858450293540955, -0.0332435704767704, 0.01205899566411972, -0.07986818253993988, -0.044835325330495834, 0.041215404868125916, 0.02734421007335186, -0.04117169976234436, -0.03679322078824043, -0.026120919734239578, 0.07025094330310822, -0.0019029071554541588, 0.0445626936852932, 0.04562986269593239, -0.0477512925863266, 0.05452615022659302, 0.06682124733924866, -0.04512506723403931, 0.0312484260648489, -0.018902204930782318, -0.006439840886741877, -0.02434859424829483, -0.05251431465148926, 0.0038189529441297054, 0.032875534147024155, -0.030741387978196144, -0.04829287528991699, -0.03769220784306526, -0.013980464078485966, 0.009461818262934685, -0.014107094146311283, 0.05235465243458748, -0.008306987583637238, 0.040864504873752594, 0.01945229433476925, 0.014808079227805138, 0.012411879375576973, -0.040599774569272995, 0.0039960043504834175, 0.03595361113548279, -0.023390792310237885, -0.046402957290410995, 0.024980274960398674, -0.04065437614917755, -0.029387956485152245, 0.012022914364933968, -0.009443976916372776, 0.013198226690292358, 0.03748084604740143, -0.03805558755993843, -0.02476920373737812, -0.060360077768564224, 0.010508966632187366, -0.018029101192951202, 0.020887335762381554, 0.003505312604829669, 0.017011748626828194, 0.008210564032196999, 0.0010506481630727649, -0.006746775005012751, -0.022022079676389694, 0.010592152364552021, 0.04413546249270439, -0.03923476114869118, -0.019203737378120422, 0.02064049057662487, -0.02347785048186779, -0.003833652939647436, 0.016165390610694885, 0.013759768567979336, -0.006336517166346312, -0.012740013189613819, 0.006880199536681175, -0.031745146960020065, 0.020777257159352303, -0.0114459078758955, 0.0006155726150609553, 0.02369876764714718, -0.014918790198862553, 0.019996119663119316, -0.07638417929410934, -0.03235286846756935, 0.008118581026792526, -0.0006858852575533092, -0.009151684120297432, -0.02868659794330597, 0.038098547607660294, -0.06439059227705002, 0.036556486040353775, 0.028935935348272324, -0.0034583164379000664, 0.04619215056300163, 0.012564065866172314, 0.007538232021033764, 0.0071717617101967335, 0.01053140964359045, 0.013004254549741745, -0.008536205627024174, 0.015203413553535938, -0.024329986423254013, -0.014124556444585323, 0.010626457631587982, 0.01752634346485138, 0.03628357872366905, 0.016026178374886513, -0.01827831007540226, -0.0132900420576334, -0.02519344352185726, -0.00004556229032459669, -0.03139595687389374, 0.017269432544708252, -0.033646244555711746, -0.008477269671857357, 0.023953156545758247, -0.010105420835316181, 0.00882016308605671, 0.004154361318796873, 0.009809392504394054, 0.05053943395614624, 0.04199786111712456, 0.02160806395113468, -0.014626157470047474, 0.04234814643859863, -0.006249162834137678, 0.013942399993538857, 0.010489503853023052, -0.02505945973098278, -0.022995375096797943, 0.06909429281949997, -0.023327812552452087, -0.036294370889663696, -0.008447114378213882, 0.00783560425043106, 0.0166467372328043, 0.006637968122959137, 0.019364189356565475, 0.01862003467977047, -0.00040669264853931963, 0.010066553950309753, 0.006556329783052206, -0.06205866113305092, 0.0019298106199130416, -0.0005903218989260495, 0.004488945938646793, 0.026933899149298668, 0.002563678892329335, 0.003934118896722794, -0.03353997319936752, 0.01241699792444706, 0.007327105849981308, -0.02650509588420391, 0.04975505545735359, 0.024375740438699722, -0.0020362231880426407, -0.01230907067656517, -0.022060969844460487, -0.013523482717573643, -0.007160317152738571, 0.00818506721407175, 0.019668027758598328, -0.017214376479387283, -0.01539650559425354, -0.025355203077197075, 0.015341060236096382, 0.05371799319982529, 0.012558924965560436, -0.03942331299185753, -0.11200980842113495, 0.0012619278859347105, -0.006895159836858511, 0.026588041335344315, 0.022216349840164185, 0.020768217742443085, 0.00031919710454531014, 0.010116765275597572, 0.012071632780134678, 0.004691093694418669, 0.031157612800598145, -0.03233077749609947, 0.009040454402565956, 0.010540269315242767, -0.036861736327409744, 0.010763993486762047, 0.02040243335068226, -0.06652546674013138, 0.0017794949235394597, -0.030952725559473038, 0.0035970122553408146, -0.009651309810578823, 0.02532445453107357, -0.037947408854961395, -0.021414155140519142, -0.008685290813446045, -0.018592355772852898, 0.024775508791208267, 0.03791022673249245, 0.012066785246133804, 0.02588331140577793, -0.010546850040555, 0.009161130525171757, -0.04200078174471855, -0.005252371542155743, 0.017469758167862892, -0.03500718995928764, 0.06238437816500664, -0.018518934026360512, 0.06013549119234085, 0.01188647747039795, -0.0029889817815274, -0.0012631798163056374, -0.025643164291977882, 0.009172425605356693, 0.037791989743709564, 0.04076286777853966, -0.03938126564025879, -0.006876374129205942, -0.010413223877549171, 0.005281153135001659, 0.016319792717695236, -0.007124077994376421, -0.014730083756148815, -0.003022399265319109, 0.030643299221992493, -0.018452834337949753, 0.08640304952859879, 0.03630749508738518, -0.0045459275133907795, 0.003993452526628971, -0.022408369928598404, 0.036367740482091904, 0.0068899174220860004, -0.013581362552940845, -0.028530389070510864, -0.03500153496861458, 0.015070246532559395, -0.08271343261003494, -0.0002527250908315182, -0.004481116775423288, 0.01721266843378544, 0.058902308344841, -0.0007452494464814663, 0.010665626265108585, -0.08712323755025864, 0.03586650267243385, 0.011101133190095425, -0.017324484884738922, 0.008633752353489399, 0.015288785099983215, -0.04031931608915329, -0.046103399246931076, 0.006898284424096346, -0.02152877300977707, 0.027104584500193596, -0.003434860147535801, 0.0192397553473711, 0.017349373549222946, 0.049075525254011154, -0.03596385940909386, -0.043428897857666016, 0.026511766016483307, 0.00893488060683012, -0.04182181507349014, 0.049937475472688675, 0.04568827524781227, 0.003844772232696414, 0.01511744037270546, 0.042960863560438156, 0.03273547440767288, -0.007555310148745775, 0.000769403122831136, 0.054127223789691925, -0.013232709839940071, 0.0067262351512908936, 0.026665182784199715, -0.01809001713991165, 0.007530983537435532, 0.0037651285529136658, 0.018367113545536995, -0.06320568919181824, -0.03636546805500984, 0.02266068197786808, 0.011636408045887947, -0.03909269720315933, -0.03641802817583084, 0.002544285962358117, -0.00023723226331640035, -0.0015038772253319621, -0.009589670225977898, 0.023197678849101067, -0.012334838509559631, -0.04220471903681755, -0.025837590917944908, 0.02085014618933201, -0.013038490898907185, 0.033730119466781616, -0.032296739518642426, -0.010569843463599682, 0.007495710160583258, 0.019570155069231987, -0.02660226821899414, -0.01046683732420206, -0.050439320504665375, 0.014373826794326305, -0.026238683611154556, -0.0269965510815382, -0.04379956051707268, 0.03206871449947357, -0.0164656862616539, -0.0017438362119719386, 0.03258815035223961, -0.0004594663914758712, -0.0006025570910423994, -0.025658639147877693, 0.05316035449504852, -0.008708745241165161, 0.010452083311975002, -0.06570080667734146, 0.009440777823328972, 0.08100219070911407, 0.017169930040836334, -0.037850115448236465, -0.04705279320478439, -0.05419211834669113, 0.0013178929220885038, -0.07723680883646011, 0.057900574058294296, 0.015401751734316349, -0.016046935692429543, 0.005595399532467127, 0.020233580842614174, -0.006030358374118805, -0.04016388952732086, 0.013406254351139069, 0.01793719455599785, 0.00043433671817183495, 0.011183532886207104, 0.03496815264225006, -0.024504922330379486, 0.04514794051647186, -0.010480398312211037, 0.00531418202444911, -0.012720875442028046, 0.012296294793486595, 0.046629346907138824, -0.032196011394262314, 0.01719348132610321, -0.014383852481842041, -0.03315136581659317, 0.015924610197544098, 0.00803733617067337, -0.009828491136431694, -0.011852378025650978, 0.00846877135336399, -0.014081680215895176, 0.013941955752670765, 0.01323613990098238, -0.012463795021176338, 0.007622122764587402, 0.07437075674533844, 0.0015638958429917693, 0.03515680879354477, 0.061113279312849045, 0.04192101210355759, -0.028524698689579964, -0.020948758348822594, 0.003708671545609832, 0.059725385159254074, 0.019087960943579674, 0.0089602405205369, 0.016324719414114952, 0.016817273572087288, 0.010269658640027046, -0.04353276267647743, -0.04137339070439339, -0.02388484962284565, -0.01416631881147623, 0.07061151415109634, -0.008990905247628689, -0.0027004368603229523, -0.05172541365027428, 0.05763227120041847, 0.007872120477259159, -0.0028066220693290234, -0.04702272638678551, 0.0184676144272089, -0.028187865391373634, -0.020018525421619415, 0.010682255029678345, 0.02884534001350403, 0.013059578835964203, -0.06221139803528786, 0.0065879966132342815, 0.029025135561823845, 0.03558092936873436, -0.029167523607611656, -0.03871692717075348, -0.013315970078110695, -0.0419783890247345, 0.009299027733504772, 0.05823008343577385, -0.004436492919921875, 0.019625797867774963, -0.0028019207529723644, -0.010521112009882927, 0.0012394471559673548, -0.012840279377996922, 0.030536670237779617, -0.02435598522424698, -0.036457452923059464, 0.009651982225477695, -0.030430186539888382, 0.04015648365020752, 0.009665340185165405, -0.041092075407505035, -0.03825169801712036, -0.003948308527469635, 0.006949376314878464, 0.04560396820306778, -0.04150736331939697, 0.019220246002078056, -0.035957857966423035, 0.02763368934392929, 0.02361271344125271, 0.02780075930058956, 0.02913273312151432, 0.013102690689265728, -0.0024468861520290375, 0.024658897891640663, -0.02648893930017948, 0.015019121579825878, -0.019008833914995193, -0.005231347866356373, -0.0163051076233387, 0.015457523986697197, 0.006523212417960167, -0.0672195628285408, 0.042236097157001495, -0.02838124707341194, -0.0056734029203653336, -0.005876436363905668, 0.00036005390575155616, -0.009416588582098484, 0.01476222462952137, -0.03882933408021927, -0.011326899752020836, 0.04695189744234085, 0.003649438964203, -0.03603144362568855, 0.0396219901740551, -0.010377305559813976, 0.00042575187399052083, 0.012857036665081978, -0.03745381906628609, -0.014960081316530704, 0.006235790438950062, 0.03611556440591812, 0.041734471917152405, 0.014704541303217411, -0.04270405322313309, -0.005070295184850693, 0.04047313705086708, -0.006660806946456432, 0.03776898607611656, -0.007774208206683397, 0.021331222727894783, -0.03237157687544823, -0.015717748552560806, -0.018373053520917892, -0.02761714532971382, 0.016734065487980843, -0.034401681274175644, -0.059719525277614594, -0.05236224830150604, 0.04789353534579277, -0.027082065120339394, 0.023508619517087936, -0.028874259442090988, 0.001795578864403069, -0.023202186450362206, 0.006576016545295715, -0.0381762757897377, 0.03924749046564102, 0.059074435383081436, 0.030077572911977768, 0.025256330147385597, -0.020742198452353477, -0.034736838191747665, -0.02954023703932762, -0.030997833237051964, 0.02714216336607933, 0.06824332475662231, -0.0055658575147390366, -0.04108745977282524, -0.06359286606311798, 0.006075412966310978, 0.03799297660589218, -0.06581592559814453, -0.031458839774131775, 0.020747944712638855, 0.01343986950814724, 0.00516162533313036, -0.013873170129954815, 0.03747933730483055, 0.014646980911493301, 0.038484733551740646, 0.027807030826807022, 0.03372085466980934, 0.007299639284610748, -0.02025151439011097, -0.055958591401576996, -0.0006810763734392822, -0.023894330486655235, -0.031774651259183884, 0.036540012806653976, 0.011615483090281487, 0.017434939742088318, -0.021644463762640953, 0.00026848039124161005, 0.004526669625192881, -0.016590002924203873, -0.018453840166330338, -0.027177195996046066, 0.030276814475655556, 0.016528092324733734, -0.023088740184903145, -0.023197010159492493, -0.010900289751589298, 0.05653448775410652, -0.010887350887060165, 0.04328615963459015, -0.011016896925866604, 0.026995236054062843, 0.02684159018099308, -0.000193537533050403, -0.04829314351081848, 0.05963357537984848, 0.057828910648822784, -0.0030742890667170286, -0.0383649505674839, -0.003728342242538929 ]
Open-Source Text Generation & LLM Ecosystem at Hugging Face
merve
July 17, 2023
os-llms
LLM, inference, nlp
https://huggingface.co/blog/os-llms
# Open-Source Text Generation & LLM Ecosystem at Hugging Face [Updated on July 24, 2023: Added Llama 2.] Text generation and conversational technologies have been around for ages. Earlier challenges in working with these technologies were controlling both the coherence and diversity of the text through inference parameters and discriminative biases. More coherent outputs were less creative and closer to the original training data and sounded less human. Recent developments overcame these challenges, and user-friendly UIs enabled everyone to try these models out. Services like ChatGPT have recently put the spotlight on powerful models like GPT-4 and caused an explosion of open-source alternatives like Llama to go mainstream. We think these technologies will be around for a long time and become more and more integrated into everyday products. This post is divided into the following sections: 1. Brief background on text generation 2. Licensing 3. Tools in the Hugging Face Ecosystem for LLM Serving 4. Parameter Efficient Fine Tuning (PEFT)
[ 0.013649229891598225, -0.045071154832839966, 0.06837887316942215, -0.049197062849998474, 0.050148025155067444, 0.0010497068287804723, -0.02638624981045723, 0.06285177916288376, -0.004925694782286882, -0.02708730846643448, -0.0923687145113945, 0.06002950668334961, -0.03221462294459343, 0.05381404608488083, -0.018490515649318695, -0.019419098272919655, 0.008482690900564194, 0.030620573088526726, 0.01822463423013687, 0.00466133700683713, 0.012884208932518959, -0.015323631465435028, 0.030172016471624374, -0.030200425535440445, 0.0006140820332802832, -0.04732566699385643, 0.051442764699459076, 0.010475553572177887, 0.00946022104471922, 0.019742492586374283, -0.0726209208369255, -0.005892218556255102, -0.057339880615472794, 0.013905869796872139, 0.02504257671535015, -0.008768799714744091, -0.16454249620437622, 0.04742308706045151, -0.0188757237046957, 0.011639424599707127, -0.015666740015149117, -0.010949199087917805, -0.039072733372449875, -0.008689109236001968, -0.04520244896411896, -0.01308382023125887, -0.15147097408771515, 0.03765468671917915, -0.049230992794036865, 0.010999060235917568, -0.13941678404808044, 0.04451232776045799, -0.044164322316646576, -0.009220450185239315, 0.012187479995191097, 0.012494710274040699, 0.02487581968307495, -0.09951943904161453, 0.014809826388955116, 0.035740289837121964, -0.00567110488191247, -0.027619270607829094, 0.004465311300009489, 0.027956997975707054, 0.05280172452330589, 0.002444717800244689, -0.026195116341114044, -0.05796966329216957, -0.06920866668224335, 0.029372336342930794, 0.07229289412498474, 0.005619423929601908, -0.06592646986246109, -0.06989601999521255, 0.018895311281085014, -0.037594303488731384, 0.009779670275747776, 0.07188834249973297, 0.03557109087705612, 0.009678556583821774, 0.009880238212645054, 0.0490395687520504, 0.050701480358839035, 0.01563320867717266, 0.002232503378763795, 0.06435178965330124, 0.010721025988459587, -0.0752798467874527, -0.04445311054587364, 0.01898910105228424, -0.039063338190317154, -0.14626391232013702, -0.04226401448249817, 0.026830367743968964, 0.09835547208786011, 0.01191718503832817, -0.024069059640169144, 0.009758875705301762, -0.03241093456745148, 0.005508256144821644, 0.010461731813848019, -0.03011036105453968, 0.034174706786870956, -0.07224564254283905, -0.0732743963599205, 0.022006971761584282, -0.020443376153707504, -0.06658618897199631, -0.05262354016304016, 0.037377819418907166, 0.0186751801520586, -0.0014448025031015277, 0.06600083410739899, 0.09801603853702545, -0.08906330913305283, 0.06887049973011017, 0.013629009947180748, -0.06274428218603134, 0.010119820944964886, 0.03266233578324318, -0.019440973177552223, -0.0014177969424054027, 0.05104988440871239, -0.022767679765820503, 0.040137626230716705, 0.08540599048137665, -0.005794446915388107, 0.0011099647963419557, 0.04652689769864082, 0.023964596912264824, 0.0025428938679397106, -0.025583826005458832, 0.018968157470226288, -0.029975421726703644, 0.03286169096827507, -0.04189182072877884, 0.07304107397794724, -0.09348180145025253, 0.04676278680562973, -0.011676357127726078, -0.03212766721844673, 0.04039215296506882, 0.059819381684064865, -0.01084896456450224, 0.04048614203929901, 0.012604164890944958, -0.10307890921831131, 0.03394799679517746, -0.07126899808645248, -0.037141941487789154, -0.03890567272901535, 0.0203359667211771, -0.015791237354278564, -0.03821968287229538, 0.014639007858932018, 0.04177481308579445, -0.010127296671271324, -0.0032351063564419746, -0.0381559282541275, -0.01765601709485054, -0.05284876376390457, -0.0034146695397794247, -0.007826008833944798, 0.0012370379408821464, 0.033969223499298096, -0.03622675687074661, -0.04198843613266945, 0.0536947175860405, -0.03907232731580734, 0.025003354996442795, 0.03468509390950203, 0.009842019528150558, 0.037494368851184845, -0.06684384495019913, 0.026483986526727676, 0.059604711830616, 0.07133637368679047, 0.03713372349739075, -0.0015853344229981303, 0.05544586107134819, -0.07026993483304977, 0.03802778571844101, 0.04257383197546005, 0.05033084377646446, 0.03681209310889244, -0.10872747749090195, 0.029177391901612282, -0.06760367006063461, 0.0034559997729957104, -0.04674838110804558, -0.028237560763955116, 0.024166973307728767, 0.040842946618795395, 0.00516845565289259, 0.02964494563639164, -0.014970812015235424, -0.02583077736198902, 0.12222785502672195, 0.07386508584022522, 0.09590750932693481, 0.06710021942853928, 0.0445992536842823, 0.006416517775505781, -0.007172353100031614, -0.04693363606929779, -0.012254623696208, 0.02184307388961315, -0.0038613483775407076, -0.01864384487271309, 0.02580277994275093, 0.05964867025613785, -0.09535983949899673, 0.02670864947140217, -0.011870365589857101, 0.01790662668645382, -0.045949019491672516, -0.018084146082401276, -0.0025691369082778692, 0.01272033341228962, -0.0011653604451566935, 0.14802736043930054, -0.07006922364234924, 0.010024565272033215, -0.05020832270383835, -0.02507113292813301, 0.05473451316356659, 0.05138319730758667, 0.05087222158908844, 0.07054191082715988, -0.07994640618562698, 0.03502940014004707, -0.08587070554494858, 0.033215031027793884, -0.027682386338710785, -0.0003783516294788569, -0.05492537096142769, 0.01750573143362999, -0.006288895849138498, 0.06628498435020447, 0.003350229002535343, 0.0312841460108757, 0.017408231273293495, -0.022598043084144592, 0.02105613239109516, -0.003556649200618267, -0.03360878676176071, 0.022578101605176926, 0.00009429566853214055, -0.02648051083087921, 0.0015632539289072156, -0.06977619230747223, 0.07598989456892014, 0.014034339226782322, 0.02362755499780178, -0.014421465806663036, 0.007024383172392845, -0.008669736795127392, 0.02387438528239727, -0.028216922655701637, 0.043467696756124496, 0.015699751675128937, -0.027340048924088478, 0.02919580787420273, -0.003954877145588398, -0.03760566934943199, -0.025691980496048927, 0.026150904595851898, 0.02581792138516903, -0.013898029923439026, 0.014809795655310154, 0.05133071541786194, -0.02455814741551876, 0.012424744665622711, 0.004467151593416929, 0.018362196162343025, 0.0034179994836449623, 0.06512529402971268, -0.03525654971599579, -0.015444553457200527, -0.012667390517890453, -0.010890575125813484, -0.005069611128419638, 0.05451994761824608, 0.04621357098221779, -0.006616894155740738, 0.015428661368787289, -0.0013773692771792412, -0.010900957509875298, -0.02490534633398056, 0.02570338547229767, 0.03565356880426407, -0.006321852095425129, -0.01928190514445305, -0.0149542186409235, -0.00604120921343565, -0.025954313576221466, 0.025771474465727806, 0.0026867580600082874, -0.05115828663110733, 0.006545335985720158, 0.02455984614789486, -0.017158398404717445, 0.0005133793456479907, 0.022721251472830772, -0.016226431354880333, 0.012310009449720383, 0.02086879499256611, 0.014758475124835968, -0.0952790305018425, -0.009564477019011974, -0.01236308179795742, -0.0016028290847316384, -0.02390316128730774, -0.024103928357362747, 0.04407796636223793, -0.018688460811972618, 0.015059766359627247, 0.032766714692115784, 0.0027001567650586367, 0.01796153374016285, 0.025519313290715218, -0.0007753676036372781, 0.0000563821304240264, -0.011925872415304184, -0.012232329696416855, -0.019632332026958466, 0.0026827629189938307, 0.031349193304777145, 0.007500861305743456, 0.02183467522263527, 0.012829570099711418, 0.008620966225862503, -0.014064974151551723, -0.03726479783654213, 0.0036580152809619904, -0.02568686567246914, 0.025684436783194542, -0.015129388310015202, 0.027816344052553177, -0.012969971634447575, 0.007215398363769054, 0.0013979468494653702, -0.06162695959210396, 0.004050812683999538, 0.03401363641023636, 0.013453940860927105, 0.05370638892054558, 0.027984902262687683, 0.048208486288785934, -0.009844602085649967, 0.002513639396056533, -0.03160545974969864, -0.030530963093042374, -0.006764731835573912, -0.05477805808186531, 0.024636702612042427, 0.05010980740189552, -0.026577243581414223, -0.0018926942721009254, -0.03148701414465904, 0.00833292119204998, 0.03225664794445038, -0.01584872417151928, 0.037465885281562805, 0.02061385102570057, 0.010765288025140762, 0.0037417602725327015, 0.004523074254393578, -0.08546876162290573, 0.0037483021151274443, -0.034359388053417206, 0.007224175613373518, -0.013133838772773743, 0.08744827657938004, 0.00988280400633812, -0.028761062771081924, -0.007128974888473749, 0.05421061813831329, 0.013683595694601536, 0.03317350149154663, -0.006221556570380926, 0.008539273403584957, -0.03632643073797226, 0.017524637281894684, -0.01380422804504633, -0.03375723958015442, 0.05165034905076027, 0.004560006782412529, -0.0029909182339906693, -0.01701892539858818, -0.00727909104898572, -0.009130388498306274, 0.0016025591176003218, -0.036940187215805054, 0.033242158591747284, -0.02728911302983761, 0.003258839948102832, 0.022753315046429634, 0.004050206393003464, -0.041918955743312836, 0.005250752903521061, 0.020089320838451385, 0.01330470759421587, 0.0024564797058701515, 0.015501881949603558, 0.033530835062265396, -0.004141903016716242, 0.012759432196617126, 0.054992109537124634, -0.052486103028059006, -0.006440230645239353, 0.012598675675690174, -0.036735650151968, 0.033290524035692215, -0.040384259074926376, -0.027153363451361656, 0.0203079991042614, 0.027066338807344437, -0.048187579959630966, -0.018884364515542984, -0.005992017220705748, -0.03159786015748978, 0.02408909797668457, 0.022211914882063866, 0.0017535330262035131, -0.013144014403223991, -0.021424049511551857, -0.024832872673869133, -0.025167342275381088, 0.0105817299336195, 0.046373385936021805, 0.0018570872489362955, 0.0723280981183052, -0.03793668374419212, 0.026849471032619476, -0.005509654060006142, -0.003918226808309555, 0.00892856065183878, -0.020817162469029427, -0.02953522838652134, 0.02852150984108448, 0.010146099142730236, -0.001130925491452217, 0.026030249893665314, -0.0075979758985340595, -0.00832834281027317, -0.032151009887456894, -0.04055783152580261, -0.04820949584245682, 0.014007238671183586, 0.02017645165324211, -0.015892580151557922, 0.03230812028050423, -0.01186100859194994, -0.03204278647899628, -0.024082064628601074, 0.01367473416030407, 0.016925262287259102, 0.019597766920924187, -0.029161429032683372, -0.028847066685557365, 0.007891613990068436, 0.043131254613399506, -0.01904178038239479, -0.004376941826194525, 0.03240076079964638, 0.007703749928623438, 0.06366391479969025, 0.010844582691788673, 0.048794571310281754, -0.05247100815176964, -0.003435870399698615, 0.022289441898465157, -0.00980156660079956, 0.02593851275742054, 0.01453225314617157, 0.010660525411367416, -0.029538989067077637, 0.012324078008532524, -0.003905888646841049, 0.008093009702861309, -0.0022548858541995287, -0.041099488735198975, 0.05870666727423668, 0.0633406713604927, 0.0007916861795820296, -0.024947648867964745, 0.013456322252750397, -0.024948544800281525, -0.02115892618894577, 0.046814627945423126, -0.004926747642457485, 0.049472056329250336, 0.022571736946702003, 0.08214662969112396, 0.052859026938676834, -0.0037014952395111322, -0.01469306368380785, -0.015124429017305374, -0.006697954144328833, 0.020811662077903748, -0.01892567239701748, 0.006148494780063629, 0.012632599100470543, -0.04054263234138489, 0.00017715214926283807, 0.014868663623929024, -0.025005433708429337, 0.04204750061035156, 0.004358325619250536, -0.060305457562208176, -0.030157653614878654, 0.005860676523298025, -0.03827017918229103, -0.0007450052653439343, -0.06262785196304321, 0.00567731074988842, -0.026729533448815346, -0.009152064099907875, -0.014569904655218124, 0.0018792387563735247, -0.030393315479159355, 0.01789713278412819, -0.01829618774354458, -0.000283021799987182, 0.0053506819531321526, -0.024341991171240807, 0.0574614517390728, 0.0078070382587611675, -0.029682030901312828, -0.00923929177224636, -0.036429643630981445, 0.03126109391450882, -0.02155281975865364, -0.005199145060032606, 0.006401769816875458, 0.030974796041846275, 0.0017653038958087564, 0.0585472509264946, -0.01305394433438778, 0.04498593509197235, 0.049150027334690094, -0.011971136555075645, 0.02279716543853283, -0.06414024531841278, 0.0094510018825531, 0.02751241624355316, -0.004871790297329426, -0.00935538113117218, -0.011668429709970951, -0.03326968848705292, -0.04036438465118408, -0.0605681873857975, 0.02631782554090023, 0.03457755967974663, -0.012882319279015064, -0.014050568453967571, 0.02226048707962036, 0.002828675787895918, -0.010906935669481754, -0.014485521242022514, 0.02369365096092224, 0.04048527777194977, 0.034319423139095306, 0.05876021459698677, -0.011164108291268349, -0.02779974974691868, -0.021610191091895103, -0.017071273177862167, -0.0606258325278759, -0.017744986340403557, 0.00041695943218655884, -0.04314522445201874, 0.0041648647747933865, -0.001173812081106007, -0.023129163309931755, 0.024431711062788963, 0.025877393782138824, 0.0019442458869889379, -0.017432784661650658, 0.02333991415798664, -0.023094134405255318, 0.00651917839422822, -0.04504288733005524, 0.005252632778137922, 0.027391666546463966, 0.04063908010721207, 0.03023606166243553, 0.019703172147274017, 0.03812718391418457, 0.049300700426101685, 0.012199833057820797, -0.015612397342920303, -0.0009621703065931797, 0.0643715187907219, 0.018220556899905205, 0.030751436948776245, -0.01039460115134716, -0.06443712115287781, -0.03594337776303291, -0.04653354734182358, -0.027053577825427055, -0.005887586623430252, -0.020463762804865837, 0.02620065025985241, 0.006835038773715496, 0.012764941900968552, -0.03234774246811867, 0.07680735737085342, 0.03726216405630112, 0.045423995703458786, 0.004383954685181379, 0.0404055155813694, -0.009454955346882343, -0.014727375470101833, -0.022411467507481575, 0.03960661217570305, 0.03209961950778961, -0.01977658085525036, 0.04026734083890915, 0.04361387714743614, 0.047213781625032425, -0.01620781049132347, -0.02517884597182274, -0.004293255042284727, 0.009913965128362179, 0.05763803422451019, 0.011138704605400562, 0.003341105068102479, 0.012994792312383652, -0.027869751676917076, -0.0059637464582920074, 0.03494226187467575, 0.007028956897556782, 0.039454877376556396, 0.02297205477952957, 0.004161112476140261, -0.017458254471421242, 0.012100329622626305, 0.055731773376464844, 0.029359683394432068, -0.026033569127321243, 0.00634084502235055, -0.0349280908703804, 0.007327651605010033, 0.0008737819734960794, -0.04005513712763786, -0.030170675367116928, -0.015241632238030434, 0.011536129750311375, -0.0424300916492939, -0.004198906943202019, 0.005182038061320782, -0.020454687997698784, 0.004251931793987751, 0.024087904021143913, -0.0016194492345675826, 0.019553037360310555, -0.009858530014753342, 0.004705146420747042, -0.043400637805461884, -0.03163935989141464, -0.02091060020029545, 0.0037955616135150194, -0.008899406529963017, -0.049512844532728195, 0.0055059269070625305, -0.034511860460042953, 0.005136117804795504, 0.039593592286109924, 0.051008593291044235, -0.014906926080584526, -0.03698363155126572, 0.0028761844150722027, 0.015864742919802666, -0.00039947754703462124, 0.04318729788064957, 0.012640492059290409, -0.009531613439321518, 0.008171378634870052, -0.021309075877070427, 0.027679290622472763, -0.009016664698719978, 0.016822604462504387, 0.06867540627717972, 0.005164705216884613, -0.07389140129089355, -0.0026315997820347548, 0.053439363837242126, -0.0015921975718811154, 0.0375501811504364, 0.03652246668934822, 0.003503692103549838, -0.012872330844402313, -0.020175212994217873, 0.04356285557150841, -0.027799563482403755, 0.0329795703291893, -0.04041677713394165, -0.06690167635679245, -0.02057722769677639, 0.02201950177550316, 0.01726260967552662, 0.027166282758116722, -0.037252992391586304, 0.015157059766352177, -0.03199536353349686, -0.01114819385111332, -0.00609934376552701, 0.006371591705828905, 0.041320547461509705, 0.010038452222943306, -0.0029299859888851643, 0.00604449026286602, 0.0014733148273080587, -0.010224912315607071, 0.023153012618422508, 0.014996225014328957, 0.05160864442586899, -0.02565321885049343, -0.02845979854464531, -0.018573159351944923, -0.004159456584602594, -0.0014719974715262651, -0.042352691292762756, 0.03157084062695503, 0.007026610895991325, -0.01522089634090662, 0.0011217368301004171, 0.0234890915453434, 0.008585745468735695, -0.017975635826587677, 0.0495239719748497, -0.0249005239456892, -0.011129972524940968, 0.046843063086271286, 0.012640266679227352, -0.06484131515026093, 0.034557756036520004, -0.006237262859940529, -0.0279361754655838, 0.02400084212422371, -0.017946641892194748, 0.03731141984462738, -0.014711630530655384, 0.03779982402920723, 0.008092137984931469, 0.012379937805235386, -0.047859881073236465, -0.021375935524702072, 0.025276564061641693, -0.003308564657345414, -0.03591663017868996, -0.04245220869779587, 0.007507288362830877, 0.019452335312962532, 0.013127375394105911, -0.014769020490348339, -0.025855055078864098, -0.03674729913473129, -0.019757775589823723, 0.004173230845481157, 0.009171596728265285, 0.04143911227583885, 0.02610687166452408, -0.005162863526493311, -0.02982918918132782, -0.018583180382847786 ]
Open-Source Text Generation & LLM Ecosystem at Hugging Face
merve
July 17, 2023
os-llms
LLM, inference, nlp
https://huggingface.co/blog/os-llms
Tools in the Hugging Face Ecosystem for LLM Serving
[ 0.023448290303349495, -0.01944975182414055, 0.1060316264629364, -0.05204971507191658, 0.10071323812007904, 0.033370956778526306, -0.01133238896727562, 0.06267992407083511, -0.03559653460979462, -0.04268355667591095, -0.07978162169456482, 0.07302708923816681, 0.009802093729376793, 0.06317579001188278, 0.016671082004904747, 0.012345646508038044, 0.024419965222477913, 0.02917417325079441, 0.031160125508904457, -0.0002201635215897113, 0.005581569392234087, -0.06266724318265915, 0.07102736085653305, -0.011364377103745937, -0.011323539540171623, -0.06495067477226257, -0.02293941006064415, 0.0017256478313356638, -0.026575962081551552, 0.04053524509072304, -0.05438926815986633, -0.007302634418010712, -0.00034491726546548307, 0.0007525439723394811, 0.029867639765143394, 0.0014373587910085917, -0.15300221741199493, 0.03407168760895729, -0.0039040534757077694, -0.0028048353269696236, 0.009106466546654701, -0.061545029282569885, -0.058443378657102585, 0.02406073547899723, -0.03827906399965286, -0.03181789442896843, -0.2577611804008484, 0.09863250702619553, -0.0014492443297058344, 0.017413431778550148, -0.09315692633390427, 0.06545944511890411, 0.012041304260492325, -0.011971701867878437, 0.014801019802689552, -0.003768854308873415, 0.014151635579764843, -0.07892404496669769, 0.012732353992760181, 0.006363480351865292, 0.03620253503322601, -0.0018365170108154416, 0.008101009763777256, 0.01202932558953762, 0.011007724329829216, 0.04454556107521057, -0.012910679914057255, -0.06006743013858795, -0.047115758061409, -0.010492369532585144, 0.05118446797132492, -0.01070748083293438, -0.025670146569609642, -0.02647639624774456, 0.030094187706708908, -0.0881970077753067, -0.0179307758808136, 0.04030056297779083, 0.048435259610414505, 0.07112184166908264, -0.0025211134925484657, 0.002453190740197897, 0.05780600756406784, 0.07790430635213852, 0.01036757417023182, 0.04387156665325165, 0.04679339379072189, -0.07959261536598206, -0.04914696142077446, 0.026048580184578896, -0.03424946218729019, -0.09028860926628113, -0.0015721453819423914, 0.03298203647136688, 0.09386405348777771, -0.024721477180719376, 0.032318275421857834, 0.026962511241436005, 0.033138569444417953, 0.01139003410935402, -0.0017050905153155327, -0.015357117168605328, 0.03012927994132042, -0.015827499330043793, -0.025609400123357773, 0.0029430894646793604, -0.03595302999019623, -0.07897152751684189, -0.06059781089425087, 0.009901226498186588, 0.014907336793839931, 0.004982281476259232, 0.00994538888335228, 0.04465636610984802, -0.06844048947095871, 0.09053564071655273, -0.0029848432168364525, -0.022490333765745163, 0.033516474068164825, 0.06190648302435875, -0.006338686216622591, 0.1025887057185173, 0.0608794279396534, -0.002634749049320817, 0.0490364208817482, 0.042016755789518356, -0.00043989979894831777, 0.004149547312408686, 0.007086764555424452, -0.006507061887532473, -0.02083500474691391, -0.015851711854338646, 0.05203193426132202, -0.019102636724710464, -0.009830382652580738, -0.05571325868368149, 0.05023200437426567, -0.04424310103058815, 0.0719214528799057, -0.016598427668213844, -0.03407208248972893, 0.07687291502952576, 0.011692039668560028, 0.03758741915225983, 0.06686507165431976, -0.019444605335593224, -0.08675438165664673, 0.06699779629707336, -0.009854010306298733, -0.00018212162831332535, -0.023530250415205956, 0.04494425281882286, -0.027724241837859154, -0.02370835654437542, 0.0033383010886609554, 0.06409674137830734, 0.005275622941553593, 0.004081873223185539, -0.05920252576470375, 0.00651426101103425, -0.04096038267016411, -0.0038586948066949844, -0.07043281197547913, -0.02712850272655487, 0.06593029201030731, 0.021563155576586723, -0.02990136295557022, 0.009145427495241165, -0.011739603243768215, -0.02573416195809841, 0.008853185921907425, -0.02288290113210678, 0.01324757095426321, -0.03826406970620155, -0.02230011485517025, 0.03214680403470993, 0.09555400907993317, 0.059471067041158676, -0.03562643751502037, 0.04067520424723625, -0.04933751001954079, 0.0383872389793396, 0.012741588056087494, 0.0014978500548750162, 0.020654089748859406, -0.05839025229215622, 0.04794927313923836, -0.00744997663423419, 0.0028522051870822906, 0.002923121675848961, -0.08385378122329712, -0.020888442173600197, 0.0668625757098198, -0.014034268446266651, 0.013930235989391804, -0.027564020827412605, -0.030392920598387718, 0.13150052726268768, 0.03962896764278412, 0.07690378278493881, 0.05296655371785164, 0.06088606268167496, 0.04602770879864693, 0.014984630979597569, -0.031044047325849533, 0.025491930544376373, 0.02805047295987606, -0.04399869963526726, 0.0046723284758627415, 0.024631941691040993, 0.055494554340839386, -0.13134844601154327, 0.028540994971990585, -0.03616315498948097, -0.027024144306778908, -0.04197045415639877, -0.047882962971925735, -0.007710672449320555, 0.002897814614698291, -0.004426619037985802, 0.16441668570041656, -0.04493552818894386, -0.0023290840908885, -0.029570842161774635, -0.058543670922517776, 0.07226020842790604, 0.08843323588371277, 0.049428243190050125, 0.07991306483745575, -0.08380626142024994, 0.01111921388655901, -0.08821254968643188, -0.026612581685185432, 0.057034995406866074, -0.015164789743721485, -0.02478938177227974, 0.0453699566423893, -0.013522842898964882, 0.0655495747923851, -0.003977764863520861, 0.021403014659881592, -0.029472539201378822, 0.01579335890710354, 0.05946698412299156, -0.014179736375808716, -0.023269526660442352, 0.019195765256881714, -0.009718100540339947, -0.057301584631204605, 0.009102821350097656, -0.05893313139677048, 0.039762839674949646, 0.010677987709641457, -0.01909758895635605, 0.05758997052907944, -0.009204019792377949, -0.005941169802099466, 0.004887360613793135, -0.03421388939023018, 0.04683090001344681, 0.04018420726060867, -0.0457112081348896, -0.006521534640341997, -0.04821005091071129, -0.020321059972047806, -0.02394586242735386, 0.01574377901852131, 0.002258756896480918, -0.018543509766459465, 0.05949903279542923, 0.018776820972561836, -0.019825195893645287, 0.0691383108496666, 0.013067740947008133, -0.006404115818440914, 0.019018495455384254, 0.0566498227417469, -0.02155887521803379, -0.029293416067957878, -0.03952891007065773, 0.0010737200500443578, -0.021018311381340027, 0.053007666021585464, 0.027008656412363052, 0.012382537126541138, -0.024734219536185265, -0.011247207410633564, -0.02057805098593235, -0.008980333805084229, 0.03291630744934082, 0.01568794623017311, 0.028987184166908264, 0.018605660647153854, -0.021313680335879326, 0.002643408253788948, -0.020094091072678566, 0.0163602065294981, 0.009571528062224388, -0.02884981408715248, 0.021031919866800308, 0.014374546706676483, 0.009543626569211483, -0.012462601065635681, 0.005354192107915878, -0.025766754522919655, 0.03099747747182846, 0.029338832944631577, 0.0019784632604569197, -0.1279723197221756, -0.046778175979852676, -0.0019699863623827696, 0.0272928848862648, -0.01851690001785755, -0.03609807789325714, 0.05049721151590347, -0.026727840304374695, 0.0002751162392087281, 0.004628336057066917, 0.021846523508429527, 0.01268498320132494, 0.0661870688199997, -0.006230654660612345, -0.029311498627066612, -0.01620263233780861, -0.016233446076512337, -0.00005193586912355386, 0.029345808550715446, 0.014367839321494102, -0.019404498860239983, 0.041175007820129395, 0.012598434463143349, -0.03273431956768036, 0.007281099911779165, -0.005421871785074472, 0.015074710361659527, 0.010339685715734959, 0.009525546804070473, -0.026528075337409973, -0.003744677407667041, 0.01789439097046852, -0.03674718737602234, 0.01037189643830061, -0.05163882300257683, -0.00692341011017561, 0.01752593368291855, -0.006646343972533941, 0.040185537189245224, 0.014242241159081459, 0.03602464124560356, 0.004410704132169485, 0.03465447947382927, -0.01580534689128399, -0.014411598443984985, -0.007096691057085991, -0.032265473157167435, -0.00910522136837244, 0.07528413087129593, -0.03103751875460148, -0.021813010796904564, -0.01160181500017643, 0.00027730566216632724, 0.05126149579882622, 0.0011684553464874625, 0.003333335043862462, -0.0072772568091750145, 0.0071318787522614, 0.0194085743278265, -0.01290652435272932, -0.07813291251659393, -0.011154942214488983, -0.03846127539873123, -0.002040301449596882, -0.04591180384159088, 0.06235652044415474, -0.013078765943646431, 0.00904107466340065, -0.02269921824336052, 0.04061668738722801, 0.020619655027985573, 0.028959209099411964, -0.029595090076327324, 0.02243257686495781, -0.035542115569114685, 0.023135576397180557, 0.012235530652105808, -0.019448600709438324, 0.07673411071300507, -0.012678094208240509, -0.03758404776453972, 0.012831246480345726, -0.010321910493075848, -0.01644551008939743, -0.0013751656515523791, -0.014016607776284218, 0.002951890928670764, 0.007179722655564547, 0.015639886260032654, 0.038754817098379135, -0.01585342548787594, -0.04227059334516525, 0.011021357960999012, -0.015437734313309193, 0.018820745870471, 0.02057424746453762, 0.036476682871580124, 0.015315397642552853, -0.014512848109006882, 0.01991947740316391, 0.032751962542533875, -0.025825994089245796, 0.007675688248127699, 0.003912813030183315, -0.010403813794255257, 0.03993324562907219, -0.03836262971162796, -0.02667822688817978, 0.005197691265493631, 0.014132391661405563, -0.00001692342084425036, -0.01820041611790657, -0.013360271230340004, -0.029549865052103996, 0.002968165557831526, 0.005865372251719236, -0.029547778889536858, -0.025225430727005005, -0.016723711043596268, 0.020106039941310883, -0.05345374345779419, 0.0048467861488461494, 0.01053604669868946, -0.010719685815274715, 0.01952921785414219, -0.021876003593206406, 0.005318904761224985, -0.008095087483525276, -0.02075294964015484, 0.008517555892467499, -0.06597060710191727, -0.013028891757130623, 0.08036074787378311, -0.011903476901352406, 0.02326551079750061, 0.005689786281436682, -0.03983712196350098, 0.053654663264751434, 0.003462863154709339, -0.05127054825425148, -0.03297185152769089, 0.01529705710709095, 0.030218692496418953, -0.03407582640647888, 0.047041602432727814, -0.00999277550727129, -0.03912264108657837, -0.01177389919757843, -0.01255620364099741, 0.039573684334754944, 0.03818656504154205, -0.03610933572053909, -0.029712853953242302, 0.032134268432855606, 0.049827009439468384, -0.0016405853675678372, -0.012253416702151299, 0.018824059516191483, 0.0035952262114733458, 0.06036423519253731, -0.0040308209136128426, 0.0009249871945939958, -0.042405106127262115, 0.02086578868329525, -0.0035061524249613285, -0.026959560811519623, 0.0014790210407227278, -0.042307473719120026, -0.006614879239350557, 0.0037297478411346674, -0.008093846030533314, -0.013831510208547115, -0.0005424674018286169, -0.007907003164291382, -0.018754951655864716, 0.03693954274058342, 0.03217897191643715, -0.012006060220301151, -0.03234757110476494, 0.014020299538969994, -0.01829192414879799, -0.023116014897823334, 0.03422872722148895, -0.004429977387189865, -0.002438381314277649, 0.029074016958475113, 0.0590868704020977, 0.023498157039284706, -0.010290568694472313, 0.03949344530701637, -0.02471117489039898, -0.005672442726790905, 0.009117905981838703, -0.015453269705176353, 0.013156073167920113, -0.013557512313127518, -0.006009933538734913, 0.0009520465391688049, -0.011354359798133373, -0.02074497938156128, 0.01844738982617855, 0.024432828649878502, -0.032968670129776, -0.009305709972977638, -0.0020266398787498474, -0.01448360551148653, -0.006106405984610319, -0.026193981990218163, 0.01614047773182392, -0.03503556177020073, -0.007178689353168011, -0.006058221682906151, -0.011871092952787876, -0.03251594677567482, 0.01069484744220972, -0.016947362571954727, -0.015335229225456715, 0.015369884669780731, -0.003097702981904149, 0.04263541102409363, 0.010022974573075771, 0.02361680194735527, -0.015348309651017189, -0.017657730728387833, 0.03054053895175457, -0.02566058561205864, -0.007874357514083385, 0.014855369925498962, -0.013511220924556255, 0.036340828984975815, 0.03659655898809433, -0.01742212288081646, 0.023684725165367126, 0.018307674676179886, 0.02269052155315876, 0.019628245383501053, -0.053265709429979324, 0.02679484710097313, 0.006153464782983065, 0.011403936892747879, 0.005130147095769644, -0.014021883718669415, -0.06922028958797455, -0.012937292456626892, -0.02774922549724579, 0.02987360768020153, 0.07333752512931824, 0.022530464455485344, 0.0061103408224880695, 0.00642439816147089, 0.009665345773100853, -0.015940945595502853, 0.02802968956530094, -0.009053189307451248, 0.04396224021911621, 0.015769479796290398, -0.00002361386941629462, 0.00123654177878052, -0.003902256255969405, -0.013189775869250298, 0.0050721243023872375, -0.06348243355751038, 0.01043805480003357, 0.022039784118533134, -0.0429355688393116, 0.03076142631471157, -0.012890592217445374, -0.014561425894498825, 0.008192530833184719, 0.03176693618297577, -0.006465214304625988, 0.002490505576133728, 0.005634958390146494, -0.014107327908277512, -0.006809386890381575, -0.03293880075216293, 0.0393587164580822, 0.04060566425323486, 0.0004182370030321181, 0.029604945331811905, 0.01210703980177641, 0.006994222290813923, 0.022178180515766144, 0.030862802639603615, 0.0061495243571698666, 0.015649326145648956, 0.05926359444856644, 0.027287034317851067, 0.03162306919693947, 0.03352415934205055, -0.0021351452451199293, 0.012806028127670288, -0.022373627871274948, -0.0016732969088479877, -0.0353139266371727, -0.014622128568589687, 0.046912457793951035, -0.017550932243466377, 0.02666083723306656, -0.028626231476664543, 0.05371304973959923, 0.02190602570772171, 0.037218138575553894, -0.026332639157772064, -0.015494256280362606, 0.021656101569533348, 0.006437225732952356, 0.003485680790618062, 0.0363524965941906, -0.025029374286532402, 0.018327873200178146, 0.07355552911758423, 0.012637261301279068, 0.018611256033182144, -0.012131727300584316, -0.021806985139846802, 0.02115824818611145, -0.020350446924567223, 0.005272693000733852, -0.006494063418358564, 0.028231870383024216, -0.04030104726552963, -0.02540683187544346, 0.010501104407012463, -0.009126602672040462, -0.01738904044032097, -0.002377681201323867, 0.039240650832653046, -0.0017510141478851438, -0.027892552316188812, 0.03273326903581619, 0.017293261364102364, 0.0079279700294137, -0.019480908289551735, 0.01698651723563671, 0.01016188319772482, 0.010328336618840694, 0.00646777730435133, -0.03609408065676689, -0.008536012843251228, -0.025338171049952507, 0.0025320914573967457, -0.02566934935748577, 0.007804097607731819, 0.01654995232820511, -0.001686905394308269, -0.00512671610340476, 0.015277632512152195, -0.0056624202989041805, 0.02988598495721817, 0.018630830571055412, 0.016785677522420883, -0.03367280215024948, 0.004377429373562336, -0.02144976332783699, 0.0009828309994190931, -0.022368283942341805, -0.03435401991009712, 0.004708206281065941, -0.026839153841137886, 0.005396012682467699, 0.03347277641296387, 0.03141026943922043, -0.020061079412698746, -0.057892147451639175, -0.019154420122504234, -0.00874942634254694, 0.003049388760700822, 0.044310860335826874, -0.0031396246049553156, -0.030544940382242203, 0.004092054907232523, -0.0004695944953709841, -0.006737490184605122, -0.02109207771718502, -0.0010759495198726654, 0.02189653180539608, -0.004197153728455305, -0.02864760532975197, -0.022597037255764008, 0.04883389547467232, 0.023413877934217453, 0.04651434347033501, 0.014838251285254955, 0.028581971302628517, 0.03530674800276756, -0.058070745319128036, 0.04048166424036026, -0.024099336937069893, 0.013874635100364685, -0.04149883612990379, -0.03903703764081001, -0.005479536950588226, -0.03152673318982124, 0.010763946920633316, 0.029324911534786224, -0.031082548201084137, 0.02008727937936783, -0.009260165505111217, -0.0317712277173996, -0.030994340777397156, 0.012924113310873508, 0.053693048655986786, 0.03309706971049309, 0.016743289306759834, 0.023192958906292915, -0.0183788500726223, -0.00428939750418067, 0.03285376727581024, 0.0035666231997311115, 0.05234638974070549, -0.004686808213591576, -0.022238649427890778, -0.036436691880226135, 0.018814455717802048, -0.02410597912967205, -0.0469130277633667, 0.018551409244537354, 0.015855692327022552, -0.020082762464880943, -0.013746283948421478, -0.010692644864320755, 0.024769257754087448, -0.030418388545513153, 0.05035343021154404, -0.008298538625240326, -0.024173717945814133, 0.0034047970548272133, -0.0019902349449694157, -0.05749000608921051, 0.01004950050264597, -0.00896191131323576, -0.023932747542858124, 0.053382549434900284, -0.005684616509824991, 0.027955355122685432, -0.022765062749385834, -0.013678154908120632, -0.013483450748026371, -0.011831853538751602, -0.05839866027235985, -0.019734062254428864, -0.018052950501441956, -0.02013147994875908, -0.03143688291311264, -0.08531628549098969, 0.020648254081606865, 0.010886136442422867, -0.007444420829415321, -0.02381679229438305, -0.046600524336099625, -0.011575626209378242, -0.0014372346922755241, 0.01755325309932232, 0.012387278489768505, 0.0460413433611393, -0.0026197240222245455, -0.02816755883395672, -0.010060807690024376, 0.002061492996290326 ]
Open-Source Text Generation & LLM Ecosystem at Hugging Face
merve
July 17, 2023
os-llms
LLM, inference, nlp
https://huggingface.co/blog/os-llms
Models created with love by Hugging Face with BigScience and BigCode 💗 Hugging Face has co-led two science initiatives, BigScience and BigCode. As a result of them, two large language models were created, BLOOM 🌸 and StarCoder 🌟. BLOOM is a causal language model trained on 46 languages and 13 programming languages. It is the first open-source model to have more parameters than GPT-3. You can find all the available checkpoints in the BLOOM documentation. StarCoder is a language model trained on permissive code from GitHub (with 80+ programming languages 🤯) with a Fill-in-the-Middle objective. It’s not fine-tuned on instructions, and thus, it serves more as a coding assistant to complete a given code, e.g., translate Python to C++, explain concepts (what’s recursion), or act as a terminal. You can try all of the StarCoder checkpoints in this application. It also comes with a VSCode extension. Snippets to use all models mentioned in this blog post are given in either the model repository or the documentation page of that model type in Hugging Face.
[ 0.003118375549092889, -0.03930639103055, -0.007418165914714336, -0.060680143535137177, 0.00211551901884377, 0.07025731354951859, 0.027174051851034164, 0.04779011011123657, -0.006211882457137108, 0.01372311171144247, -0.12189073115587234, -0.003459060797467828, -0.019912706688046455, 0.06557489186525345, 0.007361614145338535, -0.04218173399567604, -0.018699029460549355, -0.011403312906622887, -0.00377541477791965, 0.01859976351261139, -0.011716579087078571, -0.019927386194467545, 0.04734715819358826, -0.052620578557252884, -0.019762497395277023, -0.04005513712763786, -0.03699718788266182, 0.0015173970023170114, 0.009775751270353794, 0.006700907833874226, -0.09192296117544174, -0.017856206744909286, -0.0384395457804203, 0.004046599846333265, -0.01565684750676155, 0.024616463109850883, -0.14250364899635315, 0.08038973808288574, -0.02264499105513096, -0.02209671586751938, -0.0017395620234310627, -0.032892677932977676, -0.04224953427910805, 0.006241621449589729, 0.012576078996062279, 0.0076099238358438015, -0.1694379597902298, 0.08287037909030914, -0.010556122288107872, -0.023718511685729027, -0.03349052369594574, 0.035971350967884064, 0.010698901489377022, 0.0011687864316627383, 0.010654488578438759, -0.010844750329852104, -0.027220118790864944, -0.04669773578643799, 0.016527995467185974, -0.016103774309158325, 0.009252865798771381, -0.06717901676893234, 0.05137763172388077, 0.01542856264859438, 0.05898294970393181, 0.016712747514247894, -0.08213138580322266, -0.00031100917840376496, -0.048391759395599365, -0.041310038417577744, 0.03602547198534012, -0.003968918230384588, -0.03370572626590729, -0.03699628636240959, -0.0462435707449913, -0.0337727926671505, -0.03906591236591339, 0.04169762134552002, 0.018126625567674637, -0.04054490849375725, 0.028439952060580254, -0.0020528659224510193, 0.026222020387649536, 0.010479696094989777, 0.011506923474371433, 0.054887138307094574, 0.013363705947995186, -0.12702837586402893, -0.05113241821527481, 0.03954758122563362, -0.04378959536552429, -0.12060315161943436, 0.00716820266097784, 0.035972632467746735, 0.08407444506883621, 0.004994523245841265, -0.03139597922563553, 0.040105756372213364, -0.011155864223837852, -0.05145657807588577, -0.0038531902246177197, -0.023143280297517776, -0.057791534811258316, -0.04226500168442726, -0.06300436705350876, 0.0014676187420263886, -0.02775563858449459, -0.013094046153128147, -0.010041396133601665, -0.020146619528532028, 0.042938560247421265, -0.05464393272995949, -0.0269814170897007, 0.0877673551440239, -0.11289791017770767, 0.08437307924032211, 0.0015703027602285147, -0.05630050599575043, -0.007066007703542709, 0.01962338201701641, -0.019779281690716743, 0.006859246175736189, 0.01815047673881054, -0.028378423303365707, -0.006474665831774473, 0.11190462857484818, -0.003879464464262128, -0.020737333223223686, 0.0215110182762146, -0.07033617794513702, 0.0407920740544796, -0.014631367288529873, 0.04047603905200958, 0.011984693817794323, 0.10608839988708496, -0.018290434032678604, 0.04941269010305405, -0.008858486078679562, -0.026502404361963272, 0.052782367914915085, -0.04640285670757294, 0.05652373656630516, 0.015292497351765633, -0.025431713089346886, 0.08136919885873795, 0.021433496847748756, -0.08772118389606476, 0.07582400739192963, -0.01583079621195793, 0.022719496861100197, -0.11949124932289124, 0.0218917615711689, -0.0052691614255309105, -0.028743267059326172, -0.0008283804636448622, 0.034893717616796494, -0.06800998002290726, -0.020572170615196228, 0.014374441467225552, 0.012883689254522324, -0.020816603675484657, -0.04534666985273361, -0.08233245462179184, -0.0038257548585534096, -0.007322066929191351, -0.06278330832719803, -0.008058429695665836, 0.05457490310072899, -0.009182646870613098, 0.07869157940149307, -0.005468290764838457, -0.0035724083427339792, 0.07309931516647339, -0.04344062879681587, 0.04315515607595444, -0.0101631386205554, 0.03515547886490822, -0.0013477636966854334, -0.006827383302152157, 0.0022524644155055285, -0.05185924470424652, 0.03674799203872681, 0.00033292811713181436, 0.015484081581234932, 0.0656038373708725, -0.07328810542821884, 0.004722681362181902, -0.024182097986340523, 0.020785223692655563, 0.018631380051374435, -0.0190669484436512, 0.014165962114930153, 0.07161783427000046, 0.060158468782901764, 0.03200932592153549, -0.05051148310303688, -0.062079232186079025, 0.07626966387033463, 0.07544714957475662, 0.02675553783774376, 0.007587941829115152, 0.011468875221908092, 0.05961838737130165, -0.014145293273031712, -0.0244747307151556, -0.026782553642988205, 0.008402746170759201, 0.01779693365097046, 0.013617435470223427, -0.02416405826807022, 0.08342371881008148, -0.1041964665055275, 0.06057507172226906, -0.020503990352153778, 0.02846527099609375, -0.006387253757566214, -0.049511391669511795, -0.033836573362350464, 0.005041478201746941, 0.018131760880351067, 0.18189823627471924, -0.07990914583206177, -0.0406404547393322, -0.046755824238061905, 0.020498236641287804, 0.041422288864851, 0.09507817775011063, 0.06797865778207779, 0.029608767479658127, -0.057432420551776886, -0.028098948299884796, -0.0886303260922432, -0.01639779657125473, 0.002740335650742054, 0.0255814827978611, -0.008191120810806751, 0.05646968632936478, 0.0003893112007062882, -0.013329366222023964, -0.03273603320121765, -0.0387934073805809, -0.001759871025569737, -0.013184542767703533, -0.005065282806754112, -0.02704000286757946, -0.03999152034521103, 0.07384731620550156, -0.012304745614528656, -0.017085954546928406, 0.04226633161306381, -0.0549100860953331, 0.051537878811359406, 0.02560950256884098, 0.014020008966326714, 0.05383709445595741, -0.012687752954661846, 0.013285881839692593, -0.029156487435102463, -0.012467357330024242, 0.03616069629788399, 0.015591215342283249, 0.017725173383951187, -0.031758178025484085, -0.011297355405986309, -0.02721821330487728, -0.024371875450015068, -0.02691647969186306, 0.020969634875655174, 0.002896256046369672, 0.013416243717074394, 0.01728309877216816, -0.027286944910883904, 0.03519182279706001, 0.010280109941959381, 0.01757795549929142, 0.02897406369447708, 0.04176975414156914, 0.015689430758357048, -0.06878728419542313, 0.008922705426812172, 0.004502530209720135, -0.02148839645087719, 0.0289616696536541, 0.020769117400050163, 0.024510636925697327, 0.029476147145032883, -0.013564053922891617, -0.02501784637570381, -0.02501228265464306, 0.042908404022455215, 0.023996742442250252, 0.015468037687242031, -0.01612534187734127, -0.029330939054489136, -0.04453333094716072, -0.01717853546142578, 0.029519906267523766, -0.006631786469370127, -0.004226254299283028, 0.04420008137822151, -0.01681947149336338, 0.028544485569000244, 0.026449494063854218, -0.0056824940256774426, -0.0034288978204131126, 0.05120294913649559, -0.011783252470195293, 0.0422261506319046, -0.08410557359457016, 0.002689612563699484, -0.03494247421622276, 0.0067581855691969395, 0.010182254947721958, -0.006081578321754932, 0.07452830672264099, -0.015773426741361618, -0.009112951345741749, 0.021510837599635124, -0.002479908522218466, -0.00820025522261858, 0.0344616137444973, 0.0183341633528471, -0.03292771801352501, 0.04162793233990669, -0.10220185667276382, -0.00045208868687041104, 0.04605654627084732, 0.010607976466417313, -0.03894384205341339, 0.001401674933731556, -0.017135988920927048, -0.015311215072870255, -0.02623876929283142, -0.03885363042354584, 0.03751832991838455, -0.00435797031968832, 0.05368582904338837, -0.01635586842894554, -0.04541447386145592, -0.0019533641170710325, -0.01905124820768833, 0.023839518427848816, -0.030363138765096664, 0.018202682957053185, 0.0020166109316051006, 0.0023321034386754036, 0.030614342540502548, 0.00012140936451032758, 0.012594010680913925, -0.02238081581890583, -0.021933086216449738, -0.014883236028254032, 0.009141874499619007, -0.02903752587735653, 0.005909680388867855, 0.0041249459609389305, -0.01673520915210247, -0.03709125146269798, 0.023951327428221703, 0.0030142893083393574, 0.026858890429139137, 0.015895841643214226, 0.026325881481170654, -0.0011930468026548624, 0.024590060114860535, 0.0063123260624706745, 0.003758796723559499, 0.006922054570168257, -0.060718413442373276, 0.020732155069708824, -0.023043861612677574, -0.027011817321181297, -0.013671964406967163, 0.05191488191485405, 0.029530400410294533, -0.04986916109919548, -0.05920257791876793, 0.027706816792488098, -0.008691897615790367, 0.013921871781349182, -0.034368742257356644, -0.005707224365323782, -0.0025965271051973104, 0.023674460127949715, -0.03979695588350296, -0.04655429348349571, 0.042387451976537704, 0.04758961498737335, -0.005404091440141201, -0.03103789873421192, -0.022429170086979866, 0.007160041481256485, 0.0016409704694524407, -0.020414451137185097, 0.034738559275865555, -0.026373112574219704, -0.0038581143599003553, 0.051325563341379166, -0.011433632113039494, -0.047486912459135056, 0.0011419329093769193, 0.03145846724510193, 0.004989039618521929, 0.004100763704627752, -0.010616152547299862, 0.03934447467327118, 0.006432178430259228, -0.021845480427145958, 0.024561645463109016, -0.052579116076231, -0.046099744737148285, -0.016136974096298218, 0.01086275652050972, 0.0022019471507519484, -0.032603319734334946, -0.021660545840859413, 0.0591823048889637, 0.0036625624634325504, -0.03564641624689102, 0.02119465358555317, -0.022710325196385384, -0.040015146136283875, 0.0864635556936264, 0.0010583250550553203, 0.015719981864094734, 0.003700618166476488, -0.0015596153680235147, 0.04620412737131119, -0.01279754564166069, 0.008545595221221447, 0.004381395410746336, -0.007165603805333376, 0.04022751748561859, -0.011656944639980793, 0.010520895011723042, -0.016076896339654922, -0.023129867389798164, 0.008560175076127052, -0.030342908576130867, -0.025741463527083397, 0.03317109867930412, 0.009843481704592705, -0.012819775380194187, 0.030187103897333145, -0.036621835082769394, 0.0030485098250210285, -0.01228297222405672, -0.017076481133699417, -0.006335751619189978, -0.0002279916952829808, -0.00478567648679018, 0.004824399948120117, 0.0076473490335047245, -0.04995924234390259, 0.013178379274904728, -0.009070146828889847, 0.015256866812705994, 0.024673527106642723, 0.027580920606851578, -0.01229786965996027, -0.044340580701828, -0.007751160301268101, 0.04438740015029907, -0.007425149902701378, 0.00838550180196762, 0.030388234183192253, 0.009269488975405693, 0.04782871529459953, 0.02862071618437767, -0.028197655454277992, -0.023510510101914406, 0.006989322602748871, 0.030955178663134575, 0.008912481367588043, -0.009638087823987007, -0.028256896883249283, -0.019195904955267906, 0.0074839661829173565, -0.04791904240846634, 0.043413009494543076, 0.01979069598019123, -0.025871792808175087, -0.03076982870697975, 0.011787965893745422, 0.06840891391038895, 0.04394056275486946, -0.05210686847567558, 0.03498397022485733, -0.03573127090930939, 0.004894261248409748, 0.023797765374183655, 0.030085613951086998, 0.006906365975737572, 0.012508298270404339, 0.038679372519254684, 0.055128518491983414, -0.013016766868531704, 0.0021886853501200676, -0.029611313715577126, 0.02603377401828766, 0.02819833531975746, 0.018572384491562843, -0.009407591074705124, -0.03120896965265274, -0.029895227402448654, -0.014259680174291134, -0.0080647524446249, 0.017134372144937515, -0.00801551528275013, 0.02244984358549118, -0.03544643521308899, 0.011423463001847267, 0.046883296221494675, -0.035405706614255905, -0.029917705804109573, -0.025825126096606255, 0.047741614282131195, -0.03538171201944351, -0.017390022054314613, -0.021053563803434372, -0.0008038342348299921, -0.010230263695120811, -0.0277214627712965, 0.006477043963968754, 0.01190817542374134, -0.005345145706087351, 0.0005963240982964635, 0.01436099223792553, -0.018761252984404564, 0.005397082306444645, -0.030175793915987015, -0.07390562444925308, -0.0082372622564435, -0.008604597300291061, 0.03244955465197563, 0.06954760104417801, 0.00852328073233366, -0.02822727896273136, 0.06619951874017715, 0.024783391505479813, 0.011905794031918049, 0.008816316723823547, 0.022962532937526703, -0.01765243336558342, -0.023729082196950912, 0.00039817369543015957, 0.01952405273914337, -0.011952239088714123, 0.018990671262145042, 0.01398471649736166, -0.03407511115074158, -0.007382089737802744, -0.05039422959089279, 0.0162728950381279, 0.013888437300920486, -0.007914848625659943, 0.013810551725327969, 0.006465349346399307, 0.03303772583603859, 0.0076415021903812885, -0.017217185348272324, -0.004246234893798828, 0.01718711480498314, 0.029834743589162827, 0.03041565977036953, -0.02902921661734581, -0.05000762641429901, -0.029098523780703545, 0.0035075657069683075, -0.048613570630550385, 0.025991283357143402, 0.05647508427500725, -0.02131221629679203, -0.008069653064012527, 0.01604212075471878, -0.025648921728134155, 0.03165910020470619, 0.0035956529900431633, 0.03794397413730621, -0.003041722346097231, -0.010921653360128403, -0.014694247394800186, -0.01224320475012064, 0.016423694789409637, 0.023058021441102028, 0.08143841475248337, 0.004539814777672291, 0.06678349524736404, 0.04318520799279213, 0.007872018031775951, 0.062101367861032486, 0.013271783478558064, 0.011153138242661953, -0.022968022152781487, 0.045181725174188614, 0.02757672220468521, 0.0530109629034996, 0.04107680916786194, -0.055260978639125824, -0.01773703284561634, -0.043918490409851074, 0.0015772413462400436, -0.0320308655500412, 0.006162491161376238, 0.042066045105457306, -0.032624252140522, 0.011567262932658195, -0.0204501710832119, 0.07840092480182648, 0.05094531551003456, 0.05441251024603844, -0.00448721693828702, 0.046013858169317245, 0.042667556554079056, -0.007027332205325365, -0.0021991210523992777, 0.05207659676671028, 0.020939625799655914, -0.02970864437520504, 0.027497051283717155, 0.026581669226288795, -0.010076857171952724, -0.011709910817444324, 0.021389344707131386, 0.04403531551361084, -0.009189390577375889, -0.01355393324047327, -0.004631272051483393, 0.011705826036632061, 0.00854495819658041, -0.02152707800269127, 0.008213173598051071, -0.0314323715865612, 0.041192322969436646, -0.011241864413022995, -0.0016252417117357254, -0.019383007660508156, -0.002947077387943864, -0.002349144546315074, 0.01961299404501915, -0.005143910180777311, -0.012653956189751625, -0.015013282187283039, -0.019220922142267227, -0.0007474442245438695, 0.010063907131552696, -0.038163118064403534, -0.001765624387189746, 0.016864242032170296, 0.008933871984481812, -0.015375538729131222, 0.023552678525447845, 0.012855898588895798, -0.01862912066280842, 0.03922495245933533, 0.044172536581754684, 0.006420765537768602, 0.017100175842642784, 0.040576353669166565, -0.025305496528744698, -0.042670536786317825, 0.022405611351132393, -0.007101569324731827, -0.02298177033662796, -0.0001781503960955888, -0.061291251331567764, 0.003286924446001649, -0.0263174157589674, 0.016764389351010323, 0.036624398082494736, 0.0720442607998848, -0.009244132786989212, -0.017046131193637848, -0.03507249057292938, 0.0007213415810838342, -0.02846052125096321, 0.04597579315304756, -0.0033854185603559017, 0.021938789635896683, 0.0027895260136574507, 0.004116364289075136, 0.022527409717440605, -0.05020413175225258, -0.0017917812801897526, 0.03450535982847214, 0.022355519235134125, -0.048201728612184525, 0.02295156940817833, 0.07190068066120148, 0.05861334502696991, 0.028569018468260765, 0.043072622269392014, -0.015317070297896862, 0.010682794265449047, -0.009231267496943474, 0.05078032612800598, -0.036649253219366074, 0.037621986120939255, -0.04790663719177246, -0.03404644504189491, -0.019177405163645744, 0.014383970759809017, 0.00047386239748448133, 0.02132387086749077, 0.025019893422722816, 0.0005421012174338102, -0.019986581057310104, -0.0006274093757383525, 0.03706410899758339, 0.0260405745357275, 0.06253938376903534, -0.022910675033926964, -0.008060045540332794, -0.03424941003322601, 0.012431812472641468, 0.0167947206646204, -0.006025423761457205, 0.002923166612163186, 0.02377406135201454, -0.003599668387323618, -0.015075189992785454, 0.006618674844503403, -0.025687240064144135, 0.004793488886207342, -0.03337380290031433, 0.02204018458724022, 0.0048371292650699615, -0.0018453658558428288, -0.0329098179936409, 0.026469923555850983, 0.028078285977244377, -0.027449268847703934, 0.03659539669752121, -0.011541556566953659, -0.0286755058914423, -0.014004089869558811, 0.04131438955664635, -0.04652516543865204, -0.011903497390449047, 0.00563462870195508, -0.01081155240535736, 0.04574626311659813, 0.005961621645838022, 0.05308645963668823, -0.02299429476261139, 0.014513078145682812, -0.002182870404794812, -0.0015263938112184405, -0.02719973586499691, -0.01581946387887001, 0.022946858778595924, 0.033568866550922394, 0.014595162123441696, 0.0025356037076562643, 0.03396634757518768, 0.01312511507421732, 0.005715421866625547, -0.025045359507203102, 0.01608998328447342, -0.033629532903432846, -0.034057918936014175, 0.03243942931294441, -0.02108180522918701, 0.04549764469265938, 0.06571777164936066, -0.02909143827855587, -0.004769447725266218, 0.03995717689394951 ]
Open-Source Text Generation & LLM Ecosystem at Hugging Face
merve
July 17, 2023
os-llms
LLM, inference, nlp
https://huggingface.co/blog/os-llms
Brief Background on Text Generation Text generation models are essentially trained with the objective of completing an incomplete text or generating text from scratch as a response to a given instruction or question. Models that complete incomplete text are called Causal Language Models, and famous examples are GPT-3 by OpenAI and Llama by Meta AI. One concept you need to know before we move on is fine-tuning. This is the process of taking a very large model and transferring the knowledge contained in this base model to another use case, which we call a downstream task. These tasks can come in the form of instructions. As the model size grows, it can generalize better to instructions that do not exist in the pre-training data, but were learned during fine-tuning. Causal language models are adapted using a process called reinforcement learning from human feedback (RLHF). This optimization is mainly made over how natural and coherent the text sounds rather than the validity of the answer. Explaining how RLHF works is outside the scope of this blog post, but you can find more information about this process here. For example, GPT-3 is a causal language base model, while the models in the backend of ChatGPT (which is the UI for GPT-series models) are fine-tuned through RLHF on prompts that can consist of conversations or instructions. It’s an important distinction to make between these models. On the Hugging Face Hub, you can find both causal language models and causal language models fine-tuned on instructions (which we’ll give links to later in this blog post). Llama is one of the first open-source LLMs to have outperformed/matched closed-source ones. A research group led by Together has created a reproduction of Llama's dataset, called Red Pajama, and trained LLMs and instruction fine-tuned models on it. You can read more about it here and find the model checkpoints on Hugging Face Hub. By the time this blog post is written, three of the largest causal language models with open-source licenses are MPT-30B by MosaicML, XGen by Salesforce and Falcon by TII UAE, available completely open on Hugging Face Hub. Recently, Meta released Llama 2, an open-access model with a license that allows commercial use. As of now, Llama 2 outperforms all of the other open-source large language models on different benchmarks. Llama 2 checkpoints on Hugging Face Hub are compatible with transformers, and the largest checkpoint is available for everyone to try at HuggingChat. You can read more about how to fine-tune, deploy and prompt with Llama 2 in this blog post. The second type of text generation model is commonly referred to as the text-to-text generation model. These models are trained on text pairs, which can be questions and answers or instructions and responses. The most popular ones are T5 and BART (which, as of now, aren’t state-of-the-art). Google has recently released the FLAN-T5 series of models. FLAN is a recent technique developed for instruction fine-tuning, and FLAN-T5 is essentially T5 fine-tuned using FLAN. As of now, the FLAN-T5 series of models are state-of-the-art and open-source, available on the Hugging Face Hub. Note that these are different from instruction-tuned causal language models, although the input-output format might seem similar. Below you can see an illustration of how these models work. Having more variation of open-source text generation models enables companies to keep their data private, to adapt models to their domains faster, and to cut costs for inference instead of relying on closed paid APIs. All open-source causal language models on Hugging Face Hub can be found here, and text-to-text generation models can be found here.
[ 0.0222563948482275, -0.07645746320486069, 0.005173856858164072, 0.017798662185668945, 0.06511181592941284, 0.030048558488488197, 0.021598827093839645, 0.06915775686502457, -0.0004346646601334214, -0.020857619121670723, -0.11533151566982269, 0.03931528329849243, -0.015462148934602737, 0.025323227047920227, -0.06530226767063141, -0.010574531741440296, 0.015621758066117764, -0.0029378337785601616, -0.0277082696557045, 0.056942228227853775, 0.0041184197179973125, 0.04347214847803116, 0.019935304298996925, -0.062045201659202576, 0.04067352041602135, -0.06235813349485397, 0.04822080209851265, -0.01535159070044756, 0.009451658464968204, 0.008754272013902664, -0.07790906727313995, -0.0075731235556304455, -0.04837584123015404, 0.012892993167042732, -0.04275289550423622, -0.006279324181377888, -0.09685162454843521, 0.022733263671398163, 0.01191331073641777, -0.044203680008649826, -0.039631132036447525, 0.00972374901175499, -0.038749855011701584, 0.004372431896626949, 0.019533105194568634, 0.021320007741451263, -0.14815829694271088, 0.012688254937529564, -0.05375384911894798, -0.02588936686515808, -0.11630462110042572, 0.04848412796854973, -0.03582416847348213, -0.020685400813817978, 0.00026739007444120944, 0.04842149466276169, -0.0037839063443243504, -0.07259725779294968, 0.0586891807615757, 0.012251947075128555, 0.017413467168807983, 0.02710655704140663, 0.04280857741832733, 0.01729312352836132, -0.0003023610624950379, -0.055020175874233246, 0.019427120685577393, 0.025528559461236, -0.06104613468050957, 0.01127682812511921, -0.05111313238739967, -0.031793493777513504, -0.0414283350110054, -0.042660415172576904, -0.019925955682992935, -0.01617330312728882, -0.0028552610892802477, 0.031214026734232903, -0.05338210612535477, -0.03750186413526535, -0.0077238986268639565, 0.008689682930707932, -0.002021903172135353, -0.031536251306533813, -0.04397335276007652, 0.03089015744626522, 0.04122535511851311, -0.04553050547838211, -0.022131742909550667, 0.028204243630170822, -0.056573860347270966, -0.13755762577056885, -0.04194307699799538, -0.00190915004350245, 0.04944082722067833, 0.001538382493890822, 0.015975017100572586, 0.07112634927034378, -0.039034150540828705, -0.054722052067518234, 0.00027412487543188035, -0.06445154547691345, 0.034696124494075775, -0.048108261078596115, -0.09078636020421982, 0.06915963441133499, -0.02561330422759056, -0.048689037561416626, -0.045293912291526794, 0.021712660789489746, 0.026306230574846268, -0.03150082752108574, -0.013044663704931736, 0.10684819519519806, -0.09442637860774994, 0.02867867238819599, -0.017870010808110237, -0.025754980742931366, 0.00040491195977665484, 0.009649312123656273, 0.030285431072115898, 0.0031226600985974073, 0.05131823569536209, -0.028662964701652527, 0.000927309098187834, 0.11255713552236557, 0.006207844242453575, -0.00716407923027873, 0.027389047667384148, -0.003325504017993808, 0.029162678867578506, -0.004812990315258503, -0.025453124195337296, 0.0070924642495810986, 0.013786359690129757, -0.029900291934609413, 0.06812138110399246, -0.06966463476419449, 0.02211945690214634, 0.007721120025962591, -0.02707013301551342, 0.02254009246826172, 0.003933323081582785, -0.03914729878306389, 0.06560773402452469, -0.0227431058883667, -0.10166443139314651, 0.019614441320300102, -0.04771290346980095, -0.004429090302437544, -0.07191584259271622, 0.06997004896402359, -0.010441764257848263, -0.05071551352739334, 0.03182709962129593, 0.05611260607838631, -0.03183360770344734, 0.0027556379791349173, -0.06599075347185135, -0.04433433338999748, -0.013489533215761185, 0.03894272446632385, 0.025498606264591217, 0.018776241689920425, 0.031168842688202858, -0.05515686050057411, -0.013513068668544292, 0.07339493930339813, 0.008949567563831806, -0.0017301093321293592, 0.029254872351884842, -0.01251100655645132, 0.08871839195489883, -0.08743088692426682, 0.03385394066572189, 0.06708118319511414, 0.018920984119176865, -0.002068832516670227, 0.004857045132666826, 0.02675100415945053, -0.030857296660542488, 0.021299242973327637, 0.012514960020780563, 0.002560958731919527, 0.08314528316259384, -0.08766087144613266, 0.0022574756294488907, -0.04740779474377632, -0.03724513575434685, -0.01968306489288807, -0.03985161334276199, 0.028763234615325928, 0.0820813998579979, 0.047309309244155884, -0.01989155448973179, -0.11933604627847672, -0.041398338973522186, 0.12837569415569305, 0.07227404415607452, 0.1174718588590622, 0.05578978732228279, 0.03593103960156441, 0.05668588727712631, -0.04705199971795082, -0.08142651617527008, -0.007317123003304005, 0.029524333775043488, 0.028965461999177933, -0.03162982314825058, 0.020065385848283768, 0.041310470551252365, -0.1130923181772232, 0.0370655320584774, -0.059482187032699585, 0.01781502179801464, -0.03677065670490265, 0.008654862642288208, -0.050794027745723724, -0.00332451518625021, -0.013955645263195038, 0.13593211770057678, -0.04085913300514221, 0.013896736316382885, -0.0009917182615026832, 0.016334213316440582, 0.04411203786730766, 0.044845204800367355, 0.06471313536167145, 0.02614322118461132, -0.09406434744596481, 0.02656443603336811, -0.053979769349098206, -0.007482413202524185, -0.006156270857900381, 0.03827248886227608, -0.04720496013760567, -0.003228735877200961, 0.01284121349453926, 0.021964920684695244, -0.006487732287496328, 0.03627905994653702, 0.02331201359629631, -0.03356058523058891, -0.013979395851492882, -0.01543491706252098, -0.040724534541368484, 0.009979568421840668, -0.002642133506014943, -0.0842471495270729, 0.013330042362213135, -0.07600070536136627, 0.06558792293071747, -0.005138839595019817, 0.026250846683979034, -0.01668192259967327, -0.008062680251896381, 0.02067309059202671, 0.0012080968590453267, -0.011007673107087612, 0.04978717491030693, -0.026303764432668686, -0.02784927375614643, -0.011823011562228203, 0.0014564422890543938, -0.016109144315123558, -0.05736306309700012, 0.013875856064260006, 0.028209438547492027, 0.005854701157659292, -0.014722898602485657, 0.01290772296488285, -0.021007612347602844, -0.015434577129781246, 0.025549326092004776, 0.013577914796769619, 0.03899088501930237, 0.03932437300682068, -0.04119432717561722, -0.029370803385972977, -0.011858532205224037, -0.007383847609162331, 0.0112885357812047, 0.03330754116177559, 0.051818206906318665, 0.02871370129287243, 0.022296292707324028, 0.01646517403423786, -0.002198939211666584, -0.03862788900732994, 0.02308911457657814, 0.003830359783023596, -0.022002629935741425, -0.033051926642656326, -0.034237589687108994, 0.03360871970653534, 0.022737475112080574, 0.022390687838196754, -0.011197260580956936, 0.007585457060486078, -0.005944418720901012, 0.020013781264424324, 0.0035411505959928036, -0.0042836894281208515, -0.02266058698296547, -0.008877105079591274, 0.05393870547413826, 0.015467075631022453, 0.0446896031498909, -0.09191380441188812, -0.0012782762059941888, 0.01218340639024973, -0.05045964568853378, -0.014181259088218212, -0.013934949412941933, 0.03611338138580322, -0.043170616030693054, -0.007122242357581854, 0.004679548554122448, -0.0009165687370114028, 0.02521602436900139, 0.011565025895833969, -0.014327794313430786, -0.01435765903443098, -0.0032361007761210203, -0.018841059878468513, -0.040940821170806885, 0.020312711596488953, 0.013093567453324795, -0.008956647478044033, 0.012609509751200676, 0.006104175932705402, 0.0289868526160717, -0.01612343080341816, -0.0027762942481786013, 0.008324701339006424, -0.002461340045556426, 0.024528034031391144, -0.029664913192391396, -0.0007592968759126961, -0.014464312233030796, -0.03783103823661804, 0.051715582609176636, -0.0014969584299251437, 0.018767038360238075, 0.02226405218243599, 0.047168128192424774, -0.007564099971204996, 0.03549688681960106, -0.000033930191420949996, 0.008934996090829372, -0.02584567666053772, 0.01137668825685978, -0.038303062319755554, -0.031133046373724937, -0.03871515393257141, -0.0008395738550461829, 0.01177698839455843, 0.0037950428668409586, -0.008135941810905933, -0.03344327211380005, -0.013351179659366608, 0.046345893293619156, 0.007501127198338509, 0.045018844306468964, 0.041721515357494354, -0.00892495084553957, 0.025029078125953674, -0.014669454656541348, -0.07737468928098679, 0.025863315910100937, -0.05947968363761902, -0.018760057166218758, 0.0050646280869841576, 0.06667669117450714, 0.030223645269870758, -0.03591024875640869, 0.002653932897374034, 0.05258925259113312, -0.00865071453154087, 0.03439876809716225, 0.022571971639990807, 0.006066984962671995, -0.02140497975051403, 0.0012511102249845862, -0.01680930331349373, -0.019421042874455452, 0.06473062932491302, 0.03469064459204674, -0.035388559103012085, -0.0009094465640373528, -0.04259896278381348, -0.03544946014881134, 0.06405921280384064, -0.02742849290370941, 0.06791309267282486, -0.02465624362230301, 0.016532907262444496, 0.0338921919465065, 0.03224819898605347, -0.025269687175750732, 0.022480878978967667, 0.020177550613880157, -0.002375030657276511, 0.0009206385584548116, -0.006158845964819193, 0.022027719765901566, 0.00546503160148859, -0.008555334992706776, -0.007034859620034695, -0.054034002125263214, 0.0062098451890051365, -0.030070479959249496, -0.02426604926586151, 0.03983403369784355, -0.06058650091290474, -0.0012659793719649315, 0.009286615997552872, -0.015357112511992455, -0.037428148090839386, -0.0023748178500682116, 0.006082876585423946, -0.01288127712905407, 0.018504537642002106, 0.027835208922624588, 0.03561482951045036, -0.013304309919476509, -0.01661854237318039, -0.00993756577372551, 0.010419967584311962, 0.018643679097294807, 0.032007694244384766, -0.01786479726433754, 0.05530007183551788, -0.037481412291526794, 0.029969006776809692, -0.000102584483101964, 0.00936680007725954, -0.011002825573086739, 0.008961495943367481, -0.021956929937005043, 0.01678491197526455, 0.01571924425661564, 0.00812509749084711, -0.0006953623960725963, -0.034170642495155334, -0.02087811566889286, -0.030747322365641594, -0.008377430960536003, -0.01245876681059599, 0.0017052042530849576, 0.013085481710731983, -0.011538587510585785, 0.030182115733623505, 0.01048800814896822, -0.012901444919407368, -0.005079525988548994, 0.031168771907687187, -0.005593641195446253, 0.04338515177369118, -0.029935961589217186, -0.028359703719615936, -0.005104952957481146, 0.012830015271902084, 0.007071936968713999, -0.017430324107408524, -0.012915123254060745, 0.010919771157205105, 0.06787954270839691, 0.00036857774830423295, -0.011191903613507748, -0.04357634112238884, 0.02979360893368721, 0.030234621837735176, 0.015936078503727913, 0.0030731239821761847, -0.01817164570093155, 0.022065594792366028, -0.0009187946561723948, -0.008806905709207058, -0.002513663610443473, -0.019996488466858864, -0.020746203139424324, 0.0025663916021585464, 0.03628076985478401, 0.07289543747901917, 0.005851267836987972, -0.009261051192879677, 0.05554991587996483, -0.016105273738503456, 0.005663128569722176, 0.033987902104854584, 0.007171517703682184, 0.05221804976463318, 0.0174028892070055, 0.09734860807657242, 0.04419749975204468, 0.020163506269454956, 0.01283265370875597, 0.02049749717116356, 0.012789922766387463, 0.03271692618727684, -0.019029665738344193, -0.021044475957751274, 0.025723382830619812, -0.03731141984462738, 0.024371890351176262, 0.017636548727750778, 0.011464976705610752, 0.042670272290706635, 0.010457943193614483, -0.015393347479403019, 0.007007773499935865, 0.03576040640473366, -0.05038384348154068, -0.012475425377488136, -0.04211711138486862, 0.0005058656679466367, -0.011057546362280846, -0.054591309279203415, -0.02032460831105709, -0.01930922269821167, -0.02684313803911209, -0.012137657031416893, -0.04167395830154419, 0.009721535257995129, 0.038367435336112976, 0.030273908749222755, 0.0400429405272007, 0.004214621149003506, -0.03509147837758064, -0.01633547805249691, -0.030094916000962257, 0.004237300716340542, -0.03559565171599388, 0.030069904401898384, 0.006679845973849297, 0.044448964297771454, -0.013563523069024086, 0.0265182014554739, -0.010853145271539688, 0.02696257457137108, 0.05778802931308746, 0.00434367498382926, -0.000714685651473701, -0.07772035151720047, -0.013622448779642582, 0.02565528266131878, 0.006191738415509462, -0.01720225252211094, -0.02092546969652176, -0.013874510303139687, -0.0279096607118845, -0.023269949480891228, 0.05197637900710106, 0.005946597550064325, -0.0005329561536200345, -0.00493336608633399, 0.027277924120426178, 0.006418921519070864, -0.0015106822829693556, 0.004947316367179155, 0.023248836398124695, 0.001501203514635563, 0.02900073304772377, 0.043159764260053635, -0.007316163741052151, -0.026918789371848106, -0.020908672362565994, 0.010547738522291183, -0.01766951195895672, -0.0013437207089737058, 0.038896381855010986, -0.05540770664811134, 0.024030771106481552, 0.029880540445446968, 0.0007586300489492714, 0.01998717337846756, 0.04902204871177673, 0.02209286019206047, -0.005715315695852041, 0.02459469623863697, -0.005131601355969906, -0.011285413056612015, -0.03608284518122673, -0.008959149941802025, 0.05133161321282387, 0.007656285539269447, 0.05714027211070061, -0.0030949858482927084, 0.03308658301830292, 0.045309532433748245, -0.00020231909002177417, -0.0025492534041404724, -0.004830790217965841, 0.0903039276599884, 0.0532834455370903, 0.015401102602481842, 0.032375745475292206, -0.04425458610057831, -0.028398137539625168, -0.05328651890158653, -0.05021088942885399, -0.02809987962245941, 0.018653051927685738, 0.07714802771806717, 0.007816659286618233, 0.04984593018889427, 0.0017600045539438725, 0.05300603434443474, 0.048787448555231094, 0.010956509038805962, -0.017215648666024208, 0.06385460495948792, 0.01344247069209814, -0.029906414449214935, 0.004680727142840624, 0.022990243509411812, 0.006062906701117754, -0.014255177229642868, 0.016938645392656326, 0.051370978355407715, 0.021092403680086136, -0.009254807606339455, -0.003313593100756407, 0.01048252172768116, 0.012540703639388084, 0.03514765575528145, 0.031601037830114365, 0.019387464970350266, 0.03939495235681534, 0.013604788109660149, -0.040381405502557755, 0.029752779752016068, 0.014457719400525093, -0.004091349430382252, 0.009278161451220512, -0.0014703383203595877, -0.038519326597452164, 0.029235007241368294, 0.061016641557216644, 0.0007492700242437422, -0.06777036190032959, 0.0009960886090993881, -0.0027365314308553934, -0.007514164317399263, 0.0006751873879693449, -0.01688077673316002, -0.026593053713440895, 0.001299536321312189, 0.01156203169375658, -0.02362286113202572, -0.007233263459056616, 0.039704326540231705, -0.02051733061671257, 0.013446565717458725, 0.017042724415659904, -0.01241769827902317, -0.00672128377482295, 0.007148901466280222, 0.005368655547499657, -0.02251002937555313, 0.0006444014725275338, -0.03255356103181839, -0.027762696146965027, -0.008081595413386822, -0.028455009683966637, -0.0186635572463274, -0.04284096136689186, 0.034199878573417664, 0.0252663716673851, 0.053248681128025055, -0.04594048112630844, 0.010359037667512894, 0.011328392662107944, 0.035108454525470734, 0.00029267813079059124, 0.009759959764778614, 0.03765459358692169, 0.00932936929166317, 0.02811182290315628, -0.034140586853027344, 0.010195083916187286, -0.011580092832446098, 0.0014285353245213628, 0.05404146388173103, -0.005289361346513033, -0.04820282384753227, 0.012604724615812302, 0.07101442664861679, 0.005451915320008993, 0.04108864441514015, 0.0704653263092041, -0.008315478451550007, -0.014781832695007324, -0.023737020790576935, 0.0523681603372097, -0.043188001960515976, 0.05667119473218918, -0.03701629489660263, -0.0579654723405838, 0.008420602418482304, 0.02923823520541191, -0.03127983212471008, 0.013984107412397861, -0.0027493778616189957, -0.021654825657606125, -0.03949964791536331, -0.034510284662246704, 0.0014645253540948033, -0.002774922177195549, 0.07024496048688889, -0.014419068582355976, 0.009387406520545483, 0.017140110954642296, 0.026265332475304604, -0.021795116364955902, -0.013034775853157043, 0.014347697608172894, 0.024593526497483253, -0.03231266513466835, 0.014842379838228226, -0.02664928324520588, -0.009278581477701664, -0.032272081822156906, -0.0542779304087162, 0.022656893357634544, 0.031024493277072906, 0.006240554619580507, 0.003445544047281146, 0.01856420747935772, -0.0006098714075051248, -0.014682939276099205, 0.013034580275416374, -0.023349864408373833, -0.024284517392516136, 0.03155506029725075, 0.0049653565511107445, -0.06886786967515945, 0.010492820292711258, -0.028518475592136383, -0.004331540782004595, 0.03352551534771919, -0.004434973932802677, 0.03215131163597107, 0.008578235283493996, -0.00532503891736269, 0.002546778880059719, 0.021486714482307434, -0.04012516885995865, -0.03220929950475693, 0.027223199605941772, -0.016614481806755066, -0.02337668649852276, -0.030130306258797646, 0.004609955474734306, 0.004827603697776794, 0.019261149689555168, 0.007854653522372246, -0.018959080800414085, -0.022745925933122635, -0.020686177536845207, 0.0331663116812706, 0.020995864644646645, 0.06622938811779022, 0.06094147264957428, -0.0074990289285779, -0.01764613389968872, 0.0031480290926992893 ]
Open-Source Text Generation & LLM Ecosystem at Hugging Face
merve
July 17, 2023
os-llms
LLM, inference, nlp
https://huggingface.co/blog/os-llms
Licensing Many text generation models are either closed-source or the license limits commercial use. Fortunately, open-source alternatives are starting to appear and being embraced by the community as building blocks for further development, fine-tuning, or integration with other projects. Below you can find a list of some of the large causal language models with fully open-source licenses: - Falcon 40B - XGen - MPT-30B - Pythia-12B - RedPajama-INCITE-7B - OpenAssistant (Falcon variant) There are two code generation models, StarCoder by BigCode and Codegen by Salesforce. There are model checkpoints in different sizes and open-source or open RAIL licenses for both, except for Codegen fine-tuned on instruction. The Hugging Face Hub also hosts various models fine-tuned for instruction or chat use. They come in various styles and sizes depending on your needs. - MPT-30B-Chat, by Mosaic ML, uses the CC-BY-NC-SA license, which does not allow commercial use. However, MPT-30B-Instruct uses CC-BY-SA 3.0, which can be used commercially. - Falcon-40B-Instruct and Falcon-7B-Instruct both use the Apache 2.0 license, so commercial use is also permitted. - Another popular family of models is OpenAssistant, some of which are built on Meta's Llama model using a custom instruction-tuning dataset. Since the original Llama model can only be used for research, the OpenAssistant checkpoints built on Llama don’t have full open-source licenses. However, there are OpenAssistant models built on open-source models like Falcon or pythia that use permissive licenses. - StarChat Beta is the instruction fine-tuned version of StarCoder, and has BigCode Open RAIL-M v1 license, which allows commercial use. Instruction-tuned coding model of Salesforce, XGen model, only allows research use. If you're looking to fine-tune a model on an existing instruction dataset, you need to know how a dataset was compiled. Some of the existing instruction datasets are either crowd-sourced or use outputs of existing models (e.g., the models behind ChatGPT). ALPACA dataset created by Stanford is created through the outputs of models behind ChatGPT. Moreover, there are various crowd-sourced instruction datasets with open-source licenses, like oasst1 (created by thousands of people voluntarily!) or databricks/databricks-dolly-15k. If you'd like to create a dataset yourself, you can check out the dataset card of Dolly on how to create an instruction dataset. Models fine-tuned on these datasets can be distributed. You can find a comprehensive table of some open-source/open-access models below. | Model | Dataset | License | Use | |------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|-------------------------| | Falcon 40B | Falcon RefinedWeb | Apache-2.0 | Text Generation | | SalesForce XGen 7B | Mix of C4, RedPajama and more | Apache-2.0 | Text Generation | | MPT-30B | Mix of C4, RedPajama and more | Apache-2.0 | Text Generation | | Pythia-12B | Pile | Apache-2.0 | Text Generation | | RedPajama INCITE 7B | RedPajama | Apache-2.0 | Text Generation | | OpenAssistant Falcon 40B | oasst1 and Dolly | Apache-2.0 | Text Generation | | StarCoder | The Stack | BigCode OpenRAIL-M | Code Generation | | Salesforce CodeGen | Starcoder Data | Apache-2.0 | Code Generation | | FLAN-T5-XXL | gsm8k, lambada, and esnli | Apache-2.0 | Text-to-text Generation | | MPT-30B Chat | ShareGPT-Vicuna, OpenAssistant Guanaco and more | CC-By-NC-SA-4.0 | Chat | | MPT-30B Instruct | duorc, competition_math, dolly_hhrlhf | CC-By-SA-3.0 | Instruction | | Falcon 40B Instruct | baize | Apache-2.0 | Instruction | | Dolly v2 | Dolly | MIT | Text Generation | | StarChat-β | OpenAssistant Guanaco | BigCode OpenRAIL-M | Code Instruction | | Llama 2 | Undisclosed dataset | Custom Meta License (Allows commercial use) | Text Generation |
[ 0.007514241151511669, -0.0028493113350123167, 0.00613012770190835, 0.02189178764820099, 0.039102889597415924, 0.007941724732518196, -0.005316271912306547, 0.09126715362071991, -0.009782309643924236, -0.020198194310069084, -0.10165748000144958, 0.02809257060289383, -0.03594353049993515, 0.026230351999402046, 0.011814747005701065, -0.05730617791414261, 0.010364333167672157, 0.05500585213303566, -0.05125700682401657, 0.01823408715426922, 0.03984109312295914, 0.009538021869957447, -0.04910258203744888, -0.050204578787088394, -0.04845275729894638, -0.026370808482170105, 0.02388390526175499, 0.026104064658284187, -0.007853301241993904, 0.04235691577196121, -0.070902019739151, 0.02387090213596821, -0.05953776836395264, 0.015421363525092602, -0.030652683228254318, 0.04752568528056145, -0.08901748806238174, 0.052041132003068924, -0.015214363113045692, -0.02899693138897419, 0.03171459585428238, -0.03116150200366974, -0.051755860447883606, 0.029687484726309776, -0.002541780238971114, 0.05243104696273804, -0.09683386236429214, 0.04561720788478851, -0.03880876302719116, 0.019535493105649948, -0.12193043529987335, 0.037016190588474274, -0.05395903438329697, -0.02150762267410755, 0.08327580988407135, 0.04880368709564209, -0.03270318731665611, -0.09982801973819733, 0.028260990977287292, -0.009323660284280777, 0.008875352330505848, -0.03185669332742691, 0.024674072861671448, -0.009117087349295616, 0.03722064197063446, -0.017394069582223892, -0.03527726233005524, 0.0008517769747413695, -0.044025860726833344, -0.0357082225382328, -0.013294662348926067, -0.015264062210917473, -0.04580337926745415, -0.08240699768066406, -0.021387575194239616, -0.073806032538414, -0.016679877415299416, 0.053225476294755936, 0.0531318299472332, -0.036759767681360245, 0.007003966253250837, 0.0686507597565651, 0.03581005707383156, -0.04723798856139183, -0.030280321836471558, 0.019084259867668152, -0.006517290137708187, -0.09895014762878418, -0.03840983286499977, -0.05693555995821953, -0.05242733657360077, -0.09314107149839401, 0.019071772694587708, -0.0009324016864411533, 0.057065099477767944, 0.04101767763495445, -0.00330556882545352, 0.049203578382730484, -0.008563188835978508, -0.018884960561990738, -0.026749571785330772, 0.0012941346503794193, 0.010808232240378857, -0.0519992895424366, -0.03546919301152229, 0.05646277219057083, -0.002452886663377285, -0.004310650750994682, -0.010492420755326748, -0.00931750051677227, 0.059281617403030396, -0.013794471509754658, -0.020060086622834206, 0.10516498982906342, -0.11249104887247086, 0.011766583658754826, -0.009222358465194702, -0.053202491253614426, 0.019310660660266876, -0.03762013092637062, 0.018198875710368156, 0.02652224898338318, -0.059987470507621765, -0.00746763963252306, 0.001221591024659574, 0.15327928960323334, 0.011642049998044968, 0.023094849660992622, -0.004616944119334221, -0.03918328136205673, -0.004726042505353689, -0.024111846461892128, 0.016236938536167145, -0.021482620388269424, 0.07518418878316879, -0.04623600095510483, 0.05645400285720825, -0.038935642689466476, -0.020723318681120872, 0.02667148970067501, -0.03739461302757263, 0.061515774577856064, 0.038747988641262054, -0.015092852525413036, 0.021605949848890305, 0.034657228738069534, -0.09871715307235718, 0.026151113212108612, -0.05760230869054794, -0.02115597575902939, -0.05603719875216484, 0.08726051449775696, 0.019569598138332367, -0.024098308756947517, 0.0189749076962471, 0.042209792882204056, -0.020781176164746284, 0.03362985700368881, -0.03977764770388603, -0.030226293951272964, -0.0029278446454554796, 0.03172432258725166, 0.010847624391317368, -0.03249210864305496, 0.02224642038345337, -0.017810123041272163, -0.017911789938807487, 0.02413433976471424, 0.0011689579114317894, 0.013014491647481918, 0.003134625032544136, -0.0011865812120959163, 0.07735870778560638, -0.10038772970438004, 0.005798263940960169, 0.025983987376093864, 0.04181091859936714, 0.08328089863061905, 0.007018415257334709, 0.023002345114946365, -0.02160755917429924, -0.02480492927134037, 0.03654365614056587, -0.0042212954722344875, 0.05239551514387131, -0.07104089111089706, 0.05102011188864708, -0.10587088763713837, -0.002058434998616576, -0.04509789124131203, -0.05994676798582077, 0.027138378471136093, 0.10305693000555038, 0.05720426142215729, 0.015446461737155914, -0.0199238583445549, -0.023763233795762062, 0.08029938489198685, 0.14872664213180542, 0.02670593373477459, 0.022217225283384323, 0.012333315797150135, -0.0042982823215425014, -0.0711275190114975, -0.08299931138753891, -0.019957486540079117, 0.000924130785278976, 0.004290575627237558, -0.031653523445129395, 0.014344895258545876, 0.040875159204006195, -0.11083054542541504, 0.018346181139349937, -0.05929151549935341, 0.06760327517986298, 0.005889163352549076, -0.060919228941202164, -0.025013776496052742, 0.027506835758686066, 0.01537357922643423, 0.15806417167186737, -0.07098580151796341, -0.054333511739969254, -0.05751876160502434, -0.027241094037890434, 0.04446921497583389, 0.05772864818572998, 0.07563979923725128, 0.0008205207996070385, -0.10022003203630447, -0.001957114553079009, -0.020722277462482452, 0.01801254414021969, -0.0038966857828199863, 0.02042008750140667, -0.0020868133287876844, -0.009231817908585072, -0.06646285206079483, 0.03269365057349205, -0.0015892846276983619, -0.003308225190266967, 0.06675712764263153, -0.04255014657974243, -0.01145570445805788, 0.01410317700356245, -0.04171422868967056, -0.03419185057282448, 0.02863346040248871, -0.02289402484893799, 0.0020510696340352297, -0.036786239594221115, 0.03686942532658577, -0.01633787713944912, 0.00718108331784606, -0.019512876868247986, 0.01500396616756916, -0.019379643723368645, 0.01246854942291975, -0.02078915759921074, 0.014823665842413902, 0.03309401124715805, -0.013014235533773899, -0.018129779025912285, 0.003806864144280553, 0.007971663028001785, -0.03444347158074379, 0.02109384909272194, 0.021758364513516426, 0.029342489317059517, -0.012883634306490421, 0.015387214720249176, -0.03197576850652695, -0.03363155573606491, -0.0038882663939148188, 0.004597763996571302, 0.04118356481194496, 0.04352126270532608, -0.031147638335824013, -0.029408598318696022, 0.028317485004663467, -0.008819674141705036, -0.032294731587171555, 0.019951127469539642, 0.028792185708880424, 0.01744229719042778, 0.014817800372838974, 0.035573702305555344, 0.02079477719962597, 0.0036540734581649303, 0.02543225884437561, 0.019149791449308395, 0.005213423166424036, -0.003390379250049591, -0.03353177756071091, -0.021330226212739944, 0.0035936094354838133, 0.030704423785209656, 0.030766276642680168, -0.025943292304873466, -0.011299378238618374, -0.014388781040906906, -0.023423805832862854, 0.0010668175527825952, -0.009265375323593616, 0.0061318520456552505, 0.021825969219207764, -0.015300571918487549, -0.01175475213676691, -0.0801788866519928, 0.02216065488755703, -0.06278666853904724, -0.029318632557988167, -0.0388026088476181, -0.007682555355131626, 0.055364158004522324, -0.02179083414375782, -0.009261473082005978, 0.03009047731757164, 0.020189745351672173, 0.006034321151673794, -0.008923226967453957, 0.004011870827525854, -0.014178011566400528, -0.026602590456604958, -0.03031623549759388, -0.00646055955439806, 0.023977121338248253, -0.004289796110242605, 0.009570799767971039, -0.0038902570959180593, -0.006613016128540039, -0.0034415547270327806, -0.025256255641579628, -0.0031526521779596806, 0.021918635815382004, -0.030409377068281174, 0.03390749543905258, -0.008988169953227043, -0.014777257107198238, -0.018118638545274734, -0.018040496855974197, 0.021003829315304756, -0.013176065869629383, 0.012256667017936707, 0.009307424537837505, 0.02629927173256874, 0.000915532058570534, 0.029659580439329147, 0.03521027788519859, -0.036615658551454544, -7.216621042971383e-7, -0.02044432982802391, -0.025645526126027107, -0.0011716807493939996, -0.049598220735788345, 0.035010866820812225, 0.017100941389799118, 0.011572305113077164, 0.029388558119535446, -0.046061236411333084, 0.011471223086118698, 0.04796237871050835, 0.017362438142299652, 0.03342318907380104, 0.02174166589975357, -0.0035916129127144814, 0.0005716557498089969, 0.000022151138182380237, -0.09333017468452454, 0.048262134194374084, -0.024098431691527367, -0.0342666395008564, -0.005587691441178322, 0.04858921840786934, 0.024756455793976784, -0.031302448362112045, -0.027516096830368042, 0.045576900243759155, 0.00682178046554327, 0.048300135880708694, 0.023758133873343468, -0.0006071770912967622, -0.014284759759902954, 0.02964525669813156, -0.03397958353161812, -0.03410970792174339, 0.006222375202924013, 0.044769421219825745, 0.013455833308398724, -0.03316507488489151, -0.019189272075891495, -0.054511554539203644, 0.015913939103484154, -0.02855006419122219, 0.04184884950518608, -0.0336943157017231, 0.016252607107162476, 0.006737021263688803, -0.00037389155477285385, -0.027940772473812103, 0.03927287086844444, 0.04367465525865555, 0.03378809988498688, -0.01622980833053589, 0.013345593586564064, 0.05033349245786667, -0.019591372460126877, 0.004515943117439747, -0.010207058861851692, -0.05171393230557442, -0.012952365912497044, -0.022641794756054878, -0.06181302294135094, 0.022762570530176163, -0.06266628205776215, 0.003635203465819359, 0.018668822944164276, 0.005921078380197287, -0.006833237130194902, 0.005118223838508129, 0.01902451179921627, -0.019098734483122826, -0.0012714822078123689, 0.022075196728110313, 0.008944990113377571, 0.004856147803366184, -0.04346799477934837, -0.006027220282703638, -0.004731876775622368, -0.009298373945057392, 0.02440747059881687, -0.014846107922494411, 0.0462503544986248, -0.034234482795000076, 0.017094513401389122, 0.005928714759647846, 0.0033728829585015774, 0.03241443261504173, -0.020725907757878304, -0.0447453148663044, 0.004215470515191555, 0.05184496194124222, -0.00030834003700874746, -0.02634778618812561, 0.0084451949223876, 0.006807742640376091, 0.007032202556729317, 0.00199822336435318, -0.017347335815429688, -0.0055901240557432175, 0.0224156491458416, 0.03881102800369263, 0.03898013010621071, -0.02574620209634304, 0.006772137712687254, 0.002405846491456032, 0.017336061224341393, -0.006923375651240349, 0.01786826364696026, -0.0007795376586727798, -0.03397534787654877, 0.02561105042695999, 0.013201371766626835, 0.001545611536130309, 0.0047593628987669945, 0.017436999827623367, 0.00824766419827938, 0.055095378309488297, 0.047042712569236755, -0.020040463656187057, -0.031779855489730835, 0.0034552980214357376, 0.026801876723766327, 0.024856707081198692, 0.046375688165426254, -0.016707612201571465, -0.038786083459854126, 0.029872460290789604, -0.023749813437461853, 0.02100980095565319, -0.03803974390029907, 0.011957768350839615, -0.02352023869752884, 0.05030452832579613, 0.07093144208192825, 0.031632911413908005, -0.0005054501234553754, 0.03677086904644966, -0.03222038224339485, -0.026798002421855927, 0.061720479279756546, 0.0022174755576997995, 0.04459672421216965, 0.018450455740094185, 0.08168122917413712, 0.08154179155826569, 0.027513591572642326, -0.008188484236598015, -0.03980940580368042, 0.003173544304445386, 0.004590462427586317, 0.015115911141037941, -0.023526161909103394, 0.02285962738096714, -0.02227109484374523, -0.002646337728947401, 0.04080731421709061, -0.04044592007994652, -0.016521712765097618, -0.0023675961419939995, -0.05062073841691017, -0.0035136963706463575, 0.01856110617518425, -0.05598089471459389, -0.005116685293614864, -0.015645628795027733, 0.014646359719336033, -0.02785399556159973, -0.04066914692521095, -0.00032466204720549285, -0.03328215330839157, 0.00007514937169617042, 0.02229767106473446, -0.02075415849685669, 0.008581303060054779, 0.04655947536230087, -0.015052113682031631, 0.04081916809082031, 0.010689500719308853, -0.005540058948099613, -0.013076196424663067, -0.026395432651042938, 0.026750080287456512, 0.007595958653837442, 0.003056182060390711, 0.05220499634742737, 0.03587000444531441, -0.002707392442971468, 0.05099255219101906, 0.010170591995120049, -0.00003265989289502613, 0.04893956333398819, -0.0031910717952996492, 0.025707850232720375, -0.06337623298168182, -0.0233518797904253, 0.03111797757446766, 0.0005595675902441144, -0.03206640109419823, -0.014619226567447186, -0.007680532988160849, -0.025400584563612938, -0.048945266753435135, 0.03179429471492767, 0.003897611051797867, -0.012229302898049355, -0.012575745582580566, 0.0008061476983129978, 0.02385236695408821, 0.016107767820358276, -0.003793375799432397, -0.01665187068283558, -0.004883903544396162, -0.017122169956564903, 0.05185965448617935, -0.03450159728527069, -0.0020454542245715857, -0.02316059172153473, -0.017922142520546913, -0.0021717993076890707, -0.006922671105712652, 0.043499965220689774, -0.08789228647947311, 0.0182707030326128, 0.030887996777892113, -0.054918259382247925, 0.00013736067921854556, -0.010212665423750877, 0.02287137508392334, -0.03351592272520065, 0.004957305733114481, -0.03651416674256325, -0.021300287917256355, -0.05430636182427406, 0.019748127087950706, 0.041439834982156754, 0.03306132182478905, 0.043277524411678314, 0.018295932561159134, 0.03246070444583893, 0.039642054587602615, 0.014312002807855606, -0.01038178987801075, 0.02165631577372551, 0.069639191031456, 0.05909869447350502, 0.019665459170937538, 0.00950927846133709, -0.055152781307697296, -0.0270611010491848, -0.08789638429880142, 0.005873976740986109, -0.04740125685930252, -0.03291235864162445, 0.01978912390768528, -0.011386544443666935, 0.04365076869726181, -0.0014015354681760073, 0.06773553043603897, 0.02264593169093132, 0.01484934613108635, 0.008765040896832943, 0.038412902504205704, -0.01640801504254341, -0.018484126776456833, -0.006664006505161524, -0.00009733075421536341, 0.012309189885854721, 0.014433521777391434, 0.01701977290213108, 0.04251101240515709, 0.008977221325039864, -0.021265700459480286, 0.022348744794726372, 0.01872873678803444, -0.010251875966787338, 0.049321506172418594, 0.04106448218226433, 0.005704463459551334, 0.011790015734732151, -0.017394596710801125, -0.015037338249385357, 0.0025255191139876842, 0.0070760538801550865, -0.022530708461999893, 0.003525875275954604, -0.01783693954348564, -0.001990715740248561, 0.00691650016233325, 0.013752575032413006, 0.011836664751172066, -0.03280334547162056, -0.02513277716934681, -0.0044606756418943405, -0.007118073757737875, 0.03605115786194801, -0.02152017317712307, -0.013982674106955528, -0.020380733534693718, 0.012928019277751446, 0.012987722642719746, 0.007008941378444433, 0.007809663191437721, -0.006127066910266876, 0.015147807076573372, 0.016708962619304657, -0.008711016736924648, 0.03165491297841072, 0.020445512607693672, 0.019211972132325172, -0.05924457684159279, -0.009381171315908432, -0.029820438474416733, -0.04897488281130791, -0.040659770369529724, -0.003157220548018813, 0.003441876033321023, -0.01400869619101286, 0.0698058158159256, 0.03931151330471039, 0.0740756168961525, -0.02504410594701767, -0.02789762243628502, -0.005339696537703276, 0.05397152528166771, -0.012976255267858505, 0.0461677648127079, 0.008091295138001442, 0.05754010006785393, 0.003884674981236458, -0.028663180768489838, 0.07196195423603058, -0.03457373380661011, -0.0030486334580928087, 0.045921262353658676, 0.04528437554836273, -0.035987984389066696, 0.02689286693930626, 0.07516936957836151, 0.001730486168526113, 0.04135964438319206, 0.0319000706076622, 0.02704991213977337, 0.010201512835919857, 0.013469447381794453, 0.025650089606642723, -0.0568111315369606, 0.05093042179942131, -0.05439708009362221, -0.05115876346826553, 0.009448658674955368, 0.06055866926908493, -0.017408449202775955, 0.005890014581382275, -0.009221890941262245, -0.03045467846095562, -0.03536604717373848, -0.0028949917759746313, 0.030458666384220123, -0.009005865082144737, 0.03960143402218819, -0.0038131012115627527, -0.018616922199726105, -0.025926146656274796, 0.03541405871510506, 0.0028806403279304504, -0.033814672380685806, -0.011204185895621777, 0.021992627531290054, -0.00943792425096035, -0.005248562432825565, -0.006520859431475401, 0.009165586903691292, 0.03394307941198349, -0.010372881777584553, 0.007344899699091911, 0.014234306290745735, 0.0036469539627432823, 0.006847161799669266, 0.026739073917269707, 0.011978690512478352, 0.020047249272465706, 0.006911890115588903, -0.019934583455324173, -0.017343316227197647, 0.04464578256011009, -0.025538241490721703, -0.061106473207473755, -0.004987131804227829, -0.016553301364183426, -0.032279349863529205, 0.043513718992471695, -0.05541060492396355, 0.038882508873939514, 0.023585248738527298, 0.013121850788593292, 0.016167189925909042, -0.008202890865504742, -0.028036171570420265, 0.013789976015686989, 0.043482813984155655, 0.033071957528591156, -0.00631590886041522, -0.038879361003637314, 0.007603282108902931, 0.007329978980123997, -0.011186097748577595, -0.021575717255473137, -0.025381198152899742, -0.005285813007503748, -0.005605103448033333, 0.006827045697718859, 0.02251126617193222, 0.03891810402274132, 0.06619836390018463, -0.013156901113688946, -0.00186333735473454, 0.0064961789175868034 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
# Building an AI WebTV The AI WebTV is an experimental demo to showcase the latest advancements in automatic video and music synthesis. 👉 Watch the stream now by going to the AI WebTV Space. If you are using a mobile device, you can view the stream from the Twitch mirror. # Concept The motivation for the AI WebTV is to demo videos generated with open-source text-to-video models such as Zeroscope and MusicGen, in an entertaining and accessible way. You can find those open-source models on the Hugging Face hub: - For video: zeroscope_v2_576 and zeroscope_v2_XL - For music: musicgen-melody The individual video sequences are purposely made to be short, meaning the WebTV should be seen as a tech demo/showreel rather than an actual show (with an art direction or programming). # Architecture The AI WebTV works by taking a sequence of video shot prompts and passing them to a text-to-video model to generate a sequence of takes. Additionally, a base theme and idea (written by a human) are passed through a LLM (in this case, ChatGPT), in order to generate a variety of individual prompts for each video clip. Here's a diagram of the current architecture of the AI WebTV: # Implementing the pipeline The WebTV is implemented in NodeJS and TypeScript, and uses various services hosted on Hugging Face.
[ 0.05278816819190979, -0.03787693753838539, 0.10762327909469604, -0.022584225982427597, -0.008053947240114212, -0.0035947253927588463, 0.004201554227620363, 0.028282012790441513, 0.006319712847471237, -0.04462044686079025, -0.10455606132745743, 0.030405854806303978, -0.023020245134830475, 0.0897459164261818, -0.00407894654199481, -0.033932995051145554, 0.05326941981911659, 0.0019536297768354416, -0.008401615545153618, 0.04301393777132034, -0.04849303513765335, 0.0050955465994775295, 0.0279416274279356, -0.00255004595965147, -0.02472689189016819, -0.016733838245272636, 0.014834257774055004, 0.03702852502465248, -0.04348160699009895, 0.05641242861747742, -0.05449046194553375, -0.035300362855196, -0.025302153080701828, -0.06838216632604599, -0.01563986949622631, 0.03738267719745636, -0.03141544759273529, 0.07534345239400864, -0.015150624327361584, 0.05343910679221153, -0.00021981954341754317, -0.0007106236880645156, -0.01486553717404604, 0.04526418820023537, -0.04874406009912491, -0.0318189337849617, -0.13038256764411926, 0.08049197494983673, -0.0854862853884697, 0.023988347500562668, -0.04894281178712845, 0.04964933171868324, -0.00960068590939045, 0.020610706880688667, -0.001284695928916335, -0.010140607133507729, 0.019455188885331154, -0.05239531770348549, -0.0525585412979126, 0.038900669664144516, 0.08600524812936783, -0.008077365346252918, 0.023855319246649742, -0.01488427259027958, -0.025023432448506355, -0.03911944851279259, -0.0036443357821553946, 0.09369872510433197, -0.022310765460133553, -0.007056504022330046, 0.015244941227138042, 0.0337732657790184, -0.0056162066757678986, -0.005953456275165081, 0.015070452354848385, -0.021604487672448158, 0.003542786231264472, 0.060356829315423965, 0.03156469017267227, 0.029850728809833527, 0.09768667072057724, 0.0634022206068039, 0.009985081851482391, 0.019835619255900383, -0.029223386198282242, 0.011635620146989822, 0.008161828853189945, 0.02638581395149231, -0.06930491328239441, 0.07398322969675064, -0.0399773083627224, -0.11145390570163727, -0.043216805905103683, 0.033407267183065414, 0.035182010382413864, 0.03450414165854454, -0.05371791869401932, 0.04067232459783554, 0.034994591027498245, 0.03480304777622223, 0.02009589970111847, -0.0426352359354496, -0.017748044803738594, -0.07793420553207397, -0.03354001045227051, 0.07479538768529892, -0.048447445034980774, -0.055188633501529694, -0.038683466613292694, -0.0009996022563427687, -0.012006983160972595, -0.009021234698593616, 0.06414922326803207, 0.09402299672365189, -0.03995896503329277, -0.0011904618004336953, -0.04381377995014191, -0.02898174524307251, -0.04187832027673721, 0.04644535854458809, -0.012006052769720554, 0.0009244611137546599, -0.016188930720090866, 0.000012162300663476344, 0.01831837184727192, 0.01819792203605175, -0.0009558204910717905, -0.01761293224990368, 0.01323648076504469, -0.060862477868795395, 0.013529391959309578, -0.033391229808330536, 0.022653348743915558, -0.03328126296401024, 0.020467715337872505, -0.0011745250085368752, 0.044570039957761765, -0.11332382261753082, 0.015155257657170296, 0.03643204644322395, -0.018693948164582253, 0.032133232802152634, 0.03461581841111183, -0.04647720977663994, 0.026785969734191895, 0.013616342097520828, -0.0673152282834053, 0.015929775312542915, -0.046560339629650116, -0.024293355643749237, -0.15606878697872162, 0.011309836059808731, 0.03318312019109726, -0.09625902771949768, -0.027860872447490692, 0.047603193670511246, 0.08441220968961716, 0.016672126948833466, 0.039102595299482346, -0.012292427942156792, 0.03171570226550102, 0.07158633321523666, -0.05293382704257965, 0.01643797568976879, -0.04792468994855881, -0.02439305931329727, -0.053731124848127365, 0.0632099062204361, 0.01814812421798706, 0.03912273421883583, -0.04549090564250946, 0.0007781099411658943, 0.004835083615034819, -0.022755032405257225, 0.028382323682308197, -0.04282793775200844, 0.05163630470633507, 0.008019158616662025, 0.04981366917490959, 0.006911379750818014, -0.06362064927816391, 0.05346794053912163, 0.06777797639369965, 0.041887782514095306, 0.07234784960746765, -0.07221224159002304, 0.016890551894903183, 0.05586377903819084, 0.009123091585934162, -0.03603658452630043, -0.009099811315536499, -0.024026382714509964, 0.013029132969677448, 0.02954767271876335, -0.04612721502780914, -0.022267214953899384, -0.06209215894341469, 0.02800815738737583, 0.08515867590904236, 0.09886914491653442, 0.021752867847681046, -0.012517595663666725, 0.03923594206571579, -0.03867710009217262, -0.030257489532232285, -0.031070483848452568, 0.043012671172618866, -0.05687837302684784, -0.024300653487443924, 0.006978082936257124, 0.0188616830855608, -0.12988020479679108, 0.10406481474637985, -0.06782162189483643, 0.02512352541089058, -0.04229068383574486, -0.04534024000167847, -0.0638701543211937, -0.04399975389242172, 0.03839760646224022, 0.07506018131971359, -0.09261015057563782, 0.03762460872530937, 0.0020950650796294212, -0.0012007676996290684, 0.06739049404859543, 0.04411035776138306, 0.11294791847467422, 0.08943484723567963, -0.05155269056558609, -0.014247598126530647, -0.022262059152126312, 0.00893275998532772, 0.04417935758829117, -0.02366853691637516, -0.018756549805402756, 0.0805770754814148, -0.02729736641049385, -0.003254435956478119, -0.024305840954184532, 0.08280375599861145, 0.02436389960348606, -0.02721509337425232, -0.0007198275998234749, -0.0009925656486302614, -0.04968373104929924, 0.02363976091146469, 0.0016127257840707898, 0.011922274716198444, -0.019541801884770393, -0.08039967715740204, 0.03868097439408302, -0.013522476889193058, -0.0006488872459158301, -0.015053734183311462, 0.05598042532801628, 0.008983973413705826, -0.019239261746406555, -0.02409685216844082, 0.034837912768125534, -0.03703666850924492, -0.0169870313256979, -0.001917703659273684, -0.06939775496721268, -0.013699646107852459, -0.037921663373708725, 0.008460757322609425, 0.00576931145042181, -0.02621857449412346, -0.008494106121361256, 0.017526254057884216, 0.007051173131912947, -0.006217170972377062, 0.03365149721503258, 0.028354689478874207, 0.021526260301470757, -0.011745847761631012, -0.016484875231981277, 0.01955515146255493, -0.06525871157646179, -0.008485366590321064, -0.02432737685739994, 0.026999229565262794, 0.038128528743982315, 0.0003645759425126016, 0.028629416599869728, -0.013208698481321335, 0.015194944106042385, -0.02154439315199852, 0.006045231595635414, 0.0017308022361248732, 0.03579441457986832, -0.02145816944539547, -0.004811538383364677, -0.022440548986196518, -0.02493392862379551, 0.037532057613134384, -0.014307594858109951, -0.023584946990013123, 0.010909730568528175, -0.007858592085540295, 0.017277894541621208, -0.004251237493008375, 0.013544892892241478, -0.006095041520893574, 0.04771233722567558, 0.035236258059740067, -0.020953696221113205, -0.08273153007030487, -0.0011854039039462805, 0.0010023796930909157, -0.0012140334583818913, 0.0202731154859066, 0.01415975484997034, 0.040972378104925156, -0.03203115239739418, -0.0013496167957782745, 0.019634641706943512, -0.046720582991838455, 0.03037101775407791, -0.035322945564985275, -0.0030461903661489487, 0.0212100837379694, -0.013716164976358414, -0.07518430054187775, 0.0194519255310297, 0.02582142874598503, -0.013514956459403038, -0.021233778446912766, -0.009704318828880787, 0.03892110288143158, -0.01180268730968237, -0.024502890184521675, -0.017006950452923775, 0.08157437294721603, 0.014918912202119827, 0.0273317638784647, -0.011381777003407478, 0.015680139884352684, -0.049408283084630966, -0.02592756599187851, 0.06147928535938263, -0.041015688329935074, -0.00746565219014883, 0.017084116116166115, -0.011385848745703697, 0.00825722236186266, -0.0010642220731824636, -0.0002961160207632929, -0.0213397815823555, 0.027790484949946404, 0.05642696097493172, 0.04266834631562233, -0.0010243511060252786, 0.007350910920649767, 0.02893730439245701, 0.022390924394130707, -0.036354970186948776, -0.03943948075175285, 0.003662064205855131, -0.0009593875729478896, 0.034290287643671036, -0.0023278710432350636, 0.03720094636082649, 0.01630968041718006, 0.038403552025556564, 0.047623999416828156, 0.02997543103992939, -0.03516320139169693, 0.0226028710603714, -0.03464169427752495, -0.01678765006363392, 0.009725824929773808, 0.07505796104669571, 0.03804754465818405, -0.017513582482933998, 0.027571318671107292, 0.040398526936769485, 0.011236180551350117, 0.005316641181707382, 0.009587223641574383, 0.01164174173027277, -0.011555550619959831, 0.013227911666035652, 0.04838977009057999, -0.009441247209906578, 0.027812205255031586, 0.04848908632993698, 0.0010982750682160258, -0.016441404819488525, -0.007469505537301302, -0.013346903957426548, 0.039090078324079514, -0.023988153785467148, 0.03305210545659065, -0.03883371129631996, 0.04053103178739548, 0.014671805314719677, -0.02146395854651928, -0.06760253757238388, -0.0006499391747638583, -0.005578740034252405, -0.014953077770769596, 0.005071600433439016, -0.015560975298285484, 0.030699850991368294, 0.020678464323282242, -0.029683619737625122, 0.025286123156547546, -0.013204526156187057, -0.03639710322022438, -0.03344365581870079, 0.00702911801636219, -0.014956572093069553, -0.010960766114294529, -0.03046027012169361, 0.004394272342324257, 0.034003376960754395, -0.018998779356479645, 0.003440297907218337, -0.000443776894826442, 0.06941381841897964, 0.06012795493006706, 0.0175106693059206, 0.0118991294875741, -0.013753958977758884, -0.016506638377904892, -0.012935282662510872, 0.025539975613355637, 0.025328319519758224, 0.013650935143232346, 0.002765616402029991, -0.019509460777044296, 0.0037288055755198, -0.003294637892395258, -0.0036333054304122925, -0.003937253728508949, -0.0101008927449584, 0.03129366785287857, -0.009273234754800797, -0.00010837397712748498, 0.0464194118976593, -0.016517329961061478, 0.030901914462447166, 0.0014922023983672261, -0.011611049063503742, -0.0040676104836165905, -0.03619382902979851, -0.0076308599673211575, -0.006246325094252825, 0.05312644690275192, 0.01774638332426548, -0.012870119884610176, 0.04597821831703186, -0.009015657939016819, 0.004178993403911591, -0.0022978305350989103, -0.007594192400574684, 0.025932826101779938, -0.015175587497651577, -0.03396769240498543, 0.007778496947139502, 0.05231926217675209, 0.003635875880718231, -0.04588943347334862, 0.0011346371611580253, -0.013859404250979424, 0.05611228570342064, -0.02556615322828293, 0.01441178098320961, -0.045564956963062286, 0.0318850576877594, -0.023447321727871895, 0.009828025475144386, 0.04156182333827019, -0.006383759435266256, 0.0371362566947937, 0.01030652690678835, 0.007217151578515768, 0.017727363854646683, 0.025960788130760193, -0.04386598616838455, -0.001866362988948822, 0.04180120676755905, 0.06643765419721603, -0.008788724429905415, -0.01534757949411869, -0.00017517957894597203, 0.008588739670813084, 0.016780545935034752, 0.021107111126184464, -0.043687041848897934, 0.017364252358675003, 0.029880641028285027, 0.0277858916670084, 0.032209642231464386, -0.005991966463625431, -0.007212986703962088, 0.002947133034467697, -0.01495052408427, -0.01541327778249979, -0.039944976568222046, 0.061157628893852234, 0.0031596701592206955, -0.0020610366482287645, -0.013085225597023964, -0.020048921927809715, -0.02224832959473133, 0.03646538779139519, -0.0005604060715995729, -0.04482915624976158, 0.028040826320648193, 0.013140897266566753, -0.01687813736498356, 0.0011946308659389615, -0.01393942441791296, 0.015036786906421185, -0.008494075387716293, -0.0002644522755872458, -0.04796876013278961, -0.008436685428023338, -0.05256965011358261, -0.014908021315932274, -0.04836466908454895, -0.016437923535704613, -0.026207832619547844, -0.002061425941064954, 0.039254773408174515, -0.007296022493392229, -0.023175133392214775, -0.01160229742527008, -0.008487040176987648, -0.026943404227495193, -0.011181765235960484, -0.004783147014677525, 0.039128247648477554, -0.006032181903719902, -0.022637872025370598, 0.06670527905225754, -0.024757731705904007, -0.03242233023047447, 0.04985314607620239, 0.029006049036979675, 0.02085118740797043, 0.002387632615864277, 0.015856076031923294, 0.003704091999679804, -0.030557800084352493, -0.0007998419459909201, -0.020065845921635628, -0.01582340896129608, -0.009084885008633137, 0.005568310152739286, 0.032877448946237564, 0.07226306945085526, -0.019977156072854996, 0.00033182877814397216, 0.01848808117210865, 0.026548659428954124, -0.005404693074524403, -0.05125262960791588, -0.02190222218632698, -0.012171795591711998, 0.028235821053385735, 0.039036449044942856, -0.015320638194680214, -0.00018919252033811063, 0.00649097329005599, -0.046998899430036545, -0.08776766806840897, -0.03951163962483406, -0.02490636520087719, -0.024092400446534157, 0.008852972649037838, 0.000051023627747781575, -0.012132145464420319, -0.002660915721207857, 0.017115581780672073, 0.03221888467669487, 0.020888425409793854, -0.0032102351542562246, -0.023552609607577324, 0.023411596193909645, -0.05621916428208351, 0.023760581389069557, 0.0605737529695034, 0.023437252268195152, 0.028768420219421387, 0.065597303211689, 0.0537441112101078, -0.004134877119213343, -0.005922606214880943, 0.003152472898364067, 0.05245153233408928, 0.09892236441373825, 0.00932648591697216, 0.025812579318881035, 0.014987383037805557, -0.013081738725304604, 0.004717308562248945, 0.022076644003391266, -0.004478372633457184, -0.04085884988307953, 0.011980623938143253, -0.011906268075108528, -0.03621051087975502, -0.0023592296056449413, -0.024233348667621613, 0.05478041619062424, -0.02543816901743412, 0.03468229994177818, -0.013776740990579128, 0.03204020485281944, 0.017406027764081955, -0.0016207587905228138, -0.007249710150063038, 0.035782113671302795, -0.018141601234674454, -0.019351443275809288, 0.04825359210371971, 0.02220200188457966, -0.015869691967964172, 0.0097469761967659, 0.024890175089240074, -0.05119678005576134, -0.020450154319405556, -0.008487360551953316, 0.02452441304922104, -0.057050615549087524, -0.0390533022582531, 0.013146553188562393, -0.04285969212651253, 0.01395302452147007, 0.011202276684343815, 0.0011820672079920769, 0.028709443286061287, -0.004919452127069235, -0.009645086713135242, -0.030824624001979828, 0.010279850102961063, -0.02385149896144867, 0.005944723263382912, -0.011118022724986076, -0.023940056562423706, -0.04764368012547493, 0.002362908562645316, -0.04523330181837082, -0.05984428524971008, -0.031377747654914856, -0.05381420999765396, 0.003580427961423993, -0.023842738941311836, -0.017568128183484077, -0.0437573678791523, -0.012970409356057644, 0.05246264487504959, -0.037094954401254654, 0.005683789495378733, 0.03591768443584442, 0.004154569003731012, -0.02517774887382984, -0.004902150947600603, -0.0360388308763504, 0.025333302095532417, 0.01065291091799736, -0.06534368544816971, 0.007514323573559523, -0.008771532215178013, -0.02208784967660904, -0.012779232114553452, 0.05180136114358902, -0.034481458365917206, -0.056916672736406326, 0.015933334827423096, -0.029704740270972252, -0.03472688049077988, 0.05597006529569626, 0.007939319126307964, 0.0015275973128154874, 0.0341111496090889, -0.02602986991405487, 0.05250534787774086, -0.03155035525560379, 0.031837500631809235, 0.06270308792591095, 0.009081101976335049, -0.0653936043381691, 0.023494109511375427, 0.0025286704767495394, 0.03628835827112198, 0.03201497346162796, 0.016781549900770187, -0.05197085440158844, 0.01982644386589527, -0.03805965185165405, 0.053708553314208984, -0.05844564735889435, -0.01213265024125576, -0.02156429924070835, -0.0017121074488386512, 0.023585300892591476, 0.02538299560546875, 0.02028842642903328, 0.007661434356123209, -0.0418587364256382, -0.026936981827020645, -0.008667895570397377, -0.001528881723061204, -0.05422171950340271, 0.012316840700805187, 0.025588378310203552, -0.007460768334567547, 0.006598342675715685, 0.0006700212834402919, 0.0023265229538083076, 0.007334371097385883, -0.016737623140215874, 0.039486829191446304, 0.036878060549497604, -0.030684085562825203, -0.021209239959716797, -0.019611114636063576, -0.01364173274487257, 0.013054246082901955, -0.019700314849615097, -0.01539565622806549, 0.018018802627921104, -0.00020362496434245259, -0.0023892128374427557, 0.0132173215970397, 0.02312607504427433, 0.013767051510512829, 0.0027590650133788586, -0.04255294427275658, -0.035395100712776184, -0.008488917723298073, 0.005750629119575024, 0.007235709577798843, -0.07128516584634781, 0.0070083728060126305, -0.009877296164631844, 0.01061949785798788, 0.004069366026669741, 0.007855351082980633, 0.0068366508930921555, 0.02157527394592762, 0.09057782590389252, 0.0234814640134573, -0.05255739018321037, -0.006426902487874031, -0.0040197838097810745, 0.018528858199715614, -0.026421083137392998, -0.017584901303052902, 0.01758311502635479, 0.005145054776221514, -0.007641255855560303, -0.0056070601567626, -0.037980981171131134, -0.02067202515900135, -0.0038341747131198645, 0.028786947950720787, -0.06038143113255501, 0.05978471413254738, 0.06597736477851868, 0.019839761778712273, -0.0164337158203125, -0.02582409791648388 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
Leverage frame interpolation Frame interpolation is a powerful tool which can repair small rendering errors and turn many defects into features, especially in scenes with a lot of animation, or where a cartoon effect is acceptable. The FILM algorithm will smoothen out elements of a frame with previous and following events in the video clip. This works great to displace the background when the camera is panning or rotating, and will also give you creative freedom, such as control over the number of frames after the generation, to make slow-motion effects. # Future work We hope you enjoyed watching the AI WebTV stream and that it will inspire you to build more in this space. As this was a first trial, a lot of things were not the focus of the tech demo: generating longer and more varied sequences, adding audio (sound effects, dialogue), generating and orchestrating complex scenarios, or letting a language model agent have more control over the pipeline. Some of these ideas may make their way into future updates to the AI WebTV, but we also can’t wait to see what the community of researchers, engineers and builders will come up with!
[ 0.08781471103429794, -0.025177402421832085, 0.0647377297282219, -0.0077773104421794415, 0.07148896902799606, -0.02590286359190941, -0.0430293045938015, -0.03620055317878723, -0.031171699985861778, -0.055499132722616196, -0.07474210858345032, -0.017230454832315445, 0.014590729027986526, 0.029194559901952744, -0.01368162501603365, -0.027944279834628105, -0.001961846137419343, -0.034919094294309616, 0.0005531810456886888, -0.007927916944026947, -0.05048555135726929, -0.030271422117948532, 0.07939551025629044, -0.017207935452461243, -0.048444151878356934, -0.014079168438911438, -0.05554564297199249, 0.032916922122240067, -0.027406226843595505, 0.021769436076283455, -0.060711417347192764, -0.02723013423383236, -0.05903065949678421, -0.06955575197935104, -0.018931575119495392, 0.00330138741992414, -0.060747627168893814, -0.0038738837465643883, -0.01044650748372078, -0.024970659986138344, -0.0029043739195913076, -0.0022613315377384424, 0.0006121615879237652, -0.018394282087683678, -0.0223736260086298, -0.04526748135685921, -0.12067224830389023, 0.1495857834815979, -0.06519512832164764, -0.06468185782432556, -0.10357017815113068, 0.0858767181634903, 0.011146092787384987, -0.054758403450250626, -0.059814877808094025, 0.029579583555459976, 0.01753677800297737, -0.07082073390483856, 0.05798429623246193, 0.0527503564953804, 0.06650255620479584, -0.006000295747071505, 0.047262754291296005, 0.01946445181965828, -0.011103812605142593, 0.03886888176202774, 0.043589036911726, 0.04990660026669502, -0.019177259877324104, -0.02198740653693676, 0.024276716634631157, 0.038873784244060516, -0.016529424116015434, 0.01176360622048378, 0.05662597715854645, -0.03012806549668312, -0.06049748882651329, 0.03024853765964508, -0.01957899145781994, -0.030838321894407272, -0.006174201145768166, 0.06300349533557892, 0.041021302342414856, 0.044928260147571564, 0.016102517023682594, -0.037562187761068344, 0.05624443292617798, -0.037156570702791214, -0.018186042085289955, 0.07075663655996323, -0.008548920042812824, -0.12493042647838593, -0.05724519118666649, -0.006918065249919891, 0.00870015099644661, -0.025904852896928787, 0.05131753906607628, -0.040409501641988754, 0.05983318015933037, 0.07655375450849533, -0.033064521849155426, -0.09783138334751129, 0.014349372126162052, -0.01884210668504238, 0.01709405891597271, 0.01695191115140915, -0.016001340001821518, -0.04567459225654602, -0.06272829324007034, -0.010610317811369896, 0.08130362629890442, 0.08707260340452194, 0.04523976519703865, 0.042957741767168045, -0.0976230651140213, -0.0021459769923239946, -0.031329445540905, 0.0662415400147438, -0.07661620527505875, 0.05174943059682846, 0.022686919197440147, 0.06935665011405945, 0.0322168730199337, 0.04197784885764122, -0.0721714124083519, 0.12315534800291061, -0.00891098938882351, -0.032627370208501816, -0.022932477295398712, 0.02660486102104187, 0.029229920357465744, -0.019670503214001656, -0.03448864817619324, 0.004814364947378635, 0.1033196672797203, -0.08980264514684677, 0.004006767179816961, -0.07666459679603577, -0.05093951150774956, -0.01942700706422329, 0.039832618087530136, -0.030879054218530655, 0.017714640125632286, -0.02039135806262493, 0.02478880062699318, 0.009003782644867897, -0.018443331122398376, 0.011233776807785034, 0.012479598633944988, -0.016477204859256744, -0.00422959728166461, 0.00806894339621067, 0.00045814141049049795, -0.08254663646221161, 0.006717723328620195, 0.0887112095952034, 0.0003747715672943741, -0.08498483896255493, -0.03673388808965683, -0.05600351467728615, 0.004715445451438427, 0.030032264068722725, -0.024374017491936684, -0.030356859788298607, 0.021861400455236435, -0.05774744972586632, 0.03843975067138672, 0.012929192744195461, 0.010948657058179379, 0.06331773847341537, -0.04887611046433449, 0.015224715694785118, 0.03497817739844322, -0.07646911591291428, -0.00930135790258646, 0.06393284350633621, -0.014394059777259827, 0.09073269367218018, -0.06665726006031036, 0.01679340749979019, -0.006783530581742525, 0.012709160335361958, 0.03074626810848713, 0.014892516657710075, 0.03227341175079346, -0.04194331914186478, 0.004306197632104158, -0.01306786946952343, 0.015807390213012695, 0.025121217593550682, -0.07404782623052597, 0.00945680309087038, 0.020040219649672508, -0.0564325675368309, 0.02246779203414917, -0.045926205813884735, -0.04645876586437225, 0.11269155144691467, 0.07970082759857178, 0.08693293482065201, 0.007314139977097511, -0.031118599697947502, 0.04361587017774582, -0.016579871997237206, -0.029129834845662117, -0.001097172498703003, 0.1315259486436844, 0.04208439588546753, -0.021230094134807587, 0.03851019963622093, 0.01051841489970684, -0.07039301842451096, 0.0463188961148262, -0.08273737877607346, 0.005374843254685402, -0.018066514283418655, -0.04599737003445625, -0.048224177211523056, -0.044987041503190994, 0.0030552323441952467, 0.06908539682626724, 0.0042507764883339405, -0.028153229504823685, 0.03008800931274891, -0.04688753932714462, -0.0547228641808033, 0.06354817003011703, 0.03572554141283035, 0.0011509095784276724, -0.0341218076646328, -0.019222859293222427, -0.037723198533058167, -0.062330760061740875, -0.008573994971811771, -0.0028424737975001335, 0.013875089585781097, 0.06423123180866241, 0.016824323683977127, 0.029811792075634003, -0.0337403230369091, -0.03532768040895462, 0.004807708784937859, -0.038738202303647995, 0.0055672223679721355, 0.018847744911909103, 0.029240773990750313, 0.07476397603750229, -0.020345225930213928, -0.012561212293803692, 0.04768073558807373, -0.035085443407297134, 0.012855376116931438, 0.0007965415134094656, -0.016068898141384125, -0.05893668159842491, 0.06248551234602928, 0.07125464826822281, -0.06482851505279541, -0.002289890544489026, 0.03617699071764946, 0.021689213812351227, -0.04968489706516266, 0.02465713955461979, -0.010014666244387627, 0.017305027693510056, -0.0008801689837127924, 0.01939769648015499, -0.013329449109733105, -0.03808661922812462, 0.016714327037334442, 0.030317215248942375, -0.05225494131445885, 0.04676678776741028, 0.005206506233662367, 0.010705051012337208, -0.013668347150087357, 0.05060753598809242, -0.030332036316394806, 0.021617678925395012, 0.015145578421652317, -0.020624587312340736, -0.011325856670737267, 0.02888418547809124, 0.043408047407865524, -0.004710168112069368, -0.008829910308122635, -0.008128859102725983, 0.03927242383360863, -0.004748305771499872, 0.014598023146390915, 0.016834517940878868, -0.0463116280734539, 0.0017418846255168319, 0.030250202864408493, 0.027747852727770805, -0.0012659435160458088, -0.023915434256196022, -0.022581636905670166, -0.004396044183522463, -0.04280858114361763, -0.014399483799934387, 0.011233343742787838, -0.013425924815237522, -0.04012637212872505, -0.012048647738993168, 0.058393802493810654, -0.004426274448633194, -0.009971801191568375, -0.09321923553943634, -0.03167695179581642, 0.01090807095170021, -0.022040631622076035, -0.039307791739702225, -0.04948664829134941, 0.0587126798927784, 0.008316606283187866, -0.031024156138300896, 0.025772882625460625, -0.012709302827715874, 0.016355527564883232, 0.029938053339719772, 0.011243486776947975, -0.012706322595477104, -0.05652666836977005, -0.026487620547413826, 0.005929357837885618, -0.02256186492741108, 0.006650074850767851, -0.012546157464385033, 0.0006545022479258478, 0.05541522428393364, -0.016883637756109238, -0.020126258954405785, -0.04354546591639519, 0.01765775866806507, -0.020346740260720253, 0.024222703650593758, -0.0038569257594645023, -0.027507953345775604, -0.037985045462846756, -0.004897607956081629, -0.01823822408914566, -0.05608675256371498, 0.005535485222935677, -0.017356257885694504, 0.0026017699856311083, 0.03520834073424339, 0.01572803221642971, 0.015509672462940216, 0.01753718964755535, 0.02273845113813877, 0.03098232112824917, 0.030281616374850273, -0.007499769330024719, 0.01590212993323803, -0.02240387536585331, 0.013802635483443737, -0.026984935626387596, -0.003351605497300625, -0.001959842164069414, -0.012365207076072693, 0.0051107583567500114, 0.009803314693272114, 0.016606027260422707, 0.018959108740091324, 0.005562025122344494, 0.041213035583496094, -0.004711502231657505, -0.018259143456816673, 0.01247990969568491, 0.04047514870762825, 0.010134506970643997, 0.004249787423759699, -0.018953630700707436, 0.02616042084991932, 0.02314974181354046, 0.021143190562725067, 0.012820049189031124, 0.04502572491765022, 0.008578089997172356, 0.0025362344458699226, 0.0020397996995598078, -0.03129080682992935, 0.01734934188425541, 0.015195725485682487, 0.020925557240843773, 0.024802200496196747, 0.010381948202848434, 0.02796255238354206, -0.038490477949380875, -0.014794853515923023, -0.024015061557292938, 0.0034557499457150698, 0.0019512419821694493, 0.017478829249739647, 0.013758338987827301, 0.00991563219577074, 0.0332699678838253, 0.04764222726225853, -0.04329345375299454, 0.028488485142588615, -0.03622839227318764, -0.010731902904808521, 0.024470891803503036, -0.015149986371397972, -0.0000014683566860185238, 0.059865012764930725, -0.0021131106186658144, 0.04470673203468323, -0.042751699686050415, 0.01391576323658228, -0.042775899171829224, -0.0361330509185791, 0.01206822507083416, 0.0075244903564453125, -0.02328583598136902, -0.04793542996048927, 0.017499355599284172, -0.03122754953801632, -0.03578142076730728, 0.03451238572597504, 0.027706757187843323, 0.03251774236559868, 0.03540307655930519, -0.025431860238313675, -0.024635570123791695, -0.022346073761582375, -0.008130697533488274, -0.022602209821343422, 0.01705934666097164, 0.028446266427636147, 0.0006286838324740529, 0.01613285392522812, 0.002820126712322235, 0.03144592419266701, 0.040353018790483475, -0.020608222112059593, -0.007496192120015621, -0.02337709628045559, -0.00017758033936843276, 0.08826616406440735, 0.03498762100934982, 0.010815372690558434, 0.027457674965262413, -0.047305501997470856, 0.036210525780916214, 0.008145580999553204, -0.06068453937768936, 0.009861073456704617, -0.015435039065778255, 0.017607633024454117, -0.007936817593872547, 0.01058020256459713, -0.004563885275274515, -0.034729719161987305, 0.0066380854696035385, 0.012202633544802666, 0.050120480358600616, 0.035007815808057785, -0.012071803212165833, -0.06729874759912491, -0.013426742516458035, 0.012792899273335934, -0.04308117553591728, 0.030051177367568016, 0.0030503415036946535, -0.0015693653840571642, 0.04785344749689102, 0.062210723757743835, 0.02740585431456566, -0.0810631513595581, 0.03167460858821869, -0.017782721668481827, -0.0014330983394756913, 0.021151578053832054, -0.040439169853925705, 0.011064156889915466, -0.020717112347483635, 0.004161228891462088, 0.049473054707050323, 0.0017840726068243384, -0.007816499099135399, 0.008462470024824142, 0.041440729051828384, 0.010126890614628792, -0.0017171030631288886, 0.013791563920676708, 0.004602373577654362, -0.03056783601641655, 0.010077415034174919, 0.03492392227053642, -0.015533488243818283, -0.04193156585097313, -0.005936834495514631, 0.050744976848363876, 0.04732058569788933, -0.01340949721634388, 0.017617259174585342, 0.07312583178281784, 0.005155820399522781, 0.008001003414392471, -0.031834814697504044, 0.03337770700454712, -0.030473245307803154, -0.0202782042324543, -0.013713117688894272, -0.02684158645570278, -0.052119188010692596, -0.003367029596120119, 0.046365268528461456, -0.021534517407417297, 0.00934327021241188, 0.03587910532951355, -0.01362374797463417, -0.009795937687158585, 0.026208724826574326, 0.02206522226333618, 0.0001644107251195237, 0.0019514558371156454, 0.002756769536063075, -0.010466127656400204, -0.04403931647539139, -0.029541758820414543, -0.039147380739450455, 0.040330417454242706, -0.015320491045713425, -0.021072354167699814, 0.006459591910243034, -0.011366687715053558, -0.015519900247454643, -0.017909670248627663, 0.024301765486598015, -0.0298922099173069, -0.03486916795372963, -0.021085679531097412, -0.013718227855861187, 0.005622261203825474, 0.033582840114831924, 0.031900227069854736, -0.0044073862954974174, 0.06499555706977844, 0.03019867278635502, -0.03339381515979767, 0.04493766650557518, -0.027743911370635033, 0.07810402661561966, 0.033664096146821976, -0.014114601537585258, 0.03956902399659157, 0.01163555309176445, -0.035244956612586975, 0.03298233449459076, 0.008371427655220032, 0.05544153228402138, -0.03131943196058273, -0.030601494014263153, 0.020168829709291458, 0.07735590636730194, 0.04452066868543625, -0.028179414570331573, 0.008886532858014107, -0.001833902788348496, 0.008887373842298985, 0.013675839640200138, 0.03669390827417374, 0.016508596017956734, -0.0048536257818341255, -0.002220871625468135, 0.013406607322394848, -0.033745329827070236, 0.009622059762477875, -0.01524691004306078, -0.0033912882208824158, -0.010696412064135075, -0.011609537526965141, -0.04355752095580101, -0.020173711702227592, 0.016920650377869606, 0.000024206336092902347, 0.03903782367706299, -0.004224629607051611, 0.03723329305648804, 0.01920321397483349, -0.027554208412766457, -0.007693780120462179, 0.036934029310941696, -0.0027263304218649864, -0.010189959779381752, 0.05144777521491051, 0.023022690787911415, 0.05233180522918701, -0.021576208993792534, 0.011277342215180397, 0.040127478539943695, 0.0643138512969017, 0.04258876293897629, 0.005990783683955669, 0.009431708604097366, -0.0047121355310082436, -0.017794890329241753, 0.020004142075777054, -0.03289586678147316, -0.07981620728969574, 0.004081898368895054, 0.048718445003032684, 0.028129367157816887, -0.026560373604297638, -0.01712096482515335, 0.037164174020290375, -0.026010679081082344, 0.03456706181168556, 0.005338798277080059, 0.018882710486650467, 0.007900113239884377, 0.02912500873208046, -0.01926192082464695, 0.05830441415309906, 0.02524748258292675, -0.0013122429372742772, 0.0731760635972023, -0.009216046892106533, -0.005053861998021603, 0.0016831915127113461, 0.0342133454978466, 0.04385964199900627, -0.011393778026103973, -0.01782163977622986, -0.0011330950073897839, -0.0072790756821632385, -0.008235679939389229, 0.0200938880443573, -0.05025932192802429, -0.006553426384925842, -0.016196534037590027, -0.011894001625478268, 0.03586508333683014, -0.014312472194433212, 0.016799580305814743, -0.03227721154689789, 0.027197210118174553, -0.0005252099363133311, 0.010339927859604359, -0.007150337565690279, -0.02947651781141758, 0.016109969466924667, 0.007834742777049541, -0.04747230187058449, -0.0508924201130867, -0.0104131530970335, 0.04186522588133812, 0.0036782044917345047, -0.0067363036796450615, 0.004136345349252224, -0.02438279241323471, 0.03768832981586456, -0.008230103179812431, -0.019467895850539207, 0.01033046655356884, 0.028732331469655037, 0.011082547716796398, -0.03197379410266876, 0.03286464139819145, -0.009860035963356495, -0.013203424401581287, 0.03234664350748062, -0.04525833576917648, 0.06703289598226547, 0.004706421867012978, 0.009420228190720081, -0.005189193412661552, 0.016324985772371292, -0.05473297834396362, -0.03235970064997673, -0.027818692848086357, -0.02956603839993477, -0.010588716715574265, 0.021248027682304382, 0.02256159298121929, -0.013607635162770748, 0.0018979436717927456, -0.013272699899971485, -0.017063984647393227, -0.05388408526778221, -0.029667681083083153, 0.07933276891708374, 0.0062262830324471, -0.06045065447688103, 0.03611404076218605, 0.008405436761677265, -0.00452505424618721, 0.0009925533086061478, 0.02492469735443592, 0.02602987550199032, 0.044834449887275696, -0.00047639862168580294, 0.024500126019120216, -0.012715904042124748, 0.009268756955862045, -0.040446989238262177, -0.027062391862273216, -0.00498131662607193, 0.03210700303316116, -0.004459180403500795, -0.00016282904834952205, -0.026066919788718224, 0.01819729059934616, 0.006332379765808582, -0.006841836962848902, 0.0008517145761288702, -0.01688055694103241, 0.05665035545825958, -0.001941185211762786, 0.026624508202075958, -0.012728073634207249, 0.035969335585832596, -0.010453305207192898, -0.028542988002300262, 0.020804570987820625, 0.023125451058149338, -0.031466804444789886, -0.01469407882541418, -0.019428396597504616, 0.019868474453687668, 0.011491595767438412, -0.00955810397863388, -0.0041380696929991245, 0.029478564858436584, -0.057183362543582916, 0.0035610850900411606, -0.01261244434863329, 0.01886782795190811, 0.03240623325109482, -0.042380984872579575, -0.00873692985624075, -0.015259608626365662, 0.007028186693787575, -0.012382750399410725, 0.006176971364766359, -0.03189275041222572, 0.0014194129034876823, -0.00022347956837620586, 0.04621954262256622, 0.014860166236758232, 0.030095508322119713, 0.0026302961632609367, 0.02068065106868744, 0.024171821773052216, -0.016779378056526184, -0.06333726644515991, -0.035412028431892395, -0.03108207695186138, 0.025208674371242523, 0.01640806347131729, -0.043049685657024384, -0.016910167410969734, 0.021378330886363983, -0.008875290863215923, -0.009584262035787106, 0.03799863159656525, -0.0050082942470908165, -0.024975905194878578, 0.036201778799295425, -0.04316994547843933, 0.06187032535672188, -0.0038144642021507025, 0.0190668236464262, -0.005460030399262905, 0.006763657089322805 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
Using video-specific prompt keywords You may already know that if you don’t prompt a specific aspect of the image with Stable Diffusion, things like the color of clothes or the time of the day might become random, or be assigned a generic value such as a neutral mid-day light. The same is true for video models: you will want to be specific about things. Examples include camera and character movement, their orientation, speed and direction. You can leave it unspecified for creative purposes (idea generation), but this might not always give you the results you want (e.g., entities animated in reverse).
[ 0.10331830382347107, -0.056324537843465805, 0.004675528034567833, 0.0014853972243145108, 0.017554139718413353, 0.01201931107789278, -0.0077164084650576115, 0.014863627962768078, -0.030758798122406006, -0.039246998727321625, -0.10395857691764832, -0.004846799653023481, -0.05322659760713577, 0.02381136640906334, -0.05948673188686371, 0.023060083389282227, 0.009184569120407104, -0.012275935150682926, -0.0032217225525528193, 0.09360428899526596, -0.004812387749552727, -0.007085874676704407, 0.015700405463576317, -0.07194866985082626, -0.052388161420822144, -0.07555403560400009, -0.004241684451699257, -0.021298924461007118, -0.06286928057670593, -0.03819182887673378, -0.1133999228477478, 0.02310916781425476, 0.020686158910393715, 0.008639604784548283, 0.03143269941210747, -0.03614116087555885, 0.02148641087114811, 0.04164184629917145, 0.00974155031144619, -0.0003033089160453528, -0.07552028447389603, -0.0008490025065839291, -0.06038966774940491, -0.029981296509504318, 0.025673924013972282, -0.018782733008265495, -0.16739624738693237, 0.07864973694086075, -0.07646933943033218, 0.007355892565101385, -0.07281582057476044, 0.03337273746728897, -0.015826232731342316, 0.004375589545816183, -0.01355306152254343, -0.004153276327997446, 0.003253845265135169, -0.08968216180801392, 0.059175848960876465, 0.0016712420620024204, 0.027902569621801376, -0.008571555837988853, -0.006506305653601885, 0.031211014837026596, 0.06253474950790405, 0.004592327866703272, -0.04445335641503334, -0.019000938162207603, -0.03139669820666313, -0.07017319649457932, 0.01783432625234127, 0.013981123454868793, -0.019691817462444305, -0.03543791174888611, 0.0011746713425964117, -0.0077103483490645885, 0.08317936956882477, 0.07389768958091736, -0.05897141247987747, 0.02147829346358776, 0.02428499422967434, -0.02601245976984501, 0.09835642576217651, 0.04193300008773804, -0.042369578033685684, 0.03409278020262718, 0.04038463532924652, 0.006767022889107466, 0.011782672256231308, 0.018091563135385513, -0.04348892346024513, -0.08494115620851517, 0.03595064952969551, 0.01319181825965643, 0.0037687330041080713, -0.03719106316566467, -0.03263970464468002, -0.04486938565969467, 0.07220586389303207, 0.0647345557808876, -0.037509411573410034, -0.0869932621717453, 0.057442858815193176, -0.08444885164499283, -0.08622408658266068, 0.020130420103669167, -0.005329149309545755, -0.046211160719394684, -0.03701959550380707, 0.0690484344959259, -0.019737767055630684, 0.03019550070166588, 0.09410740435123444, -0.00004826822259929031, 0.0024970853701233864, 0.06992153078317642, -0.044018883258104324, -0.015280509367585182, -0.04485681280493736, 0.08629494905471802, -0.00006596265302505344, 0.0439622662961483, 0.023830866441130638, -0.0030598256271332502, -0.045025140047073364, 0.05166558548808098, 0.06897786259651184, -0.020921645686030388, -0.03391557186841965, -0.039975810796022415, 0.030964437872171402, -0.0523383691906929, 0.020363956689834595, -0.00357583980076015, 0.031167039647698402, -0.11575371026992798, -0.03232089802622795, -0.09452106803655624, 0.032101452350616455, -0.012124592438340187, 0.030215727165341377, -0.052707791328430176, 0.03772693872451782, -0.023504432290792465, -0.0192351546138525, -0.06211312487721443, 0.046796251088380814, -0.0232543908059597, -0.07203564047813416, 0.0609835721552372, -0.011014544405043125, 0.08307378739118576, 0.020850520581007004, -0.08301830291748047, -0.04563114419579506, 0.06260468810796738, -0.02617802284657955, 0.0284586139023304, -0.019244225695729256, -0.0684606283903122, 0.0006202784134075046, 0.06367960572242737, -0.03694916516542435, 0.016962265595793724, 0.021787559613585472, -0.009192432276904583, -0.002848696894943714, 0.013324427418410778, 0.044307250529527664, 0.02941778115928173, 0.022317107766866684, -0.051477812230587006, 0.04882127046585083, -0.04518129304051399, 0.03916789963841438, 0.06917466223239899, -0.019089309498667717, 0.05486147850751877, 0.006845209281891584, -0.021031703799962997, -0.029803844168782234, -0.024480843916535378, -0.008249808102846146, 0.028153125196695328, 0.07621902972459793, -0.12400644272565842, -0.006016172934323549, -0.045282647013664246, -0.00936795026063919, 0.010784749872982502, -0.02223150059580803, -0.01899344101548195, 0.03805115446448326, -0.011308807879686356, -0.04107660427689552, -0.06629669666290283, -0.05767442286014557, 0.056837908923625946, 0.044875066727399826, 0.08189138770103455, -0.002706103725358844, -0.001680184854194522, 0.015520498156547546, -0.025944311171770096, -0.051522087305784225, 0.0853017196059227, 0.04075691103935242, 0.005686329677700996, 0.03057987056672573, 0.0036322656087577343, 0.003251082496717572, -0.05397723615169525, 0.06439439207315445, -0.023246580734848976, 0.038843296468257904, -0.01877512037754059, -0.01813477836549282, -0.05489521101117134, -0.04665302485227585, -0.017994899302721024, 0.08137544244527817, 0.007293708622455597, -0.02815043367445469, -0.024873269721865654, -0.035956159234046936, 0.0021073806565254927, 0.040721356868743896, 0.023037023842334747, 0.07862159609794617, -0.07140324264764786, -0.06369394063949585, 0.03930921107530594, -0.01259414292871952, -0.021013086661696434, -0.03651950880885124, -0.02261877804994583, 0.055625069886446, 0.015619788318872452, 0.023092152550816536, -0.05825189873576164, 0.04189722239971161, -0.009288943372666836, -0.020514443516731262, 0.045879948884248734, -0.04325258359313011, -0.06075456738471985, 0.04604798182845116, 0.015828100964426994, -0.07219164073467255, 0.07246050238609314, -0.0729701891541481, 0.03207339346408844, -0.020398447290062904, -0.09514296799898148, -0.005676965694874525, -0.0031235150527209044, 0.018436452373862267, -0.0037592679727822542, -0.002045269822701812, 0.03789854794740677, 0.028979212045669556, -0.025425026193261147, -0.021974368020892143, -0.04906417429447174, -0.027476733550429344, -0.05564163252711296, -0.01119327638298273, -0.004407796077430248, -0.022343598306179047, 0.024356376379728317, 0.016313113272190094, 0.03299597650766373, 0.00001553124275233131, 0.01642766036093235, -0.035573191940784454, -0.0022461549378931522, 0.06818487495183945, 0.005696339067071676, 0.040306225419044495, 0.027562757954001427, -0.029014358296990395, 0.011897232383489609, 0.03407050296664238, 0.0555611178278923, -0.0005264729843474925, 0.015552389435470104, 0.002812802093103528, 0.007806031499058008, -0.06772246211767197, 0.021681562066078186, 0.006808225531131029, 0.017877226695418358, 0.0005072050262242556, 0.03551458567380905, 0.03468652442097664, 0.06132585555315018, 0.019685549661517143, 0.014156955294311047, -0.03860703110694885, 0.0048360624350607395, 0.021688643842935562, 0.012503515928983688, 0.04430459812283516, -0.016997165977954865, 0.002861187094822526, 0.049617599695920944, 0.0068403794430196285, 0.012338798493146896, -0.09234756976366043, -0.05053991079330444, 0.013527462258934975, 0.031222593039274216, 0.011875687167048454, -0.026936236768960953, 0.04115299880504608, -0.017462285235524178, 0.002728007035329938, 0.012178776785731316, -0.026552559807896614, -0.005295206792652607, -0.025256792083382607, 0.04490918293595314, -0.030416836962103844, -0.008973434567451477, 0.012969167903065681, 0.05013225972652435, -0.0013737290864810348, -0.008816937915980816, -0.03546394035220146, 0.052395354956388474, 0.024487975984811783, -0.014695629477500916, -0.014150978997349739, 0.010696611367166042, 0.04341334104537964, 0.024462485685944557, 0.016626067459583282, -0.041243188083171844, 0.03433779254555702, -0.03751947358250618, -0.04208296164870262, 0.025121450424194336, -0.00709478510543704, 0.019703397527337074, 0.0341520681977272, 0.007984038442373276, 0.042116548866033554, 0.05354832112789154, 0.004029567819088697, 0.04516340047121048, -0.009543855674564838, 0.046549756079912186, -0.007757482118904591, -0.0016366633353754878, -0.024203810840845108, 0.021292079240083694, 0.012249981984496117, -0.04519226402044296, -0.011003863997757435, -0.015822473913431168, 0.04877170920372009, -0.0051375264301896095, 0.03564484417438507, 0.02999074198305607, 0.020300162956118584, 0.01715337485074997, 0.0053110746666789055, -0.07482218742370605, 0.008433790877461433, -0.022540992125868797, -0.015038933604955673, -0.016447342932224274, -0.031927209347486496, 0.0029403376393020153, 0.021423587575554848, 0.06792337447404861, 0.03400740772485733, 0.01815081760287285, 0.012481734156608582, -0.03306373581290245, 0.0332624725997448, 0.007516257464885712, 0.02525254152715206, 0.015420828945934772, 0.014646066352725029, -0.02359715662896633, 0.034633275121450424, -0.0046339924447238445, -0.0033691951539367437, -0.018390262499451637, 0.012814146466553211, 0.013684961013495922, -0.01018429733812809, -0.027262108400464058, 0.03197650611400604, -0.0274374857544899, 0.004394502844661474, 0.027359945699572563, 0.014768369495868683, 0.009389094077050686, 0.05500687658786774, -0.03829459473490715, -0.01195287611335516, 0.04185141995549202, 0.026360247284173965, 0.0023215811233967543, 0.04433266073465347, -0.002100037643685937, 0.03151741623878479, -0.0540037639439106, -0.018386777490377426, -0.011281872168183327, -0.029261309653520584, -0.02433108538389206, 0.004623915534466505, 0.030499234795570374, 0.007748882751911879, -0.006799235008656979, -0.004840661305934191, -0.007336901035159826, 0.014070926234126091, 0.008342311717569828, 0.03931284323334694, 0.06074589490890503, -0.020023787394165993, -0.007716774940490723, -0.01601281575858593, 0.025094684213399887, -0.082509845495224, 0.002182094845920801, -0.009189160540699959, -0.02161332406103611, 0.033372458070516586, 0.02164158970117569, -0.01860845647752285, 0.02566605806350708, 0.01331037376075983, -0.0014985898742452264, -0.029489168897271156, -0.019059257581830025, 0.023299863561987877, 0.025498485192656517, 0.0322374626994133, 0.020768549293279648, -0.044967055320739746, 0.019767653197050095, -0.020999262109398842, -0.053192317485809326, -0.008249759674072266, -0.0013230980839580297, 0.03836428001523018, 0.05356777831912041, 0.03606187924742699, 0.005870274733752012, -0.03509820997714996, 0.037049196660518646, 0.0008080597617663443, 0.03486442565917969, 0.051711805164813995, 0.015847068279981613, -0.04111069068312645, -0.011751475743949413, 0.03584165871143341, -0.040426719933748245, -0.047733504325151443, 0.010304492898285389, 0.0014934893697500229, 0.01717625930905342, 0.009677708148956299, 0.03540762886404991, -0.01615261659026146, 0.04490020126104355, 0.007381547708064318, 0.020574944093823433, 0.01611372083425522, -0.02102123573422432, 0.017983729019761086, -0.02734331041574478, 0.03666451573371887, 0.016856040805578232, -0.014308711513876915, -0.035917457193136215, 0.009365517646074295, -0.021099703386425972, 0.056045807898044586, 0.02657291106879711, -0.02039559744298458, 0.01258028019219637, 0.03518451005220413, 0.022781135514378548, 0.02724151685833931, 0.02020411379635334, 0.008166094310581684, 0.023923933506011963, 0.004737206269055605, 0.044453252106904984, 0.02714364603161812, 0.02872740477323532, 0.023625817149877548, 0.032082974910736084, -0.006448520813137293, -0.05979911610484123, 0.05346027761697769, -0.0017008690629154444, -0.02637830562889576, 0.02742805704474449, -0.01751602813601494, -0.025124868378043175, 0.056353285908699036, 0.07418718934059143, -0.014383320696651936, -0.013347583822906017, -0.01826949417591095, 0.00740056624636054, -0.0006475461996160448, -0.0012101642787456512, -0.01367870345711708, -0.04680614545941353, -0.011370471678674221, 0.016536874696612358, 0.018519636243581772, -0.054163768887519836, -0.03494489565491676, -0.029093356803059578, -0.032086554914712906, -0.03945854306221008, 0.00951212365180254, 0.03765550255775452, 0.013420328497886658, -0.016220349818468094, -0.02352188713848591, 0.036794841289520264, 0.017790408805012703, 0.007184531539678574, 0.02059609815478325, 0.030258873477578163, -0.005504203028976917, 0.02237752266228199, -0.02031673491001129, 0.007607493549585342, 0.025449853390455246, 0.051077794283628464, 0.02005811594426632, 0.00020034292538184673, -0.037201497703790665, 0.038416750729084015, 0.03519497066736221, 0.02737852744758129, 0.01515027042478323, 0.04503748193383217, -0.016975469887256622, 0.011829660274088383, -0.0038528023287653923, 0.02096501924097538, -0.016185790300369263, 0.009927501901984215, 0.003286446211859584, 0.019466128200292587, -0.009849397465586662, -0.019227219745516777, -0.03213956207036972, -0.020363973453640938, 0.002013346878811717, -0.017932675778865814, 0.03645041957497597, 0.0068178665824234486, 0.02380196563899517, -0.0003478296857792884, -0.004313354846090078, -0.03889353573322296, 0.008636737242341042, 0.03200962394475937, -0.07428999990224838, 0.05239638313651085, 0.03935912251472473, -0.008557816967368126, -0.007864710874855518, 0.0112277427688241, 0.032852862030267715, 0.016599208116531372, 0.0007087517296895385, -0.031192472204566002, -0.010522609576582909, 0.020342718809843063, -0.06845967471599579, 0.0036010248586535454, -0.0072699617594480515, 0.006924579851329327, -0.03624826669692993, 0.07779836654663086, 0.04888550937175751, -0.00463222898542881, 0.01733512431383133, -0.014120921492576599, 0.07721690833568573, 0.00007600810204166919, 0.011310270987451077, -0.05061616003513336, -0.02027123235166073, -0.02075761929154396, -0.06652486324310303, -0.038083869963884354, -0.05916694551706314, 0.035651929676532745, -0.035080526024103165, 0.018072254955768585, -0.03473491594195366, -0.05217241123318672, 0.05135035514831543, -0.03039553016424179, 0.035470057278871536, 0.008966141380369663, 0.02417597733438015, 0.006534183397889137, 0.006246539764106274, -0.011593001894652843, 0.04197918623685837, 0.022487817332148552, -0.023845642805099487, 0.010368338786065578, 0.009434337727725506, -0.004023038316518068, 0.06396248191595078, 0.0469905324280262, 0.05347518250346184, -0.006184996571391821, 0.016305580735206604, -0.01703205704689026, 0.01827867142856121, 0.00205527083016932, -0.03624294698238373, 0.004759859759360552, -0.01257772371172905, -0.014475466683506966, 0.027868544682860374, 0.01853746362030506, 0.013107447884976864, 0.005032836925238371, -0.023447860032320023, 0.022281799465417862, 0.032559774816036224, -0.013823282904922962, -0.025332514196634293, 0.019611211493611336, 0.029217947274446487, 0.019893275573849678, -0.03956623747944832, -0.041969768702983856, -0.03918027877807617, 0.010971196927130222, 0.032471664249897, -0.029182149097323418, 0.0186393391340971, 0.00039753341116011143, 0.023430967703461647, -0.005586667452007532, -0.013453781604766846, 0.013221830129623413, -0.021542618051171303, 0.008190513588488102, 0.015860771760344505, 0.0029272788669914007, -0.017175426706671715, -0.0672573670744896, -0.013457594439387321, -0.02634585089981556, -0.004224793985486031, 0.01298588514328003, 0.0169399194419384, 0.017540957778692245, -0.0026421810034662485, -0.0391567163169384, -0.043857935816049576, -0.02017640508711338, -0.04941049963235855, 0.005183718167245388, -0.0081393513828516, 0.003227746579796076, -0.012843049131333828, 0.026609042659401894, -0.05731462687253952, -0.03854573890566826, -0.009250147268176079, -0.0027813175693154335, -0.008034572005271912, 0.022240838035941124, 0.00437429454177618, 0.003010454587638378, 0.06003408506512642, -0.010944880545139313, 0.052826907485723495, 0.0014940476976335049, -0.008229047991335392, 0.01636018231511116, -0.00031865507480688393, 0.061524588614702225, -0.019206197932362556, 0.05575547739863396, -0.0109920185059309, 0.00698389345780015, -0.01336661446839571, 0.010423442348837852, -0.011756272055208683, 0.00922008790075779, -0.03477228060364723, -0.007592920679599047, -0.013431818224489689, 0.0030463184230029583, 0.0124312499538064, 0.020765628665685654, 0.05233439430594444, 0.024553891271352768, 0.04497149586677551, -0.025253871455788612, -0.021546993404626846, -0.005647863261401653, -0.045182615518569946, 0.05958333984017372, 0.024550827220082283, 0.003689764766022563, -0.03428707644343376, -0.01305202953517437, 0.03697744011878967, -0.026515094563364983, -0.0415424108505249, -0.019647106528282166, 0.04132325202226639, -0.043752484023571014, -0.0191245898604393, -0.0031161103397607803, 0.0094137042760849, 0.034016791731119156, 0.03209657594561577, 0.016877902671694756, -0.019337989389896393, 0.02497236430644989, 0.012395575642585754, -0.04227592423558235, 0.0024900538846850395, 0.0007551833405159414, 0.0037694969214498997, 0.03401106968522072, 0.011790246702730656, -0.0049455659464001656, -0.004935105796903372, -0.029944337904453278, 0.034053344279527664, -0.0071002645418047905, 0.02079383283853531, -0.009482841938734055, 0.008733747527003288, 0.04459945112466812, -0.02686597965657711, 0.012082022614777088, -0.0005481041735038161, -0.0021019871346652508, -0.034096457064151764, -0.008650240488350391, -0.014052003622055054, -0.007067232858389616, 0.0073836082592606544, 0.007513661403208971, -0.06397218257188797, 0.05137378349900246, 0.006525052711367607, 0.004053004551678896, 0.00019209338643122464, 0.015082009136676788 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
Calling the video chain To make a quick prototype, the WebTV runs Zeroscope from two duplicated Hugging Face Spaces running Gradio, which are called using the @gradio/client NPM package. You can find the original spaces here: - zeroscope-v2 by @hysts - Zeroscope XL by @fffiloni Other spaces deployed by the community can also be found if you search for Zeroscope on the Hub. 👉  Public Spaces may become overcrowded and paused at any time. If you intend to deploy your own system, please duplicate those Spaces and run them under your own account.
[ 0.007669220212846994, 0.017644762992858887, 0.05522473156452179, 0.01552311796694994, 0.02912684716284275, 0.020126119256019592, 0.0685187429189682, 0.057861778885126114, -0.028394728899002075, -0.00402215076610446, -0.10746239125728607, 0.030515598133206367, -0.06375005096197128, 0.05230230838060379, 0.031650710850954056, 0.027570949867367744, 0.06604106724262238, -0.047052398324012756, -0.06083780154585838, 0.046500325202941895, -0.015389833599328995, -0.023983655497431755, 0.026401551440358162, 0.051719095557928085, -0.09927719831466675, -0.03721265122294426, -0.02784818783402443, -0.014065089635550976, -0.012985956855118275, 0.04178844392299652, 0.0022011357359588146, -0.01336647942662239, 0.05422245338559151, -0.1124226450920105, 0.04584173858165741, 0.00871021393686533, -0.003830509725958109, 0.11213594675064087, -0.03148873522877693, 0.0012990906834602356, -0.03902212530374527, -0.043936025351285934, -0.03227059170603752, 0.04014799743890762, -0.046760350465774536, 0.010206185281276703, -0.10227757692337036, 0.029156163334846497, -0.07171998918056488, 0.014263296499848366, -0.09863656759262085, -0.01465646456927061, 0.020166093483567238, -0.009375488385558128, -0.03798425942659378, -0.02794555574655533, 0.0206561591476202, -0.03433213755488396, 0.008075864985585213, -0.017278458923101425, 0.03289484977722168, -0.02503376267850399, -0.030131179839372635, 0.047459524124860764, -0.039136212319135666, 0.009710089303553104, -0.06476732343435287, 0.0404483862221241, -0.0019058306934311986, 0.0006127002998255193, -0.023324090987443924, 0.10330163687467575, -0.016587959602475166, -0.001009866944514215, 0.0415932834148407, 0.031670864671468735, -0.06656410545110703, 0.042926229536533356, 0.017056699842214584, 0.03885091468691826, 0.08610855042934418, 0.0428372286260128, -0.0029506844002753496, -0.021129010245203972, -0.002898908220231533, 0.010497183538973331, 0.040907565504312515, -0.003650361206382513, -0.059555381536483765, 0.057495635002851486, -0.06769414246082306, -0.092670738697052, -0.049675311893224716, 0.031115787103772163, 0.05497709661722183, 0.07063885778188705, 0.027355019003152847, 0.0409897081553936, 0.09117738157510757, -0.008782178163528442, -0.00045309169217944145, -0.0797477588057518, -0.06410068273544312, -0.11596738547086716, 0.03001273423433304, -0.012052283622324467, -0.02754298970103264, -0.04659779369831085, -0.06703775376081467, -0.014799303375184536, -0.012687377631664276, 0.0024370320606976748, 0.06077684089541435, 0.08048292249441147, -0.0414697490632534, 0.05145541951060295, -0.027943598106503487, -0.007990801706910133, -0.008844626136124134, 0.03282091021537781, 0.010484612546861172, 0.0420595146715641, -0.00762212835252285, 0.0678056851029396, 0.003177750390022993, 0.0284731388092041, -0.014949300326406956, -0.004511849023401737, -0.03547219559550285, -0.11287637054920197, -0.01406511664390564, -0.0000484522788610775, 0.05959895998239517, 0.02460426464676857, -0.033634137362241745, -0.06518486887216568, 0.05731946602463722, -0.06036539003252983, -0.03361307084560394, -0.030681421980261803, 0.039070822298526764, 0.06276373565196991, -0.015022747218608856, 0.024886704981327057, 0.05184100568294525, -0.02334514632821083, -0.03139346092939377, 0.030389131978154182, -0.018377453088760376, 0.019227230921387672, -0.08632485568523407, 0.04788252338767052, 0.007599177770316601, -0.020317677408456802, -0.032287269830703735, 0.016973106190562248, 0.045454103499650955, 0.012507383711636066, -0.008681896142661572, 0.04953223839402199, 0.021696040406823158, -0.003493404947221279, -0.06418190151453018, -0.031560562551021576, -0.007123623974621296, 0.020571568980813026, -0.03012298420071602, -0.014656304381787777, 0.056156933307647705, -0.04034597426652908, -0.06945719569921494, -0.021861756220459938, -0.01260547898709774, -0.03444759547710419, -0.05660822242498398, 0.08523242920637131, 0.07827572524547577, 0.03766109421849251, 0.02111465483903885, 0.026548847556114197, -0.04546148329973221, -0.015870464965701103, 0.02232043817639351, 0.07690843194723129, 0.03371981531381607, -0.04500279575586319, 0.03975151851773262, 0.07256481796503067, -0.039198119193315506, 0.02350444905459881, -0.006969803012907505, 0.033067647367715836, 0.015694458037614822, -0.019955476745963097, -0.09763282537460327, -0.037548456341028214, -0.04740197956562042, -0.012002826668322086, 0.06091225892305374, 0.013916971161961555, -0.0002331073337700218, 0.05170059949159622, 0.08616898208856583, -0.03344092518091202, -0.02899661846458912, 0.060586120933294296, -0.003508937079459429, -0.07217711955308914, 0.009832566604018211, 0.037650879472494125, 0.03862562030553818, -0.10029228031635284, 0.06483659148216248, -0.053860004991292953, 0.04533772170543671, -0.017163826152682304, -0.007948517799377441, -0.017087124288082123, -0.023472417145967484, 0.005500880070030689, 0.11024527996778488, -0.04348495602607727, 0.022588588297367096, -0.021060680970549583, 0.004668757319450378, 0.05957338213920593, 0.05303986370563507, 0.062301214784383774, 0.061894070357084274, -0.0663905069231987, -0.0017700425814837217, 0.012821560725569725, -0.06045463681221008, 0.07910936325788498, -0.025046052411198616, -0.04943074285984039, 0.0424981452524662, -0.02265208400785923, -0.006323495879769325, -0.08158819377422333, 0.01970670558512211, 0.0030085244216024876, -0.02675468474626541, -0.04611336067318916, -0.009567268192768097, -0.05937831476330757, 0.0013850154355168343, 0.054204050451517105, -0.0048858230002224445, -0.019372856244444847, -0.07223034650087357, 0.07074703276157379, -0.05221898853778839, -0.013011676259338856, 0.04835028201341629, -0.008872215636074543, 0.0016232779016718268, -0.013497891835868359, -0.024013200774788857, 0.049547746777534485, -0.0395318828523159, -0.02088690549135208, -0.0051751406863331795, -0.06848461180925369, -0.016024332493543625, -0.009580660611391068, 0.04114276170730591, 0.0008722631027922034, -0.028092073276638985, -0.0018166296649724245, -0.007182849105447531, 0.023512711748480797, -0.036327678710222244, 0.008330088108778, 0.03830051049590111, 0.010079816915094852, -0.03245816007256508, -0.0295838825404644, 0.01130450889468193, -0.053669169545173645, -0.02617833949625492, -0.03948553279042244, 0.0005779587081633508, 0.03981579467654228, 0.006132240407168865, 0.026720063760876656, -0.0015926759224385023, -0.02666851133108139, 0.028267106041312218, 0.02686372958123684, 0.006926564034074545, 0.022687280550599098, 0.0408882237970829, 0.0029311254620552063, -0.04746600612998009, -0.05509011074900627, 0.03006119467318058, 0.011261219158768654, -0.014275169000029564, -0.010321738198399544, -0.04193095117807388, 0.0382971353828907, 0.014985066838562489, -0.034477733075618744, 0.033618297427892685, 0.021671410650014877, 0.027426404878497124, -0.0020887423306703568, -0.07605882734060287, -0.0047731054946780205, -0.020378081128001213, 0.04268553480505943, -0.0036282381042838097, -0.024425700306892395, 0.02632295712828636, -0.03940020874142647, -0.010435990057885647, 0.03922892361879349, -0.0423077829182148, -0.02344418503344059, -0.03176473081111908, -0.026460187509655952, -0.020670363679528236, 0.009866694919764996, -0.0006416346877813339, 0.01067450549453497, 0.016922468319535255, -0.02826291136443615, 0.011918344534933567, -0.010195291601121426, -0.013186217285692692, -0.06127406284213066, 0.010749291628599167, -0.019347330555319786, 0.01913013868033886, 0.030132891610264778, 0.04917965456843376, -0.050713829696178436, 0.022122567519545555, -0.00968063436448574, -0.037530649453401566, 0.047693073749542236, -0.02933317795395851, -0.033214353024959564, 0.009038100019097328, -0.023940548300743103, 0.009651673957705498, -0.010845365934073925, 0.015014691278338432, 0.016261661425232887, 0.0441911518573761, 0.03985700011253357, 0.0625709742307663, -0.03597313165664673, 0.0017233813414350152, -0.010019330307841301, 0.08421184122562408, -0.024729451164603233, -0.008610354736447334, -0.010874615982174873, 0.030988138169050217, 0.05335943400859833, -0.02863137610256672, 0.01621229760348797, -0.01479198969900608, 0.03832770138978958, 0.011038938537240028, 0.0023578426335006952, -0.0740833729505539, 0.026779117062687874, -0.05650470405817032, -0.031849268823862076, 0.015430319122970104, 0.030386440455913544, 0.025704294443130493, 0.03278492018580437, -0.01695747673511505, 0.02371975965797901, -0.02817142941057682, -0.020570436492562294, 0.04437240585684776, 0.0061076246201992035, 0.011254515498876572, -0.028767520561814308, 0.021222934126853943, -0.02768896333873272, 0.052031293511390686, 0.014850570820271969, 0.01566540077328682, -0.04638458788394928, 0.037762004882097244, -0.024645362049341202, 0.0006328495219349861, -0.0069537474773824215, -0.008521453477442265, -0.03536008670926094, 0.012773514725267887, 0.007998312823474407, -0.016394974663853645, -0.006636370439082384, 0.03882380202412605, -0.008376747369766235, -0.037163592875003815, -0.026146378368139267, 0.004088102374225855, 0.032414235174655914, 0.04177006334066391, -0.00006590303382836282, -0.018251515924930573, -0.028071671724319458, 0.006586567498743534, -0.014954933896660805, 0.0036086507607251406, 0.032043833285570145, -0.05166471004486084, -0.026485750451683998, -0.01854931004345417, 0.012707853689789772, 0.034513577818870544, 0.03371793031692505, -0.005725691560655832, 0.025082668289542198, 0.03397516906261444, 0.03699769452214241, -0.0173092782497406, 0.03327459469437599, -0.008005943149328232, 0.002791942562907934, -0.009084749035537243, 0.009347560815513134, -0.000046836325054755434, -0.02459605038166046, -0.03720124810934067, 0.0138770816847682, -0.034264836460351944, -0.03321750834584236, 0.03130550682544708, 0.0037030791863799095, -0.0017348885303363204, -0.026680076494812965, 0.050271157175302505, 0.017943125218153, 0.02101103588938713, 0.007164514623582363, -0.01970316283404827, 0.002462918870151043, 0.0024898643605411053, -0.01720348373055458, 0.005248728208243847, -0.02009931206703186, 0.027301235124468803, -0.006596417631953955, -0.0000696960705681704, 0.030797207728028297, 0.031559109687805176, 0.005470136646181345, -0.02917502075433731, 0.016686690971255302, 0.0455179400742054, -0.03541414812207222, -0.02322494424879551, 0.02950737066566944, 0.07657261937856674, 0.04138528183102608, -0.011099029332399368, 0.0017397395567968488, -0.00006433666567318141, 0.04038244113326073, -0.04758139327168465, 0.03798924386501312, -0.05745634064078331, 0.051752205938100815, -0.02868698537349701, 0.029827574267983437, 0.004784435033798218, -0.030702732503414154, -0.00202459329739213, 0.010905214585363865, -0.057021092623472214, 0.016988618299365044, -0.012071804143488407, -0.0048709409311413765, 0.01251255627721548, 0.053967636078596115, 0.06287295371294022, -0.016652937978506088, 0.010833067819476128, 0.036121562123298645, 0.01080819871276617, 0.024865536019206047, 0.05558373034000397, -0.03583402931690216, 0.012613614089787006, -0.02697417140007019, -0.0014959601685404778, 0.013050920329988003, 0.015572859905660152, 0.021100172773003578, -0.002820670371875167, -0.03952272608876228, -0.0037284058053046465, 0.02983962930738926, 0.04819672182202339, -0.024074768647551537, -0.04706002399325371, -0.018199749290943146, 0.024950671941041946, -0.01892103999853134, 0.04352285712957382, 0.020492829382419586, -0.0478459931910038, 0.006239619106054306, 0.01627097651362419, 0.054724276065826416, 0.0023384420201182365, -0.02852373942732811, 0.02912495657801628, -0.0001877913309726864, 0.041466474533081055, -0.04779151827096939, -0.0201895609498024, -0.036476995795965195, -0.01095457375049591, -0.05440529063344002, -0.007083752658218145, -0.04365678131580353, 0.020535096526145935, 0.04768625274300575, -0.023659657686948776, -0.027643300592899323, -0.007680898532271385, 0.022449225187301636, -0.04001123830676079, 0.021747436374425888, 0.01999787800014019, -0.028663458302617073, -0.01554976124316454, 0.047097258269786835, 0.04606285318732262, 0.06276975572109222, 0.022471357136964798, 0.03403932973742485, 0.007582522928714752, 0.05025913566350937, -0.015715254470705986, 0.013507633469998837, -0.0059393360279500484, -0.008178016170859337, 0.053677089512348175, -0.01582588255405426, -0.0036411501932889223, -0.04850742220878601, -0.0024810086470097303, -0.0025080523919314146, 0.10490036010742188, -0.0018758337246254086, 0.019077660515904427, -0.04302127659320831, 0.03061247244477272, 0.013864969834685326, -0.0012224989477545023, -0.0020661517046391964, 0.0024415492080152035, -0.013823265209794044, 0.012859278358519077, 0.027046728879213333, -0.03177693486213684, -0.020475341007113457, -0.006144287995994091, -0.04514623433351517, -0.05191695690155029, 0.0260787270963192, 0.015315400436520576, 0.011670582927763462, 0.00413016602396965, 0.008065823465585709, 0.004457812290638685, 0.015499326400458813, 0.005881885997951031, -0.010222720913589, 0.02361217513680458, -0.025197869166731834, -0.017861926928162575, -0.03213571384549141, 0.04732393100857735, 0.005812190938740969, 0.019755417481064796, -0.029711557552218437, 0.048537369817495346, 0.05897914245724678, 0.0251863244920969, 0.032484445720911026, -0.0059362854808568954, -0.008854549378156662, 0.07515179365873337, 0.04787131026387215, 0.002003472065553069, 0.02113291621208191, -0.015252855606377125, 0.019808830693364143, -0.0072587113827466965, -0.020123757421970367, -0.025461209937930107, 0.03248190879821777, 0.01052218209952116, 0.0026090051978826523, 0.010994340293109417, -0.03767070546746254, 0.09030178934335709, -0.008419148623943329, 0.025943869724869728, 0.02931501530110836, -0.029653897508978844, -0.022154713049530983, 0.0022026735823601484, -0.0014405559049919248, 0.03869946673512459, -0.0273421797901392, -0.011898038908839226, 0.030602499842643738, 0.007390368729829788, 0.005587016697973013, 0.008671817369759083, 0.004697252996265888, 0.0031384106259793043, -0.01954268105328083, 0.007268761750310659, -0.010028325021266937, 0.0017747997771948576, -0.046359218657016754, 0.07136306911706924, -0.023733722046017647, -0.008544450625777245, -0.005943222902715206, 0.0033715057652443647, 0.06001344323158264, -0.016692571341991425, 0.04425167292356491, -0.004051852971315384, -0.04244224727153778, -0.016542628407478333, -0.019834352657198906, -0.020205870270729065, 0.0162641704082489, 0.01753634214401245, 0.04511271417140961, -0.05959910899400711, -0.030335500836372375, 0.0014308673562482, -0.06357284635305405, 0.03846154734492302, 0.021460626274347305, -0.05188339203596115, -0.007743623107671738, -0.022882411256432533, 0.0413065031170845, -0.002955413656309247, 0.008134127594530582, 0.014004367403686047, -0.021635103970766068, -0.013525023125112057, 0.031380604952573776, -0.04523623362183571, -0.038154635578393936, 0.0358436182141304, -0.022547027096152306, 0.03102572076022625, -0.024576041847467422, -0.046755459159612656, -0.035702645778656006, 0.020929282531142235, -0.0591631643474102, -0.02742573991417885, -0.022263269871473312, -0.025322025641798973, -0.013604613952338696, 0.049813758581876755, -0.006331086624413729, 0.010996701195836067, -0.019329622387886047, -0.019500141963362694, 0.0120261674746871, -0.022054586559534073, 0.010540259070694447, 0.04324522987008095, 0.013667825609445572, -0.04664063826203346, 0.0006191667052917182, 0.02152930200099945, 0.04347469285130501, 0.00011560952407307923, 0.028034348040819168, -0.035171400755643845, 0.0016656763618811965, 0.007829985581338406, -0.0035347985103726387, -0.007782608270645142, -0.030035175383090973, -0.04610511660575867, 0.017183225601911545, 0.02113235555589199, 0.0053023966029286385, 0.05221793055534363, -0.024737318977713585, -0.02704039216041565, -0.06384149193763733, -0.007186592556536198, 0.025217358022928238, -0.015067961066961288, 0.0007167875301092863, -0.0007594600319862366, 0.021733025088906288, 0.03551573306322098, -0.018111737444996834, 0.009145290590822697, -0.01744624599814415, -0.0035707582719624043, 0.013414924964308739, 0.041831549257040024, -0.028422942385077477, 0.005935849621891975, -0.05860016122460365, 0.008552554063498974, -0.0007551761227659881, -0.04069994390010834, -0.012402160093188286, 0.03429687023162842, 0.046810805797576904, -0.02548111230134964, 0.03533998876810074, 0.005762843880802393, 0.015955651178956032, -0.010747000575065613, -0.001262171077542007, -0.01764693111181259, 0.011773616075515747, 0.01341115403920412, 0.020112033933401108, -0.03526940569281578, -0.002068026689812541, 0.02343549206852913, -0.0034294489305466413, -0.02217487059533596, -0.033165525645017624, 0.0033854031935334206, -0.010513460263609886, 0.06771013885736465, -0.03143136575818062, -0.0061316522769629955, 0.035931460559368134, -0.015016675926744938, 0.01893364079296589, 0.005669203121215105, -0.00639712531119585, 0.023612910881638527, -0.010182440280914307, -0.006407841574400663, 0.0007229979964904487, 0.0066909827291965485, -0.009899319149553776, 0.010309163480997086, 0.016143709421157837, -0.06354248523712158, 0.030416985973715782, 0.04474151134490967, -0.05044262856245041, -0.0014397561317309737, 0.0354706272482872 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
Using a model hosted on a Space Spaces using Gradio have the ability to expose a REST API, which can then be called from Node using the @gradio/client module. Here is an example: typescript import { client } from "@gradio/client" export const generateVideo = async (prompt: string) => { const api = await client("*** URL OF THE SPACE ***") // call the "run()" function with an array of parameters const { data } = await api.predict("/run", [ prompt, 42, // seed 24, // nbFrames 35 // nbSteps ]) const { orig_name } = data[0][0] const remoteUrl = `${instance}/file=${orig_name}` // the file can then be downloaded and stored locally }
[ -0.014225280843675137, -0.02410995028913021, 0.04066704586148262, 0.07465814054012299, 0.07978244125843048, 0.035962335765361786, 0.07499947398900986, 0.022396862506866455, -0.031662482768297195, -0.020052190870046616, -0.12810015678405762, 0.004170016851276159, 0.009230516850948334, 0.028158513829112053, 0.003331428859382868, -0.014098660089075565, 0.029307030141353607, -0.07376141846179962, -0.029918426647782326, 0.008764137513935566, -0.03913736715912819, -0.028183937072753906, 0.023280136287212372, 0.03879331424832344, -0.05580786243081093, -0.04758377745747566, -0.05559997633099556, -0.0019819578155875206, -0.06028849259018898, 0.030694374814629555, -0.07642155140638351, -0.01078217662870884, -0.01666509173810482, -0.09689923375844955, 0.052116863429546356, -0.001468812464736402, -0.02656468376517296, 0.08588556945323944, -0.058701734989881516, -0.035028260201215744, -0.022095609456300735, -0.0005223257467150688, -0.04298326373100281, 0.03040473535656929, -0.06715166568756104, 0.016888268291950226, -0.12809893488883972, 0.0004891581484116614, -0.017232760787010193, -0.0022281494457274675, -0.021754149347543716, -0.0018860867712646723, -0.0262947715818882, -0.023076102137565613, -0.007185081019997597, 0.031529638916254044, 0.032709572464227676, -0.10809064656496048, 0.0657375305891037, -0.033100564032793045, 0.029909873381257057, 0.03039339743554592, -0.06536590307950974, 0.03828662633895874, -0.0030974014662206173, 0.005683769006282091, -0.0484682098031044, -0.02065305970609188, -0.015990635380148888, -0.04262634366750717, -0.0012544019846245646, 0.07298151403665543, -0.021254029124975204, -0.05884813517332077, -0.030163850635290146, -0.02324129454791546, -0.03213438019156456, 0.08453478664159775, 0.09192397445440292, 0.06667126715183258, 0.004459388088434935, -0.01630888506770134, 0.04736144095659256, -0.0519307442009449, 0.04238651692867279, 0.010579575784504414, 0.01261191163212061, -0.0559399388730526, -0.03245190531015396, -0.01466402504593134, 0.014469415880739689, -0.12634871900081635, -0.06475324928760529, 0.050457920879125595, 0.09336584806442261, 0.04246532544493675, 0.009495843201875687, -0.04015785828232765, -0.01574130915105343, 0.023282285779714584, -0.026561075821518898, -0.012453156523406506, -0.029840834438800812, -0.10688651353120804, 0.001751239993609488, 0.006861621979624033, -0.0040922826156020164, -0.04901067540049553, -0.012203704565763474, -0.019979892298579216, 0.016398491337895393, 0.0202537439763546, -0.00481804134324193, 0.02513952925801277, -0.07633618265390396, 0.037728872150182724, -0.01979842409491539, 0.05701431632041931, -0.030630888417363167, -0.0010152981849387288, 0.005358685273677111, 0.06991073489189148, 0.03171239793300629, 0.0788363367319107, 0.011204509995877743, 0.07290195673704147, 0.010380036197602749, -0.008346864953637123, 0.018583498895168304, -0.030763154849410057, 0.033266447484493256, 0.04463864117860794, 0.02672753483057022, 0.1038496270775795, 0.041493210941553116, 0.004047186579555273, -0.01833811029791832, -0.05818543583154678, 0.07009945809841156, 0.016880346462130547, 0.0061663114465773106, 0.002471441403031349, -0.03866572305560112, 0.07362353056669235, 0.07352656126022339, -0.020198654383420944, 0.052055586129426956, -0.03357944265007973, 0.07076795399188995, 0.025888582691550255, -0.066073939204216, 0.09473764896392822, 0.017509769648313522, -0.010118118487298489, -0.04121263325214386, 0.010339432395994663, 0.015702523291110992, 0.06100456789135933, -0.027016527950763702, 0.037913404405117035, -0.020591523498296738, 0.0513584278523922, -0.09513407200574875, -0.045043811202049255, 0.07211540639400482, 0.03371018171310425, -0.0016708052717149258, -0.033582720905542374, 0.07271301001310349, -0.009550176560878754, -0.0634017363190651, 0.015973594039678574, 0.00515067158266902, 0.027249963954091072, -0.023581767454743385, 0.042842455208301544, 0.0401344858109951, -0.01766306348145008, 0.03210778906941414, 0.00240269280038774, 0.016528695821762085, 0.04157557338476181, 0.006416480988264084, 0.02443002536892891, 0.0752979964017868, -0.03847489506006241, 0.022658664733171463, -0.05032465606927872, 0.004417706280946732, -0.01940172351896763, -0.004824705421924591, -0.023277968168258667, 0.07550889998674393, -0.03026318922638893, 0.00009110991231864318, -0.022532174363732338, 0.023993218317627907, 0.04173942655324936, 0.016522591933608055, 0.07390691339969635, 0.046368829905986786, -0.007481191772967577, 0.02181190811097622, -0.0838547945022583, -0.04252266138792038, 0.06491290777921677, 0.048423659056425095, -0.023140085861086845, 0.04058806970715523, 0.008790504187345505, -0.03558593615889549, -0.07501859962940216, 0.17226450145244598, -0.030918216332793236, -0.0041399672627449036, 0.01057338621467352, -0.009537727572023869, 0.009967444464564323, -0.08351942151784897, 0.010935239493846893, 0.14932723343372345, -0.002149623818695545, 0.04147842898964882, -0.05015384778380394, 0.05639101564884186, 0.10110995918512344, 0.04222027584910393, 0.016292911022901535, 0.06215362250804901, -0.056123338639736176, -0.044176388531923294, 0.012488611973822117, -0.0015885147731751204, 0.11227159947156906, -0.05104583129286766, 0.00231781299225986, 0.020037870854139328, 0.01662878692150116, 0.024645090103149414, -0.08050233870744705, 0.00619525695219636, -0.024724524468183517, -0.05544052645564079, 0.006038776133209467, 0.01791328378021717, -0.008392635732889175, 0.03950532525777817, -0.021297479048371315, 0.02897237241268158, 0.009839491918683052, -0.05038544908165932, 0.026880232617259026, -0.002606417052447796, 0.016044635325670242, 0.030579129233956337, 0.020410744473338127, 0.01459882128983736, 0.011457052081823349, -0.016560915857553482, 0.06259164959192276, -0.02566853165626526, 0.005492478143423796, 0.00806443952023983, -0.04854924976825714, 0.008602093905210495, -0.004370731767266989, 0.015001215972006321, -0.03428560867905617, 0.03832803666591644, -0.01021550502628088, -0.018298109993338585, 0.0057180277071893215, -0.06308361142873764, 0.017725028097629547, -0.023517923429608345, 0.03758163005113602, -0.06172730401158333, -0.03991888463497162, 0.007129049394279718, -0.021300984546542168, -0.03080141358077526, 0.0041883098892867565, 0.038552507758140564, 0.010830335319042206, 0.02505226992070675, 0.036777395755052567, 0.009902947582304478, -0.08640112727880478, -0.024838222190737724, 0.007396654225885868, -0.010951313190162182, 0.01759915240108967, 0.013529916293919086, 0.01874540001153946, 0.006470317952334881, -0.025014134123921394, 0.044646378606557846, -0.014944707043468952, -0.043057650327682495, 0.025502827018499374, -0.042804066091775894, 0.058564767241477966, -0.03623862937092781, -0.05388128384947777, -0.0012219089549034834, 0.026508154347538948, -0.004693773575127125, -0.039746757596731186, -0.08608028292655945, -0.008278612047433853, 0.0038382033817470074, 0.04730129614472389, -0.003180100815370679, -0.008919493295252323, 0.046590931713581085, 0.019623348489403725, -0.025796378031373024, 0.04104893282055855, -0.020973291248083115, -0.017522362992167473, -0.0006668330170214176, 0.022984223440289497, -0.0005104317679069936, -0.008792459964752197, -0.00200829585082829, 0.017771702259778976, 0.025379158556461334, 0.0006762145203538239, -0.02922077290713787, 0.016560526564717293, -0.015193921513855457, -0.023265834897756577, 0.019020380452275276, -0.003924266900867224, 0.001808783388696611, -0.025846203789114952, -0.006554196588695049, -0.048303261399269104, 0.006308351643383503, -0.059828128665685654, -0.005030772183090448, 0.019033851101994514, -0.04092734307050705, -0.01437852717936039, -0.009136470034718513, -0.022469177842140198, 0.04411016404628754, 0.006033755373209715, 0.002839150372892618, 0.0003088040102738887, -0.0044290716759860516, -0.024068618193268776, 0.03473494574427605, -0.018717918545007706, 0.026409078389406204, 0.02458248846232891, 0.05571575462818146, -0.022996630519628525, -0.009292680770158768, 0.008424867875874043, -0.012306141667068005, 0.05496040731668472, -0.002019776264205575, -0.014672912657260895, 0.028233645483851433, 0.07586284726858139, -0.000995722832158208, -0.04407614469528198, -0.03808235004544258, 0.01094611082226038, 0.006027822382748127, -0.02851235121488571, -0.02415894903242588, 0.027237340807914734, 0.004675249569118023, 0.05047203600406647, 0.00008716983575141057, 0.03811471536755562, -0.028734469786286354, -0.025562115013599396, 0.02404443919658661, 0.01022378634661436, -0.010058499872684479, -0.023704128339886665, -0.02230204828083515, -0.004503291565924883, 0.06469856202602386, 0.005460686516016722, -0.0037525161169469357, 0.0021323892287909985, -0.016857976093888283, -0.0250107329338789, -0.010893047787249088, 0.009745754301548004, 0.014784221537411213, -0.058540958911180496, 0.005377916153520346, 0.024220583960413933, 0.011509568430483341, -0.012324940413236618, 0.04325586184859276, -0.00462944433093071, -0.018815582618117332, 0.014875877648591995, 0.04217018559575081, -0.027267688885331154, 0.006918915081769228, 0.013338329270482063, -0.056033141911029816, -0.043050214648246765, 0.03368275612592697, 0.018510183319449425, -0.011252306401729584, -0.02015260048210621, -0.019317954778671265, -0.011800311505794525, 0.010505346581339836, -0.01792939193546772, 0.008390318602323532, 0.03318323194980621, 0.0005871139583177865, 0.020551688969135284, -0.023578014224767685, 0.054133158177137375, -0.036267366260290146, -0.0009613479487597942, 0.012107755057513714, 0.02254312112927437, -0.05869436636567116, -0.04506176710128784, -0.014723236672580242, 0.002188771730288863, -0.029886413365602493, -0.006271593738347292, 0.0015439031412824988, -0.03954746574163437, -0.015493222512304783, -0.024678824469447136, -0.04894203320145607, 0.002492929343134165, 0.013676461763679981, -0.014952165074646473, 0.016496678814291954, -0.0084324199706316, -0.019275706261396408, -0.010462407022714615, -0.014959230087697506, -0.027479706332087517, -0.005202645435929298, -0.01697366312146187, -0.015060480684041977, -0.0599232092499733, 0.032720405608415604, 0.038864865899086, -0.04373036324977875, 0.011261628940701485, -0.019087912514805794, 0.0004647421883419156, -0.0015058389399200678, 0.003138227853924036, 0.03617854416370392, 0.0017314585857093334, 0.03991612792015076, 0.02211686782538891, 0.014585183002054691, 0.016637936234474182, 0.020551037043333054, 0.03952080011367798, 0.0024541497696191072, -0.027558980509638786, -0.035260602831840515, 0.04624637961387634, -0.023029334843158722, -0.017073804512619972, -0.004950917325913906, -0.02007029391825199, -0.013014540076255798, 0.01927584409713745, -0.05611647665500641, 0.043713975697755814, 0.02625785954296589, -0.02008049562573433, -0.055540986359119415, 0.02791348658502102, 0.032329972833395004, 0.04002240672707558, -0.02103366330265999, 0.050851207226514816, 0.026513388380408287, -0.000053213829232845455, 0.028745174407958984, -0.03422599658370018, 0.0032686011400073767, -0.03142827749252319, 0.0635925829410553, 0.026567840948700905, 0.02958410046994686, 0.018209699541330338, -0.01828017830848694, -0.021868962794542313, -0.005072237923741341, -0.02052456885576248, 0.057535331696271896, -0.009148153476417065, -0.013563159853219986, -0.00961645320057869, 0.0021204398944973946, -0.007271384820342064, 0.030814267694950104, 0.043067239224910736, 0.006752630230039358, -0.02737620659172535, 0.013506753370165825, 0.008958772756159306, -0.0003465007757768035, 0.005927159450948238, 0.016469337046146393, 0.026580633595585823, 0.001967113930732012, -0.007680115289986134, 0.008985699154436588, -0.013133551925420761, -0.0032349207904189825, -0.05037451162934303, -0.009885822422802448, -0.009917550720274448, -0.009256000630557537, 0.06363197416067123, -0.02937890961766243, -0.03490423411130905, -0.009309686720371246, -0.010528100654482841, 0.01332399994134903, 0.005729188211262226, 0.033437035977840424, 0.0389871746301651, -0.0398235097527504, 0.04411490261554718, 0.041590236127376556, -0.007849172689020634, 0.03358837589621544, 0.012444455176591873, 0.021760715171694756, 0.012702962383627892, -0.025046471506357193, 0.051243219524621964, 0.01932336762547493, -0.022963443771004677, 0.0041662720032036304, -0.022249041125178337, -0.034967824816703796, -0.0031387952622026205, -0.017063608393073082, 0.0034584305249154568, 0.028354918584227562, 0.012626167386770248, 0.014313699677586555, -0.00014883394760545343, 0.03482075035572052, -0.014737055636942387, 0.030578479170799255, 0.016007453203201294, 0.017599597573280334, 0.008686631917953491, 0.04091769829392433, 0.002119906712323427, -0.021607764065265656, -0.012743955478072166, 0.059597447514534, -0.040380027145147324, 0.0053201341070234776, 0.03618992492556572, 0.03857792168855667, -0.010822855867445469, -0.000822316505946219, -0.018768765032291412, -0.029322931542992592, 0.0021549712400883436, 0.005973794497549534, 0.017351476475596428, -0.009396794252097607, -0.0143003324046731, 0.02355542778968811, -0.00550721725448966, 0.022935472428798676, 0.04124341905117035, 0.0029849810525774956, 0.05546189844608307, 0.01703370362520218, 0.06021353229880333, -0.02942274883389473, 0.023205697536468506, -0.027133934199810028, 0.02925778180360794, 0.045455191284418106, 0.005575097631663084, 0.029626399278640747, 0.018275626003742218, -0.007501228246837854, -0.02926616370677948, -0.02596512995660305, -0.008010044693946838, -0.052495211362838745, 0.05555448308587074, 0.00033321851515211165, -0.0017212019301950932, -0.0014348276890814304, -0.05836188793182373, 0.03745871037244797, -0.004262122791260481, 0.02242114767432213, -0.013900050893425941, -0.027458958327770233, 0.03440361097455025, 0.03916946426033974, -0.021484319120645523, 0.009415633045136929, -0.018477417528629303, -0.03380340710282326, 0.03988921642303467, 0.014490040019154549, -0.030678920447826385, 0.009514312259852886, 0.009180668741464615, 0.0213224608451128, -0.00005142855297890492, -0.00583254499360919, 0.06328524649143219, -0.004972795490175486, -0.014048771932721138, 0.02418823540210724, -0.034692101180553436, -0.016045531257987022, 0.009957080706954002, -0.04160292074084282, 0.021703951060771942, -0.00021907888003624976, 0.008574467152357101, 0.008844131603837013, -0.026629069820046425, -0.016636762768030167, -0.0034305357839912176, -0.06067466363310814, 0.023710526525974274, 0.045820411294698715, 0.021800009533762932, -0.028077907860279083, -0.008491957560181618, 0.032003238797187805, -0.010380699299275875, 0.025500306859612465, 0.030125847086310387, -0.020489754155278206, -0.012102995999157429, 0.014462756924331188, 0.06544239073991776, -0.0077362689189612865, 0.018252413719892502, -0.005618033930659294, -0.020140234380960464, -0.033102333545684814, 0.031645406037569046, -0.06749314814805984, -0.08194365352392197, -0.0008665369241498411, -0.026384996250271797, 0.029974469915032387, -0.03798601031303406, 0.012570032849907875, 0.0029375902377068996, 0.027140554040670395, -0.017246408388018608, -0.0008522554417140782, 0.017898742109537125, 0.008551578968763351, -0.030820976942777634, 0.02399020828306675, -0.06602074950933456, 0.05843337997794151, -0.026438873261213303, 0.03322847560048103, -0.00599302351474762, -0.008936268277466297, -0.0008570636273361742, 0.02075052820146084, 0.01927204616367817, -0.03833651542663574, -0.03293956443667412, 0.027927901595830917, 0.04146454855799675, 0.02015766128897667, 0.00880671851336956, 0.03947564959526062, -0.057774320244789124, 0.01653960905969143, 0.03353487327694893, 0.0008849778678268194, 0.01694675348699093, -0.04916689917445183, -0.03335748612880707, -0.025427062064409256, -0.021640028804540634, 0.008293218910694122, 0.01689377799630165, -0.03338949754834175, -0.035128165036439896, -0.02859286591410637, 0.02240823209285736, -0.03170900419354439, 0.026582499966025352, 0.009392809122800827, 0.005451751872897148, 0.025010501965880394, -0.06674318015575409, -0.0035694066900759935, -0.007631674408912659, -0.019469352439045906, -0.009585525840520859, 0.03055782988667488, 0.01072759460657835, -0.007409107405692339, -0.04567118361592293, 0.05769391357898712, 0.006513500120490789, -0.04576009139418602, -0.009351595304906368, 0.0397411584854126, 0.000653269118629396, -0.0313866026699543, 0.06023689731955528, 0.030496079474687576, -0.0097203953191638, 0.00999568123370409, -0.017729829996824265, -0.02898179553449154, -0.017200825735926628, 0.021729154512286186, -0.03220781311392784, 0.013088773004710674, -0.05629758536815643, -0.009967045858502388, 0.03661159798502922, -0.014978572726249695, 0.039222169667482376, -0.031240005046129227, -0.03796792030334473, 0.04610786586999893, -0.019634829834103584, -0.022093409672379494, -0.018667204305529594, -0.031330786645412445, 0.03427856042981148, -0.03020543046295643, -0.00700289336964488, -0.006309026386588812, -0.03242408111691475, -0.04447048529982567, -0.003296195762231946, 0.02007044106721878, -0.008122354745864868, 0.05777803435921669, -0.01686505228281021, -0.05384838208556175, 0.011913188733160496, -0.026324361562728882, -0.06236201152205467, -0.03901109844446182, 0.013044088147580624 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
The text-to-video model The central video model is Zeroscope V2, a model based on ModelScope. Zeroscope is comprised of two parts that can be chained together: - A first pass with zeroscope_v2_576, to generate a 576x320 video clip - An optional second pass with zeroscope_v2_XL to upscale the video to 1024x576 👉  You will need to use the same prompt for both the generation and upscaling.
[ 0.01342354342341423, 0.000942801299970597, 0.06309258192777634, -0.022331584244966507, 0.04037438705563545, -0.012495055794715881, -0.03187774121761322, 0.05503148213028908, 0.025821948423981667, 0.014102513901889324, -0.0413455106317997, 0.014425353147089481, -0.04799922555685043, 0.0556025467813015, 0.021440548822283745, 0.03425930067896843, 0.012834724970161915, 0.022627083584666252, 0.07499359548091888, -0.0041442434303462505, -0.05013837292790413, -0.034910768270492554, 0.06277798116207123, 0.005070021841675043, -0.023493118584156036, -0.0371578186750412, 0.018830684944987297, 0.04877284914255142, -0.03577045351266861, 0.01602463237941265, -0.04823939502239227, -0.03856301307678223, -0.009067554958164692, -0.09756411612033844, -0.0037451607640832663, -0.006583097856491804, -0.012796575203537941, 0.043997399508953094, -0.0955117717385292, 0.021768391132354736, -0.008740016259253025, 0.012047963216900826, -0.025801626965403557, -0.025498855859041214, 0.0025017510633915663, -0.04905789718031883, -0.06841587275266647, -0.0003114533319603652, -0.07820864766836166, 0.014487743377685547, -0.05302271246910095, 0.0909062922000885, 0.022028345614671707, 0.025462720543146133, -0.03656575456261635, -0.05293406546115875, 0.023532168939709663, -0.04465418681502342, 0.005024324171245098, -0.016680121421813965, 0.1073228120803833, -0.03150897100567818, 0.004490566439926624, 0.09659970551729202, -0.030833549797534943, -0.04412280023097992, -0.07580966502428055, 0.024478880688548088, 0.014496224001049995, 0.01926289312541485, -0.03671083226799965, 0.017406970262527466, -0.0021061780862510204, -0.06530048698186874, -0.04195243492722511, -0.06790405511856079, -0.01462983712553978, 0.05206537991762161, 0.05538568273186684, 0.017367644235491753, 0.017867419868707657, -0.007897663861513138, 0.06204327940940857, -0.057634420692920685, -0.002042182022705674, 0.042023543268442154, 0.04275080934166908, -0.07315373420715332, -0.05109655112028122, 0.08843636512756348, -0.08024270832538605, -0.10485552251338959, -0.038788117468357086, 0.003741708816960454, 0.005417484324425459, 0.02387275919318199, -0.028200600296258926, 0.0645318254828453, 0.0917661190032959, 0.02831866592168808, 0.051068466156721115, -0.040579743683338165, 0.04548540711402893, -0.05994740501046181, -0.09369589388370514, 0.00881764106452465, -0.002985831117257476, -0.03694815933704376, -0.00997904408723116, 0.004013469442725182, -0.0510389544069767, 0.0011909614549949765, 0.04519311338663101, 0.05515133589506149, 0.02876945026218891, 0.04678535833954811, -0.0682210698723793, -0.055788639932870865, -0.00580997858196497, 0.0565655454993248, 0.00367469503544271, 0.03306413069367409, 0.023635581135749817, -0.042778246104717255, -0.04580307751893997, 0.09749986231327057, -0.016234464943408966, -0.04726887866854668, -0.030821260064840317, -0.012903598137199879, -0.0019707672763615847, -0.022760774940252304, 0.07973173260688782, 0.06256639212369919, 0.04811553284525871, -0.05785025283694267, 0.017404306679964066, -0.0960434153676033, -0.044193085283041, -0.02152649126946926, 0.08652273565530777, -0.03065275028347969, 0.016359703615307808, -0.009677923284471035, 0.042447611689567566, 0.017151430249214172, -0.050861138850450516, 0.0594240240752697, -0.07114697247743607, -0.007070954889059067, -0.15511690080165863, 0.014685483649373055, 0.017851579934358597, -0.1275562345981598, 0.0747700035572052, 0.01840110309422016, 0.09788476675748825, -0.022882796823978424, -0.03781227394938469, -0.006230851635336876, 0.05775309354066849, 0.022521793842315674, 0.005810676608234644, 0.020129306241869926, 0.00711749866604805, -0.04208443686366081, 0.03117102012038231, 0.03108300268650055, 0.044606491923332214, -0.011374997906386852, -0.02399185672402382, -0.022664330899715424, 0.05452588200569153, -0.014822280965745449, 0.0011253522243350744, 0.02330324798822403, 0.057940904051065445, 0.08201391249895096, -0.006965647917240858, 0.0049819499254226685, -0.029822200536727905, -0.01679183728992939, -0.006083326879888773, 0.0228823721408844, -0.0021226012613624334, -0.08105771243572235, 0.037184394896030426, -0.014569683000445366, -0.09783617407083511, 0.027941519394516945, -0.06355525553226471, -0.026094447821378708, 0.038961321115493774, 0.03768465667963028, -0.013982245698571205, -0.058757249265909195, -0.0358329638838768, -0.011694483458995819, 0.04034870117902756, 0.09173583984375, -0.022396573796868324, 0.04034166783094406, 0.047951214015483856, -0.0019554058089852333, 0.002270073862746358, 0.021531084552407265, 0.02628784254193306, -0.016341179609298706, 0.05020255967974663, 0.014021876268088818, 0.03033974952995777, -0.07752563059329987, 0.04819266498088837, -0.080535888671875, 0.041563261300325394, -0.04284276068210602, -0.04600457102060318, -0.017316121608018875, -0.003005301347002387, -0.051577769219875336, 0.09111525863409042, -0.01793270744383335, -0.033179037272930145, -0.04846356436610222, -0.07048922777175903, 0.026317361742258072, 0.04041421040892601, 0.04105566442012787, -0.011419509537518024, -0.086845263838768, 0.025871163234114647, -0.02800905704498291, -0.019559666514396667, 0.010840408504009247, 0.02541293203830719, -0.023405250161886215, -0.00830061174929142, 0.012214194983243942, 0.038809146732091904, -0.11428171396255493, -0.00008106278983177617, 0.013539613224565983, -0.04501435533165932, -0.060320574790239334, -0.02249031886458397, -0.0032299954909831285, 0.037446219474077225, 0.0038756076246500015, 0.01784893125295639, 0.001012709690257907, -0.07348693907260895, 0.031626224517822266, -0.017272567376494408, -0.04595475643873215, 0.06547391414642334, 0.013113457709550858, -0.005791748873889446, -0.04243346303701401, -0.00021257626940496266, 0.0024470060598105192, -0.03331143409013748, -0.03570453077554703, 0.03062361851334572, -0.03554360568523407, 0.00023464224068447948, -0.021016661077737808, 0.03451744467020035, -0.015432882122695446, -0.05902082100510597, 0.033665742725133896, -0.008147203363478184, 0.0032118072267621756, -0.008291555568575859, 0.01067793183028698, 0.029771361500024796, 0.005596428643912077, 0.02109091728925705, -0.011836165562272072, 0.020471392199397087, -0.042927633970975876, -0.012683723121881485, 0.004547374788671732, 0.049966033548116684, 0.03705964237451553, 0.029818477109074593, 0.006031527183949947, 0.0036956260446459055, -0.014050507918000221, 0.00967735331505537, 0.01242006104439497, 0.01593039371073246, 0.0140104740858078, -0.0006137688178569078, -0.0054215192794799805, 0.01946135051548481, -0.022733580321073532, 0.020671546459197998, 0.0011490252800285816, 0.021174348890781403, 0.032175544649362564, -0.006813230458647013, 0.030971840023994446, 0.025834564119577408, 0.04952504485845566, -0.0266219861805439, 0.053079016506671906, -0.019363993778824806, 0.014303184114396572, -0.089348204433918, -0.012928558513522148, -0.0029220839496701956, 0.023138010874390602, -0.006689086090773344, 0.002807704731822014, 0.0016129727009683847, 0.017034893855452538, 0.024713320657610893, 0.06755129247903824, -0.021231411024928093, -0.00548871885985136, 0.02689496800303459, 0.029363011941313744, -0.02375449240207672, 0.019825056195259094, -0.02388087846338749, -0.007775358855724335, 0.05123012512922287, 0.05458836257457733, 0.011605070903897285, -0.02512650564312935, 0.029569784179329872, -0.031804535537958145, 0.01506582461297512, -0.03074563294649124, 0.018760448321700096, -0.0012916458072140813, 0.00389765202999115, 0.00861617736518383, -0.009750663302838802, -0.014153233729302883, -0.015421435236930847, 0.010356234386563301, 0.0009643920930102468, 0.02530202828347683, 0.03298351541161537, 0.022348053753376007, -0.0027875411324203014, -0.0068426067009568214, -0.0071521541103720665, -0.013199934735894203, 0.0017963411519303918, 0.029925402253866196, 0.020960936322808266, -0.04538126662373543, -0.005967950914055109, 0.028468353673815727, 0.032305240631103516, -0.027237029746174812, -0.05613858252763748, -0.022075489163398743, 0.030381912365555763, 0.034642916172742844, -0.0027742311358451843, -0.018061324954032898, 0.02225731685757637, -0.0010312366066500545, 0.02549167349934578, -0.08329788595438004, -0.0125275868922472, 0.015613524243235588, -0.06096765026450157, -0.03609341010451317, -0.0046800351701676846, 0.035736147314310074, 0.059848930686712265, 0.04074521362781525, -0.012033159844577312, 0.050990138202905655, -0.04347357526421547, -0.007056170143187046, -0.019984055310487747, 0.00610105087980628, -0.05939057841897011, 0.002913715783506632, 0.04176199063658714, -0.010439315810799599, 0.03722969442605972, -0.007374896202236414, -0.023461025208234787, -0.04693182557821274, -0.001721325796097517, -0.005721718072891235, -0.008780939504504204, -0.0037827787455171347, 0.0417298823595047, -0.010246997699141502, 0.012780175544321537, 0.010294077917933464, 0.04309897869825363, -0.03652244806289673, 0.04088285565376282, 0.027798594906926155, -0.019805563613772392, -0.03823726251721382, 0.01869123987853527, 0.0003543976927176118, 0.0367797315120697, -0.020135071128606796, -0.010039979591965675, -0.00790866557508707, -0.04801715537905693, -0.025914952158927917, -0.0004235742671880871, -0.007608444895595312, -0.0022547002881765366, -0.010846835561096668, -0.012144866399466991, 0.037408169358968735, 0.015164738520979881, -0.008838869631290436, 0.0358283706009388, 0.0175706185400486, 0.07223758101463318, 0.005090160295367241, -0.02822151407599449, -0.04614953696727753, -0.0008214929839596152, 0.006514752749353647, -0.02240847982466221, 0.02510908432304859, 0.011526106856763363, -0.022526387125253677, -0.01503934245556593, -0.00280566094443202, 0.02792850136756897, 0.00529500050470233, 0.001900030067190528, -0.061261653900146484, -0.024677233770489693, 0.004676356911659241, 0.003174362238496542, 0.042114775627851486, 0.010320809669792652, 0.008520035073161125, -0.05196318402886391, 0.0005740755004808307, 0.03512930870056152, -0.03262684494256973, -0.020115969702601433, -0.00008137965050991625, 0.0698263943195343, 0.002387864515185356, -0.0004284630704205483, 0.0022537680342793465, 0.026069747284054756, 0.027951804921030998, 0.0454777292907238, 0.03327227011322975, 0.025875123217701912, -0.05669700354337692, -0.06887415051460266, -0.04722553864121437, 0.06966876983642578, 0.030570803210139275, -0.010885048657655716, -0.029904117807745934, -0.0122909527271986, 0.0563172847032547, -0.0049336152151227, 0.028146089985966682, -0.03585696592926979, 0.015402746386826038, -0.01978948898613453, 0.031709522008895874, 0.014966392889618874, -0.01843925751745701, 0.02223973535001278, 0.04413573443889618, -0.011925412341952324, -0.009851448237895966, -0.011258364655077457, -0.03348783776164055, 0.01760648936033249, 0.03918881714344025, 0.06114286184310913, -0.00809081643819809, 0.015173641964793205, 0.04118867591023445, 0.007455840241163969, 0.00205450807698071, 0.057727012783288956, -0.03770595043897629, -0.0430673211812973, 0.04815157130360603, 0.0030787154100835323, 0.04897608980536461, -0.001514761708676815, 0.014804108999669552, 0.004413872491568327, 0.014564432203769684, -0.0073367999866604805, -0.0016683632275089622, 0.024576330557465553, 0.015041034668684006, -0.05010409653186798, -0.021718017756938934, 0.016878807917237282, -0.002160720294341445, 0.0316515751183033, 0.06915435940027237, 0.0187589842826128, 0.02083466202020645, 0.01637660339474678, -0.031210536137223244, 0.03485145792365074, 0.01091129332780838, 0.027867930009961128, 0.01099446788430214, -0.001313533983193338, -0.039585184305906296, -0.023658553138375282, -0.018880721181631088, -0.007638661190867424, -0.040886975824832916, 0.01471356488764286, -0.0529484748840332, -0.01312014926224947, 0.039855021983385086, 0.0009923946345224977, -0.05425040423870087, -0.0430009700357914, -0.010610638186335564, -0.019934428855776787, 0.0477897971868515, -0.008408772759139538, -0.029761619865894318, 0.014002506621181965, 0.0014888712903484702, 0.0497930534183979, 0.02118256874382496, -0.02465655654668808, 0.05600503459572792, 0.06839829683303833, 0.029294870793819427, -0.04662865400314331, -0.004533751867711544, 0.04718920961022377, 0.019938668236136436, 0.005548082757741213, 0.009435434825718403, -0.03828256577253342, 0.009739468805491924, -0.026514073833823204, -0.052008502185344696, 0.0510750487446785, 0.013960120268166065, 0.033223073929548264, -0.007696033455431461, 0.0711137056350708, 0.015258776023983955, -0.012296177446842194, 0.04262934625148773, -0.01992134191095829, -0.004416123032569885, 0.0371638722717762, -0.0011776265455409884, 0.019914815202355385, -0.025520404800772667, -0.007657303009182215, -0.04256899282336235, 0.0287343617528677, 0.02216329239308834, -0.011725073680281639, 0.03192535415291786, 0.0031657943036407232, -0.04160812497138977, -0.00860144104808569, 0.040439214557409286, 0.02517889440059662, 0.011537602171301842, -0.017759647220373154, -0.01828896813094616, -0.03592243418097496, 0.0029406833928078413, 0.01916009932756424, 0.04251988232135773, -0.028264347463846207, 0.013076350092887878, 0.023691868409514427, 0.08134382218122482, 0.05113775283098221, 0.03982941433787346, -0.026004822924733162, 0.03875336796045303, 0.04756569117307663, -0.030803697183728218, -0.008684358559548855, -0.017409859225153923, -0.023341260850429535, -0.014174538664519787, -0.013550764881074429, -0.028278930112719536, -0.08278348296880722, 0.008824575692415237, -0.0038319677114486694, -0.014882801100611687, -0.01447979360818863, 0.0021099539007991552, 0.11082173138856888, -0.014615071006119251, 0.007221427280455828, -0.03777540102601051, 0.005525650922209024, -0.005242427345365286, -0.055127792060375214, 0.025653408840298653, -0.003829214023426175, 0.014342612586915493, 0.017841408029198647, 0.013674229383468628, -0.008640047162771225, 0.012942240573465824, 0.03290034830570221, 0.02666832134127617, -0.006570163648575544, 0.005700675304979086, -0.004622995387762785, -0.03459633141756058, -0.014663058333098888, -0.0032701159361749887, 0.07975122332572937, -0.008190475404262543, -0.04065705090761185, -0.006582743022590876, 0.023162653669714928, 0.014929883182048798, -0.021868715062737465, -0.009763872250914574, -0.018582681193947792, 0.00028437786386348307, 0.015497447922825813, 0.01981268636882305, -0.014858631417155266, 0.021457668393850327, -0.014019458554685116, 0.01667485386133194, -0.01771559752523899, -0.008133361116051674, -0.028168434277176857, 0.018848281353712082, 0.0034661556128412485, -0.009309482760727406, -0.0057209935039281845, 0.010495546273887157, 0.03124302066862583, -0.02696561999619007, -0.02716454677283764, -0.00632257666438818, 0.055270761251449585, -0.03318643942475319, -0.018954483792185783, 0.026881437748670578, -0.020563650876283646, -0.0470585897564888, 0.00796766672283411, -0.03230860456824303, 0.01937505602836609, 0.012617183849215508, 0.00045168446376919746, -0.0038733400870114565, 0.03805460408329964, -0.026587944477796555, -0.03701271861791611, -0.006692894268780947, -0.06038158759474754, 0.01635163649916649, 0.04246780276298523, 0.02185765840113163, 0.030097631737589836, 0.020723331719636917, -0.017133435234427452, -0.010939240455627441, -0.044811785221099854, 0.0051573789678514, 0.0648011565208435, 0.04080728814005852, -0.025148458778858185, -0.05368131771683693, 0.01554828230291605, -0.03127765282988548, -0.009508526884019375, 0.03882267326116562, -0.01676839031279087, 0.02155931293964386, -0.012387461960315704, -0.027833973988890648, 0.00006962935003684834, -0.0002051011979347095, -0.01777130737900734, -0.002318757586181164, 0.0057933698408305645, 0.020538968965411186, 0.020896663889288902, -0.013096571899950504, 0.007514666765928268, -0.03325571492314339, -0.024465883150696754, 0.020929615944623947, 0.018739253282546997, -0.03570674732327461, 0.03847121819853783, -0.027120662853121758, 0.03948719799518585, 0.014741315506398678, -0.034252457320690155, -0.0011362237855792046, -0.011248689144849777, 0.024322032928466797, -0.004427606705576181, -0.006243049632757902, -0.04192308709025383, 0.003216447541490197, 0.01735600270330906, -0.00647865841165185, -0.04566683992743492, -0.011507750488817692, 0.06363379210233688, -0.013351796194911003, -0.011458092369139194, 0.01474501471966505, 0.022294996306300163, 0.036779165267944336, 0.01658162847161293, 0.0040459902957081795, -0.025421254336833954, 0.02772221714258194, -0.0016217597294598818, -0.02084457129240036, -0.03322596848011017, -0.01618563011288643, -0.0009943887125700712, -0.01002681627869606, -0.007081384304910898, 0.05308595299720764, 0.03656552731990814, 0.007032220251858234, 0.0817597284913063, 0.0036286350805312395, 0.014882711693644524, -0.0015673647867515683, 0.00984332524240017, 0.05099117383360863, -0.03354126587510109, -0.03085101582109928, 0.04731841757893562, 0.010921009816229343, 0.018790239468216896, -0.011792914010584354, -0.049781981855630875, 0.013632815331220627, -0.027849698439240456, -0.019473135471343994, -0.057916492223739624, 0.027776453644037247, 0.0524248406291008, 0.01961139775812626, 0.025155918672680855, -0.020055940374732018 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
Maintaining consistency between scenes If you plan to create sequences of multiple videos, you will want to make sure you add as many details as possible in each prompt, otherwise you may lose important details from one sequence to another, such as the color. 💡 This will also improve the quality of the image since the prompt is used for the upscaling part with Zeroscope XL.
[ 0.045806884765625, -0.016010183840990067, -0.004786632023751736, 0.014439336955547333, 0.06354719400405884, -0.011110574938356876, -0.050736118108034134, -0.017411913722753525, -0.021229945123195648, -0.07152994722127914, 0.0032834140583872795, -0.01418391615152359, -0.021517179906368256, 0.046374961733818054, -0.0560043565928936, 0.06031688302755356, 0.06303198635578156, 0.051950372755527496, 0.01561314519494772, 0.040409620851278305, -0.027953138574957848, -0.04936991259455681, 0.04242163896560669, -0.03611285239458084, -0.015104087069630623, -0.0689634382724762, -0.049489375203847885, -0.0031693088822066784, -0.06725037842988968, -0.04071897640824318, -0.05908927321434021, -0.021671250462532043, 0.02233884297311306, -0.029848599806427956, 0.03592560067772865, -0.014569048769772053, 0.039801422506570816, 0.07492092251777649, 0.026305289939045906, 0.043370019644498825, -0.012390530668199062, -0.04615921154618263, -0.028996704146265984, -0.06675390899181366, 0.003336919704452157, -0.08232749998569489, -0.12875516712665558, 0.03257006034255028, -0.0877770334482193, 0.05484021082520485, -0.03653431683778763, 0.05414694920182228, 0.022762075066566467, -0.009470295161008835, -0.02116968482732773, 0.012037036009132862, 0.008109706453979015, -0.011081594973802567, -0.018631426617503166, 0.04886431246995926, 0.13312511146068573, -0.006645708344876766, 0.01878686621785164, 0.06040645390748978, -0.05065867677330971, -0.02376449853181839, -0.04334128275513649, 0.02773609757423401, -0.011410407721996307, -0.01342873927205801, 0.06679803878068924, 0.023093165829777718, 0.035249412059783936, 0.01482879463583231, -0.027246970683336258, -0.04397667199373245, -0.017358720302581787, 0.022513417527079582, -0.02705673687160015, 0.022638021036982536, 0.011159309186041355, -0.004125172737985849, 0.0668288990855217, -0.009725005365908146, -0.013019707053899765, 0.04333697259426117, 0.05985464155673981, -0.036436792463064194, -0.00512700853869319, 0.0257030688226223, -0.036702319979667664, -0.10969632863998413, -0.020806018263101578, 0.019679101184010506, -0.022736527025699615, 0.003628054168075323, 0.008635453879833221, 0.00659214099869132, 0.07442115247249603, 0.04484671726822853, -0.051106978207826614, -0.08668959140777588, 0.02427016943693161, -0.06417519599199295, -0.06628724932670593, -0.016652682796120644, -0.06321290880441666, -0.037724368274211884, -0.04834380000829697, 0.0742034912109375, -0.04427379369735718, 0.03519250825047493, 0.022128505632281303, 0.09393555670976639, 0.024797555059194565, 0.018887337297201157, -0.025467073544859886, -0.012403208762407303, -0.06688886880874634, 0.03193195164203644, 0.02064645104110241, 0.04696621745824814, 0.06833343952894211, 0.027984250336885452, -0.07576852291822433, 0.08678876608610153, 0.032519735395908356, -0.05332515016198158, -0.05545727536082268, -0.05104472115635872, -0.07852880656719208, -0.019016573205590248, 0.04512150585651398, -0.007726588286459446, 0.05989205837249756, -0.11456269025802612, -0.06044915318489075, -0.0554795078933239, 0.021906951442360878, -0.01873554289340973, 0.04701979085803032, 0.014843003824353218, 0.007640382740646601, 0.01230515819042921, -0.002472960390150547, 0.005178095307201147, -0.11756298691034317, 0.012060219421982765, -0.03293797746300697, 0.003958477638661861, -0.06224231421947479, 0.048728302121162415, -0.06607487797737122, -0.20790806412696838, -0.010286384262144566, 0.07272982597351074, 0.010134026408195496, -0.023701442405581474, -0.035988982766866684, -0.018388433381915092, 0.05393782630562782, -0.004621284082531929, 0.023821044713258743, -0.00723456172272563, 0.02885405160486698, -0.027256110683083534, 0.031069086864590645, -0.014778799377381802, 0.05694230645895004, 0.07262479513883591, -0.013714592903852463, 0.044069718569517136, 0.0030553063843399286, -0.06032918021082878, -0.0031860535964369774, 0.030420353636145592, 0.03804744780063629, 0.08336317539215088, -0.009680721908807755, -0.00785305630415678, 0.02723444253206253, -0.03617288917303085, -0.10214201360940933, 0.027543064206838608, 0.014251522719860077, -0.06613463908433914, 0.001291621825657785, -0.02758939564228058, -0.09787219762802124, 0.07305654138326645, -0.033537205308675766, 0.05828076973557472, 0.0455579049885273, -0.007669266313314438, -0.006144995801150799, -0.024188438430428505, -0.03668985143303871, 0.06598544120788574, 0.08412494510412216, 0.03445177525281906, -0.019060896709561348, 0.025212902575731277, 0.053781893104314804, 0.017857016995549202, -0.004076051060110331, 0.04969197139143944, 0.04206237196922302, -0.03570235148072243, 0.06655367463827133, 0.03201378509402275, 0.03190072625875473, -0.08088038861751556, 0.03101756051182747, -0.06304645538330078, 0.00747368298470974, -0.041692331433296204, -0.012804819270968437, -0.041942499577999115, -0.020885376259684563, 0.0011971660424023867, 0.06663697957992554, -0.014053981751203537, 0.014706565998494625, 0.05117788538336754, 0.0018342974362894893, 0.004807549994438887, -0.01853971555829048, 0.023885466158390045, -0.016162723302841187, -0.0774659663438797, -0.05822104215621948, -0.02018185704946518, -0.038192808628082275, 0.034385502338409424, -0.017397936433553696, 0.05205196142196655, 0.017785286530852318, -0.03831658884882927, -0.01756438799202442, -0.11067008227109909, 0.03688866272568703, 0.03609223663806915, -0.051182299852371216, -0.011233958415687084, 0.036560483276844025, -0.019639013335108757, 0.07824825495481491, 0.02158907614648342, 0.007489122916013002, -0.00983656756579876, -0.11224941909313202, 0.029750438407063484, -0.02416178397834301, -0.024463221430778503, 0.018669044598937035, 0.0026187433395534754, 0.04009872302412987, -0.038249529898166656, -0.013504688628017902, -0.0006036849226802588, -0.008737686090171337, -0.01029137708246708, 0.022324344143271446, -0.022853966802358627, 0.017089949920773506, -0.023893464356660843, 0.008548836223781109, -0.02153092995285988, -0.04413831606507301, 0.001444098073989153, 0.013570686802268028, 0.01489654928445816, 0.019379442557692528, 0.012276521883904934, -0.01927843876183033, 0.003673593048006296, 0.033399563282728195, -0.006343663204461336, 0.05660858377814293, -0.019771810621023178, -0.008808382786810398, -0.0067868828773498535, 0.027623208239674568, 0.011370508000254631, -0.02175202965736389, 0.011543757282197475, 0.03788856789469719, -0.008443501777946949, -0.026550674811005592, -0.02018028311431408, -0.007646017242223024, -0.014887356199324131, 0.0013853901764377952, 0.028324050828814507, -0.01125639583915472, 0.024604415521025658, -0.032945260405540466, -0.025263400748372078, -0.0018365556607022882, 0.012216626666486263, -0.012909882701933384, 0.036328140646219254, 0.07337020337581635, -0.03775429725646973, -0.027965493500232697, 0.04917111247777939, -0.014858890324831009, -0.011518128216266632, -0.09627873450517654, -0.036007169634103775, -0.005547704175114632, 0.04835984483361244, -0.025252651423215866, -0.039018891751766205, 0.03695228323340416, -0.026053406298160553, -0.021566223353147507, 0.008739924058318138, -0.01721077226102352, 0.027221987023949623, -0.00867711752653122, 0.01678435504436493, -0.03793138638138771, 0.028474904596805573, -0.03037456050515175, 0.03728368878364563, 0.03578129783272743, 0.02245723269879818, 0.008214402012526989, 0.027418790385127068, 0.0013656234368681908, -0.01809779368340969, 0.004976124037057161, 0.016292182728648186, 0.02066856063902378, 0.04298900440335274, -0.00398675724864006, -0.031238412484526634, -0.010738526470959187, 0.007781201973557472, 0.001202117302455008, -0.001733098877593875, -0.062237370759248734, 0.014699732884764671, 0.022174105048179626, -0.03166426718235016, 0.01876659505069256, 0.012687001377344131, 0.00951885711401701, 0.02683515101671219, -0.016417881473898888, 0.06034849211573601, 0.009503830224275589, -0.028109990060329437, -0.016427384689450264, 0.005524856969714165, 0.05457726866006851, -0.04070007801055908, -0.02173740230500698, -0.006405362859368324, 0.009621642529964447, 0.009840892627835274, 0.01720852218568325, 0.004186536185443401, 0.007637407165020704, 0.034935373812913895, 0.004998300224542618, -0.08348746597766876, -0.0071191550232470036, -0.018000558018684387, -0.02118953876197338, -0.030478021129965782, -0.02110670693218708, 0.052458617836236954, 0.025485776364803314, 0.019438371062278748, 0.004241664428263903, 0.048201482743024826, -0.02682550624012947, 0.013647185638546944, 0.03112393617630005, 0.010086148045957088, -0.034821152687072754, 0.022366590797901154, 0.036596670746803284, 0.040608618408441544, 0.016668180003762245, -0.010782620869576931, -0.006743773352354765, -0.03558306768536568, -0.016303405165672302, -0.03399224206805229, -0.0015577854355797172, 0.0315047986805439, 0.0010260053677484393, 0.0038861052598804235, -0.013710546307265759, 0.0365646667778492, -0.0010636269580572844, 0.008534455671906471, 0.015111014246940613, -0.0051355622708797455, 0.010962635278701782, -0.04005208611488342, 0.029842790216207504, 0.0159896370023489, 0.015016465447843075, -0.033178187906742096, 0.003038202179595828, -0.00010813811968546361, -0.008586050942540169, -0.03079293854534626, -0.00890409667044878, -0.0006847738404758275, 0.03926382213830948, 0.01813141629099846, -0.027860676869750023, -0.026380229741334915, 0.012542102485895157, 0.012418743222951889, 0.0402965284883976, 0.03352371230721474, 0.07842166721820831, 0.03160373494029045, -0.0319388322532177, -0.012675143778324127, -0.02400357462465763, 0.008985552936792374, -0.0737154483795166, 0.012141448445618153, 0.0183977410197258, 0.0038072578608989716, 0.015754951164126396, -0.008188137784600258, 0.020287925377488136, -0.01941193826496601, -0.03810744360089302, -0.016120929270982742, 0.005793767049908638, -0.0006592557183466852, 0.02475048042833805, 0.04082242026925087, -0.02320118062198162, 0.01609165221452713, -0.04388826712965965, 0.028681591153144836, -0.033467065542936325, -0.07004676014184952, -0.018441779538989067, 0.026303593069314957, 0.06725022196769714, -0.004440379329025745, 0.017495617270469666, -0.009538215585052967, 0.0016766454791650176, -0.014628447592258453, 0.03848010301589966, 0.02771424688398838, 0.06152049079537392, -0.019377561286091805, -0.08781922608613968, -0.006340182851999998, 0.012578815221786499, -0.022021697834134102, -0.06615149229764938, -0.01891752891242504, 0.017478762194514275, 0.048279765993356705, 0.005063155200332403, -0.005718905944377184, -0.030215784907341003, 0.004006939474493265, 0.00022750049538444728, 0.007364656776189804, -0.006593812722712755, -0.0179715808480978, 0.022725429385900497, -0.004890496842563152, 0.01436270959675312, 0.001493282848969102, -0.011033143848180771, -0.02377893403172493, 0.026942411437630653, -0.02354714460670948, 0.041120465844869614, 0.012814570218324661, 0.05174192413687706, -0.01414327323436737, -0.001742146210744977, 0.014100568369030952, 0.07728162407875061, -0.011359299533069134, -0.03690125420689583, 0.03392083942890167, 0.020961103960871696, 0.04407482594251633, 0.03409390524029732, 0.008689863607287407, -0.005260174628347158, 0.012413855642080307, -0.02270810306072235, -0.025809885933995247, 0.03995402157306671, -0.03257687762379646, -0.04122151806950569, -0.00017444492550566792, -0.010939139872789383, -0.005181398242712021, 0.03271865099668503, 0.029365580528974533, 0.035871442407369614, 0.016653794795274734, -0.003867732360959053, -0.020448749884963036, -0.004964823834598064, 0.02251591719686985, 0.01743791252374649, -0.020365167409181595, 0.046543434262275696, -0.017415212467312813, -0.028669269755482674, -0.024337712675333023, 0.01259283721446991, 0.009509365074336529, -0.023569554090499878, -0.03333979472517967, -0.0008705105283297598, 0.0048008509911596775, 0.0011900773970410228, 0.005165346432477236, -0.018300939351320267, 0.010678383521735668, -0.03162096440792084, 0.007591970264911652, -0.004926244728267193, -0.020630255341529846, 0.0003490012604743242, 0.009166796691715717, 0.011879862286150455, 0.000399373093387112, -0.016095906496047974, 0.0340268611907959, 0.005757682025432587, 0.04340732470154762, -0.0658949762582779, 0.034327831119298935, 0.0010181681718677282, -0.01279520709067583, -0.001371700782328844, -0.008830786682665348, -0.019831795245409012, 0.021649125963449478, 0.004989408887922764, 0.012385113164782524, 0.009784994646906853, 0.0032813847064971924, 0.01998141221702099, 0.043463364243507385, 0.04818633571267128, -0.05316472053527832, -0.03514382988214493, 0.03149956837296486, 0.01785922981798649, -0.003678194247186184, 0.04818904399871826, -0.03979385644197464, 0.008481795899569988, -0.020307818427681923, 0.02274128794670105, -0.052401818335056305, 0.01695229299366474, -0.019888322800397873, -0.008418727666139603, 0.015337584540247917, 0.03744395822286606, 0.019357329234480858, 0.009974897839128971, 0.0167551152408123, 0.06182781606912613, 0.015613417141139507, 0.026743130758404732, 0.0028116267640143633, -0.0170945655554533, 0.023601019755005836, 0.003446444170549512, 0.024196231737732887, 0.0015501369489356875, 0.00029376315069384873, 0.04494209215044975, 0.052202433347702026, 0.00911150872707367, 0.021698687225580215, 0.012866364791989326, 0.02491035684943199, -0.0028643656987696886, 0.027260184288024902, -0.0212517399340868, 0.022346636280417442, -0.020739750936627388, 0.010147555731236935, 0.016151977702975273, -0.05258965492248535, -0.006747258827090263, 0.03311781585216522, 0.013462287373840809, 0.03369572013616562, -0.04240560531616211, -0.027548324316740036, 0.06784240156412125, 0.006898985244333744, 0.021795444190502167, 0.021609006449580193, -0.001625395962037146, -0.007202788721770048, 0.020769506692886353, -0.014746119268238544, 0.017228124663233757, 0.02737450785934925, -0.02165679633617401, 0.0009627722902223468, 0.00687645748257637, -0.020362166687846184, 0.036581359803676605, 0.01813403144478798, 0.005779660772532225, 0.012113641947507858, 0.027899445965886116, -0.01542730163782835, -0.004857329186052084, -0.025018328800797462, 0.035527266561985016, 0.0006755218491889536, -0.03515218198299408, -0.00744582200422883, 0.023301249369978905, 0.05828939005732536, -0.005581149365752935, 0.01632501557469368, -0.017015306279063225, -0.004027739632874727, -0.013342673890292645, -0.03088689036667347, -0.03330576792359352, 0.034929994493722916, 0.014203992672264576, 0.03875209391117096, -0.02528408356010914, -0.028077103197574615, -0.07453765720129013, -0.0013788797659799457, 0.013494398444890976, 0.02937294729053974, 0.00007508466660510749, 0.007020979654043913, 0.028079960495233536, -0.04820290207862854, -0.042338863015174866, 0.02944023162126541, 0.02665189653635025, 0.000876992242410779, -0.025646928697824478, 0.027525050565600395, -0.010622182860970497, -0.09472092986106873, 0.06109762564301491, -0.06036838889122009, 0.01779378578066826, 0.03893886134028435, 0.022069932892918587, -0.011431580409407616, -0.021473228931427002, -0.032128024846315384, -0.028159741312265396, 0.010187335312366486, -0.05825097858905792, 0.0391848050057888, -0.013225743547081947, 0.02280050702393055, 0.024177052080631256, 0.04899601265788078, -0.03632824122905731, -0.04299958795309067, -0.02371876686811447, 0.0014826604165136814, 0.03978988900780678, 0.037897177040576935, -0.009271559305489063, 0.006851478945463896, 0.044391896575689316, 0.05610766261816025, -0.0015214354498311877, -0.013531794771552086, -0.029346564784646034, 0.03561977297067642, -0.017288390547037125, 0.0247244480997324, -0.029535647481679916, 0.03219415247440338, -0.02887040376663208, 0.01776861771941185, 0.008447913452982903, -0.012433642521500587, 0.008675112389028072, -0.0013519130880013108, 0.012152918614447117, -0.02087634801864624, -0.0056040589697659016, 0.021133214235305786, -0.02618083730340004, -0.019552385434508324, 0.05559130758047104, -0.0016873459098860621, 0.03268720209598541, 0.00783723033964634, -0.04071026295423508, -0.03662344813346863, -0.015852326527237892, 0.041363026946783066, -0.023555444553494453, 0.012914803810417652, -0.042998798191547394, -0.006979025900363922, 0.02671985514461994, -0.02691257745027542, -0.03795333206653595, -0.0001535947812953964, 0.06854764372110367, -0.008115592412650585, -0.004346530884504318, -0.027542319148778915, 0.046358488500118256, 0.0589333102107048, 0.022966960445046425, 0.007804280612617731, -0.03307493403553963, 0.04508359357714653, 0.024117188528180122, 0.04300394281744957, -0.026714321225881577, 0.004630464594811201, 0.04060518741607666, -0.00005852547110407613, 0.016540231183171272, 0.01806182786822319, 0.008961325511336327, 0.008701720274984837, 0.09450872987508774, -0.011635737493634224, -0.009133271872997284, -0.020775729790329933, 0.023287806659936905, 0.06171355023980141, -0.023368453606963158, -0.03975481912493706, 0.030573593452572823, 0.011895228177309036, 0.0007661751005798578, 0.018988387659192085, -0.015209692530333996, 0.01922805793583393, 0.015254947356879711, 0.029342500492930412, -0.06678878515958786, 0.028569437563419342, 0.02377328835427761, -0.0006362280691973865, -0.008061801083385944, -0.0006719877128489316 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
Styling and effects Prompt: 3D rendered video of a friendly broccoli character wearing a hat, walking in a candy-filled city street with gingerbread houses, under a bright sun and blue skies, Pixar's style, cinematic, photorealistic, movie, ambient lighting, natural lighting, CGI, wide-angle view, daytime, ultra realistic. Prompt: Cinematic movie, shot of an astronaut and a llama at dawn, the mountain landscape bathed in soft muted colors, early morning fog, dew glistening on fur, craggy peaks, vintage NASA suit, Canon EOS, high detailed skin, epic composition, high quality, 4K, trending on artstation, beautiful Prompt: Panda and black cat navigating down the flowing river in a small boat, Studio Ghibli style > Cinematic, beautiful composition > IMAX camera panning following the boat > High quality, cinematic, movie, mist effect, film grain, trending on Artstation
[ 0.05537544563412666, 0.001608939841389656, 0.04821352660655975, 0.04262249171733856, 0.0553157702088356, -0.04261308163404465, -0.024589456617832184, 0.03264437988400459, -0.051947299391031265, -0.03655827045440674, -0.1029546856880188, -0.03147970885038376, -0.039954207837581635, 0.005314935464411974, 0.013904943130910397, 0.0032559651881456375, 0.03235728293657303, -0.010829662904143333, -0.02984669990837574, -0.013354761525988579, -0.0524912104010582, 0.004347916692495346, -0.015441307798027992, 0.011866249144077301, -0.02985643967986107, -0.11155793070793152, 0.02901601418852806, 0.11519331485033035, -0.02575588971376419, -0.006499799899756908, -0.03989022970199585, 0.0015294596087187529, 0.026728404685854912, -0.04795876145362854, -0.03873772174119949, -0.04608796164393425, -0.06366097927093506, 0.06793466955423355, -0.10596486181020737, 0.007456563413143158, -0.01237383484840393, 0.006617263425141573, -0.005131314974278212, 0.0045515140518546104, -0.03357052430510521, -0.041118476539850235, -0.10850519686937332, 0.03524264693260193, -0.08029191195964813, 0.004433393944054842, -0.08720702677965164, 0.04248911142349243, -0.010560289956629276, -0.04487079754471779, 0.04812820628285408, 0.0525970384478569, 0.025793109089136124, -0.010495142079889774, 0.024688614532351494, 0.030317721888422966, 0.06340976804494858, -0.036375269293785095, 0.006194205954670906, 0.0077966381795704365, 0.00438825786113739, 0.006876244209706783, -0.054014403373003006, -0.01588696427643299, -0.01976393721997738, -0.005849494598805904, 0.05085213482379913, 0.0511648952960968, -0.0012522466713562608, -0.027788309380412102, -0.03731513023376465, -0.024080656468868256, 0.06317302584648132, 0.009328105486929417, -0.08577919751405716, -0.01298434380441904, 0.010717247612774372, 0.0029665036126971245, 0.05661216750741005, 0.04994124919176102, -0.036469969898462296, 0.016652578487992287, 0.09459768235683441, 0.0021782158873975277, 0.017716458067297935, 0.0170968696475029, -0.0372881256043911, -0.08692070096731186, 0.0009255714830942452, 0.08712542057037354, -0.02829369343817234, -0.04734478518366814, -0.02262277528643608, -0.05494429171085358, 0.05031612142920494, 0.011844638735055923, -0.025837048888206482, -0.017589973285794258, 0.05648114159703255, -0.0063636330887675285, -0.07429860532283783, 0.021727165207266808, -0.051594316959381104, 0.03836210072040558, 0.03595621511340141, 0.01990269497036934, 0.010106454603374004, 0.10621968656778336, 0.06651634722948074, 0.02312026172876358, -0.07211693376302719, -0.01179482601583004, -0.01754114404320717, 0.006256073713302612, -0.10917852073907852, 0.03822600096464157, 0.07479127496480942, -0.018121054396033287, 0.06688862293958664, -0.12036285549402237, -0.053371790796518326, 0.07152324914932251, -0.05456991866230965, -0.038628946989774704, -0.0609222874045372, -0.07797413319349289, -0.0034483144991099834, -0.01903497986495495, -0.05411138758063316, -0.055086035281419754, -0.009930474683642387, -0.03782090172171593, -0.07281756401062012, -0.07245726138353348, -0.009218627586960793, -0.04239470884203911, 0.01843547448515892, -0.023358875885605812, 0.02430608868598938, 0.03971107304096222, 0.020938366651535034, -0.050957173109054565, 0.0020890876185148954, -0.061031948775053024, -0.03470059111714363, -0.008564385585486889, -0.010047885589301586, 0.05195845663547516, -0.026170961558818817, -0.0826033428311348, -0.021975968033075333, 0.04246622323989868, -0.0017984750447794795, -0.05599372088909149, 0.010153969749808311, -0.09287334233522415, 0.11954469978809357, 0.04953664541244507, -0.02594267949461937, -0.031155869364738464, 0.011501489207148552, 0.008597691543400288, -0.02162168361246586, -0.030334215611219406, 0.0003656995831988752, -0.015310216695070267, 0.022795286029577255, 0.0021464605815708637, -0.00564589025452733, 0.011450592428445816, -0.05686616897583008, -0.040653128176927567, 0.053463052958250046, 0.06757780909538269, -0.007971028797328472, -0.04836511239409447, -0.03634578734636307, 0.014066171832382679, -0.01695118099451065, -0.025238480418920517, 0.0030917811673134565, -0.047240469604730606, 0.000887277303263545, 0.043308328837156296, -0.021968599408864975, -0.016210408881306648, -0.057095080614089966, -0.04832332953810692, 0.04869874194264412, -0.01709749735891819, -0.06489090621471405, 0.029169538989663124, -0.03944851830601692, 0.007860434241592884, 0.08674165606498718, 0.022652840241789818, 0.03861572965979576, -0.012368980795145035, 0.06230582669377327, 0.041722118854522705, -0.07801564782857895, -0.006392165087163448, 0.00980125181376934, -0.0093214837834239, 0.027840469032526016, -0.005211937706917524, 0.021126409992575645, -0.03641621395945549, 0.05135718360543251, -0.045115482062101364, 0.04385887086391449, -0.040372177958488464, -0.061335813254117966, -0.039061710238456726, 0.004377713426947594, -0.01787627674639225, 0.058075614273548126, 0.008062101900577545, -0.01438099518418312, 0.017265239730477333, -0.006176074035465717, 0.01918141171336174, 0.0640835165977478, -0.030854197219014168, 0.007757577579468489, -0.0341620109975338, -0.07827296108007431, 0.01875900663435459, -0.06889868527650833, -0.003186301328241825, -0.08697638660669327, 0.021427487954497337, 0.10794362425804138, 0.01855282299220562, 0.06979981809854507, -0.13000929355621338, 0.03352167084813118, -0.029386788606643677, -0.04900965839624405, 0.00010263457079418004, -0.051609162241220474, -0.08146549761295319, 0.04006598889827728, -0.016361063346266747, -0.068923220038414, 0.004445909988135099, -0.034059371799230576, 0.017734887078404427, 0.032706376165151596, 0.039683304727077484, -0.012046090327203274, -0.01666337624192238, 0.003695736639201641, -0.024821288883686066, -0.01795049011707306, 0.03787464275956154, 0.03846653923392296, -0.01597210019826889, 0.05581779032945633, -0.036988720297813416, -0.018456822261214256, 0.05060890316963196, 0.021973073482513428, -0.002207888290286064, -0.04514613375067711, 0.07626061141490936, -0.010449852794408798, 0.0017789528938010335, 0.013669239357113838, -0.007269047200679779, 0.003973811864852905, -0.0041091470047831535, 0.03232073038816452, 0.00943431630730629, 0.0676644891500473, 0.0175321064889431, 0.0344216488301754, 0.01993253082036972, 0.04080670326948166, 0.00300672953017056, -0.0022361651062965393, -0.013064178638160229, 0.0021501777227967978, 0.004231192171573639, -0.03448157384991646, -0.010723824612796307, 0.03729734942317009, 0.016888339072465897, -0.012404246255755424, 0.0369703471660614, 0.00722329318523407, 0.018817201256752014, -0.0032599535770714283, 0.011594308540225029, -0.013067170977592468, -0.006959566846489906, -0.009013534523546696, 0.007891454733908176, -0.024397986009716988, -0.030324479565024376, 0.007915959693491459, 0.005963576957583427, 0.008625968359410763, 0.046377114951610565, -0.07869505137205124, -0.034735579043626785, -0.010728079825639725, 0.005148016847670078, -0.0002774357271846384, -0.018560320138931274, 0.02544528804719448, 0.017939528450369835, -0.0467095710337162, 0.0158512145280838, -0.03789422661066055, -0.013799509964883327, -0.04175737500190735, -0.004682240076363087, 0.04815337061882019, 0.019344773143529892, -0.05052286013960838, 0.014770252630114555, 0.03202400356531143, -0.027323080226778984, -0.02956291288137436, 0.03484458103775978, 0.028666842728853226, -0.001190900569781661, 0.02144036255776882, -0.006174076814204454, 0.027649208903312683, -0.004468140657991171, 0.05168585479259491, 0.014960486441850662, -0.038512133061885834, -0.03763166069984436, -0.016069790348410606, 0.023776208981871605, 0.018492626026272774, 0.02526433952152729, -0.01067779865115881, -0.00965156964957714, 0.06393911689519882, 0.014867374673485756, -0.009458305314183235, 0.022407548502087593, -0.0033289713319391012, 0.015549949370324612, 0.011265884153544903, 0.008306819014251232, -0.0026659166906028986, -0.009416412562131882, 0.06145653501152992, -0.013088883832097054, -0.029392383992671967, 0.05097871273756027, 0.009110456332564354, 0.029047204181551933, -0.0013180719688534737, 0.029329365119338036, 0.021414542570710182, 0.04439503699541092, -0.022738996893167496, -0.04873979836702347, -0.02525029517710209, 0.023827865719795227, 0.023480478674173355, 0.04024028778076172, 0.03701101243495941, 0.008199972100555897, 0.027039404958486557, 0.014274355955421925, -0.02453826367855072, 0.01453294139355421, 0.0006629808340221643, 0.019965650513768196, -0.030905352905392647, -0.0039059228729456663, -0.025825487449765205, 0.00853750854730606, 0.037360385060310364, 0.05030019208788872, 0.05536394566297531, -0.028187379240989685, 0.010086338967084885, -0.015227686613798141, -0.012713819742202759, -0.01339324563741684, 0.009934747591614723, -0.007429188583046198, -0.0295077096670866, -0.020867859944701195, 0.016826817765831947, 0.021828901022672653, 0.030873287469148636, -0.008961144834756851, 0.021752605214715004, 0.008342080749571323, 0.029828786849975586, -0.007325632497668266, 0.03038434125483036, 0.02717004530131817, 0.022601792588829994, 0.008849631063640118, 0.058303337544202805, -0.026211107149720192, -0.04282931983470917, -0.0004960095975548029, 0.013258207589387894, -0.006446473766118288, -0.0171382836997509, 0.030426714569330215, -0.014116846024990082, 0.0005190024967305362, -0.006534483749419451, -0.04845171049237251, 0.07029194384813309, -0.01684466190636158, 0.0279371440410614, 0.05666395276784897, -0.013133413158357143, 0.01011284813284874, -0.01941761188209057, -0.0036422035191208124, -0.006241817958652973, 0.0019467317033559084, 0.04106077551841736, -0.00016483174113091081, 0.015446395613253117, -0.007639741990715265, 0.005434347782284021, 0.011710809543728828, 0.0317610539495945, 0.007476047147065401, -0.020653005689382553, -0.0327582061290741, 0.04196459800004959, -0.017390694469213486, 0.021348737180233, -0.00689242547377944, 0.01173380482941866, -0.031769879162311554, -0.016578903421759605, -0.03956129401922226, 0.010558664798736572, 0.028018370270729065, 0.03637726977467537, 0.07561085373163223, -0.023587126284837723, -0.023491300642490387, 0.046700380742549896, 0.026074469089508057, 0.02019731141626835, 0.026141813024878502, 0.03156229853630066, 0.0072428397834300995, -0.038725726306438446, 0.023027105256915092, -0.049011047929525375, -0.03191046044230461, 0.017200306057929993, 0.013591115362942219, -0.019098298624157906, 0.012808961793780327, 0.05146641284227371, 0.03328024595975876, -0.04328116402029991, 0.008213807828724384, -0.01897406578063965, 0.061291396617889404, -0.0033745344262570143, -0.007715815678238869, 0.04870111495256424, -0.014971181750297546, 0.03906189650297165, 0.057267047464847565, -0.028078576549887657, 0.016362501308321953, -0.0025169423315674067, -0.005708704702556133, 0.11270506680011749, -0.004872950725257397, 0.004314398858696222, 0.024642005562782288, -0.014255918562412262, -0.031507547944784164, 0.04249202832579613, 0.0015503743197768927, 0.025244837626814842, 0.021617377176880836, 0.028706882148981094, 0.014844389632344246, 0.039246536791324615, -0.007971708662807941, 0.03415714576840401, 0.027568919584155083, -0.03973434120416641, 0.0010713973315432668, 0.03620017692446709, -0.046019893139600754, -0.025226596742868423, -0.002060198923572898, 0.005853839684277773, -0.013828295283019543, -0.0013792478712275624, 0.01923528127372265, -0.029411761090159416, 0.004838066641241312, -0.003573620691895485, -0.029611993581056595, 0.016577644273638725, 0.04282446205615997, 0.023403851315379143, -0.021091578528285027, 0.013691543601453304, 0.0073457504622638226, -0.003563015256077051, -0.04924110323190689, 0.018882863223552704, 0.007960201241075993, -0.03746290132403374, -0.01604923978447914, 0.01991056092083454, 0.0428156740963459, -0.01700693368911743, 0.027588073164224625, 0.046145033091306686, 0.029543332755565643, -0.02857685275375843, -0.0009605204104445875, 0.027264142408967018, 0.04733418673276901, -0.043551839888095856, 0.021386420354247093, 0.007474220357835293, 0.026535430923104286, 0.01876646652817726, 0.01868358626961708, 0.009462635032832623, 0.024059012532234192, -0.06567315757274628, -0.015001275576651096, 0.03274458274245262, 0.03804725781083107, 0.019617430865764618, -0.036515165120363235, 0.047161318361759186, 0.039339061826467514, -0.04384247958660126, 0.03464863449335098, -0.020090915262699127, 0.027043508365750313, -0.01649433746933937, -0.007724069990217686, 0.05634983628988266, -0.03974243998527527, -0.04951758682727814, -0.04062066227197647, -0.017978452146053314, -0.004216942470520735, 0.029978856444358826, 0.0027452788781374693, 0.05171073600649834, -0.03693455085158348, 0.03972669690847397, 0.011404148302972317, 0.07179079204797745, -0.002264635404571891, -0.003507201327010989, 0.04241082817316055, 0.017765678465366364, 0.03823351487517357, -0.08390426635742188, -0.004225952085107565, -0.009756180457770824, 0.02606268599629402, 0.06277351081371307, -0.023304065689444542, 0.049199219793081284, -0.002671571681275964, -0.013634375296533108, -0.0025020770262926817, 0.03514866530895233, -0.0020617591217160225, -0.015107785351574421, 0.042036835104227066, -0.01951310597360134, -0.011088951490819454, -0.007836413569748402, 0.034802235662937164, 0.07545848190784454, 0.04145060479640961, -0.02459525503218174, 0.02506747655570507, -0.026237908750772476, 0.03937172889709473, -0.006236416753381491, -0.0336720235645771, -0.021859942004084587, 0.012673255056142807, 0.0030825058929622173, 0.027499234303832054, -0.054763585329055786, -0.03048713319003582, 0.024357464164495468, -0.0017974022775888443, 0.06599190086126328, 0.0015772728947922587, 0.0147255165502429, -0.023215115070343018, 0.011506089009344578, -0.06191321462392807, 0.022826768457889557, 0.04052690789103508, 0.004623465705662966, -0.006628403440117836, -0.01269544754177332, 0.034279100596904755, 0.04625597596168518, 0.004088282119482756, 0.06202462315559387, 0.00025549696874804795, 0.0684996023774147, -0.010955297388136387, -0.024288302287459373, -0.061097223311662674, -0.02413800358772278, -0.04500824213027954, -0.019754888489842415, -0.0027693132869899273, -0.00827124435454607, -0.010693607851862907, 0.03133457154035568, 0.03497260436415672, -0.020815225318074226, -0.000001405068474014115, 0.05384198576211929, -0.04190637916326523, -0.0517507828772068, 0.029383733868598938, 0.03350091725587845, -0.0020361070055514574, -0.029485642910003662, -0.03874989598989487, 0.01752200350165367, 0.0020889700390398502, -0.0163554884493351, -0.001381590380333364, 0.04991260915994644, -0.03927694633603096, 0.020643828436732292, 0.015377487987279892, -0.04256264492869377, -0.015273754484951496, -0.041571829468011856, 0.04105086252093315, -0.015807118266820908, 0.009391111321747303, -0.006780842784792185, -0.03199080005288124, -0.02134973369538784, -0.02250664308667183, 0.05099516361951828, 0.0067907641641795635, 0.02741532400250435, 0.026236113160848618, -0.012710126116871834, -0.05793893337249756, -0.06247280538082123, -0.019450144842267036, -0.019838543608784676, 0.026810167357325554, -0.0018905765609815717, 0.03721611201763153, -0.021336844190955162, -0.011354614980518818, -0.019485237076878548, -0.013762528076767921, -0.031064661219716072, 0.023058481514453888, -0.003966116346418858, 0.020370760932564735, -0.027714211493730545, 0.004633791744709015, -0.012281916104257107, 0.010166747495532036, 0.026821669191122055, -0.00708649680018425, -0.02383292466402054, -0.02570604532957077, -0.004188372753560543, 0.011190323159098625, -0.031241852790117264, 0.013996271416544914, -0.009820792824029922, 0.01971397176384926, -0.05167777091264725, -0.012152022682130337, -0.04256819561123848, 0.04440354183316231, -0.049114082008600235, 0.012980837374925613, -0.03339800983667374, 0.002506460528820753, 0.02279856987297535, 0.020768677815794945, 0.024846909567713737, -0.012560740113258362, 0.01858542114496231, 0.01671740971505642, 0.04065380245447159, -0.03129289299249649, 0.006946345325559378, 0.014346793293952942, 0.004396429285407066, 0.023823628202080727, -0.03898963704705238, -0.022350963205099106, 0.05523480102419853, -0.017814984545111656, -0.015707936137914658, -0.02656468190252781, 0.036105506122112274, 0.008027084171772003, -0.007549888454377651, -0.021673550829291344, 0.027894597500562668, 0.028200063854455948, 0.0016352321254089475, 0.013247891329228878, -0.001764147193171084, 0.010093164630234241, 0.02054821141064167, 0.006249359808862209, -0.0140160471200943, 0.04180027171969414, 0.0320538654923439, 0.0352993942797184, 0.008207122795283794, 0.027693169191479683, 0.027299396693706512, 0.02043171413242817, 0.03403473272919655, -0.0025736482348293066, -0.08168080449104309, 0.021411610767245293, 0.03537017107009888, 0.004000645596534014, -0.019092999398708344, -0.03227653354406357, 0.008133566938340664, 0.011434727348387241, -0.04336946830153465, -0.03564007580280304, 0.020603148266673088, 0.004271865356713533, 0.021586529910564423, 0.06120999529957771, -0.016383785754442215, 0.05036919564008713, 0.023590590804815292, 0.006100108847022057, 0.010686689987778664, 0.032814960926771164 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
Broadcasting the stream Note: there are multiple tools you can use to create a video stream. The AI WebTV currently uses FFmpeg to read a playlist made of mp4 videos files and m4a audio files. Here is an example of creating such a playlist: typescript import { promises as fs } from "fs" import path from "path" const allFiles = await fs.readdir("** PATH TO VIDEO FOLDER **") const allVideos = allFiles .map(file => path.join(dir, file)) .filter(filePath => filePath.endsWith('.mp4')) let playlist = 'ffconcat version 1.0\n' allFilePaths.forEach(filePath => { playlist += `file '${filePath}'\n` }) await fs.promises.writeFile("playlist.txt", playlist) This will generate the following playlist content: bash ffconcat version 1.0 file 'video1.mp4' file 'video2.mp4' ... FFmpeg is then used again to read this playlist and send a FLV stream to a RTMP server. FLV is an old format but still popular in the world of real-time streaming due to its low latency. bash ffmpeg -y -nostdin \ -re \ -f concat \ -safe 0 -i channel_random.txt -stream_loop -1 \ -loglevel error \ -c:v libx264 -preset veryfast -tune zerolatency \ -shortest \ -f flv rtmp://<SERVER> There are many different configuration options for FFmpeg, for more information in the official documentation. For the RTMP server, you can find open-source implementations on GitHub, such as the NGINX-RTMP module. The AI WebTV itself uses node-media-server. 💡 You can also directly stream to one of the Twitch RTMP entrypoints. Check out the Twitch documentation for more details. # Observations and examples Here are some examples of the generated content. The first thing we notice is that applying the second pass of Zeroscope XL significantly improves the quality of the image. The impact of frame interpolation is also clearly visible.
[ 0.05527639016509056, -0.06814147531986237, 0.08537883311510086, 0.05431298911571503, 0.056486569344997406, -0.04025297239422798, 0.012011826038360596, 0.035388752818107605, 0.01123356819152832, -0.0839645266532898, -0.06095259636640549, 0.009312016889452934, -0.040156953036785126, 0.03363445773720741, 0.01593059115111828, 0.002770285354927182, 0.03750094771385193, -0.020742464810609818, 0.047881122678518295, 0.02344983071088791, -0.03427775949239731, 0.04160650074481964, 0.043650247156620026, 0.051892802119255066, -0.018830643966794014, -0.007377571426331997, -0.0013247698079794645, 0.02209712192416191, -0.05125432834029198, -0.02425745688378811, -0.06207987293601036, -0.00040387583430856466, 0.028788024559617043, 0.0022521379869431257, 0.031045928597450256, 0.05322422459721565, 0.04563186690211296, 0.10195384919643402, 0.01690235547721386, -0.013398711569607258, -0.028160488232970238, 0.004322404507547617, -0.04716644808650017, 0.02481658011674881, -0.08641276508569717, -0.011382345110177994, -0.13864360749721527, 0.09140118211507797, -0.033090073615312576, 0.024279531091451645, -0.04064299911260605, 0.04428543522953987, 0.0015902164159342647, 0.03794796019792557, 0.016428004950284958, 0.04818955063819885, 0.02073073759675026, -0.07786263525485992, -0.07634320855140686, 0.0976887121796608, 0.09958896785974503, -0.011018685065209866, -0.004816255532205105, 0.0089064696803689, 0.020243510603904724, 0.04285191372036934, 0.01402192935347557, 0.05330478399991989, 0.02282768487930298, -0.04590606689453125, 0.00265541672706604, 0.04649338126182556, -0.02834140509366989, -0.02898329496383667, 0.006368561182171106, -0.08913613855838776, -0.02672610990703106, 0.03491116687655449, 0.08118556439876556, 0.04279560223221779, 0.04938079044222832, 0.02241968736052513, -0.01602700538933277, 0.08312779664993286, -0.031601037830114365, -0.01223170105367899, 0.0821932703256607, 0.06754777580499649, -0.07582705467939377, 0.05155399814248085, -0.019258320331573486, -0.061658523976802826, -0.013904141262173653, 0.04467344656586647, 0.08563283830881119, -0.017411068081855774, -0.04696512594819069, 0.033093150705099106, 0.02233465574681759, 0.03558031842112541, 0.005484935827553272, -0.03607998415827751, 0.03831276297569275, -0.021321609616279602, -0.0042044371366500854, 0.06987769156694412, -0.03161050006747246, -0.06723762303590775, -0.034757860004901886, 0.0004591488977894187, 0.015673860907554626, 0.12252026051282883, 0.024827823042869568, 0.0008479556418024004, -0.06623652577400208, -0.0026278402656316757, -0.07314661145210266, -0.007063100580126047, -0.021408231928944588, 0.023189881816506386, 0.02183528058230877, 0.04972974210977554, 0.03220658376812935, 0.028223346918821335, -0.030566327273845673, -0.005270806606858969, 0.06618676334619522, 0.01170620322227478, 0.0016915872693061829, -0.054379966109991074, 0.07616336643695831, 0.04232018068432808, 0.03252552077174187, 0.055995434522628784, 0.016500189900398254, -0.013625468127429485, -0.008108093403279781, -0.09978411346673965, 0.016558444127440453, 0.03423367068171501, -0.050018589943647385, 0.05215337872505188, 0.03165928274393082, 0.026010975241661072, 0.03583071753382683, 0.00527442991733551, -0.07865212112665176, -0.028795408084988594, 0.01351195015013218, 0.02979518473148346, -0.08793613314628601, 0.06188121438026428, 0.0064961607567965984, -0.06838111579418182, -0.08198282867670059, 0.060867778956890106, 0.10117840021848679, -0.02321549504995346, -0.06450969725847244, 0.029892228543758392, 0.03152289241552353, 0.04304449260234833, -0.03027266636490822, -0.03493786230683327, -0.07043542712926865, -0.03419799357652664, -0.006165697705000639, 0.028690144419670105, 0.004648974630981684, -0.006233744788914919, -0.05470588430762291, 0.044668909162282944, 0.0031787885818630457, 0.006394552998244762, 0.050994209945201874, 0.0016920010093599558, 0.052223384380340576, 0.04394488409161568, 0.027827346697449684, -0.06639991700649261, -0.02338727004826069, 0.024064017459750175, -0.004120509140193462, 0.019912272691726685, 0.010098588652908802, -0.0399562306702137, 0.024441534653306007, 0.026639334857463837, 0.022396890446543694, 0.010270665399730206, 0.01647503487765789, -0.05158616602420807, 0.022325601428747177, -0.004301243461668491, -0.02542629837989807, -0.04799586161971092, -0.022115962579846382, 0.07727883011102676, 0.04050896316766739, 0.07341846078634262, -0.0026873471215367317, 0.0027833841741085052, 0.027899697422981262, -0.018134495243430138, -0.07355155050754547, 0.00396751519292593, 0.01753539778292179, -0.031311701983213425, 0.01059227716177702, -0.025066401809453964, -0.012217511422932148, -0.11582577228546143, 0.06762991100549698, -0.07290168851613998, -0.011472535319626331, -0.06119392812252045, -0.04533529654145241, -0.051840487867593765, -0.05676492676138878, -0.002649882575497031, 0.07923837751150131, -0.09141024202108383, 0.0801781415939331, 0.010587387718260288, -0.025996671989560127, 0.032858796417713165, 0.009509826079010963, 0.016580993309617043, 0.0938759371638298, -0.1074472963809967, -0.020902836695313454, 0.00975433737039566, -0.06078139692544937, 0.02633184939622879, -0.03829219192266464, 0.04638193920254707, 0.044881124049425125, -0.013067065738141537, -0.032260745763778687, -0.03310125321149826, 0.09506890922784805, 0.04995464161038399, -0.030895108357071877, -0.03312753513455391, -0.024497052654623985, 0.0043327235616743565, 0.05127936974167824, 0.03027656488120556, 0.02993154153227806, -0.01774130016565323, -0.04474445432424545, -0.038215525448322296, -0.042594537138938904, -0.08381153643131256, 0.024780577048659325, 0.04656894877552986, 0.00738519849255681, -0.02604086324572563, -0.01133519597351551, 0.026482021436095238, -0.014004060067236423, 0.0022875634022057056, 0.013684100471436977, -0.02804275043308735, -0.002687877044081688, -0.0239137951284647, 0.01811562478542328, 0.01161056850105524, -0.014002496376633644, 0.0016007062513381243, 0.04443565756082535, 0.02100500650703907, 0.009313310496509075, 0.022894274443387985, -0.01786751113831997, 0.05013160780072212, 0.012540635652840137, -0.012079388834536076, 0.00030756474006921053, -0.031109673902392387, -0.0034334873780608177, -0.03373805060982704, 0.04433304816484451, 0.032238688319921494, -0.014601136557757854, 0.017473621293902397, -0.017636096104979515, -0.0036598865408450365, -0.012288724072277546, 0.03709839656949043, 0.021116208285093307, -0.009855957701802254, 0.023601703345775604, -0.04157211259007454, -0.012880036607384682, -0.023486483842134476, 0.018870892003178596, -0.02348288707435131, -0.021187862381339073, -0.014179888181388378, -0.04601340740919113, 0.02317490056157112, -0.032304901629686356, -0.03805262967944145, -0.007966514676809311, -0.003311848035082221, 0.0014106587041169405, 0.006739411968737841, -0.09617460519075394, -0.018641630187630653, 0.013502318412065506, -0.008123333565890789, 0.03678764030337334, -0.040765441954135895, 0.02892579324543476, -0.014592727646231651, -0.0702429786324501, 0.04511851817369461, -0.005240235943347216, 0.032407235354185104, -0.025508292019367218, -0.0026156597305089235, 0.005585148464888334, -0.02568858489394188, -0.00795596744865179, 0.007986819371581078, -0.00020952377235516906, 0.0029210783541202545, -0.01653943955898285, 0.017922645434737206, 0.04464066028594971, -0.04732312634587288, -0.019308794289827347, 0.023881375789642334, 0.03294999152421951, 0.04651130363345146, 0.014775406569242477, 0.00185945606790483, -0.032468583434820175, -0.047303881496191025, 0.008907786570489407, 0.017252778634428978, -0.042107611894607544, -0.019315281882882118, 0.01597221940755844, -0.023835789412260056, -0.017185376957058907, -0.001041780924424529, 0.007522637490183115, -0.01450402196496725, 0.03044336661696434, -0.029730595648288727, -0.008845427073538303, 0.010048986412584782, 0.0647374764084816, 0.0219807680696249, 0.028360525146126747, -0.07608186453580856, 0.021066518500447273, 0.022871576249599457, 0.024503694847226143, 0.04025082290172577, -0.023415224626660347, 0.03459695726633072, 0.004471722058951855, 0.04774818196892738, 0.05054250732064247, -0.03247322142124176, -0.027436312288045883, 0.00790745671838522, -0.023771099746227264, -0.014195973984897137, 0.010895400308072567, 0.07129325717687607, 0.018324442207813263, 0.0028097296599298716, 0.05923932045698166, 0.030427681282162666, 0.0209351759403944, -0.017603838816285133, 0.08499026298522949, 0.007349370047450066, -0.01323619019240141, 0.019431710243225098, 0.011133122257888317, 0.0228471290320158, 0.03931010887026787, 0.020913945510983467, 0.011142833158373833, 0.027300098910927773, -0.0032680074218660593, 0.00015083343896549195, -0.004904070869088173, 0.027949145063757896, 0.03888249769806862, -0.02857348881661892, 0.0007580785895697773, 0.01964621990919113, 0.010016531683504581, -0.06124154478311539, 0.054243117570877075, -0.023971199989318848, -0.009555226191878319, -0.0352347232401371, 0.017895551398396492, -0.017773684114217758, -0.013768787495791912, 0.011568550951778889, 0.03459048643708229, 0.03019481524825096, 0.0030120571609586477, 0.0075063141994178295, 0.0010867755627259612, -0.008039203472435474, -0.0129118412733078, 0.028942497447133064, -0.0006916170241311193, -0.0030995274428278208, 0.014069318771362305, 0.030405931174755096, 0.0043111140839755535, 0.05811365321278572, 0.009043415077030659, 0.02596077136695385, -0.01376386545598507, -0.006135934963822365, -0.0236770361661911, 0.004784877877682447, -0.041661862283945084, -0.005684183910489082, 0.01780351810157299, 0.024501733481884003, -0.014255376532673836, -0.010250432416796684, 0.040602073073387146, 0.007972761057317257, -0.05563432350754738, -0.027284199371933937, 0.021935028955340385, -0.02045852318406105, 0.011314901523292065, -0.003172470023855567, 0.02690678834915161, -0.01759410835802555, 0.022235002368688583, -0.018473992124199867, 0.0314168781042099, -0.07508090138435364, -0.03662915527820587, 0.019348805770277977, 0.0550825409591198, 0.008379416540265083, -0.021778609603643417, 0.03901464119553566, 0.020603084936738014, 0.022140448912978172, 0.003648524172604084, -0.02407899685204029, 0.017923329025506973, 0.01392839103937149, -0.025556422770023346, 0.009420587681233883, 0.05475492402911186, 0.011332949623465538, -0.011486117728054523, 0.0023411158472299576, -0.005228773225098848, 0.04487460106611252, -0.005560984835028648, -0.018847575411200523, -0.014143153093755245, 0.0002997973933815956, 0.0008259325404651463, 0.034647636115550995, 0.018613185733556747, -0.04260474070906639, -0.011772935278713703, 0.014760606922209263, 0.004020647145807743, 0.03798452019691467, 0.0111717963591218, -0.07306791841983795, 0.019925769418478012, 0.017246372997760773, 0.0016590191517025232, 0.0161025021225214, -0.020869428291916847, -0.03261081501841545, 0.011143635958433151, 0.03957778215408325, 0.017207743600010872, -0.04366176947951317, -0.06439648568630219, -0.01891898922622204, 0.05596015229821205, 0.02017597109079361, 0.02004631794989109, 0.04854104667901993, 0.01110110618174076, 0.035806283354759216, -0.0009774973150342703, -0.05202533304691315, 0.03884521499276161, -0.050258487462997437, -0.024643586948513985, -0.018218476325273514, -0.020417451858520508, -0.011405660770833492, 0.06192215532064438, 0.060575757175683975, -0.009693450294435024, 0.0006844770396128297, 0.009913508780300617, -0.023075934499502182, -0.046873994171619415, -0.02601861208677292, -0.01247889269143343, -0.00928105041384697, 0.025699423626065254, -0.007311990950256586, -0.022803867235779762, -0.005725337192416191, -0.049066707491874695, -0.052455637603998184, -0.021446246653795242, -0.023408273234963417, 0.037222154438495636, 0.013456861488521099, -0.0024880641140043736, 0.0016860257601365447, -0.012034391053020954, -0.005786756984889507, -0.05557944253087044, 0.017347050830721855, 0.023274200037121773, 0.002263515256345272, -0.0577920563519001, 0.011246046051383018, 0.06504768878221512, -0.008267764002084732, 0.0049246447160840034, 0.029931332916021347, 0.018027909100055695, 0.012133477255702019, -0.009261544793844223, 0.06946954876184464, 0.021478669717907906, -0.008790431544184685, -0.028544679284095764, -0.014099584892392159, -0.02523588016629219, -0.01024126261472702, -0.02514226734638214, 0.010116183198988438, 0.048585738986730576, -0.02867777645587921, 0.009832195937633514, 0.003983173053711653, 0.03834497556090355, -0.021321376785635948, -0.018543729558587074, -0.03471897169947624, 0.021625017747282982, -0.014294829219579697, 0.05716010555624962, 0.0554504357278347, -0.017920037731528282, 0.003432734403759241, -0.035232070833444595, -0.08867602050304413, -0.015886591747403145, -0.02582048811018467, 0.017963482066988945, 0.018655061721801758, -0.008770330809056759, -0.00633162260055542, 0.0024500752333551645, 0.014544256962835789, 0.0172856654971838, 0.005964997224509716, -0.01514616422355175, -0.023225819692015648, 0.015911774709820747, 0.0050776745192706585, 0.04789971187710762, 0.027363326400518417, -0.029448319226503372, 0.06442999094724655, 0.050202060490846634, -0.0007548615685664117, -0.014882668852806091, -0.020909763872623444, 0.02043982967734337, 0.03736831247806549, 0.0722334086894989, 0.043585412204265594, 0.04077354818582535, 0.0057817609049379826, 0.023996585980057716, -0.009868638589978218, 0.0036467339377850294, 0.0030489489436149597, -0.03393678739666939, 0.03271722048521042, 0.003633995307609439, -0.04973781853914261, 0.004789798986166716, -0.05411361902952194, 0.028001228347420692, -0.013539602980017662, 0.04539583995938301, 0.0015660604694858193, -0.007777471095323563, 0.026178572326898575, 0.00909743644297123, -0.03185513615608215, -0.006509152241051197, 0.008293148130178452, -0.007633423898369074, 0.05812368914484978, 0.01674581691622734, -0.008312471210956573, -0.0015481263399124146, 0.010199536569416523, -0.021235959604382515, 0.024048445746302605, -0.014013306237757206, 0.010247032158076763, -0.015567648224532604, -0.06333721429109573, -0.019175328314304352, -0.024902625009417534, -0.02477218769490719, -0.014945629052817822, 0.003082176437601447, -0.010175216011703014, -0.01080363616347313, -0.015718214213848114, 0.01275260653346777, 0.0032390679698437452, -0.04719489440321922, -0.006870540790259838, -0.04342322796583176, -0.01527219545096159, -0.04142860695719719, 0.025943687185645103, -0.07869128882884979, -0.044638946652412415, -0.0037053946871310472, -0.0015008525224402547, 0.0167164895683527, -0.026137210428714752, -0.014980431646108627, -0.014663738198578358, 0.010104680433869362, -0.0028092621359974146, -0.004894884303212166, -0.008312373422086239, -0.005756143480539322, 0.04239770770072937, 0.0017758007161319256, -0.029002496972680092, 0.0016339289722964168, -0.007663903757929802, 0.03714464232325554, -0.04311598837375641, 0.019759634509682655, -0.019181808456778526, 0.019747909158468246, -0.0068204873241484165, 0.026413606479763985, -0.020178399980068207, -0.05441604182124138, -0.01315369363874197, -0.047697119414806366, -0.0594773069024086, 0.022525999695062637, 0.005155044142156839, 0.008737972006201744, 0.015007666312158108, -0.007150594610720873, -0.00689670629799366, -0.022629477083683014, 0.014054309576749802, -0.004266679752618074, 0.01735055074095726, -0.030795156955718994, -0.031541526317596436, -0.00009042340388987213, 0.018871407955884933, 0.000725366233382374, 0.01003505289554596, -0.05530887842178345, 0.020591117441654205, -0.018375778570771217, 0.03290614113211632, -0.024679865688085556, 0.01505216769874096, -0.04192202910780907, -0.022336408495903015, -0.023426754400134087, -0.0020616662222892046, -0.021554382517933846, -0.022873366251587868, -0.07435594499111176, -0.02854042313992977, 0.004775465931743383, 0.014770341105759144, -0.061312485486269, -0.007522163446992636, 0.014390540309250355, 0.004225545097142458, -0.011685388162732124, -0.01712414249777794, -0.04382208362221718, -0.035290490835905075, -0.0013813860714435577, 0.022493254393339157, 0.04688943549990654, 0.028205441311001778, -0.007197882980108261, -0.006507755722850561, 0.04734323173761368, -0.023991433903574944, 0.03286530077457428, -0.041751712560653687, 0.013195945881307125, 0.02358148992061615, -0.018295157700777054, 0.02352994680404663, 0.011657102033495903, 0.029836663976311684, 0.003903687000274658, 0.002133978297933936, -0.04075471684336662, -0.014454945921897888, -0.024118825793266296, -0.0048058913089334965, -0.06058395653963089, 0.014735538512468338, -0.017059750854969025, 0.01052686758339405, 0.013025694526731968, 0.01663685031235218, -0.016591835767030716, -0.04766690358519554, 0.07247226685285568, -0.00030634604627266526, -0.015317754819989204, 0.007341922260820866, -0.049565091729164124, 0.006320899818092585, -0.011208614334464073, -0.02179308794438839, 0.05953841283917427, -0.020393826067447662, -0.02592448517680168, 0.00858357921242714, -0.03416011109948158, -0.03479534387588501, -0.0038369090761989355, 0.018378889188170433, -0.05023081600666046, 0.08623957633972168, 0.038673095405101776, -0.00013811334792990237, -0.003138747299090028, 0.045095838606357574 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
Failure cases Wrong direction: the model sometimes has trouble with movement and direction. For instance, here the clip seems to be played in reverse. Also the modifier keyword green was not taken into account. Prompt: Movie showing a green pumpkin falling into a bed of nails, slow-mo explosion with chunks flying all over, ambient fog adding to the dramatic lighting, filmed with IMAX camera, 8k ultra high definition, high quality, trending on artstation. Rendering errors on realistic scenes: sometimes we can see artifacts such as moving vertical lines or waves. It is unclear what causes this, but it may be due to the combination of keywords used. Prompt: Film shot of a captivating flight above the Grand Canyon, ledges and plateaus etched in orange and red. Deep shadows contrast with the fiery landscape under the midday sun, shot with DJI Phantom 4 Pro. The camera rotates to capture the vastness, textures and colors, in imax quality. Film grain, cinematic, movie. Text or objects inserted into the image: the model sometimes injects words from the prompt into the scene, such as "IMAX". Mentioning "Canon EOS" or "Drone footage" in the prompt can also make those objects appear in the video. In the following example, we notice the word "llama" inserts a llama but also two occurrences of the word llama in flames. Prompt: Movie scene of a llama acting as a firefighter, in firefighter uniform, dramatically spraying water at roaring flames, amidst a chaotic urban scene, Canon EOS, ambient lighting, high quality, award winning, highly detailed fur, cinematic, trending on artstation. # Recommendations Here are some early recommendations that can be made from the previous observations:
[ 0.025592073798179626, -0.046834006905555725, 0.005015852861106396, 0.05853373184800148, 0.10565021634101868, -0.010289710015058517, -0.008458626456558704, 0.020326172932982445, 0.0043739983811974525, -0.029763009399175644, -0.016419846564531326, 0.013871281407773495, -0.02293749526143074, 0.02739476040005684, 0.02029436081647873, 0.029069818556308746, 0.05114678665995598, 0.0600457526743412, -0.018432721495628357, 0.012843589298427105, 0.0351017490029335, -0.030290165916085243, 0.0087553346529603, -0.0624394565820694, 0.0033479121048003435, -0.09661869704723358, -0.05737973377108574, 0.046284426003694534, -0.07398088276386261, -0.027318470180034637, -0.05613246187567711, -0.051507193595170975, 0.020977351814508438, -0.03216829150915146, -0.03985246643424034, 0.006892019882798195, -0.06679864227771759, 0.07625000178813934, -0.005948051810264587, -0.026929428800940514, 0.005856443662196398, 0.012549051083624363, -0.016214001923799515, -0.05604323372244835, 0.021259846165776253, 0.000550805707462132, -0.13950124382972717, 0.012652999721467495, -0.050689827650785446, 0.004327082075178623, -0.09546355158090591, 0.04618089646100998, -0.017484989017248154, -0.054021768271923065, -0.027597490698099136, 0.006115742493420839, 0.04152848199009895, -0.058841854333877563, 0.08278794586658478, 0.013264838606119156, 0.09548700600862503, -0.030413519591093063, -0.017463693395256996, -0.06105135753750801, 0.011817371472716331, -0.02696163021028042, -0.024566762149333954, 0.006699576508253813, -0.03323996067047119, -0.05386698246002197, 0.017135806381702423, 0.0281020849943161, 0.022509345784783363, -0.025883741676807404, -0.020447133108973503, -0.031587183475494385, 0.07400617003440857, 0.04930880293250084, -0.06334462016820908, 0.013825994916260242, 0.0036450629122555256, -0.024351323023438454, 0.07027767598628998, 0.08353570103645325, -0.04988186061382294, 0.02789202705025673, 0.0984867736697197, 0.0032800822518765926, 0.02228822559118271, 0.048323217779397964, -0.02323700487613678, -0.12087848782539368, -0.024076811969280243, 0.08410418033599854, -0.02798089198768139, -0.03486208990216255, 0.010082452557981014, -0.04352372884750366, 0.013087217696011066, 0.059183795005083084, -0.015779580920934677, -0.02572687529027462, 0.08887352794408798, 0.0058631314896047115, -0.07287972420454025, 0.0012758655939251184, -0.04247691482305527, 0.03297654166817665, -0.02581292763352394, 0.02337939478456974, 0.012588892132043839, 0.051903169602155685, 0.08144079148769379, -0.06040140241384506, -0.05644409731030464, 0.015277836471796036, 0.03925390914082527, 0.016973529011011124, -0.03176049515604973, 0.01799268275499344, 0.04481331259012222, 0.09383846819400787, 0.01018979400396347, -0.014365031383931637, -0.0450124517083168, 0.0834643691778183, 0.06396593898534775, -0.01892697624862194, -0.12009695917367935, -0.04252948611974716, 0.016417620703577995, 0.012529701925814152, -0.05984952300786972, -0.006770578678697348, 0.011741490103304386, -0.11721976101398468, -0.011654994450509548, -0.09088531136512756, 0.0007796110003255308, 0.0004458666662685573, 0.002915574936196208, -0.025623705238103867, 0.0027702641673386097, 0.06013251096010208, 0.04204142838716507, -0.054412420839071274, -0.028175119310617447, -0.009506258182227612, -0.0017235766863450408, 0.014959704130887985, 0.03914463892579079, 0.04668073356151581, -0.03227287158370018, -0.07283119112253189, -0.024183431640267372, 0.03469119966030121, 0.04009811207652092, -0.012262788601219654, -0.03534054011106491, -0.013915940187871456, 0.013846177607774734, 0.06479817628860474, -0.011460666544735432, 0.026439329609274864, 0.022380901500582695, -0.05203324928879738, -0.0037520532496273518, -0.004580110311508179, 0.026571186259388924, -0.024199094623327255, 0.006283460650593042, -0.007616513408720493, 0.08617090433835983, -0.0022569303400814533, -0.056666046380996704, 0.0362720713019371, 0.03555426374077797, 0.025773392990231514, 0.03010527230799198, 0.012323262169957161, -0.013179785571992397, 0.04045569896697998, -0.0526295080780983, -0.0071739149279892445, 0.05490996316075325, -0.09513808786869049, 0.053464651107788086, -0.02534385956823826, -0.03820614889264107, 0.045808371156454086, -0.05745607614517212, 0.0005896918009966612, 0.04671788960695267, -0.010647422634065151, -0.06788496673107147, -0.06247362121939659, -0.035555820912122726, 0.033304840326309204, 0.09646154195070267, 0.060166507959365845, 0.06722669303417206, 0.03557993099093437, 0.04003389924764633, -0.038385845720767975, -0.05266646668314934, 0.07507699728012085, 0.06376659125089645, 0.011259641498327255, 0.025777187198400497, 0.060163289308547974, 0.03604014590382576, -0.0845416784286499, 0.04898497834801674, -0.050526268780231476, 0.04233460873365402, -0.0626218318939209, -0.05243968218564987, -0.06268297880887985, -0.02608870528638363, -0.024945834651589394, 0.04070315882563591, -0.000877445621881634, -0.029052717611193657, -0.014407647773623466, -0.021235112100839615, 0.0090317502617836, 0.0387636199593544, 0.0033658479806035757, 0.03516661003232002, -0.08287282288074493, -0.08672090619802475, -0.03256797045469284, -0.00587493134662509, -0.03372373804450035, 0.020964117720723152, 0.008690299466252327, 0.06443216651678085, 0.016495313495397568, 0.028782419860363007, -0.060843244194984436, 0.019230855628848076, 0.02083796262741089, -0.05306699126958847, 0.030360115692019463, -0.04426698014140129, -0.09558059275150299, 0.07448022812604904, 0.036489278078079224, -0.05395542085170746, 0.02415446937084198, -0.07236582040786743, 0.019668538123369217, -0.07302948087453842, -0.026526175439357758, -0.011304267682135105, 0.01761082001030445, 0.01666940748691559, 0.009090819396078587, -0.04842366650700569, -0.0011086466256529093, 0.040418773889541626, -0.014769111759960651, 0.040788449347019196, -0.05839463695883751, 0.01857123337686062, 0.005892662331461906, 0.006601353641599417, 0.01809682510793209, -0.041710518300533295, 0.006925628986209631, -0.0009567266679368913, -0.018422067165374756, 0.0412091426551342, 0.014230367727577686, -0.01779952272772789, 0.012667042203247547, 0.026973774656653404, 0.019303234294056892, 0.050986673682928085, 0.013823390938341618, 0.007795540150254965, 0.04236749932169914, 0.05066700279712677, 0.012691046111285686, 0.018222613260149956, 0.009301834739744663, 0.021217498928308487, -0.025950225070118904, -0.06044502183794975, 0.024247998371720314, 0.007836876437067986, -0.00863717496395111, -0.030789341777563095, -0.002056189114227891, 0.0027228763792663813, 0.021719597280025482, -0.0016183465486392379, 0.022301997989416122, -0.040783513337373734, -0.02069144882261753, -0.051667120307683945, 0.004139869473874569, -0.02456096187233925, -0.04855222627520561, 0.0019253554055467248, 0.02567734569311142, 0.0044096894562244415, 0.03782656043767929, -0.0941958799958229, -0.01480557769536972, 0.033279240131378174, -0.040696315467357635, -0.04404667392373085, -0.045164503157138824, 0.03194433078169823, 0.022456761449575424, -0.029043355956673622, -0.007412811275571585, -0.00261117285117507, 0.024453701451420784, 0.016763588413596153, 0.027117781341075897, 0.010988195426762104, -0.035145439207553864, -0.010371213778853416, -0.0014246900100260973, 0.005200495012104511, 0.010573683306574821, -0.023254992440342903, 0.07170817255973816, 0.03344283252954483, -0.01679060235619545, -0.018881816416978836, 0.036293577402830124, 0.019244244322180748, -0.005712160840630531, 0.008434285409748554, -0.030943037942051888, -0.013914440758526325, -0.011432493105530739, -0.031127754598855972, 0.04039749875664711, -0.03572448343038559, 0.028686299920082092, -0.01152165699750185, 0.00003370645208633505, 0.019264383241534233, 0.03490746021270752, 0.013405357487499714, 0.037167854607105255, -0.04322619363665581, 0.04541543498635292, -0.003171027172356844, -0.0014686023350805044, -0.012780279852449894, 0.007537636905908585, 0.043652456253767014, -0.00944303534924984, -0.03140465170145035, 0.0009651662549003959, 0.01656370423734188, 0.039309870451688766, 0.024364370852708817, 0.013447653502225876, 0.041088998317718506, -0.00006754014611942694, -0.014736051671206951, -0.06647808104753494, 0.030242154374718666, 0.04861148074269295, -0.010212314315140247, 0.023086167871952057, 0.015874505043029785, 0.00020917174697387964, 0.06095220521092415, 0.016699954867362976, 0.0036713271401822567, 0.04713819921016693, -0.0034019052982330322, -0.00472283223643899, -0.004765251651406288, -0.007651065476238728, 0.007838036864995956, 0.009584838524460793, 0.02786964923143387, 0.026325779035687447, 0.024000180885195732, 0.0165092870593071, -0.002922780578956008, -0.03797553852200508, -0.01246201153844595, 0.003904355224221945, -0.020994117483496666, 0.0141212223097682, 0.025338349863886833, 0.004956829361617565, 0.05598178505897522, 0.01688957028090954, 0.00631155027076602, 0.0065850550308823586, 0.018309112638235092, -0.011920030228793621, 0.007943574339151382, 0.0021507032215595245, 0.023517383262515068, -0.004921323619782925, 0.01582573913037777, 0.01830802485346794, -0.005826590582728386, -0.04524093121290207, -0.00902073085308075, 0.02788420394062996, -0.023090220987796783, 0.004000955726951361, -0.020771410316228867, 0.033265430480241776, -0.011442325077950954, -0.029197756201028824, 0.010438792407512665, -0.011983589269220829, 0.061210837215185165, 0.011137614026665688, 0.00902662891894579, 0.059563226997852325, -0.006317043211311102, 0.03642602264881134, -0.05632110312581062, -0.007107160985469818, -0.05486235022544861, 0.0023616915568709373, -0.02227252908051014, 0.0027145184576511383, 0.026017265394330025, -0.004346703179180622, 0.03308528661727905, 0.01866273768246174, -0.009806951507925987, 0.010662529617547989, -0.014694476500153542, 0.0043305689468979836, 0.0585465207695961, 0.023742640390992165, 0.006645349785685539, -0.028963567689061165, -0.0017772631254047155, -0.0006327297887764871, 0.013276055455207825, -0.03391391411423683, 0.018875742331147194, -0.02303457260131836, 0.026807047426700592, -0.004255978856235743, 0.03469414636492729, -0.05139318108558655, 0.02541196160018444, 0.00838885921984911, 0.043995652347803116, 0.03884250670671463, 0.058252718299627304, 0.02245175838470459, -0.04613425210118294, 0.02635241113603115, -0.022479059174656868, -0.04540249705314636, -0.0008895617793314159, -0.02577441744506359, 0.01870281621813774, 0.05103609338402748, 0.02187524177134037, 0.013418230228126049, -0.06550832837820053, 0.055850736796855927, -0.00958416797220707, 0.01493400800973177, 0.021492403000593185, -0.02606392651796341, 0.013140344060957432, 0.0023273290134966373, 0.017369462177157402, -0.027381576597690582, 0.013964186422526836, -0.011007108725607395, 0.02813480980694294, -0.0637216866016388, 0.026738226413726807, 0.008215824142098427, 0.05066145583987236, 0.03673424571752548, -0.014521582052111626, 0.0015807667514309287, 0.049836717545986176, -0.016296513378620148, -0.011878199875354767, -0.010554004460573196, 0.03240920603275299, 0.015538593754172325, 0.056361209601163864, -0.0018011105712503195, 0.03286655619740486, 0.0020714392885565758, 0.0017698558513075113, 0.011732436716556549, 0.028595542535185814, -0.0083111971616745, -0.027859389781951904, 0.031840503215789795, -0.0049848235212266445, -0.03246293589472771, 0.03902530297636986, 0.04590718820691109, 0.014223981648683548, 0.005453930236399174, 0.009524903260171413, 0.018457559868693352, 0.01128764171153307, 0.02668059803545475, -0.002863529836758971, -0.025097209960222244, 0.007475839927792549, -0.011723403818905354, -0.04461690038442612, -0.01873922161757946, 0.01008997205644846, -0.025378303602337837, -0.029221007600426674, 0.0009010951034724712, 0.04556218907237053, 0.06136045232415199, 0.010361936874687672, 0.028667327016592026, 0.022522222250699997, 0.04763251170516014, -0.007212314289063215, 0.0031472742557525635, 0.05335141718387604, 0.02124113030731678, -0.02308739349246025, 0.02041560597717762, -0.03150321543216705, 0.02091829478740692, 0.011397771537303925, 0.07876711338758469, 0.032980602234601974, 0.03007916733622551, -0.016645213589072227, -0.026340901851654053, 0.014350824989378452, 0.02849336713552475, 0.028650911524891853, 0.0024764311965554953, -0.004385965410619974, 0.03952158987522125, -0.046574484556913376, 0.04773179814219475, 0.00853573065251112, -0.037154506891965866, -0.034707825630903244, 0.01692977175116539, -0.0025301179848611355, 0.003828780958428979, -0.05984030291438103, -0.021974856033921242, 0.012804605066776276, 0.019301101565361023, 0.05673666670918465, 0.024007422849535942, 0.01523189339786768, -0.05084520950913429, 0.01931772194802761, -0.06170902028679848, -0.022705232724547386, 0.015269880183041096, -0.025442007929086685, 0.06928639113903046, 0.025885527953505516, 0.0073194364085793495, -0.01199460867792368, 0.061944086104631424, 0.00014641853340435773, 0.022087134420871735, 0.018952421844005585, -0.029166139662265778, 0.015177391469478607, 0.0005943788564763963, 0.012517767958343029, 0.0015919844154268503, -0.012171738781034946, -0.007452882826328278, -0.013800136744976044, 0.025490611791610718, 0.004779186565428972, -0.01654367335140705, 0.013853248208761215, 0.023451555520296097, 0.10586629807949066, 0.009137636981904507, -0.013814463280141354, -0.006385983899235725, -0.03839597851037979, -0.034409500658512115, -0.05297309160232544, -0.04607782140374184, -0.07863029092550278, 0.005011976230889559, -0.023772135376930237, 0.004356387071311474, -0.0361148938536644, -0.06695161759853363, 0.03921939805150032, -0.044236455112695694, 0.03266714885830879, -0.0009795896476134658, 0.018768135458230972, -0.0028174424078315496, -0.0005041327676735818, -0.012536616064608097, 0.05626896023750305, 0.03778572380542755, -0.008854605257511139, 0.00030379975214600563, -0.03556126356124878, 0.019192557781934738, 0.02110053040087223, 0.009014129638671875, 0.05546301603317261, -0.009762316942214966, 0.0405171699821949, 0.007266751490533352, 0.008291899226605892, -0.05432332679629326, -0.04311680048704147, -0.02897357940673828, -0.04969154670834541, -0.009748172014951706, -0.002530681435018778, -0.0026966193690896034, -0.0004950352595187724, -0.01575402542948723, -0.01618669368326664, -0.011865506879985332, 0.022089244797825813, -0.03914482146501541, -0.04511767625808716, 0.022239932790398598, 0.00831950455904007, -0.007542802020907402, -0.01784147508442402, -0.03071770817041397, -0.011929776519536972, -0.00455918675288558, 0.016796385869383812, 0.0038442462682724, -0.008431480266153812, 0.0030009213369339705, 0.026276828721165657, -0.018526021391153336, -0.010637524537742138, 0.013561059720814228, -0.014039000496268272, -0.017579469829797745, 0.016757050529122353, 0.0004024022491648793, -0.005919818300753832, -0.05304739251732826, -0.02223062701523304, -0.019578594714403152, 0.009142100811004639, -0.007885215803980827, -0.0300473403185606, 0.012979071587324142, 0.025892116129398346, -0.04881540313363075, -0.05734100937843323, -0.03960905596613884, -0.05308596044778824, 0.043740518391132355, -0.020096316933631897, 0.009526871144771576, -0.046250276267528534, -0.005220280960202217, -0.05966153368353844, -0.02925959601998329, -0.01814005710184574, -0.017691928893327713, 0.041758228093385696, -0.006724920589476824, 0.007816734723746777, -0.015462424606084824, 0.03398833051323891, 0.013782874681055546, 0.0473029650747776, 0.007819488644599915, 0.009102894924581051, 0.003437291132286191, 0.031381841748952866, 0.047598063945770264, -0.0399211049079895, 0.06526938080787659, -0.020693175494670868, -0.009502321481704712, -0.04895918443799019, -0.0007472056895494461, -0.04537830501794815, -0.004937801510095596, -0.013477519154548645, 0.024945473298430443, -0.028609108179807663, 0.0034165834076702595, -0.01162981428205967, 0.016715604811906815, 0.06067768111824989, -0.017891686409711838, 0.03657655790448189, -0.03845111280679703, 0.02607777528464794, -0.0019051559502258897, -0.024082832038402557, 0.0038573481142520905, 0.006798974238336086, -0.00920160487294197, -0.05827045068144798, -0.002698085503652692, 0.054113443940877914, -0.029240218922495842, -0.0304946918040514, -0.01929381676018238, 0.0686698779463768, -0.033965565264225006, -0.017218276858329773, -0.03198043629527092, 0.014205834828317165, 0.05350532755255699, 0.014031380414962769, -0.011578303761780262, -0.03080921061336994, -0.0020834533497691154, 0.02995295636355877, -0.048644378781318665, -0.019573327153921127, 0.024795308709144592, 0.0546814501285553, 0.04740536957979202, 0.03649534285068512, -0.006360476370900869, 0.00964776985347271, -0.015572738833725452, 0.03763136640191078, -0.03643590584397316, -0.0006130237597972155, 0.021443558856844902, 0.009974655695259571, 0.01375944446772337, -0.02388877235352993, 0.008741781115531921, 0.02542979083955288, 0.030167793855071068, -0.01619868539273739, -0.03297906368970871, 0.029057485982775688, 0.0046821897849440575, -0.007675447966903448, 0.021273797377943993, -0.045891501009464264, 0.02217843197286129, 0.008338391780853271, 0.007748530711978674, 0.023978549987077713, -0.00673292949795723 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
Post-processing Once an individual take (a video clip) is upscaled, it is then passed to FILM (Frame Interpolation for Large Motion), a frame interpolation algorithm: - Original links: website, source code - Model on Hugging Face: /frame-interpolation-film-style - A Hugging Face Space you can duplicate: video_frame_interpolation by @fffiloni During post-processing, we also add music generated with MusicGen: - Original links: website, source code - Hugging Face Space you can duplicate: MusicGen
[ 0.08343399316072464, -0.0008927664603106678, 0.08376932144165039, -0.06443185359239578, 0.0522647388279438, -0.019990095868706703, -0.02284248173236847, 0.002605562563985586, -0.08623459190130234, -0.020393332466483116, -0.10569929331541061, -0.021320994943380356, -0.030154474079608917, 0.042014725506305695, -0.005270462948828936, -0.023038679733872414, 0.02524390257894993, -0.010392772033810616, 0.05955423042178154, 0.047772057354450226, -0.03209688887000084, -0.0236034132540226, 0.0519685260951519, 0.05521520972251892, -0.024123167619109154, -0.03341370075941086, -0.020326092839241028, 0.012041120789945126, -0.0066509791649878025, -0.004421227611601353, -0.14877262711524963, -0.06728766858577728, -0.009214119985699654, -0.0708041563630104, 0.029642077162861824, -0.00901541393250227, -0.10256031155586243, 0.04537906497716904, -0.012130397371947765, -0.05624144524335861, 0.008391316048800945, -0.024744777008891106, -0.03617335110902786, 0.010349673219025135, 0.0157680194824934, -0.06614501774311066, -0.1486818492412567, 0.060361795127391815, -0.05060269683599472, -0.027454502880573273, -0.06783696264028549, 0.06685385853052139, -0.01980198360979557, 0.014442963525652885, -0.0016078260960057378, -0.02738979272544384, 0.023786844685673714, -0.029254384338855743, 0.046172499656677246, 0.0627719983458519, 0.0618911013007164, -0.039365917444229126, 0.050094541162252426, 0.033906031399965286, 0.027661478146910667, 0.04446960613131523, 0.01867091655731201, 0.010194001719355583, -0.007935086265206337, -0.03740862384438515, 0.03184827044606209, 0.0005601251032203436, 0.04573995992541313, -0.015263542532920837, -0.0058805691078305244, 0.04249380901455879, 0.019581874832510948, 0.017496148124337196, -0.0115456348285079, 0.03383510187268257, 0.017947670072317123, -0.04247962310910225, 0.0518452413380146, 0.0747164711356163, 0.022469529882073402, -0.010700616985559464, 0.028619995340704918, -0.04265189915895462, -0.06562617421150208, 0.02345917373895645, -0.019026802852749825, -0.13090389966964722, -0.037502072751522064, 0.056904226541519165, 0.06312620639801025, 0.005203891545534134, -0.013396177440881729, -0.03851480036973953, 0.05305725708603859, 0.07607096433639526, -0.01367996260523796, -0.08112640678882599, -0.02361249178647995, -0.06479542702436447, -0.03345528244972229, 0.017284715548157692, -0.05042855069041252, -0.051170095801353455, -0.04369013383984566, -0.02167580835521221, 0.036494214087724686, 0.052730582654476166, 0.05267426744103432, 0.024119822308421135, -0.05696834623813629, 0.02409672923386097, -0.0676117092370987, -0.02735072933137417, -0.04126599058508873, 0.07580576837062836, 0.01894306391477585, 0.04662373661994934, 0.03924570605158806, -0.01970652863383293, -0.05348803848028183, 0.06992217153310776, 0.043060701340436935, -0.013676908798515797, -0.031003324314951897, -0.026552628725767136, -0.010898246429860592, 0.010599450208246708, 0.05928590148687363, 0.03264762461185455, 0.053701627999544144, -0.03632616251707077, 0.041518375277519226, -0.10857603698968887, -0.0332898311316967, -0.04444451630115509, 0.04589458182454109, 0.07051915675401688, -0.0333704948425293, -0.016851618885993958, 0.02426093816757202, -0.04171224683523178, -0.057512179017066956, 0.04896625876426697, -0.016704006120562553, 0.00302807311527431, -0.05966276302933693, 0.08520346879959106, -0.02154954895377159, -0.09204891324043274, 0.02589595317840576, 0.054238930344581604, -0.024593627080321312, -0.0694892629981041, -0.02546500414609909, -0.03883978724479675, 0.01640743389725685, 0.0630422905087471, -0.013470591977238655, -0.0502801276743412, 0.027048513293266296, -0.023804260417819023, -0.003920658025890589, 0.054859403520822525, -0.01043800637125969, -0.0011987778125330806, -0.02639724127948284, -0.03408436104655266, 0.043004609644412994, -0.05841376259922981, -0.014988252893090248, 0.061287373304367065, 0.04773518443107605, 0.13461725413799286, -0.038121454417705536, 0.02827836200594902, -0.04627954214811325, 0.01962350122630596, 0.02367808297276497, 0.03368758782744408, 0.036458466202020645, -0.051706042140722275, -0.015541722998023033, 0.010010303929448128, -0.02032408118247986, -0.008962344378232956, -0.04510192573070526, -0.02278425171971321, 0.027286643162369728, -0.037626657634973526, 0.03521153703331947, -0.08776194602251053, -0.015677999705076218, 0.11037338525056839, 0.04572590813040733, 0.0603569820523262, 0.0032226277980953455, -0.056669000536203384, 0.09460131078958511, -0.0014836499467492104, -0.00575201166793704, 0.015711672604084015, 0.08125005662441254, -0.045928481966257095, 0.013375240378081799, 0.0007062021759338677, -0.002268042415380478, -0.09010200202465057, -0.001348298043012619, -0.09359218925237656, 0.005526373162865639, -0.03285744786262512, -0.05823372304439545, -0.04481300711631775, -0.021150199696421623, -0.0005529537447728217, 0.0832434818148613, 0.0017556825187057257, 0.06563929468393326, -0.022661788389086723, -0.030483243986964226, 0.034954916685819626, 0.02729969099164009, 0.08085716515779495, -0.014227400533854961, 0.001868744962848723, -0.008035607635974884, -0.05846602842211723, -0.09831772744655609, 0.0422954261302948, -0.022019175812602043, 0.019028058275580406, 0.08190323412418365, -0.02928156964480877, -0.001758731435984373, -0.06222911924123764, -0.0321662500500679, -0.020452752709388733, -0.00216703861951828, -0.0382942371070385, 0.004728672560304403, -0.020738355815410614, 0.08291599899530411, -0.04661296680569649, -0.03811551630496979, 0.027503063902258873, -0.05483214557170868, 0.08011443167924881, 0.02115187793970108, -0.034804992377758026, -0.014007342979311943, -0.003153586992993951, 0.0539548397064209, -0.022831633687019348, -0.013687186874449253, 0.029754875227808952, 0.012359731830656528, -0.0116883534938097, -0.009775823913514614, -0.015757152810692787, -0.006552157457917929, -0.04774877056479454, -0.011809623800218105, 0.04451002925634384, -0.01671437732875347, 0.047341033816337585, 0.01563500054180622, -0.010508330538868904, 0.008260974660515785, 0.025167014449834824, 0.004514868371188641, -0.002535255393013358, 0.050430066883563995, -0.02241312339901924, 0.03255902975797653, -0.014058519154787064, 0.007038201671093702, -0.010687051340937614, 0.012265831232070923, 0.056287650018930435, 0.04680987820029259, -0.012125936336815357, -0.001139188534580171, -0.012037510052323341, -0.0023841047659516335, 0.013108964078128338, 0.013850952498614788, 0.000767912482842803, 0.006388143170624971, 0.008269418962299824, 0.039837587624788284, -0.011984790675342083, 0.02747243270277977, -0.026297640055418015, -0.020495353266596794, 0.04202914237976074, -0.03539178892970085, 0.017677387222647667, 0.012143182568252087, -0.027010049670934677, -0.01917991414666176, 0.029039505869150162, 0.008166954852640629, 0.00979530904442072, -0.10186217725276947, -0.029837599024176598, 0.01749316044151783, 0.02083728276193142, -0.007012601941823959, -0.024419378489255905, 0.030672043561935425, -0.006724510341882706, -0.01478965487331152, 0.036674365401268005, -0.006450127810239792, -0.007860930636525154, 0.0026299478486180305, 0.023161251097917557, -0.0014822754310443997, -0.05260755121707916, -0.03335999324917793, 0.027266712859272957, -0.015514903701841831, 0.034352343529462814, 0.010662429966032505, 0.014858507551252842, 0.03374169394373894, -0.04564833641052246, -0.0325322188436985, -0.03250466659665108, 0.03403518721461296, -0.019366011023521423, 0.01597103290259838, -0.015676889568567276, -0.025376224890351295, -0.012635795399546623, 0.02126605063676834, -0.023312652483582497, -0.03939640894532204, 0.0011669296072795987, -0.002135427901521325, -0.0068055703304708, 0.027813978493213654, 0.012145305052399635, 0.01491514965891838, -0.0036847274750471115, 0.02032921090722084, 0.041669197380542755, 0.028850136324763298, -0.00034423902980051935, 0.027954690158367157, -0.0037515475414693356, 0.0463256873190403, -0.034601882100105286, -0.03829391673207283, -0.024233782663941383, 0.006031941622495651, 0.05057477578520775, -0.028197890147566795, 0.030538367107510567, -0.0016389100346714258, 0.03129667788743973, 0.04545534402132034, -0.04574069753289223, -0.047471217811107635, 0.006420995574444532, -0.012358621694147587, -0.015310469083487988, -0.019887039437890053, 0.046590447425842285, -0.005749319214373827, 0.01680416241288185, -0.010045803152024746, 0.062366094440221786, 0.04254534840583801, -0.00017384564853273332, -0.008188910782337189, 0.011506426148116589, -0.027341675013303757, 0.009820685721933842, -0.009208472445607185, -0.00234763091430068, 0.022469164803624153, 0.044519659131765366, -0.0074248588643968105, 0.02954823710024357, -0.021470187231898308, -0.01106307189911604, -0.01295399572700262, 0.0034965446684509516, 0.026121338829398155, 0.012027793563902378, 0.026189008727669716, 0.021128224208950996, 0.040806662291288376, -0.06526711583137512, 0.018945949152112007, -0.03361174836754799, -0.006926669739186764, -0.02202567830681801, 0.013292568735778332, 0.03447425737977028, 0.03593911975622177, -0.004392076283693314, 0.03417571261525154, -0.07492861896753311, -0.04913443699479103, -0.03430823236703873, 0.00008141277066897601, 0.002591595286503434, 0.010688165202736855, -0.013660470023751259, -0.010086632333695889, 0.008218921720981598, -0.0341038852930069, -0.027996478602290154, 0.0134144127368927, -0.03753190115094185, 0.049541812390089035, -0.019373416900634766, -0.04006299376487732, -0.050387609750032425, -0.029027612879872322, 0.010529802180826664, 0.005616563372313976, 0.03063155524432659, -0.010828755795955658, -0.007780999410897493, 0.004940183833241463, 0.011484392918646336, 0.005606400780379772, 0.012257381342351437, -0.036004528403282166, -0.025391260161995888, -0.017010251060128212, 0.002034828532487154, 0.05728121101856232, 0.03841059282422066, -0.017556339502334595, 0.029872529208660126, -0.028288519009947777, 0.027887802571058273, 0.037113212049007416, -0.038842249661684036, -0.03479069843888283, 0.01595328375697136, 0.04911629110574722, 0.01619579829275608, 0.022553062066435814, 0.02224918268620968, -0.007568186614662409, -0.005243571475148201, 0.0017836568877100945, -0.000288879731670022, 0.042479008436203, 0.014691347256302834, -0.06044629588723183, -0.004171059466898441, 0.039656154811382294, -0.030743353068828583, -0.020987406373023987, 0.005561752710491419, -0.022681791335344315, 0.03296395391225815, 0.018523268401622772, 0.015371485613286495, -0.06730861216783524, 0.021913116797804832, -0.03835748881101608, -0.029130766168236732, 0.010322967544198036, -0.02994430996477604, 0.016083674505352974, -0.022876201197504997, -0.005728538613766432, -0.0009131623082794249, -0.01706407219171524, -0.04891354590654373, 0.023278923705220222, 0.05870537832379341, 0.08049851655960083, -0.0023612752556800842, -0.026039613410830498, 0.0286635123193264, -0.005137068219482899, -0.0119383679702878, 0.03561701998114586, 0.006781124044209719, -0.03325491026043892, 0.01827973499894142, 0.05004075914621353, 0.053223688155412674, -0.00030223539215512574, 0.03436552733182907, 0.028633832931518555, 0.0018914231332018971, -0.01784398779273033, -0.050612673163414, 0.00034201223752461374, -0.022307194769382477, -0.03800984099507332, -0.014631588943302631, -0.03429117798805237, -0.012537768110632896, 0.025122512131929398, 0.06901422888040543, -0.012909671291708946, 0.015680942684412003, 0.01165524497628212, -0.023475607857108116, -0.02622954733669758, 0.034677788615226746, 0.004105825442820787, 0.0024608783423900604, -0.015417109243571758, -0.02579241804778576, -0.007235870696604252, -0.04066978767514229, -0.03912310674786568, -0.007618534844368696, -0.007514284458011389, -0.006235952023416758, -0.021665215492248535, 0.0434282086789608, 0.009062262251973152, 0.015401659533381462, -0.02438284642994404, 0.00247798184864223, -0.039255984127521515, -0.013347333297133446, -0.013868591748178005, -0.003229508874937892, -0.033045295625925064, 0.008171343244612217, 0.024840282276272774, 0.011083230376243591, 0.019468028098344803, 0.012334871105849743, -0.012664698995649815, 0.03683176264166832, -0.021690670400857925, 0.04267580062150955, 0.02734360657632351, -0.0214223712682724, 0.020286383107304573, -0.00083012820687145, -0.015906844288110733, 0.05601007118821144, -0.01798369735479355, 0.019236385822296143, 0.06735368818044662, 0.01521801296621561, 0.03082100860774517, 0.04380040615797043, 0.041726093739271164, -0.00015772385813761503, 0.00041420492925681174, 0.02308409847319126, -0.014870287850499153, 0.032161448150873184, 0.04088011011481285, -0.010962664149701595, 0.013959183357656002, 0.0077768852934241295, 0.022652124986052513, -0.05183293670415878, 0.03195679560303688, -0.010688499547541142, -0.004655308090150356, 0.014461961574852467, -0.023416370153427124, -0.009454815648496151, 0.01975882239639759, 0.01321557816118002, 0.019830837845802307, 0.06257210671901703, 0.020011523738503456, -0.009472311474382877, -0.025176960974931717, -0.011293292976915836, -0.00010603334521874785, 0.04523783549666405, 0.02268029935657978, -0.0012316869106143713, 0.03404633700847626, 0.04282988980412483, 0.059281714260578156, -0.015536320395767689, 0.05607365071773529, 0.005832090973854065, 0.05956442654132843, 0.05599555745720863, 0.03661279007792473, 0.03285178542137146, -0.016846537590026855, 0.03170501068234444, -0.005831961985677481, -0.02278571017086506, 0.00675680348649621, 0.01745540462434292, 0.03798302635550499, 0.02103027142584324, 0.010553451254963875, -0.03002631850540638, 0.03510770946741104, -0.004701868165284395, 0.02490449883043766, -0.02110936865210533, -0.011533782817423344, 0.007787714246660471, 0.01936103031039238, -0.027931421995162964, 0.016608132049441338, 0.015326038934290409, 0.024727996438741684, 0.06854893267154694, -0.00034348154440522194, 0.03469644859433174, -0.0032766684889793396, 0.007709340658038855, 0.043063513934612274, -0.005369820632040501, 0.011419844813644886, -0.018607530742883682, -0.02309936285018921, -0.04013919085264206, 0.04931697994470596, 0.0024181033950299025, -0.010424241423606873, 0.0036652737762778997, -0.0025896814186125994, -0.004808263853192329, -0.000710109481588006, 0.0010325665352866054, 0.010501517914235592, 0.035071637481451035, -0.017137352377176285, -0.012753484770655632, 0.024552946910262108, -0.01876799948513508, 0.019210895523428917, 0.023697104305028915, -0.0632314532995224, -0.05418557673692703, -0.02672486938536167, 0.016088079661130905, -0.010180490091443062, -0.010395525023341179, 0.006300353445112705, -0.02878679521381855, 0.02968664839863777, -0.010357450693845749, -0.03900708630681038, -0.000055511522077722475, -0.0023905399721115828, -0.003780812956392765, -0.050741858780384064, 0.050911784172058105, 0.02648746781051159, -0.0042930175550282, 0.02039014920592308, -0.056742310523986816, 0.03332333266735077, -0.0037540567573159933, 0.03709449619054794, -0.006805527023971081, 0.03961126506328583, -0.032549381256103516, -0.029174551367759705, -0.0556451641023159, -0.04477781429886818, -0.014815544709563255, 0.03426901623606682, 0.008784810081124306, 0.0004969649016857147, 0.049261391162872314, -0.021802952513098717, -0.04110708087682724, -0.030837934464216232, -0.010568126104772091, 0.08776761591434479, -0.009303243830800056, -0.049460507929325104, 0.009534708224236965, 0.044910725206136703, 0.019014397636055946, 0.01633141189813614, 0.04160267487168312, 0.008543835021555424, 0.006105249747633934, -0.008011093363165855, 0.03444415703415871, -0.025296630337834358, 0.007309453561902046, -0.010146694257855415, -0.00649065338075161, 0.02374197170138359, -0.01222438644617796, -0.043886955827474594, 0.004026741720736027, -0.021426305174827576, 0.00895439088344574, -0.007982883602380753, 0.005660022143274546, -0.007229195907711983, 0.01705729402601719, 0.05485503003001213, 0.035229362547397614, 0.0058168331161141396, 0.014442460611462593, 0.007822146639227867, -0.004545170348137617, 0.032653242349624634, 0.02602328732609749, 0.00492876349017024, -0.010657427832484245, -0.025021502748131752, -0.041698042303323746, 0.020980004221200943, -0.004859433509409428, -0.007167070172727108, -0.007016749586910009, 0.0071663688868284225, -0.08349230140447617, -0.006920947693288326, -0.03783183544874191, 0.01898527517914772, 0.04211793467402458, 0.03962252661585808, -0.0026363173965364695, -0.024283237755298615, -0.012316160835325718, 0.022512339055538177, -0.004868611227720976, 0.0022912989370524883, 0.0106356805190444, 0.009972378611564636, 0.05329424887895584, 0.04642055556178093, 0.0473746694624424, -0.01374488603323698, -0.012172890827059746, 0.052811749279499054, -0.013325505889952183, -0.057122472673654556, -0.011976228095591068, 0.012045164592564106, 0.01742892898619175, -0.021210987120866776, -0.05211951211094856, 0.03157234936952591, -0.026209114119410515, -0.059447962790727615, -0.019291266798973083, 0.014456652104854584, -0.012237248942255974, 0.0024725000839680433, 0.00755362119525671, -0.0064232912845909595, 0.05193299427628517, 0.008584218099713326, 0.03297000750899315, -0.01382607314735651, -0.015616923570632935 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
Simulation of dynamic scenes Something truly fascinating about text-to-video models is their ability to emulate real-life phenomena they have been trained on. We've seen it with large language models and their ability to synthesize convincing content that mimics human responses, but this takes things to a whole new dimension when applied to video. A video model predicts the next frames of a scene, which might include objects in motion such as fluids, people, animals, or vehicles. Today, this emulation isn't perfect, but it will be interesting to evaluate future models (trained on larger or specialized datasets, such as animal locomotion) for their accuracy when reproducing physical phenomena, and also their ability to simulate the behavior of agents. Prompt: Cinematic movie shot of bees energetically buzzing around a flower, sun rays illuminating the scene, captured in 4k IMAX with a soft bokeh background. Prompt: Dynamic footage of a grizzly bear catching a salmon in a rushing river, ambient lighting highlighting the splashing water, low angle, IMAX camera, 4K movie quality, golden hour, film grain. Prompt: Aerial footage of a quiet morning at the coast of California, with waves gently crashing against the rocky shore. A startling sunrise illuminates the coast with vibrant colors, captured beautifully with a DJI Phantom 4 Pro. Colors and textures of the landscape come alive under the soft morning light. Film grain, cinematic, imax, movie 💡 It will be interesting to see these capabilities explored more in the future, for instance by training video models on larger video datasets covering more phenomena.
[ 0.07653322070837021, -0.03437381237745285, 0.01666138879954815, -0.02269483543932438, 0.08476094156503677, -0.030193321406841278, -0.01137908361852169, 0.03412827476859093, -0.0635533556342125, -0.01510061975568533, -0.07684271782636642, 0.021859273314476013, -0.03534049540758133, 0.02150735817849636, 0.0364253968000412, 0.0012890021316707134, 0.012390407733619213, 0.041522059589624405, 0.039185237139463425, -0.032439664006233215, -0.07035935670137405, -0.008832903578877449, 0.028177820146083832, 0.0023745051585137844, -0.03628131374716759, -0.07680924236774445, 0.027782686054706573, 0.06791754812002182, -0.026098240166902542, -0.026865733787417412, -0.1031200960278511, -0.04788989946246147, -0.0340101532638073, -0.0125890439376235, -0.034480735659599304, -0.006848243065178394, -0.13869480788707733, 0.05858859792351723, -0.049812596291303635, -0.06733210384845734, -0.03860930725932121, -0.004664669279009104, -0.012513073161244392, -0.04010025039315224, -0.024584734812378883, -0.028524169698357582, -0.14599135518074036, 0.05582535266876221, -0.05262768268585205, -0.04986367002129555, -0.10128109902143478, 0.09682987630367279, -0.0007578045479021966, -0.0023534144274890423, -0.039779506623744965, 0.07367068529129028, 0.06669213622808456, -0.021065324544906616, 0.09952593594789505, 0.028138797730207443, 0.09028018265962601, 0.019681012257933617, -0.007189286407083273, 0.024981334805488586, -0.01404827181249857, -0.00875754002481699, 0.028872564435005188, 0.05017577111721039, -0.01891174353659153, -0.015229384414851665, 0.0351434051990509, 0.007711762096732855, -0.013916803523898125, -0.00699708703905344, 0.018106628209352493, -0.06991948187351227, 0.017035579308867455, 0.08812099695205688, -0.000735115900170058, -0.02001587301492691, 0.025807445868849754, -0.016853149980306625, 0.07528624683618546, 0.019695037975907326, -0.024846335873007774, 0.010097179561853409, 0.04730642959475517, 0.048778992146253586, -0.04504504054784775, 0.05874542146921158, -0.03143485635519028, -0.10969601571559906, -0.03021273948252201, 0.02773640863597393, 0.009510084986686707, -0.0025356633123010397, -0.040941715240478516, -0.010540289804339409, 0.019504915922880173, 0.04062240943312645, -0.044894251972436905, -0.051813382655382156, 0.08223915845155716, -0.050687525421381, -0.0345793180167675, 0.03717433288693428, -0.07507864385843277, -0.030581938102841377, -0.012509841471910477, 0.06638925522565842, 0.02245732955634594, 0.015712132677435875, 0.09370697289705276, -0.013306955806910992, 0.01048036478459835, 0.018211424350738525, -0.012755130417644978, 0.01043212041258812, -0.041185662150382996, 0.03460967540740967, 0.010169307701289654, 0.04051142558455467, 0.04856094717979431, -0.051807962357997894, -0.05544576421380043, 0.04244036599993706, 0.02534472569823265, -0.03293076157569885, -0.06146872416138649, -0.021604452282190323, 0.018964070826768875, -0.022171804681420326, 0.04347475618124008, -0.01807558536529541, 0.02453421987593174, -0.020598184317350388, -0.057839535176754, -0.11110513657331467, -0.03458563983440399, 0.009126906283199787, -0.01775161363184452, -0.04866979271173477, 0.07062698900699615, 0.04361996054649353, 0.05908818915486336, -0.06634651124477386, 0.011266044341027737, 0.031524937599897385, 0.0026602186262607574, -0.01096007414162159, -0.0676506757736206, 0.06872652471065521, -0.005571211222559214, -0.09886027872562408, -0.0033722994849085808, 0.05622813478112221, 0.03057592734694481, -0.0034286475274711847, -0.01788809709250927, -0.030106712132692337, 0.021494505926966667, 0.09031704068183899, -0.026570219546556473, 0.015152680687606335, -0.008463540114462376, -0.017841974273324013, -0.04874319210648537, 0.012806126847863197, 0.0017663507023826241, -0.01615179516375065, -0.01831967756152153, 0.000831450626719743, 0.016954343765974045, 0.026702428236603737, -0.038315970450639725, 0.019245430827140808, 0.028712626546621323, 0.05716686323285103, -0.005232986994087696, 0.028741881251335144, -0.01855962909758091, -0.005151081830263138, 0.005193864461034536, -0.010324160568416119, 0.06713864952325821, -0.15236781537532806, 0.030566520988941193, -0.03446681424975395, -0.02435098960995674, -0.050056472420692444, -0.001903838594444096, 0.015523480251431465, 0.04559684172272682, -0.018532993271946907, -0.00027740406221710145, -0.09196636825799942, -0.028953202068805695, 0.06284935027360916, 0.07036227732896805, 0.12001504749059677, 0.036515604704618454, 0.006899876985698938, 0.018291376531124115, -0.06849963963031769, 0.012862707488238811, -0.02295449748635292, 0.06841488182544708, 0.03936581686139107, 0.021047763526439667, -0.006966347806155682, -0.015417657792568207, -0.04304645210504532, 0.049083858728408813, -0.049279291182756424, -0.01495665404945612, -0.02538454532623291, -0.06460162997245789, -0.015366635285317898, -0.06108837574720383, -0.016080128028988838, 0.0956636518239975, 0.0636662095785141, -0.015260804444551468, -0.06212948262691498, 0.00357835297472775, 0.00063684256747365, 0.04284678399562836, 0.020707163959741592, 0.04846855252981186, -0.07088996469974518, -0.026231816038489342, -0.004009551834315062, -0.03290575370192528, -0.07180536538362503, -0.049969907850027084, 0.03182293102145195, 0.038593269884586334, 0.020550163462758064, -0.009573559276759624, -0.04245864972472191, 0.04872662574052811, 0.003898278344422579, -0.038998398929834366, 0.03926709666848183, -0.06439437717199326, -0.09178203344345093, 0.1141645759344101, -0.016215477138757706, -0.0529063455760479, -0.01159380842000246, -0.07372096180915833, 0.04587458446621895, -0.043497417122125626, -0.0594954676926136, 0.01160794124007225, 0.012155537493526936, 0.018812524154782295, -0.0020445941481739283, -0.013365253806114197, 0.010902178473770618, 0.03149833902716637, -0.040703706443309784, 0.05236702412366867, -0.034341420978307724, -0.0198226235806942, -0.020189955830574036, -0.009667313657701015, -0.004787477198988199, -0.04012872651219368, 0.04838373512029648, 0.02171730436384678, -0.016662513837218285, 0.04488297924399376, 0.009743668138980865, 0.030305758118629456, 0.007830310612916946, 0.06294450908899307, -0.03615212067961693, 0.05940372496843338, -0.0032306702341884375, 0.003873612033203244, 0.02802317962050438, 0.05620589107275009, 0.00041014957241714, 0.030841778963804245, -0.022722527384757996, -0.0037270253524184227, 0.012069862335920334, -0.04142884910106659, -0.0001680303830653429, 0.03675437718629837, -0.015351658686995506, 0.017822466790676117, 0.05302300676703453, 0.012551798485219479, -0.012856763787567616, 0.03878600522875786, -0.028174754232168198, -0.03567924350500107, 0.008859094232320786, -0.021036900579929352, 0.008451113477349281, -0.022081725299358368, -0.00881726760417223, 0.009337854571640491, 0.03807733952999115, 0.018851378932595253, 0.050080306828022, -0.09787517786026001, -0.03590155392885208, 0.05084770545363426, -0.036308616399765015, 0.016843179240822792, -0.03442414849996567, 0.02830602414906025, 0.01718468964099884, 0.029824888333678246, 0.03608550876379013, -0.021034367382526398, -0.03325682505965233, -0.030479690060019493, -0.010140468366444111, -0.002792750019580126, -0.0031493580900132656, 0.007382968440651894, 0.01306175161153078, 0.017731696367263794, 0.042751166969537735, -0.03836745396256447, 0.06683462858200073, 0.02305917628109455, -0.0035425592213869095, -0.04910421371459961, -0.02726607955992222, 0.04842072352766991, -0.0023461910896003246, 0.03794243559241295, 0.009049557149410248, 0.003927689976990223, -0.04069356992840767, -0.04081880673766136, 0.06956662982702255, -0.02468930184841156, 0.030579151585698128, 0.0370405837893486, 0.007146570831537247, 0.051070310175418854, 0.02757461741566658, -0.02030046656727791, -0.004389902576804161, -0.024194825440645218, -0.00412160437554121, -0.0201190747320652, -0.007430290803313255, -0.017686251550912857, 0.02050040103495121, 0.03807311877608299, -0.028959419578313828, -0.01924140378832817, 0.01582065224647522, 0.013735548593103886, 0.05365658923983574, 0.004439738113433123, 0.002587659750133753, 0.01818157359957695, 0.039441127330064774, 0.018251243978738785, -0.07170279324054718, 0.0015437129186466336, 0.045449528843164444, -0.0053260670974850655, 0.020122578367590904, -0.013723010197281837, 0.007348078303039074, 0.03209013491868973, 0.031276971101760864, -0.008146422915160656, 0.015737570822238922, 0.0029862329829484224, 0.02550935186445713, -0.019604049623012543, 0.006118973717093468, -0.02208499237895012, 0.0056595453061163425, 0.04597299546003342, 0.00498566497117281, 0.0340099073946476, 0.015925632789731026, 0.022796517238020897, -0.035477519035339355, -0.015911735594272614, 0.006846405100077391, 0.029801607131958008, -0.03968770056962967, 0.02413865551352501, -0.024663623422384262, 0.021397575736045837, 0.002678127493709326, 0.05183577910065651, 0.009331216104328632, -0.0018284189281985164, 0.03893604874610901, 0.034905627369880676, -0.0038433235604315996, 0.012214479967951775, -0.039964161813259125, 0.0390409380197525, -0.02900690771639347, 0.05327172204852104, -0.04989541321992874, -0.016161788254976273, -0.01589566469192505, -0.028124423697590828, -0.028915634378790855, -0.018380701541900635, 0.022849472239613533, -0.023053612560033798, -0.0029935974162071943, -0.007215666119009256, -0.003384337527677417, 0.024260947480797768, 0.027162516489624977, 0.0243209321051836, 0.03648056462407112, -0.02940974570810795, 0.04266127198934555, 0.007614999543875456, 0.02751128003001213, -0.06008598580956459, 0.013064084574580193, -0.0183454230427742, 0.009048113599419594, 0.03320936858654022, -0.023898862302303314, 0.009649662300944328, 0.03467337042093277, -0.01895259879529476, -0.018919510766863823, -0.0076802754774689674, -0.02432265132665634, 0.023742377758026123, 0.047732237726449966, 0.006258923560380936, -0.002124025486409664, -0.01569981500506401, -0.011783516965806484, 0.003454200690612197, -0.008549447171390057, -0.05301475152373314, -0.0011050165630877018, 0.028706099838018417, 0.05459799990057945, -0.004643394611775875, -0.01632208563387394, -0.029698748141527176, 0.007394225802272558, 0.005491382908076048, -0.007030006032437086, 0.000794228573795408, 0.014004259370267391, -0.03886711969971657, 0.025622259825468063, -0.011332499794661999, -0.024609334766864777, -0.017545517534017563, 0.016073985025286674, 0.00038833299186080694, 0.03955530747771263, 0.06151318550109863, 0.029222961515188217, -0.04595888778567314, 0.05406125634908676, -0.032406002283096313, 0.03993647173047066, 0.021879738196730614, -0.03406428545713425, 0.05534907430410385, 0.003059869632124901, -0.012963704764842987, 0.010494587011635303, -0.02388358674943447, -0.013543003238737583, 0.013747374527156353, -0.0051764072850346565, 0.001696890452876687, -0.00027150323148816824, 0.030876845121383667, 0.029503172263503075, -0.010305827483534813, -0.047021832317113876, 0.028167426586151123, -0.004440986085683107, 0.0037209149450063705, 0.0038216030225157738, 0.0609496645629406, 0.029914777725934982, 0.02401236817240715, 0.012025461532175541, 0.010479333810508251, -0.000319478043820709, 0.015774426981806755, -0.044489793479442596, 0.007439769804477692, 0.01431962288916111, -0.018509751185774803, -0.02615491859614849, -0.012349754571914673, -0.01480567641556263, 0.043073322623968124, 0.06089509278535843, -0.015892796218395233, -0.0018601097399368882, -0.003393681487068534, 0.00565444165840745, -0.03097933530807495, -0.009688790887594223, -0.0009742147522047162, -0.008958310820162296, -0.02522851526737213, -0.008962083607912064, -0.02335275150835514, -0.00577926030382514, -0.00544969504699111, -0.00023192408843897283, 0.012184972874820232, -0.021602194756269455, 0.021070657297968864, 0.030255630612373352, -0.05214783176779747, -0.039216216653585434, -0.016050245612859726, -0.014689285308122635, 0.0009921211749315262, -0.00025661641848273575, 0.040476277470588684, 0.020281795412302017, -0.015226812101900578, -0.014386646449565887, 0.02791675738990307, 0.027286257594823837, 0.009072497487068176, 0.047676242887973785, 0.012973136268556118, 0.011594628915190697, -0.053843919187784195, 0.049879733473062515, 0.017260568216443062, -0.03366900235414505, 0.014542979188263416, -0.012583835050463676, -0.014758116565644741, 0.042244166135787964, -0.023872708901762962, 0.0034178844653069973, 0.02481982856988907, -0.006473224610090256, -0.0042865765281021595, 0.034033987671136856, 0.00882724765688181, 0.013031004928052425, -0.013449656777083874, 0.023599665611982346, 0.004934641998261213, 0.03627477586269379, 0.06528610736131668, -0.03196194767951965, 0.015102996490895748, -0.03862571716308594, 0.011982027441263199, -0.02881990186870098, 0.002198317786678672, 0.010123577900230885, -0.03157465532422066, 0.04748428612947464, 0.03633487597107887, 0.00685634883120656, 0.006401240825653076, 0.03520304709672928, 0.004209642764180899, 0.0242982916533947, -0.0013458773028105497, 0.0054182568565011024, -0.008267495781183243, -0.0160411037504673, -0.01546736154705286, 0.016587544232606888, 0.01928791217505932, 0.028120415285229683, 0.008887037634849548, 0.03696553781628609, 0.010920803993940353, -0.025679051876068115, 0.016911398619413376, 0.04470420628786087, 0.04849918931722641, -0.0068505555391311646, 0.0035998320672661066, 0.01966392993927002, -0.0005115575040690601, -0.015209706500172615, 0.01640382781624794, -0.05114006623625755, -0.08666036278009415, 0.016932310536503792, -0.016738850623369217, -0.032708898186683655, -0.055512748658657074, -0.025522466748952866, 0.05038256570696831, 0.006452907808125019, 0.015807712450623512, -0.004841967951506376, 0.023653607815504074, 0.005088634788990021, 0.018596267327666283, -0.04563098028302193, 0.006378186866641045, 0.04472305625677109, 0.022779202088713646, 0.02823384292423725, 0.007421035319566727, 0.0234555434435606, 0.008133221417665482, 0.046026479452848434, 0.06213461607694626, 0.022144179791212082, 0.024770868942141533, 0.0025983175728470087, 0.011557395569980145, -0.030009618028998375, -0.0017540836706757545, -0.08065071702003479, -0.026576213538646698, -0.011977102607488632, -0.007687882985919714, 0.007557972334325314, -0.020381668582558632, 0.00567204225808382, -0.01520182192325592, 0.016094105318188667, 0.019619643688201904, -0.03675699234008789, -0.04596679285168648, 0.02226920798420906, -0.015116078779101372, 0.03185358643531799, -0.05407828837633133, -0.05146903917193413, -0.028412695974111557, 0.018568208441138268, 0.019337961450219154, -0.005443098489195108, -0.013438895344734192, -0.03900600224733353, 0.005481531843543053, -0.006636651698499918, -0.07133035361766815, 0.007459201384335756, -0.012422476895153522, -0.00816268939524889, -0.007362498436123133, 0.005542872939258814, -0.018579084426164627, -0.06473022699356079, -0.015843596309423447, -0.04249092563986778, 0.01693124510347843, -0.025943705812096596, 0.022953569889068604, 0.01350123155862093, 0.05338383838534355, -0.030231108888983727, -0.033024393022060394, -0.0024791143368929625, -0.044473614543676376, 0.04294772073626518, 0.014145983383059502, 0.02401486411690712, -0.02773527055978775, 0.0048075090162456036, -0.04832728952169418, -0.0048333993181586266, -0.02007109858095646, -0.0029796049930155277, 0.041261374950408936, -0.04230715334415436, -0.02423841878771782, -0.000709989748429507, 0.05837064981460571, 0.009373600594699383, 0.03688545897603035, 0.0037873138207942247, 0.023094292730093002, -0.010699938051402569, 0.007993693463504314, 0.034678127616643906, 0.00007109965372364968, 0.007742489688098431, -0.02321530506014824, -0.016077913343906403, -0.04459216818213463, -0.002339123748242855, -0.011163624003529549, 0.03266345337033272, -0.02578767016530037, 0.015577740967273712, -0.007713149301707745, 0.012940372340381145, 0.0005313438596203923, 0.04573448374867439, 0.03454019874334335, -0.011313855648040771, 0.021775010973215103, 0.0069329990074038506, 0.03980989009141922, -0.007461271248757839, -0.01126406341791153, 0.029756538569927216, 0.016972986981272697, -0.01983744651079178, -0.023264186456799507, -0.006168180610984564, -0.005311564542353153, -0.006903836037963629, -0.011514881625771523, -0.02639441378414631, 0.06943820416927338, -0.00659263227134943, -0.02868710085749626, -0.014022047631442547, -0.01633942313492298, 0.03192310780286789, 0.01440615113824606, -0.012325611896812916, -0.01621817983686924, 0.00813223235309124, 0.006901124957948923, -0.0545518584549427, -0.011053120717406273, -0.0076003000140190125, 0.04244330897927284, 0.05151471495628357, 0.039300337433815, 0.022633638232946396, -0.005377891473472118, 0.04886811971664429, 0.08711951225996017, -0.03204796463251114, -0.006125680636614561, -0.006765115540474653, 0.020480435341596603, 0.03166966885328293, -0.02107219770550728, -0.003940700553357601, 0.03671985864639282, -0.04213516786694527, -0.03613203391432762, -0.031082861125469208, 0.0462268702685833, 0.007814949378371239, -0.002913909498602152, 0.04223496839404106, -0.026231560856103897, 0.051478151232004166, 0.0065523190423846245, 0.03109882026910782, -0.018923453986644745, 0.017782900482416153 ]
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
Characters and scene composition Prompt: Photorealistic movie of a llama acting as a programmer, wearing glasses and a hoodie, intensely staring at a screen with lines of code, in a cozy, dimly lit room, Canon EOS, ambient lighting, high details, cinematic, trending on artstation Prompt: 3D rendered animation showing a group of food characters forming a pyramid, with a banana standing triumphantly on top. In a city with cotton candy clouds and chocolate road, Pixar's style, CGI, ambient lighting, direct sunlight, rich color scheme, ultra realistic, cinematic, photorealistic. Prompt: Intimate close-up of a red fox, gazing into the camera with sharp eyes, ambient lighting creating a high contrast silhouette, IMAX camera, high detail, cinematic effect, golden hour, film grain.
[ 0.06153981760144234, 0.043038226664066315, 0.04762892797589302, 0.009570498019456863, 0.03556741401553154, -0.03675437346100807, -0.02049574814736843, 0.0698317438364029, -0.03009837120771408, -0.02855003997683525, -0.1047973781824112, -0.024344801902770996, -0.04083488881587982, 0.0033493374940007925, 0.047539982944726944, 0.016665775328874588, 0.012162896804511547, 0.05446658283472061, 0.0013431160477921367, -0.00732621643692255, -0.05761658027768135, -0.00607850169762969, -0.02556111104786396, -0.03350871428847313, -0.017715290188789368, -0.10152632743120193, -0.009459017775952816, 0.030343541875481606, 0.04461047053337097, 0.036199066787958145, -0.08065104484558105, 0.00012223450175952166, 0.02743358537554741, -0.028324946761131287, 0.023920921608805656, -0.016856303438544273, -0.08722995966672897, 0.06935039162635803, -0.030082618817687035, -0.05204365402460098, 0.000284479494439438, -0.02536042407155037, 0.004126208834350109, -0.008338797837495804, -0.04383286088705063, -0.08943719416856766, -0.07270324230194092, 0.054196763783693314, -0.10459848493337631, 0.017558133229613304, -0.05706794932484627, 0.017823271453380585, 0.0004080121871083975, -0.024310432374477386, 0.018773913383483887, 0.058760274201631546, -0.00942332111299038, -0.013866235502064228, 0.07236326485872269, 0.05463343858718872, 0.08314027637243271, 0.025350691750645638, 0.03295047953724861, -0.014466921798884869, 0.049944646656513214, -0.05051566660404205, -0.03586876019835472, 0.014264322817325592, -0.0013022030470892787, -0.004678156692534685, 0.015119142830371857, 0.07215983420610428, -0.03976884484291077, -0.005809070076793432, -0.030631082132458687, -0.04664093628525734, 0.07520885020494461, 0.02823682688176632, -0.06686118245124817, 0.0026240916922688484, -0.03940686956048012, 0.032192204147577286, 0.0707356333732605, 0.05357646942138672, -0.04646097123622894, 0.03690988942980766, 0.08911216259002686, -0.02895294688642025, 0.00841543823480606, -0.015702972188591957, -0.054977450519800186, -0.09507093578577042, -0.05562489479780197, 0.06199038401246071, -0.06287737190723419, -0.043601829558610916, 0.003589360974729061, -0.04856816306710243, 0.013777858577668667, 0.06328805536031723, -0.05664627254009247, -0.025937004014849663, 0.08291749656200409, -0.01820269785821438, -0.0819685161113739, 0.06057354807853699, -0.04729436710476875, -0.007326188962906599, 0.005050792824476957, 0.005679606925696135, -0.005033216439187527, 0.08101899921894073, 0.055679235607385635, 0.06592673063278198, -0.034172940999269485, -0.028742056339979172, 0.007476621773093939, -0.008160111494362354, -0.08429384976625443, 0.027720455080270767, 0.09809768199920654, -0.012175777927041054, 0.09180957078933716, -0.08654766529798508, -0.03271263837814331, 0.06279962509870529, -0.07028261572122574, -0.028114179149270058, -0.00866776704788208, -0.067715585231781, 0.000003043880951736355, -0.026586398482322693, -0.05548684298992157, -0.014190535061061382, 0.02744259685277939, -0.033604782074689865, -0.09379878640174866, -0.03840313106775284, 0.013598170131444931, -0.02094266004860401, 0.03685666620731354, -0.05131357163190842, 0.04887019097805023, 0.020034564658999443, 0.038737520575523376, -0.0870819166302681, 0.012361087836325169, 0.048497218638658524, -0.0051260823383927345, -0.02342137321829796, -0.045406363904476166, 0.01807694509625435, -0.04590767249464989, -0.07749249786138535, -0.0138702392578125, 0.05375375226140022, 0.025865256786346436, -0.04434600844979286, -0.02752152644097805, -0.0684259682893753, 0.08946844935417175, 0.048452965915203094, -0.0027048469055444, -0.008484339341521263, -0.008427458815276623, -0.0056664664298295975, -0.03585546091198921, -0.04064502567052841, 0.017934605479240417, 0.024040935561060905, 0.03182326257228851, -0.03275945037603378, -0.0200483500957489, -0.005963289178907871, -0.06694552302360535, -0.013796404004096985, 0.0178357046097517, 0.041367676109075546, -0.014751510694622993, 0.008613425306975842, 0.007659711875021458, -0.047010067850351334, -0.01759558729827404, -0.02968304231762886, -0.007151600439101458, -0.029847579076886177, 0.026593433693051338, -0.0070352754555642605, -0.06525178998708725, -0.03833352029323578, -0.03213813155889511, 0.019367560744285583, 0.004332416225224733, -0.021633127704262733, 0.00200945558026433, 0.011755111627280712, -0.05624796077609062, -0.02667110785841942, 0.09798360615968704, -0.010125246830284595, 0.03243185952305794, -0.005068026948720217, 0.07585646957159042, 0.003960750997066498, -0.08007550239562988, -0.006043463945388794, 0.028392937034368515, 0.030060643330216408, 0.08360189944505692, 0.013824960216879845, -0.018742745742201805, -0.031389787793159485, 0.0355551615357399, -0.016392089426517487, 0.04995696619153023, -0.02386462688446045, -0.03762603551149368, -0.03796082362532616, -0.006966129876673222, -0.019454268738627434, 0.04097351059317589, 0.008266850374639034, -0.03401896357536316, 0.005071328487247229, -0.04889843240380287, 0.05893219634890556, 0.029702922329306602, -0.010426495224237442, 0.07553327828645706, -0.04863147437572479, -0.06035782769322395, 0.006856768857687712, -0.011117367073893547, -0.013407635502517223, -0.0185349453240633, 0.01741374284029007, 0.08172398060560226, 0.037622325122356415, 0.04273096099495888, -0.10528190433979034, 0.04515748471021652, 0.009558863937854767, -0.07158822566270828, -0.04000982642173767, -0.09693122655153275, -0.0690959095954895, 0.06774450838565826, 0.027328388765454292, -0.06745348125696182, 0.038355112075805664, -0.024972189217805862, 0.045797210186719894, -0.011526903137564659, 0.06210793927311897, -0.02012672647833824, 0.013956706039607525, 0.014538527466356754, -0.07910901308059692, -0.031680647283792496, 0.02386326901614666, 0.05405673012137413, -0.027625255286693573, 0.03995160758495331, -0.0462377555668354, -0.04361414909362793, -0.014829090796411037, 0.04237589240074158, -0.011553214862942696, -0.05159858986735344, 0.04826575145125389, 0.0037397199776023626, -0.002795660402625799, 0.011703004129230976, 0.01795320026576519, 0.02803725190460682, -0.009062344208359718, 0.03073881007730961, 0.01802479848265648, 0.08186112344264984, -0.0203817468136549, 0.027227060869336128, 0.05289208143949509, 0.04407016560435295, -0.018040167167782784, -0.020688248798251152, -0.03094971552491188, 0.02825799025595188, -0.007360948249697685, -0.010455003939568996, -0.03501227870583534, 0.0442306213080883, 0.05625853314995766, -0.033079177141189575, 0.0034989016130566597, -0.03155212104320526, 0.02016257494688034, -0.036208175122737885, 0.03212980926036835, -0.0218458604067564, -0.004081619903445244, 0.011665298603475094, -0.006673772353678942, -0.015317852608859539, -0.010379593819379807, 0.018277764320373535, 0.014166134409606457, 0.008903111331164837, 0.04462284594774246, -0.07110461592674255, -0.014348795637488365, 0.015939148142933846, -0.035869352519512177, -0.0029958433005958796, -0.024105072021484375, 0.0021626176312565804, -0.0008032027981244028, -0.040679190307855606, 0.01142781600356102, -0.03730655834078789, 0.015304014086723328, -0.043922875076532364, 0.011819194070994854, 0.00805808324366808, 0.011435489170253277, -0.025881066918373108, 0.006732757668942213, 0.03951341286301613, -0.0050058867782354355, -0.039350904524326324, 0.039831068366765976, -0.006606677547097206, -0.01164564210921526, 0.015336079522967339, 0.012546165846288204, 0.027270101010799408, 0.02428133599460125, 0.04489751160144806, 0.006848667282611132, -0.02987457998096943, -0.022005654871463776, -0.00840724352747202, 0.02579403854906559, 0.020810093730688095, 0.00886919628828764, -0.022195100784301758, -0.041542090475559235, 0.05503377318382263, 0.027329832315444946, -0.010313982143998146, -0.007486588321626186, -0.004158169962465763, -0.02574697695672512, 0.011058536358177662, 0.011529998853802681, -0.02364206686615944, -0.0028319419361650944, 0.015102489851415157, -0.03068474493920803, -0.00009049174695974216, 0.04597821831703186, -0.025897955521941185, 0.029067065566778183, 0.0604793056845665, -0.02030361443758011, 0.017910026013851166, 0.03689725697040558, -0.026071811094880104, -0.04604104906320572, -0.0009513571276329458, 0.02803749218583107, 0.003832494141533971, -0.0006125399959273636, 0.016919076442718506, 0.0003026076010428369, 0.03940007463097572, 0.03515687584877014, 0.005205452907830477, 0.045980241149663925, -0.0024479751009494066, -0.034236449748277664, -0.01693144254386425, 0.003852464957162738, -0.044282253831624985, 0.05913804844021797, 0.03877197951078415, 0.008228915743529797, 0.04923268035054207, 0.0018605435034260154, 0.04910184442996979, 0.0006194100715219975, -0.012857028283178806, -0.03465162590146065, 0.001284724217839539, -0.0016860069008544087, -0.021002965047955513, -0.0262451134622097, 0.029736412689089775, -0.006643420550972223, 0.018000973388552666, 0.02918573096394539, 0.028396043926477432, -0.014666881412267685, 0.020953655242919922, -0.0418427437543869, 0.03179415687918663, -0.01924622245132923, -0.021107399836182594, -0.00282269692979753, 0.03389739617705345, -0.020784225314855576, -0.03532976657152176, 0.013369456864893436, -0.034603871405124664, -0.020421218127012253, 0.0043481215834617615, 0.036287590861320496, -0.0004962411476299167, 0.0012607405660673976, -0.0031533152796328068, -0.03538483753800392, 0.08225919306278229, 0.030207442119717598, 0.0301333200186491, 0.06560906767845154, 0.0007144203991629183, -0.006903748493641615, -0.0026498744264245033, -0.004829300567507744, -0.014012961648404598, -0.0070377979427576065, 0.003914368338882923, 0.007081530522555113, 0.01833839900791645, -0.025949591770768166, -0.022405235096812248, -0.02077665738761425, 0.017917029559612274, -0.014540675096213818, -0.04278739541769028, -0.003569828812032938, 0.0006719384691677988, 0.012373896315693855, 0.006397760007530451, -0.01642095297574997, -0.005394449457526207, -0.0033357907086610794, -0.014184240251779556, -0.046285148710012436, 0.030382590368390083, 0.014850812964141369, 0.019329015165567398, 0.06304942816495895, 0.005906650796532631, -0.05862521380186081, 0.017232617363333702, 0.040321074426174164, 0.03475278988480568, 0.003546073567122221, 0.03018510527908802, 0.035911332815885544, -0.04485951364040375, 0.04243268817663193, -0.05653977394104004, -0.013213063590228558, 0.011147409677505493, -0.02517828904092312, -0.005647892132401466, 0.028961988165974617, 0.062439076602458954, 0.0003660537186078727, -0.042924582958221436, 0.02469649910926819, 0.014000766910612583, 0.03450775519013405, 0.00801234319806099, -0.014316948130726814, 0.020946895703673363, 0.0011991369538009167, 0.05106697976589203, 0.06713972985744476, -0.02738088369369507, 0.0015845417510718107, -0.0014742949279025197, -0.04307745024561882, 0.07672576606273651, -0.010048416443169117, -0.007045797072350979, 0.015252786688506603, -0.05193701386451721, -0.02469925954937935, 0.0642370954155922, -0.010114436037838459, 0.04781434312462807, 0.04794733226299286, -0.01919993944466114, -0.001715939724817872, 0.07904259115457535, -0.012575731612741947, 0.029408175498247147, -0.012323571369051933, -0.020033208653330803, 0.02841421402990818, -0.013623162172734737, -0.016189802438020706, -0.03407185524702072, -0.03185608610510826, 0.03579651191830635, -0.03360424563288689, 0.03204221650958061, 0.010266383178532124, -0.012062739580869675, -0.013903728686273098, 0.020711705088615417, 0.006164677441120148, 0.026776740327477455, 0.016737740486860275, 0.04113919287919998, 0.004809210076928139, 0.00939451064914465, 0.0015588278183713555, -0.01668437570333481, -0.024308962747454643, 0.019222309812903404, 0.0010791345266625285, -0.004449936095625162, 0.005089396145194769, 0.0021903379820287228, 0.03337772190570831, -0.033720433712005615, 0.009163031354546547, 0.07510025054216385, 0.056729502975940704, 0.016325833275914192, 0.0005601390148513019, 0.043686266988515854, 0.054490819573402405, -0.03486910089850426, 0.029833374544978142, 0.004602555651217699, -0.001551639405079186, 0.024289174005389214, 0.026968788355588913, -0.0325838066637516, 0.02033354714512825, -0.10457362979650497, 0.001248416374437511, 0.032226815819740295, 0.06111002713441849, 0.005790889263153076, -0.038431279361248016, 0.031489986926317215, 0.049154214560985565, -0.04952778294682503, 0.0303555466234684, 0.020801464095711708, 0.0427580401301384, -0.012373252771794796, -0.011208165436983109, 0.014459971338510513, -0.05875838175415993, -0.05433037877082825, -0.02734125591814518, 0.011649229563772678, -0.029032448306679726, 0.015703599900007248, -0.0014360669301822782, 0.058226101100444794, -0.04197007417678833, 0.011074996553361416, 0.010659176856279373, 0.025040969252586365, 0.022484593093395233, -0.01020423136651516, 0.04313575103878975, 0.009945322759449482, 0.03249479457736015, -0.029648276045918465, -0.0012937947176396847, -0.017101680859923363, 0.02026432566344738, 0.01698479801416397, -0.0005626549245789647, 0.03218361735343933, -0.02999548614025116, -0.022176366299390793, -0.0029983187559992075, 0.020867424085736275, -0.01752731390297413, -0.0012972705299034715, 0.027680810540914536, -0.022581664845347404, -0.03622416406869888, 0.00480375112965703, -0.009049707092344761, 0.06202048063278198, 0.029645996168255806, -0.015774108469486237, 0.0073242466896772385, -0.005846705753356218, 0.01871153526008129, 0.02211080864071846, -0.04826528951525688, -0.02729785442352295, 0.02140543796122074, -0.03231209143996239, 0.015140756033360958, -0.02661271207034588, -0.050950124859809875, 0.036521464586257935, -0.01065780408680439, 0.06662485003471375, -0.017575722187757492, 0.02884453535079956, -0.030774516984820366, 0.004364335909485817, -0.037947747856378555, 0.00016516247706022114, 0.023668715730309486, -0.02029372751712799, 0.004580692853778601, 0.003066363511607051, 0.014606392942368984, 0.03527864068746567, 0.03972763940691948, 0.05250241979956627, -0.009005168452858925, 0.027188166975975037, -0.025636781007051468, 0.00023028822033666074, -0.08253267407417297, -0.013294304721057415, -0.049375757575035095, -0.01737484149634838, 0.008102125488221645, 0.016249658539891243, -0.024979375302791595, 0.019865399226546288, 0.03750696778297424, 0.024468356743454933, 0.005789717193692923, 0.017825068905949593, -0.021590497344732285, -0.01939704827964306, -0.0003542704216670245, -0.018669137731194496, 0.00447434838861227, -0.04260319843888283, -0.03667651489377022, 0.007787160109728575, 0.0010055642342194915, 0.004556362517178059, 0.02185206674039364, 0.021017832681536674, -0.028273150324821472, 0.037645258009433746, 0.011669140309095383, -0.0399906150996685, 0.013272471725940704, 0.006545366253703833, 0.0012375976657494903, 0.0014002792304381728, 0.009345456957817078, 0.001823282684199512, -0.01651681400835514, -0.010252186097204685, 0.030530234798789024, 0.032839369028806686, 0.024829784408211708, -0.007545981090515852, 0.043805357068777084, -0.005567722022533417, -0.022880036383867264, -0.08594026416540146, -0.008511725813150406, -0.05227091535925865, 0.020796366035938263, -0.014128951355814934, -0.008248808793723583, -0.04119723290205002, 0.013934408314526081, -0.025886692106723785, -0.00624729972332716, -0.010498118586838245, 0.05142229422926903, 0.044755518436431885, 0.03284153342247009, -0.028999848291277885, 0.028706680983304977, -0.011238192208111286, -0.009227043017745018, 0.03568123281002045, 0.015149084851145744, -0.03278788924217224, -0.019843781366944313, 0.017444437369704247, -0.009894536808133125, -0.023030228912830353, 0.022123735398054123, 0.011484839022159576, 0.018407730385661125, -0.05680511146783829, -0.016853518784046173, -0.04832044988870621, 0.05260935425758362, -0.02397884428501129, 0.012413742952048779, -0.024403652176260948, -0.034398291260004044, 0.04025235027074814, 0.03163478896021843, 0.034578852355480194, -0.03783439099788666, 0.03340457007288933, -0.012863191775977612, -0.0002468997845426202, -0.0649314895272255, -0.03495655581355095, -0.020639700815081596, -0.009571476839482784, 0.006539658177644014, -0.05110178515315056, -0.00458222022280097, 0.045100584626197815, 0.001670486992225051, -0.03240584209561348, -0.03286103531718254, 0.036883216351270676, -0.009045972488820553, -0.013118417002260685, -0.05813312157988548, 0.016511820256710052, 0.00821869820356369, 0.015320034697651863, -0.0019151739543303847, -0.007878783158957958, 0.009263272397220135, 0.010196278803050518, -0.030810099095106125, -0.009941920638084412, 0.01546186301857233, 0.025270530954003334, 0.03081420622766018, 0.049655407667160034, 0.01256289891898632, 0.040061406791210175, 0.030939320102334023, 0.03331540897488594, 0.03288138285279274, -0.06081734597682953, 0.041877761483192444, 0.048389971256256104, 0.016719523817300797, -0.018664751201868057, -0.040153343230485916, 0.022397026419639587, 0.005232261493802071, -0.037588249891996384, -0.008535529486835003, 0.004753257147967815, -0.01765943132340908, 0.026561906561255455, 0.03776274248957634, -0.004317460115998983, 0.06419213861227036, 0.0313817635178566, 0.024241935461759567, -0.0033145237248390913, 0.02801656350493431 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
Table of Contents - Why Llama 2? - Demo - Inference - With Transformers - With Inference Endpoints - Fine-tuning with PEFT - How to Prompt Llama 2 - Additional Resources - Conclusion
[ 0.07077895104885101, -0.01908523216843605, 0.09438443183898926, 0.04694823548197746, 0.12674349546432495, -0.0012242129305377603, 0.037675078958272934, 0.05749088525772095, -0.006699739024043083, -0.05570307374000549, -0.017880363389849663, 0.026841484010219574, -0.026422813534736633, 0.04054645076394081, 0.0005894855712540448, 0.0034453945700079203, 0.05619657784700394, -0.04631008207798004, 0.0034997467882931232, 0.010726626962423325, 0.0056210849434137344, -0.06874728202819824, 0.04235726594924927, -0.028480123728513718, 0.016294129192829132, -0.026096563786268234, -0.002294618636369705, 0.028285779058933258, -0.05254033952951431, 0.06221792846918106, -0.10228375345468521, -0.04130752757191658, 0.010512327775359154, -0.013729636557400227, -0.008263980969786644, -0.04157819226384163, -0.11804862320423126, 0.05117016285657883, 0.024280941113829613, -0.040538836270570755, -0.018159162253141403, -0.05669671669602394, -0.0486757755279541, 0.007137108128517866, -0.009268607012927532, -0.007836590521037579, -0.20758646726608276, 0.06098129227757454, -0.04023180902004242, 0.0035686097107827663, -0.09162827581167221, 0.0776856318116188, 0.01824822463095188, 0.004105379339307547, 0.04840295389294624, 0.02177337557077408, -0.010839700698852539, -0.06463897973299026, 0.04722222313284874, -0.000907798414118588, 0.02099495381116867, 0.008209165185689926, 0.04050852358341217, 0.010515108704566956, 0.014124738052487373, 0.01163545437157154, -0.0001918722118716687, 0.03040846809744835, -0.08475657552480698, -0.0008185735205188394, 0.0019166412530466914, -0.030221374705433846, -0.04631485044956207, -0.012652098201215267, 0.06383218616247177, -0.051314011216163635, -0.014189223758876324, 0.07246646285057068, 0.031079880893230438, 0.08424460142850876, -0.05938303843140602, 0.024767396971583366, 0.08083709329366684, 0.05742192268371582, 0.020733758807182312, -0.003587310668081045, 0.08939916640520096, 0.007187240291386843, -0.005081908777356148, 0.008610311895608902, -0.021701542660593987, -0.14858095347881317, -0.09327975660562515, 0.045500267297029495, 0.051638051867485046, 0.0018891481449827552, 0.06274336576461792, -0.03645974397659302, 0.005189133808016777, -0.01412123255431652, -0.03710082545876503, -0.02648822031915188, 0.02813570573925972, -0.036315079778432846, -0.05031116306781769, 0.008239460177719593, -0.009761427529156208, -0.09217264503240585, -0.09604056924581528, 0.03197045251727104, -0.02901340276002884, -0.008160479366779327, 0.1151399090886116, 0.05502801388502121, -0.0752166137099266, 0.0278619471937418, -0.005997669417411089, -0.015050174668431282, -0.017930664122104645, -0.010744713246822357, 0.01868927851319313, 0.13349781930446625, 0.07404550164937973, 0.006470092106610537, 0.035885825753211975, 0.024724453687667847, 0.02654617838561535, 0.01077345386147499, -0.04916686192154884, 0.012818415649235249, 0.02800106070935726, -0.0600997619330883, -0.0153740793466568, -0.028437960892915726, -0.026821482926607132, -0.07615934312343597, 0.004871640354394913, -0.09011982381343842, 0.03976738825440407, -0.01933937519788742, -0.0033887545578181744, -0.0001857505994848907, 0.042116910219192505, 0.03052660822868347, 0.05536450073122978, 0.017747636884450912, -0.06715429574251175, 0.03306597098708153, -0.031447168439626694, 0.015064026229083538, -0.016346313059329987, 0.0458221361041069, -0.03556925803422928, -0.07354341447353363, 0.00801687128841877, -0.015191642567515373, 0.02595360018312931, 0.010186568833887577, -0.1061658188700676, -0.023910965770483017, 0.01300105731934309, -0.007565977517515421, 0.009354239329695702, 0.02614905871450901, 0.012654585763812065, -0.009396779350936413, -0.025316400453448296, -0.0034794241655617952, 0.010844999924302101, -0.0218692347407341, -0.00014074129285290837, -0.022865504026412964, 0.06478966772556305, -0.020236168056726456, -0.03935643285512924, 0.06503750383853912, 0.019550712779164314, 0.030904171988368034, 0.021660760045051575, 0.02642492577433586, -0.035474564880132675, 0.04326838254928589, -0.04247041419148445, 0.04585849121212959, 0.004433174151927233, -0.07197201251983643, 0.030191762372851372, -0.05273302644491196, -0.020758122205734253, -0.04897823557257652, -0.053230948746204376, 0.012791737914085388, 0.06307416409254074, 0.01176980696618557, 0.01156197115778923, -0.051124099642038345, -0.07272879779338837, 0.10544656962156296, 0.07295525819063187, 0.05879088491201401, 0.03189578652381897, 0.08173944056034088, 0.03496327996253967, 0.015508787706494331, -0.05962665006518364, 0.03539438173174858, 0.027920255437493324, -0.029134204611182213, -0.005181011278182268, 0.01815641112625599, -0.009623237885534763, -0.06109827756881714, 0.030090993270277977, -0.07576922327280045, 0.038234930485486984, -0.0445341020822525, -0.007790708914399147, -0.0010102372616529465, 0.05489525571465492, -0.07087607681751251, 0.06580980122089386, -0.03450221195816994, -0.007253599353134632, -0.03832506015896797, 0.003200570121407509, 0.06686414033174515, 0.08493330329656601, 0.006650707218796015, 0.06044341251254082, -0.062061626464128494, -0.003204957814887166, -0.05422106757760048, -0.010933916084468365, 0.06581833213567734, 0.012364761903882027, -0.011771026998758316, -0.016014235094189644, -0.062208402901887894, 0.03902139514684677, -0.026243578642606735, 0.049824368208646774, 0.021228719502687454, 0.019968727603554726, 0.0742877945303917, -0.022251615300774574, -0.11225798726081848, 0.0329691506922245, 0.020344328135252, -0.05950557813048363, -0.0041877953335642815, -0.08638261258602142, 0.05412304773926735, 0.0779670998454094, 0.0035120295360684395, 0.04033453390002251, 0.0029633718077093363, -0.02224990725517273, -0.023550383746623993, -0.020659295842051506, 0.033498067408800125, -0.004980722442269325, -0.04239901900291443, 0.01172481756657362, -0.04877232387661934, -0.013181843794882298, -0.03769316151738167, -0.009530813433229923, 0.04517967253923416, -0.04764833301305771, 0.0035608247853815556, 0.009780075401067734, -0.038992732763290405, 0.015935231000185013, 0.009454546496272087, 0.02253994531929493, -0.0216764435172081, 0.05837757885456085, 0.017406070604920387, -0.005354396998882294, -0.03756250813603401, -0.026265030726790428, -0.009725851006805897, 0.036051683127880096, 0.057979293167591095, 0.03890252858400345, -0.015099357813596725, 0.008193429559469223, -0.03948036581277847, -0.03236190229654312, 0.0023273658007383347, 0.011807780712842941, -0.0004284316091798246, 0.018847795203328133, 0.0013290581991896033, -0.014619567431509495, -0.016431087628006935, 0.007751038298010826, 0.029368266463279724, -0.0134177440777421, 0.006695062853395939, 0.007865777239203453, -0.021147890016436577, -0.005820026621222496, -0.01192306075245142, -0.028198059648275375, 0.027989201247692108, 0.01747291348874569, 0.02390381693840027, -0.13099262118339539, -0.052760932594537735, 0.013888176530599594, 0.027827246114611626, -0.022919269278645515, -0.020434388890862465, 0.04635439068078995, -0.06671803444623947, -0.008214636705815792, 0.018323685973882675, 0.008372869342565536, 0.009989027865231037, 0.024958917871117592, -0.02564501017332077, -0.016667162999510765, 0.008128748275339603, 0.006906395778059959, 0.020449766889214516, 0.018574774265289307, -0.022309381514787674, -0.021263018250465393, 0.05024533346295357, -0.007174867205321789, 0.010393450036644936, -0.024688128381967545, 0.029091715812683105, 0.016815494745969772, 0.023653876036405563, 0.026420390233397484, -0.059957895427942276, 0.007345234975218773, -0.007135139312595129, -0.02387739159166813, 0.010920391418039799, -0.0570659339427948, 0.019032536074519157, 0.011245377361774445, -0.026652958244085312, 0.056873880326747894, 0.04688168317079544, 0.04147655516862869, -0.005605174694210291, 0.04138179123401642, -0.012559554539620876, -0.03667711466550827, -0.0034710431937128305, -0.010673937387764454, -0.022763201966881752, 0.06626436114311218, -0.034641459584236145, -0.029726415872573853, 0.013116787187755108, -0.0020645016338676214, 0.0346541553735733, 0.016206014901399612, 0.013046268373727798, 0.005922915879637003, 0.02210989035665989, 0.043087512254714966, -0.010004733689129353, -0.036292124539613724, 0.010104418732225895, -0.01060747355222702, 0.007013818249106407, -0.015074980445206165, 0.05831856280565262, 0.015783803537487984, 0.026595158502459526, 0.012267664074897766, -0.01014835573732853, -0.023522593080997467, 0.03773873299360275, 0.001358227920718491, 0.01391407661139965, -0.00785521138459444, 0.016022207215428352, -0.03226455673575401, -0.006265385542064905, 0.06990873068571091, -0.024359986186027527, 0.012055364437401295, -0.02815018966794014, -0.004803237970918417, -0.020523210987448692, 0.00405588885769248, 0.014883018098771572, 0.0044538602232933044, -0.023522768169641495, -0.0064634415321052074, 0.034855782985687256, -0.00037274142960086465, -0.005182505585253239, 0.024953540414571762, -0.010839702561497688, 0.009890026412904263, 0.04079149290919304, 0.04774339497089386, 0.00921210739761591, 0.0013715189415961504, 0.028053713962435722, 0.05100417882204056, -0.009595243260264397, 0.007235109340399504, 0.04380161315202713, -0.010604976676404476, 0.017630713060498238, -0.023679684847593307, -0.0297476164996624, 0.0016047239769250154, 0.011797089129686356, 0.02429386042058468, -0.018105581402778625, 0.00369581812992692, -0.007622538600116968, -0.021276254206895828, 0.027244679629802704, 0.013762332499027252, -0.00931969378143549, -0.03405999392271042, 0.0029574099462479353, -0.04452236741781235, 0.007721262983977795, 0.016337677836418152, -0.021533548831939697, 0.061858415603637695, -0.00835336558520794, 0.04897942766547203, 0.015599708072841167, 0.005446725990623236, 0.022296587005257607, -0.01304323598742485, -0.032110050320625305, 0.003982889000326395, -0.00437071081250906, 0.023199016228318214, 0.039481353014707565, -0.019930420443415642, 0.03192952647805214, 0.0077810767106711864, -0.05491498112678528, -0.020685501396656036, 0.0004436852177605033, 0.013863850384950638, -0.015328874811530113, 0.03974629193544388, -0.021915221586823463, -0.012172895483672619, -0.012817153707146645, -0.032809533178806305, 0.016270456835627556, 0.03349662572145462, -0.026733268052339554, -0.006902943830937147, 0.026459990069270134, -0.00023354020959232002, -0.012986303307116032, 0.013970810920000076, -0.010479968041181564, 0.0001281854056287557, 0.06500431895256042, -0.023334097117185593, 0.00017209944780915976, -0.07073967158794403, 0.045432768762111664, 0.013056398369371891, -0.003615705529227853, -0.01714622601866722, -0.02996239624917507, -0.00037814921233803034, -0.03754021227359772, 0.008623610250651836, -0.030089350417256355, 0.044170599430799484, -0.017996830865740776, 0.008562780916690826, 0.04324965924024582, 0.04469683766365051, -0.015743495896458626, 0.018711421638727188, 0.009001491591334343, -0.005240777041763067, -0.05280528590083122, 0.052012402564287186, -0.01026084367185831, -0.009152629412710667, -0.00102076749317348, 0.04987094923853874, 0.018522409722208977, 0.025089779868721962, 0.04701472818851471, 0.00030488442280329764, -0.04262543469667435, -0.005116330925375223, -0.0007708811899647117, -0.013720318675041199, 0.014662480913102627, 0.02649763412773609, 0.024609915912151337, -0.006457423325628042, 0.013742447830736637, 0.009406224824488163, 0.015794847160577774, -0.019306814298033714, -0.025233209133148193, 0.021687034517526627, 0.045644283294677734, 0.026282906532287598, -0.01986277475953102, 0.02720911055803299, -0.015740493312478065, -0.0022553708404302597, -0.03260913863778114, -0.010780605487525463, -0.006888058502227068, 0.048738062381744385, -0.060274772346019745, -0.04534180462360382, 0.026952415704727173, 0.023211659863591194, 0.02758028358221054, 0.024742385372519493, -0.033105429261922836, 0.003194261807948351, 0.029310159385204315, 0.039540406316518784, -0.014193307608366013, 0.010798298753798008, 0.01842394657433033, -0.01255938783288002, 0.028357282280921936, 0.02469169721007347, -0.02007831633090973, -0.013022232800722122, 0.0393439456820488, -0.02317892014980316, 0.01915835216641426, -0.07955411821603775, 0.009602782316505909, 0.03926203027367592, 0.015752460807561874, 0.011933029629290104, -0.038134701550006866, -0.03762047737836838, -0.000003454955731285736, -0.027131110429763794, 0.042779773473739624, 0.053423598408699036, -0.002104296814650297, -0.010344479233026505, 0.01934506744146347, 0.004150464665144682, -0.022718265652656555, 0.009185034781694412, 0.0053219664841890335, -0.014647173695266247, 0.015436235815286636, 0.012191182933747768, -0.0013258375693112612, 0.01548889372497797, -0.022038940340280533, 0.034002941101789474, -0.02300099842250347, -0.016934169456362724, 0.018469763919711113, -0.045215118676424026, 0.03594254329800606, 0.029967334121465683, -0.010470754466950893, 0.01232452504336834, 0.013016155920922756, -0.008879071101546288, -0.0037948377430438995, 0.0374259427189827, -0.00431793462485075, 0.028697960078716278, -0.0146733857691288, 0.011205896735191345, 0.03580139949917793, 0.029587313532829285, 0.013377913273870945, 0.0494825504720211, 0.06360474228858948, 0.03268538415431976, 0.014098613522946835, -0.04644087329506874, 0.008590498939156532, 0.05501710623502731, 0.001304526231251657, 0.03174388408660889, 0.025111403316259384, -0.025473622605204582, -0.0013760526198893785, 0.014022662304341793, -0.013413029722869396, -0.051887668669223785, 0.004786258097738028, 0.051943667232990265, 0.004020131658762693, -0.0020727571099996567, -0.059375468641519547, 0.053269874304533005, 0.01364844013005495, 0.004571468103677034, -0.01612684316933155, 0.017825502902269363, -0.03241686895489693, 0.009336086921393871, -0.0004823919152840972, -0.007034544367343187, -0.01712883450090885, -0.025378134101629257, 0.04429063946008682, -0.015653882175683975, 0.016397874802350998, -0.02260488271713257, -0.018301021307706833, 0.005776647012680769, -0.015861958265304565, 0.027542201802134514, 0.020753541961312294, 0.04197505861520767, -0.004248037468641996, 0.018252039328217506, -0.015504906885325909, -0.01615385338664055, -0.06368759274482727, 0.0472278818488121, -0.027082085609436035, 0.003538703080266714, -0.011679677292704582, 0.021995844319462776, 0.05196046084165573, 0.022912317886948586, -0.027477994561195374, -0.028620215132832527, 0.01570989191532135, -0.00998490210622549, -0.0006055671256035566, -0.01608089916408062, -0.005828820634633303, -0.003524178173393011, -0.0036176631692796946, 0.0372563935816288, 0.004772935528308153, -0.01638108305633068, -0.021073905751109123, 0.01714281737804413, 0.009080637246370316, -0.020764410495758057, 0.007893477566540241, 0.02595423348248005, 0.02269637957215309, -0.019694896414875984, 0.015473232604563236, 0.009765999391674995, -0.018946051597595215, 0.00029201540746726096, -0.02850276418030262, -0.025613531470298767, -0.0061090555973351, -0.0004998182994313538, 0.044625259935855865, 0.02468935027718544, -0.02107676863670349, -0.024694858118891716, 0.030726343393325806, -0.027373813092708588, -0.007980198599398136, 0.018196234479546547, 0.002534186700358987, -0.024625757709145546, 0.0033620481844991446, -0.013340641744434834, 0.02008889615535736, -0.01708126626908779, 0.00772525928914547, 0.03718243166804314, -0.013705640099942684, -0.030481193214654922, -0.016354644671082497, 0.06223996728658676, -0.017462125048041344, 0.045313652604818344, 0.010106198489665985, 0.020223524421453476, -0.009041783399879932, 0.00955993589013815, 0.00408676965162158, -0.03405832126736641, 0.014235601760447025, -0.03955963999032974, -0.030568070709705353, -0.03455119580030441, -0.0006896512932144105, -0.014817587099969387, 0.031993407756090164, -0.023462587967514992, -0.03885689377784729, -0.012864972464740276, -0.010502812452614307, -0.04015012085437775, 0.015213153325021267, 0.05503492057323456, 0.02250560000538826, 0.04566557705402374, -0.03537224978208542, -0.008363918401300907, -0.03917204216122627, -0.022207366302609444, 0.024848591536283493, 0.02716940827667713, -0.0025026106741279364, -0.0526183620095253, -0.038832925260066986, 0.009807671420276165, -0.03292032331228256, -0.0597376823425293, -0.02051967941224575, 0.0020098979584872723, -0.0006604001973755658, 0.008684448897838593, -0.020992176607251167, 0.0025188957806676626, 0.013390983454883099, 0.06339812278747559, -0.017871923744678497, 0.0023362503852695227, 0.012116331607103348, -0.01234449539333582, -0.05862032622098923, 0.02053842879831791, -0.003901984076946974, 0.011778795160353184, 0.02204873226583004, 0.0669693574309349, -0.0026996417436748743, -0.030382992699742317, -0.005189161282032728, 0.02615208551287651, -0.0082907909527421, -0.04489824175834656, -0.022977624088525772, 0.023320669308304787, -0.0019359096186235547, -0.048635367304086685, -0.03716760873794556, 0.02166980318725109, 0.00930766761302948, -0.030240481719374657, 0.0006942724576219916, -0.010044287890195847, 0.01483212597668171, -0.0037259680684655905, 0.021078823134303093, -0.0023589059710502625, 0.06299111247062683, 0.033211879432201385, 0.0027936557307839394, -0.017564957961440086, 0.006248386576771736 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
How to Prompt Llama 2 One of the unsung advantages of open-access models is that you have full control over the system prompt in chat applications. This is essential to specify the behavior of your chat assistant –and even imbue it with some personality–, but it's unreachable in models served behind APIs. We're adding this section just a few days after the initial release of Llama 2, as we've had many questions from the community about how to prompt the models and how to change the system prompt. We hope this helps! The prompt template for the first turn looks like this: <s>[INST] <<SYS>> {{ system_prompt }} <</SYS>> {{ user_message }} [/INST] This template follows the model's training procedure, as described in the Llama 2 paper. We can use any system_prompt we want, but it's crucial that the format matches the one used during training. To spell it out in full clarity, this is what is actually sent to the language model when the user enters some text (There's a llama in my garden 😱 What should I do?) in our 13B chat demo to initiate a chat: b <s>[INST] <<SYS>> You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information. <</SYS>> There's a llama in my garden 😱 What should I do? [/INST] As you can see, the instructions between the special <<SYS>> tokens provide context for the model so it knows how we expect it to respond. This works because exactly the same format was used during training with a wide variety of system prompts intended for different tasks. As the conversation progresses, all the interactions between the human and the "bot" are appended to the previous prompt, enclosed between [INST] delimiters. The template used during multi-turn conversations follows this structure (🎩 h/t Arthur Zucker for some final clarifications): b <s>[INST] <<SYS>> {{ system_prompt }} <</SYS>> {{ user_msg_1 }} [/INST] {{ model_answer_1 }} </s><s>[INST] {{ user_msg_2 }} [/INST] The model is stateless and does not "remember" previous fragments of the conversation, we must always supply it with all the context so the conversation can continue. This is the reason why context length is a very important parameter to maximize, as it allows for longer conversations and larger amounts of information to be used.
[ 0.010228540748357773, 0.0027259844355285168, 0.04399621859192848, 0.06195983290672302, 0.08647145330905914, -0.022620398551225662, 0.05711476877331734, 0.029532285407185555, -0.015698760747909546, -0.04146604612469673, -0.07371346652507782, 0.04631972685456276, -0.033173561096191406, 0.03044496662914753, -0.0703282579779625, -0.0003867751220241189, 0.025770869106054306, 0.010073001496493816, 0.0009346278384327888, 0.02413042262196541, -0.009397659450769424, -0.024832598865032196, 0.014971615746617317, -0.08865605294704437, 0.02540162391960621, 0.01404233742505312, 0.02782103605568409, 0.04074673354625702, -0.042299527674913406, -0.013250569812953472, -0.07291557639837265, -0.031244367361068726, 0.013654382899403572, -0.04871540144085884, 0.027427472174167633, 0.0016162844840437174, -0.11236755549907684, 0.0621335431933403, 0.02058299444615841, 0.009814159013330936, -0.021554691717028618, -0.07051946967840195, -0.01241947989910841, 0.0257637370377779, -0.00463585089892149, -0.03555331379175186, -0.16936597228050232, 0.0018345918506383896, -0.015739938244223595, -0.01048948336392641, -0.09879779070615768, 0.047167543321847916, -0.024356292560696602, -0.05533655732870102, 0.029965221881866455, -0.024170344695448875, -0.05166452005505562, 0.0024449764750897884, -0.05427251383662224, 0.010885185562074184, 0.012610907666385174, 0.020245106890797615, 0.019260292872786522, 0.009633463807404041, 0.044555578380823135, 0.0167249608784914, -0.0011188443750143051, 0.02145339734852314, -0.05283239856362343, -0.061511654406785965, -0.001265658182092011, 0.006594919599592686, -0.031578369438648224, -0.06768035143613815, 0.026788704097270966, -0.08757991343736649, 0.010868312790989876, 0.10611683130264282, -0.003942972514778376, 0.03979739919304848, -0.06090866029262543, 0.028199754655361176, 0.06327948719263077, 0.0076524438336491585, -0.0003646900877356529, 0.050918515771627426, 0.07199054211378098, 0.016925223171710968, 0.012509575113654137, -0.0026628398336470127, -0.003995005507022142, -0.10659507662057877, 0.004390510264784098, 0.043946120887994766, 0.05375990271568298, 0.0033940558787435293, -0.02163420431315899, -0.0022228816524147987, -0.04418041557073593, 0.03281162679195404, -0.06557094305753708, -0.03617154806852341, 0.08357810229063034, -0.03010871447622776, -0.09651833027601242, 0.05865546688437462, -0.03267916664481163, -0.05580920726060867, -0.07897413522005081, -0.032242514193058014, -0.002353833755478263, 0.0011018054792657495, 0.09372656792402267, 0.08987148106098175, -0.013016325421631336, 0.02822798304259777, 0.012657425366342068, -0.019677871838212013, -0.01662360318005085, -0.020015506073832512, 0.08617716282606125, 0.03556746244430542, 0.0782911479473114, -0.011084301397204399, 0.043522242456674576, 0.03369787335395813, 0.0409148745238781, 0.016990456730127335, -0.029517540708184242, -0.012577343732118607, 0.023060915991663933, 0.02176259271800518, 0.019108476117253304, -0.004490763880312443, 0.033879343420267105, -0.03254639729857445, 0.03904791176319122, -0.090050108730793, 0.09479286521673203, -0.0295711737126112, 0.027648968622088432, -0.052401792258024216, 0.05965268984436989, 0.02390199340879917, 0.03971852734684944, 0.018490031361579895, -0.06567569077014923, 0.006043154746294022, 0.003995357546955347, -0.021929720416665077, -0.03540080785751343, 0.03093578852713108, -0.0004872417193837464, -0.05651800334453583, 0.008614576421678066, 0.0008320141932927072, -0.003441644599661231, 0.02140907198190689, -0.09000684320926666, -0.022002343088388443, 0.02950275130569935, 0.052405938506126404, -0.04317593574523926, 0.012544316239655018, 0.06428075581789017, -0.009661412797868252, -0.0622701421380043, -0.039733897894620895, 0.06238555535674095, -0.043286316096782684, 0.028991887345910072, -0.03752642124891281, 0.09140672534704208, -0.032666198909282684, 0.04332408308982849, 0.059765011072158813, 0.002104164334014058, -0.02657153829932213, 0.03811085596680641, 0.033295638859272, -0.03471258282661438, 0.030023973435163498, -0.05271679908037186, 0.02819749526679516, 0.04919944703578949, -0.05660185590386391, 0.016527440398931503, -0.11908695101737976, -0.037676773965358734, -0.020477596670389175, 0.008979490026831627, 0.028037849813699722, 0.03566791117191315, 0.07470963150262833, 0.007234988268464804, -0.016407525166869164, -0.06886913627386093, 0.05492798984050751, 0.011119110509753227, 0.10607155412435532, 0.09101653844118118, 0.06922373920679092, 0.028642091900110245, -0.03410307317972183, -0.04562211409211159, 0.054497260600328445, 0.05280072242021561, -0.0649930089712143, -0.030468689277768135, 0.04840091988444328, -0.055837783962488174, -0.07876420021057129, 0.05212942883372307, -0.0043580555357038975, 0.05196754261851311, -0.04437633603811264, 0.03374868258833885, -0.062381066381931305, 0.05692780762910843, 0.032117802649736404, 0.0802990049123764, -0.03975776582956314, 0.007326381281018257, -0.06947564333677292, 0.06544438004493713, 0.038658253848552704, 0.03241948038339615, 0.07459831982851028, 0.09118891507387161, -0.10652748495340347, -0.00596699258312583, -0.004379325080662966, -0.01976810395717621, 0.020953703671693802, -0.01480434276163578, -0.002660101978108287, 0.04289000853896141, -0.027739964425563812, 0.020270591601729393, -0.03173098340630531, 0.05900214985013008, -0.010084185749292374, 0.02534383349120617, 0.030193738639354706, -0.06321118026971817, -0.018761280924081802, 0.026819320395588875, 0.004734821617603302, -0.04705753177404404, 0.07304215431213379, -0.08350134640932083, 0.05131005495786667, 0.060461487621068954, 0.007350199390202761, -0.045142658054828644, 0.009981104172766209, -0.02543090097606182, 0.008771294727921486, -0.04602669179439545, 0.012683003209531307, -0.003714186605066061, -0.011161155067384243, -0.017556915059685707, -0.03315636143088341, -0.015314155258238316, -0.03724813833832741, -0.0027812912594527006, 0.009559095837175846, -0.04199662059545517, 0.0018256185576319695, 0.03682471066713333, -0.02639533206820488, -0.02927657775580883, -0.018605059012770653, -0.014558335766196251, 0.007448259741067886, 0.037100229412317276, 0.01036579255014658, 0.014312292449176311, -0.011756152845919132, -0.004602598957717419, 0.011851366609334946, 0.020539265125989914, 0.062140464782714844, 0.009074785746634007, -0.01593978889286518, 0.040156975388526917, -0.013868024572730064, -0.03872707113623619, -0.00920003093779087, -0.005958476569503546, 0.0033247636165469885, -0.005643990822136402, 0.0340702049434185, -0.009330645203590393, -0.018238553777337074, 0.001193340984173119, 0.04902421683073044, -0.02425330877304077, 0.03658672794699669, 0.02776067703962326, -0.01974663883447647, -0.004430835135281086, 0.004245802294462919, -0.0036759627982974052, 0.011407746933400631, -0.010403764434158802, -0.0014088276075199246, -0.09652440994977951, -0.031664688140153885, 0.005129544995725155, 0.0015883620362728834, -0.02665530890226364, 0.0010283668525516987, 0.056776177138090134, -0.04899271950125694, -0.018108297139406204, 0.022942813113331795, -0.055790163576602936, 0.03993046656250954, -0.03782324865460396, -0.025333745405077934, -0.013748073019087315, -0.01725132204592228, -0.050102781504392624, -0.004118474666029215, 0.03244009613990784, -0.013881852850317955, -0.02904653176665306, 0.05566074326634407, -0.004115595947951078, 0.022873174399137497, -0.024802347645163536, 0.021970443427562714, 0.06813851743936539, 0.013301216997206211, -0.002143417950719595, -0.061192478984594345, 0.013875420205295086, -0.025520332157611847, -0.019043289124965668, -0.011643127538263798, -0.05988461524248123, 0.007650634739547968, 0.009994625113904476, 0.003810023656114936, 0.0482659712433815, 0.035760655999183655, 0.0037408024072647095, 0.014204014092683792, 0.03890137001872063, -0.013720914721488953, -0.01600431278347969, 0.0052938275039196014, -0.052253030240535736, -0.04693102464079857, 0.019874731078743935, -0.01685485988855362, -0.008768393658101559, 0.008846520446240902, -0.008854295127093792, 0.06297768652439117, -0.012140776962041855, 0.029231904074549675, 0.029549965634942055, 0.0489942841231823, 0.0011774470331147313, -0.016444537788629532, -0.011524909175932407, 0.04000084474682808, -0.008636902086436749, 0.04902982339262962, -0.028687668964266777, 0.052186544984579086, 0.03141451254487038, 0.017529545351862907, 0.041717469692230225, 0.02683739736676216, -0.018718045204877853, -0.00045973341912031174, 0.006430154200643301, 0.01477621216326952, -0.0011896872892975807, -0.022573411464691162, -0.06188203766942024, -0.013504145666956902, 0.035714417695999146, -0.011106767691671848, 0.013540719635784626, -0.0009862241568043828, -0.009163353592157364, -0.016282973811030388, -0.013664200901985168, -0.029327036812901497, 0.0810009092092514, -0.012814418412744999, 0.041096031665802, 0.04467524215579033, -0.020765485242009163, -0.029735242947936058, 0.04613671451807022, -0.010161397978663445, 0.008015303872525692, 0.02402378059923649, 0.010069909505546093, -0.011404835619032383, -0.019593538716435432, 0.032533835619688034, 0.04134310781955719, -0.005994872655719519, -0.012404405511915684, 0.032691590487957, 0.001433764467947185, 0.02618182636797428, 0.0008925904403440654, -0.06633123010396957, 0.029241209849715233, 0.02089797519147396, -0.044088490307331085, -0.03680579364299774, 0.0031115885358303785, 0.013941993936896324, -0.0366881787776947, 0.05297323316335678, 0.007923374883830547, -0.009577854536473751, -0.0340617336332798, -0.012212400324642658, -0.06772250682115555, -0.024205373600125313, 0.018332142382860184, 0.006249329540878534, 0.031551387161016464, -0.043497368693351746, 0.04943683370947838, -0.008715901523828506, 0.009817478246986866, 0.006801161915063858, -0.022625483572483063, -0.022424209862947464, -0.023388389497995377, 0.010132214054465294, 0.03210492432117462, 0.029597826302051544, -0.02749544382095337, 0.03189113363623619, -0.016201386228203773, -0.023387499153614044, -0.03391450271010399, -0.002708776853978634, 0.011955205351114273, -0.02966630458831787, 0.03423750400543213, 0.015576504170894623, -0.02734515443444252, 0.017370443791151047, 0.036533329635858536, 0.035777539014816284, 0.024328405037522316, -0.003652102081105113, -0.0052403551526367664, -0.023712407797574997, -0.02505604177713394, -0.0075056953355669975, -0.0041989223100245, -0.0024750290904194117, 0.010936688631772995, 0.04116848111152649, -0.007048274390399456, -0.0018870765343308449, -0.03399014472961426, 0.010084687732160091, 0.03229750692844391, -0.020876988768577576, 0.01788284443318844, -0.02165863662958145, 0.021736852824687958, -0.03491933271288872, -0.01656399853527546, -0.03279319778084755, 0.030538590624928474, -0.028475696220993996, 0.04127265885472298, 0.0039439075626432896, 0.05946846306324005, 0.018139926716685295, -0.0025029012467712164, 0.004915753845125437, -0.03521250933408737, -0.008780527859926224, 0.05187151953577995, -0.01148294098675251, -0.012128027155995369, 0.011113305576145649, 0.027129074558615685, 0.035056933760643005, 0.08083956688642502, 0.026720771566033363, 0.017792969942092896, 0.005067113786935806, 0.006817396730184555, -0.017697475850582123, 0.0151683883741498, 0.025125397369265556, -0.0214246716350317, 0.046103592962026596, -0.002624891698360443, 0.01820361614227295, 0.041524384170770645, 0.03519687429070473, -0.049201514571905136, -0.014866112731397152, 0.01811830699443817, -0.018874989822506905, 0.011371048167347908, -0.023813191801309586, -0.021277593448758125, -0.015498940832912922, -0.007614630274474621, -0.03837459906935692, 0.007803847547620535, -0.009139022789895535, 0.04842410981655121, -0.029775844886898994, -0.029551969841122627, 0.03584058955311775, 0.005891100969165564, 0.054727643728256226, 0.03333697095513344, -0.007712171413004398, -0.013734914362430573, 0.01854592189192772, 0.0032664919272065163, -0.020234398543834686, 0.029301626607775688, 0.021818403154611588, 0.014348124153912067, -0.01864808239042759, 0.052760493010282516, -0.008235733024775982, 0.009839030914008617, 0.06194553151726723, -0.0026621888391673565, 0.03274378553032875, -0.09644417464733124, 0.0007147305877879262, 0.02361528016626835, -0.02453984133899212, 0.006937262136489153, -0.0199746061116457, -0.04275590926408768, -0.008643927052617073, -0.006069103255867958, 0.03834333270788193, 0.011380537413060665, -0.007139469031244516, -0.018314192071557045, -0.004750305786728859, -0.00678110308945179, -0.001638983259908855, -0.0022174622863531113, 0.011722754687070847, -0.00604756036773324, 0.015667488798499107, 0.011963337659835815, 0.009607065469026566, -0.004122213460505009, -0.046190470457077026, 0.005219198297709227, -0.048643339425325394, -0.05034412443637848, 0.025255292654037476, 0.0016980859218165278, 0.03872600942850113, 0.03706149756908417, -0.022983882576227188, -0.034250203520059586, -0.007519221864640713, 0.02198147214949131, 0.008877431973814964, 0.01173124834895134, 0.017730064690113068, 0.007888136431574821, -0.031300291419029236, -0.025834986940026283, 0.07916050404310226, 0.013391764834523201, 0.0727647915482521, 0.032028380781412125, 0.018548116087913513, -0.004178361967206001, 0.023257631808519363, -0.0024920892901718616, -0.0007727877818979323, 0.04945709556341171, 0.004108211491256952, -0.0037975450977683067, -0.0038936876226216555, -0.0418843999505043, 0.012449565343558788, -0.014186350628733635, 0.006349852308630943, -0.004719312768429518, 0.03301985189318657, -0.006370878778398037, 0.011262110434472561, -0.005456215236335993, -0.056217554956674576, 0.05465567484498024, 0.017574835568666458, 0.030119678005576134, -0.0021157190203666687, 0.008232582360506058, 0.004113600589334965, 0.009064893238246441, 0.009592367336153984, 0.01714540645480156, -0.029567589983344078, -0.06267301738262177, 0.0010947167174890637, 0.021838242188096046, 0.029534151777625084, -0.000735089706722647, 0.01799073815345764, 0.008034761995077133, 0.01468169130384922, 0.008953001350164413, 0.03903386369347572, 0.009735708124935627, -0.024163616821169853, -0.04248640686273575, -0.01578473672270775, 0.019309213384985924, -0.06717190146446228, 0.021616386249661446, -0.03385886922478676, 0.017165252938866615, -0.024307744577527046, -0.0019276072271168232, 0.025713155046105385, 0.07127534598112106, -0.03685898333787918, -0.027135994285345078, 0.004608955234289169, -0.03131301328539848, -0.03290417045354843, -0.06368302553892136, -0.029204033315181732, -0.0062452657148242, -0.020679617300629616, 0.001929627382196486, -0.008697569370269775, -0.01901029795408249, 0.002239501802250743, 0.040576763451099396, 0.0003229466965422034, -0.035685230046510696, 0.038638725876808167, 0.005645384080708027, 0.022361651062965393, 0.018251746892929077, -0.07476958632469177, 0.004148754291236401, -0.05844932794570923, -0.0039687929674983025, -0.019609639421105385, 0.024971773847937584, -0.04849355295300484, 0.032929569482803345, 0.016599353402853012, 0.013401900418102741, -0.02255789004266262, -0.05513555184006691, 0.016948152333498, -0.004494133871048689, 0.03133227303624153, 0.008141272701323032, -0.0109206298366189, 0.0068685016594827175, -0.0022739137057214975, -0.037891097366809845, -0.008415778167545795, 0.0069404481910169125, 0.02316184528172016, 0.044530320912599564, 0.011041086167097092, -0.044218759983778, -0.008651498705148697, 0.04370182007551193, 0.036737918853759766, 0.035280920565128326, -0.03188110515475273, -0.022298455238342285, -0.0036651103291660547, 0.02931487001478672, 0.02776612713932991, -0.041618406772613525, 0.0226163100451231, -0.007267005741596222, 0.015225736424326897, -0.03513878583908081, -0.02463141269981861, -0.017408551648259163, 0.0498555488884449, -0.023776192218065262, 0.003293468151241541, 0.011608688160777092, -0.03263306990265846, -0.006738514639437199, 0.021273238584399223, 0.05889099836349487, -0.0037456629797816277, 0.056759029626846313, -0.03348865360021591, 0.0030413218773901463, -0.01339460164308548, 0.007193532772362232, 0.006231858395040035, -0.003894803812727332, -0.006416354328393936, -0.01592516340315342, 0.02409830130636692, -0.01140260323882103, -0.04135769605636597, -0.047697532922029495, -0.023222461342811584, 0.004146875813603401, -0.02188321389257908, -0.009508155286312103, -0.020695200189948082, 0.0038632771465927362, -0.00720781646668911, 0.04054467752575874, -0.02720453590154648, 0.005181611981242895, 0.005835673306137323, -0.0037563012447208166, -0.07053455710411072, 0.04318699985742569, -0.03260273113846779, 0.006494784727692604, 0.02852090820670128, 0.013909813016653061, -0.01232035830616951, 0.020809078589081764, 0.0211980938911438, 0.03333289176225662, -0.022609198465943336, -0.024449709802865982, -0.03373875468969345, 0.011653088964521885, 0.009977560490369797, -0.035246841609478, 0.007031731773167849, 0.04124842956662178, -0.03370174393057823, -0.05135073512792587, -0.03878342732787132, 0.015615261159837246, -0.00591182429343462, 0.0004976911004632711, 0.010838744230568409, -0.007139610592275858, 0.016709614545106888, 0.014525978825986385, -0.0013425934594124556, -0.004835495259612799, 0.05516553670167923 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
Why Llama 2? The Llama 2 release introduces a family of pretrained and fine-tuned LLMs, ranging in scale from 7B to 70B parameters (7B, 13B, 70B). The pretrained models come with significant improvements over the Llama 1 models, including being trained on 40% more tokens, having a much longer context length (4k tokens 🤯), and using grouped-query attention for fast inference of the 70B model🔥! However, the most exciting part of this release is the fine-tuned models (Llama 2-Chat), which have been optimized for dialogue applications using Reinforcement Learning from Human Feedback (RLHF). Across a wide range of helpfulness and safety benchmarks, the Llama 2-Chat models perform better than most open models and achieve comparable performance to ChatGPT according to human evaluations. You can read the paper here. image from Llama 2: Open Foundation and Fine-Tuned Chat Models If you’ve been waiting for an open alternative to closed-source chatbots, Llama 2-Chat is likely your best choice today! | Model | License | Commercial use? | Pretraining length [tokens] | Leaderboard score | | --- | --- | --- | --- | --- | | Falcon-7B | Apache 2.0 | ✅ | 1,500B | 47.01 | | MPT-7B | Apache 2.0 | ✅ | 1,000B | 48.7 | | Llama-7B | Llama license | ❌ | 1,000B | 49.71 | | Llama-2-7B | Llama 2 license | ✅ | 2,000B | 54.32 | | Llama-33B | Llama license | ❌ | 1,500B | * | | Llama-2-13B | Llama 2 license | ✅ | 2,000B | 58.67 | | mpt-30B | Apache 2.0 | ✅ | 1,000B | 55.7 | | Falcon-40B | Apache 2.0 | ✅ | 1,000B | 61.5 | | Llama-65B | Llama license | ❌ | 1,500B | 62.1 | | Llama-2-70B | Llama 2 license | ✅ | 2,000B | * | | Llama-2-70B-chat | Llama 2 license | ✅ | 2,000B | 66.8 | we’re currently running evaluation of the Llama 2 70B (non chatty version). This table will be updated with the results.
[ 0.034710872918367386, -0.004152790643274784, 0.08035945147275925, 0.042082272469997406, 0.08995753526687622, 0.031191546469926834, 0.051097821444272995, 0.09242992848157883, -0.016640514135360718, -0.02638079971075058, -0.04293046519160271, 0.08523144572973251, -0.05846184492111206, 0.031941819936037064, -0.011446896009147167, -0.04827451333403587, 0.02745978906750679, 0.005045669618993998, 0.008244437165558338, -0.0245200227946043, -0.0023430855944752693, -0.004586052615195513, -0.008135446347296238, -0.0778585895895958, -0.027577146887779236, 0.023636730387806892, 0.007469731383025646, 0.0334373414516449, -0.05158728361129761, -0.008278279565274715, -0.09633447229862213, 0.0022913608700037003, -0.05211418494582176, 0.010818642564117908, 0.019550597295165062, -0.0038049991708248854, -0.10507427155971527, 0.05268296226859093, -0.02449234575033188, -0.05112616717815399, 0.00831078551709652, -0.05932142585515976, -0.05006343871355057, 0.022727971896529198, -0.03183421865105629, 0.012962689623236656, -0.13848356902599335, 0.02886500209569931, -0.01891784556210041, -0.00014103377179708332, -0.09856800734996796, 0.05093688890337944, -0.022407757118344307, -0.004939585458487272, 0.06895115971565247, 0.0017459699884057045, -0.004680271726101637, -0.04201750457286835, -0.0006823179428465664, 0.04791124165058136, -0.004866236355155706, -0.008298459462821484, 0.0708715096116066, -0.03353903815150261, 0.006068962160497904, 0.02780446596443653, -0.02509915828704834, 0.014074908569455147, -0.057757798582315445, -0.015278860926628113, 0.051125649362802505, -0.011870628222823143, -0.0659245029091835, -0.04236137121915817, -0.012848179787397385, -0.0881430134177208, -0.04853999987244606, 0.02011883445084095, 0.001428975723683834, -0.019927404820919037, -0.0334649384021759, 0.05790949985384941, 0.0449555441737175, 0.010325652547180653, -0.03821651637554169, 0.060411956161260605, 0.07724766433238983, -0.03785295411944389, -0.03574749082326889, -0.04764649644494057, -0.06228701025247574, -0.09886819869279861, -0.03920968249440193, -0.014565548859536648, 0.05815228447318077, 0.0067939902655780315, 0.028234347701072693, 0.002045578556135297, -0.02661367692053318, -0.002116396790370345, 0.005398592911660671, -0.08134183287620544, 0.04881560057401657, -0.03210365027189255, -0.04004349559545517, 0.05441761389374733, -0.043172065168619156, -0.09588777273893356, -0.062095556408166885, 0.028756262734532356, 0.02349577657878399, -0.005375023931264877, 0.053977299481630325, 0.07667377591133118, -0.06846131384372711, 0.01609124429523945, 0.010915063321590424, -0.02080797404050827, 0.010397334583103657, 0.03197617083787918, 0.000603465479798615, 0.06440749764442444, 0.04993820562958717, 0.005699083674699068, 0.04122673347592354, 0.0844162255525589, 0.0002279243344673887, 0.06067869812250137, -0.008721662685275078, -0.009955784305930138, 0.048588600009679794, -0.029705435037612915, -0.029645144939422607, -0.01594378985464573, -0.024133898317813873, -0.04516872018575668, 0.0032341822516173124, -0.08138714730739594, 0.021046778187155724, 0.0023665926419198513, -0.047645725309848785, 0.012345382012426853, 0.061023514717817307, -0.00318166078068316, 0.06170928478240967, 0.06161446124315262, -0.083747498691082, 0.017434751614928246, -0.035463638603687286, -0.06220060586929321, -0.07076013833284378, 0.029318567365407944, -0.06356276571750641, -0.06313896924257278, 0.03187985345721245, 0.01301963347941637, -0.012413651682436466, -0.059685613960027695, -0.025826988741755486, 0.0007662677671760321, -0.033571507781744, -0.0007781210588291287, 0.002092312555760145, -0.005331387277692556, 0.014948544092476368, -0.004226728342473507, -0.018103960901498795, 0.04316306859254837, -0.046989813446998596, -0.0038904992397874594, 0.04923970252275467, 0.03119581565260887, 0.13209640979766846, -0.06335902214050293, -0.012273241765797138, 0.04893661290407181, 0.025012925267219543, 0.04534081369638443, 0.030664995312690735, 0.03695318102836609, 0.0024043978191912174, 0.028261205181479454, -0.011505980044603348, 0.04968321695923805, 0.0585341714322567, -0.11377012729644775, 0.010254453867673874, -0.06316263973712921, -0.038733456283807755, -0.02817981317639351, -0.03366779163479805, 0.07307309657335281, 0.039342250674963, 0.04754886403679848, 0.053444068878889084, -0.015694160014390945, -0.052409909665584564, 0.12847672402858734, 0.09069746732711792, 0.08178621530532837, 0.05357940495014191, 0.07897712290287018, 0.0015034993411973119, -0.03728722035884857, -0.05327831953763962, 0.015765292569994926, 0.05327571555972099, -0.059907808899879456, -0.03815735876560211, 0.011488332413136959, 0.002284245565533638, -0.10298947244882584, -0.006446237675845623, -0.01911882497370243, 0.06770734488964081, -0.023368502035737038, -0.007950055412948132, 0.016538972035050392, 0.02930450439453125, -0.05690829083323479, 0.12838421761989594, -0.0654580220580101, -0.007975558750331402, -0.014725434593856335, -0.023789770901203156, 0.08396194875240326, 0.09584037214517593, -0.019387803971767426, 0.08230933547019958, -0.07007987797260284, 0.01621406525373459, -0.02854289300739765, 0.0010939465137198567, 0.035726115107536316, 0.00743316113948822, -0.028088640421628952, -0.04887924715876579, -0.06915578991174698, 0.04416915029287338, 0.0012408029288053513, 0.004777866415679455, 0.037157244980335236, 0.028632810339331627, 0.06573522090911865, -0.034118689596652985, -0.06320586055517197, -0.0001363333431072533, 0.02858378365635872, -0.02078210934996605, -0.0058897980488836765, -0.0902407318353653, 0.028560467064380646, 0.04636184498667717, 0.05734438821673393, 0.0005865739658474922, -0.00625034561380744, -0.037687502801418304, -0.03451281785964966, -0.041152920573949814, 0.029719149693846703, 0.04526916891336441, -0.010761282406747341, 0.01684548147022724, 0.019132794812321663, 0.004046986810863018, -0.02962528169155121, -0.0230491291731596, 0.004163604229688644, -0.012236436828970909, -0.008226091042160988, 0.009882926940917969, -0.0005665177013725042, -0.0033404547721147537, 0.022083837538957596, 0.019989844411611557, 0.023503750562667847, 0.06904426962137222, -0.024699106812477112, -0.03794433921575546, -0.0017312031704932451, 0.0087179746478796, -0.009110739454627037, 0.05443853512406349, 0.053632527589797974, 0.012285186909139156, -0.00787373911589384, 0.010210936889052391, -0.016326023265719414, -0.032364372164011, 0.014087222516536713, 0.03479014337062836, -0.028828401118516922, -0.014620148576796055, 0.008401800878345966, -0.04978232830762863, -0.041513703763484955, 0.03269413486123085, 0.003280053148046136, -0.007628676947206259, 0.009359072893857956, 0.0038491995073854923, -0.0267304927110672, -0.009564314968883991, -0.005412173457443714, 0.023680562153458595, 0.007661871612071991, -0.005689462646842003, 0.013257083483040333, -0.10208906978368759, -0.003388789715245366, 0.009201407432556152, 0.014857805334031582, -0.02818804420530796, -0.013046415522694588, 0.07268776744604111, -0.03388933464884758, -0.035118717700242996, 0.020882314071059227, -0.0037610819563269615, 0.03193994611501694, 0.012535188347101212, -0.013000366277992725, -0.034817736595869064, -0.004575110040605068, 0.02882452681660652, -0.006898103281855583, 0.0006181421340443194, -0.02612542361021042, -0.00008240571332862601, 0.053974322974681854, -0.04676178842782974, 0.018408015370368958, -0.04030318185687065, -0.004823731724172831, 0.01753842830657959, -0.02486925944685936, 0.03191518038511276, -0.03150461986660957, -0.010195530019700527, -0.016999589279294014, -0.020174941048026085, 0.006108014844357967, -0.034462954849004745, -0.008578558452427387, 0.01703956536948681, 0.02658567577600479, 0.020867256447672844, 0.04827661067247391, 0.025786468759179115, -0.04239185154438019, 0.019834717735648155, -0.04153847321867943, -0.03672689199447632, -0.011355064809322357, -0.014292309992015362, -0.023411951959133148, 0.024032259359955788, -0.017242664471268654, -0.015017306432127953, -0.013274120166897774, -0.01953190378844738, 0.0553164966404438, 0.004623552784323692, 0.007026641163975, -0.004439681302756071, -0.003915287554264069, 0.02288953587412834, 0.02009030431509018, -0.0673481747508049, 0.05706796422600746, -0.04099278151988983, 0.05256515368819237, -0.017742972820997238, 0.04646352678537369, 0.03675210475921631, -0.004356612451374531, -0.0050333160907030106, 0.027253376320004463, -0.010627876035869122, 0.05880466848611832, 0.009479071944952011, 0.01224641315639019, -0.008231179788708687, 0.029531894251704216, -0.02415182814002037, 0.008516515605151653, 0.030939476564526558, 0.03831383213400841, 0.015433114022016525, -0.026458226144313812, 0.010937082581222057, -0.025985058397054672, 0.020847104489803314, -0.01171600166708231, 0.03883768618106842, -0.017300618812441826, 0.03836258873343468, 0.03785450756549835, -0.043775465339422226, -0.01207127794623375, 0.06054816395044327, 0.049483124166727066, 0.03350985795259476, 0.012285471893846989, 0.018068330362439156, 0.03250950947403908, -0.03239447996020317, 0.01962444558739662, 0.07015277445316315, -0.0063238912262022495, 0.010085191577672958, 0.011085174977779388, -0.022608337923884392, 0.031026670709252357, -0.008399280719459057, -0.04638547822833061, 0.02360622212290764, 0.022362474352121353, -0.02183404378592968, -0.007231187075376511, 0.03349949046969414, 0.0010811849497258663, 0.002644312335178256, 0.02039903588593006, -0.004752699285745621, 0.04067491367459297, -0.03464987874031067, 0.005826985463500023, -0.04282736778259277, 0.014129096642136574, 0.017132962122559547, 0.013400215655565262, 0.08014833182096481, -0.04380890727043152, 0.03369008004665375, -0.03429696336388588, 0.020055893808603287, 0.011918286792933941, -0.01373523660004139, -0.03894635662436485, -0.027833184227347374, 0.006550387479364872, 0.015168843790888786, 0.018051117658615112, -0.028160227462649345, 0.0043855211697518826, -0.002475941553711891, -0.0183696411550045, -0.010540379211306572, 0.006943930871784687, -0.00018921737500932068, -0.013355830684304237, 0.008363598957657814, -0.031188175082206726, -0.008618801832199097, -0.0299375057220459, -0.0016094606835395098, 0.036302100867033005, 0.024563699960708618, -0.04604032263159752, -0.02500620298087597, 0.00747744319960475, -0.003437897888943553, -0.02052442915737629, -0.016187530010938644, 0.022174645215272903, 0.02581477351486683, 0.03544747456908226, 0.0018048450583592057, 0.016218751668930054, -0.04310999810695648, 0.012060821056365967, 0.0356445237994194, -0.029169335961341858, 0.011468552052974701, 0.0064306133426725864, 0.009005093015730381, 0.010246654972434044, 0.010332591831684113, -0.002645807573571801, -0.0007785424822941422, -0.013957281596958637, 0.013388663530349731, 0.03243596851825714, 0.038350507616996765, 0.0038422250654548407, 0.011865098029375076, 0.010191845707595348, -0.04466063901782036, -0.028127845376729965, 0.020048027858138084, -0.01245004590600729, 0.035465411841869354, 0.0019924466032534838, 0.062099069356918335, 0.05404775217175484, 0.052106212824583054, 0.03584634140133858, -0.0071329353377223015, -0.0026360899209976196, 0.030554288998246193, -0.0157750453799963, -0.012333367019891739, 0.003470934461802244, -0.011724334210157394, 0.028634175658226013, 0.0002410458109807223, -0.012227757833898067, 0.013685730285942554, -0.015232033096253872, -0.02433197759091854, -0.02009591832756996, 0.008825818076729774, -0.00794301275163889, -0.013735488057136536, -0.06467349827289581, 0.009742100723087788, -0.01454602088779211, -0.01699248142540455, -0.02490803599357605, 0.000565537135116756, -0.016754861921072006, 0.03690757974982262, -0.05524484068155289, -0.03454197198152542, 0.045763108879327774, 0.038496751338243484, 0.015894077718257904, 0.02538219280540943, -0.06123222038149834, -0.03334337845444679, -0.015870405361056328, 0.037798922508955, -0.011654159054160118, -0.006902038585394621, 0.030036600306630135, -0.0030018617399036884, 0.02064700610935688, 0.045825012028217316, -0.023933010175824165, 0.033053964376449585, 0.04734914004802704, -0.014654918573796749, -0.0032227246556431055, -0.08783432841300964, -0.019109874963760376, 0.04449569433927536, -0.0008916363003663719, -0.01752203330397606, -0.044563766568899155, -0.03492787480354309, -0.03972415253520012, -0.062235277146101, 0.05145275220274925, 0.02377895824611187, -0.01223789807409048, 0.014364808797836304, -0.016899796202778816, 0.018162274733185768, 0.01186415459960699, 0.03196696937084198, 0.016990678384900093, -0.0035187413450330496, -0.003598924493417144, 0.04309571906924248, 0.008616463281214237, -0.021905511617660522, -0.040928300470113754, 0.013673385605216026, -0.0345393531024456, -0.010907525196671486, 0.03740967437624931, -0.039972055703401566, 0.044584888964891434, 0.06775768846273422, -0.060402918606996536, -0.0013445771764963865, 0.01825566589832306, 0.006005543749779463, -0.006013528909534216, -0.007244945969432592, -0.0033063790760934353, -0.021166415885090828, -0.04209846258163452, 0.025327349081635475, 0.059179432690143585, 0.03334344923496246, 0.01817196048796177, 0.05020488426089287, 0.030283339321613312, 0.05054233595728874, 0.011974940076470375, -0.04549176245927811, 0.04253273084759712, 0.05164994299411774, 0.024555906653404236, 0.04537099227309227, 0.001670912140980363, -0.034867994487285614, -0.006969172041863203, -0.021143469959497452, 0.027232881635427475, -0.0159712303429842, 0.01173230167478323, 0.050637319684028625, -0.00006988881068537012, 0.013824363239109516, -0.02267668955028057, 0.03320840001106262, 0.02582758292555809, 0.021767228841781616, 0.017814872786402702, 0.02900172956287861, -0.01356592494994402, 0.006400112062692642, -0.007868108339607716, -0.01654566451907158, -0.020619353279471397, -0.0025945657398551702, 0.020663196220993996, 0.03042522445321083, 0.028072413057088852, -0.04131047800183296, 0.00028450528043322265, 0.030342834070324898, 0.0005613656830973923, 0.029336532577872276, 0.0361756831407547, 0.010753417387604713, 0.03058636747300625, 0.006047194357961416, 0.0012384869623929262, 0.014137087389826775, -0.026843538507819176, -0.0008344281231984496, -0.03061678446829319, 0.01224194560199976, -0.03553646057844162, 0.028977276757359505, 0.054208237677812576, 0.0015534169506281614, -0.04002475365996361, -0.07440192252397537, 0.0038616443052887917, -0.0064629786647856236, -0.011473423801362514, -0.02622191049158573, -0.010873396880924702, -0.00870663020759821, -0.01989123597741127, -0.020979633554816246, 0.04336957633495331, -0.005192599259316921, 0.00568325025960803, 0.03240348771214485, -0.0024271041620522738, 0.006230893544852734, 0.009012454189360142, 0.020551417022943497, 0.015417797490954399, -0.04604616388678551, -0.02246762439608574, 0.009058649651706219, -0.03739304840564728, -0.024789994582533836, -0.046608246862888336, 0.009380658157169819, -0.013505928218364716, 0.02569000981748104, 0.05336246266961098, 0.061843011528253555, -0.025257213041186333, -0.023301029577851295, 0.018629372119903564, -0.003116995096206665, -0.01672506146132946, -0.007485683541744947, 0.029934940859675407, -0.00630376860499382, -0.01704520173370838, -0.02064834162592888, 0.010358115658164024, -0.04863941669464111, 0.019296754151582718, 0.03201110661029816, 0.040084101259708405, -0.02665354311466217, 0.028834830969572067, 0.040532514452934265, 0.016995660960674286, 0.044733114540576935, 0.010211673565208912, 0.003765764180570841, 0.01444926019757986, 0.004394649527966976, 0.023949408903717995, -0.04714690148830414, 0.005168300122022629, -0.02861841395497322, -0.03730854392051697, -0.01581217162311077, 0.04205368086695671, 0.006702435202896595, 0.01798703335225582, -0.03908061608672142, -0.03485830873250961, -0.03218676149845123, 0.0013913180446252227, -0.014391458593308926, -0.0091780386865139, 0.0354766882956028, -0.012265731580555439, -0.01889675110578537, -0.009933664463460445, 0.004817548673599958, -0.011255580000579357, -0.034768667072057724, -0.018589070066809654, 0.020787525922060013, -0.043687861412763596, -0.02702944725751877, -0.04262671247124672, 0.0028620148077607155, -0.014600894413888454, -0.01621810346841812, 0.010008149780333042, 0.021738780662417412, -0.00293458579108119, 0.037300970405340195, 0.000594477925915271, 0.004135691095143557, 0.0005049926112405956, 0.04492414742708206, -0.036298781633377075, 0.008662817068397999, 0.019363578408956528, -0.04415425285696983, -0.05402304232120514, 0.03494574874639511, 0.02300374209880829, 0.013479403220117092, 0.03488076850771904, 0.0035360183101147413, 0.0008436955977231264, -0.013519547879695892, 0.011893578805029392, 0.01980646513402462, 0.00024195024161599576, -0.04489709436893463, -0.04321068897843361, 0.0054526058956980705, -0.005172723904252052, -0.03028537891805172, -0.04065203666687012, 0.038351934403181076, 0.017840007320046425, -0.023098235949873924, -0.02253345027565956, 0.00466500548645854, -0.009045980870723724, -0.006868261843919754, 0.017834996804594994, 0.005818960256874561, 0.03975030407309532, 0.05323072895407677, -0.015913888812065125, -0.02657506987452507, -0.0014490553876385093 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
# Llama 2 is here - get it on Hugging Face
[ 0.02320178598165512, -0.045405883342027664, 0.11977995932102203, -0.027441225945949554, 0.0821092501282692, -0.003414830192923546, 0.026064269244670868, 0.06421475857496262, -0.03633572533726692, -0.059209566563367844, -0.04667426273226738, 0.05806155130267143, -0.05412089452147484, 0.07582846283912659, 0.03891535848379135, 0.00021607369126286358, 0.010281337425112724, -0.007459397427737713, 0.031017977744340897, -0.0010891183046624064, -0.046856511384248734, -0.05679936334490776, 0.04809228330850601, -0.06314413994550705, -0.02315503917634487, -0.02822088822722435, 0.025160986930131912, 0.03918810188770294, -0.024514297023415565, 0.04722613841295242, -0.0883062481880188, -0.02396012470126152, 0.04573686048388481, 0.005512453615665436, 0.04151560366153717, 0.016184300184249878, -0.14600737392902374, 0.04969891905784607, 0.021177111193537712, -0.04430125653743744, 0.009362711571156979, -0.04688551649451256, -0.028890173882246017, 0.021362660452723503, -0.02941756136715412, -0.023857994005084038, -0.21981920301914215, 0.08408825099468231, -0.0023573697544634342, -0.002110547386109829, -0.06639322638511658, 0.02258197031915188, -0.0016152228927239776, -0.03561127558350563, 0.013878222554922104, -0.009690308943390846, -0.0038987232837826014, -0.046347398310899734, 0.0014593140222132206, 0.0017351758433505893, 0.0595540814101696, 0.005710826255381107, 0.032003093510866165, 0.007169273681938648, 0.008549361489713192, 0.04991649463772774, -0.010276385582983494, 0.0003664593677967787, -0.08325035125017166, -0.011881974525749683, 0.04138503223657608, -0.028199536725878716, -0.04172263294458389, -0.04222766309976578, 0.06849680095911026, -0.05761750787496567, -0.02363424375653267, 0.06010332331061363, 0.04677710309624672, 0.06910381466150284, -0.018113519996404648, -0.019993716850876808, 0.10516487061977386, 0.11838333308696747, 0.009130015969276428, 0.03170236945152283, 0.06912300735712051, -0.03912960737943649, -0.03902696445584297, 0.06165032833814621, -0.05926669016480446, -0.0908331647515297, -0.027904320508241653, 0.024572771042585373, 0.10242515802383423, -0.023632006719708443, -0.0013539338251575828, -0.04711414873600006, 0.013958264142274857, -0.010042166337370872, -0.022223137319087982, -0.04575759917497635, -0.0027250531129539013, -0.05372336879372597, -0.0704532340168953, 0.01590922847390175, -0.022391589358448982, -0.052438925951719284, -0.04700833559036255, -0.007208502851426601, -0.0024103624746203423, -0.0036603566259145737, 0.11753557622432709, 0.010476469062268734, -0.05896618962287903, 0.07245822250843048, 0.007229803130030632, -0.014177083969116211, 0.01458381675183773, 0.04121282324194908, 0.019657591357827187, 0.10813198983669281, 0.07901988923549652, 0.00545264920219779, 0.07514448463916779, 0.05850067734718323, -0.021596262231469154, 0.024399805814027786, -0.01977706141769886, -0.006384424865245819, -0.005289645865559578, -0.018684742972254753, 0.042604200541973114, -0.02924407087266445, -0.015225880779325962, -0.04506346583366394, 0.005311715416610241, -0.037799835205078125, 0.04831000789999962, -0.029425757005810738, -0.011784219183027744, 0.05431264638900757, 0.014463608153164387, 0.07007237523794174, 0.06774254888296127, -0.035880301147699356, -0.09650640189647675, 0.045792337507009506, -0.02975991554558277, -0.04133450612425804, -0.015829522162675858, 0.037041738629341125, -0.04117823392152786, -0.03943118080496788, 0.000764002907089889, 0.010599028319120407, -0.021076075732707977, -0.015580084174871445, -0.057448435574769974, -0.005780897568911314, 0.007630358450114727, -0.010944945737719536, -0.028492795303463936, -0.01685081422328949, 0.04920734092593193, -0.020467882975935936, -0.02766450121998787, -0.009918160736560822, -0.03589622676372528, -0.06125352159142494, 0.03695369511842728, -0.0129737239331007, 0.04361053183674812, -0.008401257917284966, -0.0544951930642128, 0.05491290241479874, 0.057604819536209106, 0.059315674006938934, -0.012131172232329845, 0.03444237262010574, -0.03770049661397934, 0.00630672462284565, 0.009882654994726181, 0.04642616584897041, 0.011298207566142082, -0.045383136719465256, 0.018889818340539932, -0.009303196333348751, -0.005272294860333204, -0.010609243996441364, -0.05400142818689346, -0.03311772644519806, 0.04503607377409935, 0.0019489164697006345, 0.011859030462801456, -0.060933273285627365, -0.053342729806900024, 0.10403434187173843, 0.05907278507947922, 0.0797518640756607, 0.03434696048498154, 0.03689148277044296, 0.08607257902622223, 0.026721637696027756, -0.06797198951244354, 0.0159953311085701, 0.03660549595952034, -0.02308480069041252, -0.014952380210161209, -0.010761979967355728, 0.0000033939138575078687, -0.09345291554927826, 0.042248811572790146, -0.028171036392450333, 0.023777993395924568, -0.009453616105020046, -0.005592201836407185, -0.017475705593824387, -0.004587969277054071, -0.017567642033100128, 0.10335541516542435, -0.03380146250128746, -0.030745193362236023, -0.013963954523205757, 0.001236427458934486, 0.1082623302936554, 0.12071473896503448, 0.02205292321741581, 0.09610599279403687, -0.1011619120836258, -0.011279230006039143, -0.0389835350215435, -0.039883289486169815, 0.07688894867897034, 0.014719956554472446, 0.0027397945523262024, 0.02796335518360138, -0.0478205531835556, 0.06323737651109695, -0.029634131118655205, 0.004133665468543768, -0.005447070114314556, 0.02804974839091301, 0.04619910567998886, -0.05087658017873764, -0.10249841213226318, 0.01704362779855728, 0.016351183876395226, -0.07656064629554749, 0.0024872785434126854, -0.059420499950647354, 0.05046749487519264, 0.05502641946077347, 0.022057773545384407, 0.047462098300457, 0.010784607380628586, -0.020363304764032364, -0.031150422990322113, -0.025215385481715202, 0.02634301222860813, 0.03426238149404526, -0.03363552317023277, 0.010631021112203598, -0.04683391749858856, -0.03638620302081108, -0.01121008861809969, -0.00930706411600113, 0.009573475457727909, -0.024285322055220604, 0.0355675145983696, 0.041749708354473114, -0.024446871131658554, 0.05327753722667694, 0.0030279255006462336, 0.025798378512263298, 0.0046418276615440845, 0.054430149495601654, 0.0036305768880993128, -0.01696300506591797, -0.04022355005145073, -0.0065892720595002174, -0.001398330321535468, 0.045670147985219955, 0.046162571758031845, 0.027441035956144333, -0.017078697681427002, 0.02433588169515133, -0.023634200915694237, 0.00011983558943029493, 0.035235267132520676, 0.019221922382712364, 0.023822756484150887, 0.0040055918507277966, -0.03076137788593769, -0.0020698904991149902, -0.04443224146962166, 0.030838733538985252, 0.038915399461984634, -0.025129415094852448, 0.0409771129488945, 0.020756231620907784, -0.004630296491086483, -0.0210572462528944, 0.0065278406254947186, -0.027123738080263138, 0.021438494324684143, 0.04005641117691994, 0.014037561602890491, -0.13558489084243774, -0.05330639332532883, 0.018426205962896347, 0.03224535286426544, -0.02884655073285103, -0.027698054909706116, 0.04925527051091194, -0.05383293330669403, -0.011034895665943623, -0.002757733454927802, 0.0002639703161548823, 0.012065836228430271, 0.030124254524707794, -0.03334818407893181, -0.024616725742816925, -0.03216971457004547, -0.031929414719343185, 0.0024221730418503284, 0.03047114424407482, 0.004897897131741047, -0.03773875534534454, 0.07009146362543106, -0.005841082893311977, 0.00369092496111989, -0.0181268397718668, 0.019502321258187294, 0.03264326602220535, 0.019248053431510925, 0.03801798075437546, -0.0493958555161953, -0.021269256249070168, 0.021487660706043243, -0.035616643726825714, 0.015095413662493229, -0.04879176616668701, 0.026004616171121597, -0.017156105488538742, -0.021751821041107178, 0.04984552785754204, 0.021006418392062187, 0.02611878700554371, -0.011262807995080948, 0.019519660621881485, -0.03310123831033707, -0.03142734244465828, 0.0007763493340462446, -0.023296859115362167, -0.008714687079191208, 0.062319375574588776, -0.035792626440525055, -0.015654578804969788, -0.010334719903767109, 0.004717600531876087, 0.05656610429286957, 0.020686853677034378, 0.02000986970961094, -0.010481489822268486, 0.030390694737434387, 0.024387359619140625, -0.023974619805812836, -0.04972350224852562, 0.01112675666809082, -0.02376295067369938, 0.019138431176543236, -0.02556493505835533, 0.051756005734205246, 0.004160895012319088, 0.017027035355567932, -0.008460618555545807, 0.033770814538002014, 0.015357552096247673, -0.012991784140467644, -0.04791093245148659, 0.023733709007501602, -0.012747781351208687, 0.03774750232696533, -0.006154737900942564, -0.01888762228190899, 0.07154399901628494, -0.035920899361371994, -0.016197942197322845, -0.009032863192260265, -0.014063512906432152, -0.0020397985354065895, -0.012091117911040783, -0.012628311291337013, 0.016700878739356995, -0.008569998666644096, 0.03195759654045105, 0.05340026691555977, -0.008133740164339542, -0.00006473924440797418, 0.013958841562271118, -0.008286873809993267, 0.02334332838654518, 0.020442256703972816, 0.04534924775362015, 0.008206089958548546, -0.021310865879058838, 0.023688355460762978, 0.04054589569568634, -0.02085658721625805, 0.0018508998909965158, 0.015492327511310577, 0.00992175005376339, 0.049018584191799164, -0.015552457422018051, -0.03721177205443382, 0.011484494432806969, 0.008076071739196777, 0.02191769704222679, -0.042466048151254654, 0.002753597917035222, -0.030362287536263466, 0.00034452779800631106, -0.017823342233896255, -0.012730955146253109, -0.03302494063973427, -0.03747423365712166, 0.018603110685944557, -0.020756075158715248, 0.03401736915111542, 0.000025467921659583226, -0.01665242575109005, 0.024008125066757202, -0.005634819623082876, 0.026403535157442093, 0.004092838149517775, -0.003592497669160366, 0.015575715340673923, -0.050648223608732224, -0.05480081960558891, 0.023884952068328857, -0.026006270200014114, 0.01794576458632946, 0.016662567853927612, -0.014902356080710888, 0.043790552765131, -0.0008357362821698189, -0.08240675926208496, -0.03364649415016174, 0.015542089007794857, 0.03285178542137146, -0.012690385803580284, 0.022276833653450012, -0.022957712411880493, -0.01387518085539341, 0.01599869504570961, -0.018735235556960106, 0.019321411848068237, 0.02831822820007801, -0.04153893515467644, -0.018692079931497574, 0.03281078115105629, 0.007287127431482077, 0.03247687965631485, -0.00373041327111423, 0.0057818531058728695, -0.01965678483247757, 0.04390759766101837, -0.0012441069120541215, -0.012839109636843204, -0.0674988403916359, 0.024109194055199623, 0.007759363390505314, -0.029594523832201958, 0.011558250524103642, -0.04465676471590996, 0.020364118739962578, -0.03045382723212242, -0.013220657594501972, -0.007094648666679859, 0.037300389260053635, -0.019266173243522644, -0.011442954652011395, 0.03987923264503479, 0.03139299899339676, -0.01319695170968771, 0.0009161842172034085, 0.03155006468296051, -0.02190140262246132, -0.012408326379954815, 0.02205951325595379, 0.009685014374554157, -0.00024086709890980273, 0.005918014794588089, 0.028839383274316788, 0.04508499801158905, 0.02141750045120716, 0.032736994326114655, -0.0010948885465040803, -0.003320598741993308, 0.019934875890612602, -0.026382213458418846, -0.0013257605023682117, 0.014785108156502247, -0.016141071915626526, -0.012726661749184132, 0.010323788039386272, -0.02149643562734127, -0.005820250138640404, -0.0060959672555327415, -0.0388578362762928, -0.02466101013123989, 0.01781906746327877, 0.013175591826438904, -0.0013460299232974648, -0.026936309412121773, 0.013754337094724178, -0.03156694769859314, -0.011983239091932774, -0.008266245014965534, -0.005050335545092821, -0.05422935262322426, 0.020093129947781563, -0.03094661794602871, -0.04191537946462631, 0.00768551230430603, 0.01172808837145567, 0.022843949496746063, 0.010480338707566261, -0.011070933192968369, -0.030191443860530853, 0.010651343502104282, 0.04127613455057144, -0.02113516256213188, -0.017920710146427155, 0.030611159279942513, -0.029632342979311943, 0.052765388041734695, 0.035390935838222504, -0.024862557649612427, 0.021364077925682068, 0.02851196378469467, 0.006977962329983711, 0.009328993037343025, -0.06322767585515976, 0.00385753670707345, 0.014957735314965248, 0.03487440198659897, 0.00932189542800188, -0.01111719012260437, -0.03958256170153618, -0.03859999403357506, -0.03992333263158798, -0.0011424804106354713, 0.06786216795444489, 0.02609611675143242, -0.0007395728025585413, -0.010381273925304413, 0.009802131913602352, -0.02895689383149147, 0.015195434913039207, -0.005127573385834694, 0.008616256527602673, 0.03485099598765373, -0.00502620916813612, -0.013283050619065762, 0.002193851163610816, -0.028489230200648308, 0.013135723769664764, -0.046456608921289444, 0.00890182051807642, 0.020426105707883835, -0.021665379405021667, 0.03918417915701866, 0.02254777029156685, -0.024302849546074867, 0.007574711926281452, 0.040248677134513855, -0.01325832586735487, 0.00930208619683981, 0.028409017249941826, -0.0015539793530479074, -0.01912439614534378, -0.0384918749332428, 0.029348311945796013, 0.033220939338207245, 0.006655827630311251, 0.03658553212881088, 0.009667406789958477, 0.016855549067258835, 0.01998855546116829, 0.00029737487784586847, -0.020116614177823067, 0.026968607679009438, 0.07250738888978958, 0.0021313857287168503, 0.049250777810811996, 0.04047204181551933, -0.011749358847737312, 0.0046623810194432735, -0.020647890865802765, 0.0007017154130153358, -0.00428813649341464, 0.010130857117474079, 0.035460617393255234, 0.0016649115132167935, 0.017697088420391083, -0.04537014290690422, 0.06800287216901779, 0.030910393223166466, 0.024750862270593643, -0.011262673884630203, 0.013868623413145542, -0.010086294263601303, -0.003059371607378125, 0.018173174932599068, -0.020801488310098648, -0.018543174490332603, 0.0018665961688384414, 0.02685656026005745, -0.00029954826459288597, 0.030841829255223274, -0.005225880071520805, 0.006479846313595772, 0.03408565744757652, 0.016166560351848602, 0.014991462230682373, -0.03265449032187462, 0.048175640404224396, -0.005810529459267855, 0.004199923947453499, -0.006456553470343351, 0.001289412030018866, -0.05752280354499817, 0.020825352519750595, 0.013496719300746918, 0.012867208570241928, -0.011899981647729874, 0.02531730756163597, 0.025688203051686287, 0.02427317574620247, 0.003785071661695838, 0.012607376091182232, 0.008101685903966427, 0.015265650115907192, 0.016313349828124046, -0.030005425214767456, -0.015789777040481567, 0.010021028108894825, 0.004545142874121666, -0.004178464878350496, 0.008185014128684998, 0.013898652978241444, -0.03432819992303848, -0.0025424363557249308, 0.010233117267489433, -0.0013023887295275927, 0.023084132000803947, 0.034404680132865906, 0.02292429469525814, -0.045564934611320496, 0.0008802884258329868, 0.011922228150069714, 0.02122705616056919, -0.019067073240876198, -0.04809284582734108, 0.003748477203771472, -0.012990445829927921, -0.005368229001760483, 0.06172764673829079, 0.014113174751400948, -0.0003874648828059435, -0.03824787586927414, 0.026807237416505814, -0.017654072493314743, -0.009157675318419933, 0.03652410954236984, -0.004055290948599577, -0.027381842955946922, -0.011232168413698673, 0.014975665137171745, 0.02149483934044838, -0.021149003878235817, 0.014220964163541794, 0.016575267538428307, -0.021056586876511574, -0.019427547231316566, 0.00007727017509751022, 0.05105876177549362, 0.012109622359275818, 0.033143073320388794, 0.019709456712007523, 0.026181552559137344, 0.0031993763986974955, -0.04628214240074158, 0.03394559770822525, -0.007268151734024286, 0.01646096631884575, -0.02786182425916195, -0.019319819286465645, -0.0034998483024537563, -0.05081188678741455, -0.007548894267529249, -0.008692825213074684, -0.04700903967022896, -0.021645374596118927, -0.016184667125344276, -0.0044916472397744656, -0.008397054858505726, 0.02444884553551674, 0.05009167268872261, 0.0340338833630085, 0.03235222399234772, -0.0018839826807379723, 0.005312443245202303, -0.013815782964229584, 0.011955984868109226, -0.0033056691754609346, 0.04213816672563553, -0.019819170236587524, -0.028726063668727875, -0.04510435834527016, 0.010847062803804874, -0.04218710586428642, -0.04725784435868263, -0.0018245155224576592, -0.011533738113939762, -0.038954999297857285, -0.016816552728414536, -0.041678328067064285, 0.008335042744874954, -0.01108716893941164, 0.05049673095345497, -0.013051816262304783, -0.04143369942903519, 0.009136735461652279, 0.01316717267036438, -0.062123749405145645, 0.036230992525815964, 0.02209020033478737, 0.018963396549224854, 0.03415448218584061, 0.03812970221042633, -0.02075638435781002, 0.0063103423453867435, -0.014777726493775845, 0.008139674551784992, 0.012862068600952625, -0.040396321564912796, 0.002220912603661418, -0.006118889432400465, -0.026375755667686462, -0.028824754059314728, -0.056231241673231125, 0.01999738998711109, 0.014868236146867275, -0.050724975764751434, -0.020200878381729126, -0.013166327029466629, 0.002603633562102914, -0.001691884477622807, 0.025774890556931496, 0.016432540491223335, 0.05984729528427124, 0.0019010554533451796, -0.017476828768849373, -0.0005536646931432188, 0.03220757469534874 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
Inference In this section, we’ll go through different approaches to running inference of the Llama2 models. Before using these models, make sure you have requested access to one of the models in the official Meta Llama 2 repositories. Note: Make sure to also fill the official Meta form. Users are provided access to the repository once both forms are filled after few hours.
[ 0.05054242163896561, -0.0042269486002624035, 0.07111628353595734, 0.04239159822463989, 0.12924724817276, -0.00837930291891098, 0.052743732929229736, 0.010026542469859123, -0.012063133530318737, -0.03050779365003109, -0.02369208075106144, 0.057124700397253036, -0.04700935259461403, 0.07485727220773697, 0.019538486376404762, -0.05422823131084442, 0.05964895710349083, -0.016546182334423065, 0.01877111941576004, 0.026700595393776894, 0.01819801703095436, -0.07153143733739853, 0.025133077055215836, -0.07612940669059753, -0.019705159589648247, -0.019193680956959724, 0.02738841250538826, 0.02668837085366249, -0.051114052534103394, 0.009850808419287205, -0.09902580827474594, -0.02859612926840782, 0.019668010994791985, -0.04928819462656975, -0.015959545969963074, 0.011525549925863743, -0.1376907080411911, 0.017352208495140076, 0.06451066583395004, -0.05690254271030426, 0.016871903091669083, -0.023993201553821564, -0.0671762153506279, 0.030077388510107994, -0.01517789252102375, -0.01711357571184635, -0.17425280809402466, 0.033789485692977905, -0.02071073092520237, -0.002986007370054722, -0.09001807123422623, 0.06726442277431488, -0.015793750062584877, 0.00887080654501915, 0.037141673266887665, -0.008364913053810596, -0.00002886700713133905, -0.03837181627750397, 0.039821773767471313, -0.0021918872371315956, 0.014593830332159996, 0.004999147262424231, 0.039381444454193115, 0.0022503628861159086, 0.03890093043446541, 0.028577672317624092, 0.01452634483575821, -0.017153576016426086, -0.07475477457046509, 0.004097190219908953, -0.02947929874062538, -0.0017052242765203118, -0.046147480607032776, -0.03231056034564972, 0.0645914152264595, -0.04920482635498047, -0.01327587477862835, 0.07940278202295303, 0.033360354602336884, 0.015618821606040001, -0.003706173272803426, -0.0020270918030291796, 0.0659349113702774, 0.058780308812856674, 0.0017912074690684676, 0.039032455533742905, 0.039308369159698486, -0.03300994262099266, 0.009476803243160248, 0.039398640394210815, -0.03559426963329315, -0.11344823241233826, -0.043026719242334366, 0.0410892590880394, 0.06104731187224388, -0.02924336865544319, 0.06577449291944504, 0.02109813690185547, -0.020718494430184364, -0.03487345203757286, -0.03824784979224205, -0.023992877453565598, -0.01963895745575428, -0.024909887462854385, -0.04084588214755058, 0.008114456199109554, -0.028084758669137955, -0.11100083589553833, -0.11042354255914688, 0.007342999335378408, -0.050055939704179764, 0.005050609353929758, 0.04668182134628296, 0.05720977485179901, -0.0891796201467514, 0.0017230082303285599, 0.004313082899898291, 0.021946579217910767, 0.013992960564792156, 0.03389155864715576, 0.014569316059350967, 0.0924249216914177, 0.09990425407886505, 0.013611802831292152, 0.02849152497947216, 0.06352823972702026, 0.059530314058065414, 0.012792977504432201, -0.05209977552294731, 0.007295709103345871, 0.018393104895949364, -0.020867016166448593, 0.030929215252399445, -0.020540766417980194, 0.02450164034962654, -0.06727921217679977, -0.03778413310647011, -0.08007924258708954, 0.04839310422539711, -0.017613321542739868, -0.022477595135569572, 0.006878006272017956, 0.018643202260136604, 0.02842896804213524, 0.09524950385093689, 0.02231867052614689, -0.052997007966041565, 0.014507884159684181, -0.05451120063662529, 0.04069678112864494, -0.05535626411437988, 0.055828507989645004, -0.02662123739719391, -0.04337023198604584, 0.018101418390870094, -0.0062533291056752205, -0.03547654300928116, 0.036576107144355774, -0.08707807213068008, -0.026052577421069145, 0.017102284356951714, -0.0246797613799572, -0.003013945883139968, 0.024204013869166374, 0.0687776505947113, 0.016582079231739044, -0.0012151689734309912, 0.018077151849865913, 0.047499820590019226, -0.05910409241914749, 0.0021702684462070465, -0.02542075514793396, 0.09647919982671738, -0.041908975690603256, 0.031653933227062225, 0.06723179668188095, -0.011424092575907707, 0.02244139276444912, 0.014142591506242752, 0.04654773697257042, -0.0184844471514225, 0.006891872268170118, -0.0947398692369461, 0.02564375102519989, 0.027858920395374298, -0.050697486847639084, -0.002158893970772624, -0.060794442892074585, -0.01900540292263031, -0.059834711253643036, -0.031337056308984756, 0.0010880273766815662, 0.0734543651342392, -0.023081239312887192, -0.009556688368320465, -0.01871514692902565, -0.06413408368825912, 0.09589934349060059, 0.06205400824546814, 0.04520980641245842, 0.040446165949106216, 0.04779970273375511, 0.03038725256919861, 0.02444346621632576, -0.06170788034796715, 0.0663641095161438, 0.05612232908606529, -0.06349454820156097, 0.028212476521730423, 0.017506536096334457, -0.02954145334661007, -0.09105938673019409, 0.007340732030570507, -0.06785214692354202, 0.02219720557332039, -0.026156101375818253, 0.0030783808324486017, -0.015372712165117264, 0.022262996062636375, -0.051874808967113495, 0.1706530749797821, -0.03661065921187401, 0.015492928214371204, -0.030987538397312164, -0.02445310167968273, 0.05761929228901863, 0.07068081200122833, 0.022660134360194206, 0.0984756350517273, -0.08143030107021332, 0.042890772223472595, -0.02833574078977108, 0.012770402245223522, 0.07771943509578705, 0.03824766352772713, -0.005400007124990225, -0.027600189670920372, -0.07962106168270111, 0.018711740151047707, -0.021775376051664352, 0.06575921177864075, 0.012370385229587555, -0.023680811747908592, 0.028086988255381584, -0.021118540316820145, -0.05854048207402229, 0.007933794520795345, 0.05850822106003761, -0.05887170881032944, -0.023358335718512535, -0.0402492955327034, 0.019067922607064247, 0.05679658055305481, 0.02653704211115837, 0.03278515860438347, -0.017291558906435966, -0.03190924599766731, -0.015087862499058247, -0.032131727784872055, 0.046480488032102585, -0.002461022697389126, -0.04665444791316986, -0.0037326058372855186, -0.026667429134249687, -0.041792064905166626, -0.0611560195684433, 0.00443077739328146, 0.007884305901825428, -0.012617962434887886, -0.008557087741792202, 0.022412704303860664, -0.05452406033873558, 0.009832295589148998, 0.0011380922514945269, 0.005908730905503035, -0.0010105011751875281, 0.05437342822551727, -0.02872413769364357, -0.0010084472596645355, -0.02796408347785473, -0.012938556261360645, -0.018647443503141403, 0.036640215665102005, 0.039161317050457, 0.018357103690505028, -0.02395271323621273, 0.012117712758481503, -0.058361612260341644, -0.025854548439383507, 0.023245107382535934, -0.002558824373409152, 0.014219503849744797, 0.01077071763575077, -0.0007682007853873074, -0.015129275619983673, -0.018709812313318253, 0.0040336064994335175, 0.017586780712008476, -0.0020743736531585455, -0.016054188832640648, 0.013053340837359428, -0.017956644296646118, 0.01674466021358967, -0.007512521930038929, -0.03644176200032234, 0.04189423471689224, 0.003964659292250872, -0.004490089602768421, -0.12350259721279144, -0.02277570776641369, -0.00991160050034523, 0.0016916788881644607, 0.001352245220914483, -0.01708541065454483, 0.07174544036388397, -0.05532264709472656, -0.03277503326535225, 0.021587597206234932, -0.010326064191758633, -0.0014436725759878755, 0.03515243157744408, -0.01994762383401394, -0.027783982455730438, -0.008848139084875584, 0.018841378390789032, 0.0258993711322546, 0.04178869351744652, -0.0002194669214077294, -0.005922612734138966, 0.07285642623901367, -0.032706111669540405, 0.00019537820480763912, -0.006821017246693373, 0.023380296304821968, 0.035460542887449265, 0.06343746930360794, 0.030205007642507553, -0.04510005563497543, -0.0031886622309684753, -0.029177939519286156, -0.024893783032894135, -0.000040447310311719775, -0.046555403620004654, 0.031715065240859985, -0.015913797542452812, 0.008635299280285835, 0.04578885808587074, 0.02699621580541134, 0.00034973345464095473, 0.005077812820672989, 0.02090272307395935, -0.01933683454990387, -0.03682003542780876, 0.03167838975787163, 0.00612823897972703, -0.013349958695471287, 0.034992095082998276, -0.00967278704047203, -0.008413168601691723, 0.01775815337896347, 0.029434742406010628, 0.04707486182451248, 0.010091247968375683, -0.0036407902371138334, 0.02067832462489605, 0.014379925094544888, 0.03339415043592453, -0.004216816741973162, -0.030306467786431313, 0.02060837857425213, 0.010651717893779278, 0.013605774380266666, -0.018172170966863632, 0.016736702993512154, 0.05888265743851662, 0.02049882337450981, 0.017417531460523605, 0.0007972713210619986, -0.004547180607914925, 0.05583782121539116, -0.0160288754850626, 0.015197335742413998, 0.011372660286724567, 0.02267078496515751, -0.05029137805104256, -0.021697189658880234, 0.08141111582517624, 0.013856389559805393, 0.017143618315458298, -0.02369198575615883, -0.006891947705298662, -0.018959512934088707, -0.010367412120103836, -0.0025238513480871916, -0.0017760155024006963, -0.013564696535468102, -0.0007702690782025456, 0.04742468520998955, -0.0034769754856824875, 0.005852124188095331, 0.03089425154030323, -0.013303229585289955, 0.017993176355957985, 0.02718120999634266, 0.04506812244653702, 0.02359967865049839, 0.007700520567595959, 0.02479899488389492, 0.04047204926609993, -0.00979437492787838, 0.02443872019648552, 0.03602313622832298, 0.0027466679457575083, 0.019438480958342552, -0.012581085786223412, -0.05284440517425537, 0.03163427487015724, -0.026272261515259743, 0.018570568412542343, -0.02999945916235447, 0.02103148214519024, -0.009336726740002632, -0.002116585848852992, 0.004702744539827108, -0.011059185490012169, -0.014995952136814594, -0.036783766001462936, 0.009955334477126598, -0.03941485285758972, 0.019861508160829544, -0.0001419999316567555, -0.02955721877515316, 0.022018669173121452, -0.012753328308463097, 0.023420486599206924, 0.009555678814649582, 0.014570538885891438, 0.012793783098459244, -0.008718312717974186, -0.030644550919532776, 0.013516596518456936, -0.010015575215220451, 0.01170838251709938, 0.022825950756669044, -0.022565782070159912, 0.03798583894968033, 0.014302893541753292, -0.03455963730812073, -0.0071662720292806625, -0.03302960842847824, 0.018573075532913208, -0.018035972490906715, 0.02792907878756523, -0.04586831480264664, -0.033048536628484726, -0.002953233430162072, -0.04004499316215515, 0.012297537177801132, 0.016683071851730347, -0.02625977247953415, -0.021044719964265823, 0.026101699098944664, -0.0033167668152600527, 0.007836001925170422, 0.019239140674471855, 0.012520305812358856, 0.03717724606394768, 0.0535087063908577, -0.021686343476176262, 0.0017103791469708085, -0.04784943908452988, 0.027285538613796234, 0.006188198458403349, -0.009437783621251583, -0.02272637188434601, -0.05003480240702629, -0.008796469308435917, -0.004210811574012041, -0.0220196433365345, -0.02015502378344536, 0.0108954394236207, -0.03004702739417553, 0.024868208914995193, 0.0317985899746418, 0.06826339662075043, -0.006029512267559767, 0.013841275125741959, -0.0027676571626216173, -0.052714694291353226, -0.026435397565364838, 0.052637699991464615, -0.03557345271110535, -0.01479861419647932, -0.012374772690236568, 0.05743000656366348, 0.02236884832382202, 0.05391456559300423, 0.030361386016011238, 0.01618068479001522, -0.003541690530255437, 0.01983186975121498, -0.02922908030450344, -0.012979247607290745, 0.007510748691856861, 0.0002106025640387088, 0.01768442429602146, -0.011983192525804043, -0.03817455470561981, 0.016124388203024864, 0.02659766934812069, -0.05895378440618515, -0.019700737670063972, 0.014699945226311684, 0.029092995449900627, -0.016213979572057724, -0.05170346796512604, 0.06712044030427933, -0.0024172004777938128, -0.03114909678697586, -0.046381738036870956, -0.02778627723455429, 0.012593677267432213, 0.0182094257324934, -0.0379081554710865, -0.030733078718185425, 0.06333565711975098, 0.010638990439474583, 0.055259525775909424, -0.0009674703469499946, -0.014045254327356815, -0.009921564720571041, 0.014026143588125706, 0.035857442766427994, -0.018290139734745026, -0.02399909868836403, 0.05534229055047035, 0.006476676091551781, 0.03192956745624542, 0.02851254865527153, -0.030460556969046593, -0.010365227237343788, 0.04354114830493927, -0.0029521603137254715, 0.018209045752882957, -0.07036995142698288, 0.016391051933169365, 0.007088368758559227, 0.014530671760439873, -0.007311562541872263, -0.05198712274432182, -0.04115256294608116, -0.032471880316734314, -0.008175245486199856, 0.018429618328809738, 0.04925401508808136, -0.027578147128224373, 0.0031901290640234947, 0.0020313868299126625, 0.019237644970417023, -0.010803521610796452, 0.055378254503011703, 0.02460201270878315, -0.012005679309368134, 0.0235150009393692, 0.014613378793001175, 0.004376007243990898, 0.015605651773512363, -0.0006033944082446396, 0.04769965261220932, -0.02778221294283867, 0.00365642923861742, 0.032533638179302216, -0.05768446624279022, 0.010493870824575424, 0.03276289254426956, -0.046458784490823746, -0.003400013316422701, 0.0291205495595932, 0.03019513189792633, -0.005796018522232771, 0.021999364718794823, -0.003427226096391678, -0.005542821250855923, -0.00866837240755558, -0.002209069672971964, 0.06332296133041382, 0.014391539618372917, 0.034322045743465424, 0.0136310625821352, 0.054434265941381454, 0.051879387348890305, 0.018805842846632004, -0.023389650508761406, 0.016076499596238136, 0.05731304734945297, 0.025613296777009964, 0.02727445960044861, -0.0036495409440249205, -0.03507711738348007, -0.0078306058421731, 0.0027767170686274767, 0.007839318364858627, 0.00014194341201800853, 0.025911180302500725, -0.005957463290542364, 0.0113703403621912, 0.016029950231313705, -0.04213118180632591, 0.08094248920679092, 0.021724041551351547, 0.026364363729953766, -0.008133575320243835, 0.013953270390629768, -0.010141260921955109, 0.007987059652805328, -0.008808012120425701, -0.018179718405008316, -0.027623040601611137, -0.027634885162115097, 0.04316587373614311, 0.0020237802527844906, 0.018613921478390694, 0.0015320942038670182, 0.016217632219195366, 0.02060898207128048, 0.022937443107366562, 0.008076667785644531, -0.014221526682376862, 0.038938600569963455, 0.00360605726018548, 0.027299346402287483, 0.016158735379576683, -0.003321882337331772, -0.05752519518136978, 0.027563927695155144, -0.018560700118541718, 0.011963656172156334, -0.041230276226997375, 0.009211141616106033, 0.029206542298197746, 0.03679212927818298, -0.021594420075416565, -0.014508585445582867, 0.016389524564146996, -0.003776371479034424, -0.017131738364696503, -0.0031804030295461416, -0.016193626448512077, 0.0056370934471488, 0.00526389479637146, 0.009077298454940319, 0.030746672302484512, -0.021784299984574318, 0.004576057195663452, 0.002410538261756301, 0.00902412086725235, -0.0066922446712851524, 0.027958184480667114, 0.008344856090843678, -0.00945828203111887, 0.0014083754504099488, -0.006833577994257212, 0.0013116038171574473, -0.006386451423168182, -0.022926151752471924, -0.03542643040418625, -0.02448432520031929, 0.005926653277128935, -0.0045850565657019615, 0.06479465961456299, -0.00014177386765368283, -0.010678786784410477, -0.027421075850725174, -0.009416610933840275, -0.03604672849178314, 0.0013443193165585399, 0.02028796635568142, 0.005526928696781397, 0.015609486028552055, 0.008194290101528168, 0.008406073786318302, 0.02448185347020626, -0.009044782258570194, 0.02314036525785923, 0.045580171048641205, -0.013767668046057224, -0.03642575815320015, -0.013226841576397419, 0.06737087666988373, -0.012886385433375835, 0.043184299021959305, 0.03567282855510712, 0.01313613262027502, -0.007983854040503502, -0.0191836915910244, 0.014133636839687824, -0.03418731689453125, 0.0405295230448246, -0.01057845912873745, -0.024997666478157043, -0.026303883641958237, 0.007390664890408516, 0.0005613391404040158, -0.007185898255556822, -0.023080402985215187, -0.04772722348570824, -0.012063181959092617, -0.02913239598274231, -0.04862634092569351, -0.019649704918265343, 0.09339523315429688, 0.033166125416755676, 0.020629988983273506, -0.006920426618307829, -0.021623428910970688, 0.0019732904620468616, -0.023328889161348343, 0.037933479994535446, 0.0014949885662645102, -0.02031436748802662, -0.030214305967092514, -0.014917253516614437, 0.006877975072711706, -0.04945309832692146, -0.07605360448360443, 0.010333203710615635, -0.003962117247283459, -0.02664867229759693, -0.007923409342765808, -0.017196476459503174, 0.019981835037469864, 0.03465931862592697, 0.03409525379538536, -0.022092239931225777, -0.021507609635591507, -0.02064618654549122, 0.008562451228499413, -0.07412765920162201, 0.020885419100522995, 0.011508788913488388, -0.01614285446703434, 0.01209184993058443, 0.010710947215557098, 0.007859273813664913, -0.026265952736139297, -0.016225280240178108, 0.0035505725536495447, -0.00009787642193259671, -0.05021253228187561, -0.030655434355139732, -0.009932008571922779, 0.020347144454717636, -0.0269135981798172, -0.05557402968406677, -0.002264039358124137, 0.006965047679841518, -0.04479697719216347, -0.004522656090557575, 0.008479995653033257, -0.0010837140725925565, -0.002924902131780982, 0.014369331300258636, -0.03779272362589836, 0.05545028671622276, 0.030600260943174362, -0.007908797822892666, -0.03606759384274483, -0.011720752343535423 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
Using text-generation-inference and Inference Endpoints Text Generation Inference is a production-ready inference container developed by Hugging Face to enable easy deployment of large language models. It has features such as continuous batching, token streaming, tensor parallelism for fast inference on multiple GPUs, and production-ready logging and tracing. You can try out Text Generation Inference on your own infrastructure, or you can use Hugging Face's Inference Endpoints. To deploy a Llama 2 model, go to the model page and click on the Deploy -> Inference Endpoints widget. - For 7B models, we advise you to select "GPU [medium] - 1x Nvidia A10G". - For 13B models, we advise you to select "GPU [xlarge] - 1x Nvidia A100". - For 70B models, we advise you to select "GPU [2xlarge] - 2x Nvidia A100" with bitsandbytes quantization enabled or "GPU [4xlarge] - 4x Nvidia A100" Note: You might need to request a quota upgrade via email to [email protected] to access A100s You can learn more on how to Deploy LLMs with Hugging Face Inference Endpoints in our blog. The blog includes information about supported hyperparameters and how to stream your response using Python and Javascript.
[ 0.0007319878204725683, -0.006186254322528839, 0.05400911718606949, -0.029779484495520592, 0.027905231341719627, 0.023646146059036255, 0.03200143948197365, 0.047976162284612656, -0.004863397683948278, -0.03394850715994835, -0.09115021675825119, -0.026521090418100357, 0.015125236473977566, 0.059229835867881775, 0.022265084087848663, -0.06440859287977219, -0.006868417374789715, 0.022002220153808594, -0.03598363324999809, 0.037025101482868195, 0.035471368581056595, -0.021928679198026657, 0.03263511508703232, 0.0016046073287725449, -0.04723320156335831, -0.050162237137556076, 0.0025731788482517004, 0.00785125233232975, 0.04688883200287819, 0.014671587385237217, -0.05796211212873459, -0.03321883827447891, -0.021288542076945305, 0.01056648138910532, 0.03271368518471718, 0.01358808670192957, -0.1680169552564621, 0.040507521480321884, 0.024797897785902023, 0.03492768108844757, -0.004001093562692404, -0.0017416523769497871, -0.05884228274226189, 0.00686107249930501, 0.012087691575288773, -0.0023789990227669477, -0.04546649754047394, 0.004547412507236004, -0.04493841528892517, 0.020133573561906815, -0.10666628181934357, 0.09089770168066025, -0.049279384315013885, -0.047762323170900345, 0.045582618564367294, 0.0471716932952404, -0.03721196949481964, -0.1351516842842102, 0.05522921681404114, 0.01986643858253956, -0.004881825298070908, -0.0163332037627697, 0.037422895431518555, 0.06139792874455452, 0.046376124024391174, -0.02676144614815712, -0.010497979819774628, 0.0003754400531761348, -0.028655346482992172, -0.003788112197071314, 0.004980397876352072, 0.02426832541823387, -0.01413310132920742, -0.04551520198583603, 0.011615512892603874, -0.022332647815346718, -0.026536602526903152, 0.009872285649180412, 0.012860145419836044, 0.010532514192163944, -0.059462398290634155, 0.02979259192943573, 0.029736211523413658, -0.008971497416496277, 0.0020137999672442675, 0.14066046476364136, 0.036488939076662064, -0.039312899112701416, -0.05037885904312134, 0.0030540351290255785, -0.027018621563911438, -0.11476923525333405, -0.033404506742954254, 0.04529097303748131, 0.018766196444630623, 0.05283942446112633, 0.024088017642498016, 0.052564676851034164, 0.0021667827386409044, -0.058758195489645004, 0.01758441887795925, -0.07483503222465515, -0.01181778870522976, -0.055260006338357925, -0.09394002705812454, 0.054875586181879044, -0.010665453970432281, -0.05446349084377289, -0.057268958538770676, 0.024673309177160263, 0.009955448098480701, -0.03268061578273773, 0.04004507511854172, 0.05357447266578674, -0.07709389179944992, -0.003092403756454587, -0.05151502043008804, 0.015438186936080456, 0.017713818699121475, -0.0246563833206892, 0.041717782616615295, 0.09185979515314102, 0.06304385513067245, -0.020137976855039597, -0.049906764179468155, 0.07024272531270981, 0.03237506374716759, -0.018964316695928574, 0.015617679804563522, 0.011123991571366787, 0.0054070474579930305, -0.06351139396429062, 0.006351195741444826, -0.005696143954992294, 0.0433817096054554, -0.07797367125749588, -0.009159588254988194, -0.10485000908374786, 0.019805101677775383, -0.017331205308437347, -0.018658755347132683, 0.03370492905378342, 0.04609280824661255, -0.04715513437986374, 0.0648886114358902, -0.0031207981519401073, -0.0699976310133934, -0.048366956412792206, -0.01626124419271946, 0.037932388484478, -0.11963600665330887, 0.04408838227391243, -0.03312191367149353, -0.019196972250938416, 0.024825481697916985, 0.02559073455631733, -0.0001698624691925943, 0.05152406916022301, -0.11095726490020752, -0.024798408150672913, -0.04098459333181381, -0.05756360664963722, -0.014181549660861492, 0.016626203432679176, -0.026636136695742607, -0.010846724733710289, -0.015414790250360966, 0.02115900255739689, -0.007160579320043325, -0.005451057571917772, 0.0067836083471775055, -0.033957354724407196, 0.05231768265366554, -0.03603692352771759, 0.07147763669490814, 0.024826712906360626, 0.008617709390819073, 0.008432680740952492, 0.021334681659936905, -0.012945255264639854, -0.07434213906526566, 0.06255599856376648, 0.02205088920891285, 0.02340046688914299, 0.014998096972703934, -0.08841598033905029, 0.014804938808083534, -0.06581079214811325, -0.01853376440703869, -0.030262500047683716, -0.00947810709476471, -0.006399837788194418, 0.06233241409063339, -0.0004621643165592104, 0.01237464975565672, -0.06959859281778336, -0.056818559765815735, 0.11452539265155792, 0.06246315315365791, 0.05200386419892311, 0.020095761865377426, 0.062826968729496, 0.07455293089151382, -0.025795532390475273, -0.046014539897441864, 0.024278104305267334, -0.03439759090542793, -0.02386028692126274, -0.026818910613656044, 0.06767170876264572, 0.023165032267570496, -0.11153818666934967, 0.046101778745651245, -0.0408175103366375, -0.004165880847722292, -0.04796847328543663, -0.02169989049434662, -0.06114573031663895, 0.038634032011032104, -0.04819179326295853, 0.1522561013698578, -0.09899117797613144, 0.006826365366578102, -0.0731939822435379, -0.004160250537097454, -0.0026322989724576473, 0.03368701785802841, 0.06239939108490944, 0.031423673033714294, -0.0748617872595787, -0.01932351104915142, -0.05914755538105965, -0.025843530893325806, 0.02691236510872841, 0.02435690350830555, -0.0005783239612355828, 0.023270733654499054, -0.019279245287179947, 0.017422901466488838, -0.05910810828208923, 0.06887185573577881, 0.054041966795921326, -0.030982710421085358, -0.02975700981914997, 0.02092418074607849, -0.059086669236421585, 0.0666346475481987, 0.03116401843726635, -0.06200120598077774, -0.08077029883861542, -0.023662343621253967, 0.042646374553442, 0.013555371202528477, 0.007537968922406435, 0.005256878212094307, -0.021509669721126556, -0.02474912256002426, 0.009284398518502712, -0.015534834004938602, 0.05126188322901726, 0.0006805131561122835, -0.025021430104970932, 0.026080822572112083, -0.027623150497674942, 0.03164369985461235, -0.04996136575937271, -0.023647546768188477, 0.002244141884148121, -0.027019502595067024, -0.012290645390748978, 0.04265042394399643, -0.028813041746616364, 0.021412955597043037, 0.006882534362375736, 0.041283391416072845, 0.005132622551172972, 0.06349233537912369, -0.009686247445642948, -0.02814055047929287, -0.03734555467963219, 0.016681570559740067, -0.023602986708283424, -0.00832246895879507, 0.063343845307827, -0.002523133996874094, -0.036220524460077286, 0.006745526101440191, -0.021595003083348274, -0.03566768020391464, 0.03023993968963623, 0.030743926763534546, -0.011464801616966724, 0.002016642829403281, -0.019646989181637764, -0.00679737376049161, 0.020947514101862907, 0.030154841020703316, -0.003917456138879061, 0.006933923810720444, 0.026516225188970566, -0.011145132593810558, -0.020180681720376015, -0.02831096202135086, 0.013464541174471378, -0.013788416050374508, 0.042301028966903687, -0.013064713217318058, 0.014044813811779022, -0.07373734563589096, -0.03152655065059662, -0.03510158881545067, -0.019523927941918373, -0.01790526509284973, -0.016943180933594704, 0.042076677083969116, -0.047107622027397156, 0.0029577487148344517, 0.04071031138300896, -0.01839255541563034, 0.028490545228123665, 0.0019341206643730402, -0.044441696256399155, 0.00471258070319891, -0.025851359590888023, -0.001365718082524836, -0.059904973953962326, 0.03117956593632698, 0.02108576148748398, -0.02007773518562317, -0.005448651034384966, 0.01568210870027542, -0.0057022059336304665, 0.013322724960744381, -0.017072325572371483, 0.027207141742110252, -0.0024307281710207462, 0.03584242984652519, -0.03559832647442818, 0.008274347521364689, -0.03548456355929375, -0.005131043493747711, -0.01346738263964653, -0.07007066160440445, 0.013490972109138966, 0.035889483988285065, -0.024278689175844193, -0.0028193907346576452, -0.006036022212356329, 0.03724050149321556, 0.019962744787335396, -0.008564293384552002, -0.030850108712911606, -0.002748396247625351, 0.01110100094228983, -0.00030490054632537067, 0.03797173127532005, 0.04685078561306, -0.03273643180727959, 0.010942845605313778, 0.008368371054530144, 0.00900182593613863, 0.02577282302081585, 0.003216973040252924, 0.012461405247449875, 0.027842368930578232, 0.0035437229089438915, 0.03004583716392517, -0.008192175067961216, -0.10188553482294083, 0.008795284666121006, -0.0217644851654768, -0.019979150965809822, -0.012249994091689587, 0.07504121214151382, 0.024987274780869484, -0.032717760652303696, 0.006996176205575466, 0.039192281663417816, -0.0005997145781293511, 0.08869943767786026, 0.019855160266160965, 0.003881725948303938, -0.03643457219004631, -0.010282638482749462, -0.03418561816215515, -0.07433066517114639, 0.03588460013270378, 0.01965111680328846, 0.008964013308286667, -0.0017120252596214414, -0.033947281539440155, -0.0033899631816893816, 0.027351191267371178, -0.00786074623465538, 0.023018084466457367, -0.031116696074604988, 0.027779893949627876, 0.03153689205646515, -0.010508470237255096, -0.005065021105110645, 0.016746779903769493, 0.002357312710955739, 0.004357985220849514, -0.019791165366768837, 0.007271376438438892, 0.05070233345031738, 0.005355301778763533, 0.0071444143541157246, -0.0048723346553742886, -0.05023918300867081, -0.005925055593252182, -0.003008892061188817, -0.0512005090713501, 0.04164707660675049, 0.011585449799895287, 0.008001778274774551, 0.009626868180930614, 0.009076660498976707, 0.009906311519443989, 0.000217200125916861, -0.01140693947672844, 0.004458899609744549, 0.024809038266539574, 0.04121624678373337, 0.017093095928430557, -0.0016886322991922498, -0.011543672531843185, -0.010015668347477913, -0.011668844148516655, 0.03834594041109085, 0.03691143915057182, -0.0488685667514801, 0.05452459678053856, 0.029603615403175354, 0.005386849865317345, 0.007966553792357445, -0.0011026231804862618, -0.030943550169467926, -0.02173040248453617, 0.025546476244926453, 0.06498613208532333, 0.016243427991867065, 0.01757897436618805, -0.005386502481997013, -0.04855412617325783, -0.014120166189968586, 0.01068883016705513, 0.024977492168545723, -0.025050334632396698, 0.02356564812362194, -0.013102485798299313, -0.01608515903353691, 0.004257941152900457, 0.032160863280296326, -0.010568907484412193, -0.0012145538348704576, -0.05982350930571556, 0.03265497088432312, 0.01429209765046835, -0.0161563940346241, -0.005587309133261442, 0.03137117996811867, 0.051284559071063995, 0.013668794184923172, -0.025439275428652763, 0.0025587405543774366, 0.014551474712789059, 0.024725977331399918, 0.007199565414339304, 0.017415810376405716, -0.009748817421495914, 0.0106407031416893, 0.01890948973596096, -0.004486753139644861, 0.0024712930899113417, -0.012612534686923027, -0.018099622800946236, -0.031463224440813065, -0.0390482060611248, 0.029467027634382248, 0.030810846015810966, -0.022944357246160507, 0.0122300386428833, 0.06279480457305908, 0.033766910433769226, 0.014153226278722286, 0.007136169355362654, 0.01853603683412075, -0.004018982872366905, -0.046910159289836884, 0.06832566857337952, -0.009897740557789803, 0.015208321623504162, 0.05021098628640175, 0.06722493469715118, 0.06592423468828201, 0.019747354090213776, 0.0006220524664968252, -0.0075258519500494, 0.016005700454115868, 0.01456991583108902, -0.03328760713338852, -0.03081447072327137, -0.015951775014400482, -0.0050676558166742325, 0.03230118751525879, 0.02419462241232395, -0.017854254692792892, 0.02161598391830921, 0.04974306374788284, -0.04489951580762863, 0.0032757106237113476, 0.014482911676168442, 0.011415169574320316, -0.0006245920085348189, -0.01639794558286667, 0.03062838688492775, 0.008919289335608482, -0.018195416778326035, -0.024297155439853668, -0.018178056925535202, 0.019469112157821655, 0.002484857104718685, -0.03333953768014908, -0.01372178178280592, 0.029548827558755875, 0.042493369430303574, 0.05184120684862137, -0.04998202621936798, -0.022352196276187897, 0.0011024016421288252, -0.03809954598546028, -0.009132771752774715, -0.017725296318531036, -0.006452228873968124, 0.014530256390571594, -0.0010591212194412947, -0.00923033058643341, 0.01944824494421482, -0.022489294409751892, 0.021064668893814087, 0.06027271971106529, 0.028801389038562775, 0.03007713332772255, -0.027116023004055023, 0.020526738837361336, 0.05672333762049675, 0.034985486418008804, -0.0011338461190462112, -0.01957589015364647, -0.012318724766373634, -0.006726529914885759, -0.0037808192428201437, 0.04554200544953346, 0.006571860983967781, -0.04136616736650467, -0.043114762753248215, 0.03637678548693657, 0.017675092443823814, -0.01983148790895939, -0.014360392466187477, -0.007428634911775589, 0.011495018377900124, 0.03750850260257721, 0.05340730398893356, -0.009826882742345333, 0.0044143483974039555, -0.0061010983772575855, -0.01440480723977089, -0.012880993075668812, 0.040777288377285004, -0.024596061557531357, -0.047086335718631744, 0.009561716578900814, -0.02716316282749176, -0.002856825478374958, 0.028648221865296364, 0.03379204869270325, 0.005878593772649765, -0.03487229347229004, 0.004286088515073061, 0.008541153743863106, 0.02289041317999363, -0.008338769897818565, -0.000050858456233982, 0.03667927905917168, 0.00008462071855319664, 0.016336606815457344, 0.013021126389503479, 0.06627321988344193, 0.022563226521015167, -0.007814840413630009, 0.032018277794122696, -0.0371912345290184, 0.11704794317483902, 0.03697022795677185, 0.026272064074873924, 0.019366802647709846, -0.032638296484947205, 0.011886417865753174, 0.00916952546685934, -0.028196746483445168, -0.008709213696420193, -0.0029281300958245993, 0.04435093700885773, 0.00005790696377516724, 0.044073525816202164, -0.002481985604390502, 0.07235182076692581, 0.008057544939219952, 0.025897879153490067, -0.02119276113808155, 0.007493024226278067, -0.00946841761469841, 0.0029428338166326284, 0.009104357101023197, 0.015463927760720253, 0.03344946354627609, -0.02806335873901844, 0.01650579646229744, 0.04190470278263092, 0.03677094355225563, 0.0018329201266169548, 0.020179633051156998, -0.036582425236701965, -0.022702332586050034, 0.008243553340435028, 0.0033189209643751383, 0.025541439652442932, 0.0386132188141346, 0.005881534423679113, -0.014691793359816074, -0.023389378562569618, 0.03172461315989494, 0.002814756939187646, 0.019151179119944572, -0.007151752710342407, -0.0119553841650486, -0.01577872224152088, 0.04517542943358421, 0.028996996581554413, -0.07204309105873108, -0.010498796589672565, -0.019354218617081642, -0.009790950454771519, -0.012040643952786922, -0.0345834419131279, -0.02711789496243, -0.005376926623284817, -0.011781278066337109, 0.020637812092900276, 0.010142350569367409, -0.007565298117697239, 0.022943250834941864, 0.02757473662495613, 0.017544807866215706, 0.01883295737206936, -0.01589406281709671, 0.017148464918136597, 0.03077745996415615, -0.026470694690942764, -0.019643399864435196, 0.028807178139686584, -0.024976709857583046, -0.013741297647356987, -0.023183191195130348, -0.02845594845712185, -0.01984524540603161, 0.00042541668517515063, 0.05777335911989212, 0.069954052567482, -0.021483395248651505, -0.029509378597140312, 0.026743557304143906, -0.0042144423350691795, -0.014483792707324028, 0.03853879123926163, 0.0018335952190682292, -0.01804802380502224, -0.010539221577346325, -0.002944943029433489, 0.0016327748307958245, -0.010562769137322903, 0.003410614561289549, 0.07341616600751877, 0.0057578072883188725, -0.06055614724755287, -0.007555078249424696, 0.03563995659351349, -0.002728450344875455, 0.06414880603551865, 0.03247544541954994, -0.012825211510062218, 0.001769720809534192, 0.004344808869063854, 0.004487502854317427, -0.05427239462733269, 0.015663636848330498, -0.025399480015039444, -0.014516840688884258, -0.04413611441850662, 0.018856506794691086, -0.025217924267053604, 0.024661488831043243, -0.009016094729304314, 0.004481806419789791, -0.031011823564767838, -0.022038534283638, -0.012927241623401642, -0.00644493754953146, 0.07673907279968262, 0.04402709752321243, 0.02794984169304371, -0.03176254779100418, -0.0221344456076622, 0.026046806946396828, 0.009039001539349556, 0.01557653397321701, 0.05860225111246109, 0.0010667865863069892, -0.02236476168036461, -0.02819078229367733, -0.012030632235109806, 0.013697520829737186, -0.03400295227766037, 0.03945908322930336, -0.01193868275731802, -0.0011460526147857308, -0.018948916345834732, 0.041384272277355194, 0.06315937638282776, 0.015880830585956573, 0.025427406653761864, -0.03568967059254646, 0.009244822897017002, -0.002100373851135373, -0.02357846312224865, -0.0685594379901886, -0.02304002456367016, -0.0028820857405662537, 0.006376019679009914, 0.030341770499944687, -0.01917661353945732, 0.0465705469250679, -0.01668059639632702, 0.00431421771645546, 0.006027365103363991, -0.010239125229418278, -0.025051068514585495, -0.008080294355750084, 0.0340428352355957, 0.02264311909675598, -0.03546261414885521, -0.01055811159312725, -0.029683800414204597, -0.003820007899776101, -0.007746923714876175, 0.002738931914791465, -0.021257437765598297, -0.029438231140375137, 0.007409753277897835, 0.015789374709129333, 0.003035578178241849, 0.05501216650009155, 0.08439431339502335, 0.00459354929625988, -0.04613157734274864, -0.022381223738193512 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
Additional Resources - Paper Page - Models on the Hub - Leaderboard - Meta Examples and recipes for Llama model - Chat demo (7B) - Chat demo (13B) - Chat demo (70B) on TGI
[ 0.023735150694847107, 0.004757062532007694, 0.07706493884325027, -0.010081554763019085, 0.1442602425813675, 0.04152439907193184, 0.024993307888507843, 0.07915365695953369, -0.03369925543665886, -0.0695641040802002, -0.038090240210294724, 0.06078292801976204, 0.007449781522154808, 0.05200725793838501, -0.01820090413093567, 0.007092028856277466, 0.0046177813783288, 0.012605837546288967, 0.018529431894421577, 0.02969462051987648, -0.007815763354301453, -0.0451444648206234, 0.02812759205698967, -0.043172385543584824, 0.00838751345872879, 0.0016684341244399548, 0.020687980577349663, 0.06902574747800827, -0.0001474691671319306, -0.019872570410370827, -0.06803025305271149, -0.010971896350383759, 0.019058596342802048, -0.024227989837527275, 0.030828004702925682, -0.0017801839858293533, -0.11203625053167343, 0.025654897093772888, -0.0009154281578958035, -0.007958576083183289, 0.003410709323361516, -0.0402553454041481, 0.0064145964570343494, 0.06085680052638054, 0.01309085451066494, 0.014304395765066147, -0.20120753347873688, 0.0343908928334713, -0.010184680111706257, -0.0006085581262595952, -0.10470949113368988, 0.0762244462966919, -0.0006028136122040451, -0.02958826906979084, 0.027787799015641212, 0.01082697231322527, 0.049903880804777145, -0.06551339477300644, -0.013891506940126419, 0.04387158900499344, 0.07759442180395126, 0.05273691564798355, 0.03539009019732475, -0.013194948434829712, -0.02392083778977394, -0.0004516535555012524, -0.01051426213234663, 0.019863910973072052, -0.05609315633773804, 0.04913332313299179, 0.0014807656407356262, 0.007956650108098984, -0.03602271527051926, -0.009644465520977974, 0.06870153546333313, -0.056455016136169434, -0.02917141281068325, 0.06103677675127983, 0.042210232466459274, 0.021795062348246574, -0.045618653297424316, 0.000026326013539801352, 0.09538640081882477, 0.04269348084926605, -0.005592173896729946, 0.035727258771657944, 0.06270921975374222, -0.009144746698439121, -0.015644485130906105, 0.04423903673887253, -0.06658414006233215, -0.09561660885810852, -0.03769697621464729, 0.034348245710134506, 0.07614273577928543, -0.0176324974745512, 0.04325912147760391, -0.0003879501309711486, 0.03015461377799511, -0.0054225316271185875, -0.04551156610250473, -0.05137788504362106, 0.022845197468996048, -0.006641771178692579, -0.050234533846378326, -0.013208705000579357, -0.01092158816754818, -0.14808280766010284, -0.0506739616394043, 0.006984806153923273, -0.01589575782418251, -0.0249770674854517, 0.07023131102323532, 0.0365748330950737, -0.029563112184405327, 0.06630875915288925, -0.025860048830509186, -0.017630184069275856, -0.011531638912856579, 0.04378731921315193, 0.048175789415836334, 0.06538592278957367, 0.06353437900543213, 0.003983234986662865, 0.05812068656086922, 0.09125209599733353, 0.02654961682856083, 0.022444844245910645, -0.04449019953608513, -0.03940882161259651, 0.07794611901044846, -0.054894525557756424, 0.028398694470524788, -0.07377837598323822, -0.015384074300527573, -0.06802749633789062, -0.014781023375689983, -0.02867576852440834, 0.03216630965471268, -0.004222893621772528, -0.01390899159014225, 0.034101661294698715, 0.0038110753521323204, 0.03058723919093609, 0.019305776804685593, -0.05362270772457123, -0.062486473470926285, 0.0023045784328132868, -0.03294502943754196, -0.051891226321458817, -0.007911710999906063, 0.023224957287311554, 0.026306841522455215, -0.01607615314424038, 0.032851263880729675, 0.005049923900514841, -0.016311444342136383, -0.019638432189822197, -0.05514773726463318, 0.005283477250486612, 0.019288260489702225, 0.026342598721385002, -0.007925157435238361, 0.027478881180286407, 0.07789529860019684, -0.011756442487239838, -0.053687404841184616, 0.010754158720374107, -0.009873115457594395, -0.058111801743507385, -0.024549121037125587, -0.04784456640481949, 0.06607142090797424, 0.024442914873361588, -0.08742881566286087, 0.10681143403053284, 0.040812183171510696, 0.0096567552536726, 0.035599853843450546, 0.01623116247355938, -0.0219715666025877, -0.01297693233937025, -0.013859037309885025, -0.008525694720447063, 0.017822332680225372, -0.10542373359203339, 0.034163665026426315, -0.003902473021298647, -0.05595887452363968, -0.02183408848941326, -0.04902783781290054, 0.017100676894187927, 0.10058582574129105, 0.05667099356651306, -0.00979339238256216, -0.033401716500520706, -0.034713421016931534, 0.06432180851697922, 0.11096157133579254, 0.08963610231876373, 0.022827094420790672, 0.09724701941013336, 0.008904734626412392, -0.012915460392832756, -0.07755890488624573, 0.02852960303425789, 0.01905158907175064, -0.011285168118774891, 0.0013292612275108695, -0.01074070855975151, -0.0020050406455993652, -0.09059084206819534, 0.08319193124771118, -0.04326614737510681, 0.036755722016096115, -0.028884168714284897, -0.006048853509128094, 0.006085056811571121, 0.04796081781387329, -0.026535429060459137, 0.16479180753231049, -0.008700857870280743, -0.0031796558760106564, 0.00047148799058049917, 0.02965294010937214, 0.06144075468182564, 0.09411934018135071, 0.03229715675115585, 0.07034936547279358, -0.04778420180082321, 0.006120981648564339, 0.01344970241189003, 0.007308549247682095, 0.09244228899478912, 0.026272134855389595, 0.023631416261196136, -0.0029421173967421055, -0.02458018623292446, 0.06706520169973373, -0.06588701903820038, 0.046294525265693665, 0.0024638830218464136, -0.011979394592344761, 0.05185971036553383, -0.032672882080078125, -0.008504964411258698, 0.022013237699866295, 0.041287437081336975, -0.0823749452829361, 0.04062272608280182, -0.014156103134155273, 0.07246483117341995, 0.05369669571518898, -0.008433077484369278, -0.015042324550449848, -0.01887614093720913, -0.005843596067279577, -0.025094546377658844, -0.021668635308742523, 0.04514187574386597, 0.019073348492383957, -0.0002583224850241095, -0.04592176899313927, -0.042489372193813324, 0.011160267516970634, -0.014769109897315502, -0.010313201695680618, -0.03299650177359581, -0.04125411808490753, -0.027829913422465324, 0.03899935260415077, -0.014621068723499775, 0.017501454800367355, -0.013761417008936405, 0.007619492243975401, -0.03718625009059906, -0.005404948722571135, -0.01569586619734764, -0.004210978280752897, -0.020945362746715546, -0.022943701595067978, -0.0030547799542546272, 0.050036270171403885, 0.03741147369146347, 0.03180836886167526, -0.003873733337968588, 0.020466012880206108, -0.04925186187028885, -0.040565185248851776, -0.024284852668642998, 0.004278624430298805, -0.0033821919932961464, -0.003061126684769988, 0.024790314957499504, -0.00010005244257627055, -0.04815410450100899, 0.014424006454646587, 0.03155987337231636, -0.04637249931693077, -0.00017390618450008333, 0.026816250756382942, -0.010275067761540413, 0.0018172968411818147, 0.01754464954137802, -0.01186995767056942, 0.021439597010612488, 0.009685590863227844, 0.0003294507332611829, -0.1228882223367691, -0.033886753022670746, 0.005687774624675512, 0.006438448093831539, -0.027076758444309235, -0.03246099874377251, 0.05004430189728737, -0.04619783163070679, -0.004133045673370361, 0.00823267176747322, -0.03039991296827793, 0.008886690251529217, 0.009343053214251995, -0.029814312234520912, -0.03247848153114319, 0.013096136972308159, -0.0096281124278903, -0.00534457340836525, 0.023702526465058327, 0.006356994155794382, -0.03028705157339573, 0.061928216367959976, -0.008872322738170624, -0.010813606902956963, -0.05695456638932228, 0.014678960666060448, 0.0411435104906559, -0.005241976585239172, 0.030656976625323296, -0.032613370567560196, 0.003963823430240154, 0.027299275621771812, -0.04006019979715347, 0.023865025490522385, -0.034279294312000275, 0.006073016207665205, -0.036102548241615295, -0.000014671395547338761, 0.05775432661175728, 0.06226528435945511, 0.010682514868676662, 0.01374585460871458, 0.05875023081898689, -0.02112446166574955, -0.017781518399715424, 0.01889524795114994, -0.011003516614437103, -0.01422923430800438, 0.043653421103954315, -0.011029628105461597, -0.007927240803837776, -0.018863586708903313, -0.00439108582213521, 0.05165264382958412, 0.019205380231142044, 0.008121113292872906, -0.01976904831826687, 0.01569187082350254, 0.025720607489347458, -0.04830748960375786, -0.04644884914159775, 0.0397312268614769, -0.033895403146743774, 0.006892611738294363, -0.04520784690976143, 0.05714612081646919, 0.0034909825772047043, 0.010230053216218948, -0.017410583794116974, 0.0055795349180698395, 0.007619970012456179, 0.018219033256173134, -0.010532618500292301, 0.010598152875900269, -0.019081149250268936, 0.027530761435627937, -0.024709561839699745, -0.027291659265756607, 0.08089461177587509, 0.014888368546962738, 0.01435150858014822, -0.03288159891963005, -0.03626815974712372, -0.01577012799680233, -0.01130561251193285, -0.028357211500406265, 0.01789180189371109, -0.0016352682141587138, -0.014998650178313255, 0.040358442813158035, -0.021500239148736, -0.023187484592199326, 0.03871029615402222, 0.010060937143862247, 0.01946205645799637, 0.030543668195605278, 0.034137941896915436, 0.004839965607970953, 0.0032820776104927063, 0.022866789251565933, 0.036597613245248795, -0.01782582886517048, -0.0059259068220853806, 0.019824059680104256, -0.02529745176434517, 0.06463302671909332, -0.016038866713643074, -0.0475846566259861, 0.004456914961338043, -0.01819574274122715, -0.0015793603379279375, -0.027983563020825386, 0.03122931532561779, 0.0040625836700201035, -0.014351077377796173, 0.0012310046004131436, -0.033588699996471405, 0.006383299827575684, -0.01878449134528637, 0.008773967623710632, -0.00904191005975008, -0.014644548296928406, 0.007994593121111393, -0.031049368903040886, 0.026178942993283272, -0.02070634812116623, 0.010524764657020569, -0.00820563081651926, 0.0074690296314656734, 0.021228192374110222, -0.02660740539431572, -0.05649441480636597, 0.003605322912335396, 0.03792989253997803, 0.014491873793303967, 0.05640044063329697, -0.020985104143619537, 0.039422743022441864, -0.016786178573966026, -0.09642861783504486, -0.024483252316713333, 0.03090219758450985, 0.01779801957309246, -0.042966701090335846, 0.021312935277819633, -0.0004998590447939932, -0.03642087057232857, -0.011603904888033867, -0.009129093028604984, 0.04069749265909195, 0.038854002952575684, -0.011065258644521236, -0.02049870416522026, 0.006885170936584473, 0.007462035398930311, 0.03316027671098709, -0.015446565113961697, 0.027806630358099937, -0.012957853265106678, 0.0405426062643528, -0.010860325768589973, -0.0002804771647788584, -0.0704556480050087, 0.04801548644900322, -0.02318784035742283, 0.018761657178401947, -0.009117638692259789, -0.025435347110033035, 0.025123246014118195, -0.03357212245464325, -0.040491364896297455, 0.012234547175467014, 0.008419014513492584, -0.011461934074759483, 0.0320424847304821, 0.028463637456297874, 0.036763425916433334, 0.004038326442241669, 0.03081371821463108, 0.04246615618467331, -0.06738750636577606, -0.047281842678785324, 0.03840574994683266, -0.015194975771009922, -0.0008655935525894165, 0.038111064583063126, 0.06183076649904251, -0.0007172418409027159, 0.0614498145878315, 0.03963105008006096, -0.015172547660768032, 0.0011396160116419196, 0.028949176892638206, 0.0009749767486937344, 0.0037450750824064016, 0.018426397815346718, 0.005384388379752636, 0.0031848361250013113, -0.0021987201180309057, 0.003274883609265089, 0.04827960580587387, 0.018649021163582802, -0.05223097279667854, -0.003093114122748375, -0.0018848911859095097, -0.004067901521921158, 0.014348127879202366, -0.044464096426963806, 0.014768891036510468, -0.0434606596827507, -0.030693134292960167, -0.029454560950398445, -0.012618251144886017, -0.027614669874310493, 0.02056337334215641, -0.02821202389895916, -0.027945805341005325, 0.005902876611799002, 0.03491523116827011, 0.037443432956933975, 0.008080145344138145, -0.027546262368559837, 0.00018637966422829777, 0.027946515008807182, 0.0163746140897274, 0.0035213695373386145, 0.012808242812752724, 0.01685578189790249, -0.02023644931614399, -0.014781191945075989, 0.04189720377326012, -0.024006212130188942, 0.031629256904125214, 0.05662068724632263, -0.004929665010422468, 0.03022708371281624, -0.08244586735963821, -0.009029822424054146, 0.07097878307104111, 0.0000830861899885349, 0.0015523676993325353, -0.016166923567652702, -0.04682488366961479, -0.022906867787241936, -0.04754641652107239, -0.00048780368524603546, 0.07130692899227142, 0.0024367074947804213, 0.01028403453528881, 0.008937192149460316, 0.012940507382154465, -0.026104487478733063, 0.021749572828412056, 0.011792972683906555, -0.025279030203819275, -0.006752973888069391, 0.011357381939888, -0.007987930439412594, 0.022678131237626076, 0.0023789629340171814, -0.010420218110084534, 0.01765035092830658, 0.017765522003173828, 0.025467239320278168, -0.04095436632633209, 0.03484686091542244, -0.011232299730181694, -0.023642614483833313, -0.006445424631237984, 0.018199382349848747, 0.012194064445793629, 0.03525248169898987, 0.00011716276640072465, -0.026395004242658615, -0.006659741513431072, -0.03650106489658356, 0.02241414226591587, 0.05845220759510994, 0.027856260538101196, 0.015807650983333588, 0.01977081596851349, 0.02528703585267067, -0.02157285250723362, 0.024639572948217392, -0.032485153526067734, 0.05043817684054375, 0.0156042305752635, 0.018095966428518295, 0.01117983553558588, 0.02531909942626953, -0.006842715200036764, -0.019206315279006958, -0.038443341851234436, -0.021491654217243195, -0.023645423352718353, 0.03569481521844864, 0.00510606961324811, 0.004636203870177269, -0.022704914212226868, -0.03933107852935791, 0.05232338607311249, 0.007087271194905043, -0.007663085591048002, 0.0003119365428574383, -0.0020856386981904507, -0.018338080495595932, -0.02424508146941662, 0.006857445929199457, 0.013940944336354733, -0.0009220574283972383, -0.016045523807406425, 0.04909824952483177, -0.010135943070054054, -0.013217139057815075, -0.013671577908098698, -0.02630881406366825, 0.012498882599174976, 0.003323790617287159, 0.01604282855987549, -0.009583834558725357, 0.03784732520580292, 0.002135135233402252, -0.00796507764607668, -0.01900460757315159, -0.023248372599482536, -0.06310560554265976, -0.017184272408485413, -0.018292853608727455, 0.01277345884591341, -0.022720659151673317, 0.0016676803352311254, 0.029829250648617744, 0.013025662861764431, -0.02400113083422184, -0.007025186438113451, 0.0272858627140522, -0.01475767232477665, -0.0415181927382946, -0.02091953530907631, -0.018880004063248634, -0.012156005948781967, 0.01695346273481846, -0.021071607246994972, -0.03083200938999653, 0.006629853509366512, -0.01617235504090786, -0.007808132562786341, 0.016099870204925537, -0.01717468909919262, 0.0198970939964056, -0.019500305876135826, 0.004057231359183788, -0.025791563093662262, 0.02787957340478897, -0.0007724761962890625, -0.013183879666030407, -0.01936747506260872, -0.016244689002633095, -0.011847434565424919, -0.013508330099284649, 0.005453350953757763, 0.024135632440447807, 0.031824544072151184, -0.03419002890586853, -0.05174614116549492, 0.012820204719901085, -0.030819324776530266, 0.014586953446269035, 0.024372190237045288, -0.004976474680006504, 0.014404840767383575, 0.016763674095273018, -0.00494095915928483, 0.01065960992127657, -0.03734920173883438, 0.011399458162486553, 0.048836104571819305, 0.007812374271452427, -0.007702631875872612, -0.009095923975110054, 0.02990477904677391, 0.017827732488512993, 0.0029102161061018705, 0.02486559934914112, 0.025334935635328293, -0.0014253912959247828, -0.013103135861456394, 0.01019788533449173, -0.012385853566229343, 0.021738605573773384, -0.03728439286351204, -0.04526098445057869, -0.03771299496293068, -0.024627406150102615, -0.00036039637052454054, 0.0013709053164348006, -0.053848136216402054, -0.05852587893605232, -0.00001633653482713271, -0.02043337933719158, -0.03698614984750748, 0.031947262585163116, 0.043681543320417404, 0.005076295230537653, 0.07359391450881958, -0.02680911496281624, 0.0358223058283329, -0.023977138102054596, -0.0235292911529541, 0.008978882804512978, 0.026824580505490303, -0.012869669124484062, -0.026829278096556664, -0.01429867371916771, 0.022540636360645294, -0.040588900446891785, -0.0729222521185875, 0.0051397643983364105, 0.027060814201831818, -0.021852640435099602, -0.03302992507815361, -0.04120674356818199, -0.015152981504797935, 0.03636994957923889, 0.033115487545728683, 0.010234659537672997, -0.020359685644507408, -0.0294666551053524, 0.00894765742123127, -0.048855919390916824, 0.019653327763080597, 0.004764364566653967, -0.004261552356183529, -0.007758922874927521, 0.007962588220834732, -0.014257238246500492, 0.015374294482171535, -0.03946725279092789, 0.029668735340237617, 0.04563270881772041, -0.03524240106344223, -0.009881237521767616, 0.032126083970069885, -0.021881163120269775, -0.03611377254128456, -0.013545546680688858, 0.018140146508812904, 0.028478221967816353, -0.013970655389130116, -0.033008430153131485, 0.03923557698726654, -0.02196919545531273, -0.01402034517377615, 0.014539957977831364, -0.0005176094709895551, 0.019685132429003716, 0.021616000682115555, -0.04572697728872299, -0.01240263320505619, 0.01877318136394024 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
Using transformers With transformers release 4.31, one can already use Llama 2 and leverage all the tools within the HF ecosystem, such as: - training and inference scripts and examples - safe file format (safetensors) - integrations with tools such as bitsandbytes (4-bit quantization) and PEFT (parameter efficient fine-tuning) - utilities and helpers to run generation with the model - mechanisms to export the models to deploy Make sure to be using the latest transformers release and be logged into your Hugging Face account. pip install transformers huggingface-cli login In the following code snippet, we show how to run inference with transformers. It runs on the free tier of Colab, as long as you select a GPU runtime. python from transformers import AutoTokenizer import transformers import torch model = "meta-llama/Llama-2-7b-chat-hf" tokenizer = AutoTokenizer.from_pretrained(model) pipeline = transformers.pipeline( "text-generation", model=model, torch_dtype=torch.float16, device_map="auto", ) sequences = pipeline( 'I liked "Breaking Bad" and "Band of Brothers". Do you have any recommendations of other shows I might like?\n', do_sample=True, top_k=10, num_return_sequences=1, eos_token_id=tokenizer.eos_token_id, max_length=200, ) for seq in sequences: print(f"Result: {seq['generated_text']}") Result: I liked "Breaking Bad" and "Band of Brothers". Do you have any recommendations of other shows I might like? Answer: Of course! If you enjoyed "Breaking Bad" and "Band of Brothers," here are some other TV shows you might enjoy: 1. "The Sopranos" - This HBO series is a crime drama that explores the life of a New Jersey mob boss, Tony Soprano, as he navigates the criminal underworld and deals with personal and family issues. 2. "The Wire" - This HBO series is a gritty and realistic portrayal of the drug trade in Baltimore, exploring the impact of drugs on individuals, communities, and the criminal justice system. 3. "Mad Men" - Set in the 1960s, this AMC series follows the lives of advertising executives on Madison Avenue, expl And although the model has only 4k tokens of context, you can use techniques supported in transformers such as rotary position embedding scaling (tweet) to push it further!
[ 0.02076108008623123, -0.025024639442563057, 0.061048585921525955, 0.007207133341580629, 0.09839397668838501, 0.024596156552433968, 0.0470801405608654, 0.030383771285414696, 0.006203803233802319, 0.0025388123467564583, -0.10685979574918747, 0.12282012403011322, -0.041583385318517685, 0.07876399159431458, 0.009929047897458076, -0.03292619064450264, 0.04667529836297035, 0.025712711736559868, 0.006156656425446272, 0.0214674212038517, 0.014877942390739918, -0.03783513978123665, 0.010794348083436489, 0.013828410767018795, -0.021319739520549774, -0.04605608433485031, 0.028336606919765472, 0.04053875058889389, -0.03272298350930214, 0.07414676994085312, -0.10760537534952164, -0.011807912960648537, -0.01758539117872715, -0.026557812467217445, 0.04738921672105789, -0.016014758497476578, -0.1590542197227478, 0.05446512624621391, 0.02118735760450363, -0.028615742921829224, 0.0525711290538311, -0.04055103659629822, -0.05535470321774483, 0.00794252473860979, -0.002449908759444952, -0.04493352770805359, -0.18712873756885529, 0.07121609151363373, -0.03601112961769104, -0.023072484880685806, -0.05429767072200775, 0.09700962901115417, 0.02190984971821308, -0.014955594204366207, 0.08826754242181778, 0.007927305996418, -0.0034845094196498394, -0.08342354744672775, 0.012447508983314037, 0.07822878658771515, 0.016720091924071312, -0.02056838758289814, -0.0032922662794589996, -0.01232022326439619, 0.015006132423877716, -0.014333451166749, -0.01533103920519352, 0.029178211465477943, -0.0649307444691658, -0.028343213722109795, 0.04180906340479851, -0.030390968546271324, -0.04933006316423416, -0.11055297404527664, 0.03063749521970749, -0.08894897252321243, -0.03546837344765663, 0.04403571039438248, 0.023050352931022644, 0.03300992399454117, -0.03158597648143768, 0.05906011909246445, 0.08300044387578964, 0.04932773485779762, 0.05815162509679794, 0.031015507876873016, 0.06413072347640991, -0.011298134922981262, -0.042202431708574295, 0.06085200235247612, -0.06468997895717621, -0.11488831788301468, -0.07118912786245346, -0.010650533251464367, 0.06524661183357239, 0.030746564269065857, 0.002413718029856682, -0.002811034908518195, -0.04667360335588455, -0.03820532560348511, -0.0471075139939785, -0.056000616401433945, 0.024814169853925705, -0.07044720649719238, -0.011409101076424122, 0.0169178768992424, 0.006304972339421511, -0.056717224419116974, -0.026795631274580956, -0.02349330484867096, 0.005733843427151442, -0.05757341533899307, 0.054222237318754196, 0.07221758365631104, -0.031198108568787575, 0.010596143081784248, -0.010049507021903992, -0.020015839487314224, -0.003961610142141581, 0.040695205330848694, 0.009878896176815033, 0.08717604726552963, 0.022919626906514168, 0.020315060392022133, 0.024448493495583534, 0.06086373329162598, 0.00023978295212145895, 0.0024040353018790483, 0.016163814812898636, 0.036609891802072525, 0.006702609825879335, -0.020990028977394104, 0.042212359607219696, 0.0008493665372952819, -0.0069086188450455666, -0.07875770330429077, -0.04490649327635765, -0.07124772667884827, -0.0370127409696579, -0.013228720985352993, 0.02352549321949482, 0.08221873641014099, 0.026742687448859215, -0.013470149599015713, 0.04494144767522812, -0.06459801644086838, -0.0847272053360939, 0.11811099201440811, 0.019521139562129974, 0.01690632663667202, -0.03345378860831261, 0.04696401208639145, -0.010951665230095387, -0.04096585512161255, 0.02348397858440876, 0.02789224125444889, -0.0158232394605875, 0.010774053633213043, -0.07916491478681564, -0.0588436983525753, 0.014786351472139359, -0.028899386525154114, -0.0037015839479863644, -0.02796531654894352, 0.020285161212086678, -0.023647267371416092, -0.028191154822707176, -0.03522554785013199, -0.016451451927423477, -0.01643257774412632, 0.024330560117959976, 0.009905597195029259, 0.06095389649271965, -0.03540034592151642, -0.0075372024439275265, 0.07443305850028992, 0.03192592039704323, 0.06739233434200287, 0.020515477284789085, -0.013212510384619236, -0.08379682153463364, 0.053929220885038376, -0.009327479638159275, 0.04868222400546074, 0.05809035152196884, -0.07242410629987717, 0.010004590265452862, -0.015619907528162003, 0.0013063292717561126, 0.031779441982507706, 0.007783285807818174, -0.011062897741794586, 0.08333370089530945, -0.024987373501062393, 0.045055266469717026, -0.026021471247076988, -0.05053740739822388, 0.07759549468755722, 0.039114948362112045, 0.015468546189367771, 0.0277282502502203, 0.016514139249920845, 0.07099848985671997, -0.037554096430540085, -0.05451091751456261, 0.02206943929195404, -0.0005012999754399061, -0.05620690435171127, 0.005739885848015547, 0.003973694052547216, 0.042924296110868454, -0.10270532220602036, 0.034238822758197784, -0.07798228412866592, 0.05499996617436409, -0.05498945713043213, -0.050745394080877304, 0.010019486770033836, 0.016493359580636024, -0.003304220037534833, 0.11075574904680252, -0.05260683223605156, 0.009079537354409695, -0.06367926299571991, 0.008689668029546738, 0.05795128643512726, 0.026916565373539925, 0.033821895718574524, 0.08065521717071533, -0.08670808374881744, -0.027840284630656242, -0.005551150534301996, -0.048759713768959045, 0.01278653647750616, -0.04137223958969116, -0.014626944437623024, 0.020345143973827362, 0.004218377638608217, -0.009485343471169472, 0.024582616984844208, 0.10588159412145615, 0.0282652135938406, -0.039621591567993164, 0.009037036448717117, -0.021991785615682602, -0.02735302969813347, 0.06797704100608826, 0.03782499581575394, -0.0007924735546112061, -0.017467528581619263, -0.11156455427408218, 0.04074482619762421, 0.018583226948976517, -0.017978133633732796, 0.03532108664512634, 0.012900659814476967, 0.005392649210989475, 0.042750388383865356, -0.05233938992023468, 0.026940064504742622, -0.005484920460730791, -0.007852345705032349, -0.018722930923104286, -0.06892808526754379, -0.042944930493831635, -0.02234696038067341, -0.011829312890768051, 0.031192129477858543, -0.01932067982852459, -0.009795240126550198, 0.029399769380688667, -0.03196270763874054, 0.040953777730464935, -0.00475445669144392, 0.027115793898701668, 0.028623534366488457, 0.0933174192905426, 0.02689480595290661, 0.003100810805335641, -0.013110719621181488, 0.01722298189997673, -0.02438538148999214, 0.03916144743561745, 0.036352574825286865, 0.013444860465824604, -0.00609404593706131, -0.030911756679415703, -0.049690425395965576, -0.03244469314813614, 0.007620159070938826, 0.013042418286204338, 0.0153052294626832, 0.026607584208250046, -0.0225591529160738, -0.03567042946815491, 0.005400665570050478, -0.0004137344367336482, 0.012258416041731834, -0.044490888714790344, 0.007848733104765415, 0.00048308607074432075, -0.018367202952504158, -0.01895342767238617, 0.0019273790530860424, 0.006973654963076115, 0.014244994148612022, 0.019805539399385452, 0.0036365760024636984, -0.10260352492332458, -0.02917144075036049, -0.028273291885852814, 0.013720965012907982, 0.009348209016025066, -0.03687305375933647, 0.04657779261469841, -0.02315083146095276, 0.0006484127370640635, 0.022839585319161415, -0.017938027158379555, 0.002327907597646117, 0.008351483382284641, -0.02230478823184967, 0.021243156865239143, -0.03645506873726845, -0.02327454462647438, -0.0252242274582386, 0.037158720195293427, 0.029204271733760834, -0.01805249974131584, 0.05927227437496185, -0.006848130840808153, 0.01593734323978424, -0.02642282098531723, -0.004577220883220434, 0.06514003127813339, 0.030713360756635666, 0.019233623519539833, -0.053723569959402084, 0.000526291667483747, -0.030886342748999596, 0.03875432163476944, -0.0003550120163708925, -0.035461124032735825, -0.01058001909404993, -0.03321482613682747, -0.029716163873672485, 0.03531850874423981, -0.007667617406696081, 0.005720562767237425, 0.018495874479413033, 0.0030489913187921047, -0.011999626643955708, 0.014519020915031433, 0.019143713638186455, -0.009807690978050232, -0.03658749535679817, 0.011800194159150124, -0.022257961332798004, -0.03399750217795372, -0.0019926312379539013, -0.00007380025635939091, 0.043646104633808136, 0.019658630713820457, -0.01210529450327158, 0.0036299144849181175, 0.02955554611980915, 0.015848807990550995, 0.014870939776301384, -0.07996145635843277, 0.04241214320063591, -0.017413288354873657, 0.0012633040314540267, -0.01900351792573929, 0.05309747904539108, 0.02399064600467682, -0.001210143556818366, -0.0014650917146354914, 0.022346949204802513, -0.011073410511016846, 0.024996913969516754, 0.02604949288070202, 0.011004707776010036, -0.03525719419121742, 0.0186323132365942, -0.004772048443555832, -0.0018945231568068266, 0.053751397877931595, 0.007314469665288925, -0.013752908445894718, -0.055286992341279984, -0.01317664049565792, -0.023073017597198486, 0.008591474033892155, 0.01477387361228466, 0.02964971959590912, -0.02689221128821373, 0.02392110414803028, 0.0248566884547472, 0.0010774530237540603, -0.017246948555111885, -0.000909463909920305, 0.010338452644646168, -0.03890553489327431, 0.016797620803117752, 0.005777235608547926, 0.0030709258280694485, -0.02759861946105957, 0.011196927167475224, 0.0372580923140049, -0.045923374593257904, 0.027989422902464867, -0.010427095927298069, -0.04769986867904663, 0.02187022753059864, -0.013536945916712284, -0.0323403961956501, 0.0009916427079588175, -0.012512973509728909, 0.004736571107059717, -0.010260318405926228, -0.003252027789130807, -0.018427828326821327, 0.028089819476008415, 0.01682163029909134, -0.012216925621032715, -0.037603918462991714, -0.03179583325982094, 0.0024150856770575047, -0.026301715523004532, 0.011786339804530144, 0.00405932916328311, -0.04393528401851654, 0.010114520788192749, 0.001832273555919528, 0.07140613347291946, 0.04243826866149902, -0.004195417743176222, -0.003910406958311796, -0.026953380554914474, -0.02228637970983982, -0.00871342420578003, 0.0327034629881382, 0.02276051975786686, 0.009713981300592422, -0.01463372353464365, 0.01923261769115925, -0.01863572746515274, -0.0087618138641119, -0.0003424950409680605, -0.02732427977025509, 0.02518589235842228, -0.016538141295313835, 0.026744894683361053, -0.034081682562828064, 0.004027722869068384, -0.010955655947327614, -0.015608989633619785, -0.016279274597764015, 0.052159424871206284, -0.003391502657905221, -0.00943775661289692, 0.011212702840566635, 0.032386414706707, -0.01900511048734188, -0.005230875685811043, 0.019600633531808853, 0.019361896440386772, 0.029667887836694717, 0.043094854801893234, 0.01781977154314518, -0.035725321620702744, 0.03815505653619766, 0.011670399457216263, -0.00015765051648486406, -0.032787151634693146, -0.058968253433704376, -0.012001380324363708, -0.010111301206052303, -0.043938569724559784, -0.02029571868479252, 0.047400377690792084, -0.020332926884293556, -0.03042297065258026, 0.07391390949487686, 0.04756484180688858, -0.0000868159913807176, 0.017076002433896065, 0.00027109021903015673, 0.014216229319572449, -0.05734032019972801, 0.03782658278942108, -0.0032884206157177687, 0.007678335532546043, 0.015357453376054764, 0.034539029002189636, 0.0561864860355854, -0.00254057627171278, 0.0007072152220644057, -0.028021877631545067, -0.02188369445502758, -0.008870886638760567, -0.04632357507944107, -0.01799420639872551, -0.017223548144102097, -0.011392547748982906, 0.02167332172393799, 0.0045134881511330605, -0.0026545629370957613, 0.04426705464720726, 0.04199610650539398, -0.058655448257923126, -0.04518866539001465, 0.011731674894690514, -0.014984825626015663, -0.019720494747161865, -0.01817542128264904, 0.03185940161347389, -0.03910886496305466, 0.04419051483273506, 0.00012474879622459412, -0.0023799659684300423, -0.0031715615186840296, 0.011923545971512794, -0.016592813655734062, -0.004472247790545225, 0.03309200331568718, 0.02429422177374363, 0.046001505106687546, -0.016441797837615013, -0.005291968118399382, 0.01255573146045208, 0.01495338138192892, 0.044630683958530426, -0.02168598212301731, 0.0021763003896921873, 0.009584913030266762, 0.008419860154390335, 0.02962677739560604, 0.04221118986606598, 0.00509094912558794, 0.008569248951971531, 0.0576058104634285, 0.003636483335867524, 0.0036976851988583803, -0.060132842510938644, 0.03173017501831055, 0.026639482006430626, -0.017477387562394142, 0.019725598394870758, -0.025468111038208008, -0.03546266630291939, -0.011466721072793007, 0.012388452887535095, 0.060374967753887177, 0.0856674537062645, 0.008587964810431004, -0.03031664527952671, -0.00004842648922931403, 0.03099360316991806, -0.015419945120811462, 0.006458488292992115, 0.00985773466527462, 0.013051651418209076, 0.026183756068348885, 0.04124755412340164, 0.017145205289125443, 0.01997613161802292, 0.008698157034814358, -0.02593124471604824, -0.039463672786951065, -0.010831513442099094, 0.013400041498243809, -0.010316593572497368, 0.025053193792700768, 0.003688408527523279, -0.012717519886791706, 0.004095784854143858, 0.019041182473301888, -0.010427281260490417, 0.041683584451675415, 0.008868174627423286, 0.02392083965241909, 0.012123939581215382, 0.00589661905542016, 0.04838496446609497, 0.023856816813349724, 0.005735947750508785, 0.003756849095225334, 0.025332489982247353, 0.044013265520334244, 0.04571244865655899, -0.01604653336107731, 0.025547372177243233, 0.006288804113864899, 0.0731344074010849, 0.031208461150527, -0.00579661363735795, 0.03266961872577667, -0.026915298774838448, -0.0411844477057457, -0.031009934842586517, 0.005314112175256014, 0.00689169904217124, 0.008059532381594181, 0.019646916538476944, -0.0050946129485964775, 0.022745417430996895, -0.01979978196322918, 0.06090055778622627, 0.028177276253700256, 0.013669432140886784, 0.0066743153147399426, 0.04288943484425545, 0.006737339776009321, 0.03816911578178406, 0.011255818419158459, -0.00008825739496387541, 0.031212840229272842, -0.027752604335546494, 0.046026960015296936, 0.0005428283475339413, 0.06938199698925018, -0.0021036220714449883, 0.014072172343730927, 0.005605782847851515, 0.0062209973111748695, 0.015054920688271523, 0.012703964486718178, 0.026086842641234398, -0.03134238347411156, -0.0070467800833284855, 0.02147185243666172, -0.0017700305907055736, -0.009108235128223896, -0.0031738304533064365, -0.009021718055009842, -0.011856365017592907, -0.024230536073446274, -0.005223559681326151, 0.048930030316114426, -0.0038028687704354525, -0.029611660167574883, -0.009962217882275581, 0.0049492609687149525, -0.002081250073388219, 0.014408641494810581, -0.019692644476890564, -0.035044413059949875, -0.026154281571507454, -0.053501784801483154, -0.03631434217095375, 0.025345075875520706, -0.024569302797317505, -0.02559554949402809, 0.005099641624838114, 0.004252818878740072, 0.006600430700927973, 0.03004155121743679, 0.015009731985628605, 0.009767443872988224, -0.041258327662944794, -0.012332902289927006, 0.015925196930766106, -0.008060179650783539, -0.004546698182821274, -0.037886857986450195, 0.01339041069149971, -0.028453847393393517, 0.013275066390633583, 0.02883470244705677, 0.046896930783987045, -0.008596294559538364, -0.03711467236280441, 0.010135456919670105, -0.016168003901839256, -0.020710652694106102, 0.026808256283402443, -0.041260622441768646, -0.0030840036924928427, -0.018347449600696564, 0.0005162172601558268, 0.019550662487745285, -0.023083504289388657, 0.025282034650444984, 0.03745844215154648, 0.028127385303378105, -0.04756300896406174, -0.0034583311062306166, 0.030091403052210808, 0.03356541693210602, 0.02254914678633213, 0.020499350503087044, 0.009847750887274742, 0.0007777155842632055, 0.00462825782597065, -0.0009876753902062774, -0.058985691517591476, 0.009911172091960907, -0.010879029519855976, -0.0521744005382061, -0.048180002719163895, -0.003523437539115548, 0.0020434013567864895, 0.00815708376467228, -0.05512327700853348, -0.011098658666014671, -0.04376353323459625, -0.0293585155159235, -0.0030562435276806355, -0.02298627607524395, 0.031043371185660362, 0.0228608138859272, 0.028622698038816452, -0.004439761396497488, -0.024600042030215263, -0.03366326168179512, -0.015539984218776226, 0.012661099433898926, 0.04891006648540497, -0.005186253227293491, -0.006103018764406443, -0.03881371021270752, -0.027416575700044632, 0.01606963761150837, -0.047843240201473236, 0.004591162782162428, 0.026717036962509155, -0.021541329100728035, -0.007539321668446064, -0.013446634635329247, 0.04460606724023819, 0.03133060783147812, 0.011014380492269993, -0.002186194993555546, -0.009179014712572098, 0.0049024648033082485, -0.015318503603339195, -0.034044284373521805, 0.015438058413565159, -0.011526976712048054, 0.007958820089697838, 0.0033689853735268116, 0.037835393100976944, 0.007994364947080612, 0.021994957700371742, 0.0032184221781790257, 0.0020094127394258976, 0.013377594761550426, -0.03365839272737503, -0.03432788327336311, -0.017589852213859558, 0.0456429086625576, -0.04343681037425995, -0.035419534891843796, 0.034030716866254807, 0.011668411083519459, -0.0649099126458168, 0.0027201888151466846, -0.02832045778632164, -0.03545374795794487, -0.008071358315646648, 0.018586058169603348, -0.0035751033574342728, 0.0649842768907547, 0.033993031829595566, -0.034120265394449234, -0.024568209424614906, 0.0026300852186977863 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
Fine-tuning with PEFT Training LLMs can be technically and computationally challenging. In this section, we look at the tools available in the Hugging Face ecosystem to efficiently train Llama 2 on simple hardware and show how to fine-tune the 7B version of Llama 2 on a single NVIDIA T4 (16GB - Google Colab). You can learn more about it in the Making LLMs even more accessible blog. We created a script to instruction-tune Llama 2 using QLoRA and the SFTTrainer from trl. An example command for fine-tuning Llama 2 7B on the timdettmers/openassistant-guanaco can be found below. The script can merge the LoRA weights into the model weights and save them as safetensor weights by providing the merge_and_push argument. This allows us to deploy our fine-tuned model after training using text-generation-inference and inference endpoints. First pip install trl and clone the script: bash pip install trl git clone https://github.com/lvwerra/trl Then you can run the script: bash python trl/examples/scripts/sft_trainer.py \ --model_name meta-llama/Llama-2-7b-hf \ --dataset_name timdettmers/openassistant-guanaco \ --load_in_4bit \ --use_peft \ --batch_size 4 \ --gradient_accumulation_steps 2
[ 0.03725804388523102, -0.019989149644970894, -0.0046518053859472275, 0.0330856516957283, 0.1153169646859169, 0.021871967241168022, -0.0005004661506973207, 0.059517186135053635, 0.007579234428703785, -0.030626239255070686, -0.04595961049199104, 0.04525661841034889, -0.032505232840776443, -0.003341508563607931, 0.020170163363218307, -0.06004737317562103, 0.06072269007563591, -0.03414471447467804, -0.008488079532980919, 0.08822029083967209, 0.04140474274754524, -0.0211828351020813, 0.07100546360015869, -0.008704118430614471, -0.005292936228215694, -0.027446841821074486, 0.04769975692033768, 0.09923741966485977, 0.017787635326385498, 0.08376004546880722, -0.04922253265976906, -0.007592173758894205, -0.05382753908634186, -0.04976572096347809, 0.04797469824552536, 0.014148594811558723, -0.12045987695455551, 0.04206092283129692, 0.00079869176261127, -0.02648521400988102, -0.0024678220506757498, -0.029069261625409126, -0.021240459755063057, 0.04101499915122986, 0.03620932996273041, 0.0025539847556501627, -0.03206528723239899, 0.002604290610179305, 0.000724582583643496, -0.06664352864027023, -0.1436840146780014, 0.0606071911752224, 0.03457142785191536, -0.09093903750181198, 0.09457465261220932, 0.0068763792514801025, 0.009047569707036018, -0.04884698987007141, -0.02045421488583088, 0.04223956912755966, 0.030268467962741852, -0.015133761800825596, 0.022213006392121315, 0.0005985042080283165, 0.03342180326581001, 0.024498041719198227, 0.008105937391519547, -0.0007934026070870459, -0.04192245751619339, -0.038928914815187454, 0.044244155287742615, 0.002963110338896513, 0.001453125267289579, -0.061997704207897186, 0.02096289023756981, -0.022291995584964752, -0.021350018680095673, 0.05207696929574013, 0.026493625715374947, 0.030694864690303802, -0.03881816193461418, 0.05220603570342064, 0.029870226979255676, 0.05526049807667732, 0.002888094400987029, 0.044256046414375305, 0.0328013077378273, -0.03495302051305771, -0.042166002094745636, -0.015382971614599228, -0.055059585720300674, -0.05427897721529007, -0.09667614102363586, 0.05473741516470909, 0.09639889001846313, 0.01828600838780403, -0.026917194947600365, 0.005003116559237242, -0.0013077675830572844, -0.047967612743377686, 0.0054276310838758945, -0.030828233808279037, 0.009001863189041615, -0.10046633332967758, -0.026837250217795372, 0.0456327348947525, -0.0362323559820652, -0.034132178872823715, -0.0734744668006897, 0.013579013757407665, -0.007826489396393299, 0.0028799979481846094, 0.015041357837617397, 0.08434909582138062, -0.050217024981975555, 0.02873104438185692, 0.01881970837712288, -0.034984100610017776, 0.025153115391731262, -0.027403900399804115, 0.007838216610252857, 0.1194712445139885, 0.10426688939332962, -0.10558272898197174, 0.02519378624856472, 0.048929546028375626, -0.011990743689239025, -0.01680034212768078, 0.03578384965658188, 0.06421081721782684, -0.013834923505783081, -0.02412518672645092, 0.0394367016851902, -0.04351738095283508, -0.0034483652561903, -0.07059909403324127, -0.01994822360575199, -0.06936867535114288, 0.040312644094228745, 0.007193479221314192, -0.008226069621741772, 0.10486100614070892, 0.023427555337548256, -0.04295986890792847, 0.02388872765004635, -0.014485010877251625, -0.03180735558271408, 0.055483635514974594, -0.0022009818349033594, 0.02963874489068985, -0.07811763882637024, 0.0848124623298645, -0.013361651450395584, -0.05347704514861107, 0.02589775063097477, 0.031203262507915497, -0.06851796060800552, -0.0228971429169178, -0.04998732730746269, -0.000646158994641155, -0.03060750849545002, -0.00924643874168396, -0.056322477757930756, -0.012527698650956154, 0.03804023563861847, -0.027501998469233513, 0.00017005341942422092, 0.05183006450533867, 0.041102539747953415, -0.008473869413137436, 0.06422050297260284, 0.04277387633919716, 0.06131691858172417, -0.002944601234048605, -0.012658126652240753, 0.035338930785655975, 0.033338237553834915, 0.036913007497787476, -0.024413909763097763, -0.0004946257686242461, -0.020993927493691444, 0.06893611699342728, -0.009862024337053299, 0.06990131735801697, 0.0016422310145571828, -0.08995455503463745, 0.04726080223917961, -0.09961669147014618, -0.0031577826011925936, -0.03295630216598511, -0.01581593230366707, 0.07921139150857925, 0.08043922483921051, -0.02699952945113182, 0.02582712285220623, -0.07525153458118439, -0.008740732446312904, 0.10276646912097931, 0.08813633769750595, 0.027366306632757187, 0.05944401025772095, 0.06070970371365547, 0.03196392580866814, 0.04076097905635834, -0.04682964086532593, -0.002780004171654582, -0.035835348069667816, -0.06994734704494476, -0.016771037131547928, 0.05767437070608139, 0.022469159215688705, -0.04110417142510414, -0.0000910725211724639, -0.045559361577034, 0.08691233396530151, -0.03285546600818634, 0.051750145852565765, -0.021133096888661385, 0.011580770835280418, -0.0212086234241724, 0.09245326370000839, -0.0038531068712472916, 0.03985515609383583, -0.024612002074718475, -0.03042932040989399, -0.0023099398240447044, 0.06065449118614197, -0.021888449788093567, 0.03104093298316002, -0.052594758570194244, -0.007900826632976532, -0.1189282089471817, -0.05084449425339699, 0.0294463112950325, -0.0013745409669354558, -0.05185045674443245, 0.0014711914118379354, -0.03283260762691498, 0.061932437121868134, 0.0023266191128641367, 0.05551144480705261, 0.05018746107816696, -0.010376030579209328, 0.02869151160120964, -0.014800472185015678, -0.013911930844187737, 0.018416309729218483, 0.03221897408366203, -0.008055394515395164, 0.007623439189046621, -0.028252027928829193, 0.03233423829078674, 0.010405510663986206, 0.013785045593976974, -0.055515505373477936, -0.06295505166053772, -0.04828186705708504, -0.006081203930079937, -0.04101862013339996, 0.0435565784573555, -0.027116894721984863, 0.013662941753864288, -0.025620659813284874, 0.04052314534783363, -0.011554671451449394, -0.032266635447740555, 0.01086291391402483, 0.023978589102625847, -0.02329075150191784, -0.01496687438338995, -0.0021655207965523005, -0.013415463268756866, 0.004937469959259033, -0.026359837502241135, 0.040125228464603424, 0.02311554364860058, 0.050517335534095764, -0.03734646365046501, -0.050584401935338974, -0.03353673592209816, 0.022722380235791206, -0.012133928947150707, 0.04729057848453522, 0.053968388587236404, 0.01630960963666439, -0.012016992084681988, -0.012124896049499512, -0.028285948559641838, -0.009975356049835682, 0.036294132471084595, 0.038419194519519806, -0.0075762043707072735, 0.027547556906938553, 0.0034669325686991215, -0.03495724871754646, -0.00047475917381234467, 0.015479986555874348, -0.000517029024194926, -0.017919573932886124, 0.008195021189749241, -0.0024593661073595285, -0.03265182673931122, 0.013415471650660038, 0.0014843406388536096, -0.01068116258829832, -0.004958970472216606, 0.0009085122728720307, 0.00022313822410069406, -0.07399135828018188, -0.0023106285370886326, 0.012308720499277115, 0.005786618683487177, -0.02289377525448799, -0.007872103713452816, 0.04705427214503288, -0.05904456973075867, 0.015397211536765099, 0.028453296050429344, -0.007093025371432304, 0.04486735537648201, 0.0031641870737075806, -0.024051107466220856, 0.02295983023941517, -0.026698317378759384, 0.00844539050012827, -0.050041671842336655, 0.019879665225744247, 0.02996445819735527, -0.02065296284854412, 0.022731903940439224, 0.029928313568234444, 0.01953672058880329, 0.0010807914659380913, 0.006244945339858532, -0.025224795565009117, -0.034739695489406586, -0.026780564337968826, -0.02518421597778797, -0.010753077454864979, -0.0070275249890983105, -0.03541216254234314, -0.000599931285250932, -0.0626676008105278, -0.008089066483080387, 0.04458421841263771, -0.015691326931118965, 0.0541255921125412, 0.02472328022122383, 0.015797732397913933, -0.013517164625227451, 0.023781977593898773, 0.009581761434674263, -0.010520649142563343, 0.02375054731965065, -0.008836377412080765, -0.03923976421356201, 0.03762371465563774, -0.001509239780716598, 0.02072862721979618, 0.003958253189921379, -0.007993406616151333, 0.020993199199438095, -0.023870063945651054, 0.045253656804561615, 0.02140086144208908, 0.03353080898523331, 0.008409333415329456, 0.01935066282749176, -0.10609451681375504, 0.01226002350449562, -0.021657541394233704, -0.00995509885251522, 0.017322475090622902, 0.012608224526047707, 0.005339151248335838, -0.03641835227608681, -0.01616528071463108, 0.01731213554739952, -0.02053876221179962, 0.07517697662115097, 0.003035224275663495, -0.002662173705175519, -0.04455465450882912, -0.021154379472136497, -0.03729671612381935, -0.0064903562888503075, 0.023160574957728386, 0.013530759140849113, -0.008250072598457336, -0.031936634331941605, -0.009737071581184864, -0.002082701539620757, 0.050156593322753906, -0.011699827387928963, -0.007505107205361128, -0.0767253041267395, 0.032391469925642014, -0.012372040189802647, 0.03144257143139839, -0.005880994722247124, -0.010397018864750862, 0.006532519124448299, -0.0014454834163188934, -0.025443967431783676, 0.01526553463190794, 0.028040053322911263, -0.008452036418020725, 0.011890651658177376, 0.03809675574302673, -0.0053214565850794315, 0.008673327974975109, 0.004851202480494976, -0.04415437579154968, 0.0302090086042881, -0.026943277567625046, -0.01996184140443802, 0.003546953434124589, 0.023755375295877457, -0.026821739971637726, -0.04494080692529678, -0.007817196659743786, -0.039639778435230255, -0.018142694607377052, 0.009017853997647762, -0.033465515822172165, -0.0023330566473305225, -0.025994669646024704, 0.022719454020261765, -0.017986884340643883, -0.015017993748188019, 0.025663919746875763, -0.06207273527979851, 0.0713234543800354, 0.0004960295627824962, 0.04623076692223549, 0.006482206284999847, 0.004390334710478783, 0.006874993909150362, -0.061421994119882584, -0.06388824433088303, -0.006290860008448362, -0.021642904728651047, -0.009002922102808952, -0.03067134879529476, -0.006277875509113073, -0.02927234396338463, 0.0215042382478714, -0.009612645022571087, -0.027512945234775543, -0.0038958140648901463, 0.06598453223705292, -0.0430644154548645, 0.04026148095726967, 0.0018344692653045058, 0.03450443223118782, 0.0004047842521686107, -0.029829585924744606, 0.015886904671788216, 0.039351530373096466, -0.060937657952308655, -0.024496495723724365, 0.0009690751903690398, 0.020180417224764824, -0.024927811697125435, 0.0004718081618193537, 0.00934907142072916, 0.0325162298977375, 0.046268925070762634, -0.014492225833237171, 0.029057014733552933, -0.07832754403352737, 0.035084016621112823, 0.011834870092570782, -0.029129792004823685, -0.02852236106991768, -0.0024622136261314154, -0.027199923992156982, -0.020921675488352776, -0.001608245074748993, -0.023456912487745285, 0.0024142060428857803, 0.02615773119032383, 0.00966936070472002, 0.009688307531177998, 0.04728509858250618, -0.056568749248981476, -0.02742658741772175, 0.03346291929483414, -0.011363659054040909, -0.04908224195241928, 0.06766583025455475, 0.0024655007291585207, -0.001963061047717929, 0.025511812418699265, 0.042310722172260284, 0.01695038005709648, 0.03041994571685791, -0.009336995892226696, -0.018886061385273933, -0.021473312750458717, 0.012411179021000862, -0.003536967793479562, -0.03201870620250702, 0.032850101590156555, -0.005646626465022564, 0.02471040189266205, -0.023783747106790543, -0.014668022282421589, 0.00841739121824503, 0.009130718186497688, -0.051820848137140274, -0.04693390429019928, -0.005474966485053301, 0.02646183781325817, 0.006111328024417162, -0.03276248648762703, 0.00860966183245182, -0.015556421130895615, -0.003494423581287265, -0.031887486577034, 0.003565290942788124, -0.016650648787617683, 0.03177700936794281, -0.04089978337287903, -0.024493439123034477, 0.04924416542053223, 0.014298013411462307, 0.004398671444505453, -0.010998843237757683, -0.039916444569826126, 0.011153219267725945, -0.030899062752723694, -0.029006730765104294, -0.0413161925971508, 0.022657567635178566, 0.01786862500011921, 0.016884252429008484, 0.002687755273655057, 0.007147382944822311, -0.006688236258924007, 0.03607615828514099, 0.045900311321020126, 0.01541093923151493, 0.016664791852235794, -0.03858475759625435, -0.03493843600153923, 0.05598263815045357, 0.01438197772949934, -0.021997693926095963, -0.030775373801589012, -0.0437699630856514, -0.028209147974848747, -0.05703876540064812, 0.07054491341114044, 0.03969430550932884, -0.010116569697856903, -0.011814495548605919, 0.004735080990940332, 0.002634930657222867, -0.0014899529051035643, 0.019463395699858665, 0.006461142096668482, 0.000854523153975606, 0.02830524556338787, 0.03283245116472244, 0.006984886713325977, 0.03377678617835045, -0.007151857018470764, 0.005587833467870951, -0.06656738370656967, 0.014777298085391521, 0.039406098425388336, 0.002845719223842025, 0.015226361341774464, 0.02089983969926834, -0.01972970739006996, 0.0398007296025753, 0.0053370436653494835, -0.018724607303738594, -0.02954142540693283, 0.026270216330885887, -0.01122856792062521, 0.003928937017917633, 0.005462080240249634, 0.03383835032582283, 0.026636529713869095, 0.020123694092035294, -0.019117066636681557, 0.021468626335263252, 0.042027797549963, 0.02770973928272724, -0.007815861143171787, 0.041350703686475754, -0.00024335234775207937, 0.07680577784776688, 0.04320815950632095, 0.011090375483036041, 0.022460388019680977, 0.01813952624797821, 0.016974473372101784, -0.032998859882354736, -0.06791327893733978, -0.02269160933792591, -0.010391809977591038, 0.06615976989269257, -0.016094304621219635, -0.025104820728302002, -0.040689509361982346, 0.04777008667588234, 0.03532522916793823, 0.03313186764717102, 0.012293675914406776, 0.02886413037776947, -0.035371292382478714, 0.0037974603474140167, 0.020230410620570183, 0.004022722598165274, 0.010534119792282581, -0.045214537531137466, 0.028596246615052223, 0.04000850394368172, 0.03832528367638588, 0.0042572710663080215, -0.010279237292706966, 0.0027954070828855038, -0.00627234298735857, 0.05484277009963989, 0.061188530176877975, 0.014940868131816387, 0.010626187548041344, 0.012887169606983662, -0.0020926331635564566, 0.002657627686858177, -0.02197636291384697, 0.010482816025614738, -0.0030979744624346495, -0.012484163977205753, -0.00582115538418293, 0.004757848102599382, 0.04409049451351166, 0.02085121162235737, -0.073335662484169, -0.037518877536058426, -0.022739557549357414, -0.005633063148707151, 0.03195323050022125, -0.04538916051387787, 0.012338604778051376, -0.005617866292595863, -0.014613513834774494, 0.007413159124553204, 0.04942872002720833, 0.013028718531131744, -0.02084260992705822, 0.0256607998162508, -0.013284692540764809, -0.004679747857153416, 0.02646033652126789, -0.018761543557047844, 0.005553134251385927, -0.03814588114619255, -0.024940771982073784, 0.015691015869379044, -0.023697052150964737, 0.037489183247089386, -0.05843391641974449, -0.03076973557472229, 0.003316155867651105, 0.015253117308020592, 0.025721903890371323, 0.04591076448559761, 0.004040903877466917, -0.033206868916749954, 0.030805889517068863, 0.023769384250044823, -0.04168636351823807, 0.021011682227253914, -0.024391351267695427, -0.00839298777282238, -0.0011969463666900992, -0.018526270985603333, 0.017573386430740356, -0.007706469856202602, -0.013123851269483566, 0.047910597175359726, 0.027585679665207863, -0.026598647236824036, 0.014049602672457695, 0.0647246465086937, -0.008071732707321644, 0.017629699781537056, 0.027670560404658318, -0.009751706384122372, -0.015903744846582413, -0.005876875948160887, 0.02253846265375614, -0.03782180696725845, -0.005489331670105457, -0.027422118932008743, -0.04190675541758537, -0.02244390733540058, 0.04478790611028671, -0.005920597817748785, 0.04505845531821251, -0.004618221428245306, -0.049363959580659866, -0.05520842969417572, -0.04031342640519142, -0.009431212209165096, 0.01371752843260765, 0.041778985410928726, 0.077566958963871, 0.0009728028089739382, -0.000979887438006699, -0.025539489462971687, -0.011701522395014763, 0.01596907153725624, -0.011234473437070847, 0.0538695864379406, 0.025654742494225502, -0.051173605024814606, -0.04085302725434303, 0.008204381912946701, 0.03735590726137161, -0.05384688824415207, -0.015688996762037277, 0.007164556998759508, 0.0075262729078531265, 0.008555779233574867, -0.02337392047047615, 0.017279600724577904, 0.02434614486992359, 0.019692210480570793, 0.0011033895425498486, -0.006161900237202644, 0.041827935725450516, -0.0018245151732116938, -0.08105740696191788, 0.0027550102677196264, -0.02541942708194256, -0.014674925245344639, -0.020583806559443474, -0.016522133722901344, 0.0033014395739883184, -0.020919524133205414, -0.015550922602415085, -0.018852028995752335, -0.011360114440321922, 0.0012021997245028615, -0.017830634489655495, -0.013239584863185883, 0.016739875078201294, -0.043000053614377975, -0.04708677902817726, -0.024891845881938934, 0.04199562221765518, -0.056434329599142075, -0.008544317446649075, -0.00729484623298049, 0.008199406787753105, 0.01914810948073864, -0.03328976780176163, 0.008237912319600582, 0.05630023404955864, 0.027749840170145035, -0.024105163291096687, -0.031982965767383575, -0.0006942141917534173 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
Introduction Llama 2 is a family of state-of-the-art open-access large language models released by Meta today, and we’re excited to fully support the launch with comprehensive integration in Hugging Face. Llama 2 is being released with a very permissive community license and is available for commercial use. The code, pretrained models, and fine-tuned models are all being released today 🔥 We’ve collaborated with Meta to ensure smooth integration into the Hugging Face ecosystem. You can find the 12 open-access models (3 base models & 3 fine-tuned ones with the original Meta checkpoints, plus their corresponding transformers models) on the Hub. Among the features and integrations being released, we have: - Models on the Hub with their model cards and license. - Transformers integration - Examples to fine-tune the small variants of the model with a single GPU - Integration with Text Generation Inference for fast and efficient production-ready inference - Integration with Inference Endpoints
[ 0.017797594889998436, -0.025663191452622414, 0.08049428462982178, -0.028531644493341446, 0.062490902841091156, -0.013685421086847782, 0.05134519562125206, 0.05867595970630646, 0.020171526819467545, 0.007139578927308321, -0.049068111926317215, 0.06560489535331726, -0.0576828271150589, 0.0896930992603302, 0.04687804728746414, -0.0636669173836708, -0.023368993774056435, 0.016146961599588394, -0.009608211927115917, 0.014884524047374725, 0.048756059259176254, -0.06539638340473175, 0.011924073100090027, -0.07307858020067215, -0.04108577221632004, 0.013985871337354183, 0.06487120687961578, 0.039270732551813126, 0.03521224856376648, 0.0026518781669437885, -0.09915226697921753, -0.03304019570350647, -0.008389538154006004, -0.02440367452800274, 0.01964855007827282, 0.019093645736575127, -0.14718276262283325, 0.061513226479291916, 0.010243323631584644, -0.04913584887981415, 0.010078108869493008, -0.025627419352531433, -0.07876697927713394, 0.01919742301106453, -0.013476462103426456, -0.008856837637722492, -0.09116128087043762, 0.03764056786894798, -0.016636554151773453, 0.025331806391477585, -0.12666037678718567, 0.04913082346320152, -0.00843519251793623, -0.01974237896502018, 0.039823926985263824, 0.017209894955158234, -0.025883935391902924, -0.04492168873548508, 0.040383268147706985, 0.010885057039558887, -0.015036501921713352, -0.014363083057105541, 0.015468906611204147, -0.040658146142959595, 0.04174871742725372, 0.003751856042072177, -0.02644186280667782, -0.012416397221386433, -0.04375916346907616, -0.05076277256011963, 0.04293138533830643, -0.005699868779629469, -0.049521222710609436, -0.11026331037282944, 0.0007564073312096298, -0.06461064517498016, -0.060779113322496414, 0.008457710966467857, 0.030763937160372734, 0.003961501643061638, -0.01433547493070364, 0.0327359102666378, 0.029999088495969772, 0.028232209384441376, 0.006051135715097189, 0.05650819465517998, 0.04744747653603554, -0.10004990547895432, -0.04899860918521881, 0.01627320609986782, -0.01261007972061634, -0.11240202933549881, -0.04523323476314545, -0.02081352099776268, 0.09235145151615143, -0.00416538817808032, 0.014736116863787174, 0.016902800649404526, -0.04186619818210602, -0.04313921928405762, -0.001433306373655796, -0.03802969679236412, 0.023362960666418076, -0.07252504676580429, -0.056318629533052444, 0.028276169672608376, -0.0031887225341051817, -0.08677200227975845, -0.045899778604507446, -0.007750439457595348, 0.058648332953453064, -0.06293891370296478, 0.04354546591639519, 0.08374683558940887, -0.08783889561891556, 0.04233362898230553, -0.007188493851572275, -0.0233004167675972, 0.026708044111728668, 0.024714356288313866, 0.01699095405638218, 0.03518301248550415, 0.03977123275399208, 0.0019146200502291322, 0.06881549954414368, 0.09123862534761429, -0.007268973626196384, 0.026457404717803, 0.005557718221098185, -0.01648814044892788, 0.0069594127126038074, -0.06462060660123825, -0.012076148763298988, -0.021471597254276276, 0.06724754720926285, -0.0496300645172596, 0.02641415037214756, -0.09698249399662018, 0.03330866992473602, -0.013801890425384045, 0.009086051024496555, 0.015528975054621696, -0.00721264211460948, -0.040858153253793716, 0.060784146189689636, 0.015106542967259884, -0.0863134041428566, 0.06885014474391937, -0.0555083304643631, -0.027513518929481506, -0.08187953382730484, 0.03248161822557449, -0.03282003849744797, -0.026603782549500465, 0.03253982588648796, -0.023347843438386917, -0.04188854619860649, 0.032074641436338425, -0.07900184392929077, -0.005828192923218012, -0.027192411944270134, -0.022659940645098686, -0.0496097058057785, 0.004528371151536703, 0.02334088459610939, -0.011914837174117565, -0.040505342185497284, 0.015539495274424553, 0.03493708744645119, -0.0100583266466856, 0.055250540375709534, 0.000010403579835838173, 0.0697503462433815, -0.05390893667936325, -0.02014424279332161, 0.062357354909181595, 0.0222772229462862, 0.06366495043039322, 0.035547178238630295, 0.050926558673381805, -0.04621953144669533, 0.011072705499827862, 0.018358280882239342, 0.03224465996026993, 0.03462090715765953, -0.0870213657617569, -0.017493974417448044, -0.029683634638786316, -0.019307971000671387, -0.04732935503125191, 0.013491840101778507, 0.027163151651620865, 0.04280492290854454, 0.000018087112039211206, 0.016267875209450722, 0.017403962090611458, -0.06567864120006561, 0.051361773163080215, 0.06657898426055908, 0.07181323319673538, 0.049626220017671585, 0.04116328805685043, 0.021706758067011833, -0.014387083239853382, -0.0793902799487114, -0.002386349719017744, 0.014050121419131756, -0.04506238177418709, -0.02563352696597576, 0.04390465095639229, 0.024824436753988266, -0.10755300521850586, 0.015287721529603004, -0.008448345586657524, 0.06849230080842972, -0.062181416898965836, -0.03238730877637863, 0.018985439091920853, 0.007750111166387796, -0.01156651508063078, 0.15584677457809448, -0.08842607587575912, -0.010441118851304054, -0.043515827506780624, -0.0005831454182043672, 0.0784698873758316, 0.09286297112703323, 0.016045836731791496, 0.051220908761024475, -0.044743701815605164, 0.0038397018797695637, -0.05961376428604126, -0.04742700234055519, 0.020686913281679153, 0.05025002360343933, -0.031385235488414764, -0.0072017996571958065, -0.04507160931825638, 0.044614098966121674, 0.009457217529416084, 0.01672895811498165, 0.028461482375860214, 0.02534281276166439, 0.028557345271110535, 0.015210703946650028, -0.04991548880934715, 0.01984546147286892, 0.03318038955330849, -0.029719792306423187, 0.05341266095638275, -0.05200987681746483, -0.006055276840925217, 0.04951665177941322, 0.05218685418367386, -0.042406968772411346, -0.006153407972306013, -0.03781374916434288, -0.01671934314072132, -0.028944922611117363, 0.03280637040734291, 0.037332359701395035, -0.0474463514983654, -0.002740573836490512, -0.011398332193493843, -0.035814229398965836, -0.02905399538576603, -0.02716686762869358, 0.031102154403924942, -0.013966684229671955, -0.054205868393182755, 0.03570406511425972, -0.038812968879938126, -0.010540005750954151, -0.02676239050924778, 0.03637070208787918, 0.012603174895048141, 0.03987843915820122, 0.003086480312049389, -0.03298736736178398, -0.028177959844470024, 0.0037004074547439814, -0.011013197712600231, 0.04655688256025314, 0.042281582951545715, 0.019562942907214165, 0.0009169825352728367, 0.030223935842514038, -0.03944538161158562, 0.00019734872330445796, 0.018788905814290047, 0.039843589067459106, -0.008603937923908234, -0.010118472389876842, -0.01994093880057335, -0.05964666232466698, -0.008609248325228691, 0.0495016872882843, 0.0033473053481429815, 0.016811178997159004, 0.013425570912659168, 0.0027767065912485123, -0.03812948241829872, 0.021083960309624672, 0.00003458539868006483, -0.010167783126235008, 0.00626774039119482, -0.00015218870248645544, -0.004575741942971945, -0.0885467380285263, -0.012838593684136868, -0.043062224984169006, 0.002535763429477811, -0.02940240502357483, -0.03661002963781357, 0.03136638179421425, -0.033536411821842194, 0.013811473734676838, 0.039181873202323914, 0.0007437298190779984, 0.02289131097495556, 0.01525044348090887, -0.02125948667526245, -0.03305961191654205, 0.004178570583462715, -0.03137240186333656, -0.0005886502331122756, 0.03181982785463333, -0.016269655898213387, -0.007192701566964388, 0.04527148976922035, -0.037024978548288345, -0.015834741294384003, -0.013374263420701027, -0.014117559418082237, 0.05618203058838844, -0.023842357099056244, 0.03697777912020683, -0.00996046420186758, -0.012129665352404118, -0.02376984991133213, -0.00939112901687622, -0.0059259687550365925, -0.040550850331783295, 0.010153068229556084, -0.008335348218679428, 0.008704137057065964, 0.054695747792720795, -0.007457416504621506, 0.034844301640987396, -0.023393355309963226, 0.02398020774126053, -0.04188159480690956, -0.009189511649310589, 0.006920207757502794, -0.018575161695480347, 0.006591184064745903, 0.02895868942141533, 0.005962456110864878, -0.01760273426771164, 0.007583325263112783, 0.009259735234081745, 0.04093346744775772, -0.006887465715408325, 0.027480466291308403, -0.0027497033588588238, -0.026542779058218002, -0.0005423506954684854, -0.0022988691926002502, -0.060788094997406006, 0.014426806010305882, -0.04846317693591118, 0.016388535499572754, -0.003280418226495385, 0.04715098440647125, 0.05246097221970558, -0.0407370924949646, 0.018015865236520767, 0.029748043045401573, 0.014531003311276436, 0.05800056830048561, -0.027918433770537376, 0.008142918348312378, -0.033900272101163864, 0.03640471398830414, -0.023404287174344063, -0.01758578233420849, 0.035635896027088165, 0.01942131668329239, 0.012497643940150738, -0.03217732533812523, 0.01852479577064514, -0.014084571972489357, -0.009476812556385994, -0.04158775880932808, 0.03860189765691757, -0.04940059408545494, 0.044945694506168365, 0.05469999462366104, -0.01377787720412016, 0.005915805697441101, 0.015615740790963173, 0.0014190602814778686, 0.03163157030940056, 0.010855453088879585, 0.0043321833945810795, 0.05609338730573654, -0.0157540924847126, 0.013628029264509678, 0.010847325436770916, -0.033231113106012344, 0.009542147628962994, 0.0007843999774195254, -0.014160635881125927, 0.025939133018255234, -0.01750546507537365, -0.06312815845012665, 0.0409022681415081, -0.00937296636402607, -0.008878719992935658, -0.01646813564002514, -0.018992332741618156, -0.026943711563944817, 0.04859497770667076, -0.03150458633899689, -0.012960243970155716, 0.009235162287950516, -0.047877125442028046, 0.02582305483520031, -0.018938563764095306, 0.00323000131174922, 0.016658421605825424, -0.005784308537840843, 0.045548632740974426, -0.017233213409781456, 0.02629263699054718, -0.025516364723443985, -0.00882164016366005, 0.02815394476056099, 0.0005508246831595898, -0.02213914692401886, 0.0029527146834880114, 0.0065820165909826756, -0.00825962983071804, 0.04930470883846283, -0.04038644954562187, 0.005686222575604916, -0.008418907411396503, -0.024446139112114906, -0.010571951977908611, -0.01858901046216488, 0.03629573807120323, 0.0013179037487134337, 0.04344789683818817, -0.0451807901263237, 0.0028286599554121494, 0.0045980229042470455, -0.009009874425828457, -0.0037954584695398808, 0.019525524228811264, -0.038440413773059845, -0.0034583050291985273, 0.03601590543985367, 0.01766546443104744, 0.01930629275739193, -0.01893456280231476, 0.03585210070014, 0.032407987862825394, 0.023096386343240738, -0.01763714663684368, 0.006182575132697821, -0.049976591020822525, 0.01133565604686737, 0.009502611123025417, -0.035999830812215805, -0.008151249960064888, 0.007591630332171917, -0.032722800970077515, 0.005454135127365589, -0.009285182692110538, 0.012312354519963264, 0.00606943154707551, -0.017770003527402878, 0.005806459579616785, 0.05796138942241669, 0.05609780550003052, 0.002524664858356118, -0.000351769762346521, 0.0024223201908171177, -0.023503970354795456, -0.03770451992750168, 0.039288152009248734, 0.013584243133664131, 0.010346313007175922, 0.02171214669942856, 0.048906873911619186, 0.08599277585744858, 0.04899947717785835, 0.010633796453475952, 0.02576737105846405, -0.03276973217725754, 0.03280108422040939, -0.012056602165102959, -0.020776651799678802, 0.0039155613631010056, -0.03071664460003376, 0.018977072089910507, 0.008075024001300335, -0.025373907759785652, -0.0013982836389914155, 0.025574227795004845, -0.06474371999502182, -0.003365136217325926, 0.0329216867685318, -0.029995150864124298, -0.011648274958133698, -0.05154360085725784, 0.011821828782558441, -0.005621275398880243, -0.011303158476948738, 0.0071938661858439445, -0.00791200716048479, -0.011250228621065617, 0.02861129492521286, -0.03827908635139465, -0.028653273358941078, 0.030281618237495422, 0.007647629827260971, 0.021414604038000107, -0.0008810004219412804, -0.04873484745621681, -0.004056826233863831, -0.03942408785223961, 0.016149288043379784, -0.022149868309497833, 0.01328419242054224, 0.03513530269265175, 0.02073769085109234, 0.02042119763791561, 0.02212977036833763, -0.013713300228118896, 0.015671445056796074, 0.04116540774703026, -0.0023315458092838526, 0.021568795666098595, -0.055306822061538696, -0.02020978182554245, 0.05740576982498169, 0.01650707982480526, -0.020316550508141518, -0.022723468020558357, -0.06055082753300667, -0.026629913598299026, -0.035371068865060806, 0.02739821933209896, 0.0643647238612175, 0.02578108385205269, 0.002998597454279661, -0.005119123496115208, 0.02019532211124897, -0.008606497198343277, 0.017281318083405495, 0.035863421857357025, -0.005444325041025877, 0.02463415451347828, 0.0341508574783802, -0.019275203347206116, 0.012394814752042294, -0.02926999144256115, 0.025205189362168312, -0.03634489327669144, -0.01815618947148323, 0.060408979654312134, -0.02074822224676609, 0.021310893818736076, 0.018037987872958183, -0.0552654005587101, -0.011273748241364956, 0.04065417870879173, 0.007179024629294872, -0.0014803140657022595, 0.03205433115363121, -0.02845323085784912, 0.015964748337864876, -0.023437021300196648, 0.009810849092900753, 0.04463387280702591, 0.042778417468070984, 0.03325922414660454, 0.0365213081240654, 0.03946458175778389, 0.08415770530700684, 0.004876879043877125, -0.04132762923836708, 0.010036611929535866, 0.08138535171747208, 0.02468693070113659, 0.040991418063640594, 0.020804794505238533, -0.05597599968314171, -0.025766266509890556, -0.02004379965364933, -0.007673556450754404, -0.012656393460929394, -0.0046136281453073025, 0.015015765093266964, -0.0009357716771773994, 0.0065588681027293205, -0.010610921308398247, 0.08993949741125107, 0.048772215843200684, 0.035241108387708664, -0.0022691457998007536, 0.05599215254187584, -0.025016728788614273, 0.008126779459416866, 0.02426518313586712, 0.015560097061097622, 0.012699886225163937, -0.01895129308104515, 0.015049608424305916, 0.03211602568626404, 0.07121235132217407, -0.01704287715256214, 0.03238194063305855, 0.030256906524300575, 0.012776696123182774, 0.002892372664064169, 0.014128507114946842, -0.00960416067391634, 0.01843087561428547, -0.013307304121553898, 0.003991455305367708, -0.005444124806672335, -0.009639604948461056, 0.005883601028472185, -0.021472888067364693, -0.030060626566410065, -0.02844283916056156, 0.03852866590023041, 0.045254211872816086, 0.017954295501112938, -0.007909874431788921, -0.05061087757349014, -0.00735283549875021, 0.031642474234104156, -0.009671983309090137, -0.02985283173620701, -0.021840155124664307, 0.008292092941701412, 0.015205553732812405, -0.016782278195023537, 0.025420794263482094, 0.03851298987865448, -0.003962455317378044, 0.018241388723254204, 0.036470070481300354, 0.02603716403245926, 0.004851568024605513, 0.05869527533650398, 0.01016010157763958, -0.04354187846183777, -0.026099542155861855, 0.029074540361762047, -0.017169078812003136, -0.010103799402713776, -0.06454037874937057, 0.005212039686739445, -0.002683984814211726, 0.002295465674251318, 0.07348084449768066, 0.036081742495298386, -0.013534418307244778, -0.04519756883382797, 0.0047576408833265305, 0.006144416052848101, -0.026030346751213074, 0.055389244109392166, -0.05324006825685501, 0.008088287897408009, -0.009735500440001488, 0.002218529349192977, 0.02778571844100952, -0.027917159721255302, 0.00788384024053812, 0.05320072919130325, -0.002690410241484642, -0.013370533473789692, 0.027994943782687187, 0.048098124563694, 0.03121931105852127, 0.06814789026975632, 0.007817720994353294, -0.006380817852914333, 0.0023200560826808214, 0.023438360542058945, 0.026081588119268417, -0.044881947338581085, 0.021003995090723038, -0.035088833421468735, -0.007757163606584072, -0.01787671633064747, 0.029443658888339996, -0.00030171003891155124, 0.019779259338974953, -0.03358927369117737, 0.00895253662019968, -0.0320768840610981, -0.01930905133485794, 0.04351886734366417, 0.014481823891401291, 0.07691948860883713, 0.03469063714146614, 0.023449527099728584, -0.006267226301133633, 0.03238251060247421, -0.003958073444664478, -0.023027559742331505, 0.015030143782496452, 0.025170691311359406, -0.04814332351088524, -0.03335243836045265, -0.015705902129411697, -0.024704746901988983, 0.03404226154088974, -0.06037117540836334, 0.01730283349752426, 0.010479731485247612, 0.0030616754665970802, 0.003559709992259741, -0.023720232769846916, -0.002503388561308384, -0.03472762182354927, 0.04394453763961792, -0.05990012735128403, 0.008538169786334038, -0.008562326431274414, -0.0158021729439497, -0.055948980152606964, 0.04413871839642525, 0.020097263157367706, 0.003038228489458561, 0.018383463844656944, -0.000790526857599616, -0.014499413780868053, -0.0188303142786026, 0.044489338994026184, 0.01083745714277029, 0.014352705329656601, -0.05061784014105797, -0.04909832030534744, 0.017008379101753235, 0.011932584457099438, -0.016723807901144028, -0.02217516489326954, -0.005701011978089809, -0.0006298099760897458, -0.04183081537485123, -0.0017012084135785699, -0.002409369219094515, -0.008102512918412685, -0.0027776157949119806, 0.004515662789344788, 0.0013247196329757571, 0.05284883826971054, 0.02873956598341465, -0.032637130469083786, -0.031000733375549316, -0.024770328775048256 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
Ignore previous instructions In API-based models, people resort to tricks in an attempt to override the system prompt and change the default model behaviour. As imaginative as these solutions are, this is not necessary in open-access models: anyone can use a different prompt, as long as it follows the format described above. We believe that this will be an important tool for researchers to study the impact of prompts on both desired and unwanted characteristics. For example, when people are surprised with absurdly cautious generations, you can explore whether maybe a different prompt would work. (🎩 h/t Clémentine Fourrier for the links to this example). In our 13B and 7B demos, you can easily explore this feature by disclosing the "Advanced Options" UI and simply writing your desired instructions. You can also duplicate those demos and use them privately for fun or research!
[ 0.04333799332380295, 0.03041507489979267, 0.012405585497617722, -0.019225001335144043, 0.10709549486637115, 0.02765798568725586, 0.025039810687303543, 0.018171845003962517, 0.01392755750566721, -0.10596055537462234, -0.09422928839921951, -0.01640949584543705, -0.08181881159543991, 0.01781020313501358, -0.048029206693172455, -0.015568135306239128, 0.039244040846824646, -0.06589124351739883, -0.013708803802728653, -0.0000731754771550186, 0.0826793760061264, -0.030776089057326317, 0.06654626876115799, -0.08162756264209747, 0.004907833877950907, -0.028228294104337692, 0.09926773607730865, -0.024243297055363655, -0.09337959438562393, -0.017980601638555527, -0.05811863765120506, -0.05902702733874321, 0.03968886286020279, -0.004178561735898256, -0.010756341740489006, -0.0011601531878113747, -0.03605036810040474, 0.011598131619393826, -0.00449241790920496, 0.03820578753948212, -0.022587401792407036, -0.07739528268575668, -0.04163461923599243, 0.06073978915810585, 0.03708038851618767, -0.0047574760392308235, -0.17589859664440155, 0.03667009621858597, -0.08827444165945053, 0.04778220131993294, -0.11417116969823837, 0.06265839189291, 0.01364352647215128, 0.0034357800614088774, 0.027654414996504784, -0.014335822314023972, -0.042312316596508026, -0.03012174554169178, 0.01093694381415844, 0.007888134568929672, 0.07518453896045685, 0.023788269609212875, 0.0026875471230596304, 0.05858877673745155, 0.02003471925854683, -0.0351707898080349, -0.03418942168354988, -0.003649383317679167, -0.06233641505241394, -0.029802320525050163, -0.010234007611870766, -0.024076299741864204, -0.018333548679947853, -0.0376981645822525, 0.023785782977938652, -0.10166487842798233, 0.07960188388824463, 0.10013692080974579, -0.014593787491321564, 0.0194072425365448, 0.01028354186564684, -0.006903164088726044, 0.08030947297811508, -0.0043517109006643295, 0.005130381789058447, 0.017568310722708702, 0.018272073939442635, -0.031477056443691254, 0.028250912204384804, -0.02496478147804737, -0.0408545583486557, -0.09409167617559433, 0.054036449640989304, 0.0007408551755361259, 0.01657363586127758, 0.01257279608398676, -0.02343534119427204, 0.018190894275903702, 0.052724458277225494, 0.05856892466545105, -0.06518680602312088, -0.0160625409334898, 0.022466208785772324, -0.04227611795067787, -0.07279496639966965, -0.03183775022625923, -0.027355952188372612, -0.059370286762714386, -0.09188784658908844, 0.014343298971652985, 0.019628867506980896, 0.025194669142365456, 0.03574619069695473, 0.06703794002532959, -0.05540981516242027, 0.023436887189745903, 0.04765160754323006, 0.0035066697746515274, 0.019487107172608376, -0.006908940151333809, 0.005602606106549501, 0.06459684669971466, 0.0589534193277359, -0.005536667536944151, 0.03816666826605797, 0.06042241305112839, 0.08670143783092499, 0.0148857943713665, -0.04040239006280899, -0.06821704655885696, 0.0488535575568676, -0.017308823764324188, 0.04717862606048584, -0.024256054311990738, 0.05323830619454384, -0.056497637182474136, 0.006857977714389563, -0.038823746144771576, 0.059852998703718185, -0.023090455681085587, 0.010483595542609692, -0.04982217773795128, 0.016955725848674774, 0.021466605365276337, -0.043016646057367325, 0.016863062977790833, -0.04768830165266991, 0.04762672632932663, -0.015856241807341576, 0.052107736468315125, 0.031405508518218994, 0.04566512256860733, -0.03392540663480759, -0.11109263449907303, 0.004178892355412245, 0.009408977814018726, -0.014922539703547955, 0.038460660725831985, -0.033028218895196915, -0.047255173325538635, 0.06293969601392746, 0.0606604628264904, -0.05201699212193489, -0.00643555773422122, 0.083174929022789, -0.0043565756641328335, 0.021590575575828552, 0.015787115320563316, 0.04561199992895126, -0.004049752373248339, -0.048708707094192505, -0.040808096528053284, 0.08736758679151535, -0.047342151403427124, 0.019918739795684814, -0.006595056504011154, 0.03243030980229378, -0.001485557178966701, 0.012241195887327194, 0.01663832925260067, -0.0359376035630703, 0.02478109858930111, -0.013137338683009148, 0.006220096256583929, 0.04363687336444855, -0.06715631484985352, 0.02142275497317314, -0.04046345874667168, -0.05201750621199608, 0.015212183818221092, -0.06367925554513931, 0.052369605749845505, 0.0962509885430336, 0.0588950589299202, 0.038072820752859116, -0.0523698665201664, -0.05583159625530243, 0.07857567071914673, 0.029543299227952957, 0.056139204651117325, 0.06961726397275925, 0.044914163649082184, 0.05615091323852539, -0.04801744595170021, -0.013520237989723682, 0.03731393441557884, 0.09170456230640411, -0.08918867260217667, 0.012320833280682564, 0.004425644874572754, -0.020510757341980934, -0.0199086032807827, 0.04255225509405136, -0.07426844537258148, 0.02339647337794304, -0.027918986976146698, 0.04921703040599823, -0.004104667343199253, -0.017696069553494453, -0.04836044833064079, 0.10480112582445145, 0.03532673791050911, 0.002560932654887438, -0.03573668375611305, 0.0037364859599620104, 0.03652731701731682, 0.04150484502315521, 0.02859664149582386, 0.02853710576891899, -0.035962603986263275, 0.028155015781521797, -0.04854391887784004, -0.046415455639362335, 0.023271135985851288, 0.030300991609692574, 0.03926193714141846, 0.03184559568762779, -0.03408690169453621, -0.020724713802337646, -0.06875761598348618, -0.003927377052605152, -0.0029518490191549063, 0.009902826510369778, 0.08800452202558517, 0.005392290651798248, 0.005006927531212568, -0.011625057086348534, 0.007424603682011366, -0.06067124754190445, 0.05802439898252487, -0.07448267936706543, 0.06614295393228531, -0.020812086760997772, -0.047804538160562515, 0.016908133402466774, 0.07151934504508972, -0.016313396394252777, -0.014627224765717983, -0.06716832518577576, -0.006545344367623329, -0.027537334710359573, -0.03731951490044594, -0.024716559797525406, -0.05154414847493172, 0.015233219601213932, -0.019927237182855606, -0.003482196480035782, 0.005561138968914747, 0.022792216390371323, -0.0121385483071208, 0.02333947829902172, -0.028563005849719048, -0.021272223442792892, 0.028684008866548538, -0.009581785649061203, 0.02755238302052021, 0.05605791136622429, 0.007452875375747681, -0.009195437654852867, -0.008342706598341465, -0.0159048680216074, -0.03170012682676315, -0.00645625963807106, 0.018033131957054138, 0.028061768040060997, -0.0038370697293430567, 0.011184558272361755, 0.012453911826014519, -0.04249314218759537, 0.01859949342906475, -0.05208819359540939, 0.026666611433029175, 0.006893154699355364, -0.008782915771007538, -0.002638310194015503, -0.02154262363910675, 0.022269485518336296, 0.02091257832944393, -0.0018190591363236308, 0.004316543694585562, 0.007526798639446497, -0.03128087520599365, 0.02241070754826069, -0.019064098596572876, 0.005309899803251028, 0.03729517385363579, 0.050281815230846405, 0.002373583847656846, -0.11121038347482681, -0.06896336376667023, -0.013736297376453876, 0.0363907553255558, -0.03204233944416046, -0.004201773088425398, 0.028670625761151314, -0.0025447814259678125, 0.011072808876633644, 0.020278852432966232, 0.014204413630068302, 0.019303875043988228, -0.00606345571577549, 0.021126968786120415, -0.06931810081005096, -0.014654739759862423, -0.01480189897119999, 0.008432398550212383, -0.0025793646927922964, -0.0017831496661528945, -0.00875193439424038, 0.023341599851846695, 0.014351473189890385, -0.023889712989330292, -0.017240704968571663, -0.002900319406762719, 0.04719176143407822, -0.011074784211814404, -0.030821453779935837, -0.06426230072975159, 0.04079814627766609, -0.04073334112763405, -0.01193645503371954, 0.026347806677222252, -0.019989969208836555, 0.004624851047992706, 0.024517301470041275, 0.03208635002374649, 0.03421715646982193, 0.049838218837976456, 0.04136516526341438, 0.030807582661509514, 0.018639830872416496, 0.0361238569021225, -0.022048788145184517, 0.013607197441160679, -0.033372778445482254, -0.009892244823276997, 0.0033699190244078636, -0.006667158100754023, -0.04362742230296135, -0.01981443539261818, 0.0023223182652145624, 0.04428365081548691, -0.011019039899110794, 0.0007188971503637731, 0.015737416222691536, 0.039515234529972076, 0.024519622325897217, -0.02743709087371826, -0.007188735064119101, 0.04454391077160835, -0.000640285958070308, 0.0005240694154053926, -0.0390869565308094, 0.005000809207558632, 0.007474936079233885, 0.029582364484667778, -0.017218630760908127, 0.017759423702955246, 0.014576044864952564, 0.030493786558508873, 0.028994010761380196, -0.006292868405580521, 0.022293442860245705, -0.03504784777760506, -0.028641918674111366, 0.0031208686996251345, 0.051525454968214035, -0.010396014899015427, 0.05431358143687248, -0.028901400044560432, -0.03956550359725952, -0.004386530723422766, -0.00230332906357944, -0.014949573203921318, 0.009514424949884415, -0.025348041206598282, -0.017383893951773643, 0.011018378660082817, 0.009355196729302406, -0.03389064222574234, 0.042286019772291183, -0.03240625560283661, -0.02873908169567585, -0.00843949243426323, 0.030325056985020638, 0.011848188005387783, 0.028948673978447914, 0.010912152007222176, 0.01946227066218853, 0.002207423560321331, -0.04724191501736641, 0.012053051963448524, -0.003977904096245766, 0.03155289962887764, -0.04118383303284645, -0.028229843825101852, 0.013608003035187721, 0.009906988590955734, -0.0005862838006578386, -0.04494453966617584, 0.018326902762055397, -0.022908644750714302, -0.02355065383017063, 0.030114702880382538, 0.0005786902038380504, 0.008314705453813076, -0.0029581065755337477, -0.002532613230869174, -0.06380289793014526, -0.004798801150172949, 0.0261858981102705, -0.03805107995867729, 0.017214061692357063, 0.004001973196864128, -0.0007228833273984492, -0.0024513041134923697, 0.008022290654480457, 0.03580006584525108, -0.030359452590346336, 0.006324099842458963, 0.010312629863619804, 0.02326304279267788, -0.0008967462345026433, 0.009073443710803986, -0.04780540242791176, 0.05574502423405647, -0.005241648759692907, -0.04185821861028671, -0.020641833543777466, -0.030566813424229622, 0.06926404684782028, -0.025870099663734436, 0.03953975811600685, -0.030872715637087822, -0.031426746398210526, 0.005911630112677813, 0.005109606310725212, 0.012136396951973438, 0.03729593753814697, 0.012681204825639725, -0.05802999064326286, -0.03443487733602524, -0.008542315103113651, -0.008993675000965595, -0.036397453397512436, -0.01189468428492546, -0.018026892095804214, 0.05376216396689415, -0.014044917188584805, -0.005318792536854744, -0.05238852649927139, 0.03790587931871414, -0.02098710648715496, 0.016711333766579628, -0.01627339795231819, -0.00797292497009039, 0.00025348085910081863, -0.01918298937380314, -0.010863340459764004, -0.023544756695628166, 0.0286374781280756, -0.013262294232845306, 0.04156129062175751, -0.023836415261030197, 0.04504537954926491, 0.04003364220261574, -0.005918480921536684, 0.024284563958644867, -0.0187095794826746, 0.009809550829231739, 0.040266912430524826, -0.0037282861303538084, 0.016462624073028564, 0.07898260653018951, 0.023606952279806137, 0.019871322438120842, 0.03558358550071716, 0.023984508588910103, -0.00012560983304865658, -0.02039165422320366, 0.005390592850744724, -0.018511537462472916, 0.04993331432342529, -0.02335481345653534, 0.009067083708941936, 0.03541218861937523, -0.02170276828110218, 0.0066270302049815655, 0.055580250918865204, 0.040534235537052155, 0.009461180306971073, -0.01967172510921955, 0.0603644959628582, -0.0013388459337875247, 0.033503640443086624, -0.007610222324728966, 0.01498012151569128, -0.009594732895493507, -0.024243678897619247, -0.0013752300292253494, -0.016987090930342674, -0.005139701068401337, -0.006843240465968847, -0.02124551497399807, -0.04510584846138954, 0.01687411405146122, 0.016862405464053154, 0.030007464811205864, 0.05529623106122017, 0.005196646321564913, -0.039755769073963165, 0.01580032892525196, 0.011143139563500881, -0.014967094175517559, 0.04746973514556885, 0.016098136082291603, 0.024133354425430298, -0.011769730597734451, 0.048551373183727264, 0.03817879036068916, -0.0044591547921299934, 0.011777333915233612, 0.015272802673280239, 0.009019301272928715, -0.07082684338092804, 0.04642312973737717, 0.0019207294099032879, 0.01880289427936077, 0.00655056769028306, -0.017447298392653465, -0.083336740732193, -0.015639182180166245, -0.02909843809902668, 0.0192242618650198, 0.003160649910569191, -0.01117023453116417, -0.006085621193051338, -0.01608704961836338, 0.012988797388970852, -0.03155682608485222, -0.032683443278074265, -0.0015929907094687223, -0.014752021059393883, 0.053339436650276184, 0.01619364693760872, -0.013076351955533028, -0.0034325255546718836, -0.024841275066137314, 0.05634329468011856, -0.02562103047966957, -0.04466860368847847, 0.01245786901563406, -0.01801959238946438, 0.04115413874387741, 0.04642635956406593, -0.014548944309353828, -0.010752889327704906, -0.02149268053472042, 0.04544403403997421, 0.013751843012869358, 0.01927374303340912, 0.009339890442788601, -0.019734466448426247, -0.01992427185177803, 0.004149496555328369, 0.06763963401317596, 0.05790712311863899, -0.0024318895302712917, 0.01219542883336544, 0.03990845009684563, 0.010160407051444054, 0.014453346841037273, 0.004648786503821611, 0.018200738355517387, 0.03890194743871689, -0.034653257578611374, 0.015653366222977638, 0.026999743655323982, -0.03542112931609154, 0.017533492296934128, -0.04955262318253517, -0.020410289987921715, -0.025003675371408463, 0.01142737828195095, -0.021855991333723068, -0.009340988472104073, 0.005720905493944883, -0.0649988129734993, 0.07984200119972229, 0.0082630580291152, 0.0052797007374465466, 0.01903535984456539, 0.004974833223968744, -0.0020850603468716145, 0.024543827399611473, -0.004103187937289476, 0.01739957369863987, 0.011085258796811104, -0.009051286615431309, 0.05359136685729027, 0.003547704080119729, -0.005385807249695063, 0.012163897976279259, 0.0017654732801020145, 0.017986033111810684, -0.044087495654821396, -0.0038375931326299906, -0.013754104264080524, -0.01618785224854946, 0.013852895237505436, -0.03872828930616379, -0.03200918436050415, 0.01635408028960228, -0.04593264311552048, 0.0112919257953763, -0.023388760164380074, 0.005096112377941608, 0.017108481377363205, -0.011180698871612549, 0.01160931121557951, 0.06985733658075333, -0.01909693144261837, -0.021232789382338524, 0.03146175295114517, 0.010089081712067127, 0.01248652208596468, -0.02117658220231533, -0.007345422636717558, -0.07369626313447952, 0.021616339683532715, 0.017728637903928757, -0.010413240641355515, 0.0026400743518024683, 0.024542512372136116, 0.0036228473763912916, -0.021157534793019295, -0.042001474648714066, 0.04485182836651802, -0.0010778201976791024, 0.05502163991332054, 0.008297504857182503, -0.0206044502556324, -0.05132877454161644, -0.06048351526260376, -0.010742934420704842, -0.001190861570648849, 0.005563610233366489, -0.010438981465995312, 0.030692512169480324, 0.05445476248860359, 0.0031492256093770266, -0.06534332782030106, 0.0034395409747958183, 0.005665350239723921, -0.01581849716603756, -0.0047449273988604546, 0.004391862545162439, 0.019629474729299545, -0.005513689015060663, -0.0066655101254582405, -0.0038719698786735535, -0.02987445704638958, 0.0033384892158210278, -0.01110825128853321, -0.00020096763910260051, 0.001176095218397677, -0.035034723579883575, 0.00018694854225032032, 0.08116574585437775, -0.01095365546643734, 0.06529898941516876, -0.01780829392373562, 0.007547414395958185, 0.02537730149924755, -0.01410295907407999, -0.010315041989088058, -0.012790171429514885, 0.05014548450708389, -0.07384413480758667, -0.00501249311491847, -0.0009807158494368196, 0.018819989636540413, -0.009380266070365906, 0.0008342948276549578, -0.012268207967281342, 0.019252344965934753, -0.010911911725997925, -0.02986995130777359, -0.016562895849347115, -0.010854203253984451, 0.05522288382053375, -0.026157209649682045, 0.05318043753504753, 0.02014981396496296, 0.003446893533691764, 0.016789481043815613, -0.020048849284648895, 0.0054750628769397736, -0.004677439574152231, -0.004007140640169382, -0.037000883370637894, 0.0012749428860843182, -0.0026718201115727425, -0.04778989031910896, -0.08440196514129639, -0.014734403230249882, 0.023481253534555435, -0.015257604420185089, -0.029124168679118156, 0.0024839015677571297, -0.011128952726721764, 0.03412138670682907, 0.007099940907210112, 0.01954788900911808, 0.017313329502940178, 0.003432591911405325, 0.05049668252468109, -0.05846645310521126, -0.008115733973681927, -0.06200645491480827, 0.02557462453842163, 0.005902298726141453, -0.002700092038139701, -0.04026729613542557, 0.0479423850774765, -0.016036875545978546, 0.03319533169269562, 0.003615152556449175, 0.01728096976876259, -0.004466193728148937, -0.011087290942668915, 0.0030346636194735765, -0.019092701375484467, 0.002754257060587406, 0.030511582270264626, -0.009814087301492691, -0.035083137452602386, 0.012421952560544014, 0.038561273366212845, 0.030406899750232697, 0.010557486675679684, 0.02983088605105877, -0.03966262564063072, 0.012436519376933575, 0.038677554577589035, -0.0038114360067993402, 0.02062670886516571, 0.04177316278219223 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
Conclusion We're very excited about Llama 2 being out! In the incoming days, be ready to learn more about ways to run your own fine-tuning, execute the smallest models on-device, and many other exciting updates we're prepating for you!
[ 0.04796120524406433, 0.008122744038701057, 0.14297355711460114, -0.0039055016823112965, 0.11318103969097137, -0.05092243477702141, 0.005581068340688944, 0.05256171151995659, -0.029221760109066963, -0.07248134166002274, -0.02363528311252594, 0.03366098180413246, -0.03874564915895462, 0.06030159816145897, 0.001407915959134698, -0.02753729745745659, 0.010138257406651974, -0.012153629213571548, 0.010152172297239304, 0.0017316140001639724, -0.039290495216846466, -0.06665703654289246, 0.020401393994688988, -0.05428256094455719, -0.0026870891451835632, 0.016221165657043457, 0.03917529806494713, 0.045300837606191635, -0.04620445519685745, -0.013484274968504906, -0.05652167648077011, -0.042631205171346664, 0.009404603391885757, -0.0013391110114753246, -0.0013228085590526462, 0.01989370584487915, -0.09274974465370178, 0.023120496422052383, 0.0181412510573864, -0.03588495030999184, -0.025603722780942917, -0.03224171698093414, -0.06014948710799217, 0.028574911877512932, -0.0026329432148486376, -0.01151962485164404, -0.1567278355360031, 0.009957400150597095, 0.003280618693679571, -0.019036373123526573, -0.08028659969568253, 0.050937898457050323, 0.002125874161720276, -0.017767788842320442, 0.05363626405596733, -0.010146323591470718, 0.041065990924835205, -0.024121908470988274, -0.013809822499752045, 0.0008728249231353402, 0.046382028609514236, 0.003875846043229103, 0.0345008559525013, -0.004489959683269262, -0.012534072622656822, -0.03887934237718582, 0.037699006497859955, -0.007200278807431459, -0.05202490836381912, -0.009580910205841064, 0.0072702644392848015, -0.04735320806503296, -0.03623248636722565, -0.04486408829689026, 0.047276828438043594, -0.045326314866542816, -0.02309281937777996, 0.07440666109323502, 0.0629325807094574, 0.03277304768562317, 0.00814723875373602, -0.013092663139104843, 0.11093614995479584, 0.062382932752370834, -0.03287725895643234, 0.011581207625567913, 0.02649463340640068, -0.019052714109420776, -0.020693622529506683, 0.030628006905317307, 0.013882391154766083, -0.15427754819393158, 0.014134824275970459, 0.027842549607157707, 0.07883375138044357, -0.04532511532306671, -0.016320746392011642, -0.0527130626142025, -0.0253657978028059, 0.0027093342505395412, 0.014257819391787052, -0.08197570592164993, -0.01470651850104332, -0.03926455229520798, -0.03412681818008423, 0.007789624854922295, -0.0065831770189106464, -0.09242226928472519, -0.07150299102067947, 0.035695191472768784, 0.00897818710654974, 0.01028052531182766, 0.13227790594100952, -0.01449531875550747, -0.070643849670887, 0.051579829305410385, 0.006282948888838291, -0.010720567777752876, -0.029218779876828194, 0.026776747778058052, 0.05105174332857132, 0.05648059770464897, 0.062224626541137695, 0.045171502977609634, 0.03885061293840408, 0.035347845405340195, -0.004992854315787554, 0.04832301661372185, 0.014406061731278896, -0.07538602501153946, 0.0037129365373402834, -0.030343906953930855, 0.001707558985799551, -0.005928350146859884, 0.012834970839321613, -0.06820780783891678, -0.03319510444998741, -0.029730970039963722, 0.02654988504946232, -0.014508573338389397, -0.050676628947257996, 0.029270397499203682, 0.014563397504389286, 0.07961518317461014, 0.07070530951023102, -0.03164427727460861, -0.11714562028646469, 0.07188531011343002, -0.07449251413345337, -0.02410070411860943, -0.030897527933120728, 0.027148457244038582, -0.09398282319307327, -0.07684294134378433, 0.01009809598326683, -0.040880732238292694, -0.06052400916814804, 0.005083833355456591, -0.08456278592348099, 0.008729059249162674, -0.01964636705815792, 0.0025951277930289507, 0.013025259599089622, -0.017585627734661102, 0.047991711646318436, -0.008608720265328884, 0.011572936549782753, 0.03653660789132118, 0.038704920560121536, -0.04655443876981735, 0.022598931565880775, -0.01662365160882473, 0.1163020208477974, -0.016298968344926834, -0.04050413891673088, 0.06561801582574844, 0.05640028789639473, 0.054579589515924454, 0.01120731420814991, 0.05187183618545532, -0.022395681589841843, -0.006247857119888067, -0.010849865153431892, 0.020667821168899536, 0.012123136781156063, -0.06601400673389435, 0.009407313540577888, -0.04238627105951309, -0.019520187750458717, -0.03699120879173279, -0.041718050837516785, 0.0010967956623062491, 0.04898592084646225, -0.004251273814588785, 0.03132069110870361, -0.029986774548888206, -0.052873920649290085, 0.07293242961168289, 0.03463654965162277, 0.06019050255417824, 0.04405625909566879, 0.06523830443620682, 0.01762378215789795, 0.011945698410272598, -0.08928368985652924, 0.014185904525220394, 0.07737349718809128, -0.026116713881492615, -0.029739368706941605, 0.006694979500025511, -0.008332889527082443, -0.11534928530454636, 0.012565111741423607, -0.033472321927547455, 0.06310337036848068, -0.025200756266713142, -0.021060341969132423, 0.0021158140152692795, -0.0059112966991961, -0.08917059749364853, 0.05698280781507492, -0.04478325694799423, -0.003024012316018343, 0.013461976312100887, -0.004051145166158676, 0.10522330552339554, 0.11027726531028748, -0.04172620549798012, 0.0535641610622406, -0.04736688360571861, -0.014181004837155342, -0.035949915647506714, -0.050635818392038345, 0.04380645230412483, 0.03109721653163433, 0.039607394486665726, -0.05976010486483574, -0.04762127622961998, 0.046409886330366135, -0.02401130460202694, 0.020093517377972603, 0.03984051197767258, 0.03189639747142792, 0.10807187855243683, -0.0064927963539958, -0.08260300010442734, 0.05189982429146767, 0.015108561143279076, -0.039517905563116074, -0.019115662202239037, -0.06883424520492554, 0.010794819332659245, 0.06824495643377304, 0.061646007001399994, 0.05500707030296326, -0.03492050617933273, -0.02552749402821064, -0.02733718790113926, -0.01346955168992281, 0.03369142487645149, -0.0046441215090453625, -0.07226109504699707, 0.051123231649398804, -0.011480901390314102, -0.014187311753630638, -0.0044695730321109295, 0.0028702726121991873, 0.0030779317021369934, -0.029964081943035126, -0.012388563714921474, 0.022111326456069946, -0.02282673306763172, 0.026469267904758453, -0.025108350440859795, 0.046804387122392654, -0.016491256654262543, 0.06013312190771103, -0.03382604196667671, -0.004633862990885973, -0.045607276260852814, -0.007568595930933952, -0.0006188136758282781, 0.061645396053791046, 0.06040894612669945, 0.023580269888043404, -0.012729614041745663, 0.02959425188601017, -0.00899797584861517, -0.004839862231165171, 0.018143629655241966, -0.021472211927175522, -0.03819441795349121, 0.001426850794814527, -0.019115440547466278, -0.004860827699303627, -0.04922908917069435, 0.037689123302698135, 0.04092636704444885, -0.010975105687975883, 0.014181689359247684, 0.009217220358550549, -0.00757615314796567, 0.008963371627032757, -0.0099137332290411, -0.04975992068648338, 0.0002452161570545286, 0.04402376338839531, -0.008856138214468956, -0.1255495250225067, -0.041762955486774445, 0.016008267179131508, 0.04737751930952072, -0.028630996122956276, 0.012592002749443054, 0.020802881568670273, -0.036893125623464584, 0.0023629250936210155, 0.00967951025813818, -0.006283395923674107, 0.01583000272512436, 0.0021991694811731577, -0.032972730696201324, -0.017731621861457825, -0.003273964626714587, 0.007981523871421814, 0.012421670369803905, 0.011087493039667606, -0.02259092591702938, 0.004692071117460728, 0.06485316157341003, -0.02418440394103527, 0.0016107995761558414, -0.04474812000989914, 0.021562380716204643, 0.03539886325597763, 0.0422716848552227, 0.009395425207912922, -0.027128709480166435, -0.039187248796224594, -0.017627498134970665, -0.014713171869516373, -0.01226835697889328, -0.05728673189878464, 0.004175242036581039, -0.0026645767502486706, 0.005255450028926134, 0.02973349764943123, 0.0332474447786808, 0.041283223778009415, 0.0013438581954687834, 0.004712122958153486, 0.00022997595078777522, -0.04849221184849739, 0.02866455726325512, 0.003460412845015526, -0.007050457876175642, 0.043124839663505554, -0.013196606189012527, 0.00636196369305253, 0.01687266305088997, -0.0013511533616110682, 0.0698920339345932, 0.020675765350461006, 0.021975014358758926, -0.01627107337117195, 0.025528375059366226, 0.05373971909284592, -0.02977324090898037, -0.007550737354904413, -0.0014826124534010887, -0.003166590351611376, 0.05086951702833176, -0.0384511724114418, 0.042187295854091644, 0.02071034163236618, 0.004685564897954464, 0.002103702863678336, 0.03173711895942688, 0.0003697242063935846, 0.01887059584259987, -0.007312694098800421, 0.01735399290919304, -0.002921800361946225, 0.05384951829910278, -0.013916317373514175, -0.004687116947025061, 0.06843473017215729, 0.025823941454291344, 0.02020922116935253, -0.04398252069950104, 0.0326688252389431, -0.01596357300877571, -0.029628733173012733, -0.008801433257758617, -0.0027085246983915567, 0.01916765235364437, 0.022969268262386322, 0.06297477334737778, 0.008712496608495712, -0.011278829537332058, 0.0324900820851326, 0.004814370535314083, 0.04296611621975899, 0.026516268029808998, 0.03321165218949318, 0.0014624303439632058, 0.007052578963339329, -0.002961830236017704, 0.038907621055841446, -0.003240564139559865, 0.015689633786678314, 0.033640094101428986, -0.01606108993291855, 0.051645584404468536, 0.0016762156737968326, -0.029472660273313522, 0.009492185898125172, 0.02265011891722679, 0.005111198406666517, -0.03729120269417763, 0.01856202632188797, -0.026657607406377792, -0.012072178535163403, -0.025010328739881516, 0.01085595041513443, 0.013716773129999638, -0.04216699302196503, 0.02075105719268322, -0.056887347251176834, -0.010782437399029732, 0.015368469059467316, 0.003199776168912649, 0.05308709666132927, -0.018860233947634697, 0.023290148004889488, -0.016349313780665398, 0.022687414661049843, 0.03128373622894287, -0.014792182482779026, -0.007495658006519079, -0.02411791868507862, 0.019062776118516922, -0.002425447339192033, 0.04276483505964279, -0.006516987457871437, 0.04242231324315071, -0.00901900976896286, -0.06895642727613449, -0.02700313739478588, 0.012716896831989288, 0.028562050312757492, -0.02535642869770527, 0.03395800665020943, -0.022221624851226807, -0.022487159818410873, -0.004924572538584471, -0.033591315150260925, -0.0030933881644159555, 0.031704362481832504, -0.0498318187892437, -0.02101295255124569, 0.005883644334971905, -0.026340460404753685, 0.027561726048588753, -0.037760715931653976, 0.009766330011188984, -0.010905902832746506, 0.04599544778466225, 0.00013501159264706075, 0.011005938053131104, -0.05237654596567154, 0.030698727816343307, 0.007653750944882631, -0.033191416412591934, 0.004882313776761293, -0.02716192603111267, 0.00988979171961546, -0.03739258274435997, 0.021338900551199913, -0.013707667589187622, 0.019587714225053787, -0.017906446009874344, 0.046960968524217606, 0.037405792623758316, 0.030495373532176018, -0.0014256734866648912, 0.03696644678711891, 0.0010157692013308406, 0.016789671033620834, -0.0065681892447173595, 0.03503376618027687, 0.018616726621985435, 0.0021307773422449827, 0.020716441795229912, 0.0637044608592987, 0.041207004338502884, 0.046008750796318054, 0.007693635765463114, 0.0377841554582119, 0.023458708077669144, -0.0014913113554939628, -0.015071596950292587, 0.015929346904158592, 0.03277382627129555, 0.002780501963570714, 0.02173823118209839, -0.02077295258641243, -0.004381973296403885, 0.007338717579841614, -0.023721113801002502, -0.0268084853887558, -0.01597491465508938, 0.014900016598403454, 0.024028290063142776, 0.03115607239305973, -0.027590353041887283, 0.016699304804205894, -0.019962305203080177, -0.007112752180546522, -0.006665665656328201, -0.0018017818219959736, -0.0010617986554279923, 0.018169909715652466, -0.042772311717271805, -0.08093014359474182, 0.027813857421278954, 0.01777767762541771, 0.007655770983546972, 0.032112281769514084, -0.01842358708381653, -0.004048321396112442, -0.0008289117249660194, 0.025017349049448967, -0.014973027631640434, 0.0032602439168840647, 0.03921148180961609, -0.013150674290955067, 0.02333742380142212, 0.04125066474080086, -0.027197331190109253, 0.013009020127356052, 0.02503923699259758, -0.03139026090502739, 0.003128214506432414, -0.07782056927680969, 0.027067173272371292, 0.030391959473490715, -0.006325396243482828, -0.005794936325401068, -0.06089028716087341, -0.04384257644414902, -0.05680760368704796, -0.06719136983156204, 0.007054440211504698, 0.040728047490119934, 0.011506997048854828, -0.004030501004308462, -0.01273976918309927, 0.009234695695340633, 0.007164694368839264, -0.018339529633522034, 0.0023898400831967592, -0.008289068005979061, 0.038066715002059937, 0.014069940894842148, 0.011273830197751522, 0.005213287193328142, -0.06846510618925095, 0.027532367035746574, -0.02432130090892315, -0.02271106466650963, 0.027102429419755936, -0.006929549388587475, 0.020357048138976097, 0.03733345866203308, -0.05727856978774071, 0.02275281585752964, 0.03235709294676781, 0.002435484202578664, 0.040579330176115036, 0.04510222747921944, 0.0037617755588144064, -0.018879203125834465, -0.025135299190878868, 0.011377234011888504, 0.022868948057293892, 0.016567014157772064, 0.024792902171611786, 0.01998995989561081, 0.06171881780028343, 0.05683903396129608, -0.008480344898998737, -0.042708031833171844, 0.03897760808467865, 0.041055191308259964, 0.01308730524033308, 0.011630567722022533, 0.03917797654867172, -0.0018065627664327621, -0.021434977650642395, 0.014982188120484352, 0.006169658154249191, -0.009941400960087776, 0.012119846418499947, 0.020364079624414444, 0.00512734055519104, 0.020770778879523277, -0.03625650331377983, 0.06364400684833527, 0.024818699806928635, 0.013315104879438877, -0.008968610316514969, 0.03229556605219841, -0.013489767909049988, -0.0025706447195261717, 0.0029247428756207228, -0.012757338583469391, -0.02272685430943966, -0.00019159363000653684, 0.04366627335548401, -0.024218454957008362, 0.04833046346902847, -0.0048517026007175446, 0.024610213935375214, 0.022597234696149826, 0.008674908429384232, 0.00710256677120924, 0.004658571910113096, -0.010343870148062706, 0.016285991296172142, -0.0034419908188283443, 0.003674253588542342, -0.020502829924225807, -0.055721502751111984, 0.023042870685458183, -0.008420726284384727, 0.01258363388478756, -0.02197306789457798, 0.030140450224280357, 0.03135203942656517, 0.04300963878631592, 0.02705569379031658, -0.04500947520136833, 0.007090624421834946, 0.025051703676581383, 0.017404023557901382, -0.023059887811541557, -0.03758935257792473, 0.007642734330147505, 0.016979023814201355, -0.015207787044346333, 0.029798900708556175, 0.015448426827788353, -0.008193040266633034, 0.02354261837899685, -0.008694088086485863, -0.013535786420106888, -0.003070484846830368, 0.04453697055578232, 0.03338323161005974, -0.05007645860314369, 0.025672294199466705, 0.0041808574460446835, -0.004036523401737213, -0.005247730761766434, -0.02243146114051342, -0.005751925054937601, -0.019185882061719894, -0.007403552532196045, 0.04411115497350693, 0.02429467998445034, 0.010922910645604134, 0.008439665660262108, 0.013892161659896374, -0.0445072241127491, 0.011001449078321457, 0.03848204389214516, -0.0050040646456182, -0.01637917570769787, 0.03792153671383858, 0.012800021097064018, 0.002404495608061552, -0.023570286110043526, 0.02682320587337017, 0.03656717762351036, 0.0023971234913915396, -0.020979681983590126, 0.0069942474365234375, 0.046646445989608765, -0.026497941464185715, 0.01103949174284935, -0.007138148881494999, 0.025240957736968994, -0.007407554425299168, -0.053877346217632294, 0.01718161813914776, -0.0026896256022155285, 0.0030836656223982573, -0.0007541616214439273, -0.03654169663786888, -0.00828559696674347, -0.04489700496196747, -0.03984908014535904, -0.014188356697559357, -0.024610940366983414, -0.01612449437379837, -0.03178642690181732, -0.01345144398510456, -0.01845592074096203, -0.004667230416089296, 0.06052999198436737, 0.043990347534418106, 0.009737304411828518, -0.0368870310485363, 0.01186388824135065, -0.017091650515794754, -0.0295060146600008, 0.033518753945827484, 0.004769462626427412, -0.01306654792279005, -0.034554123878479004, -0.012244628742337227, 0.027944501489400864, -0.04867551848292351, -0.06529339402914047, 0.008293851278722286, 0.007040819618850946, -0.02309897169470787, 0.006957511883229017, -0.025100743398070335, -0.045289549976587296, -0.022152606397867203, 0.05854808911681175, -0.004532929509878159, -0.026151327416300774, 0.0022148543503135443, -0.027965879067778587, -0.03407711908221245, 0.010735221207141876, 0.0178739782422781, 0.01199508085846901, 0.008427314460277557, 0.041742708534002304, -0.033740974962711334, -0.010757207870483398, -0.039747048169374466, 0.037391871213912964, 0.00015445319877471775, -0.05666058510541916, -0.021021340042352676, 0.03918847441673279, -0.015796426683664322, -0.019816573709249496, -0.039850395172834396, 0.012268748134374619, 0.020903227850794792, -0.037612833082675934, 0.004772815387696028, -0.014304746873676777, 0.020007576793432236, 0.018465060740709305, -0.0009469031938351691, 0.02337968535721302, 0.0418945848941803, 0.0012225942919030786, -0.008562496863305569, -0.007001490797847509, -0.0064920238219201565 ]
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
Demo You can easily try the Big Llama 2 Model (70 billion parameters!) in this Space or in the playground embedded below: Under the hood, this playground uses Hugging Face's Text Generation Inference, the same technology that powers HuggingChat, and which we'll share more in the following sections.
[ 0.012419448234140873, -0.023250240832567215, 0.08699652552604675, -0.005967132747173309, 0.101590596139431, 0.00028890898101963103, 0.051165781915187836, 0.060541264712810516, -0.013474528677761555, -0.014609905891120434, -0.04039757326245308, 0.02509341761469841, -0.01786532625555992, 0.06447343528270721, -0.004060195758938789, -0.07393160462379456, -0.0005553766968660057, -0.0026909755542874336, 0.029802028089761734, 0.020074844360351562, -0.032093435525894165, -0.03493764251470566, 0.0651167705655098, -0.047723110765218735, -0.007413483690470457, -0.0360695943236351, 0.00974381621927023, -0.0208712387830019, 0.017142297700047493, 0.029142463579773903, -0.13241229951381683, -0.0414554700255394, -0.009863892570137978, -0.01255656685680151, 0.002884962595999241, -0.00649982551112771, -0.1849202811717987, 0.08461888879537582, -0.020582839846611023, -0.017921986058354378, -0.0048560514114797115, -0.016477247700095177, -0.03568693622946739, 0.027582082897424698, 0.007636018563061953, 0.0012718710349872708, -0.1665913462638855, 0.05327605456113815, -0.017661549150943756, -0.007582405116409063, -0.08955710381269455, 0.06392273306846619, -0.034392982721328735, 0.0002702776400838047, 0.03845077008008957, -0.023077961057424545, -0.0065534478053450584, -0.07119672000408173, 0.02432897314429283, 0.007533006835728884, -0.002690622815862298, -0.011403934098780155, 0.07755419611930847, 0.03385978937149048, 0.04310113936662674, 0.02674991823732853, -0.028685715049505234, 0.017547868192195892, -0.06303978711366653, -0.002806552452966571, 0.0493621900677681, -0.04409821331501007, -0.0660448670387268, -0.03219848498702049, -0.012826789170503616, -0.06291966885328293, -0.018957404419779778, 0.05569887161254883, 0.03028433956205845, 0.04377439618110657, -0.033999957144260406, 0.015495847910642624, 0.07862447202205658, 0.024081828072667122, 0.005510273389518261, 0.05907861888408661, 0.06361094862222672, -0.03629443421959877, -0.04564596340060234, 0.03309100866317749, -0.03603919968008995, -0.16778063774108887, -0.06961628049612045, 0.010939277708530426, 0.056841813027858734, 0.01693878322839737, -0.014450372196733952, -0.012255537323653698, -0.005481872707605362, -0.022407209500670433, -0.03220545873045921, -0.05629846081137657, 0.027705080807209015, -0.05876262113451958, -0.0815986692905426, 0.012233422137796879, -0.018790757283568382, -0.09996818751096725, -0.054234664887189865, -0.006069707218557596, -0.01624966971576214, -0.007593632210046053, 0.08145611733198166, 0.08015355467796326, -0.07383570820093155, 0.04513608291745186, -0.004151912406086922, 0.007454357109963894, 0.022772859781980515, -0.008134588599205017, -0.004400698468089104, 0.05559390038251877, 0.060548897832632065, 0.013431102968752384, 0.03146594390273094, 0.06635981053113937, 0.0043574669398367405, 0.019070463255047798, 0.0061887395568192005, 0.0074020023457705975, 0.005047560203820467, -0.03361668810248375, 0.06324037164449692, -0.008406496606767178, 0.010016877204179764, -0.04967425391077995, 0.000828088668640703, -0.07149359583854675, 0.024669772014021873, -0.01908961683511734, -0.016171200200915337, 0.04171392694115639, 0.03985881805419922, 0.01096208393573761, 0.0948888435959816, -0.01686505600810051, -0.06864772737026215, 0.021868521347641945, -0.047796521335840225, -0.011025180108845234, -0.10326788574457169, 0.040050704032182693, -0.017316127195954323, -0.042197082191705704, 0.03830000385642052, 0.0027729833964258432, -0.0343969501554966, -0.026622725650668144, -0.09420867264270782, -0.0026973476633429527, 0.04344795271754265, -0.015417390502989292, -0.0170544795691967, 0.006704865954816341, 0.022333838045597076, 0.004638443235307932, -0.009148268960416317, 0.04058050736784935, -0.01930665411055088, -0.028915943577885628, -0.01280263252556324, -0.029616165906190872, 0.022098783403635025, -0.04010150954127312, -0.03384821489453316, 0.07296299934387207, 0.026525748893618584, 0.022233624011278152, 0.03683803975582123, 0.04329098388552666, -0.06081371754407883, 0.008002924732863903, 0.014762300066649914, 0.05543462187051773, 0.05820002034306526, -0.09613438695669174, 0.02218194678425789, -0.01924527809023857, 0.00970043521374464, -0.035674866288900375, 0.004217483103275299, -0.020522331818938255, 0.09723071753978729, 0.053774140775203705, 0.012214512564241886, -0.06079123169183731, -0.01621568575501442, 0.09581427276134491, 0.08210238069295883, 0.1065143421292305, 0.021574271842837334, 0.040355414152145386, 0.036201104521751404, -0.025386398658156395, -0.05654580146074295, -0.0047682225704193115, 0.012827876955270767, -0.010272666811943054, -0.020988523960113525, -0.005940907634794712, 0.03716471418738365, -0.11700309813022614, 0.032231368124485016, -0.048202842473983765, 0.011625495739281178, -0.04505082592368126, -0.024000512436032295, -0.030102867633104324, 0.01309214998036623, -0.001059274422004819, 0.16291503608226776, -0.06155601143836975, -0.025458957999944687, -0.08215921372175217, 0.011158103123307228, 0.07973826676607132, 0.06856536120176315, 0.012984068132936954, 0.059470269829034805, -0.07332596927881241, -0.02086230367422104, -0.028141850605607033, 0.012217162176966667, 0.014470272697508335, 0.006138695869594812, -0.0261229295283556, 0.009904623031616211, -0.037290189415216446, 0.059693992137908936, -0.048182494938373566, 0.030717363581061363, 0.008772864006459713, -0.012320802547037601, 0.05330749601125717, -0.060241859406232834, -0.08587443083524704, 0.031422220170497894, 0.05328952893614769, -0.06293638795614243, 0.013174068182706833, -0.06468509882688522, 0.04718241095542908, 0.04573935642838478, 0.032449137419462204, 0.04424350708723068, 0.00023542690905742347, -0.012688986025750637, -0.019049998372793198, -0.017857838422060013, 0.02578544057905674, -0.005586974322795868, -0.011762143112719059, 0.0033025648444890976, -0.015239783562719822, -0.009690525941550732, -0.03929099813103676, -0.014746930450201035, 0.010775221511721611, -0.03000783361494541, 0.016706736758351326, 0.026311036199331284, -0.0248664952814579, 0.04341306537389755, -0.007932841777801514, 0.04127587378025055, -0.007085612043738365, 0.03737262636423111, -0.0031913500279188156, -0.0010795807465910912, -0.026518432423472404, -0.017322851344943047, -0.018323088064789772, 0.04410696402192116, 0.04059739038348198, 0.04253416508436203, -0.009693306870758533, -0.005085138604044914, -0.0435880571603775, -0.023789187893271446, 0.012320547364652157, 0.03805556520819664, 0.009206857532262802, 0.007002566941082478, -0.025651035830378532, -0.0011685712961480021, -0.005249353591352701, 0.03197067603468895, 0.010821190662682056, -0.029417378827929497, 0.003159549320116639, 0.0343431793153286, -0.009407619945704937, -0.01100604236125946, -0.026479987427592278, -0.007907371036708355, 0.028212370350956917, -0.0016484344378113747, 0.02991863340139389, -0.11661601066589355, -0.017825322225689888, -0.010841947048902512, -0.00724927568808198, -0.017319833859801292, -0.009175331331789494, 0.040687963366508484, -0.03765072301030159, -0.004182812757790089, 0.02782982960343361, -0.03066341020166874, 0.009303956292569637, 0.027279680594801903, -0.03062213957309723, -0.02390487864613533, 0.004067746922373772, -0.013046273961663246, 0.00901743583381176, 0.03423314541578293, -0.0033764957915991545, -0.03414718806743622, 0.05024810507893562, 0.0024890247732400894, 0.002147887833416462, -0.0373658612370491, -0.02072811871767044, 0.043067507445812225, -0.023249143734574318, 0.043569184839725494, -0.049024149775505066, 0.013703463599085808, -0.025809483602643013, -0.02941295877099037, 0.012827856466174126, -0.06762856245040894, 0.0038952501490712166, -0.022258754819631577, 0.003990712575614452, 0.05732406675815582, 0.027667313814163208, 0.0420197919011116, -0.026360398158431053, 0.038291480392217636, -0.03231256455183029, -0.008453436195850372, 0.002396890427917242, -0.013652266003191471, 0.008038349449634552, 0.05051026865839958, -0.05180462449789047, -0.0007645284058526158, -0.011010953225195408, 0.0389474593102932, 0.013056996278464794, 0.01763787865638733, 0.010497132316231728, 0.018460793420672417, -0.0019338605925440788, 0.025928720831871033, -0.022590264678001404, -0.046925365924835205, 0.028120318427681923, -0.012574478052556515, 0.011107364669442177, -0.0011083993595093489, 0.0477609783411026, 0.023552367463707924, 0.006733444985002279, -0.0028215653728693724, 0.03365223482251167, -0.00806223414838314, 0.020600968971848488, 0.004986756481230259, 0.015175248496234417, -0.03169553726911545, 0.023041991516947746, -0.02083100751042366, -0.047240275889635086, 0.07690563052892685, -0.005422365851700306, -0.01451111864298582, -0.005695303436368704, -0.01122000627219677, -0.014589116908609867, 0.00572184519842267, -0.014100216329097748, 0.01625739224255085, -0.03416992351412773, 0.0030322985257953405, 0.06203453242778778, 0.0012429546331986785, 0.0034348932094872, 0.007339086849242449, 0.01633303612470627, 0.026698105037212372, 0.013956857845187187, 0.03189041092991829, 0.0021893223747611046, -0.005009735934436321, 0.012933112680912018, 0.053582336753606796, -0.02674364112317562, -0.010804417543113232, 0.020809970796108246, -0.015204649418592453, 0.0333588682115078, -0.029174139723181725, -0.03227907791733742, 0.024040140211582184, 0.010975945740938187, -0.011655956506729126, -0.008655408397316933, -0.0004562567046377808, -0.03181043267250061, 0.03371181711554527, 0.030437638983130455, -0.0014794188318774104, -0.008041378110647202, -0.03760525584220886, 0.011249632574617863, -0.013740268535912037, 0.029713178053498268, -0.004124374594539404, -0.005619505885988474, 0.02363002300262451, -0.024296613410115242, 0.032014086842536926, 0.015270179137587547, 0.011620565317571163, 0.005246980115771294, -0.019558854401111603, -0.04459531605243683, 0.030119968578219414, 0.02622799575328827, -0.0031845509074628353, 0.04628780484199524, -0.043490082025527954, -0.003095790045335889, -0.027313759550452232, -0.048180852085351944, -0.025880657136440277, 0.0209434125572443, 0.0026522346306592226, -0.017573745921254158, 0.02859465591609478, -0.013510766439139843, 0.0010904165683314204, -0.02788776531815529, -0.02593768760561943, 0.019691642373800278, 0.0319799967110157, -0.03776300325989723, -0.032368797808885574, 0.0086838873103261, 0.04195636883378029, 0.006326574366539717, 0.009191005490720272, 0.03570820763707161, -0.013236843049526215, 0.06001652032136917, 0.014296955429017544, 0.004399547819048166, -0.047882385551929474, 0.04167943820357323, -0.006153813563287258, -0.02162814512848854, 0.0178670696914196, -0.023859161883592606, -0.009713285602629185, 0.00012789438187610358, -0.00039218374877236784, -0.01850721426308155, 0.021092209964990616, -0.006489168852567673, -0.007059038151055574, 0.068110391497612, 0.023908467963337898, -0.002716216491535306, -0.01768864132463932, 0.019506333395838737, -0.020624374970793724, -0.043613191694021225, 0.020094966515898705, -0.0023241820745170116, 0.027774425223469734, 0.013788686133921146, 0.05908356234431267, 0.07845205068588257, 0.022550979629158974, 0.00973959919065237, -0.006458381190896034, -0.001964566530659795, -0.02205844596028328, -0.037209898233413696, 0.006011747755110264, -0.0030580321326851845, 0.004209042526781559, 0.006879646331071854, 0.01612118072807789, -0.0014567264588549733, 0.026952864602208138, 0.019179724156856537, -0.02924325317144394, -0.004901756998151541, 0.028191888704895973, 0.012523685581982136, 0.007168532349169254, -0.03340872377157211, 0.041588131338357925, -0.051856279373168945, -0.018509112298488617, -0.04229798913002014, -0.003203927306458354, -0.00927211157977581, 0.01821335218846798, -0.00530180474743247, -0.023804591968655586, 0.008791512809693813, 0.021792106330394745, 0.051611073315143585, 0.0030834164936095476, -0.037850454449653625, -0.016749676316976547, -0.0319482795894146, 0.034861981868743896, -0.010793597437441349, -0.015514339320361614, 0.025114525109529495, -0.004472261760383844, 0.011209428310394287, 0.040772877633571625, -0.009115980938076973, 0.00949577335268259, 0.042929358780384064, -0.010100907646119595, 0.005890564061701298, -0.08046682178974152, 0.03130779787898064, 0.025050640106201172, 0.015748484060168266, -0.0005477131344377995, -0.0319577120244503, -0.04687466844916344, -0.0006164382211863995, -0.036555588245391846, 0.007360903546214104, 0.06879530847072601, 0.010277499444782734, -0.0024348513688892126, -0.008437703363597393, 0.024088019505143166, -0.014814912341535091, 0.024786092340946198, 0.014251251704990864, -0.0006178668118081987, 0.038513340055942535, 0.030483970418572426, -0.01750096119940281, 0.011656928807497025, -0.016090283170342445, -0.00613087322562933, -0.030904633924365044, 0.02746395580470562, 0.023213732987642288, -0.02779473550617695, 0.0255261342972517, 0.027878548949956894, -0.03316598758101463, 0.002016302663832903, 0.03459212929010391, 0.00981842540204525, 0.015092745423316956, -0.007012037560343742, 0.006867572199553251, -0.0011645464692264795, -0.021385235711932182, 0.01138486061245203, 0.08498929440975189, 0.013647901825606823, 0.04672565683722496, 0.016869323328137398, 0.0775519609451294, 0.04956022650003433, 0.009078501723706722, -0.030322186648845673, 0.021382898092269897, 0.08024942874908447, 0.012260220013558865, 0.017371421679854393, -0.015584978275001049, -0.04197634384036064, -0.007755086291581392, -0.028638916090130806, 0.0002763158699963242, -0.012901712208986282, 0.025773966684937477, 0.04367046430706978, -0.014155212789773941, 0.04244568198919296, -0.039425209164619446, 0.07056891918182373, 0.03328192979097366, 0.03184571862220764, -0.009154598228633404, -0.005962157156318426, -0.02190822921693325, 0.010268472135066986, -0.002997997682541609, 0.0037177770864218473, 0.000024762035536696203, -0.009163962677121162, 0.026312321424484253, 0.021029502153396606, 0.030704861506819725, -0.024826733395457268, 0.005784466862678528, 0.006208600476384163, -0.001676503219641745, 0.002194046275690198, 0.008824932388961315, 0.037054792046546936, -0.0018455538665875793, 0.023215211927890778, -0.008584907278418541, -0.00006458305142587051, -0.03142484650015831, 0.00783086009323597, -0.020748842507600784, -0.005155251361429691, -0.0264119990170002, 0.004712508525699377, 0.05146105960011482, -0.007939440198242664, -0.023833755403757095, -0.008657815866172314, -0.018692247569561005, 0.003799993544816971, 0.0005530742928385735, -0.01520430576056242, 0.0015510449884459376, 0.016010597348213196, -0.004380360711365938, 0.003030356951057911, -0.0063341171480715275, -0.00886259414255619, -0.011992312036454678, 0.019154708832502365, 0.033088430762290955, -0.004940302576869726, 0.02417982742190361, 0.013482634909451008, -0.0021432561334222555, -0.023460937663912773, 0.012306630611419678, 0.005934457294642925, 0.009402445517480373, -0.04441801458597183, -0.04205916076898575, -0.015914583578705788, -0.013080785982310772, -0.015274683944880962, 0.06664558500051498, 0.050415441393852234, -0.02495337836444378, -0.012268319725990295, 0.009084053337574005, -0.01672186516225338, -0.0019967269618064165, 0.03996435925364494, 0.013451749458909035, 0.008897663094103336, -0.008425799198448658, 0.009006183594465256, -0.007522882428020239, -0.029848450794816017, 0.00852374080568552, 0.0641692727804184, -0.01820782758295536, -0.05631446838378906, -0.013266289606690407, 0.05222392454743385, 0.01862185262143612, 0.02380293421447277, 0.05278346687555313, -0.004082385450601578, 0.015116286464035511, -0.031238172203302383, 0.040408313274383545, -0.027099059894680977, 0.045380521565675735, -0.029284406453371048, -0.04192442446947098, -0.008191477507352829, 0.008656298741698265, -0.007134151179343462, 0.0004369023081380874, -0.048575300723314285, -0.03847656399011612, -0.022522326558828354, -0.004904912319034338, -0.02127320133149624, 0.011311249807476997, 0.06384575366973877, 0.030167793855071068, 0.06280376017093658, -0.014692784287035465, -0.007857713848352432, -0.006877210456877947, 0.008563072420656681, 0.004146200139075518, 0.04373864457011223, -0.016276562586426735, -0.0338093601167202, -0.04614683613181114, 0.0018238944467157125, 0.003689887933433056, -0.07241795212030411, 0.025492580607533455, 0.014464115723967552, -0.026022326201200485, 0.00046281423419713974, -0.022323157638311386, 0.005612855777144432, 0.0033314020838588476, 0.055871956050395966, -0.019018003717064857, -0.013770532794296741, -0.014072921127080917, 0.0316779650747776, -0.06209902465343475, 0.019493406638503075, 0.0015428116312250495, -0.0028495790902525187, 0.03462214022874832, 0.018956877291202545, 0.02998175658285618, -0.007534538395702839, -0.021012645214796066, 0.02911682426929474, 0.027422918006777763, -0.04570123925805092, -0.018673110753297806, 0.019544554874300957, 0.01648474670946598, -0.03957284241914749, -0.018207751214504242, 0.022333141416311264, 0.000842493842355907, -0.024618003517389297, -0.03532100468873978, 0.02047615498304367, -0.02242192253470421, 0.005101250950247049, 0.027501948177814484, -0.015665024518966675, 0.058409228920936584, 0.05943340063095093, -0.01706039533019066, -0.022634945809841156, 0.01566086709499359 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
Community highlights One of the most gratifying experiences of the past year has been seeing how the community is incorporating 🤗 Diffusers into their projects. From adapting Low-rank adaptation (LoRA) for faster training of text-to-image models to building a state-of-the-art inpainting tool, here are a few of our favorite projects: We built Core ML Stable Diffusion to make it easier for developers to add state-of-the-art generative AI capabilities in their iOS, iPadOS and macOS apps with the highest efficiency on Apple Silicon. We built on top of 🤗 Diffusers instead of from scratch as 🤗 Diffusers consistently stays on top of a rapidly evolving field and promotes much needed interoperability of new and old ideas. Atila Orhon 🤗 Diffusers has been absolutely developer-friendly for me to dive right into stable diffusion models. Main differentiating factor clearly being that 🤗 Diffusers implementation is often not some code from research lab, that are mostly focused on high velocity driven. While research codes are often poorly written and difficult to understand (lack of typing, assertions, inconsistent design patterns and conventions), 🤗 Diffusers was a breeze to use for me to hack my ideas within couple of hours. Without it, I would have needed to invest significantly more amount of time to start hacking. Well-written documentations and examples are extremely helpful as well. Simo BentoML is the unified framework for for building, shipping, and scaling production-ready AI applications incorporating traditional ML, pre-trained AI models, Generative and Large Language Models. All Hugging Face Diffuser models and pipelines can be seamlessly integrated into BentoML applications, enabling the running of models on the most suitable hardware and independent scaling based on usage. BentoML Invoke AI is an open-source Generative AI tool built to empower professional creatives, from game designers and photographers to architects and product designers. Invoke recently launched their hosted offering at invoke.ai, allowing users to generate assets from any computer, powered by the latest research in open-source. InvokeAI TaskMatrix connects Large Language Model and a series of Visual Models to enable sending and receiving images during chatting. Chenfei Wu Lama Cleaner is a powerful image inpainting tool that uses Stable Diffusion technology to remove unwanted objects, defects, or people from your pictures. It can also erase and replace anything in your images with ease. Qing Grounded-SAM combines a powerful Zero-Shot detector Grounding-DINO and Segment-Anything-Model (SAM) to build a strong pipeline to detect and segment everything with text inputs. When combined with 🤗 Diffusers inpainting models, Grounded-SAM can do highly controllable image editing tasks, including replacing specific objects, inpainting the background, etc. Tianhe Ren Stable-Dreamfusion leverages the convenient implementations of 2D diffusion models in 🤗 Diffusers to replicate recent text-to-3D and image-to-3D methods. kiui MMagic (Multimodal Advanced, Generative, and Intelligent Creation) is an advanced and comprehensive Generative AI toolbox that provides state-of-the-art AI models (e.g., diffusion models powered by 🤗 Diffusers and GAN) to synthesize, edit and enhance images and videos. In MMagic, users can use rich components to customize their own models like playing with Legos and manage the training loop easily. mmagic Tune-A-Video, developed by Jay Zhangjie Wu and his team at Show Lab, is the first to fine-tune a pre-trained text-to-image diffusion model using a single text-video pair and enables changing video content while preserving motion. Jay Zhangjie Wu We also collaborated with Google Cloud (who generously provided the compute) to provide technical guidance and mentorship to help the community train diffusion models with TPUs (check out a summary of the event here). There were many cool models such as this demo that combines ControlNet with Segment Anything. Finally, we were delighted to receive contributions to our codebase from over 300 contributors, which allowed us to collaborate together in the most open way possible. Here are just a few of the contributions from our community: - Model editing by @bahjat-kawar, a pipeline for editing a model’s implicit assumptions - LDM3D by @estelleafl, a diffusion model for 3D images - DPMSolver by @LuChengTHU, improvements for significantly improving inference speed - Custom Diffusion by @nupurkmr9, a technique for generating personalized images with only a few images of a subject Besides these, a heartfelt shoutout to the following contributors who helped us ship some of the most powerful features of Diffusers (in no particular order): * @takuma104 * @nipunjindal * @isamu-isozaki * @piEsposito * @Birch-san * @LuChengTHU * @duongna21 * @clarencechen * @dg845 * @Abhinay1997 * @camenduru * @ayushtues
[ 0.08679893612861633, -0.05877097323536873, 0.0008029962191358209, -0.014287303201854229, 0.03570443391799927, 0.05724858120083809, -0.04548062011599541, 0.032383229583501816, -0.048256415873765945, -0.08552546799182892, -0.02742287702858448, -0.0004005089867860079, 0.06146774813532829, 0.01590496115386486, -0.01671573705971241, -0.042115382850170135, -0.0021088661160320044, -0.01320013776421547, -0.001991773722693324, 0.0257896576076746, 0.005751516669988632, -0.046511661261320114, 0.02703004889190197, -0.06899143755435944, -0.03421088308095932, -0.03657082840800285, 0.04691208526492119, 0.04941369593143463, -0.029212625697255135, 0.022232457995414734, -0.06338431686162949, -0.015398858115077019, 0.030345449224114418, -0.06639260798692703, -0.020085569471120834, -0.05472194030880928, -0.06186741217970848, 0.02713214047253132, 0.001366469543427229, 0.014109409414231777, 0.03365503251552582, -0.03813812509179115, -0.028592433780431747, 0.02973904088139534, 0.07075099647045135, -0.05284345895051956, -0.1424846649169922, 0.014365259557962418, -0.0388123020529747, 0.00007463673682650551, -0.15834322571754456, 0.033273424953222275, -0.012068049982190132, -0.031166721135377884, 0.0066683003678917885, 0.04471595212817192, 0.07951635867357254, -0.05757914111018181, 0.021764688193798065, -0.01410847157239914, -0.027919098734855652, -0.05092579871416092, 0.0779094249010086, -0.008846239186823368, 0.05115000903606415, 0.015658045187592506, -0.0343012809753418, -0.034898336976766586, -0.05205157771706581, -0.014381802640855312, 0.07018441706895828, -0.01592923328280449, -0.036934398114681244, -0.05636570602655411, 0.012783845886588097, -0.0008207335486076772, 0.01725502870976925, 0.0639319121837616, 0.03223012015223503, -0.033347830176353455, 0.021075153723359108, -0.019378768280148506, 0.08340863138437271, 0.005910486914217472, 0.02199927158653736, 0.021680284291505814, 0.05956773832440376, 0.006222615018486977, -0.04823283851146698, -0.023494048044085503, -0.03416205197572708, -0.07500369101762772, 0.0630141869187355, 0.06135832518339157, 0.0683392733335495, -0.0019878868479281664, -0.020922677591443062, 0.013178667984902859, -0.02960091456770897, -0.05343662574887276, -0.07699169963598251, 0.0030415314249694347, -0.030803006142377853, -0.065457284450531, -0.07567306607961655, 0.07756701111793518, -0.027659133076667786, -0.05797405540943146, 0.006065704394131899, 0.01864364929497242, 0.04010786488652229, 0.028970569372177124, 0.0025551109574735165, 0.00013992120511829853, -0.07321088016033173, 0.05190393701195717, -0.030436430126428604, 0.05136601999402046, -0.009835963137447834, 0.0482555627822876, 0.060968369245529175, 0.090472511947155, 0.05638840049505234, 0.0008646392379887402, -0.011442597955465317, 0.05011553317308426, 0.02420336753129959, 0.019288355484604836, -0.060882218182086945, -0.016796164214611053, -0.025346238166093826, -0.006498829461634159, 0.00921835470944643, -0.08221179991960526, 0.05900212377309799, -0.12412727624177933, 0.0016722227446734905, -0.02443053387105465, 0.005515659227967262, 0.03455856069922447, -0.08180117607116699, -0.008667552843689919, 0.02779727429151535, -0.035511016845703125, -0.031065646559000015, -0.01408827118575573, -0.044065896421670914, -0.0033362393733114004, -0.019990375265479088, -0.026799313724040985, -0.046671297401189804, 0.018114741891622543, -0.011331203393638134, -0.06633152812719345, -0.005893625319004059, 0.09829143434762955, 0.050198111683130264, -0.016935190185904503, 0.029469124972820282, -0.007059814874082804, -0.007831167429685593, -0.06508579850196838, -0.019900299608707428, -0.020639292895793915, 0.04268218204379082, -0.04399028420448303, 0.01647515594959259, 0.00126204127445817, 0.07287892699241638, 0.02131427824497223, 0.035526953637599945, -0.04751313105225563, 0.014856330119073391, -0.06400899589061737, -0.011111905798316002, 0.029048746451735497, 0.06373543292284012, 0.026770541444420815, 0.031230751425027847, 0.028391212224960327, -0.015776501968503, 0.07032568752765656, -0.03292976692318916, 0.023571817204356194, 0.007202347740530968, -0.06157567352056503, 0.05142094939947128, 0.01499231718480587, 0.02221209928393364, 0.006418549455702305, -0.012636115774512291, 0.09734537452459335, 0.07126443088054657, 0.02152363955974579, 0.00784827210009098, -0.06002170220017433, -0.01186325866729021, 0.06104223430156708, 0.12993751466274261, 0.05588126182556152, 0.08060219138860703, 0.02586597576737404, 0.020569508895277977, -0.06990493834018707, -0.053050342947244644, -0.056251030415296555, 0.06032220646739006, 0.03810045123100281, -0.03450896963477135, -0.018890758976340294, -0.016264155507087708, -0.10005059093236923, 0.012324774637818336, 0.016303928568959236, 0.07246731966733932, -0.03500493988394737, -0.03156604617834091, -0.015093078836798668, -0.026510797441005707, -0.026577116921544075, 0.1323530524969101, -0.037992212921381, 0.015206526964902878, 0.06951403617858887, -0.00126343232113868, 0.0660216435790062, 0.0893896073102951, -0.034677840769290924, 0.07714281976222992, -0.002090493217110634, -0.06642423570156097, -0.06392741203308105, -0.047529686242341995, 0.0044138142839074135, -0.018643628805875778, 0.03381655737757683, 0.07915858179330826, -0.00201449659653008, 0.0015845808666199446, -0.009554488584399223, 0.03429650142788887, 0.01058970671147108, -0.025899715721607208, -0.006542413495481014, -0.0013359320582821965, -0.008515243418514729, 0.08097441494464874, 0.018864890560507774, -0.04410374537110329, 0.022061483934521675, -0.02821633219718933, 0.0076791937462985516, -0.023908453062176704, 0.02958141826093197, 0.06227436661720276, 0.014027555473148823, -0.020767459645867348, -0.017934799194335938, -0.00912029854953289, -0.010229055769741535, -0.02926846593618393, -0.023220060393214226, -0.020778106525540352, -0.0008537841495126486, 0.023227043449878693, -0.01579790562391281, 0.012630542740225792, 0.00839017890393734, 0.004254496190696955, -0.017878079786896706, 0.024911122396588326, -0.021266799420118332, 0.0016665607690811157, -0.008049863390624523, 0.0005574946408160031, -0.02990257553756237, -0.027325883507728577, -0.017770661041140556, 0.013250156305730343, -0.060477856546640396, -0.006438644602894783, 0.010448194108903408, 0.04590022936463356, 0.050792526453733444, 0.018173011019825935, 0.010277899913489819, -0.03611767664551735, -0.000176480709342286, -0.05327017232775688, 0.018844595178961754, 0.058252252638339996, -0.01152591872960329, 0.04376896470785141, 0.001755409874022007, 0.027035731822252274, 0.0169612318277359, 0.01653783768415451, -0.015760917216539383, -0.0500631220638752, -0.006975721102207899, -0.011936626397073269, -0.0552951879799366, 0.010770309716463089, 0.030147932469844818, -0.015493232756853104, 0.01539657823741436, -0.013434980064630508, 0.02599792368710041, -0.09482312947511673, -0.03128889948129654, -0.005966973025351763, 0.051014017313718796, 0.0159689262509346, -0.01099336240440607, 0.029933011159300804, -0.04084096848964691, -0.037893734872341156, -0.0013045495143160224, 0.002730072010308504, 0.05291111767292023, -0.029232317581772804, -0.03282544016838074, -0.04199754074215889, 0.027701513841748238, -0.02800925262272358, -0.010693825781345367, 8.523031169715978e-8, 0.03634257987141609, -0.04133535176515579, 0.029980327934026718, 0.005292190704494715, -0.008451789617538452, -0.029933106154203415, -0.013688623905181885, 0.021709952503442764, -0.004536865744739771, 0.01303096953779459, -0.017832551151514053, -0.04257773980498314, -0.0004993151524104178, -0.032584551721811295, 0.010015853680670261, -0.04664992168545723, 0.02158721163868904, -0.004816306754946709, 0.006004519294947386, 0.048042166978120804, 0.013943886384367943, 0.025896018370985985, 0.01874667964875698, 0.01502955425530672, 0.010347469709813595, 0.018328623846173286, -0.008283087983727455, 0.021774305030703545, 0.037894442677497864, 0.035613398998975754, -0.017481528222560883, -0.0038134607020765543, 0.008750592358410358, 0.03279924765229225, 0.04737037792801857, -0.0019161253003403544, 0.03796055540442467, -0.020166495814919472, 0.004563521593809128, 0.00041980386595241725, -0.011965742334723473, -0.046665214002132416, 0.03364366292953491, -0.006814432796090841, 0.01707306131720543, 0.029361797496676445, 0.053539395332336426, 0.01624670810997486, -0.010558445937931538, -0.004523995332419872, 0.031100977212190628, 0.0012852309737354517, 0.04366180673241615, -0.0221650842577219, -0.010114884003996849, -0.05515298992395401, 0.0651126354932785, -0.004999866709113121, -0.025482647120952606, 0.028146173804998398, 0.03925611823797226, -0.023849550634622574, -0.06558284163475037, 0.015372371301054955, -0.03964085876941681, 0.009944038465619087, 0.01717713475227356, 0.02087746188044548, 0.0019646333530545235, 0.02132336050271988, 0.019590407609939575, 0.0011722256895154715, -0.0441240631043911, 0.03772883489727974, -0.02770986407995224, 0.039812542498111725, 0.02655000612139702, 0.02953602932393551, 0.011918236501514912, -0.024837186560034752, 0.020860396325588226, 0.03626168891787529, -0.04221155866980553, -0.06104878708720207, 0.007439160719513893, -0.017535042017698288, 0.015183721669018269, -0.045112889260053635, 0.004881720524281263, 0.007520404178649187, -0.010001393035054207, -0.0064031402580440044, -0.03384258225560188, 0.019221097230911255, 0.003350525628775358, 0.04724286124110222, 0.021558601409196854, -0.004880073014646769, 0.028824588283896446, -0.04474429041147232, -0.022856591269373894, 0.006984477397054434, -0.03820796310901642, -0.006008709780871868, 0.021154208108782768, 0.05000404641032219, 0.03131575882434845, -0.004827054217457771, 0.016336161643266678, -0.06207388639450073, -0.02696627750992775, -0.04651160538196564, -0.017238307744264603, 0.021707884967327118, 0.032722532749176025, 0.04549950733780861, -0.0035582457203418016, 0.014151516370475292, 0.005334096495062113, -0.02183411829173565, -0.028242971748113632, -0.003450290532782674, 0.018260305747389793, 0.025623461231589317, -0.03947882726788521, 0.002052472671493888, -0.009329072199761868, 0.0042116972617805, 0.01614820770919323, -0.007709043100476265, -0.00017044910055119544, 0.027809711173176765, -0.018956270068883896, -0.05551118403673172, -0.006273416802287102, 0.03650757670402527, -0.03747859224677086, -0.021274957805871964, -0.002865627408027649, -0.005755246616899967, 0.010354558937251568, 0.026345713064074516, 0.0787915587425232, -0.04065931588411331, 0.07079389691352844, -0.03756941482424736, -0.009906986728310585, 0.0008438778459094465, 0.014087767340242863, -0.0038262351881712675, -0.0016564789693802595, 0.001630732323974371, 0.031136857345700264, 0.0016800952143967152, 0.010144637897610664, 0.024732783436775208, 0.007685874123126268, 0.023083630949258804, 0.014739269390702248, -0.0039084856398403645, -0.0015742589021101594, -0.010227257385849953, -0.005093949381262064, 0.05466736853122711, -0.04045488312840462, 0.03308891877532005, 0.02360416017472744, 0.04778611287474632, 0.027460619807243347, 0.027755256742239, 0.00697191571816802, -0.005006028804928064, 0.015219690278172493, 0.013483951799571514, 0.019450612366199493, -0.01848476380109787, -0.03186941519379616, -0.017513511702418327, 0.01960752345621586, -0.04632101580500603, -0.03911137208342552, 0.011169648729264736, 0.02625172585248947, -0.04521103948354721, -0.043963540345430374, 0.05253619700670242, -0.0358608216047287, 0.06776277720928192, 0.021606601774692535, -0.017796343192458153, -0.014756283722817898, 0.01670658215880394, -0.031756024807691574, -0.020528925582766533, -0.04832633584737778, -0.009425757452845573, 0.0051040323451161385, -0.012206163257360458, -0.00034345313906669617, -0.015171227976679802, -0.031212536618113518, -0.028391744941473007, 0.007573204580694437, -0.03797914460301399, 0.027740230783820152, 0.009014585055410862, -0.03213570639491081, 0.028831198811531067, 0.028926098719239235, -0.034525610506534576, -0.011382907629013062, -0.0034306938759982586, 0.018302926793694496, 0.035613447427749634, -0.004323531873524189, 0.027267541736364365, 0.01338901650160551, -0.04818737134337425, 0.03244194760918617, 0.013343692757189274, 0.042266421020030975, 0.004957403521984816, -0.02441508322954178, -0.00534612312912941, -0.02039012871682644, -0.040388740599155426, 0.10167398303747177, 0.010878808796405792, 0.006176327355206013, -0.035694923251867294, 0.006326339673250914, 0.022845124825835228, 0.02570146694779396, -0.025995168834924698, -0.028914235532283783, 0.0033003499265760183, 0.035954009741544724, 0.037688277661800385, -0.02285992167890072, 0.01968616247177124, -0.03988080471754074, 0.0024952206294983625, -0.07010611146688461, -0.007292121183127165, -0.02545636147260666, -0.02918313443660736, -0.0038755747955292463, 0.03372303768992424, -0.03710233420133591, 0.033805444836616516, -0.012120251543819904, 0.013601099140942097, 0.01633545383810997, -0.004475198220461607, 0.03496799245476723, -0.055391259491443634, -0.03847196698188782, 0.02054828219115734, 0.011346637271344662, -0.012350211851298809, 0.005914213601499796, 0.04099511355161667, 0.019324960187077522, 0.06717903912067413, -0.026764824986457825, 0.047666504979133606, 0.0016887957463040948, 0.03974330797791481, 0.03283785283565521, 0.004314280580729246, 0.02272937074303627, -0.030463336035609245, -0.008691750466823578, -0.0349862240254879, 0.0009569753892719746, -0.00203135353513062, -0.005879221484065056, 0.038266994059085846, -0.0132517721503973, -0.0173561442643404, -0.030292440205812454, 0.021969681605696678, 0.02047288604080677, 0.07665615528821945, 0.07301337271928787, 0.012671615928411484, 0.02304643765091896, 0.038640428334474564, -0.005993885453790426, 0.015458768233656883, 0.042343396693468094, -0.020196786150336266, 0.0404435433447361, -0.0090171592310071, 0.015929168090224266, -0.017675485461950302, 0.004161742981523275, 0.006610581185668707, -0.005057117436081171, 0.04015341028571129, 0.009146899916231632, 0.023186521604657173, -0.011571019887924194, -0.03942203149199486, 0.05130438879132271, -0.034081943333148956, -0.025350570678710938, 0.040821608155965805, -0.009160499088466167, 0.007767850998789072, 0.034251559525728226, 0.025754548609256744, 0.011765524744987488, -0.02934594824910164, 0.03205917030572891, 0.021029936149716377, -0.029907051473855972, 0.010541441850364208, 0.005354809109121561, -0.0011398898204788566, -0.042020492255687714, 0.04489900916814804, 0.03842320665717125, 0.007702807895839214, -0.02575334906578064, 0.040293384343385696, -0.04036131128668785, -0.00938108004629612, 0.041083961725234985, 0.04650246724486351, 0.04989217594265938, -0.022601082921028137, 0.00713384011760354, -0.04081742465496063, -0.017099028453230858, -0.006102920509874821, -0.05414142459630966, -0.038171958178281784, -0.010821014642715454, -0.008575350046157837, -0.026315756142139435, 0.000032691299566067755, 0.02569505013525486, 0.020831771194934845, -0.003309295978397131, -0.03390398249030113, -0.008047150447964668, -0.007661840878427029, 0.02629990503191948, -0.023259159177541733, 0.01603296399116516, -0.01444521825760603, 0.02867843769490719, 0.002912831259891391, 0.023197203874588013, -0.03117835335433483, 0.02635415829718113, 0.01920395717024803, 0.004143838305026293, 0.013513638637959957, 0.013747365213930607, 0.06716529279947281, 0.06651467829942703, -0.0006682737148366868, 0.01719459891319275, 0.01482908334583044, -0.01738479547202587, -0.0163350161164999, 0.038576360791921616, -0.011082443408668041, 0.013018647208809853, 0.02553602121770382, 0.006223277188837528, -0.07831184566020966, -0.000725370948202908, -0.022685926407575607, 0.03264150768518448, -0.018815316259860992, -0.02497459575533867, -0.04537275433540344, -0.025786930695176125, -0.04293443635106087, 0.0023564083967357874, 0.05477059632539749, -0.0023087384179234505, -0.012852594256401062, -0.019584231078624725, -0.019737111404538155, -0.033139199018478394, -0.04513604938983917, 0.04468103498220444, 0.02048882655799389, 0.014163192361593246, -0.037618204951286316, -0.03719764202833176, -0.03572756424546242, -0.014675096608698368, -0.04897540807723999, 0.00921507179737091, 0.02799576334655285, 0.01698450557887554, -0.05026105046272278, 0.023698609322309494, 0.06912503391504288, -0.02274215780198574, 0.01813809759914875, -0.025362519547343254, -0.014115960337221622, -0.0007720908615738153, 0.025168966501951218, -0.01978953927755356, -0.022456349804997444, 0.0036824923008680344, 0.047215599566698074, -0.012823057360947132, -0.024743974208831787, 0.02160269021987915, -0.015554009936749935, -0.01177457720041275, 0.011797457002103329, -0.0010994303738698363, -0.03613211587071419, -0.010612040758132935, -0.029308604076504707, 0.0012569152750074863, -0.03447780758142471, -0.002908469643443823, 0.018956951797008514, 0.04630064219236374, 0.019255096092820168, -0.018864862620830536, 0.033239446580410004, -0.020108753815293312, -0.009667767211794853, -0.02805592678487301, 0.008040149696171284, 0.07879428565502167, 0.05000228434801102, -0.044475194066762924, -0.035988882184028625, -0.006396050564944744 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
Text-to-3D models In addition to text-to-video, we also have text-to-3D generation now thanks to OpenAI’s Shap-E model. Shap-E is trained by encoding a large dataset of 3D-text pairs, and a diffusion model is conditioned on the encoder’s outputs. You can design 3D assets for video games, interior design, and architecture. Try it out today with the ShapEPipeline and ShapEImg2ImgPipeline.
[ -0.0162493959069252, -0.04821587726473808, 0.04609372839331627, -0.002570723881945014, 0.04543332755565643, 0.006901951041072607, -0.05745900049805641, 0.08139893412590027, 0.003222881117835641, -0.04475264996290207, -0.07394488155841827, -0.0349920354783535, -0.03387421369552612, 0.0773402750492096, 0.010826578363776207, -0.039126548916101456, -0.0300839114934206, 0.0006028841016814113, 0.015913886949419975, 0.03942400962114334, -0.06289319694042206, 0.003031665226444602, 0.0633465051651001, -0.001149513409473002, -0.011514739133417606, -0.05754297599196434, 0.025679489597678185, -0.006334423087537289, -0.05884163826704025, -0.029285456985235214, -0.09707418829202652, -0.007207014132291079, -0.045495375990867615, -0.07631434500217438, -0.020146533846855164, 0.004617296624928713, -0.06430159509181976, 0.020684920251369476, -0.035334184765815735, -0.056804109364748, -0.0062005044892430305, 0.04098394885659218, -0.0029941843822598457, 0.00028859925805591047, -0.014002756215631962, -0.0009502049651928246, -0.09354410320520401, 0.0689001977443695, -0.0857868641614914, -0.01462514977902174, -0.07500970363616943, 0.08466309309005737, -0.03887788578867912, -0.013981546275317669, 0.007094991859048605, 0.055737677961587906, 0.007605748251080513, -0.05234459787607193, 0.06202161684632301, 0.05547773465514183, 0.021317163482308388, -0.0014418555656448007, -0.01224614679813385, 0.01959395781159401, 0.006709656678140163, -0.03958429768681526, -0.04188142344355583, -0.010562978684902191, -0.023116260766983032, 0.014099037274718285, 0.02498188242316246, -0.02584918774664402, 0.0002454105706419796, -0.03597307577729225, 0.01314839068800211, -0.0619351789355278, 0.03285493701696396, 0.08272454142570496, 0.06945542991161346, -0.05172383785247803, 0.03169697895646095, 0.026874369010329247, 0.034240130335092545, -0.011630721390247345, -0.010856075212359428, 0.05033789947628975, 0.07341732084751129, -0.04225282371044159, -0.03827259689569473, 0.07143571972846985, -0.021634090691804886, -0.07937884330749512, -0.06304318457841873, 0.014088808558881283, 0.07112545520067215, 0.04567115381360054, -0.0340510793030262, 0.008324672468006611, -0.024561211466789246, -0.014907516539096832, 0.013460864312946796, -0.06848844140768051, 0.025557836517691612, -0.10108362883329391, -0.07305790483951569, 0.022395819425582886, 0.010614275932312012, -0.03087148256599903, 0.012962290085852146, 0.026064472272992134, 0.06185189262032509, 0.00017129909247159958, 0.013655696995556355, 0.00548492232337594, -0.030183862894773483, 0.011753919534385204, 0.05795793980360031, 0.026847530156373978, -0.024274056777358055, 0.05477636307477951, 0.007469528820365667, 0.037061307579278946, 0.013339629396796227, -0.04577017202973366, -0.011735567823052406, 0.07977543026208878, -0.0006499956944026053, -0.003333060070872307, -0.015730097889900208, -0.004295654594898224, 0.07828652113676071, -0.0033885857556015253, 0.08188382536172867, 0.0034734574146568775, 0.06385726481676102, -0.08493981510400772, -0.011629742570221424, -0.08283916115760803, 0.03795119747519493, -0.030030513182282448, -0.04112538695335388, 0.06046462059020996, 0.07995554804801941, -0.055139847099781036, -0.007468213327229023, 0.002197457477450371, -0.04215357080101967, 0.07663211971521378, -0.031369004398584366, -0.059125084429979324, -0.08085068315267563, 0.03559134528040886, -0.03392607346177101, -0.08966666460037231, 0.050519246608018875, 0.07157677412033081, -0.011023403145372868, 0.07658093422651291, -0.0049618566408753395, -0.036530688405036926, -0.0035405338276177645, -0.00797733198851347, -0.06274957209825516, 0.03499949723482132, -0.04256801679730415, -0.08143454045057297, -0.019208550453186035, 0.0365527868270874, 0.04946109652519226, -0.026193909347057343, -0.039074335247278214, -0.010597816668450832, 0.08895046263933182, 0.01614636741578579, 0.0952463299036026, -0.06082800403237343, -0.011741561815142632, 0.02678976021707058, 0.048331644386053085, -0.055580731481313705, -0.05880437418818474, -0.0077674598433077335, -0.012532293796539307, 0.040142033249139786, 0.050147734582424164, -0.09612708538770676, 0.04111986979842186, -0.05481716990470886, 0.013534577563405037, 0.001454923884011805, -0.013171033933758736, -0.06657478958368301, 0.1105349063873291, 0.03208126500248909, -0.013826470822095871, -0.05514119192957878, -0.06954551488161087, 0.051881175488233566, 0.03543081507086754, 0.04583980515599251, -0.004676703829318285, -0.049446918070316315, 0.008060699328780174, 0.004991624038666487, 0.0021008288022130728, -0.09052152186632156, 0.03740209341049194, 0.05343421921133995, -0.00667757261544466, -0.01990385353565216, -0.039426423609256744, -0.05077126994729042, 0.0338323712348938, -0.05927957594394684, 0.006429389119148254, -0.06531345844268799, -0.01005056407302618, 0.011955520138144493, -0.06278571486473083, -0.04348376765847206, 0.14783473312854767, -0.008105778135359287, -0.07518824189901352, -0.04565833881497383, -0.03749692440032959, 0.06692895293235779, 0.001520792138762772, 0.03141263872385025, 0.06497151404619217, -0.030804002657532692, -0.059382494539022446, -0.029249439015984535, 0.056584715843200684, -0.06811772286891937, 0.04488740488886833, -0.03894175961613655, 0.05928131565451622, -0.033831361681222916, 0.0657995417714119, -0.042691078037023544, 0.020057493820786476, 0.03761661797761917, -0.02543134056031704, -0.03693998232483864, 0.0363193079829216, -0.014147752895951271, 0.06399659067392349, -0.033166270703077316, -0.01828099973499775, 0.026563968509435654, -0.07548905164003372, 0.02618752233684063, -0.047534119337797165, -0.005552114453166723, 0.043641310185194016, -0.018995845690369606, 0.02620980702340603, -0.03200908750295639, -0.0010676704114302993, 0.033065974712371826, -0.07250946015119553, -0.04035600647330284, -0.020741738379001617, -0.04741052910685539, -0.011174794286489487, -0.009611866436898708, 0.00023073308693710715, -0.03603759780526161, 0.011450727470219135, 0.015377230010926723, 0.006647196598351002, -0.012648732401430607, -0.010383046232163906, -0.00253684027120471, 0.00114425178617239, 0.055171314626932144, 0.03292488679289818, -0.050134919583797455, 0.00555106857791543, -0.03226163983345032, 0.013168595731258392, -0.0029444692190736532, 0.039293792098760605, 0.028091073036193848, 0.01341002807021141, 0.038557425141334534, 0.040494054555892944, -0.012422560714185238, -0.021712182089686394, -0.000004979549430572661, 0.03889856114983559, 0.02203798107802868, -0.05466810613870621, 0.047935884445905685, 0.005560406018048525, 0.06666027009487152, -0.002350255148485303, 0.00760648911818862, -0.02596820890903473, 0.017108246684074402, 0.003302761586382985, -0.003119303612038493, -0.010706773959100246, 0.005999463610351086, -0.03529653698205948, 0.028832778334617615, 0.015501267276704311, -0.010680523701012135, -0.08140882104635239, -0.017762964591383934, 0.007119752932339907, -0.005850710906088352, 0.00895703211426735, 0.015652626752853394, -0.0007015299634076655, -0.010262367315590382, 0.028487877920269966, 0.02267216518521309, -0.024601131677627563, -0.02120269648730755, 0.04012922942638397, 0.008044424466788769, 0.006619010586291552, 0.011724906042218208, 0.0076566715724766254, -0.004485855810344219, 0.03180744871497154, 0.06388360261917114, -0.033057406544685364, -0.010175599716603756, 0.004068847745656967, -0.0007037975010462105, 0.003966114018112421, -0.022848030552268028, 0.049965761601924896, -0.07041685283184052, 0.01563771441578865, -0.023168006911873817, -0.00035278761060908437, 0.0015197120374068618, -0.000052386996685527265, 0.018049322068691254, -0.0414193831384182, 0.026326283812522888, 0.037334997206926346, 0.031140387058258057, 0.05301966518163681, 0.030065126717090607, -0.009068142622709274, 0.012226764112710953, -0.01713389903306961, -0.007962480187416077, 0.016557153314352036, -0.03040342777967453, 0.022867728024721146, 0.07771465927362442, -0.0030971544329077005, -0.01173262856900692, 0.019183780997991562, 0.015570683404803276, 0.002709620166569948, 0.07330499589443207, 0.01572136953473091, 0.01529068872332573, 0.039067525416612625, 0.028156382963061333, 0.04146571457386017, -0.027652809396386147, -0.014065350405871868, -0.0008729694527573884, -0.007032724097371101, -0.024994591251015663, -0.03233722597360611, 0.05513428896665573, 0.026137998327612877, -0.01887628436088562, -0.014274992048740387, 0.06886141747236252, -0.0200344305485487, 0.01629386842250824, 0.009544257074594498, 0.007163050584495068, 0.007938090711832047, 0.0013612121110782027, 0.0005230373935773969, -0.0016853230772539973, 0.061654992401599884, 0.011504716239869595, -0.00971975363790989, -0.036259375512599945, -0.004303203895688057, 0.011659501120448112, 0.013418877497315407, -0.01732950285077095, 0.01804160699248314, -0.018373409286141396, 0.0241529680788517, 0.016660425812005997, 0.013243316672742367, -0.034243740141391754, 0.005649646744132042, 0.03133262321352959, 0.01569432020187378, -0.006626509130001068, 0.018044739961624146, 0.007439177483320236, 0.014088790863752365, -0.051845889538526535, 0.025197135284543037, -0.06278777122497559, -0.024929838255047798, -0.035056088119745255, 0.021861903369426727, 0.002022338565438986, 0.023132186383008957, -0.02389991097152233, 0.029407335445284843, 0.03218139708042145, -0.013008593581616879, 0.02903895638883114, -0.009008989669382572, 0.013125668279826641, 0.017710821703076363, -0.008322463370859623, 0.015250476077198982, 0.0011107540922239423, -0.005108925513923168, -0.019530266523361206, -0.007328627165406942, 0.03930516168475151, 0.028133783489465714, -0.00167916901409626, 0.03270779922604561, -0.0033343597315251827, 0.009267321787774563, 0.060328975319862366, -0.0025510480627417564, -0.015273994766175747, -0.0006375749944709241, -0.007165543269366026, 0.038431230932474136, -0.0026732273399829865, 0.013839835301041603, -0.010721360333263874, -0.04754718020558357, -0.008509671315550804, -0.0467129722237587, 0.01821415312588215, -0.012388174422085285, 0.02766241319477558, 0.04764492064714432, 0.020527038723230362, -0.00712181581184268, -0.0548868328332901, -0.03204798325896263, 0.003414151491597295, 0.013558181002736092, 0.045024313032627106, 0.010432044975459576, -0.0015646968968212605, -0.022988375276327133, -0.015667356550693512, 0.07501398772001266, -0.008203951641917229, -0.032038770616054535, 0.01377760712057352, -0.0045361388474702835, 0.0261727012693882, 0.01848849467933178, 0.016927329823374748, -0.06167300045490265, 0.048135947436094284, -0.02593710832297802, 0.02219642512500286, 0.0413251668214798, -0.04064357280731201, -0.005222937557846308, -0.0060792709700763226, 0.0329313725233078, 0.009802792221307755, 0.012728585861623287, -0.012955904938280582, -0.017873428761959076, 0.018857697024941444, 0.036198846995830536, 0.049737561494112015, -0.02012416161596775, -0.00492755277082324, -0.0047064973041415215, -0.0031882566399872303, 0.035829149186611176, -0.0213908851146698, -0.03398463875055313, 0.02279403619468212, 0.060412634164094925, 0.05801994726061821, 0.02093735709786415, -0.0089360186830163, 0.01779363863170147, -0.004553091712296009, -0.00979064591228962, -0.044105857610702515, 0.005794646218419075, 0.034064874053001404, -0.030885882675647736, -0.01231858879327774, 0.030117793008685112, 0.029703600332140923, 0.03431805968284607, 0.032027967274188995, -0.036959677934646606, -0.003716668812558055, 0.008230932988226414, -0.04233744740486145, -0.018842075020074844, 0.028733322396874428, -0.023643095046281815, 0.012941518798470497, -0.007444382179528475, 0.022896504029631615, -0.017540423199534416, -0.025738246738910675, -0.02508583478629589, -0.018485112115740776, 0.03234374523162842, -0.020595230162143707, -0.006431109271943569, 0.03532393276691437, 0.0069730146788060665, -0.03396717458963394, -0.0049079167656600475, -0.0023470567539334297, -0.00878853164613247, 0.009350054897367954, 0.03647548705339432, 0.013057444244623184, 0.01245039887726307, -0.004306361079216003, 0.03378539904952049, 0.012260052375495434, 0.011457798071205616, 0.032423414289951324, 0.037892092019319534, 0.010622172616422176, -0.0041790613904595375, 0.012716082856059074, 0.009213247336447239, 0.003919179551303387, -0.00029434607131406665, -0.06093951687216759, -0.03871111571788788, 0.03268396481871605, -0.019869772717356682, 0.02864563837647438, 0.015733912587165833, -0.0025058123283088207, 0.009683330543339252, 0.036375742405653, 0.0567949116230011, -0.031154872849583626, -0.02817150205373764, 0.01240611169487238, 0.017525574192404747, 0.051601801067590714, 0.08128511160612106, -0.030221592634916306, -0.03424219414591789, 0.008251544088125229, -0.010920156724750996, -0.05882575735449791, 0.015698932111263275, 0.04413319006562233, -0.021449048072099686, -0.0295291505753994, 0.061720672994852066, -0.02501600794494152, -0.00714301411062479, 0.030340565368533134, 0.04384588822722435, 0.013931935653090477, -0.0393126904964447, -0.01658705435693264, -0.046378329396247864, -0.03667308762669563, 0.009479215368628502, 0.04671858623623848, 0.020074933767318726, 0.05296371877193451, -0.00552261620759964, 0.09136947244405746, -0.009967680089175701, -0.024528995156288147, -0.033496253192424774, 0.05017353221774101, 0.06639298051595688, -0.010641386732459068, 0.02306608110666275, 0.0020630783401429653, -0.017670201137661934, -0.06379251927137375, -0.07983541488647461, -0.012955902144312859, -0.05984610691666603, 0.013600715436041355, -0.034315261989831924, -0.013065647333860397, -0.010046561248600483, -0.02774532325565815, 0.05063290894031525, 0.035289086401462555, 0.04769766703248024, 0.0016657174564898014, 0.025282027199864388, -0.011740264482796192, -0.022950666025280952, 0.03611326217651367, -0.017085116356611252, -0.0028473720885813236, 0.019867533817887306, 0.04087027907371521, 0.042426299303770065, 0.03624569624662399, 0.023750726133584976, 0.04147042706608772, 0.014116095378994942, 0.02379247359931469, -0.004708108492195606, 0.006941959727555513, -0.031984977424144745, -0.01004805788397789, 0.02431744895875454, -0.027104489505290985, -0.016863377764821053, -0.009502303786575794, 0.04329759627580643, -0.009159520268440247, -0.01007241290062666, -0.026967298239469528, -0.0071786693297326565, 0.02418905682861805, -0.03679581731557846, 0.012088969349861145, -0.024472571909427643, -0.046993039548397064, -0.00029833216103725135, 0.006022941786795855, -0.021484285593032837, -0.020212724804878235, -0.03127356246113777, 0.02096446603536606, -0.03171109780669212, 0.013560160994529724, 0.012696323916316032, 0.002827233402058482, -0.020329294726252556, -0.010181375779211521, -0.054814234375953674, 0.010177512653172016, 0.011360189877450466, 0.018143240362405777, -0.0035314152482897043, -0.003399491310119629, 0.006371327210217714, -0.05180203542113304, 0.007037500385195017, -0.05246272310614586, 0.024247659370303154, 0.016781874001026154, 0.014364640228450298, 0.04988551884889603, 0.05770270526409149, -0.01460951380431652, -0.03030998259782791, -0.029768867418169975, 0.00026748882373794913, 0.00031887038494460285, 0.012838786467909813, 0.0270968247205019, -0.03467386215925217, 0.05616497993469238, -0.013202879577875137, 0.03801147639751434, -0.012789689935743809, -0.0038290845695883036, 0.02547464519739151, -0.023186275735497475, 0.002567291958257556, 0.0016421886393800378, 0.021975111216306686, -0.027178684249520302, 0.010524304583668709, 0.018557125702500343, 0.01179355476051569, 0.0033322256058454514, 0.009671797975897789, 0.04742845147848129, -0.0057107130996882915, -0.00626990245655179, -0.026236850768327713, -0.06880847364664078, -0.00543825700879097, 0.044263456016778946, -0.023052368313074112, -0.011750362813472748, -0.02614046260714531, 0.015864672139286995, -0.05152395740151405, 0.007739253807812929, 0.03469761461019516, 0.052827395498752594, 0.039442770183086395, -0.0177459679543972, -0.05077249929308891, 0.0001976553612621501, -0.00006825453601777554, -0.0023744413629174232, -0.04780670627951622, 0.037453942000865936, 0.010673209093511105, -0.0052525997161865234, -0.038299351930618286, -0.04828716814517975, -0.00867572333663702, -0.024680910632014275, -0.03622755408287048, 0.007459317799657583, 0.010411368682980537, -0.020652825012803078, -0.019093720242381096, 0.006303792353719473, 0.023969052359461784, -0.022809600457549095, -0.00015448435442522168, -0.0019409360829740763, -0.0017271462129428983, -0.01656397059559822, -0.02658246085047722, -0.049356766045093536, 0.00011528717732289806, 0.023062411695718765, -0.018997453153133392, 0.03808893263339996, -0.014863094314932823, 0.08113902807235718, -0.007961967028677464, -0.0063764783553779125, 0.07112736999988556, 0.003620623145252466, -0.03197426721453667, -0.031136028468608856, 0.011084073223173618, 0.016935208812355995, -0.020062124356627464, -0.007470826618373394, 0.010531180538237095, 0.026463855057954788, 0.004734996240586042, -0.04776204004883766, -0.023076826706528664, 0.0176333449780941, -0.003451630938798189, 0.025841446593403816, 0.02483825385570526, 0.05070957913994789, 0.03149070218205452, -0.004199966788291931, 0.04256493225693703, 0.007852952927350998 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
Building products with 🤗 Diffusers Over the last year, we also saw many companies choosing to build their products on top of 🤗 Diffusers. Here are a couple of products that have caught our attention: - PlaiDay: “PlaiDay is a Generative AI experience where people collaborate, create, and connect. Our platform unlocks the limitless creativity of the human mind, and provides a safe, fun social canvas for expression.” - Previs One: “Previs One is a diffuser pipeline for cinematic storyboarding and previsualization — it understands film and television compositional rules just as a director would speak them.” - Zust.AI: “We leverage Generative AI to create studio-quality product photos for brands and marketing agencies.” - Dashtoon: “Dashtoon is building a platform to create and consume visual content. We have multiple pipelines that load multiple LORAs, multiple control-nets and even multiple models powered by diffusers. Diffusers has made the gap between a product engineer and a ML engineer super low allowing dashtoon to ship user value faster and better.” - Virtual Staging AI: "Filling empty rooms with beautiful furniture using generative models.” - Hexo.AI: “Hexo AI helps brands get higher ROI on marketing spends through Personalized Marketing at Scale. Hexo is building a proprietary campaign generation engine which ingests customer data and generates brand compliant personalized creatives.” If you’re building products on top of 🤗 Diffusers, we’d love to chat to understand how we can make the library better together! Feel free to reach out to [email protected] or [email protected].
[ 0.054671041667461395, -0.016443032771348953, 0.04848206415772438, 0.006414858624339104, 0.11018530279397964, 0.07430123537778854, -0.11480233073234558, 0.007918545976281166, 0.03622020408511162, -0.023841939866542816, -0.03442169353365898, -0.057000063359737396, 0.020682882517576218, 0.10570068657398224, -0.020792264491319656, -0.09761840105056763, -0.037913624197244644, 0.032100170850753784, -0.016676172614097595, 0.014988592825829983, -0.020539214834570885, -0.003457727376371622, 0.028980677947402, -0.04134053364396095, -0.04100002720952034, 0.004646187648177147, 0.011603174731135368, -0.008332100696861744, 0.016071151942014694, 0.024083953350782394, 0.005325739737600088, 0.05111939460039139, -0.005858077667653561, -0.07417459040880203, 0.02519870735704899, -0.004271975252777338, -0.045709483325481415, 0.011105568148195744, -0.00626760208979249, -0.010497337207198143, -0.03136581555008888, 0.003102362621575594, -0.06634559482336044, -0.00441840011626482, 0.018038634210824966, -0.026282204315066338, -0.09616976231336594, 0.08140774071216583, -0.0673135444521904, 0.053924430161714554, -0.13326796889305115, 0.05913135036826134, -0.023694230243563652, -0.023911671712994576, 0.06594608724117279, 0.08412208408117294, 0.015751151368021965, 0.0030015911906957626, -0.048648651689291, 0.07646238803863525, 0.012969127856194973, 0.0053070178255438805, 0.03477562218904495, 0.0040074000135064125, 0.031142283231019974, -0.0022875210270285606, 0.05454438552260399, -0.11027535051107407, 0.003700647968798876, -0.00655228178948164, 0.0415501594543457, 0.054240405559539795, -0.023330315947532654, -0.010664370842278004, 0.04931005835533142, 0.0031548230908811092, 0.040411755442619324, 0.021275468170642853, 0.03368557244539261, -0.002344798529520631, 0.015494285151362419, 0.013671207241714, 0.08489029854536057, 0.008812769316136837, 0.0029112817719578743, 0.039238348603248596, 0.07951490581035614, 0.029524067416787148, -0.02839144878089428, -0.021519161760807037, -0.037537384778261185, -0.1199788749217987, -0.0031874373089522123, 0.026537373661994934, -0.01935642398893833, 0.031185775995254517, -0.016796115785837173, 0.018242960795760155, 0.07799740880727768, -0.035282816737890244, -0.03895377367734909, -0.031693246215581894, -0.023948056623339653, -0.06783392280340195, 0.0017292838310822845, 0.016304662451148033, -0.041172873228788376, 0.013504663482308388, 0.0010807046201080084, 0.038314223289489746, 0.0007546098786406219, 0.014099289663136005, 0.031772710382938385, 0.0710587427020073, -0.0734689012169838, -0.006691171322017908, -0.0011299103498458862, 0.010104851797223091, 0.006193220615386963, 0.03736705705523491, 0.03752533718943596, 0.02972685918211937, 0.020593222230672836, 0.03622369468212128, 0.0018034628592431545, 0.05858198180794716, -0.03752836957573891, -0.0005747867398895323, -0.06695254892110825, -0.04209844395518303, -0.0009045854676514864, -0.01250933576375246, 0.01056814007461071, -0.0647922232747078, 0.049903709441423416, -0.1021021157503128, 0.014721634797751904, 0.025418266654014587, 0.06782668828964233, -0.001790056237950921, -0.07494523376226425, 0.03886176645755768, 0.02131284773349762, -0.0472736693918705, 0.014751303941011429, -0.049367520958185196, 0.03935761749744415, 0.013347078114748001, -0.10879302769899368, -0.015587943606078625, -0.031522177159786224, 0.05089298635721207, -0.05824786424636841, -0.05269407853484154, -0.021614544093608856, 0.06486740708351135, 0.0211738720536232, -0.05183345079421997, 0.02922237664461136, -0.02273450791835785, 0.010534752160310745, -0.04768756404519081, -0.04529968649148941, 0.003141603898257017, -0.005718294531106949, -0.010822901502251625, 0.014627835713326931, 0.04855041950941086, 0.001997818937525153, 0.000011607300621108152, 0.04770385101437569, 0.04139076918363571, -0.05360996723175049, -0.02542656660079956, 0.09184176474809647, -0.010620475746691227, 0.014232635498046875, 0.03982836753129959, 0.06977025419473648, 0.07295312732458115, -0.00007456150342477486, 0.09295174479484558, 0.06082170829176903, -0.040397003293037415, 0.06357259303331375, -0.0378233976662159, 0.009047388099133968, -0.0182149950414896, 0.048482466489076614, 0.029728073626756668, -0.06607040017843246, 0.0009280595113523304, 0.026904793456196785, -0.010812260210514069, -0.03551396727561951, -0.03756363317370415, -0.028169816359877586, 0.05634929612278938, 0.07761339843273163, -0.04256605729460716, 0.03849023953080177, 0.030036265030503273, 0.0939408615231514, -0.03508876636624336, 0.007258397527039051, -0.000750439241528511, 0.03329058736562729, 0.0181999821215868, 0.006360982544720173, -0.0036237791646271944, 0.021793154999613762, -0.09516166150569916, 0.05099290981888771, -0.009776730090379715, 0.05709882080554962, -0.04068601876497269, -0.010338547639548779, 0.02433040551841259, -0.11013958603143692, -0.017744535580277443, 0.11114972829818726, -0.04266336187720299, -0.02384260669350624, 0.042857225984334946, 0.0015830830670893192, 0.040639620274305344, 0.12677745521068573, -0.018478231504559517, 0.06585223972797394, 0.003451997647061944, -0.10800066590309143, 0.008293516002595425, 0.009191873483359814, -0.03595346584916115, -0.054949402809143066, 0.04925009235739708, 0.060834262520074844, 0.023122232407331467, 0.03224301338195801, -0.06367592513561249, 0.006360633298754692, -0.03406231477856636, -0.10431566089391708, 0.03254198655486107, -0.0012018084526062012, 0.013801466673612595, 0.02447032742202282, 0.0055535524152219296, 0.0071516986936330795, -0.014433716423809528, -0.048131607472896576, 0.0500674769282341, -0.013364449143409729, -0.022629806771874428, 0.07417383044958115, 0.021869027987122536, 0.003057348309084773, -0.01512106228619814, -0.034512024372816086, 0.009233560413122177, -0.00922677107155323, -0.0342438668012619, 0.05233088508248329, -0.030282076448202133, 0.0015435012755915523, -0.028020748868584633, 0.01093441341072321, -0.01588394306600094, -0.006883499212563038, 0.007581870071589947, 0.028276409953832626, -0.030461769551038742, -0.003834251081570983, 0.02429821714758873, 0.013476419262588024, -0.02297169715166092, 0.009549896232783794, -0.02137291245162487, 0.009134320542216301, -0.06165395677089691, 0.0354326032102108, 0.00856513250619173, 0.06321915984153748, -0.006877927575260401, 0.047985855489969254, -0.00805850513279438, -0.02816276252269745, -0.010588315315544605, -0.04893065616488457, 0.0009989506797865033, 0.006096364930272102, 0.00962886679917574, -0.023706534877419472, -0.0018245413666591048, -0.03758774697780609, -0.029421895742416382, -0.019617775455117226, 0.011819565668702126, -0.028468560427427292, 0.040218424052000046, -0.02741234563291073, -0.04637701064348221, -0.009834548458456993, 0.01895550824701786, -0.0013934836024418473, -0.005284391343593597, 0.03176746517419815, -0.006104508880525827, -0.07681810110807419, -0.014304555021226406, -0.04674353450536728, 0.03086605854332447, 0.020796338096261024, -0.03503742069005966, 0.06159605458378792, -0.020853806287050247, 0.0034332256764173508, 0.0227595753967762, 0.008886593393981457, 0.015214457176625729, 0.018734900280833244, -0.03938448056578636, 0.012772533111274242, -0.00733905378729105, -0.03100854530930519, 0.01805097982287407, 0.026730138808488846, -0.007076859008520842, -0.07054197043180466, 0.015729757025837898, -0.008419007062911987, -0.028507329523563385, -0.011085440404713154, -0.047625381499528885, -0.022266723215579987, 0.002236585831269622, 0.008518542163074017, 0.02775145135819912, -0.04913933202624321, 0.025602014735341072, -0.08361995965242386, -0.0006586557719856501, -0.007218215614557266, 0.03935910016298294, -0.044072337448596954, -0.0499209389090538, 0.0874449610710144, -0.012610483914613724, 0.030358802527189255, 0.0053380802273750305, -0.013624034821987152, 0.03988710045814514, 0.031184423714876175, -0.01708652265369892, 0.03929067403078079, 0.0049743945710361, 0.001337580382823944, -0.06312382221221924, 0.004939450416713953, 0.015419566072523594, 0.029855472967028618, -0.028430303558707237, 0.028067946434020996, 0.002797490917146206, -0.0062355403788387775, 0.028620494529604912, 0.0036403455305844545, -0.011922736652195454, -0.01791929453611374, 0.016760239377617836, -0.032607290893793106, 0.016977710649371147, -0.00936927367001772, 0.0271607618778944, 0.00002841707282641437, -0.048649732023477554, -0.008082500658929348, 0.021789969876408577, 0.01345837116241455, 0.01784888096153736, 0.021276526153087616, 0.0021195164881646633, 0.07196671515703201, 0.014119193889200687, 0.04431989789009094, -0.01391849759966135, 0.040905408561229706, 0.046576082706451416, -0.009599217213690281, -0.04070475697517395, -0.0007807403453625739, -0.020597008988261223, -0.00636796560138464, 0.0047574155032634735, 0.04389071837067604, -0.015781942754983902, 0.019844554364681244, -0.00014641454617958516, 0.038568925112485886, -0.02415134385228157, 0.00031981320353224874, -0.021428318694233894, 0.03339077904820442, 0.013592695817351341, 0.01804942451417446, 0.06218558922410011, -0.01924188993871212, -0.044909097254276276, 0.024708284065127373, -0.019683079794049263, -0.07978066802024841, -0.0011219464940950274, -0.005079731810837984, 0.0067895157262682915, -0.011063184589147568, -0.016904354095458984, 0.01011826004832983, 0.006935906130820513, 0.023037374019622803, 0.04426318034529686, 0.04768632724881172, 0.03024210035800934, 0.011486496776342392, 0.02400302328169346, 0.021831542253494263, 0.020882900804281235, -0.026809869334101677, -0.009791577234864235, 0.008914423175156116, -0.02169298566877842, -0.012653102166950703, -0.004228188656270504, 0.052637889981269836, 0.00625102361664176, 0.013441652990877628, -0.031596746295690536, -0.023916203528642654, -0.039240095764398575, -0.03760237619280815, -0.0282855536788702, 0.05557766556739807, -0.008180620148777962, -0.01821373961865902, -0.029653729870915413, -0.009539186023175716, 0.045461662113666534, -0.06394723802804947, -0.005761091131716967, -0.010040628723800182, -0.012746382504701614, 0.048425279557704926, -0.006996877491474152, 0.009347417391836643, -0.046692557632923126, 0.009218266233801842, 0.004521206486970186, 0.036778371781110764, 0.009809751063585281, 0.01099556963890791, 0.01742502674460411, -0.028304822742938995, 0.012956611812114716, 0.030465034767985344, -0.006905754562467337, 0.013433405198156834, 0.01511228084564209, 0.04174003005027771, -0.0006123378407210112, 0.007210932672023773, 0.0075509315356612206, -0.044948600232601166, 0.040263108909130096, -0.025478431954979897, -0.012394797056913376, -0.016249606385827065, 0.0077306595630943775, -0.03720134496688843, -0.01677912287414074, 0.01631854847073555, 0.055542003363370895, 0.003469407092779875, 0.0312635712325573, 0.008095458149909973, 0.007018380798399448, 0.044405676424503326, 0.02946951612830162, -0.033871255815029144, -0.03225516155362129, -0.027087824419140816, 0.019955573603510857, 0.0017785333329811692, -0.020123224705457687, 0.030263792723417282, -0.023399580270051956, 0.0005419599474407732, 0.025142520666122437, 0.020155824720859528, -0.018879955634474754, 0.0008574569947086275, -0.038476478308439255, -0.03605093061923981, -0.007349216844886541, 0.005933396518230438, -0.05207976698875427, -0.00846884585916996, 0.030533498153090477, -0.03671398013830185, -0.06890227645635605, 0.01582387462258339, 0.017598357051610947, -0.00453499099239707, -0.02348117157816887, -0.002510509453713894, -0.04113558307290077, -0.006240165792405605, 0.02298710308969021, 0.02692567929625511, -0.01572532206773758, 0.015632256865501404, -0.024054167792201042, 0.004431259352713823, -0.0320531465113163, 0.007368563674390316, -0.04734675586223602, -0.011615073308348656, -0.02281242050230503, -0.023860733956098557, 0.04521521180868149, -0.021836282685399055, -0.03583916276693344, -0.029460184276103973, 0.007297720294445753, -0.01071426086127758, -0.002007048111408949, -0.007584207225590944, -0.009889532811939716, -0.02198614925146103, -0.0038110646419227123, -0.01477375440299511, 0.036765094846487045, 0.0036436067894101143, 0.029186401516199112, -0.011611295863986015, 0.062002938240766525, -0.04898025467991829, 0.05399041622877121, 0.03197196498513222, 0.02362525463104248, -0.039122968912124634, -0.019797397777438164, 0.007534925360232592, 0.05336453393101692, -0.029165467247366905, 0.027949761599302292, -0.048728249967098236, -0.05061396583914757, -0.0007522442028857768, 0.005562857259064913, 0.03773380443453789, -0.04253511130809784, -0.060699038207530975, -0.08008787035942078, 0.01724923588335514, 0.0023249690420925617, 0.046472229063510895, 0.013930614106357098, -0.028885379433631897, 0.039475299417972565, -0.02609608881175518, -0.019810380414128304, -0.018753143027424812, -0.0056752716191112995, -0.006571781821548939, 0.027169259265065193, 0.001646428368985653, 0.025919172912836075, 0.004920605104416609, 0.046942077577114105, 0.024787096306681633, 0.007204675581306219, -0.018366483971476555, 0.03588183596730232, -0.020016176626086235, 0.004720963537693024, 0.03106711059808731, 0.030330635607242584, -0.04625070095062256, 0.011317371390759945, 0.0019177815411239862, 0.0643288791179657, 0.05977645516395569, -0.006693822331726551, 0.013280940242111683, 0.022855808958411217, 0.05136212706565857, -0.013470719568431377, 0.0160838570445776, -0.008645259775221348, -0.016166087239980698, -0.021752826869487762, -0.007554898504167795, 0.03404167667031288, -0.003893821034580469, 0.04132799804210663, 0.006553569342941046, -0.005509843584150076, -0.04626920446753502, -0.014703035354614258, 0.034080542623996735, -0.016015121713280678, 0.044282808899879456, 0.030887562781572342, 0.012693006545305252, 0.01416905876249075, 0.03195224702358246, 0.01287422887980938, 0.03968558833003044, 0.038881946355104446, 0.020671483129262924, -0.0005264094797894359, -0.025802571326494217, 0.004281593486666679, 0.027728676795959473, 0.04758996516466141, 0.0039876471273601055, 0.0010168715380132198, 0.008251280523836613, 0.01703665964305401, -0.006289557088166475, -0.057072535157203674, -0.03500518947839737, -0.023248735815286636, -0.010153578594326973, -0.03557978570461273, 0.011878903023898602, 0.04340735450387001, -0.015179111622273922, 0.0263832900673151, -0.006949617527425289, -0.013735078275203705, 0.014581677503883839, -0.0289919376373291, -0.03779109567403793, -0.04974076524376869, 0.01818966679275036, 0.011839955113828182, -0.029770709574222565, -0.0672948807477951, -0.02979033999145031, -0.016929958015680313, -0.014623983763158321, -0.014055433683097363, 0.04210859537124634, -0.021806739270687103, 0.040735382586717606, 0.04822128266096115, 0.029886610805988312, 0.0588129460811615, -0.019652029499411583, -0.00038868811680004, 0.00300685060210526, -0.0021029759664088488, -0.030243925750255585, 0.015444795601069927, -0.026065029203891754, 0.012581052258610725, 0.04756344482302666, 0.025394927710294724, -0.003252014983445406, 0.0024273102171719074, -0.016178283840417862, -0.03483419492840767, -0.018803827464580536, -0.004225379787385464, -0.001834710012190044, 0.011387797072529793, 0.004284778609871864, 0.03175078332424164, -0.02930869534611702, 0.034731630235910416, -0.022331686690449715, 0.028512017801404, -0.03473265841603279, 0.05294279009103775, 0.029980402439832687, 0.019641991704702377, -0.039619095623493195, 0.024743493646383286, 0.02802291512489319, 0.025220707058906555, 0.03138572722673416, 0.02977924235165119, 0.019271839410066605, -0.01363932341337204, -0.0044442275539040565, 0.03510041907429695, -0.005387088283896446, 0.022147763520479202, 0.02135421894490719, -0.030390741303563118, -0.022020991891622543, 0.03414672985672951, -0.0291746836155653, -0.01512565091252327, -0.044293615967035294, -0.01738390512764454, -0.0734315812587738, -0.009825118817389011, -0.025265619158744812, 0.011223419569432735, 0.0432572066783905, -0.029891518875956535, -0.010233054868876934, -0.012399248778820038, -0.009115940891206264, -0.0062440503388643265, -0.04498837888240814, 0.028985772281885147, -0.019617119804024696, -0.009694856591522694, -0.028823306784033775, -0.026071244850754738, -0.0016727112233638763, -0.07146500051021576, -0.05191555246710777, 0.012756040319800377, 0.046507976949214935, 0.0025704519357532263, 0.01273785624653101, 0.03618265688419342, 0.05429408699274063, -0.046914178878068924, -0.016748370602726936, -0.021616624668240547, -0.019335726276040077, 0.021105309948325157, 0.0005262013874016702, -0.013297266326844692, 0.0003812169888988137, 0.031610410660505295, -0.007105535361915827, 0.03222835063934326, -0.04424324259161949, 0.005749985110014677, -0.017967483028769493, -0.003039564471691847, 0.015813330188393593, 0.007645341567695141, -0.04327382892370224, -0.005076095927506685, -0.004681907594203949, -0.036506690084934235, -0.030345238745212555, -0.028727294877171516, -0.017152346670627594, 0.05439620465040207, 0.013663731515407562, -0.03480331227183342, -0.022396210581064224, -0.031550660729408264, 0.056726910173892975, 0.0025193255860358477, 0.008007585071027279, 0.07178013026714325, 0.0415114089846611, -0.0722852423787117, -0.022705309092998505, -0.04590785130858421 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
Torch 2.0 optimizations PyTorch 2.0 introduced support for torch.compile()and scaled_dot_product_attention(), a more efficient implementation of the attention mechanism. 🤗 Diffusers provides first-class support for these features resulting in massive speedups in inference latency, which can sometimes be more than twice as fast! In addition to visual content (images, videos, 3D assets, etc.), we also added support for audio! Check out the documentation to learn more.
[ 0.048401691019535065, 0.015677858144044876, 0.06496073305606842, -0.024975860491394997, -0.012661798857152462, -0.022513531148433685, -0.034081604331731796, 0.06359273940324783, -0.04793825000524521, -0.05103689804673195, -0.023280374705791473, 0.024996785447001457, -0.007011891808360815, 0.05128353834152222, 0.0362272709608078, -0.015180197544395924, 0.019747847691178322, 0.01147456094622612, -0.059628523886203766, 0.04759273678064346, 0.017572060227394104, -0.06588185578584671, 0.031033268198370934, -0.022963687777519226, -0.05977089703083038, 0.0051350705325603485, -0.04515218362212181, 0.045736245810985565, -0.07434939593076706, -0.024830777198076248, -0.09146182239055634, 0.021758075803518295, 0.047309357672929764, -0.05738886073231697, -0.03356563299894333, -0.005001498386263847, -0.07518242299556732, 0.03498705103993416, 0.060089994221925735, -0.018282616510987282, 0.024149110540747643, -0.02349444478750229, -0.13160297274589539, 0.041707150638103485, -0.006434641778469086, 0.006340672727674246, -0.07089248299598694, 0.043245624750852585, -0.027607213705778122, -0.023546947166323662, -0.12061590701341629, 0.04151686280965805, -0.04958038777112961, 0.029040781781077385, 0.0349079854786396, 0.06565683335065842, -0.01065356656908989, 0.06271882355213165, 0.019595827907323837, -0.0335693284869194, 0.005131643731147051, -0.01800217293202877, -0.01622474379837513, 0.05757446587085724, 0.042577676475048065, 0.056100137531757355, -0.02270098216831684, 0.012268442660570145, -0.06932281702756882, -0.025847773998975754, 0.09285218268632889, 0.003956632222980261, -0.010540102608501911, -0.02659398689866066, -0.0337466262280941, 0.028124166652560234, 0.018015272915363312, -0.023617146536707878, 0.036597829312086105, 0.04415813833475113, 0.011506992392241955, 0.030933238565921783, 0.05690234526991844, 0.039437435567379, 0.012650201097130775, 0.05690980702638626, 0.026354288682341576, -0.0487096831202507, -0.07123416662216187, -0.05752398818731308, -0.0032356628216803074, -0.07777811586856842, 0.03887981176376343, 0.02098262682557106, -0.0019140827935189009, 0.057629626244306564, -0.007688942365348339, -0.050418123602867126, 0.04107236489653587, -0.012265882454812527, 0.016575736925005913, -0.06577301025390625, 0.04408842325210571, -0.002106686122715473, -0.09023568779230118, 0.04183727502822876, -0.0435706190764904, -0.025120578706264496, -0.0540475994348526, 0.0943104550242424, -0.013809992000460625, 0.0461391806602478, 0.019055388867855072, 0.01864023320376873, -0.04095759987831116, -0.040851667523384094, -0.0739239752292633, 0.0860428661108017, -0.0011603479506447911, 0.04019251465797424, -0.029384691268205643, 0.08216899633407593, 0.03887667879462242, 0.020102130249142647, 0.01658216305077076, 0.08664416521787643, -0.031565628945827484, 0.0780692920088768, 0.014011080376803875, -0.033881355077028275, 0.02048018015921116, -0.07606270909309387, 0.04565340280532837, -0.06852687150239944, 0.020487060770392418, -0.0676891952753067, -0.003768074791878462, -0.11021530628204346, 0.0021086838096380234, -0.0018407898023724556, -0.041148971766233444, 0.005780958570539951, 0.024356696754693985, -0.029208790510892868, -0.011142320930957794, -0.06403728574514389, -0.06035220995545387, 0.00857777800410986, 0.0018427581526339054, 0.024381164461374283, -0.08149826526641846, 0.039302270859479904, -0.055898867547512054, -0.04076727107167244, -0.07612008601427078, 0.04596053808927536, 0.05012321472167969, -0.05712291970849037, -0.03188994899392128, -0.030331972986459732, -0.04193493723869324, -0.022265834733843803, 0.008194345980882645, -0.012399539351463318, 0.00741157028824091, 0.028079671785235405, 0.036386486142873764, 0.0809956043958664, 0.05792485550045967, -0.036492329090833664, 0.014569596387445927, 0.02272893860936165, 0.036369938403367996, 0.005302126519382, -0.030617738142609596, 0.04225185513496399, 0.03340677171945572, 0.1180272251367569, -0.021565662696957588, 0.0063231573440134525, -0.045435864478349686, 0.03782401978969574, 0.005534823052585125, 0.02769998088479042, 0.03784248232841492, -0.07642621546983719, 0.09793750196695328, -0.05422745645046234, -0.012510261498391628, 0.006895189639180899, -0.04647429659962654, 0.035358622670173645, -0.04900256544351578, -0.03355777636170387, 0.04234398901462555, -0.00823941919952631, -0.06194695085287094, 0.07809480279684067, 0.04548635706305504, -0.0024848401080816984, -0.010367494076490402, 0.009630898013710976, 0.0034271946642547846, 0.040906891226768494, 0.0599517747759819, -0.0131604615598917, 0.02535932883620262, -0.027858149260282516, -0.060186635702848434, -0.013242310844361782, 0.013003657571971416, -0.11342719942331314, 0.0031977915205061436, -0.021755490452051163, 0.04250512644648552, -0.028033362701535225, -0.02071363292634487, 0.0750504583120346, -0.001968205440789461, -0.0380885936319828, 0.11243816465139389, -0.07300899177789688, -0.02171035297214985, -0.043433599174022675, -0.05769277736544609, 0.06844177842140198, 0.08507393300533295, -0.03082200139760971, 0.07214197516441345, -0.0035536952782422304, -0.06785202771425247, -0.07136519253253937, -0.0713333785533905, 0.07641942799091339, -0.018923655152320862, -0.02519146539270878, -0.025447528809309006, 0.06836759299039841, 0.01857522688806057, -0.053997643291950226, 0.017644738778471947, 0.041108276695013046, -0.002913914853706956, 0.03219044208526611, -0.012337050400674343, -0.008030779659748077, 0.04033055901527405, 0.015769008547067642, 0.022280365228652954, 0.012534604407846928, -0.029267512261867523, 0.04402937367558479, 0.04375672712922096, -0.0008103939471766353, 0.08346816152334213, 0.03602779284119606, 0.0026514814235270023, -0.006507443264126778, 0.02544204145669937, 0.05033133551478386, 0.024919144809246063, -0.010356074199080467, 0.010441191494464874, -0.014281904324889183, -0.035410817712545395, -0.052578795701265335, 0.0028211919125169516, 0.021356936544179916, 0.012239482253789902, 0.006900816690176725, -0.009209219366312027, 0.04483569785952568, -0.021263236179947853, -0.01664290390908718, 0.018130576238036156, 0.03848981484770775, 0.037771984934806824, -0.037087131291627884, -0.027143368497490883, -0.05285080149769783, -0.03153156116604805, -0.00990011915564537, 0.033099155873060226, 0.011474627070128918, 0.021689940243959427, -0.008610684424638748, -0.028164135292172432, -0.010742556303739548, -0.052687838673591614, 0.007407656870782375, -0.011184269562363625, -0.028862595558166504, 0.06606288999319077, -0.02213805541396141, -0.002745897974818945, 0.03256213665008545, -0.03383922576904297, -0.0017753624124452472, -0.013788186013698578, 0.012828956358134747, -0.024618810042738914, -0.02907189540565014, -0.020947584882378578, -0.007412098813802004, -0.003861062228679657, -0.007577503565698862, 0.01783112995326519, 0.019859421998262405, -0.08175615966320038, -0.02094252221286297, -0.026908274739980698, -0.0020917775109410286, 0.0023588009644299746, -0.027354668825864792, -0.0037381844595074654, 0.03145430237054825, 0.00920291617512703, 0.012282527051866055, 0.026849640533328056, -0.00996315199881792, -0.019186435267329216, 0.017677148804068565, -0.027147354558110237, 0.005931503139436245, 0.025308882817626, 0.026384536176919937, 0.03190827742218971, -0.021319476887583733, -0.009043069556355476, 0.044553738087415695, -0.00458498066291213, -0.06554895639419556, -0.044928546994924545, 0.025247540324926376, 0.02349264733493328, 0.012730433605611324, 0.003394967643544078, 0.0065396931022405624, -0.019624954089522362, -0.015576438046991825, 0.007248405367136002, -0.004379975143820047, -0.0202474445104599, 0.026134612038731575, -0.02886294759809971, -0.036102112382650375, 0.04371512308716774, 0.0057394555769860744, 0.003995999228209257, 0.00961493793874979, 0.01465801801532507, -0.02237381599843502, 0.0379706546664238, -0.049521610140800476, -0.03086833655834198, -0.0007379467715509236, 0.06266181170940399, -0.0437660776078701, -0.019876550883054733, -0.03398677706718445, 0.00982489064335823, 0.014167243614792824, 0.0060984306037425995, -0.014472166076302528, -0.02094087563455105, 0.014993347227573395, 0.06222778186202049, 0.005302283447235823, -0.014422619715332985, 0.04658406227827072, -0.00006507292710011825, 0.006724831648170948, -0.028273042291402817, 0.03322714567184448, 0.042165108025074005, -0.05583098903298378, -0.028534280136227608, -0.008250202983617783, -0.023292915895581245, 0.035913191735744476, -0.0011872997274622321, 0.007210130803287029, 0.00147188117261976, 0.06971947848796844, 0.014134343713521957, -0.001844982267357409, 0.03367583081126213, 0.027211323380470276, -0.004819759167730808, -0.044371094554662704, 0.043953053653240204, 0.0035351484548300505, 0.010125061497092247, 0.017626577988266945, -0.015856361016631126, -0.03751441836357117, 0.05124476179480553, -0.009789546020328999, 0.01607111096382141, -0.0025131164584308863, 0.011006960645318031, -0.05451994761824608, -0.016016684472560883, -0.013493555597960949, 0.041550375521183014, 0.049412596970796585, 0.023195680230855942, 0.0293533056974411, 0.01150609366595745, -0.04991188272833824, -0.030755557119846344, 0.021119223907589912, -0.021808471530675888, -0.016985252499580383, -0.04319717735052109, -0.013169159181416035, 0.03752417862415314, 0.014450078830122948, 0.017726019024848938, 0.003072603838518262, -0.005568560212850571, 0.001342384610325098, 0.0367533378303051, -0.004786622244864702, 0.01265079714357853, 0.0042901490814983845, -0.033602822571992874, -0.0007467583636753261, -0.012208279222249985, 0.01959175057709217, 0.019426828250288963, -0.006903755944222212, 0.07254385948181152, 0.05058121308684349, 0.02523851953446865, -0.0027546947821974754, -0.01065097376704216, -0.025760307908058167, -0.06636521220207214, 0.003411993384361267, 0.0037102827336639166, 0.043187808245420456, 0.029486900195479393, -0.05803262069821358, -0.01194493006914854, 0.04224530979990959, -0.039421871304512024, -0.04030918329954147, -0.054841116070747375, 0.009080683812499046, 0.036788489669561386, -0.02683877758681774, -0.016241222620010376, -0.003348071128129959, -0.01588907092809677, 0.047861259430646896, -0.054743263870477676, 0.019837910309433937, 0.042760755866765976, -0.02223031036555767, -0.012413160875439644, 0.013904020190238953, 0.06432993710041046, 0.012180380523204803, -0.017985133454203606, 0.027970151975750923, 0.03898760676383972, 0.015107120387256145, -0.011911744251847267, 0.06208346411585808, -0.042317524552345276, 0.012254394590854645, 0.02101578190922737, -0.004294000566005707, 0.001975387567654252, -0.012289278209209442, 0.0020133890211582184, 0.0063741873018443584, 0.01570156216621399, 0.0108258705586195, -0.03435257077217102, -0.012587306089699268, 0.044049106538295746, -0.01841518096625805, 0.024888139218091965, 0.005458886735141277, -0.01755593530833721, -0.011597097851336002, 0.0008257604786194861, -0.014915919862687588, 0.06479087471961975, 0.002015030011534691, 0.008556471206247807, 0.04401395842432976, -0.030286448076367378, 0.06038050726056099, 0.02516774833202362, 0.00041857780888676643, -0.018977811560034752, -0.039561644196510315, -0.04181117191910744, -0.001515579642727971, 0.021272528916597366, -0.017344897612929344, -0.02812344953417778, 0.013712569139897823, -0.03718922287225723, 0.013238954357802868, 0.034837041050195694, 0.0005142470472492278, -0.019757453352212906, -0.03920726105570793, 0.007753667421638966, 0.009767061099410057, 0.019681956619024277, -0.0038423079531639814, -0.016753360629081726, -0.04664003103971481, 0.024940412491559982, -0.03433729708194733, 0.038845520466566086, -0.015674330294132233, -0.004463227465748787, -0.02734941802918911, -0.023512214422225952, 0.015426299534738064, 0.00929353665560484, 0.0008321056957356632, -0.023827888071537018, -0.033599115908145905, -0.01113931741565466, 0.045554112643003464, 0.004927989561110735, -0.017749875783920288, -0.0017164872260764241, 0.035002704709768295, -0.06941206008195877, 0.039360009133815765, 0.060746029019355774, 0.0609399639070034, -0.003024873323738575, 0.030970374122262, 0.014003376476466656, 0.014169477857649326, -0.0387558676302433, 0.029179763048887253, 0.04581085219979286, 0.018205884844064713, -0.002359137637540698, 0.009393071755766869, -0.030008675530552864, 0.022087082266807556, -0.03329077735543251, 0.027435200288891792, 0.045123402029275894, -0.0399826243519783, 0.00018482144514564425, -0.038422729820013046, 0.05211665853857994, -0.0028400951996445656, -0.04663390293717384, -0.025743138045072556, 0.005201935768127441, -0.014533150009810925, 0.023812606930732727, -0.0020817795302718878, 0.02123209461569786, -0.015400356613099575, 0.04187604412436485, -0.02983137220144272, 0.027269486337900162, -0.030443472787737846, -0.041496217250823975, 0.019180946052074432, 0.002298278734087944, -0.04202476143836975, 0.002190037863329053, 0.03463040292263031, 0.01094816718250513, 0.024288931861519814, 0.002132758731022477, 0.012074200436472893, -0.030318468809127808, -0.009199795313179493, -0.014949457719922066, 0.02113802172243595, -0.0008623878820799291, 0.03895966336131096, 0.046227749437093735, 0.03566933795809746, 0.032214026898145676, -0.010868648067116737, -0.012526601552963257, -0.017698178067803383, 0.0602576769888401, -0.0065871719270944595, 0.022245869040489197, 0.023736195638775826, 0.021870460361242294, 0.016970444470643997, 0.006342487875372171, 0.020727576687932014, -0.025569098070263863, 0.0033365499693900347, 0.04947657883167267, -0.0196763277053833, -0.02067585289478302, -0.015201881527900696, 0.036161039024591446, 0.013295999728143215, 0.1000748723745346, 0.004706337116658688, -0.013227353803813457, 0.0034818288404494524, 0.043954137712717056, -0.001853091293014586, -0.01010138913989067, 0.004580555949360132, -0.005659605376422405, 0.010207854211330414, 0.030153656378388405, -0.0018851942149922252, -0.040722575038671494, -0.004454415291547775, 0.05192389711737633, -0.011783492751419544, 0.019160155206918716, 0.010556965135037899, 0.0023927867878228426, -0.03151903674006462, -0.01804124191403389, 0.007644664961844683, -0.052386701107025146, 0.012834821827709675, 0.0317886658012867, -0.006128713022917509, -0.00028145493706688285, 0.009156382642686367, 0.0017171528888866305, 0.047313231974840164, 0.004144225735217333, 0.01648864336311817, -0.03365733474493027, -0.025420619174838066, 0.04367910698056221, 0.008083739317953587, -0.03591645136475563, -0.03796845301985741, -0.003483087057247758, 0.02669603005051613, 0.008601275272667408, 0.005467930343002081, -0.01016799733042717, 0.03959622606635094, 0.01460244506597519, -0.029378730803728104, 0.006161731667816639, 0.023283449932932854, 0.030547654256224632, 0.030034586787223816, -0.05238858237862587, 0.020623058080673218, 0.025539986789226532, -0.0421518050134182, 0.05666637793183327, 0.023630429059267044, -0.008334118872880936, 0.028209837153553963, 0.022202465683221817, 0.008283384144306183, 0.007368616759777069, -0.009659729897975922, -0.031204478815197945, 0.0018882467411458492, -0.0059739756397902966, 0.0029655671678483486, 0.0066434764303267, 0.06641728430986404, -0.009404775686562061, 0.022901033982634544, -0.0851016640663147, 0.008744440041482449, -0.019227154552936554, 0.03287658840417862, 0.02599266543984413, 0.0330190546810627, 0.006339960265904665, -0.02833607792854309, 0.07349205762147903, 0.024226626381278038, 0.010755886323750019, 0.03362024202942848, 0.0044053588062524796, 0.006703892257064581, -0.012103063985705376, 0.013593769632279873, -0.037892553955316544, -0.01657971926033497, -0.05161845684051514, 0.014673260040581226, 0.005651459563523531, 0.08532115817070007, 0.012026844546198845, 0.03877362608909607, -0.02761778049170971, -0.011956878006458282, -0.0439017079770565, -0.003782155690714717, -0.017940185964107513, 0.012515765614807606, 0.03881571441888809, 0.02560972422361374, -0.016235072165727615, -0.017639201134443283, -0.042632393538951874, -0.00017815278260968626, -0.02671786956489086, -0.0019233734346926212, 0.04042555391788483, -0.0066027347929775715, -0.014707505702972412, -0.06280572712421417, -0.020782826468348503, -0.01454678550362587, -0.002550776582211256, 0.019106561318039894, -0.022879889234900475, -0.019071605056524277, -0.0723530501127243, 0.006721976678818464, 0.027109265327453613, -0.016570141538977623, 0.034050196409225464, -0.012005656026303768, -0.055065806955099106, 0.007426184602081776, -0.04875274747610092, -0.044855933636426926, -0.023481542244553566, 0.04428794980049133, -0.012070697732269764, 0.026837415993213654, -0.018890192732214928, 0.010478110983967781, -0.0367717370390892, 0.040159180760383606, 0.01623995415866375, -0.05489899963140488, -0.08874768763780594, -0.05264677852392197, 0.014119612984359264, -0.009215491823852062, -0.050566546618938446, -0.005034058354794979, -0.014415396377444267, -0.0059206848964095116, 0.00128854566719383, -0.0006106505752541125, 0.011477978900074959, 0.005700204521417618, 0.01517291460186243, 0.02775784581899643, -0.002600463107228279, 0.019078819081187248, 0.013028961606323719, -0.009074199944734573, 0.011706332676112652, -0.054559167474508286 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
# Happy 1st anniversary 🤗 Diffusers! 🤗 Diffusers is happy to celebrate its first anniversary! It has been an exciting year, and we're proud and grateful for how far we've come thanks to our community and open-source contributors. Last year, text-to-image models like DALL-E 2, Imagen, and Stable Diffusion captured the world's attention with their ability to generate stunningly photorealistic images from text, sparking a massive surge of interest and development in generative AI. But access to these powerful models was limited. At Hugging Face, our mission is to democratize good machine learning by collaborating and helping each other build an open and ethical AI future together. Our mission motivated us to create the 🤗 Diffusers library so everyone can experiment, research, or simply play with text-to-image models. That’s why we designed the library as a modular toolbox, so you can customize a diffusion model’s components or just start using it out-of-the-box. As 🤗 Diffusers turns 1, here’s an overview of some of the most notable features we’ve added to the library with the help of our community. We are proud and immensely grateful for being part of an engaged community that promotes accessible usage, pushes diffusion models beyond just text-to-image generation, and is an all-around inspiration. Table of Contents * Striving for photorealism * Video pipelines * Text-to-3D models * Image editing pipelines * Faster diffusion models * Ethics and safety * Support for LoRA * Torch 2.0 optimizations * Community highlights * Building products with 🤗 Diffusers * Looking forward
[ 0.0047456044703722, -0.048465412110090256, 0.018113363534212112, -0.05654899775981903, 0.027697423473000526, 0.00983401108533144, -0.029924506321549416, -0.00033884154981933534, -0.03453059867024422, -0.06090434268116951, -0.03931751102209091, 0.0053215292282402515, 0.030798573046922684, 0.0707007423043251, -0.04240231215953827, -0.029408220201730728, -0.024677131325006485, 0.03884148970246315, -0.02365119569003582, 0.06438922882080078, -0.007410182151943445, -0.024501437321305275, 0.03864148259162903, -0.06304223090410233, -0.039419226348400116, -0.0498272180557251, 0.0371224470436573, 0.018070749938488007, 0.03426484018564224, 0.05618275701999664, -0.07452428340911865, 0.05321675166487694, 0.02195245586335659, -0.047358401119709015, 0.024714529514312744, 0.004667712841182947, -0.09556294977664948, -0.0025365115143358707, 0.027796169742941856, 0.051779258996248245, 0.019150907173752785, -0.015283206477761269, -0.08487632870674133, -0.011829658411443233, 0.004262481816112995, -0.09160347282886505, -0.14312486350536346, 0.02314283698797226, -0.020514018833637238, 0.01021848525851965, -0.11043629050254822, 0.044988490641117096, -0.035204239189624786, -0.038577400147914886, -0.003984373528510332, 0.03077837824821472, 0.037020470947027206, -0.04610423371195793, -0.00020191942167002708, -0.01966039091348648, 0.036382872611284256, -0.0350981205701828, 0.07059077173471451, 0.024513186886906624, 0.045542288571596146, 0.030811358243227005, -0.025714093819260597, 0.007326887920498848, -0.03531219810247421, -0.009014969691634178, 0.11030744016170502, -0.00482690054923296, -0.028554219752550125, -0.07049567997455597, 0.01603095233440399, 0.018204588443040848, 0.0009176371386274695, -0.011163760907948017, 0.04659675806760788, 0.007340326439589262, 0.007115510292351246, -0.03492039814591408, 0.10846582800149918, -0.0024548019282519817, 0.053446799516677856, 0.048668473958969116, 0.028219901025295258, -0.07479006052017212, -0.057608913630247116, -0.030630389228463173, -0.07296115159988403, -0.09568049758672714, 0.010346155613660812, 0.018236253410577774, 0.0730719268321991, 0.028953799977898598, -0.09098274260759354, -0.04153770953416824, 0.0204614270478487, -0.014023683033883572, -0.010709998197853565, 0.008211284875869751, 0.00446606008335948, -0.09833791851997375, -0.07827308028936386, 0.034624069929122925, -0.07303027808666229, -0.02824423648416996, 0.018107231706380844, -0.003942002076655626, 0.024248339235782623, -0.010926502756774426, 0.009782575070858002, 0.036774151027202606, -0.11164232343435287, 0.05509500578045845, 0.013777823187410831, 0.006192771252244711, 0.053237561136484146, 0.017510607838630676, -0.003058110363781452, 0.02183975651860237, 0.05092309042811394, -0.002454119035974145, -0.010602726601064205, 0.12051451951265335, 0.02725246734917164, 0.04162526875734329, -0.029497850686311722, -0.038104571402072906, 0.005264203995466232, -0.03307979181408882, 0.0587686225771904, -0.10002420097589493, 0.048212870955467224, -0.1194150298833847, 0.031070103868842125, -0.060757383704185486, 0.08840213716030121, 0.010458116419613361, -0.02891981229186058, 0.028768964111804962, -0.0017395238392055035, 0.006295037921518087, 0.023823129013180733, -0.02060532197356224, -0.013842791318893433, 0.010641848668456078, -0.01432741992175579, 0.013586427085101604, -0.0329841673374176, 0.031799767166376114, 0.006299233995378017, -0.08304516971111298, -0.021085983142256737, 0.05194472521543503, -0.04489072784781456, 0.011706504970788956, 0.013231051154434681, 0.010826087556779385, -0.07322554290294647, -0.07576572895050049, -0.07037349790334702, -0.02784629352390766, 0.02765481546521187, -0.054358046501874924, -0.008900629356503487, 0.09920094162225723, 0.01405869796872139, -0.0032761802431195974, 0.046803493052721024, -0.017681926488876343, -0.019809892401099205, -0.040817778557538986, -0.014403658919036388, 0.059960443526506424, 0.057117246091365814, 0.03476608544588089, 0.0318555049598217, -0.006519842427223921, -0.02251756563782692, 0.0680621936917305, 0.02182065136730671, 0.04328582063317299, 0.08759118616580963, -0.0659375861287117, -0.019366823136806488, -0.021343177184462547, 0.03484064340591431, 0.08796075731515884, -0.033645328134298325, 0.009232562966644764, 0.0586303249001503, -0.010828601196408272, 0.01248568668961525, -0.03477887809276581, -0.024480491876602173, 0.03507404401898384, 0.03993554040789604, 0.026662753894925117, 0.07348080724477768, -0.036605771631002426, 0.04810968413949013, -0.07687220722436905, -0.01622149720788002, -0.020836390554904938, 0.06849458813667297, 0.007007327396422625, -0.006576396990567446, 0.007867768406867981, -0.0019458610331639647, -0.0694957971572876, 0.032728951424360275, 0.07100093364715576, 0.07618836313486099, -0.07152153551578522, 0.03601403906941414, 0.013998525217175484, 0.0032301663886755705, 0.018800782039761543, 0.15041305124759674, -0.014338846318423748, 0.005747016053646803, -0.023019112646579742, 0.009027453139424324, 0.07382215559482574, 0.15422748029232025, 0.008071660064160824, 0.1013420820236206, -0.047284387052059174, -0.06815861910581589, -0.07379796355962753, -0.06700381636619568, -0.0010118320351466537, -0.020525259897112846, 0.0036636923905462027, 0.04545144736766815, -0.02267390675842762, -0.0026088112499564886, -0.012028360739350319, 0.06618931889533997, -0.004396933130919933, 0.027001146227121353, 0.04904663935303688, -0.027234189212322235, -0.023925382643938065, 0.07793492078781128, 0.03778303787112236, -0.010165003128349781, 0.028692593798041344, -0.049757592380046844, 0.04195665195584297, -0.0218346044421196, 0.04767975956201553, 0.07874219864606857, 0.044026944786310196, -0.014534401707351208, 0.014559988863766193, -0.008636919781565666, 0.03651681914925575, -0.014682671055197716, -0.04051678255200386, 0.00016756686090957373, -0.012078928761184216, -0.0327753946185112, -0.005647449754178524, 0.001403612899594009, -0.0010978172067552805, -0.00567225506529212, 0.007634034380316734, 0.06319548934698105, 0.008042646571993828, 0.02973073720932007, 0.003956798929721117, -0.0006171549903228879, 0.0005237730802036822, 0.04520663246512413, 0.006213045213371515, -0.007179874461144209, -0.05517229437828064, 0.016310954466462135, 0.0045136925764381886, 0.017344675958156586, -0.007504401728510857, 0.022592715919017792, 0.026406913995742798, 0.000464755721623078, -0.015221568755805492, -0.05207894742488861, 0.010050502605736256, 0.028458580374717712, 0.01137951947748661, 0.03323578089475632, -0.017678797245025635, 0.010188337415456772, 0.02634054608643055, -0.019827639684081078, -0.0008371162111870944, -0.04151077941060066, 0.04942990839481354, 0.016866663470864296, -0.04413074254989624, -0.012751546688377857, 0.026487139984965324, -0.025147544220089912, 0.036923639476299286, 0.00376501795835793, 0.00352626945823431, -0.09339246898889542, -0.03930405527353287, -0.010808314196765423, 0.0510871522128582, 0.0002039209648501128, -0.020286791026592255, 0.04454668611288071, -0.058685917407274246, 0.01706765778362751, 0.014506888575851917, 0.03664331138134003, 0.04629840701818466, -0.032965485006570816, 0.03696455806493759, 0.002951679052785039, -0.0647367462515831, -0.022479306906461716, -0.010132926516234875, 0.003988036885857582, 0.01753367856144905, -0.03756745159626007, 0.03900707885622978, -0.007408495061099529, -0.0062457057647407055, -0.003096948843449354, -0.023160750046372414, 0.0654243752360344, -0.01691276580095291, 0.014407702721655369, -0.03884829208254814, -0.01632734388113022, 0.04001162201166153, -0.025349168106913567, -0.007691540289670229, -0.08034852147102356, 0.025291431695222855, -0.011763857677578926, -0.02131054177880287, 0.062300559133291245, -0.0069911605678498745, 0.010796403512358665, -0.0039306702092289925, -0.004555226303637028, 0.04043396934866905, 0.021140627562999725, 0.010202644392848015, 0.001759291160851717, 0.03032751940190792, 0.041579701006412506, -0.04332578182220459, -0.0030125179328024387, 0.012956165708601475, 0.03598000109195709, 0.006442670244723558, -0.0009526403737254441, 0.01736532337963581, -0.013784963637590408, 0.007401780225336552, 0.014599084854125977, -0.020669585093855858, -0.028461413457989693, 0.017590444535017014, -0.011748245917260647, -0.008062279783189297, -0.008424359373748302, 0.04420541971921921, 0.0027361686807125807, -0.02912566065788269, -0.029755357652902603, 0.043693944811820984, -0.01213492825627327, -0.003625948913395405, -0.04911712184548378, 0.0003161268832627684, -0.036618422716856, 0.018742283806204796, 0.018023764714598656, -0.004473873879760504, 0.0475078746676445, 0.01877417042851448, -0.01265103928744793, -0.06093950942158699, 0.022442780435085297, -0.009286001324653625, 0.005911848973482847, -0.004226570948958397, 0.0485675148665905, -0.017616918310523033, 0.054072871804237366, -0.00680696964263916, -0.006231538951396942, -0.025835707783699036, 0.004972499795258045, -0.024849098175764084, 0.010515814647078514, -0.008847762830555439, -0.015767138451337814, 0.040998220443725586, 0.00022008101223036647, 0.015481449663639069, 0.01128308568149805, -0.05306129530072212, -0.018303794786334038, 0.018832577392458916, -0.04113214835524559, 0.01603475771844387, -0.04028123989701271, -0.0478627011179924, 0.038207218050956726, 0.005783862434327602, 0.0010097103659063578, 0.014007565565407276, 0.03369034081697464, -0.005322067532688379, 0.028880134224891663, 0.0023662159219384193, -0.025347832590341568, 0.013535457663238049, -0.05082162842154503, -0.010444325394928455, -0.007516168989241123, -0.010546737350523472, 0.007549467030912638, -0.0071160318329930305, 0.051148444414138794, 0.030097145587205887, 0.019782500341534615, -0.007687030825763941, -0.01341104693710804, 0.01958089880645275, -0.04911413788795471, -0.03000541962683201, -0.019679181277751923, -0.0020072173792868853, -0.022644370794296265, -0.022585352882742882, -0.02113911882042885, 0.007597725838422775, -0.042868517339229584, 0.007628441322594881, -0.04144075885415077, -0.011494055390357971, 0.047275569289922714, -0.022766543552279472, -0.0072025759145617485, 0.008652652613818645, -0.03430263325572014, 0.012549666687846184, -0.007208816707134247, -0.0038150025065988302, 0.01481587067246437, -0.03895376995205879, -0.05464055389165878, 0.025413626804947853, 0.0027805552817881107, -0.0027319297660142183, -0.025790909305214882, 0.03520993888378143, -0.019399460405111313, 0.010185804218053818, 0.01780027523636818, 0.07832971960306168, -0.018418405205011368, 0.06751532107591629, -0.048054520040750504, 0.0031681195832788944, 0.004674185533076525, -0.02647961489856243, 0.019247330725193024, -0.0033846385776996613, 0.01568553037941456, 0.03699638321995735, 0.012986783869564533, 0.00027982069877907634, 0.024968260899186134, 0.029704825952649117, 0.04060288891196251, 0.04656140133738518, -0.01551142893731594, 0.02177422307431698, -0.004738138522952795, 0.01563078537583351, 0.03510025516152382, -0.012050289660692215, 0.05555413290858269, 0.04258007928729057, 0.01714523695409298, 0.062213052064180374, 0.03518006578087807, -0.018751604482531548, -0.008732341229915619, -0.046700168401002884, 0.011464552022516727, -0.03618736192584038, -0.005265339277684689, -0.023614289239048958, -0.005456917453557253, 0.028324346989393234, -0.018205922096967697, -0.00402520876377821, 0.0031527664978057146, 0.022035609930753708, -0.03429592028260231, -0.02065614052116871, 0.01239436212927103, -0.02795381098985672, 0.05244115740060806, 0.013074086979031563, 0.01944422721862793, -0.0279012992978096, 0.013947507366538048, -0.01419370248913765, 0.011092458851635456, -0.07011678814888, -0.0035807224921882153, 0.026600690558552742, -0.016917478293180466, -0.014560925774276257, -0.020363280549645424, -0.0025050598196685314, -0.008270819671452045, -0.010350355878472328, -0.03048621118068695, -0.021676305681467056, 0.054968688637018204, -0.02270657941699028, -0.01913260668516159, 0.054330047219991684, -0.004636052995920181, -0.0028591323643922806, 0.0065351747907698154, 0.029728300869464874, 0.05217311158776283, 0.009136821143329144, -0.01762409321963787, 0.016716500744223595, -0.033209651708602905, 0.07172401249408722, 0.038681186735630035, 0.014337851665914059, -0.017892280593514442, 0.0016384943155571818, -0.0010781193850561976, 0.004868903663009405, -0.07162503153085709, 0.048458825796842575, 0.02307564951479435, 0.0024169760290533304, -0.020323866978287697, -0.019712671637535095, 0.01369177270680666, 0.015341931954026222, -0.032339997589588165, 0.0055504292249679565, 0.0361001119017601, 0.024567121639847755, 0.003401193069294095, -0.012875674292445183, -0.029268842190504074, -0.0096588134765625, 0.0038959153462201357, -0.05992066115140915, 0.015442540869116783, -0.04021251201629639, 0.01272480096668005, 0.028643133118748665, 0.0332474410533905, -0.013112515211105347, -0.0032453828025609255, 0.03149711340665817, 0.023371368646621704, 0.0034676226787269115, -0.005352106411010027, 0.019347701221704483, -0.04161573946475983, -0.0025986693799495697, 0.03693169727921486, 0.022536832839250565, -0.008260284550487995, 0.003351341001689434, 0.028298882767558098, 0.022619381546974182, 0.06651630252599716, -0.011206256225705147, 0.03940980136394501, -0.00030047158361412585, 0.03716554865241051, -0.02289162389934063, 0.007462233304977417, -0.0036754347383975983, -0.04668828472495079, -0.03468211367726326, -0.03237927332520485, -0.012907427735626698, 0.009051757864654064, 0.007231703028082848, -0.004617139231413603, -0.012668373063206673, -0.008850240148603916, 0.00485036987811327, 0.0609419122338295, 0.03029036521911621, 0.07470358908176422, 0.023549946025013924, -0.018890321254730225, 0.04399403929710388, 0.04832415655255318, -0.0021383597049862146, 0.031880173832178116, 0.03543579950928688, -0.004147684667259455, 0.027730289846658707, 0.0218011736869812, -0.0020743177738040686, -0.009756403975188732, -0.029382850974798203, -0.008972701616585255, -0.011288034729659557, 0.013690498657524586, -0.033410828560590744, -0.018254905939102173, -0.0009864182211458683, -0.045098818838596344, 0.025256706401705742, -0.03614743426442146, 0.010979995131492615, 0.02008643187582493, 0.05160528048872948, 0.023438481613993645, 0.004049364011734724, 0.011752743273973465, 0.018157262355089188, -0.011703922413289547, 0.02289160154759884, -0.007327382452785969, -0.023711131885647774, 0.0480424165725708, 0.017059028148651123, -0.022576935589313507, -0.02330322004854679, -0.012183759361505508, 0.028978515416383743, -0.004046752583235502, -0.005991144571453333, 0.015291367657482624, -0.027397213503718376, -0.01515367440879345, 0.04999416321516037, 0.011329485103487968, 0.002116808667778969, 0.007492095697671175, 0.007590242195874453, -0.03110565058887005, -0.028807638213038445, -0.004459568299353123, -0.019105615094304085, -0.020341740921139717, -0.04551982879638672, -0.026403117924928665, -0.011624754406511784, 0.011366970837116241, 0.021250249817967415, 0.033030278980731964, -0.010809500701725483, -0.025571348145604134, -0.012591250240802765, -0.02372167631983757, 0.03467421606183052, -0.0068990690633654594, 0.01217708457261324, -0.008159341290593147, 0.017804479226469994, -0.0263090617954731, 0.03805521875619888, -0.011614811606705189, 0.010583191178739071, 0.020454041659832, -0.00121890043374151, -0.014469210989773273, 0.01570061221718788, 0.0275074802339077, 0.03289924934506416, 0.010004582814872265, 0.026354242116212845, -0.0069546387530863285, -0.04043767973780632, -0.04929862171411514, 0.04363561049103737, -0.011272958479821682, 0.00652361148968339, -0.0030064070597290993, -0.010352503508329391, 0.0015812111087143421, -0.01067032665014267, 0.018721522763371468, 0.04863423481583595, -0.019764991477131844, -0.0162441935390234, -0.062995545566082, -0.048041827976703644, -0.0020524656865745783, -0.00037534290459007025, 0.041873082518577576, -0.0038945155683904886, -0.02230779640376568, -0.03269428387284279, -0.041371170431375504, 0.0033518183045089245, 0.008231338113546371, 0.03124721348285675, 0.032278236001729965, -0.015359766781330109, -0.03275907784700394, -0.034327324479818344, -0.048968855291604996, -0.02874102257192135, -0.058397501707077026, 0.020503200590610504, 0.010239404626190662, 0.020548317581415176, -0.04223667457699776, 0.008093255572021008, 0.034393806010484695, -0.03978914022445679, 0.01746358349919319, -0.036231618374586105, 0.0031038960441946983, 0.008585559204220772, 0.032963719218969345, -0.05647676810622215, 0.02984938770532608, -0.0031904461793601513, -0.020021667703986168, 0.01243357639759779, -0.04025112837553024, 0.04688533395528793, -0.014271793887019157, 0.010339891538023949, -0.000698721210937947, 0.024927206337451935, -0.025831205770373344, -0.044339537620544434, 0.004137891344726086, 0.01151057705283165, -0.010938611812889576, -0.038006491959095, 0.0041219196282327175, 0.014108899049460888, -0.015165175311267376, -0.008984272368252277, 0.017679234966635704, -0.014279293827712536, -0.0034595553297549486, 0.002122958656400442, -0.004304002039134502, 0.048510827124118805, 0.01890530064702034, -0.05648449435830116, -0.016313012689352036, -0.0225654449313879 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
Faster diffusion models Diffusion models are known to be time-intensive because of their iterative steps. With OpenAI’s Consistency Models, the image generation process is significantly faster. Generating a single 256x256 resolution image only takes 3/4 of a second on a modern CPU! You can try this out in 🤗 Diffusers with the ConsistencyModelPipeline. On top of speedier diffusion models, we also offer many optimization techniques for faster inference like PyTorch 2.0’s scaled_dot_product_attention() (SDPA) and torch.compile(), sliced attention, feed-forward chunking, VAE tiling, CPU and model offloading, and more. These optimizations save memory, which translates to faster generation, and allow you to run inference on consumer GPUs. When you distribute a model with 🤗 Diffusers, all of these optimizations are immediately supported! In addition to that, we also support specific hardware and formats like ONNX, the mps PyTorch device for Apple Silicon computers, Core ML, and others. To learn more about how we optimize inference with 🤗 Diffusers, check out the docs!
[ 0.04151325300335884, -0.00813713762909174, 0.0028593402821570635, 0.035567257553339005, 0.006849600933492184, 0.05226824805140495, -0.04736902192234993, 0.047061968594789505, 0.017579466104507446, -0.07708107680082321, 0.020854458212852478, -0.03774354234337807, -0.026128606870770454, 0.07356072217226028, 0.001687195966951549, -0.058383602648973465, 0.04819565638899803, 0.01347389630973339, -0.0032832794822752476, 0.00912892073392868, -0.022770332172513008, -0.05698399245738983, 0.049596820026636124, -0.08692675828933716, -0.07243096083402634, -0.06454042345285416, -0.014957623556256294, -0.006882605142891407, 0.008020889945328236, -0.03405775502324104, -0.12468785047531128, -0.018520953133702278, 0.03019590489566326, -0.025427035987377167, 0.015472925268113613, -0.05526471138000488, -0.0957091823220253, 0.025144992396235466, 0.04054446518421173, -0.003003612859174609, 0.04373493045568466, 0.034677259624004364, -0.07296379655599594, 0.04732275381684303, 0.02555527351796627, -0.021191898733377457, -0.08835535496473312, 0.019946368411183357, -0.032068848609924316, -0.01703163981437683, -0.12469285726547241, 0.004226868972182274, -0.10096755623817444, 0.015459937043488026, -0.010005473159253597, 0.08502654731273651, 0.033095814287662506, -0.03049883060157299, 0.030343597754836082, 0.002444095443934202, 0.01117709744721651, -0.008617539890110493, 0.010735859163105488, 0.038975831121206284, 0.017046218737959862, 0.015463405288755894, -0.022073764353990555, -0.036448247730731964, 0.018211115151643753, -0.026415446773171425, 0.0377376526594162, -0.0531451590359211, 0.011808046139776707, -0.03114323504269123, 0.007733204867690802, 0.028818991035223007, -0.0005741025670431554, 0.033514659851789474, 0.06085784733295441, 0.013912969268858433, 0.018332110717892647, 0.003700005356222391, 0.04934260621666908, 0.021421100944280624, 0.022587737068533897, 0.04022352769970894, 0.007927078753709793, -0.034556642174720764, -0.035782914608716965, -0.02449231967329979, 0.004322613589465618, -0.04651802033185959, 0.019778694957494736, -0.007073552813380957, 0.028179405257105827, 0.046806782484054565, -0.02606336958706379, 0.009008120745420456, 0.0008604071335867047, -0.009577343240380287, 0.014063729904592037, -0.06547095626592636, 0.03303247690200806, -0.023821765556931496, -0.05048389732837677, 0.039657894521951675, -0.07652255147695541, -0.05203486233949661, -0.06791728734970093, 0.053388871252536774, -0.03690466657280922, 0.05840776115655899, -0.07731417566537857, 0.0059883566573262215, -0.10982441157102585, -0.025742607191205025, -0.02617243118584156, 0.006473480258136988, -0.016470003873109818, 0.08552756905555725, 0.0005271286354400218, 0.11371714621782303, 0.09047988057136536, -0.020827477797865868, -0.011944322846829891, 0.07662085443735123, 0.06153882294893265, 0.041956253349781036, -0.0117369145154953, -0.013167456723749638, 0.004009989555925131, -0.06271892786026001, 0.06670296937227249, -0.04597768187522888, 0.07226419448852539, -0.10724522918462753, -0.018804417923092842, -0.03565118461847305, 0.012433316558599472, 0.04087989777326584, -0.02999917045235634, 0.02819293737411499, 0.07992162555456161, 0.01678033545613289, 0.06229148432612419, -0.04101075604557991, -0.07087861746549606, -0.023001523688435555, -0.0141255222260952, -0.030797215178608894, -0.11902176588773727, 0.09004006534814835, -0.051537640392780304, -0.0716259628534317, -0.039062704890966415, 0.0766926184296608, -0.028028320521116257, -0.05784081667661667, -0.021730223670601845, -0.049846868962049484, -0.037158310413360596, -0.049165863543748856, 0.06570322066545486, -0.011124594137072563, 0.04623297229409218, -0.02207217365503311, 0.06143510714173317, 0.07404089719057083, 0.05679871514439583, -0.009564712643623352, 0.037771131843328476, 0.03373979404568672, 0.06817323714494705, -0.03980472683906555, 0.04138514772057533, 0.05821121856570244, 0.018025647848844528, 0.08652897924184799, 0.04989795759320259, -0.0496060810983181, -0.05591920390725136, 0.0250855702906847, -0.042787037789821625, 0.05677221342921257, 0.05491815507411957, -0.10295505821704865, 0.026762880384922028, -0.024255646392703056, -0.009758789092302322, 0.016167545691132545, -0.0028693699277937412, 0.003211766481399536, 0.09429314732551575, -0.04440727084875107, 0.02343153767287731, -0.04442143440246582, -0.05720698833465576, 0.06098204106092453, 0.06027445197105408, 0.08228893578052521, -0.021323930472135544, -0.03161005303263664, 0.008701993152499199, -0.028242597356438637, -0.06593181192874908, -0.02561636082828045, -0.0014961949782446027, -0.03283246234059334, -0.0026874884497374296, 0.02997601218521595, -0.027495885267853737, -0.15252697467803955, 0.0222525205463171, -0.03506267070770264, -0.006439398508518934, 0.0018310511950403452, 0.005242072511464357, -0.003877757117152214, 0.011355058290064335, -0.02274198643863201, 0.14475539326667786, -0.05757470801472664, 0.009208766743540764, 0.007792942691594362, 0.04312665015459061, 0.027289027348160744, 0.0602978952229023, 0.0005007234285585582, 0.034362778067588806, -0.03558375686407089, -0.03987478092312813, -0.08620882779359818, 0.0011882383842021227, 0.0164415892213583, 0.049173641949892044, -0.004375760909169912, 0.003057155990973115, 0.022980062291026115, 0.04749203845858574, -0.08368244767189026, 0.055555883795022964, 0.02965494804084301, 0.0005919795949012041, -0.010411392897367477, 0.05266696214675903, -0.012466410174965858, 0.033439215272665024, 0.05083061754703522, 0.019825056195259094, 0.029973261058330536, -0.05467676371335983, 0.015014740638434887, -0.008900661952793598, -0.08111105859279633, 0.03254755213856697, 0.005872446112334728, 0.021983731538057327, -0.01213372964411974, -0.008572161197662354, 0.021424591541290283, -0.03547072038054466, 0.019080989062786102, -0.005170004442334175, 0.0006557153537869453, -0.0069993650540709496, -0.05998437479138374, -0.01728922501206398, 0.0007259357953444123, 0.03292156755924225, 0.008996402844786644, 0.02986016497015953, 0.004869257565587759, -0.013160900212824345, -0.028664885088801384, -0.018469056114554405, 0.00048055892693810165, 0.04250548034906387, -0.030400969088077545, 0.005957551300525665, -0.0284285768866539, -0.025594094768166542, 0.011682059615850449, 0.022618424147367477, 0.05208456143736839, 0.014103421010077, 0.0008964766748249531, 0.04815079644322395, -0.05001417174935341, -0.0677119791507721, 0.030919846147298813, 0.009628407657146454, -0.01516805961728096, 0.0037038512527942657, -0.022096697241067886, 0.00016253411013167351, 0.007000698242336512, -0.027563247829675674, -0.026213807985186577, -0.00965017918497324, -0.02312791533768177, 0.0031075063161551952, -0.049136560410261154, 0.00032948158332146704, 0.005233312491327524, -0.018688110634684563, 0.019091937690973282, -0.03005841188132763, 0.028894435614347458, -0.09142701327800751, 0.001757869846187532, -0.01649322174489498, 0.011188846081495285, -0.000055508731747977436, -0.04880470409989357, 0.015011250972747803, -0.01369998138397932, 0.009281741455197334, 0.013409536331892014, 0.0029163185972720385, 0.036523278802633286, -0.016873205080628395, 0.015000308863818645, -0.0042499881237745285, 0.006087670102715492, 0.014016237109899521, 0.005963551811873913, -0.0011668454390019178, 0.02122226543724537, -0.026884794235229492, 0.03316861391067505, -0.02918914146721363, 0.012498179450631142, -0.008556308224797249, -0.0026289774104952812, 0.041315630078315735, -0.008631833828985691, 0.0072938124649226665, -0.011611487716436386, -0.03897136449813843, -0.03559555113315582, 0.023351969197392464, 0.0018871468491852283, -0.06352058053016663, 0.050128791481256485, -0.005766121204942465, 0.0372571237385273, 0.042404863983392715, 0.019556619226932526, 0.017291344702243805, -0.010624416172504425, 0.006493809167295694, -0.00513876136392355, 0.009390907362103462, -0.013626258820295334, 0.010997450910508633, 0.00904121808707714, 0.038129162043333054, -0.04253901168704033, 0.009947520680725574, 0.008113028481602669, 0.0477231964468956, 0.044200457632541656, 0.04524645581841469, 0.04793248698115349, -0.005812052171677351, 0.02818995900452137, 0.04856279492378235, -0.007267156150192022, -0.05416980758309364, 0.04476969316601753, 0.0289043877273798, -0.00148967863060534, -0.0687631368637085, 0.021896617487072945, 0.03324030712246895, -0.006477236282080412, -0.022801144048571587, 0.04696639999747276, -0.009544226340949535, 0.033239297568798065, -0.01373210083693266, 0.011161211878061295, -0.0223795585334301, 0.019830912351608276, -0.0024981116876006126, 0.01042091567069292, 0.028545338660478592, 0.04039473459124565, -0.017296316102147102, -0.060288045555353165, 0.0006279508234001696, -0.001571041182614863, 0.03633606433868408, 0.013100726529955864, 0.005710151512175798, -0.015017521567642689, 0.02815093658864498, 0.010019663721323013, -0.027248090133070946, -0.012427161447703838, 0.03520352020859718, -0.03398539125919342, 0.03375033661723137, -0.017995744943618774, 0.0545966774225235, 0.039323121309280396, 0.019788453355431557, 0.017650410532951355, -0.00012779141252394766, -0.010287082754075527, -0.047014929354190826, 0.0009830922354012728, -0.02797636017203331, 0.00205648853443563, -0.014759543351829052, 0.03331778198480606, -0.005991952959448099, 0.008999856188893318, -0.004009681288152933, 0.004252065438777208, 0.04075783118605614, 0.012469008564949036, 0.0346311554312706, 0.015116071328520775, -0.030785096809267998, -0.02211049199104309, -0.032294899225234985, 0.017445841804146767, -0.04717138782143593, 0.016607144847512245, -0.005725625436753035, 0.0002626765926834196, 0.048463862389326096, 0.04442478343844414, -0.019283270463347435, 0.014522120356559753, 0.006065677851438522, -0.0004772098327521235, -0.003367688972502947, 0.01352493092417717, 0.01764174923300743, 0.024330036714673042, 0.01505550742149353, -0.02090177871286869, -0.013389135710895061, 0.012307008728384972, -0.04341626167297363, -0.008660614490509033, -0.027738673612475395, 0.015736056491732597, 0.03920619562268257, -0.015421136282384396, -0.002513604937121272, 0.029591962695121765, -0.008763905614614487, -0.006775886286050081, -0.04642360284924507, 0.026563234627246857, 0.037426337599754333, -0.018061336129903793, -0.06426449120044708, 0.015291430056095123, 0.06947100162506104, 0.009931928478181362, -0.043202657252550125, -0.0443720705807209, 0.03225351497530937, 0.03171064332127571, 0.008134727366268635, 0.013955776579678059, -0.04191235825419426, 0.03951021656394005, 0.00492114806547761, -0.0040983716025948524, 0.010379188694059849, -0.0430215559899807, 0.009096916764974594, 0.02160009555518627, 0.016676275059580803, 0.01810315065085888, 0.0014321518829092383, 0.0115710673853755, 0.05140084773302078, 0.02618423104286194, 0.06607785820960999, 0.027428841218352318, -0.01705094240605831, 0.01720464788377285, -0.010825125500559807, -0.009595237672328949, 0.04294620826840401, -0.011212636716663837, -0.008050371892750263, 0.041689854115247726, 0.040074024349451065, 0.04916504770517349, 0.04217918962240219, -0.020536277443170547, -0.013354229740798473, 0.02266170084476471, -0.028917981311678886, -0.009897129610180855, 0.03968936949968338, 0.0009983727941289544, -0.023962821811437607, 0.01517996285110712, -0.002437171060591936, 0.024705341085791588, 0.027151191607117653, 0.02178301103413105, -0.03603491932153702, -0.041125427931547165, -0.008664471097290516, 0.007440237794071436, 0.009874440729618073, -0.01598595269024372, 0.018049877136945724, -0.020606160163879395, 0.021976595744490623, -0.055154021829366684, -0.022125642746686935, -0.022206399589776993, -0.026990696787834167, 0.009500330314040184, -0.013383098877966404, 0.05232491344213486, 0.0009075383422896266, 0.019350996240973473, -0.017139839008450508, -0.019213134422898293, -0.023640520870685577, -0.024791907519102097, -0.008697399869561195, -0.034969016909599304, 0.0005313669098541141, 0.014893056824803352, -0.04916534945368767, 0.013138064183294773, 0.014382172375917435, -0.005013684276491404, -0.024566534906625748, 0.06157805770635605, 0.03615835681557655, 0.005286728031933308, -0.020351042971014977, 0.039467643946409225, 0.023923037573695183, 0.027164198458194733, -0.04787127301096916, -0.02080455981194973, -0.05528046563267708, 0.00929642841219902, -0.03477680683135986, 0.0366143137216568, -0.006563787814229727, -0.057909104973077774, -0.01804196834564209, -0.009275472722947598, 0.003251835238188505, -0.028093745931982994, 0.01415477879345417, -0.012623856775462627, 0.013786781579256058, 0.004851790145039558, 0.05889158695936203, -0.03600742295384407, 0.008742486126720905, 0.010568102821707726, -0.0007762245950289071, -0.02753325179219246, 0.017132991924881935, -0.016938133165240288, -0.044355519115924835, 0.020096255466341972, 0.010126429609954357, -0.07812430709600449, -0.0024777462240308523, 0.019384928047657013, 0.015233161859214306, -0.0017336778109893203, -0.01549434568732977, 0.028653152287006378, -0.049282245337963104, 0.03131822124123573, -0.0015878853155300021, 0.06466840952634811, -0.013711798004806042, 0.06305023282766342, 0.03835533186793327, 0.04772040247917175, 0.050627414137125015, -0.022262349724769592, -0.0048698559403419495, -0.017512012273073196, 0.03990358114242554, 0.001352972351014614, 0.0017602958250790834, 0.03755864128470421, 0.018810689449310303, -0.03637133166193962, -0.039127983152866364, -0.02002605050802231, -0.04189324006438255, 0.044533245265483856, 0.011742197908461094, -0.01012459211051464, -0.014778858982026577, -0.04067216441035271, 0.06148434802889824, 0.013829256407916546, 0.05924539640545845, 0.018611948937177658, 0.0006840992718935013, 0.005249509587883949, 0.02484138496220112, 0.007119576912373304, 0.007595309522002935, 0.014226148836314678, 0.02846951223909855, 0.00042405628482811153, 0.053117185831069946, 0.032726529985666275, -0.00842798501253128, 0.015072516165673733, 0.025058940052986145, -0.013921324163675308, 0.018942244350910187, -0.01830928586423397, 0.019561823457479477, -0.013930532149970531, -0.019514810293912888, 0.00174078275449574, -0.06077217310667038, 0.028748922049999237, -0.02117828279733658, 0.007911854423582554, -0.01168547198176384, -0.007222072221338749, 0.015388278290629387, -0.03019086644053459, -0.024820024147629738, -0.018766609951853752, 0.023218240588903427, -0.00892888568341732, -0.007932880893349648, 0.024717170745134354, -0.04388461634516716, -0.03611226752400398, 0.018486181274056435, 0.045712850987911224, -0.012325702235102654, 0.01579916477203369, -0.03105776570737362, 0.018769606947898865, 0.05408491566777229, -0.02054494060575962, 0.0007101588416844606, 0.030669471248984337, 0.009920760057866573, 0.04570161923766136, -0.008183334022760391, -0.0029440673533827066, 0.01621321216225624, -0.049823787063360214, 0.007644381839782, 0.007609321735799313, -0.06676296144723892, 0.011483531445264816, 0.07114189118146896, 0.010506445541977882, -0.012676146812736988, -0.018786678090691566, -0.031114215031266212, -0.006321911234408617, -0.028324488550424576, 0.015661051496863365, 0.023462673649191856, 0.043262556195259094, -0.006189414300024509, 0.03260716050863266, -0.016176480799913406, 0.002723162993788719, -0.014546729624271393, 0.006515516433864832, 0.04327568784356117, -0.008903625421226025, -0.004030612763017416, -0.014574732631444931, 0.040914297103881836, 0.013411789201200008, -0.010644903406500816, 0.05365319922566414, -0.014418455772101879, -0.012011607177555561, -0.03593023121356964, 0.047697942703962326, -0.05251263454556465, 0.03759852051734924, -0.012487784028053284, 0.007260626647621393, -0.0067867860198020935, 0.04760291054844856, -0.004558298736810684, 0.017957042902708054, -0.0042293379083275795, -0.0031934999860823154, -0.04245385527610779, 0.0007451373967342079, -0.009097611531615257, -0.031676650047302246, 0.053949128836393356, 0.029782555997371674, -0.04884931072592735, -0.014300224371254444, -0.043467868119478226, -0.046865567564964294, -0.0374634750187397, 0.05239982530474663, 0.03900548443198204, -0.028615707531571388, -0.02773354947566986, -0.01572359912097454, 0.0010218813549727201, -0.009487112052738667, -0.019335797056555748, 0.001146861701272428, -0.0031526486855000257, -0.028549347072839737, -0.055531345307826996, -0.007489763665944338, 0.02300351858139038, -0.023649852722883224, 0.05901876464486122, 0.0026646938640624285, -0.02642267383635044, 0.010422391816973686, -0.0037985011003911495, -0.02680155448615551, -0.0038777701556682587, 0.015950588509440422, -0.006953725591301918, 0.016094839200377464, -0.0054920935072004795, 0.04997037351131439, -0.011408315040171146, 0.018738867715001106, 0.04447023570537567, -0.011859781108796597, -0.033816274255514145, -0.04885110631585121, 0.02997792325913906, 0.01022223848849535, -0.03114382177591324, -0.046722207218408585, -0.01411381270736456, 0.01887568086385727, 0.012642350047826767, -0.037434015423059464, -0.0037502532359212637, -0.0019628319423645735, 0.013452192768454552, 0.01981409825384617, -0.012196306139230728, 0.02436472848057747, 0.06662807613611221, -0.008054730482399464, 0.007594969589263201, -0.013657152652740479 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
Looking forward As we celebrate our first anniversary, we're grateful to our community and open-source contributors who have helped us come so far in such a short time. We're happy to share that we'll be presenting a 🤗 Diffusers demo at ICCV 2023 this fall – if you're attending, do come and see us! We'll continue to develop and improve our library, making it easier for everyone to use. We're also excited to see what the community will create next with our tools and resources. Thank you for being a part of our journey so far, and we look forward to continuing to democratize good machine learning together! 🥳 ❤️ Diffusers team --- Acknowledgements: Thank you to Omar Sanseviero, Patrick von Platen, Giada Pistilli for their reviews, and Chunte Lee for designing the thumbnail.
[ 0.015636790543794632, -0.0510968416929245, 0.02497422695159912, -0.04636360704898834, 0.026177098974585533, -0.016116315498948097, -0.04601067677140236, -0.025582371279597282, -0.02886330708861351, -0.11077819764614105, 0.003422029549255967, -0.015269889496266842, 0.03201097622513771, 0.09851071983575821, -0.026491733267903328, 0.026064042001962662, 0.027406509965658188, 0.034426551312208176, 0.057212114334106445, 0.019562091678380966, -0.04729560390114784, -0.0040439520962536335, 0.0325075164437294, -0.042807165533304214, -0.025081420317292213, -0.02517826482653618, 0.01896854303777218, 0.0460519902408123, -0.041576411575078964, 0.013932052068412304, -0.021060533821582794, 0.0427563339471817, 0.056391749531030655, -0.06455957144498825, -0.02424607053399086, -0.016478387638926506, -0.04205649718642235, 0.0483330637216568, 0.04847109317779541, 0.06640462577342987, 0.020073970779776573, -0.039969392120838165, -0.08071495592594147, 0.017984652891755104, -0.015732483938336372, -0.07278420776128769, -0.18022429943084717, 0.024403724819421768, -0.03812745586037636, -0.003681789617985487, -0.0867215022444725, 0.013456827029585838, -0.046769995242357254, -0.024462925270199776, 0.020774753764271736, 0.0026699979789555073, 0.03912201523780823, -0.05672873929142952, 0.020881287753582, 0.0034833503887057304, 0.011123038828372955, -0.008323638699948788, 0.03818982467055321, 0.015494771301746368, 0.026829147711396217, 0.008291507139801979, 0.020699260756373405, -0.0006498832372017205, -0.005590129643678665, -0.028786739334464073, 0.07784370332956314, 0.0022163279354572296, 0.00002122290425177198, 0.013043484650552273, 0.027310609817504883, 0.06121961399912834, -0.013009346090257168, 0.03765407204627991, 0.036480966955423355, 0.04202481731772423, 0.018620474264025688, -0.03611293062567711, 0.10139857977628708, -0.002515801228582859, 0.05468462035059929, 0.044530339539051056, 0.015175876207649708, -0.054826438426971436, -0.03544064238667488, -0.04721000790596008, -0.028459200635552406, -0.12236031144857407, 0.03695831075310707, 0.036768410354852676, 0.05773887038230896, -0.06131717935204506, -0.036343518644571304, -0.04184325411915779, -0.022734107449650764, -0.0009538410813547671, -0.017697570845484734, -0.0015690760919824243, -0.011495700106024742, -0.09501830488443375, -0.03639925643801689, 0.013402974233031273, -0.06136632710695267, -0.06811876595020294, -0.002341236686334014, 0.04869675263762474, 0.05691118910908699, -0.0040442366153001785, 0.002600852632895112, 0.059574905782938004, -0.08813179284334183, 0.04221730679273605, 0.060494136065244675, -0.02463182434439659, 0.07766435295343399, -0.0038177554961293936, -0.03781522437930107, 0.04480738565325737, 0.014124816283583641, 0.03252154588699341, -0.024966208264231682, 0.056720178574323654, -0.00048703321954235435, 0.0802968218922615, 0.01591448485851288, -0.05868735909461975, -0.04469764605164528, -0.04411350563168526, 0.01582883484661579, -0.0945950523018837, -0.027782214805483818, -0.10097881406545639, -0.05373506620526314, -0.02339419350028038, 0.08180642873048782, 0.03689394146203995, -0.05819255858659744, 0.006689872592687607, 0.0249004103243351, 0.006874985992908478, 0.03282609209418297, 0.005322660319507122, -0.07913155853748322, 0.01151983067393303, -0.030392209067940712, -0.021586434915661812, -0.04311560094356537, 0.051013071089982986, -0.05453130602836609, -0.07237803936004639, -0.011325613595545292, 0.09067980945110321, -0.029801541939377785, 0.05287568271160126, -0.06918289512395859, 0.006744229234755039, -0.03882276266813278, -0.024823348969221115, -0.05268525704741478, 0.018814358860254288, 0.0035077498760074377, -0.04708288609981537, 0.04602421820163727, 0.09049294888973236, 0.023701179772615433, 0.0039716740138828754, -0.00028685302822850645, -0.005200032610446215, 0.015938572585582733, -0.03345866873860359, -0.0184906255453825, 0.0534614734351635, 0.07421112060546875, 0.047938160598278046, 0.053654491901397705, 0.012787937186658382, -0.020206691697239876, 0.05716397985816002, 0.005742356646806002, -0.009163853712379932, 0.040293022990226746, -0.01644648052752018, -0.039212290197610855, 0.0017291557742282748, 0.09643543511629105, 0.03035389631986618, -0.04440227895975113, 0.006737973541021347, 0.06177663803100586, 0.016932688653469086, -0.023339448496699333, 0.029874082654714584, -0.0018630463164299726, 0.03790276497602463, -0.0002181763993576169, 0.07051445543766022, 0.07375916838645935, 0.0241633839905262, 0.056517161428928375, -0.016584163531661034, -0.014055252075195312, 0.010684771463274956, 0.10315252095460892, -0.014765603467822075, -0.005166410934180021, 0.0008037133957259357, -0.02905031479895115, -0.08302102982997894, 0.006833413615822792, 0.01386062428355217, 0.06189890205860138, -0.0235300250351429, -0.04383399337530136, 0.0495661199092865, -0.015598085708916187, -0.019365934655070305, 0.1500452309846878, -0.02890631929039955, -0.0025458168238401413, 0.04249460622668266, 0.017997808754444122, 0.07762689143419266, 0.1707204133272171, 0.022794870659708977, 0.1340550184249878, -0.025385595858097076, -0.05817454308271408, -0.02868109568953514, -0.02745077759027481, 0.048157382756471634, -0.0461871363222599, 0.01595189794898033, -0.015045770443975925, -0.023692574352025986, -0.01104171946644783, -0.0030150741804391146, 0.040354371070861816, -0.003833927446976304, -0.014598418958485126, 0.043207306414842606, -0.008373752236366272, -0.031386055052280426, 0.10500476509332657, 0.01531605701893568, -0.036030400544404984, 0.045151278376579285, 0.025093436241149902, 0.10113551467657089, -0.005500601138919592, 0.019729342311620712, 0.039915867149829865, 0.07858056575059891, -0.006924062967300415, -0.010480500757694244, 0.025250207632780075, 0.030904006212949753, -0.006794321816414595, -0.03570916876196861, 0.009172764606773853, -0.06103908643126488, 0.025461910292506218, -0.0042294529266655445, -0.019613025709986687, -0.02640105038881302, 0.023118095472455025, -0.008838620036840439, 0.02937663160264492, 0.03304285928606987, 0.005520154256373644, 0.024847446009516716, -0.0053536780178546906, -0.018935315310955048, 0.036489441990852356, 0.007114888168871403, -0.008224377408623695, -0.0664021223783493, -0.010832349769771099, -0.029996631667017937, 0.02382192201912403, 0.005785451270639896, 0.01808308996260166, 0.018856924027204514, -0.005502086132764816, -0.00986489001661539, -0.021460246294736862, -0.027135280892252922, -0.012687123380601406, 0.007843761704862118, 0.059028275310993195, 0.009091249667108059, 0.026945972815155983, -0.0008671561372466385, -0.01045650988817215, 0.01875438168644905, -0.04323926195502281, 0.0013003996573388577, -0.020148413255810738, -0.019335711374878883, -0.003924048971384764, 0.020276928320527077, -0.025629445910453796, 0.05343586206436157, -0.0015253962483257055, 0.010139578953385353, -0.1013944000005722, -0.013064051046967506, 0.03661226108670235, 0.07457277178764343, -0.0024225811939686537, -0.0036436214577406645, 0.010844782926142216, -0.04002521559596062, 0.012983138673007488, -0.014177056960761547, 0.02701251581311226, 0.009462058544158936, -0.03571678698062897, 0.0075186737813055515, 0.009558966383337975, -0.0348660983145237, -0.017535654827952385, 0.03650835528969765, 0.03235916048288345, -0.006748927291482687, -0.023441024124622345, 0.06625174731016159, -0.005866024177521467, -0.017225021496415138, -0.02367556281387806, 0.011656094342470169, 0.07318687438964844, 0.015033147297799587, 0.007727587595582008, -0.045698609203100204, -0.03739229589700699, 0.04503585398197174, -0.06193162500858307, -0.008970147930085659, -0.09632111340761185, 0.022776983678340912, -0.03546161577105522, -0.04027564078569412, 0.056097157299518585, 0.02993384748697281, 0.027535071596503258, -0.0015190623234957457, 0.01843848079442978, 0.032074473798274994, 0.0033357569482177496, 0.028362534940242767, 0.0011392239248380065, 0.03878989815711975, 0.015263182111084461, -0.013551069423556328, -0.01900668814778328, 0.00045043465797789395, -0.0020557937677949667, 0.01915978454053402, -0.008356775157153606, 0.0005692622507922351, 0.007583193015307188, 0.011896219104528427, 0.01437110174447298, -0.014998172409832478, -0.02517635002732277, 0.004505070857703686, 0.014614759013056755, 0.008713509887456894, -0.009812317788600922, 0.04702721908688545, -0.00008615227125119418, -0.00026789476396515965, -0.03448129817843437, 0.019276432693004608, 0.04417502135038376, 0.024352744221687317, -0.0159042589366436, 0.012403395026922226, -0.012509460560977459, 0.018562251701951027, 0.03857000544667244, -0.03166241571307182, 0.04730922356247902, 0.03663491830229759, 0.004250158555805683, -0.039074499160051346, -0.008103038184344769, -0.036246903240680695, -0.01465502567589283, -0.01400244701653719, 0.01673014834523201, 0.007285328581929207, 0.012028926983475685, 0.0052963444031775, -0.019357694312930107, -0.01393081247806549, -0.015092289075255394, -0.03721274435520172, 0.04289059340953827, 0.038369372487068176, 0.041734449565410614, 0.03318972885608673, 0.015321201644837856, -0.0448957122862339, 0.0140524972230196, -0.06938987970352173, 0.004958734381943941, -0.026033470407128334, -0.03642497584223747, 0.0004990788293071091, -0.02766961231827736, -0.04528389126062393, 0.037831708788871765, -0.02303689531981945, 0.029394684359431267, -0.026034409180283546, 0.015820255503058434, 0.009121459908783436, 0.027726491913199425, 0.016867490485310555, -0.012185019440948963, 0.021105393767356873, -0.04578809440135956, 0.013169202953577042, 0.002476954134181142, -0.011124690994620323, 0.009041759185492992, 0.044396571815013885, 0.05043019726872444, -0.008919366635382175, 0.011235657148063183, -0.012464256025850773, 0.011676703579723835, -0.011346297338604927, -0.014029214158654213, -0.021808164194226265, -0.005624547600746155, 0.0038402406498789787, -0.05339714139699936, -0.0018714471952989697, -0.02734488807618618, 0.004258435219526291, -0.029644807800650597, -0.054572343826293945, -0.026751913130283356, -0.01759614236652851, 0.018393564969301224, -0.06992257386445999, 0.010150822810828686, -0.03669465705752373, -0.0023516181390732527, -0.02018057368695736, -0.011249590665102005, -0.02027786895632744, 0.013857685960829258, -0.036106713116168976, -0.05406801402568817, 0.02640974521636963, -0.021211575716733932, 0.0005441686371341348, -0.03241676464676857, 0.041344694793224335, -0.014002072624862194, 0.02012271247804165, -0.0012255783658474684, 0.07694081962108612, -0.05060113966464996, 0.0379379577934742, -0.04874768108129501, -0.013349995017051697, 0.015920691192150116, -0.038404397666454315, -0.011799568310379982, -0.01923917979001999, 0.030375108122825623, 0.04043764993548393, -0.0008677138248458505, -0.009892039932310581, -0.004461323842406273, 0.03287344053387642, 0.01009657233953476, 0.03762565925717354, -0.01905975118279457, 0.020622994750738144, -0.03858679160475731, 0.04018774628639221, 0.005613542161881924, -0.006670902017503977, 0.0336880125105381, 0.03404791280627251, 0.037222299724817276, 0.019149666652083397, 0.048371292650699615, 0.0078818304464221, -0.014276348054409027, -0.02179919369518757, 0.0013437473680824041, -0.04174690693616867, -0.002760603092610836, -0.009388918057084084, 0.008960769511759281, 0.028074683621525764, -0.0790400430560112, -0.01901114359498024, 0.01317545399069786, 0.020306680351495743, -0.0055870357900857925, 0.005106865428388119, 0.002295335754752159, -0.014271821826696396, 0.04034356772899628, -0.03564273938536644, 0.009058400988578796, -0.03976278379559517, 0.02677866443991661, -0.004758378490805626, -0.007241642102599144, -0.07423344254493713, 0.008707359433174133, -0.013328993692994118, -0.016643960028886795, 0.0021375780925154686, -0.02848559245467186, 0.03254672884941101, -0.010691976174712181, 0.016725944355130196, 0.007815683260560036, -0.020484331995248795, 0.036571986973285675, 0.023450039327144623, -0.0023441314697265625, 0.030439656227827072, -0.007835843600332737, 0.003345267614349723, 0.026333970949053764, 0.007337625604122877, 0.038116615265607834, 0.04233063384890556, -0.030113399028778076, -0.003626949619501829, -0.034556131809949875, 0.0632411390542984, -0.008347835391759872, 0.021367764100432396, -0.04541698098182678, -0.022721149027347565, -0.009190196171402931, -0.0076159038580954075, -0.06704666465520859, 0.014849063009023666, 0.03622565418481827, -0.008849483914673328, 0.0021376176737248898, -0.01689174212515354, -0.004838180728256702, 0.0024328669533133507, -0.030248280614614487, 0.021853603422641754, 0.04166550189256668, 0.029992220923304558, -0.019970940425992012, -0.01321559026837349, -0.042700041085481644, -0.02553579956293106, 0.03003927692770958, -0.05637981742620468, 0.011766654439270496, -0.030633769929409027, -0.013979054987430573, 0.03491019830107689, 0.014351465739309788, -0.0234464593231678, 0.00136103096883744, -0.01278372947126627, 0.02289760112762451, 0.01564042828977108, 0.021558094769716263, 0.0075392527505755424, 0.001456651370972395, -0.0013552255695685744, 0.026363583281636238, 0.04579515382647514, 0.009021892212331295, 0.016358865424990654, 0.02328823134303093, 0.028392823413014412, 0.05558561906218529, 0.02413778379559517, -0.008837630040943623, -0.0041396478191018105, 0.012187321670353413, 0.017395468428730965, 0.018405720591545105, 0.036660436540842056, -0.047674790024757385, -0.019386116415262222, -0.027718333527445793, -0.009724941104650497, 0.026851840317249298, -0.006126564461737871, 0.023169513791799545, 0.024125471711158752, -0.030530977994203568, -0.00421100715175271, 0.04909282922744751, 0.036204542964696884, 0.03549794480204582, -0.006197537761181593, 0.003945301286876202, 0.06631021201610565, 0.03145553544163704, -0.013142591342329979, -0.001725943642668426, 0.029906829819083214, 0.012983257882297039, 0.015931639820337296, 0.005030733998864889, -0.014462518505752087, -0.026433996856212616, -0.023442115634679794, 0.008684306405484676, -0.0148164052516222, -0.028844593092799187, -0.02415117435157299, -0.03076578862965107, -0.0019759954884648323, -0.0011395462788641453, -0.011433186940848827, -0.04933420568704605, -0.016126051545143127, 0.003697978099808097, 0.037166014313697815, -0.007066350430250168, -0.006175082176923752, 0.009504151530563831, 0.021208737045526505, -0.011748794466257095, 0.02789214439690113, -0.02792244963347912, -0.026880763471126556, 0.041725534945726395, 0.008174245245754719, -0.01909463107585907, -0.04367998614907265, -0.02796955034136772, 0.05821787565946579, 0.0072896480560302734, 0.003911053761839867, -0.030287060886621475, -0.022661209106445312, 0.013067602179944515, 0.05385887995362282, -0.0465669259428978, 0.004842506255954504, 0.03312535211443901, 0.05293288454413414, -0.015334726311266422, -0.008244471624493599, -0.017375405877828598, -0.01350951287895441, -0.02560148574411869, -0.05227723345160484, -0.02183890901505947, -0.026242369785904884, 0.0008213173714466393, -0.004732690751552582, 0.020326005294919014, -0.007347469218075275, -0.04100651293992996, 0.0031994059681892395, 0.006218738853931427, 0.024229317903518677, 0.003963911440223455, 0.0058112298138439655, -0.010451517067849636, 0.015777096152305603, 0.008814960718154907, 0.0437314435839653, -0.011332370340824127, 0.005025103688240051, -0.013450846076011658, -0.027343345806002617, -0.009556899778544903, 0.027171457186341286, 0.022100135684013367, 0.029998132959008217, 0.014490633271634579, 0.02399812638759613, -0.006319718435406685, -0.002521864604204893, -0.057055458426475525, 0.013583152554929256, -0.012256362475454807, -0.002085702260956168, -0.04412079602479935, -0.0070287506096065044, -0.022962747141718864, -0.009349592961370945, 0.036246802657842636, 0.027849357575178146, -0.04755592346191406, -0.0071371812373399734, -0.03790077567100525, -0.04288709908723831, -0.054649047553539276, -0.02988523803651333, 0.07743949443101883, -0.0024041750002652407, 0.03263513371348381, -0.03743315115571022, -0.03988087922334671, 0.01703394018113613, 0.007829907350242138, 0.05104577913880348, 0.008693026378750801, 0.03308586776256561, -0.04744310304522514, -0.011835990473628044, -0.037712179124355316, -0.03598256781697273, -0.0364268496632576, 0.006964492611587048, 0.012167115695774555, -0.0017503306735306978, -0.03370146453380585, 0.029365435242652893, 0.03905365988612175, -0.02895619347691536, 0.06043911725282669, -0.009796827100217342, -0.018039243295788765, 0.03119739703834057, 0.00329970964230597, -0.05634535849094391, -0.008714079856872559, -0.0029555242508649826, -0.0160918440669775, 0.04370357096195221, -0.029456891119480133, 0.017263062298297882, 0.015577598474919796, -0.02384500578045845, -0.0017330386908724904, -0.0021377361845225096, -0.029466476291418076, -0.03718772903084755, 0.009126249700784683, -0.00454275356605649, -0.023221470415592194, -0.04306656867265701, -0.012743246741592884, 0.020983699709177017, -0.004994806833565235, -0.0010605673305690289, 0.022686626762151718, 0.012056690640747547, -0.004608737304806709, 0.009556964039802551, 0.01271821465343237, 0.028317784890532494, 0.029636606574058533, -0.022706134244799614, -0.02013414166867733, -0.018957296386361122 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
Image editing pipelines Image editing is one of the most practical use cases in fashion, material design, and photography. With diffusion models, the possibilities of image editing continue to expand. We have many pipelines in 🤗 Diffusers to support image editing. There are image editing pipelines that allow you to describe your desired edit as a prompt, removing concepts from an image, and even a pipeline that unifies multiple generation methods to create high-quality images like panoramas. With 🤗 Diffusers, you can experiment with the future of photo editing now!
[ 0.06995508074760437, -0.008388625457882881, -0.00035563865094445646, -0.026719853281974792, 0.13348720967769623, 0.0393703356385231, -0.07427886873483658, 0.030861129984259605, 0.0003693239705171436, -0.07045988738536835, -0.03950495645403862, -0.014654307626187801, -0.011205414310097694, 0.03549742326140404, 0.028270207345485687, -0.04670198634266853, 0.03326592221856117, 0.04785030335187912, -0.05404353141784668, 0.048362307250499725, -0.02421240694820881, -0.06328972429037094, 0.022674543783068657, -0.08265379071235657, -0.016276096925139427, -0.05274782329797745, 0.024749446660280228, 0.024418024346232414, -0.011223875917494297, 0.01931559480726719, -0.10740327835083008, 0.009637060575187206, -0.055376388132572174, -0.0515669547021389, 0.03162049502134323, -0.028686830773949623, -0.03639233857393265, 0.02744479663670063, 0.011934070847928524, 0.010017691180109978, -0.0668872743844986, 0.013101129792630672, -0.021793745458126068, -0.0047502946108579636, 0.013925750739872456, -0.0520116351544857, -0.11541667580604553, 0.028343254700303078, -0.12024954706430435, -0.020642045885324478, -0.16168144345283508, 0.05777645856142044, 0.026774311438202858, -0.009172052145004272, 0.0030931795481592417, 0.05130530148744583, 0.0574633814394474, -0.010502634570002556, 0.04904577508568764, 0.003043728182092309, 0.05617325380444527, -0.04225650429725647, 0.03464169800281525, 0.030208135023713112, 0.007523486390709877, -0.03596537932753563, -0.010287106037139893, 0.011966624297201633, -0.09678227454423904, -0.007120945490896702, 0.06108483672142029, 0.003741131629794836, 0.03928137198090553, -0.059358030557632446, 0.032989539206027985, 0.0006353938952088356, 0.0013269790215417743, 0.01730903796851635, -0.016005180776119232, -0.011006917804479599, 0.09981946647167206, -0.009776277467608452, 0.028587745502591133, 0.028702564537525177, 0.048545993864536285, 0.0470573753118515, 0.027830220758914948, 0.00776476738974452, 0.001969817327335477, 0.02034851349890232, 0.01517895981669426, -0.09893828630447388, -0.009441566653549671, -0.015800144523382187, 0.05078130587935448, 0.015404883772134781, -0.022114133462309837, -0.016918862238526344, -0.0002821008092723787, 0.0030713884625583887, -0.08287569135427475, -0.025617167353630066, 0.04220982640981674, 0.013090735301375389, -0.06830509006977081, 0.034000981599092484, -0.013542167842388153, -0.046423137187957764, -0.06393826752901077, 0.006630299147218466, 0.027136610820889473, 0.008421461097896099, -0.00801074132323265, 0.07036431133747101, -0.04239652678370476, 0.008643300272524357, 0.0203031487762928, 0.017329242080450058, -0.03293243795633316, 0.03687559813261032, 0.04819784313440323, 0.03228429704904556, 0.12162257730960846, 0.03893284872174263, -0.02335195429623127, 0.02758825570344925, 0.036315806210041046, -0.004834822844713926, -0.04542014002799988, -0.058114323765039444, -0.03772075101733208, -0.003998498897999525, -0.0055076926946640015, -0.03281128779053688, 0.03735971078276634, -0.20980043709278107, 0.01933690533041954, -0.057525839656591415, 0.06337281316518784, 0.020599031820893288, 0.04674903303384781, 0.045001108199357986, 0.009402191266417503, -0.010926234535872936, -0.013915818184614182, -0.0645877793431282, -0.004087076522409916, 0.021647056564688683, 0.02169681154191494, -0.014991014264523983, -0.04100283980369568, 0.02364623360335827, -0.03271016478538513, -0.08228269219398499, -0.06024966016411781, 0.07068950682878494, 0.02412114478647709, -0.04389386251568794, 0.027807321399450302, -0.03900030255317688, 0.007116803899407387, -0.04140705615282059, 0.02528570033609867, -0.03899318724870682, 0.03511544317007065, -0.03047703392803669, 0.046721965074539185, 0.05911367014050484, 0.07719055563211441, -0.000063939398387447, -0.011083807796239853, -0.06254471838474274, -0.07351323962211609, -0.024631507694721222, 0.03816072270274162, 0.015313422307372093, 0.06372568756341934, 0.11002294719219208, 0.023783555254340172, 0.0023273092228919268, 0.00008852761675370857, 0.046434435993433, -0.009607750922441483, 0.008045193739235401, 0.06619717180728912, -0.05546126887202263, -0.005683783441781998, 0.0046613095328211784, 0.012504481710493565, 0.03180963918566704, -0.08353608101606369, -0.018169758841395378, 0.053895603865385056, -0.02141285501420498, -0.010411223396658897, -0.005374196916818619, -0.060142338275909424, 0.028846772387623787, -0.0012415164383128285, 0.04603460431098938, 0.01597699522972107, -0.013347813859581947, -0.010358382947742939, -0.09057886153459549, -0.033563289791345596, -0.03610554710030556, 0.09465967118740082, 0.019042031839489937, 0.016739794984459877, 0.011744967661798, 0.024030864238739014, -0.026844806969165802, 0.045705169439315796, -0.029072310775518417, 0.0401899591088295, 0.00970322173088789, -0.08382348716259003, -0.03309393674135208, -0.013815052807331085, -0.0010780463926494122, 0.12918402254581451, -0.03687083721160889, -0.08024381101131439, -0.0029170869383960962, 0.014278405345976353, 0.041106246411800385, 0.12342136353254318, 0.020359914749860764, 0.04203174263238907, -0.001644034287892282, -0.05168909579515457, 0.013189424760639668, 0.002501081209629774, -0.043516892939805984, 0.045103058218955994, 0.05287124589085579, 0.02595571056008339, 0.019698943942785263, 0.03887871280312538, -0.02266697958111763, 0.04962669685482979, -0.03503094241023064, -0.012257971800863743, 0.0482291616499424, 0.01625354029238224, -0.013161083683371544, 0.10146056860685349, 0.024329058825969696, -0.024715693667531013, 0.010065612383186817, 0.014145866967737675, 0.021720437332987785, -0.04921572282910347, -0.032824791967868805, 0.01909768022596836, 0.03446194902062416, 0.019234323874115944, 0.00608594948425889, 0.004250804428011179, 0.06125203147530556, -0.0302821546792984, -0.027231188490986824, -0.017814796417951584, -0.030451422557234764, -0.02662765048444271, -0.012457781471312046, 0.03277351334691048, -0.03053777664899826, 0.011446380987763405, -0.003461490385234356, 0.028278887271881104, 0.01015955675393343, -0.0017322635976597667, 0.004084675572812557, 0.02206321433186531, -0.05013199895620346, 0.0253513865172863, 0.05884253978729248, 0.04458329454064369, -0.016774272546172142, -0.0047392696142196655, 0.006046614609658718, 0.056471776217222214, 0.03456692025065422, 0.022067224606871605, 0.028175437822937965, 0.02185830846428871, -0.01908032037317753, -0.03365136682987213, -0.0026642426382750273, 0.022302571684122086, -0.025395937263965607, 0.0001617075758986175, -0.004859187640249729, -0.00852968730032444, -0.006277414970099926, -0.03332223370671272, -0.03620428219437599, -0.06090223044157028, -0.0018835082883015275, -0.0027401200495660305, -0.03910786285996437, 0.02444309927523136, -0.034472111612558365, -0.03041132725775242, 0.06833995133638382, -0.004592923913151026, -0.002026807749643922, -0.09137960523366928, -0.0368918776512146, 0.024072151631116867, 0.007837138138711452, -0.01153281144797802, -0.05708030238747597, -0.0027238333132117987, -0.007656252011656761, 0.00581742636859417, 0.0023189177736639977, -0.006527887657284737, 0.018478916957974434, 0.012542195618152618, 0.0007990210433490574, -0.025478988885879517, -0.005497593432664871, -0.0036789497826248407, -0.0011641074670478702, 0.01966424472630024, 0.005395164713263512, -0.043746307492256165, 0.03664166107773781, 0.008912450633943081, -0.019398927688598633, 0.008377755992114544, -0.06217707321047783, 0.027089325711131096, -0.014083283953368664, 0.005226065404713154, -0.028359374031424522, -0.03572804480791092, -0.009155016392469406, -0.03982115536928177, 0.034561049193143845, -0.027423758059740067, 0.018662957474589348, 0.014756654389202595, -0.01869134046137333, 0.049442972987890244, -0.028065288439393044, 0.01825691945850849, 0.03442899510264397, -0.0055268555879592896, 0.04493377357721329, -0.003497820347547531, -0.02590889297425747, 0.03412843123078346, 0.01387239620089531, 0.06048889830708504, 0.003777309088036418, -0.020420469343662262, -0.013952184468507767, 0.0313657708466053, 0.005401188507676125, 0.031180694699287415, 0.037687160074710846, 0.016536640003323555, 0.03293126821517944, -0.0013280572602525353, -0.004799925722181797, -0.03064582683146, 0.011078682728111744, 0.04142751917243004, -0.016546929255127907, -0.026895767077803612, 0.005889152642339468, -0.008333954028785229, -0.01599884405732155, 0.008605019189417362, 0.01956433802843094, 0.01310670655220747, 0.04170848801732063, 0.0018133019329980016, 0.0034524628426879644, -0.039226993918418884, 0.03822976350784302, -0.03283077850937843, -0.025622962042689323, 0.021651050075888634, 0.027041686698794365, 0.027380727231502533, -0.046833861619234085, 0.04118085280060768, -0.010645040310919285, 0.02532278001308441, -0.007273039780557156, -0.008493686094880104, -0.020311862230300903, 0.00784162525087595, 0.02590806595981121, 0.02408599853515625, -0.03352193161845207, 0.007988960482180119, -0.03910679370164871, 0.04118623957037926, 0.01310720480978489, 0.008605499751865864, 0.033438339829444885, -0.010973876342177391, -0.04785987734794617, 0.010833709500730038, -0.051109082996845245, -0.060027070343494415, 0.016228556632995605, -0.012287265621125698, 0.04736045002937317, -0.03549015149474144, -0.003139744745567441, -0.0017973673529922962, -0.011321332305669785, 0.04430146887898445, -0.008565028198063374, 0.04401587322354317, 0.004218661226332188, 0.03576301410794258, 0.011432671919465065, -0.02444477193057537, 0.007209865842014551, -0.0012562584597617388, 0.008817100897431374, -0.007058520335704088, 0.019952384755015373, -0.038961250334978104, -0.015885431319475174, -0.0037449870724231005, 0.03839169070124626, 0.017038894817233086, -0.0017829351127147675, -0.00891413725912571, 0.022311760112643242, -0.006332144606858492, -0.00902342889457941, -0.0026788394898176193, 0.024766605347394943, 0.00490063289180398, -0.01525905542075634, -0.049597833305597305, 0.044955652207136154, -0.057137630879879, -0.002338994527235627, -0.035338643938302994, 0.010895909741520882, 0.0477847196161747, -0.005894997622817755, 0.05461202561855316, -0.00022430162061937153, -0.08995680510997772, -0.0005040811956860125, -0.007851873524487019, 0.05288173258304596, 0.023528357967734337, 0.012958100065588951, -0.0770946592092514, -0.011236029677093029, 0.03239798545837402, -0.009971527382731438, -0.053491368889808655, -0.02588266134262085, -0.022310344502329826, 0.03646181896328926, 0.03501293808221817, 0.008079134859144688, -0.05252173915505409, 0.031196169555187225, -0.04933764785528183, -0.029687538743019104, -0.004460842814296484, 0.0008373691816814244, -0.037059132009744644, 0.04339534044265747, 0.026583120226860046, 0.02598867006599903, -0.009378211572766304, -0.006773072760552168, 0.011570078320801258, 0.03831799700856209, 0.02350744605064392, 0.03512423112988472, -0.015740908682346344, -0.0464184433221817, -0.012650775723159313, 0.010221082717180252, 0.07474073767662048, 0.03987179324030876, 0.029508471488952637, 0.027074383571743965, 0.012966184876859188, 0.031901776790618896, 0.0012837802059948444, 0.0012777696829289198, 0.013755234889686108, -0.013621943071484566, -0.012229937128722668, -0.008441445417702198, 0.013006811961531639, 0.0022327639162540436, -0.02441505715250969, 0.018123053014278412, -0.01668606884777546, 0.010218481533229351, -0.008936231024563313, 0.040226049721241, -0.008494704961776733, -0.012372611090540886, -0.03178493306040764, -0.013128952123224735, 0.004595457576215267, 0.010776679031550884, -0.009015035815536976, -0.06110892444849014, -0.014163685962557793, -0.01962430216372013, -0.037433281540870667, -0.035996973514556885, 0.02120586484670639, 0.0261734277009964, 0.030256960541009903, 0.009849637746810913, -0.002720937132835388, 0.03327970579266548, 0.024138908833265305, 0.027439622208476067, -0.00021657993784174323, 0.059729959815740585, 0.048571716994047165, 0.0002557637053541839, 0.014953453093767166, 0.04468610882759094, -0.012098805978894234, 0.009813179261982441, 0.017452435567975044, 0.010538305155932903, 0.011920460499823093, -0.002949114888906479, -0.00979221984744072, 0.04226822778582573, -0.03382725268602371, 0.03846202418208122, 0.06890778243541718, -0.01432264968752861, -0.034336622804403305, -0.03220484405755997, -0.042627014219760895, 0.010695653036236763, -0.04944516718387604, -0.0006073786644265056, -0.019184770062565804, -0.01917482167482376, -0.03334089741110802, 0.03253873437643051, 0.031850457191467285, -0.010605990886688232, -0.014238625764846802, -0.04191596806049347, 0.015801262110471725, 0.03039143607020378, 0.07182535529136658, -0.03552745655179024, 0.017689326778054237, -0.015017391182482243, 0.012545955367386341, -0.033490512520074844, -0.031943317502737045, -0.0017659083241596818, 0.028261927887797356, 0.004041391424834728, -0.019644243642687798, -0.010088969953358173, -0.008231665939092636, 0.059107132256031036, 0.04751689359545708, 0.047635722905397415, 0.003654357511550188, 0.027548572048544884, -0.02523178979754448, 0.023318136110901833, 0.017451034858822823, 0.03623734787106514, -0.02405325509607792, 0.0463106669485569, 0.047133252024650574, 0.03667948767542839, 0.03915567696094513, -0.026083702221512794, -0.032000843435525894, 0.01950119622051716, 0.07892138510942459, 0.034139443188905716, -0.0034084890503436327, 0.004089099355041981, -0.011191456578671932, -0.04183705896139145, -0.0053756628185510635, -0.037944402545690536, -0.045881710946559906, 0.00021790417667943984, -0.0014610165962949395, 0.006577185820788145, -0.04381897673010826, -0.022745318710803986, 0.07134243845939636, -0.002415129914879799, 0.022992152720689774, 0.008797314018011093, 0.013297381810843945, 0.011201901361346245, 0.009032045491039753, -0.017557643353939056, 0.029108043760061264, -0.007207588758319616, -0.019323986023664474, 0.025525080040097237, -0.0031173345632851124, 0.010583841241896152, 0.026432566344738007, 0.006335812155157328, 0.004557896871119738, -0.008389906026422977, 0.011937000788748264, -0.004937411285936832, 0.0012194537557661533, -0.03999188914895058, -0.026085494086146355, -0.019031403586268425, -0.04387259855866432, -0.0029051597230136395, 0.0074216146022081375, 0.036388322710990906, -0.022971132770180702, -0.017910731956362724, 0.011984317563474178, -0.004182903561741114, -0.02809569239616394, -0.002276112325489521, -0.06265247613191605, -0.015036027878522873, 0.04880369082093239, -0.018655912950634956, -0.022384079173207283, -0.02961919642984867, -0.03263862058520317, 0.03415229171514511, -0.018752316012978554, -0.02059173956513405, 0.01214735209941864, 0.0024102681782096624, -0.010364240035414696, 0.009503336623311043, -0.012922332622110844, 0.020529767498373985, 0.02744154818356037, 0.019112639129161835, 0.00464768148958683, 0.031309403479099274, -0.024128800258040428, -0.07385416328907013, 0.009970016777515411, -0.034139055758714676, 0.020762788131833076, 0.018453329801559448, 0.023390568792819977, -0.029108168557286263, -0.004991007037460804, -0.041485998779535294, 0.011962268501520157, 0.015624819323420525, -0.04345040023326874, 0.0066951061598956585, -0.008659014478325844, 0.019682910293340683, -0.03733355924487114, 0.05099724978208542, -0.034225258976221085, 0.02465340495109558, 0.010562875308096409, 0.01677446998655796, 0.005135165061801672, 0.04535355046391487, -0.028596090152859688, 0.028714872896671295, 0.024126093834638596, 0.03189915791153908, 0.036944400519132614, 0.010819265618920326, 0.03599065914750099, -0.020802894607186317, -0.04607678949832916, 0.08000937104225159, -0.024351708590984344, 0.009158104658126831, -0.026265807449817657, 0.015815645456314087, -0.0040855188854038715, 0.030187144875526428, -0.03067813627421856, 0.03714172542095184, -0.02753293327987194, 0.02964283525943756, -0.01777004823088646, -0.03013264387845993, -0.03163893148303032, 0.0211228895932436, 0.05337487906217575, 0.017125112935900688, -0.005285617895424366, -0.0022892693523317575, 0.01976367086172104, -0.03220248967409134, -0.0732492133975029, 0.05405343696475029, 0.004013614263385534, -0.027262605726718903, -0.027583321556448936, 0.009786530397832394, 0.01548856496810913, -0.0034348473418504, -0.045492324978113174, -0.024780377745628357, 0.017250673845410347, -0.011734873056411743, -0.04869617149233818, -0.037478674203157425, 0.02606561966240406, -0.005728891585022211, 0.008520003408193588, -0.0010342575842514634, -0.04322706535458565, -0.004182468634098768, 0.025103488937020302, 0.002535199513658881, 0.005021100863814354, -0.009413906373083591, 0.004418347030878067, 0.03680722415447235, 0.009851372800767422, 0.016303010284900665, -0.010389654897153378, 0.0094601484015584, 0.035332828760147095, -0.03383755683898926, -0.015642603859305382, 0.006505271885544062, 0.04106823354959488, 0.06754481792449951, -0.03525358811020851, -0.021929597482085228, -0.004581549670547247, 0.022167615592479706, -0.012580355629324913, -0.015861619263887405, 0.018562423065304756, -0.005534382537007332, 0.013317431323230267, 0.0003022124874405563, -0.062388740479946136, 0.008714684285223484, 0.06654036790132523, -0.00723453750833869, -0.033139631152153015, -0.01869184896349907 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
Support for LoRA Fine-tuning diffusion models is expensive and out of reach for most consumer GPUs. We added the Low-Rank Adaptation (LoRA) technique to close this gap. With LoRA, which is a method for parameter-efficient fine-tuning, you can fine-tune large diffusion models faster and consume less memory. The resulting model weights are also very lightweight compared to the original model, so you can easily share your custom models. If you want to learn more, our documentation shows how to perform fine-tuning and inference on Stable Diffusion with LoRA. In addition to LoRA, we support other training techniques for personalized generation, including DreamBooth, textual inversion, custom diffusion, and more!
[ 0.07173283398151398, -0.0648779422044754, 0.006022158078849316, 0.0560186430811882, 0.0627606064081192, 0.03751257061958313, -0.051284436136484146, 0.07615010440349579, 0.014581120572984219, -0.04734978824853897, -0.02561173029243946, -0.014033794403076172, -0.0009503655601292849, 0.010584365576505661, -0.0485093891620636, -0.04968391731381416, 0.012605603784322739, -0.0481644906103611, 0.000611784344073385, 0.08013717085123062, 0.012088962830603123, -0.018147440627217293, 0.051704246550798416, -0.07089924067258835, -0.028920574113726616, -0.030400747433304787, 0.04279119148850441, 0.022072993218898773, -0.04506344720721245, -0.009696921333670616, -0.045280057936906815, -0.014470681548118591, 0.013207860291004181, -0.057346902787685394, 0.06517455726861954, -0.061435263603925705, 0.0009554264252074063, 0.02776547707617283, -0.0272756889462471, -0.017119653522968292, 0.0064033265225589275, 0.007243019063025713, -0.06323064118623734, 0.0900833010673523, 0.0565355159342289, -0.05479517579078674, -0.13547083735466003, 0.08793775737285614, -0.01702439785003662, -0.022636037319898605, -0.13541336357593536, 0.09228058904409409, -0.012910152785480022, 0.013573430478572845, 0.0678861066699028, 0.009963064454495907, 0.02779613994061947, 0.009612170048058033, 0.029485920444130898, -0.008853431791067123, 0.029515746980905533, -0.04437011480331421, -0.017813794314861298, 0.033395543694496155, 0.034944262355566025, 0.009762251749634743, -0.04208056628704071, -0.008077605627477169, -0.05910472571849823, -0.023235367611050606, -0.01879146881401539, -0.0651833638548851, 0.05146777257323265, -0.0277729332447052, -0.045486029237508774, -0.05018720403313637, 0.04565449059009552, 0.07689094543457031, 0.04467097297310829, -0.003419991582632065, -0.02282329648733139, -0.003135576145723462, 0.09570129215717316, 0.01975615881383419, -0.028923749923706055, -0.01689324527978897, 0.06068448722362518, -0.04915698245167732, -0.016169197857379913, -0.021184837445616722, -0.0631592646241188, -0.07191819697618484, -0.02187442034482956, 0.049442484974861145, 0.08050139248371124, 0.0025970737915486097, 0.017219146713614464, 0.023625344038009644, 0.028273150324821472, -0.0003068845544476062, -0.05667353793978691, -0.08190149813890457, 0.0523001067340374, -0.10689740628004074, -0.07530120015144348, 0.0355972982943058, 0.00165345030836761, -0.06495071947574615, -0.0627870187163353, 0.050784286111593246, -0.002613743068650365, 0.05478460714221001, 0.025561422109603882, 0.03334374725818634, -0.08576726913452148, 0.03300800174474716, 0.03285069018602371, -0.01009624544531107, -0.0018291184678673744, 0.05631856247782707, -0.029879728332161903, 0.1041550561785698, 0.08298676460981369, 0.03028124012053013, -0.032986514270305634, 0.0840403139591217, 0.09058569371700287, -0.023331012576818466, -0.02175242081284523, 0.016764653846621513, 0.02937779203057289, -0.034998539835214615, -0.024787982925772667, -0.04186398163437843, 0.037837009876966476, -0.07876130938529968, -0.037449683994054794, -0.02600807324051857, 0.03414508327841759, -0.009909226559102535, -0.04355769231915474, -0.04915056750178337, 0.018907681107521057, -0.03383184224367142, 0.02290155179798603, 0.0033587836660444736, 0.017501724883913994, 0.038262370973825455, -0.01349277887493372, 0.026476824656128883, -0.07882148027420044, 0.0772150531411171, -0.004019348416477442, -0.058348823338747025, 0.01456435676664114, 0.06157206371426582, -0.06067359447479248, -0.07354526221752167, -0.004323218483477831, 0.01883104257285595, -0.08279933780431747, -0.08320700377225876, -0.03139772638678551, 0.002684716833755374, 0.07169770449399948, -0.0662030354142189, 0.014345907606184483, 0.053499866276979446, 0.05296475812792778, -0.036145396530628204, 0.10435526072978973, -0.008860801346600056, 0.08113934844732285, -0.02676607109606266, -0.024689169600605965, 0.014686333015561104, 0.04948039725422859, 0.0608561672270298, -0.003426073817536235, -0.023455718532204628, 0.004545662086457014, 0.03901899233460426, -0.031050264835357666, 0.0449606217443943, 0.01848752237856388, -0.11145645380020142, 0.017455987632274628, -0.04810706526041031, 0.04891275614500046, -0.051630981266498566, -0.06130966171622276, 0.0614105649292469, 0.04128101095557213, -0.034429535269737244, 0.054215531796216965, -0.08509642630815506, -0.03806609660387039, 0.07116398960351944, 0.04644668847322464, 0.025778159499168396, 0.019764764234423637, 0.020159631967544556, 0.03956448659300804, -0.017883066087961197, -0.039324261248111725, -0.02163764461874962, 0.01581239327788353, -0.006807465106248856, 0.012734746560454369, 0.010608533397316933, -0.016216324642300606, -0.11611676961183548, 0.028125490993261337, -0.04500197246670723, 0.041922446340322495, 0.009445378556847572, -0.02069026231765747, -0.03338964283466339, -0.029467230662703514, -0.04877502843737602, 0.12001641094684601, 0.03670107573270798, -0.041408490389585495, 0.011845670640468597, -0.0861561968922615, 0.07197311520576477, 0.06199166923761368, -0.07993363589048386, 0.06823485344648361, -0.030736977234482765, 0.010384175926446915, -0.060558851808309555, -0.046229928731918335, 0.030793150886893272, 0.05590410903096199, -0.02188916504383087, 0.002085150917991996, -0.031160825863480568, 0.015323917381465435, -0.026217246428132057, 0.021148523315787315, 0.0716182291507721, -0.026739472523331642, 0.03360256180167198, 0.06500378251075745, -0.0046059563755989075, 0.08766704797744751, -0.011695899069309235, -0.004963982850313187, 0.007729696575552225, -0.07236213237047195, -0.03166959807276726, -0.008438077755272388, 0.006513434927910566, 0.024259217083454132, -0.04737166687846184, -0.019234253093600273, -0.029258934780955315, 0.013149135746061802, 0.023432578891515732, -0.012204068712890148, 0.006804012227803469, -0.005156342871487141, 0.034554608166217804, 0.014735376462340355, -0.03260200098156929, 0.019698819145560265, 0.019031723961234093, 0.004531209357082844, -0.015543745830655098, 0.025987915694713593, -0.008397102355957031, -0.013299593701958656, 0.019333627074956894, -0.022399060428142548, 0.021031906828284264, 0.034487053751945496, -0.025820186361670494, -0.00998979713767767, -0.02223241701722145, 0.010593102313578129, 0.018063532188534737, 0.025651825591921806, 0.00528300553560257, 0.03654881566762924, -0.012613071128726006, 0.02306566759943962, 0.016176782548427582, -0.027353426441550255, 0.032655585557222366, 0.000551095639821142, -0.009972955100238323, -0.041979577392339706, 0.00614485377445817, -0.0011151240905746818, 0.01402898970991373, -0.00376804918050766, 0.015080085024237633, -0.025396868586540222, -0.017750872299075127, 0.035278987139463425, -0.0331270769238472, 0.034799639135599136, -0.003994033671915531, -0.025883514434099197, 0.06756166368722916, -0.01959040015935898, 0.032395362854003906, -0.1035328358411789, -0.04149412736296654, -0.034427471458911896, 0.06371946632862091, -0.002887891372665763, -0.03261642903089523, 0.028359323740005493, -0.014550031162798405, 0.026121582835912704, -0.006938517559319735, -0.006270570680499077, 0.04939279705286026, 0.005178126972168684, 0.023833826184272766, -0.019730299711227417, 0.010219045914709568, 0.04471719264984131, 0.0007428081007674336, -0.021048588678240776, 0.011398176662623882, -0.01436967495828867, 0.02397586591541767, -0.011980731971561909, 0.027585122734308243, -0.025326652452349663, -0.01865386962890625, 0.04220355302095413, -0.011191396974027157, 0.012335802428424358, -0.009340133517980576, -0.008961156010627747, -0.016679586842656136, -0.01094298716634512, 0.007425134070217609, -0.03125005215406418, 0.0356183797121048, -0.007636545691639185, 0.0021495544351637363, 0.03794935718178749, 0.03553835302591324, -0.015582759864628315, 0.028182724490761757, 0.01082921028137207, 0.03665512427687645, 0.02313544787466526, 0.0005972271901555359, -0.03546353429555893, 0.040952667593955994, 0.050267089158296585, 0.024079803377389908, -0.0027336259372532368, 0.007702713832259178, 0.03185603767633438, 0.015270034782588482, -0.0026509969029575586, 0.021204648539423943, 0.024803517386317253, 0.001913702581077814, 0.030667215585708618, -0.01250882912427187, -0.05788872763514519, 0.003058623755350709, 0.04017431661486626, 0.022109732031822205, -0.01724695973098278, 0.03258382901549339, 0.03192996233701706, -0.009671522304415703, 0.0009824427543208003, 0.01936684176325798, -0.00755753368139267, 0.011799110099673271, 0.02796168252825737, 0.003349942620843649, -0.008826524950563908, 0.001766585512086749, 0.003953513689339161, 0.004863405134528875, 0.020417379215359688, 0.05520647391676903, -0.013835882768034935, -0.004741653334349394, 0.012382609769701958, -0.027336133643984795, 0.01577265001833439, 0.011494593694806099, -0.000601600855588913, -0.042605381458997726, 0.04014437273144722, 0.0451086051762104, 0.011872965842485428, -0.013520103879272938, 0.003307892708107829, -0.009884915314614773, 0.03298001363873482, 0.03040471486747265, 0.05097401887178421, 0.03297790139913559, 0.008089253678917885, 0.020388305187225342, -0.015507249161601067, -0.010915993712842464, -0.006581799127161503, 0.014956141822040081, -0.042939502745866776, 0.02579369582235813, -0.024747230112552643, -0.008366778492927551, -0.004473971202969551, 0.020337708294391632, 0.006336694583296776, 0.009010345675051212, 0.0005425001145340502, -0.021090516820549965, 0.05938408523797989, 0.04018298164010048, -0.03413473442196846, 0.023084281012415886, -0.015059313736855984, 0.02110396698117256, -0.043590348213911057, 0.020532716065645218, 0.00416045356541872, -0.04242699220776558, 0.06461688876152039, 0.01833583414554596, 0.008220870979130268, 0.01663009636104107, -0.007280736695975065, 0.005935073364526033, -0.05381203442811966, -0.02166256308555603, 0.008070430718362331, 0.02831973508000374, 0.012124963104724884, -0.0539889819920063, -0.06342624872922897, 0.020768720656633377, 0.017001980915665627, -0.02331875078380108, -0.01522320881485939, -0.017523158341646194, 0.06394926458597183, -0.008972753770649433, 0.0691724494099617, -0.007419446017593145, -0.036263082176446915, 0.026146458461880684, -0.031120164319872856, 0.06835638731718063, 0.034543536603450775, -0.02044500596821308, -0.027305206283926964, -0.021632611751556396, 0.023037901148200035, -0.04988710582256317, -0.02072979509830475, -0.02017957717180252, -0.012319773435592651, 0.008090641349554062, 0.01239788718521595, 0.005250312387943268, -0.059149015694856644, 0.03993997722864151, -0.016603995114564896, -0.0064038983546197414, 0.008930305019021034, -0.0034917746670544147, -0.030333926901221275, 0.005357163492590189, -0.0054322099313139915, 0.010114938952028751, -0.009124425239861012, -0.029658840969204903, 0.05767474323511124, 0.019684718921780586, 0.025636442005634308, 0.005970826838165522, -0.03513883426785469, 0.01725568063557148, 0.004676773212850094, -0.0019378243014216423, 0.043043047189712524, -0.013886595144867897, -0.008990120142698288, 0.019904835149645805, 0.041298236697912216, 0.04772317409515381, 0.01881590485572815, 0.02045873925089836, 0.0419887900352478, 0.03703613951802254, 0.016229519620537758, -0.026242515072226524, -0.014894022606313229, 0.018516041338443756, 0.009898691438138485, 0.011872764676809311, -0.05350235104560852, -0.026468398049473763, 0.01826212927699089, 0.03452349826693535, -0.0198674239218235, -0.01779189147055149, 0.008036480285227299, 0.0017420902149751782, 0.025490019470453262, 0.008215236477553844, 0.00787037331610918, -0.017421651631593704, -0.05444322153925896, 0.008627582341432571, -0.0006952841649763286, -0.07208850979804993, 0.02927495166659355, -0.05194680765271187, -0.023678964003920555, 0.004275436047464609, 0.001047401106916368, -0.023207029327750206, 0.003243097336962819, -0.036191120743751526, -0.02582564204931259, -0.01685328222811222, 0.002272954210639, -0.047409407794475555, 0.015812065452337265, -0.003504107939079404, -0.033734552562236786, 0.04738569259643555, 0.005774426274001598, 0.006229167338460684, 0.004792388994246721, -0.005939523223787546, 0.04656627029180527, 0.006083909887820482, 0.00030489341588690877, 0.03765784949064255, 0.05910579860210419, 0.02012007124722004, -0.007280231919139624, -0.03704734146595001, -0.060149095952510834, 0.0031647318974137306, -0.05510455369949341, 0.023527339100837708, 0.01718072220683098, 0.010074020363390446, -0.0018619289621710777, -0.019524525851011276, 0.01855965331196785, -0.039735764265060425, 0.041930947452783585, -0.0030731516890227795, 0.030507009476423264, 0.0019473559223115444, 0.04994538798928261, -0.011179659515619278, 0.0026189531199634075, -0.029539057984948158, 0.013202227652072906, -0.03807320445775986, 0.025387872010469437, 0.046931035816669464, -0.015398980118334293, 0.026324590668082237, 0.040425632148981094, -0.04078218340873718, 0.023556694388389587, 0.03507085144519806, 0.006804513279348612, 0.004602538421750069, -0.008407794870436192, -0.007897370494902134, -0.039054762572050095, 0.04534294828772545, 0.016282016411423683, 0.01380637101829052, 0.003967211116105318, 0.012031159363687038, 0.01007155328989029, 0.07257013767957687, 0.03656347841024399, -0.025883760303258896, 0.024396110326051712, 0.02573453076183796, 0.032829590141773224, -0.014956530183553696, 0.004791355691850185, -0.0013835971476510167, -0.006353282835334539, -0.03498179838061333, -0.010940726846456528, -0.0010347641073167324, -0.028056010603904724, 0.00338000594638288, 0.06220346316695213, 0.011366765946149826, 0.027876537293195724, -0.01678883656859398, 0.03172877058386803, 0.03595363348722458, 0.09000827372074127, -0.016861509531736374, 0.015567926689982414, -0.0024700115900486708, 0.032590221613645554, 0.03069312870502472, 0.012894298881292343, 0.03859254717826843, 0.006249508820474148, 0.00839634146541357, 0.0018038626294583082, 0.0013663660502061248, -0.024112343788146973, 0.00921181682497263, 0.03260931000113487, -0.01007580105215311, 0.0009028284111991525, 0.0061785378493368626, 0.024947745725512505, 0.01422510202974081, 0.03179188445210457, 0.005784501321613789, -0.018082432448863983, -0.01656229794025421, 0.0044101327657699585, -0.019777068868279457, -0.0010926872491836548, 0.019159996882081032, 0.021175289526581764, 0.02110913209617138, 0.00015964747581165284, 0.014816989190876484, -0.0573180690407753, -0.0008572912774980068, 0.017723120748996735, 0.006092782597988844, -0.04098168760538101, -0.013864465057849884, -0.012162135913968086, -0.005406852811574936, 0.000004338447979534976, 0.04954584315419197, 0.021771244704723358, 0.008626562543213367, -0.013559586368501186, 0.00025962787913158536, -0.04263188689947128, -0.007386356592178345, -0.019829891622066498, -0.016628514975309372, -0.07829371839761734, 0.0016035150038078427, -0.03277970105409622, -0.08592889457941055, 0.012887938879430294, -0.0485108382999897, -0.0006622992223128676, 0.01021397951990366, 0.01807997189462185, 0.017325887456536293, -0.023371361196041107, -0.046433549374341965, -0.03991927579045296, 0.004373680800199509, -0.02449018694460392, -0.0023420103825628757, -0.017169198021292686, 0.0011804088717326522, -0.012514108791947365, 0.00493394210934639, -0.00825799722224474, -0.012926710769534111, -0.027126040309667587, -0.0009284282568842173, 0.01791919395327568, 0.0211465023458004, 0.0042252568528056145, 0.014820600859820843, 0.038385432213544846, -0.0009700366063043475, -0.005360867362469435, 0.031447719782590866, 0.013523397967219353, -0.027114275842905045, -0.01480607595294714, 0.02440607361495495, -0.017486801370978355, 0.019571881741285324, -0.022720860317349434, -0.06790995597839355, -0.06580548733472824, 0.03775765374302864, -0.009278503246605396, 0.018104463815689087, -0.010668191127479076, -0.005514755845069885, -0.03792440891265869, 0.003939133603125811, -0.016048599034547806, -0.01781350187957287, 0.07359569519758224, 0.04286978766322136, -0.015239140950143337, -0.015704995021224022, -0.006268832366913557, -0.05813779681921005, -0.042432330548763275, 0.025718308985233307, 0.04784267768263817, -0.007432928774505854, -0.02305079624056816, -0.06135094538331032, -0.011505772359669209, -0.008358868770301342, -0.051256872713565826, 0.003039875067770481, 0.005438913591206074, 0.02505561336874962, -0.011595792137086391, -0.021076487377285957, 0.02667759731411934, -0.0026618049014359713, 0.0565105639398098, 0.017432020977139473, 0.0044081988744437695, 0.00854370929300785, -0.004770555067807436, -0.062492284923791885, 0.007646071724593639, -0.01240741927176714, -0.021970126777887344, 0.03431473672389984, -0.01589769683778286, -0.006124648731201887, 0.0010481509380042553, -0.019038034602999687, 0.025148514658212662, 0.007771584205329418, -0.039952609688043594, -0.02026422694325447, 0.007234337739646435, 0.012487334199249744, -0.01249043457210064, -0.047552689909935, -0.016858940944075584, 0.023242762312293053, 0.0051681664772331715, -0.015015821903944016, -0.013441463001072407, -0.008315345272421837, 0.006229659542441368, 0.013744666241109371, -0.032582107931375504, 0.040607813745737076, 0.0272615235298872, -0.00933403056114912, -0.03967377170920372, -0.0011116336099803448 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
Video pipelines Text-to-image pipelines are cool, but text-to-video is even cooler! We currently support two text-to-video pipelines, VideoFusion and Text2Video-Zero. If you’re already familiar with text-to-image pipelines, using a text-to-video pipeline is very similar: py import torch from diffusers import DiffusionPipeline from diffusers.utils import export_to_video pipe = DiffusionPipeline.from_pretrained("cerspense/zeroscope_v2_576w", torch_dtype=torch.float16) pipe.enable_model_cpu_offload() prompt = "Darth Vader surfing a wave" video_frames = pipe(prompt, num_frames=24).frames video_path = export_to_video(video_frames) We expect text-to-video to go through a revolution during 🤗 Diffusers second year, and we are excited to see what the community builds on top of these to push the boundaries of video generation from language!
[ 0.06107519567012787, -0.0029168138280510902, 0.05389395356178284, -0.014250049367547035, 0.0424959696829319, 0.0176989808678627, -0.034551989287137985, 0.06327936798334122, -0.0018855818780139089, -0.05938715860247612, -0.08907148987054825, 0.06374780088663101, 0.009165306575596333, 0.06829984486103058, 0.01411703322082758, -0.052771903574466705, 0.023115413263440132, 0.026010068133473396, 0.025807568803429604, 0.030750928446650505, -0.06629583239555359, -0.01751593127846718, 0.041813693940639496, -0.026880895718932152, -0.051683854311704636, -0.07924728840589523, 0.017214981839060783, 0.05986880138516426, -0.0870838537812233, 0.007710254285484552, -0.06626726686954498, 0.014231261797249317, 0.03488573059439659, -0.06567465513944626, 0.0032234899699687958, 0.00787546020001173, -0.08543051034212112, 0.07385490834712982, 0.013366415165364742, 0.021378397941589355, -0.023207593709230423, 0.0318312793970108, -0.0379478894174099, -0.019091546535491943, -0.003641705261543393, -0.030391260981559753, -0.13973760604858398, 0.059300828725099564, -0.08171120285987854, 0.019924040883779526, -0.1329246461391449, 0.07822954654693604, -0.018912453204393387, -0.047611530870199203, -0.026154853403568268, 0.0416366271674633, -0.023354992270469666, -0.040612295269966125, 0.006231068633496761, 0.006468852516263723, 0.041936155408620834, 0.0004892083234153688, -0.003504155669361353, 0.06065484881401062, 0.007413318380713463, -0.0033521889708936214, -0.057111795991659164, 0.0656975507736206, -0.06407666206359863, -0.010572867467999458, 0.06505291908979416, -0.022885646671056747, -0.004094080999493599, -0.06733574718236923, 0.025060122832655907, -0.060713328421115875, 0.046802766621112823, 0.0028857772704213858, 0.0038590540643781424, 0.03173457831144333, 0.0547572486102581, 0.0033054768573492765, 0.04196429252624512, 0.038414958864450455, 0.018881715834140778, 0.0463416762650013, 0.0761876106262207, -0.022524278610944748, -0.031523045152425766, 0.0072512016631662846, -0.08359916508197784, -0.08949878066778183, -0.055305954068899155, -0.01982949487864971, 0.043802447617053986, 0.02213391847908497, -0.05372273176908493, 0.022597135975956917, 0.022815033793449402, -0.01759917661547661, 0.034380726516246796, -0.09520208835601807, 0.0421355664730072, -0.06521839648485184, -0.056363366544246674, 0.05735458433628082, -0.07438275218009949, 0.01701546087861061, -0.02195596694946289, 0.01577620953321457, 0.003344574011862278, 0.005710431840270758, 0.02185722067952156, 0.018821440637111664, -0.01602255553007126, 0.012772793881595135, -0.03535143658518791, 0.020731737837195396, -0.051777180284261703, 0.04020296409726143, 0.00894284900277853, 0.057259783148765564, 0.09336325526237488, -0.02204638533294201, -0.052684538066387177, 0.11405151337385178, -0.0070041147992014885, 0.02279852330684662, -0.023173915222287178, -0.02284417115151882, 0.04107994586229324, -0.01567847840487957, 0.10888417810201645, -0.05018565431237221, -0.008776476606726646, -0.09715602546930313, -0.012528210878372192, -0.11224934458732605, 0.007644625846296549, -0.025836829096078873, 0.04298264905810356, 0.05891718715429306, 0.03457905724644661, 0.026974905282258987, 0.01469793077558279, -0.017506754025816917, -0.05072140321135521, 0.03954644873738289, -0.03654012829065323, -0.006446592044085264, -0.12202905863523483, 0.07686364650726318, -0.018520081415772438, -0.08713063597679138, -0.027623118832707405, 0.07708346843719482, 0.05614425987005234, -0.01506534218788147, -0.016050005331635475, 0.005196499638259411, 0.010871412232518196, -0.008214759640395641, 0.03491084650158882, -0.04767317697405815, -0.010193084366619587, -0.0418551079928875, 0.019146615639328957, 0.020770737901329994, 0.05094504356384277, -0.04880862310528755, 0.015523060224950314, -0.0413440577685833, 0.019811714068055153, -0.0012855429667979479, 0.04444660618901253, 0.025560850277543068, 0.09259563684463501, 0.05865770950913429, 0.004630676470696926, -0.04467557370662689, -0.04475986212491989, 0.01064282562583685, -0.014724069274961948, 0.0019181205425411463, 0.0021400125697255135, -0.09352187067270279, 0.01969890296459198, -0.08884413540363312, 0.0012088862713426352, 0.06366997957229614, -0.03429318219423294, -0.051455434411764145, 0.020420949906110764, 0.0151451975107193, 0.011669068597257137, -0.05801762267947197, -0.030689822509884834, 0.017660487443208694, 0.03796609491109848, 0.07198075950145721, 0.006885107606649399, 0.019344594329595566, 0.010759075172245502, -0.04485131427645683, -0.03595222160220146, 0.03009449504315853, 0.03459428623318672, 0.01052382867783308, 0.02015131711959839, -0.015295051969587803, 0.027843009680509567, -0.05732741951942444, 0.008593816310167313, -0.08768675476312637, 0.03581941872835159, -0.005544432904571295, -0.033839281648397446, -0.010774213820695877, -0.002636152086779475, -0.035438090562820435, 0.09713704138994217, -0.036220744252204895, 0.029643962159752846, -0.03897077590227127, -0.0364668108522892, 0.05345510318875313, 0.07901329547166824, 0.07122379541397095, 0.06379228085279465, -0.10483706742525101, -0.06011325865983963, -0.02664460986852646, -0.029427165165543556, 0.022775594145059586, -0.01604948565363884, -0.03024768829345703, -0.01739128865301609, 0.014720401726663113, -0.0005437228246591985, -0.05199400708079338, 0.04667755961418152, 0.00829828530550003, -0.03980933129787445, -0.0018784278072416782, -0.03717201575636864, -0.03257402032613754, 0.06842638552188873, -0.017244761809706688, 0.02268270216882229, 0.024369649589061737, -0.026280779391527176, 0.03828205168247223, -0.07304404675960541, -0.0925302729010582, 0.07747840136289597, 0.04354066401720047, -0.005032004322856665, -0.016528889536857605, 0.02286522276699543, 0.04217640683054924, -0.0275327917188406, -0.019124211743474007, 0.021248286589980125, -0.05583176016807556, -0.0284968800842762, -0.018146255984902382, 0.015475141815841198, 0.005303947255015373, -0.00830054935067892, 0.010878248140215874, 0.03098510019481182, 0.009798115119338036, 0.01659163273870945, 0.020288728177547455, 0.03971985727548599, 0.025529643520712852, 0.05133315548300743, -0.009814798831939697, 0.011000634171068668, -0.04835125803947449, 0.00013816817954648286, -0.01165207289159298, 0.044525112956762314, 0.033255692571401596, -0.0013467969838529825, 0.02339278534054756, -0.01139822043478489, 0.002303133951500058, 0.00364225753583014, 0.01066617388278246, 0.025941133499145508, -0.004774386994540691, 0.04012928158044815, -0.024746613577008247, -0.009380550123751163, 0.03076910600066185, 0.004859929904341698, 0.0035440996289253235, -0.01809478923678398, -0.00018898345297202468, -0.0361851267516613, -0.011883080936968327, -0.0057951039634644985, 0.0003554368740878999, -0.028777139261364937, 0.024091670289635658, 0.014908376149833202, 0.007508422248065472, -0.09989576041698456, -0.01413802057504654, 0.017660334706306458, 0.013380036689341068, 0.009036611765623093, -0.012074586004018784, 0.009327147156000137, -0.021347731351852417, 0.016484618186950684, 0.006233124993741512, -0.01190655492246151, 0.014187180437147617, 0.016613410785794258, -0.00005615499321720563, 0.03178609162569046, -0.023768557235598564, -0.018975406885147095, 0.03962016478180885, 0.0045142024755477905, 0.04020090773701668, -0.026034338399767876, 0.008938963524997234, 0.020778939127922058, 0.020338013768196106, -0.002761818002909422, -0.037407588213682175, 0.0713704377412796, -0.006660240236669779, 0.012279597111046314, -0.039563197642564774, 0.010524413548409939, -0.009795972146093845, -0.02827250398695469, 0.004379569087177515, -0.05193125829100609, -0.005830616224557161, 0.008340076543390751, -0.03559071570634842, 0.02771834470331669, 0.006650969851762056, -0.011148249730467796, 0.005269688554108143, -0.0011476232903078198, -0.02361670881509781, 0.012259540148079395, -0.055696506053209305, 0.007438717409968376, 0.025071658194065094, 0.06093050166964531, -0.03367050364613533, -0.048237625509500504, -0.02174064703285694, 0.04159293696284294, 0.04594988748431206, 0.04052604362368584, -0.006722914054989815, -0.012133555486798286, 0.029155975207686424, 0.02177496813237667, -0.030853496864438057, -0.05595025792717934, 0.02696889452636242, -0.003049041610211134, -0.00512766744941473, -0.015720566734671593, 0.08602234721183777, 0.022256888449192047, 0.005471334792673588, 0.01681068353354931, 0.025581728667020798, -0.004596648272126913, 0.010132977738976479, 0.007659686729311943, 0.010766521096229553, -0.049157001078128815, 0.021135907620191574, 0.005740216933190823, -0.02146693505346775, 0.0722668245434761, 0.03782742843031883, -0.022051118314266205, -0.04987282678484917, 0.026170095428824425, -0.026439573615789413, 0.013266981579363346, 0.023519806563854218, -0.012735824100673199, -0.037197500467300415, 0.0463714636862278, -0.001845506951212883, 0.01598329097032547, -0.016066016629338264, 0.01366351917386055, 0.010477788746356964, -0.0077400244772434235, -0.015077384188771248, 0.017536526545882225, 0.009922490455210209, 0.00644648214802146, -0.018988212570548058, 0.027715951204299927, -0.07283434271812439, -0.06123512610793114, -0.0019755640532821417, 0.007617705035954714, 0.003986073657870293, -0.044046707451343536, -0.018361253663897514, -0.023427559062838554, 0.013455378822982311, 0.03802427649497986, -0.0070235952734947205, 0.02741454541683197, 0.0408393032848835, 0.03970964998006821, 0.037053655833005905, 0.0019034596625715494, -0.02912050113081932, -0.007681444752961397, 0.011641778983175755, -0.05742878466844559, 0.03819375857710838, 0.011679260060191154, -0.003185462672263384, -0.00019082774815615267, 0.022163091227412224, 0.0647672712802887, 0.03202754631638527, -0.00782292615622282, -0.0395134836435318, -0.04417756572365761, -0.02396286092698574, -0.008882584981620312, 0.042420174926519394, 0.03427689149975777, -0.02897392027080059, -0.022400900721549988, 0.043803323060274124, -0.020387999713420868, -0.005560467019677162, -0.05359220132231712, -0.015211548656225204, 0.033627722412347794, 0.003180599072948098, -0.011026952415704727, 0.013971757143735886, -0.03417252376675606, 0.04661132022738457, -0.0016107603441923857, 0.04374706745147705, 0.05199723318219185, -0.009216408245265484, -0.03991585969924927, -0.00609179399907589, 0.05428798869252205, 0.014848276972770691, -0.05778760462999344, 0.012223359197378159, 0.009192661382257938, 0.03632710874080658, 0.01837645098567009, 0.03408437594771385, -0.036404527723789215, 0.03939146548509598, -0.044374652206897736, 0.0024489164352416992, 0.0011572701623663306, -0.044775303453207016, 0.04569314792752266, 0.005428405944257975, 0.004865472204983234, 0.0351485013961792, 0.008636622689664364, -0.018238188698887825, 0.018243223428726196, 0.0225970558822155, 0.020538311451673508, 0.04330549016594887, 0.011138643138110638, -0.03290324658155441, 0.01030648872256279, 0.0033627422526478767, 0.06390239298343658, -0.015003501437604427, -0.02459779568016529, -0.0011248921509832144, 0.015043760649859905, 0.05863828584551811, 0.01984473504126072, 0.02806849218904972, -0.030903847888112068, 0.006430729757994413, -0.028248585760593414, -0.01518924068659544, 0.017844464629888535, -0.021725594997406006, -0.04511731117963791, 0.0026146816089749336, -0.004072052426636219, 0.017753124237060547, 0.04378656670451164, 0.05440136045217514, -0.003545986022800207, -0.005803951993584633, 0.008320668712258339, -0.023662090301513672, 0.0009592934511601925, 0.006957621779292822, -0.010394835844635963, -0.046489372849464417, 0.04266020655632019, -0.030194973573088646, 0.006985861342400312, -0.010904506780207157, -0.0014156564138829708, -0.006596365477889776, 0.02007272094488144, 0.002489276695996523, 0.015943650156259537, 0.04057984799146652, -0.015195585787296295, -0.039873480796813965, -0.05148691311478615, 0.04576285555958748, 0.02045467123389244, 0.031446345150470734, 0.01099436916410923, 0.007707247044891119, -0.017038095742464066, 0.008116516284644604, 0.025079458951950073, 0.01175686065107584, 0.0007161314715631306, 0.06437419354915619, 0.03640531003475189, 0.03831521049141884, -0.03267621994018555, 0.026137836277484894, 0.02077603153884411, -0.015575847588479519, -0.01648647151887417, 0.0009294289629906416, -0.014893712475895882, 0.04103919491171837, -0.020941374823451042, -0.010981210507452488, 0.058362219482660294, -0.0106070376932621, 0.038866009563207626, 0.004361645318567753, 0.07255777716636658, 0.0414169579744339, -0.05553441122174263, -0.029124930500984192, 0.012422407977283001, 0.024386091157794, 0.05254378169775009, -0.0324651375412941, 0.007087749894708395, -0.022519534453749657, -0.001025092089548707, -0.08336225152015686, -0.0030778844375163317, 0.0002794785250443965, -0.0023854735773056746, 0.009012245573103428, 0.02283005602657795, -0.016039786860346794, -0.016431180760264397, 0.05807691439986229, 0.02192651852965355, 0.011493678204715252, -0.03961018845438957, -0.02762027084827423, -0.00875817146152258, -0.005265969783067703, -0.01250240858644247, 0.025110110640525818, -0.04527989774942398, 0.042467571794986725, 0.04748919606208801, 0.0764479860663414, 0.006698083132505417, -0.004796925932168961, -0.022251339629292488, 0.011921710334718227, 0.07147175073623657, -0.0048527829349040985, 0.0012406404130160809, 0.006310437805950642, -0.019590821117162704, -0.024334117770195007, -0.06086594611406326, -0.017655108124017715, -0.04830041155219078, 0.026312492787837982, 0.01516303326934576, 0.014838826842606068, -0.024633612483739853, -0.027091529220342636, 0.0897960439324379, -0.01183386705815792, 0.04590260237455368, 0.007483126129955053, 0.02072153612971306, 0.012653598561882973, 0.025465456768870354, 0.0061876787804067135, 0.006659860722720623, 0.00960647314786911, 0.008637002669274807, 0.023396633565425873, 0.04991085082292557, 0.01926066167652607, 0.03375352546572685, 0.012294099666178226, 0.02704477868974209, 0.027083568274974823, 0.013885379768908024, -0.03459155187010765, 0.023127887398004532, -0.048793721944093704, -0.02685387432575226, -0.0130125992000103, -0.03658679500222206, -0.032545458525419235, 0.020076962187886238, 0.02375994436442852, 0.00613211328163743, 0.001550480374135077, 0.017367739230394363, 0.0026381846982985735, 0.02957991138100624, -0.0007721626898273826, -0.029207363724708557, 0.01280166208744049, 0.02280881442129612, 0.008657269179821014, -0.0424780435860157, -0.01726992428302765, -0.02150755375623703, 0.013465849682688713, -0.029995067045092583, -0.01450780313462019, -0.0031335344538092613, -0.016702711582183838, 0.011586792767047882, -0.040726188570261, 0.0158058013767004, 0.03437560796737671, -0.007526879198849201, -0.009981953538954258, -0.010923259891569614, 0.009530370123684406, -0.0005825264379382133, -0.035505544394254684, 0.01775563508272171, -0.027007251977920532, 0.018924318253993988, 0.0004449817643035203, 0.004247183445841074, -0.01829121634364128, 0.031687021255493164, -0.04544803872704506, -0.03706644847989082, -0.003265905659645796, -0.03776506707072258, -0.026811163872480392, 0.004989301785826683, 0.03776191920042038, -0.03439415246248245, 0.011356075294315815, -0.054131634533405304, 0.00835497211664915, 0.02337200939655304, -0.013281072489917278, 0.003459691070020199, 0.020938996225595474, -0.012151336297392845, -0.019523590803146362, 0.04203484579920769, 0.00515139102935791, 0.0256764218211174, 0.05319909378886223, -0.01791783608496189, -0.008975783362984657, -0.002345040673390031, 0.03577115014195442, -0.03324251249432564, -0.009934863075613976, -0.0315084382891655, -0.023645641282200813, -0.03305249288678169, 0.026060275733470917, -0.02867286466062069, 0.0009697829373180866, -0.02477376163005829, -0.028680335730314255, -0.03402244299650192, -0.025052644312381744, 0.03495514765381813, -0.04774158075451851, 0.05106363445520401, 0.01821012794971466, -0.0009681631345301867, 0.007259785197675228, -0.02838822640478611, 0.011116215959191322, -0.007226468063890934, 0.016338104382157326, -0.009708103723824024, 0.03514877334237099, -0.028169045224785805, -0.04701106995344162, 0.018069036304950714, -0.025388652458786964, -0.012868515215814114, -0.024161461740732193, 0.030617553740739822, -0.030195126309990883, -0.03653819486498833, -0.005457895342260599, 0.041742920875549316, 0.02669142745435238, 0.02842758037149906, 0.014371771365404129, -0.028782596811652184, 0.06177501007914543, 0.01876465417444706, -0.040572959929704666, 0.009874419309198856, -0.001002446748316288, -0.00425752904266119, 0.05702109634876251, 0.005553652532398701, 0.027318214997649193, 0.020813314244151115, 0.010133642703294754, 0.03126692771911621, -0.005431294906884432, -0.025390028953552246, -0.034553904086351395, 0.03804242983460426, 0.030192630365490913, -0.03712839633226395, -0.008516468107700348, 0.04735083505511284, 0.011420016176998615, -0.02063511125743389, 0.0025146096013486385, -0.008586766198277473, 0.009267234243452549, -0.0039251139387488365, 0.01512926910072565, -0.016019100323319435, 0.05661434307694435, 0.018203673884272575, -0.0004855767183471471, -0.001188965979963541, 0.016919909045100212 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
Striving for photorealism Generative AI models are known for creating photorealistic images, but if you look closely, you may notice certain things that don't look right, like generating extra fingers on a hand. This year, the DeepFloyd IF and Stability AI SDXL models made a splash by improving the quality of generated images to be even more photorealistic. DeepFloyd IF - A modular diffusion model that includes different processes for generating an image (for example, an image is upscaled 3x to produce a higher resolution image). Unlike Stable Diffusion, the IF model works directly on the pixel level, and it uses a large language model to encode text. Stable Diffusion XL (SDXL) - The latest Stable Diffusion model from Stability AI, with significantly more parameters than its predecessor Stable Diffusion 2. It generates hyper-realistic images, leveraging a base model for close adherence to the prompt, and a refiner model specialized in the fine details and high-frequency content. Head over to the DeepFloyd IF docs and the SDXL docs today to learn how to start generating your own images!
[ 0.017136435955762863, -0.05071002617478371, 0.05762654170393944, -0.013126062229275703, 0.08545729517936707, 0.05324281007051468, -0.05058816820383072, -0.01442364789545536, -0.0034193287137895823, -0.08155708014965057, -0.03150161728262901, -0.04362238571047783, -0.0649048462510109, -0.006626102142035961, -0.015934891998767853, -0.024204302579164505, 0.016019877046346664, 0.005376142915338278, -0.05967068299651146, 0.003365775104612112, -0.05205218121409416, 0.02391974814236164, 0.008728320710361004, -0.03554100915789604, -0.02017982490360737, -0.08466147631406784, 0.0953955352306366, -0.008574923500418663, 0.021100090816617012, -0.08056066930294037, -0.10387543588876724, -0.058979619294404984, 0.019824806600809097, -0.012020477093756199, 0.0408347025513649, -0.0736643522977829, -0.07079555094242096, 0.008494982495903969, -0.026963409036397934, -0.034670837223529816, -0.014449448324739933, 0.0137861967086792, -0.03447943180799484, 0.014464665204286575, 0.05981859564781189, -0.07370259612798691, -0.11552485078573227, 0.04043634608387947, -0.053399164229631424, 0.016434624791145325, -0.026320554316043854, 0.020377757027745247, -0.04876859858632088, -0.03333625569939613, 0.02202870510518551, 0.044646307826042175, 0.053239740431308746, -0.033021047711372375, 0.0735405907034874, 0.012140285223722458, 0.04672043025493622, -0.038810890167951584, -0.014119504950940609, 0.020953021943569183, 0.07186690717935562, -0.067606121301651, 0.007448557298630476, -0.01056621689349413, -0.03203382343053818, -0.06300527602434158, -0.010873238556087017, 0.014239882118999958, -0.00017707714869175106, -0.02127886191010475, 0.03766588121652603, -0.012513258494436741, -0.06285005062818527, 0.10400906950235367, -0.03891007602214813, -0.02975873276591301, -0.015703080222010612, 0.008595435880124569, 0.07396824657917023, 0.033886782824993134, -0.04855494573712349, 0.0202448982745409, 0.04037743806838989, -0.026443636044859886, 0.001813682378269732, 0.006598663050681353, 0.07145272940397263, -0.10148012638092041, 0.01199426781386137, -0.015717176720499992, 0.028564032167196274, 0.021913135424256325, -0.031960807740688324, 0.060599491000175476, 0.04504880681633949, 0.042330656200647354, 0.014385093003511429, -0.01602577418088913, 0.0456257089972496, -0.033999618142843246, -0.07521655410528183, 0.0017206567572429776, -0.05956355854868889, -0.027369730174541473, -0.04581000655889511, -0.0258469395339489, -0.00028975127497687936, 0.03534076735377312, 0.006117205135524273, 0.014298406429588795, -0.06451664865016937, 0.00921947043389082, -0.03740133345127106, 0.004054391290992498, -0.019390705972909927, -0.0028357068076729774, 0.00975279975682497, 0.014953465200960636, 0.0542115718126297, -0.024818116798996925, -0.04854434356093407, 0.07269667088985443, -0.011352745816111565, 0.04984787106513977, -0.05314387008547783, 0.02558574080467224, -0.03611138090491295, 0.0002626113418955356, -0.005411878228187561, -0.015544915571808815, 0.11200644075870514, -0.10452144593000412, -0.08048692345619202, -0.036004144698381424, -0.019083144143223763, 0.020259106531739235, 0.031569212675094604, -0.034693099558353424, 0.0708770826458931, 0.033503349870443344, 0.05614982172846794, -0.04504552483558655, 0.044497743248939514, 0.011210719123482704, -0.01248833630234003, 0.003866420825943351, -0.0783427432179451, 0.022073332220315933, -0.07240692526102066, -0.11247467249631882, 0.00008710807014722377, 0.04253993183374405, -0.06483439356088638, -0.0775337815284729, 0.0330875888466835, 0.003218145575374365, 0.0034103950019925833, -0.04094885289669037, -0.03809310123324394, -0.009902017191052437, 0.006777712143957615, -0.0175935048609972, 0.02206232026219368, 0.08778586983680725, 0.03330378606915474, 0.016537407413125038, 0.042384687811136246, 0.009823799133300781, 0.046781256794929504, 0.022146673873066902, 0.062098078429698944, 0.026675889268517494, 0.04775562509894371, 0.04165232181549072, -0.008285297080874443, 0.018236905336380005, -0.04199066385626793, 0.05489090457558632, 0.024983858689665794, 0.04819266125559807, 0.004365560598671436, -0.11929205805063248, 0.012705459259450436, -0.016132870689034462, 0.03001480922102928, 0.003381178481504321, -0.07887355983257294, 0.05095287039875984, 0.0509709008038044, -0.0006972517585381866, 0.00983063317835331, -0.029492419213056564, -0.10957976430654526, 0.07410474121570587, 0.043450117111206055, 0.03667283430695534, -0.019434772431850433, -0.04978581890463829, 0.007707785349339247, -0.06311667710542679, -0.034167129546403885, -0.032405901700258255, 0.018540967255830765, 0.034687165170907974, 0.004206917714327574, 0.04605676233768463, 0.05267616733908653, -0.1284630447626114, 0.040608588606119156, -0.04655250534415245, -0.008806847967207432, -0.030971337109804153, -0.027335800230503082, -0.044643960893154144, -0.012818103656172752, 0.007770743686705828, 0.09673498570919037, -0.013092271983623505, -0.013099734671413898, 0.05084914714097977, 0.003969269804656506, 0.06225691735744476, 0.09887459129095078, 0.00012152126873843372, -0.007312088739126921, -0.07943879812955856, -0.052238624542951584, -0.012578611262142658, 0.03352994844317436, -0.09911815077066422, 0.04201515391469002, 0.035991497337818146, -0.013379211537539959, 0.0003983596689067781, 0.012888271361589432, -0.05190091207623482, 0.04282194748520851, 0.005740863736718893, -0.09639345854520798, 0.01913854107260704, 0.0467720553278923, 0.002279440639540553, 0.0848868116736412, 0.061687808483839035, -0.03800128400325775, 0.008039494976401329, -0.0528271421790123, 0.024604057893157005, -0.10903670638799667, -0.026660894975066185, -0.017198529094457626, 0.0039460184052586555, 0.04146916791796684, -0.006757131777703762, -0.026261184364557266, 0.018661780282855034, -0.01258904580026865, -0.03625419735908508, 0.02844320982694626, 0.012528876774013042, 0.02317989245057106, -0.00767713924869895, -0.01355606596916914, -0.07388894259929657, 0.001893534092232585, 0.059548720717430115, 0.003958671819418669, 0.020275188609957695, 0.00020211901573929936, -0.03712103143334389, -0.04851838946342468, 0.004567589610815048, 0.029855405911803246, 0.03602718189358711, 0.010565025731921196, -0.0006701255333609879, -0.020846951752901077, 0.014209335669875145, 0.06958986073732376, 0.04443661868572235, 0.03197953477501869, -0.010323905386030674, 0.00286108604632318, -0.00039833408663980663, -0.043845824897289276, 0.014333907514810562, -0.012472332455217838, 0.018615713343024254, -0.01569352112710476, -0.0015170563710853457, 0.053626783192157745, -0.013448274694383144, 0.009880740195512772, -0.041903313249349594, -0.015776345506310463, -0.018818551674485207, 0.006818677764385939, -0.01070183701813221, 0.011662617325782776, 0.021594993770122528, -0.0025300492998212576, 0.064571812748909, 0.013814989477396011, 0.02391025796532631, -0.08331039547920227, -0.027584020048379898, 0.008693537674844265, 0.042250875383615494, 0.0031602061353623867, -0.03495772182941437, 0.03732641786336899, -0.005165536422282457, 0.002837464213371277, 0.08892209827899933, 0.04728104546666145, 0.03325321525335312, 0.02673310972750187, -0.02652902342379093, 0.027728013694286346, 0.00684439716860652, -0.010559545829892159, -0.04633461311459541, -0.01214362308382988, 0.033513061702251434, -0.02802516706287861, 0.056159280240535736, 0.007174033205956221, -0.005278009921312332, -0.008354054763913155, 0.019526656717061996, 0.026927053928375244, -0.026735013350844383, -0.0013586028944700956, 0.0030737146735191345, -0.03761529549956322, 0.01729506626725197, -0.018854474648833275, 0.046613581478595734, -0.016167355701327324, 0.03453030809760094, 0.010667316615581512, 0.036016277968883514, 0.01791759952902794, -0.005832071416079998, -0.011496201157569885, 0.049475401639938354, -0.032761625945568085, 0.002314988523721695, 0.03872741013765335, -0.008172019384801388, 0.024771366268396378, 0.022796398028731346, 0.02337178960442543, -0.026947276666760445, -0.0032089105807244778, 0.03137169033288956, 0.00888727605342865, 0.021765463054180145, 0.01996959187090397, 0.0403691902756691, 0.033750154078006744, 0.03740692511200905, 0.02154591493308544, -0.004488362930715084, 0.010257541202008724, 0.020065151154994965, -0.019406333565711975, -0.002841041423380375, -0.005381132010370493, 0.03134055808186531, 0.03611457347869873, -0.02679876796901226, 0.016589244827628136, 0.06616764515638351, 0.00921656098216772, 0.033342041075229645, 0.023138580843806267, 0.00874314270913601, -0.042362041771411896, -0.03415573760867119, 0.003584950463846326, -0.006916040554642677, 0.010844859294593334, 0.020624544471502304, -0.019344039261341095, -0.042194440960884094, -0.022596614435315132, -0.006408264394849539, 0.06033880263566971, -0.00852854736149311, -0.008486385457217693, 0.003227993380278349, 0.012144820764660835, 0.024701805785298347, 0.019399167969822884, -0.011131747625768185, 0.01611299254000187, -0.032697923481464386, 0.017946897074580193, -0.00963682308793068, 0.026160700246691704, -0.005684093572199345, 0.005424223840236664, -0.005295978393405676, 0.01169408205896616, -0.01740654930472374, -0.035596635192632675, 0.026640163734555244, -0.03731987252831459, -0.00850902684032917, -0.03335453197360039, 0.008322074078023434, -0.012527866289019585, 0.004947710782289505, -0.0029813311994075775, 0.00048193128895945847, 0.019626086577773094, -0.01162483636289835, 0.03369537740945816, 0.02012714557349682, -0.0003867709601763636, 0.017138347029685974, -0.009606613777577877, -0.00829276628792286, -0.03597160056233406, -0.012893328443169594, -0.005514101125299931, -0.03981727734208107, -0.006002047099173069, -0.012429486960172653, -0.05283374339342117, -0.0038553071208298206, 0.027699414640665054, -0.02078581042587757, 0.04018530994653702, -0.005226866342127323, 0.05254010856151581, -0.03171851113438606, -0.015308918431401253, -0.03170458972454071, -0.07103738188743591, 0.03676510229706764, -0.016627280041575432, -0.006366172339767218, -0.032012730836868286, 0.0586305595934391, 0.03206634521484375, -0.023359287530183792, 0.0036345485132187605, -0.00010644618305377662, 0.024428322911262512, 0.015873437747359276, 0.016843518242239952, 0.01734616421163082, 0.056452229619026184, 0.00337526248767972, -0.050181325525045395, -0.006233429070562124, 0.03014262579381466, -0.012008742429316044, -0.02188107930123806, -0.03396604582667351, -0.006983376108109951, 0.004171148873865604, 0.04218952730298042, 0.017442679032683372, -0.01055506058037281, 0.02229085937142372, 0.014530225656926632, 0.0343097522854805, -0.004721342120319605, -0.017498156055808067, -0.014579621143639088, 0.020055832341313362, 0.00565555552020669, 0.013935576193034649, 0.009265431202948093, 0.005933549255132675, 0.0029528094455599785, 0.00005978565604891628, 0.033580631017684937, 0.028013331815600395, -0.027944672852754593, -0.04433806985616684, -0.054822202771902084, 0.039760470390319824, 0.0050528584979474545, -0.004472979810088873, 0.017650220543146133, 0.02974887564778328, 0.07821980863809586, 0.004512478597462177, -0.002461367519572377, 0.009619291871786118, 0.016516264528036118, 0.002128919120877981, -0.0032011501025408506, -0.020247381180524826, 0.008371532894670963, -0.005207081791013479, 0.02222844399511814, -0.002059736754745245, -0.009345335885882378, -0.005496523808687925, 0.0485689640045166, -0.014279907569289207, -0.013464828953146935, -0.05438422039151192, 0.014162996783852577, 0.022593554109334946, -0.031055979430675507, 0.008691206574440002, 0.04441223666071892, 0.011432722210884094, -0.0033979741856455803, -0.031577106565237045, -0.017957406118512154, -0.02967725694179535, -0.03938589617609978, 0.04813593626022339, -0.020942864939570427, 0.0273401141166687, -0.042265862226486206, 0.028223339468240738, 0.00047790826647542417, 0.013274210505187511, -0.011023996397852898, 0.01700081117451191, -0.000680458324495703, -0.04246927425265312, -0.03171825781464577, 0.018166901543736458, -0.016634758561849594, 0.016015591099858284, 0.015206173062324524, 0.01682049036026001, 0.024352028965950012, -0.014867295511066914, -0.00951823964715004, 0.02173200622200966, -0.017138371244072914, 0.04466370865702629, 0.011617112904787064, 0.006346921436488628, 0.02540016919374466, -0.020634585991501808, -0.012850063852965832, 0.024119600653648376, -0.007467420306056738, 0.03329711779952049, -0.021382825449109077, -0.015170540660619736, -0.025042153894901276, 0.027879172936081886, -0.015232807956635952, -0.01467624120414257, -0.01859581284224987, -0.016822276636958122, 0.03157930076122284, 0.033076152205467224, 0.04696689546108246, -0.045207902789115906, -0.009264896623790264, -0.03555142134428024, -0.011614011600613594, -0.0258316732943058, 0.04061928018927574, 0.03336334601044655, 0.02654668316245079, 0.07989656925201416, 0.028213096782565117, -0.0497058741748333, 0.006107350345700979, 0.06674470007419586, 0.027886752039194107, 0.016871696338057518, -0.01209555845707655, 0.005291384179145098, -0.024573249742388725, -0.010653245262801647, -0.007216360419988632, 0.04254450649023056, -0.05244840681552887, 0.004050093237310648, 0.027219470590353012, 0.04812295362353325, 0.07455955445766449, -0.02836977317929268, -0.00036603669286705554, 0.005242982413619757, 0.061070092022418976, -0.04596492275595665, 0.008314120583236217, 0.028622746467590332, -0.00040972078568302095, -0.03458135947585106, 0.004797270521521568, -0.032081473618745804, -0.09072653204202652, 0.0383111834526062, 0.018468869850039482, 0.0073351776227355, -0.006381303071975708, -0.04098052531480789, 0.08205748349428177, 0.01832503452897072, 0.0779402032494545, 0.013264705426990986, 0.059165239334106445, -0.0403108075261116, -0.023874040693044662, -0.04205108806490898, 0.04338431358337402, 0.05180666595697403, 0.0144847072660923, 0.013001762330532074, -0.029123112559318542, -0.006188556086272001, 0.042094890028238297, 0.07745853066444397, 0.018608586862683296, 0.01988382264971733, -0.03189956396818161, -0.04279589653015137, -0.025052426382899284, -0.01009370107203722, -0.022739993408322334, -0.014108449220657349, -0.008881574496626854, 0.008330459706485271, -0.005384554620832205, 0.000854718207847327, -0.0076226405799388885, 0.015312429517507553, 0.000702422927133739, -0.042897485196590424, 0.01465354859828949, -0.02366270311176777, -0.015368618071079254, 0.0014684309717267752, 0.020223891362547874, 0.028434360399842262, -0.04510577395558357, -0.019420700147747993, -0.00912544410675764, 0.02920156717300415, -0.013752516359090805, 0.024096587672829628, 0.006120837293565273, 0.010833624750375748, 0.005033524706959724, 0.007038443814963102, 0.014034069143235683, 0.017784949392080307, 0.046931229531764984, 0.01168945711106062, -0.03448259085416794, 0.05579068139195442, 0.016095321625471115, -0.04719395935535431, -0.01917206682264805, -0.017765609547495842, 0.03809308260679245, 0.001209080102853477, 0.018427520990371704, 0.039355047047138214, 0.01278405636548996, -0.014640344306826591, -0.037942610681056976, -0.026979949325323105, -0.012322908267378807, 0.052756719291210175, 0.013248052448034286, 0.01774480752646923, -0.031395599246025085, -0.0077046495862305164, 0.014850156381726265, -0.006312557030469179, -0.018146328628063202, 0.039682090282440186, 0.02829750068485737, 0.009481746703386307, -0.04228368028998375, 0.013505392707884312, 0.04093911498785019, -0.006621269043534994, 0.0450114868581295, 0.04979266598820686, 0.01664470136165619, -0.021113187074661255, -0.0005907442537136376, 0.018727833405137062, -0.0029195703100413084, 0.002427755855023861, -0.04963421821594238, -0.01101976353675127, -0.028635459020733833, 0.017771832644939423, -0.0224232766777277, 0.032478634268045425, -0.04402325674891472, 0.0032196869142353535, -0.044601697474718094, -0.04056548327207565, -0.031094223260879517, -0.04664834216237068, 0.08058730512857437, -0.015365217812359333, -0.026211082935333252, -0.03520161285996437, -0.05110439658164978, -0.018761951476335526, -0.020208409056067467, 0.019853198900818825, 0.04632501304149628, -0.0580686517059803, 0.007033782545477152, 0.013580200262367725, -0.026250537484884262, 0.006838389206677675, -0.019595688208937645, -0.0169694647192955, 0.04828920215368271, -0.03630416467785835, -0.008889630436897278, -0.0009880054276436567, 0.016393575817346573, 0.04355323687195778, 0.01604989357292652, -0.0038879679050296545, -0.017333388328552246, 0.00734803918749094, 0.01678171195089817, -0.045151859521865845, -0.01751752197742462, -0.008131678216159344, 0.021719003096222878, -0.013400435447692871, 0.0004747638013213873, 0.04597296565771103, -0.004993469920009375, 0.002962494036182761, 0.06316657364368439, -0.02013958804309368, -0.011981429532170296, -0.01067151129245758, -0.015251432545483112, 0.018201908096671104, 0.023816389963030815, 0.0070984563790261745, -0.04149918630719185, 0.0287899412214756, 0.033895764499902725, -0.014520767144858837, 0.036604009568691254, -0.025002220645546913, 0.026781365275382996, 0.0372803620994091, -0.022006582468748093, 0.05196728557348251, 0.02681679278612137, 0.0020886396523565054, -0.031081434339284897, -0.027188656851649284 ]
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
Ethics and safety Generative models are cool, but they also have the ability to produce harmful and NSFW content. To help users interact with these models responsibly and ethically, we’ve added a safety_checker component that flags inappropriate content generated during inference. Model creators can choose to incorporate this component into their models if they want. In addition, generative models can also be used to produce disinformation. Earlier this year, the Balenciaga Pope went viral for how realistic the image was despite it being fake. This underscores the importance and need for a mechanism to distinguish between generated and human content. That’s why we’ve added an invisible watermark for images generated by the SDXL model, which helps users be better informed. The development of these features is guided by our ethical charter, which you can find in our documentation.
[ 0.05641463026404381, -0.054223451763391495, 0.020877309143543243, 0.03694186732172966, 0.10383796691894531, -0.056601010262966156, -0.01610006019473076, 0.0002207775105489418, -0.0362434908747673, -0.07338758558034897, -0.08535829186439514, -0.027223825454711914, 0.005768847186118364, 0.039191123098134995, 0.0153865497559309, -0.024023843929171562, 0.01799858920276165, 0.07018119096755981, -0.03210612013936043, -0.00771293556317687, -0.009434386156499386, -0.08890920877456665, -0.05302540957927704, -0.10766715556383133, 0.011487175710499287, -0.046446844935417175, 0.06494823843240738, 0.0045006670989096165, -0.024622656404972076, -0.012539263814687729, -0.06117267161607742, 0.005741334054619074, 0.006034239660948515, -0.026526881381869316, -0.024261625483632088, -0.005478501785546541, -0.13287459313869476, -0.013638412579894066, -0.03504560887813568, 0.01652383990585804, -0.030848229303956032, -0.008058752864599228, -0.051456253975629807, -0.012441528961062431, 0.056918106973171234, -0.05987946316599846, -0.12144780904054642, 0.08059468120336533, -0.06088389456272125, 0.050378672778606415, -0.06764762848615646, 0.027851657941937447, -0.058907683938741684, -0.01991247572004795, 0.030769124627113342, -0.017233042046427727, 0.018449746072292328, -0.003420271910727024, 0.03586641699075699, -0.016000233590602875, 0.02773699164390564, -0.016356170177459717, 0.003433635924011469, -0.02711731754243374, 0.06896989047527313, -0.0556713305413723, 0.019447438418865204, -0.052764493972063065, -0.03060111403465271, -0.04996327683329582, -0.03931707888841629, 0.0570363886654377, -0.05506947636604309, -0.05131671205163002, 0.0005006337305530906, -0.020333947613835335, -0.0644441619515419, 0.07757622748613358, 0.0029212478548288345, -0.010896632447838783, -0.000578919192776084, 0.06637071073055267, 0.12750020623207092, 0.05060584843158722, -0.06171400845050812, 0.022516483440995216, 0.05121968314051628, -0.04042286053299904, 0.016561266034841537, 0.021670226007699966, -0.001494746538810432, -0.08553247898817062, 0.04059457778930664, -0.05154860392212868, 0.03615400195121765, 0.06687662750482559, -0.028349773958325386, 0.023576732724905014, 0.06671284884214401, -0.05397944152355194, -0.06121956557035446, -0.02845049276947975, -0.014083914458751678, -0.08587458729743958, -0.07702220976352692, 0.007297620642930269, -0.03974975273013115, -0.04825419932603836, 0.01937003992497921, 0.04991057515144348, 0.04690500721335411, 0.027564160525798798, -0.029616743326187134, 0.0363302156329155, -0.03647679463028908, 0.061776552349328995, -0.01512570958584547, -0.02867034822702408, 0.03994356095790863, 0.026652639731764793, -0.01350617315620184, -0.015421068295836449, -0.011364448815584183, 0.034375980496406555, 0.017025116831064224, 0.03884191811084747, 0.03590787202119827, 0.060110606253147125, -0.10365830361843109, -0.013091426342725754, 0.03595015034079552, 0.05897912010550499, 0.010450608097016811, -0.010936275124549866, 0.05224083736538887, -0.04866604506969452, -0.03436359018087387, -0.10419533401727676, -0.0024338632356375456, 0.023683706298470497, -0.035759445279836655, -0.03835446387529373, 0.029288316145539284, -0.031078319996595383, 0.04171237722039223, -0.03199804201722145, -0.014973084442317486, 0.05945969372987747, 0.02333039790391922, 0.015698101371526718, -0.046584781259298325, 0.04627944529056549, -0.009058808907866478, -0.12680642306804657, -0.015037940815091133, 0.021699145436286926, -0.01167825236916542, 0.018131980672478676, -0.029044197872281075, 0.018524957820773125, 0.005482770502567291, -0.03622046858072281, -0.04415573179721832, -0.01723594218492508, 0.01937994733452797, -0.044677335768938065, -0.03879924491047859, -0.02777075581252575, -0.02168256975710392, 0.019071800634264946, -0.0351412296295166, -0.024738531559705734, 0.038591448217630386, -0.04309514909982681, 0.07115422189235687, 0.05004153400659561, 0.058722954243421555, -0.00885346345603466, -0.015466929413378239, 0.015821408480405807, -0.05293920263648033, 0.019236402586102486, -0.00622913520783186, 0.05832280218601227, 0.03571464866399765, -0.101126529276371, 0.05463474988937378, -0.02772088721394539, -0.07113878428936005, 0.020688576623797417, -0.085984967648983, 0.038638047873973846, 0.08820579200983047, -0.019036218523979187, -0.05646945536136627, -0.04205750674009323, -0.048363856971263885, 0.10765168070793152, 0.024710865691304207, 0.02944243513047695, -0.033195026218891144, 0.04527166485786438, -0.0218669306486845, -0.09776525944471359, -0.0062620448879897594, 0.013969163410365582, 0.03019123524427414, 0.013091844506561756, -0.006365555338561535, 0.055575210601091385, 0.049276433885097504, -0.06502924859523773, 0.07992275804281235, -0.0009275996126234531, 0.018375903367996216, -0.014433642849326134, 0.014398802071809769, -0.032297298312187195, -0.010721074417233467, 0.01011103019118309, 0.1093004122376442, -0.05567104369401932, -0.005802107509225607, 0.01592078246176243, -0.014684527181088924, 0.07661178708076477, 0.006503215059638023, 0.10412086546421051, 0.014172888360917568, -0.07412941753864288, -0.05567818880081177, 0.05095665901899338, 0.05526217445731163, -0.06300051510334015, -0.016409266740083694, 0.02206849493086338, 0.039290398359298706, 0.020759329199790955, 0.05356414616107941, -0.05738191679120064, 0.02696763537824154, 0.015174541622400284, -0.07642073929309845, -0.0023924168199300766, -0.014760749414563179, -0.0118540208786726, 0.02303263358771801, -0.0062323156744241714, -0.07991423457860947, 0.002178748371079564, -0.056229256093502045, -0.0065302252769470215, -0.018251603469252586, -0.0224923063069582, 0.016338838264346123, 0.006228910759091377, 0.004085581749677658, 0.017762131989002228, -0.03323033079504967, 0.021212583407759666, 0.013750642538070679, -0.023988308385014534, -0.047532279044389725, -0.06762310117483139, 0.03839075192809105, 0.0034213573671877384, -0.013352153822779655, -0.022716883569955826, -0.018317265436053276, 0.026834294199943542, 0.022411223500967026, 0.014071197248995304, -0.00849408283829689, 0.014049605466425419, -0.012397532351315022, 0.0501561239361763, 0.01321821566671133, 0.03909260779619217, 0.011884275823831558, -0.02747505158185959, 0.00895820464938879, 0.005800002254545689, 0.057947032153606415, 0.04269823804497719, 0.057497892528772354, 0.03709128871560097, 0.011838584206998348, 0.027244634926319122, -0.08433978259563446, 0.008900522254407406, 0.002168546197935939, 0.0026503733824938536, 0.004287369549274445, -0.00018055035616271198, 0.03521081805229187, -0.024534618481993675, 0.004278730601072311, -0.039796214550733566, -0.05151892825961113, 0.023245884105563164, -0.019822396337985992, 0.012503411620855331, 0.020686544477939606, -0.0005293284193612635, 0.029706133529543877, 0.04643851891160011, -0.01966620422899723, -0.04651035740971565, -0.08406096696853638, -0.01567421853542328, 0.0032865714747458696, 0.00957650039345026, -0.03282906860113144, -0.022586792707443237, 0.03969409689307213, 0.0006247450364753604, 0.015037978067994118, 0.047048892825841904, 0.014324069954454899, 0.0015600244514644146, -0.0021951438393443823, -0.01189667172729969, 0.020589234307408333, -0.01719103939831257, -0.03666170686483383, -0.015538823790848255, 0.01953364722430706, -0.011551262810826302, -0.013292727060616016, 0.0711212009191513, -0.02458241954445839, -0.0024669538252055645, 0.0002779943752102554, -0.0003916663699783385, 0.02933298610150814, -0.007637407165020704, 0.008852003142237663, -0.027780957520008087, -0.03289931267499924, -0.02395472303032875, -0.0036651077680289745, 0.019916534423828125, -0.0238826684653759, 0.021067028865218163, 0.029658686369657516, 0.024804025888442993, 0.0023523212876170874, -0.026208944618701935, 0.014160876162350178, 0.03171892836689949, -0.018036291003227234, 0.028981028124690056, 0.041060671210289, -0.0030921746511012316, 0.0016382276080548763, 0.0005507650785148144, 0.03393778204917908, -0.027662187814712524, 0.01797286793589592, -0.029021890833973885, 0.009438667446374893, 0.05633475258946419, -0.029307523742318153, 0.050345346331596375, 0.010277025401592255, 0.05329886078834534, -0.016742557287216187, -0.05541050434112549, -0.02826693467795849, -0.008970591239631176, -0.0041499026119709015, 0.002010091207921505, -0.025958752259612083, 0.07254128158092499, 0.039980802685022354, -0.014194357208907604, -0.040859393775463104, 0.04706587642431259, -0.005736488848924637, 0.05848129466176033, 0.02417980320751667, 0.00941924937069416, -0.04828326031565666, -0.0050021749921143055, -0.0033362233079969883, -0.049821920692920685, 0.03206154331564903, -0.015861861407756805, -0.02272225171327591, -0.01681017130613327, -0.004294894635677338, 0.020776912569999695, 0.025737755000591278, -0.004241564776748419, 0.04185843467712402, -0.002183438278734684, 0.013441822491586208, 0.02594313584268093, 0.010515707544982433, -0.021945849061012268, -0.015464515425264835, -0.011881761252880096, -0.007851632311940193, 0.02597898058593273, 0.015034258365631104, 0.016347942873835564, -0.0007751266239210963, 0.04131491482257843, 0.017317939549684525, -0.0004427703097462654, -0.014120636507868767, -0.019966792315244675, -0.011136929504573345, 0.043887317180633545, 0.006114243529736996, 0.005136976949870586, 0.026671722531318665, -0.012661624699831009, -0.01029075589030981, 0.009725207462906837, 0.010939917527139187, 0.03267039358615875, 0.005382879171520472, 0.008992974646389484, 0.015855716541409492, 0.03489936515688896, 0.013230332173407078, -0.04155600443482399, -0.02536545693874359, -0.0026945516001433134, -0.009124082513153553, -0.022572383284568787, 0.0019092501606792212, -0.003604140132665634, -0.017976664006710052, 0.007073775865137577, -0.00967306550592184, -0.043345946818590164, 0.017481839284300804, 0.023779118433594704, 0.04880904033780098, -0.001863362966105342, 0.04758595675230026, 0.024572839960455894, -0.047413419932127, 0.012312693521380424, 0.0166474636644125, -0.03416278213262558, 0.008339958265423775, 0.022293908521533012, 0.05682417005300522, -0.029431406408548355, 0.041813433170318604, -0.044680073857307434, 0.0013353390386328101, 0.020315732806921005, 0.0112331947311759, -0.0034494344145059586, 0.04848216846585274, 0.013276304118335247, -0.009673711843788624, -0.0032618080731481314, 0.029015645384788513, -0.02685718424618244, 0.03081594593822956, 0.020287085324525833, 0.02474180981516838, 0.023509245365858078, 0.03450458124279976, 0.041914138942956924, -0.0036975389812141657, 0.044025011360645294, 0.06583791971206665, 0.10487495362758636, -0.014322597533464432, -0.037196218967437744, -0.03861527144908905, 0.015572351403534412, -0.030705388635396957, 0.007108686026185751, 0.03586311265826225, 0.02832755446434021, 0.019263656809926033, 0.013464342802762985, 0.025690697133541107, 0.030779317021369934, -0.012078567408025265, 0.036506958305835724, -0.04121739789843559, 0.04088813066482544, 0.036204978823661804, -0.010387292131781578, 0.07325766235589981, 0.020217524841427803, 0.034252412617206573, 0.055200282484292984, -0.00523178419098258, -0.030937407165765762, -0.01412773597985506, 0.010044415481388569, 0.010457979515194893, -0.05017516762018204, 0.04408013075590134, -0.013120671734213829, 0.034867096692323685, 0.0013632779009640217, -0.01230784971266985, -0.005385162774473429, 0.04096865653991699, 0.03585148975253105, -0.04234161227941513, -0.009644878096878529, -0.03714383766055107, -0.006669018883258104, 0.002669229870662093, -0.003494150936603546, 0.03941779583692551, -0.019929174333810806, 0.04594121873378754, -0.020119423046708107, 0.0013590772869065404, -0.026125596836209297, -0.00013400671014096588, -0.03450978547334671, -0.024737417697906494, 0.003653703723102808, -0.015300159342586994, 0.04980352893471718, 0.025319913402199745, 0.001383459661155939, -0.02714754454791546, 0.011356206610798836, 0.019329819828271866, -0.03719816729426384, 0.021747136488556862, -0.02279425412416458, 0.041669346392154694, -0.020914742723107338, 0.056358519941568375, 0.04423803463578224, 0.03610000014305115, -0.010774065740406513, -0.024778086692094803, 0.01011177059262991, -0.025565745308995247, 0.06391851603984833, 0.027074351906776428, -0.0125518087297678, 0.007795569021254778, -0.021794144064188004, -0.04250738397240639, 0.004430647473782301, -0.018306579440832138, 0.04275287687778473, -0.0054145874455571175, -0.005919341929256916, -0.040228746831417084, 0.0017237524734809995, 0.03426448255777359, 0.02289227396249771, -0.012476904317736626, 0.03663818538188934, 0.026500022038817406, 0.02060091309249401, 0.03749454766511917, -0.01632426679134369, 0.0076187909580767155, -0.009573741815984249, -0.03762752562761307, -0.0576351024210453, -0.028797494247555733, 0.023947354406118393, -0.0450206995010376, 0.04184042289853096, 0.0009028554777614772, -0.019246887415647507, -0.0013537658378481865, 0.030520915985107422, 0.025584440678358078, 0.02913971059024334, -0.01329492311924696, -0.024949442595243454, -0.05893015116453171, -0.05757443234324455, 0.022251835092902184, 0.03142193704843521, -0.04056019335985184, 0.022522902116179466, 0.03504381328821182, 0.01972988434135914, 0.05501483380794525, 0.008119562640786171, 0.02082025445997715, 0.03352677822113037, 0.03292767331004143, 0.024852268397808075, -0.020358040928840637, -0.016984978690743446, -0.016444452106952667, -0.003926795907318592, 0.007222254294902086, -0.022532133385539055, -0.04193554446101189, 0.008609039708971977, 0.03142074868083, -0.05090225115418434, 0.012845478951931, -0.06487029045820236, 0.07843688875436783, -0.007192493882030249, 0.009194799698889256, 0.0383504293859005, 0.019275471568107605, -0.013045725412666798, 0.0009806411108002067, 0.010083017870783806, 0.025914620608091354, 0.0326775498688221, 0.0028888641390949488, 0.000933443196117878, 0.009398647584021091, -0.011932351626455784, 0.02166496403515339, 0.07329683005809784, -0.0006678398349322379, 0.03336682170629501, 0.0030080010183155537, 0.009319989010691643, -0.007943294942378998, -0.00737377442419529, -0.015023132786154747, -0.05099603906273842, -0.02093483880162239, -0.03207419067621231, 0.02731003798544407, 0.02508467435836792, -0.005234334152191877, 0.020986998453736305, -0.026385290548205376, -0.012585335411131382, 0.016142593696713448, 0.011723500676453114, -0.019666051492094994, -0.01574554853141308, 0.015466966666281223, 0.011836116202175617, -0.04702412709593773, -0.01801760494709015, -0.004828754812479019, -0.015328467823565006, -0.013132969848811626, 0.006766816601157188, 0.005557871423661709, -0.008516681380569935, 0.019494226202368736, 0.016089851036667824, 0.02078699693083763, 0.02044552005827427, 0.003682933049276471, 0.02758992277085781, -0.010000675916671753, 0.031105268746614456, -0.03834442049264908, -0.05413918197154999, -0.013987299986183643, 0.0050831385888159275, 0.017085852101445198, 0.0015539623564109206, 0.045692477375268936, 0.02710336074233055, 0.016930706799030304, -0.025724545121192932, -0.010136132128536701, -0.03895772993564606, -0.009342252276837826, 0.013517051935195923, 0.004511876497417688, 0.0263951625674963, -0.006224149838089943, -0.02916119433939457, -0.0003583543875720352, 0.02518879994750023, -0.04044076427817345, 0.04775641858577728, 0.03352979198098183, 0.02840794250369072, -0.054710712283849716, 0.008374400436878204, 0.03290523588657379, 0.0023782781790941954, 0.04131461679935455, 0.0034047625958919525, 0.023282058537006378, -0.024579761549830437, 0.011757186613976955, 0.017322925850749016, -0.007250417023897171, 0.05351630225777626, -0.053989242762327194, -0.002126488368958235, 0.0011649992084130645, 0.011500190943479538, 0.01030612364411354, 0.03841714560985565, -0.007057558745145798, -0.018149079754948616, -0.029734410345554352, -0.026978574693202972, -0.018845023587346077, -0.007375593297183514, 0.039934076368808746, -0.03711714223027229, -0.024293629452586174, -0.05794036388397217, -0.027017848566174507, 0.06578851491212845, -0.05192862078547478, 0.020338142290711403, 0.03251558914780617, -0.01722285896539688, -0.0037771370261907578, 0.01513048354536295, -0.007483919616788626, -0.03508289158344269, -0.023212581872940063, 0.02059343084692955, 0.0759337842464447, -0.03271595761179924, -0.0013360042357817292, -0.010910579934716225, 0.04134048894047737, 0.02902655303478241, -0.003532080678269267, 0.024178016930818558, 0.0004679423291236162, -0.025096150115132332, 0.009328738786280155, -0.04394271969795227, -0.0030445579905062914, -0.02160775102674961, -0.0011363823432475328, 0.07814425230026245, -0.015487453900277615, -0.002350793918594718, 0.015978453680872917, 0.013797794468700886, 0.03120710887014866, -0.014312787912786007, 0.003409490454941988, -0.03346412628889084, 0.007157095242291689, -0.027112403884530067, -0.013044227845966816, -0.01638038270175457, -0.02646675333380699, -0.01502598263323307, 0.0020792637951672077, -0.05150189250707626, 0.020665355026721954, 0.016340434551239014, 0.018685050308704376, 0.010601111687719822, -0.008240586146712303, 0.039953820407390594, 0.07386859506368637, -0.022959457710385323, -0.021961187943816185, -0.03266023471951485 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
The Theme: Expanding To inspire creativity, we decided on the theme of "EXPANDING." We left it open to interpretation, allowing developers to explore and experiment with their ideas, leading to a diverse range of games. The games were evaluated by their peers and contributors based on three key criteria: fun, creativity, and adherence to the theme. The top 10 games were then presented to three judges (Dylan Ebert, Thomas Simonini and Omar Sanseviero), who selected the best game.
[ 0.10292381048202515, -0.04859740659594536, 0.0483856275677681, 0.04068495333194733, -0.01552326139062643, 0.1032249704003334, -0.023091288283467293, 0.04271296411752701, -0.0519590750336647, -0.06308593600988388, -0.01074086781591177, -0.028986407443881035, 0.049277164041996, 0.09556031227111816, 0.09648586809635162, 0.019514037296175957, 0.047272827476263046, -0.07077298313379288, 0.02355218678712845, -0.015079760923981667, -0.0693850889801979, 0.03962639346718788, 0.045536622405052185, -0.022883832454681396, 0.006913141347467899, 0.04002240672707558, -0.04743209108710289, 0.0025251673068851233, -0.015504833310842514, 0.025387121364474297, -0.04487399384379387, -0.05444449931383133, -0.012902587652206421, -0.05701449140906334, -0.0826711654663086, -0.025827862322330475, -0.0532526895403862, 0.06661858409643173, -0.018508784472942352, -0.014362059533596039, 0.07030826807022095, -0.09299802780151367, -0.04450032114982605, -0.018706530332565308, 0.04292107746005058, -0.04283040761947632, -0.1984671801328659, 0.02885962650179863, -0.12621384859085083, 0.04421470686793327, -0.015239869244396687, 0.017639435827732086, 0.03418596461415291, 0.01728956587612629, 0.01742727868258953, -0.0341138020157814, 0.0007267180480994284, 0.016027197241783142, 0.08937438577413559, 0.00769763020798564, 0.045427750796079636, 0.00043474865378811955, 0.08826999366283417, -0.005032484885305166, 0.03645535930991173, 0.037244707345962524, -0.04454314336180687, 0.04276420921087265, -0.03618234395980835, 0.020971905440092087, -0.0004463772347662598, -0.03693597763776779, -0.07943397015333176, -0.06554776430130005, 0.03933267295360565, -0.023405199870467186, 0.04962499067187309, 0.028574837371706963, -0.043948423117399216, 0.009309825487434864, 0.04586562514305115, 0.03385768085718155, 0.07670988887548447, 0.026005374267697334, 0.010684523731470108, -0.0020351370330899954, 0.005727671552449465, -0.020512234419584274, -0.028448790311813354, 0.07132473587989807, 0.02989235892891884, -0.12006315588951111, 0.037108730524778366, -0.01725662872195244, 0.09102588146924973, -0.07881271094083786, -0.00751376710832119, -0.023029817268252373, -0.023794302716851234, 0.02985278330743313, 0.01918611489236355, -0.02249293401837349, -0.03459347039461136, -0.08236449211835861, -0.08788615465164185, 0.002633764874190092, 0.03469935804605484, -0.046792592853307724, -0.06972495466470718, 0.043696336448192596, 0.017055653035640717, -0.043652910739183426, 0.1002994179725647, 0.014703305438160896, 0.03088996186852455, 0.06646423786878586, -0.011493505910038948, 0.01998910866677761, -0.022912735119462013, -0.008104873821139336, 0.05369359627366066, 0.03634259104728699, 0.036459263414144516, 0.022500403225421906, -0.03588248789310455, -0.010621486231684685, 0.047159839421510696, 0.00646315747871995, -0.006903212051838636, -0.14382044970989227, 0.047162167727947235, -0.03048110194504261, -0.0771225094795227, 0.03738578408956528, -0.014872955158352852, 0.00539849977940321, -0.009151522070169449, -0.03428581357002258, -0.013704430311918259, 0.0022131958976387978, -0.02909468673169613, -0.013980654068291187, 0.007248129695653915, 0.05565191060304642, 0.010789250954985619, -0.041137512773275375, -0.10691840946674347, 0.03385314717888832, -0.030566595494747162, 0.021294116973876953, 0.05678440257906914, 0.01564675197005272, -0.08126039803028107, -0.06843799352645874, -0.002520729321986437, 0.08201397955417633, -0.02999921888113022, -0.046994928270578384, 0.02320852503180504, 0.022209342569112778, 0.016357991844415665, 0.01628347486257553, 0.03997223079204559, 0.0037016021087765694, 0.00043743810965679586, -0.014969801530241966, 0.058087725192308426, 0.024078164249658585, -0.034712646156549454, -0.009059673175215721, -0.04625063017010689, 0.012521346099674702, 0.036639999598264694, -0.030010417103767395, -0.01725466176867485, 0.0191749706864357, 0.043525874614715576, 0.043657924979925156, 0.003785971086472273, 0.010919202119112015, -0.07404135912656784, -0.004183170385658741, -0.061479367315769196, 0.01896647922694683, 0.05858709663152695, -0.07502423971891403, -0.01275551412254572, 0.003988882061094046, 0.053846318274736404, -0.025780213996767998, -0.12287293374538422, -0.019648004323244095, 0.03966788947582245, 0.0030713314190506935, -0.02095039188861847, -0.06267514079809189, -0.06335766613483429, 0.020339930430054665, 0.07390203326940536, 0.047191087156534195, 0.034709010273218155, 0.028885656967759132, 0.051941800862550735, 0.013184519484639168, -0.025602072477340698, -0.014115308411419392, 0.02815704606473446, -0.03649621084332466, -0.020281914621591568, -0.02263021655380726, 0.02974895015358925, -0.0412459522485733, 0.04465863108634949, -0.01286119595170021, 0.10678283125162125, -0.03075941652059555, 0.0030941017903387547, 0.042193636298179626, -0.00009436784603167325, -0.04476997256278992, 0.06806745380163193, 0.004193454049527645, -0.02060651406645775, -0.00886677298694849, -0.009924670681357384, 0.06920940428972244, 0.005959067959338427, 0.010274562984704971, 0.03460107371211052, -0.025319598615169525, -0.012688254937529564, 0.05831059068441391, 0.015117506496608257, -0.008909663185477257, 0.008495492860674858, 0.037256281822919846, 0.04557500034570694, -0.07159716635942459, 0.05131914094090462, -0.060383230447769165, -0.027147997170686722, -0.059766996651887894, 0.02285449206829071, 0.019689152017235756, -0.03035765141248703, -0.00380249903537333, 0.06783223897218704, -0.02618671953678131, 0.0015674942405894399, 0.016028618440032005, 0.007424361538141966, -0.00777346221730113, 0.04321116954088211, 0.032961148768663406, 0.0864209309220314, 0.01740383543074131, 0.0276534054428339, -0.02174770087003708, -0.017221543937921524, -0.0018111740937456489, -0.0010991314193233848, -0.055426113307476044, 0.025989875197410583, -0.005024667829275131, 0.006369296927005053, -0.03272278979420662, 0.003940138034522533, 0.025709616020321846, -0.0395810529589653, 0.023948540911078453, -0.004107356537133455, -0.008153121918439865, 0.019676486030220985, -0.049766313284635544, -0.008977373130619526, -0.03183284401893616, 0.05218198895454407, 0.00293369241990149, 0.004770928528159857, -0.06680352240800858, 0.009398643858730793, -0.012783045880496502, 0.008540749549865723, 0.037060368806123734, -0.015025395900011063, -0.011144239455461502, -0.004167585633695126, 0.007913164794445038, -0.010550808161497116, 0.010337885469198227, -0.0022993856109678745, -0.0020724458154290915, -0.04050086438655853, -0.012250206433236599, 0.0688200369477272, -0.017718635499477386, 0.017625248059630394, 0.04565565288066864, -0.018905889242887497, 0.022407202050089836, 0.015142426826059818, 0.005036342889070511, -0.022373002022504807, 0.014238876290619373, -0.012886756099760532, 0.01157743763178587, 0.027305511757731438, 0.031233355402946472, -0.10766112059354782, -0.06153438612818718, 0.03444310277700424, 0.05214618146419525, -0.017990466207265854, 0.006380101665854454, 0.005712759215384722, -0.03476642817258835, -0.007017959840595722, -0.022464631125330925, 0.0027996425051242113, -0.022144291549921036, 0.022545691579580307, 0.01773196831345558, -0.0000912237010197714, 0.01061113178730011, -0.0037076983135193586, 0.023425139486789703, -0.002160227857530117, -0.0026883475948125124, -0.021868422627449036, 0.04074837267398834, -0.03661153092980385, 0.011385095305740833, 0.003208272624760866, 0.017043568193912506, 0.021896768361330032, 0.04449194297194481, 0.007376236375421286, -0.004285419825464487, -0.020611457526683807, 0.01470822561532259, -0.06644000858068466, -0.049481913447380066, -0.035916779190301895, 0.05991467460989952, 0.03775235638022423, -0.04484434053301811, -0.03404974192380905, 0.02227075956761837, -0.004555792082101107, 0.01337762363255024, 0.011238324455916882, 0.02077598311007023, -0.0037792720831930637, -0.032132476568222046, 0.02256915532052517, 0.026925228536128998, 0.031012659892439842, -0.0407375693321228, -0.028290463611483574, -0.02302001230418682, 0.010431976057589054, 0.007836117409169674, -0.0001799018937163055, 0.010508036240935326, 0.024829797446727753, -0.014324177987873554, 0.02340681478381157, -0.009965098462998867, 0.003731869626790285, -0.014913396909832954, 0.024626679718494415, -0.009475075639784336, 0.0037604542449116707, -0.0343482680618763, -0.023911600932478905, 0.058286115527153015, -0.07180780172348022, 0.03887666016817093, 0.01789712719619274, 0.015764884650707245, 0.0018004358280450106, 0.002526837168261409, -0.06129535660147667, 0.032398391515016556, -0.01546575129032135, -0.0002729603729676455, 0.0630788579583168, 0.010387621819972992, -0.009794202633202076, -0.015515999868512154, -0.013487114571034908, -0.02596968412399292, -0.027293534949421883, 0.029070014134049416, -0.007331488654017448, -0.028910033404827118, -0.020511316135525703, 0.02567947842180729, -0.0008165747276507318, -0.06770825386047363, -0.015593900345265865, 0.00805331114679575, 0.019488176330924034, 0.007364226505160332, 0.03370823338627815, -0.0035968029405921698, -0.004903659224510193, -0.016713809221982956, 0.03367900475859642, -0.06960372626781464, -0.009634559974074364, 0.005835916381329298, 0.023971397429704666, 0.06753309071063995, -0.014489488676190376, -0.04320186376571655, 0.02661358006298542, -0.0411597415804863, 0.054962627589702606, -0.017990143969655037, -0.01616799831390381, 0.0052639697678387165, 0.06910321861505508, -0.03569778427481651, 0.01289084181189537, -0.0065173679031431675, -0.010852384380996227, 0.027219019830226898, -0.009093333967030048, -0.005138190928846598, 0.01435423269867897, 0.04814301058650017, -0.00042776952614076436, 0.013179128058254719, 0.032569993287324905, -0.01573721505701542, 0.0356818288564682, 0.0136434156447649, -0.03337891399860382, -0.006147009786218405, 0.002891495358198881, 0.026582425460219383, 0.03038506768643856, 0.004418652970343828, -0.04324507340788841, 0.02104661799967289, -0.000015271441952791065, -0.016812322661280632, 0.03209829702973366, 0.014078740030527115, 0.04369431734085083, 0.04647692292928696, 0.043938979506492615, -0.01982664130628109, -0.049380116164684296, -0.00036400408134795725, -0.017696741968393326, 0.0014002557145431638, 0.037908852100372314, 0.015501645393669605, 0.00023974447685759515, 0.024134289473295212, 0.007961911149322987, -0.0023888808209449053, -0.05275338888168335, -0.02344757691025734, -0.04290623962879181, 0.021131455898284912, 0.02174771949648857, -0.045585162937641144, -0.010862071067094803, 0.016546649858355522, 0.0006875856779515743, -0.0011490251636132598, -0.0040216101333498955, -0.06296899169683456, 0.013540555723011494, -0.003519810736179352, 0.05330199375748634, 0.022806759923696518, 0.006528826896101236, -0.04753489047288895, 0.007859231904149055, -0.047923486679792404, -0.0012309725861996412, -0.010028641670942307, -0.032891806215047836, -0.04356887936592102, 0.0024892601650208235, -0.00310726766474545, 0.012002776376903057, -0.022468438372015953, -0.01304385531693697, 0.005167972296476364, 0.029331011697649956, 0.029405439272522926, 0.021961234509944916, 0.01787990890443325, 0.03519774600863457, 0.008815683424472809, -0.00909512024372816, -0.04646414518356323, 0.007578819990158081, 0.03300286829471588, 0.007771790958940983, -0.038443680852651596, -0.011875112541019917, -0.00001650253943807911, 0.052350107580423355, -0.01464596763253212, -0.0042817965149879456, 0.009133582003414631, 0.02753259614109993, 0.026115605607628822, 0.023581260815262794, -0.051856644451618195, 0.01886759325861931, -0.02017347887158394, -0.03283319249749184, 0.02265709824860096, -0.06616603583097458, -0.055177293717861176, -0.025311339646577835, -0.038970042020082474, 0.005867421627044678, -0.03436196967959404, -0.010811714455485344, 0.023575449362397194, 0.031676702201366425, 0.04515153914690018, -0.008598466403782368, 0.006816319189965725, -0.017965935170650482, -0.03394613042473793, -0.0014436326455324888, 0.010047566145658493, -0.02853352017700672, 0.01000441238284111, 0.03457413986325264, -0.039989132434129715, 0.04125107824802399, 0.030470440164208412, -0.02572770044207573, -0.059040576219558716, -0.04099456965923309, 0.03756086155772209, -0.0036421786062419415, 0.0005410696612671018, -0.0004059630446135998, -0.032437145709991455, -0.010815832763910294, -0.010157979093492031, -0.030120443552732468, -0.018376730382442474, 0.03559151664376259, 0.03845657408237457, -0.010313683189451694, -0.03215711936354637, -0.006759085226804018, 0.03193415701389313, -0.017310520634055138, -0.0509771853685379, 0.0022294821683317423, -0.021838046610355377, 0.01811683550477028, 0.05065777152776718, -0.03392885997891426, -0.04870424419641495, 0.05242493376135826, -0.013008919544517994, -0.0025645087007433176, 0.03864850848913193, -0.0010469070402905345, 0.019286854192614555, 0.03912360221147537, -0.006535079795867205, -0.0037257836665958166, -0.006652432959526777, -0.004891319200396538, 0.048407357186079025, 0.0684230774641037, 0.025266079232096672, 0.0021896951366215944, 0.0008169138454832137, 0.05089462175965309, 0.007449935656040907, 0.04018615558743477, 0.014431236311793327, 0.01536664366722107, 0.05405980348587036, 0.02115301415324211, 0.012712236493825912, -0.02506018802523613, 0.000734349072445184, 0.054759904742240906, 0.012473092414438725, 0.06325113028287888, -0.02988518960773945, -0.0019485218217596412, -0.02852676995098591, 0.02273670956492424, 0.01648579351603985, -0.014865655452013016, -0.033279936760663986, 0.005720975808799267, -0.0375472716987133, 0.029541417956352234, 0.010692698881030083, -0.007215294986963272, 0.013944382779300213, 0.0438532680273056, 0.01653638295829296, -0.0205308198928833, 0.016705835238099098, 0.008716240525245667, 0.01820516586303711, -0.007281554862856865, 0.03208775445818901, -0.036376070231199265, 0.05706458538770676, -0.0438329242169857, 0.014176509343087673, -0.004480766598135233, 0.019313836470246315, -0.026632515713572502, -0.014711128547787666, 0.04159500449895859, 0.008094117976725101, -0.006577227730304003, -0.02058037929236889, 0.02608617953956127, -0.00268586166203022, -0.0007362088072113693, -0.004318888299167156, -0.023467184975743294, -0.003245705273002386, -0.0018816028023138642, -0.021379517391324043, -0.015396565198898315, -0.004228429868817329, -0.03148661181330681, 0.024586806073784828, -0.0074796597473323345, 0.0027569569647312164, 0.015940306708216667, 0.009681432507932186, -0.012371205724775791, -0.04195684939622879, -0.01259947195649147, -0.0030701339710503817, -0.01857084035873413, -0.0014709787210449576, -0.036682382225990295, -0.01579565927386284, 0.00357358087785542, -0.0008416078635491431, 0.0010718106059357524, -0.002933226292952895, 0.011800684034824371, -0.039706457406282425, -0.013594701886177063, 0.02837252989411354, 0.016124816611409187, 0.015494069084525108, -0.022165343165397644, -0.02001291513442993, -0.01187443919479847, -0.017318764701485634, 0.033299196511507034, -0.04452657327055931, 0.044184692203998566, -0.010374282486736774, 0.004946241620928049, 0.013849963434040546, -0.06948712468147278, -0.002726861508563161, -0.01071673259139061, 0.054226964712142944, 0.013270631432533264, -0.019676554948091507, 0.01677345484495163, -0.055699240416288376, -0.021136024966835976, 0.06997799873352051, 0.017705418169498444, 0.029627351090312004, 0.0013518842170014977, 0.010529225692152977, 0.05178438872098923, 0.021642709150910378, 0.03206116333603859, -0.0021784985437989235, 0.03177249804139137, -0.0140055101364851, 0.04992402344942093, -0.009340858086943626, 0.022175390273332596, 0.03609996289014816, -0.028855029493570328, -0.014558794908225536, -0.01088409498333931, -0.009563980624079704, -0.01509780716150999, -0.037518855184316635, -0.03751298040151596, 0.004154155496507883, -0.014425763860344887, 0.015546571463346481, -0.05483653023838997, 0.021325839683413506, 0.000544109265320003, -0.030835174024105072, 0.03954746946692467, 0.00537628261372447, -0.021471381187438965, -0.011585184372961521, -0.014501710422337055, 0.006685768719762564, 0.006929238326847553, -0.010610286146402359, 0.007718447595834732, 0.018701275810599327, 0.001031133928336203, -0.0417962409555912, -0.0220950897783041, 0.0523746982216835, 0.04384446516633034, -0.0060657598078250885, 0.0013072880683466792, 0.01025387179106474, 0.01643541269004345, -0.009166749194264412, 0.017532121390104294, -0.006210327614098787, -0.045046426355838776, -0.011672204360365868, 0.040900759398937225, -0.0035979561507701874, -0.04327340051531792, -0.02338641695678234, 0.08702801913022995, -0.00689885625615716, 0.039573658257722855, -0.01088720839470625, 0.03789983689785004, -0.028410404920578003, 0.034033410251140594, -0.022491712123155594, -0.03344256430864334, 0.026386603713035583, -0.007747563999146223, 0.015682732686400414, -0.017505161464214325, -0.01667865365743637, -0.0003089900710619986, 0.053786180913448334, -0.02556530572474003, -0.018373647704720497, -0.002573319710791111, -0.018886670470237732, 0.014535484835505486, 0.07935632765293121, 0.037547335028648376, 0.04559118300676346, 0.037723761051893234, 0.0657966285943985, 0.03417077288031578, 0.032149866223335266 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
#4: Everchanging Quest In this game, you are the village's last hope. Arm yourself before embarking on your adventure, and don't hesitate to ask the locals for guidance. The world beyond the portal will never be the same, so be prepared. Defeat your enemies to collect points and find your way to the end. 🤖 Used GPT-4 to place the tiles and objects (proprietary) but also Starcoder to code (open source). 🎮👉 https://jofthomas.itch.io/everchanging-quest
[ 0.019549524411559105, 0.02094961330294609, 0.04572064429521561, -0.043378058820962906, -0.013676981441676617, 0.0877501592040062, 0.0666247308254242, -0.01524103619158268, -0.029147159308195114, -0.08325905352830887, -0.08593977987766266, -0.032931115478277206, -0.017147378996014595, 0.05813106149435043, 0.024859171360731125, 0.035322993993759155, 0.06784618645906448, -0.071170374751091, -0.01233681384474039, -0.05980590730905533, 0.024760836735367775, 0.050166551023721695, 0.007623464800417423, 0.02769475430250168, 0.04079313576221466, -0.06822880357503891, 0.04204470291733742, 0.0503690168261528, -0.03158450126647949, 0.0107760364189744, -0.0371328629553318, -0.07886547595262527, -0.043889161199331284, -0.06759229302406311, -0.018223075196146965, 0.0050017014145851135, -0.005907304119318724, 0.04646800085902214, -0.06311561167240143, -0.056363459676504135, -0.025348028168082237, -0.03459911048412323, -0.03335018828511238, 0.06513328105211258, 0.000222401024075225, 0.003556805895641446, -0.12512613832950592, 0.03590281307697296, -0.06347575038671494, -0.007615452632308006, -0.006159588694572449, 0.07716235518455505, -0.009982929565012455, -0.026964915916323662, -0.01350473240017891, 0.03851725906133652, 0.01832442730665207, -0.021262850612401962, -0.01245187222957611, 0.03125710412859917, 0.11664047837257385, -0.025803618133068085, 0.010648741386830807, 0.04814211279153824, 0.08462013304233551, 0.012990335002541542, 0.042596325278282166, 0.02858869545161724, -0.006233204621821642, -0.0743148922920227, 0.004663713276386261, 0.013431311585009098, -0.043007779866456985, -0.0046263751573860645, 0.0011183483293280005, -0.06018620356917381, -0.040765587240457535, 0.061202291399240494, -0.023829225450754166, -0.020461497828364372, -0.06367168575525284, -0.03498733416199684, 0.009029475040733814, 0.02844620868563652, -0.010571160353720188, 0.02069474570453167, -0.0011112925130873919, 0.040613532066345215, -0.004897907841950655, -0.002909779781475663, -0.001743050874210894, -0.16546452045440674, -0.03563312068581581, -0.018908251076936722, 0.05777271091938019, -0.041419800370931625, -0.019723696634173393, -0.011755007319152355, -0.014550725929439068, 0.012084065936505795, -0.05924001336097717, -0.05880177766084671, -0.020988615229725838, -0.06041326746344566, -0.02777760848402977, 0.04305943101644516, 0.004265891388058662, -0.1284753978252411, 0.024768568575382233, 0.01497415080666542, -0.04513746127486229, 0.032570503652095795, 0.043224431574344635, 0.059255629777908325, 0.010134106501936913, 0.09978226572275162, 0.07097477465867996, -0.016355011612176895, 0.01088720466941595, 0.006846394389867783, 0.05875617638230324, 0.03791136294603348, -0.04956907033920288, -0.005854109302163124, 0.09129749238491058, 0.018794763833284378, 0.001601297757588327, -0.016862308606505394, -0.004115622024983168, -0.08260291069746017, 0.04673926159739494, -0.05136490240693092, -0.06159133464097977, 0.004369776230305433, 0.05033713951706886, 0.031736090779304504, -0.002945808693766594, 0.047686025500297546, 0.055162642151117325, 0.02217014692723751, -0.05864090099930763, -0.05051201209425926, 0.04933632165193558, 0.08525609225034714, -0.05862529203295708, -0.05754423886537552, -0.1041063517332077, -0.03651650622487068, 0.0027689908165484667, 0.03415830433368683, 0.053691666573286057, 0.030681168660521507, 0.025873839855194092, -0.08062811940908432, -0.03955281525850296, 0.03051956743001938, -0.05829230695962906, -0.015339748933911324, 0.004788236692547798, -0.019722940400242805, 0.055791180580854416, 0.03237704560160637, -0.008526859804987907, -0.01110676396638155, 0.025727706030011177, -0.021315978839993477, 0.03898283466696739, -0.035526078194379807, 0.04872700572013855, -0.04854737967252731, -0.006191583350300789, -0.012673971243202686, 0.028072694316506386, -0.03723051771521568, 0.016127226874232292, 0.0017777497414499521, 0.039581164717674255, 0.03929691016674042, -0.006585673429071903, 0.033026378601789474, -0.03287596255540848, -0.015826459974050522, -0.05632097274065018, -0.010439074598252773, 0.023151371628046036, -0.03195199742913246, -0.08366689085960388, 0.07917463779449463, 0.033439766615629196, -0.025859488174319267, -0.024739811196923256, 0.060832034796476364, 0.020554721355438232, 0.022713789716362953, -0.0136574637144804, -0.062282368540763855, -0.03997600078582764, 0.07329210638999939, 0.0785258486866951, -0.039088115096092224, 0.027347685769200325, -0.0294704157859087, 0.010049236007034779, 0.019027646631002426, -0.028532562777400017, 0.007201625034213066, -0.015710415318608284, 0.02502983808517456, 0.0140115637332201, -0.029621083289384842, 0.00011004434782080352, 0.01465188805013895, 0.009099055081605911, 0.00955557357519865, 0.02113836072385311, -0.02696971409022808, -0.09873606264591217, 0.023105883970856667, -0.003367343684658408, -0.09142991155385971, 0.05791934207081795, -0.04458608850836754, -0.026093266904354095, -0.033226851373910904, -0.023411361500620842, 0.1291436403989792, 0.035154566168785095, 0.06257422268390656, 0.02107015810906887, -0.09725051373243332, -0.06696798652410507, -0.06740472465753555, -0.028455786406993866, 0.03975590318441391, 0.06940053403377533, -0.04503076151013374, 0.048737525939941406, -0.014110554940998554, 0.009393338114023209, -0.02016797475516796, -0.10132092982530594, 0.00808409322053194, 0.0402677021920681, 0.03278825059533119, 0.013399029150605202, 0.005288869608193636, 0.09628937393426895, 0.04435591399669647, 0.013730696402490139, -0.03760597109794617, -0.06315011531114578, 0.02085154689848423, -0.0722278282046318, 0.03394458815455437, 0.053396742790937424, -0.024377072229981422, 0.03240247443318367, 0.010138383135199547, -0.05201613903045654, 0.05724334344267845, 0.02504078671336174, 0.04395297169685364, 0.02019885741174221, -0.01593310758471489, 0.014859979972243309, -0.013625027611851692, 0.007419439498335123, -0.013032102957367897, 0.01172679290175438, 0.013542506843805313, 0.003733548568561673, -0.021072348579764366, 0.004008060321211815, 0.004997143056243658, -0.011119691655039787, 0.05114661157131195, 0.023250119760632515, -0.03482024371623993, -0.0023038184735924006, 0.028855981305241585, 0.02416495606303215, -0.04472845792770386, 0.0447189062833786, 0.027084894478321075, 0.0068938108161091805, 0.004543271381407976, 0.055046744644641876, 0.017270877957344055, 0.003081723116338253, -0.014232794754207134, 0.01934831030666828, 0.04125668853521347, -0.038481470197439194, -0.008430011570453644, 0.01730158179998398, -0.03442130610346794, -0.012694458477199078, 0.01158163696527481, -0.02442019432783127, -0.01141117699444294, -0.013337517157196999, 0.02711259201169014, -0.004781376104801893, 0.009748277254402637, -0.013367988169193268, 0.000036617315345210955, -0.006290360353887081, 0.0018403180874884129, -0.09110728651285172, -0.004113555420190096, 0.024028625339269638, 0.029468851163983345, -0.004671115428209305, 0.01791667938232422, 0.0034337134566158056, -0.010381597094237804, -0.01152797695249319, -0.031500089913606644, -0.03492917865514755, -0.028797797858715057, 0.01901976764202118, -0.0065460968762636185, -0.03359883651137352, 0.026642248034477234, 0.001571542234160006, 0.04847937077283859, 0.00037111510755494237, -0.04330924153327942, -0.048893146216869354, 0.03396066278219223, -0.04165045544505119, 0.00439488934352994, 0.014163683168590069, 0.004957699216902256, -0.041796788573265076, 0.03620981425046921, 0.015090922825038433, 0.03605484217405319, 0.029991909861564636, 0.03031880035996437, 0.00448520528152585, 0.05743863061070442, -0.0771322101354599, 0.013081682845950127, 0.0013829258969053626, 0.04558245465159416, 0.005811954848468304, 0.005820194259285927, 0.013248465955257416, 0.01810634694993496, -0.014189440757036209, -0.01672782376408577, 0.01913555897772312, -0.024394599720835686, -0.01698470115661621, 0.030520351603627205, 0.03805578127503395, -0.03269070386886597, 0.019051067531108856, 0.010775956325232983, -0.01765577308833599, -0.025985952466726303, 0.031630273908376694, 0.010097402147948742, 0.0641535222530365, 0.07516297698020935, 0.007147043012082577, -0.0181816965341568, -0.00632787449285388, 0.0027986972127109766, 0.00477258488535881, -0.040104661136865616, 0.004958783276379108, 0.02352539822459221, -0.041082385927438736, 0.0064737554639577866, -0.013772787526249886, -0.00564940320327878, -0.006751619279384613, -0.0041333590634167194, 0.0062504722736775875, -0.002073138253763318, 0.013763225637376308, -0.02043062262237072, -0.04047156125307083, 0.0315895639359951, 0.04527076706290245, 0.024521470069885254, 0.036580901592969894, -0.010738429613411427, -0.019742002710700035, -0.0588957741856575, -0.016517436131834984, -0.006487809121608734, 0.03918918967247009, 0.007415554020553827, -0.009473628364503384, -0.016743438318371773, 0.04782121628522873, 0.0017896605422720313, 0.07312486320734024, -0.022355077788233757, -0.0067720552906394005, 0.035885490477085114, -0.027280110865831375, 0.018986787647008896, 0.013344214297831059, -0.010642509907484055, 0.024820677936077118, -0.036294132471084595, 0.020833361893892288, 0.015805760398507118, -0.014952179975807667, 0.08419737219810486, -0.0053955442272126675, -0.02711907960474491, 0.011762703768908978, 0.03354189917445183, -0.008067455142736435, -0.02428021840751171, -0.013102944940328598, -0.02946736477315426, 0.013067780062556267, -0.013028201647102833, -0.007277048658579588, 0.012336128391325474, -0.015721067786216736, 0.010188562795519829, -0.017012199386954308, 0.007306674495339394, 0.01489972323179245, 0.02483297884464264, -0.0080384761095047, 0.013846447691321373, 0.012971213087439537, -0.002150309504941106, 0.02308817394077778, -0.025030063465237617, -0.022397134453058243, -0.04889967665076256, -0.004763124976307154, -0.02947586216032505, 0.0027651714626699686, 0.01547226868569851, 0.004211010877043009, 0.008968145586550236, -0.04167697951197624, -0.0056035458110272884, 0.008565740659832954, -0.004572896286845207, 0.049200691282749176, -0.02382703684270382, -0.036432016640901566, -0.07416822761297226, 0.021068653091788292, 0.03854164481163025, 0.010771212168037891, 0.023431608453392982, 0.05914492532610893, 0.008521758019924164, -0.0029022162780165672, -0.03513707220554352, 0.030464760959148407, -0.005165798123925924, -0.04372825101017952, -0.00511303823441267, 0.008444825187325478, -0.030037280172109604, 0.02137054316699505, -0.027263959869742393, -0.0255204476416111, 0.019299890846014023, -0.009111840277910233, -0.01452720258384943, 0.02017420157790184, -0.023210851475596428, 0.0028840249869972467, -0.0005852702306583524, 0.06312398612499237, 0.029494835063815117, 0.021455936133861542, 0.024294553324580193, -0.022022031247615814, 0.0020395133178681135, -0.03037232905626297, 0.009818238206207752, -0.038129959255456924, 0.025043992325663567, -0.013429459184408188, 0.031004276126623154, 0.05248444527387619, -0.024872606620192528, -0.007847744040191174, 0.002899135695770383, -0.023600377142429352, 0.008386863395571709, 0.035156115889549255, 0.057989683002233505, 0.024320088326931, -0.007934954017400742, 0.007540835998952389, -0.03717809543013573, 0.021269556134939194, -0.030827373266220093, 0.022305889055132866, -0.007452873513102531, -0.01890207640826702, 0.022453533485531807, 0.03890329971909523, 0.05864013731479645, -0.002655675169080496, -0.004830146674066782, 0.03399687260389328, 0.0008446162100881338, 0.03352624922990799, -0.014626903459429741, 0.025098174810409546, 0.036142416298389435, 0.004738731775432825, 0.02306034415960312, -0.022185344249010086, -0.0425647497177124, 0.008161471225321293, 0.0031849374063313007, -0.027723906561732292, 0.027352064847946167, -0.023173470050096512, 0.02184533141553402, 0.043903958052396774, 0.02401893027126789, 0.044486358761787415, -0.02262002043426037, -0.002459363080561161, -0.02430550567805767, -0.02236747182905674, -0.0064970264211297035, -0.00012763772974722087, -0.04916978254914284, 0.05729798972606659, 0.029421987012028694, 0.01992221176624298, -0.0001523158571217209, 0.021670762449502945, -0.06830202788114548, -0.049860693514347076, -0.0008734536822885275, 0.03627651557326317, 0.005068217404186726, 0.004815836437046528, -0.051616765558719635, -0.03481069579720497, -0.052035510540008545, 0.0030262658838182688, 0.035666804760694504, 0.050143495202064514, 0.041994381695985794, 0.010004508309066296, 0.014859599992632866, 0.01398061029613018, 0.02202746644616127, -0.07874038815498352, -0.038725320249795914, -0.06140724942088127, -0.007233215495944023, 0.004713569302111864, 0.053990546613931656, -0.0003810457419604063, -0.0438639372587204, 0.00977348629385233, -0.04299869015812874, -0.01750306971371174, 0.03123716451227665, 0.01646493189036846, -0.008427493274211884, 0.02152309939265251, -0.017535215243697166, -0.03549706190824509, 0.003232236485928297, -0.007435580249875784, 0.007193936035037041, 0.041112277656793594, -0.008888082578778267, 0.005143197253346443, -0.044914040714502335, 0.009220938198268414, 0.03670283034443855, -0.008968804031610489, 0.022721031680703163, -0.02418767847120762, 0.07221323996782303, 0.005489356815814972, 0.01101161539554596, 0.0018521849997341633, -0.0047283717431128025, 0.03709850460290909, 0.034523360431194305, 0.04630289971828461, 0.07206331193447113, -0.04130535572767258, -0.02613173797726631, 0.039004500955343246, -0.006462464574724436, 0.004238987807184458, -0.013598550111055374, 0.010890229605138302, -0.04455092176795006, 0.020658262073993683, -0.030994946137070656, 0.017199736088514328, 0.03312774375081062, 0.03605836629867554, -0.00023874652106314898, 0.07181770354509354, -0.0029105497524142265, 0.05169535055756569, -0.0349261574447155, 0.012865918688476086, 0.03573621064424515, 0.025615278631448746, 0.008282484486699104, -0.01074631791561842, -0.017166679725050926, 0.025864610448479652, 0.00029827177058905363, -0.03796568512916565, -0.06468313187360764, 0.03731319308280945, -0.0030160986352711916, -0.019392024725675583, -0.007739278953522444, -0.05406973510980606, 0.02774123288691044, -0.0025276076048612595, -0.004809320904314518, 0.037249889224767685, -0.026204952970147133, -0.012735609896481037, -0.013168448582291603, -0.01727466657757759, 0.005023528356105089, 0.024668460711836815, -0.030925067141652107, -0.0005626296624541283, 0.04336918517947197, 0.014170977286994457, 0.02405778504908085, -0.009119703434407711, -0.02581336535513401, -0.015753837302327156, -0.003525744890794158, 0.00563396979123354, -0.060312286019325256, 0.01053497102111578, 0.0036927799228578806, 0.05517587810754776, 0.02176094613969326, -0.00883596669882536, -0.00439890893176198, 0.012660128064453602, 0.02717255800962448, -0.03238464146852493, -0.027149273082613945, -0.009946489706635475, 0.05520665645599365, 0.02508050948381424, 0.0038016317412257195, -0.0026905625127255917, 0.013867182657122612, 0.03212597593665123, -0.012147823348641396, 0.017400115728378296, -0.022834930568933487, -0.027926966547966003, -0.004658759105950594, -0.02255232445895672, -0.002498817862942815, -0.01681068353354931, 0.035600364208221436, 0.037405408918857574, 0.07033485174179077, 0.061827197670936584, -0.0047734566032886505, -0.007637565024197102, -0.016500292345881462, 0.008677538484334946, -0.014411136507987976, -0.011628990061581135, -0.025590158998966217, 0.018915096297860146, 0.02239249460399151, 0.005982938222587109, 0.029901213943958282, 0.027181144803762436, 0.028837738558650017, -0.022785630077123642, -0.025534292683005333, -0.016548700630664825, 0.0066894544288516045, -0.01531053427606821, -0.01099597942084074, -0.020524848252534866, -0.02377861551940441, 0.016205837950110435, -0.024260060861706734, -0.0059629748575389385, 0.04260404407978058, 0.002732417779043317, 0.027527423575520515, -0.04827185720205307, -0.004979168996214867, -0.014144797809422016, -0.000908259826246649, 0.025355549529194832, 0.07082725316286087, 0.023999858647584915, 0.01098588202148676, 0.004097858443856239, 0.035405438393354416, 0.06580506265163422, 0.032337386161088943, -0.04660480096936226, -0.013740464113652706, -0.01635446771979332, -0.03810422495007515, -0.02945343218743801, 0.012186726555228233, 0.042140405625104904, -0.02575736679136753, -0.052846476435661316, -0.0222032330930233, -0.03306178003549576, 0.007083547301590443, 0.0015084074111655354, -0.02789441868662834, 0.016121502965688705, -0.03140803799033165, 0.00782503467053175, -0.04791339486837387, 0.03826547786593437, -0.013995343819260597, 0.0544140450656414, -0.03862345591187477, 0.06223202496767044, -0.027819331735372543, -0.009796468541026115, -0.03405579552054405, 0.009457570500671864, -0.03793792799115181, -0.08278975635766983, -0.005538465455174446, 0.0024515935219824314, 0.07662736624479294, -0.002214096486568451, -0.051228366792201996, 0.021910088136792183, 0.014409196563065052, 0.000859985186252743, -0.01567240245640278, 0.002052903641015291, 0.03380998224020004, 0.007045387756079435, 0.04601410776376724, -0.02446672134101391, 0.04549898952245712, 0.008924455381929874, -0.023333972319960594, -0.022566212341189384, 0.006465489976108074 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
#7: Hexagon Tactics: The Expanding Arena In this game, you are dropped into an arena battle. Defeat your opponents, then upgrade your deck and the arena expands. 🤖 Stable Diffusion 1.5 to generate your own character (executable version of the game). 🎮👉 https://dgeisert.itch.io/hextactics
[ 0.02971142902970314, -0.051661040633916855, 0.02836582437157631, 0.007055916823446751, 0.007435561157763004, 0.09289275854825974, -0.004626595880836248, 0.0757492184638977, -0.05868842080235481, -0.09105241298675537, -0.02509322389960289, -0.014391526579856873, -0.009530175477266312, -0.01982717216014862, 0.03664356470108032, 0.044072072952985764, -0.0357092060148716, -0.011424710974097252, -0.048564840108156204, -0.05545303225517273, -0.006819670554250479, 0.01871691830456257, 0.09174329787492752, 0.010782198049128056, 0.0072136144153773785, 0.001596149057149887, -0.01224467996507883, 0.06378098577260971, 0.020067360252141953, -0.029594026505947113, -0.048709578812122345, -0.07484479993581772, -0.026075929403305054, -0.08833606541156769, 0.004325227811932564, 0.05856471136212349, -0.016958879306912422, -0.0026236113626509905, 0.023479612544178963, -0.09383539855480194, 0.02227874845266342, 0.012724927626550198, -0.0014447446446865797, 0.057473234832286835, 0.07423430681228638, -0.009855830110609531, -0.14483563601970673, 0.05805430933833122, -0.10106320679187775, -0.053384993225336075, -0.02273227460682392, 0.01182969007641077, -0.004407784901559353, -0.018418103456497192, 0.03469765558838844, 0.03328920900821686, 0.006374920718371868, 0.0357169471681118, 0.011136340908706188, 0.06516753137111664, 0.08832649886608124, 0.028955619782209396, -0.024388542398810387, 0.03573060408234596, 0.05363880842924118, -0.010997826233506203, 0.051943399012088776, 0.026788407936692238, -0.06994280219078064, -0.09656105190515518, -0.017460931092500687, -0.005823743529617786, -0.039038028568029404, -0.05137840285897255, 0.04145530238747597, -0.03195885196328163, -0.025325655937194824, 0.06482917815446854, 0.0367518775165081, -0.056171566247940063, 0.027721025049686432, 0.04629378020763397, 0.03146176412701607, 0.031658854335546494, -0.020759472623467445, 0.004619735758751631, -0.0379333421587944, 0.04826590046286583, -0.0767180472612381, 0.010205542668700218, 0.05089633911848068, -0.12905552983283997, 0.02218957245349884, 0.0003987317031715065, -0.022839123383164406, 0.04702652618288994, -0.03166487440466881, 0.012549079023301601, 0.04677361994981766, 0.06325819343328476, 0.020604638382792473, -0.02886199951171875, 0.03477536141872406, -0.10765185952186584, -0.03717350959777832, 0.0683477446436882, 0.032924361526966095, -0.03688089922070503, -0.06809426099061966, 0.060926634818315506, 0.021111471578478813, -0.08575490862131119, 0.09824258834123611, 0.0048140245489776134, 0.00041381295886822045, 0.07931717485189438, -0.0366174653172493, 0.04479381814599037, 0.008836268447339535, 0.059562474489212036, 0.05587800592184067, 0.05171280726790428, 0.020028669387102127, 0.05726908519864082, -0.01005818136036396, 0.03996320813894272, 0.021027183160185814, -0.04880328103899956, -0.03291171416640282, -0.09875479340553284, -0.018736574798822403, -0.03491581603884697, -0.025683138519525528, -0.03222271800041199, 0.028665728867053986, -0.046420443803071976, -0.0048136222176253796, -0.0024410325568169355, 0.006993685849010944, -0.03575926646590233, 0.004694625269621611, -0.0051469323225319386, 0.06397785991430283, 0.08711020648479462, -0.03703228756785393, -0.05298900604248047, -0.01050037145614624, -0.0735282227396965, -0.019848225638270378, 0.007425991352647543, -0.01855880580842495, -0.013616476207971573, -0.01705704629421234, -0.013615741394460201, 0.018044939264655113, 0.07423917204141617, -0.06094454228878021, -0.040487140417099, -0.021635541692376137, -0.004646555986255407, 0.020048392936587334, -0.02421380765736103, 0.029854485765099525, -0.01474257092922926, 0.05396869033575058, -0.04728395864367485, 0.05504892021417618, 0.0335242785513401, -0.026846889406442642, -0.06622643768787384, 0.011833171360194683, -0.024034995585680008, 0.0103690717369318, 0.017746804282069206, 0.018484454602003098, 0.08918079733848572, 0.009519842453300953, 0.09107033908367157, 0.041852109134197235, 0.012718431651592255, -0.019973140209913254, -0.004104597959667444, 0.004095013719052076, 0.011053910478949547, -0.0017205409239977598, -0.10509588569402695, 0.006144233047962189, 0.029858237132430077, 0.0790453553199768, 0.003014618530869484, -0.061399057507514954, 0.016368679702281952, 0.07891146093606949, -0.005987545009702444, 0.02538708597421646, -0.0031912890262901783, -0.012698058038949966, 0.025817040354013443, 0.0233918447047472, 0.009302088990807533, -0.015046392567455769, -0.008349010720849037, -0.013974812813103199, 0.004631714895367622, -0.031091535463929176, -0.025335729122161865, -0.029129229485988617, -0.006991918198764324, -0.047867320477962494, -0.03747861832380295, -0.0375182181596756, -0.010888710618019104, 0.07038874179124832, -0.07069016993045807, 0.022133586928248405, -0.02605840004980564, -0.024888833984732628, -0.04796364903450012, 0.008500097319483757, -0.07922481745481491, 0.0382656492292881, -0.001485354732722044, -0.011477123945951462, 0.008011728525161743, -0.0012924650218337774, 0.1040087640285492, 0.04168574512004852, 0.01632111705839634, 0.0612504705786705, -0.11784838140010834, 0.03773806616663933, -0.06069827452301979, -0.046512458473443985, -0.021523505449295044, 0.05275143310427666, -0.05413367971777916, 0.13345864415168762, -0.06817518174648285, 0.0634387955069542, -0.11153268069028854, 0.013290714472532272, -0.04749070480465889, 0.02934764139354229, -0.022058911621570587, 0.023380262777209282, 0.03663939610123634, -0.00655667157843709, 0.03843584284186363, -0.019603906199336052, 0.00024283473612740636, -0.05488802120089531, 0.030614353716373444, -0.016131114214658737, -0.0792907252907753, 0.044186949729919434, -0.02492241933941841, 0.022047659382224083, -0.030701033771038055, -0.02371983230113983, 0.020507073029875755, -0.017735153436660767, -0.031145229935646057, -0.01048414595425129, 0.01392796915024519, 0.02190280146896839, -0.008965161629021168, 0.023937489837408066, 0.028482677415013313, 0.010399273596704006, -0.050848670303821564, -0.03870216757059097, -0.011341354809701443, -0.0046726129949092865, -0.05594460666179657, 0.01923695020377636, -0.031085539609193802, 0.04433228448033333, -0.04517656937241554, -0.010470851324498653, 0.024366356432437897, 0.0018853888614103198, 0.012335472740232944, 0.020849963650107384, 0.030797207728028297, 0.007490102201700211, 0.03271638974547386, 0.029492788016796112, 0.011651248671114445, -0.002050976501777768, -0.012979928404092789, -0.0069573866203427315, 0.04239582270383835, -0.006115482654422522, -0.002852456411346793, 0.06057186424732208, 0.012529345229268074, 0.029919445514678955, 0.014458470046520233, 0.03278309851884842, 0.0339202843606472, 0.03278549388051033, -0.000860362546518445, -0.0006291070021688938, 0.052225664258003235, 0.0254447590559721, 0.03162417560815811, 0.004236926324665546, 0.0021532161626964808, -0.08792787790298462, -0.00212643900886178, -0.016599848866462708, 0.0700434222817421, -0.05171101167798042, -0.056701142340898514, -0.02924254722893238, -0.0017100432887673378, -0.010282674804329872, 0.04965595155954361, -0.00047354528214782476, 0.011443554423749447, 0.016306204721331596, 0.0011721919290721416, -0.02094932086765766, 0.008816169574856758, 0.02520722895860672, 0.004286279436200857, 0.011708193458616734, 0.018436402082443237, -0.029706232249736786, 0.0407087467610836, 0.024266794323921204, 0.0006763970013707876, 0.003963974304497242, 0.011011158116161823, -0.008431762456893921, 0.06413872539997101, 0.008316592313349247, -0.04934641346335411, -0.0010741713922470808, 0.0569557249546051, -0.00517445569857955, 0.033922016620635986, -0.028560249134898186, -0.045190755277872086, 0.005763651803135872, 0.04236890748143196, -0.011491525918245316, -0.003935614600777626, -0.03146294131875038, 0.031141187995672226, -0.019377468153834343, 0.022245042026042938, 0.009701728820800781, -0.06465204060077667, 0.02830667421221733, 0.034226275980472565, 0.02792840264737606, -0.028192196041345596, 0.02862362191081047, -0.0050907013937830925, -0.006007995456457138, 0.008877255953848362, -0.002751594176515937, 0.04683808609843254, 0.004108039196580648, 0.03986998647451401, 0.03300357609987259, -0.04540465772151947, -0.019475622102618217, -0.01582018844783306, -0.006586983799934387, -0.01928653195500374, 0.018687888979911804, -0.01711471937596798, -0.005470546893775463, 0.0037481850013136864, -0.01728953793644905, 0.03978085145354271, -0.0013679185649380088, 0.0044156829826533794, 0.01994388923048973, 0.004748774692416191, 0.0033120051957666874, 0.022285817191004753, -0.07684291899204254, 0.002149755833670497, 0.06410171091556549, 0.020864909514784813, -0.021993152797222137, -0.03873799368739128, -0.007668012287467718, -0.03119068220257759, -0.0005220131715759635, 0.017296727746725082, 0.051358286291360855, -0.019492117688059807, 0.0023834570311009884, 0.003379896515980363, 0.05031072720885277, -0.019449640065431595, 0.0486590676009655, 0.021418891847133636, 0.049103498458862305, 0.04661916196346283, -0.017366673797369003, 0.014090348966419697, 0.023701174184679985, 0.002784940879791975, 0.051779042929410934, -0.06757029891014099, -0.026482252404093742, -0.0220634788274765, -0.0013759710127487779, 0.04412797465920448, -0.01880105584859848, -0.04511917009949684, 0.005131027661263943, 0.014745637774467468, 0.038788795471191406, -0.02678687497973442, -0.015073802322149277, -0.016030069440603256, -0.025841742753982544, 0.003342913929373026, 0.017260052263736725, -0.013573406264185905, -0.00007417115557473153, 0.016514776274561882, -0.0005720913177356124, 0.024166272953152657, 0.004738663323223591, -0.014416935853660107, 0.0006724163540638983, 0.04290390387177467, 0.00959977600723505, 0.007237330544739962, 0.008269818499684334, -0.0257259551435709, -0.02208433300256729, -0.04365280270576477, 0.008136061020195484, 0.07972978055477142, 0.020978108048439026, 0.01034112460911274, -0.036963000893592834, 0.030988646671175957, -0.022338982671499252, -0.048834849148988724, 0.03250383585691452, 0.009130991995334625, 0.08106064796447754, -0.02415892295539379, 0.01532813161611557, -0.0031448216177523136, -0.018920132890343666, 0.026196883991360664, 0.00639260234311223, 0.054234158247709274, 0.02338104322552681, 0.01897755078971386, 0.03511360287666321, 0.02558336779475212, 0.02510114200413227, 0.00010568610014161095, -0.036958690732717514, -0.028854014351963997, -0.0032925582490861416, 0.002179487142711878, -0.01588837429881096, 0.0010028064716607332, 0.005536247510462999, 0.011778444051742554, 0.018722787499427795, -0.023097408935427666, 0.02711314521729946, -0.043168652802705765, -0.0031243644189089537, -0.030307020992040634, 0.007072220556437969, 0.0035083135589957237, -0.03000928834080696, -0.018890077248215675, 0.01892695389688015, -0.02872580476105213, 0.02894001454114914, -0.0069809239357709885, -0.052876729518175125, -0.03383176773786545, -0.006514308042824268, -0.009659760631620884, 0.038508251309394836, 0.0005909022875130177, 0.0078029935248196125, 0.04331094026565552, -0.010759654454886913, 0.007212680298835039, 0.0037063099443912506, 0.028934389352798462, 0.03147721663117409, 0.01804460771381855, -0.01883894018828869, -0.025799505412578583, -0.0010051236022263765, 0.005205456633120775, -0.02959824539721012, -0.02585248462855816, 0.04465975984930992, 0.002463908400386572, 0.040057647973299026, 0.011576732620596886, 0.03027140349149704, -0.015819085761904716, 0.01758662238717079, -0.0004642013518605381, 0.00748622277751565, 0.007779230363667011, 0.0025080356281250715, -0.03064822219312191, -0.03317878767848015, 0.006166602019220591, -0.062094759196043015, -0.05836476385593414, -0.07346781343221664, -0.019082728773355484, 0.008364143781363964, 0.005733485799282789, -0.05997824668884277, 0.04051623493432999, -0.018577484413981438, -0.030731508508324623, 0.059238795191049576, 0.030293582007288933, -0.05120345577597618, -0.034100182354450226, -0.02814193069934845, -0.06155373901128769, -0.010790894739329815, -0.012163782492280006, 0.03714589402079582, -0.014126711525022984, 0.014431504532694817, 0.019632380455732346, -0.03226553276181221, -0.015445644967257977, -0.03703087568283081, 0.05947763845324516, 0.04809649661183357, 0.022928552702069283, 0.011582763865590096, 0.004681037738919258, -0.020150108262896538, 0.00039506860775873065, -0.0003062643518205732, 0.02408985234797001, 0.06655757129192352, 0.02475680410861969, -0.02915075235068798, 0.007953773252665997, -0.048282552510499954, -0.005052746273577213, -0.004130925051867962, -0.04759154096245766, -0.02476150169968605, -0.04326918348670006, 0.0014898946974426508, 0.04013989493250847, 0.0000313000928144902, -0.02586936578154564, 0.0003661503433249891, -0.03143882378935814, 0.04538003355264664, 0.02664359286427498, -0.03975813090801239, 0.015948094427585602, 0.03430671617388725, -0.04424424469470978, -0.020488401874899864, 0.0424267053604126, -0.02576838806271553, 0.018202107399702072, 0.06542733311653137, 0.011423950083553791, -0.007078816182911396, 0.013973850756883621, 0.050785403698682785, 0.013765571638941765, -0.003170939162373543, 0.04610172659158707, 0.0013457468012347817, 0.048338863998651505, 0.016002286225557327, -0.020327353850007057, -0.028362609446048737, 0.008821875788271427, -0.017481863498687744, -0.006648436188697815, 0.07547908276319504, 0.00893244706094265, 0.02039385586977005, -0.04402512311935425, 0.0253966823220253, -0.012682481668889523, 0.01951543800532818, 0.02440178394317627, -0.010307432152330875, -0.04276995733380318, 0.04819507151842117, 0.029746316373348236, 0.037071675062179565, 0.020902594551444054, 0.05064142495393753, -0.015356763266026974, 0.02057003602385521, -0.023388583213090897, 0.02327668108046055, -0.02809811383485794, -0.028992770239710808, 0.03170587122440338, -0.016166632995009422, 0.009952249936759472, -0.028332483023405075, -0.014917068183422089, 0.010879842564463615, -0.00246898690238595, 0.00674875732511282, -0.03827507421374321, 0.030343856662511826, -0.038347549736499786, 0.027932768687605858, -0.042284805327653885, -0.02088148333132267, 0.020088084042072296, -0.0039005011785775423, -0.005339859519153833, 0.01104812789708376, 0.00714073283597827, -0.04263472184538841, 0.0009381284471601248, 0.03952831029891968, -0.030994374305009842, -0.0017136995447799563, -0.0024450873024761677, -0.004821755923330784, 0.00626248586922884, 0.012547249905765057, 0.017098329961299896, -0.03090559132397175, -0.06255292147397995, 0.013251351192593575, -0.008308611810207367, 0.015916578471660614, -0.016642069444060326, -0.02708691917359829, -0.010940605774521828, 0.011301835998892784, 0.028589334338903427, -0.06709935516119003, -0.0343061201274395, 0.030311748385429382, 0.024875786155462265, -0.05168742313981056, -0.0043102591298520565, 0.025576068088412285, -0.007166791707277298, -0.045303184539079666, -0.05025417357683182, -0.008394317701458931, -0.014289014972746372, 0.04223651438951492, 0.009721664711833, 0.009721384383738041, -0.04567901790142059, -0.01103478204458952, -0.008713648654520512, -0.025919552892446518, 0.00041337136644870043, -0.0029702242463827133, -0.01044091023504734, -0.02057597041130066, 0.032630033791065216, -0.023344114422798157, 0.0010731768561527133, -0.03866264969110489, 0.0007319289725273848, 0.0483405739068985, -0.018358848989009857, -0.04134298488497734, 0.02365821599960327, 0.008282235823571682, 0.008159156888723373, 0.01453702338039875, 0.013884149491786957, 0.0234957505017519, -0.021003887057304382, 0.031616613268852234, -0.012667510658502579, -0.016793565824627876, 0.034455522894859314, -0.031554609537124634, -0.00783519260585308, -0.01145924162119627, -0.020827308297157288, 0.007361356168985367, 0.01654030941426754, -0.06720063090324402, 0.014613873325288296, 0.003330623498186469, 0.025209270417690277, 0.005724811926484108, -0.007591961417347193, 0.04283258691430092, -0.00011918020027223974, 0.009810199961066246, 0.057741425931453705, -0.04438341036438942, 0.03163744509220123, 0.017829427495598793, 0.0037232250906527042, 0.07778668403625488, -0.004279525019228458, -0.011391177773475647, -0.014589455910027027, -0.014360388740897179, -0.0016204467974603176, -0.028063010424375534, 0.019827909767627716, 0.0038766772486269474, -0.03404697775840759, -0.013175461441278458, 0.03745267167687416, -0.048920512199401855, 0.010830278508365154, -0.01840408705174923, -0.02689538337290287, -0.01701161451637745, 0.02332305535674095, 0.0019175611669197679, -0.0009070140076801181, -0.001358001260086894, -0.004480305127799511, 0.03364969417452812, -0.006162997800856829, 0.021094325929880142, -0.011988098733127117, 0.031936269253492355, -0.05737415701150894, 0.06907674670219421, -0.002171613508835435, -0.041009046137332916, 0.005195466335862875, -0.011654293164610863, 0.022759592160582542, -0.02422892488539219, -0.016040388494729996, -0.008029326796531677, 0.04596789553761482, 0.009379777126014233, -0.03334009647369385, 0.007266430649906397, 0.006207596510648727, 0.04857277497649193, 0.05661911144852638, -0.0037730082403868437, 0.025206642225384712, 0.013608925975859165, -0.01579332910478115, -0.03257771208882332, 0.023874863982200623 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
#9: Apocalypse Expansion In this game, you'll step into the decaying shoes of a zombie, driven by an insatiable hunger for human flesh. Your objective? To build the largest horde of zombies ever seen, while evading the relentless pursuit of the determined police force. 🤖 Used Stable Diffusion to generate the images 🤖 Used MusicGen (melody 1.5B) for the music 🎮👉 https://mad25.itch.io/apocalypse-expansion
[ 0.08090642839670181, -0.007352104876190424, 0.05016778036952019, 0.028208142146468163, -0.005174831487238407, 0.04169682040810585, -0.015317423269152641, 0.041801948100328445, -0.045056913048028946, -0.07780487090349197, -0.04993778094649315, -0.07197090238332748, -0.06207048147916794, 0.06984085589647293, 0.13047932088375092, 0.07088512927293777, 0.001878030365332961, -0.047259021550416946, -0.03761715069413185, -0.019658884033560753, -0.04908918961882591, 0.026610512286424637, 0.07904177159070969, 0.0062448205426335335, -0.001603243756107986, 0.021892180666327477, 0.024845680221915245, 0.03314598649740219, -0.04474518075585365, -0.037522077560424805, -0.03746873885393143, -0.03185669705271721, -0.025874486193060875, -0.06924568116664886, -0.02257099188864231, 0.07931898534297943, -0.06530765444040298, 0.01635386422276497, 0.040033113211393356, -0.056524116545915604, -0.009884105995297432, 0.013791434466838837, -0.09112928807735443, 0.07764368504285812, 0.04452943056821823, 0.03239955008029938, -0.18245181441307068, 0.044666219502687454, -0.14782434701919556, -0.02975357696413994, -0.031215902417898178, 0.04461318254470825, -0.027446361258625984, -0.008237503468990326, 0.03418727591633797, -0.013035910204052925, 0.021851444616913795, -0.007035519927740097, 0.04553455859422684, 0.04152463376522064, 0.06013672426342964, -0.004417886026203632, 0.054082613438367844, -0.04339681938290596, 0.00852938275784254, 0.01650843396782875, 0.0016707978211343288, 0.06076729670166969, -0.0324455201625824, -0.05951101705431938, 0.02887352555990219, -0.044385723769664764, -0.12588149309158325, -0.06642397493124008, -0.006941258907318115, -0.06785540282726288, 0.021965835243463516, 0.019661979749798775, -0.02220202423632145, 0.013362446799874306, 0.008408969268202782, -0.00877049844712019, 0.16380378603935242, -0.02798565663397312, -0.024827374145388603, -0.027988038957118988, 0.01553266029804945, 0.0118173286318779, -0.06291715055704117, 0.03094533644616604, 0.04407990723848343, -0.055868204683065414, 0.019044365733861923, -0.044035207480192184, -0.027619697153568268, -0.008925450034439564, -0.07664763182401657, -0.043406177312135696, 0.009039271622896194, 0.10821258276700974, 0.017686467617750168, -0.03996428847312927, -0.016930000856518745, -0.06432550400495529, -0.06233889237046242, 0.03250477463006973, -0.029398582875728607, -0.01851307600736618, -0.007542078383266926, -0.023177755996584892, 0.030268589034676552, -0.06352284550666809, -0.0108937444165349, -0.0647781565785408, 0.04480587691068649, 0.06776615977287292, -0.030809106305241585, 0.008834831416606903, -0.0308048315346241, 0.020636307075619698, -0.02206413634121418, -0.013813801109790802, 0.05034828558564186, 0.008762846700847149, -0.017083683982491493, -0.027458418160676956, -0.03187675401568413, -0.04239127039909363, -0.04741056635975838, -0.015022646635770798, 0.019477110356092453, -0.003286171704530716, -0.07246247678995132, -0.020498765632510185, 0.054186344146728516, -0.06486085057258606, -0.03304621949791908, 0.033514827489852905, 0.018298782408237457, 0.013380422256886959, -0.05378439277410507, -0.0445362813770771, 0.053039658814668655, 0.07184381783008575, 0.00026452617021277547, -0.04822841286659241, -0.041209395974874496, -0.018709059804677963, -0.03642938658595085, 0.04449188709259033, 0.0034418285358697176, 0.01163848489522934, 0.014727005735039711, -0.1114673763513565, -0.0072320606559515, 0.08508579432964325, -0.04107977822422981, -0.06574796885251999, 0.001937178778462112, -0.05218060687184334, 0.03528183698654175, 0.06242549419403076, 0.03131696581840515, 0.04635726287961006, 0.06769207864999771, -0.002196304500102997, 0.05812619999051094, 0.012901765294373035, -0.005321995355188847, -0.05505857989192009, 0.02141609601676464, -0.01351142581552267, 0.03657560795545578, -0.0017653043614700437, 0.0350329615175724, 0.06217465549707413, 0.0704280212521553, 0.043348684906959534, -0.00720226252451539, 0.0020421224180608988, -0.0640454813838005, 0.03527717664837837, 0.043165601789951324, 0.011824717745184898, 0.04248218610882759, -0.06394673138856888, -0.030329832807183266, 0.020876504480838776, 0.023526685312390327, -0.04358967766165733, 0.003293907269835472, -0.009765228256583214, 0.016966503113508224, -0.03306750953197479, -0.01272393949329853, -0.04828622192144394, -0.05754605308175087, -0.014810536988079548, 0.07135728001594543, 0.01630648970603943, -0.0030862304847687483, 0.007313193287700415, 0.02833554893732071, 0.018443303182721138, -0.046758539974689484, -0.0614553801715374, 0.030818218365311623, -0.03692856431007385, -0.01433915738016367, -0.05241665989160538, -0.0007708396296948195, -0.04691953957080841, 0.027541177347302437, -0.06940866261720657, 0.05535935238003731, -0.020345473662018776, -0.05928979814052582, -0.02687976323068142, 0.01356195006519556, -0.06966643035411835, 0.039113931357860565, -0.002475846093147993, -0.0745902881026268, -0.038202207535505295, -0.01117363665252924, 0.044530726969242096, 0.04615302383899689, 0.016531359404325485, 0.11863983422517776, -0.1023925319314003, 0.010585992597043514, 0.010189284570515156, -0.019980506971478462, 0.030161650851368904, 0.02913738042116165, 0.02385871484875679, 0.05126878619194031, -0.03560801222920418, 0.007988936267793179, -0.05204426497220993, 0.026995448395609856, -0.0709620788693428, 0.005971115548163652, 0.0034478188026696444, -0.004925388842821121, -0.0725041851401329, 0.02638115920126438, 0.06235039606690407, -0.007469373755156994, 0.04740196838974953, -0.016595901921391487, 0.06414990872144699, -0.03755893558263779, 0.0149240642786026, 0.02141370251774788, 0.0047659724950790405, 0.019726738333702087, -0.041680265218019485, 0.004235861357301474, 0.019309096038341522, 0.0024840303231030703, -0.009645916521549225, 0.010616786777973175, -0.0035335728898644447, -0.002338381251320243, 0.021494019776582718, -0.008840171620249748, 0.04189777001738548, 0.006959910038858652, 0.015912435948848724, -0.011713998392224312, 0.024318836629390717, -0.004627865273505449, -0.01031334325671196, -0.022956065833568573, -0.027703506872057915, 0.08762221038341522, -0.020655926316976547, 0.005870325490832329, -0.039092130959033966, 0.015951432287693024, -0.001426928211003542, 0.02950529381632805, 0.007976307533681393, 0.008160613477230072, -0.0061805653385818005, 0.04913794621825218, 0.03695710748434067, -0.02573256567120552, 0.0023130588233470917, 0.007288294844329357, 0.01754578948020935, -0.0016015282599255443, -0.007765280082821846, 0.036513421684503555, -0.010159790515899658, -0.005865160841494799, 0.022190995514392853, -0.03976771980524063, 0.011485164985060692, 0.004636343102902174, -0.009701180271804333, -0.01271683070808649, -0.0029383355285972357, -0.02922126092016697, -0.004297221079468727, 0.03341072425246239, 0.037902187556028366, -0.09584388136863708, 0.015897957608103752, 0.022171806544065475, 0.020290479063987732, -0.047147415578365326, -0.012466068379580975, 0.020388644188642502, 0.0001571995235281065, -0.0006946740904822946, -0.014652692712843418, -0.002306129550561309, 0.015406494028866291, 0.0026182462461292744, -0.012850815430283546, -0.021029846742749214, -0.006365593988448381, 0.018014924600720406, 0.0361383892595768, 0.004790235310792923, 0.011333784088492393, -0.022555306553840637, 0.04190768674015999, -0.01506342738866806, 0.017969440668821335, 0.011844177730381489, 0.026199646294116974, 0.02831261232495308, 0.059013731777668, -0.015943558886647224, -0.0013457628665491939, 0.011957203969359398, -0.03932834044098854, 0.010421385057270527, 0.011223436333239079, -0.009725520387291908, 0.033467601984739304, 0.0159872155636549, 0.0059184180572628975, -0.031642988324165344, -0.01519297156482935, -0.018531978130340576, 0.005072202533483505, 0.025847462937235832, 0.04328565299510956, 0.044973812997341156, -0.04381133243441582, -0.030061624944210052, 0.007719873916357756, 0.022080298513174057, -0.03484195098280907, 0.00034369813511148095, -0.01604650355875492, 0.03020232915878296, 0.009294327348470688, -0.004811692517250776, -0.011951131746172905, 0.0431118942797184, 0.0509326308965683, 0.06151682138442993, -0.023368122056126595, 0.007572122383862734, -0.009261931292712688, 0.007018224336206913, -0.009028277359902859, 0.03471776098012924, -0.017229583114385605, 0.043380558490753174, 0.02723095379769802, -0.019811751320958138, 0.03307945653796196, 0.03639781102538109, -0.0013293033698573709, 0.022408535704016685, 0.0030799666419625282, -0.02139626070857048, -0.007944898679852486, -0.01393063273280859, -0.004166873171925545, 0.040269557386636734, 0.04523337259888649, 0.024262256920337677, -0.017915546894073486, -0.03225128352642059, -0.015528089366853237, 0.0427909716963768, 0.019040562212467194, 0.05580257624387741, -0.035598739981651306, -0.022449728101491928, 0.019497636705636978, 0.01850728504359722, -0.02397278882563114, 0.06347282975912094, -0.008783630095422268, 0.020327206701040268, 0.022919919341802597, 0.002258958062157035, 0.008448219858109951, -0.002114304807037115, 0.001982189482077956, 0.04692104086279869, -0.03256963565945625, -0.03214000165462494, -0.0020198568236082792, -0.02452824078500271, -0.012646328657865524, -0.015149179846048355, -0.00011199355503777042, 0.04531984031200409, -0.007704663556069136, 0.015077580697834492, -0.00152684620115906, 0.008307334035634995, -0.025319524109363556, -0.0014801450306549668, 0.021775003522634506, -0.003986391704529524, -0.04658745601773262, -0.03157321736216545, -0.014978007413446903, 0.0028123713564127684, 0.007535683456808329, -0.028246145695447922, 0.019826503470540047, 0.017942437902092934, 0.073672354221344, 0.054297640919685364, 0.0034851457457989454, 0.01516810618340969, -0.004877180326730013, 0.01218331791460514, -0.040446676313877106, -0.03595530241727829, 0.049421388655900955, 0.03581240400671959, 0.02507605217397213, -0.013883935287594795, 0.038880784064531326, -0.035319820046424866, -0.017712557688355446, 0.029031965881586075, -0.026107070967555046, 0.04968180134892464, -0.006977947894483805, -0.01641869731247425, -0.013778851367533207, 0.030403999611735344, 0.010088438168168068, 0.012829538434743881, -0.0188358835875988, 0.026739975437521935, 0.004153958987444639, -0.01426025666296482, 0.008165938779711723, 0.03315327316522598, -0.021528586745262146, -0.04435453191399574, -0.024675387889146805, -0.007700650952756405, -0.022538157179951668, 0.025090545415878296, -0.009267313405871391, -0.02205800451338291, 0.06433086097240448, -0.021223336458206177, 0.010357500985264778, 0.029837727546691895, -0.06120061129331589, 0.03627898544073105, -0.018532302230596542, 0.037692535668611526, 0.017375795170664787, -0.02825998328626156, 0.026939913630485535, -0.008822291158139706, -0.045630842447280884, 0.008967327885329723, 0.049116797745227814, -0.03072798065841198, 0.0011350400745868683, 0.0004567090072669089, 0.003933495841920376, 0.0031872238032519817, -0.01839042641222477, 0.013367941603064537, 0.08720158785581589, -0.012895887717604637, 0.0533074289560318, 0.007492245174944401, -0.012836799025535583, -0.028637336567044258, 0.013437880203127861, -0.004592458717525005, -0.02232530526816845, 0.03829175978899002, -0.0005121591384522617, 0.03876195847988129, -0.008106609806418419, 0.003624584758654237, 0.01982254534959793, 0.054282668977975845, -0.01968301273882389, -0.018843475729227066, 0.00395645247772336, 0.015097398310899734, 0.009174315258860588, 0.02404574491083622, -0.04461640119552612, 0.0023686180356889963, -0.012411398813128471, -0.0012671647127717733, 0.00019261674606241286, -0.027412330731749535, -0.015634603798389435, -0.0666942149400711, -0.03669041767716408, 0.0317307785153389, 0.030611049383878708, -0.010846110992133617, 0.018988413736224174, -0.0008444185368716717, 0.04885502904653549, 0.034342098981142044, 0.01558611262589693, -0.014650818891823292, 0.006187083199620247, -0.02868426777422428, 0.012030164711177349, -0.013209227472543716, 0.020367180928587914, 0.05771740525960922, -0.004002871923148632, 0.03817075118422508, 0.03645985573530197, 0.00007091370935086161, -0.0212123803794384, -0.02330206148326397, 0.034454360604286194, 0.014034871011972427, 0.04766889661550522, -0.0270257405936718, 0.02369653806090355, -0.0267779678106308, -0.03269222378730774, 0.062401920557022095, -0.015486965887248516, 0.013987542130053043, 0.020554449409246445, -0.018858175724744797, -0.002017043298110366, 0.02043059840798378, 0.012094918638467789, -0.03031192719936371, -0.05072909593582153, -0.03721651807427406, 0.019124655053019524, 0.061401717364788055, -0.010641675442457199, 0.015505866147577763, -0.05004134401679039, -0.00028552781441248953, -0.003722259309142828, 0.07913246750831604, 0.016911419108510017, 0.00041957313078455627, 0.034629713743925095, 0.026250815019011497, -0.06656006723642349, 0.006440194323658943, 0.011066824197769165, -0.050645727664232254, 0.011728289537131786, 0.024983162060379982, 0.02219315618276596, 0.02943873591721058, -0.024027854204177856, 0.009953245520591736, 0.0414375439286232, -0.012011720798909664, 0.025684945285320282, -0.01961556449532509, 0.04434461146593094, -0.015710510313510895, 0.01576068066060543, -0.001307986443862319, -0.009014539420604706, 0.036727696657180786, -0.004283426329493523, 0.0873696431517601, 0.00241551804356277, -0.0451168417930603, -0.0005712006241083145, 0.024291399866342545, 0.019521834328770638, -0.019654778763651848, 0.016695184633135796, -0.043735697865486145, -0.05526139959692955, 0.0036924746818840504, 0.0073241302743554115, 0.03001047670841217, 0.030214715749025345, 0.06385432928800583, -0.006205550394952297, 0.03493766859173775, -0.025600802153348923, 0.019303059205412865, 0.012073026038706303, 0.04152753949165344, 0.05820246413350105, 0.032885778695344925, 0.028582105413079262, -0.04475861415266991, 0.014905957505106926, 0.03064850904047489, 0.02754274196922779, -0.015355235897004604, -0.04658303037285805, 0.05027331784367561, -0.02529524452984333, -0.009705852717161179, -0.024336330592632294, 0.02202659845352173, 0.03671732172369957, -0.0009434600942768157, -0.02322140522301197, 0.029372921213507652, -0.014721332117915154, -0.03173272684216499, -0.025843355804681778, -0.00424745911732316, -0.024174770340323448, -0.007326622027903795, -0.006360013037919998, -0.05103613808751106, 0.021032892167568207, 0.03741415590047836, 0.03807941824197769, -0.022801490500569344, -0.013522237539291382, -0.014591562561690807, 0.005421222187578678, -0.05639660358428955, -0.01668504998087883, 0.028374619781970978, -0.017107181251049042, 0.017908867448568344, -0.012641738168895245, -0.0033340502995997667, 0.013864264823496342, -0.000986469560302794, 0.0011810828000307083, 0.009041397832334042, 0.0071928370743989944, 0.013526392169296741, 0.005199268460273743, -0.01887357048690319, -0.018601546064019203, 0.01235729269683361, -0.020979754626750946, 0.005013024900108576, -0.005892865359783173, 0.024775391444563866, -0.025738393887877464, 0.012007289566099644, 0.00806440319865942, -0.06122000515460968, 0.015285364352166653, -0.009185748174786568, 0.03258233517408371, -0.010718559846282005, -0.023102616891264915, -0.004784105811268091, 0.010774132795631886, 0.011454368010163307, -0.03777169808745384, -0.01664132811129093, 0.05955694243311882, -0.05424322932958603, 0.062480777502059937, 0.020482394844293594, 0.011721746064722538, 0.009723035618662834, 0.006783442106097937, 0.05214949697256088, -0.011948606930673122, 0.007746363990008831, 0.019765373319387436, 0.027959123253822327, 0.019222738221287727, -0.04432553052902222, 0.00812776293605566, -0.038695961236953735, -0.023605432361364365, -0.014581321738660336, -0.01722961664199829, -0.04220910370349884, 0.011417874135077, -0.03083397075533867, -0.006958523765206337, -0.020652547478675842, 0.024638773873448372, -0.010375401936471462, 0.0014729603426530957, 0.005159740336239338, 0.01191427931189537, -0.023683084174990654, 0.0004987521679140627, -0.0033756725024431944, 0.07592303305864334, 0.06165843829512596, 0.00834844633936882, -0.05062970146536827, -0.01562502421438694, -0.01738244853913784, 0.009071671403944492, -0.06733489036560059, -0.026059012860059738, 0.011280816048383713, -0.10475829243659973, -0.0015938719734549522, -0.0057188062928617, -0.04296346381306648, -0.00460466556251049, 0.014102950692176819, -0.05682706832885742, -0.02910490334033966, -0.039761826395988464, 0.015433634631335735, 0.03924849256873131, 0.0015970573294907808, 0.006535767577588558, 0.030381178483366966, -0.025382669642567635, 0.05408554896712303, -0.004463735036551952, 0.04698706045746803, -0.023004114627838135, -0.019316155463457108, 0.00038319375016726553, -0.042100224643945694, 0.0021379475947469473, -0.0026877408381551504, 0.03225746005773544, -0.01831609010696411, 0.020170141011476517, -0.02249787002801895, 0.04417835548520088, -0.0038030773866921663, -0.017287924885749817, 0.03336072340607643, -0.0019600919913500547, 0.04638313502073288, 0.02263382077217102, -0.03678915649652481, 0.059634383767843246, 0.05490966886281967, 0.02470926195383072, -0.016938015818595886, 0.014136802405118942 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
#10: Singularity This demo is a conceptual demonstration of what could soon be the generation of experiences/games in the near future. 🤖 Used Stable Diffusion 🎮👉 https://ilumine-ai.itch.io/dreamlike-hugging-face-open-source-ai-game-jam In addition to this top 10, don't hesitate to check the other amazing games (Ghost In Smoke, Outopolis, Dungeons and Decoders...). You can find the whole list here 👉 https://itch.io/jam/open-source-ai-game-jam/entries --- The first-ever Open Source AI Game Jam proved to be an astounding success, exceeding our expectations in terms of community engagement and the quality of games produced. The overwhelming response has reinforced our belief in the potential of open-source AI tools to revolutionize the gaming industry. We are eager to continue this initiative and plan to host more sessions in the future, providing game developers with an opportunity to showcase their skills and explore the power of AI in game development. For those interested in AI for games, we have compiled a list of valuable resources, including AI tools for game development and tutorials on integrating AI into game engines like Unity: - Compilation of AI tools for Game Dev - How to install the Unity Hugging Face API: https://huggingface.co/blog/unity-api - AI Speech Recognition in Unity: https://huggingface.co/blog/unity-asr - Making ML-powered web games with Transformers.js: https://huggingface.co/blog/ml-web-games - Building a smart Robot AI using Hugging Face 🤗 and Unity: https://thomassimonini.substack.com/p/building-a-smart-robot-ai-using-hugging To stay connected and stay updated on future events, feel free to drop by our Discord server, where you can find channels dedicated to exchanging ideas about AI for games. Join our Discord Server 👉 https://hf.co/join/discord Thank you to all the participants, contributors, and supporters who made this event a memorable success!
[ 0.0364278182387352, -0.10438993573188782, 0.0807618573307991, -0.03216925263404846, -0.013071629218757153, 0.03775234520435333, 0.03651838004589081, 0.10014885663986206, -0.03823450580239296, -0.11317478865385056, -0.04140426591038704, 0.004196604248136282, -0.0020011693704873323, 0.05906655266880989, 0.0452677346765995, -0.012197962030768394, -0.01183545682579279, 0.0009711876045912504, -0.03008514642715454, -0.016879120841622353, -0.041986238211393356, 0.07645345479249954, 0.006104226689785719, 0.00558216217905283, -0.008563833311200142, -0.03547997772693634, 0.012613756582140923, 0.001834846567362547, -0.04303382709622383, -0.01730993576347828, -0.09892090409994125, -0.03631775826215744, -0.007686618249863386, -0.04115939140319824, -0.026567939668893814, 0.03347373753786087, -0.057760052382946014, 0.056041911244392395, 0.004398917779326439, -0.03888251259922981, 0.03254135325551033, 0.005935627035796642, -0.06509935855865479, 0.034061383455991745, 0.04286457970738411, -0.015659086406230927, -0.15180864930152893, 0.07015410810709, -0.10299593210220337, 0.029309799894690514, -0.06441512703895569, 0.02267366088926792, 0.030327418819069862, -0.03826042264699936, -0.007874068804085255, 0.00022035794972907752, 0.062217339873313904, -0.07118718326091766, -0.023373762145638466, 0.07621162384748459, 0.0816233903169632, 0.0027848544996231794, 0.030268965288996696, -0.002282612258568406, 0.055010732263326645, 0.017348967492580414, -0.01168723963201046, 0.049322836101055145, -0.10563365370035172, -0.039059024304151535, 0.02804603800177574, -0.03112451545894146, -0.052977751940488815, -0.027476133778691292, 0.03688894212245941, -0.02072741650044918, -0.00006599405605811626, 0.08753567934036255, 0.03302039951086044, 0.00012942220200784504, 0.005680155009031296, -0.0077037569135427475, 0.12596361339092255, -0.03288419544696808, -0.010112647898495197, 0.025998707860708237, 0.03275449201464653, -0.0017937000375241041, -0.06859157979488373, 0.07445007562637329, 0.03693648427724838, -0.1043681725859642, 0.03580987825989723, 0.005051820073276758, 0.03991979360580444, 0.03126697242259979, -0.03361480310559273, 0.010918717831373215, -0.03389349207282066, 0.053404007107019424, 0.017393607646226883, -0.0784447193145752, -0.009593509137630463, -0.07595139741897583, -0.049574919044971466, 0.08281120657920837, 0.020375633612275124, -0.08033736795186996, -0.018442891538143158, 0.020153990015387535, 0.012927558273077011, -0.0393376424908638, 0.06663872301578522, 0.03344421088695526, -0.06628192216157913, 0.0824262797832489, -0.040171317756175995, -0.010101888328790665, 0.03007187321782112, 0.01759308949112892, 0.023510247468948364, 0.0015774142229929566, -0.022638922557234764, 0.022609025239944458, 0.021553995087742805, 0.09415925294160843, -0.00994399655610323, -0.004146886523813009, 0.0038554714992642403, -0.040468353778123856, -0.010319103486835957, -0.015800274908542633, -0.047864049673080444, -0.024409543722867966, 0.04818282648921013, -0.024992937222123146, 0.012024006806313992, -0.09999432414770126, 0.02297724224627018, 0.00338111724704504, -0.055801548063755035, 0.005120432004332542, 0.050671957433223724, 0.04000721499323845, 0.08440619707107544, -0.06260527670383453, -0.08227620273828506, 0.0091315396130085, -0.020258931443095207, 0.015306524001061916, -0.06382573395967484, 0.041702721267938614, -0.03979850560426712, -0.04969730228185654, -0.020310763269662857, 0.07568205147981644, -0.04246319457888603, -0.017007319256663322, -0.00412310054525733, -0.047390833497047424, -0.006210422143340111, 0.006119229830801487, -0.07504674047231674, 0.013739721849560738, -0.00012544545461423695, -0.0503622367978096, 0.0220023263245821, 0.022795362398028374, -0.025496354326605797, -0.01050026435405016, -0.032763831317424774, -0.00976618006825447, 0.010542122647166252, -0.06624104827642441, -0.020679019391536713, 0.016590215265750885, 0.08923541754484177, 0.05677326023578644, 0.059108342975378036, -0.006149766501039267, -0.0131504125893116, 0.001551249879412353, -0.00448162155225873, 0.04801076650619507, 0.038372959941625595, -0.09106957167387009, 0.0027651481796056032, 0.05867113918066025, 0.03867270424962044, 0.008547944948077202, -0.005723863840103149, 0.0209240410476923, 0.07967343926429749, 0.007485792972147465, 0.011920836754143238, -0.03658777102828026, -0.08584849536418915, 0.03136163577437401, 0.05512881651520729, 0.03602965548634529, -0.0017165037570521235, -0.029721761122345924, -0.021709328517317772, -0.05131879076361656, -0.03368321433663368, -0.03611444681882858, -0.00419186195358634, 0.026288103312253952, -0.05635468661785126, -0.02675357274711132, -0.0038499918300658464, -0.06600303947925568, 0.0482531413435936, -0.017948204651474953, 0.023137837648391724, -0.043167032301425934, -0.08565545082092285, 0.022332658991217613, 0.02480625919997692, -0.05094674229621887, 0.13013537228107452, -0.05584890395402908, -0.0285264253616333, 0.03955770283937454, 0.05341960862278938, 0.05659331753849983, 0.05418717488646507, 0.039053045213222504, 0.07186849415302277, -0.060335904359817505, -0.05988306179642677, -0.0019563252571970224, -0.034291788935661316, 0.00997287780046463, 0.026232212781906128, -0.021675946190953255, 0.11946241557598114, 0.0027195631992071867, -0.025111176073551178, -0.021559936925768852, -0.03450427204370499, -0.0050447057001292706, 0.019089393317699432, 0.07071352750062943, 0.0016738842241466045, -0.07824870944023132, 0.0719626396894455, 0.027928903698921204, 0.015370254404842854, 0.007328968960791826, -0.06113528087735176, 0.03297511488199234, -0.019988462328910828, 0.008383728563785553, 0.11221469193696976, 0.00840844213962555, -0.0064541734755039215, -0.009887651540338993, -0.026023047044873238, 0.06324490904808044, 0.0059700352139770985, -0.042708419263362885, -0.03575386479496956, 0.0012983778724446893, 0.03545283153653145, 0.015641923993825912, -0.041055578738451004, 0.04638702794909477, 0.017333606258034706, -0.02116725593805313, 0.007750736549496651, -0.004778942093253136, 0.0447470024228096, -0.035085950046777725, -0.003255010349676013, 0.028839746490120888, 0.032553646713495255, 0.006980381906032562, 0.01872124895453453, -0.004757029470056295, -0.038024939596652985, -0.0036404174752533436, 0.029639294371008873, 0.021676212549209595, -0.00118029594887048, 0.01985391415655613, 0.02774481661617756, -0.005001269280910492, -0.012796176597476006, -0.02707943320274353, 0.00981166958808899, 0.014185105450451374, -0.033578358590602875, -0.026093285530805588, 0.016530532389879227, 0.01658608578145504, 0.032805074006319046, -0.017864398658275604, -0.02591136284172535, -0.0004157668154221028, -0.003883638884872198, 0.0009295955533161759, -0.042567960917949677, 0.046169210225343704, -0.025309434160590172, 0.041843682527542114, 0.02367912232875824, 0.009314443916082382, -0.09758374840021133, -0.021622823551297188, -0.02704283781349659, 0.04841640964150429, -0.025797918438911438, -0.025531494989991188, 0.031893666833639145, 0.02361064963042736, -0.005985460709780455, 0.018474552780389786, -0.056254640221595764, 0.01724013313651085, -0.000751179875805974, -0.023713458329439163, -0.012999355792999268, 0.003000312251970172, 0.011851289309561253, 0.021855423226952553, 0.012298273853957653, -0.0042212591506540775, -0.05997085943818092, 0.03510398045182228, 0.003072867402806878, 0.003933784086257219, -0.029731731861829758, -0.015479768626391888, 0.02599983848631382, 0.02328118495643139, 0.05370206758379936, -0.05081012099981308, -0.030726389959454536, 0.02257392928004265, -0.02270439825952053, 0.017896488308906555, -0.060475531965494156, 0.018344562500715256, -0.0019187970319762826, -0.002404504455626011, 0.03788004815578461, 0.007337494287639856, -0.0011156689142808318, 0.01667381078004837, 0.014384934678673744, -0.01695358194410801, 0.04191108047962189, -0.035652365535497665, -0.002402144018560648, 0.05964333564043045, -0.002662998391315341, -0.05716019868850708, -0.004334255587309599, -0.005246145185083151, -0.01567169837653637, 0.02591658942401409, -0.008421530947089195, 0.021238163113594055, 0.017687581479549408, 0.015141814015805721, 0.00006533289706567302, -0.014490892179310322, -0.03974500298500061, 0.03891966491937637, -0.009980415925383568, -0.036309342831373215, 0.023089153692126274, 0.04466976970434189, 0.02115960419178009, -0.023494023829698563, -0.04281856119632721, 0.04141440987586975, 0.05791466683149338, 0.00802648440003395, -0.0035256287083029747, 0.0008655180572532117, -0.005653782747685909, 0.04205534607172012, 0.008247430436313152, -0.005687314085662365, 0.04783540964126587, 0.05391509830951691, -0.07406141608953476, -0.03227909654378891, -0.018421504646539688, -0.03347843512892723, -0.010803399607539177, -0.0016445546643808484, 0.06350986659526825, -0.028747105970978737, 0.037483904510736465, 0.032339178025722504, -0.001570032094605267, -0.05399360507726669, 0.041474852710962296, -0.031313296407461166, 0.0440216101706028, 0.03542110696434975, 0.022879082709550858, 0.009956739842891693, -0.026980414986610413, -0.022892681881785393, 0.06851783394813538, -0.028405778110027313, -0.03580441698431969, -0.00664351275190711, -0.009904828853905201, 0.052112385630607605, -0.03667948767542839, -0.018358074128627777, 0.024610279127955437, 0.021001700311899185, -0.00822022557258606, 0.031224116683006287, -0.012647260911762714, -0.026790257543325424, 0.04246225953102112, 0.0217561237514019, 0.026099292561411858, 0.016022348776459694, -0.012005685828626156, -0.01176003273576498, -0.027962777763605118, -0.0021112493705004454, -0.014302186667919159, 0.018639130517840385, 0.045198503881692886, 0.00932565052062273, 0.01125697884708643, -0.012830725871026516, 0.013249277137219906, 0.021412108093500137, -0.01145255472511053, -0.03052624873816967, 0.007060511969029903, 0.04170119762420654, 0.026786603033542633, 0.009381050243973732, -0.016983192414045334, 0.02227267622947693, -0.044190604239702225, -0.03123643435537815, 0.00729930168017745, 0.0306256040930748, 0.03609040379524231, -0.0013751944061368704, -0.05113431066274643, 0.021611228585243225, -0.028570394963026047, 0.01808858849108219, -0.00828246958553791, -0.015355763025581837, 0.040202707052230835, -0.01384377758949995, -0.012091835960745811, -0.023632943630218506, 0.060211505740880966, -0.008343232795596123, -0.04655374586582184, 0.025051888078451157, -0.043531037867069244, 0.006871625315397978, -0.0034751049242913723, 0.021351616829633713, -0.007225154899060726, 0.0712188333272934, -0.02744901180267334, 0.014521821402013302, 0.029661960899829865, -0.03138390928506851, -0.00009493207471678033, -0.007800661493092775, 0.009816617704927921, 0.0006400445709004998, 0.01568417251110077, -0.016287323087453842, -0.011280825361609459, -0.010573423467576504, 0.007774823810905218, 0.005533257964998484, -0.03425322473049164, 0.007163170259445906, 0.008028479292988777, -0.004508274607360363, 0.033420808613300323, -0.011431282386183739, 0.025216348469257355, 0.03466763719916344, 0.06522192806005478, 0.046095654368400574, 0.011494945734739304, -0.04963504150509834, -0.039821021258831024, 0.03293987736105919, 0.0027273113373667, -0.039426881819963455, 0.02274232544004917, 0.006481959018856287, -0.02236931025981903, -0.031021011993288994, 0.017338614910840988, -0.027440190315246582, 0.009343782439827919, 0.037889789789915085, -0.024582453072071075, 0.005697961430996656, 0.057015493512153625, 0.005168018862605095, 0.012993807904422283, -0.0220276340842247, -0.0036282306537032127, -0.04354149103164673, -0.023057831451296806, 0.008423546329140663, -0.03136782720685005, -0.04904612526297569, 0.0027288957498967648, -0.01837102510035038, -0.005193570628762245, 0.01718975231051445, -0.017548270523548126, 0.04814281687140465, 0.007204102817922831, -0.00906851515173912, 0.01003035344183445, -0.026692284271121025, 0.025087017565965652, -0.006782307755202055, -0.009332429617643356, -0.010035401210188866, -0.028360741212964058, 0.0026312475092709064, 0.05655321478843689, 0.011027022264897823, 0.007950801402330399, 0.0013207661686465144, 0.009821005165576935, -0.03364936262369156, 0.0044543081894516945, 0.02735067345201969, 0.006562700495123863, -0.016319580376148224, -0.011220967397093773, -0.031214581802487373, -0.020617343485355377, -0.03256342187523842, 0.006162476725876331, 0.0058399527333676815, 0.05738211050629616, 0.02164110355079174, -0.03537428379058838, 0.005346226040273905, 0.025922035798430443, 0.013918548822402954, -0.030682571232318878, -0.06116507574915886, -0.00994617398828268, 0.012086722068488598, 0.055806081742048264, 0.028331207111477852, -0.006403830833733082, -0.06821131706237793, -0.01733984984457493, -0.048951491713523865, -0.01323117408901453, 0.0019962871447205544, -0.003652635496109724, 0.019928785040974617, 0.018856139853596687, -0.009753121994435787, 0.02275080606341362, 0.025756968185305595, 0.01682344079017639, -0.011965692974627018, 0.026934634894132614, -0.02145753987133503, -0.015873568132519722, -0.021905887871980667, 0.04681514948606491, 0.06542723625898361, -0.023041091859340668, 0.024873733520507812, 0.0031529597472399473, 0.011217877268791199, -0.011844515800476074, 0.0036223081406205893, 0.015765955671668053, 0.006922136060893536, 0.04231804236769676, 0.03050730563700199, 0.06277517229318619, 0.036972079426050186, -0.031726349145174026, -0.040394023060798645, 0.016222713515162468, 0.007337056566029787, -0.058233801275491714, -0.033157967031002045, -0.003312088316306472, -0.029372502118349075, 0.013906406238675117, 0.005722107831388712, 0.04439248517155647, 0.03852712735533714, 0.06956365704536438, 0.029579078778624535, 0.05489606410264969, -0.003263076301664114, 0.011985636316239834, -0.015399079769849777, -0.018757179379463196, 0.00769111467525363, 0.03030090220272541, 0.05842629075050354, 0.001390655874274671, 0.017696812748908997, 0.007116880267858505, 0.009063538163900375, 0.003753010183572769, -0.0252845399081707, 0.008677802048623562, 0.022277435287833214, -0.05080835521221161, 0.008369647897779942, -0.016556210815906525, -0.03424370288848877, -0.013841485604643822, -0.010546484962105751, 0.005105316173285246, 0.008172078058123589, 0.000010160499186895322, -0.015843350440263748, 0.013052179478108883, 0.014462203718721867, -0.024577908217906952, 0.009082264266908169, -0.02524278126657009, -0.04588012024760246, 0.023746097460389137, 0.019751548767089844, -0.03861946240067482, -0.04025981202721596, 0.023330533877015114, 0.008990589529275894, 0.00598374055698514, -0.05833468958735466, -0.04161998629570007, -0.037622857838869095, 0.02420085482299328, 0.050642937421798706, -0.0038628457114100456, -0.0007470952114090323, 0.04142254963517189, -0.03283492475748062, -0.02701673097908497, 0.04183607175946236, -0.02488337643444538, 0.02402854524552822, 0.007945253513753414, -0.03058154322206974, 0.010418985038995743, -0.01483821775764227, 0.030563723295927048, 0.0037164483219385147, 0.06537578254938126, -0.0353270098567009, 0.010463664308190346, 0.003384543117135763, -0.006629121024161577, 0.009300478734076023, 0.027620907872915268, 0.0201297327876091, -0.017752591520547867, -0.009685356169939041, 0.014920521527528763, 0.004172085784375668, -0.04502907395362854, 0.00028369901701807976, 0.02382868342101574, -0.009040232747793198, -0.03376301750540733, 0.02214137837290764, 0.020216593518853188, 0.060867343097925186, 0.024988550692796707, 0.04622868821024895, -0.0008290893747471273, -0.013008343987166882, -0.006295654457062483, 0.036865878850221634, 0.017523180693387985, 0.020941441878676414, -0.03729315102100372, 0.01243859063833952, -0.02038835920393467, 0.00794693548232317, -0.008140899240970612, -0.017221663147211075, -0.06829982250928879, 0.01969597116112709, -0.04556680843234062, 0.02181016094982624, -0.029151825234293938, 0.01729384809732437, 0.021128052845597267, 0.019895004108548164, 0.02542898803949356, 0.009631635621190071, -0.0032901151571422815, -0.023374857380986214, 0.00615761149674654, 0.02367342822253704, 0.035590603947639465, -0.0021645701490342617, 0.005666634067893028, -0.022309543564915657, -0.018164819106459618, -0.001074831117875874, -0.025340283289551735, 0.05477459356188774, 0.018530523404479027, -0.0506383553147316, -0.03397211804986, 0.015222220681607723, -0.0034547524992376566, -0.015289690345525742, 0.041637662798166275, -0.06267460435628891, -0.05036713182926178, -0.0185595341026783, -0.02343546226620674, -0.020219355821609497, -0.004249416757375002, -0.007393284235149622, 0.05165610834956169, -0.010784226469695568, 0.018031170591711998, 0.0025840303860604763, 0.0198476891964674, -0.039685335010290146, 0.04648962989449501, -0.010161741636693478, -0.05219211429357529, 0.003103074384853244, -0.01920902170240879, 0.027152804657816887, 0.0006358824321068823, -0.008291082456707954, 0.03359704837203026, 0.023362647742033005, -0.028909554705023766, -0.007642657961696386, 0.02181021310389042, 0.006294760853052139, 0.008798645809292793, 0.044775478541851044, 0.01630445197224617, 0.046147216111421585, 0.017228681594133377, 0.005888870917260647, -0.02443784475326538, 0.0025852201506495476 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
#10: Galactic Bride: Bullet Ballet In this game, you dive into an exhilarating bullet-hell journey to become the Star Prince's bride and fulfill your wishes. 🎮👉 https://n30hrtgdv.itch.io/galactic-bride-bullet-ballet
[ 0.03118518926203251, -0.03696693852543831, 0.039801668375730515, 0.02546324022114277, -0.052203450351953506, 0.06330769509077072, 0.04805229231715202, 0.03587033599615097, -0.07483292371034622, 0.013958748430013657, -0.07357640564441681, -0.02905149757862091, -0.01054422277957201, 0.0050464896485209465, 0.09010452777147293, -0.031050927937030792, 0.005710206460207701, -0.02706548385322094, -0.02770363725721836, -0.10390792042016983, -0.011987642385065556, 0.05027666687965393, 0.022127361968159676, -0.004842349793761969, 0.027759544551372528, 0.032458119094371796, -0.05072128027677536, 0.04337812587618828, -0.041126251220703125, 0.01866399124264717, -0.052807945758104324, -0.053981948643922806, 0.01710358075797558, -0.06453783065080643, 0.00885937362909317, 0.04356355220079422, -0.010535807348787785, -0.017325403168797493, 0.024186760187149048, -0.14318817853927612, -0.008364091627299786, -0.061307989060878754, 0.006023828871548176, -0.0057015009224414825, 0.0572570338845253, 0.0008110154303722084, -0.16780604422092438, 0.008841866627335548, -0.10381853580474854, -0.017719438299536705, -0.0019364083418622613, 0.08555614948272705, 0.05962907895445824, -0.056840308010578156, 0.02464962750673294, 0.02572593092918396, 0.007682977709919214, 0.059339918196201324, -0.008634661324322224, 0.07289320975542068, 0.050756100565195084, 0.057342249900102615, 0.0036328702699393034, -0.02248191460967064, 0.058235663920640945, 0.04319663345813751, -0.016370542347431183, 0.024022255092859268, -0.062249645590782166, -0.05722596123814583, -0.005546035245060921, -0.07577551156282425, 0.020976271480321884, -0.04622836038470268, -0.05695576220750809, -0.05384131148457527, 0.031434740871191025, 0.0608229897916317, 0.013585930690169334, -0.03829250857234001, 0.04964786395430565, 0.0028740372508764267, 0.10460291802883148, 0.037680067121982574, -0.023342646658420563, 0.027894433587789536, 0.02697521448135376, 0.011356201022863388, -0.07562156766653061, 0.05641070008277893, -0.03703957423567772, -0.10455194860696793, -0.00005597416384262033, 0.0026545790024101734, 0.03920650854706764, -0.02596532739698887, 0.04192064702510834, -0.03689160570502281, -0.0017460519447922707, 0.06275385618209839, 0.01758010871708393, -0.09190258383750916, 0.05581933632493019, -0.03254995495080948, -0.07000797241926193, 0.03030291385948658, 0.02906706929206848, -0.047614745795726776, -0.01672516018152237, 0.023027025163173676, 0.015196911059319973, -0.06978174299001694, 0.07138330489397049, -0.01630120538175106, -0.014630736783146858, 0.09096556901931763, -0.035534489899873734, -0.0023475929629057646, -0.02613169513642788, -0.017900101840496063, 0.040607746690511703, -0.08156891912221909, 0.023463131859898567, 0.017769204452633858, 0.0604219064116478, 0.07926146686077118, 0.022489706054329872, -0.04815797507762909, -0.004394573625177145, -0.039758700877428055, 0.012475721538066864, -0.0050530522130429745, -0.07889655232429504, 0.013614348135888577, 0.05251510068774223, -0.04905633628368378, 0.03400224819779396, -0.054914236068725586, 0.024698380380868912, -0.06378159672021866, -0.03733255714178085, 0.033933140337467194, 0.007287390064448118, 0.09009979665279388, 0.009176361374557018, -0.07790984958410263, 0.002246131421998143, -0.04893069341778755, 0.009314006194472313, -0.01606869138777256, -0.01303701102733612, 0.06879910826683044, -0.025889262557029724, -0.0681745633482933, -0.04754403233528137, -0.0054525998421013355, -0.009908842854201794, -0.0435047410428524, 0.009250381961464882, 0.0004226544115226716, 0.02108076587319374, 0.02891175076365471, -0.04810541495680809, -0.05368122458457947, 0.008555470034480095, -0.08941883593797684, 0.054030030965805054, 0.0216831061989069, -0.03353159874677658, -0.04807989299297333, -0.007506813388317823, 0.029630953446030617, 0.02014964260160923, 0.026877067983150482, -0.0021722803357988596, 0.022156625986099243, 0.10490544885396957, 0.0794665738940239, -0.027603019028902054, -0.016745051369071007, -0.009046533145010471, -0.033348169177770615, -0.06388664245605469, 0.01759696938097477, -0.014244063757359982, -0.0381474532186985, -0.09674853831529617, 0.039324820041656494, 0.05716739967465401, 0.01766061596572399, -0.05043439194560051, 0.03980486840009689, 0.13031713664531708, 0.012911653146147728, -0.0016113949241116643, -0.07358937710523605, -0.01975439116358757, 0.02459559589624405, 0.006749621592462063, 0.0028079247567802668, -0.018754785880446434, 0.02880551666021347, -0.03528831899166107, 0.061009086668491364, -0.0579950176179409, 0.003617366775870323, -0.012433783151209354, 0.04876440763473511, -0.021011928096413612, -0.07315605878829956, 0.01434907503426075, 0.019257212057709694, 0.07597389817237854, -0.03318227455019951, 0.060264479368925095, -0.01948763057589531, -0.10078300535678864, -0.0008496715454384685, 0.039582978934049606, -0.11247319728136063, 0.06719887256622314, 0.006198849994689226, -0.02979333885014057, 0.09384848177433014, 0.007140337489545345, 0.03126012533903122, 0.06087270751595497, 0.07540294528007507, 0.045588571578264236, -0.03724115714430809, -0.06231249123811722, -0.0047103301621973515, -0.024972522631287575, 0.02492566592991352, 0.02284064330160618, -0.029877014458179474, 0.07164724916219711, -0.029995253309607506, -0.0010594750056043267, -0.042615603655576706, -0.019956393167376518, 0.012934339232742786, 0.06203114241361618, 0.029363980516791344, -0.044419340789318085, -0.03766161575913429, 0.03558176010847092, 0.0037886903155595064, 0.025595199316740036, -0.013167870230972767, -0.02813420072197914, 0.010951661504805088, -0.06527894735336304, -0.0031131450086832047, 0.07287012040615082, -0.02992766723036766, -0.006170403677970171, -0.0012753086630254984, -0.02933109737932682, 0.03916822001338005, 0.05087000131607056, -0.011908328160643578, 0.014481455087661743, -0.022197214886546135, 0.015921708196401596, 0.005436098203063011, -0.010114737786352634, 0.012534662149846554, 0.000341066304827109, -0.023020589724183083, -0.08241291344165802, 0.004016599617898464, -0.019627349451184273, -0.024834055453538895, -0.0020099831745028496, -0.02220042049884796, 0.042021576315164566, -0.030608346685767174, 0.01693974807858467, 0.018953431397676468, 0.026119159534573555, -0.006245167460292578, 0.03569391742348671, 0.008549419231712818, -0.028398005291819572, 0.04606747254729271, 0.04211875796318054, -0.023565804585814476, -0.022386401891708374, -0.01647448167204857, -0.01180434413254261, -0.01247823890298605, -0.042091697454452515, -0.04085085913538933, 0.04744020104408264, -0.02088128589093685, -0.013619485311210155, -0.008104386739432812, 0.015576276928186417, 0.02897867187857628, 0.015122881159186363, 0.06697485595941544, -0.05428295210003853, 0.04310503229498863, -0.008761348202824593, 0.0273265577852726, -0.010065796785056591, 0.008352754637598991, -0.09133794903755188, -0.030369728803634644, 0.02229822799563408, 0.025841230526566505, 0.0012545223580673337, -0.014319758862257004, 0.00917310081422329, 0.012010211125016212, 0.004852010868489742, -0.005756038706749678, -0.037216197699308395, -0.00510422233492136, 0.01749715767800808, -0.03872724249958992, -0.029355568811297417, -0.006280297879129648, -0.008387312293052673, 0.024226490408182144, -0.005007841624319553, 0.017699038609862328, -0.03365125507116318, 0.06355002522468567, 0.025311270728707314, 0.0369163453578949, 0.005313878878951073, -0.0036977315321564674, 0.030141958966851234, 0.013467416167259216, 0.010267690755426884, -0.040678348392248154, -0.01864112727344036, 0.05843904986977577, -0.04389127716422081, 0.0184005256742239, -0.015905119478702545, 0.011391300708055496, 0.016618186607956886, 0.01273818127810955, 0.01983220875263214, 0.0019792215898633003, -0.01862969435751438, -0.007081171497702599, 0.0050414795987308025, -0.03271695226430893, 0.021448252722620964, -0.07367908209562302, -0.003123178379610181, 0.04985435679554939, 0.011660492978990078, -0.05684847757220268, 0.03128700703382492, -0.019825918599963188, -0.020857371389865875, 0.012322956696152687, 0.012288098223507404, -0.005721072666347027, 0.005724832881242037, 0.05287177488207817, 0.016974978148937225, -0.03124413453042507, -0.01468846295028925, 0.013854854740202427, -0.009553126990795135, -0.014964815229177475, 0.016231408342719078, -0.032745279371738434, -0.0012366385199129581, 0.05370832979679108, -0.004041487351059914, 0.020297344774007797, 0.0018624552758410573, -0.06102006882429123, -0.011039596050977707, 0.009191697463393211, -0.019785791635513306, 0.0064545441418886185, -0.03157125040888786, 0.002389334375038743, 0.049519509077072144, 0.046074919402599335, 0.006022031884640455, -0.04512493312358856, -0.020072447136044502, -0.03847403824329376, -0.025347936898469925, 0.019627481698989868, 0.03950817510485649, -0.044180139899253845, 0.003344559343531728, -0.008285969495773315, 0.019302954897284508, -0.03837340697646141, 0.04726952686905861, 0.00926131010055542, 0.016942555084824562, 0.03441953286528587, -0.004724509548395872, -0.004281720612198114, -0.006572650279849768, -0.01628939062356949, 0.033115580677986145, -0.05571367219090462, -0.02152143232524395, -0.00029499997617676854, -0.007063532713800669, 0.028342653065919876, -0.017247725278139114, -0.04141462221741676, -0.009816434234380722, 0.04196280241012573, 0.01606602407991886, -0.010975112207233906, 0.006535458378493786, -0.043579474091529846, 0.009404853917658329, 0.017797697335481644, -0.007221718318760395, -0.0032422032672911882, 0.005062461830675602, 0.02709956280887127, -0.04528752341866493, 0.03227504342794418, -0.0059670861810445786, -0.006135092582553625, 0.025583213195204735, 0.04808463901281357, 0.013114707544445992, 0.028234073892235756, 0.0571875125169754, -0.015544639900326729, 0.02180168405175209, -0.03821830451488495, -0.0017218432622030377, 0.020596949383616447, 0.019539708271622658, -0.029379501938819885, 0.01578734815120697, 0.054836537688970566, -0.02892017737030983, -0.017155395820736885, 0.004981799516826868, 0.01708422228693962, 0.009248016402125359, 0.036626748740673065, 0.03679383918642998, 0.0021654609590768814, -0.010050706565380096, 0.019742295145988464, 0.022013075649738312, 0.05273251608014107, 0.059234924614429474, -0.013508027419447899, 0.013696461915969849, -0.014103892259299755, 0.024511652067303658, 0.010900338180363178, -0.06430087238550186, 0.038649868220090866, 0.023768654093146324, -0.010119561105966568, 0.02537439577281475, -0.05281917750835419, 0.0007268856279551983, 0.052270129323005676, 0.017523033544421196, -0.015739943832159042, -0.018061809241771698, -0.03709159418940544, 0.01715509220957756, -0.04373554885387421, 0.06485693901777267, 0.028352633118629456, 0.062021926045417786, -0.02004750445485115, 0.007847043685615063, -0.01295391097664833, -0.010505321435630322, 0.024479802697896957, -0.012146854773163795, 0.02355257421731949, -0.020842144265770912, -0.03185039386153221, 0.022830381989479065, 0.025595970451831818, -0.03860941529273987, 0.05166037380695343, 0.03332359343767166, 0.046183180063962936, 0.02416129596531391, 0.027096685022115707, -0.008706226944923401, 0.03518775478005409, -0.011739595793187618, -0.03765349090099335, -0.009654169902205467, -0.02396504208445549, -0.029216770082712173, -0.022628163918852806, 0.02829008363187313, 0.007594442460685968, 0.015306498855352402, -0.004106361418962479, -0.022786850109696388, 0.017051199451088905, 0.040663957595825195, -0.00963567104190588, 0.05470548942685127, 0.019710494205355644, 0.019582385197281837, -0.04608301818370819, -0.029004869982600212, 0.000832502031698823, -0.011180857196450233, -0.058503106236457825, -0.010529262945055962, -0.03341386094689369, 0.033408235758543015, -0.0043223160319030285, -0.019693251699209213, 0.018231691792607307, 0.038223110139369965, 0.009368370287120342, 0.05271370708942413, -0.00029955446370877326, 0.008885971270501614, -0.015697231516242027, 0.01599276065826416, -0.019420761615037918, 0.024092810228466988, 0.017772860825061798, 0.03441106528043747, 0.028648683801293373, -0.02144886925816536, -0.04453973472118378, -0.014620527625083923, -0.031168069690465927, -0.011336936615407467, 0.011567521840333939, 0.03592537343502045, 0.0045065078884363174, -0.015441982075572014, 0.014104681089520454, -0.005715666804462671, -0.03801640123128891, 0.025581607595086098, -0.009423742070794106, 0.05232103541493416, 0.018159180879592896, -0.032225485891103745, 0.03142757713794708, 0.047395654022693634, 0.009211710654199123, -0.017079006880521774, -0.036321427673101425, -0.033940866589546204, -0.004247385077178478, 0.01618047244846821, 0.058114368468523026, -0.01966240257024765, -0.05116279795765877, 0.02353268302977085, 0.021273277699947357, 0.005849541164934635, 0.026490390300750732, -0.027956312522292137, 0.025691069662570953, 0.0423157624900341, -0.009172536432743073, -0.04060109704732895, 0.050022829324007034, 0.012765628285706043, 0.005331502761691809, 0.026322301477193832, -0.03179660066962242, -0.011100510135293007, 0.022591300308704376, 0.024628544226288795, 0.04002951458096504, -0.015200664289295673, 0.06309463083744049, 0.00020593365479726344, -0.014850461855530739, -0.02166297473013401, 0.01960330829024315, 0.043066106736660004, -0.02686155028641224, 0.014498506672680378, -0.006254264619201422, 0.07404828816652298, 0.016522478312253952, -0.015800468623638153, -0.03347951918840408, 0.030068088322877884, 0.03866332396864891, -0.002219449495896697, -0.03582027554512024, -0.012520493939518929, -0.05429592356085777, 0.028852827847003937, 0.0035246433690190315, 0.013296647928655148, 0.02692245878279209, 0.0335741862654686, -0.007979270070791245, 0.06212378293275833, -0.008481263183057308, 0.030032090842723846, -0.025048669427633286, 0.006550400983542204, 0.02932645007967949, 0.029967645183205605, 0.026559505611658096, -0.03996559605002403, -0.031144265085458755, 0.052157510071992874, 0.027912849560379982, 0.01642625965178013, -0.015038230456411839, 0.028328020125627518, -0.021617162972688675, -0.027949191629886627, -0.024080898612737656, -0.007679209113121033, 0.017329290509223938, -0.023469654843211174, -0.05629270523786545, -0.015406821854412556, -0.009152720682322979, 0.010906117036938667, -0.0043246145360171795, -0.0039273337461054325, 0.0067459093406796455, -0.010761498473584652, 0.003660987364128232, -0.040088001638650894, 0.010697390884160995, 0.023013459518551826, -0.0031891860999166965, -0.0030695802997797728, 0.0037037557922303677, 0.04146711900830269, -0.008750315755605698, -0.04621909186244011, -0.02966906689107418, -0.006572861690074205, -0.041492532938718796, 0.0272517129778862, 0.03221890702843666, -0.022882843390107155, -0.007707111071795225, -0.01734871231019497, 0.008812054991722107, -0.0402645543217659, 0.02510969713330269, 0.00949944369494915, 0.018900899216532707, 0.015660258010029793, -0.006364208180457354, 0.030088597908616066, -0.008228033781051636, -0.040126122534275055, -0.0320245623588562, 0.012272777035832405, -0.015638545155525208, 0.022623199969530106, 0.000884393637534231, -0.010087890550494194, 0.015318010933697224, -0.015078413300216198, -0.0024067361373454332, -0.017659954726696014, 0.013208692893385887, 0.0038292601238936186, 0.018629346042871475, 0.006305662449449301, -0.026030508801341057, -0.010633138939738274, -0.000624085427261889, -0.02209683693945408, 0.02862807922065258, 0.00843704305589199, 0.027475975453853607, 0.04678811877965927, -0.0031516607850790024, 0.005400403868407011, 0.00752407219260931, -0.020849550142884254, -0.0009050513617694378, 0.03463805839419365, -0.023940294981002808, 0.013770117424428463, -0.009201323613524437, -0.00023558735847473145, 0.009582354687154293, -0.021007990464568138, 0.013901488855481148, -0.033547770231962204, 0.0333782322704792, -0.013234587386250496, -0.0008760974160395563, -0.040022511035203934, 0.01888512820005417, -0.009959431365132332, 0.013332926668226719, 0.013645242899656296, 0.030613722279667854, 0.02154731936752796, -0.004583908244967461, -0.045075662434101105, 0.018872689455747604, 0.026350926607847214, 0.010684001259505749, 0.004165995866060257, 0.0008525755838491023, 0.0002369130525039509, -0.018582358956336975, -0.008799826726317406, -0.0015671829460188746, 0.005870613269507885, -0.04037478566169739, -0.03330697864294052, -0.053579181432724, -0.021410416811704636, -0.024210916832089424, 0.02823881432414055, -0.03178612142801285, -0.061579447239637375, -0.048029862344264984, 0.011076600290834904, 0.01807267591357231, -0.01697804406285286, 0.026711182668805122, -0.008238814771175385, 0.0032744721975177526, 0.09816695749759674, 0.012438210658729076, 0.01353050023317337, -0.02702508680522442, 0.017329595983028412, 0.003262097714468837, -0.09133107960224152, -0.007877946831285954, -0.0013542670058086514, 0.08195017278194427, -0.024794256314635277, -0.006910345051437616, 0.017135411500930786, 0.037876974791288376, -0.024768782779574394, -0.0014718536986038089, 0.019954781979322433, 0.00876922532916069, 0.03146692365407944, 0.023876991122961044, -0.009287999011576176, 0.024561436846852303, 0.04205586761236191, 0.026351511478424072, 0.007571143563836813, 0.009147421456873417 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
Participants Selection: Top 10 🥈🥉🏅 Out of the 88 fantastic submissions, these impressive games emerged as the Top 11 finalists.
[ 0.04351663589477539, -0.012916866689920425, 0.11061560362577438, 0.03658018633723259, -0.00600089505314827, 0.024721523746848106, 0.014087391085922718, 0.033966634422540665, -0.060384351760149, -0.05799679458141327, -0.036801356822252274, -0.013227180577814579, 0.01992340385913849, 0.016652921214699745, 0.06017367169260979, -0.007187023293226957, 0.07467404007911682, -0.015253638848662376, 0.06325297057628632, -0.075524240732193, -0.05160428583621979, 0.019517412409186363, 0.07018068432807922, -0.058902960270643234, 0.00594886252656579, 0.011932358145713806, -0.005856731440871954, 0.006736460607498884, -0.03835667297244072, 0.01683904603123665, -0.04323211684823036, -0.03302372992038727, 0.07678013294935226, -0.03888974338769913, -0.025864189490675926, -0.06410524249076843, -0.07502318173646927, 0.07277083396911621, -0.013375695794820786, 0.0035288981162011623, 0.0780615583062172, -0.07065827399492264, 0.02023402415215969, 0.07818731665611267, 0.03442738577723503, -0.04089802876114845, -0.19948790967464447, 0.032281968742609024, -0.055204037576913834, -0.0188179612159729, -0.014007901772856712, 0.040752675384283066, 0.03351561725139618, 0.007641502656042576, -0.007024509832262993, -0.006757280323654413, 0.019417785108089447, 0.01543288305401802, -0.02212601900100708, 0.03046540543437004, 0.024134619161486626, 0.02948812022805214, 0.04379492253065109, -0.007304096128791571, 0.0178893581032753, 0.030873088166117668, -0.0014982431894168258, 0.08641527593135834, -0.08506376296281815, 0.03554028272628784, 0.02619524672627449, -0.020210780203342438, -0.06947903335094452, -0.019878387451171875, 0.010885904543101788, -0.09656159579753876, 0.03256765380501747, 0.0796939954161644, 0.035279110074043274, 0.04671347513794899, 0.02557123638689518, -0.041195034980773926, 0.1354808211326599, 0.05815993621945381, -0.03128085657954216, 0.022341664880514145, 0.05702873691916466, -0.004408688750118017, -0.040734387934207916, 0.042264532297849655, 0.019403496757149696, -0.0749589204788208, 0.06630832701921463, 0.028509197756648064, 0.013667740859091282, -0.06382525712251663, 0.003335051005706191, -0.03000028058886528, -0.02172880806028843, 0.0017896373756229877, 0.036210719496011734, -0.02172088623046875, -0.013900762423872948, -0.05168047174811363, -0.13314463198184967, 0.01920548640191555, 0.01431402936577797, -0.09527173638343811, 0.010402945801615715, 0.04063986614346504, 0.011496075429022312, -0.04596717655658722, 0.09195143729448318, -0.018790053203701973, -0.015597732737660408, 0.07040383666753769, 0.0019579357467591763, -0.015909867361187935, -0.016103897243738174, 0.02989264950156212, 0.05184708163142204, 0.027898015454411507, 0.037831634283065796, 0.00502227246761322, 0.021323183551430702, 0.021964017301797867, 0.013069871813058853, -0.014363021589815617, -0.039723701775074005, -0.07205072045326233, 0.03393170237541199, -0.026748746633529663, -0.06351060420274734, 0.007996225729584694, -0.004671920090913773, -0.07290568202733994, -0.02285594679415226, -0.016331182792782784, 0.00048114359378814697, -0.008972123265266418, -0.05088659003376961, 0.004628214985132217, -0.006834598258137703, 0.10472389310598373, 0.034357864409685135, -0.05991455912590027, -0.06264768540859222, 0.04387138411402702, -0.04738800600171089, -0.012518839910626411, 0.0036432368215173483, 0.07157687842845917, -0.06780041754245758, -0.05781473591923714, -0.032298143953084946, 0.0631626546382904, 0.03142496570944786, -0.04426464065909386, -0.021221967414021492, -0.025515181943774223, 0.02847638912498951, -0.01323052030056715, 0.0019964135717600584, 0.012333071790635586, -0.0006567519740201533, -0.019411316141486168, 0.061951152980327606, 0.0136650325730443, -0.04348265379667282, -0.05145905539393425, -0.035685889422893524, 0.02627735398709774, 0.06273907423019409, 0.027764901518821716, -0.08708180487155914, -0.005136845633387566, 0.11503153294324875, 0.04104892536997795, 0.00147894280962646, 0.01297992654144764, -0.02567596733570099, -0.007012187037616968, -0.07102811336517334, 0.030672840774059296, 0.06187912076711655, -0.07184574007987976, 0.008601915091276169, 0.058741189539432526, 0.03734193742275238, 0.04483160749077797, -0.05474579334259033, 0.001011580927297473, 0.0769086480140686, 0.039927490055561066, 0.021161822602152824, -0.10165973007678986, -0.040531594306230545, 0.0928281843662262, 0.004822296556085348, 0.024494605138897896, 0.022072235122323036, 0.047690920531749725, 0.039346158504486084, -0.025576040148735046, -0.07881474494934082, 0.0023769340477883816, -0.011123193427920341, 0.007466202601790428, -0.02857837826013565, -0.04185952991247177, 0.020872630178928375, -0.08115027844905853, 0.035705845803022385, -0.026565877720713615, 0.01323621440678835, -0.010234490968286991, 0.016471397131681442, 0.03587711229920387, 0.028626613318920135, -0.056399159133434296, 0.1207306832075119, 0.03963693603873253, -0.0011589914793148637, -0.013354090973734856, -0.03742951527237892, 0.11632351577281952, 0.011663911864161491, 0.02128431759774685, 0.06324615329504013, -0.06464317440986633, -0.03410978615283966, 0.02350458689033985, 0.029433423653244972, 0.005606156308203936, 0.001719221007078886, -0.035918496549129486, -0.002651412272825837, -0.035943035036325455, 0.05476657301187515, -0.00016644725110381842, -0.008455468341708183, -0.052157238125801086, 0.03733263164758682, 0.05318375676870346, -0.04053888097405434, -0.04374774917960167, 0.07618050277233124, 0.038473404943943024, -0.019129272550344467, -0.005603598430752754, -0.0383976548910141, 0.021719951182603836, -0.009990394115447998, 0.03233154118061066, 0.11054661124944687, -0.027999093756079674, -0.013507088646292686, -0.06251897662878036, -0.018527153879404068, 0.004021794069558382, 0.04066500812768936, -0.03776547685265541, 0.011379687115550041, -0.032174352556467056, 0.022501491010189056, -0.02761748991906643, -0.016983594745397568, 0.009695840999484062, -0.015680965036153793, 0.02604941464960575, -0.013872827403247356, 0.0075324405916035175, 0.0506809838116169, 0.002044329419732094, -0.0050410060212016106, 0.006333731114864349, 0.05001155659556389, -0.040203697979450226, 0.00964862760156393, -0.016984349116683006, -0.0028231895994395018, -0.040002234280109406, 0.05617876723408699, -0.016427211463451385, 0.010781347751617432, 0.0235892366617918, 0.013926917687058449, -0.021183647215366364, -0.004580635577440262, -0.016364486888051033, 0.0010804738849401474, 0.019650327041745186, 0.007450893521308899, -0.039415143430233, -0.0020250696688890457, -0.03969233110547066, -0.007547961547970772, 0.05658630654215813, -0.027373217046260834, 0.00973101332783699, -0.0000663504033582285, 0.023385584354400635, -0.005626740399748087, 0.02184549905359745, -0.006741374731063843, -0.02116999961435795, 0.0042436751537024975, 0.016400668770074844, -0.1300208866596222, -0.03961200267076492, 0.018149273470044136, 0.05245927721261978, -0.015748675912618637, 0.0022447595838457346, 0.009540414437651634, -0.014981609769165516, -0.032220035791397095, -0.008884490467607975, 0.014604773372411728, 0.021266398951411247, 0.01097550243139267, -0.03198561444878578, -0.01813097670674324, 0.04010424390435219, 0.001927382661961019, 0.029734373092651367, 0.03306380659341812, 0.02450389415025711, -0.028879912570118904, 0.07691891491413116, -0.015637965872883797, 0.007264608982950449, 0.006079634185880423, 0.024964701384305954, 0.05358545109629631, 0.029606344178318977, 0.0007015535957179964, -0.03993411362171173, -0.030567415058612823, 0.044830843806266785, -0.04173817113041878, 0.014226868748664856, -0.043338824063539505, -0.013701175339519978, 0.010941268876194954, -0.023604463785886765, -0.038289256393909454, 0.043092645704746246, -0.020015990361571312, -0.004250726196914911, -0.0006000185967423022, 0.015421442687511444, -0.003991958685219288, -0.03300861269235611, 0.008247309364378452, 0.029128430411219597, 0.04731637239456177, -0.06963007152080536, -0.04135572910308838, 0.025957772508263588, 0.006484632845968008, 0.0452565997838974, -0.005845417268574238, 0.024737104773521423, -0.03194187954068184, 0.013035103678703308, 0.04546026885509491, -0.037247657775878906, -0.009016010910272598, 0.021645335480570793, 0.03231663629412651, 0.025224467739462852, -0.007000477984547615, -0.00970281008630991, -0.00547056645154953, -0.008951890282332897, -0.040558166801929474, 0.0776837021112442, 0.023479625582695007, -0.014790697023272514, -0.025957075878977776, 0.014401556923985481, -0.0362556055188179, 0.05849698558449745, -0.02790309675037861, -0.02721426635980606, 0.05076313763856888, 0.005311832297593355, -0.04430123046040535, -0.038788583129644394, -0.015678303316235542, -0.008336007595062256, -0.020239153876900673, 0.029889868572354317, -0.00044089509174227715, 0.009695685468614101, 0.0024310764856636524, 0.016351958736777306, -0.028415082022547722, -0.032540082931518555, -0.01318152341991663, 0.030660269781947136, 0.06549244374036789, 0.008362092077732086, 0.005480629857629538, -0.017326470464468002, -0.014965934678912163, 0.01674778014421463, 0.03598266839981079, -0.04122321307659149, -0.004532305523753166, -0.014306522905826569, 0.024984708055853844, 0.03115084581077099, -0.028001494705677032, -0.049695927649736404, 0.01629273220896721, -0.024681439623236656, 0.02345920167863369, -0.030210305005311966, -0.0018538027070462704, -0.0500042550265789, 0.01571248658001423, -0.051839858293533325, 0.019797682762145996, 0.008672187104821205, -0.0009413411607965827, 0.02727370709180832, -0.06148483231663704, 0.007891261950135231, -0.005597392097115517, 0.019164079800248146, 0.047261010855436325, 0.015484128147363663, 0.03273036703467369, -0.017577940598130226, 0.019217494875192642, -0.003877352923154831, -0.020973356440663338, -0.026639804244041443, 0.01917315274477005, 0.044277697801589966, 0.024731604382395744, 0.03783046826720238, -0.0226040780544281, 0.0020799473859369755, -0.01922512985765934, -0.0489850789308548, 0.018510475754737854, 0.0077996039763092995, 0.028000222519040108, 0.02110251411795616, 0.02870519459247589, -0.01964317075908184, -0.05903961881995201, 0.015966983512043953, -0.01892329752445221, 0.009215625002980232, 0.03591619059443474, -0.004252873361110687, -0.01894860900938511, -0.020672056823968887, -0.016698570922017097, 0.01691509783267975, -0.018847646191716194, 0.006491112057119608, -0.02956582047045231, 0.02908322773873806, 0.035801440477371216, -0.03522137925028801, -0.03301762789487839, 0.04787920415401459, -0.0003091408289037645, -0.021269652992486954, 0.027361713349819183, -0.015287872403860092, 0.0036687771789729595, -0.012578332796692848, 0.04357992112636566, -0.022744331508874893, 0.03432587534189224, -0.03035994991660118, 0.02208859659731388, -0.006006626412272453, -0.030862437561154366, 0.030017226934432983, -0.020795486867427826, -0.006543239112943411, -0.014834337867796421, -0.0009645386599004269, 0.022018685936927795, -0.01814221777021885, -0.017381202429533005, 0.015010645613074303, 0.04101013019680977, 0.03787294775247574, 0.01640525460243225, 0.013472281396389008, -0.005716757848858833, 0.020369289442896843, -0.03384397551417351, -0.0711260586977005, -0.001457753824070096, -0.011809177696704865, 0.0175480879843235, -0.006767017301172018, 0.0017648289212957025, 0.02216428704559803, 0.032849445939064026, -0.004991509485989809, -0.010470462031662464, 0.016332542523741722, 0.057212136685848236, 0.05126906931400299, -0.01497481670230627, -0.043454233556985855, 0.03312090039253235, -0.047551412135362625, -0.047815918922424316, 0.025162942707538605, -0.04888034239411354, -0.035414762794971466, -0.02724991738796234, -0.04688235744833946, -0.000778135028667748, -0.017452962696552277, -0.018021266907453537, 0.027923546731472015, 0.04136963561177254, 0.0364503376185894, -0.02422778308391571, 0.008864004164934158, 0.012435223907232285, -0.024844910949468613, 0.025845063850283623, 0.02308543212711811, -0.030520346015691757, 0.027244867756962776, 0.027716806158423424, -0.0053651779890060425, 0.023643651977181435, 0.018892398104071617, 0.03368231654167175, 0.005636819638311863, -0.0404268354177475, 0.041422102600336075, -0.0013535447651520371, 0.017648831009864807, -0.00566976610571146, -0.039410654455423355, -0.004725589882582426, -0.0032612832728773355, -0.050115108489990234, -0.007642304990440607, 0.05411957949399948, 0.020880362018942833, 0.01806996949017048, -0.009630885906517506, 0.025966940447688103, 0.021212676540017128, -0.02431090548634529, -0.03312346339225769, 0.018693450838327408, 0.0015572624979540706, -0.02034728415310383, -0.0023487843573093414, 0.006167290732264519, -0.04286239296197891, 0.0076514133252203465, -0.011101965792477131, 0.01971854455769062, 0.040629126131534576, -0.0352901816368103, -0.006937223952263594, 0.04317772760987282, -0.034758031368255615, -0.009799906052649021, 0.03246048465371132, 0.011425417847931385, 0.04934096708893776, 0.031395699828863144, 0.027754943817853928, -0.034125249832868576, -0.024607593193650246, 0.041807059198617935, 0.020249493420124054, 0.021832503378391266, 0.036049798130989075, 0.029216665774583817, 0.06585266441106796, -0.03850460797548294, 0.006959368009120226, -0.017344029620289803, -0.004892908968031406, 0.010535478591918945, 0.004526820965111256, 0.027444636449217796, -0.0007299665012396872, -0.008835842832922935, -0.04561163857579231, 0.004117282573133707, 0.013667505234479904, -0.002681686542928219, -0.0012229082640260458, 0.021658217534422874, -0.031456202268600464, 0.034504182636737823, -0.008966813795268536, 0.009892774745821953, 0.011783515103161335, 0.03591039404273033, -0.01719224825501442, 0.009331313893198967, 0.02866671234369278, 0.03244561702013016, 0.03384384140372276, -0.006389951333403587, 0.038049206137657166, 0.015381202101707458, 0.05901148170232773, -0.02549157291650772, 0.018172994256019592, 0.00545446015894413, -0.03240768983960152, -0.002255895873531699, -0.005606775637716055, -0.03123299591243267, 0.012987181544303894, 0.013749758712947369, -0.012023183517158031, -0.004122506361454725, -0.017497597262263298, -0.005114427767693996, -0.04628709331154823, -0.0060044159181416035, -0.035067375749349594, -0.005841239355504513, -0.01634509302675724, -0.01962946727871895, 0.0279599130153656, -0.023571215569972992, -0.0031323865987360477, -0.009495463222265244, 0.007677106652408838, -0.021891765296459198, 0.03219117596745491, -0.03058362938463688, -0.014225938357412815, 0.010931388475000858, -0.00009197759936796501, -0.048954982310533524, -0.0016597394132986665, -0.019154319539666176, 0.014970510266721249, -0.016946904361248016, -0.0012932983227074146, -0.011568648740649223, -0.007978957146406174, 0.046063441783189774, -0.019264589995145798, 0.014509913511574268, 0.029002100229263306, 0.06180080398917198, 0.02830660343170166, -0.02272537536919117, 0.014198051765561104, -0.014124558307230473, -0.0031920154578983784, 0.026756923645734787, 0.002617824822664261, 0.01434114295989275, -0.026737401261925697, -0.012791119515895844, 0.006067884620279074, -0.019907623529434204, 0.025713754817843437, -0.038569193333387375, 0.03885301202535629, -0.02489095740020275, -0.0014534300426021218, 0.02542576938867569, -0.011217356659471989, -0.027751939371228218, 0.03730413317680359, -0.032466769218444824, -0.005918100476264954, -0.013974210247397423, -0.02216106280684471, 0.018420426174998283, 0.020580770447850227, -0.0000742858464946039, 0.026869483292102814, 0.021257225424051285, 0.0002843016409315169, -0.005912733729928732, -0.02208801358938217, 0.029804470017552376, 0.04779999703168869, -0.04740172252058983, -0.02219059318304062, -0.03820303827524185, -0.03310248255729675, 0.02017401158809662, -0.04378846660256386, -0.008524289354681969, -0.032212499529123306, -0.00748402951285243, 0.015914656221866608, -0.05758912116289139, -0.015658758580684662, 0.027056951075792313, -0.007492390926927328, 0.04700028896331787, -0.018050575628876686, -0.006866677664220333, -0.03402243182063103, -0.006562360096722841, -0.036289092153310776, 0.003776154713705182, -0.011148073710501194, -0.013947603292763233, 0.0002795172913465649, 0.00991764198988676, -0.09210054576396942, -0.0382838137447834, 0.030834609642624855, 0.01885187439620495, -0.02931414172053337, -0.014322604052722454, -0.014717397280037403, -0.004184162709861994, -0.014797313138842583, 0.03783407807350159, 0.03482050821185112, -0.040475547313690186, -0.01909426599740982, 0.028868144378066063, 0.01206224039196968, 0.009220944717526436, -0.008039132691919804, 0.0372198261320591, 0.007392398547381163, 0.05686261132359505, -0.017677828669548035, 0.030210116878151894, -0.03749614953994751, 0.03819035738706589, -0.032043229788541794, -0.04514286294579506, -0.008986552245914936, 0.05768147110939026, 0.011937560513615608, -0.027055904269218445, -0.01761128567159176, 0.044480159878730774, 0.040075428783893585, -0.013468638062477112, -0.03465573489665985, 0.019425027072429657, -0.020812159404158592, 0.008930208161473274, 0.014343800023198128, -0.0015861951978877187, 0.05743813142180443, 0.026070402935147285, 0.016818922013044357, 0.0517219714820385, 0.017910262569785118 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
The Winner 🏆🥇 After careful deliberation, the judges crowned one outstanding game as the Winner of the Open Source AI Game Jam. It's Snip It by ohmlet 👏👏👏. Code: Ruben Gres AI assets: Philippe Saade Music / SFX: Matthieu Deloffre In this AI-generated game, you visit a museum where the paintings come to life. Snip the objects in the paintings to uncover their hidden secrets. You can play it here 👉 https://ohmlet.itch.io/snip-it
[ 0.018277151510119438, -0.11078625172376633, 0.12762659788131714, 0.05946825444698334, -0.015261508524417877, 0.11184895783662796, -0.009633415378630161, 0.09917513281106949, -0.08860980719327927, -0.05794493854045868, -0.04826578125357628, 0.0710650384426117, -0.03492705523967743, 0.04961428791284561, 0.04478859156370163, 0.06765549629926682, -0.011206367053091526, 0.008624930866062641, 0.00824050884693861, 0.0150265758857131, 0.008300654590129852, -0.01673763059079647, 0.000005954762855253648, -0.07349911332130432, -0.0008587758638896048, 0.04053165763616562, -0.06376203894615173, 0.03366899862885475, -0.06231890991330147, 0.01429725531488657, -0.04144671559333801, -0.07677832990884781, -0.01063804142177105, -0.06643298268318176, -0.003424182068556547, 0.04438737407326698, -0.0840640738606453, 0.0034043297637254, -0.0026834397576749325, -0.00987133290618658, 0.007208557333797216, -0.002760400762781501, 0.005225732456892729, 0.030803736299276352, -0.011124870739877224, -0.03354964777827263, -0.08571375906467438, 0.04828803613781929, -0.10061642527580261, 0.047351475805044174, -0.0049463436007499695, -0.031603217124938965, 0.05109403282403946, 0.020658086985349655, -0.0545416958630085, -0.0048116291873157024, 0.08969734609127045, -0.025092240422964096, -0.029686303809285164, 0.07176690548658371, 0.018471134826540947, -0.029382823035120964, 0.04256034269928932, -0.03894363343715668, 0.029256021603941917, 0.009654195979237556, 0.0658251941204071, 0.04311643913388252, 0.01842537149786949, 0.0038142099510878325, 0.0153034133836627, -0.04243580251932144, -0.06849700212478638, -0.06472501903772354, -0.0021126889623701572, -0.053875457495450974, 0.0400787778198719, 0.14757347106933594, -0.031173216179013252, 0.010636083781719208, 0.00025964147062040865, -0.0012885346077382565, 0.09783869236707687, -0.005250119604170322, -0.0009854122763499618, 0.004932784009724855, -0.05874866619706154, -0.060838483273983, -0.10722806304693222, 0.02589281089603901, 0.04543633759021759, -0.08503007143735886, -0.008073798380792141, -0.014768105931580067, 0.0009254300966858864, 0.009720858186483383, -0.023543035611510277, 0.006316671147942543, -0.024426721036434174, 0.03071681410074234, 0.04473370313644409, -0.01254364475607872, -0.015992039814591408, -0.04912951588630676, -0.10277962684631348, 0.08215700834989548, 0.018580451607704163, -0.03832245618104935, -0.010207108221948147, 0.028091296553611755, 0.09998609125614166, 0.025207944214344025, 0.012918511405587196, 0.03680374473333359, -0.05722225457429886, 0.05073058232665062, -0.02157927304506302, 0.0330628827214241, -0.02259005606174469, -0.0029595436062663794, 0.010087795555591583, 0.03684357926249504, -0.01828227937221527, -0.044624898582696915, 0.05204173922538757, 0.0034089696127921343, -0.023271996527910233, 0.05750638246536255, 0.011414678767323494, -0.026485398411750793, -0.0377504788339138, 0.03876416012644768, 0.006584344897419214, -0.0314621664583683, 0.029079606756567955, -0.05319595709443092, 0.06495656818151474, -0.06808523833751678, -0.012230827473104, 0.02460981160402298, -0.07814095914363861, 0.009419754147529602, 0.010382306762039661, 0.02734503708779812, 0.007273892872035503, -0.0047818878665566444, -0.05554224178195, -0.012380107305943966, 0.033284883946180344, -0.0014518292155116796, 0.007456774823367596, 0.008477468974888325, -0.041449740529060364, -0.08886991441249847, -0.0569286048412323, 0.07768752425909042, 0.0034823904279619455, -0.023909222334623337, 0.019231947138905525, 0.01220737025141716, 0.08209048211574554, 0.014951205812394619, -0.01549554243683815, 0.017885994166135788, -0.053664084523916245, -0.018064742907881737, 0.022526318207383156, 0.009301833808422089, -0.032841429114341736, -0.030849378556013107, -0.011242427863180637, 0.002850269665941596, 0.09033741801977158, -0.08435038477182388, 0.07353491336107254, -0.016883952543139458, 0.06410124897956848, -0.004207053687423468, 0.10060080885887146, 0.017547523602843285, -0.025474967435002327, -0.033421896398067474, 0.0010480418568477035, 0.04173802584409714, 0.055712610483169556, -0.07309550791978836, 0.028447553515434265, 0.05048137903213501, 0.05925746262073517, -0.0209495946764946, -0.006197977811098099, 0.013268815353512764, 0.09694917500019073, -0.024374429136514664, 0.06433641910552979, -0.007143637631088495, -0.06160271167755127, 0.05166768282651901, 0.05108368396759033, 0.017777226865291595, 0.0365903377532959, -0.03339986503124237, -0.02638886496424675, -0.04749839007854462, -0.021619046106934547, -0.12519583106040955, -0.020424693822860718, -0.04222330451011658, -0.05355743691325188, 0.019303103908896446, -0.005054449662566185, -0.008504136465489864, 0.0934465155005455, -0.017709847539663315, 0.021636968478560448, 0.01479397527873516, 0.01739014871418476, -0.0456942580640316, 0.04495278000831604, -0.02800896391272545, 0.041160065680742264, -0.01352955587208271, -0.0009913085959851742, -0.01711101643741131, 0.01819753274321556, 0.08689341694116592, 0.018755918368697166, 0.06178361549973488, 0.0010926126269623637, -0.01119255181401968, -0.07621756941080093, 0.008705767802894115, -0.026664061471819878, -0.03665687516331673, -0.007127149496227503, -0.04111389443278313, 0.12334872037172318, 0.00220379582606256, 0.03159240633249283, -0.020435456186532974, -0.00240908982232213, 0.004768733866512775, -0.025349073112010956, 0.021541399881243706, 0.04660258814692497, -0.03077106922864914, -0.005655166693031788, 0.02653387002646923, 0.018307894468307495, 0.08024878054857254, -0.023768940940499306, -0.06007232889533043, -0.016268016770482063, 0.00858649518340826, -0.004768990445882082, -0.06368834525346756, 0.01743161678314209, -0.05528619885444641, 0.014346441254019737, 0.05614012852311134, -0.004804978147149086, -0.031661856919527054, -0.005462409928441048, -0.013586841523647308, -0.016871033236384392, -0.02193896472454071, -0.04619157314300537, 0.013201254419982433, 0.003203185275197029, -0.031265418976545334, -0.058201342821121216, -0.022612737491726875, 0.00674517173320055, -0.02556917816400528, -0.0004373827250674367, 0.018887370824813843, -0.004187010228633881, -0.00968555361032486, 0.053459715098142624, 0.025159042328596115, 0.04071015119552612, 0.0001817212614696473, 0.03272464871406555, 0.039607781916856766, -0.05238788574934006, 0.03213515505194664, -0.007893992587924004, 0.012679553590714931, -0.02944437600672245, 0.03919525444507599, 0.0014624308096244931, 0.04372172802686691, 0.01520339585840702, 0.038536421954631805, 0.028261084109544754, -0.031068729236721992, 0.015303108841180801, -0.014818007126450539, -0.008588614873588085, -0.006006687413901091, -0.036086853593587875, -0.003746655071154237, -0.0300301443785429, 0.014324253425002098, 0.001853370456956327, 0.0033466131426393986, -0.0022938232868909836, -0.017599936574697495, -0.06797165423631668, -0.005371725186705589, -0.012794175185263157, 0.004948849324136972, -0.05127134919166565, -0.0253108199685812, 0.013892436400055885, 0.01738712377846241, 0.0201991256326437, 0.027866480872035027, -0.010550418868660927, 0.000075978045060765, -0.003005069447681308, 0.03572073206305504, 0.03588368743658066, 0.006001663859933615, -0.022727271541953087, -0.03051668033003807, -0.022559894248843193, -0.0057220906019210815, -0.05225787311792374, 0.06214199215173721, -0.00804254598915577, 0.005405121482908726, 0.017131155356764793, -0.0167929008603096, -0.002067129360511899, -0.050118740648031235, 0.009172005578875542, -0.03994577378034592, -0.01836344599723816, 0.01076129823923111, -0.011653542518615723, -0.011554615572094917, -0.06757169216871262, 0.01645657606422901, 0.034072160720825195, 0.025106048211455345, 0.0010458980686962605, -0.03346238285303116, 0.001975603401660919, 0.0005134554230608046, 0.0020746791269630194, -0.041705042123794556, 0.02325337752699852, -0.016980675980448723, -0.0374726802110672, 0.022593539208173752, 0.004290726035833359, -0.07104309648275375, 0.013102082535624504, 0.013423356227576733, -0.015289857983589172, 0.022023575380444527, 0.0026346370577812195, 0.017978603020310402, -0.0033858122769743204, 0.045282989740371704, -0.0077313752844929695, -0.0146643640473485, 0.014440502971410751, 0.04157404229044914, -0.038885448127985, 0.028734907507896423, 0.03792756423354149, 0.020921573042869568, 0.044371165335178375, 0.01376370433717966, -0.03853139653801918, 0.06914053112268448, 0.021337825804948807, 0.007067651022225618, -0.02565765753388405, 0.0031243846751749516, -0.01857711374759674, 0.038877934217453, -0.05369720607995987, 0.0016354575054720044, -0.014149082824587822, 0.021401209756731987, -0.05729874595999718, -0.041069574654102325, 0.028517574071884155, -0.016789274290204048, -0.02532193437218666, -0.003241109661757946, -0.016384312883019447, 0.009054148569703102, 0.060968536883592606, 0.02038104645907879, -0.027754537761211395, -0.02865617163479328, 0.03299405053257942, -0.01573200337588787, 0.020011845976114273, -0.003424030728638172, 0.007141188718378544, 0.034312207251787186, -0.012383846566081047, 0.00305739208124578, 0.026817750185728073, 0.0013742336304858327, -0.044836338609457016, -0.005425424315035343, -0.0022086561657488346, 0.004325402434915304, -0.017029481008648872, -0.035177409648895264, 0.01463435497134924, -0.011059727519750595, -0.012184053659439087, -0.02417701669037342, -0.03262867406010628, 0.04181332513689995, 0.006091148126870394, 0.01253428403288126, 0.046077240258455276, -0.004566763527691364, 0.008404369466006756, -0.03550577908754349, -0.019037818536162376, -0.017244206741452217, 0.012830239720642567, 0.022718096151947975, 0.004315725993365049, 0.01341262273490429, -0.03887869045138359, -0.012983543798327446, -0.007829294539988041, -0.018385495990514755, 0.010345918126404285, -0.03823751583695412, 0.012592626735568047, 0.012309088371694088, 0.051067158579826355, 0.04464050009846687, -0.008996115997433662, 0.016466503962874413, 0.012235039845108986, 0.010808615945279598, 0.04423536732792854, 0.026682652533054352, 0.06259727478027344, -0.008929737843573093, 0.0028259509708732367, -0.006936659570783377, 0.03891325742006302, 0.022582566365599632, 0.014131700620055199, -0.005982674658298492, 0.03320758044719696, -0.003279391210526228, 0.010062804445624352, -0.018575966358184814, 0.07549303770065308, 0.007206770125776529, -0.023447426036000252, 0.004259603563696146, -0.023814506828784943, 0.020866530016064644, 0.04486692324280739, -0.015351732261478901, -0.019361723214387894, 0.0870283916592598, -0.0037990505807101727, -0.024067679420113564, 0.032011259347200394, 0.019749686121940613, -0.0069873579777777195, -0.016101235523819923, -0.019434144720435143, 0.007944030687212944, 0.05892445147037506, 0.008909482508897781, -0.0013555876212194562, 0.005585545673966408, 0.06385154277086258, 0.018382471054792404, -0.014435148797929287, 0.02105003595352173, 0.006695152726024389, 0.00014997104881331325, 0.050426896661520004, -0.02521970495581627, 0.028306495398283005, 0.010585285723209381, 0.02131037972867489, 0.04498345032334328, -0.02280164137482643, -0.0065583838149905205, -0.004174013156443834, -0.0010992191964760423, -0.03542611002922058, -0.023109175264835358, 0.05606188625097275, -0.02454281412065029, -0.015023174695670605, -0.07822822779417038, 0.015492735430598259, -0.05944900959730148, 0.06299271434545517, -0.00117074279114604, -0.05200740322470665, 0.03238680958747864, 0.023435309529304504, -0.02255328558385372, 0.0003829875204246491, -0.002396885771304369, 0.01250701118260622, 0.0023296435829252005, -0.048127204179763794, -0.04426451399922371, -0.00994857121258974, -0.01119469478726387, -0.025003543123602867, -0.005266615189611912, 0.014239005744457245, -0.024100374430418015, -0.03291314095258713, 0.027338439598679543, -0.015160972252488136, -0.01181887835264206, 0.0002915521617978811, -0.04285252466797829, 0.016467032954096794, -0.00885146763175726, 0.046150196343660355, -0.02780333161354065, 0.02185782603919506, -0.018704112619161606, 0.0633985623717308, -0.027275387197732925, 0.0060896240174770355, 0.03586215898394585, -0.013135666027665138, -0.008381656371057034, -0.017431510612368584, 0.014444508589804173, 0.032354507595300674, -0.018324343487620354, -0.020737221464514732, 0.007708530407398939, -0.026842115446925163, -0.005346357822418213, -0.015022375620901585, 0.07046467810869217, 0.02842414379119873, 0.007516731508076191, -0.010882767848670483, -0.01683698408305645, -0.009232839569449425, 0.03253978118300438, -0.015525010414421558, -0.011917999014258385, 0.013943027704954147, 0.01424146443605423, 0.01707523874938488, 0.02423008717596531, -0.026736363768577576, -0.005988576449453831, -0.053058985620737076, -0.03087262064218521, 0.0009980978211387992, 0.027748476713895798, 0.0011491429759189487, 0.04684783145785332, -0.008859324268996716, -0.05965997651219368, -0.012510571628808975, -0.024144915863871574, -0.011253757402300835, -0.005925930105149746, 0.07200571894645691, 0.011013801209628582, -0.03803180158138275, -0.028296539559960365, 0.033065762370824814, 0.05163387209177017, -0.003265530336648226, 0.035529009997844696, 0.030443262308835983, 0.018348289653658867, 0.01075238548219204, 0.015404519625008106, -0.017450770363211632, -0.00996127538383007, 0.02653467282652855, -0.007834462448954582, 0.05588610842823982, 0.008779291063547134, -0.004468989558517933, -0.06069021299481392, 0.010886234231293201, 0.0031704544089734554, -0.04403958097100258, 0.01874830760061741, 0.0049240668304264545, -0.005156900268048048, -0.02421359345316887, 0.008631090633571148, 0.03936965391039848, -0.008083105087280273, 0.03175537288188934, 0.04476746916770935, -0.004678466357290745, 0.04937688261270523, -0.04802236333489418, 0.019574997946619987, -0.03553229942917824, 0.010648537427186966, -0.028252748772501945, 0.01981271244585514, -0.02746790647506714, 0.01945205219089985, -0.00686453515663743, -0.027297331020236015, -0.03843104466795921, -0.05622021108865738, 0.004619872663170099, 0.06270154565572739, -0.04183352366089821, -0.05138927698135376, -0.050245583057403564, 0.020431920886039734, 0.016749627888202667, -0.0012088262010365725, -0.008973951451480389, -0.02948429435491562, 0.017753515392541885, 0.0017421860247850418, 0.005561816040426493, 0.013971582986414433, -0.03936449810862541, 0.035786185413599014, -0.022554239258170128, -0.02970060333609581, 0.00871216505765915, -0.017307676374912262, -0.03573480248451233, -0.06392969936132431, 0.04588862136006355, 0.020790547132492065, -0.01202845573425293, -0.013771089725196362, -0.04389740154147148, 0.0004005637892987579, 0.023522604256868362, 0.043539177626371384, -0.04792266711592674, -0.006103787571191788, 0.03779638931155205, 0.028719663619995117, -0.040440768003463745, 0.005900343414396048, -0.007078373804688454, 0.01858525723218918, -0.01338948030024767, -0.013837171718478203, -0.00770755996927619, 0.007110421545803547, 0.032932378351688385, -0.006273262202739716, 0.02954905293881893, -0.021937517449259758, -0.0147415054962039, 0.007933900691568851, 0.000867238559294492, 0.024796796962618828, 0.0032152999192476273, 0.06992152333259583, 0.0069356742314994335, -0.0027668336406350136, 0.01874684728682041, 0.05017777532339096, 0.010115866549313068, -0.010127883404493332, -0.020119864493608475, -0.02008257992565632, -0.05279376730322838, 0.04248889163136482, 0.02388542890548706, 0.05862490460276604, 0.05002335086464882, 0.01589963212609291, 0.01902957446873188, 0.04268268868327141, -0.006302698515355587, 0.006781427655369043, -0.019024092704057693, 0.03671560809016228, -0.03672757372260094, -0.04374958574771881, -0.04431763291358948, 0.011328366585075855, 0.020405851304531097, -0.0007885330123826861, -0.07227518409490585, 0.017474837601184845, -0.026188712567090988, 0.010564197786152363, -0.02097497321665287, 0.031920794397592545, 0.012042837217450142, -0.0061401668936014175, -0.03175227344036102, 0.024479813873767853, -0.03562375158071518, -0.032002996653318405, 0.0013030602131038904, 0.017952052876353264, -0.004620302468538284, -0.03724481910467148, -0.006036302074790001, -0.011646481230854988, -0.00912274420261383, -0.062480226159095764, -0.023314109072089195, -0.013005681335926056, 0.07384678721427917, -0.04723265767097473, 0.019529659301042557, 0.005108699668198824, -0.034587424248456955, -0.008374819532036781, -0.021824723109602928, -0.040100738406181335, 0.0026450827717781067, -0.036123357713222504, -0.00015018865815363824, -0.048211805522441864, 0.017709575593471527, 0.025178255513310432, 0.0663117840886116, -0.014843014068901539, 0.037355195730924606, -0.005531073547899723, -0.001028427854180336, 0.03929862007498741, 0.0024784670677036047, -0.03476452827453613, -0.03063267655670643, -0.005761574022471905, -0.006214031018316746, -0.004403155297040939, -0.04704292491078377, 0.011666913516819477, 0.01109318621456623, 0.04762349650263786, -0.019387830048799515, -0.04626315087080002, 0.025374718010425568, 0.0213585514575243, 0.016331803053617477, 0.03896959871053696, -0.025225497782230377, 0.04002586752176285, 0.057713333517313004, 0.0275228600949049, -0.007703492883592844, 0.03166192024946213 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
#1: Snip It In addition to be the winner of the Game Jam, Snip it has been selected as the top participant selection. 🤖 Open Source Model Used: Stable Diffusion to generate the assets. 🎮👉 https://ohmlet.itch.io/snip-it
[ 0.03395887091755867, -0.08836052566766739, 0.04981186240911484, 0.04198980703949928, -0.0039566801860928535, 0.08017855882644653, -0.03629149869084358, 0.10817593336105347, -0.0812186524271965, -0.12129569053649902, -0.04310447722673416, 0.0427154116332531, -0.042615510523319244, 0.022615592926740646, 0.029008623212575912, 0.07200680673122406, -0.010882562957704067, -0.023197254166007042, 0.01273716427385807, 0.009955480694770813, -0.0066216797567903996, 0.0003250866720918566, 0.004537754692137241, -0.05707928538322449, 0.018501611426472664, 0.002956173149868846, -0.040143564343452454, 0.0043783229775726795, -0.00002628760012157727, 0.013870139606297016, -0.09546490758657455, -0.08384119719266891, 0.017368078231811523, -0.05641947686672211, 0.023728741332888603, -0.023768350481987, -0.05568287521600723, 0.06577010452747345, -0.009736002422869205, -0.05659446492791176, 0.01020748820155859, -0.032852839678525925, -0.01098974235355854, 0.07423681020736694, 0.0053450921550393105, -0.058019161224365234, -0.14879310131072998, 0.056281570345163345, -0.09696285426616669, 0.018330629914999008, -0.07271697372198105, 0.06111467257142067, 0.026929734274744987, 0.015568082220852375, -0.008045781403779984, -0.05142896622419357, 0.08939089626073837, -0.029266757890582085, -0.036103881895542145, 0.07886289060115814, 0.06443187594413757, -0.015055146999657154, 0.014152077957987785, 0.02732235938310623, 0.030166978016495705, 0.035108890384435654, 0.02226370759308338, 0.05438391491770744, -0.04082473739981651, -0.010846477933228016, 0.032588209956884384, -0.06307316571474075, -0.03961949050426483, -0.008593620732426643, 0.05403284355998039, -0.06278915703296661, 0.01220183540135622, 0.15966306626796722, 0.028711987659335136, 0.013366508297622204, -0.015325790271162987, 0.01672859489917755, 0.09776278585195541, 0.04398868978023529, 0.005257098004221916, 0.022318627685308456, 0.01507424283772707, -0.04792087897658348, -0.09660973399877548, 0.03482769802212715, 0.04783998429775238, -0.05487004294991493, 0.04050953686237335, -0.008764643222093582, 0.013805389404296875, -0.019303148612380028, 0.013795812614262104, 0.012824272736907005, -0.024521173909306526, 0.011028122156858444, 0.016577448695898056, -0.021649392321705818, -0.013570362702012062, -0.057044919580221176, -0.08998240530490875, 0.060610074549913406, -0.0014287508092820644, -0.060164209455251694, -0.016315538436174393, 0.030185433104634285, 0.07683324068784714, -0.008762448094785213, 0.03802373632788658, 0.027559170499444008, -0.03979289531707764, 0.09737075865268707, -0.045559704303741455, 0.009971079416573048, -0.03465281426906586, 0.027449559420347214, 0.002008633455261588, 0.07052814960479736, -0.02554403804242611, -0.008371775969862938, 0.025015927851200104, 0.05888880416750908, 0.018404165282845497, -0.0013382991310209036, -0.043155744671821594, -0.03079836443066597, 0.005325027741491795, 0.011440315283834934, -0.028866717591881752, -0.0358751118183136, 0.04761607199907303, -0.100196972489357, 0.014972267672419548, -0.04683651775121689, -0.003491076873615384, -0.008229397237300873, -0.07217014580965042, 0.01316093746572733, -0.006923024542629719, 0.06889673322439194, -0.006972917355597019, -0.06362978368997574, -0.07331467419862747, 0.0012217448092997074, 0.056661609560251236, 0.01705784536898136, 0.042427610605955124, 0.03012772463262081, -0.02729196846485138, -0.06807012110948563, 0.001163984532468021, 0.07411784678697586, -0.0322800874710083, -0.036624398082494736, 0.007445776369422674, -0.017329202964901924, 0.050971996039152145, 0.003615412162616849, -0.022612128406763077, 0.038979146629571915, 0.0005638394504785538, -0.013076813891530037, 0.0283987894654274, 0.04209371283650398, -0.0005606393096968532, -0.04369813948869705, -0.007132964674383402, 0.0026822173967957497, 0.027087083086371422, -0.04443558678030968, 0.016478197649121284, 0.050511039793491364, 0.055641066282987595, 0.03561297059059143, 0.03939495235681534, 0.049111708998680115, -0.03274926915764809, -0.02570529095828533, 0.006664738524705172, 0.056592464447021484, 0.045451823621988297, -0.12791447341442108, 0.03386518731713295, 0.03952115401625633, 0.009966711513698101, -0.03278857469558716, -0.001216050237417221, 0.01256902702152729, 0.13211362063884735, 0.0013475551968440413, 0.03310846909880638, -0.057827677577733994, -0.05906984955072403, 0.030133835971355438, 0.0518762581050396, 0.03336753323674202, 0.02268165722489357, -0.02437558025121689, -0.03849519416689873, -0.017145905643701553, -0.09595786780118942, -0.10671845078468323, -0.01837206818163395, -0.003777789883315563, -0.004878212697803974, -0.038446154445409775, -0.012293526902794838, -0.000716235488653183, 0.07613407075405121, -0.0710245817899704, 0.005770456045866013, 0.002158852992579341, -0.006655535195022821, -0.03795182704925537, 0.01534187886863947, -0.04717915132641792, 0.11348383128643036, -0.024194223806262016, -0.006279283668845892, 0.010505259968340397, 0.00677695544436574, 0.10476784408092499, 0.008694345131516457, 0.0561022125184536, 0.04925549402832985, -0.06375124305486679, -0.03178197890520096, -0.02131076343357563, 0.0016566242557018995, -0.014280137605965137, 0.024822890758514404, -0.060638729482889175, 0.09098885208368301, 0.00910581648349762, 0.032495394349098206, -0.06295029819011688, 0.010844781063497066, -0.04938911646604538, -0.019472608342766762, 0.052304867655038834, -0.025435952469706535, -0.035524241626262665, 0.04223606362938881, 0.03622105345129967, -0.009586275555193424, 0.05215191841125488, -0.019988974556326866, -0.028117962181568146, -0.010862126015126705, -0.018575746566057205, 0.07905539125204086, -0.07525072991847992, -0.01685805805027485, -0.04949011653661728, 0.016082901507616043, 0.044162437319755554, 0.0055222297087311745, -0.030483150854706764, -0.022424716502428055, -0.0021541996393352747, -0.00731830857694149, -0.010074557736515999, -0.018434524536132812, 0.02868344821035862, -0.0271244328469038, -0.025716258212924004, -0.03243499621748924, 0.005461103282868862, -0.017666829749941826, -0.02690887078642845, -0.04445572569966316, 0.01973140612244606, 0.008824003860354424, -0.03416922688484192, 0.030696408823132515, 0.022784080356359482, 0.008341492153704166, -0.0016855644062161446, 0.035864200443029404, 0.006532155908644199, 0.02172931656241417, 0.04293780028820038, 0.006753616966307163, 0.021045895293354988, -0.03940201550722122, 0.014319246634840965, 0.004187765531241894, 0.03685417026281357, 0.0062528629787266254, -0.006757257040590048, 0.03134014084935188, -0.015477171167731285, 0.019776806235313416, -0.02796168252825737, -0.020116427913308144, -0.04201513156294823, -0.030978621914982796, -0.0007380818133242428, -0.021326448768377304, 0.04750126972794533, -0.011185037903487682, 0.006131481379270554, -0.016039196401834488, -0.007186624687165022, -0.10084450244903564, -0.00615291204303503, -0.007344513200223446, 0.03311656415462494, -0.04251405596733093, -0.04406549409031868, -0.0013195389183238149, -0.033907629549503326, -0.005693051964044571, 0.04805724695324898, -0.038881924003362656, 0.02490539476275444, 0.004612423945218325, -0.002229078207165003, -0.02282288670539856, 0.025796664878726006, 0.02516321651637554, -0.013129337690770626, -0.011286163702607155, 0.025393344461917877, -0.04316713660955429, 0.06643347442150116, 0.00018019489652942866, -0.0005226631183177233, 0.01689554937183857, -0.004639751277863979, 0.03050845116376877, 0.003942697308957577, 0.022468794137239456, -0.008886953815817833, -0.01909906230866909, 0.04277076944708824, 0.011149182915687561, 0.007464250084012747, -0.04081311076879501, 0.011044321581721306, 0.03165574371814728, 0.06562633067369461, 0.014018267393112183, 0.011237588711082935, -0.029585661366581917, 0.026396242901682854, 0.012178851291537285, -0.02070469781756401, 0.02976144663989544, -0.022361641749739647, -0.00973327923566103, 0.010631322860717773, 0.009546925313770771, -0.062373287975788116, 0.0025809756480157375, -0.021539263427257538, -0.0075159925036132336, 0.03931334242224693, 0.009812755510210991, 0.025947991758584976, -0.0010682581923902035, 0.03219122812151909, 0.008303203620016575, -0.023694992065429688, -0.010704347863793373, 0.042448416352272034, -0.004690251313149929, 0.0031612494494765997, 0.009694112464785576, 0.008076444268226624, 0.016784008592367172, 0.0318792350590229, -0.04793578013777733, 0.07304505258798599, 0.03537384793162346, -0.010044077411293983, -0.007218021899461746, 0.011544594541192055, -0.021844226866960526, 0.03608278930187225, -0.042494140565395355, 0.004903455264866352, 0.04192923381924629, -0.0013572699390351772, -0.07770390063524246, -0.045755259692668915, 0.031292323023080826, -0.05574142560362816, -0.007071899715811014, 0.005365882534533739, 0.018197035416960716, -0.009726762771606445, 0.04856079816818237, 0.004974736832082272, -0.025345858186483383, -0.010397880338132381, 0.05452059581875801, 0.003692332888022065, 0.032443366944789886, 0.029002368450164795, 0.035909365862607956, 0.023181380704045296, -0.03674951195716858, 0.01947375014424324, 0.04125543311238289, -0.01209934614598751, -0.027248524129390717, 0.015316999517381191, -0.01828720234334469, 0.03458883985877037, -0.06524967402219772, -0.027961743995547295, 0.03375101834535599, -0.002411130117252469, 0.027742130681872368, -0.01270781084895134, -0.03871291130781174, -0.005494642071425915, 0.041222717612981796, -0.0009178181062452495, 0.007214937824755907, 0.009062371216714382, 0.006445662118494511, -0.0051509481854736805, -0.050974197685718536, 0.011873294599354267, 0.027875496074557304, -0.008725399151444435, 0.036004867404699326, 0.025096112862229347, -0.028883691877126694, 0.02394995652139187, -0.007128910627216101, -0.010957852005958557, -0.01986812613904476, -0.043981533497571945, -0.00023182210861705244, 0.04979824274778366, 0.04466482624411583, 0.022059932351112366, -0.03039815090596676, 0.028201907873153687, -0.012183048762381077, -0.053367335349321365, 0.004611948039382696, 0.011209681630134583, 0.04468293860554695, 0.01853714883327484, -0.018378926441073418, -0.024052221328020096, 0.0017570055788382888, -0.004518737085163593, -0.012074409052729607, 0.027199944481253624, 0.0266906525939703, -0.002720880089327693, -0.009216231293976307, 0.0006074834964238107, 0.05610077828168869, -0.01456524059176445, -0.027631111443042755, -0.02397514320909977, -0.01796620711684227, 0.0063631488010287285, 0.024903783574700356, -0.005987782496958971, -0.01750575751066208, 0.08621270209550858, -0.017745167016983032, -0.009457973763346672, 0.01995539478957653, -0.02828548476099968, -0.008599220775067806, -0.02257646434009075, -0.0030585022177547216, -0.005690428894013166, -0.008948798291385174, -0.014906098134815693, -0.003250136272981763, 0.00569789856672287, 0.06297144293785095, 0.04065650328993797, -0.033415719866752625, 0.03841468319296837, -0.018005112186074257, 0.01275104284286499, 0.04295041412115097, -0.019294405356049538, 0.019195161759853363, 0.019693760201334953, 0.018966708332300186, 0.0329601988196373, 0.024092406034469604, 0.01837882213294506, 0.004113748203963041, 0.00997519213706255, -0.023435262963175774, -0.03612634912133217, 0.01944124326109886, -0.0006350551848299801, -0.0034632824826985598, -0.04826269671320915, 0.012254970148205757, -0.040632590651512146, 0.039913151413202286, 0.039444610476493835, -0.026883339509367943, 0.005871722940355539, 0.020480697974562645, -0.00914253294467926, 0.016309155151247978, -0.013366516679525375, 0.01202373392879963, -0.02409004047513008, -0.0374305322766304, -0.031916406005620956, -0.007047593127936125, -0.024134686216711998, -0.043468501418828964, -0.03227353096008301, -0.009185629896819592, -0.016158152371644974, -0.03309657424688339, 0.06380341947078705, 0.0034584805835038424, 0.002359972568228841, 0.0015251565491780639, -0.008408109657466412, 0.010072815231978893, 0.00025872644619084895, 0.01794135943055153, -0.033876724541187286, -0.017833037301898003, 0.004799435846507549, 0.07713758945465088, -0.015172328799962997, 0.03667087107896805, 0.035706933587789536, -0.004740468226373196, -0.005635831970721483, -0.0003921958268620074, 0.04402534291148186, 0.05455939844250679, -0.011643393896520138, -0.0014823558740317822, 0.005524789914488792, -0.036706313490867615, -0.024967435747385025, -0.005812223069369793, 0.03080677054822445, 0.0721047893166542, 0.04428159445524216, -0.015178287401795387, 0.010680384002625942, 0.01725471392273903, -0.00396577175706625, -0.009572985582053661, -0.030006499961018562, -0.052806347608566284, -0.022137794643640518, 0.012527436017990112, 0.004284863825887442, -0.022526580840349197, -0.05673860386013985, -0.027302099391818047, -0.03058958798646927, -0.0047517698258161545, 0.028485506772994995, -0.03531239926815033, 0.029475467279553413, -0.013580096885561943, -0.07300218939781189, -0.0077194287441670895, -0.005685003474354744, 0.018744736909866333, 0.0034325721208006144, 0.07329833507537842, 0.01707831770181656, -0.04400518909096718, -0.02297794632613659, 0.06846664100885391, 0.0243695005774498, -0.014739533886313438, 0.055059533566236496, 0.019473036751151085, 0.034593239426612854, 0.01926642656326294, 0.02076057903468609, 0.002560717985033989, 0.037971291691064835, 0.00031622382812201977, -0.022583654150366783, 0.04978075996041298, -0.011074109934270382, -0.0016112250741571188, -0.05217785760760307, 0.006895451340824366, 0.010353018529713154, -0.04464124143123627, 0.020529821515083313, -0.007824516855180264, -0.04990227147936821, -0.016013765707612038, -0.01679234579205513, 0.04808643460273743, 0.005845668725669384, 0.02317173406481743, 0.014410980977118015, -0.036167725920677185, -0.00558381387963891, -0.011994197964668274, 0.022239191457629204, -0.03287835419178009, 0.028015457093715668, -0.008782260119915009, 0.03252040222287178, -0.010109753347933292, -0.0032029699068516493, 0.005056057590991259, -0.021956732496619225, 0.00624740170314908, -0.022880805656313896, 0.02773456834256649, 0.018059445545077324, 0.020307103171944618, -0.05562865734100342, -0.026873143389821053, 0.00881788320839405, -0.01104173343628645, 0.009845094755291939, 0.013749247416853905, -0.025175834074616432, -0.01211521402001381, 0.01836274564266205, 0.010609644465148449, 0.02151772938668728, -0.01272591296583414, 0.002147125778719783, -0.0030236560851335526, -0.03267112001776695, -0.005855886731296778, 0.013034751638770103, -0.05041015148162842, -0.04491882398724556, 0.048778314143419266, 0.03752491623163223, 0.0016406544018536806, -0.006932773161679506, -0.04434040188789368, 0.009969227947294712, 0.00007797949365340173, 0.03930114582180977, -0.041430409997701645, -0.017405910417437553, 0.026256108656525612, -0.02578437142074108, -0.03438477963209152, 0.04558008164167404, 0.03291403129696846, 0.0034267548471689224, 0.01487661898136139, -0.008411063812673092, 0.02099503017961979, -0.019792450591921806, 0.056516390293836594, -0.0034091854467988014, 0.019924921914935112, -0.031096359714865685, -0.007680870592594147, 0.010441281832754612, -0.018968725576996803, 0.015654778108000755, 0.015269051305949688, 0.06554896384477615, -0.01034398190677166, 0.009130478836596012, 0.015749739482998848, 0.03466968238353729, -0.017971692606806755, 0.010027507320046425, 0.017742924392223358, -0.02600073628127575, -0.05285818874835968, 0.02702256105840206, 0.04233125224709511, 0.034091848880052567, 0.0418400913476944, 0.019005874171853065, 0.02199188433587551, 0.00813375785946846, 0.011497830972075462, 0.013015827164053917, -0.014114058576524258, 0.025864945724606514, -0.0453188456594944, -0.040428526699543, -0.06104016676545143, 0.005607450380921364, 0.0041223508305847645, -0.022701121866703033, -0.05367956683039665, 0.008228844963014126, -0.03508889675140381, 0.012401430867612362, -0.014013190753757954, 0.01685784012079239, 0.028401903808116913, 0.016773467883467674, -0.003995011560618877, 0.06512200087308884, -0.028357569128274918, -0.04046371579170227, -0.002754485234618187, 0.02570580132305622, 0.01749870553612709, -0.007679065223783255, -0.007831069640815258, 0.017145216464996338, -0.00595708517357707, -0.06516612321138382, -0.04734666645526886, -0.020434709265828133, 0.02900918759405613, -0.04336421191692352, 0.019021710380911827, 0.003771897405385971, -0.007338601630181074, 0.005540967453271151, 0.0097158532589674, -0.03110017441213131, -0.0006011305958963931, 0.004473170265555382, 0.003857699455693364, -0.01879807561635971, 0.020101862028241158, -0.0043714758940041065, 0.07238170504570007, -0.03886403515934944, 0.02866627834737301, 0.01995641551911831, 0.014491740614175797, 0.003953711595386267, 0.007856332696974277, 0.004649731330573559, -0.024155396968126297, -0.006346953567117453, 0.023473672568798065, 0.025388730689883232, -0.028106020763516426, -0.014462783001363277, 0.006112350150942802, 0.039032161235809326, -0.022741062566637993, -0.065279021859169, 0.02311452478170395, 0.01803562417626381, 0.014425903558731079, 0.022782474756240845, -0.043164558708667755, 0.047056037932634354, 0.02031862735748291, 0.015836022794246674, 0.01790878176689148, 0.015222844667732716 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
#3: Fish Dang Bot Rolling Land In this game, you take control of a fish-shaped robot named Fein, who is abandoned in a garbage dump with mechanical legs. Unexpectedly, it develops self-awareness, and upon awakening, it sees a dung beetle pushing a dung ball. Naturally, Fein assumes himself to be a dung beetle and harbours a dream of pushing the largest dung ball. With this dream in mind, it decides to embark on its own adventure. 🤖 Used Text To Speech model to generate the voices. 🎮👉 https://zeenaz.itch.io/fish-dang-rolling-laud
[ 0.028567375615239143, -0.055974189192056656, -0.017716169357299805, 0.010384839959442616, -0.005503731779754162, 0.11942446976900101, 0.003719012951478362, 0.05990422144532204, -0.01916239969432354, -0.11724839359521866, -0.047200798988342285, -0.0006705609266646206, -0.026798754930496216, 0.0018795288633555174, 0.04121316596865654, -0.0031283863354474306, 0.02829860895872116, -0.032663971185684204, 0.029899541288614273, -0.0015910920919850469, -0.048528727144002914, -0.028633911162614822, 0.03833559900522232, 0.03057274967432022, 0.02065083384513855, 0.04669481888413429, 0.040806520730257034, 0.0522981621325016, -0.07879634201526642, 0.013408399187028408, -0.06186031550168991, -0.10254943370819092, 0.043212976306676865, -0.0018825252773240209, 0.007381910923868418, -0.06445155292749405, 0.009108632802963257, -0.002186097437515855, 0.021346701309084892, -0.06371171027421951, -0.007491010706871748, 0.029975753277540207, 0.01406584307551384, -0.020926056429743767, 0.05838683992624283, 0.0795702189207077, -0.13380418717861176, -0.02898457832634449, -0.06279246509075165, -0.017549987882375717, -0.04117482528090477, 0.03392477333545685, -0.0061599030159413815, -0.009510181844234467, 0.010645185597240925, 0.033143799751996994, 0.077698715031147, -0.021854551509022713, -0.014315178617835045, 0.0516764298081398, 0.04518776014447212, 0.01944485493004322, 0.027641909196972847, 0.06561785936355591, 0.05373150855302811, 0.00022119987988844514, -0.01654200814664364, 0.03211713209748268, -0.02241911180317402, -0.07330848276615143, 0.024533884599804878, -0.032279130071401596, -0.12091422080993652, -0.0674690380692482, -0.019273072481155396, -0.05795279145240784, 0.037305913865566254, 0.08191109448671341, -0.07040216028690338, 0.019135309383273125, -0.0022019674070179462, -0.02399689331650734, 0.10669736564159393, 0.0387469083070755, -0.026571257039904594, -0.037098485976457596, 0.06460128724575043, 0.04744287580251694, -0.0906670093536377, 0.03443440794944763, -0.03680277615785599, -0.07433481514453888, -0.023967331275343895, -0.02965741790831089, 0.06562066078186035, 0.01552907656878233, -0.012146847322583199, -0.0026245040353387594, 0.027256425470113754, 0.05296261981129646, -0.013466406613588333, -0.0314193032681942, 0.010810763575136662, -0.03879090026021004, 0.0027801694814115763, 0.03326816484332085, 0.03037942573428154, -0.013130929321050644, -0.06397552788257599, 0.009686247445642948, 0.0017054908676072955, 0.0007078576018102467, 0.057978663593530655, -0.023029813542962074, -0.035605039447546005, 0.07374671846628189, -0.038592930883169174, -0.01772717945277691, 0.01441097166389227, 0.025605831295251846, 0.07372833043336868, -0.0330316498875618, 0.05025937408208847, 0.04182341322302818, 0.011071858927607536, 0.05580512434244156, -0.03280708193778992, -0.062118563801050186, 0.0016914961161091924, -0.014195794239640236, 0.046491485089063644, -0.007394574116915464, -0.0236409530043602, 0.012768165208399296, -0.022910958155989647, -0.025668803602457047, 0.07089249044656754, -0.056116316467523575, 0.0018901480361819267, 0.021008994430303574, -0.06724035739898682, -0.044632915407419205, 0.02503509633243084, 0.05570989102125168, 0.020731378346681595, -0.030279142782092094, -0.044658027589321136, -0.018439453095197678, -0.03718075901269913, 0.0197476614266634, 0.0074083395302295685, -0.03922766447067261, -0.02564346417784691, -0.040795695036649704, -0.035795409232378006, 0.014062905684113503, -0.04950390383601189, -0.024686597287654877, 0.02331136167049408, 0.021156884729862213, 0.05243714153766632, 0.02475147508084774, -0.11190716177225113, -0.040866561233997345, -0.01584133319556713, -0.09364786744117737, 0.031092822551727295, -0.007314581889659166, -0.000014597432709706482, 0.01756945066154003, -0.03992516174912453, -0.03468962013721466, 0.03545282781124115, 0.04013630747795105, -0.02343018166720867, -0.021367009729146957, -0.014836379326879978, -0.07256223261356354, 0.03488508611917496, 0.04385055601596832, -0.06322428584098816, 0.026913633570075035, 0.029345359653234482, 0.08954811096191406, -0.015854746103286743, -0.04147401079535484, -0.025851260870695114, 0.07733061164617538, 0.0720863863825798, -0.00018732449098024517, 0.03185715526342392, -0.030522162094712257, 0.07625632733106613, -0.02875131368637085, -0.03426182270050049, 0.012294898740947247, -0.030876873061060905, 0.03526468202471733, 0.06130693852901459, -0.009305041283369064, -0.014308151789009571, 0.03685540705919266, -0.019580744206905365, 0.043403975665569305, 0.0005802013329230249, -0.02273653633892536, -0.02140175551176071, -0.03407870605587959, 0.0016587828285992146, 0.015717895701527596, 0.014171050861477852, -0.01132762897759676, 0.08331818878650665, -0.0639149472117424, 0.050647150725126266, -0.08458354324102402, 0.0010666861198842525, 0.0353725291788578, -0.013414242304861546, -0.07768773287534714, 0.0057937148958444595, 0.01318258885294199, -0.0037405749317258596, 0.03518326207995415, 0.048254553228616714, 0.05889502167701721, 0.07487733662128448, 0.07365574687719345, 0.027124814689159393, -0.10766591131687164, -0.05838863551616669, 0.04438624531030655, -0.08800946921110153, -0.043752219527959824, -0.04263648763298988, -0.025920452550053596, 0.1265856772661209, -0.04259973019361496, 0.031090684235095978, 0.0005077504902146757, -0.03378786891698837, 0.06945989280939102, 0.02005561627447605, -0.03593629598617554, -0.020940400660037994, 0.0033507966436445713, 0.08759104460477829, -0.024917075410485268, 0.01981545239686966, 0.034741707146167755, -0.0734325423836708, 0.03892102092504501, -0.05587778985500336, 0.009680666029453278, 0.0534757561981678, -0.030951453372836113, 0.02534724585711956, -0.017960624769330025, -0.008376182056963444, 0.012518158182501793, -0.0009505426860414445, -0.007063724100589752, -0.0033200557809323072, -0.026670172810554504, 0.012848942540585995, 0.026204554364085197, -0.005835314746946096, 0.08508675545454025, -0.010867660865187645, 0.032426830381155014, -0.06524196267127991, 0.005483568180352449, 0.04223492741584778, -0.019541746005415916, 0.007565900683403015, -0.029907764866948128, 0.028726018965244293, 0.0007310329237952828, 0.01809159480035305, -0.008293219842016697, -0.03869368135929108, 0.0020328639075160027, 0.011342067271471024, 0.05667679011821747, 0.009398970752954483, 0.03925281763076782, 0.008131393231451511, 0.014713296666741371, -0.0012564932694658637, 0.03147468343377113, -0.024052025750279427, 0.011097237467765808, -0.02361961267888546, -0.03271586820483208, 0.06360148638486862, -0.035477686673402786, 0.03800835460424423, 0.004005827009677887, -0.022836539894342422, 0.02045937441289425, 0.012822283431887627, 0.05426116660237312, -0.016359135508537292, 0.06175600364804268, 0.011418354697525501, -0.035784441977739334, -0.007736884988844395, -0.007411213591694832, -0.07020939141511917, 0.030094364657998085, 0.030641337856650352, 0.025711234658956528, 0.01990928128361702, -0.02934369072318077, 0.006976631470024586, 0.02436399832367897, 0.03375037759542465, 0.030690468847751617, -0.04633316397666931, -0.0019995011389255524, 0.018751071766018867, -0.05134051665663719, 0.005300830118358135, -0.011573011986911297, 0.020372770726680756, 0.013461216352880001, -0.057186756283044815, -0.03103136271238327, -0.06975104659795761, 0.005680171772837639, -0.005185088608413935, 0.01130895409733057, 0.0011725694639608264, -0.0467437282204628, -0.002301214262843132, 0.020177453756332397, 0.0010870650876313448, -0.03598138689994812, -0.010130122303962708, 0.02647729590535164, -0.048315197229385376, 0.07931851595640182, -0.04956444352865219, -0.0036301391664892435, 0.00495895417407155, -0.009470975957810879, 0.00017107151506934315, 0.007866661064326763, 0.021913468837738037, -0.02755287103354931, -0.009409206919372082, -0.03825124353170395, 0.037357866764068604, -0.015036570839583874, -0.01207504328340292, -0.010868022218346596, -0.01575164869427681, -0.04336605966091156, 0.0014472078764811158, -0.01928948238492012, -0.042948756366968155, 0.03543368726968765, 0.0010392082622274756, -0.018165268003940582, 0.04443876072764397, 0.024598225951194763, 0.04424678161740303, -0.017346300184726715, 0.02585425227880478, 0.029373491182923317, -0.01834948919713497, 0.00009120019240071997, 0.018661100417375565, 0.012609070166945457, 0.04342198371887207, 0.04518798366189003, 0.005708564538508654, 0.031888630241155624, -0.01689981296658516, 0.015480092726647854, 0.023809608072042465, -0.007035325281322002, -0.010074873454868793, -0.0036856546066701412, -0.014776388183236122, 0.044407669454813004, 0.020723460242152214, 0.05083402246236801, -0.009366475977003574, -0.03775305673480034, -0.004734898917376995, 0.003835236420854926, -0.061848677694797516, 0.014886466786265373, 0.04061710089445114, -0.06334994733333588, 0.041822079569101334, 0.006937418133020401, 0.03607522323727608, 0.008539711125195026, 0.06856942921876907, -0.01101777795702219, -0.0005727804382331669, 0.025424934923648834, 0.02829165570437908, -0.016023343428969383, 0.0035291144158691168, -0.023008165881037712, 0.037468235939741135, -0.011478075757622719, -0.029901213943958282, 0.058970801532268524, 0.0019510623533278704, 0.036454938352108, -0.04526160657405853, -0.005146609619259834, -0.009428158402442932, 0.040215328335762024, -0.02168904058635235, -0.018500886857509613, -0.00571614783257246, -0.0074515449814498425, 0.07355368137359619, 0.029563570395112038, 0.03009827993810177, -0.013055470772087574, -0.004940470214933157, 0.05045567452907562, -0.02232310175895691, -0.01050344854593277, -0.021906469017267227, -0.0069424849934875965, 0.03968420252203941, -0.010955505073070526, 0.01870502158999443, -0.016571132466197014, 0.027863044291734695, -0.022342311218380928, 0.05874740332365036, 0.0062241386622190475, -0.03271665424108505, 0.017244011163711548, 0.04496409371495247, 0.023186780512332916, -0.030649540945887566, -0.022247573360800743, -0.04228803142905235, -0.012393676675856113, -0.02460521087050438, -0.02705417387187481, 0.013700474984943867, -0.0162420142441988, -0.01323374081403017, -0.00686055701225996, 0.004376696422696114, 0.041582293808460236, 0.015981126576662064, 0.03623213618993759, 0.044353727251291275, 0.007222322281450033, -0.004151097498834133, -0.03850541636347771, 0.012920316308736801, 0.023758886381983757, -0.05078590661287308, -0.017199547961354256, -0.04155423864722252, -0.012092729099094868, 0.03704288974404335, -0.037299010902643204, -0.004443584010004997, 0.052126310765743256, -0.01316527184098959, 0.037933625280857086, -0.01757744885981083, -0.0408763587474823, 0.056115977466106415, -0.03242477774620056, 0.05327865108847618, 0.02134542539715767, 0.050281982868909836, 0.046486858278512955, 0.008937636390328407, -0.044732335954904556, -0.007519741076976061, 0.00002552052501414437, -0.03080587089061737, -0.02771647647023201, -0.006017845589667559, 0.006720803212374449, 0.005619267467409372, -0.005786648951470852, -0.022970395162701607, 0.010185458697378635, 0.03680483624339104, 0.06517588347196579, -0.019275298342108727, 0.004331967793405056, -0.05259837210178375, 0.030797844752669334, 0.011880508624017239, 0.035060033202171326, -0.011736130341887474, 0.003918538335710764, 0.00406093942001462, -0.016640054062008858, 0.003910936415195465, -0.0468054823577404, 0.05109356343746185, 0.022038694471120834, -0.028547197580337524, -0.006975013762712479, 0.046096187084913254, 0.014393007382750511, -0.007137701380997896, 0.008032695390284061, 0.025763025507330894, -0.014882838353514671, -0.06376248598098755, -0.026089288294315338, -0.034716226160526276, -0.0781867727637291, -0.02182685025036335, -0.01055377721786499, 0.05557689443230629, -0.00038539248635061085, -0.014539944939315319, 0.026731234043836594, -0.000446515332441777, 0.0009375212248414755, 0.016682667657732964, -0.004819850903004408, -0.0009216881007887423, -0.05126955360174179, 0.046937596052885056, -0.013689021579921246, -0.04540816321969032, -0.011811861768364906, 0.04783514142036438, 0.027609899640083313, 0.0557718388736248, 0.016450967639684677, -0.018315037712454796, -0.02258036844432354, -0.05911781266331673, 0.019939996302127838, 0.0287858285009861, -0.002941899234429002, 0.03251852095127106, 0.004298035055398941, -0.03713228553533554, -0.05410659685730934, 0.03999295458197594, 0.02993442490696907, 0.018787449225783348, -0.004228826146572828, -0.014404063113033772, 0.015004395507276058, -0.0018009640043601394, 0.011838267557322979, -0.005202326457947493, -0.06182435527443886, -0.0549544095993042, 0.010043935850262642, 0.01948215439915657, 0.05191286653280258, -0.01795533299446106, -0.005257224664092064, -0.01411144994199276, -0.02111283876001835, 0.021737074479460716, 0.027022313326597214, -0.00823869276791811, -0.05601144954562187, 0.021433258429169655, 0.002767405938357115, 0.01546557992696762, -0.01504166703671217, 0.007234646938741207, -0.0058092582039535046, 0.031448762863874435, -0.03779885545372963, -0.018808607012033463, 0.029007980599999428, 0.04081067070364952, 0.01627933979034424, -0.01214544102549553, 0.006136081647127867, 0.01125494483858347, -0.0004948723944835365, 0.02464367263019085, 0.005133674014359713, 0.006839090492576361, -0.003192197997123003, 0.041781678795814514, 0.011330641806125641, 0.05103661119937897, -0.010037154890596867, 0.002844513626769185, -0.05021950602531433, 0.029690932482481003, 0.016462845727801323, 0.000009402582691109274, -0.01155953947454691, -0.03955268859863281, -0.029340608045458794, -0.016042564064264297, 0.003126980736851692, 0.0004174474161118269, 0.01708017848432064, 0.010290704667568207, 0.031660616397857666, 0.0433741919696331, 0.0007414077990688384, -0.011197222396731377, -0.006382821127772331, -0.03430939465761185, 0.02191809006035328, -0.006536153610795736, 0.018556127324700356, -0.019589021801948547, 0.017668822780251503, 0.01766117662191391, 0.028160713613033295, -0.037382178008556366, -0.10284174978733063, 0.05394648388028145, 0.011240638792514801, -0.0031041125766932964, -0.04644601792097092, -0.025200169533491135, 0.01069917157292366, -0.006527583114802837, 0.00640895077958703, 0.01312247570604086, -0.036053434014320374, 0.01128405798226595, 0.034548159688711166, -0.02835754305124283, -0.02329922467470169, -0.01945560611784458, -0.00873060803860426, -0.011803200468420982, 0.045857153832912445, 0.00985669158399105, -0.000034182434319518507, -0.021245919167995453, -0.01814999431371689, 0.027468590065836906, -0.004982057027518749, -0.022629661485552788, -0.02038045972585678, -0.04719002917408943, -0.047991469502449036, -0.004971535410732031, 0.0374259278178215, 0.02725369855761528, 0.004705694038420916, -0.0339919850230217, -0.019063575193285942, -0.015304215252399445, -0.019481966271996498, -0.012086266651749611, -0.014986111782491207, -0.03687687963247299, -0.03502482548356056, -0.0037878770381212234, 0.03324739262461662, -0.012602608650922775, 0.03000105731189251, 0.02713046595454216, -0.022553754970431328, -0.005280259996652603, 0.01361877378076315, 0.051209457218647, -0.03911250829696655, 0.020470239222049713, 0.023305458948016167, 0.02921718917787075, -0.00563052948564291, 0.014959491789340973, -0.0027387451846152544, -0.01792314276099205, -0.03541281446814537, 0.01720794290304184, -0.0007311017834581435, -0.027185793966054916, 0.0327279306948185, 0.011393257416784763, 0.011537573300302029, 0.020827272906899452, -0.005731893237680197, 0.011198451742529869, 0.02458769455552101, 0.004940551705658436, -0.009018571116030216, 0.05000493675470352, 0.02886185422539711, -0.007996080443263054, 0.007785250898450613, -0.008556026965379715, -0.021122107282280922, -0.04850392043590546, 0.006124632898718119, -0.0778183862566948, 0.023547537624835968, 0.0015655388124287128, 0.08131653070449829, -0.0063019683584570885, 0.05858749896287918, 0.007998301647603512, 0.02861880511045456, -0.003009410575032234, 0.01433349959552288, -0.03134843707084656, -0.0042508146725595, 0.0014636829728260636, 0.02786586433649063, 0.05491604283452034, 0.00489716837182641, -0.018044734373688698, -0.012306381948292255, -0.04283677786588669, -0.03297577053308487, -0.04102116450667381, -0.04623428359627724, -0.003823694074526429, -0.0324331633746624, 0.01504855789244175, 0.010250959545373917, -0.09119021892547607, -0.04852999374270439, 0.022927794605493546, -0.028328901156783104, -0.030146654695272446, -0.03901777043938637, -0.002213775645941496, -0.03513222932815552, -0.014828478917479515, 0.012788210064172745, 0.002411060966551304, -0.03913360461592674, 0.03227870166301727, -0.02228703908622265, -0.0012853221269324422, -0.006958340760320425, 0.032176729291677475, 0.0009711316670291126, -0.008464879356324673, 0.019274534657597542, -0.017741737887263298, 0.06681498885154724, -0.009569286368787289, -0.017486033961176872, 0.04648111015558243, 0.06121883541345596, -0.010217515751719475, -0.0008574945386499166, 0.03918401896953583, -0.0035592704080045223, 0.01708611473441124, -0.021275104954838753, -0.024963505566120148, 0.027341758832335472, 0.08179936558008194, -0.009722440503537655, -0.016124332323670387, 0.04215927794575691 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
#2: Yabbit Attack In Yabbit Attack, your goal is to beat the constantly adapting neural network behind the Yabbits. 🤖 Used genetic algorithms in the context of natural selection and evolution. 🤖 Backgrounds visuals were generated using Stable Diffusion 🎮👉 https://visionistx.itch.io/yabbit-attack
[ 0.08429191261529922, -0.038691889494657516, 0.029452724382281303, 0.026647470891475677, 0.0028337519615888596, 0.06804785132408142, 0.015250756405293941, 0.11325927078723907, -0.10078588873147964, -0.12591592967510223, -0.09296706318855286, 0.04830678552389145, -0.08465173095464706, 0.04564225301146507, 0.026488732546567917, -0.017109395936131477, -0.025255778804421425, -0.062066901475191116, 0.0011645166669040918, 0.040029704570770264, -0.050831139087677, -0.016029609367251396, 0.05282250791788101, -0.0437941774725914, 0.013774417340755463, 0.035983480513095856, -0.0009920020820572972, 0.00006146092346170917, -0.022318588569760323, 0.049426060169935226, -0.11924439668655396, -0.109146349132061, -0.03060816042125225, -0.031154073774814606, -0.015450510196387768, -0.002827756106853485, -0.05575720593333244, 0.06577730178833008, 0.011445251293480396, -0.0522371381521225, -0.060583777725696564, 0.015794752165675163, -0.07025203108787537, 0.07281465828418732, 0.00022609815641772002, -0.02271253429353237, -0.19309861958026886, 0.09996803849935532, -0.06978277117013931, -0.07617157697677612, -0.10825616121292114, 0.0682954341173172, -0.01797628216445446, -0.02424829825758934, -0.007995523512363434, 0.04596375674009323, 0.051581572741270065, -0.016647810116410255, 0.022303501144051552, 0.05146151781082153, 0.022337093949317932, -0.01927393302321434, -0.0005302899517118931, 0.04277108982205391, 0.04586251825094223, 0.006940205115824938, 0.03139566630125046, 0.03780288249254227, -0.09217721223831177, -0.021734239533543587, 0.003915306180715561, -0.011824185028672218, -0.0060356310568749905, -0.04168721288442612, -0.01664799638092518, -0.034292325377464294, -0.010498314164578915, 0.08140609413385391, 0.004800937604159117, -0.03207017853856087, 0.0039556329138576984, 0.014886095188558102, 0.09904664009809494, 0.04332822188735008, -0.006050557363778353, 0.02087901346385479, -0.01558433286845684, 0.042146701365709305, -0.011376083828508854, 0.04253096505999565, 0.06562863290309906, -0.07808433473110199, 0.03605031222105026, 0.01820881851017475, 0.03535836189985275, -0.030971873551607132, 0.002058916725218296, 0.0019434081623330712, 0.02338486723601818, -0.02971630170941353, -0.02560596913099289, -0.043630074709653854, 0.012885472737252712, -0.06615595519542694, -0.05042390152812004, 0.00765451043844223, 0.00905191246420145, -0.06708883494138718, -0.08904647082090378, 0.025996172800660133, -0.021356577053666115, -0.01049879752099514, 0.07821463793516159, -0.009830107912421227, -0.029764238744974136, 0.08368828892707825, -0.016848044469952583, 0.025547366589307785, 0.0339963436126709, 0.06854725629091263, 0.01270995382219553, 0.049123864620923996, 0.015734899789094925, -0.030099624767899513, 0.011383231729269028, 0.014658390544354916, 0.009421849623322487, -0.0467524491250515, -0.039022836834192276, -0.04053429141640663, 0.022152530029416084, -0.023644518107175827, -0.045903727412223816, -0.032733019441366196, 0.07301314175128937, -0.01608492247760296, 0.01127597875893116, -0.008316827937960625, -0.01387731172144413, 0.008822718635201454, -0.05985654145479202, -0.07370740920305252, 0.06157904490828514, 0.0928221344947815, -0.041782196611166, -0.030527105554938316, 0.010366168804466724, 0.002669284353032708, 0.03520432114601135, -0.07383432239294052, -0.007204980589449406, 0.04052162915468216, -0.030821742489933968, -0.04323581978678703, -0.035937901586294174, 0.09958942979574203, -0.043163035064935684, -0.08750558644533157, -0.006888389587402344, -0.020561637356877327, 0.04434191808104515, 0.013017307966947556, -0.0038775173015892506, -0.007899174466729164, 0.04470542073249817, -0.07811766117811203, 0.025274140760302544, 0.024155395105481148, -0.014249830506742, 0.012757385149598122, -0.03452064469456673, 0.0029007664415985346, 0.05593382939696312, 0.015042299404740334, 0.06414148211479187, 0.03442257642745972, 0.03027309663593769, 0.04492940008640289, -0.021850092336535454, 0.0013950958382338285, -0.0012394895311444998, 0.008552500046789646, 0.06917157769203186, 0.0340840183198452, 0.03912994638085365, -0.039454296231269836, -0.0300168264657259, 0.042787935584783554, 0.03737446665763855, -0.05294285714626312, 0.03617531433701515, 0.014631621539592743, 0.08893947303295135, -0.0143591882660985, 0.0005787747795693576, -0.07924824953079224, 0.0029720740858465433, 0.047060608863830566, 0.07277210801839828, 0.02463381364941597, -0.015175986103713512, -0.03252238407731056, 0.012637974694371223, 0.01798914559185505, -0.02988491579890251, -0.03246691823005676, 0.002632396761327982, -0.0576932393014431, 0.02753354422748089, -0.005356505513191223, -0.013680195435881615, 0.007951496168971062, 0.02569827437400818, -0.036908797919750214, 0.07064163684844971, -0.019321229308843613, 0.01811271347105503, -0.04676627367734909, 0.028438808396458626, -0.07830751687288284, 0.04221257567405701, -0.009590504691004753, -0.011490864679217339, 0.017143165692687035, 0.042347755283117294, 0.03401532769203186, 0.05759387090802193, 0.020311757922172546, 0.10457666963338852, -0.0864662304520607, 0.004127501510083675, -0.053445469588041306, 0.006259451154619455, 0.03760017827153206, 0.02426772750914097, -0.05031883344054222, 0.11984042823314667, -0.02308006025850773, 0.05180281773209572, -0.049340829253196716, -0.024082759395241737, 0.01944657601416111, -0.008081273175776005, -0.0031631190795451403, -0.0581522136926651, -0.05374085158109665, 0.05165775492787361, 0.005085038021206856, -0.020836487412452698, 0.03768924996256828, -0.024047672748565674, 0.07766080647706985, -0.0567745678126812, 0.007761064451187849, 0.044054169207811356, -0.012316561304032803, 0.010322999209165573, -0.05470769852399826, -0.0028528296388685703, 0.04099998623132706, 0.009868904948234558, -0.007205361966043711, 0.009669017046689987, -0.06559392064809799, -0.028949648141860962, 0.0010329242795705795, -0.005166447255760431, 0.009667390957474709, 0.011195709928870201, 0.00533188134431839, -0.014781715348362923, 0.03932255133986473, 0.0156633872538805, -0.005395752377808094, 0.002041779225692153, -0.01012056041508913, 0.008830349892377853, -0.008999479934573174, -0.0017624931642785668, -0.019528891891241074, -0.01231392752379179, 0.02500162087380886, 0.04222501814365387, 0.045363254845142365, 0.03148116171360016, -0.0020526135340332985, 0.009577242657542229, 0.03230779618024826, -0.0191181730479002, -0.007575883064419031, 0.00955201592296362, 0.01702025718986988, -0.01980183646082878, 0.011745108291506767, 0.004788006190210581, -0.014976004138588905, -0.009240709245204926, -0.011035166680812836, -0.003313642693683505, -0.0007289298227988183, 0.022288095206022263, 0.01699414849281311, 0.008227556012570858, 0.003992910962551832, 0.006111574359238148, 0.05242396891117096, 0.019696233794093132, 0.012559286318719387, -0.09792140126228333, 0.0060403975658118725, 0.008924738503992558, 0.05768055468797684, -0.024346638470888138, -0.03499447554349899, -0.004244805779308081, 0.00862772949039936, 0.021559452638030052, 0.021901743486523628, 0.0034146285615861416, 0.010182179510593414, -0.010415204800665379, 0.004954956006258726, -0.002415728522464633, 0.018984971567988396, 0.05472204461693764, 0.003482289146631956, 0.003978675231337547, 0.026048114523291588, -0.04696323722600937, 0.03809488192200661, 0.0018601762130856514, 0.03336125239729881, -0.03820046782493591, 0.013457146473228931, 0.009962310083210468, 0.00902710109949112, -0.000590374693274498, -0.045835524797439575, -0.016543665900826454, 0.012159326113760471, -0.027728639543056488, 0.0477711521089077, -0.028599807992577553, -0.0008626919589005411, 0.006207823287695646, 0.01707855425775051, 0.05585864186286926, 0.025747859850525856, -0.007534405216574669, 0.003839195007458329, -0.0005557294934988022, 0.039400067180395126, 0.010796807706356049, -0.04081423580646515, -0.0006483672768808901, 0.011242401786148548, -0.004932099487632513, -0.03748180717229843, 0.012769808992743492, -0.011595318093895912, -0.04971747845411301, 0.02185826748609543, 0.047024600207805634, 0.004657539073377848, -0.01776089519262314, 0.0574289932847023, 0.04261399433016777, -0.0007309939828701317, -0.016115806996822357, 0.05376444384455681, 0.014599792659282684, 0.0050929272547364235, 0.02385885827243328, 0.021652402356266975, 0.0009157332242466509, 0.01571810245513916, -0.0225985087454319, -0.01057496014982462, 0.02829235978424549, 0.013581277802586555, 0.02127249538898468, 0.009110693819820881, -0.03567785769701004, 0.0035018243361264467, -0.05117303505539894, 0.0038298440631479025, 0.06562276929616928, 0.007365609984844923, 0.008741446770727634, -0.043751176446676254, -0.009273971430957317, -0.013165222480893135, 0.021984999999403954, 0.03196839988231659, 0.019867796450853348, -0.05841692164540291, 0.018433962017297745, 0.0072461203671991825, 0.04848092794418335, -0.044071014970541, 0.030468665063381195, -0.036976370960474014, 0.030776474624872208, 0.02710678055882454, 0.006712285336107016, -0.01023951731622219, 0.00786210224032402, -0.009581735357642174, -0.0009555197320878506, -0.012779662385582924, -0.010547568090260029, -0.00024304725229740143, -0.011648227460682392, 0.032966967672109604, -0.026793602854013443, -0.02997327595949173, 0.050972968339920044, 0.01243186742067337, -0.012863105162978172, -0.017099972814321518, -0.039742447435855865, -0.011562075465917587, 0.0056448024697601795, 0.04401177912950516, -0.014662864618003368, -0.009249982424080372, -0.015319016762077808, 0.021110912784934044, -0.03785763308405876, 0.02361832931637764, -0.01685214973986149, -0.00993602816015482, 0.023061493411660194, 0.022062810137867928, -0.038765955716371536, -0.006220901384949684, 0.05076086148619652, -0.013660598546266556, -0.006501180585473776, -0.03802897408604622, 0.0031841974705457687, 0.008644846267998219, 0.03827063366770744, 0.04240598529577255, -0.041844677180051804, 0.001186914974823594, 0.012006103061139584, -0.04534270241856575, 0.027846505865454674, 0.026817400008440018, 0.064385324716568, -0.015406601130962372, -0.004955240059643984, -0.019619742408394814, -0.022971950471401215, 0.01569698378443718, 0.012764972634613514, 0.028347382321953773, 0.0781703069806099, -0.021380644291639328, -0.04285120591521263, -0.00030627226806245744, 0.016600502654910088, -0.006878995802253485, -0.00641700578853488, -0.0163229089230299, -0.02769014611840248, -0.03050133027136326, 0.009144339710474014, -0.013979633338749409, -0.01879132352769375, 0.019644172862172127, 0.004258938133716583, 0.029409561306238174, 0.027989068999886513, -0.08433496206998825, -0.006009141448885202, -0.04983064532279968, 0.012213202193379402, 0.012450139038264751, -0.011767042800784111, 0.03374926745891571, 0.01716442219913006, -0.002171109663322568, -0.006743693724274635, 0.01382755022495985, -0.07348613440990448, -0.02098216488957405, -0.023754721507430077, 0.0489635206758976, 0.04598082974553108, 0.004287892486900091, -0.020176805555820465, 0.05644551292061806, -0.0005354104796424508, 0.023456145077943802, -0.034604430198669434, 0.013410944491624832, 0.000145458456245251, 0.018126599490642548, 0.0289437435567379, -0.020481212064623833, -0.02918737195432186, 0.03538842871785164, -0.005751409102231264, -0.049868062138557434, 0.006792547646909952, -0.024726102128624916, 0.00880370382219553, 0.007739238440990448, -0.04967471957206726, -0.029821204021573067, 0.03491181135177612, 0.01064565684646368, 0.02491305023431778, -0.0040733362548053265, 0.026688111945986748, 0.01655067503452301, -0.0021852755453437567, -0.037881989032030106, -0.00911031849682331, -0.08303604274988174, -0.07473323494195938, -0.029979025945067406, -0.015995701774954796, 0.026611486449837685, -0.011798262596130371, 0.032306794077157974, -0.007901121862232685, 0.009014880284667015, 0.016908053308725357, 0.003802113002166152, 0.003525084350258112, 0.0018526909407228231, -0.01183437742292881, -0.010019135661423206, 0.009140253998339176, 0.007546675391495228, 0.05284155160188675, -0.03003072179853916, 0.004350530914962292, 0.015720805153250694, 0.005234463606029749, -0.027139075100421906, 0.0010236609959974885, 0.050789449363946915, 0.06920523941516876, 0.014912650920450687, 0.0008104598382487893, -0.006511171814054251, -0.03093644604086876, -0.013669406995177269, 0.005390670150518417, 0.010823899880051613, 0.05458421632647514, 0.05155167728662491, -0.033895064145326614, -0.024354903027415276, 0.007249096408486366, -0.012908530421555042, -0.012055942788720131, 0.007892608642578125, -0.044731974601745605, 0.027193790301680565, 0.015901856124401093, -0.023983804509043694, 0.004718870390206575, -0.04332972317934036, 0.005969428922981024, -0.029201311990618706, 0.005403399001806974, 0.0330459289252758, 0.011308151297271252, -0.014830500818789005, 0.015096837654709816, -0.03522072359919548, 0.0028186084236949682, 0.01641811430454254, -0.01725945994257927, -0.003349888138473034, 0.027060700580477715, -0.0018826017621904612, -0.010596305131912231, 0.050652991980314255, 0.000838250620290637, 0.0361456535756588, 0.010196149349212646, 0.04326780140399933, 0.027256518602371216, 0.0401180200278759, 0.01825355738401413, -0.005322697106748819, 0.0022728668991476297, -0.0011737222084775567, 0.07733070105314255, -0.002152626169845462, 0.060611896216869354, 0.03161801025271416, -0.039511486887931824, -0.02643400989472866, 0.018878530710935593, -0.019507996737957, -0.015429530292749405, 0.022083379328250885, 0.005411097779870033, -0.047995634377002716, 0.010302165523171425, -0.018722152337431908, 0.011897084303200245, 0.04356548935174942, 0.018866335973143578, 0.04761480912566185, 0.05193130671977997, -0.03358636423945427, 0.030700648203492165, 0.027219107374548912, 0.010079204104840755, 0.022461796179413795, 0.005445945542305708, 0.04519018530845642, -0.010486145503818989, -0.0077178566716611385, 0.005568902939558029, -0.036471396684646606, 0.04339846968650818, -0.036618731915950775, 0.04608258232474327, -0.03493443876504898, 0.030568014830350876, -0.005665796808898449, -0.035664256662130356, 0.003740043379366398, -0.020505376160144806, 0.022898463532328606, 0.0058291275054216385, -0.007414844818413258, -0.008620917797088623, -0.013774766586720943, 0.00714789517223835, 0.007098876405507326, -0.003261616686359048, -0.020629480481147766, 0.004824175965040922, -0.01791461743414402, 0.012232303619384766, -0.001961779547855258, -0.06220779940485954, -0.05905915051698685, 0.05389579385519028, 0.009304841980338097, 0.019616669043898582, -0.009541989304125309, -0.02863835170865059, -0.035610996186733246, 0.035337164998054504, 0.026138870045542717, -0.05754358321428299, -0.002458002185449004, 0.05964282155036926, 0.0003633402520790696, -0.06289229542016983, 0.0074759130366146564, -0.03101534955203533, -0.024997739121317863, -0.00785793550312519, -0.05742645263671875, -0.03494560718536377, -0.009578819386661053, 0.037078775465488434, -0.0038692287635058165, 0.025542862713336945, -0.036362044513225555, -0.018275218084454536, 0.06556043028831482, -0.03470410406589508, -0.02546260692179203, -0.029599428176879883, 0.04203087091445923, -0.007747125346213579, 0.0005744944792240858, 0.01791737973690033, 0.001636001979932189, -0.03764716908335686, -0.011421667411923409, 0.045218661427497864, -0.019119340926408768, -0.0656602531671524, 0.03170646354556084, 0.07903633266687393, 0.025912433862686157, 0.02789943851530552, 0.03005240298807621, 0.03782694414258003, 0.0002880199172068387, -0.02293219417333603, 0.03217804804444313, 0.007348955143243074, -0.026720155030488968, -0.02323734574019909, -0.02376084215939045, -0.024794330820441246, 0.019260944798588753, 0.008455175906419754, 0.011194749735295773, -0.044190503656864166, -0.02559575065970421, 0.0014890001621097326, 0.024215681478381157, -0.01366325095295906, 0.017498793080449104, 0.037401117384433746, 0.026982381939888, -0.013379749841988087, 0.037116456776857376, -0.016373876482248306, 0.01017796155065298, 0.001841263030655682, 0.003444256028160453, 0.03849850222468376, 0.02034437097609043, -0.04748234897851944, -0.004638934973627329, -0.0073653473518788815, -0.034046072512865067, -0.018686853349208832, -0.035553865134716034, -0.02326943539083004, -0.008148972876369953, -0.014202811755239964, -0.023791717365384102, -0.06219875440001488, -0.03247343748807907, 0.03142007067799568, -0.037791527807712555, -0.012621821835637093, -0.024867471307516098, -0.013798355124890804, -0.00891106203198433, -0.00786861963570118, -0.015835708007216454, 0.03960317373275757, -0.012093638069927692, 0.05070999264717102, -0.005271100904792547, 0.013128689490258694, 0.014885197393596172, 0.010524189099669456, 0.010903777554631233, -0.0430917851626873, -0.04666361212730408, -0.0031399396248161793, 0.025249401107430458, -0.014474280178546906, -0.03518243506550789, 0.02815696783363819, 0.01897154189646244, 0.009753860533237457, -0.05033263936638832, -0.02677627094089985, -0.007705933414399624, -0.026174396276474, 0.043083593249320984, -0.022117113694548607, 0.05431639030575752, 0.017790455371141434, 0.01971754990518093, 0.015559760853648186, 0.04813000187277794 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
#6: Expanding Universe In this sandbox gravity game, you create an expanding universe and try to complete the challenges. 🤖 Used Dream Textures Blender (Stable Diffusion) add-on to create textures for all of the planets and stars and an LLM model to generate descriptions of the stars and planets. 🎮👉 https://carsonkatri.itch.io/expanding-universe
[ 0.06609473377466202, 0.000015757454093545675, 0.0604974590241909, -0.03747301548719406, 0.03264755755662918, 0.0691492110490799, -0.016236627474427223, 0.09841734915971756, -0.07709699869155884, -0.07311169803142548, -0.03080545924603939, -0.04766640067100525, 0.01012272946536541, 0.05536745488643646, 0.11983373761177063, 0.02974124625325203, -0.016382833942770958, -0.03188646584749222, -0.03182469680905342, -0.01054943073540926, -0.060436248779296875, 0.009910092689096928, 0.035022616386413574, -0.016042087227106094, -0.013974396511912346, 0.013268490321934223, -0.01315622590482235, 0.04614761471748352, 0.05429829657077789, 0.019282205030322075, -0.05577492713928223, 0.013395174406468868, -0.05244876444339752, -0.08708091825246811, -0.05371759086847305, 0.00967221986502409, -0.03777424246072769, 0.06536422669887543, 0.020136212930083275, -0.07017936557531357, 0.02110317535698414, -0.007855015806853771, -0.025567015632987022, -0.011819719336926937, 0.06483440846204758, 0.03835650533437729, -0.14719659090042114, 0.057135652750730515, -0.10562539845705032, -0.004487143363803625, -0.043357349932193756, 0.0395570732653141, -0.028463421389460564, -0.07162065804004669, 0.04062134400010109, -0.025759533047676086, 0.04142045974731445, -0.008260915987193584, 0.062530018389225, 0.0506114698946476, 0.1046615019440651, 0.004754642024636269, -0.009346087463200092, -0.003575105220079422, 0.05296950787305832, 0.01896015554666519, -0.01947236992418766, -0.023305948823690414, -0.07313548028469086, -0.029439598321914673, -0.018042607232928276, -0.04596467688679695, -0.06386078894138336, -0.06570980697870255, -0.0014610058860853314, -0.03474200516939163, 0.03426438197493553, 0.05718860775232315, -0.03172406554222107, -0.031021783128380775, -0.013511943630874157, 0.043081123381853104, 0.05438530817627907, -0.04426439851522446, -0.013190533965826035, -0.017153821885585785, -0.02777448669075966, -0.043541476130485535, 0.013892628252506256, 0.09606939554214478, 0.016064796596765518, -0.12460625916719437, -0.012702164240181446, 0.01530316099524498, 0.11508427560329437, -0.05515601485967636, -0.028574272990226746, -0.03707313910126686, 0.019662372767925262, 0.03296108916401863, 0.028012758120894432, -0.11141117662191391, 0.006815198343247175, -0.08697116374969482, -0.04092491418123245, 0.014072807505726814, -0.021170224994421005, -0.07330042868852615, -0.09862180054187775, 0.019111977890133858, 0.015810690820217133, -0.01781933195888996, 0.03737173229455948, -0.01464481558650732, -0.018978500738739967, 0.06656788289546967, -0.04880524054169655, 0.016791032627224922, -0.01399595569819212, 0.034529417753219604, -0.018069427460432053, -0.028237199410796165, 0.0450756810605526, -0.03554962947964668, 0.007605629041790962, 0.09337672591209412, 0.04271109029650688, -0.07552850246429443, -0.03622321039438248, 0.029846245422959328, 0.026172654703259468, -0.01609155535697937, 0.024912571534514427, 0.009343883022665977, 0.07408640533685684, -0.05369874835014343, -0.07484233379364014, -0.04666098952293396, 0.0029401311185210943, -0.0632321760058403, -0.01680096797645092, -0.001879532472230494, 0.03444267809391022, 0.09016650170087814, 0.002321238862350583, -0.058509163558483124, -0.07566104084253311, -0.014625432901084423, -0.09190376102924347, 0.0514046885073185, -0.005288686137646437, -0.0075229378417134285, 0.021082790568470955, -0.030995361506938934, 0.014152203686535358, 0.04676755517721176, -0.03645285591483116, 0.010441409423947334, -0.012246392667293549, 0.03308500349521637, 0.03909588232636452, 0.028050685301423073, -0.01869327388703823, 0.015807073563337326, 0.07805772870779037, -0.054256461560726166, 0.06212542578577995, 0.02462707832455635, -0.013256503269076347, 0.006378293503075838, -0.022462086752057076, 0.04466158151626587, 0.02450266294181347, -0.011148464865982533, -0.013570432551205158, 0.012029871344566345, 0.07309002429246902, 0.05484842136502266, 0.00769157987087965, 0.04667492210865021, -0.04083831608295441, -0.04938061535358429, -0.03789454326033592, 0.036404937505722046, 0.028173033148050308, -0.08118144422769547, -0.014315697364509106, 0.027049347758293152, 0.059096209704875946, 0.01092969998717308, -0.03835555911064148, 0.05133125185966492, 0.04540569335222244, 0.029366275295615196, -0.03293332830071449, 0.005227725952863693, -0.08534148335456848, 0.06568868458271027, 0.07625539600849152, 0.026065509766340256, -0.017561301589012146, 0.06316813081502914, -0.03229067474603653, 0.06381078064441681, -0.029180999845266342, 0.011078190989792347, -0.029388148337602615, -0.006439897697418928, -0.02107931487262249, -0.0767725259065628, 0.02493716962635517, -0.05193433165550232, 0.05090709775686264, -0.03587360680103302, 0.030578430742025375, -0.02170676924288273, -0.02865733578801155, -0.02070331946015358, -0.02016904018819332, 0.006150831002742052, 0.1160212829709053, 0.05819937214255333, -0.03879281133413315, 0.021077390760183334, -0.0308530330657959, 0.04214734211564064, 0.058708202093839645, -0.016284387558698654, 0.022368846461176872, -0.10290713608264923, -0.0443766824901104, -0.021843649446964264, -0.039424363523721695, -0.03296460956335068, -0.01852949894964695, 0.03938009962439537, 0.07265499234199524, -0.04444326087832451, -0.009543139487504959, -0.0906810536980629, -0.006332987453788519, -0.013570628128945827, -0.05269380658864975, -0.0213044174015522, -0.01898660697042942, 0.0027502495795488358, 0.036186035722494125, -0.014237398281693459, -0.013724538497626781, 0.037486832588911057, -0.040092576295137405, 0.03242478892207146, -0.05580761283636093, 0.047426335513591766, 0.07423322647809982, -0.012549945153295994, -0.0038721596356481314, -0.00821683555841446, 0.001723398920148611, -0.007328849285840988, -0.003576101502403617, -0.02450612001121044, 0.004158255644142628, 0.007906021550297737, -0.014859884046018124, -0.02060323767364025, 0.013865278102457523, 0.01317426934838295, -0.034004852175712585, 0.0008219311712309718, -0.0006650967989116907, 0.008867560885846615, 0.01475191954523325, -0.03419295325875282, 0.0019395588897168636, -0.03585507720708847, 0.028870580717921257, -0.06206539645791054, 0.012830204330384731, -0.04847441613674164, -0.02081359177827835, 0.0015660558128729463, 0.05083070322871208, 0.03208927437663078, 0.013008501380681992, 0.005246676970273256, 0.04985179007053375, 0.009005818516016006, -0.031539835035800934, -0.023460794240236282, 0.010065034963190556, -0.0010300527792423964, -0.0498814731836319, 0.023564988747239113, 0.029536817222833633, -0.01307632401585579, 0.004838663153350353, 0.01842449977993965, 0.01038380153477192, 0.019646164029836655, 0.04984121024608612, 0.03077569231390953, -0.048005059361457825, -0.00837770476937294, -0.01228923350572586, 0.02574886754155159, 0.03406812250614166, 0.013345474377274513, -0.09060757607221603, -0.0376054048538208, -0.012106937356293201, 0.034160953015089035, -0.005959055386483669, 0.00423290953040123, 0.021738355979323387, 0.0029128948226571083, 0.024353139102458954, 0.03279079496860504, -0.014687158167362213, -0.0075418478809297085, 0.001983620459213853, -0.00993698462843895, 0.017221111804246902, 0.039127081632614136, 0.03873909264802933, 0.009992647916078568, -0.020536070689558983, 0.02067270316183567, -0.04215241223573685, 0.028883548453450203, 0.0017993402434512973, -0.0034882102627307177, -0.015598977915942669, 0.002209868049249053, 0.005339277442544699, 0.023823725059628487, 0.01960812881588936, -0.01132883783429861, -0.00024369018501602113, 0.0017379418713971972, -0.0278665442019701, -0.03604672849178314, -0.059033628553152084, 0.06950028985738754, -0.013998772948980331, 0.004878344479948282, 0.040846578776836395, 0.00744842691347003, -0.029409006237983704, 0.03684426099061966, -0.03397489711642265, 0.013920033350586891, 0.036328233778476715, -0.042436059564352036, -0.03223658353090286, 0.037458281964063644, 0.022133689373731613, -0.011613079346716404, 0.02340472862124443, 0.0018865986494347453, -0.017798975110054016, 0.0024304608814418316, -0.01591205596923828, 0.014572949148714542, 0.023998433724045753, 0.05406760796904564, 0.008457125164568424, -0.029286392033100128, -0.03460546210408211, 0.02849487029016018, -0.019973427057266235, 0.010018431581556797, 0.009190584532916546, 0.010641529224812984, 0.00412021204829216, 0.035846609622240067, 0.013012567535042763, 0.05108891800045967, 0.023568233475089073, -0.021739643067121506, -0.0279014203697443, 0.005444098263978958, -0.039651595056056976, 0.004551887512207031, -0.045102111995220184, -0.004661703482270241, 0.04445677250623703, -0.004334417637437582, -0.009973862208425999, -0.05021260306239128, -0.02613149583339691, -0.048520009964704514, -0.017778653651475906, 0.01427050493657589, -0.03051898628473282, -0.04990599676966667, -0.026492495089769363, 0.01757727563381195, 0.008958044461905956, -0.05285686254501343, 0.04996135085821152, 0.009751109406352043, 0.02498496323823929, 0.0343899242579937, -0.007533443160355091, 0.01841834746301174, 0.0064207105897367, -0.009596801362931728, 0.06616875529289246, -0.03827471286058426, -0.026048418134450912, -0.012307686731219292, -0.027803892269730568, 0.037011414766311646, 0.012137523852288723, -0.02683936059474945, 0.04075951874256134, 0.03126290813088417, 0.034657202661037445, -0.008840426802635193, 0.017820194363594055, -0.00194805848877877, 0.006157878320664167, 0.0285441055893898, 0.007721001282334328, -0.015043891966342926, 0.005450964905321598, 0.025142338126897812, -0.020000876858830452, -0.0024604839272797108, 0.04311291500926018, -0.012732808478176594, 0.017597369849681854, 0.010928458534181118, 0.02837727591395378, -0.010324901901185513, 0.012700775638222694, 0.018354039639234543, -0.0030112562235444784, -0.029801271855831146, 0.018176285549998283, 0.047151435166597366, 0.049328651279211044, 0.018261633813381195, -0.033569831401109695, 0.039684146642684937, 0.0005764728994108737, -0.05271515995264053, 0.011073476634919643, -0.0076974788680672646, 0.039583656936883926, -0.02689909003674984, 0.005405975505709648, -0.039862435311079025, -0.005601602140814066, 0.03150586038827896, 0.016427718102931976, 0.01684868521988392, 0.058360785245895386, -0.018475161865353584, -0.014792587608098984, -0.022091396152973175, 0.023896990343928337, 0.019854199141263962, -0.05748695507645607, 0.029706211760640144, 0.03558884933590889, -0.009853816591203213, 0.038026463240385056, -0.030360456556081772, -0.012862167321145535, 0.04398419335484505, 0.017942989245057106, 0.001910700579173863, -0.02153373695909977, -0.04757576808333397, 0.013186035677790642, -0.01888955384492874, 0.04805304482579231, 0.037176452577114105, 0.00041936355410143733, -0.014821885153651237, 0.01223563589155674, -0.015937205404043198, 0.03123627044260502, -0.035368140786886215, -0.03443106636404991, -0.029974065721035004, -0.03603120893239975, 0.0017482800176367164, 0.02367682196199894, -0.01767801120877266, -0.009373798035085201, 0.03891363739967346, 0.002561163157224655, 0.03676288202404976, 0.05012959986925125, -0.0036563104949891567, 0.012557214125990868, 0.060246989130973816, 0.024922607466578484, -0.009746858850121498, 0.03914587199687958, 0.005412436556071043, -0.012314364314079285, 0.0073985327035188675, 0.011541814543306828, 0.008676760829985142, 0.02879425883293152, 0.008070635609328747, -0.03171422705054283, -0.004621988628059626, -0.0006209653220139444, -0.014142448082566261, 0.048123471438884735, 0.0008091524941846728, 0.016740737482905388, -0.021608391776680946, -0.00742643978446722, 0.033913712948560715, -0.06281813979148865, -0.05189702287316322, -0.060717444866895676, 0.010970143601298332, 0.023723719641566277, -0.008162204176187515, 0.002116843592375517, 0.03860728442668915, 0.06477439403533936, -0.009671080857515335, 0.057983603328466415, 0.013636184856295586, -0.02698424831032753, -0.06554882228374481, -0.02482243813574314, -0.020187299698591232, -0.013806299306452274, 0.0014590860810130835, 0.06184425204992294, -0.03653880953788757, 0.026851344853639603, 0.013148012571036816, -0.07730037719011307, -0.010680045001208782, 0.005125331226736307, 0.00845266692340374, 0.013520420528948307, 0.025889210402965546, 0.00895027443766594, -0.032813455909490585, -0.030755458399653435, -0.005056604743003845, 0.0007750735385343432, -0.015126818791031837, 0.051667824387550354, 0.033428046852350235, -0.020068606361746788, 0.015945391729474068, 0.0058679888024926186, 0.007858335971832275, -0.01607401669025421, -0.028099531307816505, -0.021540731191635132, 0.010801291093230247, 0.03059888817369938, 0.0321921668946743, -0.005214863922446966, -0.03681860864162445, 0.021014170721173286, -0.02556043118238449, 0.042444463819265366, 0.028839262202382088, -0.026970969513058662, 0.006816636770963669, 0.019011441618204117, -0.00956798903644085, -0.004181207157671452, 0.05130460113286972, -0.0025382027961313725, 0.034952856600284576, 0.02256310172379017, -0.021094586700201035, -0.0367308147251606, -0.0295106153935194, 0.058968644589185715, 0.04110840708017349, -0.02520838938653469, 0.010072077624499798, -0.015323429368436337, 0.05037733539938927, 0.022976625710725784, 0.006207985803484917, 0.0254104845225811, 0.03293178975582123, -0.004445734899491072, 0.03993723914027214, 0.0723922997713089, -0.004990413784980774, -0.025921396911144257, -0.022549159824848175, -0.009218894876539707, -0.008997653611004353, -0.04558747261762619, 0.029086075723171234, -0.00863430742174387, -0.0642814040184021, 0.02171008288860321, -0.004151968751102686, 0.053061969578266144, 0.0321759395301342, 0.08601944148540497, 0.019908206537365913, 0.04184497147798538, -0.0571768544614315, 0.019356755539774895, -0.020799890160560608, 0.023304374888539314, 0.022067058831453323, 0.03162243589758873, 0.0024468759074807167, -0.022202694788575172, -0.017249247059226036, 0.014371367171406746, 0.03723477944731712, 0.03275548666715622, -0.010902988724410534, 0.07695802301168442, -0.003392159240320325, 0.03165217489004135, -0.011760225519537926, -0.008877510204911232, -0.0030796355567872524, -0.02754267305135727, 0.00026213275850750506, -0.008965373039245605, 0.002826327458024025, -0.03653831407427788, 0.00004985199848306365, -0.006620444357395172, -0.044234197586774826, -0.011784146539866924, -0.029637783765792847, -0.004168221727013588, 0.008115170523524284, 0.016631636768579483, 0.03590451925992966, -0.0202266126871109, -0.026428893208503723, -0.05832589790225029, 0.029453232884407043, -0.01400226354598999, 0.002377387834712863, -0.02161545120179653, -0.06250662356615067, -0.01312986109405756, 0.02994346059858799, -0.006261846981942654, -0.0246829055249691, -0.02417655661702156, 0.015459691174328327, -0.0031195194460451603, 0.04090655595064163, -0.04415667802095413, -0.006860984489321709, 0.011155064217746258, -0.019541708752512932, -0.024147721007466316, 0.006020415108650923, -0.007495208643376827, 0.044472020119428635, 0.045155029743909836, -0.0056625413708388805, -0.007003794424235821, 0.006344446446746588, 0.0037496297154575586, 0.03504883125424385, 0.02352641336619854, 0.021190563216805458, 0.03341701254248619, 0.014151775278151035, 0.01745094358921051, -0.01801186241209507, -0.0590340793132782, 0.0025566238909959793, 0.007349579129368067, 0.018322737887501717, -0.01628895290195942, 0.026214508339762688, 0.03934882953763008, -0.025728382170200348, 0.027270980179309845, -0.0038704185280948877, 0.02021070197224617, -0.01723301410675049, 0.004289217293262482, 0.021795080974698067, 0.014763274230062962, 0.03582443669438362, -0.06775074452161789, -0.021490100771188736, -0.018946485593914986, 0.025689784437417984, -0.020585037767887115, -0.007266561035066843, -0.020917674526572227, 0.03086831234395504, -0.015575996600091457, 0.022025298327207565, -0.02982712723314762, -0.02021110989153385, 0.008243054151535034, 0.006447134539484978, 0.0020170542411506176, 0.004863998387008905, -0.04683402180671692, 0.04327525943517685, 0.0007503528031520545, 0.03450559079647064, 0.032321203500032425, 0.015509366989135742, -0.04037107899785042, 0.0012594694271683693, -0.020173843950033188, -0.010262234136462212, -0.0331605039536953, 0.027974219992756844, 0.02364785224199295, -0.014801518991589546, -0.04897746816277504, 0.012052117846906185, -0.015597407706081867, 0.017348773777484894, 0.03245195373892784, -0.04381607845425606, -0.08858149498701096, -0.03477994725108147, 0.018924567848443985, -0.010450102388858795, 0.006370224989950657, 0.004036960192024708, 0.030253995209932327, 0.026781465858221054, 0.026402348652482033, 0.024383461102843285, 0.04031858220696449, -0.028660686686635017, 0.016110388562083244, 0.0009881327860057354, -0.05019260197877884, 0.009821888990700245, -0.02858508750796318, 0.04685000702738762, -0.007551966235041618, 0.024530833587050438, 0.021543467417359352, 0.06887900084257126, -0.013459638692438602, -0.009640021249651909, 0.015195650048553944, -0.057571154087781906, 0.00059647107264027, 0.04835457727313042, 0.00952974334359169, 0.005386123899370432, 0.026650093495845795, -0.00278673367574811, -0.02066204696893692, 0.017423512414097786 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
# Results of the Open Source AI Game Jam From July 7th to July 11th, we hosted our first Open Source AI Game Jam, an exciting event that challenged game developers to create innovative games within a tight 48-hour window using AI. The primary objective was to create games that incorporate at least one Open Source AI Tool. Although proprietary AI tools were allowed, we encouraged participants to integrate open-source tools into their game or workflow. The response to our initiative was beyond our expectations, with over 1300 signups and the submission of 88 amazing games. You can try them here 👉 https://itch.io/jam/open-source-ai-game-jam/entries
[ 0.017624443396925926, -0.08819691836833954, 0.11457102000713348, 0.018523531034588814, -0.03569856658577919, 0.086479052901268, 0.015657104551792145, 0.07554670423269272, -0.01886879652738571, -0.08273403346538544, -0.03081926330924034, 0.022346727550029755, -0.022419551387429237, 0.09863811731338501, -0.005213793832808733, 0.00812769029289484, -0.01040408294647932, -0.02084597945213318, 0.022243579849600792, 0.018064426258206367, -0.006971749942749739, 0.029608238488435745, -0.00011018083750968799, -0.008825745433568954, 0.03733963146805763, 0.027935383841395378, -0.029045432806015015, 0.018595442175865173, -0.021755877882242203, -0.03213043138384819, -0.06124376505613327, -0.045202385634183884, 0.01362324133515358, -0.0884498804807663, -0.03615647926926613, 0.06604868173599243, -0.09363210946321487, 0.05376776307821274, -0.01481469627469778, -0.009033258073031902, 0.00018077624554280192, 0.0019787647761404514, -0.02029872126877308, 0.006361407693475485, 0.026554306969046593, 0.004195187706500292, -0.17609825730323792, 0.04083837568759918, -0.0491003654897213, 0.027683518826961517, -0.04085402563214302, -0.006243211682885885, 0.022831780835986137, -0.02569621056318283, -0.02979847975075245, 0.03067725896835327, 0.06786274164915085, -0.03384234756231308, -0.0616658478975296, 0.07147931307554245, 0.08697707951068878, -0.03487840294837952, 0.05774493142962456, -0.00021294804173521698, 0.05138382688164711, 0.077305868268013, 0.05316736549139023, 0.05866317078471184, -0.029970446601510048, -0.011944877915084362, 0.04286041110754013, -0.033127035945653915, -0.06846515089273453, -0.038176268339157104, 0.030392790213227272, -0.05904539301991463, 0.08319535851478577, 0.11289960891008377, 0.04732024297118187, 0.033894654363393784, 0.035849202424287796, 0.018054090440273285, 0.1041027158498764, -0.02130194567143917, 0.013565904460847378, 0.05853202939033508, -0.06501620262861252, -0.09604382514953613, -0.04392116144299507, 0.028466282412409782, 0.0810687318444252, -0.13188984990119934, 0.02067588083446026, -0.019847635179758072, 0.020986810326576233, 0.0011659394949674606, -0.021002350375056267, 0.02125604823231697, -0.05477171018719673, 0.04846666753292084, 0.017338711768388748, 0.022850075736641884, 0.006646181922405958, -0.038878459483385086, -0.1035553440451622, 0.07079590111970901, 0.017357012256979942, -0.10291352868080139, -0.0425775907933712, -0.005880251992493868, 0.06074322387576103, 0.012963056564331055, 0.010089623741805553, 0.006741934921592474, -0.07457154244184494, 0.07786469161510468, -0.012766683474183083, 0.0027870605699718, -0.04409453645348549, 0.05199326202273369, -0.008914907462894917, 0.026941543444991112, 0.005046744365245104, 0.02625262551009655, 0.034329477697610855, 0.05337056890130043, 0.02372932992875576, 0.020028557628393173, 0.021993746981024742, -0.05517008900642395, 0.038091931492090225, 0.0006641580257564783, -0.040773820132017136, -0.01982973888516426, 0.02342643029987812, -0.02545781247317791, 0.01947835460305214, -0.038662705570459366, 0.01291187759488821, 0.017400164157152176, -0.0684184730052948, 0.00023882713867351413, 0.017932962626218796, 0.04009362310171127, 0.04947430267930031, 0.000014479224773822352, -0.08399423211812973, -0.06406208872795105, -0.008237894624471664, 0.0023022533860057592, -0.059714362025260925, 0.03357034549117088, -0.060249947011470795, -0.04261690378189087, -0.027493737637996674, 0.0712166503071785, -0.053153082728385925, -0.059491414576768875, -0.04763695225119591, 0.009811990894377232, -0.040887366980314255, 0.03886637091636658, -0.0050122481770813465, -0.016759926453232765, -0.019800003618001938, -0.0345253124833107, 0.04028278961777687, -0.01635379157960415, 0.002352103590965271, 0.02903655357658863, -0.00840783305466175, -0.008462593890726566, 0.059153001755476, -0.06573257595300674, 0.021125903353095055, 0.02746167592704296, 0.07191487401723862, 0.056917570531368256, 0.05809731036424637, 0.0348951481282711, -0.06806045025587082, -0.007650280836969614, -0.0012446062173694372, 0.029267283156514168, 0.04870477318763733, -0.08789265900850296, 0.014248083345592022, 0.01417959202080965, 0.05810551717877388, 0.009927548468112946, -0.03244883567094803, -0.000914147065486759, 0.05512990802526474, -0.022695019841194153, 0.07220932841300964, -0.021585382521152496, -0.04472658783197403, 0.09004728496074677, 0.06944747269153595, 0.07459483295679092, -0.005611499771475792, -0.0013571081217378378, -0.027170898392796516, -0.03230390325188637, -0.06908126920461655, -0.03486355021595955, 0.04694582521915436, -0.03776588663458824, -0.05964013189077377, -0.019263282418251038, -0.0772254541516304, -0.036512985825538635, 0.06914007663726807, 0.005909057799726725, 0.014159531332552433, 0.014701290056109428, 0.05355245620012283, 0.021053597331047058, 0.023485874757170677, -0.0419272743165493, 0.1282823532819748, -0.05889405310153961, 0.025639217346906662, 0.00833970122039318, 0.013405590318143368, 0.045945826917886734, -0.030658699572086334, 0.06470482051372528, 0.07458778470754623, -0.0814892128109932, -0.04986843839287758, 0.017321888357400894, 0.004378603305667639, -0.0013173006009310484, 0.018751323223114014, -0.02636786550283432, 0.1093897745013237, -0.027540063485503197, 0.00867624394595623, -0.02696188911795616, -0.014133093878626823, -0.02762189693748951, 0.009742684662342072, 0.043451711535453796, -0.007811777759343386, -0.02597622014582157, 0.07703784108161926, 0.011954923160374165, 0.03905345872044563, 0.042741723358631134, -0.012724649161100388, -0.05234139412641525, 0.024275433272123337, 0.0036668418906629086, 0.045956019312143326, -0.010296846739947796, -0.0009069074876606464, -0.05228465795516968, -0.004044520203024149, 0.05075538158416748, 0.03581954538822174, -0.04428161308169365, -0.027506345883011818, 0.00875459611415863, 0.03214222192764282, -0.0072339363396167755, -0.01660788059234619, 0.03681464120745659, -0.019737306982278824, -0.05047924071550369, 0.0034111596178263426, -0.02068539708852768, 0.00086308823665604, -0.019875207915902138, -0.0025461260229349136, 0.017282813787460327, 0.03168521448969841, -0.011864290572702885, 0.018828367814421654, -0.0046255821362137794, 0.012675518169999123, -0.004427901469171047, 0.03129710629582405, 0.03494413197040558, -0.03131731599569321, 0.051589928567409515, 0.01065287459641695, 0.03429741784930229, -0.03065316379070282, 0.0019727670587599277, -0.011368448846042156, 0.03506651893258095, -0.03910347446799278, -0.03551512584090233, 0.05840737000107765, -0.022735344246029854, 0.023818250745534897, -0.015540149062871933, -0.0010892050340771675, 0.0002671654801815748, 0.024552572518587112, -0.022261539474129677, -0.03022954612970352, 0.026164306327700615, -0.017754407599568367, 0.016806256026029587, -0.027276532724499702, -0.005297127179801464, -0.10399869829416275, -0.03387260064482689, -0.029057523235678673, 0.07083255797624588, -0.05194364860653877, 0.038089264184236526, 0.021135950461030006, -0.007555792573839426, 0.027787482365965843, 0.004780134651809931, -0.05270851403474808, 0.004370288923382759, -0.0342242605984211, 0.03686251491308212, 0.024724537506699562, 0.003854284295812249, -0.01164055336266756, 0.012227566912770271, 0.01217050850391388, 0.03294670209288597, -0.0885438621044159, 0.045513369143009186, 0.0013564027613028884, 0.008271574974060059, 0.008249033242464066, -0.003168137976899743, 0.03341135010123253, -0.028973057866096497, 0.029385339468717575, -0.01529542077332735, -0.031383562833070755, -0.004683964420109987, 0.008767876774072647, -0.014046878553926945, -0.053705159574747086, 0.02215437777340412, 0.03357364609837532, 0.002971059875562787, 0.021590452641248703, -0.01486137043684721, -0.002908754860982299, -0.0019929183181375265, 0.02884536050260067, -0.046709898859262466, 0.027127936482429504, 0.005204544402658939, -0.0016127887647598982, 0.05246574059128761, 0.040901146829128265, -0.055881381034851074, 0.0034571702126413584, -0.017997073009610176, 0.01553124189376831, 0.026472387835383415, -0.0027820176910609007, -0.001739478437229991, -0.009609435684978962, 0.019171083346009254, 0.02215992659330368, -0.020084690302610397, -0.03112466260790825, 0.019755279645323753, 0.011230492033064365, 0.00829760916531086, -0.030923467129468918, 0.00030167639488354325, 0.061782244592905045, 0.01823294721543789, -0.04541534557938576, 0.06371387094259262, 0.07020661234855652, -0.02558513730764389, -0.0013091270811855793, 0.0083539467304945, -0.015258124098181725, 0.053637366741895676, -0.03652407228946686, 0.0017168918857350945, 0.0333537757396698, 0.08302876353263855, -0.03722190111875534, -0.03457196056842804, -0.009853661991655827, -0.027125321328639984, -0.015947619453072548, 0.018941882997751236, 0.03397494927048683, -0.002970250090584159, -0.001462904503569007, 0.020485511049628258, -0.03226642310619354, -0.05405724421143532, 0.035816919058561325, -0.017761003226041794, 0.011730150319635868, 0.021555013954639435, 0.02106144092977047, 0.0065706102177500725, -0.0043792868964374065, 0.0014276072615757585, 0.04491780325770378, 0.0043558464385569096, -0.020275376737117767, -0.011381825432181358, 0.007650437764823437, 0.011887953616678715, -0.03762190416455269, -0.014127054251730442, 0.04377100616693497, -0.004313704092055559, 0.025400923565030098, -0.029154706746339798, -0.01677137054502964, 0.016430499032139778, -0.015539456158876419, -0.005111441947519779, 0.030563781037926674, -0.03430073708295822, -0.020963989198207855, 0.0045435442589223385, -0.0584622286260128, 0.0027486905455589294, 0.02121455781161785, 0.052913714200258255, 0.03597654774785042, 0.017652560025453568, 0.0031057079322636127, -0.02250204235315323, 0.013514925725758076, 0.0059999204240739346, -0.024221129715442657, -0.02117149531841278, -0.021430956199765205, 0.03715844079852104, 0.03345648944377899, -0.005082446616142988, -0.04151948541402817, 0.0003936303255613893, -0.01997675560414791, -0.02067769318819046, 0.01788361556828022, 0.0164936650544405, 0.06687517464160919, -0.015170884318649769, -0.03031386248767376, -0.0056359414011240005, -0.04526176676154137, -0.0158412903547287, -0.02978595532476902, -0.020018698647618294, 0.03207020089030266, -0.034988224506378174, -0.014275684021413326, 0.020492441952228546, 0.041438110172748566, -0.01598191075026989, -0.010745980776846409, 0.022238394245505333, -0.025516001507639885, 0.017818421125411987, -0.0036230904515832663, -0.008281814865767956, -0.014010339975357056, 0.02037956938147545, 0.00041047483682632446, -0.03201840817928314, 0.026133883744478226, -0.01338090468198061, 0.018388282507658005, -0.02596803940832615, 0.015841564163565636, 0.030536094680428505, 0.03941095620393753, -0.023785317316651344, 0.012889155186712742, 0.012083766050636768, 0.05592343583703041, 0.018478740006685257, -0.02244090475142002, 0.017812632024288177, -0.04410405457019806, 0.03480292484164238, 0.04128521680831909, -0.03559637442231178, -0.0013416445581242442, 0.003439243184402585, 0.039313919842243195, 0.0336487740278244, -0.012389741837978363, -0.033314455300569534, -0.025229189544916153, 0.005339792929589748, 0.019737744703888893, -0.04037062078714371, 0.05140575021505356, -0.025137269869446754, -0.013302469626069069, -0.05060586705803871, -0.03134447708725929, -0.0006432135123759508, 0.014223421923816204, 0.005103988107293844, -0.03677070140838623, -0.006593280006200075, 0.055796314030885696, 0.003557780524715781, 0.0261766966432333, -0.05837123841047287, 0.018646763637661934, -0.006660116836428642, 0.003155206795781851, -0.00947737880051136, -0.0015729550505056977, -0.03343213349580765, -0.017523739486932755, -0.05070061236619949, -0.01837143301963806, 0.00371811562217772, -0.007335076108574867, 0.024638701230287552, 0.010567373596131802, -0.009450921788811684, 0.007155006751418114, -0.02690158225595951, 0.015543592162430286, -0.024796096608042717, 0.005211264360696077, -0.006357693113386631, 0.00022867688676342368, -0.005669943988323212, 0.048241905868053436, -0.02828250825405121, 0.02021721936762333, 0.04414926469326019, 0.008984988555312157, -0.017914721742272377, -0.02379550226032734, 0.04238118231296539, 0.03846428915858269, -0.00034026423236355186, -0.038087841123342514, -0.003651847131550312, -0.01628728397190571, -0.02147630974650383, -0.014054016210138798, 0.012622121721506119, 0.05158994719386101, 0.013050376437604427, -0.027012400329113007, -0.003061228431761265, -0.019376084208488464, 0.03312336280941963, -0.030955173075199127, -0.019798099994659424, -0.0005981998401694, 0.025247855111956596, 0.02370782569050789, 0.02709040604531765, -0.03632095083594322, -0.03262672573328018, -0.008899816311895847, -0.01885731890797615, -0.025748236104846, 0.04206165298819542, -0.02169225551187992, -0.00039125687908381224, -0.010635195299983025, -0.040751777589321136, -0.00957472249865532, 0.016296805813908577, -0.014303097501397133, 0.0046455105766654015, 0.03548341616988182, -0.010146202519536018, -0.03659047558903694, -0.03697866201400757, 0.019925862550735474, 0.05388898774981499, 0.011752690188586712, 0.06127755716443062, 0.020167047157883644, 0.04108439013361931, -0.008721936494112015, -0.00548199750483036, -0.0034097013995051384, 0.003074090927839279, 0.034550223499536514, -0.007453700061887503, 0.030576258897781372, -0.0013480286579579115, 0.023732688277959824, -0.04648536816239357, 0.026447569951415062, 0.02612370438873768, -0.06355253607034683, 0.019801637157797813, -0.024752547964453697, -0.046009428799152374, -0.001099228160455823, -0.011825825087726116, 0.01782800257205963, 0.008035935461521149, 0.04559076204895973, 0.03991006687283516, 0.036172155290842056, 0.0721280574798584, 0.01315951719880104, 0.016876328736543655, 0.00582058634608984, -0.01649242267012596, -0.0008302134228870273, 0.05620504543185234, -0.001166212372481823, 0.008126632310450077, -0.017734428867697716, -0.00038889487041160464, -0.007507064379751682, -0.0222361758351326, 0.0034601441584527493, 0.023930687457323074, -0.028046585619449615, 0.0013700833078473806, -0.04687630757689476, 0.011436116881668568, -0.016937317326664925, 0.006132426206022501, -0.022166462615132332, 0.008471437729895115, 0.007946042343974113, -0.020446229726076126, -0.020061595365405083, -0.01480884663760662, -0.005492055788636208, 0.013723749667406082, -0.022820087149739265, -0.0412060022354126, 0.02313331514596939, -0.005851082503795624, -0.051764294505119324, -0.01797143742442131, 0.021966932341456413, 0.02946077659726143, -0.008818880654871464, -0.029940342530608177, -0.051615167409181595, -0.03431815281510353, 0.056733109056949615, 0.03385549411177635, -0.020858217030763626, 0.010494326241314411, 0.04052441194653511, 0.01316873263567686, -0.039273299276828766, 0.02101254090666771, -0.026821210980415344, 0.014431721530854702, -0.010182332247495651, 0.003487777430564165, -0.015426321886479855, -0.002769455313682556, 0.0131944939494133, 0.0003856562252622098, 0.03323310241103172, 0.00007427771924994886, -0.005060469266027212, 0.017991678789258003, -0.006378957070410252, -0.010812420397996902, 0.007802943233400583, 0.03675859048962593, 0.005576612427830696, -0.0043915375135838985, 0.011667869985103607, 0.014321760274469852, 0.012396584264934063, 0.008112930692732334, 0.032573044300079346, -0.041589364409446716, -0.05335814505815506, 0.01889064349234104, 0.02214944176375866, 0.04834922030568123, 0.01821824349462986, 0.01873892731964588, 0.009181906469166279, -0.008320619352161884, -0.0690951868891716, -0.011855540797114372, -0.007505190093070269, 0.04317852854728699, -0.037666887044906616, -0.024857012555003166, -0.033164702355861664, 0.005536155309528112, 0.018205298110842705, 0.0009765747236087918, -0.07284080237150192, 0.023844745010137558, -0.0076765562407672405, 0.017902066931128502, -0.04005870223045349, 0.0035812126006931067, 0.008423073217272758, 0.0015085763297975063, 0.019850067794322968, -0.016965726390480995, -0.017422420904040337, -0.006105417851358652, -0.001786355278454721, 0.054364725947380066, 0.01235626358538866, -0.02941337786614895, -0.015110439620912075, -0.006049449555575848, -0.038394056260585785, -0.09362345933914185, -0.0008958196849562228, 0.04851024970412254, 0.05023416876792908, -0.05634303763508797, -0.031913597136735916, 0.004390808288007975, -0.01635560393333435, -0.020406456664204597, 0.04221230372786522, -0.04960114136338234, -0.013242967426776886, -0.025267677381634712, -0.00866020005196333, -0.027756867930293083, 0.012208509258925915, -0.021852053701877594, -0.0024345130659639835, -0.018696462735533714, 0.037734974175691605, 0.010813290253281593, 0.0021423010621219873, 0.006193454377353191, 0.028398551046848297, -0.011928951367735863, -0.042204245924949646, -0.02439659647643566, 0.012756984680891037, 0.008487059734761715, -0.022525493055582047, 0.004771256819367409, 0.032686613500118256, 0.03821271285414696, -0.01438964530825615, -0.01881621778011322, 0.06715511530637741, 0.004453899804502726, 0.00711247930303216, 0.028472190722823143, -0.003511996241286397, 0.04208127036690712, -0.01582377962768078, -0.017401838675141335, -0.012840178795158863, 0.024956781417131424 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
#8: Galactic Domination In this game, you embark on an interstellar journey as a spaceship captain, pitted against formidable spaceships in a battle for dominance. Your goal is to be the first to construct a powerful space station that will expand your influence and secure your supremacy in the vast expanse of the cosmos. As you navigate the treacherous battlefield, you must gather essential resources to fuel the growth of your space station. It's a construction race! 🤖 Unity ML-Agents (bot-AI works with reinforcement learning) 🤖 Charmed - Texture Generator 🤖 Soundful - Music generator 🤖 Elevenlabs - Voice generator 🤖 Scenario - Image generator 🎮👉 https://blastergames.itch.io/galactic-domination
[ 0.0011777738109230995, -0.07623923569917679, 0.0690506175160408, 0.03519396856427193, 0.006943275686353445, 0.06308338046073914, 0.01869709976017475, 0.0544038750231266, -0.056304655969142914, -0.0979163721203804, -0.0714680552482605, -0.0025981732178479433, 0.006549315992742777, 0.041369661688804626, 0.10757017880678177, 0.028961675241589546, -0.013954848982393742, -0.010846814140677452, -0.09802394360303879, -0.05987875163555145, -0.04580710083246231, 0.01706049218773842, 0.046363167464733124, 0.03724055737257004, 0.05003230646252632, 0.028767582029104233, -0.0002902671694755554, 0.02320483885705471, -0.04804554209113121, 0.02052273042500019, -0.03143254294991493, -0.11207252740859985, -0.011350784450769424, -0.05845341458916664, -0.013505647890269756, 0.025972962379455566, -0.04852462559938431, 0.0301914494484663, 0.02637779526412487, -0.08744621276855469, -0.03053177520632744, -0.04836944863200188, -0.02281878888607025, 0.032290756702423096, -0.023308902978897095, 0.03399566188454628, -0.1710130125284195, 0.03677972033619881, -0.10681077837944031, -0.012789920903742313, -0.017956312745809555, 0.031664032489061356, -0.0035540438257157803, -0.04306397587060928, 0.05174422636628151, 0.016019634902477264, 0.04916027933359146, -0.010358416475355625, 0.017070408910512924, 0.034796927124261856, 0.1064186692237854, 0.05938839167356491, 0.025046488270163536, 0.01915859431028366, 0.04989616945385933, -0.004274089355021715, 0.0314597524702549, -0.023572206497192383, -0.07404468953609467, -0.021942004561424255, 0.012410731986165047, -0.03520185127854347, -0.0750989019870758, -0.02899262122809887, -0.04874027147889137, -0.036365609616041183, -0.032950881868600845, 0.05738237127661705, -0.07284054160118103, 0.005934005603194237, -0.05352456495165825, 0.03672562167048454, 0.11283351480960846, -0.005211629904806614, -0.019068362191319466, 0.004909321200102568, -0.02253560721874237, 0.0502336360514164, -0.07087627798318863, 0.14721766114234924, 0.031885869801044464, -0.13371312618255615, 0.0016836384311318398, 0.030471695587038994, 0.03231982886791229, -0.05898766592144966, -0.00022304207959678024, 0.006093527190387249, -0.05798133462667465, -0.002034097211435437, -0.02431817352771759, 0.0017912269104272127, 0.016235770657658577, -0.07620109617710114, -0.04198816791176796, 0.0609867125749588, 0.029935600236058235, -0.03337499499320984, -0.056471433490514755, 0.02404361590743065, 0.057871460914611816, -0.05298162251710892, -0.0002724464575294405, 0.03080124966800213, -0.001536206342279911, 0.006311656907200813, -0.007880812510848045, 0.020228229463100433, -0.02393379621207714, -0.03244994208216667, 0.010586032643914223, 0.005031486973166466, -0.03371558338403702, 0.009238528087735176, -0.023123838007450104, 0.08118758350610733, 0.04235576093196869, -0.02269362471997738, -0.027522603049874306, -0.05664127692580223, -0.0030627765227109194, -0.02003641240298748, -0.055232033133506775, 0.028092842549085617, 0.05618990957736969, 0.028411738574504852, 0.06660938262939453, -0.013466078788042068, -0.01245014276355505, -0.019209902733564377, -0.08440714329481125, -0.019341809675097466, 0.012455005198717117, 0.08616982400417328, -0.015659667551517487, -0.052368585020303726, -0.004604692570865154, -0.003031909465789795, -0.06067005917429924, -0.0206783264875412, -0.07959668338298798, 0.005026679951697588, -0.08117074519395828, -0.02771516516804695, -0.06373146921396255, 0.005924788303673267, -0.006841454189270735, -0.053958710283041, -0.004141320940107107, 0.01657983846962452, 0.0410601906478405, -0.0229024700820446, -0.04170737415552139, -0.022976208478212357, 0.05810824781656265, -0.021990640088915825, 0.07905919849872589, 0.02965553104877472, -0.021874748170375824, -0.0337451808154583, -0.0010499601485207677, -0.016945568844676018, 0.0022158499341458082, -0.006386664696037769, 0.01733994111418724, 0.01912512443959713, 0.06158845126628876, 0.05389190837740898, -0.012890352867543697, 0.02246522158384323, 0.010607168078422546, -0.028516441583633423, 0.020076647400856018, 0.031620558351278305, 0.004446647595614195, -0.03712424635887146, -0.033733174204826355, -0.011260338127613068, 0.05870203301310539, -0.011162438429892063, -0.0060287173837423325, -0.015287725254893303, 0.04284550994634628, 0.011986445635557175, -0.03373364731669426, -0.05703486502170563, -0.05356648564338684, 0.020404037088155746, 0.08592986315488815, 0.02314690314233303, -0.026944121345877647, 0.03665626421570778, -0.028414743021130562, -0.012079578824341297, -0.033025626093149185, -0.02379254437983036, -0.0492895171046257, -0.034236181527376175, -0.06297071278095245, 0.018557436764240265, -0.06332165002822876, 0.01644754409790039, 0.04809574782848358, -0.06779186427593231, 0.0075739589519798756, -0.022440671920776367, -0.0648532584309578, 0.04992059990763664, 0.027118019759655, -0.07355543971061707, 0.08755239844322205, -0.03295212611556053, -0.011440740898251534, 0.09078369289636612, -0.007354067638516426, 0.029112713411450386, 0.07114782929420471, 0.08804944902658463, 0.013084948994219303, -0.04221317172050476, -0.02109616808593273, 0.004928726702928543, -0.040038786828517914, -0.029288731515407562, -0.04932291433215141, 0.003185310633853078, 0.11657020449638367, -0.022449538111686707, -0.01258685439825058, -0.09830360114574432, -0.0805569738149643, -0.07267344743013382, 0.03840325027704239, 0.01767723076045513, -0.014872646890580654, -0.05741919204592705, 0.03864119574427605, 0.011813677847385406, 0.02898864634335041, -0.009618233889341354, -0.04576839134097099, 0.013537504710257053, -0.035222772508859634, 0.058689799159765244, 0.08606961369514465, 0.026299886405467987, 0.01798061467707157, -0.005837252829223871, -0.038094084709882736, 0.007927310653030872, 0.03549470752477646, -0.019792983308434486, -0.010565235279500484, -0.028256798163056374, 0.0026947837322950363, -0.02408715896308422, 0.016582565382122993, 0.009406409226357937, -0.014801413752138615, 0.010840336792171001, -0.04359591379761696, -0.011113019660115242, 0.016747208312153816, -0.04527503252029419, 0.018790962174534798, 0.03721824660897255, 0.015504243783652782, -0.023122312501072884, 0.01353425532579422, -0.0022807952482253313, -0.006144472397863865, -0.010247988626360893, 0.040923621505498886, 0.042264364659786224, -0.011161966249346733, 0.018138956278562546, 0.042684607207775116, -0.007574158255010843, -0.013026941567659378, 0.004499326925724745, -0.009311974979937077, 0.014170476235449314, -0.02240198664367199, 0.007557252887636423, 0.03829248994588852, -0.011912522837519646, 0.041921939700841904, -0.0018122239271178842, -0.020713483914732933, 0.033930882811546326, 0.012285567820072174, 0.04275901988148689, -0.05110127106308937, 0.0028641833923757076, -0.022276677191257477, -0.02851271629333496, 0.004092090763151646, 0.01942737214267254, -0.08760525286197662, -0.028371118009090424, -0.005056865978986025, 0.07650978118181229, -0.021133368834853172, -0.03546520695090294, -0.03757098317146301, -0.0029969962779432535, 0.022016379982233047, -0.0025169560685753822, -0.04060598835349083, -0.019767658784985542, 0.02011212706565857, -0.016353299841284752, 0.002337168902158737, 0.017068153247237206, 0.02116934396326542, -0.001067036995664239, -0.005746933165937662, 0.021758336573839188, -0.052215576171875, 0.0770774558186531, 0.011077173985540867, 0.002356807002797723, -0.0212579146027565, -0.018485277891159058, -0.0028037703596055508, 0.037787649780511856, 0.03135586157441139, -0.01284191757440567, -0.04584575444459915, 0.03404763340950012, 0.000850140699185431, 0.01772758550941944, -0.0015901661245152354, 0.009907825849950314, -0.008318135514855385, 0.004444252233952284, 0.03211190924048424, -0.01902291551232338, 0.018075667321681976, 0.0125522306188941, 0.0014218376018106937, -0.005433677230030298, 0.01190672442317009, -0.07643766701221466, -0.011626414954662323, 0.02306928113102913, 0.009111474268138409, -0.025408988818526268, -0.025977814570069313, 0.010857717134058475, -0.003094305517151952, 0.02126767300069332, 0.017213206738233566, 0.028110764920711517, 0.037711746990680695, 0.04974176734685898, -0.00926957931369543, 0.007956292480230331, -0.02717369981110096, 0.018941115587949753, 0.0026268824003636837, -0.007902673445641994, 0.01913580857217312, -0.015036561526358128, 0.05149555951356888, -0.021276792511343956, -0.051731549203395844, 0.05933699011802673, 0.005490039009600878, 0.0268846582621336, 0.014066127128899097, -0.005632720421999693, -0.04017559438943863, -0.0010019325418397784, -0.04763849824666977, 0.0127152930945158, 0.06307189911603928, 0.06059490516781807, 0.015260307118296623, -0.052074726670980453, -0.08086589723825455, -0.0498981811106205, -0.019535042345523834, -0.025879092514514923, 0.0207825880497694, -0.005008005537092686, -0.012324952520430088, 0.01629871316254139, 0.022242777049541473, -0.014436738565564156, 0.06221157684922218, 0.022856146097183228, 0.03528006747364998, 0.0452301986515522, -0.03853918984532356, 0.007200036663562059, -0.002351837931200862, 0.0035256175324320793, 0.029815498739480972, -0.030470293015241623, -0.0058727627620100975, 0.01938633993268013, 0.01086823083460331, 0.04525269567966461, -0.02053288370370865, -0.04858884587883949, 0.03997046872973442, 0.05890708416700363, 0.05075819417834282, 0.011777332052588463, -0.0017424768302589655, -0.014383596368134022, -0.010145832784473896, 0.06185190752148628, -0.0050551267340779305, -0.027934599667787552, 0.009376744739711285, -0.0026009774301201105, -0.031920261681079865, -0.0027874212246388197, -0.019625630229711533, 0.047910284250974655, 0.013704359531402588, 0.04764692485332489, 0.03894037380814552, 0.018918555229902267, 0.01932910457253456, -0.0176846981048584, -0.009999344125390053, -0.017701994627714157, 0.018214140087366104, 0.004949647001922131, 0.03760913386940956, 0.0227946937084198, -0.014550301246345043, 0.01744844950735569, -0.01402822881937027, 0.017345333471894264, 0.01501203328371048, -0.006296745967119932, 0.051047198474407196, 0.022490525618195534, -0.0232285987585783, -0.009074660018086433, -0.010269149206578732, 0.04147960618138313, 0.0008643745677545667, -0.01418701559305191, 0.021832013502717018, -0.008514934219419956, 0.000677403761073947, 0.027178646996617317, 0.026877619326114655, -0.0032446328550577164, 0.011826429516077042, 0.021759890019893646, -0.021155226975679398, -0.036006227135658264, 0.015269621275365353, -0.033883869647979736, 0.04042162746191025, 0.03929297998547554, 0.03101765550673008, -0.0015806653536856174, -0.03462320566177368, -0.008854477666318417, 0.022623907774686813, -0.04399770498275757, 0.04815290495753288, 0.03736540302634239, 0.0230476725846529, -0.03795924782752991, -0.00568744633346796, -0.012436515651643276, 0.03371460735797882, -0.008276849053800106, -0.03239648416638374, -0.004101085476577282, -0.05447445437312126, -0.024954983964562416, 0.021035922691226006, -0.011735432781279087, -0.02810073271393776, 0.027218490839004517, 0.06341727077960968, 0.03134777396917343, 0.013097296468913555, 0.0076813483610749245, -0.017392490059137344, -0.004542486742138863, 0.023882336914539337, -0.02961566485464573, 0.03363851457834244, -0.004077574238181114, -0.006072521209716797, 0.014930509962141514, 0.024822119623422623, -0.009161380119621754, -0.00930609367787838, -0.004066286608576775, -0.013392990455031395, 0.026461608707904816, 0.046111177653074265, 0.0004259889537934214, 0.08058464527130127, -0.04387721046805382, -0.0038258640561252832, -0.02951362542808056, -0.006849126424640417, -0.027145473286509514, -0.023443713784217834, -0.06060929223895073, -0.0690595880150795, 0.0012520289747044444, 0.015616673976182938, -0.025917796418070793, -0.017993493005633354, 0.008566624484956264, 0.004025413654744625, 0.03321976214647293, 0.05366794392466545, 0.004052118398249149, 0.009108913131058216, -0.03323815390467644, -0.042970165610313416, -0.006973620504140854, 0.009563157334923744, -0.00984377320855856, 0.038367994129657745, 0.03233944624662399, 0.036310601979494095, 0.0022797747515141964, -0.010968444868922234, -0.01849125139415264, -0.03354181721806526, 0.01896285079419613, 0.01764141209423542, 0.013379697687923908, 0.03555597364902496, -0.02168082445859909, -0.0013747758930549026, -0.03507945314049721, 0.04450952261686325, 0.038210079073905945, 0.06184323877096176, -0.0033477558754384518, -0.03145833685994148, 0.02424723096191883, 0.022202609106898308, 0.009101815521717072, -0.05248011648654938, -0.03199271857738495, -0.023611171171069145, 0.038284603506326675, 0.04333808273077011, 0.014272989705204964, -0.017819659784436226, -0.015477142296731472, -0.00019006965158041567, -0.028575019910931587, 0.024992959573864937, 0.02712249383330345, -0.028569461777806282, 0.002999233780428767, 0.014798943884670734, -0.028916750103235245, -0.007860093377530575, 0.03665807843208313, -0.0034405698534101248, -0.010654979385435581, 0.045323312282562256, -0.003831777023151517, -0.03474634513258934, -0.016337675973773003, 0.02851581759750843, 0.025683531537652016, -0.04127349704504013, 0.03748999908566475, 0.0020216666162014008, 0.026609910652041435, -0.0239780955016613, -0.0021180068142712116, 0.00938329380005598, -0.028869077563285828, 0.026317544281482697, -0.02719522826373577, 0.06966503709554672, 0.04184141382575035, -0.03689994663000107, -0.0039057270623743534, 0.013183358125388622, 0.013727856799960136, -0.040675047785043716, 0.00879837665706873, 0.004690992180258036, -0.02174845151603222, -0.005996870342642069, -0.000501861737575382, 0.05222063511610031, 0.00007258533878484741, 0.02077803574502468, 0.021136609837412834, 0.04953181743621826, -0.04137079790234566, 0.040105048567056656, 0.00793884415179491, 0.02498086728155613, 0.03392951563000679, -0.00886443443596363, 0.009040570817887783, 0.011765745468437672, -0.03308877721428871, -0.011461436748504639, 0.00019115452596452087, 0.005759193561971188, -0.02181149274110794, 0.032828595489263535, 0.024567030370235443, -0.023079676553606987, -0.011602159589529037, -0.010354806669056416, 0.0016621865797787905, -0.037784915417432785, -0.0031310033518821, -0.014919718727469444, 0.00916722510010004, 0.01958971843123436, 0.009315616451203823, -0.004829691257327795, 0.018866628408432007, 0.034808047115802765, 0.013280588202178478, -0.043061718344688416, -0.01758405566215515, 0.02808481827378273, 0.010169857181608677, -0.02029024064540863, -0.044233400374650955, 0.013607900589704514, 0.016092222183942795, -0.031845033168792725, -0.04877087473869324, -0.040847860276699066, -0.04741911590099335, 0.037877585738897324, 0.07418937981128693, -0.03294527530670166, 0.007869473658502102, 0.0011981726856902242, 0.034154124557971954, -0.028201598674058914, -0.03476439416408539, -0.0032573502976447344, 0.0017711749533191323, 0.012912308797240257, -0.022793345153331757, 0.0043752058409154415, -0.024027565494179726, 0.014755560085177422, 0.011975356377661228, 0.012388612143695354, -0.011745497584342957, 0.018139541149139404, 0.029375238344073296, 0.009582300670444965, 0.00040726823499426246, 0.0017178405541926622, 0.026496659964323044, -0.012034975923597813, 0.028432385995984077, 0.01706271804869175, 0.029238833114504814, -0.0010572753380984068, 0.025498876348137856, 0.01456026267260313, 0.006361793261021376, -0.07048620283603668, 0.04166511073708534, 0.04475875198841095, 0.03894194960594177, 0.01887214183807373, 0.007158112712204456, 0.029455892741680145, -0.0010738280834630132, -0.004168500658124685, -0.012132452800869942, 0.00765039911493659, 0.023977961391210556, -0.009819742292165756, -0.02260693535208702, -0.03395750746130943, -0.035797759890556335, -0.04800056666135788, 0.039969995617866516, -0.013930758461356163, 0.029882801696658134, 0.007561127655208111, 0.011946181766688824, -0.006135784089565277, 0.005127889569848776, 0.03247218206524849, 0.016917727887630463, 0.007857960648834705, 0.013015307486057281, -0.015454712323844433, -0.010187210515141487, 0.015391799621284008, 0.009414790198206902, 0.037477150559425354, -0.005075113847851753, 0.014566205441951752, -0.022957222536206245, 0.0179064329713583, -0.060838162899017334, -0.03236783295869827, -0.014921840280294418, 0.043576717376708984, 0.011351408436894417, -0.006601713597774506, 0.06472642719745636, -0.031560175120830536, -0.03746337443590164, 0.015611710026860237, -0.048194460570812225, -0.03597414866089821, -0.04465832561254501, 0.011050774715840816, -0.012421553954482079, 0.021024199202656746, 0.05360950902104378, 0.022067435085773468, 0.003982392605394125, 0.03914183750748634, -0.030295908451080322, 0.017200198024511337, -0.050122618675231934, 0.009258468635380268, 0.005571493413299322, -0.07072471082210541, -0.009717807173728943, -0.007116141263395548, 0.03844631463289261, 0.022257715463638306, 0.010023597627878189, 0.04377196729183197, 0.06961167603731155, 0.02748684771358967, 0.015594555996358395, 0.03963318467140198, -0.0063932714983820915, 0.04185665398836136, 0.08116178214550018, -0.006011420860886574, 0.012804153375327587, 0.042363669723272324, 0.040893614292144775, 0.004889145493507385, 0.030619589611887932 ]
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
#5: Word Conquest In this game, you need to write as many unrelated words as you can to conquer the map. The more unrelated, the farther away and the more score you get. 🤖 Used embeddings from all-MiniLM-L6-v2 model and GloVe to generate the map. 🎮👉 https://danielquelali.itch.io/wordconquest
[ 0.0039069391787052155, -0.054024405777454376, 0.04921068623661995, -0.03554205223917961, 0.07323850691318512, 0.03653630614280701, 0.08220038563013077, 0.08644460141658783, 0.022201891988515854, -0.06760061532258987, -0.07554677128791809, 0.018102485686540604, 0.0012922874884679914, 0.005119809415191412, 0.048187483102083206, 0.1060793474316597, -0.0087248794734478, -0.001168134855106473, 0.02575784921646118, -0.06688712537288666, -0.005948696285486221, 0.0068255094811320305, 0.0809113159775734, 0.009142297320067883, 0.04858183488249779, 0.05183151364326477, 0.009558153338730335, 0.027939651161432266, -0.008329504169523716, 0.02305443584918976, -0.07521506398916245, -0.07130023092031479, -0.016105949878692627, -0.03456151485443115, -0.028806624934077263, -0.013079213909804821, -0.018596462905406952, 0.0961788222193718, -0.02053738757967949, -0.08331174403429031, 0.01020764373242855, 0.01651659421622753, -0.005481638014316559, 0.021707650274038315, -0.00009196253813570365, 0.000640837533865124, -0.14591114223003387, 0.03645550459623337, -0.08146055787801743, -0.02323382906615734, -0.06678154319524765, 0.016503337770700455, 0.0035489224828779697, 0.035086095333099365, -0.003463900648057461, -0.000009511104508419521, 0.013757074251770973, -0.07730267941951752, 0.02949058823287487, 0.03918182849884033, 0.06579791009426117, 0.019292794167995453, 0.0396718829870224, 0.022623443976044655, -0.01147619541734457, 0.01742614433169365, -0.021656645461916924, 0.06119725480675697, -0.06679963320493698, 0.03203823044896126, 0.04829084873199463, -0.03940644860267639, -0.08590652793645859, -0.022092605009675026, -0.059326399117708206, -0.08376667648553848, 0.029317300766706467, 0.06460151821374893, 0.0162834320217371, 0.0634298324584961, -0.125236377120018, 0.005767149850726128, 0.0768105760216713, 0.04275404289364815, 0.01718263141810894, -0.003904780140146613, 0.016732875257730484, 0.06667521595954895, -0.10942932963371277, 0.02077898196876049, 0.015950534492731094, -0.15909422934055328, 0.01404549553990364, -0.01107195857912302, -0.03053625300526619, -0.03422579914331436, -0.011650562286376953, 0.02178708091378212, -0.11131639033555984, 0.0008847088320180774, 0.0038281939923763275, -0.07202141731977463, 0.037038031965494156, 0.012249451130628586, -0.1373690813779831, 0.011063017882406712, 0.016357997432351112, -0.04720208793878555, -0.047434091567993164, 0.06965408474206924, 0.010570703074336052, -0.006347839254885912, 0.00770700303837657, -0.02585987187922001, -0.05532822757959366, 0.02371806651353836, 0.06510282307863235, 0.0526544488966465, -0.016305964440107346, 0.029495317488908768, -0.023960184305906296, 0.028151975944638252, 0.03909788653254509, 0.029493063688278198, 0.011485788971185684, 0.010481424629688263, 0.03688792884349823, -0.027127442881464958, -0.024242019280791283, -0.01679813675582409, 0.017096899449825287, 0.00040160806383937597, -0.010399939492344856, 0.009253911674022675, 0.04110049456357956, -0.06515578925609589, 0.03470141813158989, 0.059068478643894196, 0.002071054419502616, -0.06031962111592293, -0.03225155174732208, -0.014620083384215832, -0.05062719061970711, 0.08199594169855118, 0.01414897758513689, -0.03315230831503868, -0.02089821733534336, -0.03913424536585808, -0.06756561994552612, 0.0532192625105381, 0.024581585079431534, 0.036190215498209, -0.02354593761265278, -0.043435126543045044, 0.011678704060614109, 0.07860761135816574, -0.010731630027294159, -0.03643850237131119, -0.00983070395886898, -0.012627526186406612, -0.06397785991430283, -0.009463357739150524, 0.02988642081618309, 0.01299053244292736, 0.06376007199287415, -0.03342949226498604, 0.06562352180480957, 0.06445369124412537, 0.004441944882273674, -0.027614843100309372, 0.001003084471449256, -0.0383579283952713, 0.07710964977741241, -0.023494133725762367, 0.043833766132593155, 0.06007599085569382, 0.06083386391401291, 0.06676308810710907, 0.05082590505480766, 0.07741494476795197, -0.010488403029739857, -0.02073591761291027, -0.04888902232050896, -0.020584015175700188, 0.0237122755497694, -0.03884406387805939, 0.009506585076451302, -0.01869823783636093, -0.007548615802079439, -0.05575834587216377, -0.08025889843702316, 0.043815888464450836, 0.05603518709540367, -0.007103341165930033, -0.022476816549897194, -0.04302472993731499, -0.06480207294225693, 0.07291346788406372, 0.0855763629078865, 0.06996040046215057, 0.026021165773272514, -0.011579946614801884, -0.031451426446437836, 0.07492644339799881, 0.0025050463154911995, 0.022341154515743256, -0.02384410984814167, -0.04665457457304001, -0.042921461164951324, -0.07506027072668076, 0.010462319478392601, -0.023620029911398888, 0.012867450714111328, -0.07649094611406326, 0.015670262277126312, -0.0701417550444603, 0.03767824172973633, 0.03389054164290428, 0.014954984188079834, -0.06920097768306732, 0.09689459204673767, -0.046541035175323486, 0.005224041175097227, 0.02523244358599186, -0.0012131641851738095, 0.054227765649557114, -0.011189808137714863, 0.0484735406935215, 0.05152285099029541, -0.07969018816947937, -0.010089834220707417, -0.07722196727991104, 0.012582658790051937, 0.0038160497788339853, -0.040456198155879974, -0.03086693212389946, 0.07413354516029358, 0.018611431121826172, 0.012971748597919941, -0.04562138766050339, -0.03238540515303612, -0.03349795565009117, 0.05139182507991791, 0.0583915188908577, -0.02683085761964321, -0.030986012890934944, 0.04628343880176544, 0.025618914514780045, -0.0071095991879701614, 0.04293942078948021, -0.052133794873952866, 0.02185642346739769, -0.041721779853105545, 0.0035781152546405792, 0.034834325313568115, 0.0016832672990858555, 0.018156500533223152, -0.002653219038620591, -0.009925143793225288, 0.011785611510276794, 0.00784635916352272, -0.008195326663553715, 0.06779104471206665, -0.044821929186582565, 0.04310470446944237, -0.00739755155518651, -0.031008193269371986, 0.04049312323331833, 0.024004243314266205, 0.014035885222256184, -0.00856908317655325, -0.021094702184200287, 0.005549354944378138, -0.037241362035274506, 0.008248311467468739, -0.01402816828340292, 0.012217409908771515, -0.0566745363175869, -0.016876019537448883, -0.042499419301748276, -0.04803198203444481, -0.010087898001074791, 0.05172363668680191, 0.00010563137766439468, -0.03506765514612198, -0.004853012040257454, 0.02464388683438301, -0.009799820370972157, -0.01050108764320612, 0.027896614745259285, 0.002285085152834654, 0.017314326018095016, -0.026780718937516212, -0.033970821648836136, 0.03905406966805458, -0.04188888147473335, -0.024739734828472137, -0.020141063258051872, -0.006586392410099506, -0.0015194604638963938, 0.024634798988699913, 0.009907100349664688, -0.007863333448767662, -0.019678359851241112, -0.006119757425040007, -0.003951974678784609, -0.01123240776360035, 0.028792303055524826, -0.09546060115098953, 0.004424059297889471, -0.004911984782665968, 0.007497457321733236, -0.02751660905778408, -0.012828685343265533, 0.009152240119874477, -0.019955014809966087, -0.011159934103488922, -0.02192891202867031, 0.006158302538096905, 0.028379643335938454, 0.03775002807378769, -0.023285970091819763, 0.02380545623600483, 0.016225332394242287, -0.003277677344158292, -0.027515491470694542, -0.052394770085811615, -0.00010822228068718687, 0.020632904022932053, 0.0543508306145668, -0.0012393285287544131, 0.0053655169904232025, 0.02351597510278225, 0.00011254868877585977, -0.02773517370223999, 0.04962662607431412, 0.01894485391676426, -0.03683847188949585, 0.012576768174767494, 0.02447577193379402, -0.03399854525923729, -0.005311787594109774, -0.03138454630970955, -0.012676842510700226, 0.015094994567334652, 0.030390644446015358, 0.02296457625925541, 0.03688307851552963, -0.033381082117557526, 0.018003413453698158, -0.009228241629898548, 0.01908062770962715, -0.020554937422275543, -0.039344653487205505, -0.007495143450796604, -0.01561920065432787, 0.035479836165905, -0.06046803668141365, -0.026535097509622574, -0.011853927746415138, -0.03170151636004448, 0.040632687509059906, 0.033657196909189224, 0.016683414578437805, 0.03989668935537338, -0.0014437647769227624, 0.013669864274561405, -0.02309657819569111, -0.021094316616654396, 0.008900768123567104, -0.03934279829263687, -0.03331596031785011, 0.03298056870698929, 0.0030617541633546352, 0.039730511605739594, 0.03923963010311127, -0.015115337446331978, 0.0383676141500473, 0.007296750321984291, -0.0410616435110569, 0.024384554475545883, 0.000042996583943022415, -0.0206492617726326, 0.05320832505822182, -0.08525241911411285, -0.033904414623975754, 0.058009110391139984, 0.030430790036916733, -0.03579796478152275, -0.008641742169857025, -0.060154955834150314, -0.032017551362514496, -0.041244350373744965, -0.0070734210312366486, 0.04482094570994377, -0.040673960000276566, 0.006838296540081501, 0.03854403272271156, 0.008981355465948582, -0.025246068835258484, 0.076671302318573, 0.004155745264142752, -0.008960179053246975, 0.008204232901334763, 0.021989647299051285, -0.03849346935749054, -0.022977979853749275, -0.007274250499904156, 0.012101825326681137, -0.014234159141778946, -0.011090441606938839, 0.03440331295132637, 0.011557846330106258, 0.0023555911611765623, -0.05834738537669182, -0.016215406358242035, 0.054554298520088196, 0.08672746270895004, -0.014778830111026764, -0.023210743442177773, -0.013355479575693607, -0.029472025111317635, 0.003843113547191024, -0.019259966909885406, -0.008812706917524338, -0.0058561102487146854, -0.04396325349807739, -0.009817177429795265, -0.09706909954547882, 0.024650536477565765, 0.01527994591742754, 0.01630205474793911, 0.008483062498271465, 0.04446146637201309, -0.006403799634426832, -0.004854599945247173, -0.02281203120946884, -0.0060640196315944195, -0.02168174646794796, 0.019308606162667274, 0.015982873737812042, 0.03384159877896309, 0.007049281615763903, 0.0195391234010458, -0.021963495761156082, 0.020109038800001144, -0.005683037452399731, -0.04031087085604668, 0.008340892381966114, -0.03418228402733803, 0.019045306369662285, -0.016981862485408783, 0.014252251945436, -0.00664603291079402, 0.005045881029218435, 0.0005356960464268923, -0.010681476444005966, 0.001669292920269072, 0.05061032250523567, 0.015310937538743019, -0.0252778809517622, -0.01917932741343975, 0.0016955352621152997, -0.021366754546761513, -0.05355948209762573, 0.006481129210442305, -0.027560170739889145, 0.022770537063479424, -0.004790659993886948, -0.014300968497991562, -0.022129099816083908, 0.0338544063270092, 0.007444312795996666, 0.011961305513978004, 0.0009474782855249941, -0.019417939707636833, 0.015824507921934128, 0.0034931194968521595, 0.021160980686545372, -0.028126897290349007, -0.0028491264674812555, 0.01233596634119749, 0.040180034935474396, -0.022577259689569473, -0.008709392510354519, 0.026171164587140083, -0.011002504266798496, 0.044307950884103775, 0.00949846301227808, 0.008870318531990051, 0.030066121369600296, 0.011005985550582409, 0.015769196674227715, 0.04662833362817764, 0.027492200955748558, 0.015608053654432297, -0.007605445571243763, 0.0306309312582016, 0.016149496659636497, 0.026965437456965446, 0.004489658400416374, -0.04761318117380142, 0.04536762833595276, 0.0006058248691260815, 0.003212261013686657, -0.01206081360578537, -0.02970871888101101, 0.027927471324801445, 0.026042906567454338, 0.016779616475105286, -0.009157795459032059, -0.015232509933412075, 0.017796387895941734, -0.028246749192476273, 0.0555376335978508, -0.04008414223790169, -0.004928995855152607, -0.04865577071905136, -0.018496528267860413, 0.003203432308509946, 0.0061158244498074055, 0.007082153577357531, -0.04011879116296768, -0.03547632321715355, -0.02481277473270893, 0.016160840168595314, -0.01051370520144701, 0.04516539350152016, 0.008429077453911304, 0.027377409860491753, 0.006473754066973925, 0.020463384687900543, 0.03349969536066055, -0.030770573765039444, -0.02401656098663807, 0.0010145421838387847, -0.018918629735708237, -0.025089750066399574, 0.06987281888723373, -0.05178426206111908, 0.012984995730221272, 0.031083844602108, 0.0073384190909564495, 0.024121183902025223, -0.06099038943648338, 0.00829565804451704, 0.07743386924266815, -0.0033549265936017036, 0.01893301121890545, -0.023205198347568512, -0.038057342171669006, 0.014725558459758759, -0.007200902793556452, 0.02911856211721897, 0.06925354897975922, 0.047836802899837494, -0.031715672463178635, 0.040242716670036316, 0.032052844762802124, -0.02233387716114521, -0.02857571840286255, -0.007892293855547905, 0.019784050062298775, 0.016210690140724182, 0.028856053948402405, 0.0029650519136339426, 0.0022186862770467997, -0.025757556781172752, 0.05638699233531952, -0.019422486424446106, 0.05418732017278671, 0.026273827999830246, -0.03633224591612816, -0.0038754914421588182, 0.030270621180534363, -0.042412422597408295, -0.04203908145427704, 0.056978996843099594, 0.0003013216482941061, 0.013230773620307446, 0.03918620944023132, -0.007086080498993397, -0.03918277099728584, 0.004224718082696199, 0.03148038685321808, 0.038859497755765915, -0.010003341361880302, 0.024339988827705383, -0.018217064440250397, 0.008243540301918983, 0.016014687716960907, 0.004270690027624369, -0.02459031529724598, 0.022760719060897827, 0.03707452863454819, -0.01715146191418171, 0.06023946404457092, -0.02458728663623333, -0.005318825598806143, -0.045911211520433426, -0.0012734381016343832, -0.006798800081014633, -0.011191335506737232, 0.018269073218107224, 0.0032598120160400867, -0.012435524724423885, -0.041508279740810394, -0.007287947926670313, 0.022012438625097275, 0.0038370275869965553, 0.003952971659600735, -0.024966325610876083, 0.015225240960717201, -0.007143422495573759, -0.006263575982302427, 0.003550000488758087, 0.011619792319834232, 0.02344801463186741, 0.01562543399631977, 0.03913365676999092, -0.0024108190555125475, -0.016210410743951797, 0.0052926549687981606, 0.0022275352384895086, -0.017071174457669258, -0.052978407591581345, 0.031267475336790085, 0.017320113256573677, 0.04032105579972267, -0.0019989372231066227, 0.039036158472299576, 0.028725234791636467, -0.027432195842266083, 0.060772284865379333, -0.012689870782196522, -0.025218084454536438, 0.030815280973911285, -0.05245194584131241, -0.007693843450397253, 0.014047777280211449, 0.018046364188194275, -0.0241551473736763, -0.02622583694756031, -0.029698895290493965, 0.045124877244234085, 0.023287810385227203, -0.040897730737924576, -0.030751928687095642, 0.0023092105984687805, -0.006882286164909601, 0.01790926419198513, -0.04158797860145569, -0.050333742052316666, -0.03989756852388382, 0.05754159763455391, 0.003466147230938077, -0.029539942741394043, 0.044911254197359085, 0.005797293037176132, 0.0030027080792933702, 0.010457979515194893, 0.005538249388337135, -0.004513240419328213, -0.0011293996358290315, 0.037699609994888306, -0.00749474810436368, -0.034977976232767105, 0.0277146864682436, 0.02033662050962448, 0.00722808251157403, 0.04231161251664162, -0.009253696538507938, 0.02320464700460434, 0.03614843636751175, -0.024728309363126755, -0.03328341618180275, -0.0208168663084507, 0.03551628440618515, -0.04039400815963745, 0.009800637140870094, 0.005397396627813578, -0.028618143871426582, -0.03852175176143646, -0.01396371703594923, 0.032293323427438736, -0.010475506074726582, -0.018335945904254913, 0.007773212622851133, 0.007778460625559092, 0.0041187964379787445, 0.0020929216407239437, 0.030574871227145195, 0.025345362722873688, 0.009308338165283203, -0.019166866317391396, 0.054540641605854034, -0.007213126868009567, 0.022204510867595673, -0.018203113228082657, -0.06266289949417114, -0.065029077231884, -0.014625323936343193, 0.016548987478017807, 0.058128975331783295, -0.05106135457754135, 0.03212372586131096, -0.014834634959697723, 0.030088091269135475, -0.02484600991010666, -0.02489502541720867, 0.03898262232542038, 0.017599044367671013, 0.02505490370094776, 0.03214717283844948, 0.0001961179223144427, 0.000495761982165277, -0.015134595334529877, 0.012898490764200687, 0.016391359269618988, 0.027498135343194008, 0.002052856842055917, -0.019765088334679604, -0.044052526354789734, -0.04641047120094299, -0.029866265133023262, 0.005354791413992643, 0.04691527411341667, -0.04745541140437126, 0.006218450143933296, 0.014505651779472828, -0.019154835492372513, -0.008144027553498745, 0.01199447549879551, -0.003644478740170598, 0.006597709842026234, -0.020715363323688507, 0.023885373026132584, -0.04156488925218582, -0.009544492699205875, 0.006847660522907972, 0.00945171806961298, 0.01290102954953909, 0.06800611317157745, 0.028677666559815407, 0.0018471782095730305, -0.006255191285163164, 0.0272204652428627, 0.004333910997956991, -0.026328787207603455, 0.007438994012773037, -0.024040672928094864, 0.07634866237640381, -0.023780658841133118, 0.01211942546069622, 0.04608607292175293, 0.022177264094352722, 0.011629877611994743, -0.003722815541550517, 0.025419801473617554, 0.010912563651800156, 0.016476178541779518, 0.005825019907206297, 0.009388873353600502, 0.03635333850979805, 0.04192034527659416, -0.020243452861905098, 0.00020318874157965183, -0.018806112930178642 ]
Introducing Agents.js: Give tools to your LLMs using JavaScript
nsarrazin
July 24, 2023
agents-js
agents, javascript, web
https://huggingface.co/blog/agents-js
# Introducing Agents.js: Give tools to your LLMs using JavaScript We have recently been working on Agents.js at huggingface.js. It's a new library for giving tool access to LLMs from JavaScript in either the browser or the server. It ships with a few multi-modal tools out of the box and can easily be extended with your own tools and language models.
[ 0.020678235217928886, 0.015314859338104725, 0.1042308583855629, -0.07079053670167923, 0.08391889184713364, -0.01922403648495674, -0.002793289953842759, 0.03027527965605259, 0.048065170645713806, 0.0036203060299158096, -0.05942327156662941, 0.04355314001441002, -0.03151997551321983, 0.0745689794421196, 0.05368221178650856, -0.02188718132674694, -0.05189868435263634, -0.016900962218642235, -0.04244022071361542, -0.008067513816058636, 0.012410720810294151, -0.03966841846704483, 0.04329976066946983, -0.11628381907939911, -0.004363975487649441, 0.015398847870528698, -0.040563881397247314, 0.05320858582854271, -0.02952696569263935, 0.028489429503679276, 0.011283938772976398, -0.03089233487844467, -0.07328625023365021, -0.0583239383995533, 0.012297110632061958, 0.04735377058386803, -0.18114352226257324, 0.02736307866871357, -0.01688479259610176, -0.05099610239267349, 0.023674948140978813, -0.06522156298160553, -0.045053329318761826, 0.04471844062209129, -0.08290888369083405, -0.0035993170458823442, -0.13713103532791138, 0.0533154122531414, -0.010895704850554466, 0.007891307584941387, -0.026775263249874115, 0.06553906947374344, 0.029673343524336815, -0.013486153446137905, -0.028635721653699875, -0.04018733650445938, 0.03942083939909935, -0.06886593997478485, -0.0003766153531614691, 0.03308667615056038, 0.010578369721770287, -0.005059530958533287, 0.013418305665254593, 0.06141868978738785, 0.014116205275058746, 0.047304023057222366, 0.047154586762189865, -0.049554526805877686, -0.012531150132417679, -0.030648378655314445, 0.11081194132566452, 0.038581736385822296, -0.06698474287986755, -0.027666855603456497, 0.08676529675722122, -0.01953781023621559, -0.05606529489159584, 0.013509669341146946, 0.032415397465229034, 0.08230266720056534, -0.005909827072173357, 0.01615225151181221, 0.07321525365114212, 0.06553695350885391, 0.01448876690119505, 0.07651727646589279, 0.013901758007705212, -0.054819248616695404, -0.04317035526037216, -0.003528621746227145, -0.00670426432043314, -0.12609127163887024, -0.055240482091903687, 0.0029101581312716007, 0.15460968017578125, 0.02357310615479946, 0.005630617029964924, 0.02239631488919258, 0.00532167311757803, 0.008002843707799911, -0.030169671401381493, -0.011324881576001644, 0.0059537277556955814, -0.030025314539670944, -0.0329936221241951, 0.03511001169681549, -0.03368156775832176, -0.04938892275094986, -0.025411022827029228, -0.04197375848889351, 0.010305477306246758, -0.03128676861524582, 0.03935399651527405, 0.03385850414633751, -0.024690549820661545, 0.012393948622047901, 0.01937982626259327, 0.05605338141322136, 0.01664106175303459, 0.06450910121202469, -0.0044140261597931385, 0.07672078162431717, 0.0694601833820343, 0.052276141941547394, 0.03556414321064949, 0.04152043163776398, -0.012138423509895802, -0.025343041867017746, 0.06131428852677345, -0.021989133208990097, 0.049330707639455795, -0.02273445948958397, 0.05676699057221413, 0.044416893273591995, 0.02521173097193241, -0.0341954305768013, 0.009480567649006844, -0.07798632234334946, 0.05263389274477959, 0.05858943238854408, -0.03610021993517876, 0.029206302016973495, 0.01279720664024353, -0.017127495259046555, 0.07070910930633545, 0.013897653669118881, -0.06075063720345497, 0.0642765462398529, -0.04927508905529976, 0.05210033059120178, -0.03142639249563217, 0.007473369594663382, 0.01373894140124321, 0.05937216058373451, -0.02390691451728344, 0.05891982093453407, 0.020492196083068848, 0.002211469691246748, -0.0044391159899532795, 0.014351654797792435, -0.03614654019474983, 0.042537540197372437, -0.05980207026004791, 0.024391133338212967, 0.038040727376937866, 0.01969173550605774, -0.011414799839258194, 0.052212730050086975, 0.06305114924907684, 0.01911144331097603, 0.00790678896009922, 0.012894744984805584, -0.003976408392190933, -0.060812581330537796, 0.07021436095237732, 0.03621558099985123, 0.04436280205845833, 0.014482435770332813, 0.06686803698539734, 0.03885402902960777, -0.0070319450460374355, 0.05435701832175255, 0.033919017761945724, -0.010084196925163269, -0.0017587968613952398, -0.06933414191007614, 0.029871605336666107, -0.0909288078546524, 0.002111637033522129, -0.041238054633140564, -0.02842044271528721, 0.022076677531003952, 0.02967243827879429, -0.04437388852238655, 0.01064978912472725, 0.05922359228134155, -0.025655947625637054, 0.11955999583005905, 0.06955371797084808, 0.08398416638374329, 0.040854040533304214, -0.0019532619044184685, 0.017163468524813652, -0.030276911333203316, 0.0171195175498724, 0.04192354530096054, 0.05487215146422386, -0.010174882598221302, 0.006568461190909147, 0.03735894337296486, 0.03454309701919556, -0.05832236260175705, 0.012851813808083534, -0.003961803391575813, -0.0067093209363520145, -0.0013973797904327512, -0.045641545206308365, 0.004166786093264818, 0.01039569079875946, -0.004612364806234837, 0.17443285882472992, -0.0720425620675087, -0.015596208162605762, -0.06467670202255249, -0.03353876620531082, 0.0703253373503685, 0.06161482259631157, 0.021428456529974937, 0.0706050768494606, -0.0693773627281189, -0.008682982064783573, -0.02868151105940342, 0.02294754609465599, -0.021638238802552223, -0.024854427203536034, 0.0017435008194297552, 0.0429430715739727, -0.02627771906554699, 0.01980610378086567, -0.011203529313206673, 0.028785569593310356, -0.03807884454727173, 0.013504988513886929, 0.05847974121570587, 0.01650824584066868, 0.0234953872859478, 0.056887608021497726, 0.017374368384480476, 0.030919915065169334, 0.052508432418107986, -0.04955960810184479, 0.012849914841353893, 0.0216372050344944, -0.03187849745154381, 0.014393007382750511, 0.024386387318372726, -0.017756497487425804, 0.0014521644916385412, -0.054041385650634766, 0.05679712072014809, -0.012565170414745808, -0.002139623276889324, -0.016548149287700653, -0.01850571110844612, -0.027277298271656036, -0.03991997241973877, 0.00699635548517108, -0.01803566887974739, -0.011296146549284458, 0.020389173179864883, 0.0690603256225586, -0.03660167381167412, 0.04455726966261864, -0.03285305202007294, 0.02368544228374958, 0.035124845802783966, 0.0255074892193079, -0.03610698878765106, -0.04220195859670639, -0.026323603466153145, -0.019000165164470673, -0.004649015609174967, 0.08203010261058807, 0.017466552555561066, -0.014596771448850632, -0.03547947108745575, -0.04801597446203232, -0.03396105766296387, 0.00554805900901556, 0.007656457368284464, 0.015682075172662735, 0.02915208227932453, 0.0025138321798294783, 0.017186252400279045, -0.03678009286522865, -0.053599536418914795, 0.02974149025976658, 0.00440564239397645, -0.028737854212522507, 0.023371264338493347, -0.015923824161291122, -0.018367404118180275, -0.006472610402852297, -0.006997859571129084, -0.007454242091625929, 0.013761076144874096, 0.004428180865943432, -0.0063486103899776936, -0.08739116787910461, -0.052689872682094574, -0.022155271843075752, 0.006602443289011717, 0.02255392074584961, -0.03917696326971054, 0.03668752685189247, -0.04162690415978432, 0.006389420945197344, 0.0018872324144467711, 0.009103384800255299, -0.00011241725587751716, 0.03209890052676201, -0.0025763341691344976, -0.0531182661652565, -0.042140573263168335, -0.06881402432918549, 0.027602283284068108, 0.03354636952280998, -0.005557679571211338, -0.016195615753531456, 0.07494218647480011, 0.005794799420982599, -0.04750681668519974, 0.026710733771324158, -0.038025714457035065, 0.04335770010948181, -0.02266179770231247, 0.0036477476824074984, 0.00038645602762699127, 0.013733570463955402, 0.0022732773795723915, -0.016190141439437866, -0.021989060565829277, -0.09866990149021149, 0.004105922766029835, 0.054905932396650314, -0.021386289969086647, 0.02802213840186596, -0.007832974195480347, 0.02483372576534748, -0.013935509137809277, 0.027409635484218597, -0.026130955666303635, 0.005348298233002424, -0.029107550159096718, -0.03391677886247635, 0.014919836074113846, 0.035748086869716644, -0.03402143344283104, -0.00358866760507226, 0.014030096121132374, 0.0066057550720870495, 0.011762555688619614, 0.00506897596642375, -0.03555293753743172, -0.0021198205649852753, -0.004976993892341852, -0.022305980324745178, 0.013086474500596523, -0.05638201907277107, -0.029315993189811707, -0.02692122757434845, 0.0073403832502663136, -0.04611488804221153, 0.05009543523192406, 0.0415690615773201, -0.01682443730533123, 0.01602299138903618, 0.03014252707362175, 0.03262471407651901, 0.03943576663732529, -0.013535809703171253, 0.0071860612370073795, -0.024999847635626793, -0.010048583149909973, 0.010685847140848637, -0.0351596400141716, 0.06379836797714233, -0.0050966874696314335, 0.018390923738479614, -0.0037097991444170475, -0.013560311868786812, -0.02123558148741722, 0.012926723808050156, -0.04351256042718887, 0.025227157399058342, 0.015015103854238987, -0.012157292105257511, -0.0035642876755446196, -0.005410377401858568, -0.04317541420459747, 0.013962791301310062, -0.008391094394028187, 0.008595285937190056, 0.05560968816280365, 0.011371223255991936, -0.012547997757792473, -0.0065168775618076324, 0.012135416269302368, 0.006008092779666185, -0.048355188220739365, 0.006709564942866564, -0.0028004981577396393, -0.003181109204888344, 0.012932630255818367, -0.02061854675412178, 0.012638475745916367, 0.07004408538341522, 0.004366202279925346, -0.010826070792973042, -0.03339632973074913, 0.024772213771939278, 0.015244708396494389, -0.020971665158867836, 0.021882314234972, -0.04041740298271179, 0.012781479395925999, -0.0298319011926651, 0.002512696199119091, -0.06871451437473297, 0.008365579880774021, 0.013434688560664654, 0.03807911276817322, 0.004842496942728758, -0.022926298901438713, 0.004133422859013081, -0.006495053414255381, 0.02282450720667839, 0.016955573111772537, -0.06481923907995224, -0.00023336708545684814, 0.047085389494895935, 0.01688588783144951, 0.01704075001180172, -0.0008514758665114641, -0.04701894521713257, 0.039406903088092804, 0.010814511217176914, -0.031148428097367287, -0.02098909579217434, 0.019596150144934654, 0.03617610037326813, -0.05407726764678955, 0.015747100114822388, -0.004112952388823032, -0.015273729339241982, -0.0014847038546577096, 0.012844783253967762, 0.02923152595758438, 0.008876592852175236, -0.030460530892014503, -0.006802494637668133, 0.006498036440461874, 0.03816135600209236, -0.021614933386445045, -0.009409461170434952, 0.026221634820103645, 0.044097140431404114, 0.037839893251657486, -0.0009861694416031241, 0.004337437450885773, -0.039899371564388275, -0.00120360788423568, 0.011822104454040527, -0.025058584287762642, -0.020663494244217873, -0.050884976983070374, -0.00772522110491991, 0.0136364521458745, 0.01038284320384264, 0.04617002233862877, 0.01859278231859207, -0.005642761010676622, -0.0615638867020607, 0.00704940315335989, 0.024412281811237335, -0.007841171696782112, -0.0305392537266016, -0.02510569803416729, -0.01949569210410118, -0.03978744149208069, 0.015223809517920017, -0.03545667976140976, -0.003762276144698262, -0.023851856589317322, 0.05877732113003731, 0.03428460285067558, -0.015605558641254902, -0.01725759170949459, -0.05026612430810928, -0.006944685243070126, -0.026441944763064384, -0.06213533133268356, 0.01161703746765852, -0.06079592555761337, -0.01437616441398859, 0.00031645584385842085, 0.016202710568904877, -0.0357317179441452, 0.023893019184470177, -0.0002550148346927017, -0.0003404596645850688, -0.01974870078265667, -0.029847975820302963, -0.019244085997343063, -0.007508050184696913, -0.04120131582021713, -0.016620082780718803, -0.02138780988752842, -0.01910039223730564, -0.05400622636079788, 0.03326275944709778, -0.007571135647594929, -0.009851624257862568, -0.018651744350790977, 0.008724928833544254, -0.012311294674873352, 0.005343656521290541, 0.049374859780073166, -0.007658584509044886, 0.008997371420264244, -0.017908288165926933, 0.008060816675424576, 0.05470677837729454, -0.04380590096116066, -0.012784382328391075, 0.05576937645673752, 0.02201816253364086, 0.038045648485422134, 0.08200587332248688, -0.018520399928092957, 0.033083755522966385, 0.04051428288221359, -0.013052055612206459, 0.03221489489078522, -0.05632124841213226, 0.022868942469358444, 0.04276231303811073, -0.024963989853858948, 0.009257149882614613, -0.03966879844665527, -0.03796828165650368, -0.02003687061369419, -0.013639654032886028, 0.011345090344548225, 0.048322807997465134, -0.0061371466144919395, 0.02517147921025753, 0.014061319641768932, -0.030578048899769783, 0.02671993523836136, -0.01452883705496788, 0.0037965273950248957, 0.02801230549812317, 0.025403166189789772, 0.0467827133834362, -0.00636363634839654, -0.02509997971355915, -0.024001676589250565, -0.0018345208372920752, -0.06024288013577461, -0.00010678890976123512, 0.00414159893989563, -0.00938184093683958, 0.010378907434642315, -0.004915542900562286, -0.05227655544877052, -0.02448570542037487, 0.015087248757481575, -0.03951568901538849, 0.01403120718896389, -0.022979753091931343, 0.002503426047042012, 0.013234197162091732, -0.048970647156238556, 0.025214867666363716, 0.02904052473604679, 0.008360637351870537, 0.052882686257362366, -0.016320079565048218, 0.02533872239291668, 0.028485558927059174, 0.014631041325628757, 0.012144132517278194, 0.006073187105357647, 0.04531773924827576, 0.002597085665911436, 0.045438166707754135, 0.018027452751994133, -0.01645229198038578, -0.028161166235804558, -0.014652445912361145, -0.027019444853067398, -0.05179794877767563, 0.015154648572206497, -0.000626587076112628, -0.024381209164857864, -0.03387639671564102, 0.0006647785776294768, 0.02548891119658947, 0.007224349305033684, 0.05348653718829155, -0.02760104462504387, -0.005219829268753529, 0.004131857305765152, 0.007863940671086311, 0.04181893914937973, 0.021947843953967094, -0.001061627408489585, -0.039893556386232376, 0.06961241364479065, 0.02425391785800457, 0.02724151313304901, 0.006829763296991587, 0.01660826802253723, 0.020956892520189285, -0.035852983593940735, 0.002288408810272813, -0.012149590998888016, -0.02183215320110321, -0.0013675905065611005, -0.010015720501542091, -0.030672255903482437, -0.030395960435271263, -0.0005662550684064627, 0.020729631185531616, 0.02455954998731613, -0.002672795206308365, -0.03812062740325928, 0.01057114265859127, -0.0010360154556110501, -0.001180365914478898, -0.014193827286362648, 0.00046725725405849516, -0.007574850227683783, 0.015532250516116619, 0.01845063827931881, -0.006544329226016998, -0.01631527580320835, -0.029726170003414154, -0.011593508534133434, 0.007860848680138588, 0.036263544112443924, 0.03362702205777168, -0.024310722947120667, 0.019868655130267143, 0.030720965936779976, 0.017794745042920113, 0.012686967849731445, 0.042763881385326385, 0.014966323040425777, -0.0376138873398304, -0.012144925072789192, -0.018900521099567413, -0.037502389401197433, -0.008681192062795162, -0.03908827528357506, 0.012867867946624756, 0.0025545679964125156, 0.00042660729377530515, -0.0029292553663253784, 0.04734724014997482, -0.00026139026158489287, 0.009446117095649242, -0.005781402345746756, 0.026388725265860558, -0.027924150228500366, 0.04569575563073158, -0.02056005969643593, -0.028196077793836594, 0.007974754087626934, -0.02317466028034687, 0.015170438215136528, 0.007276836782693863, 0.023607762530446053, 0.04807388409972191, 0.05449863150715828, -0.028893496841192245, 0.012889839708805084, 0.03575720638036728, -0.0041502127423882484, 0.008699581027030945, 0.006568745709955692, 0.023895973339676857, -0.0017718970775604248, -0.03749337047338486, 0.048165805637836456, -0.015009269118309021, 0.028163842856884003, 0.00035265565384179354, -0.04083182290196419, -0.026624448597431183, -0.010238354094326496, 0.012848582118749619, 0.03696804121136665, -0.038740865886211395, 0.029796667397022247, -0.008543961681425571, -0.04138745367527008, -0.052182387560606, 0.023106010630726814, 0.054698262363672256, -0.023605389520525932, -0.006035779137164354, -0.012530088424682617, -0.03774344176054001, 0.02352839894592762, 0.01611323468387127, 0.00448110094293952, 0.012182510457932949, -0.021880650892853737, -0.021564414724707603, -0.012468799017369747, -0.0030256963800638914, -0.0008909989846870303, -0.03958190977573395, 0.011264578439295292, -0.0006296464707702398, -0.021584846079349518, -0.044733211398124695, 0.043079257011413574, -0.003643652191385627, -0.027277812361717224, 0.00312896934337914, -0.018397564068436623, -0.008972406387329102, -0.03114081174135208, 0.0022338521666824818, -0.046921998262405396, 0.027940796688199043, 0.016091929748654366, -0.020192673429846764, 0.028482215479016304, -0.013425052165985107, 0.014623157680034637, -0.01934691332280636, 0.024456288665533066, 0.0006169071421027184, -0.006238638889044523, -0.02902754209935665, -0.02120574750006199, -0.04794417321681976, -0.0024421398993581533, -0.03572659566998482, -0.029878893867135048, 0.01778413914144039, -0.05379599332809448, -0.016393303871154785, -0.037306685000658035, 0.004640481434762478, -0.027199847623705864, 0.02949066460132599, 0.02394474670290947, -0.05936858057975769, -0.0021591505501419306, -0.03915812075138092, -0.03456650674343109, -0.051751524209976196, -0.025677384808659554 ]
Introducing Agents.js: Give tools to your LLMs using JavaScript
nsarrazin
July 24, 2023
agents-js
agents, javascript, web
https://huggingface.co/blog/agents-js
Usage warning Currently using this library will mean evaluating arbitrary code in the browser (or in Node). This is a security risk and should not be done in an untrusted environment. We recommend that you use generateCode and evaluateCode instead of run in order to check what code you are running.
[ 0.06632941961288452, 0.03516089916229248, 0.06823259592056274, -0.021094664931297302, 0.07265148311853409, -0.0394788533449173, 0.042192015796899796, -0.0024649021215736866, -0.036968424916267395, -0.06636170297861099, -0.04987861588597298, -0.03293215110898018, -0.06075189262628555, 0.029438186436891556, 0.057533446699380875, -0.0032229418866336346, 0.09165917336940765, 0.003593014320358634, -0.0026087514124810696, -0.004616701975464821, -0.03245285525918007, -0.05351243540644646, 0.028301354497671127, -0.05761115625500679, -0.04454145208001137, -0.020588070154190063, 0.03078271821141243, -0.007422728464007378, -0.11355368793010712, -0.010117076337337494, -0.09475958347320557, 0.00848263781517744, -0.02490794099867344, -0.08350637555122375, -0.045750297605991364, 0.031704049557447433, -0.09715745598077774, 0.013929874636232853, -0.024316908791661263, 0.002936829114332795, -0.03810810297727585, -0.0973358154296875, -0.021237831562757492, 0.03690053150057793, -0.021661121398210526, -0.022741634398698807, -0.23123231530189514, 0.07150637358427048, -0.07609385997056961, 0.04089614003896713, -0.05527155101299286, 0.06284941732883453, -0.03208964690566063, -0.027774425223469734, 0.014304641634225845, -0.02004513330757618, -0.00873667374253273, -0.06324648857116699, 0.028938744217157364, -0.018374767154455185, 0.026551784947514534, -0.03858261555433273, -0.034657515585422516, 0.03119792602956295, 0.04519098624587059, -0.010376345366239548, 0.0441046878695488, 0.05617149919271469, -0.08736249804496765, -0.04800999164581299, 0.00427718460559845, 0.04479582980275154, -0.0674981027841568, -0.04475077614188194, 0.04483833536505699, -0.013170495629310608, -0.04139625281095505, 0.04145774990320206, 0.04341491311788559, 0.06795334815979004, 0.05813494697213173, 0.05231922119855881, 0.061384692788124084, 0.024543194100260735, 0.015015755780041218, 0.025969594717025757, -0.00865277647972107, 0.00115512206684798, -0.0015679484931752086, 0.013160145841538906, 0.03437092900276184, -0.1078362762928009, -0.0000028321796889940742, 0.011073702946305275, 0.027216922491788864, -0.0247464831918478, -0.013390358537435532, 0.00698951305821538, -0.0058865854516625404, 0.026450611650943756, -0.04140814021229744, -0.007458209991455078, 0.02673937752842903, -0.056236475706100464, 0.012587103061378002, 0.03662264347076416, -0.01635666750371456, -0.028724409639835358, -0.015933070331811905, -0.00032099647796712816, 0.027693962678313255, 0.07697658985853195, -0.00517153088003397, 0.009571710601449013, -0.020052284002304077, 0.03185836970806122, -0.005488538183271885, 0.04276978597044945, -0.002009982243180275, 0.02068323642015457, 0.05467578023672104, 0.06486654281616211, 0.027687743306159973, 0.06783443689346313, 0.04865998774766922, 0.07365751266479492, 0.05245858430862427, 0.030985048040747643, -0.02472076751291752, -0.05185505747795105, 0.05246296897530556, 0.08971941471099854, 0.034612007439136505, 0.018909137696027756, -0.0190829336643219, -0.006843236740678549, -0.027154317125678062, -0.02350601926445961, -0.039679817855358124, 0.003319286974146962, -0.03043125383555889, -0.014846491627395153, -0.019185373559594154, 0.1048704981803894, 0.011756790801882744, 0.0005794257158413529, -0.06668882071971893, 0.008830301463603973, 0.04057515412569046, 0.026449980214238167, 0.013617601245641708, 0.1164572462439537, -0.037894587963819504, -0.01979418285191059, -0.017654983326792717, 0.059388965368270874, -0.042603809386491776, 0.017715847119688988, -0.0782492384314537, 0.020656488835811615, 0.015877196565270424, 0.007109197787940502, -0.05112593621015549, -0.0461561344563961, 0.05237609148025513, 0.03841773793101311, -0.0011499664979055524, -0.06550568342208862, 0.05649222061038017, -0.026170289143919945, -0.02002764493227005, -0.08579986542463303, 0.021833691745996475, -0.05957693234086037, 0.08263466507196426, 0.0431852750480175, 0.029420027509331703, -0.003524292027577758, -0.0076246196404099464, 0.0013452130369842052, -0.07548689097166061, 0.07022461295127869, 0.029514266178011894, 0.027806680649518967, -0.03223948925733566, -0.05778719112277031, 0.04129541665315628, -0.010287916287779808, -0.02768963947892189, 0.05354619398713112, -0.08599497377872467, -0.009564914740622044, 0.04879654943943024, 0.002915386576205492, 0.027205852791666985, -0.01005113497376442, 0.009550802409648895, 0.1437942236661911, 0.07013033330440521, 0.0491117388010025, 0.004850990138947964, 0.03695075213909149, 0.06364305317401886, -0.05047681927680969, -0.06017977371811867, 0.0203994307667017, 0.05097942799329758, 0.017632735893130302, 0.07919870316982269, -0.001808141591027379, 0.015804486349225044, -0.06188897043466568, 0.01127856969833374, -0.018651757389307022, 0.038199592381715775, 0.04214709624648094, 0.012429981492459774, 0.004602588247507811, 0.016289781779050827, 0.014699826948344707, 0.14154917001724243, -0.04839780554175377, 0.01271514967083931, -0.02536149136722088, -0.0654955804347992, 0.06475500017404556, -0.004705607891082764, 0.04185304045677185, 0.04329151660203934, -0.0419895239174366, -0.0295367743819952, 0.04762326553463936, 0.017755962908267975, 0.03026774153113365, -0.05862985551357269, 0.06927692145109177, 0.02037762850522995, -0.02678343467414379, 0.03402136638760567, -0.06693056225776672, -0.018088651821017265, 0.02023201622068882, -0.05410488694906235, 0.06713158637285233, -0.01033798698335886, -0.051973313093185425, 0.011735264211893082, 0.002425134414806962, 0.01488481555134058, -0.019987817853689194, -0.002285043941810727, 0.015830818563699722, -0.009835409000515938, -0.04059046879410744, 0.0283616054803133, 0.041274916380643845, -0.006906839087605476, 0.003998620435595512, -0.030066853389143944, 0.0030227850656956434, 0.009933261200785637, -0.02204313687980175, -0.006431851536035538, -0.037674680352211, -0.0216401107609272, -0.0278509221971035, 0.02768338844180107, 0.005387816112488508, 0.02590593509376049, 0.012754939496517181, 0.024708693847060204, -0.032262109220027924, 0.0005151795921847224, -0.013810458593070507, 0.01484372466802597, 0.033945098519325256, 0.029747027903795242, -0.012576185166835785, 0.0113455131649971, 0.008250712417066097, -0.049850497394800186, -0.02473086304962635, 0.03131285309791565, -0.0219406895339489, 0.013873347081243992, -0.0006049387156963348, 0.010007007978856564, 0.008825218304991722, 0.00288063264451921, 0.014248201623558998, 0.0006629129056818783, 0.03647337108850479, 0.018672173842787743, 0.021847227588295937, 0.01771552860736847, -0.05222358554601669, 0.00221923366189003, 0.007507047615945339, -0.03335890546441078, -0.030298780649900436, -0.03359488397836685, -0.010455275885760784, -0.020161036401987076, -0.027254806831479073, -0.063100166618824, 0.01755707524716854, -0.0043692197650671005, -0.017810922116041183, -0.12031403183937073, -0.02862100675702095, 0.043977007269859314, 0.02884935773909092, -0.026205703616142273, -0.05127682164311409, 0.07170166820287704, -0.030697910115122795, 0.012524048797786236, 0.0009177885367535055, 0.013790525496006012, -0.024989809840917587, 0.018069569021463394, -0.023609599098563194, -0.02650115080177784, -0.00279444782063365, -0.027597006410360336, 0.054359134286642075, 0.04063097760081291, 0.004342918749898672, -0.015947919338941574, 0.04354814812541008, -0.025912659242749214, -0.05219342187047005, -0.01529043447226286, 0.019479788839817047, 0.030534466728568077, 0.0427900105714798, 0.026718083769083023, -0.018873076885938644, 0.012504426762461662, -0.03221605345606804, 0.04156481847167015, -0.0005576814874075353, -0.06328468769788742, -0.0017528461758047342, 0.019714850932359695, -0.00448909355327487, -0.04865698516368866, 0.035148508846759796, 0.011991675943136215, -0.011723306030035019, 0.023220913484692574, -0.00981407891958952, 0.035229429602622986, -0.009585754945874214, 0.006796145346015692, 0.002265274990350008, 0.0107068857178092, -0.0503426231443882, -0.03909754008054733, -0.03148193657398224, 0.00340227666310966, 0.05717652291059494, -0.0030185324139893055, 0.0011360537027940154, -0.018782848492264748, 0.029956791549921036, 0.011064829304814339, -0.013540560379624367, -0.04190821200609207, -0.0071288468316197395, 0.04615531861782074, -0.0034940731711685658, -0.03398716449737549, 0.013897071592509747, -0.016259703785181046, 0.010675517842173576, -0.006753850262612104, 0.02783905155956745, 0.005386344622820616, 0.017240328714251518, 0.037335656583309174, 0.019261667504906654, -0.017177287489175797, -0.0034604303073138, -0.008524907752871513, -0.030104022473096848, 0.048399679362773895, 0.009308471344411373, 0.021216755732893944, -0.03141966834664345, -0.02940015308558941, 0.009156419895589352, -0.022202253341674805, -0.02031134068965912, 0.02955477125942707, 0.009138742461800575, 0.00400206446647644, 0.03266875073313713, 0.02974325604736805, -0.03639254346489906, 0.017683876678347588, 0.009551399387419224, -0.031162366271018982, 0.015263961628079414, 0.05258318781852722, 0.008370673283934593, -0.008703315630555153, 0.023570390418171883, 0.009367632679641247, -0.03497546911239624, 0.01741793565452099, -0.0022455817088484764, 0.023187480866909027, 0.0372740663588047, -0.051798075437545776, -0.0030547133646905422, -0.02689558081328869, -0.05295277014374733, 0.07990643382072449, -0.04521401971578598, 0.0006887935451231897, 0.050545744597911835, 0.029171805828809738, -0.0016565914265811443, 0.024455269798636436, 0.0006580687477253377, -0.035010188817977905, -0.009586324915289879, -0.02840707264840603, -0.010636966675519943, -0.014665749855339527, 0.012812280096113682, -0.022250942885875702, -0.050788071006536484, 0.022217661142349243, 0.013438154011964798, -0.01721314527094364, 0.01710054650902748, -0.015535073354840279, 0.010700894519686699, -0.013743304647505283, -0.007892230525612831, 0.04617307335138321, 0.034844011068344116, 0.0029972977936267853, 0.021740371361374855, -0.0006218154449015856, -0.07429338246583939, -0.004083896055817604, -0.025358883664011955, 0.019736533984541893, -0.012107019312679768, 0.01798655092716217, 0.003427252173423767, -0.045726507902145386, -0.00691028730943799, -0.03753869608044624, 0.021078668534755707, 0.026295889168977737, -0.019473053514957428, -0.009023803286254406, 0.00004522234667092562, 0.01150702778249979, 0.017408808693289757, 0.014476519078016281, 0.028731951490044594, -0.0020182945299893618, 0.03927482292056084, -0.008963987231254578, -0.013844766654074192, -0.004481499083340168, -0.006623150780797005, -0.0004989794688299298, 0.020746804773807526, 0.03799394145607948, -0.014752901159226894, -0.0346260592341423, -0.0020875390619039536, -0.006310794036835432, 0.0531315840780735, 0.0019210833124816418, 0.0016051047714427114, 0.018681863322854042, 0.009843356907367706, -0.02686132676899433, 0.006052709650248289, 0.007895502261817455, 0.004909757059067488, -0.023532206192612648, 0.0006990419351495802, 0.042589180171489716, 0.02574302814900875, 0.05147267132997513, -0.016299916431307793, 0.04982123151421547, 0.008112451992928982, 0.022324731573462486, 0.002929968759417534, -0.0402354970574379, -0.011903966777026653, 0.003897889284417033, -0.03696376085281372, 0.07766826450824738, -0.01747492142021656, 0.002776826499029994, 0.010578884743154049, -0.00439528189599514, -0.016730288043618202, 0.0607614703476429, 0.031746938824653625, -0.023610679432749748, 0.01907491870224476, 0.034243274480104446, -0.008218977600336075, 0.007124492898583412, -0.0174418892711401, 0.002273949794471264, -0.009430105797946453, -0.008207247592508793, -0.024957694113254547, -0.04006747528910637, -0.041570842266082764, -0.012896193191409111, 0.009375574998557568, 0.01358816958963871, 0.012539837509393692, -0.024115560576319695, 0.053112223744392395, -0.012157335877418518, 0.0205824114382267, -0.011872954666614532, 0.036023762077093124, 0.039765991270542145, 0.017636990174651146, -0.006714903749525547, 0.01431266963481903, 0.026951445266604424, 0.034274872392416, 0.07839454710483551, 0.0276811420917511, 0.022891944274306297, 0.023038998246192932, 0.019587218761444092, -0.02647007256746292, -0.071795254945755, 0.08641493320465088, -0.0025052891578525305, 0.006477368529886007, -0.013903197832405567, -0.0389556922018528, -0.016609879210591316, -0.025041600689291954, -0.065382219851017, 0.04528854414820671, 0.025661751627922058, -0.0006193373119458556, 0.03147487714886665, -0.0006221560761332512, 0.003451067488640547, -0.013343834318220615, 0.01298859529197216, -0.02182668074965477, 0.0211940910667181, -0.0016441723564639688, 0.03057137504220009, -0.01598900929093361, 0.04170362278819084, -0.0024953908286988735, 0.011640913784503937, -0.024348225444555283, -0.0014873892068862915, 0.035337649285793304, -0.025069348514080048, 0.030891399830579758, 0.008433975279331207, -0.06301562488079071, -0.016691751778125763, -0.009531335905194283, 0.007074270397424698, 0.043672118335962296, 0.011939555406570435, -0.0020784453954547644, 0.01959085837006569, -0.04206760227680206, -0.02613184042274952, 0.03470383957028389, 0.03685538470745087, 0.020439038053154945, -0.0018927972996607423, 0.06452023237943649, -0.004941243212670088, 0.007154163904488087, 0.005535610020160675, 0.010759497061371803, 0.0919550284743309, 0.03892476484179497, 0.020622750744223595, -0.006750556640326977, -0.030525030568242073, -0.014401775784790516, -0.019307108595967293, -0.03524981811642647, -0.05155570060014725, 0.015760358422994614, 0.036163583397865295, -0.02238200604915619, 0.029298799112439156, -0.027054207399487495, 0.03366153687238693, -0.027255937457084656, 0.00858572032302618, 0.03761592134833336, 0.004113421309739351, 0.0001556950155645609, 0.05038681626319885, -0.010688304901123047, 0.015876878052949905, -0.02478422410786152, -0.038648203015327454, 0.06453470885753632, -0.014701742678880692, 0.035083040595054626, 0.013316379860043526, -0.010757869109511375, 0.0012697497149929404, -0.017568105831742287, 0.0031382518354803324, -0.02538117580115795, 0.008287247270345688, -0.055127229541540146, -0.01801343634724617, -0.03441675752401352, -0.005525913555175066, -0.04956628754734993, 0.009432915598154068, 0.003583864774554968, -0.012964320369064808, -0.01677924580872059, -0.010051080957055092, -0.0032744896598160267, 0.009936678223311901, 0.027306586503982544, -0.020318256691098213, -0.004470690619200468, 0.004459482617676258, 0.009460018947720528, -0.03121090680360794, -0.022222820669412613, -0.05534985288977623, 0.008972592651844025, -0.016499215736985207, 0.035461585968732834, -0.009974824264645576, 0.006024095695465803, 0.022907769307494164, -0.010621110908687115, -0.008563006296753883, -0.004163275472819805, 0.00849947053939104, 0.028287705034017563, -0.044192634522914886, 0.015027699992060661, -0.051821786910295486, -0.023646986111998558, -0.04085761308670044, -0.0044086407870054245, 0.026563186198472977, -0.04836539924144745, -0.0009290177840739489, 0.012886459939181805, -0.010809794999659061, 0.0010821156902238727, 0.017128972336649895, -0.038871970027685165, -0.027187157422304153, -0.030336417257785797, 0.017524559050798416, -0.0028474340215325356, 0.021091310307383537, -0.01149256806820631, -0.03173791244626045, 0.0007605833234265447, 0.003868265775963664, 0.04500488564372063, 0.03515386953949928, 0.015003570355474949, -0.053647443652153015, -0.029706371948122978, 0.048698946833610535, 0.057017214596271515, 0.04584256187081337, 0.024379462003707886, 0.01535019837319851, -0.018834305927157402, 0.007048966363072395, 0.016242651268839836, -0.07243509590625763, 0.0016959840431809425, -0.005803730804473162, 0.007798399776220322, -0.0073863849975168705, -0.034068308770656586, -0.020090965554118156, -0.02639542706310749, -0.01862930692732334, -0.008532991632819176, 0.004140410106629133, -0.004529420752078295, -0.04942721128463745, 0.0001761375751812011, 0.04163699969649315, 0.02357553504407406, 0.019762767478823662, -0.032483816146850586, -0.033577241003513336, 0.05416417121887207, -0.00919098686426878, 0.029390739277005196, 0.006391436792910099, 0.05507766455411911, -0.011464321985840797, 0.01576169952750206, 0.04795718938112259, -0.07617799937725067, -0.020808188244700432, 0.020542751997709274, 0.008675375021994114, -0.011339324526488781, -0.042495910078287125, 0.017492661252617836, 0.007190775591880083, 0.009111977182328701, 0.015627305954694748, -0.023289162665605545, -0.022705914452672005, 0.024680819362401962, 0.025546986609697342, -0.044200848788022995, -0.0072663649916648865, -0.036977119743824005, 0.02477140724658966, 0.02828226611018181, 0.007358063943684101, -0.006081769708544016, 0.013649238273501396, -0.020097970962524414, 0.010110370814800262, -0.006906431168317795, -0.00043118686880916357, -0.02734983339905739, -0.045205701142549515, 0.017066197469830513, -0.012815426103770733, -0.03295677900314331, 0.04213244467973709, -0.019495148211717606, -0.004391376860439777, -0.002397352596744895, 0.003822806989774108, -0.01424077246338129, 0.036722443997859955, 0.027998417615890503, -0.036136604845523834, 0.08821343630552292, 0.02197903022170067, -0.015162940137088299, -0.023506762459874153, 0.04970596730709076 ]
Introducing Agents.js: Give tools to your LLMs using JavaScript
nsarrazin
July 24, 2023
agents-js
agents, javascript, web
https://huggingface.co/blog/agents-js
Custom Tools 🛠️ Agents.js was designed to be easily expanded with custom tools & examples. For example if you wanted to add a tool that would translate text from English to German you could do it like this: ts import type { Tool } from "@huggingface/agents/src/types"; const englishToGermanTool: Tool = { name: "englishToGerman", description: "Takes an input string in english and returns a german translation. ", examples: [ { prompt: "translate the string 'hello world' to german", code: `const output = englishToGerman("hello world")`, tools: ["englishToGerman"], }, { prompt: "translate the string 'The quick brown fox jumps over the lazy dog` into german", code: `const output = englishToGerman("The quick brown fox jumps over the lazy dog")`, tools: ["englishToGerman"], }, ], call: async (input, inference) => { const data = await input; if (typeof data !== "string") { throw new Error("Input must be a string"); } const result = await inference.translation({ model: "t5-base", inputs: input, }); return result.translation_text; }, }; Now this tool can be added to the list of tools when initiating your agent. ts import { HfAgent, LLMFromHub, defaultTools } from "@huggingface/agents"; const HF_ACCESS_TOKEN = "hf_..."; const agent = new HfAgent(HF_ACCESS_TOKEN, LLMFromHub("hf_..."), [ englishToGermanTool, ...defaultTools, ]);
[ 0.016906367614865303, -0.03146025165915489, -0.0048903170973062515, -0.027783479541540146, 0.046146541833877563, 0.030300715938210487, 0.06045953929424286, 0.07749199122190475, 0.049621883779764175, -0.0205027274787426, -0.08238521963357925, 0.0010500317439436913, 0.029658501967787743, 0.05206572636961937, 0.03502875939011574, -0.051507480442523956, 0.04333047941327095, -0.019124554470181465, -0.07917321473360062, -0.007587397936731577, 0.0050105261616408825, -0.055604252964258194, 0.07208792120218277, -0.06055106595158577, -0.00833919458091259, -0.022682925686240196, -0.0007035197922959924, 0.0181029811501503, -0.03377508744597435, 0.025140320882201195, -0.03822478652000427, -0.02665816806256771, -0.09390012174844742, -0.06685823202133179, 0.03159848973155022, 0.004339392296969891, -0.1472197026014328, 0.021863562986254692, 0.014489964582026005, -0.04000084847211838, 0.00932533759623766, -0.03705253079533577, -0.06179055571556091, 0.05008881166577339, -0.038515083491802216, -0.02917640097439289, -0.1748630851507187, 0.05410965904593468, -0.020454086363315582, 0.004923093132674694, -0.0018865331076085567, 0.0759289488196373, 0.021165642887353897, -0.006957272067666054, 0.017061620950698853, 0.002619421575218439, 0.019267544150352478, -0.09646790474653244, 0.018937429413199425, -0.009343452751636505, 0.027779601514339447, 0.01698676124215126, 0.027984024956822395, 0.0644339770078659, 0.05402003973722458, 0.03709958493709564, -0.017212966457009315, -0.02651679888367653, -0.035705115646123886, -0.027808062732219696, 0.03503682091832161, 0.01504597719758749, -0.03588978201150894, -0.01663881167769432, 0.05549135059118271, -0.025795087218284607, -0.0845780000090599, 0.00996550265699625, 0.04984036460518837, 0.06211292743682861, 0.052369728684425354, 0.007889210246503353, 0.06980293244123459, 0.03687562048435211, -0.011908469721674919, 0.03466828912496567, 0.02525482513010502, -0.06729906052350998, -0.053515397012233734, 0.04275251179933548, 0.022153398022055626, -0.13928858935832977, -0.050592780113220215, 0.010739504359662533, 0.09877422451972961, 0.026781879365444183, 0.03903499245643616, 0.061676423996686935, -0.00340605853125453, 0.03259170800447464, -0.059754930436611176, 0.029410764575004578, 0.01055409386754036, -0.04690544307231903, -0.016751322895288467, 0.012473763898015022, 0.015730775892734528, -0.04839177429676056, -0.0532892607152462, -0.006262333132326603, 0.030541038140654564, -0.05413150414824486, 0.06201964616775513, 0.09902126342058182, -0.044672515243291855, 0.028079232200980186, 0.019817393273115158, 0.04840626195073128, -0.005500948056578636, 0.05111867934465408, 0.07710208743810654, 0.03651684150099754, 0.02811327390372753, 0.05881533771753311, 0.026924896985292435, 0.05785676836967468, -0.003907413221895695, -0.03224988654255867, 0.037377454340457916, -0.08406854420900345, 0.04503709450364113, -0.02214793674647808, 0.06370218098163605, 0.04953718185424805, 0.027815502136945724, -0.08009932190179825, 0.04425135627388954, -0.09264738112688065, 0.036457471549510956, 0.05446188896894455, 0.00027327844873070717, -0.001905173878185451, -0.02072974666953087, 0.0004001091292593628, -0.0008571880753152072, -0.012267290614545345, -0.07583759725093842, 0.03720412403345108, 0.00018170349358115345, 0.05687987804412842, -0.04280732199549675, 0.021692799404263496, 0.04924805089831352, 0.059182338416576385, 0.013635189272463322, 0.006193170323967934, -0.013744158670306206, -0.02663872204720974, -0.042968422174453735, -0.004639964085072279, -0.04070683941245079, 0.003979752771556377, -0.014800176955759525, -0.0221699271351099, -0.03965073078870773, -0.0011958923423662782, -0.012191842310130596, 0.03157743066549301, 0.05188189446926117, 0.03111334703862667, 0.035763293504714966, -0.032873086631298065, 0.0025760403368622065, -0.024175308644771576, 0.05757792294025421, 0.07620428502559662, 0.00814821571111679, -0.00569315068423748, 0.028708400204777718, 0.010304039344191551, -0.00997329130768776, 0.09972327947616577, 0.0025125956162810326, -0.003075661137700081, 0.0238642618060112, -0.07398595660924911, 0.038967229425907135, -0.03876286372542381, 0.021024100482463837, -0.03013719618320465, -0.004428880289196968, -0.01711198128759861, 0.0711173564195633, -0.01826849952340126, 0.011890818364918232, -0.04070135951042175, -0.001464550499804318, 0.11296014487743378, 0.029876969754695892, 0.1120147779583931, 0.029369544237852097, -0.0040377117693424225, 0.017219021916389465, -0.013263052329421043, -0.0349140465259552, 0.044442757964134216, 0.06399749964475632, -0.07326015084981918, 0.019737722352147102, -0.012391813099384308, 0.03620890900492668, -0.07063937932252884, 0.0774133950471878, -0.05423690751194954, 0.011305405758321285, -0.058017801493406296, -0.07020378112792969, -0.0021782468538731337, 0.017498327419161797, -0.008318341337144375, 0.14183175563812256, -0.03611590340733528, -0.03268156200647354, -0.07312019169330597, -0.0020234922412782907, 0.06454901397228241, 0.05639490485191345, -0.0004934534663334489, 0.07811691612005234, -0.06469422578811646, -0.0418713353574276, -0.04275474697351456, -0.03983265161514282, -0.003069594968110323, -0.0627264529466629, -0.0354217067360878, 0.03953321650624275, -0.029820185154676437, -0.024973925203084946, -0.030564885586500168, -0.0051842546090483665, -0.04706510528922081, 0.019904175773262978, 0.061144012957811356, -0.004496799316257238, 0.05029680207371712, 0.05580343306064606, 0.06622448563575745, 0.016772441565990448, -0.010064734145998955, -0.07692068070173264, 0.047703348100185394, 0.015235175378620625, -0.03256785124540329, 0.020843463018536568, 0.05048312991857529, 0.008848455734550953, 0.00889150146394968, -0.0737769603729248, 0.05379154533147812, -0.018011877313256264, -0.014434555545449257, -0.0407259538769722, -0.014791659079492092, -0.01882421225309372, -0.061957210302352905, -0.008228843100368977, 0.003514036303386092, -0.006280636880546808, 0.006095950026065111, 0.044656530022621155, -0.012511517852544785, 0.007755625993013382, -0.01760443113744259, 0.000027063208108302206, 0.035803359001874924, 0.004217011388391256, 0.009233292192220688, -0.039576612412929535, -0.016145111992955208, -0.030829215422272682, -0.00283138919621706, 0.06524539738893509, 0.03150252625346184, -0.001146696275100112, -0.02033083885908127, -0.02582603693008423, -0.05705491080880165, -0.0032054565381258726, 0.004646378569304943, 0.030314011499285698, 0.02104705385863781, 0.015624526888132095, 0.00921277329325676, -0.015308810397982597, -0.009868389926850796, 0.057457659393548965, -0.0032876254990696907, 0.01935434900224209, 0.046711113303899765, 0.0010979939252138138, 0.014932187274098396, -0.027455056086182594, -0.0012438250705599785, -0.026492685079574585, 0.06629956513643265, -0.0033894767984747887, -0.018927067518234253, -0.09426736831665039, -0.03827023133635521, -0.01943056657910347, 0.043690405786037445, 0.012051083147525787, -0.011768287979066372, 0.026429543271660805, -0.036511924117803574, -0.021677691489458084, 0.016877753660082817, 0.013379594311118126, -0.02220824547111988, 0.07348848134279251, 0.0059763360768556595, -0.06774011254310608, -0.016399148851633072, -0.059213750064373016, 0.03026524744927883, 0.04861845448613167, 0.022639522328972816, -0.037424925714731216, 0.04462084546685219, 0.019327213987708092, -0.010346019640564919, 0.015919091179966927, -0.047007154673337936, 0.061998624354600906, 0.007750803604722023, -0.00750323012471199, -0.03154934570193291, 0.0017559290863573551, -0.008851061575114727, -0.01570267789065838, -0.022820768877863884, -0.03992963954806328, 0.001042491989210248, 0.037061236798763275, -0.0014588338090106845, 0.0020211408846080303, 0.0014049039455130696, 0.02532220631837845, -0.025885485112667084, -0.007535707671195269, 0.0015686956467106938, 0.0017012085299938917, -0.043720778077840805, 0.01483580470085144, 0.014723626896739006, 0.018900007009506226, -0.028269650414586067, 0.004957717843353748, 0.010837553068995476, 0.013935381546616554, 0.02983473241329193, 0.005677639041095972, 0.0009577939053997397, 0.00856705754995346, 0.01591588743031025, 0.0011147158220410347, -0.021533889696002007, -0.07670517265796661, -0.011427067220211029, -0.0572785809636116, -0.0012394364457577467, -0.050953127443790436, 0.051408737897872925, 0.020897002890706062, -0.023285433650016785, -0.008159846067428589, 0.005130110774189234, 0.0228583924472332, 0.04131781682372093, 0.027716150507330894, 0.003829869907349348, -0.020092299208045006, 0.0027407335583120584, -0.02425089105963707, -0.03604874759912491, 0.06595944613218307, 0.006606828887015581, 0.01217782124876976, -0.01604653336107731, -0.00837687123566866, 0.0038936592172831297, -0.00740803824737668, -0.0010338565334677696, 0.04373292624950409, -0.015432393178343773, -0.022439420223236084, 0.0033219659235328436, 0.01738918013870716, -0.030254244804382324, 0.04253925755620003, -0.02382524125277996, -0.01926259510219097, 0.055610425770282745, 0.005038020201027393, -0.012632090598344803, 0.012567555531859398, 0.013500228524208069, 0.05102986469864845, -0.04893272742629051, 0.02065165340900421, 0.005002911202609539, -0.009760805405676365, 0.016845988109707832, -0.055332034826278687, -0.0077811600640416145, 0.06862540543079376, -0.011443083174526691, 0.01942022703588009, -0.031249508261680603, -0.01036625076085329, -0.012577379122376442, 0.0006819100235588849, 0.06240374967455864, -0.02204720862209797, 0.017911303788423538, -0.042993295937776566, 0.013731918297708035, -0.024749089032411575, -0.05466306954622269, -0.030446797609329224, -0.0024013356305658817, 0.022970743477344513, -0.012667030096054077, 0.018663253635168076, 0.02657831273972988, 0.011842348612844944, 0.02941843867301941, -0.03825434297323227, -0.011441496200859547, 0.025452757254242897, 0.04293402284383774, -0.009287228807806969, 0.025399472564458847, -0.042328041046857834, 0.014300977811217308, -0.016087297350168228, -0.04648607224225998, -0.037287067621946335, 0.016049152240157127, 0.023861169815063477, -0.05544150993227959, 0.032967355102300644, 0.0010403376072645187, -0.028749417513608932, -0.023286135867238045, -0.0034107950050383806, 0.02368730492889881, 0.002968493150547147, 0.004886952694505453, -0.03455906733870506, 0.003910168074071407, 0.04529609903693199, -0.008091866970062256, -0.007115340791642666, -0.00023993119248189032, 0.03039051778614521, 0.02502509020268917, 0.008011971600353718, -0.006669975351542234, -0.040286190807819366, -0.0021321752574294806, 0.01922728680074215, -0.008425612933933735, -0.03962652012705803, -0.08561685681343079, -0.017096098512411118, 0.014222829602658749, -0.00939207710325718, 0.05881640687584877, -0.0068199425004422665, -0.01536514051258564, -0.04319165274500847, 0.0029792527202516794, 0.024026060476899147, 0.020618252456188202, -0.03608348220586777, -0.019913114607334137, 0.014548161067068577, -0.008697450160980225, 0.009911359287798405, 0.0002894822973757982, -0.010167773813009262, -0.0032170144841074944, 0.06852136552333832, 0.04888695850968361, 0.02103492058813572, -0.012387346476316452, -0.03289351612329483, -0.006446488667279482, -0.01089635118842125, -0.06346313655376434, -0.0034786993637681007, -0.05051238089799881, -0.014864495024085045, -0.004983685445040464, 0.004389914218336344, -0.007291089277714491, 0.020081903785467148, 0.036585766822099686, 0.01133341807872057, -0.014825699850916862, 0.01266161072999239, 0.010883078910410404, 0.006488512270152569, -0.010710237547755241, 0.00021392962662503123, -0.03394870460033417, -0.0335424467921257, -0.03458772227168083, 0.036675211042165756, -0.012946335598826408, -0.004817613400518894, -0.058409467339515686, 0.03333912417292595, -0.0058405473828315735, 0.033370472490787506, 0.051084861159324646, -0.0057594627141952515, 0.023832669481635094, -0.01360602118074894, -0.007778587285429239, 0.046708665788173676, -0.04494311660528183, 0.005674893036484718, 0.03006385825574398, 0.041868314146995544, 0.01653984561562538, 0.049678243696689606, 0.0017106331652030349, 0.02521427907049656, 0.03959037363529205, -0.013074304908514023, 0.01100765448063612, -0.056785453110933304, 0.012349537573754787, 0.05096668750047684, -0.05484313145279884, 0.012918160296976566, -0.03847436234354973, -0.007579346653074026, 0.001556799397803843, -0.018966708332300186, 0.039106037467718124, 0.017803935334086418, 0.010858695022761822, -0.010019727982580662, 0.015818307176232338, -0.012144078500568867, -0.010197077877819538, -0.013622752390801907, -0.006942460313439369, 0.003555010538548231, 0.014689586125314236, 0.007264031562954187, 0.027462393045425415, -0.006756510119885206, -0.019322197884321213, 0.005552936811000109, -0.10685154795646667, 0.006344901863485575, 0.009858572855591774, -0.021092211827635765, 0.0015150135150179267, -0.0166232381016016, -0.029254689812660217, -0.00132826529443264, 0.02180761657655239, -0.035488225519657135, 0.06247280165553093, 0.00990444514900446, 0.023471958935260773, -0.010226787999272346, -0.025232477113604546, 0.024756096303462982, 0.03905562311410904, 0.0481884591281414, 0.03383010998368263, 0.00011286252993158996, 0.03215392306447029, 0.029269788414239883, 0.014328071847558022, -0.01888366974890232, 0.031675517559051514, 0.05585595965385437, 0.007764107547700405, 0.05104568228125572, -0.006944701075553894, 0.02282150276005268, -0.02870117500424385, -0.006291430909186602, -0.016096753999590874, -0.06339564919471741, 0.013843388296663761, 0.01351796556264162, -0.01011339295655489, 0.002118854783475399, 0.011729481630027294, 0.014085808768868446, 0.002701215213164687, 0.06202571466565132, -0.017497699707746506, -0.013449892401695251, 0.0483274832367897, 0.021401094272732735, 0.028983499854803085, 0.012749319896101952, -0.011698219925165176, -0.028759043663740158, 0.07625412940979004, -0.0065162512473762035, 0.006405224557965994, 0.031702738255262375, -0.009248538874089718, 0.015029332600533962, -0.021182330325245857, -0.01367195975035429, 0.004690974950790405, 0.008911456912755966, 0.015270296484231949, -0.04376942664384842, -0.006999059114605188, -0.062072571367025375, 0.0037282449193298817, 0.00043869242654182017, 0.006282635033130646, 0.015353086404502392, -0.023714303970336914, 0.020401805639266968, 0.03779169172048569, -0.011008034460246563, -0.02755885198712349, -0.028711192309856415, 0.01219684723764658, 0.03238854557275772, 0.00006364096043398604, 0.0005489853792823851, 0.007437699940055609, -0.02273697778582573, -0.02335250936448574, 0.009380056522786617, -0.01673097163438797, 0.02761933207511902, -0.037315867841243744, 0.0019322913140058517, 0.06561820954084396, 0.018187852576375008, 0.027322664856910706, 0.02534869872033596, 0.016131257638335228, -0.04660680145025253, -0.007091263774782419, -0.010776611976325512, -0.02487146481871605, -0.02055427059531212, -0.05270979180932045, 0.006530418060719967, -0.011251944117248058, 0.0009062574245035648, 0.005461724940687418, 0.02634774148464203, 0.005910831969231367, -0.023710548877716064, 0.01989285834133625, -0.0019407456275075674, -0.03493502736091614, 0.06081109493970871, -0.020934587344527245, 0.016978340223431587, -0.010531057603657246, -0.05273955315351486, -0.0038020408246666193, 0.01384667493402958, 0.004819468595087528, 0.07178202271461487, 0.017589488998055458, -0.024479161947965622, -0.03558056801557541, 0.017059342935681343, 0.023211264982819557, 0.020724378526210785, 0.0264704879373312, 0.027590883895754814, -0.00937015749514103, -0.0027468653861433268, 0.03292066976428032, -0.05563967674970627, 0.034210145473480225, -0.04407946392893791, -0.026662135496735573, -0.01609114184975624, -0.030810974538326263, -0.01746099255979061, 0.01221703365445137, -0.041629109531641006, 0.00972555298358202, -0.031045367941260338, -0.0257358867675066, 0.004196245223283768, 0.025133727118372917, 0.05015135556459427, -0.006522045005112886, 0.023175843060016632, -0.016021298244595528, -0.013846970163285732, -0.0017943589482456446, 0.005553861614316702, -0.014727473258972168, 0.030003318563103676, 0.012882331386208534, -0.013037001714110374, 0.001255060313269496, 0.016706090420484543, 0.006886179558932781, -0.03284921124577522, 0.048524994403123856, -0.003968256525695324, 0.024501392617821693, -0.012011969462037086, 0.008335993625223637, -0.0032101834658533335, -0.003282930701971054, 0.023756179958581924, -0.03776927292346954, 0.0036053378134965897, -0.03643355891108513, 0.01478851493448019, -0.045947473496198654, -0.01292998157441616, -0.02408447489142418, 0.003043596399948001, 0.006314801052212715, 0.030504249036312103, 0.016419172286987305, -0.0020272627007216215, -0.05115380138158798, 0.015275598503649235, -0.023968059569597244, -0.022445891052484512, -0.015331690199673176, -0.06829139590263367, 0.028522588312625885, -0.012828106060624123, -0.02376318722963333, 0.025869792327284813, -0.032720018178224564, -0.013682140037417412, 0.0290770772844553, 0.023230360820889473, -0.051508333534002304, -0.016779419034719467, 0.020645109936594963, -0.028340687975287437, 0.015353908762335777, 0.01847001537680626, -0.010753816924989223, -0.04575061798095703, 0.024118537083268166 ]
Introducing Agents.js: Give tools to your LLMs using JavaScript
nsarrazin
July 24, 2023
agents-js
agents, javascript, web
https://huggingface.co/blog/agents-js
Demo 🎉 We've been working on a demo for Agents.js that you can try out here. It's powered by the same Open Assistant 30B model that we use on HuggingChat and uses tools called from the hub. 🚀
[ 0.012545335106551647, -0.032444149255752563, 0.09025528281927109, -0.009880878031253815, 0.0856933519244194, 0.03460283949971199, 0.032510433346033096, 0.05198606476187706, 0.01662505604326725, -0.07205331325531006, -0.06863076984882355, 0.03076663799583912, -0.015863867476582527, 0.045192621648311615, 0.021800922229886055, -0.040641386061906815, 0.021706556901335716, -0.0014285818906500936, -0.03350428491830826, -0.028161589056253433, -0.026517445221543312, 0.011274490505456924, 0.0252927727997303, -0.08322031050920486, -0.013035446405410767, -0.04945728927850723, 0.0012591383419930935, 0.021540656685829163, -0.07418697327375412, 0.02443382702767849, -0.05443553254008293, -0.0054696123115718365, -0.005305794533342123, -0.04805640131235123, 0.051094088703393936, 0.014145713299512863, -0.14070633053779602, 0.05071401968598366, -0.019312266260385513, -0.008188461884856224, 0.00108189950697124, -0.04375207796692848, -0.04271041229367256, 0.03063834458589554, -0.057879894971847534, -0.02642850950360298, -0.22741959989070892, 0.06620626896619797, 0.005015040747821331, -0.004940279293805361, -0.06269247829914093, 0.08736362308263779, 0.03016093745827675, -0.02023858018219471, -0.01735505647957325, 0.01568339765071869, -0.013035325333476067, -0.06808450073003769, 0.015619391575455666, 0.013633242808282375, 0.005642691161483526, -0.0006434301612898707, 0.028594041243195534, 0.038650546222925186, 0.029675012454390526, 0.08416738361120224, 0.03753650188446045, -0.0021327463909983635, -0.019431089982390404, 0.01018577627837658, 0.0619686134159565, 0.016797959804534912, 0.008247640915215015, -0.012821643613278866, 0.07636579126119614, -0.033534105867147446, -0.028449777513742447, 0.03427289426326752, 0.06208212301135063, 0.04339234530925751, 0.00010792402463266626, 0.027372172102332115, 0.06298357993364334, 0.03795207291841507, 0.04076019302010536, 0.07342901825904846, 0.04355238750576973, -0.03953053802251816, -0.06932296603918076, 0.05075743421912193, 0.009195271879434586, -0.1416265219449997, -0.030318107455968857, 0.028079481795430183, 0.08829668909311295, 0.056189119815826416, 0.027187995612621307, 0.010666453279554844, 0.01360459066927433, 0.013463509269058704, -0.053592342883348465, -0.03270209580659866, 0.015078515745699406, -0.0395863838493824, -0.014216147363185883, 0.05235368013381958, -0.018730370327830315, -0.0738237053155899, 0.016293149441480637, -0.026094039902091026, 0.03363240882754326, -0.026542089879512787, 0.09171908348798752, 0.09740995615720749, -0.04346361756324768, 0.0012677547056227922, -0.0011691530235111713, 0.027756355702877045, 0.05119449272751808, 0.0280072670429945, 0.03626541420817375, 0.08549410849809647, 0.030026838183403015, 0.0292307548224926, 0.03529917076230049, 0.05433792993426323, 0.007382250856608152, -0.023111214861273766, 0.0045987400226294994, -0.029200516641139984, 0.037571296095848083, -0.0673433318734169, 0.050100963562726974, 0.017267081886529922, -0.0027606498915702105, -0.03271501511335373, 0.019681446254253387, -0.05613308027386665, 0.049636706709861755, 0.05575134977698326, -0.041599854826927185, 0.026711314916610718, 0.0484602190554142, 0.054223645478487015, 0.029432177543640137, -0.020201632753014565, -0.07382941991090775, 0.05767291411757469, -0.0795375406742096, 0.01765982061624527, -0.08092834800481796, 0.039468564093112946, 0.020235784351825714, -0.00046943698544055223, -0.026629691943526268, 0.030682383105158806, -0.023031506687402725, -0.05105869844555855, -0.039401497691869736, -0.006149971857666969, 0.009352441877126694, 0.05835781246423721, 0.0181150920689106, 0.02317771129310131, -0.010825326666235924, 0.04031156003475189, 0.0050384243950247765, 0.013871170580387115, 0.03487713262438774, -0.008992629125714302, -0.0011933395871892571, -0.005126290023326874, 0.044102925807237625, -0.029735000804066658, 0.016881858929991722, 0.04677513614296913, 0.08745430409908295, 0.023535458371043205, 0.035395439714193344, 0.029199326410889626, -0.01654324121773243, 0.07176338881254196, 0.02560519054532051, 0.011967982165515423, 0.05479498207569122, -0.06369990110397339, 0.05827710032463074, -0.00418778695166111, 0.0257418192923069, -0.005625076126307249, 0.004041593987494707, -0.014087803661823273, 0.0753416195511818, 0.0008952643838711083, -0.0009373542852699757, -0.0023195501416921616, 0.00123941944912076, 0.10026342421770096, 0.06552927196025848, 0.09025906771421432, 0.012355624698102474, 0.04900781065225601, 0.022955577820539474, -0.02806621417403221, -0.017828408628702164, 0.03229775279760361, 0.0837743803858757, -0.025824494659900665, -0.004778760951012373, 0.028888793662190437, -0.037975262850522995, -0.07137973606586456, 0.08555378019809723, -0.040537092834711075, 0.01995249092578888, 0.015600748360157013, -0.03334673121571541, -0.03063139133155346, 0.0015964226331561804, 0.01715773157775402, 0.15411140024662018, -0.0550699308514595, -0.023671645671129227, -0.01539545226842165, 0.009947246871888638, 0.06078289449214935, 0.09650762379169464, 0.026243111118674278, 0.09160547703504562, -0.03451590985059738, -0.06388533860445023, -0.006344772409647703, -0.0029933899641036987, 0.021017402410507202, 0.00731893815100193, -0.01285932119935751, 0.03468841686844826, -0.05297555774450302, 0.0279302429407835, -0.04596468433737755, 0.010253546759486198, -0.02832706831395626, 0.023699618875980377, 0.0655641034245491, -0.03851540759205818, 0.011207285337150097, 0.047303758561611176, 0.07775292545557022, -0.029970822855830193, 0.04352712258696556, -0.09816868603229523, 0.011870743706822395, -0.020915033295750618, -0.047794219106435776, 0.06807577610015869, 0.0279114730656147, 0.0072039091028273106, -0.04344875365495682, -0.053329285234212875, 0.03982431814074516, -0.009640791453421116, -0.018223067745566368, -0.012988791801035404, -0.04256194457411766, 0.016058987006545067, -0.04164247214794159, -0.044701311737298965, -0.007560893427580595, -0.0026515983045101166, 0.001990892691537738, 0.04173583164811134, -0.02098735235631466, 0.015572190284729004, -0.016879796981811523, 0.02429373748600483, 0.028203489258885384, 0.02805684320628643, -0.01826462149620056, -0.0034344505984336138, -0.009784681722521782, -0.05351686850190163, -0.043831296265125275, 0.05817410349845886, 0.026227032765746117, 0.03204432129859924, -0.02316831611096859, 0.007691381964832544, -0.04142671823501587, -0.007102887146174908, -0.001958610024303198, 0.008622272871434689, -0.00013699260307475924, 0.009172688238322735, 0.006325099151581526, -0.015871204435825348, -0.03875921294093132, 0.026312585920095444, -0.0027799734380096197, -0.013099923729896545, 0.008786755613982677, -0.034573573619127274, -0.00528760626912117, -0.02203870564699173, -0.00766220735386014, -0.00330021302215755, 0.031146876513957977, 0.001800434896722436, 0.011964889243245125, -0.11561063677072525, -0.033497728407382965, -0.007549955043941736, 0.03906640782952309, -0.007715142797678709, -0.04533139988780022, 0.03426707535982132, -0.04975510016083717, 0.0066983927972614765, -0.008468013256788254, -0.012966418638825417, -0.02542008087038994, 0.017099548131227493, -0.025751903653144836, -0.06806686520576477, -0.03108922578394413, -0.04990344122052193, 0.025172945111989975, 0.05686178430914879, -0.013785790652036667, -0.06183384358882904, 0.09837585687637329, 0.00743113411590457, -0.024512020871043205, 0.01081881020218134, -0.03550314903259277, 0.04754506051540375, -0.027751056477427483, 0.021507438272237778, -0.034009870141744614, 0.0011359462514519691, -0.0019427521619945765, -0.036378759890794754, 0.037142563611269, -0.052781544625759125, -0.01079171895980835, -0.0015480673173442483, -0.010130408219993114, -0.00528776366263628, -0.00011705026554409415, 0.04449998587369919, 0.012845981866121292, 0.010553493164479733, -0.006041091401129961, -0.0029560925904661417, -0.012815680354833603, -0.04591616243124008, 0.03519326448440552, 0.05986744165420532, -0.03299088403582573, -0.011079675517976284, 0.021561427041888237, 0.007830561138689518, 0.009494218975305557, 0.031643345952034, -0.0043038250878453255, -0.02090468816459179, 0.02902156487107277, 0.012050064280629158, 0.00371602107770741, -0.06300665438175201, 0.006639624945819378, -0.015335858799517155, 0.00410346919670701, -0.04122645780444145, 0.04418935254216194, 0.022106042131781578, -0.008966281078755856, 0.00938939955085516, -0.003333093598484993, 0.026769138872623444, 0.013734644278883934, 0.0031394949182868004, 0.01896515116095543, -0.007041195873171091, 0.026038657873868942, 0.01834229566156864, -0.02788976952433586, 0.03651956841349602, -0.0002384601248195395, 0.025923317298293114, -0.020972782745957375, -0.02098400518298149, -0.04145002365112305, 0.001647171680815518, -0.03986252844333649, 0.019498568028211594, 0.020903149619698524, -0.027404827997088432, 0.01310728956013918, -0.011380207724869251, -0.03519552946090698, 0.024274731054902077, 0.002795509761199355, 0.022062184289097786, 0.043105050921440125, 0.003711170982569456, -0.01131921261548996, -0.012357857078313828, 0.03172735124826431, 0.028454821556806564, -0.021160075441002846, -0.00991311389952898, -0.013198488391935825, -0.001697988947853446, 0.035993948578834534, -0.04743056744337082, -0.02862011454999447, 0.02893802337348461, -0.007586640305817127, 0.02774478867650032, -0.010481991805136204, 0.014221752993762493, -0.009965760633349419, -0.0219720508903265, 0.05287211015820503, -0.014018259942531586, -0.009076361544430256, -0.051505059003829956, 0.0072845518589019775, -0.03482069447636604, 0.0062000686302781105, -0.005643019452691078, 0.014488691464066505, -0.012635483406484127, -0.020304253324866295, 0.005819610320031643, 0.004821843933314085, 0.034909769892692566, 0.0014462013496086001, -0.025251422077417374, -0.05120311677455902, 0.024292247369885445, 0.0017289394745603204, 0.024601785466074944, -0.0033478306140750647, -0.02057386189699173, 0.007210512645542622, -0.02857844904065132, -0.05159786716103554, -0.016526704654097557, 0.006144851911813021, 0.027294017374515533, -0.05305258929729462, 0.012225205078721046, 0.015761012211441994, -0.05232963338494301, -0.03617018833756447, -0.018678026273846626, 0.009105374105274677, 0.03281577676534653, -0.043648213148117065, -0.02908172272145748, -0.0008742182399146259, 0.0358150489628315, -0.02785572037100792, -0.03276485949754715, 0.018446750938892365, 0.006935709621757269, 0.05612248554825783, 0.01618449203670025, 0.0014206821797415614, -0.04999573528766632, 0.03000134602189064, -0.01842372678220272, -0.04018493369221687, -0.010577579960227013, -0.06268706917762756, 0.008422799408435822, 0.027660097926855087, -0.015647824853658676, 0.020760703831911087, 0.02826336957514286, -0.015514329075813293, -0.012330936267971992, 0.02246166579425335, 0.04079421982169151, 0.012966576032340527, -0.008138377219438553, 0.004188917577266693, -0.03986945003271103, -0.009336266666650772, 0.007422247435897589, -0.023713544011116028, 0.008697308599948883, -0.00583658879622817, 0.08034215867519379, 0.02503018081188202, 0.023522136732935905, 0.013423633761703968, -0.047688040882349014, 0.00520852766931057, -0.04424751177430153, -0.051473818719387054, 0.0005270030815154314, -0.02056659571826458, -0.0073797996155917645, -0.02093845047056675, -0.001551265362650156, 0.0016708152834326029, 0.0038085435517132282, 0.03385414928197861, -0.016734540462493896, -0.0025719059631228447, 0.0028863749466836452, 0.010882464237511158, 0.016388574615120888, -0.020186971873044968, -0.003120883833616972, -0.04272539168596268, -0.017041293904185295, -0.03595428168773651, -0.0008857469074428082, -0.024791067466139793, 0.009064346551895142, -0.03824535757303238, -0.00851422268897295, -0.00574401905760169, 0.018628740683197975, 0.05433928966522217, -0.014057079330086708, -0.010686023160815239, -0.03547045961022377, 0.005922507960349321, 0.031389668583869934, -0.05497061461210251, -0.000042663781641749665, 0.0423167459666729, 0.0001326768397120759, 0.03552795946598053, 0.08416714519262314, 0.01782589592039585, 0.008316495455801487, 0.023926710709929466, 0.01417336706072092, 0.006312505807727575, -0.04573245719075203, 0.03145619109272957, 0.00657404400408268, -0.003881958080455661, -0.00037420293665491045, -0.02435304969549179, -0.047286730259656906, 0.002849821001291275, -0.036865849047899246, 0.0245305635035038, 0.04875024035573006, -0.020349901169538498, 0.0025142894592136145, -0.010926783084869385, -0.022604485973715782, -0.008961216546595097, -0.01674349047243595, -0.017335936427116394, 0.005777154117822647, -0.005324486177414656, 0.005858073942363262, -0.029296617954969406, -0.034348759800195694, -0.020662739872932434, 0.006891616154462099, -0.06449507176876068, 0.013933741487562656, 0.02488495595753193, -0.016111906617879868, 0.02109711989760399, 0.021255778148770332, -0.028300506994128227, -0.011295212432742119, 0.011637033894658089, -0.003665721509605646, 0.04278477653861046, -0.035880815237760544, -0.013751822523772717, -0.019184745848178864, -0.03993488848209381, 0.049204956740140915, 0.0837785005569458, 0.0077487328089773655, 0.05087374523282051, 0.01592107303440571, 0.07783052325248718, 0.008728701621294022, 0.04736415296792984, -0.030845262110233307, 0.013172478415071964, 0.06125340610742569, 0.005701648537069559, 0.03271477669477463, 0.019246656447649002, -0.01537422463297844, -0.010029374621808529, -0.01915220357477665, -0.03953259810805321, -0.05414576455950737, 0.022800283506512642, 0.002473279135301709, -0.0070084696635603905, -0.016268474981188774, -0.003016318893060088, 0.03144489973783493, 0.03001040406525135, 0.026617711409926414, -0.030458461493253708, 0.003100806148722768, 0.014221624471247196, 0.04745668172836304, 0.011981355957686901, -0.002797541441395879, 0.006084284279495478, -0.04168566316366196, 0.06412340700626373, 0.015877481549978256, 0.03997831419110298, -0.03807936608791351, 0.007478529587388039, 0.028079399839043617, -0.021603595465421677, -0.02125735394656658, 0.022283902391791344, 0.007505260873585939, -0.000057371660659555346, -0.02719053626060486, -0.02190341241657734, -0.021342799067497253, -0.06198825687170029, 0.003987640608102083, 0.01967291347682476, 0.004337392747402191, -0.02756664715707302, -0.00620312849059701, 0.05553019791841507, -0.02405433915555477, -0.05462324246764183, -0.00807145144790411, 0.014445461332798004, -0.015328405424952507, 0.004392529372125864, -0.03027518279850483, -0.018844803795218468, -0.017951680347323418, 0.005746576003730297, -0.015946686267852783, -0.018906982615590096, 0.0030904128216207027, -0.03913296014070511, 0.02569604106247425, 0.0187420304864645, -0.006400160491466522, 0.018183071166276932, 0.05876512452960014, 0.016825605183839798, -0.04092642292380333, 0.015650136396288872, -0.024945206940174103, -0.019981320947408676, -0.04240112751722336, -0.06858174502849579, -0.003271588822826743, 0.0009264235850423574, -0.004395421594381332, 0.006739914882928133, 0.031642213463783264, 0.007632359396666288, -0.008252393454313278, 0.008595608174800873, 0.02719898708164692, -0.031404633074998856, 0.0631718561053276, 0.010109872557222843, 0.012861649505794048, -0.03458356112241745, -0.019814085215330124, 0.03533060476183891, -0.009420160204172134, -0.00031711073825135827, 0.031142491847276688, 0.010120615363121033, -0.040863778442144394, -0.024866675958037376, 0.045426253229379654, 0.011875736527144909, 0.006519349757581949, 0.02311350218951702, 0.010522963479161263, 0.018918123096227646, -0.04163740202784538, 0.027173452079296112, -0.038272205740213394, 0.012401227839291096, -0.027111973613500595, -0.04509979113936424, 0.0021370393224060535, -0.027248691767454147, 0.008991648443043232, 0.013203863985836506, -0.040834058076143265, -0.005451424513012171, -0.012910700403153896, 0.0032217013649642467, -0.029570473358035088, 0.04691069573163986, 0.06929317861795425, -0.01510553527623415, 0.030316950753331184, -0.009618859738111496, -0.006069819442927837, -0.005081443581730127, 0.015768609941005707, 0.024112384766340256, 0.026030760258436203, -0.0031278650276362896, -0.019893037155270576, -0.01263368409126997, 0.006165791302919388, 0.007869903929531574, -0.050757620483636856, -0.005255538038909435, 0.02870381623506546, -0.013976448215544224, -0.03690435364842415, 0.017766280099749565, -0.007598563097417355, -0.012687192298471928, 0.02990548126399517, -0.029115889221429825, -0.048372820019721985, -0.01742425560951233, 0.01633494533598423, -0.026671122759580612, -0.0064669945277273655, -0.018891112878918648, 0.011800195090472698, 0.006916906218975782, 0.018731648102402687, 0.011890138499438763, -0.01853903941810131, -0.022820254787802696, 0.026411887258291245, 0.008031364530324936, -0.04474421590566635, -0.04311831295490265, -0.012487312778830528, 0.022705504670739174, -0.040809232741594315, -0.029627442359924316, 0.03469740226864815, -0.0377059280872345, -0.010798649862408638, -0.043295037001371384, -0.004511062055826187, -0.022883953526616096, 0.005394593812525272, 0.05854117497801781, -0.01768745481967926, 0.026912713423371315, 0.007863910868763924, -0.02735568769276142, -0.02144741453230381, 0.01680256985127926 ]
Introducing Agents.js: Give tools to your LLMs using JavaScript
nsarrazin
July 24, 2023
agents-js
agents, javascript, web
https://huggingface.co/blog/agents-js
Passing input files to the agent 🖼️ The agent can also take input files to pass along to the tools. You can pass an optional FileList to generateCode and evaluateCode as such: If you have the following html: html <input id="fileItem" type="file" /> Then you can do: ts const agent = new HfAgent(HF_ACCESS_TOKEN); const files = document.getElementById("fileItem").files; // FileList type const code = agent.generateCode( "Caption the image and then read the text out loud.", files ); Which generated the following code when passing an image: ts // code generated by the LLM async function generate(image) { const caption = await imageToText(image); message("First we caption the image", caption); const output = await textToSpeech(caption); message("Then we read the caption out loud", output); return output; }
[ 0.02607821114361286, -0.0049974992871284485, -0.0080345394089818, 0.023528972640633583, 0.09272468090057373, 0.0005735813174396753, -0.024663668125867844, 0.03690403327345848, 0.04663205146789551, -0.023099515587091446, -0.050455063581466675, 0.009426637552678585, -0.035478245466947556, -0.025648411363363266, -0.00842217542231083, -0.027371050789952278, 0.03269166126847267, 0.02728179283440113, -0.02771800383925438, 0.04230500012636185, -0.013254285790026188, -0.026217376813292503, 0.031063880771398544, -0.035649530589580536, -0.005627134814858437, -0.021860361099243164, -0.032287780195474625, -0.04214330390095711, 0.017230547964572906, 0.013682444579899311, -0.0035135613288730383, -0.0378047451376915, -0.04000497981905937, -0.013877762481570244, 0.026452938094735146, 0.0007225502049550414, -0.10975433140993118, -0.006636145990341902, -0.0074323127046227455, -0.02938692457973957, -0.002034822478890419, -0.04713791236281395, -0.021662741899490356, 0.07790976017713547, -0.06262663006782532, 0.034036047756671906, -0.10208804160356522, -0.002285677008330822, 0.014411602169275284, 0.03456607460975647, 0.03343936800956726, 0.12493099272251129, 0.016127627342939377, -0.0059897517785429955, 0.05610663443803787, 0.026790890842676163, -0.005239871796220541, -0.1042710468173027, -0.04037636145949364, 0.06432370096445084, 0.019008059054613113, -0.004827237222343683, 0.00755234993994236, 0.0850977748632431, 0.07789509743452072, 0.03976710885763168, 0.03977867588400841, 0.013189727440476418, -0.01544535905122757, -0.050943873822689056, 0.0004006775270681828, 0.018103010952472687, -0.019206862896680832, -0.05187873914837837, 0.04160923510789871, -0.02577703259885311, -0.08017073571681976, 0.05534396693110466, 0.09503939002752304, 0.08662651479244232, 0.053846221417188644, 0.019342288374900818, 0.07771024107933044, 0.06670607626438141, 0.008094190619885921, 0.03951866552233696, 0.04518412798643112, 0.014583011157810688, -0.04369944706559181, -0.005973702296614647, 0.04517671465873718, -0.11989223212003708, -0.10909362882375717, 0.02104843780398369, 0.1271197646856308, 0.04844168573617935, 0.011469202116131783, 0.06970186531543732, -0.0016490801936015487, 0.04346385970711708, -0.03519882634282112, 0.02727605029940605, -0.02000872604548931, -0.07865961641073227, -0.023734498769044876, -0.011566069908440113, -0.011311914771795273, -0.07425472885370255, -0.03502355515956879, 0.007081693969666958, 0.05425679683685303, -0.011083035729825497, 0.03302370756864548, 0.012954474426805973, -0.025379663333296776, -0.04716852679848671, 0.006458471063524485, 0.05716212838888168, -0.04281044006347656, 0.06353626400232315, 0.014970878139138222, 0.0308673195540905, 0.031129958108067513, 0.008063258603215218, 0.005922907032072544, 0.004055298864841461, -0.010885834693908691, -0.010362380184233189, -0.05137602612376213, -0.0791776031255722, 0.044965364038944244, 0.008135796524584293, 0.011789842508733273, 0.09200230240821838, 0.027459124103188515, -0.05123145133256912, -0.03227858990430832, -0.08275820314884186, 0.030970970168709755, 0.07826662063598633, 0.05656679719686508, -0.0077909729443490505, -0.03929820656776428, -0.06065940856933594, -0.01377164851874113, 0.01761624962091446, 0.020434850826859474, 0.0386706180870533, 0.04101129248738289, 0.08465370535850525, -0.0537356473505497, 0.08924109488725662, 0.03600448742508888, -0.011861786246299744, 0.013043972663581371, 0.0502854585647583, 0.07535625249147415, 0.0387527160346508, -0.006820215843617916, 0.01790752448141575, -0.0017544355941936374, 0.08065076172351837, -0.08449199050664902, 0.02486145682632923, -0.06635354459285736, -0.0034905378706753254, -0.04398895055055618, 0.011453910730779171, 0.01878196932375431, 0.01215312909334898, -0.015754271298646927, -0.04695620387792587, -0.01807623729109764, -0.05612213909626007, 0.09180939942598343, 0.0353165827691555, -0.015163412317633629, 0.023436183109879494, 0.08011926710605621, -0.05349363014101982, -0.03714396804571152, 0.06426165252923965, 0.006765862926840782, 0.0006594943115487695, 0.04533134028315544, -0.05495016649365425, 0.06989242881536484, -0.037548504769802094, 0.012007689103484154, -0.021609371528029442, -0.04000892490148544, -0.013681776821613312, 0.06339959055185318, -0.04345274344086647, 0.012629557400941849, -0.0293563399463892, 0.027858704328536987, 0.10906481742858887, 0.045469049364328384, 0.056116409599781036, 0.04662654548883438, 0.011808142997324467, 0.03184417262673378, -0.027055498212575912, -0.014113477431237698, 0.030564891174435616, 0.03209596127271652, 0.023151613771915436, 0.033475931733846664, 0.08778775483369827, 0.016215279698371887, -0.0074853901751339436, 0.06424716860055923, -0.003952311351895332, 0.03260805085301399, -0.023099485784769058, -0.028027309104800224, -0.051353663206100464, 0.005310640204697847, -0.03948817402124405, 0.10334999114274979, -0.017414366826415062, 0.0423225499689579, -0.04466088116168976, 0.0035263956524431705, 0.08126784861087799, -0.017463283613324165, 0.020776258781552315, 0.04351531341671944, -0.08211880922317505, -0.05093441903591156, -0.029751624912023544, -0.0355517640709877, -0.00020414518075995147, -0.05255623906850815, 0.00840725563466549, 0.015048723667860031, 0.02710438333451748, -0.04333048686385155, -0.008503605611622334, -0.003132781945168972, -0.05792948231101036, -0.05709168314933777, -0.009442591108381748, -0.044312819838523865, 0.01883888430893421, 0.07235508412122726, -0.00787969771772623, 0.026114899665117264, -0.05026669427752495, -0.07371827960014343, 0.08574271202087402, -0.0553426668047905, -0.08468963205814362, 0.01893799751996994, -0.04845493659377098, 0.02457471750676632, -0.052114348858594894, -0.027918415144085884, 0.03179421275854111, -0.05718596652150154, 0.018985452130436897, -0.03760402277112007, -0.006913438439369202, -0.015883488580584526, -0.039840783923864365, 0.02214115299284458, 0.0070219687186181545, -0.035680487751960754, 0.034878116101026535, 0.0016595353372395039, 0.004506675060838461, 0.008615081198513508, 0.022861311212182045, 0.0053942338563501835, 0.055505719035863876, 0.00017544167349115014, -0.00827211793512106, -0.02073894627392292, -0.006617290899157524, 0.012562121264636517, -0.021575920283794403, 0.010056445375084877, 0.0038451231084764004, 0.01819305308163166, -0.027782276272773743, -0.07096587121486664, -0.0616452731192112, 0.007535673212260008, 0.03746028244495392, 0.040102023631334305, 0.016279982402920723, -0.010984326712787151, -0.027747204527258873, -0.04641713947057724, -0.022102799266576767, 0.03344481810927391, -0.027331216260790825, 0.004361952189356089, 0.04144273325800896, -0.07912365347146988, 0.027922993525862694, 0.011261455714702606, -0.042701683938503265, 0.01708051934838295, 0.00035202421713620424, -0.022762741893529892, -0.016356509178876877, -0.07303350418806076, 0.027761047706007957, -0.011183521710336208, 0.02343873493373394, 0.03463165834546089, -0.025399792939424515, 0.07490836828947067, -0.032364726066589355, -0.016607392579317093, 0.032050300389528275, 0.005597603973001242, 0.02636197954416275, -0.003267633728682995, -0.015331882052123547, -0.04294676333665848, -0.004113989416509867, -0.028085144236683846, 0.043879177421331406, 0.02221495471894741, -0.003481292398646474, -0.047657184302806854, 0.007531639654189348, 0.010932371020317078, -0.009857219643890858, 0.027125651016831398, -0.01850314997136593, 0.005024268291890621, 0.009939565323293209, -0.02409413643181324, -0.01086442731320858, 0.045364782214164734, -0.0157703198492527, 0.014643518254160881, 0.009702990762889385, -0.03549649938941002, -0.03749215230345726, 0.08082756400108337, -0.02260759472846985, -0.03613383695483208, 0.004274988546967506, 0.02403099276125431, -0.007912308908998966, -0.020530475303530693, -0.005673305131494999, 0.01728777214884758, -0.019773591309785843, 0.014776070602238178, -0.011474835686385632, 0.017336655408143997, -0.04549207538366318, -0.03501371294260025, 0.0028161245863884687, -0.004429477266967297, 0.027321405708789825, -0.026319434866309166, -0.0032640162389725447, 0.018385088071227074, 0.04739011451601982, 0.02762281522154808, -0.0413278266787529, -0.04813270643353462, -0.05995786562561989, -0.0009369485196657479, -0.0029994749929755926, -0.045075759291648865, 0.0669640600681305, 0.01165321096777916, -0.020465701818466187, 0.025210728868842125, 0.03320743516087532, 0.023782135918736458, 0.02520066499710083, 0.035716839134693146, -0.008495583198964596, 0.0029912677127867937, -0.021560315042734146, -0.01572761870920658, -0.01736210100352764, 0.05113024264574051, -0.017724279314279556, 0.02616625837981701, 0.03211314603686333, -0.008943053893744946, 0.025003787130117416, -0.01043649110943079, -0.0053748455829918385, 0.044622451066970825, -0.020386122167110443, 0.0037937078159302473, -0.018801039084792137, 0.019160553812980652, -0.048114653676748276, 0.009881308302283287, -0.021059371531009674, -0.010262169875204563, 0.010614996775984764, -0.004932324402034283, 0.026083815842866898, -0.022938823327422142, 0.014012210071086884, -0.0012113996781408787, -0.024178778752684593, 0.04035697132349014, 0.007383969612419605, -0.005416175350546837, 0.001315338653512299, 0.00749549875035882, -0.0021044837776571512, 0.03142969682812691, -0.01249742228537798, -0.0084120137616992, -0.06400956213474274, -0.0226898156106472, 0.0009263232350349426, -0.03475435450673103, 0.012550381012260914, -0.008297782391309738, -0.027618613094091415, -0.017211265861988068, -0.016303976997733116, -0.049732521176338196, -0.06734081357717514, -0.017200110480189323, 0.014269798062741756, 0.042561840265989304, -0.011465780436992645, 0.0111346784979105, -0.005633863620460033, -0.0027426467277109623, 0.020863106474280357, 0.010951748117804527, -0.014599531888961792, -0.00030847504967823625, 0.0017213801620528102, 0.005245671141892672, -0.012408476322889328, -0.034130215644836426, -0.008268099278211594, 0.020284997299313545, -0.030522460117936134, -0.03255792707204819, 0.007166065275669098, 0.01692291535437107, -0.0036371557507663965, 0.03561313822865486, 0.0037210588343441486, -0.008076457306742668, -0.009793827310204506, 0.03185414522886276, -0.017703482881188393, 0.004031844902783632, -0.006860311608761549, -0.014691130258142948, -0.02896980382502079, 0.002898041158914566, -0.026169905439019203, -0.003960835747420788, -0.019563181325793266, -0.0033444156870245934, 0.012112230062484741, 0.013623454608023167, 0.017798570916056633, -0.02631811611354351, 0.0006921103922650218, -0.012302679941058159, 0.010481024160981178, -0.022458141669631004, -0.013406828977167606, -0.05366440489888191, -0.01923232525587082, -0.020999200642108917, 0.017608938738703728, 0.028724120929837227, -0.025729546323418617, -0.05587724968791008, -0.007315352559089661, 0.003774594748392701, 0.03811265155673027, -0.03843889757990837, -0.0016065777745097876, -0.008576487191021442, -0.03886666148900986, 0.05395226180553436, -0.06408928334712982, 0.02867056243121624, -0.025938883423805237, 0.08085819333791733, 0.025441788136959076, -0.004924518521875143, 0.01558411493897438, -0.05274825915694237, -0.03688657656311989, -0.0643293485045433, -0.04631448909640312, -0.024665603414177895, -0.04181898012757301, 0.03576065972447395, 0.011701235547661781, 0.02770426496863365, 0.013463074341416359, 0.043108705431222916, 0.07721904665231705, 0.01041318103671074, -0.004616795107722282, -0.03776213899254799, -0.055429745465517044, -0.054281335324048996, 0.0371164046227932, -0.036724623292684555, 0.014220679178833961, -0.016874363645911217, -0.014543191529810429, -0.0331726036965847, 0.0340581014752388, -0.028911473229527473, -0.0713232234120369, 0.018125634640455246, 0.0016380194574594498, -0.0015652257716283202, 0.02462245151400566, -0.03185474872589111, -0.029019352048635483, 0.03753850609064102, -0.008609451353549957, 0.00532402703538537, -0.020097026601433754, 0.0466185137629509, 0.04559977352619171, 0.06541357189416885, 0.015458351001143456, 0.04318789020180702, -0.005785117857158184, 0.005832540802657604, 0.027022914960980415, -0.020028218626976013, 0.03660796582698822, -0.04542200267314911, 0.047653403133153915, 0.010012153536081314, -0.07208538800477982, -0.014768214896321297, -0.00788929220288992, -0.0008624499896541238, 0.000027888951080967672, -0.02030189149081707, 0.048164572566747665, 0.04321809858083725, -0.02752506732940674, 0.011521457694470882, 0.028244469314813614, 0.020983509719371796, 0.014915314503014088, -0.019046299159526825, -0.010343078523874283, -0.045326050370931625, -0.01215087715536356, 0.07410936802625656, -0.00262457481585443, -0.026960089802742004, -0.04156486317515373, -0.016415415331721306, -0.08353374153375626, -0.02306021936237812, 0.0012136476580053568, 0.018214263021945953, -0.024175481870770454, -0.017443424090743065, 0.01639528013765812, -0.012722752057015896, 0.0041054608300328255, 0.006386295892298222, 0.03637486323714256, -0.026026256382465363, -0.011629792861640453, 0.0213392935693264, -0.05081687122583389, 0.004239558707922697, 0.014328951947391033, 0.06199950352311134, 0.026256205514073372, 0.0017456836067140102, 0.044160738587379456, 0.02228236012160778, -0.03059987537562847, 0.040232837200164795, -0.00015366109437309206, 0.01895940862596035, 0.010958973318338394, 0.03256748244166374, 0.00860385037958622, 0.052536893635988235, -0.047393038868904114, -0.044716816395521164, -0.0038770318496972322, -0.030987361446022987, 0.032990697771310806, 0.0016916751628741622, 0.0006581945926882327, -0.01534087024629116, -0.009096929803490639, 0.05963470786809921, 0.013426068238914013, 0.010596821084618568, -0.0037076410371810198, 0.0053354608826339245, 0.034223947674036026, 0.009959179908037186, -0.009295246563851833, -0.016980217769742012, -0.022792767733335495, -0.0034914794377982616, 0.031271792948246, -0.012613826431334019, -0.013340308330953121, 0.08710289746522903, -0.04134510084986687, 0.03180321678519249, 0.002834702143445611, -0.014168662019073963, 0.01272255927324295, -0.00805570650845766, -0.01779121719300747, -0.025667419657111168, -0.016258282586932182, -0.02568228542804718, 0.0070068445056676865, -0.0027744616381824017, -0.01642170548439026, -0.026166856288909912, -0.0057867225259542465, 0.020915212109684944, 0.013893314637243748, -0.009031878784298897, -0.01998545043170452, 0.01436410378664732, 0.0061995345167815685, 0.00009272634633816779, 0.024890094995498657, -0.05160180479288101, -0.015995552763342857, -0.011125738732516766, -0.019375614821910858, 0.004141863901168108, 0.03299544379115105, 0.05456296727061272, -0.007596610113978386, -0.008221314288675785, 0.03638105466961861, -0.01019678171724081, 0.011163699440658092, -0.0025272893253713846, 0.007799594197422266, -0.00015336046635638922, -0.0001953445462277159, 0.0324004665017128, 0.00617491127923131, -0.019746817648410797, -0.03704270347952843, 0.004200574941933155, -0.02193721942603588, -0.008612411096692085, -0.010951279662549496, 0.027041982859373093, 0.0054748691618442535, -0.007176517508924007, -0.005723968613892794, 0.004404861479997635, -0.009775126352906227, 0.03317087143659592, -0.018468715250492096, 0.01862889900803566, -0.0007304366445168853, -0.012685269117355347, 0.040663011372089386, 0.023517156019806862, 0.02266213297843933, 0.059834904968738556, 0.0014328056713566184, -0.028274748474359512, -0.021610599011182785, 0.0348355770111084, -0.01053178496658802, 0.02298681251704693, 0.01646764948964119, 0.022401848807930946, 0.007660429459065199, 0.017639942467212677, 0.06303509324789047, -0.0025092680007219315, -0.003938728477805853, 0.011846612207591534, -0.015945997089147568, -0.013335732743144035, -0.006244184449315071, 0.0002266526862513274, 0.005008936394006014, -0.03548445552587509, -0.0077259838581085205, -0.025368278846144676, 0.0029525349382311106, -0.06855712085962296, 0.017473217099905014, 0.05006762221455574, -0.022097840905189514, 0.009159445762634277, -0.04760950058698654, -0.029033806174993515, 0.03845261409878731, -0.028784483671188354, 0.03263744339346886, 0.032574668526649475, 0.03825609013438225, -0.001351214712485671, 0.011074173264205456, 0.031370002776384354, -0.0025299564003944397, -0.009671284817159176, -0.013615235686302185, -0.010761023499071598, -0.007882279343903065, 0.042642250657081604, 0.03579816222190857, 0.04954734444618225, -0.019714895635843277, -0.02566814422607422, -0.01972447708249092, 0.019132278859615326, 0.011857698671519756, -0.006854022853076458, -0.04062018170952797, -0.007390405051410198, -0.02364342100918293, 0.05842188373208046, -0.034328654408454895, 0.025053568184375763, -0.015428307466208935, -0.044135015457868576, -0.02050786092877388, 0.029689572751522064, -0.04281139373779297, 0.01908853091299534, -0.004849368706345558, -0.06416743993759155, -0.011627272702753544, -0.03345635533332825, -0.017689140513539314, 0.04782653599977493, -0.024733273312449455, 0.012401744723320007, -0.003580099670216441, 0.024369023740291595, -0.05057253688573837, 0.050759442150592804, -0.017710816115140915, -0.06259947270154953, 0.06358788162469864, 0.05389656871557236, -0.03043450228869915, -0.06011394411325455, 0.014223271980881691 ]
Introducing Agents.js: Give tools to your LLMs using JavaScript
nsarrazin
July 24, 2023
agents-js
agents, javascript, web
https://huggingface.co/blog/agents-js
Usage The library exposes the HfAgent object which is the entry point to the library. You can instantiate it like this: ts import { HfAgent } from "@huggingface/agents"; const HF_ACCESS_TOKEN = "hf_..."; // get your token at https://huggingface.co/settings/tokens const agent = new HfAgent(HF_ACCESS_TOKEN); Afterward, using the agent is easy. You give it a plain-text command and it will return some messages. ts const code = await agent.generateCode( "Draw a picture of a rubber duck with a top hat, then caption this picture." ); which in this case generated the following code js // code generated by the LLM async function generate() { const output = await textToImage("rubber duck with a top hat"); message("We generate the duck picture", output); const caption = await imageToText(output); message("Now we caption the image", caption); return output; } Then the code can be evaluated as such: ts const messages = await agent.evaluateCode(code); The messages returned by the agent are objects with the following shape: ts export interface Update { message: string; data: undefined | string | Blob; where message is an info text and data can contain either a string or a blob. The blob can be used to display images or audio. If you trust your environment (see warning), you can also run the code directly from the prompt with run : ts const messages = await agent.run( "Draw a picture of a rubber duck with a top hat, then caption this picture." );
[ 0.012205418199300766, -0.02516254223883152, 0.01379526499658823, -0.048299528658390045, 0.07785163819789886, 0.0028880531899631023, 0.002763869473710656, 0.06255949288606644, 0.003520500846207142, -0.03035137802362442, -0.06736313551664352, -0.007815316319465637, -0.00526805454865098, 0.07450707256793976, 0.0327911339700222, -0.06995357573032379, 0.07656335085630417, -0.009904849343001842, -0.03527137637138367, 0.037746116518974304, 0.009338660165667534, -0.05170060321688652, 0.01793850213289261, -0.040687236934900284, -0.005949437152594328, -0.08444495499134064, 0.0372113361954689, 0.01990102045238018, -0.024516930803656578, 0.01998899318277836, -0.07583850622177124, -0.06693102419376373, -0.014811873435974121, -0.049243196845054626, 0.0623757503926754, 0.029250219464302063, -0.11152002215385437, 0.020398644730448723, 0.021039415150880814, -0.009220391511917114, 0.04251352697610855, -0.041215889155864716, -0.016935424879193306, 0.0453508123755455, -0.08760902285575867, -0.0283805001527071, -0.14925932884216309, 0.08069825917482376, -0.028972387313842773, 0.00865128729492426, -0.03916224092245102, 0.08570846170186996, -0.013067823834717274, 0.004842257127165794, 0.058281250298023224, 0.014348640106618404, 0.008998383767902851, -0.09601384401321411, -0.006457685027271509, 0.011306519620120525, 0.01854294165968895, -0.011455900967121124, -0.004179174546152353, 0.05700352042913437, 0.059975940734148026, 0.0430760532617569, 0.009288107044994831, -0.007060594391077757, -0.004758572671562433, -0.03580716624855995, 0.024093469604849815, 0.03913857042789459, -0.03275354951620102, -0.05092135816812515, 0.01577816903591156, -0.005439342465251684, -0.055624477565288544, 0.06695111840963364, 0.041269607841968536, 0.026425564661622047, 0.039444200694561005, 0.015535284765064716, 0.06411455571651459, 0.07141755521297455, 0.023651352152228355, 0.05499647557735443, 0.014383213594555855, -0.017999226227402687, -0.05561750754714012, 0.041210830211639404, -0.010470584966242313, -0.1295652836561203, -0.05036569759249687, 0.013920181430876255, 0.05001966282725334, 0.006886907387524843, 0.03243216499686241, 0.10457732528448105, 0.019855136051774025, -0.014777793549001217, -0.052554965019226074, -0.01573796197772026, 0.005233499221503735, -0.061245258897542953, -0.0013391172979027033, 0.0007843262865208089, -0.019451364874839783, -0.055403366684913635, -0.03803211450576782, -0.04918921738862991, 0.06480498611927032, -0.044470980763435364, 0.03288028761744499, 0.04302263632416725, -0.04564732685685158, 0.04045817255973816, -0.001752953976392746, 0.07709452509880066, -0.027827519923448563, 0.059307217597961426, 0.040215276181697845, 0.08832390606403351, 0.017199501395225525, -0.04206936061382294, 0.03140473738312721, 0.09898480027914047, -0.016606425866484642, 0.008479557931423187, -0.0028716621454805136, -0.026931095868349075, 0.023533038794994354, -0.01721351034939289, 0.059617165476083755, 0.08252628147602081, -0.005407389253377914, -0.005194552708417177, 0.030344247817993164, -0.13054485619068146, 0.010767621919512749, 0.052222855389118195, 0.042330533266067505, -0.024160578846931458, -0.008650495670735836, -0.011066993698477745, -0.005690867081284523, 0.0008135820971801877, -0.07126776874065399, 0.034405361860990524, -0.004442398436367512, 0.05311354622244835, -0.03422168642282486, 0.046387091279029846, 0.016470178961753845, 0.0361003652215004, -0.006984582170844078, 0.03542376682162285, 0.03496433421969414, 0.045807454735040665, -0.02430124394595623, -0.0003853282833006233, -0.005296657793223858, 0.007706782780587673, -0.06677509844303131, -0.032680656760931015, 0.026024337857961655, -0.03870215639472008, -0.030681492760777473, 0.021772781386971474, -0.005679743830114603, -0.04225907474756241, 0.03430566564202309, -0.093800388276577, -0.014029448851943016, -0.0038527795113623142, 0.06714954972267151, 0.06254616379737854, 0.006895448546856642, -0.02262825332581997, 0.0373290553689003, 0.0065706511959433556, -0.06112154200673103, 0.10673772543668747, 0.012565639801323414, 0.0036509737838059664, 0.042213812470436096, -0.04295216500759125, 0.04061158373951912, -0.03406790643930435, -0.0014672242105007172, -0.025242283940315247, -0.0008411005837842822, -0.005287120584398508, 0.07794509083032608, -0.018085628747940063, 0.03238200023770332, -0.05074160173535347, -0.03542188182473183, 0.09307673573493958, 0.01202918030321598, 0.04764930158853531, 0.07539403438568115, 0.029453150928020477, 0.03054714947938919, -0.03597928211092949, -0.07698362320661545, -0.008125877007842064, 0.026302890852093697, 0.003297993913292885, 0.03136644512414932, 0.03262041509151459, 0.03488820046186447, -0.0988365039229393, 0.05437580123543739, -0.03282693400979042, 0.007943578995764256, -0.0898149386048317, -0.031550321727991104, -0.011320349760353565, 0.0180780291557312, 0.009724043309688568, 0.1292084902524948, -0.06960408389568329, 0.018388085067272186, -0.05451624095439911, 0.016715001314878464, 0.03979291766881943, 0.052621226757764816, 0.038894303143024445, 0.04643111303448677, -0.08344454318284988, -0.059558428823947906, -0.05251769721508026, -0.06225656345486641, 0.03161156177520752, -0.08939716964960098, -0.05317476764321327, 0.07505935430526733, 0.0052283103577792645, -0.04957973584532738, -0.035754162818193436, 0.059555307030677795, -0.041324470192193985, -0.08507881313562393, -0.005640281364321709, -0.0018456120742484927, 0.013302261009812355, 0.00996614620089531, 0.017296500504016876, -0.024643078446388245, -0.019030027091503143, -0.09929317981004715, 0.07939654588699341, -0.011533034034073353, -0.0457829125225544, 0.017106814309954643, 0.027521539479494095, 0.0011741102207452059, 0.001555575174279511, -0.050826385617256165, 0.056556206196546555, -0.04544878378510475, -0.009417634457349777, -0.05926912650465965, -0.044702425599098206, -0.043064698576927185, -0.0364576019346714, -0.00408373586833477, 0.00983717292547226, 0.00032349859247915447, 0.04089254513382912, 0.023545505478978157, -0.02976514957845211, 0.025615880265831947, 0.020061498507857323, -0.005626864265650511, 0.042214736342430115, 0.01567857898771763, -0.04372695833444595, -0.007502689026296139, -0.03276805579662323, 0.017636558040976524, -0.009092936292290688, 0.048379380255937576, 0.015546887181699276, 0.016245825216174126, -0.0038983537815511227, -0.012713951990008354, -0.04382173717021942, -0.015197155997157097, 0.03299235925078392, 0.019232211634516716, 0.04386556148529053, 0.031440284103155136, -0.020221369341015816, -0.028614647686481476, -0.0063393618911504745, 0.06525972485542297, -0.00044578147935681045, -0.02482232078909874, 0.04418265447020531, -0.0487738773226738, -0.0021714961621910334, 0.021004656329751015, -0.003513714298605919, -0.015087449923157692, -0.0002706717059481889, -0.002226947108283639, -0.042549263685941696, -0.08202528953552246, 0.010580732487142086, 0.008030937984585762, 0.011025768704712391, 0.015600432641804218, -0.027847975492477417, 0.07251051068305969, -0.015900976955890656, -0.003953562583774328, 0.012949325144290924, -0.00160639185924083, 0.0055634500458836555, 0.022873615846037865, -0.005691983737051487, -0.035981956869363785, -0.02887474000453949, -0.03499128296971321, 0.021327298134565353, 0.049815598875284195, 0.009788132272660732, -0.026830807328224182, 0.015893807634711266, 0.0030492355581372976, 0.020772824063897133, 0.012655218131840229, -0.04756021127104759, 0.004529682919383049, 0.031494140625, -0.022209517657756805, -0.017285803332924843, 0.04699269309639931, -0.028827281668782234, 0.036149464547634125, 0.013139041140675545, -0.061086028814315796, -0.004336537793278694, -0.009284961968660355, -0.004717096220701933, -0.013899257406592369, 0.012777378782629967, 0.009064325131475925, 0.0058134011924266815, -0.020627085119485855, -0.02266855351626873, 0.03959847614169121, -0.015457240864634514, -0.0017914859345182776, -0.0023054718039929867, 0.013834494166076183, -0.03234264254570007, -0.03443077206611633, 0.020487315952777863, 0.006472840905189514, 0.040681567043066025, -0.01973249390721321, 0.023390406742691994, 0.011360753327608109, 0.015226088464260101, -0.011637531220912933, -0.04535428062081337, -0.07929281145334244, -0.017270855605602264, -0.04080600291490555, -0.014423244632780552, -0.03554123640060425, 0.061606988310813904, 0.00459629762917757, -0.002136311260983348, 0.016249828040599823, 0.035021476447582245, 0.020060349255800247, 0.061808690428733826, 0.024837981909513474, 0.00678254896774888, -0.013013554736971855, -0.02724594809114933, -0.027110207825899124, -0.024729326367378235, 0.06819268316030502, -0.016333721578121185, 0.008295968174934387, -0.004820432513952255, 0.0049416800029575825, 0.004693221766501665, -0.021021496504545212, 0.009521447122097015, 0.03787638247013092, -0.005073833279311657, -0.00529243890196085, -0.015841400250792503, 0.038532618433237076, -0.023797068744897842, 0.01629079505801201, -0.027241529896855354, -0.05026107653975487, 0.030904866755008698, 0.014881511218845844, -0.0032632164657115936, 0.026170821860432625, 0.03625951707363129, 0.019003696739673615, -0.006130977533757687, 0.0002695638395380229, 0.03725457936525345, 0.00631667859852314, -0.007218561135232449, -0.042319364845752716, -0.03910503908991814, 0.04827411100268364, -0.024190887808799744, -0.02275840938091278, -0.03661520034074783, -0.02343559078872204, 0.0007355615380220115, -0.009487041272222996, 0.0062147774733603, 0.00026889119180850685, -0.006507393904030323, -0.052207306027412415, -0.025589320808649063, -0.028099291026592255, -0.016987619921565056, -0.040237024426460266, 0.0029914125334471464, 0.02701653353869915, -0.019706636667251587, 0.016158584505319595, 0.03162805736064911, -0.0225216057151556, -0.006610986776649952, -0.010591346770524979, -0.03064192645251751, 0.034156642854213715, 0.018257902935147285, 0.0005762315704487264, 0.01155921071767807, -0.02804834209382534, 0.005955162923783064, -0.0037909159436821938, -0.05295335501432419, -0.006354113109409809, -0.023180505260825157, 0.01469769049435854, -0.010279913432896137, 0.01700461283326149, 0.004401762504130602, -0.018043844029307365, 0.01833508163690567, -0.013442887924611568, 0.005279764533042908, 0.02420935034751892, 0.01231421623378992, -0.020225809887051582, -0.009617879055440426, 0.06170105189085007, 0.01040113065391779, 0.015821129083633423, 0.015267168171703815, 0.006982543971389532, 0.013863897882401943, -0.02387148141860962, 0.024354955181479454, 0.000768901314586401, 0.024736061692237854, -0.006807686761021614, 0.029018189758062363, -0.015851140022277832, -0.030057989060878754, -0.015812773257493973, -0.015209833160042763, -0.02355130761861801, -0.008180178701877594, 0.022789273411035538, -0.03006266988813877, -0.06494676321744919, 0.0208420567214489, 0.04361072555184364, 0.014979309402406216, -0.020209910348057747, -0.012219732627272606, -0.023409325629472733, -0.0239582322537899, 0.03565185144543648, -0.045709796249866486, 0.017098618671298027, -0.0051125334575772285, 0.09388019144535065, 0.03624408692121506, 0.027755828574299812, 0.0327831394970417, -0.01576153002679348, -0.04040614515542984, -0.01505342684686184, -0.019017037004232407, -0.017898326739668846, -0.051924072206020355, -0.03201325237751007, -0.001430601580068469, 0.015250957570970058, -0.008735007606446743, 0.04495726525783539, 0.07233097404241562, 0.021949680522084236, -0.011240229941904545, 0.01079594623297453, -0.028874471783638, -0.010859950445592403, 0.010289114899933338, 0.022183794528245926, -0.024840237572789192, -0.013625800609588623, -0.018944380804896355, 0.007917636074125767, -0.010041322559118271, -0.01670682802796364, -0.03740021213889122, 0.003215012839064002, 0.010875735431909561, 0.03217589110136032, 0.04979613795876503, -0.03114756941795349, -0.01850261725485325, -0.01784997060894966, -0.028566261753439903, 0.01733575202524662, -0.022696450352668762, 0.01097477599978447, 0.02644188702106476, 0.03774780407547951, 0.031601857393980026, 0.03653506934642792, -0.01126219891011715, -0.003612854750826955, 0.025826644152402878, 0.009102465584874153, 0.03284149616956711, -0.04922839626669884, 0.03013988956809044, 0.04128803685307503, -0.024851715192198753, 0.008041062392294407, -0.004213751293718815, 0.018793247640132904, -0.03807990252971649, -0.025142336264252663, 0.07674653083086014, 0.07073339074850082, -0.01209611538797617, -0.005400589667260647, 0.006100301630795002, 0.013895262032747269, -0.012722899205982685, -0.001603744807653129, -0.04311167076230049, 0.011571227572858334, -0.005888253916054964, 0.05770544335246086, 0.020020419731736183, 0.003200195962563157, -0.0006826440803706646, -0.005272014532238245, -0.09106219559907913, -0.0363365076482296, 0.02255343832075596, -0.020147666335105896, 0.02589302323758602, -0.03365541249513626, -0.006167202722281218, 0.04111223295331001, 0.01489969901740551, -0.014339487999677658, 0.027227502316236496, -0.01320910919457674, -0.01596260257065296, -0.04045179858803749, -0.03435526788234711, -0.00424948101863265, 0.028808189556002617, 0.05016114190220833, 0.0259188674390316, 0.03640595078468323, 0.043322425335645676, 0.030691783875226974, -0.02300853841006756, 0.020080778747797012, 0.0010497705079615116, 0.07402116805315018, 0.005990967620164156, 0.045428305864334106, 0.03499595820903778, -0.02249881438910961, -0.007479120045900345, -0.04487045854330063, -0.01674722507596016, -0.02161109633743763, 0.05059749260544777, -0.006513537839055061, 0.00841361004859209, 0.0015820201952010393, -0.03388525918126106, 0.043877940624952316, 0.002626823028549552, 0.043101124465465546, -0.021901778876781464, 0.007764502894133329, 0.02162940986454487, -0.0030172441620379686, -0.03507325425744057, 0.009793619625270367, -0.01936095952987671, -0.023974990472197533, 0.052991706877946854, 0.03364349901676178, 0.0037729984614998102, 0.01549876481294632, -0.01541446428745985, 0.029478244483470917, -0.0056999740190804005, 0.008129737339913845, -0.06004124879837036, -0.0051688021048903465, -0.046965666115283966, -0.035352762788534164, -0.006411942187696695, -0.04618176445364952, 0.0033587836660444736, 0.004586692899465561, -0.009387249127030373, 0.004438546486198902, 0.013018722645938396, 0.035912517458200455, 0.016646163538098335, 0.03025892749428749, -0.022900762036442757, -0.026217123493552208, 0.06283906102180481, 0.034429386258125305, -0.00986606627702713, -0.0423365980386734, -0.003600119613111019, 0.016702800989151, -0.0387222096323967, -0.016284072771668434, 0.01670585386455059, 0.041300393640995026, -0.019345244392752647, -0.00438725994899869, 0.06534616649150848, 0.00937399547547102, 0.015377466566860676, 0.005144927650690079, 0.008533653803169727, -0.034835830330848694, -0.01963459700345993, 0.04186167195439339, -0.00761717464774847, -0.023270027711987495, -0.02257664129137993, 0.017742333933711052, -0.01856190524995327, 0.0177022535353899, -0.01096602063626051, 0.03127198666334152, 0.0019844279158860445, -0.02541729249060154, -0.0006684810505248606, -0.008530020713806152, -0.03310944139957428, 0.050157878547906876, -0.03363536670804024, 0.009897883981466293, 0.02169833891093731, -0.033290084451436996, 0.025471564382314682, 0.01893594302237034, 0.046878259629011154, 0.05370555445551872, 0.011903312057256699, -0.07786275446414948, -0.018528742715716362, 0.004322035238146782, 0.020049499347805977, 0.04468867927789688, 0.06268742680549622, 0.011080305092036724, -0.013112235814332962, 0.029446246102452278, 0.056083619594573975, -0.05775708705186844, -0.02118501625955105, -0.03457903489470482, -0.019803600385785103, -0.004355933982878923, -0.03273917734622955, 0.009641711600124836, -0.01597323827445507, -0.005446983966976404, -0.019337806850671768, -0.056580331176519394, -0.02547074295580387, -0.0027660797350108624, 0.02408018708229065, 0.056710563600063324, 0.003240495454519987, 0.011397501453757286, -0.02369244210422039, -0.027091119438409805, 0.039016444236040115, -0.033726707100868225, 0.013401870615780354, 0.027676187455654144, 0.017082028090953827, -0.020542172715067863, -0.007390585262328386, 0.0015371085610240698, 0.018221210688352585, -0.03537172079086304, 0.03847472369670868, 0.004080435261130333, -0.001210243790410459, -0.007568079978227615, 0.04145106300711632, 0.024154802784323692, 0.003767219604924321, 0.011872992850840092, -0.030580664053559303, -0.002432426670566201, -0.012879635207355022, -0.0017296428559347987, -0.037361156195402145, -0.015104319900274277, -0.014948653988540173, 0.04677676036953926, 0.013136419467628002, 0.02433299459517002, 0.0068639349192380905, -0.0022081476636230946, -0.02375900372862816, -0.01095233391970396, -0.01761985383927822, -0.006201484706252813, -0.01197322178632021, -0.03883696720004082, 0.033242449164390564, 0.004214799497276545, -0.004343951120972633, 0.028249697759747505, 0.018474893644452095, 0.0061661917716264725, -0.004887706134468317, 0.0063168625347316265, -0.019711799919605255, 0.022220972925424576, 0.005255422089248896, -0.02469329535961151, 0.07020999491214752, 0.045806609094142914, -0.05227745324373245, -0.0512920618057251, 0.01422942616045475 ]
Introducing Agents.js: Give tools to your LLMs using JavaScript
nsarrazin
July 24, 2023
agents-js
agents, javascript, web
https://huggingface.co/blog/agents-js
Custom LLMs 💬 By default HfAgent will use OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5 hosted Inference API as the LLM. This can be customized however. When instancing your HfAgent you can pass a custom LLM. A LLM in this context is any async function that takes a string input and returns a promise for a string. For example if you have an OpenAI API key you could make use of it like this: ts import { Configuration, OpenAIApi } from "openai"; const HF_ACCESS_TOKEN = "hf_..."; const api = new OpenAIApi(new Configuration({ apiKey: "sk-..." })); const llmOpenAI = async (prompt: string): Promise<string> => { return ( ( await api.createCompletion({ model: "text-davinci-003", prompt: prompt, max_tokens: 1000, }) ).data.choices[0].text ?? "" ); }; const agent = new HfAgent(HF_ACCESS_TOKEN, llmOpenAI);
[ 0.0028440130408853292, 0.023045409470796585, 0.07037066668272018, -0.05540136992931366, 0.05931977182626724, 0.021799135953187943, -0.004544671159237623, 0.09164980053901672, 0.045855406671762466, -0.009837727062404156, -0.0328180268406868, -0.014283702708780766, 0.005154858343303204, 0.06993072479963303, 0.014474363066256046, -0.03529749810695648, 0.057242557406425476, 0.02814474329352379, 0.0010268957121297717, 0.02253717929124832, 0.0176277793943882, 0.03351403772830963, 0.021954301744699478, -0.019780386239290237, -0.05118325725197792, -0.022267024964094162, -0.008498355746269226, 0.07275401800870895, -0.05462009459733963, -0.051226455718278885, -0.032172419130802155, -0.0879143625497818, -0.04282131418585777, -0.029715821146965027, 0.05909380316734314, 0.03985139727592468, -0.07746793329715729, 0.016940442845225334, -0.015661126002669334, -0.014307753182947636, 0.030990304425358772, -0.05433008074760437, -0.03957456722855568, 0.03594490885734558, -0.06782374531030655, 0.01940211094915867, -0.12089318782091141, 0.016796914860606194, -0.019021449610590935, 0.020793739706277847, -0.036027517169713974, 0.1072671189904213, 0.0027426928281784058, 0.017349084839224815, 0.07269439846277237, 0.036802761256694794, -0.028942633420228958, -0.11147826164960861, -0.02819927968084812, 0.04513431712985039, -0.01169739942997694, -0.028934909030795097, -0.047658905386924744, 0.00017704533820506185, 0.06506086885929108, 0.005023900419473648, -0.02771100215613842, -0.07461634278297424, 0.002264035400003195, -0.045943569391965866, 0.06583824753761292, 0.02883962355554104, -0.050651323050260544, -0.03908933699131012, -0.0073715634644031525, -0.05317520350217819, -0.020561223849654198, 0.10316266864538193, 0.002565450733527541, 0.01015945803374052, -0.009501678869128227, -0.06325040012598038, 0.05027227848768234, 0.06391066312789917, -0.10141224414110184, 0.07221716642379761, -0.023232322186231613, -0.05373666062951088, 0.02251572534441948, -0.015896029770374298, -0.01210495550185442, -0.09652766585350037, -0.005733552388846874, 0.027968397364020348, 0.07230567932128906, 0.029920518398284912, 0.08655053377151489, 0.0882943645119667, -0.044100359082221985, 0.0141210425645113, -0.02451319247484207, -0.005271545145660639, -0.05417773872613907, -0.0817829817533493, 0.008237643167376518, 0.035840954631567, -0.0070198108442127705, -0.04846072569489479, -0.07444071024656296, -0.026373231783509254, 0.04423771798610687, 0.012940303422510624, 0.04458610340952873, 0.07523990422487259, -0.06297899782657623, 0.029452843591570854, 0.017655180767178535, 0.021733731031417847, -0.02058452181518078, 0.04159276932477951, 0.01745479181408882, 0.04917687177658081, 0.04080738499760628, -0.004265555180609226, -0.0019163378747180104, 0.09837955981492996, -0.006992684677243233, 0.01763848215341568, 0.036726873368024826, -0.027982797473669052, 0.04374247044324875, -0.04078591987490654, 0.016281913965940475, 0.017863234505057335, -0.015601246617734432, -0.04183563217520714, -0.0024581411853432655, -0.02833637036383152, 0.060843292623758316, 0.05583692714571953, 0.003670736448839307, -0.04702560231089592, -0.01643817126750946, -0.029763568192720413, -0.003259073942899704, 0.02197088673710823, 0.01989431492984295, 0.07268950343132019, 0.015887519344687462, 0.05369318649172783, -0.06443195790052414, 0.08047705143690109, 0.0351913720369339, 0.018781140446662903, 0.08085446059703827, 0.02691260725259781, 0.04761608690023422, 0.021800383925437927, -0.04681598022580147, -0.010983513668179512, 0.0028297605458647013, 0.043652329593896866, -0.04404526203870773, -0.027389630675315857, 0.03642333671450615, -0.020829426124691963, -0.006295044906437397, 0.03122398629784584, -0.018554385751485825, -0.02169855870306492, 0.05055444315075874, 0.020735692232847214, -0.018962668254971504, -0.06456972658634186, 0.0869978666305542, 0.06415961682796478, -0.02047274447977543, 0.015011989511549473, 0.04591440036892891, 0.011154941283166409, -0.005638698115944862, 0.08277580887079239, -0.03213087469339371, 0.018938319757580757, 0.020776648074388504, -0.05591573938727379, 0.05935756117105484, -0.11628931760787964, -0.015471253544092178, -0.024610500782728195, 0.01717109978199005, 0.007955042645335197, 0.066713847219944, -0.04146052524447441, 0.03354461118578911, -0.051209572702646255, -0.006511409301310778, 0.10407377034425735, 0.03388131037354469, 0.03343870863318443, 0.09706752747297287, 0.03347664698958397, 0.024999860674142838, -0.021288780495524406, 0.0016958992928266525, 0.01998819410800934, 0.00839993916451931, -0.028569085523486137, 0.00896012969315052, 0.055294468998909, 0.028960322961211205, -0.06039614602923393, 0.05538191273808479, 0.004694344010204077, 0.003620114177465439, -0.0727168619632721, -0.05281992629170418, -0.062376968562603, 0.04066631942987442, -0.04448339343070984, 0.09694480150938034, -0.07175222784280777, 0.021831026300787926, -0.07360473275184631, -0.03458639979362488, 0.062640480697155, -0.0014595914399251342, -0.011722748167812824, 0.03553766757249832, -0.03574364259839058, -0.018321441486477852, -0.12294191122055054, -0.010516886599361897, 0.03531098738312721, -0.03172936663031578, 0.0013180369278416038, -0.0003337981179356575, 0.01797330379486084, -0.026119794696569443, -0.012751871719956398, 0.06173669546842575, 0.04809653013944626, -0.094126395881176, 0.04047974944114685, 0.028823185712099075, 0.019329562783241272, 0.0013253818033263087, 0.03225896507501602, 0.004101749509572983, 0.03940735012292862, -0.10375545173883438, 0.014228161424398422, -0.0111478790640831, -0.02712884545326233, 0.03614126890897751, -0.0038872186560183764, -0.04165982827544212, 0.007647482678294182, -0.058150939643383026, 0.009168633259832859, -0.046516746282577515, 0.027051066979765892, -0.02595062181353569, 0.02150234580039978, 0.009949288330972195, -0.0202313382178545, 0.029905224218964577, -0.026361702010035515, -0.009823170490562916, 0.04577917233109474, 0.03129120171070099, -0.036915913224220276, 0.005792164243757725, 0.02086092345416546, 0.0053025190718472, 0.08286938816308975, 0.057283271104097366, -0.03407571464776993, -0.0029984654393047094, -0.05801418796181679, 0.03733917698264122, -0.0008259445894509554, 0.02707310952246189, 0.019932549446821213, -0.0016855784924700856, -0.03653931990265846, -0.036985158920288086, -0.0565541572868824, 0.017113709822297096, 0.00731878075748682, 0.024915678426623344, 0.03495434671640396, -0.02604159526526928, -0.021629616618156433, -0.030823074281215668, -0.009866621345281601, 0.04618918523192406, 0.016095919534564018, -0.016749780625104904, 0.02444061078131199, -0.02505617029964924, 0.007532757706940174, 0.03806733340024948, 0.006600646302103996, 0.0058192042633891106, 0.011058255098760128, -0.004567636642605066, -0.019877592101693153, -0.08132817596197128, -0.030405318364501, -0.022752897813916206, -0.017628531903028488, 0.018071690574288368, 0.00801080372184515, 0.057268235832452774, 0.002126425039023161, 0.007471064571291208, 0.014594963751733303, -0.003877660958096385, 0.04577619582414627, 0.04020813852548599, -0.0021064900793135166, -0.03577899560332298, -0.01488504372537136, -0.025821179151535034, -0.01715489663183689, -0.005355989560484886, 0.01849967986345291, -0.0301870945841074, 0.0012556725414469838, -0.006172715686261654, 0.037789665162563324, 0.018706273287534714, -0.010326127521693707, -0.0029034330509603024, 0.02841567061841488, -0.029265644028782845, -0.031081411987543106, 0.035760730504989624, -0.015102283097803593, 0.007104524411261082, 0.0038027805276215076, -0.0314098559319973, 0.010473329573869705, 0.02725864388048649, -0.012731539085507393, 0.011303451843559742, 0.0199891310185194, 0.02015702985227108, -0.02893676795065403, -0.04240460321307182, -0.011730324476957321, 0.016019687056541443, -0.007735146675258875, -0.033309414982795715, -0.008403411135077477, 0.01654084213078022, -0.03249287232756615, -0.05109238252043724, -0.009211030788719654, -0.006962920539081097, -0.015245272777974606, -0.038168322294950485, -0.0018027654150500894, 0.013804199174046516, 0.0071858554147183895, -0.007544141262769699, -0.024013763293623924, -0.08151518553495407, -0.026194704696536064, -0.02621813490986824, 0.007018237374722958, -0.05828731134533882, 0.05380620062351227, 0.047278549522161484, -0.006138581316918135, -0.008377498015761375, 0.014081918634474277, 0.038160163909196854, 0.06625600904226303, 0.01838604360818863, -0.006834160070866346, -0.015082869678735733, -0.009653251618146896, 0.013499153777956963, -0.003291978733614087, 0.07540407031774521, -0.008845283649861813, 0.03927692770957947, 0.04274643212556839, -0.010098917409777641, -0.02074318751692772, 0.015346132218837738, 0.01078064739704132, 0.030515410006046295, -0.015629470348358154, 0.005093802232295275, 0.0041787088848650455, 0.007354262284934521, -0.00472516193985939, 0.019885268062353134, -0.005919866729527712, -0.01891450583934784, 0.03189755231142044, 0.029452545568346977, 0.0048344130627810955, 0.004011825658380985, 0.010001355782151222, 0.03351346030831337, 0.020034248009324074, 0.011451083235442638, -0.008399550803005695, -0.0006014315295033157, -0.036027684807777405, -0.008556624874472618, -0.008066622540354729, 0.04513237252831459, -0.03174286335706711, -0.004174880217760801, 0.005458589643239975, 0.01645265519618988, -0.033372752368450165, -0.007362649776041508, 0.02067408710718155, -0.022372763603925705, 0.014426392503082752, -0.04954533651471138, 0.037523698061704636, -0.07206963747739792, -0.017979025840759277, -0.03648065775632858, -0.008090714924037457, 0.020030537620186806, -0.012581580318510532, -0.029506351798772812, -0.022473076358437538, -0.0006993665592744946, 0.03589934855699539, -0.04745035618543625, -0.01899631880223751, 0.011100334115326405, 0.0753467008471489, -0.02404235303401947, 0.0000691228051437065, -0.07152032852172852, 0.021953348070383072, 0.016062522307038307, -0.0108152125030756, -0.026423074305057526, -0.0251731276512146, 0.008964215405285358, -0.009906135499477386, 0.03411087766289711, -0.042654771357774734, 0.014402434229850769, 0.0008170060464181006, 0.004425324499607086, 0.02748255990445614, 0.057683397084474564, 0.005538152996450663, 0.019442247226834297, -0.04702415689826012, 0.03069251962006092, 0.0506112314760685, -0.016431298106908798, -0.011154253967106342, 0.025390958413481712, 0.020168645307421684, 0.029940949752926826, 0.04009580239653587, -0.018754681572318077, 0.014812855049967766, -0.016436878591775894, 0.023120593279600143, -0.013265353627502918, -0.007490553427487612, -0.05832681059837341, -0.0014508082531392574, -0.056721631437540054, 0.007905219681560993, 0.004753600340336561, -0.02900279127061367, -0.041230760514736176, -0.03132753446698189, 0.03878967836499214, 0.01957792043685913, -0.043810728937387466, -0.02410230040550232, 0.008782530203461647, -0.0624852292239666, 0.014587360434234142, -0.03751591220498085, -0.04977182298898697, 0.00033307360718026757, 0.09536933898925781, -0.006551594473421574, 0.023539653047919273, 0.02967057190835476, -0.013548323884606361, -0.02008979767560959, -0.01993728242814541, -0.04540642723441124, 0.015779005363583565, -0.04592786356806755, -0.022512372583150864, -0.001362531678751111, -0.014908794313669205, -0.019580349326133728, 0.076774962246418, 0.04486118629574776, -0.003572518238797784, -0.03735393285751343, -0.008069545961916447, -0.042382899671792984, -0.0065837339498102665, 0.0031665132846683264, -0.005802404601126909, 0.037980180233716965, -0.05851075425744057, -0.04746472090482712, 0.04534614831209183, 0.022388214245438576, 0.00473084207624197, -0.04873679205775261, 0.0023555958177894354, 0.04132302477955818, 0.012777576223015785, 0.04798264056444168, 0.043119221925735474, -0.043117038905620575, -0.0007338986615650356, -0.036658015102148056, 0.025121143087744713, -0.054036978632211685, 0.037982601672410965, 0.013116001151502132, 0.040945254266262054, 0.03913198038935661, 0.023841410875320435, -0.01598147489130497, -0.01528556551784277, -0.0033404945861548185, -0.00047720398288220167, 0.015917237848043442, -0.04730875417590141, -0.015096182003617287, 0.0414864718914032, -0.04679353907704353, -0.03603149950504303, -0.023391636088490486, -0.004951749928295612, -0.02135842852294445, -0.005604755133390427, 0.033706266433000565, 0.012017983943223953, -0.009372774511575699, 0.009574842639267445, -0.01168608944863081, -0.022142257541418076, -0.024471435695886612, 0.01901412196457386, -0.051736678928136826, 0.0029278798028826714, 0.0033840511459857225, 0.07418420165777206, -0.02302752435207367, 0.017870694398880005, -0.0007760768639855087, -0.0025105460081249475, -0.11099835485219955, -0.02450786530971527, 0.025345688685774803, -0.03463730216026306, 0.0037978680338710546, 0.00898314081132412, -0.022574391216039658, -0.0015829249750822783, 0.000012972337572136894, -0.019121814519166946, -0.017472026869654655, 0.017361897975206375, -0.004138242918998003, -0.009078118950128555, -0.0330207422375679, 0.02268444187939167, 0.019594404846429825, 0.056704506278038025, 0.041785649955272675, 0.030374450609087944, 0.0335257351398468, 0.008169797249138355, -0.003797953249886632, 0.017094949260354042, 0.030948907136917114, 0.02201196551322937, 0.049474239349365234, 0.019029928371310234, 0.014547936618328094, -0.03867670148611069, 0.007699436042457819, -0.007749252021312714, -0.018955666571855545, -0.04227074235677719, 0.0336049348115921, 0.0031462726183235645, 0.03344632312655449, 0.02551112323999405, 0.010052863508462906, 0.07898532599210739, 0.008256451226770878, 0.0559428371489048, 0.001362156355753541, -0.017999781295657158, -0.0014581583673134446, 0.00685881869867444, -0.028058094903826714, 0.024060958996415138, -0.02197638340294361, -0.011630851775407791, 0.03980381041765213, 0.01209370605647564, -0.019731294363737106, 0.01472008042037487, -0.03488776087760925, 0.03370693325996399, -0.021664749830961227, -0.014147168956696987, 0.0017385774990543723, -0.010087288916110992, 0.009485026821494102, -0.002385827712714672, 0.020389176905155182, -0.011006573215126991, 0.036606062203645706, -0.015364923514425755, 0.02322280965745449, -0.0012105980422347784, 0.0025960749480873346, 0.027320928871631622, -0.01012458372861147, 0.021631449460983276, -0.016238784417510033, -0.03371976688504219, 0.01617830991744995, -0.006474530324339867, -0.037736132740974426, -0.0541575625538826, -0.01551440916955471, 0.015473609790205956, -0.015463756397366524, -0.050897859036922455, 0.010210595093667507, 0.034009914845228195, -0.01880512200295925, -0.024490587413311005, 0.04984511435031891, -0.000703940459061414, 0.03769133612513542, -0.04224196821451187, 0.016774719581007957, -0.013339761644601822, -0.012678195722401142, 0.005248676054179668, -0.028531335294246674, 0.020005125552415848, -0.0001914134918479249, -0.0006778372335247695, 0.00681894039735198, 0.02748055011034012, -0.022252101451158524, 0.04609011486172676, -0.0034089803230017424, -0.006911130156368017, -0.00905841775238514, 0.03275543823838234, 0.022414807230234146, 0.039166390895843506, -0.037393756210803986, 0.029017958790063858, -0.007811295799911022, -0.0005195719422772527, 0.008643075823783875, 0.03217961639165878, 0.04225017875432968, 0.06694488227367401, 0.03804133087396622, -0.04036526381969452, -0.009140518493950367, 0.017881346866488457, -0.0028045231010764837, -0.0011829264694824815, 0.03739389032125473, -0.009396756999194622, 0.012621160596609116, 0.014430087991058826, 0.0021266245748847723, -0.03563140705227852, 0.01610945165157318, -0.02299865335226059, -0.02107786014676094, -0.020584359765052795, 0.012233157642185688, 0.01414986327290535, 0.01603870652616024, -0.02704496681690216, -0.032810404896736145, -0.043065134435892105, 0.015523651614785194, -0.005621208809316158, -0.01923094503581524, 0.06912287324666977, -0.012209665961563587, -0.016629831865429878, -0.027495859190821648, -0.015203695744276047, 0.032449349761009216, 0.022354856133461, 0.021561425179243088, 0.012299815192818642, 0.001678320812061429, -0.061317503452301025, -0.02987067960202694, 0.01877894438803196, -0.0031665870919823647, -0.030682411044836044, 0.0018151008989661932, -0.010133501142263412, -0.03123568743467331, 0.012392459437251091, 0.005293016787618399, 0.01513771153986454, -0.012043832801282406, 0.033633653074502945, 0.010894960723817348, 0.033414751291275024, 0.03709643334150314, -0.013106257654726505, -0.07867162674665451, -0.03641281649470329, -0.009970162995159626, -0.002968765329569578, -0.004724407568573952, -0.005068653728812933, 0.03717159479856491, -0.032038621604442596, -0.01403663121163845, -0.029922939836978912, -0.0559891015291214, -0.006845137104392052, -0.015395251102745533, -0.0216837041079998, -0.0007565944688394666, -0.012411755509674549, -0.030400585383176804, 0.05251434072852135, -0.00826641358435154, 0.018229307606816292, -0.03141286224126816, -0.03154408186674118, -0.029329683631658554, 0.04043429717421532, 0.016536695882678032, 0.007330910302698612, 0.04158245027065277, 0.04648889601230621, -0.07083488255739212, -0.02549349144101143, 0.006359230261296034 ]
Introducing Agents.js: Give tools to your LLMs using JavaScript
nsarrazin
July 24, 2023
agents-js
agents, javascript, web
https://huggingface.co/blog/agents-js
Installation Getting started is very easy, you can grab the library from npm with the following: npm install @huggingface/agents
[ 0.006515453103929758, -0.016499344259500504, 0.09653425961732864, -0.01228958461433649, 0.0846184641122818, 0.011094574816524982, 0.04673024266958237, 0.07934705913066864, 0.01011055801063776, -0.07667411863803864, -0.07767176628112793, 0.07630173861980438, 0.007301939185708761, 0.07347424328327179, 0.044895246624946594, -0.03362582251429558, 0.06619078665971756, -0.0013323642779141665, -0.02632927894592285, -0.01928272657096386, -0.010861245915293694, -0.04204529896378517, 0.02812860906124115, -0.03153277561068535, -0.014724665321409702, -0.08943755179643631, 0.019307073205709457, 0.046132612973451614, -0.00624500960111618, 0.003615936264395714, -0.07322067767381668, -0.06725488603115082, -0.02802172303199768, -0.0571184903383255, 0.05044205114245415, 0.04113389924168587, -0.14060939848423004, 0.04810469597578049, 0.029292287304997444, -0.02222886122763157, 0.006000356283038855, -0.05857933685183525, -0.07828585803508759, 0.05363139510154724, -0.07049375772476196, -0.04478137940168381, -0.19917476177215576, 0.10373992472887039, -0.012143418192863464, -0.012934764847159386, -0.044518373906612396, 0.026977136731147766, 0.014235653914511204, -0.012361718341708183, 0.0012612214777618647, -0.023246722295880318, 0.0007731945952400565, -0.04066059738397598, 0.016700079664587975, -0.013260525651276112, 0.06421209871768951, 0.013053792528808117, 0.004344483837485313, 0.031103402376174927, -0.003939055372029543, 0.06444676965475082, 0.035824984312057495, -0.023422304540872574, -0.048054009675979614, -0.026350319385528564, 0.07542000710964203, -0.04101121425628662, -0.012539525516331196, -0.0646895244717598, 0.05034111067652702, -0.027465717867016792, 0.01928216777741909, 0.05392719432711601, 0.05574500933289528, 0.0835270956158638, 0.03317369893193245, 0.008722629398107529, 0.0616312175989151, 0.1055218055844307, 0.030096398666501045, 0.056102100759744644, 0.029389534145593643, -0.016345398500561714, -0.0447709821164608, 0.05366886034607887, -0.020289387553930283, -0.11331333220005035, -0.03393320366740227, 0.0027386965230107307, 0.06992072612047195, -0.007299621589481831, -0.006637046579271555, 0.013717292807996273, 0.01074819266796112, -0.003959529101848602, -0.020917043089866638, 0.0067065320909023285, -0.01443286519497633, -0.06204726919531822, 0.022229716181755066, 0.005171577446162701, -0.017596209421753883, -0.045401010662317276, -0.012271618470549583, -0.049939755350351334, 0.04339561238884926, -0.02058144100010395, 0.03879675641655922, 0.01925516687333584, -0.10409314930438995, 0.08804478496313095, 0.011327225714921951, 0.025952467694878578, 0.01746778003871441, 0.06768643110990524, 0.03312796726822853, 0.11293438076972961, 0.008974210359156132, 0.010095489211380482, 0.03558136895298958, 0.09498143196105957, -0.012710528448224068, -0.02850169688463211, -0.01653677597641945, -0.04995052516460419, 0.034574586898088455, -0.029427360743284225, 0.03736988082528114, 0.04241104796528816, 0.006343135144561529, -0.03790716454386711, 0.03678891435265541, -0.035857122391462326, 0.009361612610518932, 0.0473601259291172, -0.02695370465517044, 0.06877081841230392, -0.0033658656757324934, 0.07326053828001022, 0.04920985549688339, -0.018793141469359398, -0.09183374047279358, 0.03722413629293442, -0.030463026836514473, 0.036614418029785156, -0.017840176820755005, 0.04114210233092308, -0.03291568532586098, 0.025898760184645653, -0.032543499022722244, 0.03907730057835579, 0.006805678363889456, -0.014138897880911827, -0.036516863852739334, -0.02560696192085743, -0.004876289516687393, -0.013398401439189911, -0.056184470653533936, -0.006185250356793404, 0.0330386757850647, -0.009918277151882648, 0.0012885847827419639, 0.01647314243018627, 0.019057385623455048, -0.04578631743788719, 0.03687558323144913, -0.04935810714960098, 0.010475290939211845, -0.009996448643505573, 0.0619109570980072, 0.024006275460124016, 0.06396044790744781, 0.06155569478869438, -0.01410147175192833, -0.006840916816145182, -0.02600436843931675, 0.07372993975877762, 0.009239621460437775, 0.0199888963252306, 0.03248561918735504, -0.06646143645048141, -0.0038967544678598642, -0.0016672930214554071, 0.021750789135694504, 0.0014929804019629955, 0.00038966929423622787, -0.04746197536587715, 0.05499819293618202, -0.023513006046414375, 0.037687692791223526, -0.02239166758954525, -0.004611841402947903, 0.1334812492132187, 0.03156507760286331, 0.08529621362686157, 0.008048619143664837, -0.0019356281263753772, 0.06687487661838531, -0.025286752730607986, -0.05750956013798714, 0.019718864932656288, 0.015804724767804146, -0.028354531154036522, 0.06071290746331215, 0.031079571694135666, 0.020465455949306488, -0.10908842086791992, 0.055935557931661606, -0.04542919993400574, 0.010693475604057312, -0.017789216712117195, -0.01872844249010086, 0.02509639970958233, 0.03852762654423714, 0.026932446286082268, 0.1620740294456482, -0.0418611541390419, -0.009892198257148266, -0.022513147443532944, -0.05847885087132454, 0.06673581898212433, 0.10264149308204651, 0.0015090708620846272, 0.09265944361686707, -0.07523521780967712, -0.017087703570723534, -0.03647598251700401, -0.015137651935219765, 0.05527866259217262, -0.027429157868027687, -0.011968881823122501, 0.044553499668836594, -0.04424062743782997, -0.0016652710037305951, -0.012077569030225277, 0.02052798494696617, -0.06232347711920738, -0.00109339808113873, 0.030313292518258095, 0.009045209735631943, -0.013078028336167336, 0.021489445120096207, 0.01861480623483658, -0.04754296690225601, -0.01781945675611496, -0.07340431213378906, 0.014703599736094475, 0.029866717755794525, -0.010130155831575394, 0.05352716147899628, 0.07847344130277634, -0.013060115277767181, -0.0015345903811976314, -0.029777396470308304, 0.06622586399316788, -0.0005611447268165648, -0.01509755291044712, -0.024528872221708298, -0.03300418704748154, -0.033339641988277435, -0.019436553120613098, -0.023558592423796654, -0.000474224187200889, -0.01513507030904293, 0.009663364849984646, 0.04371562600135803, -0.01892060972750187, 0.03813809156417847, 0.030968958511948586, -0.018938256427645683, 0.020169934257864952, 0.027648471295833588, -0.029839513823390007, -0.013956702314317226, -0.010854105465114117, 0.005509024951606989, -0.005306906998157501, 0.04756565019488335, 0.03636600077152252, -0.0018496011616662145, -0.012960421852767467, -0.013728096149861813, -0.04399246722459793, -0.0076869819313287735, 0.028597597032785416, -0.003301889868453145, 0.02348661608994007, 0.02872900851070881, -0.023130713030695915, -0.005929803941398859, -0.036085344851017, 0.04939287528395653, 0.02568550780415535, -0.007114723790436983, 0.024767573922872543, -0.018046420067548752, 0.020688097923994064, 0.01987268775701523, -0.019055116921663284, -0.03177487105131149, 0.02375630848109722, 0.01796913519501686, -0.024653257802128792, -0.11416968703269958, -0.058616410940885544, 0.0034794770181179047, 0.05453549697995186, 0.0014118511462584138, -0.05240888148546219, 0.02753126062452793, -0.022356798872351646, 0.026219071820378304, -0.004350669682025909, 0.006605152040719986, 0.009763337671756744, 0.029087340459227562, 0.0018399633700028062, -0.030670151114463806, -0.048295989632606506, -0.0187488105148077, 0.021325258538126945, 0.04405608028173447, 0.01197679340839386, -0.042312245815992355, 0.05482496693730354, 0.012826955877244473, -0.015465328469872475, 0.019758714362978935, -0.02614492177963257, 0.03753824159502983, 0.03601989522576332, -0.014221902936697006, -0.04503528028726578, -0.009695805609226227, -0.006554546300321817, -0.0028306066524237394, 0.0016886062221601605, -0.0807201936841011, -0.027776023373007774, -0.004625684581696987, -0.009305418469011784, -0.0014502520207315683, 0.0059598409570753574, 0.012528260238468647, -0.03605638071894646, 0.02407115511596203, -0.028912410140037537, -0.0023864726535975933, -0.01924019306898117, -0.03086511418223381, 0.047610457986593246, 0.022593919187784195, -0.01608407311141491, -0.021290216594934464, 0.01423273328691721, -0.0011176054831594229, 0.027035925537347794, 0.018104232847690582, 0.02567339316010475, 0.00366879440844059, 0.0316581092774868, 0.005551454145461321, 0.012158931232988834, -0.06062394008040428, 0.015353919938206673, -0.017326517030596733, -0.02708464488387108, -0.023497091606259346, 0.045949652791023254, 0.00534023204818368, -0.0047613224014639854, 0.00445409445092082, 0.027633262798190117, 0.015454594977200031, 0.02147844061255455, -0.007330625783652067, 0.017543016001582146, -0.015612208284437656, 0.00438856752589345, -0.009943995624780655, -0.040224138647317886, 0.05781891196966171, -0.006098020356148481, -0.003570104716345668, -0.030292140319943428, -0.013400452211499214, -0.006557121407240629, -0.02375100366771221, 0.0016525915125384927, 0.012514647096395493, 0.0029390156269073486, 0.007188402581959963, 0.02759307250380516, 0.004891759250313044, -0.028489213436841965, 0.04555593430995941, -0.04273523390293121, -0.019162360578775406, 0.009901488199830055, 0.020202966406941414, -0.010540173389017582, -0.004353596828877926, 0.04519271105527878, 0.022098729386925697, -0.01879296265542507, 0.003419236047193408, 0.012615772895514965, -0.00997534953057766, 0.024157745763659477, -0.025393851101398468, -0.023397868499159813, 0.03226684406399727, -0.02422635443508625, 0.01140324492007494, -0.06057228147983551, -0.0034212679602205753, -0.017551980912685394, 0.0043730768375098705, 0.015751276165246964, -0.014432135038077831, -0.028122907504439354, -0.06216391175985336, 0.03200323507189751, -0.014929085969924927, 0.025882070884108543, -0.03690951317548752, 0.013009320013225079, -0.01526166032999754, -0.00596202164888382, 0.029347455129027367, 0.02324352040886879, 0.01103211846202612, -0.005128926131874323, -0.039937522262334824, -0.026971427723765373, 0.04974571242928505, -0.009529910050332546, 0.02436426840722561, 0.009294119663536549, -0.01699438877403736, 0.01734820380806923, 0.019650546833872795, -0.05189044773578644, -0.02517077326774597, 0.0017156702233478427, 0.06669630110263824, -0.028606807813048363, 0.03170495480298996, 0.021366111934185028, -0.044175971299409866, -0.01052409689873457, -0.02455008216202259, 0.009372731670737267, 0.015430733561515808, -0.015701889991760254, -0.012043123133480549, 0.05013324320316315, 0.01907571218907833, -0.009737184271216393, -0.017773564904928207, 0.01062843669205904, -0.019817950204014778, 0.03487114608287811, -0.022670118138194084, -0.020380636677145958, -0.022321762517094612, 0.024731142446398735, 0.008454736322164536, -0.026932116597890854, -0.01188712939620018, -0.07624633610248566, -0.02993941493332386, 0.008969957008957863, 0.00801314041018486, 0.024083031341433525, 0.019895153120160103, -0.03778345510363579, -0.03865288570523262, 0.034880440682172775, 0.03850286826491356, -0.004618644714355469, 0.005008435808122158, 0.028200551867485046, -0.01933889091014862, -0.0013871236005797982, 0.007082635536789894, -0.005765628069639206, -0.003571657929569483, -0.006632780656218529, 0.05765073001384735, 0.034935615956783295, 0.00011957480455748737, 0.0043622516095638275, -0.03674023970961571, -0.004994240123778582, 0.02310929074883461, -0.05479678139090538, 0.000016970938304439187, -0.04121987521648407, -0.009963774122297764, -0.0037114033475518227, 0.02599429339170456, -0.03314607962965965, 0.008143987506628036, 0.035347893834114075, -0.0336725115776062, -0.031324151903390884, 0.03165632486343384, 0.009593987837433815, 0.004757629241794348, -0.019848138093948364, 0.02370741404592991, -0.0186294075101614, 0.0014857756905257702, -0.0046652695164084435, -0.01488000899553299, -0.03522452339529991, -0.027405543252825737, -0.021808402612805367, -0.03734169527888298, 0.003072724910452962, 0.028049789369106293, 0.07330117374658585, -0.02234409935772419, 0.010718243196606636, -0.037790123373270035, -0.01817583478987217, 0.02933439426124096, -0.05646803230047226, -0.014457627199590206, 0.03870540112257004, -0.027781659737229347, 0.044838666915893555, 0.05051322653889656, -0.003783418796956539, 0.017081402242183685, 0.00678402092307806, 0.03273337334394455, 0.003570335917174816, -0.030418016016483307, 0.024774963036179543, 0.012236279435455799, 0.008164661005139351, 0.0011164088500663638, -0.020648714154958725, -0.027928462252020836, -0.02954738214612007, -0.03717629984021187, 0.015313776209950447, 0.07831829786300659, 0.00933773908764124, 0.001985021634027362, -0.008440113626420498, -0.002793895546346903, -0.011154954321682453, -0.02759481407701969, -0.03962961211800575, 0.03975897282361984, 0.027095669880509377, -0.0014393806923180819, -0.004291710909456015, -0.007238511927425861, -0.0314914770424366, 0.007775673642754555, -0.08042343705892563, -0.0047088684514164925, 0.016164468601346016, -0.02390257827937603, -0.010074310936033726, -0.015942735597491264, -0.03592265397310257, -0.0027409649919718504, 0.03235120326280594, -0.005893920082598925, 0.048399992287158966, -0.0021355377975851297, 0.024380408227443695, -0.04227888584136963, -0.029905160889029503, 0.037247564643621445, 0.028529053553938866, -0.010104660876095295, 0.04828299954533577, 0.000724554352927953, 0.04277526214718819, -0.0007306260522454977, 0.01675998605787754, -0.011027938686311245, 0.023187512531876564, 0.07010362297296524, -0.011969505809247494, 0.055008165538311005, 0.033555496484041214, -0.009287115186452866, -0.02428663894534111, -0.012537749484181404, -0.006959155667573214, -0.053161486983299255, 0.025957314297556877, 0.0040604365058243275, -0.010433918796479702, 0.003733421675860882, -0.013998566195368767, 0.020099688321352005, 0.03830591216683388, 0.04910165071487427, -0.026915160939097404, 0.004901432897895575, 0.054854732006788254, 0.014788389205932617, 0.010792020708322525, 0.027457289397716522, -0.011558734811842442, -0.03135146200656891, 0.06374431401491165, 0.006268434226512909, 0.03345789760351181, -0.020436611026525497, -0.016420094296336174, 0.044993218034505844, -0.007976870983839035, -0.007735057268291712, -0.05851520225405693, 0.009093599393963814, -0.02646242082118988, -0.017626184970140457, -0.006011985242366791, -0.024688104167580605, -0.0004963894025422633, -0.009264275431632996, 0.02440074272453785, 0.030336089432239532, -0.039455972611904144, 0.03271080553531647, 0.014295169152319431, 0.012788458727300167, -0.0035613870713859797, 0.009321575984358788, 0.04020183905959129, 0.01581677421927452, -0.013454149477183819, -0.05100429803133011, -0.004194257780909538, -0.03518151119351387, -0.0003721125249285251, -0.02493767999112606, 0.006127501372247934, 0.006351827643811703, -0.037647794932127, 0.008262011222541332, 0.02470448426902294, 0.004014834761619568, 0.012255069799721241, 0.03948691487312317, 0.002794944681227207, -0.04762598127126694, 0.027449926361441612, -0.0007468535332009196, -0.009235885925590992, -0.04236674681305885, -0.04590827226638794, 0.019603082910180092, -0.03790590539574623, 0.010458976030349731, 0.013468383811414242, 0.018147284165024757, 0.000221491907723248, -0.0236246045678854, 0.009684410877525806, -0.016919169574975967, -0.020077550783753395, 0.059981461614370346, -0.019072117283940315, -0.020041339099407196, -0.010729257948696613, 0.00022740558779332787, -0.004357246216386557, 0.0016669194446876645, 0.025261839851737022, 0.004395685624331236, -0.003448101691901684, -0.029690437018871307, -0.027660589665174484, 0.053221892565488815, 0.02030455879867077, 0.01933353766798973, 0.04480656236410141, 0.047698475420475006, -0.0033264257945120335, -0.04455648735165596, 0.015618308447301388, -0.05980715528130531, -0.012069955468177795, -0.04294883459806442, -0.057330917567014694, -0.0249773096293211, -0.0499374121427536, 0.00844508595764637, 0.0004419083707034588, -0.02683962881565094, -0.01814311183989048, -0.042998626828193665, -0.022373251616954803, -0.01516311801970005, 0.03680951148271561, 0.04212305322289467, 0.023563960567116737, 0.0074974843300879, -0.007437126711010933, -0.004385875537991524, 0.05336213484406471, 0.018542183563113213, 0.01934116892516613, 0.03396587073802948, 0.006080656312406063, 0.002779365284368396, -0.024662328884005547, 0.024790218099951744, 0.012331351637840271, -0.03703960031270981, 0.016668956726789474, -0.0003281574754510075, -0.025823291391134262, -0.020893651992082596, 0.02077794447541237, 0.009025399573147297, 0.01688433811068535, 0.02896897867321968, -0.036422666162252426, -0.032257553189992905, -0.0007382736075669527, 0.03758862614631653, -0.034101199358701706, 0.0052611627615988255, -0.0028310499619692564, 0.034340113401412964, 0.04672708734869957, 0.02181256003677845, -0.004861805122345686, 0.006891327910125256, -0.03022383339703083, -0.0038893031887710094, 0.022594181820750237, -0.03185368701815605, -0.034470029175281525, -0.027041513472795486, 0.0419192761182785, -0.01835443265736103, -0.06969335675239563, 0.02692476473748684, -0.019715895876288414, -0.023190148174762726, -0.009723590686917305, -0.009444355964660645, -0.02226642705500126, -0.002966801170259714, 0.008947007358074188, -0.05233120173215866, 0.04935493320226669, 0.010558491572737694, -0.032214660197496414, -0.0217522494494915, 0.013859848491847515 ]
AI Policy @🤗: Open ML Considerations in the EU AI Act
yjernite
July 24, 2023
eu-ai-act-oss
ethics
https://huggingface.co/blog/eu-ai-act-oss
# AI Policy @🤗: Open ML Considerations in the EU AI Act Like everyone else in Machine Learning, we’ve been following the EU AI Act closely at Hugging Face. It’s a ground-breaking piece of legislation that is poised to shape how democratic inputs interact with AI technology development around the world. It’s also the outcome of extensive work and negotiations between organizations representing many different components of society – a process we’re particularly sensitive to as a community-driven company. In the present position paper written in coalition with Creative Commons, Eleuther AI, GitHub, LAION, and Open Future, we aim to contribute to this process by sharing our experience of the necessary role of open ML development in supporting the goals of the Act – and conversely, by outlining specific ways in which the regulation can better account for the needs of open, modular, and collaborative ML development. Hugging Face is where it is today thanks to its community of developers, so we’ve seen firsthand what open development brings to the table to support more robust innovation for more diverse and context-specific use cases; where developers can easily share innovative new techniques, mix and match ML components to suit their own needs, and reliably work with full visibility into their entire stack. We’re also acutely aware of the necessary role of transparency in supporting more accountability and inclusivity of the technology – which we’ve worked on fostering through better documentation and accessibility of ML artifacts, education efforts, and hosting large-scale multidisciplinary collaborations, among others. Thus, as the EU AI Act moves toward its final phase, we believe accounting for the specific needs and strengths of open and open-source development of ML systems will be instrumental in supporting its long-term goals. Along with our co-signed partner organizations, we make the following five recommendations to that end: 1. Define AI components clearly, 2. Clarify that collaborative development of open source AI components and making them available in public repositories does not subject developers to the requirements in the AI Act, building on and improving the Parliament text’s Recitals 12a-c and Article 2(5e), 3. Support the AI Office’s coordination and inclusive governance with the open source ecosystem, building on the Parliament’s text, 4. Ensure the R&D exception is practical and effective, by permitting limited testing in real-world conditions, combining aspects of the Council’s approach and an amended version of the Parliament’s Article 2(5d), 5. Set proportional requirements for “foundation models,” recognizing and distinctly treating different uses and development modalities, including open source approaches, tailoring the Parliament’s Article 28b. You can find more detail and context for those in the full paper here!
[ 0.028903624042868614, -0.06455953419208527, 0.07334328442811966, -0.01540136244148016, -0.006319966167211533, 0.006347759626805782, -0.020387152209877968, 0.048107631504535675, -0.019645532593131065, 0.030063631013035774, -0.07370593398809433, 0.01860674098134041, -0.04077687859535217, 0.03234562277793884, 0.026869505643844604, -0.05868387222290039, 0.04986853525042534, 0.030162513256072998, -0.01370454952120781, 0.02629036456346512, -0.01105110440403223, 0.035670001059770584, 0.03064471110701561, -0.024752875789999962, -0.029298612847924232, -0.0760350376367569, 0.045554663985967636, -0.004340356215834618, -0.017861850559711456, 0.055782582610845566, -0.08420863002538681, -0.037901315838098526, -0.055309366434812546, -0.00142685417085886, 0.015172098763287067, 0.02110564149916172, -0.09518469870090485, 0.0474671833217144, 0.03494371846318245, 0.03759176656603813, 0.0767705962061882, -0.03322819992899895, -0.10473107546567917, -0.008053638972342014, -0.021371174603700638, -0.04831361025571823, -0.13960915803909302, 0.09074322879314423, 0.005864580627530813, 0.06888363510370255, -0.08013729751110077, 0.008766772225499153, -0.019932279363274574, 0.0158083476126194, -0.004821255337446928, -0.05144085735082626, -0.023259302601218224, -0.07875650376081467, -0.0033163444604724646, -0.005088952835649252, 0.02290293388068676, -0.044793348759412766, 0.04414849728345871, -0.04442121088504791, 0.0989236980676651, 0.023986121639609337, 0.006318629719316959, -0.08626225590705872, -0.07606269419193268, -0.06789004057645798, 0.026177821680903435, 0.0033215631265193224, -0.05863942205905914, -0.03425709903240204, -0.007793791592121124, -0.04125390946865082, 0.016371510922908783, 0.04647815600037575, 0.06044124811887741, 0.009464716538786888, 0.02988087758421898, -0.020188946276903152, 0.06536460667848587, 0.01411685161292553, 0.02863551676273346, 0.051485128700733185, -0.027473973110318184, -0.07488637417554855, -0.04922475665807724, 0.06332998722791672, -0.03163668513298035, -0.11641936749219894, -0.017984678968787193, 0.0417746976017952, 0.0706816166639328, -0.06103486567735672, -0.020106174051761627, -0.030241522938013077, -0.03369705006480217, 0.005338651593774557, 0.0021983154583722353, -0.003177785547450185, 0.01409529335796833, -0.07498989999294281, -0.09897219389677048, 0.08867602795362473, 0.014437946490943432, -0.07834909856319427, -0.00585568230599165, 0.017554476857185364, 0.07963547110557556, -0.026457427069544792, 0.002982497913762927, 0.08274198323488235, -0.10939513891935349, 0.07094581425189972, -0.047421425580978394, -0.05254088714718819, 0.0145246721804142, 0.1225888654589653, 0.05558955669403076, 0.04494151100516319, 0.002409327542409301, 0.017783375456929207, 0.034527212381362915, 0.08219138532876968, 0.02386941947042942, 0.016810577362775803, 0.030010920017957687, -0.07115219533443451, 0.012262137606739998, 0.01085595041513443, -0.0579150952398777, -0.029945608228445053, 0.0040830266661942005, 0.011546295136213303, 0.07130619883537292, -0.05291378125548363, 0.0856030136346817, -0.004937395453453064, -0.06061692535877228, 0.009366308338940144, 0.03357855603098869, -0.01848859153687954, 0.0019130153814330697, 0.011504290625452995, -0.07081694900989532, 0.015499463304877281, -0.06099918857216835, -0.012652121484279633, -0.05080927908420563, 0.051928404718637466, 0.011768003925681114, -0.018901823088526726, 0.006983782164752483, 0.08980193734169006, -0.04673514887690544, 0.015915753319859505, -0.030482271686196327, -0.012648171745240688, -0.011160634458065033, -0.0026884316466748714, -0.052003223448991776, -0.024160491302609444, 0.04990671947598457, 0.005553836468607187, 0.012486898340284824, 0.005112680606544018, -0.008474858477711678, 0.0770043209195137, -0.03177084028720856, 0.013533569872379303, 0.0658729076385498, -0.07775561511516571, 0.038302402943372726, 0.0006233955500647426, -0.005258958786725998, 0.027519002556800842, 0.01312179584056139, 0.0242147259414196, -0.06050589308142662, 0.06337588280439377, 0.005297069903463125, 0.045445892959833145, 0.024496672675013542, -0.0554538369178772, 0.08405549079179764, -0.027092985808849335, -0.013414603658020496, 0.0015927179483696818, -0.002880210755392909, -0.044076982885599136, 0.05721022188663483, -0.034218642860651016, 0.029835756868124008, 0.008140427060425282, -0.05284077301621437, 0.1279657632112503, 0.010814251378178596, 0.03726109489798546, 0.061365071684122086, -0.051501061767339706, 0.03338685259222984, -0.0018385803559795022, 0.041352469474077225, 0.02765166573226452, 0.034385692328214645, -0.10505715757608414, -0.02449740283191204, 0.03369530290365219, 0.0022317550610750914, -0.06549578905105591, -0.026107067242264748, 0.020573556423187256, 0.011130569502711296, -0.024815823882818222, 0.05463036149740219, -0.016710633412003517, -0.04277646169066429, -0.014915757812559605, 0.13903088867664337, -0.04747767373919487, 0.04336924105882645, 0.04006928205490112, 0.014115014113485813, 0.0030621441546827555, 0.0416993573307991, 0.0998067855834961, 0.07213664054870605, -0.08888095617294312, -0.019456658512353897, -0.05720147490501404, 0.010988069698214531, -0.03207193315029144, 0.04096110537648201, -0.040008898824453354, 0.03456287086009979, 0.051006678491830826, 0.009250914677977562, 0.009899040684103966, -0.019472412765026093, 0.010634435340762138, 0.04651143401861191, -0.007797434460371733, 0.020272430032491684, -0.01008356548845768, 0.0309600792825222, 0.027981627732515335, 0.0007062308141030371, 0.04034116864204407, -0.05229727178812027, 0.02088480442762375, 0.013906430453062057, -0.016649816185235977, 0.012445427477359772, 0.012518527917563915, 0.016114993020892143, -0.007538888603448868, -0.03576837480068207, 0.03140057250857353, 0.020678333938121796, 0.004876595456153154, -0.014062277972698212, -0.03206109255552292, -0.010910600423812866, -0.024611691012978554, -0.037612441927194595, 0.03443693369626999, -0.008691650815308094, 0.02892235480248928, 0.053296927362680435, -0.02423894964158535, 0.02680441178381443, 0.005744175054132938, -0.025947200134396553, 0.03732852265238762, 0.04020717367529869, -0.009103553369641304, -0.017944211140275, -0.027024943381547928, -0.022133372724056244, -0.009952438063919544, 0.016138793900609016, 0.020283646881580353, -0.021767640486359596, 0.024618569761514664, 0.019588543102145195, -0.01622042991220951, -0.06146754324436188, 0.032680775970220566, 0.058282822370529175, 0.018053671345114708, -0.032825857400894165, -0.05609406158328056, -0.018364068120718002, -0.010321253910660744, -0.003335030283778906, -0.0001358009612886235, 0.0036012278869748116, 0.01679254323244095, -0.010255420580506325, 0.025383535772562027, 0.003923926502466202, 0.009534195996820927, 0.00518266623839736, 0.02193678356707096, 0.02565324492752552, 0.024736305698752403, -0.08503058552742004, -0.029422074556350708, -0.026796497404575348, 0.06502610445022583, -0.03810959681868553, -0.01686236821115017, 0.0435086227953434, 0.03206777572631836, -0.00441598379984498, -0.0010099769569933414, 0.02224360965192318, 0.02675000950694084, -0.004228220786899328, 0.015465985983610153, -0.01286300178617239, -0.014047990553081036, -0.05039143189787865, -0.004501717630773783, 0.011608206667006016, 0.010021218098700047, -0.025714825838804245, 0.021117648109793663, 0.008880216628313065, -0.005225717090070248, 0.020710991695523262, -0.015411315485835075, 0.04040331766009331, 0.01717124879360199, 0.018389809876680374, -0.053219024091959, 0.0035729315131902695, -0.006648807320743799, -0.02377883903682232, -0.020060952752828598, -0.027168115600943565, 0.04264984652400017, 0.0427403524518013, 0.02801406756043434, 0.03478366136550903, 0.03268617019057274, -0.016453610733151436, -0.028191186487674713, 0.03148192912340164, -0.024658892303705215, 0.018136678263545036, 0.017956916242837906, -0.03012736514210701, 0.012357275001704693, -0.024202050641179085, -0.0054387920536100864, -0.015244939364492893, 0.010147328488528728, -0.0043427967466413975, 0.0032428826671093702, 0.02571963146328926, 0.02301253192126751, -0.03261193260550499, 0.03381715342402458, -0.0313304178416729, 0.000991702894680202, -0.054552365094423294, 0.0014858696376904845, -0.02805841527879238, -0.027743004262447357, -0.00471572857350111, 0.010400638915598392, 0.03676798194646835, -0.023323368281126022, -0.000735012989025563, 0.06648316234350204, 0.030222641304135323, -0.010432116687297821, -0.01909828931093216, 0.00020182054140605032, 0.0029446028638631105, -0.04306282475590706, 0.0005571268848143518, -0.027444934472441673, 0.0313749760389328, 0.041488680988550186, -0.023565566167235374, 0.024406548589468002, -0.019316859543323517, -0.002546957228332758, 0.013341615907847881, -0.050452277064323425, 0.04293117672204971, 0.012918892316520214, 0.005233330652117729, 0.016949675977230072, -0.015464640222489834, -0.06426350027322769, 0.02297224849462509, -0.03571707382798195, 0.024521589279174805, -0.02976921759545803, 0.013322730548679829, 0.026694703847169876, -0.020057082176208496, 0.01656372658908367, -0.00009708583820611238, -0.03553532809019089, -0.0010028729448094964, -0.007240651175379753, 0.010362032800912857, 0.0030745386611670256, -0.012663709931075573, -0.025281883776187897, 0.025742046535015106, 0.010392825119197369, 0.00011601293954299763, -0.020442543551325798, -0.0402379184961319, 0.013492558151483536, 0.04513612762093544, 0.001004897872917354, 0.004555987194180489, -0.038667865097522736, 0.01154252141714096, -0.013880708254873753, -0.014179738238453865, -0.023446090519428253, -0.014485187828540802, 0.03177214413881302, 0.018779130652546883, -0.01635613664984703, -0.021894631907343864, -0.008881166577339172, 0.0009711048332974315, -0.012383167631924152, -0.03682976961135864, 0.0033773186150938272, 0.028955115005373955, -0.0102823656052351, 0.007133976556360722, 0.023308929055929184, -0.021179812029004097, 0.019736668094992638, 0.01050067413598299, -0.028626305982470512, 0.018941324204206467, -0.0011476603103801608, 0.03506634384393692, -0.03810012713074684, 0.01137358509004116, -0.01939021795988083, -0.05407988652586937, 0.0029109055176377296, -0.005433051846921444, 0.007891733199357986, 0.06535609066486359, 0.006240801885724068, -0.02683580480515957, 0.020205173641443253, 0.03711238503456116, -0.038030751049518585, 0.010911082848906517, 0.05545841529965401, 0.051911611109972, 0.02125217206776142, -0.0289602167904377, 0.016363417729735374, -0.034375227987766266, -0.0006069105002097785, 0.02867140993475914, -0.014843135140836239, 0.03758439049124718, -0.016755416989326477, -0.0162874273955822, -0.004787249956279993, -0.006353653036057949, 0.03481648862361908, -0.007074206601828337, -0.028755441308021545, 0.004267318639904261, -0.004956499673426151, 0.04298081994056702, -0.01299396064132452, -0.042228784412145615, 0.0060915397480130196, -0.016959646716713905, 0.0141357546672225, -0.020210999995470047, -0.0570341981947422, 0.033145442605018616, 0.040794309228658676, 0.04496394842863083, 0.08118976652622223, -0.0037655760534107685, -0.0001987141149584204, -0.0005350461578927934, 0.03321991115808487, -0.005711729172617197, -0.018762119114398956, 0.012870964594185352, 0.011088908649981022, -0.0367615781724453, -0.02898327261209488, 0.004288123920559883, 0.0006272822502069175, 0.016931533813476562, 0.047443803399801254, -0.04916861280798912, -0.004840744659304619, 0.013626673258841038, -0.045270632952451706, -0.02688097581267357, -0.029129324480891228, 0.013636693358421326, 0.016019778326153755, 0.004149867221713066, -0.04051697254180908, 0.005775114521384239, -0.03224393352866173, 0.006698059383779764, -0.04753468558192253, -0.035561949014663696, 0.03595087677240372, -0.06168551743030548, 0.05840824916958809, -0.030644236132502556, -0.02379348874092102, -0.03788015991449356, -0.04420533403754234, 0.01748967170715332, -0.06761959195137024, 0.006427237764000893, 0.014510677196085453, 0.016130924224853516, 0.04373255372047424, 0.02667916938662529, 0.026909643784165382, 0.018689919263124466, 0.03245777636766434, 0.05796441435813904, -0.00999790895730257, -0.05161753296852112, 0.05044467747211456, -0.01231433916836977, 0.0008333759615197778, -0.020611440762877464, 0.033771585673093796, -0.05000158026814461, -0.030030911788344383, -0.015593679621815681, 0.016843175515532494, 0.024253487586975098, 0.008311772719025612, -0.03744019940495491, 0.004886924289166927, -0.00986467208713293, 0.026167389005422592, -0.01210432406514883, 0.01555840577930212, 0.04894482344388962, 0.015756864100694656, 0.036472320556640625, 0.028872810304164886, 0.005102514289319515, 0.017572328448295593, 0.022735243663191795, -0.10597057640552521, -0.02621896006166935, -0.030760157853364944, -0.014114161022007465, 0.01135222241282463, -0.018025308847427368, -0.04117919132113457, -0.017809506505727768, -0.010875177569687366, 0.021547457203269005, 0.031639426946640015, 0.04490898549556732, 0.0038669814821332693, -0.030811121687293053, -0.02518647536635399, -0.008517913520336151, 0.0421379879117012, 0.015141943469643593, 0.018146879971027374, 0.002976955845952034, 0.017392821609973907, 0.06196768954396248, 0.016656236723065376, 0.03054826520383358, -0.015568738803267479, 0.05060867965221405, 0.014463182538747787, 0.0646832212805748, 0.003446639981120825, -0.052573345601558685, -0.04742639884352684, -0.0064877597615122795, -0.012950068339705467, -0.016819866374135017, -0.016542166471481323, 0.0003066638018935919, -0.023085353896021843, 0.043987125158309937, -0.0247921422123909, 0.04253973439335823, 0.030851034447550774, 0.04078534245491028, 0.05136512219905853, 0.0026693104300647974, 0.0713200643658638, -0.005402720998972654, 0.010844229720532894, 0.04242658242583275, -0.012889944016933441, -0.01726476103067398, 0.026334987953305244, 0.039001788944005966, 0.04914445802569389, -0.0047257281839847565, -0.013506820425391197, -0.005349458660930395, -0.024527428671717644, -0.019002165645360947, 0.02302330546081066, -0.03776939585804939, 0.012562336400151253, -0.013670527376234531, 0.03784327954053879, 0.012323085218667984, 0.0017171967774629593, 0.013188558630645275, 0.05734025686979294, 0.010232897475361824, -0.00559163698926568, -0.01796407625079155, 0.049853965640068054, -0.011699373833835125, 0.003830167930573225, 0.012576017528772354, -0.025097914040088654, 0.019922178238630295, -0.042593229562044144, -0.035047903656959534, -0.014092560857534409, -0.0004077393969055265, 0.021131832152605057, -0.017597828060388565, -0.04102259501814842, -0.015883274376392365, -0.04607797786593437, 0.000419456249801442, 0.03726157918572426, 0.01515171118080616, 0.03690511733293533, 0.032596174627542496, -0.010571577586233616, -0.050395093858242035, -0.011805630289018154, -0.011775074526667595, -0.020058874040842056, -0.03185895085334778, -0.05323031544685364, -0.011398988775908947, -0.0063642761670053005, 0.032391857355833054, 0.004233790095895529, 0.05534376949071884, 0.006763502489775419, -0.007493664510548115, -0.008357295766472816, 0.020091308280825615, 0.010549243539571762, 0.01347518153488636, 0.029440294951200485, -0.004156040959060192, 0.040705982595682144, 0.008999345824122429, 0.0015074092661961913, 0.011244514025747776, 0.0009658405324444175, 0.0115905636921525, -0.03921618312597275, -0.04554899409413338, 0.027107350528240204, 0.033061206340789795, 0.05867408588528633, 0.08960933983325958, 0.032859086990356445, -0.03595824912190437, -0.0029453185852617025, -0.01829899661242962, 0.052117250859737396, -0.021275654435157776, 0.016690107062458992, -0.050634339451789856, -0.023284513503313065, -0.012646849267184734, 0.0036277766339480877, 0.016571111977100372, -0.030344702303409576, -0.020105518400669098, -0.01517570111900568, 0.012758372351527214, 0.007390036713331938, -0.020361414179205894, 0.015760203823447227, 0.014912722632288933, -0.008696524426341057, -0.012850823812186718, 0.0044394200667738914, -0.019782066345214844, 0.010850431397557259, 0.008546260185539722, 0.02397041767835617, 0.04200665280222893, -0.030399205163121223, -0.00018192120478488505, 0.007224575616419315, -0.010253454558551311, 0.010500387288630009, -0.030751390382647514, 0.004542144946753979, 0.020424043759703636, 0.021152174100279808, -0.02429838292300701, 0.022911319509148598, 0.04281795397400856, -0.0113703403621912, 0.01912117376923561, -0.03426128625869751, -0.005515205208212137, 0.021517572924494743, -0.022476235404610634, -0.055589716881513596, -0.009324065409600735, 0.008073321543633938, 0.0033608460798859596, 0.03404512256383896, -0.0326281301677227, -0.012555878609418869, -0.037175506353378296, 0.015711208805441856, -0.0210223700851202, -0.007888820953667164, -0.07693065702915192, -0.008860379457473755, 0.008674907498061657, 0.003665152471512556, -0.03421330451965332, -0.019029224291443825, 0.0118047334253788, 0.0013464203802868724, -0.02361883595585823, 0.00929376482963562, -0.022594783455133438, -0.009310843423008919, 0.036924779415130615, 0.0106716463342309, -0.0058754500932991505, 0.02387831173837185, 0.06628932803869247, -0.016554567962884903, -0.05765442177653313, -0.026613978669047356 ]
Stable Diffusion XL on Mac with Advanced Core ML Quantization
pcuenq
July 27, 2023
stable-diffusion-xl-coreml
coreml, stable-diffusion, stable-diffusion-xl, diffusers
https://huggingface.co/blog/stable-diffusion-xl-coreml
Contents - Using SD XL Models from the Hugging Face Hub - What is Mixed-Bit Palettization? - How are Mixed-Bit Recipes Created? - Converting Fine-Tuned Models - Published Resources
[ 0.04593229666352272, -0.020640799775719643, 0.00531760323792696, -0.020055489614605904, 0.12078700959682465, 0.03128901124000549, -0.01411961205303669, 0.03519685938954353, 0.0058980416506528854, -0.03074065037071705, -0.10734878480434418, 0.006663857493549585, -0.01313022617250681, 0.015694817528128624, 0.021334804594516754, 0.03550904616713524, 0.04060331732034683, -0.027598241344094276, 0.0261556226760149, 0.06800854206085205, 0.019799089059233665, -0.10765963792800903, 0.015454623848199844, 0.01280054822564125, -0.0028150815051048994, -0.04037997126579285, 0.05066024512052536, -0.0496831014752388, 0.013984272256493568, 0.05948290228843689, -0.11447925865650177, -0.016989124938845634, -0.01094988826662302, -0.01154459360986948, 0.035217102617025375, 0.015914974734187126, -0.16763126850128174, 0.011290659196674824, -0.03146519511938095, 0.011379562318325043, 0.010685207322239876, -0.0356266163289547, 0.004132503177970648, 0.028493765741586685, 0.02487976662814617, -0.04603762924671173, -0.21670886874198914, 0.09220609068870544, -0.07057441771030426, 0.005358944647014141, -0.006883368827402592, 0.021153714507818222, 0.0024907412007451057, 0.021060429513454437, -0.01937584951519966, 0.014554375782608986, -0.007181346416473389, -0.028518659994006157, 0.045405033975839615, 0.003583276178687811, 0.07974811643362045, -0.053181957453489304, -0.04936695843935013, -0.05562466382980347, 0.02227974310517311, -0.021788502112030983, 0.011398117989301682, -0.053281400352716446, -0.037096768617630005, -0.01538566593080759, 0.002905376721173525, -0.03357652202248573, -0.013883901759982109, -0.005972006358206272, -0.00267149624414742, -0.07552094012498856, 0.0036077755503356457, 0.02545253001153469, 0.0651996061205864, 0.01733086071908474, 0.0013771916273981333, -0.002223609946668148, 0.1048780158162117, 0.09994781017303467, 0.03056882880628109, 0.006899783853441477, 0.05030779168009758, -0.01680867187678814, -0.051879607141017914, 0.031911708414554596, -0.03833645209670067, -0.08632481843233109, 0.018441705033183098, 0.00473291939124465, 0.05909675359725952, -0.062084682285785675, 0.009222361259162426, -0.019546790048480034, 0.05972471460700035, 0.04883655160665512, -0.0010087474947795272, -0.0040640938095748425, 0.008364338427782059, -0.03597525134682655, -0.07508164644241333, 0.019402971491217613, -0.046063777059316635, -0.09919310361146927, -0.02309884876012802, -0.001684563118033111, 0.03863111138343811, -0.0097280815243721, 0.049000758677721024, 0.06284210830926895, -0.05860883742570877, 0.05747779831290245, -0.023893682286143303, 0.020073577761650085, -0.010853501036763191, -0.012393226847052574, 0.002738174982368946, 0.0922246053814888, 0.02779434062540531, -0.05929938703775406, 0.005456229206174612, 0.08274674415588379, 0.03773010894656181, -0.03581313416361809, 0.04831010475754738, -0.011858108453452587, -0.01322026364505291, -0.003244531573727727, 0.04385419189929962, -0.011896073818206787, 0.03426796942949295, -0.10551828145980835, -0.009204186499118805, -0.05667657405138016, -0.014536249451339245, -0.04454050585627556, -0.015425863675773144, 0.10192719101905823, 0.007458281237632036, -0.008486129343509674, 0.022375425323843956, -0.0071573564782738686, -0.029059940949082375, 0.04617420211434364, -0.06580350548028946, 0.005323480814695358, 0.003131577279418707, 0.055714137852191925, -0.03955373913049698, -0.060727331787347794, -0.012717700563371181, 0.0695502907037735, -0.036949917674064636, -0.058360278606414795, -0.07222894579172134, -0.026274103671312332, 0.001825924264267087, -0.03446973115205765, -0.01207051519304514, -0.03015935979783535, 0.06383657455444336, 0.010531000792980194, -0.030422911047935486, 0.0640224888920784, 0.016122713685035706, 0.0011549111222848296, 0.02982128970324993, -0.039571184664964676, 0.10580340027809143, 0.008416673168540001, 0.018562883138656616, 0.05504068359732628, 0.10866715759038925, 0.10218355804681778, -0.041255343705415726, -0.01761550083756447, -0.0394350066781044, 0.03161655738949776, 0.005165276117622852, 0.0375242680311203, 0.024064408615231514, -0.025805119425058365, 0.03673668950796127, -0.024535082280635834, -0.04205329716205597, 0.05209552124142647, -0.026392105966806412, -0.0019102719379588962, 0.09778738766908646, -0.014012419618666172, 0.006512812804430723, -0.07749835401773453, -0.03335879370570183, 0.09396792948246002, 0.02797374129295349, 0.01663818396627903, 0.031162165105342865, -0.03955110162496567, 0.03316537290811539, 0.01531735435128212, -0.023163486272096634, 0.03991014137864113, 0.005496044177561998, -0.023885035887360573, 0.05975569412112236, -0.006427794694900513, 0.04966823756694794, -0.12612979114055634, 0.043750714510679245, -0.022161070257425308, -0.031868282705545425, -0.019668718799948692, 0.016308283433318138, -0.022526925429701805, 0.03203843533992767, -0.05315646901726723, 0.10348375886678696, 0.019123194739222527, -0.01225902047008276, -0.017460275441408157, -0.042164433747529984, 0.0437755361199379, 0.08541436493396759, 0.03195098042488098, 0.06818411499261856, -0.07246928662061691, -0.0329466350376606, -0.04119987413287163, 0.023080846294760704, 0.05053546279668808, -0.014672487042844296, -0.03610929474234581, -0.004403586033731699, 0.007114935666322708, 0.03469201549887657, -0.046088315546512604, 0.040415529161691666, -0.030291330069303513, -0.0027665020897984505, -0.03162281587719917, -0.022397080436348915, -0.004523082636296749, 0.07049010694026947, 0.03193734958767891, -0.07519005984067917, 0.013181930407881737, -0.09868220239877701, 0.07306339591741562, 0.001026980229653418, -0.02859402261674404, 0.03146727383136749, 0.02231745794415474, 0.024394983425736427, 0.0021650767885148525, -0.008998855948448181, 0.04818132892251015, -0.015455605462193489, -0.025976184755563736, -0.03506162017583847, -0.032142460346221924, 0.008895817212760448, -0.060930896550416946, -0.005058306269347668, 0.029601719230413437, -0.008257603272795677, 0.024975884705781937, 0.019922813400626183, -0.02205806039273739, 0.011284442618489265, 0.009744636714458466, 0.012800558470189571, -0.011697194539010525, 0.03160414844751358, 0.019343426451086998, -0.03762469440698624, 0.003961432259529829, 0.022675802931189537, -0.004614452365785837, 0.05433588847517967, 0.029306743294000626, -0.033415909856557846, -0.021811125800013542, 0.022817660123109818, -0.04423284903168678, -0.0587548166513443, 0.02583726868033409, 0.031631357967853546, 0.022924359887838364, -0.03178492188453674, -0.007463755551725626, 0.008811188861727715, -0.001977047882974148, -0.008091621100902557, 0.006411520764231682, -0.025415563955903053, 0.01120717078447342, 0.04411100223660469, 0.019181471318006516, 0.0036787644494324923, -0.0008303923532366753, -0.01692546159029007, 0.034525319933891296, 0.04259301722049713, 0.014954019337892532, -0.11554421484470367, -0.039519015699625015, -0.01185403298586607, 0.05083028972148895, -0.03564198687672615, -0.0455782376229763, 0.035850804299116135, -0.02453094907104969, -0.004175534471869469, 0.0004914563032798469, 0.03359275311231613, 0.010506418533623219, 0.047051314264535904, -0.023893138393759727, 0.011203519999980927, -0.019333168864250183, -0.029271390289068222, -0.02071574702858925, 0.035957884043455124, 0.012280290015041828, -0.009022429585456848, 0.012448231689631939, 0.02195820026099682, -0.005774951074272394, 0.003092825412750244, 0.008985862135887146, 0.03931421786546707, -0.015861596912145615, 0.015473897568881512, -0.04169053956866264, -0.019779173657298088, 0.013352755457162857, -0.0348132848739624, 0.0429462306201458, 0.007823874242603779, -0.009406995959579945, -0.000991791719570756, 0.007033905480057001, 0.030953090637922287, 0.03366792947053909, 0.04427469149231911, 0.037260591983795166, 0.008692282252013683, 0.04228543862700462, 0.013270851224660873, 0.009343134239315987, -0.05695545673370361, -0.019365498796105385, 0.014901640824973583, -0.027751987800002098, -0.02029222808778286, 0.011377993039786816, -0.004822286777198315, 0.058843035250902176, -0.025918424129486084, 0.03047885373234749, -0.028513656929135323, 0.05886629596352577, 0.03816819563508034, -0.04029207304120064, -0.043607886880636215, 0.0037976987659931183, -0.0361592173576355, -0.028675885871052742, -0.011089595966041088, 0.03076770342886448, 0.013704484328627586, 0.030051354318857193, -0.007468895521014929, 0.0374777726829052, 0.00310053420253098, -0.01683015748858452, -0.0002761322830338031, 0.010208715684711933, -0.033053647726774216, 0.022269543260335922, -0.028160441666841507, -0.014115976169705391, 0.028442788869142532, 0.01210052240639925, -0.010521778836846352, -0.009632744826376438, -0.021895188838243484, -0.02718580886721611, 0.015604300424456596, -0.00991560984402895, 0.012881070375442505, 0.009370862506330013, 0.03001677803695202, -0.00219956343062222, 0.006328546442091465, -0.04280265048146248, -0.004453165922313929, 0.004022125154733658, -0.008643015287816525, -0.0304709542542696, 0.031345564872026443, 0.01499079167842865, 0.010074255988001823, 0.0148131949827075, 0.02686408907175064, -0.03475648909807205, -0.01658831536769867, -0.009705581702291965, 0.01988440379500389, -0.0008780609350651503, -0.04324150085449219, -0.027302656322717667, -0.014769140630960464, -0.020441114902496338, 0.004656541161239147, -0.02809353731572628, 0.0029973210766911507, 0.00811447948217392, 0.028686949983239174, 0.00023856063489802182, -0.02367325685918331, -0.05381014943122864, -0.014936341904103756, 0.008630345575511456, -0.029318204149603844, 0.006859244778752327, 0.015113537199795246, -0.03741452842950821, 0.057015061378479004, -0.013687039725482464, -0.023558972403407097, 0.03279145061969757, -0.015488904900848866, -0.029173780232667923, -0.00960465893149376, -0.023400994017720222, 0.03244161978363991, -0.0031560417264699936, 0.009146739728748798, 0.040152404457330704, -0.024947239086031914, 0.017350442707538605, 0.0054662334732711315, -0.06220601871609688, -0.01487737987190485, 0.014539936557412148, 0.028763525187969208, -0.004090943839401007, 0.07002779841423035, 0.018194114789366722, -0.033392488956451416, -0.04595520347356796, -0.002531587379053235, 0.018035953864455223, 0.0479135662317276, 0.021261870861053467, -0.02130427397787571, 0.022054003551602364, 0.008480452932417393, -0.025708913803100586, 0.02724406309425831, 0.0038809645920991898, 0.013098028488457203, 0.04436260461807251, 0.017024246975779533, -0.007733941078186035, -0.03849974274635315, 0.031144671142101288, 0.02932611294090748, -0.010330922901630402, -0.009109806269407272, -0.07637304812669754, -0.016899432986974716, -0.008270779624581337, -0.04718286916613579, -0.0005549814668484032, 0.030996527522802353, -0.046104833483695984, 0.0314471609890461, 0.007831459864974022, 0.04788631945848465, -0.014765333384275436, -0.004433612804859877, 0.030534163117408752, -0.025079067796468735, 0.009376897476613522, 0.004594070836901665, -0.009124048054218292, 0.010789147578179836, 0.04016348347067833, 0.04104028642177582, 0.05476749315857887, -0.004777090158313513, 0.03067057579755783, 0.011913773603737354, -0.016578612849116325, 0.0028505902737379074, -0.001980413682758808, -0.012155354022979736, -0.014867449179291725, 0.002337706508114934, -0.03205301612615585, -0.006809410639107227, 0.011204755865037441, 0.034900862723588943, 0.005016502924263477, -0.02617444470524788, -0.014062369242310524, 0.02685868926346302, -0.026473291218280792, -0.027218438684940338, 0.020380107685923576, 0.003855097806081176, -0.029262909665703773, -0.02052970975637436, 0.025678511708974838, -0.03426336869597435, -0.01898854412138462, 0.004076451063156128, -0.023986613377928734, -0.05251511558890343, -0.01316580455750227, 0.016886815428733826, 0.03839264437556267, 0.010131181217730045, 0.04123818501830101, -0.036465536803007126, 0.000008024958333407994, 0.027619415894150734, -0.02304151840507984, -0.007594309281557798, 0.02175019681453705, -0.01987403817474842, -0.002042870270088315, 0.04048963263630867, 0.006001338828355074, -0.010753299109637737, 0.026884248480200768, 0.009827818721532822, 0.013827812857925892, -0.03419724479317665, 0.028851954266428947, 0.035577282309532166, 0.017262252047657967, 0.008820563554763794, -0.014183132909238338, -0.04875091463327408, 0.0009284308762289584, -0.041827697306871414, -0.01904953643679619, 0.045871552079916, -0.014007510617375374, 0.028602024540305138, 0.016704121604561806, 0.02509479410946369, -0.03663797304034233, 0.009021317586302757, 0.02858429215848446, 0.015951329842209816, 0.03785175830125809, 0.044196732342243195, -0.0277609433978796, 0.006836066488176584, -0.026281079277396202, 0.0064668250270187855, -0.02104119025170803, 0.014102724380791187, 0.04573582857847214, -0.030028218403458595, 0.044324975460767746, 0.012961981818079948, -0.04053531214594841, 0.021083353087306023, 0.059388525784015656, 0.02989567257463932, 0.05185620114207268, 0.03156435489654541, 0.011718587949872017, -0.02256997674703598, -0.015679866075515747, 0.04553806409239769, 0.08909528702497482, 0.0027836239896714687, -0.0295068621635437, -0.0008381675579585135, 0.020277097821235657, 0.07310160994529724, 0.01048695296049118, 0.009756306186318398, 0.018409620970487595, 0.06659059971570969, -0.016696687787771225, 0.037655964493751526, 0.0064625549130141735, -0.02166707068681717, 0.015505831688642502, -0.02991439402103424, -0.05968233942985535, -0.028042489662766457, 0.010437768884003162, 0.03303256258368492, -0.03450009226799011, 0.004843623377382755, -0.03031904250383377, 0.0604650042951107, 0.034176796674728394, 0.006991083733737469, -0.012825890444219112, 0.014525411650538445, 0.0015841317363083363, -0.04015837237238884, -0.007329407148063183, -0.0007940045325085521, 0.004512161016464233, 0.030077993869781494, 0.0866645872592926, -0.01635119691491127, -0.007076808717101812, 0.019932175055146217, -0.001567662344314158, 0.04174027219414711, 0.0039023105055093765, -0.018047098070383072, -0.014284548349678516, 0.036309532821178436, -0.007333781570196152, -0.0048818024806678295, 0.00731421634554863, -0.06647180020809174, -0.006742991041392088, -0.004379295278340578, -0.023626619949936867, -0.02965589053928852, 0.008538525551557541, 0.02682417817413807, 0.03636709973216057, 0.0019120683427900076, -0.0372048057615757, -0.015934588387608528, 0.011528681963682175, 0.018510455265641212, -0.010492420755326748, -0.022657275199890137, -0.02062980644404888, -0.0306797344237566, -0.015893736854195595, -0.02700529806315899, 0.012972974218428135, 0.0004971963353455067, 0.009847860783338547, -0.016779903322458267, -0.03221319243311882, 0.01469213142991066, 0.014503451995551586, -0.002425573533400893, -0.012645866721868515, -0.03283272683620453, 0.0349549762904644, -0.0016020380426198244, 0.004224227275699377, -0.006554611027240753, -0.0469694621860981, 0.03508381545543671, -0.007890789769589901, 0.02567581832408905, 0.03106716461479664, 0.04080772399902344, -0.01714499294757843, -0.014112413860857487, -0.03264523670077324, -0.03902646154165268, 0.013891610316932201, 0.02626487798988819, 0.020237259566783905, -0.03469819948077202, 0.015060484409332275, -0.014658791013062, -0.010640984401106834, 0.013121270574629307, -0.0020911386236548424, 0.029328299686312675, -0.01842140592634678, -0.029183486476540565, -0.03052264079451561, 0.025301367044448853, 0.001875934423878789, 0.0208500474691391, 0.03260529413819313, 0.03861701861023903, -0.0000624407985014841, -0.038639429956674576, 0.012860869988799095, -0.013778136111795902, 0.03192159906029701, -0.04708876833319664, -0.047793202102184296, 0.00414081197232008, -0.02473725937306881, 0.010227104648947716, 0.01674642600119114, -0.023256365209817886, -0.04818624630570412, 0.0003286791907157749, -0.008128181099891663, -0.014813692308962345, 0.011547396890819073, 0.04300542175769806, 0.0615408830344677, -0.006953980773687363, 0.007891448214650154, -0.03288734331727028, -0.01066610962152481, 0.018843062222003937, 0.039839599281549454, 0.07583792507648468, -0.0018807632150128484, -0.041206248104572296, -0.04196539148688316, -0.0024022022262215614, 0.015376861207187176, -0.06896008551120758, -0.011698146350681782, 0.04762047529220581, -0.04966362565755844, -0.01376762893050909, -0.014074752107262611, 0.0278834979981184, -0.008575805462896824, 0.025222448632121086, 0.029875928536057472, 0.002961518010124564, -0.0002507343306206167, -0.000618885038420558, -0.046522095799446106, 0.03043951466679573, 0.011116194538772106, 0.02970651164650917, 0.04308748617768288, 0.026651984080672264, 0.00737305311486125, -0.01262072753161192, -0.013770151883363724, 0.00026281847385689616, 0.005999833345413208, -0.02330111712217331, -0.02967027574777603, 0.018225137144327164, 0.022204836830496788, 0.005066462326794863, -0.032428137958049774, -0.030822983011603355, 0.006560665089637041, 0.004103984218090773, 0.007665897253900766, -0.0195316094905138, -0.02312690205872059, -0.03852337598800659, 0.014135056175291538, 0.009116525761783123, 0.0640772134065628, -0.007690765894949436, -0.018625276163220406, 0.0028039540629833937, 0.026943389326334 ]
Stable Diffusion XL on Mac with Advanced Core ML Quantization
pcuenq
July 27, 2023
stable-diffusion-xl-coreml
coreml, stable-diffusion, stable-diffusion-xl, diffusers
https://huggingface.co/blog/stable-diffusion-xl-coreml
What is Mixed-Bit Palettization? Last month we discussed 6-bit palettization, a post-training quantization method that converts 16-bit weights to just 6-bit per parameter. This achieves an important reduction in model size, but going beyond that is tricky because model quality becomes more and more impacted as the number of bits is decreased. One option to decrease model size further is to use training time quantization, which consists of learning the quantization tables while we fine-tune the model. This works great, but you need to run a fine-tuning phase for every model you want to convert. We explored a different alternative instead: mixed-bit palettization. Instead of using 6 bits per parameter, we examine the model and decide how many quantization bits to use per layer. We make the decision based on how much each layer contributes to the overall quality degradation, which we measure by comparing the PSNR between the quantized model and the original model in float16 mode, for a set of a few inputs. We explore several bit depths, per layer: 1 (!), 2, 4 and 8. If a layer degrades significantly when using, say, 2 bits, we move to 4 and so on. Some layers might be kept in 16-bit mode if they are critical to preserving quality. Using this method, we can achieve effective quantizations of, for example, 2.8 bits on average, and we measure the impact on degradation for every combination we try. This allows us to be better informed about the best quantization to use for our target quality and size budgets. To illustrate the method, let’s consider the following quantization “recipes” that we got from one of our analysis runs (we’ll explain later how they were generated): json { "model_version": "stabilityai/stable-diffusion-xl-base-1.0", "baselines": { "original": 82.2, "linear_8bit": 66.025, "recipe_6.55_bit_mixedpalette": 79.9, "recipe_4.50_bit_mixedpalette": 75.8, "recipe_3.41_bit_mixedpalette": 71.7, }, } What this tells us is that the original model quality, as measured by PSNR in float16, is about 82 dB. Performing a naïve 8-bit linear quantization drops it to 66 dB. But then we have a recipe that compresses to 6.55 bits per parameter, on average, while keeping PSNR at 80 dB. The second and third recipes further reduce the model size, while still sustaining a PSNR larger than that of the 8-bit linear quantization. For visual examples, these are the results on prompt a high quality photo of a surfing dog running each one of the three recipes with the same seed: | 3.41-bit | 4.50-bit | 6.55-bit | 16-bit (original) | | :-------:| :-------:| :-------:| :----------------:| | | | | | Some initial conclusions: - In our opinion, all the images have good quality in terms of how realistic they look. The 6.55 and 4.50 versions are close to the 16-bit version in this aspect. - The same seed produces an equivalent composition, but will not preserve the same details. Dog breeds may be different, for example. - Adherence to the prompt may degrade as we increase compression. In this example, the aggressive 3.41 version loses the board. PSNR only compares how much pixels differ overall, but does not care about the subjects in the images. You need to examine results and assess them for your use case. This technique is great for Stable Diffusion XL because we can keep about the same UNet size even though the number of parameters tripled with respect to the previous version. But it's not exclusive to it! You can apply the method to any Stable Diffusion Core ML model.
[ 0.04123670980334282, -0.019233375787734985, -0.0018088635988533497, -0.03232178837060928, 0.08947322517633438, 0.057603828608989716, -0.04270079359412193, 0.010853657498955727, -0.021431228145956993, -0.009048053994774818, -0.06758621335029602, -0.057988494634628296, -0.013349556364119053, -0.032566700130701065, 0.000985093880444765, 0.03146890923380852, 0.08425841480493546, -0.08455032855272293, 0.04501665011048317, 0.030736509710550308, -0.022638360038399696, -0.04272199049592018, 0.04961103945970535, -0.019412284716963768, -0.014719884842634201, -0.036802541464567184, 0.01703633740544319, -0.0076886131428182125, -0.0035065817646682262, 0.04379114881157875, -0.12324605882167816, 0.002501965733245015, -0.05241156741976738, -0.015891242772340775, 0.05144042894244194, 0.04768247902393341, -0.07006491720676422, 0.026291143149137497, -0.008890400640666485, -0.016785534098744392, 0.020189514383673668, -0.002021986525505781, 0.013386265374720097, 0.04398185759782791, 0.03076133318245411, -0.006745143793523312, -0.1396559178829193, 0.04326194152235985, -0.07526325434446335, -0.06582227349281311, -0.03643857687711716, 0.034943729639053345, -0.05873142182826996, 0.07380995899438858, -0.02138417772948742, 0.01580454781651497, 0.046050090342760086, -0.0487823449075222, -0.016099756583571434, 0.03173466771841049, 0.07329130172729492, -0.04745050147175789, 0.010661392472684383, 0.006183607503771782, 0.059703562408685684, -0.0008525626617483795, 0.01607504114508629, 0.00045287111424840987, -0.00913985725492239, -0.02786216326057911, -0.0056409952230751514, -0.013814237900078297, -0.031547676771879196, -0.03578044846653938, -0.00835102703422308, -0.03332827240228653, -0.02366556227207184, 0.014648965559899807, 0.03997870534658432, 0.037387315183877945, 0.0398351289331913, 0.003633521730080247, 0.06374771893024445, 0.07085416465997696, 0.023591356351971626, -0.01133723370730877, 0.029687723144888878, 0.03744871914386749, -0.023912714794278145, 0.04103269428014755, 0.0043500568717718124, -0.09476003050804138, 0.06201155483722687, -0.0053698960691690445, 0.0025173635222017765, -0.07311908900737762, -0.006739048287272453, -0.02542800083756447, 0.05495547875761986, 0.04104236140847206, 0.005601472686976194, 0.005006524734199047, 0.007229161448776722, -0.03592800721526146, -0.09932167083024979, 0.04997260496020317, -0.06418072432279587, -0.08938721567392349, -0.05216140300035477, 0.0011823957320302725, 0.05712553486227989, 0.03444496542215347, 0.01160409301519394, 0.03707127645611763, -0.03666546568274498, 0.05478239431977272, -0.03979862481355667, 0.05054787918925285, -0.007875172421336174, 0.007838595658540726, 0.014603663235902786, 0.12649157643318176, 0.0918123871088028, -0.07675602287054062, -0.05245695635676384, 0.05160360783338547, 0.06900028884410858, -0.008221928030252457, 0.07309933751821518, 0.041086345911026, 0.017934203147888184, 0.019251927733421326, 0.02936507761478424, -0.01615602895617485, 0.020937638357281685, -0.08109016716480255, 0.01335185207426548, -0.0914488136768341, -0.007416617125272751, -0.10511160641908646, -0.022739659994840622, 0.05977903679013252, -0.001048823818564415, -0.03379179909825325, -0.018190575763583183, 0.021254010498523712, 0.006198596674948931, 0.030104778707027435, 0.025361202657222748, 0.010112135671079159, -0.037216249853372574, 0.04017559438943863, -0.046351756900548935, -0.05550453066825867, 0.016752397641539574, 0.03531363978981972, -0.0157195795327425, -0.10311053693294525, -0.04353337734937668, -0.0010305087780579925, 0.018531454727053642, -0.05767422541975975, 0.040919240564107895, -0.024204354733228683, 0.12365676462650299, -0.0128888925537467, -0.03733915090560913, 0.08560120314359665, 0.00014115248632151634, 0.05801098793745041, 0.024076269939541817, -0.055001139640808105, 0.08591923862695694, 0.005804533138871193, 0.024991238489747047, 0.03136672079563141, 0.060490816831588745, 0.11889488995075226, -0.021620193496346474, -0.04018774628639221, -0.04923069477081299, 0.02341405116021633, -0.0011478845262899995, 0.01833777315914631, 0.034864798188209534, -0.07592877745628357, 0.06530822068452835, -0.060845356434583664, -0.03209952637553215, 0.09079165011644363, -0.04725804924964905, 0.002425659913569689, 0.08500214666128159, -0.009226330555975437, 0.025615138933062553, -0.056357141584157944, -0.022706707939505577, 0.13491752743721008, 0.044057779014110565, 0.006915015634149313, 0.005226570647209883, -0.08931150287389755, 0.04504752159118652, 0.0031396180856972933, -0.009669994935393333, 0.05316202715039253, 0.004273159429430962, -0.02601497992873192, 0.07875164598226547, -0.01123453676700592, 0.012443950399756432, -0.057756997644901276, -0.01951652392745018, -0.018569523468613625, -0.016248298808932304, 0.01526919286698103, -0.020182255655527115, 0.011716746725142002, 0.05286795273423195, -0.06390915811061859, 0.08640486001968384, 0.03456833213567734, -0.029065852984786034, 0.01033240370452404, -0.02637946419417858, -0.0257309190928936, 0.004042562562972307, 0.014084932394325733, 0.07760361582040787, -0.06119342893362045, -0.03788848593831062, -0.002570798620581627, 0.006086508743464947, 0.02810537815093994, -0.00016975688049569726, -0.004052916541695595, -0.049237824976444244, -0.03321605548262596, 0.0758197158575058, -0.04506879672408104, 0.028579769656062126, 0.010110396891832352, 0.007848117500543594, 0.0012918587308377028, -0.0574197843670845, 0.05827196314930916, 0.10394877195358276, 0.011124667711555958, -0.09110644459724426, -0.02266351692378521, -0.07099462300539017, 0.030708421021699905, -0.025091778486967087, -0.05818227678537369, -0.01856403797864914, -0.004434286151081324, 0.03526649996638298, 0.009121221490204334, -0.0204122643917799, 0.016261303797364235, -0.027333999052643776, 0.011400770395994186, 0.0039017996750772, -0.004579063039273024, 0.019924473017454147, -0.024137310683727264, 0.009394173510372639, -0.00489085866138339, 0.00635962700471282, 0.014136500656604767, 0.06867460161447525, -0.0010809727245941758, 0.005858403164893389, 0.008799999952316284, -0.0082244873046875, -0.00469919154420495, 0.01227918453514576, 0.03683985024690628, -0.062313541769981384, 0.017459239810705185, 0.0037003797478973866, -0.003041967051103711, 0.0315253920853138, 0.027857396751642227, 0.010801427997648716, -0.012533272616565228, 0.03957162797451019, -0.03482392802834511, -0.020750949159264565, 0.0350571908056736, 0.008997653611004353, 0.02685365080833435, 0.016149120405316353, 0.030690966174006462, 0.05815128609538078, -0.0015226623509079218, -0.008647056296467781, 0.020859913900494576, -0.004006190225481987, 0.011574636213481426, 0.03464501351118088, -0.0032132375054061413, 0.017442837357521057, -0.018295159563422203, -0.0319867767393589, 0.046726033091545105, 0.03391057252883911, 0.03644831106066704, -0.09870271384716034, -0.019749129191040993, 0.020517995581030846, 0.042228493839502335, -0.04084370657801628, -0.04633769020438194, 0.05601128190755844, -0.002047313377261162, -0.00038099399534985423, -0.021155985072255135, 0.04054159298539162, -0.02753329649567604, 0.02609538659453392, 0.018897686153650284, 0.019993800669908524, 0.0065977503545582294, 0.0021314139012247324, 0.005967441946268082, 0.0281600933521986, 0.047936391085386276, -0.0005589028587564826, 0.020561691373586655, 0.052183184772729874, -0.00020791699353139848, -0.003489719470962882, 0.013667330145835876, 0.02972201257944107, 0.0005510824266821146, -0.010734298266470432, -0.022971631959080696, -0.03797968104481697, -0.02105572633445263, -0.03223083168268204, 0.05996755138039589, 0.03366096317768097, 0.00047364371130242944, 0.028976144269108772, 0.019291890785098076, -0.0021155376452952623, 0.013578537851572037, 0.01950935088098049, 0.05135570839047432, -0.005310353823006153, 0.004479438066482544, 0.02404877543449402, 0.0019895932637155056, -0.01764952391386032, -0.03548867255449295, -0.01572631485760212, -0.04606446996331215, 0.0016064845258370042, -0.025711046531796455, 0.0004611068870872259, 0.03637666255235672, -0.026172563433647156, -0.008702720515429974, -0.01963713951408863, 0.026840679347515106, 0.040346793830394745, -0.025559084489941597, -0.008180965669453144, -0.003933729603886604, 0.01808389648795128, -0.02432776428759098, -0.006441539153456688, 0.02352248504757881, -0.005388676188886166, 0.05631658434867859, -0.007048808503895998, 0.04081306234002113, 0.012017624452710152, -0.0261765718460083, 0.023730583488941193, 0.0030734771862626076, -0.0361727736890316, -0.0009033358655869961, -0.03861583024263382, -0.005752001889050007, 0.05091572925448418, -0.005704287905246019, -0.016685910522937775, -0.013611624017357826, -0.012918456457555294, -0.00037701032124459743, -0.0016147312708199024, 0.0038104045670479536, 0.04389351233839989, 0.016823632642626762, 0.013698648661375046, 0.004661422222852707, 0.045285001397132874, -0.03494221344590187, -0.005020809359848499, 0.02349427528679371, -0.043706513941287994, -0.009867389686405659, 0.05872790142893791, 0.014414231292903423, -0.010903524234890938, 0.04156536981463432, 0.04385022819042206, -0.0631922110915184, 0.00812445767223835, -0.051600534468889236, 0.039369259029626846, -0.05420392379164696, -0.05521870404481888, -0.020382888615131378, -0.026672247797250748, -0.0031855402048677206, -0.008707134984433651, -0.01801309362053871, 0.009116900153458118, 0.013430333696305752, 0.0430440753698349, -0.0012655003229156137, -0.0886191725730896, -0.03598916530609131, -0.007591119036078453, 0.004995628260076046, -0.022851096466183662, 0.00572179676964879, 0.033351004123687744, -0.008668667636811733, 0.04065521061420441, 0.016777148470282555, -0.02571084350347519, 0.015288068912923336, -0.033201366662979126, -0.028414415195584297, -0.025000913068652153, -0.010084584355354309, -0.014346346259117126, 0.007241781800985336, 0.015077687799930573, 0.0022285107988864183, -0.028835279867053032, 0.014927210286259651, 0.003689281642436981, -0.03722706809639931, -0.022596322000026703, 0.012949874624609947, 0.031237931922078133, -0.0356815904378891, 0.04791577532887459, 0.02514159493148327, -0.027379823848605156, -0.027149371802806854, -0.00936036091297865, 0.029196804389357567, 0.02817249484360218, 0.005553386639803648, -0.055108312517404556, -0.0382738895714283, 0.027013791725039482, -0.02695474773645401, 0.0167918112128973, -0.012367411516606808, 0.010805663652718067, 0.013552307151257992, 0.027944259345531464, 0.014867899939417839, -0.04997365176677704, -0.0005684379138983786, 0.02870435267686844, -0.032116107642650604, 0.000029432743758661672, -0.05730182304978371, -0.015117756091058254, -0.01419048011302948, -0.016269272193312645, -0.019389940425753593, 0.020632321015000343, -0.033980581909418106, 0.03397063910961151, -0.028333213180303574, 0.005995647516101599, -0.018116474151611328, -0.015698673203587532, -0.011053548194468021, -0.030729560181498528, -0.022164752706885338, 0.01210002787411213, -0.0006110058166086674, -0.027823977172374725, 0.06683353334665298, 0.030932685360312462, 0.08864162862300873, -0.037974316626787186, 0.042339909821748734, 0.014206955209374428, 0.012394058518111706, 0.015073333866894245, 0.011674201115965843, 0.003289503278210759, -0.010982738807797432, 0.002352946437895298, -0.007380817085504532, -0.021993588656187057, 0.016190284863114357, 0.03291114419698715, -0.0001879494229797274, 0.010187279433012009, -0.04649106413125992, 0.015947185456752777, -0.006369991227984428, -0.03408882021903992, 0.013051720336079597, -0.030733652412891388, -0.04119570180773735, -0.025150947272777557, -0.0029698298312723637, -0.03339676931500435, 0.004839700646698475, 0.005205434747040272, -0.01699652336537838, -0.04988720268011093, 0.02350330911576748, 0.01396636851131916, 0.01669362559914589, -0.000778290384914726, 0.02511059120297432, -0.04253881052136421, -0.014430772513151169, 0.048092372715473175, -0.05961589515209198, 0.01567455753684044, 0.014539241790771484, -0.01672437973320484, -0.02419576793909073, 0.0015798402018845081, 0.0013210444012656808, -0.020139899104833603, 0.016789602115750313, 0.029134826734662056, -0.014485541731119156, -0.013094895519316196, 0.030239077284932137, 0.043370865285396576, 0.009794295765459538, -0.018634498119354248, -0.025438295677304268, -0.08370320498943329, 0.003152664052322507, -0.0676102265715599, -0.002488517900928855, 0.021680038422346115, -0.05498378351330757, 0.00015140628966037184, 0.007148039527237415, 0.02062724344432354, -0.006270929705351591, 0.016184506937861443, -0.0033475151285529137, 0.03157950937747955, 0.052419234067201614, 0.05410394072532654, -0.04177677631378174, 0.028214646503329277, 0.020882774144411087, 0.033714599907398224, 0.01049334742128849, 0.0009775693761184812, 0.032055292278528214, -0.030301423743367195, 0.04378415644168854, 0.02049405500292778, -0.06633996963500977, -0.010465462692081928, 0.06988202780485153, 0.03770603612065315, 0.04896928742527962, -0.007280812598764896, 0.04270752891898155, -0.025517446920275688, -0.003073804546147585, 0.014282098039984703, 0.06630560010671616, -0.005231968127191067, -0.006645932327955961, 0.011976427398622036, -0.004050469025969505, 0.039042770862579346, -0.009321806021034718, 0.04133505001664162, -0.015508555807173252, 0.04155847802758217, 0.02189331315457821, 0.014438645914196968, -0.003018589923158288, -0.016033148393034935, 0.0029952717013657093, -0.01301781926304102, -0.04792622849345207, -0.03606650233268738, 0.05045204982161522, 0.024756688624620438, -0.030327675864100456, 0.017521752044558525, -0.0054282452911138535, 0.045970406383275986, 0.020113883540034294, -0.0014185525942593813, 0.024538537487387657, -0.0023335220757871866, 0.0013861217303201556, -0.04073095694184303, -0.008159814402461052, -0.004068455658853054, 0.022415855899453163, 0.01150369830429554, 0.07053209841251373, -0.012150893919169903, 0.008875266648828983, 0.056162819266319275, -0.007373683620244265, 0.028409823775291443, 0.018744513392448425, 0.01574418880045414, -0.00943401362746954, 0.009319611825048923, 0.009997575543820858, 0.01928095333278179, 0.03372497484087944, -0.05877342447638512, -0.014397098682820797, 0.0006529651582241058, -0.030067406594753265, -0.035358015447854996, 0.016830384731292725, -0.0032599931582808495, 0.06065816059708595, -0.014160183258354664, -0.0943065732717514, -0.03183877468109131, -0.01759689301252365, 0.00011114653170807287, -0.011582794599235058, -0.05594318360090256, 0.023659363389015198, -0.0266058761626482, 0.011281718499958515, -0.04461218789219856, 0.028952673077583313, -0.0038920030929148197, 0.028463143855333328, -0.005232989322394133, -0.014974583871662617, -0.011022867634892464, -0.01582319661974907, -0.016876360401511192, 0.012792237102985382, -0.03024551272392273, 0.017176806926727295, -0.013140521943569183, -0.04711003229022026, 0.0023302664048969746, -0.02481253072619438, 0.026127789169549942, 0.006758499424904585, 0.054205894470214844, 0.02097245119512081, 0.025380978360772133, 0.01631210558116436, -0.04289676994085312, -0.03843189775943756, -0.07769326120615005, -0.0028446305077522993, -0.007918993942439556, 0.007582240737974644, -0.04413119703531265, -0.008279611356556416, 0.0055894311517477036, -0.0210984256118536, 0.001079930691048503, -0.015638133510947227, 0.014112201519310474, -0.03210447356104851, -0.024621546268463135, 0.01908670924603939, 0.013837023638188839, -0.013722067698836327, -0.004845652263611555, 0.008590123616158962, 0.014100044034421444, -0.0241752490401268, -0.015797551721334457, 0.008308337070047855, -0.007465224713087082, 0.04252973943948746, -0.032905761152505875, -0.03421364724636078, -0.008314940147101879, 0.03161631152033806, -0.04173602536320686, 0.04404858127236366, -0.009062487632036209, -0.04982191324234009, 0.010455289855599403, 0.0009523398475721478, -0.013974121771752834, -0.021388007327914238, 0.04294396564364433, 0.029916882514953613, -0.01903216727077961, 0.008848785422742367, -0.05901161953806877, -0.00261767883785069, 0.014220518060028553, 0.01783490926027298, 0.05634501948952675, 0.0029826925601810217, -0.013451886363327503, -0.01362333819270134, -0.009418481029570103, -0.001518529374152422, -0.03616083040833473, -0.04894029349088669, 0.041233014315366745, -0.05427393317222595, -0.01738068461418152, -0.010106973350048065, 0.00033421299303881824, 0.007140866480767727, 0.0003024726756848395, 0.04487549513578415, 0.014608077704906464, 0.010568683966994286, -0.016059396788477898, -0.03491540998220444, 0.0011623360915109515, -0.01516561396420002, 0.010555649176239967, 0.032571326941251755, -0.00030591944232583046, 0.017084237188100815, -0.004727914929389954, -0.032182976603507996, -0.010413999669253826, -0.0018288851715624332, 0.008741531521081924, -0.016155192628502846, 0.03607473149895668, 0.055166758596897125, -0.014317739754915237, -0.02568242885172367, 0.005847920663654804, 0.0002527844626456499, -0.0244076456874609, 0.0009638429037295282, 0.011584218591451645, -0.005302345380187035, -0.024163929745554924, 0.003570171073079109, -0.003965596202760935, 0.03055753745138645, 0.010507570579648018, 0.03247687593102455, 0.0037953697610646486, 0.04964996501803398 ]
Stable Diffusion XL on Mac with Advanced Core ML Quantization
pcuenq
July 27, 2023
stable-diffusion-xl-coreml
coreml, stable-diffusion, stable-diffusion-xl, diffusers
https://huggingface.co/blog/stable-diffusion-xl-coreml
Running Mixed-Bit Palettization After converting Stable Diffusion or Stable Diffusion XL models to Core ML, you can optionally apply mixed-bit palettization using the scripts mentioned above. Because the analysis process is slow, we have prepared recipes for the most popular models: * Recipes for Stable Diffusion 1.5 * Recipes for Stable Diffusion 2.1 * Recipes for Stable Diffusion XL 1.0 base You can download and apply them locally to experiment. In addition, we also applied the three best recipes from the Stable Diffusion XL analysis to the Core ML version of the UNet, and published them here. Feel free to play with them and see how they work for you! Finally, as mentioned in the introduction, we created a complete Stable Diffusion XL Core ML pipeline that uses a 4.5-bit recipe.
[ 0.048903606832027435, -0.020531514659523964, 0.008680285885930061, -0.01797635853290558, 0.11194036155939102, 0.022340329363942146, -0.05535740777850151, -0.012548781931400299, -0.00466348510235548, -0.05557165667414665, -0.04306081309914589, -0.005945018492639065, -0.024217218160629272, -0.03676525130867958, 0.06304309517145157, 0.03200583532452583, 0.024007001891732216, -0.06651811301708221, -0.0104126101359725, 0.021106291562318802, 0.017074570059776306, -0.08859062194824219, 0.007668280508369207, 0.005660759750753641, -0.038449205458164215, -0.036969881504774094, 0.06300067901611328, -0.017255665734410286, -0.0013276750687509775, 0.017893051728606224, -0.12177184969186783, 0.021128902211785316, 0.0060026152059435844, -0.014707332476973534, 0.015318425372242928, 0.009248183108866215, -0.06878329068422318, 0.034434471279382706, 0.02011154033243656, 0.01199485082179308, 0.03883661702275276, 0.02308220975100994, -0.03595637157559395, 0.040142495185136795, 0.03883853554725647, -0.018173914402723312, -0.20377692580223083, 0.06056971475481987, -0.09262970089912415, -0.024558376520872116, -0.040620751678943634, 0.02555122971534729, -0.017134085297584534, 0.02209085412323475, 0.006630436517298222, 0.034669097512960434, 0.00991225428879261, -0.027236569672822952, -0.0018801760161295533, 0.030696818605065346, 0.0639575645327568, -0.05960182473063469, -0.059142280369997025, -0.016318131238222122, 0.04672998934984207, -0.015400204807519913, -0.021070964634418488, -0.050365056842565536, -0.07015183568000793, -0.0408649668097496, 0.020381556823849678, -0.013938128016889095, -0.0016593083273619413, -0.01095180120319128, 0.019670359790325165, -0.057250961661338806, 0.012030711397528648, 0.07406274229288101, 0.036439698189496994, -0.011037928983569145, 0.005188014358282089, -0.008581867441534996, 0.06243970990180969, 0.07085611671209335, 0.02285161241889, 0.014983783476054668, 0.06473924964666367, 0.02468564547598362, -0.02167525142431259, 0.003088488010689616, -0.00799456238746643, -0.08135176450014114, 0.04426346719264984, 0.022100673988461494, 0.030560538172721863, -0.0759381651878357, -0.03519292175769806, -0.026029137894511223, 0.027277307584881783, 0.057659976184368134, -0.01613793708384037, -0.029024874791502953, -0.0234879981726408, -0.05189170315861702, -0.09004692733287811, 0.017743466421961784, -0.04193247854709625, -0.06614215672016144, -0.057409271597862244, -0.02503109909594059, 0.06636849045753479, 0.03380830958485603, -0.011778205633163452, 0.017123926430940628, -0.06228870898485184, 0.053775619715452194, -0.04315662756562233, 0.027371959760785103, -0.014070547185838223, 0.036495279520750046, 0.006657497491687536, 0.095490463078022, 0.04527300223708153, -0.029652321711182594, -0.060113247483968735, 0.09702007472515106, 0.035624049603939056, -0.02554338239133358, 0.0242796391248703, 0.01604749634861946, 0.015424150042235851, -0.0033969103824347258, 0.049210287630558014, -0.048676732927560806, 0.08885875344276428, -0.1234973669052124, -0.06677493453025818, -0.07305531203746796, -0.04941308870911598, -0.08226869255304337, -0.02508692629635334, 0.06213539466261864, 0.032583728432655334, 0.009412284940481186, -0.01819934882223606, -0.013860544189810753, 0.016359364613890648, -0.009474186226725578, -0.03055458702147007, 0.011601240374147892, -0.041687387973070145, 0.045739445835351944, -0.029140247032046318, -0.06465484946966171, 0.009436966851353645, 0.07686972618103027, -0.03277881070971489, -0.05843925476074219, -0.06897348165512085, -0.006508838385343552, 0.011759642511606216, -0.04781324043869972, 0.014318269677460194, -0.03224547579884529, 0.07903720438480377, -0.022033758461475372, 0.004453474190086126, 0.08080780506134033, 0.02185279317200184, 0.014602613635361195, 0.03873381018638611, -0.05057984218001366, 0.10015985369682312, -0.0016482798382639885, 0.054771892726421356, 0.025121299549937248, 0.09321332722902298, 0.12622012197971344, -0.0057835448533296585, -0.04079032689332962, -0.04186847060918808, 0.01911631040275097, -0.018528126180171967, 0.05574960634112358, -0.012053203769028187, -0.0736248567700386, 0.047155603766441345, -0.08092286437749863, 0.0013688112376257777, 0.05502663925290108, 0.0303464587777853, 0.0066131786443293095, 0.09364354610443115, -0.0023084653075784445, -0.007822946645319462, -0.002564808586612344, -0.06093606352806091, 0.1081286147236824, -0.013013324700295925, 0.029625270515680313, 0.004956715740263462, -0.09376893937587738, 0.0640791654586792, -0.00724629033356905, -0.031286828219890594, 0.04602465778589249, -0.0007394702988676727, -0.028301559388637543, 0.07447713613510132, -0.01613800600171089, -0.011122980155050755, -0.0912734642624855, 0.02096383273601532, -0.008806814439594746, -0.008374053053557873, 0.011205751448869705, -0.04106658697128296, -0.015822606161236763, 0.029977597296237946, -0.10565758496522903, 0.11383435875177383, 0.0022982177324593067, -0.020070312544703484, 0.02550618350505829, -0.0818573385477066, 0.011431126855313778, 0.05702300742268562, -0.024860680103302002, 0.06689594686031342, -0.06606481224298477, -0.03623021021485329, -0.023414377123117447, 0.007279608398675919, 0.0411868691444397, 0.013451979495584965, -0.0036570546217262745, -0.013298481702804565, 0.0035441082436591387, 0.04251250624656677, -0.04201280325651169, 0.06449180096387863, -0.02970409020781517, -0.05771038681268692, 0.02275768853724003, -0.03833882138133049, 0.01700858399271965, 0.05261842533946037, 0.01242641918361187, -0.02221773751080036, 0.030283601954579353, -0.053022872656583786, 0.004893268458545208, -0.07786674797534943, -0.09324023872613907, -0.007738544140011072, 0.007238893769681454, 0.03037075512111187, -0.002790528815239668, -0.0055575245060026646, 0.009246960282325745, -0.02775467187166214, -0.009271726943552494, -0.04789917543530464, -0.018646854907274246, 0.001112240250222385, -0.04156820476055145, 0.006544067058712244, -0.017703436315059662, -0.008645432069897652, 0.004682117607444525, 0.015372454188764095, -0.0020599772688001394, -0.02722475863993168, -0.010805120691657066, 0.025493953377008438, -0.021771686151623726, 0.030073195695877075, 0.014780345372855663, -0.03351676091551781, 0.0022939180489629507, 0.018085170537233353, -0.011554676108062267, 0.0291085597127676, 0.028154872357845306, -0.030834976583719254, 0.007298667449504137, 0.014981725253164768, -0.03957126662135124, -0.04680763930082321, 0.05251821130514145, 0.005135941784828901, 0.01648072898387909, 0.010307039134204388, 0.009634790010750294, 0.04432365670800209, -0.007517153862863779, -0.020022233948111534, 0.01781325601041317, -0.046244435012340546, 0.018150722607970238, 0.022006141021847725, -0.002867849776521325, 0.03503822535276413, -0.00192080473061651, -0.03151455521583557, 0.08265654742717743, 0.03988570719957352, 0.014813375659286976, -0.10027877986431122, -0.012196221388876438, -0.03252158313989639, 0.05149724334478378, -0.011949573643505573, -0.07141097635030746, 0.014620372094213963, -0.009194616228342056, 0.010292504914104939, 0.008741183206439018, 0.017724351957440376, -0.004940166138112545, 0.04696101322770119, 0.0173171516507864, 0.009649583138525486, -0.004745509009808302, 0.03309374302625656, -0.014253386296331882, 0.005068328231573105, 0.04785080626606941, -0.012166215106844902, 0.03241851180791855, 0.04797224700450897, -0.017153412103652954, 0.008732627145946026, 0.025347892194986343, 0.047762274742126465, 0.017164776101708412, 0.016114655882120132, -0.0242789164185524, -0.040635108947753906, 0.003299645148217678, -0.023428848013281822, 0.04848344996571541, 0.010930773802101612, 0.009751572273671627, -0.016258813440799713, 0.03956276550889015, 0.04950894042849541, 0.022722233086824417, 0.015024642460048199, 0.03203631564974785, 0.0004903468070551753, 0.014003466814756393, -0.0046446844935417175, -0.008865942247211933, -0.024727612733840942, -0.0030472446233034134, -0.009198401123285294, -0.03074343316257, -0.018045717850327492, 0.0202155914157629, 0.0207816194742918, 0.040765274316072464, -0.015424898825585842, 0.023768676444888115, -0.02744208462536335, 0.04270653426647186, 0.034717533737421036, -0.05434098094701767, -0.013876314274966717, -0.010348481126129627, 0.007243503350764513, -0.032757408916950226, -0.01564919576048851, 0.0023926659487187862, 0.03910422697663307, 0.04890713468194008, 0.001100884168408811, 0.022737396880984306, 0.0289296992123127, -0.029900308698415756, 0.03087584674358368, 0.002337884623557329, -0.029343929141759872, 0.008063099347054958, -0.03224385902285576, -0.008930725045502186, 0.02678847126662731, 0.026620889082551003, -0.01337712537497282, -0.028257960453629494, -0.008059985935688019, -0.040969036519527435, 0.030584368854761124, 0.012143279425799847, 0.024638300761580467, 0.019836004823446274, 0.023053795099258423, 0.009885446168482304, 0.01928812451660633, -0.052141524851322174, 0.013068173080682755, 0.012809589505195618, 0.021587131544947624, -0.008029818534851074, 0.0526898093521595, 0.01598222553730011, 0.022649575024843216, 0.03988804668188095, 0.029614979401230812, -0.046320006251335144, -0.021731290966272354, -0.04126398265361786, -0.004586220718920231, -0.03845516964793205, -0.02027934603393078, -0.00019657242228277028, -0.011473840102553368, -0.031843606382608414, 0.011903726495802402, -0.040805310010910034, 0.018909912556409836, 0.03035171516239643, 0.026149241253733635, 0.020664304494857788, -0.04623928293585777, -0.06076937913894653, -0.017817724496126175, 0.003652446437627077, -0.0370202474296093, 0.025506680831313133, 0.031770046800374985, -0.030242573469877243, 0.03672105818986893, 0.028006702661514282, -0.012836574576795101, 0.025421932339668274, -0.0010411657858639956, -0.015303131192922592, 0.007273652125149965, -0.01941600628197193, 0.009300158359110355, 0.02726135216653347, 0.010319135151803493, -0.011797787621617317, -0.010467823594808578, 0.04922425374388695, -0.012256817892193794, -0.05693014711141586, -0.027436790987849236, 0.0036228038370609283, 0.026796547695994377, -0.02397375926375389, 0.042361706495285034, 0.0027514782268553972, -0.02986193634569645, -0.03318321704864502, -0.013728361576795578, 0.04374830052256584, 0.049862854182720184, 0.03366892412304878, -0.03717299550771713, -0.012511136010289192, -0.006180128548294306, -0.024438505992293358, -0.0007859528413973749, 0.004790440667420626, 0.04148437827825546, 0.01738443784415722, 0.008508366532623768, 0.021503278985619545, -0.015566470101475716, -0.006943284999579191, 0.01381679717451334, -0.02087411843240261, 0.016730930656194687, -0.08170109987258911, -0.03277534991502762, 0.004927469417452812, -0.0316559374332428, 0.017625339329242706, 0.0030134429689496756, -0.032735519111156464, 0.049322403967380524, 0.0007940239738672972, 0.03803756833076477, -0.014332481659948826, 0.002016962505877018, -0.0008568311459384859, -0.03179984912276268, -0.009132186882197857, 0.011757020838558674, -0.002819051733240485, -0.011930311098694801, 0.048273034393787384, 0.016528736799955368, 0.04420178756117821, 0.009873198345303535, 0.030979596078395844, 0.012209873646497726, 0.02290417067706585, -0.001705889473669231, 0.021748626604676247, 0.01122554112225771, -0.009033250622451305, -0.011701837182044983, -0.016940778121352196, -0.020695718005299568, -0.001954862615093589, 0.02711380086839199, 0.023119758814573288, 0.004206215962767601, -0.04200761765241623, 0.02948785573244095, 0.005610741209238768, -0.019910132512450218, 0.008825329132378101, 0.015663992613554, -0.02605726383626461, -0.0012236585607752204, 0.03506038337945938, -0.029050426557660103, 0.00043784541776403785, -0.00905735231935978, -0.011221295222640038, -0.03279997408390045, 0.014071611687541008, 0.031525254249572754, 0.04203540086746216, -0.005153580103069544, 0.04277820885181427, -0.038505878299474716, 0.011857244186103344, 0.029017657041549683, -0.019701683893799782, 0.013113994151353836, 0.016709672287106514, -0.03809947520494461, -0.01101419236510992, 0.04286522418260574, 0.0031637372449040413, -0.003237242577597499, 0.0537736602127552, 0.01942649483680725, 0.010748104192316532, -0.018106386065483093, 0.06157371774315834, 0.039375122636556625, 0.030245639383792877, -0.004237883724272251, -0.03031347505748272, -0.06533340364694595, -0.004585521761327982, -0.03230663761496544, 0.017399076372385025, 0.011045643128454685, -0.009421264752745628, 0.0014677578583359718, 0.02633368968963623, 0.020502176135778427, -0.04569113254547119, 0.022491302341222763, -0.008504421450197697, 0.033025044947862625, 0.025844747200608253, 0.0708509087562561, -0.023837126791477203, 0.045919325202703476, 0.015547742135822773, -0.006770974025130272, 0.005485710687935352, 0.038192473351955414, 0.0018604416400194168, -0.012809461914002895, 0.04505617544054985, 0.018047139048576355, -0.07087123394012451, -0.0018041628645732999, 0.058853697031736374, 0.03778639808297157, 0.022609038278460503, -0.009038030169904232, 0.030108528211712837, -0.025712840259075165, -0.0182453952729702, 0.03476397693157196, 0.08434540033340454, -0.016988657414913177, 0.003729076124727726, -0.006181162316352129, 0.033504683524370193, 0.05266447365283966, 0.013797995634377003, 0.015611935406923294, 0.014785048551857471, 0.02566550113260746, 0.007946472615003586, 0.015414753928780556, 0.046787720173597336, -0.04425828903913498, -0.02531331218779087, -0.040268078446388245, -0.047198206186294556, -0.02491883561015129, 0.04667694866657257, -0.01693386770784855, -0.01961798593401909, -0.015609962865710258, -0.04067394509911537, 0.07132777571678162, 0.03978395089507103, 0.032362375408411026, 0.008276985026896, 0.002184801734983921, -0.02458331733942032, -0.0037033387925475836, -0.0017122484277933836, -0.016115771606564522, 0.03173016756772995, 0.029270000755786896, 0.0610978901386261, -0.001655125175602734, 0.025325169786810875, 0.038144998252391815, 0.030349556356668472, 0.031322382390499115, 0.016014177352190018, 0.007775905076414347, -0.017914224416017532, 0.017794936895370483, -0.0009287712164223194, -0.009049179963767529, 0.037695255130529404, -0.08570997416973114, 0.0044801863841712475, -0.006422059610486031, -0.03130989521741867, -0.03498832881450653, 0.012067340314388275, -0.0031187874265015125, 0.0327182300388813, 0.011165081523358822, -0.005113932769745588, -0.031219689175486565, -0.005660727620124817, 0.021432843059301376, 0.00045729734119959176, -0.03515303134918213, -0.016208747401833534, -0.027170708402991295, 0.020021159201860428, -0.032670654356479645, 0.0021783611737191677, 0.028294483199715614, 0.005967599805444479, -0.008518269285559654, -0.01854129321873188, -0.007277905009686947, -0.003960346803069115, -0.0013593982439488173, 0.008398769423365593, -0.05005667358636856, 0.031292546540498734, 0.004470841959118843, -0.04420379549264908, -0.026731254532933235, -0.03229521960020065, 0.023142803460359573, -0.0020763601642102003, 0.026425031945109367, 0.03023102506995201, 0.03132065758109093, -0.004078308120369911, -0.02677066996693611, -0.02365007810294628, -0.024808283895254135, 0.01607491262257099, -0.02762683853507042, 0.012117433361709118, -0.002782129216939211, 0.00009872008376987651, 0.0005541560240089893, 0.00016503229562658817, 0.014723065309226513, -0.011751378886401653, 0.002478751353919506, -0.011722167953848839, -0.02958109602332115, -0.027717165648937225, 0.0008108590263873339, -0.005900979042053223, 0.020199289545416832, 0.02261592261493206, 0.02145509049296379, -0.010721328668296337, -0.021852869540452957, 0.0070745572447776794, 0.024548090994358063, 0.03445828706026077, -0.041956838220357895, -0.03297401964664459, -0.006840669084340334, 0.016539108008146286, -0.029300270602107048, 0.010184238664805889, -0.02670678310096264, -0.04191720485687256, -0.013560282997786999, -0.000367079017451033, -0.022661501541733742, -0.022247247397899628, 0.06030493974685669, 0.054142437875270844, -0.045427244156599045, -0.02110004611313343, -0.05489245802164078, 0.008219369687139988, -0.004190303385257721, 0.06793620437383652, 0.05017061531543732, 0.03254874050617218, -0.053389180451631546, -0.030026450753211975, -0.014132366515696049, 0.00950508750975132, -0.04424656182527542, -0.03337695822119713, 0.039120353758335114, -0.06589024513959885, -0.029435480013489723, -0.00019980840443167835, 0.017022697255015373, 0.020538315176963806, 0.028848372399806976, 0.03856364265084267, 0.004702053032815456, 0.022019987925887108, -0.01806342415511608, -0.005637399852275848, 0.00572874816134572, 0.026011323556303978, 0.010360000655055046, 0.026529958471655846, 0.014666617847979069, 0.01383373886346817, -0.006363722495734692, -0.025912798941135406, -0.0014932438498362899, 0.014612752012908459, -0.010059439577162266, -0.026555361226201057, 0.013102283701300621, 0.04991859197616577, 0.005868673790246248, -0.026630165055394173, -0.00055889249779284, 0.008467966690659523, -0.00047157934750430286, 0.005974954925477505, 0.0235969927161932, -0.005331067834049463, -0.009555105119943619, 0.032931357622146606, -0.01625017821788788, 0.06291293352842331, 0.0015344751300290227, -0.012102480977773666, -0.019670803099870682, 0.01280507817864418 ]
Stable Diffusion XL on Mac with Advanced Core ML Quantization
pcuenq
July 27, 2023
stable-diffusion-xl-coreml
coreml, stable-diffusion, stable-diffusion-xl, diffusers
https://huggingface.co/blog/stable-diffusion-xl-coreml
Converting Fine-Tuned Models If you’ve previously converted Stable Diffusion models to Core ML, the process for XL using the command line converter is very similar. There’s a new flag to indicate whether the model belongs to the XL family, and you have to use --attention-implementation ORIGINAL if that’s the case. For an introduction to the process, check the instructions in the repo or one of our previous blog posts, and make sure you use the flags above.
[ 0.01794622093439102, -0.04349549114704132, 0.012106426991522312, 0.007062137592583895, 0.10652428865432739, 0.026262694969773293, -0.04835982993245125, 0.02696346677839756, -0.01404519658535719, -0.04878469556570053, -0.04070982336997986, 0.03831253945827484, -0.062048740684986115, -0.03944246843457222, 0.03907838091254234, -0.0014269616222009063, 0.030090315267443657, -0.010975493118166924, -0.05431603267788887, 0.018099498003721237, 0.03759683668613434, -0.07645606249570847, -0.03956381976604462, -0.005805487744510174, -0.09284737706184387, -0.02723722904920578, 0.08413960784673691, 0.007614401169121265, -0.04607623070478439, -0.015379223972558975, -0.09620290249586105, 0.01773618347942829, 0.004666405264288187, -0.04608688876032829, -0.0015603688079863787, -0.005570614710450172, -0.02800569497048855, 0.021083658561110497, -0.015334416180849075, -0.056403424590826035, 0.007055159658193588, -0.012900768779218197, -0.06147653982043266, 0.03685589134693146, 0.023471100255846977, -0.061577536165714264, -0.16379977762699127, 0.028475383296608925, -0.05599014833569527, 0.019643768668174744, -0.01699363812804222, -0.009958536364138126, -0.027140099555253983, 0.005983202252537012, 0.008900039829313755, -0.03368719294667244, -0.04219093546271324, 0.007552281022071838, -0.009821093641221523, 0.0181628055870533, 0.04494694620370865, -0.024444831535220146, -0.011717773973941803, 0.04801676794886589, 0.015380673110485077, 0.018946480005979538, -0.005324689205735922, -0.029339076951146126, -0.094247967004776, -0.0656762570142746, -0.008793074637651443, -0.047096338123083115, 0.051724623888731, -0.04523489251732826, 0.00016263268480543047, -0.03841817006468773, 0.012605895288288593, 0.07689398527145386, 0.013080907054245472, 0.013741549104452133, 0.019496535882353783, 0.03919427841901779, 0.062435489147901535, 0.06292498111724854, -0.016274718567728996, 0.03600545600056648, 0.06184658780694008, -0.04546410217881203, 0.020632406696677208, -0.00007289483619388193, -0.021164771169424057, -0.13135077059268951, -0.012005016207695007, -0.00611510407179594, 0.07358282059431076, -0.034843236207962036, -0.025102877989411354, -0.012070593424141407, 0.04140438884496689, 0.03161754459142685, 0.00016042357310652733, -0.04136179760098457, 0.06915903091430664, -0.053392600268125534, -0.1073630303144455, -0.011807724833488464, 0.003193924203515053, -0.06645339727401733, -0.08055306226015091, -0.07975351810455322, 0.035804010927677155, 0.042304620146751404, -0.02336804009974003, 0.05057629942893982, -0.07261571288108826, 0.01059069111943245, -0.007103952579200268, -0.020917486399412155, 0.019792629405856133, 0.0767953172326088, 0.008205145597457886, 0.10391884297132492, 0.006901917047798634, -0.02959570474922657, 0.04098008945584297, 0.11503712087869644, 0.051011763513088226, 0.012131805531680584, -0.017064571380615234, -0.03126049414277077, 0.03590262681245804, -0.02258032187819481, 0.06567448377609253, 0.01476219017058611, 0.028817255049943924, -0.12096817046403885, -0.040288008749485016, -0.032389089465141296, -0.012369273230433464, -0.05289894714951515, -0.00035002772347070277, 0.01971987634897232, 0.02650430239737034, 0.021168798208236694, 0.03750777617096901, 0.035026416182518005, -0.029841039329767227, 0.04318857565522194, -0.024574970826506615, 0.06147589907050133, -0.05632903054356575, 0.07778347283601761, -0.055141691118478775, -0.08555947244167328, 0.044340383261442184, 0.02527589164674282, -0.0065896292217075825, -0.04762528836727142, -0.04800014570355415, 0.004168803803622723, -0.031850967556238174, -0.03970396891236305, -0.016764219850301743, 0.016160525381565094, 0.054147474467754364, -0.06182768940925598, 0.050853438675403595, 0.0463261678814888, 0.0025959068443626165, -0.02697215974330902, 0.023831794038414955, -0.03805774450302124, 0.07684016227722168, 0.005230340640991926, -0.003597757313400507, 0.008456508629024029, 0.07967380434274673, 0.07390318065881729, -0.08498524129390717, -0.026750102639198303, -0.02515093982219696, 0.011742083355784416, -0.052041180431842804, 0.027485406026244164, 0.020261583849787712, -0.07397414743900299, 0.0025129918940365314, -0.04721568524837494, 0.040911611169576645, 0.009091902524232864, -0.0030336743220686913, 0.04359149560332298, 0.09362799674272537, 0.01978917419910431, 0.06716328859329224, -0.03765450417995453, -0.1510981172323227, 0.09128338098526001, -0.016502084210515022, 0.04094446823000908, -0.04316472262144089, -0.0353764072060585, 0.03162286803126335, -0.05986203998327255, -0.04117865487933159, 0.018140913918614388, -0.01619691774249077, -0.09392205625772476, 0.045524388551712036, -0.0015783482231199741, 0.013234427198767662, -0.11355388164520264, 0.028583763167262077, -0.04639977216720581, 0.008207985199987888, 0.007570981048047543, -0.04542206972837448, -0.022017428651452065, -0.017896618694067, -0.09834641963243484, 0.14116506278514862, -0.01135062426328659, -0.025179697200655937, -0.001055407919920981, -0.07170289009809494, 0.041055332869291306, 0.09679701924324036, -0.031022731214761734, 0.022161370143294334, -0.06956934928894043, -0.0271641556173563, -0.0358874537050724, 0.023741086944937706, 0.04172835499048233, 0.008820739574730396, -0.014622421935200691, -0.02115432359278202, 0.07509537041187286, 0.019864004105329514, -0.04765118286013603, 0.08505717664957047, -0.02674417570233345, -0.034270528703927994, 0.05360553786158562, -0.015748361125588417, 0.022266516461968422, 0.029840949922800064, 0.024732165038585663, -0.04956866055727005, 0.02906767837703228, -0.06098279356956482, 0.003595199203118682, -0.005914215464144945, -0.061459168791770935, -0.00351521885022521, 0.028088632971048355, -0.016614247113466263, 0.010682149790227413, -0.027567967772483826, 0.032634437084198, -0.016639500856399536, -0.006307543255388737, -0.023439887911081314, 0.01826140284538269, 0.009890156798064709, -0.043420884758234024, 0.003255650633946061, 0.016109740361571312, -0.011452016420662403, 0.0011180418077856302, -0.012429846450686455, 0.01185926515609026, -0.029629409313201904, -0.001098167966119945, 0.023514416068792343, 0.006228887941688299, 0.049555640667676926, -0.027968060225248337, -0.02964005246758461, 0.016215350478887558, 0.022490041330456734, 0.006690895650535822, 0.0436367467045784, 0.016228679567575455, 0.011458148248493671, 0.0025459127500653267, 0.028724713250994682, -0.004483880940824747, -0.039742518216371536, 0.06173250451683998, -0.005381131079047918, 0.005823694635182619, -0.031014109030365944, -0.007865974679589272, -0.02104121260344982, 0.011918002739548683, -0.01851525343954563, 0.0021998726297169924, 0.010368680581450462, -0.01311461627483368, 0.00310134538449347, 0.022668231278657913, 0.033338941633701324, -0.008381075225770473, -0.02926304191350937, 0.08329345285892487, 0.032035358250141144, 0.007361536845564842, -0.10158007591962814, -0.03487889841198921, -0.008042612113058567, 0.05316941440105438, -0.03664124757051468, -0.052398428320884705, 0.014651157893240452, -0.003960557281970978, 0.004243134055286646, 0.018670769408345222, 0.017116917297244072, 0.03021046333014965, 0.03763044625520706, 0.04423493891954422, 0.019253091886639595, -0.0006433329544961452, 0.03145274147391319, 0.008504386059939861, 0.001394903170876205, 0.009101379662752151, -0.031788550317287445, 0.07359626144170761, 0.027595441788434982, -0.00002789743484754581, 0.00647812569513917, 0.029642129316926003, 0.04259519279003143, 0.029101740568876266, 0.003389430698007345, -0.025880970060825348, -0.03363122045993805, -0.018495062366127968, -0.028750041499733925, -0.003300171345472336, -0.04957287386059761, -0.007633859757333994, 0.030379198491573334, 0.0397498682141304, 0.04424403980374336, 0.03175724297761917, 0.03208218514919281, 0.02801937609910965, 0.025757817551493645, -0.013786054216325283, -0.0035058055073022842, -0.014504707418382168, -0.020146656781435013, 0.020312856882810593, 0.0009513908880762756, -0.032787177711725235, -0.017925871536135674, -0.013406403362751007, 0.020467231050133705, 0.06596241891384125, -0.030903896316885948, 0.05161760374903679, 0.002493239939212799, 0.0381978377699852, 0.02517925761640072, -0.03372759371995926, -0.05421054735779762, 0.038646526634693146, -0.01331650372594595, -0.01865384355187416, -0.022979404777288437, 0.043906424194574356, 0.02246302179992199, -0.0005271189729683101, -0.0023351977579295635, 0.04183943569660187, 0.014861821196973324, 0.00400707870721817, 0.04837353527545929, 0.00997807364910841, 0.00015941477613523602, -0.0019946543034166098, -0.0367741622030735, -0.009709098376333714, -0.026622936129570007, 0.024721605703234673, -0.010451525449752808, -0.011658094823360443, 0.014392422512173653, -0.05686502531170845, 0.017394209280610085, -0.0212793480604887, 0.0049077956937253475, 0.019719047471880913, 0.04000355303287506, 0.016725042834877968, -0.03401102498173714, -0.03583537042140961, 0.013882392086088657, -0.01836218312382698, -0.005571800749748945, 0.0017603215528652072, 0.033540695905685425, 0.0003379333938937634, 0.0239335335791111, 0.0412074513733387, 0.04340502619743347, -0.007409406825900078, -0.036158572882413864, 0.0007305619074031711, -0.00125614192802459, -0.018698466941714287, -0.008474744856357574, -0.034600887447595596, 0.022911569103598595, -0.004534508567303419, 0.006125519052147865, -0.07273883372545242, 0.0009657973423600197, -0.007799239829182625, 0.015392089262604713, 0.0014979906845837831, -0.009297698736190796, -0.045750074088573456, -0.011302133090794086, 0.03189587593078613, -0.018518978729844093, 0.0050225406885147095, 0.013752602972090244, -0.05648096278309822, 0.042366474866867065, 0.019152233377099037, 0.035082485526800156, 0.03009309433400631, 0.009921914897859097, -0.013816878199577332, -0.01508979219943285, -0.03085051290690899, 0.05969007685780525, 0.0055632805451750755, 0.0448615662753582, -0.009510287083685398, -0.02680935710668564, 0.05001498758792877, -0.002503147814422846, -0.009094927459955215, -0.03940275311470032, 0.010934708639979362, 0.01573561131954193, 0.0062197120860219, 0.043809738010168076, 0.014390259981155396, -0.024341652169823647, -0.012324393726885319, -0.019073065370321274, 0.03816401958465576, 0.07500676810741425, 0.03494306281208992, -0.03494681417942047, -0.014912769198417664, 0.00541283842176199, -0.01662377081811428, 0.009502126835286617, -0.008596395142376423, 0.02021075040102005, 0.05188675969839096, -0.022487923502922058, 0.019959427416324615, -0.01071850210428238, 0.020306821912527084, 0.042701151221990585, 0.028139911592006683, 0.014000759460031986, -0.07692031562328339, -0.049231890588998795, 0.009894009679555893, -0.03190263733267784, 0.02225548028945923, -0.004589253105223179, -0.04728103429079056, 0.019102120772004128, 0.044709812849760056, 0.025399576872587204, 0.0018988451920449734, -0.0028220978565514088, -0.010639657266438007, -0.02318628318607807, -0.007355108391493559, 0.0089653255417943, -0.0024017184041440487, 0.013333877548575401, 0.04514293745160103, 0.046809110790491104, 0.03558262810111046, 0.01625983975827694, 0.006580234970897436, 0.03424420952796936, 0.024449288845062256, -0.0051803928799927235, 0.007691198028624058, -0.0009523467742837965, 0.0014011160237714648, 0.009681344032287598, -0.002857554005458951, -0.03898610547184944, 0.010906090028584003, 0.03130968287587166, 0.03874590992927551, 0.004473355133086443, -0.03492053970694542, 0.030767284333705902, 0.009800661355257034, -0.0010939915664494038, -0.014265008270740509, 0.0216459259390831, -0.01334089133888483, 0.02314872294664383, -0.009221404790878296, 0.00018012938380707055, -0.027323810383677483, 0.039808403700590134, -0.042929183691740036, -0.0260164737701416, -0.0075808800756931305, 0.021403241902589798, 0.012595412321388721, 0.0030263294465839863, 0.0035843830555677414, -0.0062145390547811985, 0.03174892067909241, 0.012404331937432289, -0.02324703335762024, -0.010676571168005466, 0.0180949866771698, 0.003039304167032242, 0.0060076299123466015, 0.04981515556573868, -0.001164124347269535, -0.006811850238591433, 0.01590050384402275, 0.020728403702378273, -0.009985885582864285, -0.027700090780854225, 0.06073479726910591, 0.04182646423578262, 0.004683257080614567, 0.004228844307363033, 0.00816625077277422, -0.06539026647806168, -0.00965871661901474, -0.016192782670259476, 0.017524071037769318, 0.02188473381102085, 0.0001238198165083304, 0.0009668206912465394, 0.005037189461290836, 0.04062407836318016, -0.01687668450176716, 0.019303712993860245, -0.005729482043534517, 0.030130546540021896, 0.011343266814947128, 0.05320115014910698, -0.014894656836986542, 0.019943678751587868, -0.018794886767864227, -0.0026699709706008434, -0.023123634979128838, 0.004564449191093445, 0.03576505929231644, -0.00845802016556263, 0.03928552567958832, 0.038355208933353424, -0.05048656463623047, 0.014808285050094128, 0.047806862741708755, 0.0321461446583271, 0.0309815164655447, -0.031608570367097855, 0.00031604431569576263, -0.03485358506441116, -0.04127093777060509, 0.013368540443480015, 0.04616247117519379, -0.015536874532699585, 0.026721376925706863, -0.014537106268107891, 0.048906516283750534, 0.05142815783619881, 0.026070652529597282, 0.025851838290691376, 0.02278762124478817, 0.050993822515010834, 0.0008547090110369027, 0.009294525720179081, 0.03961247578263283, 0.0001376741856802255, -0.008072473108768463, -0.06873699277639389, -0.041416823863983154, -0.005164593458175659, 0.05274330824613571, 0.04718555882573128, -0.00007003850623732433, 0.0033501572906970978, -0.05085199326276779, 0.04365655407309532, 0.04350901395082474, 0.04923387989401817, -0.01155801210552454, 0.002770867431536317, -0.031106874346733093, 0.014475269243121147, 0.010343903675675392, -0.023071296513080597, 0.009452256374061108, 0.00624525360763073, 0.02498823031783104, -0.004969503730535507, 0.024319695308804512, 0.012379416264593601, 0.015954241156578064, 0.03384876996278763, 0.018098220229148865, -0.03225395828485489, -0.006080141756683588, -0.017988044768571854, 0.009230627678334713, -0.024627014994621277, 0.04166117310523987, -0.02206210419535637, -0.0062405928038060665, -0.011926108971238136, -0.006472863256931305, -0.032639745622873306, -0.011709813959896564, -0.0016490933485329151, 0.044752806425094604, 0.009234914556145668, 0.009463991969823837, -0.05119137465953827, 0.021482573822140694, 0.03170564025640488, 0.009354195557534695, -0.008609984070062637, -0.026723628863692284, -0.05610956624150276, 0.043259456753730774, -0.03065584972500801, 0.028544878587126732, -0.006938477978110313, 0.01932319812476635, 0.00007774351252010092, 0.007332430686801672, -0.016744518652558327, -0.00011450766760390252, 0.03432667255401611, -0.006356594618409872, -0.06576430052518845, 0.026740463450551033, -0.015417583286762238, -0.031198903918266296, -0.030968770384788513, -0.0003156522288918495, 0.03071604296565056, 0.0055648344568908215, 0.024628570303320885, 0.043218862265348434, -0.008770613931119442, 0.0001022923388518393, 0.0017231116071343422, -0.013126247562468052, 0.0019909359980374575, -0.017826206982135773, -0.01699015498161316, 0.020767031237483025, 0.0050165681168437, 0.022572461515665054, 0.0021294672042131424, -0.0062940847128629684, -0.013265997171401978, 0.023890795186161995, -0.032113123685121536, -0.00026941392570734024, -0.028804179280996323, -0.04450813680887222, 0.02740427851676941, 0.004870166536420584, 0.019934993237257004, 0.06506634503602982, 0.03575202450156212, -0.009563430212438107, 0.004416530951857567, 0.019829345867037773, -0.01348672155290842, 0.02337806299328804, -0.035777002573013306, -0.04841521754860878, 0.01832459680736065, 0.04849270358681679, -0.008341535925865173, -0.013558443635702133, -0.025377513840794563, -0.01304173469543457, -0.05014204978942871, -0.041672516614198685, -0.026079388335347176, -0.02115589939057827, 0.06347834318876266, 0.03681943565607071, -0.01643328182399273, -0.03287721425294876, -0.04951777681708336, -0.010417550802230835, -0.013098747469484806, 0.05993538349866867, 0.007433771621435881, -0.0170673169195652, -0.02592901885509491, -0.031222304329276085, -0.007993320003151894, 0.007858631201088428, -0.041343603283166885, -0.011892586015164852, 0.016769327223300934, -0.004239730536937714, -0.05109574645757675, 0.019430728629231453, 0.009247051551938057, 0.04158702492713928, 0.036591436713933945, 0.061186209321022034, -0.013719044625759125, -0.021160554140806198, -0.006821042858064175, -0.025286845862865448, 0.01964963600039482, 0.029775816947221756, -0.00446343095973134, 0.005884741432964802, 0.02521519549190998, 0.007019306533038616, 0.01741679385304451, -0.011755567975342274, 0.0463121272623539, -0.020395465195178986, -0.009293274953961372, -0.0391579195857048, 0.03191131725907326, 0.0346367172896862, 0.0007745250477455556, -0.0114245330914855, 0.006043533328920603, 0.02465306967496872, -0.013190403580665588, 0.006632664706557989, 0.021096184849739075, -0.0028305554296821356, -0.009047345258295536, -0.005185057409107685, -0.02902282029390335, 0.06405334919691086, 0.015610307455062866, -0.006751351524144411, 0.008467855863273144, -0.00477393064647913 ]
Stable Diffusion XL on Mac with Advanced Core ML Quantization
pcuenq
July 27, 2023
stable-diffusion-xl-coreml
coreml, stable-diffusion, stable-diffusion-xl, diffusers
https://huggingface.co/blog/stable-diffusion-xl-coreml
Published Resources * apple/ml-stable-diffusion, by Apple. Conversion and inference library for Swift (and Python). * huggingface/swift-coreml-diffusers. Hugging Face demo app, built on top of Apple's package. * Stable Diffusion XL 1.0 base (Core ML version). Model ready to run using the repos above and other third-party apps. * Stable Diffusion XL 1.0 base, with mixed-bit palettization (Core ML). Same model as above, with UNet quantized with an effective palettization of 4.5 bits (on average). * Additional UNets with mixed-bit palettizaton. * Mixed-bit palettization recipes, pre-computed for popular models and ready to use. * mixed_bit_compression_pre_analysis.py. Script to run mixed-bit analysis and recipe generation. * mixed_bit_compression_apply.py. Script to apply recipes computed during the analysis phase.
[ 0.023195313289761543, -0.011270442046225071, 0.07417876273393631, -0.02493525855243206, 0.10026279836893082, 0.0615042969584465, -0.03654630854725838, 0.034487415105104446, -0.03860202059149742, -0.044571902602910995, -0.06779713928699493, 0.00607484532520175, 0.006840203423053026, -0.04437301680445671, 0.047011710703372955, -0.019787829369306564, 0.0014997507678344846, -0.02144184336066246, -0.0006557463784702122, 0.03513723239302635, 0.0004994638729840517, -0.05499008297920227, -0.01764708198606968, -0.026820944622159004, -0.034357551485300064, -0.05872424319386482, 0.03637148439884186, -0.011479152366518974, -0.015619027428328991, 0.04376107454299927, -0.12889158725738525, 0.014994640834629536, 0.0192453321069479, -0.044045500457286835, 0.02866283990442753, 0.0048643117770552635, -0.10147732496261597, 0.005549283232539892, -0.018194884061813354, -0.00674772122874856, 0.06992221623659134, -0.013192594982683659, -0.0566633865237236, 0.06316334754228592, 0.05732967332005501, -0.02711317129433155, -0.18232116103172302, 0.04982206970453262, -0.06884841620922089, 0.003080404829233885, -0.042232170701026917, 0.03951800987124443, -0.023462189361453056, -0.002141996519640088, 0.02704976499080658, 0.04094561189413071, 0.011249186471104622, -0.06764465570449829, 0.012166429311037064, 0.045958511531353, 0.03463093191385269, -0.053964659571647644, -0.010587792843580246, 0.024030441418290138, 0.06359372287988663, -0.01384762953966856, -0.022792665287852287, -0.027683662250638008, -0.04825226962566376, -0.035643257200717926, 0.028298746794462204, -0.019620802253484726, -0.022115077823400497, -0.005787400528788567, 0.0337446853518486, -0.06623594462871552, -0.0013195861829444766, 0.07096759974956512, 0.019424496218562126, 0.0007948030834086239, 0.014214900322258472, -0.014454206451773643, 0.045629773288965225, 0.06151685491204262, 0.012075647711753845, 0.05940796062350273, 0.030278591439127922, -0.007738246116787195, -0.02166598290205002, -0.004314532969146967, -0.011539787985384464, -0.07249031215906143, 0.06396916508674622, 0.018620336428284645, 0.03591763228178024, -0.06835803389549255, -0.05231134966015816, -0.007390218321233988, -0.026203272864222527, 0.00427613127976656, -0.06022951006889343, -0.01713276468217373, -0.03453988581895828, -0.08560092747211456, -0.04458749666810036, 0.06194185093045235, -0.031162045896053314, -0.053059011697769165, -0.04693092033267021, -0.010190081782639027, 0.054990045726299286, 0.004805698059499264, -0.012823585420846939, 0.012106657028198242, -0.08197204768657684, 0.0890323668718338, -0.05568995326757431, 0.0076675754971802235, 0.014981904067099094, 0.0413191057741642, 0.018350442871451378, 0.09091181308031082, 0.029669448733329773, -0.03130350261926651, -0.0070667085237801075, 0.11054898053407669, 0.02698325365781784, -0.010112426243722439, 0.03614135459065437, 0.015733802691102028, -0.019658287987113, -0.04898162558674812, 0.0480634905397892, -0.09916747361421585, 0.04747530445456505, -0.08658535033464432, -0.0857841745018959, -0.09450271725654602, -0.025579990819096565, -0.02211504615843296, -0.021090451627969742, 0.07933547347784042, -0.008162002079188824, 0.01431683637201786, 0.044612567871809006, -0.03503347560763359, -0.046126943081617355, 0.026018107309937477, -0.03713875636458397, -0.01807868480682373, -0.05338173359632492, 0.027660328894853592, -0.05599677562713623, -0.01724843494594097, -0.030243217945098877, 0.09109480679035187, -0.016168776899576187, -0.010432170704007149, -0.03211398422718048, -0.0069794137962162495, -0.004221011884510517, -0.06393437087535858, -0.00983948539942503, -0.029060816392302513, 0.07552653551101685, -0.019460756331682205, -0.011487350799143314, 0.08907914906740189, 0.022165996953845024, 0.0032578150276094675, 0.029909729957580566, -0.0421624481678009, 0.0969431921839714, 0.010456184856593609, 0.013334382325410843, 0.05842256173491478, 0.0757526382803917, 0.10869870334863663, 0.01720893569290638, 0.01729968935251236, -0.06194644421339035, 0.05409914255142212, 0.040447380393743515, -0.013471657410264015, 0.01349814236164093, -0.07883091270923615, 0.04722919687628746, -0.055123794823884964, 0.010539649054408073, 0.027300426736474037, 0.015289679169654846, -0.003149069380015135, 0.09472467005252838, 0.009911163710057735, 0.04356559365987778, -0.07507350295782089, -0.04837910085916519, 0.0934453159570694, 0.001967097632586956, 0.029055630788207054, 0.04255829006433487, -0.07990727573633194, 0.037793055176734924, -0.02711215242743492, -0.06614787131547928, 0.005889020394533873, 0.008742383681237698, -0.023881522938609123, 0.04313189163804054, -0.010420541279017925, 0.042974166572093964, -0.08783906698226929, 0.03537382557988167, -0.029914841055870056, 0.017507338896393776, -0.04635928198695183, -0.07500608265399933, -0.03211411461234093, 0.04890012368559837, -0.048170361667871475, 0.1426413357257843, -0.02890019677579403, 0.006099063903093338, -0.015278016217052937, -0.06113884970545769, 0.03626130893826485, 0.0803239643573761, 0.007712026592344046, 0.11443811655044556, -0.08977869153022766, -0.020147334784269333, -0.04852466657757759, -0.006973974872380495, 0.023400824517011642, 0.021110016852617264, -0.03720622509717941, 0.013203326612710953, -0.017089150846004486, 0.04672250151634216, -0.0371466726064682, 0.07459105551242828, -0.025076361373066902, -0.08472154289484024, 0.015063518658280373, -0.009533005766570568, -0.03115975670516491, 0.06221050024032593, 0.001916400040499866, -0.06616618484258652, 0.03267696127295494, -0.06931310892105103, 0.04414820671081543, -0.018950119614601135, -0.007570791523903608, 0.014995114877820015, 0.03439175337553024, 0.02737470157444477, 0.024305788800120354, 0.015353105962276459, 0.022779230028390884, -0.028532635420560837, -0.00464492104947567, -0.01191653124988079, -0.024636700749397278, 0.0085312370210886, -0.03525281697511673, 0.004635735880583525, -0.012932722456753254, -0.01540417317301035, 0.030588142573833466, 0.042269207537174225, -0.0012711482122540474, -0.0132822310552001, -0.0031408718787133694, 0.03157932311296463, 0.006926713977009058, 0.03965775668621063, 0.03476118668913841, -0.030982675030827522, -0.01998083107173443, 0.007396896369755268, -0.013699250295758247, 0.05732426419854164, 0.03758741170167923, 0.013572674244642258, -0.019535502418875694, 0.01349075511097908, -0.050293028354644775, -0.04085175320506096, 0.0432315319776535, 0.01793430931866169, 0.022904695942997932, 0.011489717289805412, -0.025951441377401352, -0.0034351027570664883, -0.007889156229794025, -0.011363819241523743, 0.008297228254377842, -0.06462714076042175, 0.03220626339316368, 0.018895935267210007, -0.011112491600215435, 0.02068493142724037, -0.003218602854758501, -0.022140050306916237, 0.08311513066291809, 0.03483607992529869, -0.005254537798464298, -0.10631003230810165, -0.011170413345098495, -0.04170672968029976, 0.0478973425924778, -0.014423365704715252, -0.05996319651603699, 0.033530719578266144, -0.010738969780504704, -0.005601018667221069, 0.026569226756691933, 0.0027749997097998857, -0.004818054381757975, 0.028079740703105927, -0.009983483701944351, 0.005137046333402395, -0.0030553024262189865, -0.0014476212672889233, -0.011618588119745255, 0.03040810115635395, 0.03151937201619148, -0.031358830630779266, 0.030072560533881187, 0.03455435857176781, -0.020602792501449585, -0.004188247490674257, 0.004903625231236219, 0.048669904470443726, -0.004707099869847298, 0.01156685035675764, -0.01728764735162258, -0.0025410279631614685, 0.013759946450591087, -0.017519542947411537, 0.011060579679906368, -0.02548980340361595, 0.017025334760546684, -0.04103938862681389, 0.05288999527692795, 0.04394228383898735, 0.029199892655014992, 0.01201458740979433, 0.027840735390782356, 0.011496732011437416, 0.028513005003333092, -0.019962670281529427, 0.009574838913977146, -0.013175031170248985, 0.020159633830189705, -0.006592280697077513, -0.021271241828799248, -0.004922217223793268, 0.017572559416294098, 0.004875721875578165, 0.04478587582707405, 0.007214706391096115, 0.027208635583519936, -0.007940100505948067, 0.018704809248447418, 0.04891582578420639, -0.014640815556049347, -0.036545440554618835, 0.01751776412129402, 0.0009230765281245112, -0.04264039918780327, -0.010403952561318874, 0.02980836108326912, 0.007330529857426882, 0.023789402097463608, -0.01313017588108778, 0.028982853516936302, 0.04601079598069191, -0.0038598179817199707, -0.0034970573615282774, 0.008694899268448353, -0.0550742968916893, 0.00824821274727583, -0.016654126346111298, -0.016101093962788582, 0.05863705277442932, 0.03242214396595955, -0.04156957194209099, -0.045793067663908005, -0.02165558561682701, -0.0455322302877903, 0.019076302647590637, -0.0035616098903119564, 0.01644742861390114, -0.0006382344290614128, 0.03220406174659729, 0.037577711045742035, 0.020858844742178917, -0.030658526346087456, 0.02239527367055416, 0.02655111253261566, 0.015878774225711823, 0.016153231263160706, 0.06250172853469849, 0.007573836483061314, 0.021758101880550385, 0.050909072160720825, 0.006544888950884342, -0.04527277871966362, -0.03476615995168686, -0.029127303510904312, -0.010370003990828991, -0.02985931560397148, -0.03673214465379715, -0.011643980629742146, -0.0017612394876778126, -0.01429696660488844, 0.02861996926367283, -0.025944679975509644, 0.027946922928094864, 0.01613081432878971, 0.03955726698040962, 0.03964243084192276, -0.015379245392978191, -0.04412476718425751, -0.02972431108355522, -0.012919560074806213, -0.037907809019088745, 0.037773050367832184, 0.0032814566511660814, -0.016870329156517982, 0.023557133972644806, 0.01698971726000309, -0.0011750723933801055, 0.020308569073677063, -0.005605857819318771, -0.024238668382167816, -0.026080837473273277, -0.02385059930384159, 0.024588346481323242, 0.03677788004279137, 0.010411498136818409, 0.019001049920916557, -0.004922188818454742, 0.021883616223931313, -0.0003040002193301916, -0.06283446401357651, -0.01478591188788414, 0.03175424039363861, 0.034050166606903076, -0.026018690317869186, 0.021481076255440712, 0.021829843521118164, -0.013974438421428204, -0.0016418476589024067, -0.04201547056436539, 0.015203014016151428, 0.02277263067662716, 0.027365364134311676, -0.02608068473637104, 0.019040480256080627, 0.025161094963550568, -0.015275291167199612, -0.023962192237377167, 0.027687909081578255, 0.003402660833671689, 0.03989693894982338, 0.03814191371202469, 0.04398251697421074, -0.011161526665091515, 0.002329353941604495, -0.00874946266412735, -0.016986282542347908, 0.007590256165713072, -0.06378377228975296, -0.026242516934871674, -0.019811391830444336, -0.04834983870387077, -0.008188475854694843, -0.01113895047456026, -0.04598382115364075, 0.0124772684648633, 0.026383578777313232, 0.03582356497645378, -0.00043960788752883673, -0.04784296080470085, 0.015314534306526184, -0.029496125876903534, -0.020411722362041473, 0.034215379506349564, -0.019211456179618835, 0.03172704577445984, 0.030565734952688217, 0.053144726902246475, 0.042377110570669174, 0.02909129671752453, 0.03514667972922325, -0.018909363076090813, 0.02240888588130474, 0.0067968182265758514, 0.005728811025619507, -0.006353041622787714, 0.007634531706571579, -0.02918667159974575, 0.014001119881868362, -0.011716879904270172, -0.04184925556182861, 0.03182712569832802, 0.021527795121073723, -0.011576551012694836, -0.04343316704034805, 0.03730173408985138, -0.006878694053739309, 0.0015436469111591578, -0.0027315388433635235, -0.0026734110433608294, -0.04097732529044151, -0.010045522823929787, 0.02221771515905857, -0.00989649910479784, -0.022392043843865395, -0.016800343990325928, -0.006823686417192221, -0.02954837493598461, 0.0022527871187776327, 0.004907813388854265, 0.0515846312046051, -0.009749943390488625, 0.042970988899469376, -0.014760029502213001, 0.00793472956866026, 0.055316321551799774, -0.007244491949677467, -0.007667142432183027, 0.03143608197569847, -0.039411675184965134, 0.005651235114783049, 0.04764258489012718, -0.00034357752883806825, 0.031078292056918144, 0.030421467497944832, 0.02535964734852314, 0.0019935909658670425, -0.03117847628891468, 0.037389837205410004, 0.025434792041778564, 0.011615642346441746, -0.03106100670993328, 0.006076078396290541, -0.028140045702457428, -0.011962139047682285, -0.027024174109101295, 0.0073076458647847176, 0.023496665060520172, -0.021764462813735008, 0.034209396690130234, 0.01813630573451519, 0.01885283552110195, -0.0198049359023571, 0.021557986736297607, -0.01357138343155384, 0.014182095415890217, 0.015212677419185638, 0.054419223219156265, -0.011424089781939983, 0.017376001924276352, -0.0047654565423727036, 0.004579309374094009, -0.015289251692593098, 0.031782981008291245, -0.0009899706346914172, -0.00915707740932703, 0.008476777002215385, 0.0004186901496723294, -0.05479460209608078, 0.0017165477620437741, 0.023498253896832466, 0.020717596635222435, 0.03952465578913689, 0.022526059299707413, 0.020189927890896797, -0.037948764860630035, -0.019809065386652946, 0.04908721148967743, 0.05707530304789543, -0.021299028769135475, 0.018502769991755486, -0.0038663363084197044, 0.03593537211418152, 0.03606598451733589, 0.013100244104862213, 0.008393166586756706, -0.01591217890381813, 0.04870881140232086, 0.01930726319551468, -0.005464489106088877, 0.053597234189510345, -0.03683343157172203, -0.022402968257665634, -0.023365670815110207, -0.030868442729115486, 0.006893743295222521, 0.031876809895038605, -0.0071783363819122314, -0.022217383608222008, 0.03251957520842552, -0.03410150110721588, 0.06171227991580963, 0.031770553439855576, 0.05737018212676048, 0.012395532801747322, 0.03305000066757202, 0.02666555531322956, -0.01618937775492668, -0.04194102808833122, -0.018705880269408226, 0.018947817385196686, 0.02693599835038185, 0.05546031519770622, 0.018012145534157753, 0.04090318828821182, 0.006821795366704464, 0.014874372631311417, 0.021801194176077843, 0.009828774258494377, 0.008752481080591679, -0.03716621920466423, 0.010729582980275154, -0.02026345767080784, -0.002217760542407632, 0.012990825809538364, -0.08444154262542725, -0.012853707186877728, 0.015213108621537685, -0.023504646494984627, -0.021656004711985588, 0.01670343615114689, 0.020446108654141426, 0.04481441155076027, 0.01477515883743763, 0.009202079847455025, -0.027014007791876793, -0.0024505576584488153, -0.006240132264792919, -0.00524286599829793, -0.039566297084093094, -0.04404532536864281, -0.00045517351827584207, 0.011235409416258335, -0.025308897718787193, 0.01258971355855465, 0.004211256746202707, 0.012174886651337147, -0.01698366366326809, 0.01656118780374527, 0.0018010741332545877, 0.007972817867994308, -0.011377519927918911, 0.008415133692324162, -0.0514499805867672, 0.019881967455148697, 0.01786653697490692, -0.026573577895760536, -0.044009044766426086, -0.0283576138317585, 0.017242036759853363, -0.034057360142469406, 0.020715173333883286, 0.053959380835294724, 0.049757786095142365, -0.025131642818450928, -0.05137636139988899, -0.016391899436712265, 0.007692563347518444, 0.023892411962151527, 0.002323650987818837, 0.025745799764990807, -0.0006123720086179674, -0.009404931217432022, -0.021889066323637962, 0.021808858960866928, -0.00901681650429964, 0.01113125216215849, 0.01795627549290657, -0.025375742465257645, -0.031078189611434937, -0.019639527425169945, 0.01592451147735119, 0.006967225112020969, 0.022372303530573845, 0.04390011727809906, 0.02175533026456833, -0.004591899923980236, -0.04440229386091232, -0.002528401790186763, 0.001160335261374712, 0.017394479364156723, -0.06181791052222252, -0.029938150197267532, -0.00018756225472316146, 0.03465762361884117, -0.0059804730117321014, 0.007239759899675846, -0.04308019205927849, -0.06474164128303528, -0.035407353192567825, -0.005353836342692375, -0.025487644597887993, -0.006318642757833004, 0.06624893844127655, 0.050641901791095734, -0.03630077466368675, 0.010940845124423504, -0.027391158044338226, 0.014165026135742664, 0.018533211201429367, 0.020498959347605705, 0.05184212327003479, 0.018516981974244118, -0.04700406640768051, -0.01017020083963871, -0.025236427783966064, 0.013940064236521721, -0.05287348851561546, -0.007848009467124939, 0.013472017832100391, -0.04440753161907196, -0.037063173949718475, 0.008397604338824749, 0.0025734691880643368, 0.014424958266317844, 0.04195018112659454, 0.02865951880812645, -0.02292686328291893, 0.010385642759501934, -0.008704389445483685, -0.026780864223837852, 0.021469367668032646, -0.013015689328312874, 0.004580551292747259, 0.02085219696164131, 0.004673328250646591, 0.03856443986296654, -0.01852242276072502, -0.005612993612885475, -0.018752625212073326, 0.012126979418098927, -0.05147938057780266, -0.024570008739829063, 0.013568203896284103, 0.03210119903087616, 0.011885406449437141, -0.01267146971076727, -0.009763377718627453, 0.018391773104667664, -0.035399675369262695, -0.010426469147205353, 0.01980856992304325, -0.025050565600395203, -0.014535418711602688, 0.0030385542195290327, 0.019625302404165268, 0.08091965317726135, 0.020143019035458565, -0.0017707592342048883, -0.05361930653452873, 0.020517870783805847 ]
Stable Diffusion XL on Mac with Advanced Core ML Quantization
pcuenq
July 27, 2023
stable-diffusion-xl-coreml
coreml, stable-diffusion, stable-diffusion-xl, diffusers
https://huggingface.co/blog/stable-diffusion-xl-coreml
How are Mixed-Bit Recipes Created? The following plot shows the signal strength (PSNR in dB) versus model size reduction (% of float16 size) for stabilityai/stable-diffusion-xl-base-1.0. The {1,2,4,6,8}-bit curves are generated by progressively palettizing more layers using a palette with a fixed number of bits. The layers were ordered in ascending order of their isolated impact to end-to-end signal strength, so the cumulative compression's impact is delayed as much as possible. The mixed-bit curve is based on falling back to a higher number of bits as soon as a layer's isolated impact to end-to-end signal integrity drops below a threshold. Note that all curves based on palettization outperform linear 8-bit quantization at the same model size except for 1-bit. Mixed-bit palettization runs in two phases: analysis and application. The goal of the analysis phase is to find points in the mixed-bit curve (the brown one above all the others in the figure) so we can choose our desired quality-vs-size tradeoff. As mentioned in the previous section, we iterate through the layers and select the lowest bit depths that yield results above a given PSNR threshold. We repeat the process for various thresholds to get different quantization strategies. The result of the process is thus a set of quantization recipes, where each recipe is just a JSON dictionary detailing the number of bits to use for each layer in the model. Layers with few parameters are ignored and kept in float16 for simplicity. The application phase simply goes over the recipe and applies palettization with the number of bits specified in the JSON structure. Analysis is a lengthy process and requires a GPU (mps or cuda), as we have to run inference multiple times. Once it’s done, recipe application can be performed in a few minutes. We provide scripts for each one of these phases: * mixed_bit_compression_pre_analysis.py * mixed_bit_compression_apply.py
[ 0.056017689406871796, -0.021657859906554222, 0.02291916124522686, -0.04909300431609154, 0.07138009369373322, 0.07867059111595154, -0.04928389564156532, -0.0030687518883496523, -0.010448849759995937, -0.05781671777367592, -0.05509721115231514, -0.04487673193216324, -0.0002980399294756353, -0.010534564033150673, 0.004762548487633467, 0.006309183780103922, 0.04743731766939163, -0.07120902091264725, -0.0032658593263477087, 0.05405314639210701, 0.006908609997481108, -0.06071524694561958, 0.021696144714951515, 0.024777866899967194, -0.030946925282478333, -0.033441271632909775, 0.02882334031164646, -0.012344259768724442, 0.03517846018075943, 0.028928907588124275, -0.08235698938369751, 0.005254072602838278, -0.047288037836551666, -0.014823764562606812, 0.08353414386510849, 0.024228036403656006, -0.08121153712272644, 0.013640048913657665, 0.05505116283893585, -0.006648602895438671, 0.013883011415600777, -0.0219624862074852, -0.0384693406522274, 0.027820337563753128, 0.07330779731273651, 0.01366697158664465, -0.12478933483362198, 0.0668027251958847, -0.09058765321969986, -0.04857969284057617, -0.01913820020854473, 0.0400351881980896, -0.057994544506073, 0.039257995784282684, -0.0007628715829923749, 0.05356059595942497, 0.06679165363311768, 0.012489269487559795, 0.012506004422903061, 0.02292104996740818, 0.03840736299753189, -0.036852821707725525, 0.026804404333233833, -0.02872156910598278, 0.0595066174864769, -0.03642059117555618, -0.00386948324739933, 0.011354053393006325, -0.024392761290073395, -0.02071835845708847, 0.009138228371739388, 0.0011108688777312636, 0.02115298993885517, -0.00434208195656538, 0.000888490176293999, -0.022165246307849884, -0.014017648063600063, 0.057902731001377106, 0.060922157019376755, 0.022260107100009918, -0.021684780716896057, 0.02724209614098072, 0.040908608585596085, 0.08441997319459915, 0.02616645209491253, -0.03541694954037666, 0.051006197929382324, 0.00681710010394454, -0.04372071474790573, -0.0016200522659346461, 0.00006269671575864777, -0.0802108570933342, 0.10249906778335571, 0.021880758926272392, -0.04819690063595772, -0.06113911420106888, -0.0009638944175094366, 0.0005567107582464814, 0.043699752539396286, 0.052026886492967606, 0.04970346763730049, -0.004068716429173946, -0.015984660014510155, -0.02017034776508808, -0.09187258034944534, 0.09854994714260101, -0.07694293558597565, -0.0542459636926651, -0.03913218155503273, 0.007471583783626556, 0.04128570109605789, 0.0388123020529747, 0.010534525848925114, 0.08693966269493103, -0.05362968519330025, 0.042840130627155304, -0.040678150951862335, 0.03096490539610386, -0.054627012461423874, 0.004656652454286814, 0.03602044656872749, 0.11346372961997986, 0.06523411720991135, -0.04784043878316879, -0.04550192132592201, 0.049470458179712296, 0.028169820085167885, -0.004912847187370062, 0.05253802239894867, 0.02642582543194294, 0.023107675835490227, -0.001874492154456675, 0.04464263841509819, -0.060548700392246246, 0.025593150407075882, -0.10985586792230606, -0.029200227931141853, -0.08496073633432388, -0.03757121041417122, -0.07464323937892914, -0.012162175960838795, 0.03593697398900986, -0.007397615350782871, -0.05248946696519852, -0.026427656412124634, -0.031342197209596634, 0.00696833711117506, -0.02560826949775219, 0.00913966353982687, 0.015903711318969727, -0.010484945960342884, 0.009136881679296494, -0.06409365683794022, -0.03668627887964249, 0.0017437353963032365, 0.015181735157966614, -0.010803202167153358, -0.05672384425997734, -0.08038334548473358, -0.006770089268684387, 0.010764389298856258, -0.06831666827201843, 0.022166293114423752, -0.02558305487036705, 0.07801784574985504, 0.007505097426474094, 0.03489956632256508, 0.10170305520296097, 0.044920261949300766, 0.06779342144727707, -0.0053084176033735275, -0.017656909301877022, 0.10102486610412598, 0.02217160537838936, 0.0632593184709549, 0.027667025104165077, 0.046914298087358475, 0.05905041843652725, 0.012160629965364933, -0.019618947058916092, -0.057665660977363586, -0.008929583244025707, 0.003656720509752631, 0.013209173455834389, 0.0030814476776868105, -0.0748719647526741, 0.07580143213272095, -0.07532572001218796, -0.03532787412405014, 0.07876507192850113, -0.004015210550278425, 0.03731459751725197, 0.12419725954532623, -0.019568664953112602, 0.0027082706801593304, -0.06253006309270859, -0.03247307240962982, 0.08426721394062042, 0.0915106013417244, -0.003832117421552539, -0.005926910322159529, -0.041750431060791016, 0.08727417141199112, -0.030115539208054543, -0.0185453649610281, 0.03919948264956474, 0.005086204037070274, -0.0406644232571125, 0.061696380376815796, -0.044968754053115845, -0.006503845099359751, -0.07110506296157837, -0.0011028889566659927, -0.03196491301059723, -0.027409499511122704, 0.0047553121112287045, 0.003111263271421194, -0.03365461528301239, 0.04225240275263786, -0.05282406136393547, 0.06682974100112915, 0.05402575433254242, -0.013914910145103931, 0.014645243063569069, -0.018154961988329887, -0.004399838857352734, 0.011435042135417461, 0.03157731145620346, 0.03853904455900192, -0.03654281795024872, 0.0010243768338114023, -0.009852555580437183, -0.016251089051365852, 0.08420677483081818, -0.012877080589532852, -0.022905275225639343, -0.0009023898164741695, 0.05321741849184036, 0.0774959996342659, -0.06360569596290588, 0.06783118098974228, 0.06937636435031891, -0.03505617007613182, -0.01595427840948105, -0.05290227383375168, -0.020312316715717316, 0.11718318611383438, -0.008482619188725948, -0.08654387295246124, 0.007594465743750334, -0.07531716674566269, 0.05487527325749397, -0.0696520134806633, 0.0037169447168707848, 0.0017491113394498825, -0.0020391205325722694, 0.03859097510576248, 0.001916702138260007, -0.030595412477850914, -0.007835437543690205, -0.014321974478662014, -0.013522750698029995, 0.005044133868068457, -0.02371392399072647, 0.02898666448891163, -0.012175005860626698, 0.03522048890590668, -0.030137216672301292, 0.010379742830991745, 0.019101686775684357, 0.025323234498500824, 0.004838068503886461, -0.017214229330420494, 0.000526944175362587, 0.0037815910764038563, -0.016751568764448166, 0.01935170777142048, 0.037102218717336655, -0.0683278739452362, 0.005125729832798243, 0.005754678510129452, -0.015487873926758766, 0.04339294880628586, 0.035586439073085785, 0.005385409574955702, 0.0184329766780138, 0.04243725910782814, -0.014653683640062809, -0.05921492353081703, 0.04155488312244415, -0.005331604275852442, 0.02988620474934578, -0.004428916145116091, -0.019998034462332726, 0.05845991149544716, 0.03114265948534012, -0.02712525613605976, 0.01684829406440258, -0.010842107236385345, -0.006466903258115053, 0.002220712834969163, -0.016548708081245422, 0.01800033450126648, -0.027080252766609192, -0.018006153404712677, 0.031216740608215332, 0.04262646287679672, 0.069228395819664, -0.08522246032953262, -0.005648266989737749, -0.014286806806921959, 0.008073259145021439, -0.016062267124652863, -0.030742591246962547, 0.025308752432465553, 0.016830939799547195, 0.027829822152853012, -0.012414687313139439, -0.011089356616139412, -0.013431898318231106, -0.012164917774498463, 0.005883099976927042, 0.028238164260983467, -0.0050159236416220665, 0.013666380196809769, -0.027967877686023712, 0.01512034609913826, 0.016065403819084167, -0.004875520709902048, -0.010852372273802757, 0.013194972649216652, -0.02566339448094368, -0.006833402905613184, -0.0034757135435938835, 0.037016063928604126, 0.017207439988851547, -0.001588620594702661, -0.0064189136028289795, -0.06056226044893265, -0.00027745470288209617, -0.0005271033733151853, 0.058090973645448685, 0.01934600993990898, -0.003694340819492936, 0.022132256999611855, -0.014326638542115688, -0.00013482329086400568, 0.03253127634525299, 0.0226190984249115, 0.042612407356500626, -0.017595989629626274, 0.015909884124994278, 0.018355483189225197, -0.005538661498576403, -0.02482028119266033, -0.009598443284630775, -0.05095865577459335, -0.034712836146354675, -0.01159748062491417, -0.010804385878145695, -0.019752059131860733, 0.0505983866751194, -0.033888138830661774, 0.01860322430729866, -0.011521765030920506, 0.010174816474318504, 0.061575524508953094, -0.05064475163817406, -0.019767211750149727, -0.010374917648732662, 0.018799588084220886, -0.005265051033347845, 0.013225124217569828, 0.028406817466020584, 0.026192283257842064, 0.032495200634002686, -0.018620366230607033, 0.05432525649666786, 0.0007037390605546534, -0.01818494312465191, 0.002840024419128895, -0.011091340333223343, -0.03589170053601265, -0.008225896395742893, -0.027981046587228775, 0.0073319426737725735, 0.04922774061560631, 0.025430770590901375, 0.009016190655529499, -0.03496021777391434, -0.022650185972452164, -0.02333286963403225, 0.03567800298333168, 0.02345016784965992, -0.006516675464808941, -0.013711389154195786, 0.018021348863840103, -0.029440607875585556, 0.022197389975190163, -0.04543590545654297, 0.009086240082979202, 0.034643158316612244, -0.008854866027832031, -0.014661073684692383, 0.06239105388522148, 0.052195169031620026, -0.012686892412602901, 0.036388713866472244, 0.03792600333690643, -0.08147802948951721, -0.019800368696451187, -0.027467044070363045, 0.01897360011935234, -0.05769910290837288, -0.08381809294223785, 0.002477142494171858, -0.022801972925662994, 0.004032709635794163, -0.026346147060394287, -0.03570001944899559, 0.009471610188484192, 0.007191742770373821, 0.05868279188871384, 0.028934437781572342, -0.023238813504576683, -0.0564931221306324, 0.0021848767064511776, -0.011565343476831913, -0.009831450879573822, -0.00921242218464613, 0.05471094325184822, -0.04366584122180939, 0.05665070191025734, 0.01394597813487053, -0.05407926067709923, -0.004337197635322809, 0.00011518896644702181, -0.027452049776911736, -0.02430819906294346, 0.01365714706480503, -0.008588534779846668, 0.036441557109355927, -0.014923226088285446, 0.013675626367330551, -0.04869871586561203, 0.018523648381233215, 0.008141686208546162, -0.052908435463905334, -0.009128101170063019, 0.015808390453457832, 0.005046484991908073, -0.0363418348133564, 0.0010076890466734767, 0.030791573226451874, 0.013236990198493004, -0.023138733580708504, -0.02903100848197937, 0.010249974206089973, -0.010926133953034878, 0.030266935005784035, -0.08009081333875656, -0.036210719496011734, 0.04517408460378647, -0.009893493726849556, 0.0328449010848999, -0.03578759357333183, -0.001547101535834372, 0.022743647918105125, -0.000742324918974191, 0.016482338309288025, -0.012658813036978245, -0.004712963942438364, -0.020207857713103294, -0.006001199129968882, -0.0074812620878219604, -0.05300658196210861, -0.002509836573153734, -0.02265658974647522, -0.034583624452352524, -0.00803291890770197, 0.019068166613578796, -0.03297968581318855, 0.059934090822935104, -0.0231616348028183, 0.023742828518152237, -0.005115831270813942, -0.00936503428965807, -0.033174291253089905, -0.02911699004471302, -0.004023087210953236, 0.009069511666893959, 0.00003183340231771581, -0.02154223620891571, 0.04934180900454521, 0.011176357045769691, 0.05559365451335907, 0.02363334223628044, 0.04763906076550484, 0.025712303817272186, 0.017076333984732628, 0.020677391439676285, 0.003964040894061327, -0.0015545341884717345, -0.02873225510120392, 0.0006200428470037878, 0.02350473403930664, -0.03180745244026184, -0.018969304859638214, 0.026799313724040985, 0.015876859426498413, 0.007482007145881653, -0.04027813300490379, 0.03294023871421814, 0.01836749166250229, -0.0034963667858392, 0.03508535772562027, -0.013449838384985924, -0.03496623784303665, -0.01099581178277731, 0.00938631035387516, -0.004182268399745226, -0.0015762174734845757, -0.018097033724188805, -0.033779580146074295, -0.056993938982486725, 0.025005901232361794, 0.038391195237636566, 0.0111817866563797, -0.04118146374821663, 0.03525092080235481, -0.03501911461353302, 0.03726065158843994, 0.04466414079070091, -0.031946051865816116, -0.007142365910112858, 0.008615372702479362, -0.024896889925003052, -0.02569071389734745, 0.010701852850615978, 0.0013520411448553205, -0.005954369902610779, 0.005062216427177191, 0.025600040331482887, -0.016687292605638504, -0.03718092292547226, 0.04014965519309044, 0.028340019285678864, 0.039313048124313354, -0.012338108383119106, -0.02918575517833233, -0.05212300643324852, 0.016911057755351067, -0.04530833289027214, 0.027115987613797188, 0.03068702481687069, -0.042154062539339066, -0.019407782703638077, 0.04137904942035675, -0.00004517214256338775, -0.02429330162703991, -0.020301084965467453, -0.0035343284253031015, 0.013569854199886322, 0.03152855485677719, 0.02941105328500271, -0.04052259400486946, 0.02090413123369217, 0.008903705514967442, 0.011497569270431995, 0.007028078194707632, 0.02605089731514454, 0.03828307241201401, -0.0461374931037426, 0.049630943685770035, 0.032552968710660934, -0.05458184704184532, 0.006467909086495638, 0.039487533271312714, 0.04895839840173721, 0.04516350477933884, 0.019940320402383804, 0.057967979460954666, -0.04964803531765938, -0.005732552148401737, 0.04816655069589615, 0.0696529895067215, 0.005001061130315065, -0.024845505133271217, -0.006478911731392145, 0.02195914275944233, 0.0480404756963253, -0.008813303895294666, 0.03068005107343197, -0.004267399199306965, 0.025482377037405968, 0.021355140954256058, -0.0070924279280006886, -0.004045521840453148, -0.028136804699897766, 0.009439786896109581, -0.009997366927564144, -0.07535304129123688, -0.038582224398851395, 0.0244054663926363, 0.014817307703197002, -0.02512456849217415, 0.025738690048456192, -0.02691631205379963, 0.041684698313474655, 0.04232725128531456, 0.011108579114079475, 0.02500447817146778, -0.020626146346330643, -0.007163477595895529, -0.048808496445417404, -0.003152930410578847, 0.002015050733461976, 0.02329840697348118, 0.012465746141970158, 0.06372255831956863, -0.015765540301799774, -0.01116152573376894, 0.04577741026878357, -0.0026518329977989197, 0.04897976294159889, 0.011662411503493786, 0.02394610270857811, -0.0032436710316687822, 0.01210543978959322, 0.002746937330812216, 0.022666309028863907, 0.015695516020059586, -0.07164519280195236, 0.024859411641955376, -0.0029877915512770414, -0.045726098120212555, -0.030865689739584923, 0.055140867829322815, -0.004553147125989199, 0.0039015342481434345, 0.0027901981957256794, -0.08793449401855469, -0.031456124037504196, -0.003502834588289261, 0.0029388312250375748, 0.03249355033040047, -0.061773307621479034, 0.02397133782505989, -0.005535030737519264, -0.008310074917972088, -0.012893746607005596, 0.02260981872677803, -0.0031757098622620106, 0.04585275426506996, 0.018484065309166908, -0.022255387157201767, -0.011023437604308128, 0.006876485887914896, -0.026469122618436813, 0.0163985937833786, -0.022938502952456474, -0.018362879753112793, 0.021817384287714958, -0.0507025346159935, -0.00036269082920625806, 0.0062477621249854565, 0.013032687827944756, -0.022220084443688393, 0.051315952092409134, 0.018393374979496002, 0.00921456515789032, 0.009181260131299496, -0.04589308798313141, -0.03558565303683281, -0.046309784054756165, 0.015071811154484749, 0.0013386402279138565, 0.016864078119397163, -0.024646269157528877, -0.0012142456835135818, -0.03121250867843628, -0.003583266632631421, -0.0032308560330420732, -0.0320960208773613, -0.0037469074595719576, -0.024810457602143288, -0.050155386328697205, 0.021245786920189857, -0.0010434024734422565, 0.008715027011930943, 0.011863184161484241, 0.029463760554790497, -0.00241421558894217, -0.014050633646547794, -0.020936815068125725, -0.012505907565355301, -0.035854704678058624, 0.04177120700478554, -0.022310404106974602, -0.03072752244770527, -0.027360044419765472, 0.026822853833436966, -0.05085987597703934, 0.01700582727789879, -0.021261127665638924, -0.03950430452823639, -0.0010330736404284835, 0.015271224081516266, 0.003769797505810857, -0.020258065313100815, 0.06996210664510727, 0.05120404437184334, -0.03319287672638893, 0.00869937427341938, -0.07377231866121292, -0.012102184817194939, -0.0031404292676597834, 0.010249458253383636, 0.05751856416463852, 0.019716421142220497, -0.026719054207205772, -0.016301771625876427, -0.024054335430264473, 0.018436292186379433, -0.03961159661412239, -0.02329273521900177, 0.03694683313369751, -0.0589018277823925, -0.02462381310760975, 0.00019883408094756305, -0.00020141879213042557, 0.020642384886741638, -0.0027755468618124723, 0.034244973212480545, 0.03282161056995392, 0.023563960567116737, -0.02134455181658268, -0.026675166562199593, -0.031414881348609924, 0.030671698972582817, 0.015193582512438297, 0.00733652338385582, 0.009276370517909527, 0.011190325021743774, -0.014406390488147736, -0.022826524451375008, -0.018159065395593643, 0.01806666888296604, -0.025627480819821358, 0.00883561372756958, -0.0006540645263157785, 0.02225458435714245, -0.014470436610281467, -0.029765598475933075, -0.050805818289518356, 0.0034384112805128098, -0.02764086052775383, 0.004561274312436581, -0.00937911868095398, -0.010695402510464191, -0.0009176135645247996, 0.01625720039010048, -0.007751338183879852, 0.022431958466768265, 0.03872004896402359, -0.00948400516062975, 0.012023930437862873, 0.02234567329287529 ]