title
stringclasses 312
values | author
stringclasses 138
values | date
stringclasses 263
values | local
stringclasses 312
values | tags
stringclasses 196
values | URL
stringclasses 312
values | chunk
stringlengths 7
30.6k
| embedding
sequencelengths 768
768
|
---|---|---|---|---|---|---|---|
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | # Overview of natively supported quantization schemes in 🤗 Transformers We aim to give a clear overview of the pros and cons of each quantization scheme supported in transformers to help you decide which one you should go for. Currently, quantizing models are used for two main purposes: - Running inference of a large model on a smaller device - Fine-tune adapters on top of quantized models So far, two integration efforts have been made and are natively supported in transformers : bitsandbytes and auto-gptq. Note that some additional quantization schemes are also supported in the 🤗 optimum library, but this is out of scope for this blogpost. To learn more about each of the supported schemes, please have a look at one of the resources shared below. Please also have a look at the appropriate sections of the documentation. Note also that the details shared below are only valid for PyTorch models, this is currently out of scope for Tensorflow and Flax/JAX models. | [
0.06438305974006653,
-0.041892047971487045,
0.02682376839220524,
0.023261956870555878,
0.030225303024053574,
0.04115207493305206,
-0.009667642414569855,
0.08045089989900589,
-0.007740432862192392,
-0.037172481417655945,
-0.02156550996005535,
0.06815506517887115,
-0.036388009786605835,
0.020613988861441612,
-0.017407575622200966,
-0.017936501652002335,
0.09401930868625641,
0.0016667887102812529,
0.010901760309934616,
0.05305976793169975,
0.01942005567252636,
-0.07177440077066422,
0.026365602388978004,
0.016873883083462715,
0.00600293418392539,
-0.1034892275929451,
-0.00031428466900251806,
-0.0036998193245381117,
-0.053581323474645615,
0.06018342822790146,
-0.09344745427370071,
-0.006455306429415941,
-0.012878237292170525,
-0.03354041650891304,
0.0493711419403553,
-0.009581404738128185,
-0.1476597785949707,
0.032426152378320694,
0.019328594207763672,
-0.07238194346427917,
0.04564466327428818,
-0.015130138024687767,
-0.059471748769283295,
0.03282979130744934,
0.04286019876599312,
-0.035262785851955414,
-0.14533591270446777,
0.07571806758642197,
-0.05919107794761658,
-0.07579094916582108,
-0.008386083878576756,
0.07438862323760986,
-0.08393503725528717,
0.03961094841361046,
0.034291211515665054,
0.012670385651290417,
0.007915293797850609,
-0.09093045443296432,
0.011776164174079895,
0.014587011188268661,
0.08021894097328186,
-0.05996522679924965,
-0.005436833947896957,
0.035507798194885254,
0.02965620905160904,
-0.010528510436415672,
-0.05850737541913986,
0.042808666825294495,
-0.024911219254136086,
-0.0210955198854208,
-0.020822998136281967,
-0.0013102024095132947,
-0.03264368698000908,
-0.038140248507261276,
-0.05205333232879639,
-0.029368603602051735,
-0.04101444408297539,
0.0412980318069458,
0.05530703440308571,
0.002287748269736767,
0.005424944218248129,
0.015869835391640663,
0.04993792995810509,
0.03967065364122391,
0.05563916638493538,
0.0057823737151920795,
-0.004592108074575663,
-0.04250918701291084,
-0.05245085433125496,
0.0759216770529747,
0.020183449611067772,
-0.17129769921302795,
0.0189534779638052,
-0.035106439143419266,
-0.002841734793037176,
0.007979139685630798,
0.03407471999526024,
0.004243253730237484,
-0.0065917386673390865,
-0.019291115924715996,
0.0014700543833896518,
0.028029102832078934,
0.02126539684832096,
0.010458488017320633,
-0.05703546851873398,
0.06210670620203018,
-0.04025789350271225,
-0.12611505389213562,
-0.03682345896959305,
0.007751618046313524,
-0.004826962016522884,
-0.022433748468756676,
0.043781667947769165,
0.03560839965939522,
-0.038331616669893265,
0.016369467601180077,
-0.01964082382619381,
0.020043518394231796,
0.03509237989783287,
0.03699013218283653,
0.022582540288567543,
0.1044635996222496,
0.0658654049038887,
0.027815062552690506,
-0.00013700722774956375,
-0.002282769186422229,
0.06933704763650894,
-0.04060058668255806,
0.0005596540868282318,
-0.030999505892395973,
0.0690954327583313,
-0.01057477481663227,
0.05234140530228615,
-0.0337916724383831,
-0.02375943958759308,
-0.0637717917561531,
0.01929178088903427,
-0.08488524705171585,
-0.057047829031944275,
-0.04718734696507454,
-0.04262549802660942,
0.061910323798656464,
-0.03240582346916199,
0.02505475841462612,
-0.01627914421260357,
-0.0355934277176857,
-0.07552415132522583,
0.10823378711938858,
0.023354291915893555,
0.03162429481744766,
-0.08271750062704086,
0.07970608025789261,
-0.04342001676559448,
-0.07291876524686813,
-0.03304700925946236,
-0.004504438955336809,
-0.01963481679558754,
0.02359367161989212,
-0.07559642940759659,
-0.052158914506435394,
-0.06656991690397263,
-0.05196894332766533,
0.007083814591169357,
-0.022846411913633347,
0.01381001528352499,
-0.005727793090045452,
0.00861419178545475,
0.02282968908548355,
0.01675141043961048,
0.026636533439159393,
0.04831336811184883,
0.0001792683033272624,
0.07645098865032196,
-0.0349145233631134,
-0.002404835307970643,
0.045229729264974594,
0.012517268769443035,
0.07698352634906769,
-0.036371856927871704,
-0.045843854546546936,
-0.06223594769835472,
0.03269841894507408,
0.012191022746264935,
0.057619303464889526,
0.06117802858352661,
-0.05101139470934868,
0.03945918381214142,
-0.02056696079671383,
-0.04735117405653,
-0.0038450006395578384,
-0.04477526620030403,
0.019449809566140175,
0.07390394061803818,
0.0155974505469203,
0.07250071316957474,
-0.039796382188797,
-0.006509447004646063,
0.11015145480632782,
0.04907715320587158,
-0.0003902428725268692,
0.06556081771850586,
-0.0020645747426897287,
-0.00031462241895496845,
-0.023901594802737236,
-0.0015350700123235583,
0.03931718319654465,
0.011221247725188732,
-0.0015620829071849585,
0.02336464822292328,
0.002296509686857462,
0.04156932607293129,
-0.07849512994289398,
0.004610459785908461,
-0.056406743824481964,
0.008911211974918842,
-0.04515013098716736,
-0.03867723047733307,
0.007164384704083204,
-0.019839907065033913,
-0.05978933721780777,
0.1435070037841797,
-0.0330168791115284,
0.022137245163321495,
-0.04259141907095909,
-0.019674845039844513,
0.028323225677013397,
0.06529588252305984,
0.01753292605280876,
0.023535657674074173,
-0.031487178057432175,
-0.019222142174839973,
-0.06520268321037292,
0.0019145980477333069,
0.036788444966077805,
-0.019924070686101913,
-0.05842506140470505,
-0.04604222625494003,
-0.025434201583266258,
0.06259287148714066,
0.0026933797635138035,
0.002313119126483798,
0.06343284249305725,
-0.03546423465013504,
0.015798648819327354,
0.0056252568028867245,
0.0075927977450191975,
0.060805920511484146,
-0.005534266587346792,
-0.042805250734090805,
-0.05623451620340347,
-0.10120971500873566,
0.008278341963887215,
0.010431019589304924,
-0.06942451745271683,
0.0946354940533638,
0.006761285476386547,
0.03303837031126022,
0.03176932781934738,
-0.026586167514324188,
0.0013325669569894671,
0.017272934317588806,
0.011457362212240696,
0.034827448427677155,
-0.058557502925395966,
-0.011306324042379856,
-0.03754694387316704,
-0.012081473134458065,
0.013495992869138718,
-0.02126038260757923,
-0.012786800041794777,
-0.005647976882755756,
-0.018193736672401428,
0.016620010137557983,
0.00033382445690222085,
0.030844014137983322,
0.048637162894010544,
0.05697469785809517,
-0.024436498060822487,
-0.009478747844696045,
-0.005054051987826824,
0.009571650065481663,
-0.023373974487185478,
0.03796559199690819,
0.02573651261627674,
-0.009342885576188564,
-0.0065719434060156345,
-0.016477085649967194,
-0.044719476252794266,
-0.06058338284492493,
0.019893551245331764,
0.009637846611440182,
0.039721857756376266,
-0.007694833446294069,
-0.022229254245758057,
0.015974024310708046,
0.020823104307055473,
-0.02016337588429451,
0.0004829686076845974,
0.017923953011631966,
0.0029522699769586325,
0.00007240862032631412,
-0.009869284927845001,
-0.0020204843021929264,
-0.0006855286192148924,
-0.015965504571795464,
0.026542721316218376,
0.0045417360961437225,
0.0410059429705143,
-0.10401733964681625,
-0.0008912328048609197,
0.0019592409953475,
0.04527072235941887,
0.0014777216129004955,
-0.02203470841050148,
0.05032762512564659,
-0.01950894296169281,
0.010532230138778687,
0.007209752686321735,
0.05779832601547241,
-0.03066118061542511,
-0.0016752717783674598,
0.03117399290204048,
-0.007737874519079924,
0.003919376991689205,
-0.0071861157193779945,
0.012103171087801456,
0.061154015362262726,
0.02113812416791916,
-0.022910892963409424,
0.059883683919906616,
-0.0127279506996274,
0.003906652797013521,
-0.023274440318346024,
-0.022665468975901604,
0.044380899518728256,
0.02382182888686657,
0.011192793026566505,
-0.02768063358962536,
-0.06431998312473297,
-0.02938445284962654,
-0.00217198533937335,
0.03196650370955467,
0.01584666781127453,
-0.0086112255230546,
-0.01454793568700552,
0.019244439899921417,
-0.0033099225256592035,
0.037478599697351456,
-0.008834457956254482,
0.04464029520750046,
0.012722707353532314,
-0.024835316464304924,
0.01338273473083973,
0.021023785695433617,
-0.005208564456552267,
0.014720087870955467,
0.04093446582555771,
-0.017332732677459717,
-0.046765074133872986,
-0.008910596370697021,
0.003569801105186343,
0.0067789615131914616,
0.004805531352758408,
-0.01474726665765047,
-0.011949710547924042,
0.018721094354987144,
0.04380947723984718,
-0.015655899420380592,
-0.031167514622211456,
0.018556473776698112,
0.011759381741285324,
-0.007714948151260614,
-0.03616312891244888,
0.021026408299803734,
0.003809837158769369,
-0.010517924092710018,
0.023537861183285713,
0.02454839088022709,
-0.01345176249742508,
0.0348866805434227,
0.02662505768239498,
0.005354335997253656,
-0.006030039396136999,
0.052981507033109665,
-0.023728124797344208,
-0.005019892938435078,
0.0562334842979908,
0.0034534044098109007,
-0.025510121136903763,
-0.03533603250980377,
-0.02378084324300289,
0.02430521324276924,
-0.028672119602560997,
0.013595347292721272,
0.0074912472628057,
-0.017831463366746902,
0.008070952259004116,
0.02950027585029602,
0.04770006984472275,
-0.023602455854415894,
0.0420534648001194,
-0.01783849112689495,
-0.01915125362575054,
0.013091410510241985,
0.03586619347333908,
-0.0023094916250556707,
-0.012486791238188744,
0.032177120447158813,
0.023095814511179924,
-0.04058822616934776,
0.0061416020616889,
0.0017516063526272774,
0.006657863035798073,
0.022667856886982918,
-0.028191102668642998,
-0.0059183500707149506,
0.01859278231859207,
0.015716765075922012,
0.03724396228790283,
0.008008567616343498,
-0.020131343975663185,
-0.005882718600332737,
0.05858314409852028,
-0.02525431476533413,
-0.010093753226101398,
-0.03262645751237869,
-0.030408192425966263,
0.024823598563671112,
-0.03002067469060421,
0.025176456198096275,
-0.03208015859127045,
-0.046315476298332214,
0.02430368773639202,
-0.00477783614769578,
-0.019421283155679703,
0.02892312966287136,
-0.024905137717723846,
-0.02450903318822384,
-0.010837472975254059,
-0.03047073259949684,
0.011588498018682003,
0.020459532737731934,
-0.022188596427440643,
0.006580743007361889,
-0.01151247788220644,
0.01148180477321148,
-0.019202975556254387,
-0.05590793117880821,
-0.00048694995348341763,
0.008576624095439911,
0.020411768928170204,
-0.04283060133457184,
0.026897067204117775,
0.00497095100581646,
0.0012343446724116802,
-0.006307754199951887,
-0.02601240761578083,
0.014987113885581493,
0.0506817065179348,
-0.0074240900576114655,
-0.010182332247495651,
-0.015470006503164768,
0.029084334149956703,
-0.012075223959982395,
0.015240486711263657,
0.007135854102671146,
0.020556950941681862,
0.0606510303914547,
0.04672201722860336,
0.012434130534529686,
-0.01366415899246931,
0.0036712598521262407,
0.022864317521452904,
0.005034791771322489,
-0.009174092672765255,
-0.06936583667993546,
-0.01620619371533394,
-0.002758445916697383,
-0.042248066514730453,
-0.02465956285595894,
0.019615234807133675,
-0.021182803437113762,
0.019522221758961678,
0.040525421500205994,
0.009547457098960876,
-0.015552402473986149,
-0.009805676527321339,
-0.006520408671349287,
0.01937420479953289,
-0.03981862589716911,
0.028678173199295998,
0.015805071219801903,
-0.009193158708512783,
0.0029938623774796724,
0.05048065632581711,
0.09180133789777756,
-0.012678699567914009,
0.019196661189198494,
0.026139218360185623,
0.023455342277884483,
0.016637880355119705,
-0.02505102939903736,
0.00005027218139730394,
-0.027478158473968506,
0.028266265988349915,
0.009855331853032112,
0.002606135793030262,
0.0025570965372025967,
0.053589556366205215,
0.07765190303325653,
-0.018538232892751694,
0.003597497707232833,
0.01011794712394476,
0.020879000425338745,
0.014611381106078625,
-0.014158534817397594,
0.02703002654016018,
-0.06788652390241623,
0.012123140506446362,
0.007476496510207653,
0.01656395196914673,
-0.01797652244567871,
0.021965736523270607,
-0.032110121101140976,
-0.038511358201503754,
0.033300019800662994,
0.015012816525995731,
0.012204740196466446,
-0.007960014045238495,
0.011284971609711647,
-0.0011060257675126195,
0.0003043442266061902,
0.04611250385642052,
-0.04164403676986694,
0.0042918226681649685,
0.02240368165075779,
-0.006834743544459343,
-0.007716400548815727,
-0.0028563188388943672,
-0.014741294085979462,
-0.022702276706695557,
-0.0003460266161710024,
-0.0025443776976317167,
-0.004802982788532972,
-0.03608189523220062,
0.02685350738465786,
0.005374102387577295,
-0.023767052218317986,
0.018197767436504364,
-0.06252029538154602,
-0.046306416392326355,
0.00950557366013527,
-0.051613759249448776,
0.027388375252485275,
0.058116182684898376,
-0.013093146495521069,
-0.03308580815792084,
0.0006520625320263207,
0.0415499322116375,
0.014694568701088428,
0.010964910499751568,
0.013067425228655338,
0.02120739221572876,
0.026361947879195213,
0.018788691610097885,
-0.016956685110926628,
0.04930264875292778,
0.006621452979743481,
0.024528665468096733,
-0.01820874586701393,
-0.011377346701920033,
0.034055035561323166,
-0.0468544103205204,
0.03002578765153885,
-0.018604079261422157,
-0.0678577572107315,
-0.021364456042647362,
0.016326922923326492,
0.003036756766960025,
0.02077803947031498,
0.011270873248577118,
0.040148161351680756,
-0.036702532321214676,
0.019319573417305946,
0.016326220706105232,
0.0460691973567009,
0.018036754801869392,
0.01116979494690895,
0.049579180777072906,
0.06878145784139633,
0.07167313992977142,
0.011735212989151478,
0.02337155118584633,
0.02097230963408947,
0.06322906911373138,
0.012612725608050823,
0.01688491553068161,
0.019773904234170914,
-0.009769299998879433,
-0.020911570638418198,
0.03419650346040726,
-0.03642815724015236,
-0.044975023716688156,
0.016268601641058922,
0.04367925226688385,
-0.01008446142077446,
0.03273548558354378,
-0.018677840009331703,
0.04582700505852699,
0.015763036906719208,
0.0013011217815801501,
-0.013760640285909176,
0.003977751359343529,
0.03523224964737892,
0.013766246847808361,
0.04280520975589752,
-0.024531766772270203,
0.009420685470104218,
-0.002429264597594738,
0.04737812280654907,
-0.0005229153903201222,
0.03689684346318245,
-0.007551558781415224,
-0.02339797280728817,
0.008872544392943382,
-0.0018840446136891842,
-0.010580003261566162,
-0.009427642449736595,
0.030891433358192444,
0.008165155537426472,
-0.0007891855202615261,
0.024625223129987717,
-0.05157953500747681,
0.003035459201782942,
-0.0030522721353918314,
-0.03978370502591133,
-0.0017520685214549303,
0.02233007363975048,
-0.006670488975942135,
0.026819424703717232,
-0.017193766310811043,
-0.05165500566363335,
0.01732427068054676,
0.02619793824851513,
0.02538423240184784,
0.01712297834455967,
-0.00969156064093113,
0.0056357295252382755,
-0.03680625185370445,
0.0011755861341953278,
-0.014455881901085377,
0.05320499837398529,
-0.025883479043841362,
-0.0082969069480896,
0.025698013603687286,
0.013484091497957706,
-0.044192712754011154,
0.025401130318641663,
0.027917489409446716,
-0.011753435246646404,
-0.044305428862571716,
0.026088008657097816,
-0.055614836513996124,
-0.03827394172549248,
0.020337853580713272,
-0.025484561920166016,
0.002958989003673196,
-0.020562583580613136,
0.0570753738284111,
0.03968586400151253,
0.025563959032297134,
-0.029990840703248978,
-0.011886565014719963,
0.010865170508623123,
-0.05376003682613373,
-0.025050096213817596,
0.014098653569817543,
-0.015085543505847454,
-0.004343762528151274,
0.01879023015499115,
-0.03544357791543007,
0.04215355962514877,
-0.00004406603329698555,
0.007349441293627024,
0.04849037155508995,
-0.007360781077295542,
-0.006233140826225281,
-0.012525632977485657,
0.07951471209526062,
0.002214142819866538,
0.014257028698921204,
0.01025711465626955,
0.013333436101675034,
0.004508949350565672,
-0.028487706556916237,
0.0025770561769604683,
-0.02669885754585266,
0.0022558646742254496,
-0.02508971281349659,
-0.04602428153157234,
-0.0017155744135379791,
0.018068833276629448,
0.0011019156081601977,
0.0006763757555745542,
-0.038206350058317184,
-0.014499491080641747,
-0.05357908084988594,
0.0026787668466567993,
-0.010284985415637493,
-0.03525302931666374,
0.04415884613990784,
0.04586184769868851,
0.01687067374587059,
0.031503744423389435,
-0.034330133348703384,
-0.0005766103859059513,
-0.03254162520170212,
-0.010761556215584278,
0.08239863812923431,
-0.011797738261520863,
-0.02466132491827011,
-0.051828332245349884,
-0.0006632969598285854,
-0.018227821215987206,
-0.043274544179439545,
0.02957373671233654,
0.028016524389386177,
-0.022226179018616676,
-0.03623954579234123,
-0.0016275116940960288,
0.029045838862657547,
0.0038889904972165823,
0.020891595631837845,
0.0063829864375293255,
0.00401865690946579,
-0.009883932769298553,
-0.051650531589984894,
-0.05199044570326805,
-0.01518354844301939,
-0.03337220102548599,
-0.019875088706612587,
0.02348712459206581,
0.0013930107234045863,
0.014033257961273193,
0.013065014965832233,
-0.024677664041519165,
0.012106460519134998,
-0.015254193916916847,
0.00010472229041624814,
-0.05410690978169441,
0.05626004561781883,
0.05495935678482056,
-0.01127261109650135,
-0.000755936955101788,
0.015858827158808708,
-0.00869755819439888,
-0.013884663581848145,
-0.007426735479384661,
-0.009507810696959496,
-0.0024118905421346426,
-0.00764574995264411,
0.01876062899827957,
-0.017999304458498955,
0.03391965851187706,
0.0426083579659462,
0.01478597242385149,
-0.055721741169691086,
-0.04255567491054535
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | What are the benefits of bitsandbytes? easy: bitsandbytes still remains the easiest way to quantize any model as it does not require calibrating the quantized model with input data (also called zero-shot quantization). It is possible to quantize any model out of the box as long as it contains torch.nn.Linear modules. Whenever a new architecture is added in transformers, as long as they can be loaded with accelerate’s device_map=”auto”, users can benefit from bitsandbytes quantization straight out of the box with minimal performance degradation. Quantization is performed on model load, no need to run any post-processing or preparation step. cross-modality interoperability: As the only condition to quantize a model is to contain a torch.nn.Linear layer, quantization works out of the box for any modality, making it possible to load models such as Whisper, ViT, Blip2, etc. in 8-bit or 4-bit out of the box. 0 performance degradation when merging adapters: (Read more about adapters and PEFT in this blogpost if you are not familiar with it). If you train adapters on top of the quantized base model, the adapters can be merged on top of of the base model for deployment, with no inference performance degradation. You can also merge the adapters on top of the dequantized model ! This is not supported for GPTQ. | [
0.0632922500371933,
-0.015263012610375881,
0.04070347920060158,
0.04292623698711395,
0.01915324106812477,
0.027721939608454704,
-0.018310315907001495,
0.04331968352198601,
0.011055232025682926,
-0.05060768872499466,
-0.061798807233572006,
0.05469789355993271,
-0.024810437113046646,
0.003341869218274951,
0.01142564695328474,
-0.019809650257229805,
0.0947287529706955,
-0.04894409701228142,
0.011115348897874355,
0.0686149075627327,
0.037179283797740936,
-0.07642340660095215,
0.04311349615454674,
-0.014700590632855892,
-0.03521503880620003,
-0.1011718288064003,
0.013324521481990814,
-0.03694022819399834,
-0.006107407622039318,
0.0424867607653141,
-0.08791961520910263,
-0.01090856920927763,
-0.0534849688410759,
-0.04592924937605858,
0.021262001246213913,
0.041906751692295074,
-0.07117180526256561,
-0.004473639652132988,
0.032192666083574295,
-0.06547919660806656,
0.02427874319255352,
-0.017536889761686325,
-0.01466856524348259,
0.06619283556938171,
0.02934546396136284,
-0.018277263268828392,
-0.08269597589969635,
0.05864286050200462,
-0.04816948249936104,
-0.0734836757183075,
-0.02823161706328392,
0.05524088814854622,
-0.10377436131238937,
0.028637852519750595,
0.02653098665177822,
0.01326092891395092,
-0.004759145434945822,
-0.08985729515552521,
-0.020617276430130005,
0.0167592391371727,
0.09333518147468567,
-0.07987777143716812,
0.007383524905890226,
0.026232434436678886,
0.014758281409740448,
-0.005296861752867699,
-0.006951421964913607,
-0.012216209433972836,
-0.022706585004925728,
0.019455455243587494,
-0.007512215990573168,
-0.030551789328455925,
-0.015658708289265633,
-0.0415559783577919,
-0.015902405604720116,
-0.04501736909151077,
0.021322648972272873,
0.014554183930158615,
0.11139015853404999,
0.004880046471953392,
0.019175400957465172,
0.04241976514458656,
0.05798453465104103,
0.011369360610842705,
0.06273115426301956,
0.009366474114358425,
0.011174253188073635,
-0.03585246205329895,
-0.05170295760035515,
0.08975853770971298,
0.000005097309440316167,
-0.11579770594835281,
0.05576597526669502,
-0.016788098961114883,
0.0059374491684138775,
0.023558540269732475,
0.014401859603822231,
-0.0062867095693945885,
0.012710848823189735,
-0.06736407428979874,
-0.0016536625334993005,
0.02540786750614643,
-0.0013259671395644546,
-0.009866603650152683,
-0.02947245165705681,
0.021589048206806183,
-0.04988608881831169,
-0.10455264151096344,
-0.020322080701589584,
0.059653401374816895,
0.0012905842158943415,
-0.06546156108379364,
0.027172554284334183,
-0.021403171122074127,
-0.04291633144021034,
-0.02710467390716076,
-0.034189920872449875,
0.07706862688064575,
0.040020156651735306,
0.034410834312438965,
0.03873182833194733,
0.07699588686227798,
0.07436347752809525,
0.0004981831298209727,
0.01959104835987091,
-0.020753726363182068,
0.05799084156751633,
-0.01094015222042799,
0.01581793837249279,
0.0536065511405468,
0.06382383406162262,
-0.020234640687704086,
0.04932064935564995,
-0.03734258934855461,
0.009732536971569061,
-0.031919144093990326,
-0.010685469955205917,
-0.09639933705329895,
-0.05430298671126366,
-0.06023428961634636,
-0.03440869227051735,
0.06680011004209518,
0.0006329607567749918,
-0.02503987029194832,
-0.007217808626592159,
-0.02614518813788891,
-0.07251840829849243,
0.03706738352775574,
0.0017139958217740059,
0.028319386765360832,
-0.09665006399154663,
0.05736437812447548,
-0.013341176323592663,
-0.08688216656446457,
-0.05728869140148163,
0.037679269909858704,
-0.056869085878133774,
0.026724763214588165,
-0.029002420604228973,
-0.03483717516064644,
-0.052763063460588455,
-0.08978131413459778,
0.014539160765707493,
-0.03136107325553894,
-0.02236463874578476,
0.019795803353190422,
-0.013641157187521458,
0.039498575031757355,
-0.016440417617559433,
0.023253073915839195,
0.037901442497968674,
-0.002327914349734783,
0.10103163123130798,
-0.05360645428299904,
0.01738242246210575,
0.04908271133899689,
0.06309700012207031,
0.11296160519123077,
-0.00994383916258812,
-0.07780884951353073,
-0.08118201047182083,
0.023192374035716057,
-0.0001824852079153061,
0.027821220457553864,
0.023486770689487457,
-0.04463464394211769,
0.043908797204494476,
-0.07573824375867844,
-0.026897640898823738,
0.06053308770060539,
-0.04102689400315285,
0.025352662429213524,
0.09792973101139069,
-0.04374037683010101,
0.0484527088701725,
-0.034148719161748886,
-0.003599906573072076,
0.14700284600257874,
0.026830006390810013,
-0.010517898947000504,
0.048098124563694,
-0.017245320603251457,
-0.030788762494921684,
-0.06040817126631737,
0.027872968465089798,
0.026448016986250877,
0.038291703909635544,
0.016489319503307343,
0.011313001625239849,
-0.00669077830389142,
0.02845996432006359,
-0.0643584281206131,
0.0310997162014246,
0.0031959875486791134,
0.037663765251636505,
-0.01746702380478382,
-0.020186545327305794,
0.02930942364037037,
0.008402173407375813,
-0.03362655267119408,
0.12385329604148865,
-0.0705387219786644,
0.006524811033159494,
-0.029010802507400513,
-0.0033992636017501354,
-0.013201689347624779,
0.04288610443472862,
0.009319559670984745,
-0.02343093976378441,
-0.03900058940052986,
-0.023915022611618042,
-0.1118408739566803,
-0.05790286511182785,
0.05806932970881462,
0.017460642382502556,
-0.01034223660826683,
-0.036086127161979675,
0.0007805340574122965,
0.05728922784328461,
-0.03932272642850876,
-0.03067910112440586,
0.021057717502117157,
-0.02474290318787098,
-0.018906064331531525,
0.010903122834861279,
-0.010252558626234531,
0.133494570851326,
-0.04806368798017502,
-0.046137552708387375,
-0.03840800002217293,
-0.06892437487840652,
0.012347526848316193,
0.06404243409633636,
-0.07599711418151855,
0.048958536237478256,
0.010858648456633091,
0.03201325610280037,
0.004325994290411472,
-0.01714412495493889,
0.0011782393557950854,
-0.027690855786204338,
0.008470180444419384,
0.004719462711364031,
-0.037511613219976425,
0.000013773224054602906,
-0.033034179359674454,
-0.026051411405205727,
0.023570479825139046,
-0.009036432020366192,
-0.028383344411849976,
0.003917601890861988,
-0.025499319657683372,
0.04970008507370949,
0.026563959196209908,
0.04288720712065697,
0.04543638974428177,
0.04064670205116272,
-0.028871746733784676,
-0.025373924523591995,
-0.01635885052382946,
-0.0019028247334063053,
-0.019191831350326538,
0.03864167258143425,
0.032795000821352005,
-0.024563666433095932,
0.03098309226334095,
-0.00228107743896544,
-0.04110120236873627,
-0.03553977981209755,
0.0309202391654253,
0.004538075998425484,
-0.0028983764350414276,
0.0265462938696146,
-0.027283042669296265,
0.030879894271492958,
0.043799370527267456,
-0.020956939086318016,
-0.0056984988041222095,
0.019577862694859505,
0.02265600860118866,
-0.0019961437210440636,
-0.0012597368331626058,
-0.02903289906680584,
0.0010418740566819906,
-0.010378628969192505,
-0.008478077128529549,
-0.014317850582301617,
-0.0004402931372169405,
-0.09107769280672073,
-0.01310129277408123,
-0.04501610994338989,
0.014253873378038406,
0.008817583322525024,
-0.02513408474624157,
0.02547481656074524,
-0.008659585379064083,
-0.005398663692176342,
0.010854946449398994,
0.039607685059309006,
-0.027937188744544983,
0.000639282341580838,
0.03315535560250282,
-0.003942395094782114,
0.03459199145436287,
-0.024947429075837135,
0.005609805695712566,
0.04481099173426628,
0.0434318408370018,
-0.019403252750635147,
0.0435970313847065,
0.037460193037986755,
0.010443313978612423,
-0.038478828966617584,
-0.003775832010433078,
0.035532571375370026,
0.014909437857568264,
0.0026866281405091286,
-0.004355060867965221,
-0.051492735743522644,
-0.03246067836880684,
-0.01806153915822506,
0.03198893740773201,
0.03119070455431938,
0.009606029838323593,
0.010802066884934902,
0.04395190626382828,
0.011663866229355335,
0.031051810830831528,
0.011144419200718403,
0.05816514417529106,
0.030699284747242928,
-0.02662440575659275,
0.03022453933954239,
0.008558987639844418,
0.00316934147849679,
0.003425579983741045,
0.03329772874712944,
-0.004518459551036358,
-0.029019860550761223,
-0.03585097938776016,
0.01257785689085722,
0.018262838944792747,
0.0018159236060455441,
-0.047751255333423615,
-0.007249270565807819,
0.012363029643893242,
0.03300614282488823,
-0.0018118855077773333,
-0.013571474701166153,
0.025055570527911186,
0.05671044439077377,
-0.024118855595588684,
-0.03519785776734352,
0.00410695094615221,
0.009864449501037598,
-0.01869579777121544,
0.014595206826925278,
0.02211691439151764,
-0.04467248171567917,
0.025920920073986053,
-0.021161416545510292,
0.014434476383030415,
-0.00400928221642971,
0.03503188118338585,
0.007895419374108315,
-0.009176565334200859,
0.044667117297649384,
-0.004769333638250828,
-0.0015712478198111057,
-0.030054880306124687,
0.02023470215499401,
0.0028448605444282293,
-0.03514789044857025,
0.00993745494633913,
0.007525985594838858,
-0.016907958313822746,
-0.017797566950321198,
0.028176046907901764,
0.031024372205138206,
-0.052606258541345596,
0.03897387161850929,
-0.008476568385958672,
-0.025999993085861206,
0.008972102776169777,
0.0407814122736454,
0.03943631798028946,
0.0020991722121834755,
0.02635595202445984,
0.046648163348436356,
-0.05007452890276909,
-0.0007135063642635942,
-0.01962493360042572,
-0.016492512077093124,
0.036178551614284515,
0.0020897677168250084,
-0.014892183244228363,
0.01587475836277008,
0.000028322199796093628,
0.012326284311711788,
0.007364257238805294,
-0.031937163323163986,
0.030005306005477905,
0.09163125604391098,
-0.014415983110666275,
-0.010838029906153679,
-0.024712909013032913,
-0.036715202033519745,
0.010795156471431255,
-0.01530432514846325,
0.027530396357178688,
-0.018201695755124092,
-0.041162170469760895,
0.023969292640686035,
0.02132660523056984,
-0.03896849974989891,
0.01837308518588543,
-0.011904619634151459,
-0.01627369597554207,
-0.011698290705680847,
-0.00020611971558537334,
0.0021915470715612173,
0.0151808001101017,
0.016729529947042465,
-0.004031557589769363,
-0.01844651624560356,
-0.006691670045256615,
-0.03200937435030937,
-0.03263920918107033,
0.002437807619571686,
0.0037493971176445484,
0.011604391038417816,
-0.0449841283261776,
0.006060481537133455,
0.03499427065253258,
-0.00033594874548725784,
-0.019928082823753357,
-0.06008455157279968,
0.025798849761486053,
0.022826800122857094,
0.004662877414375544,
-0.03641102835536003,
-0.029350515455007553,
0.027088209986686707,
-0.054256077855825424,
-0.0018718944629654288,
-0.01483417209237814,
0.03132649511098862,
0.027727771550416946,
0.019144177436828613,
0.053545646369457245,
-0.008738418109714985,
-0.008459361270070076,
0.05773645639419556,
0.009741400368511677,
0.00009484008478466421,
-0.05948222801089287,
-0.021087033674120903,
-0.013225448317825794,
-0.03622012585401535,
0.0031913714483380318,
0.021605776622891426,
-0.0292230062186718,
0.009958398528397083,
0.0009557365556247532,
0.022132156416773796,
-0.009818960912525654,
0.022555120289325714,
0.006579715292900801,
0.04509115591645241,
-0.04021549969911575,
0.037334296852350235,
-0.003757581813260913,
0.010223743505775928,
0.02679753303527832,
0.015107441693544388,
0.04386420175433159,
-0.014058289118111134,
0.01586436666548252,
0.031234104186296463,
0.03315567597746849,
0.01576348952949047,
-0.022301794961094856,
0.03552702069282532,
-0.027381012216210365,
0.01353438850492239,
-0.007435800973325968,
0.004578381776809692,
0.016778159886598587,
0.015152676030993462,
0.053034067153930664,
-0.03326551243662834,
-0.00607210723683238,
-0.012626470066606998,
-0.01503730472177267,
0.0002952380455099046,
-0.00007086728874128312,
-0.010353104211390018,
-0.0357242226600647,
0.00476490706205368,
-0.014684324152767658,
0.018383057788014412,
-0.03052925318479538,
-0.0048017362132668495,
-0.003119850065559149,
-0.049036480486392975,
0.057059451937675476,
-0.015755008906126022,
0.00244152476079762,
-0.020953094586730003,
-0.04803740233182907,
-0.03081323578953743,
0.016214806586503983,
0.027843467891216278,
-0.05644658952951431,
0.015739601105451584,
0.040303777903318405,
-0.014752909541130066,
0.014363536611199379,
0.013983809389173985,
-0.043189071118831635,
-0.008798623457551003,
0.000806682335678488,
0.029780760407447815,
-0.0034568484406918287,
-0.04171958193182945,
0.009917432442307472,
0.0002664634375832975,
-0.03558826446533203,
-0.00292348419316113,
-0.0394803024828434,
-0.039830174297094345,
0.007520653773099184,
-0.09701810032129288,
-0.008774731308221817,
0.031558871269226074,
-0.025434741750359535,
0.004887168295681477,
-0.000741444353479892,
0.0030768972355872393,
-0.003360549220815301,
-0.0008381921797990799,
0.024561936035752296,
0.013362070545554161,
0.011857721954584122,
0.0506356805562973,
-0.007247276604175568,
0.023836780339479446,
0.004621725529432297,
0.026701215654611588,
-0.02422025054693222,
-0.01066978182643652,
0.024551717564463615,
-0.0367421954870224,
0.04062823951244354,
-0.0157617274671793,
-0.06887149810791016,
-0.03661743551492691,
0.0008969327318482101,
0.000618221063632518,
0.053360018879175186,
-0.017229584977030754,
0.060332637280225754,
-0.03810387849807739,
-0.0032200946006923914,
0.04353450983762741,
0.026893025264143944,
-0.028940290212631226,
0.01904963329434395,
0.030437570065259933,
0.0563950352370739,
0.03877777233719826,
-0.0007253399235196412,
0.017977144569158554,
-0.03481290116906166,
0.059752803295850754,
-0.020105693489313126,
0.03375823050737381,
0.04044993966817856,
0.00905225146561861,
-0.006115535739809275,
0.00945953093469143,
-0.028021538630127907,
-0.05565467104315758,
0.02180291898548603,
0.020293062552809715,
-0.013784828595817089,
0.022177763283252716,
-0.020773181691765785,
0.0589328408241272,
0.003874997841194272,
-0.0007783768814988434,
0.0014257350703701377,
0.020447932183742523,
0.018031632527709007,
0.03349443897604942,
0.022206496447324753,
-0.008758742362260818,
0.021787328645586967,
0.032853055745363235,
0.024283139035105705,
0.014311658218502998,
-0.0072647579945623875,
0.01760314591228962,
-0.00018302258104085922,
0.05342039465904236,
0.0097757987678051,
0.04633218050003052,
-0.009280694648623466,
0.02900896966457367,
0.02451932244002819,
-0.02359946072101593,
0.07138693332672119,
-0.0634053573012352,
-0.0027754108887165785,
0.008044162765145302,
-0.03573029115796089,
-0.011053923517465591,
0.01157220359891653,
-0.02826405130326748,
0.04566866531968117,
0.011707552708685398,
-0.04980001598596573,
0.011217523366212845,
-0.00026715928106568754,
0.006029386539012194,
0.010867634788155556,
-0.026604624465107918,
0.006092182360589504,
-0.013980857096612453,
-0.007328922860324383,
0.011701269075274467,
0.08455890417098999,
-0.016061298549175262,
0.041399452835321426,
0.02634156122803688,
0.007186120841652155,
-0.013100696727633476,
0.004812202416360378,
0.009917545132339,
0.013391448184847832,
-0.042567428201436996,
0.019182564690709114,
-0.022255994379520416,
-0.08581498265266418,
0.04448302462697029,
-0.0219610296189785,
0.01871207356452942,
-0.010494891554117203,
0.047381456941366196,
0.009711537510156631,
0.031860895454883575,
-0.01983412355184555,
-0.007271003443747759,
-0.008958184160292149,
-0.030472587794065475,
-0.013805628754198551,
0.01578556001186371,
-0.018248198553919792,
-0.008845538832247257,
-0.01051003485918045,
-0.04754279553890228,
0.028639720752835274,
-0.0015281920786947012,
0.015298313461244106,
0.01403508149087429,
-0.024638377130031586,
-0.015421896241605282,
-0.001788907335139811,
0.057106636464595795,
0.03656270354986191,
0.01977706328034401,
-0.002282629022374749,
0.0011736672604456544,
0.0017429739236831665,
-0.04020759463310242,
0.013628444634377956,
-0.044486865401268005,
0.024752851575613022,
-0.003593503963202238,
-0.038565296679735184,
-0.0062829614616930485,
0.06557662039995193,
0.02091902494430542,
0.0025619957596063614,
-0.011656937189400196,
-0.010878941044211388,
-0.02902061492204666,
-0.006963994354009628,
0.005896448623389006,
-0.023436585441231728,
0.007274148520082235,
0.04394349083304405,
-0.02575722336769104,
0.023288054391741753,
-0.07999362051486969,
0.01496527623385191,
-0.029005175456404686,
0.0010962971718981862,
0.09172677993774414,
0.010741264559328556,
-0.03471755608916283,
-0.019027074798941612,
0.0026164494920521975,
-0.022275147959589958,
-0.048312537372112274,
0.0035376299638301134,
0.017679505050182343,
0.013052577152848244,
-0.025279976427555084,
0.0015408843755722046,
0.028813891112804413,
0.005229999776929617,
-0.02087647095322609,
0.03885062411427498,
0.0064546894282102585,
-0.0162306260317564,
-0.02288273349404335,
-0.07334549725055695,
-0.006070758681744337,
-0.0410391241312027,
-0.025383170694112778,
0.032565295696258545,
0.030556514859199524,
0.03492874652147293,
0.008724218234419823,
0.0018304364057257771,
0.008481031283736229,
-0.008839069865643978,
-0.012577066197991371,
-0.014953026548027992,
-0.004794776905328035,
0.07828734815120697,
-0.03403345122933388,
-0.021601922810077667,
0.01788417622447014,
-0.0020074276253581047,
0.014435299672186375,
-0.0024895225651562214,
0.009158018045127392,
0.04081910476088524,
0.025204146280884743,
0.0072369943372905254,
0.01710895448923111,
0.05480307340621948,
0.03910016268491745,
0.010681496933102608,
-0.0410345159471035,
-0.009162763133645058
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | Comparing bitsandbytes and auto-gptq In this section, we will go over the pros and cons of bitsandbytes and gptq quantization. Note that these are based on the feedback from the community and they can evolve over time as some of these features are in the roadmap of the respective libraries. | [
0.07787075638771057,
-0.033854205161333084,
0.0552717000246048,
0.04290635883808136,
0.05258903652429581,
0.01391492411494255,
-0.05005572363734245,
0.03388535976409912,
0.0020748141687363386,
-0.06361623853445053,
-0.059076227247714996,
0.031090525910258293,
-0.044786322861909866,
0.005798376630991697,
0.008177933283150196,
0.02069700136780739,
0.08769284188747406,
-0.01885668933391571,
0.025919442996382713,
-0.000551105011254549,
0.014590006321668625,
0.015867333859205246,
0.06625708192586899,
-0.012516084127128124,
0.02825758419930935,
-0.047696761786937714,
-0.009050681255757809,
-0.016277145594358444,
-0.06115597113966942,
0.0012974011478945613,
-0.08090224862098694,
-0.04393569752573967,
-0.010080879554152489,
-0.01724919304251671,
0.06239086017012596,
-0.04526849091053009,
-0.07190554589033127,
0.03208974748849869,
0.07508040964603424,
-0.06285830587148666,
-0.015164070762693882,
-0.051047470420598984,
-0.03320983797311783,
0.04466122016310692,
-0.02377227507531643,
-0.005463535897433758,
-0.16720181703567505,
0.08774536848068237,
-0.05114511400461197,
-0.0869811475276947,
-0.0007996720378287137,
0.05430092662572861,
-0.08518990129232407,
0.027607915922999382,
0.02297060377895832,
-0.007486163172870874,
-0.005972230341285467,
-0.05151423066854477,
-0.02531222254037857,
0.008409467525780201,
0.11152806878089905,
-0.09221568703651428,
-0.01474342867732048,
0.04813411831855774,
0.011133219115436077,
-0.03209289535880089,
-0.050983574241399765,
0.015808023512363434,
-0.05033780634403229,
0.0748307928442955,
-0.004514374770224094,
-0.0263590756803751,
-0.03286787495017052,
-0.04526035115122795,
-0.012954536825418472,
-0.006074512377381325,
-0.021182851865887642,
0.06257491558790207,
0.037312183529138565,
0.0011858935467898846,
0.06265266239643097,
0.05053073540329933,
0.04982249438762665,
-0.013318688608705997,
0.03368065878748894,
-0.015420624054968357,
0.019205497577786446,
-0.056893013417720795,
-0.07614510506391525,
0.05058518052101135,
0.01942165568470955,
-0.15229615569114685,
0.03017367236316204,
-0.052274636924266815,
-0.011339972727000713,
-0.013919692486524582,
0.008445666171610355,
0.001742187887430191,
-0.0016624558484181762,
0.06428112834692001,
-0.048596713691949844,
0.019703298807144165,
0.053597237914800644,
-0.005759643856436014,
-0.00021494920656550676,
0.045318856835365295,
-0.0747331753373146,
-0.10839765518903732,
-0.003633124055340886,
0.07224611937999725,
0.028588993474841118,
0.012054999358952045,
0.05514860153198242,
0.018708983436226845,
-0.03249762952327728,
0.008599583990871906,
-0.03342030942440033,
-0.018718501552939415,
0.05078110471367836,
0.0346255749464035,
0.01741342805325985,
0.05456399917602539,
0.02695530280470848,
-0.0034579054918140173,
0.027928490191698074,
-0.06447835266590118,
0.08501849323511124,
-0.027904272079467773,
0.026326293125748634,
-0.00670977495610714,
0.007978458888828754,
-0.00026845026877708733,
0.06067870557308197,
-0.03746556490659714,
-0.0403655469417572,
-0.050762929022312164,
-0.04987030476331711,
-0.09493784606456757,
-0.030805440619587898,
-0.04910070076584816,
-0.05804993212223053,
0.02933751791715622,
0.0005318308249115944,
0.04933404177427292,
-0.05113406106829643,
-0.017766829580068588,
-0.08797536790370941,
0.04951246827840805,
-0.03570863604545593,
-0.010209398344159126,
-0.057415276765823364,
0.024164745584130287,
-0.023789962753653526,
-0.09895756840705872,
-0.011196880601346493,
0.018777882680296898,
-0.04992688074707985,
0.05007177218794823,
-0.0522976890206337,
-0.025320161134004593,
-0.04584793001413345,
-0.04316454008221626,
0.006059091538190842,
-0.06378817558288574,
0.022330204024910927,
0.0124710937961936,
-0.04852369427680969,
0.03690642863512039,
-0.020279143005609512,
0.030218400061130524,
0.027388010174036026,
-0.017746131867170334,
0.09607521444559097,
-0.030858566984534264,
0.07085232436656952,
0.04442988708615303,
0.052226874977350235,
0.0869382694363594,
-0.02236635610461235,
-0.04961966350674629,
-0.021544592455029488,
-0.00961629394441843,
0.017765281721949577,
0.003398636355996132,
-0.0381690114736557,
-0.03587321564555168,
-0.003772426163777709,
-0.029504530131816864,
0.0002573150268290192,
-0.028923049569129944,
-0.033711571246385574,
-0.051434170454740524,
0.07247348874807358,
-0.010430602356791496,
0.033388201147317886,
-0.02298317663371563,
0.014742589555680752,
0.13261577486991882,
0.07838685065507889,
0.02814617194235325,
0.013662358745932579,
-0.048763807862997055,
0.0013501737266778946,
-0.04567581042647362,
-0.02431284636259079,
0.053792648017406464,
0.02179792709648609,
0.06343849003314972,
0.007123315706849098,
-0.03361153230071068,
0.04532529413700104,
-0.059188637882471085,
0.012505416758358479,
0.0010817848378792405,
0.000027259462513029575,
-0.005160853266716003,
-0.0011310618137940764,
-0.015959545969963074,
0.017030630260705948,
-0.06861492991447449,
0.15929453074932098,
-0.0470273420214653,
0.03339159116148949,
0.038760241121053696,
0.02455911599099636,
0.062158938497304916,
0.07935867458581924,
0.0028304799925535917,
0.07674039155244827,
-0.038911398500204086,
-0.024583913385868073,
-0.06270226091146469,
0.0352596640586853,
0.0323907732963562,
0.02038925513625145,
0.02702764794230461,
-0.0361982025206089,
-0.04357502609491348,
0.08509737998247147,
-0.0105748837813735,
-0.0038072350434958935,
0.045115988701581955,
-0.028349125757813454,
0.05364714935421944,
0.016991253942251205,
-0.014537631534039974,
0.052625734359025955,
-0.056904327124357224,
-0.03731703385710716,
-0.0027714644093066454,
-0.0686197280883789,
0.009462187066674232,
0.03571387752890587,
-0.012810732237994671,
0.04566977918148041,
-0.03195764869451523,
0.027650268748402596,
0.0007436206797137856,
-0.01830018125474453,
-0.0025735157541930676,
-0.022374890744686127,
-0.021825622767210007,
0.03423948213458061,
-0.04764248803257942,
0.026593239977955818,
-0.0038185406010597944,
-0.00850734580308199,
0.022038618102669716,
-0.012395871803164482,
0.004121793899685144,
-0.019386468455195427,
0.012043863534927368,
0.012325722724199295,
0.010782003402709961,
-0.022679373621940613,
0.015985451638698578,
0.044320933520793915,
-0.03089776448905468,
0.00617560651153326,
0.024338524788618088,
0.027296531945466995,
-0.030295033007860184,
0.0328061506152153,
0.010860303416848183,
-0.020048344507813454,
-0.005166579503566027,
-0.013301855884492397,
-0.04489779472351074,
-0.056266020983457565,
0.013401921838521957,
-0.013954775407910347,
0.013135312125086784,
-0.017314739525318146,
-0.014322871342301369,
0.034037090837955475,
0.01920652575790882,
-0.010444648563861847,
0.01989130862057209,
0.023127982392907143,
0.013199977576732635,
0.02832367643713951,
0.02835850976407528,
-0.017019255086779594,
0.0024566291831433773,
-0.045207105576992035,
0.05617472901940346,
0.027566179633140564,
0.0457974411547184,
-0.10958653688430786,
-0.007626558654010296,
0.017943698912858963,
0.05252044275403023,
0.0120459059253335,
-0.04666820913553238,
0.05651332065463066,
-0.04756326973438263,
0.00009096183930523694,
0.010191121138632298,
0.04080100357532501,
-0.029900841414928436,
0.01961957849562168,
0.03838690370321274,
0.012136643752455711,
0.03146938979625702,
-0.026321375742554665,
0.023007895797491074,
0.023407133296132088,
0.029024405404925346,
-0.006645742803812027,
0.07321012765169144,
0.0036192021798342466,
-0.0036557638086378574,
-0.024818550795316696,
-0.030760779976844788,
0.020427122712135315,
0.024393659085035324,
0.022958112880587578,
-0.021583233028650284,
-0.03414881229400635,
-0.0030891411006450653,
-0.005031440407037735,
0.0337061770260334,
0.028149554505944252,
-0.010888442397117615,
-0.03231564536690712,
0.061740390956401825,
0.010612351819872856,
0.06537912040948868,
-0.006440441589802504,
0.0053275455720722675,
0.049649521708488464,
-0.049614354968070984,
0.002980811521410942,
0.03457235172390938,
-0.020355943590402603,
0.03987281396985054,
0.055168624967336655,
-0.03786753490567207,
-0.017054978758096695,
-0.003239558544009924,
-0.00978479441255331,
0.024105669930577278,
0.0252501480281353,
-0.03379220515489578,
0.001239686505869031,
0.03820980340242386,
0.017000531777739525,
-0.004441764205694199,
0.010875185951590538,
-0.0007119374349713326,
0.04605409875512123,
-0.02349117398262024,
-0.049813512712717056,
0.028760286048054695,
-0.014886089600622654,
-0.013090768828988075,
0.03388600051403046,
-0.014198639430105686,
0.007298764772713184,
0.0010200374526903033,
0.021585775539278984,
0.017091557383537292,
0.01253217551857233,
0.027109511196613312,
-0.015549344941973686,
0.016403233632445335,
0.056336697190999985,
0.009765062481164932,
0.013981269672513008,
-0.008623667992651463,
0.0022123465314507484,
-0.001478831865824759,
-0.04083807021379471,
-0.024587392807006836,
-0.026942947879433632,
0.02312784641981125,
-0.012360801920294762,
0.029783908277750015,
0.021150078624486923,
-0.03359011188149452,
0.056601542979478836,
-0.008053048513829708,
-0.0009947690414264798,
0.034943368285894394,
0.05309680476784706,
0.009069811552762985,
0.003242902457714081,
0.03742508217692375,
0.05797822028398514,
-0.01762644201517105,
0.011879759840667248,
-0.02843729965388775,
-0.01689978875219822,
0.04659626632928848,
-0.03070945292711258,
-0.006722094491124153,
0.017135998234152794,
0.049130119383335114,
0.006705887615680695,
-0.02777251787483692,
0.026234032586216927,
-0.0017283381894230843,
0.047412335872650146,
-0.008084846660494804,
-0.014380952343344688,
-0.014670887030661106,
0.0029123227577656507,
0.016970505937933922,
-0.010942066088318825,
0.02342475764453411,
-0.01832539401948452,
-0.00827624462544918,
-0.007745702750980854,
-0.00010388520604465157,
0.01032279059290886,
-0.00451402273029089,
-0.008134685456752777,
-0.020189039409160614,
0.0070718759670853615,
-0.05772168189287186,
-0.008568915538489819,
-0.02618490345776081,
-0.011942018754780293,
0.018564295023679733,
-0.021343672648072243,
0.035953812301158905,
-0.024016322568058968,
-0.09745638072490692,
0.019031958654522896,
0.014579834416508675,
0.02234112285077572,
-0.04603506997227669,
0.013316236436367035,
0.008110960014164448,
-0.004881831351667643,
0.007939586415886879,
-0.016655923798680305,
0.02390209026634693,
0.04094996303319931,
-0.04735356941819191,
-0.014634108170866966,
0.010940760374069214,
0.003737800754606724,
-0.019132308661937714,
-0.001210870104841888,
-0.006019371561706066,
-0.006184197962284088,
0.021934300661087036,
0.04160262644290924,
-0.008820092305541039,
-0.015251711010932922,
-0.03493595868349075,
0.016057277098298073,
-0.0003742201370187104,
0.03151880204677582,
-0.0330045185983181,
-0.011632618494331837,
-0.008988555520772934,
-0.0083105294033885,
0.03749667853116989,
0.019143421202898026,
0.0051191095262765884,
-0.0005842570099048316,
0.01750241033732891,
0.03528997302055359,
0.007857003249228,
0.01501807663589716,
-0.0115865059196949,
0.014879780821502209,
-0.00009302888793172315,
0.010737469419836998,
0.011253567412495613,
0.00366592756472528,
0.020597927272319794,
0.035102538764476776,
0.07964406162500381,
-0.027014054358005524,
0.027411986142396927,
0.034312356263399124,
0.029650835320353508,
-0.021749285981059074,
-0.041502438485622406,
0.019854512065649033,
-0.055100440979003906,
0.02502438984811306,
0.0007459950284101069,
-0.013499311171472073,
-0.027129027992486954,
0.0686740055680275,
0.05019006505608559,
-0.005371654871851206,
-0.010051799938082695,
-0.01607174053788185,
-0.00438910024240613,
0.022981785237789154,
-0.031621601432561874,
0.00975865963846445,
-0.03139886260032654,
0.005902184173464775,
-0.0017589234048500657,
-0.014130481518805027,
-0.07126790285110474,
0.02214665897190571,
-0.007282346021384001,
-0.0301650557667017,
0.054534316062927246,
0.01382406521588564,
0.01129055768251419,
0.008586675859987736,
-0.00021586120419669896,
-0.04714414104819298,
0.024009913206100464,
0.029210103675723076,
0.014236295595765114,
-0.009087681770324707,
0.01620231382548809,
0.012823796831071377,
0.0025105637032538652,
0.012487564235925674,
-0.041051171720027924,
-0.005480206571519375,
-0.007980957627296448,
-0.01611185073852539,
-0.021457627415657043,
-0.03432435169816017,
0.02896794304251671,
-0.022338707000017166,
-0.023031288757920265,
-0.007559563033282757,
-0.05111807957291603,
-0.013202239759266376,
-0.0399092361330986,
-0.09397777915000916,
-0.005525136832147837,
0.06969606131315231,
-0.0002501480048522353,
-0.02624659612774849,
0.013251176103949547,
0.0055075036361813545,
-0.04104715585708618,
0.012472746893763542,
0.02627900429069996,
0.04002435505390167,
0.03945520892739296,
0.029524218291044235,
-0.015873124822974205,
0.0115681616589427,
0.008440895937383175,
0.02709600143134594,
-0.036502331495285034,
-0.02194938063621521,
0.024731047451496124,
-0.0064473142847418785,
0.017962343990802765,
0.01585143245756626,
-0.06952834129333496,
-0.009275034070014954,
-0.0003562958736438304,
0.008087430149316788,
0.03603842854499817,
-0.004911568481475115,
0.057933781296014786,
-0.06442942470312119,
-0.013029339723289013,
0.012401187792420387,
0.04135371744632721,
-0.014855649322271347,
0.03272625803947449,
0.02077322266995907,
0.044733140617609024,
0.0490841269493103,
0.005590216722339392,
-0.02466154284775257,
0.012633265927433968,
0.05003362521529198,
-0.03144382685422897,
0.02873365953564644,
0.022450216114521027,
-0.006619831547141075,
-0.035057637840509415,
0.004707019310444593,
-0.0006794760120101273,
-0.04479898884892464,
0.0035523255355656147,
0.009906320832669735,
-0.03352784365415573,
0.03697226941585541,
-0.003983264323323965,
0.05167529359459877,
0.018168607726693153,
-0.008283564820885658,
-0.00038096512435004115,
0.011204763315618038,
-0.02679327130317688,
-0.018281014636158943,
0.021455174311995506,
0.007920139469206333,
-0.004707584623247385,
0.0068805646151304245,
0.06283824890851974,
0.010022163391113281,
0.02378937415778637,
0.0015731402672827244,
-0.005711869336664677,
0.04571438208222389,
0.02471715770661831,
0.025096816942095757,
0.021692506968975067,
0.027254128828644753,
-0.013096948154270649,
-0.007338052149862051,
0.04898624122142792,
-0.03292376920580864,
-0.011376754380762577,
0.047175828367471695,
-0.01662473753094673,
-0.010973632335662842,
0.003748833667486906,
-0.005203551147133112,
0.03541400283575058,
-0.012014191597700119,
-0.030024129897356033,
-0.00468316487967968,
0.017523163929581642,
0.002563506830483675,
0.021432816982269287,
-0.07129675894975662,
-0.010495340451598167,
-0.019692616537213326,
0.004705784842371941,
-0.034052230417728424,
0.037314340472221375,
-0.02503471076488495,
0.011676688678562641,
0.020462622866034508,
0.012438634410500526,
-0.06519748270511627,
0.0040040398016572,
0.02301044762134552,
0.024634214118123055,
-0.034819234162569046,
0.02356741763651371,
-0.042555950582027435,
-0.03414946049451828,
-0.0027166965883225203,
-0.01790739595890045,
0.046767707914114,
-0.02926427684724331,
0.04357515648007393,
0.03464245796203613,
0.016935624182224274,
-0.017530662938952446,
0.0015656575560569763,
-0.016178160905838013,
-0.05826220288872719,
-0.024805594235658646,
0.048107076436281204,
-0.00998732354491949,
-0.014351991005241871,
0.006700442172586918,
-0.0309462770819664,
0.011803863570094109,
-0.0014548852341249585,
-0.021371958777308464,
0.049518246203660965,
0.03599774092435837,
-0.029969993978738785,
0.02231726050376892,
0.08232971280813217,
-0.01553429663181305,
0.026043808087706566,
-0.017928121611475945,
-0.012311653234064579,
0.010852969251573086,
-0.02988768368959427,
0.021654881536960602,
-0.031421512365341187,
0.033798228949308395,
-0.022487778216600418,
-0.052251558750867844,
0.0019462630152702332,
0.01848694123327732,
0.01822071522474289,
-0.008193323388695717,
-0.04807712882757187,
-0.015331610105931759,
0.004453881643712521,
-0.00978437066078186,
-0.01591680943965912,
-0.034260332584381104,
0.026481416076421738,
0.009001950733363628,
0.006182185374200344,
0.007482635322958231,
-0.024894552305340767,
-0.008712220937013626,
-0.04445021599531174,
0.01301403995603323,
0.017126351594924927,
0.04654940217733383,
-0.025848176330327988,
-0.01640874706208706,
0.0024637000169605017,
-0.06792126595973969,
-0.0070762173272669315,
0.011971735395491123,
0.017706381157040596,
0.007481464184820652,
0.01924905553460121,
-0.02281966432929039,
0.011060134507715702,
0.022926311939954758,
0.015413227491080761,
0.04910583421587944,
0.0049890377558767796,
0.01513655949383974,
-0.0545114129781723,
-0.04167453572154045,
0.006615952122956514,
-0.03138064593076706,
-0.0032622485887259245,
0.023625772446393967,
0.006230869330465794,
-0.0041002933867275715,
-0.012548345141112804,
-0.0342882014811039,
0.010784875601530075,
0.019066058099269867,
-0.014377345331013203,
-0.03717949241399765,
0.003049525199458003,
0.050292178988456726,
-0.04046989977359772,
-0.019602688029408455,
0.004549577832221985,
-0.047014955431222916,
-0.021785743534564972,
0.016917789354920387,
0.007597386371344328,
0.017327558249235153,
-0.009604237973690033,
0.04300010949373245,
0.005093988962471485,
0.032240040600299835,
0.015181420370936394,
0.03185882046818733,
-0.05095956474542618,
-0.0005427019204944372
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | Diving into speed benchmarks We decided to provide an extensive benchmark for both inference and fine-tuning adapters using bitsandbytes and auto-gptq on different hardware. The inference benchmark should give users an idea of the speed difference they might get between the different approaches we propose for inference, and the adapter fine-tuning benchmark should give a clear idea to users when it comes to deciding which approach to use when fine-tuning adapters on top of bitsandbytes and GPTQ base models. We will use the following setup: - bitsandbytes: 4-bit quantization with bnb_4bit_compute_dtype=torch.float16. Make sure to use bitsandbytes>=0.41.1 for fast 4-bit kernels. - auto-gptq: 4-bit quantization with exllama kernels. You will need auto-gptq>=0.4.0 to use ex-llama kernels. | [
0.03534085676074028,
0.0056835319846868515,
-0.009412886574864388,
0.030221447348594666,
0.011391383595764637,
-0.015137259848415852,
0.022275609895586967,
0.004275695886462927,
0.0184528436511755,
-0.04241229593753815,
-0.053843434900045395,
0.05084259435534477,
0.01007766555994749,
-0.03532302379608154,
0.062205832451581955,
-0.004128515254706144,
0.034384459257125854,
-0.02079329453408718,
-0.01909818686544895,
0.02194683626294136,
0.06823810189962387,
-0.055903416126966476,
0.06163541227579117,
0.0072960201650857925,
-0.011922125704586506,
-0.08822567015886307,
-0.03166299685835838,
-0.010951606556773186,
-0.0069229076616466045,
-0.017259584739804268,
-0.08152402192354202,
-0.022900165989995003,
0.015539275482296944,
-0.049004048109054565,
0.03742802515625954,
-0.04865073040127754,
-0.08193197846412659,
0.01373868528753519,
0.016938431188464165,
-0.03476487100124359,
0.005465751513838768,
-0.03249110281467438,
-0.045622967183589935,
0.0640290156006813,
0.0660698264837265,
0.04696320369839668,
-0.03933361545205116,
0.06077459454536438,
-0.07755684852600098,
-0.02353403903543949,
-0.003972256556153297,
0.03562482073903084,
-0.06734354794025421,
0.02609625644981861,
0.04540662094950676,
0.037679851055145264,
-0.02353275753557682,
-0.042081572115421295,
0.001616594148799777,
-0.0009157794993370771,
0.0792459174990654,
-0.029731949791312218,
0.018395785242319107,
0.011770994402468204,
0.0527288094162941,
0.0040487805381417274,
-0.07689449191093445,
0.030719755217432976,
-0.062421903014183044,
0.05759032815694809,
-0.006785309873521328,
-0.018834440037608147,
0.028941696509718895,
-0.04353988543152809,
-0.024319177493453026,
-0.04809650778770447,
0.02116343379020691,
-0.01495669037103653,
0.1049485057592392,
0.0162208192050457,
-0.0692770779132843,
0.03894813358783722,
0.038432393223047256,
0.029681015759706497,
0.019383227452635765,
0.04568580910563469,
-0.06210365146398544,
-0.0365893729031086,
-0.03668321669101715,
0.028126483783125877,
-0.05063243582844734,
-0.08145995438098907,
0.05298815295100212,
-0.0047243572771549225,
-0.06517291069030762,
-0.013933359645307064,
-0.00634160079061985,
0.0012238885974511504,
0.021570608019828796,
-0.02436204068362713,
0.050829481333494186,
-0.057429391890764236,
0.01531089749187231,
-0.05106159672141075,
-0.007195464335381985,
0.07687972486019135,
-0.12040175497531891,
-0.08267925679683685,
-0.03371754661202431,
0.06797477602958679,
-0.03395990654826164,
0.0034135000314563513,
-0.008374365977942944,
0.010268110781908035,
-0.06957342475652695,
-0.037047941237688065,
-0.03742768615484238,
0.02197105996310711,
0.01956132799386978,
0.004552523605525494,
-0.00502192135900259,
0.05305832251906395,
0.03476938605308533,
-0.028233733028173447,
0.002224486554041505,
-0.0010098273633047938,
0.07785894721746445,
0.07807395607233047,
0.027080614119768143,
0.027144545689225197,
0.07810420542955399,
-0.1164904311299324,
0.012024903669953346,
-0.02950974740087986,
-0.016931630671024323,
-0.05713305622339249,
-0.044184502214193344,
-0.09620924293994904,
-0.09687663614749908,
-0.0036418389063328505,
-0.02609938010573387,
0.0009699329384602606,
0.004849158227443695,
-0.029967423528432846,
-0.006959476508200169,
-0.02887791395187378,
-0.048585180193185806,
0.06301271170377731,
-0.0073639764450490475,
-0.01717303693294525,
-0.11053084582090378,
0.06807740032672882,
-0.028339482843875885,
-0.018903756514191628,
0.024322614073753357,
0.003729845630005002,
-0.05187806487083435,
0.0037647609133273363,
-0.07475267350673676,
-0.042000044137239456,
-0.06976442039012909,
-0.09891098737716675,
0.03428952023386955,
-0.08429951965808868,
-0.02838284708559513,
0.00979472417384386,
-0.002406798303127289,
0.03014417551457882,
-0.005463918671011925,
0.04244515299797058,
0.03258996456861496,
0.00988935399800539,
0.08186127245426178,
-0.04480605944991112,
0.023166226223111153,
0.028860455378890038,
0.02679750695824623,
0.06720124930143356,
-0.036356788128614426,
-0.03849036619067192,
-0.01687709055840969,
0.01860896125435829,
-0.023750334978103638,
0.08744141459465027,
0.007735005579888821,
-0.036268968135118484,
0.027144191786646843,
-0.05811980739235878,
-0.005011467263102531,
-0.0022770585492253304,
-0.03552712872624397,
-0.006998747121542692,
0.11218877136707306,
-0.04313444346189499,
0.021267103031277657,
-0.02203797735273838,
0.027464255690574646,
0.09095410257577896,
0.07735227048397064,
-0.04691215977072716,
0.01562625914812088,
-0.007609924301505089,
0.030747635290026665,
-0.0023551080375909805,
-0.035206347703933716,
0.03946954756975174,
-0.03180469572544098,
0.017952455207705498,
0.022565335035324097,
0.00905598234385252,
0.033482588827610016,
-0.12947262823581696,
-0.04775097221136093,
0.0326349250972271,
0.020413920283317566,
0.0031561977230012417,
0.03816508129239082,
-0.0069187963381409645,
0.01704946719110012,
-0.035257115960121155,
0.12024211883544922,
-0.02828049845993519,
0.035783201456069946,
-0.03657545894384384,
-0.034005485475063324,
0.019924921914935112,
0.046973954886198044,
0.025522174313664436,
0.03344370797276497,
-0.01812593638896942,
-0.023237813264131546,
-0.10410857200622559,
0.013131694868206978,
0.07354170829057693,
0.0011410542065277696,
-0.0813821479678154,
-0.03721223771572113,
-0.005506472662091255,
0.06927720457315445,
-0.01276059728115797,
0.016578907147049904,
0.07139679789543152,
0.008085760287940502,
0.06209699437022209,
-0.003018582472577691,
-0.015723418444395065,
0.06913769245147705,
-0.049574173986911774,
-0.002262619324028492,
-0.03792943060398102,
-0.02163694240152836,
-0.04267000034451485,
0.021724998950958252,
-0.029535893350839615,
0.05627172440290451,
-0.011782467365264893,
-0.008547821082174778,
0.02399539202451706,
-0.059734806418418884,
0.04042511060833931,
0.009837989695370197,
0.02304549515247345,
0.0013778473949059844,
0.0015433814842253923,
0.031076688319444656,
-0.05572729557752609,
-0.01594303920865059,
0.03349078819155693,
-0.0072051603347063065,
-0.04679621756076813,
-0.03406401723623276,
0.019346103072166443,
0.04798516631126404,
0.004883436020463705,
0.011350792832672596,
0.036276429891586304,
0.07527220994234085,
-0.008149627596139908,
-0.04005153477191925,
-0.007912308908998966,
0.024625884369015694,
-0.027049046009778976,
0.02740209549665451,
-0.005899213720113039,
-0.05019150301814079,
0.005207296926528215,
0.006536637898534536,
-0.03810495510697365,
-0.07518700510263443,
-0.005715663079172373,
-0.009070329368114471,
0.000025593197278794833,
0.0235564187169075,
-0.027805490419268608,
0.025692112743854523,
0.03390686213970184,
-0.031003212556242943,
-0.01229823287576437,
0.007606202270835638,
-0.026906438171863556,
-0.020926453173160553,
0.017729198560118675,
-0.056396182626485825,
-0.01366890873759985,
0.008488860912621021,
0.011679540388286114,
0.004526589065790176,
0.012166449800133705,
-0.07212335616350174,
0.01758616231381893,
-0.01747724786400795,
0.047487687319517136,
-0.006749354302883148,
-0.04186403751373291,
0.010635962709784508,
-0.009892028756439686,
0.029455818235874176,
0.0017962477868422866,
0.02756095863878727,
-0.045298948884010315,
0.03269132599234581,
0.022877411916851997,
0.006439133081585169,
0.04615410789847374,
-0.017521437257528305,
0.0016988927964121103,
0.005340695381164551,
0.0017120164120569825,
-0.00002979002965730615,
0.005806590896099806,
-0.009404084645211697,
0.022714888677001,
-0.022827230393886566,
0.014392322860658169,
0.04974757134914398,
0.009344417601823807,
0.02754586935043335,
-0.012376547791063786,
-0.039328232407569885,
-0.03441924229264259,
-0.0415293425321579,
0.02761477790772915,
-0.019687768071889877,
-0.04603046923875809,
-0.02714732103049755,
0.010444781742990017,
-0.00939954724162817,
0.03994147479534149,
-0.004217390436679125,
0.050818827003240585,
0.06288415938615799,
-0.02551131509244442,
0.017757676541805267,
0.039342284202575684,
-0.006609570235013962,
0.037613291293382645,
0.030120383948087692,
-0.02884076163172722,
-0.02336186170578003,
0.0149798933416605,
0.008117001503705978,
0.012692766264081001,
0.0015331206377595663,
0.013163351453840733,
-0.013514643535017967,
0.040744561702013016,
0.045865971595048904,
-0.0350160151720047,
-0.04747428372502327,
0.028114723041653633,
0.023853158578276634,
-0.030375635251402855,
-0.045138414949178696,
-0.010744030587375164,
0.019245458766818047,
-0.031866904348134995,
-0.01836094819009304,
-0.026878561824560165,
-0.016686545684933662,
0.018759939819574356,
0.00025292139616794884,
0.009182333014905453,
-0.019642535597085953,
0.01978280022740364,
-0.0367504321038723,
-0.01785428635776043,
0.04532032459974289,
0.008477048948407173,
0.001254179747775197,
-0.020332645624876022,
-0.0036024190485477448,
0.00004849790639127605,
0.015309353359043598,
-0.04574302211403847,
-0.015386538580060005,
-0.051174864172935486,
0.004496642854064703,
-0.0035797227174043655,
0.025394726544618607,
-0.0029289971571415663,
-0.00030891000642441213,
0.005113610532134771,
-0.004933981690555811,
-0.035698302090168,
0.036012258380651474,
0.04809371009469032,
0.027020368725061417,
0.06914234161376953,
0.012952764518558979,
-0.0357423759996891,
0.03390226885676384,
-0.029760444536805153,
-0.011378590948879719,
0.07082153856754303,
-0.019964106380939484,
0.04011024907231331,
0.004348821938037872,
0.04148922860622406,
0.04620957374572754,
-0.029728200286626816,
0.008580751717090607,
0.03678411990404129,
0.0487481988966465,
0.01695062592625618,
0.012441405095160007,
-0.01654266193509102,
0.030991913750767708,
-0.00963529571890831,
0.009250125847756863,
0.03507619351148605,
0.013172694481909275,
-0.008728056214749813,
0.05160416290163994,
0.0006891709635965526,
0.012578669004142284,
0.02111324854195118,
0.009041823446750641,
-0.03967677056789398,
-0.02774927206337452,
-0.0003390401543583721,
0.0106178754940629,
-0.015399561263620853,
0.0006166023667901754,
-0.0006421538419090211,
-0.022993139922618866,
-0.011551096104085445,
-0.011142591014504433,
-0.017435528337955475,
0.018053298816084862,
0.05122252181172371,
-0.003151501063257456,
-0.05653216689825058,
0.013745980337262154,
0.03938637301325798,
0.02916286140680313,
0.005168205127120018,
-0.07847472280263901,
0.06726642698049545,
0.04408787935972214,
-0.06605102121829987,
0.02710522711277008,
-0.011196263134479523,
0.02292434312403202,
0.0049403659068048,
0.015415011905133724,
-0.000769391655921936,
0.030324650928378105,
0.009234488941729069,
0.05083860084414482,
0.02119927480816841,
0.0007328377105295658,
-0.012355777435004711,
0.04303543642163277,
0.0015992687549442053,
-0.0035030031576752663,
-0.03140313923358917,
0.004842597991228104,
-0.025025878101587296,
-0.008012410253286362,
0.034389909356832504,
-0.008112452924251556,
0.008179991506040096,
0.042911894619464874,
0.036236464977264404,
-0.004822224844247103,
-0.021046992391347885,
0.009944307617843151,
-0.0027072536759078503,
0.04119524732232094,
-0.022148694843053818,
0.04297350347042084,
0.018700383603572845,
0.000864461821038276,
0.024984054267406464,
0.01224522851407528,
0.05835365876555443,
0.00392509251832962,
0.014987874776124954,
0.053365323692560196,
0.02525842934846878,
0.03299897164106369,
-0.04009666666388512,
0.01169674564152956,
-0.03659775108098984,
0.034296996891498566,
0.01572236977517605,
0.0011432669125497341,
-0.02478012442588806,
0.04789423942565918,
0.0025508063845336437,
-0.03383176028728485,
-0.023173166438937187,
0.0019068241817876697,
0.009798569604754448,
0.037868112325668335,
-0.047478314489126205,
0.006986420601606369,
-0.05530533194541931,
0.010477223433554173,
0.012805699370801449,
-0.014713931828737259,
-0.011832321994006634,
0.029461530968546867,
-0.006094199605286121,
-0.023637894541025162,
0.09719419479370117,
0.022144783288240433,
0.04750044271349907,
-0.04013700783252716,
-0.003029515966773033,
0.007520365063101053,
0.00011554417869774625,
0.005924491211771965,
-0.00205138698220253,
-0.018027761951088905,
-0.0017311533447355032,
0.004609604366123676,
0.009846147149801254,
-0.04284360259771347,
-0.04143975302577019,
-0.020120570436120033,
-0.02591792121529579,
-0.0026518679223954678,
0.012981454841792583,
-0.010240091942250729,
0.026164738461375237,
0.03344155475497246,
-0.02702408656477928,
-0.02923394739627838,
-0.04449136182665825,
-0.02213289402425289,
-0.0263825673609972,
-0.09836328774690628,
0.006296645384281874,
0.0713881254196167,
0.0066436356864869595,
-0.024868907406926155,
-0.023170853033661842,
0.0066003818064928055,
-0.013752767816185951,
0.0017051493050530553,
0.02483612485229969,
0.020104283466935158,
0.014655137434601784,
0.0022379299625754356,
-0.012467381544411182,
0.020502513274550438,
0.02529662288725376,
0.05185604467988014,
-0.015192744322121143,
0.008311551995575428,
0.06173335015773773,
-0.053052689880132675,
0.046456582844257355,
0.0018740881932899356,
-0.07540546357631683,
0.008569552563130856,
0.02199401520192623,
-0.019271504133939743,
-0.004657971207052469,
0.005701254587620497,
0.02907322533428669,
-0.046692222356796265,
-0.009348189458251,
-0.004042243119329214,
0.029241759330034256,
0.031221099197864532,
-0.013825574889779091,
0.020043523982167244,
0.051966648548841476,
0.05956355482339859,
-0.024008076637983322,
0.02459094487130642,
0.000031902731279842556,
0.06842949241399765,
0.011489525437355042,
0.0017180813010782003,
0.03801518306136131,
-0.008499883115291595,
0.004469897598028183,
-0.007412388920783997,
-0.01910652406513691,
-0.03427627682685852,
-0.036126986145973206,
0.06691859662532806,
-0.01390314195305109,
0.01459438819438219,
-0.03212311118841171,
0.03763539344072342,
0.011960506439208984,
0.017258526757359505,
-0.009247706271708012,
0.007584050763398409,
-0.051432155072689056,
0.001249797292985022,
-0.015785034745931625,
-0.0031471382826566696,
0.029304660856723785,
0.0037600859068334103,
0.04343061521649361,
-0.012475783936679363,
0.025757718831300735,
0.0008768377010710537,
-0.02626936510205269,
0.008924196474254131,
0.0032163532450795174,
-0.003934566862881184,
0.025162173435091972,
0.04424827918410301,
0.06089024990797043,
-0.030474836006760597,
0.025097837671637535,
-0.02749510109424591,
0.0061069997027516365,
0.01145848911255598,
-0.03393751382827759,
-0.016080593690276146,
0.016154978424310684,
0.030422141775488853,
0.016988318413496017,
-0.0052857124246656895,
-0.0490180104970932,
-0.0003523021878208965,
0.010484046302735806,
-0.022721070796251297,
0.024753287434577942,
-0.01691422611474991,
-0.003284833859652281,
-0.0065534296445548534,
0.03640780597925186,
-0.04616351053118706,
0.03277545049786568,
-0.029163938015699387,
0.02670016884803772,
0.014777714386582375,
-0.05473974719643593,
0.0005646025529131293,
-0.047124557197093964,
0.0002195751731051132,
0.014717640355229378,
-0.027576841413974762,
0.024249615147709846,
0.0023012792225927114,
-0.048628635704517365,
0.048502303659915924,
-0.0071659209206700325,
0.009927845560014248,
0.03780662640929222,
0.03372851386666298,
0.011797267943620682,
0.05269058421254158,
0.0006432744557969272,
-0.04010332003235817,
0.005333812441676855,
-0.06317908316850662,
-0.055672165006399155,
0.05224888399243355,
-0.010776718147099018,
-0.00020486325956881046,
-0.011650807224214077,
-0.009701487608253956,
0.020688451826572418,
0.019164051860570908,
-0.0028849123045802116,
0.03019043430685997,
-0.03340332210063934,
-0.0336310900747776,
-0.035569287836551666,
0.05367163196206093,
-0.04128265753388405,
0.024907540529966354,
0.03596847504377365,
-0.018534276634454727,
-0.006272662431001663,
0.012147600762546062,
0.014185545034706593,
-0.05113824084401131,
0.01563975401222706,
-0.026885272935032845,
-0.0012079649604856968,
-0.0009394851513206959,
0.04654589667916298,
0.02845636010169983,
0.011808894574642181,
-0.040215663611888885,
-0.01717936061322689,
-0.05207774043083191,
-0.02227121777832508,
0.00798798631876707,
-0.028627919033169746,
0.04843209683895111,
0.06993954628705978,
0.00006100575774325989,
0.013918877579271793,
-0.05109503120183945,
0.011846153996884823,
-0.0469747819006443,
-0.016315627843141556,
0.05324753746390343,
0.043796099722385406,
-0.028512882068753242,
-0.04588164761662483,
0.010147755034267902,
-0.004417278803884983,
0.01819854974746704,
0.0017369634006172419,
0.018368035554885864,
0.015535636804997921,
-0.007182370871305466,
-0.025690307840704918,
0.05742495879530907,
0.034987546503543854,
0.0051460969261825085,
0.04794641211628914,
0.007737056352198124,
0.004387320019304752,
-0.019704066216945648,
-0.060426015406847,
-0.005580170080065727,
-0.0013624898856505752,
-0.0020243057515472174,
0.019787656143307686,
0.0016008447855710983,
0.06664030253887177,
-0.007983214221894741,
0.0035947144497185946,
-0.02934754639863968,
0.024767521768808365,
-0.05389042943716049,
-0.032364532351493835,
-0.005821140483021736,
0.059271592646837234,
-0.016904383897781372,
0.002597216283902526,
-0.016302404925227165,
-0.02526210807263851,
-0.008162694983184338,
0.031914424151182175,
-0.030589334666728973,
0.0072636972181499004,
0.03413446992635727,
0.032106682658195496,
0.01094347145408392,
0.00599285401403904,
0.026786882430315018,
0.021974949166178703,
-0.03498635068535805,
-0.04066731035709381
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | Adapter fine-tuning (forward + backward) It is not possible to perform pure training on a quantized model. However, you can fine-tune quantized models by leveraging parameter efficient fine tuning methods (PEFT) and train adapters on top of them. The fine-tuning method will rely on a recent method called "Low Rank Adapters" (LoRA): instead of fine-tuning the entire model you just have to fine-tune these adapters and load them properly inside the model. Let's compare the fine-tuning speed! The benchmark was run on a NVIDIA A100 GPU and we used meta-llama/Llama-2-7b-hf model from the Hub. Note that for GPTQ model, we had to disable the exllama kernels as exllama is not supported for fine-tuning. From the result, we conclude that bitsandbytes is faster than GPTQ for fine-tuning. | [
0.08159394562244415,
-0.061747197061777115,
-0.037873778492212296,
0.04816918075084686,
0.05427388474345207,
-0.05544719845056534,
-0.014866187237203121,
0.022855333983898163,
0.036637015640735626,
-0.021350717172026634,
-0.03498087823390961,
0.01813579350709915,
-0.05148445814847946,
-0.0680612176656723,
0.014664147049188614,
-0.03246612101793289,
0.06827840209007263,
-0.06539401412010193,
-0.038530271500349045,
0.047244805842638016,
0.12209784984588623,
-0.008537627756595612,
0.044523607939481735,
-0.008825903758406639,
-0.04745006188750267,
-0.04717746004462242,
0.04302620515227318,
0.036240268498659134,
-0.011323969811201096,
0.02538331039249897,
-0.04772374778985977,
0.02176077663898468,
-0.01933012716472149,
-0.046777576208114624,
0.04011724516749382,
-0.05147821828722954,
-0.03495604544878006,
0.011296503245830536,
0.028313664719462395,
-0.054986972361803055,
-0.016696739941835403,
0.030340302735567093,
-0.007229921407997608,
0.11265221238136292,
0.08375280350446701,
-0.03229339048266411,
-0.04748787358403206,
0.011245389468967915,
-0.014783663675189018,
-0.09145224839448929,
-0.031145762652158737,
0.07244722545146942,
0.019355060532689095,
0.029496392235159874,
0.04392686486244202,
-0.00485547911375761,
0.002051099669188261,
-0.05614188313484192,
-0.02322559244930744,
0.04273902252316475,
0.07024359703063965,
-0.008931978605687618,
-0.002772730542346835,
-0.021869298070669174,
0.029479654505848885,
0.0008054480422288179,
-0.0411095917224884,
0.028717881068587303,
-0.03216491639614105,
-0.027888020500540733,
-0.009480242617428303,
-0.06760569661855698,
0.04939126968383789,
-0.019559985026717186,
0.00016353126557078212,
-0.05095156654715538,
-0.004542076028883457,
0.03593616932630539,
0.05824580043554306,
0.02860219031572342,
-0.041856054216623306,
-0.028360499069094658,
0.04349343851208687,
-0.00025803031167015433,
0.023087121546268463,
-0.014556003734469414,
-0.020520584657788277,
-0.04188694432377815,
-0.04761546850204468,
0.07414408028125763,
-0.031138859689235687,
-0.08100631088018417,
-0.03326815739274025,
0.017854202538728714,
-0.040001533925533295,
0.04334015026688576,
0.010642388835549355,
-0.030442727729678154,
0.06835846602916718,
-0.06933488696813583,
0.005975075997412205,
-0.03611164912581444,
0.05594250559806824,
-0.028188176453113556,
-0.017258672043681145,
0.07985398918390274,
-0.03464391455054283,
-0.12253998219966888,
-0.07258345186710358,
0.03227519243955612,
-0.03349794074892998,
0.0012721031671389937,
0.02670184336602688,
0.003041069721803069,
-0.10826330631971359,
0.0146237937733531,
-0.0048512620851397514,
-0.013693640008568764,
0.005296383518725634,
0.0207926407456398,
0.01094119157642126,
0.11234195530414581,
0.027141453698277473,
0.003909154329448938,
0.00795522890985012,
-0.015135163441300392,
0.0621228851377964,
0.022670265287160873,
0.034544214606285095,
0.02368612214922905,
0.06825738400220871,
-0.010317271575331688,
-0.007818140089511871,
0.05520392581820488,
-0.004095485899597406,
-0.048240792006254196,
-0.007156482897698879,
-0.07914011925458908,
-0.039150435477495193,
-0.013999709859490395,
-0.012839735485613346,
0.02651006169617176,
-0.005152625031769276,
-0.12743963301181793,
0.029213720932602882,
-0.02639554627239704,
-0.01010282151401043,
0.08873238414525986,
-0.013099906966090202,
-0.01952744647860527,
-0.10974534600973129,
0.07184648513793945,
0.03154798597097397,
-0.11221236735582352,
0.030876383185386658,
0.00552890170365572,
-0.07408725470304489,
0.02543145790696144,
-0.057813119143247604,
0.005259804893285036,
-0.049028098583221436,
-0.059897325932979584,
-0.03357578441500664,
-0.020243458449840546,
-0.006218292284756899,
-0.038705505430698395,
0.0012104179477319121,
0.06917650997638702,
-0.021034996956586838,
0.028666192665696144,
0.06797987222671509,
0.03627275675535202,
0.07866282761096954,
-0.04552631452679634,
-0.008824510499835014,
0.021685481071472168,
0.023292867466807365,
0.06474117934703827,
-0.06372562795877457,
-0.04927549138665199,
0.003395905252546072,
0.05823686718940735,
0.002028505317866802,
0.04143824055790901,
-0.012314710766077042,
-0.005429045297205448,
0.03101399727165699,
-0.049732476472854614,
0.03786804527044296,
0.035145342350006104,
-0.09358642250299454,
0.0896010473370552,
0.10446009039878845,
-0.0024459650740027428,
0.06684292107820511,
-0.047648292034864426,
-0.009808678179979324,
0.054514043033123016,
0.06402646750211716,
-0.010315870866179466,
0.07880716770887375,
0.0029469607397913933,
0.016307292506098747,
0.023788124322891235,
-0.01635969989001751,
0.028426511213183403,
0.0008307871175929904,
0.011243646033108234,
0.019457833841443062,
-0.003462113905698061,
0.014307773672044277,
-0.04737382009625435,
0.01436776015907526,
-0.058375004678964615,
0.05029207095503807,
0.03513389080762863,
0.0007971236482262611,
-0.017779581248760223,
-0.06926845759153366,
-0.03697583079338074,
0.10258433222770691,
0.01888667605817318,
-0.002860776847228408,
0.004550684709101915,
-0.011866774410009384,
-0.03429824486374855,
0.07342711091041565,
-0.020632397383451462,
0.020957985892891884,
-0.02927345223724842,
-0.0075947982259094715,
-0.08778171241283417,
0.018344750627875328,
0.0473431758582592,
0.02602865919470787,
-0.10553878545761108,
-0.04722701013088226,
-0.007037789095193148,
0.07069028913974762,
-0.03931431472301483,
-0.011874721385538578,
0.028267763555049896,
-0.010264448821544647,
0.02355794794857502,
0.016401298344135284,
-0.007617253344506025,
0.07009574770927429,
-0.05807271972298622,
-0.036494724452495575,
-0.04209912195801735,
-0.0926537811756134,
0.0022527168039232492,
0.02935013920068741,
-0.02555328793823719,
0.024170080199837685,
-0.002423175610601902,
-0.009734108112752438,
0.00577566446736455,
0.004117774311453104,
0.02971164882183075,
0.01326955296099186,
0.03550032153725624,
-0.010221869684755802,
-0.009315108880400658,
0.007811276707798243,
-0.04892317205667496,
0.0046492693945765495,
0.005642468109726906,
0.0011273095151409507,
-0.05237188562750816,
0.0016756996046751738,
-0.005596448201686144,
0.021476155146956444,
-0.0031361097935587168,
0.014084052294492722,
0.01779906079173088,
0.03520027920603752,
-0.009999391622841358,
-0.04721543937921524,
-0.024930523708462715,
0.04137226194143295,
-0.023708432912826538,
0.007723914925009012,
0.025045238435268402,
0.017748085781931877,
0.031000878661870956,
-0.02151217870414257,
-0.0261080302298069,
-0.060042791068553925,
0.026469673961400986,
0.053492143750190735,
0.03370312973856926,
0.009051697328686714,
-0.009982249699532986,
0.025686295703053474,
0.02585775963962078,
0.002746066777035594,
0.014076286926865578,
0.035169560462236404,
-0.001441284199245274,
0.010281813330948353,
0.014394572004675865,
-0.00455560814589262,
-0.02537534013390541,
0.0053847795352339745,
-0.015637023374438286,
-0.0017248227959498763,
0.023111481219530106,
-0.06959837675094604,
-0.01807641237974167,
-0.03384654223918915,
0.06963703781366348,
-0.01278365682810545,
-0.029200268909335136,
0.012750634923577309,
-0.03397102653980255,
0.036200713366270065,
-0.01415075920522213,
0.029829973354935646,
0.02247968688607216,
-0.010934808291494846,
0.020465707406401634,
-0.011450563557446003,
-0.009901435114443302,
0.0143321817740798,
-0.034223299473524094,
0.014215543866157532,
0.0385887511074543,
-0.009814077988266945,
0.028384802863001823,
0.017624791711568832,
0.04056229069828987,
-0.006270278245210648,
-0.01108006201684475,
0.01084623672068119,
-0.01318654790520668,
0.004879373591393232,
-0.054670654237270355,
-0.034709956496953964,
-0.05747205764055252,
-0.017916468903422356,
0.03515227138996124,
0.012269126251339912,
-0.017515702173113823,
-0.0035561013501137495,
0.0205563772469759,
0.012991894036531448,
0.03668998181819916,
-0.015899112448096275,
0.06566852331161499,
0.037548523396253586,
0.027414094656705856,
0.007238974794745445,
0.01561103854328394,
-0.005495580844581127,
0.017481181770563126,
0.030635753646492958,
-0.01882709003984928,
-0.013251596130430698,
0.007039539981633425,
0.0014143892331048846,
0.022189415991306305,
-0.022363116964697838,
-0.012042977847158909,
0.03432203084230423,
0.025102095678448677,
0.04375764727592468,
-0.06043361499905586,
-0.02570531889796257,
-0.011275355704128742,
0.0103688295930624,
-0.008028922602534294,
-0.00017161497089546174,
-0.027662387117743492,
-0.007446866016834974,
-0.005263647995889187,
-0.008123595267534256,
-0.013247635215520859,
-0.009180022403597832,
0.014590599574148655,
0.0240189079195261,
0.008080045692622662,
0.026225432753562927,
-0.013331164605915546,
-0.018025781959295273,
0.014766688458621502,
0.020965825766324997,
0.030616311356425285,
0.013529587537050247,
-0.02493361383676529,
-0.01782534457743168,
-0.016815589740872383,
0.01725170947611332,
-0.012825820595026016,
-0.01910368539392948,
-0.08819067478179932,
0.014755560085177422,
-0.008703777566552162,
0.08128626644611359,
-0.04365771263837814,
0.0009759434615261853,
0.01499994471669197,
-0.03193904832005501,
0.016317250207066536,
0.06307430565357208,
0.05286717787384987,
-0.01311567798256874,
0.039987336844205856,
0.021118883043527603,
-0.030130669474601746,
0.027311183512210846,
-0.020997535437345505,
-0.02901568077504635,
0.04117302969098091,
-0.012707584537565708,
-0.02590976655483246,
-0.00037780925049446523,
0.02574346587061882,
-0.011308637447655201,
-0.027590453624725342,
0.015830794349312782,
-0.006846969481557608,
0.044392671436071396,
0.030443981289863586,
0.000055343312851618975,
0.043373316526412964,
0.030018271878361702,
-0.005488221999257803,
0.006002695299685001,
0.009753814898431301,
-0.006355476565659046,
-0.07419325411319733,
0.06300700455904007,
0.021087614819407463,
0.006486075464636087,
0.037793949246406555,
-0.018134813755750656,
-0.016908209770917892,
-0.03432289510965347,
-0.03415393456816673,
-0.011957372538745403,
-0.019476113840937614,
-0.009318776428699493,
-0.046371690928936005,
-0.021973740309476852,
0.00827439222484827,
0.022254176437854767,
-0.012980802915990353,
0.04018077626824379,
0.010211949236690998,
0.01663028448820114,
-0.04016959294676781,
0.032954372465610504,
0.04857588931918144,
0.01709139347076416,
-0.0034533070866018534,
-0.03455765172839165,
0.08223547041416168,
0.06022483482956886,
-0.06679093092679977,
0.004599593114107847,
-0.008732672780752182,
0.003560784040018916,
-0.017291154712438583,
0.008967832662165165,
-0.014724026434123516,
0.029696045443415642,
0.025609595701098442,
0.031963810324668884,
0.0043830061331391335,
-0.04431482404470444,
0.010086361318826675,
0.02687719836831093,
0.00783498678356409,
-0.023098982870578766,
-0.03431805595755577,
-0.0318417102098465,
-0.06387817114591599,
-0.01710428297519684,
-0.05745498463511467,
0.05621342733502388,
0.011503529734909534,
0.03786225616931915,
0.007649847771972418,
0.040559329092502594,
-0.039696596562862396,
-0.017141487449407578,
0.020079731941223145,
0.02939031273126602,
0.011758040636777878,
0.04287687689065933,
0.03904040902853012,
-0.002746076788753271,
0.03756653144955635,
0.041488587856292725,
0.05104004219174385,
-0.018032366409897804,
-0.004968636203557253,
0.07045701891183853,
0.007775948382914066,
0.026548489928245544,
-0.016127444803714752,
0.004794503096491098,
-0.0031405470799654722,
0.02302514761686325,
0.01580568589270115,
-0.06671181321144104,
-0.02617037296295166,
0.010034864768385887,
0.011050252243876457,
-0.002603426342830062,
-0.029678361490368843,
-0.004485472105443478,
0.0013497975887730718,
0.015020460821688175,
-0.0010974269825965166,
0.011590012349188328,
-0.026586992666125298,
-0.015415793284773827,
-0.00044156474177725613,
0.003964390140026808,
-0.03925119712948799,
0.040303267538547516,
-0.01907438598573208,
-0.025515416637063026,
0.07825115323066711,
-0.02758047729730606,
0.0026184117887169123,
-0.0015248546842485666,
-0.025666262954473495,
-0.004918734077364206,
-0.006305818445980549,
-0.001746082678437233,
-0.028257116675376892,
-0.0035171022173017263,
0.009065304882824421,
0.02555694803595543,
0.03294742852449417,
-0.06204141303896904,
-0.014740102924406528,
-0.01567009463906288,
-0.03719288855791092,
0.018310019746422768,
-0.02439618855714798,
-0.03840605169534683,
0.011220679618418217,
0.016313396394252777,
0.003815825330093503,
-0.007052611093968153,
-0.051467496901750565,
-0.04585595056414604,
-0.027758093550801277,
-0.08438993990421295,
0.030987614765763283,
0.03590064495801926,
0.021801086142659187,
-0.0219705943018198,
-0.017437830567359924,
-0.007182821165770292,
-0.01957670785486698,
0.030461616814136505,
0.03132586181163788,
0.0370626375079155,
0.007696165237575769,
0.026942508295178413,
-0.0018033215310424566,
-0.0008124952437356114,
-0.033972904086112976,
0.03629622608423233,
-0.006606314331293106,
0.008045910857617855,
0.04238618165254593,
-0.02496933937072754,
0.07501392066478729,
-0.008682804182171822,
-0.04853600263595581,
-0.020467137917876244,
0.019130349159240723,
-0.007237492594867945,
-0.00877668708562851,
-0.015397180803120136,
0.02185252122581005,
-0.026602232828736305,
0.0046382504515349865,
-0.0038549306336790323,
-0.026307087391614914,
-0.00030308711575344205,
-0.012891601771116257,
0.005947108380496502,
0.04224805161356926,
0.05923861637711525,
-0.027481792494654655,
0.048343297094106674,
0.013174660503864288,
0.030998889356851578,
-0.016225706785917282,
0.006512352265417576,
0.04800726845860481,
-0.020158149302005768,
-0.006197083275765181,
-0.03946169465780258,
-0.02402588352560997,
-0.05749257281422615,
-0.002446663798764348,
0.06983329355716705,
0.0021879670675843954,
0.06026829406619072,
-0.05484624579548836,
0.06601184606552124,
0.01786172017455101,
0.032053347676992416,
-0.04359692707657814,
0.011334680020809174,
0.018730398267507553,
-0.030877286568284035,
0.0025941948406398296,
0.008856512606143951,
-0.0013567853020504117,
0.011452306993305683,
0.025258807465434074,
-0.0015121339820325375,
0.0028355952817946672,
-0.026161659508943558,
-0.04493311420083046,
0.04172550514340401,
-0.007721050176769495,
0.0031904929783195257,
0.006822340656071901,
0.036108456552028656,
0.03072618506848812,
0.02372574992477894,
0.012001157738268375,
-0.044681616127491,
-0.015478081069886684,
0.02608022466301918,
-0.031356312334537506,
-0.04258056730031967,
0.03390893340110779,
0.0033916966058313847,
0.0374862439930439,
-0.004801167640835047,
-0.03791432082653046,
-0.02570517174899578,
-0.00016308881458826363,
-0.007232087664306164,
0.008205456659197807,
-0.022120002657175064,
-0.017672142013907433,
-0.015998968854546547,
-0.01838977448642254,
-0.006181708071380854,
0.05514906719326973,
0.015913590788841248,
0.00044787832302972674,
0.03758857026696205,
-0.04110802337527275,
-0.012473206967115402,
-0.02480979450047016,
0.010802900418639183,
0.009194293059408665,
-0.05089164152741432,
0.02896924689412117,
-0.02050705999135971,
-0.050670865923166275,
0.04938283935189247,
-0.05089956894516945,
0.001001765369437635,
0.016299651935696602,
0.046497151255607605,
0.00945299956947565,
0.008034254424273968,
-0.0006731036119163036,
0.022480694577097893,
0.0030242956709116697,
-0.023613784462213516,
-0.03733311593532562,
0.052715569734573364,
-0.016506792977452278,
-0.02951946295797825,
-0.001640871400013566,
-0.020007185637950897,
0.02436532825231552,
0.0009671355946920812,
0.019990364089608192,
-0.027605580165982246,
-0.01392681710422039,
-0.04987041652202606,
-0.013896888121962547,
0.02085195481777191,
-0.04428901523351669,
0.016577379778027534,
0.013243927620351315,
0.00531443115323782,
-0.001005285419523716,
-0.0004266745818313211,
-0.007953689433634281,
-0.009660860523581505,
-0.018207384273409843,
-0.012388289906084538,
-0.04005245491862297,
-0.03004302829504013,
0.06052650138735771,
0.048470865935087204,
0.042891956865787506,
-0.03090490587055683,
-0.006842214148491621,
-0.03457733988761902,
0.032526180148124695,
-0.005771682132035494,
-0.003612400032579899,
0.053861428052186966,
0.037705227732658386,
0.00289912149310112,
-0.01577894203364849,
-0.034545958042144775,
-0.034344129264354706,
-0.09392639249563217,
0.00390995666384697,
0.08691863715648651,
-0.015537763945758343,
-0.016907915472984314,
-0.014853687025606632,
-0.0015645133098587394,
0.024190140888094902,
-0.04650098457932472,
-0.030060984194278717,
-0.014775769785046577,
0.05556454509496689,
-0.0033390577882528305,
-0.03542860597372055,
0.023430755361914635,
0.02926228567957878,
-0.011558079160749912,
0.06082645803689957,
-0.0033981436863541603,
-0.0004309719370212406,
-0.01676824502646923,
-0.05773264542222023,
0.032935623079538345,
-0.03676854446530342,
0.0036739108618348837,
-0.008687661029398441,
0.017926707863807678,
0.027587441727519035,
0.01179947704076767,
-0.005819580517709255,
0.004374638665467501,
0.0014189797220751643,
0.00444886926561594,
-0.007753695826977491,
-0.011691776104271412,
0.01871465891599655,
-0.009486695751547813,
-0.002837121719494462,
-0.04475134611129761,
0.06574571132659912,
-0.01244767289608717,
0.02129190042614937,
-0.0027732965536415577,
0.02028501406311989,
0.03137051314115524,
0.03445052355527878,
-0.03965548798441887,
0.015569167211651802,
0.006436225026845932,
0.04275837540626526,
-0.027417639270424843,
-0.01736942119896412
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | What are the potential rooms of improvements of autoGPTQ? calibration dataset: The need of a calibration dataset might discourage some users to go for GPTQ. Furthermore, it can take several hours to quantize the model (e.g. 4 GPU hours for a 175B scale model according to the paper - section 2) works only for language models (for now): As of today, the API for quantizing a model with auto-GPTQ has been designed to support only language models. It should be possible to quantize non-text (or multimodal) models using the GPTQ algorithm, but the process has not been elaborated in the original paper or in the auto-gptq repository. If the community is excited about this topic this might be considered in the future. | [
0.03263489902019501,
-0.025466689839959145,
0.03123982436954975,
0.013765733689069748,
0.019048048183321953,
0.04965249076485634,
0.006996617652475834,
0.025098580867052078,
0.014540319330990314,
-0.032398201525211334,
-0.04098505526781082,
0.09656015038490295,
-0.04077807441353798,
0.004253088030964136,
0.005358975846320391,
-0.01133538968861103,
0.04626483842730522,
0.003107809228822589,
-0.0027030284982174635,
0.03098122403025627,
-0.0023329025134444237,
0.000837781117297709,
0.05027832090854645,
0.0007093976601026952,
-0.034543223679065704,
-0.1046011671423912,
-0.0034594868775457144,
0.059982068836688995,
-0.006597013212740421,
0.00628451444208622,
-0.11565162241458893,
0.027493830770254135,
-0.034549545496702194,
-0.00020480754028540105,
0.006784867960959673,
-0.0012316509382799268,
-0.1194189116358757,
0.0033359667286276817,
0.0716930404305458,
-0.06487885117530823,
0.016017751768231392,
-0.004022309090942144,
0.005883304867893457,
0.07493992149829865,
-0.03405863046646118,
0.007142473943531513,
-0.09297771006822586,
0.04318864643573761,
0.008514618501067162,
-0.05372314900159836,
-0.04331064969301224,
0.055338889360427856,
-0.009713784791529179,
0.007630351930856705,
0.009008722379803658,
0.03003617934882641,
-0.026822896674275398,
-0.09279362112283707,
-0.019632838666439056,
-0.020679913461208344,
0.07255162298679352,
-0.04341483116149902,
0.01660771854221821,
0.012598325498402119,
0.004347587004303932,
0.002466242527589202,
-0.06467409431934357,
0.016988491639494896,
-0.02295657992362976,
-0.0018377309897914529,
-0.03910362720489502,
-0.046376027166843414,
0.011242260225117207,
-0.08862030506134033,
-0.04430786892771721,
0.007670579478144646,
-0.06953088939189911,
0.10191141068935394,
0.03324662148952484,
0.018196197226643562,
0.0287889763712883,
0.0013240179978311062,
0.06979307532310486,
0.004398641642183065,
0.017702005803585052,
-0.006426858715713024,
0.0417596735060215,
-0.08177373558282852,
-0.02113080956041813,
0.03286886215209961,
0.0011184023460373282,
-0.11847110837697983,
-0.031599197536706924,
-0.06921172142028809,
-0.010775369592010975,
-0.031096765771508217,
0.026589279994368553,
0.06240542232990265,
-0.016504347324371338,
0.013790511526167393,
-0.03983558341860771,
-0.007219303864985704,
-0.0022536481264978647,
-0.012296870350837708,
-0.0681167021393776,
0.02891935221850872,
-0.04471176490187645,
-0.09081309288740158,
-0.016620121896266937,
0.03533602133393288,
-0.0018886643229052424,
0.028138216584920883,
0.006261278875172138,
0.04169038310647011,
-0.05095774680376053,
0.05479241907596588,
0.034909918904304504,
-0.0033612747211009264,
0.03974505886435509,
0.05107894167304039,
-0.021811766549944878,
0.028726724907755852,
0.01865367777645588,
-0.024255063384771347,
0.02675909921526909,
0.025130003690719604,
0.10335157811641693,
-0.02612467296421528,
0.01835598051548004,
0.0012758861994370818,
0.04544900730252266,
-0.03611602261662483,
0.05660035088658333,
-0.009557407349348068,
0.012750309891998768,
-0.05637951195240021,
-0.007741495966911316,
-0.02952556312084198,
-0.0024693321902304888,
0.009812228381633759,
-0.00401191134005785,
0.03166912868618965,
0.01982869580388069,
0.030147792771458626,
0.02172975055873394,
0.028552111238241196,
-0.07451703399419785,
0.030020257458090782,
-0.08836464583873749,
0.0318547785282135,
-0.1549314558506012,
0.06877411901950836,
-0.06097044795751572,
-0.10192316025495529,
0.059510812163352966,
0.01383708044886589,
-0.06154806539416313,
-0.005838311277329922,
-0.060453545302152634,
-0.011983287520706654,
-0.028422636911273003,
-0.012404756620526314,
-0.04613767936825752,
-0.025488298386335373,
0.036663737148046494,
0.013809358701109886,
-0.011048640124499798,
0.03831595927476883,
-0.026365023106336594,
0.039498552680015564,
0.03887276351451874,
-0.03409598395228386,
0.12360084056854248,
-0.029643461108207703,
-0.0016461045015603304,
0.001113428152166307,
0.0006789627368561924,
0.022618012502789497,
-0.01951979659497738,
0.011414686217904091,
-0.03398865461349487,
-0.04619235172867775,
0.023913459852337837,
0.04095369577407837,
0.01413569226861,
-0.13231205940246582,
0.0009185725939460099,
-0.04741714894771576,
-0.00890374556183815,
-0.0351216122508049,
-0.061154644936323166,
-0.01573432795703411,
0.09419355541467667,
-0.00088291778229177,
0.04992305859923363,
-0.07812083512544632,
0.001640568720176816,
0.14663606882095337,
0.058552030473947525,
0.055897630751132965,
0.022622663527727127,
-0.03654344379901886,
0.07995517551898956,
-0.038606517016887665,
-0.013576150871813297,
0.04262000694870949,
0.033550817519426346,
0.0027872531209141016,
-0.0044439188204705715,
-0.04090486094355583,
0.009497237391769886,
-0.1434677690267563,
-0.03393710404634476,
-0.0044340998865664005,
-0.026522649452090263,
-0.010499807074666023,
0.04899930581450462,
0.04578656703233719,
-0.013497975654900074,
-0.018089866265654564,
0.16840612888336182,
0.012702721171081066,
0.03221109136939049,
-0.032879021018743515,
-0.034974001348018646,
0.0396120585501194,
0.05504346638917923,
0.05082593485713005,
0.04665452241897583,
-0.05444352328777313,
-0.03874029219150543,
-0.06606011092662811,
-0.0032877514604479074,
0.06261763721704483,
-0.015743428841233253,
-0.0014778977492824197,
-0.021531548351049423,
-0.004210491664707661,
0.08091731369495392,
-0.0039374022744596004,
0.039878953248262405,
0.00781181501224637,
-0.0258698258548975,
0.0535440593957901,
-0.02644539251923561,
0.026749109849333763,
0.040085434913635254,
0.005919537972658873,
-0.04910539463162422,
-0.04183763265609741,
-0.09129054844379425,
0.013992729596793652,
-0.05310363695025444,
-0.01390515174716711,
0.00404551113024354,
-0.0027131615206599236,
0.007258862257003784,
-0.029743816703557968,
-0.02336758002638817,
0.01203812938183546,
0.017264025285840034,
0.010832230560481548,
0.02233940176665783,
0.006124460604041815,
0.01272184681147337,
-0.015501168556511402,
-0.007071474567055702,
-0.03467506915330887,
0.004961829166859388,
-0.009042489342391491,
-0.003052077954635024,
-0.0036846138536930084,
0.01939230039715767,
0.0067410957999527454,
0.006057532038539648,
0.0367993600666523,
0.01848052255809307,
-0.033285729587078094,
-0.03689894452691078,
0.001612499705515802,
0.006764654535800219,
-0.044346340000629425,
0.03347575291991234,
0.006724340375512838,
0.02149108052253723,
-0.009692191146314144,
0.0052507673390209675,
-0.007941029965877533,
-0.04239530488848686,
0.01795905828475952,
0.024978110566735268,
-0.002251202939078212,
0.005507230758666992,
-0.012684543617069721,
0.033904269337654114,
-0.01890786923468113,
-0.01853037439286709,
0.0257100872695446,
0.05227513238787651,
0.025839069858193398,
-0.005644888151437044,
0.0253565963357687,
0.011293286457657814,
0.010982307605445385,
-0.01742596924304962,
0.042167648673057556,
0.013338521122932434,
0.044200826436281204,
-0.10358494520187378,
-0.017122989520430565,
0.006456358358263969,
0.04363613575696945,
-0.001217436045408249,
-0.014890373684465885,
0.03480406105518341,
-0.00918513908982277,
0.01739508844912052,
0.007042890414595604,
0.044391099363565445,
-0.016981469467282295,
0.03638067841529846,
0.04199118912220001,
0.04211194068193436,
0.012340309098362923,
-0.034678321331739426,
-0.006824137177318335,
0.032513201236724854,
0.04093564674258232,
-0.0034661428071558475,
0.043845176696777344,
-0.01459189597517252,
0.017845207825303078,
-0.012056794948875904,
0.014309617690742016,
0.009394538588821888,
0.019899841398000717,
0.07173525542020798,
-0.004071448929607868,
-0.017762433737516403,
-0.023416247218847275,
-0.03277219086885452,
0.03961442783474922,
-0.011810307390987873,
-0.02454409748315811,
-0.036648526787757874,
0.06968028098344803,
0.027026481926441193,
0.05589837208390236,
-0.0026284398045390844,
0.03070247545838356,
0.01952904462814331,
0.0011186322662979364,
0.02319754846394062,
0.047708526253700256,
-0.03176509588956833,
0.0196655485779047,
0.0313597097992897,
-0.04378969222307205,
-0.02589990384876728,
-0.03265932574868202,
-0.007083657663315535,
0.08722057193517685,
0.005778376013040543,
0.006445433013141155,
-0.013842446729540825,
0.015975195914506912,
0.0057645332999527454,
-0.0040832101367414,
-0.020247407257556915,
-0.005304891150444746,
0.014757286757230759,
-0.010535500012338161,
-0.04345119744539261,
0.019186856225132942,
0.00898384116590023,
0.010811146348714828,
-0.014005412347614765,
0.0173526331782341,
0.0013929858105257154,
0.02485986240208149,
0.02663893811404705,
0.014132431708276272,
0.01369172427803278,
0.0022078370675444603,
-0.04794689640402794,
-0.029312219470739365,
0.02081398293375969,
0.04082405939698219,
-0.016276417300105095,
-0.05803552642464638,
-0.025233319029211998,
-0.021359050646424294,
0.013540001586079597,
-0.02951943688094616,
-0.00803785864263773,
-0.028974376618862152,
0.025409160181879997,
0.027791913598775864,
0.03698965907096863,
-0.014126140624284744,
0.045684944838285446,
-0.01838134229183197,
-0.001617254107259214,
0.018640698865056038,
0.06063201650977135,
-0.00428394228219986,
0.04002140834927559,
0.03000933676958084,
0.013042786158621311,
-0.023282019421458244,
-0.0011025617131963372,
-0.0045840260572731495,
-0.03477606922388077,
0.006966480053961277,
-0.048711296170949936,
-0.018800122663378716,
0.008576265536248684,
0.04737519100308418,
0.0057284473441541195,
-0.015070323832333088,
0.006275248248130083,
-0.01075152587145567,
0.06157864257693291,
0.005213870666921139,
-0.021359898149967194,
-0.02808946743607521,
-0.03559698536992073,
0.03882652521133423,
-0.00941619835793972,
-0.007119119632989168,
-0.01709328405559063,
-0.015474515035748482,
0.021717730909585953,
0.020983967930078506,
0.00024672842118889093,
-0.01754065230488777,
-0.018257107585668564,
-0.013717413879930973,
-0.007782135158777237,
-0.021558450534939766,
-0.04560728371143341,
0.011725367046892643,
-0.0049126846715807915,
-0.014488939195871353,
-0.028889281675219536,
0.01594267599284649,
-0.023872805759310722,
-0.030795074999332428,
-0.004655002616345882,
-0.00496108690276742,
0.0006749239400960505,
-0.010835106484591961,
0.02201698161661625,
0.0005870718159712851,
-0.012295444495975971,
-0.0049092271365225315,
-0.011316669173538685,
0.05713646113872528,
0.01916525885462761,
-0.0149511294439435,
-0.03285856917500496,
0.009123721159994602,
0.047059863805770874,
-0.008245539851486683,
-0.013596443459391594,
0.026800671592354774,
-0.026129432022571564,
0.05029828101396561,
0.04230516776442528,
-0.02568204142153263,
-0.021395469084382057,
-0.02410762757062912,
0.018612613901495934,
-0.0027317272033542395,
0.017567502334713936,
-0.0035148945171386003,
-0.022364400327205658,
0.029982538893818855,
-0.024777192622423172,
0.014272109605371952,
0.02072032541036606,
-0.04421963915228844,
0.03092959150671959,
0.03838708996772766,
0.050877463072538376,
0.016326703131198883,
0.0002454924688208848,
0.03237516060471535,
-0.027813035994768143,
-0.022742729634046555,
0.004526964388787746,
-0.002263405593112111,
-0.0025870236568152905,
0.021082857623696327,
0.06718727201223373,
0.10860428959131241,
-0.0013180543901398778,
0.014942247420549393,
0.027653878554701805,
0.025316307321190834,
0.005079749971628189,
-0.07622338086366653,
-0.00637460732832551,
-0.03634680435061455,
0.04159817472100258,
0.002376838121563196,
0.009588719345629215,
-0.008415461517870426,
0.04460874944925308,
0.04477781802415848,
-0.04159030690789223,
-0.015147797763347626,
0.033069659024477005,
0.010091442614793777,
-0.031790900975465775,
-0.02801363170146942,
0.03663119673728943,
-0.027126913890242577,
-0.03584214299917221,
-0.026726366952061653,
-0.023468108847737312,
-0.02829253487288952,
0.006521653383970261,
-0.011575846932828426,
-0.021994460374116898,
0.03906445950269699,
0.019225627183914185,
0.008097732439637184,
0.002266990952193737,
-0.0037643371615558863,
-0.045222848653793335,
-0.025010373443365097,
0.06338517367839813,
-0.0071175722405314445,
-0.03854520246386528,
0.03275032714009285,
0.015646524727344513,
-0.019722431898117065,
-0.02937253750860691,
-0.04687171429395676,
-0.011160623282194138,
0.051164764910936356,
0.045519113540649414,
-0.021001504734158516,
-0.0291857048869133,
0.009771696291863918,
0.012751995585858822,
-0.022701090201735497,
-0.010724427178502083,
-0.06645750999450684,
-0.041638944298028946,
0.006758867297321558,
-0.06988529860973358,
0.014345471747219563,
0.06946808099746704,
-0.008453262969851494,
-0.015075168572366238,
-0.011414582841098309,
0.03268823400139809,
-0.009265100583434105,
0.019664226099848747,
0.030106384307146072,
0.01759910024702549,
0.05079379305243492,
0.01268820371478796,
-0.009494790807366371,
0.030166802927851677,
0.003088676603510976,
0.013757601380348206,
-0.03950091823935509,
0.021515801548957825,
0.02942526713013649,
-0.04328924044966698,
0.05704526975750923,
0.012386519461870193,
-0.0846090316772461,
-0.008455950766801834,
0.0015766728902235627,
0.0310980137437582,
-0.02054186351597309,
-0.040632642805576324,
0.024750789627432823,
-0.04372922331094742,
-0.03611629083752632,
-0.0056069763377308846,
0.06649325788021088,
0.01080966368317604,
0.03076425939798355,
0.007055609952658415,
0.039058245718479156,
0.06043107062578201,
0.012715239077806473,
-0.012247382663190365,
-0.0017091867048293352,
0.010527992621064186,
-0.006341947242617607,
0.019297735765576363,
-0.0049109687097370625,
0.011917424388229847,
-0.04721445217728615,
-0.012901281006634235,
-0.031163979321718216,
-0.05565018579363823,
0.04509531334042549,
0.016581779345870018,
-0.01979222148656845,
0.01712745986878872,
-0.04026484489440918,
0.04920569062232971,
0.053403183817863464,
0.016414310783147812,
0.003842064877972007,
0.023979974910616875,
0.006460762582719326,
0.012207817286252975,
0.01347029022872448,
-0.0030076676048338413,
-0.009710539132356644,
0.027987107634544373,
0.05026797577738762,
0.05249350890517235,
0.018663868308067322,
0.007757799234241247,
0.04392525926232338,
0.00758413365110755,
0.013555767014622688,
-0.01074304524809122,
0.04973575845360756,
0.020514728501439095,
0.04096096381545067,
-0.02744000405073166,
0.01317952573299408,
-0.044387929141521454,
-0.007474565412849188,
-0.031335022300481796,
-0.025576114654541016,
0.00855875201523304,
-0.05057079717516899,
-0.01857132278382778,
0.010654617100954056,
0.013106030412018299,
-0.031626082956790924,
0.018384290859103203,
0.03967618569731712,
-0.008588998578488827,
0.01081561204046011,
-0.03324694558978081,
-0.05223933979868889,
-0.03978710249066353,
0.002652981085702777,
-0.011893454007804394,
0.048527371138334274,
-0.020301956683397293,
0.008422781713306904,
0.026498451828956604,
-0.006750261411070824,
-0.0111431535333395,
-0.002258485881611705,
0.026438023895025253,
-0.022551756352186203,
-0.007908223196864128,
0.0029196233954280615,
-0.021396782249212265,
-0.01042199321091175,
0.045107968151569366,
-0.03321640565991402,
0.009084662422537804,
-0.02336997352540493,
0.03546313941478729,
0.06198940798640251,
0.034553222358226776,
0.010434410534799099,
-0.028355637565255165,
-0.05301849916577339,
-0.01793155074119568,
-0.02583201415836811,
0.030412636697292328,
-0.004650150891393423,
-0.010496287606656551,
0.01133012492209673,
-0.007296578958630562,
0.020053111016750336,
-0.00810893066227436,
-0.029581042006611824,
0.03921045362949371,
-0.019180644303560257,
-0.01595406047999859,
-0.003933281637728214,
0.0344962552189827,
-0.016074301674962044,
0.03738024830818176,
0.04839033633470535,
0.03464200720191002,
0.03348328918218613,
-0.04274371638894081,
0.0307539664208889,
-0.013236921280622482,
0.0569910854101181,
-0.02734319120645523,
-0.04251478239893913,
0.005311255343258381,
-0.003383221570402384,
0.014005729928612709,
-0.040956612676382065,
-0.009101931937038898,
-0.023729918524622917,
-0.024253524839878082,
-0.05057454854249954,
0.010254672728478909,
0.0005749452393501997,
0.04979284480214119,
-0.01055380329489708,
0.017429519444704056,
0.03187435120344162,
-0.011867432855069637,
-0.013817192055284977,
-0.025133274495601654,
-0.0002815144252963364,
0.013277108781039715,
0.023675305768847466,
-0.02343457005918026,
-0.020976893603801727,
0.007527173962444067,
-0.022464079782366753,
-0.031492143869400024,
0.032859139144420624,
0.025471217930316925,
-0.00020621511794161052,
-0.03663676232099533,
-0.02676861733198166,
0.02542528510093689,
0.027918608859181404,
0.010749224573373795,
0.01856873743236065,
0.0023833720479160547,
0.016384486109018326,
-0.03921191394329071,
-0.07916083186864853,
0.007653451059013605,
-0.004576005507260561,
-0.02711540088057518,
0.039058852940797806,
0.02044464461505413,
0.004009294789284468,
0.015470976941287518,
-0.00432429276406765,
0.02648196555674076,
0.02081153355538845,
-0.01100619975477457,
-0.020037733018398285,
0.012052171863615513,
0.05155251920223236,
-0.01961866207420826,
-0.03237093612551689,
0.03730544447898865,
-0.016398506239056587,
-0.02344471588730812,
-0.023177212104201317,
0.022827619686722755,
0.011925294995307922,
0.002294692676514387,
-0.000776837405283004,
-0.0074717155657708645,
0.016736116260290146,
0.05847860127687454,
-0.026697339490056038,
-0.0366242378950119,
0.02172095514833927
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | Inference speed (forward pass only) This benchmark measures only the prefill step, which corresponds to the forward pass during training. It was run on a single NVIDIA A100-SXM4-80GB GPU with a prompt length of 512. The model we used was meta-llama/Llama-2-13b-hf. with batch size = 1: |quantization |act_order|bits|group_size|kernel|Load time (s)|Per-token latency (ms)|Throughput (tok/s)|Peak memory (MB)| |-----|---------|----|----------|------|-------------|----------------------|------------------|----------------| |fp16|None |None|None |None |26.0 |36.958 |27.058 |29152.98 | |gptq |False |4 |128 |exllama|36.2 |33.711 |29.663 |10484.34 | |bitsandbytes|None |4|None |None |37.64 |52.00 |19.23 |11018.36 | with batch size = 16: |quantization |act_order|bits|group_size|kernel|Load time (s)|Per-token latency (ms)|Throughput (tok/s)|Peak memory (MB)| |-----|---------|----|----------|------|-------------|----------------------|------------------|----------------| |fp16|None |None|None |None |26.0 |69.94 |228.76 |53986.51 | |gptq |False |4 |128 |exllama|36.2 |95.41 |167.68 |34777.04 | |bitsandbytes|None |4|None |None |37.64 |113.98 |140.38 |35532.37 | From the benchmark, we can see that bitsandbyes and GPTQ are equivalent, with GPTQ being slightly faster for large batch size. Check this link to have more details on these benchmarks. | [
-0.032056622207164764,
-0.030100272968411446,
0.02807735837996006,
0.01042986661195755,
0.03601381182670593,
0.004256189335137606,
0.043271277099847794,
0.02505103312432766,
0.007269688416272402,
0.012847262434661388,
-0.03397081419825554,
-0.006114690098911524,
-0.023601477965712547,
0.0017187109915539622,
0.007735520135611296,
0.021199511364102364,
0.058444660156965256,
-0.04558699205517769,
0.02622274123132229,
-0.007654340472072363,
0.05327640846371651,
-0.001519002253189683,
0.10055289417505264,
-0.05722825601696968,
-0.021655481308698654,
0.019636180251836777,
0.010525108315050602,
-0.04332911968231201,
-0.019662030041217804,
-0.016732079908251762,
-0.05233145132660866,
-0.004931401927024126,
0.044612038880586624,
-0.02087165229022503,
0.07165773957967758,
-0.04132984206080437,
-0.05407482385635376,
0.07383070141077042,
0.10679492354393005,
0.0075563909485936165,
-0.012072695419192314,
-0.05100491642951965,
-0.02076796442270279,
0.04149722680449486,
-0.05933165177702904,
0.056937966495752335,
-0.061786577105522156,
0.008160935714840889,
-0.07764996588230133,
-0.0017188024939969182,
-0.09454106539487839,
0.027316724881529808,
-0.09661193937063217,
-0.018465805798768997,
0.07049643993377686,
0.06769432872533798,
-0.007609992288053036,
-0.053639527410268784,
-0.0011632564710453153,
-0.005529830232262611,
0.0614338144659996,
0.01214620377868414,
0.0273861326277256,
0.02319404110312462,
0.011789089068770409,
0.015963073819875717,
0.03166915476322174,
0.027839768677949905,
-0.05164465680718422,
-0.0339733250439167,
-0.04349139332771301,
-0.06693170219659805,
0.03980076685547829,
0.011898625642061234,
0.010344666428864002,
-0.019413573667407036,
0.042050376534461975,
-0.00884995050728321,
-0.004592312034219503,
0.0019390489906072617,
-0.014500722289085388,
0.0015774189960211515,
0.020696382969617844,
0.009889788925647736,
-0.010762060061097145,
0.06399992108345032,
0.045919205993413925,
-0.046437617391347885,
-0.017853407189249992,
0.03268997371196747,
-0.02504490502178669,
-0.07696237415075302,
-0.04584025964140892,
0.016908952966332436,
-0.04393293708562851,
-0.0023426925763487816,
0.031559403985738754,
0.022812360897660255,
-0.006609880365431309,
-0.0304996557533741,
0.01595234125852585,
-0.052268147468566895,
0.00036277124308981,
-0.06056131422519684,
-0.03526901826262474,
0.10123644769191742,
-0.044268105179071426,
-0.13528062403202057,
-0.061305638402700424,
0.02664496749639511,
-0.02210645191371441,
0.04091290012001991,
0.022101709619164467,
0.04378002882003784,
-0.13498295843601227,
-0.0010238146642223,
-0.07479716092348099,
-0.010696123354136944,
0.023554276674985886,
0.003134208032861352,
-0.005128158256411552,
0.07615383714437485,
0.07145998626947403,
-0.05846700817346573,
-0.007648456376045942,
0.08277681469917297,
0.07222095876932144,
0.0470074899494648,
0.014750374481081963,
0.014143386855721474,
0.03241793066263199,
-0.03540608659386635,
0.053998470306396484,
0.04320899024605751,
-0.04176228865981102,
-0.07416002452373505,
-0.07761766761541367,
-0.07299897074699402,
0.027951359748840332,
0.02276637777686119,
-0.03606685996055603,
-0.0018242577789351344,
0.03319387137889862,
-0.10139898210763931,
0.08168309926986694,
-0.03742949292063713,
-0.015433753840625286,
-0.005360396113246679,
0.01180143654346466,
-0.003782909829169512,
-0.1181737557053566,
0.06865046918392181,
0.007965468801558018,
-0.0641058161854744,
0.04664264991879463,
0.021731484681367874,
-0.03344149887561798,
-0.03818831220269203,
-0.11988730728626251,
-0.05300533026456833,
0.007045718841254711,
-0.007570591289550066,
0.003557660849764943,
-0.03576524928212166,
0.03422532603144646,
-0.0031019600573927164,
0.032117944210767746,
-0.0015468389028683305,
-0.014234928414225578,
0.0289516132324934,
0.012095998972654343,
0.0005702003836631775,
0.09317714720964432,
-0.056756969541311264,
-0.014107741415500641,
0.062380872666835785,
-0.04058143496513367,
0.0570923276245594,
0.03321187570691109,
-0.000665483414195478,
-0.016686946153640747,
0.06568033993244171,
-0.02985268644988537,
0.04501544311642647,
0.02285434678196907,
-0.12683263421058655,
0.012024050578474998,
-0.03869711980223656,
0.028405701741576195,
-0.03206402063369751,
-0.010656042024493217,
-0.0024071524385362864,
0.07976039499044418,
-0.06321699172258377,
0.025577979162335396,
-0.0601913183927536,
0.010749788023531437,
0.0027559762820601463,
0.04519641399383545,
0.019605234265327454,
0.05814780294895172,
0.0800846666097641,
0.036315396428108215,
-0.0004238361434545368,
-0.003816930577158928,
0.05286284536123276,
-0.018664201721549034,
-0.004716598894447088,
0.011636200360953808,
0.05196864902973175,
-0.010816868394613266,
-0.0826961025595665,
-0.030887098982930183,
0.00366124021820724,
0.0026499545201659203,
0.019892631098628044,
-0.010517239570617676,
-0.05168856680393219,
-0.0045784818939864635,
-0.059696972370147705,
0.1338873952627182,
-0.02545117773115635,
0.013085166923701763,
-0.046539515256881714,
-0.031063521280884743,
-0.006073648575693369,
0.04133747145533562,
0.018384944647550583,
0.0194147489964962,
-0.05720112472772598,
-0.03059377893805504,
-0.13938398659229279,
0.029802726581692696,
0.07727565616369247,
0.03799780085682869,
-0.07067645341157913,
-0.0076790121383965015,
-0.00816862192004919,
0.005976919084787369,
-0.03204848989844322,
-0.01039092056453228,
0.007976334542036057,
0.04498349130153656,
0.028581880033016205,
-0.00940556451678276,
-0.08969778567552567,
0.056054335087537766,
-0.019016385078430176,
-0.07119429111480713,
-0.026365023106336594,
-0.018637241795659065,
0.04647255316376686,
0.046197667717933655,
-0.04363645240664482,
0.04627827927470207,
0.021969815716147423,
-0.05095792934298515,
-0.02885848470032215,
-0.023590510711073875,
0.01970282942056656,
-0.008137532509863377,
-0.0029257191345095634,
-0.017083201557397842,
-0.019617818295955658,
0.008448071777820587,
-0.023421309888362885,
-0.009387985803186893,
-0.016187286004424095,
-0.04067375883460045,
0.02343006618320942,
0.01896924152970314,
-0.0070219943299889565,
0.004905620124191046,
0.02787548117339611,
-0.01990576460957527,
-0.012902364134788513,
0.005685488227754831,
-0.022706804797053337,
0.001526349107734859,
-0.03713022917509079,
0.02966850996017456,
-0.03318827971816063,
0.007818643003702164,
0.026751093566417694,
-0.002828785218298435,
0.014363870956003666,
-0.00008150403300533071,
-0.07643937319517136,
-0.027829503640532494,
0.02480863407254219,
0.02926231361925602,
0.041602712124586105,
0.011063273064792156,
-0.009032811969518661,
-0.020105041563510895,
0.023286666721105576,
0.011620626784861088,
-0.037923455238342285,
-0.0050016953609883785,
0.04178245738148689,
-0.0241458211094141,
0.008284060284495354,
-0.06032847985625267,
-0.013004443608224392,
0.008889397606253624,
0.00854931864887476,
-0.041666414588689804,
0.04979735612869263,
-0.08084644377231598,
0.017077097669243813,
0.009898233227431774,
0.04496153071522713,
-0.00808984600007534,
-0.030783848837018013,
0.029687246307730675,
-0.017528433352708817,
-0.010334468446671963,
0.022377118468284607,
0.007732818368822336,
0.019327571615576744,
-0.021815558895468712,
-0.009046240709722042,
-0.04206264019012451,
0.008329825475811958,
0.02458301931619644,
-0.024840423837304115,
0.020160648971796036,
0.010751341469585896,
0.014656338840723038,
-0.007715719752013683,
-0.014779122546315193,
0.012368196621537209,
-0.019175074994564056,
0.0340692475438118,
0.012722420506179333,
0.0011821020161733031,
0.040335848927497864,
-0.01056267786771059,
-0.031008919700980186,
-0.051472000777721405,
-0.015767421573400497,
0.03739859536290169,
-0.04364866018295288,
0.012060640379786491,
-0.04346737638115883,
0.020106902346014977,
0.0104172732681036,
0.024134019389748573,
0.02667553536593914,
-0.017907574772834778,
0.055069439113140106,
-0.0027548610232770443,
-0.010716880671679974,
0.03035074844956398,
0.03789093345403671,
-0.005069005768746138,
0.040928300470113754,
-0.0579645074903965,
-0.03304936736822128,
0.01807263493537903,
-0.010298765264451504,
0.06467603147029877,
-0.003106065094470978,
-0.010876539163291454,
0.013024531304836273,
0.010034320876002312,
0.028917750343680382,
-0.0462900847196579,
-0.04597556218504906,
0.0016631309408694506,
0.027428604662418365,
-0.008675127290189266,
-0.027011150494217873,
-0.02039233036339283,
0.022351866587996483,
0.007915397174656391,
-0.014014257118105888,
0.033811021596193314,
0.004682807717472315,
0.032858747988939285,
-0.013232182711362839,
0.008285491727292538,
-0.015256975777447224,
-0.020350806415081024,
-0.048092298209667206,
-0.009982477873563766,
0.041309744119644165,
0.04335113614797592,
0.02116556093096733,
0.02677667886018753,
-0.030185000970959663,
-0.01595081016421318,
0.008858666755259037,
-0.016226571053266525,
0.003551502013579011,
-0.04925190284848213,
0.04026243835687637,
0.00645019207149744,
0.018858280032873154,
-0.004998261108994484,
-0.009849617257714272,
-0.010527722537517548,
-0.014843991957604885,
-0.03442993387579918,
0.04021914303302765,
0.05076190456748009,
-0.02972629852592945,
0.04286034777760506,
0.046850696206092834,
-0.03377167880535126,
0.03919599950313568,
0.018462462350726128,
-0.08053046464920044,
0.01455356553196907,
0.02072194591164589,
-0.001810943940654397,
0.02136312797665596,
0.002104315208271146,
0.010057561099529266,
-0.019044598564505577,
0.07173143327236176,
0.00231695338152349,
0.01853851228952408,
0.06193564459681511,
-0.008225672878324986,
-0.005992006044834852,
0.002872107783332467,
0.01973063312470913,
-0.035435400903224945,
0.016488151624798775,
-0.02837030403316021,
-0.032485101372003555,
0.0726819708943367,
-0.019275600090622902,
0.0027607998345047235,
0.00767908850684762,
0.013450155034661293,
-0.0938621461391449,
-0.04358958825469017,
0.0008636475540697575,
0.05960511788725853,
0.0011205290211364627,
-0.010058960877358913,
-0.02646813914179802,
-0.03823132440447807,
0.006462015211582184,
0.007680282928049564,
-0.03817932307720184,
0.020418167114257812,
0.020945435389876366,
-0.015883708372712135,
-0.010039830580353737,
0.018409330397844315,
-0.010722031816840172,
0.015891414135694504,
-0.03232838585972786,
-0.005082713905721903,
0.06455439329147339,
0.06849576532840729,
-0.04067467525601387,
-0.06889857351779938,
-0.035791099071502686,
0.05176660791039467,
0.018719185143709183,
-0.0014970960328355432,
-0.009638912975788116,
0.03198558837175369,
-0.01666969060897827,
0.0002986260806210339,
-0.0066286250948905945,
-0.0374746136367321,
-0.0021015654783695936,
-0.02034987509250641,
0.011951143853366375,
-0.041121695190668106,
0.007026815786957741,
-0.015416228212416172,
-0.03687793388962746,
0.008827188052237034,
-0.020530633628368378,
-0.005322466138750315,
-0.009470125660300255,
0.04506659507751465,
0.0027131305541843176,
0.005590895190834999,
-0.04174671694636345,
0.011347830295562744,
0.011801306158304214,
-0.016668740659952164,
-0.02350231446325779,
0.06933813542127609,
-0.007032403722405434,
0.016037695109844208,
0.02377772331237793,
0.021404968574643135,
0.06549151241779327,
0.024446357041597366,
0.033788491040468216,
0.04913003742694855,
0.003456920152530074,
0.05252396687865257,
-0.08222881704568863,
0.019934726879000664,
-0.024318234995007515,
0.004630756564438343,
0.06319036334753036,
0.0016248458996415138,
-0.014647318050265312,
0.01478641014546156,
0.004389345645904541,
-0.012468568980693817,
-0.00296451966278255,
0.00963638722896576,
0.006011115852743387,
-0.003945497330278158,
-0.02915952354669571,
0.031436704099178314,
-0.004685322754085064,
0.004856093320995569,
0.013256797567009926,
-0.0008950463379733264,
0.013018988072872162,
0.030512096360325813,
-0.029848461970686913,
-0.039097875356674194,
0.08769262582063675,
0.012809144333004951,
0.024143312126398087,
-0.028791433200240135,
-0.005161954555660486,
-0.0009441854781471193,
-0.054086312651634216,
0.00020935579959768802,
-0.026789508759975433,
-0.009176465682685375,
-0.028152164071798325,
0.030360041186213493,
0.05786355584859848,
-0.044004011899232864,
-0.005003795027732849,
-0.0224077757447958,
0.027982130646705627,
0.021582866087555885,
0.040050674229860306,
-0.003279664320871234,
0.00800525676459074,
0.03555992618203163,
0.008099138736724854,
-0.0493711493909359,
0.03785192593932152,
-0.015788443386554718,
-0.03613073751330376,
-0.022529684007167816,
-0.020316822454333305,
0.04829986020922661,
-0.05399508774280548,
-0.011167163029313087,
0.07644443213939667,
-0.02651563659310341,
-0.020750701427459717,
0.050258126109838486,
0.021038904786109924,
0.039096713066101074,
0.024912633001804352,
0.004232486709952354,
-0.01074588019400835,
-0.006808665581047535,
-0.0010956884361803532,
0.03965647146105766,
-0.031040741130709648,
-0.0021403783466666937,
-0.001450390205718577,
-0.027921702712774277,
0.03221461921930313,
0.021606551483273506,
-0.03642590343952179,
0.015214545652270317,
0.02851891703903675,
0.00959247536957264,
-0.040862131863832474,
-0.0020029584411531687,
0.00026607958716340363,
-0.01643761619925499,
0.027794454246759415,
-0.023246176540851593,
0.06180429458618164,
-0.00554846553131938,
0.02373751997947693,
-0.006795767694711685,
0.0581926591694355,
0.05418320745229721,
-0.013141762465238571,
-0.007183225359767675,
-0.031216425821185112,
0.04886256158351898,
0.011109085753560066,
0.01974145695567131,
0.022793876007199287,
0.010325143113732338,
0.020864857360720634,
-0.007702874485403299,
0.01036511454731226,
-0.03999178484082222,
0.010289156809449196,
0.004883994348347187,
0.04310213401913643,
0.024850526824593544,
-0.044591840356588364,
0.06127357482910156,
0.006740903947502375,
0.0043668486177921295,
-0.007947517558932304,
-0.004907332360744476,
0.013662018813192844,
0.0024344741832464933,
-0.01599368080496788,
0.03021770343184471,
-0.010766242630779743,
-0.011581042781472206,
-0.0027187687810510397,
0.015932604670524597,
-0.0048770541325211525,
-0.021707842126488686,
-0.0011215360136702657,
0.02192692831158638,
-0.007541570346802473,
0.014349420554935932,
0.019259316846728325,
0.029838625341653824,
0.04825031757354736,
0.0015688133426010609,
-0.02785619907081127,
0.010641233995556831,
-0.013104449026286602,
0.023705165833234787,
0.0011148605262860656,
0.0067891646176576614,
-0.01569128781557083,
0.001477378304116428,
-0.004629769362509251,
0.021397385746240616,
-0.04953587427735329,
-0.029929354786872864,
-0.009910427033901215,
0.0005077997338958085,
-0.02275306172668934,
-0.0331522598862648,
-0.022946713492274284,
0.022840270772576332,
0.03943880274891853,
-0.011257917620241642,
0.038414135575294495,
0.019541818648576736,
0.014939742162823677,
0.049439411610364914,
-0.0249301940202713,
0.018121173605322838,
-0.04568634182214737,
0.019000906497240067,
0.016763348132371902,
-0.012308696284890175,
-0.010323693975806236,
-0.0043532052077353,
-0.03409015014767647,
0.032090671360492706,
-0.019867023453116417,
-0.021890947595238686,
-0.007364804856479168,
0.020282946527004242,
0.03586135432124138,
0.013076438568532467,
-0.015225261449813843,
-0.01914857141673565,
0.004100672900676727,
-0.041553497314453125,
-0.023979706689715385,
0.031234484165906906,
-0.002486203797161579,
-0.001751434407196939,
-0.016875222325325012,
0.027788395062088966,
-6.244584369596851e-7,
0.019609985873103142,
0.0017722920747473836,
0.048829469829797745,
-0.020363861694931984,
-0.021223535761237144,
-0.006957081612199545,
0.011205630376935005,
-0.01735527068376541,
0.015448062680661678,
0.05054344981908798,
-0.010257890447974205,
0.01086297258734703,
-0.01858159899711609,
-0.025686252862215042,
-0.05145566910505295,
-0.004247632343322039,
-0.02973337471485138,
-0.013490935787558556,
-0.050987470895051956,
0.027347607538104057,
0.023506931960582733,
0.03376610949635506,
-0.048493705689907074,
0.0007953433087095618,
-0.02968403324484825,
0.02511170320212841,
0.013945210725069046,
-0.010447440668940544,
0.04849966615438461,
0.007280443329364061,
0.04175065457820892,
-0.0074639408849179745,
-0.03743717446923256,
-0.01810184121131897,
-0.06619676202535629,
0.02789541706442833,
0.05414970591664314,
0.0015377644449472427,
0.0063607883639633656,
-0.02671545185148716,
0.04460272192955017,
-0.029578883200883865,
-0.03702550381422043,
-0.021215271204710007,
0.023407408967614174,
0.004885857924818993,
-0.007140080910176039,
0.015641706064343452,
0.006205291021615267,
0.001342601259239018,
0.0510527603328228,
0.03802165761590004,
0.025649623945355415,
-0.006734848953783512,
0.015545699745416641,
-0.054268013685941696,
0.015876326709985733,
0.05475101247429848,
0.012593191117048264,
0.013754022307693958,
0.025081194937229156,
0.07584051787853241,
0.050779469311237335,
0.017905524000525475,
0.00943847931921482,
0.0019648305606096983,
-0.012931265868246555,
-0.028956454247236252,
-0.0016171729657799006,
0.014384560286998749,
-0.037769611924886703,
-0.019586408510804176,
-0.02026672102510929,
-0.001717260805889964,
0.027493059635162354,
0.024173041805624962,
-0.0010477437172085047,
0.023300589993596077,
0.0309235081076622,
0.028546132147312164,
-0.035023484379053116,
0.0017696678405627608,
0.05420159921050072,
0.07012426108121872,
-0.054039422422647476,
0.04044758901000023
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | Hardware In the following benchmark, we will try different hardware to see the impact on the quantized model. We used a prompt length of 30 and we generated exactly 30 tokens. The model we used was meta-llama/Llama-2-7b-hf. with a NVIDIA A100: with a NVIDIA T4: with a Titan RTX: From the benchmark above, we can conclude that GPTQ is faster than bitsandbytes for those three GPUs. | [
0.03489069640636444,
-0.010724682360887527,
0.0009946859208866954,
0.031062953174114227,
-0.009000621736049652,
-0.013879154808819294,
-0.02295040711760521,
0.033078838139772415,
0.04026903957128525,
-0.04624605551362038,
-0.0028062614146620035,
0.03441399335861206,
-0.0072750188410282135,
0.006059315986931324,
-0.010308574885129929,
-0.00116211106069386,
0.018947076052427292,
-0.029639381915330887,
0.01576249860227108,
-0.006481590215116739,
0.05830151215195656,
-0.014043590985238552,
0.09538823366165161,
-0.04179338738322258,
-0.03044133260846138,
-0.03506418690085411,
0.013724144548177719,
-0.014648118987679482,
0.035629626363515854,
-0.01332071889191866,
-0.09068368375301361,
-0.01905512996017933,
-0.019762510433793068,
-0.009200789965689182,
0.06394824385643005,
-0.027866490185260773,
-0.10613958537578583,
0.09670943766832352,
0.055366385728120804,
-0.02900005131959915,
-0.02327428199350834,
-0.030211329460144043,
0.02485920675098896,
0.04627220705151558,
-0.0028271751943975687,
0.0694798156619072,
-0.04375078156590462,
0.004825234413146973,
-0.06788284331560135,
-0.07393655925989151,
-0.010676182806491852,
0.02461354061961174,
-0.05565834417939186,
0.021046916022896767,
0.057820629328489304,
0.011442913673818111,
-0.012748624198138714,
-0.07940248399972916,
-0.019188836216926575,
0.03254949301481247,
0.09661270678043365,
-0.08344430476427078,
0.03936532139778137,
-0.02350063994526863,
-0.008428703062236309,
-0.03400897979736328,
-0.03094523772597313,
0.011169355362653732,
-0.03912836313247681,
0.04731501638889313,
-0.000249287550104782,
0.031236205250024796,
-0.02253260649740696,
-0.04527535289525986,
-0.021328764036297798,
0.026160120964050293,
0.049856048077344894,
0.05090105161070824,
0.06032705307006836,
0.016281582415103912,
0.014818994328379631,
0.01632976531982422,
0.05027315020561218,
-0.01989560015499592,
0.014752320013940334,
0.061773356050252914,
0.011004981584846973,
-0.01889503002166748,
-0.07247009128332138,
0.042805228382349014,
-0.06009279564023018,
-0.07075188308954239,
-0.010415132157504559,
0.0009615814778953791,
-0.04211849719285965,
0.04830484837293625,
-0.009497208520770073,
0.005835396703332663,
-0.01876792684197426,
-0.023514658212661743,
0.055771566927433014,
-0.07222281396389008,
0.07793869078159332,
-0.0880998894572258,
0.0013899715850129724,
0.04387278109788895,
-0.0804990902543068,
-0.13455498218536377,
-0.02021474577486515,
0.0210999958217144,
-0.01346294954419136,
-0.0021737117785960436,
0.036684926599264145,
0.01028163731098175,
-0.018102480098605156,
0.034068513661623,
-0.08596846461296082,
-0.00044715599506162107,
0.03480761498212814,
0.08171018958091736,
0.05639679729938507,
0.06133502721786499,
0.03343862295150757,
-0.06914210319519043,
-0.0034937902819365263,
-0.012338201515376568,
0.09668280184268951,
-0.026580912992358208,
-0.008141339756548405,
-0.00991115253418684,
0.023943990468978882,
-0.04279142618179321,
0.029747048392891884,
0.005079322494566441,
-0.05116487294435501,
-0.08762110024690628,
-0.040465544909238815,
-0.08140160888433456,
-0.060061197727918625,
-0.026230327785015106,
-0.0464336983859539,
-0.03172172233462334,
0.014357583597302437,
-0.08799239248037338,
-0.016284041106700897,
-0.0546761155128479,
-0.055908773094415665,
0.0047340989112854,
-0.015993406996130943,
-0.044418513774871826,
-0.12335242331027985,
0.0475526824593544,
-0.0457366406917572,
-0.019558273255825043,
0.034538984298706055,
0.019358694553375244,
-0.010393324308097363,
0.014126644469797611,
-0.08824042230844498,
-0.04058832675218582,
-0.043672919273376465,
-0.049700699746608734,
0.04268144071102142,
-0.04594701901078224,
0.01060670055449009,
0.04132099449634552,
-0.015385078266263008,
0.01573939062654972,
-0.0239068865776062,
0.0075896685011684895,
0.021363306790590286,
0.040665365755558014,
0.08341719955205917,
-0.03474941477179527,
-0.016257215291261673,
0.08638244867324829,
0.06434798985719681,
0.020482458174228668,
0.04543432593345642,
-0.057423681020736694,
-0.03919985890388489,
-0.012531896121799946,
0.0003778281679842621,
0.0597037747502327,
0.04472699761390686,
-0.0960584506392479,
0.006719072815030813,
-0.012230816297233105,
-0.0017995540983974934,
-0.043626297265291214,
-0.014990787953138351,
-0.0034530465491116047,
0.10120885819196701,
0.041807711124420166,
0.014604268595576286,
-0.060559336096048355,
0.0008348031551577151,
0.04059358686208725,
0.04556192830204964,
0.04742651805281639,
-0.0035752642434090376,
0.019018810242414474,
0.07731680572032928,
-0.07172439992427826,
-0.08933256566524506,
-0.0077325738966465,
-0.06357326358556747,
0.04214739426970482,
-0.018096236512064934,
-0.00861907098442316,
0.02508116513490677,
-0.06184466555714607,
0.016600722447037697,
0.005876352544873953,
0.002888177055865526,
0.014270761981606483,
0.06771030277013779,
-0.028499770909547806,
0.02752353437244892,
-0.017552420496940613,
0.14506489038467407,
-0.018087686970829964,
0.03095490112900734,
-0.05264871567487717,
-0.030298128724098206,
0.09303662925958633,
-0.0440828911960125,
-0.0007578787044622004,
0.024254024028778076,
-0.08406593650579453,
-0.02238553576171398,
-0.14457541704177856,
-0.01386560220271349,
0.021812761202454567,
0.031234804540872574,
-0.056180115789175034,
-0.029772909358143806,
-0.0171669814735651,
0.08717420697212219,
-0.020178811624646187,
-0.03461247310042381,
0.0074488259851932526,
-0.03620413690805435,
0.03161429986357689,
-0.03659268096089363,
-0.01948341354727745,
0.022979004308581352,
-0.054281920194625854,
-0.04453630745410919,
-0.0457293763756752,
-0.10637971758842468,
-0.015657762065529823,
-0.0035148607566952705,
-0.011517942883074284,
0.018009113147854805,
-0.01560339704155922,
-0.0005673993146046996,
-0.01751861721277237,
-0.06450261920690536,
-0.03561931475996971,
-0.006791482679545879,
-0.000532097474206239,
-0.028123240917921066,
0.0000779614201746881,
0.024648819118738174,
-0.03333406150341034,
-0.03512560576200485,
-0.025462891906499863,
-0.04584456607699394,
-0.03760073333978653,
0.019150815904140472,
-0.009860869497060776,
0.01147552765905857,
0.006015954539179802,
-0.03004257194697857,
0.013868520967662334,
0.027836695313453674,
-0.024416359141469002,
-0.0007788744987919927,
0.012188115157186985,
0.041442666202783585,
0.005193663295358419,
0.036718182265758514,
0.004083638079464436,
-0.04800291731953621,
0.038454752415418625,
0.03467973694205284,
-0.06834901869297028,
-0.059530388563871384,
-0.01372187864035368,
0.013866397552192211,
0.012338009662926197,
-0.02333379164338112,
-0.025214292109012604,
0.022543538361787796,
0.0026303394697606564,
0.020303765311837196,
0.0344775952398777,
0.006053454242646694,
0.035912953317165375,
-0.0041528972797095776,
0.023510385304689407,
-0.030924074351787567,
-0.005402176640927792,
0.01151201594620943,
-0.017251955345273018,
-0.02594267763197422,
0.08146873116493225,
-0.06714815646409988,
0.013060111552476883,
-0.005861069541424513,
-0.001256018178537488,
-0.007212107535451651,
-0.031172435730695724,
0.043256767094135284,
0.00030193186830729246,
0.015154160559177399,
0.0035356709267944098,
0.003976945765316486,
0.007080332841724157,
-0.020829740911722183,
-0.007497955579310656,
0.007718156557530165,
0.04420899972319603,
-0.017263000831007957,
-0.0020562242716550827,
0.047094233334064484,
0.04784683883190155,
-0.009428394958376884,
-0.014007802121341228,
-0.021287625655531883,
-0.01562868058681488,
-0.012486517429351807,
-0.0029177884571254253,
0.041913826018571854,
-0.013489516451954842,
0.04532958194613457,
0.0021336576901376247,
-0.00849630031734705,
-0.05863511562347412,
0.01109914481639862,
0.05582452192902565,
0.012018153443932533,
-0.04770969599485397,
0.004307094495743513,
0.00465811975300312,
0.018441708758473396,
0.03665746748447418,
0.021126175299286842,
0.01507306843996048,
0.029685914516448975,
-0.011581184342503548,
0.012577543035149574,
0.03286601975560188,
0.01909572444856167,
0.03298097476363182,
0.00862470269203186,
-0.04602321982383728,
-0.024877717718482018,
0.019743584096431732,
-0.01543736457824707,
0.013061179779469967,
0.018839599564671516,
0.013204880058765411,
-0.02212715707719326,
0.01830987259745598,
0.002335932804271579,
-0.02249404788017273,
-0.040682353079319,
-0.006934879347681999,
0.06609072536230087,
-0.0066728536039590836,
-0.060115572065114975,
-0.008914909325540066,
0.003596121910959482,
-0.015462478622794151,
0.005343538708984852,
0.017986411228775978,
-0.005759426858276129,
0.0023617639672011137,
-0.0015165050281211734,
0.004437025636434555,
-0.018281664699316025,
0.03405826911330223,
-0.009402204304933548,
0.005359371658414602,
0.037661112844944,
0.009852905757725239,
0.024194199591875076,
-0.02588377334177494,
-0.019808266311883926,
-0.015313969925045967,
0.006463300436735153,
-0.02122807689011097,
-0.029232146218419075,
-0.011166012845933437,
0.014258289709687233,
0.026432832702994347,
0.02872317098081112,
-0.021856369450688362,
0.012837179005146027,
0.02369578927755356,
0.0048407139256596565,
-0.022673727944493294,
0.07921864837408066,
0.04222879931330681,
-0.013457945547997952,
0.06832239031791687,
0.046606697142124176,
-0.019020916894078255,
0.05378349870443344,
-0.038539815694093704,
-0.020912321284413338,
0.03426051139831543,
0.0021918783895671368,
0.017162468284368515,
0.028265006840229034,
0.03783567249774933,
0.004598620347678661,
-0.03150606527924538,
0.027694545686244965,
0.012845185585319996,
0.040375079959630966,
0.022512933239340782,
0.010010871104896069,
0.017158078029751778,
0.013535712845623493,
0.006581686902791262,
-0.020946238189935684,
0.016613949090242386,
-0.010905674658715725,
-0.020819462835788727,
0.03435404598712921,
0.01352530438452959,
-0.027876311913132668,
-0.025904839858412743,
-0.004411988891661167,
-0.0020190507639199495,
-0.019350724294781685,
-0.039680007845163345,
-0.02955874800682068,
0.021316561847925186,
0.03197503834962845,
0.029720302671194077,
-0.0800517201423645,
-0.023380421102046967,
0.0012127270456403494,
-0.004536216147243977,
0.012324482202529907,
0.015755733475089073,
-0.00838596560060978,
-0.026134919375181198,
0.03049781173467636,
0.040296778082847595,
0.035412903875112534,
-0.0065195620991289616,
-0.0175535436719656,
0.05778946354985237,
0.019170643761754036,
-0.048648178577423096,
-0.007269671186804771,
0.012945693917572498,
-0.0004255673266015947,
0.007711976300925016,
-0.004920520354062319,
-0.027706511318683624,
0.022441351786255836,
0.012244689278304577,
0.030425386503338814,
0.022235846146941185,
-0.01878633350133896,
0.013644819147884846,
0.015094978734850883,
0.011756827123463154,
0.0016934943851083517,
-0.010772153735160828,
-0.007308011408895254,
0.019034767523407936,
0.002997614908963442,
-0.005494650453329086,
-0.006843421142548323,
-0.0022141800727695227,
0.021544497460126877,
-0.0047289361245930195,
0.06630183011293411,
-0.03492548316717148,
0.04249297082424164,
0.024066261947155,
0.00003395707972231321,
-0.004456958267837763,
0.03168773651123047,
-0.021986020728945732,
0.03160631284117699,
0.020780393853783607,
0.027049459517002106,
0.08344680070877075,
-0.016238711774349213,
0.00970207154750824,
0.05797824636101723,
0.014671964570879936,
0.02277793362736702,
-0.06557682156562805,
0.023218128830194473,
-0.026950372382998466,
-0.0326576791703701,
0.026947660371661186,
0.004808146972209215,
-0.005898941773921251,
0.051173701882362366,
0.02504332736134529,
-0.01608913764357567,
0.00411423621699214,
-0.003467652713879943,
0.00618141982704401,
0.002581497421488166,
-0.016072599217295647,
0.04084625095129013,
-0.02363470196723938,
-0.02917773649096489,
0.018844222649931908,
-0.0674847960472107,
-0.03525206074118614,
0.0029315475840121508,
-0.016893431544303894,
0.0022885696962475777,
0.05829225480556488,
0.03699902445077896,
0.040903158485889435,
-0.05775649845600128,
-0.005214035976678133,
-0.01785316690802574,
-0.045440200716257095,
0.004066673573106527,
0.010559884831309319,
0.0021057778503745794,
0.0457480251789093,
-0.015450585633516312,
0.004414274822920561,
0.004476009402424097,
-0.05579068139195442,
-0.016850082203745842,
0.04264725372195244,
0.047783952206373215,
-0.012887277640402317,
-0.015076447278261185,
-0.018363332375884056,
0.006249905098229647,
0.02865905873477459,
-0.011399833485484123,
-0.014506218954920769,
-0.013945428654551506,
-0.03649510443210602,
-0.10380038619041443,
0.00692209554836154,
0.047324974089860916,
-0.012613367289304733,
-0.06442462652921677,
0.0046124025247991085,
0.008641021326184273,
-0.022976724430918694,
0.025747360661625862,
0.03315470740199089,
0.050543319433927536,
-0.0112651027739048,
0.015205319970846176,
-0.044899314641952515,
0.018615402281284332,
0.008820907212793827,
-0.0035890587605535984,
-0.008049381896853447,
-0.003500619437545538,
0.05813271179795265,
-0.02292417548596859,
0.03452780470252037,
0.03508521243929863,
-0.03389692306518555,
-0.013610128313302994,
0.024536550045013428,
-0.017596770077943802,
-0.009364688768982887,
-0.0057804640382528305,
0.023440402001142502,
-0.04843756929039955,
0.01620510406792164,
0.02837236411869526,
0.05269641429185867,
0.0058617135509848595,
0.03814173489809036,
0.014746771194040775,
0.05182649567723274,
0.06075261905789375,
0.008758438751101494,
-0.020153159275650978,
-0.01090318989008665,
0.023119818419218063,
-0.0020935337524861097,
0.056446272879838943,
-0.0027556223794817924,
-0.007834351621568203,
-0.01528310589492321,
-0.0023451882880181074,
-0.04226387292146683,
-0.03802892193198204,
0.03683676943182945,
0.014402761124074459,
-0.007157761603593826,
0.02908075600862503,
-0.028245912864804268,
0.06679553538560867,
-0.00996116641908884,
0.01895473152399063,
-0.03684991970658302,
0.03276140242815018,
-0.02368587628006935,
0.01627768948674202,
0.002589981071650982,
-0.00722938496619463,
-0.02648897096514702,
-0.003959120716899633,
-0.011292685754597187,
0.04502703249454498,
0.029321933165192604,
0.003272394649684429,
-0.00407713046297431,
-0.0010403855703771114,
0.02554740570485592,
0.008776440285146236,
0.009072731249034405,
0.05779772624373436,
0.05508199706673622,
-0.0005343373632058501,
0.022782444953918457,
0.019558027386665344,
0.027709607034921646,
0.01081760972738266,
-0.05048926919698715,
-0.010220754891633987,
-0.022136636078357697,
-0.005879103671759367,
0.014559818431735039,
-0.0023600650019943714,
-0.07007426768541336,
0.02440217323601246,
0.013628560118377209,
-0.032965123653411865,
0.024077268317341805,
-0.07036259025335312,
0.01863904856145382,
0.02206251211464405,
0.03160965070128441,
-0.04615997150540352,
0.017443614080548286,
-0.0007158566731959581,
0.04720250889658928,
0.01930021494626999,
0.005092073231935501,
-0.03066902607679367,
-0.022860592231154442,
-0.008235687389969826,
0.011201960034668446,
0.013155349530279636,
0.010429549030959606,
0.013924910686910152,
-0.03188386186957359,
0.05250755324959755,
-0.029917726293206215,
-0.023956110700964928,
-0.022095782682299614,
0.0696767047047615,
0.07705194503068924,
0.021629296243190765,
-0.030144132673740387,
-0.011903698556125164,
0.03535483777523041,
-0.04271567612886429,
-0.02803083322942257,
0.047548387199640274,
-0.01011886727064848,
-0.02448577992618084,
-0.015421073883771896,
-0.03040667437016964,
0.031060898676514626,
-0.023809943348169327,
0.02539772540330887,
0.03143686801195145,
-0.00962963979691267,
-0.01757970079779625,
-0.0020826682448387146,
0.03302997723221779,
0.011177250184118748,
0.023968135938048363,
0.019741104915738106,
-0.051868654787540436,
0.0011518541723489761,
0.008235928602516651,
0.030621429905295372,
-0.06048945337533951,
0.02375168725848198,
0.004877788946032524,
-0.025500481948256493,
0.0016277928370982409,
0.03517411649227142,
0.021322334185242653,
0.008152461610734463,
-0.03446786105632782,
-0.010240873321890831,
-0.06000586971640587,
0.05687909573316574,
0.045973628759384155,
-0.0035263162571936846,
0.03724783658981323,
0.0215632114559412,
0.03713644668459892,
-0.004682185128331184,
-0.031224293634295464,
-0.011388173326849937,
-0.018506508320569992,
-0.015664728358387947,
0.04382374882698059,
0.020625723525881767,
-0.0067359828390181065,
-0.022091764956712723,
0.003933080937713385,
-0.03200790286064148,
-0.01836944743990898,
0.0040019601583480835,
-0.0022553312592208385,
0.027498822659254074,
-0.002849398646503687,
-0.015125451609492302,
-0.005082970019429922,
0.010477141477167606,
0.04409722238779068,
0.08830337971448898,
0.0017599428538233042,
-0.02367274835705757,
-0.012383820489048958,
-0.030636347830295563,
0.019038690254092216,
-0.020330388098955154,
0.022110754624009132,
0.0030781622044742107,
0.02657759189605713,
0.027721405029296875,
0.030025655403733253,
-0.014084980823099613,
0.0260526854544878,
0.0010539420181885362,
0.012528516352176666,
0.02576356753706932,
0.0021157406736165285,
0.06295894086360931,
-0.031124286353588104,
-0.012573765590786934,
0.03198731318116188,
-0.011315247975289822,
-0.004487156867980957,
0.00650417897850275,
-0.03082164376974106,
0.010246328078210354,
0.03526349365711212,
0.03374221548438072,
-0.040602907538414,
0.01909787394106388,
0.012053059414029121,
0.025844452902674675,
-0.010743415914475918,
0.020963074639439583
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | What are the benefits of autoGPTQ? fast for text generation: GPTQ quantized models are fast compared to bitsandbytes quantized models for text generation. We will address the speed comparison in an appropriate section. n-bit support: The GPTQ algorithm makes it possible to quantize models up to 2 bits! However, this might come with severe quality degradation. The recommended number of bits is 4, which seems to be a great tradeoff for GPTQ at this time. easily-serializable: GPTQ models support serialization for any number of bits. Loading models from TheBloke namespace: https://huggingface.co/TheBloke (look for those that end with the -GPTQ suffix) is supported out of the box, as long as you have the required packages installed. Bitsandbytes supports 8-bit serialization but does not support 4-bit serialization as of today. AMD support: The integration should work out of the box for AMD GPUs! | [
-0.0012834375957027078,
-0.010078498162329197,
0.0505104660987854,
0.024980058893561363,
0.026640232652425766,
0.04063006862998009,
-0.008972330018877983,
0.07891396433115005,
0.015389818698167801,
-0.03701452165842056,
-0.1051281988620758,
0.030944617465138435,
-0.049838632345199585,
-0.008544416166841984,
-0.03240812197327614,
-0.02395585924386978,
0.05689634382724762,
-0.007811634801328182,
-0.054140716791152954,
-0.007980543188750744,
-0.019736986607313156,
-0.03247644007205963,
0.07127158343791962,
-0.0021286210976541042,
0.020640147849917412,
-0.07612945139408112,
-0.007482910994440317,
-0.020343706011772156,
0.015226233750581741,
-0.019867386668920517,
-0.11329937726259232,
-0.03413974866271019,
-0.04530458524823189,
0.02248835377395153,
0.07281617075204849,
-0.022568359971046448,
-0.10588021576404572,
0.043734051287174225,
0.0675605908036232,
-0.07555690407752991,
-0.011488612741231918,
-0.02768360823392868,
0.018666770309209824,
0.047032296657562256,
0.014464342035353184,
0.017879117280244827,
-0.07410728186368942,
0.0524756945669651,
-0.042436592280864716,
-0.0988994762301445,
-0.024085721001029015,
0.02930285409092903,
-0.10490921884775162,
0.04643996059894562,
0.059244703501462936,
0.04443962126970291,
0.010972640477120876,
-0.05952280014753342,
-0.03311681002378464,
0.0014348311815410852,
0.022703120484948158,
-0.08670629560947418,
0.010074314661324024,
0.054726794362068176,
0.015064531937241554,
-0.03417781740427017,
-0.11704300343990326,
-0.0095293540507555,
-0.025670556351542473,
0.03731673210859299,
-0.010027769021689892,
-0.012867575511336327,
-0.03280341625213623,
-0.086423359811306,
-0.04392680525779724,
-0.025448262691497803,
-0.039814457297325134,
0.024326132610440254,
0.04835677146911621,
0.004196787253022194,
0.043729957193136215,
0.04409153386950493,
0.05239149555563927,
0.006267978809773922,
0.0431140698492527,
0.0029261026065796614,
0.008745417930185795,
-0.059988170862197876,
-0.12254981696605682,
0.06318800896406174,
-0.024652065709233284,
-0.12366368621587753,
0.03126778081059456,
-0.029182206839323044,
-0.017420226708054543,
0.010005136951804161,
-0.00056765804765746,
-0.006735763046890497,
-0.009662884287536144,
0.03954059258103371,
0.0014984909212216735,
-0.03059740923345089,
0.026584124192595482,
-0.01958024874329567,
-0.04464738816022873,
0.03193524107336998,
-0.06777598708868027,
-0.13949136435985565,
0.0020955735817551613,
0.04535435140132904,
0.015058488585054874,
-0.0159944836050272,
0.020779607817530632,
0.022244730964303017,
-0.042454078793525696,
0.05166546255350113,
-0.037624944001436234,
0.0014798481715843081,
0.040868114680051804,
0.05682101845741272,
-0.02635142020881176,
0.035887014120817184,
0.0350540429353714,
-0.0054602543823421,
-0.011472504585981369,
-0.00021328564616851509,
0.05849512293934822,
-0.04063781723380089,
0.027069183066487312,
0.021279659122228622,
0.05519118532538414,
-0.02478591725230217,
0.004124605096876621,
-0.033616550266742706,
0.007345438469201326,
-0.053311046212911606,
-0.05509069934487343,
-0.1075902059674263,
-0.05851542204618454,
-0.015846077352762222,
-0.03335597366094589,
0.0592595599591732,
0.02543332614004612,
-0.06735873222351074,
-0.029600225389003754,
-0.0127872871235013,
-0.07734602689743042,
0.04936189949512482,
-0.06368720531463623,
-0.047318436205387115,
-0.12017076462507248,
0.01939021795988083,
-0.046643152832984924,
-0.07289450615644455,
0.00032281625317409635,
0.02221551351249218,
-0.053103577345609665,
0.05710965767502785,
-0.04384775832295418,
-0.040394268929958344,
-0.03233662247657776,
-0.08153965324163437,
-0.012096060439944267,
-0.04176291078329086,
0.012727080844342709,
-0.018060855567455292,
-0.04747147858142853,
0.05091242492198944,
-0.019001256674528122,
-0.001790303154848516,
0.04264954477548599,
-0.0005059087998233736,
0.09461184591054916,
-0.051213666796684265,
0.07453794777393341,
0.07212910801172256,
0.03592925891280174,
0.059957440942525864,
-0.014425555244088173,
-0.10543705523014069,
-0.05038467049598694,
-0.0013355762930586934,
0.013096988201141357,
0.054920949041843414,
0.029633909463882446,
-0.06796356290578842,
0.055711712688207626,
-0.014867957681417465,
-0.021718095988035202,
0.045492466539144516,
-0.019157901406288147,
-0.0024246384855359793,
0.08514539152383804,
0.026803232729434967,
0.004029190167784691,
-0.03851226717233658,
0.008754456415772438,
0.15728357434272766,
0.07664209604263306,
0.014600690454244614,
0.028097696602344513,
-0.026129553094506264,
0.04501190036535263,
-0.041220903396606445,
-0.036173831671476364,
0.02278894931077957,
-0.005538243800401688,
0.018886560574173927,
0.0026030265726149082,
-0.035125214606523514,
0.04771994799375534,
-0.06137077882885933,
0.0294481310993433,
-0.008260923437774181,
-0.014479202218353748,
-0.014731183648109436,
0.03209616616368294,
-0.014572856947779655,
0.04253475368022919,
-0.010089048184454441,
0.14526331424713135,
-0.021286986768245697,
-0.022695494815707207,
-0.04106049984693527,
0.012570153921842575,
0.06965257227420807,
0.0399249903857708,
0.029319295659661293,
0.036344125866889954,
-0.06320355832576752,
-0.023101644590497017,
-0.07421273738145828,
0.012373360805213451,
0.0010719207348302007,
0.0035087191499769688,
-0.041622016578912735,
0.016751300543546677,
-0.01652039960026741,
0.07492435723543167,
-0.017163146287202835,
-0.02577691525220871,
0.03811734914779663,
-0.00947889219969511,
0.0023474448826164007,
0.03403053805232048,
0.004266792442649603,
0.04970117658376694,
-0.011921047233045101,
-0.05340985953807831,
-0.030130978673696518,
-0.08512470871210098,
0.044847264885902405,
0.02350890263915062,
-0.04510243609547615,
0.032157305628061295,
-0.012603183276951313,
-0.002987456042319536,
0.005865187384188175,
-0.03382836654782295,
0.00888355914503336,
-0.02204781584441662,
-0.00479104882106185,
0.008184478618204594,
-0.010709607042372227,
0.03693324327468872,
-0.013790751807391644,
0.003370784455910325,
-0.006342562846839428,
0.004504768643528223,
-0.004909418523311615,
-0.00822846032679081,
0.012187578715384007,
0.025039827451109886,
0.00790966022759676,
-0.014804704114794731,
0.047413572669029236,
0.04669000580906868,
-0.005493284668773413,
-0.02584257163107395,
0.008430914022028446,
0.017596203833818436,
-0.025268813595175743,
0.01925426535308361,
0.0289787407964468,
-0.015580227598547935,
0.00824451632797718,
-0.003539333352819085,
-0.0717369019985199,
-0.059448376297950745,
0.018077537417411804,
-0.004305231384932995,
0.003012367757037282,
-0.03534605726599693,
-0.05050544813275337,
0.03800419718027115,
0.022049080580472946,
0.003259266261011362,
-0.0006663032690994442,
0.0026146864984184504,
0.02796931006014347,
0.032929979264736176,
0.007856455631554127,
0.018569665029644966,
0.020953619852662086,
0.007377704605460167,
0.02538156509399414,
-0.011227079667150974,
0.03342991694808006,
-0.08093567192554474,
-0.02523338980972767,
-0.0065076956525444984,
0.015323203057050705,
0.006029767449945211,
-0.01885821670293808,
0.05799608305096626,
-0.011239834129810333,
0.0038123757112771273,
0.0077796559780836105,
0.04845942184329033,
-0.03479743376374245,
0.01276464108377695,
-0.009967534802854061,
-0.00017692113760858774,
0.03963329270482063,
-0.04420696943998337,
0.003682361450046301,
0.029742179438471794,
0.02540556900203228,
0.0007143167313188314,
0.0063873338513076305,
0.0019805049523711205,
-0.002153342356905341,
-0.0008064275025390089,
-0.05132370442152023,
0.031199418008327484,
-0.016597269102931023,
0.03242645412683487,
0.002311907708644867,
-0.02340925671160221,
-0.007199305109679699,
0.016251858323812485,
0.0391148179769516,
0.01887003891170025,
-0.0561407096683979,
-0.004847838543355465,
0.056819554418325424,
0.02085147425532341,
0.03627993166446686,
0.0064557394944131374,
-0.029740436002612114,
0.05035970360040665,
-0.009162486530840397,
0.021803518757224083,
0.033653419464826584,
-0.011532232165336609,
0.03661813586950302,
0.033959634602069855,
0.008774610236287117,
-0.03488969802856445,
-0.029003605246543884,
0.018607081845402718,
0.019401218742132187,
0.029001446440815926,
-0.00835758913308382,
0.0005542277358472347,
0.008764902129769325,
0.004452770575881004,
-0.01309073343873024,
-0.02985941804945469,
-0.004150195047259331,
-0.0031911381520330906,
-0.0355253741145134,
-0.020247504115104675,
0.05075835809111595,
-0.007027626968920231,
0.0010857698507606983,
0.018909210339188576,
0.008756665512919426,
-0.006328354123979807,
0.004803461022675037,
0.023789314553141594,
0.006787853315472603,
-0.017071612179279327,
0.014442192390561104,
-0.0425027497112751,
-0.024964917451143265,
0.06453245133161545,
0.020664459094405174,
0.014632109552621841,
-0.04643835499882698,
-0.02198317088186741,
0.027468062937259674,
0.0041216714307665825,
-0.020801967009902,
-0.008811483159661293,
-0.018505865707993507,
0.018750185146927834,
0.022713573649525642,
0.03880179300904274,
-0.03267428278923035,
0.05758915841579437,
-0.003996409475803375,
-0.008874035440385342,
0.011377114802598953,
0.031828515231609344,
0.032274939119815826,
-0.016240045428276062,
0.05458706617355347,
0.012341613881289959,
-0.029852518811821938,
0.024377228692173958,
-0.026402512565255165,
-0.047614920884370804,
0.027210822328925133,
0.006452610250562429,
-0.0008635905687697232,
0.037774402648210526,
0.033275071531534195,
-0.025974739342927933,
-0.014332631602883339,
0.005311448127031326,
0.013015061616897583,
0.08025972545146942,
0.0008186039049178362,
-0.013411021791398525,
-0.011183902621269226,
-0.019557515159249306,
0.021472273394465446,
-0.002786684548482299,
0.026570294052362442,
-0.011437615379691124,
-0.022690147161483765,
0.021130690351128578,
0.03450468182563782,
-0.013913257047533989,
0.0006804990116506815,
0.0006649760762229562,
-0.039776209741830826,
-0.021484406664967537,
-0.051115866750478745,
-0.002560989698395133,
-0.012804187834262848,
0.019049204885959625,
0.011511054821312428,
-0.05269284173846245,
0.0032597717363387346,
-0.01829295977950096,
-0.04139014333486557,
-0.02004004828631878,
0.02014269307255745,
0.005156031809747219,
-0.03876907005906105,
-0.014422295615077019,
0.032000213861465454,
0.017577437683939934,
0.001220922451466322,
-0.025673357769846916,
0.04780399054288864,
0.03019193559885025,
-0.02738870680332184,
-0.021884692832827568,
0.02071418985724449,
0.03032311238348484,
-0.020132720470428467,
-0.020258042961359024,
-0.004517084453254938,
-0.004277313593775034,
0.010434492491185665,
0.04584342613816261,
0.025594091042876244,
-0.007752262521535158,
-0.018811233341693878,
0.04276162385940552,
0.02952084317803383,
0.04208991676568985,
-0.036190129816532135,
-0.01366008073091507,
-0.003635489149019122,
-0.023462992161512375,
0.026274532079696655,
0.004976069554686546,
-0.008131710812449455,
0.015061181969940662,
0.03282741457223892,
0.04281134158372879,
0.007108552381396294,
0.03389347717165947,
-0.012918218970298767,
-0.027401497587561607,
-0.008240984752774239,
0.006324912421405315,
-0.02569877915084362,
-0.01354235876351595,
0.03836645931005478,
0.0639919713139534,
0.11510523408651352,
-0.019391460344195366,
0.01338269840925932,
0.02186969295144081,
0.024210117757320404,
0.02491438202559948,
-0.03476262092590332,
0.0030987029895186424,
-0.02902466617524624,
0.00903837475925684,
-0.020101027563214302,
0.014247095212340355,
0.0016646392177790403,
0.04543454200029373,
0.04051993787288666,
-0.020266614854335785,
0.006505757104605436,
-0.0003838004486169666,
0.006059370934963226,
-0.015427886508405209,
-0.004532454535365105,
0.02263648435473442,
-0.0507819727063179,
0.0016403180779889226,
-0.00020595939713530242,
-0.006952089257538319,
-0.055210914462804794,
-0.00945615116506815,
0.0017174207605421543,
-0.030320454388856888,
0.0556480847299099,
0.015541699714958668,
0.016668900847434998,
-0.02276032045483589,
-0.012957708910107613,
-0.04262949898838997,
-0.01424406562000513,
0.024845264852046967,
-0.013592365197837353,
0.004720686469227076,
-0.016612907871603966,
0.007997860200703144,
-0.016626885160803795,
0.021217700093984604,
-0.002362522529438138,
0.003222885075956583,
-0.013556040823459625,
-0.005691010970622301,
-0.006328070070594549,
-0.02810911275446415,
0.011487656272947788,
0.015898559242486954,
-0.021174244582653046,
0.012720398604869843,
-0.03072616457939148,
-0.034068748354911804,
-0.007456344552338123,
-0.08414163440465927,
0.016195330768823624,
0.05098757892847061,
0.011071388609707355,
-0.058494746685028076,
0.02036711573600769,
0.04563451558351517,
-0.032269664108753204,
0.019833309575915337,
0.030100727453827858,
0.020064719021320343,
0.017300888895988464,
0.05345936119556427,
0.0020190083887428045,
0.013488122262060642,
0.02482392080128193,
0.002223293064162135,
-0.02806803584098816,
-0.007171075791120529,
0.0536552295088768,
-0.02601875364780426,
0.02638954296708107,
-0.009905027225613594,
-0.08899630606174469,
-0.009657341055572033,
0.035695936530828476,
-0.008240616880357265,
0.01500094123184681,
0.0042943223379552364,
0.05214017257094383,
-0.07006007432937622,
0.026815960183739662,
0.01843697763979435,
0.06081141158938408,
-0.006191730033606291,
0.03811580315232277,
0.016906222328543663,
0.059990108013153076,
0.052800994366407394,
-0.007930518127977848,
0.003509534988552332,
-0.028694642707705498,
0.0542927123606205,
-0.03042418137192726,
0.03151477128267288,
0.018446549773216248,
-0.008721109479665756,
-0.0328381210565567,
0.021798495203256607,
-0.014104626141488552,
-0.07914189249277115,
0.012483745813369751,
0.03147304803133011,
-0.018252436071634293,
0.03987016901373863,
-0.006887761875987053,
0.06900689750909805,
0.051004424691200256,
0.026664284989237785,
0.022225039079785347,
0.02454724721610546,
-0.03042019158601761,
0.009500387124717236,
0.0368233248591423,
-0.033017754554748535,
-0.013586967252194881,
0.020532570779323578,
0.03177235648036003,
0.03072570264339447,
0.011840968392789364,
0.047018714249134064,
-0.012036015279591084,
0.0251527838408947,
0.02443545311689377,
0.029327362775802612,
0.013721280731260777,
0.033164266496896744,
0.04237020015716553,
-0.010269133374094963,
0.03100079670548439,
-0.03853815048933029,
0.03811023384332657,
0.017510361969470978,
-0.015316003002226353,
-0.009140675887465477,
0.010538221336901188,
-0.006331802811473608,
0.02951742708683014,
0.00831606239080429,
-0.04923601821064949,
0.008104444481432438,
0.034240346401929855,
-0.00890818890184164,
0.052616577595472336,
-0.04683927819132805,
-0.017996273934841156,
-0.010594767518341541,
0.000018185119188274257,
-0.03544984385371208,
0.05292655900120735,
-0.01572909764945507,
0.03526609018445015,
0.01661367155611515,
0.025435376912355423,
0.004620011895895004,
0.0009618628537282348,
0.012761513702571392,
0.029951805248856544,
-0.016132274642586708,
0.0167174581438303,
-0.021590450778603554,
-0.03530021756887436,
0.025316031649708748,
-0.033502914011478424,
0.007459361106157303,
-0.00803717877715826,
0.06160726770758629,
0.048060301691293716,
0.0653185173869133,
-0.0210846196860075,
-0.009906659834086895,
-0.004130840767174959,
-0.04339434206485748,
-0.02569589763879776,
0.03596181422472,
-0.0035163522697985172,
-0.04053380340337753,
-0.02646566741168499,
-0.051202524453401566,
0.024667972698807716,
-0.019625894725322723,
0.002732333727180958,
0.06096659600734711,
0.018872547894716263,
-0.017411625012755394,
0.006621643900871277,
0.04643574357032776,
-0.0070860730484128,
0.018572576344013214,
0.017820371314883232,
-0.007008981890976429,
-0.016244040802121162,
-0.02841263636946678,
0.03615420311689377,
-0.03298914059996605,
0.030229052528738976,
-0.026810795068740845,
-0.033317647874355316,
-0.006554171908646822,
0.009402857162058353,
0.026769721880555153,
-0.015895040705800056,
-0.04413028806447983,
-0.030581334605813026,
-0.020585717633366585,
0.029406355693936348,
0.011791973374783993,
-0.007175919134169817,
0.023394327610731125,
0.010655094869434834,
-0.017446182668209076,
0.020373882725834846,
-0.015495030209422112,
-0.009685960598289967,
-0.004461944568902254,
0.019864553585648537,
0.05905994400382042,
0.03355666622519493,
-0.018398670479655266,
-0.020675290375947952,
-0.029231589287519455,
-0.013577702455222607,
-0.030494965612888336,
0.028764178976416588,
0.018284350633621216,
-0.003836564952507615,
0.006124373525381088,
-0.01122142095118761,
0.04789162799715996,
0.007357949391007423,
-0.010021519847214222,
0.018811507150530815,
0.0042265718802809715,
-0.000773076550103724,
-0.01460042130202055,
-0.06519093364477158,
0.003847486572340131,
-0.007698696572333574,
0.009324110113084316,
0.05323059856891632,
-0.02836509421467781,
0.013555369339883327,
0.027391761541366577,
0.003793861949816346,
0.022028649225831032,
0.00662647420540452,
-0.011430032551288605,
-0.012774470262229443,
0.025287099182605743,
0.07125953584909439,
-0.01685837097465992,
0.018120409920811653,
0.0070011368952691555,
-0.019936807453632355,
-0.009430677630007267,
-0.030401770025491714,
-0.024139627814292908,
-0.003900950076058507,
0.007036392576992512,
0.007314371410757303,
0.012315004132688046,
0.011467685922980309,
0.03695926070213318,
0.002112854504957795,
-0.0358133465051651,
-0.03287794440984726
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | Resources - GPTQ blogpost – gives an overview on what is the GPTQ quantization method and how to use it. - bistandbytes 4-bit quantization blogpost - This blogpost introduces 4-bit quantization and QLoRa, an efficient finetuning approach. - bistandbytes 8-bit quantization blogpost - This blogpost explains how 8-bit quantization works with bitsandbytes. - Basic usage Google Colab notebook for GPTQ - This notebook shows how to quantize your transformers model with the GPTQ method, how to do inference, and how to do fine-tuning with the quantized model. - Basic usage Google Colab notebook for bitsandbytes - This notebook shows how to use 4-bit models in inference with all their variants, and how to run GPT-neo-X (a 20B parameter model) on a free Google Colab instance. - Merve's blogpost on quantization - This blogpost provides a gentle introduction to quantization and the quantization methods supported natively in transformers. | [
0.04364008456468582,
-0.0581001378595829,
0.011413811706006527,
0.05941382795572281,
0.07151644676923752,
0.03370164334774017,
0.00011648843792499974,
0.07423439621925354,
0.03590823709964752,
0.028217431157827377,
-0.04810825362801552,
0.0485713891685009,
-0.03634888678789139,
0.04347497597336769,
0.030809374526143074,
-0.009415769949555397,
0.04847942292690277,
-0.01771942712366581,
0.02066025882959366,
0.01294685434550047,
0.019034745171666145,
-0.03031991422176361,
-0.0020516393706202507,
0.0009409500053152442,
0.059215132147073746,
-0.06520609557628632,
0.04248310625553131,
0.03463629260659218,
-0.030864529311656952,
0.04844917729496956,
-0.07867713272571564,
0.013024473562836647,
-0.03500133752822876,
-0.01189481746405363,
-0.0023664466571062803,
-0.014727064408361912,
-0.09998653829097748,
0.006111952941864729,
0.001155752339400351,
-0.043517544865608215,
0.02521119825541973,
-0.04341135919094086,
0.01244387961924076,
0.06795407086610794,
0.03266039863228798,
-0.0040487367659807205,
-0.1244463175535202,
0.055142246186733246,
-0.06737349927425385,
-0.12887877225875854,
0.028331218287348747,
0.05458585172891617,
-0.0312536247074604,
-0.009717187844216824,
0.032511256635189056,
0.004898234270513058,
0.01560079026967287,
-0.09465207904577255,
-0.043177224695682526,
-0.0026546362787485123,
0.08292648196220398,
-0.07200165838003159,
-0.008465191349387169,
0.058742087334394455,
0.03326382115483284,
0.03074510395526886,
-0.05739728733897209,
0.04106735438108444,
-0.034797873347997665,
0.04068058356642723,
-0.0067059812135994434,
0.017062384635210037,
-0.03418249636888504,
-0.05218278616666794,
-0.06482946872711182,
-0.020496729761362076,
-0.0009642366785556078,
0.025241117924451828,
0.06240202113986015,
0.0461617037653923,
-0.03858395293354988,
-0.020168257877230644,
0.09797525405883789,
0.03946922719478607,
0.06663531064987183,
0.039781562983989716,
0.02372126094996929,
0.00852715503424406,
-0.0809246152639389,
0.0808769091963768,
-0.01851418986916542,
-0.1827748417854309,
-0.027513982728123665,
-0.033979326486587524,
-0.011370965279638767,
-0.0416463166475296,
0.029127374291419983,
0.016263965517282486,
0.018438180908560753,
-0.04131726548075676,
-0.027229763567447662,
-0.006262871902436018,
0.016335956752300262,
-0.012039772234857082,
-0.04052283614873886,
0.03201810270547867,
-0.039656829088926315,
-0.11873062700033188,
-0.03597889468073845,
0.05699170008301735,
0.000708834151737392,
-0.0053735231049358845,
0.01732126623392105,
0.06802703440189362,
-0.06422895193099976,
0.038661979138851166,
-0.02337132766842842,
0.034463174641132355,
-0.002853808691725135,
0.0805806815624237,
-0.03499786555767059,
0.08854512125253677,
0.05909198522567749,
-0.03029743954539299,
-0.007754461374133825,
-0.03247590363025665,
0.02532656118273735,
-0.05606292560696602,
-0.010385273955762386,
-0.015006493777036667,
0.04343469440937042,
-0.04480326548218727,
0.063217394053936,
-0.07312598824501038,
0.005802421364933252,
-0.09292538464069366,
-0.019320080056786537,
-0.08815882354974747,
-0.0839821994304657,
-0.018713701516389847,
0.026403022930026054,
0.06382816284894943,
-0.003028529928997159,
-0.029628844931721687,
0.018931429833173752,
-0.036410871893167496,
-0.09573511779308319,
0.059265073388814926,
-0.022945493459701538,
0.01659913919866085,
-0.07198541611433029,
0.0631752610206604,
-0.03532624989748001,
-0.08365175127983093,
0.00959125068038702,
-0.0038110967725515366,
-0.020762169733643532,
0.015602369792759418,
-0.0783427357673645,
-0.03580644726753235,
-0.046399202197790146,
-0.09493705630302429,
0.03281213715672493,
-0.009638623334467411,
0.008723050355911255,
-0.0030590584501624107,
-0.01860641874372959,
0.042087338864803314,
-0.01866690255701542,
0.04942956194281578,
0.025446416810154915,
-0.01482941024005413,
0.05792122706770897,
-0.039431169629096985,
-0.01510806567966938,
0.017504511401057243,
0.03102853149175644,
0.030676336959004402,
0.004494917578995228,
-0.05428946390748024,
-0.028275465592741966,
-0.013524294830858707,
0.00911505613476038,
0.051649756729602814,
0.035640306770801544,
-0.05465234816074371,
0.037428174167871475,
-0.050069332122802734,
0.03492726758122444,
0.015681011602282524,
-0.035695288330316544,
-0.01233031414449215,
0.060966432094573975,
-0.020059116184711456,
0.055965326726436615,
-0.034552138298749924,
-0.0096069211140275,
0.10795602202415466,
0.047710731625556946,
-0.01096006203442812,
0.021890930831432343,
-0.027352605015039444,
0.042737580835819244,
-0.06302078068256378,
0.008025876246392727,
0.04351137951016426,
0.05949092283844948,
0.013204281218349934,
0.02469494566321373,
-0.011613520793616772,
-0.012430883012712002,
-0.07535438984632492,
-0.004985169041901827,
0.00038533774204552174,
0.0674000009894371,
-0.015918798744678497,
-0.0029842588119208813,
0.0331556461751461,
0.027037300169467926,
-0.03654017299413681,
0.14616815745830536,
-0.031239276751875877,
0.001967879943549633,
-0.002541951835155487,
-0.004593551624566317,
0.002927503315731883,
0.07092474400997162,
0.008987612091004848,
0.07026978582143784,
-0.021599892526865005,
0.0004903412191197276,
-0.055335309356451035,
0.041413139551877975,
0.05694960802793503,
0.012858683243393898,
-0.05133213847875595,
-0.08010967075824738,
-0.01588989794254303,
0.0644216313958168,
-0.04624795913696289,
-0.0056480346247553825,
0.0761018618941307,
-0.023147081956267357,
0.0034076019655913115,
-0.006165926810353994,
-0.006969227455556393,
0.07424377650022507,
0.002098824828863144,
0.021262645721435547,
-0.052619416266679764,
-0.07361502200365067,
0.00031569579732604325,
-0.0143883703276515,
-0.0419231541454792,
0.03753814473748207,
0.022759530693292618,
0.03377240523695946,
0.00998841691762209,
-0.05382603406906128,
0.015832897275686264,
-0.007724956143647432,
0.02167411893606186,
-0.00391754973679781,
-0.018860649317502975,
0.000589538540225476,
0.005475012119859457,
-0.045172225683927536,
0.026624435558915138,
0.005816348362714052,
-0.028141936287283897,
-0.018864845857024193,
-0.007153692189604044,
0.0398092120885849,
0.013743629679083824,
0.007380918599665165,
0.017718879505991936,
0.019739968702197075,
-0.0015871927607804537,
-0.016363058239221573,
0.015060140751302242,
0.022602904587984085,
-0.01180375274270773,
0.0003459215513430536,
0.008768752217292786,
-0.015564368106424809,
0.006844895426183939,
-0.010467024520039558,
-0.0626087561249733,
-0.023485174402594566,
0.007602441590279341,
-0.01777690276503563,
0.032401688396930695,
-0.006518297828733921,
-0.043633293360471725,
0.02359825372695923,
0.02914958819746971,
-0.02437243051826954,
0.015340213663876057,
0.012993971817195415,
0.03490600362420082,
-0.01340463850647211,
-0.0006018559215590358,
0.011099979281425476,
0.0011010044254362583,
0.0018947853241115808,
0.03241884708404541,
0.006212835665792227,
0.04831228405237198,
-0.09542163461446762,
-0.036942947655916214,
-0.004968958906829357,
0.07066194713115692,
0.0019535187166184187,
-0.05036788806319237,
0.06107337027788162,
-0.026197705417871475,
-0.03655049204826355,
-0.003398437984287739,
0.023991219699382782,
-0.01641203463077545,
-0.005473163910210133,
-0.007522185333073139,
-0.004483968485146761,
0.007675391621887684,
-0.02496807649731636,
0.00604849960654974,
0.016291985288262367,
0.05018683895468712,
-0.041810542345047,
0.06780482828617096,
0.003577051218599081,
-0.015868932008743286,
0.028602000325918198,
0.0063211508095264435,
0.008947891183197498,
0.044440820813179016,
0.02920425496995449,
0.00965491309762001,
0.009147198870778084,
-0.005156100261956453,
-0.02348916046321392,
0.04913090541958809,
0.026822859421372414,
-0.0034532956779003143,
-0.01851625367999077,
-0.010741937905550003,
-0.015513393096625805,
0.05139923840761185,
0.015199501067399979,
0.03786265850067139,
0.028317376971244812,
-0.02967563457787037,
0.004698676522821188,
0.03658356890082359,
-0.019540881738066673,
0.028902102261781693,
0.011125699616968632,
-0.010329962708055973,
-0.04625462368130684,
-0.005613577552139759,
-0.02800605073571205,
0.020138978958129883,
0.012417323887348175,
-0.028990713879466057,
0.001979854889214039,
0.006576303858309984,
0.03623387962579727,
0.0010400061728432775,
-0.03753838688135147,
0.024104103446006775,
0.023092932999134064,
-0.028532207012176514,
-0.04914712905883789,
0.02710064873099327,
0.015922075137495995,
0.006887756288051605,
-0.006370663642883301,
0.0014975436497479677,
-0.013589776121079922,
0.01825983077287674,
0.00047953618923202157,
0.011487026698887348,
-0.014012047089636326,
0.05460371449589729,
-0.04151277616620064,
0.004447506740689278,
0.085793636739254,
0.002543017966672778,
-0.018757078796625137,
-0.03191247209906578,
-0.01764020323753357,
0.014507763087749481,
-0.015792669728398323,
-0.014028314501047134,
0.0006820419803261757,
-0.04127832502126694,
0.006555299740284681,
0.010256858542561531,
0.04220481589436531,
-0.016406510025262833,
0.006438213866204023,
0.006706969812512398,
-0.007269455119967461,
0.022919246926903725,
0.054073117673397064,
0.025369929149746895,
-0.0029038565699011087,
0.013374275527894497,
0.033396005630493164,
-0.04222120717167854,
0.007816757075488567,
-0.02637488581240177,
-0.017238285392522812,
0.0012682951055467129,
-0.009575334377586842,
-0.022234564647078514,
-0.013547278940677643,
0.04026557132601738,
0.03543318435549736,
-0.019457129761576653,
-0.03854721412062645,
0.03291957452893257,
0.05994868278503418,
-0.008848888799548149,
-0.00980820320546627,
-0.02115318737924099,
0.011205241084098816,
0.01308365911245346,
-0.02956082485616207,
0.014696594327688217,
-0.014940530993044376,
0.0021335757337510586,
0.01800064742565155,
0.019176507368683815,
-0.018288053572177887,
-0.00208554370328784,
-0.024353958666324615,
0.006946902722120285,
-0.004887502174824476,
-0.0553952120244503,
-0.018445730209350586,
-0.0017962837591767311,
-0.00594884529709816,
0.020532550290226936,
-0.0370749905705452,
0.024952318519353867,
-0.01951371319591999,
-0.048701733350753784,
-0.009340409189462662,
0.01280891615897417,
0.03412260487675667,
-0.05069713667035103,
0.015142516233026981,
0.010504601523280144,
0.0012413366930559278,
-0.0222714114934206,
-0.018198907375335693,
0.0126772690564394,
0.04891470447182655,
-0.05172400176525116,
-0.027834391221404076,
0.010256084613502026,
0.020722990855574608,
-0.019198302179574966,
0.047968022525310516,
0.01144343987107277,
0.013650958426296711,
0.04769568145275116,
0.06922385096549988,
0.04873032495379448,
-0.04980664327740669,
-0.011244944296777248,
0.028632747009396553,
0.008438331075012684,
-0.023882867768406868,
-0.05039529129862785,
-0.02110123634338379,
0.011603510938584805,
-0.01957307755947113,
-0.004770897328853607,
0.0367552749812603,
-0.012170227244496346,
0.007116304710507393,
0.03477325290441513,
0.010325558483600616,
-0.012283413670957088,
0.027878673747181892,
-0.016938889399170876,
-0.019274447113275528,
-0.03861497342586517,
0.035213202238082886,
-0.012484372593462467,
0.0009688750142231584,
0.021221071481704712,
0.024208420887589455,
0.08253569900989532,
-0.00457354262471199,
0.000329556263750419,
0.03135747089982033,
0.010744231753051281,
0.02062239870429039,
-0.02304568886756897,
-0.001427121227607131,
-0.010940027423202991,
-0.006790774874389172,
0.00018820760305970907,
-0.04681255295872688,
-0.0216672345995903,
0.013609860092401505,
0.03928275406360626,
-0.023281294852495193,
0.010285813361406326,
0.03387288376688957,
-0.004005081951618195,
-0.014275530353188515,
-0.011943111196160316,
0.034877486526966095,
-0.04140552505850792,
0.010244819335639477,
0.0031451599206775427,
-0.008859849534928799,
-0.06816653907299042,
0.024118022993206978,
-0.020123200491070747,
-0.016081206500530243,
0.019825052469968796,
0.05626419559121132,
0.014410853385925293,
-0.04562884569168091,
-0.020368173718452454,
0.021632835268974304,
0.010762416757643223,
0.03436516225337982,
-0.004776607733219862,
0.010462448000907898,
0.02574421465396881,
0.002208260353654623,
0.015849605202674866,
0.018982715904712677,
-0.02350909449160099,
-0.03939845412969589,
0.0222296342253685,
-0.011510581709444523,
-0.019488831982016563,
-0.05626324191689491,
0.01515210047364235,
0.013050999492406845,
0.002039134968072176,
-0.012729334644973278,
-0.05992962047457695,
-0.0109481206163764,
-0.00871568825095892,
-0.07477077096700668,
-0.0022536779288202524,
0.068712517619133,
0.015203512273728848,
0.0021838678512722254,
-0.02670416794717312,
0.037884823977947235,
-0.0013575376942753792,
0.04266487807035446,
0.02836412750184536,
0.01013738289475441,
0.03402785584330559,
0.07469318807125092,
-0.007713341619819403,
0.03557167947292328,
0.0368778221309185,
0.02215682901442051,
-0.029806777834892273,
0.038539331406354904,
0.048031460493803024,
-0.012562577612698078,
0.022850606590509415,
-0.014978993684053421,
-0.0755196288228035,
-0.03050299920141697,
0.025615030899643898,
0.038212768733501434,
0.03097415901720524,
-0.01425960473716259,
0.045568861067295074,
-0.011128597892820835,
-0.029780954122543335,
0.002765594283118844,
0.057665757834911346,
-0.009541201405227184,
0.002053211210295558,
0.01450951024889946,
0.0066237119026482105,
0.05147363990545273,
0.003049388062208891,
0.020480481907725334,
-0.009441213682293892,
0.05336698517203331,
0.0006476143025793135,
0.007403017953038216,
0.023463960736989975,
-0.015611673705279827,
-0.010880433022975922,
-0.0008206319180317223,
-0.04047204554080963,
-0.0641283243894577,
0.005447080824524164,
0.04331792891025543,
-0.021951798349618912,
0.03128170222043991,
-0.03838367387652397,
0.05691058561205864,
0.06342119723558426,
0.020755108445882797,
-0.01160191185772419,
0.023992668837308884,
0.004939649254083633,
0.00857680756598711,
0.008948739618062973,
-0.02762402594089508,
-0.002659466117620468,
0.006890003569424152,
0.06772925704717636,
0.019555378705263138,
0.024170590564608574,
0.015425119549036026,
-0.025189043954014778,
-0.0004628071910701692,
0.019129393622279167,
-0.014119123108685017,
0.008520608767867088,
0.03938586264848709,
-0.003570917062461376,
0.04422391951084137,
0.02531914785504341,
-0.05991155281662941,
0.022498777136206627,
0.023677082732319832,
-0.020339099690318108,
-0.022362636402249336,
-0.013472000136971474,
0.0060074711218476295,
0.012463455088436604,
0.025226350873708725,
-0.06664986908435822,
-0.006801621988415718,
-0.0026556660886853933,
-0.02142145112156868,
0.010176077485084534,
-0.02804114855825901,
-0.013896794058382511,
-0.028336837887763977,
-0.034146904945373535,
-0.04273800551891327,
0.031670670956373215,
-0.023974817246198654,
0.008956904523074627,
0.03515489771962166,
0.0015777484513819218,
-0.030156048014760017,
-0.005739869084209204,
0.015480452217161655,
0.005559103097766638,
-0.040461666882038116,
0.03774230554699898,
-0.02700468711555004,
-0.05128210037946701,
0.031362880021333694,
-0.03898654878139496,
0.02072850987315178,
-0.022433148697018623,
0.0471687912940979,
0.045746393501758575,
0.05512147769331932,
-0.027825774624943733,
-0.04218914732336998,
0.05149729922413826,
-0.017516175284981728,
-0.04632365331053734,
-0.01363616343587637,
-0.009581218473613262,
0.005033090710639954,
-0.009779870510101318,
-0.0019371573580428958,
0.06261654943227768,
0.004333009477704763,
0.016060587018728256,
0.018072733655571938,
0.0051597594283521175,
-0.011288238689303398,
-0.024383999407291412,
0.052835673093795776,
-0.010871854610741138,
-0.01476056594401598,
0.03213365748524666,
0.0010579415829852223,
-0.001653551822528243,
-0.016079196706414223,
0.027031300589442253,
-0.03507053107023239,
-0.0005996657419018447,
-0.022668741643428802,
-0.03553899750113487,
-0.021756090223789215,
0.04098239913582802,
0.02303079515695572,
0.019717112183570862,
-0.022133950144052505,
-0.04335735738277435,
-0.021041741594672203,
-0.0010676364181563258,
-0.0197922233492136,
-0.033837586641311646,
0.03927337005734444,
0.027170764282345772,
0.01622539572417736,
-0.0155467689037323,
-0.052347082644701004,
-0.01870880462229252,
-0.023027393966913223,
-0.009161219000816345,
0.06035912409424782,
0.005965233314782381,
0.007440916728228331,
-0.0471431203186512,
-0.005389846861362457,
-0.03479095920920372,
-0.026226818561553955,
0.02258051559329033,
0.027821272611618042,
0.014108259230852127,
-0.021156370639801025,
-0.007481997366994619,
0.013605594635009766,
0.018160000443458557,
-0.028616204857826233,
0.03264584392309189,
0.025919552892446518,
0.012703575193881989,
-0.04967669025063515,
-0.06672854721546173,
0.03813095763325691,
-0.01480985339730978,
-0.01929495856165886,
-0.010881537571549416,
-0.004075176082551479,
0.007682441733777523,
-0.027687370777130127,
-0.026734063401818275,
-0.01942344568669796,
0.0196337029337883,
0.0035692425444722176,
-0.03360694274306297,
0.03547142446041107,
0.05520419776439667,
-0.0473477803170681,
-0.0020821073558181524,
0.01984047144651413,
-0.006759234704077244,
-0.021292097866535187,
-0.019356710836291313,
0.0507999062538147,
0.025482557713985443,
0.007916406728327274,
0.04867808148264885,
0.0044466950930655,
0.020302919670939445,
0.00867277942597866,
0.03244974464178085,
-0.0415881872177124,
-0.027706829831004143
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | Acknowledgements We would like to thank Ilyas, Clémentine and Felix for their help on the benchmarking. Finally, we would like to thank Pedro Cuenca for his help with the writing of this blogpost. | [
0.05805307254195213,
-0.017613545060157776,
0.04845200106501579,
-0.0019419867312535644,
0.0722486600279808,
0.06653650850057602,
0.004183125216513872,
0.0371447429060936,
-0.031241441145539284,
-0.1077483668923378,
0.007039960473775864,
0.02880951762199402,
-0.011928517371416092,
-0.039969366043806076,
0.02826387993991375,
0.06230887025594711,
0.031190404668450356,
-0.01850305125117302,
0.025957737118005753,
0.01286664791405201,
-0.02575867623090744,
-0.02109472267329693,
0.08413071185350418,
0.022988256067037582,
-0.021600179374217987,
-0.046510424464941025,
-0.018627561628818512,
-0.02998453564941883,
-0.08172827214002609,
0.06263863295316696,
-0.004634821321815252,
0.0027551238890737295,
0.07117737829685211,
-0.01077808067202568,
-0.03691503033041954,
-0.0464298389852047,
-0.08026556670665741,
0.0073410142213106155,
-0.03673457354307175,
-0.05388793349266052,
0.06216845661401749,
-0.03232279047369957,
0.005363875534385443,
0.08501095324754715,
-0.039681464433670044,
0.028121590614318848,
-0.17247560620307922,
0.09863682091236115,
-0.03007468394935131,
-0.0009325973223894835,
-0.0527404248714447,
-0.01722814328968525,
0.020211342722177505,
0.003115100087597966,
0.04305136203765869,
0.007689270190894604,
0.04292295500636101,
-0.049200791865587234,
0.033500123769044876,
-0.07907746732234955,
0.027696778997778893,
-0.01620432548224926,
0.016152434051036835,
-0.02513040415942669,
0.05325237289071083,
0.04460444673895836,
-0.00003599471892812289,
0.07414676994085312,
-0.03746810927987099,
0.011660529300570488,
0.03185638040304184,
0.008310522884130478,
-0.023646140471100807,
-0.0015769876772537827,
0.03218908607959747,
-0.0617825984954834,
-0.02788202092051506,
-0.002623526845127344,
0.06186654418706894,
0.038709331303834915,
-0.023969488218426704,
0.01700703613460064,
0.0923466756939888,
0.06133600324392319,
0.007796287536621094,
-0.022038280963897705,
0.09757646918296814,
-0.037861697375774384,
-0.004558730870485306,
-0.052581075578927994,
-0.05007949844002724,
-0.05192338302731514,
0.04055805504322052,
0.04605517163872719,
0.03768898919224739,
-0.05404738709330559,
0.05499699339270592,
0.024924742057919502,
0.024760611355304718,
0.012091373093426228,
0.005552646238356829,
0.06951899081468582,
-0.026183465495705605,
-0.03193202614784241,
-0.015766356140375137,
0.009189220145344734,
-0.0532316192984581,
-0.0612715408205986,
-0.06634596735239029,
0.04158492013812065,
0.000452941661933437,
0.0706188753247261,
0.045623358339071274,
0.0039153387770056725,
-0.05050226300954819,
0.0534905269742012,
-0.025225605815649033,
-0.005707175936549902,
0.05628200247883797,
0.018034301698207855,
-0.03405868262052536,
0.11682864278554916,
0.04328006133437157,
-0.02513960190117359,
0.01764223724603653,
0.0006829152116551995,
0.06324801594018936,
0.02008119970560074,
-0.09919024258852005,
0.0007356225978583097,
0.0017422497039660811,
-0.038330890238285065,
0.02662285976111889,
0.005569507367908955,
-0.09974656254053116,
-0.04129008203744888,
-0.030630959197878838,
-0.006913597229868174,
-0.04000779986381531,
0.03686726465821266,
-0.029152359813451767,
0.01795066148042679,
-0.0265570729970932,
0.03122776933014393,
0.018024642020463943,
-0.0490276925265789,
-0.03290702775120735,
0.0366637147963047,
-0.005931255407631397,
-0.056790608912706375,
-0.01960473693907261,
0.07423979789018631,
-0.058504339307546616,
-0.02156001143157482,
-0.00664365803822875,
0.047810476273298264,
0.030237585306167603,
-0.02137795090675354,
-0.08904809504747391,
-0.0365913026034832,
0.02595301903784275,
0.011216993443667889,
-0.011694896966218948,
-0.037205882370471954,
0.05182785168290138,
-0.04762813448905945,
0.04886406660079956,
0.018306588754057884,
-0.07001528888940811,
-0.07236487418413162,
-0.011787322349846363,
0.014510194770991802,
0.07935404032468796,
-0.00751114496961236,
-0.11950218677520752,
0.0284498929977417,
0.06502186506986618,
0.05094652250409126,
0.02789159119129181,
0.007115138694643974,
-0.048456285148859024,
0.027463160455226898,
-0.005310941953212023,
0.027804723009467125,
0.005854738876223564,
-0.03854375705122948,
0.07369466125965118,
-0.005921332631260157,
-0.022580977529287338,
0.043602097779512405,
-0.1615748554468155,
-0.04069717973470688,
0.11628103256225586,
-0.02523680590093136,
-0.031042611226439476,
-0.11569656431674957,
0.003909786697477102,
0.08567939698696136,
0.05593469366431236,
0.018636923283338547,
0.05439972132444382,
0.08304443955421448,
0.07461977005004883,
-0.031253881752491,
-0.056426480412483215,
-0.022892452776432037,
0.01830558106303215,
-0.009536133147776127,
0.005122131668031216,
-0.02887238934636116,
-0.05457291007041931,
-0.09664253145456314,
-0.018589768558740616,
-0.019794322550296783,
-0.01768161728978157,
-0.014186952263116837,
-0.0032877731136977673,
-0.004288910888135433,
0.05038796737790108,
-0.05562833324074745,
0.07296424359083176,
0.004755603149533272,
0.018808655440807343,
0.03180072084069252,
-0.022894976660609245,
0.08937688916921616,
0.040502842515707016,
0.0036495744716376066,
0.09135324507951736,
-0.07076601684093475,
0.008194580674171448,
-0.02041666954755783,
0.03451354056596756,
0.10116507112979889,
0.019088566303253174,
0.010658882558345795,
0.01346066128462553,
-0.048528071492910385,
0.02000369504094124,
0.010955900885164738,
-0.004567354917526245,
0.007307450287044048,
0.0029493144247680902,
0.06446980684995651,
-0.019138341769576073,
-0.09067896008491516,
-0.005656697321683168,
0.022974783554673195,
-0.10163265466690063,
-0.005260336212813854,
-0.07058990001678467,
0.09966036677360535,
0.020076600834727287,
-0.011589046567678452,
0.09247519075870514,
-0.0195359755307436,
-0.0010744702303782105,
-0.022503504529595375,
-0.0035893197637051344,
0.015312870033085346,
0.019787263125181198,
-0.005527404136955738,
-0.0055857752449810505,
-0.05070449039340019,
0.024676430970430374,
-0.026938287541270256,
0.028216231614351273,
-0.010402344167232513,
0.01076296903192997,
0.030878471210598946,
-0.020851770415902138,
-0.014048589393496513,
0.02804909087717533,
0.01779131032526493,
0.00011297698802081868,
-0.0025305431336164474,
0.0187775157392025,
-0.037985365837812424,
-0.018072664737701416,
-0.05136356130242348,
-0.013258314691483974,
-0.03773942589759827,
0.0007481726934202015,
-0.009681863710284233,
0.039356112480163574,
-0.03103659674525261,
0.01491636037826538,
0.00299398647621274,
-0.000924540450796485,
0.03066851757466793,
0.0051080710254609585,
0.008518468588590622,
0.04127146303653717,
-0.05539614334702492,
0.01840277761220932,
-0.035013072192668915,
-0.01928669400513172,
0.03018084540963173,
-0.03301391378045082,
-0.009745796211063862,
-0.00514686806127429,
0.011756004765629768,
-0.015612105838954449,
0.034422386437654495,
-0.010132929310202599,
0.02168581262230873,
-0.00222061132080853,
0.03145024925470352,
-0.12673284113407135,
0.011905817314982414,
0.04651704058051109,
0.06573640555143356,
-0.009224728681147099,
0.00526981707662344,
0.06305753439664841,
-0.044532157480716705,
-0.018673887476325035,
-0.031180214136838913,
0.052413761615753174,
0.017543792724609375,
0.020409684628248215,
-0.03072824329137802,
-0.0035223709419369698,
-0.0027470223139971495,
0.003692335681989789,
-0.002391647081822157,
-0.0033251168206334114,
-0.019229087978601456,
0.009590249508619308,
0.027046769857406616,
-0.032214630395174026,
-0.014599421061575413,
-0.054317083209753036,
0.05810798332095146,
0.02628060057759285,
0.008991015143692493,
0.01914406381547451,
-0.04289157688617706,
-0.033043768256902695,
0.02773400768637657,
-0.027649573981761932,
0.046133335679769516,
0.004817655310034752,
-0.0037556695751845837,
-0.026043293997645378,
0.0018433195073157549,
0.00004505471224547364,
0.045055657625198364,
0.025099532678723335,
0.018603140488266945,
0.04872462898492813,
0.01680181920528412,
-0.010803123004734516,
0.03629198297858238,
0.03306814283132553,
-0.00035740796010941267,
0.045690201222896576,
-0.02219643071293831,
-0.0556706078350544,
0.011068382300436497,
-0.004967954009771347,
0.07100887596607208,
0.0010077719343826175,
0.0068386695347726345,
-0.024552054703235626,
-0.0031125980895012617,
0.04404151812195778,
0.015623140148818493,
0.009585258550941944,
0.03701042756438255,
0.0019771000370383263,
0.02668585255742073,
-0.008405972272157669,
0.03826647251844406,
-0.039456527680158615,
0.0036019636318087578,
-0.07393725961446762,
0.03948133438825607,
0.01569121703505516,
0.04283826798200607,
-0.0363774299621582,
0.01177650410681963,
-0.01633373647928238,
0.01179483998566866,
-0.01391711924225092,
-0.016716772690415382,
0.04212799295783043,
-0.03474270924925804,
-0.02621503733098507,
-0.027229271829128265,
-0.033230431377887726,
-0.023230403661727905,
0.007098711561411619,
0.04198671877384186,
-0.03603198006749153,
0.008196085691452026,
-0.016087431460618973,
0.019870154559612274,
0.03066810593008995,
0.03516377881169319,
-0.03006395325064659,
-0.01687263324856758,
0.01285499706864357,
0.007348237559199333,
0.07058406621217728,
-0.008922322653234005,
0.017416397109627724,
0.02361922338604927,
-0.001111899851821363,
0.005270464811474085,
-0.002032147953286767,
-0.0017259794985875487,
0.020264144986867905,
0.04351332411170006,
-0.018416395410895348,
-0.03193489834666252,
-0.014599358662962914,
0.007657198701053858,
0.03223910182714462,
-0.04440179839730263,
0.01350417360663414,
-0.024331720545887947,
-0.0037302488926798105,
0.006519644055515528,
-0.020266221836209297,
-0.061784155666828156,
-0.014704051427543163,
0.008663578890264034,
-0.029020223766565323,
0.021407507359981537,
-0.0034884989727288485,
-0.008578133769333363,
0.025053944438695908,
0.014057700522243977,
-0.012603390961885452,
0.030367029830813408,
-0.015877066180109978,
-0.026361802592873573,
-0.021327968686819077,
-0.039378032088279724,
0.032285284250974655,
0.020303716883063316,
0.0036973210517317057,
-0.012813628651201725,
0.005412688013166189,
0.010396300815045834,
-0.01411576196551323,
-0.04101597145199776,
0.02234886959195137,
0.014027624391019344,
0.00957783218473196,
-0.007065184414386749,
0.0372018925845623,
-0.005474761128425598,
0.012479140423238277,
-0.0004338341823313385,
0.005410691723227501,
-0.00372145208530128,
0.05530032142996788,
-0.04440191015601158,
-0.02142634615302086,
-0.0007735818508081138,
0.014881446026265621,
0.04092191159725189,
0.031599707901477814,
-0.014316641725599766,
-0.019306011497974396,
0.048096898943185806,
0.004425909835845232,
0.0005517435492947698,
-0.06061570346355438,
0.03284895420074463,
-0.04466263949871063,
0.008064289577305317,
0.005529705435037613,
0.027742693200707436,
0.0018515964038670063,
-0.004138507414609194,
-0.00943086389452219,
-0.04725060984492302,
0.01531640812754631,
-0.024368036538362503,
0.006032298319041729,
-0.011031542904675007,
-0.010133452713489532,
-0.02380654215812683,
0.01005900464951992,
0.04104844853281975,
-0.02869577333331108,
-0.0023307381197810173,
0.04669421538710594,
-0.014517744071781635,
0.02349912002682686,
-0.002581956796348095,
0.02924591489136219,
0.004919317085295916,
0.009475070983171463,
0.05706552043557167,
-0.03859173506498337,
-0.009043173864483833,
0.003968725446611643,
-0.03379843756556511,
-0.013581197708845139,
-0.006379414349794388,
0.00042955749086104333,
-0.013363480567932129,
-0.01924007385969162,
0.012857678346335888,
0.0032339110039174557,
0.04178968444466591,
-0.021744918078184128,
0.002538186265155673,
0.01024148054420948,
0.047943323850631714,
-0.0015591231640428305,
-0.032339032739400864,
0.008149225264787674,
-0.07040170580148697,
-0.03990696370601654,
0.01448344998061657,
-0.07517638802528381,
-0.004656604956835508,
0.007511789910495281,
-0.04873790219426155,
-0.026195527985692024,
0.02682836353778839,
0.0041764578782022,
0.005970053840428591,
0.003231921000406146,
-0.0027884934097528458,
-0.01629495620727539,
0.03292873129248619,
0.030025579035282135,
-0.0030379192903637886,
-0.0382387712597847,
0.025577286258339882,
-0.02080741710960865,
0.040481891483068466,
0.00753370113670826,
0.002638699486851692,
-0.03121134452521801,
0.0003193745214957744,
0.021312443539500237,
0.006557488348335028,
-0.04519343748688698,
-0.0005824448890052736,
0.002295121783390641,
0.012284262105822563,
0.027581721544265747,
-0.011320180259644985,
0.010748350992798805,
-0.013946200720965862,
-0.034592319279909134,
0.026410022750496864,
0.05306382477283478,
-0.043207816779613495,
0.0064593469724059105,
-0.0026974789798259735,
0.018045859411358833,
-0.005885256454348564,
-0.00008661022002343088,
-0.027587972581386566,
0.00719873420894146,
0.013893705792725086,
0.008261206559836864,
-0.027803359553217888,
0.020800229161977768,
0.01781902275979519,
-0.0022046188823878765,
0.004486532881855965,
0.010464080609381199,
0.03163178265094757,
-0.03572056069970131,
0.00586994644254446,
0.024900058284401894,
-0.03547545149922371,
0.03261623904109001,
-0.009280790574848652,
-0.03137044236063957,
0.006632410921156406,
0.02959699183702469,
-0.005851059686392546,
0.0019407336367294192,
-0.002443075878545642,
0.042959630489349365,
0.018948888406157494,
0.04206840321421623,
-0.012200613506138325,
0.0058969794772565365,
-0.0011731398990377784,
0.06085601821541786,
0.014360860921442509,
-0.010866346769034863,
0.015071069821715355,
0.03196985274553299,
0.005829313769936562,
-0.006179724354296923,
-0.0022899797186255455,
0.001376510364934802,
0.01414674986153841,
-0.01611463911831379,
0.01498333178460598,
-0.019337406381964684,
-0.002526841126382351,
0.016343072056770325,
-0.022247014567255974,
0.020155014470219612,
-0.03803788125514984,
0.012902608141303062,
-0.001108805532567203,
-0.008874869905412197,
0.02545233629643917,
-0.01767502725124359,
0.007814026437699795,
0.03275923430919647,
-0.030475998297333717,
-0.03032549098134041,
-0.045555707067251205,
0.014736432582139969,
0.034810081124305725,
-0.027490751817822456,
-0.02162625826895237,
-0.023308418691158295,
-0.04568113014101982,
0.032357294112443924,
0.007454870268702507,
0.025290997698903084,
0.013385757803916931,
0.05539928376674652,
0.024653179571032524,
0.0010576474014669657,
-0.03017074428498745,
-0.009441026486456394,
-0.04956674948334694,
0.024873657152056694,
-0.001441942062228918,
-0.043489743024110794,
-0.004458209034055471,
0.04355707764625549,
0.022509431466460228,
-0.03024362027645111,
0.004820198751986027,
-0.009049642831087112,
0.05342818424105644,
-0.017709216102957726,
0.04636590555310249,
-0.0022953699808567762,
0.003696685191243887,
0.016253666952252388,
0.014533963985741138,
0.010367180220782757,
-0.005575813353061676,
-0.01277668122202158,
0.008923947811126709,
-0.019633160904049873,
0.006482329219579697,
-0.028398241847753525,
0.010789906606078148,
0.04139250889420509,
-0.0001205088192364201,
0.024046214297413826,
0.05472814291715622,
-0.01177384052425623,
0.012077528983354568,
-0.005680175498127937,
0.008549542166292667,
-0.01737244427204132,
-0.028346937149763107,
-0.0034117421600967646,
0.03840501978993416,
0.018966982141137123,
-0.026713071390986443,
-0.050097376108169556,
-0.014714621938765049,
-0.0074607450515031815,
0.005781279411166906,
0.015463445335626602,
0.014973399229347706,
-0.03039495088160038,
-0.05013033747673035,
0.011184467934072018,
0.015483899973332882,
-0.02829759195446968,
-0.03247412294149399,
-0.03060307167470455,
-0.03007512353360653,
-0.010068650357425213,
-0.02482456900179386,
0.04859878122806549,
0.022287262603640556,
0.02481132000684738,
0.05356765165925026,
0.0062246862798929214,
-0.0000274401500064414,
-0.007868628017604351,
-0.0019854155834764242,
0.033779777586460114,
0.0342448465526104,
-0.0186700951308012,
-0.02055995538830757,
-0.023662637919187546,
-0.012779743410646915,
0.010575459338724613,
0.008830148726701736,
-0.0487774983048439,
-0.02848449908196926,
-0.0024518391583114862,
0.001614046166650951,
-0.05509600415825844,
0.003464632900431752,
0.0338582918047905,
0.011918154545128345,
0.011080402880907059,
0.02241837978363037,
-0.017420733347535133,
-0.011544303968548775,
0.024425560608506203,
-0.019715646281838417,
0.06679237633943558,
0.036113984882831573,
-0.006768913473933935,
-0.08135390281677246,
0.027910141274333,
-0.04485625773668289,
-0.04395648464560509,
-0.0063390000723302364,
0.04490143060684204,
-0.008354160003364086,
0.0069905356504023075,
-0.006550774443894625,
0.008353824727237225,
0.011722632683813572,
0.021318841725587845,
0.03537904471158981,
0.00491661112755537,
0.012516581453382969,
-0.031981054693460464,
-0.009962173178792,
-0.0038355819415301085,
0.02774161659181118,
0.00775386905297637,
0.03869510069489479,
0.0035164570435881615,
-0.03108985535800457,
0.01837153173983097,
-0.031671736389398575,
0.01276711281388998,
-0.01750825345516205,
-0.009313061833381653,
0.010555294342339039,
0.017213186249136925,
-0.05872338265180588,
-0.0026740466710180044,
-0.03194119781255722,
0.052581045776605606,
0.02273687906563282,
-0.010951883159577847,
-0.01601799577474594,
-0.052142515778541565,
0.010049698874354362,
-0.026316147297620773,
0.022332731634378433,
0.034504372626543045,
0.05556430295109749,
0.06199014559388161,
-0.017082029953598976,
0.015331312082707882,
0.027832597494125366
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | Performance degradation Quantization is great for reducing memory consumption. However, it does come with performance degradation. Let's compare the performance using the Open-LLM leaderboard ! with 7b model: | model_id | Average | ARC | Hellaswag | MMLU | TruthfulQA | |------------------------------------|---------|-------|-----------|-------|------------| | meta-llama/llama-2-7b-hf | 54.32 | 53.07 | 78.59 | 46.87 | 38.76 | | meta-llama/llama-2-7b-hf-bnb-4bit | 53.4 | 53.07 | 77.74 | 43.8 | 38.98 | | TheBloke/Llama-2-7B-GPTQ | 53.23 | 52.05 | 77.59 | 43.99 | 39.32 | with 13b model: | model_id | Average | ARC | Hellaswag | MMLU | TruthfulQA | |------------------------------------|---------|-------|-----------|-------|------------| | meta-llama/llama-2-13b-hf | 58.66 | 59.39 | 82.13 | 55.74 | 37.38 | | TheBloke/Llama-2-13B-GPTQ (revision = 'gptq-4bit-128g-actorder_True')| 58.03 | 59.13 | 81.48 | 54.45 | 37.07 | | TheBloke/Llama-2-13B-GPTQ | 57.56 | 57.25 | 81.66 | 54.81 | 36.56 | | meta-llama/llama-2-13b-hf-bnb-4bit | 56.9 | 58.11 | 80.97 | 54.34 | 34.17 | From the results above, we conclude that there is less degradation in bigger models. More interestingly, the degradation is minimal! | [
0.01574409380555153,
0.0417013093829155,
0.03192747011780739,
-0.02283601462841034,
0.07476108521223068,
-0.032359324395656586,
-0.007856554351747036,
-0.014666755683720112,
-0.026236023753881454,
-0.03053661249577999,
0.013384347781538963,
0.049801602959632874,
-0.030460665002465248,
0.03668547421693802,
0.022409170866012573,
0.014073866419494152,
0.07945333421230316,
-0.0023025297559797764,
0.04826775938272476,
0.02735513634979725,
0.05971861630678177,
-0.012143936939537525,
0.062072671949863434,
-0.028926348313689232,
-0.0013868967071175575,
-0.013811175711452961,
-0.017449524253606796,
-0.0026499617379158735,
-0.09851767867803574,
-0.008219247683882713,
-0.08539482206106186,
0.011232872493565083,
-0.0015507300850003958,
0.051391199231147766,
-0.005461154039949179,
-0.0075464709661901,
-0.09196896106004715,
0.0029675550758838654,
0.01664542593061924,
-0.055629655718803406,
0.042139988392591476,
-0.04161235690116882,
0.014987388625741005,
0.04152917489409447,
0.002736099762842059,
0.040223922580480576,
-0.075932078063488,
0.032789215445518494,
-0.03341057524085045,
-0.041811224073171616,
-0.09894970059394836,
0.05386925861239433,
-0.07648129016160965,
-0.008734948933124542,
0.024134043604135513,
-0.014866727404296398,
0.06521721929311752,
-0.06137799471616745,
0.021967491135001183,
0.08186060190200806,
0.08587832003831863,
-0.09154525399208069,
0.01985052041709423,
-0.01859494112432003,
0.029472200199961662,
0.039001282304525375,
-0.019803661853075027,
0.009247567504644394,
-0.01936616562306881,
0.021389957517385483,
-0.04621748998761177,
-0.00006862121517769992,
-0.01820947602391243,
-0.04513734579086304,
-0.028683006763458252,
-0.014701081439852715,
0.003389857243746519,
0.058675941079854965,
-0.0002794249157886952,
0.0073787746950984,
0.03137888386845589,
0.08734896034002304,
0.04652269929647446,
0.03488685190677643,
-0.009906960651278496,
0.013973740860819817,
0.048158176243305206,
-0.03027694672346115,
-0.09624748677015305,
0.04845692217350006,
-0.030092978850007057,
-0.09923116117715836,
-0.002029872266575694,
-0.016112148761749268,
0.0014270811807364225,
-0.03055831603705883,
0.07777495682239532,
0.014948475174605846,
-0.007328673265874386,
0.02975040301680565,
0.006848854944109917,
-0.02267405390739441,
0.03533044829964638,
-0.05226491019129753,
-0.03552349656820297,
0.04700230062007904,
-0.041728850454092026,
-0.12644559144973755,
-0.050580836832523346,
0.02632211707532406,
-0.018957559019327164,
0.058915916830301285,
0.033104583621025085,
0.0196081530302763,
-0.08363249152898788,
0.029215369373559952,
-0.0119957709684968,
0.02565842494368553,
0.08659737557172775,
0.10700364410877228,
-0.021947091445326805,
0.10652562230825424,
0.10665228217840195,
-0.055842652916908264,
-0.039978280663490295,
-0.01392395980656147,
0.10545146465301514,
-0.04266785830259323,
0.026477597653865814,
-0.0032613754738122225,
0.02378854900598526,
0.02586192451417446,
0.008866295218467712,
0.030742483213543892,
-0.026662660762667656,
-0.0532006174325943,
0.021360032260417938,
-0.030392812564969063,
-0.021427739411592484,
-0.054506637156009674,
-0.03859326243400574,
0.027704207226634026,
-0.024141767993569374,
0.02047099359333515,
0.04617861658334732,
0.008924546651542187,
-0.06819608062505722,
0.05809012055397034,
0.048060156404972076,
-0.023165252059698105,
-0.05490180477499962,
0.06055786460638046,
-0.05045852065086365,
-0.08073776960372925,
0.02040061354637146,
0.04469870403409004,
-0.04764636978507042,
-0.014935798943042755,
-0.0848497822880745,
0.020954035222530365,
-0.0652996301651001,
-0.04995929077267647,
-0.055000364780426025,
-0.004030301701277494,
0.08237195760011673,
-0.00884114857763052,
-0.008223000913858414,
-0.02854924462735653,
-0.060090381652116776,
0.026102256029844284,
0.022454245015978813,
0.005782016087323427,
0.12141439318656921,
-0.023978611454367638,
-0.0034478020388633013,
0.07846446335315704,
0.009770710952579975,
0.038623664528131485,
-0.021842656657099724,
-0.006278643384575844,
-0.03137720003724098,
0.010188223794102669,
-0.002798665314912796,
-0.0018534971168264747,
0.0317157581448555,
-0.08365693688392639,
0.03004428930580616,
-0.04072161763906479,
-0.011127373203635216,
-0.030447635799646378,
-0.13004976511001587,
0.008921919390559196,
0.033270593732595444,
-0.030352318659424782,
0.046600837260484695,
-0.02250036410987377,
0.005538476165384054,
0.1098283901810646,
0.08945003151893616,
0.023688366636633873,
-0.005953738000243902,
0.08615624159574509,
0.004603507928550243,
-0.0034794181119650602,
-0.07009103894233704,
0.027472004294395447,
0.032258953899145126,
0.0289726834744215,
0.07493074238300323,
0.02985261008143425,
0.03673478215932846,
-0.10714871436357498,
0.000366178632248193,
-0.05208965018391609,
0.019994404166936874,
-0.031250447034835815,
-0.032008860260248184,
0.013883884996175766,
0.0010689449263736606,
-0.013255748897790909,
0.1003488302230835,
-0.045302581042051315,
-0.015089442953467369,
-0.030326904729008675,
-0.01062314584851265,
0.021406477317214012,
0.02826770767569542,
0.032521046698093414,
0.039004597812891006,
-0.028046488761901855,
-0.002790342317894101,
-0.08396121859550476,
-0.020101962611079216,
0.09095445275306702,
0.02912258915603161,
0.058526672422885895,
-0.03691800311207771,
0.0024226647801697254,
0.05637453496456146,
-0.02117953635752201,
-0.006611027754843235,
0.04428179934620857,
-0.01871100813150406,
0.06299863755702972,
-0.04374179244041443,
-0.01635155826807022,
0.04087651148438454,
-0.06575122475624084,
-0.1037377417087555,
-0.040470026433467865,
-0.10638806223869324,
0.017961429432034492,
-0.030627267435193062,
-0.0024907379411160946,
0.014325276017189026,
-0.027942029759287834,
-0.0055701760575175285,
0.007562428712844849,
-0.03138372674584389,
0.009284217841923237,
0.014878880232572556,
0.008151235990226269,
0.008555513806641102,
-0.038778938353061676,
0.018637128174304962,
-0.0006454585818573833,
0.017918437719345093,
-0.034196361899375916,
0.0026983143761754036,
-0.017244750633835793,
-0.0006591146229766309,
-0.01279884111136198,
0.05586447939276695,
0.040820322930812836,
0.005780220031738281,
0.013599123805761337,
0.026540644466876984,
-0.069147489964962,
-0.014679557643830776,
-0.0013741499278694391,
0.02428821101784706,
-0.03176078572869301,
0.05623377859592438,
0.020269015803933144,
0.021135864779353142,
0.0010461750207468867,
0.011383125558495522,
-0.04280782490968704,
-0.001997502753511071,
0.019523972645401955,
0.00831429474055767,
0.03853211551904678,
-0.016666248440742493,
-0.0009639242780394852,
0.006014737766236067,
-0.008004674687981606,
-0.015355821698904037,
-0.03641023114323616,
0.029516072943806648,
0.01701667718589306,
-0.036596111953258514,
0.0036977564450353384,
0.0058638304471969604,
-0.024164138361811638,
-0.027883917093276978,
0.03362904489040375,
-0.0020303467754274607,
0.02246737852692604,
-0.1064644530415535,
0.009846974164247513,
0.04927055910229683,
0.016077494248747826,
-0.03230012208223343,
-0.0013261041603982449,
0.06851029396057129,
-0.0004721633158624172,
-0.005276273470371962,
-0.017037618905305862,
0.06137892231345177,
-0.0219609085470438,
0.01283935084939003,
0.010987881571054459,
0.02033444494009018,
-0.01831156760454178,
0.01864965260028839,
0.036160942167043686,
0.02221349999308586,
0.012489879503846169,
0.020971307530999184,
0.05890604481101036,
-0.0010989918373525143,
-0.013132965192198753,
-0.05617999657988548,
0.0008670088718645275,
-0.02427632547914982,
0.014293720945715904,
0.025324227288365364,
0.018462805077433586,
-0.03579851984977722,
-0.0019169154111295938,
0.007998730055987835,
0.009353023953735828,
-0.02628517895936966,
-0.025528328493237495,
-0.021756628528237343,
0.005396541208028793,
-0.01734989881515503,
0.08757857978343964,
0.03566530719399452,
0.06318557262420654,
0.04172927141189575,
-0.024780241772532463,
-0.02677876688539982,
0.03364914283156395,
0.01251724548637867,
-0.005269944667816162,
0.05002094432711601,
-0.03942132741212845,
-0.022885587066411972,
-0.04486498609185219,
-0.008844616822898388,
0.04151121899485588,
0.0013831291580572724,
-0.03451905772089958,
0.004075148142874241,
-0.014161551371216774,
0.0016407710500061512,
-0.016399450600147247,
-0.003354537533596158,
0.0005012034671381116,
0.022271161898970604,
0.03565742447972298,
-0.04141626134514809,
0.011483295820653439,
0.0008117241668514907,
-0.0037337264511734247,
0.002954287687316537,
0.0018438956467434764,
0.011464839801192284,
0.03592683747410774,
-0.027169695124030113,
0.013772694393992424,
-0.04257664084434509,
0.025829769670963287,
-0.009307715110480785,
-0.03296707570552826,
0.0434497632086277,
0.02417750284075737,
-0.01307668536901474,
-0.0030894323717802763,
-0.03268839791417122,
-0.020677991211414337,
0.00020004551333840936,
-0.0033461335115134716,
0.0167099516838789,
0.04509366303682327,
0.011563683860003948,
-0.0005365586839616299,
0.049921974539756775,
-0.01918143965303898,
0.005787798669189215,
0.019763369113206863,
-0.049939416348934174,
-0.0038871383294463158,
0.039959318935871124,
0.016441654413938522,
-0.01999228075146675,
0.04975933954119682,
0.04715929180383682,
0.01073785126209259,
0.024643436074256897,
-0.02491803653538227,
-0.04568687081336975,
0.003740796586498618,
-0.015153736807405949,
-0.0006738261436112225,
0.019463831558823586,
0.01102275401353836,
-0.008729918859899044,
-0.016055872663855553,
0.01107623428106308,
-0.008478473871946335,
0.05519907921552658,
-0.014300203882157803,
-0.06282611191272736,
0.00005296626113704406,
-0.016979729756712914,
0.03093232586979866,
-0.07356125861406326,
0.028726549819111824,
0.005199586972594261,
-0.023694684728980064,
-0.0012264630058780313,
-0.018317794427275658,
-0.015990298241376877,
-0.013491213321685791,
-0.028127992525696754,
-0.00026243363390676677,
-0.047668907791376114,
0.011279627680778503,
0.01101335696876049,
-0.008811276406049728,
0.02197500318288803,
-0.02612665481865406,
-0.022053513675928116,
0.020572397857904434,
0.006647652015089989,
-0.05175327509641647,
0.000033668315154500306,
-0.01124501321464777,
0.013667977415025234,
-0.037853967398405075,
0.013565443456172943,
0.010645546019077301,
0.0015948559157550335,
-0.015217037871479988,
0.01652362383902073,
0.03202977031469345,
0.04466915875673294,
-0.02922527864575386,
-0.02821376919746399,
-0.02842431142926216,
0.028617294505238533,
0.016232067719101906,
-0.02265952154994011,
-0.01670168712735176,
0.021210599690675735,
0.03640856593847275,
-0.005233201198279858,
0.003783291205763817,
-0.04912431538105011,
0.008952847681939602,
0.01665917970240116,
0.01700713485479355,
0.0018695873441174626,
0.008176902309060097,
0.007202972192317247,
0.003645105054602027,
-0.011677040718495846,
-0.04292029142379761,
0.015607182867825031,
-0.029037905856966972,
0.019020136445760727,
0.001960338559001684,
0.018655944615602493,
-0.0025688069872558117,
0.0568578727543354,
0.007569114211946726,
-0.014844381250441074,
-0.04143505170941353,
0.04045116901397705,
-0.004862922243773937,
0.0188263151794672,
-0.01748121902346611,
0.07876300066709518,
0.0910661369562149,
-0.0012640634085983038,
-0.011081041768193245,
0.040140751749277115,
0.00421347189694643,
0.0764826163649559,
-0.02994646318256855,
-0.005650642793625593,
0.020244697108864784,
-0.007497073151171207,
0.0018228511326014996,
-0.013943175785243511,
-0.005217766389250755,
0.058953795582056046,
0.05262908339500427,
-0.004918329883366823,
-0.020175060257315636,
-0.019512120634317398,
-0.021215641871094704,
0.017125314101576805,
-0.018586859107017517,
0.02561149001121521,
-0.027933379635214806,
0.013086552731692791,
-0.04210178554058075,
-0.0821189135313034,
-0.04866944998502731,
0.03152798116207123,
0.007898367010056973,
-0.007967369630932808,
0.02597329020500183,
0.005647887010127306,
-0.009276504628360271,
0.016468515619635582,
-0.018783127889037132,
-0.01923944614827633,
-0.01348148938268423,
0.016746368259191513,
-0.012876016087830067,
-0.0071380832232534885,
0.027140511199831963,
-0.010750653222203255,
0.055034089833498,
0.0209905244410038,
-0.044946037232875824,
-0.009280246682465076,
0.04433784261345863,
0.009570201858878136,
0.026031455025076866,
-0.005306943319737911,
-0.016995910555124283,
0.01204112358391285,
-0.009742950089275837,
-0.010317737236618996,
-0.04963098093867302,
-0.07057695835828781,
0.01679246686398983,
-0.07343105226755142,
0.012634028680622578,
0.04123224690556526,
-0.01843983307480812,
-0.05756896361708641,
0.02160811796784401,
0.025209486484527588,
-0.030848875641822815,
0.021677551791071892,
0.007924077101051807,
0.03302837163209915,
0.039449818432331085,
0.009646308608353138,
-0.046955544501543045,
0.0017974268412217498,
0.005236700177192688,
0.013466142117977142,
-0.003263006219640374,
0.006244078278541565,
0.05213911831378937,
-0.07681042701005936,
0.0712696984410286,
0.009348506107926369,
-0.05183647200465202,
0.045177482068538666,
0.018225127831101418,
-0.019159991294145584,
-0.01860276237130165,
-0.004013800993561745,
-0.0053101275116205215,
-0.033519793301820755,
0.020013347268104553,
0.006520352326333523,
0.03715668246150017,
0.010573126375675201,
0.022195035591721535,
0.043297622352838516,
0.03962928056716919,
0.01554122380912304,
-0.01928522251546383,
0.011103994213044643,
-0.021996961906552315,
0.030108341947197914,
0.023856710642576218,
0.006665204185992479,
0.021314922720193863,
0.003981746267527342,
0.0005871607572771609,
0.013539315201342106,
-0.0053084613755345345,
-0.03420320898294449,
0.02214239165186882,
0.01643623784184456,
0.005742667242884636,
0.001643747673369944,
-0.07088818401098251,
0.04253532737493515,
0.012379135005176067,
0.021335283294320107,
0.013990757055580616,
0.015573191456496716,
-0.03292883560061455,
0.018968941643834114,
-0.012953300029039383,
-0.009425843134522438,
-0.0022608283907175064,
0.009785985574126244,
0.06496485322713852,
-0.0027218875475227833,
0.03327499330043793,
0.02726387418806553,
-0.03283984214067459,
-0.004252031911164522,
0.017300229519605637,
0.048890888690948486,
-0.002995405113324523,
0.008453911170363426,
-0.006072548218071461,
0.04197482392191887,
0.012140651233494282,
-0.02226429432630539,
-0.011697201058268547,
0.017118295654654503,
0.004919239319860935,
0.02262515388429165,
-0.00025884155184030533,
0.023913728073239326,
0.028519319370388985,
0.01673194020986557,
-0.049052439630031586,
-0.013032854534685612,
0.01740221492946148,
-0.014462449587881565,
-0.00327103678137064,
-0.050672486424446106,
0.02052653394639492,
0.015735425055027008,
-0.01171540841460228,
-0.03842312470078468,
0.03890814259648323,
0.02515789493918419,
-0.00965513288974762,
0.03870118036866188,
-0.0021155185531824827,
-0.03150973096489906,
0.00031820472213439643,
-0.025368303060531616,
0.001839921111240983,
-0.018238384276628494,
-0.009405621327459812,
-0.048024483025074005,
-0.027731718495488167,
0.00901808775961399,
-0.007876730524003506,
0.014397550374269485,
-0.004897107370197773,
0.05404207110404968,
0.017748555168509483,
0.03053683042526245,
-0.016796806827187538,
-0.019627263769507408,
-0.0518425852060318,
-0.043092649430036545,
-0.020991172641515732,
0.0035694788675755262,
-0.022936604917049408,
-0.012456607073545456,
-0.01636762171983719,
-0.024461854249238968,
0.01289448980242014,
-0.018864896148443222,
-0.027385110035538673,
0.030633118003606796,
0.00017264268535654992,
-0.0018500027945265174,
-0.022156406193971634,
0.05968763306736946,
0.00887608714401722,
0.023124972358345985,
0.00442640483379364,
-0.00367820099927485,
0.01715700328350067,
-0.03837965428829193,
0.024101532995700836,
-0.019946841523051262,
0.020181329920887947,
-0.03200751543045044,
-0.04835653305053711,
-0.012838708236813545,
0.009324218146502972,
0.013715499080717564,
0.044092945754528046,
-0.019721705466508865,
-0.002594736870378256,
-0.00412123603746295,
-0.02078300341963768,
-0.003230308648198843,
-0.0241540614515543,
0.05474440008401871,
0.045544274151325226,
-0.0004244248557370156,
0.007584443315863609,
-0.05910887196660042,
-0.01931014470756054,
-0.02862735278904438,
0.015608558431267738,
0.03981699422001839,
0.006094952113926411,
0.000967053696513176,
-0.020843373611569405,
-0.00027009626501239836,
-0.048259906470775604,
-0.036952294409275055,
-0.008074352517724037,
0.01609489694237709,
-0.04676380753517151,
0.007758338935673237,
-0.019510909914970398,
0.007194446865469217,
-0.023922128602862358,
0.023628216236829758,
0.02735717222094536,
-0.032830893993377686,
0.0026496429927647114,
-0.008040308021008968,
-0.07334551960229874,
-0.011988680809736252,
0.027012595906853676,
0.0029018763452768326,
0.048595838248729706,
0.017802266404032707,
0.008731722831726074,
0.02682844176888466,
-0.007919318974018097,
-0.01569429039955139,
0.015115955844521523,
0.007123143877834082,
-0.021732009947299957,
0.01755623333156109,
0.018922774121165276,
-0.020784860476851463,
-0.07149261981248856,
0.05427191033959389,
0.003191322786733508,
0.030913574621081352,
0.014784874394536018,
0.005081420298665762,
-0.014090483076870441,
0.024900849908590317,
-0.010130178183317184,
0.011335485614836216,
0.004015523940324783,
0.04618006572127342,
0.044675178825855255,
-0.040346816182136536,
0.02055431716144085
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | What are the potential rooms of improvements of bitsandbytes? slower than GPTQ for text generation: bitsandbytes 4-bit models are slow compared to GPTQ when using generate. 4-bit weights are not serializable: Currently, 4-bit models cannot be serialized. This is a frequent community request, and we believe it should be addressed very soon by the bitsandbytes maintainers as it's in their roadmap! | [
0.0038372206036001444,
0.017480917274951935,
0.08409880101680756,
0.02007725089788437,
0.050975196063518524,
-0.01454981043934822,
-0.03809548169374466,
0.05749201029539108,
0.03999963402748108,
-0.06847221404314041,
-0.06461527943611145,
-0.010700089856982231,
-0.009910172782838345,
-0.020195038989186287,
-0.022273311391472816,
-0.0013956812908872962,
0.04757528379559517,
-0.009681224822998047,
-0.016304986551404,
-0.05454714596271515,
-0.0075565725564956665,
-0.012347366660833359,
0.06326453387737274,
-0.04300404340028763,
0.041744086891412735,
-0.06180388480424881,
0.02582244575023651,
-0.01466851495206356,
0.010702320374548435,
-0.01978948712348938,
-0.0846092477440834,
0.003585773753002286,
-0.010675034485757351,
0.016392720863223076,
-0.002207668498158455,
-0.014029473066329956,
-0.11888543516397476,
0.02114466018974781,
0.047170236706733704,
-0.0708676353096962,
-0.03318021073937416,
-0.005142988637089729,
0.0062775867991149426,
0.07253377884626389,
0.011276609264314175,
0.04892975091934204,
-0.12263499200344086,
0.036953672766685486,
-0.07609620690345764,
-0.0713464692234993,
-0.07760767638683319,
0.01452655903995037,
-0.064992755651474,
0.013640227727591991,
0.05777326226234436,
0.026161490008234978,
0.001993057318031788,
-0.053255531936883926,
-0.02890861965715885,
0.014874490909278393,
0.045492324978113174,
-0.0644950270652771,
-0.03443390503525734,
0.05624460428953171,
0.03371409326791763,
-0.015916867181658745,
-0.05470500886440277,
0.004147019237279892,
-0.060943301767110825,
0.048770029097795486,
0.0050907921977341175,
-0.009076448157429695,
0.006782129872590303,
-0.06717709451913834,
-0.01905987784266472,
-0.03901715949177742,
0.018099751323461533,
0.05832439288496971,
0.07935518771409988,
0.0635773241519928,
-0.006527158431708813,
0.06799168884754181,
0.08870266377925873,
-0.018316933885216713,
0.035460442304611206,
-0.0031310098711401224,
0.07732221484184265,
-0.027060268446803093,
-0.09917372465133667,
0.07786429673433304,
-0.01912675052881241,
-0.11994403600692749,
0.032653313130140305,
0.03177369385957718,
-0.018742846325039864,
0.006444815080612898,
0.000668032793328166,
0.022191865369677544,
0.022614488378167152,
0.03524547442793846,
-0.01341238897293806,
-0.014926073141396046,
0.033788133412599564,
-0.023203333839774132,
-0.015007969923317432,
0.03470895439386368,
-0.07198964059352875,
-0.10330135375261307,
0.020648213103413582,
0.09689421206712723,
0.03512126952409744,
0.03546912968158722,
0.01911015249788761,
-0.03218908980488777,
-0.023534271866083145,
0.05535127967596054,
0.0028831008821725845,
-0.03543492779135704,
0.027711259201169014,
0.02193266525864601,
0.0006607173709198833,
0.040876954793930054,
0.029304370284080505,
0.006768407300114632,
0.023425975814461708,
0.011701657436788082,
0.06372568011283875,
-0.01600779965519905,
0.012596073560416698,
0.01754254475235939,
0.04066264629364014,
-0.020719174295663834,
0.03205499053001404,
-0.022005369886755943,
0.02048231102526188,
-0.0479859933257103,
-0.06034468486905098,
-0.06261197477579117,
-0.0754561573266983,
-0.053765036165714264,
-0.06730503588914871,
-0.00442923791706562,
0.058494966477155685,
0.022398343309760094,
-0.0035098271910101175,
-0.0417470708489418,
-0.059873078018426895,
0.04248427972197533,
-0.037133485078811646,
-0.06383120268583298,
-0.09011779725551605,
0.0032540992833673954,
-0.026791749522089958,
-0.047967661172151566,
0.006237862166017294,
0.01818062923848629,
-0.03429996594786644,
0.028857843950390816,
-0.05501982197165489,
-0.03426213562488556,
-0.03167512267827988,
-0.04831353947520256,
0.01370371412485838,
-0.04086396470665932,
0.06566394120454788,
-0.027114273980259895,
-0.0407479964196682,
0.053282588720321655,
-0.010958774015307426,
-0.030975529924035072,
-0.006276678293943405,
-0.004320881795138121,
0.09406429529190063,
-0.026202579960227013,
0.04698491841554642,
0.04238583520054817,
0.027474481612443924,
0.08302461355924606,
0.01677814871072769,
-0.05815569683909416,
-0.013258692808449268,
-0.06730874627828598,
-0.025240197777748108,
0.03494451195001602,
0.021899614483118057,
-0.037830036133527756,
0.0507950484752655,
-0.04186103492975235,
-0.03430629521608353,
0.04271590709686279,
-0.023354491218924522,
-0.03689035028219223,
0.11457771807909012,
-0.012513184919953346,
-0.020329924300312996,
-0.07367604225873947,
0.013354572467505932,
0.1370677500963211,
0.04263575002551079,
0.0347040556371212,
-0.004891117103397846,
-0.04271917790174484,
0.015540220774710178,
-0.02297755889594555,
0.000556033686734736,
0.04640403762459755,
-0.01174954604357481,
0.06523336470127106,
0.013169148936867714,
-0.047192271798849106,
-0.018257832154631615,
-0.0604415200650692,
0.054625172168016434,
-0.05877679958939552,
-0.02095191739499569,
-0.004464739467948675,
0.06150217354297638,
-0.017837021499872208,
0.014027534052729607,
-0.06179390102624893,
0.13804791867733002,
0.032677024602890015,
-0.01911083050072193,
0.01718136854469776,
-0.0014834400499239564,
0.07943259924650192,
0.04049941897392273,
-0.020685140043497086,
0.05857125669717789,
-0.11731104552745819,
0.011233152821660042,
-0.022024011239409447,
-0.0007639882969669998,
0.05531839281320572,
-0.018760360777378082,
0.046181317418813705,
-0.0658644437789917,
0.016799336299300194,
0.06765009462833405,
-0.03265717998147011,
-0.03047621063888073,
0.04762187600135803,
-0.021929524838924408,
-0.004170588217675686,
-0.002877796534448862,
0.01777062937617302,
0.0969938263297081,
-0.04519928619265556,
-0.02712373249232769,
-0.0007294805836863816,
-0.0833454579114914,
0.039114467799663544,
0.017693402245640755,
-0.07814201712608337,
0.040575508028268814,
-0.0038697344716638327,
0.016717279329895973,
-0.01732739247381687,
-0.022273240610957146,
-0.01272347941994667,
-0.05256770923733711,
0.023027297109365463,
0.014261945150792599,
-0.0052163321524858475,
0.047061048448085785,
0.003795679658651352,
-0.024996474385261536,
-0.02600286155939102,
0.001221840619109571,
0.029251502826809883,
-0.0034647402353584766,
-0.028140993788838387,
0.011549055576324463,
0.018040772527456284,
-0.004116449039429426,
0.031850703060626984,
0.04297776147723198,
-0.04456020146608353,
-0.01761607825756073,
0.00913532916456461,
-0.024322962388396263,
-0.03136623278260231,
0.012681195512413979,
0.002158092800527811,
-0.011686256155371666,
-0.002548116259276867,
0.029761260375380516,
-0.06311266124248505,
-0.046517662703990936,
-0.004314427729696035,
-0.016666026785969734,
-0.014128130860626698,
-0.01404894981533289,
-0.030056912451982498,
0.0492483451962471,
0.022704854607582092,
-0.018159495666623116,
-0.008004599250853062,
-0.014979810453951359,
0.02382705733180046,
0.024211885407567024,
0.034803859889507294,
-0.01615327224135399,
0.014016594737768173,
-0.04141870141029358,
0.0072559271939098835,
-0.0083755599334836,
0.024219533428549767,
-0.09969109296798706,
-0.021505936980247498,
-0.017171714454889297,
0.02671336941421032,
0.01301609631627798,
-0.008394783362746239,
0.03322308510541916,
-0.01607860065996647,
0.01806488074362278,
0.01941545121371746,
0.007024512626230717,
-0.0364542156457901,
0.005454118829220533,
-0.0016418816521763802,
-0.015015886165201664,
0.03881831467151642,
-0.03913868963718414,
-0.0020014189649373293,
0.03093528002500534,
0.04805327206850052,
-0.0024446207098662853,
0.013295869342982769,
0.03303445130586624,
-0.04733916372060776,
-0.02141941338777542,
-0.00337026990018785,
0.023588282987475395,
-0.0033700582571327686,
0.026629777625203133,
-0.02056770585477352,
-0.08079130947589874,
-0.01316837128251791,
0.02998986840248108,
0.036129262298345566,
0.00225240970030427,
-0.028588388115167618,
0.002258037216961384,
0.06201845780014992,
0.02404903993010521,
0.03796044737100601,
-0.011621272191405296,
-0.01132219284772873,
0.01963937282562256,
-0.004719879478216171,
-0.017409276217222214,
0.03595134615898132,
-0.024517782032489777,
0.03724268078804016,
0.04000120609998703,
-0.005288838408887386,
-0.01418999396264553,
-0.03267964720726013,
0.005706083029508591,
0.01898384466767311,
0.014276060275733471,
-0.00931728444993496,
-0.007686925120651722,
0.02715151570737362,
0.019295398145914078,
-0.05263171344995499,
-0.0392242968082428,
0.01631474681198597,
0.049530480057001114,
-0.028215086087584496,
-0.06006452441215515,
0.0807662159204483,
0.03996889665722847,
0.01801426336169243,
0.018971921876072884,
0.006403720006346703,
-0.030848033726215363,
-0.023607492446899414,
0.03131052851676941,
0.014223016798496246,
-0.005754224490374327,
0.017142361029982567,
-0.04147771745920181,
-0.006273325998336077,
0.071146659553051,
0.004744775127619505,
0.053164515644311905,
-0.01057765819132328,
-0.03170842304825783,
-0.01459871232509613,
-0.011339067481458187,
-0.008426319807767868,
0.007546932436525822,
-0.01598549634218216,
0.014406017027795315,
0.017966631799936295,
0.006472359411418438,
-0.029322758316993713,
0.014200777746737003,
-0.033669959753751755,
0.016593439504504204,
-0.004602290689945221,
0.065406933426857,
0.006365837063640356,
-0.01163424365222454,
0.031157035380601883,
0.03241533041000366,
-0.020296532660722733,
0.003652868326753378,
-0.025491423904895782,
-0.006184134632349014,
0.01810196228325367,
-0.019613925367593765,
-0.011721387505531311,
0.024634208530187607,
0.04200029745697975,
-0.035136107355356216,
-0.0007947941194288433,
-0.0057957470417022705,
-0.013493196107447147,
0.04849866032600403,
0.011478039436042309,
-0.021560771390795708,
0.004295246675610542,
-0.00042326192487962544,
0.022636570036411285,
-0.06088491529226303,
0.04241209849715233,
0.025569215416908264,
0.013513698242604733,
-0.007740337867289782,
0.008715211413800716,
-0.011783157475292683,
-0.012391665019094944,
-0.0015517673455178738,
0.00789486151188612,
0.02276727370917797,
-0.04778256267309189,
0.023790596053004265,
0.014910571277141571,
0.05409577116370201,
0.019405748695135117,
-0.03721220791339874,
-0.0011706507066264749,
-0.008454144932329655,
-0.06421730667352676,
0.0036058297846466303,
0.026052119210362434,
0.03838853910565376,
-0.039672691375017166,
0.007540457881987095,
0.024163736030459404,
0.002429012442007661,
0.019914714619517326,
-0.016822287812829018,
0.023764261975884438,
0.03454029932618141,
-0.016966259106993675,
-0.03624085709452629,
0.015080838464200497,
0.008641272783279419,
-0.01994428038597107,
0.016257701441645622,
-0.006201066076755524,
0.0070371138863265514,
0.02967033162713051,
0.05507251247763634,
0.005123935639858246,
-0.0013070172863081098,
-0.023736976087093353,
0.013429959304630756,
0.03244948387145996,
0.03553638234734535,
-0.05223485827445984,
-0.012459410354495049,
0.008181246928870678,
-0.03690154850482941,
0.019288675859570503,
0.010749676264822483,
-0.02505742385983467,
0.009657294489443302,
0.004912025295197964,
0.01859675534069538,
0.0008899068925529718,
0.020826950669288635,
0.022554192692041397,
-0.01304927933961153,
0.023846963420510292,
0.002632190939038992,
-0.014518789015710354,
-0.02638583444058895,
0.035183582454919815,
0.05106101930141449,
0.0904359370470047,
-0.024979587644338608,
0.02158154733479023,
0.018772954121232033,
0.03381842374801636,
0.042383819818496704,
-0.03201837092638016,
0.0016452950658276677,
-0.01273733377456665,
0.016893651336431503,
0.02650257758796215,
-0.006475645583122969,
-0.0030000442638993263,
0.04487568885087967,
0.03913498669862747,
0.01825006678700447,
-0.028224259614944458,
-0.005566425621509552,
-0.019255438819527626,
-0.015550855547189713,
-0.0267326720058918,
0.006800987757742405,
-0.06996551156044006,
-0.004810561425983906,
0.023067079484462738,
-0.044741369783878326,
-0.03682849183678627,
-0.013061517849564552,
-0.02548499032855034,
-0.009276505559682846,
0.06745217740535736,
0.012371683493256569,
0.036885395646095276,
-0.00690567959100008,
-0.012099121697247028,
-0.028798526152968407,
0.002221760107204318,
0.002145888516679406,
0.01572415791451931,
0.011643742211163044,
0.02457292191684246,
0.023345591500401497,
0.03194868937134743,
0.05027485266327858,
-0.006525525823235512,
0.0047796908766031265,
-0.0016087227268144488,
-0.019083470106124878,
0.019744930788874626,
-0.011416573077440262,
0.009293989278376102,
0.013315156102180481,
0.01749294251203537,
0.008671495132148266,
-0.05634857341647148,
-0.05520094558596611,
0.0034544840455055237,
-0.08524306863546371,
0.02218831703066826,
0.02928830496966839,
-0.0046641090884804726,
-0.04779091849923134,
0.015861986204981804,
0.011093692854046822,
-0.05057109147310257,
0.03206304460763931,
0.034736793488264084,
0.007760316599160433,
0.031916871666908264,
0.0398019403219223,
-0.027617473155260086,
-0.008087549358606339,
0.028207147493958473,
-0.0008205947815440595,
-0.013309507630765438,
0.01998828537762165,
0.02765323594212532,
-0.03822506219148636,
0.04149308800697327,
-0.01462643500417471,
-0.06166287511587143,
0.010641940869390965,
0.04390972480177879,
-0.016009464859962463,
0.0166414026170969,
-0.010664073750376701,
0.038956671953201294,
-0.08074327558279037,
-0.003213420044630766,
0.023890938609838486,
0.03426689654588699,
-0.024532169103622437,
0.04177168756723404,
-0.002134487498551607,
0.019452547654509544,
0.012965456582605839,
-0.020091213285923004,
-0.0029245568439364433,
-0.0017941882833838463,
0.04392709955573082,
-0.019041504710912704,
-0.009977285750210285,
0.02322373352944851,
0.00808078795671463,
-0.029216589406132698,
-0.03168528527021408,
-0.00680979760363698,
-0.08509090542793274,
0.018753670156002045,
0.006462266203016043,
-0.04965542256832123,
0.04404671862721443,
-0.017986023798584938,
0.04607846960425377,
0.026799432933330536,
0.029888713732361794,
0.011862684041261673,
0.0290999636054039,
-0.005792276468127966,
-0.003669130615890026,
0.022139830514788628,
-0.03149133175611496,
0.012728111818432808,
0.02685660682618618,
0.03496744483709335,
0.020083019509911537,
-0.013668402098119259,
0.02413494512438774,
-0.012820573523640633,
0.03921930491924286,
0.05334741994738579,
0.03339535742998123,
0.025376413017511368,
0.06474979221820831,
0.021392935886979103,
-0.0021589568350464106,
0.018651822581887245,
-0.01444504875689745,
0.0034447263460606337,
0.008534196764230728,
0.0003131242992822081,
-0.033158328384160995,
-0.0038755701389163733,
-0.007531356997787952,
0.006947611458599567,
0.022576749324798584,
-0.018195630982518196,
-0.0014148835325613618,
0.020063987001776695,
0.02018141560256481,
0.060543715953826904,
-0.03806068003177643,
-0.018698198720812798,
-0.005860480479896069,
-0.005346759222447872,
-0.039129629731178284,
0.028185153380036354,
-0.0032613787334412336,
0.036263007670640945,
0.03467513993382454,
-0.016611874103546143,
-0.009144343435764313,
0.030619170516729355,
0.01667061261832714,
0.03804945573210716,
-0.014725426211953163,
0.004205343313515186,
-0.06691249459981918,
-0.06839870661497116,
0.0003749938041437417,
-0.0020811837166547775,
-0.009900182485580444,
-0.010442361235618591,
0.06112401932477951,
0.031142016872763634,
0.019378384575247765,
-0.029635114595294,
-0.02238462120294571,
-0.019473595544695854,
-0.019457757472991943,
0.00829765573143959,
0.003839501878246665,
-0.011790287680923939,
-0.01707291230559349,
-0.034620534628629684,
0.0005787418340332806,
0.015277520753443241,
-0.028720708563923836,
-0.0008056609658524394,
0.03707433491945267,
0.010805769823491573,
-0.02343580313026905,
-0.01654972694814205,
0.08480745553970337,
-0.02274145931005478,
-0.033119600266218185,
0.007248886860907078,
0.009309330955147743,
-0.01570858433842659,
-0.009060779586434364,
0.054707515984773636,
0.01914745196700096,
0.03548659756779671,
-0.0428047776222229,
-0.05062207952141762,
-0.03653422370553017,
0.027399633079767227,
0.022733109071850777,
-0.0033117434941232204,
-0.03404013440012932,
-0.03195950388908386,
-0.0045779612846672535,
0.03351301699876785,
-0.014888047240674496,
-0.043120335787534714,
0.030207736417651176,
0.0242666807025671,
-0.005058118142187595,
0.017959849908947945,
-0.039333123713731766,
-0.034594472497701645,
-0.014510566368699074,
0.005295222159475088,
0.05564748868346214,
0.04903947934508324,
-0.012510662898421288,
-0.012462764978408813,
0.009676910936832428,
-0.044211242347955704,
-0.022126980125904083,
-0.02491055801510811,
0.001764533924870193,
-0.01833377219736576,
-0.02468225732445717,
-0.01496308296918869,
-0.0052688755095005035,
0.014955957420170307,
0.021452108398079872,
0.06848690658807755,
0.00981312058866024,
-0.01705043762922287,
-0.016206594184041023,
-0.06546997278928757,
0.004078736063092947,
-0.04202704504132271,
0.017092525959014893,
0.06238657608628273,
0.01201234944164753,
0.008994517847895622,
0.016393741592764854,
-0.03349830582737923,
0.020030690357089043,
0.02728407271206379,
-0.020460737869143486,
-0.01505124568939209,
-0.0043518017046153545,
0.05169297009706497,
-0.07478316128253937,
-0.015684975311160088,
0.01192909199744463,
-0.030952854081988335,
-0.001405671937391162,
-0.023623008280992508,
0.013178224675357342,
0.024666298180818558,
0.015102487988770008,
0.036812830716371536,
0.025954769924283028,
0.015227638185024261,
0.052037566900253296,
0.010895275510847569,
-0.010188036598265171,
-0.006190873216837645
] |
Overview of natively supported quantization schemes in 🤗 Transformers | ybelkada | September 12, 2023 | overview-quantization-transformers | llm, optimization, quantization, comparison, bitsandbytes, gptq | https://huggingface.co/blog/overview-quantization-transformers | Table of contents - Resources - Comparing bitsandbytes and auto-gptq - Diving into speed benchmarks - Conclusion and final words - Acknowledgements | [
0.04224350303411484,
-0.003834604285657406,
0.07685913145542145,
0.03826172277331352,
0.07815276831388474,
0.03309356048703194,
-0.003191366558894515,
0.05748802050948143,
-0.017345145344734192,
-0.09572751820087433,
-0.04255753755569458,
0.056186188012361526,
-0.002674211049452424,
-0.028723476454615593,
0.03148185834288597,
0.05666147172451019,
0.048655278980731964,
-0.04147587716579437,
0.03370136022567749,
-0.0030995707493275404,
0.009313046000897884,
0.0024695182219147682,
0.07797625660896301,
0.03043750673532486,
0.03176320716738701,
-0.04521141201257706,
-0.021954338997602463,
-0.03473211079835892,
-0.07264876365661621,
-0.0038076909258961678,
-0.08072587847709656,
-0.04299583286046982,
0.040740691125392914,
0.002453563502058387,
-0.011296720243990421,
-0.07620091736316681,
-0.07776308059692383,
0.03426961973309517,
0.032506830990314484,
-0.0655871257185936,
0.002760171890258789,
-0.04292692989110947,
-0.030126456171274185,
0.08204954862594604,
-0.029688265174627304,
0.057575009763240814,
-0.20983585715293884,
0.09611765295267105,
-0.04572029784321785,
-0.06840536743402481,
-0.007891645655035973,
0.0344553105533123,
-0.04338223114609718,
0.039640557020902634,
0.016683261841535568,
0.06140492856502533,
0.023549485951662064,
-0.04707504063844681,
-0.0035929277073591948,
-0.02595604583621025,
0.1108822301030159,
-0.04896165430545807,
-0.001610889914445579,
0.006009427364915609,
0.049316782504320145,
-0.01876191422343254,
-0.023686427623033524,
0.02931193634867668,
-0.04876348376274109,
0.05859094113111496,
0.02865574322640896,
-0.03971492126584053,
-0.008879686705768108,
-0.022877398878335953,
-0.007824080064892769,
-0.028396915644407272,
-0.0015617071185261011,
0.009763585403561592,
0.07082965970039368,
0.03450784087181091,
0.004619509447365999,
0.057614196091890335,
0.042338740080595016,
0.02255389839410782,
0.03259839862585068,
-0.023769084364175797,
0.04622935876250267,
-0.009629559703171253,
-0.01869831047952175,
0.029117973521351814,
-0.025200795382261276,
-0.08586191385984421,
0.03649676963686943,
0.005258916411548853,
-0.010321052744984627,
-0.07609394937753677,
0.01027748454362154,
0.02430499717593193,
0.01239263266324997,
0.06111060455441475,
-0.010056854225695133,
0.03189540281891823,
0.044106535613536835,
-0.04133950546383858,
0.009087351150810719,
0.03198535740375519,
-0.07331426441669464,
-0.1109684556722641,
-0.029168058186769485,
0.08252177387475967,
-0.004820927977561951,
0.04938054084777832,
0.025068150833249092,
-0.019192874431610107,
-0.07491978257894516,
0.02143978886306286,
-0.031176678836345673,
-0.02102716639637947,
0.04657163843512535,
0.06200501695275307,
-0.013964395970106125,
0.08682284504175186,
0.04864594712853432,
-0.04151599854230881,
0.0421595573425293,
-0.0591905415058136,
0.0922013372182846,
0.009731524623930454,
-0.037828102707862854,
-0.0025526119861751795,
0.03920842334628105,
-0.03934381902217865,
0.023131275549530983,
-0.01477918028831482,
-0.07377540320158005,
-0.05292496457695961,
-0.04202990606427193,
-0.026469044387340546,
-0.07467971742153168,
0.01999383233487606,
-0.025989992544054985,
0.006986425258219242,
-0.0012964991619810462,
0.015433992259204388,
-0.008732134476304054,
-0.01033614668995142,
-0.07951610535383224,
0.016602860763669014,
-0.022736307233572006,
-0.02880142629146576,
-0.04814566299319267,
0.044090636074543,
-0.041275810450315475,
-0.07661423087120056,
0.03523915633559227,
0.04612353816628456,
0.012256897054612637,
0.03791020065546036,
-0.0801587849855423,
-0.04817048832774162,
-0.01702304743230343,
-0.03431020677089691,
0.004394444637000561,
-0.03466922417283058,
0.02764390967786312,
-0.00824675615876913,
0.004298777785152197,
0.027202818542718887,
-0.024980442598462105,
-0.04781419411301613,
-0.002163773402571678,
-0.006250659469515085,
0.08654692769050598,
-0.002134040230885148,
-0.022277653217315674,
0.06806859374046326,
0.07005274295806885,
0.09601213783025742,
0.009816939011216164,
-0.0520777702331543,
-0.034169554710388184,
-0.005512597505003214,
0.007171199657022953,
0.06292471289634705,
-0.01428954303264618,
-0.05271992087364197,
0.06294906139373779,
-0.000497650820761919,
-0.017466433346271515,
0.01953301951289177,
-0.09468244761228561,
-0.07093016803264618,
0.10054543614387512,
-0.027595875784754753,
0.006008118391036987,
-0.08662979304790497,
0.01748254895210266,
0.10270051658153534,
0.0828845202922821,
0.06112362816929817,
0.026729416102170944,
0.008009440265595913,
0.060066159814596176,
-0.05227750167250633,
-0.04271271079778671,
0.046382252126932144,
0.01268564723432064,
0.03291449323296547,
0.011516373604536057,
-0.046800870448350906,
-0.01327098160982132,
-0.08906165510416031,
-0.0029066880233585835,
-0.02805951237678528,
-0.027782047167420387,
0.003229541005566716,
0.023964477702975273,
-0.005915741436183453,
0.06625095009803772,
-0.07908276468515396,
0.09774229675531387,
0.0014113710494711995,
0.0014710795367136598,
0.037368230521678925,
-0.014982350170612335,
0.07698169350624084,
0.07299035042524338,
0.017871273681521416,
0.04971262067556381,
-0.06533337384462357,
-0.023011183366179466,
-0.0744192823767662,
0.015309820882976055,
0.10948187112808228,
0.05707702413201332,
0.03322989121079445,
-0.018819665536284447,
-0.025348829105496407,
0.06565920263528824,
-0.016090931370854378,
-0.011150287464261055,
0.012864796444773674,
-0.019702637568116188,
0.08694368600845337,
-0.03036000393331051,
-0.052470240741968155,
0.06601602584123611,
-0.014535387046635151,
-0.06661303341388702,
0.007192288991063833,
-0.04960893839597702,
0.03876583278179169,
0.045214273035526276,
-0.013961732387542725,
0.04880719259381294,
-0.04829898849129677,
-0.0011805020039901137,
-0.006949646398425102,
-0.01887202449142933,
0.012239246629178524,
0.0022380545269697905,
-0.006064348854124546,
-0.02514413744211197,
-0.033812377601861954,
0.04439453408122063,
-0.024581024423241615,
-0.005992970895022154,
0.021149782463908195,
-0.00911250151693821,
0.003455257508903742,
-0.03067387267947197,
-0.0014788213884457946,
0.04279116913676262,
0.02029714360833168,
-0.019993601366877556,
-0.01299431174993515,
0.03391572833061218,
-0.023107832297682762,
0.010889686644077301,
0.004208764992654324,
0.0031870699021965265,
-0.02468910440802574,
0.03325089439749718,
-0.019631948322057724,
0.0032715594861656427,
-0.022984230890870094,
0.004226391669362783,
-0.03659804165363312,
-0.05311870202422142,
-0.0038962927646934986,
-0.007927454076707363,
0.011925103142857552,
-0.016545118764042854,
-0.03468199074268341,
0.03895072638988495,
0.0022698238026350737,
-0.029109567403793335,
0.013584415428340435,
-0.01832682266831398,
-0.00273869838565588,
0.018610183149576187,
0.02074548602104187,
-0.020336853340268135,
0.010772849433124065,
-0.03180686756968498,
0.026322921738028526,
0.007992077618837357,
0.05619676038622856,
-0.1401141881942749,
0.002995428629219532,
0.04851927608251572,
0.04877980425953865,
0.011262697167694569,
-0.04283712059259415,
0.05729284510016441,
-0.015737168490886688,
-0.02204892411828041,
-0.007711654994636774,
0.036829784512519836,
0.00020513460913207382,
0.029369859024882317,
-0.001959859859198332,
-0.0022157581988722086,
0.04419398307800293,
-0.008989102207124233,
0.0027352620381861925,
-0.014663239009678364,
0.003316072514280677,
-0.01428531389683485,
0.03543654829263687,
-0.004517310298979282,
-0.0101843923330307,
-0.03587369993329048,
0.032164279371500015,
0.023387670516967773,
0.02468489482998848,
0.040874090045690536,
0.008849713951349258,
-0.04375753179192543,
0.0158943310379982,
-0.017106417566537857,
0.04243628680706024,
0.022469716146588326,
-0.047454584389925,
-0.01959078758955002,
0.027990201488137245,
-0.010542058385908604,
0.05579455569386482,
0.029718367382884026,
0.0066911522299051285,
0.06951407343149185,
0.005554793868213892,
-0.021713852882385254,
0.029110334813594818,
-0.0036504482850432396,
0.015499528497457504,
0.05636942386627197,
-0.04736851155757904,
-0.055501729249954224,
0.012176974676549435,
-0.00832895003259182,
0.044423721730709076,
-0.0005644630291499197,
-0.006979810073971748,
-0.01339656300842762,
0.019977223128080368,
0.03880724683403969,
-0.013022554107010365,
0.0003425999020691961,
0.012379170395433903,
0.03980052098631859,
-0.014278133399784565,
-0.034188009798526764,
0.0647815465927124,
-0.02650986984372139,
-0.00532453041523695,
-0.03148187696933746,
0.023703228682279587,
-0.015138357877731323,
0.011913835071027279,
0.015431673265993595,
0.012271660380065441,
-0.004158321302384138,
0.03808215633034706,
-0.038349393755197525,
-0.003109011333435774,
0.0649009421467781,
0.009295573458075523,
-0.005748064257204533,
-0.01615227572619915,
-0.021565331146121025,
-0.0212327241897583,
0.0007939589559100568,
0.009430645033717155,
-0.009399713948369026,
0.012842172756791115,
0.02052103355526924,
0.019832689315080643,
0.03857976198196411,
-0.02396700158715248,
0.006183543708175421,
-0.015618827193975449,
0.00555321155115962,
0.0012650799471884966,
0.06173752620816231,
0.008172215893864632,
0.03071281686425209,
0.00552000617608428,
0.03257463499903679,
-0.01378622930496931,
0.0063143325969576836,
-0.021690288558602333,
-0.01955758035182953,
0.04135556146502495,
-0.018000315874814987,
-0.020354947075247765,
-0.0024511523079127073,
0.0487288162112236,
0.022046970203518867,
-0.03102429024875164,
0.02423728257417679,
0.0009490384254604578,
0.009597597643733025,
0.019003452733159065,
-0.029470521956682205,
-0.048538144677877426,
0.01286562904715538,
0.008735249750316143,
-0.016779139637947083,
0.016618425026535988,
-0.006080471910536289,
-0.013108531944453716,
0.019722595810890198,
-0.004036587197333574,
-0.004376641474664211,
-0.003227420849725604,
-0.033993422985076904,
-0.011366269551217556,
-0.009389033541083336,
-0.04769917204976082,
0.02686157450079918,
-0.005356763489544392,
0.007905686274170876,
0.003204229986295104,
-0.018253473564982414,
0.018395567312836647,
-0.020840175449848175,
-0.08406443148851395,
0.019405188038945198,
0.042922407388687134,
0.02129175327718258,
-0.03439044579863548,
0.026216918602585793,
0.016999708488583565,
0.019583074375987053,
0.001964201685041189,
-0.003000041237100959,
0.01694498211145401,
0.04518879950046539,
-0.0664624273777008,
-0.013568713329732418,
0.008296404033899307,
0.01019548624753952,
-0.006848970893770456,
0.027111399918794632,
-0.02619164250791073,
-0.039784353226423264,
0.03211907297372818,
0.013594700954854488,
-0.010477558709681034,
-0.026679659262299538,
0.0001878965849755332,
-0.014656099490821362,
0.02425946667790413,
0.026714937761425972,
-0.008919400162994862,
0.004706059582531452,
0.011292714625597,
-0.009762183763086796,
0.014500790275633335,
0.020597388967871666,
-0.019070018082857132,
0.035658545792102814,
0.014692406170070171,
-0.004233210347592831,
0.0012045137118548155,
0.033526964485645294,
0.013812634162604809,
0.016072003170847893,
-0.02155504748225212,
0.014028136618435383,
0.0017695999704301357,
-0.014197573997080326,
0.03833393007516861,
0.04864804074168205,
0.04697530344128609,
-0.0031247760634869337,
0.050988562405109406,
0.023377547040581703,
0.0005926467129029334,
0.003082476556301117,
-0.04573367163538933,
0.008945949375629425,
-0.029440322890877724,
0.035567909479141235,
0.003543884726241231,
-0.01287012454122305,
-0.013349074870347977,
0.04075164720416069,
0.04424837976694107,
0.002479706658050418,
-0.008633091114461422,
0.010014860890805721,
0.03154098987579346,
0.0025143518578261137,
-0.03832649439573288,
-0.011045439168810844,
-0.030057508498430252,
-0.010609021410346031,
0.031199276447296143,
-0.06598692387342453,
-0.043750274926424026,
0.005856015253812075,
-0.011484809219837189,
-0.04751777648925781,
0.08002104610204697,
0.023103613406419754,
0.01074311975389719,
-0.012324432842433453,
0.006699194200336933,
-0.027825282886624336,
0.03969012573361397,
0.017276380211114883,
0.014280610717833042,
-0.02179037407040596,
0.02705341950058937,
-0.0031423564068973064,
0.033834025263786316,
0.022219188511371613,
-0.03339735418558121,
-0.013078208081424236,
0.0009877090342342854,
0.027568282559514046,
0.00606257189065218,
-0.023346617817878723,
0.012069840915501118,
-0.012091537937521935,
-0.0018384393770247698,
0.005348150618374348,
-0.027737664058804512,
0.003856370225548744,
-0.012317110784351826,
-0.09192981570959091,
0.011028007604181767,
0.0716693326830864,
0.004820100963115692,
-0.012814439833164215,
-0.0023664275649935007,
-0.012073546648025513,
-0.02364453114569187,
0.0041079227812588215,
0.01383921131491661,
0.014484791085124016,
0.020334649831056595,
-0.007614903151988983,
-0.025533171370625496,
0.01568048633635044,
-0.0008906458970159292,
0.022266685962677002,
-0.02670474164187908,
0.003193421522155404,
0.037381574511528015,
-0.0271004606038332,
0.02917998656630516,
0.012533595785498619,
-0.038366809487342834,
0.0157279372215271,
0.009196816012263298,
-0.014735429547727108,
0.017602184787392616,
0.007202319335192442,
0.035787664353847504,
-0.03101525455713272,
0.006556350272148848,
0.026682280004024506,
0.03648560121655464,
0.01064473856240511,
0.002366563305258751,
-0.005612148437649012,
0.023980123922228813,
0.04689672589302063,
-0.009669145569205284,
-0.05645260959863663,
-0.007068433333188295,
0.031897999346256256,
-0.014330310747027397,
0.027587376534938812,
0.03902274742722511,
0.010722866281867027,
-0.023341936990618706,
-0.01610298454761505,
0.002764230128377676,
-0.05771871283650398,
-0.02185145765542984,
0.00782183837145567,
-0.03935479745268822,
0.02825169824063778,
-0.03898058459162712,
0.040057066828012466,
-0.004210303071886301,
-0.009359686635434628,
-0.012344619259238243,
-0.008869243785738945,
-0.015019327402114868,
-0.007708159275352955,
-0.01627003774046898,
-0.0014606916811317205,
-0.040393926203250885,
0.01262190192937851,
0.060210198163986206,
-0.028265923261642456,
0.016274690628051758,
-0.01385974045842886,
-0.07940742373466492,
0.04944892227649689,
0.005959238391369581,
-0.009962731041014194,
0.007132946513593197,
0.04535675048828125,
0.007043688092380762,
-0.012580645270645618,
0.01611565425992012,
-0.04674404859542847,
-0.014498445205390453,
0.0272846519947052,
-0.01793101616203785,
-0.01890357956290245,
-0.019493836909532547,
0.033782489597797394,
0.030343005433678627,
-0.025296352803707123,
-0.006651757284998894,
-0.003022851189598441,
0.05216386541724205,
-0.014066229574382305,
0.05020396411418915,
-0.04029320552945137,
-0.025289447978138924,
-0.010634577833116055,
0.030612805858254433,
-0.007611443288624287,
0.021597767248749733,
-0.03628598898649216,
0.01616787351667881,
0.022212402895092964,
-0.005548452492803335,
-0.05403290316462517,
-0.021227795630693436,
0.013952643610537052,
0.03058256395161152,
0.00562727777287364,
0.035273611545562744,
-0.01916065439581871,
-0.008174004033207893,
0.01755524054169655,
0.007858546450734138,
0.016743335872888565,
-0.02869286574423313,
0.020329922437667847,
0.04679553583264351,
0.03926325589418411,
-0.02290656417608261,
-0.023865072056651115,
0.001554650953039527,
-0.05470955744385719,
-0.021434424445033073,
0.025807373225688934,
0.010949598625302315,
-0.03618272393941879,
-0.026532229036092758,
0.00010048843250842765,
0.0004716108669526875,
-0.03478796407580376,
-0.02605491504073143,
0.004198677372187376,
-0.015629542991518974,
-0.00616979505866766,
-0.02030372992157936,
0.05780796706676483,
-0.019259938970208168,
0.038305334746837616,
0.021181859076023102,
-0.004506500903517008,
-0.002562576439231634,
-0.01886984147131443,
0.016974689438939095,
-0.002139981370419264,
0.03387708589434624,
-0.026565436273813248,
-0.05616308003664017,
-0.0283208005130291,
-0.01654464192688465,
0.007029325235635042,
-0.005249495152384043,
-0.0622708722949028,
-0.036289893090724945,
0.004528982564806938,
0.012624076567590237,
-0.03165688365697861,
-0.022083256393671036,
0.024697542190551758,
0.011330618523061275,
0.013768093660473824,
0.012141669169068336,
-0.015055178664624691,
-0.019953731447458267,
-0.01995811052620411,
-0.009602307341992855,
0.04434971883893013,
0.045823223888874054,
-0.01776156760752201,
-0.03571103513240814,
0.03089979477226734,
-0.045034077018499374,
-0.01748896762728691,
-0.010779209434986115,
0.03925158828496933,
0.005109826568514109,
-0.009567325003445148,
-0.020696032792329788,
-0.0030170632526278496,
0.03662499412894249,
0.03163639456033707,
0.05333666875958443,
-0.003980429843068123,
0.019911279901862144,
-0.013757598586380482,
-0.03815947100520134,
-0.0023423463571816683,
-0.014179034158587456,
0.040334511548280716,
0.05231009051203728,
0.04070437327027321,
-0.00992264598608017,
-0.012281189672648907,
-0.03407745435833931,
0.007620517164468765,
0.021730825304985046,
-0.01763956807553768,
-0.019419392570853233,
0.0026478481013327837,
-0.002259140368551016,
-0.034990813583135605,
-0.055961381644010544,
0.03092583455145359,
-0.0033596213907003403,
-0.0027050513308495283,
-0.014991250820457935,
-0.03870953246951103,
0.01465508434921503,
-0.018028005957603455,
0.053432442247867584,
0.030868878588080406,
0.041853167116642,
0.044172197580337524,
0.014929727651178837,
-0.01523450668901205,
0.013029039837419987
] |
Fine-tuning Llama 2 70B using PyTorch FSDP | smangrul | September 13, 2023 | ram-efficient-pytorch-fsdp | llm, guide, nlp | https://huggingface.co/blog/ram-efficient-pytorch-fsdp | Hardware Used Number of nodes: 2. Minimum required is 1. Number of GPUs per node: 8 GPU type: A100 GPU memory: 80GB intra-node connection: NVLink RAM per node: 1TB CPU cores per node: 96 inter-node connection: Elastic Fabric Adapter | [
0.03790469467639923,
0.05069654807448387,
0.0864759087562561,
0.04334193095564842,
0.06486224383115768,
-0.02292804792523384,
-0.01864234358072281,
0.0782751515507698,
-0.03700033575296402,
-0.1279836893081665,
0.007284512277692556,
0.04378684237599373,
0.010626429691910744,
0.04005947709083557,
0.026059776544570923,
0.0335102453827858,
0.016935311257839203,
0.006559448316693306,
-0.007420582231134176,
-0.0011416978668421507,
0.005665352568030357,
-0.026302145794034004,
0.06699151545763016,
0.05510515347123146,
0.06175008416175842,
-0.08918290585279465,
-0.09505821764469147,
-0.017750874161720276,
0.012825124897062778,
0.011700895614922047,
-0.061417918652296066,
0.08267053216695786,
-0.031166328117251396,
-0.08802171051502228,
0.030238479375839233,
-0.01140034943819046,
-0.1236407682299614,
0.08886599540710449,
0.004845858085900545,
-0.01897221989929676,
-0.07298219949007034,
-0.021740444004535675,
-0.06418035924434662,
0.06892263144254684,
-0.00296482490375638,
0.011235586367547512,
-0.07403246313333511,
0.07404486835002899,
-0.041159048676490784,
0.04484432190656662,
-0.06721316277980804,
-0.00841206032782793,
0.028478922322392464,
0.002038928447291255,
0.01074772048741579,
0.013812842778861523,
-0.039261627942323685,
0.024115974083542824,
0.05428916960954666,
0.0456976443529129,
0.05313859134912491,
0.025422820821404457,
-0.04387496039271355,
0.03364545479416847,
0.007944109849631786,
-0.07945656776428223,
0.0032701692543923855,
-0.017926305532455444,
-0.05266031622886658,
0.022648483514785767,
0.05065254122018814,
-0.030887076631188393,
0.048957549035549164,
-0.0026279124431312084,
-0.044662002474069595,
-0.09466292709112167,
0.03531995043158531,
-0.011598366312682629,
0.10943395644426346,
0.10617894679307938,
-0.025110464543104172,
0.03190421685576439,
0.03230923041701317,
0.03038497269153595,
-0.015065422281622887,
0.0069219074212014675,
0.020702537149190903,
0.02737695910036564,
-0.05896349251270294,
0.08910590410232544,
-0.018680555745959282,
-0.06028028950095177,
0.006081719882786274,
0.02922377549111843,
0.00827114935964346,
-0.03824684023857117,
0.0017703421181067824,
-0.009695730172097683,
0.005112774204462767,
0.04821295291185379,
0.04166320338845253,
-0.004129271954298019,
0.030855916440486908,
-0.032094262540340424,
-0.05027993768453598,
0.05851222947239876,
0.008414601907134056,
-0.0714607909321785,
-0.038526199758052826,
-0.03510063514113426,
-0.02317950688302517,
0.008219216950237751,
-0.027255119755864143,
0.02158515341579914,
-0.04902666434645653,
0.05714590847492218,
-0.0056674848310649395,
-0.026082981377840042,
0.005735581275075674,
0.030998513102531433,
0.041455548256635666,
0.09281259030103683,
0.03026820905506611,
-0.006863162852823734,
-0.011974039487540722,
0.043722741305828094,
0.02111227437853813,
-0.010739398188889027,
-0.06414495408535004,
-0.026309922337532043,
0.0702177882194519,
-0.04687929525971413,
-0.023776035755872726,
-0.00459002610296011,
-0.014267820864915848,
-0.049735177308321,
-0.03736935928463936,
0.03140531852841377,
0.02834332175552845,
0.028280090540647507,
-0.06410510838031769,
-0.0029515521600842476,
-0.028350956737995148,
0.022722531110048294,
0.037253960967063904,
-0.014802115969359875,
0.01646788977086544,
-0.018963254988193512,
-0.035146042704582214,
-0.01738349162042141,
-0.11754974722862244,
0.032469261437654495,
-0.06728439778089523,
-0.012458746321499348,
0.02183123677968979,
0.023925306275486946,
0.03519027680158615,
-0.03207121044397354,
-0.14050906896591187,
-0.04009094834327698,
-0.01986786536872387,
0.028884559869766235,
0.014824229292571545,
0.050062231719493866,
0.037775274366140366,
0.01002652570605278,
0.09295807778835297,
-0.01724754460155964,
0.08209796994924545,
-0.0004242729628458619,
-0.02846977673470974,
0.009838994592428207,
-0.016024960204958916,
0.012249669060111046,
-0.052684757858514786,
0.03640202060341835,
0.07587806135416031,
0.023124363273382187,
-0.052330177277326584,
-0.02571343444287777,
-0.00023103138664737344,
0.03168546035885811,
-0.015820518136024475,
0.038695674389600754,
-0.06039460003376007,
-0.08443287760019302,
-0.01989450864493847,
-0.03331095725297928,
-0.0282294861972332,
-0.04664492607116699,
0.031799640506505966,
-0.08608962595462799,
0.03969542309641838,
0.05199027806520462,
0.020303798839449883,
-0.0198005810379982,
0.0167256910353899,
0.08968989551067352,
0.01573357917368412,
0.044663961976766586,
0.05428610369563103,
0.015292391180992126,
0.010105207562446594,
-0.043769825249910355,
-0.07743953913450241,
-0.011988463811576366,
-0.006282301153987646,
-0.03111480176448822,
0.055557720363140106,
-0.057294152677059174,
-0.030915727838873863,
-0.089723140001297,
-0.014729558490216732,
-0.02688075602054596,
0.08095604926347733,
0.005817541386932135,
0.021746497601270676,
-0.012897456996142864,
0.07313020527362823,
-0.03141549229621887,
0.15712812542915344,
0.007905048318207264,
-0.000578648061491549,
0.03630606457591057,
-0.05286769941449165,
0.004151066765189171,
0.022960586473345757,
0.006044583860784769,
0.010754971764981747,
-0.028515230864286423,
-0.08138518780469894,
-0.030681170523166656,
-0.020985830575227737,
0.08403216302394867,
0.02426297776401043,
0.060444630682468414,
-0.03495148569345474,
0.03879623860120773,
0.062441468238830566,
-0.0392456017434597,
-0.025585321709513664,
0.05011683702468872,
-0.029806969687342644,
-0.025277305394411087,
0.028215402737259865,
-0.05669455602765083,
0.04680021479725838,
-0.013806303963065147,
-0.03425516188144684,
-0.03886483237147331,
-0.055197253823280334,
-0.024273891001939774,
0.0023320724721997976,
0.00012966696522198617,
0.09914809465408325,
-0.027343174442648888,
-0.02780633233487606,
-0.057263944298028946,
0.011003676801919937,
0.02358933538198471,
-0.04053189605474472,
0.002531975507736206,
0.01112084835767746,
-0.0393403023481369,
0.026850059628486633,
-0.02991386130452156,
-0.007242679130285978,
-0.03464995697140694,
-0.008689266629517078,
0.01677165925502777,
0.04029569774866104,
-0.01994793862104416,
0.03180111199617386,
-0.005681861191987991,
-0.0007788370712660253,
-0.02256663516163826,
0.013353942893445492,
-0.03182550147175789,
0.029202183708548546,
-0.04684356972575188,
0.03673647716641426,
0.0028373829554766417,
0.05225849896669388,
0.019500616937875748,
-0.013290192000567913,
-0.003675245912745595,
0.02418464981019497,
-0.003525856416672468,
0.018617132678627968,
-0.02778625674545765,
-0.04927235469222069,
-0.011522186920046806,
-0.0076090628281235695,
-0.01991972327232361,
-0.01688920147716999,
0.0389874167740345,
-0.03257197141647339,
0.0087210638448596,
-0.04225356504321098,
-0.01973475143313408,
-0.04693539813160896,
0.03343513235449791,
-0.003508527297526598,
-0.01816108636558056,
-0.071846604347229,
0.021294482052326202,
-0.0005068150348961353,
0.0419502854347229,
-0.09845216572284698,
-0.012451009824872017,
-0.005191267468035221,
0.056369636207818985,
-0.024136489257216454,
0.005189667921513319,
-0.013635169714689255,
0.03971763327717781,
0.057283077389001846,
-0.04101967439055443,
-0.01341126300394535,
0.08603639155626297,
0.018705224618315697,
-0.03711135685443878,
-0.025497937574982643,
0.052264053374528885,
0.050413578748703,
-0.01612570881843567,
0.064551942050457,
-0.04424554482102394,
-0.047518011182546616,
-0.0005685542128048837,
-0.040778834372758865,
-0.020356176421046257,
-0.023285916075110435,
-0.016116051003336906,
0.011103279888629913,
-0.009142560884356499,
0.0053664036095142365,
-0.02592979371547699,
-0.04822868853807449,
-0.008313394151628017,
-0.00489621190354228,
-0.0147095937281847,
-0.02444285713136196,
-0.059601232409477234,
-0.007056795060634613,
0.013865155167877674,
0.0015312173636630177,
0.04031781852245331,
0.001966573763638735,
-0.00876210443675518,
0.02336357720196247,
-0.0025708104949444532,
0.03021172434091568,
-0.008198685944080353,
0.0414661169052124,
0.026262160390615463,
0.008984281681478024,
0.027126185595989227,
-0.035677470266819,
-0.02517756074666977,
-0.006828479468822479,
0.03406922146677971,
0.013254697434604168,
-0.005209800321608782,
-0.020866544917225838,
0.06936763972043991,
0.011041761375963688,
-0.035555869340896606,
-0.06682278215885162,
-0.041748300194740295,
0.02947475016117096,
0.014234351925551891,
-0.015778467059135437,
0.03240286931395531,
0.02550363726913929,
0.04696931689977646,
-0.019656280055642128,
0.04721173644065857,
0.007508606184273958,
0.04857669025659561,
0.029083790257573128,
0.014243580400943756,
-0.032466258853673935,
0.0011733821593225002,
-0.03459814190864563,
-0.0035222675651311874,
0.01501553412526846,
-0.005778459366410971,
0.006162167526781559,
-0.008321513421833515,
-0.029114509001374245,
-0.06096292659640312,
0.02274157851934433,
0.0039005775470286608,
-0.005910137202590704,
0.0034914319403469563,
0.02200257033109665,
0.020122455433011055,
-0.005229232367128134,
-0.023479923605918884,
0.04538433626294136,
0.004887972958385944,
0.02045864425599575,
-0.023662813007831573,
0.039380695670843124,
-0.01596764102578163,
0.018365442752838135,
0.04877975210547447,
0.009339658543467522,
-0.03284600377082825,
0.06077638640999794,
0.02022698149085045,
0.008696848526597023,
0.015931732952594757,
-0.0015728992875665426,
0.015780936926603317,
0.04213172197341919,
0.017032651230692863,
0.05863234028220177,
-0.016312740743160248,
0.05557718873023987,
-0.03023270145058632,
0.024534791707992554,
0.036621272563934326,
0.02138637751340866,
-0.01088572759181261,
0.002576980972662568,
-0.007826650515198708,
-0.0043694027699530125,
-0.0020379889756441116,
-0.011677615344524384,
-0.001775706303305924,
0.02537050098180771,
-0.01486736536026001,
0.04251508787274361,
0.00292615476064384,
-0.019184235483407974,
-0.017964312806725502,
-0.008006281219422817,
-0.022025028243660927,
0.012134714052081108,
0.019079145044088364,
-0.01486365869641304,
0.002253810642287135,
-0.03101324662566185,
-0.01608828455209732,
0.017266064882278442,
-0.026470491662621498,
-0.03167322278022766,
0.0036854082718491554,
0.032335735857486725,
0.014059045352041721,
0.029699599370360374,
0.01801888644695282,
-0.034279316663742065,
0.022633936256170273,
-0.06392829120159149,
0.02661798521876335,
0.0060285162180662155,
0.015049380250275135,
-0.016250448301434517,
0.04375666752457619,
-0.017422577366232872,
0.008609330281615257,
0.03362083062529564,
0.010363416746258736,
0.017326567322015762,
0.022105466574430466,
0.008359607309103012,
-0.022569933906197548,
0.0013133165193721652,
0.03929341584444046,
0.01503223367035389,
-0.02028704062104225,
0.012746685184538364,
-0.011746495962142944,
-0.03874664381146431,
-0.0037979132030159235,
0.025169208645820618,
-0.0020114595536142588,
-0.029542669653892517,
-0.05014355108141899,
0.01908181421458721,
0.03017989918589592,
0.005394989624619484,
0.006190001033246517,
-0.007870880886912346,
0.03648202493786812,
-0.03904937207698822,
-0.00004833248021895997,
-0.0070538949221372604,
0.00022328451450448483,
-0.015472947619855404,
0.023002319037914276,
0.023249760270118713,
0.03565877303481102,
0.0375790037214756,
0.03113413415849209,
0.012740973383188248,
-0.023020679131150246,
0.02164597623050213,
-0.006646424066275358,
0.058473434299230576,
-0.03731229528784752,
0.03080536611378193,
0.02190430834889412,
0.019785307347774506,
-0.012702477164566517,
0.00464613176882267,
0.0468011274933815,
0.02422644942998886,
0.0072412253357470036,
0.016089944168925285,
0.023657597601413727,
0.050349149852991104,
-0.036994028836488724,
0.032968442887067795,
0.020522914826869965,
-0.010215169750154018,
-0.015346374362707138,
-0.022985845804214478,
0.01274612545967102,
-0.018422603607177734,
-0.03584359958767891,
-0.04208235815167427,
0.03225971758365631,
0.007879740558564663,
0.04953548684716225,
-0.010110375471413136,
0.004192720633000135,
-0.004458172712475061,
-0.01043850276619196,
0.04034806787967682,
-0.0010964348912239075,
0.051690712571144104,
-0.014119605533778667,
-0.025764746591448784,
0.03629743680357933,
0.026599742472171783,
-0.047775089740753174,
-0.018217049539089203,
0.00004666818131227046,
0.057421598583459854,
0.020651016384363174,
-0.03300967440009117,
0.003631518455222249,
0.05378837138414383,
0.023310888558626175,
-0.027110395953059196,
-0.011351652443408966,
-0.04936457797884941,
-0.007476290687918663,
-0.03303689509630203,
-0.0022857217118144035,
0.05833351984620094,
-0.01443023793399334,
0.00896215159446001,
0.0159844309091568,
0.04176344349980354,
-0.022810811176896095,
-0.007029764819890261,
-0.01998865231871605,
-0.009798994287848473,
-0.012256409041583538,
0.01135892141610384,
-0.014593619853258133,
0.019799768924713135,
-0.026136960834264755,
-0.012163792736828327,
-0.0781109556555748,
0.033410001546144485,
0.020280949771404266,
0.004139612428843975,
-0.031036313623189926,
-0.03805568814277649,
-0.04133487865328789,
-0.0010733428644016385,
0.06065244972705841,
-0.004734641406685114,
0.031346067786216736,
-0.04930385947227478,
0.009135972708463669,
-0.062464386224746704,
0.0031743354629725218,
0.031894586980342865,
0.01886354573071003,
-0.012788933701813221,
0.04891139641404152,
-0.013814792968332767,
0.07759740948677063,
0.011190746910870075,
0.04761045426130295,
-0.02974088303744793,
0.022479984909296036,
0.07714855670928955,
0.01499779149889946,
0.0331060029566288,
-0.01157531701028347,
0.009890330024063587,
0.001122390036471188,
0.008180961944162846,
-0.011405089870095253,
-0.06668630242347717,
0.001029526931233704,
0.007226200308650732,
-0.03848012536764145,
-0.010215182788670063,
-0.02984735555946827,
0.0014245121274143457,
0.04510903358459473,
0.002143066143617034,
0.013096252456307411,
0.016833201050758362,
-0.009028751403093338,
0.018823569640517235,
0.04325781390070915,
0.03716409206390381,
-0.023586692288517952,
0.02807736210525036,
0.026622863486409187,
0.0034158763010054827,
0.029454270377755165,
-0.010146725922822952,
-0.04241416975855827,
0.011487373150885105,
0.01753019355237484,
-0.01517656072974205,
0.020420465618371964,
0.008962330408394337,
-0.00876971147954464,
0.010225470177829266,
-0.013298331759870052,
-0.046067044138908386,
0.03132431581616402,
-0.02233853004872799,
-0.008773100562393665,
-0.021430306136608124,
-0.014714837074279785,
0.01506655104458332,
0.0063800388015806675,
0.02838573418557644,
-0.00715566286817193,
-0.00039468842442147434,
0.024615734815597534,
-0.052261997014284134,
0.015579642727971077,
-0.06605684012174606,
-0.01319863647222519,
-0.01261074747890234,
0.03084917739033699,
-0.013066206127405167,
0.03976324945688248,
-0.008033739402890205,
0.0004205862642265856,
0.038757581263780594,
-0.030780348926782608,
-0.016732346266508102,
-0.006750904023647308,
-0.010203134268522263,
-0.01815473847091198,
0.0031660976819694042,
0.028577933087944984,
-0.0035654439125210047,
-0.06050335243344307,
0.031019916757941246,
0.006893946323543787,
0.06086183711886406,
-0.05010302737355232,
-0.01176146138459444,
0.0417490154504776,
0.004113438073545694,
0.005684058181941509,
-0.03074115701019764,
0.006516983732581139,
-0.04341072216629982,
-0.017214089632034302,
0.021946299821138382,
-0.029922476038336754,
0.008272414095699787,
0.00744314631447196,
0.020127730444073677,
-0.0021044795867055655,
-0.05251801013946533,
0.014231055043637753,
-0.04358140006661415,
-0.04587230831384659,
0.005098800640553236,
0.010965152643620968,
0.0223715677857399,
-0.024337027221918106,
0.010475636459887028,
0.03146613761782646,
-0.02251085825264454,
-0.011054699309170246,
0.008100846782326698,
-0.018287425860762596,
0.0009547356166876853,
0.0349738784134388,
-0.012985129840672016,
-0.0440809540450573,
-0.00026880859513767064,
-0.01588551700115204,
0.033009033650159836,
0.04264086112380028,
-0.05949927121400833,
-0.013723421841859818,
-0.009954591281712055,
-0.01123366691172123,
0.008892318233847618,
0.022948062047362328,
0.0132188331335783,
0.026949331164360046,
0.03887847065925598,
0.0036287757102400064,
-0.04502330347895622,
0.038858648389577866,
-0.0008089253678917885,
0.0007859556935727596,
-0.021432656794786453,
0.003330869134515524,
-0.004795548971742392,
-0.028655074536800385,
0.03666406869888306,
-0.03864067792892456,
-0.016014132648706436,
-0.022519802674651146,
0.01010231114923954,
0.008802786469459534,
0.013333307579159737,
0.008398712612688541,
-0.010298667475581169,
0.012983656488358974,
0.0631864070892334,
-0.028029972687363625,
-0.018725257366895676,
0.030713392421603203,
-0.0005281456978991628,
0.006733502261340618,
-0.022855721414089203,
0.009974607266485691,
-0.02671840414404869,
0.009120696224272251,
0.019111299887299538,
0.0014930058969184756,
-0.014946023002266884,
-0.03172161802649498,
0.018911393359303474,
0.0010226204758509994,
-0.05148309841752052,
-0.058908458799123764,
0.00423936452716589,
0.015719057992100716,
-0.02061450481414795,
-0.044793836772441864,
0.019639670848846436,
-0.0015150854596868157,
-0.0026565990410745144,
-0.003498121863231063,
-0.01736852154135704,
-0.06658846139907837,
0.020119640976190567,
0.02786690928041935,
-0.016867442056536674,
0.028596246615052223,
-0.0012782472185790539,
0.021055709570646286,
0.05775349587202072,
-0.055734507739543915
] |
Fine-tuning Llama 2 70B using PyTorch FSDP | smangrul | September 13, 2023 | ram-efficient-pytorch-fsdp | llm, guide, nlp | https://huggingface.co/blog/ram-efficient-pytorch-fsdp | Pre-requisites First follow these steps to install Flash Attention V2: Dao-AILab/flash-attention: Fast and memory-efficient exact attention (github.com). Install the latest nightlies of PyTorch with CUDA ≥11.8. Install the remaining requirements as per DHS-LLM-Workshop/code_assistant/training/requirements.txt. Here, we will be installing 🤗 Accelerate and 🤗 Transformers from the main branch. | [
0.03822830319404602,
0.02557949908077717,
0.04273972287774086,
0.06174192577600479,
0.01164870336651802,
-0.04116703197360039,
0.03526962921023369,
0.05394681170582771,
0.01601342484354973,
-0.044463858008384705,
-0.06751976907253265,
0.05374868959188461,
-0.03562513738870621,
0.0007458984619006515,
0.038645729422569275,
-0.005372874904423952,
0.08722914755344391,
0.02114604227244854,
-0.0779033750295639,
0.01537360344082117,
0.057833943516016006,
0.0018243930535390973,
0.00011890014138771221,
0.02430994063615799,
-0.062469881027936935,
-0.04172573983669281,
0.011922471225261688,
0.022235577926039696,
-0.02322780340909958,
-0.03730815276503563,
-0.06337413191795349,
-0.0431893952190876,
0.03355628624558449,
-0.05369795486330986,
-0.03921579197049141,
0.1064155176281929,
-0.05067124962806702,
-0.025859633460640907,
0.07242993265390396,
-0.05284484475851059,
-0.03995518013834953,
-0.013520380482077599,
-0.12502864003181458,
0.004275992978364229,
-0.042798519134521484,
0.04031332582235336,
-0.056710608303546906,
0.05397571623325348,
-0.03132876008749008,
0.017309337854385376,
-0.07491030544042587,
0.02898293174803257,
0.020515333861112595,
-0.00254589575342834,
0.05256962403655052,
0.027239521965384483,
-0.08210960030555725,
-0.011298971250653267,
-0.022079037502408028,
-0.012864314951002598,
0.04155652970075607,
-0.03668119013309479,
0.0010454293806105852,
0.04815800487995148,
0.011804713867604733,
-0.06256119161844254,
0.014538772404193878,
-0.00227019633166492,
-0.058847423642873764,
-0.03578243777155876,
0.10292268544435501,
0.0370846688747406,
-0.016157155856490135,
-0.026913153007626534,
-0.07124517112970352,
-0.09401120990514755,
0.050806574523448944,
0.05638842284679413,
0.007678797002881765,
0.03820684179663658,
0.02973506599664688,
0.030014164745807648,
0.05647173151373863,
0.03954310715198517,
-0.03299403190612793,
0.013471324928104877,
0.01298461388796568,
-0.059661999344825745,
-0.041260067373514175,
-0.019472163170576096,
-0.06407484412193298,
-0.07937458902597427,
-0.022902004420757294,
0.03919997066259384,
-0.017191573977470398,
0.01213370356708765,
-0.041504763066768646,
0.00654006889089942,
0.02661236934363842,
-0.018855836242437363,
0.032990921288728714,
-0.03812326863408089,
0.002816359279677272,
-0.06858980655670166,
0.003697923617437482,
0.10952140390872955,
-0.005806035362184048,
-0.03976942226290703,
-0.055179495364427567,
0.008994054049253464,
-0.0188660379499197,
0.013582034036517143,
0.017332321032881737,
-0.013125482946634293,
-0.0536525659263134,
-0.022827958688139915,
-0.037955041974782944,
0.0477096289396286,
-0.008353102952241898,
0.07558219134807587,
-0.05183013901114464,
0.04201800003647804,
0.033857088536024094,
0.012486697174608707,
0.09004399925470352,
0.07732484489679337,
-0.04699341207742691,
0.08601149916648865,
-0.013620886020362377,
0.006617169827222824,
0.08229397982358932,
-0.06853675097227097,
-0.019651100039482117,
-0.03222553804516792,
0.04650875926017761,
-0.002684172010049224,
-0.0671362578868866,
-0.010313615202903748,
0.04397592321038246,
-0.0019563965033739805,
-0.012818657793104649,
-0.009678438305854797,
0.03285929933190346,
0.0025852324906736612,
0.05738300830125809,
-0.06130366399884224,
-0.09948605298995972,
0.04172597825527191,
-0.026213495060801506,
0.05252797529101372,
-0.08268804103136063,
0.0585925467312336,
-0.07354668527841568,
0.03163110092282295,
-0.014519628137350082,
0.04917462170124054,
0.026380794122815132,
0.0021370237227529287,
-0.0825563594698906,
0.010973873548209667,
0.00876950565725565,
-0.044472888112068176,
-0.07195180654525757,
0.028445063158869743,
-0.020888343453407288,
-0.031496983021497726,
0.04355434328317642,
0.017867425456643105,
0.0492396280169487,
-0.027996070683002472,
0.08029966801404953,
0.0010785945923998952,
0.03979935124516487,
0.013192708604037762,
-0.016799446195364,
0.02163834124803543,
0.002050111535936594,
0.06762364506721497,
-0.031946610659360886,
-0.041487038135528564,
0.024823378771543503,
0.02123228646814823,
0.020328963175415993,
0.04048158973455429,
-0.0036072980146855116,
-0.08397608995437622,
0.08464943617582321,
-0.053256575018167496,
0.011632648296654224,
-0.0022527039982378483,
-0.01961447298526764,
0.03580748289823532,
0.004886176902800798,
-0.013000747188925743,
0.02677122689783573,
-0.006602363660931587,
-0.006326184142380953,
0.08673523366451263,
0.06502671539783478,
0.04509749263525009,
-0.01222438644617796,
0.03344639763236046,
-0.005945876240730286,
0.06316929310560226,
0.012726071290671825,
-0.00787040963768959,
-0.05265031009912491,
-0.0505189411342144,
0.04907405376434326,
-0.0027712073642760515,
0.00995478592813015,
-0.12125664949417114,
0.02374163269996643,
-0.0632779523730278,
-0.03232571855187416,
0.033071763813495636,
-0.01721106469631195,
0.036271657794713974,
0.029377629980444908,
-0.012000012211501598,
0.1333124041557312,
-0.06465870887041092,
-0.01938902772963047,
0.020759103819727898,
-0.07546234875917435,
0.06633325666189194,
0.11728185415267944,
-0.0008640008163638413,
0.02187126688659191,
-0.04725603759288788,
0.037986207753419876,
-0.07929518073797226,
-0.01044727023690939,
0.02182190492749214,
-0.02530224435031414,
-0.04845938831567764,
-0.012238268740475178,
0.044224485754966736,
0.008916890248656273,
0.0030937911942601204,
0.06703232228755951,
0.038525596261024475,
-0.007593340706080198,
0.04178459197282791,
0.005005330312997103,
-0.016559207811951637,
0.02410089783370495,
0.05107276141643524,
0.04974007233977318,
-0.015694810077548027,
-0.07887374609708786,
0.025237424299120903,
0.06230417639017105,
-0.026432901620864868,
0.05403212457895279,
0.05099707841873169,
-0.024010710418224335,
-0.028146907687187195,
0.0021709741558879614,
0.023219289258122444,
0.04874490946531296,
0.02312178537249565,
0.027352357283234596,
-0.01805257797241211,
-0.0378788486123085,
-0.010835162363946438,
0.02251734957098961,
0.0032024397514760494,
-0.02024979144334793,
-0.021814875304698944,
-0.020600836724042892,
0.031140703707933426,
-0.005104801617562771,
0.0036713280715048313,
0.006113973446190357,
0.05016135796904564,
0.06328217685222626,
-0.05360748991370201,
-0.05816809833049774,
-0.02389405481517315,
-0.01583036035299301,
-0.02616252936422825,
0.016995077952742577,
0.022240012884140015,
-0.01653962954878807,
0.02630510926246643,
-0.01595868170261383,
0.023963797837495804,
-0.043198391795158386,
0.016362935304641724,
-0.04967796802520752,
0.0026167065370827913,
0.042195383459329605,
-0.038589123636484146,
-0.03463829308748245,
-0.00039481688872911036,
-0.027949094772338867,
0.01895761489868164,
-0.0020262724719941616,
-0.00020544340077321976,
-0.017797395586967468,
0.021819857880473137,
0.0228604506701231,
0.018835268914699554,
-0.012649411335587502,
-0.03861279785633087,
-0.005050385370850563,
0.002315514488145709,
-0.07334036380052567,
-0.019867505878210068,
-0.06944992393255234,
0.01126211229711771,
0.002100614598020911,
-0.06521908193826675,
-0.005094386637210846,
0.035871636122465134,
0.02355230785906315,
-0.014746812172234058,
-0.05327855423092842,
-0.009050394408404827,
0.011302192695438862,
-0.011377884075045586,
0.022917773574590683,
0.03975790739059448,
0.031102553009986877,
-0.04607238620519638,
0.01825721748173237,
-0.015107547864317894,
-0.01153157465159893,
0.02641998790204525,
0.00840122438967228,
-0.022497689351439476,
-0.0032701618038117886,
-0.0036684044171124697,
0.00827463623136282,
0.04529985412955284,
-0.005661388393491507,
0.01708020642399788,
0.012873775325715542,
-0.009567789733409882,
-0.0023968075402081013,
0.03380142152309418,
-0.05622680485248566,
0.0213809572160244,
-0.023519521579146385,
-0.005326122511178255,
-0.010045957751572132,
0.009690363891422749,
0.0017240251181647182,
-0.07460059970617294,
0.0336281880736351,
-0.021952008828520775,
0.049422234296798706,
-0.055912960320711136,
-0.022119540721178055,
0.021479645743966103,
0.011338598094880581,
-0.04910902678966522,
-0.026205558329820633,
0.00482929078862071,
0.0061623030342161655,
0.010256608948111534,
0.0177558995783329,
0.007014228962361813,
0.033553168177604675,
0.04591011255979538,
0.0452786460518837,
-0.00028712634230032563,
-0.03294229879975319,
0.019017286598682404,
-0.011852097697556019,
-0.012178932316601276,
-0.023649467155337334,
0.048343364149332047,
0.058059096336364746,
-0.06735722720623016,
-0.02796984277665615,
-0.005851335357874632,
-0.012469399720430374,
0.044474709779024124,
0.03222772479057312,
-0.006307814735919237,
0.017216458916664124,
-0.00814621988683939,
0.023595523089170456,
-0.01498232502490282,
0.052216608077287674,
0.02209297940135002,
0.00781152443960309,
-0.04540369287133217,
-0.035042475908994675,
-0.04056621715426445,
-0.011542288586497307,
0.0027135047130286694,
-0.03341751918196678,
-0.06126442924141884,
0.06485603004693985,
-0.007226154673844576,
-0.010830110870301723,
-0.017929688096046448,
0.049826111644506454,
-0.045993007719516754,
-0.03320874273777008,
0.005335340276360512,
-0.027132706716656685,
-0.015660397708415985,
-0.0131128691136837,
0.014158397912979126,
0.019732415676116943,
-0.010420568287372589,
0.026231665164232254,
0.018114468082785606,
-0.026689106598496437,
-0.016731807962059975,
0.00011148290650453418,
0.03618619218468666,
0.029576748609542847,
0.02550354227423668,
0.0025746789760887623,
-0.005424825474619865,
-0.014542746357619762,
0.023495953530073166,
0.010370171628892422,
0.028804335743188858,
0.03616076335310936,
0.009761493653059006,
-0.05690550059080124,
0.02334054559469223,
-0.033936385065317154,
0.010030491277575493,
0.030253008008003235,
-0.02342667616903782,
0.04854992777109146,
0.0017472789622843266,
0.02334912121295929,
0.013290021568536758,
0.02943498082458973,
-0.015533518977463245,
-0.0444062314927578,
0.0035084064584225416,
0.002856192644685507,
0.03909697011113167,
-0.011211613193154335,
0.005682432558387518,
-0.029841812327504158,
0.03467447683215141,
-0.019718686118721962,
-0.03097367286682129,
-0.012280692346394062,
-0.027531305328011513,
0.06305801868438721,
-0.019945431500673294,
-0.015476779080927372,
-0.004929049871861935,
-0.0015066716587170959,
0.06075708940625191,
-0.05797692388296127,
-0.010218794457614422,
0.03631829097867012,
-0.04705674201250076,
0.01930692046880722,
0.02859801985323429,
0.01179390586912632,
0.019663149490952492,
-0.013177293352782726,
0.016138050705194473,
0.018676843494176865,
0.04586378484964371,
-0.010083604604005814,
-0.00039149398799054325,
-0.019595103338360786,
0.019035210832953453,
0.04521530121564865,
-0.005540639627724886,
0.038442764431238174,
-0.06013839691877365,
-0.007581389509141445,
-0.03373315557837486,
-0.017681097611784935,
0.019771799445152283,
-0.030249886214733124,
0.014501369558274746,
-0.00011341505160089582,
-0.026037799194455147,
0.04309207201004028,
0.05149051174521446,
-0.031812578439712524,
-0.028377167880535126,
-0.02208232320845127,
-0.02960284799337387,
0.024392053484916687,
0.02721983753144741,
0.038170672953128815,
0.02885831892490387,
0.004490558989346027,
0.03199070692062378,
0.007871397770941257,
-0.02418205887079239,
0.006595306098461151,
0.028270378708839417,
0.001848753890953958,
0.029760049656033516,
0.03099863789975643,
-0.05027178302407265,
-0.029109230265021324,
0.019252179190516472,
-0.00020516962104011327,
-0.010066263377666473,
0.02240336872637272,
-0.002237534848973155,
-0.008837719447910786,
-0.0030508218333125114,
0.04615303501486778,
0.03081544302403927,
-0.014172532595694065,
-0.022912368178367615,
0.04245885834097862,
-0.0034469603560864925,
0.026312878355383873,
-0.017977016046643257,
-0.014428898692131042,
-0.007185571826994419,
-0.024138258770108223,
-0.047159984707832336,
-0.05820983648300171,
0.03550796955823898,
0.00825551152229309,
0.036411650478839874,
-0.014897173270583153,
-0.06994350999593735,
0.045786332339048386,
0.043725110590457916,
-0.011132761836051941,
-0.04187076911330223,
-0.009448078460991383,
0.039280351251363754,
-0.025063246488571167,
0.05170862749218941,
0.012375781312584877,
0.0038091670721769333,
0.024996517226099968,
0.013918347656726837,
0.01608075201511383,
0.0024761951062828302,
-0.04713602364063263,
0.05398820713162422,
0.005658177193254232,
0.025996308773756027,
-0.026700910180807114,
-0.01719461940228939,
-0.047624923288822174,
0.012434907257556915,
-0.03837407007813454,
0.02434750646352768,
0.04651203006505966,
-0.026440417394042015,
0.02414723113179207,
-0.03177272528409958,
0.03704654425382614,
0.007617414928972721,
-0.05268344655632973,
-0.008347629569470882,
0.0032682574819773436,
0.04818490147590637,
-0.020561223849654198,
-0.005915982183068991,
0.03808492049574852,
-0.004522187169641256,
0.010081828571856022,
-0.03544116020202637,
-0.00692817522212863,
-0.002883024513721466,
-0.049755290150642395,
-0.00018387612362857908,
-0.009465728886425495,
-0.033859983086586,
0.02073058858513832,
0.005962466821074486,
0.01223460491746664,
-0.03333612531423569,
-0.0018908600322902203,
-0.03643910586833954,
-0.04530298337340355,
-0.008050469681620598,
0.02134966105222702,
-0.002053023548796773,
-0.005653464701026678,
0.03641636297106743,
0.003800906240940094,
0.023649761453270912,
0.008464124985039234,
-0.013368911109864712,
0.02487221732735634,
0.00009334809146821499,
0.061511170119047165,
-0.010645421221852303,
0.015273929573595524,
0.014812495559453964,
-0.001987553434446454,
-0.005351445637643337,
0.027473270893096924,
-0.0024000625126063824,
-0.06604371219873428,
0.028641358017921448,
0.01818506233394146,
-0.008812407031655312,
0.002613911870867014,
-0.03874032571911812,
0.10028035938739777,
0.02337343990802765,
0.07567527145147324,
-0.01800643838942051,
0.003550621448084712,
-0.021178435534238815,
0.01897377334535122,
0.03345845639705658,
0.043401118367910385,
0.00548937264829874,
0.01225501298904419,
-0.027232004329562187,
0.044968899339437485,
0.04139086976647377,
0.02614375203847885,
-0.04713175818324089,
0.009277541190385818,
-0.04353056475520134,
-0.04489559680223465,
-0.01094694621860981,
-0.007805049419403076,
-0.011944097466766834,
-0.055481769144535065,
-0.00456317188218236,
-0.0209779255092144,
0.025223983451724052,
-0.00674788374453783,
0.0016745836474001408,
-0.0317392498254776,
-0.02620978280901909,
0.013299145735800266,
0.023216839879751205,
-0.024800922721624374,
-0.006299443077296019,
-0.033211249858140945,
0.024719644337892532,
0.04012754186987877,
-0.033051833510398865,
-0.04341529309749603,
-0.03848160058259964,
-0.0017759940819814801,
0.031191255897283554,
-0.014318774454295635,
0.052814073860645294,
0.00814039446413517,
0.029071331024169922,
0.012919966131448746,
-0.012044481933116913,
-0.020829487591981888,
-0.002928928006440401,
0.03214934840798378,
0.02610115334391594,
-0.026502590626478195,
0.00869742501527071,
0.04143737256526947,
-0.03287900984287262,
0.034488577395677567,
0.026440421119332314,
0.008550165221095085,
-0.021072914823889732,
0.011059831827878952,
0.07231665402650833,
0.00977429561316967,
0.01436670683324337,
-0.03406425565481186,
-0.011617887765169144,
-0.02624591439962387,
-0.0020819485653191805,
0.03523648530244827,
-0.00030691581196151674,
0.036908309906721115,
-0.025326920673251152,
-0.039653077721595764,
0.006020720582455397,
0.007878425531089306,
-0.0014623821480199695,
0.0036528680939227343,
0.052265044301748276,
-0.02237885817885399,
-0.02960917353630066,
0.05010732635855675,
0.023238999769091606,
0.006285811308771372,
0.03684114292263985,
0.012027742341160774,
0.012939653359353542,
0.006834383588284254,
0.012480227276682854,
-0.061847276985645294,
-0.01619589701294899,
-0.031390659511089325,
-0.0570853054523468,
-0.00485098734498024,
0.038634005934000015,
0.02880450151860714,
0.021791445091366768,
-0.05486424267292023,
-0.0018694410100579262,
-0.047709111124277115,
-0.02708311378955841,
0.020102547481656075,
-0.02222696878015995,
0.05792812630534172,
0.008569491095840931,
0.03915433958172798,
0.004209878388792276,
-0.01358963456004858,
0.0004884050576947629,
0.027086714282631874,
0.00040983298094943166,
0.04706709459424019,
-0.00012914730177726597,
-0.026915835216641426,
-0.007355081848800182,
0.0019193446496501565,
0.0006801651325076818,
-0.035872261971235275,
-0.015623529441654682,
-0.005419571418315172,
-0.02049833908677101,
-0.010388806462287903,
0.022779621183872223,
-0.004423120990395546,
0.021629074588418007,
-0.004392119590193033,
0.040711771696805954,
-0.03659392148256302,
0.022486284375190735,
-0.00840615201741457,
-0.0693199634552002,
0.006944953463971615,
-0.026620913296937943,
0.010602696798741817,
0.024923482909798622,
-0.002169182524085045,
-0.04665996506810188,
-0.010789196006953716,
0.005520551931113005,
0.030980119481682777,
0.0016168098663911223,
-0.07137761265039444,
-0.05760285630822182,
0.002472930122166872,
0.012794778682291508,
-0.016673462465405464,
-0.01247352547943592,
0.027589017525315285,
0.0014476242940872908,
-0.026735426858067513,
0.014599242247641087,
-0.044668395072221756,
0.014118541032075882,
0.03364855423569679,
0.021889248862862587,
-0.005171214696019888,
0.029922399669885635,
0.026392973959445953,
-0.030306467786431313,
-0.03798290714621544,
-0.04798978939652443
] |
Fine-tuning Llama 2 70B using PyTorch FSDP | smangrul | September 13, 2023 | ram-efficient-pytorch-fsdp | llm, guide, nlp | https://huggingface.co/blog/ram-efficient-pytorch-fsdp | Addressing Challenge 1 PRs huggingface/transformers#25107 and huggingface/accelerate#1777 solve the first challenge and requires no code changes from user side. It does the following: 1. Create the model with no weights on all ranks (using the meta device). 2. Load the state dict only on rank==0 and set the model weights with that state dict on rank 0 3. For all other ranks, do torch.empty(*param.size(), dtype=dtype) for every parameter on meta device 4. So, rank==0 will have loaded the model with correct state dict while all other ranks will have random weights. 5. Set sync_module_states=True so that FSDP object takes care of broadcasting them to all the ranks before training starts. Below is the output snippet on a 7B model on 2 GPUs measuring the memory consumed and model parameters at various stages. We can observe that during loading the pre-trained model rank 0 & rank 1 have CPU total peak memory of 32744 MB and 1506 MB , respectively. Therefore, only rank 0 is loading the pre-trained model leading to efficient usage of CPU RAM. The whole logs at be found here bash accelerator.process_index=0 GPU Memory before entering the loading : 0 accelerator.process_index=0 GPU Memory consumed at the end of the loading (end-begin): 0 accelerator.process_index=0 GPU Peak Memory consumed during the loading (max-begin): 0 accelerator.process_index=0 GPU Total Peak Memory consumed during the loading (max): 0 accelerator.process_index=0 CPU Memory before entering the loading : 926 accelerator.process_index=0 CPU Memory consumed at the end of the loading (end-begin): 26415 accelerator.process_index=0 CPU Peak Memory consumed during the loading (max-begin): 31818 accelerator.process_index=0 CPU Total Peak Memory consumed during the loading (max): 32744 accelerator.process_index=1 GPU Memory before entering the loading : 0 accelerator.process_index=1 GPU Memory consumed at the end of the loading (end-begin): 0 accelerator.process_index=1 GPU Peak Memory consumed during the loading (max-begin): 0 accelerator.process_index=1 GPU Total Peak Memory consumed during the loading (max): 0 accelerator.process_index=1 CPU Memory before entering the loading : 933 accelerator.process_index=1 CPU Memory consumed at the end of the loading (end-begin): 10 accelerator.process_index=1 CPU Peak Memory consumed during the loading (max-begin): 573 accelerator.process_index=1 CPU Total Peak Memory consumed during the loading (max): 1506 | [
-0.008728054352104664,
0.015192550607025623,
0.02322886511683464,
0.012491765432059765,
-0.07514330744743347,
0.06103337183594704,
0.06605925410985947,
-0.012610145844519138,
-0.058470480144023895,
-0.09421724826097488,
-0.06940110772848129,
0.0682048574090004,
0.017023129388689995,
0.062155742198228836,
0.041420210152864456,
-0.048796530812978745,
0.02611606754362583,
-0.01773497648537159,
-0.02781832404434681,
0.057846929877996445,
0.05157759413123131,
-0.08674358576536179,
0.010845820419490337,
-0.011795326136052608,
-0.043415021151304245,
-0.08468183875083923,
-0.0028921274933964014,
-0.023629475384950638,
0.010361055843532085,
0.034334104508161545,
-0.06082196161150932,
-0.02576749585568905,
0.0682683065533638,
-0.05577164888381958,
0.047868646681308746,
0.005753271747380495,
-0.12483348697423935,
0.0833645761013031,
0.09248432517051697,
0.0015723208198323846,
-0.026927772909402847,
-0.008132836781442165,
-0.07281360030174255,
0.013204311020672321,
0.008957966230809689,
-0.044036511331796646,
-0.13220743834972382,
0.051404643803834915,
-0.045466348528862,
-0.07910343259572983,
-0.08311963826417923,
0.04136089235544205,
-0.04395659267902374,
0.028951097279787064,
-0.0255756713449955,
0.02373328059911728,
-0.0011259920429438353,
-0.0512399785220623,
0.0078118001110851765,
0.016763275489211082,
0.008753486908972263,
-0.0019565436523407698,
-0.012564215809106827,
0.07886846363544464,
0.06283271312713623,
-0.028060786426067352,
0.04038635641336441,
-0.010150902904570103,
-0.04915756359696388,
-0.02292964980006218,
0.01095038652420044,
-0.03177006542682648,
-0.0005285383085720241,
0.026061588898301125,
-0.03289138898253441,
-0.04397004470229149,
0.014708345755934715,
0.0012951550306752324,
0.031195318326354027,
0.044259920716285706,
-0.01723976992070675,
0.01981274224817753,
0.02551296167075634,
0.040661878883838654,
0.037437066435813904,
0.026863493025302887,
0.08233965933322906,
-0.07071154564619064,
-0.022788649424910545,
0.07015495002269745,
-0.04347449913620949,
-0.014760608784854412,
0.005403515882790089,
0.010860375128686428,
0.06751959025859833,
-0.020894546061754227,
-0.038919031620025635,
-0.002643321640789509,
-0.0007965659024193883,
-0.01263396069407463,
0.003475089790299535,
-0.053809069097042084,
-0.04082312062382698,
-0.023184707388281822,
-0.0318920873105526,
0.034518539905548096,
0.006316982209682465,
-0.10449487715959549,
-0.02172294445335865,
-0.018661681562662125,
-0.02801147848367691,
-0.023273004218935966,
-0.03432925045490265,
0.05246307700872421,
-0.057242002338171005,
0.019586879760026932,
-0.05737360566854477,
-0.03739647939801216,
0.04171400144696236,
-0.03540346398949623,
0.019374851137399673,
0.08516789227724075,
0.03661242127418518,
-0.02579382434487343,
0.00624882522970438,
0.03548989072442055,
0.055352453142404556,
0.03491112217307091,
0.0015860814601182938,
0.015073242597281933,
0.038928356021642685,
-0.060273006558418274,
0.02972232922911644,
0.025095483288168907,
-0.018013572320342064,
-0.021783793345093727,
0.012969871051609516,
-0.040084030479192734,
0.005910671316087246,
-0.003636726178228855,
-0.03537246584892273,
0.018531804904341698,
-0.01529343705624342,
-0.05529738590121269,
0.052855316549539566,
-0.0270795077085495,
-0.04482855647802353,
0.0673651471734047,
-0.03191366046667099,
0.06483898311853409,
-0.05952918156981468,
0.07996910810470581,
-0.01572800800204277,
-0.010689375922083855,
0.019299300387501717,
0.07155535370111465,
-0.03624943643808365,
-0.08322233706712723,
-0.0676015168428421,
-0.03716626018285751,
-0.02006790228188038,
0.012335322797298431,
-0.08515904098749161,
0.018376728519797325,
0.029866570606827736,
0.010675633326172829,
0.025767311453819275,
0.04851759970188141,
0.043162036687135696,
-0.0014429539442062378,
-0.03503947705030441,
0.0018222184153273702,
0.01613495498895645,
0.005443503614515066,
-0.07378095388412476,
0.10529230535030365,
-0.031147107481956482,
0.019617535173892975,
-0.04747303947806358,
-0.0016100357752293348,
-0.053903728723526,
0.04664212092757225,
-0.010419606231153011,
0.10309866815805435,
0.010522542521357536,
-0.031545788049697876,
0.05416446924209595,
0.020776154473423958,
-0.009640699252486229,
0.019748395308852196,
-0.02075938880443573,
0.027527621015906334,
0.04283532500267029,
-0.08967587351799011,
0.02556593529880047,
-0.034179698675870895,
-0.0538569800555706,
0.0524238683283329,
0.034265030175447464,
0.020542021840810776,
0.08178004622459412,
0.041436437517404556,
0.05255618318915367,
-0.01678728125989437,
-0.03126928582787514,
-0.00947768334299326,
-0.044143661856651306,
-0.0743332952260971,
0.0036653843708336353,
0.038039907813072205,
-0.0338427796959877,
-0.13686415553092957,
0.015008118934929371,
-0.09236667305231094,
-0.0532609224319458,
-0.05063490569591522,
-0.020485052838921547,
-0.03698102384805679,
0.031458765268325806,
-0.0035242808517068624,
0.10910198837518692,
-0.034943729639053345,
0.01883438602089882,
-0.02416328154504299,
-0.02751733921468258,
-0.027418218553066254,
0.009459039196372032,
0.03145761787891388,
-0.009367149323225021,
-0.10378333926200867,
-0.044694043695926666,
-0.028647182509303093,
-0.1253397911787033,
0.07545260339975357,
-0.005813395604491234,
-0.0011104155564680696,
-0.031042762100696564,
0.0018280697986483574,
0.019083721563220024,
-0.042881980538368225,
-0.011751030571758747,
-0.00406576506793499,
-0.00043576836469583213,
-0.02352830395102501,
0.02234993688762188,
-0.043836988508701324,
0.04534398019313812,
0.00523857306689024,
-0.08069314062595367,
-0.05753723159432411,
-0.06433926522731781,
0.02811824157834053,
-0.017550792545080185,
0.010917885228991508,
0.04170731455087662,
0.025250673294067383,
-0.03507703170180321,
-0.02498336136341095,
-0.03502423316240311,
0.08930321782827377,
0.030228910967707634,
0.008213106542825699,
-0.03169010207056999,
0.007512286771088839,
-0.01169781293720007,
-0.02855435013771057,
0.05341392382979393,
0.009840996004641056,
0.009714233689010143,
0.008773465640842915,
0.025042949244379997,
-0.04198572039604187,
0.057043179869651794,
0.036599401384592056,
0.0033429008908569813,
0.028523769229650497,
0.03001883067190647,
0.009760033339262009,
-0.005170129705220461,
-0.015398337505757809,
-0.039487604051828384,
-0.04687749221920967,
0.036548107862472534,
0.0024089824873954058,
-0.0466952845454216,
-0.0073960768058896065,
0.04484379291534424,
0.02192757837474346,
-0.01572282426059246,
0.019481930881738663,
0.02046392858028412,
0.03468088433146477,
0.003629888640716672,
-0.02481481246650219,
-0.0453205481171608,
0.056610796600580215,
0.03569776937365532,
-0.05738699063658714,
-0.011131643317639828,
-0.0051367757841944695,
-0.07932157814502716,
0.006854720879346132,
-0.0012358932290226221,
0.001516259158961475,
-0.000440459989476949,
-0.030214205384254456,
-0.021890338510274887,
0.02852153778076172,
-0.0827702209353447,
-0.023857085034251213,
0.00628258753567934,
-0.022313125431537628,
0.020920367911458015,
-0.0008192469831556082,
0.00615402776747942,
-0.021486053243279457,
-0.010788650251924992,
0.04493248090147972,
0.015616928227245808,
0.01203564926981926,
-0.01756194420158863,
0.03367997705936432,
-0.021451622247695923,
0.02541165053844452,
0.05595613643527031,
-0.009164445102214813,
0.03105025365948677,
-0.029623273760080338,
0.043078940361738205,
0.013583026826381683,
0.012190815061330795,
-0.02264477126300335,
-0.022832712158560753,
0.01491504069417715,
0.027689915150403976,
0.00453928904607892,
0.030422594398260117,
-0.02364419400691986,
-0.022361915558576584,
-0.027444928884506226,
0.0017280937172472477,
0.03456316515803337,
-0.004301480017602444,
0.005086556077003479,
-0.019702084362506866,
0.00029422418447211385,
-0.02343144454061985,
0.02450493909418583,
0.027515582740306854,
-0.005167333409190178,
-0.00666075898334384,
-0.022075075656175613,
0.07756328582763672,
0.01480092853307724,
0.0007807294023223221,
-0.051384277641773224,
0.023365817964076996,
-0.04111921414732933,
-0.029703212901949883,
-0.007955390959978104,
0.010315760970115662,
0.054302871227264404,
0.022871579974889755,
0.029193034395575523,
0.006727867294102907,
0.038715578615665436,
0.019266171380877495,
0.023474087938666344,
-0.008254017680883408,
-0.03159930929541588,
0.026648784056305885,
-0.00198488961905241,
0.024497881531715393,
0.05265007168054581,
0.03976835310459137,
-0.013818533159792423,
-0.026324186474084854,
-0.008013510145246983,
-0.04305712878704071,
0.03575433790683746,
0.017570964992046356,
0.003173939883708954,
-0.05903761088848114,
0.03379901498556137,
-0.02920047752559185,
0.005634882487356663,
0.0337400883436203,
0.02621293067932129,
-0.026840241625905037,
-0.001845492166467011,
-0.04959942027926445,
-0.019768981263041496,
-0.007406820077449083,
0.01598990708589554,
-0.005691428668797016,
0.008598973974585533,
0.053483642637729645,
0.03015795722603798,
-0.0011208151699975133,
-0.008191032335162163,
0.018617527559399605,
-0.0015492753591388464,
-0.004894271492958069,
-0.009360676631331444,
0.0046947430819272995,
0.003357597393915057,
-0.007294079288840294,
0.020060230046510696,
-0.007353777065873146,
-0.03843696415424347,
0.008803039789199829,
0.0240126084536314,
-0.006564635783433914,
0.02785070426762104,
-0.020642731338739395,
-0.04597683250904083,
0.059167735278606415,
-0.02156076207756996,
0.023460492491722107,
0.0008710470283403993,
0.010769004002213478,
-0.021702054888010025,
0.08451230823993683,
0.07191593945026398,
-0.004713405855000019,
0.029362855479121208,
-0.011966551654040813,
0.05435950681567192,
-0.04786190018057823,
0.00548216188326478,
-0.016745703294873238,
-0.036637019366025925,
0.032906509935855865,
-0.024837039411067963,
-0.007128072436898947,
-0.013181913644075394,
0.0048326244577765465,
-0.04637588933110237,
-0.07032659649848938,
-0.011051339097321033,
0.019263925030827522,
0.04167645052075386,
0.028021465986967087,
0.03226940333843231,
-0.010733295232057571,
-0.03649941831827164,
0.006778525188565254,
-0.012761472724378109,
-0.01603633537888527,
-0.002698247553780675,
0.05320277437567711,
-0.02666851319372654,
0.03915013000369072,
0.027176376432180405,
-0.018554288893938065,
0.03885675594210625,
-0.02641768380999565,
0.023121586069464684,
0.03096417896449566,
0.02791757509112358,
-0.05508585274219513,
0.013849243521690369,
0.05807249993085861,
-0.0032584844157099724,
-0.005759319290518761,
0.011985823512077332,
0.0020019887015223503,
-0.0036818154621869326,
-0.07247571647167206,
-0.016315452754497528,
0.00794936716556549,
0.01977897807955742,
-0.009865930303931236,
-0.0019252189667895436,
-0.029566852375864983,
-0.05306508019566536,
-0.009835812263190746,
-0.004934183321893215,
-0.016483403742313385,
0.001706794137135148,
0.01190759614109993,
-0.051757972687482834,
0.039904527366161346,
0.05388030409812927,
0.024808373302221298,
0.005213456694036722,
-0.024433225393295288,
-0.003239888697862625,
0.015047410503029823,
0.009304056875407696,
0.011881468817591667,
-0.0011801483342424035,
-0.027494287118315697,
0.021188626065850258,
0.019775118678808212,
0.06459174305200577,
0.016937917098402977,
0.035027164965867996,
0.017638379707932472,
-0.011785922572016716,
-0.007990620099008083,
0.0011796467006206512,
0.012438047677278519,
-0.049654897302389145,
-0.016504686325788498,
0.032421909272670746,
-0.03073219582438469,
-0.017698993906378746,
-0.003856600495055318,
0.09426608681678772,
-0.0068358564749360085,
-0.011118206195533276,
0.010901491157710552,
0.02777869813144207,
-0.003950971178710461,
-0.009735217317938805,
0.038439251482486725,
-0.030229663476347923,
-0.021749556064605713,
0.0029633967205882072,
-0.009647556580603123,
-0.038140807300806046,
0.015056302770972252,
0.009620348922908306,
-0.04674174636602402,
0.02716107852756977,
0.017642948776483536,
0.032217249274253845,
0.02019776962697506,
-0.01925741508603096,
0.005073730833828449,
-0.01653948239982128,
-0.014134833589196205,
-0.05491051450371742,
0.005304631311446428,
-0.013373319059610367,
-0.010502339340746403,
0.0033933897502720356,
-0.016618426889181137,
0.005848732776939869,
0.00480247475206852,
0.08368688821792603,
0.014810262247920036,
0.01804852858185768,
-0.0017741387709975243,
0.03556819260120392,
-0.0030654387082904577,
0.015423459932208061,
0.025396861135959625,
0.005248158238828182,
-0.008980042301118374,
0.007292366120964289,
-0.04688051715493202,
0.032021064311265945,
0.0370924137532711,
-0.016017133370041847,
0.020111842080950737,
0.02287064492702484,
0.007686680182814598,
0.025995634496212006,
-0.0032051680609583855,
0.0005220317980274558,
-0.02854909375309944,
0.016426440328359604,
-0.009590651839971542,
-0.020575586706399918,
-0.013532329350709915,
0.027541134506464005,
0.0028743967413902283,
-0.031059782952070236,
0.01239410787820816,
0.04286080598831177,
-0.0577765554189682,
0.020403292030096054,
-0.05442119389772415,
-0.013281803578138351,
0.015062262304127216,
0.046439263969659805,
-0.01587413065135479,
0.046386122703552246,
0.0019294031662866473,
0.015357933938503265,
0.0025845810305327177,
0.019324814900755882,
0.04772333428263664,
0.05863647535443306,
-0.021329862996935844,
0.013807113282382488,
0.007511547300964594,
0.05375836789608002,
0.007933593355119228,
0.02575809322297573,
0.010924035683274269,
-0.024659959599375725,
0.06645695120096207,
-0.004278202075511217,
0.04077409207820892,
0.06734870374202728,
0.004375724121928215,
0.03838764876127243,
0.010837274603545666,
-0.022924154996871948,
-0.01836516708135605,
-0.00021021101565565914,
0.0372375063598156,
-0.0065263137221336365,
0.00520309479907155,
-0.017783833667635918,
0.059638749808073044,
0.033787526190280914,
0.051554590463638306,
-0.019247692078351974,
0.008125612512230873,
0.013013633899390697,
0.024920178577303886,
0.006049029529094696,
0.02436129003763199,
0.01402241736650467,
-0.023876061663031578,
0.01412381324917078,
0.01073287520557642,
0.04185624048113823,
0.00376579025760293,
-0.042813755571842194,
0.021042559295892715,
-0.026472801342606544,
0.009769913740456104,
0.0041401260532438755,
0.02867021970450878,
0.014947550371289253,
-0.019676711410284042,
0.008084204979240894,
0.0014396576443687081,
0.03897058963775635,
-0.04171925038099289,
-0.006666074972599745,
-0.013891421258449554,
0.03714347630739212,
-0.008213062770664692,
0.010013672523200512,
-0.025032391771674156,
-0.012301317416131496,
0.030666766688227654,
0.018140314146876335,
-0.029785728082060814,
0.011117186397314072,
-0.04328025132417679,
0.013023524545133114,
-0.0008226995123550296,
-0.028625845909118652,
0.010927636176347733,
0.06849188357591629,
-0.02292460761964321,
0.015212619677186012,
0.04703351482748985,
0.03589938208460808,
0.01699795201420784,
0.03138462454080582,
0.026245543733239174,
0.015581448562443256,
-0.02477504312992096,
-0.019501741975545883,
0.015577618032693863,
-0.003309467574581504,
0.03649899363517761,
-0.030509810894727707,
-0.00917076040059328,
-0.0008489834726788104,
-0.027545202523469925,
0.0444948710501194,
0.008858137764036655,
-0.03297770023345947,
-0.04720653221011162,
-0.02068566158413887,
0.014086365699768066,
0.017698748037219048,
0.030733622610569,
-0.0003301942488178611,
0.012765778228640556,
-0.025651009753346443,
0.00434952974319458,
-0.04785521328449249,
0.0035543472040444613,
-0.01726333424448967,
0.018441906198859215,
-0.040555402636528015,
0.016203900799155235,
-0.00146214768756181,
0.05633290484547615,
-0.00533313350751996,
0.018043415620923042,
0.04141298681497574,
-0.050582822412252426,
0.00764115247875452,
0.001327655860222876,
0.01481200847774744,
0.010176483541727066,
0.031599853187799454,
0.006387749686837196,
-0.05742146074771881,
0.020863743498921394,
-0.020551517605781555,
0.02292557805776596,
0.010524976998567581,
-0.009562714025378227,
-0.005366608966141939,
0.009356328286230564,
-0.013017391785979271,
-0.006103691644966602,
-0.01773156225681305,
0.05315488204360008,
0.06320561468601227,
0.055668264627456665,
0.019018908962607384,
-0.09373551607131958,
-0.01793990470468998,
-0.004856626037508249,
-0.006198253016918898,
0.06067993864417076,
-0.0010729068890213966,
0.014589359052479267,
-0.03013458475470543,
-0.01761598140001297,
0.01295947004109621,
-0.08448049426078796,
0.0001213483847095631,
0.012822039425373077,
0.010643377900123596,
-0.017568953335285187,
-0.017219873145222664,
-0.000980608630925417,
0.02054506726562977,
0.02844351902604103,
-0.04440564289689064,
-0.03329150006175041,
0.022772878408432007,
0.06060323119163513,
-0.04399785026907921,
0.023463791236281395,
-0.02054659277200699,
0.037377044558525085,
0.0495431050658226,
-0.0003461028973106295,
0.0032103031408041716,
0.015567879192531109,
0.0033118415158241987,
-0.01840909570455551,
0.039746709167957306,
-0.04485103487968445,
-0.008625979535281658,
-0.03827238827943802,
0.031518686562776566,
-0.012181776575744152,
-0.05570007115602493,
0.033931441605091095,
0.026016240939497948,
-0.014606856741011143,
-0.016334233805537224,
-0.032865677028894424,
-0.017298784106969833,
0.023411855101585388,
0.023733248934149742,
0.010756642557680607,
0.030277492478489876,
0.051498547196388245,
-0.022010719403624535,
-0.034523118287324905,
-0.014140241779386997
] |
Fine-tuning Llama 2 70B using PyTorch FSDP | smangrul | September 13, 2023 | ram-efficient-pytorch-fsdp | llm, guide, nlp | https://huggingface.co/blog/ram-efficient-pytorch-fsdp | Fine-tuning Llama 2 70B using PyTorch FSDP | [
0.04348156601190567,
-0.027702342718839645,
0.06338030844926834,
0.0728839561343193,
0.08287188410758972,
-0.06450279802083969,
0.050283435732126236,
0.020146522670984268,
-0.023818373680114746,
-0.039889153093099594,
-0.04452020302414894,
0.03719877079129219,
0.0020036373753100634,
0.023610157892107964,
0.04067428410053253,
-0.0032555516809225082,
0.048937492072582245,
-0.027605118229985237,
0.012180406600236893,
0.07216238975524902,
-0.03427388519048691,
-0.06771361827850342,
0.037290509790182114,
-0.008773121051490307,
-0.0056185610592365265,
-0.03729505464434624,
-0.053705085068941116,
0.045765768736600876,
-0.0421917662024498,
0.03537093475461006,
-0.05213944986462593,
-0.03126561641693115,
0.04925086349248886,
0.007863552309572697,
0.022856885567307472,
-0.003147097071632743,
-0.11811649799346924,
0.06149279326200485,
0.026077376678586006,
-0.05186602100729942,
-0.07082624733448029,
-0.03057711571455002,
-0.030633162707090378,
0.032751455903053284,
-0.004906445275992155,
0.01978888362646103,
-0.1300855576992035,
0.07554957270622253,
-0.00003445600304985419,
-0.03836512565612793,
-0.08216049522161484,
0.016655955463647842,
-0.03484070673584938,
-0.027771592140197754,
0.029800759628415108,
0.026908671483397484,
0.004101487807929516,
0.019508730620145798,
-0.006963954772800207,
0.006632363889366388,
0.04801976680755615,
-0.002966451458632946,
0.04692653939127922,
0.07735011726617813,
0.047128718346357346,
-0.0014945463044568896,
0.011580357328057289,
-0.009708642028272152,
-0.10873812437057495,
-0.03347794711589813,
0.03024190105497837,
0.009792584925889969,
-0.03146570548415184,
-0.03852894902229309,
-0.017174609005451202,
-0.0912003219127655,
0.0010863597271963954,
0.005317603703588247,
0.024597981944680214,
0.08667959272861481,
-0.04255762696266174,
0.05724828317761421,
0.08269588649272919,
0.07920056581497192,
0.007242040242999792,
0.04178070276975632,
0.029676076024770737,
-0.0434037409722805,
0.031052488833665848,
0.045272137969732285,
-0.02805664762854576,
-0.07596156746149063,
-0.031841427087783813,
0.03618357330560684,
0.08446411788463593,
0.02956443652510643,
0.004498371854424477,
-0.0022793926764279604,
0.025766806676983833,
0.00515396473929286,
0.01640194095671177,
-0.07391705363988876,
0.03109104372560978,
-0.03293805196881294,
-0.022110195830464363,
0.043252550065517426,
-0.01766522414982319,
-0.054117485880851746,
-0.0844554603099823,
0.0060053179040551186,
-0.05218463018536568,
0.00334201124496758,
0.03718088939785957,
0.03032982535660267,
-0.06506341695785522,
-0.03691709414124489,
-0.018341345712542534,
0.019767185673117638,
-0.025718796998262405,
-0.01588616892695427,
0.0006079410086385906,
0.1266825795173645,
0.01669982075691223,
0.03649815544486046,
0.053560469299554825,
0.08282207697629929,
0.0457271970808506,
0.1081443801522255,
-0.0005604918696917593,
0.025939907878637314,
0.004603678826242685,
-0.03670177236199379,
0.038218989968299866,
0.04750295728445053,
0.011907799169421196,
-0.0698968842625618,
0.026161322370171547,
-0.04246881604194641,
-0.000911473180167377,
0.020536428317427635,
-0.01682932674884796,
0.05725012719631195,
0.011321951635181904,
0.0608539879322052,
0.06959202885627747,
-0.015185748226940632,
-0.043719563633203506,
0.056932467967271805,
0.008036414161324501,
-0.03843763843178749,
-0.030241508036851883,
0.06548002362251282,
-0.06378666311502457,
-0.04429246112704277,
0.024021796882152557,
-0.0034817387349903584,
-0.011183087714016438,
-0.0033930684439837933,
-0.1095866709947586,
-0.008776606991887093,
0.0013826601207256317,
0.017392639070749283,
-0.023571500554680824,
-0.008287000469863415,
0.03900974243879318,
0.007966282777488232,
0.027215424925088882,
-0.0037347564939409494,
-0.0020977724343538284,
-0.00962690357118845,
0.016285063698887825,
0.035171668976545334,
0.04247632250189781,
-0.02836621180176735,
-0.0505608506500721,
0.026585878804326057,
0.03769427910447121,
0.06376568973064423,
-0.02687966823577881,
0.006885745096951723,
-0.01778068207204342,
-0.0335528738796711,
-0.07679251581430435,
0.09739931672811508,
-0.04666217416524887,
-0.02567966654896736,
0.017971934750676155,
0.005573056172579527,
0.03703927621245384,
0.00005043831333750859,
-0.0606934018433094,
-0.018168117851018906,
0.05276792496442795,
-0.0600905641913414,
0.08014277368783951,
-0.035978566855192184,
-0.05665157735347748,
0.05409932881593704,
0.05767199024558067,
0.029979536309838295,
0.0473092682659626,
0.033368512988090515,
0.01096804067492485,
0.05570643022656441,
-0.06416752189397812,
0.005999142304062843,
0.09034480154514313,
-0.04340555891394615,
0.056259363889694214,
0.003875784343108535,
-0.007496867328882217,
-0.103482186794281,
0.00411043269559741,
-0.07814870029687881,
0.012765725143253803,
-0.020532667636871338,
-0.008856020867824554,
-0.019818464294075966,
0.03781908005475998,
-0.011639568954706192,
0.08771500736474991,
-0.006256590131670237,
-0.006447928491979837,
-0.018286697566509247,
-0.038843296468257904,
0.06256648153066635,
0.08746852725744247,
-0.02200385183095932,
0.06890375167131424,
-0.04775090515613556,
-0.05366376414895058,
-0.03839448094367981,
0.0092139458283782,
0.13348929584026337,
0.03349314257502556,
-0.044730138033628464,
-0.05875179544091225,
-0.0031297074165195227,
0.1016685888171196,
-0.04223113879561424,
0.059472352266311646,
0.06775762140750885,
-0.008126229047775269,
0.048158738762140274,
-0.07727059721946716,
-0.07148073613643646,
0.03709886968135834,
0.02640986442565918,
-0.0011519870022311807,
0.03770500048995018,
-0.03996825963258743,
0.023234661668539047,
0.056151192635297775,
0.05747050791978836,
0.05250633507966995,
0.012211846187710762,
-0.03479231148958206,
-0.05006900429725647,
-0.029648680239915848,
0.03803597018122673,
0.08787240833044052,
-0.004961773753166199,
-0.026614060625433922,
-0.0011099576950073242,
-0.02549244835972786,
-0.05058705434203148,
0.029684165492653847,
0.00812185276299715,
0.006811716128140688,
0.023951690644025803,
0.016256067901849747,
-0.02369040995836258,
0.05137157067656517,
-0.03361959010362625,
0.018761776387691498,
0.0007434047292917967,
0.09534558653831482,
-0.03305523097515106,
-0.03451300784945488,
-0.004790980368852615,
0.015979737043380737,
0.0009524275083094835,
0.043676503002643585,
0.011879469268023968,
-0.018664754927158356,
-0.008947641588747501,
0.038380663841962814,
-0.038739558309316635,
-0.03472542390227318,
0.003712360979989171,
-0.019128749147057533,
0.03571884706616402,
0.01714370772242546,
0.013604010455310345,
-0.020485643297433853,
0.017124509438872337,
-0.017903098836541176,
-0.022631527855992317,
-0.0267792921513319,
-0.020934779196977615,
-0.039410755038261414,
0.02067849598824978,
-0.03678349405527115,
-0.02240266464650631,
-0.026754792779684067,
-0.01840902864933014,
-0.004329892806708813,
0.01218993216753006,
-0.11192131042480469,
-0.03275633603334427,
0.007623580750077963,
0.045175500214099884,
-0.01917419582605362,
-0.05592004582285881,
-0.01340637356042862,
-0.044658444821834564,
-0.017121927812695503,
-0.03426003083586693,
-0.018320823088288307,
0.006329430732876062,
0.015294302254915237,
0.00046806008322164416,
-0.015936829149723053,
0.0018957738066092134,
-0.013935383409261703,
0.016271842643618584,
0.0224541574716568,
-0.02033577673137188,
-0.0259089432656765,
0.06372660398483276,
-0.006648728158324957,
0.007039936259388924,
-0.04534027352929115,
0.048514194786548615,
0.0051918793469667435,
0.02506290376186371,
0.005359256640076637,
-0.051292162388563156,
-0.025701964274048805,
-0.00233493116684258,
-0.028080787509679794,
-0.005174612160772085,
-0.052134547382593155,
-0.008273049257695675,
-0.0012516838032752275,
-0.013304260559380054,
0.02481861785054207,
0.05422700196504593,
0.010663303546607494,
0.0016704413574188948,
0.01566382683813572,
-0.0496075414121151,
-0.006192394066601992,
-0.005086606368422508,
-0.03015916980803013,
-0.03347580134868622,
0.06194782257080078,
-0.029149362817406654,
-0.012051804922521114,
-0.024063482880592346,
-0.02723131887614727,
0.07156334817409515,
0.014677205123007298,
-0.006032890174537897,
0.028079964220523834,
0.0423385426402092,
0.05223996564745903,
0.011284478940069675,
-0.03514508530497551,
0.01975434273481369,
0.004068729933351278,
0.011556725949048996,
-0.032203588634729385,
0.05942521616816521,
0.042349155992269516,
0.007348527200520039,
-0.029455363750457764,
0.022174840793013573,
-0.03566678985953331,
0.019307397305965424,
-0.011217067018151283,
0.01531226933002472,
-0.03098973259329796,
0.05908879265189171,
-0.04707850143313408,
0.0014810693683102727,
0.03490903973579407,
-0.014014797285199165,
-0.003857383271679282,
-0.029235025867819786,
0.030306097120046616,
-0.0393960140645504,
0.021046040579676628,
0.012152902781963348,
-0.03418596833944321,
-0.028997041285037994,
0.014806373976171017,
0.0011369975982233882,
0.0008336023311130702,
0.030115630477666855,
0.02065829373896122,
-0.026159698143601418,
0.0014496075455099344,
0.014345364645123482,
0.006550612393766642,
-0.029158733785152435,
0.003567538922652602,
0.005316219758242369,
0.0020476365461945534,
-0.02016942761838436,
0.004025519825518131,
0.03174058720469475,
-0.01979769580066204,
0.03877167031168938,
-0.008136672899127007,
-0.02329930290579796,
-0.00347161409445107,
0.019574280828237534,
-0.017347212880849838,
-0.024822024628520012,
0.021879537031054497,
-0.012103770859539509,
-0.0030818735249340534,
0.030562682077288628,
-0.0291253924369812,
-0.011659134179353714,
-0.03860786557197571,
0.017775878310203552,
-0.03871789574623108,
-0.02416817657649517,
0.010234666056931019,
-0.052600257098674774,
0.0378420352935791,
-0.061249952763319016,
0.026451732963323593,
0.011517762206494808,
0.016844376921653748,
-0.003622577991336584,
-0.01857661083340645,
0.0038704986218363047,
-0.0001683066802797839,
-0.02795536071062088,
0.034372083842754364,
0.02121235802769661,
0.026035835966467857,
0.006967512425035238,
0.029853923246264458,
-0.061758916825056076,
-0.02150099165737629,
0.03674470633268356,
0.026911934837698936,
-0.029291881248354912,
0.06561229377985,
-0.013238993473351002,
-0.007487545255571604,
0.003316460642963648,
-0.01259265560656786,
0.018125884234905243,
0.03090195544064045,
-0.03849063813686371,
-0.008166302926838398,
-0.00817440077662468,
0.042265646159648895,
0.0334976390004158,
0.025649234652519226,
0.02154756337404251,
0.028530100360512733,
0.03928643465042114,
-0.019301893189549446,
-0.03285565972328186,
-0.06267824023962021,
0.027468683198094368,
0.014349949546158314,
0.00004612436532624997,
-0.018139159306883812,
-0.013886517845094204,
0.020776521414518356,
-0.032209593802690506,
-0.006198935676366091,
-0.010046770796179771,
0.04394771158695221,
-0.04307902976870537,
0.05902383103966713,
0.060177214443683624,
0.01900433748960495,
-0.026708224788308144,
0.01252783928066492,
-0.01739763654768467,
0.01861722394824028,
0.012329217977821827,
0.04171215370297432,
0.023962149396538734,
-0.005438970867544413,
0.027217337861657143,
-0.0026749889366328716,
0.023598147556185722,
0.024115264415740967,
0.0491006076335907,
0.019347108900547028,
-0.019817430526018143,
-0.0074743893928825855,
-0.01685183309018612,
0.017814114689826965,
0.023204559460282326,
-0.056808002293109894,
0.029797978699207306,
0.00452848058193922,
-0.0005897790542803705,
0.001425052178092301,
-0.015970220789313316,
-0.00868501141667366,
-0.042262643575668335,
-0.0024197972379624844,
0.037992801517248154,
0.028065916150808334,
0.00034939227043651044,
0.04268506169319153,
-0.028551653027534485,
0.021347470581531525,
0.005158594343811274,
0.01760399155318737,
-0.03872871398925781,
0.024017207324504852,
-0.027677029371261597,
-0.06899993866682053,
0.039605382829904556,
-0.0033817689400166273,
-0.0023058573715388775,
0.00981585681438446,
-0.02672349475324154,
-0.0072010778822004795,
0.0015905174659565091,
0.001326330821029842,
-0.010221196338534355,
-0.012635934166610241,
0.012412930838763714,
-0.003637541551142931,
0.07583604007959366,
0.03800570219755173,
-0.04106144607067108,
0.01543694082647562,
0.01629738137125969,
0.008825025521218777,
-0.0011452047619968653,
-0.04704507440328598,
0.012318254448473454,
0.0018940363079309464,
0.05631321668624878,
-0.0005053923232480884,
-0.03364882618188858,
-0.043294697999954224,
-0.005333398003131151,
-0.02622881904244423,
-0.012899074703454971,
0.033724039793014526,
0.008539410308003426,
-0.0032809090334922075,
0.0060120271518826485,
0.02024148963391781,
-0.038207389414310455,
0.03136182948946953,
0.0033076168037950993,
-0.022297019138932228,
0.027165059000253677,
-0.006892041303217411,
-0.02396436035633087,
0.015741581097245216,
-0.034158069640398026,
0.023244425654411316,
-0.03559353947639465,
-0.013204770162701607,
0.03391622006893158,
-0.0050041829235851765,
0.03422185778617859,
0.004438045900315046,
-0.04042917862534523,
0.02569686435163021,
0.02249210700392723,
0.015526293776929379,
0.021262861788272858,
-0.009143626317381859,
0.016423365101218224,
-0.011720532551407814,
-0.05281423404812813,
-0.009998139925301075,
0.049251455813646317,
0.00012434848758857697,
0.03743819147348404,
0.015166503377258778,
0.027641307562589645,
-0.007722169626504183,
-0.01251291949301958,
-0.05287753418087959,
0.027926582843065262,
0.06777119636535645,
0.015116667374968529,
0.018069831654429436,
0.03216211497783661,
-0.009439385496079922,
-0.005945799872279167,
-0.022471729665994644,
-0.026309054344892502,
-0.021811673417687416,
0.011547086760401726,
0.04069676250219345,
-0.012887910008430481,
-0.004312752280384302,
-0.04955492541193962,
0.049825519323349,
0.010158240795135498,
0.024335648864507675,
-0.017651744186878204,
0.007936185225844383,
-0.06201627105474472,
-0.01057986356317997,
-0.0347476564347744,
-0.008478674106299877,
-0.02287326380610466,
-0.0004985681734979153,
0.024974122643470764,
-0.040635623037815094,
0.054585184901952744,
-0.03658221662044525,
-0.012912382371723652,
0.0022657776717096567,
0.0012733341427519917,
0.00914211105555296,
0.028492474928498268,
0.059726469218730927,
0.016188854351639748,
0.00013542671513278037,
0.00013071206922177225,
-0.01572282612323761,
-0.07214020937681198,
-0.022769415751099586,
-0.0038852279540151358,
0.0017578685656189919,
-0.0042421091347932816,
0.00029970318428240716,
-0.004703730810433626,
-0.020708920434117317,
0.008639496751129627,
-0.017391111701726913,
0.012632789090275764,
-0.009242882020771503,
0.01020622905343771,
-0.04225737601518631,
0.02417137660086155,
0.011454466730356216,
0.0433335080742836,
-0.0036937259137630463,
-0.005497729871422052,
-0.04066019132733345,
0.016561254858970642,
0.014138576574623585,
-0.006113026291131973,
-0.02835720032453537,
-0.005926399491727352,
0.05527600646018982,
0.017341673374176025,
-0.027359778061509132,
-0.010743998922407627,
0.007027245592325926,
-0.028106575831770897,
0.0183411817997694,
-0.026661088690161705,
0.006901375949382782,
0.006506128702312708,
0.00945860706269741,
0.06105923652648926,
0.023079130798578262,
0.020841870456933975,
-0.035950012505054474,
0.003042827360332012,
-0.03597503900527954,
-0.044354844838380814,
0.020068341866135597,
0.019825374707579613,
-0.005462813191115856,
0.010196606628596783,
-0.007423261180520058,
0.02185934968292713,
0.004488406237214804,
-0.003110752673819661,
-0.006852027960121632,
-0.007266854867339134,
-0.04801227152347565,
-0.023115936666727066,
0.07436861097812653,
-0.015450719743967056,
-0.0069457655772566795,
0.003054188098758459,
0.018234657123684883,
0.002020461717620492,
-0.01878160797059536,
0.016158556565642357,
-0.03488986939191818,
0.019967129454016685,
0.011688916012644768,
-0.058906394988298416,
0.01013689674437046,
0.005545556545257568,
0.0015220240456983447,
0.022600749507546425,
-0.03544523939490318,
-0.03703578561544418,
-0.01267281360924244,
-0.01606241799890995,
-0.012459246441721916,
0.009452462196350098,
0.036604829132556915,
0.048793308436870575,
0.015197417698800564,
-0.025098180398344994,
-0.035775721073150635,
-0.0028041594196110964,
-0.003905109828338027,
-0.005481242202222347,
0.07468270510435104,
-0.006928934250026941,
-0.03456367924809456,
-0.06009175628423691,
0.03747348114848137,
0.0215813759714365,
-0.030596934258937836,
-0.032899148762226105,
-0.03901224955916405,
-0.017885200679302216,
-0.020491091534495354,
-0.01373106800019741,
0.017525264993309975,
-0.008628939278423786,
0.025319116190075874,
0.030859962105751038,
-0.047707971185445786,
-0.009865456260740757,
-0.008140661753714085,
-0.06229538097977638,
0.006534863729029894,
0.023371653631329536,
-0.05523227900266647,
0.015887778252363205,
0.03539273515343666,
0.03240364417433739,
-0.04814476519823074,
-0.036786582320928574,
-0.006968300323933363,
-0.005238775163888931,
-0.036500051617622375,
0.0038853203877806664,
-0.014587162993848324,
0.020165031775832176,
-0.033782362937927246,
-0.06837141513824463,
0.025258611887693405,
-0.004320966079831123,
-0.03360423445701599,
0.030664360150694847,
0.004558768589049578,
-0.008936324156820774,
0.015134008601307869,
-0.011477298103272915,
0.014151964336633682,
0.05272829905152321,
0.007986356504261494,
-0.009169112890958786,
0.006377176847308874,
0.0008280585170723498
] |
Fine-tuning Llama 2 70B using PyTorch FSDP | smangrul | September 13, 2023 | ram-efficient-pytorch-fsdp | llm, guide, nlp | https://huggingface.co/blog/ram-efficient-pytorch-fsdp | Conclusion We successfully fine-tuned 70B Llama model using PyTorch FSDP in a multi-node multi-gpu setting while addressing various challenges. We saw how 🤗 Transformers and 🤗 Accelerates now supports efficient way of initializing large models when using FSDP to overcome CPU RAM getting out of memory. This was followed by recommended practices for saving/loading intermediate checkpoints and how to save the final model in a way to readily use it. To enable faster training and reducing GPU memory usage, we outlined the importance of Flash Attention and Gradient Checkpointing. Overall, we can see how a simple config using 🤗 Accelerate enables finetuning of such large models in a multi-node multi-gpu setting. | [
0.016229739412665367,
-0.026432253420352936,
-0.008056719787418842,
0.05770587921142578,
-0.003045461606234312,
-0.07183437049388885,
0.06105200573801994,
0.029257826507091522,
0.021546049043536186,
-0.04069935902953148,
0.0026378838811069727,
-0.022379450500011444,
0.022468768060207367,
0.024764301255345345,
0.03231829032301903,
-0.061125196516513824,
0.03248433768749237,
-0.012639516033232212,
-0.06542234122753143,
0.09852082282304764,
0.028079994022846222,
-0.07442857325077057,
0.0052232746966183186,
0.013519825413823128,
-0.04327520355582237,
-0.0324341282248497,
-0.036368757486343384,
0.0742204412817955,
0.044275298714637756,
0.021804526448249817,
-0.042546603828668594,
-0.004179433453828096,
-0.03378293663263321,
0.02570032700896263,
0.016806168481707573,
-0.002063772873952985,
-0.1060454472899437,
0.08932297676801682,
0.0065139709040522575,
-0.04834957793354988,
-0.012143929488956928,
-0.039294492453336716,
-0.03930436447262764,
0.015385922975838184,
0.04785580933094025,
-0.019139105454087257,
-0.010019728913903236,
0.024586480110883713,
-0.026526665315032005,
-0.03915702924132347,
-0.07158436626195908,
0.021129220724105835,
0.0047370875254273415,
-0.019645050168037415,
0.00034377072006464005,
0.02362518385052681,
-0.016317177563905716,
0.008391185663640499,
-0.008216913789510727,
0.044836368411779404,
0.005333560518920422,
0.03273599594831467,
0.013591652736067772,
0.08875368535518646,
0.04223739355802536,
-0.038248009979724884,
0.03501629829406738,
-0.01092615257948637,
-0.09794195741415024,
-0.056690510362386703,
0.04446692764759064,
0.031273387372493744,
-0.04382100701332092,
-0.01844892092049122,
-0.0699901282787323,
-0.06704076379537582,
0.0300617516040802,
-0.02639351226389408,
0.012613855302333832,
0.014180675148963928,
-0.10867569595575333,
0.033525288105010986,
0.04589749500155449,
0.06040165200829506,
-0.0007238283869810402,
0.02701662667095661,
0.05183488503098488,
-0.06293383240699768,
0.03533480316400528,
-0.023665230721235275,
-0.008753474801778793,
-0.07311597466468811,
-0.04487583041191101,
-0.0032002332154661417,
0.10991328209638596,
0.0646635964512825,
-0.02607383020222187,
0.0022605787962675095,
0.037973929196596146,
-0.03178961202502251,
0.031671587377786636,
-0.07509631663560867,
-0.024330390617251396,
-0.02907405234873295,
-0.04308822751045227,
0.02554587833583355,
-0.040667906403541565,
-0.07425481081008911,
-0.005727183539420366,
-0.04210606962442398,
-0.06111733242869377,
0.01007984671741724,
-0.05357217416167259,
0.06080470606684685,
-0.026616260409355164,
-0.006734642665833235,
-0.007421446498483419,
0.006034336052834988,
0.003404643153771758,
0.008009195327758789,
-0.006696950178593397,
0.08755866438150406,
0.02042934112250805,
-0.007788120303303003,
0.015803001821041107,
0.09154868125915527,
0.05824536085128784,
0.03773089870810509,
0.0017063218401744962,
-0.024046996608376503,
0.03560706973075867,
-0.08391676843166351,
0.0030437202658504248,
0.046472761780023575,
0.052118267863988876,
-0.05962086841464043,
0.011284883134067059,
-0.03280914947390556,
-0.01015687920153141,
0.030538614839315414,
-0.06128624454140663,
-0.005943153984844685,
-0.029016928747296333,
-0.027814453467726707,
0.06355106085538864,
0.010154049843549728,
-0.11393434554338455,
0.055285993963479996,
0.034187037497758865,
-0.02923935279250145,
-0.07448901236057281,
0.09485900402069092,
-0.08867545425891876,
-0.047281231731176376,
0.07910246402025223,
0.039348602294921875,
-0.010560602881014347,
0.0008204026962630451,
-0.11394930630922318,
-0.019005008041858673,
-0.009484379552304745,
0.012246453203260899,
-0.050567902624607086,
0.019552048295736313,
-0.009781639091670513,
0.01086356583982706,
0.05756835639476776,
-0.024042993783950806,
0.04395894706249237,
0.05475239455699921,
-0.011467074044048786,
0.040782779455184937,
0.022877434268593788,
-0.056019626557826996,
-0.04843036085367203,
0.056503549218177795,
0.033752962946891785,
0.0439901202917099,
-0.057954106479883194,
-0.010969948023557663,
-0.01342509500682354,
-0.022970309481024742,
-0.015391682274639606,
0.13890688121318817,
-0.004970547277480364,
-0.037294745445251465,
0.06550034135580063,
0.007240565028041601,
-0.04036987945437431,
-0.005124680232256651,
-0.05322301387786865,
0.0793679729104042,
0.08093216270208359,
-0.07138117402791977,
0.08509180694818497,
-0.034240949898958206,
-0.04300244152545929,
0.024455659091472626,
0.09556922316551208,
0.010782475583255291,
0.039069078862667084,
0.013240509666502476,
0.009777226485311985,
0.016381965950131416,
-0.05469154566526413,
-0.0011512230848893523,
0.02731427550315857,
-0.07145480811595917,
0.07148796319961548,
-0.01851695403456688,
-0.00700876722112298,
-0.11731714755296707,
-0.042007844895124435,
-0.07168792933225632,
0.022904597222805023,
-0.039116669446229935,
-0.003414803883060813,
-0.0008092318894341588,
0.03862289711833,
0.004912711214274168,
0.1158023551106453,
0.009552163071930408,
-0.004468369763344526,
-0.051234111189842224,
-0.03311488777399063,
0.02098301611840725,
0.019105656072497368,
-0.04151630774140358,
0.01452635321766138,
-0.01738390512764454,
-0.019061699509620667,
-0.037112120538949966,
-0.04032054543495178,
0.08754583448171616,
0.022230302914977074,
-0.05694521591067314,
-0.01972631923854351,
-0.0018109736265614629,
-0.007875108160078526,
-0.03459666669368744,
0.037614792585372925,
0.052035462111234665,
-0.03174063563346863,
-0.00010701058636186644,
-0.004162030294537544,
-0.00439279293641448,
0.026394540444016457,
0.021715132519602776,
-0.02874528057873249,
0.020523708313703537,
-0.05095203220844269,
0.014461864717304707,
0.028765177354216576,
0.04320765286684036,
0.005657384637743235,
0.001694164122454822,
-0.009077142924070358,
-0.05104801058769226,
-0.022371625527739525,
0.05451790615916252,
0.08818890154361725,
0.03225425258278847,
-0.03536954149603844,
0.034081920981407166,
0.0028745559975504875,
-0.05989773944020271,
0.03828854486346245,
0.00008501483534928411,
0.017885681241750717,
-0.065426304936409,
0.010240432806313038,
-0.06375973671674728,
0.01977013424038887,
0.01878797449171543,
0.017905421555042267,
0.04109468683600426,
0.04319107532501221,
-0.0488077849149704,
-0.04056921601295471,
0.006276865489780903,
0.006181051954627037,
-0.007172130513936281,
-0.0030194006394594908,
-0.0219353549182415,
-0.02830495312809944,
-0.00708877993747592,
0.03720635920763016,
0.012901528738439083,
-0.05339375510811806,
-0.008659185841679573,
0.023390742018818855,
0.000046817422116873786,
0.03573928773403168,
0.035518500953912735,
-0.030136147513985634,
0.04908720403909683,
-0.001232738490216434,
-0.0643140971660614,
0.015653159469366074,
0.0026601548306643963,
-0.06655865907669067,
0.01659415289759636,
0.026088716462254524,
-0.025387389585375786,
0.0003165517991874367,
-0.013280672952532768,
-0.04096350073814392,
0.014141497202217579,
-0.06742522865533829,
-0.007429773919284344,
0.004614389035850763,
0.04820913448929787,
-0.017342712730169296,
-0.021982021629810333,
0.018926165997982025,
-0.01978880539536476,
-0.0044586979784071445,
-0.02753087878227234,
-0.0052064512856304646,
0.03157062456011772,
-0.012664048001170158,
0.009870735928416252,
-0.0032043305691331625,
0.010468065738677979,
-0.0036300376523286104,
-0.015690961852669716,
0.03783920034766197,
-0.028045225888490677,
-0.011458105407655239,
0.02383531630039215,
-0.01974182017147541,
0.020047627389431,
-0.01868601143360138,
0.022699441760778427,
-0.007775045931339264,
0.006597364321351051,
0.0076227448880672455,
-0.03228022903203964,
-0.026900021359324455,
-0.06828362494707108,
-0.06475748121738434,
-0.023287968710064888,
-0.06670373678207397,
-0.016885703429579735,
-0.003896289737895131,
0.02818225882947445,
-0.0029217919800430536,
0.025140903890132904,
0.030725061893463135,
-0.015294448472559452,
0.019863510504364967,
-0.013232680037617683,
0.06999419629573822,
-0.0015155094442889094,
-0.007639313116669655,
0.0007485125097446144,
0.01894349791109562,
-0.021440254524350166,
-0.006912246346473694,
-0.036467187106609344,
-0.04509003460407257,
0.04019691422581673,
-0.027412939816713333,
0.010353008285164833,
0.024385815486311913,
0.02401736006140709,
0.031745798885822296,
0.013504790142178535,
-0.033782314509153366,
0.04144155606627464,
0.004053520038723946,
-0.02090522088110447,
-0.017849251627922058,
0.05466865748167038,
0.05676638334989548,
-0.0415850467979908,
-0.057595934718847275,
0.006973119918256998,
-0.05724547058343887,
0.035564444959163666,
0.00012853489897679538,
0.0019626577850431204,
-0.047790221869945526,
0.06061498448252678,
-0.03568592295050621,
-0.02158869430422783,
0.0059378985315561295,
0.008918440900743008,
0.0003831326903309673,
-0.028908798471093178,
-0.034877900034189224,
-0.0802631676197052,
0.011199507862329483,
0.06018124520778656,
-0.027935944497585297,
-0.0264243446290493,
0.017125530168414116,
0.01979987323284149,
0.018538398668169975,
0.034351035952568054,
0.018763773143291473,
-0.008069310337305069,
0.036611493676900864,
0.02387360669672489,
-0.01732701063156128,
0.03007543459534645,
0.0004412738489918411,
-0.0017877755453810096,
-0.019933950155973434,
-0.03185151517391205,
0.012447025626897812,
0.027071291580796242,
-0.03192329779267311,
0.020906895399093628,
0.0032861351501196623,
0.011943311430513859,
0.014640551060438156,
0.019381023943424225,
-0.01574273593723774,
-0.0023519883397966623,
-0.007292591501027346,
0.009099608287215233,
0.032986924052238464,
0.03165954723954201,
-0.01818942464888096,
0.0405750572681427,
-0.026133716106414795,
0.03927018493413925,
-0.032770298421382904,
0.005091520491987467,
0.04357098042964935,
-0.03635529428720474,
0.06082538887858391,
-0.0463886559009552,
-0.006660942919552326,
-0.008421302773058414,
0.01034864317625761,
-0.0036826706491410732,
-0.03708752617239952,
-0.029758477583527565,
0.019301000982522964,
0.03575367480516434,
-0.0038178476970642805,
0.009779470972716808,
-0.007820049300789833,
-0.038762785494327545,
-0.0032157504465430975,
-0.016168514266610146,
-0.00690525071695447,
0.02462105266749859,
0.028661515563726425,
-0.021746346727013588,
0.06526736170053482,
-0.012249257415533066,
-0.0012332991464063525,
0.02941473200917244,
-0.02095981501042843,
0.025789907202124596,
0.023766104131937027,
0.013537329621613026,
-0.016176359727978706,
-0.032415542751550674,
0.02230723947286606,
0.005291440058499575,
-0.007108885794878006,
0.008007591590285301,
0.014094293117523193,
0.041196320205926895,
-0.02134144864976406,
-0.022406060248613358,
-0.0784754604101181,
0.0420457199215889,
0.013517295941710472,
0.024076813831925392,
-0.013202843256294727,
-0.015418744646012783,
-0.023307520896196365,
-0.012766304425895214,
0.021576838567852974,
-0.002243255963549018,
-0.0018449050839990377,
-0.04652930051088333,
0.05844756215810776,
0.08407900482416153,
0.04089631512761116,
-0.011625636368989944,
-0.018217789009213448,
-0.011775843799114227,
-0.0035893910098820925,
-0.004829178564250469,
0.011776745319366455,
0.0032979187089949846,
0.010236979462206364,
0.011590498499572277,
-0.002809616969898343,
0.057196442037820816,
0.03414899483323097,
0.01902170293033123,
0.013027636334300041,
-0.01851748488843441,
-0.017294418066740036,
0.00851395446807146,
0.008715096861124039,
-0.01410713605582714,
-0.004883178509771824,
0.03603523224592209,
0.0022304970771074295,
0.014912726357579231,
0.014081388711929321,
0.018864179030060768,
-0.018911536782979965,
-0.019755566492676735,
-0.004324844107031822,
0.03722638636827469,
-0.003263999242335558,
0.0030989726074039936,
0.03183562308549881,
-0.0512501522898674,
0.006557051092386246,
0.023305656388401985,
0.04346657544374466,
-0.011538035236299038,
0.0009770105825737119,
-0.008293325081467628,
-0.023146813735365868,
0.0009153076098300517,
0.03744428977370262,
0.012468905188143253,
0.0058535742573440075,
-0.01820475235581398,
0.013648112304508686,
-0.0028881661128252745,
-0.03758116811513901,
-0.053878266364336014,
-0.012309168465435505,
0.02194053679704666,
0.009044156409800053,
0.06475691497325897,
0.034469857811927795,
-0.0259355790913105,
0.0012281833915039897,
0.02736532688140869,
0.0005758252809755504,
0.012837843038141727,
-0.05260547250509262,
-0.0036881184205412865,
0.037466175854206085,
0.03769904747605324,
-0.009947131387889385,
-0.07181912660598755,
-0.06776458024978638,
0.01375710777938366,
-0.045037489384412766,
0.015845350921154022,
0.018637241795659065,
0.012312267906963825,
-0.004620943684130907,
0.02128821797668934,
0.003219126258045435,
-0.03185657039284706,
0.007749791257083416,
0.037677373737096786,
-0.022835973650217056,
0.016504228115081787,
-0.01308696810156107,
-0.04356766864657402,
0.03225016966462135,
-0.02398466318845749,
0.007480221334844828,
-0.01637824811041355,
0.019923513755202293,
0.006428693421185017,
0.03793247044086456,
-0.0006834313971921802,
-0.0048188380897045135,
-0.02633802220225334,
0.01988576538860798,
0.006621107459068298,
0.009472334757447243,
0.016624068841338158,
0.006648545619100332,
0.03380725532770157,
0.022679045796394348,
-0.017290757969021797,
-0.0028252950869500637,
0.007453310769051313,
0.02236154116690159,
0.02481677010655403,
0.06240258365869522,
0.02807963453233242,
-0.0038646464236080647,
0.007984871976077557,
0.009812900796532631,
0.0027260638307780027,
0.07532451301813126,
0.01911400444805622,
0.017627831548452377,
0.04788057506084442,
-0.02352403849363327,
-0.003189401002600789,
0.007929175160825253,
-0.04278113320469856,
-0.011796869337558746,
0.016315292567014694,
0.07894116640090942,
-0.012872264720499516,
-0.010606211610138416,
-0.0337521955370903,
0.030348123982548714,
0.025936195626854897,
0.04556629806756973,
-0.006057677790522575,
0.03178434073925018,
-0.05831287056207657,
0.006989411544054747,
-0.008928842842578888,
0.003334371605888009,
0.015286937355995178,
-0.025902146473526955,
-0.011031961999833584,
-0.010768413543701172,
0.05361856147646904,
-0.014161063358187675,
0.019322017207741737,
-0.016176655888557434,
-0.04595350846648216,
0.007761449087411165,
0.035026561468839645,
0.053263600915670395,
0.0611514076590538,
-0.006771926302462816,
-0.041605450212955475,
-0.005494873970746994,
-0.006437166128307581,
-0.017801573500037193,
-0.052982963621616364,
-0.012649718672037125,
0.014290928840637207,
-0.01379530318081379,
-0.002926791552454233,
-0.0363590307533741,
-0.028395485132932663,
-0.027681805193424225,
-0.02319815568625927,
0.00038767323712818325,
0.005480671301484108,
-0.02253754436969757,
0.03597709909081459,
-0.018767140805721283,
0.04337526857852936,
0.0006587683456018567,
0.04296334087848663,
-0.01411155890673399,
0.01051489170640707,
0.05442846938967705,
-0.009526663459837437,
0.02270844578742981,
-0.004815541673451662,
0.05963389575481415,
-0.020008735358715057,
-0.0139071149751544,
-0.007593158166855574,
0.033952102065086365,
-0.0862809494137764,
0.04854584485292435,
0.01836593821644783,
-0.003939609508961439,
0.00915220845490694,
0.010968484915792942,
0.108523428440094,
0.020937930792570114,
0.023546215146780014,
-0.010074377059936523,
0.011126534081995487,
0.02090693823993206,
-0.036109328269958496,
-0.009641250595450401,
-0.015506490133702755,
0.014991985633969307,
0.01640503481030464,
-0.026376696303486824,
0.004632789641618729,
0.005740451160818338,
0.010218929499387741,
0.024506550282239914,
-0.01758422702550888,
0.019362717866897583,
-0.010079286061227322,
0.07588960975408554,
0.02552121691405773,
0.010745850391685963,
0.02073857933282852,
-0.03542189672589302,
-0.0040613943710923195,
0.024917464703321457,
-0.02026551403105259,
-0.025900408625602722,
0.017518335953354836,
0.010325578972697258,
-0.03372640907764435,
0.006812368985265493,
0.019031947478652,
-0.008002464659512043,
0.010911168530583382,
-0.028935860842466354,
-0.04878625646233559,
-0.03718619421124458,
-0.020520342513918877,
0.017238516360521317,
0.008557806722819805,
0.04988294467329979,
0.07834628224372864,
0.036331791430711746,
0.005986078176647425,
-0.05227569118142128,
-0.03259210288524628,
-0.023639321327209473,
-0.013492540456354618,
0.04662883281707764,
-0.012511749751865864,
-0.020101986825466156,
-0.05632377043366432,
0.01692933216691017,
0.029086152091622353,
-0.040396228432655334,
-0.034452516585588455,
-0.010079242289066315,
-0.00215366599150002,
-0.061923183500766754,
0.0047761863097548485,
0.03193620219826698,
0.01960003562271595,
0.07454728335142136,
0.007919065654277802,
-0.028645766898989677,
0.011915151961147785,
-0.008963610976934433,
-0.04542724788188934,
-0.013206956908106804,
-0.014055545441806316,
-0.02907155267894268,
0.02871316857635975,
0.0013298012781888247,
-0.015805596485733986,
0.0015421464340761304,
0.005483883433043957,
0.020369933918118477,
-0.007047508843243122,
-0.044707708060741425,
-0.0022563845850527287,
0.0034841513261198997,
0.02613767236471176,
-0.012739849276840687,
-0.052437543869018555,
0.05080018565058708,
-0.009356084279716015,
0.0016450476832687855,
0.01394282840192318,
0.03253675252199173,
-0.03532203286886215,
-0.003994477912783623,
-0.038337402045726776,
-0.0053541832603514194,
0.032027751207351685,
0.05623799189925194,
-0.02345065213739872,
-0.01716594398021698,
-0.031137868762016296
] |
Fine-tuning Llama 2 70B using PyTorch FSDP | smangrul | September 13, 2023 | ram-efficient-pytorch-fsdp | llm, guide, nlp | https://huggingface.co/blog/ram-efficient-pytorch-fsdp | Introduction In this blog post, we will look at how to fine-tune Llama 2 70B using PyTorch FSDP and related best practices. We will be leveraging Hugging Face Transformers, Accelerate and TRL. We will also learn how to use Accelerate with SLURM. Fully Sharded Data Parallelism (FSDP) is a paradigm in which the optimizer states, gradients and parameters are sharded across devices. During the forward pass, each FSDP unit performs an all-gather operation to get the complete weights, computation is performed followed by discarding the shards from other devices. After the forward pass, the loss is computed followed by the backward pass. In the backward pass, each FSDP unit performs an all-gather operation to get the complete weights, with computation performed to get the local gradients. These local gradients are averaged and sharded across the devices via a reduce-scatter operation so that each device can update the parameters of its shard. For more information on what PyTorch FSDP is, please refer to this blog post: Accelerate Large Model Training using PyTorch Fully Sharded Data Parallel. (Source: link) | [
0.0024986346252262592,
0.0027246272657066584,
-0.0288664773106575,
0.06252595037221909,
0.023380354046821594,
-0.046211306005716324,
0.05480758100748062,
0.032165173441171646,
-0.02506067603826523,
-0.05149492248892784,
-0.0464908629655838,
0.0038887278642505407,
-0.014408920891582966,
0.03712132200598717,
0.012371785007417202,
-0.017973702400922775,
0.07181798666715622,
-0.016858994960784912,
0.02469291165471077,
0.1608651578426361,
0.03645167872309685,
-0.04681625962257385,
0.01187524851411581,
0.024726884439587593,
-0.003140525659546256,
-0.06370386481285095,
0.0010396166471764445,
0.05866442248225212,
0.05228264629840851,
0.06779202073812485,
-0.03522585704922676,
0.0007966738194227219,
0.006619293242692947,
0.0018962131580337882,
0.03549721837043762,
-0.0502728670835495,
-0.11086660623550415,
0.07316447794437408,
-0.014415410347282887,
-0.054950613528490067,
-0.011775413528084755,
0.011593165807425976,
-0.016836756840348244,
0.004138771444559097,
-0.002068127505481243,
0.03419047221541405,
-0.007870826870203018,
0.043769512325525284,
0.0007865780498832464,
-0.0573679655790329,
-0.10320059210062027,
0.06634429842233658,
-0.03928244486451149,
-0.043098706752061844,
0.060084182769060135,
0.013673380948603153,
-0.03326307237148285,
-0.01970316469669342,
-0.02581171691417694,
0.048456188291311264,
0.02076394110918045,
-0.024297405034303665,
-0.0007471509161405265,
0.04743417724967003,
0.05398745834827423,
-0.04085026681423187,
0.06795137375593185,
-0.016162225976586342,
-0.096225306391716,
-0.07279804348945618,
0.024296835064888,
0.01358246523886919,
-0.02920948714017868,
0.024098819121718407,
-0.01554675679653883,
-0.04600077494978905,
-0.007791839074343443,
-0.012317297980189323,
0.027350347489118576,
-0.00037721951957792044,
-0.0983392521739006,
0.036571428179740906,
0.04339743033051491,
0.039554402232170105,
0.02474873699247837,
-0.0005875549977645278,
0.03166100010275841,
-0.044230494648218155,
0.003509567119181156,
0.02295461669564247,
-0.02999844215810299,
-0.03396575152873993,
-0.019048135727643967,
0.020145811140537262,
0.11639665067195892,
0.016846735030412674,
-0.013653874397277832,
-0.008979457430541515,
0.020429326221346855,
0.00987911131232977,
0.0033928256016224623,
-0.11305917799472809,
-0.04123953729867935,
-0.030849885195493698,
0.0264615248888731,
0.07469318807125092,
-0.040257036685943604,
-0.059904322028160095,
-0.04057025909423828,
0.019891858100891113,
-0.03925994783639908,
0.039636675268411636,
-0.026988497003912926,
0.09095447510480881,
-0.023655852302908897,
-0.02090698853135109,
-0.019992897287011147,
0.03706969693303108,
-0.0241254735738039,
-0.05677572637796402,
-0.017288606613874435,
0.07118840515613556,
0.017395194619894028,
-0.04460858926177025,
0.035113491117954254,
0.0817967876791954,
-0.0011451811296865344,
0.016232313588261604,
0.0022669064346700907,
0.04817310720682144,
0.0035666897892951965,
-0.037351954728364944,
0.034400127828121185,
0.08063995838165283,
0.017607277259230614,
-0.05228406563401222,
0.01265717949718237,
-0.05388261005282402,
0.03139229118824005,
0.037561897188425064,
-0.0281191635876894,
0.06984549015760422,
-0.026378456503152847,
-0.028669631108641624,
0.057173602283000946,
-0.03679686412215233,
-0.04616948589682579,
0.049517031759023666,
-0.035878702998161316,
-0.01947001926600933,
-0.08677950501441956,
0.13229863345623016,
-0.025070492178201675,
-0.06167583912611008,
0.09824709594249725,
0.05295128375291824,
-0.06269612163305283,
-0.005612676031887531,
-0.049843680113554,
-0.017746377736330032,
-0.01383322011679411,
0.031900204718112946,
-0.041721589863300323,
0.005123774521052837,
0.0003380747511982918,
0.037162043154239655,
-0.0037436741404235363,
-0.005651995074003935,
-0.0008306922973133624,
0.018126105889678,
-0.00992537196725607,
0.08838415890932083,
0.029017996042966843,
-0.02571781910955906,
-0.004587093368172646,
0.08304734528064728,
-0.016672944650053978,
0.07575154304504395,
-0.04129598289728165,
-0.024517804384231567,
0.015824496746063232,
0.014039987698197365,
-0.033563192933797836,
0.12714314460754395,
-0.054338112473487854,
0.004704485181719065,
0.08301416784524918,
0.02425917610526085,
-0.015895292162895203,
0.06432012468576431,
-0.07980528473854065,
0.05677177011966705,
0.06306862831115723,
-0.030383501201868057,
0.0048825922422111034,
-0.06795831024646759,
-0.030551528558135033,
0.06793727725744247,
0.04358378425240517,
-0.024216188117861748,
0.07211436331272125,
-0.010248323902487755,
0.00007832283881725743,
-0.014022800140082836,
-0.05452167987823486,
-0.05113048851490021,
0.04143058881163597,
-0.07714904099702835,
0.003665782045572996,
0.043562788516283035,
-0.043968308717012405,
-0.10725776106119156,
-0.05139757692813873,
-0.03445630893111229,
0.019559767097234726,
-0.07101882994174957,
-0.028508920222520828,
-0.016277292743325233,
0.046317242085933685,
0.019409451633691788,
0.13015790283679962,
-0.05571475252509117,
-0.004319726023823023,
0.00008557002729503438,
-0.037151481956243515,
0.011424344033002853,
0.0950135588645935,
0.02533693052828312,
0.047893475741147995,
0.025883112102746964,
-0.05860103294253349,
-0.06097262725234032,
-0.004015482030808926,
0.10546977818012238,
0.05325187370181084,
-0.07188916206359863,
-0.00869751162827015,
-0.0062661971896886826,
0.013346665538847446,
-0.037568386644124985,
0.012443559244275093,
0.07547006756067276,
0.005020787473767996,
-0.0055114952847361565,
-0.003233275143429637,
-0.042932894080877304,
0.036362890154123306,
-0.01057993434369564,
-0.013825828209519386,
0.02716832049190998,
-0.06072191148996353,
0.05303695425391197,
0.0019133527530357242,
0.018707366660237312,
-0.02667367272078991,
-0.01255873404443264,
-0.01426252443343401,
0.0029697343707084656,
-0.04500773176550865,
0.058474477380514145,
0.06058863177895546,
0.0023943851701915264,
-0.07549909502267838,
0.025912655517458916,
-0.016944216564297676,
-0.045602377504110336,
0.03307558223605156,
0.01224952656775713,
0.026508621871471405,
0.02071497030556202,
0.007182625122368336,
-0.06378072500228882,
0.019569898024201393,
-0.009859764017164707,
0.004857933148741722,
0.010093985125422478,
0.04908319190144539,
-0.04226139932870865,
-0.017770366743206978,
-0.02526511624455452,
0.009861220605671406,
-0.00917433388531208,
0.03704812750220299,
0.04642161354422569,
-0.030319558456540108,
-0.022824203595519066,
0.025278715416789055,
0.005865730810910463,
-0.0344533696770668,
-0.023082725703716278,
0.04765128344297409,
0.03200139105319977,
0.012477259151637554,
-0.009524599649012089,
-0.04218531772494316,
0.05224419757723808,
-0.01285987626761198,
-0.04313632473349571,
0.0053760153241455555,
-0.009966225363314152,
-0.04872637987136841,
0.009110448881983757,
0.0019381244201213121,
-0.03661695122718811,
0.012190964072942734,
-0.03852217271924019,
-0.019703973084688187,
0.008883625268936157,
-0.06548397243022919,
-0.010205221362411976,
0.018076283857226372,
0.019732680171728134,
-0.04133275896310806,
-0.0288954209536314,
-0.006736400071531534,
-0.008413968607783318,
-0.015579021535813808,
-0.004960921593010426,
-0.006191448774188757,
0.043692540377378464,
-0.021305026486516,
-0.03371361270546913,
0.0018166861264035106,
-0.029563087970018387,
-0.00019425111531745642,
-0.06501133739948273,
0.030895045027136803,
-0.008000591769814491,
0.012513473629951477,
-0.0026093258056789637,
0.019777124747633934,
0.005285253282636404,
-0.03368260711431503,
0.004721115808933973,
0.04387525096535683,
-0.019788341596722603,
-0.0035272622480988503,
-0.030112039297819138,
-0.06936823576688766,
-0.0189821720123291,
-0.07189542800188065,
-0.00954111572355032,
-0.022501984611153603,
-0.005134947132319212,
-0.03937888145446777,
0.03467010334134102,
0.016814177855849266,
0.049734968692064285,
0.02464953437447548,
-0.006727066356688738,
0.03104068525135517,
-0.007211672142148018,
0.04004757106304169,
0.024888768792152405,
0.013891221024096012,
-0.04087412729859352,
0.03244489058852196,
0.005635861773043871,
-0.025775369256734848,
-0.020349785685539246,
-0.014641247689723969,
0.04084823653101921,
-0.013846362940967083,
0.012355503626167774,
0.014078323729336262,
0.04272402822971344,
0.00711015472188592,
0.04320882260799408,
-0.030309367924928665,
0.015359368175268173,
0.015703175216913223,
-0.04276847466826439,
-0.0016911167185753584,
0.032649360597133636,
0.057618290185928345,
-0.06551512330770493,
-0.0384305901825428,
0.024447210133075714,
-0.040767852216959,
0.05222161486744881,
0.008516071364283562,
-0.0011049512540921569,
-0.021203532814979553,
0.0161628108471632,
-0.050368532538414,
-0.0020601663272827864,
-0.000902551575563848,
0.008059621788561344,
-0.04408929869532585,
-0.04221734032034874,
-0.03367315232753754,
-0.047831665724515915,
0.02712743915617466,
0.001771037932485342,
-0.03470102697610855,
-0.06308908015489578,
0.01352430135011673,
0.004801835864782333,
0.04270443692803383,
0.023615390062332153,
0.01128336414694786,
-0.011384304612874985,
0.016464048996567726,
0.009587042964994907,
0.023616667836904526,
0.005715340841561556,
-0.027265947312116623,
-0.04905764386057854,
-0.021739061921834946,
-0.03815944120287895,
0.013217012397944927,
0.014556307345628738,
-0.03902497887611389,
0.04202141985297203,
0.010966157540678978,
0.0008580742287449539,
0.030427902936935425,
-0.004816729109734297,
-0.017155664041638374,
0.005256632808595896,
0.02176111936569214,
-0.019279206171631813,
0.007555381860584021,
0.04805637523531914,
-0.04083094745874405,
0.04185739532113075,
-0.05660959705710411,
0.014065230265259743,
-0.03749151900410652,
0.006444819271564484,
0.010860951617360115,
-0.05198102071881294,
0.03873267024755478,
-0.060664672404527664,
-0.0008059641695581377,
-0.005078521091490984,
-0.0007335939444601536,
-0.034441858530044556,
-0.03250304237008095,
-0.010375467129051685,
0.018922699615359306,
-0.03770573437213898,
0.006880843546241522,
-0.007318582851439714,
0.01379468571394682,
-0.030721746385097504,
-0.021437017247080803,
-0.0452091246843338,
0.007009151857346296,
0.019514495506882668,
0.04571862146258354,
-0.012567294761538506,
0.022456420585513115,
0.00852078665047884,
0.04401909559965134,
0.01017321739345789,
-0.01854673959314823,
-0.00003433882011449896,
0.0045569599606096745,
-0.012288465164601803,
-0.06474141031503677,
-0.0003393437364138663,
0.05398889258503914,
-0.01779785379767418,
0.03799314424395561,
0.011914973147213459,
0.029031557962298393,
0.03758324682712555,
-0.05884924530982971,
-0.029309622943401337,
-0.08871966600418091,
0.0564071387052536,
-0.010725239291787148,
0.01968967355787754,
-0.06640107929706573,
0.00954465102404356,
-0.0032494813203811646,
-0.028577232733368874,
-0.017522798851132393,
-0.005798607598990202,
0.050852589309215546,
-0.03216675668954849,
0.032150931656360626,
0.0637715607881546,
0.036090124398469925,
-0.02359054796397686,
-0.022012963891029358,
0.02477400377392769,
-0.05040733888745308,
0.0020422583911567926,
0.014977636747062206,
0.014277135021984577,
-0.0018872297368943691,
0.025643905624747276,
-0.019200025126338005,
0.04276217147707939,
0.026031259447336197,
0.02628128044307232,
0.010746143758296967,
-0.017755305394530296,
-0.016924161463975906,
-0.027861878275871277,
0.01685154251754284,
0.00927707552909851,
-0.04287000000476837,
0.056016162037849426,
-0.0052706957794725895,
0.010423903353512287,
-0.01076251920312643,
0.018999196588993073,
-0.03652094677090645,
-0.028811082243919373,
0.007035191170871258,
0.019179176539182663,
0.018122296780347824,
0.018028071150183678,
-0.006786228157579899,
-0.023899346590042114,
0.0126543790102005,
0.017704887315630913,
0.007330790162086487,
-0.015249190852046013,
-0.0006921863532625139,
-0.058284785598516464,
-0.03566267713904381,
0.025397829711437225,
0.007183421403169632,
0.016609417274594307,
0.004641792271286249,
-0.032098982483148575,
0.02477003075182438,
-0.0033859487157315016,
-0.06120148301124573,
-0.04157926142215729,
0.0046548983082175255,
0.003881109645590186,
0.036140549927949905,
0.05988803878426552,
-0.017978863790631294,
0.015566030517220497,
-0.01696901209652424,
-0.001327831414528191,
-0.03509204089641571,
0.025744985789060593,
-0.01373114064335823,
-0.01270228996872902,
0.018463797867298126,
0.008413542062044144,
0.007638397626578808,
-0.05385018140077591,
-0.0164962001144886,
-0.0020502940751612186,
-0.031857751309871674,
-0.001967367948964238,
0.0066686030477285385,
0.012922312133014202,
0.004194117616862059,
0.01582554541528225,
0.0059806546196341515,
-0.03434445708990097,
0.005115790758281946,
0.019624870270490646,
-0.02381991781294346,
0.012340069748461246,
0.01935022510588169,
-0.004713825881481171,
0.03145764395594597,
-0.01856386661529541,
0.0036715874448418617,
-0.04945164546370506,
0.017270013689994812,
-0.005708162672817707,
0.010550160892307758,
-0.008309684693813324,
0.0312509685754776,
-0.03534245118498802,
0.020225072279572487,
0.030755868181586266,
0.033593352884054184,
0.026511503383517265,
0.016850868239998817,
0.00000439795667261933,
0.012148022651672363,
-0.008815575391054153,
0.008029445074498653,
0.014440883882343769,
0.01657102070748806,
-0.0033452368807047606,
0.027594467625021935,
0.03391523286700249,
0.010820911265909672,
-0.02258477918803692,
0.03692762926220894,
0.016153130680322647,
0.08405205607414246,
0.0279361754655838,
0.03438476100564003,
0.038121968507766724,
-0.04095565155148506,
0.0034152318257838488,
0.004557234700769186,
-0.039922021329402924,
0.005396139807999134,
-0.004771341569721699,
0.05437871813774109,
0.02524068020284176,
0.006194107234477997,
-0.026651369407773018,
0.042300038039684296,
0.025728857144713402,
0.04214038327336311,
-0.018978090956807137,
0.01408306509256363,
-0.04458729177713394,
0.005492545664310455,
0.0014290190301835537,
0.013984084129333496,
-0.004372789524495602,
0.0008900528191588819,
-0.003813372924923897,
0.0008946125162765384,
0.05014553666114807,
-0.037246398627758026,
-0.006882105953991413,
-0.0017082173144444823,
-0.005429386626929045,
0.034322675317525864,
0.024427123367786407,
0.02512328326702118,
0.02197095938026905,
0.023987965658307076,
-0.024330200627446175,
0.004104123916476965,
-0.009804793633520603,
0.0134937958791852,
-0.016147367656230927,
-0.004073689691722393,
0.031247103586792946,
0.005101557355374098,
-0.010159979574382305,
-0.040988363325595856,
-0.060687676072120667,
-0.0012607064563781023,
0.006293918937444687,
0.0016481088241562247,
0.015943210572004318,
-0.04045681655406952,
0.02544768713414669,
0.012680310755968094,
0.024166801944375038,
0.004323240369558334,
0.04948887601494789,
-0.0037860313896089792,
0.008252225816249847,
0.0070738219656050205,
-0.02003425918519497,
0.02307395078241825,
-0.010582688264548779,
0.031001949682831764,
0.01495711412280798,
-0.025943811982870102,
-0.005368274636566639,
-0.0058565931394696236,
-0.05224885046482086,
0.03542713820934296,
-0.011259450577199459,
-0.0005033382913097739,
-0.010578841902315617,
0.0004803104093298316,
0.07074572145938873,
0.034060198813676834,
0.01270895916968584,
-0.020980514585971832,
0.007413045037537813,
0.002467151964083314,
-0.04575751721858978,
0.03979702293872833,
0.026660131290555,
0.007355207111686468,
0.007168541196733713,
-0.013891750015318394,
0.001432081451639533,
0.006018196232616901,
0.014997994527220726,
0.021313825622200966,
0.022189948707818985,
0.008853373117744923,
0.0027631823904812336,
0.05005418509244919,
-0.031173210591077805,
0.006532222498208284,
-0.0006560626206919551,
-0.0317661389708519,
0.014701005071401596,
-0.009695488028228283,
0.0010819706367328763,
-0.00742206210270524,
-0.0018154318677261472,
0.041596509516239166,
-0.03475499153137207,
0.011572912335395813,
0.033483270555734634,
-0.017855895683169365,
0.04209745675325394,
-0.027666978538036346,
-0.044219907373189926,
0.017144903540611267,
-0.011529773473739624,
0.011508194729685783,
0.011890869587659836,
0.02293149195611477,
0.043622907251119614,
-0.0009661892545409501,
0.01040620543062687,
-0.048352137207984924,
-0.00605410011485219,
-0.033189672976732254,
-0.009600235149264336,
0.08573906868696213,
-0.024446647614240646,
-0.025984691455960274,
-0.06835576146841049,
0.023022588342428207,
0.06991618871688843,
-0.05655721202492714,
-0.016108203679323196,
-0.006140017416328192,
0.00452087027952075,
-0.02015889249742031,
0.00008353014709427953,
0.041998155415058136,
-0.0006721956888213754,
0.03452505171298981,
-0.010914047248661518,
-0.005977964960038662,
0.0109562948346138,
-0.01001810934394598,
-0.08011186867952347,
0.01630883850157261,
0.011410879902541637,
-0.0068690115585923195,
0.0018551447428762913,
-0.004023925866931677,
0.007619916927069426,
-0.03866058588027954,
-0.03227736055850983,
0.003157953964546323,
-0.011991318315267563,
-0.012751461006700993,
-0.009655932895839214,
-0.029375767335295677,
0.00762341869994998,
-0.006277834065258503,
-0.034538835287094116,
0.04640394449234009,
0.00200167135335505,
-0.023423271253705025,
0.033686552196741104,
0.0070058926939964294,
-0.024484826251864433,
0.014390542171895504,
-0.0381576269865036,
0.00244427309371531,
0.05291908234357834,
0.05023396387696266,
-0.02389894612133503,
-0.02869459241628647,
-0.026063499972224236
] |
Fine-tuning Llama 2 70B using PyTorch FSDP | smangrul | September 13, 2023 | ram-efficient-pytorch-fsdp | llm, guide, nlp | https://huggingface.co/blog/ram-efficient-pytorch-fsdp | Fine-Tuning | [
0.028453024104237556,
-0.0030354720074683428,
0.103705033659935,
0.03145517408847809,
0.12380323559045792,
0.021468672901391983,
0.029548129066824913,
0.05088256299495697,
-0.026174483820796013,
-0.09889590740203857,
-0.03322231024503708,
0.05737042799592018,
-0.028554173186421394,
-0.005989220924675465,
0.02018386498093605,
0.05098754167556763,
0.04572952911257744,
-0.03713905066251755,
0.002034324686974287,
-0.007371475920081139,
-0.009613561443984509,
-0.0475897490978241,
0.06078009679913521,
0.037474751472473145,
-0.0004129517183173448,
-0.017197327688336372,
0.0009805469308048487,
-0.0024076278787106276,
-0.09143377840518951,
0.035091646015644073,
-0.023002788424491882,
-0.014416785910725594,
0.041834425181150436,
0.006651223637163639,
-0.012350563891232014,
-0.01825658231973648,
-0.050295718014240265,
0.0030470185447484255,
-0.03788337856531143,
-0.05425215885043144,
-0.013867642730474472,
-0.07926540076732635,
-0.012026687152683735,
0.08394599705934525,
0.0007260538404807448,
0.01649686135351658,
-0.27748504281044006,
0.08160556852817535,
-0.031224362552165985,
-0.003605101490393281,
-0.05764291435480118,
0.02457435429096222,
0.0263004619628191,
0.0006232560845091939,
0.03202515095472336,
0.01939920336008072,
0.037489984184503555,
-0.03992123156785965,
-0.0027750844601541758,
-0.04187466576695442,
0.06948038190603256,
-0.036690257489681244,
0.004082750529050827,
-0.00007686217577429488,
0.027235068380832672,
0.045311104506254196,
-0.0213632695376873,
0.03899158909916878,
-0.05807984620332718,
-0.01404994074255228,
0.02038332261145115,
-0.037805307656526566,
-0.00410932581871748,
-0.022097915410995483,
0.034408088773489,
-0.06536585837602615,
-0.05899684876203537,
0.02819739654660225,
0.05413796380162239,
0.08611346036195755,
-0.008366393856704235,
0.018896307796239853,
0.08653511106967926,
0.09700989723205566,
-0.01237102784216404,
-0.03452690318226814,
0.05258408933877945,
-0.03481341525912285,
0.004249900579452515,
-0.005470601841807365,
-0.027978019788861275,
-0.11214448511600494,
0.026187872514128685,
0.05208323150873184,
-0.006771409418433905,
-0.04401978477835655,
0.044895343482494354,
0.02062224969267845,
0.06783363223075867,
0.01327719446271658,
-0.03601818531751633,
0.0002998455020133406,
0.019025610759854317,
-0.055272746831178665,
-0.0385921448469162,
-0.009202636778354645,
-0.025638563558459282,
-0.07895056158304214,
-0.0671154111623764,
0.06857790052890778,
-0.016577692702412605,
0.042688846588134766,
0.043943196535110474,
0.004964017309248447,
-0.05468473210930824,
0.020993907004594803,
0.007766979280859232,
0.002445142949000001,
0.04334001988172531,
0.013708338141441345,
0.024106459692120552,
0.13444407284259796,
0.06187240779399872,
0.020263439044356346,
0.027945978567004204,
-0.005418323911726475,
0.06251049786806107,
0.08427125215530396,
-0.052929919213056564,
-0.05920760706067085,
-0.0069120037369430065,
0.003567727981135249,
0.01146305724978447,
0.0016113027231767774,
-0.052219290286302567,
-0.05457121506333351,
0.021390708163380623,
0.010997496545314789,
0.013472522608935833,
-0.0001833284622989595,
-0.008504620753228664,
0.06528641283512115,
-0.006486524827778339,
0.035161539912223816,
0.04103148356080055,
-0.021325301378965378,
-0.024500656872987747,
0.033213891088962555,
-0.005339456256479025,
0.016653206199407578,
0.024544190615415573,
0.0853327214717865,
-0.05181946977972984,
-0.07563035190105438,
-0.0037681004032492638,
0.05321904644370079,
0.05307574197649956,
0.02736017480492592,
-0.06147921085357666,
-0.007377379108220339,
0.019894089549779892,
0.004749127198010683,
0.00015039052232168615,
-0.01139343623071909,
0.04102127626538277,
-0.02694791555404663,
0.022957641631364822,
0.0028640744276344776,
0.0074557592160999775,
-0.07944680005311966,
-0.019417349249124527,
0.015913279727101326,
0.06853148341178894,
-0.028980229049921036,
-0.07726173102855682,
0.024813998490571976,
0.0626341924071312,
0.05753543972969055,
-0.00459275534376502,
0.04453575611114502,
-0.025297336280345917,
0.029908815398812294,
-0.01835535280406475,
0.05167326703667641,
0.001972319558262825,
-0.04377317056059837,
0.04165530577301979,
-0.040188007056713104,
-0.007029687985777855,
0.02607184275984764,
-0.12852749228477478,
-0.03566475585103035,
0.11154791712760925,
-0.011466785334050655,
0.010955147445201874,
-0.10066932439804077,
-0.033669356256723404,
0.09584492444992065,
0.07386660575866699,
0.04100463166832924,
0.0549880787730217,
0.027454501017928123,
0.10577686876058578,
-0.013362236320972443,
-0.04736819490790367,
0.035685088485479355,
0.07891771197319031,
-0.043608441948890686,
0.004421581979840994,
0.012450320646166801,
-0.011020271107554436,
-0.1284743845462799,
0.0236991997808218,
-0.06710357964038849,
0.0021594760473817587,
-0.02791574038565159,
-0.007327940780669451,
-0.03260670602321625,
-0.002148350467905402,
-0.056403230875730515,
0.050453800708055496,
0.03943460434675217,
-0.03716500103473663,
0.06785263866186142,
-0.0384196974337101,
0.08183654397726059,
0.0936732292175293,
0.0063628037460148335,
0.043573103845119476,
-0.08316610753536224,
-0.01665736362338066,
-0.010594399645924568,
-0.034150343388319016,
0.08783307671546936,
0.031886372715234756,
0.05568498373031616,
-0.009480945765972137,
-0.02591639570891857,
0.05916363000869751,
-0.04608922079205513,
0.01618831232190132,
0.019601475447416306,
-0.02829429879784584,
0.058210618793964386,
-0.026344995945692062,
-0.03341473639011383,
0.04317006096243858,
0.009062010794878006,
-0.05224383622407913,
-0.015883687883615494,
-0.04914485290646553,
0.06050286442041397,
0.03093441016972065,
-0.024620603770017624,
0.08074585348367691,
-0.032968975603580475,
0.0000319585160468705,
-0.02164977230131626,
-0.020920125767588615,
0.01587419956922531,
0.027876514941453934,
-0.004695848096162081,
0.01797483116388321,
-0.05178537592291832,
0.01060340367257595,
-0.022060144692659378,
0.012576183304190636,
0.024478275328874588,
0.0014541372656822205,
0.03249586001038551,
-0.04113363102078438,
-0.02496509999036789,
0.04013369604945183,
0.008923209272325039,
-0.012913607992231846,
0.010321836918592453,
0.05254123732447624,
-0.00028040201868861914,
-0.022307991981506348,
-0.021540122106671333,
0.00995888002216816,
-0.020272430032491684,
0.01922953873872757,
0.008842446841299534,
0.026897935196757317,
-0.02598029188811779,
0.03185949847102165,
0.002704746089875698,
-0.022257357835769653,
0.02374941296875477,
-0.0022079625632613897,
0.016822373494505882,
0.005966815631836653,
-0.020212937146425247,
0.03831746056675911,
-0.01009726244956255,
-0.0218308474868536,
0.014956257306039333,
-0.026347920298576355,
-0.019679386168718338,
0.008225681260228157,
0.017258286476135254,
-0.011910244822502136,
0.0008713725255802274,
-0.04327830299735069,
0.015284279361367226,
0.00613830192014575,
0.0031420376617461443,
-0.16586780548095703,
-0.04056506231427193,
0.02069929614663124,
0.03995294123888016,
-0.018077073618769646,
-0.028150899335741997,
0.03471946343779564,
-0.04516276344656944,
-0.017633534967899323,
-0.008738984353840351,
0.029852164909243584,
0.007316975388675928,
0.026297207921743393,
-0.013796595856547356,
-0.016346465796232224,
0.0021478980779647827,
-0.020792407914996147,
0.005475432612001896,
-0.018094219267368317,
-0.014293953776359558,
-0.012598317116498947,
0.04925486072897911,
-0.008046828210353851,
-0.02805587276816368,
-0.011158471927046776,
0.059710677713155746,
0.020962007343769073,
0.019177516922354698,
0.0062692719511687756,
-0.030607158318161964,
-0.02374604530632496,
0.040669914335012436,
-0.03477347269654274,
0.038595665246248245,
0.0006367929745465517,
-0.009975289925932884,
0.0021155246067792177,
-0.01662975177168846,
0.0074636442586779594,
0.04195927456021309,
0.04350479692220688,
0.03885170817375183,
0.04017621651291847,
0.0463876836001873,
-0.02739977091550827,
0.001793629489839077,
0.005400537047535181,
-0.020278336480259895,
0.053420428186655045,
-0.030490882694721222,
-0.03520306572318077,
-0.004826040472835302,
-0.010340794920921326,
0.05866434425115585,
-0.02308489754796028,
0.0022334428504109383,
-0.02927507646381855,
0.0034322417341172695,
0.057702310383319855,
-0.026278164237737656,
-0.03152746707201004,
0.012058787979185581,
0.003973447252064943,
0.018638521432876587,
-0.028837310150265694,
0.041377708315849304,
-0.03454813361167908,
0.012609248980879784,
-0.037505097687244415,
0.04319027438759804,
-0.003437528619542718,
0.010228435508906841,
-0.006123460829257965,
0.021411364898085594,
0.002318192506209016,
0.018292296677827835,
-0.02440684661269188,
-0.0031816374976187944,
0.04155105724930763,
-0.004712244495749474,
0.00792820192873478,
-0.008094405755400658,
0.004985945764929056,
-0.026964537799358368,
-0.00030389742460101843,
0.021635819226503372,
-0.005938325077295303,
0.0009207117836922407,
0.0023864360991865396,
0.022386563941836357,
0.03387515991926193,
-0.0027462018188089132,
-0.0004886490060016513,
-0.01576327160000801,
-0.008937142789363861,
0.019345320761203766,
0.06263642013072968,
0.006097782403230667,
0.0010017218301072717,
-0.012038462795317173,
0.008268380537629128,
-0.004041404463350773,
-0.004683336708694696,
0.014731972478330135,
0.003558546770364046,
0.02752765454351902,
-0.0273151732981205,
-0.037812575697898865,
-0.021272683516144753,
0.04139185696840286,
0.01204253826290369,
-0.03906989097595215,
0.005400354042649269,
-0.048423703759908676,
-0.00982179120182991,
-0.006138018798083067,
-0.023705439642071724,
-0.025581883266568184,
-0.03929322957992554,
0.008930099196732044,
-0.01626437157392502,
0.01143535878509283,
0.027215883135795593,
-0.03957982361316681,
0.009751037694513798,
-0.0037005022168159485,
0.006935060489922762,
0.008159326389431953,
0.003848946187645197,
-0.004961018916219473,
-0.03610365465283394,
-0.036221928894519806,
0.06318368017673492,
-0.007037699688225985,
0.03534732386469841,
-0.01808350905776024,
-0.00452817976474762,
0.04526260495185852,
0.00004690582863986492,
-0.05729370191693306,
0.006972840055823326,
0.02705291286110878,
0.005243114195764065,
-0.028150958940386772,
0.045076463371515274,
-0.020966731011867523,
0.002419780706986785,
0.013839551247656345,
-0.004904046654701233,
0.02412308193743229,
0.022204307839274406,
-0.040467530488967896,
-0.017399407923221588,
-0.0189908966422081,
0.0056965891271829605,
0.0032588213216513395,
0.010586582124233246,
-0.03762465715408325,
-0.014604868367314339,
0.06539959460496902,
-0.007812468335032463,
-0.0124643724411726,
-0.054202646017074585,
0.034854013472795486,
-0.027076927945017815,
-0.002013513119891286,
0.0082470728084445,
0.005716754589229822,
-0.03224779665470123,
-0.012298938818275928,
-0.01352065522223711,
-0.011726019904017448,
0.033987998962402344,
-0.02488618902862072,
0.03008166141808033,
0.028846008703112602,
-0.000625000277068466,
0.0009552098927088082,
0.020768309012055397,
0.0165169145911932,
0.011094851419329643,
-0.0011910652974620461,
0.01863197796046734,
0.026593664661049843,
-0.011031683534383774,
-0.019795309752225876,
0.04176689311861992,
0.01051921583712101,
0.006682190112769604,
0.05533796548843384,
-0.01020404975861311,
-0.02072925493121147,
-0.013009932823479176,
-0.03302124887704849,
0.006615887396037579,
0.018375582993030548,
0.0072084167040884495,
-0.0013376332353800535,
-0.018572207540273666,
-0.006561829708516598,
0.029673364013433456,
0.006820993032306433,
0.010143481194972992,
-0.030199330300092697,
0.004928617738187313,
0.03990408405661583,
0.010028788819909096,
-0.02617604285478592,
-0.02555922418832779,
-0.01693207584321499,
-0.013150020502507687,
-0.002502657240256667,
-0.03455101698637009,
-0.02710055559873581,
0.002150504384189844,
-0.04866224527359009,
-0.056608647108078,
0.0347919836640358,
0.0003137301537208259,
0.01075332798063755,
0.0178616251796484,
0.00885728932917118,
-0.002879723673686385,
0.030989211052656174,
0.04714219644665718,
-0.013265625573694706,
0.008005279116332531,
0.02076944150030613,
-0.024728985503315926,
0.0437820702791214,
0.01729576289653778,
0.010448911227285862,
-0.008604445494711399,
0.01734829507768154,
0.042310383170843124,
0.015419320203363895,
-0.07695180922746658,
0.025836797431111336,
0.004360273014754057,
0.014009387232363224,
0.0006141045596450567,
-0.01863803341984749,
-0.010001145303249359,
-0.020006651058793068,
-0.03130705654621124,
0.02883993275463581,
0.03217676281929016,
-0.010775825008749962,
0.013069753535091877,
-0.0019145169062539935,
0.026946498081088066,
-0.020415831357240677,
0.005676607601344585,
-0.016130823642015457,
-0.0026441446971148252,
0.008494417183101177,
-0.0037507254164665937,
-0.014849384315311909,
-0.0028214456979185343,
-0.03783104196190834,
0.012607135809957981,
-0.007609417662024498,
0.04405951872467995,
0.03269237279891968,
-0.014187888242304325,
0.037690430879592896,
-0.0004036103782709688,
-0.015406671911478043,
0.023018144071102142,
0.02094251476228237,
-0.018573667854070663,
-0.011977127753198147,
0.03187999129295349,
-0.022935105487704277,
0.005991542711853981,
-0.027381857857108116,
0.027640827000141144,
0.01745072938501835,
0.017479635775089264,
-0.0034082666970789433,
0.013033273629844189,
0.013166762888431549,
0.03236456215381622,
-0.013015903532505035,
-0.035855572670698166,
0.017154308035969734,
0.023429514840245247,
0.017439085990190506,
0.019658351317048073,
0.018436506390571594,
0.02855256199836731,
0.013262087479233742,
-0.010473948903381824,
0.022615626454353333,
-0.031569451093673706,
-0.008378746919333935,
0.03185322880744934,
-0.03246171772480011,
0.02715286612510681,
-0.030495641753077507,
0.04965813085436821,
0.016664279624819756,
-0.008657490834593773,
0.0014291207771748304,
-0.017800455912947655,
-0.0074287778697907925,
0.015455303713679314,
-0.024324065074324608,
-0.013404227793216705,
-0.03829937055706978,
0.013589569367468357,
0.05811108648777008,
-0.033359333872795105,
0.0004695384996011853,
-0.00989377498626709,
-0.059370007365942,
0.0405745729804039,
-0.027349626645445824,
-0.037314172834157944,
0.020021876320242882,
0.04374498501420021,
-0.0030055949464440346,
-0.014806484803557396,
-0.0025687396991997957,
-0.043328575789928436,
-0.06953946501016617,
0.009098881855607033,
0.03319043666124344,
-0.025468090549111366,
-0.014863737858831882,
0.01738744042813778,
0.018665559589862823,
-0.02063451148569584,
-0.010789170861244202,
-0.0296794306486845,
0.04653891548514366,
0.0172230564057827,
0.0583752878010273,
-0.0168863907456398,
-0.041141360998153687,
-0.024495914578437805,
-0.01748252660036087,
0.02282184734940529,
0.011910701170563698,
0.0011886381544172764,
-0.010374916717410088,
-0.01553227100521326,
-0.00868803821504116,
-0.020057445392012596,
0.018420301377773285,
0.01838301308453083,
0.005635462701320648,
-0.029309770092368126,
0.025345221161842346,
-0.03232116252183914,
-0.0364002101123333,
-0.020421268418431282,
-0.001028049155138433,
0.02672845683991909,
0.007894408889114857,
0.004925851244479418,
0.022193748503923416,
0.017981627956032753,
-0.027787216007709503,
-0.032289057970047,
0.006106133107095957,
-0.02723226323723793,
-0.009923668578267097,
0.0235518179833889,
0.030447017401456833,
-0.02965167723596096,
-0.017648067325353622,
0.021776054054498672,
0.0037287245504558086,
-0.029783159494400024,
-0.007637146394699812,
-0.019061774015426636,
-0.013667634688317776,
-0.04388628527522087,
-0.02687593549489975,
0.0758177787065506,
0.02062244899570942,
0.03013129159808159,
0.02678936906158924,
0.03893497586250305,
0.009095394052565098,
-0.009470706805586815,
-0.012039867229759693,
0.019547417759895325,
0.02981175296008587,
-0.029955923557281494,
-0.026702482253313065,
-0.021269524469971657,
-0.043585147708654404,
-0.007529267575591803,
-0.010154918767511845,
-0.026285367086529732,
-0.019811522215604782,
-0.0019351524533703923,
0.0012812016066163778,
-0.0655871331691742,
0.03753666207194328,
0.040129706263542175,
0.020650779828429222,
0.015656283125281334,
-0.008720437064766884,
-0.005099864210933447,
-0.018999656662344933,
0.010554978623986244,
0.0019242273410782218,
0.046954113990068436,
0.015168128535151482,
-0.015135593712329865,
-0.04613489285111427,
0.058668989688158035,
-0.029195448383688927,
-0.0424356646835804,
-0.005769762210547924,
0.04269358515739441,
0.009159822948276997,
-0.014363505877554417,
0.005858462769538164,
0.022484468296170235,
0.006300445646047592,
0.0071845934726297855,
0.04676003381609917,
-0.01724891923367977,
0.01784868724644184,
0.006691583897918463,
-0.045140717178583145,
-0.008160658180713654,
-0.004189667757600546,
0.021571394056081772,
0.03858320787549019,
0.016055870801210403,
-0.022974373772740364,
-0.0011143197771161795,
-0.059409249573946,
0.02261621505022049,
-0.0012391501804813743,
-0.015222451649606228,
-0.004682683851569891,
0.017784351482987404,
-0.036491796374320984,
-0.02646608278155327,
-0.06023009866476059,
0.0284414105117321,
0.03323662653565407,
-0.026359478011727333,
0.00008405423432122916,
-0.011880738660693169,
-0.0037806653417646885,
0.006865018047392368,
0.04129118099808693,
0.0014670626260340214,
0.04609066620469093,
0.052505750209093094,
-0.017026986926794052,
0.01634577102959156,
0.025855805724859238
] |
Fine-tuning Llama 2 70B using PyTorch FSDP | smangrul | September 13, 2023 | ram-efficient-pytorch-fsdp | llm, guide, nlp | https://huggingface.co/blog/ram-efficient-pytorch-fsdp | Challenges with fine-tuning LLaMa 70B We encountered three main challenges when trying to fine-tune LLaMa 70B with FSDP: 1. FSDP wraps the model after loading the pre-trained model. If each process/rank within a node loads the Llama-70B model, it would require 70*4*8 GB ~ 2TB of CPU RAM, where 4 is the number of bytes per parameter and 8 is the number of GPUs on each node. This would result in the CPU RAM getting out of memory leading to processes being terminated. 2. Saving entire intermediate checkpoints using FULL_STATE_DICT with CPU offloading on rank 0 takes a lot of time and often results in NCCL Timeout errors due to indefinite hanging during broadcasting. However, at the end of training, we want the whole model state dict instead of the sharded state dict which is only compatible with FSDP. 3. We need to improve the speed and reduce the VRAM usage to train faster and save compute costs. Let’s look at how to solve the above challenges and fine-tune a 70B model! Before we get started, here's all the required resources to reproduce our results: 1. Codebase: https://github.com/pacman100/DHS-LLM-Workshop/tree/main/chat_assistant/training with flash-attn V2 monkey patch 2. FSDP config: https://github.com/pacman100/DHS-LLM-Workshop/blob/main/chat_assistant/training/configs/fsdp_config.yaml 3. SLURM script launch.slurm: https://gist.github.com/pacman100/1cb1f17b2f1b3139a63b764263e70b25 4. Model: meta-llama/Llama-2-70b-chat-hf 5. Dataset: smangrul/code-chat-assistant-v1 (mix of LIMA+GUANACO with proper formatting in a ready-to-train format) | [
-0.025529026985168457,
0.014092649333178997,
-0.019163763150572777,
0.08165725320577621,
0.07638499140739441,
-0.07195430994033813,
0.0902034342288971,
0.030248016119003296,
0.02568843588232994,
-0.0070233820006251335,
-0.04523690789937973,
0.021727662533521652,
-0.02313423529267311,
0.02733922004699707,
0.003338197711855173,
-0.06348111480474472,
0.07891517877578735,
-0.027237147092819214,
-0.012990793213248253,
0.06768026947975159,
0.011057830415666103,
-0.0415220782160759,
0.0005115780513733625,
-0.0020117750391364098,
0.012963800691068172,
-0.011256139725446701,
-0.056749437004327774,
0.05545251816511154,
0.018197396770119667,
0.004963168874382973,
-0.07090636342763901,
-0.009645972400903702,
-0.013571993447840214,
0.02422751858830452,
-0.004259709268808365,
-0.01636713556945324,
-0.07919316738843918,
0.056889500468969345,
0.03959699720144272,
-0.04095359519124031,
-0.03678838536143303,
-0.03426600620150566,
-0.011387399397790432,
0.06593839079141617,
0.016815999522805214,
0.02100990153849125,
-0.038973793387413025,
0.0016788996290415525,
0.010147811844944954,
-0.04563010483980179,
-0.11845109611749649,
0.020877888426184654,
0.0144497100263834,
-0.07804720103740692,
0.022127682343125343,
0.027205463498830795,
0.002063143765553832,
-0.023815477266907692,
0.0001383588241878897,
0.05130773410201073,
-0.0015562621410936117,
-0.03464052826166153,
0.014925012364983559,
0.036564841866493225,
0.0431428961455822,
-0.005105516407638788,
-0.006763014011085033,
0.009631283581256866,
-0.05998198315501213,
-0.07311947643756866,
0.022100767120718956,
0.03905569016933441,
0.00494747469201684,
0.010798508301377296,
0.017427727580070496,
-0.08300184458494186,
0.030337832868099213,
0.019632892683148384,
-0.007210331968963146,
-0.0030284207314252853,
-0.07308796793222427,
0.064473956823349,
0.03393576294183731,
0.03567509353160858,
-0.01058254949748516,
0.03551236912608147,
0.09535732865333557,
-0.08128239214420319,
-0.008415940217673779,
-0.010260091163218021,
-0.033608462661504745,
-0.014874505810439587,
-0.03589106723666191,
0.021472278982400894,
0.10557714849710464,
-0.011279365047812462,
-0.004584319889545441,
0.032519761472940445,
0.03487594425678253,
-0.01690976321697235,
0.010796906426548958,
-0.03359517082571983,
-0.01593799889087677,
-0.06274799257516861,
-0.014100311324000359,
0.06333878636360168,
-0.02514970488846302,
-0.04332834109663963,
-0.036122627556324005,
-0.032167475670576096,
-0.031145308166742325,
0.038424789905548096,
0.026330767199397087,
0.03202620893716812,
-0.05381791293621063,
0.017906012013554573,
0.011266208253800869,
-0.013028412126004696,
0.02552642859518528,
0.0021540315356105566,
0.015090308152139187,
0.08724015951156616,
0.07377292960882187,
-0.049979593604803085,
0.05751478672027588,
0.06525611132383347,
0.022976184263825417,
0.045739803463220596,
0.026717450469732285,
0.017458530142903328,
0.03385012224316597,
-0.06271632760763168,
0.008725176565349102,
0.06874755024909973,
0.012926043942570686,
-0.04860687255859375,
-0.03236928954720497,
-0.04389837011694908,
0.06188527122139931,
0.03399839997291565,
-0.028043072670698166,
0.026046836748719215,
0.010890037752687931,
-0.028136281296610832,
0.06897158175706863,
0.008981206454336643,
-0.05771775171160698,
0.01818082295358181,
-0.009068507701158524,
-0.049988191574811935,
-0.04614028334617615,
0.08405300229787827,
-0.0361446887254715,
-0.03261785954236984,
0.07304827123880386,
0.04912635311484337,
-0.07611039280891418,
-0.04807773604989052,
-0.11459282785654068,
0.04613450914621353,
-0.031291309744119644,
0.002587445778772235,
-0.07769309729337692,
0.02166704088449478,
0.029290277510881424,
0.021647050976753235,
-0.0011289053363725543,
0.05165380612015724,
0.028326859697699547,
0.036481428891420364,
0.03379828482866287,
0.014674262143671513,
0.054940491914749146,
-0.006966178305447102,
-0.01169617846608162,
0.06300508975982666,
0.043724652379751205,
0.044944874942302704,
-0.02697901241481304,
-0.01732424460351467,
0.004633174277842045,
-0.03445317596197128,
-0.05183666571974754,
0.15197798609733582,
-0.03628303483128548,
-0.05264829844236374,
0.07443634420633316,
-0.027316465973854065,
-0.042124032974243164,
0.024232426658272743,
0.010047768242657185,
0.055708009749650955,
0.05813344568014145,
-0.03942021355032921,
0.019871704280376434,
-0.00354702933691442,
-0.03933841735124588,
0.055374979972839355,
0.14932987093925476,
0.04784753918647766,
0.08473342657089233,
0.08935286849737167,
0.015218078158795834,
0.023405276238918304,
-0.10018420964479446,
0.020322225987911224,
0.03339720889925957,
-0.0726218968629837,
0.06318966299295425,
0.04206337034702301,
-0.03703189268708229,
-0.11421369016170502,
-0.006322017405182123,
-0.04144809767603874,
0.020885298028588295,
-0.03258952498435974,
0.011540328152477741,
-0.09136279672384262,
0.05248172953724861,
-0.031293563544750214,
0.062471117824316025,
-0.003411655779927969,
-0.03170162811875343,
0.036636270582675934,
-0.06462903320789337,
-0.010788471437990665,
0.07057103514671326,
0.01584452949464321,
0.07080662995576859,
-0.06287868320941925,
-0.026491880416870117,
-0.018801989033818245,
-0.031982507556676865,
0.088279590010643,
-0.008394074626266956,
0.01531373243778944,
-0.05840001627802849,
0.016017654910683632,
0.0481843426823616,
-0.04204092547297478,
0.040084876120090485,
0.037280693650245667,
-0.02162802219390869,
-0.0006777622038498521,
-0.006417585536837578,
-0.018978817388415337,
0.015371068380773067,
-0.011349758133292198,
-0.038377270102500916,
0.032279353588819504,
-0.08168509602546692,
0.05231647938489914,
-0.013990173116326332,
0.0700577050447464,
-0.005630240309983492,
-0.048984188586473465,
-0.015979358926415443,
-0.031045202165842056,
-0.058136384934186935,
0.049057818949222565,
0.05303489789366722,
0.022286197170615196,
-0.051395196467638016,
0.043629880994558334,
0.007454977370798588,
-0.02555161714553833,
0.04992147162556648,
-0.028110085055232048,
0.008823448792099953,
-0.02680904045701027,
-0.012031983584165573,
-0.021531518548727036,
0.034965503960847855,
-0.00034468481317162514,
0.04203762486577034,
0.032893069088459015,
0.0337318480014801,
-0.048308197408914566,
-0.02312305197119713,
0.011337931267917156,
0.006810448598116636,
-0.028260275721549988,
0.0466466024518013,
0.01348617672920227,
-0.023332085460424423,
-0.018796388059854507,
0.02554316446185112,
-0.014887269586324692,
-0.03802116960287094,
-0.0005312866996973753,
0.015156266279518604,
-0.004014784935861826,
-0.005183811765164137,
0.04141831770539284,
-0.055216167122125626,
0.025319484993815422,
-0.008199550211429596,
-0.03380068764090538,
-0.031385622918605804,
-0.0470287948846817,
-0.057225100696086884,
0.009605265222489834,
-0.013887276872992516,
-0.06228647381067276,
-0.004341503605246544,
0.001609436352737248,
-0.03934266045689583,
-0.0029835181776434183,
-0.07961536198854446,
0.009703622199594975,
0.005658477079123259,
0.007714592851698399,
0.0030546984635293484,
-0.01554832886904478,
-0.004341928754001856,
-0.046374984085559845,
0.005664140451699495,
0.009308014996349812,
0.005246251821517944,
0.023373207077383995,
0.02681192196905613,
-0.007430298253893852,
0.028882581740617752,
0.0022732503712177277,
0.0321129746735096,
-0.02001304179430008,
0.02230113558471203,
-0.039701785892248154,
-0.010218288749456406,
0.014431925490498543,
0.007430218625813723,
0.011561928316950798,
-0.026766831055283546,
0.04684840887784958,
-0.0019260019762441516,
-0.021830745041370392,
0.0028670881874859333,
-0.02881801687180996,
-0.036452390253543854,
-0.03003286011517048,
-0.02836739830672741,
0.01771853305399418,
-0.06655240803956985,
-0.0216839499771595,
0.005863468628376722,
0.04136628657579422,
0.00044365692883729935,
0.05103762820363045,
0.01674213632941246,
-0.07066579163074493,
0.028666865080595016,
0.0000704152334947139,
0.015319980680942535,
0.03289492428302765,
-0.008701633661985397,
-0.08046738803386688,
-0.005860777106136084,
-0.008030889555811882,
0.00037702725967392325,
0.004101863596588373,
0.0011467727599665523,
0.07680472731590271,
-0.028427070006728172,
0.03267358988523483,
0.02220667339861393,
-0.006486799567937851,
0.016358502209186554,
0.003899585222825408,
-0.003504409221932292,
0.022881625220179558,
-0.015981169417500496,
0.019551316276192665,
0.018881618976593018,
0.04417725279927254,
0.036120060831308365,
-0.010182746686041355,
-0.034565575420856476,
0.006852119229733944,
-0.025109224021434784,
0.052576519548892975,
0.03388413041830063,
-0.001955656101927161,
-0.02296757884323597,
0.007880291901528835,
-0.05290092155337334,
-0.022223399952054024,
0.005634103901684284,
0.023161105811595917,
0.026124631986021996,
-0.020877696573734283,
-0.0323878675699234,
-0.0570845790207386,
0.028620636090636253,
-0.00334870140068233,
-0.04346179962158203,
-0.012775680981576443,
0.02004603110253811,
0.0003673588507808745,
0.002026000525802374,
0.02584659494459629,
0.005850532092154026,
-0.01193116046488285,
0.02053324691951275,
-0.0034726904705166817,
-0.016796238720417023,
-0.011979267932474613,
0.014861354604363441,
-0.014452828094363213,
0.0018935614498332143,
0.012634160928428173,
0.044282108545303345,
0.04628180339932442,
-0.03467012569308281,
0.03047010488808155,
-0.020732661709189415,
-0.01580461673438549,
0.004708597436547279,
0.0036883908323943615,
-0.024748796597123146,
-0.02921593375504017,
0.04218243062496185,
-0.02341863326728344,
0.0024775753263384104,
0.07089287787675858,
-0.06241520866751671,
0.04763689264655113,
-0.00789624359458685,
0.06091124936938286,
-0.027578474953770638,
-0.004503353498876095,
0.01589476689696312,
-0.04941391944885254,
0.04917633906006813,
-0.04865187406539917,
-0.006358650512993336,
0.018250858411192894,
0.01867024414241314,
-0.0012576712761074305,
-0.022646861150860786,
-0.009654229506850243,
0.013922890648245811,
0.008651373907923698,
0.003159950952976942,
-0.014500651508569717,
-0.03054763749241829,
-0.03331909701228142,
0.01576780527830124,
-0.013365105725824833,
-0.006114353891462088,
-0.020592162385582924,
0.030614174902439117,
-0.016514793038368225,
0.050327032804489136,
0.013071137480437756,
0.0204420518130064,
0.02058655582368374,
0.010059497319161892,
0.06995683163404465,
0.036839600652456284,
-0.06111503392457962,
-0.049965277314186096,
-0.010881000198423862,
0.01002950593829155,
0.02502312697470188,
0.009439765475690365,
0.015053280629217625,
0.0389140285551548,
0.022271815687417984,
-0.046503521502017975,
-0.0305556058883667,
-0.06111400946974754,
0.021784143522381783,
0.0063154567033052444,
0.027247535064816475,
-0.02604648657143116,
0.006009030155837536,
0.010421089828014374,
-0.027440110221505165,
-0.027686456218361855,
0.01907968893647194,
0.02629569172859192,
-0.019783111289143562,
0.04547856003046036,
0.02957184985280037,
0.044615913182497025,
-0.015401032753288746,
-0.017704252153635025,
0.02874664030969143,
-0.05425179749727249,
0.016797112300992012,
0.010526721365749836,
-0.008243434131145477,
-0.0030897341202944517,
0.015791360288858414,
0.02149951457977295,
0.034510448575019836,
0.05818120762705803,
0.032045893371105194,
0.01976851187646389,
-0.02469521015882492,
0.01567833125591278,
0.016734817996621132,
0.0041784001514315605,
-0.010289540514349937,
-0.0336083248257637,
0.058465756475925446,
-0.01039382815361023,
-0.016594016924500465,
0.03156959265470505,
0.03626956045627594,
-0.004482579417526722,
-0.0047914935275912285,
0.005739673972129822,
-0.004321434069424868,
0.001478746416978538,
-0.021280255168676376,
0.020119046792387962,
-0.03219485282897949,
-0.0019586237613111734,
0.005378773435950279,
-0.028973296284675598,
-0.01625860296189785,
0.050265248864889145,
-0.02252519503235817,
-0.07527726888656616,
0.036847855895757675,
0.031209802255034447,
0.021853536367416382,
-0.003162095556035638,
-0.04886418953537941,
-0.028497131541371346,
0.014587738551199436,
-0.03558678179979324,
-0.023076651617884636,
0.03309708833694458,
0.006334072910249233,
-0.014080168679356575,
0.036647263914346695,
0.030681924894452095,
-0.031159181147813797,
0.04012259095907211,
0.06381473690271378,
-0.0037154946476221085,
0.001845508930273354,
-0.033190738409757614,
-0.007555331103503704,
0.05263400077819824,
0.036064814776182175,
-0.042558323591947556,
-0.029006000608205795,
-0.028075067326426506,
-0.0074612139724195,
-0.060647450387477875,
0.026867302134633064,
-0.022737162187695503,
-0.02187185361981392,
-0.010376118123531342,
0.014680776745080948,
0.014659487642347813,
-0.034068044275045395,
0.04298922419548035,
-0.0024135212879627943,
-0.03185974806547165,
0.028629960492253304,
-0.0019379309378564358,
-0.02671835757791996,
0.015534359961748123,
-0.04878125712275505,
-0.011814776808023453,
-0.038755256682634354,
0.020348895341157913,
0.05000225454568863,
0.002313952660188079,
-0.022325733676552773,
0.012117262929677963,
-0.025926027446985245,
0.004745589569211006,
0.028666982427239418,
0.024805404245853424,
-0.029456228017807007,
-0.02887377142906189,
0.010473525151610374,
-0.021925415843725204,
-0.02601313777267933,
0.018619779497385025,
0.011375815607607365,
0.02021639235317707,
-0.0014907462755218148,
0.015981515869498253,
0.017866840586066246,
-0.015735989436507225,
0.01949874311685562,
-0.035247426480054855,
-0.008239380083978176,
0.04997497797012329,
0.0654245987534523,
-0.010402275249361992,
0.02210124023258686,
-0.01586037129163742,
0.0037357534747570753,
-0.0336616151034832,
0.006332938559353352,
-0.000016517560652573593,
-0.01839098148047924,
0.041775502264499664,
-0.0029328109230846167,
-0.031867120414972305,
-0.008328263647854328,
0.06558628380298615,
0.03902813047170639,
0.03956395387649536,
0.021403009071946144,
0.0035658187698572874,
-0.05100410059094429,
-0.025788230821490288,
0.0054951924830675125,
-0.03476395830512047,
-0.03038664348423481,
-0.03250643610954285,
0.03517806902527809,
0.011500860564410686,
0.043926969170570374,
0.000005484961548063438,
0.01454212423413992,
0.01338251307606697,
-0.001980002736672759,
0.05298645421862602,
0.04682750999927521,
0.03437884524464607,
0.028162403032183647,
-0.0013467641547322273,
-0.020057272166013718,
0.0060839345678687096,
-0.05080103501677513,
-0.014238699339330196,
-0.04250788688659668,
0.03330659493803978,
0.01304748747497797,
-0.0022357741836458445,
0.0010912491707131267,
-0.04649337753653526,
-0.05340847000479698,
-0.026546217501163483,
0.012990649789571762,
-0.02164587192237377,
-0.01587754860520363,
-0.03648775815963745,
0.000832499354146421,
0.008439501747488976,
0.021916544064879417,
0.007525596767663956,
0.0644523873925209,
0.007849480956792831,
-0.010884121060371399,
0.05496282875537872,
-0.046182259917259216,
0.002055567456409335,
-0.0012735385680571198,
0.026326308026909828,
-0.008701561950147152,
-0.04264722391963005,
-0.030750086531043053,
0.0060658082365989685,
-0.04394383355975151,
0.01530094537883997,
-0.023184750229120255,
0.014541564509272575,
-0.01693904958665371,
-0.020754903554916382,
0.04833310842514038,
0.026285242289304733,
0.038595154881477356,
-0.02559596672654152,
-0.014734193682670593,
-0.007757164537906647,
-0.030928628519177437,
0.024098074063658714,
-0.054086122661828995,
0.018201394006609917,
-0.013305440545082092,
-0.016940787434577942,
-0.013948291540145874,
-0.009369700215756893,
-0.02349458634853363,
0.04155895113945007,
0.02334364503622055,
-0.007030476815998554,
-0.013789677061140537,
0.06623353809118271,
-0.01408515777438879,
0.006896798964589834,
-0.01915523037314415,
-0.007180739194154739,
0.008664770051836967,
0.003139284672215581,
0.006715744733810425,
-0.026832981035113335,
0.025678342208266258,
0.013219759799540043,
-0.06607508659362793,
-0.042807284742593765,
-0.0024904441088438034,
0.02057703584432602,
0.048407912254333496,
-0.016901632770895958,
-0.07596589624881744,
0.008782324381172657,
-0.04956373944878578,
-0.02782345563173294,
0.019782600924372673,
0.01825130544602871,
0.04847097396850586,
0.033057428896427155,
-0.01296062022447586,
-0.017157558351755142,
-0.01097477599978447,
-0.012130100280046463,
-0.0042673866264522076,
0.08046779036521912,
-0.030599411576986313,
-0.02071148157119751,
-0.04778595641255379,
-0.010942157357931137,
0.009961389005184174,
-0.047671493142843246,
-0.02515045925974846,
-0.013568337075412273,
-0.016898637637495995,
-0.009712429717183113,
0.020327506586909294,
-0.01255588699132204,
0.01649167574942112,
0.0305147897452116,
-0.006106135901063681,
0.0031619982328265905,
0.05524228513240814,
-0.005369585007429123,
-0.07272667437791824,
0.024512436240911484,
0.003087319666519761,
-0.013585137203335762,
0.030349187552928925,
0.001335509936325252,
-0.008515456691384315,
-0.03420992195606232,
-0.032282158732414246,
-0.01168415043503046,
0.00003422845111344941,
-0.02790597267448902,
0.004645653069019318,
-0.005299542564898729,
0.02069803513586521,
-0.02351105958223343,
-0.03141513466835022,
0.05085890367627144,
0.011831609532237053,
-0.03754499927163124,
0.0011481867404654622,
0.020737875252962112,
-0.035148829221725464,
0.011568893678486347,
-0.0458589568734169,
0.004801835399121046,
0.02073417417705059,
0.02839847281575203,
-0.013178881257772446,
-0.01481663528829813,
0.016042472794651985
] |
Fine-tuning Llama 2 70B using PyTorch FSDP | smangrul | September 13, 2023 | ram-efficient-pytorch-fsdp | llm, guide, nlp | https://huggingface.co/blog/ram-efficient-pytorch-fsdp | Addressing Challenge 2 It is addressed via choosing SHARDED_STATE_DICT state dict type when creating FSDP config. SHARDED_STATE_DICT saves shard per GPU separately which makes it quick to save or resume training from intermediate checkpoint. When FULL_STATE_DICT is used, first process (rank 0) gathers the whole model on CPU and then saving it in a standard format. Let’s create the accelerate config via below command: accelerate config --config_file "fsdp_config.yaml" The resulting config is available here: fsdp_config.yaml. Here, the sharding strategy is FULL_SHARD. We are using TRANSFORMER_BASED_WRAP for auto wrap policy and it uses _no_split_module to find the Transformer block name for nested FSDP auto wrap. We use SHARDED_STATE_DICT to save the intermediate checkpoints and optimizer states in this format recommended by the PyTorch team. Make sure to enable broadcasting module parameters from rank 0 at the start as mentioned in the above paragraph on addressing Challenge 1. We are enabling bf16 mixed precision training. For final checkpoint being the whole model state dict, below code snippet is used: python if trainer.is_fsdp_enabled: trainer.accelerator.state.fsdp_plugin.set_state_dict_type("FULL_STATE_DICT") trainer.save_model(script_args.output_dir) # alternatively, trainer.push_to_hub() if the whole ckpt is below 50GB as the LFS limit per file is 50GB | [
0.002325803507119417,
-0.010923686437308788,
-0.017998000606894493,
0.040219031274318695,
-0.013584932312369347,
-0.020166343078017235,
0.015016568824648857,
0.007490262389183044,
-0.0347631499171257,
-0.0757206529378891,
-0.07639465481042862,
-0.07071090489625931,
0.014482216909527779,
0.0077713532373309135,
0.012239654548466206,
0.007567789405584335,
0.06582238525152206,
-0.060785938054323196,
-0.017681272700428963,
0.049305420368909836,
0.002970668952912092,
-0.04206809774041176,
-0.0003836541436612606,
0.03345774486660957,
0.015352453105151653,
-0.06488065421581268,
-0.034825485199689865,
0.04018642008304596,
-0.000045165659685153514,
0.09250154346227646,
-0.03531617671251297,
-0.00002159791620215401,
0.0032106537837535143,
0.013268104754388332,
0.07546347379684448,
-0.03744274377822876,
-0.038337547332048416,
0.09812142699956894,
0.027946963906288147,
-0.06231796741485596,
0.01718069240450859,
-0.03017730452120304,
-0.04400710389018059,
0.02101631462574005,
0.0165158212184906,
0.027996079996228218,
-0.060393184423446655,
0.0533139631152153,
-0.006258423440158367,
-0.07429703325033188,
-0.09243402630090714,
0.019188812002539635,
-0.05069343000650406,
0.0019122434314340353,
0.021296000108122826,
0.021311353892087936,
-0.06609129905700684,
-0.02782803401350975,
0.01101001724600792,
0.06892366707324982,
0.016086870804429054,
-0.01952231489121914,
-0.03581109270453453,
0.05766861513257027,
0.06281517446041107,
-0.054406579583883286,
0.05718422308564186,
0.0032348555978387594,
-0.07580272108316422,
-0.07773666083812714,
0.006069966126233339,
0.05551322549581528,
-0.008800569921731949,
0.039020273834466934,
-0.02468193508684635,
-0.08537878096103668,
-0.022821974009275436,
0.00040438809082843363,
0.04850173369050026,
0.02573234774172306,
-0.056421082466840744,
0.03850885480642319,
0.004710987210273743,
0.020899508148431778,
0.04207341745495796,
-0.10246182978153229,
0.06753775477409363,
-0.05669903755187988,
0.03300085663795471,
0.03588053956627846,
-0.04112151637673378,
-0.05093418434262276,
0.04359400272369385,
0.011976652778685093,
0.10960457473993301,
-0.007583178114145994,
-0.04525483027100563,
0.015685953199863434,
0.041952136904001236,
0.01412670873105526,
0.02495930716395378,
-0.091354139149189,
-0.07068552076816559,
0.010207326151430607,
-0.015177689492702484,
0.060414381325244904,
-0.07470496743917465,
-0.03689347952604294,
-0.032605431973934174,
-0.0044370368123054504,
-0.05945547670125961,
0.037550125271081924,
-0.08981525897979736,
0.059358906000852585,
-0.044043734669685364,
0.03652939945459366,
-0.030327647924423218,
-0.00828590802848339,
-0.03260510042309761,
-0.042173970490694046,
-0.009662951342761517,
0.1315501481294632,
0.04025039076805115,
0.005976385902613401,
0.01667862944304943,
0.033605627715587616,
-0.03260006755590439,
0.06075989827513695,
-0.03262308984994888,
0.047517381608486176,
0.004778557922691107,
-0.03161557763814926,
0.015451628714799881,
0.07014849781990051,
-0.024610374122858047,
-0.022136086598038673,
-0.01639644242823124,
-0.03777115419507027,
0.03898456692695618,
0.022006405517458916,
-0.05751427263021469,
0.02946118637919426,
0.0012759171659126878,
-0.04927441477775574,
-0.005979280918836594,
-0.023147840052843094,
-0.015570765361189842,
0.061249688267707825,
-0.006421178113669157,
0.02654336579144001,
-0.03197099268436432,
0.09318961948156357,
-0.047447483986616135,
-0.02213316410779953,
0.04909700155258179,
0.058379776775836945,
-0.05388324335217476,
-0.007772712968289852,
-0.0507848784327507,
-0.027949707582592964,
0.013525474816560745,
0.005310446489602327,
-0.0621870718896389,
-0.008630766533315182,
0.0447971448302269,
-0.03639328107237816,
0.022567786276340485,
-0.005221350584179163,
0.06580714136362076,
-0.03397899121046066,
-0.030884386971592903,
0.05532935634255409,
0.0491161048412323,
0.04877334460616112,
0.024935554713010788,
0.04838183522224426,
-0.002245532348752022,
0.0897330492734909,
-0.0048162671737372875,
-0.06695985049009323,
-0.057532552629709244,
0.009555401280522346,
-0.0912485271692276,
0.09883677214384079,
-0.012333685532212257,
-0.01871289499104023,
0.09659135341644287,
-0.010851779952645302,
-0.025326428934931755,
0.07382417470216751,
-0.026116635650396347,
0.006982122082263231,
0.012820478528738022,
0.00009196827886626124,
0.033068615943193436,
-0.05553998053073883,
0.024736270308494568,
0.043721169233322144,
0.0552353672683239,
-0.01157434657216072,
0.09854034334421158,
0.010916266590356827,
0.0009028600179590285,
-0.025788821280002594,
0.0042889304459095,
0.05979842320084572,
-0.0506562814116478,
-0.10372933000326157,
0.04440642520785332,
0.005179460160434246,
-0.037564266473054886,
-0.1174604520201683,
0.04004628583788872,
-0.07909028232097626,
-0.027627157047390938,
-0.045265451073646545,
-0.04408310353755951,
-0.030465049669146538,
0.04460730031132698,
-0.022637851536273956,
0.09049531072378159,
-0.00445097079500556,
0.037561457604169846,
0.031947534531354904,
-0.029342390596866608,
0.00682800030335784,
0.013685469515621662,
0.028451746329665184,
0.043455079197883606,
-0.0984860509634018,
-0.08687353134155273,
-0.031876809895038605,
-0.03608296811580658,
0.08377355337142944,
0.03859712928533554,
0.0402027852833271,
-0.05770552530884743,
0.023856744170188904,
0.04727085679769516,
-0.03565110266208649,
-0.02545546367764473,
0.017293356359004974,
0.025704795494675636,
-0.03941678628325462,
-0.002257099375128746,
0.02317432127892971,
0.06431201845407486,
0.05877120792865753,
-0.05550502985715866,
-0.025775695219635963,
-0.09195493161678314,
0.05113432556390762,
-0.06116904318332672,
0.02735130861401558,
0.05554144084453583,
0.020170388743281364,
0.004825350362807512,
-0.05026159808039665,
-0.03724844753742218,
0.04900652542710304,
0.013730465434491634,
-0.009726178832352161,
-0.04695812240242958,
-0.019052831456065178,
0.02846001833677292,
-0.035915348678827286,
0.02979055978357792,
-0.021815231069922447,
0.053969498723745346,
0.004836282692849636,
-0.01901271753013134,
-0.048648733645677567,
0.02499542385339737,
0.022022848948836327,
-0.023268738761544228,
0.035130131989717484,
0.02785530313849449,
-0.010050551034510136,
-0.034434396773576736,
-0.010250578634440899,
-0.031087292358279228,
-0.03158307075500488,
0.005811554379761219,
0.019792500883340836,
-0.040131084620952606,
-0.00756325526162982,
0.01772107556462288,
0.018464071676135063,
-0.037970513105392456,
-0.026281850412487984,
0.025583794340491295,
0.04964609444141388,
0.03467319905757904,
-0.002875678241252899,
-0.03063877858221531,
0.0800107941031456,
-0.027415920048952103,
-0.024681374430656433,
0.025189416483044624,
-0.026044240221381187,
-0.062013424932956696,
0.0067391954362392426,
0.021526798605918884,
0.0008004764677025378,
0.011103535071015358,
-0.005307916086167097,
-0.013218573294579983,
0.009619037620723248,
-0.07526587694883347,
0.0037631907034665346,
0.0144980289041996,
0.05323442816734314,
-0.0024474654346704483,
-0.028187641873955727,
-0.01107452716678381,
0.000035380900953896344,
-0.006443703081458807,
-0.018027566373348236,
0.001050026505254209,
0.022977571934461594,
0.002662498038262129,
-0.017480406910181046,
-0.01948368363082409,
0.01292561274021864,
0.024041814729571342,
-0.05761805176734924,
0.053090255707502365,
-0.008350791409611702,
-0.010576426051557064,
-0.010904262773692608,
-0.013600599020719528,
-0.024832548573613167,
-0.0038727412465959787,
0.006514574401080608,
0.028873261064291,
0.022076662629842758,
-0.04048846662044525,
-0.025335021317005157,
-0.04810642823576927,
-0.018005186691880226,
-0.06869450956583023,
-0.002632566960528493,
-0.00562930665910244,
-0.0026741893962025642,
-0.010669547133147717,
0.02104315534234047,
0.00767632806673646,
0.03132299706339836,
0.002771504921838641,
-0.05454635992646217,
0.015992436558008194,
-0.029353253543376923,
0.034642305225133896,
-0.010149413719773293,
0.0467216856777668,
-0.04838240519165993,
-0.009083800949156284,
-0.023258227854967117,
-0.007666257210075855,
-0.04212671145796776,
-0.014947478659451008,
0.06120721250772476,
-0.033573392778635025,
0.036396678537130356,
0.010341149754822254,
0.05825122445821762,
0.05164363607764244,
0.00035661537549458444,
-0.021693270653486252,
0.005201444961130619,
0.02133946679532528,
-0.062177177518606186,
0.048364926129579544,
0.05287328362464905,
0.04937288910150528,
-0.05188435688614845,
-0.029462633654475212,
0.0225423164665699,
-0.034502748399972916,
0.028867686167359352,
0.035759180784225464,
-0.009660703130066395,
-0.038575995713472366,
-0.014488347806036472,
-0.012346725910902023,
-0.019809337332844734,
0.01037849672138691,
0.05351439490914345,
-0.03700073063373566,
-0.0019534025341272354,
-0.027317656204104424,
-0.018247773870825768,
0.02526753954589367,
0.02988797053694725,
-0.0026664237957447767,
-0.016130713745951653,
0.028286388143897057,
0.016707774251699448,
0.040802251547575,
0.0032998777460306883,
0.01767592690885067,
0.0017213209066540003,
-0.012261864729225636,
0.006802938878536224,
0.01964963600039482,
-0.008821455761790276,
-0.014110542833805084,
0.020512711256742477,
-0.006777193397283554,
-0.05797050520777702,
-0.013875744305551052,
0.024312233552336693,
-0.030010895803570747,
0.011330376379191875,
-0.028830096125602722,
0.015755731612443924,
0.003504717256873846,
-0.0034583802334964275,
-0.006227655801922083,
0.03510049358010292,
0.01615690067410469,
-0.030772825703024864,
0.03872154653072357,
0.04869867488741875,
-0.0183255635201931,
0.02851684018969536,
-0.020371640101075172,
0.045238785445690155,
-0.05184013023972511,
0.016712617129087448,
0.019701994955539703,
-0.025168245658278465,
-0.007931958884000778,
-0.050049398094415665,
0.020546481013298035,
-0.015742426738142967,
0.0204300656914711,
-0.009105143137276173,
-0.0388222336769104,
0.009853821247816086,
0.001681363908573985,
0.009468440897762775,
0.013427876867353916,
-0.011958245187997818,
0.012451764196157455,
-0.004923609551042318,
-0.013738607987761497,
-0.04903994873166084,
-0.018315300345420837,
0.024477694183588028,
0.0666850209236145,
-0.00798289105296135,
0.005369858350604773,
-0.01764645241200924,
0.04496024549007416,
0.05114813148975372,
0.010930477641522884,
0.013899042271077633,
0.02764103189110756,
0.015196938998997211,
-0.03255906328558922,
-0.033285222947597504,
0.03764943405985832,
0.03258825093507767,
0.02162962406873703,
0.01673154905438423,
0.03142905980348587,
-0.021083472296595573,
-0.03745903819799423,
-0.06370104104280472,
-0.059078946709632874,
0.05368008092045784,
0.014288479462265968,
0.01532232016324997,
-0.016144171357154846,
-0.003226713975891471,
0.006219332106411457,
-0.03625655919313431,
-0.03339366614818573,
-0.001432969351299107,
0.012976273894309998,
-0.03579162061214447,
0.057348527014255524,
0.02988273650407791,
0.012739963829517365,
0.013588707894086838,
-0.047705523669719696,
-0.0014086468145251274,
-0.017484107986092567,
0.02623954974114895,
0.005586413200944662,
0.008565859869122505,
-0.041512150317430496,
0.007717535365372896,
0.022836705669760704,
0.039269644767045975,
0.01991111971437931,
0.05631108209490776,
-0.02362174354493618,
-0.0035650243517011404,
-0.023503204807639122,
0.0044983127154409885,
0.022447407245635986,
-0.015428808517754078,
-0.015006649307906628,
0.020883291959762573,
0.0066764275543391705,
0.015691695734858513,
-0.00448277872055769,
0.0637127161026001,
0.019741911441087723,
-0.019006842747330666,
0.003478524973616004,
0.04070262238383293,
0.04039746895432472,
0.038069114089012146,
-0.0005774741875939071,
0.0008065059082582593,
0.0149536756798625,
0.0413055457174778,
-0.01617405377328396,
-0.03903035819530487,
0.00006132200360298157,
-0.033840112388134,
-0.05832269787788391,
0.027632785961031914,
-0.005762252025306225,
0.02048463188111782,
0.018856773152947426,
-0.00889937486499548,
0.014292276464402676,
0.0075817168690264225,
-0.04049328714609146,
-0.07328320294618607,
0.02661389298737049,
0.02300488017499447,
-0.015247449278831482,
0.0362086296081543,
-0.011201812885701656,
0.01871279999613762,
0.033161040395498276,
0.02018766663968563,
0.010905932635068893,
-0.013262300752103329,
-0.0027687991969287395,
0.022195329889655113,
0.022581078112125397,
-0.03281180560588837,
0.008055441081523895,
0.008776052854955196,
-0.02725823223590851,
0.007543242070823908,
-0.05043850094079971,
0.037235602736473083,
0.008652184158563614,
0.021065108478069305,
0.008688071742653847,
0.02710479311645031,
0.014856730587780476,
-0.029004236683249474,
0.006542657967656851,
-0.024893205612897873,
0.02617696113884449,
-0.025964029133319855,
0.03579907864332199,
-0.014731881208717823,
0.04902491346001625,
0.007842499762773514,
0.024527303874492645,
-0.05074744299054146,
-0.01877547800540924,
0.026961462572216988,
0.045203179121017456,
-0.019763227552175522,
-0.03299790993332863,
-0.0333964005112648,
0.011627444997429848,
0.029213760048151016,
0.008292037062346935,
0.016819262877106667,
-0.006194271147251129,
-0.0069769565016031265,
-0.009203284047544003,
0.002552269259467721,
0.07129143178462982,
0.005165070295333862,
-0.03489488735795021,
0.0016851811669766903,
0.027793629094958305,
0.04988989606499672,
-0.017280811443924904,
0.020936468616127968,
-0.025998499244451523,
0.00477020675316453,
0.04758009687066078,
-0.0028530810959637165,
-0.0038079244550317526,
0.012170995585620403,
-0.008570808917284012,
0.009921806864440441,
-0.004625244531780481,
-0.022163115441799164,
0.001692796009592712,
-0.026308299973607063,
0.017255503684282303,
-0.017759911715984344,
-0.0003929322410840541,
-0.01228441670536995,
0.024254580959677696,
0.05705516040325165,
-0.0068324231542646885,
-0.04356257617473602,
-0.008318077772855759,
0.007156242150813341,
0.015420524403452873,
0.0376792810857296,
0.030810130760073662,
-0.023506099358201027,
0.0395636223256588,
0.03131161257624626,
0.00471254950389266,
0.029759308323264122,
0.04968821629881859,
-0.01961386948823929,
0.018326330929994583,
-0.007772848941385746,
0.01772540807723999,
0.007808566093444824,
0.03211895003914833,
0.03082970902323723,
0.004769164137542248,
-0.024031419306993484,
-0.02674555405974388,
-0.012464617379009724,
-0.004554321523755789,
-0.0370718315243721,
-0.011236320249736309,
0.0459095723927021,
-0.033421941101551056,
0.009919839911162853,
-0.0344867929816246,
-0.021525252610445023,
0.002247544936835766,
0.012915585190057755,
-0.03125394135713577,
0.05477246269583702,
0.005459209438413382,
0.03017418086528778,
-0.007576280273497105,
0.008188924752175808,
0.007094602100551128,
0.07195179909467697,
-0.0493575856089592,
0.014532940462231636,
0.02067672275006771,
-0.0036255500745028257,
0.03511934354901314,
0.009672388434410095,
0.027847377583384514,
0.03435847535729408,
0.010989355854690075,
-0.002676798962056637,
-0.0023863285314291716,
-0.07984638214111328,
0.05404772609472275,
-0.017490040510892868,
-0.019438492134213448,
-0.00017223686154466122,
0.009543363936245441,
0.04451102390885353,
-0.009317586198449135,
0.02448519878089428,
-0.05767509713768959,
-0.025495275855064392,
0.010071617551147938,
-0.02603364922106266,
0.048656951636075974,
0.0076941014267504215,
-0.012590005993843079,
0.0013777290005236864,
-0.0051733399741351604,
-0.030647413805127144,
-0.04468550905585289,
-0.04637369513511658,
0.015193594619631767,
0.023312529549002647,
0.03915485739707947,
0.019329862669110298,
0.050603676587343216,
-0.045184824615716934,
0.02580098621547222,
-0.019663754850625992,
-0.018721334636211395,
0.00406748428940773,
0.03887064382433891,
-0.005964288488030434,
-0.014217967167496681,
0.0231795534491539,
0.021281663328409195,
-0.05592018738389015,
-0.019472232088446617,
0.013852340169250965,
-0.014402464032173157,
0.011646914295852184,
-0.00006277902866713703,
-0.017011011019349098,
0.03651005029678345,
0.00422370620071888,
0.0016536506591364741,
-0.025810537859797478,
0.0033633923158049583,
0.0638156309723854,
0.026588357985019684,
0.025081783533096313,
-0.05276796966791153,
0.003319286508485675,
0.0041094995103776455,
-0.012435896322131157,
0.07400423288345337,
0.024896124377846718,
-0.00589747354388237,
-0.0534706674516201,
0.005050825886428356,
0.014631007798016071,
-0.03535161167383194,
-0.04536736384034157,
0.005050293635576963,
-0.027200181037187576,
-0.04197901487350464,
0.03932962194085121,
0.014233616180717945,
0.03353181108832359,
0.06052011251449585,
-0.03257031366229057,
-0.01784524694085121,
0.044185787439346313,
-0.01972694881260395,
-0.07820361107587814,
-0.025528183206915855,
-0.004052862990647554,
0.008061006665229797,
0.0007809671224094927,
-0.04484342783689499,
-0.007321829907596111,
0.0026962447445839643,
-0.02701452374458313,
-0.01602591760456562,
-0.009830465540289879,
-0.0037185191176831722,
-0.02424434758722782,
-0.007165076211094856,
0.026227837428450584,
-0.00759940966963768,
0.0005115243839100003,
0.03274822235107422,
-0.02692418359220028,
-0.02756073884665966,
0.0337677001953125,
0.030095312744379044,
0.014888052828609943,
0.005457020830363035,
-0.0023028298746794462,
0.03154503181576729,
0.020635195076465607,
0.03412759676575661,
-0.01530963834375143,
-0.010771021246910095,
-0.017561962828040123
] |
Fine-tuning Llama 2 70B using PyTorch FSDP | smangrul | September 13, 2023 | ram-efficient-pytorch-fsdp | llm, guide, nlp | https://huggingface.co/blog/ram-efficient-pytorch-fsdp | Addressing Challenge 3 Flash Attention and enabling gradient checkpointing are required for faster training and reducing VRAM usage to enable fine-tuning and save compute costs. The codebase currently uses monkey patching and the implementation is at chat_assistant/training/llama_flash_attn_monkey_patch.py. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness introduces a way to compute exact attention while being faster and memory-efficient by leveraging the knowledge of the memory hierarchy of the underlying hardware/GPUs - The higher the bandwidth/speed of the memory, the smaller its capacity as it becomes more expensive. If we follow the blog Making Deep Learning Go Brrrr From First Principles, we can figure out that Attention module on current hardware is memory-bound/bandwidth-bound. The reason being that Attention mostly consists of elementwise operations as shown below on the left hand side. We can observe that masking, softmax and dropout operations take up the bulk of the time instead of matrix multiplications which consists of the bulk of FLOPs. (Source: link) This is precisely the problem that Flash Attention addresses. The idea is to remove redundant HBM reads/writes. It does so by keeping everything in SRAM, perform all the intermediate steps and only then write the final result back to HBM, also known as Kernel Fusion. Below is an illustration of how this overcomes the memory-bound bottleneck. (Source: link) Tiling is used during forward and backward passes to chunk the NxN softmax/scores computation into blocks to overcome the limitation of SRAM memory size. To enable tiling, online softmax algorithm is used. Recomputation is used during backward pass in order to avoid storing the entire NxN softmax/score matrix during forward pass. This greatly reduces the memory consumption. For a simplified and in depth understanding of Flash Attention, please refer the blog posts ELI5: FlashAttention and Making Deep Learning Go Brrrr From First Principles along with the original paper FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness. | [
0.007027199026197195,
0.012460590340197086,
0.00987293105572462,
0.02183120884001255,
0.05500728636980057,
0.0001973391481442377,
0.028981272131204605,
0.059896569699048996,
0.03618336096405983,
-0.026090912520885468,
-0.05172178894281387,
0.06384452432394028,
-0.011357943527400494,
-0.006426641717553139,
-0.010586482472717762,
0.02397790737450123,
0.0923556238412857,
-0.07469232380390167,
-0.0150008425116539,
0.08059527724981308,
0.04423694685101509,
0.038416627794504166,
0.030653879046440125,
-0.013123814016580582,
-0.053763728588819504,
-0.014934180304408073,
0.016202829778194427,
-0.01670864224433899,
-0.024039721116423607,
0.04148625582456589,
-0.07769549638032913,
0.0012001171708106995,
0.009620311670005322,
0.009489593096077442,
0.012261235155165195,
-0.018888361752033234,
-0.04116726294159889,
0.06907778978347778,
0.045653000473976135,
-0.04069364070892334,
-0.03641561418771744,
-0.02904255874454975,
-0.11480242013931274,
0.05148640647530556,
-0.01675976812839508,
-0.01525579672306776,
-0.04295935481786728,
0.066107839345932,
-0.030208146199584007,
-0.03752417862415314,
-0.14755792915821075,
0.05857355520129204,
-0.009246370755136013,
-0.004670018795877695,
-0.005060340743511915,
0.026460181921720505,
-0.053429700434207916,
-0.027896663174033165,
0.006173605564981699,
-0.005569578148424625,
0.06311649829149246,
0.012889786623418331,
0.008245815522968769,
0.02351224794983864,
-0.013177054934203625,
-0.007950388826429844,
0.031026462092995644,
-0.02907121367752552,
-0.02312159165740013,
-0.013207326643168926,
0.05121941864490509,
-0.0031650327146053314,
0.04518156126141548,
0.04198654741048813,
-0.0903378278017044,
-0.058293770998716354,
0.03179578855633736,
-0.018314873799681664,
-0.008374381810426712,
-0.08623538911342621,
-0.006025626324117184,
0.043049801141023636,
0.054120879620313644,
0.0277950931340456,
0.004329873714596033,
0.027934998273849487,
0.03003472462296486,
-0.019446710124611855,
0.00588929932564497,
0.019809862598776817,
-0.0456383042037487,
-0.01669425144791603,
-0.023934995755553246,
0.023148272186517715,
0.0478622131049633,
-0.06095151975750923,
-0.054908059537410736,
0.0034589788410812616,
0.04373931512236595,
-0.023524347692728043,
0.0046750386245548725,
-0.12504348158836365,
-0.017420342192053795,
-0.05132899060845375,
-0.04614750295877457,
0.07604848593473434,
0.01347456593066454,
-0.07630938291549683,
-0.02353290654718876,
0.022628171369433403,
-0.10129311680793762,
0.02807742729783058,
-0.00592891126871109,
-0.0009515414130873978,
-0.05520009621977806,
-0.013363959267735481,
-0.017060158774256706,
0.005402380134910345,
-0.01747283525764942,
0.09219110012054443,
0.006893456447869539,
0.09189654141664505,
0.07555601745843887,
0.004106563050299883,
0.026778627187013626,
0.04188314452767372,
-0.019615530967712402,
0.08929121494293213,
-0.015759184956550598,
0.02655753865838051,
-0.0011209103977307677,
-0.016790248453617096,
-0.024604644626379013,
0.012577786110341549,
-0.005637907888740301,
-0.03763609379529953,
-0.009051201865077019,
-0.014885405078530312,
-0.0036305163521319628,
-0.029245447367429733,
-0.04539806395769119,
-0.013874932192265987,
-0.026355408132076263,
-0.10449757426977158,
0.0776500329375267,
-0.07931487262248993,
-0.12068860977888107,
0.05286013334989548,
0.07870040833950043,
-0.049795374274253845,
-0.0301340501755476,
0.06593267619609833,
-0.07315543293952942,
-0.04329054057598114,
-0.022930189967155457,
0.08131721615791321,
0.022265810519456863,
-0.052654068917036057,
-0.1027270257472992,
0.017982760444283485,
-0.026623880490660667,
-0.0287144985049963,
-0.054039228707551956,
0.012441917322576046,
0.012472668662667274,
0.02592071145772934,
0.060601815581321716,
0.01296562422066927,
-0.012018491514027119,
0.000266879127593711,
0.04013647139072418,
-0.03711065277457237,
0.037910833954811096,
-0.041469037532806396,
-0.02214306779205799,
0.02171787992119789,
0.036693476140499115,
0.07522065937519073,
-0.021964577957987785,
-0.01912001334130764,
-0.029346073046326637,
-0.03842254355549812,
-0.0031978285405784845,
0.07363370060920715,
-0.031745485961437225,
-0.10374193638563156,
0.03235141560435295,
0.011959342285990715,
-0.016374913975596428,
0.006062442436814308,
-0.050713520497083664,
0.12595653533935547,
0.023647157475352287,
-0.05638917535543442,
0.01713602803647518,
-0.043926894664764404,
-0.001530319917947054,
0.0695115253329277,
0.11068305373191833,
0.0560799166560173,
0.049950435757637024,
0.06498050689697266,
0.007745193783193827,
0.0526442714035511,
-0.0006213656160980463,
-0.01158052682876587,
0.006044073961675167,
-0.07680497318506241,
0.06900209188461304,
-0.012185557745397091,
0.008964020758867264,
-0.07114134728908539,
-0.01853170245885849,
-0.06293752789497375,
-0.0000024363162083318457,
0.03190477192401886,
-0.002326576504856348,
0.0030434238724410534,
-0.024199437350034714,
-0.06535199284553528,
0.06650592386722565,
-0.03217904642224312,
-0.024347251281142235,
0.044989556074142456,
-0.012222351506352425,
0.014705920591950417,
0.04889649525284767,
0.028070412576198578,
0.08172095566987991,
-0.07185222953557968,
0.03883666545152664,
-0.07265502959489822,
0.0022056226152926683,
0.06624116003513336,
-0.0160862784832716,
-0.04600787162780762,
0.01520176138728857,
0.044047143310308456,
-0.026310835033655167,
-0.05193914845585823,
-0.004525364842265844,
0.057772196829319,
0.0376879908144474,
0.05061003938317299,
0.018811507150530815,
-0.05359038710594177,
0.05135471746325493,
0.031930554658174515,
-0.07075392454862595,
-0.006032399367541075,
-0.02918262593448162,
0.06833044439554214,
0.016562260687351227,
-0.0469309501349926,
0.049156829714775085,
0.01045146118849516,
0.013482893817126751,
0.000257306412095204,
-0.01634642668068409,
0.03089217282831669,
0.028030723333358765,
0.004408546257764101,
0.010269911028444767,
0.01870732009410858,
-0.0029084947891533375,
-0.018881864845752716,
0.051380980759859085,
-0.027986684814095497,
-0.014527215622365475,
-0.029760180041193962,
0.0069254422560334206,
0.008919402956962585,
-0.020906321704387665,
0.03694677725434303,
0.02325761504471302,
0.01923113875091076,
0.004238044377416372,
-0.021057385951280594,
-0.03691842034459114,
-0.026096569374203682,
-0.007783424109220505,
-0.007092920131981373,
0.05744572728872299,
0.002517453860491514,
0.00040687117143534124,
-0.012873639352619648,
-0.01038962509483099,
0.045092564076185226,
-0.05699661746621132,
0.042706627398729324,
0.005905061028897762,
0.02867460995912552,
-0.0052988408133387566,
0.0046685244888067245,
-0.008115901611745358,
0.034471116960048676,
-0.07823461294174194,
-0.058336637914180756,
-0.019613128155469894,
0.02482079342007637,
-0.022214101627469063,
-0.006327856332063675,
-0.01711730845272541,
-0.013398153707385063,
-0.003524219151586294,
0.00988165196031332,
-0.007953726686537266,
0.055392153561115265,
-0.07701177895069122,
0.01424040924757719,
-0.02777276001870632,
0.004732246045023203,
-0.008901430293917656,
-0.0536002591252327,
-0.026904093101620674,
0.02791908010840416,
-0.028736164793372154,
-0.03286818042397499,
-0.022142574191093445,
0.03185964375734329,
-0.009119403548538685,
-0.017346061766147614,
0.0019311867654323578,
0.03662838041782379,
0.04960937798023224,
-0.033251989632844925,
0.02726750820875168,
-0.0043778326362371445,
0.003919470123946667,
-0.0016301287105306983,
-0.016494739800691605,
0.007043874356895685,
-0.05347293242812157,
0.01307354774326086,
0.0036803842522203922,
0.035231657326221466,
0.021495498716831207,
-0.014606695622205734,
0.0018635228043422103,
-0.0501074381172657,
-0.03334774076938629,
0.016705870628356934,
-0.04057449847459793,
0.037803251296281815,
-0.02431459352374077,
0.008498888462781906,
-0.00687335804104805,
0.009601708501577377,
-0.004819407127797604,
-0.00010029678378487006,
0.014013289473950863,
0.015562244690954685,
0.05674833431839943,
-0.06938453018665314,
0.008373010903596878,
-0.025431349873542786,
0.05115440487861633,
-0.055261529982089996,
-0.049094926565885544,
-0.011064392514526844,
-0.004490245133638382,
0.0586673766374588,
-0.015896232798695564,
-0.005863858852535486,
0.01714142970740795,
-0.022642143070697784,
0.0185730941593647,
0.012997218407690525,
-0.039759568870067596,
0.06427040696144104,
-0.037641167640686035,
-0.0099875433370471,
-0.004521717317402363,
0.03468003123998642,
0.01817764900624752,
-0.03928741067647934,
-0.04441457614302635,
0.0076126535423099995,
-0.01407360378652811,
0.05358204245567322,
0.026560695841908455,
-0.007771712262183428,
-0.015498296357691288,
0.02196543850004673,
0.006319815758615732,
0.001739810104481876,
0.05342702195048332,
0.028470277786254883,
0.02255869098007679,
-0.00557613093405962,
-0.03581363335251808,
-0.029502926394343376,
0.040684837847948074,
0.004923968110233545,
-0.0018670507706701756,
-0.03158944472670555,
0.0533582977950573,
-0.010239988565444946,
0.032112810760736465,
-0.028273889794945717,
-0.015737731009721756,
-0.055255305022001266,
-0.008159494027495384,
-0.014946444891393185,
0.01639653369784355,
0.005227700807154179,
0.01837669499218464,
-0.005739165470004082,
-0.016696354374289513,
-0.026754429563879967,
-0.015485762618482113,
0.0339769646525383,
-0.011490433476865292,
-0.02016766369342804,
-0.00924011692404747,
0.02139388769865036,
0.02378244698047638,
-0.004440188407897949,
-0.0038488218560814857,
0.0252147875726223,
-0.015943806618452072,
0.037437163293361664,
0.019542699679732323,
0.022655684500932693,
-0.034407779574394226,
0.0018901278963312507,
-0.038169339299201965,
0.031091604381799698,
-0.033097416162490845,
0.014797808602452278,
0.00999498087912798,
-0.04593198001384735,
0.07368361204862595,
0.018364954739809036,
0.017849769443273544,
-0.03342200070619583,
0.04498168081045151,
0.0039641656912863255,
-0.015265291556715965,
0.00484621012583375,
0.03434513509273529,
0.012716472148895264,
0.021887309849262238,
-0.024533500894904137,
-0.036454617977142334,
0.017860619351267815,
0.02630135789513588,
-0.048455655574798584,
0.02625875547528267,
-0.0628996267914772,
0.00921968836337328,
-0.032458629459142685,
-0.0017805414972826838,
-0.005430140066891909,
-0.011109927669167519,
0.034651730209589005,
-0.062212832272052765,
0.03653690218925476,
0.0766795203089714,
-0.06271491199731827,
-0.06439467519521713,
0.005227978341281414,
0.02920076623558998,
0.022162090986967087,
-0.012910456396639347,
-0.026347940787672997,
0.03759303689002991,
0.010491600260138512,
0.01007375493645668,
0.04620392993092537,
-0.062150731682777405,
0.038274843245744705,
0.018969878554344177,
0.0007227055029943585,
0.017118174582719803,
-0.02827981859445572,
0.001482433290220797,
-0.049623265862464905,
-0.023966191336512566,
0.009531104005873203,
-0.0307758916169405,
0.003526957705616951,
0.039793461561203,
-0.026347512379288673,
0.05173036828637123,
0.0357702411711216,
-0.012257110327482224,
0.03837565332651138,
-0.027064671739935875,
-0.015537350438535213,
0.012623156420886517,
0.024366185069084167,
0.05356920138001442,
0.03105410933494568,
0.03418484702706337,
0.04820398613810539,
-0.031275928020477295,
0.041287101805210114,
0.026272792369127274,
0.038296859711408615,
0.026372799649834633,
0.017195040360093117,
0.05110063776373863,
0.0059037781320512295,
-0.0216005090624094,
0.0572628416121006,
-0.020420590415596962,
0.0027288650162518024,
-0.004561311099678278,
0.006055427715182304,
-0.008330630138516426,
0.017517954111099243,
-0.0007320609292946756,
0.03080352395772934,
-0.04245883971452713,
0.018576499074697495,
0.002953066024929285,
-0.02372254803776741,
0.030497366562485695,
-0.0112341633066535,
-0.06585852056741714,
-0.004445146769285202,
-0.001336741028353572,
-0.015923622995615005,
-0.05624295398592949,
0.04356709122657776,
-0.02292454242706299,
0.01626908779144287,
-0.030430397018790245,
0.02045956440269947,
-0.0030651662964373827,
0.050926968455314636,
-0.03428152948617935,
-0.0402490608394146,
-0.017375081777572632,
-0.007878546603024006,
0.003678240580484271,
0.0753115564584732,
0.03306534141302109,
0.016632558777928352,
0.026527192443609238,
0.010760987177491188,
-0.02839638479053974,
0.0005880305543541908,
-0.0417105108499527,
0.03899414464831352,
0.03203818202018738,
-0.017879808321595192,
-0.04227929189801216,
0.004927624482661486,
-0.06341127306222916,
0.014576048590242863,
-0.03862302005290985,
0.017323311418294907,
0.055978018790483475,
-0.023074032738804817,
0.020022109150886536,
-0.03351346403360367,
0.055182863026857376,
-0.01447355467826128,
-0.0009775932412594557,
0.017283577471971512,
0.013171129859983921,
0.02367403730750084,
-0.027035243809223175,
-0.025196438655257225,
0.04049350693821907,
-0.042103443294763565,
-0.008060548454523087,
-0.031514231115579605,
-0.004282036330550909,
0.010895449668169022,
-0.02006124146282673,
0.01589050143957138,
-0.008158793672919273,
-0.020034851506352425,
0.020460832864046097,
0.02254253625869751,
-0.0021218894980847836,
-0.03285882622003555,
-0.029281802475452423,
-0.002790333004668355,
-0.06564819812774658,
-0.00887974537909031,
-0.00784995686262846,
0.001655875938013196,
-0.016001073643565178,
0.02123020589351654,
0.03337303549051285,
0.003562617115676403,
-0.0009252179879695177,
-0.026022212579846382,
0.03566107526421547,
-0.006662573665380478,
0.05311432108283043,
-0.01023576408624649,
0.011223860085010529,
0.029311154037714005,
-0.017919909209012985,
0.061219844967126846,
0.009866757318377495,
0.011398461647331715,
-0.030474890023469925,
0.01767115481197834,
0.05470610409975052,
0.01505673211067915,
0.03235801309347153,
-0.04622416943311691,
0.06116465479135513,
0.006442764308303595,
0.025906991213560104,
0.04064002260565758,
-0.003770797746255994,
-0.0017449937295168638,
0.03136434778571129,
0.013394879177212715,
0.017837179824709892,
-0.004368940368294716,
-0.006105905398726463,
0.012594173662364483,
0.03102012351155281,
0.02635934390127659,
0.005112444516271353,
0.010070356540381908,
0.030861012637615204,
-0.006639493629336357,
0.0019600859377533197,
-0.0019041720079258084,
0.02088935486972332,
0.020885741338133812,
0.02585870958864689,
-0.07748716324567795,
0.016401000320911407,
-0.005598963238298893,
0.0012087066425010562,
0.0047491155564785,
0.000692153989803046,
-0.019034693017601967,
-0.002732799621298909,
-0.00008916536899050698,
0.002596862381324172,
-0.04111957922577858,
-0.008709392510354519,
-0.005874943919479847,
0.009541514329612255,
-0.0033051250502467155,
-0.03076883964240551,
-0.03539077192544937,
0.0036303014494478703,
0.03578656166791916,
0.014741171151399612,
0.03067704848945141,
-0.018692634999752045,
-0.02356819249689579,
0.041875869035720825,
-0.02361542358994484,
-0.05380765721201897,
0.021059997379779816,
0.006255630403757095,
-0.04538383707404137,
-0.02238529734313488,
-0.026440203189849854,
0.011768609285354614,
-0.02794649638235569,
0.04997784271836281,
0.01691902056336403,
-0.015887515619397163,
0.019772842526435852,
0.04399896413087845,
0.03128247708082199,
0.020449254661798477,
0.025780297815799713,
-0.015869971364736557,
-0.017348311841487885,
0.0007607209263369441,
-0.00866791233420372,
-0.015660511329770088,
0.015433475375175476,
-0.01079960074275732,
0.029434461146593094,
0.006520829629153013,
-0.01816309615969658,
0.001459397841244936,
0.020158877596259117,
0.007923646830022335,
0.013471544720232487,
0.0171737689524889,
-0.02301747165620327,
0.07306701689958572,
0.007090679835528135,
0.0250687375664711,
0.032753024250268936,
-0.01653103716671467,
0.0002527105971239507,
-0.04274467006325722,
-0.015348810702562332,
-0.02434641122817993,
-0.004953635856509209,
0.0005370390717871487,
-0.007115636952221394,
-0.057758674025535583,
0.042507853358983994,
0.05203116312623024,
-0.02790413424372673,
-0.007860618643462658,
0.010010461322963238,
0.0034752062056213617,
-0.01340590137988329,
-0.0046337624080479145,
-0.018469855189323425,
0.013074805960059166,
0.05766712501645088,
0.0011127513134852052,
0.032158657908439636,
-0.05214608088135719,
-0.08207352459430695,
0.002157081151381135,
-0.016640599817037582,
0.09190196543931961,
-0.022532956674695015,
0.004126735497266054,
-0.055070485919713974,
-0.05188949406147003,
-0.030479799956083298,
-0.02945314347743988,
-0.030946094542741776,
0.019641565158963203,
0.008538974449038506,
-0.022736772894859314,
-0.005800436716526747,
0.019875504076480865,
0.014213207177817822,
0.021784676238894463,
0.004513726569712162,
0.0006564882933162153,
0.01600642129778862,
0.008412539958953857,
-0.030240152031183243,
-0.03525056689977646,
-0.004760910756886005,
0.01913316175341606,
0.07068895548582077,
0.026982782408595085,
-0.015871301293373108,
0.00988421868532896,
0.022098971530795097,
0.026683654636144638,
-0.0333767868578434,
0.005389317404478788,
-0.017831331118941307,
0.04333001375198364,
-0.0030827701557427645,
-0.015546657145023346,
-0.0647139772772789,
0.0043554543517529964,
0.013473782688379288,
0.0025664763525128365,
0.019539881497621536,
-0.05145144462585449,
0.006409779656678438,
0.009594937786459923,
0.006161548662930727,
0.013356480747461319,
0.05368345230817795,
0.01090862788259983,
0.0029240718577057123,
-0.00030606548534706235,
-0.012522879987955093
] |
Fine-tuning Llama 2 70B using PyTorch FSDP | smangrul | September 13, 2023 | ram-efficient-pytorch-fsdp | llm, guide, nlp | https://huggingface.co/blog/ram-efficient-pytorch-fsdp | Bringing it all-together To run the training using Accelerate launcher with SLURM, refer this gist launch.slurm. Below is an equivalent command showcasing how to use Accelerate launcher to run the training. Notice that we are overriding main_process_ip , main_process_port , machine_rank , num_processes and num_machines values of the fsdp_config.yaml. Here, another important point to note is that the storage is stored between all the nodes. accelerate launch \ --config_file configs/fsdp_config.yaml \ --main_process_ip $MASTER_ADDR \ --main_process_port $MASTER_PORT \ --machine_rank \$MACHINE_RANK \ --num_processes 16 \ --num_machines 2 \ train.py \ --model_name "meta-llama/Llama-2-70b-chat-hf" \ --dataset_name "smangrul/code-chat-assistant-v1" \ --max_seq_len 2048 \ --max_steps 500 \ --logging_steps 25 \ --eval_steps 100 \ --save_steps 250 \ --bf16 True \ --packing True \ --output_dir "/shared_storage/sourab/experiments/full-finetune-llama-chat-asst" \ --per_device_train_batch_size 1 \ --gradient_accumulation_steps 1 \ --dataset_text_field "content" \ --use_gradient_checkpointing True \ --learning_rate 5e-5 \ --lr_scheduler_type "cosine" \ --weight_decay 0.01 \ --warmup_ratio 0.03 \ --use_flash_attn True Fine-tuning completed in ~13.5 hours and below is the training loss plot. Below is an example conversation using the above model: diff System Prompt: 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. - Human: What is Deep Learning? Explain like a Pirate. + Assistant: Arrr Grumete! Are ye lookin' fer a proper explanation o' Deep Learnin'? + Alright then, listen up me hearty! Deep Learnin' be a type o' machine learnin' that uses artificial neural networks to analyze data. + Aye, ye heard that right, mateys! Artificial neural networks be models o' the human brain, but instead o' using neurons, they use interconnected nodes or "artificial neurons" to process information. + These nodes work together to form layers o' processing units that can learn from large amounts o' data. + The more data these systems receive, the better they get at recognizing patterns and makin' decisions on their own. + So hoist the sails and set course for adventure with deep learnin', me hearties! It's a treasure trove o' knowledge just waitin' to be discovered. + Fair winds and following seas! - Human: Now explain it like a chef. + Assistant: Certainly! Here's an explanation of deep learning from a culinary perspective: + Think of a recipe as a sequence of steps used to transform raw ingredients into a delicious dish. + Similarly, in deep learning, there are multiple layers of "ingredients" (or features) that are combined and transformed through various operations to produce a final output or prediction. + Each layer builds upon the previous one, refining and enhancing the representation of the input data until it reaches the desired outcome. + Just as different spices enhance the flavors of food, each layer adds depth and complexity to the model's understanding of the input, allowing it to make more accurate predictions. + And much like how chefs must carefully balance the amount of salt, sugar, and other seasonings in a recipe, the training process in deep learning involves adjusting the weights and biases of the network to achieve the perfect blend of accuracy and efficiency. + With enough practice and experimentation, anyone can become a master chef... I mean, a master of deep learning! Bon appétit! The whole conversation is formatted as below: <|system|> system message <|endoftext|> <|prompter|> Q1 <|endoftext|> <|assistant|> A1 <|endoftext|> ... | [
0.00531933456659317,
0.043783266097307205,
-0.008863138034939766,
0.04079516604542732,
0.08638082444667816,
0.029352527111768723,
0.012221782468259335,
0.036276113241910934,
-0.0374225452542305,
-0.10609074681997299,
-0.08059172332286835,
0.02661472000181675,
0.037101536989212036,
0.018273379653692245,
0.00392184080556035,
-0.04853548854589462,
-0.0007836984004825354,
-0.059354059398174286,
0.0062111131846904755,
0.052267007529735565,
-0.004135114140808582,
-0.03177301958203316,
0.03509140387177467,
0.03625588119029999,
0.010921785607933998,
0.0012403525179252028,
0.017722496762871742,
0.03021063096821308,
0.0093599958345294,
0.0741826593875885,
-0.04178188741207123,
0.0013247200986370444,
0.034205857664346695,
-0.007373379543423653,
0.05196959525346756,
0.025029802694916725,
-0.07730377465486526,
0.1078525185585022,
0.0499354787170887,
-0.04111291095614433,
-0.020988142117857933,
-0.023697052150964737,
-0.0414707325398922,
0.0370892658829689,
0.0074576460756361485,
-0.00966393481940031,
-0.12713204324245453,
0.007711792830377817,
-0.015368909575045109,
0.003077049506828189,
-0.05584810674190521,
0.0637860968708992,
0.01220968272536993,
-0.0828874334692955,
0.04402615875005722,
0.01342021208256483,
0.005890805274248123,
-0.022182609885931015,
-0.01272232923656702,
0.035728853195905685,
-0.003453570418059826,
0.021987169981002808,
0.022972455248236656,
0.05510849878191948,
0.023455016314983368,
-0.013814646750688553,
-0.003904953133314848,
-0.02028309553861618,
-0.07203388959169388,
-0.08709047734737396,
0.029905717819929123,
0.01613355427980423,
-0.02679317817091942,
0.014153441414237022,
-0.0012395618250593543,
-0.08701442927122116,
0.01729033887386322,
0.04244612157344818,
0.015102756209671497,
0.008776597678661346,
-0.0957551896572113,
0.03349370136857033,
0.0019847822841256857,
0.06117408722639084,
0.006890774704515934,
-0.0076634809374809265,
0.006249412894248962,
-0.06438374519348145,
-0.014148236252367496,
0.05100865662097931,
0.02586796134710312,
-0.07848227769136429,
-0.005919277667999268,
0.03295700624585152,
0.0908537358045578,
0.025098752230405807,
0.0040080351755023,
-0.00914495624601841,
-0.016118142753839493,
0.01777470111846924,
-0.003986434545367956,
-0.050757747143507004,
-0.00920813251286745,
-0.004660481121391058,
0.012999163009226322,
0.07296162843704224,
-0.03897624835371971,
-0.0677889809012413,
-0.050560977309942245,
-0.002124741906300187,
-0.01775421015918255,
0.026168983429670334,
-0.04860790818929672,
0.028275439515709877,
-0.04255634546279907,
-0.0017845983384177089,
-0.007989722304046154,
-0.006028035189956427,
0.03438184782862663,
-0.08559473603963852,
0.025696296244859695,
0.0757865384221077,
0.031940702348947525,
-0.007875869050621986,
-0.02362452633678913,
0.07887551188468933,
0.015205745585262775,
0.02049344778060913,
-0.04724517837166786,
-0.03383442014455795,
0.0561792254447937,
-0.040546782314777374,
0.05361847206950188,
0.07719441503286362,
0.0211176835000515,
-0.004211270250380039,
-0.003307607490569353,
-0.0006522505427710712,
0.062062788754701614,
0.03822673484683037,
-0.04247229918837547,
0.050135236233472824,
-0.020305119454860687,
0.05378757044672966,
0.048289183527231216,
-0.013600115664303303,
-0.09116096794605255,
-0.009386120364069939,
-0.03135297819972038,
0.007731905207037926,
-0.07162047922611237,
0.053605951368808746,
-0.014165283180773258,
-0.058636996895074844,
0.06793825328350067,
0.0698048323392868,
-0.06527715921401978,
-0.0037324640434235334,
-0.09769122302532196,
0.0376354455947876,
-0.009823139756917953,
-0.010853462852537632,
-0.12660473585128784,
-0.012217291630804539,
0.012644222937524319,
0.0186885017901659,
-0.009419397450983524,
-0.05373645946383476,
0.04105571657419205,
-0.07514079660177231,
-0.005751221906393766,
-0.021775558590888977,
0.07942907512187958,
0.0012967902002856135,
0.007420321460813284,
0.0529446117579937,
-0.024851346388459206,
0.0942474976181984,
0.03263626992702484,
-0.02810225822031498,
-0.053193140774965286,
0.051951538771390915,
-0.0641002282500267,
0.10775569081306458,
0.03980221971869469,
-0.09148627519607544,
0.08108042925596237,
-0.04412764683365822,
0.014798328280448914,
0.049766890704631805,
-0.017755767330527306,
0.01678597927093506,
0.06257771700620651,
0.008013914339244366,
0.013080664910376072,
-0.06688524037599564,
-0.020907599478960037,
0.08394744247198105,
0.05882341414690018,
0.03229333460330963,
0.001163505483418703,
0.03899340331554413,
0.018300121650099754,
-0.021951574832201004,
-0.05753093212842941,
0.0512022040784359,
-0.02639840729534626,
-0.12660856544971466,
0.04904814064502716,
0.021646648645401,
-0.0830787718296051,
-0.08826395124197006,
-0.00781339779496193,
-0.012163504026830196,
0.019239896908402443,
-0.00901990570127964,
-0.007256288081407547,
-0.05204040929675102,
0.04319539666175842,
0.03535905480384827,
0.10249792039394379,
-0.0619363859295845,
0.002665298292413354,
-0.0029574246145784855,
-0.03257767856121063,
-0.04229217395186424,
0.06170612946152687,
0.004652956500649452,
0.03859632834792137,
-0.02291053533554077,
-0.021729106083512306,
-0.05720335617661476,
-0.08221768587827682,
0.15083934366703033,
0.03040802851319313,
0.04698904976248741,
0.007114845793694258,
0.053288377821445465,
-0.017653021961450577,
-0.09160242974758148,
0.060797736048698425,
-0.008047175593674183,
-0.019912846386432648,
0.017915774136781693,
-0.03191779553890228,
0.012485024519264698,
0.06601985543966293,
0.023241577669978142,
-0.04273715987801552,
-0.03771885484457016,
-0.03625445440411568,
0.021783368661999702,
-0.05467464029788971,
0.011265983805060387,
-0.03086436167359352,
0.02401270903646946,
0.022670837119221687,
-0.009379672817885876,
-0.019905593246221542,
0.051321323961019516,
0.0094519704580307,
0.022057855501770973,
-0.05439789965748787,
0.025073306635022163,
-0.0027504253666847944,
-0.01272174995392561,
0.04661419615149498,
-0.0030921867582947016,
0.003044564975425601,
-0.043338384479284286,
0.03557238727807999,
-0.0462644137442112,
0.01600738801062107,
0.019591644406318665,
-0.001324760029092431,
0.02435327135026455,
0.0028300632257014513,
-0.050737280398607254,
-0.022559192031621933,
0.01555632147938013,
0.007228792645037174,
-0.03957930952310562,
0.005704511422663927,
0.04727770760655403,
0.007547239772975445,
0.017618903890252113,
0.016660552471876144,
0.0010256412206217647,
-0.022046832367777824,
-0.0038664117455482483,
-0.0022871047258377075,
0.004065621644258499,
0.05220434069633484,
0.002126608742401004,
-0.02867664210498333,
0.025716345757246017,
0.009717226959764957,
-0.04903544485569,
0.011460737325251102,
0.007127945777028799,
-0.015256687067449093,
0.037190958857536316,
-0.012837940827012062,
-0.031978774815797806,
-0.029241250827908516,
-0.007554322015494108,
-0.025766052305698395,
0.012279784306883812,
-0.09226631373167038,
0.01784421317279339,
-0.011493203230202198,
0.029233967885375023,
-0.033891335129737854,
-0.0058659655041992664,
0.018763454630970955,
-0.025063803419470787,
0.016540078446269035,
-0.0018704199464991689,
-0.05040225386619568,
-0.010955512523651123,
0.020300980657339096,
-0.016219645738601685,
0.03250877186655998,
0.022516684606671333,
-0.006732933688908815,
-0.019739236682653427,
0.022879932075738907,
0.0272661279886961,
-0.02210642211139202,
-0.005854154471307993,
0.003557112067937851,
-0.014034966938197613,
-0.005809042137116194,
0.04792356491088867,
0.04055499657988548,
0.007016703486442566,
-0.03476988151669502,
-0.06967338919639587,
-0.04207161068916321,
-0.03795730322599411,
-0.03254885971546173,
-0.02938222326338291,
-0.04889918118715286,
-0.015625184401869774,
-0.024611936882138252,
-0.00745809031650424,
0.02415015920996666,
0.015423149801790714,
0.04086979478597641,
0.027802465483546257,
0.06883213669061661,
-0.04979666694998741,
0.020144939422607422,
0.004778111819177866,
0.0032451606821268797,
-0.018940366804599762,
0.03310292959213257,
-0.0024312224704772234,
-0.0347556509077549,
-0.01592470519244671,
0.0031435119453817606,
0.027872752398252487,
-0.047626346349716187,
0.03493361920118332,
-0.02484951913356781,
0.04792172834277153,
0.07604101300239563,
-0.01223482470959425,
-0.029693055897951126,
0.011904515326023102,
-0.0008472827612422407,
-0.02942361682653427,
0.008824610151350498,
0.015590565279126167,
0.007957400754094124,
-0.02087111957371235,
-0.02690683864057064,
0.02389507368206978,
-0.025379905477166176,
0.046800173819065094,
0.025546174496412277,
0.003573153167963028,
-0.0304644126445055,
-0.026145141571760178,
-0.05358123406767845,
-0.03163760155439377,
0.010227109305560589,
0.028155222535133362,
-0.005016515497118235,
-0.0004402539925649762,
-0.010066376067698002,
-0.05327096953988075,
0.02242790162563324,
0.003959009423851967,
0.014632713049650192,
-0.04266203194856644,
0.06042419746518135,
0.04191560670733452,
-0.0335020013153553,
-0.019830744713544846,
0.031065143644809723,
-0.015233758836984634,
0.013638120144605637,
-0.0136973075568676,
0.012026636861264706,
-0.020116401836276054,
0.009532641619443893,
0.00822108518332243,
0.012363106943666935,
-0.027652544900774956,
0.007528229150921106,
0.02085823379456997,
-0.052736420184373856,
0.04537322372198105,
-0.00389305641874671,
-0.034234561026096344,
0.03465050086379051,
-0.015009794384241104,
0.03532644361257553,
0.024337854236364365,
0.01532402541488409,
-0.041228342801332474,
0.004196238238364458,
0.1035320907831192,
-0.04293840751051903,
0.008949171751737595,
-0.029095137491822243,
0.04701186716556549,
-0.04464587941765785,
0.00007420741894748062,
0.0032468533609062433,
-0.019498905166983604,
-0.021619699895381927,
-0.04658244177699089,
0.03987087681889534,
-0.015726542100310326,
-0.002770855324342847,
-0.020197007805109024,
-0.02594156377017498,
-0.018996091559529305,
0.02149706892669201,
-0.024901095777750015,
0.02013498730957508,
-0.028536586090922356,
-0.019978869706392288,
0.0008561030263081193,
-0.014423691667616367,
-0.01959702931344509,
-0.011161879636347294,
0.02186655066907406,
0.046803347766399384,
-0.02618558704853058,
0.019494207575917244,
0.03456788510084152,
-0.004577856045216322,
-0.0057650296948850155,
-0.012196775525808334,
0.05696667358279228,
-0.0034327118191868067,
0.017797816544771194,
-0.0608382374048233,
-0.004619978833943605,
0.0340299978852272,
-0.00815505813807249,
-0.012291807681322098,
-0.001963079674169421,
0.024648405611515045,
0.06836063414812088,
-0.0570724792778492,
-0.03747234120965004,
-0.008657156489789486,
0.01998227834701538,
-0.034279800951480865,
0.03447570279240608,
-0.02879260666668415,
-0.025168169289827347,
-0.012195234186947346,
-0.020835019648075104,
-0.04293232411146164,
-0.049012526869773865,
0.02077927626669407,
-0.007275979034602642,
0.04910915717482567,
-0.0072746602818369865,
0.025587167590856552,
0.0238458551466465,
-0.03916493058204651,
0.006758939940482378,
-0.06665165722370148,
0.01595957949757576,
-0.011308507062494755,
-0.010194702073931694,
-0.04359935224056244,
0.007662138435989618,
0.017589805647730827,
-0.005767951253801584,
0.04513777792453766,
0.0382818765938282,
0.0019039050675928593,
-0.020789360627532005,
0.012303550727665424,
-0.011110521852970123,
-0.002889398019760847,
0.04576762765645981,
0.0021739741787314415,
0.06357133388519287,
-0.0005935427034273744,
-0.01795039512217045,
0.02316681668162346,
0.04501476511359215,
-0.00924848485738039,
-0.04962043836712837,
0.04484809190034866,
0.0028024218045175076,
0.003297636518254876,
-0.005963963456451893,
0.015031417831778526,
-0.01747528277337551,
0.006694697309285402,
-0.00579602736979723,
-0.019775191321969032,
0.008809681050479412,
0.019238701090216637,
-0.05835290998220444,
-0.045263029634952545,
0.01626753620803356,
0.02915900945663452,
0.042187176644802094,
-0.008158995769917965,
-0.010132301598787308,
-0.028434209525585175,
-0.00233438890427351,
-0.009200655855238438,
-0.04018045589327812,
0.012995111756026745,
0.00862167775630951,
0.025994447991251945,
0.02343052625656128,
0.040944572538137436,
0.0076708667911589146,
0.023207569494843483,
0.012199372984468937,
0.028143249452114105,
0.0007938594208098948,
-0.013333856128156185,
0.04612187668681145,
0.00024135250714607537,
-0.01088019646704197,
-0.05579238012433052,
-0.03109637275338173,
-0.012957877479493618,
-0.0019831412937492132,
-0.014543251134455204,
0.024287721142172813,
0.035340793430805206,
0.00912418495863676,
0.012404226697981358,
0.0229728315025568,
0.02376994863152504,
0.009268191643059254,
0.018307430669665337,
0.029127733781933784,
0.00395076023414731,
-0.024421028792858124,
-0.005335294641554356,
-0.002179502509534359,
-0.013432077132165432,
-0.026645470410585403,
0.020379863679409027,
-0.04419444501399994,
0.027545973658561707,
0.027671460062265396,
0.00890229269862175,
0.021031534299254417,
0.010399880819022655,
-0.009597256779670715,
0.03169337660074234,
0.032390039414167404,
0.035232722759246826,
0.0019691779743880033,
-0.02535867691040039,
0.04081561043858528,
0.06993400305509567,
-0.014546294696629047,
0.04192839562892914,
0.05345608666539192,
-0.01634424552321434,
0.02971082553267479,
0.02106337621808052,
0.04258255288004875,
-0.03649447113275528,
-0.02078511379659176,
-0.008078373968601227,
0.0054877763614058495,
0.05439188703894615,
0.027257930487394333,
-0.030431514605879784,
0.030465908348560333,
0.003956155385822058,
-0.026780588552355766,
-0.034279242157936096,
0.005536435637623072,
0.00992332398891449,
-0.003275843570008874,
0.029804490506649017,
0.0007358294096775353,
0.00658400310203433,
-0.016403311863541603,
0.040505021810531616,
0.06747707724571228,
0.0169356819242239,
0.017138615250587463,
-0.014487020671367645,
-0.004586535971611738,
-0.013661504723131657,
0.01868806593120098,
0.008918816223740578,
0.011753197759389877,
0.00455930782482028,
-0.001285540871322155,
-0.008665025234222412,
0.02677907794713974,
0.0031244864221662283,
-0.022160377353429794,
0.02070445567369461,
-0.03455723077058792,
0.03935625031590462,
0.025055216625332832,
0.015179983340203762,
-0.010140515863895416,
-0.042570747435092926,
0.02267780900001526,
0.01923719234764576,
-0.008668200112879276,
-0.016090529039502144,
-0.0008627581410109997,
0.008852052502334118,
0.022316643968224525,
-0.04102001339197159,
-0.01853153295814991,
-0.013777579180896282,
-0.021693777292966843,
-0.04564553499221802,
0.004650654271245003,
-0.003484716871753335,
0.01304774172604084,
-0.003921424970030785,
-0.029958263039588928,
-0.039519842714071274,
0.03343671187758446,
0.03013509511947632,
0.03626787289977074,
0.010448798537254333,
0.018077552318572998,
0.0413423590362072,
0.020410146564245224,
0.010170950554311275,
0.030549202114343643,
0.012163142673671246,
0.017067622393369675,
-0.030556844547390938,
-0.014481191523373127,
0.009169050492346287,
-0.03483334556221962,
0.06192278489470482,
-0.047941904515028,
-0.0007565820124000311,
-0.017766587436199188,
0.007333779241889715,
0.039125438779592514,
0.008030179888010025,
-0.013393894769251347,
-0.012224611826241016,
-0.002017598832026124,
0.01538272388279438,
0.005394825246185064,
0.025653183460235596,
-0.020287510007619858,
0.011909712105989456,
0.001073734019882977,
0.004067827481776476,
-0.030214948579669,
-0.00010912122525041923,
0.004011683166027069,
-0.009513529017567635,
0.01456571277230978,
0.0005306146922521293,
-0.016945350915193558,
0.06513261795043945,
0.02828599512577057,
0.019533326849341393,
0.010719726793467999,
-0.01932598277926445,
0.029033249244093895,
0.011589138768613338,
-0.021799858659505844,
0.02700437232851982,
0.031763430684804916,
0.0021205274388194084,
-0.06661935895681381,
-0.05308522656559944,
-0.06514004617929459,
-0.04220699891448021,
0.03448374196887016,
-0.043488211929798126,
-0.04574847221374512,
0.0033879356924444437,
-0.026086056604981422,
-0.016151275485754013,
0.03293132036924362,
0.029262475669384003,
0.036822933703660965,
0.02105162851512432,
-0.005975252483040094,
-0.05633177235722542,
0.007756775710731745,
-0.040412787348032,
0.007932214066386223,
0.046379540115594864,
0.04192349314689636,
-0.004729605745524168,
0.009696109220385551,
0.047105297446250916,
0.020590532571077347,
-0.0694151297211647,
-0.06346119940280914,
0.012126127257943153,
0.0009429119527339935,
-0.028263181447982788,
0.03721795231103897,
0.01003020629286766,
-0.011631404049694538,
0.019905593246221542,
-0.04400637000799179,
-0.03813973069190979,
0.04882658272981644,
0.00628356309607625,
-0.07159731537103653,
0.03204300254583359,
0.007885241881012917,
0.006564595270901918,
0.0341196283698082,
-0.017939981073141098,
0.0002887398295570165,
-0.017172137275338173,
-0.05535135045647621,
-0.004594533238559961,
-0.04197583347558975,
-0.024500347673892975,
-0.014691040851175785,
-0.03139329329133034,
0.006904949899762869,
0.009008948691189289,
-0.014989041723310947,
0.049804843962192535,
0.0038495899643749,
-0.011003106832504272,
0.013064936734735966,
0.015218531712889671,
-0.02455466240644455,
-0.0075042033568024635,
0.03699313849210739,
0.007582502439618111,
0.039978090673685074,
0.05069652572274208,
-0.00845764297991991,
-0.03428398445248604,
0.04502883926033974
] |
Introducing Würstchen: Fast Diffusion for Image Generation | dome272 | September 13, 2023 | wuerstchen | diffusion, diffusers, text-to-image | https://huggingface.co/blog/wuerstchen | What is Würstchen? Würstchen is a diffusion model, whose text-conditional component works in a highly compressed latent space of images. Why is this important? Compressing data can reduce computational costs for both training and inference by orders of magnitude. Training on 1024×1024 images is way more expensive than training on 32×32. Usually, other works make use of a relatively small compression, in the range of 4x - 8x spatial compression. Würstchen takes this to an extreme. Through its novel design, it achieves a 42x spatial compression! This had never been seen before, because common methods fail to faithfully reconstruct detailed images after 16x spatial compression. Würstchen employs a two-stage compression, what we call Stage A and Stage B. Stage A is a VQGAN, and Stage B is a Diffusion Autoencoder (more details can be found in the paper). Together Stage A and B are called the Decoder, because they decode the compressed images back into pixel space. A third model, Stage C, is learned in that highly compressed latent space. This training requires fractions of the compute used for current top-performing models, while also allowing cheaper and faster inference. We refer to Stage C as the Prior. | [
-0.032882075756788254,
-0.004954901523888111,
0.030553793534636497,
-0.020353000611066818,
0.02324681729078293,
0.07994650304317474,
-0.03174704313278198,
0.0253909844905138,
0.028845852240920067,
-0.049295712262392044,
-0.12216661125421524,
0.004636690486222506,
0.013030513189733028,
-0.00956540834158659,
-0.020498724654316902,
-0.037288423627614975,
0.04571250453591347,
-0.01838991604745388,
-0.06406190991401672,
0.03506126627326012,
-0.005801467690616846,
-0.10039226710796356,
0.003445718204602599,
0.0115103330463171,
-0.03942285105586052,
0.005138608161360025,
-0.026737643405795097,
-0.04177000746130943,
-0.0029607259202748537,
0.007493237499147654,
-0.08699169009923935,
0.0055699218064546585,
-0.002051422605291009,
-0.08857089281082153,
0.04529722407460213,
0.026490049436688423,
-0.0544351190328598,
0.0843333825469017,
-0.03780246153473854,
0.00481199799105525,
-0.007892085239291191,
0.01754477620124817,
-0.05062003433704376,
0.031966015696525574,
0.0008311209385283291,
-0.001407842617481947,
-0.09350191801786423,
0.08462756127119064,
-0.09754987806081772,
-0.09883911162614822,
-0.028736388310790062,
-0.04136363044381142,
-0.011839738115668297,
0.09440679848194122,
-0.004800524562597275,
-0.004575671162456274,
-0.003922031261026859,
-0.023544851690530777,
0.08631463348865509,
-0.003803480416536331,
0.021099379286170006,
-0.04245186224579811,
-0.016376918181777,
0.12110862880945206,
-0.03406227007508278,
0.055183663964271545,
0.0018050464568659663,
0.03365907445549965,
-0.009775791317224503,
-0.024241728708148003,
-0.034799616783857346,
-0.007507667411118746,
0.018406013026833534,
0.047040678560733795,
-0.03293601796030998,
0.012137741781771183,
-0.02491232380270958,
-0.005099115893244743,
-0.012135605327785015,
-0.02765769697725773,
0.010092784650623798,
0.030868470668792725,
0.026571428403258324,
0.020253043621778488,
-0.02936468832194805,
0.03014887496829033,
0.021899430081248283,
-0.01807611621916294,
-0.1130325123667717,
0.031652506440877914,
0.06421612948179245,
-0.12818634510040283,
0.010373045690357685,
0.02712889015674591,
-0.019575068727135658,
-0.006446284241974354,
-0.012778207659721375,
0.025499820709228516,
0.018597664311528206,
-0.031967103481292725,
0.01315741054713726,
0.004922005347907543,
0.039567749947309494,
-0.01768643595278263,
-0.04555303603410721,
0.09050939232110977,
-0.04760810732841492,
0.02685021609067917,
-0.009017347358167171,
-0.014501967467367649,
0.07511333376169205,
0.012934442609548569,
-0.030322713777422905,
-0.0446159690618515,
-0.07405371218919754,
-0.020826997235417366,
-0.015147403813898563,
0.029198933392763138,
0.0397397018969059,
0.004646573681384325,
-0.005162772722542286,
0.02301209792494774,
0.10484371334314346,
-0.03593354672193527,
-0.03374211862683296,
0.0032943764235824347,
-0.011507388204336166,
0.014982882887125015,
-0.0045900410041213036,
-0.02784160152077675,
0.039750371128320694,
-0.0383523590862751,
0.0915866419672966,
0.007083686534315348,
0.09403390437364578,
-0.05113338679075241,
-0.016244761645793915,
-0.006692562252283096,
-0.0237584188580513,
-0.016398664563894272,
0.03140790015459061,
0.011038161814212799,
-0.01930283010005951,
-0.06745241582393646,
0.014865592122077942,
-0.04192613065242767,
-0.017299216240644455,
-0.052152860909700394,
0.025021091103553772,
-0.006097927689552307,
-0.08263643831014633,
-0.023791901767253876,
-0.0420231856405735,
-0.10680672526359558,
-0.04453626275062561,
0.05530920252203941,
-0.022108273580670357,
-0.013445778749883175,
-0.05522356927394867,
-0.031702809035778046,
0.010082175955176353,
-0.08878520876169205,
-0.011893573217093945,
0.011946761049330235,
0.04798460006713867,
-0.0777839943766594,
-0.014312642626464367,
0.04092756286263466,
-0.015007248148322105,
-0.009911768138408661,
0.042853184044361115,
-0.0449705570936203,
0.04140094667673111,
-0.008470820263028145,
0.010425916872918606,
-0.0018791303737089038,
-0.004999917466193438,
0.10339424014091492,
0.018507778644561768,
-0.032075412571430206,
-0.026415087282657623,
0.026566892862319946,
0.0036808194126933813,
-0.01588667929172516,
0.06593383848667145,
-0.08144701272249222,
0.08078137785196304,
0.020276905968785286,
-0.06637756526470184,
0.005017910618335009,
-0.13118401169776917,
-0.07055585086345673,
0.02448318526148796,
0.016367683187127113,
0.041421473026275635,
-0.07210031151771545,
-0.04200470820069313,
0.034714363515377045,
0.04865226522088051,
0.013826100155711174,
0.049695901572704315,
0.005231707356870174,
0.013976264744997025,
-0.028820181265473366,
-0.015056037344038486,
-0.014174778014421463,
0.005270732566714287,
-0.027478786185383797,
0.00011245915811741725,
0.013875993900001049,
-0.00025945028755813837,
-0.08133848756551743,
0.0070670717395842075,
-0.07397370040416718,
-0.03218650817871094,
0.0636422261595726,
-0.0413849763572216,
0.02500365488231182,
-0.027613891288638115,
-0.05282829329371452,
0.13804300129413605,
-0.020783670246601105,
-0.046769268810749054,
-0.004233442712575197,
-0.036452990025281906,
0.0670943483710289,
0.03338976576924324,
-0.007679615169763565,
0.12834183871746063,
-0.08664041012525558,
-0.03344975784420967,
-0.052217770367860794,
-0.012003445997834206,
-0.024527108296751976,
0.10889475792646408,
-0.06959419697523117,
-0.0241093747317791,
0.03346666321158409,
0.04701849818229675,
-0.04522499069571495,
-0.004636391066014767,
0.0011707504745572805,
0.012705842964351177,
-0.0018448730697855353,
-0.016774382442235947,
-0.00789240375161171,
0.0556039996445179,
0.023567676544189453,
-0.041287750005722046,
-0.030809778720140457,
0.007381856441497803,
0.0627804845571518,
-0.0024377014487981796,
-0.021062782034277916,
-0.02173697203397751,
-0.01930946670472622,
0.03560551628470421,
-0.04166778549551964,
0.020783454179763794,
0.002523773815482855,
0.028573282063007355,
0.012703611515462399,
0.05682821571826935,
-0.04646933078765869,
0.02606174163520336,
-0.036854371428489685,
-0.00793861597776413,
0.01017849426716566,
0.049987390637397766,
-0.03144562616944313,
-0.004025772213935852,
0.03196462616324425,
-0.015205864794552326,
0.011805329471826553,
0.03993716090917587,
-0.004217743407934904,
0.03742588311433792,
-0.003040620358660817,
0.02811286598443985,
-0.0443786159157753,
-0.011639182455837727,
0.03621868044137955,
0.08306840807199478,
0.028835898265242577,
0.06218723580241203,
-0.007469730451703072,
0.0556497722864151,
0.022143058478832245,
-0.06099870428442955,
0.06255239993333817,
-0.009448845870792866,
0.04988747090101242,
0.005732833407819271,
0.04604199156165123,
0.030894136056303978,
0.017677241936326027,
0.026817556470632553,
-0.03084455244243145,
-0.009651382453739643,
0.015289578586816788,
-0.017176637426018715,
-0.04832044988870621,
-0.008596369065344334,
0.007888153195381165,
0.002921238075941801,
0.026454146951436996,
-0.06874407082796097,
0.04533952847123146,
-0.07593061774969101,
-0.0392332561314106,
-0.018349675461649895,
-0.008013296872377396,
-0.002109993016347289,
-0.04267674311995506,
0.05633408948779106,
-0.0028661347460001707,
-0.00780116580426693,
-0.01850092224776745,
0.0015427774051204324,
-0.004225020296871662,
0.05956738442182541,
-0.00914929248392582,
0.01063531544059515,
0.00765151996165514,
0.008614365011453629,
-0.02885667234659195,
0.031350456178188324,
0.02090282365679741,
-0.01449816208332777,
0.02002083696424961,
0.027303054928779602,
-0.008871298283338547,
-0.022828947752714157,
0.005481824278831482,
0.0016575371846556664,
-0.03283755108714104,
0.012422663159668446,
-0.0051635755226016045,
-0.012079760432243347,
-0.01544269174337387,
-0.012958248145878315,
0.04593854770064354,
-0.021865876391530037,
-0.03094089776277542,
0.0410352498292923,
0.03138505294919014,
0.009202815592288971,
-0.0001612801424926147,
-0.010285094380378723,
0.037461183965206146,
0.00900212675333023,
-0.029028376564383507,
0.04690780118107796,
-0.017696334049105644,
0.03394407033920288,
-0.030527330935001373,
0.01083072554320097,
0.0228677149862051,
-0.01593056693673134,
-0.018160700798034668,
-0.03911788761615753,
0.05283376947045326,
0.01641484536230564,
-0.01987271197140217,
-0.015535345301032066,
0.00236616563051939,
0.039235878735780716,
0.02185608446598053,
-0.008414392359554768,
0.0348348543047905,
-0.005535444710403681,
-0.043957073241472244,
0.008847092278301716,
0.0039867521263659,
-0.023992149159312248,
-0.0009120326722040772,
-0.033938586711883545,
0.0420028455555439,
0.014507807791233063,
0.005154389422386885,
-0.0112961046397686,
-0.0018926889169961214,
-0.012529980391263962,
0.010741527192294598,
-0.05270569398999214,
-0.03142847865819931,
0.06684750318527222,
0.04377978295087814,
0.0019741705618798733,
-0.017153413966298103,
0.005484017077833414,
0.03096352145075798,
0.012086112052202225,
0.020817209035158157,
0.03508281707763672,
0.005804675631225109,
0.04404330253601074,
0.036590032279491425,
0.007445021066814661,
-0.021696649491786957,
0.0037701961118727922,
-0.035551317036151886,
0.00575849087908864,
0.04807505011558533,
-0.02530810981988907,
0.014155949465930462,
0.031512755900621414,
0.004844798240810633,
0.03215989097952843,
-0.007965050637722015,
-0.05230282247066498,
-0.000876717793289572,
-0.030527837574481964,
-0.01491058710962534,
-0.006847542244940996,
-0.013212480582296848,
0.05726633593440056,
0.027775490656495094,
0.06282185763120651,
0.03593717887997627,
-0.003838377306237817,
0.023904593661427498,
0.015821168199181557,
-0.041101034730672836,
0.021683162078261375,
-0.04200868681073189,
-0.010936173610389233,
0.0035458113998174667,
0.016439339146018028,
0.025311430916190147,
-0.017014246433973312,
-0.01581261120736599,
0.006152584683150053,
-0.0030014009680598974,
-0.018026504665613174,
-0.04305029287934303,
-0.02936561033129692,
-0.03557728976011276,
-0.0620846189558506,
0.013401520438492298,
0.010167796164751053,
-0.024563420563936234,
0.02225041761994362,
-0.04856931045651436,
-0.04420502483844757,
0.008700774051249027,
-0.053288381546735764,
0.012546608224511147,
-0.0380510613322258,
0.0135859539732337,
0.003078673267737031,
-0.015230948105454445,
0.0603780634701252,
0.007573205977678299,
-0.00349040562286973,
0.003810358699411154,
-0.00988559890538454,
0.03616727516055107,
0.007899324409663677,
-0.0031820593867450953,
-0.02275329828262329,
0.011808367446064949,
0.03733612224459648,
0.021022967994213104,
-0.06032407656311989,
-0.023450955748558044,
0.008479299023747444,
0.014985864982008934,
0.03399582952260971,
0.015006504021584988,
-0.06960395723581314,
0.02995523251593113,
0.012861705385148525,
-0.020292311906814575,
0.002810198813676834,
0.001417911029420793,
0.005137643776834011,
0.048429276794195175,
-0.0343395471572876,
0.02182825654745102,
-0.03031715750694275,
0.01671888306736946,
0.024270517751574516,
0.024961937218904495,
0.009582930244505405,
0.0152090759947896,
-0.006612019147723913,
0.000592833268456161,
-0.01895814761519432,
0.007022498641163111,
0.05882173031568527,
0.025315051898360252,
-0.0014107049209997058,
0.0656212568283081,
0.0023682822939008474,
0.04798212647438049,
0.010498763993382454,
0.03521966561675072,
0.024773061275482178,
-0.01022627018392086,
0.021501651033759117,
0.0014955139486119151,
0.04138759523630142,
-0.011690238490700722,
-0.0069351703859865665,
-0.03019574098289013,
0.03668941184878349,
0.01286443043500185,
0.007670172490179539,
0.032312020659446716,
-0.002794101368635893,
-0.02713819220662117,
0.01230169553309679,
-0.011823863722383976,
-0.05418437719345093,
-0.012871168553829193,
0.012755286879837513,
0.02259793132543564,
0.012723622843623161,
-0.0323411263525486,
-0.008491122163832188,
0.019717013463377953,
-0.011480556800961494,
-0.041490040719509125,
-0.034869544208049774,
0.0557863786816597,
0.027821693569421768,
0.02932298555970192,
-0.01699659787118435,
0.013012503273785114,
0.011231182143092155,
-0.011610941030085087,
0.031277626752853394,
0.0043511539697647095,
0.028464751318097115,
0.018339456990361214,
-0.022672664374113083,
-0.006152810994535685,
0.04323286563158035,
0.023778943344950676,
0.0002700180630199611,
-0.014644494280219078,
0.01930156722664833,
0.017865529283881187,
0.04098186269402504,
0.03704271465539932,
-0.005092009902000427,
0.020916761830449104,
0.009016131050884724,
-0.02829899452626705,
-0.059300485998392105,
0.061706941574811935,
-0.03479146212339401,
0.015284388326108456,
0.03912978619337082,
-0.03355413302779198,
0.02141255885362625,
-0.019767500460147858,
0.019402187317609787,
-0.04516972601413727,
0.013204521499574184,
-0.019545702263712883,
-0.01259896531701088,
0.02669566683471203,
0.031988147646188736,
-0.005505973007529974,
0.0017188244964927435,
0.010909955017268658,
-0.001797199947759509,
0.005699495319277048,
0.019022654742002487,
0.019878115504980087,
0.008120831102132797,
0.004325307905673981,
0.038050565868616104,
-0.07404212653636932,
0.02145911194384098,
0.027218405157327652,
0.018691333010792732,
-0.007039260119199753,
-0.026009056717157364,
0.035128820687532425,
0.0027613271959125996,
0.0029264972545206547,
0.01529389526695013,
0.035667356103658676,
0.0010979743674397469,
0.009575998410582542,
-0.00559571897611022,
0.027757225558161736,
0.02271302230656147,
-0.0022218499798327684,
-0.05000991374254227,
0.0000369735062122345,
-0.006609485950320959,
-0.04632840305566788,
0.01219423022121191,
0.026745177805423737,
-0.00005558388147619553,
-0.0067168958485126495,
0.01818201318383217,
0.0013520857319235802,
-0.05624615028500557,
0.0397181399166584,
0.00801765825599432,
-0.007102778181433678,
-0.011512858793139458,
-0.016289744526147842,
0.032751020044088364,
0.02082550898194313,
0.03204626590013504,
-0.04130731150507927,
0.02377600409090519,
0.005509837996214628,
-0.026234906166791916,
0.005892310291528702,
0.049068573862314224,
-0.02408086135983467,
-0.04764103516936302,
0.00929967500269413,
0.04125239700078964,
0.03502625226974487,
0.01835014671087265,
0.03248535841703415,
0.005940490867942572,
-0.012412901036441326,
-0.006117682438343763,
-0.05011395364999771,
-0.016531117260456085,
-0.009053331799805164,
0.0038175287190824747,
0.027910036966204643,
-0.07016807049512863,
-0.0023079407401382923,
0.03721456974744797,
0.0017159035196527839,
-0.024092553183436394,
0.03003528155386448,
-0.0191955529153347,
0.06836569309234619,
-0.011074679903686047,
-0.031594060361385345,
-0.046942178159952164,
0.007762644439935684,
-0.03426939994096756,
0.03688156232237816,
-0.0022897557355463505,
-0.05285077542066574,
-0.05387008935213089,
0.07862834632396698,
-0.031331539154052734,
0.07806859165430069,
-0.02147277444601059,
0.01865619421005249,
0.01983814500272274,
0.028346210718154907,
0.00676093902438879,
-0.002409819047898054,
0.03180745244026184,
0.04165421053767204,
-0.022826284170150757,
0.017741793766617775,
0.003475362900644541,
-0.025881879031658173,
-0.013944121077656746,
-0.0637749582529068,
0.006649289280176163,
0.005149786826223135,
0.017881162464618683,
0.004616294056177139,
0.046681635081768036,
-0.013667449355125427,
-0.048624590039253235,
-0.030958889052271843,
-0.07586695998907089,
0.06676696240901947,
0.010058746673166752,
0.010021626017987728,
-0.03425344452261925,
-0.012562409043312073,
-0.057375676929950714,
-0.02134404145181179,
-0.008862849324941635,
0.002341740531846881,
0.05252727121114731,
-0.0073792533949017525,
-0.03216585889458656,
-0.0005237354780547321,
0.0346040278673172,
-0.006827899720519781,
0.0035825814120471478,
0.03200126439332962,
0.04116801172494888,
-0.009028474800288677,
-0.007420406211167574,
0.0485931895673275,
0.03488548845052719,
-0.03740084916353226,
-0.021409347653388977,
-0.014782409183681011,
0.004112632945179939,
0.05075075477361679,
0.006639158818870783,
0.04315869137644768,
-0.03379783406853676,
-0.03378105163574219,
-0.04572680592536926,
0.008466099388897419,
0.01949884742498398,
-0.04675126075744629,
0.03390927240252495,
0.005197085905820131,
-0.0059398384764790535,
0.01327977143228054,
-0.02170587331056595,
0.009983156807720661,
0.0028612648602575064,
0.00281454436480999,
0.035257015377283096,
0.0023465752601623535,
-0.011228036135435104,
-0.03352377936244011,
-0.05475648120045662,
0.011155656538903713,
-0.039432696998119354,
0.0011539714178070426,
0.0007402620976790786,
-0.007051095832139254,
-0.0052382261492311954,
0.05164400115609169,
0.0033985350746661425,
-0.00010902812209678814,
0.00575144961476326,
0.02370346523821354,
0.014719711616635323,
0.02507239766418934,
0.01237557828426361,
-0.01590905897319317,
-0.00665782205760479,
0.05496583133935928,
0.005014587193727493,
0.032244596630334854,
0.026761379092931747,
0.046930450946092606,
-0.0073783984407782555,
0.01017940416932106,
-0.011851276271045208,
-0.03729335218667984,
-0.0023779987823218107,
-0.045479681342840195,
0.05504945293068886,
0.06993791460990906,
-0.008920679800212383,
-0.012932445853948593,
-0.021482260897755623,
0.002320805797353387,
0.025105340406298637,
-0.002780188573524356,
0.040137965232133865,
0.04339846596121788,
-0.01860869489610195,
0.02168712019920349,
-0.032871704548597336,
0.030096983537077904,
0.06158857047557831,
0.027090558782219887,
-0.03257632255554199,
0.03753981366753578
] |
Introducing Würstchen: Fast Diffusion for Image Generation | dome272 | September 13, 2023 | wuerstchen | diffusion, diffusers, text-to-image | https://huggingface.co/blog/wuerstchen | What image sizes does Würstchen work on? Würstchen was trained on image resolutions between 1024x1024 & 1536x1536. We sometimes also observe good outputs at resolutions like 1024x2048. Feel free to try it out. We also observed that the Prior (Stage C) adapts extremely fast to new resolutions. So finetuning it at 2048x2048 should be computationally cheap. | [
0.029848765581846237,
0.031500041484832764,
0.08259964734315872,
0.016648389399051666,
0.03917059302330017,
0.07630740851163864,
-0.014990760944783688,
0.030054667964577675,
-0.004526950418949127,
-0.05036735534667969,
-0.030148062855005264,
0.0382063090801239,
0.0335300974547863,
-0.024821670725941658,
0.03896048292517662,
0.0012556839501485229,
0.06158249080181122,
0.0330338217318058,
-0.000486958771944046,
-0.011061285622417927,
-0.06431078165769577,
-0.06616378575563431,
-0.01602383330464363,
-0.0074584814719855785,
-0.006091051734983921,
0.02424532175064087,
-0.035634204745292664,
-0.013211733661592007,
-0.0018349639140069485,
0.01466770377010107,
-0.12787199020385742,
-0.042663540691137314,
0.001883807242847979,
-0.11007004231214523,
0.01345729548484087,
0.003101332811638713,
-0.006743478123098612,
0.10087123513221741,
-0.055544450879096985,
0.013185153715312481,
-0.000328211288433522,
0.015223442576825619,
-0.029039625078439713,
0.0497962087392807,
-0.03477953374385834,
-0.03662540018558502,
-0.10146640241146088,
0.07694227993488312,
-0.009312210604548454,
-0.0487552210688591,
-0.013707573525607586,
-0.02413729391992092,
0.05147307366132736,
0.04942695051431656,
-0.01909794844686985,
-0.006086854729801416,
-0.005477605853229761,
0.002442710567265749,
0.09491613507270813,
0.03243245556950569,
0.06533365696668625,
-0.0399610660970211,
-0.014866023324429989,
0.10481425374746323,
-0.024638887494802475,
0.013534809462726116,
0.0341048389673233,
0.04458281397819519,
0.01977713033556938,
-0.00935372244566679,
-0.004595067352056503,
-0.06256239861249924,
0.08783264458179474,
0.0273114163428545,
-0.057490359991788864,
-0.021613823249936104,
-0.042080942541360855,
-0.008212294429540634,
0.019534220919013023,
-0.03304099291563034,
0.043858472257852554,
-0.009935369715094566,
0.09037628769874573,
0.02908213622868061,
-0.04229935631155968,
0.009431784972548485,
0.021583491936326027,
-0.007078499998897314,
-0.06746795028448105,
0.038112055510282516,
0.10956855863332748,
-0.09851856529712677,
0.015322173945605755,
-0.0159087423235178,
0.0052762096747756,
-0.05968786031007767,
-0.08170118182897568,
0.021777845919132233,
0.04797563701868057,
-0.008680487051606178,
0.02813887968659401,
0.028813572600483894,
0.04154248535633087,
-0.010285917669534683,
-0.05364523082971573,
0.09142523258924484,
-0.030197540298104286,
-0.048290979117155075,
-0.033577561378479004,
-0.010499010793864727,
-0.01198379136621952,
0.0351727232336998,
0.020942088216543198,
-0.00963781587779522,
-0.027969758957624435,
-0.011482846923172474,
-0.011774389073252678,
-0.01583954133093357,
0.022969694808125496,
0.009506750851869583,
0.010419562458992004,
0.0940183475613594,
0.07472272962331772,
-0.017240088433027267,
-0.00898822396993637,
0.0012466337066143751,
-0.006850903853774071,
0.08642414957284927,
-0.005787448491901159,
-0.052318327128887177,
0.03539904206991196,
-0.028834637254476547,
0.09666663408279419,
-0.015940506011247635,
0.07766247540712357,
-0.08310341835021973,
0.019805558025836945,
-0.027346037328243256,
-0.011174042709171772,
-0.005065632984042168,
-0.04721885919570923,
-0.02402801439166069,
-0.02317187748849392,
0.02944791503250599,
0.026457171887159348,
-0.0729476660490036,
0.003784613450989127,
0.004104494117200375,
-0.017417799681425095,
0.025129877030849457,
-0.10693780332803726,
0.06895918399095535,
-0.0631759837269783,
-0.129184290766716,
0.00026615860406309366,
0.017497580498456955,
-0.003785669105127454,
-0.06078644469380379,
-0.12336386740207672,
-0.032610855996608734,
-0.010851127095520496,
-0.006926021538674831,
-0.04122865945100784,
-0.00113008008338511,
0.07395564019680023,
-0.06961233168840408,
0.021207762882113457,
0.06066581979393959,
-0.008120001293718815,
0.004318719729781151,
0.008851848542690277,
-0.0061806668527424335,
0.038300640881061554,
0.003107671160250902,
-0.006696389988064766,
0.015432161279022694,
0.029769252985715866,
0.0837261900305748,
-0.02684617228806019,
-0.001369443372823298,
0.00540179805830121,
0.03814718872308731,
-0.05427282303571701,
0.011692267842590809,
0.005582856945693493,
-0.11683186143636703,
0.012927805073559284,
-0.007644427474588156,
-0.0559893362224102,
0.046236760914325714,
-0.0746738389134407,
-0.041628558188676834,
-0.00827967282384634,
0.0011590250069275498,
0.048820942640304565,
0.015493347309529781,
-0.011478874832391739,
0.031151456758379936,
0.019418340176343918,
0.03807928040623665,
0.058815933763980865,
-0.03471082076430321,
0.058059610426425934,
0.026883244514465332,
-0.056541986763477325,
-0.0026230965740978718,
0.051779162138700485,
-0.03744668886065483,
0.01177283190190792,
0.06707429140806198,
-0.007533904165029526,
-0.10395607352256775,
0.0468534417450428,
-0.04163910821080208,
-0.03193536400794983,
0.03422097489237785,
-0.01291078794747591,
-0.029530072584748268,
0.022220958024263382,
-0.028547147288918495,
0.09630557149648666,
0.10628057271242142,
-0.03507267311215401,
0.03205477073788643,
0.002071755938231945,
0.06361405551433563,
0.014263685792684555,
0.014201936312019825,
0.0654866024851799,
-0.1195291057229042,
0.0013471472775563598,
-0.04724255949258804,
-0.019717730581760406,
0.01216029841452837,
-0.0063562472350895405,
-0.046197306364774704,
-0.020729923620820045,
0.021247178316116333,
0.1064421534538269,
-0.02558080293238163,
0.0012894278625026345,
0.009430253878235817,
0.008123696781694889,
0.025971585884690285,
-0.014963077381253242,
-0.0478021577000618,
0.06939075887203217,
0.06857573240995407,
-0.030340220779180527,
-0.03671976551413536,
-0.007021530065685511,
0.030529474839568138,
0.003054089844226837,
-0.03838643804192543,
0.01980086974799633,
0.05856773257255554,
0.0067661418579518795,
-0.05895998328924179,
0.010050210170447826,
0.00859300047159195,
0.011436287313699722,
-0.02049844339489937,
0.05513613298535347,
-0.006093970965594053,
0.035264384001493454,
-0.023789215832948685,
-0.046828728169202805,
-0.010311850346624851,
0.04111538082361221,
-0.0268869586288929,
0.003913877997547388,
0.024870317429304123,
-0.010169647634029388,
-0.030685335397720337,
0.02023722417652607,
-0.042996786534786224,
0.014595404267311096,
-0.047608308494091034,
0.015601779334247112,
-0.004400474019348621,
-0.007092936895787716,
0.023808088153600693,
0.09526408463716507,
0.02457204833626747,
0.010808703489601612,
-0.01569667086005211,
0.03880779817700386,
0.008792652748525143,
-0.060516633093357086,
0.012125089764595032,
-0.0015636460157111287,
0.04530524089932442,
0.053680747747421265,
-0.006628887262195349,
-0.004708928521722555,
0.005638324189931154,
0.018262283876538277,
-0.01354245375841856,
-0.014125184156000614,
0.012056990526616573,
-0.009694368578493595,
-0.03126125782728195,
-0.012908464297652245,
-0.032620709389448166,
-0.04178043082356453,
0.03851420804858208,
-0.01833973452448845,
0.043667543679475784,
-0.10079192370176315,
-0.0044702026061713696,
0.009944667108356953,
0.03393569961190224,
-0.034481216222047806,
0.00041560785030014813,
0.013674642890691757,
-0.023872271180152893,
0.020078981295228004,
-0.0014988313196226954,
-0.012988455593585968,
0.004025270696729422,
0.060171764343976974,
0.034971270710229874,
0.01268894411623478,
0.01981237158179283,
0.010447940789163113,
-0.012390343472361565,
0.02393818460404873,
-0.010067787021398544,
-0.029033005237579346,
0.047598931938409805,
0.03938315808773041,
0.017393436282873154,
-0.034539759159088135,
0.0465107224881649,
0.030964134261012077,
-0.02991005964577198,
0.009565196000039577,
-0.06521492451429367,
0.007425391580909491,
-0.03802700340747833,
-0.02840660884976387,
0.03540501743555069,
-0.060850877314805984,
-0.04019388183951378,
0.0062908148393034935,
0.0017575332894921303,
-0.005395240616053343,
-0.01952781155705452,
-0.01948879286646843,
0.030994759872555733,
0.0042550344951450825,
-0.023294350132346153,
0.054211392998695374,
-0.023020245134830475,
0.03799246996641159,
-0.02837192825973034,
0.03158403933048248,
0.0002527886535972357,
-0.0022772480733692646,
0.007724244613200426,
-0.018195420503616333,
0.06597109138965607,
-0.014334444887936115,
-0.04766147583723068,
-0.027729876339435577,
0.05915040895342827,
0.03259151428937912,
-0.009792722761631012,
-0.05786946415901184,
0.04466116800904274,
-0.038549210876226425,
0.03020489402115345,
-0.022870585322380066,
0.005678653251379728,
-0.005602400749921799,
0.021626459434628487,
-0.05426991358399391,
0.001012735883705318,
0.005401002708822489,
-0.015258628875017166,
0.006769868545234203,
0.01110585406422615,
-0.010085493326187134,
-0.026432935148477554,
-0.046192068606615067,
0.03399747237563133,
0.055767230689525604,
0.02298775129020214,
0.02471228875219822,
0.024464476853609085,
-0.019067129120230675,
0.0008870685123838484,
-0.03549598157405853,
0.00757872499525547,
-0.014438765123486519,
-0.016953542828559875,
0.024799861013889313,
0.031879451125860214,
0.0331716425716877,
-0.0043737636879086494,
0.0008396210032515228,
-0.0385705903172493,
0.005451057106256485,
0.043242741376161575,
0.012632369995117188,
-0.029102949425578117,
0.006073187105357647,
-0.018232226371765137,
0.040084291249513626,
0.010649681091308594,
-0.05008615180850029,
0.03012624755501747,
0.018099267035722733,
-0.020457178354263306,
0.016652701422572136,
-0.021286383271217346,
0.020338566973805428,
0.03206682950258255,
0.037542082369327545,
-0.06666851788759232,
0.01796717196702957,
-0.011590972542762756,
0.03763173148036003,
-0.002387888729572296,
0.023545579984784126,
-0.027939680963754654,
-0.0013973828172311187,
0.002574858721345663,
-0.012567414902150631,
0.012564077973365784,
-0.012049100361764431,
-0.01064077764749527,
0.012156281620264053,
0.00855724886059761,
0.027146028354763985,
-0.019753536209464073,
0.009621200151741505,
-0.017142679542303085,
-0.04587376117706299,
0.0011545791057869792,
-0.015270513482391834,
0.01853697933256626,
0.010777363553643227,
-0.012193179689347744,
-0.035201627761125565,
-0.0006831965292803943,
-0.05363582447171211,
-0.0707044005393982,
-0.027909040451049805,
0.02045816369354725,
0.05145639926195145,
0.009498337283730507,
0.04521848261356354,
0.017084849998354912,
-0.024790039286017418,
-0.02112075500190258,
-0.02037130855023861,
0.04236667975783348,
0.0734182819724083,
-0.028174500912427902,
-0.04792765527963638,
0.010209967382252216,
0.012318129651248455,
-0.002654715208336711,
-0.05177576467394829,
-0.01271605584770441,
0.025881171226501465,
0.03952408209443092,
0.019535278901457787,
0.029971249401569366,
-0.04790043458342552,
-0.012959097512066364,
0.020177779719233513,
0.0039824265986680984,
0.029443683102726936,
-0.017329994589090347,
-0.03510501608252525,
0.03355594724416733,
0.030567675828933716,
-0.011687581427395344,
-0.005016477778553963,
-0.0373818464577198,
0.032267969101667404,
0.06535425037145615,
-0.03187508508563042,
-0.005736765451729298,
0.016477804630994797,
-0.026690000668168068,
0.009581911377608776,
0.029805095866322517,
0.04591803997755051,
-0.009619100019335747,
-0.06077075004577637,
0.027270685881376266,
0.011191423051059246,
0.02148275263607502,
0.003531813155859709,
0.03785426914691925,
0.02835283987224102,
-0.007004512008279562,
0.023369839414954185,
-0.00808447040617466,
0.03626673296093941,
-0.001535574789159,
-0.017681334167718887,
-0.007992890663444996,
0.008383279666304588,
0.006135540083050728,
-0.01943761110305786,
0.007072770036756992,
0.02825041301548481,
-0.0017462840769439936,
0.0010944426758214831,
0.006598251406103373,
-0.02586411125957966,
-0.00515192374587059,
-0.018987974151968956,
0.005526321940124035,
0.022075310349464417,
-0.008325797505676746,
-0.0033783838152885437,
-0.020427998155355453,
-0.01803436689078808,
-0.04976153373718262,
-0.06501753628253937,
0.05183301120996475,
0.02008061669766903,
0.012272861786186695,
0.03843768686056137,
0.014712381176650524,
-0.0024834643118083477,
0.014818469062447548,
0.009781942702829838,
-0.002880306448787451,
-0.0003603649965953082,
0.0073133669793605804,
-0.07170975208282471,
0.00756579264998436,
0.03551438823342323,
-0.012033755891025066,
0.02827930822968483,
0.015961529687047005,
0.03167806938290596,
-0.02682531625032425,
0.0023436604533344507,
0.058967676013708115,
-0.017715997993946075,
-0.004093740601092577,
-0.05473226681351662,
-0.029184559360146523,
-0.033535949885845184,
0.04527858644723892,
-0.020541230216622353,
-0.01371212862432003,
0.0675705075263977,
-0.041890423744916916,
0.003428708529099822,
0.0017192098312079906,
0.005593743175268173,
-0.018989866599440575,
0.023198867216706276,
-0.0005391737213358283,
0.006435479037463665,
0.005567607469856739,
0.0064436160027980804,
-0.010094649158418179,
0.031949009746313095,
0.0005154553218744695,
-0.010469933040440083,
0.017299320548772812,
-0.0025505716912448406,
0.02603132650256157,
-0.005673589184880257,
0.016241349279880524,
0.017134446650743484,
-0.0734046995639801,
-0.0051029883325099945,
0.04682298004627228,
0.01781252771615982,
0.025901492685079575,
-0.022953273728489876,
-0.010268764570355415,
-0.024556003510951996,
-0.0007741600857116282,
0.016263119876384735,
0.019704647362232208,
-0.030953234061598778,
0.02121378667652607,
0.03226984292268753,
0.00855268258601427,
0.023501195013523102,
-0.005271356087177992,
-0.07013677060604095,
-0.0014979572733864188,
0.04254581406712532,
-0.040764644742012024,
-0.0005722366040572524,
0.019882459193468094,
0.003852847497910261,
-0.0024307966232299805,
-0.01925143413245678,
-0.0018327049911022186,
-0.05223708227276802,
0.04777111858129501,
0.02149873413145542,
-0.0011885927524417639,
-0.025168854743242264,
-0.03379335254430771,
0.04160045459866524,
0.016089795157313347,
0.03811285272240639,
-0.05426861345767975,
0.012777775526046753,
0.010009977966547012,
0.012138396501541138,
0.003365175100043416,
0.021656231954693794,
-0.016525225713849068,
-0.026557525619864464,
0.01638680510222912,
0.02312159538269043,
0.018909897655248642,
0.029280677437782288,
0.0009641048382036388,
0.007756381761282682,
-0.03768521547317505,
-0.01892632246017456,
-0.004323345143347979,
0.0021210331469774246,
-0.01521728839725256,
-0.027236999943852425,
0.02396388351917267,
-0.08168578147888184,
-0.0337398499250412,
-0.011166666634380817,
-0.002362848026677966,
0.009781458415091038,
0.009988047182559967,
-0.05807305499911308,
0.03152991458773613,
-0.008248475380241871,
-0.0024972709361463785,
0.0014556718524545431,
-0.010616974905133247,
-0.059430696070194244,
0.05084457993507385,
-0.004273310303688049,
-0.03718680515885353,
-0.031453825533390045,
0.04175974056124687,
-0.06133216246962547,
0.0644451230764389,
0.0050637805834412575,
0.01789727434515953,
-0.01675335504114628,
-0.000049831029173219576,
-0.020543737336993217,
-0.008999709039926529,
0.05746391788125038,
0.011337884701788425,
-0.04276192933320999,
0.07733102142810822,
-0.00662959273904562,
-0.021587330847978592,
0.008197259157896042,
-0.03191189840435982,
0.011862186715006828,
0.0018360853428021073,
0.021583059802651405,
-0.011582059785723686,
0.02593100257217884,
0.01196308434009552,
-0.037687819451093674,
-0.01565617322921753,
-0.08725323528051376,
0.04542125388979912,
0.00937955267727375,
0.04337966814637184,
0.0038599150720983744,
0.004879733547568321,
-0.010768165811896324,
-0.0077622635290026665,
-0.0116257444024086,
-0.016764752566814423,
0.028810685500502586,
0.013138889335095882,
-0.07278764247894287,
-0.0419907346367836,
0.02594917267560959,
-0.016989151015877724,
0.023838477209210396,
0.03468609228730202,
-0.005448316223919392,
0.004446523264050484,
-0.010240893810987473,
-0.014271696098148823,
0.056204091757535934,
-0.018874112516641617,
-0.02937675081193447,
0.007490781135857105,
-0.004363906569778919,
0.02890964038670063,
-0.04076622426509857,
0.026477009057998657,
-0.006809236481785774,
-0.011401286348700523,
-0.019081763923168182,
-0.02087251842021942,
-0.031882885843515396,
-0.016927892342209816,
0.010319674387574196,
0.025680702179670334,
0.04562865197658539,
-0.024638013914227486,
-0.019153080880641937,
0.006081876810640097,
0.013017985038459301,
-0.015891389921307564,
-0.0061899092979729176,
-0.01668812520802021,
0.013533025979995728,
-0.0182971004396677,
0.009097730740904808,
-0.0008808480342850089,
-0.024390509352087975,
0.0039857979863882065,
0.06822743266820908,
-0.0007272298098541796,
-0.02100248821079731,
0.0015216043684631586,
-0.004049633163958788,
-0.0009094519773498178,
0.05707720294594765,
0.005074994172900915,
0.004891712684184313,
0.033837687224149704,
0.016055967658758163,
-0.02190849930047989,
0.005422229412943125,
0.016306249424815178,
0.012525533325970173,
0.045142050832509995,
0.00911229383200407,
-0.003382975235581398,
-0.003151058219373226,
-0.010011023841798306,
0.04384347051382065,
-0.010967496782541275,
-0.009859009645879269,
-0.048103611916303635,
0.043682701885700226,
0.047521233558654785,
-0.01269296370446682,
-0.06668592244386673,
0.008170057088136673,
-0.020613426342606544,
-0.00110961077734828,
-0.014706370420753956,
0.01925898715853691,
-0.019712049514055252,
0.03429194167256355,
0.00643597636371851,
-0.03492007032036781,
0.049931302666664124,
0.052021175622940063,
0.022548604756593704,
0.029678918421268463,
0.010617334395647049
] |
Introducing Würstchen: Fast Diffusion for Image Generation | dome272 | September 13, 2023 | wuerstchen | diffusion, diffusers, text-to-image | https://huggingface.co/blog/wuerstchen | Resources * Further information about this model can be found in the official diffusers documentation. * All the checkpoints can be found on the hub * You can try out the demo here. * Join our Discord if you want to discuss future projects or even contribute with your own ideas! * Training code and more can be found in the official GitHub repository | [
0.038503505289554596,
-0.038096833974123,
0.05221443250775337,
-0.041794322431087494,
0.13759440183639526,
0.026344329118728638,
-0.017141589894890785,
0.02281278930604458,
-0.0186375230550766,
-0.12420970946550369,
-0.01985105127096176,
0.008259395137429237,
0.031223416328430176,
0.0505964420735836,
-0.00802692025899887,
0.01648654229938984,
0.0007809384260326624,
-0.026876885443925858,
0.009641957469284534,
0.031623270362615585,
-0.03419126570224762,
-0.0646720826625824,
0.02384907566010952,
-0.026167402043938637,
0.005313731264322996,
-0.02358335629105568,
0.03726087510585785,
0.08429175615310669,
-0.03251824900507927,
0.03829074651002884,
-0.06692025810480118,
0.012988409958779812,
0.020516322925686836,
-0.10128086060285568,
0.02073407545685768,
0.01383032277226448,
-0.10813207179307938,
0.005377449095249176,
0.006336256396025419,
-0.03482912853360176,
-0.011655384674668312,
-0.014278478920459747,
-0.021882444620132446,
0.07486551254987717,
-0.0006495044799521565,
-0.047871436923742294,
-0.18968941271305084,
0.08140355348587036,
-0.03422877937555313,
-0.041637908667325974,
-0.07902179658412933,
0.03749747574329376,
-0.02636837773025036,
0.015156152658164501,
0.03773116320371628,
0.006669113412499428,
-0.004450678825378418,
-0.0019587515853345394,
0.05616982281208038,
-0.07110082358121872,
0.027559351176023483,
0.02243674360215664,
-0.015926828607916832,
-0.005066568963229656,
0.03357212245464325,
0.004179827403277159,
0.04732997715473175,
-0.013519893400371075,
-0.026404350996017456,
0.01038036122918129,
0.039279479533433914,
0.010097152553498745,
0.003161492059007287,
0.00656235171481967,
-0.0021847053430974483,
-0.05478496477007866,
-0.02598881721496582,
0.027867229655385017,
0.053397659212350845,
0.04070698097348213,
0.016849393025040627,
-0.04514867067337036,
0.04148276522755623,
0.01601901277899742,
-0.03571928292512894,
-0.0015957725699990988,
0.06531733274459839,
0.002742808312177658,
-0.028103390708565712,
0.0013798297150060534,
-0.048501014709472656,
-0.07092109322547913,
0.00378682604059577,
0.007909165695309639,
0.0689285397529602,
-0.03380831703543663,
0.02528836391866207,
0.045976422727108,
0.029782772064208984,
-0.034684665501117706,
-0.03430226072669029,
-0.011420161463320255,
-0.013504660688340664,
-0.04435792565345764,
-0.021773261949419975,
0.022433333098888397,
-0.012704906053841114,
-0.06654756516218185,
-0.03261268138885498,
0.024202659726142883,
-0.026844047009944916,
-0.014922610484063625,
-0.005083129275590181,
0.025462161749601364,
-0.07022804766893387,
0.07421067357063293,
0.008382100611925125,
0.0024887064937502146,
0.05009844899177551,
0.056400004774332047,
-0.01243569515645504,
0.10574033856391907,
0.03908277675509453,
0.036719560623168945,
0.022301802411675453,
0.07851888984441757,
-0.011243106797337532,
0.005043609067797661,
-0.08792190253734589,
-0.018981419503688812,
-0.013346966356039047,
-0.06902901828289032,
0.012352731078863144,
-0.04904855787754059,
-0.002741117961704731,
-0.11246394366025925,
-0.009463801048696041,
-0.01281079649925232,
0.06302835047245026,
0.05687649920582771,
-0.07681944221258163,
0.03728281706571579,
-0.04953819140791893,
0.005975695792585611,
0.03238432854413986,
-0.06243525817990303,
-0.040106941014528275,
-0.0035680534783750772,
-0.009888924658298492,
0.008760172873735428,
-0.04613593593239784,
0.07482605427503586,
-0.018032031133770943,
-0.07497276365756989,
-0.04807542636990547,
0.034135349094867706,
0.018220119178295135,
-0.02984718419611454,
-0.02315635047852993,
-0.03055219165980816,
-0.00995019730180502,
-0.019863586872816086,
-0.035614680498838425,
0.03063836134970188,
0.06488551199436188,
-0.010884216986596584,
0.04446301981806755,
0.044288601726293564,
0.01726149022579193,
-0.04960373416543007,
-0.005852458532899618,
-0.022606924176216125,
0.06106541305780411,
-0.0019828130025416613,
-0.036097582429647446,
0.028390126302838326,
0.09581442177295685,
0.06990846246480942,
-0.01678438112139702,
0.013532903045415878,
-0.04756871610879898,
0.03631694242358208,
-0.046895500272512436,
-0.009413442574441433,
0.05658333748579025,
-0.046603139489889145,
0.029829241335392,
0.018792564049363136,
-0.011663923971354961,
0.0568045899271965,
-0.045995499938726425,
-0.0016705068992450833,
0.06752959638834,
0.03721048682928085,
-0.005452783312648535,
-0.103572778403759,
-0.026816247031092644,
0.06150972098112106,
0.03863922879099846,
0.04152250289916992,
0.0952565148472786,
0.047241080552339554,
0.006965870037674904,
-0.04591314494609833,
-0.06731024384498596,
0.02417919971048832,
0.04157422110438347,
-0.02341761253774166,
0.04880255088210106,
-0.024284236133098602,
-0.032428860664367676,
-0.10436920076608658,
-0.0086842505261302,
-0.0612473227083683,
0.03448539972305298,
0.0061063263565301895,
-0.04542265832424164,
-0.003421143628656864,
-0.006882924120873213,
-0.021936949342489243,
0.15441805124282837,
0.012117579579353333,
-0.052013710141181946,
0.050498269498348236,
-0.01731155812740326,
0.058738481253385544,
0.10621948540210724,
-0.010311043821275234,
0.0980885699391365,
-0.06497605890035629,
-0.029400544241070747,
-0.06739822775125504,
-0.017551317811012268,
0.08811052143573761,
0.006095535587519407,
0.03556942567229271,
0.05847960710525513,
-0.019804097712039948,
0.06243131309747696,
-0.028719695284962654,
0.016635579988360405,
-0.023242050781846046,
0.009832008741796017,
0.06755581498146057,
-0.020428037270903587,
0.00375748542137444,
0.044903405010700226,
0.1072295680642128,
-0.11053243279457092,
0.00696929544210434,
-0.05669403076171875,
0.07936400920152664,
-0.007992017082870007,
-0.047325123101472855,
0.09327933937311172,
0.003784121945500374,
-0.005351913161575794,
-0.01059287041425705,
0.004118080250918865,
0.015295246616005898,
0.012815362773835659,
-0.013002106919884682,
-0.03292805328965187,
-0.059787213802337646,
0.02681048773229122,
-0.03097580187022686,
-0.001981339417397976,
-0.01985541358590126,
0.027122214436531067,
0.008070235140621662,
0.03184491768479347,
-0.028876038268208504,
0.01651482656598091,
0.008917673490941525,
-0.00668484577909112,
-0.0077220075763762,
-0.010491044260561466,
-0.0025879675522446632,
0.0013037350727245212,
-0.022888492792844772,
0.020499201491475105,
-0.009249936789274216,
0.05617274343967438,
0.023736940696835518,
0.054118234664201736,
-0.022754432633519173,
0.008888833224773407,
-0.004815869498997927,
-0.011591212823987007,
0.007580949459224939,
-0.0025130915455520153,
0.007662350311875343,
0.02491643652319908,
0.001715564401820302,
-0.013287020847201347,
-0.0010767572093755007,
-0.0025086053647100925,
0.02435097098350525,
-0.012486939318478107,
0.028260136023163795,
0.01128182839602232,
0.01507735624909401,
0.002959031146019697,
0.0036331270821392536,
-0.04014355316758156,
0.03689666837453842,
0.0017054863274097443,
0.03979165479540825,
-0.12525857985019684,
-0.01876319758594036,
0.02606527879834175,
0.05387607216835022,
-0.004969206638634205,
-0.03443776071071625,
0.011031302623450756,
-0.03579941764473915,
0.006177224218845367,
-0.055233296006917953,
0.005569360218942165,
0.01782359555363655,
0.036029890179634094,
-0.02279909886419773,
-0.06067695468664169,
0.025454770773649216,
0.0005044681602157652,
-0.01894243061542511,
0.035335391759872437,
-0.01058472041040659,
-0.042462654411792755,
0.06037013977766037,
-0.01796705089509487,
-0.019507145509123802,
-0.03436024859547615,
0.0068932282738387585,
0.008123984560370445,
0.015764830633997917,
0.011910418048501015,
-0.032902833074331284,
-0.05395552143454552,
0.016930071637034416,
-0.04878537729382515,
0.04075637459754944,
-0.02679799310863018,
0.020422067493200302,
-0.04021822288632393,
0.0035474549513310194,
0.04834624007344246,
0.018081534653902054,
-0.0002735586022026837,
0.02140294387936592,
0.02283376269042492,
0.025722380727529526,
0.006256007589399815,
0.02389606460928917,
0.03911249339580536,
0.017580455169081688,
0.05967771261930466,
-0.007597043644636869,
-0.004574039950966835,
-0.0016564325196668506,
0.004189309664070606,
0.029591228812932968,
0.003007081337273121,
0.007458367384970188,
-0.0035152770578861237,
0.027415085583925247,
0.05012715235352516,
-0.010600858367979527,
-0.04802203178405762,
0.02391611412167549,
0.005674655083566904,
0.012529191561043262,
-0.009429629892110825,
0.0683017298579216,
0.003979700617492199,
-0.00417229114100337,
-0.024702096357941628,
-0.01986556313931942,
-0.0006114239222370088,
0.052663180977106094,
-0.033976633101701736,
0.012236479669809341,
-0.014592794701457024,
0.036243896931409836,
-0.006662719417363405,
-0.017913242802023888,
0.0622561015188694,
0.0013399915769696236,
-0.02807195857167244,
-0.014847506769001484,
-0.008593440987169743,
-0.04920002818107605,
0.01716415025293827,
0.004629191476851702,
0.020850153639912605,
0.00674038752913475,
0.010225102305412292,
0.046495597809553146,
0.01653354987502098,
-0.0001844974613049999,
0.02279786206781864,
-0.033642176538705826,
0.025165673345327377,
0.04891449213027954,
0.04394124075770378,
-0.01555344182997942,
0.014474635943770409,
0.016029126942157745,
0.028406823053956032,
-0.0148689616471529,
-0.013577533885836601,
0.03163548558950424,
0.033031634986400604,
0.02243606373667717,
-0.03368803486227989,
-0.031769245862960815,
0.0026607185136526823,
-0.023399226367473602,
0.027975527569651604,
-0.009904756210744381,
0.018812578171491623,
-0.0008854323532432318,
-0.012394927442073822,
0.00016447959933429956,
-0.03435109928250313,
-0.004548042081296444,
-0.021081557497382164,
0.020645763725042343,
-0.030020827427506447,
-0.0067103831097483635,
-0.0023266333155333996,
-0.031643226742744446,
0.00307332631200552,
0.02736751362681389,
0.01274222880601883,
0.0005935767549090087,
-0.012989668175578117,
0.009016322903335094,
-0.022888250648975372,
-0.051468029618263245,
-0.00502987764775753,
0.03923648223280907,
-0.01676259934902191,
0.02354750782251358,
-0.002862165914848447,
0.03834375739097595,
-0.01584290713071823,
-0.057972051203250885,
-0.01784195937216282,
-0.01557097863405943,
0.024144893512129784,
0.004825043957680464,
0.05213363468647003,
-0.025511713698506355,
-0.039541471749544144,
-0.019027061760425568,
0.005445440299808979,
-0.0004116776108276099,
0.05501173809170723,
-0.005886746104806662,
-0.04694947600364685,
-0.0022530299611389637,
0.004304324742406607,
0.01613553613424301,
0.004604613874107599,
0.03781500458717346,
0.00364599353633821,
0.029735669493675232,
0.022522052749991417,
0.02789432555437088,
-0.061173953115940094,
0.03984938561916351,
-0.019422229379415512,
0.0060865068808197975,
-0.01063332799822092,
-0.03408088907599449,
-0.014074771665036678,
0.00874363910406828,
-0.005048728082329035,
-0.023651836439967155,
0.009520387277007103,
-0.024597370997071266,
0.022272182628512383,
0.03053300641477108,
0.01807682402431965,
0.031207052990794182,
0.013408401980996132,
0.018288400024175644,
-0.05158238112926483,
0.0433940626680851,
0.04484973102807999,
-0.013559441082179546,
0.004362636245787144,
0.009949720464646816,
0.0384109728038311,
-0.006989545654505491,
0.01902848668396473,
0.061788301914930344,
-0.02704821340739727,
0.002454350469633937,
-0.0037682820111513138,
0.007674294523894787,
0.005604322999715805,
-0.005670034326612949,
-0.011613111011683941,
0.02766711264848709,
-0.05224427953362465,
0.021212676540017128,
0.03621312975883484,
0.042237263172864914,
-0.04224742203950882,
0.016327355057001114,
0.01390520203858614,
0.010545853525400162,
0.005174979101866484,
-0.0004686414322350174,
-0.007976795546710491,
-0.05190223455429077,
-0.037895567715168,
-0.01315783429890871,
-0.050160929560661316,
-0.04422136768698692,
0.001967501360923052,
-0.017324570566415787,
-0.034594058990478516,
-0.00841695349663496,
0.009786921553313732,
0.04505245387554169,
-0.003203020663931966,
0.008044995367527008,
-0.023117108270525932,
0.02874213643372059,
0.002683209488168359,
-0.028900763019919395,
0.023883944377303123,
0.03127507120370865,
-0.022630037739872932,
0.03318287059664726,
0.027298051863908768,
0.02210361324250698,
-0.004790669772773981,
-0.0015016478719189763,
0.02275719679892063,
-0.004802574869245291,
-0.0648784264922142,
0.009525753557682037,
0.020002566277980804,
0.026945097371935844,
0.008768651634454727,
-0.01692373864352703,
-0.031788215041160583,
-0.008222817443311214,
-0.08075117319822311,
0.04015958309173584,
0.056423619389534,
-0.03271104767918587,
0.021698372438549995,
-0.02071995846927166,
0.03792138025164604,
0.005789943039417267,
0.006017420440912247,
0.005859940778464079,
0.035908591002225876,
0.05463900417089462,
-0.014995389617979527,
-0.02422361634671688,
0.017634771764278412,
-0.020468419417738914,
0.025718560442328453,
-0.024540726095438004,
0.030971897765994072,
-0.0005464695859700441,
-0.020369313657283783,
0.022749528288841248,
-0.028382757678627968,
-0.03918280825018883,
0.012511189095675945,
0.013799069449305534,
0.00960884802043438,
0.024846574291586876,
0.010909714736044407,
-0.011431122198700905,
-0.052939873188734055,
-0.01085848268121481,
0.07309816032648087,
0.06213513761758804,
-0.03125676140189171,
0.023993181064724922,
0.020957298576831818,
0.021037394180893898,
0.014821706339716911,
0.02705698274075985,
-0.02943633496761322,
0.020649263635277748,
0.021311230957508087,
0.010479364544153214,
0.0331231951713562,
0.020451761782169342,
0.005494202487170696,
0.0005327272810973227,
-0.025787726044654846,
-0.005758009385317564,
-0.030069150030612946,
0.019059520214796066,
0.009730761870741844,
-0.015006465837359428,
0.014174551703035831,
-0.023872360587120056,
0.045514460653066635,
0.02668815292418003,
0.028280002996325493,
-0.03191837668418884,
0.010943746194243431,
0.02932996116578579,
0.03414051607251167,
-0.017305180430412292,
0.03192627429962158,
-0.00496444758027792,
0.030863124877214432,
0.052899911999702454,
0.0031938450410962105,
-0.021915365010499954,
-0.001015210640616715,
-0.007185846101492643,
0.009246399626135826,
0.0037623445969074965,
0.015299771912395954,
-0.023134877905249596,
0.02731686271727085,
-0.026421725749969482,
-0.006058151368051767,
-0.006484891287982464,
-0.04811420664191246,
-0.026830565184354782,
-0.030314315110445023,
0.028756557032465935,
-0.0013562788954004645,
-0.004919725935906172,
0.011635704897344112,
0.03006652183830738,
0.00590478116646409,
-0.02586296759545803,
-0.00486519280821085,
0.015343906357884407,
-0.0018698035273700953,
0.02119496464729309,
0.006044918671250343,
-0.026006268337368965,
-0.005739846732467413,
0.028124719858169556,
0.010725424624979496,
-0.007673197891563177,
-0.009490330703556538,
-0.0019811810925602913,
0.00658418470993638,
0.013557057827711105,
-0.0029278979636728764,
0.02355465479195118,
0.04121113941073418,
-0.009352833963930607,
-0.026642190292477608,
0.016598204150795937,
0.008095246739685535,
-0.01828840561211109,
-0.019418107345700264,
-0.042863134294748306,
0.026147684082388878,
0.005379121750593185,
0.010357723571360111,
0.0025421574246138334,
0.007809994742274284,
-0.01549259852617979,
-0.06263822317123413,
-0.017916738986968994,
-0.03046398237347603,
0.01419749390333891,
0.01637522503733635,
0.0072425659745931625,
-0.057130150496959686,
-0.01028243824839592,
-0.004275298677384853,
0.03944331780076027,
-0.05891992524266243,
0.033933669328689575,
-0.025547657161951065,
-0.015290454961359501,
-0.0010167696746066213,
0.010792003013193607,
0.05393907427787781,
0.016530180349946022,
0.008419967256486416,
0.045832522213459015,
0.04068371281027794,
-0.01494351401925087,
-0.06262598931789398,
0.016999151557683945,
-0.003042996395379305,
0.012658276595175266,
-0.016398252919316292,
-0.021293101832270622,
-0.03985130786895752,
-0.014531650580465794,
0.020306287333369255,
0.004271766636520624,
-0.0025571866426616907,
-0.047495581209659576,
-0.03914693370461464,
-0.012257087044417858,
-0.03858800232410431,
0.045594681054353714,
0.05462820455431938,
0.013165289536118507,
0.02235855907201767,
-0.005487481132149696,
-0.012871774844825268,
-0.029180822893977165,
0.014214877039194107,
0.007908056490123272,
0.027150042355060577,
0.005565721075981855,
-0.023507868871092796,
-0.04576699063181877,
-0.016784993931651115,
-0.047234322875738144,
-0.09741891920566559,
-0.024862201884388924,
0.04978865012526512,
-0.023445889353752136,
-0.07343387603759766,
-0.0026450185105204582,
-0.005211216863244772,
0.022525638341903687,
0.053373172879219055,
-0.00795107614248991,
-0.02522740699350834,
-0.018377339467406273,
0.02985544688999653,
-0.04617541283369064,
-0.0037192145828157663,
-0.03516602888703346,
-0.006653718650341034,
0.033416107296943665,
-0.006045014131814241,
-0.0034760977141559124,
0.008447900414466858,
-0.005237051285803318,
0.033117782324552536,
0.0038407330866903067,
-0.0029715232085436583,
-0.04455669969320297,
0.02243909426033497,
-0.04705612361431122,
0.00583660788834095,
-0.051613595336675644,
0.014330301433801651,
0.031002869829535484,
0.006071031559258699,
-0.023340314626693726,
-0.0011372073786333203,
0.0074218143709003925,
0.014084460213780403,
0.03391534462571144,
-0.014035878702998161,
0.08913138508796692,
0.017812009900808334,
-0.0530911423265934,
-0.023728646337985992,
-0.001464043278247118
] |
Introducing Würstchen: Fast Diffusion for Image Generation | dome272 | September 13, 2023 | wuerstchen | diffusion, diffusers, text-to-image | https://huggingface.co/blog/wuerstchen | How was the model trained? The ability to train this model was only possible through compute resources provided by Stability AI. We wanna say a special thank you to Stability for giving us the possibility to pursue this kind of research, with the chance to make it accessible to so many more people! | [
0.02820182964205742,
-0.05140043422579765,
0.08385064452886581,
0.019082488492131233,
0.09178426861763,
0.048533353954553604,
-0.009555733762681484,
0.06096372753381729,
-0.06035809963941574,
-0.08123823255300522,
-0.018761392682790756,
0.02905944734811783,
-0.025561310350894928,
0.035696376115083694,
-0.013919099234044552,
-0.036250654608011246,
0.03749923035502434,
-0.052333980798721313,
-0.008803882636129856,
0.03684075176715851,
-0.054602548480033875,
-0.020610911771655083,
0.03998015820980072,
-0.008706130087375641,
-0.021880704909563065,
-0.04503936320543289,
0.039888978004455566,
-0.003239281941205263,
-0.022191882133483887,
-0.017725085839629173,
-0.08636767417192459,
-0.0033353478647768497,
0.001565770711749792,
-0.04230815917253494,
-0.033458441495895386,
0.024919334799051285,
-0.12802769243717194,
0.04330830276012421,
0.002042213687673211,
-0.046170398592948914,
-0.007723678834736347,
0.016088353469967842,
-0.024230003356933594,
0.14879858493804932,
-0.048877134919166565,
-0.033679328858852386,
-0.21506020426750183,
0.0906144380569458,
-0.028631016612052917,
-0.04937068745493889,
-0.05866365134716034,
0.027423443272709846,
-0.02871302329003811,
0.006831460632383823,
0.013940315693616867,
-0.004970367066562176,
0.00884240958839655,
-0.03436071798205376,
0.023761648684740067,
-0.06847209483385086,
0.031093120574951172,
0.024556534364819527,
-0.007635978516191244,
-0.02176867052912712,
0.013064763508737087,
0.021283486858010292,
0.04109838977456093,
-0.0028043377678841352,
-0.06817526370286942,
-0.03359629586338997,
0.048712946474552155,
-0.031446557492017746,
0.009537448175251484,
0.006516135297715664,
-0.02927813120186329,
-0.052875012159347534,
-0.02167610451579094,
0.08840079605579376,
0.06769491732120514,
0.044684503227472305,
0.003163527697324753,
-0.016005294397473335,
0.05250801891088486,
0.08670061081647873,
-0.003765540197491646,
-0.007971052080392838,
0.06138567626476288,
-0.007343243341892958,
-0.0027242840733379126,
0.03164989873766899,
-0.010812359862029552,
-0.07478480041027069,
-0.045786913484334946,
0.023181423544883728,
0.04141129553318024,
-0.03741715848445892,
0.032467570155858994,
0.03929591551423073,
0.02166559547185898,
-0.020922599360346794,
0.005826672073453665,
-0.014862998388707638,
-0.01884113810956478,
-0.04078495129942894,
-0.017891477793455124,
0.03972340375185013,
-0.00305729266256094,
-0.08236042410135269,
-0.0896482840180397,
0.00950356014072895,
-0.050634898245334625,
0.009233416058123112,
0.01630355231463909,
0.0470576137304306,
-0.09658511728048325,
0.08939209580421448,
0.01718241721391678,
-0.03284481540322304,
0.03411862254142761,
0.024820901453495026,
-0.013550912030041218,
0.11700127273797989,
-0.0035492070019245148,
0.03642703965306282,
-0.013709062710404396,
0.05999826267361641,
0.006737418472766876,
-0.030909007415175438,
-0.07164400815963745,
0.0021825761068612337,
0.028488298878073692,
-0.008602558635175228,
0.01475386694073677,
0.013400270603597164,
0.04061614349484444,
-0.027418816462159157,
-0.043751250952482224,
-0.03300066664814949,
-0.022371985018253326,
0.0320439375936985,
-0.05977349355816841,
0.023197004571557045,
0.01923006772994995,
0.028221918269991875,
0.059599410742521286,
-0.007227487396448851,
-0.017644060775637627,
0.04734400287270546,
0.013226225040853024,
-0.009100858122110367,
-0.0469677671790123,
0.0026584493461996317,
-0.05579664185643196,
-0.09933110326528549,
0.017155103385448456,
0.03919719159603119,
-0.03961802273988724,
-0.036582693457603455,
-0.0420522578060627,
-0.007003290578722954,
-0.007228003349155188,
0.009234410710632801,
-0.04336650297045708,
0.03156554698944092,
0.07820800691843033,
-0.034477341920137405,
0.042935553938150406,
0.040695175528526306,
-0.027269864454865456,
-0.045185089111328125,
-0.01832539401948452,
-0.01783035136759281,
0.08405184000730515,
-0.015237830579280853,
-0.08766522258520126,
0.03381812199950218,
0.03226057440042496,
0.04823531582951546,
-0.006958336569368839,
0.005561819300055504,
-0.035263873636722565,
0.014622461050748825,
-0.016227301210165024,
0.03396577388048172,
0.05784550681710243,
-0.05647372081875801,
0.06070772558450699,
-0.053772587329149246,
0.010460151359438896,
0.057375408709049225,
-0.051885515451431274,
0.013000826351344585,
0.10279840230941772,
0.006030943710356951,
0.03687884658575058,
-0.09565265476703644,
-0.031610824167728424,
0.1134328544139862,
0.03702165186405182,
0.0901717022061348,
0.05439864844083786,
-0.009782497771084309,
0.015692206099629402,
-0.04361569508910179,
-0.04788943752646446,
0.0033442217390984297,
0.04289098456501961,
-0.033974532037973404,
0.039357759058475494,
0.009769275784492493,
-0.048002324998378754,
-0.12041109800338745,
-0.002353950869292021,
-0.08622071892023087,
-0.0011326170060783625,
0.019464028999209404,
-0.025839686393737793,
-0.0154451048001647,
-0.024102838709950447,
-0.03837046027183533,
0.13305772840976715,
0.00358794373460114,
-0.015745513141155243,
0.018791157752275467,
-0.035842593759298325,
0.053091175854206085,
0.04448480159044266,
0.0038608501199632883,
0.07241450250148773,
-0.08875252306461334,
-0.022085009142756462,
-0.050491612404584885,
0.026031045243144035,
0.0702492818236351,
-0.012918521650135517,
0.047863125801086426,
0.029836280271410942,
-0.007932079955935478,
0.027056165039539337,
-0.02867554873228073,
0.00569000793620944,
-0.020303580909967422,
-0.01607397571206093,
0.08025538921356201,
-0.036222606897354126,
-0.05449124798178673,
0.07086692005395889,
0.059505242854356766,
-0.06826651096343994,
-0.013207782059907913,
-0.09130240231752396,
0.07693479210138321,
-0.013446585275232792,
-0.03590131551027298,
0.05101487413048744,
0.0028845705091953278,
0.02640073001384735,
-0.02111983858048916,
-0.000702441786415875,
0.03479182347655296,
0.026832876726984978,
-0.009104454889893532,
0.005233528092503548,
-0.03454659879207611,
0.012320796959102154,
-0.04458963871002197,
0.0019012545235455036,
-0.02922435663640499,
0.021818507462739944,
0.017528440803289413,
0.008656696416437626,
-0.037263303995132446,
0.02002856507897377,
0.006322007160633802,
-0.0006832865183241665,
0.01696077547967434,
0.019238315522670746,
-0.023389259353280067,
-0.030402299016714096,
-0.028047068044543266,
0.0013131017331033945,
-0.02295280434191227,
0.02986338548362255,
0.028956487774848938,
0.06325624138116837,
0.004860332235693932,
-0.009690230712294579,
-0.01586996391415596,
-0.0032936015632003546,
0.03257327526807785,
0.0061500417068600655,
0.035762637853622437,
0.021847842261195183,
-0.020073192194104195,
0.03790033608675003,
-0.027921117842197418,
0.0037653185427188873,
0.01894856058061123,
0.00040498789167031646,
-0.0074029481038451195,
0.021385345607995987,
0.03588639572262764,
-0.0075448728166520596,
0.012653673067688942,
-0.03293305262923241,
0.03349319472908974,
0.008056455291807652,
0.046635087579488754,
-0.1283339112997055,
-0.024580299854278564,
0.03044038824737072,
0.03393511101603508,
0.019375471398234367,
-0.015896476805210114,
0.03306782245635986,
0.00038138675154186785,
-0.011446339078247547,
-0.007966812700033188,
0.014022491872310638,
0.040165357291698456,
0.012939008884131908,
-0.009643873199820518,
-0.03305863216519356,
-0.0021194631699472666,
0.06849335134029388,
-0.001216178061440587,
0.015187076292932034,
-0.001489011337980628,
-0.03514507785439491,
0.07128515094518661,
0.0022618784569203854,
0.012224524281919003,
-0.03960585221648216,
0.049843207001686096,
-0.0009288982837460935,
0.03084533102810383,
0.015034050680696964,
-0.025263823568820953,
-0.04288795217871666,
-0.017769858241081238,
-0.01144730020314455,
0.047277890145778656,
-0.043958403170108795,
0.008574217557907104,
-0.010821983218193054,
0.011486971750855446,
0.021306484937667847,
0.04517297446727753,
0.00234592380002141,
-0.01569482311606407,
0.007898351177573204,
-0.0034433910623192787,
0.005935939960181713,
0.022132765501737595,
0.013491892255842686,
0.01159735582768917,
0.03535674512386322,
-0.05307760089635849,
-0.032513558864593506,
0.01057929266244173,
0.0028797201812267303,
0.07323364913463593,
-0.0037944591604173183,
0.009402886033058167,
0.002125109313055873,
0.02951371856033802,
0.053537461906671524,
-0.013580349273979664,
-0.023758122697472572,
0.01866399683058262,
0.02367570623755455,
0.003620639443397522,
-0.020225834101438522,
0.055487412959337234,
0.019108524546027184,
0.02530299313366413,
-0.029100488871335983,
0.019560864195227623,
-0.0157563928514719,
0.06114097684621811,
-0.014518911950290203,
0.01336226798593998,
-0.012865075841546059,
0.00930548645555973,
-0.022533558309078217,
-0.012897086329758167,
0.06725606322288513,
-0.0014825580874457955,
-0.018869511783123016,
-0.02516605332493782,
0.0023785692173987627,
-0.05493525415658951,
0.02756592072546482,
0.015008954331278801,
0.023282291367650032,
0.0037120229098945856,
-0.029833689332008362,
0.0589369498193264,
0.004064619075506926,
-0.008104845881462097,
0.0031453140545636415,
-0.004237805027514696,
0.024234112352132797,
0.014054812490940094,
0.05793056637048721,
-0.02114221639931202,
0.02088208869099617,
0.02269868552684784,
0.014241920784115791,
-0.0322565883398056,
-0.005557715892791748,
0.0074958899058401585,
0.01190160308033228,
0.018157148733735085,
-0.024415040388703346,
-0.04968748241662979,
0.024115929380059242,
-0.041757840663194656,
0.00516846776008606,
-0.034231796860694885,
0.0038663053419440985,
-0.007732299622148275,
0.020426182076334953,
0.005555085372179747,
-0.012157324701547623,
-0.0171757061034441,
-0.010618033818900585,
0.0062667205929756165,
-0.03467583656311035,
0.008251813240349293,
0.0023270258679986,
-0.01278010755777359,
0.017423799261450768,
0.0006097471923567355,
0.010263714008033276,
0.033497706055641174,
-0.004746916703879833,
0.012593061663210392,
-0.014893893152475357,
-0.04372161626815796,
0.01298919040709734,
0.03620145469903946,
-0.00019447054364718497,
-0.00794338621199131,
-0.0018532733665779233,
0.023948604241013527,
-0.023780759423971176,
-0.04369130730628967,
-0.009095143526792526,
-0.011219649575650692,
0.027321748435497284,
-0.005212476477026939,
0.0315265953540802,
-0.01758074015378952,
-0.0407843142747879,
-0.010186511091887951,
-0.0003071011451538652,
0.02544873021543026,
0.030653364956378937,
-0.043045345693826675,
-0.03708077222108841,
-0.0009936479618772864,
0.006875686813145876,
-0.008548378944396973,
0.012799113988876343,
0.0038237932603806257,
-0.02885100431740284,
0.06632032990455627,
0.025501543655991554,
-0.005815868265926838,
-0.0340493842959404,
0.01615113578736782,
0.008318624459207058,
-0.0034072776325047016,
0.002131628105416894,
-0.05642594397068024,
-0.002496561734005809,
0.02906389907002449,
0.004883672576397657,
-0.04328841343522072,
0.0035952525213360786,
-0.028738191351294518,
0.01128480676561594,
0.007056870963424444,
0.03329063951969147,
-0.0017637343844398856,
-0.0024743101093918085,
0.03585107624530792,
-0.036616310477256775,
0.019905729219317436,
0.007632848806679249,
0.0008521447307430208,
-0.0030253143049776554,
-0.005809828173369169,
0.07187017798423767,
0.029036998748779297,
0.01940036565065384,
0.02430013380944729,
-0.0038968974258750677,
-0.0013699416304007173,
-0.004540442023426294,
-0.022275155410170555,
0.007836172357201576,
0.01603632979094982,
0.015231169760227203,
0.0012491615489125252,
-0.016144055873155594,
0.007643756456673145,
-0.007940910756587982,
0.06083909049630165,
-0.005407748278230429,
-0.001937134307809174,
0.04992400482296944,
0.07295249402523041,
0.004384985659271479,
-0.0012628495460376143,
0.01573687233030796,
-0.03817915543913841,
-0.03273388743400574,
0.0007190904580056667,
-0.025533024221658707,
-0.029718374833464622,
-0.02184641733765602,
-0.03503453731536865,
-0.035871487110853195,
0.02107497677206993,
0.0004445156955625862,
0.0322435237467289,
-0.008013314567506313,
-0.0011127572506666183,
-0.03354752063751221,
0.02192116715013981,
0.02220628783106804,
-0.02638310007750988,
0.022031251341104507,
0.021559612825512886,
0.006278908345848322,
0.04957849159836769,
0.028239689767360687,
0.002491947263479233,
-0.011494707316160202,
-0.0017063223058357835,
0.02575785107910633,
-0.030150802806019783,
-0.02767256647348404,
0.04321669787168503,
0.013723477721214294,
0.01023798156529665,
0.025945095345377922,
-0.01832609623670578,
-0.031119927763938904,
0.001380448811687529,
-0.05410970002412796,
0.021159203723073006,
0.08708979934453964,
-0.004167925100773573,
0.010419747792184353,
-0.006165042519569397,
0.013085933402180672,
0.00897911936044693,
0.021601766347885132,
-0.019113115966320038,
0.007932260632514954,
0.043776560574769974,
0.003742647124454379,
-0.033148493617773056,
0.030891146510839462,
-0.023716559633612633,
0.012829371728003025,
-0.02500046230852604,
0.01276298239827156,
0.03761233016848564,
-0.034012824296951294,
0.03837211802601814,
0.007331650238484144,
-0.06089773401618004,
0.025623738765716553,
0.008423532359302044,
0.043002981692552567,
-0.0030481633730232716,
-0.030229194089770317,
0.00426048319786787,
-0.034121546894311905,
-0.017935683950781822,
0.04703252390027046,
0.04321328178048134,
-0.0022296642418950796,
0.014310427010059357,
-0.002922789426520467,
0.020514732226729393,
0.0405966080725193,
-0.00482151610776782,
-0.0013486125972121954,
0.04419267177581787,
0.04867386445403099,
-0.010243303142488003,
0.01584460400044918,
0.03223198652267456,
-0.004759273026138544,
-0.012128747068345547,
-0.02608501724898815,
-0.01560994703322649,
-0.045491911470890045,
0.029679620638489723,
-0.009739150293171406,
-0.030647391453385353,
0.05373435840010643,
-0.059929296374320984,
0.01891852729022503,
0.03446439653635025,
0.03241608291864395,
0.01458764262497425,
0.019326701760292053,
0.042997151613235474,
0.01858450472354889,
0.0042118895798921585,
0.018626095727086067,
-0.04978188872337341,
0.016582917422056198,
0.04554832726716995,
-0.0014016588684171438,
-0.002276922343298793,
-0.01278957724571228,
-0.023232534527778625,
0.03651004657149315,
-0.0027962701860815287,
0.010059618391096592,
0.014137371443212032,
0.0054355524480342865,
0.0019414904527366161,
0.015305737964808941,
-0.01451408863067627,
-0.024544114246964455,
-0.010761043056845665,
-0.024051660671830177,
-0.009879573248326778,
-0.04174431040883064,
-0.020331135019659996,
-0.012592526152729988,
0.038871873170137405,
0.006155780516564846,
-0.01723635196685791,
-0.029146676883101463,
0.004129880107939243,
0.013390987180173397,
0.014656482264399529,
-0.01083013229072094,
-0.03804158791899681,
-0.0170050747692585,
-0.0041632456704974174,
0.0000862090673763305,
0.02434709668159485,
-0.0224476158618927,
0.012099993415176868,
0.020538223907351494,
0.02011016756296158,
-0.03207480534911156,
0.005908562336117029,
0.043236348778009415,
-0.021182458847761154,
-0.03893516957759857,
0.024857455864548683,
-0.018125737085938454,
-0.020714379847049713,
-0.022138772532343864,
-0.0285327211022377,
0.006326633505523205,
-0.016272997483611107,
0.002550255972892046,
0.03233039379119873,
0.024535881355404854,
-0.007547793909907341,
-0.01737905852496624,
-0.014107117429375648,
-0.02421777881681919,
0.02527017332613468,
0.015789315104484558,
0.03863395005464554,
-0.02909676358103752,
-0.014468497596681118,
0.05997933819890022,
0.019349871203303337,
-0.05302562564611435,
0.02253011241555214,
0.0068996562622487545,
-0.04263460636138916,
-0.04136146605014801,
-0.020769678056240082,
0.06769338250160217,
-0.004967064131051302,
0.01404158491641283,
0.06453245878219604,
0.04725159332156181,
-0.001795572112314403,
-0.02737688086926937,
0.026011591777205467,
0.001975428545847535,
0.02914181537926197,
-0.01928514800965786,
-0.06147812306880951,
-0.022312309592962265,
0.003798817051574588,
0.0002887006849050522,
-0.01082629431039095,
-0.028932882472872734,
-0.05959644913673401,
-0.007378942798823118,
0.03913067653775215,
-0.04038350284099579,
0.040026161819696426,
0.05190234258770943,
0.013520226813852787,
0.0013409280218183994,
0.0019562533125281334,
-0.030411705374717712,
-0.029774826020002365,
-0.0015749877784401178,
0.01609600894153118,
0.04373621940612793,
-0.000469710910692811,
-0.019906627014279366,
-0.010584027506411076,
-0.005747471936047077,
-0.041440803557634354,
-0.0900740697979927,
-0.021244211122393608,
0.022538453340530396,
-0.038230929523706436,
-0.03082684613764286,
0.0021657035686075687,
-0.005654104519635439,
0.016237521544098854,
0.04907745122909546,
-0.024537572637200356,
-0.03582644462585449,
0.016703268513083458,
0.010377293452620506,
-0.028537876904010773,
-0.005350347608327866,
-0.03669815510511398,
0.007498114835470915,
0.04921148344874382,
0.02650679647922516,
-0.013144002296030521,
0.020020460709929466,
-0.041118327528238297,
0.03738928586244583,
0.010634485632181168,
-0.019524676725268364,
-0.02186468616127968,
-0.003774739569053054,
-0.033204179257154465,
0.007278368342667818,
-0.06347499787807465,
0.02533208392560482,
0.035066910088062286,
-0.010012451559305191,
-0.03313862904906273,
-0.0025815870612859726,
0.02666447125375271,
0.009790366515517235,
0.01590881310403347,
-0.002864687005057931,
0.07358865439891815,
0.04217308759689331,
-0.02327844686806202,
-0.002415963215753436,
-0.012237529270350933
] |
Introducing Würstchen: Fast Diffusion for Image Generation | dome272 | September 13, 2023 | wuerstchen | diffusion, diffusers, text-to-image | https://huggingface.co/blog/wuerstchen | Optimisation Technique 2: Torch Compile If you're on the hunt for an extra performance boost, you can make use of torch.compile. It is best to apply it to both the prior's and decoder's main model for the biggest increase in performance. python pipeline.prior_prior = torch.compile(pipeline.prior_prior , mode="reduce-overhead", fullgraph=True) pipeline.decoder = torch.compile(pipeline.decoder, mode="reduce-overhead", fullgraph=True) Bear in mind that the initial inference step will take a long time (up to 2 minutes) while the models are being compiled. After that you can just normally run inference: python images = pipeline(caption, height=1024, width=1536, prior_timesteps=DEFAULT_STAGE_C_TIMESTEPS, prior_guidance_scale=4.0, num_images_per_prompt=4).images And the good news is that this compilation is a one-time execution. Post that, you're set to experience faster inferences consistently for the same image resolutions. The initial time investment in compilation is quickly offset by the subsequent speed benefits. For a deeper dive into torch.compile and its nuances, check out the official documentation. | [
0.024754507467150688,
0.039025694131851196,
-0.0068689268082380295,
0.025488674640655518,
0.031494952738285065,
0.08048798888921738,
0.03747718036174774,
-0.015352621674537659,
-0.039028991013765335,
-0.000812886341009289,
-0.03590961545705795,
0.046712663024663925,
-0.04123825579881668,
0.05631367489695549,
0.08755936473608017,
-0.0973205715417862,
0.05713134631514549,
-0.020511886104941368,
-0.03889099508523941,
0.07120798528194427,
0.03346779942512512,
-0.05848512426018715,
0.034414660185575485,
-0.023035572841763496,
-0.06189049780368805,
-0.08657635748386383,
-0.023762136697769165,
-0.0003165045054629445,
-0.06362251192331314,
0.021250411868095398,
-0.13902294635772705,
-0.0510469488799572,
0.014189198613166809,
-0.020955754444003105,
0.0022725616581737995,
0.011502398177981377,
-0.08819523453712463,
0.015799758955836296,
0.045072659850120544,
-0.009095483459532261,
0.016581259667873383,
0.016109418123960495,
-0.06472105532884598,
0.011499418877065182,
0.0008016461506485939,
-0.0002293318248121068,
-0.1298750787973404,
0.0893499106168747,
0.019718030467629433,
-0.03550185635685921,
-0.071842260658741,
0.07463550567626953,
-0.041640691459178925,
0.04446589574217796,
0.0008540075505152345,
0.008260833099484444,
0.006263339892029762,
-0.004752563312649727,
-0.0009567473316565156,
0.02443770132958889,
0.034549009054899216,
0.025021230801939964,
0.03586939349770546,
0.04753201827406883,
0.005646399687975645,
0.03191929683089256,
-0.01891409046947956,
0.05601484328508377,
-0.07463104277849197,
-0.029871312901377678,
0.0034980918280780315,
-0.0475277416408062,
-0.021386081352829933,
-0.0029994898941367865,
0.007954725995659828,
-0.009258905425667763,
-0.0040694354102015495,
-0.03379802778363228,
0.03059973753988743,
0.016617491841316223,
-0.005651802755892277,
0.016985705122351646,
0.012782352976500988,
0.043646495789289474,
0.0413680262863636,
0.09342269599437714,
0.01670692302286625,
-0.05664786696434021,
-0.05735879763960838,
0.041549865156412125,
-0.014545121230185032,
-0.09216754138469696,
0.0009534734999760985,
-0.005431249272078276,
-0.015402326360344887,
0.022124290466308594,
-0.006906759925186634,
0.05019064620137215,
-0.009546207264065742,
-0.059092696756124496,
0.027436351403594017,
-0.0910242423415184,
-0.000439729104982689,
-0.02430352382361889,
-0.06447193771600723,
0.04555713012814522,
-0.024928536266088486,
-0.07550875842571259,
-0.047731250524520874,
0.025029391050338745,
-0.007381643634289503,
0.08733058720827103,
-0.05188700184226036,
0.020714381709694862,
-0.050924886018037796,
-0.07432853430509567,
-0.008045334368944168,
0.00022142528905533254,
-0.04448196291923523,
-0.014365248382091522,
-0.027082152664661407,
0.09860731661319733,
0.11049734801054001,
-0.017657678574323654,
-0.02115672454237938,
0.07684513181447983,
0.04682447761297226,
0.09272114187479019,
-0.012209691107273102,
-0.03393329679965973,
0.03912752866744995,
-0.03306267410516739,
0.06475267559289932,
-0.002701693680137396,
0.0078871576115489,
-0.0721973106265068,
-0.023544233292341232,
-0.0650617852807045,
-0.04375866428017616,
-0.00001210132450069068,
-0.03268536180257797,
0.014218474738299847,
0.00020199276332277805,
0.036690548062324524,
0.060429077595472336,
-0.008106211200356483,
-0.0413266159594059,
0.04389480501413345,
0.008083426393568516,
0.05092722177505493,
-0.08803200721740723,
0.05069182068109512,
-0.05030586197972298,
-0.022988498210906982,
-0.06057398021221161,
0.11712202429771423,
0.032318223267793655,
-0.07071293145418167,
-0.08751420676708221,
-0.05306323990225792,
0.022478023543953896,
-0.04785210266709328,
0.014531867578625679,
-0.03909478709101677,
0.0195382721722126,
-0.03706853836774826,
0.02070092037320137,
-0.012291458435356617,
0.041079986840486526,
0.03693041950464249,
-0.02258811704814434,
0.028227895498275757,
0.06490126252174377,
-0.021306876093149185,
-0.03839026764035225,
0.031852975487709045,
0.004903380759060383,
0.08007270097732544,
-0.03949197381734848,
-0.01951494812965393,
-0.040860261768102646,
0.0617288202047348,
-0.07603689283132553,
0.02031743712723255,
0.05681898444890976,
-0.0964091345667839,
0.053455110639333725,
-0.10291347652673721,
-0.02997490204870701,
0.00245857541449368,
-0.07265272736549377,
-0.004463940858840942,
0.04290284961462021,
-0.04255593568086624,
0.04773698374629021,
-0.029996730387210846,
-0.013862409628927708,
0.06417559832334518,
0.038306791335344315,
-0.0051925089210271835,
0.03634599596261978,
-0.00383269926533103,
0.04016728326678276,
0.007995239458978176,
0.01800205372273922,
-0.0021440719719976187,
0.004254951607435942,
-0.020239578559994698,
0.058973491191864014,
0.00181970268022269,
0.0043929219245910645,
-0.12612147629261017,
0.031580280512571335,
-0.04655212163925171,
0.03312428295612335,
-0.00457178708165884,
-0.008668040856719017,
-0.005689730402082205,
-0.029329892247915268,
-0.03439861163496971,
0.14535900950431824,
-0.017625976353883743,
-0.03879721090197563,
-0.03377323970198631,
-0.018105097115039825,
0.005508432164788246,
0.06384237110614777,
0.024559156969189644,
0.04646219313144684,
-0.08764661848545074,
-0.037462830543518066,
-0.0687747597694397,
-0.013613817282021046,
0.07604917883872986,
-0.01214213203638792,
-0.0542098768055439,
-0.01073226984590292,
0.050125837326049805,
0.025499045848846436,
-0.05279029905796051,
-0.006867913994938135,
-0.016483303159475327,
-0.00037278502713888884,
0.000489110010676086,
0.03686708211898804,
-0.010096421465277672,
0.03869449719786644,
-0.04844418913125992,
0.00688084727153182,
-0.001993038924410939,
-0.00044581692782230675,
0.03466732054948807,
-0.019305331632494926,
-0.028594428673386574,
0.07224349677562714,
0.0777776688337326,
-0.018484730273485184,
-0.020785145461559296,
0.011115354485809803,
0.04189571738243103,
0.03372907266020775,
0.006022871471941471,
-0.033259496092796326,
-0.029291139915585518,
-0.012761576101183891,
-0.05196584016084671,
-0.010967507027089596,
0.000535969331394881,
0.04078782722353935,
-0.0005501337582245469,
0.0023285550996661186,
-0.00845341570675373,
0.018534114584326744,
0.005696393083781004,
0.051118720322847366,
0.02708449959754944,
0.0315856970846653,
-0.040826499462127686,
0.0046974727883934975,
-0.058975815773010254,
-0.0355071946978569,
-0.022716665640473366,
0.01354456227272749,
0.02647188864648342,
-0.006215236149728298,
0.010200455784797668,
-0.03161226585507393,
-0.023686539381742477,
-0.04881303012371063,
0.062143728137016296,
0.014006678014993668,
0.0362979993224144,
0.024423740804195404,
-0.06026593595743179,
-0.006189314182847738,
0.019464677199721336,
0.00022861131583340466,
-0.029581686481833458,
0.01903298683464527,
0.01858675293624401,
-0.06254817545413971,
-0.03513331338763237,
0.0050494554452598095,
-0.04262304678559303,
-0.03832980617880821,
0.03212384134531021,
0.033692367374897,
0.03179816156625748,
-0.09250666201114655,
-0.0009943295735865831,
0.01679566130042076,
-0.021326225250959396,
-0.012352407909929752,
-0.034514814615249634,
0.054033566266298294,
-0.005436659790575504,
-0.00724326865747571,
0.007876035757362843,
0.008505833335220814,
-0.009611726738512516,
0.008184736594557762,
0.037062354385852814,
-0.011610273271799088,
-0.004197390284389257,
-0.0018703811801970005,
0.007445384748280048,
0.02394038252532482,
0.004659693688154221,
-0.012055836617946625,
0.04501677677035332,
-0.005447641480714083,
0.009403650648891926,
-0.04246420040726662,
0.012662259861826897,
0.05475179851055145,
0.007439016830176115,
0.012747406028211117,
-0.02304789051413536,
-0.02795271761715412,
-0.034138984978199005,
0.027224168181419373,
0.0141907325014472,
-0.010094691067934036,
0.029184632003307343,
-0.03599672392010689,
0.013831283897161484,
0.010264617390930653,
0.01273579616099596,
-0.02137438766658306,
0.030691886320710182,
0.0008928837487474084,
0.017375733703374863,
0.027473408728837967,
-0.021036643534898758,
0.03617386892437935,
-0.03208782523870468,
0.03326985985040665,
-0.04604319855570793,
-0.04791764169931412,
-0.010338395833969116,
0.0047581735998392105,
0.01848396100103855,
0.05500229448080063,
-0.018017863854765892,
-0.0007621812401339412,
0.02925932966172695,
0.04452934116125107,
-0.009808484464883804,
-0.026436179876327515,
0.04129933938384056,
0.0297835823148489,
0.005202352534979582,
-0.0015657885232940316,
0.008703112602233887,
0.0178198404610157,
-0.00750263687223196,
0.016057563945651054,
0.031178612262010574,
-0.013219021260738373,
0.05568191781640053,
-0.03389601409435272,
0.004292720463126898,
-0.04578559845685959,
0.057760030031204224,
-0.02434423565864563,
-0.009421728551387787,
0.04569484665989876,
0.03471270203590393,
-0.0008663406479172409,
-0.03470886871218681,
-0.028325702995061874,
-0.025981655344367027,
-0.0021351634059101343,
0.032406795769929886,
0.007443754933774471,
-0.07733809947967529,
-0.0012022986775264144,
-0.03365270420908928,
-0.0009683595853857696,
0.008885146118700504,
0.017280830070376396,
0.00009412081999471411,
-0.03208203241229057,
-0.01954606920480728,
0.05193208530545235,
0.023184163495898247,
-0.007027012296020985,
-0.013580781407654285,
0.016726702451705933,
-0.04132121428847313,
-0.022683121263980865,
0.03058723732829094,
-0.025823133066296577,
0.03141967952251434,
-0.044909823685884476,
-0.020158609375357628,
0.03684770315885544,
-0.01365114375948906,
-0.0061770654283463955,
-0.02286570705473423,
0.003075425745919347,
0.0001343556505162269,
0.022087566554546356,
-0.0022364617325365543,
0.02890424057841301,
-0.01473319623619318,
-0.023864438757300377,
0.02626189775764942,
-0.04744226112961769,
0.05695135518908501,
-0.04347323626279831,
-0.03573005273938179,
0.047608450055122375,
0.00042298712651245296,
0.027557633817195892,
0.009745589457452297,
-0.0020125003065913916,
-0.040806498378515244,
-0.0723821297287941,
0.015088807791471481,
0.04633393883705139,
0.00032234142418019474,
0.022094061598181725,
-0.03047831915318966,
-0.024533521384000778,
-0.013935308903455734,
0.011167239397764206,
-0.01536096353083849,
-0.037273623049259186,
0.01053739432245493,
0.021106546744704247,
-0.018177706748247147,
0.024551168084144592,
0.004641110077500343,
-0.04838627576828003,
0.000290030351607129,
-0.05386575683951378,
0.06115244701504707,
0.03370940685272217,
0.023907160386443138,
-0.035776879638433456,
-0.016823673620820045,
0.03469011187553406,
-0.0043482123874127865,
-0.01781279779970646,
0.007651873864233494,
0.05831001326441765,
0.027669833973050117,
-0.013394844718277454,
0.025776181370019913,
-0.002950294641777873,
0.005067738704383373,
0.014646066352725029,
-0.0012426389148458838,
-0.020490391179919243,
-0.04056520387530327,
0.012384001165628433,
0.005525365471839905,
-0.06027704104781151,
0.024483146145939827,
-0.0011263479245826602,
-0.006381634622812271,
0.01785845123231411,
0.0024336662609130144,
0.010681786574423313,
0.002301786094903946,
0.016011899337172508,
-0.026412246748805046,
-0.010012530721724033,
-0.021507728844881058,
0.035520751029253006,
0.03164265677332878,
-0.018550431355834007,
0.04553775116801262,
-0.01666056178510189,
0.029361724853515625,
0.003867959836497903,
0.018346194177865982,
0.02947130799293518,
-0.02906719222664833,
0.020615940913558006,
-0.019636599346995354,
0.04987574368715286,
-0.020322922617197037,
-0.03144294396042824,
0.0027262340299785137,
-0.008369828574359417,
-0.011355000548064709,
0.018687214702367783,
0.023044873028993607,
-0.00368326879106462,
-0.0527796745300293,
-0.004882874898612499,
0.01555855292826891,
-0.0035136740189045668,
-0.004350564442574978,
0.03715166449546814,
-0.0317617692053318,
0.028787922114133835,
-0.019212299957871437,
-0.009920896962285042,
0.029574399814009666,
0.01746472157537937,
-0.008249282836914062,
0.0001468737464165315,
0.03191450238227844,
0.02819099649786949,
0.014956744387745857,
-0.014983205124735832,
-0.04398282989859581,
-0.006559364032000303,
0.021349675953388214,
0.03868040814995766,
-0.04111091420054436,
-0.04893908649682999,
0.0493747778236866,
-0.0288247000426054,
0.045053672045469284,
-0.004883474670350552,
-0.019671140238642693,
-0.03632252663373947,
0.058673083782196045,
0.05414446070790291,
0.005220081657171249,
-0.01350453495979309,
0.04276437684893608,
-0.00041046683327294886,
-0.013163140043616295,
-0.026339001953601837,
-0.02165948785841465,
-0.01919923722743988,
0.04380599781870842,
0.0036565617192536592,
0.00598467281088233,
0.04116450250148773,
-0.06383728981018066,
-0.00723314331844449,
0.01424200739711523,
0.039545319974422455,
-0.002248820150271058,
0.0017521517584100366,
-0.0528276227414608,
-0.02843794785439968,
-0.018623581156134605,
0.030086802318692207,
0.0008854996412992477,
0.007324207574129105,
0.03713563084602356,
0.06634577363729477,
-0.040419433265924454,
0.010046987794339657,
0.033996760845184326,
-0.045850738883018494,
0.05704711750149727,
0.015627417713403702,
-0.04813247546553612,
0.0011546239256858826,
0.020871125161647797,
0.022408004850149155,
0.026460029184818268,
0.022525522857904434,
0.0029108726885169744,
-0.011882627382874489,
-0.010212108492851257,
-0.020345870405435562,
0.06962813436985016,
-0.0025755534879863262,
0.02459116466343403,
0.011963375844061375,
0.04084448516368866,
0.038707293570041656,
-0.023999029770493507,
-0.003123442642390728,
0.005866858176887035,
0.09271145612001419,
0.008248157799243927,
0.011760260909795761,
0.02742524817585945,
-0.005993783939629793,
0.012709125876426697,
-0.04950033128261566,
0.008660840801894665,
-0.011078571900725365,
-0.008796357549726963,
0.014733106829226017,
0.026526061818003654,
-0.015159289352595806,
-0.054867327213287354,
0.057469483464956284,
0.036138903349637985,
0.012938449159264565,
0.014439686201512814,
0.004061399959027767,
0.03443515673279762,
-0.0029942868277430534,
-0.01624676212668419,
0.0325128473341465,
0.03903699293732643,
-0.038861535489559174,
0.040831826627254486,
0.015341445803642273,
0.019263597205281258,
0.028834322467446327,
-0.010362117551267147,
0.030503690242767334,
-0.01335170865058899,
0.010348605923354626,
-0.002608028007671237,
0.022403212264180183,
-0.01579735055565834,
-0.006830759812146425,
0.0006267319549806416,
-0.05640845373272896,
0.023441024124622345,
-0.03756289184093475,
-0.00760045787319541,
-0.027822794392704964,
-0.003592867637053132,
-0.02124360390007496,
0.010664737783372402,
-0.006931518670171499,
-0.0027416839729994535,
-0.005038167349994183,
0.024928396567702293,
0.03001672588288784,
0.011015310883522034,
0.009035807102918625,
0.010830414481461048,
-0.032266225665807724,
0.014383901841938496,
-0.03886743262410164,
0.03166183829307556,
-0.04807509109377861,
0.0024581188336014748,
0.025008846074342728,
-0.017001815140247345,
-0.010371924377977848,
0.024128006771206856,
0.014132763259112835,
0.007178733125329018,
-0.0325545035302639,
0.03828740864992142,
0.005428331438452005,
-0.04724401235580444,
0.042501334100961685,
0.008027562871575356,
-0.004301600623875856,
0.0301853995770216,
0.009004825726151466,
0.028424056246876717,
-0.011755592189729214,
-0.014558515511453152,
-0.05638047307729721,
-0.010251334868371487,
-0.02103310264647007,
0.01616455800831318,
0.03779801353812218,
0.01444898173213005,
0.004513363819569349,
0.026903942227363586,
-0.024114858359098434,
0.0071512809954583645,
-0.0003981103072874248,
0.012826644815504551,
0.038781218230724335,
0.013606395572423935,
-0.02709617279469967,
-0.01710047759115696,
0.06989899277687073,
0.024433476850390434,
0.02501838468015194,
0.03266552463173866,
-0.009360450319945812,
-0.0038999305106699467,
-0.0287270937114954,
0.009129083715379238,
-0.03622864559292793,
0.007425993215292692,
-0.025457685813307762,
0.01729416847229004,
-0.010732942260801792,
0.02656981162726879,
-0.044494785368442535,
0.025450967252254486,
-0.03137485682964325,
-0.018081365153193474,
-0.042072344571352005,
0.04155396670103073,
-0.008834494277834892,
-0.0053849248215556145,
0.06110231205821037,
0.042718105018138885,
0.038118522614240646,
0.018333468586206436,
-0.023837827146053314,
-0.0013327185297384858,
-0.03926008567214012,
0.045621100813150406,
0.026830170303583145,
-0.00887653511017561,
0.012866032309830189,
-0.038895729929208755,
0.0004277767729945481,
0.03841619938611984,
-0.04544425010681152,
-0.0003931743267457932,
0.0025722456630319357,
-0.021214256063103676,
-0.05046462640166283,
0.019527001306414604,
0.038158006966114044,
0.030289411544799805,
0.010415528900921345,
-0.011275197379291058,
-0.027156461030244827,
0.02057352475821972,
0.01995193585753441,
-0.04625745117664337,
-0.007753158453851938,
0.0134788379073143,
-0.0029258301947265863,
0.016971345990896225,
0.006802225485444069,
0.04539196193218231,
0.01228178758174181,
0.013829801231622696,
-0.004748404026031494,
-0.01808226853609085,
-0.0492885559797287,
-0.05511533468961716,
-0.015634572133421898,
0.06671620905399323,
-0.0013644956052303314,
-0.035020068287849426,
0.006051282398402691,
0.009646265767514706,
0.006126208230853081,
0.027755947783589363,
0.004894864745438099,
0.009595569223165512,
0.008162547834217548,
0.009553110226988792,
-0.018074968829751015,
0.04668628051877022,
0.08360301703214645,
0.008910803124308586,
0.016951559111475945,
-0.018052268773317337
] |
Introducing Würstchen: Fast Diffusion for Image Generation | dome272 | September 13, 2023 | wuerstchen | diffusion, diffusers, text-to-image | https://huggingface.co/blog/wuerstchen | Why another text-to-image model? Well, this one is pretty fast and efficient. Würstchen’s biggest benefits come from the fact that it can generate images much faster than models like Stable Diffusion XL, while using a lot less memory! So for all of us who don’t have A100s lying around, this will come in handy. Here is a comparison with SDXL over different batch sizes: In addition to that, another greatly significant benefit of Würstchen comes with the reduced training costs. Würstchen v1, which works at 512x512, required only 9,000 GPU hours of training. Comparing this to the 150,000 GPU hours spent on Stable Diffusion 1.4 suggests that this 16x reduction in cost not only benefits researchers when conducting new experiments, but it also opens the door for more organizations to train such models. Würstchen v2 used 24,602 GPU hours. With resolutions going up to 1536, this is still 6x cheaper than SD1.4, which was only trained at 512x512. You can also find a detailed explanation video here: | [
-0.019347058609128,
0.005514487624168396,
0.009117827750742435,
0.04737044498324394,
0.006067700684070587,
0.013696698471903801,
-0.04746823012828827,
0.016265273094177246,
0.01212182454764843,
-0.108785480260849,
-0.06524218618869781,
0.008712354116141796,
0.001924217795021832,
-0.02873491868376732,
-0.016393013298511505,
-0.05358123779296875,
0.03293849155306816,
0.015111368149518967,
-0.0034415966365486383,
-0.0015083805192261934,
-0.023660387843847275,
-0.03906809166073799,
0.013185353018343449,
0.01758875697851181,
-0.05761273577809334,
-0.02141471579670906,
0.01885225623846054,
-0.05064414069056511,
-0.003284291597083211,
-0.04911245033144951,
-0.10008732229471207,
0.006107701454311609,
-0.0013735200045630336,
-0.03556375950574875,
0.05188922584056854,
-0.05072604864835739,
-0.03557579591870308,
0.06503757834434509,
-0.04565289989113808,
-0.03757445514202118,
-0.0059186178259551525,
0.021829038858413696,
-0.02923012524843216,
0.029078328981995583,
-0.04094388708472252,
-0.007932918146252632,
-0.11950913071632385,
0.07783900201320648,
-0.08515453338623047,
-0.022038061171770096,
-0.04956182837486267,
-0.016097785905003548,
-0.03482193127274513,
0.014155867509543896,
0.03040720894932747,
0.055962882936000824,
-0.017610695213079453,
-0.013833342120051384,
0.03820442035794258,
-0.015430892817676067,
0.03163595497608185,
-0.05309278517961502,
-0.037926800549030304,
0.08589909970760345,
-0.020314812660217285,
-0.02644263207912445,
0.002527653006836772,
-0.033971283584833145,
-0.03051517903804779,
-0.03663963824510574,
0.017937390133738518,
-0.06202903762459755,
-0.02912924438714981,
0.01445495430380106,
0.0010065718088299036,
-0.039225805550813675,
-0.031213736161589622,
0.0033545265905559063,
0.007198682054877281,
-0.031714726239442825,
0.021486805751919746,
0.05460958182811737,
0.10134275257587433,
-0.0017547972965985537,
-0.03039943426847458,
0.013435800559818745,
0.07315167784690857,
-0.04546051472425461,
-0.07738243788480759,
-0.021102556958794594,
0.03570834919810295,
-0.06862025707960129,
0.013745313510298729,
-0.00438232347369194,
0.0482763908803463,
-0.008489535190165043,
-0.0867001861333847,
0.08815020322799683,
0.02645047754049301,
0.011656389571726322,
0.04136728122830391,
-0.03959963470697403,
0.02028418891131878,
-0.08024988323450089,
-0.08769866824150085,
0.05490030720829964,
-0.0729823112487793,
-0.08211129903793335,
0.01839493215084076,
0.008736756630241871,
0.012409249320626259,
0.04801877215504646,
-0.03447591885924339,
-0.00336089008487761,
-0.006160212215036154,
0.03437460958957672,
-0.0025714223738759756,
0.004913629032671452,
-0.00836634449660778,
0.039064228534698486,
-0.0028319512493908405,
0.0375371128320694,
0.08848486840724945,
-0.024964241310954094,
-0.07383282482624054,
0.06719166785478592,
-0.0064008887857198715,
0.02719934843480587,
-0.04156902804970741,
0.011537873186171055,
0.05544588714838028,
-0.020948011428117752,
0.12798431515693665,
-0.020337751135230064,
0.09660226851701736,
-0.08772938698530197,
-0.02663847990334034,
-0.04166537895798683,
-0.053042858839035034,
-0.04057517275214195,
-0.010089707560837269,
0.01467218529433012,
0.025703538209199905,
0.0008763810619711876,
-0.005030447617173195,
-0.029992006719112396,
-0.0133507726714015,
-0.059681374579668045,
-0.03011508099734783,
-0.03077046573162079,
-0.12122249603271484,
0.014633041806519032,
-0.052754055708646774,
-0.13703230023384094,
0.04613699018955231,
0.08568914234638214,
-0.007224224507808685,
-0.040781911462545395,
-0.05088590085506439,
0.028338586911559105,
-0.03539938107132912,
-0.04145517572760582,
-0.012271622195839882,
0.00865026656538248,
0.02864285558462143,
-0.09112760424613953,
0.03431694954633713,
0.031092455610632896,
-0.0012171361595392227,
-0.03615307807922363,
0.049190979450941086,
-0.034821685403585434,
0.03414930775761604,
0.020195359364151955,
0.04041559249162674,
0.05899552255868912,
0.03479816019535065,
0.03949887678027153,
0.006142487749457359,
-0.030195102095603943,
-0.02685788832604885,
0.0256623774766922,
-0.02859804593026638,
0.01629253290593624,
0.06775597482919693,
-0.1560358852148056,
0.055806197226047516,
-0.025135450065135956,
-0.07734376192092896,
-0.009824827313423157,
-0.06795082241296768,
-0.01079291570931673,
0.06021134927868843,
-0.011585870757699013,
0.023480255156755447,
-0.030636796727776527,
-0.02731635980308056,
0.049598488956689835,
0.010013062506914139,
0.02573665976524353,
0.0168962012976408,
0.006665720604360104,
-0.03512735664844513,
-0.009510711766779423,
-0.07010915130376816,
-0.031634923070669174,
0.02096729539334774,
-0.03242313489317894,
0.0176099706441164,
0.006670967675745487,
-0.02859055995941162,
-0.10160636156797409,
0.08103225380182266,
-0.013687338680028915,
-0.03112935647368431,
0.02087017148733139,
-0.0008176480769179761,
-0.019677139818668365,
0.03230539709329605,
-0.03458668664097786,
0.12229050695896149,
0.00015762564726173878,
-0.07275336980819702,
0.0009422916336916387,
-0.043400634080171585,
0.08487343043088913,
0.03385687246918678,
0.0031532414723187685,
0.04829131439328194,
-0.14660638570785522,
-0.03711851313710213,
-0.08748126775026321,
-0.01041052583605051,
-0.005714206490665674,
0.08837217092514038,
-0.03475997596979141,
-0.009206557646393776,
0.020041199401021004,
0.04566558450460434,
-0.02196117490530014,
0.025711074471473694,
-0.005898443516343832,
0.009708378463983536,
0.01968023180961609,
-0.0355362705886364,
-0.03033597208559513,
0.008631537668406963,
0.04785197973251343,
-0.044846806675195694,
-0.05830596014857292,
-0.0615924671292305,
0.04827238246798515,
-0.034087855368852615,
-0.015393593348562717,
-0.016103193163871765,
0.03855263069272041,
-0.012851044535636902,
-0.037293948233127594,
0.0012172255665063858,
0.021336575970053673,
-0.03951067477464676,
-0.018394093960523605,
-0.009053602814674377,
-0.009160318411886692,
0.03790277987718582,
-0.03714066743850708,
-0.024785950779914856,
-0.030852824449539185,
0.03303193300962448,
-0.015175917185842991,
0.019071239978075027,
0.029428774490952492,
-0.051117826253175735,
0.02320503257215023,
-0.011663070879876614,
-0.004126235377043486,
0.04230885207653046,
-0.0074699642136693,
0.012526201084256172,
-0.02333160676062107,
0.0269141998142004,
0.01869901269674301,
0.10948114842176437,
0.005843565333634615,
0.019409501925110817,
0.0085923345759511,
0.05274344980716705,
0.019150476902723312,
-0.08112002164125443,
-0.0013641344849020243,
0.006117663346230984,
0.01669350638985634,
-0.0007692190702073276,
-0.014126948080956936,
0.02968788892030716,
-0.00008858986984705552,
0.021907014772295952,
-0.06565757840871811,
0.007712049409747124,
0.05162787809967995,
0.00746707059442997,
-0.049863219261169434,
-0.01675286330282688,
0.03348847106099129,
-0.004639498423784971,
0.028700051829218864,
-0.03893355280160904,
0.006309845019131899,
-0.09241847693920135,
0.01572653278708458,
-0.023658115416765213,
0.026018010452389717,
-0.03099801577627659,
-0.013454768806695938,
0.03380259871482849,
-0.02160555124282837,
0.00896984338760376,
0.02539673261344433,
0.003362719202414155,
0.0303830336779356,
0.04071924462914467,
0.011634519323706627,
0.01056255865842104,
0.002617472317069769,
0.03517274186015129,
-0.013601603917777538,
0.04635753482580185,
0.04622344300150871,
-0.026301808655261993,
0.010716374032199383,
0.02400914393365383,
0.030004525557160378,
-0.03879018500447273,
0.006628410425037146,
0.011762288399040699,
-0.025934604927897453,
0.038399986922740936,
-0.018769050016999245,
0.01967005617916584,
-0.042901426553726196,
0.0019726708997040987,
0.03603248670697212,
-0.05605394020676613,
-0.022549068555235863,
0.0319058932363987,
0.06950745731592178,
0.0025793772656470537,
0.011988428421318531,
0.042744431644678116,
-0.004047737456858158,
0.001369837555103004,
-0.008149518631398678,
0.030459275469183922,
0.003935578279197216,
0.03674629330635071,
0.030185392126441002,
0.015777653083205223,
0.014015852473676205,
0.00337822362780571,
0.006880690343677998,
0.008384970016777515,
0.08543234318494797,
-0.002811986021697521,
0.0024010909255594015,
-0.016369976103305817,
0.03602490574121475,
0.0271079633384943,
-0.027413999661803246,
-0.04119525104761124,
0.015685072168707848,
0.013577920384705067,
-0.007236239034682512,
-0.0223148874938488,
0.024360058829188347,
0.013822025619447231,
0.002057939302176237,
-0.04363430291414261,
0.055139727890491486,
-0.00452464958652854,
-0.013438568450510502,
0.024857942014932632,
0.00027281814254820347,
-0.0228214543312788,
0.0035205536987632513,
-0.031912095844745636,
-0.02452860027551651,
0.046065814793109894,
0.022753896191716194,
0.007671446073800325,
-0.03790855035185814,
0.01141318865120411,
-0.029273049905896187,
0.014094438403844833,
0.04696815833449364,
0.026481494307518005,
0.01450332161039114,
0.021104633808135986,
0.029243363067507744,
0.01054290495812893,
-0.013564974069595337,
0.030394962057471275,
-0.02433602884411812,
0.015056466683745384,
0.003094955813139677,
-0.003988242708146572,
0.0030646822415292263,
0.01822185516357422,
0.00544379185885191,
0.06771808862686157,
-0.001481597893871367,
-0.04427330940961838,
0.005518867634236813,
-0.00343795376829803,
-0.011854465119540691,
-0.05368399620056152,
-0.02100493386387825,
0.032622091472148895,
0.030018877238035202,
0.013150230050086975,
-0.005397477187216282,
0.012798270210623741,
0.006821406073868275,
0.015346234664320946,
0.03687874972820282,
0.02557544782757759,
-0.006228386890143156,
-0.037997402250766754,
0.02747276984155178,
-0.006527280900627375,
0.025081628933548927,
0.001088784309104085,
-0.042728524655103683,
0.01083002332597971,
0.0190412700176239,
-0.0023721817415207624,
0.004903898574411869,
0.0159685667604208,
0.007578169461339712,
-0.04941285401582718,
-0.017496131360530853,
-0.014853037893772125,
0.0031012913677841425,
-0.004292930942028761,
-0.007702913600951433,
-0.04157044366002083,
-0.016867246478796005,
-0.040769170969724655,
-0.046378061175346375,
-0.0036930381320416927,
0.01786033622920513,
0.020693039521574974,
-0.003420016495510936,
0.03150882571935654,
-0.0029135607182979584,
-0.0229476448148489,
0.016753191128373146,
-0.01795661635696888,
0.06685671955347061,
0.04205099865794182,
0.010018568485975266,
-0.01778505928814411,
0.026877934113144875,
0.034379951655864716,
0.017731042578816414,
-0.03536563366651535,
-0.015090256929397583,
0.0007489873678423464,
0.036390870809555054,
0.003457358106970787,
0.03875959292054176,
-0.02275518700480461,
0.018389470875263214,
0.048209697008132935,
0.04791088029742241,
0.0258792694658041,
-0.01636340282857418,
0.012044577859342098,
-0.0038207857869565487,
0.01933235675096512,
0.02480224147439003,
-0.008266250602900982,
0.021039679646492004,
0.02363096922636032,
0.03173793479800224,
0.013282646425068378,
0.03763573244214058,
0.037285782396793365,
-0.017223438248038292,
-0.04164760187268257,
0.0013568076537922025,
0.03287915512919426,
-0.011267539113759995,
0.03258717432618141,
0.044122204184532166,
0.031445156782865524,
0.02620525471866131,
0.008538803085684776,
0.04558292403817177,
-0.005967702250927687,
0.025856727734208107,
0.01702824980020523,
-0.030568381771445274,
0.03123101219534874,
-0.02083495445549488,
-0.003713150043040514,
-0.01946406625211239,
0.022647028788924217,
0.03635798394680023,
0.02104444056749344,
0.010823027230799198,
-0.0035477180499583483,
-0.046693626791238785,
0.015197058208286762,
0.02755892276763916,
-0.03435623645782471,
-0.0170553270727396,
0.013081380166113377,
0.001328911166638136,
0.00583911407738924,
0.0014013340696692467,
-0.006926765665411949,
-0.03542186692357063,
-0.035864267498254776,
-0.05457506328821182,
-0.027889497578144073,
0.05746936425566673,
0.017091475427150726,
0.04069055989384651,
0.011698247864842415,
-0.0005524419830180705,
-0.03267822414636612,
0.0006911843665875494,
0.01237938366830349,
-0.03178993612527847,
0.021066995337605476,
0.032237809151411057,
-0.038509074598550797,
0.0009601933415979147,
0.03967735543847084,
-0.0001997549697989598,
0.0025186967104673386,
0.033878784626722336,
0.0184311605989933,
-0.0030795265920460224,
0.0316649004817009,
0.04934678599238396,
0.025780679658055305,
0.0024748840369284153,
-0.020604614168405533,
-0.0001257233670912683,
-0.034733448177576065,
0.051035188138484955,
-0.032890141010284424,
0.035075943917036057,
0.0034625425469130278,
-0.029834842309355736,
-0.0024793052580207586,
0.028893817216157913,
0.03206850215792656,
-0.01898162066936493,
0.030561843886971474,
0.00543433241546154,
-0.00030694191809743643,
-0.010483203455805779,
0.024458378553390503,
-0.024722525849938393,
0.017895491793751717,
0.007402461022138596,
-0.03152784705162048,
-0.001957830972969532,
0.06017325073480606,
0.02297108806669712,
0.01788620837032795,
0.01030892413109541,
0.06581949442625046,
-0.07716026902198792,
0.0051743630319833755,
0.07484427094459534,
0.023189492523670197,
-0.010174131020903587,
-0.04682932049036026,
0.031257014721632004,
-0.005254998337477446,
-0.002170007908716798,
0.01093120314180851,
0.02898416854441166,
-0.02002772130072117,
0.03643975779414177,
0.016424957662820816,
0.06578902155160904,
0.020292844623327255,
-0.007197084836661816,
-0.06838810443878174,
0.04090060293674469,
-0.010611926205456257,
-0.07797474414110184,
0.010597369633615017,
0.03924863785505295,
-0.0017648300854489207,
-0.02702542580664158,
-0.027736825868487358,
-0.00617417274042964,
-0.06724213808774948,
0.034143466502428055,
-0.006272251717746258,
0.001380898873321712,
-0.014373105019330978,
-0.031064627692103386,
0.08622270077466965,
0.04257773607969284,
0.04353141784667969,
-0.013746136799454689,
-0.001802600803785026,
-0.03590996563434601,
0.010212771594524384,
0.01821797899901867,
0.01346723921597004,
0.0023258524015545845,
0.005515406373888254,
-0.021124664694070816,
0.02096628211438656,
0.035481829196214676,
0.018905235454440117,
0.01992109976708889,
0.013073565438389778,
-0.014242376200854778,
0.02815396338701248,
-0.01176611427217722,
-0.023913396522402763,
-0.0021620893385261297,
-0.007322576362639666,
0.013945922255516052,
-0.04968003183603287,
0.032195743173360825,
-0.006389987654983997,
-0.0030741954687982798,
0.022152481600642204,
-0.008633062243461609,
-0.0015629875706508756,
0.021333161741495132,
0.026831824332475662,
-0.0062088496051728725,
-0.009208185598254204,
0.006714764982461929,
0.0028915952425450087,
0.05437760055065155,
-0.014494956471025944,
-0.02031766250729561,
-0.02720579132437706,
0.050978779792785645,
-0.021030928939580917,
0.03875596821308136,
0.004258595872670412,
0.00848744809627533,
-0.0005711475387215614,
0.0015227191615849733,
0.0026922421529889107,
-0.005056633614003658,
0.0085745332762599,
0.01707240380346775,
-0.0033504494931548834,
0.05737994611263275,
0.004397276788949966,
-0.07005646079778671,
-0.001791818649508059,
-0.04424015432596207,
0.024243244901299477,
-0.00399902043864131,
0.05374499782919884,
0.029631411656737328,
0.037899259477853775,
0.00758991576731205,
-0.029210103675723076,
0.007232390344142914,
-0.033328503370285034,
0.02471291460096836,
0.008205843158066273,
0.030846305191516876,
-0.023442797362804413,
-0.014657457359135151,
-0.04868600517511368,
0.0018973122350871563,
-0.010862800292670727,
-0.00538547383621335,
0.039569191634655,
0.009040840901434422,
-0.011536716483533382,
-0.03356895595788956,
0.029612276703119278,
-0.007589532993733883,
0.015243598259985447,
0.04347547888755798,
-0.008331255055963993,
-0.022832009941339493,
-0.017525305971503258,
0.03374111279845238,
0.026586361229419708,
-0.014524422585964203,
-0.009045816026628017,
-0.024073485285043716,
0.004189346916973591,
0.028660358861088753,
-0.016562767326831818,
0.023237327113747597,
0.006277419626712799,
-0.00800156220793724,
-0.01636687107384205,
-0.0031257127411663532,
-0.01732369139790535,
-0.03742219880223274,
0.03262108191847801,
0.010906560346484184,
-0.0035297158174216747,
-0.011292189359664917,
-0.07610608637332916,
0.0316256619989872,
-0.008203909732401371,
0.04442071169614792,
0.036100659519433975,
-0.002509528771042824,
-0.0446627140045166,
-0.030928773805499077,
-0.03770026937127113,
0.002395414747297764,
-0.041941914707422256,
-0.011657311581075191,
0.03441454470157623,
0.005643668584525585,
-0.0039154174737632275,
0.03303339332342148,
0.015887796878814697,
0.00588598195463419,
0.04725193977355957,
0.025355257093906403,
-0.040092743933200836,
0.06938354671001434,
0.01121461857110262,
-0.02063349448144436,
0.03602765128016472,
0.026167798787355423,
-0.005135982297360897,
0.050895318388938904,
-0.0006057847058400512,
0.048834703862667084,
-0.002436612267047167,
0.005065561272203922,
0.0386248417198658,
-0.037508223205804825,
0.011847262270748615,
-0.03617656230926514,
0.0397137813270092,
0.02290130779147148,
-0.002785970689728856,
-0.03604758530855179,
-0.02268937975168228,
-0.019716547802090645,
0.04801426827907562,
-0.012715714052319527,
0.014393722638487816,
0.009218720719218254,
0.0025973187293857336,
0.004971594084054232,
0.01615270785987377,
0.04732850193977356,
0.08933870494365692,
-0.0002390692534390837,
0.005585363134741783,
0.007410857360810041
] |
Introducing Würstchen: Fast Diffusion for Image Generation | dome272 | September 13, 2023 | wuerstchen | diffusion, diffusers, text-to-image | https://huggingface.co/blog/wuerstchen | Diffusers integration Because Würstchen is fully integrated in diffusers, it automatically comes with various goodies and optimizations out of the box. These include: - Automatic use of PyTorch 2 SDPA accelerated attention, as described below. - Support for the xFormers flash attention implementation, if you need to use PyTorch 1.x instead of 2. - Model offload, to move unused components to CPU while they are not in use. This saves memory with negligible performance impact. - Sequential CPU offload, for situations where memory is really precious. Memory use will be minimized, at the cost of slower inference. - Prompt weighting with the Compel library. - Support for the mps device on Apple Silicon macs. - Use of generators for reproducibility. - Sensible defaults for inference to produce high-quality results in most situations. Of course you can tweak all parameters as you wish! | [
0.05042550340294838,
0.051239367574453354,
0.043135397136211395,
0.02751627191901207,
0.006100751925259829,
-0.002531464910134673,
-0.023190051317214966,
-0.026693647727370262,
-0.0024653286673128605,
-0.08760206401348114,
-0.06938429176807404,
0.00045041731209494174,
0.0682184174656868,
-0.012470466084778309,
-0.030862564221024513,
-0.03279264271259308,
0.05445072799921036,
0.011264209635555744,
-0.018471984192728996,
0.03559459000825882,
0.040463369339704514,
-0.0844852402806282,
0.02931392937898636,
-0.004831637255847454,
-0.02115601673722267,
-0.033193789422512054,
-0.07701990008354187,
0.013884665444493294,
0.020740866661071777,
0.01848878711462021,
-0.022190149873495102,
0.037413183599710464,
0.05045010522007942,
-0.127905935049057,
-0.005948041565716267,
0.0014508399181067944,
-0.08148183673620224,
0.044794462621212006,
0.019919870421290398,
-0.007434424012899399,
-0.05036710575222969,
-0.01759866252541542,
-0.08848793059587479,
-0.005159312393516302,
0.0016959450440481305,
-0.038223206996917725,
-0.08703882247209549,
0.020959781482815742,
-0.07292444258928299,
-0.06365684419870377,
-0.0716470330953598,
0.03166802227497101,
-0.010536961257457733,
0.029567057266831398,
0.1122683510184288,
0.040363144129514694,
-0.004882522858679295,
0.013262546621263027,
0.04012816399335861,
-0.04978596419095993,
-0.036265529692173004,
-0.028458664193749428,
0.01975475437939167,
0.08085721731185913,
0.014137881807982922,
-0.005741257220506668,
0.010015415959060192,
-0.03148067742586136,
-0.026158258318901062,
-0.054442957043647766,
0.05532648414373398,
-0.022163014858961105,
-0.0041461824439466,
0.017539963126182556,
0.0004973383620381355,
-0.028731688857078552,
0.03872675076127052,
0.024150311946868896,
-0.025848891586065292,
0.02567426674067974,
0.027864031493663788,
-0.01970481686294079,
0.06693930178880692,
0.023808805271983147,
0.020765097811818123,
-0.016609951853752136,
0.052970319986343384,
-0.04896966367959976,
-0.03982650116086006,
-0.10001805424690247,
-0.006075758952647448,
-0.0739656537771225,
0.07484637200832367,
0.013208167627453804,
0.03370986506342888,
0.045311275869607925,
-0.05715104192495346,
0.00039948284393176436,
-0.00014744515647180378,
-0.04098387807607651,
0.004732918459922075,
-0.0332842692732811,
-0.02288089133799076,
-0.09532731026411057,
0.0038177932146936655,
0.11126383394002914,
-0.02165599726140499,
-0.015488645993173122,
-0.02547796629369259,
0.08984577655792236,
-0.015072142705321312,
0.016994182020425797,
-0.01268699113279581,
0.00024911301443353295,
-0.029915835708379745,
-0.040598925203084946,
-0.02221764251589775,
0.047342877835035324,
0.044444505125284195,
0.05032068118453026,
0.021217085421085358,
0.04407458007335663,
0.0627063512802124,
0.037216585129499435,
0.04528791829943657,
0.0790683776140213,
0.10087674856185913,
0.001816058880649507,
-0.007385417819023132,
-0.022676367312669754,
0.010497918352484703,
-0.016831666231155396,
0.054060615599155426,
-0.0809328556060791,
0.0842248722910881,
-0.10717042535543442,
-0.016757342964410782,
-0.020615367218852043,
-0.009320652112364769,
0.016512958332896233,
-0.013042363338172436,
0.037099312990903854,
-0.024202603846788406,
-0.07823800295591354,
0.0242549329996109,
-0.08202624320983887,
-0.05741330608725548,
0.035253435373306274,
-0.025453751906752586,
0.053842026740312576,
-0.09628336131572723,
0.09745609015226364,
-0.07064022868871689,
-0.04231112450361252,
-0.06644507497549057,
0.05883036181330681,
0.02862323448061943,
-0.0322914756834507,
-0.06877340376377106,
-0.012307808734476566,
0.0023547480814158916,
-0.026298195123672485,
-0.02195163443684578,
0.009043863043189049,
0.022673150524497032,
-0.012286902405321598,
0.017276791855692863,
0.0538618266582489,
0.07671130448579788,
-0.002917263191193342,
0.06750082969665527,
-0.008646405301988125,
-0.0010066467802971601,
-0.005300926510244608,
-0.002813125727698207,
-0.0029952276963740587,
0.004573439247906208,
0.09444062411785126,
0.027890276163816452,
-0.0006119561730884016,
-0.07392650097608566,
0.025454754009842873,
-0.034942347556352615,
0.017282629385590553,
0.03846112638711929,
-0.031763706356287,
0.08094743639230728,
-0.0482010617852211,
-0.017734499648213387,
0.000848703202791512,
-0.04378248378634453,
0.020701099187135696,
0.029600339010357857,
-0.02505648508667946,
0.032588765025138855,
-0.03227744251489639,
-0.08948880434036255,
0.037408675998449326,
0.04783760383725166,
-0.0056578791700303555,
0.06069515645503998,
-0.0047444747760891914,
-0.01985587738454342,
0.009337828494608402,
-0.023814380168914795,
-0.04712340980768204,
-0.011751675978302956,
-0.05152833089232445,
-0.04800013080239296,
-0.019100066274404526,
-0.03358926251530647,
-0.09410242736339569,
0.0000025956380795832956,
-0.05282343924045563,
-0.030562086030840874,
0.00041181506821885705,
-0.057355426251888275,
0.013359189964830875,
-0.01792251318693161,
0.0014236153801903129,
0.06599629670381546,
-0.02230709232389927,
0.006120364181697369,
0.01636420004069805,
-0.023519176989793777,
0.08683913201093674,
0.08557320386171341,
-0.014145485125482082,
0.07222530990839005,
-0.06100473552942276,
-0.04324635490775108,
-0.08378317207098007,
-0.06527959555387497,
0.03465668857097626,
-0.010103786364197731,
-0.0011341155041009188,
-0.047482021152973175,
0.08063274621963501,
0.04084615036845207,
-0.03874887526035309,
0.05719640478491783,
0.056933607906103134,
-0.019000757485628128,
0.010123721323907375,
0.025246070697903633,
-0.011953807435929775,
0.067525714635849,
0.0686500295996666,
-0.008509761653840542,
-0.03229570388793945,
0.004963801242411137,
0.06887489557266235,
0.08347120881080627,
-0.02341935597360134,
0.04333251714706421,
0.03130520507693291,
-0.014230821281671524,
-0.0033869764301925898,
0.014917286112904549,
0.05991276726126671,
0.04175523668527603,
-0.0014061627443879843,
0.05085053667426109,
-0.03776784986257553,
-0.0005700227920897305,
-0.03689393401145935,
0.012656882405281067,
0.013743232935667038,
0.038070302456617355,
-0.02141023427248001,
-0.013675117865204811,
0.0013808412477374077,
-0.015672743320465088,
0.00022471416741609573,
0.039389509707689285,
-0.005323878955096006,
0.051747191697359085,
-0.007940078154206276,
-0.00872191321104765,
-0.04054632410407066,
0.002230851911008358,
0.004412692505866289,
0.08928973227739334,
0.02012939564883709,
0.027557382360100746,
0.015188847668468952,
0.02483784593641758,
0.004098500590771437,
-0.07547029852867126,
-0.00036767381243407726,
-0.038470666855573654,
-0.03017590381205082,
0.05386415123939514,
-0.0313541404902935,
-0.008413435891270638,
0.03957081213593483,
-0.01370471902191639,
-0.042767349630594254,
-0.03977859020233154,
-0.015564722009003162,
-0.04889878258109093,
-0.024896914139389992,
-0.01053960993885994,
0.021736200898885727,
-0.025787092745304108,
-0.007494292221963406,
-0.03003823384642601,
0.0035654823295772076,
-0.0827992632985115,
-0.02156384475529194,
-0.049680911004543304,
0.028830457478761673,
0.01940630003809929,
-0.02163735032081604,
-0.011564581654965878,
-0.017231883481144905,
0.029776232317090034,
0.03249235451221466,
0.010966056026518345,
-0.017077190801501274,
-0.002859335858374834,
0.002440341515466571,
0.014945956878364086,
-0.001454801531508565,
0.01636754535138607,
-0.03780466690659523,
0.03482446074485779,
0.002236925298348069,
0.022128570824861526,
0.036266520619392395,
0.007229968439787626,
-0.022298520430922508,
-0.004610834177583456,
-0.0037019799929112196,
0.03475551679730415,
0.014655406586825848,
-0.027442004531621933,
-0.03054192289710045,
-0.024973545223474503,
0.0019246150040999055,
-0.0004829405515920371,
0.018150990828871727,
-0.05587160587310791,
0.015842627733945847,
-0.009032662026584148,
-0.03228343278169632,
0.035266801714897156,
0.0176876038312912,
0.04088646546006203,
0.015655163675546646,
0.022640014067292213,
0.011681499890983105,
0.0586649514734745,
-0.013412944041192532,
0.049497202038764954,
0.0006922954926267266,
0.038033246994018555,
0.034342311322689056,
-0.021029870957136154,
-0.0007894107257016003,
0.025513572618365288,
0.004648089408874512,
-0.015422052703797817,
-0.00886837113648653,
-0.009021912701427937,
0.025981323793530464,
0.04249129071831703,
0.030881354585289955,
-0.0029892532620579004,
0.035637300461530685,
0.031104929745197296,
-0.038003455847501755,
0.0008851023158058524,
0.044556956738233566,
0.018189985305070877,
-0.045091599225997925,
-0.05699775740504265,
-0.02188047207891941,
-0.02896931581199169,
0.027355926111340523,
0.020092008635401726,
-0.00686995405703783,
0.014599872753024101,
0.042342424392700195,
-0.027137013152241707,
-0.01399990450590849,
0.05076882615685463,
0.04312684014439583,
0.0048093474470078945,
-0.01863706111907959,
0.010071467608213425,
-0.02411610633134842,
-0.007923759520053864,
0.011520333588123322,
-0.022564727813005447,
-0.015110554173588753,
0.045614853501319885,
0.038345932960510254,
0.02619577758014202,
-0.030159680172801018,
0.03704563528299332,
-0.06751643121242523,
-0.009450694546103477,
0.059051066637039185,
0.0021731285378336906,
0.03772113099694252,
0.01869845762848854,
-0.01499141938984394,
0.018698520958423615,
-0.037640281021595,
-0.0471123605966568,
0.018583117052912712,
-0.03351980447769165,
-0.02187012881040573,
0.005477915983647108,
-0.0022915638983249664,
0.06218769773840904,
0.0036161860916763544,
0.05902830883860588,
0.013789312914013863,
-0.031953465193510056,
-0.00804714672267437,
0.025969823822379112,
-0.02343876101076603,
0.02527634985744953,
-0.010533825494349003,
-0.062269993126392365,
0.023316359147429466,
-0.03015105426311493,
0.03146607056260109,
0.019602062180638313,
-0.0462411493062973,
0.034138068556785583,
-0.0018079191213473678,
-0.006010940298438072,
-0.006665635854005814,
-0.010131223127245903,
-0.020918255671858788,
-0.04214821383357048,
-0.011343613266944885,
-0.00990502443164587,
0.07229096442461014,
0.045279163867235184,
-0.03113221749663353,
-0.03463750705122948,
0.029101401567459106,
-0.028674256056547165,
-0.0138469273224473,
-0.004860300105065107,
-0.018276458606123924,
0.02834179624915123,
-0.03520321473479271,
0.022166719660162926,
-0.0268668495118618,
-0.008009430021047592,
0.04573673754930496,
-0.03141698241233826,
0.016760848462581635,
0.028617307543754578,
-0.006400467827916145,
-0.032323356717824936,
-0.002976795891299844,
0.03561726585030556,
0.006108160130679607,
-0.027981873601675034,
0.017894506454467773,
0.02616087906062603,
0.04312619939446449,
0.029291564598679543,
0.03732999786734581,
-0.04863046854734421,
0.022555919364094734,
0.03873419016599655,
-0.01729688234627247,
0.006900335196405649,
-0.004377575125545263,
-0.024416085332632065,
-0.02511725202202797,
0.014830976724624634,
0.04982518032193184,
-0.00826515257358551,
0.0388203039765358,
0.036074671894311905,
0.029777610674500465,
0.003061111317947507,
0.027005601674318314,
-0.03421793505549431,
-0.013360877521336079,
0.002681600395590067,
-0.019256001338362694,
0.041720010340213776,
-0.009805191308259964,
0.016216402873396873,
0.015487300232052803,
-0.014853433705866337,
0.020812785252928734,
0.024082951247692108,
0.02240501344203949,
-0.002685722429305315,
-0.0016019268659874797,
-0.016580456867814064,
-0.022030116990208626,
0.07633598148822784,
-0.011828368529677391,
-0.05925845354795456,
0.06980156153440475,
-0.005449915304780006,
0.027999786660075188,
0.01590041257441044,
-0.026938974857330322,
-0.010412192903459072,
-0.0667879730463028,
0.011825060471892357,
0.006393327843397856,
0.0009620265918783844,
-0.00775415264070034,
0.01628790609538555,
-0.0018992088735103607,
0.043330781161785126,
-0.03319460526108742,
0.0017550152260810137,
-0.010211297310888767,
0.021063148975372314,
-0.04498489946126938,
-0.039170850068330765,
0.05467389151453972,
-0.019351614639163017,
0.031716473400592804,
-0.020075498148798943,
-0.013424590229988098,
0.007527667097747326,
0.04273848235607147,
0.007567021530121565,
-0.043238136917352676,
0.01959543488919735,
0.014236425049602985,
-0.04355284199118614,
0.020168891176581383,
0.00406317412853241,
0.02203211933374405,
0.0055765719152987,
0.004031029529869556,
0.03293994441628456,
0.0021899386774748564,
-0.05017457157373428,
0.027773795649409294,
0.013755022548139095,
0.009668257087469101,
0.001418357016518712,
0.007712158374488354,
-0.05312218889594078,
0.05132906138896942,
-0.012638268992304802,
0.044574689120054245,
0.025314757600426674,
-0.03663068637251854,
0.038708850741386414,
-0.025926142930984497,
0.005399258807301521,
-0.021663110703229904,
-0.050429653376340866,
-0.022351007908582687,
-0.010895666666328907,
0.01528489775955677,
0.013773543760180473,
-0.04268673434853554,
0.020432718098163605,
0.006361959967762232,
-0.0006447863997891545,
0.009572784416377544,
-0.005182408262044191,
-0.021652504801750183,
-0.0364379957318306,
-0.008509851060807705,
0.02403859607875347,
0.008722219616174698,
0.0030765822157263756,
0.012509962543845177,
0.007703620474785566,
0.0030401949770748615,
-0.005244728177785873,
0.002970282919704914,
-0.008439544588327408,
0.010010259225964546,
0.01831311732530594,
0.0244132149964571,
-0.016216464340686798,
0.005061692092567682,
0.005609351210296154,
0.06360127776861191,
-0.0011386063415557146,
-0.01284119114279747,
-0.03077208623290062,
-0.01211894117295742,
-0.0003491903480608016,
-0.05514785647392273,
-0.02934732288122177,
0.02387310191988945,
-0.03576783463358879,
-0.014526790007948875,
-0.007733493112027645,
0.0020753697026520967,
-0.03691822662949562,
-0.0015801038825884461,
0.028903983533382416,
-0.018384315073490143,
-0.019955258816480637,
-0.01455786731094122,
0.026547260582447052,
-0.025299500674009323,
0.05400126799941063,
-0.007466714363545179,
-0.031877610832452774,
0.024877669289708138,
0.013339308090507984,
0.03609496355056763,
-0.014756065793335438,
-0.015382020734250546,
-0.028698865324258804,
-0.019457301124930382,
0.027350004762411118,
0.01717991568148136,
-0.00917086098343134,
0.020125357434153557,
0.021977461874485016,
-0.02913251705467701,
-0.01607869751751423,
0.02088944986462593,
0.002467991318553686,
-0.04869881272315979,
-0.00391445541754365,
0.017375901341438293,
-0.08851354569196701,
-0.010001118294894695,
0.04473455250263214,
-0.0230446495115757,
-0.0023868675343692303,
0.029364081099629402,
-0.0013519070344045758,
0.02721422165632248,
0.02237827703356743,
-0.0055877030827105045,
-0.010462223552167416,
0.013526701368391514,
-0.009528660215437412,
0.035137537866830826,
-0.0340542197227478,
-0.06551291793584824,
0.0004467476101126522,
0.07903741300106049,
0.03362824022769928,
0.03483681380748749,
0.030757121741771698,
0.003423729445785284,
0.03886908292770386,
0.03740004822611809,
0.0105562973767519,
0.018473025411367416,
0.012419424019753933,
0.03289782255887985,
-0.033459682017564774,
0.012473532930016518,
0.0054947384633123875,
-0.03996926173567772,
0.020281421020627022,
-0.02788817696273327,
-0.028584076091647148,
0.016564879566431046,
0.045508064329624176,
-0.006435145158320665,
-0.005029177758842707,
-0.000501537520904094,
-0.04335189238190651,
-0.024827642366290092,
-0.0019223993876948953,
0.029609613120555878,
0.03321404010057449,
0.01992116868495941,
0.002566359005868435,
-0.007576795294880867,
-0.06690113991498947,
0.0016607634024694562,
-0.0027703382074832916,
0.00571253290399909,
0.026989512145519257,
0.010793066583573818,
0.006276813335716724,
0.016967447474598885,
0.05244545638561249,
0.03397480025887489,
-0.03456251695752144,
0.05642782524228096,
0.004887073766440153,
-0.009072951972484589,
-0.004184727557003498,
0.017564019188284874,
0.0008798339986242354,
0.001150971045717597,
-0.02819492295384407,
-0.004129565320909023,
-0.001471546245738864,
0.04962002858519554,
0.017941422760486603,
0.06333448737859726,
-0.00906110554933548,
-0.01761130429804325,
-0.05489765852689743,
-0.06195315718650818,
-0.00861712358891964,
-0.000802357739303261,
0.037249304354190826,
0.02978290617465973,
-0.0023362862411886454,
0.02431238815188408,
-0.015783073380589485,
0.010515966452658176,
0.02402915433049202,
0.03604922443628311,
0.05802024155855179,
0.0118526266887784,
-0.004527155309915543,
-0.06102928891777992,
-0.03662337735295296,
0.025050127878785133,
-0.05911301076412201,
0.01197064109146595,
-0.008361627347767353,
-0.003597351722419262,
-0.03162327781319618,
0.006541515700519085,
0.05968830734491348,
-0.007169567514210939,
0.03405771777033806,
0.021818848326802254,
-0.004413001239299774,
0.02126040682196617,
0.03542483597993851,
-0.05754384398460388,
-0.008247753605246544,
0.002286419738084078,
-0.034240107983350754,
0.03940809890627861,
-0.01542382687330246,
0.0397547148168087,
0.004327049013227224,
-0.023651374503970146,
0.01488162949681282,
-0.04932602122426033,
-0.009380660951137543,
-0.06827874481678009,
0.0006444115424528718,
0.007953152991831303,
-0.014506082981824875,
-0.04311608523130417,
-0.011990729719400406,
-0.034537289291620255,
-0.005521652288734913,
-0.006840170826762915,
0.003608300816267729,
0.005790565628558397,
0.04423678666353226,
-0.04391772672533989,
-0.020725278183817863,
0.07822860777378082,
0.0438624769449234,
-0.0352332629263401,
-0.06322328001260757,
-0.049653567373752594
] |
Introducing Würstchen: Fast Diffusion for Image Generation | dome272 | September 13, 2023 | wuerstchen | diffusion, diffusers, text-to-image | https://huggingface.co/blog/wuerstchen | How to use Würstchen? You can either try it using the Demo here: Otherwise, the model is available through the Diffusers Library, so you can use the interface you are already familiar with. For example, this is how to run inference using the AutoPipeline: Python import torch from diffusers import AutoPipelineForText2Image from diffusers.pipelines.wuerstchen import DEFAULT_STAGE_C_TIMESTEPS pipeline = AutoPipelineForText2Image.from_pretrained("warp-ai/wuerstchen", torch_dtype=torch.float16).to("cuda") caption = "Anthropomorphic cat dressed as a firefighter" images = pipeline( caption, height=1024, width=1536, prior_timesteps=DEFAULT_STAGE_C_TIMESTEPS, prior_guidance_scale=4.0, num_images_per_prompt=4, ).images | [
0.001620020717382431,
-0.01012857723981142,
0.046628400683403015,
-0.002299823332577944,
0.05940673127770424,
0.07660005986690521,
0.011066687293350697,
0.023424966260790825,
0.0036200862377882004,
-0.08465231955051422,
-0.09219788014888763,
0.029691120609641075,
0.04323052614927292,
0.05095984786748886,
0.03127299249172211,
-0.03812979534268379,
0.040851373225450516,
0.01383039727807045,
-0.038929782807826996,
0.04058309644460678,
-0.016626331955194473,
-0.10546212643384933,
0.002972566056996584,
-0.007384320721030235,
-0.08077621459960938,
-0.08308453857898712,
0.005609006620943546,
0.05346587672829628,
-0.04602431133389473,
0.03847768157720566,
-0.07781480252742767,
-0.030050382018089294,
0.011142137460410595,
-0.0988248661160469,
0.03066626749932766,
0.019580408930778503,
-0.09043360501527786,
0.06724338233470917,
0.0006375819211825728,
-0.021014217287302017,
0.031108995899558067,
0.01811143010854721,
-0.032928790897130966,
0.03594009205698967,
-0.02841245010495186,
-0.0491708442568779,
-0.13105551898479462,
0.10056032985448837,
-0.02593195252120495,
-0.01730428822338581,
-0.05173736438155174,
0.014856033958494663,
-0.013329661451280117,
0.03863384574651718,
0.027290791273117065,
0.039667654782533646,
-0.04010901227593422,
-0.06870252639055252,
0.023555707186460495,
-0.03788970410823822,
0.03535833582282066,
0.02163643389940262,
-0.02187415026128292,
0.044850029051303864,
0.007053425069898367,
0.02391122467815876,
-0.010390651412308216,
0.017194898799061775,
-0.04764921963214874,
0.014975348487496376,
0.031519658863544464,
-0.05982816964387894,
0.028173230588436127,
0.003948455210775137,
0.018715521320700645,
-0.07127705216407776,
-0.00425675930455327,
-0.017608044669032097,
0.0024354320485144854,
0.06566591560840607,
0.02504093386232853,
-0.003787775058299303,
0.03395427390933037,
0.09533179551362991,
0.0028369866777211428,
-0.012221491895616055,
0.062420204281806946,
-0.012850701808929443,
-0.01996566914021969,
0.029830317944288254,
-0.023322148248553276,
-0.12367305904626846,
-0.03082295134663582,
0.015057324431836605,
0.017752865329384804,
-0.008751756511628628,
-0.04309697076678276,
0.06008582189679146,
0.032629624009132385,
-0.04366101324558258,
-0.02590314671397209,
-0.047076527029275894,
0.006881191860884428,
-0.01799875497817993,
-0.057626139372587204,
0.09991350769996643,
-0.011272277683019638,
-0.050669100135564804,
-0.06511878222227097,
-0.0038692799862474203,
0.021589934825897217,
0.008152698166668415,
0.013674987480044365,
0.03832319751381874,
-0.04518701881170273,
-0.06235216185450554,
-0.005636001005768776,
0.021376077085733414,
0.02301662787795067,
-0.019054867327213287,
0.0020046827849000692,
0.028927884995937347,
0.06952668726444244,
0.018036436289548874,
0.032008200883865356,
0.10749894380569458,
0.036242637783288956,
0.03533078730106354,
-0.027119478210806847,
-0.011532728560268879,
0.06395670026540756,
-0.05002734810113907,
0.10844241827726364,
-0.01209329068660736,
0.07726036757230759,
-0.07519222050905228,
0.012224022299051285,
-0.07185722887516022,
0.04221775010228157,
0.04297073557972908,
0.015026068314909935,
-0.003766691545024514,
-0.02854948863387108,
0.0031183555256575346,
0.027783270925283432,
0.008751963265240192,
-0.035811010748147964,
0.019255153834819794,
-0.037494957447052,
0.06749773025512695,
-0.10969517379999161,
0.07016605138778687,
-0.03963806480169296,
-0.05907275155186653,
-0.03329703211784363,
0.03796769306063652,
-0.014451799914240837,
-0.0041168322786688805,
-0.056835513561964035,
-0.026310423389077187,
0.015168121084570885,
-0.03415640816092491,
-0.05231528729200363,
-0.029426604509353638,
0.026964034885168076,
-0.04556872695684433,
0.017028050497174263,
-0.023706596344709396,
0.0415518693625927,
-0.05706581845879555,
0.028837069869041443,
-0.05857721343636513,
0.03614452853798866,
0.025510672479867935,
0.05897579714655876,
0.04452340304851532,
0.014231272041797638,
0.010574132204055786,
0.033042725175619125,
0.028976669535040855,
-0.05061173439025879,
0.06679271906614304,
-0.09382204711437225,
0.018031857907772064,
0.050535935908555984,
-0.06124751642346382,
0.013200486078858376,
-0.039906565099954605,
-0.0035406143870204687,
0.07203124463558197,
-0.055219754576683044,
-0.07160577178001404,
0.021799253299832344,
0.03648582473397255,
0.06485430896282196,
-0.02866884134709835,
-0.08565378934144974,
0.05321472883224487,
-0.014940847642719746,
0.02087157778441906,
0.0717894658446312,
0.011983870528638363,
-0.014735419303178787,
-0.027304980903863907,
-0.02404000796377659,
0.019679293036460876,
0.028528964146971703,
-0.05218764767050743,
0.060143161565065384,
0.044773079454898834,
0.002992138732224703,
-0.11378100514411926,
0.0658319815993309,
-0.11976785957813263,
-0.01679832488298416,
0.02454131841659546,
-0.06042268127202988,
-0.007258543744683266,
-0.0035597137175500393,
-0.02392016537487507,
0.12855185568332672,
0.02045322395861149,
-0.013514275662600994,
-0.04770636558532715,
-0.06246848776936531,
0.048558950424194336,
0.049367111176252365,
0.05187219753861427,
0.06612246483564377,
-0.08818746358156204,
-0.03294597938656807,
-0.0652482733130455,
-0.010540780611336231,
0.05293687805533409,
-0.03369589522480965,
-0.07048968225717545,
0.029907923191785812,
0.006538508925586939,
0.011084621772170067,
-0.05747058987617493,
0.06848885864019394,
-0.004252149723470211,
-0.036842189729213715,
0.01637347601354122,
-0.01727116107940674,
-0.014234906993806362,
0.052844323217868805,
0.04332742840051651,
0.0003062930190935731,
-0.013664491474628448,
0.035961732268333435,
0.06650747358798981,
-0.010131183080375195,
-0.03937714919447899,
0.0386519730091095,
0.08641484379768372,
-0.016962938010692596,
-0.026644974946975708,
0.006700858939439058,
0.06942922621965408,
0.0030336666386574507,
-0.022321566939353943,
-0.005821754690259695,
-0.06272952258586884,
-0.009532388299703598,
-0.023999081924557686,
-0.0050374106504023075,
-0.0030478525441139936,
0.051984284073114395,
-0.022057708352804184,
0.002136302413418889,
-0.023705916479229927,
0.004887289833277464,
0.009959735907614231,
0.037063054740428925,
0.04683535173535347,
0.024899620562791824,
0.020942892879247665,
0.00008667736983625218,
-0.04907742887735367,
-0.005455931648612022,
-0.026483064517378807,
0.07427637279033661,
0.039595991373062134,
0.017728697508573532,
-0.012389637529850006,
0.0191511120647192,
-0.03569931536912918,
-0.05453871563076973,
0.04714022949337959,
-0.013933305628597736,
0.07083049416542053,
0.035031192004680634,
-0.013878975063562393,
-0.010305036790668964,
0.04000423103570938,
0.04033523425459862,
-0.023257918655872345,
-0.010272053070366383,
0.00530976802110672,
-0.04263361543416977,
-0.037356115877628326,
-0.005894070956856012,
0.007240883074700832,
-0.0469944030046463,
-0.0006168666295707226,
-0.029213234782218933,
-0.009166046977043152,
-0.09757708013057709,
-0.029395120218396187,
-0.009775419719517231,
0.04441361501812935,
-0.0034610519651323557,
-0.02627391554415226,
0.037771910429000854,
-0.0031957856845110655,
0.0008823935640975833,
0.009984155185520649,
0.0007477644248865545,
-0.001270688371732831,
0.0492125079035759,
-0.01810130849480629,
-0.003708828240633011,
-0.018514111638069153,
-0.018238388001918793,
-0.01658208668231964,
0.018924176692962646,
0.02023293450474739,
-0.01931590586900711,
0.051167093217372894,
0.012197931297123432,
0.00967360194772482,
0.0069907959550619125,
-0.007391484919935465,
0.045865923166275024,
0.004501811228692532,
0.03404497355222702,
-0.037486471235752106,
-0.016664830967783928,
-0.05250869691371918,
-0.006761188618838787,
0.03446531668305397,
-0.052014388144016266,
-0.04895084723830223,
-0.03883945569396019,
-0.01049562357366085,
0.017956307157874107,
-0.005788666661828756,
-0.02808343805372715,
0.015232551842927933,
-0.011019320227205753,
-0.04891643673181534,
0.013234071433544159,
-0.016810188069939613,
0.006989167537540197,
-0.00027851478080265224,
0.034471526741981506,
-0.006572884973138571,
-0.03542317450046539,
0.01362319104373455,
0.019669417291879654,
0.04454861953854561,
0.03680327534675598,
-0.018384911119937897,
-0.02326837182044983,
0.05853264406323433,
0.030637571588158607,
0.0002969394263345748,
-0.051568325608968735,
0.01965148188173771,
0.006904160603880882,
-0.02255949378013611,
-0.006095460150390863,
0.029900390654802322,
0.022172776982188225,
0.002376233460381627,
-0.019820358604192734,
-0.0009868701454252005,
-0.01311200950294733,
0.04517107456922531,
-0.012784461490809917,
0.010943851433694363,
0.02034980244934559,
0.0006666177650913596,
-0.04104716330766678,
-0.035501815378665924,
0.06255442649126053,
0.02977372333407402,
-0.0039947559125721455,
-0.02484136074781418,
0.02157808095216751,
-0.030713539570569992,
-0.02164069004356861,
0.029905952513217926,
0.019498789682984352,
-0.034366343170404434,
-0.0029619066044688225,
0.0335148461163044,
0.005317556671798229,
-0.024398939684033394,
0.034165263175964355,
-0.027917830273509026,
-0.018010562285780907,
0.034697454422712326,
0.001070002792403102,
-0.0027573900297284126,
0.02246052399277687,
0.0008616731502115726,
0.038448918610811234,
-0.035428497940301895,
-0.0408683642745018,
0.04126068204641342,
0.003297519637271762,
-0.02092519961297512,
-0.010112143121659756,
-0.05072053521871567,
0.05802362784743309,
-0.02861897088587284,
0.020392417907714844,
-0.03618968278169632,
0.023891812190413475,
0.015416473150253296,
-0.0114963473752141,
0.010387832298874855,
0.041535504162311554,
-0.033397987484931946,
-0.033410411328077316,
0.0245518796145916,
-0.005770538002252579,
0.04872802644968033,
-0.025073744356632233,
-0.06773478537797928,
0.012769903987646103,
-0.016386939212679863,
0.04534076154232025,
-0.0007401912589557469,
-0.019957059994339943,
-0.013232659548521042,
-0.03910791873931885,
0.008309413678944111,
-0.00028910840046592057,
0.026637034490704536,
0.009447243995964527,
-0.013831406831741333,
-0.022365260869264603,
0.029767053201794624,
-0.03139346092939377,
-0.013735075481235981,
-0.032949429005384445,
-0.00829450786113739,
0.02098681963980198,
-0.01409074291586876,
0.053670842200517654,
-0.008761029690504074,
-0.0416652075946331,
0.008331355638802052,
-0.03815452754497528,
0.05586680397391319,
0.025819718837738037,
0.00876183994114399,
-0.008380932733416557,
-0.0027513743843883276,
0.03814239427447319,
0.015667816624045372,
0.014704149216413498,
0.033439960330724716,
0.017406193539500237,
0.04103507846593857,
0.025148024782538414,
0.019954601302742958,
-0.024929242208600044,
0.039475567638874054,
0.011909452266991138,
0.008489178493618965,
-0.0028891325928270817,
-0.055956948548555374,
-0.017381133511662483,
0.04507322236895561,
-0.02830018661916256,
0.01752644032239914,
-0.007462072651833296,
-0.030666431412100792,
0.02574058249592781,
0.05427553132176399,
0.02265627682209015,
0.0005910171894356608,
0.004427970387041569,
-0.0018084258772432804,
-0.002715156879276037,
0.001707672723568976,
0.04846597835421562,
-0.010388578288257122,
-0.03581613302230835,
0.005682745482772589,
0.011867566965520382,
0.02151956595480442,
0.024805985391139984,
0.046451136469841,
-0.014131784439086914,
-0.0033056263346225023,
-0.005518384277820587,
-0.03271542116999626,
0.020907087251544,
-0.0018179286271333694,
-0.03148645907640457,
-0.0061682164669036865,
0.02476612851023674,
-0.010552193969488144,
-0.0030665129888802767,
0.04284222051501274,
0.028525933623313904,
-0.04391620308160782,
0.04261209815740585,
-0.011830992996692657,
-0.007094728760421276,
-0.008147414773702621,
0.0431041456758976,
0.0015558776212856174,
-0.005380304995924234,
-0.007008656859397888,
0.03662578761577606,
0.003243937622755766,
0.019450455904006958,
-0.030899863690137863,
-0.0032092335168272257,
0.040731389075517654,
0.02961890771985054,
0.05396942421793938,
-0.005476243328303099,
-0.0037316479720175266,
-0.02229745127260685,
0.03777845948934555,
0.023010708391666412,
-0.0326058529317379,
0.017284879460930824,
0.016453485935926437,
-0.026603562757372856,
0.05885478854179382,
0.027733204886317253,
-0.005943396594375372,
-0.007157613523304462,
0.023079458624124527,
0.03247284144163132,
-0.015821753069758415,
-0.05414940416812897,
0.04350532218813896,
0.022311383858323097,
0.000010699965059757233,
-0.0073614055290818214,
-0.026807792484760284,
-0.015172389335930347,
0.028382927179336548,
-0.02409752458333969,
0.006585585419088602,
0.07532023638486862,
-0.047545045614242554,
0.030748987570405006,
0.03488386794924736,
0.021512659266591072,
-0.02831694670021534,
0.015324199572205544,
-0.04658940061926842,
0.012119147926568985,
0.02763003669679165,
0.0015764893032610416,
0.01566227339208126,
0.0036935836542397738,
0.03033781796693802,
0.03692595660686493,
-0.01069276686757803,
-0.020946212112903595,
0.012143058702349663,
-0.0011403283569961786,
0.010348958894610405,
0.0023017898201942444,
-0.03055567853152752,
-0.020260285586118698,
0.028628826141357422,
0.033983517438173294,
0.02543674409389496,
-0.038857340812683105,
-0.021615056321024895,
-0.0018425686284899712,
-0.00011908860324183479,
0.018512485548853874,
0.03470607101917267,
-0.009870213456451893,
0.020037876442074776,
0.015777764841914177,
0.0491873174905777,
-0.023396633565425873,
-0.004413675516843796,
-0.030787816271185875,
0.02518785372376442,
0.08115611970424652,
-0.008979196660220623,
0.015722520649433136,
0.03356139361858368,
-0.01619509421288967,
0.0071893553249537945,
-0.03208823874592781,
-0.019155923277139664,
-0.03702652081847191,
0.02271702140569687,
0.003240227699279785,
0.023814579471945763,
-0.001920832321047783,
-0.050110943615436554,
0.042743127793073654,
0.01949245296418667,
0.04921623319387436,
-0.015155671164393425,
0.019276244565844536,
0.019714608788490295,
0.010586596094071865,
-0.01168624684214592,
0.019129302352666855,
0.006024613976478577,
-0.02155461721122265,
0.04027217999100685,
0.00019517216423992068,
0.010068592615425587,
0.008853163570165634,
0.012480984441936016,
0.00941900722682476,
-0.031091850250959396,
-0.0321313701570034,
-0.018038516864180565,
0.023361701518297195,
-0.02977461740374565,
-0.053081560879945755,
0.024709420278668404,
-0.06258322298526764,
-0.019199734553694725,
-0.0017641732702031732,
-0.003234625793993473,
0.009930847212672234,
0.0074295466765761375,
-0.01040984783321619,
0.02176416479051113,
0.02882060781121254,
-0.001254962757229805,
-0.012496383860707283,
0.03714048117399216,
-0.015688816085457802,
0.044079940766096115,
0.00819720234721899,
-0.021432125940918922,
-0.039701592177152634,
0.01008670311421156,
-0.015745079144835472,
0.019955148920416832,
0.007386768702417612,
-0.0013136870693415403,
-0.01576234959065914,
0.02389773353934288,
0.021747373044490814,
0.0205319095402956,
0.030954672023653984,
-0.011068684980273247,
0.013107888400554657,
0.024107757955789566,
-0.0010400826577097178,
-0.004060462582856417,
-0.002883204258978367,
-0.055683206766843796,
0.0007438898319378495,
0.03165145963430405,
0.005307463463395834,
0.006242859642952681,
0.016291186213493347,
-0.014851606450974941,
-0.0799270048737526,
0.000349823065334931,
-0.038415104150772095,
-0.005434100050479174,
0.003828061744570732,
0.006780706346035004,
-0.004707983694970608,
0.0005067902966402471,
-0.04604844003915787,
0.005108182784169912,
0.028038939461112022,
-0.023445196449756622,
0.022858796641230583,
0.009310571476817131,
-0.05826953053474426,
-0.006723977625370026,
0.014238949865102768,
-0.01963476836681366,
0.014345070347189903,
0.06112426146864891,
0.02122090570628643,
0.01190092507749796,
-0.003177002537995577,
0.027081461623311043,
-0.0347137413918972,
0.012778660282492638,
-0.06998683512210846,
-0.014418680220842361,
-0.036132339388132095,
0.04333335533738136,
-0.027025775983929634,
0.01657717302441597,
-0.014249050058424473,
-0.043452102690935135,
-0.05769370123744011,
-0.03375983238220215,
-0.01506897620856762,
-0.012219409458339214,
0.07653775066137314,
0.022789478302001953,
-0.009224317036569118,
-0.012001954950392246,
-0.02816377580165863,
0.01942535676062107,
0.032618116587400436,
-0.007973244413733482,
0.010785532183945179,
-0.0009090965031646192,
-0.021305333822965622,
-0.027663299813866615,
-0.0136019391939044,
0.01965496875345707,
-0.06780917942523956,
-0.007860638201236725,
-0.0015466429758816957,
-0.018293239176273346,
-0.02911629155278206,
0.013283486478030682,
0.028312401846051216,
0.0055581796914339066,
0.03437751904129982,
-0.016226347535848618,
-0.013482287526130676,
0.016859913244843483,
0.041915666311979294,
-0.049389973282814026,
0.001307406579144299,
-0.004841087851673365,
-0.024451207369565964,
0.04594521224498749,
0.010583935305476189,
0.04133571311831474,
0.014278583228588104,
0.02593328431248665,
-0.0025642625987529755,
-0.0063802083022892475,
-0.0010402878979220986,
-0.056549184024333954,
-0.016222186386585236,
0.034291669726371765,
-0.02444552443921566,
-0.039129432290792465,
-0.0014664113987237215,
0.007250444032251835,
-0.002326773712411523,
0.027525052428245544,
0.03921383246779442,
0.03376178443431854,
-0.006101544015109539,
-0.02500912733376026,
-0.01738050766289234,
0.06856559216976166,
0.06992225348949432,
-0.029842307791113853,
-0.0074754394590854645,
0.01869962178170681
] |
Introducing Würstchen: Fast Diffusion for Image Generation | dome272 | September 13, 2023 | wuerstchen | diffusion, diffusers, text-to-image | https://huggingface.co/blog/wuerstchen | # Introducing Würstchen: Fast Diffusion for Image Generation | [
0.038704048842191696,
-0.003771933726966381,
0.1129947155714035,
-0.023186739534139633,
0.0725417509675026,
0.025208892300724983,
-0.06519784033298492,
0.0457611046731472,
-0.029444579035043716,
-0.10316792875528336,
-0.0879572257399559,
-0.005319412797689438,
0.020079009234905243,
0.029971210286021233,
0.016359416767954826,
0.031158840283751488,
0.046471595764160156,
0.004883632063865662,
0.012516128830611706,
0.00384962628595531,
-0.04200679808855057,
-0.0630163699388504,
0.0440366268157959,
-0.01662302389740944,
-0.01990182138979435,
-0.012092862278223038,
-0.00010266085882904008,
-0.020789431408047676,
-0.025599561631679535,
-0.018650153651833534,
-0.0749318078160286,
0.007337063085287809,
0.05748274177312851,
-0.009615503251552582,
0.008471079170703888,
-0.006694055628031492,
-0.05106540769338608,
0.05804871767759323,
-0.025393079966306686,
-0.03160969540476799,
-0.024273918941617012,
0.008688440546393394,
0.04063502326607704,
0.02797376736998558,
-0.021465666592121124,
-0.006341960746794939,
-0.22881825268268585,
0.1104130744934082,
-0.06020087003707886,
-0.02960645779967308,
-0.06417026370763779,
0.0046134209260344505,
-0.04636061564087868,
-0.002766782185062766,
0.006987917702645063,
0.059436358511447906,
0.030035892501473427,
-0.04459008947014809,
0.02195652388036251,
-0.044931601732969284,
0.05930434912443161,
-0.05861271917819977,
-0.020555809140205383,
0.08454619348049164,
0.01375010795891285,
0.06128121167421341,
0.026110000908374786,
0.01528615690767765,
-0.07315780967473984,
-0.006746462546288967,
0.04681079089641571,
-0.07257125526666641,
-0.013822298496961594,
-0.008648649789392948,
0.048620134592056274,
-0.013151920400559902,
-0.016344798728823662,
0.028175540268421173,
0.04565772786736488,
0.04833178222179413,
0.050609104335308075,
0.002540617948397994,
0.1177409365773201,
0.05893822759389877,
0.004738292191177607,
0.008599817752838135,
0.04415524750947952,
0.011782766319811344,
-0.037835873663425446,
0.019515490159392357,
0.022289687767624855,
-0.12176492810249329,
0.010766011662781239,
0.02478918246924877,
0.04352790117263794,
-0.03648633509874344,
-0.015527072362601757,
0.026989147067070007,
0.046170223504304886,
0.01812218502163887,
0.00007011079287622124,
-0.010958629660308361,
0.024218725040555,
-0.039881277829408646,
-0.02847469225525856,
0.036557380110025406,
-0.0443950779736042,
-0.05851781740784645,
-0.05260399729013443,
0.037325285375118256,
0.034635595977306366,
0.06129257753491402,
0.01979406550526619,
-0.013587000779807568,
-0.029424460604786873,
0.02097117342054844,
0.021800585091114044,
-0.006564654875546694,
0.01994713395833969,
0.03566709905862808,
0.012544951401650906,
0.09742263704538345,
0.07680562138557434,
0.025117211043834686,
-0.006522790994495153,
0.05050710588693619,
0.04616662859916687,
0.08881179988384247,
-0.06346818059682846,
-0.011157631874084473,
0.011232334189116955,
-0.00961807370185852,
0.09755811095237732,
-0.058245591819286346,
0.06623367220163345,
-0.10662160813808441,
0.015484070405364037,
0.011560210026800632,
-0.020131349563598633,
0.0006595869781449437,
0.04286177456378937,
0.030214278027415276,
0.03088480420410633,
0.02955874241888523,
-0.008403133600950241,
-0.08201020210981369,
-0.020138679072260857,
-0.019907142966985703,
0.006956095341593027,
-0.01588539220392704,
-0.041991643607616425,
0.062364816665649414,
-0.04447958990931511,
-0.08451177179813385,
-0.04393874481320381,
0.09522945433855057,
-0.011766405776143074,
0.00014108374307397753,
-0.046611983329057693,
-0.043211206793785095,
-0.011103928089141846,
-0.017405366525053978,
0.004568854346871376,
-0.015260463580489159,
0.028153294697403908,
-0.09624830633401871,
0.022211873903870583,
0.018499111756682396,
0.033662013709545135,
-0.07341264188289642,
0.009725029580295086,
-0.0291539765894413,
0.012714777141809464,
-0.00793145690113306,
-0.021107852458953857,
0.031190669164061546,
0.03348315507173538,
0.05354033038020134,
0.031414248049259186,
0.018235253170132637,
-0.04404363036155701,
0.02911493554711342,
-0.0361950658261776,
0.02664777636528015,
0.052841562777757645,
-0.07908910512924194,
0.04543614014983177,
0.04387456923723221,
-0.002549010794609785,
0.03595289960503578,
-0.09583164751529694,
-0.07509398460388184,
0.04327384755015373,
-0.01779470592737198,
-0.006662254687398672,
-0.059258703142404556,
-0.04405577853322029,
0.06753649562597275,
0.014672352932393551,
0.0883459821343422,
0.0034203447867184877,
0.008177694864571095,
0.04052020236849785,
-0.03550199046730995,
-0.08224137872457504,
-0.020690687000751495,
0.015976939350366592,
0.007264426443725824,
0.04148831218481064,
-0.017777200788259506,
-0.04196246713399887,
-0.1063227578997612,
0.05928793177008629,
-0.06427677720785141,
-0.018834661692380905,
0.05353359133005142,
-0.03122306987643242,
-0.027368366718292236,
-0.01321130245923996,
-0.03467227891087532,
0.09293440729379654,
0.025230899453163147,
-0.03628421947360039,
0.05355525016784668,
-0.0056512863375246525,
0.08428384363651276,
0.059141453355550766,
-0.03174462541937828,
0.10271138697862625,
-0.10630250722169876,
-0.028747310861945152,
-0.04096890240907669,
-0.004742206074297428,
0.0289694145321846,
0.07010480761528015,
0.01587405987083912,
0.009608439169824123,
-0.0010868703247979283,
0.0762660875916481,
-0.04332267493009567,
0.04243152588605881,
-0.012028483673930168,
-0.021278919652104378,
0.034011270850896835,
-0.026019679382443428,
-0.048118770122528076,
0.09990324079990387,
0.03370770439505577,
-0.03231249377131462,
-0.04105808585882187,
0.006314088124781847,
0.08336573839187622,
0.023645097389817238,
-0.033145174384117126,
0.05917597562074661,
-0.02662976086139679,
0.0018149345414713025,
-0.046488236635923386,
0.0025670842733234167,
0.022510454058647156,
0.01964101940393448,
-0.02270182967185974,
0.04817064106464386,
-0.03441127389669418,
-0.007551124785095453,
-0.017957933247089386,
-0.007820969447493553,
-0.005664733238518238,
0.0525636188685894,
0.03146304935216904,
0.004873090889304876,
0.004980532918125391,
0.007839423604309559,
0.0028487187810242176,
-0.012545501813292503,
-0.02013254538178444,
0.04895865172147751,
-0.009647166356444359,
0.010072876699268818,
-0.02616819180548191,
-0.0055974810384213924,
0.01438912283629179,
0.059482425451278687,
0.014021013863384724,
0.047544434666633606,
-0.014786699786782265,
0.052124880254268646,
-0.009972033090889454,
-0.05104992538690567,
0.03644781932234764,
0.0033129481598734856,
0.019115963950753212,
-0.010726275853812695,
0.013658084906637669,
0.021061325445771217,
-0.0026263820473104715,
0.007902847602963448,
-0.02320883609354496,
-0.05679750815033913,
-0.014650629833340645,
0.01755385473370552,
-0.036938391625881195,
-0.021389160305261612,
0.01394606102257967,
-0.05814354121685028,
0.04695263132452965,
-0.02735619805753231,
0.008270079270005226,
-0.1348586082458496,
-0.062356073409318924,
0.016994792968034744,
0.04144807532429695,
-0.02816760540008545,
-0.03988374024629593,
0.040492840111255646,
-0.04455873370170593,
-0.016787618398666382,
-0.011949386447668076,
-0.005382425617426634,
0.023107735440135002,
0.014506434090435505,
-0.03206329792737961,
0.0022524604573845863,
0.011499960906803608,
-0.009817004203796387,
0.01631942205131054,
-0.024500975385308266,
0.0300996582955122,
-0.03146970272064209,
0.054757703095674515,
0.02284168265759945,
-0.008563229814171791,
-0.011428835801780224,
0.018597863614559174,
0.021743182092905045,
-0.008864226751029491,
0.015600389800965786,
-0.027891069650650024,
-0.029288599267601967,
0.009446218609809875,
-0.013516375795006752,
0.05098070949316025,
-0.036308594048023224,
0.019389810040593147,
0.01697339490056038,
-0.012505155056715012,
0.0055194576270878315,
-0.009200764819979668,
0.018539348617196083,
0.022314317524433136,
0.0029770454857498407,
-0.006428553722798824,
-0.024593103677034378,
-0.018996264785528183,
0.023879598826169968,
0.012230766005814075,
0.07257506996393204,
-0.02868231013417244,
-0.035588812083005905,
-0.00044880370842292905,
0.03795512393116951,
0.03927650302648544,
-0.00025413764524273574,
0.023394469171762466,
-0.04394373670220375,
0.0392826572060585,
0.036319199949502945,
-0.030738340690732002,
-0.02960345521569252,
0.005184879992157221,
0.033103495836257935,
-0.00870062131434679,
-0.05569329112768173,
0.06988658010959625,
-0.02526896446943283,
0.031256016343832016,
-0.0294510368257761,
0.03759588673710823,
-0.00014489435125142336,
-0.026657337322831154,
-0.008649277500808239,
0.019589701667428017,
-0.014270654879510403,
0.033948589116334915,
-0.03454478457570076,
-0.023995988070964813,
0.07094518095254898,
0.006769361440092325,
-0.0008748455438762903,
-0.03459847718477249,
0.03336857631802559,
-0.016625816002488136,
0.006907974369823933,
0.029853399842977524,
0.01233341358602047,
-0.011709910817444324,
0.027269037440419197,
0.03997543081641197,
0.016883915290236473,
-0.02069234848022461,
0.001102727372199297,
-0.050815384835004807,
0.02068984881043434,
0.029858648777008057,
0.033337101340293884,
-0.01667463593184948,
0.0033957986161112785,
-0.0061972239054739475,
0.04671592265367508,
-0.03472144156694412,
-0.05471259355545044,
0.005137220025062561,
-0.0009692206513136625,
0.015889661386609077,
-0.008486516773700714,
-0.022180618718266487,
0.013328544795513153,
0.035118766129016876,
0.04595047980546951,
-0.015771208330988884,
-0.014273211359977722,
-0.02025817707180977,
0.01729683391749859,
-0.018080472946166992,
-0.008878358639776707,
-0.0668795108795166,
-0.05652519315481186,
-0.003966478165239096,
-0.01346368808299303,
0.04873419925570488,
0.005924431141465902,
-0.023197509348392487,
0.002991259563714266,
-0.00875807274132967,
-0.006701839156448841,
-0.005655578337609768,
-0.022255679592490196,
0.0013322621816769242,
-0.03494449704885483,
-0.000827747629955411,
0.027671920135617256,
-0.001210748334415257,
0.04801564663648605,
-0.0023374510928988457,
-0.03785841539502144,
0.005907254759222269,
-0.0247296504676342,
-0.06032311171293259,
-0.011862319894134998,
0.03857216238975525,
0.03403737023472786,
0.020185528323054314,
0.04708508402109146,
0.004888627212494612,
-0.020465100184082985,
0.009061779826879501,
0.00982601661235094,
0.02850966528058052,
0.03422325477004051,
-0.016947004944086075,
-0.04442489892244339,
0.017137419432401657,
0.04685460776090622,
0.02438022568821907,
-0.007398901507258415,
-0.0168247539550066,
0.0025331410579383373,
0.03558185324072838,
0.026134183630347252,
0.019832897931337357,
-0.06395784765481949,
0.015640011057257652,
-0.03360151872038841,
0.0005846035783179104,
0.022087588906288147,
-0.007992384023964405,
0.02133006416261196,
0.026642296463251114,
-0.00016419123858213425,
0.016641872003674507,
-0.004539449233561754,
-0.0174375232309103,
0.024901902303099632,
0.039864081889390945,
-0.004538981709629297,
0.023839078843593597,
0.01699158176779747,
-0.0123362448066473,
-0.003273969516158104,
0.020282795652747154,
0.05030084773898125,
0.008018224500119686,
-0.0036679310724139214,
0.011286287568509579,
0.016958685591816902,
0.0030992485117167234,
-0.008317134343087673,
0.031155811622738838,
-0.008380289189517498,
-0.0013726558536291122,
0.006802595220506191,
-0.01109758485108614,
0.029492054134607315,
0.018894942477345467,
-0.03407968580722809,
-0.03121810033917427,
-0.005190282594412565,
-0.003339936723932624,
0.027115438133478165,
-0.007820479571819305,
-0.011472918093204498,
-0.02324678748846054,
0.007510998286306858,
-0.008314299397170544,
-0.009953813627362251,
-0.015585407614707947,
-0.004391671158373356,
-0.00007822007319191471,
0.02346036583185196,
0.02169639989733696,
-0.02971239946782589,
-0.049057088792324066,
-0.04172496497631073,
-0.03225003927946091,
-0.017743000760674477,
0.04089498519897461,
0.0014911700272932649,
0.017592690885066986,
-0.009231881238520145,
0.027221713215112686,
-0.0012001844588667154,
0.01784483529627323,
0.018741201609373093,
0.008150294423103333,
0.001119667082093656,
0.009981182403862476,
-0.043185923248529434,
0.04303082451224327,
0.03968806192278862,
0.004614510573446751,
0.0019759610295295715,
0.002991763409227133,
0.018540730699896812,
0.0227639302611351,
-0.032887671142816544,
0.05767885595560074,
0.002641367493197322,
0.026720279827713966,
-0.021983981132507324,
0.003715111408382654,
-0.010191235691308975,
-0.00638163136318326,
-0.048311747610569,
0.009900596924126148,
0.024326805025339127,
-0.010103501379489899,
0.020683394744992256,
0.028329836204648018,
0.005580643657594919,
-0.03751573711633682,
0.0048809964209795,
-0.035864245146512985,
0.003850397653877735,
0.02472924068570137,
0.030667118728160858,
-0.057597335427999496,
0.016668250784277916,
-0.01033488567918539,
-0.03505323827266693,
0.02354271151125431,
0.028099780902266502,
-0.00040913638076744974,
0.0009554686257615685,
0.030350852757692337,
0.005069962702691555,
-0.04097902029752731,
0.021567905321717262,
0.03024405427277088,
0.006841317284852266,
0.022511059418320656,
-0.015396554954349995,
0.0062899040058255196,
0.009212765842676163,
0.004699914250522852,
0.012334398925304413,
0.04214128851890564,
-0.006490251515060663,
0.020308412611484528,
0.0016212855698540807,
0.03545757755637169,
-0.008319109678268433,
-0.042812760919332504,
-0.05161135643720627,
0.0309259295463562,
0.0077153099700808525,
-0.03524297848343849,
0.006101202219724655,
0.03359284996986389,
0.03330483287572861,
-0.025939270853996277,
-0.043041396886110306,
-0.001496381824836135,
-0.052656032145023346,
0.052185967564582825,
0.004757891409099102,
-0.022525547072291374,
-0.0013215276412665844,
-0.04333527386188507,
0.06044043228030205,
0.011637337505817413,
0.036277852952480316,
-0.025722144171595573,
-0.010534903965890408,
0.017275044694542885,
0.020009353756904602,
0.02264380268752575,
0.000936695490963757,
-0.01645989529788494,
0.0024313442409038544,
0.043169476091861725,
-0.02659969963133335,
0.010324404574930668,
0.00015499100845772773,
-0.012692359276115894,
0.032915789633989334,
-0.0036413553170859814,
-0.011501391418278217,
-0.019978249445557594,
0.038165703415870667,
-0.023874228820204735,
-0.0444977730512619,
-0.003453872399404645,
-0.05646941438317299,
-0.02711981162428856,
0.02798628620803356,
0.038819894194602966,
-0.026782171800732613,
-0.0197158083319664,
0.0016747714253142476,
0.02020922861993313,
-0.0017581532010808587,
0.014745031483471394,
0.01178337074816227,
0.00927241612225771,
0.007195807062089443,
0.048787202686071396,
-0.02684793993830681,
-0.03915194422006607,
-0.03338604047894478,
0.04590443894267082,
-0.006764353718608618,
-0.007802185602486134,
0.01612815447151661,
0.003304067300632596,
-0.026719102635979652,
0.009377178736031055,
-0.04428575560450554,
0.02046218514442444,
0.04941263049840927,
0.038181472569704056,
-0.01122988946735859,
0.04514443874359131,
-0.01688101515173912,
-0.01642637699842453,
-0.005614724941551685,
-0.024198360741138458,
-0.002880346029996872,
0.006380939856171608,
0.03388841450214386,
0.025942740961909294,
0.0031373240053653717,
-0.03656744211912155,
-0.03824145719408989,
0.002240450121462345,
-0.050996001809835434,
0.01902911812067032,
0.010434834286570549,
0.025472627952694893,
-0.03143678978085518,
-0.000988706131465733,
-0.0013092153239995241,
0.015171410515904427,
-0.015688391402363777,
-0.009274601936340332,
0.023374978452920914,
-0.02074223756790161,
-0.031012531369924545,
-0.012388285249471664,
0.03484319522976875,
0.013122433796525002,
0.015014990232884884,
0.046121641993522644,
0.019060589373111725,
-0.031936511397361755,
-0.04325592517852783,
0.04084445908665657,
0.0029433066956698895,
0.017610950395464897,
-0.05759696662425995,
-0.0351778008043766,
-0.00418538274243474,
-0.012866703793406487,
-0.012766150757670403,
0.025751005858182907,
-0.037273015826940536,
-0.007801268249750137,
-0.016488753259181976,
0.005545911844819784,
-0.043027132749557495,
-0.008732413873076439,
0.04342403635382652,
0.02211424894630909,
0.017850810661911964,
-0.019117973744869232,
-0.011986875906586647,
-0.013910762965679169,
0.013872607611119747,
0.023871341720223427,
0.038104429841041565,
0.0006748425075784326,
-0.01042941678315401,
-0.0438421368598938,
-0.0007241860148496926,
-0.041396792978048325,
-0.04556264728307724,
0.011210021562874317,
0.01429849024862051,
-0.030135823413729668,
-0.04104010760784149,
-0.028872434049844742,
0.02563989907503128,
-0.019238891080021858,
0.03461446613073349,
0.002364532556384802,
-0.04038144275546074,
0.0319574736058712,
0.01202421635389328,
-0.044212453067302704,
0.02774488367140293,
0.023185819387435913,
0.0054754409939050674,
0.045573920011520386,
0.01533884834498167,
0.014786716550588608,
-0.007716003805398941,
-0.04965921863913536,
0.004656440578401089,
-0.0091288136318326,
0.007937569171190262,
-0.030616195872426033,
0.05656738206744194,
0.004000806249678135,
-0.04573604837059975,
-0.06419004499912262,
0.01151145901530981,
0.005285072606056929,
-0.0000515042083861772,
-0.012647930532693863,
0.002057959558442235,
0.005636656656861305,
-0.017265308648347855,
0.027689719572663307,
0.0017152497312054038,
0.05714118853211403,
0.06619265675544739,
0.00336521677672863,
-0.0008521522395312786,
0.01850033923983574
] |
Introducing Würstchen: Fast Diffusion for Image Generation | dome272 | September 13, 2023 | wuerstchen | diffusion, diffusers, text-to-image | https://huggingface.co/blog/wuerstchen | Optimisation Technique 1: Flash Attention Starting from version 2.0, PyTorch has integrated a highly optimised and resource-friendly version of the attention mechanism called torch.nn.functional.scaled_dot_product_attention or SDPA. Depending on the nature of the input, this function taps into multiple underlying optimisations. Its performance and memory efficiency outshine the traditional attention model. Remarkably, the SDPA function mirrors the characteristics of the flash attention technique, as highlighted in the research paper Fast and Memory-Efficient Exact Attention with IO-Awareness penned by Dao and team. If you're using Diffusers with PyTorch 2.0 or a later version, and the SDPA function is accessible, these enhancements are automatically applied. Get started by setting up torch 2.0 or a newer version using the official guidelines! python images = pipeline(caption, height=1024, width=1536, prior_timesteps=DEFAULT_STAGE_C_TIMESTEPS, prior_guidance_scale=4.0, num_images_per_prompt=4).images For an in-depth look at how diffusers leverages SDPA, check out the documentation. If you're on a version of Pytorch earlier than 2.0, you can still achieve memory-efficient attention using the xFormers library: Python pipeline.enable_xformers_memory_efficient_attention() | [
0.07522288709878922,
0.031475383788347244,
0.022742392495274544,
0.01282685250043869,
-0.01113709807395935,
0.028693990781903267,
-0.02600305713713169,
0.05066762864589691,
-0.02139665000140667,
-0.030288580805063248,
-0.03239062428474426,
0.050174158066511154,
-0.03777535259723663,
0.04220333695411682,
0.023104967549443245,
-0.0027641591150313616,
0.08332972973585129,
0.0011291068512946367,
-0.025691717863082886,
0.0734507143497467,
0.016192924231290817,
-0.0556119866669178,
0.03346318379044533,
-0.0371258482336998,
-0.043792158365249634,
-0.04488421976566315,
0.002642667153850198,
0.040744975209236145,
-0.03629935905337334,
-0.009564158506691456,
-0.11008170247077942,
-0.025531070306897163,
0.07772785425186157,
-0.02513938397169113,
0.024089165031909943,
-0.02120562270283699,
-0.08353324979543686,
0.04728672280907631,
0.006799745373427868,
-0.03644997254014015,
-0.051611680537462234,
-0.047245074063539505,
-0.11472561210393906,
-0.0006274394690990448,
-0.002814369974657893,
-0.016721026971936226,
-0.13446259498596191,
0.04928368330001831,
-0.02267090231180191,
-0.0016229711472988129,
-0.11099681258201599,
0.08980527520179749,
-0.029068386182188988,
0.007959436625242233,
0.0050910296849906445,
0.04143155366182327,
-0.026587124913930893,
0.027124471962451935,
0.030368825420737267,
-0.032881204038858414,
0.046234771609306335,
-0.015149037353694439,
-0.012977080419659615,
0.0933532565832138,
0.03865259140729904,
-0.010579784400761127,
0.034746963530778885,
0.017327753826975822,
-0.010868486948311329,
-0.017391201108694077,
0.08527775853872299,
-0.019964873790740967,
-0.0331999808549881,
0.015682552009820938,
-0.07409398257732391,
-0.04139353334903717,
0.04701783135533333,
0.010924934409558773,
-0.008550584316253662,
0.013865821994841099,
0.04125559329986572,
0.04530435800552368,
0.08035099506378174,
0.035068362951278687,
0.038451507687568665,
0.041960228234529495,
0.04524553194642067,
-0.044720448553562164,
-0.051456183195114136,
-0.0269726924598217,
-0.011052190326154232,
-0.04791061952710152,
0.02133335918188095,
0.00895529892295599,
0.03834915533661842,
0.010080534964799881,
-0.034909676760435104,
-0.029332080855965614,
0.02264982834458351,
-0.039244432002305984,
0.016171658411622047,
-0.0967610627412796,
0.01666288822889328,
-0.013158528134226799,
-0.05101523920893669,
0.05221441388130188,
-0.008749623782932758,
-0.049256518483161926,
-0.04122193902730942,
0.07174257189035416,
-0.08691295981407166,
0.0731111392378807,
-0.02053750865161419,
0.040150437504053116,
-0.014432954601943493,
-0.10692907869815826,
-0.06001584604382515,
0.06273750960826874,
-0.02720164693892002,
0.04336316138505936,
-0.01895110122859478,
0.06692948192358017,
0.08188039064407349,
0.03759148344397545,
-0.00885909516364336,
0.04674975574016571,
0.03233494609594345,
0.04938650503754616,
-0.03234190121293068,
0.0031941947527229786,
0.01654910482466221,
-0.06546881049871445,
0.04176197573542595,
-0.014912758022546768,
0.02470242790877819,
-0.06352996826171875,
-0.012585854157805443,
-0.02369350753724575,
0.02230818010866642,
-0.009561448357999325,
0.01064497884362936,
0.0333193801343441,
0.0024213544093072414,
-0.01291173417121172,
0.07996934652328491,
-0.05380265414714813,
-0.08427602052688599,
0.02821909822523594,
0.0232839435338974,
0.030751464888453484,
-0.041541606187820435,
0.03950778394937515,
-0.06345108151435852,
-0.02426115795969963,
-0.07624036818742752,
0.05800851061940193,
0.022597162052989006,
-0.06874582171440125,
-0.06168224662542343,
-0.024296032264828682,
0.04736527428030968,
-0.010710186325013638,
-0.012100464664399624,
-0.009907043538987637,
0.022588267922401428,
0.012521292082965374,
0.060695238411426544,
0.05301779881119728,
0.02034563384950161,
-0.02840503118932247,
0.04620562493801117,
0.06342825293540955,
0.03220342472195625,
0.02075820229947567,
-0.049544431269168854,
0.021612951532006264,
0.05088891461491585,
0.056515391916036606,
-0.013881050981581211,
-0.025571227073669434,
-0.05102917551994324,
0.04064672440290451,
-0.013267549686133862,
0.08892493695020676,
0.023015068843960762,
-0.11985465884208679,
0.07304071635007858,
0.01027339231222868,
-0.024584025144577026,
-0.029538268223404884,
-0.07001999765634537,
0.015016281045973301,
-0.021420495584607124,
-0.08145131170749664,
0.05388481542468071,
-0.05428676679730415,
-0.05144548416137695,
0.06600422412157059,
0.013782200403511524,
-0.016346406191587448,
0.01840398646891117,
0.01539577916264534,
-0.038208961486816406,
-0.001558955293148756,
0.044140029698610306,
-0.0445636548101902,
0.03186625614762306,
-0.004772033542394638,
0.045434724539518356,
-0.005198589991778135,
0.000017868778741103597,
-0.13484981656074524,
-0.016458021476864815,
-0.048144180327653885,
-0.007708413060754538,
-0.0041961814276874065,
-0.02666674368083477,
0.016326427459716797,
-0.013825311325490475,
0.010842944495379925,
0.10231328010559082,
0.007089870050549507,
-0.015837721526622772,
0.03418951481580734,
-0.02549964375793934,
0.09107843041419983,
0.07873910665512085,
0.0000023418967884936137,
0.06648346781730652,
-0.05806036293506622,
-0.040597137063741684,
-0.07122192531824112,
0.0034838924184441566,
0.039732348173856735,
-0.04398652911186218,
-0.08060850203037262,
-0.012393084354698658,
0.10873828083276749,
0.013783581554889679,
-0.06432327628135681,
0.011583182960748672,
0.007470952812582254,
-0.012272280640900135,
0.019851939752697945,
0.010171971283853054,
0.007181342225521803,
0.037466563284397125,
0.015920009464025497,
0.014453765004873276,
0.016064178198575974,
-0.051081668585538864,
0.08981702476739883,
-0.014883345924317837,
-0.05065951868891716,
0.04927113279700279,
0.032599303871393204,
-0.01657518744468689,
-0.011569150723516941,
0.007789286784827709,
0.05208615958690643,
0.030709775164723396,
0.014997272752225399,
-0.012670258060097694,
0.000018020104107563384,
-0.02735872194170952,
-0.03702808544039726,
0.034896451979875565,
-0.005975670646876097,
0.03512203320860863,
0.018598411232233047,
-0.015033792704343796,
0.04498990997672081,
0.02681877464056015,
0.007942000404000282,
-0.026429440826177597,
0.005933630745857954,
0.05662180855870247,
-0.04448534920811653,
-0.024847548454999924,
-0.031616900116205215,
-0.04807037115097046,
-0.0016196755459532142,
0.06665662676095963,
0.022388899698853493,
0.04134979844093323,
0.005440072156488895,
-0.020730772987008095,
0.017445795238018036,
-0.04379237815737724,
0.013048741035163403,
-0.023909736424684525,
-0.0011120152194052935,
0.032296571880578995,
-0.025299469009041786,
-0.024575024843215942,
0.03325292840600014,
-0.043754830956459045,
-0.044387634843587875,
-0.023037122562527657,
-0.017769871279597282,
-0.026007426902651787,
-0.000606051180511713,
0.0012753541814163327,
-0.008997339755296707,
-0.03790462389588356,
-0.022135231643915176,
-0.01947074569761753,
0.03782704845070839,
-0.09079623967409134,
-0.01342184841632843,
-0.01510489173233509,
-0.005999073851853609,
0.008021900430321693,
-0.03127172216773033,
-0.003115385305136442,
0.02470175176858902,
-0.02435261383652687,
0.0067738560028374195,
-0.021131914108991623,
0.009318850934505463,
-0.028938161209225655,
0.006631308235228062,
-0.014751187525689602,
0.023364949971437454,
0.02292393520474434,
0.008454343304038048,
0.02116687223315239,
0.024214206263422966,
-0.006219107657670975,
0.03226771578192711,
-0.015098401345312595,
-0.009429327212274075,
-0.00506387185305357,
-0.006895408965647221,
0.022492628544569016,
-0.006578938569873571,
0.027970122173428535,
0.021273571997880936,
-0.04063346982002258,
-0.03333196043968201,
0.01836654357612133,
0.028111519291996956,
-0.02846314013004303,
0.0379655621945858,
-0.012394063174724579,
-0.0322299487888813,
-0.0003903062315657735,
0.007048368453979492,
0.0002550235658418387,
-0.00012755028728861362,
0.003402592381462455,
-0.00047010224079713225,
0.06480053812265396,
-0.04753263667225838,
0.0028813553508371115,
-0.04370073601603508,
0.08043039590120316,
-0.037446279078722,
-0.04431568458676338,
-0.017562998458743095,
0.0009777076775208116,
0.03135804831981659,
0.022697173058986664,
0.008433508686721325,
0.011556445620954037,
0.025273442268371582,
0.028460580855607986,
0.04082823917269707,
-0.020906561985611916,
0.05137212947010994,
0.025256475433707237,
0.014072415418922901,
-0.04128464683890343,
0.04648186266422272,
0.021015193313360214,
-0.03738660737872124,
-0.041210323572158813,
0.033481333404779434,
-0.014033596031367779,
0.07472957670688629,
0.01216942723840475,
0.0012987724039703608,
-0.011125823482871056,
0.034001413732767105,
0.01659013330936432,
0.0257475096732378,
0.04601919651031494,
0.015999270603060722,
-0.014303735457360744,
-0.015868131071329117,
0.00005119754860061221,
-0.0451284684240818,
0.04558976739645004,
0.012825153768062592,
-0.003180471248924732,
-0.060592953115701675,
0.03131498023867607,
-0.04202291741967201,
0.018098946660757065,
0.02080310322344303,
0.02424461580812931,
-0.03477529436349869,
-0.036925189197063446,
0.0014575904933735728,
0.016343196853995323,
-0.0008655001292936504,
-0.005624852143228054,
0.00042637158185243607,
0.018722321838140488,
-0.03556869179010391,
-0.04915538802742958,
0.03606757894158363,
-0.03517920523881912,
-0.008339894004166126,
-0.06789092719554901,
-0.01630101352930069,
0.0366690419614315,
-0.007021715864539146,
-0.01596182957291603,
0.018021754920482635,
-0.004337975289672613,
0.009545760229229927,
0.022967683151364326,
0.040077850222587585,
0.006769395899027586,
0.004027341492474079,
-0.06313644349575043,
0.021010715514421463,
-0.076912060379982,
0.03293440863490105,
-0.026344817131757736,
-0.045092687010765076,
0.06563719362020493,
0.02081831730902195,
0.03221379965543747,
-0.005015732254832983,
0.019905859604477882,
-0.0414792038500309,
-0.020339304581284523,
0.00824445579200983,
0.003760238643735647,
0.016709791496396065,
0.008594758808612823,
-0.022628486156463623,
-0.044157639145851135,
0.031087223440408707,
-0.007144141010940075,
-0.02732844464480877,
-0.012765920720994473,
-0.027003534138202667,
0.0690767839550972,
-0.02870698645710945,
0.0021737879142165184,
-0.000569130468647927,
-0.04205687344074249,
0.023057036101818085,
-0.042420342564582825,
0.03312333673238754,
0.05229562520980835,
-0.003587195882573724,
-0.04505249857902527,
0.0016628738958388567,
0.0711526870727539,
-0.04217682406306267,
-0.01130401249974966,
-0.024911679327487946,
0.01581810973584652,
0.021798327565193176,
0.02234658971428871,
0.019633818417787552,
-0.04255489632487297,
0.0378960557281971,
0.02824121154844761,
-0.003283353755250573,
-0.005247093271464109,
-0.04296654462814331,
0.028091924265027046,
-0.00726292422041297,
0.016350919380784035,
0.001297001144848764,
-0.016790706664323807,
0.0022320181597024202,
0.022469285875558853,
0.00473319785669446,
0.03188014402985573,
0.05578264221549034,
-0.014151559211313725,
-0.011580783873796463,
-0.008980955928564072,
-0.001269258209504187,
0.015745675191283226,
0.008328893221914768,
0.03237103298306465,
0.06426577270030975,
-0.017818382009863853,
0.05203713849186897,
-0.005460066255182028,
0.008381746709346771,
0.006079981569200754,
0.008312396705150604,
-0.028976546600461006,
0.0035456104669719934,
0.05672392621636391,
-0.020821411162614822,
-0.0630045011639595,
0.055723756551742554,
0.0045349812135100365,
0.028984805569052696,
0.019677843898534775,
0.02649044804275036,
-0.030392000451683998,
-0.03700859844684601,
-0.0322568342089653,
0.0261878352612257,
-0.0036181460600346327,
0.017671216279268265,
-0.00788961909711361,
-0.05854691565036774,
0.020385831594467163,
-0.017403829842805862,
-0.008414799347519875,
-0.03005100041627884,
-0.012270488776266575,
-0.015521222725510597,
-0.023811282590031624,
-0.0005522546707652509,
0.0010852321283891797,
0.029666103422641754,
0.015906210988759995,
-0.012963949702680111,
-0.0037993357982486486,
0.0491032749414444,
0.006778446491807699,
-0.04940323531627655,
0.01619556173682213,
0.03847651556134224,
-0.05370168760418892,
0.03851943463087082,
0.007892696186900139,
0.027489788830280304,
-0.0037951478734612465,
0.046221256256103516,
0.007416209205985069,
-0.017045585438609123,
-0.027019377797842026,
0.028567859902977943,
0.006098785903304815,
0.02869168482720852,
-0.014889266341924667,
-0.0037905750796198845,
-0.03424997255206108,
0.043940067291259766,
-0.05011868104338646,
-0.0031076185405254364,
0.06323592364788055,
-0.030751826241612434,
-0.005523010157048702,
-0.0327175073325634,
0.05425043776631355,
-0.02434545010328293,
-0.041162312030792236,
-0.015503917820751667,
-0.016637487336993217,
0.003374742344021797,
0.00877574272453785,
0.0007180116954259574,
0.04974894970655441,
0.0027910813223570585,
0.05606788769364357,
-0.05352376401424408,
0.018183108419179916,
0.018060272559523582,
-0.007708622608333826,
0.018404144793748856,
0.01544006448239088,
-0.039185430854558945,
0.004284373484551907,
0.02526247128844261,
0.011156944558024406,
0.013704213313758373,
0.01187594048678875,
-0.02511937916278839,
-0.05111020803451538,
0.00031621704692952335,
-0.015398526564240456,
0.029962807893753052,
-0.014108289033174515,
0.05230189487338066,
0.043231215327978134,
0.037791673094034195,
0.03552033752202988,
-0.03530840203166008,
0.03182200342416763,
-0.022379709407687187,
0.058495812118053436,
-0.004828132688999176,
0.01058195624500513,
-0.0044327303767204285,
-0.005638976581394672,
0.031048331409692764,
-0.02298836037516594,
0.0034610163420438766,
-0.017292022705078125,
-0.006248534191399813,
0.062042251229286194,
-0.01954459585249424,
-0.019076259806752205,
-0.04349910840392113,
0.04030396044254303,
-0.012283315882086754,
0.028851373121142387,
0.008681870065629482,
-0.031683847308158875,
-0.0032049757428467274,
0.015538634732365608,
0.005249311216175556,
0.030307145789265633,
0.03173680230975151,
0.010125606320798397,
0.0066761439666152,
0.023808326572179794,
-0.0018066545017063618,
-0.009005610831081867,
-0.034461889415979385,
0.014867306686937809,
-0.04062071070075035,
-0.01931617222726345,
-0.0008877420332282782,
0.056016694754362106,
-0.04314718768000603,
-0.009657226502895355,
-0.013569648377597332,
-0.05531294271349907,
0.00198424537666142,
-0.010955680161714554,
-0.014693591743707657,
-0.00572112575173378,
-0.0006466867635026574,
0.019257506355643272,
0.0003339002141728997,
-0.0044950214214622974,
0.0036104051396250725,
-0.021210890263319016,
0.010341353714466095,
0.04913058504462242,
0.000040000162698561326,
-0.01926829107105732,
-0.043637800961732864,
-0.015962405130267143,
0.026347467675805092,
-0.013540633954107761,
0.023300088942050934,
-0.01949126645922661,
-0.0018546420615166426,
0.01904415525496006,
-0.02975137159228325,
-0.03509609401226044,
0.03001890890300274,
0.014318661764264107,
0.017238929867744446,
-0.024667659774422646,
0.036588504910469055,
-0.0035688860807567835,
-0.043147340416908264,
0.011794127523899078,
0.020537080243229866,
-0.00015388823521789163,
0.016156373545527458,
0.0257299542427063,
0.015469116158783436,
-0.03100980632007122,
-0.010804746299982071,
-0.009792615659534931,
-0.022151488810777664,
-0.012325149029493332,
-0.017399385571479797,
-0.0014222677564248443,
0.04382764920592308,
0.01654134877026081,
0.03094402886927128,
-0.037027861922979355,
-0.006582422647625208,
0.03917548805475235,
0.02533869259059429,
0.029285011813044548,
0.05221307650208473,
0.00580984354019165,
-0.012148554436862469,
0.08050765097141266,
0.03727071359753609,
0.001934313797391951,
0.05722052976489067,
-0.023865655064582825,
0.02285485528409481,
-0.03578644618391991,
-0.0062071350403130054,
-0.03620036318898201,
-0.004906209651380777,
-0.032286226749420166,
-0.00019711002823896706,
-0.026515712961554527,
0.06636755168437958,
-0.00434583704918623,
0.02148842252790928,
-0.038841359317302704,
0.0059741283766925335,
-0.023967545479536057,
0.018669404089450836,
-0.01857861690223217,
-0.0027773668989539146,
0.06136465072631836,
0.05089978501200676,
0.01389923132956028,
-0.0016260601114481688,
-0.06266237050294876,
-0.0015222192741930485,
-0.028068864718079567,
-0.010928123258054256,
0.057190876454114914,
-0.0029666225891560316,
-0.003573583671823144,
-0.07261328399181366,
-0.02491520345211029,
0.022304274141788483,
-0.03852878883481026,
-0.009325630031526089,
0.0009479544241912663,
-0.05115780606865883,
-0.02547714114189148,
0.0017889286391437054,
0.008798855356872082,
-0.017763832584023476,
0.024538453668355942,
0.0014930072939023376,
-0.028114786371588707,
0.036701712757349014,
0.011112111620604992,
-0.033965449780225754,
-0.006675543263554573,
0.04135707765817642,
0.0026593825314193964,
0.03234230726957321,
0.013265874236822128,
0.020255032926797867,
-0.014006724581122398,
0.02771371230483055,
0.02004958502948284,
-0.028859848156571388,
-0.061248354613780975,
-0.04259181395173073,
0.02439173310995102,
0.0032240883447229862,
-0.015910783782601357,
-0.04487752541899681,
0.00004744780744658783,
-0.023855820298194885,
-0.008399464190006256,
0.0021077224519103765,
0.0064620464108884335,
0.03255125880241394,
0.003086563665419817,
0.014313523657619953,
-0.01524659339338541,
0.045397333800792694,
0.029040424153208733,
-0.01816726103425026,
0.007926246151328087,
-0.04056140035390854
] |
Introducing Würstchen: Fast Diffusion for Image Generation | dome272 | September 13, 2023 | wuerstchen | diffusion, diffusers, text-to-image | https://huggingface.co/blog/wuerstchen | Models on the Hub All checkpoints can also be seen on the Huggingface Hub. Multiple checkpoints, as well as future demos and model weights can be found there. Right now there are 3 checkpoints for the Prior available and 1 checkpoint for the Decoder. Take a look at the documentation where the checkpoints are explained and what the different Prior models are and can be used for. | [
0.008513775654137135,
-0.009404044598340988,
-0.01648033782839775,
-0.054039254784584045,
0.083391934633255,
0.06285664439201355,
0.023976944386959076,
0.04138997569680214,
-0.05971340090036392,
-0.058958180248737335,
-0.0012404160806909204,
0.01990424282848835,
-0.021067120134830475,
0.04906110092997551,
0.030838318169116974,
-0.09601233899593353,
-0.0020573954097926617,
-0.019834980368614197,
-0.025797532871365547,
0.023515157401561737,
0.04070724546909332,
-0.07738189399242401,
0.026266464963555336,
-0.020088648423552513,
-0.027911584824323654,
-0.06869006901979446,
0.043693676590919495,
0.016704367473721504,
0.023492474108934402,
0.013679658062756062,
-0.11049534380435944,
0.002717715222388506,
0.016698455438017845,
-0.06689561903476715,
0.07143329828977585,
0.040850210934877396,
-0.10699019581079483,
0.06071792170405388,
0.05449313670396805,
-0.010159731842577457,
-0.07289477437734604,
-0.014369973912835121,
-0.04025278612971306,
0.041872575879096985,
0.023676181212067604,
-0.013752466067671776,
-0.1343560814857483,
0.03729366138577461,
0.0007948558195494115,
-0.0018866652389988303,
-0.08008505403995514,
0.06466280668973923,
-0.036713290959596634,
0.04973607510328293,
0.0028666832949966192,
-0.05621275305747986,
-0.037403546273708344,
-0.059398356825113297,
0.0758432075381279,
0.04314536601305008,
0.05128232762217522,
0.032785821706056595,
0.01641567423939705,
0.04544689133763313,
0.01416270062327385,
0.0029268148355185986,
0.052851706743240356,
0.004640658851712942,
-0.028881320729851723,
0.01687876135110855,
0.03331277519464493,
-0.0395868718624115,
0.02916765958070755,
0.00951220840215683,
0.010220418684184551,
-0.03321481868624687,
-0.048013463616371155,
-0.003224320709705353,
-0.007176593411713839,
-0.03829671069979668,
0.04631679505109787,
-0.01232653297483921,
-0.006047969218343496,
0.012301364913582802,
-0.007727533113211393,
0.007021916564553976,
0.023408805951476097,
-0.06723248958587646,
-0.04310903325676918,
0.11251968145370483,
-0.018225638195872307,
-0.09299049526453018,
0.019856320694088936,
-0.017778417095541954,
0.06347765773534775,
-0.018446853384375572,
0.031356435269117355,
0.04739281162619591,
0.00359765044413507,
-0.009348511695861816,
-0.035586606711149216,
-0.08298216760158539,
0.042193539440631866,
-0.03223206847906113,
-0.020816223695874214,
-0.02633541077375412,
-0.012375380843877792,
-0.08619200438261032,
-0.018984824419021606,
-0.007876916788518429,
0.05098346993327141,
-0.08125856518745422,
-0.01160492654889822,
0.08824411034584045,
-0.07099920511245728,
0.04841691628098488,
0.014978758990764618,
-0.018784308806061745,
0.010773333720862865,
0.05081436038017273,
-0.012003038078546524,
0.10598453879356384,
0.028566205874085426,
0.027696480974555016,
0.07200983166694641,
0.05990183725953102,
-0.021372560411691666,
0.006004656199365854,
-0.035880252718925476,
-0.04523616284132004,
-0.007848858833312988,
-0.029160937294363976,
0.02810627967119217,
-0.01752489060163498,
0.035523321479558945,
-0.0924849882721901,
0.004558819346129894,
-0.05357673019170761,
0.02208884060382843,
-0.006462233606725931,
-0.08994138240814209,
0.04756005108356476,
-0.035802654922008514,
-0.033154282718896866,
0.04799463972449303,
-0.06408904492855072,
-0.1121751144528389,
0.050876837223768234,
-0.014834786765277386,
0.018727092072367668,
-0.07627027481794357,
0.038281962275505066,
0.011663265526294708,
-0.05154476687312126,
-0.03799133375287056,
0.04677130654454231,
0.006554618012160063,
0.008490090258419514,
-0.05493435263633728,
-0.04310372844338417,
-0.031151877716183662,
-0.022045500576496124,
-0.053882405161857605,
0.0037751111667603254,
0.011514090932905674,
-0.024952031672000885,
-0.012319921515882015,
0.0005445331917144358,
0.03522208333015442,
-0.0032676307018846273,
-0.010046320967376232,
-0.05144555866718292,
0.09710196405649185,
-0.036523304879665375,
-0.028948167338967323,
0.02537088468670845,
0.043343059718608856,
0.07713771611452103,
-0.03017597831785679,
0.005122086964547634,
-0.02931499294936657,
0.001048682606779039,
-0.03134654089808464,
0.045685429126024246,
0.06569156795740128,
-0.035352181643247604,
-0.008931408636271954,
0.030771812424063683,
-0.029827039688825607,
0.052240487188100815,
-0.0259010698646307,
-0.011296816170215607,
-0.01855950616300106,
0.03620658442378044,
-0.010168115608394146,
-0.06187187507748604,
-0.02382083237171173,
0.06874828785657883,
0.027110205963253975,
0.012621959671378136,
0.09582150727510452,
0.02980409748852253,
0.00953107699751854,
-0.01980598457157612,
-0.04114547744393349,
0.030112652108073235,
0.02114870585501194,
-0.05125758796930313,
0.028158562257885933,
0.01922905445098877,
0.050708137452602386,
-0.10044513642787933,
0.0012561670737341046,
-0.034844715148210526,
0.005362552125006914,
-0.02128791995346546,
-0.049686264246702194,
0.004605474881827831,
-0.02083204872906208,
-0.06506318598985672,
0.23648807406425476,
-0.0046812016516923904,
-0.04747679829597473,
0.021915506571531296,
-0.014675848186016083,
0.02541344426572323,
0.036867447197437286,
0.03942210227251053,
0.041325777769088745,
-0.058740802109241486,
-0.00716597493737936,
-0.09409837424755096,
-0.022546060383319855,
0.04004383087158203,
0.01179412193596363,
0.022834813222289085,
0.030768929049372673,
-0.03252563253045082,
0.046317633241415024,
-0.00771498354151845,
-0.01888308860361576,
-0.011120397597551346,
0.042577680200338364,
0.05885917693376541,
0.04526381939649582,
0.04434439539909363,
0.047300826758146286,
0.06571656465530396,
-0.10395696759223938,
0.0014517690287902951,
-0.05676284432411194,
0.04508364945650101,
0.006685346364974976,
-0.07482097297906876,
0.03653784841299057,
0.06434313207864761,
0.025485815480351448,
-0.032366588711738586,
-0.03142546862363815,
0.05766045302152634,
0.03994619846343994,
-0.00923875905573368,
-0.07843701541423798,
-0.063633494079113,
-0.018979374319314957,
-0.027513666078448296,
-0.015163853764533997,
-0.035863932222127914,
0.0300054419785738,
-0.024578958749771118,
0.05986437946557999,
-0.025943070650100708,
-0.00247399415820837,
0.011576881632208824,
0.0177073422819376,
0.007697535678744316,
0.004656078759580851,
0.007667360361665487,
-0.03784027323126793,
-0.00841528084129095,
0.012898813933134079,
-0.04521385580301285,
0.0346660278737545,
0.03741973638534546,
0.012573430314660072,
-0.002619105391204357,
0.021452633664011955,
-0.025441382080316544,
-0.02836522087454796,
0.030639855191111565,
0.016793139278888702,
0.03722267225384712,
-0.012077279388904572,
-0.015236076898872852,
-0.03412291035056114,
0.006845736876130104,
0.04812183976173401,
0.0122908316552639,
0.015575842931866646,
0.052685827016830444,
-0.04821087792515755,
0.05002399533987045,
0.005839050747454166,
-0.00942977424710989,
-0.048708926886320114,
0.04291761666536331,
0.002804794581606984,
0.022170474752783775,
-0.09440974146127701,
-0.0417461134493351,
-0.0068765562027692795,
0.002586251124739647,
-0.043335430324077606,
-0.05157989263534546,
0.00639850739389658,
-0.03052745759487152,
-0.000524717615917325,
-0.015210917219519615,
0.028887463733553886,
-0.010452955961227417,
0.055303797125816345,
-0.008297438733279705,
-0.08244888484477997,
0.029735857620835304,
-0.009912443347275257,
-0.012886470183730125,
0.06062353029847145,
0.0018303330289199948,
-0.04846785217523575,
0.016111968085169792,
-0.005746271461248398,
-0.032168008387088776,
-0.03962905704975128,
-0.03357871621847153,
0.04229002073407173,
-0.0026556041557341814,
0.022594502195715904,
-0.036665547639131546,
-0.03325529769062996,
-0.024221304804086685,
-0.05467504262924194,
0.005081674084067345,
-0.031630467623472214,
0.0016252921195700765,
-0.019445540383458138,
0.028053175657987595,
0.04228272661566734,
-0.017838522791862488,
-0.0023046466521918774,
0.023078834637999535,
0.007002569269388914,
0.0011234969133511186,
-0.0005591779481619596,
0.0210457444190979,
0.024521006271243095,
0.01908470131456852,
0.030975963920354843,
-0.0009792661294341087,
-0.020755212754011154,
-0.029395122081041336,
0.014994196593761444,
0.03668679669499397,
0.024451179429888725,
-0.024941030889749527,
0.014262246899306774,
0.027514146640896797,
0.002504108240827918,
-0.03808792307972908,
-0.07469998300075531,
0.014276441186666489,
-0.018055599182844162,
0.00044198185787536204,
-0.05101587995886803,
0.02521236054599285,
0.0007987954886630177,
-0.0008004632545635104,
-0.0016950546996667981,
-0.007574135437607765,
-0.009938989765942097,
0.05509268864989281,
-0.003149263560771942,
0.014933020807802677,
-0.03472680598497391,
0.031073173508048058,
-0.004325196612626314,
-0.03807155415415764,
0.07381423562765121,
0.007540110964328051,
-0.0024875758681446314,
0.019509626552462578,
-0.037457674741744995,
-0.007961640134453773,
0.013555319979786873,
-0.026640456169843674,
0.03730490058660507,
0.003147175768390298,
0.034490663558244705,
0.015958504751324654,
0.013663863763213158,
-0.024780062958598137,
0.03538117930293083,
-0.014704207889735699,
0.011731804348528385,
0.005843273364007473,
0.01506301760673523,
0.026622675359249115,
-0.014743347652256489,
0.010143030434846878,
0.011904303915798664,
-0.034273672848939896,
-0.027096722275018692,
0.011200151406228542,
0.013851086609065533,
0.023852916434407234,
-0.02320523001253605,
-0.03236089646816254,
0.013586359098553658,
-0.03059670329093933,
-0.021492689847946167,
-0.003128971438854933,
-0.013335991650819778,
-0.006019706837832928,
0.016352320089936256,
0.015298990532755852,
-0.012999220751225948,
0.010945335030555725,
-0.03177217021584511,
0.025949561968445778,
-0.01080403197556734,
0.03565193712711334,
-0.005287552252411842,
-0.02109023742377758,
0.0030326072592288256,
0.006952982861548662,
0.008949908427894115,
-0.0305111575871706,
0.00704509811475873,
-0.006969913374632597,
-0.007513582240790129,
-0.011184610426425934,
0.01587487757205963,
0.027673523873090744,
-0.021882925182580948,
0.03558170422911644,
-0.04254235327243805,
0.021866098046302795,
0.02348443493247032,
-0.08433296531438828,
-0.020738210529088974,
0.007502308581024408,
0.030911752954125404,
-0.016358722001314163,
0.04918157681822777,
-0.034962598234415054,
-0.040375929325819016,
-0.02404296025633812,
-0.046820227056741714,
0.006216458976268768,
0.0772886574268341,
0.000045759898057440296,
-0.05903204530477524,
0.010099135339260101,
0.03786589205265045,
-0.002328955801203847,
-0.025255955755710602,
0.00816512480378151,
0.012826181948184967,
0.016041597351431847,
-0.0016695152735337615,
0.02241608314216137,
-0.010502798482775688,
0.01118574570864439,
0.0035388926044106483,
0.02098378911614418,
-0.02398463524878025,
-0.06951824575662613,
-0.00404875073581934,
0.01576182246208191,
-0.015009677968919277,
-0.02594805136322975,
-0.011054052039980888,
-0.011509047821164131,
0.023396506905555725,
0.047087591141462326,
0.03527551144361496,
-0.007651119027286768,
0.03270693123340607,
-0.004918975289911032,
-0.05582533776760101,
0.01781495474278927,
0.048540424555540085,
0.027382995933294296,
-0.005154055543243885,
0.03800354152917862,
0.044379062950611115,
0.055777084082365036,
0.015878796577453613,
0.0003891618107445538,
0.013328084722161293,
0.005253190640360117,
0.01574152149260044,
-0.021179696545004845,
0.011888121254742146,
-0.018665242940187454,
0.015303230844438076,
0.004570557735860348,
-0.0347873792052269,
-0.016266165301203728,
0.01642799749970436,
0.04180138558149338,
-0.02443784289062023,
0.004005942028015852,
-0.008740115910768509,
-0.02138964645564556,
-0.022552043199539185,
-0.021593624725937843,
0.028556285426020622,
-0.026180246844887733,
-0.03669443354010582,
0.013234143145382404,
-0.0414106622338295,
-0.017942283302545547,
0.017967497929930687,
0.0007923395023681223,
-0.016061892732977867,
0.0043767960742115974,
0.051758576184511185,
0.028887221589684486,
0.03455245867371559,
-0.0016159709775820374,
-0.018835468217730522,
-0.022415436804294586,
0.030379200354218483,
-0.024464912712574005,
0.027587372809648514,
0.0034442786127328873,
-0.024819400161504745,
0.024469569325447083,
0.012890243902802467,
-0.004685554187744856,
0.010815082117915154,
0.007001485675573349,
0.005277614109218121,
-0.022538939490914345,
-0.03496304154396057,
0.010057374835014343,
0.003391327802091837,
0.012544614262878895,
0.030077127739787102,
0.0014830906875431538,
-0.03678944334387779,
-0.002589948708191514,
-0.07715453952550888,
0.017077431082725525,
0.05517302080988884,
-0.006087775342166424,
0.025090405717492104,
0.03921809047460556,
0.035158805549144745,
0.007531645707786083,
0.008016723208129406,
0.019920794293284416,
0.0059768580831587315,
0.038090962916612625,
0.005047791171818972,
-0.007520922459661961,
0.0021037680562585592,
0.016792548820376396,
0.03792743757367134,
-0.054211828857660294,
-0.008676384575664997,
0.026711605489253998,
-0.05847494304180145,
0.0009676683694124222,
-0.02933817356824875,
-0.047396812587976456,
-0.011798528023064137,
0.012625906616449356,
0.023515380918979645,
0.05043657124042511,
0.00201638275757432,
0.005558159667998552,
-0.050185296684503555,
0.00328167830593884,
0.0684543326497078,
0.09249729663133621,
-0.004654804710298777,
0.04497363790869713,
0.013093927875161171,
0.0034980515483766794,
0.024656174704432487,
0.030787695199251175,
-0.0029440487269312143,
0.009926226921379566,
0.06946463137865067,
0.018735408782958984,
0.05450918897986412,
0.04708847403526306,
0.006466704420745373,
0.014145778492093086,
-0.0371941439807415,
-0.008507685735821724,
-0.010676403529942036,
0.030513539910316467,
-0.015053094364702702,
-0.007392984814941883,
0.055644690990448,
-0.04155482351779938,
0.04881345108151436,
0.0338735356926918,
0.020912818610668182,
-0.02751034125685692,
0.028365405276417732,
0.028403259813785553,
0.015464015305042267,
0.04642389714717865,
0.0499369315803051,
-0.0014614693354815245,
0.015858737751841545,
0.02660796232521534,
0.05093463510274887,
0.011501001194119453,
0.03738269954919815,
0.007991225458681583,
0.0024936923291534185,
-0.03449838235974312,
-0.023939743638038635,
0.011092585511505604,
0.028284180909395218,
-0.023079395294189453,
-0.006791011430323124,
-0.0026954207569360733,
-0.05475548282265663,
-0.009881127625703812,
0.0022437372244894505,
0.02295682206749916,
-0.02113981917500496,
0.015819592401385307,
-0.021491527557373047,
0.029956258833408356,
0.004151510074734688,
-0.06193174794316292,
-0.008603894151747227,
0.001755080302245915,
0.04220086708664894,
-0.00419622752815485,
0.0078016542829573154,
-0.00023252256505656987,
-0.016853613778948784,
0.008180675096809864,
-0.007764666341245174,
0.032976556569337845,
0.0025488841347396374,
0.006549229379743338,
0.005546672735363245,
0.008633316494524479,
0.025152308866381645,
0.041728679090738297,
0.03518347069621086,
0.00490651885047555,
0.004802563693374395,
0.011891675181686878,
0.00981884729117155,
-0.019234178587794304,
0.013337182812392712,
-0.03959038108587265,
0.017847813665866852,
-0.016312196850776672,
0.00010380332241766155,
0.045344848185777664,
0.010851526632905006,
-0.008346593007445335,
-0.04706835001707077,
-0.006658591330051422,
-0.036293238401412964,
0.0032178089022636414,
0.039182379841804504,
-0.010465648025274277,
-0.04710286110639572,
0.03349319100379944,
0.00537955341860652,
0.020410683006048203,
-0.033500347286462784,
-0.007508518639951944,
0.035100989043712616,
0.009071459993720055,
-0.030894339084625244,
-0.005486718378961086,
0.05500921234488487,
0.029209617525339127,
0.024995656684041023,
0.027072513476014137,
-0.004428559448570013,
0.00641188770532608,
-0.05129349231719971,
0.02923286147415638,
-0.021759094670414925,
-0.018982071429491043,
-0.024014480412006378,
-0.0008221004973165691,
0.005732339341193438,
0.021443122997879982,
-0.0072103277780115604,
-0.0066618537530303,
-0.0072824591770768166,
0.0013976865448057652,
-0.022195596247911453,
-0.031460754573345184,
-0.02943175472319126,
0.01787855103611946,
0.007986491546034813,
0.025599980726838112,
0.04446706548333168,
0.034164909273386,
0.01018866989761591,
-0.0116549888625741,
-0.018779253587126732,
0.015623352490365505,
0.017482871189713478,
-0.014950050041079521,
-0.03460177406668663,
-0.012259179726243019,
-0.03467581421136856,
0.004336776677519083,
-0.06825250387191772,
0.031786929816007614,
0.015166806988418102,
0.016111016273498535,
-0.04389979690313339,
-0.013179019093513489,
-0.020362673327326775,
0.021290428936481476,
0.05397827550768852,
0.0031100502237677574,
-0.021305274218320847,
-0.01425969135016203,
0.013257087208330631,
-0.013447470963001251,
0.0033545210026204586,
-0.0044927275739610195,
0.030860519036650658,
0.03242652118206024,
-0.004855137784034014,
-0.0020284736528992653,
0.0133785055950284,
-0.008525378070771694,
0.023523282259702682,
0.01952904835343361,
-0.0016273307846859097,
-0.04240817949175835,
-0.014686191454529762,
0.045570991933345795,
-0.007192797493189573,
-0.029022803530097008,
0.0030813345219939947,
0.02404150925576687,
-0.008221144787967205,
0.014115553349256516,
0.005079952999949455,
0.005412178114056587,
0.006511134561151266,
0.040376074612140656,
-0.004249599762260914,
0.06396467983722687,
0.01287522166967392,
-0.011479755863547325,
-0.01600566692650318,
-0.033416565507650375
] |
Optimizing your LLM in production | patrickvonplaten | Sep 15, 2023 | optimize-llm | nlp, research, LLM | https://huggingface.co/blog/optimize-llm | 3. The Science Behind LLM Architectures: Strategic Selection for Long Text Inputs and Chat So far we have looked into improving computational and memory efficiency by: - Casting the weights to a lower precision format - Replacing the self-attention algorithm with a more memory- and compute efficient version Let's now look into how we can change the architecture of an LLM so that it is most effective and efficient for task that require long text inputs, *e.g.*: - Retrieval augmented Questions Answering, - Summarization, - Chat Note that *chat* not only requires the LLM to handle long text inputs, but it also necessitates that the LLM is able to efficiently handle the back-and-forth dialogue between user and assistant (such as ChatGPT). Once trained, the fundamental LLM architecture is difficult to change, so it is important to make considerations about the LLM's tasks beforehand and accordingly optimize the model's architecture. There are two important components of the model architecture that quickly become memory and/or performance bottlenecks for large input sequences. - The positional embeddings - The key-value cache Let's go over each component in more detail | [
-0.020667679607868195,
0.030686182901263237,
0.03636375069618225,
-0.03915748745203018,
0.012699075043201447,
0.03167901933193207,
-0.0179838128387928,
0.041503485292196274,
-0.013298895210027695,
-0.013547389768064022,
-0.08178743720054626,
0.07385969161987305,
-0.01971978135406971,
0.017686709761619568,
-0.03231394663453102,
-0.039314839988946915,
0.0821898877620697,
-0.03496691584587097,
0.03796239197254181,
0.05972570553421974,
0.06229893118143082,
-0.009063895791769028,
0.07925865054130554,
0.0164327472448349,
-0.0077936407178640366,
0.02735135518014431,
-0.08265336602926254,
0.025167951360344887,
-0.03874717280268669,
-0.007026982493698597,
-0.05448402464389801,
-0.06439820677042007,
-0.03547291085124016,
0.004700307734310627,
-0.00016749472706578672,
-0.057151950895786285,
-0.11497347056865692,
0.05585716664791107,
0.020203737542033195,
-0.043715327978134155,
-0.020688997581601143,
-0.0010426222579553723,
-0.07708875089883804,
0.005818207282572985,
0.005248145665973425,
0.0393935926258564,
-0.18081682920455933,
0.027642052620649338,
-0.05077705904841423,
-0.029523689299821854,
-0.08306587487459183,
0.07545217871665955,
-0.06526976078748703,
0.041947171092033386,
0.013449883088469505,
0.004674592521041632,
0.022241586819291115,
-0.04606875777244568,
-0.018369849771261215,
0.08462837338447571,
-0.007436256390064955,
0.017765561118721962,
0.003956327680498362,
-0.010650631971657276,
0.0361015759408474,
-0.014237534254789352,
0.02862478606402874,
-0.0270131453871727,
-0.09592802077531815,
0.038150325417518616,
0.024944862350821495,
0.03057338483631611,
-0.031668148934841156,
-0.007782910950481892,
-0.041808079928159714,
-0.030631575733423233,
-0.010482692159712315,
0.08852721005678177,
0.020334018394351006,
-0.028803449124097824,
-0.02548081800341606,
0.008046037517488003,
0.0019158285576850176,
0.020087137818336487,
-0.029636643826961517,
0.08757461607456207,
0.05485505983233452,
-0.03323370963335037,
-0.06987147778272629,
-0.005058942828327417,
-0.048344723880290985,
-0.09901032596826553,
0.017792854458093643,
0.022252820432186127,
0.03383467718958855,
-0.010639209300279617,
0.025979548692703247,
0.038239769637584686,
-0.02307158336043358,
0.03796260431408882,
0.007178996689617634,
-0.06267566233873367,
0.041876643896102905,
-0.037342093884944916,
-0.03715047985315323,
0.08953395485877991,
-0.006047642789781094,
-0.04187608137726784,
-0.01101754605770111,
0.009874977171421051,
-0.033217903226614,
0.005749237723648548,
0.020054031163454056,
0.0661550760269165,
-0.06956806778907776,
0.032032210379838943,
0.03241702914237976,
0.013131407089531422,
-0.0005650634993799031,
0.05234648287296295,
-0.05445085093379021,
0.07315511256456375,
0.0847325474023819,
-0.038898322731256485,
0.031609635800123215,
-0.025034213438630104,
0.033783890306949615,
-0.029045088216662407,
0.02308989316225052,
-0.05601336061954498,
0.07625759392976761,
-0.020319391041994095,
0.002852557459846139,
-0.01634110137820244,
-0.0379350408911705,
0.01293784286826849,
0.0173063725233078,
-0.04521277919411659,
0.04947996884584427,
-0.02470606379210949,
0.002202273579314351,
-0.04932337626814842,
0.07028115540742874,
-0.047459688037633896,
0.08162183314561844,
-0.022689318284392357,
-0.056185271590948105,
0.013111819513142109,
-0.00526698911562562,
-0.03927061706781387,
-0.05275224521756172,
0.04222654551267624,
-0.02021748200058937,
-0.06686589866876602,
0.05450888350605965,
0.08239898830652237,
0.031019041314721107,
0.01105057168751955,
-0.04289337620139122,
0.022779034450650215,
0.0017871466698125005,
0.013709849677979946,
-0.039015430957078934,
0.06014646217226982,
0.040410250425338745,
-0.02857121266424656,
0.031446509063243866,
0.0760323628783226,
-0.042508095502853394,
0.07098433375358582,
0.024843668565154076,
0.04641074314713478,
0.047503985464572906,
-0.018304482102394104,
-0.016801618039608,
0.050709690898656845,
0.009443975985050201,
0.08389495313167572,
0.012847191654145718,
-0.02473987080156803,
-0.027402615174651146,
-0.007868907414376736,
-0.025468943640589714,
0.05648447200655937,
0.012446177192032337,
-0.09939814358949661,
0.07050425559282303,
-0.10008697211742401,
-0.05550822988152504,
-0.08678077906370163,
-0.05565845966339111,
0.049959320574998856,
0.003389895660802722,
0.041409436613321304,
0.02871066704392433,
-0.03473365679383278,
-0.006127322092652321,
0.15042288601398468,
0.06847026944160461,
0.07751289010047913,
0.11169560253620148,
0.02088162489235401,
-0.0036260017659515142,
0.019503789022564888,
0.02746356464922428,
0.01711173541843891,
-0.014351679012179375,
-0.01821713335812092,
0.039506945759058,
0.029563063755631447,
0.033132050186395645,
-0.0791238322854042,
-0.0004363417683634907,
-0.01069365069270134,
-0.030126629397273064,
-0.09309525042772293,
0.008038479834794998,
-0.01185250747948885,
-0.01402263529598713,
0.011673244647681713,
0.06426381319761276,
-0.04002093896269798,
-0.004339650738984346,
0.001379278488457203,
-0.059335857629776,
0.05284097045660019,
0.07971668243408203,
-0.008966765366494656,
0.06009862199425697,
-0.04146568477153778,
0.03682071715593338,
-0.09568152576684952,
0.04883454740047455,
-0.03221791982650757,
-0.041350048035383224,
-0.0105762779712677,
-0.054502811282873154,
0.025402361527085304,
0.060005661100149155,
0.0148251848295331,
-0.01492695789784193,
-0.021278278902173042,
-0.007128812838345766,
0.10399537533521652,
-0.04182962700724602,
-0.03822898119688034,
0.013063658960163593,
-0.021725298836827278,
-0.030250033363699913,
0.03417476639151573,
-0.057624682784080505,
0.01866038516163826,
-0.019935226067900658,
0.03180374205112457,
-0.009136902168393135,
-0.05303890258073807,
-0.015773838385939598,
0.007409215904772282,
-0.024559760466217995,
0.0024403922725468874,
0.005259639583528042,
0.046241533011198044,
-0.032290950417518616,
-0.0006675852928310633,
-0.010040749795734882,
-0.04226633906364441,
0.021798787638545036,
-0.03040272742509842,
-0.027171876281499863,
0.008842796087265015,
0.0004934233729727566,
-0.03763211891055107,
0.02061435580253601,
0.027128834277391434,
-0.009754858911037445,
0.0054552191868424416,
0.012502576224505901,
-0.03140650689601898,
-0.008098157122731209,
-0.034616563469171524,
-0.001511371461674571,
-0.02448064088821411,
0.04929688572883606,
0.03135273605585098,
-0.000042286748794140294,
-0.021540511399507523,
-0.019372666254639626,
-0.0217837356030941,
-0.04439916834235191,
-0.0008566842298023403,
0.0364566296339035,
-0.008836026303470135,
-0.03268871083855629,
-0.011049199849367142,
-0.0009998579043895006,
0.0008860118105076253,
0.022757302969694138,
-0.04432130604982376,
-0.05933676287531853,
0.018798183649778366,
-0.012145101092755795,
0.02731768600642681,
0.024079084396362305,
0.0018573540728539228,
0.005831802263855934,
0.026852628216147423,
0.034780316054821014,
0.08921529352664948,
-0.09102753549814224,
-0.02574569545686245,
0.0021991028916090727,
-0.05506788194179535,
0.033491600304841995,
-0.041790857911109924,
0.0347372330725193,
0.015753546729683876,
0.027105743065476418,
-0.0049444446340203285,
-0.03011203370988369,
0.024903105571866035,
0.02125612460076809,
-0.002448451239615679,
-0.003425895469263196,
0.028446676209568977,
0.007476074621081352,
-0.034141190350055695,
0.034122444689273834,
-0.04074958711862564,
0.002860878361389041,
0.026097968220710754,
0.031805895268917084,
0.022548148408532143,
-0.02186937816441059,
-0.0227117370814085,
-0.010874398984014988,
0.017551692202687263,
0.005690659396350384,
0.014310440979897976,
0.009452246129512787,
-0.002318905433639884,
0.008044738322496414,
0.0003056710120290518,
-0.05701179429888725,
-0.01287582516670227,
0.04317905008792877,
0.03387296572327614,
0.04848546162247658,
0.07299832999706268,
0.03692874684929848,
-0.02642238885164261,
0.027334395796060562,
-0.011884212493896484,
-0.004770185798406601,
-0.027595391497015953,
-0.001549714244902134,
0.0031414981931447983,
0.030277768149971962,
-0.036158330738544464,
-0.02374105341732502,
-0.04599803313612938,
-0.042984940111637115,
0.012329401448369026,
0.016783853992819786,
-0.01711852103471756,
0.039638224989175797,
-0.019974147900938988,
0.008432252332568169,
-0.0019489246187731624,
-0.03472718596458435,
0.020611977204680443,
-0.013572519645094872,
0.029855573549866676,
0.013805222697556019,
0.033355917781591415,
-0.016649242490530014,
-0.0171529371291399,
0.0036703068763017654,
0.0499686636030674,
-0.027113892138004303,
0.039734579622745514,
0.01099510956555605,
-0.0004472084401641041,
-0.017559949308633804,
0.011896715499460697,
0.02450878545641899,
-0.03235713392496109,
0.0689702257514,
0.05094600468873978,
-0.022160660475492477,
0.006549288518726826,
-0.097068652510643,
-0.01016836054623127,
0.05353809520602226,
-0.006450997665524483,
0.02372126281261444,
-0.025647975504398346,
0.008371297270059586,
0.029222611337900162,
0.007850510068237782,
-0.029571212828159332,
-0.000052212657465133816,
0.010278956964612007,
-0.0028625261038541794,
-0.0023885895498096943,
0.008383557200431824,
0.0002173948014387861,
0.0038984084967523813,
-0.03823012486100197,
0.04100409522652626,
-0.03276580572128296,
0.009726341813802719,
-0.018026165664196014,
0.013283581472933292,
0.012832926586270332,
-0.04256676137447357,
-0.0005577125120908022,
0.013896185904741287,
0.0002658955636434257,
-0.08488836884498596,
0.01688232645392418,
-0.0011040560202673078,
0.01564188487827778,
0.03210756182670593,
-0.007572599221020937,
-0.0399547778069973,
0.004446228966116905,
-0.012044219300150871,
0.007990808226168156,
-0.04882489889860153,
0.021931705996394157,
-0.017479831352829933,
-0.0015962866600602865,
0.05513271316885948,
-0.006785335950553417,
0.0037623452953994274,
-0.02942558377981186,
-0.0016209997702389956,
-0.03595130518078804,
-0.05834129825234413,
0.016270842403173447,
0.07571739703416824,
0.03426584228873253,
0.0107689518481493,
0.004500855226069689,
-0.015803389251232147,
0.02162707969546318,
-0.041485030204057693,
-0.059216830879449844,
0.0067011215724051,
-0.0035795720759779215,
-0.0077962554059922695,
-0.00016133725875988603,
-0.004354899749159813,
-0.010164397768676281,
-0.032494425773620605,
0.005949595011770725,
-0.013561508618295193,
0.047063857316970825,
0.04317221790552139,
-0.020888032391667366,
-0.02450992912054062,
0.011323879472911358,
0.01741538755595684,
-0.012371090240776539,
0.005477176513522863,
0.03555252030491829,
0.0005952563951723278,
0.03412620350718498,
-0.006990901660174131,
0.028307804837822914,
-0.04178870469331741,
-0.017077969387173653,
0.013016974553465843,
-0.016363976523280144,
0.015777170658111572,
0.004407775588333607,
-0.0058121751062572,
0.005774349439889193,
-0.014983030036091805,
-0.013243110850453377,
-0.020892580971121788,
-0.009375490248203278,
0.008189943619072437,
-0.0007286726613529027,
0.03355976566672325,
0.011639147065579891,
-0.030291208997368813,
-0.011883850209414959,
-0.0023604966700077057,
-0.019342120736837387,
0.004163872450590134,
-0.027562513947486877,
0.015410556457936764,
0.004655943717807531,
0.050796013325452805,
0.04874218627810478,
0.013171825557947159,
0.04291750118136406,
0.04765200614929199,
0.01149036269634962,
0.01213664561510086,
-0.029268739745020866,
0.030042089521884918,
0.006796675734221935,
0.026653755456209183,
0.04395584762096405,
-0.038299560546875,
0.03177895396947861,
0.0377192422747612,
0.02257499098777771,
-0.04245493561029434,
-0.014891876839101315,
-0.016341740265488625,
-0.004773072432726622,
-0.018253222107887268,
-0.07188492268323898,
0.009434916079044342,
-0.00248849974013865,
-0.007966328412294388,
-0.03892325609922409,
0.005951392464339733,
-0.000003941933300666278,
0.03326709568500519,
-0.03722687438130379,
-0.030529756098985672,
0.053457845002412796,
0.023858509957790375,
0.045571450144052505,
0.006737068295478821,
-0.032226525247097015,
-0.048265717923641205,
0.024438217282295227,
0.017451759427785873,
-0.039662666618824005,
0.0014771779533475637,
0.03705239295959473,
0.0338914729654789,
-0.01613711006939411,
0.03999150171875954,
-0.04260702803730965,
0.026548271998763084,
0.04817944020032883,
0.020155929028987885,
0.00900291744619608,
-0.019585929811000824,
-0.00815541110932827,
0.01449676975607872,
-0.012200838886201382,
0.011635849252343178,
-0.014173249714076519,
-0.052185095846652985,
0.014637546613812447,
-0.009644290432333946,
0.011351732537150383,
0.016643596813082695,
0.0006610728451050818,
-0.027329707518219948,
0.02052188292145729,
0.014652219600975513,
-0.010529167018830776,
0.0030451747588813305,
0.009218499064445496,
-0.002047609770670533,
-0.0101091293618083,
0.054160866886377335,
-0.026145096868276596,
-0.005163460969924927,
-0.003274990012869239,
0.015839669853448868,
-0.04070150852203369,
-0.009007065556943417,
0.039190176874399185,
-0.013490832410752773,
-0.002424748381599784,
0.06211976334452629,
-0.05316513404250145,
0.028189614415168762,
0.013878879137337208,
-0.01610034517943859,
-0.028379138559103012,
0.00209250021725893,
-0.010157107375562191,
-0.017260411754250526,
-0.018943557515740395,
0.026247676461935043,
0.045450687408447266,
0.0022276677191257477,
0.00927188154309988,
0.02917969785630703,
0.012949266470968723,
0.04243510216474533,
-0.0017400074284523726,
0.012644740752875805,
0.0036908434703946114,
-0.006024759262800217,
0.014584005810320377,
0.032414186745882034,
-0.024652432650327682,
-0.0497605986893177,
-0.005548687651753426,
0.010860311798751354,
0.02902030572295189,
-0.02935434691607952,
0.0018636739114299417,
0.004719381686300039,
0.039737578481435776,
0.045928649604320526,
-0.05084608867764473,
0.03257126361131668,
0.04150882363319397,
0.04808053374290466,
0.01207026094198227,
-0.003990690689533949,
0.035844698548316956,
0.005344794597476721,
0.005009185988456011,
0.05631916597485542,
-0.01708660088479519,
-0.01948941871523857,
0.04126157984137535,
0.030854498967528343,
0.04073707386851311,
0.003663600655272603,
-0.04506179317831993,
0.004779816139489412,
-0.01257451344281435,
0.009908434003591537,
0.0714988112449646,
-0.05822541564702988,
-0.013123419135808945,
0.012146985158324242,
-0.027190346270799637,
0.029602892696857452,
0.01156099233776331,
0.012341883033514023,
0.013965701684355736,
0.0021744470577687025,
-0.028903717175126076,
-0.023400362581014633,
0.04431615024805069,
0.011488921009004116,
-0.020413974300026894,
-0.0020727463997900486,
-0.01170390285551548,
-0.013401087373495102,
-0.030875535681843758,
-0.04119447246193886,
-0.029300672933459282,
0.0009043458267115057,
0.0008279466419480741,
-0.022107863798737526,
0.060761772096157074,
0.009048332460224628,
0.022890392690896988,
0.043701741844415665,
-0.0011044404236599803,
-0.09004383534193039,
0.012560836970806122,
-0.0434500090777874,
0.0034978429321199656,
-0.05509263649582863,
-0.020017679780721664,
-0.006146891973912716,
-0.012231335043907166,
-0.020276563242077827,
0.003134446684271097,
0.013448103331029415,
-0.004608766175806522,
0.042272452265024185,
0.026096155866980553,
0.05960846319794655,
-0.012071872130036354,
-0.0329153947532177,
0.007051241584122181,
0.014890174381434917,
0.022762753069400787,
0.006691758055239916,
-0.007967762649059296,
-0.04359738528728485,
0.02117965556681156,
-0.03231817111372948,
-0.013475071638822556,
-0.007419278845191002,
0.023051505908370018,
0.05279391258955002,
0.032074686139822006,
-0.028524484485387802,
-0.02689351700246334,
0.07164398580789566,
-0.022699352353811264,
0.028446868062019348,
0.009078320115804672,
0.00591439101845026,
0.038244932889938354,
-0.03728121891617775,
0.03875085338950157,
-0.023277899250388145,
0.01917833648622036,
-0.021563846617937088,
-0.03245515003800392,
0.00627168919891119,
0.03862136974930763,
-0.0002623785403557122,
0.04467393830418587,
-0.00369011121802032,
0.015753982588648796,
-0.03050445020198822,
0.011025907471776009,
-0.056043367832899094,
-0.000247785821557045,
0.020005997270345688,
0.0010338312713429332,
0.0125628262758255,
0.02476312592625618,
-0.03512800857424736,
-0.008613142184913158,
0.0293428897857666,
-0.00460853660479188,
0.05299604311585426,
-0.04343132674694061,
0.00012676548794843256,
-0.025746306404471397,
-0.03146454319357872,
0.009750154800713062,
-0.020915307104587555,
0.00191343086771667,
-0.00199266173876822,
-0.06691143661737442,
0.013656261377036572,
-0.014756747521460056,
0.004951270762830973,
-0.007931855507194996,
0.019148850813508034,
-0.036076389253139496,
-0.03778060898184776,
0.057630229741334915,
0.00904084648936987,
-0.0635392814874649,
-0.03976457938551903,
-0.0008757152245379984,
0.0005364743410609663,
0.031309742480516434,
0.0146793806925416,
0.015498069114983082,
0.0004958154167979956,
0.022167250514030457,
0.007713339291512966,
-0.011294696480035782,
-0.04966651275753975,
-0.010218154639005661,
-0.015308494679629803,
0.01198340579867363,
-0.03884083777666092,
-0.026429995894432068,
0.020892465487122536,
0.012337041087448597,
0.04462685063481331,
-0.04477391391992569,
-0.03185662999749184,
-0.018669458106160164,
0.007745371665805578,
0.02528008446097374,
-0.04088321328163147,
0.03578079491853714,
0.007274140138179064,
0.03220336139202118,
-0.033700235188007355,
-0.026064980775117874
] |
Optimizing your LLM in production | patrickvonplaten | Sep 15, 2023 | optimize-llm | nlp, research, LLM | https://huggingface.co/blog/optimize-llm | Conclusion The research community is constantly coming up with new, nifty ways to speed up inference time for ever-larger LLMs. As an example, one such promising research direction is speculative decoding where "easy tokens" are generated by smaller, faster language models and only "hard tokens" are generated by the LLM itself. Going into more detail is out of the scope of this notebook, but can be read upon in this nice blog post. The reason massive LLMs such as GPT3/4, Llama-2-70b, Claude, PaLM can run so quickly in chat-interfaces such as Hugging Face Chat or ChatGPT is to a big part thanks to the above-mentioned improvements in precision, algorithms, and architecture. Going forward, accelerators such as GPUs, TPUs, etc... will only get faster and allow for more memory, but one should nevertheless always make sure to use the best available algorithms and architectures to get the most bang for your buck 🤗 | [
0.052613515406847,
0.029716171324253082,
0.04601794108748436,
-0.002487816149368882,
0.06471075117588043,
-0.043999698013067245,
0.027996055781841278,
0.06661681085824966,
0.003927751909941435,
-0.024432044476270676,
-0.0032855544704943895,
0.04553239792585373,
0.010663745924830437,
0.08483313769102097,
0.022831259295344353,
-0.06779405474662781,
-0.004562437534332275,
-0.0403655581176281,
0.025885509327054024,
0.008973997086286545,
0.036127276718616486,
-0.02672872506082058,
0.06775199621915817,
-0.03261852636933327,
-0.02866341359913349,
0.006806759629398584,
-0.03313831984996796,
-0.03297129273414612,
-0.02759740874171257,
-0.02373465895652771,
-0.0725177675485611,
-0.003159274347126484,
-0.030900057405233383,
0.044700704514980316,
0.0019246144220232964,
-0.04644215852022171,
-0.16214881837368011,
0.016029108315706253,
0.031345196068286896,
-0.01974409818649292,
0.008223067037761211,
-0.03290355205535889,
-0.04469345882534981,
0.04336278885602951,
-0.04292277619242668,
0.017818009480834007,
-0.1542726308107376,
0.07155606895685196,
-0.06650363653898239,
-0.07370927929878235,
-0.09298405051231384,
0.07600908726453781,
-0.08503036946058273,
0.004813231993466616,
0.053111862391233444,
-0.001724081113934517,
0.015930965542793274,
-0.12282737344503403,
0.026105904951691628,
0.021648310124874115,
-0.006875087507069111,
0.02184310555458069,
0.025057189166545868,
-0.03367261216044426,
0.05268913507461548,
0.013091919012367725,
-0.034745946526527405,
-0.045048538595438004,
-0.07120662927627563,
0.008265562355518341,
0.03433028981089592,
0.010550335049629211,
-0.10197733342647552,
0.004712079651653767,
0.014439079910516739,
0.01285097561776638,
-0.0223160982131958,
0.047330815345048904,
0.06701917201280594,
0.008504758588969707,
-0.02156834863126278,
-0.025486843660473824,
0.06212867796421051,
0.03670259565114975,
0.0026635155081748962,
0.08337680995464325,
0.04023072496056557,
-0.0467173270881176,
-0.032360635697841644,
-0.002461997326463461,
-0.0459643118083477,
-0.07823731005191803,
-0.009734615683555603,
0.03316042944788933,
0.021518457680940628,
0.036805376410484314,
0.01713445782661438,
0.0416313111782074,
-0.02688704803586006,
-0.03547988086938858,
0.04261920228600502,
-0.07868815213441849,
-0.010171782225370407,
-0.05598219856619835,
-0.026820071041584015,
0.04803892970085144,
-0.09014612436294556,
-0.08192699402570724,
-0.07705039530992508,
0.03107890859246254,
0.0012455005198717117,
0.041281312704086304,
0.008113810792565346,
-0.002190101658925414,
-0.10725459456443787,
0.041451260447502136,
0.01993655040860176,
0.008145063184201717,
0.01985277235507965,
0.041610777378082275,
0.011863473802804947,
0.056144095957279205,
0.09606440365314484,
-0.02423940971493721,
0.026419343426823616,
0.027574090287089348,
0.03610720485448837,
0.00784319918602705,
-0.0036302865482866764,
-0.04375721141695976,
0.034425944089889526,
-0.026530319824814796,
0.0023851455189287663,
-0.019956372678279877,
0.015505140647292137,
-0.017904091626405716,
0.0019117570482194424,
-0.05237065255641937,
0.019867999479174614,
0.004167170263826847,
-0.04543095454573631,
0.008365998975932598,
0.00452761584892869,
-0.007698261644691229,
0.06912743300199509,
-0.008133059367537498,
-0.11370428651571274,
0.01738671027123928,
-0.06308822333812714,
-0.048250794410705566,
-0.05415330082178116,
0.020018301904201508,
-0.034084245562553406,
-0.01843159645795822,
0.05038800090551376,
0.04102690517902374,
-0.0029165383893996477,
-0.02063896507024765,
-0.08072394132614136,
-0.024176491424441338,
-0.07458899915218353,
-0.0396852046251297,
0.0034899553284049034,
-0.028212862089276314,
0.038819819688797,
-0.02558610774576664,
0.02688288688659668,
0.05786788836121559,
-0.004474768415093422,
0.0527610220015049,
0.02802390232682228,
0.03480559587478638,
0.09462162852287292,
-0.06170181557536125,
0.0033173670526593924,
0.054182954132556915,
0.028952591121196747,
0.04737916961312294,
0.028447210788726807,
-0.0003462491440586746,
-0.0715714693069458,
0.004317882936447859,
-0.03339149057865143,
0.05272400751709938,
0.014218988828361034,
-0.11313062161207199,
0.017222773283720016,
-0.02848144620656967,
-0.023169733583927155,
-0.0764005184173584,
-0.013957683928310871,
0.04388556629419327,
0.08044801652431488,
0.01605398580431938,
0.008728659711778164,
-0.03419836238026619,
-0.014654607512056828,
0.12103758007287979,
0.062128517776727676,
0.08866859972476959,
0.07404200732707977,
0.07317694276571274,
0.017015693709254265,
0.032307058572769165,
-0.031557418406009674,
0.003618151880800724,
0.005550496745854616,
0.023561343550682068,
0.0312584824860096,
0.0017011913005262613,
0.04442250356078148,
-0.13644471764564514,
-0.00037966269883327186,
-0.028317179530858994,
-0.03229045867919922,
-0.036684419959783554,
0.00928167812526226,
0.009157311171293259,
-0.011172221042215824,
-0.04058005288243294,
0.12715505063533783,
-0.07164601981639862,
-0.015206851065158844,
-0.015107769519090652,
-0.027022693306207657,
0.0544562004506588,
0.07035202533006668,
-0.019587842747569084,
0.06254929304122925,
-0.05717330425977707,
-0.006075714249163866,
-0.11440866440534592,
-0.0155043238773942,
-0.008422935381531715,
-0.009189042262732983,
-0.023360900580883026,
-0.05937539041042328,
-0.02613072842359543,
0.04650450125336647,
0.009826107881963253,
0.001138622872531414,
-0.001555277849547565,
0.0030848688911646605,
0.06919009983539581,
0.02042248472571373,
-0.024469206109642982,
0.04120400920510292,
0.0012537679867818952,
-0.007684175856411457,
-0.00006140978803159669,
-0.02973129041492939,
0.0778287947177887,
-0.036214545369148254,
0.008636449463665485,
-0.004993686452507973,
-0.0032336637377738953,
-0.003260084893554449,
0.01737324334681034,
-0.01832105964422226,
0.012513245455920696,
-0.0082415034994483,
-0.00041257537668570876,
-0.001912694307975471,
-0.001746669295243919,
-0.019877737388014793,
-0.018626956269145012,
-0.011541251093149185,
0.016518427059054375,
-0.02298649027943611,
0.0002107214677380398,
0.020964523777365685,
-0.026135575026273727,
0.02516644075512886,
-0.004136050585657358,
0.04776135832071304,
0.02571614272892475,
0.03902118280529976,
-0.05072245001792908,
-0.007575915660709143,
-0.04758793115615845,
-0.013716466724872589,
-0.031036604195833206,
0.03509512543678284,
0.030258290469646454,
-0.025717124342918396,
-0.01358148455619812,
-0.012860247865319252,
-0.06445922702550888,
-0.035337574779987335,
0.019103718921542168,
0.02254682593047619,
-0.0029464559629559517,
-0.006220997776836157,
-0.01861836388707161,
-0.006682001054286957,
-0.035781294107437134,
0.0005457162042148411,
-0.0061292629688978195,
-0.052752286195755005,
0.017174841836094856,
-0.02676229178905487,
-0.01514130737632513,
-0.014480930753052235,
-0.013559380546212196,
-0.023463841527700424,
0.024248380213975906,
-0.0041011907160282135,
0.06766872853040695,
-0.1003204882144928,
-0.01695301942527294,
-0.0014506380539387465,
-0.022229280322790146,
0.0460980050265789,
-0.014526711776852608,
0.07021104544401169,
-0.0011926940642297268,
-0.024102523922920227,
-0.001800545142032206,
0.0022044263314455748,
0.05887864530086517,
0.04123099893331528,
-0.031204842031002045,
-0.040625784546136856,
0.0022306744940578938,
0.001909265760332346,
-0.003247493179515004,
0.0120084835216403,
0.008917185477912426,
-0.0044969357550144196,
0.05717773735523224,
-0.011551708914339542,
-0.0041297622956335545,
-0.056646786630153656,
0.0007155167986638844,
0.01533038541674614,
-0.000731764652300626,
0.020975643768906593,
0.010702129453420639,
0.009659906849265099,
0.006165243219584227,
0.007376751862466335,
0.004752557259052992,
-0.0646674856543541,
0.012691403739154339,
0.0369562990963459,
0.020048484206199646,
0.01724187098443508,
0.042173050343990326,
0.04236126318573952,
-0.03745565563440323,
0.030845550820231438,
-0.005640130024403334,
-0.03921891376376152,
0.011341771110892296,
-0.005860219709575176,
0.0052268835715949535,
0.0324237160384655,
-0.04503514617681503,
-0.006185063626617193,
0.0036271840799599886,
-0.0015078814467415214,
0.0025561030488461256,
-0.012000086717307568,
0.04727257043123245,
-0.005741648375988007,
-0.0068998490460217,
0.00999037828296423,
-0.010087080299854279,
-0.057056136429309845,
0.023499950766563416,
-0.014898360706865788,
0.011843490414321423,
-0.04799037054181099,
0.036083389073610306,
0.020793719217181206,
-0.012373652309179306,
0.029009174555540085,
0.05263763666152954,
0.017766043543815613,
0.028647754341363907,
-0.02406437322497368,
0.0002809302241075784,
-0.0002001965622184798,
0.02174682542681694,
-0.0345110259950161,
-0.012401511892676353,
0.08183836936950684,
0.04625718295574188,
-0.00778900645673275,
-0.021518107503652573,
-0.06131488084793091,
-0.0005016337963752449,
0.028934460133314133,
-0.0019850446842610836,
-0.0026108550373464823,
-0.008628668263554573,
0.004985793028026819,
0.040809422731399536,
0.005271974019706249,
-0.01742137409746647,
0.02467992901802063,
-0.010890772566199303,
0.041022833436727524,
0.030705220997333527,
0.06195119395852089,
0.04037867486476898,
0.022229282185435295,
-0.007624364923685789,
0.05191456899046898,
-0.03726295009255409,
0.015844954177737236,
0.005141052417457104,
-0.043724384158849716,
0.016808733344078064,
-0.002627685898914933,
0.00879240408539772,
0.03321942687034607,
0.028377952054142952,
-0.039838410913944244,
0.021223360672593117,
0.022471627220511436,
-0.0037287715822458267,
0.0028830089140683413,
0.015870042145252228,
-0.010031577199697495,
0.016412261873483658,
-0.03934657573699951,
-0.016806362196803093,
-0.05155669525265694,
0.018121948465704918,
-0.020804595202207565,
-0.016270572319626808,
0.06598573923110962,
-0.02516062557697296,
-0.03342199698090553,
-0.001824556034989655,
-0.01535307802259922,
0.01361631415784359,
-0.012204216793179512,
-0.027390040457248688,
0.037462130188941956,
0.0067214444279670715,
0.04016978293657303,
0.012082650326192379,
-0.01970151998102665,
-0.008748590014874935,
-0.010847603902220726,
-0.04901662468910217,
-0.018837327137589455,
0.0037918095476925373,
-0.01054750569164753,
-0.03237934410572052,
0.029516808688640594,
0.0011783076915889978,
0.01124680694192648,
-0.006212678272277117,
0.008782925084233284,
0.02968882955610752,
0.03598039597272873,
-0.047045331448316574,
-0.01927957870066166,
0.006243775133043528,
0.019840091466903687,
0.016898594796657562,
-0.03874017670750618,
0.016710463911294937,
0.06611528247594833,
0.020675325766205788,
0.005504302680492401,
0.054677583277225494,
-0.03145396709442139,
0.024723589420318604,
0.02134043164551258,
-0.006123534869402647,
-0.02329331450164318,
0.00448949309065938,
-0.001965753035619855,
0.003738577011972666,
-0.0022371041122823954,
0.006871291436254978,
-0.039500802755355835,
0.010415916331112385,
0.02260165475308895,
-0.0008375830948352814,
0.046931520104408264,
0.005860102362930775,
0.01494496688246727,
0.006044087931513786,
-0.0059798406437039375,
-0.030573364347219467,
0.025846315547823906,
-0.00810139812529087,
0.013118487782776356,
0.030611921101808548,
0.0653972178697586,
0.03539179265499115,
-0.013645400293171406,
0.0017156979301944375,
0.020879587158560753,
0.008523853495717049,
0.025037424638867378,
-0.03082617186009884,
0.02983570471405983,
-0.010434551164507866,
-0.0059101032093167305,
0.006911647971719503,
-0.019494855776429176,
0.012156219221651554,
0.04525785148143768,
-0.015084696002304554,
-0.039036158472299576,
-0.049587201327085495,
-0.0018462270963937044,
-0.002351515693590045,
-0.005161039996892214,
-0.03539307415485382,
0.021295716986060143,
-0.01028312835842371,
-0.023187361657619476,
-0.030310872942209244,
-0.0005423829425126314,
0.008710786700248718,
-0.00763651542365551,
-0.014328591525554657,
0.007480994798243046,
0.0647290050983429,
0.014793998561799526,
0.061097629368305206,
-0.005281880032271147,
-0.010990169830620289,
-0.037954337894916534,
-0.03025077097117901,
0.02717181295156479,
-0.007389873266220093,
-0.038714449852705,
0.040751781314611435,
0.009937437251210213,
0.03245438262820244,
0.045931342989206314,
-0.02485937625169754,
0.014595432206988335,
0.0616336464881897,
0.006595931947231293,
0.0203008484095335,
-0.037770699709653854,
-0.01200379990041256,
0.03785225376486778,
0.01364720519632101,
-0.011005659587681293,
-0.06549301743507385,
-0.03657064586877823,
-0.049626436084508896,
-0.06271769851446152,
0.00857822597026825,
-0.009200122207403183,
-0.0174485445022583,
-0.04129766300320625,
0.028514061123132706,
0.03995789214968681,
-0.0030711747240275145,
0.04643531143665314,
0.005520517006516457,
-0.012473547831177711,
0.004013004247099161,
0.048228733241558075,
-0.02686404064297676,
0.0017734455177560449,
0.006928740534931421,
0.02523169107735157,
-0.047226447612047195,
0.009855048730969429,
0.04313107579946518,
-0.07194539904594421,
0.03066631220281124,
0.04909249395132065,
-0.044937171041965485,
0.025678200647234917,
0.000487263489048928,
-0.013551155105233192,
-0.02728220634162426,
-0.007976118475198746,
0.007787611801177263,
0.019254960119724274,
-0.01893601194024086,
0.020885225385427475,
0.051806624978780746,
0.025796962901949883,
0.007034067064523697,
0.003576700808480382,
0.03555089235305786,
0.04490773379802704,
0.0041663008742034435,
-0.013839742168784142,
0.03666888549923897,
0.02542930468916893,
0.006929418537765741,
0.0340438038110733,
-0.023332249373197556,
-0.01207297295331955,
-0.0006467209896072745,
-0.021158559247851372,
0.017029648646712303,
-0.01708505116403103,
-0.014994381926953793,
0.018010959029197693,
0.0015040029538795352,
0.016969043761491776,
-0.061749789863824844,
0.060956407338380814,
0.039357781410217285,
0.042584437876939774,
0.0024026513565331697,
0.015969187021255493,
0.0031910063698887825,
0.014959332533180714,
-0.012340383604168892,
0.039374228566884995,
-0.012844787910580635,
0.022598130628466606,
0.05174317955970764,
0.03636697307229042,
0.04955620318651199,
0.006089596077799797,
0.0033155912533402443,
-0.00818111002445221,
0.01725138910114765,
0.044321831315755844,
0.01338588260114193,
-0.018143469467759132,
0.029415331780910492,
-0.0006261438247747719,
-0.03538404777646065,
0.007133779115974903,
0.015117031522095203,
-0.014504223130643368,
0.01960490457713604,
0.006263076327741146,
-0.018246253952383995,
0.012936390936374664,
0.0008845499251037836,
0.0040618861094117165,
-0.04029817879199982,
0.01620369777083397,
-0.010178242810070515,
0.01246459037065506,
0.0017103016143664718,
-0.02037709765136242,
-0.005275576375424862,
0.012595045380294323,
-0.0017354548908770084,
-0.020095141604542732,
0.006664435379207134,
-0.05170933157205582,
0.006597703788429499,
0.04185498505830765,
0.008925216272473335,
0.010147815570235252,
0.04894571751356125,
-0.018763234838843346,
-0.012729060836136341,
-0.02066296711564064,
-0.002610154915601015,
0.024712473154067993,
-0.0012037637643516064,
0.01767597906291485,
0.010300192050635815,
-0.06379999220371246,
-0.0049780891276896,
0.031039953231811523,
0.02900589630007744,
0.05857760086655617,
-0.01796206459403038,
-0.060258932411670685,
0.022143162786960602,
0.026297902688384056,
0.009518221952021122,
0.054694581776857376,
-0.016326481476426125,
-0.01879582181572914,
-0.016649939119815826,
-0.011888890527188778,
-0.0014819694915786386,
-0.016364891082048416,
0.01199618075042963,
0.07480471581220627,
0.022478746250271797,
-0.022241778671741486,
-0.019537942484021187,
0.05075749382376671,
-0.008530644699931145,
0.016622574999928474,
0.04174985736608505,
-0.0009476025588810444,
0.015254982747137547,
-0.02932623401284218,
0.0373239628970623,
-0.05252891406416893,
0.013323171064257622,
-0.023740246891975403,
-0.025375189259648323,
0.0015640489291399717,
-0.00005802971645607613,
-0.023147420957684517,
0.038202378898859024,
-0.003993462771177292,
-0.0034085619263350964,
-0.08035589754581451,
0.02064894698560238,
-0.018286531791090965,
-0.0123362485319376,
0.06045876443386078,
0.019092988222837448,
0.011097574606537819,
0.014195442199707031,
0.0024175220169126987,
-0.025742022320628166,
-0.006544809322804213,
0.0409381277859211,
0.06467378884553909,
-0.01745755411684513,
-0.020123207941651344,
-0.033714305609464645,
-0.01600813679397106,
-0.000027264741220278665,
-0.016280587762594223,
0.03018689528107643,
-0.0053098625503480434,
-0.012479518540203571,
-0.0028426118660718203,
0.016733042895793915,
0.014252470806241035,
-0.03535925969481468,
0.03991660103201866,
0.007155364379286766,
-0.03275572136044502,
0.009011657908558846,
0.001935320789925754,
-0.0616285465657711,
-0.04459444433450699,
-0.012396794743835926,
0.021947233006358147,
0.03607296198606491,
0.008054997771978378,
0.0275528933852911,
-0.029225079342722893,
0.01359639409929514,
0.003307262435555458,
0.0025839402806013823,
-0.05895395949482918,
0.005790408235043287,
-0.014659535139799118,
-0.01179865188896656,
-0.017151109874248505,
-0.032733578234910965,
0.03107982687652111,
0.02951965108513832,
-0.0024530186783522367,
-0.0021566494833678007,
-0.023505650460720062,
-0.003958088345825672,
0.011349407024681568,
-0.005688751116394997,
-0.01895410381257534,
0.05932416766881943,
0.061419449746608734,
0.008485348895192146,
-0.038011375814676285,
-0.03776043653488159
] |
Optimizing your LLM in production | patrickvonplaten | Sep 15, 2023 | optimize-llm | nlp, research, LLM | https://huggingface.co/blog/optimize-llm | 3.1 Improving positional embeddings of LLMs Self-attention puts each token in relation to each other's tokens. As an example, the \\( \text{Softmax}(\mathbf{QK}^T) \\) matrix of the text input sequence *"Hello", "I", "love", "you"* could look as follows: ![](/blog/assets/163_optimize_llm/self_attn_tokens.png) Each word token is given a probability mass at which it attends all other word tokens and, therefore is put into relation with all other word tokens. E.g. the word *"love"* attends to the word *"Hello"* with 5%, to *"I"* with 30%, and to itself with 65%. A LLM based on self-attention, but without position embeddings would have great difficulties in understanding the positions of the text inputs to each other. This is because the probability score computed by \\( \mathbf{QK}^T \\) relates each word token to each other word token in \\( O(1) \\) computations regardless of their relative positional distance to each other. Therefore, for the LLM without position embeddings each token appears to have the same distance to all other tokens, *e.g.* differentiating between *"Hello I love you"* and *"You love I hello"* would be very challenging. For the LLM to understand sentence order, an additional *cue* is needed and is usually applied in the form of *positional encodings* (or also called *positional embeddings*). Positional encodings, encode the position of each token into a numerical presentation that the LLM can leverage to better understand sentence order. The authors of the [*Attention Is All You Need*](https://arxiv.org/abs/1706.03762) paper introduced sinusoidal positional embeddings \\( \mathbf{P} = \mathbf{p}_1, \ldots, \mathbf{p}_N \\) . where each vector \\( \mathbf{p}_i \\) is computed as a sinusoidal function of its position \\( i \\) . The positional encodings are then simply added to the input sequence vectors \\( \mathbf{\hat{X}} = \mathbf{\hat{x}}_1, \ldots, \mathbf{\hat{x}}_N \\) = \\( \mathbf{x}_1 + \mathbf{p}_1, \ldots, \mathbf{x}_N + \mathbf{p}_N \\) thereby cueing the model to better learn sentence order. Instead of using fixed position embeddings, others (such as [Devlin et al.](https://arxiv.org/abs/1810.04805)) used learned positional encodings for which the positional embeddings \\( \mathbf{P} \\) are learned during training. Sinusoidal and learned position embeddings used to be the predominant methods to encode sentence order into LLMs, but a couple of problems related to these positional encodings were found: 1. Sinusoidal and learned position embeddings are both absolute positional embeddings, *i.e.* encoding a unique embedding for each position id: \\( 0, \ldots, N \\) . As shown by [Huang et al.](https://arxiv.org/abs/2009.13658) and [Su et al.](https://arxiv.org/abs/2104.09864), absolute positional embeddings lead to poor LLM performance for long text inputs. For long text inputs, it is advantageous if the model learns the relative positional distance input tokens have to each other instead of their absolute position. 2. When using learned position embeddings, the LLM has to be trained on a fixed input length \\( N \\), which makes it difficult to extrapolate to an input length longer than what it was trained on. Recently, relative positional embeddings that can tackle the above mentioned problems have become more popular, most notably: - [Rotary Position Embedding (RoPE)](https://arxiv.org/abs/2104.09864) - [ALiBi](https://arxiv.org/abs/2108.12409) Both *RoPE* and *ALiBi* argue that it's best to cue the LLM about sentence order directly in the self-attention algorithm as it's there that word tokens are put into relation with each other. More specifically, sentence order should be cued by modifying the \\( \mathbf{QK}^T \\) computation. Without going into too many details, *RoPE* notes that positional information can be encoded into query-key pairs, *e.g.* \\( \mathbf{q}_i \\) and \\( \mathbf{x}_j \\) by rotating each vector by an angle \\( \theta * i \\) and \\( \theta * j \\) respectively with \\( i, j \\) describing each vectors sentence position: $$ \mathbf{\hat{q}}_i^T \mathbf{\hat{x}}_j = \mathbf{{q}}_i^T \mathbf{R}_{\theta, i -j} \mathbf{{x}}_j. $$ \\( \mathbf{R}_{\theta, i - j} \\) thereby represents a rotational matrix. \\( \theta \\) is *not* learned during training, but instead set to a pre-defined value that depends on the maximum input sequence length during training. > By doing so, the propability score between \\( \mathbf{q}_i \\) and \\( \mathbf{q}_j \\) is only affected if \\( i \ne j \\) and solely depends on the relative distance \\( i - j \\) regardless of each vector's specific positions \\( i \\) and \\( j \\) . *RoPE* is used in multiple of today's most important LLMs, such as: - [**Falcon**](https://huggingface.co/tiiuae/falcon-40b) - [**Llama**](https://arxiv.org/abs/2302.13971) - [**PaLM**](https://arxiv.org/abs/2204.02311) As an alternative, *ALiBi* proposes a much simpler relative position encoding scheme. The relative distance that input tokens have to each other is added as a negative integer scaled by a pre-defined value `m` to each query-key entry of the \\( \mathbf{QK}^T \\) matrix right before the softmax computation. ![](/blog/assets/163_optimize_llm/alibi.png) As shown in the [ALiBi](https://arxiv.org/abs/2108.12409) paper, this simple relative positional encoding allows the model to retain a high performance even at very long text input sequences. *ALiBi* is used in multiple of today's most important LLMs, such as: - [**MPT**](https://huggingface.co/mosaicml/mpt-30b) - [**BLOOM**](https://huggingface.co/bigscience/bloom) Both *RoPE* and *ALiBi* position encodings can extrapolate to input lengths not seen during training whereas it has been shown that extrapolation works much better out-of-the-box for *ALiBi* as compared to *RoPE*. For ALiBi, one simply increases the values of the lower triangular position matrix to match the length of the input sequence. For *RoPE*, keeping the same \\( \theta \\) that was used during training leads to poor results when passing text inputs much longer than those seen during training, *c.f* [Press et al.](https://arxiv.org/abs/2108.12409). However, the community has found a couple of effective tricks that adapt \\( \theta \\), thereby allowing *RoPE* position embeddings to work well for extrapolated text input sequences (see [here](https://github.com/huggingface/transformers/pull/24653)). > Both RoPE and ALiBi are relative positional embeddings that are *not* learned during training, but instead are based on the following intuitions: - Positional cues about the text inputs should be given directly to the \\( QK^T \\) matrix of the self-attention layer - The LLM should be incentivized to learn a constant *relative* distance positional encodings have to each other - The further text input tokens are from each other, the lower the probability of their query-value probability. Both RoPE and ALiBi lower the query-key probability of tokens far away from each other. RoPE by decreasing their vector product by increasing the angle between the query-key vectors. ALiBi by adding large negative numbers to the vector product In conclusion, LLMs that are intended to be deployed in tasks that require handling large text inputs are better trained with relative positional embeddings, such as RoPE and ALiBi. Also note that even if an LLM with RoPE and ALiBi has been trained only on a fixed length of say \\( N_1 = 2048 \\) it can still be used in practice with text inputs much larger than \\( N_1 \\), like \\( N_2 = 8192 > N_1 \\) by extrapolating the positional embeddings. | [
0.04234417527914047,
0.015397273004055023,
0.05459872633218765,
-0.06779983639717102,
0.031409937888383865,
0.06145916506648064,
-0.04664753004908562,
-0.006425905041396618,
-0.06979488581418991,
-0.017713727429509163,
-0.11275951564311981,
0.0576193742454052,
0.008606498129665852,
-0.023017052561044693,
-0.02151748165488243,
0.10329721122980118,
0.033822763711214066,
0.017285211011767387,
0.016519634053111076,
-0.06823211163282394,
0.03612890467047691,
0.019139062613248825,
0.04646136239171028,
-0.019025472924113274,
0.011004278436303139,
0.01870010979473591,
-0.0037148285191506147,
0.058591537177562714,
-0.024461163207888603,
-0.017932210117578506,
-0.07829036563634872,
-0.006703855935484171,
0.02625313401222229,
-0.031510304659605026,
0.03116518445312977,
-0.030730830505490303,
-0.1737927347421646,
0.05510575324296951,
0.043770208954811096,
-0.06724539399147034,
-0.017823297530412674,
-0.032088667154312134,
-0.082088902592659,
0.028661036863923073,
-0.0444365032017231,
-0.0501277782022953,
-0.1643945425748825,
0.08422481268644333,
-0.049714095890522,
-0.051128827035427094,
-0.028507167473435402,
-0.028709882870316505,
-0.05061352998018265,
0.07708040624856949,
0.007810908369719982,
-0.02805756777524948,
0.01938777230679989,
-0.07311437278985977,
0.0015067014610394835,
0.013023728504776955,
0.009958289563655853,
0.0063636344857513905,
0.02068484202027321,
0.031730517745018005,
0.034047242254018784,
0.04238446056842804,
-0.021364854648709297,
0.0024248147383332253,
-0.05614170804619789,
-0.01763273775577545,
0.017467185854911804,
0.023389603942632675,
-0.040600597858428955,
-0.015966469421982765,
0.03569597750902176,
-0.0401032418012619,
-0.04736661911010742,
0.021784542128443718,
-0.0032427182886749506,
-0.03466353937983513,
0.0335790254175663,
0.02875569276511669,
0.04818624630570412,
0.08744999021291733,
-0.007689145393669605,
0.05229092761874199,
0.04253893718123436,
-0.01532458234578371,
-0.04674167186021805,
0.006775274872779846,
-0.05980833247303963,
-0.10221689939498901,
-0.02254033461213112,
0.05045653507113457,
0.04599594324827194,
-0.036274246871471405,
0.018915658816695213,
0.012820988893508911,
-0.06285057216882706,
0.05107298865914345,
0.010070795193314552,
-0.0015466250479221344,
0.06325844675302505,
-0.024112004786729813,
0.02911616675555706,
0.06808261573314667,
0.0066022262908518314,
-0.04096957668662071,
-0.07757333666086197,
0.014866485260426998,
-0.04802130162715912,
0.009551187977194786,
0.040685057640075684,
0.0195720624178648,
-0.043041568249464035,
0.017995359376072884,
0.020900527015328407,
0.027087410911917686,
-0.004601902794092894,
0.0497979074716568,
-0.04515717178583145,
0.07051590085029602,
0.10582694411277771,
-0.03978337347507477,
0.041849520057439804,
0.03627549111843109,
-0.005840999074280262,
0.010191885754466057,
-0.01421037595719099,
0.02769511193037033,
0.03852403536438942,
0.063128262758255,
0.0683971419930458,
-0.0021017033141106367,
0.005232585594058037,
-0.027892060577869415,
0.025311928242444992,
-0.06172756105661392,
0.03899563103914261,
-0.05885794758796692,
-0.037645503878593445,
-0.024472597986459732,
-0.013942960649728775,
-0.03413465991616249,
0.07573871314525604,
0.00795062817633152,
-0.10396647453308105,
0.01540574710816145,
-0.02085757441818714,
0.043541062623262405,
0.02119004726409912,
0.017773110419511795,
0.01701272279024124,
-0.0625632181763649,
0.04501033201813698,
0.03136424347758293,
0.03592688590288162,
-0.003070178907364607,
-0.09693512320518494,
0.041974253952503204,
-0.04601375013589859,
-0.027650142088532448,
-0.09684496372938156,
0.014295504428446293,
0.0019388719229027629,
-0.07202749699354172,
0.028918268159031868,
0.024743979796767235,
-0.015026209875941277,
0.04869256913661957,
0.02617158740758896,
0.0021526827476918697,
0.016242682933807373,
-0.009248961694538593,
-0.005319005344063044,
0.031041136011481285,
-0.0017020008526742458,
0.12373930215835571,
-0.03915790095925331,
0.03431841731071472,
0.018627014011144638,
-0.0016034970758482814,
-0.00819154642522335,
0.028218120336532593,
-0.01708180084824562,
-0.08412128686904907,
0.0380357950925827,
-0.055339328944683075,
-0.038543760776519775,
-0.08605945855379105,
-0.10916818678379059,
0.01950272172689438,
-0.005038968287408352,
-0.015301626175642014,
-0.0011094138026237488,
-0.023457497358322144,
-0.04143671691417694,
0.0853840708732605,
0.08378288149833679,
0.021697556599974632,
0.09022818505764008,
0.011626102961599827,
0.03985379636287689,
0.053707998245954514,
-0.00003884415127686225,
-0.025456739589571953,
-0.021859878674149513,
-0.020632930099964142,
0.0527925007045269,
0.012468462809920311,
-0.01578303426504135,
-0.04100428521633148,
-0.027485478669404984,
-0.01781393401324749,
-0.04424554482102394,
-0.05200799182057381,
0.04765147715806961,
0.054553788155317307,
-0.053958460688591,
0.0014655505074188113,
0.13509725034236908,
-0.029869383201003075,
0.018328234553337097,
0.0015739239752292633,
-0.028174297884106636,
0.029559679329395294,
-0.011095835827291012,
-0.017046699300408363,
0.012657568790018559,
-0.04288830608129501,
-0.0008813787717372179,
-0.09544415771961212,
0.07750653475522995,
0.002038438804447651,
-0.03265906497836113,
-0.018506035208702087,
-0.01645820215344429,
0.045873116701841354,
0.048347245901823044,
-0.024660006165504456,
-0.0004388114612083882,
-0.01648101583123207,
-0.053304605185985565,
0.043697673827409744,
-0.055966779589653015,
0.02057075873017311,
0.017731009051203728,
-0.0334610678255558,
-0.025187991559505463,
0.07272263616323471,
-0.0702257826924324,
0.07588428258895874,
-0.06786123663187027,
-0.045903921127319336,
-0.022279838100075722,
0.02388995699584484,
0.028771299868822098,
-0.017631685361266136,
-0.005191624164581299,
-0.02772795967757702,
-0.004943252075463533,
0.05010959506034851,
0.012078176252543926,
0.00021847366588190198,
-0.033453986048698425,
-0.005146406590938568,
0.034137241542339325,
0.017364811152219772,
-0.028942260891199112,
0.03429669886827469,
0.006580420769751072,
0.011866528540849686,
0.018339073285460472,
0.01157945953309536,
0.021884839981794357,
0.008685416541993618,
0.03773036599159241,
-0.05095428600907326,
-0.004581793211400509,
0.0019759526476264,
0.001672630663961172,
0.013679885305464268,
0.06962742656469345,
0.010492075234651566,
-0.032951269298791885,
0.00637713773176074,
-0.03696485236287117,
0.003845711937174201,
-0.01019995752722025,
-0.02248753048479557,
-0.02024107612669468,
0.0536184087395668,
0.025808390229940414,
-0.019325973466038704,
-0.0018535158596932888,
-0.01868562400341034,
-0.007769525516778231,
0.00431676534935832,
-0.02425091527402401,
0.025675855576992035,
0.018570978194475174,
0.03791457787156105,
0.04485204815864563,
-0.011147351004183292,
-0.03645249456167221,
0.02067570574581623,
-0.01456318236887455,
0.06119577959179878,
-0.08901038020849228,
-0.022459091618657112,
0.04989144206047058,
0.009465806186199188,
0.05439050868153572,
-0.029853319749236107,
0.06634119153022766,
-0.00519980676472187,
-0.03627557307481766,
-0.016502022743225098,
0.025208165869116783,
-0.02006973884999752,
0.029048871248960495,
-0.01881355792284012,
0.04398766905069351,
0.03649253398180008,
0.031170425936579704,
-0.02406410314142704,
0.02579793892800808,
-0.008059067651629448,
0.03210374340415001,
0.023449262604117393,
-0.019886460155248642,
-0.02771039493381977,
-0.04287530854344368,
0.024660198017954826,
-0.0071978443302214146,
0.018133725970983505,
0.050187136977910995,
-0.012011854909360409,
-0.024305272847414017,
0.025774601846933365,
-0.012811485677957535,
-0.0164343249052763,
-0.09598550945520401,
-0.015452230349183083,
0.020980700850486755,
0.018730437383055687,
0.020104922354221344,
0.039296843111515045,
0.03837590292096138,
0.0047529106959700584,
0.024530505761504173,
-0.004772915970534086,
0.048609934747219086,
-0.042584896087646484,
0.011332284659147263,
-0.004020253196358681,
-0.0036357289645820856,
-0.03801709786057472,
0.020781749859452248,
-0.04411103576421738,
-0.031667932868003845,
0.0054878233931958675,
-0.006510993931442499,
-0.02195221558213234,
0.017238136380910873,
0.010621367953717709,
-0.006410934962332249,
0.022373611107468605,
-0.051833439618349075,
-0.019442573189735413,
-0.009481823071837425,
0.00546956667676568,
-0.012762053869664669,
0.035114046186208725,
-0.023648997768759727,
0.0018075944390147924,
0.010468733496963978,
0.05738257244229317,
0.005844815634191036,
-0.016980724409222603,
-0.01687011495232582,
0.0010129427537322044,
-0.043754544109106064,
0.0066055129282176495,
0.001471170806325972,
-0.020449848845601082,
0.08165937662124634,
0.012668581679463387,
-0.018488990142941475,
0.023797081783413887,
-0.04817637801170349,
0.027997225522994995,
0.004097103141248226,
0.006429795641452074,
0.010008490644395351,
-0.0014288990059867501,
0.04116896539926529,
-0.01699506677687168,
-0.002437061397358775,
-0.011664122343063354,
0.004180728457868099,
-0.017982816323637962,
-0.02292267419397831,
0.03646156191825867,
0.036372240632772446,
-0.0075105950236320496,
0.03618738055229187,
0.01006973348557949,
0.03474769741296768,
-0.03402666002511978,
0.028274070471525192,
0.004124568309634924,
-0.02572491392493248,
-0.02448105812072754,
-0.07148592174053192,
-0.007681750226765871,
0.04920974001288414,
0.0033752727322280407,
-0.012662038207054138,
-0.009269826114177704,
0.03142591193318367,
0.03044254705309868,
0.05036954581737518,
-0.0015940642915666103,
-0.06881551444530487,
-0.017007645219564438,
-0.04194578528404236,
-0.017207471653819084,
-0.026567311957478523,
0.00534066092222929,
0.003313720226287842,
-0.03046395443379879,
0.02949398383498192,
-0.006332364398986101,
-0.008839109912514687,
-0.005511218216270208,
-0.014557394199073315,
-0.026235347613692284,
-0.05775858089327812,
0.004606430418789387,
0.009145678021013737,
-0.009018956683576107,
0.007794950157403946,
-0.014197985641658306,
-0.038936860859394073,
0.06059318408370018,
0.011258610524237156,
-0.053218379616737366,
-0.03608030080795288,
-0.027592018246650696,
-0.01271852757781744,
0.010656960308551788,
0.021631838753819466,
0.020932849496603012,
-0.02017354965209961,
0.005535546224564314,
-0.005677696317434311,
0.02615996077656746,
0.05320855230093002,
0.0028505129739642143,
-0.028411738574504852,
0.01938503421843052,
0.02342209592461586,
-0.008532199077308178,
0.00366460089571774,
0.0006768358289264143,
-0.0232293289154768,
0.023450279608368874,
-0.0065698400139808655,
0.04571131244301796,
-0.036426909267902374,
-0.018622931092977524,
0.01616503670811653,
-0.015070485882461071,
0.005191562231630087,
-0.020174968987703323,
0.009435081854462624,
-0.015402991324663162,
-0.015796605497598648,
-0.01975267007946968,
-0.013902145437896252,
-0.006189899053424597,
-0.005060787778347731,
-0.022945689037442207,
-0.01888531818985939,
0.019166816025972366,
-0.030235489830374718,
-0.0016677504172548652,
-0.05445820093154907,
-0.037717416882514954,
0.029955854639410973,
-0.024766093119978905,
-0.033994391560554504,
0.04334261640906334,
0.07225020974874496,
0.017791593447327614,
-0.035308148711919785,
0.012223662808537483,
-0.01089825201779604,
0.009357212111353874,
0.04144679754972458,
-0.009546156041324139,
0.0686701238155365,
-0.0068798428401350975,
0.02318999543786049,
-0.008940604515373707,
-0.0541846826672554,
-0.01586846448481083,
0.05428794398903847,
0.012872286140918732,
-0.06315786391496658,
-0.050176918506622314,
0.012513483874499798,
-0.002914660144597292,
0.007611004635691643,
-0.050659362226724625,
-0.015339737758040428,
-0.0017151677748188376,
-0.017670992761850357,
-0.0033617201261222363,
-0.016012724488973618,
0.003452059580013156,
0.02494720369577408,
-0.018140077590942383,
-0.021025868132710457,
0.027633486315608025,
-0.016389871016144753,
0.04430096596479416,
0.01899494044482708,
-0.013187786564230919,
-0.047386620193719864,
0.037977851927280426,
0.03767622262239456,
-0.04297874867916107,
-0.005823864135891199,
-0.00040900136809796095,
0.031012890860438347,
-0.016443168744444847,
0.03177003189921379,
-0.033090829849243164,
0.03121189959347248,
0.004541558679193258,
-0.0029960398096591234,
-0.025234850123524666,
-0.05133962258696556,
0.02538112737238407,
0.0389520637691021,
-0.016497597098350525,
0.022815577685832977,
0.0208902470767498,
-0.0644850879907608,
0.02723223902285099,
-0.011195924133062363,
0.028289858251810074,
0.05594899132847786,
-0.015780678018927574,
-0.04452644661068916,
0.03365606814622879,
0.054048046469688416,
-0.03576571121811867,
-0.011441117152571678,
0.015912910923361778,
0.008791610598564148,
0.05113993585109711,
0.03945763409137726,
0.010575413703918457,
0.009861760772764683,
0.03656045347452164,
-0.00223703496158123,
-0.06705966591835022,
0.0005234965356066823,
0.0020839034114032984,
-0.028355833142995834,
-0.003891679923981428,
0.04843057692050934,
-0.015570768155157566,
0.008254670538008213,
0.0485188253223896,
0.04046742990612984,
-0.014854129403829575,
-0.019806375727057457,
0.03329649195075035,
0.010545889846980572,
0.014012523926794529,
0.006150019820779562,
0.010558245703577995,
0.014295089989900589,
-0.0021966376807540655,
0.006173077505081892,
-0.015317212790250778,
0.036641109734773636,
0.0020111650228500366,
0.016801908612251282,
0.03048357553780079,
0.017212260514497757,
0.0028789029456675053,
0.06273160129785538,
-0.03998313844203949,
0.026129255071282387,
0.03776088356971741,
0.02490197867155075,
-0.0056091961450874805,
-0.027578705921769142,
0.045589614659547806,
0.008720656856894493,
-0.018947554752230644,
0.013363810256123543,
-0.03706318885087967,
0.06396042555570602,
0.015235550701618195,
0.061599940061569214,
-0.00687132915481925,
-0.003450999967753887,
0.009779408574104309,
0.04465764760971069,
-0.020007148385047913,
0.020810991525650024,
0.014451652765274048,
-0.039996467530727386,
0.0369841493666172,
0.014286386780440807,
0.0510815791785717,
0.014365749433636665,
-0.011692626401782036,
0.019014034420251846,
-0.03805676847696304,
-0.006228120531886816,
0.0035728411749005318,
0.00007720904977759346,
-0.0374097041785717,
0.009855583310127258,
-0.04144872725009918,
-0.0016122938832268119,
-0.006805111188441515,
-0.001384228584356606,
-0.003053100546821952,
0.01264034491032362,
-0.007291423622518778,
0.020797917619347572,
0.05462586507201195,
0.0013212085468694568,
0.017820211127400398,
-0.02886655554175377,
-0.010078592225909233,
-0.00023729310487397015,
0.0030046969186514616,
-0.032712358981370926,
-0.037524424493312836,
-0.04783841222524643,
0.012285101227462292,
0.0013555901823565364,
0.023628050461411476,
-0.018841901794075966,
-0.04660312831401825,
0.07314469665288925,
0.03794608637690544,
-0.0292649045586586,
0.0007372554973699152,
-0.005865832325071096,
-0.0041676233522593975,
-0.06042783707380295,
-0.04488193616271019,
-0.018391139805316925,
0.015418889001011848,
0.004375925753265619,
0.002399180084466934,
-0.0014156460529193282,
0.001591537264175713,
0.005322895012795925,
0.044377606362104416,
0.04343348741531372,
-0.001182554173283279,
-0.013061370700597763,
0.05052201822400093,
0.011532384902238846,
-0.005416516680270433,
-0.0032666176557540894,
0.027390366420149803,
-0.025908909738063812,
-0.05234715715050697,
-0.0295722596347332,
-0.03624619171023369,
0.0003711931931320578,
0.010913247242569923,
0.0438704676926136,
-0.014492212794721127,
-0.04181418567895889,
-0.04100487008690834,
0.03346630185842514,
0.006633841898292303,
0.033288706094026566,
0.03065667860209942,
0.004223031457513571,
0.028221631422638893,
-0.003726429771631956,
0.03388316184282303,
-0.020711315795779228,
-0.0009146388620138168,
0.007850526832044125,
-0.03940708190202713,
0.002827452728524804,
0.028831975534558296,
0.03750990703701973,
0.01682937890291214,
0.0008915983489714563,
0.042783647775650024,
-0.03890126943588257,
-0.038127075880765915,
-0.024673856794834137,
0.0067384191788733006,
0.044069577008485794,
-0.0461561419069767,
0.018716085702180862,
0.01578032411634922,
-0.0014696280704811215,
-0.031297098845243454,
0.001287017366848886,
-0.022077377885580063,
0.05371137335896492,
-0.01009836234152317,
0.015292960219085217,
-0.018035415560007095,
0.020603306591510773,
-0.029930949211120605,
-0.034321799874305725,
0.026222186163067818,
0.0333891399204731,
-0.023676203563809395,
0.016783539205789566,
0.0031790463253855705,
-0.0242743082344532,
0.02392653375864029,
-0.006782392039895058,
0.018886644393205643,
0.009351915679872036,
0.042391106486320496,
-0.010648958384990692,
-0.03037060797214508,
0.006819866597652435,
0.025809336453676224,
-0.023497343063354492,
0.03630874305963516,
0.017624041065573692,
0.06481187045574188,
-0.007324550300836563,
0.03733168914914131,
0.005141406320035458,
-0.03116409294307232,
0.009975668042898178,
-0.027913514524698257,
-0.005779152736067772,
0.01985214836895466,
-0.021349459886550903,
-0.06073112413287163,
0.005102226044982672,
0.02687668986618519,
-0.0017475803615525365,
0.016015777364373207,
-0.01614430546760559,
0.00032745979842729867,
-0.030121007934212685,
-0.009778408333659172,
0.026227938011288643,
0.04136097803711891,
-0.013693115673959255,
0.041290588676929474,
0.0018368876772001386,
0.005648846738040447
] |
Optimizing your LLM in production | patrickvonplaten | Sep 15, 2023 | optimize-llm | nlp, research, LLM | https://huggingface.co/blog/optimize-llm | # Optimizing your LLM in production Note: This blog post is also available as a documentation page on Transformers. Large Language Models (LLMs) such as GPT3/4, Falcon, and LLama are rapidly advancing in their ability to tackle human-centric tasks, establishing themselves as essential tools in modern knowledge-based industries. Deploying these models in real-world tasks remains challenging, however: - To exhibit near-human text understanding and generation capabilities, LLMs currently require to be composed of billions of parameters (see Kaplan et al, Wei et. al). This consequently amplifies the memory demands for inference. - In many real-world tasks, LLMs need to be given extensive contextual information. This necessitates the model's capability to manage very long input sequences during inference. The crux of these challenges lies in augmenting the computational and memory capabilities of LLMs, especially when handling expansive input sequences. In this blog post, we will go over the most effective techniques at the time of writing this blog post to tackle these challenges for efficient LLM deployment: 1. Lower Precision: Research has shown that operating at reduced numerical precision, namely 8-bit and 4-bit, can achieve computational advantages without a considerable decline in model performance. 2. Flash Attention: Flash Attention is a variation of the attention algorithm that not only provides a more memory-efficient approach but also realizes increased efficiency due to optimized GPU memory utilization. 3. Architectural Innovations: Considering that LLMs are always deployed in the same way during inference, namely autoregressive text generation with a long input context, specialized model architectures have been proposed that allow for more efficient inference. The most important advancement in model architectures hereby are Alibi, Rotary embeddings, Multi-Query Attention (MQA) and Grouped-Query-Attention (GQA). Throughout this notebook, we will offer an analysis of auto-regressive generation from a tensor's perspective. We delve into the pros and cons of adopting lower precision, provide a comprehensive exploration of the latest attention algorithms, and discuss improved LLM architectures. While doing so, we run practical examples showcasing each of the feature improvements. | [
0.020731180906295776,
0.026900559663772583,
0.057353675365448,
-0.002925808308646083,
0.0313192643225193,
0.018070494756102562,
0.008421044796705246,
0.035652488470077515,
0.017543572932481766,
0.018152356147766113,
-0.0356278195977211,
0.022679420188069344,
-0.0215145256370306,
0.07264529168605804,
0.04507196322083473,
0.013037257827818394,
-0.004381247796118259,
-0.025267519056797028,
-0.007581273093819618,
0.00810693297535181,
0.07464419305324554,
-0.014705336652696133,
0.054901231080293655,
-0.030913157388567924,
-0.023985005915164948,
0.0027620585169643164,
-0.022545043379068375,
0.02250082418322563,
-0.01010284386575222,
-0.011195672675967216,
-0.1084526851773262,
0.002627349691465497,
-0.041084107011556625,
0.02830941416323185,
-0.028911061584949493,
-0.0162876658141613,
-0.13174210488796234,
0.03187490254640579,
0.00752733601257205,
-0.05726897343993187,
0.02299962192773819,
-0.0340571291744709,
-0.07548481971025467,
-0.026931028813123703,
-0.006734727881848812,
0.04021776095032692,
-0.09610960632562637,
0.046541906893253326,
-0.040615394711494446,
-0.014099753461778164,
-0.1165722981095314,
0.08220060169696808,
-0.04142798110842705,
-0.008474957197904587,
0.050781719386577606,
0.04688591510057449,
0.022592000663280487,
-0.08288678526878357,
0.008707098662853241,
0.03563870117068291,
-0.007165201939642429,
0.01925239898264408,
0.020104367285966873,
0.02733427844941616,
0.02461669035255909,
-0.03383283317089081,
-0.005416599102318287,
-0.019241448491811752,
-0.07726263999938965,
0.03738642856478691,
0.039064355194568634,
0.06639424711465836,
-0.0709495022892952,
-0.037785571068525314,
-0.034542862325906754,
-0.03952363505959511,
0.04163913056254387,
0.08534952253103256,
-0.0036086449399590492,
0.01202642172574997,
0.006334982812404633,
0.009605546481907368,
0.07579754292964935,
0.02853989787399769,
-0.004694607108831406,
0.03818550705909729,
0.07251650840044022,
-0.056119587272405624,
-0.04783095419406891,
-0.009599689394235611,
-0.07305837422609329,
-0.1102941706776619,
-0.021096868440508842,
0.030180498957633972,
0.006293811369687319,
-0.012346538715064526,
0.010358966886997223,
0.0252616535872221,
-0.03508934751152992,
0.01940326765179634,
0.010524077340960503,
-0.021476099267601967,
-0.006816379260271788,
-0.00924147292971611,
-0.010356315411627293,
0.07560327649116516,
-0.012013151310384274,
-0.08108346164226532,
-0.0031357919797301292,
0.05706086382269859,
-0.03111249953508377,
0.01878640428185463,
-0.001779676415026188,
-0.0460427850484848,
-0.09970291703939438,
-0.024327334016561508,
-0.01610206998884678,
0.015392511151731014,
0.026407670229673386,
0.0611027330160141,
-0.022833410650491714,
0.06942202150821686,
0.06666470319032669,
-0.01126923505216837,
0.007935493253171444,
0.01868343912065029,
0.026998654007911682,
-0.01023588702082634,
0.006676799617707729,
-0.04028856009244919,
0.023227328434586525,
-0.057654574513435364,
-0.030742155387997627,
0.004485415294766426,
0.009010559879243374,
-0.0549917072057724,
0.003903763834387064,
-0.05541705712676048,
0.030637796968221664,
-0.05506661906838417,
-0.044005393981933594,
-0.029104186221957207,
0.009010903537273407,
-0.07936141639947891,
0.12004408240318298,
-0.03328464552760124,
-0.06494701653718948,
0.011684007942676544,
0.017689766362309456,
-0.019947918131947517,
-0.04733559489250183,
0.009956871159374714,
-0.07962571829557419,
-0.059402864426374435,
0.07842466980218887,
0.06900256872177124,
-0.012597955763339996,
-0.0050973747856915,
-0.10353486984968185,
-0.035606980323791504,
-0.047098558396101,
-0.019697627052664757,
-0.02237958088517189,
0.008797215297818184,
0.011019445955753326,
-0.0422464981675148,
0.044867705553770065,
0.027430575340986252,
-0.00926966592669487,
0.08297993242740631,
0.01897505857050419,
0.09570521861314774,
0.048219550400972366,
-0.04145462065935135,
-0.029802730306982994,
0.048535093665122986,
0.06017198786139488,
0.03434419631958008,
0.0033534816466271877,
-0.024517325684428215,
-0.019870011135935783,
0.02855067141354084,
0.015747491270303726,
0.05208595469594002,
-0.008038423024117947,
-0.09801172465085983,
0.052669819444417953,
-0.08205638080835342,
-0.11087744683027267,
-0.09263986349105835,
-0.05118616670370102,
0.03584635630249977,
0.023162640631198883,
-0.008074684999883175,
-0.03297645226120949,
0.024539977312088013,
-0.010764884762465954,
0.1565861850976944,
0.10320457071065903,
0.04947014898061752,
0.05211469158530235,
0.05364353582262993,
0.024417342618107796,
0.012248000130057335,
0.011606041342020035,
-0.012189999222755432,
0.0027693191077560186,
-0.025230614468455315,
0.036383986473083496,
0.03316713869571686,
0.03101523406803608,
-0.14280366897583008,
-0.01668519712984562,
-0.03923509642481804,
-0.023722263053059578,
-0.09953559190034866,
-0.012901948764920235,
-0.006319438107311726,
0.0038976913783699274,
-0.04426661878824234,
0.10803788155317307,
-0.04109829664230347,
-0.03327387198805809,
-0.03273705393075943,
-0.01887567900121212,
0.004363772459328175,
0.03765394538640976,
0.025465818122029305,
0.028529636561870575,
-0.05767294764518738,
0.04596010223031044,
-0.09647373110055923,
0.03960369899868965,
-0.024954602122306824,
-0.038266848772764206,
-0.02146492339670658,
-0.07463417202234268,
0.024477194994688034,
0.008763338439166546,
-0.0040460084564983845,
0.026046782732009888,
0.06300880014896393,
-0.02590022049844265,
0.05665800720453262,
0.024875285103917122,
-0.02548743225634098,
0.0293786209076643,
-0.006590540986508131,
0.03584057837724686,
-0.024189934134483337,
-0.03944568708539009,
0.053361400961875916,
-0.01873645931482315,
-0.0014356371248140931,
0.005331738386303186,
-0.049220144748687744,
-0.005277865566313267,
0.029676467180252075,
-0.04727775231003761,
-0.01806206814944744,
0.013053886592388153,
0.004066126421093941,
0.022660361602902412,
-0.028924796730279922,
0.004225213546305895,
-0.010031137615442276,
0.009119784459471703,
-0.007464209571480751,
-0.012661098502576351,
-0.017502639442682266,
0.01189139112830162,
-0.010497319512069225,
0.07059969753026962,
0.029037749394774437,
0.009476331062614918,
0.03236269950866699,
0.03791184350848198,
-0.06956679373979568,
-0.023229632526636124,
-0.024336272850632668,
0.008024143055081367,
-0.030843453481793404,
0.035517558455467224,
-0.017834072932600975,
-0.03671640157699585,
-0.024786613881587982,
-0.0067131733521819115,
0.007445869501680136,
-0.03360296040773392,
0.0076428488828241825,
-0.009239369072020054,
0.022845113649964333,
-0.026588279753923416,
-0.017190946266055107,
-0.0031902717892080545,
0.006226231809705496,
-0.013881789520382881,
-0.05234312266111374,
-0.059782594442367554,
-0.00613059988245368,
-0.04352353513240814,
0.0001564109552418813,
0.008457430638372898,
0.004481426440179348,
-0.010601102374494076,
0.01138240471482277,
0.019952520728111267,
0.040460553020238876,
-0.0873938649892807,
-0.02889525704085827,
-0.03714578598737717,
-0.05077197030186653,
0.018714822828769684,
-0.03671175241470337,
0.06319190561771393,
-0.0009139135363511741,
0.010970806702971458,
0.025951486080884933,
-0.005935473833233118,
0.04880513623356819,
0.008293923921883106,
-0.020541690289974213,
-0.014599758200347424,
0.03612348064780235,
0.017661677673459053,
-0.021661842241883278,
0.041406307369470596,
0.01781993731856346,
0.05108924210071564,
0.014194237068295479,
-0.016764847561717033,
-0.01109993364661932,
-0.03234688565135002,
0.016950519755482674,
-0.01976798288524151,
0.029483016580343246,
-0.004160049371421337,
0.013140139169991016,
-0.012461223639547825,
-0.019278213381767273,
0.017099544405937195,
0.029206177219748497,
-0.03140764310956001,
0.014966045506298542,
0.01516652200371027,
0.024505453184247017,
0.0032407650724053383,
0.07174656540155411,
0.04509146139025688,
-0.020690109580755234,
0.016400590538978577,
0.012347986921668053,
0.03569214046001434,
0.014495987445116043,
-0.012754663825035095,
-0.021276380866765976,
0.052262190729379654,
-0.04869779944419861,
-0.06239362061023712,
-0.010697713121771812,
-0.014159375801682472,
0.0015810035401955247,
0.025614216923713684,
-0.0025468431413173676,
0.03829329460859299,
-0.0062842657789587975,
0.03413567692041397,
0.043247971683740616,
-0.059751883149147034,
0.02032299153506756,
-0.01835433579981327,
0.019507670775055885,
-0.007722657639533281,
0.045709799975156784,
0.044504933059215546,
-0.04627074673771858,
-0.013808153569698334,
0.06168593838810921,
0.017996318638324738,
0.06557220220565796,
-0.0010337239364162087,
-0.006104013882577419,
-0.0013015923323109746,
0.030258916318416595,
0.03904623165726662,
-0.004643247462809086,
0.0876690223813057,
0.031060565263032913,
-0.0032439911738038063,
-0.01978115178644657,
-0.08047086000442505,
-0.026875514537096024,
0.02289694920182228,
0.013126693665981293,
0.03329111263155937,
-0.036993443965911865,
-0.00953295174986124,
-0.03457582741975784,
-0.0033374472986906767,
-0.0014145333552733064,
0.015460507944226265,
-0.016203006729483604,
0.003669780446216464,
-0.02560574747622013,
0.025279797613620758,
-0.015630332753062248,
0.0091573316603899,
-0.01718018390238285,
0.02582518197596073,
-0.03630555421113968,
0.00046128223766572773,
-0.014553418383002281,
-0.039684273302555084,
0.014872109517455101,
-0.014623207971453667,
0.033810533583164215,
0.03026234358549118,
0.037964534014463425,
-0.04129793867468834,
0.0067222812213003635,
-0.0061082299798727036,
0.019738227128982544,
0.014050232246518135,
0.0264362134039402,
-0.014615766704082489,
0.01858367770910263,
-0.0206316988915205,
-0.0020076772198081017,
-0.06405047327280045,
0.044367481023073196,
0.0010124251712113619,
-0.009376485832035542,
0.06393882632255554,
0.004628296941518784,
0.005692026577889919,
-0.009495454840362072,
-0.008161472156643867,
-0.00268240156583488,
-0.018225591629743576,
0.023810502141714096,
0.0488099567592144,
0.03004469722509384,
-0.004331810865551233,
0.0011808053823187947,
-0.05605654418468475,
0.02275148779153824,
0.003831166075542569,
0.0018166120862588286,
-0.02228502929210663,
-0.02967442199587822,
-0.001306032994762063,
-0.0368892140686512,
-0.006714375223964453,
-0.01759764738380909,
0.009887566789984703,
0.00700770178809762,
-0.006115850061178207,
0.04376310855150223,
0.05449472367763519,
-0.02257208712399006,
-0.027479665353894234,
0.03820843622088432,
0.01773119531571865,
0.018385831266641617,
-0.014978400431573391,
0.008219407871365547,
0.05147388204932213,
0.012143515981733799,
0.018227238208055496,
0.056585732847452164,
-0.05941598117351532,
0.016579456627368927,
0.02597459778189659,
0.018024161458015442,
-0.002117795404046774,
-0.02083885483443737,
0.01215014886111021,
-0.004996566567569971,
-0.0016132211312651634,
0.012841098941862583,
-0.015391371212899685,
0.012102533131837845,
-0.0027463966980576515,
0.0038778670132160187,
0.039210014045238495,
0.02109636180102825,
0.0017425885889679193,
-0.0013330308720469475,
0.0005419498775154352,
-0.052109330892562866,
0.02266845852136612,
-0.015721607953310013,
-0.010108762420713902,
0.02454078383743763,
0.03187231346964836,
0.09205260872840881,
-0.01691303215920925,
-0.0019412629771977663,
0.029060157015919685,
0.002357494318857789,
0.005951820872724056,
-0.02449650876224041,
0.01787576824426651,
0.008763621561229229,
0.0017947799060493708,
0.04691947251558304,
-0.03572674095630646,
0.014540379866957664,
0.0288662388920784,
-0.006537444423884153,
-0.03287338837981224,
0.002521126763895154,
0.015019822865724564,
-0.001236627111211419,
0.00012071632227161899,
-0.04131651297211647,
0.018103668466210365,
0.004861794877797365,
-0.015759248286485672,
-0.005600819364190102,
-0.025662630796432495,
0.01580069214105606,
0.010617329739034176,
-0.029041465371847153,
-0.0004327849601395428,
0.037336234003305435,
0.010213998146355152,
0.05761026218533516,
-0.01192848477512598,
-0.03696320205926895,
0.014130158349871635,
0.019797630608081818,
-0.01195900235325098,
-0.034747958183288574,
-0.016364580020308495,
0.04263436421751976,
0.024330828338861465,
0.028287768363952637,
0.02167380042374134,
-0.04584137350320816,
0.038121726363897324,
0.05687057971954346,
0.014551711268723011,
0.0014399434439837933,
-0.051344338804483414,
-0.0013940635835751891,
0.031140679493546486,
0.025425046682357788,
-0.0077379196882247925,
-0.043488405644893646,
-0.04630770534276962,
0.03631770610809326,
-0.03495277836918831,
0.023051634430885315,
0.009843324311077595,
-0.06379435211420059,
-0.06846277415752411,
0.02470954693853855,
0.028662223368883133,
-0.012996766716241837,
0.05684155970811844,
0.01646503247320652,
-0.0014299036702141166,
0.0384356863796711,
0.05455604940652847,
0.009183786809444427,
0.009774159640073776,
0.024499814957380295,
0.016864469274878502,
-0.013473877683281898,
0.0018560565076768398,
0.004203153308480978,
-0.025482436642050743,
0.007658278103917837,
0.024254580959677696,
-0.05033707618713379,
0.009576023556292057,
0.00996219553053379,
0.0015570423565804958,
-0.00856227707117796,
0.009009518660604954,
0.009419039823114872,
-0.04122891649603844,
-0.011625775136053562,
0.007805919740349054,
0.012089223600924015,
0.03766651824116707,
0.021148191764950752,
-0.00025509027182124555,
0.010669762268662453,
0.029507571831345558,
-0.030150489881634712,
0.047297846525907516,
0.021532628685235977,
0.059509437531232834,
0.041985612362623215,
-0.00841384008526802,
-0.02301395684480667,
0.004654673393815756,
0.04182145744562149,
0.0045007867738604546,
0.007373407483100891,
-0.0650777593255043,
-0.01737617328763008,
0.031045101583003998,
-0.02412307821214199,
0.01275370642542839,
-0.01791471056640148,
0.06870554387569427,
0.004373597446829081,
0.04895392432808876,
0.02567685768008232,
0.021840332075953484,
-0.035378407686948776,
0.00542512908577919,
0.006230254657566547,
0.03491035848855972,
0.033339619636535645,
-0.011108718812465668,
0.022684024646878242,
0.04077587276697159,
0.052088286727666855,
0.008279889822006226,
-0.013411198742687702,
-0.022279946133494377,
-0.03491266816854477,
0.026555512100458145,
0.037504713982343674,
-0.0220708716660738,
0.005193711724132299,
0.025664109736680984,
-0.017697958275675774,
-0.0047622742131352425,
0.025019671767950058,
0.004799712914973497,
0.006559192668646574,
-0.016534041613340378,
-0.03261969983577728,
-0.017303187400102615,
0.005447802133858204,
-0.013453257270157337,
-0.05898498371243477,
-0.042018596082925797,
-0.015337711200118065,
0.00034572926233522594,
0.031751468777656555,
-0.020227039232850075,
-0.0191196259111166,
0.015157097950577736,
0.026113236322999,
-0.011555053293704987,
0.028100641444325447,
0.01897352747619152,
-0.007749174255877733,
0.040567170828580856,
-0.021742282435297966,
-0.027278004214167595,
0.009560707025229931,
-0.009657605551183224,
-0.016114773228764534,
-0.03203222528100014,
0.004758092574775219,
-0.000440111878560856,
-0.03636651858687401,
0.006423455197364092,
0.004494319204241037,
-0.014433229342103004,
-0.0002470301988068968,
0.014348055236041546,
0.0370655432343483,
0.08029346913099289,
0.0016263233264908195,
-0.01728907972574234,
0.0009191764984279871,
0.026033082976937294,
0.025031622499227524,
-0.030649421736598015,
-0.03882652521133423,
-0.005442753899842501,
-0.005940028000622988,
-0.04413093253970146,
-0.018299441784620285,
-0.005075430031865835,
-0.0023700599558651447,
0.0737864300608635,
0.05195431411266327,
0.00046416258555836976,
-0.04265092313289642,
0.06390959769487381,
0.010863767005503178,
0.042385999113321304,
0.041393544524908066,
-0.00823974609375,
0.024245942011475563,
-0.002315158722922206,
0.0038404548540711403,
-0.03206632658839226,
0.03980741277337074,
-0.02775878645479679,
-0.03538237884640694,
-0.013014806434512138,
0.028755243867635727,
-0.0017987568862736225,
0.02594568207859993,
-0.027351215481758118,
0.014815175905823708,
-0.052263371646404266,
0.0017427760176360607,
-0.01806582510471344,
-0.022668953984975815,
0.07412344217300415,
0.00959580298513174,
0.016316121444106102,
-0.011109898798167706,
-0.006616691127419472,
-0.00242591742426157,
0.0004135279159527272,
0.0009562986670061946,
0.055935412645339966,
-0.02099754475057125,
-0.006517583504319191,
-0.058464180678129196,
-0.020246414467692375,
-0.03103969432413578,
-0.03127641975879669,
0.031507838517427444,
0.028593769297003746,
-0.06007267162203789,
0.012794282287359238,
0.032448310405015945,
0.02065649814903736,
-0.009611288085579872,
0.0164455845952034,
-0.007442954462021589,
-0.0108284130692482,
0.05700269341468811,
-0.020335454493761063,
-0.0472600944340229,
-0.023913640528917313,
0.00272873742505908,
0.010093516670167446,
0.036363210529088974,
0.00813723262399435,
0.017514633014798164,
-0.010236221365630627,
0.0426698736846447,
-0.003260810626670718,
-0.0018974896520376205,
-0.011892619542777538,
-0.02981122024357319,
0.030177725479006767,
-0.022219769656658173,
-0.028318606317043304,
-0.04922673851251602,
0.022582413628697395,
-0.008777507580816746,
0.013224800117313862,
-0.012575412169098854,
-0.02563192881643772,
-0.035243332386016846,
0.02266480028629303,
-0.017362946644425392,
-0.0005769767449237406,
0.010593187063932419,
0.00311187282204628,
0.01361699216067791,
-0.006646137218922377,
-0.06988128274679184
] |
Optimizing your LLM in production | patrickvonplaten | Sep 15, 2023 | optimize-llm | nlp, research, LLM | https://huggingface.co/blog/optimize-llm | 1. Harnessing the Power of Lower Precision Memory requirements of LLMs can be best understood by seeing the LLM as a set of weight matrices and vectors and the text inputs as a sequence of vectors. In the following, the definition weights will be used to signify all model weight matrices and vectors. At the time of writing this post, LLMs consist of at least a couple billion parameters. Each parameter thereby is made of a decimal number, e.g. 4.5689 which is usually stored in either float32, bfloat16, or float16 format. This allows us to easily compute the memory requirement to load the LLM into memory: > Loading the weights of a model having X billion parameters requires roughly 4 * X GB of VRAM in float32 precision Nowadays, models are however rarely trained in full float32 precision, but usually in bfloat16 precision or less frequently in float16 precision. Therefore the rule of thumb becomes: > Loading the weights of a model having X billion parameters requires roughly 2 * X GB of VRAM in bfloat16/float16 precision For shorter text inputs (less than 1024 tokens), the memory requirement for inference is very much dominated by the memory requirement to load the weights. Therefore, for now, let's assume that the memory requirement for inference is equal to the memory requirement to load the model into the GPU VRAM. To give some examples of how much VRAM it roughly takes to load a model in bfloat16: - GPT3 requires 2 * 175 GB = 350 GB VRAM - Bloom requires 2 * 176 GB = 352 GB VRAM - Llama-2-70b requires 2 * 70 GB = 140 GB VRAM - Falcon-40b requires 2 * 40 GB = 80 GB VRAM - MPT-30b requires 2 * 30 GB = 60 GB VRAM - bigcode/starcoder requires 2 * 15.5 = 31 GB VRAM As of writing this document, the largest GPU chip on the market is the A100 offering 80GB of VRAM. Most of the models listed before require more than 80GB just to be loaded and therefore necessarily require tensor parallelism and/or pipeline parallelism. 🤗 Transformers does not support tensor parallelism out of the box as it requires the model architecture to be written in a specific way. If you're interested in writing models in a tensor-parallelism-friendly way, feel free to have a look at the text-generation-inference library. Naive pipeline parallelism is supported out of the box. For this, simply load the model with device="auto" which will automatically place the different layers on the available GPUs as explained here. Note, however that while very effective, this naive pipeline parallelism does not tackle the issues of GPU idling. For this more advanced pipeline parallelism is required as explained here. If you have access to an 8 x 80GB A100 node, you could load BLOOM as follows bash !pip install transformers accelerate bitsandbytes optimum python from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("bigscience/bloom", device_map="auto", pad_token_id=0) By using device_map="auto" the attention layers would be equally distributed over all available GPUs. In this notebook, we will use bigcode/octocoder as it can be run on a single 40 GB A100 GPU device chip. Note that all memory and speed optimizations that we will apply going forward, are equally applicable to models that require model or tensor parallelism. Since the model is loaded in bfloat16 precision, using our rule of thumb above, we would expect the memory requirement to run inference with bigcode/octocoder to be around 31 GB VRAM. Let's give it a try. We first load the model and tokenizer and then pass both to Transformers' pipeline object. python from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline import torch model = AutoModelForCausalLM.from_pretrained("bigcode/octocoder", torch_dtype=torch.bfloat16, device_map="auto", pad_token_id=0) tokenizer = AutoTokenizer.from_pretrained("bigcode/octocoder") pipe = pipeline("text-generation", model=model, tokenizer=tokenizer) python prompt = "Question: Please write a function in Python that transforms bytes to Giga bytes.\n\nAnswer:" result = pipe(prompt, max_new_tokens=60)[0]["generated_text"][len(prompt):] result Output: Here is a Python function that transforms bytes to Giga bytes:\n\npython\ndef bytes_to_giga_bytes(bytes):\n return bytes / 1024 / 1024 / 1024\n\n\nThis function takes a single Nice, we can now directly use the result to convert bytes into Gigabytes. python def bytes_to_giga_bytes(bytes): return bytes / 1024 / 1024 / 1024 Let's call torch.cuda.max_memory_allocated to measure the peak GPU memory allocation. python bytes_to_giga_bytes(torch.cuda.max_memory_allocated()) Output: bash 29.0260648727417 Close enough to our back-of-the-envelope computation! We can see the number is not exactly correct as going from bytes to kilobytes requires a multiplication of 1024 instead of 1000. Therefore the back-of-the-envelope formula can also be understood as an "at most X GB" computation. Note that if we had tried to run the model in full float32 precision, a whopping 64 GB of VRAM would have been required. > Almost all models are trained in bfloat16 nowadays, there is no reason to run the model in full float32 precision if your GPU supports bfloat16. Float32 won't give better inference results than the precision that was used to train the model. If you are unsure in which format the model weights are stored on the Hub, you can always look into the checkpoint's config under "torch_dtype", e.g. here. It is recommended to set the model to the same precision type as written in the config when loading with from_pretrained(..., torch_dtype=...) except when the original type is float32 in which case one can use both float16 or bfloat16 for inference. Let's define a flush(...) function to free all allocated memory so that we can accurately measure the peak allocated GPU memory. python del pipe del model import gc import torch def flush(): gc.collect() torch.cuda.empty_cache() torch.cuda.reset_peak_memory_stats() Let's call it now for the next experiment. python flush() In the recent version of the accelerate library, you can also use an utility method called release_memory() python from accelerate.utils import release_memory # ... release_memory(model) Now what if your GPU does not have 32 GB of VRAM? It has been found that model weights can be quantized to 8-bit or 4-bits without a significant loss in performance (see Dettmers et al.). Model can be quantized to even 3 or 2 bits with an acceptable loss in performance as shown in the recent GPTQ paper 🤯. Without going into too many details, quantization schemes aim at reducing the precision of weights while trying to keep the model's inference results as accurate as possible (a.k.a as close as possible to bfloat16). Note that quantization works especially well for text generation since all we care about is choosing the set of most likely next tokens and don't really care about the exact values of the next token logit distribution. All that matters is that the next token logit distribution stays roughly the same so that an argmax or topk operation gives the same results. There are various quantization techniques, which we won't discuss in detail here, but in general, all quantization techniques work as follows: - 1. Quantize all weights to the target precision - 2. Load the quantized weights, and pass the input sequence of vectors in bfloat16 precision - 3. Dynamically dequantize weights to bfloat16 to perform the computation with their input vectors in bfloat16 precision - 4. Quantize the weights again to the target precision after computation with their inputs. In a nutshell, this means that inputs-weight matrix multiplications, with \( X \) being the inputs, \( W \) being a weight matrix and \( Y \) being the output: $$ Y = X * W $$ are changed to $$ Y = X * \text{dequantize}(W); \text{quantize}(W) $$ for every matrix multiplication. Dequantization and re-quantization is performed sequentially for all weight matrices as the inputs run through the network graph. Therefore, inference time is often not reduced when using quantized weights, but rather increases. Enough theory, let's give it a try! To quantize the weights with Transformers, you need to make sure that the bitsandbytes library is installed. bash !pip install bitsandbytes We can then load models in 8-bit quantization by simply adding a load_in_8bit=True flag to from_pretrained. python model = AutoModelForCausalLM.from_pretrained("bigcode/octocoder", load_in_8bit=True, pad_token_id=0) Now, let's run our example again and measure the memory usage. python pipe = pipeline("text-generation", model=model, tokenizer=tokenizer) result = pipe(prompt, max_new_tokens=60)[0]["generated_text"][len(prompt):] result Output: Here is a Python function that transforms bytes to Giga bytes:\n\npython\ndef bytes_to_giga_bytes(bytes):\n return bytes / 1024 / 1024 / 1024\n\n\nThis function takes a single Nice, we're getting the same result as before, so no loss in accuracy! Let's look at how much memory was used this time. python bytes_to_giga_bytes(torch.cuda.max_memory_allocated()) Output: 15.219234466552734 Significantly less! We're down to just a bit over 15 GBs and could therefore run this model on consumer GPUs like the 4090. We're seeing a very nice gain in memory efficiency and more or less no degradation to the model's output. However, we can also notice a slight slow-down during inference. We delete the models and flush the memory again. python del model del pipe python flush() Let's see what peak GPU memory consumption 4-bit quantization gives. Quantizing the model to 4-bit can be done with the same API as before - this time by passing load_in_4bit=True instead of load_in_8bit=True. python model = AutoModelForCausalLM.from_pretrained("bigcode/octocoder", load_in_4bit=True, low_cpu_mem_usage=True, pad_token_id=0) pipe = pipeline("text-generation", model=model, tokenizer=tokenizer) result = pipe(prompt, max_new_tokens=60)[0]["generated_text"][len(prompt):] result Output: Here is a Python function that transforms bytes to Giga bytes:\n\n\ndef bytes_to_gigabytes(bytes):\n return bytes / 1024 / 1024 / 1024\n\n\nThis function takes a single argument We're almost seeing the same output text as before - just the python is missing just before the code snippet. Let's see how much memory was required. python bytes_to_giga_bytes(torch.cuda.max_memory_allocated()) Output: 9.543574333190918 Just 9.5GB! That's really not a lot for a >15 billion parameter model. While we see very little degradation in accuracy for our model here, 4-bit quantization can in practice often lead to different results compared to 8-bit quantization or full bfloat16 inference. It is up to the user to try it out. Also note that inference here was again a bit slower compared to 8-bit quantization which is due to the more aggressive quantization method used for 4-bit quantization leading to \( \text{quantize} \) and \( \text{dequantize} \) taking longer during inference. python del model del pipe python flush() Overall, we saw that running OctoCoder in 8-bit precision reduced the required GPU VRAM from 32G GPU VRAM to only 15GB and running the model in 4-bit precision further reduces the required GPU VRAM to just a bit over 9GB. 4-bit quantization allows the model to be run on GPUs such as RTX3090, V100, and T4 which are quite accessible for most people. For more information on quantization and to see how one can quantize models to require even less GPU VRAM memory than 4-bit, we recommend looking into the AutoGPTQ implementation. > As a conclusion, it is important to remember that model quantization trades improved memory efficiency against accuracy and in some cases inference time. If GPU memory is not a constraint for your use case, there is often no need to look into quantization. However many GPUs simply can't run LLMs without quantization methods and in this case, 4-bit and 8-bit quantization schemes are extremely useful tools. For more in-detail usage information, we strongly recommend taking a look at the Transformers Quantization Docs. Next, let's look into how we can improve computational and memory efficiency by using better algorithms and an improved model architecture. # 2. Flash Attention: A Leap Forward Today's top-performing LLMs share more or less the same fundamental architecture that consists of feed-forward layers, activation layers, layer normalization layers, and most crucially, self-attention layers. Self-attention layers are central to Large Language Models (LLMs) in that they enable the model to understand the contextual relationships between input tokens. However, the peak GPU memory consumption for self-attention layers grows quadratically both in compute and memory complexity with number of input tokens (also called sequence length) that we denote in the following by \( N \) . While this is not really noticeable for shorter input sequences (of up to 1000 input tokens), it becomes a serious problem for longer input sequences (at around 16000 input tokens). Let's take a closer look. The formula to compute the output \( \mathbf{O} \) of a self-attention layer for an input \( \mathbf{X} \) of length \( N \) is: $$ \textbf{O} = \text{Attn}(\mathbf{X}) = \mathbf{V} \times \text{Softmax}(\mathbf{QK}^T) \text{ with } \mathbf{Q} = \mathbf{W}q \mathbf{X}, \mathbf{V} = \mathbf{W}_v \mathbf{X}, \mathbf{K} = \mathbf{W}_k \mathbf{X} $$ \( \mathbf{X} = (\mathbf{x}_1, ... \mathbf{x}{N}) \) is thereby the input sequence to the attention layer. The projections \( \mathbf{Q} \) and \( \mathbf{K} \) will each consist of \( N \) vectors resulting in the \( \mathbf{QK}^T \) being of size \( N^2 \) . LLMs usually have multiple attention heads, thus doing multiple self-attention computations in parallel. Assuming, the LLM has 40 attention heads and runs in bfloat16 precision, we can calculate the memory requirement to store the \( \mathbf{QK^T} \) matrices to be \( 40 * 2 * N^2 \) bytes. For \( N=1000 \) only around 50 MB of VRAM are needed, however, for \( N=16000 \) we would need 19 GB of VRAM, and for \( N=100,000 \) we would need almost 1TB just to store the \( \mathbf{QK}^T \) matrices. Long story short, the default self-attention algorithm quickly becomes prohibitively memory-expensive for large input contexts. As LLMs improve in text comprehension and generation, they are applied to increasingly complex tasks. While models once handled the translation or summarization of a few sentences, they now manage entire pages, demanding the capability to process extensive input lengths. How can we get rid of the exorbitant memory requirements for large input lengths? We need a new way to compute the self-attention mechanism that gets rid of the \( QK^T \) matrix. Tri Dao et al. developed exactly such a new algorithm and called it Flash Attention. In a nutshell, Flash Attention breaks the \(\mathbf{V} \times \text{Softmax}(\mathbf{QK}^T\)) computation apart and instead computes smaller chunks of the output by iterating over multiple softmax computation steps: $$ \textbf{O}i \leftarrow s^a{ij} * \textbf{O}i + s^b{ij} * \mathbf{V}{j} \times \text{Softmax}(\mathbf{QK}^T{i,j}) \text{ for multiple } i, j \text{ iterations} $$ with \( s^a_{ij} \) and \( s^b_{ij} \) being some softmax normalization statistics that need to be recomputed for every \( i \) and \( j \) . Please note that the whole Flash Attention is a bit more complex and is greatly simplified here as going in too much depth is out of scope for this notebook. The reader is invited to take a look at the well-written Flash Attention paper for more details. The main takeaway here is: > By keeping track of softmax normalization statistics and by using some smart mathematics, Flash Attention gives numerical identical outputs compared to the default self-attention layer at a memory cost that only increases linearly with \( N \) . Looking at the formula, one would intuitively say that Flash Attention must be much slower compared to the default self-attention formula as more computation needs to be done. Indeed Flash Attention requires more FLOPs compared to normal attention as the softmax normalization statistics have to constantly be recomputed (see paper for more details if interested) > However, Flash Attention is much faster in inference compared to default attention which comes from its ability to significantly reduce the demands on the slower, high-bandwidth memory of the GPU (VRAM), focusing instead on the faster on-chip memory (SRAM). Essentially, Flash Attention makes sure that all intermediate write and read operations can be done using the fast on-chip SRAM memory instead of having to access the slower VRAM memory to compute the output vector \( \mathbf{O} \) . In practice, there is currently absolutely no reason to not use Flash Attention if available. The algorithm gives mathematically the same outputs, and is both faster and more memory-efficient. Let's look at a practical example. Our OctoCoder model now gets a significantly longer input prompt which includes a so-called system prompt. System prompts are used to steer the LLM into a better assistant that is tailored to the users' task. In the following, we use a system prompt that will make OctoCoder a better coding assistant. python system_prompt = """Below are a series of dialogues between various people and an AI technical assistant. The assistant tries to be helpful, polite, honest, sophisticated, emotionally aware, and humble but knowledgeable. The assistant is happy to help with code questions and will do their best to understand exactly what is needed. It also tries to avoid giving false or misleading information, and it caveats when it isn't entirely sure about the right answer. That said, the assistant is practical really does its best, and doesn't let caution get too much in the way of being useful. The Starcoder models are a series of 15.5B parameter models trained on 80+ programming languages from The Stack (v1.2) (excluding opt-out requests). The model uses Multi Query Attention, was trained using the Fill-in-the-Middle objective, and with 8,192 tokens context window for a trillion tokens of heavily deduplicated data. ----- Question: Write a function that takes two lists and returns a list that has alternating elements from each input list. Answer: Sure. Here is a function that does that. def alternating(list1, list2): results = [] for i in range(len(list1)): results.append(list1[i]) results.append(list2[i]) return results Question: Can you write some test cases for this function? Answer: Sure, here are some tests. assert alternating([10, 20, 30], [1, 2, 3]) == [10, 1, 20, 2, 30, 3] assert alternating([True, False], [4, 5]) == [True, 4, False, 5] assert alternating([], []) == [] Question: Modify the function so that it returns all input elements when the lists have uneven length. The elements from the longer list should be at the end. Answer: Here is the modified function. def alternating(list1, list2): results = [] for i in range(min(len(list1), len(list2))): results.append(list1[i]) results.append(list2[i]) if len(list1) > len(list2): results.extend(list1[i+1:]) else: results.extend(list2[i+1:]) return results ----- """ For demonstration purposes, we duplicate the system by ten so that the input length is long enough to observe Flash Attention's memory savings. We append the original text prompt "Question: Please write a function in Python that transforms bytes to Giga bytes.\n\nAnswer: Here" python long_prompt = 10 * system_prompt + prompt We instantiate our model again in bfloat16 precision. python model = AutoModelForCausalLM.from_pretrained("bigcode/octocoder", torch_dtype=torch.bfloat16, device_map="auto") tokenizer = AutoTokenizer.from_pretrained("bigcode/octocoder") pipe = pipeline("text-generation", model=model, tokenizer=tokenizer) Let's now run the model just like before without Flash Attention and measure the peak GPU memory requirement and inference time. python import time start_time = time.time() result = pipe(long_prompt, max_new_tokens=60)[0]["generated_text"][len(long_prompt):] print(f"Generated in {time.time() - start_time} seconds.") result Output: Generated in 10.96854019165039 seconds. Sure. Here is a function that does that.\n\ndef bytes_to_giga(bytes):\n return bytes / 1024 / 1024 / 1024\n\nAnswer: Sure. Here is a function that does that.\n\ndef ```` We're getting the same output as before, however this time, the model repeats the answer multiple times until it's 60 tokens cut-off. This is not surprising as we've repeated the system prompt ten times for demonstration purposes and thus cued the model to repeat itself. **Note** that the system prompt should not be repeated ten times in real-world applications - one time is enough! Let's measure the peak GPU memory requirement.python bytes_to_giga_bytes(torch.cuda.max_memory_allocated()) **Output**:bash 37.668193340301514 As we can see the peak GPU memory requirement is now significantly higher than in the beginning, which is largely due to the longer input sequence. Also the generation takes a little over a minute now. We call `flush()` to free GPU memory for our next experiment.python flush() For comparison, let's run the same function, but enable Flash Attention instead. To do so, we convert the model to [BetterTransformers](https://huggingface.co/docs/optimum/bettertransformer/overview) and by doing so enabling PyTorch's [SDPA self-attention](https://pytorch.org/docs/master/generated/torch.nn.functional.scaled_dot_product_attention) which in turn is based on Flash Attention.python model.to_bettertransformer() Now we run the exact same code snippet as before and under the hood Transformers will make use of Flash Attention.py start_time = time.time() with torch.backends.cuda.sdp_kernel(enable_flash=True, enable_math=False, enable_mem_efficient=False): result = pipe(long_prompt, max_new_tokens=60)[0]["generated_text"][len(long_prompt):] print(f"Generated in {time.time() - start_time} seconds.") result **Output**: Generated in 3.0211617946624756 seconds. Sure. Here is a function that does that.\n\ndef bytes_to_giga(bytes):\n return bytes / 1024 / 1024 / 1024\n\nAnswer: Sure. Here is a function that does that.\n\ndef We're getting the exact same result as before, but can observe a very significant speed-up thanks to Flash Attention. Let's measure the memory consumption one last time.python bytes_to_giga_bytes(torch.cuda.max_memory_allocated()) **Output**: 32.617331981658936 And we're almost back to our original 29GB peak GPU memory from the beginning. We can observe that we only use roughly 100MB more GPU memory when passing a very long input sequence with Flash Attention compared to passing a short input sequence as done in the beginning.py flush() | [
0.01062823086977005,
0.036825407296419144,
0.06084032729268074,
0.007007793989032507,
0.0887366309762001,
-0.005717040039598942,
0.018688518553972244,
0.04484066367149353,
0.01227809302508831,
0.01899971067905426,
0.00790541060268879,
0.03350850194692612,
-0.0015360504621639848,
0.06402596831321716,
0.04177066311240196,
-0.02880198508501053,
0.013612272217869759,
0.01150445081293583,
0.036868926137685776,
0.05457168444991112,
0.030614517629146576,
-0.008319138549268246,
0.0834980458021164,
-0.012843864969909191,
0.01729487255215645,
-0.0035611139610409737,
-0.009752348065376282,
0.012310618534684181,
-0.03895898535847664,
-0.02105065993964672,
-0.10811211913824081,
-0.03222963586449623,
-0.05438944324851036,
0.025109555572271347,
-0.0005200419691391289,
0.0021736593917012215,
-0.12462789565324783,
0.07312501221895218,
0.01929967850446701,
-0.03159807249903679,
-0.005049839615821838,
0.016851555556058884,
-0.060910895466804504,
-0.01794656738638878,
0.0017341207712888718,
0.023686246946454048,
-0.11736222356557846,
0.0033807968720793724,
-0.06605976819992065,
-0.010363603942096233,
-0.1103973537683487,
0.05687939003109932,
-0.037769827991724014,
0.024503814056515694,
0.025066044181585312,
-0.0416802354156971,
-0.006204244680702686,
-0.04393478482961655,
0.01513755228370428,
0.04820343852043152,
-0.014058932662010193,
0.057791806757450104,
0.039412032812833786,
0.024426518008112907,
0.0469161719083786,
0.004081971012055874,
0.013016276992857456,
-0.016269423067569733,
-0.05295412242412567,
-0.014628753066062927,
0.04204985499382019,
0.02697298489511013,
-0.023666096851229668,
-0.015792198479175568,
-0.06485994160175323,
-0.06982238590717316,
0.032973505556583405,
0.027084289118647575,
0.06502523273229599,
0.07611565291881561,
0.00003582290082704276,
0.0018449941417202353,
0.03429422900080681,
0.062241289764642715,
-0.04402012377977371,
0.013589047826826572,
0.08266633003950119,
-0.045526351779699326,
-0.01393976528197527,
0.004278479143977165,
-0.05262291803956032,
-0.10562814772129059,
-0.01437751017510891,
0.02967729978263378,
0.06159678101539612,
-0.05362677574157715,
0.0160675011575222,
0.014261644333600998,
-0.002073827898129821,
0.04912327229976654,
0.017158329486846924,
0.013234148733317852,
0.08536767959594727,
-0.051406726241111755,
-0.06487525999546051,
0.07085603475570679,
-0.010677773505449295,
-0.05791950225830078,
-0.001580757088959217,
-0.012039991095662117,
-0.0380210317671299,
0.050498105585575104,
0.009482201188802719,
0.010875549167394638,
-0.0778084397315979,
-0.012669446878135204,
0.04455935209989548,
-0.004188110586255789,
0.03277086839079857,
0.05755952000617981,
-0.013002032414078712,
0.0918864905834198,
0.0891607329249382,
-0.04995417967438698,
-0.01196332834661007,
0.04033581539988518,
0.03695642203092575,
-0.008029181510210037,
-0.01617477461695671,
-0.0027719486970454454,
0.052137650549411774,
-0.0005393691244535148,
0.009503854438662529,
-0.03396846726536751,
0.003749595955014229,
-0.015109909698367119,
-0.054906390607357025,
-0.030383212491869926,
0.03636391460895538,
-0.03148321434855461,
-0.05492226406931877,
-0.012156084179878235,
0.008864333853125572,
-0.006208598148077726,
0.0705665871500969,
-0.02796887792646885,
-0.0195815097540617,
0.023529082536697388,
-0.0550190769135952,
0.010096347890794277,
-0.06955469399690628,
0.08130839467048645,
-0.0019520333735272288,
-0.05685403198003769,
0.07798238098621368,
0.038884811103343964,
0.01709461398422718,
0.020921049639582634,
-0.0845273807644844,
0.010097420774400234,
-0.09008776396512985,
-0.04040766507387161,
-0.04987284168601036,
0.03203197941184044,
0.0290497038513422,
-0.07414071261882782,
0.020973192527890205,
0.02487957663834095,
0.009045486338436604,
0.059479180723428726,
0.03172297030687332,
0.007794116158038378,
0.049391768872737885,
-0.06764505803585052,
-0.035179249942302704,
0.056944433599710464,
0.02991737611591816,
0.056159112602472305,
0.0015942261088639498,
-0.03821716830134392,
0.03776899725198746,
0.01559517253190279,
0.004790815524756908,
0.06231033056974411,
-0.0387546606361866,
-0.095146045088768,
0.0005672975676134229,
-0.1220015436410904,
-0.09046264737844467,
-0.010669860988855362,
-0.0693143680691719,
0.0006814932567067444,
0.04060378298163414,
-0.01449657417833805,
0.025451643392443657,
-0.0529598705470562,
-0.030842915177345276,
0.16174039244651794,
0.051199574023485184,
0.06406514346599579,
0.07075383514165878,
0.07271158695220947,
0.008191652595996857,
0.002535623498260975,
-0.019818633794784546,
0.014151440002024174,
0.008168352767825127,
-0.031036900356411934,
0.027353601530194283,
0.02442385070025921,
0.05411004647612572,
-0.12214667350053787,
-0.017910324037075043,
-0.04748871549963951,
-0.0387168750166893,
-0.052724044770002365,
0.017077745869755745,
0.00046648643910884857,
0.04593294486403465,
-0.05061763525009155,
0.12320526689291,
-0.061583757400512695,
-0.06230395287275314,
0.0017073819180950522,
-0.1046518087387085,
0.006018246058374643,
0.0550476610660553,
-0.023309698328375816,
-0.010553230531513691,
-0.10658542066812515,
0.025197578594088554,
-0.08568815141916275,
-0.0043268958106637,
0.0631178542971611,
-0.04098353534936905,
-0.0013561133528128266,
-0.08955175429582596,
0.03280746564269066,
0.018815621733665466,
-0.023150205612182617,
-0.03180451691150665,
0.0384812168776989,
-0.015750806778669357,
0.012218560092151165,
-0.019478393718600273,
-0.0776953175663948,
0.06503807753324509,
-0.03699528053402901,
-0.025477226823568344,
-0.011797076091170311,
-0.00602550245821476,
-0.006365873850882053,
0.004399628844112158,
0.03030223771929741,
-0.01013130135834217,
-0.01276806928217411,
-0.01345792692154646,
-0.0055851261131465435,
0.000006454245976783568,
-0.005973254796117544,
-0.004138770513236523,
0.03277159109711647,
-0.009105246514081955,
-0.006372835021466017,
-0.0012962162727490067,
-0.008963005617260933,
0.008087522350251675,
0.011112848296761513,
-0.034529395401477814,
0.016841156408190727,
0.04706471785902977,
-0.018826471641659737,
0.04506291076540947,
0.019242316484451294,
0.0030019027180969715,
0.0463368222117424,
0.034487709403038025,
-0.023745566606521606,
-0.020174451172351837,
-0.01784486137330532,
-0.0018546824576333165,
0.007865238934755325,
0.06435812264680862,
0.006153182126581669,
-0.029488148167729378,
-0.0405249185860157,
0.01819271221756935,
-0.011386845260858536,
-0.012136420235037804,
0.0014076028019189835,
-0.013073068112134933,
0.026014963164925575,
-0.03670395165681839,
-0.041714999824762344,
-0.007849649526178837,
0.0017718974268063903,
-0.005872533656656742,
-0.023304441943764687,
-0.0235154926776886,
0.013574609532952309,
0.006160402670502663,
0.0018596384907141328,
0.02963107079267502,
-0.019509730860590935,
-0.06629526615142822,
0.019498111680150032,
-0.002571603748947382,
0.07155785709619522,
-0.10293859988451004,
-0.00959768146276474,
0.025594333186745644,
-0.03414017707109451,
0.025007598102092743,
-0.013550464995205402,
0.03287503123283386,
0.018310783430933952,
-0.006733153481036425,
0.022520508617162704,
-0.011676752008497715,
0.082962267100811,
0.051239825785160065,
0.00955544225871563,
0.013348909094929695,
0.010307326912879944,
0.0032295503187924623,
-0.009394331835210323,
0.013883838430047035,
-0.014770771376788616,
0.017145484685897827,
0.014454957097768784,
0.005185197573155165,
0.01660192757844925,
-0.023977460339665413,
0.00753730908036232,
-0.011701253242790699,
0.018713098019361496,
-0.026434529572725296,
0.00915315467864275,
-0.03200883790850639,
-0.0017055603675544262,
-0.025623559951782227,
-0.02122129499912262,
-0.0550227165222168,
-0.024156907573342323,
0.04071762040257454,
0.002412600675597787,
-0.0034515780862420797,
0.03847011178731918,
0.041421543806791306,
-0.03640717640519142,
0.037390440702438354,
-0.014157651923596859,
0.007266039028763771,
-0.01677878201007843,
-0.025611117482185364,
-0.01345022488385439,
0.03778020292520523,
-0.0438913032412529,
-0.0382227823138237,
-0.031247491016983986,
0.016533421352505684,
0.001085954369045794,
-0.010925620794296265,
-0.017180008813738823,
-0.0015015506651252508,
-0.0022139535285532475,
0.007823050953447819,
0.006901327054947615,
-0.08566395938396454,
0.011917955242097378,
0.000936250202357769,
0.07397141307592392,
-0.02295764349400997,
0.05633564293384552,
0.045768048614263535,
0.0026317115407437086,
-0.0067335753701627254,
0.026126336306333542,
-0.02893178164958954,
0.05355645716190338,
0.015013563446700573,
-0.003458905965089798,
-0.007438128348439932,
-0.005268099717795849,
-0.004337759222835302,
-0.015750635415315628,
0.07804149389266968,
0.03624909371137619,
-0.010019518435001373,
0.009370006620883942,
-0.10442603379487991,
-0.010077288374304771,
0.002572172088548541,
0.017495490610599518,
-0.005169139709323645,
0.00795216765254736,
0.03811782971024513,
0.021723778918385506,
0.0046806964091956615,
-0.014417558908462524,
0.02233145199716091,
-0.028579838573932648,
0.033237580209970474,
-0.028177116066217422,
0.039837416261434555,
-0.011365045793354511,
0.00709721352905035,
-0.004351927898824215,
0.057415254414081573,
-0.01309427060186863,
0.01668427139520645,
-0.011201025918126106,
0.016468733549118042,
-0.019777100533246994,
-0.016030630096793175,
0.04364326223731041,
0.046966418623924255,
0.03032289445400238,
-0.027005156502127647,
0.0018497619312256575,
0.029636112973093987,
-0.025135638192296028,
-0.0005375753971748054,
0.012892121449112892,
-0.047860387712717056,
0.00027484228485263884,
-0.030753109604120255,
0.027227504178881645,
-0.08605538308620453,
0.03954370319843292,
-0.0071593900211155415,
0.006934700533747673,
0.04774094000458717,
-0.004657035227864981,
-0.0008568560588173568,
0.02492258884012699,
-0.03177347406744957,
-0.03145540505647659,
-0.044032517820596695,
0.002118899952620268,
0.05181695893406868,
0.004011599346995354,
-0.0008351877913810313,
-0.01360230054706335,
-0.04964702948927879,
0.024213338270783424,
0.010807516984641552,
-0.04459776356816292,
-0.05169485881924629,
-0.025679031386971474,
-0.010584864765405655,
-0.0072356234304606915,
0.04188081622123718,
-0.031107163056731224,
-0.012922781519591808,
0.04625643044710159,
-0.030330289155244827,
0.013241211883723736,
0.029880454763770103,
-0.009278072975575924,
-0.030982783064246178,
0.006362850312143564,
0.009669044055044651,
-0.04272932559251785,
-0.0027152257971465588,
0.011039863340556622,
0.057684943079948425,
0.022596104070544243,
-0.019326811656355858,
0.058368831872940063,
-0.03814402595162392,
0.014504890888929367,
0.014754995703697205,
-0.0004171590262558311,
0.008367571979761124,
-0.03800210356712341,
-0.01771051250398159,
0.008499318733811378,
0.005717828404158354,
0.004150624852627516,
0.010662796907126904,
-0.03084568679332733,
-0.020142296329140663,
0.04418167471885681,
0.005563759244978428,
0.008494784124195576,
0.004600790329277515,
0.03614218905568123,
-0.021891161799430847,
-0.04331280291080475,
0.010128859430551529,
-0.01599029079079628,
-0.008085746318101883,
0.037826064974069595,
0.03506506606936455,
0.040928617119789124,
0.012535400688648224,
0.001392324105836451,
0.022456450387835503,
0.01320945005863905,
0.05286136642098427,
-0.019419614225625992,
-0.003964268136769533,
0.008924085646867752,
0.013033594004809856,
0.02425425313413143,
-0.0010595512576401234,
-0.01884257048368454,
0.03097534365952015,
0.03631823882460594,
-0.021832775324583054,
0.002137639792636037,
0.00126435118727386,
-0.032877348363399506,
0.020365852862596512,
-0.03390469402074814,
0.03499080240726471,
0.0017154703382402658,
-0.022109275683760643,
-0.032164111733436584,
-0.02468862757086754,
0.008005864918231964,
0.03730445355176926,
-0.03744509443640709,
-0.018532302230596542,
0.059605035930871964,
0.029789062216877937,
0.032150328159332275,
0.03022794798016548,
-0.023684944957494736,
-0.026010563597083092,
-0.007838736288249493,
0.042824964970350266,
-0.03192766010761261,
0.0007203524000942707,
0.023462092503905296,
0.02894243597984314,
0.023471714928746223,
0.014524570666253567,
-0.037775784730911255,
-0.0033283832017332315,
0.044498853385448456,
0.017725588753819466,
0.017504949122667313,
-0.0456450916826725,
0.004211414605379105,
0.03821843862533569,
0.015192401595413685,
-0.030310094356536865,
-0.01255291048437357,
-0.0681176632642746,
0.0491485595703125,
-0.01782866194844246,
-0.013620598241686821,
-0.0016066263196989894,
-0.03600224107503891,
-0.05605725571513176,
0.023276768624782562,
0.016872983425855637,
-0.007771540433168411,
0.020816970616579056,
0.016723770648241043,
-0.0023378224577754736,
0.01601387932896614,
0.03391508758068085,
0.007089422084391117,
-0.017987797036767006,
0.01615435816347599,
0.04065610095858574,
-0.01916550286114216,
0.012505616061389446,
0.033415619283914566,
-0.032834865152835846,
0.032280370593070984,
0.028371661901474,
-0.014802423305809498,
0.002055410761386156,
0.023294437676668167,
0.017492273822426796,
0.005646300036460161,
-0.03522324934601784,
0.029163654893636703,
-0.008122581988573074,
-0.0008466035360470414,
0.02248835377395153,
0.010794050060212612,
-0.026394959539175034,
0.035692185163497925,
0.018393443897366524,
0.026587018743157387,
0.01636260375380516,
-0.01572965271770954,
0.010487916879355907,
0.02482299879193306,
0.05542721599340439,
0.027201272547245026,
-0.00047802733024582267,
-0.011419051326811314,
0.012926687486469746,
0.009534378536045551,
0.0008805179386399686,
0.013164615258574486,
-0.09091923385858536,
-0.005073115695267916,
-0.0011795642785727978,
-0.020661331713199615,
0.04302796721458435,
-0.03702215477824211,
0.0549711212515831,
0.04226597025990486,
0.05618143826723099,
-0.0027416637167334557,
0.028997687622904778,
-0.003192517440766096,
0.024903053417801857,
0.007604552432894707,
0.05088939890265465,
0.019745757803320885,
-0.0054546501487493515,
0.04329482838511467,
0.05140912905335426,
0.03360188379883766,
0.02052193135023117,
-0.03933802247047424,
0.024179570376873016,
-0.0037381970323622227,
0.0154196135699749,
0.030162299051880836,
-0.042908113449811935,
0.003624929813668132,
0.007610729895532131,
-0.040159858763217926,
-0.024348171427845955,
0.008035554550588131,
-0.004301365464925766,
-0.023163557052612305,
-0.010875468142330647,
-0.01026798877865076,
-0.001591928070411086,
-0.027266236022114754,
-0.013894788920879364,
-0.03932288661599159,
-0.04249463230371475,
-0.022000575438141823,
0.004263229202479124,
-0.02533436007797718,
-0.013707519508898258,
0.007408768869936466,
0.003962568938732147,
-0.0058060199953615665,
0.0020317970775067806,
0.03828231990337372,
0.026512138545513153,
-0.005905103404074907,
0.04078365117311478,
-0.01625026948750019,
0.010776345618069172,
0.028382165357470512,
-0.04936167597770691,
-0.042451221495866776,
-0.0018268177518621087,
0.012330526486039162,
-0.01038135215640068,
-0.03198842704296112,
0.03963249921798706,
0.011809187941253185,
-0.011869476176798344,
-0.027129648253321648,
-0.011912272311747074,
0.014413989149034023,
0.060145989060401917,
-0.019051814451813698,
-0.05189789831638336,
-0.018415844067931175,
-0.01168349664658308,
0.03364354372024536,
0.005351230967789888,
-0.02212364785373211,
-0.017095696181058884,
-0.011524750851094723,
-0.008181653916835785,
-0.026752542704343796,
-0.04181930795311928,
-0.00801487173885107,
0.047547683119773865,
0.025574050843715668,
0.013847235590219498,
-0.04510243609547615,
0.04738793149590492,
0.0063947453163564205,
-0.000504973519127816,
0.04925728961825371,
0.008190394379198551,
0.031340643763542175,
0.0007579888915643096,
0.06254186481237411,
-0.0034325262531638145,
0.040122054517269135,
-0.0024196510203182697,
-0.03818000853061676,
-0.00669053802266717,
0.015048963017761707,
0.01694541610777378,
0.028841447085142136,
-0.031125696375966072,
-0.003903549863025546,
-0.02559620514512062,
-0.024876007810235023,
-0.03262336924672127,
-0.020734500139951706,
0.040207136422395706,
0.03752752020955086,
0.0045346156693995,
0.007625582627952099,
-0.021214524284005165,
0.01881842128932476,
-0.004272884223610163,
0.019258003681898117,
0.010032261721789837,
-0.028320293873548508,
0.015342804603278637,
-0.03247601538896561,
-0.006193244364112616,
-0.02494352124631405,
-0.013204894959926605,
0.005745855160057545,
0.01305735856294632,
-0.017654409632086754,
0.006112887058407068,
0.0023923320695757866,
0.0036631980910897255,
0.010199119336903095,
0.05086107552051544,
-0.02317553013563156,
-0.028390934690833092,
0.06583024561405182,
-0.023789307102560997,
-0.10428010672330856,
0.0080105597153306,
0.0012017356930300593,
-0.022776348516345024,
0.040844254195690155,
0.004926419351249933,
0.03134226053953171,
-0.004376213066279888,
0.006782890763133764,
-0.04068874940276146,
-0.015836704522371292,
-0.022186972200870514,
0.008717294782400131,
0.019351758062839508,
0.0007915705791674554,
-0.020766275003552437,
-0.052732136100530624,
0.012953943572938442,
0.025920750573277473,
0.018667062744498253,
-0.01960613764822483,
-0.040693651884794235,
-0.01546146348118782,
0.028221407905220985,
-0.009912019595503807,
-0.002170246560126543,
0.01870514079928398,
0.020775530487298965,
0.023915255442261696,
-0.012396822683513165,
-0.03229719027876854
] |
Optimizing your LLM in production | patrickvonplaten | Sep 15, 2023 | optimize-llm | nlp, research, LLM | https://huggingface.co/blog/optimize-llm | 3.2 The key-value cache Auto-regressive text generation with LLMs works by iteratively putting in an input sequence, sampling the next token, appending the next token to the input sequence, and continuing to do so until the LLM produces a token that signifies that the generation has finished. Please have a look at [Transformer's Generate Text Tutorial](https://huggingface.co/docs/transformers/llm_tutorial#generate-text) to get a more visual explanation of how auto-regressive generation works. Let's run a quick code snippet to show how auto-regressive works in practice. We will simply take the most likely next token via `torch.argmax`.python input_ids = tokenizer(prompt, return_tensors="pt")["input_ids"].to("cuda") for _ in range(5): next_logits = model(input_ids)["logits"][:, -1:] next_token_id = torch.argmax(next_logits,dim=-1) input_ids = torch.cat([input_ids, next_token_id], dim=-1) print("shape of input_ids", input_ids.shape) generated_text = tokenizer.batch_decode(input_ids[:, -5:]) generated_text **Output**: shape of input_ids torch.Size([1, 21]) shape of input_ids torch.Size([1, 22]) shape of input_ids torch.Size([1, 23]) shape of input_ids torch.Size([1, 24]) shape of input_ids torch.Size([1, 25]) [' Here is a Python function'] As we can see every time we increase the text input tokens by the just sampled token. With very few exceptions, LLMs are trained using the [causal language modeling objective](https://huggingface.co/docs/transformers/tasks/language_modeling#causal-language-modeling) and therefore mask the upper triangle matrix of the attention score - this is why in the two diagrams above the attention scores are left blank (*a.k.a* have 0 probability). For a quick recap on causal language modeling you can refer to the [*Illustrated Self Attention blog*](https://jalammar.github.io/illustrated-gpt2/#part-2-illustrated-self-attention). As a consequence, tokens *never* depend on previous tokens, more specifically the \\( \mathbf{q}_i \\) vector is never put in relation with any key, values vectors \\( \mathbf{k}_j, \mathbf{v}_j \\) if \\( j > i \\) . Instead \\( \mathbf{q}_i \\) only attends to previous key-value vectors \\( \mathbf{k}_{m < i}, \mathbf{v}_{m < i} \text{ , for } m \in \{0, \ldots i - 1\} \\). In order to reduce unnecessary computation, one can therefore cache each layer's key-value vectors for all previous timesteps. In the following, we will tell the LLM to make use of the key-value cache by retrieving and forwarding it for each forward pass. In Transformers, we can retrieve the key-value cache by passing the `use_cache` flag to the `forward` call and can then pass it with the current token.python past_key_values = None # past_key_values is the key-value cache generated_tokens = [] next_token_id = tokenizer(prompt, return_tensors="pt")["input_ids"].to("cuda") for _ in range(5): next_logits, past_key_values = model(next_token_id, past_key_values=past_key_values, use_cache=True).to_tuple() next_logits = next_logits[:, -1:] next_token_id = torch.argmax(next_logits, dim=-1) print("shape of input_ids", next_token_id.shape) print("length of key-value cache", len(past_key_values[0][0])) # past_key_values are of shape [num_layers, 0 for k, 1 for v, batch_size, length, hidden_dim] generated_tokens.append(next_token_id.item()) generated_text = tokenizer.batch_decode(generated_tokens) generated_text **Output**: shape of input_ids torch.Size([1, 1]) length of key-value cache 20 shape of input_ids torch.Size([1, 1]) length of key-value cache 21 shape of input_ids torch.Size([1, 1]) length of key-value cache 22 shape of input_ids torch.Size([1, 1]) length of key-value cache 23 shape of input_ids torch.Size([1, 1]) length of key-value cache 24 [' Here', ' is', ' a', ' Python', ' function'] As one can see, when using the key-value cache the text input tokens are *not* increased in length, but remain a single input vector. The length of the key-value cache on the other hand is increased by one at every decoding step. > Making use of the key-value cache means that the \\( \mathbf{QK}^T \\) is essentially reduced to \\( \mathbf{q}_c\mathbf{K}^T \\) with \\( \mathbf{q}_c \\) being the query projection of the currently passed input token which is *always* just a single vector. Using the key-value cache has two advantages: - Significant increase in computational efficiency as less computations are performed compared to computing the full \\( \mathbf{QK}^T \\) matrix. This leads to an increase in inference speed - The maximum required memory is not increased quadratically with the number of generated tokens, but only increases linearly. > One should *always* make use of the key-value cache as it leads to identical results and a significant speed-up for longer input sequences. Transformers has the key-value cache enabled by default when making use of the text pipeline or the [`generate` method](https://huggingface.co/docs/transformers/main_classes/text_generation). Note that the key-value cache is especially useful for applications such as chat where multiple passes of auto-regressive decoding are required. Let's look at an example. User: How many people live in France? Assistant: Roughly 75 million people live in France User: And how many are in Germany? Assistant: Germany has ca. 81 million inhabitants In this chat, the LLM runs auto-regressive decoding twice: - 1. The first time, the key-value cache is empty and the input prompt is `"User: How many people live in France?"` and the model auto-regressively generates the text `"Roughly 75 million people live in France"` while increasing the key-value cache at every decoding step. - 2. The second time the input prompt is `"User: How many people live in France? \n Assistant: Roughly 75 million people live in France \n User: And how many in Germany?"`. Thanks to the cache, all key-value vectors for the first two sentences are already computed. Therefore the input prompt only consists of `"User: And how many in Germany?"`. While processing the shortened input prompt, it's computed key-value vectors are concatenated to the key-value cache of the first decoding. The second Assistant's answer `"Germany has ca. 81 million inhabitants"` is then auto-regressively generated with the key-value cache consisting of encoded key-value vectors of `"User: How many people live in France? \n Assistant: Roughly 75 million people live in France \n User: And how many are in Germany?"`. Two things should be noted here: 1. Keeping all the context is crucial for LLMs deployed in chat so that the LLM understands all the previous context of the conversation. E.g. for the example above the LLM needs to understand that the user refers to the population when asking `"And how many are in Germany"`. 2. The key-value cache is extremely useful for chat as it allows us to continuously grow the encoded chat history instead of having to re-encode the chat history again from scratch (as e.g. would be the case when using an encoder-decoder architecture). There is however one catch. While the required peak memory for the \\( \mathbf{QK}^T \\) matrix is significantly reduced, holding the key-value cache in memory can become very memory expensive for long input sequences or multi-turn chat. Remember that the key-value cache needs to store the key-value vectors for all previous input vectors \\( \mathbf{x}_i \text{, for } i \in \{1, \ldots, c - 1\} \\) for all self-attention layers and for all attention heads. Let's compute the number of float values that need to be stored in the key-value cache for the LLM `bigcode/octocoder` that we used before. The number of float values amounts to two times the sequence length times the number of attention heads times the attention head dimension and times the number of layers. Computing this for our LLM at a hypothetical input sequence length of 16000 gives:python config = model.config 2 * 16_000 * config.n_layer * config.n_head * config.n_embd // config.n_head **Output**: 7864320000 `` Roughly 8 billion float values! Storing 8 billion float values infloat16precision requires around 15 GB of RAM which is circa half as much as the model weights themselves! Researchers have proposed two methods that allow to significantly reduce the memory cost of storing the key-value cache: 1. [Multi-Query-Attention (MQA)](https://arxiv.org/abs/1911.02150) Multi-Query-Attention was proposed in Noam Shazeer's *Fast Transformer Decoding: One Write-Head is All You Need* paper. As the title says, Noam found out that instead of usingn_headkey-value projections weights, one can use a single head-value projection weight pair that is shared across all attention heads without that the model's performance significantly degrades. > By using a single head-value projection weight pair, the key value vectors \\( \mathbf{k}_i, \mathbf{v}_i \\) have to be identical across all attention heads which in turn means that we only need to store 1 key-value projection pair in the cache instead ofn_headones. As most LLMs use between 20 and 100 attention heads, MQA significantly reduces the memory consumption of the key-value cache. For the LLM used in this notebook we could therefore reduce the required memory consumption from 15 GB to less than 400 MB at an input sequence length of 16000. In addition to memory savings, MQA also leads to improved computational efficiency as explained in the following. In auto-regressive decoding, large key-value vectors need to be reloaded, concatenated with the current key-value vector pair to be then fed into the \\( \mathbf{q}_c\mathbf{K}^T \\) computation at every step. For auto-regressive decoding, the required memory bandwidth for the constant reloading can become a serious time bottleneck. By reducing the size of the key-value vectors less memory needs to be accessed, thus reducing the memory bandwidth bottleneck. For more detail, please have a look at [Noam's paper](https://arxiv.org/abs/1911.02150). The important part to understand here is that reducing the number of key-value attention heads to 1 only makes sense if a key-value cache is used. The peak memory consumption of the model for a single forward pass without key-value cache stays unchanged as every attention head still has a unique query vector so that each attention head still has a different \\( \mathbf{QK}^T \\) matrix. MQA has seen wide adoption by the community and is now used by many of the most popular LLMs: - [**Falcon**](https://huggingface.co/tiiuae/falcon-40b) - [**PaLM**](https://arxiv.org/abs/2204.02311) - [**MPT**](https://huggingface.co/mosaicml/mpt-30b) - [**BLOOM**](https://huggingface.co/bigscience/bloom) Also, the checkpoint used in this notebook -bigcode/octocoder- makes use of MQA. 2. [Grouped-Query-Attention (GQA)](https://arxiv.org/abs/2305.13245) Grouped-Query-Attention, as proposed by Ainslie et al. from Google, found that using MQA can often lead to quality degradation compared to using vanilla multi-key-value head projections. The paper argues that more model performance can be kept by less drastically reducing the number of query head projection weights. Instead of using just a single key-value projection weight,n < n_headkey-value projection weights should be used. By choosingnto a significantly smaller value thann_head`, such as 2,4 or 8 almost all of the memory and speed gains from MQA can be kept while sacrificing less model capacity and thus arguably less performance. Moreover, the authors of GQA found out that existing model checkpoints can be uptrained to have a GQA architecture with as little as 5% of the original pre-training compute. While 5% of the original pre-training compute can still be a massive amount, GQA uptraining allows existing checkpoints to be useful for longer input sequences. GQA was only recently proposed which is why there is less adoption at the time of writing this notebook. The most notable application of GQA is Llama-v2. > As a conclusion, it is strongly recommended to make use of either GQA or MQA if the LLM is deployed with auto-regressive decoding and is required to handle large input sequences as is the case for example for chat. | [
0.005389489699155092,
0.005166033748537302,
0.07083524018526077,
-0.06516043841838837,
0.013362985104322433,
0.039969172328710556,
0.035096704959869385,
0.0008772214641794562,
0.002248721895739436,
-0.030362313613295555,
-0.10906050354242325,
0.050895076245069504,
0.06032057851552963,
0.0738619863986969,
-0.056808628141880035,
0.024349195882678032,
0.046486996114254,
0.010772925801575184,
-0.007059806026518345,
0.08083513379096985,
0.027252186089754105,
-0.007014294154942036,
0.08040919154882431,
0.00777339655905962,
-0.0013614087365567684,
-0.030599543824791908,
-0.007662322372198105,
-0.03960365056991577,
-0.05017394945025444,
-0.0355423204600811,
-0.08740048855543137,
-0.027106154710054398,
0.012601868249475956,
0.02487308345735073,
-0.014100541360676289,
-0.013997146859765053,
-0.15079857409000397,
0.009505300782620907,
0.045993395149707794,
-0.03647201135754585,
-0.006233929190784693,
0.017191926017403603,
-0.08176286518573761,
0.017543967813253403,
0.02619997225701809,
0.007924349047243595,
-0.15639562904834747,
0.023284323513507843,
-0.049310263246297836,
-0.034806642681360245,
-0.11146165430545807,
0.030462615191936493,
-0.04082927107810974,
0.022380406036973,
-0.030009733512997627,
0.007135938853025436,
-0.011321003548800945,
-0.05778982490301132,
0.026323363184928894,
0.0023932443000376225,
-0.014983576722443104,
0.015096243470907211,
0.048510175198316574,
0.04822845757007599,
0.03322754055261612,
-0.009500053711235523,
-0.022700035944581032,
0.01485537365078926,
-0.07562651485204697,
-0.021882764995098114,
0.009430065751075745,
-0.014240697957575321,
-0.039910051971673965,
0.03583375737071037,
-0.06483530253171921,
-0.012433875352144241,
-0.029111575335264206,
0.052704907953739166,
0.00940269511193037,
0.05800274759531021,
-0.022810611873865128,
0.04705443233251572,
0.013311298564076424,
0.03410372883081436,
0.020160915330052376,
0.03469717875123024,
-0.005377998109906912,
-0.0708894357085228,
-0.05353565886616707,
-0.0047492072917521,
-0.10689608007669449,
-0.1312611997127533,
-0.016113867983222008,
0.0018418937688693404,
0.0005495691439136863,
0.006866059731692076,
0.018994009122252464,
0.050721555948257446,
-0.05160324275493622,
0.0031563134398311377,
0.06307444721460342,
-0.01577018015086651,
0.016238752752542496,
-0.018151668831706047,
-0.0994177758693695,
0.014185978099703789,
-0.0321449413895607,
-0.04603429138660431,
-0.0056190043687820435,
-0.0556509867310524,
-0.005127454176545143,
0.0018828067695721984,
0.007795159239321947,
0.07481382042169571,
-0.06486747413873672,
-0.004448142368346453,
-0.03591578081250191,
-0.009290802292525768,
0.007975143380463123,
-0.0001923179952427745,
-0.08731265366077423,
0.014997466467320919,
0.048629939556121826,
-0.03890364244580269,
-0.0043001919984817505,
0.04840324819087982,
-0.012878661043941975,
0.023717068135738373,
0.061750274151563644,
-0.00846998579800129,
0.04370449483394623,
-0.038762323558330536,
0.02205086313188076,
0.022882429882884026,
0.02920541912317276,
-0.020487550646066666,
0.052538514137268066,
-0.07363654673099518,
0.005276862066239119,
-0.0029779679607599974,
-0.01699862629175186,
0.03286927938461304,
-0.037487275898456573,
-0.05493183434009552,
0.041196007281541824,
-0.01964602805674076,
-0.09230878204107285,
0.07642905414104462,
-0.0029457486234605312,
0.10123126208782196,
-0.0405343621969223,
0.04170510545372963,
0.015155951492488384,
-0.0462072491645813,
0.023361101746559143,
0.035709451884031296,
-0.006208656821399927,
0.023300036787986755,
-0.09331284463405609,
0.018537970259785652,
-0.028709163889288902,
0.06624004244804382,
-0.04797545447945595,
0.0725494995713234,
0.020741494372487068,
-0.02942504733800888,
0.006591956131160259,
0.06652750819921494,
0.018307575955986977,
0.06689786165952682,
0.016433749347925186,
0.010259637609124184,
0.0216686949133873,
-0.046805597841739655,
0.047896768897771835,
0.06932534277439117,
0.011671492829918861,
0.066106416285038,
-0.0001778918522177264,
-0.036344848573207855,
-0.07690436393022537,
0.017589125782251358,
-0.0016224205028265715,
0.03740672394633293,
0.031313806772232056,
-0.05618017539381981,
-0.010942778550088406,
-0.006280063651502132,
-0.035523347556591034,
-0.023346276953816414,
-0.016328701749444008,
0.040514227002859116,
0.0324476882815361,
-0.03841482102870941,
-0.012113574892282486,
-0.07709139585494995,
-0.030258385464549065,
0.08460524678230286,
0.04805772751569748,
0.03833244368433952,
0.015149428509175777,
0.02968735061585903,
0.036285609006881714,
-0.051477205008268356,
0.014522564597427845,
-0.008960902690887451,
-0.021916354075074196,
-0.03759085386991501,
0.019041048362851143,
0.03716128319501877,
0.004671118687838316,
-0.08433613926172256,
-0.024111663922667503,
-0.07807982712984085,
-0.014990272000432014,
-0.04205390065908432,
-0.020434126257896423,
-0.008229256607592106,
-0.00855247676372528,
0.03562142699956894,
0.13343481719493866,
-0.025226904079318047,
0.013550948351621628,
-0.06800267100334167,
-0.030614741146564484,
0.04784281179308891,
0.015330763533711433,
0.0340040884912014,
0.050649721175432205,
-0.09334377944469452,
0.01655481941998005,
-0.0998590812087059,
-0.0033679427579045296,
0.010915733873844147,
-0.07751385867595673,
-0.07511767745018005,
0.03807342052459717,
0.019446037709712982,
0.004113615024834871,
0.013213896192610264,
0.015190442092716694,
0.03420247137546539,
-0.04267580807209015,
0.03996628522872925,
-0.026768747717142105,
0.024010611698031425,
0.05296330526471138,
-0.06067478656768799,
-0.09514042735099792,
-0.016087574884295464,
-0.07728812843561172,
0.0919874981045723,
-0.040306270122528076,
-0.0335235595703125,
0.007502069231122732,
0.022923199459910393,
-0.011687892489135265,
-0.004415531177073717,
-0.0017350800335407257,
0.03900206461548805,
0.016861701384186745,
0.0037583138328045607,
-0.04913463070988655,
-0.02333199232816696,
-0.042782243341207504,
-0.0005731875426135957,
0.036980245262384415,
0.04466598108410835,
-0.009425114840269089,
0.011209051124751568,
-0.00350544648244977,
0.011055770330131054,
0.034939367324113846,
0.029033619910478592,
-0.00484514469280839,
0.039002612233161926,
0.03953304514288902,
-0.020188067108392715,
-0.047683387994766235,
-0.062136292457580566,
-0.036781519651412964,
-0.022339120507240295,
0.04244575649499893,
0.042619701474905014,
0.025636570528149605,
-0.02085881680250168,
-0.01647210866212845,
-0.015256311744451523,
-0.0215460117906332,
0.012929890304803848,
0.005517794284969568,
0.027016624808311462,
-0.004876772407442331,
-0.01030031219124794,
0.010377968661487103,
0.056467749178409576,
-0.008545342832803726,
0.0011891856556758285,
-0.02700265869498253,
0.022462040185928345,
-0.019581172615289688,
0.01580808311700821,
0.003275015391409397,
-0.015379734337329865,
-0.018168503418564796,
0.007989712059497833,
0.01891055330634117,
0.05039462447166443,
-0.07864493131637573,
-0.004046250134706497,
0.018354211002588272,
-0.027335289865732193,
0.05018722265958786,
-0.007111992221325636,
0.032976556569337845,
0.03210250660777092,
0.011148120276629925,
0.017201058566570282,
-0.0016642160480841994,
0.00880738627165556,
-0.0030193740967661142,
0.012893530540168285,
-0.0077162547968328,
-0.009834123775362968,
-0.0031693531200289726,
-0.01972907967865467,
0.013486305251717567,
-0.004604424815624952,
0.037805359810590744,
-0.018116185441613197,
-0.0014726156368851662,
0.03842382878065109,
-0.04019945114850998,
-0.0008008916629478335,
0.004812648054212332,
-0.013492085039615631,
0.005629118997603655,
0.011109155602753162,
-0.017281536012887955,
0.008586782962083817,
0.0051109325140714645,
0.004343652166426182,
-0.07451716810464859,
-0.024329766631126404,
0.024004656821489334,
-0.01817130483686924,
-0.009258289821445942,
0.036022741347551346,
0.0024731990415602922,
0.015371017158031464,
-0.014357508160173893,
-0.01121427584439516,
0.009462443180382252,
0.00706093292683363,
-0.05114160478115082,
-0.022794406861066818,
-0.002672396833077073,
-0.035402558743953705,
-0.032988615334033966,
-0.03536655381321907,
-0.030584635213017464,
-0.0012871584622189403,
0.01847675070166588,
-0.004749019164592028,
0.006145917344838381,
0.007201880682259798,
0.018267406150698662,
0.043411463499069214,
-0.06558120250701904,
0.0014010973973199725,
-0.044994138181209564,
-0.03521716222167015,
0.021301427856087685,
0.1009841188788414,
0.00835825502872467,
-0.003495045704767108,
-0.015258525498211384,
0.02876063995063305,
-0.005448911339044571,
-0.006340823136270046,
0.015965403988957405,
-0.0027802817057818174,
-0.02128009684383869,
0.019255580380558968,
-0.0077623240649700165,
-0.02216959558427334,
0.07989101111888885,
0.002976206596940756,
-0.0195438452064991,
0.00890235137194395,
-0.05571863800287247,
-0.02010834775865078,
-0.013141609728336334,
-0.024549243971705437,
0.0370589978992939,
-0.013242783956229687,
0.04417817294597626,
-0.030560333281755447,
-0.005846395622938871,
-0.01587601564824581,
0.039028145372867584,
-0.015256001614034176,
-0.022116495296359062,
-0.005159905180335045,
-0.01249387301504612,
0.007696585264056921,
0.016673043370246887,
0.007431274279952049,
0.021433290094137192,
-0.058744385838508606,
0.004219170194119215,
-0.017603550106287003,
-0.032067153602838516,
-0.01430639997124672,
-0.07134830206632614,
0.03066674806177616,
0.03977786749601364,
0.027349840849637985,
-0.06761497259140015,
-0.007613680325448513,
-0.032547589391469955,
0.011110932566225529,
0.0074260039255023,
0.039482761174440384,
0.003408642252907157,
-0.042563050985336304,
-0.0026468171272426844,
-0.052856992930173874,
-0.035375431180000305,
0.02831447869539261,
0.016414711251854897,
-0.01653115823864937,
0.03130544722080231,
-0.025565046817064285,
0.0037654442712664604,
0.03305966034531593,
-0.02128005027770996,
-0.007778697181493044,
-0.015856755897402763,
-0.002452061278745532,
0.057176049798727036,
0.016819996759295464,
-0.028549153357744217,
0.02082519419491291,
-0.01906861737370491,
-0.01684703305363655,
-0.021091559901833534,
-0.026056794449687004,
-0.03801169991493225,
0.0027037591207772493,
0.0001620259863557294,
-0.02693142555654049,
0.001928549725562334,
0.026483280584216118,
0.011456993408501148,
0.006114797666668892,
-0.022639870643615723,
-0.009841958992183208,
0.05175141990184784,
0.010171590372920036,
-0.021185239776968956,
-0.013320310041308403,
0.02448354661464691,
-0.0012686442350968719,
-0.0011706873774528503,
0.026688989251852036,
0.02176140621304512,
0.0105178477242589,
-0.024576211348176003,
0.02204972505569458,
-0.014238421805202961,
0.011127042584121227,
0.0019164480036124587,
-0.0057530454359948635,
-0.014537434093654156,
-0.05169517919421196,
0.032831836491823196,
-0.011335364542901516,
0.007094683591276407,
-0.0058420561254024506,
-0.010737601667642593,
-0.007951786741614342,
-0.057526811957359314,
0.02538224309682846,
0.05092454329133034,
0.0009046806371770799,
-0.025114605203270912,
0.015696732327342033,
0.04483300447463989,
0.003307226812466979,
0.05207063630223274,
0.0036323366221040487,
-0.014010020531713963,
0.013610593974590302,
0.046715911477804184,
0.03016749955713749,
0.028268977999687195,
0.022345883771777153,
-0.0081038111820817,
-0.032415397465229034,
0.028302596881985664,
-0.02139327861368656,
-0.008865977637469769,
-0.003947772551327944,
0.009260894730687141,
0.06425203382968903,
-0.05174083262681961,
-0.00006358329846989363,
0.055869948118925095,
0.0394425243139267,
0.005016856826841831,
-0.03508813679218292,
0.01819755882024765,
-0.01674763485789299,
-0.003916816785931587,
-0.018651721999049187,
0.019597968086600304,
-0.04379246011376381,
0.0060725025832653046,
-0.025353534147143364,
-0.01515610609203577,
0.014068415388464928,
-0.0032142375130206347,
-0.03470830246806145,
0.022364581003785133,
-0.00011404198448872194,
0.03436658903956413,
0.07790262252092361,
0.0007392726838588715,
-0.0070163793861866,
-0.013034745119512081,
-0.010695228353142738,
0.04663114249706268,
-0.021673534065485,
-0.007113080471754074,
0.05414013937115669,
-0.003798804711550474,
0.02196815051138401,
0.06361045688390732,
-0.030158840119838715,
-0.00915437936782837,
0.021819517016410828,
0.021117588505148888,
-0.007412048988044262,
-0.03436309099197388,
0.021694490686058998,
0.007459659595042467,
-0.010202798992395401,
0.017572497949004173,
0.00064915104303509,
-0.05412152782082558,
0.040765464305877686,
-0.004978340119123459,
0.04912520572543144,
0.0212845616042614,
-0.03670705854892731,
-0.049061745405197144,
0.03357771039009094,
0.01412634551525116,
-0.007491069845855236,
-0.030133387073874474,
0.027484430000185966,
0.02501022070646286,
0.056034453213214874,
0.041526906192302704,
-0.0026039602234959602,
-0.005156025290489197,
0.016937879845499992,
0.013296037912368774,
-0.03077736683189869,
0.01844525709748268,
0.03369138389825821,
-0.04121250659227371,
0.03817041218280792,
0.009481106884777546,
0.001465126289986074,
0.021713215857744217,
0.026095502078533173,
0.04761084169149399,
-0.017631033435463905,
0.0040876902639865875,
0.00786757841706276,
-0.0032633841037750244,
0.002597927115857601,
-0.006664259824901819,
0.0551956444978714,
-0.0014962402638047934,
0.05550901219248772,
0.016004664823412895,
0.0463993139564991,
0.014418593607842922,
0.05233367159962654,
0.027136337012052536,
-0.012903773225843906,
0.0605073980987072,
0.051856182515621185,
0.024914154782891273,
-0.010103198699653149,
-0.006140382494777441,
0.017018180340528488,
-0.011231690645217896,
-0.019774308428168297,
-0.009659837931394577,
-0.001508649904280901,
0.03838232159614563,
0.010755278170108795,
0.03254234418272972,
0.010759806260466576,
0.07175595313310623,
0.06531236320734024,
0.05129414051771164,
-0.0001313637476414442,
0.010666712187230587,
-0.0029462093953043222,
-0.0008875207277014852,
0.010549516417086124,
0.06019902601838112,
0.015960801392793655,
-0.03008294478058815,
0.043876152485609055,
0.032482702285051346,
0.04389951005578041,
0.03960954770445824,
-0.03405587747693062,
-0.011446725577116013,
-0.03381243348121643,
-0.0024937952402979136,
0.007309408392757177,
-0.0020252750255167484,
0.010429050773382187,
-0.008613226935267448,
0.034664053469896317,
0.025982463732361794,
0.04014386236667633,
0.010493962094187737,
-0.009904243052005768,
-0.045285411179065704,
0.010870572179555893,
0.011192395351827145,
0.05040368437767029,
0.0022710070479661226,
-0.060249172151088715,
0.03275677189230919,
0.01572931744158268,
-0.01082439161837101,
0.016245579347014427,
-0.027338363230228424,
-0.015221195295453072,
-0.03303246945142746,
0.006761663127690554,
-0.027494916692376137,
-0.008832467719912529,
0.0208983663469553,
0.008117938414216042,
0.007515935692936182,
0.012354398146271706,
-0.03477881848812103,
0.0257720984518528,
0.0010132536990568042,
-0.005706236232072115,
-0.0400666743516922,
-0.020161587744951248,
0.0035006487742066383,
0.008591689169406891,
0.021458109840750694,
-0.03360804542899132,
0.00041256603435613215,
-0.0022245636209845543,
0.021829305216670036,
0.005225270986557007,
0.07385436445474625,
-0.015116064809262753,
-0.02053469978272915,
-0.03424668684601784,
-0.009516507387161255,
0.025709740817546844,
0.03973641246557236,
0.0001824882347136736,
-0.008474424481391907,
0.007454338483512402,
-0.015256758779287338,
-0.0427844300866127,
0.015099628828465939,
0.014450227841734886,
0.06197912618517876,
0.022914696484804153,
-0.026505744084715843,
-0.0048407092690467834,
0.07738956809043884,
0.02854604832828045,
0.007407461758702993,
0.08783678710460663,
-0.013918581418693066,
0.02877596765756607,
0.015127957798540592,
0.07379733771085739,
-0.03511122241616249,
0.02220568247139454,
-0.03137662261724472,
-0.08210843056440353,
0.028392411768436432,
-0.00800974853336811,
-0.031732991337776184,
0.05922301858663559,
-0.030399177223443985,
0.007716032676398754,
-0.02844945900142193,
-0.02023760788142681,
-0.006221816875040531,
-0.013811701908707619,
0.09053368121385574,
-0.0014077374944463372,
0.043894678354263306,
0.03378838673233986,
-0.037703853100538254,
-0.03180660307407379,
0.02412547916173935,
-0.004006459843367338,
0.03979942202568054,
-0.0012332822661846876,
0.012264112941920757,
0.0031082010827958584,
-0.005854920018464327,
-0.01570708304643631,
-0.0529421828687191,
0.055774904787540436,
-0.0031606752891093493,
-0.03873089700937271,
0.010383634828031063,
0.054788075387477875,
0.035319551825523376,
0.01731247827410698,
0.04301077127456665,
-0.03761763870716095,
-0.022579139098525047,
0.021517157554626465,
0.03967459499835968,
-0.08713528513908386,
-0.02834068424999714,
-0.005977308377623558,
0.019699184224009514,
0.029307354241609573,
0.0005885591963306069,
0.038759663701057434,
-0.01867753639817238,
0.010356230661273003,
0.0033039723057299852,
0.009447664953768253,
-0.01996225118637085,
-0.06074843555688858,
-0.0284807700663805,
-0.016490226611495018,
0.0018430737545713782,
-0.026814643293619156,
0.0061418586410582066,
0.004042165353894234,
-0.0025119162164628506,
0.018752899020910263,
-0.04066047444939613,
-0.006853279657661915,
-0.027050403878092766,
-0.009382749907672405,
0.006302793975919485,
0.03806081414222717,
0.0004460180934984237,
-0.01433373149484396,
-0.02949332259595394,
-0.02003241516649723
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Table of Contents - [Introduction](#object-detection-leaderboard-decoding-metrics-and-their-potential-pitfalls) - [What's Object Detection](#whats-object-detection) - [Metrics](#metrics) - [What's Average Precision and how to compute it?](#whats-average-precision-and-how-to-compute-it) - [What's Average Recall and how to compute it?](#whats-average-recall-and-how-to-compute-it) - [What are the variants of Average Precision and Average Recall?](#what-are-the-variants-of-average-precision-and-average-recall) - [Object Detection Leaderboard](#object-detection-leaderboard) - [How to pick the best model based on the metrics?](#how-to-pick-the-best-model-based-on-the-metrics) - [Which parameters can impact the Average Precision results?](#which-parameters-can-impact-the-average-precision-results) - [Conclusions](#conclusions) - [Additional Resources](#additional-resources) | [
0.012906267307698727,
0.019807666540145874,
0.030656669288873672,
0.04143587872385979,
0.09372339397668839,
0.029797449707984924,
0.03644278272986412,
0.04286607354879379,
-0.0961332768201828,
-0.0526835136115551,
-0.03911953419446945,
0.02377466671168804,
-0.0008781913202255964,
0.00988633930683136,
0.05659825727343559,
0.038614481687545776,
0.06104657053947449,
0.02949697896838188,
0.029682112857699394,
0.05901000648736954,
-0.011283984407782555,
-0.02540646120905876,
0.007544334512203932,
-0.006327509880065918,
0.03520892933011055,
0.0037362296134233475,
-0.02551567554473877,
-0.002230630023404956,
-0.07317599654197693,
0.016827965155243874,
-0.11098044365644455,
-0.024208050221204758,
0.029298720881342888,
-0.05809089168906212,
-0.006482134573161602,
0.006294209975749254,
-0.07793041318655014,
0.05018476024270058,
0.029710963368415833,
-0.025354620069265366,
-0.01014257688075304,
-0.06660489737987518,
-0.06829136610031128,
0.019534125924110413,
0.01996137574315071,
-0.033821944147348404,
-0.17254497110843658,
0.023846106603741646,
-0.011583233252167702,
-0.06741895526647568,
-0.045692577958106995,
0.05402165651321411,
0.0016445742221549153,
0.03902348503470421,
-0.027515076100826263,
-0.02391558326780796,
0.05613052845001221,
-0.07339934259653091,
0.0706787109375,
-0.0032041450031101704,
0.045672621577978134,
-0.016923770308494568,
-0.03223199397325516,
-0.01884501986205578,
0.05811387300491333,
0.0022595408372581005,
0.04701445996761322,
0.08232223987579346,
0.004912910517305136,
0.0066898581571877,
0.014777465723454952,
-0.08309205621480942,
-0.010597897693514824,
0.011460965499281883,
-0.024077922105789185,
-0.044735729694366455,
0.015424727462232113,
0.03544559329748154,
0.024768033996224403,
-0.024182723835110664,
0.015508707612752914,
-0.03886454179883003,
0.07787764817476273,
0.0016170684248209,
0.01763913966715336,
-0.043153077363967896,
0.03546123206615448,
0.027538275346159935,
-0.0414445735514164,
0.03770172968506813,
-0.007005426567047834,
-0.1168639063835144,
0.045058902353048325,
0.029262280091643333,
0.005453410558402538,
-0.04081613942980766,
0.05946963652968407,
0.004612554330378771,
0.059267960488796234,
-0.025779351592063904,
-0.011276171542704105,
0.004506528843194246,
0.04210645705461502,
-0.0029679671861231327,
-0.05285037308931351,
-0.007957106456160545,
-0.008509266190230846,
-0.1454894095659256,
-0.07152078300714493,
0.03105233609676361,
-0.06970461457967758,
0.014630566351115704,
0.009568003006279469,
0.03258081153035164,
-0.05812345817685127,
0.024228831753134727,
-0.005439581349492073,
0.004019605927169323,
0.026898400858044624,
0.04507408291101456,
-0.0014343695947900414,
0.12784522771835327,
0.02376922219991684,
-0.07348683476448059,
-0.00914774090051651,
0.010381150990724564,
0.04818100854754448,
0.047007620334625244,
-0.027462400496006012,
0.00776895135641098,
0.022856291383504868,
-0.04427744448184967,
0.03306059166789055,
-0.029006393626332283,
-0.03321864455938339,
-0.05823671817779541,
-0.020185211673378944,
-0.050550367683172226,
0.01814989745616913,
-0.032504852861166,
-0.0476827472448349,
-0.0029429879505187273,
-0.026804905384778976,
0.05802411213517189,
0.04430757462978363,
-0.017618536949157715,
-0.05313028767704964,
0.08224542438983917,
0.03240947797894478,
0.01931527443230152,
-0.00804710853844881,
0.08027788251638412,
-0.043480392545461655,
-0.0720493420958519,
0.02742030844092369,
0.07182993739843369,
0.07472924143075943,
0.004480287898331881,
-0.06759953498840332,
-0.007296109106391668,
-0.008099743165075779,
0.01989016681909561,
-0.06158427149057388,
-0.0003023752069566399,
0.03597826883196831,
-0.06719572842121124,
0.0663512647151947,
0.02641299180686474,
-0.01176962349563837,
-0.0018167750677093863,
-0.05721248686313629,
-0.04155213385820389,
0.10283547639846802,
0.020266985520720482,
-0.0776987075805664,
0.02842518500983715,
0.02993646450340748,
0.041885122656822205,
0.027396222576498985,
0.014051564037799835,
-0.019808746874332428,
0.011948028579354286,
-0.059742774814367294,
0.0583951473236084,
0.028463313356041908,
-0.11184822022914886,
0.09630689024925232,
0.00017641254817135632,
-0.049386024475097656,
0.023574577644467354,
-0.07277650386095047,
-0.013435587286949158,
0.0778346061706543,
-0.023992076516151428,
-0.003383771749213338,
-0.12965670228004456,
-0.010445154272019863,
0.09222106635570526,
0.04474904015660286,
0.03504618629813194,
0.04127132147550583,
0.04794782027602196,
0.07291355729103088,
-0.05889914184808731,
-0.08602261543273926,
-0.003876564558595419,
0.054059941321611404,
-0.032812051475048065,
-0.015441583469510078,
0.019638316705822945,
0.013365882448852062,
-0.12078579515218735,
-0.014231659471988678,
-0.08486766368150711,
0.029843878000974655,
0.0275429580360651,
-0.006476557347923517,
0.0010051478166133165,
0.033521030098199844,
-0.05885918065905571,
0.12545323371887207,
-0.0025483956560492516,
-0.05733448639512062,
0.08494020998477936,
-0.10193552821874619,
0.033405888825654984,
0.05457223951816559,
0.019133126363158226,
0.016143087297677994,
-0.06381057947874069,
-0.028269298374652863,
-0.007408983539789915,
0.026566265150904655,
0.026978185400366783,
-0.006658914033323526,
0.0353386364877224,
-0.016229672357439995,
0.040613070130348206,
0.03740108013153076,
-0.01569380797445774,
-0.02469317801296711,
0.008807260543107986,
-0.002068930771201849,
0.07029756158590317,
0.012311399914324284,
-0.050739966332912445,
0.06280894577503204,
0.006765338592231274,
-0.06619790941476822,
0.005324542056769133,
-0.06971772015094757,
0.05907205119729042,
0.050246190279722214,
-0.023214371874928474,
0.01786167174577713,
-0.018863460049033165,
-0.0101272352039814,
-0.0004787044890690595,
-0.005865252576768398,
0.0044375522993505,
0.0462837740778923,
-0.019801810383796692,
-0.014577709138393402,
-0.04137581214308739,
0.01338559202849865,
-0.012633798643946648,
0.0007103243260644376,
0.00007515785546274856,
-0.03328980132937431,
0.0227921511977911,
-0.018310261890292168,
0.004374188836663961,
0.025278666988015175,
0.035710081458091736,
-0.006081060040742159,
0.013370584696531296,
0.01509464904665947,
0.007515174802392721,
0.0034401577431708574,
0.0025958095211535692,
-0.03223724663257599,
0.004815329797565937,
0.06868652254343033,
0.019427912309765816,
0.03448699414730072,
-0.029542896896600723,
0.016285846009850502,
-0.03391692414879799,
-0.05147650092840195,
0.021063394844532013,
-0.04323779419064522,
0.023535916581749916,
-0.012843283824622631,
-0.0044119046069681644,
0.009561731480062008,
0.012848437763750553,
-0.017647886648774147,
0.031878117471933365,
-0.017930401489138603,
-0.007272784132510424,
-0.02430073730647564,
0.004813018254935741,
-0.024757472798228264,
-0.02683737687766552,
-0.04125479236245155,
0.034366998821496964,
0.031970180571079254,
0.05039510130882263,
-0.13280145823955536,
-0.021681619808077812,
0.0041898684576153755,
0.03299960866570473,
-0.02161361090838909,
-0.0033105059992522,
0.05828213691711426,
0.032320957630872726,
-0.040379054844379425,
0.023460475727915764,
0.03368597850203514,
0.0016010673716664314,
0.028797036036849022,
0.024541830644011497,
0.03178093209862709,
0.04941224306821823,
-0.03146779537200928,
-0.009727333672344685,
0.0049417042173445225,
0.015147685073316097,
0.0069825793616473675,
0.0801623985171318,
0.014390561729669571,
-0.021263860166072845,
-0.05014513432979584,
0.03295186907052994,
0.006168384104967117,
0.027294987812638283,
-0.002580283209681511,
-0.01672048307955265,
-0.00680364016443491,
0.030237728729844093,
-0.020385418087244034,
0.025809677317738533,
-0.007567862048745155,
0.01620352268218994,
-0.018967848271131516,
-0.010546587407588959,
0.003280423115938902,
0.06037572771310806,
0.00039511595969088376,
0.02786443382501602,
0.02799166738986969,
-0.0028096064925193787,
0.043094538152217865,
0.00475821178406477,
0.021069321781396866,
-0.010191460140049458,
-0.000055448486818932,
-0.0545976459980011,
-0.04928290843963623,
0.004021849017590284,
-0.0004308451316319406,
0.038313429802656174,
-0.013470383360981941,
-0.0016041239723563194,
0.0038090345915406942,
0.011714034713804722,
0.006793948821723461,
0.009961307048797607,
-0.010977651923894882,
0.004252878949046135,
0.027119426056742668,
-0.00748344836756587,
-0.04370933771133423,
0.06963248550891876,
0.015244689770042896,
-0.005735454149544239,
-0.03603779897093773,
0.040587104856967926,
-0.04478651285171509,
0.037616051733493805,
-0.005886398255825043,
0.0009333239868283272,
-0.03143727406859398,
-0.0026137589011341333,
-0.01793459802865982,
0.014433598145842552,
0.0702955350279808,
0.040529485791921616,
-0.030649086460471153,
-0.039333246648311615,
-0.04449305683374405,
-0.01274194847792387,
-0.01989191211760044,
0.03997480124235153,
-0.003164703259244561,
0.021735968068242073,
0.02571100741624832,
0.03444291651248932,
0.03818429633975029,
-0.007644767872989178,
-0.012433109804987907,
-0.010090697556734085,
0.009277813136577606,
0.008658288978040218,
0.034989263862371445,
-0.013426720164716244,
0.011525006964802742,
-0.008321852423250675,
0.006907986011356115,
0.003315952140837908,
0.012962731532752514,
0.038863811641931534,
-0.006511328741908073,
0.01999065652489662,
-0.004038611892610788,
-0.0311617162078619,
-0.001568658510223031,
-0.01492247637361288,
-0.0035046169068664312,
-0.02746354602277279,
0.009949075058102608,
-0.01906050182878971,
0.004803605377674103,
0.001308439881540835,
-0.04584147408604622,
-0.012016592547297478,
-0.011471685953438282,
0.014439995400607586,
-0.05881016328930855,
0.012327580712735653,
-0.034759216010570526,
-0.02468734234571457,
0.03241869807243347,
0.0017789825797080994,
0.012468288652598858,
0.012998223304748535,
0.007106906268745661,
-0.030319156125187874,
-0.028536902740597725,
0.005405797623097897,
0.04112895578145981,
0.021485863253474236,
0.022861314937472343,
0.01334382314234972,
-0.016208136454224586,
0.03388141840696335,
0.023138411343097687,
-0.019266169518232346,
0.06281261891126633,
0.002654638607054949,
0.014111459255218506,
-0.004536325577646494,
0.02670189179480076,
-0.02550605498254299,
-0.029610417783260345,
0.006994649302214384,
0.012872925959527493,
0.013016902841627598,
0.020239366218447685,
-0.030273079872131348,
-0.040472012013196945,
-0.0018806622829288244,
-0.005309034138917923,
-0.007019663229584694,
0.0011837580241262913,
-0.011361312121152878,
-0.013984721153974533,
0.016743827611207962,
-0.029817992821335793,
0.01154794916510582,
-0.05295988544821739,
0.04277458414435387,
-0.024783676490187645,
0.014984763227403164,
0.022537613287568092,
-0.028157290071249008,
0.004325504414737225,
-0.0013443009229376912,
0.021583320572972298,
-0.05181916803121567,
0.021363073959946632,
0.001704517868347466,
0.0070827738381922245,
0.018298469483852386,
0.008794530294835567,
0.006330888718366623,
0.016218652948737144,
0.009057332761585712,
-0.01826709508895874,
-0.036116693168878555,
0.04070032015442848,
-0.0013247218448668718,
-0.016279209405183792,
-0.004311080556362867,
0.05630187317728996,
0.006064465269446373,
0.007489423733204603,
0.042182255536317825,
0.01718423143029213,
-0.0008126525208353996,
0.019900713115930557,
-0.0018189293332397938,
0.025712424889206886,
-0.009075509384274483,
0.0423830971121788,
0.026259055361151695,
-0.02007940411567688,
-0.028640534728765488,
0.018371492624282837,
0.04655217379331589,
0.019565684720873833,
0.025357598438858986,
0.004687849432229996,
0.008852116763591766,
0.014436757192015648,
-0.020038366317749023,
0.01214649248868227,
-0.04601522907614708,
-0.0014917270746082067,
-0.0063783954828977585,
-0.0745440274477005,
0.03143620491027832,
0.01602909341454506,
-0.03745006397366524,
-0.05179504305124283,
0.03851919621229172,
0.037772443145513535,
0.042778462171554565,
0.02739524282515049,
-0.01824025809764862,
-0.02289663441479206,
0.03274466469883919,
0.037968460470438004,
-0.017870135605335236,
0.031496912240982056,
0.006787994876503944,
-0.035076968371868134,
0.047866951674222946,
0.0208854041993618,
0.008146526291966438,
-0.004520879592746496,
0.03311092033982277,
-0.010354598052799702,
-0.010058516636490822,
-0.032802239060401917,
0.019654083997011185,
0.010858643800020218,
0.039901863783597946,
-0.00979163683950901,
-0.01135906670242548,
0.011571965180337429,
0.018836745992302895,
-0.04893060401082039,
0.016483576968312263,
0.015327023342251778,
-0.017360668629407883,
0.010491485707461834,
-0.01281280629336834,
0.0004605325229931623,
0.01547749899327755,
0.009104904718697071,
-0.015858840197324753,
0.017043337225914,
0.00467721838504076,
0.0062980493530631065,
-0.061762794852256775,
0.015534021891653538,
0.0012217588955536485,
0.020309606567025185,
-0.042031630873680115,
0.026685146614909172,
0.03552575781941414,
-0.043316587805747986,
0.011492813937366009,
-0.010057623498141766,
-0.023607714101672173,
0.009243212640285492,
0.009950375184416771,
0.026108698919415474,
0.04009507969021797,
0.02467505633831024,
0.0395667664706707,
-0.020493578165769577,
0.01082050520926714,
0.0005941378185525537,
0.06161192059516907,
-0.01699836179614067,
0.003814599709585309,
0.036799997091293335,
0.02697320468723774,
0.021115023642778397,
-0.016341110691428185,
-0.0040576946921646595,
-0.02344939298927784,
0.0070458208210766315,
0.054435450583696365,
0.03195705637335777,
0.006576889660209417,
0.01369281206279993,
-0.006020504981279373,
-0.05926687642931938,
-0.017463048920035362,
-0.027841899544000626,
0.01210787147283554,
0.0424022413790226,
-0.0368984155356884,
0.04130345582962036,
-0.05685865506529808,
0.010882897302508354,
0.026935990899801254,
0.0059277648106217384,
-0.0018314678454771638,
0.029107891023159027,
0.03152076527476311,
0.01582930237054825,
-0.0034080916084349155,
0.0220296960324049,
-0.0008250448736362159,
-0.006198758725076914,
0.059103529900312424,
-0.00029740395257249475,
0.011882330290973186,
0.024577131494879723,
-0.0629180446267128,
-0.0076111420057713985,
-0.0007105885306373239,
-0.003926044795662165,
-0.006781041622161865,
-0.007750856224447489,
-0.017657330259680748,
0.003554705996066332,
0.00596010684967041,
-0.08290775120258331,
-0.03978182375431061,
0.010710852220654488,
-0.038615964353084564,
-0.006096429191529751,
-0.0014773969305679202,
0.00783982127904892,
0.04060874879360199,
-0.028311338275671005,
-0.023048140108585358,
-0.0011983071453869343,
0.030118674039840698,
0.02687739208340645,
0.020600581541657448,
-0.01971455104649067,
-0.06396321207284927,
-0.040800541639328,
-0.009475634433329105,
0.02023032307624817,
0.014602159149944782,
-0.02946268953382969,
-0.014675534330308437,
0.007785270921885967,
-0.002823666436597705,
-0.037656985223293304,
0.03278573602437973,
0.0037625774275511503,
-0.02086356095969677,
-0.02170562371611595,
0.05734127014875412,
-0.054947786033153534,
-0.00722776772454381,
0.008177243173122406,
0.0288738664239645,
-0.013430546969175339,
-0.038186825811862946,
0.029850076884031296,
0.0013076511677354574,
0.023353194817900658,
-0.0033976128324866295,
-0.005729681812226772,
-0.0022288146428763866,
-0.049077726900577545,
0.048554301261901855,
0.0236689243465662,
0.008048291318118572,
-0.010987022891640663,
-0.001634321641176939,
0.019363265484571457,
0.011632098816335201,
-0.050519078969955444,
-0.009644926525652409,
0.03130168467760086,
-0.028386354446411133,
-0.01031256839632988,
-0.03697051852941513,
0.06639133393764496,
-0.0013727062614634633,
0.014190279878675938,
0.06065581738948822,
-0.01869071088731289,
0.029682189226150513,
-0.02320193685591221,
0.005018922034651041,
0.002009888645261526,
0.009048555046319962,
-0.03678400442004204,
-0.040680769830942154,
-0.018836969509720802,
-0.005704912357032299,
0.0010209515457972884,
-0.020958732813596725,
-0.019751427695155144,
-0.03048102557659149,
-0.020847203209996223,
-0.004128764849156141,
-0.04847756028175354,
0.018570389598608017,
0.04818972572684288,
0.003975639119744301,
0.022242117673158646,
-0.018392249941825867,
-0.0036893710494041443,
-0.0270528644323349,
-0.0229096170514822,
-0.013672721572220325,
0.02070228010416031,
-0.015228020958602428,
-0.0038350557442754507,
-0.03980303555727005,
0.011824693530797958,
-0.0211839247494936,
-0.028229450806975365,
-0.022130846977233887,
0.06366102397441864,
-0.015253273770213127,
-0.030491946265101433,
-0.017746251076459885,
-0.01631029322743416,
0.03530040383338928,
0.03890325874090195,
0.010768044739961624,
-0.017145972698926926,
0.018066609278321266,
0.007334828842431307,
-0.04012257978320122,
0.004126332234591246,
-0.003852192545309663,
0.04264598712325096,
0.04250722751021385,
0.005025053862482309,
-0.05302420258522034,
0.028144508600234985,
-0.026750626042485237,
-0.004624627530574799,
-0.038150232285261154,
0.02114006318151951,
-0.023168085142970085,
0.03191506862640381,
-0.012966448441147804,
-0.01512038055807352,
-0.017983412370085716,
0.02329877018928528,
0.01395926158875227,
-0.004830267746001482,
-0.035176150500774384,
-0.010434053838253021,
0.03474083170294762,
-0.012217404320836067,
0.01704600639641285,
-0.021418172866106033,
0.06506476551294327,
0.040748726576566696,
0.02539171278476715,
0.01768958382308483,
0.03737704083323479
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | How to pick the best model based on the metrics? Selecting an appropriate metric to evaluate and compare object detectors considers several factors. The primary considerations include the application's purpose and the dataset's characteristics used to train and evaluate the models. For general performance, **AP (AP@[.5:.05:.95])** is a good choice if you want all-round model performance across different IoU thresholds, without a hard requirement on the localization of the detected objects. If you want a model with good object recognition and objects generally in the right place, you can look at the **AP@.5**. If you prefer a more accurate model for placing the bounding boxes, **AP@.75** is more appropriate. If you have restrictions on object sizes, **AP-S**, **AP-M** and **AP-L** come into play. For example, if your dataset or application predominantly features small objects, AP-S provides insights into the detector's efficacy in recognizing such small targets. This becomes crucial in scenarios such as detecting distant vehicles or small artifacts in medical imaging. | [
0.013503380119800568,
0.06841166317462921,
-0.01676424965262413,
0.023739783093333244,
0.04136653244495392,
0.07908497005701065,
0.03045610338449478,
-0.032603610306978226,
-0.10681893676519394,
-0.01259948592633009,
-0.03541603684425354,
0.014921161346137524,
-0.03994003310799599,
0.020747637376189232,
0.08828145265579224,
-0.024071158841252327,
0.08625296503305435,
0.021415529772639275,
0.03957941010594368,
0.02228129841387272,
-0.0069755567237734795,
-0.09810024499893188,
-0.0396362766623497,
-0.0467052236199379,
0.0323457308113575,
0.013220804743468761,
-0.023303259164094925,
0.03007497452199459,
-0.05128210410475731,
-0.034557048231363297,
-0.07683094590902328,
0.017774241045117378,
-0.01812378130853176,
-0.029284130781888962,
-0.020771818235516548,
-0.010891846381127834,
-0.03742540627717972,
0.10246691852807999,
0.050628867000341415,
-0.0403924286365509,
0.02117934077978134,
-0.08008331805467606,
-0.08005966246128082,
-0.03567333146929741,
0.0028283766005188227,
-0.06211420148611069,
-0.11677379161119461,
0.0056332736276090145,
0.029543794691562653,
-0.019233331084251404,
0.009871192276477814,
0.07833804935216904,
0.0026002300437539816,
0.09552319347858429,
0.049460384994745255,
-0.025505254045128822,
0.022919343784451485,
-0.06524724513292313,
0.028572730720043182,
0.001150270807556808,
0.03335539251565933,
-0.053693950176239014,
0.04473473131656647,
-0.01842547580599785,
0.02424600161612034,
-0.022119659930467606,
0.015390736050903797,
0.014018934220075607,
0.00830032303929329,
-0.0007763998582959175,
-0.021535154432058334,
-0.050406042486429214,
-0.001482072751969099,
-0.031229952350258827,
-0.035013116896152496,
-0.04696088656783104,
-0.00959154311567545,
-0.07828722149133682,
-0.01700025238096714,
0.04427569359540939,
-0.020363271236419678,
0.02595934085547924,
0.02348787523806095,
0.020610643550753593,
0.04983329772949219,
0.00341431749984622,
-0.01301890704780817,
-0.007077500689774752,
-0.039252910763025284,
0.07781727612018585,
-0.00916279200464487,
-0.06508966535329819,
0.05643698200583458,
0.01953551173210144,
0.08583172410726547,
-0.03093571588397026,
-0.0275518000125885,
-0.006398308556526899,
0.027201687917113304,
0.044681474566459656,
-0.05781368911266327,
0.009790574200451374,
0.07469481229782104,
0.0032873013988137245,
-0.030628858134150505,
0.025699403136968613,
-0.05574178323149681,
-0.05658561363816261,
-0.07753738015890121,
0.020727021619677544,
-0.08873996883630753,
-0.039366088807582855,
0.019946854561567307,
0.06513155251741409,
0.004705199506133795,
-0.036216042935848236,
0.0012120920000597835,
-0.02345855161547661,
0.0452936552464962,
0.014539752155542374,
0.04524216800928116,
0.1339205652475357,
0.01372989546507597,
-0.03461971879005432,
0.018410518765449524,
0.048188403248786926,
0.07598621398210526,
0.06212899461388588,
-0.02537374012172222,
0.025690320879220963,
0.05081632733345032,
-0.002567671239376068,
0.02740659937262535,
0.042210567742586136,
0.04045470431447029,
-0.058423690497875214,
0.0020435682963579893,
-0.012031016871333122,
0.010101721622049809,
-0.004482320509850979,
-0.05817845091223717,
-0.018299946561455727,
0.007790462113916874,
0.01879139244556427,
0.056083645671606064,
-0.039994798600673676,
-0.005282241851091385,
0.046952664852142334,
0.038498952984809875,
0.03632587194442749,
-0.07449760288000107,
0.0844200924038887,
-0.04536890238523483,
-0.05811195448040962,
-0.018085230141878128,
0.01947093941271305,
0.05052076652646065,
0.049192626029253006,
-0.06954266875982285,
-0.03064659610390663,
-0.02034042216837406,
0.020714182406663895,
-0.03389507532119751,
0.02886771783232689,
-0.00287471991032362,
-0.012320062145590782,
0.08225240558385849,
-0.006364752538502216,
0.0009644994861446321,
0.02202412486076355,
-0.004851574078202248,
0.014588718302547932,
0.0802919864654541,
0.0021714698523283005,
-0.0726298987865448,
-0.017070790752768517,
0.03983134403824806,
-0.009848961606621742,
-0.04061256721615791,
0.0026760678738355637,
0.015677256509661674,
0.05107719078660011,
-0.10710487514734268,
0.026043932884931564,
0.10097233951091766,
-0.09232623875141144,
0.06005486845970154,
-0.008017766289412975,
-0.03186091035604477,
-0.015043534338474274,
-0.07310891151428223,
-0.05999540165066719,
0.08351149410009384,
-0.010370632633566856,
-0.02369394153356552,
-0.09997739642858505,
-0.022112879902124405,
0.09709760546684265,
0.05425513908267021,
-0.03684666007757187,
0.06532453000545502,
-0.029303226619958878,
0.08648388087749481,
-0.04085954651236534,
-0.06016770005226135,
-0.0047884793020784855,
0.014272883534431458,
0.004370847716927528,
-0.02840094454586506,
0.04964267462491989,
0.02654286101460457,
-0.10688595473766327,
0.01510995626449585,
-0.0552310049533844,
-0.029204655438661575,
0.05839631333947182,
0.01461991760879755,
-0.01640494167804718,
0.02309137023985386,
-0.01050932053476572,
0.15532875061035156,
0.011513344012200832,
-0.024566635489463806,
0.059878911823034286,
-0.08323017507791519,
0.0463256798684597,
0.07058435678482056,
0.03770413249731064,
0.01968216523528099,
-0.045500874519348145,
-0.003757061902433634,
-0.023891136050224304,
0.08443152904510498,
-0.005307004787027836,
-0.019890008494257927,
-0.0009893033420667052,
0.0353420153260231,
0.016276517882943153,
0.06190343201160431,
-0.005836877040565014,
-0.055865224450826645,
-0.021884890273213387,
0.027753643691539764,
0.09472533315420151,
-0.025581568479537964,
-0.00401357701048255,
0.09959681332111359,
-0.04822155460715294,
-0.09015003591775894,
-0.017350424081087112,
-0.07898891717195511,
0.012483203783631325,
0.02672310546040535,
-0.05207200348377228,
0.020608173683285713,
-0.0038732450921088457,
0.005733187776058912,
0.001460748491808772,
-0.05114258453249931,
0.0008340294007211924,
0.014224984683096409,
-0.014971841126680374,
-0.024458082392811775,
-0.04048912599682808,
0.039919156581163406,
-0.05003175511956215,
0.02382184937596321,
0.027592627331614494,
0.0041666277684271336,
0.028734052553772926,
0.0060638077557086945,
-0.006170721258968115,
0.03855375573039055,
0.014591864310204983,
-0.016318026930093765,
0.027340156957507133,
0.02478569746017456,
-0.018559232354164124,
-0.01706874929368496,
0.009111708030104637,
0.006025760434567928,
-0.013492577709257603,
0.04680002108216286,
0.0035364411305636168,
0.00009148952085524797,
-0.07495202124118805,
0.024436192587018013,
-0.013648626394569874,
-0.059797510504722595,
0.017581477761268616,
-0.021157272160053253,
0.024648165330290794,
-0.03219524025917053,
0.0031093896832317114,
0.011644355021417141,
0.0070106592029333115,
-0.011883278377354145,
-0.00195870827883482,
-0.013928546570241451,
0.0021378544624894857,
0.00043578710756264627,
0.05597751587629318,
-0.007137932814657688,
0.006860665511339903,
-0.04525594785809517,
-0.005581440404057503,
-0.03198594972491264,
0.025163277983665466,
-0.10571597516536713,
-0.009662197902798653,
0.010600757785141468,
-0.005076577886939049,
-0.02526993304491043,
-0.007763268426060677,
0.06879490613937378,
-0.008395423181355,
-0.005666237324476242,
-0.0051735215820372105,
0.025826768949627876,
-0.012436007149517536,
0.004001327324658632,
0.04872535541653633,
0.014062536880373955,
0.02459031529724598,
-0.022892450913786888,
-0.000269378098892048,
0.04065355658531189,
0.0011263129999861121,
-0.014517528004944324,
0.06640905141830444,
0.001361742033623159,
-0.00032232317607849836,
-0.04135541617870331,
-0.010700819082558155,
-0.0015321825630962849,
0.021692004054784775,
-0.0074945492669939995,
-0.043869730085134506,
-0.00498033594340086,
-0.028215760365128517,
-0.08067537844181061,
-0.005570250563323498,
-0.03134394437074661,
0.010364772751927376,
0.018577249720692635,
0.013030258007347584,
0.03397359699010849,
0.0676918774843216,
0.001989642158150673,
0.010977103374898434,
0.008158923126757145,
0.02047676034271717,
0.014502577483654022,
-0.008757596835494041,
0.018513813614845276,
0.030661238357424736,
0.006714466959238052,
-0.04027016460895538,
-0.03130466490983963,
0.03462093695998192,
0.013959085568785667,
0.025981232523918152,
0.015401911921799183,
-0.018397009000182152,
-0.010902279987931252,
0.029372688382864,
-0.03284655883908272,
-0.009133401326835155,
-0.014423827640712261,
0.03140776604413986,
0.032129522413015366,
-0.01884675770998001,
-0.04298838973045349,
0.01870790868997574,
-0.0040586525574326515,
0.03681419789791107,
-0.013036077842116356,
0.00480855954810977,
-0.026707394048571587,
-0.00034235292696394026,
-0.009959171526134014,
0.00724713085219264,
-0.012482861988246441,
-0.010861185379326344,
0.014281648211181164,
0.02598850429058075,
0.010522376745939255,
0.04219254106283188,
-0.04094136133790016,
-0.03590040281414986,
-0.013632337562739849,
-0.057533472776412964,
0.00996705424040556,
-0.007287022657692432,
0.02338123694062233,
0.01271891500800848,
0.002068491419777274,
0.05581676959991455,
0.011892883107066154,
-0.02443987876176834,
0.010216867551207542,
0.043470777571201324,
-0.004895894788205624,
-0.026112014427781105,
0.03813015669584274,
-0.014388052746653557,
-0.020952410995960236,
0.022971197962760925,
-0.004602502565830946,
0.010420598089694977,
0.02059773914515972,
-0.004150873050093651,
0.01698405295610428,
0.013819764368236065,
0.027485737577080727,
-0.01640131324529648,
0.021832359954714775,
-0.03388874605298042,
-0.021634384989738464,
-0.03760359063744545,
0.017621370032429695,
0.007480688393115997,
0.06628166139125824,
-0.022100407630205154,
-0.02132192999124527,
0.01814027689397335,
-0.016415730118751526,
0.006784452125430107,
-0.044313255697488785,
0.027134966105222702,
-0.033627092838287354,
-0.02234502322971821,
0.016293667256832123,
-0.02447878010571003,
0.01938178949058056,
0.006534530781209469,
-0.01481548324227333,
-0.004195633810013533,
-0.0427134707570076,
0.029756199568510056,
0.019108401611447334,
-0.01186419278383255,
-0.012561840936541557,
0.0077636572532355785,
-0.04655206948518753,
0.03925861790776253,
0.029631825163960457,
0.02188657782971859,
0.031817566603422165,
0.04376039281487465,
0.0032529584132134914,
0.010282573290169239,
0.010382278822362423,
0.01321063656359911,
-0.03285709396004677,
-0.005259848665446043,
-0.020406292751431465,
-0.0015500059816986322,
0.04507818445563316,
-0.006541076116263866,
-0.01745029352605343,
-0.010308782570064068,
-0.009660433046519756,
-0.030720066279172897,
0.00007456261664628983,
0.019064219668507576,
-0.031226161867380142,
0.01497689075767994,
0.012667768634855747,
-0.03611515462398529,
-0.020062599331140518,
0.030667634680867195,
0.012376277707517147,
-0.004621308762580156,
0.017506206408143044,
-0.02391568198800087,
-0.006321698892861605,
-0.0007149264565669,
0.021470870822668076,
-0.04630463197827339,
0.0238296240568161,
-0.04518410935997963,
-0.02450733445584774,
0.011130711995065212,
-0.03373770788311958,
0.03416276350617409,
0.024049656465649605,
0.014687233604490757,
-0.0653403252363205,
-0.0354723185300827,
0.012246369384229183,
0.00875641405582428,
-0.003276783274486661,
0.032464105635881424,
0.026628155261278152,
0.03581259772181511,
0.05541886016726494,
0.029396232217550278,
-0.006213701330125332,
-0.027721954509615898,
0.007144165690988302,
0.0017565462039783597,
0.0010837180307134986,
-0.0011483649723231792,
0.02081693522632122,
0.013877077028155327,
-0.018572956323623657,
0.0011042351834475994,
0.028249967843294144,
0.03836503252387047,
-0.007476163562387228,
0.0018879745621234179,
-0.025013471022248268,
0.04018063843250275,
0.012645028531551361,
-0.012123983353376389,
0.05502842739224434,
-0.035311926156282425,
-0.026786694303154945,
-0.024228602647781372,
-0.035073526203632355,
0.020385639742016792,
0.00005331270949682221,
-0.04620697349309921,
-0.03669330105185509,
0.06872917711734772,
0.01713685877621174,
0.0003059960436075926,
0.026618245989084244,
-0.011107887141406536,
-0.04587383568286896,
-0.001032911823131144,
0.04690772294998169,
-0.043444979935884476,
0.009140108712017536,
0.00262064253911376,
0.0022445120848715305,
0.0422351248562336,
-0.02154271863400936,
-0.008446774445474148,
0.03962935879826546,
0.027250919491052628,
-0.011225135996937752,
-0.07100068777799606,
-0.0020512163173407316,
0.038751114159822464,
-0.014039366506040096,
-0.003865292528644204,
-0.01555719319730997,
0.011123312637209892,
0.00671019172295928,
-0.001154258381575346,
-0.053448379039764404,
0.02036886475980282,
0.03473217040300369,
-0.005860386416316032,
-0.014773815870285034,
-0.012964984402060509,
0.012826926074922085,
0.01709912158548832,
0.006556810811161995,
-0.013049707747995853,
0.040203697979450226,
0.022807246074080467,
-0.005437340587377548,
0.005975475534796715,
-0.011733288876712322,
0.001643036026507616,
0.04400259256362915,
-0.0019485186785459518,
0.013861811719834805,
0.04268789291381836,
-0.024710753932595253,
-0.005420469678938389,
-0.021084247156977654,
-0.05055541545152664,
0.006227248348295689,
0.011996324174106121,
0.020635757595300674,
0.035440608859062195,
0.019388370215892792,
0.013921351172029972,
-0.0005673776031471789,
0.004200722556561232,
0.001939802779816091,
0.06254744529724121,
-0.013169456273317337,
0.013298184610903263,
-0.0021573924459517,
0.025912156328558922,
0.04579617455601692,
-0.018062332645058632,
0.0075734928250312805,
-0.017149921506643295,
0.04968917369842529,
0.017917072400450706,
0.06181566044688225,
0.023164456710219383,
0.012829609215259552,
-0.017432862892746925,
-0.06369944661855698,
0.02981095016002655,
-0.04879893735051155,
0.011594677343964577,
0.00702029699459672,
-0.003560831304639578,
-0.03305439651012421,
-0.04588675871491432,
0.048790961503982544,
0.044368043541908264,
0.022775838151574135,
-0.037460584193468094,
0.02882535010576248,
-0.016236532479524612,
0.01868428662419319,
-0.024806655943393707,
0.007426845841109753,
-0.020556053146719933,
-0.06274285912513733,
0.04152344912290573,
0.021351320669054985,
0.04960501194000244,
-0.011778812855482101,
-0.021765844896435738,
-0.045826200395822525,
-0.016464855521917343,
-0.01949213445186615,
0.016440486535429955,
0.022077111527323723,
0.007011010777205229,
0.006912576500326395,
0.006130109075456858,
-0.048222772777080536,
-0.024850372225046158,
-0.0467466302216053,
-0.0276804119348526,
-0.010068478062748909,
0.010842998512089252,
-0.010319526307284832,
0.05685196444392204,
-0.01108098216354847,
-0.029395010322332382,
-0.015504748560488224,
0.005111110862344503,
0.002362611470744014,
0.024953728541731834,
0.001947559998370707,
-0.04532712697982788,
-0.059846457093954086,
0.016384849324822426,
-0.004072668496519327,
0.014760279096662998,
-0.01766861043870449,
0.01740357093513012,
-0.004771429114043713,
-0.024400144815444946,
-0.004693459253758192,
0.011646098457276821,
-0.01163984090089798,
0.03760051727294922,
-0.021076548844575882,
0.04298894479870796,
-0.06611001491546631,
-0.012271721847355366,
0.03174743056297302,
-0.0016736427787691355,
-0.0010373223340138793,
-0.026612745597958565,
0.07407381385564804,
0.02862534485757351,
-0.011353482492268085,
0.005362475756555796,
-0.025606339797377586,
-0.04075165092945099,
-0.05539720505475998,
0.04433524236083031,
0.022035254165530205,
0.016392044723033905,
0.013633848167955875,
0.030153891071677208,
-0.01499885879456997,
0.06691008806228638,
-0.0025592364836484194,
0.017719320952892303,
0.026528704911470413,
-0.015019679442048073,
-0.02845795266330242,
-0.03325768560171127,
0.03158491104841232,
0.019082248210906982,
0.010623346082866192,
0.011330672539770603,
0.011677954345941544,
0.023692281916737556,
0.0010103483218699694,
0.004634796641767025,
0.0027049854397773743,
0.011748960241675377,
0.02201586589217186,
-0.001794664771296084,
-0.012584305368363857,
-0.022345786914229393,
-0.012691892683506012,
-0.017795823514461517,
-0.048464398831129074,
0.008220602758228779,
-0.039877716451883316,
0.0026992110069841146,
-0.07113949209451675,
0.007208274211734533,
0.00637241592630744,
-0.0006342432461678982,
0.03809095919132233,
-0.046784672886133194,
-0.03732028603553772,
0.027508988976478577,
0.0028620120137929916,
-0.010140633210539818,
0.03357647731900215,
-0.057812903076410294,
0.01779678836464882,
-0.02192114293575287,
0.02231164276599884,
0.020215876400470734,
-0.05780503898859024,
-0.022472769021987915,
0.0731813982129097,
-0.009187978692352772,
0.0032752451952546835,
-0.033208347856998444,
0.036038920283317566,
0.025148246437311172,
0.02596340887248516,
0.0028195008635520935,
-0.00626203091815114,
0.006194298155605793,
0.011102333664894104,
-0.030357297509908676,
0.008903970010578632,
-0.009507980197668076,
0.027643902227282524,
0.018709130585193634,
-0.007714760024100542,
-0.009826301597058773,
0.015376944094896317,
0.03247442841529846,
0.013938171789050102,
-0.04320745915174484,
0.006683251820504665,
-0.0879618227481842,
0.052769068628549576,
0.022313321009278297,
-0.002594635123386979,
-0.042862650007009506,
0.004517631605267525,
-0.010136992670595646,
-0.020611776039004326,
0.0037618600763380527,
-0.03771759197115898,
-0.0026831261347979307,
0.021609816700220108,
0.022150259464979172,
-0.029294295236468315,
0.030727433040738106,
0.045610085129737854,
0.05134361982345581,
0.010630848817527294,
-0.03719574958086014
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Which parameters can impact the Average Precision results? After picking an object detection model from the Hub, we can vary the output boxes if we use different parameters in the model's pre-processing and post-processing steps. These may influence the assessment metrics. We identified some of the most common factors that may lead to variations in results: * Ignore detections that have a score under a certain threshold. * Use `batch_sizes > 1` for inference. * Ported models do not output the same logits as the original models. * Some ground-truth objects may be ignored by the evaluator. * Computing the IoU may be complicated. * Text-conditioned models require precise prompts. Let’s take the DEtection TRansformer (DETR) ([facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50)) model as our example case. We will show how these factors may affect the output results. | [
0.000847889925353229,
-0.02891852892935276,
-0.021734710782766342,
0.02176337130367756,
0.03936287388205528,
0.07122360169887543,
0.05640590563416481,
0.04385071247816086,
-0.04413484036922455,
-0.03935180976986885,
-0.05729636549949646,
0.01221336517482996,
-0.016991328448057175,
0.06579550355672836,
-0.016660908237099648,
-0.04468894004821777,
0.06775141507387161,
0.009856073185801506,
0.005832297261804342,
0.08572571724653244,
0.019999545067548752,
-0.07730521261692047,
0.003823802573606372,
-0.001191271236166358,
-0.020183546468615532,
-0.017062466591596603,
0.005779535975307226,
-0.0713568851351738,
-0.07159215956926346,
-0.005974500440061092,
-0.12688423693180084,
-0.03843779116868973,
0.011158240959048271,
-0.03252040967345238,
0.013849313370883465,
-0.007562314625829458,
-0.10559951514005661,
0.0631432756781578,
0.022618113085627556,
0.0068463427014648914,
-0.03890740126371384,
-0.054345931857824326,
-0.06446634232997894,
-0.02788996323943138,
0.06088170036673546,
-0.04226343333721161,
-0.059298738837242126,
0.0029804755467921495,
0.04432983323931694,
-0.016590554267168045,
-0.058596011251211166,
0.08690693229436874,
-0.004367563407868147,
0.011479602195322514,
0.03178773820400238,
-0.024489358067512512,
-0.023909052833914757,
-0.05367176607251167,
0.10842230170965195,
-0.005638797301799059,
0.023722505196928978,
-0.06105973199009895,
0.006280748639255762,
0.02357654646039009,
0.026040058583021164,
0.02709190919995308,
0.047952473163604736,
-0.0006118376040831208,
0.017569921910762787,
0.01484465692192316,
0.01206233911216259,
-0.05149216949939728,
0.04437259957194328,
-0.031281325966119766,
-0.05850597843527794,
0.03372419252991676,
0.06517649441957474,
0.011999018490314484,
-0.01220330223441124,
0.019817568361759186,
-0.012770428322255611,
-0.03921585902571678,
0.045487016439437866,
0.022631870582699776,
0.03995794057846069,
-0.013766559772193432,
0.009933809749782085,
0.004648467525839806,
-0.0046949805691838264,
0.014071621000766754,
0.008755628950893879,
-0.13972026109695435,
-0.0032072262838482857,
0.04367701709270477,
0.007906096987426281,
0.02867639809846878,
0.009509147144854069,
0.01268677692860365,
0.03782125934958458,
-0.026273466646671295,
-0.013850408606231213,
-0.0003730200696736574,
0.07671576738357544,
-0.0740237757563591,
-0.06651155650615692,
-0.015130115672945976,
-0.027504263445734978,
-0.15018248558044434,
-0.06378814578056335,
0.040072496980428696,
-0.058787304908037186,
-0.04682813957333565,
-0.010634378530085087,
0.08578140288591385,
-0.07119390368461609,
-0.009756948798894882,
-0.02650667540729046,
-0.014223151840269566,
0.028324130922555923,
-0.005450238008052111,
0.037958718836307526,
0.12047122418880463,
0.00536079378798604,
-0.033848609775304794,
-0.02748945914208889,
0.03546212986111641,
0.062408920377492905,
0.00015010664355941117,
-0.000011095738955191337,
-0.0019801820162683725,
-0.006966752465814352,
-0.006390816532075405,
0.004069734364748001,
0.013113315217196941,
-0.001808122848160565,
-0.11322260648012161,
0.006347741931676865,
-0.09055658429861069,
0.034591250121593475,
-0.07374538481235504,
-0.03675772249698639,
0.015528777614235878,
-0.026578489691019058,
0.010604356415569782,
0.0037572155706584454,
-0.010335315018892288,
-0.01565122790634632,
0.07240064442157745,
0.010582199320197105,
0.07681898027658463,
-0.03807787969708443,
0.11669035255908966,
-0.06811048835515976,
-0.06341435015201569,
-0.014753974974155426,
0.06709938496351242,
-0.02683199569582939,
-0.052170027047395706,
-0.06263476610183716,
-0.0035335710272192955,
-0.05958740785717964,
0.031825125217437744,
-0.05142322555184364,
-0.029431486502289772,
0.04517453536391258,
-0.013347226195037365,
0.035327378660440445,
0.03278401494026184,
-0.0024640592746436596,
0.06192964315414429,
-0.0025333594530820847,
-0.046626996248960495,
0.08106473088264465,
-0.02846234291791916,
-0.05302972346544266,
0.02923070639371872,
0.047408804297447205,
0.02310135029256344,
0.014893115498125553,
0.013346291147172451,
-0.01076422818005085,
0.10508403927087784,
-0.06899219006299973,
0.06493714451789856,
0.05535778030753136,
-0.11174526065587997,
0.02007858268916607,
-0.0025652663316577673,
-0.06867895275354385,
0.03938973695039749,
-0.008250243030488491,
-0.02173430472612381,
0.0656396895647049,
0.003031900618225336,
0.027464307844638824,
-0.1298724114894867,
-0.03150226175785065,
0.11128372699022293,
0.050428640097379684,
0.00012091335520381108,
-0.007364171091467142,
-0.00557338260114193,
0.03136291354894638,
-0.06507176160812378,
-0.013467137701809406,
0.049166031181812286,
0.03256333991885185,
-0.02780381590127945,
-0.029409807175397873,
0.04146983101963997,
0.014544418081641197,
-0.12717753648757935,
-0.026923229917883873,
-0.009461966343224049,
-0.012285059317946434,
-0.008737458847463131,
0.03448561951518059,
-0.049777332693338394,
0.009780734777450562,
-0.003970435820519924,
0.15223702788352966,
0.031980905681848526,
0.04121799394488335,
-0.012764892540872097,
-0.04602321982383728,
0.002714394358918071,
-0.0007339396979659796,
0.06591465324163437,
0.062367647886276245,
-0.0376548245549202,
-0.019877133890986443,
-0.05725235119462013,
0.037017498165369034,
-0.03314196318387985,
-0.06741535663604736,
-0.02026207000017166,
-0.011989735998213291,
-0.0032280473969876766,
0.012168772518634796,
-0.029671121388673782,
-0.019416190683841705,
0.009087912738323212,
0.05597962066531181,
0.054062619805336,
-0.01009221188724041,
-0.008923059329390526,
0.05877520143985748,
0.009507211856544018,
-0.06014810502529144,
-0.00896869134157896,
-0.06893166899681091,
0.02726595103740692,
0.013961458578705788,
-0.035864200443029404,
0.011453293263912201,
0.046870987862348557,
-0.007185135502368212,
0.011015919968485832,
-0.04029364138841629,
0.019482772797346115,
0.06400061398744583,
-0.03185003250837326,
-0.012437558732926846,
-0.047904521226882935,
0.0031232505571097136,
-0.05732643976807594,
-0.01816137693822384,
0.016026947647333145,
-0.014604534953832626,
0.009910227730870247,
0.007008225191384554,
-0.004837841726839542,
0.013956109993159771,
0.03380582481622696,
-0.008620989508926868,
0.016911044716835022,
0.05434174835681915,
-0.00782683864235878,
-0.01651165448129177,
0.01721189357340336,
-0.005435729864984751,
-0.022891150787472725,
0.02904801443219185,
0.027402153238654137,
0.005895956419408321,
-0.0026368782855570316,
-0.0012199621414765716,
-0.012540027499198914,
-0.04940081760287285,
0.011923752725124359,
-0.03980730101466179,
0.041078612208366394,
0.003429580479860306,
-0.019726915284991264,
0.006529245525598526,
0.04397844150662422,
0.0016473864670842886,
0.0021568553056567907,
0.010169186629354954,
-0.009087883867323399,
-0.004998357966542244,
0.04577827453613281,
0.0059023648500442505,
-0.016541630029678345,
-0.01538604125380516,
0.03304581716656685,
-0.006263903342187405,
0.046807900071144104,
-0.09129837155342102,
-0.018138673156499863,
0.000489552621729672,
0.061311349272727966,
-0.05325140804052353,
-0.04826989397406578,
0.03975687175989151,
0.007890211418271065,
-0.006043858826160431,
0.03417692333459854,
0.012450302951037884,
0.031091587617993355,
0.0078099858947098255,
0.05739423632621765,
-0.00891976896673441,
0.014313316904008389,
-0.021769840270280838,
0.02647208794951439,
0.019449591636657715,
0.02994040586054325,
-0.033285725861787796,
0.02625385858118534,
0.011799330823123455,
-0.01345071941614151,
-0.005646885838359594,
0.03732779249548912,
0.02607845328748226,
0.013976057060062885,
-0.020529648289084435,
-0.024368980899453163,
0.0222195852547884,
-0.006016841158270836,
-0.02416662871837616,
0.009263908490538597,
-0.015670189633965492,
-0.003398182103410363,
-0.021428784355521202,
-0.03363409638404846,
0.026808300986886024,
0.046319104731082916,
0.017132790759205818,
0.04194093868136406,
0.01566758193075657,
-0.0007611303590238094,
0.05837356299161911,
-0.03776923939585686,
0.011614560149610043,
-0.008682615123689175,
0.015269936062395573,
-0.042636048048734665,
-0.03404609113931656,
-0.008979536592960358,
-0.006236746441572905,
0.03322666883468628,
0.040247220546007156,
-0.0123716676607728,
0.002175724133849144,
0.03869776055216789,
-0.030154451727867126,
-0.03271383419632912,
-0.05519760400056839,
0.03950034826993942,
-0.00542412418872118,
-0.017026586458086967,
-0.06355450302362442,
0.020317217335104942,
0.036784540861845016,
0.020690793171525,
-0.004608632065355778,
-0.0010285420576110482,
-0.024230245500802994,
0.03017091564834118,
0.034848473966121674,
0.005428952164947987,
-0.01963186450302601,
-0.027360565960407257,
-0.014507690444588661,
-0.01666834019124508,
0.02996009588241577,
0.022909490391612053,
-0.017399786040186882,
-0.011153386905789375,
-0.011090090498328209,
-0.0031039509922266006,
-0.012431278824806213,
0.0010785310296341777,
-0.01608850248157978,
-0.004765958990901709,
0.008960220031440258,
0.021888921037316322,
0.04437008127570152,
0.01342972181737423,
0.00004751316737383604,
-0.026845857501029968,
-0.0029811300337314606,
-0.02339261956512928,
-0.002444172278046608,
0.023812299594283104,
-0.032744962722063065,
0.03752664104104042,
-0.003634416963905096,
-0.0062352316454052925,
0.0009605056839063764,
0.02610827051103115,
0.02164309471845627,
0.0028289135079830885,
0.014943554066121578,
0.020350033417344093,
-0.006151681300252676,
-0.025907378643751144,
-0.004126656800508499,
-0.021275177597999573,
0.015433406457304955,
-0.01552346721291542,
0.04503408819437027,
0.023732401430606842,
0.002767015714198351,
-0.006499751005321741,
-0.0222605112940073,
0.046725187450647354,
-0.0632581114768982,
0.009499488398432732,
-0.02836424857378006,
-0.01912619173526764,
0.036794353276491165,
0.021988486871123314,
0.045610710978507996,
0.012618261389434338,
0.014043777249753475,
-0.023358378559350967,
0.00587708642706275,
0.03998797386884689,
0.028628773987293243,
0.009557715617120266,
-0.02177536115050316,
-0.007742827292531729,
-0.03145436942577362,
0.005119004286825657,
0.039829615503549576,
0.03134056553244591,
-0.010377886705100536,
0.030426453799009323,
0.02125653252005577,
-0.007921264506876469,
0.058646101504564285,
0.0006367176538333297,
-0.039859622716903687,
-0.005707098171114922,
-0.02117570862174034,
-0.0043184286914765835,
0.041322268545627594,
-0.028911462053656578,
-0.04263008013367653,
0.02516002580523491,
0.004417974967509508,
-0.028978239744901657,
-0.019472768530249596,
0.019182557240128517,
-0.0004238220280967653,
0.047512300312519073,
-0.014506205916404724,
-0.00631121639162302,
-0.004566852003335953,
0.0636075958609581,
0.007761409506201744,
-0.004409254994243383,
-0.011597374454140663,
-0.01715114153921604,
-0.011983507312834263,
0.0013578515499830246,
0.00785825029015541,
-0.03433198109269142,
0.03558911010622978,
-0.015488935634493828,
-0.004490657709538937,
0.06158016622066498,
0.018077736720442772,
-0.025762664154171944,
0.029759610071778297,
0.010313562117516994,
-0.0071137333288788795,
0.01663985103368759,
0.04545686021447182,
0.008723712526261806,
0.02966679446399212,
-0.001682137604802847,
0.05186812952160835,
0.07648368179798126,
0.04433845728635788,
0.027389531955122948,
0.018284140154719353,
-0.005894596688449383,
0.01074766181409359,
-0.023609459400177002,
-0.0010280784917995334,
-0.010610301978886127,
0.04897531121969223,
0.038143813610076904,
-0.023164421319961548,
-0.00828137993812561,
0.03008350357413292,
0.06937944889068604,
0.03600366413593292,
-0.006161164492368698,
0.01734730787575245,
0.0018721726955845952,
-0.0014012178871780634,
-0.009007037617266178,
0.03727405145764351,
-0.027872564271092415,
0.000850646523758769,
-0.0050573707558214664,
-0.026826847344636917,
0.003992418758571148,
0.00790182314813137,
-0.05949706956744194,
-0.048875175416469574,
0.03987628221511841,
0.03358868137001991,
0.02773534692823887,
0.00029250956140458584,
-0.03320736438035965,
-0.020430153235793114,
0.0034876998979598284,
0.005419138818979263,
-0.017956474795937538,
0.018560143187642097,
-0.010752693749964237,
-0.03718075901269913,
0.02398962900042534,
-0.044383224099874496,
0.00748048210516572,
-0.016064312309026718,
0.04294910281896591,
0.012248668819665909,
-0.02089829370379448,
-0.057747744023799896,
0.02864139713346958,
0.009240666404366493,
0.008585270494222641,
-0.01775735430419445,
-0.014264659024775028,
-0.0012534945271909237,
0.022506460547447205,
-0.06979814916849136,
0.018661634996533394,
-0.0012382486602291465,
-0.014504785649478436,
0.001579203293658793,
0.012797773815691471,
-0.02760515734553337,
0.03110905922949314,
0.020376555621623993,
0.01325774472206831,
0.02222759835422039,
0.007618559058755636,
0.0270432960242033,
-0.03426293656229973,
0.004821783397346735,
-0.009349360130727291,
0.02635599672794342,
-0.07460510730743408,
0.007213782984763384,
0.04265439137816429,
-0.05085968226194382,
0.02784227766096592,
-0.005059883464127779,
-0.02813572995364666,
-0.01544757280498743,
-0.0002869563759304583,
0.03668086603283882,
0.05098603293299675,
0.014492443762719631,
0.030346650630235672,
-0.06561782956123352,
0.02248520217835903,
-0.03449682518839836,
0.07067268341779709,
0.01379409246146679,
-0.0009544794447720051,
0.03610099479556084,
0.04856923595070839,
0.0598856620490551,
0.013285694643855095,
0.016500070691108704,
-0.039101969450712204,
0.05852275714278221,
0.009052390232682228,
0.013211223296821117,
-0.025858506560325623,
0.024720609188079834,
0.025985805317759514,
-0.030627788975834846,
-0.030823275446891785,
-0.013710019178688526,
0.015541162341833115,
0.012140167877078056,
-0.019037077203392982,
-0.0072319889441132545,
-0.04191756248474121,
0.024648388847708702,
0.022424018010497093,
0.026356766000390053,
0.03392161428928375,
0.024801671504974365,
0.019906824454665184,
0.028351813554763794,
0.007638521958142519,
0.046242233365774155,
-0.0019475993467494845,
-0.042099542915821075,
0.04185400530695915,
0.03443562611937523,
0.013955388218164444,
-0.0115042794495821,
-0.02896643616259098,
-0.02054465375840664,
-0.01633264869451523,
-0.00916450284421444,
-0.015040517784655094,
0.004543317016214132,
0.018498072400689125,
-0.01129294466227293,
0.023733360692858696,
-0.06032400205731392,
0.012780233286321163,
-0.016207696869969368,
-0.060137782245874405,
0.0006450068322010338,
0.010105468332767487,
-0.002677449258044362,
0.029905956238508224,
0.041184619069099426,
-0.10024376213550568,
0.031406838446855545,
-0.020239556208252907,
0.05081813409924507,
0.015577795915305614,
-0.039198435842990875,
-0.0348203219473362,
-0.03676050156354904,
-0.02276342362165451,
0.014873559586703777,
0.001997180748730898,
-0.01829926110804081,
0.015674877911806107,
-0.01814582198858261,
0.0035071857273578644,
-0.01652827113866806,
0.0029124498832970858,
-0.012018091045320034,
-0.009837837889790535,
-0.02198720909655094,
0.01780744269490242,
-0.0163989569991827,
-0.025136006996035576,
0.03851184993982315,
0.010345367714762688,
-0.05971147492527962,
-0.031357601284980774,
0.03671373426914215,
-0.000016381809473386966,
0.013844975270330906,
-0.018598461523652077,
0.012498619966208935,
-0.01834537461400032,
-0.023235220462083817,
0.025060288608074188,
0.029673047363758087,
0.03684920072555542,
0.001955326646566391,
0.027398116886615753,
0.005554982461035252,
-0.01704649068415165,
-0.010843771509826183,
-0.004956962075084448,
0.06255625188350677,
-0.011528462171554565,
-0.04416424036026001,
-0.031976424157619476,
0.05134841799736023,
0.013819091022014618,
0.04970041662454605,
0.04433836787939072,
-0.011090129613876343,
0.008803811855614185,
-0.023351356387138367,
0.014194766990840435,
-0.050327152013778687,
0.04417717829346657,
-0.005997496657073498,
-0.0179754626005888,
-0.027830395847558975,
0.021370692178606987,
-0.018004611134529114,
-0.024967191740870476,
-0.02443103678524494,
-0.016684353351593018,
-0.02080153115093708,
-0.012196453288197517,
-0.050037506967782974,
0.03391984477639198,
0.04410550743341446,
0.04460835084319115,
0.018805239349603653,
-0.013988790102303028,
-0.03160093352198601,
-0.016074351966381073,
0.005914520006626844,
0.003284635953605175,
0.03050159104168415,
-0.03235148638486862,
-0.002340949373319745,
0.010012020356953144,
-0.013333299197256565,
-0.0008793938905000687,
-0.03990554064512253,
0.0020569704938679934,
0.00963899027556181,
-0.008311811834573746,
-0.003030645428225398,
0.000520073517691344,
0.04066811874508858,
-0.012072891928255558,
0.07412797212600708,
0.0018313205800950527,
0.0010067831026390195,
-0.022197561338543892,
0.015223360620439053,
-0.05106424167752266,
0.004430807661265135,
-0.02817072905600071,
0.06578676402568817,
0.03311098739504814,
0.023917125537991524,
0.008680329658091068,
0.007869117893278599,
-0.0025378873106092215,
-0.001013278029859066,
-0.05842439457774162,
0.0036275722086429596,
-0.0562044121325016,
0.00703474273905158,
0.038162026554346085,
-0.004821320995688438,
-0.015265940688550472,
0.010971198789775372,
-0.007167849224060774,
-0.052915483713150024,
-0.009029638953506947,
0.017472490668296814,
0.009063426405191422,
-0.019000941887497902,
0.003744449932128191,
-0.059561893343925476,
0.012504461221396923,
0.02576805278658867,
0.0042803105898201466,
0.0186751801520586,
0.006766040343791246
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Calculating the IoU requires careful consideration IoU might seem straightforward to calculate based on its definition. However, there's a crucial detail to be aware of: if the ground truth and the detection don't overlap at all, not even by one pixel, the IoU should be 0. To avoid dividing by zero when calculating the union, you can add a small value (called _epsilon_), to the denominator. However, it's essential to choose epsilon carefully: a value greater than 1e-4 might not be neutral enough to give an accurate result. | [
0.009832256473600864,
0.01409318670630455,
0.05236121267080307,
0.016034632921218872,
0.06035282462835312,
-0.012487877160310745,
-0.00374569627456367,
0.011385367251932621,
0.032100748270750046,
-0.09003721922636032,
0.023337174206972122,
0.055819861590862274,
-0.07512040436267853,
-0.031099684536457062,
0.03212874010205269,
0.06565811485052109,
0.020633626729249954,
0.02514302171766758,
0.0341171957552433,
0.016149774193763733,
-0.07624901086091995,
0.0035643195733428,
-0.0446489192545414,
-0.0917070135474205,
-0.04259201139211655,
-0.07310483604669571,
0.016059329733252525,
-0.00010440802725497633,
0.01214215625077486,
0.048446644097566605,
-0.04380953684449196,
-0.01833610236644745,
-0.0007638933602720499,
-0.0677976980805397,
0.029476117342710495,
0.03306684270501137,
-0.020897166803479195,
0.0003272716421633959,
0.022687528282403946,
0.07119815051555634,
0.016398558393120766,
-0.013290002942085266,
-0.029969772323966026,
-0.02197367325425148,
0.017489954829216003,
-0.10826612263917923,
-0.09127416461706161,
0.09735273569822311,
-0.013364234007894993,
0.032751865684986115,
0.0569019578397274,
0.025617802515625954,
-0.02680368721485138,
0.03074684366583824,
0.023515308275818825,
0.02200554497539997,
0.012047390453517437,
0.012645390816032887,
0.082209013402462,
-0.02305832877755165,
0.07009020447731018,
-0.06520389765501022,
0.04832461476325989,
-0.011672111228108406,
0.02869296632707119,
-0.002348756417632103,
0.04729770869016647,
-0.004758178722113371,
0.002546752570196986,
-0.011391974985599518,
-0.019035514444112778,
0.003018770832568407,
-0.0033180315513163805,
0.027434462681412697,
-0.03740544617176056,
0.013177610002458096,
0.02453658916056156,
0.006586936302483082,
0.08477447926998138,
0.034422799944877625,
-0.016201378777623177,
-0.0014603727031499147,
0.09895201027393341,
-0.022832700982689857,
0.0020064041018486023,
-0.017835941165685654,
-0.007001444231718779,
0.002069213194772601,
0.04143834486603737,
0.10462132096290588,
-0.020775191485881805,
-0.05896754190325737,
0.003217733232304454,
0.0327875018119812,
0.01354703027755022,
-0.06458370387554169,
0.02513355016708374,
0.041908618062734604,
0.06369234621524811,
-0.015014218166470528,
-0.04812820628285408,
-0.019359633326530457,
0.06473731994628906,
-0.025782298296689987,
-0.03089337795972824,
0.0009176627499982715,
-0.014195287600159645,
-0.07408743351697922,
-0.09654363989830017,
0.06759434193372726,
-0.08730138093233109,
0.038798537105321884,
0.07421422749757767,
0.03219461068511009,
-0.08059350401163101,
-0.038523394614458084,
0.01808736100792885,
0.017441904172301292,
0.033164169639348984,
0.027637364342808723,
0.037140972912311554,
0.12695397436618805,
0.033383626490831375,
0.0656333640217781,
-0.059764131903648376,
-0.031449634581804276,
0.017609598115086555,
0.016559164971113205,
-0.10370739549398422,
0.06042054295539856,
0.01720355451107025,
0.02467701956629753,
0.027975931763648987,
-0.022423578426241875,
-0.03326232358813286,
-0.09402218461036682,
0.0477476641535759,
-0.0003356780798640102,
-0.004084213171154261,
0.006309004966169596,
-0.0316227525472641,
0.01738554984331131,
-0.0010178135707974434,
0.04179888591170311,
-0.05243866518139839,
0.001826644060201943,
-0.0359998494386673,
0.028138821944594383,
0.016688566654920578,
0.02620396576821804,
-0.040935393422842026,
0.11677629500627518,
-0.040971800684928894,
-0.08677411824464798,
-0.034077662974596024,
0.0060831583105027676,
0.015574553050100803,
-0.0030087728518992662,
-0.1120336577296257,
0.015779132023453712,
0.04372197389602661,
-0.0017286954680457711,
-0.02841131016612053,
-0.056041233241558075,
0.045872367918491364,
0.0022511708084493876,
0.0823236033320427,
0.018357085064053535,
0.025590786710381508,
0.049322277307510376,
0.01565379649400711,
-0.05946526676416397,
0.07958071678876877,
0.04108394309878349,
-0.03795331344008446,
-0.04498596116900444,
0.06365738809108734,
0.05575312301516533,
-0.029225286096334457,
-0.024834537878632545,
-0.05278767645359039,
-0.0598185695707798,
-0.037159085273742676,
0.04246069863438606,
-0.03789742663502693,
-0.05255984887480736,
0.06598271429538727,
-0.034532513469457626,
-0.046150773763656616,
0.07460776716470718,
-0.008309779688715935,
-0.05050506070256233,
-0.017890477553009987,
-0.06646845489740372,
-0.0043634818866848946,
-0.06532779335975647,
-0.005498550832271576,
0.03165994584560394,
0.07023536413908005,
0.01972002536058426,
0.01848241314291954,
-0.02663048356771469,
0.0771743506193161,
-0.027444493025541306,
-0.008446207270026207,
0.03992922604084015,
0.08642920106649399,
-0.0233568474650383,
0.038527969270944595,
0.0433119498193264,
-0.029945364221930504,
-0.07315240055322647,
0.014467350207269192,
-0.09130149334669113,
-0.030374549329280853,
-0.018278101459145546,
0.04463450238108635,
-0.005132567137479782,
0.06361420452594757,
-0.04737083986401558,
0.08503386378288269,
-0.0034225794952362776,
0.015476339496672153,
0.08377653360366821,
-0.040843863040208817,
-0.03216088190674782,
0.028049452230334282,
0.03269088640809059,
-0.04566090181469917,
-0.12364814430475235,
-0.025253277271986008,
-0.08210641145706177,
-0.015722041949629784,
0.015132990665733814,
-0.003983745817095041,
0.0219460166990757,
-0.0046668811701238155,
0.0020981337875127792,
0.0706060528755188,
-0.025973159819841385,
-0.05340651795268059,
-0.04137732461094856,
-0.007662181742489338,
0.030323607847094536,
-0.013573767617344856,
-0.0648946613073349,
0.0879732072353363,
-0.026064591482281685,
-0.025806736201047897,
-0.0016257240204140544,
0.0074838874861598015,
0.03620485961437225,
-0.08772936463356018,
-0.08799590170383453,
0.018980951979756355,
-0.09114151448011398,
0.03377678990364075,
-0.036003872752189636,
-0.03608612343668938,
0.0011473646154627204,
-0.004510690923780203,
-0.03760247677564621,
0.04490530118346214,
-0.034620460122823715,
0.009243612177670002,
-0.048496365547180176,
-0.026117030531167984,
0.03770889341831207,
-0.02037537284195423,
0.06450796127319336,
0.013869070447981358,
0.03778139501810074,
0.04212458059191704,
-0.020605187863111496,
0.013085505925118923,
-0.019610965624451637,
0.035701218992471695,
-0.013683137483894825,
-0.011613151989877224,
-0.008160121738910675,
0.004199888091534376,
-0.036326996982097626,
0.03455089405179024,
0.0010759555734694004,
-0.011473122052848339,
-0.032778989523649216,
0.007547417655587196,
0.01046067290008068,
-0.002418458228930831,
0.00394889572635293,
-0.015804652124643326,
0.008579950779676437,
0.02086745575070381,
-0.029595017433166504,
-0.012930460274219513,
0.020731192082166672,
-0.040949497371912,
-0.010398438200354576,
0.011271280236542225,
-0.06666634231805801,
0.01626831851899624,
0.014247280545532703,
0.04069006070494652,
-0.04630737379193306,
-0.054077111184597015,
-0.0061811585910618305,
0.010304373688995838,
0.027644135057926178,
-0.09052009880542755,
-0.01150857750326395,
-0.007609232794493437,
0.04439388960599899,
-0.024559928104281425,
-0.022719917818903923,
0.029572566971182823,
-0.03856407850980759,
0.022684665396809578,
-0.00046547676902264357,
0.03403303772211075,
-0.016429578885436058,
-0.0013650268083438277,
0.026483390480279922,
-0.004299165215343237,
-0.02785593457520008,
0.0047423648647964,
0.015679022297263145,
-0.027159320190548897,
0.04702482372522354,
-0.03246036916971207,
0.0406109020113945,
0.009694237262010574,
0.013808946125209332,
-0.042180951684713364,
0.08246537297964096,
-0.028649501502513885,
-0.024446172639727592,
-0.01334202941507101,
-0.051400620490312576,
0.004878613166511059,
-0.01840963587164879,
0.00873363297432661,
0.015036791563034058,
-0.0030115609988570213,
-0.0034631083253771067,
-0.005462267901748419,
-0.00922086089849472,
-0.017116380855441093,
0.0007533933385275304,
-0.006102605257183313,
0.07726629078388214,
0.017561761662364006,
-0.006631411146372557,
-0.01743254065513611,
-0.03457661345601082,
0.03277907893061638,
-0.00852086953818798,
0.03966974467039108,
-0.024552179500460625,
-0.01656620018184185,
0.0263289175927639,
-0.02164437063038349,
0.038014255464076996,
-0.032633259892463684,
0.03890218213200569,
0.01701575145125389,
0.02264927327632904,
-0.002791165839880705,
0.03130915015935898,
-0.051811784505844116,
-0.030215376988053322,
0.048978984355926514,
-0.01214103028178215,
-0.016438324004411697,
0.025041576474905014,
0.042803872376680374,
0.011692464351654053,
0.0025154894683510065,
0.08699456602334976,
-0.0069208950735628605,
0.035597946494817734,
0.04133050888776779,
0.013766191899776459,
-0.003922603093087673,
0.013405704870820045,
0.010615403763949871,
-0.0014952373458072543,
0.012266146950423717,
0.03281427547335625,
-0.01916131190955639,
-0.007118869572877884,
-0.0009020579745993018,
0.03212472051382065,
-0.04794470965862274,
-0.0047671194188296795,
-0.013953055255115032,
-0.0036676449235528708,
-0.006639410741627216,
0.0389837920665741,
0.021040478721261024,
-0.020568260923027992,
-0.004819168709218502,
0.021051913499832153,
0.008931839838624,
-0.01611175760626793,
-0.0006370487390086055,
0.007502202410250902,
0.026734832674264908,
0.025938866659998894,
0.016663629561662674,
-0.003364269621670246,
0.014879935421049595,
-0.021520735695958138,
-0.02098199725151062,
0.01693783700466156,
0.024711713194847107,
-0.014871195890009403,
0.008137092925608158,
0.00972089171409607,
0.02831248939037323,
-0.03375740721821785,
-0.015855466946959496,
0.05865339934825897,
0.037336017936468124,
0.012430896982550621,
-0.008263847790658474,
-0.043020155280828476,
0.02751230262219906,
-0.0314202681183815,
-0.03512566164135933,
-0.010850708931684494,
-0.0007215742953121662,
-0.035270508378744125,
0.012971035204827785,
0.011043698526918888,
0.018903331831097603,
0.03067232295870781,
0.0004034421290270984,
-0.02306298539042473,
0.01313923392444849,
0.015136674977838993,
0.0390266478061676,
-0.008536241948604584,
-0.019570263102650642,
0.007491180207580328,
-0.004330770578235388,
0.029361678287386894,
0.0046379840932786465,
-0.0035148703027516603,
0.0008872748003341258,
0.028042763471603394,
0.04079281911253929,
0.035296276211738586,
0.026447094976902008,
0.0014054803177714348,
-0.03284691274166107,
0.014851306565105915,
0.0011098349932581186,
-0.009174174629151821,
0.06442958116531372,
-0.026874534785747528,
-0.03568904846906662,
-0.007800411432981491,
0.004576139617711306,
-0.0090025644749403,
0.01005840115249157,
-0.01863081380724907,
0.01243304181843996,
0.03633635491132736,
0.016274409368634224,
0.002888693939894438,
-0.02733396738767624,
0.022043395787477493,
0.01579587534070015,
-0.05283460021018982,
0.04799486696720123,
-0.016106437891721725,
-0.022251645103096962,
-0.028908628970384598,
-0.0023575942032039165,
-0.0007039203192107379,
-0.0028572340961545706,
-0.06418252736330032,
0.007608969230204821,
0.035858068615198135,
-0.04356321319937706,
-0.012199983932077885,
0.0323171503841877,
0.033859167248010635,
-0.029254082590341568,
-0.004425172694027424,
0.04147467762231827,
-0.019619755446910858,
-0.0017531111370772123,
-0.009427033364772797,
0.011499583721160889,
-0.033939212560653687,
0.012617683969438076,
0.049293581396341324,
0.024613473564386368,
0.028231266885995865,
0.01901487074792385,
-0.013375943526625633,
0.02001206949353218,
0.017826851457357407,
-0.015661343932151794,
-0.002244565635919571,
-0.0102186668664217,
-0.03604086488485336,
0.009759664535522461,
0.03647663816809654,
-0.05427832901477814,
0.017375415191054344,
-0.06530674546957016,
0.02872137911617756,
0.02281489036977291,
0.053498491644859314,
0.010004318319261074,
0.00949419941753149,
-0.012259800918400288,
-0.007906746119260788,
-0.03059796243906021,
-0.017131414264440536,
0.018228299915790558,
-0.01659754291176796,
-0.014408726245164871,
0.025896921753883362,
-0.028924610465765,
-0.010004322975873947,
0.03818531334400177,
-0.015867797657847404,
-0.04287038370966911,
0.03723254054784775,
0.03607624024152756,
-0.006599153857678175,
-0.010413962416350842,
-0.02404944784939289,
-0.01654536835849285,
0.06014855206012726,
-0.04174776002764702,
0.03426450863480568,
0.03185420110821724,
0.05046709626913071,
0.019444730132818222,
0.04765178635716438,
-0.031176848337054253,
-0.0004664782900363207,
-0.03147876635193825,
0.012854035943746567,
-0.015981391072273254,
-0.002877746010199189,
0.03446497023105621,
-0.018308361992239952,
-0.0822129026055336,
0.009889911860227585,
0.02141646109521389,
-0.021769827231764793,
0.016490528360009193,
-0.04338919371366501,
0.008255528286099434,
-0.020387355238199234,
-0.03208385780453682,
0.0475873164832592,
0.054471299052238464,
0.038311075419187546,
0.03272109851241112,
-0.03948814794421196,
-0.009504483081400394,
0.031672071665525436,
-0.024247603490948677,
-0.07427717745304108,
0.00775186438113451,
-0.004816736560314894,
-0.04538111761212349,
0.0130800511687994,
-0.0803387388586998,
-0.01978997141122818,
0.0046344781294465065,
0.018194017931818962,
0.07594845443964005,
0.03224639967083931,
-0.005120538175106049,
-0.0007552432361990213,
-0.07197370380163193,
-0.009325709193944931,
0.01767103374004364,
0.02797311544418335,
-0.03723582252860069,
-0.014447209425270557,
0.003157230094075203,
0.024220919236540794,
0.011778285726904869,
0.021107500419020653,
-0.010906483046710491,
0.015013633295893669,
0.02836379036307335,
0.028683260083198547,
-0.016768168658018112,
0.01602320745587349,
-0.02054816111922264,
0.022579563781619072,
-0.027687273919582367,
-0.026065532118082047,
-0.054849956184625626,
0.01563810184597969,
-0.030766310170292854,
0.011659378185868263,
-0.015887189656496048,
-0.01918700709939003,
0.047396305948495865,
0.016990454867482185,
0.032555148005485535,
-0.01893114112317562,
0.005275866482406855,
-0.014889751560986042,
0.03349872678518295,
-0.009535734541714191,
0.0016323390882462263,
-0.015136917121708393,
0.012486704625189304,
0.030695509165525436,
-0.049058567732572556,
-0.005900232587009668,
0.028365207836031914,
-0.052761904895305634,
0.01705651357769966,
0.02485177293419838,
-0.04159918427467346,
-0.0055681755766272545,
-0.017275692895054817,
-0.0031970697455108166,
0.02016589231789112,
0.017675088718533516,
-0.052698589861392975,
-0.046602871268987656,
-0.014738447032868862,
0.031695421785116196,
0.003909035120159388,
-0.016664939001202583,
-0.026089271530508995,
-0.00845257192850113,
-0.021224595606327057,
0.009897539392113686,
0.005219369661062956,
-0.016623008996248245,
0.0262956190854311,
0.0048842718824744225,
-0.05930650979280472,
-0.008123772218823433,
-0.048211295157670975,
0.03949284180998802,
0.08185546845197678,
-0.005522474180907011,
0.01942206174135208,
0.021543631330132484,
0.04855703189969063,
-0.05422490835189819,
-0.0061311800964176655,
0.03930320218205452,
0.03886514529585838,
0.027673449367284775,
-0.009971349500119686,
0.020139606669545174,
-0.005650054197758436,
-0.01910887472331524,
0.011962352320551872,
-0.019751617684960365,
-0.000042390871385578066,
0.03405667841434479,
0.05113358423113823,
0.031573329120874405,
-0.02022743970155716,
0.018917454406619072,
-0.03186038136482239,
-0.007844895124435425,
-0.062000688165426254,
-0.018591659143567085,
-0.02221587300300598,
-0.00035981120890937746,
-0.008702204562723637,
0.0002809074358083308,
-0.0013893893919885159,
-0.0032786596566438675,
0.019203854724764824,
-0.009053614921867847,
0.02625328302383423,
-0.044983118772506714,
-0.023879345506429672,
-0.025835581123828888,
0.0006461137672886252,
0.00910013634711504,
-0.009514536708593369,
-0.006973866373300552,
0.01570071280002594,
-0.029661325737833977,
-0.041127678006887436,
-0.0007973582833074033,
0.008292662911117077,
-0.010588732548058033,
0.008212852291762829,
-0.022782381623983383,
-0.004468793049454689,
-0.04189154878258705,
-0.004320189356803894,
-0.015386514365673065,
0.044616177678108215,
-0.052029237151145935,
0.03261909261345863,
0.0032369669061154127,
-0.03797070309519768,
0.00494534382596612,
0.016963861882686615,
0.02649151347577572,
-0.00757569307461381,
-0.012618646956980228,
0.037702955305576324,
0.015543893910944462,
-0.007470620330423117,
0.03296392410993576,
0.007517317775636911,
0.006657711695879698,
0.01936846785247326,
-0.0014861704548820853,
0.031400542706251144,
-0.039408132433891296,
-0.021728720515966415,
0.011817374266684055,
0.07746231555938721,
-0.014036833308637142,
-0.007898128591477871,
-0.00829134602099657,
0.027398977428674698,
0.03616625443100929,
0.04609118402004242,
-0.03036297857761383,
0.03491863235831261,
0.020062658935785294,
-0.00907013937830925,
-0.03650742396712303,
0.01633194275200367,
-0.01259088795632124,
-0.009876224212348461,
-0.008917810395359993,
0.02384902536869049,
-0.01193078514188528,
0.01347994152456522,
0.02321157418191433,
0.00848427228629589,
-0.01432865858078003,
0.012387380935251713,
0.011045939289033413,
0.0364203117787838,
0.021154575049877167,
-0.019089115783572197,
-0.05186183378100395,
-0.024985328316688538,
0.0022371711675077677,
0.041661038994789124,
-0.033336199820041656,
-0.006663965526968241,
0.01897202432155609,
0.001964451279491186,
0.03241493180394173,
-0.0736706405878067,
0.05446457490324974,
0.018406784161925316,
0.0340145081281662,
0.0408574678003788,
-0.005435690749436617
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Some ground-truths are ignored in some benchmarking datasets Some datasets sometimes use special labels that are ignored during the evaluation process. COCO, for instance, uses the tag `iscrowd` to label large groups of objects (e.g. many apples in a basket). During evaluation, objects tagged as `iscrowd=1` are ignored. If this is not taken into consideration, you may obtain different results. | [
0.02423742786049843,
-0.041595011949539185,
-0.06660477072000504,
0.0729011669754982,
0.0027974231634289026,
0.0024119820445775986,
-0.009653610177338123,
0.044508203864097595,
-0.06465975940227509,
0.032355859875679016,
-0.024207694455981255,
-0.0026330817490816116,
-0.055680468678474426,
-0.007907356135547161,
0.03313197195529938,
0.03257816657423973,
0.05561657249927521,
0.017797429114580154,
-0.03172500431537628,
0.028353312984108925,
-0.006921528372913599,
-0.014049071818590164,
0.0373467393219471,
-0.05528270825743675,
-0.022335583344101906,
0.0047705392353236675,
0.02534707449376583,
-0.019816450774669647,
-0.0669054239988327,
0.07554686814546585,
-0.07724080979824066,
0.04854730889201164,
0.07635612040758133,
0.06257645785808563,
-0.03183039650321007,
-0.010005106218159199,
-0.07920775562524796,
0.08778266608715057,
-0.023657524958252907,
-0.08935105800628662,
0.0076850224286317825,
-0.052863381803035736,
-0.06393942981958389,
0.03179138898849487,
0.04885884374380112,
0.019512133672833443,
-0.12458863854408264,
0.050805166363716125,
-0.017381606623530388,
0.003828564891591668,
-0.10083388537168503,
0.009891324676573277,
0.0060830689035356045,
-0.011142239905893803,
0.045932263135910034,
-0.022265784442424774,
-0.054177895188331604,
-0.03882591798901558,
0.038062237203121185,
-0.0025595142506062984,
0.05803919583559036,
-0.07609730213880539,
0.042149391025304794,
-0.012726826593279839,
-0.0024741659872233868,
0.01750755123794079,
-0.012985464185476303,
0.012365329079329967,
-0.011148401536047459,
0.03494811803102493,
-0.0291436854749918,
-0.03296034783124924,
-0.006353356875479221,
0.006439166143536568,
0.01672111451625824,
0.001138055115006864,
-0.005256670992821455,
0.06220881640911102,
0.026424365118145943,
0.047110363841056824,
-0.012094195932149887,
0.01620684750378132,
0.030584219843149185,
0.021160293370485306,
-0.021125007420778275,
0.00024987844517454505,
0.03430583328008652,
-0.061871934682130814,
-0.07284349203109741,
0.0868944451212883,
0.022270074114203453,
-0.0699898973107338,
0.025295833125710487,
0.03244641050696373,
-0.01759611815214157,
-0.07266619801521301,
0.042694736272096634,
0.029327068477869034,
-0.0029244977049529552,
0.05225147306919098,
-0.05167814716696739,
0.029870744794607162,
0.09764300286769867,
-0.025283943861722946,
-0.045218534767627716,
-0.007439189124852419,
-0.046386536210775375,
-0.04608384892344475,
-0.028511956334114075,
0.06565288454294205,
-0.035462357103824615,
-0.003099657129496336,
0.014138598926365376,
0.009754737839102745,
-0.023835493251681328,
0.0013069316046312451,
-0.020529983565211296,
-0.007500062696635723,
0.011984935030341148,
-0.0057027265429496765,
-0.011033422313630581,
0.09479140490293503,
0.055012043565511703,
0.03607723489403725,
-0.048352111130952835,
0.0052508204244077206,
0.07008982449769974,
0.08373317867517471,
0.004259796813130379,
-0.05166555941104889,
-0.0071730599738657475,
-0.022501356899738312,
0.030860740691423416,
-0.017766373232007027,
-0.053397778421640396,
-0.0459219366312027,
0.0036385280545800924,
-0.05302098020911217,
0.00562633341178298,
-0.00836670957505703,
-0.06430575251579285,
-0.05284879729151726,
-0.04896555095911026,
0.020067403092980385,
0.038884520530700684,
-0.02673429623246193,
-0.03172433748841286,
0.013702099211513996,
-0.039681799709796906,
-0.0035882191732525826,
-0.050205279141664505,
0.11979372054338455,
-0.0024471899960190058,
-0.026968766003847122,
0.05713192746043205,
0.10340580344200134,
-0.05968494340777397,
-0.052575305104255676,
-0.11244617402553558,
0.03243740275502205,
0.004718237090855837,
0.036591194570064545,
0.0016996660269796848,
-0.03481553867459297,
0.06627118587493896,
0.029664747416973114,
-0.055304862558841705,
0.004664658103138208,
-0.0571591779589653,
-0.004309028387069702,
-0.009667400270700455,
-0.11884807050228119,
0.054274700582027435,
-0.07714846730232239,
-0.07090210914611816,
0.010612765327095985,
0.00681835925206542,
-0.028285764157772064,
0.013620889745652676,
0.05694285035133362,
-0.01776641421020031,
-0.05237686261534691,
0.009806299582123756,
0.07658503949642181,
0.012200908735394478,
-0.04451877251267433,
0.041130151599645615,
-0.0412246510386467,
-0.0047949873842298985,
0.04455387964844704,
-0.1260489821434021,
0.08113504946231842,
0.05398999899625778,
-0.09391428530216217,
0.0014121778076514602,
-0.09672799706459045,
-0.016630487516522408,
0.08443209528923035,
0.032368287444114685,
-0.024969859048724174,
0.006006231531500816,
0.022824900224804878,
0.023332243785262108,
-0.09911903738975525,
-0.035611361265182495,
0.00438416562974453,
-0.021352386102080345,
-0.0754990503191948,
-0.004094091709703207,
0.00032473038299940526,
0.015953850001096725,
-0.05530687794089317,
0.042543232440948486,
0.0028086069505661726,
-0.05746150389313698,
-0.01445272471755743,
0.014914807863533497,
0.01294905785471201,
-0.001921467250213027,
-0.05370568484067917,
0.07702591270208359,
0.016993951052427292,
0.013979829847812653,
-0.03069891221821308,
-0.06855037063360214,
0.06041153147816658,
0.054340261965990067,
0.05038965865969658,
0.0709194764494896,
-0.08757573366165161,
0.00794206839054823,
-0.019698208197951317,
0.07639016211032867,
0.09312458336353302,
-0.06603974848985672,
-0.02552485093474388,
-0.008606845512986183,
-0.0026954985223710537,
-0.02437637187540531,
-0.009255949407815933,
-0.04539881646633148,
-0.03846278414130211,
-0.06483961641788483,
0.07029470056295395,
0.005395223386585712,
-0.019398042932152748,
0.08629083633422852,
-0.04801752045750618,
-0.12111201137304306,
-0.046685151755809784,
-0.04291536659002304,
0.028881099075078964,
0.016191979870200157,
-0.008926678448915482,
-0.01563270017504692,
-0.018237903714179993,
-0.012980110011994839,
-0.05628339573740959,
-0.04838194698095322,
-0.002627088688313961,
0.0029661471489816904,
-0.03939267247915268,
-0.037422459572553635,
-0.03836510330438614,
-0.010668620467185974,
-0.0610184445977211,
0.05210578069090843,
-0.00122978282161057,
-0.010254651308059692,
-0.013444719836115837,
-0.04690001904964447,
-0.011473988182842731,
0.016511788591742516,
-0.03240889683365822,
-0.02190781943500042,
-0.002208821941167116,
-0.012459386140108109,
-0.04150041937828064,
-0.0010213857749477029,
-0.024163026362657547,
-0.03723995387554169,
-0.04742305725812912,
-0.003892588661983609,
0.0223463736474514,
0.0008789243292994797,
0.010480419732630253,
0.010520774871110916,
0.004292187746614218,
-0.003585593309253454,
-0.007320098578929901,
0.042799029499292374,
0.02792852558195591,
-0.013957170769572258,
-0.06615407764911652,
0.040053702890872955,
0.019175654277205467,
0.013670097105205059,
0.02798491157591343,
-0.020253557711839676,
0.019991740584373474,
-0.013485163450241089,
0.03978697583079338,
-0.022899527102708817,
-0.010590247809886932,
-0.022795898839831352,
0.020334720611572266,
0.007499087601900101,
0.04755773767828941,
-0.09716302901506424,
-0.010254602879285812,
0.012577248737215996,
0.025855356827378273,
-0.03985182195901871,
-0.04757894203066826,
0.03205674886703491,
0.029837265610694885,
0.011036493815481663,
0.0201089046895504,
0.01141877006739378,
-0.02462460659444332,
0.021209822967648506,
0.024184076115489006,
0.04500111564993858,
-0.02136809751391411,
-0.00011155316315125674,
0.025616127997636795,
-0.0015302365645766258,
0.04510791227221489,
-0.013538350351154804,
0.02760555036365986,
-0.022251345217227936,
0.0005023069097660482,
-0.09192031621932983,
0.07244213670492172,
0.05383121594786644,
0.04299522191286087,
0.02778155356645584,
-0.04796993359923363,
-0.0183176938444376,
0.007227031979709864,
-0.012191812507808208,
-0.016357265412807465,
-0.014854229986667633,
-0.011011073365807533,
-0.021209686994552612,
0.014352039434015751,
-0.035866983234882355,
0.0366678312420845,
-0.0267611276358366,
0.03366098552942276,
0.02940155752003193,
0.004614152945578098,
0.017307566478848457,
0.0105856629088521,
-0.028229201212525368,
-0.028159910812973976,
0.034874897450208664,
-0.0609184093773365,
-0.023315412923693657,
-0.03714470565319061,
0.04458653926849365,
0.03953424468636513,
-0.030157998204231262,
-0.04264087229967117,
0.0021292248275130987,
-0.017062168568372726,
0.01116753276437521,
0.0022806620690971613,
-0.015147088095545769,
0.044313330203294754,
0.017637718468904495,
-0.0009923020843416452,
-0.03714539110660553,
0.03781625255942345,
0.03235286474227905,
0.03842133656144142,
-0.02606363408267498,
0.012580502778291702,
0.045245200395584106,
0.036217596381902695,
0.03399345651268959,
0.0075286757200956345,
-0.002570273820310831,
0.007152304518967867,
0.008715921081602573,
-0.06440946459770203,
0.04076525196433067,
0.047617897391319275,
0.0009179709595628083,
-0.002776806941255927,
-0.011943724937736988,
-0.017743483185768127,
-0.014109466224908829,
-0.010303297080099583,
0.025141917169094086,
0.02261226624250412,
-0.01569121517241001,
0.033267419785261154,
0.030725765973329544,
0.03437502682209015,
0.0021689077839255333,
-0.004988440312445164,
0.015678053721785545,
0.004185795318335295,
0.03858434036374092,
-0.0004805763019248843,
-0.00491441460326314,
0.037117429077625275,
-0.005830993875861168,
-0.019843241199851036,
0.030576372519135475,
0.00582620594650507,
0.01874338462948799,
0.02382287010550499,
-0.0450172983109951,
-0.016246160492300987,
0.010043173097074032,
0.007120932452380657,
0.018869278952479362,
-0.028930963948369026,
0.002194818574935198,
-0.03723371401429176,
0.020665572956204414,
0.02980109490454197,
0.018637748435139656,
0.0250716470181942,
0.0010295758256688714,
0.03474455699324608,
0.021077532321214676,
0.019328951835632324,
-0.009992461651563644,
-0.005034431349486113,
0.0055033424869179726,
-0.004497039597481489,
-0.012737264856696129,
-0.020823311060667038,
0.04060288518667221,
-0.01582423783838749,
-0.04192701354622841,
-0.006476295180618763,
0.08245031535625458,
-0.021431097760796547,
0.01327292900532484,
0.010289644822478294,
-0.0426044687628746,
-0.010779343545436859,
0.024059223011136055,
-0.03865690529346466,
0.020056813955307007,
0.03323955461382866,
0.04455083608627319,
0.010650143027305603,
0.04096434265375137,
0.014332981780171394,
0.027691004797816277,
0.02734030783176422,
-0.0056441780179739,
0.02451528050005436,
0.0761413425207138,
0.021941695362329483,
-0.01771286502480507,
0.04587860777974129,
0.023875175043940544,
-0.018855752423405647,
0.02910006046295166,
0.011803136207163334,
-0.012550625018775463,
0.024616265669465065,
-0.02105822041630745,
-0.012464771047234535,
-0.01672838255763054,
0.025783957913517952,
-0.017804069444537163,
-0.002573729958385229,
0.03511163592338562,
0.01647593453526497,
-0.018245892599225044,
-0.005567518062889576,
0.006698004435747862,
-0.03158033639192581,
-0.03680235147476196,
-0.00931765977293253,
0.005811539012938738,
-0.015389401465654373,
0.032768964767456055,
0.01255055796355009,
-0.01140079740434885,
0.03331534564495087,
-0.018499629572033882,
-0.019321804866194725,
0.02889931946992874,
0.018074726685881615,
0.05439320206642151,
0.027562258765101433,
-0.005137297790497541,
0.06725744903087616,
0.030398981645703316,
0.03800022602081299,
0.01875275932252407,
-0.018813032656908035,
0.024228136986494064,
-0.012313473969697952,
0.0017971163615584373,
-0.004284652881324291,
0.04592735692858696,
-0.00598518829792738,
-0.022942371666431427,
-0.026751182973384857,
0.0425240732729435,
0.04035394638776779,
-0.013407252728939056,
0.008644988760352135,
-0.018281228840351105,
-0.0004453889559954405,
-0.04786254093050957,
-0.0008131915819831192,
0.006963071413338184,
-0.04606581851840019,
-0.024214942008256912,
-0.05302433669567108,
-0.06401154398918152,
0.014766055159270763,
0.011676299385726452,
-0.004997447598725557,
-0.04892522469162941,
0.023372841998934746,
0.001068098354153335,
0.04609042406082153,
-0.01818293146789074,
0.05411272123456001,
0.030862512066960335,
0.017773622646927834,
0.01141112856566906,
-0.01867666468024254,
0.005358895752578974,
-0.004915195517241955,
0.023239009082317352,
0.04475565627217293,
-0.057116683572530746,
0.019084416329860687,
0.02029276452958584,
0.0272400863468647,
-0.02934481017291546,
-0.0008958012913353741,
0.019264312461018562,
-0.0007475485326722264,
0.028226803988218307,
-0.0278764758259058,
-0.04183274880051613,
-0.012294583022594452,
-0.03233359381556511,
0.041738804429769516,
-0.03189920634031296,
-0.004806347191333771,
0.03070814721286297,
0.005537704564630985,
-0.008146468549966812,
0.001360335387289524,
0.017338957637548447,
0.008120629005134106,
0.010472076945006847,
0.07655485719442368,
0.04746556282043457,
0.02300490438938141,
0.008854569867253304,
-0.006344833876937628,
-0.03502427041530609,
0.02724871039390564,
0.020592842251062393,
0.026607628911733627,
0.02363182231783867,
0.04421903192996979,
-0.037415746599435806,
0.06316176056861877,
0.04051375761628151,
-0.039517808705568314,
0.008848416619002819,
0.032245464622974396,
0.017558250576257706,
0.006201339419931173,
0.016386866569519043,
0.030963169410824776,
0.02093937061727047,
-0.04185435548424721,
-0.034982386976480484,
0.01676328480243683,
0.01709114760160446,
0.0007450802368111908,
0.02047574147582054,
0.07293213158845901,
0.05464394763112068,
-0.0011631515808403492,
-0.00240577501244843,
-0.023119041696190834,
0.0511612705886364,
0.037492405623197556,
-0.006490021012723446,
0.014289584010839462,
-0.00895771011710167,
0.02900858037173748,
-0.018689928576350212,
0.010264554992318153,
0.04121185094118118,
0.019228728488087654,
0.04844338074326515,
-0.004274393897503614,
0.01051879022270441,
-0.05398685857653618,
0.006624083034694195,
-0.0099040437489748,
0.006072536110877991,
-0.0029042200185358524,
-0.01146765984594822,
-0.045620836317539215,
0.007133365608751774,
-0.017021285369992256,
0.018241221085190773,
-0.01003932673484087,
0.011330695822834969,
0.04313761740922928,
0.005123027600347996,
-0.010958743281662464,
-0.018978912383317947,
0.01101311668753624,
-0.01666312664747238,
0.00762787414714694,
-0.0006091324030421674,
-0.007991417311131954,
0.0678357407450676,
-0.006402274593710899,
-0.00024636343005113304,
0.011237679980695248,
-0.07355023175477982,
-0.025300314649939537,
0.0031422621104866266,
-0.009087852202355862,
-0.0337022989988327,
0.025801530107855797,
-0.012398057617247105,
-0.008349469862878323,
0.002465374069288373,
-0.04626176133751869,
-0.004040429834276438,
-0.011554216966032982,
-0.008979231119155884,
0.05309275910258293,
-0.04165635257959366,
-0.019191958010196686,
0.0013297409750521183,
-0.04433697462081909,
0.03332246467471123,
0.01760832406580448,
0.01940678246319294,
-0.0004969739238731563,
0.018990330398082733,
-0.007652792613953352,
-0.021334176883101463,
0.021468687802553177,
0.007306533399969339,
0.029624195769429207,
-0.014197024516761303,
0.010462179780006409,
-0.023177148774266243,
-0.0332128070294857,
-0.02245611697435379,
-0.05108950659632683,
-0.0419469028711319,
0.011305473744869232,
0.011007589288055897,
0.026644792407751083,
0.024402577430009842,
0.03895635902881622,
-0.020466407760977745,
-0.014496893621981144,
0.01751583442091942,
0.001099704299122095,
0.026138488203287125,
0.008514215238392353,
-0.03640545904636383,
-0.0005620934534817934,
-0.004928444512188435,
0.019109977409243584,
-0.0025796829722821712,
0.02223900333046913,
0.04168587550520897,
0.010559611953794956,
-0.010684958659112453,
-0.030395692214369774,
0.02433387190103531,
0.028197163715958595,
0.05303100869059563,
0.014553769491612911,
0.03396551311016083,
0.025125620886683464,
-0.026513056829571724,
0.04228680208325386,
-0.023386741057038307,
0.049965206533670425,
-0.02317093499004841,
0.014967797324061394,
-0.029905889183282852,
0.0018284206744283438,
-0.019570201635360718,
0.025161007419228554,
-0.02280491404235363,
0.02363204024732113,
0.014842398464679718,
-0.042157042771577835,
-0.017679262906312943,
-0.0517907440662384,
0.05084753781557083,
0.02460181713104248,
0.027155043557286263,
0.042338065803050995,
0.001234375056810677,
0.010667836293578148,
-0.024101417511701584,
-0.0067407614551484585,
0.03097287006676197,
-0.041893333196640015,
-0.02086346596479416,
-0.01684175804257393,
0.016863536089658737,
-0.03090379759669304,
-0.03640938922762871,
0.00614490732550621,
0.021884344518184662,
0.05971308425068855,
-0.0021922977175563574,
-0.006939041893929243,
0.047720953822135925,
0.03327149897813797,
0.02413245476782322,
0.0073508089408278465,
0.0335858017206192,
0.0025967475958168507,
-0.04443551227450371,
-0.022789105772972107,
0.029641613364219666,
-0.009506643749773502,
0.016258692368865013,
0.02430087886750698,
0.035931553691625595,
0.0021700081415474415,
0.03792109340429306,
-0.00794781930744648,
0.018569767475128174,
-0.007919801399111748,
-0.022449996322393417,
-0.00005447927469504066,
0.0033085988834500313,
-0.035797249525785446,
-0.024825025349855423,
-0.0032171281054615974,
0.05858633667230606,
0.02107548899948597,
-0.03253954276442528,
0.013149493373930454,
0.031821366399526596,
0.024225173518061638,
-0.02770702913403511,
-0.017260698601603508,
-0.008582031354308128,
-0.005916011985391378,
0.029820401221513748,
0.00763555895537138,
-0.024751577526330948,
0.025664296001195908
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | What are the variants of Average Precision and Average Recall? Based on predefined IoU thresholds and the areas associated with ground-truth objects, different versions of AP and AR can be obtained: * **AP@.5**: sets IoU threshold = 0.5 and computes the Precision x Recall AUC for each target class in the image dataset. Then, the computed results for each class are summed up and divided by the number of classes. * **AP@.75**: uses the same methodology as AP@.50, with IoU threshold = 0.75. With this higher IoU requirement, AP@.75 is considered stricter than AP@.5 and should be used to evaluate models that need to achieve a high level of localization accuracy in their detections. * **AP@[.5:.05:.95]**: also referred to AP by cocoeval tools. This is an expanded version of AP@.5 and AP@.75, as it computes AP@ with different IoU thresholds (0.5, 0.55, 0.6,...,0.95) and averages the computed results as shown in the following equation. In comparison to AP@.5 and AP@.75, this metric provides a holistic evaluation, capturing a model’s performance across a broader range of localization accuracies. <p style="text-align: center;"> \\( \text{AP@[.5:.05:0.95} = \frac{\text{AP}_{0.5} + \text{AP}_{0.55} + ... + \text{AP}_{0.95}}{10} \\) </p> * **AP-S**: It applies AP@[.5:.05:.95] considering (small) ground-truth objects with \\( \text{area} < 32^2 \\) pixels. * **AP-M**: It applies AP@[.5:.05:.95] considering (medium-sized) ground-truth objects with \\( 32^2 < \text{area} < 96^2 \\) pixels. * **AP-L**: It applies AP@[.5:.05:.95] considering (large) ground-truth objects with \\( 32^2 < \text{area} < 96^2\\) pixels. For Average Recall (AR), 10 IoU thresholds (0.5, 0.55, 0.6,...,0.95) are used to compute the Recall values. AR is computed by either limiting the number of detections per image or by limiting the detections based on the object's area. * **AR-1**: considers up to 1 detection per image. * **AR-10**: considers up to 10 detections per image. * **AR-100**: considers up to 100 detections per image. * **AR-S**: considers (small) objects with \\( \text{area} < 32^2 \\) pixels. * **AR-M**: considers (medium-sized) objects with \\( 32^2 < \text{area} < 96^2 \\) pixels. * **AR-L**: considers (large) objects with \\( \text{area} > 96^2 \\) pixels. | [
-0.038581524044275284,
0.014086547307670116,
0.0006951731629669666,
-0.010184094309806824,
0.046231500804424286,
-0.006872251164168119,
0.015609501861035824,
0.028401784598827362,
-0.07041536271572113,
-0.01597500778734684,
-0.057475291192531586,
0.022698700428009033,
-0.020070413127541542,
-0.0564243420958519,
0.07456677407026291,
0.06597961485385895,
0.023030400276184082,
0.021627770736813545,
0.0173123050481081,
0.006737059913575649,
-0.08370717614889145,
-0.03313429281115532,
0.014868075959384441,
-0.019419455900788307,
-0.01585194282233715,
-0.050144195556640625,
0.068264439702034,
0.006545079872012138,
-0.04053918272256851,
-0.028156278654932976,
-0.10926548391580582,
0.03135797008872032,
0.009869961999356747,
-0.07765591144561768,
0.02167840674519539,
-0.02030213363468647,
-0.05053935572504997,
0.0818742886185646,
0.04097823426127434,
-0.04806659370660782,
0.050656743347644806,
-0.054669272154569626,
0.021336913108825684,
-0.055502597242593765,
-0.01120404340326786,
-0.027439268305897713,
-0.07641450315713882,
0.03258838504552841,
-0.04371684044599533,
-0.03472570702433586,
-0.034354519098997116,
0.07341048866510391,
-0.04770530015230179,
0.025461610406637192,
-0.02570478990674019,
-0.029381243512034416,
0.02402057684957981,
-0.0723295733332634,
0.09624577313661575,
0.03413885831832886,
0.011497595347464085,
-0.00499494094401598,
0.031517285853624344,
0.05751989781856537,
0.033171676099300385,
-0.028377272188663483,
-0.005679302848875523,
0.021803254261612892,
-0.0028693494386970997,
-0.0008989964262582362,
0.02095841057598591,
0.0004633426433429122,
0.06955183297395706,
-0.02238103561103344,
-0.08281810581684113,
-0.023223552852869034,
-0.008801454678177834,
-0.011402871459722519,
0.0020377628970891237,
-0.009177868254482746,
0.0005464998539537191,
-0.0504104420542717,
0.070099376142025,
-0.03671584650874138,
-0.04760240390896797,
0.017827283591032028,
-0.04145968705415726,
-0.061051152646541595,
-0.039980001747608185,
-0.034414809197187424,
-0.0254256259649992,
-0.12515823543071747,
0.0210197065025568,
0.09898944199085236,
0.017475580796599388,
-0.059535104781389236,
-0.014438842423260212,
0.0013083135709166527,
0.054768409579992294,
0.007963616400957108,
-0.04872014746069908,
0.05907600000500679,
0.10128867626190186,
-0.05295191705226898,
-0.060473933815956116,
0.02973361499607563,
-0.030766496434807777,
-0.12451744824647903,
-0.03888814151287079,
0.018288780003786087,
-0.045334141701459885,
0.016200533136725426,
0.07667896151542664,
0.03002014197409153,
-0.063510462641716,
-0.07287059724330902,
0.004817747976630926,
0.015086819417774677,
0.023474538698792458,
-0.013514316640794277,
-0.007701295893639326,
0.10241047292947769,
0.1011473536491394,
-0.03704528510570526,
-0.003933096770197153,
0.03114362806081772,
0.055976469069719315,
0.030011601746082306,
-0.04998738691210747,
0.011487266980111599,
0.008157341741025448,
-0.04954850301146507,
-0.026878418400883675,
-0.043409593403339386,
-0.001827986678108573,
-0.0034540239721536636,
0.014331764541566372,
0.010027089156210423,
0.021098848432302475,
-0.06005236133933067,
-0.07061802595853806,
-0.03791061416268349,
0.010175908915698528,
0.07147828489542007,
-0.02352442406117916,
-0.03565533086657524,
-0.07286670804023743,
0.04841247573494911,
0.008705299347639084,
0.021591810509562492,
-0.0681183934211731,
0.0768338292837143,
-0.021415406838059425,
-0.021297357976436615,
0.005541002843528986,
0.01761244237422943,
0.041446834802627563,
-0.047651004046201706,
-0.06783077120780945,
-0.0015376481460407376,
0.00793023407459259,
0.015071616508066654,
0.0017458618385717273,
-0.003944422118365765,
0.014112189412117004,
0.015476664528250694,
0.017864655703306198,
0.053634583950042725,
0.014671429060399532,
0.020038269460201263,
0.033244140446186066,
-0.08907943964004517,
0.08132859319448471,
0.0337725430727005,
-0.11562180519104004,
0.015893206000328064,
0.027678227052092552,
0.05428452417254448,
0.016835525631904602,
0.03438977152109146,
-0.004514628555625677,
0.027975130826234818,
-0.061081595718860626,
-0.006125090178102255,
-0.045365240424871445,
-0.12335661053657532,
0.11192852258682251,
-0.02095179073512554,
0.0066818795166909695,
0.07007765769958496,
-0.06483621150255203,
-0.044358063489198685,
0.04890436306595802,
-0.033839769661426544,
-0.012451536022126675,
-0.09803464263677597,
-0.010689285583794117,
0.10503660887479782,
0.06352663040161133,
-0.006368395872414112,
-0.009403081610798836,
-0.025737125426530838,
0.06727153807878494,
-0.03880622982978821,
-0.05115653574466705,
-0.03768302500247955,
0.035469863563776016,
-0.025112980976700783,
0.01003740169107914,
0.0899432897567749,
0.0162523053586483,
-0.0815959945321083,
0.017254233360290527,
-0.06923539191484451,
-0.03877020254731178,
0.005091213155537844,
0.019290171563625336,
-0.022750146687030792,
0.05086292698979378,
-0.020018262788653374,
0.08129153400659561,
0.01933511160314083,
-0.020280681550502777,
0.09734310209751129,
-0.12573491036891937,
0.019206034019589424,
0.006622476037591696,
-0.024113470688462257,
0.00021790862956549972,
-0.042551323771476746,
0.01683913543820381,
-0.1232512965798378,
0.04839792102575302,
0.007038586772978306,
-0.0008353752200491726,
-0.03601708263158798,
0.010484588332474232,
0.01705251820385456,
0.009685047902166843,
-0.0049211736768484116,
-0.06297517567873001,
0.007429415360093117,
-0.015770960599184036,
0.04248444363474846,
0.014747939072549343,
-0.00184166943654418,
0.09461570531129837,
-0.024467172101140022,
-0.08058659732341766,
0.003852211870253086,
-0.06735237687826157,
0.02209959365427494,
-0.03486860543489456,
-0.05739019811153412,
-0.02281390130519867,
0.04146665707230568,
0.02236246131360531,
-0.0035626685712486506,
-0.04378211498260498,
-0.0002737270842771977,
-0.018199976533651352,
-0.0025120193604379892,
-0.025232939049601555,
0.025424117222428322,
0.03351416438817978,
-0.05495647341012955,
0.010243372060358524,
0.017150720581412315,
-0.042648572474718094,
0.005151367746293545,
0.0014277080772444606,
0.029199454933404922,
0.026619480922818184,
0.010872355662286282,
0.005016785580664873,
0.022129911929368973,
0.027108533307909966,
-0.03474433720111847,
-0.049622759222984314,
0.010048196651041508,
-0.009585028514266014,
-0.008817430585622787,
0.06983784586191177,
0.03415500745177269,
0.04022499918937683,
-0.022917527705430984,
0.05451849475502968,
-0.0007782056927680969,
-0.05256790295243263,
0.013649193570017815,
-0.024540089070796967,
-0.002437251154333353,
0.0012626864481717348,
0.009018130600452423,
0.022837035357952118,
0.0024333090987056494,
-0.030794471502304077,
0.040731385350227356,
0.002921776147559285,
-0.009698105975985527,
0.0020544184371829033,
0.01812845468521118,
-0.0282966997474432,
-0.021382436156272888,
-0.01608300767838955,
0.028371553868055344,
0.0004390597459860146,
0.05391443893313408,
-0.09615384042263031,
0.004635504446923733,
0.004942854400724173,
0.04110930114984512,
-0.0401705801486969,
-0.020607490092515945,
0.010784224607050419,
0.007505527697503567,
-0.014628793112933636,
0.017006272450089455,
0.040582939982414246,
-0.003085829084739089,
0.024228675290942192,
0.07885300368070602,
0.04204810410737991,
0.02741805464029312,
-0.04266800731420517,
0.0001322507596341893,
0.017392124980688095,
0.03399704396724701,
0.05176340416073799,
0.024915019050240517,
0.02729867398738861,
-0.011302716098725796,
-0.0030381681863218546,
0.00036531631485559046,
-0.013132031075656414,
-0.026895808055996895,
0.037898533046245575,
-0.02671990543603897,
0.01974443718791008,
-0.006639694329351187,
0.020585540682077408,
0.03289945051074028,
-0.023217415437102318,
-0.007928728125989437,
-0.017337216064333916,
-0.0027329304721206427,
-0.028218086808919907,
0.04652273282408714,
0.007812578231096268,
0.03935552015900612,
-0.0007878950564190745,
0.020021455362439156,
0.014834941364824772,
-0.052239567041397095,
0.035850267857313156,
-0.011681132018566132,
0.027086758986115456,
-0.009748179465532303,
-0.018407760187983513,
0.009668242186307907,
0.018376357853412628,
0.02583490125834942,
0.005839560180902481,
-0.007974679581820965,
-0.00036531395744532347,
0.04336145147681236,
-0.018106013536453247,
0.0012739998055621982,
-0.03551282733678818,
0.03814820945262909,
0.034850865602493286,
-0.0035255332477390766,
-0.0217145923525095,
0.04583396017551422,
0.006353778764605522,
0.00432036304846406,
-0.002686532912775874,
0.030257150530815125,
-0.020718606188893318,
0.010609570890665054,
0.006350932642817497,
0.002085958607494831,
-0.03814484179019928,
-0.018900979310274124,
-0.03215958550572395,
-0.02259507216513157,
0.02719748765230179,
0.03938329219818115,
-0.02158455178141594,
0.01693817600607872,
-0.037736717611551285,
0.008990772999823093,
-0.030148930847644806,
-0.010887853801250458,
-0.015181618742644787,
0.02056182362139225,
0.008671551011502743,
0.005979578010737896,
-0.0008211012464016676,
-0.00010919622582150623,
0.015436036512255669,
0.022391974925994873,
-0.032417621463537216,
-0.0008459769887849689,
0.02156509831547737,
-0.020942524075508118,
0.029874946922063828,
-0.003627888858318329,
-0.007583171594887972,
-0.027497341856360435,
0.0395996980369091,
-0.024788137525320053,
0.026686865836381912,
-0.01792733743786812,
0.0055328174494206905,
0.012915266677737236,
-0.007395199034363031,
0.004586014896631241,
0.011062810197472572,
-0.03618117794394493,
0.03583994507789612,
-0.03835320472717285,
0.030795149505138397,
0.020973974838852882,
-0.021882185712456703,
-0.012427747249603271,
-0.04876674711704254,
-0.009172948077321053,
-0.06456964462995529,
0.019206928089261055,
-0.04282591864466667,
0.020540498197078705,
0.018929176032543182,
0.024645138531923294,
-0.02776171825826168,
0.02216910384595394,
-0.021415259689092636,
-0.051656898111104965,
-0.025001632049679756,
-0.009091590531170368,
0.02380443923175335,
0.03468635305762291,
0.02412884682416916,
0.011927199549973011,
-0.014146658591926098,
-0.010054717771708965,
0.02425958216190338,
-0.018999779596924782,
-0.03419642895460129,
0.0039595430716872215,
0.005005690269172192,
0.01723157800734043,
0.022489644587039948,
-0.011654608882963657,
-0.038879476487636566,
0.026064636185765266,
-0.01366064790636301,
0.022718511521816254,
0.02167915180325508,
-0.02069356106221676,
-0.047459524124860764,
-0.015403809025883675,
0.005236421246081591,
-0.015622393228113651,
-0.019054371863603592,
-0.02704913727939129,
0.0029450387228280306,
0.036769215017557144,
0.029357701539993286,
0.02238505892455578,
-0.03896161913871765,
0.024260573089122772,
-0.03228308632969856,
-0.03864986076951027,
0.06436379253864288,
-0.023802941665053368,
-0.011881698854267597,
-0.008208399638533592,
0.0122293122112751,
-0.04257307946681976,
-0.014294260181486607,
-0.0445900596678257,
-0.0334317572414875,
0.012504319660365582,
0.0024573849514126778,
0.00146957254037261,
0.04278045892715454,
0.004476733505725861,
-0.07506399601697922,
-0.003964311443269253,
0.03417028859257698,
-0.009009168483316898,
0.003267046995460987,
0.003967799246311188,
0.03872312605381012,
0.026407696306705475,
0.008319023996591568,
0.03447308391332626,
0.031364522874355316,
0.02987365610897541,
0.027880623936653137,
0.01042314525693655,
0.0049829077906906605,
0.005771541502326727,
0.009850678034126759,
0.020885607227683067,
0.005446459166705608,
0.0013647067826241255,
0.00804744940251112,
0.02811535634100437,
0.018013235181570053,
-0.03651829808950424,
-0.016383057460188866,
0.04460436850786209,
0.029696928337216377,
0.02048473432660103,
-0.02790834568440914,
-0.02872597612440586,
-0.0006058664293959737,
-0.03515080735087395,
-0.046286676079034805,
0.017182055860757828,
0.04362090304493904,
-0.06783249229192734,
-0.03303760290145874,
0.019842645153403282,
-0.012126595713198185,
0.015073277056217194,
0.015280434861779213,
0.006558217108249664,
-0.02629758231341839,
0.008910203352570534,
0.035304684191942215,
-0.007048703730106354,
0.033656202256679535,
-0.01690763048827648,
-0.014774023555219173,
0.061306096613407135,
-0.01637192815542221,
0.03499302640557289,
0.005727169569581747,
-0.0014706236543133855,
0.01994834467768669,
-0.011711287312209606,
-0.06755494326353073,
0.013458924368023872,
0.011190047487616539,
0.031498223543167114,
-0.016611827537417412,
0.019231442362070084,
-0.020059818401932716,
-0.01234536711126566,
-0.020575227215886116,
-0.0012609631521627307,
0.04899713769555092,
-0.021750766783952713,
0.035741694271564484,
0.006923693232238293,
0.00039090169593691826,
0.00020700888126157224,
-0.04419224336743355,
0.014368312433362007,
0.0437149852514267,
0.0319451168179512,
-0.016492541879415512,
-0.014920358546078205,
-0.004172209650278091,
0.04140172898769379,
0.05568600073456764,
-0.024164216592907906,
0.03447413071990013,
0.041961491107940674,
-0.02823825739324093,
-0.005119046196341515,
0.00646786205470562,
-0.004399142228066921,
0.012788262218236923,
0.04527032747864723,
0.03013642318546772,
0.040414296090602875,
0.003649309743195772,
0.05348102003335953,
-0.03912229463458061,
0.033576276153326035,
0.011455932632088661,
0.03687012568116188,
0.027994375675916672,
0.0034479310270398855,
0.03790118172764778,
0.029468253254890442,
0.03951925039291382,
0.014639407396316528,
-0.01408031489700079,
0.027704870328307152,
0.0067880116403102875,
0.054089125245809555,
0.015905626118183136,
0.032781071960926056,
0.01166447252035141,
0.013142408803105354,
-0.013052258640527725,
-0.009832613170146942,
-0.031612735241651535,
0.07402894645929337,
0.0004120072117075324,
0.010981733910739422,
-0.008884592913091183,
-0.04966898262500763,
0.02891356870532036,
0.03382144123315811,
0.07121111452579498,
0.013182474300265312,
0.07177925854921341,
-0.029352108016610146,
0.053007643669843674,
-0.038496196269989014,
-0.003049876308068633,
0.01441233977675438,
0.0034397973213344812,
0.03832545131444931,
0.012903010472655296,
-0.011608154512941837,
0.0271086934953928,
-0.04543880373239517,
0.017406001687049866,
0.026719488203525543,
-0.022235829383134842,
-0.013047190383076668,
-0.007540309801697731,
-0.016951028257608414,
-0.0034762953873723745,
0.028904980048537254,
-0.06246674433350563,
-0.017257805913686752,
0.0015803278656676412,
-0.038509078323841095,
0.005181979387998581,
0.010494319722056389,
-0.02489619329571724,
0.0325457826256752,
-0.007888862863183022,
0.009309830144047737,
0.01444340217858553,
0.004090475849807262,
0.040100328624248505,
-0.018223119899630547,
-0.026906779035925865,
-0.00937659852206707,
-0.04182695224881172,
0.037843722850084305,
0.014143150299787521,
-0.015519334003329277,
0.0234589371830225,
-0.01807912439107895,
0.011983470059931278,
-0.0012401544954627752,
-0.02272941544651985,
0.020058052614331245,
0.004751014057546854,
-0.007075207773596048,
-0.02233918197453022,
0.027713919058442116,
-0.05079564079642296,
-0.003520605619996786,
0.0017361019272357225,
0.030139409005641937,
-0.011328949593007565,
-0.002699789125472307,
0.020395565778017044,
0.03478626534342766,
0.01753357984125614,
0.0030343260150402784,
-0.050523556768894196,
-0.03683489188551903,
-0.05760597437620163,
0.08846640586853027,
-0.019080184400081635,
0.001076678279787302,
-0.005685489159077406,
-0.013700994662940502,
0.00259855086915195,
0.03234032914042473,
-0.011664411053061485,
-0.03682009503245354,
0.024981722235679626,
-0.026325827464461327,
-0.03147417679429054,
-0.03869509696960449,
-0.014839915558695793,
-0.030560970306396484,
0.01596243493258953,
0.04528214782476425,
-0.005673588253557682,
0.0312185175716877,
0.026312775909900665,
0.018721019849181175,
0.0027282952796667814,
0.02856310084462166,
0.0022667672019451857,
-0.035101547837257385,
-0.015373887494206429,
-0.017237365245819092,
-0.03131146356463432,
0.019727300852537155,
-0.019849425181746483,
0.038016606122255325,
-0.002698077354580164,
-0.0032798252068459988,
-0.050390664488077164,
0.011164347641170025,
0.04008067771792412,
-0.004150074440985918,
0.006914460565894842,
-0.00001204617819894338,
0.034834157675504684,
0.042690031230449677,
-0.04920250177383423,
-0.01845945231616497,
0.04161415994167328,
-0.012911349534988403,
0.004469145555049181,
-0.011215412989258766,
0.006401617545634508,
-0.012586856260895729,
-0.03166382014751434,
0.022108126431703568,
0.04401586204767227,
0.029416650533676147,
0.01707683876156807,
0.013847182504832745,
0.019509630277752876,
0.016592945903539658,
0.05765686184167862,
0.00938502512872219,
0.010019268840551376,
0.047971587628126144,
0.000042796003981493413,
-0.06367265433073044,
0.024538949131965637,
-0.010113323107361794,
0.012115856632590294,
0.03146518021821976,
-0.019701948389410973,
0.006471495609730482,
0.028981318697333336,
0.028766602277755737,
-0.052018631249666214,
-0.04957197606563568,
-0.005474959034472704,
-0.026558618992567062,
0.08307803422212601,
0.03542143106460571,
-0.013470363803207874,
-0.022496039047837257,
0.023124972358345985,
0.008463999256491661,
0.017368502914905548,
0.02244921773672104,
-0.017915617674589157,
0.045128632336854935,
-0.00282053230330348,
0.0073701608926057816,
-0.055778924375772476,
0.029082035645842552,
-0.0024574054405093193,
0.04864457994699478,
0.028271770104765892,
0.008126604370772839
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | What's Average Recall and how to compute it? Average Recall (AR) is a metric that's often used alongside AP to evaluate object detection models. While AP evaluates both Precision and Recall across different confidence thresholds to provide a single-number summary of model performance, AR focuses solely on the Recall aspect, not taking the confidences into account and considering all detections as positives. COCO’s approach computes AR as the mean of the maximum obtained Recall over IOUs > 0.5 and classes. By using IOUs in the range [0.5, 1] and averaging Recall values across this interval, AR assesses the model's predictions on their object localization. Hence, if your goal is to evaluate your model for both high Recall and precise object localization, AR could be a valuable evaluation metric to consider. | [
-0.03937729448080063,
0.054612528532743454,
-0.02357831783592701,
-0.04545072466135025,
0.02285580523312092,
0.021192137151956558,
0.02519451081752777,
-0.00175671954639256,
-0.03611928969621658,
-0.0012061885790899396,
-0.048176657408475876,
0.007823786698281765,
-0.026167644187808037,
-0.026753345504403114,
0.05919327586889267,
0.03243064880371094,
0.04301703721284866,
0.023343173786997795,
0.02552822418510914,
0.04335642233490944,
-0.11112205684185028,
-0.0077102757059037685,
-0.029365912079811096,
0.00331124453805387,
-0.002542402595281601,
0.018591037020087242,
0.024160858243703842,
-0.01197022944688797,
-0.06966128200292587,
-0.05538225546479225,
-0.09810551255941391,
0.07689618319272995,
-0.0064948545768857,
-0.0810280591249466,
-0.003805174957960844,
-0.005145905073732138,
-0.04201561585068703,
0.04736150801181793,
-0.014456315897405148,
-0.045185137540102005,
0.053398746997117996,
-0.02900797314941883,
-0.012471780180931091,
-0.056423984467983246,
0.005249201785773039,
-0.055942293256521225,
-0.08101346343755722,
-0.006279877852648497,
-0.025080299004912376,
-0.07512272149324417,
-0.04250989481806755,
0.04585111513733864,
-0.08081717044115067,
0.025620490312576294,
-0.01764596253633499,
-0.01490399893373251,
0.029562531039118767,
-0.07109256088733673,
0.04477492347359657,
0.04365485906600952,
0.0204614344984293,
0.002826610580086708,
0.004302330780774355,
-0.0015155115397647023,
-0.030794639140367508,
-0.03615836054086685,
0.08366315066814423,
0.05768536403775215,
0.06224921718239784,
0.021411219611763954,
-0.0326889269053936,
-0.004787195939570665,
0.03577055037021637,
0.03881094232201576,
-0.09086382389068604,
-0.00946123618632555,
0.03061565011739731,
0.0169344674795866,
-0.037481848150491714,
-0.0200880728662014,
0.00409546447917819,
-0.04607613757252693,
0.045879218727350235,
-0.07078052312135696,
-0.003687777556478977,
0.016630779951810837,
-0.016845323145389557,
-0.06693919003009796,
-0.05814552679657936,
0.001993269193917513,
-0.05251157656311989,
-0.09135380387306213,
0.026167040690779686,
0.10758432745933533,
0.011996136978268623,
-0.07059041410684586,
-0.011387834325432777,
-0.03794315457344055,
0.07673456519842148,
-0.020421672612428665,
-0.03687074035406113,
-0.022426851093769073,
0.049177538603544235,
-0.05768442153930664,
-0.05705879256129265,
0.011902186088263988,
-0.009857154451310635,
-0.12545634806156158,
-0.058727867901325226,
0.0052534849382936954,
-0.04221387207508087,
0.018179386854171753,
0.05242583900690079,
0.05624384433031082,
-0.05453241616487503,
-0.07222533971071243,
-0.0008380074868910015,
0.024441571906208992,
0.014465557411313057,
0.007690933998674154,
-0.014401602558791637,
0.10448437929153442,
0.046846531331539154,
-0.04090075194835663,
-0.0342102088034153,
0.024635398760437965,
0.026034781709313393,
-0.0011120339622721076,
-0.03337939828634262,
0.0020878950599581003,
0.005535526666790247,
-0.08420390635728836,
-0.01297288853675127,
0.0011668229708448052,
-0.020114995539188385,
0.0059312088415026665,
-0.015804419293999672,
0.0016092796577140689,
0.05491816624999046,
-0.02630596049129963,
-0.09163299202919006,
-0.07818689942359924,
0.03123532049357891,
-0.002919751452282071,
0.012856291607022285,
-0.041047364473342896,
-0.0550856776535511,
0.10605683922767639,
0.020668791607022285,
0.004785448312759399,
-0.07695691287517548,
0.068057581782341,
-0.07420124858617783,
-0.010592922568321228,
-0.01116482075303793,
0.035846780985593796,
0.04133283719420433,
-0.03390001505613327,
-0.012041453272104263,
0.029904646798968315,
-0.011599063873291016,
0.03733455017209053,
-0.05769309028983116,
0.0360402874648571,
0.008489187806844711,
0.04122495278716087,
-0.0062284343875944614,
-0.014883393421769142,
0.0012057379353791475,
0.01027892716228962,
0.0029948404990136623,
-0.07476320117712021,
0.056064777076244354,
0.002704181242734194,
-0.0878438800573349,
0.02301822043955326,
0.010762004181742668,
0.0029649953357875347,
0.03907855227589607,
0.019014135003089905,
-0.047442350536584854,
0.009054269641637802,
-0.08891645073890686,
-0.012459984980523586,
0.010691680014133453,
-0.12336613237857819,
0.09694823622703552,
-0.01376749761402607,
0.03991032391786575,
0.03512446954846382,
-0.03485230728983879,
0.0014224417973309755,
0.006323935464024544,
-0.07133827358484268,
0.008081939071416855,
-0.08002632856369019,
-0.012373218312859535,
0.0825795829296112,
0.08258736878633499,
-0.037853073328733444,
0.010929316282272339,
-0.026120679453015327,
0.0993807390332222,
-0.0624917708337307,
-0.054814502596855164,
-0.023971902206540108,
0.0780559703707695,
0.007844092324376106,
-0.0078031993471086025,
0.09971929341554642,
0.01968042552471161,
-0.10157383978366852,
0.01922765001654625,
-0.08725538104772568,
-0.024345017969608307,
0.07222124189138412,
0.025162894278764725,
-0.013771004043519497,
0.003990917466580868,
-0.0031121419742703438,
0.07713096588850021,
-0.014388895593583584,
-0.016637790948152542,
0.040836453437805176,
-0.14235423505306244,
0.02484321780502796,
-0.00308166048489511,
-0.014337163418531418,
0.04669841751456261,
-0.03573976084589958,
0.007489834446460009,
-0.04800527170300484,
0.00589729193598032,
0.017332710325717926,
-0.03374876827001572,
0.02589823491871357,
0.0505664236843586,
0.06226711720228195,
-0.0350266695022583,
-0.02037730999290943,
-0.07181481271982193,
0.04235038533806801,
-0.019290441647171974,
0.09872113168239594,
0.04650329798460007,
0.01700250804424286,
0.08022566139698029,
-0.04518713429570198,
-0.07656292617321014,
0.023008445277810097,
-0.04207903891801834,
-0.06251749396324158,
0.03659825026988983,
-0.02619985304772854,
-0.007331790868192911,
-0.005934430286288261,
0.011325729079544544,
-0.013192997314035892,
-0.020968273282051086,
0.011183180846273899,
-0.00280188350006938,
-0.0013084447709843516,
-0.028958816081285477,
-0.0011062532430514693,
0.024528875946998596,
-0.01998750865459442,
0.03092576377093792,
0.009693699888885021,
-0.04968436807394028,
0.005129750818014145,
0.009380134753882885,
0.034076474606990814,
0.025110624730587006,
0.012871098704636097,
-0.014026434160768986,
0.04733477532863617,
0.0065662139095366,
-0.017836404964327812,
-0.019235806539654732,
-0.014879809692502022,
-0.01739334873855114,
-0.014689294621348381,
0.034521620720624924,
0.02968166582286358,
0.04087698087096214,
-0.04326079785823822,
0.05378573387861252,
0.011860094033181667,
-0.03485262766480446,
0.03105822391808033,
-0.01956845633685589,
-0.001678841421380639,
-0.03231758996844292,
0.0388195738196373,
0.005932555999606848,
0.01618875563144684,
-0.03845510259270668,
0.05076400563120842,
0.006273544393479824,
-0.013060403056442738,
-0.012495193630456924,
0.0029365678783506155,
-0.014697642996907234,
-0.011655552312731743,
-0.016099493950605392,
0.007617493625730276,
0.01231885701417923,
0.024433039128780365,
-0.08164788782596588,
-0.02188686840236187,
0.01277852337807417,
0.007887609302997589,
-0.01397904846817255,
0.01552525907754898,
0.037406109273433685,
0.04780081287026405,
-0.0044820960611104965,
0.040906261652708054,
0.01554433349519968,
-0.01943165250122547,
0.036358196288347244,
0.06009757146239281,
0.054131969809532166,
0.04219180345535278,
-0.057830363512039185,
-0.018950283527374268,
0.010892048478126526,
0.01787685602903366,
0.014612222090363503,
0.031134283170104027,
-0.003511437913402915,
-0.013831228017807007,
-0.025926630944013596,
-0.00122874288354069,
-0.03985561430454254,
-0.03179607912898064,
0.024921439588069916,
-0.007061666343361139,
0.044530920684337616,
-0.00973955262452364,
0.018039898946881294,
0.0036744559183716774,
-0.011976470239460468,
0.020854739472270012,
-0.02544759400188923,
-0.03393164649605751,
0.003064895048737526,
0.020679233595728874,
0.01710672676563263,
0.024910999462008476,
0.025087742134928703,
0.03995538502931595,
0.04525202140212059,
-0.031251031905412674,
0.012283055111765862,
-0.014831071719527245,
-0.018981635570526123,
-0.01401473768055439,
-0.055658772587776184,
0.01944158598780632,
-0.0016395320417359471,
0.05354810133576393,
0.004540754482150078,
-0.022377440705895424,
0.021342776715755463,
0.017207913100719452,
-0.030223622918128967,
0.03382840380072594,
-0.030064040794968605,
0.009254822507500648,
0.048207223415374756,
-0.010126410983502865,
-0.021429235115647316,
0.014940258115530014,
0.05652507022023201,
0.02396732196211815,
-0.006250220816582441,
0.02813568525016308,
-0.023982014507055283,
0.01536491233855486,
0.010104178451001644,
0.010779189877212048,
-0.03010736219584942,
-0.022877976298332214,
0.017804227769374847,
-0.020793816074728966,
0.01881810836493969,
0.05409713089466095,
-0.014485633000731468,
0.01817113161087036,
-0.018761252984404564,
-0.0053533087484538555,
-0.01758549176156521,
0.03403855487704277,
-0.017766818404197693,
0.02361948974430561,
0.0451103150844574,
0.025365076959133148,
0.00846167840063572,
0.016587890684604645,
-0.008064099587500095,
0.029568100348114967,
-0.025432219728827477,
0.02219468355178833,
0.034040410071611404,
-0.010965323075652122,
0.029041891917586327,
-0.011315169744193554,
-0.030297474935650826,
0.01722458377480507,
0.031317517161369324,
0.004839266184717417,
0.00344477454200387,
0.015193904750049114,
0.0576312392950058,
-0.011947548016905785,
0.018408264964818954,
-0.048104848712682724,
-0.02165364846587181,
-0.02557298354804516,
0.02360159158706665,
-0.015772946178913116,
0.023586129769682884,
0.03335981070995331,
-0.01780327782034874,
0.02582959644496441,
-0.028646141290664673,
0.024273613467812538,
-0.0557406023144722,
0.0032269221264868975,
-0.025572242215275764,
0.02628319151699543,
-0.013381542637944221,
0.014134781435132027,
-0.02349303662776947,
-0.0154412304982543,
-0.027972761541604996,
-0.07648615539073944,
-0.03348185122013092,
0.024832386523485184,
0.03179425746202469,
0.047686658799648285,
0.005545794498175383,
-0.018232347443699837,
0.0013392235850915313,
-0.03310267999768257,
0.020212635397911072,
0.004512055777013302,
-0.0012990760151296854,
0.0027350399177521467,
0.031640734523534775,
0.005192370153963566,
0.008199090138077736,
-0.028373049572110176,
-0.06697957217693329,
-0.0022833964321762323,
-0.019661998376250267,
0.0137280048802495,
0.008565853349864483,
-0.07753419131040573,
-0.05111731216311455,
-0.014467126689851284,
-0.005928649101406336,
-0.02590353973209858,
-0.0363970585167408,
-0.011965707875788212,
0.004119326360523701,
0.0004335843550506979,
0.055831704288721085,
-0.012242301367223263,
-0.04415443167090416,
0.024703042581677437,
-0.020622016862034798,
-0.053102657198905945,
0.04678969085216522,
-0.027557335793972015,
0.018923340365290642,
0.005021885968744755,
-0.01280057244002819,
-0.012030037119984627,
-0.008834447711706161,
-0.03159657493233681,
-0.01269723940640688,
0.009530879557132721,
0.03670060634613037,
-0.032017651945352554,
0.055711183696985245,
0.02518695779144764,
-0.05444406345486641,
0.012245943769812584,
0.012699011713266373,
-0.03575701639056206,
0.03720627725124359,
-0.009622945450246334,
0.018775934353470802,
-0.0059315538965165615,
-0.005576774477958679,
0.023328255861997604,
0.05645928904414177,
0.006716081872582436,
0.022800272330641747,
-0.006400250364094973,
0.022715380415320396,
0.016460813581943512,
0.02276689000427723,
0.03549322485923767,
-0.05906521901488304,
0.015269574709236622,
0.02238491363823414,
0.028873486444354057,
0.0028824040200561285,
0.000526061630807817,
0.004477995447814465,
0.0369669608771801,
-0.0010629453463479877,
0.06310690939426422,
0.013194979168474674,
-0.00020520573889371008,
-0.006513499189168215,
-0.030142541974782944,
-0.026491770520806313,
0.021199768409132957,
0.05102693662047386,
-0.06239146366715431,
-0.049123041331768036,
0.028133917599916458,
0.005582152400165796,
0.0189284048974514,
-0.021114736795425415,
-0.0043000043369829655,
0.0051413956098258495,
0.0075895520858466625,
0.030478155240416527,
-0.041081055998802185,
0.06005570665001869,
-0.00885892566293478,
-0.03602038323879242,
0.041566621512174606,
-0.018554044887423515,
0.03026525117456913,
0.032946523278951645,
0.00137707672547549,
0.0008377718040719628,
-0.00773778697475791,
-0.02416672185063362,
0.03029179573059082,
0.054947029799222946,
0.02330094575881958,
-0.017751416191458702,
0.026359526440501213,
-0.04314303770661354,
-0.01334597822278738,
-0.03038068488240242,
-0.009414306841790676,
0.03435239568352699,
0.002583322813734412,
0.027712669223546982,
-0.014695608988404274,
-0.01098786573857069,
-0.002288687275722623,
-0.04783455282449722,
0.004635193385183811,
0.0476069413125515,
0.016454501077532768,
-0.030927248299121857,
-0.022109419107437134,
-0.017061222344636917,
0.023654289543628693,
0.05740559846162796,
-0.021648505702614784,
0.05494954064488411,
0.02892717346549034,
-0.044776152819395065,
0.027966994792222977,
0.02149321138858795,
0.013582681305706501,
0.0032594252843409777,
0.016677530482411385,
0.04661363735795021,
0.035687316209077835,
0.025248130783438683,
0.06278789788484573,
0.007984193973243237,
0.02720664255321026,
-0.03894472122192383,
0.047867245972156525,
0.02497430332005024,
0.02507324330508709,
0.04871980845928192,
0.07505378872156143,
0.033580534160137177,
0.0010694826487451792,
0.024546576663851738,
0.0135143818333745,
0.04530264064669609,
0.04402996599674225,
0.020510543137788773,
-0.00025146137340925634,
0.037482909858226776,
0.004372940398752689,
0.004293018952012062,
-0.010525994934141636,
-0.0023750117979943752,
0.04370041936635971,
0.0018531540408730507,
0.033962544053792953,
-0.007643566466867924,
-0.042674627155065536,
-0.0034715309739112854,
0.017777442932128906,
0.04299769923090935,
-0.0006697738426737487,
0.05657632648944855,
-0.012435900047421455,
0.03712413087487221,
-0.008294564671814442,
0.007652182597666979,
0.00013447865785565227,
0.014957687817513943,
0.031186489388346672,
0.025554710999131203,
-0.009398109279572964,
0.02527366578578949,
-0.014263341203331947,
0.015086901374161243,
-0.00019465023069642484,
-0.01534489169716835,
0.013484325259923935,
-0.04362501576542854,
-0.01660141721367836,
0.03197172284126282,
0.0012697108322754502,
-0.04480797052383423,
-0.006818515248596668,
0.014924832619726658,
-0.03931330889463425,
0.0027221357449889183,
0.011970259249210358,
-0.013824941590428352,
0.03006540797650814,
-0.004658129066228867,
-0.005775244906544685,
0.020070793107151985,
-0.01333452295511961,
0.022158486768603325,
0.005748793948441744,
-0.04766777530312538,
-0.028332123532891273,
-0.0668080747127533,
0.015124859288334846,
0.00013626340660266578,
0.001832740381360054,
0.0023434741888195276,
0.015310661867260933,
0.012600542977452278,
-0.011198388412594795,
-0.050321631133556366,
0.04206438735127449,
0.0010350905358791351,
-0.0034696850925683975,
-0.03236117213964462,
0.03142203390598297,
-0.08144284039735794,
-0.014701014384627342,
-0.013408049009740353,
0.05449233576655388,
-0.021409088745713234,
0.038213059306144714,
0.0468929298222065,
-0.00005192930257180706,
0.018676962703466415,
0.0039941538125276566,
0.013461388647556305,
-0.04297171160578728,
-0.06398075073957443,
0.06978996843099594,
0.020441701635718346,
0.002255850937217474,
-0.01167988684028387,
0.03751668334007263,
0.0042632147669792175,
0.031697582453489304,
-0.014928880147635937,
-0.022986125200986862,
0.036669887602329254,
0.011214838363230228,
0.0026153833605349064,
-0.016495516523718834,
-0.028778541833162308,
-0.04673910513520241,
-0.00977450329810381,
0.04803368076682091,
-0.008408922702074051,
0.051559217274188995,
-0.0067859529517591,
0.0270819254219532,
-0.014087002724409103,
0.025377094745635986,
0.004660925827920437,
-0.01251203753054142,
-0.01955758035182953,
0.024157773703336716,
-0.008887127973139286,
0.022499332204461098,
0.0036836322396993637,
0.033964406698942184,
-0.013916987925767899,
0.0156739242374897,
-0.05830347165465355,
0.010048099793493748,
0.03388627618551254,
0.01790419965982437,
0.029608041048049927,
-0.04405144229531288,
0.011993074789643288,
0.019585827365517616,
-0.03265457972884178,
0.011808795854449272,
0.04610053449869156,
-0.034848641604185104,
-0.014297712594270706,
-0.038573287427425385,
0.009182515554130077,
-0.010048730298876762,
-0.038022156804800034,
0.013647130690515041,
0.040784623473882675,
0.010898232460021973,
0.007771022617816925,
0.011756518855690956,
-0.012640374712646008,
-0.006015450228005648,
0.06832797080278397,
-0.014178736135363579,
-0.0069863153621554375,
-0.020728643983602524,
0.009528787806630135,
-0.013497458770871162,
-0.012731702998280525,
-0.0024028588086366653,
0.011210501194000244,
0.04905838891863823,
-0.00001255910683539696,
-0.013940887525677681,
0.046715352684259415,
0.004808459430932999,
-0.003389577614143491,
-0.02532501518726349,
0.012821394950151443,
-0.051309291273355484,
0.036600325256586075,
0.00005212788892094977,
-0.007192574441432953,
0.01444584783166647,
0.013448386453092098,
0.005282221361994743,
0.007284093648195267,
0.01392892561852932,
-0.011561238206923008,
0.029897931963205338,
0.02682371996343136,
-0.013604617677628994,
-0.06822309643030167,
0.06122356653213501,
0.0014924490824341774,
0.03516898676753044,
0.009511697106063366,
0.001960687106475234
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Object Detection Leaderboard We recently released the [Object Detection Leaderboard](https://huggingface.co/spaces/hf-vision/object_detection_leaderboard) to compare the accuracy and efficiency of open-source models from our Hub. <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/screenshot-leaderboard.png" alt="screenshot-leaderboard.png" /> <figcaption> Figure 8: Object Detection Leaderboard.</figcaption> </center> </div> To measure accuracy, we used 12 metrics involving Average Precision and Average Recall using [COCO style](https://cocodataset.org/#detection-eval), benchmarking over COCO val 2017 dataset. As discussed previously, different tools may adopt different particularities during the evaluation. To prevent results mismatching, we preferred not to implement our version of the metrics. Instead, we opted to use COCO's official evaluation code, also referred to as PyCOCOtools, code available [here](https://github.com/cocodataset/cocoapi/tree/master/PythonAPI). In terms of efficiency, we calculate the frames per second (FPS) for each model using the average evaluation time across the entire dataset, considering pre and post-processing steps. Given the variability in GPU memory requirements for each model, we chose to evaluate with a batch size of 1 (this choice is also influenced by our pre-processing step, which we'll delve into later). However, it's worth noting that this approach may not align perfectly with real-world performance, as larger batch sizes (often containing several images), are commonly used for better efficiency. Next, we will provide tips on choosing the best model based on the metrics and point out which parameters may interfere with the results. Understanding these nuances is crucial, as this might spark doubts and discussions within the community. | [
-0.02549077570438385,
-0.03622666746377945,
0.02173422835767269,
0.024745265021920204,
0.03302212432026863,
0.027998685836791992,
0.013120217248797417,
0.03143245726823807,
-0.08219172060489655,
-0.03578418865799904,
-0.04850687086582184,
0.04539154842495918,
-0.0021342015825212,
0.02422277256846428,
0.08903655409812927,
-0.013897763565182686,
0.051515527069568634,
0.04858328774571419,
0.007860123179852962,
0.05836024880409241,
-0.015582816675305367,
-0.028339963406324387,
0.046309903264045715,
-0.026245342567563057,
-0.06854952871799469,
-0.05965103954076767,
0.008280127309262753,
0.016010846942663193,
0.01535935141146183,
0.05796056240797043,
-0.09826528280973434,
-0.039233531802892685,
0.07056766748428345,
-0.053956467658281326,
0.02872130274772644,
0.00924055464565754,
-0.05638713762164116,
0.02575596608221531,
0.05024828761816025,
0.011736960150301456,
0.02381163090467453,
-0.08811318874359131,
-0.01809799112379551,
-0.02394038811326027,
0.0569753423333168,
-0.051549483090639114,
-0.14137311279773712,
0.018407287076115608,
0.022144800052046776,
0.011983739212155342,
-0.07415623962879181,
0.0419963039457798,
-0.07846734672784805,
0.017382867634296417,
-0.01752796582877636,
-0.03155290335416794,
0.0037692359182983637,
-0.055801160633563995,
0.07680322229862213,
0.05419958382844925,
0.023630673065781593,
-0.03937872499227524,
0.031718671321868896,
0.016195090487599373,
0.008982166647911072,
0.0014588517369702458,
0.007044806145131588,
0.06272570788860321,
0.0235638115555048,
0.024020418524742126,
0.007283254060894251,
-0.035753462463617325,
0.0398264117538929,
-0.019998082891106606,
-0.037216249853372574,
-0.0030666047241538763,
-0.017698071897029877,
0.04194212704896927,
0.02248344011604786,
-0.049353066831827164,
0.024167336523532867,
-0.019891442731022835,
0.027666717767715454,
0.03605854883790016,
0.013124529272317886,
0.048561032861471176,
-0.04840300232172012,
-0.03646278753876686,
-0.09029942750930786,
0.1045541912317276,
0.011862851679325104,
-0.05517461895942688,
0.026425020769238472,
0.022502651438117027,
0.009917800314724445,
-0.04192553460597992,
-0.008830455131828785,
0.04125013202428818,
0.006265267729759216,
-0.04780275747179985,
-0.012533877044916153,
-0.05376086011528969,
0.011334088630974293,
-0.030882705003023148,
-0.03788958117365837,
-0.027888856828212738,
-0.0609450563788414,
-0.1172712966799736,
-0.05249740183353424,
0.014813443645834923,
-0.008459500968456268,
-0.028736820444464684,
-0.0007949554710648954,
0.06974294781684875,
-0.060794003307819366,
0.012188578024506569,
-0.04988480731844902,
-0.013167310506105423,
-0.017330503091216087,
0.039453648030757904,
0.014771583490073681,
0.11269042640924454,
-0.010074825957417488,
-0.0027834628708660603,
-0.033597182482481,
0.06351038813591003,
0.015055066905915737,
0.09067557752132416,
0.012174009345471859,
-0.02761785499751568,
0.04444221407175064,
-0.016176966950297356,
0.04007339850068092,
-0.04373612254858017,
0.008367298170924187,
-0.047688428312540054,
0.050395332276821136,
-0.08188989013433456,
0.013987845741212368,
-0.01675391010940075,
-0.022654790431261063,
-0.02927805855870247,
-0.0009207233670167625,
0.04636082053184509,
0.07849428057670593,
-0.026684483513236046,
-0.11300646513700485,
0.06160217523574829,
0.016016177833080292,
0.0043954793363809586,
-0.11734796315431595,
0.10586246103048325,
-0.03638023883104324,
-0.03928079083561897,
-0.01606866531074047,
0.12816381454467773,
0.011531700380146503,
-0.06644419580698013,
-0.07379492372274399,
0.010537318885326385,
-0.05231519415974617,
0.0008071071933954954,
-0.07226555794477463,
-0.056713469326496124,
0.005566509906202555,
-0.008132878690958023,
0.0361362062394619,
0.023970428854227066,
-0.016205567866563797,
0.00229515228420496,
0.015413368120789528,
-0.039936766028404236,
0.08809243142604828,
-0.04223272576928139,
-0.04080188274383545,
0.05585041642189026,
0.060105100274086,
0.01579350419342518,
-0.018888073042035103,
0.08522284775972366,
-0.08102136850357056,
0.04864845424890518,
-0.04160022735595703,
0.06522727012634277,
0.0543379969894886,
-0.08186410367488861,
0.043194375932216644,
0.009668867103755474,
0.025765733793377876,
0.00415043905377388,
-0.04238608479499817,
0.002889628754928708,
0.08591236174106598,
-0.03789861872792244,
-0.003150725970044732,
-0.0834210216999054,
-0.03100053034722805,
0.06241237744688988,
0.09920906275510788,
-0.02306843362748623,
0.03151718154549599,
0.0439496710896492,
0.053798165172338486,
-0.04890422895550728,
-0.07309325784444809,
-0.033432114869356155,
0.007542680017650127,
-0.02830042876303196,
-0.0338192917406559,
0.006857845466583967,
0.008590691722929478,
-0.0836903378367424,
0.04221612587571144,
0.027859386056661606,
0.0004463565128389746,
-0.0076869456097483635,
-0.0057743629440665245,
-0.006558713968843222,
0.04262182489037514,
-0.03799937292933464,
0.12106539309024811,
-0.0355721153318882,
-0.009282832965254784,
0.026062069460749626,
-0.06945057958364487,
0.03164390102028847,
0.012362816371023655,
0.09681183844804764,
0.07135406136512756,
-0.06214764714241028,
-0.05533679202198982,
-0.033340174704790115,
-0.010357912629842758,
0.04614434391260147,
-0.04383448138833046,
-0.04221395403146744,
0.07602734118700027,
0.020481957122683525,
0.032436225563287735,
0.029807575047016144,
-0.023568814620375633,
-0.004508060868829489,
0.0385073721408844,
0.044194333255290985,
0.02219153381884098,
-0.04515720158815384,
0.05274040624499321,
0.02832002006471157,
-0.04717398062348366,
0.011488551273941994,
-0.0835164487361908,
0.052664387971162796,
0.02420417033135891,
-0.031080372631549835,
0.03893311694264412,
-0.013130764476954937,
-0.007988120429217815,
-0.008470005355775356,
-0.05359380319714546,
0.05203516408801079,
0.0285172238945961,
-0.007856054231524467,
-0.028426440432667732,
-0.03052711673080921,
0.01288189273327589,
-0.02772492542862892,
-0.005887960083782673,
0.053110964596271515,
-0.04163889214396477,
0.023641210049390793,
-0.020832398906350136,
-0.03232933208346367,
0.02244780771434307,
-0.008151788264513016,
-0.0075957635417580605,
0.03711780533194542,
0.06823576986789703,
-0.013690151274204254,
-0.0066930875182151794,
0.000271596567472443,
-0.04104655236005783,
0.0069317566230893135,
0.03096434287726879,
0.03345254808664322,
0.022442718967795372,
0.004877019673585892,
0.038657378405332565,
-0.0054862224496901035,
-0.039441850036382675,
0.039916496723890305,
0.00561642786487937,
0.026732468977570534,
0.003803826170042157,
-0.037840649485588074,
0.03528790548443794,
0.0036596092395484447,
-0.005133494734764099,
0.001678718370385468,
-0.00853347685188055,
0.019271347671747208,
-0.049162182956933975,
0.008607503958046436,
-0.009063092060387135,
-0.03740875795483589,
-0.01650572381913662,
0.030096670612692833,
-0.0011876362841576338,
0.01713084988296032,
-0.09424783289432526,
0.002089075278490782,
-0.03496592119336128,
0.022364282980561256,
-0.026944532990455627,
-0.0300875436514616,
0.03910469636321068,
0.007913772948086262,
0.025154754519462585,
0.02129020355641842,
0.006549287587404251,
-0.020477592945098877,
0.010410789400339127,
0.016598889604210854,
0.03882114961743355,
0.03954486548900604,
-0.007876638323068619,
-0.03346448764204979,
0.010600659064948559,
0.02634035237133503,
-0.05474031716585159,
0.05072849243879318,
-0.012000572867691517,
-0.01693437062203884,
-0.05839848890900612,
-0.011954297311604023,
0.01273199450224638,
0.01968422532081604,
0.01732412353157997,
-0.02391461469233036,
0.005641196388751268,
0.0022396070417016745,
0.0002083416620735079,
0.03343137726187706,
-0.05099374055862427,
0.02157842367887497,
-0.02469388023018837,
-0.0051724789664149284,
0.005934056825935841,
0.02113238535821438,
0.01698431745171547,
0.01729690097272396,
-0.010281993076205254,
0.0037933404091745615,
0.06462425738573074,
-0.0044932602904737,
0.04604298248887062,
-0.020858269184827805,
0.017456278204917908,
-0.06508670002222061,
-0.0025530951097607613,
-0.010570044629275799,
0.01621283032000065,
0.06314664334058762,
0.0031970497220754623,
0.03117174096405506,
0.014065981842577457,
-0.0021382251288741827,
-0.028827622532844543,
0.03198346123099327,
-0.04215536266565323,
0.008316618390381336,
0.005120014306157827,
0.018564626574516296,
-0.019684771075844765,
0.040238745510578156,
0.0184226892888546,
0.0004462281649466604,
-0.04765760153532028,
0.017437461763620377,
-0.0016239184187725186,
0.04278019070625305,
-0.011999787762761116,
0.0005676757427863777,
-0.06464388221502304,
-0.013421548530459404,
-0.006523197051137686,
-0.036574531346559525,
0.041363753378391266,
0.04693898186087608,
-0.044881295412778854,
-0.024830415844917297,
-0.005674492567777634,
0.007320196367800236,
-0.024215541779994965,
-0.013227165676653385,
0.03789161890745163,
-0.02189069241285324,
0.03854115307331085,
0.008671904914081097,
0.01268357690423727,
-0.002998556010425091,
-0.004964691121131182,
-0.00022819139121565968,
0.011670577339828014,
0.007938947528600693,
0.006936779711395502,
-0.017779724672436714,
-0.0106901153922081,
0.019201010465621948,
-0.003052597865462303,
0.008790821768343449,
-0.005744221620261669,
0.03318067267537117,
-0.009199820458889008,
0.07420793175697327,
-0.011904660612344742,
-0.03215431049466133,
-0.034073296934366226,
-0.009993406012654305,
-0.007120639551430941,
-0.04608491063117981,
-0.0031023307237774134,
-0.0025748617481440306,
0.016460159793496132,
0.020546885207295418,
-0.004313841462135315,
-0.0005001617828384042,
-0.04907682165503502,
0.026949215680360794,
-0.018671585246920586,
-0.0067109535448253155,
-0.024136563763022423,
-0.00422950554639101,
0.025336889550089836,
0.03044603392481804,
0.005142934154719114,
-0.002651320770382881,
0.031153155490756035,
-0.053295597434043884,
-0.0595138855278492,
0.015908705070614815,
0.018091242760419846,
0.017472732812166214,
0.03105590119957924,
0.0287648756057024,
-0.011821589432656765,
-0.023395642638206482,
0.016547391191124916,
-0.008187483064830303,
0.023012250661849976,
0.0006700755329802632,
0.01586836203932762,
-0.0100417984649539,
0.02450871653854847,
-0.006969931069761515,
-0.01174098253250122,
-0.011682089418172836,
-0.03542989119887352,
0.03201713785529137,
0.0532275065779686,
-0.03160060942173004,
-0.05114651843905449,
0.017065424472093582,
0.02694656327366829,
0.009104599244892597,
-0.04424700513482094,
-0.015932537615299225,
0.010089637711644173,
-0.005222108215093613,
0.013998002745211124,
0.04343091696500778,
-0.03970692306756973,
0.012722804211080074,
-0.023681005463004112,
-0.016300911083817482,
0.027344662696123123,
-0.011520715430378914,
0.0007482129731215537,
-0.02581118978559971,
-0.007250851485878229,
-0.014734943397343159,
-0.015365519560873508,
-0.02310473471879959,
0.0058223488740623,
0.022144855931401253,
0.058863021433353424,
-0.0011874097399413586,
0.029642166569828987,
-0.0009945224737748504,
-0.06112409010529518,
-0.000851404678542167,
0.058761339634656906,
-0.027337441220879555,
0.015721460804343224,
0.042949825525283813,
0.03175944834947586,
0.05590502917766571,
0.032295115292072296,
0.011661608703434467,
-0.01066802442073822,
0.02554592490196228,
0.020406018942594528,
-0.035414304584264755,
0.041175227612257004,
-0.07433894276618958,
0.015347526408731937,
-0.004019871819764376,
-0.043232325464487076,
-0.03156769648194313,
0.01725098490715027,
0.07992623001337051,
-0.0390586219727993,
0.0007476809551008046,
0.014261296950280666,
0.022402696311473846,
0.026335200294852257,
-0.0024170309770852327,
0.012228881008923054,
-0.03174295648932457,
0.04699235036969185,
-0.04616987332701683,
-0.0240187905728817,
-0.012856335379183292,
0.013625803403556347,
-0.023555651307106018,
0.00838359072804451,
-0.002157239243388176,
0.019533028826117516,
0.03303930535912514,
0.0015077664284035563,
-0.0109882652759552,
-0.01243054773658514,
-0.046008627861738205,
0.005390670616179705,
-0.001323484000749886,
0.02861034870147705,
-0.040918707847595215,
-0.01132400892674923,
0.026485979557037354,
0.0018951322417706251,
0.024569816887378693,
0.015574834309518337,
0.04823119193315506,
0.019896425306797028,
-0.006437677424401045,
-0.019017063081264496,
0.000018940363588626496,
0.033477336168289185,
0.017731331288814545,
-0.025809574872255325,
0.015843169763684273,
-0.040500663220882416,
0.006172283552587032,
-0.08201868087053299,
0.024538932368159294,
0.06403078138828278,
-0.03307029604911804,
-0.012516552582383156,
-0.024136926978826523,
-0.030497243627905846,
0.012719367630779743,
-0.0014535583322867751,
-0.007336270995438099,
0.006759050767868757,
0.0034238186199218035,
-0.018028566613793373,
-0.0029435488395392895,
-0.014826557599008083,
0.0017877117497846484,
0.002541140653192997,
-0.07946567237377167,
0.0015609791735187173,
0.04501354694366455,
-0.07325015217065811,
0.03720593824982643,
-0.0184117890894413,
-0.015711184591054916,
-0.014946604147553444,
0.0015371809713542461,
0.017455069348216057,
0.017085881903767586,
0.015078580006957054,
0.03140798583626747,
-0.03498160466551781,
-0.01542989443987608,
0.012510166503489017,
0.05837997421622276,
0.016060039401054382,
0.014405027031898499,
0.0589115284383297,
0.04009810462594032,
0.02200651727616787,
-0.0012174397706985474,
0.007000893820077181,
-0.0317041277885437,
0.039034273475408554,
0.022538190707564354,
0.05411593243479729,
0.04964832216501236,
-0.03220605105161667,
0.00742635503411293,
-0.009497546590864658,
-0.019167417660355568,
0.021918928250670433,
0.002289013471454382,
0.04103697091341019,
-0.030372995883226395,
-0.0043677231296896935,
-0.04701712727546692,
0.028449974954128265,
0.02075929380953312,
0.04129720479249954,
-0.02201673574745655,
0.012757531367242336,
0.02241595834493637,
-0.04066908359527588,
-0.019694747403264046,
-0.014085079543292522,
0.038387928158044815,
0.006234597414731979,
0.03587797284126282,
0.026022428646683693,
0.021178074181079865,
0.015474291518330574,
-0.015281463973224163,
0.002582389395684004,
-0.01764066144824028,
0.0009614392183721066,
0.007030944339931011,
0.0036104724276810884,
0.009922781959176064,
-0.02865154668688774,
0.029585739597678185,
-0.030569523572921753,
0.016340108588337898,
-0.024637816473841667,
-0.0007824839558452368,
-0.011740299873054028,
-0.0009677400230430067,
0.020914947614073753,
0.03528207167983055,
0.0008641121094115078,
0.0033909857738763094,
0.014632998034358025,
-0.002658730372786522,
0.011235740035772324,
0.02716813236474991,
-0.016697535291314125,
-0.057193901389837265,
-0.042164940387010574,
-0.004896138329058886,
-0.020802486687898636,
0.005419145803898573,
-0.034465838223695755,
-0.03696838393807411,
-0.02066362090408802,
0.009345858357846737,
-0.014643942937254906,
0.03983805328607559,
0.021069319918751717,
-0.025153525173664093,
0.001187757239677012,
0.04329670965671539,
-0.02371002361178398,
-0.00008144138701027259,
0.031220581382513046,
-0.00427474407479167,
-0.021910449489951134,
-0.01097429171204567,
0.02000039629638195,
0.0040976013988256454,
0.01453038677573204,
0.02276378683745861,
-0.037104491144418716,
-0.01722671277821064,
-0.03415174037218094,
0.020901452749967575,
0.03676493093371391,
0.031903062015771866,
-0.012505936436355114,
0.04155076667666435,
0.0017763270298019052,
0.015534033998847008,
-0.018076619133353233,
-0.02864125743508339,
0.08869814872741699,
-0.027879538014531136,
-0.04347729682922363,
-0.007259963545948267,
0.048833660781383514,
0.053624603897333145,
0.01571653224527836,
0.050768569111824036,
-0.027111688628792763,
0.02761130966246128,
-0.01738104596734047,
0.07522764801979065,
-0.013262474909424782,
0.0015091764507815242,
-0.04581061005592346,
-0.028774550184607506,
0.009291332215070724,
-0.022462481632828712,
0.02524285949766636,
-0.00902275089174509,
-0.0058214678429067135,
-0.012371991761028767,
-0.04063918814063072,
-0.028414279222488403,
-0.02480313926935196,
-0.016290349885821342,
0.023208336904644966,
0.034279003739356995,
-0.0004115614283364266,
-0.02858996018767357,
0.006969512440264225,
0.0037844169419258833,
-0.04152005910873413,
-0.0032030248548835516,
0.04405226185917854,
-0.017459679394960403,
0.006569587625563145,
-0.02568843401968479,
-0.03453876078128815,
0.014961275272071362,
-0.018634021282196045,
-0.009483412839472294,
0.0731382668018341,
0.0182277113199234,
-0.030037125572562218,
-0.011828639544546604,
0.030559254810214043,
-0.013738841749727726,
0.04968852922320366,
-0.018589038401842117,
-0.013613486662507057,
0.008224563673138618,
0.019229723140597343,
-0.02533484436571598,
0.00741402106359601,
-0.0037012428510934114,
0.029189040884375572,
0.02836385741829872,
-0.011560194194316864,
0.025156131014227867,
-0.0069624981842935085,
0.00026080477982759476,
-0.014563578180968761,
-0.03327726945281029,
-0.014034363441169262,
-0.04397906735539436,
0.04080617055296898,
0.014919922687113285,
-0.014659642241895199,
-0.030730416998267174,
0.04088268801569939,
0.004472576547414064,
0.01577633246779442,
-0.0419587641954422,
-0.020571786910295486,
0.026680167764425278,
-0.010078804567456245,
-0.0016425073845312,
-0.0019579234067350626,
0.062348924577236176,
0.039148442447185516,
0.02708244137465954,
-0.015991155058145523,
0.006885201670229435
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Ported models should output the same logits as the original models At Hugging Face, we are very careful when porting models to our codebase. Not only with respect to the architecture, clear documentation and coding structure, but we also need to guarantee that the ported models are able to produce the same logits as the original models given the same inputs. The logits output by a model are post-processed to produce the confidence scores, label IDs, and bounding box coordinates. Thus, minor changes in the logits can influence the metrics results. You may recall [the example above](#whats-average-precision-and-how-to-compute-it), where we discussed the process of computing Average Precision. We showed that confidence levels sort the detections, and small variations may lead to a different order and, thus, different results. It's important to recognize that models can produce boxes in various formats, and that also may be taken into consideration, making proper conversions required by the evaluator. * *(x, y, width, height)*: this represents the upper-left corner coordinates followed by the absolute dimensions (width and height). * *(x, y, x2, y2)*: this format indicates the coordinates of the upper-left corner and the lower-right corner. * *(rel_x_center, rel_y_center, rel_width, rel_height)*: the values represent the relative coordinates of the center and the relative dimensions of the box. | [
-0.0018775733187794685,
-0.006407535169273615,
0.01602829433977604,
-0.017902953550219536,
0.0716032087802887,
0.05781124532222748,
0.030539337545633316,
-0.010391928255558014,
-0.05684535205364227,
-0.06607136875391006,
-0.07371366769075394,
0.013054901733994484,
-0.029450349509716034,
-0.006176079157739878,
0.010640538297593594,
-0.030613336712121964,
0.008849595673382282,
-0.025156771764159203,
0.04752039536833763,
0.048997681587934494,
0.04110991209745407,
-0.07299605011940002,
0.024792509153485298,
0.05470339208841324,
-0.03136192262172699,
-0.04875665530562401,
-0.0013227902818471193,
-0.024599775671958923,
-0.04007912427186966,
0.019032372161746025,
-0.10497280210256577,
-0.021437324583530426,
-0.02162679098546505,
-0.024824844673275948,
-0.024997597560286522,
-0.03666042163968086,
-0.1057954877614975,
0.04865651950240135,
-0.008288259617984295,
-0.007447248790413141,
0.040913861244916916,
-0.011591929011046886,
-0.010094057768583298,
0.05652225390076637,
0.03886987641453743,
-0.03734485059976578,
-0.12281336635351181,
0.016565192490816116,
0.0740276649594307,
-0.01863160915672779,
-0.06724650412797928,
0.04355745390057564,
-0.07699666917324066,
0.07679351419210434,
-0.028529195114970207,
-0.04250955581665039,
0.03676985204219818,
0.003118931083008647,
0.04330017790198326,
0.004216337576508522,
-0.023908020928502083,
-0.018062841147184372,
0.05547786504030228,
0.06950026005506516,
-0.009717139415442944,
0.035597268491983414,
0.03763891011476517,
-0.02957744337618351,
0.03287973627448082,
0.003828369313850999,
-0.0639917403459549,
-0.00836523063480854,
0.042328912764787674,
-0.04094691202044487,
-0.000514363229740411,
0.01836456172168255,
-0.023976558819413185,
0.0381411574780941,
0.056626658886671066,
-0.006412046495825052,
0.0039683617651462555,
-0.038019727915525436,
-0.0029126473236829042,
0.06747382134199142,
0.04760365188121796,
0.05565907061100006,
0.034780655056238174,
-0.058730628341436386,
-0.022559942677617073,
0.04591687396168709,
-0.049430157989263535,
-0.10101208835840225,
-0.016565479338169098,
0.08186765015125275,
0.035234663635492325,
0.03030327335000038,
0.023091178387403488,
0.022623131051659584,
0.030225899070501328,
-0.02835560217499733,
-0.009852335788309574,
-0.008419288322329521,
0.0435863696038723,
-0.024459265172481537,
-0.02428404428064823,
-0.02271578647196293,
-0.053655389696359634,
-0.12973113358020782,
-0.052153926342725754,
0.01125753577798605,
-0.012796643190085888,
-0.028407646343111992,
0.05211028829216957,
0.05273192375898361,
-0.047132477164268494,
0.016726233065128326,
-0.031022638082504272,
0.008642046712338924,
0.06955156475305557,
-0.022709956392645836,
0.021725310012698174,
0.08312925696372986,
0.02010740339756012,
-0.049873918294906616,
0.09234312176704407,
0.05570784583687782,
0.01497342623770237,
0.0035098076332360506,
0.02272188290953636,
-0.05226237699389458,
-0.024142174050211906,
0.032451242208480835,
0.03985003009438515,
0.042144130915403366,
-0.029915370047092438,
-0.11383435130119324,
0.018043426796793938,
-0.08045554906129837,
0.05472242087125778,
-0.08311022818088531,
-0.021083906292915344,
0.07704716175794601,
-0.059410274028778076,
0.03618445247411728,
0.020890196785330772,
-0.028646983206272125,
-0.07163210958242416,
0.04828367009758949,
-0.038848426192998886,
0.07843483984470367,
-0.044891562312841415,
0.047064073383808136,
-0.012058736756443977,
-0.06960844248533249,
-0.011341032572090626,
0.054525528103113174,
-0.021380549296736717,
0.013761340640485287,
-0.07496243715286255,
0.026272838935256004,
-0.003674250328913331,
-0.008720653131604195,
-0.07851072400808334,
-0.07640544325113297,
0.042080797255039215,
0.03515811637043953,
-0.044207729399204254,
0.030299298465251923,
0.0350194051861763,
0.013388670980930328,
-0.01523229293525219,
-0.06615204364061356,
0.0689675584435463,
0.015083393082022667,
-0.04787172004580498,
0.037801966071128845,
0.0509757474064827,
0.06904661655426025,
0.04046748951077461,
-0.032160867005586624,
0.0014019772643223405,
0.055736441165208817,
-0.04920298606157303,
0.03272561356425285,
0.040775563567876816,
-0.06502579897642136,
0.005132202059030533,
-0.059952303767204285,
-0.05723678693175316,
-0.0003639677306637168,
-0.06494685262441635,
-0.015638506039977074,
0.03998854011297226,
-0.028932757675647736,
0.04894958809018135,
-0.06755151599645615,
-0.05731722339987755,
0.14395755529403687,
0.04787151515483856,
-0.0015326752327382565,
0.05417461320757866,
0.006888526026159525,
0.04822734743356705,
-0.022622711956501007,
0.017851486802101135,
0.0664244294166565,
0.011999819427728653,
-0.055737197399139404,
-0.025684885680675507,
0.04690934345126152,
0.038088519126176834,
-0.0826132670044899,
-0.03158226236701012,
-0.01501082256436348,
-0.008443399332463741,
-0.00826272927224636,
0.01998263970017433,
-0.022298404946923256,
0.023301761597394943,
0.01733393967151642,
0.11262725293636322,
0.013039689511060715,
0.014046447351574898,
-0.024643033742904663,
-0.001278464449569583,
0.03909552842378616,
0.03963598608970642,
0.12080297619104385,
0.07173343747854233,
-0.032149992883205414,
-0.0194342453032732,
-0.05330546200275421,
0.04906881973147392,
0.01883786730468273,
-0.07989799976348877,
-0.042450807988643646,
0.09790685772895813,
-0.014749966561794281,
0.008909321390092373,
-0.053298674523830414,
-0.026595309376716614,
0.04157659411430359,
0.027237648144364357,
-0.019712043926119804,
-0.03367552533745766,
0.01570008508861065,
0.08199869841337204,
-0.02638169378042221,
-0.06865370273590088,
0.016962599009275436,
-0.08674407750368118,
0.07484199851751328,
0.030881009995937347,
-0.025849441066384315,
0.008829996921122074,
0.049726273864507675,
0.006405350286513567,
0.025445489212870598,
-0.03370692580938339,
0.04460355266928673,
0.01920917071402073,
-0.005586328450590372,
-0.040866218507289886,
-0.05263189971446991,
-0.010088724084198475,
-0.050855305045843124,
0.00012613194121513516,
0.033203572034835815,
-0.04226255789399147,
0.06049231067299843,
0.0059913089498877525,
-0.013743815943598747,
0.023570995777845383,
0.009543078020215034,
0.04174043610692024,
0.01967422291636467,
0.007427508942782879,
-0.022544384002685547,
-0.04176724702119827,
0.008699575439095497,
0.008663829416036606,
-0.03635440021753311,
0.01656019687652588,
0.04401341453194618,
0.04612775146961212,
-0.0002950387424789369,
-0.0026551506016403437,
-0.014226073399186134,
-0.043439943343400955,
0.024747705087065697,
0.021410943940281868,
0.06925807148218155,
-0.016147274523973465,
-0.029360676184296608,
0.0377483144402504,
0.01033887267112732,
-0.02076018415391445,
0.0031587800476700068,
0.023581039160490036,
0.05938395857810974,
0.001923194620758295,
0.05324966832995415,
0.017228271812200546,
-0.02397257275879383,
-0.008026214316487312,
-0.0008087822352536023,
0.004357325844466686,
0.0573401115834713,
-0.09556368738412857,
-0.010380761697888374,
-0.0051834299229085445,
0.03893932327628136,
-0.015955476090312004,
-0.041474130004644394,
0.04464293271303177,
-0.01400732435286045,
0.017358675599098206,
0.04405466467142105,
0.04457012191414833,
0.010275224223732948,
0.017304012551903725,
0.023947574198246002,
0.016081959009170532,
0.014084521681070328,
-0.02700851298868656,
-0.01948849856853485,
0.06250560283660889,
0.016035065054893494,
-0.020687278360128403,
0.00021895360259804875,
0.010362975299358368,
-0.0604657307267189,
-0.0014840963995084167,
-0.0052286675199866295,
0.0327494740486145,
-0.00335828959941864,
0.00016782691818661988,
-0.030709270387887955,
-0.010650323703885078,
-0.016313988715410233,
-0.024717016145586967,
-0.019035326316952705,
-0.057640440762043,
-0.029458587989211082,
-0.048278093338012695,
-0.03379499912261963,
0.01270737312734127,
0.04003292694687843,
0.012846378609538078,
0.07036048918962479,
0.006760500371456146,
-0.015033339150249958,
0.018977222964167595,
-0.021157577633857727,
0.008613169193267822,
0.01913842000067234,
0.020513473078608513,
-0.0032730968669056892,
0.0017096279188990593,
-0.0019099301425740123,
-0.017902426421642303,
0.06648998707532883,
0.0048254732973873615,
-0.00851021334528923,
0.014353844337165356,
0.040485214442014694,
-0.061103928834199905,
-0.021967671811580658,
-0.0703318640589714,
0.005039343610405922,
-0.016317980363965034,
-0.028644921258091927,
-0.02280513197183609,
0.05429736152291298,
-0.018844421952962875,
0.03808899596333504,
0.004648513626307249,
0.03102625533938408,
-0.03052358701825142,
0.003587010782212019,
-0.011692758649587631,
0.005027384497225285,
-0.00455882865935564,
-0.012660344131290913,
-0.031287580728530884,
-0.02525976300239563,
0.07091721892356873,
-0.036690060049295425,
-0.02859599143266678,
0.008857575245201588,
0.0019492949359118938,
0.005930671934038401,
-0.05540432780981064,
0.009271477349102497,
-0.013646776787936687,
-0.004912910517305136,
-0.007175948470830917,
0.0010211814660578966,
0.047059424221515656,
-0.014428947120904922,
-0.009757977910339832,
0.013318034820258617,
-0.036953460425138474,
0.021280189976096153,
0.02334340661764145,
0.01773197390139103,
-0.03338281437754631,
0.024259328842163086,
-0.002805376658216119,
-0.01766252890229225,
0.01891312561929226,
-0.008920449763536453,
0.040803346782922745,
0.06439228355884552,
-0.025029350072145462,
-0.03071502037346363,
-0.003644434968009591,
-0.010907785966992378,
-0.04345414787530899,
-0.042332228273153305,
0.013676401227712631,
-0.0015623224899172783,
0.069559246301651,
0.008396751247346401,
-0.028069475665688515,
-0.051474738866090775,
-0.026705527678132057,
0.00784849002957344,
-0.02290622889995575,
0.004371133632957935,
0.0013310716021806002,
-0.023265991359949112,
0.019748063758015633,
0.023674344643950462,
-0.03552752733230591,
0.01231421809643507,
-0.02142399176955223,
-0.018292123451828957,
-0.02524372935295105,
0.032041072845458984,
0.08210130035877228,
0.00735677033662796,
-0.0043380833230912685,
-0.025937143713235855,
0.0016929698176681995,
0.017864204943180084,
0.044548895210027695,
-0.01094631664454937,
0.023324863985180855,
0.01632717438042164,
-0.0015571637777611613,
-0.04257453605532646,
0.018022283911705017,
0.025959039106965065,
-0.00015250049182213843,
0.02078101597726345,
-0.03741159662604332,
0.0031828731298446655,
0.03804269805550575,
-0.02209928259253502,
-0.05106300115585327,
-0.009827408008277416,
-0.017334196716547012,
-0.01889411360025406,
-0.007937513291835785,
0.013072041794657707,
-0.014803591184318066,
0.007275780197232962,
-0.010867072269320488,
0.007136673200875521,
-0.01886744238436222,
0.044545095413923264,
-0.011167846620082855,
-0.00364256021566689,
0.01989159733057022,
-0.02404097653925419,
-0.008027124218642712,
-0.029025791212916374,
0.004055064637213945,
-0.03695306554436684,
0.02964242734014988,
-0.035916272550821304,
-0.01753740943968296,
0.0379982553422451,
0.05413270741701126,
-0.002894496778026223,
0.04038054868578911,
0.013248116709291935,
-0.017016183584928513,
0.016952207311987877,
0.03379911929368973,
-0.017577603459358215,
-0.010201472789049149,
0.030548840761184692,
0.020859675481915474,
0.05568386986851692,
0.032892655581235886,
0.002731025218963623,
-0.0007207327871583402,
0.008017225190997124,
0.010430444031953812,
-0.03009985014796257,
-0.010080748237669468,
0.0073720794171094894,
-0.006363831460475922,
0.031737059354782104,
-0.030200747773051262,
-0.016304614022374153,
0.010320436209440231,
0.052614182233810425,
0.0006906634080223739,
-0.032664429396390915,
0.028427835553884506,
0.0024298978969454765,
-0.017924755811691284,
-0.005818832665681839,
0.03129628300666809,
-0.0439230315387249,
-0.013107884675264359,
-0.011377142742276192,
-0.0384976789355278,
-0.014303209260106087,
0.030244847759604454,
-0.03982393443584442,
-0.05838703364133835,
0.004801316186785698,
0.002887960057705641,
0.024275530129671097,
0.006307485979050398,
-0.024390116333961487,
-0.056480515748262405,
0.015762679278850555,
0.006581159774214029,
-0.0418136827647686,
0.007991808466613293,
0.020218322053551674,
-0.007893185131251812,
-0.005363708361983299,
0.009770331904292107,
0.003931676968932152,
-0.00891958549618721,
0.010995283722877502,
0.027336295694112778,
-0.010735036805272102,
-0.06641779094934464,
0.021671071648597717,
-0.008131232112646103,
-0.036875855177640915,
-0.005928798578679562,
-0.010335576720535755,
-0.007675073109567165,
0.039131902158260345,
-0.009025861509144306,
0.014179403893649578,
0.04660189151763916,
-0.026270516216754913,
0.008917821571230888,
-0.0029447716660797596,
-0.025833072140812874,
0.020230749621987343,
0.045965831726789474,
0.042628295719623566,
0.007688500452786684,
0.0008653912227600813,
0.03781895712018013,
0.03177877515554428,
0.00231309630908072,
-0.0247087012976408,
0.044121723622083664,
-0.03986242040991783,
-0.008660374209284782,
0.033821020275354385,
-0.02848370000720024,
0.014995424076914787,
0.006695323623716831,
-0.015474915504455566,
0.016919869929552078,
0.012479094788432121,
0.04886262118816376,
0.031389039009809494,
0.011810421012341976,
0.013057666830718517,
-0.030861319974064827,
-0.02488253451883793,
-0.003512471914291382,
0.07752630859613419,
0.019213207066059113,
-0.00965158548206091,
0.01982547715306282,
0.011446574702858925,
0.06417957693338394,
-0.004757043905556202,
0.03883005678653717,
-0.019658494740724564,
0.08087722212076187,
0.00718079786747694,
0.035061314702034,
0.004920261446386576,
-0.018815122544765472,
0.025775747373700142,
-0.050566088408231735,
-0.013555259443819523,
0.0040347762405872345,
0.00005192563548916951,
0.01922854408621788,
0.006536936387419701,
-0.005152237135916948,
-0.02629849687218666,
0.06513191014528275,
0.05730888620018959,
0.02339809387922287,
0.02510341815650463,
-0.0025386351626366377,
0.025944959372282028,
0.031940918415784836,
0.014737449586391449,
0.00996772013604641,
-0.00366450403816998,
-0.004135665483772755,
0.024977805092930794,
0.02474735490977764,
0.022161033004522324,
-0.0005282965721562505,
-0.022986145690083504,
0.018712041899561882,
-0.03620792180299759,
-0.00382050359621644,
0.0017120728734880686,
0.01638166420161724,
-0.011854640208184719,
-0.010805800557136536,
0.027761394158005714,
0.00045465779840014875,
-0.010097826831042767,
-0.0037646915297955275,
-0.0044316682033240795,
-0.011846339330077171,
0.03919396549463272,
-0.005578202195465565,
0.025343967601656914,
0.024117933586239815,
-0.06790409982204437,
0.02172759175300598,
-0.01183148380368948,
0.040339648723602295,
-0.01642812043428421,
0.012198259122669697,
-0.01906539313495159,
-0.035165172070264816,
-0.002769147278741002,
-0.00442435871809721,
0.03896611928939819,
-0.027895968407392502,
0.0034254509955644608,
-0.0028378835413604975,
0.016978589817881584,
0.009548893198370934,
0.033621106296777725,
0.006144842132925987,
-0.006336994469165802,
-0.04291440173983574,
0.01952233351767063,
-0.024344943463802338,
-0.012546161189675331,
-0.017338396981358528,
-0.015394325368106365,
-0.06328476965427399,
0.002112539252266288,
0.03569144010543823,
-0.004282020032405853,
0.019958890974521637,
-0.05079411342740059,
-0.04234087094664574,
-0.021375766023993492,
-0.020755331963300705,
0.021779311820864677,
0.03436742350459099,
0.00767970085144043,
0.0070725311525166035,
0.016139551997184753,
-0.003433922538533807,
-0.0010683633154258132,
-0.029439060017466545,
0.016989825293421745,
0.05171595513820648,
0.021763266995549202,
-0.032437872141599655,
-0.017315655946731567,
0.07998104393482208,
0.031474605202674866,
0.04018844664096832,
0.04060860350728035,
-0.001119418884627521,
0.034153636544942856,
-0.030822210013866425,
0.010864353738725185,
-0.047863274812698364,
0.02336205169558525,
-0.02397378720343113,
-0.02985251694917679,
0.004070627968758345,
-0.0004563277179840952,
0.009892190806567669,
-0.012772489339113235,
-0.01985168270766735,
-0.011602813377976418,
-0.01863129623234272,
-0.022463632747530937,
-0.05980508401989937,
0.05594732612371445,
0.03007569909095764,
0.03936857357621193,
-0.004429786931723356,
-0.01011605653911829,
-0.04442490264773369,
0.0022218970116227865,
0.03748112544417381,
0.021434633061289787,
0.03280654177069664,
-0.03849067538976669,
0.00576095562428236,
-0.015625271946191788,
-0.01919168047606945,
-0.0032468228600919247,
-0.03487659990787506,
-0.012907708063721657,
-0.005681647453457117,
-0.02457910217344761,
-0.06025386229157448,
0.016172189265489578,
0.013063023798167706,
-0.02244679629802704,
0.009051468223333359,
0.013083100318908691,
-0.0011019061785191298,
-0.043493904173374176,
-0.013121124356985092,
-0.0686890110373497,
0.026479866355657578,
-0.048629648983478546,
0.04521391540765762,
0.01473165675997734,
0.007926867343485355,
-0.02818829007446766,
-0.003933809231966734,
0.013844193890690804,
0.024171818047761917,
-0.0022970824502408504,
0.005753528326749802,
-0.04593171924352646,
-0.011703639291226864,
0.04298805072903633,
-0.01915394328534603,
-0.06108921766281128,
0.0018181586638092995,
-0.005800665356218815,
-0.01617351546883583,
0.005566687323153019,
0.018524054437875748,
0.012005463242530823,
-0.016022002324461937,
-0.014573493041098118,
-0.012685345485806465,
0.0008578900014981627,
-0.01972283236682415,
-0.030481087043881416,
0.03337736055254936,
0.008898500353097916
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Text-conditioned models demand the right prompts There might be cases in which we want to evaluate text-conditioned models such as [OWL-ViT](https://huggingface.co/google/owlvit-base-patch32), which can receive a text prompt and provide the location of the desired object. For such models, different prompts (e.g. "Find the dog" and "Where's the bulldog?") may result in the same results. However, we decided to follow the procedure described in each paper. For the OWL-ViT, for instance, we predict the objects by using the prompt "an image of a {}" where {} is replaced with the benchmarking dataset's classes. | [
0.035067375749349594,
-0.08846276253461838,
-0.034447044134140015,
0.03170991316437721,
0.024255434051156044,
0.07114602625370026,
0.021024806424975395,
0.05355957895517349,
-0.01605788618326187,
0.003344822209328413,
-0.08638426661491394,
0.028054894879460335,
-0.016065167263150215,
-0.0153419841080904,
-0.03987526893615723,
-0.04007123410701752,
0.1001448705792427,
0.0004842861380893737,
-0.03414199501276016,
0.00632778974249959,
0.03607458248734474,
-0.06715589761734009,
0.03831174969673157,
-0.0010963698150590062,
-0.009449606761336327,
-0.08942677825689316,
0.03406159579753876,
-0.03901433199644089,
-0.032675351947546005,
0.004760898184031248,
-0.0855846032500267,
0.02248961292207241,
-0.0196586474776268,
-0.07767083495855331,
-0.018892716616392136,
0.03885262832045555,
-0.0771959200501442,
0.02006034180521965,
0.02317223884165287,
-0.03449435904622078,
-0.0888904258608818,
-0.049400098621845245,
0.009146658703684807,
-0.0010120979277417064,
0.0034256852231919765,
-0.058566316962242126,
-0.15679945051670074,
0.06489523500204086,
-0.017394572496414185,
-0.022728683426976204,
-0.09378610551357269,
0.06276293098926544,
-0.024672817438840866,
-0.011380834504961967,
0.018373161554336548,
-0.03648032620549202,
-0.005787096917629242,
-0.14768625795841217,
0.07054110616445541,
-0.02318904548883438,
0.016009492799639702,
-0.013643289916217327,
0.010627835057675838,
0.06828185170888901,
-0.0001630376500543207,
0.026180071756243706,
-0.016362808644771576,
-0.027086837217211723,
-0.04774593189358711,
0.005421740002930164,
0.005679890979081392,
0.014135990291833878,
-0.01925777643918991,
0.01742817647755146,
-0.008134452626109123,
0.00033908995101228356,
-0.0020251122768968344,
0.07358084619045258,
-0.037789978086948395,
0.04758405685424805,
-0.011354939080774784,
-0.05676659196615219,
0.029945841059088707,
-0.02012575790286064,
0.02840227074921131,
0.08826199918985367,
0.01667965203523636,
-0.037218645215034485,
-0.061419159173965454,
0.010328661650419235,
-0.0138816237449646,
-0.10777349025011063,
-0.027319537475705147,
0.038589589297771454,
0.05869665741920471,
0.03514176979660988,
0.048742882907390594,
-0.012736596167087555,
-0.00770691828802228,
-0.0344097837805748,
-0.04385219141840935,
-0.04021357372403145,
0.07099778950214386,
-0.0657137930393219,
-0.07651029527187347,
-0.011128847487270832,
-0.05962781608104706,
-0.0855417475104332,
-0.049038030207157135,
0.010251346975564957,
0.001059341011568904,
-0.050858017057180405,
0.06257253140211105,
0.08652658760547638,
0.021809304133057594,
0.009763735346496105,
0.0037769668269902468,
0.00788120087236166,
-0.031034784391522408,
0.037952620536088943,
0.03646211698651314,
0.06715153902769089,
0.0958300456404686,
-0.0055320668034255505,
0.020000379532575607,
0.08889683336019516,
-0.02621648646891117,
0.012388591654598713,
-0.0008163161692209542,
-0.02734091691672802,
0.04195500910282135,
-0.005987314973026514,
0.002756641246378422,
0.05490073561668396,
0.032177701592445374,
-0.0008516850648447871,
0.003095948603004217,
-0.0871746689081192,
0.044290460646152496,
-0.04148639366030693,
-0.02079571783542633,
0.004993682727217674,
-0.009975304827094078,
-0.007167935371398926,
0.07880114763975143,
-0.037236347794532776,
-0.03876308351755142,
0.041565075516700745,
-0.021559903398156166,
0.03312705084681511,
-0.028811734169721603,
0.041741494089365005,
-0.027105828747153282,
-0.03130462393164635,
-0.02608376555144787,
0.0499081015586853,
0.0001674340310273692,
0.028857868164777756,
-0.05643300712108612,
-0.033557429909706116,
-0.02742801234126091,
0.06241514906287193,
-0.02475324273109436,
0.0023022270761430264,
0.0029247619677335024,
-0.04581570252776146,
0.020107470452785492,
0.03851992264389992,
0.011702438816428185,
0.02297119051218033,
0.06047317385673523,
-0.07861343026161194,
0.07605239748954773,
-0.009131748229265213,
0.05704871192574501,
0.033278223127126694,
0.0493524894118309,
-0.052642837166786194,
0.026867713779211044,
0.004848704673349857,
-0.06452356278896332,
-0.010758288204669952,
0.031788937747478485,
0.01889437437057495,
0.06758846342563629,
-0.053099486976861954,
0.05190641060471535,
-0.03015422821044922,
0.020634548738598824,
-0.03689853847026825,
-0.058389339596033096,
0.025435777381062508,
0.10555876791477203,
0.04222950339317322,
-0.013021145015954971,
-0.07784856855869293,
-0.09238164871931076,
0.06616269052028656,
0.05545120686292648,
0.04047439247369766,
0.06564909964799881,
-0.016034161671996117,
0.03929635137319565,
-0.04328920692205429,
-0.01991797611117363,
0.013420590199530125,
-0.01871710829436779,
-0.030837519094347954,
-0.03468969464302063,
0.09574992209672928,
0.025514282286167145,
-0.062301404774188995,
0.01005458738654852,
-0.016983147710561752,
-0.017263080924749374,
-0.014118962921202183,
-0.013319220393896103,
0.0181115735322237,
-0.024034101516008377,
-0.06307918578386307,
0.08164581656455994,
0.024138720706105232,
-0.002872460288926959,
-0.08356650918722153,
-0.011385617777705193,
0.021905841305851936,
-0.021895011886954308,
0.08853243291378021,
0.06797510385513306,
-0.09945940226316452,
-0.028490208089351654,
-0.02991863712668419,
0.014483928680419922,
0.03200420364737511,
-0.019406117498874664,
-0.02192634530365467,
0.06623043864965439,
-0.015365241095423698,
0.02752303145825863,
-0.018420524895191193,
0.01756862923502922,
-0.010563502088189125,
-0.026688579469919205,
0.07903855293989182,
0.01953611709177494,
-0.0854203924536705,
0.03983713686466217,
0.02383524738252163,
-0.0883103460073471,
0.006682143546640873,
-0.1277712881565094,
0.013478142209351063,
-0.03260001167654991,
-0.03356511518359184,
-0.017470574006438255,
0.04378804191946983,
-0.028291834518313408,
0.039857860654592514,
-0.007579806260764599,
0.03807403892278671,
-0.007110485341399908,
-0.02144012600183487,
0.010446541011333466,
-0.051211562007665634,
-0.018404869362711906,
-0.04895852506160736,
0.021715501323342323,
-0.01594289019703865,
0.014307117089629173,
-0.012456720694899559,
-0.0198515597730875,
-0.030038464814424515,
0.010684112086892128,
0.0362960584461689,
-0.006633196957409382,
0.047483835369348526,
0.007933772169053555,
0.0036826308351010084,
0.010426215827465057,
-0.02679567039012909,
-0.012310092337429523,
-0.032335199415683746,
0.028310958296060562,
0.0376608707010746,
0.03594426065683365,
-0.04219500347971916,
0.030742868781089783,
-0.009067787788808346,
-0.028253953903913498,
0.021382823586463928,
-0.0021864178124815226,
0.034035488963127136,
0.003489771159365773,
0.005191413685679436,
-0.019062267616391182,
0.04456505551934242,
0.03252800554037094,
0.0005203505861572921,
-0.03153816983103752,
0.02203565277159214,
0.005472084973007441,
0.008567523211240768,
-0.00959839578717947,
-0.023923160508275032,
0.010442216880619526,
0.047270793467760086,
0.005183123983442783,
0.048778388649225235,
-0.0820835754275322,
-0.03053392469882965,
0.01798284985125065,
0.004802481736987829,
-0.00834421906620264,
-0.010930614545941353,
0.021321866661310196,
-0.019569631665945053,
-0.0017973223002627492,
-0.004791323561221361,
0.018070267513394356,
-0.012359900400042534,
0.021204067394137383,
0.0023831569124013186,
-0.0027034333907067776,
0.017277592793107033,
0.013993392698466778,
0.007127067539840937,
0.05398919805884361,
0.017888832837343216,
-0.05169612914323807,
0.015277093276381493,
0.018232909962534904,
-0.00262275617569685,
-0.03315218910574913,
0.0029486047569662333,
0.04332559183239937,
0.025648802518844604,
0.030112167820334435,
-0.07777394354343414,
0.00172686786390841,
-0.03679640218615532,
-0.03743090108036995,
0.02718275785446167,
-0.014088344760239124,
0.04934703931212425,
0.00614298926666379,
0.03750472888350487,
0.007330393884330988,
0.04372958466410637,
-0.001400040346197784,
0.045115452259778976,
0.03956937789916992,
0.018022114410996437,
0.01046986784785986,
-0.021791333332657814,
-0.025732913985848427,
0.030964085832238197,
0.017229264602065086,
-0.04288143292069435,
-0.05473536625504494,
0.0063402410596609116,
-0.005308045540004969,
0.06834959238767624,
0.046864062547683716,
-0.0022179223597049713,
-0.00551337655633688,
-0.00634464668110013,
0.01056821458041668,
-0.06546908617019653,
-0.017459820955991745,
0.015281005762517452,
-0.035004664212465286,
-0.05008051544427872,
0.009805036708712578,
0.043867431581020355,
0.03402265906333923,
0.04540141671895981,
0.034977227449417114,
-0.01858357898890972,
-0.011280902661383152,
0.009048281237483025,
-0.014106621034443378,
0.0031873947009444237,
-0.001847124774940312,
-0.03985906392335892,
0.0170802753418684,
-0.06157415360212326,
0.04847709462046623,
-0.003276896197348833,
0.0033984151668846607,
0.040242794901132584,
-0.026036003604531288,
0.0029504671692848206,
0.025141045451164246,
0.0026776138693094254,
0.046175312250852585,
-0.030029039829969406,
0.010097178630530834,
0.03775739297270775,
0.03779621422290802,
0.024054991081357002,
0.010446526110172272,
0.0036873670760542154,
-0.005719728767871857,
-0.03663352504372597,
0.04115816950798035,
-0.00032473477767780423,
0.01801430806517601,
0.002787398174405098,
-0.014090828597545624,
-0.048987261950969696,
0.032619599252939224,
0.02103693224489689,
-0.014093578793108463,
-0.018587665632367134,
-0.033871956169605255,
0.004340535495430231,
0.006337203085422516,
-0.019988395273685455,
-0.00603911280632019,
-0.027715114876627922,
-0.006079209037125111,
-0.001682935399003327,
0.025411346927285194,
0.024157028645277023,
0.00913718156516552,
0.02184225060045719,
-0.00984286330640316,
0.01161973923444748,
-0.05072133615612984,
-0.002383718267083168,
-0.039197396486997604,
0.01932627521455288,
0.02024916186928749,
-0.008915655314922333,
-0.016357993707060814,
0.03374851495027542,
-0.0035756586585193872,
0.00285570090636611,
-0.02054416760802269,
-0.020227765664458275,
0.02447775937616825,
0.05753285810351372,
0.009324661456048489,
-0.03893320634961128,
-0.07096260040998459,
0.001259012264199555,
-0.036599695682525635,
-0.004539493937045336,
-0.016239937394857407,
-0.020432734861969948,
0.0018747547874227166,
-0.020636945962905884,
0.031021246686577797,
0.008752024732530117,
-0.03136029466986656,
0.004260442219674587,
-0.005548687186092138,
0.07151943445205688,
0.02116643637418747,
0.026670042425394058,
-0.07190154492855072,
0.03122255951166153,
0.049753978848457336,
-0.0333443321287632,
-0.04380028322339058,
-0.007355889771133661,
-0.001534277107566595,
0.07470585405826569,
0.008738965727388859,
0.015025634318590164,
0.016706574708223343,
0.010315921157598495,
0.0017356581520289183,
0.00035244604805484414,
0.013423732481896877,
-0.03573555871844292,
0.0007121945964172482,
-0.021504830569028854,
0.022513659670948982,
-0.008949821814894676,
0.034652601927518845,
0.005601248703896999,
-0.016543081030249596,
-0.012853911146521568,
0.06318799406290054,
-0.02079741656780243,
-0.01882985420525074,
0.014553834684193134,
-0.01702987775206566,
0.004654096905142069,
0.06981050223112106,
0.027934620156884193,
0.04659979045391083,
0.036885734647512436,
0.04787507653236389,
0.04692113772034645,
0.04355057701468468,
-0.0004362165927886963,
-0.010720175690948963,
0.016093416139483452,
0.007412082515656948,
-0.01909574307501316,
0.010807299986481667,
0.004854206461459398,
-0.009873809292912483,
0.008173068054020405,
-0.011754767969250679,
-0.004708732943981886,
0.04184182733297348,
0.01850162446498871,
-0.01711225137114525,
0.03166401386260986,
0.017514605075120926,
0.019266309216618538,
-0.01558268815279007,
0.0046575479209423065,
0.008110078983008862,
-0.0608421228826046,
0.008541984483599663,
-0.004913938231766224,
0.004047833848744631,
0.005771573167294264,
0.04049219191074371,
-0.05917269363999367,
-0.013293441385030746,
-0.03076171688735485,
0.007309851702302694,
0.043778274208307266,
-0.030241459608078003,
-0.03604044392704964,
-0.017862169072031975,
0.006108184345066547,
0.01656675525009632,
-0.02051868848502636,
0.02060997486114502,
0.009717460721731186,
0.03249417990446091,
0.030794601887464523,
-0.011387866921722889,
0.006084456108510494,
0.020887771621346474,
0.05429241433739662,
-0.0017923605628311634,
-0.03778238967061043,
-0.06935697793960571,
0.01401902548968792,
0.047029174864292145,
-0.024214012548327446,
0.035899385809898376,
-0.002719140611588955,
-0.02739259973168373,
-0.022644391283392906,
-0.030334828421473503,
0.0491933673620224,
0.04478811100125313,
0.023560231551527977,
-0.018089337274432182,
0.02259022369980812,
0.018457796424627304,
-0.01077127456665039,
-0.03570713475346565,
0.01002468541264534,
0.022654805332422256,
0.0018570501124486327,
0.06953359395265579,
-0.006149744614958763,
-0.01075938530266285,
0.040665194392204285,
0.008258861489593983,
-0.007273761555552483,
-0.04578423872590065,
0.07907083630561829,
-0.03560516610741615,
-0.005510140210390091,
0.00828775204718113,
-0.030814193189144135,
-0.02832897938787937,
0.01595170609652996,
0.03390929475426674,
-0.005044037476181984,
0.003624910721555352,
-0.02323918230831623,
0.02453753352165222,
-0.026456056162714958,
-0.016034815460443497,
0.0532415471971035,
0.01990002766251564,
0.017740515992045403,
0.022251585498452187,
0.0761779323220253,
0.01802997663617134,
0.00981176644563675,
-0.027275990694761276,
-0.027838850393891335,
0.05987548828125,
-0.03489542752504349,
0.024442777037620544,
0.00896164309233427,
-0.01551154162734747,
0.0029388449620455503,
-0.024616627022624016,
-0.01454218104481697,
-0.03788034990429878,
0.05851394310593605,
-0.029402954503893852,
0.0017940923571586609,
0.003076727269217372,
-0.08093152940273285,
0.020230775699019432,
0.0035845946986228228,
0.042238347232341766,
0.005986291449517012,
0.021958528086543083,
0.0015592316631227732,
-0.01950819045305252,
-0.0063011483289301395,
0.00254970439709723,
-0.03247349336743355,
-0.035401031374931335,
-0.002905728295445442,
0.01363721489906311,
0.020509023219347,
0.03011089190840721,
0.04319824278354645,
-0.035723861306905746,
-0.04134226217865944,
-0.01899011991918087,
0.03703266382217407,
0.027583898976445198,
-0.014386261813342571,
-0.026706887409090996,
0.012889936566352844,
-0.032246313989162445,
-0.01806028001010418,
0.015428521670401096,
0.005042359698563814,
0.003742573782801628,
0.0033472045324742794,
-0.01143730990588665,
0.04949929192662239,
0.016092805191874504,
-0.02491670474410057,
-0.012773701921105385,
0.024985644966363907,
0.03892255946993828,
-0.007960962131619453,
-0.039771370589733124,
0.015127389691770077,
-0.016087329015135765,
-0.03321525454521179,
0.038994062691926956,
0.03330613300204277,
0.032673321664333344,
-0.01862127147614956,
-0.031230691820383072,
0.019450657069683075,
-0.03368736058473587,
-0.0012793777277693152,
0.002116282470524311,
-0.0011383338132873178,
-0.00023429124848917127,
0.00097713153809309,
-0.020142557099461555,
-0.053089484572410583,
0.018701810389757156,
-0.053183212876319885,
-0.01511908508837223,
-0.0042138006538152695,
0.0511273555457592,
0.02695937268435955,
0.02612954005599022,
-0.04698701947927475,
0.02502836100757122,
-0.017136983573436737,
-0.01273275725543499,
0.012669658288359642,
0.0034190472215414047,
0.0259732436388731,
-0.0003785107401199639,
0.02062423899769783,
-0.014881424605846405,
-0.0035032210871577263,
-0.002806662814691663,
-0.007289581932127476,
0.03745687007904053,
-0.04207585006952286,
-0.04063368961215019,
-0.006859048269689083,
0.0440668947994709,
0.010793847031891346,
0.05997490510344505,
0.036718569695949554,
-0.008379028178751469,
-0.008863568305969238,
-0.025581423193216324,
0.0480492077767849,
-0.036166999489068985,
-0.010046500712633133,
-0.023208944126963615,
-0.040413014590740204,
-0.034048017114400864,
0.04243329539895058,
-0.0005176720442250371,
-0.00353081151843071,
-0.018096929416060448,
0.03175735101103783,
-0.03004673309624195,
0.002435405505821109,
-0.0011045861756429076,
0.0189407616853714,
0.03205815330147743,
-0.010438130237162113,
0.08223333209753036,
-0.02536572329699993,
0.017774924635887146,
-0.029615331441164017,
-0.0032222354784607887,
0.024422550573945045,
0.06235932186245918,
-0.003419836051762104,
-0.02718549408018589,
-0.03983438014984131,
-0.018161827698349953,
-0.04002662003040314,
-0.06349650025367737,
0.042177584022283554,
0.012891949154436588,
-0.013521388173103333,
-0.010858108289539814,
0.030303046107292175,
0.0447729267179966,
0.01893346942961216,
-0.008576741442084312,
0.009388035163283348,
0.0013995624613016844,
-0.017700232565402985,
0.019194988533854485,
-0.04770476371049881,
-0.013246532529592514,
-0.02738019824028015,
0.014555311761796474,
0.04313262924551964,
0.00949699617922306,
0.024706067517399788,
0.008583524264395237,
0.0005014537018723786,
0.04274198040366173,
-0.026263991370797157,
-0.0028010436799377203,
-0.002067702589556575,
-0.014509093016386032,
0.040443457663059235,
-0.03137510269880295,
-0.006738272961229086,
0.022428754717111588,
-0.004044028930366039,
-0.004402765538543463,
0.004534111823886633,
-0.004920754581689835,
0.03461684659123421,
0.024749362841248512,
0.010661298409104347,
-0.044009607285261154,
0.025250310078263283,
-0.009609280154109001,
0.011224542744457722,
-0.03194236755371094,
0.02377561666071415
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Conclusions In this post, we introduced the problem of Object Detection and depicted the main metrics used to evaluate them. As noted, evaluating object detection models may take more work than it looks. The particularities of each model must be carefully taken into consideration to prevent biased results. Also, each metric represents a different point of view of the same model, and picking "the best" metric depends on the model's application and the characteristics of the chosen benchmarking dataset. Below is a table that illustrates recommended metrics for specific use cases and provides real-world scenarios as examples. However, it's important to note that these are merely suggestions, and the ideal metric can vary based on the distinct particularities of each application. | Use Case | Real-world Scenarios | Recommended Metric | |----------------------------------------------|---------------------------------------|--------------------| | General object detection performance | Surveillance, sports analysis | AP | | Low accuracy requirements (broad detection) | Augmented reality, gesture recognition| AP@.5 | | High accuracy requirements (tight detection) | Face detection | AP@.75 | | Detecting small objects | Distant vehicles in autonomous cars, small artifacts in medical imaging | AP-S | | Medium-sized objects detection | Luggage detection in airport security scans | AP-M | | Large-sized objects detection | Detecting vehicles in parking lots | AP-L | | Detecting 1 object per image | Single object tracking in videos | AR-1 | | Detecting up to 10 objects per image | Pedestrian detection in street cameras| AR-10 | | Detecting up to 100 objects per image | Crowd counting | AR-100 | | Recall for small objects | Medical imaging for tiny anomalies | AR-S | | Recall for medium-sized objects | Sports analysis for players | AR-M | | Recall for large objects | Wildlife tracking in wide landscapes | AR-L | The results shown in our 🤗 [Object Detection Leaderboard](https://huggingface.co/spaces/hf-vision/object_detection_leaderboard) are computed using an independent tool [PyCOCOtools](https://github.com/cocodataset/cocoapi/tree/master/PythonAPI) widely used by the community for model benchmarking. We're aiming to collect datasets of different domains (e.g. medical images, sports, autonomous vehicles, etc). You can use the [discussion page](https://huggingface.co/spaces/hf-vision/object_detection_leaderboard/discussions) to make requests for datasets, models and features. Eager to see your model or dataset feature on our leaderboard? Don't hold back! Introduce your model and dataset, fine-tune, and let's get it ranked! 🥇 | [
0.014595595188438892,
-0.011506814509630203,
0.00892596784979105,
0.024432016536593437,
0.03481101989746094,
0.053058333694934845,
0.04464634880423546,
0.0263313427567482,
-0.0803951546549797,
-0.07083669304847717,
-0.03274838998913765,
0.05548597127199173,
-0.031983401626348495,
0.03340600058436394,
0.06794145703315735,
0.021344417706131935,
0.07588538527488708,
0.009581444784998894,
0.03233091160655022,
0.04128862917423248,
-0.006130233407020569,
-0.04870729520916939,
-0.00848193746060133,
-0.05000154674053192,
-0.01791912131011486,
-0.03712952882051468,
-0.03015116974711418,
0.025579212233424187,
-0.05173404514789581,
0.006671963259577751,
-0.13761329650878906,
0.0058366889134049416,
-0.009553670883178711,
-0.08476342260837555,
-0.04796699807047844,
-0.021096903830766678,
-0.051067888736724854,
0.0905047133564949,
0.03527427092194557,
-0.023979028686881065,
0.0330207385122776,
-0.04818753898143768,
-0.067947618663311,
-0.01927371881902218,
0.03529628366231918,
-0.07308511435985565,
-0.16567060351371765,
0.06796952337026596,
0.016621513292193413,
-0.015222630463540554,
-0.054916862398386,
0.06506523489952087,
-0.02643818035721779,
0.09471728652715683,
0.02779664844274521,
-0.01745784841477871,
0.04410063475370407,
-0.0702412948012352,
0.06403779983520508,
0.00701904809102416,
0.013462046161293983,
-0.03872591257095337,
0.04969742149114609,
-0.02223188988864422,
0.02734312042593956,
0.00343046011403203,
0.038430482149124146,
0.06854759156703949,
0.023047728464007378,
0.012154723517596722,
0.022757384926080704,
-0.055891621857881546,
-0.014582091942429543,
0.03963255509734154,
-0.04687266796827316,
-0.025420138612389565,
0.009087543934583664,
-0.035855941474437714,
0.007698541972786188,
-0.03852749243378639,
0.04026445001363754,
-0.026781175285577774,
0.06564421951770782,
0.013769703917205334,
0.006664176005870104,
-0.01741570048034191,
0.02889944612979889,
0.014508054591715336,
-0.033383507281541824,
0.11260217428207397,
-0.007172975689172745,
-0.09446319192647934,
0.033643390983343124,
0.06169547513127327,
0.024460704997181892,
-0.06147291138768196,
0.002593734534457326,
-0.03618292137980461,
0.05134056881070137,
-0.024321768432855606,
-0.04573716223239899,
-0.022239873185753822,
0.042547959834337234,
-0.03198704496026039,
-0.03600339964032173,
0.0004831909027416259,
-0.0165253859013319,
-0.06519677489995956,
-0.060010261833667755,
-0.018896684050559998,
-0.046413976699113846,
-0.012808547355234623,
-0.0031225227285176516,
0.03391876071691513,
-0.03921178728342056,
0.022760439664125443,
-0.03224055841565132,
0.014404251240193844,
0.037993431091308594,
0.038809776306152344,
0.005452543962746859,
0.13027822971343994,
-0.014753686264157295,
-0.031201889738440514,
-0.027236079797148705,
0.0008766537066549063,
0.028098274022340775,
0.04959278926253319,
-0.07855025678873062,
-0.005521321669220924,
0.0017512136837467551,
-0.02471190318465233,
-0.0062187141738832,
0.028553282842040062,
-0.01126159355044365,
-0.09180083125829697,
0.017156969755887985,
-0.05001002922654152,
0.034981995820999146,
-0.01570243015885353,
-0.02833659201860428,
-0.012138821184635162,
0.010461090132594109,
0.07188469916582108,
0.047139789909124374,
-0.05618290975689888,
-0.05171406641602516,
0.06113583594560623,
-0.010651487857103348,
-0.01477014645934105,
-0.06751158833503723,
0.088526651263237,
-0.070647694170475,
-0.05453300103545189,
-0.014093313366174698,
0.08180616796016693,
0.03482413664460182,
-0.01709200069308281,
-0.08048569411039352,
-0.022642605006694794,
-0.032817330211400986,
0.034336600452661514,
-0.07229550182819366,
-0.015129485167562962,
0.055578768253326416,
0.009421072900295258,
0.042177632451057434,
0.013325785286724567,
-0.03724214807152748,
0.03419248014688492,
-0.011627397499978542,
-0.03942950814962387,
0.079564668238163,
-0.03122481144964695,
-0.06994646042585373,
0.0407806858420372,
0.05601800978183746,
0.0023025718983262777,
-0.002861951943486929,
0.06441137194633484,
-0.06160484254360199,
0.05357695743441582,
-0.0403505377471447,
0.05197645723819733,
0.07673962414264679,
-0.0933120846748352,
0.06472329050302505,
0.012264788150787354,
-0.07075285166501999,
-0.016601884737610817,
-0.06863429397344589,
-0.031053459271788597,
0.021646378561854362,
-0.02726864442229271,
-0.01791556179523468,
-0.07788654416799545,
-0.03445311635732651,
0.09020376950502396,
0.0483747199177742,
-0.007165832910686731,
0.05287965014576912,
0.0023888538125902414,
0.07249478995800018,
-0.038515303283929825,
-0.035100944340229034,
-0.012358258478343487,
0.01662936992943287,
-0.020248016342520714,
-0.03561347350478172,
0.02353638969361782,
0.012583058327436447,
-0.13382753729820251,
-0.014070541597902775,
-0.03759210556745529,
-0.0011684121564030647,
0.01042691059410572,
0.03034048341214657,
0.01696874015033245,
0.013683930039405823,
-0.05841940641403198,
0.14033201336860657,
-0.03470495343208313,
0.0033295589964836836,
0.04554275423288345,
-0.03854694217443466,
0.030048618093132973,
0.05030270293354988,
0.07073650509119034,
0.06963703036308289,
-0.09984923899173737,
-0.007671135477721691,
-0.027039390057325363,
0.029584195464849472,
-0.016042249277234077,
-0.03097844123840332,
0.013506211340427399,
0.06075204908847809,
0.010366049595177174,
0.024503618478775024,
0.043086856603622437,
-0.04671235755085945,
-0.022168172523379326,
0.030023524537682533,
0.10155654698610306,
-0.0002592602977529168,
-0.0905776247382164,
0.07877759635448456,
0.03490308299660683,
-0.08857754617929459,
-0.04263515770435333,
-0.08828530460596085,
0.0310186967253685,
0.03568149730563164,
-0.026454927399754524,
0.05412987619638443,
-0.027911901473999023,
0.010028824210166931,
-0.0119319474324584,
-0.03585265576839447,
0.04465622082352638,
0.009532901458442211,
-0.02579406462609768,
0.022492501884698868,
-0.05495600402355194,
0.0019527109107002616,
-0.032616522163152695,
-0.010986131615936756,
0.034699514508247375,
-0.026541413739323616,
0.04714279994368553,
-0.0004433270951267332,
-0.010764782316982746,
0.04907619208097458,
0.009109627455472946,
-0.0003683466056827456,
0.010225913487374783,
0.0331205278635025,
-0.002250874415040016,
0.009445346891880035,
-0.017867086455225945,
-0.00440317252650857,
-0.006142427213490009,
0.041352249681949615,
0.03553670272231102,
0.02784947119653225,
-0.05504486337304115,
0.01857144944369793,
-0.0010736259864643216,
-0.05064752325415611,
0.03273782506585121,
-0.0006056681741029024,
0.02041068859398365,
-0.03139765188097954,
-0.03192562237381935,
0.003912271466106176,
0.009991630911827087,
-0.019374504685401917,
0.03521030768752098,
-0.04458211734890938,
-0.011646187864243984,
-0.04603028669953346,
0.011139112524688244,
-0.015537174418568611,
-0.03298419713973999,
-0.02069738134741783,
0.012816397473216057,
0.002038775710389018,
0.043837469071149826,
-0.1178889125585556,
-0.0019174828194081783,
0.011065272614359856,
0.07114438712596893,
-0.053523384034633636,
0.012904752045869827,
0.08289731293916702,
0.0067881322465837,
-0.026275208219885826,
0.027579568326473236,
0.0027508516795933247,
-0.014535470865666866,
0.0341540090739727,
0.016381455585360527,
0.028165506199002266,
0.035305920988321304,
0.008326562121510506,
-0.0009623709484003484,
0.029295535758137703,
0.009449660778045654,
-0.02685060165822506,
0.05055810883641243,
-0.005701891146600246,
-0.02178107760846615,
-0.06503420323133469,
0.02834870107471943,
0.0029949629679322243,
0.03366915509104729,
0.023457737639546394,
-0.01605488732457161,
-0.0036698973271995783,
0.0013634737115353346,
-0.05036123842000961,
0.008677167817950249,
-0.016956375911831856,
0.020061995834112167,
-0.007679417263716459,
0.0007773144752718508,
0.01702312007546425,
0.04334158077836037,
0.012091662734746933,
0.04362403601408005,
0.03160591423511505,
0.019257083535194397,
0.02843335270881653,
-0.02584800496697426,
0.04697376489639282,
-0.014176116324961185,
0.0365598127245903,
-0.035020168870687485,
-0.01929141767323017,
0.04925324767827988,
-0.012834208086133003,
0.06051390618085861,
0.003182303160429001,
0.011616069823503494,
0.010694945231080055,
0.013486270792782307,
0.0048666782677173615,
0.001013602246530354,
-0.010073302313685417,
0.022479429841041565,
-0.0005326317623257637,
-0.0038638028781861067,
-0.02455075830221176,
0.01710202358663082,
0.039416082203388214,
0.02247008867561817,
-0.03423762694001198,
0.038893673568964005,
-0.004388608504086733,
0.04122377559542656,
-0.0009386479505337775,
0.01068567018955946,
-0.020295551046729088,
0.00033998271101154387,
0.0009202657383866608,
0.003995331469923258,
0.026816578581929207,
0.016944140195846558,
-0.04607732594013214,
-0.027046706527471542,
-0.025850282981991768,
-0.025270842015743256,
0.004993446636945009,
0.025818170979619026,
0.024190930649638176,
0.00278206798247993,
0.007878698408603668,
0.07457553595304489,
0.05357262119650841,
0.004695890471339226,
0.009285125881433487,
0.009253980591893196,
0.004360462073236704,
0.006452088709920645,
0.03749948740005493,
-0.029422253370285034,
0.005201311316341162,
0.023661663755774498,
0.021415548399090767,
-0.0005722339847125113,
0.027607692405581474,
0.04707641527056694,
0.004155679605901241,
0.022268300876021385,
-0.00936382170766592,
-0.010882563889026642,
0.02199188806116581,
-0.035902950912714005,
-0.006472305860370398,
-0.006821345072239637,
0.015285413712263107,
-0.013941523618996143,
0.04297909885644913,
-0.009778611361980438,
-0.021788425743579865,
0.01299266703426838,
-0.015755558386445045,
0.012899544090032578,
-0.029510609805583954,
0.01747419498860836,
-0.049940429627895355,
-0.014048026874661446,
0.041296858340501785,
0.005265084095299244,
0.009121911600232124,
0.020547382533550262,
0.001664601149968803,
-0.04409346729516983,
-0.022441266104578972,
0.0023447019048035145,
0.023780517280101776,
0.026145564392209053,
0.003752327524125576,
0.017183268442749977,
-0.013931997120380402,
-0.008755216374993324,
0.02132214792072773,
-0.004039398860186338,
0.006989965680986643,
-0.024596843868494034,
0.014419684186577797,
0.017862888053059578,
-0.0016494839219376445,
-0.006793636828660965,
-0.02052515558898449,
-0.004548991098999977,
-0.02138986811041832,
0.01938638463616371,
0.029317324981093407,
-0.05718052014708519,
-0.03770092502236366,
0.027260668575763702,
0.01897362619638443,
-0.034232985228300095,
-0.0038562773261219263,
0.011547106318175793,
-0.016440151259303093,
0.027882611379027367,
0.01106306817382574,
0.007569171022623777,
-0.03165610507130623,
0.040059395134449005,
-0.027500994503498077,
-0.006089004222303629,
0.042451411485672,
-0.03276175633072853,
-0.023248592391610146,
-0.0030701863579452038,
0.021599669009447098,
-0.03844365105032921,
0.0067322286777198315,
-0.04504876583814621,
0.0017983457073569298,
0.02964981086552143,
0.012964501976966858,
-0.007291155867278576,
0.03283862769603729,
0.013941489160060883,
-0.039268482476472855,
0.011378305964171886,
0.01670256443321705,
0.004349503666162491,
0.014055484905838966,
0.007699964568018913,
0.03759995102882385,
0.055666591972112656,
0.03329036384820938,
0.03761471435427666,
0.011308236047625542,
0.000053328298236010596,
0.025628089904785156,
-0.010017330758273602,
0.03277815133333206,
-0.0074118077754974365,
0.01291348971426487,
0.009973229840397835,
-0.02663399465382099,
0.010196237824857235,
0.003036133013665676,
0.06265122443437576,
-0.013687919825315475,
0.018711118027567863,
-0.012433580122888088,
0.03713761642575264,
0.004366077948361635,
-0.03305937349796295,
0.04015538841485977,
-0.04400765895843506,
-0.008278070017695427,
-0.03994005545973778,
-0.046546608209609985,
0.01845310628414154,
-0.010328018106520176,
-0.04635971412062645,
-0.04726124182343483,
0.050224047154188156,
0.01609688438475132,
0.028231212869286537,
0.030333135277032852,
0.0038549306336790323,
-0.02404288947582245,
-0.0019285775488242507,
0.02636038139462471,
-0.04197540506720543,
-0.010998496785759926,
-0.0000949601162574254,
-0.01695786975324154,
0.024250447750091553,
-0.01996697299182415,
0.01201035175472498,
0.03745834901928902,
0.0376034677028656,
-0.0027171343099325895,
-0.002344711683690548,
-0.00042350118746981025,
0.019169354811310768,
0.014797988347709179,
0.0034919080790132284,
-0.027051512151956558,
0.01373385451734066,
0.0007471757126040757,
0.012147421017289162,
-0.06591656059026718,
0.026746172457933426,
0.04873126000165939,
-0.012165345251560211,
-0.022355657070875168,
-0.0029947629664093256,
-0.007682229392230511,
0.0211948249489069,
0.014794637449085712,
-0.004413912072777748,
0.034577421844005585,
0.019926737993955612,
0.012460561469197273,
-0.021935107186436653,
0.006350846495479345,
-0.012681115418672562,
0.022062048316001892,
-0.05410457402467728,
-0.002382216276600957,
0.0052791680209338665,
-0.08415701240301132,
0.01907965913414955,
0.0018760571256279945,
-0.04609895125031471,
0.0011959642870351672,
0.005857246927917004,
0.03820841759443283,
0.04606981948018074,
0.03199470788240433,
-0.0021186720114201307,
-0.023015622049570084,
-0.008887367323040962,
0.0035199765115976334,
0.061657458543777466,
-0.0016696774400770664,
0.00825405865907669,
0.025816859677433968,
0.009455029852688313,
0.07205431163311005,
-0.026421809569001198,
0.028291650116443634,
-0.021841801702976227,
0.05513501912355423,
0.0012989877723157406,
0.042360324412584305,
-0.008267134428024292,
-0.01242202427238226,
-0.0017294648569077253,
-0.04577169939875603,
0.014177803881466389,
-0.02322964370250702,
0.01353119034320116,
0.019110001623630524,
-0.026413867250084877,
-0.00011267870286246762,
-0.02669721655547619,
0.021561164408922195,
0.019368361681699753,
0.026048414409160614,
-0.0499248132109642,
0.019297674298286438,
0.0015736339846625924,
0.01415810827165842,
-0.013139428570866585,
0.024068761616945267,
0.007596894167363644,
-0.027368512004613876,
0.04299353063106537,
0.0256156288087368,
0.03749225288629532,
0.01618734747171402,
-0.0075508481822907925,
-0.03401734679937363,
-0.007752395700663328,
-0.00035117572406306863,
0.013166340067982674,
-0.010200803168118,
0.006416879594326019,
-0.010010050609707832,
0.00435218121856451,
-0.029373424127697945,
-0.024090368300676346,
0.007400013972073793,
-0.01475467812269926,
-0.011935082264244556,
0.006830387748777866,
0.0102787334471941,
0.06382139772176743,
-0.00869679730385542,
-0.03867630660533905,
0.039081014692783356,
0.01027012150734663,
0.01963198184967041,
0.025195857509970665,
-0.013956915587186813,
-0.045761775225400925,
-0.044524192810058594,
0.02885518968105316,
-0.00937601737678051,
0.011878609657287598,
-0.055647194385528564,
-0.024744592607021332,
-0.013902414590120316,
-0.01866009086370468,
-0.03826740011572838,
0.009269747883081436,
0.02056770771741867,
0.008434469811618328,
-0.006455811206251383,
0.057160884141922,
-0.045411333441734314,
0.005423801951110363,
-0.008244727738201618,
0.021592136472463608,
-0.022344393655657768,
-0.021651724353432655,
0.052311137318611145,
-0.0009525538189336658,
0.0323089174926281,
-0.022345425561070442,
-0.005510065238922834,
-0.04112686589360237,
-0.052319981157779694,
0.059259895235300064,
0.01992950029671192,
0.028582274913787842,
-0.0222458578646183,
0.028323153033852577,
-0.005127840209752321,
-0.001944066141732037,
-0.01635003462433815,
-0.024131692945957184,
0.02094821259379387,
-0.020012667402625084,
-0.02469787187874317,
-0.010385820642113686,
0.03726090118288994,
0.038602638989686966,
0.05810973793268204,
0.012694322504103184,
-0.004654403775930405,
0.01142722088843584,
-0.0010183095000684261,
0.038006532937288284,
-0.008556999266147614,
-0.011671763844788074,
-0.03422176092863083,
-0.014031941071152687,
-0.02009672485291958,
-0.016368098556995392,
-0.015073941089212894,
-0.03130645677447319,
-0.04789954796433449,
-0.011399948038160801,
-0.030107537284493446,
-0.010325523093342781,
-0.046958405524492264,
0.01218834612518549,
0.010707767680287361,
0.01757309027016163,
0.01747220754623413,
-0.022408394142985344,
-0.01002274826169014,
-0.00713215209543705,
-0.02630099654197693,
0.010599428787827492,
0.027488909661769867,
-0.013604831881821156,
-0.0002309574483660981,
-0.03179880976676941,
0.005595369264483452,
-0.008282867260277271,
-0.035245172679424286,
-0.021379178389906883,
0.07414503395557404,
0.004165968857705593,
-0.0010505259269848466,
0.0006367643945850432,
0.0209805890917778,
0.007851814851164818,
0.03939669206738472,
-0.03791491314768791,
0.00005082601637695916,
0.008007938973605633,
0.03236092999577522,
0.017910704016685486,
0.00398333091288805,
0.011114204302430153,
0.04403800889849663,
0.03702187165617943,
0.005445364862680435,
-0.02281140349805355,
0.011554524302482605,
0.020265577360987663,
0.023388883098959923,
-0.043377552181482315,
-0.02332502044737339,
-0.03951454907655716,
0.0217435322701931,
-0.007816369645297527,
0.0005793274031020701,
-0.04554491490125656,
0.03037259168922901,
0.001692358055151999,
-0.00533261988312006,
-0.03395003080368042,
-0.04177911579608917,
0.026870915666222572,
-0.014449109323322773,
0.014319279231131077,
-0.01900121010839939,
0.07959906756877899,
0.04375078156590462,
0.011715127155184746,
-0.004553867969661951,
-0.007614562287926674
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Additional Resources * [Object Detection Guide](https://huggingface.co/docs/transformers/tasks/object_detection) * [Task of Object Detection](https://huggingface.co/tasks/object-detection) * Paper [What Makes for Effective Detection Proposals](https://arxiv.org/abs/1502.05082) * Paper [A Comparative Analysis of Object Detection Metrics with a Companion Open-Source Toolkit](https://www.mdpi.com/2079-9292/10/3/279) * Paper [A Survey on Performance Metrics for Object-Detection Algorithms](https://ieeexplore.ieee.org/document/9145130) Special thanks 🙌 to [@merve](https://huggingface.co/merve), [@osanseviero](https://huggingface.co/osanseviero) and [@pcuenq](https://huggingface.co/pcuenq) for their feedback and great comments. 🤗
| [
0.02933359332382679,
-0.005939381662756205,
0.030265267938375473,
0.0042466274462640285,
0.07767175137996674,
0.037806615233421326,
0.003750931704416871,
0.06392285972833633,
-0.08575545996427536,
-0.05020975321531296,
-0.061370380222797394,
0.11726962774991989,
-0.012105254456400871,
0.04141271114349365,
0.04165264591574669,
0.016351565718650818,
0.0600808709859848,
0.0175666231662035,
0.014009556733071804,
0.033526089042425156,
-0.015099476091563702,
-0.030835021287202835,
0.03195924684405327,
-0.003755592741072178,
0.018204033374786377,
-0.05399521440267563,
0.016062352806329727,
-0.009156160056591034,
-0.03114478848874569,
0.058930087834596634,
-0.1364477276802063,
-0.025082187727093697,
0.05482834577560425,
-0.04847402125597,
-0.01630323752760887,
0.029378555715084076,
-0.09801692515611649,
0.01623811572790146,
0.029968397691845894,
0.0004598477389663458,
0.022122880443930626,
-0.044324181973934174,
-0.07222307473421097,
-0.0037764296866953373,
0.029712438583374023,
-0.05013792961835861,
-0.19270183145999908,
0.0761401355266571,
-0.008622577413916588,
-0.015198370441794395,
-0.03401612862944603,
0.07002681493759155,
0.0056524816900491714,
0.037702932953834534,
0.04455789178609848,
0.0012828987091779709,
0.012865868397057056,
-0.06126061826944351,
0.061870720237493515,
-0.027023769915103912,
0.04868633300065994,
-0.04529004544019699,
0.025547035038471222,
0.03114504925906658,
0.028544118627905846,
0.03914312273263931,
-0.001169053721241653,
0.046152226626873016,
-0.0009202021174132824,
-0.026084356009960175,
0.019059082493185997,
-0.05912306532263756,
-0.014565280638635159,
0.014791375957429409,
-0.024002915248274803,
-0.001362915150821209,
0.008662327192723751,
-0.022286158055067062,
0.031029867008328438,
0.015978118404746056,
0.026706799864768982,
-0.019197218120098114,
0.06245160102844238,
0.040246572345495224,
0.03045114316046238,
0.017674138769507408,
0.022461283951997757,
-0.019435781985521317,
-0.0823187381029129,
0.07535666972398758,
0.005146122071892023,
-0.0843372792005539,
0.025351867079734802,
0.035360559821128845,
0.06515086442232132,
-0.02604958415031433,
0.02482183650135994,
0.028326230123639107,
0.012900609523057938,
-0.0013884188374504447,
-0.028850408270955086,
-0.015030561946332455,
0.029264450073242188,
0.00006358724203892052,
-0.051597192883491516,
-0.027754830196499825,
-0.0006201827782206237,
-0.0861564576625824,
-0.06215839833021164,
0.033945973962545395,
-0.017379973083734512,
-0.02371993102133274,
-0.0018064089817926288,
0.06069394201040268,
-0.03153762221336365,
0.06711085885763168,
-0.04185253009200096,
-0.005873465910553932,
-0.01920698955655098,
0.07244587689638138,
0.0021999895107001066,
0.11605016887187958,
0.0053680697456002235,
0.0031813057139515877,
0.022598838433623314,
0.04014795646071434,
0.01909419521689415,
0.04801046848297119,
-0.045463062822818756,
-0.026542052626609802,
0.01661994867026806,
-0.05661001056432724,
0.06749285757541656,
-0.014355652965605259,
-0.020386163145303726,
-0.07736410200595856,
0.008557278662919998,
-0.05292489379644394,
0.0033749951981008053,
-0.010028304532170296,
-0.01920919306576252,
0.03487909585237503,
-0.014736701734364033,
0.02685319446027279,
0.0469086579978466,
-0.05680263414978981,
-0.08758996427059174,
0.06718164682388306,
-0.009716616943478584,
0.012721003033220768,
-0.04501421004533768,
0.07581166177988052,
-0.058582570403814316,
0.00930609367787838,
-0.01451867911964655,
0.07010257244110107,
0.01872129552066326,
-0.02722238376736641,
-0.09897953271865845,
-0.02316378802061081,
-0.04898638278245926,
-0.013188404962420464,
-0.02210858277976513,
-0.0007693378138355911,
0.0321490503847599,
-0.032106608152389526,
0.035304635763168335,
0.02026350237429142,
0.012158012017607689,
-0.012780128978192806,
-0.005082253832370043,
-0.0585562139749527,
0.05466950684785843,
-0.025837888941168785,
-0.03365670517086983,
0.05907154828310013,
0.006262782961130142,
0.03169051185250282,
0.010102874599397182,
0.03407192602753639,
-0.0573585145175457,
0.05422903597354889,
-0.03580043464899063,
0.05221804976463318,
0.08432929217815399,
-0.07398206740617752,
0.028166748583316803,
0.0238735843449831,
-0.05756412073969841,
-0.020868944004178047,
-0.07688186317682266,
-0.03287581354379654,
0.06313759088516235,
0.012456271797418594,
0.000008447943400824443,
-0.07047165930271149,
-0.023042289540171623,
0.13564245402812958,
0.05452573299407959,
0.02623053267598152,
0.035773519426584244,
0.012170910835266113,
0.07083195447921753,
-0.0005521028651855886,
-0.048402901738882065,
-0.00734537560492754,
0.016348302364349365,
-0.038315825164318085,
-0.019609419628977776,
-0.02347777597606182,
-0.009497343562543392,
-0.13947461545467377,
0.03733358159661293,
-0.03474429249763489,
0.011046740226447582,
-0.04126928374171257,
-0.007844886742532253,
-0.007454799022525549,
0.024312123656272888,
-0.07594187557697296,
0.15971140563488007,
-0.005873501300811768,
-0.039118438959121704,
0.025224866345524788,
-0.03659721836447716,
0.04944562539458275,
0.05864761769771576,
0.06665190309286118,
0.08406680822372437,
-0.10922705382108688,
0.0057553453370928764,
-0.04082843288779259,
-0.05610346794128418,
0.04737606272101402,
-0.042069219052791595,
-0.020979076623916626,
0.05999923124909401,
-0.019172312691807747,
0.04862826317548752,
0.021206077188253403,
-0.027784505859017372,
0.0005979218985885382,
0.0522361658513546,
0.07586715370416641,
0.014481856487691402,
-0.04061853885650635,
0.04065195843577385,
0.05274701863527298,
-0.04088154435157776,
0.004910109099000692,
-0.10409265756607056,
0.08960191905498505,
0.0314939022064209,
-0.0719442069530487,
0.04128149524331093,
0.014456367120146751,
-0.0003078334266319871,
-0.017943216487765312,
-0.032377708703279495,
0.044379156082868576,
0.006413406692445278,
-0.0014703955966979265,
-0.03716646879911423,
-0.05804731324315071,
-0.027481015771627426,
-0.02702455036342144,
-0.022828824818134308,
0.030189111828804016,
-0.01191805675625801,
0.05156468227505684,
0.004505879711359739,
0.0113063370808959,
0.01293299999088049,
0.0019813114777207375,
-0.014547835104167461,
-0.0034474730491638184,
0.04225108027458191,
0.010610925033688545,
-0.016623763367533684,
-0.008503402583301067,
-0.03469119220972061,
-0.0196380652487278,
0.04410603642463684,
0.050619903951883316,
0.019019493833184242,
-0.015859879553318024,
-0.0027461384888738394,
-0.024965140968561172,
-0.04800335690379143,
0.006220659241080284,
-0.021536540240049362,
0.0223606638610363,
-0.006814189255237579,
-0.05702050402760506,
-0.016697091981768608,
-0.00390946539118886,
-0.01213685143738985,
0.015726784244179726,
0.005500153638422489,
0.04684311896562576,
-0.00107392983045429,
0.022441402077674866,
-0.0021778701338917017,
-0.00888183992356062,
-0.026780100539326668,
0.05229061096906662,
0.012321659363806248,
0.04233434423804283,
-0.11998283118009567,
-0.022690778598189354,
-0.024143248796463013,
0.06588585674762726,
-0.04087568819522858,
-0.02777254953980446,
0.03939485922455788,
-0.00657469779253006,
0.0007959708455018699,
-0.010177133604884148,
0.01747874915599823,
-0.048144880682229996,
0.0304860882461071,
0.012785503640770912,
-0.006541375536471605,
-0.006984182633459568,
0.0030637390445917845,
-0.011488743126392365,
0.008183637633919716,
0.026662377640604973,
-0.035660918802022934,
0.029814885929226875,
-0.0006907994393259287,
0.0021546415518969297,
-0.030152320861816406,
0.014410263858735561,
0.007768255192786455,
0.025941435247659683,
0.046163253486156464,
-0.040074173361063004,
0.00019327951304148883,
0.012235875241458416,
-0.030290842056274414,
0.02904544770717621,
-0.010712889023125172,
0.02036445401608944,
-0.016902845352888107,
-0.0006341717089526355,
0.017664048820734024,
0.039419613778591156,
0.011366809718310833,
0.004451035987585783,
0.0210860688239336,
0.01327145379036665,
0.00766429677605629,
-0.012115919962525368,
0.01682678423821926,
-0.005214679054915905,
0.05230351909995079,
-0.02235715091228485,
-0.010264743119478226,
0.03235074132680893,
0.0065702167339622974,
0.045794203877449036,
0.0074424101039767265,
0.02602989599108696,
0.007507492788136005,
0.02398575283586979,
0.0039439392276108265,
-0.013635387644171715,
-0.0532863512635231,
0.027851620689034462,
-0.006963938940316439,
0.0013243360444903374,
-0.05501985549926758,
0.07156742364168167,
-0.0021830478217452765,
0.03147782012820244,
-0.03604428470134735,
0.030088068917393684,
-0.009059042669832706,
0.029855674132704735,
-0.0153100760653615,
0.003260877449065447,
-0.04325447231531143,
0.019041839987039566,
-0.0064101493917405605,
-0.016835875809192657,
0.06659207493066788,
0.025262245908379555,
-0.04495002701878548,
-0.05231200531125069,
-0.027640843763947487,
0.003180177416652441,
-0.006123314145952463,
0.033240754157304764,
0.00598122738301754,
-0.003184575354680419,
0.025356953963637352,
0.049764472991228104,
0.026553574949502945,
-0.019861210137605667,
0.008536144159734249,
-0.012719754129648209,
-0.009740041568875313,
0.028345515951514244,
0.04826930910348892,
-0.010489622130990028,
-0.009911589324474335,
0.013171077705919743,
0.03088976815342903,
0.0022491919808089733,
0.008194658905267715,
0.03411813825368881,
-0.015490668825805187,
0.02675085887312889,
-0.029480569064617157,
-0.03051184117794037,
0.03800240159034729,
-0.02119790017604828,
0.0008112035575322807,
-0.0400037057697773,
-0.02218245528638363,
-0.0340503491461277,
0.016507677733898163,
0.003959272522479296,
0.006160866469144821,
-0.013932417146861553,
-0.05845754221081734,
0.020022613927721977,
-0.021690374240279198,
0.0026818676851689816,
-0.03386784717440605,
-0.003787353402003646,
0.02735906094312668,
0.00033771415473893285,
0.0031124053057283163,
0.04622892662882805,
0.03335175663232803,
0.007219074293971062,
-0.03331487625837326,
-0.020460696890950203,
0.012829066254198551,
0.03454454615712166,
-0.01693209819495678,
0.03737432882189751,
-0.03365151584148407,
0.01605806313455105,
0.014524001628160477,
-0.020206771790981293,
0.026238061487674713,
0.011316530406475067,
0.025764944031834602,
-0.021056924015283585,
0.033522941172122955,
-0.015552118420600891,
-0.037075355648994446,
-0.020705988630652428,
-0.02214527130126953,
0.032656192779541016,
0.04102442413568497,
-0.031249292194843292,
-0.053794015198946,
0.05359044298529625,
0.03176746144890785,
-0.006956605240702629,
-0.011667221784591675,
0.010999674908816814,
-0.009593256749212742,
0.03407219797372818,
-0.043704625219106674,
0.019320789724588394,
-0.04358265921473503,
0.01709599234163761,
-0.02000770904123783,
0.004775092005729675,
-0.010602149181067944,
-0.06226442754268646,
0.015113439410924911,
-0.02711448259651661,
-0.025814317166805267,
-0.05176547169685364,
0.017836498096585274,
-0.01043577492237091,
-0.0034891387913376093,
0.07222814112901688,
0.021756360307335854,
0.013841030187904835,
0.019337082281708717,
0.01685296557843685,
-0.023699216544628143,
-0.00208649761043489,
0.04385353997349739,
-0.008090626448392868,
0.003630965482443571,
0.020804649218916893,
0.06038685888051987,
0.04625649377703667,
0.012280987575650215,
0.018670009449124336,
-0.012220230884850025,
-0.0029031673911958933,
0.038058292120695114,
-0.011808113195002079,
0.00941731408238411,
-0.04803989827632904,
0.02290995605289936,
0.01500733569264412,
-0.02700081467628479,
-0.006159375421702862,
0.013941541314125061,
0.059150829911231995,
-0.032648082822561264,
-0.001213491428643465,
-0.004049539566040039,
0.023790450766682625,
0.0005386703996919096,
-0.03538504242897034,
0.038456518203020096,
-0.03902031108736992,
-0.011408718302845955,
-0.009098445996642113,
-0.028332585468888283,
-0.020721271634101868,
-0.00735716987401247,
-0.056353017687797546,
-0.03438543528318405,
0.008986867032945156,
0.04766497388482094,
0.03674454987049103,
-0.01021499652415514,
0.028475526720285416,
-0.01676318049430847,
0.006042583845555782,
0.03813982009887695,
-0.00790469255298376,
0.006901891902089119,
-0.016102250665426254,
-0.02523100934922695,
-0.003077586879953742,
0.006507068406790495,
0.014468666166067123,
0.012817573733627796,
0.043093595653772354,
-0.0024078208953142166,
-0.0035177888348698616,
-0.041422244161367416,
0.012698124162852764,
0.03501228988170624,
0.01382710412144661,
0.0029181938152760267,
0.003095118561759591,
-0.01018715649843216,
0.012850652448832989,
-0.05441435053944588,
0.04588447883725166,
0.05536043271422386,
0.007417274173349142,
-0.01287674717605114,
-0.006130068097263575,
0.009974440559744835,
0.009756852872669697,
-0.0026169302873313427,
-0.025844421237707138,
0.03123878873884678,
0.00043943923083133996,
-0.030489712953567505,
0.004454379435628653,
-0.0055612483993172646,
0.005712882615625858,
0.010481588542461395,
-0.07597052305936813,
0.0229247584939003,
0.019028151407837868,
-0.06861008703708649,
0.022393912076950073,
-0.03852636739611626,
-0.03538164123892784,
0.015010605566203594,
0.018660178408026695,
0.003065654309466481,
0.03085547685623169,
0.05839501693844795,
0.005044206045567989,
-0.028695130720734596,
-0.008388418704271317,
0.011184999719262123,
0.06304167956113815,
0.02209540270268917,
0.029925961047410965,
0.021776879206299782,
0.02098478563129902,
0.049140091985464096,
-0.006968609057366848,
0.011670028790831566,
-0.01886081136763096,
0.05004370957612991,
0.012054945342242718,
0.059065043926239014,
0.023409772664308548,
-0.00656571239233017,
-0.02170318178832531,
-0.01928570866584778,
-0.002893581287935376,
-0.03133996203541756,
-0.00600624643266201,
0.028799867257475853,
-0.014683714136481285,
0.02129584737122059,
-0.0365314781665802,
0.01562715321779251,
0.017309153452515602,
0.010673913173377514,
-0.022053997963666916,
0.0008829244179651141,
0.029969472438097,
-0.004975070245563984,
-0.005390992853790522,
-0.014561465941369534,
-0.005656583700329065,
-0.0035729410592466593,
0.05546218529343605,
0.017296455800533295,
0.022112369537353516,
0.005878985393792391,
-0.035190895199775696,
0.030025728046894073,
-0.03958906978368759,
-0.0064399465918540955,
-0.007265727501362562,
0.009043383412063122,
-0.021647321060299873,
0.011009168811142445,
0.0224093496799469,
-0.04014952853322029,
-0.012766382656991482,
0.0058066206984221935,
-0.00396267743781209,
0.0023647998459637165,
-0.0003463960310909897,
0.014019803144037724,
0.06404745578765869,
0.011269008740782738,
0.0011188131757080555,
0.024339154362678528,
0.02742510661482811,
0.020065531134605408,
0.014153304509818554,
-0.03664740175008774,
-0.038854796439409256,
-0.04197501018643379,
-0.04193001613020897,
0.018599702045321465,
0.006213286891579628,
-0.034714676439762115,
-0.03657449781894684,
-0.009661808609962463,
0.0002961315622087568,
-0.03401269391179085,
0.02945134788751602,
0.007775550242513418,
0.014598025940358639,
-0.02693972736597061,
0.048926327377557755,
-0.007899019867181778,
0.0065187253057956696,
0.000626570952590555,
-0.011503239162266254,
-0.011300024576485157,
-0.03344586119055748,
0.019824668765068054,
0.019187718629837036,
0.026945162564516068,
-0.026778962463140488,
-0.022054394707083702,
0.00471181096509099,
-0.0470084473490715,
0.02239244058728218,
0.04639613628387451,
0.03962184116244316,
-0.01775994710624218,
0.006938305217772722,
-0.015748504549264908,
-0.007613873574882746,
-0.003514476353302598,
-0.02227676287293434,
0.05208501219749451,
-0.03977915272116661,
-0.03729802370071411,
-0.025231564417481422,
0.052513569593429565,
0.05175228416919708,
0.023684227839112282,
0.0364026315510273,
0.0035761187318712473,
-0.02023405022919178,
-0.04210972040891647,
0.02822655439376831,
0.01920313760638237,
-0.03142717108130455,
-0.05210542678833008,
-0.025749916210770607,
-0.02652934566140175,
0.004036491736769676,
-0.012839230708777905,
0.01136338897049427,
-0.03615344688296318,
-0.01599104329943657,
-0.025310344994068146,
-0.015317629091441631,
-0.042375508695840836,
0.017184458673000336,
0.04534600302577019,
0.03043648600578308,
0.024868512526154518,
-0.021383041515946388,
-0.014894146472215652,
-0.001722358982078731,
-0.021109141409397125,
0.00031117795151658356,
0.05296975001692772,
0.010987859219312668,
0.0027401307597756386,
-0.048057299107313156,
0.0039507015608251095,
0.015508227050304413,
-0.040939148515462875,
-0.013871110044419765,
0.04343722015619278,
0.010997647419571877,
-0.028792059049010277,
-0.00481566833332181,
0.02241024374961853,
0.01348328310996294,
0.06127851828932762,
-0.0174659863114357,
-0.013748150318861008,
-0.009570942260324955,
0.019047556445002556,
-0.0524110272526741,
0.032387636601924896,
-0.01430059690028429,
0.02509557642042637,
0.05545608699321747,
-0.001790221082046628,
-0.015825403854250908,
-0.02281062863767147,
-0.03167399764060974,
-0.004989024717360735,
-0.03493870049715042,
-0.018471509218215942,
-0.02705051377415657,
0.014600328169763088,
-0.009670610539615154,
-0.012095597572624683,
-0.049688976258039474,
0.009454578161239624,
-0.008255443535745144,
-0.029914431273937225,
-0.027899740263819695,
-0.011047758162021637,
-0.001472584204748273,
-0.016908684745430946,
0.03310689330101013,
-0.01120417844504118,
0.04955938830971718,
0.03799647092819214,
-0.012936456128954887,
-0.028624506667256355,
-0.013394423760473728
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | # Object Detection Leaderboard: Decoding Metrics and Their Potential Pitfalls Welcome to our latest dive into the world of leaderboards and models evaluation. In a [previous post](https://huggingface.co/blog/evaluating-mmlu-leaderboard), we navigated the waters of evaluating Large Language Models. Today, we set sail to a different, yet equally challenging domain – Object Detection. Recently, we released our [Object Detection Leaderboard](https://huggingface.co/spaces/hf-vision/object_detection_leaderboard), ranking object detection models available in the Hub according to some metrics. In this blog, we will demonstrate how the models were evaluated and demystify the popular metrics used in Object Detection, from Intersection over Union (IoU) to Average Precision (AP) and Average Recall (AR). More importantly, we will spotlight the inherent divergences and pitfalls that can occur during evaluation, ensuring that you're equipped with the knowledge not just to understand but to assess model performance critically. Every developer and researcher aims for a model that can accurately detect and delineate objects. Our [Object Detection Leaderboard](https://huggingface.co/spaces/hf-vision/object_detection_leaderboard) is the right place to find an open-source model that best fits their application needs. But what does "accurate" truly mean in this context? Which metrics should one trust? How are they computed? And, perhaps more crucially, why some models may present divergent results in different reports? All these questions will be answered in this blog. So, let's embark on this exploration together and unlock the secrets of the Object Detection Leaderboard! If you prefer to skip the introduction and learn how object detection metrics are computed, go to the [Metrics section](#metrics). If you wish to find how to pick the best models based on the [Object Detection Leaderboard](https://huggingface.co/spaces/hf-vision/object_detection_leaderboard), you may check the [Object Detection Leaderboard](#object-detection-leaderboard) section. | [
-0.003560347482562065,
-0.03324815258383751,
0.008535530418157578,
-0.03305191919207573,
0.0198297668248415,
0.04163833335042,
0.07992488145828247,
0.03716174513101578,
-0.08040648698806763,
-0.030917100608348846,
-0.043567199259996414,
0.03395932540297508,
-0.0022625429555773735,
0.054351143538951874,
0.05186993628740311,
-0.019005319103598595,
0.05306767299771309,
0.04040392115712166,
0.004601594526320696,
0.05824477598071098,
0.009410451166331768,
-0.03829063102602959,
0.020643066614866257,
-0.059469014406204224,
-0.019153229892253876,
-0.05563269183039665,
0.013431405648589134,
-0.009313128888607025,
-0.019624577835202217,
0.006716844160109758,
-0.09644439816474915,
-0.039912138134241104,
0.04260679706931114,
-0.03876548632979393,
0.023175472393631935,
0.004521650727838278,
-0.06892546266317368,
0.04239828139543533,
0.048027750104665756,
0.002677616663277149,
0.008700566366314888,
-0.09464885294437408,
-0.031374093145132065,
-0.01967361383140087,
0.06918025016784668,
-0.06417953222990036,
-0.16465042531490326,
0.03941010683774948,
0.0030105013865977526,
-0.013729830272495747,
-0.05499880388379097,
0.051655955612659454,
-0.04740284010767937,
0.03247592970728874,
-0.0033838150557130575,
-0.05036091431975365,
0.037276990711688995,
-0.0844063088297844,
0.08000721782445908,
0.041787005960941315,
0.04414571821689606,
-0.01385792437940836,
0.017512023448944092,
-0.003544349456205964,
0.016585052013397217,
0.019494690001010895,
0.03928719460964203,
0.05318943411111832,
0.0004675492236856371,
0.014164821244776249,
0.02931109629571438,
-0.038045819848775864,
-0.016931720077991486,
-0.03550717607140541,
-0.04099739342927933,
-0.023807987570762634,
-0.014098694548010826,
0.04141639173030853,
0.016830699518322945,
-0.016871577128767967,
-0.01736760325729847,
-0.0012180281337350607,
0.05114373564720154,
0.04193040728569031,
-0.01875961944460869,
0.029211828485131264,
-0.00040082461782731116,
-0.0055545601062476635,
-0.06507470458745956,
0.09784138947725296,
-0.020940836519002914,
-0.11454921960830688,
0.026323052123188972,
0.04721378907561302,
0.02781301736831665,
-0.029111335054039955,
-0.014402327127754688,
0.051720332354307175,
0.017711438238620758,
-0.03731198608875275,
-0.0506829097867012,
-0.03260526433587074,
0.06430919468402863,
-0.007902305573225021,
-0.04117435961961746,
-0.02467985451221466,
-0.0594128780066967,
-0.10444989055395126,
-0.06679948419332504,
0.006259455811232328,
-0.03254692256450653,
-0.05581463500857353,
0.025417227298021317,
0.05178577080368996,
-0.0699855163693428,
0.007524263579398394,
-0.04373292997479439,
-0.009700160473585129,
0.011067832820117474,
0.05874522402882576,
0.06178751587867737,
0.13021773099899292,
0.008175094611942768,
-0.0034365456085652113,
-0.02711465023458004,
0.06381867080926895,
0.0051339431665837765,
0.03982573375105858,
-0.015219020657241344,
0.018611915409564972,
0.042275264859199524,
-0.027397919446229935,
0.013354814611375332,
0.006029642187058926,
-0.011137108318507671,
-0.060592129826545715,
0.07609336823225021,
-0.07245539873838425,
0.040620021522045135,
-0.05838480219244957,
-0.058897946029901505,
-0.0076418714597821236,
-0.044372327625751495,
0.03922177478671074,
0.05892723426222801,
-0.003283526049926877,
-0.09105875343084335,
0.05372856557369232,
0.007235041819512844,
0.01495559886097908,
-0.05222400650382042,
0.09324868023395538,
-0.018576687201857567,
-0.042620331048965454,
0.019488053396344185,
0.10403535515069962,
0.01506816130131483,
-0.034471746534109116,
-0.051817674189805984,
0.016603004187345505,
-0.06496128439903259,
-0.012142940424382687,
-0.09798233211040497,
-0.027320779860019684,
0.029307879507541656,
-0.0067503503523766994,
0.036117762327194214,
0.0030475531239062548,
-0.029877856373786926,
0.014976000413298607,
0.030489714816212654,
-0.03387168049812317,
0.13198117911815643,
-0.00656846584752202,
-0.07282770425081253,
0.06436427682638168,
0.052845414727926254,
0.012598663568496704,
-0.016573011875152588,
0.037343718111515045,
-0.07161876559257507,
0.0478396974503994,
-0.023707298561930656,
0.06849639117717743,
0.061226166784763336,
-0.06445249915122986,
0.04279986023902893,
0.017202012240886688,
-0.008875231258571148,
-0.0018696889746934175,
-0.04336218163371086,
-0.03842298686504364,
0.06764884293079376,
-0.03276415914297104,
-0.0012796953087672591,
-0.08625589311122894,
-0.039874009788036346,
0.08984176814556122,
0.07309538125991821,
-0.016888171434402466,
0.05923378840088844,
0.06373965740203857,
0.060337815433740616,
-0.03923434391617775,
-0.036891210824251175,
-0.01746225543320179,
0.018938709050416946,
-0.051971014589071274,
-0.04125196486711502,
0.027861546725034714,
0.0332806371152401,
-0.11240499466657639,
0.023498522117733955,
0.0053399777971208096,
0.011230177246034145,
-0.009502969682216644,
0.03008015640079975,
0.028779949992895126,
0.013223723508417606,
-0.018297666683793068,
0.15615049004554749,
-0.03756606578826904,
0.0027975698467344046,
0.03226611763238907,
-0.08051241934299469,
0.026308204978704453,
0.006632362026721239,
0.09513277560472488,
0.07923147827386856,
-0.055067382752895355,
-0.038579776883125305,
-0.024434445425868034,
-0.014142617583274841,
0.009676896035671234,
-0.04280812665820122,
-0.03691995143890381,
0.06363926082849503,
0.03325072303414345,
0.018549107015132904,
0.01479111984372139,
-0.04764298349618912,
-0.027297167107462883,
0.06511944532394409,
0.06454125046730042,
-0.0019683188293129206,
-0.06268125772476196,
0.05847456306219101,
0.03299203887581825,
-0.053984154015779495,
0.03140466660261154,
-0.05661586672067642,
0.054411400109529495,
-0.004367048852145672,
-0.01877293363213539,
0.032666128128767014,
-0.03284845128655434,
-0.006615748163312674,
0.0017205894691869617,
-0.047140754759311676,
0.0480317585170269,
0.044332824647426605,
-0.016098463907837868,
-0.009824860841035843,
-0.05271487683057785,
-0.00689679617062211,
-0.02917306497693062,
-0.01577826216816902,
0.06114008650183678,
-0.021474024280905724,
0.02323821932077408,
-0.03318089619278908,
-0.00018974683189298958,
0.051680710166692734,
0.00045731457066722214,
-0.0071051279082894325,
0.008243118412792683,
0.05531696230173111,
-0.022108105942606926,
-0.006734747439622879,
0.015418663620948792,
-0.02139703743159771,
-0.0018810355104506016,
0.053250886499881744,
-0.00827246718108654,
0.008532200939953327,
-0.04786001518368721,
0.018876565620303154,
-0.007618404924869537,
-0.051647599786520004,
0.04908467456698418,
0.0020069407764822245,
0.041783787310123444,
-0.022223221138119698,
-0.04139256849884987,
0.034266337752342224,
0.006987626664340496,
-0.005519432947039604,
0.017385559156537056,
-0.002045093569904566,
0.008487277664244175,
-0.021545078605413437,
0.014556226320564747,
-0.01711430214345455,
-0.028612235561013222,
-0.006004600320011377,
0.0100843645632267,
0.015200942754745483,
0.029349466785788536,
-0.10567571967840195,
-0.013808337040245533,
-0.023498356342315674,
0.04647475481033325,
-0.02337534911930561,
-0.009345097467303276,
0.06906014680862427,
-0.004797327797859907,
0.0014010146260261536,
0.01306344848126173,
0.01979745924472809,
-0.0032780226320028305,
0.01878202147781849,
0.03498819097876549,
0.021962391212582588,
0.027038833126425743,
-0.030443422496318817,
-0.019782330840826035,
0.0199294351041317,
0.033940091729164124,
-0.02456219494342804,
0.07181669771671295,
-0.003550061257556081,
-0.03576555848121643,
-0.05518653988838196,
0.0019677244126796722,
0.006914016790688038,
0.028900304809212685,
0.0010695685632526875,
-0.025887470692396164,
0.014850056730210781,
0.006819510366767645,
-0.028252296149730682,
0.02571611851453781,
-0.040201231837272644,
0.034036196768283844,
-0.03739204630255699,
-0.006000007968395948,
0.017552535980939865,
0.03287998586893082,
0.011829610913991928,
0.03467431664466858,
-0.004447882529348135,
-0.0013113440945744514,
0.03668006509542465,
-0.008827482350170612,
0.009047158062458038,
-0.03683529794216156,
0.018792908638715744,
-0.05182116851210594,
-0.021939508616924286,
0.021457374095916748,
0.0004446153761819005,
0.04311191290616989,
0.0012330234749242663,
0.04500652104616165,
0.005169060546904802,
-0.004287102725356817,
-0.039488308131694794,
-0.0032834771554917097,
-0.054812896996736526,
-0.0040343040600419044,
-0.014194597490131855,
-0.0007347248028963804,
-0.01312350109219551,
0.02772708423435688,
0.023492328822612762,
0.03398016467690468,
-0.02330324798822403,
0.025385059416294098,
0.002918125595897436,
0.02752649039030075,
-0.006833655759692192,
-0.0015248644631356,
-0.033448170870542526,
-0.021693307906389236,
-0.0011269814567640424,
-0.02356504648923874,
0.0396798774600029,
0.05240652337670326,
-0.07466461509466171,
-0.02017001248896122,
-0.022533442825078964,
0.012704274617135525,
-0.017306461930274963,
-0.00169904506765306,
0.06383995711803436,
-0.005561967846006155,
0.026260215789079666,
0.026703815907239914,
0.011932970024645329,
-0.018111543729901314,
-0.009440017864108086,
0.01187977660447359,
0.0012886079493910074,
-0.012494818307459354,
-0.0026712710969150066,
-0.003687205957248807,
-0.001158728962764144,
0.04527691751718521,
0.014966764487326145,
-0.009634732268750668,
0.01468238141387701,
0.056143730878829956,
0.0022466490045189857,
0.06454624235630035,
-0.013955698348581791,
-0.04667787626385689,
0.013260449282824993,
-0.016515083611011505,
-0.02005494385957718,
-0.006813457701355219,
-0.024517197161912918,
0.0199701227247715,
0.018606524914503098,
0.010785723105072975,
-0.019415175542235374,
0.015665357932448387,
-0.06976930052042007,
0.008639388717710972,
-0.025499597191810608,
-0.008335699327290058,
-0.0237133726477623,
-0.02656850405037403,
0.044923730194568634,
0.014529948122799397,
0.01655859313905239,
0.0009664303506724536,
-0.00489402050152421,
-0.03524584695696831,
-0.034621983766555786,
0.013109092600643635,
0.02829158864915371,
0.0022955143358558416,
0.016557879745960236,
0.025324353948235512,
-0.01862209290266037,
0.0101615646854043,
0.02516203187406063,
-0.011605197563767433,
0.02111274003982544,
-0.02700505219399929,
0.023804256692528725,
-0.0183967687189579,
0.0032785539515316486,
-0.014665128663182259,
-0.030166786164045334,
-0.00976605899631977,
-0.019530510529875755,
0.012592216022312641,
0.05651109665632248,
-0.045468270778656006,
-0.03907862678170204,
0.029232339933514595,
0.020083924755454063,
0.0003406233445275575,
-0.036523837596178055,
-0.008654726669192314,
-0.015091889537870884,
-0.0017709031235426664,
0.008810240775346756,
0.013526574708521366,
-0.045499157160520554,
0.018593331798911095,
-0.025651786476373672,
-0.02102673053741455,
0.026413530111312866,
-0.005722889676690102,
0.012288889847695827,
-0.03203940764069557,
0.006820092909038067,
-0.02999288961291313,
0.013609916903078556,
-0.023712042719125748,
-0.019568556919693947,
0.00892129447311163,
0.03442402184009552,
-0.0036906907334923744,
0.03833036497235298,
0.0035512633621692657,
-0.048939935863018036,
0.007145969662815332,
0.04471332207322121,
-0.006770024076104164,
0.0062130047008395195,
0.00342540186829865,
0.06481843441724777,
0.04090654104948044,
0.015643464401364326,
0.005844112019985914,
-0.0004923350061289966,
0.00815070141106844,
0.027043798938393593,
-0.03616708517074585,
-0.0017206440679728985,
-0.039854325354099274,
0.022265763953328133,
0.01432685274630785,
-0.022582635283470154,
-0.0231566671282053,
0.03197618946433067,
0.0825808197259903,
-0.03295226767659187,
0.006087589543312788,
0.021333150565624237,
0.01789214462041855,
0.019767170771956444,
-0.00934841949492693,
0.02453255094587803,
-0.04120926558971405,
-0.0038775682915002108,
-0.02999270334839821,
-0.008210347965359688,
0.00023804683587513864,
0.030897334218025208,
-0.01581372134387493,
-0.00011541469575604424,
0.022510318085551262,
0.01763780228793621,
0.05051182582974434,
0.007860283367335796,
-0.025831017643213272,
-0.030373554676771164,
-0.008144169114530087,
0.01187487505376339,
-0.01927933841943741,
0.02582375891506672,
-0.01587146334350109,
-0.008301991969347,
0.0309405867010355,
-0.0005224180640652776,
0.01540420576930046,
0.015036999247968197,
0.04999499395489693,
0.01594390720129013,
0.011156178079545498,
-0.03566427901387215,
0.0018099662847816944,
0.03308377042412758,
0.01813110150396824,
0.017377501353621483,
0.027334850281476974,
-0.02311360463500023,
0.006858400534838438,
-0.06934935599565506,
0.04228951036930084,
0.05183246359229088,
-0.021595032885670662,
-0.0013773849932476878,
-0.02729952707886696,
0.008451433852314949,
0.006674200762063265,
0.0016307494370266795,
0.010994824580848217,
0.04327670857310295,
0.00848498847335577,
0.006093916948884726,
0.008797365240752697,
-0.013152549974620342,
0.020664410665631294,
0.010438787750899792,
-0.07883482426404953,
0.04342026263475418,
0.03942149505019188,
-0.0799715667963028,
0.02725549228489399,
-0.012440243735909462,
-0.018900305032730103,
0.005834973882883787,
0.02304510958492756,
0.016413336619734764,
0.011567560955882072,
0.02265872433781624,
0.017036065459251404,
-0.033067818731069565,
-0.0009392780484631658,
0.03205258771777153,
0.05661623924970627,
-0.003458812367171049,
0.008645090274512768,
0.044623423367738724,
0.02230265736579895,
0.027158869430422783,
-0.009758608415722847,
0.00032522875699214637,
-0.011476394720375538,
0.0441189706325531,
0.03264862298965454,
0.04076513275504112,
0.017615316435694695,
-0.02684697136282921,
0.010301737114787102,
-0.020053524523973465,
-0.029133621603250504,
-0.004576968029141426,
0.00921450275927782,
0.03373804688453674,
-0.030856160447001457,
0.0366385318338871,
-0.025415943935513496,
0.013575770892202854,
0.028025386855006218,
0.023329367861151695,
-0.03812664747238159,
0.012575219385325909,
0.00471877446398139,
-0.009535775519907475,
-0.0035968066658824682,
0.03955474868416786,
0.030246509239077568,
-0.003661744762212038,
0.04557882249355316,
0.02915550209581852,
0.03364234045147896,
0.01803470402956009,
0.005430812947452068,
-0.02334374561905861,
-0.03322712332010269,
-0.002798488363623619,
-0.018294887617230415,
-0.005780462641268969,
0.0018482226878404617,
-0.011337150819599628,
0.02247135527431965,
-0.037503279745578766,
0.0023849424906075,
-0.01165885291993618,
-0.005379484035074711,
-0.01570887491106987,
0.005213658791035414,
0.015891183167696,
0.06492313742637634,
-0.003584326012060046,
-0.01810334250330925,
0.015906503424048424,
-0.0297943614423275,
0.040965575724840164,
0.022099262103438377,
-0.022031905129551888,
-0.01835479401051998,
-0.04875060170888901,
-0.012129162438213825,
-0.028041165322065353,
-0.005229737609624863,
-0.028994359076023102,
-0.021930648013949394,
-0.008555403910577297,
0.008041657507419586,
-0.009277626872062683,
0.05056659132242203,
0.010888180695474148,
-0.03332918509840965,
-0.017765775322914124,
0.019008027389645576,
-0.01963803730905056,
0.0015909813810139894,
-0.0029461332596838474,
-0.0012895390391349792,
-0.0359843485057354,
-0.01925078220665455,
0.03639354556798935,
0.006702810991555452,
0.016936717554926872,
0.0034822181332856417,
-0.029144790023565292,
-0.039799001067876816,
-0.04887527599930763,
0.019815711304545403,
0.020866326987743378,
-0.01410950068384409,
-0.023253269493579865,
0.025516726076602936,
0.0005444468697533011,
0.002262457273900509,
-0.017750773578882217,
-0.017243342474102974,
0.08140454441308975,
-0.028865143656730652,
-0.024437200278043747,
-0.03702101111412048,
0.04777565598487854,
0.047472916543483734,
0.04375940561294556,
0.035696811974048615,
-0.02120880037546158,
0.011402136646211147,
0.01823073998093605,
0.07123974710702896,
-0.04885493218898773,
-0.014956885948777199,
-0.0390874408185482,
-0.03441094234585762,
-0.005258510820567608,
-0.04240114614367485,
-0.005665225442498922,
-0.02196565456688404,
-0.013455563224852085,
-0.03109971433877945,
-0.01256486214697361,
-0.024128010496497154,
-0.031606413424015045,
-0.005351345054805279,
0.040223799645900726,
0.03900272399187088,
0.0065926192328333855,
-0.03726999834179878,
0.008183774538338184,
-0.015211478807032108,
-0.055632513016462326,
-0.015841154381632805,
0.04537419602274895,
-0.02852947823703289,
-0.009051542729139328,
-0.03837961331009865,
-0.03293086215853691,
-0.003258919343352318,
-0.03072655200958252,
0.0029477314092218876,
0.07582531124353409,
0.016224969178438187,
-0.014845130033791065,
-0.01269568782299757,
0.024044537916779518,
-0.031908344477415085,
0.032559607177972794,
-0.023547755554318428,
-0.0066235242411494255,
-0.014906749129295349,
0.03288830444216728,
-0.03289415314793587,
0.009137840941548347,
0.0002586071495898068,
0.04185191169381142,
0.011259598657488823,
-0.01125016063451767,
0.0069989291951060295,
0.0015281655360013247,
0.013662255369126797,
-0.006342186592519283,
-0.023796208202838898,
-0.02531471662223339,
-0.05644465982913971,
0.0014681920874863863,
0.011026844382286072,
-0.014741556718945503,
-0.018728336319327354,
0.044834259897470474,
-0.004260090179741383,
0.005630352534353733,
-0.022276120260357857,
-0.004217774607241154,
0.020467020571231842,
0.008207610808312893,
0.0022338510025292635,
-0.00183956662658602,
0.09171644598245621,
0.024380847811698914,
-0.003444537054747343,
-0.022259213030338287,
0.012587347999215126
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | What's Object Detection? In the field of Computer Vision, Object Detection refers to the task of identifying and localizing individual objects within an image. Unlike image classification, where the task is to determine the predominant object or scene in the image, object detection not only categorizes the object classes present but also provides spatial information, drawing bounding boxes around each detected object. An object detector can also output a "score" (or "confidence") per detection. It represents the probability, according to the model, that the detected object belongs to the predicted class for each bounding box. The following image, for instance, shows five detections: one "ball" with a confidence of 98% and four "person" with a confidence of 98%, 95%, 97%, and 97%. <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/intro_object_detection.png" alt="intro_object_detection.png" /> <figcaption> Figure 1: Example of outputs from an object detector.</figcaption> </center> </div> Object detection models are versatile and have a wide range of applications across various domains. Some use cases include vision in autonomous vehicles, face detection, surveillance and security, medical imaging, augmented reality, sports analysis, smart cities, gesture recognition, etc. The Hugging Face Hub has [hundreds of object detection models](https://huggingface.co/models?pipeline_tag=object-detection) pre-trained in different datasets, able to identify and localize various object classes. One specific type of object detection models, called _zero-shot_, can receive additional text queries to search for target objects described in the text. These models can detect objects they haven't seen during training, instead of being constrained to the set of classes used during training. The diversity of detectors goes beyond the range of output classes they can recognize. They vary in terms of underlying architectures, model sizes, processing speeds, and prediction accuracy. A popular metric used to evaluate the accuracy of predictions made by an object detection model is the **Average Precision (AP)** and its variants, which will be explained later in this blog. Evaluating an object detection model encompasses several components, like a dataset with ground-truth annotations, detections (output prediction), and metrics. This process is depicted in the schematic provided in Figure 2: <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/pipeline_object_detection.png" alt="pipeline_object_detection.png" /> <figcaption> Figure 2: Schematic illustrating the evaluation process for a traditional object detection model.</figcaption> </center> </div> First, a benchmarking dataset containing images with ground-truth bounding box annotations is chosen and fed into the object detection model. The model predicts bounding boxes for each image, assigning associated class labels and confidence scores to each box. During the evaluation phase, these predicted bounding boxes are compared with the ground-truth boxes in the dataset. The evaluation yields a set of metrics, each ranging between [0, 1], reflecting a specific evaluation criteria. In the next section, we'll dive into the computation of the metrics in detail. | [
-0.011539524421095848,
0.010701869614422321,
0.04274306073784828,
0.012812422588467598,
0.11051464825868607,
0.08274543285369873,
0.0062643843702971935,
0.10056104511022568,
-0.0928017720580101,
-0.009417284280061722,
-0.07548319548368454,
0.04840736836194992,
-0.021650878712534904,
0.06783505529165268,
0.0840785875916481,
0.003821819555014372,
0.09540773928165436,
0.014122573658823967,
-0.00010359883890487254,
0.06482671946287155,
-0.025121890008449554,
-0.04582260176539421,
0.017260506749153137,
-0.03681608662009239,
-0.019182851538062096,
-0.04142063111066818,
-0.006435362622141838,
-0.0026585629675537348,
-0.06351518630981445,
0.04159371554851532,
-0.1480744183063507,
0.00001604794670129195,
0.016662757843732834,
-0.07438506931066513,
-0.03285311162471771,
0.023331552743911743,
-0.0843701958656311,
0.0506366565823555,
0.009397288784384727,
-0.02168954722583294,
-0.0350755900144577,
-0.04711984470486641,
-0.04923621937632561,
-0.009656049311161041,
0.010220995172858238,
-0.08573920279741287,
-0.19751277565956116,
0.11391495913267136,
-0.014080901630222797,
-0.02455119788646698,
-0.06292496621608734,
0.04562796652317047,
-0.024874471127986908,
0.05811468884348869,
0.006679887417703867,
-0.004431716166436672,
0.01560982782393694,
-0.07796196639537811,
0.0749085545539856,
-0.03395555913448334,
0.04348399117588997,
0.010175587609410286,
0.01899738796055317,
-0.017786605283617973,
-0.0032618772238492966,
0.019392816349864006,
0.04915482923388481,
0.03640223294496536,
0.014628409408032894,
-0.0326029472053051,
0.0159534253180027,
-0.04820515960454941,
0.013933153823018074,
0.025905542075634003,
-0.025917815044522285,
-0.019175224006175995,
0.0002393705799477175,
0.005371433682739735,
0.017639245837926865,
-0.010752864181995392,
0.05572511628270149,
-0.0008976405952125788,
0.07539833337068558,
0.04405875504016876,
0.04552868753671646,
-0.019513271749019623,
-0.026034772396087646,
-0.0023378089535981417,
-0.03054632619023323,
0.10969749093055725,
0.036528073251247406,
-0.09217564016580582,
0.013433048501610756,
0.047896210104227066,
0.017272504046559334,
-0.028730519115924835,
0.016256770119071007,
-0.0015188652323558927,
0.024726657196879387,
-0.030806096270680428,
-0.033457256853580475,
-0.034369900822639465,
0.061759766191244125,
0.008173462934792042,
-0.048173971474170685,
-0.0016589814331382513,
-0.0033008616883307695,
-0.07380073517560959,
-0.08044784516096115,
0.017168689519166946,
-0.03824208304286003,
-0.050919272005558014,
-0.005203608423471451,
0.03536611422896385,
-0.04639537259936333,
0.029524633660912514,
-0.006020812783390284,
0.003185463836416602,
0.012653566896915436,
0.04824097082018852,
0.0033915373496711254,
0.08856311440467834,
0.007314719259738922,
0.00749839236959815,
-0.02370670810341835,
0.026640601456165314,
0.022968703880906105,
0.05488106980919838,
-0.020606592297554016,
-0.05144517496228218,
0.05139102041721344,
-0.01676909811794758,
0.052764642983675,
0.0464402474462986,
0.00603123614564538,
-0.07413183152675629,
0.03473200649023056,
-0.07009205967187881,
0.07149426639080048,
-0.02824670821428299,
0.01651536487042904,
0.006419606041163206,
0.00918101891875267,
0.045566484332084656,
0.055265214294195175,
-0.04541405290365219,
-0.05331636965274811,
0.05046175792813301,
0.014171438291668892,
0.0059149302542209625,
-0.0680307075381279,
0.06036772578954697,
-0.03947483003139496,
-0.05798457935452461,
-0.021266750991344452,
0.08551160246133804,
0.07280652970075607,
-0.029852554202079773,
-0.06079126521945,
-0.03544697165489197,
-0.07786419242620468,
0.007464660331606865,
-0.012853736989200115,
0.024029407650232315,
0.0507347546517849,
-0.06257500499486923,
0.03531073406338692,
0.01285540871322155,
0.007328284438699484,
0.01222099270671606,
-0.04664541035890579,
-0.07444605976343155,
0.06460212916135788,
-0.02530970796942711,
-0.04806467145681381,
0.026241613551974297,
0.03774489089846611,
0.03333760425448418,
-0.0118953175842762,
0.06697507947683334,
-0.04441562667489052,
0.018578343093395233,
-0.035844508558511734,
0.03708754479885101,
0.049686722457408905,
-0.08110930025577545,
0.033181920647621155,
0.015418393537402153,
-0.03312738239765167,
0.014353081583976746,
-0.04034750536084175,
-0.03483537584543228,
0.024958772584795952,
-0.012477615848183632,
0.010644669644534588,
-0.12158854305744171,
-0.059721533209085464,
0.09052229672670364,
0.04290974512696266,
0.009762891568243504,
0.058044929057359695,
-0.01612522453069687,
0.0464046373963356,
-0.04792414605617523,
-0.045484013855457306,
0.004878857173025608,
0.07502048462629318,
0.02513556182384491,
-0.009869180619716644,
0.006093163043260574,
0.010430237278342247,
-0.10218524187803268,
0.014198880642652512,
-0.02843993715941906,
0.04053964465856552,
0.030177367851138115,
-0.0023071186151355505,
-0.023698944598436356,
0.03349818289279938,
-0.053543079644441605,
0.11043030768632889,
-0.049587853252887726,
-0.00823300052434206,
0.021448928862810135,
-0.039412837475538254,
0.04069606587290764,
0.05820567533373833,
0.05136863514780998,
0.08796921372413635,
-0.09401100128889084,
-0.024503016844391823,
-0.011436299420893192,
0.019335944205522537,
-0.010630556382238865,
-0.03842741250991821,
-0.0014838660135865211,
0.06959142535924911,
0.04972584545612335,
0.041707973927259445,
0.03738328069448471,
0.0011339480988681316,
-0.030739929527044296,
0.03182828053832054,
0.03937471657991409,
0.012921687215566635,
-0.04827597737312317,
0.09179990738630295,
0.018444590270519257,
-0.044883210211992264,
0.005344603676348925,
-0.07958027720451355,
0.02900616265833378,
0.03099362552165985,
-0.04933079332113266,
0.059254858642816544,
0.007638955023139715,
0.014296385459601879,
-0.012848040089011192,
-0.022206217050552368,
0.03785819560289383,
-0.012160921469330788,
-0.010525352321565151,
0.013766339980065823,
-0.07517917454242706,
-0.02355242148041725,
-0.04532596096396446,
0.012521074153482914,
0.04780122637748718,
-0.014835231006145477,
0.06818602979183197,
0.026398401707410812,
-0.02181561104953289,
0.03456336259841919,
-0.004708149470388889,
-0.013066742569208145,
0.020044462755322456,
0.020379533991217613,
0.017114421352744102,
-0.005106055177748203,
-0.020879659801721573,
-0.029752124100923538,
-0.02994944527745247,
0.026277024298906326,
0.04899672046303749,
0.017018580809235573,
-0.03668798878788948,
0.03146227449178696,
-0.019462034106254578,
-0.03975639492273331,
0.026460804045200348,
0.013932175934314728,
0.025972312316298485,
-0.004464311990886927,
-0.025359872728586197,
0.009472500532865524,
0.010569293983280659,
-0.02357054129242897,
0.0006557631422765553,
-0.039156507700681686,
0.011673424392938614,
0.013812782242894173,
0.02334674447774887,
-0.025732167065143585,
-0.04094432666897774,
-0.036135658621788025,
0.029040992259979248,
0.02720845304429531,
0.030968479812145233,
-0.12037762254476547,
-0.041424620896577835,
0.022690625861287117,
0.029263999313116074,
-0.0342048779129982,
-0.015524891205132008,
0.062166448682546616,
0.005289176478981972,
0.002071548020467162,
0.012904747389256954,
0.006460311822593212,
-0.002423063386231661,
0.040358204394578934,
0.01316983625292778,
0.022313104942440987,
0.029951313510537148,
0.005603972356766462,
0.00543631985783577,
0.013512774370610714,
0.029199302196502686,
-0.062093254178762436,
0.05213939771056175,
0.01464290264993906,
0.004912307485938072,
-0.0500553697347641,
0.010268723592162132,
-0.0014244582271203399,
0.010703668929636478,
0.0024420178961008787,
-0.026914680376648903,
-0.005037857685238123,
0.008581440895795822,
-0.03719666600227356,
0.03816018998622894,
-0.026665112003684044,
0.01091944519430399,
0.015534983947873116,
-0.0174057949334383,
0.0007764539332129061,
0.02817944437265396,
-0.001234394614584744,
0.021077653393149376,
0.016457879915833473,
-0.0006368152680806816,
0.028811661526560783,
-0.05506439507007599,
0.0195346437394619,
-0.010571184568107128,
0.000633621180895716,
-0.022946348413825035,
-0.022452885285019875,
0.009011072106659412,
-0.0012006600154563785,
0.06002136319875717,
0.006652711890637875,
-0.0006721632089465857,
0.009325525723397732,
0.016058914363384247,
-0.013800590299069881,
-0.005446566268801689,
-0.03592962771654129,
0.0351264514029026,
0.006840608548372984,
-0.04008731618523598,
-0.07111497223377228,
0.0510082021355629,
0.0073927780613303185,
0.03369696065783501,
-0.010262662544846535,
0.04618968814611435,
0.009295017458498478,
0.03318588063120842,
-0.00891100149601698,
0.013792721554636955,
-0.02236093208193779,
-0.006685696076601744,
-0.0030124112963676453,
-0.01653214544057846,
0.04520305246114731,
0.01755206100642681,
-0.01697353459894657,
-0.02929934859275818,
0.012469682842493057,
-0.022817786782979965,
-0.0260733924806118,
0.0065690926276147366,
0.02760995738208294,
-0.019120363518595695,
0.022569691762328148,
0.05584356561303139,
0.045062534511089325,
0.01652219332754612,
0.00803178921341896,
0.014230181463062763,
0.00925774872303009,
0.0065046027302742004,
0.022018983960151672,
-0.047021519392728806,
-0.022757606580853462,
-0.00005944176882621832,
0.032907433807849884,
-0.032286081463098526,
-0.0177473034709692,
0.03413158282637596,
0.007244071923196316,
0.0060050818137824535,
-0.02370344288647175,
-0.037158045917749405,
-0.00007151187310228124,
-0.03138762339949608,
-0.014878596179187298,
-0.026969043537974358,
0.002380825113505125,
-0.015320002101361752,
0.03419109433889389,
-0.004113286733627319,
-0.01582903414964676,
-0.016292940825223923,
-0.023473331704735756,
0.006830080412328243,
-0.03017192706465721,
0.008302097208797932,
-0.049479082226753235,
-0.012998929247260094,
0.021907981485128403,
0.009649560786783695,
0.03748264163732529,
0.019955329596996307,
0.020342808216810226,
-0.027041872963309288,
-0.021741101518273354,
0.0011672910768538713,
0.039425529539585114,
0.03834185376763344,
0.03690331429243088,
0.014042485505342484,
0.0052385516464710236,
0.0017052566399797797,
0.038117874413728714,
-0.010846901684999466,
0.008496223017573357,
-0.02214941382408142,
0.04285777732729912,
0.0164314117282629,
0.009966530837118626,
-0.01510548684746027,
-0.05662336200475693,
-0.015453159809112549,
-0.02302546240389347,
0.02190200798213482,
0.03520619124174118,
-0.046779483556747437,
-0.06203322857618332,
0.012093381956219673,
0.015440358780324459,
-0.03622879460453987,
-0.01296425610780716,
0.0024924299214035273,
-0.024560296908020973,
0.046096865087747574,
-0.007246038876473904,
-0.0033035967499017715,
-0.03772084787487984,
0.03898666426539421,
-0.014973889105021954,
-0.012167183682322502,
0.023328008130192757,
-0.03918195143342018,
-0.016363997012376785,
0.014808867126703262,
0.005325939506292343,
-0.04541387781500816,
0.016587084159255028,
-0.02000640332698822,
0.00022075948072597384,
0.05049708113074303,
0.010970324277877808,
0.012119450606405735,
0.009016621857881546,
0.0307423435151577,
-0.012357478030025959,
0.021730104461312294,
0.0422595851123333,
0.010281194001436234,
-0.028257664293050766,
0.007218075916171074,
0.049813512712717056,
0.024002540856599808,
0.022446466609835625,
0.015402049757540226,
0.008247239515185356,
-0.012884947471320629,
0.030356870964169502,
-0.016064200550317764,
0.0368836335837841,
-0.011503322049975395,
0.008483399637043476,
0.027122478932142258,
-0.032955802977085114,
0.00591690931469202,
-0.020322438329458237,
0.05964900180697441,
-0.008280168287456036,
0.02077591046690941,
0.0002529839111957699,
0.020547769963741302,
-0.009687311016023159,
-0.02670622058212757,
-0.012457811273634434,
-0.026736760511994362,
0.005250177346169949,
-0.029479678720235825,
-0.02708257921040058,
0.00832070130854845,
-0.029059987515211105,
-0.0514165498316288,
-0.016086457297205925,
0.01899530552327633,
0.02375565655529499,
0.016865836456418037,
-0.0012820467818528414,
0.000096237359684892,
-0.014911475591361523,
-0.007782519795000553,
0.027011197060346603,
-0.03649980202317238,
0.018803343176841736,
-0.008993370458483696,
0.004454147070646286,
0.030210169032216072,
0.03651537746191025,
0.021041102707386017,
0.006893434561789036,
0.02394726313650608,
0.00045645315549336374,
-0.005332632921636105,
-0.007815561257302761,
0.021821659058332443,
0.028856942430138588,
0.013669973239302635,
-0.018240798264741898,
0.005836521741002798,
-0.013933314941823483,
0.029213769361376762,
-0.059335872530937195,
0.005141453817486763,
0.04901633411645889,
-0.010576533153653145,
-0.010602773167192936,
-0.006513882894068956,
0.00010242673306493089,
0.015305619686841965,
0.027301566675305367,
-0.022183209657669067,
0.024647101759910583,
0.0294120404869318,
0.008418682031333447,
-0.017807023599743843,
-0.0010706465691328049,
-0.015570609830319881,
0.007548111025243998,
-0.08232008665800095,
-0.002482060110196471,
0.010024837218225002,
-0.057691894471645355,
0.022795766592025757,
-0.04089485481381416,
-0.042457208037376404,
-0.0008028115844354033,
0.010990339331328869,
0.02152913808822632,
0.05418810993432999,
0.028964364901185036,
0.009184751659631729,
-0.03049570322036743,
-0.02878783829510212,
-0.012985501438379288,
0.04956071078777313,
-0.03516358882188797,
0.04422206059098244,
0.025547290220856667,
0.026838377118110657,
0.05110734701156616,
-0.04959207400679588,
0.023907914757728577,
-0.012836051173508167,
0.07023107260465622,
0.03177575767040253,
0.04009517654776573,
0.0040625911206007,
0.0027643695939332247,
-0.009749122895300388,
-0.05155772343277931,
0.012813743203878403,
-0.01594063639640808,
0.003080526599660516,
0.03301877900958061,
-0.020545225590467453,
0.018002018332481384,
-0.04704825580120087,
0.0008170250221155584,
0.012940077111124992,
0.028585728257894516,
-0.03275666385889053,
0.023710831999778748,
0.01940244436264038,
-0.0006935106357559562,
0.020272430032491684,
0.0223073810338974,
0.004538778681308031,
-0.002636193297803402,
0.054237425327301025,
0.038668181747198105,
0.020870046690106392,
0.0145372673869133,
-0.029039232060313225,
0.015921087935566902,
-0.02060506120324135,
-0.036363475024700165,
-0.03182161971926689,
0.0008088034228421748,
0.003531348193064332,
-0.008205760270357132,
0.007127219345420599,
-0.03911259397864342,
-0.0019381799502298236,
0.01606801524758339,
-0.009860026650130749,
0.007410313934087753,
-0.011493759229779243,
0.014894763007760048,
0.04175779968500137,
0.023334763944149017,
-0.010753078386187553,
-0.02517315186560154,
-0.0021023391745984554,
0.01992218941450119,
-0.006218224298208952,
-0.006908816285431385,
-0.05956295505166054,
-0.041638970375061035,
-0.010043640621006489,
-0.0031721957493573427,
0.0001496341428719461,
-0.03778432309627533,
-0.007003438659012318,
-0.013415645807981491,
0.0009031887166202068,
-0.016216423362493515,
0.02167230285704136,
0.015509074553847313,
-0.006147466599941254,
-0.01512941624969244,
0.03807733580470085,
-0.05895156413316727,
-0.006471975240856409,
-0.009170599281787872,
0.007696996908634901,
-0.005018803756684065,
-0.03897174075245857,
0.02422463893890381,
0.00959167443215847,
0.0346161425113678,
-0.016792474314570427,
-0.0037951909471303225,
-0.02304648794233799,
-0.08884333074092865,
0.04017246142029762,
0.03158712387084961,
0.031177092343568802,
-0.021511135622859,
0.032395124435424805,
-0.007862434722483158,
0.03014824539422989,
0.0012466658372431993,
-0.0026869121938943863,
0.05357123911380768,
-0.015752248466014862,
-0.04359976574778557,
-0.019944574683904648,
0.06027914956212044,
0.027091432362794876,
0.028710462152957916,
0.011014606803655624,
0.01181913074105978,
-0.01280664000660181,
-0.029413705691695213,
0.03065837360918522,
-0.04250416159629822,
0.01399798784404993,
-0.04771151393651962,
-0.013813982717692852,
-0.03988044708967209,
-0.0190244410187006,
0.0022805624175816774,
-0.00461671082302928,
-0.015788771212100983,
0.014113345183432102,
-0.023184195160865784,
-0.009835464879870415,
-0.02417261153459549,
0.02537577785551548,
0.02702701836824417,
0.03315987065434456,
0.01413918100297451,
-0.031223082914948463,
-0.004672511946409941,
-0.033244166523218155,
-0.02274119108915329,
0.0070475260727107525,
0.052328240126371384,
-0.04186195507645607,
-0.008674602024257183,
-0.040995288640260696,
0.005467067938297987,
-0.009180360473692417,
-0.04234638437628746,
-0.01713901199400425,
0.07936418801546097,
-0.012177985161542892,
-0.040818847715854645,
0.018437493592500687,
0.0019176134373992682,
0.013708114624023438,
0.03390355035662651,
-0.02587486244738102,
-0.013039173558354378,
0.004109479486942291,
0.016042634844779968,
-0.02504683844745159,
-0.005777884274721146,
0.00428254809230566,
0.041367869824171066,
0.06949939578771591,
0.03792275860905647,
-0.009465285576879978,
-0.019745100289583206,
0.01590532436966896,
0.02483462728559971,
-0.04270569607615471,
-0.009586283005774021,
-0.04834577068686485,
0.007528193295001984,
-0.019775232300162315,
-0.02268650010228157,
-0.015099403448402882,
-0.0024114770349115133,
-0.0016031606355682015,
-0.010019234381616116,
-0.01611456461250782,
-0.008948164992034435,
0.026518769562244415,
-0.004734520334750414,
0.021984605118632317,
-0.04174528270959854,
0.09234509617090225,
0.0374932698905468,
0.039937566965818405,
-0.008171909488737583,
-0.013530394993722439
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Varying the batch size The batch size not only affects the processing time but may also result in different detected boxes. The image pre-processing step may change the resolution of the input images based on their sizes. As mentioned in [DETR documentation](https://huggingface.co/docs/transformers/model_doc/detr), by default, `DetrImageProcessor` resizes the input images such that the shortest side is 800 pixels, and resizes again so that the longest is at most 1333 pixels. Due to this, images in a batch can have different sizes. DETR solves this by padding images up to the largest size in a batch, and by creating a pixel mask that indicates which pixels are real/which are padding. To illustrate this process, let's consider the examples in Figure 9 and Figure 10. In Figure 9, we consider batch size = 1, so both images are processed independently with `DetrImageProcessor`. The first image is resized to (800, 1201), making the detector predict 28 boxes with class `vase`, 22 boxes with class `chair`, ten boxes with class `bottle`, etc. <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/example_batch_size_1.png" alt="example_batch_size_1.png" /> <figcaption> Figure 9: Two images processed with `DetrImageProcessor` using batch size = 1.</figcaption> </center> </div> Figure 10 shows the process with batch size = 2, where the same two images are processed with `DetrImageProcessor` in the same batch. Both images are resized to have the same shape (873, 1201), and padding is applied, so the part of the images with the content is kept with their original aspect ratios. However, the first image, for instance, outputs a different number of objects: 31 boxes with the class `vase`, 20 boxes with the class `chair`, eight boxes with the class `bottle`, etc. Note that for the second image, with batch size = 2, a new class is detected `dog`. This occurs due to the model's capacity to detect objects of different sizes depending on the image's resolution. <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/example_batch_size_2.png" alt="example_batch_size_2.png" /> <figcaption> Figure 10: Two images processed with `DetrImageProcessor` using batch size = 2.</figcaption> </center> </div> | [
-0.02797308936715126,
-0.005455201957374811,
-0.04581349343061447,
-0.034929968416690826,
0.006938481703400612,
0.0892905443906784,
-0.001061371061950922,
-0.014995262958109379,
-0.08087135851383209,
-0.04645122215151787,
-0.09906377643346786,
0.033969905227422714,
0.03243010491132736,
0.09375970810651779,
0.004923253320157528,
-0.043943848460912704,
0.06808765232563019,
-0.009630069136619568,
-0.026062123477458954,
0.055956874042749405,
-0.015530970878899097,
-0.08667796850204468,
0.06601498275995255,
0.06359300762414932,
-0.046227458864450455,
-0.018881553784012794,
-0.015366388484835625,
-0.034104861319065094,
-0.03890320658683777,
0.040038496255874634,
-0.11715366691350937,
-0.09337848424911499,
-0.0034946156665682793,
-0.031893786042928696,
0.056488990783691406,
-0.014352621510624886,
-0.10094574838876724,
0.03543609008193016,
0.06805527210235596,
0.056883011013269424,
-0.04200302064418793,
-0.0018429731717333198,
-0.06921634823083878,
-0.0738508403301239,
0.014056332409381866,
-0.054586321115493774,
-0.06661662459373474,
0.05390843749046326,
0.017968228086829185,
-0.03464861586689949,
-0.08855671435594559,
0.030965439975261688,
-0.008631505072116852,
0.003470922354608774,
-0.007021146360784769,
-0.0072630224749445915,
-0.0332815907895565,
-0.021176276728510857,
0.06569785624742508,
-0.03397069126367569,
0.06670733541250229,
-0.02289658598601818,
0.05523109808564186,
0.04728315398097038,
-0.04786548763513565,
0.07475310564041138,
0.031596589833498,
0.01653701812028885,
-0.003950473852455616,
-0.013333269394934177,
0.03707676753401756,
-0.02972676418721676,
0.009872089140117168,
-0.035943642258644104,
-0.056213993579149246,
0.04924757033586502,
-0.035682421177625656,
-0.008421717211604118,
-0.01710915006697178,
0.023329708725214005,
0.028697509318590164,
-0.001619498711079359,
0.04218508303165436,
0.07681550085544586,
0.020587444305419922,
0.03769412264227867,
-0.012050294317305088,
-0.012490258552134037,
-0.03340023010969162,
0.06867963820695877,
0.004443766083568335,
-0.09072253853082657,
0.04612298309803009,
-0.01677830144762993,
0.028456611558794975,
-0.0022982757072895765,
-0.04904569685459137,
0.028891630470752716,
0.001197291538119316,
0.007342911325395107,
-0.007515990640968084,
0.011925576254725456,
0.06632325798273087,
-0.007523813284933567,
-0.0691821351647377,
-0.0002937330864369869,
-0.09995093196630478,
-0.12164253741502762,
-0.029312551021575928,
-0.0012458093697205186,
0.011648560874164104,
0.004453676752746105,
-0.026767950505018234,
0.04325628653168678,
-0.0806785374879837,
-0.02641502022743225,
-0.012590950354933739,
0.03823164477944374,
-0.003168382216244936,
0.006829041987657547,
-0.02297077886760235,
0.1316664218902588,
0.03744908794760704,
-0.03858162462711334,
-0.060009922832250595,
-0.007544424384832382,
0.04815921559929848,
0.012432053685188293,
-0.016416510567069054,
-0.05139094591140747,
-0.03855515271425247,
-0.01793242245912552,
0.06110217422246933,
0.02695414610207081,
0.0371401309967041,
-0.08195242285728455,
0.014372515492141247,
-0.05269988253712654,
0.07365580648183823,
-0.0677722841501236,
-0.001325427321717143,
0.0640273317694664,
-0.06063692271709442,
0.03812234103679657,
0.001705819508060813,
-0.05791666358709335,
-0.04688804969191551,
0.000662637990899384,
-0.03522588312625885,
0.0626029223203659,
-0.05925002321600914,
0.1173558384180069,
-0.01664847321808338,
-0.08708258718252182,
-0.03235548362135887,
0.08793400973081589,
-0.06369227170944214,
-0.08297591656446457,
-0.0655166283249855,
-0.022130846977233887,
-0.07252677530050278,
0.03949747234582901,
-0.01057840883731842,
0.013744525611400604,
0.010549277067184448,
-0.04647836461663246,
0.0014727734960615635,
0.03419971466064453,
0.0032676788978278637,
0.044013191014528275,
-0.025362951681017876,
0.004036079626530409,
-0.0018134050769731402,
0.005831004120409489,
0.02819710224866867,
0.018415341153740883,
0.04500387981534004,
0.053253937512636185,
-0.021874474361538887,
-0.008803893812000751,
-0.030675645917654037,
0.07879992574453354,
-0.022438684478402138,
0.046108178794384,
0.06464052200317383,
-0.09249639511108398,
0.04811323061585426,
0.012495123781263828,
-0.09293095767498016,
0.05862627550959587,
-0.015031007118523121,
0.0011613951064646244,
0.030741063877940178,
-0.03869921714067459,
0.060471829026937485,
-0.07257022708654404,
-0.08251289278268814,
0.05624546483159065,
0.012295168824493885,
0.009733317419886589,
0.004367066081613302,
0.009095010347664356,
0.017080724239349365,
-0.04357919842004776,
0.01453492697328329,
0.014914525672793388,
0.011475239880383015,
-0.023838674649596214,
0.03631535544991493,
0.028637148439884186,
0.03049832582473755,
-0.07437781244516373,
-0.00008090646588243544,
0.0004040153289679438,
0.02184407226741314,
0.013580734841525555,
-0.015018774196505547,
-0.07445000857114792,
0.05141127109527588,
-0.0257329773157835,
0.12652775645256042,
0.052125122398138046,
-0.02580123580992222,
-0.016798708587884903,
0.024493955075740814,
0.02889203280210495,
0.023212522268295288,
0.023447388783097267,
0.06964027881622314,
-0.06370681524276733,
-0.03615807741880417,
-0.01739182136952877,
-0.026044312864542007,
0.0024036611430346966,
-0.054255109280347824,
-0.07457905262708664,
-0.02765491232275963,
0.05898772552609444,
0.04005206376314163,
-0.04145166650414467,
-0.04914819821715355,
-0.026112709194421768,
0.049925025552511215,
0.010402405634522438,
0.031377799808979034,
0.05443073436617851,
0.004590719472616911,
0.0535401850938797,
-0.04429175332188606,
-0.042705144733190536,
-0.04195348918437958,
0.03221796452999115,
0.0052194553427398205,
-0.07311952114105225,
0.02354377508163452,
0.07211092859506607,
-0.023866860195994377,
-0.019108273088932037,
-0.02044987678527832,
0.026162773370742798,
0.02724728360772133,
0.027387836948037148,
-0.013229608535766602,
-0.04723406583070755,
-0.013213962316513062,
-0.006504403427243233,
-0.004512457642704248,
-0.002633078722283244,
0.022364851087331772,
0.013740794733166695,
0.012568601407110691,
0.0002627037756610662,
0.03925531357526779,
-0.00013790171942673624,
-0.003596267197281122,
0.011358082294464111,
0.00617092102766037,
-0.024780862033367157,
-0.0054112449288368225,
-0.017201745882630348,
0.006468671374022961,
0.0005199816660024226,
0.02308988757431507,
0.0673041045665741,
0.003923612181097269,
0.0065813311375677586,
-0.014253884553909302,
-0.0382847897708416,
-0.05282037332653999,
0.013203569687902927,
0.013534311205148697,
0.03886695206165314,
0.023550694808363914,
-0.03802909329533577,
0.012766191735863686,
0.04439419135451317,
-0.017448171973228455,
-0.03508934751152992,
0.0086011728271842,
0.027116836979985237,
-0.03563074767589569,
0.014412389136850834,
-0.027952047064900398,
-0.002559489104896784,
-0.02762850560247898,
0.013768799602985382,
0.00727162417024374,
0.08113794028759003,
-0.08435674011707306,
-0.029320603236556053,
0.007347964681684971,
0.0409129336476326,
-0.04690680280327797,
-0.005946215242147446,
0.015068809501826763,
-0.005077661015093327,
0.03199146315455437,
-0.0006519200978800654,
0.002869349205866456,
-0.0064630969427526,
0.026882370933890343,
0.040083758533000946,
-0.0023990371264517307,
0.008681590668857098,
-0.0013313210802152753,
0.03129136562347412,
0.02411499060690403,
0.02183331362903118,
-0.04541255161166191,
-0.01081615500152111,
0.012968406081199646,
0.015181703492999077,
-0.0067291404120624065,
0.006458058953285217,
0.027641288936138153,
0.003109180135652423,
0.007728933822363615,
-0.03423081710934639,
-0.04474896192550659,
-0.0018007931066676974,
-0.032264579087495804,
0.03333420306444168,
-0.0263584665954113,
0.00018560219905339181,
0.012237528339028358,
-0.04465823620557785,
0.018961912021040916,
0.02403475157916546,
0.05061524733901024,
0.03070829063653946,
-0.006493655499070883,
-0.013091521337628365,
0.045365847647190094,
-0.028606433421373367,
-0.02029578760266304,
-0.037144917994737625,
0.01102124247699976,
-0.020927919074892998,
0.012774048373103142,
-0.008473867550492287,
0.01068743597716093,
0.05021190643310547,
0.052356183528900146,
0.011359103955328465,
0.006167580373585224,
0.04852655529975891,
-0.007702525705099106,
-0.0235663503408432,
-0.04043912887573242,
0.03262254223227501,
-0.05521469935774803,
0.013289467431604862,
-0.006242086179554462,
0.023987645283341408,
-0.014481308870017529,
0.024570129811763763,
-0.0013874967116862535,
0.039063483476638794,
0.0032266126945614815,
-0.014510149136185646,
0.01725507713854313,
0.0045209177769720554,
-0.04232543334364891,
-0.013700082898139954,
-0.03110206499695778,
-0.016596581786870956,
0.004718295764178038,
0.012409081682562828,
-0.016087964177131653,
0.03202594071626663,
-0.029420478269457817,
-0.011403112672269344,
-0.005164131056517363,
-0.0038483929820358753,
0.02837195247411728,
0.004789125174283981,
-0.0006954945856705308,
-0.00930944737046957,
0.01102859154343605,
0.01814850978553295,
-0.01602255180478096,
-0.006843205075711012,
-0.02104051783680916,
-0.015483075752854347,
0.00019128969870507717,
0.021895386278629303,
-0.004581649787724018,
0.030942415818572044,
0.010115522891283035,
-0.044071245938539505,
-0.01982026733458042,
0.024017170071601868,
0.005840592086315155,
0.003063241485506296,
-0.01513577438890934,
0.01270041149109602,
0.002181757939979434,
0.006740716751664877,
-0.007816372439265251,
-0.04328980669379234,
-0.0006192194996401668,
0.010367180220782757,
0.020575307309627533,
0.04298616945743561,
-0.024621978402137756,
-0.021954379975795746,
-0.0023020014632493258,
0.04060479253530502,
-0.04714880883693695,
0.014625072479248047,
-0.036186713725328445,
-0.019590632990002632,
0.05079621076583862,
0.03889046609401703,
0.04612321779131889,
0.010086055845022202,
0.03355250135064125,
-0.055078744888305664,
-0.007544009014964104,
-0.007891065441071987,
-0.008200576528906822,
0.002958089578896761,
-0.014945602044463158,
-0.0162928719073534,
-0.0303071066737175,
0.014228289015591145,
0.02150467224419117,
-0.025886259973049164,
-0.03255265951156616,
-0.014493296854197979,
0.054597076028585434,
-0.028307318687438965,
0.04535827040672302,
0.02525143139064312,
-0.024555211886763573,
-0.013152297586202621,
-0.05533589422702789,
0.009166186675429344,
0.05347181111574173,
-0.004897830076515675,
-0.07013655453920364,
0.030372755602002144,
0.038238152861595154,
-0.04147932678461075,
-0.028575899079442024,
0.016351699829101562,
0.00012343535490799695,
0.01519958395510912,
-0.017176499590277672,
0.00687142089009285,
-0.018162021413445473,
0.053642839193344116,
-0.012524327263236046,
0.016735462471842766,
-0.024910934269428253,
-0.042705368250608444,
-0.002384691033512354,
0.034408677369356155,
-0.014501605182886124,
-0.006415327545255423,
-0.015559243969619274,
-0.01030911784619093,
0.022957636043429375,
0.08243808895349503,
0.020980017259716988,
0.022224372252821922,
0.019021231681108475,
-0.03876425698399544,
-0.018684182316064835,
0.05953575670719147,
0.05377944931387901,
-0.010022961534559727,
-0.020120766013860703,
0.05562086030840874,
0.041471004486083984,
0.07063962519168854,
0.03703482821583748,
0.0220623966306448,
0.0015169141115620732,
-0.023974062874913216,
0.05265695974230766,
-0.01650732010602951,
-0.005385065451264381,
-0.041170042008161545,
-0.008828836493194103,
0.007433075923472643,
-0.004046649672091007,
0.033730823546648026,
0.033457107841968536,
0.047717444598674774,
0.006208894774317741,
-0.010903957299888134,
-0.03756603226065636,
0.029745837673544884,
-0.042826175689697266,
-0.001915757660754025,
-0.03671104833483696,
-0.041047293692827225,
0.015857558697462082,
0.0006382163846865296,
-0.019112957641482353,
-0.01251949556171894,
-0.024858303368091583,
-0.006470725405961275,
-0.05147625133395195,
0.004653836600482464,
0.07450864464044571,
0.034539345651865005,
0.0018927202327176929,
-0.01533452607691288,
-0.037322819232940674,
0.012574941851198673,
-0.031068844720721245,
-0.0689098984003067,
0.017607374116778374,
0.0027650375850498676,
-0.022204862907528877,
0.0015797180822119117,
-0.0044069550931453705,
0.023829566314816475,
-0.0141527084633708,
0.027022289112210274,
0.02904924377799034,
-0.013812806457281113,
-0.01052882056683302,
0.04937461018562317,
0.001774918637238443,
-0.019338034093379974,
-0.03795233368873596,
-0.009221171028912067,
0.00026283785700798035,
0.046293701976537704,
-0.03641829639673233,
-0.027353134006261826,
0.015878692269325256,
0.001047512050718069,
-0.02414090745151043,
0.025187525898218155,
0.008265843614935875,
-0.0008094507502391934,
0.017294127494096756,
-0.006193438544869423,
0.024443047121167183,
0.031285107135772705,
0.033881064504384995,
0.002983253449201584,
0.010234558023512363,
-0.0134565569460392,
0.01291458960622549,
-0.06930997222661972,
0.019814226776361465,
0.01881173439323902,
-0.012323434464633465,
0.03516111522912979,
-0.013021031394600868,
-0.040135059505701065,
-0.01198581699281931,
0.01380391325801611,
0.007224399130791426,
0.055433209985494614,
0.017181191593408585,
0.06099714711308479,
-0.01871119812130928,
0.01951899193227291,
-0.03271066024899483,
0.05281155928969383,
0.003511737333610654,
0.026614900678396225,
0.023260531947016716,
-0.0047420961782336235,
0.06676292419433594,
0.04461139068007469,
0.0013608074514195323,
-0.02578825131058693,
0.07112549245357513,
-0.022883979603648186,
-0.016793716698884964,
-0.0026425521355122328,
0.023429885506629944,
0.03280678391456604,
-0.0235309936106205,
-0.019415004178881645,
-0.009810727089643478,
-0.022426942363381386,
0.03933825343847275,
0.004519294481724501,
-0.01023020688444376,
0.00576845882460475,
0.028077827766537666,
0.01864667795598507,
-0.0009045135229825974,
-0.0016190727474167943,
0.01071257796138525,
0.02749631367623806,
0.02391851879656315,
-0.0004545903648249805,
0.042108599096536636,
0.02163824625313282,
-0.04231138899922371,
0.03085847571492195,
0.013196505606174469,
0.0208993349224329,
0.01432192325592041,
-0.007647939957678318,
0.014661702327430248,
-0.04834531620144844,
-0.020205801352858543,
-0.030639203265309334,
0.030573679134249687,
-0.017359659075737,
-0.016145119443535805,
0.03591936081647873,
-0.047393955290317535,
0.06798003613948822,
0.008783109486103058,
0.013101409189403057,
0.023380182683467865,
0.028860174119472504,
-0.024088090285658836,
0.03130925074219704,
-0.0004964170511811972,
-0.05162813514471054,
0.020541904494166374,
-0.005440664943307638,
0.050087787210941315,
0.04345276579260826,
-0.004888339899480343,
-0.0034804660826921463,
-0.003214167430996895,
-0.024313390254974365,
-0.030067764222621918,
0.03811909630894661,
-0.040662020444869995,
0.0014244476333260536,
0.00400468660518527,
0.02534356899559498,
0.003827492706477642,
0.040891148149967194,
-0.016691213473677635,
0.0057618641294538975,
-0.05975626781582832,
0.05236567556858063,
-0.005506783723831177,
0.01590493880212307,
0.0243840292096138,
-0.01268038246780634,
-0.017234699800610542,
-0.009776964783668518,
0.062342721968889236,
-0.008162936195731163,
0.006230368744581938,
-0.00748432707041502,
-0.009142576716840267,
-0.01789763569831848,
-0.053266819566488266,
0.019841760396957397,
0.028719725087285042,
0.06360485404729843,
-0.004388823173940182,
0.015111790969967842,
-0.011672237887978554,
-0.028316309675574303,
0.023820795118808746,
-0.00021724330144934356,
0.031460173428058624,
0.0012014545500278473,
-0.06600803136825562,
-0.00016796714044176042,
0.04938768967986107,
0.02759900689125061,
0.04888539761304855,
0.05250227451324463,
-0.007626751903444529,
0.02861584536731243,
-0.03604499623179436,
0.0334603451192379,
-0.009084438905119896,
0.02053903043270111,
-0.01804715022444725,
0.005841940641403198,
-0.008732411079108715,
0.024985168129205704,
-0.02438599057495594,
0.004565603099763393,
0.003207145957276225,
-0.02569475956261158,
-0.02970052696764469,
-0.02914370410144329,
-0.043731916695833206,
0.016236258670687675,
0.017024405300617218,
0.06805863231420517,
0.059435486793518066,
-0.01639816164970398,
-0.04174332693219185,
0.027336260303854942,
-0.019868681207299232,
0.02149258367717266,
0.030468177050352097,
-0.02640148252248764,
-0.004409155808389187,
0.012042021378874779,
-0.03074677847325802,
0.02768758498132229,
-0.04428696632385254,
-0.007893270812928677,
0.019442707300186157,
0.004659323487430811,
0.004437743686139584,
0.017397833988070488,
0.03933119401335716,
0.015153936110436916,
0.04130340367555618,
-0.02603026106953621,
0.005397736094892025,
-0.020654141902923584,
0.03357057273387909,
-0.032617684453725815,
0.0025013794656842947,
0.01718728430569172,
0.07426194846630096,
0.029617222025990486,
-0.012525295838713646,
0.007433815859258175,
-0.023285793140530586,
0.02517102286219597,
0.007786371745169163,
-0.038202106952667236,
-0.015603491105139256,
-0.027125943452119827,
-0.020658334717154503,
0.02611292526125908,
0.022598257288336754,
-0.04137127101421356,
-0.030561739578843117,
0.02041768841445446,
0.0018658246845006943,
0.005348211154341698,
0.017472747713327408,
-0.0065185436978936195,
-0.03678463026881218,
-0.026904575526714325,
-0.07105232775211334,
0.012839795090258121,
0.01479393895715475,
0.016417885199189186,
-0.012422776781022549,
0.018756238743662834
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | What's Average Precision and how to compute it? Average Precision (AP) is a single-number that summarizes the Precision x Recall curve. Before we explain how to compute it, we first need to understand the concept of Intersection over Union (IoU), and how to classify a detection as a True Positive or a False Positive. IoU is a metric represented by a number between 0 and 1 that measures the overlap between the predicted bounding box and the actual (ground truth) bounding box. It's computed by dividing the area where the two boxes overlap by the area covered by both boxes combined. Figure 3 visually demonstrates the IoU using an example of a predicted box and its corresponding ground-truth box. <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/iou.png" alt="iou.png" /> <figcaption> Figure 3: Intersection over Union (IoU) between a detection (in green) and ground-truth (in blue).</figcaption> </center> </div> If the ground truth and detected boxes share identical coordinates, representing the same region in the image, their IoU value is 1. Conversely, if the boxes do not overlap at any pixel, the IoU is considered to be 0. In scenarios where high precision in detections is expected (e.g. an autonomous vehicle), the predicted bounding boxes should closely align with the ground-truth boxes. For that, a IoU threshold ( \\( \text{T}_{\text{IOU}} \\) ) approaching 1 is preferred. On the other hand, for applications where the exact position of the detected bounding boxes relative to the target object isn’t critical, the threshold can be relaxed, setting \\( \text{T}_{\text{IOU}} \\) closer to 0. Every box predicted by the model is considered a “positive” detection. The Intersection over Union (IoU) criterion classifies each prediction as a true positive (TP) or a false positive (FP), according to the confidence threshold we defined. Based on predefined \\( \text{T}_{\text{IOU}} \\), we can define True Positives and True Negatives: * **True Positive (TP)**: A correct detection where IoU ≥ \\( \text{T}_{\text{IOU}} \\). * **False Positive (FP)**: An incorrect detection (missed object), where the IoU < \\( \text{T}_{\text{IOU}} \\). Conversely, negatives are evaluated based on a ground-truth bounding box and can be defined as False Negative (FN) or True Negative (TN): * **False Negative (FN)**: Refers to a ground-truth object that the model failed to detect. * **True Negative (TN)**: Denotes a correct non-detection. Within the domain of object detection, countless bounding boxes within an image should NOT be identified, as they don't represent the target object. Consider all possible boxes in an image that don’t represent the target object - quite a vast number, isn’t it? :) That's why we do not consider TN to compute object detection metrics. Now that we can identify our TPs, FPs, and FNs, we can define Precision and Recall: * **Precision** is the ability of a model to identify only the relevant objects. It is the percentage of correct positive predictions and is given by: <p style="text-align: center;"> \\( \text{Precision} = \frac{TP}{(TP + FP)} = \frac{TP}{\text{all detections}} \\) </p> which translates to the ratio of true positives over all detected boxes. * **Recall** gauges a model’s competence in finding all the relevant cases (all ground truth bounding boxes). It indicates the proportion of TP detected among all ground truths and is given by: <p style="text-align: center;"> \\( \text{Recall} = \frac{TP}{(TP + FN)} = \frac{TP}{\text{all ground truths}} \\) </p> Note that TP, FP, and FN depend on a predefined IoU threshold, as do Precision and Recall. Average Precision captures the ability of a model to classify and localize objects correctly considering different values of Precision and Recall. For that we'll illustrate the relationship between Precision and Recall by plotting their respective curves for a specific target class, say "dog". We'll adopt a moderate IoU threshold = 75% to delineate our TP, FP and FN. Subsequently, we can compute the Precision and Recall values. For that, we need to vary the confidence scores of our detections. Figure 4 shows an example of the Precision x Recall curve. For a deeper exploration into the computation of this curve, the papers “A Comparative Analysis of Object Detection Metrics with a Companion Open-Source Toolkit” (Padilla, et al) and “A Survey on Performance Metrics for Object-Detection Algorithms” (Padilla, et al) offer more detailed toy examples demonstrating how to compute this curve. <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/pxr_te_iou075.png" alt="pxr_te_iou075.png" /> <figcaption> Figure 4: Precision x Recall curve for a target object “dog” considering TP detections using IoU_thresh = 0.75.</figcaption> </center> </div> The Precision x Recall curve illustrates the balance between Precision and Recall based on different confidence levels of a detector's bounding boxes. Each point of the plot is computed using a different confidence value. To demonstrate how to calculate the Average Precision plot, we'll use a practical example from one of the papers mentioned earlier. Consider a dataset of 7 images with 15 ground-truth objects of the same class, as shown in Figure 5. Let's consider that all boxes belong to the same class, "dog" for simplification purposes. <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/dataset_example.png" alt="dataset_example.png" /> <figcaption> Figure 5: Example of 24 detections (red boxes) performed by an object detector trained to detect 15 ground-truth objects (green boxes) belonging to the same class.</figcaption> </center> </div> Our hypothetical object detector retrieved 24 objects in our dataset, illustrated by the red boxes. To compute Precision and Recall we use the Precision and Recall equations at all confidence levels to evaluate how well the detector performed for this specific class on our benchmarking dataset. For that, we need to establish some rules: * **Rule 1**: For simplicity, let's consider our detections a True Positive (TP) if IOU ≥ 30%; otherwise, it is a False Positive (FP). * **Rule 2**: For cases where a detection overlaps with more than one ground-truth (as in Images 2 to 7), the predicted box with the highest IoU is considered TP, and the other is FP. Based on these rules, we can classify each detection as TP or FP, as shown in Table 1: <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <figcaption> Table 1: Detections from Figure 5 classified as TP or FP considering \\( \text{T}_{\text{IOU}} = 30\% \\).</figcaption> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/table_1.png" alt="table_1.png" /> </center> </div> Note that by rule 2, in image 1, "E" is TP while "D" is FP because IoU between "E" and the ground-truth is greater than IoU between "D" and the ground-truth. Now, we need to compute Precision and Recall considering the confidence value of each detection. A good way to do so is to sort the detections by their confidence values as shown in Table 2. Then, for each confidence value in each row, we compute the Precision and Recall considering the cumulative TP (acc TP) and cumulative FP (acc FP). The "acc TP" of each row is increased in 1 every time a TP is noted, and the "acc FP" is increased in 1 when a FP is noted. Columns "acc TP" and "acc FP" basically tell us the TP and FP values given a particular confidence level. The computation of each value of Table 2 can be viewed in [this spreadsheet](https://docs.google.com/spreadsheets/d/1mc-KPDsNHW61ehRpI5BXoyAHmP-NxA52WxoMjBqk7pw/edit?usp=sharing). For example, consider the 12th row (detection "P") of Table 2. The value "acc TP = 4" means that if we benchmark our model on this particular dataset with a confidence of 0.62, we would correctly detect four target objects and incorrectly detect eight target objects. This would result in: <p style="text-align: center;"> \\( \text{Precision} = \frac{\text{acc TP}}{(\text{acc TP} + \text{acc FP})} = \frac{4}{(4+8)} = 0.3333 \\) and \\( \text{Recall} = \frac{\text{acc TP}}{\text{all ground truths}} = \frac{4}{15} = 0.2667 \\) . </p> <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <figcaption> Table 2: Computation of Precision and Recall values of detections from Table 1.</figcaption> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/table_2.png" alt="table_2.png" /> </center> </div> Now, we can plot the Precision x Recall curve with the values, as shown in Figure 6: <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/precision_recall_example.png" alt="precision_recall_example.png" /> <figcaption> Figure 6: Precision x Recall curve for the detections computed in Table 2.</figcaption> </center> </div> By examining the curve, one may infer the potential trade-offs between Precision and Recall and find a model's optimal operating point based on a selected confidence threshold, even if this threshold is not explicitly depicted on the curve. If a detector's confidence results in a few false positives (FP), it will likely have high Precision. However, this might lead to missing many true positives (TP), causing a high false negative (FN) rate and, subsequently, low Recall. On the other hand, accepting more positive detections can boost Recall but might also raise the FP count, thereby reducing Precision. **The area under the Precision x Recall curve (AUC) computed for a target class represents the Average Precision value for that particular class.** The COCO evaluation approach refers to "AP" as the mean AUC value among all target classes in the image dataset, also referred to as Mean Average Precision (mAP) by other approaches. For a large dataset, the detector will likely output boxes with a wide range of confidence levels, resulting in a jagged Precision x Recall line, making it challenging to compute its AUC (Average Precision) precisely. Different methods approximate the area of the curve with different approaches. A popular approach is called N-interpolation, where N represents how many points are sampled from the Precision x Recall blue line. The COCO approach, for instance, uses 101-interpolation, which computes 101 points for equally spaced Recall values (0. , 0.01, 0.02, … 1.00), while other approaches use 11 points (11-interpolation). Figure 7 illustrates a Precision x Recall curve (in blue) with 11 equal-spaced Recall points. <div display="block" margin-left="auto" margin-right="auto" width="50%"> <center> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/object-detection-leaderboard/11-pointInterpolation.png" alt="11-pointInterpolation.png" /> <figcaption> Figure 7: Example of a Precision x Recall curve using the 11-interpolation approach. The 11 red dots are computed with Precision and Recall equations.</figcaption> </center> </div> The red points are placed according to the following: <p style="text-align: center;"> \\( \rho_{\text{interp}} (R) = \max_{\tilde{r}:\tilde{r} \geq r} \rho \left( \tilde{r} \right) \\) </p> where \\( \rho \left( \tilde{r} \right) \\) is the measured Precision at Recall \\( \tilde{r} \\). In this definition, instead of using the Precision value \\( \rho(R) \\) observed in each Recall level \\( R \\), the Precision \\( \rho_{\text{interp}} (R) \\) is obtained by considering the maximum Precision whose Recall value is greater than \\( R \\). For this type of approach, the AUC, which represents the Average Precision, is approximated by the average of all points and given by: <p style="text-align: center;"> \\( \text{AP}_{11} = \frac{1}{11} = \sum\limits_{R\in \left \{ 0, 0.1, ...,1 \right \}} \rho_{\text{interp}} (R) \\) </p> | [
-0.0790371224284172,
-0.00035532473702915013,
0.027996836230158806,
-0.014205760322511196,
0.08240283280611038,
-0.014029642567038536,
0.06600605696439743,
0.02209204062819481,
-0.05942745879292488,
-0.07837392389774323,
-0.022839274257421494,
-0.03576705977320671,
-0.03175010532140732,
-0.017206378281116486,
0.06483868509531021,
0.05411778390407562,
0.006395658943802118,
0.014757768251001835,
-0.02814764343202114,
0.03984528407454491,
-0.07397095113992691,
-0.02645019069314003,
-0.019910067319869995,
-0.01572570390999317,
-0.026710817590355873,
-0.07034091651439667,
0.04678639397025108,
-0.025003939867019653,
0.048373326659202576,
0.04056385159492493,
-0.10084295272827148,
-0.032087985426187515,
0.010970731265842915,
-0.09619137644767761,
0.049902092665433884,
0.019940169528126717,
-0.0745607316493988,
0.04896988719701767,
0.06442137062549591,
0.02353489026427269,
0.0181895699352026,
-0.09014476835727692,
-0.02959745191037655,
-0.06976000964641571,
0.013137105852365494,
-0.07951369881629944,
-0.04379236698150635,
0.05386500805616379,
-0.04660896956920624,
-0.04831141605973244,
-0.0207914337515831,
0.07637542486190796,
-0.06625770032405853,
0.07918013632297516,
-0.035986725240945816,
-0.007184287998825312,
-0.006332016550004482,
-0.07496434450149536,
0.06503080576658249,
0.006563249509781599,
0.010237948037683964,
0.03722316026687622,
0.03121701069176197,
0.03906979411840439,
-0.014280485920608044,
-0.00848536379635334,
0.024454141035676003,
0.03841341286897659,
0.00036730949068441987,
-0.017448069527745247,
0.013280007988214493,
0.03700193017721176,
0.055184587836265564,
-0.014967706054449081,
-0.08438768982887268,
0.013959193602204323,
-0.013508273288607597,
-0.020969649776816368,
0.008788047358393669,
-0.009769480675458908,
-0.022728094831109047,
-0.05020923539996147,
0.0705411359667778,
0.04217122495174408,
0.00529688224196434,
0.011807250790297985,
-0.05029601976275444,
-0.05434372276067734,
-0.032551590353250504,
-0.0010272933868691325,
-0.001236628508195281,
-0.09561073780059814,
0.022403137758374214,
0.07671031355857849,
0.0027275520842522383,
-0.0282971803098917,
-0.004215319640934467,
-0.0015363791026175022,
0.05343930050730705,
-0.010024655610322952,
-0.004981718957424164,
0.05757147818803787,
0.09597716480493546,
-0.037167299538850784,
-0.0251223836094141,
0.017719319090247154,
-0.01776229962706566,
-0.09965524822473526,
-0.048746950924396515,
0.02457215078175068,
-0.07120964676141739,
-0.012731076218187809,
0.060643818229436874,
0.10250867158174515,
-0.08819250762462616,
-0.0122846569865942,
-0.017890432849526405,
-0.017427563667297363,
0.03227993845939636,
0.002675215946510434,
-0.04128429293632507,
0.09199966490268707,
0.030807334929704666,
-0.03719256818294525,
-0.04896781966090202,
0.009063653647899628,
-0.008328160271048546,
0.013931569643318653,
-0.03585835546255112,
0.034785423427820206,
0.005630292929708958,
-0.01663951575756073,
-0.017109833657741547,
-0.06582216173410416,
-0.020244309678673744,
0.00185083644464612,
0.04902173578739166,
-0.019988523796200752,
0.0546819344162941,
-0.04482939466834068,
-0.009199545718729496,
0.01370985247194767,
-0.012303410097956657,
0.017096899449825287,
-0.0548517182469368,
-0.014608721248805523,
-0.08621504157781601,
0.040687426924705505,
0.024886542931199074,
0.015930527821183205,
-0.06747082620859146,
0.09555559605360031,
-0.024206221103668213,
0.0014201997546479106,
0.034731749445199966,
0.015878746286034584,
0.07775954157114029,
-0.044049326330423355,
-0.07009485363960266,
0.013904700055718422,
-0.005084376782178879,
0.01707001030445099,
-0.018957428634166718,
-0.023479433730244637,
0.028680874034762383,
0.043104104697704315,
0.0489032156765461,
0.025071123614907265,
-0.03034260682761669,
0.0666019544005394,
0.029927190393209457,
-0.08003171533346176,
0.06748112291097641,
-0.015891751274466515,
-0.0594547875225544,
-0.005997905042022467,
0.030096709728240967,
0.042719438672065735,
-0.004839648026973009,
0.019528094679117203,
-0.00815650261938572,
0.046845342963933945,
0.001613945234566927,
0.044444143772125244,
-0.03219868242740631,
-0.10706824064254761,
0.08292850106954575,
0.0336582325398922,
-0.009229463525116444,
0.04931218922138214,
0.016288597136735916,
-0.01653185859322548,
0.028900181874632835,
-0.06670476496219635,
-0.015845540910959244,
-0.10520324110984802,
-0.015894845128059387,
0.1019180417060852,
0.09974244982004166,
0.010142121464014053,
0.02656598761677742,
-0.05006612837314606,
0.09516400098800659,
-0.08526014536619186,
-0.020073531195521355,
0.023210184648633003,
0.06968053430318832,
-0.053934495896101,
-0.02936989814043045,
0.060602590441703796,
0.003993720281869173,
-0.09903010725975037,
0.003854590468108654,
-0.046333685517311096,
-0.027941474691033363,
-0.010493534617125988,
0.04596560448408127,
-0.05735086277127266,
0.04991978406906128,
-0.03227868676185608,
0.08470414578914642,
0.005543452687561512,
0.013995038345456123,
0.02569756656885147,
-0.07593733817338943,
-0.001992320641875267,
-0.0023512900806963444,
0.07242026180028915,
-0.06700298190116882,
-0.05383564904332161,
-0.03109225630760193,
-0.06711988151073456,
0.002599728759378195,
-0.014773139730095863,
-0.01720002479851246,
-0.04490450397133827,
0.03680526092648506,
0.0402396097779274,
0.004399958066642284,
-0.03777748718857765,
-0.052172914147377014,
0.026297584176063538,
0.012516392394900322,
0.0426182858645916,
0.05203257501125336,
-0.03880270570516586,
0.10680002719163895,
-0.014439895749092102,
-0.10858962684869766,
0.03629682585597038,
-0.05492764711380005,
0.019191578030586243,
-0.046565014868974686,
0.009637611918151379,
-0.07554188370704651,
0.007614785339683294,
0.02170923352241516,
0.007520333863794804,
-0.068539559841156,
0.014777189120650291,
0.0029987359885126352,
-0.014322241768240929,
-0.0151033541187644,
0.005167640279978514,
0.012984425760805607,
-0.048312701284885406,
0.003645810065791011,
0.042524561285972595,
-0.010556510649621487,
0.05706058442592621,
0.05171087384223938,
-0.0003881109587382525,
0.03177483752369881,
-0.0009016236290335655,
0.015214371494948864,
0.02057916298508644,
0.018027346581220627,
-0.01791587844491005,
-0.008099699392914772,
0.022602783516049385,
-0.024935469031333923,
-0.026678070425987244,
0.06617414206266403,
0.0032108090817928314,
0.017880333587527275,
-0.03456956148147583,
0.03628265857696533,
0.01120977196842432,
-0.03624548390507698,
-0.009165551513433456,
-0.010151543654501438,
0.025236599147319794,
-0.021014804020524025,
0.0014224208425730467,
0.025605298578739166,
0.019229592755436897,
-0.02756689116358757,
0.03308270499110222,
0.008242676965892315,
-0.02494914084672928,
-0.002189199673011899,
0.0017661077436059713,
-0.04756530001759529,
-0.05434480309486389,
-0.008151807822287083,
0.01108719315379858,
0.03416402265429497,
0.04162760451436043,
-0.07860814779996872,
-0.024450885131955147,
-0.015455151908099651,
-0.014201490208506584,
-0.05777259171009064,
-0.025954140350222588,
0.046961888670921326,
0.018072370439767838,
-0.01677442155778408,
0.024086764082312584,
0.04205358773469925,
0.028574638068675995,
-0.01468980498611927,
0.0775977224111557,
0.05663513019680977,
0.001810652669519186,
-0.040574342012405396,
-0.04252446070313454,
0.002672002650797367,
0.0097992904484272,
0.003431106684729457,
-0.010635778307914734,
0.013356286101043224,
-0.00035827880492433906,
-0.012646024115383625,
-0.009997650980949402,
-0.03443806990981102,
-0.020682772621512413,
0.014584743417799473,
-0.021520674228668213,
0.051067303866147995,
-0.01481823530048132,
0.04459032788872719,
0.04053261876106262,
-0.01948172226548195,
-0.025083523243665695,
0.02051704190671444,
-0.022559110075235367,
-0.0069887456484138966,
0.05416535586118698,
0.00389651395380497,
0.06329953670501709,
-0.015066334046423435,
-0.017778312787413597,
0.004358517937362194,
-0.04905331879854202,
0.019412601366639137,
-0.014639554545283318,
0.008338931947946548,
-0.02800067514181137,
-0.03302115201950073,
0.03025183454155922,
0.011614819057285786,
0.02683749794960022,
0.015139375813305378,
0.02483833022415638,
0.030559537932276726,
0.01282333955168724,
-0.04019683226943016,
0.008677448146045208,
-0.04451499879360199,
0.026022229343652725,
-0.009207604452967644,
-0.04453515261411667,
-0.0030071723740547895,
0.04336931183934212,
0.008580939844250679,
0.01362901832908392,
-0.014305614866316319,
0.05562599003314972,
-0.0012571694096550345,
0.032948557287454605,
-0.01920657977461815,
-0.0020095696672797203,
-0.026841679587960243,
-0.020040364935994148,
-0.036802079528570175,
-0.017075419425964355,
0.01264601293951273,
0.024496031925082207,
-0.0338597372174263,
0.030055319890379906,
-0.058714110404253006,
0.010460912249982357,
-0.026742421090602875,
-0.004721207078546286,
0.008034111931920052,
-0.02132358029484749,
0.03516310825943947,
0.018973397091031075,
-0.01112994085997343,
0.0138632757589221,
-0.05641977861523628,
-0.016709480434656143,
-0.023085542023181915,
-0.0037518120370805264,
0.0029272816609591246,
0.0418139323592186,
0.020541442558169365,
0.003611319698393345,
-0.0179694015532732,
-0.009913231246173382,
0.02216460555791855,
0.0046345447190105915,
-0.007367922458797693,
0.013903491199016571,
0.028813151642680168,
0.04214856028556824,
0.016748152673244476,
-0.007647110614925623,
-0.0041623408906161785,
-0.043387338519096375,
0.03397829458117485,
-0.025925973430275917,
0.035521455109119415,
0.03284452110528946,
0.005149118136614561,
-0.02284908853471279,
-0.04161442071199417,
0.016238998621702194,
-0.014429098926484585,
-0.027274394407868385,
-0.03453921154141426,
-0.012282234616577625,
0.043231356889009476,
0.06103996932506561,
-0.010644576512277126,
0.022275466471910477,
-0.015650151297450066,
-0.07590368390083313,
0.0016300856368616223,
0.006190894637256861,
0.0452946312725544,
0.02603651024401188,
-0.017021995037794113,
-0.00801906269043684,
0.005038808565586805,
0.027056893333792686,
0.020748604089021683,
-0.0008444490958936512,
-0.003637202549725771,
-0.0018994406564161181,
0.05154762789607048,
-0.001989790005609393,
0.011623524129390717,
-0.01563868299126625,
-0.02866522967815399,
0.025365065783262253,
-0.0515543632209301,
-0.010595588944852352,
0.00604500574991107,
-0.024946633726358414,
-0.06340242922306061,
-0.0383073166012764,
0.01651645451784134,
0.015392374247312546,
-0.0005158268613740802,
-0.02681896649301052,
-0.008721495978534222,
0.005739644169807434,
-0.042252298444509506,
0.0055190385319292545,
-0.018996011465787888,
0.04273116961121559,
-0.001442108885385096,
-0.01492610014975071,
0.019917890429496765,
-0.01896742917597294,
-0.014121723361313343,
-0.007489329669624567,
-0.014161433093249798,
-0.02048666402697563,
0.011438582092523575,
-0.03006032481789589,
-0.03069043532013893,
0.032904233783483505,
-0.023723386228084564,
-0.017689501866698265,
0.03537291660904884,
-0.0035847637336701155,
-0.06478884071111679,
-0.024998661130666733,
0.054214201867580414,
-0.00005755558595410548,
-0.02546236291527748,
0.00862322561442852,
0.061441779136657715,
0.013306831009685993,
0.017310988157987595,
0.030212711542844772,
0.04681773483753204,
-0.013944392092525959,
0.026975907385349274,
-0.005938258487731218,
0.035786695778369904,
-0.0035413934383541346,
0.016465047374367714,
0.041114501655101776,
-0.015022911131381989,
-0.039856839925050735,
0.009499549865722656,
0.04912170395255089,
-0.0013573645846918225,
0.0110044926404953,
-0.009434827603399754,
0.05632149428129196,
-0.010795528069138527,
0.047141630202531815,
0.005970344413071871,
-0.024041766300797462,
-0.01921633444726467,
-0.052602823823690414,
-0.03467647358775139,
0.000232996535487473,
0.012079128064215183,
-0.05333920195698738,
-0.017452940344810486,
0.0031769603956490755,
-0.01094054989516735,
0.021408529952168465,
-0.005867272615432739,
-0.004584736190736294,
-0.04417574405670166,
-0.03178512677550316,
0.03567091003060341,
-0.018292685970664024,
0.02669430896639824,
-0.04354012385010719,
-0.02524626813828945,
0.0232723206281662,
-0.014966575428843498,
0.02697927877306938,
-0.017030199989676476,
0.0276460200548172,
0.008011223748326302,
0.025911269709467888,
-0.08055009692907333,
-0.013736189343035221,
-0.0020723515190184116,
0.035764604806900024,
0.016741765663027763,
0.011854447424411774,
-0.005261819809675217,
0.006349773611873388,
-0.0237163994461298,
0.0008312514401040971,
0.04646738991141319,
-0.01706063747406006,
0.009065477177500725,
0.012203898280858994,
-0.01781543903052807,
-0.00830087810754776,
-0.03039439395070076,
0.03192444518208504,
0.05040822923183441,
0.02646331489086151,
0.0013895094161853194,
-0.03801179677248001,
0.018994521349668503,
0.054541584104299545,
0.04176008328795433,
-0.058262575417757034,
0.02840312570333481,
0.023086966946721077,
-0.04289756715297699,
0.017425965517759323,
-0.017564911395311356,
0.0048026712611317635,
-0.022083373740315437,
0.0259610153734684,
0.029539460316300392,
0.03419092297554016,
0.007931781932711601,
0.047268737107515335,
-0.047193169593811035,
0.007874471135437489,
0.013853990472853184,
0.05920582637190819,
-0.014391315169632435,
-0.004124648403376341,
0.03923523426055908,
0.045716945081949234,
0.04155578836798668,
-0.007902533747255802,
0.027141263708472252,
0.018947124481201172,
0.05153442919254303,
0.05532520264387131,
0.022386964410543442,
-0.0089821582660079,
-0.005746456794440746,
0.0666763037443161,
-0.023721491917967796,
-0.06435899436473846,
-0.011583415791392326,
0.046311404556035995,
0.028175203129649162,
0.0023180765565484762,
0.02817363664507866,
-0.048222653567790985,
0.013761966489255428,
0.021937651559710503,
0.06163830682635307,
0.010661931708455086,
0.022947369143366814,
-0.04249716177582741,
0.032355669885873795,
-0.03413822874426842,
0.021233757957816124,
0.013207636773586273,
-0.000427944993134588,
0.033865101635456085,
0.037369586527347565,
0.018707359209656715,
0.006097353529185057,
-0.0358874537050724,
-0.0028725042939186096,
0.018485888838768005,
-0.00618608295917511,
-0.0073250094428658485,
-0.02301226183772087,
0.01419171690940857,
-0.0017738991882652044,
0.006746106315404177,
-0.01573372632265091,
-0.007424177136272192,
-0.0065978895872831345,
-0.005872654728591442,
-0.012928755022585392,
0.012981428764760494,
-0.02592981420457363,
0.01813109591603279,
0.007096507586538792,
-0.012893355451524258,
0.04288368299603462,
0.01222755666822195,
0.029795419424772263,
-0.01818927936255932,
-0.0629381537437439,
-0.03296852111816406,
-0.05058082193136215,
0.01928546279668808,
0.03096362017095089,
0.00375001085922122,
0.00577834527939558,
-0.022301390767097473,
0.011513960547745228,
0.015554913319647312,
0.025590185075998306,
0.005624303128570318,
0.012269456870853901,
0.008058627136051655,
-0.055208537727594376,
-0.01271588820964098,
-0.029603350907564163,
0.020873207598924637,
0.001684296759776771,
0.03380662202835083,
0.0036985627375543118,
-0.015052161179482937,
0.007223279215395451,
0.026957804337143898,
0.04241611436009407,
0.00465471250936389,
-0.03697768971323967,
-0.01842385344207287,
-0.04639284312725067,
0.06775647401809692,
-0.018702389672398567,
-0.000025285526135121472,
-0.015542587265372276,
-0.011665510945022106,
-0.007893205620348454,
0.02294459007680416,
0.0011075977236032486,
-0.001462537795305252,
0.0547117255628109,
-0.02057652920484543,
-0.019425921142101288,
-0.02281098999083042,
-0.013948541134595871,
0.0025128242559731007,
0.0036245454102754593,
0.05060780420899391,
0.0036328176502138376,
0.02750171348452568,
-0.004746941849589348,
0.02347583696246147,
-0.03718456253409386,
0.016546444967389107,
0.0306133721023798,
-0.024302998557686806,
0.019009321928024292,
-0.03791235387325287,
-0.032101474702358246,
0.006652181036770344,
0.01720302365720272,
-0.011931155808269978,
0.025513529777526855,
0.004693322815001011,
-0.029727939516305923,
0.014721415936946869,
-0.0018971416866406798,
-0.01420820876955986,
-0.0024820035323500633,
-0.013968170620501041,
0.024001775309443474,
0.004692332353442907,
0.006100561004132032,
-0.022605324164032936,
0.06367696076631546,
-0.032539740204811096,
0.010002201423048973,
-0.0016888377722352743,
-0.006452575791627169,
-0.01791938953101635,
-0.02271866239607334,
0.013289399445056915,
0.06779064983129501,
-0.0028191925957798958,
0.015911418944597244,
0.028243092820048332,
-0.010201524011790752,
0.020794523879885674,
0.05655954033136368,
-0.05761441960930824,
0.03252725303173065,
0.04143224284052849,
0.01903657428920269,
-0.019796576350927353,
-0.0003816767130047083,
0.0033164173364639282,
0.058880411088466644,
0.014748666435480118,
-0.017466170713305473,
0.027250971645116806,
0.01927015371620655,
0.06183050945401192,
-0.0110935028642416,
-0.04790734872221947,
0.02132614329457283,
-0.003763499902561307,
0.03339921310544014,
0.022506410256028175,
-0.019486762583255768,
-0.0005740756168961525,
-0.00573720270767808,
-0.012229397892951965,
-0.006023723166435957,
-0.0057357256300747395,
-0.022725677117705345,
0.03352040797472,
0.017939040437340736,
-0.0077989790588617325,
-0.047984492033720016,
0.04132327437400818,
-0.006317085586488247,
0.05037776008248329,
0.013084526173770428,
-0.0029489113949239254
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Metrics This section will delve into the definition of Average Precision and Average Recall, their variations, and their associated computation methodologies. | [
0.02995077706873417,
0.03397404029965401,
0.062015071511268616,
-0.051332324743270874,
0.08960464596748352,
-0.013971303589642048,
0.01731741800904274,
0.017943838611245155,
-0.08836683630943298,
-0.06867378950119019,
-0.0323125384747982,
0.0032603612635284662,
0.00534530496224761,
0.0023124327417463064,
-0.014372777193784714,
0.049361567944288254,
0.05781988427042961,
-0.03606677055358887,
0.05961443856358528,
0.04798455908894539,
-0.04859641566872597,
-0.0038415128365159035,
0.03769305348396301,
0.021587684750556946,
0.003555772127583623,
0.022771086543798447,
0.0011262361658737063,
-0.07467738538980484,
-0.086479552090168,
-0.022811541333794594,
-0.11449749767780304,
0.020248696208000183,
0.01760876737535,
-0.03760348632931709,
-0.008282307535409927,
-0.04384363442659378,
-0.07765159010887146,
0.07505308836698532,
0.016011526808142662,
-0.08387549966573715,
-0.005234410986304283,
-0.0856838971376419,
-0.02127109281718731,
-0.023196902126073837,
-0.058944787830114365,
0.011968483217060566,
-0.14206692576408386,
-0.008060237392783165,
-0.010518192313611507,
-0.028737537562847137,
-0.08191241323947906,
0.035025618970394135,
-0.002729956526309252,
0.05614180490374565,
-0.05051364377140999,
-0.004386062268167734,
0.04856676235795021,
-0.05356800556182861,
0.060752324759960175,
0.022211523726582527,
0.042276494204998016,
-0.00604201527312398,
-0.034370239824056625,
-0.01475623156875372,
0.0774121806025505,
-0.013018244877457619,
0.07405924797058105,
0.08091992884874344,
-0.04233409836888313,
0.045266371220350266,
0.006521693896502256,
-0.015355074778199196,
0.027262171730399132,
0.013793417252600193,
-0.06839641183614731,
-0.062379129230976105,
0.013634499162435532,
-0.0201345793902874,
0.009285259991884232,
0.021570751443505287,
0.01732999086380005,
-0.051289450377225876,
0.0984010249376297,
0.0202536229044199,
-0.04192959517240524,
-0.031084515154361725,
0.006871968507766724,
-0.026250973343849182,
-0.03564539924263954,
-0.003621120471507311,
0.003217429155483842,
-0.12847737967967987,
0.021917767822742462,
0.009099679067730904,
0.0004999793018214405,
-0.08535255491733551,
0.09973708540201187,
-0.02171713300049305,
0.0075139328837394714,
0.022445302456617355,
-0.032412074506282806,
0.03903331235051155,
0.08592276275157928,
-0.014693678356707096,
-0.03492392227053642,
0.010690305382013321,
0.008192156441509724,
-0.1057814210653305,
-0.038772471249103546,
0.0329069159924984,
-0.057182908058166504,
0.03009580448269844,
0.07024051249027252,
0.08615665882825851,
-0.06846652925014496,
0.043392304331064224,
0.01890460029244423,
-0.0013380827149376273,
-0.019972607493400574,
0.017607755959033966,
0.019580630585551262,
0.06486019492149353,
0.06102310121059418,
-0.062113553285598755,
0.019296273589134216,
0.0038568044546991587,
0.08697297424077988,
-0.021698741242289543,
-0.012068429961800575,
-0.021706584841012955,
-0.06251141428947449,
-0.03201300650835037,
-0.012200924567878246,
-0.03434281796216965,
-0.04111289605498314,
-0.04128311946988106,
-0.016218245029449463,
-0.029651809483766556,
0.006419967394322157,
-0.018020065501332283,
-0.05167245492339134,
0.008549758233129978,
-0.023999562487006187,
0.0432015098631382,
0.02546118013560772,
-0.047411758452653885,
-0.04973427951335907,
0.04227010905742645,
-0.00533711863681674,
0.01653340831398964,
-0.013772799633443356,
0.09798012673854828,
-0.05597897246479988,
-0.05986751616001129,
0.04306093603372574,
-0.017108770087361336,
0.022650865837931633,
-0.01783020608127117,
-0.02748640812933445,
0.03278231620788574,
-0.0405915193259716,
0.06253369152545929,
-0.04926133155822754,
-0.022464971989393234,
0.06044876202940941,
-0.04020434245467186,
0.03398663550615311,
0.051001135259866714,
-0.007201359141618013,
-0.012954138219356537,
-0.011460790410637856,
-0.06883528083562851,
0.06247378885746002,
0.010441865772008896,
-0.05558551102876663,
0.070217564702034,
0.04513796418905258,
0.048230208456516266,
0.055540163069963455,
-0.0015541702741757035,
-0.005348734091967344,
-0.032193124294281006,
-0.0386066660284996,
-0.0025676738005131483,
-0.021824875846505165,
-0.09173194319009781,
0.07446299493312836,
-0.037679411470890045,
0.020287832245230675,
0.0193615909665823,
-0.08017297834157944,
-0.04286990687251091,
-0.0070962486788630486,
-0.050448060035705566,
0.01900513656437397,
-0.09834519028663635,
0.01842256635427475,
0.10758573561906815,
0.0434214249253273,
0.044231731444597244,
0.0075036296620965,
-0.010448417626321316,
0.0425681471824646,
-0.05934504047036171,
-0.043290454894304276,
0.005364071577787399,
0.0583915077149868,
-0.018193557858467102,
0.008661829866468906,
0.03312571346759796,
0.01383389625698328,
-0.12188687920570374,
-0.010768747888505459,
-0.09573923796415329,
-0.01640472002327442,
-0.0001329880760749802,
0.02360839955508709,
-0.0181699451059103,
0.029390137642621994,
-0.08242776244878769,
0.13570748269557953,
-0.018583273515105247,
0.046099141240119934,
0.09018691629171371,
-0.10406645387411118,
0.06636195629835129,
0.07334073632955551,
0.00273455330170691,
0.01768053136765957,
-0.04763669893145561,
0.00007895863382145762,
-0.05383296310901642,
0.042845819145441055,
0.07286440581083298,
0.03473305329680443,
-0.000027267829864285886,
-0.047352276742458344,
0.030631378293037415,
0.037906941026449203,
-0.060524068772792816,
-0.021979207172989845,
0.012233993969857693,
-0.007184278219938278,
0.06351643055677414,
0.029691794887185097,
-0.0056630633771419525,
0.05539662763476372,
-0.023919589817523956,
-0.07376415282487869,
0.0006809334154240787,
-0.041677094995975494,
-0.004687064792960882,
0.06306156516075134,
-0.032311685383319855,
-0.040772344917058945,
0.028766179457306862,
0.031533725559711456,
0.00848957896232605,
-0.016842789947986603,
0.023001886904239655,
0.02035868540406227,
-0.0053850701078772545,
-0.008570350706577301,
-0.015117401257157326,
0.025405848398804665,
-0.024736326187849045,
0.008356314152479172,
0.01916583441197872,
-0.027034364640712738,
0.0059836143627762794,
-0.001093773520551622,
0.005787387955933809,
-0.013019188307225704,
0.023845983669161797,
-0.000868885254021734,
-0.015558326616883278,
0.04842338338494301,
-0.02719121426343918,
-0.015555191785097122,
0.0029313836712390184,
-0.02307286486029625,
-0.0006581243360415101,
0.06834475696086884,
0.006513116415590048,
0.027844266965985298,
-0.03756435588002205,
0.05466838926076889,
-0.013788571581244469,
-0.005879856180399656,
0.0022444678470492363,
-0.024517614394426346,
0.01967260241508484,
-0.03729885071516037,
0.021930981427431107,
0.03116460144519806,
0.0063908095471560955,
-0.019040748476982117,
0.02868768572807312,
0.0018969652010127902,
-0.031893808394670486,
-0.005703875795006752,
0.0197126567363739,
-0.012607245706021786,
-0.023228224366903305,
-0.05697471648454666,
0.03785509616136551,
-0.0007469325792044401,
0.053319092839956284,
-0.12697970867156982,
-0.038106661289930344,
0.01149459183216095,
0.03105577640235424,
-0.029154451563954353,
-0.011414573527872562,
0.04022374376654625,
0.02348342537879944,
-0.028402142226696014,
0.018024440854787827,
0.03357548266649246,
0.02174830064177513,
0.02777097187936306,
0.044894251972436905,
0.030264193192124367,
0.025824563577771187,
-0.06166553497314453,
0.0013295377139002085,
0.0023306426592171192,
0.029204748570919037,
0.03491697460412979,
0.04514973983168602,
0.006013490725308657,
-0.012208957225084305,
-0.007910494692623615,
0.035037968307733536,
0.0262122955173254,
0.011805147863924503,
0.006015771068632603,
-0.008466964587569237,
0.01185575034469366,
0.04012007266283035,
-0.03724168613553047,
-0.0006949512753635645,
0.00581554276868701,
-0.003255652030929923,
0.00009386172314407304,
-0.013411029241979122,
-0.0071386490017175674,
0.033453717827796936,
0.05261336266994476,
0.039660532027482986,
-0.0027713875751942396,
-0.021561354398727417,
-0.02248505875468254,
0.018525466322898865,
-0.0035848848056048155,
0.01489314530044794,
0.012320470996201038,
-0.050670236349105835,
-0.0206794161349535,
-0.022244464606046677,
0.007356294430792332,
0.06548014283180237,
-0.0020869511645287275,
-0.02327331341803074,
-0.0008266066433861852,
0.03954542800784111,
0.005290816072374582,
0.007156378123909235,
-0.01391180045902729,
0.017700036987662315,
0.025475401431322098,
-0.015455286018550396,
-0.07277494668960571,
0.005715604871511459,
0.004543233197182417,
-0.005381162744015455,
-0.016755959019064903,
0.03905394300818443,
-0.02939850464463234,
0.045874401926994324,
0.002830276032909751,
0.016885438933968544,
-0.025570359081029892,
0.00025852469843812287,
-0.03228931501507759,
0.02656199038028717,
0.07671142369508743,
0.03650321811437607,
-0.014584707096219063,
0.008009286597371101,
-0.03606401011347771,
-0.008579130284488201,
-0.02701226994395256,
0.010169555433094501,
-0.0359981395304203,
0.052172623574733734,
0.03201867267489433,
0.01885899528861046,
0.03750809282064438,
0.0006628964911215007,
-0.01597738452255726,
-0.008123121224343777,
-0.007677924353629351,
0.008321178145706654,
0.03638758137822151,
0.0007943928358145058,
0.018057478591799736,
0.014145740307867527,
0.009935653768479824,
-0.0039602057076990604,
0.020758556202054024,
0.007814143784344196,
-0.011216125451028347,
0.004351793322712183,
0.0018087802454829216,
0.019530287012457848,
0.006158186122775078,
-0.0032655815593898296,
0.011760138906538486,
-0.03586873039603233,
0.04150770604610443,
-0.07849667221307755,
-0.006123261526226997,
-0.000715151138138026,
-0.04313512146472931,
-0.005872235633432865,
0.005166905932128429,
0.03564313054084778,
-0.06131395325064659,
0.00696579460054636,
-0.01692110113799572,
0.03416465222835541,
0.005949792917817831,
0.005784396547824144,
-0.0061691636219620705,
-0.021349383518099785,
-0.029571766033768654,
-0.03364841267466545,
0.012171240523457527,
0.009977200999855995,
0.008908919990062714,
0.039750196039676666,
0.011267511174082756,
0.0017358334735035896,
0.009161965921521187,
0.02565852925181389,
-0.006045940797775984,
-0.06325515359640121,
0.005728856660425663,
-0.01011668611317873,
0.004600341431796551,
-0.02567434310913086,
0.04597833380103111,
0.008221819065511227,
-0.06097746267914772,
0.006784417200833559,
-0.0077624935656785965,
0.0017588252667337656,
0.031228505074977875,
-0.023085957393050194,
-0.030803287401795387,
-0.010694027878344059,
-0.01127588003873825,
-0.0024141373578459024,
0.0021888853516429663,
-0.014405588619410992,
-0.013535430654883385,
0.04920380935072899,
-0.007904482074081898,
-0.024359572678804398,
-0.053884901106357574,
0.005872586742043495,
-0.01762915588915348,
-0.022862344980239868,
0.024731948971748352,
0.012120419181883335,
0.02909419871866703,
0.02249932289123535,
0.03447842225432396,
-0.018729636445641518,
0.00019157207862008363,
-0.01809321902692318,
0.011736107058823109,
0.023790020495653152,
0.014034345746040344,
-0.0127947349101305,
0.014268986880779266,
-0.0007617655792273581,
0.004706599283963442,
-0.008377582766115665,
0.02249823696911335,
0.019400764256715775,
-0.0016909717814996839,
0.01694377511739731,
0.054535288363695145,
0.0116606205701828,
-0.011518619954586029,
0.049310121685266495,
0.04902153089642525,
-0.017110323533415794,
0.027113379910588264,
-0.02949310839176178,
0.01452129427343607,
0.024054626002907753,
0.018319055438041687,
-0.013710251078009605,
-0.042753420770168304,
-0.020489118993282318,
0.031156936660408974,
0.006830875761806965,
0.020778276026248932,
-0.00036507652839645743,
0.012653044424951077,
0.01331442128866911,
0.007076716516166925,
-0.036355357617139816,
-0.002170379739254713,
-0.019597480073571205,
-0.024895425885915756,
-0.005185290705412626,
-0.07740040868520737,
-0.015148595906794071,
0.029108870774507523,
-0.07770860195159912,
-0.053602878004312515,
0.01807544194161892,
0.011207756586372852,
0.0269917119294405,
0.031245775520801544,
0.018834194168448448,
-0.018464451655745506,
0.012254089117050171,
0.02399352937936783,
-0.00267942831851542,
0.023192862048745155,
0.012410587631165981,
-0.011971809901297092,
0.06085863336920738,
0.003784704953432083,
0.008664156310260296,
-0.008608617819845676,
0.0037081753835082054,
0.001040884293615818,
0.021142015233635902,
-0.04905286431312561,
0.04966083541512489,
0.0412348136305809,
0.02882828563451767,
-0.036052532494068146,
0.02109379693865776,
-0.0033417295198887587,
-0.018556689843535423,
-0.01416319515556097,
-0.0332309752702713,
0.0699135959148407,
-0.020213980227708817,
0.046709731221199036,
0.04284749925136566,
-0.014748945832252502,
-0.009564468637108803,
-0.01798829808831215,
0.024452131241559982,
0.032356053590774536,
0.01250291895121336,
0.013212232850492,
-0.04145681485533714,
0.020979221910238266,
-0.02502358891069889,
0.044839002192020416,
-0.027811333537101746,
0.04082110896706581,
0.02495754137635231,
-0.06128058210015297,
0.003043408738449216,
0.032152801752090454,
0.00853343028575182,
0.04200487211346626,
0.02242630161345005,
0.01992669142782688,
0.05463773012161255,
0.024975113570690155,
0.03288200870156288,
-0.0037112163845449686,
0.026867223903536797,
-0.032479193061590195,
0.04819157347083092,
-0.006582458503544331,
0.027081117033958435,
0.05997137352824211,
0.052109356969594955,
0.03230515867471695,
0.008896606974303722,
-0.0024168835952878,
0.006912652403116226,
0.024296028539538383,
0.033425454050302505,
0.018724994733929634,
0.01686200127005577,
-0.0035807983949780464,
-0.0033081492874771357,
-0.016952764242887497,
-0.01393441017717123,
-0.07750970870256424,
0.028634129092097282,
0.032549213618040085,
0.008326271548867226,
0.023132966831326485,
-0.03741874545812607,
0.02674977108836174,
-0.003526134416460991,
0.005641178227961063,
-0.005989338271319866,
0.02597871795296669,
0.03229392692446709,
0.04080313816666603,
-0.024507272988557816,
-0.0014961708802729845,
-0.024939224123954773,
0.01902015693485737,
0.05310704931616783,
0.04823073372244835,
-0.01963876187801361,
0.016990303993225098,
-0.04978123679757118,
0.015036242082715034,
0.02072332426905632,
-0.010556813329458237,
0.031112244352698326,
0.0006257465574890375,
-0.03324679657816887,
0.030627427622675896,
0.013353613205254078,
-0.05632145330309868,
-0.027763400226831436,
0.012160819955170155,
-0.02422436885535717,
-0.0033673595171421766,
0.007142749149352312,
0.011038348078727722,
0.024788131937384605,
0.005113363265991211,
-0.042241331189870834,
-0.016032502055168152,
-0.0006035998812876642,
0.013559013605117798,
0.020285794511437416,
-0.052849363535642624,
-0.01667962595820427,
-0.03128139302134514,
0.01772346720099449,
0.030154384672641754,
0.024920739233493805,
-0.008090883493423462,
-0.010091804899275303,
0.013220137916505337,
-0.007421379908919334,
-0.04040411487221718,
0.009263072162866592,
-0.017194679006934166,
-0.0010676219826564193,
-0.023366520181298256,
0.04214171692728996,
-0.05538235977292061,
-0.0030790455639362335,
0.021332290023565292,
0.042895570397377014,
0.004995655734091997,
-0.03416097164154053,
-0.0030622370541095734,
0.011324713006615639,
0.0000853065648698248,
-0.02236689068377018,
0.008765104226768017,
-0.023693548515439034,
-0.05631103366613388,
0.017909755930304527,
0.008621115237474442,
0.010934163816273212,
-0.0033405106514692307,
-0.0022564115934073925,
0.017374377697706223,
-0.017185159027576447,
-0.046969685703516006,
0.021532496437430382,
0.04730118438601494,
-0.014025604352355003,
0.008604291826486588,
-0.04627252370119095,
0.023116083815693855,
-0.010844768024981022,
0.028342392295598984,
0.058319635689258575,
-0.005709621123969555,
0.009123479947447777,
-0.04432592913508415,
0.04840443655848503,
-0.009391251020133495,
0.038566652685403824,
0.00014226778876036406,
-0.03287684544920921,
-0.026759730651974678,
-0.01282358169555664,
-0.013966680504381657,
0.014543576166033745,
-0.031701769679784775,
0.0167282372713089,
0.01690424419939518,
0.0022022188641130924,
-0.05763109773397446,
0.00007734561950201169,
0.032481320202350616,
-0.0036299617495387793,
0.02396177127957344,
0.025043055415153503,
0.020820975303649902,
0.004333671182394028,
0.003029969520866871,
-0.007456975057721138,
0.01561116985976696,
-0.012770190834999084,
-0.0036884190049022436,
-0.031326886266469955,
0.008983122184872627,
-0.04695742204785347,
-0.023688729852437973,
0.024075482040643692,
0.010977514088153839,
-0.018140871077775955,
0.007148460950702429,
-0.015431088395416737,
-0.010596674866974354,
0.01653439924120903,
0.07976388186216354,
-0.009092486463487148,
0.004575794562697411,
0.016108421608805656,
0.00953767355531454,
-0.035829897969961166,
-0.020256152376532555,
0.03240078687667847,
0.017930293455719948,
0.04679980129003525,
0.023861408233642578,
-0.012956799007952213,
0.019109860062599182,
-0.02338392287492752,
-0.007748149801045656,
-0.018129760399460793,
-0.0007745179464109242,
-0.0018141111359000206,
0.019681444391608238,
-0.007450176868587732,
-0.035482510924339294,
-0.045900505036115646,
0.033295150846242905,
0.0018872475484386086,
-0.030032481998205185,
0.01916009932756424,
-0.015971798449754715,
0.02796172723174095,
-0.001227551605552435,
0.019873138517141342,
-0.01788509264588356,
0.060037948191165924,
0.016675591468811035,
0.021673040464520454,
0.03856906294822693,
0.002328421687707305
] |
Object Detection Leaderboard | rafaelpadilla | September 18, 2023 | object-detection-leaderboard | community, guide, cv, leaderboard, evaluation | https://huggingface.co/blog/object-detection-leaderboard | Thresholding detections before evaluation Our sample model uses the [`DetrImageProcessor` class](https://huggingface.co/docs/transformers/main/en/model_doc/detr#transformers.DetrImageProcessor) to process the bounding boxes and logits, as shown in the snippet below: ```python from transformers import DetrImageProcessor, DetrForObjectDetection import torch from PIL import Image import requests url = "http://images.cocodataset.org/val2017/000000039769.jpg" image = Image.open(requests.get(url, stream=True).raw) processor = DetrImageProcessor.from_pretrained("facebook/detr-resnet-50") model = DetrForObjectDetection.from_pretrained("facebook/detr-resnet-50") inputs = processor(images=image, return_tensors="pt") outputs = model(**inputs) # PIL images have their size in (w, h) format target_sizes = torch.tensor([image.size[::-1]]) results = processor.post_process_object_detection(outputs, target_sizes=target_sizes, threshold=0.5) ``` The parameter `threshold` in function `post_process_object_detection` is used to filter the detected bounding boxes based on their confidence scores. As previously discussed, the Precision x Recall curve is built by measuring the Precision and Recall across the full range of confidence values [0,1]. Thus, limiting the detections before evaluation will produce biased results, as we will leave some detections out. | [
-0.008248819038271904,
0.0073028067126870155,
-0.01782802678644657,
0.002531649312004447,
0.04640697315335274,
0.07408656179904938,
0.06530694663524628,
0.021222377195954323,
-0.08327089250087738,
-0.003848445136100054,
-0.07803813368082047,
0.10408280044794083,
0.01480081770569086,
0.056866131722927094,
0.05735013633966446,
-0.04719192534685135,
0.0687246322631836,
-0.014352690428495407,
-0.021361473947763443,
0.0623890720307827,
0.030792364850640297,
-0.09147355705499649,
-0.014154852367937565,
0.03305627778172493,
0.005223914515227079,
-0.07115824520587921,
0.027831770479679108,
0.010271978564560413,
-0.0327727310359478,
0.07654907554388046,
-0.08281362056732178,
-0.032542794942855835,
0.020151007920503616,
-0.018803777173161507,
0.022110572084784508,
0.03037119284272194,
-0.1094299778342247,
0.01564338430762291,
0.07848099619150162,
0.05078233778476715,
-0.028984861448407173,
-0.028583331033587456,
-0.07148513197898865,
-0.029632704332470894,
0.04795777052640915,
-0.09615157544612885,
-0.12495191395282745,
0.07358025014400482,
0.00880818348377943,
-0.029575008898973465,
-0.036302600055933,
0.09671831876039505,
-0.04669738560914993,
0.02200895920395851,
-0.004772645886987448,
-0.04081664979457855,
0.012086565606296062,
-0.038087889552116394,
0.06942474842071533,
-0.035292163491249084,
0.012926696799695492,
0.004548112861812115,
0.05147894099354744,
0.06693179160356522,
0.00041982828406617045,
0.0202568881213665,
0.07139672338962555,
0.05817238613963127,
0.032286763191223145,
-0.058790456503629684,
0.031730059534311295,
-0.022437619045376778,
0.013250546529889107,
0.00839625857770443,
-0.0629054456949234,
0.01296011358499527,
0.00035194650990888476,
-0.014389683492481709,
0.020655114203691483,
0.05238671600818634,
-0.04244980216026306,
0.029009537771344185,
0.046593163162469864,
0.03147885575890541,
0.04411861672997475,
0.0496128611266613,
0.01904219575226307,
-0.0012193168513476849,
0.0031837800052016973,
0.009251680225133896,
-0.0002658934099599719,
-0.07620660960674286,
0.07441819459199905,
0.004314539022743702,
0.04861937835812569,
-0.015497290529310703,
-0.024636493995785713,
0.03433075547218323,
0.013451934792101383,
-0.024174753576517105,
-0.02147609554231167,
-0.02373604103922844,
0.02353706583380699,
-0.056200966238975525,
-0.05302199721336365,
0.025740664452314377,
-0.039356209337711334,
-0.046698492020368576,
-0.03640564903616905,
-0.016758695244789124,
0.0013738700654357672,
0.02121066115796566,
-0.01104351133108139,
0.07422592490911484,
-0.08067604899406433,
-0.07149309664964676,
-0.02274884283542633,
-0.004042312502861023,
0.014881426468491554,
0.016666587442159653,
-0.0012065572664141655,
0.13849933445453644,
0.06376944482326508,
-0.014684938825666904,
-0.025346193462610245,
0.055261485278606415,
0.02653433009982109,
0.06023363396525383,
0.0038795070722699165,
-0.01342171709984541,
-0.01587473414838314,
0.020469598472118378,
0.020764436572790146,
-0.02027454599738121,
-0.015078531578183174,
-0.04656931757926941,
-0.012142189778387547,
-0.06796794384717941,
0.0288277268409729,
-0.0757666602730751,
-0.01043268945068121,
-0.01683269999921322,
-0.04905290529131889,
-0.021672390401363373,
-0.022906659170985222,
-0.07277940958738327,
-0.040604084730148315,
0.11380982398986816,
0.044781144708395004,
0.06725215166807175,
-0.0931355282664299,
0.11322394758462906,
-0.007895836606621742,
-0.045597150921821594,
-0.04752366244792938,
0.08288100361824036,
-0.04288710653781891,
-0.05624770373106003,
-0.08992934972047806,
0.01957232877612114,
-0.05853164941072464,
0.015306058339774609,
-0.04526099935173988,
-0.004743209574371576,
0.04406144842505455,
0.00042442826088517904,
0.014369603246450424,
-0.006711311638355255,
0.013327433727681637,
0.0768897756934166,
-0.009227088652551174,
-0.06621481478214264,
0.029883768409490585,
-0.03281295672059059,
0.023941626772284508,
0.06389675289392471,
0.016559626907110214,
0.011666921898722649,
-0.002224160125479102,
0.022867687046527863,
-0.06638340651988983,
0.03611025959253311,
-0.03203878179192543,
0.06721385568380356,
0.0658223032951355,
-0.10588456690311432,
0.01850931905210018,
0.002864185022190213,
-0.002385132247582078,
0.07284032553434372,
-0.04885299131274223,
0.009064095094799995,
0.07076992839574814,
-0.008338156156241894,
0.05687497928738594,
-0.07636634260416031,
-0.06823616474866867,
0.07443655282258987,
0.012933531776070595,
0.021906942129135132,
0.03892705589532852,
0.01057166326791048,
0.059062931686639786,
-0.028628265485167503,
-0.007508470211178064,
0.020805135369300842,
0.02426907606422901,
-0.020609822124242783,
-0.021527355536818504,
0.06288165599107742,
0.013411683030426502,
-0.06052347272634506,
-0.013772000558674335,
0.005556804593652487,
-0.016090892255306244,
-0.022602317854762077,
-0.010587523691356182,
-0.016236595809459686,
0.01990371383726597,
0.0039039128459990025,
0.10132011026144028,
0.023826753720641136,
0.04017914831638336,
-0.019263070076704025,
-0.009398175403475761,
0.014513364061713219,
0.04332331568002701,
0.050669215619564056,
0.07434031367301941,
-0.017392095178365707,
-0.034865960478782654,
-0.002369023859500885,
0.014625204727053642,
0.0540960356593132,
-0.09099677205085754,
-0.1040806919336319,
0.012036253698170185,
0.06084487959742546,
0.08160823583602905,
-0.009432016871869564,
-0.02191711962223053,
0.0307121891528368,
0.005058071110397577,
0.05326506122946739,
0.005909398663789034,
0.023867234587669373,
0.06016933545470238,
0.038557566702365875,
-0.06265828013420105,
0.004623111337423325,
-0.05410601198673248,
0.05502045899629593,
0.026447119191288948,
-0.05852079391479492,
-0.001296672853641212,
0.03086847998201847,
-0.0020141585264354944,
0.016073722392320633,
-0.02969779260456562,
0.019953889772295952,
0.06537071615457535,
-0.01905040815472603,
-0.06327839940786362,
-0.050196703523397446,
-0.011230124160647392,
-0.041591111570596695,
0.01541164331138134,
0.028713157400488853,
-0.003808356123045087,
0.0165565088391304,
0.033086154609918594,
-0.0015943825710564852,
0.012708159163594246,
-0.007165228016674519,
-0.006628252565860748,
0.03520367294549942,
0.03697386756539345,
-0.014202545396983624,
-0.019802071154117584,
-0.029239241033792496,
-0.014217566698789597,
0.010256994515657425,
0.008268027566373348,
0.05208992585539818,
0.002392800524830818,
-0.01339361909776926,
0.0012196239549666643,
0.026174478232860565,
-0.02827528305351734,
0.026880355551838875,
0.0033517186529934406,
0.05540516972541809,
-0.006285667419433594,
-0.049149394035339355,
0.009962283074855804,
0.03718411922454834,
-0.03001650795340538,
-0.0030015031807124615,
-0.005949351470917463,
0.015825504437088966,
-0.05340300127863884,
-0.018661046400666237,
0.015793656930327415,
-0.024528266862034798,
-0.02001461386680603,
0.02939767949283123,
-0.026836702600121498,
0.055652447044849396,
-0.08592310547828674,
-0.005384490359574556,
0.021878445520997047,
0.040506038814783096,
-0.02103349007666111,
-0.021343961358070374,
0.028109373524785042,
-0.025014804676175117,
0.014062033966183662,
0.009553887881338596,
-0.030725618824362755,
-0.022172430530190468,
0.004151130095124245,
0.042630791664123535,
0.0038423349615186453,
0.03220551088452339,
0.013652434572577477,
-0.0001884133816929534,
-0.007760945707559586,
0.003299740143120289,
-0.02691289223730564,
0.023722724989056587,
0.010442261584103107,
0.003236607415601611,
-0.030862387269735336,
0.03219567611813545,
0.0432887002825737,
0.01772201992571354,
0.03789621219038963,
-0.02920878678560257,
-0.021212676540017128,
-0.02456923946738243,
-0.02328294701874256,
0.01938963122665882,
-0.021429818123579025,
0.022168753668665886,
0.0044637215323746204,
-0.022047923877835274,
0.007664814591407776,
0.054701559245586395,
0.009794765152037144,
0.009884964674711227,
0.00782106164842844,
0.003971234895288944,
0.03608931973576546,
-0.01050482876598835,
-0.007508270442485809,
-0.04855858162045479,
0.02319941483438015,
-0.038922812789678574,
-0.029275238513946533,
-0.01671426184475422,
-0.0007243793224915862,
0.08215366303920746,
0.035405483096838,
0.000768795027397573,
-0.007898000068962574,
0.030612844973802567,
-0.013967752456665039,
0.021305179223418236,
-0.051379796117544174,
0.043010782450437546,
-0.009387541562318802,
0.03254628926515579,
-0.049957629293203354,
0.048763394355773926,
0.00023249004152603447,
0.010632808320224285,
-0.009535111486911774,
-0.04207249730825424,
0.011061225086450577,
0.043869584798812866,
0.03678390011191368,
0.007133206818252802,
-0.049195561558008194,
-0.021137749776244164,
-0.03478727117180824,
-0.0021160815376788378,
0.014420224353671074,
-0.02255084551870823,
-0.024624532088637352,
0.033256664872169495,
-0.013011223636567593,
-0.015656327828764915,
-0.004874087870121002,
0.002162378281354904,
-0.02144649066030979,
-0.03858571872115135,
0.020074311643838882,
-0.008061970584094524,
0.02277645841240883,
0.03630053624510765,
-0.04265483841300011,
0.004631005693227053,
-0.03498455509543419,
0.015143352560698986,
-0.01503495592623949,
0.0037099886685609818,
-0.02489422634243965,
0.0008399918442592025,
0.011304346844553947,
-0.05812009796500206,
-0.005907547194510698,
0.03549132123589516,
0.013018535450100899,
-0.019308269023895264,
-0.046973440796136856,
0.011289209127426147,
0.022175179794430733,
-0.010840478353202343,
-0.03175275772809982,
-0.044394075870513916,
-0.012222951278090477,
0.007021840196102858,
0.03107420541346073,
0.0073158699087798595,
0.001493853167630732,
-0.04208217188715935,
-0.003487524576485157,
0.03396982699632645,
-0.03482533618807793,
0.021738195791840553,
-0.012944214977324009,
-0.020551132038235664,
0.049213048070669174,
0.05204449221491814,
-0.0029170261695981026,
0.038777004927396774,
0.012361637316644192,
-0.05684414505958557,
-0.03054766356945038,
0.015306688845157623,
0.015572681091725826,
0.02045436203479767,
0.02299688383936882,
0.008961647748947144,
-0.04254281893372536,
-0.03899955749511719,
0.02485775202512741,
-0.02084016427397728,
-0.024278549477458,
-0.006788974162191153,
0.00312085566110909,
-0.03065931797027588,
0.014295907691121101,
0.004254320170730352,
-0.03151048347353935,
-0.013460195623338223,
-0.05243527516722679,
0.006390179041773081,
0.006949876435101032,
-0.04121696949005127,
-0.044670723378658295,
0.032125119119882584,
0.0543818324804306,
-0.0040279473178088665,
-0.01818380132317543,
0.02261148951947689,
0.008682802319526672,
0.028878113254904747,
-0.024850351735949516,
0.03218310326337814,
-0.03193642571568489,
0.03134945407509804,
-0.0011756080202758312,
-0.02961909957230091,
-0.016524309292435646,
-0.05158000811934471,
0.0010709415655583143,
-0.0033619485329836607,
-0.020400891080498695,
-0.008972307667136192,
0.018020784482359886,
-0.03098253346979618,
0.032082900404930115,
0.08803627640008926,
0.0399576835334301,
-0.0063063157722353935,
-0.008831729181110859,
-0.0012704196851700544,
-0.01940767839550972,
-0.009864977560937405,
0.047467734664678574,
-0.009115098044276237,
-0.005329645238816738,
0.012759346514940262,
0.02969944477081299,
0.011456361040472984,
0.009188910946249962,
0.021964292973279953,
-0.00045295184827409685,
-0.0028275256045162678,
0.02843157760798931,
-0.03286299854516983,
0.0028176354244351387,
-0.01569247804582119,
-0.017327381297945976,
0.05851365253329277,
-0.00889523047953844,
-0.006784678902477026,
0.016800230368971825,
0.07629412412643433,
0.0067404150031507015,
0.0015389327891170979,
-0.008605215698480606,
0.00686256680637598,
-0.024497054517269135,
0.04483088105916977,
-0.0019665986765176058,
-0.04133909195661545,
0.028559841215610504,
-0.0183930154889822,
-0.01838807389140129,
-0.001043258118443191,
-0.006386084016412497,
-0.03850182145833969,
-0.040308646857738495,
0.0028579537756741047,
0.023537063971161842,
0.01765645295381546,
-0.02226312644779682,
-0.029462145641446114,
-0.016327183693647385,
0.005838708020746708,
0.03608778864145279,
-0.05428055673837662,
-0.0002950887137558311,
-0.002987857209518552,
0.009340345859527588,
-0.007655248511582613,
-0.009584104642271996,
0.037964921444654465,
0.011628275737166405,
0.018971936777234077,
-0.011427074670791626,
-0.030385419726371765,
-0.04698586091399193,
0.0306517593562603,
0.022983931005001068,
-0.03286886215209961,
-0.015867915004491806,
-0.01897723600268364,
-0.02984797954559326,
-0.002252283040434122,
-0.03309331461787224,
0.020150629803538322,
0.0027322445530444384,
-0.0037559261545538902,
0.010922234505414963,
-0.005372526124119759,
0.008444314822554588,
0.03660087659955025,
-0.04415519908070564,
-0.023907696828246117,
0.014160027727484703,
0.03140071779489517,
-0.018118536099791527,
-0.006812766194343567,
0.008183235302567482,
0.014574018307030201,
0.01806396245956421,
-0.04959048703312874,
-0.012430146336555481,
0.03327634185552597,
-0.037595171481370926,
0.053053826093673706,
-0.026703480631113052,
-0.027906710281968117,
-0.033936820924282074,
-0.009940140880644321,
0.015646349638700485,
0.031251657754182816,
0.022728776559233665,
0.038291748613119125,
-0.025683514773845673,
0.005169541109353304,
-0.0031445820350199938,
0.07029219716787338,
-0.0016853072447702289,
0.007968245074152946,
-0.016825852915644646,
0.026098115369677544,
0.0490921251475811,
0.008189171552658081,
0.013271557167172432,
-0.02499139867722988,
0.06640566140413284,
0.035275861620903015,
-0.012607189826667309,
-0.006403130944818258,
0.021938910707831383,
0.05464307591319084,
-0.03462670370936394,
-0.04176801070570946,
0.013781283982098103,
-0.009135731495916843,
-0.003509472357109189,
-0.014032998122274876,
0.01669974811375141,
-0.04895723611116409,
0.03352290019392967,
0.035087380558252335,
0.0290445014834404,
-0.018466802313923836,
0.0138743557035923,
0.009869908913969994,
0.027490628883242607,
0.02064683847129345,
-0.000850346521474421,
0.01869596168398857,
-0.015731725841760635,
0.03453921526670456,
0.02075064927339554,
0.03751581162214279,
0.03211640194058418,
-0.014694125391542912,
-0.004000452347099781,
-0.02831242047250271,
-0.023882348090410233,
-0.012046256102621555,
0.01276779267936945,
-0.015835978090763092,
-0.023334568366408348,
0.002803622977808118,
-0.05928146839141846,
0.03199520707130432,
-0.009874939918518066,
0.00032886062399484217,
0.004106435924768448,
0.027022752910852432,
-0.04225509613752365,
0.018725473433732986,
0.013243474066257477,
-0.009207534603774548,
0.026941342279314995,
-0.014409790746867657,
0.03285645693540573,
-0.031704142689704895,
-0.023015473037958145,
-0.019099608063697815,
-0.03704157844185829,
-0.03607933968305588,
0.011864863336086273,
0.019625602290034294,
-0.03707093745470047,
0.013271225616335869,
0.01020917296409607,
0.00011897747026523575,
0.016183974221348763,
0.036512214690446854,
0.008305689319968224,
-0.0038715347182005644,
-0.030722601339221,
0.02121221274137497,
-0.029554175212979317,
-0.02294544316828251,
0.008614514023065567,
-0.02473399229347706,
-0.025394614785909653,
-0.03495141118764877,
0.06716876477003098,
-0.03469732031226158,
0.02799600176513195,
-0.04705498367547989,
-0.019822774454951286,
-0.05292890965938568,
-0.019418301060795784,
0.0373363196849823,
0.014857727102935314,
0.024812303483486176,
0.005501715932041407,
0.029163971543312073,
-0.004677039571106434,
-0.038783200085163116,
0.018846647813916206,
-0.05105787515640259,
0.05213092640042305,
0.01209024153649807,
-0.0780407190322876,
-0.00063472636975348,
0.03987405449151993,
0.058829136192798615,
0.033088333904743195,
0.03603580966591835,
-0.002439437434077263,
0.011165459640324116,
-0.047490738332271576,
0.033403120934963226,
-0.025398511439561844,
-0.01461357157677412,
-0.0254523865878582,
-0.008478792384266853,
-0.027265552431344986,
0.026553183794021606,
-0.03152863308787346,
0.008474364876747131,
-0.040563877671957016,
-0.012037686072289944,
-0.07252080738544464,
-0.008525814861059189,
-0.04188914597034454,
-0.011187667027115822,
0.008693535812199116,
0.05302465707063675,
0.054856859147548676,
-0.020258544012904167,
-0.051665131002664566,
-0.00012279467773623765,
-0.02457456849515438,
-0.039838291704654694,
0.050681665539741516,
-0.00013979780487716198,
0.015099518932402134,
-0.009072931483387947,
-0.023384153842926025,
0.032052308320999146,
-0.03646502271294594,
0.017209434881806374,
0.033647775650024414,
-0.012727752327919006,
0.015964029356837273,
0.0011666171485558152,
0.04419105872511864,
-0.0021514892578125,
0.04568014293909073,
-0.04871085286140442,
0.022638604044914246,
-0.011508971452713013,
0.051269762217998505,
-0.053801074624061584,
0.003476864891126752,
-0.04090609773993492,
0.03263121098279953,
0.045875634998083115,
-0.02443942241370678,
0.03406859561800957,
-0.004527431912720203,
0.02060549147427082,
-0.041603878140449524,
-0.005978784989565611,
-0.026217177510261536,
-0.055525846779346466,
0.015987932682037354,
-0.0026084505952894688,
-0.0005950391059741378,
-0.05811786279082298,
-0.025995364412665367,
-0.008714577183127403,
-0.04156634956598282,
0.01723279431462288,
0.002437188755720854,
0.02441784366965294,
0.03062407858669758,
-0.013754785992205143,
-0.05301164835691452,
0.04314243420958519,
0.010790539905428886,
-0.002229238860309124,
0.0019613446202129126,
-0.004433705471456051
] |
Introduction to 3D Gaussian Splatting | dylanebert | September 18, 2023 | gaussian-splatting | community, guide, cv, game-dev | https://huggingface.co/blog/gaussian-splatting | 4. Differentiable Gaussian Rasterization As mentioned earlier, 3D Gaussian Splatting is a rasterization approach, which draws the data to the screen. However, some important elements are also that it's: 1. Fast 2. Differentiable The original implementation of the rasterizer can be found here. The rasterization involves: 1. Project each gaussian into 2D from the camera perspective. 2. Sort the gaussians by depth. 3. For each pixel, iterate over each gaussian front-to-back, blending them together. Additional optimizations are described in the paper. It's also essential that the rasterizer is differentiable, so that it can be trained with stochastic gradient descent. However, this is only relevant for training - the trained gaussians can also be rendered with a non-differentiable approach. | [
-0.011440364643931389,
-0.01182548888027668,
0.025954142212867737,
-0.000035081760870525613,
0.012974532321095467,
0.011420579627156258,
-0.0647575855255127,
0.05883888155221939,
-0.02342250384390354,
-0.061549872159957886,
-0.06833154708147049,
0.019397342577576637,
0.03581047058105469,
0.06879828125238419,
0.03741880878806114,
0.026933716610074043,
0.003291783854365349,
-0.10278316587209702,
0.015140394680202007,
0.052480053156614304,
-0.050284817814826965,
-0.01871921680867672,
0.030818628147244453,
-0.04394035413861275,
-0.00882518757134676,
0.033796172589063644,
0.05825521796941757,
0.08191896229982376,
0.024593446403741837,
-0.0030600905884057283,
-0.09758304059505463,
0.026024281978607178,
-0.049211520701646805,
-0.08307699114084244,
0.02873881347477436,
-0.032181959599256516,
-0.0757312998175621,
0.0174026507884264,
0.010479427874088287,
-0.04576253890991211,
0.05397637188434601,
-0.012612337246537209,
-0.05033716931939125,
0.006079003214836121,
-0.03226891905069351,
-0.05351702868938446,
-0.07800432294607162,
0.03509223833680153,
-0.08303868770599365,
-0.09905950725078583,
-0.07527033239603043,
0.12071181833744049,
-0.06311533600091934,
-0.016339266672730446,
-0.012088470160961151,
0.013851557858288288,
0.04734322056174278,
-0.0035755725111812353,
0.02801543101668358,
-0.005762482061982155,
0.01426306925714016,
-0.036958396434783936,
0.05182890221476555,
0.08558017760515213,
0.01878949999809265,
0.04892231523990631,
-0.04595332592725754,
-0.011204184964299202,
0.029749326407909393,
-0.04071085900068283,
0.010677248239517212,
-0.017529359087347984,
0.03546475991606712,
0.0511385053396225,
-0.02774442546069622,
0.0321439690887928,
-0.029940258711576462,
0.05336553603410721,
0.02530847117304802,
-0.05131768435239792,
-0.02523401752114296,
0.014155133627355099,
0.01922844909131527,
0.04518202319741249,
-0.028090305626392365,
-0.03985106945037842,
0.03533482179045677,
0.022945009171962738,
-0.003065082710236311,
0.03596218675374985,
-0.0021180957555770874,
-0.08353692293167114,
-0.03911641985177994,
-0.009872782975435257,
0.0625307708978653,
-0.010566916316747665,
-0.0007770155207253993,
-0.03511742129921913,
0.0009806669550016522,
0.0197070874273777,
0.013531703501939774,
-0.019086839631199837,
0.013055620715022087,
-0.013532769866287708,
-0.06299368292093277,
0.06338638812303543,
-0.048046134412288666,
-0.04428556561470032,
-0.04094761237502098,
0.0356239415705204,
-0.015161816962063313,
0.06939868628978729,
0.06837160140275955,
0.03930804133415222,
-0.1221175417304039,
-0.0028563349042087793,
0.08949531614780426,
0.07972396165132523,
0.01214269082993269,
-0.014736250974237919,
0.010956241749227047,
0.08332663774490356,
0.06980456411838531,
0.022012274712324142,
-0.0875764712691307,
0.05891227349638939,
0.009957624599337578,
0.04171544685959816,
-0.004432042594999075,
0.0162807684391737,
0.01550646498799324,
0.02340555377304554,
0.05370732396841049,
0.029953770339488983,
0.033586934208869934,
-0.08794394880533218,
-0.015438884496688843,
-0.019277475774288177,
-0.02252510003745556,
0.004071594215929508,
0.004085636232048273,
-0.024996964260935783,
0.04540835693478584,
-0.03401666879653931,
-0.04232157766819,
-0.11634151637554169,
0.023413682356476784,
-0.012338440865278244,
0.012198028154671192,
-0.03021908365190029,
-0.057817667722702026,
0.05560164526104927,
-0.09035002440214157,
-0.02507121115922928,
-0.01885022222995758,
0.07365920394659042,
-0.030241135507822037,
-0.005462989676743746,
-0.03580509498715401,
0.01581920124590397,
0.023643406108021736,
0.037222061306238174,
-0.026617644354701042,
0.04254986718297005,
0.009238426573574543,
-0.05361969769001007,
0.0037745728623121977,
0.040387947112321854,
0.00612341333180666,
0.06043783947825432,
-0.024324113503098488,
-0.0072239297442138195,
0.03306925296783447,
0.027991505339741707,
0.05084937438368797,
-0.012788328342139721,
0.032494090497493744,
0.03592214733362198,
0.06043941155076027,
-0.02636794187128544,
-0.05721651017665863,
0.0023776565212756395,
-0.047659266740083694,
-0.0003970774123445153,
-0.07014468312263489,
-0.03736967593431473,
0.028475729748606682,
-0.04477299377322197,
0.019165638834238052,
0.05325906351208687,
-0.110385462641716,
-0.016852514818310738,
0.039317309856414795,
-0.04877161607146263,
-0.06044190749526024,
-0.017901118844747543,
-0.027929725125432014,
-0.026730213314294815,
0.021315278485417366,
-0.012753963470458984,
-0.00677506672218442,
-0.06394758075475693,
-0.05127670243382454,
0.0006629053968936205,
0.00974207278341055,
-0.047513626515865326,
0.018547581508755684,
0.0354551300406456,
0.09787768870592117,
0.016570497304201126,
-0.04820473864674568,
-0.09007183462381363,
-0.02957419492304325,
0.01701141521334648,
0.03916919231414795,
0.07862590998411179,
-0.06814412027597427,
0.10194923728704453,
-0.000552819692529738,
-0.07775332033634186,
0.05572026968002319,
-0.0021950826048851013,
-0.008459744974970818,
0.09075063467025757,
0.012418044731020927,
-0.004524440038949251,
0.1138865128159523,
0.05231837183237076,
0.08449139446020126,
-0.08534799516201019,
-0.04620369151234627,
-0.024488387629389763,
0.06165945529937744,
-0.035433024168014526,
-0.025657283142209053,
-0.024872271344065666,
-0.00953186396509409,
-0.020479068160057068,
0.0549498088657856,
-0.09460985660552979,
0.013849305920302868,
0.0045736744068562984,
0.015007935464382172,
-0.03883696720004082,
-0.025216661393642426,
-0.00999990850687027,
0.02929832972586155,
0.017849218100309372,
0.002440124750137329,
0.04043113812804222,
-0.0350625216960907,
0.03644919767975807,
0.0024803730193525553,
-0.07882113754749298,
0.06353200972080231,
0.02319345995783806,
0.02973201498389244,
-0.021059541031718254,
-0.008540589362382889,
0.07612933218479156,
-0.021656105294823647,
-0.012855978682637215,
0.026089569553732872,
-0.045631811022758484,
0.002419457770884037,
0.013812785968184471,
-0.01181176956743002,
-0.0060622235760092735,
-0.020070880651474,
0.05286363512277603,
0.006609938573092222,
0.02306043542921543,
0.023148711770772934,
-0.038290057331323624,
-0.0014034600462764502,
-0.01976119726896286,
0.01301870122551918,
-0.011056260205805302,
-0.014120431616902351,
-0.01736735925078392,
-0.01931910775601864,
0.007303735241293907,
0.00842325109988451,
0.05670357123017311,
0.0331985205411911,
-0.009796415455639362,
-0.007611129432916641,
0.0100645050406456,
-0.029439132660627365,
0.04167095944285393,
-0.005323673132807016,
0.04435355216264725,
0.012548291124403477,
0.04855716973543167,
-0.013563059270381927,
0.032404471188783646,
-0.047729454934597015,
-0.010413001291453838,
-0.008938889019191265,
-0.011440976522862911,
0.012409276328980923,
-0.01220964640378952,
-0.016182778403162956,
-0.0028748614713549614,
-0.04958740994334221,
-0.001424561720341444,
-0.0010429240064695477,
0.06239605322480202,
-0.08242442458868027,
-0.004595871549099684,
0.0223626010119915,
0.06800992041826248,
-0.0033547228667885065,
-0.04278620332479477,
-0.00013314702664501965,
-0.024477440863847733,
-0.0001890343992272392,
-0.018759040161967278,
0.02288096584379673,
0.005301968660205603,
0.02958269789814949,
-0.009908373467624187,
0.037926625460386276,
-0.0019247891614213586,
0.014896798878908157,
-0.010887326672673225,
-0.004837098531424999,
0.010226916521787643,
-0.0007438233005814254,
-0.010522745549678802,
0.04254453256726265,
0.023899037390947342,
0.0031993663869798183,
0.020909391343593597,
0.048901986330747604,
-0.048426054418087006,
0.0023133745416998863,
-0.021495990455150604,
-0.02071928232908249,
-0.007584165316075087,
-0.05991624668240547,
0.026215381920337677,
-0.007449010852724314,
0.021769016981124878,
-0.004017336294054985,
0.016381852328777313,
0.0173797570168972,
0.04956165701150894,
0.015413063578307629,
0.0538732185959816,
-0.007209698669612408,
-0.0013853061245754361,
0.039541516453027725,
-0.0569307915866375,
0.050966810435056686,
-0.008483772166073322,
0.0032987662125378847,
-0.04679939150810242,
0.028991561383008957,
0.015321499668061733,
-0.01463272050023079,
0.03029637038707733,
-0.044684771448373795,
0.011684129945933819,
0.041137877851724625,
0.0376456044614315,
0.036441024392843246,
-0.027395421639084816,
-0.0005647227517329156,
-0.03242921456694603,
0.007444038521498442,
0.008845222182571888,
0.01650591939687729,
-0.02071862854063511,
0.022036856040358543,
0.011023327708244324,
0.02287120930850506,
0.022307580336928368,
0.005578133277595043,
0.016920853406190872,
-0.042332276701927185,
0.004109857138246298,
-0.046119581907987595,
-0.009621349163353443,
-0.019358916208148003,
-0.03606179356575012,
0.0770779624581337,
-0.0033347560092806816,
-0.008563011884689331,
-0.028925146907567978,
0.03690076619386673,
0.004119435790926218,
0.01583927311003208,
0.006355942226946354,
0.014543555676937103,
-0.00755170127376914,
0.059123504906892776,
0.008874517865478992,
0.05773491412401199,
-0.020612459629774094,
0.01813536509871483,
-0.033020470291376114,
0.010627700947225094,
0.014044186100363731,
0.013661537319421768,
0.011754577979445457,
0.018354052677750587,
-0.029423583298921585,
0.04135526344180107,
-0.03728990629315376,
-0.015939932316541672,
-0.0067695798352360725,
0.022094398736953735,
0.0014223235193639994,
0.011774817481637001,
-0.03784289211034775,
0.04350925236940384,
0.0125656146556139,
-0.013027120381593704,
-0.021154262125492096,
0.0013650617329403758,
0.03389391675591469,
0.04129564389586449,
-0.023426339030265808,
-0.04000343754887581,
0.017482763156294823,
-0.005585521925240755,
-0.008850635029375553,
-0.04363393411040306,
0.013621912337839603,
0.0199638232588768,
0.03173227235674858,
0.047098997980356216,
0.029199915006756783,
-0.02605041302740574,
0.06489036232233047,
-0.005396667402237654,
-0.039945125579833984,
0.023916680365800858,
-0.039629992097616196,
-0.030553534626960754,
-0.01694621704518795,
0.020414190366864204,
-0.03488282486796379,
0.018264340236783028,
0.015844125300645828,
0.0031938704196363688,
-0.053078748285770416,
0.0003589158004615456,
0.044390931725502014,
0.007018429227173328,
0.021820131689310074,
-0.001227491069585085,
-0.03667185455560684,
-0.007614789064973593,
0.0303600262850523,
-0.0018324649427086115,
0.03953814506530762,
0.01671225018799305,
0.00517331063747406,
-0.03388715535402298,
0.0004133988986723125,
0.02337392047047615,
-0.001000085729174316,
0.0050755576230585575,
0.008076850324869156,
0.007874426431953907,
-0.02802150323987007,
0.055985864251852036,
0.024429146200418472,
-0.05099958926439285,
0.007774624973535538,
-0.024701135233044624,
-0.04538120701909065,
-0.037329625338315964,
-0.06422264128923416,
0.022810721769928932,
0.04932771250605583,
0.013416672125458717,
0.05424800142645836,
0.04830966517329216,
-0.007745430339127779,
-0.020560642704367638,
-0.004165942315012217,
0.06328538805246353,
0.006484897807240486,
0.012439780868589878,
0.002002482768148184,
-0.0370296984910965,
0.008388267830014229,
-0.007866514846682549,
-0.034267425537109375,
0.04493344575166702,
0.019837109372019768,
-0.019392788410186768,
0.020973019301891327,
0.0027983866166323423,
0.003992949612438679,
0.03515715152025223,
0.005870907101780176,
0.003263759659603238,
-0.004905919544398785,
0.015058290213346481,
0.05117419734597206,
-0.03739282488822937,
0.024690639227628708,
-0.015192965976893902,
-0.024775760248303413,
0.01167344581335783,
0.025582730770111084,
-0.019773099571466446,
-0.02448309399187565,
-0.026543227955698967,
-0.02106219157576561,
0.01090970914810896,
0.011179800145328045,
-0.029299048706889153,
-0.01796971634030342,
-0.002143152989447117,
-0.031777072697877884,
-0.028494350612163544,
-0.047194432467222214,
-0.08335714042186737,
0.03601495549082756,
0.017077144235372543,
-0.006770882289856672,
-0.009274051524698734,
0.02898319438099861,
-0.003497167956084013,
0.01803787238895893,
-0.0034707006998360157,
-0.004574202466756105,
-0.04243975505232811,
-0.02244672179222107,
0.025899162515997887,
-0.017957128584384918,
0.006200117524713278,
0.031694699078798294,
0.030598022043704987,
0.05457764118909836,
-0.018516693264245987,
0.032577723264694214,
-0.03702151030302048,
-0.011436374858021736,
-0.03465770184993744,
0.0404898077249527,
0.010108927264809608,
-0.0020873432513326406,
-0.014430019073188305,
-0.03326573222875595,
-0.02048993483185768,
0.01527494378387928,
-0.0005654619308188558,
-0.016135692596435547,
0.0358976349234581,
-0.02592654898762703,
-0.0107594458386302,
0.005329257808625698,
-0.012410583905875683,
0.02415350265800953,
-0.011879371479153633,
-0.03527132421731949,
0.03815823420882225,
0.019500723108649254,
0.04791179299354553,
0.022568661719560623,
0.018110893666744232,
-0.011428372003138065,
0.02771848626434803,
-0.03771454095840454,
0.03427455201745033,
-0.03242534026503563,
0.0035194058436900377,
-0.01629093661904335,
0.05166962742805481,
-0.023236434906721115,
-0.026728609576821327,
-0.01115173939615488,
0.029878640547394753,
0.014189882203936577,
-0.04988550767302513,
0.03246866539120674,
-0.023717323318123817,
-0.021252624690532684,
-0.028330612927675247,
0.04848643019795418,
-0.01479797251522541,
0.01879742555320263,
-0.004097559489309788,
-0.029090793803334236,
0.05995752662420273,
-0.025937791913747787,
-0.008805595338344574,
0.004051332361996174,
0.0011852025054395199,
-0.0006334171048365533,
0.02380666695535183,
0.005883956328034401,
0.01912534423172474,
-0.041198547929525375,
-0.01693017967045307,
-0.0058203465305268764,
-0.027082590386271477,
0.04753923416137695,
0.04411185532808304,
0.008802500553429127,
-0.009250103496015072,
-0.040687207132577896,
0.07590122520923615,
0.05628831684589386,
0.08960472792387009,
0.00290057179518044,
-0.019398512318730354,
0.0067949737422168255,
0.032010629773139954,
-0.02448376454412937,
-0.0132301589474082,
-0.006002172362059355,
-0.002320593921467662,
0.020629199221730232,
-0.03422023355960846,
-0.007190458942204714,
-0.018629522994160652,
0.02736390382051468,
0.08002248406410217,
0.019142944365739822,
0.005680880509316921,
0.021275594830513,
-0.018003931269049644,
-0.0003290938038844615,
0.041699785739183426,
-0.0713048204779625,
-0.08030696958303452,
-0.008236254565417767,
0.03982354700565338,
-0.013655194081366062,
-0.019894666969776154,
0.01043486874550581,
-0.02288636565208435,
-0.009083718992769718,
-0.017372068017721176,
-0.004311190452426672,
-0.027777206152677536,
-0.021478930488228798,
0.013142935931682587,
-0.027391424402594566,
-0.043194934725761414,
-0.019267618656158447,
-0.027835533022880554,
0.019254183396697044,
0.0587448850274086,
0.03472953289747238,
0.009791640564799309,
0.009824352338910103,
0.03329113870859146,
0.0009668064885772765,
-0.06645159423351288,
-0.005144371651113033,
-0.0019231800688430667,
-0.021429020911455154,
-0.046067267656326294,
0.01653970032930374,
-0.031540606170892715,
-0.03630299121141434,
0.060728367418050766,
-0.030166275799274445,
0.014219091273844242,
-0.02277015894651413,
0.07583589106798172,
0.003284183796495199,
0.009434769861400127,
0.02709261141717434,
-0.020448068156838417,
-0.024557240307331085,
0.006958849262446165,
-0.01224429439753294,
-0.02455398254096508,
0.024619728326797485,
-0.04238366335630417,
0.02614258974790573,
0.020001698285341263,
0.039265286177396774,
-0.03219110518693924,
-0.003272535977885127,
0.024176405742764473,
-0.005672923754900694,
0.0012563964119181037,
-0.0021803448908030987,
0.012370750308036804,
-0.0019699111580848694,
-0.01941915787756443,
-0.004362196661531925,
0.01158752292394638,
-0.018720852211117744,
-0.008221003226935863,
0.014820528216660023,
0.018354248255491257,
0.006231794599443674,
0.016847064718604088,
-0.07162030041217804,
-0.09328749030828476,
0.0045715379528701305,
-0.01053917407989502,
0.06559620797634125,
-0.03365180641412735,
-0.014261791482567787,
-0.0044413963332772255,
-0.01708720065653324,
-0.03845459222793579,
-0.010277521796524525,
0.019999800249934196,
-0.03962760418653488,
-0.038777392357587814,
0.03924896940588951,
0.010506254620850086,
0.009259786456823349,
-0.04472117871046066,
-0.0178663469851017,
0.04067808762192726,
0.0033323930110782385,
0.023845748975872993,
-0.056522153317928314,
0.028507430106401443,
0.005917705129832029,
-0.026508960872888565,
0.011116362176835537,
-0.002301599131897092,
0.011606898158788681,
-0.011045340448617935,
0.0037109428085386753,
0.04677090421319008,
0.011953525245189667,
0.03748481720685959,
-0.04469841718673706,
0.03375806659460068,
-0.007229647599160671,
0.003944031894207001,
-0.03343285247683525,
0.019621489569544792,
0.05365092307329178,
-0.01438145898282528,
0.03506522625684738,
-0.039475247263908386,
0.03740273043513298,
0.002614580327644944,
0.02031596191227436,
0.018936417996883392,
0.03662846237421036,
0.014268499799072742,
-0.041868049651384354,
0.012516443617641926,
0.014322570525109768,
0.009373952634632587,
-0.02326323464512825,
-0.025210771709680557,
0.025235865265130997,
0.012822381220757961,
0.012949502095580101,
-0.01110149547457695,
0.014895466156303883,
-0.04599182307720184,
0.04349787160754204,
-0.02067004144191742,
0.029022786766290665,
0.013854419812560081,
0.05436103045940399,
0.004316254518926144,
-0.008534476161003113
] |
Introduction to 3D Gaussian Splatting | dylanebert | September 18, 2023 | gaussian-splatting | community, guide, cv, game-dev | https://huggingface.co/blog/gaussian-splatting | How it works | [
0.03753289580345154,
0.010264732874929905,
0.12083917111158371,
0.014516397379338741,
0.14877553284168243,
0.033908452838659286,
0.026732556521892548,
0.07553312927484512,
-0.013877017423510551,
-0.09626263380050659,
-0.052488140761852264,
0.05184623599052429,
-0.03271982818841934,
0.014647177420556545,
-0.014731553383171558,
0.059734489768743515,
0.06743896007537842,
-0.04020080342888832,
0.004982835613191128,
0.009325152263045311,
-0.032718759030103683,
-0.04218737408518791,
0.08329491317272186,
0.005045657511800528,
0.008774894289672375,
0.02379629947245121,
0.003943751100450754,
-0.027485566213726997,
-0.08374827355146408,
0.04869925230741501,
-0.02952064573764801,
-0.021061159670352936,
0.04812442511320114,
-0.022828780114650726,
-0.007834375835955143,
-0.01900314725935459,
-0.07237708568572998,
-0.009812302887439728,
-0.034093331545591354,
-0.05668840557336807,
-0.021858742460608482,
-0.040411558002233505,
-0.04469864442944527,
0.05537029728293419,
-0.04180062189698219,
-0.010916671715676785,
-0.30576375126838684,
0.07648341357707977,
-0.02923247031867504,
-0.005145602859556675,
-0.07187662273645401,
0.025527434423565865,
0.005677204113453627,
0.0067176781594753265,
0.04237797483801842,
0.020677488297224045,
0.02303539589047432,
-0.015301981009542942,
-0.0037767046596854925,
-0.06945504993200302,
0.06723193824291229,
-0.027614152058959007,
0.011351300403475761,
-0.0019960133358836174,
0.054975420236587524,
0.03744130954146385,
0.01272885873913765,
0.042304590344429016,
-0.022165827453136444,
-0.02758725918829441,
0.016570959240198135,
-0.03501686826348305,
-0.01305199321359396,
-0.005510496906936169,
0.05081571638584137,
-0.046733733266592026,
-0.06947306543588638,
0.0572332888841629,
0.06866743415594101,
0.06777441501617432,
-0.000343031162628904,
0.011587269604206085,
0.05812900885939598,
0.07535634189844131,
0.007251061964780092,
-0.055878788232803345,
0.0322735458612442,
-0.037439797073602676,
-0.005088151432573795,
0.0053621013648808,
-0.029803838580846786,
-0.07843150198459625,
0.0486837774515152,
0.045387037098407745,
-0.017393559217453003,
-0.039995063096284866,
0.04504681006073952,
0.039597999304533005,
0.07641453295946121,
0.0033405162394046783,
-0.009841490536928177,
-0.005752312485128641,
0.006873594596982002,
-0.03393443673849106,
-0.03316819667816162,
-0.006172262132167816,
-0.03202124312520027,
-0.07472395151853561,
-0.031084179878234863,
0.03678961098194122,
-0.0442611388862133,
0.025729672983288765,
0.030592644587159157,
-0.00190786796156317,
-0.049057167023420334,
0.02011912129819393,
0.020467370748519897,
0.012919238768517971,
0.026761958375573158,
0.03112316131591797,
0.0025828839279711246,
0.11380864679813385,
0.06420299410820007,
0.05464543402194977,
0.014448288828134537,
-0.004268304444849491,
0.03624074161052704,
0.041794028133153915,
-0.09173708409070969,
-0.03129858896136284,
0.02994002215564251,
0.004802756942808628,
0.0351497158408165,
0.002641819417476654,
-0.07006587088108063,
-0.03140734136104584,
0.006019941531121731,
0.009355941787362099,
0.023297898471355438,
-0.02333098277449608,
0.0006712727481499314,
0.07925208657979965,
-0.021736303344368935,
0.04401630908250809,
0.038809534162282944,
-0.026393132284283638,
-0.036150090396404266,
0.012355105951428413,
-0.013925373554229736,
0.009803928434848785,
0.002691166242584586,
0.0688132494688034,
-0.008755986578762531,
-0.07441025972366333,
-0.029028339311480522,
0.06369398534297943,
0.047186121344566345,
0.029155218973755836,
-0.0820133164525032,
-0.015359053388237953,
0.042972590774297714,
-0.0064432332292199135,
0.0071821087040007114,
0.008965731598436832,
0.02909848839044571,
0.014542518183588982,
0.025847412645816803,
0.001596061629243195,
-0.0286689642816782,
-0.08908171951770782,
-0.05595549941062927,
0.011424536816775799,
0.057642411440610886,
-0.029584849253296852,
-0.0449724905192852,
0.029776213690638542,
0.07502834498882294,
0.03545047342777252,
0.03464221954345703,
0.03177759423851967,
-0.03994240611791611,
0.038908153772354126,
-0.028790274634957314,
0.04415518417954445,
0.013200626708567142,
-0.03996837139129639,
0.043319717049598694,
-0.023896558210253716,
-0.016462132334709167,
0.04469889774918556,
-0.12677860260009766,
-0.04210830479860306,
0.10805925726890564,
-0.023394782096147537,
0.009154025465250015,
-0.10163570940494537,
-0.02796035446226597,
0.10435814410448074,
0.030026866123080254,
0.053814951330423355,
0.032177504152059555,
0.029263589531183243,
0.09308243542909622,
-0.04139428213238716,
-0.07849866896867752,
0.0244209673255682,
0.10256271809339523,
-0.03322315961122513,
0.014468216337263584,
0.025682108476758003,
-0.038983166217803955,
-0.07019320130348206,
0.04515620693564415,
-0.06494168192148209,
0.013733001425862312,
-0.00041896398761309683,
-0.004895461723208427,
-0.03567413240671158,
0.017862219363451004,
-0.03598334267735481,
0.08363477885723114,
0.004379946738481522,
-0.04277041554450989,
0.04889620095491409,
-0.03778167814016342,
0.09642143547534943,
0.06896164268255234,
0.007377625908702612,
0.06458574533462524,
-0.07439099997282028,
-0.03310317173600197,
-0.006383704021573067,
-0.021002745255827904,
0.0690593421459198,
0.01968562602996826,
0.059448614716529846,
0.017515605315566063,
-0.02359771728515625,
0.050207190215587616,
-0.015666916966438293,
0.00705551216378808,
0.03139381855726242,
-0.02611778862774372,
0.032114528119564056,
-0.015549378469586372,
-0.017336396500468254,
0.03238643705844879,
0.024813484400510788,
-0.0716848149895668,
-0.04146379232406616,
-0.05943316966295242,
0.04638797044754028,
0.009835575707256794,
-0.01402798667550087,
0.0806511640548706,
-0.03068375401198864,
0.0015099444426596165,
-0.025596093386411667,
-0.00032217276748269796,
-0.003984627313911915,
0.000041028029954759404,
-0.027874499559402466,
-0.00524910306558013,
-0.06459881365299225,
-0.010913504287600517,
-0.017615115270018578,
0.01343560591340065,
0.01984616555273533,
-0.004662812687456608,
0.03503815084695816,
-0.022636765614151955,
-0.02575245127081871,
0.04754555970430374,
-0.011107191443443298,
-0.02297588251531124,
0.015943927690386772,
0.03735371306538582,
-0.0012558687012642622,
0.0005882947589270771,
-0.01960766687989235,
-0.0026211419608443975,
-0.026353158056735992,
0.03665698692202568,
0.022692926228046417,
0.057737529277801514,
-0.018691986799240112,
0.015519794076681137,
-0.004355074837803841,
-0.022585328668355942,
0.0424792654812336,
-0.008108791895210743,
0.02474067360162735,
-0.00028890036628581583,
-0.022990062832832336,
0.03766857460141182,
-0.010098593309521675,
-0.02281934954226017,
0.027460645884275436,
-0.022961381822824478,
-0.019419044256210327,
0.040327467024326324,
-0.008514606393873692,
-0.022695746272802353,
0.005696068052202463,
-0.05870182067155838,
0.03523116558790207,
-0.0014081377303227782,
-0.0011378481285646558,
-0.17062008380889893,
-0.0332150012254715,
0.031002996489405632,
0.0205962173640728,
0.001399377128109336,
-0.01419940497726202,
0.03539013862609863,
-0.030544716864824295,
-0.02898361347615719,
-0.0028757762629538774,
0.02695995755493641,
0.01238545123487711,
0.016749611124396324,
-0.028561191633343697,
-0.01673695258796215,
0.007673847489058971,
-0.007368125952780247,
0.02046891301870346,
0.013641688041388988,
-0.01586066000163555,
-0.030268287286162376,
0.04669998586177826,
-0.02108064852654934,
-0.011989018879830837,
-0.03185313194990158,
0.04601568356156349,
0.029555998742580414,
0.021715816110372543,
0.009291104972362518,
-0.017653431743383408,
-0.025976696982979774,
0.047287531197071075,
-0.014494343660771847,
0.031005607917904854,
-0.006236264482140541,
-0.005692121107131243,
0.005685301031917334,
-0.01865769736468792,
-0.011372461915016174,
0.03570051118731499,
0.024157246574759483,
0.031297434121370316,
0.019535118713974953,
0.04091206565499306,
-0.007248593494296074,
0.007583308964967728,
0.011482665315270424,
-0.02405862882733345,
0.055188603699207306,
-0.01668354496359825,
-0.04031836614012718,
-0.013272982090711594,
-0.0026178378611803055,
0.027768753468990326,
-0.029215067625045776,
-0.006030322052538395,
-0.04077150672674179,
0.001343060634098947,
0.058263152837753296,
-0.02242356911301613,
-0.024955108761787415,
0.009482582099735737,
0.007867851294577122,
-0.004721655510365963,
-0.034064967185258865,
0.04887678474187851,
-0.025517230853438377,
0.017888616770505905,
-0.024529963731765747,
0.04526664689183235,
0.006522236857563257,
-0.0031806800980120897,
-0.003532767528668046,
0.02079860493540764,
0.013152922503650188,
0.024158699437975883,
-0.019909504801034927,
-0.015197915025055408,
0.038363534957170486,
0.011386883445084095,
0.016266467049717903,
-0.0032761169131845236,
0.0008098947582766414,
-0.01620333082973957,
-0.00007903148070909083,
0.01771732233464718,
0.005814257077872753,
0.01950242556631565,
-0.008389189839363098,
0.030963247641921043,
0.02907402068376541,
-0.0037704447750002146,
0.008415652438998222,
0.005888065788894892,
-0.008961806073784828,
0.014801288954913616,
0.06295720487833023,
-0.012362757697701454,
-0.00230313534848392,
-0.00620639743283391,
0.013271222822368145,
-0.0039057035464793444,
-0.02665286511182785,
0.01365165039896965,
0.0035341386683285236,
0.023625990375876427,
-0.016963766887784004,
-0.03982265293598175,
-0.021957119926810265,
0.03144149109721184,
0.007863042876124382,
-0.026601124554872513,
-0.003016178961843252,
-0.03538404777646065,
-0.02009735442698002,
0.00823506060987711,
-0.022039860486984253,
-0.05026005581021309,
-0.04283692315220833,
-0.00022706460731569678,
-0.02061501517891884,
0.031241441145539284,
0.01253479439765215,
-0.05117480829358101,
-0.02694796770811081,
-0.00013036369637120515,
0.011287994682788849,
-0.017742926254868507,
0.009941576048731804,
-0.004685561638325453,
-0.03758230060338974,
-0.01541917771100998,
0.05525902286171913,
-0.012164250947535038,
0.020114030689001083,
-0.012187511660158634,
-0.0059847477823495865,
0.03353981301188469,
0.008588997647166252,
-0.06878817081451416,
0.018000701442360878,
0.006768149323761463,
0.0047396388836205006,
-0.013993807137012482,
0.023201370611786842,
-0.023673899471759796,
0.0005072312778793275,
-0.00039952469523996115,
-0.013805167749524117,
0.005413167644292116,
0.014570417813956738,
-0.04589400440454483,
-0.023431068286299706,
-0.017796402797102928,
0.02209579385817051,
0.01271278876811266,
0.012366884388029575,
-0.03572361543774605,
-0.02692791260778904,
0.060575250536203384,
-0.009239173494279385,
-0.020061589777469635,
-0.06163636967539787,
0.02910645119845867,
-0.030913567170500755,
-0.0036700647324323654,
-0.00587556604295969,
0.0028521837666630745,
-0.01964401826262474,
0.0039726742543280125,
-0.010495666414499283,
-0.012959003448486328,
0.019595179706811905,
-0.004720910917967558,
0.019084108993411064,
0.020768728107213974,
0.022811559960246086,
0.010177863761782646,
0.01661781035363674,
0.03110339678823948,
0.005813811905682087,
0.013773319311439991,
0.017080791294574738,
0.024309203028678894,
-0.02287309430539608,
-0.025932880118489265,
0.0329316221177578,
0.00592788914218545,
0.0017079177778214216,
0.06612402200698853,
-0.04651884362101555,
-0.010729730129241943,
-0.0006480530719272792,
-0.03847186267375946,
-0.006504811812192202,
-0.01225077360868454,
-0.0028005875647068024,
0.00918410625308752,
-0.030464233830571175,
0.0016654926585033536,
0.03224843740463257,
0.0266376044601202,
-0.0017997920513153076,
-0.010331393219530582,
-0.00954547431319952,
0.033921413123607635,
0.003976856358349323,
-0.0011124853044748306,
-0.01809283159673214,
-0.0021413853392004967,
-0.014008435420691967,
0.0019480439368635416,
-0.04075716435909271,
-0.0027803496923297644,
-0.03820228576660156,
-0.04433663189411163,
-0.03868844732642174,
0.021508237347006798,
-0.002519318601116538,
0.028594661504030228,
0.013812783174216747,
0.01020283717662096,
-0.027481362223625183,
0.05216367170214653,
0.04647111892700195,
-0.019898980855941772,
0.022973619401454926,
0.02072254940867424,
-0.007369454484432936,
0.036079198122024536,
0.06134144216775894,
0.00882005039602518,
-0.04166952520608902,
-0.001707227434962988,
0.036168068647384644,
0.03290119767189026,
-0.07708792388439178,
0.019895747303962708,
-0.011551637202501297,
0.005917102098464966,
-0.00597349600866437,
-0.018002230674028397,
-0.01537320390343666,
-0.016757696866989136,
-0.022776631638407707,
0.039449017494916916,
0.02896142564713955,
-0.01840885728597641,
0.022705547511577606,
-0.01127877738326788,
0.0030884910374879837,
-0.008528174832463264,
0.028346674516797066,
0.003288551466539502,
-0.006310190074145794,
-0.006243614479899406,
0.0007057585171423852,
0.001223093713633716,
0.019997505471110344,
-0.019118189811706543,
0.010272763669490814,
0.009764641523361206,
0.043624814599752426,
0.035501446574926376,
-0.015463520772755146,
0.03843922168016434,
0.00257510831579566,
-0.016319140791893005,
0.016437003389000893,
0.033743128180503845,
-0.01811896823346615,
0.006187473889440298,
0.0324522964656353,
-0.008498266339302063,
0.0034347986802458763,
-0.018809517845511436,
0.03115810826420784,
0.04723793640732765,
0.0055151027627289295,
0.0096365911886096,
0.027336958795785904,
0.024538332596421242,
0.012187421321868896,
-0.009095821529626846,
-0.03204023092985153,
0.023612767457962036,
0.021453045308589935,
0.003105602692812681,
0.04090782254934311,
0.011331853456795216,
0.010773476213216782,
0.018493330106139183,
-0.01280078012496233,
0.018965138122439384,
-0.031635407358407974,
-0.015329228714108467,
0.01949913613498211,
-0.020643968135118484,
0.03836793825030327,
-0.03680572658777237,
0.03983408585190773,
0.005456566344946623,
0.006370223127305508,
0.012048177421092987,
-0.02670874260365963,
-0.010748477652668953,
0.02712009660899639,
-0.01096646673977375,
0.0013047839747741818,
-0.04065192490816116,
0.018331892788410187,
0.06018521636724472,
-0.029320869594812393,
-0.010870580561459064,
-0.01625876873731613,
-0.06778348237276077,
0.04749763011932373,
-0.005443884059786797,
-0.041452184319496155,
-0.006328241899609566,
0.045001838356256485,
-0.019319061189889908,
-0.015999633818864822,
-0.018275070935487747,
-0.04133105278015137,
-0.05314372479915619,
0.00696747237816453,
0.022629786282777786,
-0.0014139304403215647,
-0.016322264447808266,
0.010911395773291588,
0.019382426515221596,
-0.013508803211152554,
-0.016055254265666008,
-0.013262677937746048,
0.04210461676120758,
-0.0013055696617811918,
0.04672812670469284,
0.00469089113175869,
-0.02415253221988678,
-0.022770322859287262,
-0.0018339825328439474,
0.014222346246242523,
-0.0006242025410756469,
0.009945106692612171,
0.006095740012824535,
-0.021160662174224854,
0.00471373088657856,
-0.00795831624418497,
0.04830504581332207,
0.02860316075384617,
0.016010938212275505,
-0.037931229919195175,
0.023899944499135017,
-0.03409634530544281,
-0.022907990962266922,
-0.020960591733455658,
0.004876917228102684,
0.023981673642992973,
-0.00170419760979712,
0.00870769377797842,
0.02185296081006527,
0.024635829031467438,
-0.024248521775007248,
-0.023866407573223114,
0.011583230458199978,
-0.02709481306374073,
-0.010616405867040157,
0.03578267619013786,
0.035578787326812744,
-0.03224518895149231,
-0.019817227497696877,
0.03585929423570633,
0.025035513564944267,
-0.029439182952046394,
0.016647204756736755,
-0.039219968020915985,
-0.013034725561738014,
-0.045832376927137375,
-0.0030408583115786314,
0.08103964477777481,
0.024866309016942978,
0.023719292134046555,
0.04293457418680191,
0.020125841721892357,
0.008313367143273354,
-0.0334041565656662,
0.019422393292188644,
0.006758269388228655,
0.028888961300253868,
-0.0008566044270992279,
-0.024209747090935707,
-0.014972114004194736,
-0.050630662590265274,
0.010604056529700756,
-0.01270701177418232,
-0.03468231111764908,
-0.038723163306713104,
0.0063192881643772125,
0.024730240926146507,
-0.04889121279120445,
0.030193418264389038,
0.032690439373254776,
0.003836202435195446,
0.015929458662867546,
0.0020262696780264378,
-0.011370730586349964,
-0.018113257363438606,
0.0203842855989933,
0.0013177805813029408,
0.046629078686237335,
0.010453070513904095,
-0.010978128761053085,
-0.03313252329826355,
0.04310076683759689,
-0.03438011184334755,
-0.045439720153808594,
0.009214778430759907,
0.049219027161598206,
-0.0075141917914152145,
-0.012373012490570545,
0.0071325707249343395,
0.02050626464188099,
0.004697214346379042,
0.002003693487495184,
0.01271062158048153,
-0.011635633185505867,
0.012084241956472397,
0.00766780273988843,
-0.04904349148273468,
-0.011392821557819843,
-0.004379719495773315,
0.019607944414019585,
0.04972065985202789,
0.010001380927860737,
-0.016252480447292328,
-0.014118414372205734,
-0.048371776938438416,
0.04708727076649666,
-0.008818025700747967,
-0.008083193562924862,
-0.01457318663597107,
0.009372314438223839,
-0.03252464160323143,
-0.018258828669786453,
-0.06051710993051529,
0.030418945476412773,
0.020676419138908386,
-0.018716653808951378,
-0.019529497250914574,
-0.030185610055923462,
-0.010985500179231167,
0.015604544430971146,
0.037413422018289566,
0.005027333740144968,
0.06738383322954178,
0.027271945029497147,
-0.02414468117058277,
0.000404944468755275,
0.01768374815583229
] |
Introduction to 3D Gaussian Splatting | dylanebert | September 18, 2023 | gaussian-splatting | community, guide, cv, game-dev | https://huggingface.co/blog/gaussian-splatting | Who cares? Why has there been so much attention on 3D Gaussian Splatting? The obvious answer is that the results speak for themselves - it's high-quality scenes in real-time. However, there may be more to story. There are many unknowns as to what else can be done with Gaussian Splatting. Can they be animated? The upcoming paper Dynamic 3D Gaussians: tracking by Persistent Dynamic View Synthesis suggests that they can. There are many other unknowns as well. Can they do reflections? Can they be modeled without training on reference images? Finally, there is growing research interest in Embodied AI. This is an area of AI research where state-of-the-art performance is still orders of magnitude below human performance, with much of the challenge being in representing 3D space. Given that 3D Gaussian Splatting yields a very dense representation of 3D space, what might the implications be for Embodied AI research? These questions call attention to the method. It remains to be seen what the actual impact will be. | [
0.018091531470417976,
-0.0331098772585392,
0.05492681264877319,
-0.01812296360731125,
-0.05096248537302017,
-0.04762439429759979,
-0.054525867104530334,
0.03704915568232536,
-0.09832634776830673,
-0.05290956795215607,
-0.06590484082698822,
-0.02670859917998314,
0.021476170048117638,
0.03481174260377884,
0.01872326247394085,
0.012178193777799606,
0.044009026139974594,
-0.04087059199810028,
-0.006397604010999203,
0.04875678941607475,
-0.04250253736972809,
-0.029886340722441673,
0.06850789487361908,
-0.0401444211602211,
-0.020408300682902336,
-0.01680823788046837,
0.05967085063457489,
0.065390944480896,
-0.08971478044986725,
-0.025131339207291603,
-0.14586800336837769,
-0.015364172868430614,
-0.0057001360692083836,
-0.035875312983989716,
-0.03858685865998268,
-0.03645576164126396,
-0.09480307251214981,
0.04467841610312462,
-0.040981024503707886,
-0.038782548159360886,
0.013612906448543072,
0.0006924323388375342,
-0.05963272601366043,
0.034940846264362335,
-0.07381615787744522,
-0.0590532086789608,
-0.1152501180768013,
0.09615673869848251,
-0.06042737141251564,
-0.07688669860363007,
-0.05007581785321236,
0.06319314986467361,
-0.03457215800881386,
0.041050925850868225,
-0.021584970876574516,
0.06869417428970337,
0.0171420406550169,
-0.0500568188726902,
0.04906462877988815,
-0.009765716269612312,
-0.012339815497398376,
0.002578263869509101,
0.05024813488125801,
0.012668400071561337,
-0.021521152928471565,
0.04294118285179138,
0.06859442591667175,
-0.007786008063703775,
-0.01962875947356224,
0.017179831862449646,
0.041233599185943604,
0.02770649455487728,
0.05838248133659363,
0.054008517414331436,
-0.038970205932855606,
-0.003881043056026101,
0.0018190692644566298,
0.05269346013665199,
0.06476734578609467,
-0.035150811076164246,
0.046352386474609375,
-0.012799935415387154,
0.04280637577176094,
0.034172046929597855,
-0.0237842109054327,
-0.06972494721412659,
0.044961992651224136,
0.0362650603055954,
-0.02737514115869999,
0.02322571724653244,
-0.012191331945359707,
-0.11496064811944962,
0.00078334950376302,
0.017700783908367157,
0.01810908317565918,
-0.0331631600856781,
-0.02756952866911888,
-0.044644005596637726,
-0.021782830357551575,
0.013558230362832546,
-0.0009016732219606638,
-0.025154879316687584,
0.010020043700933456,
-0.03644707798957825,
-0.054254889488220215,
0.018221072852611542,
-0.03354553133249283,
-0.02776958793401718,
-0.011512412689626217,
0.013237583450973034,
-0.02040320634841919,
0.06143485754728317,
0.09947972744703293,
-0.02337278425693512,
-0.09285034239292145,
0.042713481932878494,
0.0354170948266983,
0.07308167219161987,
-0.0010144563857465982,
0.052730754017829895,
0.0379146933555603,
0.014248816296458244,
0.06788136810064316,
0.04120711609721184,
-0.06786616891622543,
0.01043826062232256,
0.00012577595771290362,
0.009788175113499165,
-0.08148498088121414,
-0.02987680584192276,
0.06463201344013214,
0.017293281853199005,
0.016619861125946045,
-0.031055154278874397,
0.019990000873804092,
-0.05417555198073387,
0.0148256104439497,
-0.018311792984604836,
0.01799343153834343,
0.02128705568611622,
0.03687626123428345,
-0.07361186295747757,
0.07544103264808655,
0.009730057790875435,
0.06665045768022537,
-0.11453891545534134,
-0.09028250724077225,
0.023145999759435654,
-0.019144384190440178,
-0.04725083336234093,
-0.05988698825240135,
0.04974905773997307,
-0.05502405762672424,
-0.057760972529649734,
0.00811433419585228,
0.09889770299196243,
-0.017519861459732056,
-0.050397686660289764,
-0.01883086748421192,
0.03999645635485649,
-0.006519655231386423,
0.01685878448188305,
-0.04799995571374893,
0.010196469724178314,
-0.003490998176857829,
-0.04900424927473068,
-0.030752865597605705,
-0.023035336285829544,
-0.04313109070062637,
0.006109634414315224,
0.013028486631810665,
0.06611216068267822,
0.06564807891845703,
0.005694531835615635,
0.04334799200296402,
-0.0214835312217474,
0.06415296345949173,
0.060290370136499405,
0.04371440038084984,
-0.010455969721078873,
-0.010386000387370586,
0.004081390332430601,
-0.03892812505364418,
0.05243077129125595,
0.007098045665770769,
-0.07311580330133438,
0.011617560870945454,
-0.09282441437244415,
0.043109774589538574,
0.06519559770822525,
-0.049902305006980896,
-0.023013068363070488,
0.06911531835794449,
-0.05122309550642967,
-0.03899388387799263,
-0.012565340846776962,
-0.04257567226886749,
0.08639944344758987,
0.07588247954845428,
0.03371389955282211,
-0.0007735131657682359,
0.02697497420012951,
-0.029896724969148636,
0.021553490310907364,
0.03690648451447487,
-0.05132633447647095,
0.04393259808421135,
0.04294276237487793,
0.035879623144865036,
-0.014771830290555954,
0.011626639403402805,
-0.14391878247261047,
0.03487269580364227,
0.006529300939291716,
-0.0042925127781927586,
-0.025378581136465073,
-0.03347675874829292,
0.04922543838620186,
-0.06491777300834656,
-0.044963572174310684,
0.08395594358444214,
0.03327520564198494,
-0.0026249114889651537,
0.024056654423475266,
-0.020101768895983696,
0.003826596075668931,
0.049603842198848724,
0.026139795780181885,
0.0509762205183506,
-0.03482215106487274,
-0.04107159003615379,
-0.008572231978178024,
0.027866339311003685,
-0.027452588081359863,
-0.05234312266111374,
0.028253737837076187,
0.031214475631713867,
-0.025700919330120087,
0.01953611522912979,
-0.05453946068882942,
0.0006230578874237835,
0.003353196894749999,
0.0443466380238533,
0.011853762902319431,
-0.09135798364877701,
-0.06953638046979904,
0.04798304662108421,
0.014169844798743725,
-0.04912114143371582,
-0.0031695333309471607,
-0.07919023185968399,
0.029648365452885628,
-0.04122164100408554,
-0.035822514444589615,
0.042156610637903214,
-0.01584300957620144,
0.019100992009043694,
-0.026398567482829094,
-0.05197723209857941,
0.028269493952393532,
0.0373615100979805,
-0.03089282475411892,
0.01082578208297491,
-0.05840405076742172,
-0.00891959574073553,
0.03298621252179146,
-0.0017139387782663107,
-0.010779819451272488,
0.02888498455286026,
0.041545722633600235,
0.017721014097332954,
-0.00810827687382698,
0.024606918916106224,
-0.019577234983444214,
0.0012861768482252955,
-0.005625156220048666,
0.026450276374816895,
-0.06427034735679626,
0.0005569514469243586,
-0.05798540636897087,
-0.007892431691288948,
0.011868976056575775,
0.025819340720772743,
0.011836047284305096,
-0.005557395983487368,
0.0024591945111751556,
-0.01673021726310253,
0.033966902643442154,
-0.05558601766824722,
0.013068108819425106,
0.009789890609681606,
0.029987184330821037,
-0.013534482568502426,
0.01819649338722229,
-0.0017964541912078857,
-0.004125684965401888,
-0.011974668130278587,
-0.02543139085173607,
-0.03844676911830902,
0.004705067258328199,
0.03004608303308487,
0.03204196318984032,
-0.04396636411547661,
0.012516085058450699,
-0.005417640320956707,
0.0021567747462540865,
-0.010464495979249477,
0.05573299899697304,
-0.09443190693855286,
-0.06663476675748825,
0.02675747498869896,
0.05180056393146515,
0.029957536607980728,
0.008474447764456272,
0.015452655963599682,
-0.005856567528098822,
0.01176485139876604,
0.0113307423889637,
0.006495710927993059,
-0.009605965577065945,
0.022058628499507904,
0.02148350700736046,
0.044588908553123474,
0.014556286856532097,
0.025728577747941017,
0.037885699421167374,
0.02638772502541542,
0.0025248245801776648,
-0.0387730747461319,
0.024341512471437454,
0.019258715212345123,
-0.005342348013073206,
-0.002813899191096425,
0.01435468066483736,
-0.0006662200903519988,
0.009769830852746964,
0.029836812987923622,
-0.0015490291407331824,
-0.017539072781801224,
-0.02097928524017334,
-0.029943836852908134,
0.03760902211070061,
-0.0393858477473259,
0.019555876031517982,
-0.0535740926861763,
0.011465616524219513,
0.03554636985063553,
0.039125870913267136,
0.024200841784477234,
-0.013038257136940956,
-0.01963096112012863,
0.016474002972245216,
0.032862335443496704,
-0.029253141954541206,
0.003200941253453493,
0.02170456200838089,
-0.01646994613111019,
-0.03281871974468231,
0.019480668008327484,
0.008617091923952103,
0.016176734119653702,
0.034634217619895935,
-0.01882055774331093,
-0.006578579545021057,
-0.012026287615299225,
0.014763368293642998,
0.01625070720911026,
-0.059367913752794266,
-0.024531470611691475,
0.028205307200551033,
0.021870480850338936,
0.026242220774292946,
0.014219552278518677,
0.022462861612439156,
0.03685920685529709,
0.025327662006020546,
0.023858383297920227,
0.03857094421982765,
0.024589041247963905,
0.010271384380757809,
-0.047702521085739136,
0.0017102466663345695,
0.0028151196893304586,
0.017467312514781952,
0.05626280978322029,
-0.019712407141923904,
0.0939415693283081,
0.019484201446175575,
-0.032327745109796524,
-0.02328147552907467,
0.023532001301646233,
0.008439154364168644,
0.02891852706670761,
-0.022062066942453384,
0.042622923851013184,
-0.011273572221398354,
0.010775124654173851,
0.024731772020459175,
0.0062592425383627415,
-0.032137297093868256,
0.010312827304005623,
-0.008064281195402145,
0.018690137192606926,
0.00862075574696064,
0.02967584691941738,
0.015066954307258129,
0.05828718841075897,
-0.011323965154588223,
0.045969847589731216,
-0.0729755386710167,
0.01122014969587326,
-0.015886832028627396,
-0.012856924906373024,
0.022821087390184402,
0.005246073938906193,
0.02022784948348999,
0.05176181346178055,
-0.0332077294588089,
-0.033107418566942215,
0.00023555073130410165,
0.046122919768095016,
0.003097270615398884,
0.04955611377954483,
-0.003863878082484007,
-0.027894427999854088,
0.0036738405469805002,
-0.01795855723321438,
0.014581645838916302,
-0.009112367406487465,
0.038573674857616425,
-0.029562680050730705,
0.06847439706325531,
0.027871614322066307,
0.009829295799136162,
-0.02983671799302101,
0.051352500915527344,
-0.012278979644179344,
0.02058119885623455,
0.028480803593993187,
-0.013354074209928513,
-0.035805411636829376,
0.02494954690337181,
0.04253016784787178,
-0.010353789664804935,
-0.020033610984683037,
0.0029454126488417387,
-0.04055047035217285,
-0.04917164519429207,
0.017545117065310478,
0.016621768474578857,
0.022493066266179085,
-0.00520798796787858,
0.00327440002001822,
-0.03336591273546219,
-0.019705913960933685,
0.019452905282378197,
-0.012403375469148159,
0.05372036248445511,
0.03788243606686592,
0.0035453662276268005,
-0.01924830861389637,
0.031320907175540924,
0.019570713862776756,
0.008015785366296768,
-0.016391515731811523,
0.02201419696211815,
-0.002671807538717985,
-0.030033927410840988,
0.04673643410205841,
0.049721986055374146,
-0.04329210892319679,
0.017666509374976158,
0.03524358943104744,
-0.0018267155392095447,
0.03234521299600601,
-0.03861542418599129,
0.0332457572221756,
0.030437635257840157,
-0.03525552526116371,
0.012940560467541218,
0.04486165568232536,
-0.0061595262959599495,
0.008288220502436161,
-0.005959256552159786,
0.03686434030532837,
0.028512239456176758,
0.05168256536126137,
-0.004064489621669054,
-0.01917988248169422,
0.04030914604663849,
0.000015624795196345076,
-0.01717269979417324,
0.053383905440568924,
0.008053964003920555,
0.0452529713511467,
0.04144604131579399,
-0.016631247475743294,
-0.030075930058956146,
0.03857756406068802,
0.04960482195019722,
0.016903812065720558,
-0.058958500623703,
0.022135961800813675,
0.0467352457344532,
-0.018034063279628754,
-0.0487184002995491,
-0.036105792969465256,
0.011759733781218529,
0.043239086866378784,
0.050091955810785294,
-0.07959390431642532,
-0.014106967486441135,
0.024626869708299637,
0.01337265782058239,
0.010419926606118679,
0.026099327951669693,
0.0004536380001809448,
-0.02653505466878414,
-0.016974907368421555,
-0.004965638276189566,
-0.0347120575606823,
-0.02515236660838127,
-0.03828610107302666,
0.03255604952573776,
-0.005885129328817129,
-0.0015280436491593719,
0.0042850300669670105,
0.04349590837955475,
-0.0230734683573246,
-0.025904783979058266,
-0.038465335965156555,
0.02093011885881424,
-0.03806661441922188,
-0.004226748365908861,
0.017533324658870697,
0.010358255356550217,
0.001386416726745665,
0.040473904460668564,
0.017018139362335205,
0.026926139369606972,
-0.0018787472508847713,
0.024023080244660378,
-0.005848044995218515,
0.0059364428743720055,
-0.04516150802373886,
0.0670781210064888,
0.0024112234823405743,
-0.024807950481772423,
-0.0007768855430185795,
-0.03073784150183201,
-0.017326336354017258,
0.04493672773241997,
-0.009601633995771408,
0.02298021875321865,
0.022843757644295692,
-0.026457561179995537,
-0.03518158197402954,
-0.005954773630946875,
-0.05787712335586548,
-0.016530849039554596,
-0.015501648187637329,
-0.012824730947613716,
-0.007083243224769831,
0.037747010588645935,
0.033121682703495026,
-0.0004382920160423964,
0.016695890575647354,
-0.04440630227327347,
0.014607599005103111,
-0.017783433198928833,
0.02694854512810707,
0.006439802702516317,
0.0015129346866160631,
0.02704320102930069,
0.061519306153059006,
-0.009271486662328243,
-0.005004181992262602,
0.015337725169956684,
0.0032328488305211067,
0.03095545433461666,
-0.06012892723083496,
-0.006398672237992287,
-0.02560555562376976,
-0.020319633185863495,
-0.033589910715818405,
0.02964581549167633,
0.03946560248732567,
0.00592726469039917,
0.025231748819351196,
0.03832542151212692,
0.024749137461185455,
-0.011434211395680904,
-0.01796182058751583,
0.013958117924630642,
0.008552655577659607,
-0.018632901832461357,
0.051463447511196136,
0.004521324764937162,
-0.032875753939151764,
-0.01298773568123579,
0.0032389885745942593,
-0.018509935587644577,
-0.03997927904129028,
0.017325161024928093,
0.009545722045004368,
-0.00657658139243722,
-0.036558426916599274,
-0.04775218293070793,
0.02726564183831215,
0.0452735610306263,
0.04414502903819084,
0.018709596246480942,
-0.015865743160247803,
-0.0019056337187066674,
0.04172976687550545,
-0.01726902462542057,
-0.0011412575840950012,
-0.005773915909230709,
0.04157375916838646,
0.02588616870343685,
-0.014088530093431473,
0.0031571753788739443,
-0.019052864983677864,
0.022211965173482895,
0.021431870758533478,
0.007762361317873001,
0.01269131526350975,
-0.011782102286815643,
-0.0475887693464756,
-0.006044607609510422,
0.0176123958081007,
-0.03709672391414642,
-0.041111964732408524,
-0.03772689774632454,
0.02435222640633583,
-0.01201790664345026,
0.013896433636546135,
0.018322627991437912,
-0.03637238219380379,
0.03747386857867241,
0.0010790441883727908,
0.01452481746673584,
-0.02762037329375744,
-0.030175382271409035,
0.006003116723150015,
0.03740156441926956,
-0.02282637171447277,
-0.04933423548936844,
-0.031226826831698418,
0.038706280291080475,
0.02037642151117325,
0.019760500639677048,
-0.021220309659838676,
-0.026079926639795303,
0.0386325977742672,
0.016117224469780922,
-0.03858235850930214,
-0.00442251143977046,
0.0013326182961463928,
0.01025553047657013,
-0.0540553443133831,
0.0040239812806248665,
-0.0377214252948761,
-0.07034660130739212,
0.027673156931996346,
-0.047858621925115585,
0.011472132056951523,
-0.0017624457832425833,
0.06736240535974503,
-0.002164779230952263,
0.031183792278170586,
0.00973894726485014,
-0.02374895103275776,
-0.007528874557465315,
-0.007899248972535133,
-0.008367190137505531,
-0.01627841405570507,
0.002516076434403658,
0.0021768335718661547,
0.029263289645314217,
-0.012509503401815891,
0.045610345900058746,
-0.03519280627369881,
-0.02649390883743763,
0.0423458032310009,
-0.034039489924907684,
-0.041163161396980286,
-0.007360781077295542,
0.025961659848690033,
0.00036422739503905177,
-0.007930737920105457,
0.04756736010313034,
0.04721076413989067,
0.006826058495789766,
-0.0054671852849423885,
0.04584190621972084,
-0.01010179240256548,
-0.004772046580910683,
-0.020426597446203232,
-0.03546746075153351,
-0.028674596920609474,
-0.008310704492032528,
-0.022035546600818634,
0.008421636186540127,
-0.03424760699272156,
0.0036540846340358257,
0.009279487654566765,
-0.019977295771241188,
-0.03538207709789276,
0.025726063176989555,
0.026381438598036766,
0.014506450854241848,
-0.025158673524856567,
0.002069197129458189,
0.007006360683590174,
-0.003356466069817543,
-0.01892286352813244,
0.003606685670092702,
0.0045457263477146626,
0.019754957407712936,
-0.021573340520262718,
-0.04337925463914871,
0.024704501032829285,
-0.04823362082242966,
-0.03923383355140686,
0.003749495605006814,
0.05782652273774147,
0.0349123440682888,
0.021146774291992188,
0.005516454111784697,
-0.016215987503528595,
-0.000856247148476541,
0.05603009834885597,
-0.04354908689856529,
0.03899921849370003,
-0.0009429921046830714,
0.039684541523456573,
-0.0339835025370121,
-0.0051613375544548035,
0.01983506977558136,
0.0005381639930419624,
0.08998135477304459,
0.011678041890263557,
0.015806807205080986,
-0.010755687020719051,
0.026315869763493538,
0.04306672140955925,
-0.0320921391248703,
-0.06428712606430054,
-0.07416137307882309,
0.009737620130181313,
0.0018168172100558877,
0.01173176895827055,
-0.04202644154429436,
0.01052246242761612,
0.007406226824969053,
0.009768204763531685,
-0.010844540782272816,
0.013103856705129147,
0.013364147394895554,
-0.012774992734193802,
0.00447741849347949,
-0.015328892506659031,
0.0497237928211689,
0.024811796844005585,
0.007770453114062548,
-0.008236332796514034,
0.023830067366361618
] |
Introduction to 3D Gaussian Splatting | dylanebert | September 18, 2023 | gaussian-splatting | community, guide, cv, game-dev | https://huggingface.co/blog/gaussian-splatting | What is 3D Gaussian Splatting? 3D Gaussian Splatting is, at its core, a rasterization technique. That means: 1. Have data describing the scene. 2. Draw the data on the screen. This is analogous to triangle rasterization in computer graphics, which is used to draw many triangles on the screen. However, instead of triangles, it's gaussians. Here's a single rasterized gaussian, with a border drawn for clarity. It's described by the following parameters: - Position: where it's located (XYZ) - Covariance: how it's stretched/scaled (3x3 matrix) - Color: what color it is (RGB) - Alpha: how transparent it is (α) In practice, multiple gaussians are drawn at once. That's three gaussians. Now what about 7 million gaussians? Here's what it looks like with each gaussian rasterized fully opaque: That's a very brief overview of what 3D Gaussian Splatting is. Next, let's walk through the full procedure described in the paper. | [
-0.021953998133540154,
0.03453778848052025,
0.03440774977207184,
-0.03637734800577164,
0.04428555443882942,
-0.02185416966676712,
-0.04257654398679733,
0.04991800710558891,
-0.06294846534729004,
-0.024573367089033127,
-0.05602014437317848,
-0.03969996050000191,
0.02355416677892208,
0.08707398921251297,
-0.0009364106808789074,
0.07470756769180298,
0.005472602788358927,
-0.058755215257406235,
-0.0027356836944818497,
0.047864411026239395,
-0.056611575186252594,
-0.06373675167560577,
0.0305800698697567,
-0.046887222677469254,
0.006636414676904678,
-0.014116956852376461,
0.040891628712415695,
0.05662167817354202,
0.015910694375634193,
0.007143893279135227,
-0.12042547017335892,
0.05056454986333847,
-0.02036360092461109,
-0.0813550278544426,
0.024115081876516342,
-0.024999042972922325,
-0.08857447654008865,
0.09126772731542587,
-0.04294915869832039,
-0.04550359025597572,
0.07144774496555328,
-0.04559207707643509,
-0.03579804301261902,
0.01357706543058157,
-0.049630846828222275,
-0.05473236367106438,
-0.09843016415834427,
0.10864641517400742,
-0.10092009603977203,
-0.0914454385638237,
-0.035916030406951904,
0.07447657734155655,
-0.05192364752292633,
0.02114415168762207,
-0.008288479410111904,
0.007462743669748306,
0.018304506316781044,
0.0055139921605587006,
0.03666435927152634,
0.028065228834748268,
0.04459661245346069,
-0.03939469903707504,
0.02812955714762211,
0.06147531419992447,
-0.03265467658638954,
0.038608964532613754,
0.008930939249694347,
0.0016333007952198386,
0.002211950486525893,
-0.03770824894309044,
0.0030816541984677315,
0.04470657557249069,
0.0045681544579565525,
0.04042204096913338,
-0.049667488783597946,
0.03631071746349335,
0.011474225670099258,
0.006035827100276947,
0.058456629514694214,
-0.07365172356367111,
0.017763065174221992,
0.021785695105791092,
0.024786707013845444,
0.008537469431757927,
-0.04782261326909065,
-0.02088208496570587,
0.016152193769812584,
0.03478193283081055,
0.02223862148821354,
0.07714533060789108,
-0.0002969288034364581,
-0.10781877487897873,
-0.011479255743324757,
-0.0040945555083453655,
0.011797844432294369,
-0.03040982037782669,
0.01522225420922041,
-0.06772685050964355,
0.004214850720018148,
0.032257840037345886,
0.03189226612448692,
-0.008110471069812775,
0.06244261562824249,
0.019047340378165245,
-0.11163046956062317,
0.03419661149382591,
0.02961193583905697,
-0.024044446647167206,
-0.01177782379090786,
0.033736955374479294,
-0.02102850005030632,
0.05786292999982834,
0.08822610229253769,
0.03214185684919357,
-0.08089405298233032,
0.004728336818516254,
0.061357155442237854,
0.0796714574098587,
-0.005567146930843592,
0.013847965747117996,
0.0044999876990914345,
0.061808694154024124,
0.08194433152675629,
0.023024657741189003,
-0.060329847037792206,
0.03342723846435547,
0.0018050945363938808,
0.009978332556784153,
-0.06223522126674652,
-0.04044366255402565,
0.04066881537437439,
0.036830008029937744,
0.03959455341100693,
0.014863903634250164,
0.03832999989390373,
-0.08039095997810364,
-0.019193099811673164,
0.05018119513988495,
0.03233594819903374,
0.022585630416870117,
0.01779046840965748,
-0.06370881199836731,
0.02773037739098072,
-0.005540715530514717,
-0.03928536921739578,
-0.10944914817810059,
-0.04227852821350098,
-0.012672132812440395,
-0.026805710047483444,
-0.011508163064718246,
-0.06566266715526581,
0.04905341565608978,
-0.0666775330901146,
-0.006934830918908119,
0.030846763402223587,
0.07184742391109467,
0.03472480922937393,
-0.04379534348845482,
-0.07174547761678696,
0.01594488136470318,
0.0693785697221756,
0.04304244741797447,
-0.004206361249089241,
0.05913958325982094,
0.015622890554368496,
-0.02627536654472351,
-0.011450303718447685,
-0.01064201071858406,
0.0016841995529830456,
0.05313039943575859,
-0.026437561959028244,
-0.007921623066067696,
0.01895647868514061,
0.05209282040596008,
0.02727159485220909,
-0.008931288495659828,
0.06873256713151932,
0.05574924126267433,
0.05920541658997536,
0.01400233618915081,
-0.026254797354340553,
-0.010369659401476383,
-0.06758321076631546,
0.03203823044896126,
-0.11324886977672577,
-0.04964185878634453,
0.018559426069259644,
-0.05411197990179062,
0.030264457687735558,
0.08522135019302368,
-0.08162061125040054,
-0.034424372017383575,
0.038991644978523254,
-0.06136750057339668,
-0.03089737519621849,
-0.013348120264708996,
-0.05094389617443085,
0.014476913027465343,
0.06780021637678146,
-0.019622089341282845,
-0.030319761484861374,
0.013007516972720623,
-0.039446618407964706,
-0.0016715971287339926,
0.000793568033259362,
-0.03494489565491676,
0.07017625868320465,
0.03993550315499306,
0.04785418137907982,
-0.028895415365695953,
-0.024379272013902664,
-0.08502340316772461,
-0.012751568108797073,
0.01350076962262392,
0.02831190638244152,
0.056175895035266876,
-0.03851839154958725,
0.07000874727964401,
-0.002362980507314205,
-0.06860263645648956,
0.06324390321969986,
0.007074285764247179,
-0.024594660848379135,
0.06620798259973526,
-0.014034339226782322,
-0.01397934090346098,
0.044106531888246536,
0.034401435405015945,
0.027885526418685913,
-0.0911208763718605,
-0.003757535945624113,
-0.003942627459764481,
0.08899423480033875,
-0.043246734887361526,
-0.03453899547457695,
-0.009052203968167305,
0.00834390614181757,
-0.026753127574920654,
0.02792433649301529,
-0.10995309054851532,
-0.0016551268054172397,
0.0011519452091306448,
0.03166639432311058,
-0.06163140758872032,
-0.0370524637401104,
-0.008249790407717228,
0.024516519159078598,
-0.023045476526021957,
-0.01270275842398405,
0.06320386379957199,
-0.04489493742585182,
-0.031382158398628235,
-0.01774672418832779,
-0.057421550154685974,
0.05799166113138199,
0.023939033970236778,
0.03226768597960472,
-0.068708136677742,
-0.0371234305202961,
0.013851003721356392,
-0.01228819414973259,
-0.0032667876221239567,
-0.007278091739863157,
-0.050909314304590225,
-0.006434666458517313,
0.001665057148784399,
0.016189027577638626,
0.011792723089456558,
-0.026636330410838127,
0.02363411709666252,
0.032845281064510345,
-0.015442770905792713,
0.01174679771065712,
-0.03347921371459961,
-0.000012202878679090645,
-0.04702380299568176,
0.016793707385659218,
-0.036305446177721024,
-0.0023923018015921116,
-0.005162849556654692,
-0.008222588337957859,
0.0040057641454041,
0.01242594700306654,
0.004025463946163654,
0.008000168018043041,
-0.005021248944103718,
0.028323866426944733,
0.01948620192706585,
-0.041435662657022476,
0.015535418875515461,
-0.02794480510056019,
0.045221272855997086,
0.0030003637075424194,
0.039987094700336456,
0.017171835526823997,
0.005418026354163885,
-0.06028648465871811,
0.013898767530918121,
0.009882910177111626,
0.013286042958498001,
0.05743977054953575,
0.009120332077145576,
-0.040480151772499084,
-0.04681145027279854,
-0.040954697877168655,
-0.0018806750886142254,
-0.008757581934332848,
0.08755583316087723,
-0.08624376356601715,
-0.02262149564921856,
0.02861948497593403,
0.04639759659767151,
-0.02426987700164318,
0.007692896295338869,
0.019162558019161224,
-0.044034067541360855,
0.028645846992731094,
0.0011932447087019682,
0.017147613689303398,
-0.010258542373776436,
0.029029903933405876,
0.02237902395427227,
0.059815194457769394,
0.007614250294864178,
0.020252538844943047,
0.011356291361153126,
0.04152008518576622,
0.010010976344347,
-0.0017559925327077508,
-0.0022224432323127985,
0.001427071401849389,
0.012853996828198433,
0.015907198190689087,
0.0028014937415719032,
0.016337202861905098,
-0.0033348542638123035,
0.0078542809933424,
0.016022326424717903,
-0.011440267786383629,
-0.030902106314897537,
-0.05773025006055832,
0.029683347791433334,
-0.01415908895432949,
0.0045614237897098064,
0.000810950412414968,
0.016721557825803757,
-0.0034557499457150698,
0.02064957283437252,
-0.007894440554082394,
0.03364020213484764,
-0.025241976603865623,
-0.02334526553750038,
0.042813435196876526,
-0.04746924340724945,
0.033131618052721024,
0.007160743698477745,
-0.013622356578707695,
-0.02492528036236763,
0.013225565664470196,
0.003757400903850794,
0.012692980468273163,
-0.01044782716780901,
-0.04666105657815933,
0.003933941945433617,
0.002320469357073307,
0.025120384991168976,
0.022688334807753563,
-0.028847908601164818,
-0.01938624121248722,
-0.00857762061059475,
0.014213641174137592,
0.012809566222131252,
0.000010461304555064999,
-0.04689975455403328,
0.02288866601884365,
0.02018393948674202,
0.026693688705563545,
0.042673371732234955,
0.02594914846122265,
0.01248809415847063,
-0.038909588009119034,
0.004628581926226616,
-0.039309535175561905,
0.03243628516793251,
0.01298101618885994,
-0.037880197167396545,
0.08327193558216095,
-0.0019023093627765775,
-0.047805704176425934,
-0.020721394568681717,
0.050450924783945084,
0.006027847062796354,
0.00019965929095633328,
0.0012520556338131428,
-0.0014704209752380848,
0.0157199464738369,
-0.0023782423231750727,
0.014335811138153076,
0.03388472646474838,
-0.026061587035655975,
0.04008147120475769,
-0.01055546011775732,
0.01575605385005474,
0.02591017261147499,
0.03166907653212547,
0.010261096991598606,
0.05029984191060066,
-0.026854094117879868,
0.02311573550105095,
-0.04916805401444435,
-0.0018137551378458738,
-0.03510330989956856,
0.013569061644375324,
0.031456246972084045,
-0.0015185574302449822,
-0.01419675350189209,
0.057699479162693024,
-0.012178909033536911,
-0.011094878427684307,
-0.01895543374121189,
0.030095743015408516,
0.028554249554872513,
0.03505636006593704,
-0.02641892619431019,
-0.018682418391108513,
-0.011359469033777714,
-0.017457980662584305,
-0.009348778054118156,
-0.014829789288341999,
0.007724028080701828,
-0.0017737980233505368,
0.0356278121471405,
0.027347305789589882,
0.00032423745142295957,
-0.0062903594225645065,
0.025547679513692856,
0.010878627188503742,
0.01021890714764595,
0.004205688368529081,
-0.028713449835777283,
-0.02838512882590294,
0.029844533652067184,
-0.0012755433563143015,
0.00914732739329338,
-0.02089591883122921,
0.018177123740315437,
0.00869144406169653,
-0.0655602365732193,
0.01769782416522503,
0.031899791210889816,
-0.008016531355679035,
0.054153528064489365,
0.005051623564213514,
-0.05088447779417038,
-0.01072127465158701,
0.01719663478434086,
-0.02490263804793358,
0.039341893047094345,
0.018691163510084152,
0.02582266740500927,
-0.021689319983124733,
-0.009697696194052696,
0.014564107172191143,
-0.0021097951103001833,
0.03536413237452507,
-0.003059077076613903,
-0.015394739806652069,
-0.019094284623861313,
0.03531675040721893,
0.0009754430502653122,
-0.04351062327623367,
-0.005606264341622591,
0.0037071702536195517,
-0.03895995765924454,
0.007480619475245476,
-0.04155440628528595,
0.034256357699632645,
0.047137487679719925,
-0.015990719199180603,
0.04140715301036835,
0.023185422644019127,
-0.009289354085922241,
-0.006901634857058525,
0.029140107333660126,
0.022423261776566505,
-0.0050676497630774975,
0.05825209245085716,
0.0007900370983406901,
-0.0331457294523716,
-0.007882006466388702,
-0.020493850111961365,
-0.033299800008535385,
0.019516993314027786,
0.03465519845485687,
-0.004039862658828497,
0.01841854862868786,
0.00426847767084837,
-0.008767890743911266,
0.05888781324028969,
0.019236786291003227,
0.022721540182828903,
-0.0033063916489481926,
0.041292592883110046,
0.045051418244838715,
-0.06923773139715195,
-0.010198857635259628,
-0.01116371899843216,
-0.0072771296836435795,
0.014087531715631485,
0.025817079469561577,
-0.048324719071388245,
0.01446002908051014,
-0.023629697039723396,
-0.008968455716967583,
0.004355849698185921,
0.021677223965525627,
-0.032721031457185745,
-0.01992257870733738,
-0.008200490847229958,
-0.0022749314084649086,
-0.05956254526972771,
-0.025840379297733307,
-0.06445460021495819,
0.008375062607228756,
-0.015970749780535698,
-0.042275793850421906,
-0.015997499227523804,
0.03990555554628372,
0.004925075452774763,
0.02348901890218258,
0.02984584867954254,
0.004258065018802881,
-0.022343073040246964,
-0.020550178363919258,
0.03877251222729683,
-0.012796428054571152,
0.002022053813561797,
0.04035848751664162,
0.04901741072535515,
0.06549777090549469,
-0.038149211555719376,
0.027009235695004463,
-0.006849538069218397,
0.018917426466941833,
-0.051717836409807205,
0.03338271751999855,
0.02884715236723423,
-0.006687732879072428,
-0.03273541480302811,
-0.04066409915685654,
-0.017175091430544853,
0.0466490238904953,
0.003216457087546587,
-0.05349278450012207,
0.029261620715260506,
0.010199923068284988,
-0.0514422282576561,
-0.004442697856575251,
-0.017195692285895348,
-0.019514279440045357,
-0.010985085740685463,
-0.05586692690849304,
0.028813524171710014,
0.041878536343574524,
0.04399001970887184,
0.0189499631524086,
0.030335187911987305,
0.001172842225059867,
0.03265148773789406,
-0.028094148263335228,
0.054347362369298935,
-0.001990786287933588,
-0.007237037178128958,
0.008736706338822842,
0.0455445870757103,
-0.0015290053561329842,
-0.041232433170080185,
0.011345135979354382,
0.0499141700565815,
0.037828437983989716,
-0.028679892420768738,
0.007507593836635351,
-0.049477718770504,
-0.023302260786294937,
-0.0056008328683674335,
0.03268655389547348,
0.007105859462171793,
0.03552382066845894,
-0.00435135280713439,
-0.020470555871725082,
0.07391346991062164,
-0.0137630645185709,
0.0014695924473926425,
0.02517283894121647,
0.05970314145088196,
0.008620203472673893,
0.05664275959134102,
0.00009377007518196478,
-0.008297804743051529,
-0.026386825367808342,
-0.0032516815699636936,
-0.008529067039489746,
-0.02389223501086235,
0.03902672231197357,
0.03622467815876007,
0.000848068215418607,
0.007089819293469191,
-0.046773575246334076,
0.04021431505680084,
0.03447358310222626,
0.06064029410481453,
-0.0108093973249197,
-0.013696576468646526,
-0.03138904646039009,
0.028492620214819908,
-0.02155590057373047,
-0.01993536576628685,
0.009208348579704762,
-0.0018292390741407871,
0.019479963928461075,
-0.01954631507396698,
0.014092592522501945,
-0.0112007986754179,
0.023326003924012184,
0.06673377752304077,
-0.0368204191327095,
-0.013111371546983719,
-0.015709763392806053,
-0.0006717779906466603,
-0.008137817494571209,
0.03785701468586922,
-0.07353577762842178,
-0.04054494574666023,
-0.029230087995529175,
0.03617068752646446,
-0.020545246079564095,
-0.02773175574839115,
-0.003972507547587156,
-0.03682567924261093,
-0.01959802769124508,
0.0007804565830156207,
-0.015812326222658157,
-0.030420880764722824,
-0.02123473957180977,
0.004153205547481775,
-0.025639258325099945,
-0.04665733873844147,
-0.020492276176810265,
-0.06343179941177368,
0.0492979995906353,
0.04280167073011398,
0.04517529904842377,
0.02490934729576111,
-0.0025232494808733463,
0.03813048452138901,
-0.0013288892805576324,
-0.09285289794206619,
-0.014194352552294731,
-0.004875954706221819,
-0.01578085869550705,
-0.02968171052634716,
-0.002650043461471796,
-0.026739435270428658,
-0.04357542470097542,
0.020515451207756996,
-0.01673593930900097,
0.01533058937638998,
-0.016884518787264824,
0.0731479749083519,
-0.009432182647287846,
0.013973978348076344,
0.03718221187591553,
-0.014816963113844395,
-0.015356010757386684,
-0.029032330960035324,
-0.01375106442719698,
-0.035980600863695145,
0.03224191069602966,
-0.012865228578448296,
0.01883704401552677,
0.0026498485822230577,
0.036049287766218185,
-0.038395728915929794,
-0.006024503149092197,
0.03920576721429825,
-0.01628337986767292,
-0.00841712299734354,
0.003341809380799532,
0.0002513321815058589,
0.0011325919767841697,
-0.023601016029715538,
0.012271169573068619,
0.02322753146290779,
0.013160258531570435,
0.007900914177298546,
0.022821327671408653,
0.014191054739058018,
0.010342972353100777,
0.029600534588098526,
-0.043303173035383224,
-0.07365213334560394,
-0.02463100664317608,
-0.011868884786963463,
0.051438525319099426,
-0.026649020612239838,
0.0001892846921691671,
0.0214605201035738,
-0.012652062810957432,
-0.012126749381422997,
0.018512504175305367,
0.008737645111978054,
-0.03555941581726074,
-0.04832117259502411,
-0.0058286371640861034,
0.0053495001047849655,
0.021840520203113556,
-0.01752295158803463,
-0.013539321720600128,
0.0061313617043197155,
-0.002294333418831229,
-0.012903808616101742,
-0.029750946909189224,
0.0406205840408802,
-0.04106353595852852,
-0.04497849568724632,
0.026724670082330704,
0.05106034129858017,
0.028373761102557182,
-0.009288998320698738,
0.021403077989816666,
0.027970580384135246,
0.008883859030902386,
0.046971336007118225,
-0.03851870447397232,
0.05537533760070801,
-0.01230690348893404,
-0.03113495744764805,
-0.034759994596242905,
-0.01059590931981802,
0.05079398676753044,
-0.038672588765621185,
0.04964684695005417,
-0.026537464931607246,
0.019872788339853287,
0.016130220144987106,
0.02297205477952957,
0.03640202432870865,
0.026026064530014992,
-0.010221065022051334,
-0.03839663043618202,
0.045855529606342316,
0.030768785625696182,
-0.003091241233050823,
-0.014674825593829155,
-0.034722957760095596,
0.0021114684641361237,
0.03772027790546417,
-0.0079510398209095,
0.002546832663938403,
0.02536461316049099,
-0.057111673057079315,
0.05103285238146782,
-0.01571061834692955,
0.01578097976744175,
-0.03418540582060814,
0.037558913230895996,
0.02635946311056614,
0.015158449299633503
] |
Introduction to 3D Gaussian Splatting | dylanebert | September 18, 2023 | gaussian-splatting | community, guide, cv, game-dev | https://huggingface.co/blog/gaussian-splatting | 1. Structure from Motion The first step is to use the Structure from Motion (SfM) method to estimate a point cloud from a set of images. This is a method for estimating a 3D point cloud from a set of 2D images. This can be done with the COLMAP library. | [
0.07324019819498062,
-0.025311943143606186,
0.062301259487867355,
-0.014785575680434704,
0.06450145691633224,
0.03766174241900444,
-0.05433441326022148,
-0.01981433480978012,
-0.02949203923344612,
-0.00886480137705803,
-0.04736869037151337,
-0.007838024757802486,
-0.08121208846569061,
-0.018226096406579018,
0.03168340399861336,
-0.023280097171664238,
0.009835008531808853,
-0.027195444330573082,
0.04702196642756462,
-0.0027825708966702223,
-0.05649283155798912,
-0.026468288153409958,
0.03072466515004635,
-0.051443617790937424,
-0.06789712607860565,
-0.028669854626059532,
-0.013362088240683079,
0.05283205583691597,
-0.03682170808315277,
0.014219804666936398,
-0.07433473318815231,
0.05077726021409035,
-0.051756612956523895,
-0.075042724609375,
-0.04047168418765068,
0.030203823000192642,
-0.029725240543484688,
0.04531966522336006,
0.003629903541877866,
-0.12022098153829575,
0.032469552010297775,
0.05057891458272934,
-0.033761247992515564,
-0.028535200282931328,
-0.032192569226026535,
0.029816504567861557,
-0.12553247809410095,
0.07629988342523575,
-0.11722090095281601,
-0.02692462131381035,
0.029753638431429863,
0.03910914435982704,
0.015071917325258255,
0.013531545177102089,
-0.0014092196943238378,
-0.01006721518933773,
-0.0225058626383543,
0.016682637855410576,
0.028798794373869896,
0.08289709687232971,
-0.027856312692165375,
-0.007205967325717211,
0.011555518954992294,
-0.004279588349163532,
-0.005667858757078648,
0.00624435069039464,
0.09325981885194778,
0.012180383317172527,
-0.04196954518556595,
0.036310721188783646,
0.04690316319465637,
0.0398300364613533,
0.005585557781159878,
0.013932356610894203,
0.02344588376581669,
-0.03663954511284828,
0.012310696765780449,
0.05663963407278061,
-0.00946672260761261,
-0.07070639729499817,
0.008689233101904392,
-0.015476851724088192,
-0.03221869096159935,
0.011007891967892647,
0.013427779078483582,
-0.007707071956247091,
-0.02509092167019844,
-0.027883438393473625,
-0.02375042624771595,
0.10041962563991547,
0.002409677254036069,
-0.0635269358754158,
-0.07686255872249603,
0.07917898893356323,
0.018236814066767693,
-0.054739050567150116,
0.04930799826979637,
-0.04761821776628494,
0.04731939733028412,
-0.03701086714863777,
-0.009099554270505905,
-0.026005005463957787,
-0.00479705398902297,
0.014438213780522346,
-0.0161406509578228,
0.034511808305978775,
0.033200882375240326,
-0.08657319843769073,
-0.05350356921553612,
-0.04156821221113205,
-0.01918839104473591,
0.1079535186290741,
0.04188413918018341,
0.03025527484714985,
-0.0025077650789171457,
-0.014767404645681381,
0.034843333065509796,
0.03738211840391159,
-0.000276946957455948,
-0.03057745099067688,
-0.053800541907548904,
0.10847897082567215,
0.027984140440821648,
0.02050839550793171,
-0.08045994490385056,
0.046980004757642746,
0.015105176717042923,
0.03196074068546295,
-0.06510064750909805,
0.032988596707582474,
0.0026377160102128983,
-0.03149687126278877,
0.07440748810768127,
-0.03645118698477745,
0.1149149164557457,
-0.0787905678153038,
-0.022188881412148476,
-0.02463703043758869,
0.05360222980380058,
0.04821624234318733,
0.029866788536310196,
0.014637846499681473,
-0.05422932282090187,
0.031645894050598145,
0.04840020090341568,
-0.07776712626218796,
-0.035213571041822433,
-0.03806115686893463,
0.00866187084466219,
0.0349428728222847,
-0.031342096626758575,
0.08739906549453735,
-0.01958461105823517,
-0.0710587278008461,
-0.0457494743168354,
0.05377858132123947,
0.05583680048584938,
0.005271293688565493,
-0.02661486342549324,
-0.05205446481704712,
0.018356995657086372,
-0.0011905613355338573,
-0.10964705049991608,
0.016627931967377663,
0.00566022377461195,
-0.04257458448410034,
0.08759540319442749,
0.01625692844390869,
-0.03921925276517868,
-0.06316916644573212,
-0.05003461241722107,
-0.007720022927969694,
0.022319456562399864,
0.018472719937562943,
-0.0010712703224271536,
-0.07144414633512497,
0.05924201384186745,
0.08097616583108902,
0.025912851095199585,
-0.03320799395442009,
-0.0027159173041582108,
-0.04419779032468796,
-0.03751717135310173,
0.0011165350442752242,
0.027393361553549767,
-0.009505591355264187,
0.03625984489917755,
-0.0422782339155674,
-0.001708099152892828,
-0.004850049503147602,
-0.06589528173208237,
-0.0708601176738739,
0.029941286891698837,
-0.131649911403656,
0.05557569861412048,
-0.050487346947193146,
-0.009932477958500385,
0.01687598042190075,
0.020834079012274742,
0.004280127119272947,
0.03903073072433472,
-0.006655240431427956,
-0.004418882541358471,
0.020986007526516914,
0.02476869896054268,
0.02117464505136013,
0.059543486684560776,
0.029347160831093788,
0.031567543745040894,
-0.01171114295721054,
-0.0872117206454277,
-0.05492229014635086,
-0.035441119223833084,
-0.08834762871265411,
0.024836907163262367,
-0.07386317104101181,
-0.07628217339515686,
-0.02168952114880085,
0.014558425173163414,
0.0006441099685616791,
0.0930165946483612,
0.05091315507888794,
-0.05606134980916977,
0.06782673299312592,
-0.10038269311189651,
0.025220727548003197,
0.00370402866974473,
0.011718862690031528,
0.07788455486297607,
-0.020144110545516014,
-0.0708213672041893,
-0.03472430258989334,
0.028431523591279984,
0.06317353993654251,
0.016845135018229485,
0.02356516383588314,
0.07776881754398346,
0.012393510900437832,
0.011769616045057774,
-0.02194703184068203,
0.01008495781570673,
-0.04761674627661705,
-0.038583531975746155,
-0.006529449950903654,
0.009659437462687492,
-0.05545113608241081,
0.08369839936494827,
-0.022596830502152443,
-0.01515484694391489,
0.06101100146770477,
-0.013737616129219532,
0.013630175031721592,
0.044505730271339417,
-0.020218290388584137,
0.03142324835062027,
-0.023540275171399117,
0.032998837530612946,
-0.06194331869482994,
-0.02093048021197319,
0.03848649188876152,
-0.0011747501557692885,
-0.03596547245979309,
0.029889505356550217,
-0.06442534923553467,
-0.059753600507974625,
-0.022017361596226692,
0.07891246676445007,
-0.03373389318585396,
-0.00008784669626038522,
0.020071903243660927,
0.04954766854643822,
-0.009350193664431572,
0.008242429234087467,
0.023092836141586304,
0.05358161777257919,
-0.010722489096224308,
0.04885661229491234,
-0.040325094014406204,
0.007871035486459732,
-0.032467760145664215,
0.00604062108322978,
-0.012689403258264065,
0.03669805824756622,
0.02550872229039669,
0.054165035486221313,
-0.0030241108033806086,
0.03939329832792282,
-0.015182134695351124,
-0.028387658298015594,
-0.009715977124869823,
-0.001759063103236258,
0.03525403514504433,
-0.033684663474559784,
0.04201636463403702,
-0.014283373020589352,
0.06198594346642494,
-0.020839445292949677,
0.003555918578058481,
-0.07118689268827438,
-0.017302650958299637,
-0.042481113225221634,
-0.011023832485079765,
0.003819796722382307,
-0.06314805895090103,
-0.04860750958323479,
-0.007231967523694038,
-0.005014884751290083,
0.06648559123277664,
-0.08789139986038208,
-0.030156146734952927,
-0.013746893964707851,
-0.022780342027544975,
0.005407789256423712,
-0.014418049715459347,
-0.001843780279159546,
-0.021016089245676994,
-0.03767440840601921,
-0.010875986889004707,
-0.07050220668315887,
-0.0421161986887455,
0.012901036068797112,
0.01059947069734335,
-0.010002559050917625,
-0.00904877483844757,
0.04076889157295227,
0.012562895193696022,
0.032272279262542725,
-0.0040890988893806934,
-0.048412028700113297,
0.0032158533576875925,
-0.008054801262915134,
0.0071862381882965565,
-0.0362369641661644,
0.006680082064121962,
-0.023129254579544067,
0.0048478953540325165,
0.020305702462792397,
0.00549448374658823,
-0.008493829518556595,
0.017368901520967484,
-0.04434257000684738,
0.012943180277943611,
-0.061561405658721924,
-0.006786852143704891,
0.0033584630582481623,
0.018073491752147675,
0.024992700666189194,
-0.00811486504971981,
-0.02995070442557335,
-0.027016714215278625,
0.0154140405356884,
0.018564747646450996,
-0.009920492768287659,
0.00494898296892643,
0.03005344234406948,
0.01660919189453125,
0.005363725125789642,
0.008854162879288197,
0.002072923118248582,
0.013309610076248646,
0.037676192820072174,
0.04496794939041138,
0.020264076068997383,
-0.03085899166762829,
0.06339935958385468,
0.024299416691064835,
0.054940156638622284,
0.035188641399145126,
-0.03958478197455406,
0.010868750512599945,
0.030311306938529015,
0.0008919357205741107,
0.00039308815030381083,
-0.0029099159874022007,
-0.0022823757026344538,
0.0276496559381485,
0.00003357805690029636,
0.008698152378201485,
0.029433337971568108,
0.04950515180826187,
-0.025420259684324265,
0.004935962148010731,
-0.040432680398225784,
0.0347786583006382,
-0.010552776977419853,
0.005595509894192219,
0.05422711372375488,
-0.003456254256889224,
-0.0057523492723703384,
0.04559515044093132,
0.008849137462675571,
-0.021369531750679016,
0.023712199181318283,
0.02797236293554306,
0.01892474852502346,
-0.029629165306687355,
-0.02850962243974209,
-0.015028463676571846,
0.008245697245001793,
-0.024678414687514305,
-0.014054624363780022,
0.030003873631358147,
0.011553614400327206,
0.013193285092711449,
0.021613555029034615,
0.029440980404615402,
0.008430597372353077,
-0.054836418479681015,
0.05617903172969818,
-0.025261446833610535,
0.01424820814281702,
0.019120050594210625,
0.024425527080893517,
-0.023156210780143738,
0.017500443384051323,
-0.01496312115341425,
0.0029515905771404505,
0.026773663237690926,
0.02019825391471386,
0.01597834751009941,
0.036430008709430695,
0.004943826701492071,
-0.004699870012700558,
-0.009586481377482414,
-0.030746830627322197,
-0.01748162880539894,
-0.001249660737812519,
0.03487950935959816,
-0.005270365625619888,
0.04356337711215019,
0.00632901256904006,
-0.00240436103194952,
0.00103770790155977,
0.0012779763201251626,
-0.03616666793823242,
0.020187893882393837,
0.027270497754216194,
0.003670367645099759,
0.014793900772929192,
0.002791036618873477,
0.08243729174137115,
0.012545918114483356,
-0.027682948857545853,
-0.00897776149213314,
0.012049868702888489,
0.055507030338048935,
-0.011879822239279747,
-0.011412201449275017,
-0.0019146030535921454,
0.021287882700562477,
0.017393946647644043,
0.05322471633553505,
0.005136528983712196,
-0.013366705738008022,
-0.0343363992869854,
0.02349328249692917,
0.016219643875956535,
0.02458282560110092,
-0.026575323194265366,
0.03480496630072594,
-0.031990692019462585,
-0.05038893595337868,
0.00781458243727684,
0.0279797725379467,
0.005103426054120064,
-0.032047346234321594,
0.011707168072462082,
0.0444566048681736,
0.033207520842552185,
0.016030848026275635,
-0.02696983888745308,
-0.02475484274327755,
-0.04186474531888962,
0.006431047338992357,
0.04395100846886635,
-0.04935204237699509,
-0.031042827293276787,
0.022845063358545303,
0.04686400666832924,
-0.021279100328683853,
-0.008288088254630566,
-0.057482555508613586,
0.004412822425365448,
0.03573743999004364,
-0.006117155309766531,
0.02477136068046093,
0.05009894818067551,
-0.023183004930615425,
-0.06525357067584991,
0.002732762834057212,
0.043431248515844345,
-0.005486620124429464,
0.012172532267868519,
0.006489650812000036,
0.02077971026301384,
0.00294104334898293,
0.002696906216442585,
0.02238277532160282,
0.04221031442284584,
0.020114446058869362,
0.028732940554618835,
-0.014867628924548626,
0.05201532319188118,
-0.035000093281269073,
-0.012496178038418293,
-0.019120290875434875,
-0.044412534683942795,
-0.03518682345747948,
0.01292272750288248,
0.06522663682699203,
-0.021949099376797676,
0.015494239516556263,
0.017863698303699493,
0.024712318554520607,
-0.033285144716501236,
0.044982392340898514,
0.005470206495374441,
-0.0006286290590651333,
-0.04233555868268013,
0.013530146330595016,
-0.058867912739515305,
-0.03229326009750366,
-0.04143279418349266,
0.019588619470596313,
-0.00009174300794256851,
-0.033461373299360275,
0.03168923407793045,
-0.0033464322332292795,
0.03151668235659599,
-0.043254610151052475,
0.02775546722114086,
0.024654895067214966,
0.002473989501595497,
-0.030521010980010033,
0.010060981847345829,
0.04488091170787811,
0.017204247415065765,
0.07146020978689194,
0.024410156533122063,
0.024273306131362915,
0.00789666548371315,
-0.0071256388910114765,
0.008919551968574524,
-0.010230391286313534,
0.02124292217195034,
-0.006757783703505993,
0.004468255210667849,
0.01564069837331772,
-0.007490348536521196,
-0.014781182631850243,
0.020580071955919266,
0.06024961173534393,
-0.008717288263142109,
-0.026530899107456207,
0.03285159170627594,
-0.013984628021717072,
0.03559921309351921,
0.039359673857688904,
0.011427337303757668,
-0.02876044251024723,
0.035199131816625595,
-0.01165199838578701,
-0.02865445427596569,
0.019801976159214973,
0.04699019715189934,
-0.011431501246988773,
0.018742123618721962,
0.020511869341135025,
0.03385518118739128,
-0.03684347867965698,
0.014432327821850777,
0.00580240786075592,
-0.012956144288182259,
0.01455271989107132,
0.010079351253807545,
-0.001817234791815281,
-0.021850982680916786,
-0.013786759227514267,
0.05469512566924095,
0.020069852471351624,
0.001681628986261785,
0.04509345814585686,
0.011300413869321346,
-0.04947236180305481,
0.026179876178503036,
0.03143184632062912,
0.005786556284874678,
0.037175022065639496,
0.015353209339082241,
0.005818970967084169,
0.026061344891786575,
-0.01098601333796978,
0.028798922896385193,
0.038418274372816086,
0.044301360845565796,
0.020217355340719223,
0.025792570784687996,
-0.014088454656302929,
-0.04312058910727501,
-0.041648365557193756,
-0.018671808764338493,
-0.0366152748465538,
-0.04312572255730629,
0.03047163039445877,
-0.048831913620233536,
-0.01578047126531601,
-0.04209490120410919,
-0.00313843647018075,
0.00300463754683733,
-0.017822207883000374,
0.02213895320892334,
-0.06412972509860992,
-0.017561955377459526,
0.008658926002681255,
0.011975143104791641,
0.009483721107244492,
-0.013606484979391098,
0.0014599855057895184,
-0.01720472052693367,
0.001107840915210545,
0.001998628256842494,
0.0019383109174668789,
0.007820850238204002,
-0.0041457670740783215,
0.02686549723148346,
-0.024283912032842636,
0.030433282256126404,
0.008850873447954655,
-0.00243558781221509,
-0.022866521030664444,
0.017255721613764763,
-0.029980653896927834,
-0.05366533622145653,
-0.0482361726462841,
-0.0023863499518483877,
0.027730723842978477,
0.018353264778852463,
-0.017250975593924522,
0.029796428978443146,
0.005342638120055199,
-0.046381641179323196,
0.02670963481068611,
-0.018353445455431938,
-0.023695912212133408,
0.04244186729192734,
-0.014056358486413956,
-0.03412390500307083,
-0.007849857211112976,
-0.015784939751029015,
0.04199793189764023,
0.04749522730708122,
0.019959384575486183,
-0.006030647084116936,
0.016731783747673035,
0.01864454336464405,
-0.038864169269800186,
-0.06914214044809341,
0.024909257888793945,
0.01963028311729431,
0.02161320485174656,
0.0077282218262553215,
0.07828735560178757,
-0.01755293644964695,
0.00569112878292799,
-0.024367058649659157,
0.010031250305473804,
0.022142644971609116,
0.06904139369726181,
0.0022598973009735346,
0.006288260221481323,
0.033951278775930405,
0.053871411830186844,
-0.05571063980460167,
0.006069186609238386,
-0.04019004479050636,
0.02184937335550785,
0.011478872038424015,
0.031913142651319504,
-0.008693058043718338,
0.04393172636628151,
-0.006739506032317877,
0.047568462789058685,
-0.008057324215769768,
-0.0007470814161933959,
-0.03612995520234108,
0.0025981254875659943,
-0.02560816891491413,
-0.014240008778870106,
0.02782103419303894,
-0.006005408708006144,
-0.014149434864521027,
-0.010841438546776772,
0.006108465138822794,
0.007937277667224407,
-0.052226170897483826,
0.028669318184256554,
0.033867329359054565,
-0.0003525419160723686,
-0.026868071407079697,
-0.07022441923618317,
-0.0034039539750665426,
-0.0035555451177060604,
-0.009648728184401989,
0.008471349254250526,
-0.002336644334718585,
-0.001458107028156519,
-0.0025162158999592066,
0.016013391315937042,
-0.05760094150900841,
0.020499996840953827,
0.02745210751891136,
0.03769040107727051,
0.004311806056648493,
0.012020478956401348,
-0.02094525843858719,
0.042527757585048676,
-0.013798559084534645,
0.030544625595211983,
-0.021661922335624695,
0.016892656683921814,
-0.017768897116184235,
-0.0339960902929306,
0.027229372411966324,
-0.01396768819540739,
-0.06246543675661087,
-0.018127722665667534,
-0.007350541651248932,
-0.026082085445523262,
-0.05106457695364952,
0.02698403224349022,
-0.00330507499165833,
-0.004791795276105404,
-0.004267956130206585,
-0.013907765038311481,
-0.0016609265003353357,
0.015412414446473122,
0.019676117226481438,
-0.022804075852036476,
-0.009396286681294441,
0.014269580133259296,
-0.03474599868059158,
0.028320305049419403,
0.03829333186149597,
0.04222964495420456,
-0.001301025040447712,
0.004125188570469618,
0.0073710847645998,
0.0031595707405358553,
-0.003845623228698969,
-0.012447069399058819,
-0.05679035559296608,
0.025229118764400482,
-0.0014492706395685673,
-0.02120807394385338,
0.0011121771531179547,
0.00872709695249796,
0.012917944230139256,
-0.007665655110031366,
0.0011375952744856477,
0.05657688528299332,
0.0034753039944916964,
0.02548954077064991,
-0.023614855483174324,
0.06853774935007095,
-0.005682665854692459,
0.009189498610794544,
0.008536893874406815,
0.029866062104701996
] |
Introduction to 3D Gaussian Splatting | dylanebert | September 18, 2023 | gaussian-splatting | community, guide, cv, game-dev | https://huggingface.co/blog/gaussian-splatting | 3. Training The training procedure uses Stochastic Gradient Descent, similar to a neural network, but without the layers. The training steps are: 1. Rasterize the gaussians to an image using differentiable gaussian rasterization (more on that later) 2. Calculate the loss based on the difference between the rasterized image and ground truth image 3. Adjust the gaussian parameters according to the loss 4. Apply automated densification and pruning Steps 1-3 are conceptually pretty straightforward. Step 4 involves the following: - If the gradient is large for a given gaussian (i.e. it's too wrong), split/clone it - If the gaussian is small, clone it - If the gaussian is large, split it - If the alpha of a gaussian gets too low, remove it This procedure helps the gaussians better fit fine-grained details, while pruning unnecessary gaussians. | [
0.001314390916377306,
-0.011324764229357243,
0.010612730868160725,
0.04267559573054314,
0.09348295629024506,
0.06720848381519318,
-0.0604788176715374,
0.032491691410541534,
-0.03160018101334572,
-0.07856886833906174,
-0.07651417702436447,
0.10119521617889404,
0.007165058515965939,
0.043106138706207275,
0.027899200096726418,
0.013409705832600594,
0.05614371597766876,
-0.07138094305992126,
0.03927551582455635,
0.06968963891267776,
-0.0649765208363533,
-0.05174902081489563,
0.006041576620191336,
-0.015789151191711426,
0.020848417654633522,
-0.025197669863700867,
0.0770903080701828,
0.04517161473631859,
0.05090552195906639,
0.006107819266617298,
-0.09413155168294907,
-0.023053394630551338,
-0.039377301931381226,
-0.10913644731044769,
0.017513960599899292,
-0.0004701142606791109,
-0.053487177938222885,
0.008649518713355064,
-0.0007012235000729561,
-0.010887602344155312,
-0.0018695968901738524,
0.015468772500753403,
-0.0794667899608612,
0.019380677491426468,
-0.012063410133123398,
-0.10443081706762314,
-0.09584768861532211,
0.06567409634590149,
-0.07278883457183838,
-0.12480607628822327,
-0.05070847272872925,
0.08806942403316498,
-0.044979654252529144,
-0.05805794894695282,
-0.048436857759952545,
-0.00006822036812081933,
0.06313688308000565,
0.005758549552410841,
0.010474334470927715,
-0.014316041953861713,
0.022298429161310196,
-0.06075635924935341,
0.000756696390453726,
0.06083935871720314,
0.026653027161955833,
0.023332061246037483,
0.015377315692603588,
0.018307631835341454,
-0.0635363906621933,
-0.012490938417613506,
-0.017826994881033897,
-0.08887077122926712,
0.017691683024168015,
-0.0031844519544392824,
-0.04227687045931816,
0.013121343217790127,
0.0516565702855587,
0.04238628223538399,
0.02302057109773159,
-0.016558900475502014,
0.05221198499202728,
0.018751781433820724,
0.032236602157354355,
0.038665320724248886,
0.0008909148164093494,
-0.006148906424641609,
-0.023627426475286484,
0.018076177686452866,
0.04221469908952713,
0.039550647139549255,
-0.02433117665350437,
-0.04786122217774391,
-0.06706107407808304,
0.012891837395727634,
0.052178725600242615,
-0.041887253522872925,
-0.0007954997709020972,
-0.03268713876605034,
0.030638953670859337,
-0.009426303207874298,
-0.04909207299351692,
-0.03728266805410385,
0.04348648339509964,
-0.017858367413282394,
-0.03796376287937164,
0.05260995030403137,
-0.0021533009130507708,
-0.06965124607086182,
-0.06484749168157578,
0.001838159398175776,
-0.04448646306991577,
0.043389447033405304,
0.06270132958889008,
0.01641950011253357,
-0.10844011604785919,
-0.01932341605424881,
0.056746359914541245,
-0.006630302406847477,
0.02165454439818859,
0.00484204338863492,
-0.0034472187981009483,
0.1430472731590271,
0.09635794907808304,
0.02921235002577305,
-0.0637751892209053,
-0.002335194731131196,
0.04540754482150078,
0.003539429046213627,
-0.014479352161288261,
0.031102124601602554,
-0.033518366515636444,
0.0060728006064891815,
0.03414328396320343,
0.027593474835157394,
0.030272191390395164,
-0.05367976799607277,
-0.0018160059116780758,
-0.015857845544815063,
-0.03031322732567787,
0.014338898472487926,
-0.010051601566374302,
0.03932564705610275,
-0.003509731264784932,
-0.002619863487780094,
0.03538910672068596,
-0.07537757605314255,
0.01765558496117592,
-0.023208366706967354,
0.06459222733974457,
0.042150240391492844,
-0.05920878425240517,
0.03768466040492058,
-0.06081535294651985,
-0.07575983554124832,
0.016833430156111717,
0.0639013722538948,
-0.0025833449326455593,
-0.036630161106586456,
-0.06441250443458557,
0.031189588829874992,
0.002861576620489359,
0.034729309380054474,
-0.016231337562203407,
0.05856928601861,
0.07223239541053772,
-0.06859946995973587,
0.008249938488006592,
0.05639225244522095,
-0.020859001204371452,
0.051282770931720734,
-0.03829627111554146,
-0.06258930265903473,
0.04613449051976204,
0.014237572439014912,
0.013632165268063545,
0.011859036050736904,
0.031042590737342834,
0.07396083325147629,
-0.054586391896009445,
-0.03777385130524635,
-0.004971344489604235,
-0.003938598092645407,
-0.02006658725440502,
-0.02717367373406887,
-0.004381698556244373,
-0.10342145711183548,
0.01711374521255493,
-0.04445447772741318,
0.0155533691868186,
0.04448547586798668,
-0.06689657270908356,
-0.006835713516920805,
0.03545905277132988,
-0.05786310136318207,
-0.005048944614827633,
-0.05174402520060539,
0.004557576961815357,
0.06214931234717369,
-0.032750435173511505,
0.0762079730629921,
-0.0043567148968577385,
-0.07606931775808334,
0.007527474779635668,
-0.04691055417060852,
-0.022413136437535286,
0.014514371752738953,
0.007797380909323692,
-0.006449361331760883,
0.06840817630290985,
0.004611631855368614,
-0.05698292329907417,
-0.1089472845196724,
0.009452048689126968,
-0.06286296993494034,
0.048219189047813416,
0.04399563744664192,
-0.026724649593234062,
0.03638998791575432,
0.04926071688532829,
-0.05195469781756401,
0.1042170450091362,
0.040569037199020386,
-0.05510072410106659,
0.10792292654514313,
0.01027239952236414,
0.039700694382190704,
0.08264844864606857,
0.02393163926899433,
0.08345404267311096,
-0.08296798169612885,
-0.029172921553254128,
-0.09113437682390213,
0.04779185727238655,
0.051296066492795944,
0.011404888704419136,
-0.036380644887685776,
-0.006336893420666456,
-0.05418308451771736,
0.05132826045155525,
-0.057499174028635025,
0.045736268162727356,
-0.018277175724506378,
-0.032683368772268295,
0.012238500639796257,
-0.027953434735536575,
-0.007635376416146755,
0.048248015344142914,
0.05146165192127228,
-0.05980245769023895,
0.0312858484685421,
-0.036367062479257584,
0.049841053783893585,
0.003478309838101268,
-0.04392899200320244,
-0.0061198933981359005,
0.007408755365759134,
-0.016883548349142075,
-0.01942216046154499,
-0.03603960573673248,
0.05121315270662308,
-0.022726746276021004,
-0.016467735171318054,
0.014605741016566753,
-0.001413573045283556,
0.0020310678519308567,
0.006986125372350216,
0.024328414350748062,
0.014717692509293556,
0.00033105595503002405,
-0.016362929716706276,
0.0009283559047617018,
0.03726137802004814,
0.013726232573390007,
0.007918862625956535,
0.0024509732611477375,
-0.04497075080871582,
0.013421946205198765,
-0.031846094876527786,
-0.010447337292134762,
-0.019545629620552063,
0.017098182812333107,
0.017535671591758728,
0.016950534656643867,
0.07217751443386078,
0.05674755200743675,
-0.019816840067505836,
0.0007697563269175589,
0.01712467335164547,
-0.021458055824041367,
0.03900294750928879,
-0.027400825172662735,
0.03396359458565712,
0.010710381902754307,
0.024296989664435387,
0.0035628117620944977,
0.01742451637983322,
-0.018254749476909637,
-0.009680097922682762,
0.0066265445202589035,
-0.012984324246644974,
0.00412313686683774,
-0.0034647902939468622,
0.007503599394112825,
-0.042922861874103546,
-0.06983742117881775,
0.02459728717803955,
0.015595844015479088,
0.033171121031045914,
-0.09799784421920776,
-0.0002967794716823846,
0.045216482132673264,
0.07329215109348297,
-0.01651296205818653,
-0.02563020959496498,
0.017868870869278908,
-0.01643911562860012,
-0.027030734345316887,
-0.007061123847961426,
0.0004364110354799777,
0.03530314937233925,
0.02076723240315914,
0.015080264769494534,
0.012081079185009003,
-0.021797513589262962,
0.006057152524590492,
-0.02212047018110752,
0.021051429212093353,
0.021349996328353882,
-0.00634860759600997,
0.03499046340584755,
0.013896147720515728,
0.03894015774130821,
-0.017056496813893318,
0.03914399445056915,
0.038648441433906555,
0.010717359371483326,
0.00961574912071228,
-0.01471352856606245,
-0.0035961198154836893,
-0.01581360027194023,
-0.07018538564443588,
0.03531114012002945,
-0.024842381477355957,
0.004978158511221409,
0.027397237718105316,
0.05647533759474754,
0.00234258477576077,
0.03697223961353302,
-0.016001470386981964,
0.06084177643060684,
-0.007778491359204054,
0.015010030008852482,
0.010274089872837067,
0.01708408258855343,
0.011935652233660221,
-0.01140885055065155,
0.032614804804325104,
-0.027967102825641632,
-0.017822181805968285,
0.034610968083143234,
0.0008415853371843696,
0.04010162875056267,
-0.05194893851876259,
0.023566147312521935,
0.026467785239219666,
0.03532850742340088,
0.04807782918214798,
0.0025357005652040243,
-0.023695670068264008,
0.02682039514183998,
0.03475482389330864,
-0.013741035014390945,
0.029219213873147964,
0.03151490166783333,
0.02386600710451603,
0.02742515318095684,
0.015157140791416168,
0.01995127834379673,
0.022992370650172234,
0.031015340238809586,
-0.01928183063864708,
0.005774782970547676,
-0.05076076462864876,
-0.00979237537831068,
-0.0458744615316391,
0.003993229940533638,
0.06958945840597153,
0.03365493565797806,
-0.009546510875225067,
-0.0026754552964121103,
0.01853238232433796,
-0.020466584712266922,
0.019517505541443825,
0.0035060588270425797,
-0.006589987315237522,
0.002970760688185692,
0.035468779504299164,
0.013170825317502022,
0.033796750009059906,
-0.03315599262714386,
-0.03122285194694996,
-0.03163953125476837,
0.0057183848693966866,
0.015511526726186275,
0.06481735408306122,
-0.02027863822877407,
0.009054934605956078,
-0.0031151326838880777,
0.018549539148807526,
-0.04009862616658211,
-0.011079597286880016,
-0.01598087139427662,
0.0026116687804460526,
0.006313306745141745,
0.006886674556881189,
-0.0342450775206089,
0.03159494698047638,
0.015453496016561985,
0.005069382023066282,
-0.016665613278746605,
0.005969933234155178,
0.01893959566950798,
0.03411928191781044,
-0.011973484419286251,
-0.08339764922857285,
-0.030056895688176155,
0.023015078157186508,
-0.011751187965273857,
-0.030016686767339706,
0.029405059292912483,
-0.0054843369871377945,
-0.010943274013698101,
0.01981533132493496,
0.024618200957775116,
0.02779388427734375,
0.046433571726083755,
0.01115034706890583,
-0.023218581452965736,
0.009078684262931347,
-0.052723389118909836,
-0.015522734262049198,
-0.006867039483040571,
0.044149383902549744,
-0.004239864181727171,
-0.008436174131929874,
0.012779852375388145,
-0.008663976565003395,
-0.03615783154964447,
-0.001229052315466106,
0.05067929998040199,
0.032954439520835876,
0.0016173706389963627,
0.041662830859422684,
-0.022594066336750984,
-0.0495697446167469,
-0.012636851519346237,
-0.01966928318142891,
0.031696632504463196,
0.018717490136623383,
0.0286636333912611,
-0.0369112491607666,
0.015891730785369873,
0.0259124506264925,
-0.04218294844031334,
0.014506688341498375,
-0.0004632284399122,
0.009302265010774136,
0.016865340992808342,
0.01063844095915556,
-0.006384584587067366,
-0.07018851488828659,
0.024403618648648262,
-0.004404403734952211,
-0.023057442158460617,
0.011528507806360722,
-0.0690968856215477,
-0.013382233679294586,
0.02670426294207573,
0.007793488446623087,
0.019663700833916664,
0.013165513053536415,
-0.06376002728939056,
-0.004057849291712046,
0.032660625874996185,
0.0023160113487392664,
-0.012664418667554855,
-0.011313174851238728,
0.010182423517107964,
-0.050255659967660904,
-0.004023004788905382,
-0.005594397429376841,
-0.003753822762519121,
0.010075771249830723,
0.0027393901254981756,
0.026685841381549835,
0.020050670951604843,
-0.04286651313304901,
0.02918994426727295,
0.06007211655378342,
-0.008977940306067467,
0.029081223532557487,
0.0014709810493513942,
0.019258029758930206,
0.05198172479867935,
-0.02787773869931698,
0.011711422353982925,
-0.019731367006897926,
-0.008404739201068878,
0.024052279070019722,
0.01588994450867176,
-0.01869812421500683,
-0.02067386358976364,
-0.028958046808838844,
0.014078177511692047,
-0.021925227716565132,
0.009126379154622555,
-0.015191200189292431,
0.004242897965013981,
-0.029653996229171753,
-0.02493610791862011,
-0.03583049401640892,
-0.05266397073864937,
-0.08540882915258408,
0.040796466171741486,
-0.014122490771114826,
-0.005661429837346077,
-0.013528065755963326,
0.02849700301885605,
-0.038977112621068954,
0.011129043996334076,
-0.01807287335395813,
0.03908747807145119,
0.01320374570786953,
-0.02245907112956047,
0.02752804197371006,
-0.016885794699192047,
0.003686432493850589,
0.040049195289611816,
0.010808512568473816,
0.010083078406751156,
-0.023156417533755302,
0.0322851836681366,
-0.021013256162405014,
-0.01673799753189087,
0.001698201522231102,
0.039234649389982224,
0.014846648089587688,
-0.006601604167371988,
-0.03363049030303955,
-0.0043866331689059734,
-0.02711622603237629,
0.034207381308078766,
-0.04175737872719765,
0.0010344990296289325,
0.059059519320726395,
-0.012018287554383278,
0.01192897092550993,
-0.007115485612303019,
0.010425729677081108,
0.018620548769831657,
0.03451969102025032,
0.01911620795726776,
0.003252993803471327,
0.054964177310466766,
0.02094217762351036,
0.012676302343606949,
0.0093734385445714,
0.015393450856208801,
0.01606609858572483,
-0.06658034771680832,
0.0031185373663902283,
0.004051715135574341,
-0.009536590427160263,
0.013580232858657837,
0.0084526427090168,
-0.016422469168901443,
0.009864886291325092,
0.01307146530598402,
0.017293309792876244,
0.03275890648365021,
-0.009911566972732544,
0.04429794102907181,
-0.02880443073809147,
-0.0032297640573233366,
-0.024064019322395325,
0.05568515881896019,
-0.03189588338136673,
0.015810107812285423,
-0.02467886358499527,
-0.018861111253499985,
0.040899183601140976,
-0.0538681261241436,
-0.022367626428604126,
0.01034183893352747,
0.0395837128162384,
0.004138160962611437,
0.008366595022380352,
0.028083084151148796,
0.019829800352454185,
-0.01360301487147808,
-0.002925837878137827,
-0.0008874261402525008,
-0.04625805839896202,
0.06375870108604431,
0.052323758602142334,
0.0026716843713074923,
0.012074791826307774,
-0.028865238651633263,
0.04520029574632645,
0.06354708224534988,
0.052264824509620667,
0.01044189278036356,
0.01408857200294733,
0.04185524210333824,
0.046829041093587875,
-0.019112804904580116,
0.01559422817081213,
-0.00499235512688756,
-0.011233390308916569,
0.009642411023378372,
-0.04555482044816017,
0.014265353791415691,
-0.019150037318468094,
-0.02505384013056755,
0.0365375354886055,
0.048910293728113174,
-0.016234630718827248,
0.009572380222380161,
-0.003263665596023202,
-0.028610600158572197,
0.032503847032785416,
-0.024185461923480034,
-0.08879610151052475,
0.015739325433969498,
-0.02012079581618309,
-0.0006336004589684308,
-0.012858252041041851,
-0.027838511392474174,
-0.03938668593764305,
0.01953323557972908,
-0.01990627869963646,
-0.048417698591947556,
-0.03266293555498123,
-0.0041850535199046135,
0.031925398856401443,
-0.04085012525320053,
-0.015688104555010796,
-0.0188679751008749,
0.0024309572763741016,
-0.026440871879458427,
0.029845070093870163,
0.019255679100751877,
0.0038390483241528273,
0.004469443112611771,
0.023067351430654526,
-0.003996692132204771,
-0.05493277311325073,
-0.03969214856624603,
-0.02220560610294342,
-0.030411113053560257,
-0.06334272027015686,
0.04555127024650574,
-0.011905662715435028,
-0.01748354360461235,
0.0015022926963865757,
-0.015571069903671741,
0.02402677573263645,
-0.02860293537378311,
0.04104013741016388,
0.03290755674242973,
-0.000709719373844564,
0.02131648175418377,
-0.034816790372133255,
-0.009849978610873222,
0.012465734034776688,
0.0010402918560430408,
-0.018699435517191887,
0.03114420361816883,
-0.013158675283193588,
0.0020823802333325148,
0.04549364373087883,
0.00131825206335634,
-0.004908127710223198,
0.008637020364403725,
0.004301188979297876,
-0.03514334186911583,
-0.034416280686855316,
0.016061052680015564,
0.06514058262109756,
-0.010451778769493103,
-0.016199545934796333,
0.030702628195285797,
0.017305128276348114,
-0.0429685078561306,
-0.03199018910527229,
0.012983902357518673,
-0.001592846936546266,
0.01257102657109499,
-0.01944095268845558,
-0.08046386390924454,
-0.03399156033992767,
0.02335486188530922,
-0.0021528371144086123,
0.06289354711771011,
-0.013394415378570557,
-0.040592264384031296,
0.024411508813500404,
0.013041759841144085,
-0.033284399658441544,
-0.005560452118515968,
0.04877684637904167,
0.01335227582603693,
0.006262367591261864,
0.029829472303390503,
-0.004471128340810537,
-0.01046760194003582,
-0.019168876111507416,
0.009513181634247303,
0.033530741930007935,
0.0047224764712154865,
-0.009352336637675762,
-0.029323218390345573,
-0.015444551594555378,
0.0022928398102521896,
-0.05530056729912758,
-0.013869252987205982,
0.015631677582859993,
-0.006219600327312946,
-0.015210439451038837,
0.009199844673275948,
0.04322243109345436,
0.039778370410203934,
0.03884558379650116,
-0.03026646375656128,
0.006493896245956421,
0.003320870455354452,
0.0360974557697773,
-0.011161158792674541,
0.017865311354398727,
-0.015291155315935612,
-0.036609552800655365,
0.04645666852593422,
0.014153316617012024,
0.00944647379219532,
0.00530149694532156,
0.019595632329583168,
0.002205062424764037,
0.04076046869158745,
0.02298460341989994,
-0.0624186173081398,
0.02707478031516075,
0.013542266562581062,
0.00574659276753664,
-0.04234042391180992,
-0.02126547321677208,
0.0023697090800851583,
0.015369259752333164,
-0.012935569509863853,
-0.003294058609753847,
0.014644470997154713,
0.004182227421551943,
0.02001117169857025,
-0.057851098477840424,
0.04054320603609085,
-0.008441142737865448,
0.01867930218577385,
-0.02059108391404152,
-0.0027598959859460592
] |
Introduction to 3D Gaussian Splatting | dylanebert | September 18, 2023 | gaussian-splatting | community, guide, cv, game-dev | https://huggingface.co/blog/gaussian-splatting | # Introduction to 3D Gaussian Splatting 3D Gaussian Splatting is a rasterization technique described in 3D Gaussian Splatting for Real-Time Radiance Field Rendering that allows real-time rendering of photorealistic scenes learned from small samples of images. This article will break down how it works and what it means for the future of graphics. | [
0.013437111862003803,
-0.009793692268431187,
0.07716064900159836,
-0.035174813121557236,
0.022111061960458755,
-0.048573825508356094,
-0.047237396240234375,
0.03779786825180054,
-0.05367143452167511,
-0.019265251234173775,
-0.128879576921463,
-0.02888166345655918,
0.008640549145638943,
0.08216434717178345,
0.014587191864848137,
0.06227615103125572,
0.011662917211651802,
-0.06349233537912369,
0.006942045874893665,
0.028255173936486244,
-0.044176094233989716,
-0.049539219588041306,
0.025078076869249344,
-0.021536128595471382,
0.034299541264772415,
-0.0025550671853125095,
0.025288449600338936,
0.07233932614326477,
-0.021822966635227203,
0.0001232640934176743,
-0.12112037092447281,
0.00815002154558897,
0.0009941402822732925,
-0.07604631036520004,
-0.03404238075017929,
-0.05773363634943962,
-0.06059528514742851,
0.03416570648550987,
-0.04077626019716263,
-0.07355165481567383,
0.040498312562704086,
-0.03838116675615311,
-0.0390142947435379,
0.012382099404931068,
-0.03786202520132065,
-0.10139596462249756,
-0.10189799219369888,
0.11223872750997543,
-0.09246384352445602,
-0.14091704785823822,
-0.020760102197527885,
0.0899241641163826,
-0.07751397043466568,
-0.001588712795637548,
0.0068410602398216724,
0.06495411694049835,
0.012132120318710804,
-0.009496407583355904,
0.07123442739248276,
-0.014792963862419128,
0.03904234245419502,
-0.05490383505821228,
-0.00005751453136326745,
0.05304908752441406,
-0.01881556212902069,
0.022952724248170853,
0.04560897871851921,
-0.01294360589236021,
0.004308653064072132,
-0.017046017572283745,
0.03405313938856125,
0.028010400012135506,
0.03981884941458702,
0.0300004743039608,
0.009352602995932102,
0.014073784463107586,
0.015698691830039024,
0.010108166374266148,
0.05883811041712761,
-0.013337487354874611,
0.012188357301056385,
-0.02955585904419422,
-0.0007418818422593176,
-0.005529043264687061,
-0.03362234681844711,
-0.05354781821370125,
0.041362110525369644,
0.027107227593660355,
0.024082552641630173,
0.028451064601540565,
0.016899993643164635,
-0.10337658226490021,
-0.019014066085219383,
0.019288739189505577,
0.003538115881383419,
-0.03773683309555054,
0.0008196025737561285,
-0.03552371263504028,
-0.026998676359653473,
0.013169354759156704,
0.014083195477724075,
-0.006098743993788958,
0.02472095936536789,
0.033023130148649216,
-0.08877258747816086,
0.01992941088974476,
-0.0030649821273982525,
-0.03474915400147438,
-0.013956489972770214,
0.041832469403743744,
-0.03117615170776844,
0.10143988579511642,
0.0790221095085144,
-0.003620624076575041,
-0.07314302772283554,
-0.021937161684036255,
0.08835026621818542,
0.08848605304956436,
0.0012855808017775416,
0.02318345382809639,
0.010492390021681786,
0.04185593128204346,
0.08155958354473114,
0.026845423504710197,
-0.07267835736274719,
0.03888331353664398,
0.028607899323105812,
0.0011196781415492296,
-0.06027526780962944,
-0.014601759612560272,
0.028769543394446373,
0.04973983019590378,
0.010352538898587227,
0.025209655985236168,
0.03606412932276726,
-0.0635429322719574,
0.019093288108706474,
0.0051008062437176704,
0.016777560114860535,
0.07236024737358093,
0.03871883451938629,
-0.07015076279640198,
0.041180748492479324,
-0.02213987708091736,
-0.039348404854536057,
-0.12147321552038193,
-0.018639344722032547,
-0.007494904566556215,
0.02455385960638523,
-0.026443468406796455,
-0.06643703579902649,
0.05694012716412544,
-0.0808446928858757,
-0.03425641730427742,
-0.035240110009908676,
0.05563390627503395,
0.022566545754671097,
-0.05226701870560646,
-0.08118463307619095,
0.027381129562854767,
0.02876104786992073,
0.03409881144762039,
-0.029553169384598732,
0.04287353903055191,
0.028575515374541283,
-0.02667856402695179,
-0.02252655290067196,
0.02399483136832714,
0.04137396812438965,
-0.009412487037479877,
-0.013482531532645226,
0.016290776431560516,
0.028476200997829437,
0.033349670469760895,
0.07469620555639267,
-0.013602925464510918,
0.050947997719049454,
0.06619437038898468,
0.030677394941449165,
0.002863451838493347,
-0.0030744567047804594,
-0.032133761793375015,
-0.039451006799936295,
0.022111495956778526,
-0.09202931076288223,
-0.07723648846149445,
0.02608502469956875,
-0.027880992740392685,
0.057806313037872314,
0.061711378395557404,
-0.11616098880767822,
-0.02092333696782589,
-0.008462432771921158,
-0.05860137939453125,
-0.05089132487773895,
-0.012201886624097824,
-0.055738553404808044,
0.0026227892376482487,
0.08704452961683273,
0.004421825986355543,
-0.0290050245821476,
0.000967210391536355,
-0.0853630006313324,
0.0005671933176927269,
-0.012135107070207596,
-0.04056638479232788,
0.075888492166996,
0.08606857061386108,
0.07662588357925415,
0.00900555495172739,
0.006084922235459089,
-0.0752210021018982,
0.029524313285946846,
0.045822352170944214,
0.030895620584487915,
0.026236221194267273,
-0.10112183541059494,
0.07875502854585648,
-0.020323986187577248,
-0.05093179643154144,
0.04747533053159714,
0.017439795657992363,
0.015867184847593307,
0.049965448677539825,
-0.024264145642518997,
-0.015235399827361107,
0.07415684312582016,
0.020024780184030533,
0.05179302766919136,
-0.06977725028991699,
-0.01384331937879324,
0.0032169341575354338,
0.04709585756063461,
-0.020472107455134392,
0.007784991525113583,
-0.009860562160611153,
0.03002893552184105,
0.025951392948627472,
0.030524469912052155,
-0.06402230262756348,
-0.013655290007591248,
-0.010670696385204792,
0.002740562427788973,
-0.03011166676878929,
-0.04314204305410385,
0.008309555239975452,
0.04370434954762459,
-0.017934352159500122,
-0.019648592919111252,
0.006332505028694868,
-0.03348451107740402,
0.005396729335188866,
-0.027706829831004143,
-0.016180604696273804,
0.0671297162771225,
0.009881345555186272,
0.014614601619541645,
-0.030020009726285934,
-0.03044482134282589,
0.03422605246305466,
0.00556413596495986,
-0.03545808047056198,
0.027814924716949463,
-0.04733247309923172,
-0.023546215146780014,
0.007668889593333006,
0.032442349940538406,
0.032407019287347794,
0.005343601573258638,
0.021164152771234512,
0.027836713939905167,
-0.0021118263248354197,
0.022668996825814247,
-0.0378781333565712,
-0.01275872066617012,
-0.021852998062968254,
-0.001519014942459762,
-0.03875825181603432,
0.008197657763957977,
-0.024332229048013687,
-0.00225091096945107,
0.0020186586771160364,
0.021761659532785416,
0.0062826997600495815,
0.007846961729228497,
-0.009748726151883602,
0.004043421242386103,
0.00814439170062542,
-0.024211496114730835,
-0.022176267579197884,
-0.0337713398039341,
0.02768056094646454,
0.013875747099518776,
0.0552079938352108,
-0.003285513026639819,
0.029859649017453194,
-0.050766199827194214,
-0.009192833676934242,
-0.020548926666378975,
-0.02112441696226597,
0.032410718500614166,
-0.007730658631771803,
-0.04408863186836243,
-0.009736083447933197,
-0.04804899916052818,
0.016761336475610733,
-0.009164911694824696,
0.0736892968416214,
-0.09089981019496918,
-0.029056677594780922,
0.037044379860162735,
0.026508569717407227,
0.007976287975907326,
-0.01546679250895977,
0.026399344205856323,
-0.01633772999048233,
-0.006431244779378176,
-0.01588238589465618,
0.02088039182126522,
-0.016181010752916336,
0.03340904414653778,
0.004055640660226345,
0.04579062759876251,
-0.011898067779839039,
0.04887637495994568,
-0.0013312204973772168,
0.0008729831897653639,
0.0008756281458772719,
-0.01561668235808611,
0.012112356722354889,
0.028777392581105232,
-0.0034212409518659115,
-0.011071284301578999,
0.011944623664021492,
0.008196728304028511,
-0.03152114897966385,
0.007811462972313166,
0.02994798868894577,
0.003983101807534695,
-0.01939011923968792,
-0.03595174476504326,
0.07000629603862762,
-0.00972138810902834,
0.018904510885477066,
-0.02454225718975067,
0.01313797477632761,
0.02559497393667698,
0.0024754409678280354,
0.007465873379260302,
0.005318063776940107,
-0.036045659333467484,
0.005502114538103342,
0.03418378531932831,
-0.05419453978538513,
0.02538328804075718,
0.037322983145713806,
-0.023138180375099182,
-0.019364088773727417,
0.018694212660193443,
0.01013223361223936,
0.01576261781156063,
0.01801106706261635,
-0.03387557342648506,
0.01609412394464016,
0.01671932078897953,
0.022103365510702133,
0.04172547534108162,
-0.033346157521009445,
-0.008687019348144531,
0.019847262650728226,
0.022939259186387062,
0.027289271354675293,
0.015463029034435749,
-0.020692728459835052,
0.01759985461831093,
0.0028123173397034407,
0.023986993357539177,
0.04011877626180649,
0.020641447976231575,
0.005467189475893974,
-0.028724651783704758,
0.0047178673557937145,
-0.037786778062582016,
0.02015596814453602,
0.007324492558836937,
-0.01830757036805153,
0.07119740545749664,
-0.005343024618923664,
-0.01719515584409237,
-0.018476543948054314,
0.07022052258253098,
0.009209142997860909,
0.0042005497962236404,
-0.009025350213050842,
-0.012415811419487,
-0.003403391921892762,
0.025882096961140633,
0.011698361486196518,
0.04991668090224266,
-0.010505914688110352,
0.022445552051067352,
-0.04332606494426727,
0.01588166505098343,
0.0364876426756382,
-0.00351404189132154,
0.0022241580300033092,
0.04361625388264656,
-0.0365731306374073,
0.02761358767747879,
-0.04439900070428848,
0.016081281006336212,
-0.024404039606451988,
-0.004727879539132118,
0.011506153270602226,
-0.006923340260982513,
-0.016362767666578293,
0.04161945730447769,
-0.00018410063057672232,
-0.007583401631563902,
-0.014959443360567093,
0.048303499817848206,
0.03704046458005905,
0.016155777499079704,
-0.05265350639820099,
-0.04138116538524628,
-0.014882664196193218,
-0.00095089350361377,
0.013859492726624012,
-0.015065869316458702,
0.013103513978421688,
-0.02219443768262863,
0.017937129363417625,
0.019829167053103447,
-0.00568725261837244,
-0.01706988364458084,
0.029581166803836823,
-0.02939138188958168,
0.017416471615433693,
0.03639611601829529,
0.021878305822610855,
0.0027592668775469065,
0.012528465129435062,
0.026779046282172203,
-0.027860455214977264,
0.010758521966636181,
-0.01714424602687359,
0.001687280018813908,
-0.05307808145880699,
0.014445636421442032,
0.02029603347182274,
-0.007782721891999245,
0.016203569248318672,
0.01713733933866024,
-0.029583817347884178,
-0.0010117556666955352,
0.03011441044509411,
-0.022192170843482018,
0.029654938727617264,
0.021025927737355232,
0.020877469331026077,
-0.012133927084505558,
0.002169640501961112,
0.016510559245944023,
0.013810794800519943,
0.003248593071475625,
-0.010514294728636742,
-0.017605338245630264,
-0.027636142447590828,
0.04567282274365425,
-0.005948333069682121,
-0.04316481202840805,
-0.009592864662408829,
-0.0011720210313796997,
-0.019098563119769096,
0.0167437344789505,
-0.016451945528388023,
0.014030145481228828,
0.05122103542089462,
-0.01816319301724434,
0.05451445281505585,
0.0022102489601820707,
-0.007931630127131939,
-0.03157491609454155,
0.007849556393921375,
0.008812632411718369,
-0.022387361153960228,
0.04650887846946716,
-0.006670047529041767,
-0.02245183289051056,
0.02895006164908409,
-0.013991832733154297,
-0.013730635866522789,
0.027780815958976746,
0.04876019433140755,
0.006730515509843826,
0.002259089844301343,
-0.017364127561450005,
-0.0047418843023478985,
0.06886991113424301,
0.014260198920965195,
0.028020506724715233,
-0.03558947518467903,
0.020063351839780807,
0.04127217456698418,
-0.07168538868427277,
-0.03342195600271225,
-0.04244299232959747,
0.009931418113410473,
0.026659833267331123,
0.046421777456998825,
-0.049713607877492905,
-0.0013622184051200747,
-0.01925620809197426,
-0.03410131856799126,
0.02125331200659275,
0.02924942970275879,
-0.04202805086970329,
0.0009019433055073023,
-0.025682607665657997,
-0.005745548754930496,
-0.035593632608652115,
-0.03611151501536369,
-0.0555194690823555,
0.03384125977754593,
0.004695563111454248,
-0.01818111538887024,
-0.016874322667717934,
0.0468011237680912,
-0.00817189458757639,
0.017603285610675812,
0.020494144409894943,
0.0017654811963438988,
-0.02221519500017166,
-0.01671583019196987,
0.04637812077999115,
-0.0004884130321443081,
-0.026388883590698242,
0.06303583085536957,
0.03541194647550583,
0.05548936128616333,
-0.007280862424522638,
-0.0012818357208743691,
0.020507197827100754,
0.015730490908026695,
-0.051232870668172836,
0.05480942875146866,
0.023890821263194084,
-0.029487529769539833,
-0.017217859625816345,
-0.03912084177136421,
-0.03128452226519585,
0.03959780931472778,
0.014324021525681019,
-0.06405390799045563,
0.02509528584778309,
-0.020586272701621056,
-0.03523905202746391,
0.004393070470541716,
-0.017345458269119263,
-0.008007889613509178,
-0.0014466780703514814,
-0.04809654504060745,
-0.009040105156600475,
0.03713081032037735,
0.06423047184944153,
0.024560971185564995,
0.024516690522432327,
-0.019677316769957542,
0.03797050938010216,
-0.014092789962887764,
0.02017844468355179,
-0.009629853069782257,
0.014310890808701515,
0.01415348332375288,
0.045812446624040604,
-0.009114130400121212,
-0.037040162831544876,
0.0423574224114418,
0.030776722356677055,
0.026835838332772255,
-0.03603863716125488,
0.023658577352762222,
-0.005090360529720783,
0.001222005463205278,
-0.03196512162685394,
0.03404795750975609,
-0.007496760692447424,
0.026962248608469963,
-0.001683794311247766,
0.009616566821932793,
0.030847182497382164,
-0.022000443190336227,
0.0018636691384017467,
0.0066152820363640785,
0.05178378149867058,
0.0036904592998325825,
0.028297409415245056,
-0.002869818126782775,
-0.007972787134349346,
-0.0247210543602705,
0.0015829125186428428,
-0.01305275596678257,
-0.024291256442666054,
0.007431122474372387,
0.048159368336200714,
0.004961319267749786,
-0.0075176008976995945,
-0.04475509375333786,
0.05779246240854263,
0.043133899569511414,
0.06643453985452652,
-0.0389498807489872,
0.0029258986469358206,
-0.033119913190603256,
0.04330703243613243,
-0.025572925806045532,
-0.005802710074931383,
0.0005544388550333679,
0.016842104494571686,
0.04299842566251755,
-0.04502995312213898,
-0.011409618891775608,
0.0049845073372125626,
0.055214591324329376,
0.05221512168645859,
-0.021676860749721527,
-0.009125962853431702,
-0.0343354307115078,
-0.01599099673330784,
-0.010356592945754528,
0.01909516006708145,
-0.056327544152736664,
-0.06492168456315994,
-0.02197064831852913,
0.05249549075961113,
-0.018858296796679497,
0.015484373085200787,
-0.009371834807097912,
-0.005692393984645605,
0.006836009211838245,
0.0054502771236002445,
0.02863483875989914,
-0.018024537712335587,
-0.016579309478402138,
-0.007541208993643522,
-0.013035752810537815,
-0.031329188495874405,
-0.022673146799206734,
-0.028065426275134087,
0.04547356814146042,
0.0551602728664875,
0.0200019683688879,
0.016752777621150017,
-0.0183346476405859,
0.04351044446229935,
-0.0009246541885659099,
-0.08857212960720062,
0.004227641969919205,
0.016921071335673332,
-0.0018137963488698006,
-0.03244185447692871,
0.019434774294495583,
-0.041603147983551025,
-0.06447574496269226,
0.045098960399627686,
-0.040957190096378326,
0.020934995263814926,
-0.013961111195385456,
0.07378017902374268,
0.004088542889803648,
0.01696000248193741,
0.021626045927405357,
-0.028335055336356163,
-0.02343815192580223,
-0.04303456097841263,
0.00049512495752424,
-0.011603002436459064,
0.00920850969851017,
-0.02625814639031887,
0.024128051474690437,
0.01115579903125763,
0.032087504863739014,
-0.034152936190366745,
0.008380831219255924,
0.06065439432859421,
-0.01672554947435856,
-0.006788842845708132,
0.008937092497944832,
-0.0029015319887548685,
-0.023165075108408928,
-0.034552086144685745,
0.02654806151986122,
0.03088613972067833,
0.000397270341636613,
-0.00027863748255185783,
0.015124062076210976,
-0.012865214608609676,
0.005905867088586092,
0.017621519044041634,
-0.051266130059957504,
-0.08240961283445358,
-0.025667766109108925,
-0.01052062213420868,
0.06544212996959686,
-0.01929069124162197,
0.02405596524477005,
0.047365702688694,
-0.021529117599129677,
-0.02300053834915161,
-0.0001542725949548185,
0.005883720703423023,
-0.04272681474685669,
-0.035276059061288834,
-0.015177298337221146,
0.02237926982343197,
0.0135114174336195,
-0.04994820058345795,
-0.0012415378587320447,
0.006492301356047392,
0.019182052463293076,
0.017395522445440292,
-0.04289603605866432,
0.050762709230184555,
-0.052895281463861465,
-0.03398088738322258,
0.042407337576150894,
0.061172958463430405,
-0.004956839606165886,
0.004845788702368736,
0.008730356581509113,
0.02853347733616829,
0.005754852667450905,
0.04688967764377594,
-0.051719557493925095,
0.029922829940915108,
-0.021190814673900604,
0.008186225779354572,
-0.011021237820386887,
0.003998203668743372,
0.014366096816956997,
-0.014096719212830067,
0.03563812002539635,
-0.012244224548339844,
0.044800858944654465,
-0.0379844531416893,
0.04404619336128235,
0.04388099163770676,
0.009461584500968456,
-0.03760221600532532,
-0.058410681784152985,
0.04066518321633339,
0.006737446878105402,
0.012035110965371132,
-0.033109504729509354,
-0.002873395336791873,
-0.012669106014072895,
-0.0077117024920880795,
0.009936871007084846,
-0.001444932189770043,
0.001098341541364789,
-0.037866417318582535,
0.0339830256998539,
-0.004517607390880585,
0.05043858662247658,
0.011373667046427727,
0.02954082377254963,
-0.005014769267290831,
0.017280923202633858
] |
Introduction to 3D Gaussian Splatting | dylanebert | September 18, 2023 | gaussian-splatting | community, guide, cv, game-dev | https://huggingface.co/blog/gaussian-splatting | The future of graphics So what does this mean for the future of graphics? Well, let's break it up into pros/cons: Pros 1. High-quality, photorealistic scenes 2. Fast, real-time rasterization 3. Relatively fast to train Cons 1. High VRAM usage (4GB to view, 12GB to train) 2. Large disk size (1GB+ for a scene) 3. Incompatible with existing rendering pipelines 3. Static (for now) So far, the original CUDA implementation has not been adapted to production rendering pipelines, like Vulkan, DirectX, WebGPU, etc, so it's yet to be seen what the impact will be. There have already been the following adaptations: 1. Remote viewer 2. WebGPU viewer 3. WebGL viewer 4. Unity viewer 5. Optimized WebGL viewer These rely either on remote streaming (1) or a traditional quad-based rasterization approach (2-5). While a quad-based approach is compatible with decades of graphics technologies, it may result in lower quality/performance. However, viewer #5 demonstrates that optimization tricks can result in high quality/performance, despite a quad-based approach. So will we see 3D Gaussian Splatting fully reimplemented in a production environment? The answer is probably yes. The primary bottleneck is sorting millions of gaussians, which is done efficiently in the original implementation using CUB device radix sort, a highly optimized sort only available in CUDA. However, with enough effort, it's certainly possible to achieve this level of performance in other rendering pipelines. If you have any questions or would like to get involved, join the Hugging Face Discord! | [
0.032161496579647064,
0.011406047269701958,
0.07003140449523926,
0.028310982510447502,
-0.009338137693703175,
-0.047915928065776825,
-0.03835175558924675,
0.05754628777503967,
-0.016256213188171387,
-0.09309110045433044,
-0.035990189760923386,
0.013121040537953377,
-0.043095070868730545,
0.08409779518842697,
0.06614308804273605,
0.007077247370034456,
0.0116162383928895,
-0.059570491313934326,
-0.008736621588468552,
0.013567851856350899,
-0.055939678102731705,
-0.03848744556307793,
0.026602022349834442,
0.009561223909258842,
-0.0689304918050766,
-0.021086519584059715,
0.01172811072319746,
0.03840792551636696,
-0.041004594415426254,
-0.0700761154294014,
-0.1512281447649002,
-0.01820782572031021,
-0.030337009578943253,
-0.04459919035434723,
-0.03424349054694176,
-0.0029480038210749626,
-0.05435037985444069,
0.08913029730319977,
0.042245253920555115,
0.0014682570472359657,
0.04417034983634949,
-0.020873073488473892,
-0.027607079595327377,
0.023416833952069283,
-0.009090428240597248,
-0.05432417616248131,
-0.11835092306137085,
0.13849897682666779,
-0.05872783437371254,
-0.039189066737890244,
-0.08888642489910126,
0.06597838550806046,
-0.03466152027249336,
0.010019319131970406,
0.00733999302610755,
0.03258129581809044,
0.04285454377532005,
0.007922773249447346,
-0.0002021283726207912,
0.04185882955789566,
0.05789923295378685,
-0.0075292098335921764,
-0.008372291922569275,
0.05853509157896042,
-0.054757390171289444,
-0.03681562840938568,
0.00978028029203415,
-0.032792698591947556,
-0.06520504504442215,
-0.01744115725159645,
0.025204529985785484,
-0.004038369748741388,
0.026025298982858658,
-0.01715649850666523,
-0.0139852836728096,
0.012759550474584103,
-0.02303512766957283,
0.05012122169137001,
0.049502041190862656,
-0.02033209055662155,
0.022624168545007706,
0.018208477646112442,
0.02873370423913002,
-0.003556004026904702,
0.019526885822415352,
-0.012450412847101688,
0.056007370352745056,
-0.013100538402795792,
-0.04229038208723068,
0.1114523857831955,
0.0032550578471273184,
-0.09051623940467834,
0.019033661112189293,
-0.020078998059034348,
0.023664498701691628,
-0.014280600473284721,
-0.012970246374607086,
-0.03304875269532204,
-0.007401712238788605,
0.03632320463657379,
0.06033600866794586,
-0.06140733137726784,
0.0224386528134346,
-0.03935687988996506,
-0.029700901359319687,
0.035560492426157,
-0.056438807398080826,
-0.10142739862203598,
0.024578388780355453,
0.09901256859302521,
-0.018197720870375633,
0.06112794205546379,
0.07827476412057877,
0.016379855573177338,
-0.02669491432607174,
-0.0033706503454595804,
-0.014903126284480095,
-0.02878369577229023,
-0.021430237218737602,
0.023177357390522957,
0.009378076530992985,
0.012868845835328102,
0.04366792365908623,
0.04348304122686386,
-0.07535798102617264,
0.06835836917161942,
0.05216203257441521,
0.0068672774359583855,
-0.010655010119080544,
-0.07352736592292786,
0.03769997879862785,
0.03221666067838669,
0.019745616242289543,
0.003961874172091484,
0.010998832061886787,
-0.07676108181476593,
-0.0665971040725708,
-0.06938379257917404,
0.009948228485882282,
-0.05527501925826073,
-0.02902905084192753,
-0.007900344207882881,
0.033905770629644394,
0.030770378187298775,
0.014936202205717564,
-0.0816841572523117,
-0.042416080832481384,
0.01164519228041172,
-0.03041626326739788,
-0.05910799279808998,
-0.1116473600268364,
0.054949719458818436,
-0.0727398544549942,
-0.10724799335002899,
-0.03611687198281288,
0.09013461321592331,
-0.0293499156832695,
-0.015606410801410675,
-0.07723279297351837,
0.0002574611862655729,
-0.02443186566233635,
0.017419680953025818,
-0.019725078716874123,
-0.053774163126945496,
0.0014887683792039752,
-0.0008864444680511951,
-0.03866095095872879,
0.008446828462183475,
-0.011595462448894978,
0.00167850183788687,
-0.025953687727451324,
0.013853841461241245,
0.0075495680794119835,
-0.06748217344284058,
-0.0023463864345103502,
0.03377581015229225,
0.08513599634170532,
0.04529350623488426,
-0.04012906923890114,
-0.045894235372543335,
-0.007347802631556988,
-0.005240069702267647,
0.01551053486764431,
0.07383467257022858,
-0.03851037845015526,
-0.1330493837594986,
0.03596849367022514,
-0.06066535413265228,
0.00222731102257967,
0.03250040113925934,
-0.09460613876581192,
-0.02509690448641777,
0.042513903230428696,
-0.04152941331267357,
0.021198783069849014,
0.03101271577179432,
-0.07702937722206116,
0.026557834818959236,
0.05441584438085556,
0.05399370193481445,
0.03161955624818802,
0.015399022027850151,
0.023052357137203217,
-0.05301089957356453,
-0.0491829589009285,
-0.032366108149290085,
0.03866179659962654,
0.06186877563595772,
0.009650331921875477,
-0.001640113303437829,
0.028163975104689598,
-0.11105046421289444,
0.0411001518368721,
0.0006560542969964445,
0.00898017268627882,
0.01127430610358715,
-0.05840340256690979,
0.0019143021199852228,
-0.02687162160873413,
-0.04399462416768074,
0.10197609663009644,
-0.028220413252711296,
-0.05067688971757889,
0.03183569014072418,
-0.03520561382174492,
0.06132582202553749,
0.057961829006671906,
0.050262611359357834,
0.02759135141968727,
-0.07190237194299698,
-0.0535883791744709,
0.0017803837545216084,
-0.00783892348408699,
-0.01356637105345726,
0.008972023613750935,
0.015662169083952904,
0.005516900680959225,
0.0210126880556345,
0.05131649225950241,
-0.008276913315057755,
-0.023170216009020805,
-0.02558124251663685,
0.07277540117502213,
0.007670888677239418,
0.004547344520688057,
-0.05107705295085907,
0.09065042436122894,
0.004479116760194302,
-0.032701276242733,
-0.0719231516122818,
-0.04337204620242119,
0.07070814073085785,
-0.07084742188453674,
0.02729438804090023,
0.06412451714277267,
0.047209374606609344,
-0.017053743824362755,
-0.06419346481561661,
0.007311590481549501,
0.06784848123788834,
0.02007179893553257,
-0.061453286558389664,
0.02791273221373558,
-0.0685252919793129,
-0.00874734204262495,
-0.014199941419064999,
0.026758847758173943,
-0.028234947472810745,
-0.019196461886167526,
-0.0014116184320300817,
0.023462416604161263,
-0.03475896641612053,
0.0508745051920414,
-0.05032109096646309,
-0.005528433248400688,
0.022421589121222496,
0.0365944541990757,
0.01845826581120491,
0.03398547321557999,
0.015729935839772224,
0.008547541685402393,
-0.02355693280696869,
0.058371830731630325,
0.03259727731347084,
-0.013765435665845871,
0.028247317299246788,
0.028399862349033356,
0.017104698345065117,
-0.04094979539513588,
0.05014585331082344,
0.027814650908112526,
0.024229828268289566,
-0.021314440295100212,
-0.0175243578851223,
-0.025245212018489838,
0.005295861046761274,
0.012374472804367542,
-0.046395208686590195,
-0.01092821080237627,
0.006604582071304321,
-0.024218663573265076,
-0.023511849343776703,
-0.043451547622680664,
-0.028970511630177498,
-0.04809384047985077,
0.027558572590351105,
0.030560150742530823,
0.029286447912454605,
-0.10201720893383026,
-0.027729054912924767,
0.006676921620965004,
0.036492861807346344,
-0.0384819358587265,
0.00019666443404275924,
0.007876813411712646,
0.014512351714074612,
0.010835839435458183,
-0.0040047080256044865,
0.011575615964829922,
0.029773136600852013,
-0.005215677432715893,
0.020599886775016785,
0.033910222351551056,
0.008214423432946205,
0.06406451761722565,
0.01066769938915968,
-0.004140242002904415,
0.033743180334568024,
0.0034577883780002594,
0.034845415502786636,
0.004974930547177792,
-0.005553138442337513,
-0.03285479545593262,
-0.008429020643234253,
0.05203525349497795,
0.0031576156616210938,
0.0482838936150074,
-0.008610820397734642,
-0.029397709295153618,
-0.022627735510468483,
0.03180200234055519,
0.05729052051901817,
-0.03498251736164093,
0.018057994544506073,
0.005684869829565287,
-0.008830100297927856,
0.0029565277509391308,
0.0510997548699379,
-0.0036805446725338697,
-0.0017645565094426274,
0.0010639254469424486,
-0.026635270565748215,
0.04085250571370125,
-0.017961932346224785,
0.024329420179128647,
0.02103394642472267,
0.04961979016661644,
-0.02998826839029789,
-0.004744811914861202,
0.008170468732714653,
0.03649815171957016,
0.04244942218065262,
-0.02040736749768257,
0.014482468366622925,
-0.018340887501835823,
0.038955558091402054,
-0.017816074192523956,
-0.027925152331590652,
0.0008452818728983402,
-0.013361796736717224,
0.028343789279460907,
-0.000672372814733535,
-0.016194794327020645,
0.020553048700094223,
-0.02226986363530159,
-0.04479122534394264,
-0.004913315176963806,
0.03349687159061432,
-0.00854572281241417,
0.04208355024456978,
0.0065689305774867535,
0.017173299565911293,
-0.002728639170527458,
0.05216607451438904,
0.02543879859149456,
-0.029255708679556847,
0.05227575823664665,
0.04776717722415924,
-0.006855351850390434,
-0.07373856008052826,
-0.009006642736494541,
-0.0022972908336669207,
0.0093629015609622,
-0.010154200717806816,
0.03049769066274166,
-0.007599175442010164,
0.026731567457318306,
0.019049538299441338,
0.05222906917333603,
-0.05387238785624504,
0.01674308069050312,
-0.024751504883170128,
0.024437351152300835,
-0.017863735556602478,
0.06175181269645691,
-0.0016321614384651184,
0.01060538925230503,
-0.009223784320056438,
0.06711487472057343,
-0.007147836033254862,
0.010065598413348198,
0.033453237265348434,
-0.005565286614000797,
0.07021685689687729,
0.0019839664455503225,
-0.008331471122801304,
0.017710812389850616,
0.05598003789782524,
0.012794340960681438,
-0.029962768778204918,
0.02288421243429184,
0.00861327163875103,
0.07649651914834976,
0.012645800597965717,
-0.027279818430542946,
0.026135561987757683,
-0.028390774503350258,
0.030355114489793777,
-0.008471339009702206,
0.003343273187056184,
-0.013382202945649624,
-0.027501940727233887,
0.0359029620885849,
0.03214496001601219,
0.028658835217356682,
0.01961587555706501,
-0.00679032364860177,
-0.024307694286108017,
-0.008326591923832893,
-0.013703695498406887,
0.02267838828265667,
0.020978553220629692,
0.043805718421936035,
0.011323757469654083,
-0.02134835720062256,
0.011220691725611687,
-0.007099682465195656,
-0.02879161760210991,
-0.013998802751302719,
0.02126997709274292,
0.00843493640422821,
0.021367566660046577,
0.028682662174105644,
0.034873392432928085,
-0.0330352783203125,
0.037413936108350754,
-0.023974834010004997,
0.029887180775403976,
0.03858610615134239,
-0.010062778368592262,
-0.031570252031087875,
0.028381887823343277,
0.024264732375741005,
-0.004024949856102467,
-0.01732531003654003,
-0.01683179661631584,
-0.004862318281084299,
0.002617443911731243,
0.03815176710486412,
0.030726462602615356,
-0.0006388478213921189,
0.014368808828294277,
-0.0008091367781162262,
0.020213577896356583,
0.05490834265947342,
-0.04995107278227806,
-0.015619269572198391,
-0.0087090153247118,
0.030250897631049156,
0.06447918713092804,
-0.01961989514529705,
-0.026452019810676575,
-0.00695466436445713,
0.0009303028928115964,
0.025754088535904884,
0.01660272106528282,
0.032332710921764374,
-0.005716715473681688,
-0.009755054488778114,
0.004501020070165396,
0.02618515118956566,
-0.03945271298289299,
-0.016607560217380524,
0.04051140323281288,
0.014933520928025246,
0.09047595411539078,
0.02193244732916355,
-0.005914146546274424,
0.0614423044025898,
-0.010199794545769691,
0.01984834298491478,
-0.046610187739133835,
0.053410787135362625,
-0.010670355521142483,
-0.009706450626254082,
-0.012690192088484764,
-0.01857041008770466,
-0.014683826826512814,
0.05873415619134903,
0.03194436430931091,
-0.01962210424244404,
0.014017287641763687,
-0.005648121237754822,
0.007929627783596516,
0.021914122626185417,
0.011313286609947681,
-0.006788748782128096,
-0.03203441575169563,
0.03391297906637192,
0.014971509575843811,
-0.04927130788564682,
-0.012122301384806633,
0.024734366685152054,
0.009232956916093826,
-0.03291953355073929,
0.016071803867816925,
-0.0024368143640458584,
0.04819435626268387,
-0.0054352013394236565,
-0.0010869706748053432,
0.0003730012977030128,
0.021979892626404762,
-0.02584579959511757,
0.019717423245310783,
-0.012608708813786507,
-0.009329686872661114,
-0.049931466579437256,
0.061248164623975754,
0.05022670701146126,
-0.002118341624736786,
0.003975908271968365,
0.02749823033809662,
0.013552851974964142,
0.026606306433677673,
-0.019956354051828384,
0.06688418239355087,
0.011532139964401722,
-0.02760847471654415,
-0.02707696333527565,
-0.03776804357767105,
-0.019385842606425285,
0.025753263384103775,
-0.023067710921168327,
-0.045139845460653305,
0.041900016367435455,
-0.014002169482409954,
-0.03409036248922348,
-0.0029914816841483116,
0.02745489403605461,
-0.022517655044794083,
-0.007132002152502537,
-0.01921064592897892,
0.047581419348716736,
-0.007052907254546881,
0.0339684784412384,
0.019587814807891846,
0.0023172260262072086,
-0.005813853815197945,
-0.0018506082706153393,
-0.057213861495256424,
-0.021695557981729507,
-0.023427506908774376,
0.015673145651817322,
0.03765350580215454,
0.028093982487916946,
-0.0342949777841568,
-0.02211722917854786,
0.019878365099430084,
0.0015243298839777708,
0.010223490186035633,
-0.0020679535809904337,
0.021835122257471085,
-0.056893203407526016,
-0.061504196375608444,
0.007884947583079338,
0.014596064575016499,
-0.016198815777897835,
0.026718368753790855,
0.036400165408849716,
0.02005174569785595,
0.025797616690397263,
-0.019854683429002762,
0.007812551222741604,
0.008538938127458096,
0.04143005982041359,
-0.011638856492936611,
0.00836613867431879,
0.04029538854956627,
-0.007269065827131271,
0.00414756266400218,
0.05292099714279175,
-0.0013881722697988153,
-0.05520844832062721,
-0.027645720168948174,
0.02672366239130497,
0.0050620995461940765,
0.01190202310681343,
-0.06448838859796524,
0.06236617639660835,
0.043330490589141846,
0.04185079410672188,
0.0018904382595792413,
0.009115302935242653,
-0.03153005987405777,
0.02697458118200302,
0.001701941597275436,
0.0070090023800730705,
0.02892492525279522,
0.014119526371359825,
0.012603805400431156,
-0.005293670576065779,
0.0028837518766522408,
0.015346569940447807,
0.01750245690345764,
0.041911523789167404,
0.026236919686198235,
-0.0010053057922050357,
-0.018033642321825027,
-0.01818191446363926,
0.000024190894691855647,
0.016313131898641586,
-0.01740380749106407,
-0.013196513056755066,
-0.0022329636849462986,
0.01937892846763134,
0.022886425256729126,
-0.0021315556950867176,
-0.016763998195528984,
-0.020866526290774345,
0.01605422981083393,
0.004395732656121254,
0.0049839564599096775,
-0.0033104666508734226,
-0.033798687160015106,
0.003420310327783227,
0.04674329236149788,
-0.012533961795270443,
-0.05244341865181923,
0.0263521708548069,
0.030914032831788063,
-0.01355829555541277,
0.006828296929597855,
0.0032082791440188885,
-0.005202924367040396,
0.01687183976173401,
-0.026976464316248894,
-0.01632659323513508,
-0.007862242870032787,
0.01740998402237892,
-0.008393173106014729,
-0.04080892726778984,
0.06224263459444046,
-0.033339109271764755,
-0.03080679476261139,
0.010426168330013752,
-0.02055693045258522,
0.024328328669071198,
-0.03479117900133133,
0.032785456627607346,
-0.0030070666689425707,
0.04539897292852402,
-0.01809667982161045,
-0.03164088726043701,
-0.004232353530824184,
-0.05899893119931221,
0.012458733282983303,
0.013461393304169178,
0.0166467372328043,
-0.058194324374198914,
0.0072792633436620235,
-0.02384777180850506,
0.011984412558376789,
-0.05288069695234299,
0.018078966066241264,
0.05689709633588791,
0.021061014384031296,
0.001278845826163888,
0.025268005207180977,
0.03045274131000042,
-0.0029125893488526344,
0.01563885249197483,
0.04035204276442528,
0.004713781177997589,
0.017729591578245163,
-0.030219007283449173,
0.003843577578663826,
-0.0038230549544095993,
0.016314880922436714,
-0.01574786938726902,
-0.0177800003439188,
-0.04412735998630524,
-0.0051200129091739655,
-0.05768357217311859,
-0.019744455814361572,
-0.05165386199951172,
-0.004201709292829037,
-0.008451344445347786,
0.009627166204154491,
-0.002384116407483816,
-0.018524736166000366,
0.032531023025512695,
0.0011263646883890033,
-0.0035064348485320807,
-0.02827109582722187,
-0.02575269341468811,
-0.0013692376669496298,
-0.00933155044913292,
0.020193202421069145,
-0.00027339751250110567,
0.000967544736340642,
-0.007666792720556259,
-0.03462386503815651,
-0.011155820451676846,
-0.006108866538852453,
-0.012520510703325272,
0.033103059977293015,
0.04495738446712494,
0.005880238022655249,
-0.0033670340199023485,
0.01851404458284378,
0.012826765887439251,
0.002324479166418314,
0.025307919830083847,
-0.020435048267245293,
-0.06047382205724716,
0.05877098813652992,
0.021723344922065735,
-0.016148947179317474,
0.0094370748847723,
0.021563446149230003,
0.041417934000492096,
0.03261600434780121,
-0.01125810481607914,
-0.02052205801010132,
0.013058144599199295,
0.014377846382558346,
0.0043458640575408936,
-0.02878052555024624,
-0.05124927684664726,
-0.045713841915130615,
-0.0047859265469014645,
0.02414851449429989,
-0.009567631408572197,
-0.04947881028056145,
-0.004081814084202051,
-0.021731898188591003,
-0.02130492776632309,
0.023512881249189377,
-0.0013093274319544435,
-0.009437614120543003,
0.016240950673818588,
0.03705841302871704,
-0.010250433348119259,
0.012602720409631729,
-0.014190676622092724,
0.013454066589474678,
0.017552463337779045,
0.008003531955182552
] |
Introduction to 3D Gaussian Splatting | dylanebert | September 18, 2023 | gaussian-splatting | community, guide, cv, game-dev | https://huggingface.co/blog/gaussian-splatting | 2. Convert to Gaussians Next, each point is converted to a gaussian. This is already sufficient for rasterization. However, only position and color can be inferred from the SfM data. To learn a representation that yields high quality results, we need to train it. | [
0.055701881647109985,
-0.003822367638349533,
0.03436806797981262,
0.010827217251062393,
0.068431556224823,
0.01820206828415394,
-0.07096762210130692,
0.04514821618795395,
-0.08050396293401718,
-0.058801889419555664,
-0.06276858597993851,
0.0018262524390593171,
0.008129656314849854,
0.003961328417062759,
0.00777125870808959,
-0.011138742789626122,
0.038760989904403687,
-0.03372731804847717,
0.01965763419866562,
0.014879683963954449,
-0.025020308792591095,
-0.04916864261031151,
0.0218283012509346,
-0.05687451362609863,
-0.01472996361553669,
-0.07305147498846054,
0.023305758833885193,
0.052377037703990936,
-0.003095597494393587,
0.006555548403412104,
-0.135195791721344,
0.02809876948595047,
-0.060569826513528824,
-0.08114053308963776,
-0.030736180022358894,
0.02480238303542137,
-0.07173106074333191,
0.043297864496707916,
0.017749911174178123,
-0.0035405047237873077,
0.05197698622941971,
-0.01291195023804903,
-0.03653286024928093,
0.019886186346411705,
0.005854587536305189,
-0.03496461361646652,
-0.15739715099334717,
0.1121397390961647,
-0.06244977191090584,
-0.0892079621553421,
-0.01291824970394373,
0.10827573388814926,
-0.07316218316555023,
0.01331566646695137,
-0.0013672973727807403,
0.0026019492652267218,
0.014461256563663483,
-0.009468893520534039,
0.016899563372135162,
0.052762530744075775,
0.017019173130393028,
-0.062307778745889664,
-0.017993375658988953,
0.043114881962537766,
-0.042189110070466995,
0.026268545538187027,
0.038433682173490524,
-0.023922933265566826,
-0.05049018934369087,
-0.02522299438714981,
-0.001273576752282679,
-0.018650704994797707,
0.03339960426092148,
-0.016239888966083527,
-0.0016840399475768209,
-0.0060748569667339325,
0.033682458102703094,
0.0898546576499939,
0.03152494132518768,
-0.045091062784194946,
0.004831247963011265,
-0.015925560146570206,
0.07364156097173691,
-0.001969144679605961,
-0.029124900698661804,
-0.01823205128312111,
0.02404550090432167,
-0.02776471897959709,
0.04374661296606064,
0.09450682997703552,
-0.019277602434158325,
-0.1111595407128334,
-0.07405101507902145,
0.05773543566465378,
0.04552473872900009,
-0.03304925933480263,
0.04890253394842148,
-0.05124969035387039,
-0.006231388542801142,
-0.023113183677196503,
-0.020341819152235985,
0.013712753541767597,
0.056884825229644775,
-0.030416827648878098,
-0.040704146027565,
0.0568268857896328,
-0.000025305200324510224,
-0.08943166583776474,
-0.018869290128350258,
-0.02040386199951172,
-0.03076738864183426,
0.07229484617710114,
0.07754220813512802,
0.005417794454842806,
-0.06850629299879074,
-0.002419436816126108,
0.08800002932548523,
0.04406817629933357,
0.028741054236888885,
-0.020395511761307716,
0.030654355883598328,
0.0903548002243042,
0.022372186183929443,
0.016398543491959572,
-0.08657904714345932,
0.03674769029021263,
0.04473619908094406,
0.050411395728588104,
-0.04906743764877319,
0.029689354822039604,
-0.015429307706654072,
0.053164269775152206,
0.05003076046705246,
0.026153309270739555,
0.05057588219642639,
-0.1076136976480484,
-0.03591747581958771,
-0.0455465130507946,
-0.04681486263871193,
-0.019449962303042412,
-0.016875481233000755,
0.034168168902397156,
0.0012500835582613945,
-0.008638451807200909,
0.017987078055739403,
-0.10412827134132385,
-0.013894020579755306,
-0.02699299156665802,
-0.017571158707141876,
0.0057051051408052444,
-0.0516490712761879,
0.08867524564266205,
-0.05074544996023178,
-0.0764981359243393,
-0.011554444208741188,
0.041518423706293106,
0.03088311478495598,
0.02501227706670761,
-0.051085665822029114,
-0.015671057626605034,
0.003742299508303404,
-0.021349720656871796,
-0.02581680566072464,
0.06185455247759819,
0.047417476773262024,
-0.05706855282187462,
0.020306380465626717,
-0.005511119961738586,
0.01463017612695694,
0.02481575310230255,
-0.01819051057100296,
-0.009562445804476738,
0.05782972276210785,
0.007386055309325457,
0.013186373747885227,
-0.0416952483355999,
0.04970450699329376,
0.06381605565547943,
-0.006244617514312267,
-0.08127142488956451,
-0.004068460315465927,
-0.0017460515955463052,
-0.08755466341972351,
-0.024352701380848885,
0.009525937028229237,
-0.043126922100782394,
0.036987755447626114,
-0.05778701230883598,
0.035902902483940125,
0.017654655501246452,
-0.06039636209607124,
-0.005863762926310301,
0.02834102138876915,
-0.09032253175973892,
0.031612712889909744,
-0.03609882667660713,
-0.007984502241015434,
0.06381435692310333,
-0.005167188122868538,
-0.004640636034309864,
0.01830955594778061,
-0.06216808781027794,
-0.005178707651793957,
0.03033946268260479,
-0.005647152196615934,
0.016757261008024216,
-0.015020466409623623,
0.002524971030652523,
0.05265001580119133,
-0.02997489832341671,
-0.044954996556043625,
-0.11281541734933853,
-0.022423766553401947,
-0.07995986938476562,
-0.040788087993860245,
0.05333391949534416,
-0.07391059398651123,
0.026606325060129166,
0.02060203067958355,
-0.09834856539964676,
0.06029731407761574,
0.019410915672779083,
-0.04299786686897278,
0.06996538490056992,
-0.0052546788938343525,
0.027903754264116287,
0.08031881600618362,
0.0419301837682724,
0.028251435607671738,
-0.07721196115016937,
-0.061639778316020966,
-0.05805748701095581,
0.03761140629649162,
0.02174469456076622,
-0.02606903947889805,
0.010534332133829594,
0.039483021944761276,
-0.007676847744733095,
0.046080559492111206,
-0.04948509484529495,
0.04245268180966377,
-0.046762049198150635,
-0.008375379256904125,
-0.012091508135199547,
-0.05566573515534401,
-0.007499111350625753,
0.05630936101078987,
0.021346140652894974,
-0.03785625100135803,
0.04309958592057228,
-0.04706178978085518,
0.03602861985564232,
0.03055097907781601,
-0.12245374172925949,
0.02198041044175625,
0.009799099527299404,
0.023575279861688614,
-0.04748306795954704,
0.001556391711346805,
0.06127568334341049,
-0.008437029086053371,
-0.010599805973470211,
0.026159079745411873,
-0.030625155195593834,
-0.017475366592407227,
-0.01672728732228279,
0.01361075323075056,
0.018262920901179314,
-0.007025424391031265,
0.0272310022264719,
0.005560830235481262,
-0.005963471252471209,
0.023482846096158028,
0.019439762458205223,
0.025864649564027786,
-0.009586858563125134,
0.029947862029075623,
-0.04152243584394455,
-0.01965729333460331,
0.014673351310193539,
0.028762269765138626,
-0.006218183785676956,
0.03144223988056183,
0.033743374049663544,
0.0035372483544051647,
-0.008590384386479855,
0.020338011905550957,
-0.013042468577623367,
-0.03362744674086571,
0.016252795234322548,
-0.01989489048719406,
0.04129093140363693,
0.009294439107179642,
0.021355336531996727,
-0.003971841651946306,
0.05789513513445854,
-0.034210000187158585,
0.04422571882605553,
-0.013171425089240074,
-0.027472766116261482,
0.0014652031240984797,
-0.0028018702287226915,
0.029040919616818428,
-0.042456116527318954,
-0.06929478794336319,
0.004210979677736759,
-0.031158853322267532,
0.042532309889793396,
-0.10059443861246109,
-0.04993041604757309,
0.025958573445677757,
0.044239312410354614,
-0.02477598376572132,
-0.014240224845707417,
0.03992922976613045,
-0.011212377808988094,
0.009924526326358318,
-0.05474688485264778,
-0.025761865079402924,
-0.0098223015666008,
0.016464127227663994,
0.03818919509649277,
0.016125155612826347,
0.0005269035464152694,
0.032150693237781525,
0.0020093810744583607,
0.0644179955124855,
0.031064657494425774,
-0.016370322555303574,
0.03031732887029648,
0.049006182700395584,
0.017022283747792244,
-0.0207440797239542,
0.0771830677986145,
0.054278820753097534,
-0.016542624682188034,
0.0052416035905480385,
-0.027427159249782562,
-0.026764824986457825,
-0.028522243723273277,
-0.030770275741815567,
0.01824108697474003,
-0.02643297240138054,
-0.010367924347519875,
-0.0032544361893087626,
0.007497779093682766,
0.01587027870118618,
0.022030357271432877,
-0.006490143481642008,
0.035168953239917755,
-0.02365100383758545,
0.011333298869431019,
-0.009683025069534779,
-0.00750757846981287,
0.03610483929514885,
0.029856877401471138,
0.03605637699365616,
-0.0339076854288578,
0.010661293752491474,
-0.0021683580707758665,
0.018281901255249977,
0.07138511538505554,
-0.021083585917949677,
0.014953945763409138,
0.05995439738035202,
0.0433417409658432,
0.029423153027892113,
-0.03715972229838371,
-0.038695354014635086,
0.00036702636862173676,
0.05514823645353317,
0.00020401107030920684,
-0.021017756313085556,
0.04715936258435249,
-0.0006995890289545059,
0.012950640171766281,
0.04998127743601799,
-0.010390774346888065,
0.03651496767997742,
0.041278302669525146,
-0.0017926881555467844,
0.012391175143420696,
-0.014887692406773567,
0.042186181992292404,
-0.01967565156519413,
0.014684777706861496,
0.07361698150634766,
0.026682572439312935,
-0.0028007356449961662,
0.014822796918451786,
0.01593012735247612,
-0.03863938897848129,
0.01074138656258583,
0.03269936144351959,
0.009196331724524498,
0.012677169404923916,
-0.002506568329408765,
0.025011422112584114,
0.06204838678240776,
-0.057528864592313766,
-0.005405005067586899,
-0.03818824887275696,
0.027680521830916405,
0.0354604609310627,
0.06982605904340744,
-0.011362828314304352,
0.031787220388650894,
-0.022129328921437263,
0.04649575054645538,
-0.045179836452007294,
-0.0108186611905694,
-0.019647186622023582,
-0.012298757210373878,
-0.00666148541495204,
0.046343982219696045,
-0.026857882738113403,
0.01092790998518467,
-0.006257832981646061,
0.02482420578598976,
-0.029763231053948402,
-0.00577635457739234,
0.008285203017294407,
0.03692144528031349,
-0.051729027181863785,
-0.05608286336064339,
-0.016219470649957657,
0.01391642726957798,
0.023665733635425568,
-0.032033730298280716,
-0.006843035575002432,
-0.010480665601789951,
-0.006483251694589853,
0.04233884811401367,
-0.009157158434391022,
-0.022703561931848526,
0.053943369537591934,
-0.018737072125077248,
-0.014351206831634045,
-0.0029800531920045614,
-0.02913629822432995,
0.021785570308566093,
0.000849579693749547,
0.046111516654491425,
-0.022064952179789543,
0.007385627366602421,
0.04298635199666023,
-0.0062820883467793465,
-0.044227905571460724,
-0.013652272522449493,
0.029035450890660286,
0.0028107783291488886,
0.01299960631877184,
0.0423353873193264,
-0.023349886760115623,
-0.03161228448152542,
0.011784080415964127,
0.0028441681060940027,
0.020192677155137062,
0.01214937586337328,
0.037638869136571884,
-0.025348834693431854,
-0.040629103779792786,
0.004456695634871721,
-0.0024603360798209906,
-0.040088750422000885,
-0.016938691958785057,
0.03748764470219612,
0.0019670501351356506,
0.06259232759475708,
0.008655203506350517,
-0.012610181234776974,
0.018436657264828682,
0.005087760277092457,
-0.015542581677436829,
0.015484245494008064,
-0.03485511243343353,
-0.021382629871368408,
0.025653954595327377,
0.04354141652584076,
-0.0046263751573860645,
0.007882451638579369,
-0.011934125795960426,
-0.0013891418930143118,
-0.012125338427722454,
0.0061342353001236916,
0.04705959931015968,
0.044062234461307526,
-0.0009781885892152786,
-0.04734859615564346,
-0.0038233136292546988,
0.009589825756847858,
-0.02011309191584587,
-0.007254706230014563,
0.03099818527698517,
0.027312684804201126,
0.01796909235417843,
0.007353113032877445,
0.011818373575806618,
0.05433325842022896,
0.0231279656291008,
0.027150195091962814,
-0.005782217252999544,
0.01785591058433056,
0.020147481933236122,
-0.015325331129133701,
-0.036742113530635834,
-0.02433723956346512,
0.009538269601762295,
-0.0019712974317371845,
0.045223407447338104,
-0.03279615193605423,
-0.01634266972541809,
-0.027990369126200676,
0.019477367401123047,
0.010834062471985817,
0.026199642568826675,
-0.00827503390610218,
-0.022013714537024498,
0.002593520563095808,
0.013536876998841763,
-0.06928691267967224,
-0.03900184482336044,
-0.03991411253809929,
0.016298945993185043,
-0.011145482771098614,
0.0010623759590089321,
-0.012730775400996208,
0.04192119836807251,
0.018563875928521156,
-0.01742788963019848,
-0.023839429020881653,
0.02787838503718376,
-0.0061012329533696175,
-0.01759464107453823,
0.01549878716468811,
0.011485039256513119,
-0.008803158067166805,
0.06530795991420746,
-0.009575439617037773,
0.02828313410282135,
0.006510526407510042,
0.014337007887661457,
0.01613723486661911,
-0.014585846103727818,
-0.03362220525741577,
0.0331907719373703,
0.013282634317874908,
0.0020970271434634924,
-0.010348810814321041,
-0.011754323728382587,
-0.015246103517711163,
0.04322509095072746,
-0.0008732667774893343,
-0.018246367573738098,
0.05623452365398407,
-0.03319619968533516,
-0.020772621035575867,
0.020024610683321953,
0.039437875151634216,
-0.0042577446438372135,
0.04123086854815483,
0.004344805609434843,
0.007144230883568525,
0.03225722908973694,
0.04366249963641167,
-0.01019562128931284,
0.01664942502975464,
0.022604677826166153,
0.0238718930631876,
-0.05136357992887497,
0.018659669905900955,
-0.004428061656653881,
-0.04090290516614914,
0.01844630390405655,
-0.0009210297139361501,
-0.025467658415436745,
-0.00879520084708929,
-0.010376588441431522,
0.05924142152070999,
0.016223158687353134,
-0.013672981411218643,
0.03857383131980896,
-0.014940011315047741,
-0.030727099627256393,
-0.0024088514037430286,
0.051448188722133636,
-0.032264236360788345,
0.013807902112603188,
-0.026018468663096428,
-0.01513296365737915,
0.042120613157749176,
-0.01101646013557911,
0.025844942778348923,
0.02030428871512413,
0.040710583329200745,
0.0014208045322448015,
0.022150514647364616,
0.003325914964079857,
0.009346652776002884,
-0.0438888818025589,
-0.01038193330168724,
-0.011950486339628696,
-0.05939292162656784,
0.04663672298192978,
0.022790685296058655,
0.018345914781093597,
-0.02778606489300728,
-0.05374125763773918,
0.05505266413092613,
0.04917159304022789,
0.06089120730757713,
-0.030086975544691086,
0.012472592294216156,
0.014072478748857975,
0.03536734730005264,
0.003418748266994953,
-0.026478184387087822,
0.009630435146391392,
0.0037655066698789597,
-0.015934119001030922,
-0.006537153851240873,
-0.006648730020970106,
-0.004744534380733967,
0.0009584297658875585,
0.04715750738978386,
0.026296162977814674,
0.01010610070079565,
0.03862151503562927,
0.012829733081161976,
-0.0468355230987072,
0.010422817431390285,
-0.015701966360211372,
-0.07706243544816971,
-0.0028716532979160547,
0.005954548716545105,
0.00257834792137146,
-0.01608215644955635,
-0.009080277755856514,
-0.03099043294787407,
0.03461512550711632,
-0.033874962478876114,
-0.01075170561671257,
-0.02016657218337059,
-0.041524335741996765,
0.03181428462266922,
-0.008041688241064548,
-0.0005052006454207003,
-0.04978521913290024,
-0.03401154652237892,
0.017668215557932854,
0.051747843623161316,
0.026260407641530037,
-0.011049149557948112,
0.03372383117675781,
0.019311416894197464,
-0.0036161153111606836,
-0.06286676228046417,
-0.008067305199801922,
-0.023735087364912033,
-0.010581765323877335,
-0.03883786499500275,
0.05576997622847557,
-0.01890023611485958,
-0.011697323061525822,
-0.029248297214508057,
-0.002493413398042321,
-0.01614217460155487,
0.012265872210264206,
0.032862480729818344,
0.029723936691880226,
0.019234687089920044,
0.022633550688624382,
-0.030615482479333878,
0.01711113378405571,
-0.014782464131712914,
0.01667148433625698,
-0.015270672738552094,
0.010389383882284164,
-0.001810948713682592,
0.034373488277196884,
0.04757652431726456,
0.027615578845143318,
-0.03330080956220627,
-0.007532759103924036,
0.001923421281389892,
-0.0029997825622558594,
-0.036794889718294144,
-0.04564030468463898,
0.01576458290219307,
0.03679202124476433,
-0.02150718681514263,
0.026833105832338333,
0.01992807537317276,
0.010470731183886528,
-0.008312390185892582,
0.02989247255027294,
-0.021242620423436165,
0.0001264029269805178,
0.0007263236911967397,
-0.08677583187818527,
-0.045499660074710846,
-0.01772194169461727,
-0.005306691396981478,
0.026409778743982315,
-0.00039776554331183434,
-0.01656273566186428,
-0.02123631350696087,
0.003931818529963493,
-0.02738887257874012,
0.0009821172570809722,
0.018990270793437958,
0.02145681343972683,
-0.02253728359937668,
0.015621180646121502,
0.024003053084015846,
-0.02739417739212513,
0.009604421444237232,
0.032913688570261,
0.014321619644761086,
0.02894444949924946,
-0.026438603177666664,
-0.02186083234846592,
0.01811331696808338,
-0.017425794154405594,
-0.042643848806619644,
0.004592841491103172,
0.000013617524018627591,
-0.019817791879177094,
-0.036383114755153656,
0.036671314388513565,
0.019117873162031174,
0.03593684360384941,
0.030274972319602966,
0.006040677428245544,
0.02394995652139187,
-0.010627715848386288,
0.03367555886507034,
-0.03671364486217499,
0.020640237256884575,
0.041215840727090836,
-0.03351559117436409,
0.026956643909215927,
0.0470564030110836,
0.029680224135518074,
-0.010565771721303463,
-0.022219400852918625,
0.04881530627608299,
-0.011549456976354122,
-0.019252993166446686,
-0.035995885729789734,
0.007672289852052927,
0.05386371910572052,
0.0060943132266402245,
-0.01712537556886673,
0.016025271266698837,
0.0006105767679400742,
0.0022735409438610077,
-0.019889116287231445,
-0.010581234470009804,
0.0454418808221817,
-0.012259515933692455,
-0.0006171615095809102,
-0.024026846513152122,
0.054388370364904404,
0.006549543235450983,
0.024450691416859627,
-0.002416319213807583,
0.016817735508084297
] |
Rocket Money x Hugging Face: Scaling Volatile ML Models in Production | nicokuzak | September 19, 2023 | rocketmoney-case-study | case-studies | https://huggingface.co/blog/rocketmoney-case-study | Collaboration and Future Plans | [
0.04934486746788025,
-0.012709682807326317,
0.08897603303194046,
-0.01726492866873741,
0.12098195403814316,
0.027522269636392593,
-0.02214263379573822,
0.08347412198781967,
-0.04242445528507233,
-0.1345967948436737,
-0.04259824752807617,
0.01708209700882435,
-0.0009793557692319155,
0.02506077103316784,
0.00021992334222886711,
0.02386646345257759,
0.062227070331573486,
-0.01709030009806156,
-0.010189242660999298,
0.013507017865777016,
-0.023721782490611076,
-0.039459049701690674,
0.05865048989653587,
0.03513897582888603,
0.026409784331917763,
-0.04770556464791298,
0.020646261051297188,
-0.042204104363918304,
-0.027709199115633965,
0.055323000997304916,
-0.0051260474137961864,
-0.03220391646027565,
0.022059379145503044,
0.03031858056783676,
-0.023945244029164314,
0.008547556586563587,
-0.04573330655694008,
0.005518217105418444,
-0.02977677620947361,
-0.04041457176208496,
0.008520903065800667,
-0.028505831956863403,
-0.03424016013741493,
0.0686606764793396,
-0.041436824947595596,
0.010865183547139168,
-0.2554495632648468,
0.08423125743865967,
-0.021216653287410736,
0.001238044467754662,
-0.048740871250629425,
0.03717023879289627,
0.018001265823841095,
-0.020784694701433182,
0.030060509219765663,
0.01726578176021576,
0.04015146568417549,
-0.03997856751084328,
-0.02962147817015648,
-0.08887901157140732,
0.03837171569466591,
-0.030566835775971413,
0.004495094995945692,
0.009250862523913383,
0.039757128804922104,
-0.00359223410487175,
0.005719084292650223,
0.0018486159387975931,
-0.04975620284676552,
0.0007461206987500191,
0.03343116492033005,
-0.03149950131773949,
-0.047296639531850815,
0.02733970806002617,
0.04209919646382332,
-0.07235661894083023,
-0.03858686238527298,
0.06275954097509384,
0.07277026027441025,
0.055351193994283676,
0.010259960778057575,
-0.0011931703193113208,
0.11110852658748627,
0.04021025821566582,
-0.03120843693614006,
-0.015603261068463326,
0.038346461951732635,
-0.040724314749240875,
-0.02017020806670189,
0.003571203211322427,
-0.023968003690242767,
-0.08274037390947342,
0.038177892565727234,
0.039491619914770126,
0.035941362380981445,
-0.047162238508462906,
0.05102401226758957,
0.001083096140064299,
0.011982725001871586,
-0.02142947167158127,
-0.02761266753077507,
0.04900003969669342,
-0.018169863149523735,
-0.030485836789011955,
-0.01410275511443615,
-0.0066404761746525764,
-0.03066081553697586,
-0.06390176713466644,
-0.04619741439819336,
0.05656185746192932,
0.013954771682620049,
0.0156170092523098,
0.05961359664797783,
-0.017977194860577583,
-0.017932945862412453,
0.06306226551532745,
0.04017917811870575,
-0.03109535574913025,
0.006271492224186659,
0.05149940401315689,
-0.012239310890436172,
0.0895070806145668,
0.05989609286189079,
0.04562029615044594,
0.0019256087252870202,
0.0423656590282917,
0.016026571393013,
0.02775566838681698,
-0.09616275131702423,
-0.07929535955190659,
0.01733979769051075,
-0.039164409041404724,
0.003282761899754405,
-0.017205048352479935,
-0.04505860060453415,
-0.03222926706075668,
-0.0449623167514801,
0.005472708493471146,
0.03357381001114845,
0.018103117123246193,
0.002838367596268654,
0.059952590614557266,
0.021978845819830894,
0.0840747132897377,
0.02986164763569832,
-0.053701650351285934,
-0.07011852413415909,
0.023003006353974342,
-0.0171625018119812,
-0.04218347370624542,
-0.016506530344486237,
0.040653735399246216,
-0.025859011337161064,
-0.056659404188394547,
-0.024768279865384102,
0.052393484860658646,
0.04283968731760979,
0.019477978348731995,
-0.03640466183423996,
-0.015840012580156326,
-0.0022924025543034077,
0.02614540606737137,
0.01830746978521347,
-0.016073141247034073,
0.036111630499362946,
-0.015337217599153519,
-0.02773335389792919,
-0.01632470078766346,
-0.01220286637544632,
-0.061008475720882416,
-0.051392730325460434,
-0.034258242696523666,
0.06345836818218231,
-0.04674331471323967,
-0.06372468918561935,
0.04305132105946541,
0.062260355800390244,
0.0945902019739151,
0.005268418230116367,
0.06131133809685707,
-0.024403927847743034,
0.024535782635211945,
-0.024584239348769188,
0.0005345278768800199,
0.01627831719815731,
-0.05043146014213562,
0.04647595435380936,
-0.03371980041265488,
-0.024520378559827805,
0.05491407960653305,
-0.10733608901500702,
-0.09261654317378998,
0.11013595014810562,
0.012786777690052986,
0.017804518342018127,
-0.04849006235599518,
0.016582179814577103,
0.09046860039234161,
0.04057896137237549,
0.06629437208175659,
0.06278318166732788,
0.03175457566976547,
0.08100368082523346,
0.014098502695560455,
-0.049482159316539764,
0.025019455701112747,
0.08982275426387787,
-0.02799382619559765,
0.01184211578220129,
-0.014858261682093143,
-0.02247515320777893,
-0.11599725484848022,
0.0380140021443367,
-0.04564308002591133,
0.023486431688070297,
-0.05460399389266968,
-0.023628270253539085,
-0.012699487619102001,
0.0032989634200930595,
-0.051472775638103485,
0.09940345585346222,
0.007835314609110355,
0.000883737055119127,
0.07738006860017776,
-0.026995260268449783,
0.10139249265193939,
0.04739623889327049,
0.016401151195168495,
0.028359733521938324,
-0.0464426726102829,
-0.019120238721370697,
-0.010046266950666904,
0.010736416094005108,
0.08044381439685822,
0.06627488881349564,
0.08777010440826416,
-0.04747313633561134,
-0.022303635254502296,
0.08114806562662125,
-0.035654786974191666,
0.02158474549651146,
0.00756413908675313,
0.007105300202965736,
0.08064073324203491,
0.005899304058402777,
-0.042982425540685654,
0.05466802790760994,
0.03662693500518799,
-0.04442676156759262,
-0.004498266149312258,
-0.037407755851745605,
0.09721296280622482,
-0.0002565284084994346,
0.044361136853694916,
0.10951400548219681,
-0.0076714870519936085,
0.023792240768671036,
-0.036535996943712234,
-0.001951453392393887,
0.003385848132893443,
0.033724889159202576,
-0.036174219101667404,
0.010253865271806717,
-0.05009423568844795,
0.0015271557494997978,
-0.02805163897573948,
0.00599814485758543,
-0.01666128821671009,
-0.006403434090316296,
0.04282553866505623,
0.0031679102685302496,
-0.03658002242445946,
0.034012798219919205,
0.014558989554643631,
-0.001052994281053543,
0.016053833067417145,
0.04543912783265114,
0.00008865298150340095,
-0.003823592560365796,
-0.02489130198955536,
0.005781990010291338,
-0.0004159605596214533,
0.02906334027647972,
0.0110367676243186,
0.045305296778678894,
-0.014372107572853565,
0.0015481042210012674,
-0.0003396468237042427,
-0.02055235020816326,
0.0019470193656161427,
0.0050162700936198235,
-0.004795580171048641,
0.003740942105650902,
-0.0316767543554306,
0.018364686518907547,
-0.01577972061932087,
-0.0009997541783377528,
0.034724727272987366,
-0.03159480541944504,
-0.011871100403368473,
0.011830423958599567,
0.017286241054534912,
-0.03387416899204254,
-0.00996984913945198,
-0.03634701669216156,
0.03785279020667076,
0.023130251094698906,
-0.014102227985858917,
-0.15242062509059906,
-0.04153092950582504,
0.030164465308189392,
0.07012779265642166,
-0.014907813630998135,
0.007289136294275522,
0.03041699342429638,
-0.03956601396203041,
-0.023005157709121704,
-0.022212794050574303,
0.02744416333734989,
0.025902410969138145,
0.05580194666981697,
-0.01920253038406372,
-0.005493071861565113,
0.024112306535243988,
-0.024299534037709236,
0.005034515634179115,
-0.012578642927110195,
-0.019631680101156235,
-0.004722503013908863,
0.0480930395424366,
-0.028938760980963707,
-0.010435109958052635,
-0.016026262193918228,
0.031302232295274734,
0.02742784656584263,
0.039652641862630844,
0.0063895853236317635,
-0.022122958675026894,
-0.04339170828461647,
0.08212193846702576,
0.0003841501893475652,
0.03247428685426712,
0.008656494319438934,
0.028028126806020737,
0.002310468116775155,
-0.0005746018723584712,
-0.02224045619368553,
0.04367225244641304,
0.015211820602416992,
-0.012884506955742836,
0.025512350723147392,
0.03786353021860123,
-0.048006538301706314,
0.028551515191793442,
-0.0008082397398538888,
-0.0020341379567980766,
0.032475851476192474,
0.00662251515313983,
-0.012747869826853275,
0.027616601437330246,
-0.00741691654548049,
0.044778481125831604,
-0.04997953027486801,
0.010397855192422867,
-0.041715532541275024,
0.015380564145743847,
0.04030848294496536,
-0.027206266298890114,
-0.011143840849399567,
0.007063382305204868,
0.004731169436126947,
-0.008601917885243893,
-0.03460460528731346,
0.03017066791653633,
-0.02556915394961834,
-0.013493916019797325,
-0.04327568784356117,
0.013746182434260845,
0.0028631044551730156,
0.021664099767804146,
-0.030460026115179062,
0.015412458218634129,
-0.014204772189259529,
0.02369563840329647,
-0.007307433523237705,
-0.027624472975730896,
0.06933151930570602,
-0.007215450517833233,
0.007934815250337124,
-0.019650986418128014,
-0.005659174174070358,
-0.02111646719276905,
-0.002236215863376856,
0.01935245282948017,
-0.001836750190705061,
0.01196813303977251,
-0.010983655229210854,
0.034736268222332,
0.0274423286318779,
-0.01696254499256611,
-0.01666443608701229,
-0.014709892682731152,
0.028853513300418854,
0.016159426420927048,
0.058538924902677536,
-0.005057302303612232,
-0.0006046553025953472,
-0.01503103319555521,
-0.0003618171904236078,
0.0012417406542226672,
-0.009998367168009281,
0.023624492809176445,
0.009454198181629181,
0.06146752089262009,
-0.02658171020448208,
-0.031952373683452606,
-0.02156245894730091,
0.009301598183810711,
0.029862603172659874,
-0.022977467626333237,
0.007472548633813858,
-0.05804843455553055,
-0.016583343967795372,
0.003596123307943344,
-0.029864441603422165,
-0.04364565387368202,
-0.055137500166893005,
0.019111163914203644,
-0.0146945770829916,
-0.0052583529613912106,
0.014117683283984661,
-0.011015166528522968,
0.014658618718385696,
0.0022819004952907562,
-0.0028821295127272606,
-0.04252532124519348,
-0.023554930463433266,
-0.0011745539959520102,
-0.02835908904671669,
-0.0396123006939888,
0.03446613997220993,
-0.006969739217311144,
0.016771165654063225,
0.017175374552607536,
-0.027646174654364586,
0.02497372031211853,
-0.056788358837366104,
-0.052543070167303085,
0.009084183722734451,
0.02830910123884678,
0.01744362898170948,
0.012724962085485458,
0.020100224763154984,
-0.047635484486818314,
-0.035678282380104065,
-0.00024867511820048094,
-0.026831742376089096,
0.005674466025084257,
0.0247732475399971,
-0.03608261048793793,
-0.050856247544288635,
0.007022493984550238,
0.0035196729004383087,
0.026700912043452263,
0.01718377321958542,
-0.004233367275446653,
-0.023437175899744034,
0.07424066215753555,
0.010223548859357834,
-0.009345547296106815,
-0.05255885794758797,
0.006773313507437706,
-0.0036408775486052036,
0.008618844673037529,
0.021633481606841087,
0.00035107083385810256,
0.0006838833796791732,
-0.0015898292185738683,
-0.011950420215725899,
-0.0149140739813447,
0.02167384885251522,
-0.00646914541721344,
0.025338096544146538,
0.018801407888531685,
0.0071447622030973434,
0.029762202873826027,
-0.0038941276725381613,
0.049271516501903534,
-0.005119733512401581,
0.0032367112580686808,
0.03695596382021904,
0.02388019487261772,
0.0035534005146473646,
0.019197450950741768,
0.03693892061710358,
-0.014924868941307068,
-0.0025006455834954977,
0.03212317079305649,
-0.017146028578281403,
-0.019991792738437653,
-0.007343370467424393,
-0.030960187315940857,
0.013448620215058327,
-0.0036698132753372192,
0.000015134582099562977,
-0.03146034851670265,
-0.011098320595920086,
0.006345847621560097,
0.016876913607120514,
0.029995720833539963,
-0.020973077043890953,
0.0026569392066448927,
-0.002802891656756401,
0.013442214578390121,
0.00026433906168676913,
-0.02391797862946987,
0.0038308035582304,
-0.010630464181303978,
0.006319638341665268,
0.01711944304406643,
-0.023276982828974724,
0.008640910498797894,
-0.014158683829009533,
-0.060221098363399506,
-0.05167623609304428,
0.024105563759803772,
0.0009980392642319202,
0.019574614241719246,
-0.015431859530508518,
0.009570908732712269,
-0.005669709295034409,
0.03260049968957901,
0.03917483985424042,
0.005769454874098301,
-0.015323193743824959,
0.040335070341825485,
-0.03629235923290253,
0.022976944223046303,
0.04937030002474785,
-0.022436704486608505,
-0.01256758626550436,
0.008361575193703175,
0.031128181144595146,
0.05533289909362793,
-0.08053871989250183,
0.03867971897125244,
-0.0018630048725754023,
-0.0057275742292404175,
-0.011987032368779182,
-0.028926024213433266,
-0.023680081591010094,
-0.03821633383631706,
-0.038070570677518845,
-0.0035140099935233593,
0.06070075184106827,
-0.05177852138876915,
0.02393200434744358,
0.012758465483784676,
0.017464080825448036,
-0.007333728484809399,
-0.022278200834989548,
-0.030694792047142982,
-0.01650134287774563,
0.02009933814406395,
-0.006504131481051445,
-0.004426374565809965,
-0.00753017608076334,
-0.04937310144305229,
0.013556686230003834,
-0.017009271308779716,
-0.0018229953711852431,
-0.0059109823778271675,
-0.025516526773571968,
0.00992630422115326,
0.0015221884241327643,
-0.026419682428240776,
0.03762619197368622,
0.009525520727038383,
-0.018036551773548126,
0.012640814296901226,
0.025561587885022163,
-0.034719593822956085,
0.008359254337847233,
-0.01767585054039955,
0.05672706663608551,
0.02263435162603855,
0.015643207356333733,
0.0005926850135438144,
0.03329285606741905,
0.028321389108896255,
0.015162552706897259,
-0.009034238755702972,
-0.02287268079817295,
0.03351568058133125,
0.006722429301589727,
0.01244270522147417,
-0.013042434118688107,
0.023289063945412636,
0.016932649537920952,
-0.03855353593826294,
0.0048600551672279835,
0.029217904433608055,
-0.04069451987743378,
-0.002499576658010483,
-0.003929956816136837,
-0.03558313101530075,
0.03745521605014801,
-0.02577177807688713,
0.04091727361083031,
-0.0003212772717233747,
-0.02263912744820118,
0.015180992893874645,
-0.024962840601801872,
0.008010155521333218,
0.02597317285835743,
0.005429306998848915,
0.014043625444173813,
-0.030684316530823708,
0.03652459383010864,
0.03960518166422844,
-0.0296100415289402,
-0.015899358317255974,
0.00902995839715004,
-0.051209330558776855,
0.034392401576042175,
0.007412548642605543,
-0.014610731974244118,
-0.0063242195174098015,
0.033251915127038956,
-0.0013884284999221563,
-0.017155800014734268,
0.001293445355258882,
-0.027298880741000175,
-0.036219272762537,
0.002744718687608838,
0.032770317047834396,
-0.014630390331149101,
-0.03419565036892891,
-0.013360128737986088,
0.035697467625141144,
-0.0045368666760623455,
0.027670487761497498,
-0.02892765775322914,
0.03814783692359924,
0.027122559025883675,
0.0125338239595294,
0.0030160825699567795,
-0.03477465733885765,
0.004578211344778538,
-0.0052612293511629105,
0.01703154854476452,
0.008679624646902084,
-0.00031507640960626304,
-0.003057659137994051,
-0.021203773096203804,
0.003831417765468359,
-0.010506102815270424,
0.04432463273406029,
0.02319359965622425,
0.002645116066560149,
-0.05389707535505295,
0.019047852605581284,
-0.0222223699092865,
-0.005484193563461304,
-0.018317056819796562,
0.013219017535448074,
0.027350613847374916,
-0.02904524654150009,
-0.008522321470081806,
0.05018897354602814,
0.030389830470085144,
-0.041654326021671295,
-0.03508269414305687,
0.016253210604190826,
-0.030859364196658134,
-0.01027483120560646,
0.029864128679037094,
0.01625525951385498,
-0.04264582693576813,
-0.033661652356386185,
0.031312379986047745,
0.009081517346203327,
-0.03324291110038757,
-0.0045914920046925545,
-0.01273900456726551,
-0.013171571306884289,
-0.016199177131056786,
-0.0025254562497138977,
0.06299735605716705,
0.015537606552243233,
0.03511972352862358,
0.010180316865444183,
0.005552314221858978,
-0.01450346875935793,
-0.06350939720869064,
0.011458835564553738,
0.017080657184123993,
0.04474921151995659,
-0.03590366989374161,
-0.027310214936733246,
-0.03838574141263962,
-0.06303437054157257,
-0.027736801654100418,
0.0028333733789622784,
-0.01557051483541727,
-0.021388359367847443,
0.010424686595797539,
0.018466966226696968,
-0.03173087164759636,
0.02549058571457863,
0.03782559931278229,
-0.0087505504488945,
0.03226893022656441,
-0.01807493157684803,
0.011013581417500973,
-0.027546808123588562,
0.02850162982940674,
0.007667246274650097,
0.031688131392002106,
0.006176183931529522,
-0.004317576065659523,
-0.030181391164660454,
0.0416344553232193,
-0.035520605742931366,
-0.059783175587654114,
0.004353822208940983,
0.03519060090184212,
-0.0009325722348876297,
-0.01757332868874073,
0.006747889798134565,
0.02032003365457058,
0.0169463362544775,
0.021997613832354546,
0.01752900704741478,
-0.03125736489892006,
0.009889606386423111,
0.01958749070763588,
-0.03423212468624115,
-0.01648908667266369,
0.002662453567609191,
0.003818440018221736,
0.0597606785595417,
0.0019317904952913523,
-0.038511261343955994,
-0.010087595321238041,
-0.04205501079559326,
0.02572878636419773,
-0.033176667988300323,
-0.038586389273405075,
0.0035597982350736856,
0.048525843769311905,
-0.023227982223033905,
-0.02058376558125019,
-0.05975259840488434,
0.05327412858605385,
0.01849583350121975,
-0.023341750726103783,
-0.0036830278113484383,
-0.02756441943347454,
0.0005489045288413763,
-0.006215664558112621,
0.05628122389316559,
0.020115265622735023,
0.04171772673726082,
0.04185406118631363,
-0.020574841648340225,
0.009116238914430141,
0.005426111165434122
] |
Rocket Money x Hugging Face: Scaling Volatile ML Models in Production | nicokuzak | September 19, 2023 | rocketmoney-case-study | case-studies | https://huggingface.co/blog/rocketmoney-case-study | Scaling and Maintaining ML Models in Production Without an MLOps Team We created Rocket Money (a personal finance app formerly known as Truebill) to help users improve their financial wellbeing. Users link their bank accounts to the app which then classifies and categorizes their transactions, identifying recurring patterns to provide a consolidated, comprehensive view of their personal financial life. A critical stage of transaction processing is detecting known merchants and services, some of which Rocket Money can cancel and negotiate the cost of for members. This detection starts with the transformation of short, often truncated and cryptically formatted transaction strings into classes we can use to enrich our product experience. | [
0.03187936171889305,
-0.00772723788395524,
0.03714493662118912,
-0.022233787924051285,
0.10364274680614471,
0.0929248034954071,
-0.00023389495618175715,
0.009522846899926662,
-0.04439612105488777,
-0.04491279274225235,
-0.04986116290092468,
0.05616176873445511,
-0.043556101620197296,
0.024145767092704773,
-0.032071325927972794,
-0.10475024580955505,
-0.031215811148285866,
0.03263236582279205,
0.016535211354494095,
-0.01449237484484911,
0.002228008583188057,
0.020503608509898186,
0.06354447454214096,
0.0033642423804849386,
-0.033659279346466064,
-0.024158192798495293,
-0.0058551630936563015,
0.007097763009369373,
-0.050044093281030655,
0.09589019417762756,
-0.027986235916614532,
0.05769037455320358,
0.009650951251387596,
-0.00238057947717607,
-0.05534425750374794,
0.012052372097969055,
0.012101504020392895,
0.061166904866695404,
-0.07155050337314606,
-0.14352567493915558,
0.007796727120876312,
-0.03683163598179817,
-0.10009662061929703,
0.0403444729745388,
0.014162822626531124,
-0.025864604860544205,
-0.1476615071296692,
0.018229156732559204,
-0.060989752411842346,
-0.05303970351815224,
-0.025684237480163574,
0.041842468082904816,
-0.03608120605349541,
-0.02222970314323902,
-0.0015837233513593674,
0.01283706072717905,
-0.06601609289646149,
-0.027247726917266846,
-0.040945105254650116,
0.02991548739373684,
0.061622653156518936,
0.024198858067393303,
0.06929106265306473,
-0.06427042931318283,
0.042513903230428696,
0.0015940401935949922,
0.061120469123125076,
0.009973326697945595,
-0.04417425021529198,
-0.037546005100011826,
0.05299772694706917,
0.011664767749607563,
-0.06019458547234535,
0.021132860332727432,
-0.07881028205156326,
-0.014148191548883915,
-0.0002107416366925463,
0.07189329713582993,
0.017335927113890648,
0.000968579959589988,
0.031578805297613144,
0.08926739543676376,
0.03753126412630081,
0.01618586666882038,
-0.02568580023944378,
0.004465932492166758,
0.012880087830126286,
-0.12555134296417236,
0.04812862351536751,
0.005130714271217585,
0.03477693721652031,
-0.0719623863697052,
-0.0038399090990424156,
0.0742100328207016,
0.008784624747931957,
-0.05586846545338631,
-0.053009990602731705,
-0.007121381349861622,
0.04668812453746796,
-0.03693940117955208,
0.017955303192138672,
-0.09649939835071564,
0.012467159889638424,
0.0360342375934124,
-0.05683235824108124,
0.11708243936300278,
0.0031243611592799425,
-0.03419572860002518,
-0.05392862856388092,
0.010357871651649475,
-0.017612721771001816,
0.05292150005698204,
-0.023806361481547356,
0.0668082907795906,
0.008908949792385101,
0.048455651849508286,
-0.05443035438656807,
0.01378633826971054,
-0.048226967453956604,
0.008908338844776154,
0.010469680652022362,
0.0194717887789011,
0.005553526803851128,
-0.04027494788169861,
-0.014043016359210014,
-0.03146032989025116,
0.04961181432008743,
0.011303987354040146,
-0.0021233593579381704,
-0.0016046444652602077,
-0.03218647092580795,
0.04588385671377182,
-0.03556637093424797,
0.0022925434168428183,
-0.07195191085338593,
-0.023554380983114243,
-0.032502271234989166,
-0.08421877026557922,
0.025934692472219467,
0.025579065084457397,
0.018491286784410477,
0.05978028476238251,
0.014480852521955967,
0.030526375398039818,
0.028459781780838966,
-0.015817956998944283,
0.02887236513197422,
0.03586963564157486,
-0.004366396926343441,
0.0018165463116019964,
-0.0581316240131855,
0.015104361809790134,
0.005880393553525209,
-0.04917498677968979,
-0.012861332856118679,
0.06533215939998627,
0.026749057695269585,
-0.010857151821255684,
-0.011535889469087124,
-0.0009375303634442389,
-0.09054933488368988,
-0.028968539088964462,
-0.037436697632074356,
-0.021810678765177727,
0.02394159696996212,
0.022231657058000565,
-0.021768933162093163,
-0.025736311450600624,
-0.0474659726023674,
0.01455225981771946,
0.013171437196433544,
-0.062095098197460175,
0.13525311648845673,
0.021128643304109573,
0.0569310262799263,
-0.0076891034841537476,
0.08040215820074081,
0.014627207070589066,
-0.018734367564320564,
0.0064226617105305195,
-0.007290382403880358,
0.07238570600748062,
0.05289687588810921,
-0.003809879533946514,
-0.023517297580838203,
-0.054554201662540436,
0.00873671192675829,
0.03397737443447113,
-0.044606100767850876,
0.03535977751016617,
-0.056079182773828506,
0.05354510620236397,
0.04630015790462494,
-0.03552856668829918,
0.07968124747276306,
0.027536949142813683,
-0.017291773110628128,
0.09949693083763123,
0.04451478272676468,
0.012550056912004948,
0.0031931011471897364,
0.03845483437180519,
0.01904093660414219,
-0.03739640861749649,
0.01369159109890461,
-0.04698089510202408,
0.051885075867176056,
-0.02796993777155876,
0.06162304803729057,
-0.02968236804008484,
-0.00624973326921463,
-0.03133143484592438,
-0.01673664152622223,
-0.055958762764930725,
0.006055892910808325,
-0.03562164306640625,
-0.04671606048941612,
0.05827368050813675,
-0.08765001595020294,
0.010692795738577843,
0.10000831633806229,
-0.07415902614593506,
-0.023182280361652374,
0.04068562015891075,
-0.032757580280303955,
0.03770884871482849,
0.10324334353208542,
0.008683736436069012,
0.06448308378458023,
-0.02919059246778488,
-0.005725398194044828,
-0.052664998918771744,
-0.02039724588394165,
-0.0017134794034063816,
0.024082308635115623,
-0.0038227527402341366,
-0.004792529623955488,
-0.02760966867208481,
-0.05837170034646988,
0.016771823167800903,
-0.0390276201069355,
0.07345817983150482,
-0.06440715491771698,
0.012242421507835388,
0.0442211888730526,
-0.06306284666061401,
-0.030902976170182228,
-0.023511722683906555,
-0.018865516409277916,
-0.018835749477148056,
-0.022266145795583725,
0.03535794839262962,
-0.02313048206269741,
0.0327678844332695,
0.013821878470480442,
-0.017856597900390625,
0.017007706686854362,
-0.002648902591317892,
-0.06676951795816422,
0.03177640959620476,
0.030948590487241745,
0.02843993343412876,
0.03804885596036911,
-0.007928506471216679,
0.008371846750378609,
-0.03504892438650131,
0.0423213355243206,
-0.017721382901072502,
0.0241993498057127,
0.04684847593307495,
0.020672518759965897,
0.03576429933309555,
0.004811596591025591,
0.05534610152244568,
0.020459095016121864,
0.04401818662881851,
0.04231688380241394,
-0.026030870154500008,
0.03541164845228195,
-0.026108846068382263,
-0.01112311240285635,
-0.03202605992555618,
0.010799458250403404,
0.02803027629852295,
0.015411769971251488,
0.02854764647781849,
-0.008652967400848866,
0.0225853119045496,
-0.04186611622571945,
0.037816885858774185,
-0.020081091672182083,
0.015560501255095005,
-0.0060489061288535595,
0.035315580666065216,
0.03950455039739609,
-0.01800698973238468,
0.0030736373737454414,
0.013152302242815495,
-0.016096357256174088,
0.012940706685185432,
0.033619221299886703,
0.014036295004189014,
-0.01666313409805298,
-0.05381859466433525,
0.030854664742946625,
0.027107469737529755,
0.022875361144542694,
0.01723789982497692,
-0.08180548250675201,
-0.007212563417851925,
0.017891990020871162,
0.018915513530373573,
-0.0029769628308713436,
-0.018584825098514557,
0.0206178929656744,
0.027178000658750534,
0.012324906885623932,
0.0137016037479043,
0.0077802157029509544,
0.016860701143741608,
-0.019727276638150215,
-0.01996900886297226,
0.00942971371114254,
0.0010297385742887855,
-0.01891257055103779,
0.03845897689461708,
0.013480116613209248,
0.0059411111287772655,
-0.005890855100005865,
0.021453168243169785,
-0.01045216340571642,
0.027242347598075867,
-0.04126670956611633,
0.0028094931039959192,
0.018982943147420883,
0.011485271155834198,
-0.016123995184898376,
-0.02344067394733429,
-0.05103899538516998,
0.019286267459392548,
-0.01931309513747692,
-0.034045372158288956,
0.016792144626379013,
0.0041075521148741245,
0.004920062609016895,
0.035528987646102905,
0.025229237973690033,
0.014200165867805481,
-0.013344136998057365,
0.025304967537522316,
0.06335991621017456,
-0.024540873244404793,
0.021659784018993378,
-0.046897970139980316,
0.02373572066426277,
-0.041690707206726074,
0.02916441485285759,
-0.02789885550737381,
0.008311284705996513,
-0.006466764025390148,
-0.005555191542953253,
0.0020191562362015247,
-0.0011795948958024383,
-0.039177458733320236,
-0.04511961340904236,
0.0016317676054313779,
0.005347681697458029,
0.035959698259830475,
-0.03786098212003708,
0.006705040577799082,
0.003422395559027791,
-0.005355374421924353,
-0.007410248275846243,
-0.05757656320929527,
0.044207751750946045,
-0.03575175628066063,
-0.04203667864203453,
0.06838983297348022,
0.03458201885223389,
0.048689719289541245,
0.01063188724219799,
0.0029348121024668217,
0.014609726145863533,
0.013061266392469406,
0.004064211156219244,
-0.006628135219216347,
0.010144777595996857,
0.03388349711894989,
-0.004264374263584614,
-0.03865998983383179,
0.001482657971791923,
-0.057887814939022064,
0.04035850241780281,
0.025038426741957664,
-0.06528595834970474,
0.007171496748924255,
-0.0593259334564209,
0.04256562516093254,
0.03555786609649658,
-0.054958537220954895,
0.031244240701198578,
0.03140689805150032,
-0.016517039388418198,
0.04009301960468292,
0.06330698728561401,
-0.021527037024497986,
0.021531373262405396,
0.00046536323498003185,
0.0032099485397338867,
0.005050252191722393,
0.0000017268123428948456,
0.026266276836395264,
0.0007967932615429163,
-0.022485148161649704,
-0.05124067887663841,
-0.011470023542642593,
0.032014407217502594,
0.03513869270682335,
-0.017288492992520332,
0.02043270878493786,
-0.013484615832567215,
-0.052717164158821106,
-0.002101706573739648,
0.005299542099237442,
-0.029853815212845802,
-0.022258400917053223,
-0.01097189076244831,
0.08484680950641632,
-0.05654666945338249,
-0.023291943594813347,
0.011448326520621777,
-0.04064583778381348,
0.01910381205379963,
-0.02191314287483692,
0.006565169431269169,
-0.009798047132790089,
0.01220462191849947,
-0.03677261248230934,
0.015420949086546898,
-0.03531607985496521,
0.03191829472780228,
-0.029813451692461967,
0.029087642207741737,
-0.019136451184749603,
-0.018037181347608566,
0.010261031799018383,
-0.017855415120720863,
-0.022238487377762794,
0.07508280128240585,
-0.018973473459482193,
0.003921031020581722,
-0.033045556396245956,
-0.013178895227611065,
-0.06310980767011642,
0.008174443617463112,
0.015719851478934288,
0.02283598482608795,
0.008506798185408115,
-0.01019610557705164,
-0.06019914522767067,
-0.016668282449245453,
-0.018548352643847466,
0.06694059073925018,
-0.0013500438071787357,
-0.009536647237837315,
0.02042899653315544,
0.004960218910127878,
0.03661832585930824,
0.036106690764427185,
-0.028985461220145226,
-0.017449839040637016,
0.03344511613249779,
0.019513895735144615,
-0.007870939560234547,
0.005844320636242628,
-0.054500579833984375,
0.0034580144565552473,
0.014551561325788498,
-0.02833288349211216,
-0.020312504842877388,
-0.036521077156066895,
-0.028250159695744514,
0.006567989010363817,
-0.02755744196474552,
-0.00040806439938023686,
0.026981009170413017,
-0.03394944220781326,
0.01687355525791645,
-0.02658834122121334,
0.009062171913683414,
0.020632000640034676,
0.013862015679478645,
0.029118366539478302,
0.024358492344617844,
0.05746592953801155,
0.025721197947859764,
0.008018900640308857,
0.018921293318271637,
-0.02217010408639908,
0.03256729617714882,
0.022144615650177002,
-0.009341868571937084,
0.07069285959005356,
0.024393251165747643,
-0.023437270894646645,
0.07119320333003998,
-0.015576821751892567,
-0.0048244488425552845,
-0.035823650658130646,
0.024040179327130318,
-0.008402963168919086,
-0.02774432860314846,
-0.003416304476559162,
0.02316342480480671,
-0.039532143622636795,
0.009986713528633118,
-0.01149186585098505,
-0.003048950107768178,
-0.014226212166249752,
0.015361985191702843,
0.02495286613702774,
-0.04566507786512375,
-0.02854105830192566,
-0.03487961366772652,
0.07226160168647766,
0.027772966772317886,
-0.04185280576348305,
0.031075119972229004,
-0.0383652038872242,
-0.021777693182229996,
-0.0053873746655881405,
0.010078636929392815,
0.011830618605017662,
-0.030302230268716812,
-0.004121717531234026,
0.0248373132199049,
-0.006288638338446617,
-0.03818633407354355,
0.0294167622923851,
0.010635951533913612,
-0.0003438002895563841,
-0.00039592882967554033,
-0.006048041395843029,
0.0052242400124669075,
-0.015194227918982506,
0.03000565990805626,
-0.0004099828365724534,
-0.025719260796904564,
-0.033820848912000656,
0.011708565056324005,
-0.00933809019625187,
-0.0415777750313282,
-0.022142410278320312,
0.049635689705610275,
0.04114719480276108,
0.024347960948944092,
0.014866883866488934,
0.04787905886769295,
0.010683189146220684,
0.014340974390506744,
0.010827317833900452,
0.056124698370695114,
0.007051472552120686,
-0.008842594921588898,
0.007674397900700569,
0.0014343754155561328,
-0.011790205724537373,
-0.01631641387939453,
0.022087065503001213,
0.0020899390801787376,
-0.010228201746940613,
0.043294552713632584,
0.016057977452874184,
0.07205236703157425,
-0.022770844399929047,
-0.0265056025236845,
0.01938745751976967,
-0.0027771159075200558,
-0.02672128938138485,
0.006228196434676647,
-0.0015513200778514147,
0.004190914798527956,
-0.03153717517852783,
-0.006651618052273989,
0.008816244080662727,
-0.044384732842445374,
0.009523827582597733,
0.010323929600417614,
-0.027772653847932816,
0.04687749221920967,
0.06983845680952072,
-0.0019259501714259386,
0.02810439094901085,
0.023067262023687363,
0.04489543288946152,
0.028352783992886543,
0.03246460482478142,
0.07232464104890823,
-0.016634270548820496,
0.013934673741459846,
-0.004159638658165932,
-0.009444818831980228,
0.004264163319021463,
-0.012532523833215237,
0.07723373174667358,
-0.038506850600242615,
0.006974535528570414,
-0.015082735568284988,
0.05640614777803421,
-0.04114051163196564,
0.04505807161331177,
0.05374835059046745,
0.04082828760147095,
0.04127437248826027,
0.026129912585020065,
0.028491448611021042,
-0.002637695986777544,
0.030100643634796143,
-0.05934189260005951,
-0.009400876238942146,
0.0007341700838878751,
0.04234815761446953,
0.010674001649022102,
0.0008716246811673045,
-0.037746042013168335,
0.013822565786540508,
0.020355165004730225,
-0.048949550837278366,
-0.062131788581609726,
-0.016260312870144844,
-0.003902031574398279,
-0.0015906945336610079,
-0.014799052849411964,
-0.037947878241539,
0.02892121486365795,
-0.04334857687354088,
-0.002027984708547592,
0.014455174095928669,
0.025418611243367195,
-0.025121252983808517,
-0.012505689635872841,
-0.04110538214445114,
-0.016859881579875946,
-0.034325797110795975,
-0.003576722228899598,
0.022820960730314255,
-0.014968023635447025,
0.0051450044848024845,
-0.04621000960469246,
0.019200991839170456,
-0.009722585789859295,
-0.02396746724843979,
-0.023721838369965553,
0.01671900786459446,
0.004082580097019672,
0.03540259972214699,
-0.024967512115836143,
0.04596572369337082,
0.004131241235882044,
0.03637765720486641,
-0.037108466029167175,
-0.016775788739323616,
-0.021098526194691658,
-0.05422350764274597,
-0.04537452757358551,
-0.014399324543774128,
0.06128334254026413,
0.017138469964265823,
-0.030646473169326782,
-0.0037259517703205347,
0.06530139595270157,
-0.019107749685645103,
-0.01001561339944601,
-0.03916015475988388,
-0.008334562182426453,
-0.03431283310055733,
-0.03808101266622543,
0.040015462785959244,
-0.03480437770485878,
0.03772173821926117,
-0.0375361293554306,
-0.013589885085821152,
0.013147478923201561,
0.04092824459075928,
0.03736139461398125,
0.035985492169857025,
-0.036722179502248764,
0.0008124858723022044,
0.029271509498357773,
-0.02018127404153347,
0.02590367943048477,
0.008736618794500828,
0.011816042475402355,
0.01532080676406622,
-0.03957972675561905,
-0.013956784270703793,
-0.04545257240533829,
-0.03905490040779114,
0.0043516606092453,
-0.02272185869514942,
-0.01769503764808178,
0.08566777408123016,
0.010080765001475811,
0.026408355683088303,
-0.03994382917881012,
0.04379676282405853,
0.010470219887793064,
-0.029578901827335358,
-0.03923311084508896,
-0.0320780910551548,
0.027687452733516693,
0.04341450706124306,
-0.015843572095036507,
0.007234133780002594,
-0.05572258681058884,
0.02276543527841568,
-0.007407666649669409,
0.036020245403051376,
0.04363766685128212,
-0.005593833047896624,
-0.01379829179495573,
-0.03781523182988167,
0.024721262976527214,
-0.005403557792305946,
-0.0050697629339993,
-0.013503777794539928,
0.031415894627571106,
-0.013064347207546234,
-0.010701838880777359,
0.018974434584379196,
-0.0051409536972641945,
0.006127958185970783,
-0.013937273994088173,
-0.003992572892457247,
-0.03473775461316109,
-0.019808650016784668,
-0.04771086946129799,
-0.006328471936285496,
0.028303729370236397,
0.01689760386943817,
-0.05933929234743118,
0.058961834758520126,
0.00042323945672251284,
0.053019046783447266,
-0.03143001347780228,
-0.0033231601119041443,
0.020927339792251587,
-0.006834498140960932,
-0.07421721518039703,
-0.007547629065811634,
0.02708149142563343,
-0.012425483204424381,
-0.003922916017472744,
-0.012954466044902802,
0.046543512493371964,
0.035265181213617325,
-0.025777222588658333,
-0.0014328060206025839,
0.0034574016463011503,
-0.005490957759320736,
-0.049122411757707596,
-0.007830764167010784,
0.017474085092544556,
0.024526620283722878,
0.007668907754123211,
0.01382423285394907,
-0.05047408118844032,
0.009574065916240215
] |
Rocket Money x Hugging Face: Scaling Volatile ML Models in Production | nicokuzak | September 19, 2023 | rocketmoney-case-study | case-studies | https://huggingface.co/blog/rocketmoney-case-study | "We discovered that they were not just service providers, but partners who were invested in our goals and outcomes” - Nicolas Kuzak, Senior ML Engineer at Rocket Money. | [
0.06616773456335068,
-0.0004130442102905363,
0.05635456740856171,
0.059306662529706955,
0.06595414131879807,
0.079899363219738,
-0.08004812151193619,
0.0312766432762146,
-0.005299904849380255,
-0.0753607451915741,
-0.03452048823237419,
0.028097862377762794,
0.009263461455702782,
0.0382852703332901,
-0.016616402193903923,
-0.04283140227198601,
-0.02179623581469059,
-0.028351545333862305,
0.024925680831074715,
0.025565199553966522,
-0.03547452762722969,
0.03736019879579544,
0.035429880023002625,
0.006155899725854397,
-0.011187304742634296,
-0.044715698808431625,
-0.029974637553095818,
-0.07082697004079819,
-0.10671751201152802,
0.10039059072732925,
0.050744879990816116,
0.016204386949539185,
0.020853949710726738,
0.01908257231116295,
-0.04048467054963112,
0.017042461782693863,
-0.04233422875404358,
0.045378055423498154,
-0.025895796716213226,
-0.10102187097072601,
0.008303055539727211,
-0.057269301265478134,
-0.09341056644916534,
0.05256418138742447,
-0.024465573951601982,
-0.036235250532627106,
-0.20124951004981995,
0.02518557943403721,
-0.02437872253358364,
-0.04157941788434982,
-0.038835108280181885,
0.05352446436882019,
0.0017913824412971735,
-0.0022849752567708492,
0.02382167987525463,
0.010928315110504627,
0.008218225091695786,
-0.054492443799972534,
-0.018012341111898422,
-0.04518820345401764,
0.06081094592809677,
0.03611523285508156,
0.10941875725984573,
-0.03831044211983681,
0.023451250046491623,
0.02728271298110485,
0.08004262298345566,
-0.009148145094513893,
-0.05185561254620552,
-0.01948920451104641,
0.04555923864245415,
-0.05183430016040802,
-0.03818214312195778,
0.04796642065048218,
-0.002703036181628704,
-0.044894665479660034,
0.015509974211454391,
0.041900113224983215,
0.026303239166736603,
0.0471072718501091,
-0.01199466921389103,
0.031065452843904495,
0.02874656952917576,
0.08708065003156662,
-0.030144451186060905,
0.014094844460487366,
0.06941024214029312,
-0.07912161201238632,
0.027449076995253563,
0.034894637763500214,
0.014676706865429878,
-0.10172497481107712,
0.03398006409406662,
0.07681294530630112,
0.06905428320169449,
-0.08403009176254272,
0.055376965552568436,
0.02463253028690815,
0.03455697372555733,
-0.03124583326280117,
0.028307003900408745,
0.008342505432665348,
-0.04733353853225708,
-0.024060800671577454,
-0.0552029088139534,
0.024060187861323357,
-0.009938045404851437,
-0.07860623300075531,
-0.053250573575496674,
0.04998484253883362,
0.007072174921631813,
0.006901617161929607,
0.024467524141073227,
0.03445699065923691,
0.015656117349863052,
0.07355675846338272,
-0.019785786047577858,
0.017792144790291786,
0.03425057977437973,
0.05317782983183861,
0.02337847463786602,
0.05847037956118584,
-0.047734204679727554,
-0.00800949614495039,
-0.011363057419657707,
0.008016470819711685,
0.04174855351448059,
0.03809908777475357,
0.0010262213181704283,
-0.05819004401564598,
0.001997241983190179,
0.023917000740766525,
-0.01848480850458145,
0.031981758773326874,
-0.009394523687660694,
-0.04164450988173485,
-0.03667474538087845,
-0.039296671748161316,
0.003585857106372714,
0.009256583638489246,
-0.07943969964981079,
0.08820746093988419,
-0.010411220602691174,
0.048302363604307175,
0.07847164571285248,
0.007921544834971428,
0.0010736513650044799,
0.018606239929795265,
-0.028844574466347694,
0.00009104989294428378,
-0.02498484030365944,
0.04835421219468117,
-0.022156819701194763,
-0.056375958025455475,
0.044589195400476456,
0.05276027321815491,
0.04641628637909889,
0.013396353460848331,
0.032468002289533615,
0.031820230185985565,
-0.01233084686100483,
0.023254718631505966,
-0.018164852634072304,
-0.014314211905002594,
0.0007189050666056573,
-0.021566735580563545,
-0.016209010034799576,
-0.024561461061239243,
-0.031065162271261215,
0.01498925220221281,
-0.033566031605005264,
-0.04453498125076294,
0.05752115324139595,
-0.036389440298080444,
-0.012525366619229317,
0.0006984456558711827,
0.07741531729698181,
0.03168657794594765,
0.02201727405190468,
-0.007177866064012051,
-0.043130915611982346,
0.03830139338970184,
0.0020763485226780176,
0.05075494199991226,
0.027147872373461723,
-0.03315882384777069,
0.014951206743717194,
0.017672596499323845,
0.009280859492719173,
0.07361502945423126,
-0.1476072371006012,
-0.03355275094509125,
0.04299922659993172,
-0.01836220733821392,
0.03864428773522377,
-0.035621244460344315,
0.009949879720807076,
0.11367525905370712,
-0.011747232638299465,
0.04775100201368332,
0.0379534550011158,
0.005386536009609699,
0.03146037831902504,
-0.057016756385564804,
-0.025936909019947052,
-0.02736649289727211,
0.05835869908332825,
-0.07564157992601395,
0.008660483174026012,
-0.021894847974181175,
-0.0220924261957407,
-0.08644537627696991,
-0.011694693937897682,
-0.05861390754580498,
0.02753644622862339,
-0.03889351338148117,
-0.03757377713918686,
0.06822062283754349,
-0.11323031783103943,
0.0456971600651741,
0.10888499766588211,
-0.05625331029295921,
0.03954349458217621,
0.026154179126024246,
0.0599590539932251,
0.09148549288511276,
0.06230749189853668,
-0.008232093416154385,
0.0269966721534729,
-0.01605452410876751,
-0.026675289496779442,
-0.07665029913187027,
-0.016316372901201248,
0.008984527550637722,
0.027000976726412773,
0.004865528084337711,
-0.019055824726819992,
0.016571706160902977,
-0.05119052901864052,
0.0048747300170362,
-0.06349936872720718,
-0.0023497017100453377,
-0.0475214347243309,
0.07387612760066986,
-0.03415929526090622,
-0.09852409362792969,
-0.016344889998435974,
-0.03935285657644272,
-0.07438328117132187,
-0.00882643274962902,
-0.08535687625408173,
0.03738251328468323,
-0.03495160490274429,
0.02029762975871563,
0.04501093551516533,
0.003134161001071334,
0.00502647552639246,
-0.0018459762213751674,
-0.013949653133749962,
-0.010544844903051853,
0.025149691849946976,
0.007347388658672571,
0.0015536216087639332,
-0.011954733170568943,
-0.0048979902639985085,
-0.03672884777188301,
0.004962126724421978,
0.005185084883123636,
-0.005094520747661591,
0.03326038271188736,
-0.01827848330140114,
-0.05114017054438591,
0.05408207327127457,
0.03845168277621269,
-0.009042736142873764,
0.00601945212110877,
0.006951319519430399,
0.021288229152560234,
-0.009688569232821465,
-0.029422234743833542,
0.014675231650471687,
-0.019649989902973175,
0.050889283418655396,
0.045561883598566055,
0.03101375699043274,
0.0059221102856099606,
-0.0316317155957222,
0.02167579159140587,
-0.03235003724694252,
0.037125226110219955,
-0.00665337685495615,
0.011437231674790382,
0.05030125007033348,
-0.005392607767134905,
0.06255798786878586,
-0.01994176022708416,
-0.01213785819709301,
0.029941538348793983,
-0.0037934561260044575,
0.025609776377677917,
-0.028436223044991493,
0.03255822882056236,
0.0018393504433333874,
-0.028067970648407936,
0.03371924161911011,
0.030501369386911392,
-0.0018975312123075128,
0.01689273677766323,
-0.1175975427031517,
-0.01900947280228138,
0.03770528361201286,
0.04257180914282799,
0.021570635959506035,
-0.02150394767522812,
0.017729075625538826,
-0.03417668119072914,
-0.006762692704796791,
-0.0371331162750721,
0.0148156164214015,
0.022627728059887886,
-0.01001684833317995,
-0.004312307573854923,
-0.005705825053155422,
0.007788579910993576,
0.012971566058695316,
0.03860003873705864,
-0.010929125361144543,
0.029834529384970665,
-0.025342315435409546,
0.009415443055331707,
0.0004775366687681526,
-0.005589867942035198,
-0.06122187525033951,
0.027425168082118034,
0.02136245183646679,
0.02146179787814617,
-0.01705286093056202,
0.0001298994175158441,
-0.03282735496759415,
0.029377199709415436,
-0.04697243869304657,
-0.012896566651761532,
-0.01954568922519684,
-0.0034166197292506695,
0.020865125581622124,
0.016277721151709557,
0.012022308073937893,
0.04870307072997093,
0.034962248057127,
-0.024907628074288368,
0.05116436630487442,
-0.01918063499033451,
-0.017119789496064186,
-0.017785245552659035,
0.033529169857501984,
0.0017198153072968125,
0.06806197017431259,
-0.035393860191106796,
-0.002180204028263688,
-0.030899234116077423,
0.0015489774523302913,
0.02375282160937786,
-0.016940737143158913,
-0.04024651274085045,
-0.03679853305220604,
-0.005450036842375994,
0.00819358043372631,
0.02338475175201893,
-0.03699951618909836,
0.007253127172589302,
0.015579314902424812,
0.0017999865813180804,
-0.019374694675207138,
-0.004582758527249098,
0.004868354182690382,
-0.020010093227028847,
-0.05735401064157486,
0.04134897515177727,
0.0029914320912212133,
0.057528141885995865,
0.018899433314800262,
0.011230001226067543,
-0.00039906977326609194,
0.023597558960318565,
0.02062433771789074,
-0.04078162461519241,
0.02840260975062847,
0.014418902806937695,
-0.04767753556370735,
-0.045223258435726166,
-0.009082669392228127,
-0.039656706154346466,
-0.007898516021668911,
0.046202514320611954,
-0.013206178322434425,
0.03605332225561142,
-0.04706983640789986,
0.0213056281208992,
0.0016643007984384894,
-0.04725631698966026,
0.02953915484249592,
0.023974191397428513,
0.006951349787414074,
0.015267533250153065,
-0.01082060020416975,
-0.0015953533584252,
-0.0034257941879332066,
-0.002352155279368162,
-0.0011326646199449897,
-0.008910730481147766,
-0.02080571837723255,
0.02317499928176403,
0.007994875311851501,
0.005808252841234207,
-0.021993687376379967,
-0.06548062711954117,
0.005355819594115019,
-0.009514993987977505,
0.01375972107052803,
0.050925806164741516,
-0.06615231186151505,
-0.031340342015028,
-0.0040384866297245026,
0.005794160068035126,
-0.017382964491844177,
-0.00005996182153467089,
-0.032767947763204575,
0.06015389785170555,
-0.041392918676137924,
-0.025388067588210106,
0.012247972190380096,
-0.014519460499286652,
0.022468339651823044,
0.00040162261575460434,
-0.006559723522514105,
-0.026003725826740265,
0.011557402089238167,
0.0023128397297114134,
0.0096842460334301,
-0.027611538767814636,
0.025645846500992775,
-0.03224228322505951,
0.000047366229409817606,
0.007767803035676479,
-0.0029565771110355854,
0.02563275210559368,
-0.03682182729244232,
-0.026349185034632683,
0.035051167011260986,
0.014442001469433308,
0.03837637975811958,
-0.027489714324474335,
0.033864591270685196,
-0.040208932012319565,
0.005741250701248646,
0.020672380924224854,
-0.021556254476308823,
0.02171366848051548,
0.021006742492318153,
0.0015339268138632178,
-0.029803771525621414,
-0.006070904899388552,
0.029062140733003616,
-0.009721473790705204,
0.007542876992374659,
-0.006937297992408276,
-0.024466723203659058,
0.05715574324131012,
-0.008245067670941353,
0.01734885200858116,
-0.03738779574632645,
0.005734600592404604,
0.022133437916636467,
-0.00009725298878038302,
0.011771533638238907,
-0.05968277156352997,
-0.0021049987990409136,
0.0301376823335886,
0.0352325439453125,
-0.023953797295689583,
-0.02180596813559532,
-0.025165647268295288,
0.017413519322872162,
-0.008562504313886166,
0.047076255083084106,
-0.006933178752660751,
-0.028832461684942245,
0.04909803345799446,
-0.01658606342971325,
-0.01609283871948719,
0.02180476486682892,
-0.020761694759130478,
0.02169567160308361,
0.02867477759718895,
0.04958951473236084,
0.004183224868029356,
0.004533943720161915,
0.020457785576581955,
0.026604345068335533,
0.005856637842953205,
0.0009246256086044014,
-0.04088439792394638,
-0.00748917693272233,
0.0007757777348160744,
-0.024519765749573708,
-0.012953182682394981,
-0.023501884192228317,
-0.00024514898541383445,
-0.039546217769384384,
0.030809465795755386,
0.023728128522634506,
0.008498775772750378,
-0.0017333824653178453,
0.00797327607870102,
-0.0066741048358380795,
0.00012039978173561394,
0.040798619389534,
-0.01172950491309166,
0.0070502436719834805,
0.014424335211515427,
0.027418894693255424,
-0.037505295127630234,
0.006061469204723835,
-0.06529996544122696,
-0.005798107944428921,
0.04335973784327507,
-0.007373616099357605,
0.03815047815442085,
0.012559964321553707,
0.0025866557843983173,
-0.04745921120047569,
0.015048535540699959,
0.016036417335271835,
-0.03419319912791252,
-0.07481667399406433,
0.04666748270392418,
-0.01760549284517765,
0.007607237435877323,
0.003528795437887311,
-0.0357305109500885,
-0.012354591861367226,
0.01143088098615408,
0.02108471840620041,
0.0010164569830521941,
-0.013275605626404285,
0.06454630941152573,
-0.021602515131235123,
-0.03366430103778839,
-0.03428886458277702,
-0.006157753057777882,
-0.04429712891578674,
-0.03313792124390602,
-0.0005275608273223042,
0.00249880482442677,
0.04179823771119118,
0.04339877888560295,
0.033647775650024414,
0.0257781483232975,
0.015085970051586628,
0.01126198098063469,
0.0331425741314888,
0.025005389004945755,
-0.00360136479139328,
-0.00499170133844018,
0.01259979885071516,
-0.008836437948048115,
-0.014371387660503387,
-0.030727272853255272,
-0.01364978775382042,
-0.02798285335302353,
-0.0077173602767288685,
0.032820332795381546,
-0.00727567495778203,
0.0925060585141182,
0.006803045514971018,
-0.02022942714393139,
0.04421646520495415,
-0.007794088218361139,
0.006435642950236797,
0.0303665604442358,
0.004687771666795015,
0.017952511087059975,
0.013155193068087101,
-0.04820192605257034,
0.04718876630067825,
-0.01561173889786005,
0.014478391967713833,
-0.0005274342838674784,
-0.018944479525089264,
0.06669369339942932,
0.029434315860271454,
0.024591516703367233,
-0.01330430805683136,
0.025766370818018913,
0.01610497012734413,
0.013962737284600735,
0.025593411177396774,
0.05044881999492645,
-0.029221298173069954,
0.009399902075529099,
0.011284369975328445,
0.009575451724231243,
-0.0374237522482872,
-0.0017210535006597638,
0.020383400842547417,
-0.04785365238785744,
0.021258970722556114,
-0.0475178100168705,
-0.00628451444208622,
-0.014103380963206291,
0.018862565979361534,
-0.007729208096861839,
0.016673678532242775,
0.051984094083309174,
0.031763289123773575,
0.0345785915851593,
0.017776746302843094,
-0.010511115193367004,
0.010697556659579277,
-0.012306248769164085,
0.004348080139607191,
0.014930490404367447,
-0.03143875673413277,
-0.013498873449862003,
0.009551720693707466,
-0.008923613466322422,
0.02515697106719017,
0.00971876922994852,
-0.010123350657522678,
0.0007921098731458187,
-0.016045531257987022,
-0.0031869583763182163,
-0.030898690223693848,
-0.05504582077264786,
0.011838517151772976,
0.021879306063055992,
0.015853051096200943,
-0.0015612216666340828,
0.033395327627658844,
0.014266099780797958,
0.022332465276122093,
-0.03665165975689888,
-0.016067590564489365,
0.005928159691393375,
0.041306812316179276,
0.06131558120250702,
-0.030159085988998413,
-0.006756357848644257,
-0.021278075873851776,
0.0023967965971678495,
0.0029192203655838966,
-0.03980473056435585,
-0.028595972806215286,
-0.002019129693508148,
-0.0028717881068587303,
0.06740454584360123,
0.0051912954077124596,
0.014591542072594166,
0.054455116391181946,
0.042872387915849686,
-0.014600749127566814,
0.04165782034397125,
-0.010190334171056747,
0.00875211600214243,
-0.04746854677796364,
-0.004381181206554174,
0.03331414610147476,
-0.03664067015051842,
-0.01096503995358944,
0.011806548573076725,
0.04545833542943001,
-0.015730969607830048,
0.021117422729730606,
-0.006714575923979282,
0.009647968225181103,
-0.03392430767416954,
0.04413604363799095,
0.029628757387399673,
-0.06563520431518555,
0.017971787601709366,
0.0092152776196599,
0.023147709667682648,
-0.004072132520377636,
0.02296965755522251,
0.007267771754413843,
-0.014946041628718376,
-0.033002834767103195,
-0.024695808067917824,
0.07211877405643463,
-0.004048838280141354,
0.02920336090028286,
0.02885374054312706,
-0.015424159355461597,
0.009208206087350845,
-0.05394156649708748,
0.014656231738626957,
-0.001405793707817793,
-0.0021421925630420446,
0.03787798807024956,
-0.031035425141453743,
-0.04569984972476959,
0.025542281568050385,
-0.03175550326704979,
0.001968081807717681,
-0.040623199194669724,
0.009500272572040558,
0.016655923798680305,
-0.02272539585828781,
-0.04969460144639015,
0.01616685651242733,
0.06888604164123535,
0.005772095173597336,
0.00445007486268878,
-0.020879492163658142,
-0.013232637196779251,
-0.032375406473875046,
-0.02208465337753296,
0.008285765536129475,
0.00821047555655241,
-0.00838383473455906,
-0.022061744704842567,
-0.01404090691357851,
0.06459338963031769,
-0.042370330542325974,
-0.014361618086695671,
0.02703738585114479,
-0.010435622185468674,
0.0041380375623703,
-0.008332397788763046,
-0.00885697454214096,
0.01758931204676628,
-0.03770691528916359,
0.0018017751863226295,
-0.0007953092572279274,
-0.05237576737999916,
0.013060083612799644,
0.026672448962926865,
-0.026554051786661148,
-0.03328287601470947,
-0.00746748223900795,
-0.031057709828019142,
0.026283184066414833,
0.020038213580846786,
0.006458834744989872,
-0.012470697984099388,
-0.0720638558268547,
0.05107588320970535,
-0.01379274670034647,
-0.04594047740101814,
-0.0063059087842702866,
-0.009243546053767204,
-0.052807651460170746,
-0.01675179786980152,
-0.03976935148239136,
0.06236457824707031,
0.017916375771164894,
-0.051648419350385666,
0.029258450493216515,
-0.011460071429610252,
-0.004069736693054438,
-0.024382105097174644,
0.007726143579930067,
-0.0017229302320629358,
0.078476682305336,
0.07815559953451157,
-0.013756996020674706,
0.03025840036571026,
0.037049055099487305
] |
Rocket Money x Hugging Face: Scaling Volatile ML Models in Production | nicokuzak | September 19, 2023 | rocketmoney-case-study | case-studies | https://huggingface.co/blog/rocketmoney-case-study | "The uptime and confidence we have in the HuggingFace Inference API has allowed us to focus our energy on the value generated by the models and less on the plumbing and day-to-day operation" - Nicolas Kuzak, Senior ML Engineer at Rocket Money. Post launch, the internal Rocket Money team is now focusing on both class and performance tuning of the model in addition to more automated monitoring and training label systems. We add new labels on a daily basis and encounter the fun challenges of model lifecycle management, including unique things like company rebranding and new companies and products emerging after Rocket Companies acquired Truebill in late 2021. We constantly examine whether we have the right model topology for our problem. While LLMs have recently been in the news, we’ve struggled to find an implementation that can outperform our specialized transformer classifiers at this time in both speed and cost. We see promise in the early results of using them in the long tail of services (i.e. mom-and-pop shops) - keep an eye out for that in a future version of Rocket Money! The uptime and confidence we have in the HuggingFace Inference API has allowed us to focus our energy on the value generated by the models and less on the plumbing and day-to-day operation. With the help of Hugging Face, we have taken on more scale and complexity within our model and the types of value it generates. Their customer service and support have exceeded our expectations and they’re genuinely a great partner in our journey. If you want to learn how Hugging Face can manage your ML inference workloads, contact the Hugging Face team here. | [
0.005011264234781265,
-0.014209150336682796,
0.03931306302547455,
0.007255648262798786,
0.017039131373167038,
0.08545669913291931,
0.0071573504246771336,
0.03717874735593796,
-0.028463957831263542,
-0.06611131131649017,
-0.048541370779275894,
0.09726404398679733,
-0.0018966787029057741,
0.07084526866674423,
-0.015779312700033188,
-0.10087060183286667,
-0.02427668310701847,
0.05481637641787529,
-0.023971186950802803,
0.04861559346318245,
0.03614245727658272,
-0.02351384423673153,
0.05100422352552414,
-0.014843616634607315,
-0.04420965537428856,
-0.06807932257652283,
-0.0360485278069973,
-0.05142218619585037,
-0.027889767661690712,
0.07836341112852097,
-0.05223418027162552,
-0.015982236713171005,
0.0012513535330072045,
0.00903778150677681,
-0.01617005653679371,
0.02639220654964447,
-0.09210401773452759,
0.004640163853764534,
0.008540252223610878,
-0.062068115919828415,
0.05824902281165123,
-0.006342669948935509,
-0.0932435691356659,
0.007164037320762873,
-0.006315238308161497,
-0.05414449796080589,
-0.08965896815061569,
0.003353594336658716,
0.019247695803642273,
-0.05477144941687584,
-0.07917480915784836,
0.031663961708545685,
0.01060279831290245,
-0.033232253044843674,
0.03300688788294792,
-0.06550762057304382,
-0.051934126764535904,
-0.04640515148639679,
0.01731705293059349,
0.015859197825193405,
0.030631737783551216,
-0.045513302087783813,
0.05300934985280037,
-0.06842547655105591,
0.024335825815796852,
0.026009976863861084,
-0.054674528539180756,
-0.035642847418785095,
-0.020654506981372833,
-0.03355102986097336,
0.039372749626636505,
0.001565910060890019,
-0.03158232942223549,
-0.011878873221576214,
-0.03856078162789345,
-0.02137531153857708,
-0.015531586483120918,
0.045717883855104446,
0.01937953010201454,
0.009556720964610577,
-0.05699022859334946,
-0.0009462731541134417,
0.0631556287407875,
0.06001540645956993,
-0.01927211321890354,
0.06649990379810333,
0.03075246512889862,
-0.10718757659196854,
-0.024213120341300964,
0.02233816124498844,
-0.0016111632576212287,
-0.06227985396981239,
0.01564645953476429,
0.09521082043647766,
0.00616558687761426,
-0.030242694541811943,
-0.05791550874710083,
0.018568487837910652,
0.01716538518667221,
-0.0770968571305275,
0.04087117686867714,
-0.07530517876148224,
-0.024203673005104065,
-0.011265180073678493,
-0.036442067474126816,
0.025940613821148872,
-0.0030316731426864862,
-0.07347223162651062,
-0.055495165288448334,
0.02974058873951435,
-0.010411112569272518,
0.010434194467961788,
0.009329266846179962,
0.0486917570233345,
-0.02435554936528206,
-0.004650935065001249,
-0.07934679090976715,
0.005426227115094662,
0.01585269533097744,
-0.00392547994852066,
0.011609943583607674,
0.041296955198049545,
0.039797332137823105,
-0.05326395109295845,
0.026620758697390556,
0.02866593934595585,
0.019792580977082253,
0.07662894576787949,
0.050995901226997375,
-0.02989198826253414,
-0.004468653351068497,
-0.023446127772331238,
0.008283897303044796,
0.01722865365445614,
-0.04140141233801842,
-0.007380084600299597,
-0.031226560473442078,
-0.093134805560112,
0.03983870521187782,
0.01705162413418293,
-0.006916587240993977,
0.07519608736038208,
-0.0048948246985673904,
-0.019934536889195442,
0.06594773381948471,
0.0348714143037796,
-0.05834837257862091,
0.015581578947603703,
-0.031315430998802185,
0.013335213996469975,
-0.08500880002975464,
0.001859199837781489,
-0.047146279364824295,
-0.00957314670085907,
0.03432091698050499,
0.053720973432064056,
0.0026217480190098286,
0.01259241160005331,
-0.056655675172805786,
0.02989630214869976,
-0.09575998038053513,
-0.0043174210004508495,
-0.009659816510975361,
0.036682453006505966,
0.02735651284456253,
0.014102190732955933,
0.01076973881572485,
0.021213475614786148,
-0.05608826503157616,
-0.0022908500395715237,
0.009051656350493431,
-0.017835063859820366,
0.10643508285284042,
-0.04563222452998161,
0.03344220668077469,
-0.014721457846462727,
0.04830082878470421,
0.015574144199490547,
-0.002148172352463007,
0.02017952874302864,
-0.06031723693013191,
0.04959344491362572,
0.09807265549898148,
0.07726182043552399,
-0.0178455151617527,
-0.09684211015701294,
0.049254268407821655,
-0.026999374851584435,
-0.05299344286322594,
0.004050197545439005,
-0.08272544294595718,
0.0714842826128006,
0.06590750813484192,
-0.0466095395386219,
0.0569893941283226,
0.027330417186021805,
0.02788633666932583,
0.09483549743890762,
0.04524613916873932,
0.002755213063210249,
0.02306596003472805,
0.06566161662340164,
0.044501665979623795,
-0.021194636821746826,
0.0007826671935617924,
-0.021210795268416405,
-0.00433051073923707,
-0.058625638484954834,
0.030497973784804344,
0.02645264007151127,
-0.0031982441432774067,
-0.10609365999698639,
-0.021446051076054573,
-0.04927462339401245,
0.0022927550598978996,
-0.10009389370679855,
-0.10392006486654282,
0.013458694331347942,
-0.06899838894605637,
0.03447437286376953,
0.14903876185417175,
-0.06159770116209984,
-0.009416099637746811,
-0.04071168974041939,
-0.006302518304437399,
0.03852757811546326,
0.08319959044456482,
0.029263431206345558,
0.012433080933988094,
-0.04619418457150459,
-0.04850837588310242,
-0.081538625061512,
-0.05020436644554138,
-0.044123325496912,
-0.028996426612138748,
-0.03916197270154953,
0.007440109271556139,
-0.05785152688622475,
-0.046102456748485565,
-0.002114728093147278,
0.005875406786799431,
0.05297616124153137,
-0.009092926979064941,
0.10782431811094284,
0.027773603796958923,
-0.058119647204875946,
-0.008564183488488197,
0.029775066301226616,
-0.04687230661511421,
-0.023285437375307083,
-0.0525808110833168,
0.07962137460708618,
-0.02205061726272106,
0.017283393070101738,
0.04216211289167404,
-0.024174783378839493,
-0.03704700618982315,
0.03421705216169357,
-0.039628613740205765,
0.036362189799547195,
0.043141454458236694,
0.012793631292879581,
0.0017262437613680959,
0.003920105751603842,
0.006177329458296299,
-0.022016171365976334,
0.0048080747947096825,
-0.018624627962708473,
0.015199336223304272,
-0.0031979826744645834,
0.04935774579644203,
0.01409173384308815,
0.056502435356378555,
0.0021600413601845503,
0.03853738680481911,
0.061970360577106476,
0.03906208276748657,
0.010145755484700203,
0.005662685260176659,
-0.04077926278114319,
-0.003645360702648759,
-0.04327037185430527,
-0.010386536829173565,
0.06148028001189232,
0.011006804183125496,
-0.005477858707308769,
-0.015761008486151695,
-0.021328873932361603,
-0.06327690929174423,
0.016137292608618736,
0.005340704694390297,
0.03667875751852989,
0.026500143110752106,
-0.01707467995584011,
0.022397886961698532,
0.012874043546617031,
-0.01451092679053545,
-0.011529707349836826,
-0.004602831322699785,
0.006064047105610371,
-0.009794586338102818,
-0.012414736673235893,
-0.04420090466737747,
0.004578443244099617,
0.027175066992640495,
0.011389842256903648,
0.03514828532934189,
0.04955769702792168,
-0.0712072029709816,
-0.004669598303735256,
-0.005063260905444622,
-0.0026584742590785027,
0.018656659871339798,
-0.015850039198994637,
0.01463824138045311,
0.023230675607919693,
0.0030531487427651882,
0.024138959124684334,
0.0027084031607955694,
0.016858432441949844,
0.0020693601109087467,
-0.021055137738585472,
0.03859042376279831,
-0.029732348397374153,
0.0221291221678257,
-0.005845929495990276,
0.009271937422454357,
0.008161403238773346,
0.011957843787968159,
0.018526125699281693,
-0.01830444298684597,
0.006044099107384682,
-0.019591616466641426,
0.008631276898086071,
0.04180759936571121,
-0.016662221401929855,
-0.026014165952801704,
-0.004551400430500507,
-0.016075408086180687,
0.013782679103314877,
0.01952819712460041,
-0.007642089854925871,
-0.018180595710873604,
0.018966298550367355,
0.02835698239505291,
0.015529243275523186,
0.019676649942994118,
0.04947882518172264,
0.03432217240333557,
0.0068021803162992,
0.0004734200774691999,
0.012878340668976307,
0.03491285443305969,
-0.0162255447357893,
-0.03316287696361542,
-0.034447815269231796,
0.05786970630288124,
-0.01694614440202713,
0.04403425380587578,
0.005632875021547079,
-0.020523281767964363,
0.0033660694025456905,
0.015864098444581032,
0.0034598803613334894,
-0.04029551520943642,
-0.03125033527612686,
-0.011132664047181606,
0.0062906453385949135,
-0.06318188458681107,
0.003260955447331071,
-0.04773598909378052,
0.006085176486521959,
-0.016774088144302368,
0.00017742444470059127,
0.03182372450828552,
-0.04586056247353554,
-0.03596598282456398,
0.05292705446481705,
0.02825874835252762,
0.08014208823442459,
-0.005745144560933113,
0.0011843672255054116,
0.01924586109817028,
-0.040262628346681595,
-0.0028533912263810635,
-0.03343906253576279,
0.0429152213037014,
0.03776541352272034,
-0.050529468804597855,
-0.023125996813178062,
-0.0017920583486557007,
0.0004233086947351694,
0.026966163888573647,
0.005790540017187595,
-0.007530229166150093,
-0.004429067485034466,
-0.015306588262319565,
0.04199348762631416,
-0.01734611764550209,
-0.034820377826690674,
-0.010643422603607178,
-0.007961183786392212,
-0.0016111275181174278,
-0.00540050957351923,
0.048209816217422485,
0.0038034506142139435,
0.0040165819227695465,
0.01521122083067894,
-0.01536568347364664,
-0.005502913612872362,
0.011603675782680511,
0.03447314724326134,
-0.006250804290175438,
0.024016616865992546,
-0.02166500687599182,
-0.0005137164844200015,
0.040652330964803696,
0.02578846551477909,
-0.02300703153014183,
0.012501992285251617,
-0.029917264357209206,
-0.017586134374141693,
0.03504692390561104,
-0.0034350974019616842,
-0.0285714790225029,
-0.006670958828181028,
-0.04172075539827347,
0.044578101485967636,
-0.009465660899877548,
-0.009691698476672173,
-0.00043074419954791665,
-0.012280980125069618,
0.043776948004961014,
-0.0148039935156703,
0.016961539164185524,
0.008444130420684814,
0.029032528400421143,
-0.014930438250303268,
-0.005113798193633556,
-0.03224264085292816,
0.05210636928677559,
-0.015200437046587467,
0.00027755359769798815,
-0.006183634977787733,
-0.01315369177609682,
0.009039308875799179,
-0.02870863676071167,
0.02358081005513668,
0.03793451935052872,
-0.0016694971127435565,
-0.0031025526113808155,
-0.025275442749261856,
-0.013949518091976643,
-0.011189015582203865,
0.014539474621415138,
0.008748328313231468,
-0.019477752968668938,
0.022969461977481842,
0.017127374187111855,
-0.031044455245137215,
-0.047298721969127655,
-0.003052489133551717,
0.08131100237369537,
0.013406643643975258,
-0.0374213270843029,
-0.026393650099635124,
0.04607110470533371,
0.04603353515267372,
0.004610504023730755,
0.02534184604883194,
-0.026525937020778656,
0.026927880942821503,
0.02731834352016449,
0.007312410045415163,
-0.0017957360250875354,
-0.041974522173404694,
-0.002698614029213786,
-0.01621275767683983,
-0.03634404391050339,
-0.022125767543911934,
-0.04086928442120552,
-0.046780720353126526,
-0.018816031515598297,
0.026561975479125977,
0.06354737281799316,
0.023258380591869354,
0.011109529063105583,
0.0336017906665802,
-0.03023546002805233,
-0.05797013267874718,
0.05318249389529228,
-0.0012668002163991332,
0.05073316767811775,
0.006830439902842045,
0.07336178421974182,
0.04178360849618912,
-0.013259924948215485,
-0.028554389253258705,
-0.03148797154426575,
0.0124950697645545,
-0.012036141939461231,
-0.02908209338784218,
0.030073605477809906,
-0.029745126143097878,
-0.008588919416069984,
0.06184382364153862,
-0.01455963496118784,
-0.012055423110723495,
-0.017663005739450455,
0.004908893723040819,
-0.018793510273098946,
-0.012896635569632053,
-0.014558549039065838,
0.01572619192302227,
-0.002852584468200803,
0.000793677638284862,
0.03528663516044617,
-0.04913420230150223,
-0.005675747990608215,
-0.017900904640555382,
0.025122513994574547,
0.012254903092980385,
0.02940991334617138,
-0.023360008373856544,
0.02819923125207424,
0.04523495212197304,
0.006166676990687847,
0.0622701570391655,
-0.04374970868229866,
0.0027298557106405497,
-0.011462955735623837,
-0.03771710768342018,
0.031585995107889175,
-0.04853029176592827,
-0.06955112516880035,
-0.005173820070922375,
-0.01995706558227539,
-0.013580217026174068,
0.009780637919902802,
-0.0079284543171525,
0.011007499881088734,
0.008082466199994087,
0.0271906740963459,
-0.007939056493341923,
-0.019123392179608345,
-0.0037200155202299356,
0.0027956590056419373,
-0.025769365951418877,
-0.013166094198822975,
-0.004520241636782885,
-0.01402172539383173,
-0.0278363935649395,
-0.05289696529507637,
0.07395540177822113,
0.04173335060477257,
0.0060911332257092,
-0.015327096916735172,
0.026596931740641594,
0.01949760876595974,
0.021167170256376266,
-0.020693939179182053,
0.031337399035692215,
-0.01376697514206171,
-0.015357398428022861,
0.024887602776288986,
-0.005111757665872574,
-0.0018181903287768364,
-0.017888128757476807,
-0.005937879905104637,
-0.03560032323002815,
0.0011142210569232702,
0.0662309005856514,
-0.042798783630132675,
0.08461848646402359,
-0.0143276397138834,
-0.015711430460214615,
0.05802551656961441,
0.022208265960216522,
-0.009266018867492676,
-0.02938268706202507,
-0.002022168831899762,
-0.032160382717847824,
-0.008159710094332695,
-0.033950868993997574,
-0.00011907634325325489,
-0.02117413468658924,
0.025849254801869392,
-0.03452770784497261,
-0.010798810049891472,
0.05534649267792702,
0.06804747879505157,
0.016572631895542145,
0.05643559992313385,
0.020059823989868164,
0.06006304547190666,
0.03088867850601673,
0.017311351373791695,
0.024932270869612694,
-0.05047473683953285,
0.042740143835544586,
-0.01250572968274355,
0.03772825747728348,
-0.0050760130397975445,
-0.0005754475714638829,
0.036045242100954056,
-0.014551772736012936,
0.04135829210281372,
-0.0026333157438784838,
0.0625368133187294,
-0.008900918997824192,
0.04403243586421013,
0.03818076476454735,
0.039499107748270035,
0.019231529906392097,
0.023305179551243782,
0.013308818452060223,
0.009297489188611507,
0.03570179641246796,
-0.05515236034989357,
0.0006983325583860278,
0.029971761628985405,
0.04343804717063904,
-0.029336456209421158,
-0.023169562220573425,
-0.025571700185537338,
-0.01778922602534294,
0.009089983068406582,
0.024490345269441605,
0.003406461328268051,
0.011418337933719158,
-0.0029795432928949594,
0.006082071922719479,
-0.03312840312719345,
-0.018625224009156227,
0.0032825497910380363,
0.002195131964981556,
0.009248791262507439,
0.006562205031514168,
0.04583650827407837,
0.011392015032470226,
-0.0019125897670164704,
-0.029056431725621223,
0.022232476621866226,
-0.0008363702800124884,
0.028849657624959946,
0.04563923180103302,
-0.009039325639605522,
-0.009991968050599098,
-0.0015090852975845337,
-0.031174130737781525,
-0.008488028310239315,
0.03760361671447754,
-0.02354905568063259,
-0.014141645282506943,
-0.027446376159787178,
0.03923940286040306,
0.01087676640599966,
0.05416285619139671,
-0.0006572818965651095,
0.0051171062514185905,
-0.07127510756254196,
-0.0051468233577907085,
0.04487254098057747,
0.0075099775567650795,
-0.04347463697195053,
-0.05253271386027336,
0.002735025016590953,
0.005164532922208309,
0.03036440908908844,
0.021450163796544075,
0.07826676219701767,
-0.01407015509903431,
0.002473494503647089,
-0.04268530383706093,
-0.006950767245143652,
-0.007219341583549976,
0.02310986816883087,
0.011564120650291443,
-0.015877166762948036,
-0.0024152237456291914,
0.002782065188512206,
-0.019996583461761475,
0.018052618950605392,
0.019786495715379715,
0.037945397198200226,
0.011552753858268261,
-0.0504949688911438,
-0.007713104598224163,
0.037528909742832184,
0.0013148951111361384,
0.05776800960302353,
0.027822837233543396,
-0.017703497782349586,
0.031181445345282555,
-0.04594440385699272,
-0.013267671689391136,
-0.041686467826366425,
-0.03603047505021095,
0.011356236413121223,
-0.0033059343695640564,
-0.02386336773633957,
0.039070386439561844,
0.018535612151026726,
0.05203976482152939,
-0.01693837344646454,
0.026594223454594612,
-0.02860955148935318,
-0.026735510677099228,
0.021082239225506783,
-0.004816330503672361,
0.08749108761548996,
0.04845641925930977,
-0.005400910507887602,
0.000019936220269300975,
-0.03813924267888069,
0.018799137324094772,
-0.005358545109629631,
0.052859608083963394,
0.05311701446771622,
-0.009578225202858448,
-0.010091731324791908,
-0.06206614524126053,
-0.006799495313316584,
-0.006229272112250328,
-0.033440932631492615,
0.012743664905428886,
0.03014197014272213,
0.007523400709033012,
-0.00955545250326395,
0.028502758592367172,
0.023989861831068993,
-0.011489576660096645,
0.026161974295973778,
-0.004586263094097376,
-0.028099045157432556,
0.024548202753067017,
-0.011125240474939346,
-0.05784491077065468,
-0.0042941514402627945,
0.014180543832480907,
-0.016724159941077232,
0.056937817484140396,
-0.02255607582628727,
0.027363331988453865,
-0.04743495211005211,
0.003491427982226014,
0.019163016229867935,
-0.025543121621012688,
-0.0498044528067112,
0.014263471588492393,
0.019027559086680412,
-0.03570690006017685,
0.00781763531267643,
-0.01076286006718874,
0.015108263120055199,
0.04384177178144455,
-0.053511809557676315,
0.022029969841241837,
-0.03528580069541931,
-0.0006054231780581176,
-0.01419917307794094,
0.0032701867166906595,
0.019176550209522247,
-0.008169777691364288,
0.040726833045482635,
-0.0011842967942357063,
-0.034675322473049164,
-0.014338281936943531
] |
Rocket Money x Hugging Face: Scaling Volatile ML Models in Production | nicokuzak | September 19, 2023 | rocketmoney-case-study | case-studies | https://huggingface.co/blog/rocketmoney-case-study | "Overall, the experience of working hand in hand with Hugging Face on model deployment has been enriching for our team and has instilled in us the confidence to push for greater scale"- Nicolas Kuzak, Senior ML Engineer at Rocket Money. Once the contract was signed, we began the migration of moving off our regex based system to direct an increasing amount of critical path traffic to the transformer model. Internally, we had to build some new telemetry for both model and production data monitoring. Given that this system is positioned so early in the product experience, any inaccuracies in model outcomes could significantly impact business metrics. We ran an extensive experiment where new users were split equally between the old system and the new model. We assessed model performance in conjunction with broader business metrics, such as paid user retention and engagement. The ML model clearly outperformed in terms of retention, leading us to confidently make the decision to scale the system - first to new users and then to existing users - ramping to 100% over a span of two months. With the model fully positioned in the transaction processing pipeline, both uptime and latency became major concerns. Many of our downstream processes rely on classification results, and any complications can lead to delayed data or incomplete enrichment, both causing a degraded user experience. The inaugural year of collaboration between Rocket Money and Hugging Face was not without its challenges. Both teams, however, displayed remarkable resilience and a shared commitment to resolving issues as they arose. One such instance was when we expanded the number of classes in our second production model, which unfortunately led to an outage. Despite this setback, the teams persevered, and we've successfully avoided a recurrence of the same issue. Another hiccup occurred when we transitioned to a new model, but we still received results from the previous one due to caching issues on Hugging Face's end. This issue was swiftly addressed and has not recurred. Overall, the experience of working hand in hand with Hugging Face on model deployment has been enriching for our team and has instilled in us the confidence to push for greater scale. Speaking of scale, as we started to witness a significant increase in traffic to our model, it became clear that the cost of inference would surpass our projected budget. We made use of a caching layer prior to inference calls that significantly reduces the cardinality of transactions and attempts to benefit from prior inference. Our problem technically could achieve a 93% cache rate, but we’ve only ever reached 85% in a production setting. With the model serving 100% of predictions, we’ve had a few milestones on the Rocket Money side - our model has been able to scale to a run rate of over a billion transactions per month and manage the surge in traffic as we climbed to the #1 financial app in the app store and #7 overall, all while maintaining low latency. | [
-0.05184769630432129,
-0.01881401427090168,
0.008720826357603073,
0.011212639510631561,
0.004056534264236689,
0.05781789869070053,
-0.0006872204830870032,
0.0492677316069603,
-0.009962371550500393,
-0.07270287722349167,
-0.05305927246809006,
0.06678333133459091,
-0.02924094721674919,
0.06275901943445206,
-0.04475760832428932,
-0.0864163413643837,
0.006250697188079357,
0.012166528031229973,
-0.019682612270116806,
0.0366659089922905,
0.0018867969047278166,
-0.0490102656185627,
0.051888033747673035,
0.029998475685715675,
-0.05744481831789017,
-0.06634380668401718,
-0.01002405770123005,
-0.06058923900127411,
-0.013048493303358555,
0.08034306019544601,
-0.061736539006233215,
-0.03989805653691292,
0.008168988861143589,
-0.00734802195802331,
-0.012858228757977486,
0.030086802318692207,
-0.0836387425661087,
0.035821184515953064,
0.004382837563753128,
-0.06264379620552063,
0.08029528707265854,
-0.015273245982825756,
-0.08747583627700806,
0.036307528614997864,
0.006403445731848478,
-0.038930632174015045,
-0.11996586620807648,
0.04238111525774002,
-0.007634165231138468,
-0.01558314822614193,
-0.12683890759944916,
0.044302601367235184,
-0.005191403906792402,
-0.014513056725263596,
0.025947600603103638,
-0.03963799774646759,
-0.026047231629490852,
-0.06484568864107132,
0.041029155254364014,
-0.0023165452294051647,
0.05525011941790581,
-0.06720983237028122,
0.05612856149673462,
-0.04568744823336601,
-0.018289485946297646,
0.03853405639529228,
0.06538612395524979,
-0.015969349071383476,
-0.06285590678453445,
-0.022581076249480247,
0.09270621836185455,
-0.034031547605991364,
-0.04829627275466919,
-0.002749157138168812,
-0.0380760058760643,
-0.010068903677165508,
-0.005645062308758497,
0.015203731134533882,
0.018249643966555595,
0.02466956339776516,
-0.05606505647301674,
-0.021662352606654167,
0.02513684146106243,
0.05670915171504021,
0.04837070778012276,
0.01449146494269371,
0.06059635058045387,
-0.06972229480743408,
-0.049113355576992035,
0.049353498965501785,
0.009499119594693184,
-0.09195576608181,
0.004991509485989809,
0.0711834505200386,
0.020898036658763885,
-0.041474077850580215,
0.003285515122115612,
0.021515751257538795,
0.0016504714731127024,
-0.06464312970638275,
0.008701319806277752,
-0.06987231969833374,
-0.007057582959532738,
-0.004517836961895227,
-0.019164858385920525,
0.03903215378522873,
-0.04354175180196762,
-0.059464581310749054,
-0.0035961573012173176,
0.012626036070287228,
0.01830519549548626,
-0.022641390562057495,
0.04555688053369522,
0.045708782970905304,
-0.0787351205945015,
0.03682730719447136,
-0.07534201443195343,
0.006193205714225769,
0.0314643532037735,
-0.03626216948032379,
0.08244683593511581,
0.06581996381282806,
-0.02652057260274887,
-0.07280329614877701,
-0.008375980891287327,
0.047166649252176285,
-0.0002925388980656862,
0.008035348728299141,
-0.0021715937182307243,
-0.042840901762247086,
-0.00768753606826067,
-0.03354208543896675,
-0.035909757018089294,
0.009130963124334812,
-0.04179800674319267,
-0.03374427929520607,
0.030751947313547134,
-0.0953698381781578,
0.03457457944750786,
0.0051607307977974415,
-0.035542748868465424,
0.07119148969650269,
0.008770658634603024,
0.040154535323381424,
0.07927115261554718,
-0.007816005498170853,
-0.05844854563474655,
0.035201478749513626,
-0.001543588237836957,
-0.015397933311760426,
-0.08617205917835236,
-0.006946696899831295,
-0.07380162179470062,
-0.026475057005882263,
0.020533597096800804,
0.05631531402468681,
-0.02004386857151985,
0.014427028596401215,
-0.046517644077539444,
0.014523880556225777,
-0.0908975824713707,
-0.009015473537147045,
-0.024789996445178986,
0.0063702561892569065,
0.04596254602074623,
0.02541487105190754,
0.016419613733887672,
-0.012414597906172276,
-0.05526203662157059,
0.016143811866641045,
-0.006407695822417736,
-0.00901208259165287,
0.06649374961853027,
-0.027747903019189835,
-0.0006233836757019162,
0.0385548360645771,
-0.0026081267278641462,
0.06154501810669899,
-0.003896977985277772,
0.009008948691189289,
-0.04406324401497841,
0.09974725544452667,
0.05665687471628189,
0.07956350594758987,
-0.004434741567820311,
-0.09282415360212326,
0.03224814683198929,
0.019184401258826256,
-0.07873144000768661,
0.06024031341075897,
-0.1042754203081131,
0.023718902841210365,
0.054192740470170975,
-0.08068344742059708,
0.019490882754325867,
-0.0009151559206657112,
0.0064417216926813126,
0.11632492393255234,
0.021405646577477455,
0.02854876033961773,
0.03203616291284561,
0.026697667315602303,
0.04250999912619591,
-0.05055154860019684,
-0.005310435313731432,
-0.034534815698862076,
0.028910420835018158,
-0.05932077020406723,
-0.014000529423356056,
0.035955317318439484,
-0.01916893944144249,
-0.09777066856622696,
-0.02345060370862484,
-0.03789519891142845,
-0.008069624193012714,
-0.06355462223291397,
-0.06303711980581284,
-0.008428674191236496,
-0.06870676577091217,
0.04138121381402016,
0.1601306051015854,
-0.0071343109011650085,
0.015254534780979156,
-0.017019594088196754,
0.03927505761384964,
-0.01927916333079338,
0.07789143174886703,
0.03325335681438446,
0.05522868409752846,
-0.05161513388156891,
-0.05194665491580963,
-0.1044081449508667,
-0.0422857291996479,
0.0022953273728489876,
-0.012477429583668709,
0.005249547306448221,
-0.007781063672155142,
-0.05985374376177788,
-0.06388597935438156,
-0.0032668474595993757,
-0.02173854596912861,
0.01236136257648468,
0.030973758548498154,
0.051651712507009506,
-0.007692421320825815,
-0.03668764606118202,
0.005587472114712,
0.01502144243568182,
-0.05114227905869484,
-0.005477045197039843,
-0.09646005183458328,
0.09080572426319122,
-0.019761016592383385,
0.015047521330416203,
0.047452282160520554,
-0.011498123407363892,
0.006509250495582819,
0.008978460915386677,
-0.03996217995882034,
0.017352541908621788,
0.030849676579236984,
-0.017092851921916008,
0.013037693686783314,
-0.0046154810115695,
0.012481307610869408,
0.0033860262483358383,
-0.021565351635217667,
0.012369880452752113,
0.006294786464422941,
0.015360136516392231,
0.04288950562477112,
-0.031126564368605614,
0.053929127752780914,
0.018045645207166672,
-0.0018687797710299492,
0.039090678095817566,
0.021074237301945686,
-0.0102574797347188,
0.0021332872565835714,
-0.03791604936122894,
0.020240992307662964,
-0.046259764581918716,
0.004900764208287001,
0.05278833210468292,
0.03833427652716637,
-0.005227741785347462,
0.012642067857086658,
-0.03241489827632904,
-0.06565817445516586,
0.007086173165589571,
0.019208315759897232,
0.021298423409461975,
0.013643166050314903,
-0.008062222972512245,
0.0285145565867424,
0.0033316509798169136,
-0.010469263419508934,
-0.013761748559772968,
0.0012081107124686241,
0.009007398039102554,
-0.02109246514737606,
0.020147711038589478,
-0.009787033312022686,
-0.008721642196178436,
0.015729613602161407,
-0.0033272691071033478,
0.029508333653211594,
0.05712888762354851,
-0.0857912003993988,
-0.004506033379584551,
0.013902130536735058,
0.01702932082116604,
-0.026439635083079338,
-0.04140773415565491,
0.033079683780670166,
0.01582367718219757,
-0.009254415519535542,
0.023832641541957855,
0.0350889228284359,
0.026367444545030594,
0.015002853237092495,
-0.03804391995072365,
0.009401277638971806,
-0.03600694239139557,
0.013890203088521957,
-0.029154201969504356,
0.04571247473359108,
0.01595497876405716,
-0.030215084552764893,
0.00434136250987649,
-0.004734416026622057,
0.00930742733180523,
-0.025604844093322754,
0.032182466238737106,
0.0526825487613678,
-0.018677517771720886,
-0.0064466120675206184,
-0.018255606293678284,
-0.031880464404821396,
-0.01259254477918148,
-0.0064920405857264996,
-0.023730285465717316,
-0.005643106997013092,
0.009555014781653881,
-0.01338249258697033,
0.014475221745669842,
0.05615488067269325,
0.043371059000492096,
0.008769577369093895,
0.005572513677179813,
0.017892342060804367,
0.02226693369448185,
0.05767232924699783,
0.01598166860640049,
0.026635130867362022,
-0.04219452291727066,
0.058683887124061584,
-0.02737407572567463,
0.0038011393044143915,
0.0017512190388515592,
-0.02963138557970524,
0.029147449880838394,
0.020822489634156227,
0.033973246812820435,
-0.03723904490470886,
-0.03458237648010254,
-0.01166923251003027,
0.0038376811426132917,
-0.031738925725221634,
0.005073571112006903,
-0.026861414313316345,
-0.021224495023489,
-0.0019992091692984104,
0.02428736910223961,
0.02068217471241951,
-0.05099504813551903,
-0.04006819427013397,
0.04439805820584297,
0.002366069471463561,
0.08607053756713867,
-0.012978906743228436,
-0.0008396037737838924,
0.035089269280433655,
-0.027860941365361214,
0.009176517836749554,
-0.017844481393694878,
0.05931144952774048,
-0.002180760493502021,
-0.023008398711681366,
-0.02992015704512596,
-0.0165852177888155,
-0.026395704597234726,
0.009575283154845238,
0.02268320694565773,
0.01764402538537979,
-0.00248697935603559,
-0.019805898889899254,
0.05357371270656586,
0.0020799001213163137,
-0.0422879233956337,
-0.01587372086942196,
-0.02181011252105236,
-0.00046922999899834394,
-0.022943837568163872,
0.028446665033698082,
-0.016602780669927597,
-0.01371685229241848,
0.01965819112956524,
-0.01412366982549429,
-0.026460669934749603,
0.01242695190012455,
-0.0005111537175253034,
0.01143864169716835,
0.006736209150403738,
-0.03384461626410484,
-0.013475418090820312,
0.016246814280748367,
0.01117485947906971,
0.01083858497440815,
0.054326411336660385,
-0.002686826279386878,
-0.01691911555826664,
0.025614356622099876,
0.028766987845301628,
-0.008037691004574299,
-0.017426060512661934,
-0.04387160390615463,
0.04079366475343704,
-0.01893986575305462,
-0.027649838477373123,
0.0073990956880152225,
0.00430688913911581,
0.03968427702784538,
-0.0049403212033212185,
0.022359365597367287,
0.019204070791602135,
0.008563872426748276,
-0.029873136430978775,
-0.009230928495526314,
-0.009096604771912098,
0.08654162287712097,
-0.016893940046429634,
0.00362694775685668,
0.014102932065725327,
-0.006678271573036909,
0.03154163435101509,
-0.04713503271341324,
-0.02535155415534973,
0.06813278794288635,
0.02581261284649372,
0.004936453886330128,
-0.005874426569789648,
-0.015281225554645061,
-0.007123757153749466,
0.014292092062532902,
0.009325089864432812,
-0.02802491933107376,
0.008638802915811539,
0.005987015552818775,
-0.041409850120544434,
-0.03623019903898239,
0.061323683708906174,
0.07238511741161346,
-0.010411588475108147,
-0.029924945905804634,
-0.013165604323148727,
0.030648507177829742,
0.0493515245616436,
-0.008191161789000034,
0.02736382745206356,
-0.027646178379654884,
0.03644464537501335,
0.007080881390720606,
-0.0034944680519402027,
-0.011907924897968769,
-0.05252756550908089,
0.016909057274460793,
0.020343517884612083,
-0.014324462041258812,
-0.023086972534656525,
-0.012480408884584904,
-0.04041539132595062,
0.008573486469686031,
0.014925030060112476,
0.031327735632658005,
-0.021015603095293045,
0.0019435571739450097,
0.05362347140908241,
-0.02908579260110855,
-0.0066537922248244286,
0.03596845269203186,
0.017048178240656853,
0.058307260274887085,
-0.006472630426287651,
0.06510542333126068,
0.07762720435857773,
0.02525395154953003,
0.011022879742085934,
-0.001850815606303513,
-0.008842128328979015,
0.02711235173046589,
-0.04529092460870743,
0.006433425471186638,
-0.006379689089953899,
-0.01812327839434147,
0.0514884889125824,
-0.002221521222963929,
0.003949422389268875,
-0.01184496097266674,
0.016512302681803703,
-0.006886200979351997,
-0.008031795732676983,
0.019205642864108086,
-0.017353449016809464,
0.008407383225858212,
0.037143055349588394,
0.009816739708185196,
-0.014803044497966766,
-0.020016085356473923,
0.026301367208361626,
0.0008689577225595713,
0.0011698758462443948,
0.02049032226204872,
-0.038698770105838776,
-0.00851576030254364,
0.07170036435127258,
0.036703579127788544,
0.06965875625610352,
-0.025359850376844406,
-0.012391707859933376,
-0.01481079775840044,
-0.021126169711351395,
0.039830077439546585,
-0.03894168138504028,
-0.03172910585999489,
0.02331201359629631,
-0.04741203784942627,
-0.0019655264914035797,
0.018135875463485718,
0.01410745270550251,
0.0132241016253829,
0.006439762189984322,
0.025427911430597305,
0.01189641933888197,
0.008975946344435215,
0.015915170311927795,
0.0017920322716236115,
-0.029080331325531006,
0.004213429056107998,
-0.02207663655281067,
-0.0029420393984764814,
-0.013103374280035496,
-0.020973781123757362,
0.05990977585315704,
0.03437194973230362,
-0.0165561456233263,
0.011267665773630142,
0.05384884402155876,
0.004498546943068504,
0.021518586203455925,
-0.024830574169754982,
0.026807986199855804,
0.0004956359625793993,
-0.019910933449864388,
0.016122935339808464,
0.019960302859544754,
0.0024538293946534395,
-0.03939512372016907,
0.03523927554488182,
-0.06188010796904564,
-0.0006843531737104058,
0.0047160726971924305,
-0.033006951212882996,
0.06358955800533295,
-0.023091796785593033,
-0.035952646285295486,
0.04352985695004463,
0.009962471202015877,
0.0066107832826673985,
-0.0024515939876437187,
-0.006597743835300207,
0.016492975875735283,
-0.02568657509982586,
0.007514768745750189,
0.023485226556658745,
-0.004450186621397734,
0.021906645968556404,
-0.03880488499999046,
-0.009675013832747936,
0.037873275578022,
0.06855034828186035,
0.02573457732796669,
0.04965166747570038,
-0.0021327040158212185,
0.05395238474011421,
0.009151303209364414,
0.050488073378801346,
0.033959243446588516,
-0.058497678488492966,
0.04198501259088516,
0.021431857720017433,
0.01103711687028408,
0.003310038475319743,
0.014499693177640438,
0.040242936462163925,
-0.014656092040240765,
0.023500997573137283,
0.020516814664006233,
0.030654476955533028,
0.02014250122010708,
0.039606984704732895,
0.02037121169269085,
0.03813154250383377,
0.03284881263971329,
0.03323960676789284,
0.027340050786733627,
0.03998595476150513,
0.0248123649507761,
-0.04281233996152878,
0.0046808854676783085,
-0.000366075400961563,
0.04283116012811661,
-0.03906813636422157,
-0.005128679797053337,
-0.0019995863549411297,
-0.002339172875508666,
0.0034941521007567644,
-0.004099686164408922,
-0.003277120878919959,
0.010329345241189003,
-0.011470221914350986,
0.012964521534740925,
0.00040903559420257807,
-0.009354261681437492,
-0.000512419268488884,
0.007934855297207832,
0.022831378504633904,
-0.0011190914083272219,
0.0028726819436997175,
0.039481163024902344,
0.001175489160232246,
-0.04424699768424034,
0.028917983174324036,
-0.02786392532289028,
0.042638711631298065,
0.029990559443831444,
-0.008799287490546703,
-0.005072416737675667,
-0.018340742215514183,
0.005304297432303429,
-0.01934867724776268,
0.006593424826860428,
0.002301897155120969,
-0.0335172675549984,
-0.026245586574077606,
0.02975812554359436,
0.03817329555749893,
0.029533930122852325,
0.027059875428676605,
0.01904323138296604,
-0.05513535067439079,
0.01567958854138851,
0.02761322259902954,
-0.030520806089043617,
-0.01490290928632021,
-0.05152853950858116,
0.00018747297872323543,
-0.026229115203022957,
0.036172375082969666,
-0.00046778933028690517,
0.07352767139673233,
-0.024312175810337067,
0.005156942177563906,
-0.046316713094711304,
0.0032844035886228085,
-0.013179725036025047,
0.034204237163066864,
0.004656981211155653,
-0.017594534903764725,
0.0018722786335274577,
0.013992002233862877,
-0.011570594273507595,
0.014450241811573505,
-0.005028793588280678,
0.08333412557840347,
-0.005679843481630087,
-0.03929058834910393,
-0.00800316035747528,
0.06870662420988083,
0.039255909621715546,
0.06176461651921272,
0.00969678908586502,
-0.022561805322766304,
0.0067237792536616325,
-0.05260790139436722,
0.003436056664213538,
-0.04309104382991791,
-0.037419747561216354,
-0.013311446644365788,
-0.01753268949687481,
-0.022890297695994377,
0.021950041875243187,
-0.013912349939346313,
0.012006632052361965,
-0.0359971784055233,
0.011857513338327408,
-0.009823678061366081,
0.007295691873878241,
0.01997435837984085,
-0.010316372849047184,
0.05284247174859047,
0.04137944430112839,
0.004380307160317898,
0.022121939808130264,
-0.03703215718269348,
0.02242172881960869,
0.02145836129784584,
0.029466113075613976,
0.060747187584638596,
-0.030407531186938286,
-0.004435378592461348,
-0.037048473954200745,
-0.03323143348097801,
0.005041610915213823,
-0.05076129734516144,
0.025019291788339615,
0.042391832917928696,
0.022759918123483658,
-0.014090478420257568,
0.013098794966936111,
0.029606709256768227,
-0.036291275173425674,
0.020700763911008835,
-0.0424715094268322,
-0.05920995771884918,
-0.008640246465802193,
0.01685892604291439,
-0.04056135192513466,
-0.0023028843570500612,
0.011717659421265125,
0.016092220321297646,
0.02595437690615654,
-0.007765864487737417,
-0.009691864252090454,
-0.0352780856192112,
-0.019469277933239937,
0.05562581866979599,
-0.026628665626049042,
-0.09393607079982758,
0.0008777335751801729,
0.0033163195475935936,
-0.02314157783985138,
0.015838155522942543,
-0.02928709238767624,
0.03384719416499138,
0.021524693816900253,
-0.03097127191722393,
0.03605102375149727,
-0.023913158103823662,
0.0026399397756904364,
-0.022078441455960274,
-0.021292705088853836,
0.0013793172547593713,
0.009348246268928051,
0.019975895062088966,
-0.02460516057908535,
-0.014368472620844841,
0.01150260679423809
] |
Rocket Money x Hugging Face: Scaling Volatile ML Models in Production | nicokuzak | September 19, 2023 | rocketmoney-case-study | case-studies | https://huggingface.co/blog/rocketmoney-case-study | The Journey Toward a New System We first extracted brands and products from transactions using regular expression-based normalizers. These were used in tandem with an increasingly intricate decision table that mapped strings to corresponding brands. This system proved effective for the first four years of the company when classes were tied only to the products we supported for cancellations and negotiations. However, as our user base grew, the subscription economy boomed and the scope of our product increased, we needed to keep up with the rate of new classes while simultaneously tuning regexes and preventing collisions and overlaps. To address this, we explored various traditional machine learning (ML) solutions, including a bag of words model with a model-per-class architecture. This system struggled with maintenance and performance and was mothballed. We decided to start from a clean slate, assembling both a new team and a new mandate. Our first task was to accumulate training data and construct an in-house system from scratch. We used Retool to build labeling queues, gold standard validation datasets, and drift detection monitoring tools. We explored a number of different model topologies, but ultimately chose a BERT family of models to solve our text classification problem. The bulk of the initial model testing and evaluation was conducted offline within our GCP warehouse. Here we designed and built the telemetry and system we used to measure the performance of a model with 4000+ classes. | [
0.010756663046777248,
-0.032502323389053345,
-0.018407385796308517,
0.017694441601634026,
0.08432348072528839,
0.0903734490275383,
-0.013795980252325535,
0.026130545884370804,
-0.007120298221707344,
-0.05967643857002258,
-0.022733135148882866,
0.040989067405462265,
-0.03833640366792679,
0.11197249591350555,
0.0645822063088417,
-0.052061159163713455,
0.06787867844104767,
-0.04116183519363403,
0.013658078387379646,
-0.020107414573431015,
-0.0520336888730526,
-0.031417474150657654,
0.07814540714025497,
0.06854978203773499,
0.059727005660533905,
-0.006253431551158428,
0.008409777656197548,
-0.01689153164625168,
-0.02790403924882412,
0.02210160344839096,
0.007946643978357315,
0.07080447673797607,
-0.037008412182331085,
-0.013979071751236916,
-0.09313537180423737,
0.019615640863776207,
-0.020353281870484352,
0.023539042100310326,
-0.05660974234342575,
-0.05349891632795334,
-0.0331396758556366,
-0.027089934796094894,
-0.056952912360429764,
0.04638059809803963,
0.005764463450759649,
0.03003801964223385,
-0.20876458287239075,
0.05383369326591492,
-0.024093197658658028,
-0.024234190583229065,
-0.12463003396987915,
0.011151627637445927,
-0.061670031398534775,
0.011142393574118614,
-0.022351214662194252,
-0.012935294769704342,
0.005430941935628653,
-0.07980934530496597,
-0.026353871449828148,
-0.001348929014056921,
0.029618795961141586,
0.031448543071746826,
0.02895723097026348,
-0.04185934737324715,
-0.00486602121964097,
-0.014291043393313885,
0.029394550248980522,
-0.03192059323191643,
-0.01714499481022358,
0.0037479030434042215,
0.07069876044988632,
-0.09617719054222107,
-0.0744929388165474,
-0.0033060384448617697,
-0.03369724005460739,
-0.024717288091778755,
0.029053818434476852,
-0.02452762797474861,
-0.012903989292681217,
0.028234971687197685,
-0.03824141249060631,
0.011865632608532906,
0.017238598316907883,
0.03003859333693981,
0.07612773776054382,
-0.008734297938644886,
0.06041503697633743,
-0.050622113049030304,
0.0006577683379873633,
0.03650866076350212,
-0.04030432924628258,
-0.10735897719860077,
0.02585870586335659,
0.028410648927092552,
0.029546143487095833,
-0.06040772423148155,
0.018107563257217407,
0.005836880765855312,
0.0024373740889132023,
-0.0734889954328537,
-0.00165841868147254,
-0.012922784313559532,
0.007504398934543133,
-0.0485040582716465,
-0.028728753328323364,
-0.003791379276663065,
-0.001582483877427876,
-0.07619962096214294,
-0.018223652616143227,
0.011394932866096497,
0.0565156415104866,
0.023821720853447914,
0.0288179162889719,
0.10637729614973068,
-0.04070177301764488,
0.052250269800424576,
0.025363612920045853,
-0.0025957084726542234,
0.018350141122937202,
-0.00961567834019661,
0.02449992671608925,
0.04722448065876961,
-0.010090743191540241,
-0.03422539308667183,
-0.03595098853111267,
-0.005182350520044565,
-0.003769409144297242,
0.009576583281159401,
-0.0006025271723046899,
-0.04983924701809883,
0.009079063311219215,
-0.03870274871587753,
-0.0034600768703967333,
0.009314124472439289,
-0.05846964195370674,
-0.0057173119857907295,
0.062392715364694595,
-0.04073169082403183,
0.021729420870542526,
-0.001177965896204114,
-0.020027052611112595,
0.07096567004919052,
-0.04835144057869911,
0.013717825524508953,
0.04602460190653801,
-0.01798212341964245,
-0.02170223370194435,
0.058700110763311386,
-0.038668714463710785,
-0.04256335645914078,
-0.08465686440467834,
-0.008657854981720448,
-0.04475420340895653,
-0.11568983644247055,
0.020009711384773254,
0.050990257412195206,
-0.017872372642159462,
-0.03573223948478699,
-0.02866690792143345,
0.022906145080924034,
-0.059258535504341125,
0.033605050295591354,
-0.04509042203426361,
0.006624865811318159,
0.02441548928618431,
-0.032898325473070145,
0.02866671420633793,
0.023709237575531006,
-0.06045091524720192,
0.020085766911506653,
0.022705327719449997,
-0.018235841765999794,
0.0695231631398201,
-0.027508560568094254,
0.00014689784438814968,
0.03735659271478653,
0.06908244639635086,
0.05292699113488197,
0.013189410790801048,
0.04513615369796753,
0.010385807603597641,
0.022688422352075577,
0.03657365217804909,
-0.01272193156182766,
0.04090852290391922,
-0.014510316774249077,
0.023264603689312935,
-0.03601863980293274,
-0.056632332503795624,
0.0694284588098526,
-0.05641387030482292,
0.0024716712068766356,
0.11457879841327667,
-0.030303165316581726,
0.02067120000720024,
0.0024063647724688053,
0.0028988064732402563,
0.11158476024866104,
0.03621892258524895,
0.04200001060962677,
0.020603403449058533,
0.02272804267704487,
0.011837761849164963,
-0.11037975549697876,
0.031889256089925766,
0.023425308987498283,
0.007149982266128063,
-0.04418088123202324,
-0.00765183987095952,
0.0038198332767933607,
-0.012547384947538376,
-0.11146149784326553,
-0.034694064408540726,
-0.0795111134648323,
0.027998941019177437,
-0.06983128190040588,
0.011748249642550945,
0.049651388078927994,
0.007709309458732605,
-0.058831747621297836,
0.14615675806999207,
-0.08348134905099869,
-0.025976406410336494,
0.006262816954404116,
-0.05035450682044029,
0.004394330084323883,
0.07880197465419769,
-0.00531340204179287,
0.09951803088188171,
-0.06025436148047447,
0.01732635870575905,
-0.06209724396467209,
0.04958789050579071,
-0.004930661525577307,
-0.03292585536837578,
0.019336678087711334,
0.02065189555287361,
-0.04134272411465645,
0.0590866357088089,
-0.014419703744351864,
0.03285793587565422,
0.016880564391613007,
-0.02353045903146267,
0.07090995460748672,
-0.010983671993017197,
-0.010890436358749866,
0.050771910697221756,
0.01900728978216648,
-0.030975498259067535,
-0.09009212255477905,
-0.025648972019553185,
0.02359900251030922,
-0.03684306889772415,
0.0005013540503568947,
0.051367200911045074,
-0.018326830118894577,
-0.001164303976111114,
0.042015329003334045,
-0.013016432523727417,
0.026240918785333633,
0.020983295515179634,
-0.011347445659339428,
0.0009836185490712523,
-0.04508194327354431,
0.028169305995106697,
-0.023873887956142426,
0.02306455932557583,
-0.009154981933534145,
0.017031732946634293,
0.02176344208419323,
0.015418603084981441,
-0.04980683699250221,
0.005612652748823166,
0.014531059190630913,
0.002826702781021595,
0.03216821327805519,
-0.00022434181300923228,
-0.027442507445812225,
0.004475479479879141,
-0.027256464585661888,
0.0499495267868042,
-0.012298894114792347,
0.039857786148786545,
0.030166344717144966,
0.012371355667710304,
-0.03165134787559509,
0.0052901399321854115,
0.006889434531331062,
-0.008665543980896473,
0.04360882192850113,
0.058409374207258224,
0.04767497256398201,
-0.060319915413856506,
-0.007300288416445255,
0.05397448316216469,
-0.035718634724617004,
-0.0027492239605635405,
-0.0028216508217155933,
-0.012232332490384579,
0.039070114493370056,
0.0032645100727677345,
0.030824976041913033,
-0.028487011790275574,
-0.0004755221016239375,
-0.00887154508382082,
0.010807615704834461,
0.015909694135189056,
0.02544470503926277,
-0.09950084239244461,
-0.019895754754543304,
0.025400755926966667,
0.02459511160850525,
-0.031521283090114594,
-0.03693355619907379,
0.06463723629713058,
0.00907767005264759,
-0.01795489527285099,
0.028627729043364525,
-0.0024970686063170433,
0.05561754107475281,
0.02330859564244747,
0.004198291338980198,
0.010530572384595871,
0.012240367010235786,
-0.029737593606114388,
-0.01411266066133976,
-0.008718621917068958,
0.017489351332187653,
-0.030261818319559097,
0.037367962300777435,
0.002838817425072193,
0.0034880705643445253,
-0.04708503559231758,
0.025291305035352707,
-0.039219800382852554,
0.03158361464738846,
0.002894359640777111,
0.018023015931248665,
-0.053653959184885025,
-0.009737763553857803,
-0.012968884781002998,
0.010209607891738415,
0.0099633252248168,
-0.015935247763991356,
-0.027809111401438713,
0.011766456067562103,
0.00901362020522356,
0.05558482185006142,
0.017124474048614502,
0.02997519262135029,
0.017323050647974014,
0.013445131480693817,
0.00893335323780775,
0.014853978529572487,
-0.012280170805752277,
-0.023551389575004578,
0.010047383606433868,
-0.026278570294380188,
-0.0226035937666893,
-0.021948132663965225,
-0.020435769110918045,
0.041779473423957825,
-0.012254182249307632,
-0.040316734462976456,
-0.00684928335249424,
-0.026508325710892677,
0.004384693223983049,
0.0028762314468622208,
0.03426845744252205,
0.018010949715971947,
0.004362738225609064,
-0.022146960720419884,
-0.016790110617876053,
0.017657654359936714,
0.07157405465841293,
0.009144599549472332,
-0.04406612366437912,
0.0581488236784935,
-0.011311713606119156,
0.07185699790716171,
-0.005976055283099413,
0.0016100003849714994,
0.020708125084638596,
-0.0014823675155639648,
0.04689532145857811,
-0.009223042987287045,
0.07299159467220306,
0.0024796826764941216,
0.022272318601608276,
-0.006211061496287584,
-0.009244867600500584,
-0.05608866736292839,
0.009447621181607246,
-0.00914904847741127,
0.012412942945957184,
-0.028738776221871376,
-0.0366298109292984,
0.020337091758847237,
0.055202238261699677,
-0.03612089529633522,
-0.03847583010792732,
0.024375582113862038,
0.0027276005130261183,
-0.010047576390206814,
0.06116005405783653,
-0.010054483078420162,
-0.032350677996873856,
-0.006443461868911982,
0.027211979031562805,
-0.032105766236782074,
-0.017590424045920372,
0.035762969404459,
0.039374519139528275,
0.050457507371902466,
-0.03937196359038353,
-0.03594187647104263,
0.018364127725362778,
-0.00031920825131237507,
-0.008718891069293022,
0.04746736213564873,
0.0006917122518643737,
-0.061450790613889694,
0.003858252428472042,
0.02635267563164234,
-0.025751354172825813,
0.005169822834432125,
0.00017466710414737463,
0.020388538017868996,
0.005456956569105387,
0.002409265609458089,
0.03283938020467758,
0.02373776026070118,
0.01033715158700943,
-0.04142632707953453,
0.04798633232712746,
0.03563448414206505,
0.00272854114882648,
-0.024045823141932487,
-0.013551421463489532,
-0.05104149505496025,
0.05799628794193268,
0.003619094379246235,
0.03890744969248772,
-0.02647610381245613,
0.020868491381406784,
0.01025326270610094,
-0.04474726691842079,
0.003858967451378703,
-0.006385487038642168,
-0.009166788309812546,
0.05369656905531883,
-0.023970313370227814,
0.022796278819441795,
-0.027718573808670044,
0.011317037977278233,
-0.0335388220846653,
0.008864060044288635,
0.045745767652988434,
-0.029939277097582817,
-0.053348761051893234,
-0.05490894988179207,
0.04595620557665825,
0.018173543736338615,
-0.0460997112095356,
0.005526349879801273,
0.03368588536977768,
0.024511801078915596,
0.05653099715709686,
-0.021065259352326393,
0.011503026820719242,
-0.020772989839315414,
-0.0030620961915701628,
0.026975737884640694,
0.0013507825788110495,
-0.0014721235493198037,
-0.021858828142285347,
0.017886992543935776,
0.010691612958908081,
-0.004448664374649525,
-0.011462519876658916,
-0.0014428155263885856,
-0.012029867619276047,
0.012785229831933975,
0.03681742772459984,
0.019899530336260796,
-0.004423832055181265,
-0.05379951372742653,
0.019171081483364105,
-0.04616397246718407,
0.014474878087639809,
0.008739433251321316,
-0.004925181157886982,
0.035045694559812546,
0.007963201031088829,
0.025031473487615585,
0.020179592072963715,
-0.02045048028230667,
0.04041648283600807,
-0.010399130173027515,
-0.006528809666633606,
0.026520729064941406,
-0.024470172822475433,
-0.01669570617377758,
-0.013363982550799847,
0.0001813134440453723,
0.0485391691327095,
-0.03356475010514259,
-0.02261284552514553,
0.009353947825729847,
0.033715300261974335,
-0.011116955429315567,
-0.01755346544086933,
0.040279190987348557,
0.03943151235580444,
0.018313121050596237,
-0.04383505880832672,
0.02060830034315586,
-0.025503842160105705,
0.0027775403577834368,
0.0340416394174099,
0.010848982259631157,
-0.016381770372390747,
-0.01847265660762787,
-0.07366924732923508,
-0.009262059815227985,
0.05608190596103668,
0.023887842893600464,
0.03272365406155586,
-0.03045709617435932,
0.01567404717206955,
-0.006131383590400219,
0.048337142914533615,
0.0004096913617104292,
-0.024550234898924828,
0.024965286254882812,
0.005011623725295067,
0.0015890175709500909,
0.013095812872052193,
-0.0010660996194928885,
-0.00451038870960474,
-0.0051635331474244595,
0.035173431038856506,
0.013123088516294956,
-0.0012999718310311437,
-0.024337127804756165,
0.02713342010974884,
0.019215917214751244,
0.0055447774939239025,
-0.0012548238737508655,
-0.058324724435806274,
-0.028395365923643112,
-0.014048958197236061,
-0.03859502077102661,
0.037551235407590866,
0.02389000728726387,
0.014317447319626808,
0.04954493045806885,
0.02409939281642437,
-0.00016545878315810114,
0.03795192018151283,
-0.02831893414258957,
0.007870469242334366,
0.02830171398818493,
0.027220990508794785,
0.013531249016523361,
-0.003749347059056163,
0.0074005029164254665,
0.02472892962396145,
-0.01861300878226757,
-0.02664339914917946,
-0.015469907782971859,
0.03510935977101326,
-0.05980361998081207,
0.07990256696939468,
-0.030742645263671875,
-0.04819194972515106,
-0.02453565038740635,
0.0205205250531435,
0.030464647337794304,
0.016192002221941948,
-0.0012443223968148232,
0.0193426925688982,
-0.01669546216726303,
-0.018838388845324516,
0.002173513872548938,
0.013225511647760868,
-0.001100498833693564,
0.012008530087769032,
-0.008533289656043053,
0.04915064200758934,
0.051805030554533005,
0.013952532783150673,
0.031794022768735886,
0.038350362330675125,
0.034956999123096466,
0.004573090933263302,
0.016300654038786888,
0.007001169491559267,
-0.03142961114645004,
0.008066256530582905,
-0.03483690321445465,
0.006865655537694693,
0.024147985503077507,
-0.0381641611456871,
0.01269281655550003,
-0.03794567659497261,
0.008176177740097046,
0.013874161057174206,
0.043309371918439865,
0.014548571780323982,
0.0116812065243721,
0.009742437861859798,
-0.000011684702258207835,
0.07297751307487488,
0.029623059555888176,
0.015987660735845566,
0.005109624937176704,
0.005310682114213705,
-0.011547902598977089,
0.002739713992923498,
0.013651754707098007,
0.033216964453458786,
-0.0029335911385715008,
0.002108450513333082,
-0.03828758746385574,
0.00443261070176959,
0.013636317104101181,
0.01646740734577179,
-0.0498199500143528,
0.009683703072369099,
-0.005941351410001516,
0.023921441286802292,
-0.04894457757472992,
-0.0038080450613051653,
-0.005001182202249765,
-0.011087160557508469,
-0.023305799812078476,
-0.01986837573349476,
0.001169959083199501,
0.027149371802806854,
0.00239837309345603,
-0.056157760322093964,
-0.013179568573832512,
-0.04262175410985947,
0.0192482341080904,
0.005582696292549372,
-0.009291095659136772,
-0.01266506314277649,
-0.033802781254053116,
0.0017746173543855548,
-0.001342999516054988,
-0.02748013474047184,
-0.03700447827577591,
-0.00105383456684649,
0.025722967460751534,
0.029928574338555336,
0.041369300335645676,
0.06833549588918686,
-0.004889573901891708,
0.015318110585212708,
0.011995217762887478,
0.022908318787813187,
-0.0688047930598259,
-0.04269799962639809,
0.010898809880018234,
-0.00677120964974165,
-0.005726587027311325,
0.004196414723992348,
0.003619545605033636,
-0.006693280767649412,
0.056180983781814575,
-0.036993302404880524,
-0.0014001918025314808,
-0.04980603605508804,
0.004164651967585087,
0.008151187561452389,
0.017004456371068954,
-0.008584387600421906,
-0.04785783961415291,
0.007578923366963863,
0.010898326523602009,
-0.00853640679270029,
-0.03604960814118385,
0.018015457317233086,
0.038548391312360764,
0.016076359897851944,
-0.02263343334197998,
-0.0033442869316786528,
0.04327450692653656,
-0.017336763441562653,
0.023048030212521553,
0.025536606088280678,
0.018833119422197342,
0.0038676010444760323,
-0.06625410914421082,
-0.0035233788657933474,
-0.029634810984134674,
0.027301127091050148,
-0.038536883890628815,
-0.0814698114991188,
0.00348701816983521,
0.03211020305752754,
0.008821593597531319,
0.024006810039281845,
-0.09439266473054886,
0.03189190849661827,
-0.05730127543210983,
-0.002242382848635316,
-0.013811939395964146,
-0.0113349799066782,
0.03706156462430954,
0.0140012102201581,
0.009204268455505371,
-0.013591567985713482,
-0.009697997942566872,
0.03696244955062866,
0.016298405826091766,
0.005064146127551794,
0.05483938008546829,
0.0004986354033462703,
-0.015830041840672493,
0.024992819875478745,
-0.03941469267010689,
-0.010719512589275837,
-0.040445536375045776,
0.003993215039372444,
0.0665096715092659,
-0.023460354655981064,
0.0006307117873802781,
0.049723800271749496,
0.011367861181497574,
-0.02963057905435562,
-0.006728259846568108,
-0.0016493267612531781,
-0.016165772452950478,
0.002180971670895815,
-0.016412490978837013,
-0.007684949319809675,
-0.03243272006511688,
0.02381403185427189,
-0.015849823132157326,
0.030169464647769928,
0.025617655366659164,
-0.015966488048434258,
-0.015569351613521576,
-0.05340053141117096,
0.020779501646757126,
0.014579317532479763,
0.003200466511771083,
-0.047835275530815125,
0.055316004902124405,
0.005774543154984713,
-0.02635154314339161,
-0.023368168622255325,
0.045350272208452225,
0.054090436547994614,
-0.03024357743561268,
0.0012489305809140205,
-0.02456033043563366,
0.009593239985406399,
-0.026063844561576843,
0.022622592747211456,
-0.00015760261157993227,
0.033753689378499985,
0.06459959596395493,
-0.019532471895217896,
0.03306640684604645,
-0.03141683712601662
] |
Rocket Money x Hugging Face: Scaling Volatile ML Models in Production | nicokuzak | September 19, 2023 | rocketmoney-case-study | case-studies | https://huggingface.co/blog/rocketmoney-case-study | Integration, Evaluation, and the Final Selection | [
0.036380916833877563,
-0.004941187333315611,
0.028518738225102425,
0.02614760957658291,
0.09721096605062485,
0.050664376467466354,
0.004049540497362614,
0.026373954489827156,
-0.04928182065486908,
-0.11044780164957047,
-0.0038954932242631912,
0.04236053302884102,
-0.02458813600242138,
0.021635733544826508,
-0.0014691224787384272,
-0.025472670793533325,
0.11347907781600952,
-0.04532913118600845,
0.03622733801603317,
-0.03096877783536911,
-0.04219236969947815,
-0.012721465900540352,
0.04368358477950096,
0.020450890064239502,
0.013993925414979458,
-0.029183704406023026,
-0.004146807827055454,
-0.05079421401023865,
-0.02718985825777054,
0.0389937125146389,
-0.049230512231588364,
-0.06569012999534607,
0.021974408999085426,
-0.007219875231385231,
-0.0691533014178276,
-0.027687804773449898,
-0.07430189102888107,
0.01762428693473339,
0.04489652067422867,
-0.04515060782432556,
0.02808823250234127,
-0.03194922208786011,
-0.02505153976380825,
0.039181847125291824,
-0.04307341203093529,
-0.00891861878335476,
-0.24746449291706085,
0.07856638729572296,
-0.022152403369545937,
0.014345762319862843,
-0.04372630640864372,
0.016845205798745155,
0.005286774132400751,
0.0245647169649601,
0.037216462194919586,
-0.014874070882797241,
0.0722251906991005,
-0.010512340813875198,
0.01647866889834404,
-0.043696627020835876,
0.04764573648571968,
0.0005979398265480995,
0.03898145258426666,
0.008326531387865543,
0.06652103364467621,
0.012950332835316658,
0.008018177933990955,
0.02391839027404785,
-0.09494558721780777,
0.013305346481502056,
0.007177733816206455,
-0.039548393338918686,
-0.020897211506962776,
0.017641933634877205,
0.06802472472190857,
-0.0758940726518631,
-0.039965394884347916,
0.034706227481365204,
0.03866053372621536,
0.07690878212451935,
0.0091593312099576,
-0.02656111679971218,
0.0689767375588417,
0.07145917415618896,
0.004493418149650097,
-0.04183894395828247,
0.05864327773451805,
-0.006293280050158501,
-0.010613759979605675,
0.0008792841108515859,
-0.03173821046948433,
-0.07346099615097046,
0.013713421300053596,
0.06368296593427658,
0.04402836784720421,
-0.09108870476484299,
0.0909053385257721,
0.0198348555713892,
-0.012253203429281712,
0.01821555383503437,
-0.036341141909360886,
0.052374217659235,
0.018050797283649445,
-0.03276495635509491,
-0.04493948817253113,
0.028649207204580307,
-0.004092842806130648,
-0.11328413337469101,
-0.057138536125421524,
0.07682961970567703,
-0.025223368778824806,
0.016174180433154106,
0.07742250710725784,
0.013562026433646679,
-0.03301911801099777,
0.07168866693973541,
0.006603077985346317,
-0.011231324635446072,
0.03519938141107559,
0.056047651916742325,
0.03988691791892052,
0.05157602205872536,
0.08408428728580475,
0.000634965836070478,
0.017034608870744705,
-0.006614516954869032,
0.08085187524557114,
0.014140699990093708,
-0.11786423623561859,
-0.0716547742486,
0.008762446232140064,
-0.02544664405286312,
0.01853904314339161,
0.004361552651971579,
-0.10215724259614944,
-0.041748080402612686,
-0.012484506703913212,
-0.004120825789868832,
-0.01789160631597042,
0.006109317764639854,
0.013646944426000118,
0.03575238212943077,
-0.030426427721977234,
0.05186432600021362,
0.01062022801488638,
-0.06786587089300156,
-0.0020859588403254747,
0.03999103605747223,
-0.012487147934734821,
0.004890688229352236,
0.030659746378660202,
0.0634804219007492,
-0.045024093240499496,
-0.053871382027864456,
-0.033163197338581085,
0.07474492490291595,
0.03936805576086044,
0.02201216295361519,
-0.05365796014666557,
0.0096436757594347,
0.031388550996780396,
0.0265383068472147,
0.02689928002655506,
0.0071438997983932495,
0.030398404225707054,
-0.022078705951571465,
0.025098886340856552,
-0.013010111637413502,
-0.042169004678726196,
-0.06614547222852707,
-0.01844746433198452,
-0.0443398542702198,
0.03961203619837761,
-0.04676514491438866,
-0.0758252814412117,
0.024028770625591278,
0.07358918339014053,
0.06678039580583572,
0.027323663234710693,
0.043722622096538544,
-0.05613040551543236,
0.021710656583309174,
-0.04966825619339943,
0.010740523226559162,
0.014560655690729618,
-0.05149092897772789,
0.05952657014131546,
-0.048289358615875244,
0.02094327285885811,
0.038392700254917145,
-0.11333972960710526,
-0.05627613514661789,
0.07209426909685135,
-0.047464217990636826,
0.03528976067900658,
-0.10142570734024048,
-0.06358987092971802,
0.09261777251958847,
-0.0015746151329949498,
0.03346708416938782,
0.06819215416908264,
0.03144511952996254,
0.08416306972503662,
-0.008704053238034248,
-0.01244884543120861,
0.016734855249524117,
0.047723010182380676,
-0.007984843105077744,
-0.007548295892775059,
0.017848974093794823,
-0.00023476252681575716,
-0.08007422089576721,
0.027332449331879616,
-0.060544829815626144,
-0.019120987504720688,
-0.03235634043812752,
-0.03277641162276268,
0.04186689853668213,
0.0422259122133255,
-0.06736117601394653,
0.07421476393938065,
-0.017021169885993004,
0.03495204821228981,
0.03063802793622017,
-0.043020036071538925,
0.0840764194726944,
0.08912046998739243,
0.05138483643531799,
0.020658720284700394,
-0.05211915820837021,
0.022739678621292114,
-0.0240338034927845,
0.00923948921263218,
0.0802149623632431,
0.04079172760248184,
0.030300932005047798,
-0.0686352327466011,
-0.028315236791968346,
0.053508661687374115,
-0.030794309452176094,
0.0007245502201840281,
-0.028359757736325264,
-0.006438569165766239,
0.10398242622613907,
-0.022394606843590736,
-0.03718680143356323,
0.05642271414399147,
0.01017286628484726,
-0.0393943153321743,
-0.0015660114586353302,
-0.04788937419652939,
0.05719045549631119,
0.03307347372174263,
-0.02244161255657673,
0.05750906839966774,
-0.0609908290207386,
-0.006924030836671591,
-0.004947383422404528,
-0.017260033637285233,
0.003455444937571883,
0.02926073968410492,
0.0005652000545524061,
-0.028266489505767822,
-0.07797664403915405,
0.011643628589808941,
-0.035925641655921936,
0.02248409017920494,
0.021772591397166252,
-0.030305057764053345,
0.0537693090736866,
-0.005613688845187426,
-0.0328868143260479,
0.04775654152035713,
-0.009364561177790165,
-0.012346840463578701,
-0.004395979456603527,
0.0550055168569088,
-0.009385082870721817,
-0.0210246779024601,
-0.01762315444648266,
-0.01130461785942316,
-0.00671776570379734,
0.022201886400580406,
0.005719838198274374,
0.033964648842811584,
-0.012975950725376606,
0.025625543668866158,
-0.0070950244553387165,
0.005222753621637821,
-0.00043716022628359497,
0.0070534516125917435,
0.010444310493767262,
-0.007771429140120745,
-0.04778970405459404,
0.04642162472009659,
-0.028547445312142372,
-0.01373055949807167,
-0.004821211099624634,
-0.02766183577477932,
-0.004335970152169466,
0.00014438886137213558,
0.010490487329661846,
-0.013359073549509048,
0.014935923740267754,
-0.0445726104080677,
0.012333315797150135,
0.010292059741914272,
0.0340559296309948,
-0.14931076765060425,
-0.03308957815170288,
0.04052935168147087,
0.03387948125600815,
0.013084561564028263,
-0.010775502771139145,
0.030871348455548286,
-0.02822061814367771,
-0.03363318741321564,
-0.022470127791166306,
0.026947269216179848,
-0.005544529762119055,
0.025394802913069725,
0.03742298483848572,
-0.003618367947638035,
0.014323725365102291,
-0.0030306822154670954,
0.003935076296329498,
-0.03916646167635918,
0.014005951583385468,
-0.004831139929592609,
0.06225186213850975,
-0.021897146478295326,
-0.013076720759272575,
-0.004292954690754414,
0.035233017057180405,
0.046190548688173294,
0.052328478544950485,
0.016022177413105965,
-0.014068413525819778,
-0.015494396910071373,
0.05437494069337845,
-0.01768261194229126,
0.011858760379254818,
-0.024320289492607117,
-0.0052608647383749485,
0.010490278713405132,
0.0007508861599490047,
-0.011035612784326077,
0.059554215520620346,
0.0383278913795948,
0.02723185159265995,
0.024265997111797333,
0.013294903561472893,
-0.05919799208641052,
0.0052515799179673195,
0.009462740272283554,
0.006836251355707645,
0.03943284973502159,
-0.022873053327202797,
-0.05976857617497444,
0.03412444889545441,
-0.017257172614336014,
0.07444911450147629,
-0.01863359659910202,
0.003996463026851416,
-0.03005911223590374,
-0.014231919310986996,
0.04142216220498085,
-0.03648064658045769,
0.0002503650321159512,
0.008220318704843521,
0.03421908617019653,
-0.010107181966304779,
-0.05474276468157768,
0.028199493885040283,
-0.038399502635002136,
-0.005848767701536417,
-0.05516432970762253,
0.039493460208177567,
0.04097761958837509,
0.046916380524635315,
-0.010528264567255974,
0.019743189215660095,
0.014090449549257755,
0.029525697231292725,
-0.028644852340221405,
-0.0318036749958992,
0.05607295036315918,
-0.010835938155651093,
-0.035065118223428726,
-0.004415925592184067,
0.024419667199254036,
-0.008218190632760525,
-0.007965986616909504,
0.048042964190244675,
0.010708688758313656,
0.02944822423160076,
-0.023907747119665146,
0.03754511848092079,
0.046867936849594116,
-0.04095012694597244,
-0.03139057010412216,
0.011014793999493122,
-0.005120098125189543,
0.016039155423641205,
0.04661499336361885,
0.0015899462159723043,
-0.011238985694944859,
0.008258748799562454,
0.004160998854786158,
-0.027929475530982018,
-0.008992568589746952,
0.030818942934274673,
0.026778940111398697,
0.028554478660225868,
-0.02450951375067234,
-0.028054742142558098,
-0.0036603007465600967,
0.011871515773236752,
0.04204420745372772,
-0.031249091029167175,
-0.001061580260284245,
-0.07397311180830002,
0.015095903538167477,
-0.02196180820465088,
-0.03338516503572464,
-0.012050719000399113,
-0.0195118747651577,
0.00004158861338510178,
-0.02542642317712307,
0.01214517280459404,
0.022912077605724335,
-0.027209589257836342,
-0.015068056993186474,
-0.019737062975764275,
0.0024039039853960276,
-0.02556426264345646,
-0.005203510168939829,
-0.0026478974614292383,
-0.020497946068644524,
-0.013119591400027275,
0.03647472709417343,
-0.014238079078495502,
0.0112387053668499,
0.013145232573151588,
0.0015009245835244656,
0.039337750524282455,
-0.035205382853746414,
-0.06967855244874954,
0.015997430309653282,
0.0044366540387272835,
0.0091641154140234,
0.002316403668373823,
0.04587096348404884,
-0.020405292510986328,
-0.044055767357349396,
-0.006227265577763319,
-0.015612173825502396,
0.020614493638277054,
0.029233418405056,
-0.04209271818399429,
-0.03954003378748894,
-0.0024171345867216587,
0.0008380459039472044,
0.00902401003986597,
0.02275964245200157,
-0.013058288022875786,
-0.03361697867512703,
0.06270034611225128,
-0.00993602629750967,
-0.004965110216289759,
-0.04770926013588905,
0.023053178563714027,
-0.014826781116425991,
-0.008926225826144218,
-0.003903438802808523,
0.013750428333878517,
-0.008261403068900108,
-0.025927849113941193,
0.00018809632456395775,
-0.02285584807395935,
0.02722787857055664,
-0.0250738225877285,
0.03097628615796566,
0.01917901821434498,
0.0101100392639637,
-0.012201676145195961,
0.008083071559667587,
0.015754953026771545,
0.0017705452628433704,
-0.00681394524872303,
0.011882522143423557,
-0.0019181647803634405,
0.0022485970985144377,
-0.005838500335812569,
0.033242177218198776,
-0.017171021550893784,
-0.001357582863420248,
0.03359333798289299,
0.011945744976401329,
-0.038256578147411346,
-0.019820377230644226,
-0.03867724537849426,
-0.015318390913307667,
0.034635454416275024,
0.004015426617115736,
-0.014832536689937115,
-0.02065444178879261,
0.010731208138167858,
0.039664581418037415,
0.01633543334901333,
-0.007848575711250305,
-0.006424459628760815,
-0.006326641421765089,
0.02516566775739193,
-0.01123413909226656,
-0.03572684898972511,
0.01675558090209961,
-0.001507184118963778,
-0.01983942650258541,
0.0027471003122627735,
-0.05806185305118561,
-0.029816992580890656,
0.005188829731196165,
-0.04727327823638916,
-0.03186403959989548,
0.03905505686998367,
-0.020106103271245956,
0.03293558955192566,
-0.00412530405446887,
0.016710514202713966,
-0.0059130690060555935,
0.06027993559837341,
0.03984104096889496,
-0.03506183996796608,
0.004982499871402979,
0.012846948578953743,
-0.014271602965891361,
0.03313685581088066,
0.016736699268221855,
-0.01519524585455656,
-0.02849920466542244,
0.004842670634388924,
0.03113378956913948,
0.014602385461330414,
-0.052421934902668,
0.03751130774617195,
0.00514409551396966,
-0.004011784214526415,
-0.0068745082244277,
0.0036168911028653383,
-0.00997876189649105,
-0.010393437929451466,
-0.033732153475284576,
0.010771769098937511,
0.0701986700296402,
-0.016781823709607124,
0.046679869294166565,
0.014217865653336048,
0.020309537649154663,
0.012280392460525036,
-0.03160109370946884,
-0.013003295287489891,
0.006819826550781727,
0.03925061225891113,
-0.013569162227213383,
-0.015531852841377258,
0.015353710390627384,
0.009069462306797504,
0.015016846358776093,
-0.0010829140665009618,
-0.02398483268916607,
-0.0012928954092785716,
-0.03687494993209839,
-0.009954208508133888,
0.009782636538147926,
-0.03263359144330025,
0.051832810044288635,
-0.003871208056807518,
0.02074764482676983,
0.006144699640572071,
0.03281673416495323,
0.016263196244835854,
0.017095964401960373,
-0.0006189562845975161,
0.014245116151869297,
0.026621393859386444,
0.02597791887819767,
-0.025270069018006325,
0.02487112395465374,
0.03852524980902672,
0.019381485879421234,
0.007332690060138702,
-0.008978107012808323,
0.03275688365101814,
0.018655497580766678,
-0.01039646752178669,
0.005759246181696653,
0.014903601258993149,
0.01660221628844738,
-0.03341059014201164,
0.010666318237781525,
0.022214442491531372,
-0.03695371747016907,
0.005936465226113796,
0.007790862582623959,
-0.015445651486515999,
0.001966815907508135,
-0.01934300735592842,
0.04786501079797745,
0.011050935834646225,
0.008379703387618065,
-0.0018891030922532082,
-0.024535300210118294,
0.020583463832736015,
0.008486044593155384,
-0.010826701298356056,
-0.004830776248127222,
-0.05447288602590561,
0.022805105894804,
0.03915523737668991,
-0.02396763674914837,
-0.004839329514652491,
-0.0009398008114658296,
-0.06593117117881775,
0.00949132815003395,
0.01876910962164402,
-0.008910455740988255,
0.017057344317436218,
0.022927165031433105,
-0.038336873054504395,
0.01507552806288004,
-0.007673885673284531,
-0.05145623907446861,
-0.04897678643465042,
-0.012606082484126091,
0.003906484227627516,
-0.037042729556560516,
-0.04168296232819557,
-0.006242732051759958,
0.076486736536026,
0.0021934390533715487,
0.002017646562308073,
-0.046171873807907104,
0.056591447442770004,
0.022643206641077995,
0.03375633433461189,
-0.025771494954824448,
-0.012078065425157547,
0.007692335173487663,
-0.004588911309838295,
0.024674074724316597,
0.009011629968881607,
0.00951442401856184,
0.03110591322183609,
-0.008538990281522274,
-0.007997934706509113,
-0.014827024191617966,
0.03797776252031326,
0.034036166965961456,
0.0042663333006203175,
-0.0063041746616363525,
0.029731016606092453,
-0.015808165073394775,
0.018953844904899597,
0.016705410555005074,
-0.0002798068744596094,
0.0028241672553122044,
-0.010272066108882427,
0.014353947713971138,
0.02949691005051136,
0.010618208907544613,
-0.04580425098538399,
-0.025676259770989418,
0.006559943780303001,
-0.02533259615302086,
-0.007581866811960936,
0.0014747040113434196,
0.029596997424960136,
-0.01470139529556036,
-0.014428454451262951,
0.012046738527715206,
0.0006372182397171855,
-0.017779763787984848,
-0.013720037415623665,
-0.019133424386382103,
-0.015795234590768814,
-0.020955484360456467,
-0.021927164867520332,
0.04372234269976616,
0.022976240143179893,
0.03589488938450813,
0.01906725764274597,
0.030191998928785324,
-0.02734755352139473,
-0.01307739783078432,
0.018188657239079475,
0.02224326878786087,
0.02899754047393799,
-0.03678270801901817,
-0.019260168075561523,
-0.013882608152925968,
-0.05270235985517502,
0.009351884014904499,
0.011923124082386494,
-0.05491883307695389,
-0.03327352553606033,
0.014049539342522621,
-0.009153103455901146,
-0.05103076621890068,
0.006493682973086834,
0.03782662749290466,
-0.000663207727484405,
0.03124670870602131,
0.001299966941587627,
0.03530989959836006,
-0.00044226364116184413,
0.015638137236237526,
-0.00481242872774601,
0.0230664424598217,
0.007091088220477104,
-0.0051071434281766415,
-0.017341410741209984,
0.05565468221902847,
-0.05416688695549965,
-0.05153024569153786,
0.029126400128006935,
0.02847958169877529,
0.004080793354660273,
0.007950017228722572,
-0.016627024859189987,
0.012836013920605183,
0.023360751569271088,
0.009744611568748951,
0.014438504353165627,
-0.010992356576025486,
-0.0037693053018301725,
0.004150767810642719,
-0.01227341778576374,
0.011194822378456593,
-0.0103819090873003,
0.022593867033720016,
0.041454918682575226,
0.06093384698033333,
-0.005171446595340967,
0.017521841451525688,
-0.03829698637127876,
0.007841053418815136,
-0.017701270058751106,
-0.03797781467437744,
-0.00039631317486055195,
0.020723292604088783,
-0.010437926277518272,
-0.027756016701459885,
-0.060252152383327484,
0.03869938477873802,
0.0188137199729681,
-0.01378988940268755,
0.0031270666513592005,
-0.027080396190285683,
-0.0005434399354271591,
-0.011922715231776237,
0.036242228001356125,
0.006562423426657915,
0.06722620129585266,
0.04494001716375351,
0.0194321870803833,
0.015535658225417137,
0.01206864695996046
] |
Rocket Money x Hugging Face: Scaling Volatile ML Models in Production | nicokuzak | September 19, 2023 | rocketmoney-case-study | case-studies | https://huggingface.co/blog/rocketmoney-case-study | Solving Domain Challenges and Constraints by Partnering with Hugging Face There are a number of unique challenges we face within our domain, including entropy injected by merchants, processing/payment companies, institutional differences, and shifts in user behavior. Designing and building efficient model performance alerting along with realistic benchmarking datasets has proven to be an ongoing challenge. Another significant hurdle is determining the optimal number of classes for our system - each class represents a significant amount of effort to create and maintain. Therefore, we must consider the value it provides to users and our business. With a model performing well in offline testing and a small team of ML engineers, we were faced with a new challenge: seamless integration of that model into our production pipeline. The existing regex system processed more than 100 million transactions per month with a very bursty load, so it was crucial to have a high-availability system that could scale dynamically to load and maintain a low overall latency within the pipeline coupled with a system that was compute-optimized for the models we were serving. As a small startup at the time, we chose to buy rather than build the model serving solution. At the time, we didn’t have in-house model ops expertise and we needed to focus the energy of our ML engineers on enhancing the performance of the models within the product. With this in mind, we set out in search of the solution. In the beginning, we auditioned a hand-rolled, in-house model hosting solution we had been using for prototyping, comparing it against AWS Sagemaker and Hugging Face’s new model hosting Inference API. Given that we use GCP for data storage and Google Vertex Pipelines for model training, exporting models to AWS Sagemaker was clunky and bug prone. Thankfully, the set up for Hugging Face was quick and easy, and it was able to handle a small portion of traffic within a week. Hugging Face simply worked out of the gate, and this reduced friction led us to proceed down this path. After an extensive three-month evaluation period, we chose Hugging Face to host our models. During this time, we gradually increased transaction volume to their hosted models and ran numerous simulated load tests based on our worst-case scenario volumes. This process allowed us to fine-tune our system and monitor performance, ultimately giving us confidence in the inference API's ability to handle our transaction enrichment loads. Beyond technical capabilities, we also established a strong rapport with the team at Hugging Face. We discovered they were not just service providers, but partners who were invested in our goals and outcomes. Early in our collaboration we set up a shared Slack channel which proved invaluable. We were particularly impressed by their prompt response to issues and proactive approach to problem-solving. Their engineers and CSMs consistently demonstrated their commitment in our success and dedication to doing things right. This gave us an additional layer of confidence when it was time to make the final selection. | [
0.04251271113753319,
-0.03795800358057022,
0.019620541483163834,
0.07866737991571426,
-0.018730979412794113,
0.08201204240322113,
0.016297873109579086,
0.021470554172992706,
0.010728839784860611,
-0.03942378982901573,
-0.04867818206548691,
0.012098060920834541,
-0.02901574783027172,
0.12876200675964355,
0.003281871322542429,
-0.0503963977098465,
0.0663740262389183,
0.009306548163294792,
-0.004601919092237949,
0.017531579360365868,
-0.02066143974661827,
-0.05304032936692238,
-0.0014744038926437497,
0.06412265449762344,
-0.005801736377179623,
-0.0903623104095459,
-0.053174301981925964,
-0.03956686332821846,
-0.0539008229970932,
0.02891121804714203,
-0.03672061860561371,
-0.007226320914924145,
-0.030502701178193092,
0.00961626973003149,
0.01738680712878704,
0.03637806326150894,
-0.11999525129795074,
0.04294149577617645,
0.01889602094888687,
0.010540138930082321,
0.013228672556579113,
-0.045464783906936646,
-0.10654471814632416,
0.0029467849526554346,
-0.016138184815645218,
-0.0680851861834526,
-0.1317080855369568,
0.06535888463258743,
0.005371267907321453,
-0.025560248643159866,
-0.13024435937404633,
0.05350678786635399,
0.012783507816493511,
-0.04021519795060158,
-0.006128332111984491,
0.006379980128258467,
-0.01839929260313511,
-0.07928941398859024,
-0.011081892065703869,
-0.05532064288854599,
0.036329593509435654,
-0.03352351114153862,
-0.0009178374311886728,
-0.022570347413420677,
-0.040876634418964386,
0.051734525710344315,
0.04040277749300003,
-0.053555771708488464,
-0.0570463165640831,
-0.014875082299113274,
0.0546979084610939,
-0.07166195660829544,
-0.04206811636686325,
0.0046299598179757595,
-0.03478967025876045,
-0.08215416967868805,
0.00980456080287695,
-0.015829933807253838,
0.04055406153202057,
0.05613293871283531,
-0.0627826675772667,
-0.017290325835347176,
0.007331502623856068,
0.04567771032452583,
0.07182231545448303,
0.024703754112124443,
0.016319826245307922,
-0.1123969703912735,
-0.04571035876870155,
0.09912509471178055,
0.021335117518901825,
-0.09390424937009811,
0.008901568129658699,
0.007177265826612711,
0.06986723840236664,
-0.0041707297787070274,
0.013094822876155376,
-0.0168610867112875,
0.01750286854803562,
-0.030000757426023483,
-0.023054860532283783,
-0.0733729749917984,
-0.006437815260142088,
-0.019441427662968636,
-0.027714798226952553,
0.02294667437672615,
-0.017697157338261604,
-0.06948775053024292,
-0.03272661194205284,
0.040222931653261185,
0.009963149204850197,
-0.0018019783310592175,
0.011410282924771309,
0.06776250153779984,
-0.05568765848875046,
0.06807558238506317,
-0.02452368289232254,
-0.01579463854432106,
0.03054204024374485,
-0.008220910094678402,
0.047397222369909286,
0.0509134978055954,
-0.008625982329249382,
-0.01038481667637825,
0.022562619298696518,
0.03079323284327984,
0.0052345916628837585,
-0.011500765569508076,
0.04941485822200775,
-0.052709225565195084,
-0.015142375603318214,
-0.0566607341170311,
0.016025330871343613,
0.006752072833478451,
0.016503870487213135,
-0.029925648123025894,
0.041568823158741,
-0.08474951982498169,
0.055256277322769165,
-0.013249355368316174,
-0.01088477298617363,
0.05353570356965065,
0.01562507078051567,
0.013298206962645054,
0.08316103368997574,
0.005500404164195061,
-0.058226414024829865,
0.03398394584655762,
0.025733623653650284,
-0.004904426634311676,
-0.08848384767770767,
0.03909299895167351,
-0.07005263864994049,
-0.03088071383535862,
-0.009956806898117065,
0.0655796229839325,
-0.025732962414622307,
-0.023297781124711037,
-0.0615977868437767,
-0.04356637969613075,
-0.05044282600283623,
-0.02136455476284027,
-0.04503937065601349,
-0.008862893097102642,
0.081700898706913,
0.040690828114748,
0.024065276607871056,
0.02860010601580143,
-0.07071118801832199,
0.018948478624224663,
-0.03217863291501999,
0.01275593787431717,
0.04126672074198723,
-0.02751871384680271,
-0.014197164215147495,
0.053552985191345215,
0.0738799050450325,
0.06258829683065414,
0.018917376175522804,
-0.013280445709824562,
-0.04010642319917679,
0.05276098474860191,
0.061577361077070236,
0.05986345186829567,
0.049322839826345444,
-0.0326712392270565,
0.02759520895779133,
-0.026173265650868416,
-0.013529391027987003,
0.02954026497900486,
-0.033491019159555435,
0.05980828404426575,
0.07113482803106308,
-0.0526701994240284,
-0.009580012410879135,
0.006154990289360285,
-0.07721445709466934,
0.08292961120605469,
0.031113792210817337,
0.027096079662442207,
0.06069577857851982,
0.03846487030386925,
0.04249819740653038,
-0.016278095543384552,
-0.00738884974271059,
-0.016037551686167717,
-0.007809810806065798,
-0.08355341106653214,
-0.016039110720157623,
-0.010963400825858116,
0.003633674932643771,
-0.14556613564491272,
0.020529773086309433,
-0.027831396088004112,
-0.01784457452595234,
-0.049239471554756165,
-0.017072061076760292,
-0.04729417338967323,
-0.02808232232928276,
-0.0019818574655801058,
0.14203669130802155,
-0.0033090352080762386,
-0.04219413176178932,
-0.019347941502928734,
-0.011797421611845493,
-0.004907675087451935,
0.029013212770223618,
0.08738447725772858,
0.12051516771316528,
-0.10125476121902466,
-0.013961134478449821,
-0.043979283422231674,
0.02052123472094536,
-0.02814798429608345,
-0.005865069571882486,
0.007408704608678818,
0.0304467361420393,
0.009765549562871456,
0.025485357269644737,
0.05860121548175812,
-0.001245487597770989,
0.02222561463713646,
0.012636758387088776,
0.054094474762678146,
-0.015669675543904305,
-0.05594602972269058,
0.05194626376032829,
0.01297044288367033,
-0.029642902314662933,
-0.039846546947956085,
-0.07334140688180923,
0.08995025604963303,
-0.021525342017412186,
-0.011559946462512016,
0.06013382971286774,
-0.05634249374270439,
0.015284349210560322,
0.009716678410768509,
-0.042091697454452515,
0.03627333790063858,
0.02529587224125862,
-0.018390364944934845,
-0.003545373445376754,
-0.0303556676954031,
0.01196530181914568,
-0.016711780801415443,
0.012604247778654099,
-0.011157194152474403,
0.022363580763339996,
0.012029755860567093,
0.008679254911839962,
-0.048895761370658875,
0.051632288843393326,
0.020527256652712822,
0.014630256220698357,
0.04210023954510689,
0.028967278078198433,
-0.010112803429365158,
-0.01077610719949007,
-0.01530994102358818,
-0.00010543331882217899,
-0.01615130715072155,
0.009814174845814705,
0.012958912178874016,
-0.005072564352303743,
-0.013493778184056282,
-0.00023299636086449027,
-0.0193293746560812,
-0.04467543214559555,
0.046267684549093246,
0.01709195412695408,
0.05222129821777344,
0.009081684984266758,
-0.011035141535103321,
0.020560912787914276,
0.02598142996430397,
0.014588146470487118,
-0.04417089745402336,
-0.015642691403627396,
0.03413332626223564,
-0.019491294398903847,
-0.015040889382362366,
-0.04920235276222229,
0.022719422355294228,
-0.007272409740835428,
-0.02270624227821827,
0.026117008179426193,
0.046003494411706924,
-0.09660126268863678,
-0.03748679161071777,
-0.012632853351533413,
0.028889663517475128,
-0.03057537041604519,
-0.04072357714176178,
0.06315445154905319,
0.025327542796730995,
-0.033081237226724625,
0.013368797488510609,
0.012075752019882202,
0.014940772205591202,
0.032685354351997375,
-0.02220461145043373,
0.022075839340686798,
-0.01976952701807022,
0.023058993741869926,
-0.01901203952729702,
0.02294624224305153,
0.014246584847569466,
-0.06375166028738022,
0.033840108662843704,
0.03632785752415657,
-0.009312466718256474,
-0.005369321443140507,
-0.009580067358911037,
0.01162771601229906,
-0.008850987069308758,
0.017262566834688187,
-0.029016271233558655,
-0.03943512216210365,
0.0036768950521945953,
-0.014697146601974964,
0.014661358669400215,
-0.0035821476485580206,
0.0006950614624656737,
-0.008469986729323864,
0.04439236968755722,
0.047765083611011505,
0.061911873519420624,
0.019319869577884674,
-0.021317746490240097,
0.008387972600758076,
0.0195449385792017,
0.0290099885314703,
0.006246573757380247,
-0.03454645723104477,
-0.020337866619229317,
0.025276068598031998,
-0.01859835721552372,
-0.007815481163561344,
0.003984373528510332,
-0.0038604391738772392,
0.05265328660607338,
0.014235630631446838,
0.026807155460119247,
-0.014639383181929588,
-0.008652317337691784,
-0.01731988415122032,
0.01304053608328104,
-0.018602890893816948,
-0.005936819594353437,
0.019081300124526024,
-0.020154722034931183,
0.01443417277187109,
0.0751035138964653,
0.0409085713326931,
-0.033640746027231216,
-0.009905992075800896,
0.051479339599609375,
0.008109675720334053,
0.041966211050748825,
-0.02349000796675682,
0.0034637765493243933,
0.008970139548182487,
-0.010236063972115517,
0.052247051149606705,
-0.01555025763809681,
0.04281099513173103,
-0.008566003292798996,
0.032907020300626755,
-0.005941151641309261,
-0.023877233266830444,
-0.05159120634198189,
0.019573338329792023,
-0.01293155923485756,
0.00190172519069165,
-0.04049935191869736,
-0.017755411565303802,
0.04784625768661499,
-0.009591329842805862,
-0.03873075172305107,
-0.002429680433124304,
0.0049694920890033245,
-0.0017517510568723083,
-0.010050912387669086,
0.0362219363451004,
-0.0066678933799266815,
-0.014449731446802616,
-0.0146694490686059,
-0.008131317794322968,
-0.02309446968138218,
0.026642251759767532,
0.029838263988494873,
-0.022013572975993156,
0.022857774049043655,
-0.027499224990606308,
-0.03245900198817253,
0.041580680757761,
-0.012893826700747013,
0.02432180568575859,
0.06712673604488373,
0.00068873685086146,
-0.019273145124316216,
0.04074622690677643,
0.03998526185750961,
-0.0069996570236980915,
0.05099283903837204,
0.007407037541270256,
0.03479110822081566,
-0.026392795145511627,
0.011235695332288742,
0.011745757423341274,
-0.014835440553724766,
0.05859554186463356,
-0.0044304383918643,
0.010192551650106907,
0.0330803357064724,
0.03225484862923622,
-0.04289570823311806,
-0.035725582391023636,
-0.0008938671089708805,
0.017443131655454636,
-0.0006545027135871351,
0.06213213875889778,
-0.03272334113717079,
-0.014776181429624557,
0.017004169523715973,
-0.039195939898490906,
0.015019605867564678,
0.054665591567754745,
0.005067235790193081,
0.03976018726825714,
-0.03603270277380943,
0.020639929920434952,
-0.03300994634628296,
-0.04450758919119835,
0.006997851189225912,
-0.006602693814784288,
0.046230290085077286,
-0.00483456626534462,
-0.04193859547376633,
-0.05685696005821228,
0.05537964031100273,
0.0701984092593193,
-0.016386911273002625,
-0.026037996634840965,
0.02199719101190567,
0.020009126514196396,
0.06563040614128113,
-0.04234059900045395,
-0.027377858757972717,
-0.03499374911189079,
0.026820698752999306,
-0.0014412070158869028,
0.009421009570360184,
-0.002614848082885146,
-0.0289168618619442,
-0.021478336304426193,
-0.014009173959493637,
-0.03357602283358574,
0.0092070447281003,
0.0030645125079900026,
-0.035485852509737015,
-0.0073446668684482574,
0.06186704337596893,
0.04071822017431259,
-0.03147824853658676,
0.0036698163021355867,
0.02958599478006363,
-0.013052037917077541,
-0.007998748682439327,
0.029545767232775688,
0.0072298734448850155,
0.03617684170603752,
0.00455123744904995,
0.05975191295146942,
0.07152171432971954,
0.03683748468756676,
0.01658463105559349,
-0.03537626564502716,
0.002523418515920639,
0.007577900309115648,
-0.03556104004383087,
0.02420232817530632,
-0.015498646534979343,
-0.0042841252870857716,
0.026519212871789932,
-0.015067107044160366,
-0.017571844160556793,
0.004348158370703459,
0.05916072055697441,
-0.023488646373152733,
-0.01133642066270113,
0.01795831136405468,
-0.0013059931807219982,
0.033991627395153046,
-0.0007187518640421331,
0.0484749935567379,
-0.03379599377512932,
0.00996367447078228,
0.032913025468587875,
0.001242811675183475,
-0.011805277317762375,
-0.01950235292315483,
-0.025803804397583008,
-0.03223685175180435,
0.043703462928533554,
0.05843965336680412,
0.016956232488155365,
-0.01660972088575363,
-0.0065537202171981335,
0.0035695116966962814,
-0.011726914905011654,
-0.011835519224405289,
-0.008369222283363342,
-0.002673628507182002,
-0.0030412189662456512,
-0.022590093314647675,
0.03020183928310871,
0.04450705274939537,
0.008363337256014347,
-0.017993884161114693,
0.025771498680114746,
0.032192762941122055,
-0.015048982575535774,
0.004271419253200293,
0.06993120908737183,
0.01698761060833931,
-0.050712861120700836,
0.012360705994069576,
0.010163904167711735,
-0.0175632331520319,
-0.010201308876276016,
-0.016130195930600166,
0.043569259345531464,
0.03222870081663132,
0.007051002234220505,
0.010353028774261475,
0.014967766590416431,
0.008787842467427254,
0.021958325058221817,
0.005522041581571102,
0.014632993377745152,
0.01313288789242506,
-0.007518632337450981,
-0.007141804788261652,
0.0013538533821702003,
0.0024677233304828405,
-0.025225773453712463,
0.004107178654521704,
-0.05865528807044029,
-0.0010041157947853208,
0.016754742711782455,
-0.0366719551384449,
0.03472631797194481,
-0.02151629328727722,
-0.031965289264917374,
-0.0036917065735906363,
0.03311876580119133,
0.007595151197165251,
0.023353058844804764,
0.027443192899227142,
0.022949498146772385,
-0.009445752017199993,
-0.01313875988125801,
-0.0011080768890678883,
0.03663346916437149,
-0.018474996089935303,
-0.03212452307343483,
-0.004925630521029234,
0.017132893204689026,
0.06070301681756973,
0.005699238274246454,
0.05512823536992073,
-0.03295014053583145,
0.05620258301496506,
-0.0076322248205542564,
0.053072888404130936,
-0.009135170839726925,
-0.053187161684036255,
0.030451757833361626,
0.019069282338023186,
0.027643823996186256,
-0.008541169576346874,
-0.0274299755692482,
-0.0006578360334970057,
-0.06175199896097183,
-0.002904121298342943,
0.00918810535222292,
0.030322827398777008,
0.028802549466490746,
0.02492724172770977,
0.04002004861831665,
0.027816331014037132,
0.06420189142227173,
0.007427774835377932,
0.028529757633805275,
0.024875681847333908,
-0.012478801421821117,
0.008898553438484669,
0.04339328035712242,
0.008239205926656723,
0.01684030145406723,
-0.004117466043680906,
0.008601115085184574,
-0.02090168371796608,
0.0038187794853001833,
-0.0007304147584363818,
0.016514651477336884,
0.03246482089161873,
-0.006496199406683445,
0.01557307131588459,
0.02022019773721695,
-0.001575351576320827,
0.009579744189977646,
-0.018115373328328133,
0.023594141006469727,
0.00010053871665149927,
0.029848715290427208,
-0.006019501481205225,
0.031306710094213486,
-0.006984241306781769,
-0.052909817546606064,
-0.007526041939854622,
-0.025393178686499596,
-0.006736692041158676,
-0.006122991442680359,
-0.053043290972709656,
-0.03885813429951668,
-0.020134810358285904,
-0.027133455500006676,
-0.00715578394010663,
0.02861306257545948,
-0.04259344935417175,
0.0028890552930533886,
0.00708948215469718,
0.017279988154768944,
0.02863900549709797,
0.05154896527528763,
0.04677903279662132,
-0.02999062091112137,
-0.02617446705698967,
0.0064619071781635284,
-0.02792731486260891,
-0.02524208463728428,
-0.015073128044605255,
-0.05713754519820213,
0.0017589712515473366,
-0.013299103826284409,
0.03550483658909798,
-0.03245601803064346,
0.01875986158847809,
-0.011114194057881832,
-0.02289612777531147,
-0.034248463809490204,
-0.0011613856768235564,
-0.021607082337141037,
0.05071130394935608,
-0.0029274101834744215,
-0.005959000438451767,
-0.0047846403904259205,
0.0092758908867836,
-0.01969100721180439,
0.03967113047838211,
-0.013003839179873466,
0.03558124974370003,
-0.01841914840042591,
-0.01738019473850727,
-0.01442768145352602,
0.029984690248966217,
0.04737785458564758,
0.030739713460206985,
0.00941966101527214,
0.02813035435974598,
-0.005202124826610088,
-0.03598939999938011,
-0.028034145012497902,
-0.046136386692523956,
0.03804786875844002,
-0.04365697503089905,
-0.04791327565908432,
-0.018982358276844025,
-0.0017355040181428194,
0.004724485334008932,
-0.005560584366321564,
-0.0449613519012928,
0.014301971532404423,
-0.00686139240860939,
-0.015310246497392654,
0.004204955883324146,
0.017512569203972816,
0.0275922492146492,
0.028527015820145607,
0.020359255373477936,
0.004322881810367107,
-0.04296493157744408,
-0.018887914717197418,
0.035782936960458755,
0.02464907243847847,
0.05389237403869629,
-0.034085772931575775,
-0.012825269252061844,
-0.015835938975214958,
-0.04891397804021835,
-0.0033726037945598364,
-0.03056696429848671,
0.03492085635662079,
0.0474604070186615,
-0.013371534645557404,
-0.03762522339820862,
0.007145640440285206,
0.0325704887509346,
-0.05181613191962242,
0.05918680503964424,
-0.04358304291963577,
-0.03220776468515396,
0.01765947975218296,
0.00015618921315763146,
-0.008454497903585434,
-0.005813950207084417,
-0.020755337551236153,
-0.001904806005768478,
0.028608638793230057,
-0.006529665552079678,
0.004752059932798147,
-0.04671196639537811,
0.01994325779378414,
0.027995767071843147,
0.006920387502759695,
-0.08850325644016266,
-0.0036707036197185516,
-0.013672414235770702,
0.032246578484773636,
-0.00807642936706543,
-0.02618778496980667,
0.017224082723259926,
-0.010348438285291195,
-0.03525632247328758,
0.039499782025814056,
-0.01025337167084217,
-0.01405202504247427,
-0.03852672502398491,
-0.007562105543911457,
-0.008457180112600327,
0.021435756236314774,
0.025294866412878036,
-0.028283145278692245,
-0.011227749288082123,
-0.0033506506588310003
] |
Rocket Money x Hugging Face: Scaling Volatile ML Models in Production | nicokuzak | September 19, 2023 | rocketmoney-case-study | case-studies | https://huggingface.co/blog/rocketmoney-case-study | # Rocket Money x Hugging Face: Scaling Volatile ML Models in Production | [
-0.006718089338392019,
-0.009949647821485996,
0.06251174956560135,
0.005053064785897732,
0.0284305177628994,
0.067062146961689,
-0.04555019363760948,
0.025623716413974762,
-0.015011788345873356,
-0.018472131341695786,
-0.08423202484846115,
0.10359448194503784,
-0.049840230494737625,
0.07056612521409988,
0.013330558314919472,
-0.0780026912689209,
-0.06546297669410706,
0.04837966710329056,
0.03121103160083294,
0.0435979850590229,
-0.05020679906010628,
-0.06061943247914314,
0.06881670653820038,
0.014188538305461407,
-0.052516087889671326,
-0.03591339662671089,
0.025196729227900505,
-0.04866347089409828,
-0.0025889556854963303,
0.03714568912982941,
-0.12076729536056519,
0.04512503370642662,
0.011004709638655186,
0.026664992794394493,
0.026791010051965714,
0.037966448813676834,
-0.10929740965366364,
0.06079728528857231,
-0.008195444010198116,
-0.04795408248901367,
0.042492520064115524,
-0.03475215286016464,
-0.04216935858130455,
0.029019169509410858,
-0.02162342332303524,
-0.052691735327243805,
-0.1660109907388687,
0.050846345722675323,
-0.017021015286445618,
-0.008067081682384014,
-0.047101929783821106,
0.044908978044986725,
-0.013502335175871849,
-0.027176247909665108,
-0.025223104283213615,
-0.01199367642402649,
-0.05498924478888512,
-0.06018722802400589,
-0.005658333655446768,
-0.017538785934448242,
0.08761105686426163,
-0.0339973010122776,
0.020405268296599388,
0.025171201676130295,
-0.01083217840641737,
0.04918504133820534,
0.03693666681647301,
-0.0885491818189621,
-0.09561112523078918,
-0.03624749928712845,
0.06165366247296333,
0.027099331840872765,
-0.018783219158649445,
-0.012326798401772976,
-0.02915390022099018,
-0.02684185653924942,
-0.028006242588162422,
0.061751626431941986,
0.03824138268828392,
0.057210441678762436,
0.01403527520596981,
-0.04230690747499466,
0.09178585559129715,
0.06757425516843796,
0.011567828245460987,
0.06153605505824089,
0.024479946121573448,
-0.08042123913764954,
-0.005726798437535763,
0.08988940715789795,
-0.06565611809492111,
-0.08730527013540268,
-0.021981004625558853,
0.03473825380206108,
0.05413948744535446,
-0.018643762916326523,
-0.006130358204245567,
-0.02309112809598446,
0.044166795909404755,
-0.018521172925829887,
0.02559002861380577,
-0.053180031478405,
0.04424396529793739,
-0.02177891507744789,
-0.07080407440662384,
0.07974018901586533,
-0.03680936619639397,
-0.06937603652477264,
0.023731717839837074,
-0.003778071142733097,
-0.022913577035069466,
0.014826237224042416,
0.04080510139465332,
0.0418306365609169,
-0.0371629074215889,
0.03667144849896431,
-0.05052423104643822,
-0.01667199283838272,
0.061592601239681244,
0.01025388389825821,
0.01883528009057045,
0.07323131710290909,
-0.025643596425652504,
-0.014591473154723644,
-0.017094647511839867,
0.03898844122886658,
0.017488792538642883,
0.005764979403465986,
0.002425779588520527,
-0.011604814790189266,
-0.026492850854992867,
-0.01939464546740055,
-0.0326811745762825,
-0.015564738772809505,
-0.006759449373930693,
-0.05856423079967499,
0.0064188456162810326,
-0.030107766389846802,
0.03836639225482941,
-0.023728681728243828,
-0.07650040835142136,
0.07139160484075546,
0.0037830807268619537,
0.10392697155475616,
0.06517872214317322,
-0.04218165576457977,
-0.05963839963078499,
0.035728905349969864,
-0.039617929607629776,
0.0115234749391675,
-0.051362499594688416,
0.011038011871278286,
-0.03405487909913063,
-0.07660098373889923,
-0.011844095773994923,
0.021980365738272667,
0.006777447648346424,
-0.019343487918376923,
-0.00857558473944664,
-0.008620938286185265,
-0.07262391597032547,
0.00290230056270957,
-0.02981496974825859,
-0.022141410037875175,
0.06903330236673355,
0.004557083826512098,
0.00509707722812891,
0.04453934729099274,
-0.049831289798021317,
-0.012791555374860764,
0.016951292753219604,
0.014657578431069851,
0.09182274341583252,
-0.003786966437473893,
-0.029599355533719063,
0.047564614564180374,
0.09632081538438797,
0.10606463253498077,
-0.023363785818219185,
0.016571464017033577,
-0.03768650442361832,
0.05230053514242172,
0.03372706100344658,
0.07116185873746872,
0.004560580011457205,
-0.08967401087284088,
0.036018382757902145,
0.032055482268333435,
-0.01915719360113144,
0.023888999596238136,
-0.07920472323894501,
0.036454036831855774,
0.07849331200122833,
-0.03592616692185402,
0.04311550408601761,
-0.05521650239825249,
-0.0023189103230834007,
0.07327605783939362,
0.03490138798952103,
0.035278402268886566,
0.009872783906757832,
0.009181738831102848,
0.04529433324933052,
-0.03335430100560188,
0.01714279130101204,
-0.013374271802604198,
0.016906162723898888,
-0.06895215064287186,
0.028823746368288994,
0.018607763573527336,
0.0035271793603897095,
-0.07144211232662201,
0.025176260620355606,
-0.09462644904851913,
-0.020844610407948494,
-0.07918772846460342,
-0.052631426602602005,
0.009531864896416664,
-0.06903934478759766,
0.02408905141055584,
0.1483297199010849,
-0.0250251442193985,
-0.016123084351420403,
-0.009454513899981976,
-0.016118468716740608,
0.026164177805185318,
0.09416737407445908,
0.0032247474882751703,
0.06398756802082062,
-0.09674693644046783,
-0.06606761366128922,
-0.06291510164737701,
-0.03008110076189041,
0.020532136783003807,
0.010368025861680508,
0.0009091199026443064,
-0.02035287581384182,
0.049041714519262314,
0.0066321357153356075,
-0.10423530638217926,
-0.024533869698643684,
0.003285360522568226,
-0.04812208563089371,
0.08515296876430511,
-0.01764158345758915,
-0.020881477743387222,
0.03127984330058098,
0.0126033378764987,
-0.0926467552781105,
-0.013825425878167152,
-0.04309365898370743,
0.025254100561141968,
-0.015048137865960598,
-0.0012323211412876844,
0.012333642691373825,
0.01082238182425499,
0.003703503403812647,
-0.0030030205380171537,
-0.040093109011650085,
0.030642647296190262,
0.053983379155397415,
-0.0136032709851861,
0.04635263606905937,
-0.020420566201210022,
0.008560768328607082,
-0.01808413304388523,
0.002918025478720665,
-0.02112981677055359,
-0.02816036529839039,
0.020698577165603638,
0.035887621343135834,
0.004286610521376133,
0.05230569466948509,
0.02870696783065796,
0.031862832605838776,
0.04287795349955559,
0.039018068462610245,
0.0013218497624620795,
-0.019190002232789993,
0.0030103540048003197,
-0.004996698349714279,
-0.015371520072221756,
0.014777171425521374,
0.022279340773820877,
0.020610131323337555,
0.004418392200022936,
0.02231523022055626,
-0.011806843802332878,
-0.026998061686754227,
0.04926363006234169,
0.028669070452451706,
-0.005489956587553024,
-0.00007301039295271039,
0.022399887442588806,
0.01737591251730919,
-0.007698766887187958,
0.0015623723156750202,
-0.0006935853743925691,
-0.022277232259511948,
0.037088122218847275,
0.000405738566769287,
0.04193645343184471,
-0.04540200158953667,
-0.04359438642859459,
0.009912940673530102,
-0.0009744662092998624,
0.010500311851501465,
0.053682949393987656,
-0.1042984202504158,
-0.0380689762532711,
-0.005069098901003599,
0.00335188047029078,
-0.022478846833109856,
-0.0519840233027935,
0.019752871245145798,
0.011136015877127647,
-0.007583292666822672,
0.012571892701089382,
0.03643209859728813,
0.031475186347961426,
-0.0033535202965140343,
-0.0014826626284047961,
0.005684069823473692,
-0.03837074711918831,
-0.0008462873520329595,
0.013852115720510483,
0.02516142837703228,
0.042182616889476776,
-0.024354377761483192,
0.05215035006403923,
-0.034955479204654694,
0.013044399209320545,
0.009202615357935429,
0.027221806347370148,
0.026041338220238686,
-0.0329197458922863,
-0.00008334717131219804,
-0.03205965831875801,
-0.04553750157356262,
-0.0021999620366841555,
-0.03532813489437103,
-0.001359005575068295,
0.0004619761893991381,
0.0032401292119175196,
-0.013603783212602139,
0.012400880455970764,
0.041770484298467636,
0.030474141240119934,
0.018230758607387543,
0.029478639364242554,
0.027426710352301598,
0.00954604521393776,
0.023108217865228653,
0.006267387419939041,
-0.028044747188687325,
0.019735023379325867,
0.051425475627183914,
-0.05198314040899277,
0.0057360040955245495,
-0.061872147023677826,
0.021244553849101067,
0.03178442269563675,
0.028206856921315193,
0.04205095022916794,
-0.04886193200945854,
0.02980297990143299,
0.0031365305185317993,
-0.0025242059491574764,
-0.0990648940205574,
0.0023197259288281202,
-0.03038882650434971,
-0.007129139732569456,
-0.030967023223638535,
0.007589635904878378,
-0.0011990310158580542,
-0.041970547288656235,
-0.023328911513090134,
0.03439103439450264,
0.02079162746667862,
0.020163696259260178,
-0.006140054203569889,
0.014194429852068424,
-0.004391947761178017,
0.03860562667250633,
0.02446618303656578,
-0.022814137861132622,
0.053532250225543976,
-0.005907465238124132,
-0.056945983320474625,
-0.023444581776857376,
0.003270023735240102,
-0.0483536571264267,
0.0026333360001444817,
-0.018410054966807365,
0.01975114271044731,
0.00013469865371007472,
-0.0002245766227133572,
0.049575746059417725,
-0.027213286608457565,
-0.031287115067243576,
0.04023052006959915,
-0.0036596693098545074,
0.03746979311108589,
-0.017025606706738472,
0.04016020894050598,
-0.012330828234553337,
0.016411321237683296,
0.0033055972307920456,
-0.01643308997154236,
-0.04685730114579201,
-0.012898329645395279,
-0.00229929992929101,
-0.0034421542659401894,
0.022413913160562515,
-0.01701413281261921,
-0.020153023302555084,
-0.009671005420386791,
0.02064344473183155,
0.022655203938484192,
0.04223749786615372,
-0.00902004074305296,
-0.036027684807777405,
0.03166332095861435,
-0.008030526340007782,
-0.04673103988170624,
0.003766546258702874,
-0.027987191453576088,
0.05086180195212364,
-0.056718241423368454,
0.001714702695608139,
-0.0026272498071193695,
-0.03381431847810745,
0.017382413148880005,
-0.010933006182312965,
0.008026246912777424,
-0.004865735303610563,
-0.023812001571059227,
-0.028549985960125923,
-0.026720134541392326,
-0.04624592140316963,
0.052299320697784424,
-0.04890279099345207,
0.0011285683140158653,
-0.000023580805645906366,
0.0017020723316818476,
0.029796749353408813,
-0.012140460312366486,
-0.06153079494833946,
-0.005125710275024176,
0.022354481741786003,
0.015453762374818325,
-0.022863782942295074,
0.010760067030787468,
-0.0026600691489875317,
-0.027292490005493164,
0.008118954487144947,
-0.018139200285077095,
0.01684839464724064,
0.032600000500679016,
-0.015867888927459717,
-0.03503355756402016,
0.03434811532497406,
0.07797743380069733,
0.001309168990701437,
-0.010525770485401154,
-0.014088540337979794,
0.009935038164258003,
0.039197247475385666,
-0.006444965954869986,
0.0033803132828325033,
-0.029280584305524826,
0.015111630782485008,
0.0018271850422024727,
-0.010447603650391102,
0.004116601310670376,
-0.0710165873169899,
-0.0012841069838032126,
0.021217431873083115,
-0.016060708090662956,
0.006436518859118223,
-0.0058463872410357,
-0.04490183666348457,
-0.0045373039320111275,
0.024844354018568993,
0.0492987185716629,
-0.01486434880644083,
-0.014049068093299866,
0.034138042479753494,
-0.01864507794380188,
-0.0018868211191147566,
-0.008464672602713108,
-0.007313381414860487,
0.011848055757582188,
0.03257058933377266,
0.03335905075073242,
0.06629747152328491,
0.02070561610162258,
0.013139471411705017,
0.016934379935264587,
0.011548821814358234,
0.0033322672825306654,
-0.03654114902019501,
0.006090780720114708,
0.016330983489751816,
-0.025776900351047516,
0.025000199675559998,
0.001455088029615581,
-0.011621846817433834,
0.0010393630946055055,
0.012622794136404991,
-0.008721674792468548,
-0.033664852380752563,
0.006330101750791073,
-0.006909265648573637,
-0.026126332581043243,
0.035492006689310074,
0.02506469562649727,
-0.013347737491130829,
-0.020806007087230682,
-0.013105209916830063,
0.004213423002511263,
-0.043764326721429825,
0.011404827237129211,
-0.03494194895029068,
-0.04711684212088585,
-0.007653937675058842,
-0.013553432188928127,
0.06363954395055771,
-0.032220806926488876,
-0.006182562559843063,
-0.012677885591983795,
-0.0068313609808683395,
0.038050729781389236,
-0.03854663670063019,
-0.0192257110029459,
0.05687320977449417,
-0.009778236970305443,
0.00992885697633028,
0.017365360632538795,
0.006959008052945137,
0.03793911263346672,
0.03807231783866882,
0.048245854675769806,
0.00190535350702703,
-0.013584978878498077,
0.05487631633877754,
-0.012644791975617409,
0.0016697391401976347,
-0.0037512381095439196,
-0.007703989744186401,
-0.04794509336352348,
-0.012223592959344387,
-0.026170965284109116,
-0.011984031647443771,
0.04559740051627159,
0.026143928989768028,
0.022089961916208267,
0.01967083103954792,
0.03925209119915962,
-0.003326134057715535,
0.012799292802810669,
0.05820489674806595,
0.029428863897919655,
0.007516303565353155,
0.009242835454642773,
-0.04553615301847458,
0.017094001173973083,
-0.016948364675045013,
0.04028329253196716,
-0.03679108992218971,
0.04217511788010597,
0.01027011964470148,
0.015549801290035248,
0.10247212648391724,
-0.03445759043097496,
-0.009782595559954643,
0.027323337271809578,
0.0413721539080143,
0.035440582782030106,
0.004047995898872614,
0.009948903694748878,
0.022051645442843437,
-0.022655203938484192,
-0.001393803278915584,
0.036364685744047165,
0.003821853082627058,
-0.01773604191839695,
0.0050522456876933575,
-0.0165630504488945,
0.018746070563793182,
0.06577212363481522,
0.03875022009015083,
0.008710267953574657,
0.0452827513217926,
0.0708770751953125,
-0.010696657933294773,
0.04908653348684311,
0.04959830269217491,
-0.005233036354184151,
-0.003661688417196274,
-0.016338733956217766,
-0.005790145602077246,
-0.029843494296073914,
0.040738992393016815,
0.05768146365880966,
-0.03222775086760521,
0.018320681527256966,
0.010640852153301239,
0.04714319109916687,
0.003426886163651943,
0.027779484167695045,
-0.004928181413561106,
0.023595809936523438,
0.005918293260037899,
-0.0006908955401740968,
0.005873275455087423,
0.014320584014058113,
0.01192113570868969,
0.009770633652806282,
0.03420836478471756,
0.0026739235036075115,
0.025341670960187912,
0.00802435353398323,
-0.005850465036928654,
-0.006839478388428688,
-0.012243046425282955,
-0.026955347508192062,
-0.014513585716485977,
0.017277132719755173,
-0.0022567096166312695,
-0.00553870340809226,
-0.0012217729818075895,
-0.018799960613250732,
-0.03407714515924454,
-0.019202910363674164,
0.019390981644392014,
0.004823271185159683,
-0.01859273575246334,
0.0005058133974671364,
0.022946972399950027,
-0.00022059799812268466,
-0.025092391297221184,
0.0041485982947051525,
-0.02593330666422844,
0.04383043944835663,
0.018212635070085526,
-0.013842851854860783,
-0.0061238775961101055,
-0.010215391404926777,
0.007327524945139885,
-0.010703572072088718,
-0.014348315075039864,
-0.000964123522862792,
0.00399656780064106,
-0.014359720051288605,
0.032640401273965836,
-0.02428440935909748,
0.025275006890296936,
0.029472412541508675,
-0.009922005236148834,
-0.051743291318416595,
-0.003372225910425186,
-0.003999647684395313,
-0.004100268706679344,
-0.01049643475562334,
-0.050969094038009644,
0.033716097474098206,
0.01663406938314438,
0.025430217385292053,
0.03653369098901749,
0.06533876806497574,
-0.0017264382913708687,
-0.018599819391965866,
-0.025816788896918297,
-0.02266494370996952,
0.010279427282512188,
0.04617311805486679,
0.034071728587150574,
-0.02760445512831211,
-0.001451136777177453,
-0.007313302718102932,
-0.009157691150903702,
0.0052227964624762535,
0.047287583351135254,
0.030776791274547577,
0.016165778040885925,
-0.04607906937599182,
-0.006134517956525087,
0.02588118240237236,
0.025842711329460144,
0.05253070592880249,
0.03327322378754616,
-0.0008037160150706768,
0.0049283867701888084,
-0.07009022682905197,
0.020146304741501808,
0.0033960260916501284,
-0.00014478148659691215,
-0.0031947139650583267,
-0.027868973091244698,
-0.013748886063694954,
-0.0047044879756867886,
-0.01887214183807373,
0.01965096965432167,
-0.012926973402500153,
0.0015260372310876846,
-0.026476072147488594,
0.01509467326104641,
-0.014028074219822884,
0.004965200554579496,
0.03835194557905197,
0.06569579243659973,
0.033642854541540146,
0.013220942579209805,
-0.045667026191949844,
0.00835268385708332,
-0.005540097132325172,
0.0009640348725952208,
0.021874772384762764,
-0.04086724668741226,
-0.03182133659720421,
-0.039816662669181824,
-0.009043346159160137,
-0.026216082274913788,
-0.048653218895196915,
0.0008995927637442946,
0.017334558069705963,
-0.014587792567908764,
-0.038683563470840454,
0.008004422299563885,
0.01429054606705904,
-0.012322446331381798,
0.0494585745036602,
0.007591368164867163,
-0.04086934030056,
-0.00032522386754862964,
0.026461172848939896,
-0.046409111469984055,
0.015196539461612701,
0.005437897983938456,
-0.013573853299021721,
0.06265297532081604,
0.0036335408221930265,
0.02366960421204567,
-0.018771972507238388,
-0.02531411685049534,
0.005207621026784182,
0.00884181261062622,
-0.05222334712743759,
-0.002518590074032545,
-0.0009468017960898578,
-0.002283672336488962,
0.0037392578087747097,
-0.040547046810388565,
0.014682037755846977,
0.037261974066495895,
-0.02602449618279934,
0.003919979557394981,
-0.005261548794806004,
0.01054318156093359,
-0.024324148893356323,
-0.004211361054331064,
-0.003079446032643318,
0.013410186395049095,
0.0069275968708097935,
-0.02797887474298477,
0.006193032022565603,
0.015960929915308952
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Code infilling with Code Llama Code models like Code Llama can be used for code completion using the same generation strategy we used in the previous examples: you provide a starting string that may contain code or comments, and the model will try to continue the sequence with plausible content. Code models can also be used for infilling, a more specialized task where you provide prefix and suffix sequences, and the model will predict what should go in between. This is great for applications such as IDE extensions. Let's see an example using Code Llama: Python client = InferenceClient(model="codellama/CodeLlama-13b-hf", token=YOUR_TOKEN) prompt_prefix = 'def remove_non_ascii(s: str) -> str:\n """ ' prompt_suffix = "\n return result" prompt = f"<PRE> {prompt_prefix} <SUF>{prompt_suffix} <MID>" infilled = client.text_generation(prompt, max_new_tokens=150) infilled = infilled.rstrip(" <EOT>") print(f"{prompt_prefix}{infilled}{prompt_suffix}") def remove_non_ascii(s: str) -> str: """ Remove non-ASCII characters from a string. Args: s (str): The string to remove non-ASCII characters from. Returns: str: The string with non-ASCII characters removed. """ result = "" for c in s: if ord(c) < 128: result += c return result As you can see, the format used for infilling follows this pattern: prompt = f"<PRE> {prompt_prefix} <SUF>{prompt_suffix} <MID>" For more details on how this task works, please take a look at https://huggingface.co/blog/codellama#code-completion. | [
0.03055557981133461,
-0.01118407491594553,
0.011907370761036873,
0.03409003093838692,
0.06292279064655304,
0.08205796033143997,
0.0638878270983696,
0.024696292355656624,
-0.005712714046239853,
0.015086847357451916,
-0.0950453132390976,
-0.03735056146979332,
0.003817889839410782,
0.07774856686592102,
-0.013844415545463562,
0.036329757422208786,
0.07845219224691391,
0.010309900157153606,
-0.015647126361727715,
0.05733456462621689,
-0.04221669211983681,
-0.03413156792521477,
0.042910680174827576,
-0.04415546730160713,
-0.01836470514535904,
-0.017689786851406097,
-0.004797063767910004,
-0.02110893279314041,
-0.023432426154613495,
0.01949913799762726,
-0.06164376437664032,
0.02178935706615448,
-0.003046410158276558,
0.010648779571056366,
-0.00447906693443656,
0.019804880023002625,
-0.13021035492420197,
0.05926137417554855,
0.020838459953665733,
-0.015942417085170746,
-0.07897535711526871,
-0.03639742732048035,
-0.021770523861050606,
0.009281884878873825,
0.005099212750792503,
-0.03368065133690834,
-0.14555011689662933,
0.03293941542506218,
-0.02242692932486534,
-0.04341496527194977,
-0.0720125287771225,
0.07893851399421692,
-0.020608816295862198,
-0.01204062718898058,
-0.01977204903960228,
-0.01372403372079134,
0.011339784599840641,
-0.0531650111079216,
0.01926792785525322,
0.04073666036128998,
-0.02284756675362587,
-0.0013580078957602382,
0.06639723479747772,
0.018629640340805054,
0.035147279500961304,
0.0105829993262887,
-0.06932217627763748,
0.03437943384051323,
-0.07520977407693863,
-0.050698570907115936,
-0.01747421734035015,
-0.020288260653614998,
-0.03887470066547394,
-0.05132314935326576,
-0.031436510384082794,
-0.04692696034908295,
0.0007399675087071955,
0.07336542755365372,
0.007015707436949015,
0.05335759371519089,
-0.021503260359168053,
0.03563562035560608,
0.057953283190727234,
0.027564356103539467,
0.08387987315654755,
0.028538594022393227,
0.010317813605070114,
-0.0683828741312027,
-0.05258899927139282,
0.02379891648888588,
-0.0059234569780528545,
-0.13237304985523224,
-0.004143808502703905,
0.07773716002702713,
0.06498174369335175,
-0.06197785586118698,
0.011292878538370132,
0.05349719524383545,
-0.09788912534713745,
-0.03926095739006996,
-0.031853314489126205,
-0.05145751312375069,
-0.04021758958697319,
-0.07729945331811905,
-0.07723400741815567,
0.05475447326898575,
-0.016261937096714973,
-0.03073287382721901,
-0.07751412689685822,
-0.031171785667538643,
0.011622877791523933,
-0.021197235211730003,
0.039539363235235214,
0.07878351211547852,
-0.12214759737253189,
-0.015953518450260162,
-0.03331805765628815,
0.025460507720708847,
-0.0808233767747879,
0.028175095096230507,
0.02024550549685955,
0.05114998668432236,
0.05809234455227852,
0.014414675533771515,
0.04368719086050987,
0.08449994772672653,
0.00060034089256078,
0.03766843304038048,
0.023176314309239388,
0.0015264155808836222,
0.026481108739972115,
0.04889576509594917,
0.04183920845389366,
-0.02114543318748474,
0.037294697016477585,
-0.029923949390649796,
-0.03971216827630997,
-0.07871121168136597,
0.08666300773620605,
-0.017428521066904068,
-0.005650606472045183,
0.031767163425683975,
0.01523584220558405,
-0.010299473069608212,
0.06783498078584671,
0.014801553450524807,
-0.08677005022764206,
0.049132559448480606,
0.026233887299895287,
0.02645050920546055,
-0.03558189794421196,
0.034429389983415604,
-0.03530333563685417,
-0.007001212798058987,
0.04173688217997551,
0.05056458339095116,
-0.025200605392456055,
0.03333130106329918,
-0.039320092648267746,
-0.038431763648986816,
0.033489178866147995,
0.03695996478199959,
-0.01227718498557806,
-0.024099409580230713,
0.021935386583209038,
0.0023576123639941216,
-0.007735128048807383,
-0.010739905759692192,
0.05672452971339226,
0.06455130875110626,
-0.010230720043182373,
-0.026073018088936806,
0.035647522658109665,
-0.08626817166805267,
-0.004579922650009394,
0.011794747784733772,
0.04498467221856117,
-0.024799827486276627,
-0.04019934684038162,
-0.03990386053919792,
-0.005601579323410988,
0.05046624690294266,
-0.03228156641125679,
0.00579492375254631,
0.016333339735865593,
-0.05731457471847534,
-0.004255933221429586,
-0.08554664999246597,
-0.023250175639986992,
-0.028023123741149902,
-0.02373410575091839,
0.03527070954442024,
0.06483209133148193,
0.032877977937459946,
0.018944865092635155,
-0.02544534206390381,
-0.05536138638854027,
0.026809904724359512,
0.072444848716259,
0.09762784093618393,
0.0492594949901104,
0.06664139032363892,
0.0538594052195549,
-0.011552996933460236,
-0.0329548642039299,
0.020088117569684982,
0.03893785551190376,
0.026899509131908417,
0.026828991249203682,
-0.023846926167607307,
0.029452752321958542,
-0.03400415927171707,
0.06704746931791306,
-0.05629132315516472,
0.06732340157032013,
0.013155790977180004,
-0.03407764062285423,
-0.04639948904514313,
0.0018563560442999005,
0.0019462747732177377,
0.13129718601703644,
-0.09863854199647903,
-0.040566250681877136,
-0.08185010403394699,
0.013682844117283821,
0.01800513081252575,
0.055894918739795685,
0.08250158280134201,
0.06982515007257462,
-0.05261600762605667,
-0.0014582998119294643,
-0.03189026936888695,
-0.002807241166010499,
0.021315213292837143,
0.010736572556197643,
-0.036646172404289246,
0.05488933250308037,
0.014651515521109104,
-0.0022453847341239452,
0.037008874118328094,
0.04623068496584892,
0.02801082842051983,
0.0010452460264787078,
-0.0006037339335307479,
0.015888530761003494,
-0.03750238195061684,
0.07196361571550369,
-0.003124143462628126,
-0.0681975856423378,
0.017233427613973618,
0.01036490686237812,
0.04415470361709595,
0.0852426290512085,
0.030595986172556877,
0.015482481569051743,
-0.022347841411828995,
-0.012294155545532703,
-0.023869751021265984,
-0.0056448085233569145,
0.0163856353610754,
-0.01732660084962845,
-0.041155312210321426,
-0.011791729368269444,
-0.0368034690618515,
-0.020597103983163834,
-0.013209606520831585,
0.01359526813030243,
0.007469091098755598,
-0.014432231895625591,
0.018210312351584435,
0.021845541894435883,
-0.03733330965042114,
0.034549079835414886,
-0.01159672811627388,
0.05704357102513313,
0.017444737255573273,
0.036332156509160995,
0.007780794054269791,
-0.03336167335510254,
-0.028214264661073685,
-0.041161276400089264,
-0.010818199254572392,
0.03481230512261391,
0.03891735523939133,
-0.01675608940422535,
-0.005674276500940323,
0.0033094375394284725,
-0.05210001394152641,
-0.029977915808558464,
0.04522467032074928,
0.011273949407041073,
0.013796486891806126,
0.002073706826195121,
0.016481012105941772,
-0.005311522167176008,
-0.009807736612856388,
0.019905326887965202,
0.02605089172720909,
-0.04115147143602371,
0.00940618198364973,
-0.025766808539628983,
-0.04044952243566513,
-0.02494114823639393,
-0.00845743715763092,
-0.026115339249372482,
0.03401027247309685,
0.02216477505862713,
0.007927114143967628,
-0.09373036026954651,
-0.029663389548659325,
-0.023566320538520813,
-0.03731856122612953,
0.013378209434449673,
-0.005488033872097731,
0.0830422192811966,
-0.0044204602017998695,
-0.05718744918704033,
0.022562410682439804,
-0.030349545180797577,
0.02157558500766754,
-0.009603545069694519,
0.010989509522914886,
-0.01783263497054577,
-0.01299877930432558,
-0.043725837022066116,
0.02496274933218956,
0.04459851235151291,
0.013456858694553375,
-0.053544651716947556,
0.03444753214716911,
-0.019367344677448273,
0.015012119896709919,
-0.023565802723169327,
-0.047868914902210236,
0.044340770691633224,
0.04319979250431061,
-0.005324088037014008,
-0.033327292650938034,
0.007073796819895506,
-0.04683743789792061,
0.0038648282643407583,
-0.006310642696917057,
-0.052871838212013245,
0.05382090061903,
0.035810671746730804,
-0.04202800244092941,
0.03498735651373863,
0.04545501247048378,
-0.008931535296142101,
-0.011628222651779652,
0.006524335592985153,
-0.010271298699080944,
-0.016047585755586624,
-0.021922698244452477,
-0.002723793964833021,
-0.01447024755179882,
0.04167351871728897,
-0.028810258954763412,
-0.019473465159535408,
-0.02828017622232437,
0.0064346748404204845,
0.07059883326292038,
0.022506050765514374,
-0.019957272335886955,
0.03782019019126892,
0.018355898559093475,
0.008331774733960629,
0.03460445627570152,
-0.05692586675286293,
-0.024502627551555634,
-0.045562583953142166,
-0.022884180769324303,
-0.006036339793354273,
0.07102685421705246,
-0.013010750524699688,
-0.0027730977162718773,
-0.003857559524476528,
0.02897229790687561,
0.008550124242901802,
0.03327358886599541,
-0.01262090913951397,
0.00006100180326029658,
-0.027422621846199036,
-0.000444134755525738,
-0.06163353845477104,
0.00388923566788435,
0.0715835690498352,
0.013302288949489594,
0.010311581194400787,
-0.05562815070152283,
0.001087773940525949,
-0.03367743641138077,
0.0023406080435961485,
-0.014948134310543537,
0.016575276851654053,
-0.028337709605693817,
-0.0004548548604361713,
0.02968411147594452,
-0.030028708279132843,
-0.02600652351975441,
0.008244320750236511,
0.03274714946746826,
0.01450632605701685,
0.0013932085130363703,
-0.00420384481549263,
-0.01615147292613983,
-0.027199888601899147,
-0.0044357627630233765,
0.02186667174100876,
-0.032924361526966095,
-0.017014721408486366,
0.01861395128071308,
0.002302497159689665,
0.034495603293180466,
-0.030580122023820877,
-0.02715475484728813,
0.03418019786477089,
-0.02592424489557743,
-0.03412742540240288,
-0.035227321088314056,
-0.005847685970366001,
-0.009788631461560726,
0.0017356633907184005,
0.036178864538669586,
-0.005577159579843283,
-0.06407061219215393,
-0.010094303637742996,
-0.011721443384885788,
-0.04168756306171417,
-0.027840444818139076,
0.0340714268386364,
-0.028996437788009644,
0.04453955590724945,
-0.01417273934930563,
0.018204187974333763,
0.016143960878252983,
0.008546783588826656,
0.03771548718214035,
-0.045953359454870224,
0.004637818317860365,
0.0009310264722444117,
-0.01566922664642334,
-0.018003912642598152,
0.021136369556188583,
-0.02950884960591793,
-0.0010659414110705256,
0.0027850193437188864,
-0.04276450723409653,
-0.047574497759342194,
-0.007373709697276354,
0.00255807233043015,
-0.004106060601770878,
0.012300906702876091,
-0.03901459649205208,
0.008246690034866333,
-0.020957689732313156,
0.017795506864786148,
-0.011762785725295544,
0.03993524983525276,
-0.041594479233026505,
-0.033836182206869125,
-0.0125280087813735,
0.036812104284763336,
-0.015687329694628716,
-0.01584036648273468,
0.01139761321246624,
0.04117092490196228,
0.017644859850406647,
0.028454894199967384,
0.0017448519356548786,
-0.07381569594144821,
0.05078160762786865,
0.030202902853488922,
-0.01314927265048027,
-0.019731903448700905,
-0.037546347826719284,
0.03818144276738167,
0.010207084938883781,
-0.05005727335810661,
0.0027357302606105804,
0.0410366915166378,
-0.02085576392710209,
-0.0007062046206556261,
0.033752769231796265,
0.051282502710819244,
0.02082933485507965,
-0.034099746495485306,
-0.006513997446745634,
0.0020780276972800493,
-0.030058132484555244,
0.07407102733850479,
0.03358132764697075,
0.009243490174412727,
0.001847374252974987,
0.03795764595270157,
0.04294026270508766,
0.05788957700133324,
0.007379515562206507,
-0.008282503113150597,
-0.002547853859141469,
-0.0077104330994188786,
-0.011583168990910053,
-0.016508912667632103,
-0.004199656657874584,
-0.04992581903934479,
0.005966520868241787,
-0.013331119902431965,
-0.02643095701932907,
-0.0148957259953022,
-0.0033534562680870295,
-0.02569490857422352,
0.048675909638404846,
0.01971486397087574,
0.00196261890232563,
0.011939743533730507,
-0.04686816781759262,
0.04001300409436226,
-0.01672188937664032,
-0.0004897903418168426,
-0.03153716027736664,
0.007405661512166262,
0.031511690467596054,
-0.0050954995676875114,
-0.01855928637087345,
0.03383082151412964,
-0.004553241189569235,
0.011266072280704975,
0.024512093514204025,
-0.017278848215937614,
-0.003270187648013234,
0.0170104019343853,
0.024992389604449272,
0.0172091294080019,
0.011284315958619118,
-0.010232063010334969,
0.007892866618931293,
0.019850611686706543,
0.009824037551879883,
0.05841686576604843,
-0.04484306648373604,
0.006065309513360262,
0.002708073705434799,
-0.0038154309149831533,
-0.0076568895019590855,
-0.07604607194662094,
0.023474449291825294,
0.018460815772414207,
-0.01288563571870327,
-0.03132309019565582,
-0.03667866438627243,
-0.04751253128051758,
-0.01867377571761608,
-0.012316979467868805,
0.02009216696023941,
0.008737619034945965,
-0.004249871708452702,
-0.008227516897022724,
0.04280807822942734,
0.022850506007671356,
-0.0333036445081234,
-0.008935661055147648,
-0.010098135098814964,
0.0017853042809292674,
0.02963840216398239,
0.01713571883738041,
0.0028708644676953554,
0.001519545796327293,
-0.04243261367082596,
0.03979575261473656,
-0.05115153640508652,
-0.0042756726033985615,
0.04930226877331734,
-0.004220462869852781,
0.015968402847647667,
0.014015779830515385,
-0.038022469729185104,
0.03540956228971481,
-0.030498553067445755,
0.04175218567252159,
0.02447841316461563,
0.04959314316511154,
-0.02833360806107521,
0.019241034984588623,
-0.02557520382106304,
-0.01919180154800415,
0.05248366296291351,
0.023337936028838158,
0.025218497961759567,
0.046541478484869,
0.028743518516421318,
0.026628045365214348,
0.0111200250685215,
-0.06057757884263992,
-0.03076554648578167,
0.058554507791996,
0.0730404332280159,
0.013431363739073277,
0.012530644424259663,
-0.0434332974255085,
0.03207744285464287,
-0.05681812763214111,
-0.02977573499083519,
-0.02271742932498455,
0.022295771166682243,
0.07173829525709152,
-0.009789008647203445,
0.021346507593989372,
-0.04176992177963257,
0.07942426204681396,
0.004544826690107584,
0.027980467304587364,
-0.0031608722638338804,
-0.020125867798924446,
0.007465380243957043,
-0.00585868488997221,
0.04387441650032997,
0.03587727248668671,
0.0009516233112663031,
-0.030461035668849945,
0.03469500690698624,
0.027116112411022186,
0.03064396046102047,
0.029899898916482925,
0.035594381392002106,
0.03421759605407715,
-0.0009961414616554976,
0.017265835776925087,
0.017023108899593353,
0.031018657609820366,
0.012550394050776958,
-0.02349279262125492,
0.00191619957331568,
-0.009947595186531544,
-0.007524132262915373,
-0.041606515645980835,
-0.025093084201216698,
-0.0018642906798049808,
-0.016912374645471573,
0.002454685280099511,
0.01932152360677719,
0.02453002892434597,
-0.03036564402282238,
-0.006882952060550451,
-0.0368170365691185,
-0.009590310975909233,
0.0005423407419584692,
-0.02240576595067978,
-0.00836970191448927,
-0.004272616468369961,
-0.017798081040382385,
-0.040862467139959335,
-0.004243545699864626,
0.031777866184711456,
-0.029085490852594376,
0.04535946622490883,
0.03422798961400986,
0.011172603815793991,
0.009953193366527557,
-0.014606302604079247,
0.04625397175550461,
-0.012093091383576393,
-0.025757374241948128,
-0.012911143712699413,
-0.039901383221149445,
0.015373273752629757,
-0.0038114595226943493,
0.003909640945494175,
-0.03905206173658371,
0.012681669555604458,
0.011925831437110901,
0.0455021932721138,
-0.010319679044187069,
0.03544872999191284,
-0.024207254871726036,
-0.035303857177495956,
0.0017301940824836493,
0.017055507749319077,
-0.044529855251312256,
0.004433347377926111,
0.023916056379675865,
-0.020594622939825058,
0.003175194375216961,
0.007950191386044025,
-0.016348395496606827,
0.054113902151584625,
-0.011421923525631428,
-0.02615920454263687,
0.02328147180378437,
0.03715124353766441,
0.03456602618098259,
-0.002720046788454056,
0.02840445376932621,
0.026021262630820274,
-0.002614320022985339,
-0.018140770494937897,
0.06332118064165115,
-0.07107570022344589,
0.034535374492406845,
-0.042729947715997696,
-0.01863907091319561,
-0.02520148828625679,
-0.016145098954439163,
-0.028824836015701294,
0.028801290318369865,
-0.05010804533958435,
0.0033970035146921873,
-0.03133365511894226,
-0.027937661856412888,
-0.013135014101862907,
-0.001367013668641448,
0.04460356757044792,
0.02801457792520523,
0.02558562345802784,
0.016487689688801765,
0.015550432726740837,
-0.015573374927043915,
-0.03404342383146286,
0.005071342457085848,
0.05388122797012329,
0.006734763737767935,
-0.011643310077488422,
-0.017579950392246246,
0.00003696056955959648,
-0.025693507865071297,
-0.003077483270317316,
-0.004813198000192642,
0.0012562371557578444,
-0.038074616342782974,
-0.01806298829615116,
-0.014809047803282738,
0.03300293907523155,
-0.008046870119869709,
0.019979696720838547,
0.007637055590748787,
0.0035387773532420397,
0.03830502927303314,
0.00640328973531723,
-0.06760895252227783,
-0.009050228632986546,
-0.030875543132424355,
0.00567345367744565,
0.043065767735242844,
0.023539310321211815,
0.06483933329582214,
0.0049852947704494,
0.02194623276591301,
0.027242615818977356,
0.024390319362282753,
-0.024744106456637383,
-0.0365285687148571,
-0.019311167299747467,
0.04373985156416893,
-0.007591690868139267,
0.0004139246593695134,
0.03436858579516411,
0.018824636936187744,
-0.0025817672722041607,
0.018229089677333832,
-0.0019750825595110655,
-0.01936699077486992,
0.0365971140563488,
-0.01857416145503521,
0.0025818352587521076,
0.07080549746751785,
0.04219359531998634,
0.005554612725973129,
-0.022328877821564674,
0.03447199985384941
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | FAQ Does this affect the free Inference API? No. We still expose thousands of models through free APIs that allow people to prototype and explore model capabilities quickly. Does this affect Enterprise users? Users with an Enterprise subscription also benefit from accelerated inference API for curated models. Can I use my own models with PRO Inference API? The free Inference API already supports a wide range of small and medium models from a variety of libraries (such as diffusers, transformers, and sentence transformers). If you have a custom model or custom inference logic, we recommend using Inference Endpoints. | [
0.06489007920026779,
-0.0000027798855626315344,
0.03826053813099861,
0.04129389300942421,
0.07067293673753738,
0.03659331053495407,
0.018281491473317146,
0.051649611443281174,
0.02229423075914383,
-0.008111774921417236,
-0.02619507722556591,
0.024069683626294136,
-0.01055713091045618,
0.026529118418693542,
0.03455269709229469,
-0.070876844227314,
-0.0028361123986542225,
-0.016169540584087372,
-0.02035323716700077,
0.009555456228554249,
0.05431279167532921,
-0.08258567750453949,
0.014839019626379013,
-0.07458189129829407,
-0.05594642832875252,
-0.04090740904211998,
-0.029992857947945595,
-0.02291872166097164,
-0.047963742166757584,
-0.03263487294316292,
-0.10598660260438919,
-0.004133893642574549,
0.0020780402701348066,
-0.02901090495288372,
-0.03173442929983139,
-0.027928806841373444,
-0.11418841034173965,
0.031436461955308914,
0.02313290908932686,
0.006208585575222969,
0.020469719544053078,
-0.03208685666322708,
-0.053733114153146744,
0.015061096288263798,
0.033456671983003616,
-0.047763723880052567,
-0.18828324973583221,
0.07381319254636765,
-0.04657181724905968,
-0.00976490043103695,
-0.09680238366127014,
0.08025728166103363,
-0.027939284220337868,
0.019185947254300117,
0.04931541532278061,
0.0399349071085453,
-0.029583429917693138,
-0.11698295921087265,
0.03964884951710701,
-0.01052857842296362,
0.038179319351911545,
-0.02533065713942051,
0.023655107244849205,
0.0019720501732081175,
0.03115687146782875,
0.02681039460003376,
-0.046014588326215744,
-0.004008492920547724,
-0.044591713696718216,
0.01887788251042366,
-0.005032232031226158,
-0.04512884095311165,
-0.029902471229434013,
-0.018185973167419434,
0.03690042719244957,
-0.05476583167910576,
-0.02168598584830761,
0.05286670848727226,
0.09765348583459854,
-0.03989534452557564,
0.008957858197391033,
-0.031459420919418335,
0.03977726399898529,
0.0026024216786026955,
0.013537419028580189,
-0.00665008369833231,
-0.014415092766284943,
-0.05132065340876579,
-0.004945493768900633,
-0.018063649535179138,
0.020005064085125923,
-0.13483856618404388,
0.02372494339942932,
0.0093635693192482,
0.019667133688926697,
0.04565346613526344,
0.038189373910427094,
0.06215900182723999,
-0.01657823659479618,
-0.020485591143369675,
-0.04481779411435127,
-0.030944449827075005,
-0.033334750682115555,
-0.0082399882376194,
-0.014323319308459759,
0.013524736277759075,
0.00810584332793951,
-0.10962238907814026,
-0.05159420520067215,
0.08663508296012878,
0.02377132512629032,
0.011139040812849998,
-0.04989191144704819,
0.0652024894952774,
-0.052564654499292374,
-0.04154452309012413,
0.04754237085580826,
0.0028844871558248997,
0.01038032304495573,
-0.016604023054242134,
0.024993257597088814,
0.027919255197048187,
0.05462564900517464,
0.06121200695633888,
0.022348957136273384,
0.07822590321302414,
0.08354347944259644,
0.03785884752869606,
-0.023693900555372238,
-0.028760720044374466,
0.020226705819368362,
-0.03866305202245712,
0.020833510905504227,
-0.013130527921020985,
0.0012186737731099129,
-0.09684842079877853,
-0.017715776339173317,
-0.04393361508846283,
0.054393548518419266,
-0.0026817978359758854,
-0.03284274414181709,
0.0022132410667836666,
0.004172636196017265,
-0.012343673966825008,
0.063212551176548,
-0.011638716794550419,
-0.025154652073979378,
0.03537306189537048,
-0.04075658321380615,
0.054597966372966766,
-0.0948655903339386,
0.11472348123788834,
-0.03298409283161163,
-0.027930336073040962,
0.017612315714359283,
0.037795621901750565,
0.028357747942209244,
-0.005960835609585047,
-0.0363151989877224,
-0.0359075665473938,
-0.002096987795084715,
-0.0367482490837574,
0.006043906323611736,
0.00801143515855074,
0.03660779073834419,
0.022421076893806458,
-0.007279503159224987,
0.0006903566536493599,
0.010967914015054703,
0.013514195568859577,
0.008082738146185875,
-0.04811614751815796,
0.06550393998622894,
-0.04196105897426605,
0.030091416090726852,
0.03271597996354103,
0.008768687956035137,
0.08773056417703629,
0.021899841725826263,
0.005373697262257338,
-0.076472207903862,
0.05193733796477318,
-0.05699796602129936,
-0.026912694796919823,
0.05664572864770889,
-0.11431977897882462,
0.06874912977218628,
-0.027888407930731773,
-0.033162087202072144,
-0.06467511504888535,
-0.010631405748426914,
-0.042237669229507446,
0.09547485411167145,
0.0042993901297450066,
0.020178919658064842,
-0.051799219101667404,
-0.07499120384454727,
0.09776683151721954,
0.037017226219177246,
0.030642244964838028,
0.03234270587563515,
0.010509752668440342,
0.038040641695261,
-0.0715612918138504,
-0.03944750130176544,
0.03037751466035843,
0.028443869203329086,
0.002965399995446205,
0.012160776183009148,
0.042720675468444824,
0.025473885238170624,
-0.15539829432964325,
0.025782976299524307,
-0.07661650329828262,
0.04146382585167885,
-0.06868239492177963,
-0.028532277792692184,
0.03480023890733719,
-0.009259502403438091,
-0.056989528238773346,
0.1710260957479477,
-0.006449501030147076,
-0.03936636820435524,
-0.04325122758746147,
-0.06666412949562073,
0.006126392167061567,
0.03751396760344505,
-0.03880377113819122,
0.037022657692432404,
-0.015012772753834724,
-0.05525342375040054,
-0.002500247210264206,
-0.011619496159255505,
0.0045747882686555386,
0.0193485114723444,
0.04678889736533165,
-0.03967874497175217,
-0.04236042872071266,
0.027117565274238586,
-0.028305010870099068,
0.049058135598897934,
0.00684800511226058,
-0.01808946765959263,
0.07977796345949173,
0.0014984759036451578,
0.045275554060935974,
0.05769740045070648,
0.018923785537481308,
-0.03456246852874756,
-0.01729676127433777,
-0.06420867145061493,
0.020400911569595337,
-0.007816453464329243,
-0.00879057589918375,
0.04998018965125084,
0.056770242750644684,
-0.03819409757852554,
-0.0041954414919018745,
-0.01200175192207098,
-0.005619738716632128,
0.0006927395006641746,
-0.019819432869553566,
0.0006085741333663464,
0.0010405926732346416,
0.014085961505770683,
-0.04457850009202957,
-0.013024277053773403,
-0.00855387281626463,
0.014919319190084934,
-0.0005628654616884887,
0.040323588997125626,
-0.029157888144254684,
0.0035815879236906767,
0.027364546433091164,
0.0345059409737587,
0.048481546342372894,
0.0621880367398262,
-0.010852527804672718,
-0.008831723593175411,
-0.002479597693309188,
-0.025031739845871925,
-0.04122581705451012,
0.01785847917199135,
0.05417310446500778,
0.011749687604606152,
-0.0320805199444294,
-0.004148665349930525,
-0.020436802878975868,
-0.04477575048804283,
0.014144334942102432,
0.004560266621410847,
0.009693409316241741,
0.007864024490118027,
-0.049015555530786514,
-0.03987305611371994,
0.011462853290140629,
0.0050421361811459064,
0.00203934614546597,
-0.01584189385175705,
-0.01879500225186348,
0.004763863980770111,
-0.009520004503428936,
0.0012403513537719846,
-0.04534735158085823,
-0.03005528822541237,
0.060402464121580124,
0.021866407245397568,
0.00666252663359046,
-0.11401048302650452,
-0.02151275984942913,
-0.044197339564561844,
0.012602600269019604,
-0.013152463361620903,
-0.011263896711170673,
0.004017382860183716,
-0.021352222189307213,
0.017039263620972633,
0.02163125015795231,
0.000552295648958534,
-0.001225522137247026,
0.03256328031420708,
0.017344875261187553,
-0.019297759979963303,
0.020022030919790268,
0.005656016990542412,
0.021803265437483788,
0.022278456017374992,
0.024405160918831825,
-0.012794513255357742,
0.04879770055413246,
-0.0024780714884400368,
-0.0029642500448971987,
0.011892684735357761,
0.0024827802553772926,
0.045817941427230835,
0.005968638230115175,
0.044036127626895905,
-0.022233977913856506,
-0.018503336235880852,
-0.022721320390701294,
-0.02230418473482132,
0.027825938537716866,
-0.008312571793794632,
0.03406592085957527,
-0.021456275135278702,
0.016647562384605408,
0.031361039727926254,
0.043185316026210785,
0.013194045051932335,
0.0047215973027050495,
0.012933820486068726,
0.015452818013727665,
0.01166633889079094,
-0.019431082531809807,
0.014612880535423756,
0.024958748370409012,
0.025772662833333015,
-0.0019539466593414545,
-0.02407625876367092,
-0.004720540251582861,
0.04545697197318077,
0.033504411578178406,
-0.009368853643536568,
-0.017665032297372818,
-0.010323110967874527,
-0.001785981236025691,
0.01684044487774372,
-0.010118745267391205,
-0.045380882918834686,
0.004089521709829569,
0.03216301649808884,
0.022517558187246323,
-0.042528122663497925,
0.008787018246948719,
0.02414187230169773,
0.00006620006752200425,
0.0072607193142175674,
0.007643327582627535,
0.0033733362797647715,
0.04134603589773178,
0.0334484837949276,
0.013845555484294891,
-0.002339728642255068,
0.05591830611228943,
-0.007677895948290825,
-0.02888275310397148,
0.05967232212424278,
0.05573667585849762,
0.00955867674201727,
-0.017532920464873314,
-0.013597614131867886,
0.00425262376666069,
-0.02073306031525135,
-0.006819403264671564,
0.019267026335000992,
-0.006365118082612753,
-0.01875106804072857,
0.06336487829685211,
0.02066515013575554,
0.0060830144211649895,
0.037409838289022446,
0.02943074144423008,
0.005051951855421066,
0.0434095561504364,
0.057376302778720856,
0.0382588766515255,
0.03398739546537399,
-0.00387828447856009,
0.03508663550019264,
-0.016329219564795494,
-0.027065789327025414,
0.01715996488928795,
-0.05745365098118782,
0.025132622569799423,
-0.020669767633080482,
-0.027689339593052864,
0.012976141646504402,
-0.044090043753385544,
0.035103268921375275,
-0.009448275901377201,
0.0015558775048702955,
-0.00911466870456934,
0.028529910370707512,
0.027071094140410423,
0.0018765837885439396,
0.020387034863233566,
-0.07831233739852905,
0.03856527432799339,
0.0027811143081635237,
0.020288145169615746,
0.011039843782782555,
-0.032871466130018234,
0.017818719148635864,
0.02018812671303749,
0.006196506321430206,
-0.001222108374349773,
-0.03914390131831169,
0.02603873610496521,
-0.009708937257528305,
0.02024751901626587,
0.0308951735496521,
0.0344620980322361,
0.020972654223442078,
-0.019877294078469276,
-0.029774317517876625,
0.008838625624775887,
-0.010698012076318264,
0.00860708486288786,
0.0035279998555779457,
-0.013561708852648735,
0.001218785298988223,
0.007292528171092272,
0.021105533465743065,
-0.007289509288966656,
-0.05620177462697029,
-0.026231395080685616,
-0.053702570497989655,
0.019217824563384056,
0.017940189689397812,
0.01569393090903759,
-0.05572069436311722,
-0.021887876093387604,
0.0291401706635952,
-0.003987695090472698,
0.024371623992919922,
0.013994195498526096,
0.006339321378618479,
0.050082385540008545,
0.021609868854284286,
0.03745557367801666,
-0.018768785521388054,
0.01832771673798561,
0.01365646068006754,
0.01156842615455389,
-0.033151883631944656,
-0.058162443339824677,
-0.036611009389162064,
0.02853102795779705,
-0.03598373010754585,
0.02531559206545353,
0.007499505765736103,
-0.024714797735214233,
0.021560659632086754,
0.03291631117463112,
0.032748907804489136,
0.012583384290337563,
0.007447652518749237,
-0.008591673336923122,
-0.009459421969950199,
-0.04002862051129341,
0.030944686383008957,
-0.005652531050145626,
-0.02713262289762497,
-0.0014952776255086064,
0.06915580481290817,
0.0691242590546608,
0.02898373454809189,
0.023617813363671303,
-0.010261066257953644,
-0.0021196031011641026,
-0.004520216956734657,
-0.03505721688270569,
0.023128613829612732,
-0.05754635110497475,
0.03229885175824165,
0.043722931295633316,
-0.02471478097140789,
-0.01642310619354248,
0.015618578530848026,
0.02169824205338955,
-0.018322141841053963,
-0.05592234805226326,
0.019594794139266014,
-0.020393505692481995,
0.017070021480321884,
-0.04089336097240448,
0.03537645936012268,
-0.04103798791766167,
0.013744056224822998,
-0.0297258198261261,
-0.019666453823447227,
0.027858925983309746,
-0.004491915926337242,
-0.026622885838150978,
-0.01195322535932064,
0.016111567616462708,
0.047294240444898605,
0.07526178658008575,
0.0009010144276544452,
-0.01885327138006687,
-0.03259582072496414,
-0.007212046533823013,
0.04405572637915611,
-0.01940162666141987,
0.005829586181789637,
0.030031656846404076,
0.007554668001830578,
0.02020864561200142,
0.018416285514831543,
-0.004334030672907829,
0.0010851568076759577,
0.03849543258547783,
0.03911886736750603,
0.02550135739147663,
-0.058735594153404236,
0.049841564148664474,
0.019661758095026016,
-0.022248215973377228,
-0.013567579910159111,
-0.04678726568818092,
-0.04359732195734978,
-0.00851956196129322,
-0.04265466704964638,
0.025203749537467957,
0.053997352719306946,
-0.04829518869519234,
-0.040019258856773376,
0.008479799143970013,
0.03672260418534279,
-0.008256823755800724,
0.002837548730894923,
-0.0350017249584198,
0.008267332799732685,
-0.02210882306098938,
0.048801958560943604,
-0.019308120012283325,
-0.004558231681585312,
0.025786487385630608,
0.03321540355682373,
-0.009412582963705063,
0.021565202623605728,
0.0426802895963192,
-0.03683429956436157,
0.015571415424346924,
0.044308897107839584,
-0.03014450892806053,
0.011770746670663357,
-0.014043761417269707,
-0.022181332111358643,
0.02619216963648796,
0.008129188790917397,
0.021466564387083054,
-0.020998453721404076,
-0.02748727612197399,
0.018668564036488533,
0.05826049670577049,
0.013060631230473518,
0.012701289728283882,
0.038988299667835236,
0.05234615132212639,
0.05082690715789795,
-0.0009457366541028023,
0.009293465875089169,
0.012598066590726376,
0.041859760880470276,
0.021369172260165215,
0.016242031008005142,
-0.021619563922286034,
0.000524798990227282,
-0.029058804735541344,
-0.008566274307668209,
0.023645712062716484,
-0.03207980468869209,
-0.005218052305281162,
0.04200510308146477,
0.02158169262111187,
0.02089017629623413,
-0.03732706978917122,
0.03285886347293854,
0.007886799983680248,
0.043587081134319305,
-0.011141299270093441,
0.008817034773528576,
0.03289438784122467,
0.0050071594305336475,
-0.007148845586925745,
0.04851891100406647,
0.004536475520581007,
-0.03140553832054138,
0.03460254520177841,
-0.0016109677962958813,
0.014123483560979366,
-0.004048306494951248,
0.008234145119786263,
0.012223019264638424,
-0.008864873088896275,
-0.01916799694299698,
0.009347659535706043,
0.004440208896994591,
0.009651950560510159,
-0.04572398588061333,
0.0255377646535635,
-0.040235184133052826,
-0.046517957001924515,
0.006491770036518574,
-0.010879578068852425,
-0.0019445522921159863,
-0.032588858157396317,
0.009736708365380764,
0.040748950093984604,
0.0014521086122840643,
-0.013284078799188137,
-0.010433549992740154,
0.00461030937731266,
0.009380162693560123,
0.01013923529535532,
-0.02063674107193947,
-0.02193622663617134,
-0.019812116399407387,
-0.014140471816062927,
0.0005937936948612332,
0.028870366513729095,
-0.02007647044956684,
-0.000469972932478413,
0.01566953957080841,
0.0394732840359211,
0.00992234330624342,
0.02949589304625988,
0.023578578606247902,
0.008469874039292336,
-0.03510211035609245,
0.0068612066097557545,
-0.02227727137506008,
-0.03212472051382065,
-0.041610024869441986,
0.011230985634028912,
-0.006972855422645807,
-0.016182230785489082,
-0.01490155141800642,
0.06313744187355042,
0.022300325334072113,
-0.04399171099066734,
-0.02381148934364319,
0.03108011931180954,
-0.03903567045927048,
0.03502219542860985,
0.02625531144440174,
0.0055708009749650955,
-0.016668220981955528,
-0.037384748458862305,
0.005767156835645437,
-0.004169041756540537,
0.005543637555092573,
-0.009566274471580982,
0.04951680079102516,
0.008303698152303696,
0.002825874602422118,
-0.024871034547686577,
0.04866059869527817,
-0.01873164065182209,
0.04006150737404823,
0.029313411563634872,
0.0031564454548060894,
0.01335078477859497,
-0.024210717529058456,
-0.03800306096673012,
-0.016447659581899643,
0.0650315061211586,
-0.014243035577237606,
-0.058429766446352005,
-0.027931058779358864,
0.04585958644747734,
-0.057243335992097855,
-0.008369525894522667,
-0.021039679646492004,
-0.015349154360592365,
-0.04304446280002594,
-0.020626289770007133,
-0.023812556639313698,
0.005730918142944574,
0.06284504383802414,
-0.010738895274698734,
0.03682025521993637,
-0.0003867056511808187,
0.01099120918661356,
0.01071139145642519,
-0.002828847151249647,
0.028441810980439186,
0.004858039319515228,
-0.026483386754989624,
-0.01689116656780243,
-0.018446916714310646,
0.021186327561736107,
-0.0032484978437423706,
-0.06534754484891891,
0.03823651000857353,
0.02901090681552887,
0.006731920875608921,
-0.027158798649907112,
0.00328604388050735,
0.0471980981528759,
0.00378698343411088,
0.03947603330016136,
0.021851075813174248,
0.012140286155045033,
-0.036532334983348846,
0.010175042785704136,
-0.054217495024204254,
-0.046425435692071915,
-0.03672392666339874,
-0.02045677974820137,
0.011280863545835018,
-0.00995462667196989,
-0.004774909466505051,
0.00013177708024159074,
0.01550288125872612,
0.02030128799378872,
-0.015619729645550251,
0.001603126642294228,
-0.04129023104906082,
-0.02993190288543701,
0.04333726689219475,
-0.012018207460641861,
-0.01532695721834898,
0.010651814751327038,
-0.008289574645459652,
-0.0019675532821565866,
0.0021977671422064304,
0.03369705751538277,
-0.004157297778874636,
-0.012216687202453613,
0.006868114694952965,
-0.02881420962512493,
0.04302385076880455,
0.10773064941167831,
-0.01574651338160038,
-0.022179942578077316,
-0.00909651443362236
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Chat with Llama 2 and Code Llama Models prepared to follow chat conversations are trained with very particular and specific chat templates that depend on the model used. You need to be careful about the format the model expects and replicate it in your queries. The following example was taken from our Llama 2 blog post, that describes in full detail how to query the model for conversation: Python prompt = """<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] """ response = client.text_generation(prompt, max_new_tokens=200) print(response) This example shows the structure of the first message in a multi-turn conversation. Note how the <<SYS>> delimiter is used to provide the system prompt, which tells the model how we expect it to behave. Then our query is inserted between [INST] delimiters. If we wish to continue the conversation, we have to append the model response to the sequence, and issue a new followup instruction afterwards. This is the general structure of the prompt template we need to use for Llama 2: <s>[INST] <<SYS>> {{ system_prompt }} <</SYS>> {{ user_msg_1 }} [/INST] {{ model_answer_1 }} </s><s>[INST] {{ user_msg_2 }} [/INST] This same format can be used with Code Llama Instruct to engage in technical conversations with a code-savvy assistant! Please, refer to our Llama 2 blog post for more details. | [
-0.007249141577631235,
0.012795545160770416,
0.042862553149461746,
0.06135719642043114,
0.08945591002702713,
0.02580689638853073,
0.05102809518575668,
0.022873077541589737,
-0.008614917285740376,
-0.005336941219866276,
-0.0819954052567482,
0.05598106235265732,
-0.04039974510669708,
0.036637526005506516,
-0.057064708322286606,
-0.01767141930758953,
0.045072562992572784,
0.007637730799615383,
0.004888967610895634,
0.049127478152513504,
-0.01669076643884182,
-0.037891268730163574,
-0.0063803549855947495,
-0.03603779897093773,
0.0126369409263134,
-0.0033860376570373774,
-0.006272455211728811,
-0.002857678337022662,
-0.060675639659166336,
-0.003038690658286214,
-0.08909770846366882,
0.01835823431611061,
-0.030149396508932114,
-0.03502543270587921,
0.02846548520028591,
-0.003793193958699703,
-0.15264283120632172,
0.0697416290640831,
-0.01457890123128891,
-0.030742481350898743,
-0.018018878996372223,
-0.05406031757593155,
-0.027233315631747246,
0.04447941109538078,
0.011272028088569641,
-0.03215835988521576,
-0.17544513940811157,
0.008453577756881714,
-0.006303906440734863,
-0.02180132269859314,
-0.08937795460224152,
0.06959377229213715,
-0.00664386386051774,
-0.013132906518876553,
0.015932416543364525,
0.007589207962155342,
-0.02254459448158741,
-0.017261460423469543,
-0.055646058171987534,
0.045972589403390884,
0.010561426170170307,
0.01581922546029091,
0.019565369933843613,
0.010552030988037586,
0.017171738669276237,
0.035150524228811264,
-0.001167119713500142,
0.02398860640823841,
-0.06382566690444946,
-0.02436171844601631,
0.0015330067835748196,
-0.0006841791910119355,
-0.005591675639152527,
-0.04121263697743416,
0.030199715867638588,
-0.07662507146596909,
-0.047185733914375305,
0.07502851635217667,
0.004043501801788807,
0.03777660056948662,
-0.07085414975881577,
0.027399294078350067,
0.06513451784849167,
0.01729002594947815,
0.017684761434793472,
0.041217755526304245,
0.09038039296865463,
0.012354198843240738,
-0.0068843187764286995,
0.01430008839815855,
-0.0571138970553875,
-0.10501230508089066,
0.003496898105368018,
0.038629088550806046,
0.05323881655931473,
-0.0031848896760493517,
-0.009554521180689335,
0.029909901320934296,
-0.04506780952215195,
-0.014744404703378677,
-0.01641272008419037,
-0.07007192075252533,
0.060713991522789,
-0.05358915403485298,
-0.07102824002504349,
0.06454641371965408,
-0.029317619279026985,
-0.0799155980348587,
-0.06005489453673363,
-0.0427294559776783,
-0.003270503832027316,
-0.00846592802554369,
0.06250523030757904,
0.10413544625043869,
-0.017669664695858955,
0.025541488081216812,
0.005420994479209185,
0.020216185599565506,
-0.031812991946935654,
-0.0371551439166069,
0.023488231003284454,
0.0455632321536541,
0.08977197110652924,
0.01094619557261467,
0.023589082062244415,
0.060065265744924545,
0.010985643602907658,
0.04800694063305855,
-0.03164151683449745,
-0.024240834638476372,
0.016926219686865807,
0.03737509623169899,
0.04978429153561592,
0.03063073568046093,
0.012376436963677406,
-0.013600487262010574,
0.01055227592587471,
-0.11574102938175201,
0.08381713181734085,
-0.027221105992794037,
0.01969830133020878,
-0.0070189242251217365,
0.05497558414936066,
0.0670936331152916,
0.07113166153430939,
0.021256601437926292,
-0.07936868816614151,
0.0026088140439242125,
-0.019433073699474335,
-0.029794884845614433,
-0.05311034992337227,
0.02022702433168888,
-0.009055901318788528,
-0.08018547296524048,
0.023141853511333466,
0.020167557522654533,
-0.004883905407041311,
0.02323627844452858,
-0.06685372442007065,
-0.05945712327957153,
0.041728418320417404,
0.04962558671832085,
-0.045254118740558624,
0.0367257185280323,
0.055725663900375366,
-0.008996172808110714,
-0.06265198439359665,
-0.047509241849184036,
0.03942801430821419,
-0.015032250434160233,
0.008361133746802807,
-0.01828569360077381,
0.05076939985156059,
0.003567367559298873,
0.011157980188727379,
0.08857442438602448,
0.008163617923855782,
-0.014555202797055244,
0.02586027979850769,
-0.011707802303135395,
-0.03299802169203758,
-0.003856959752738476,
-0.05925168842077255,
-0.008482221513986588,
0.051764339208602905,
-0.031513363122940063,
0.02278614044189453,
-0.10044094920158386,
-0.047033511102199554,
-0.00791974551975727,
0.012169722467660904,
0.0132597666233778,
0.031133946031332016,
0.05009671673178673,
0.035803478211164474,
-0.0533890575170517,
-0.037630800157785416,
0.08499357849359512,
0.048000041395425797,
0.1068626269698143,
0.07368724048137665,
0.06337340921163559,
0.04292502626776695,
-0.02852027863264084,
-0.04532624036073685,
0.0445878840982914,
0.019847558811306953,
-0.05597855895757675,
-0.014641130343079567,
0.01682150550186634,
-0.030318567529320717,
-0.09515989571809769,
0.04718370735645294,
-0.02479909174144268,
0.044970110058784485,
-0.03736291453242302,
-0.014022750779986382,
-0.07264447957277298,
0.028639841824769974,
0.040253397077322006,
0.12385853379964828,
-0.05894707515835762,
0.015057016164064407,
-0.06848541647195816,
0.02147131785750389,
0.06988853961229324,
0.04973045736551285,
0.05337579920887947,
0.10815542191267014,
-0.10660803318023682,
0.006349931471049786,
0.016478318721055984,
0.006853830069303513,
0.05243111774325371,
-0.013233491219580173,
-0.0372237004339695,
0.023744722828269005,
0.02644328400492668,
0.03935771808028221,
0.0023540460970252752,
0.09863786399364471,
0.020420808345079422,
-0.03553968295454979,
0.014770894311368465,
-0.06536456942558289,
-0.030814997851848602,
0.02010107785463333,
-0.006305975373834372,
-0.03392216935753822,
0.06899536401033401,
-0.04036923497915268,
0.05048267915844917,
0.04922809079289436,
0.014371749944984913,
-0.009030957706272602,
0.0013344945618882775,
-0.020882781594991684,
-0.028100566938519478,
-0.017180850729346275,
0.025831816717982292,
-0.004841986112296581,
0.006714960094541311,
-0.0009049687650986016,
-0.03220853954553604,
-0.024529701098799706,
-0.039364807307720184,
0.01688588410615921,
-0.012625542469322681,
-0.024197697639465332,
0.005180126056075096,
0.01845170184969902,
-0.039449144154787064,
-0.020204467698931694,
0.003986544441431761,
0.004392070695757866,
0.044389694929122925,
0.0266945231705904,
0.027324708178639412,
0.01491937879472971,
-0.02161732129752636,
-0.022649696096777916,
-0.010229025967419147,
0.05083979293704033,
0.056837648153305054,
0.012287729419767857,
-0.01813606731593609,
0.009059252217411995,
-0.025093045085668564,
-0.017224490642547607,
-0.004770925734192133,
0.010068348608911037,
0.009653783403337002,
0.005643434356898069,
0.0064659109339118,
-0.011467835865914822,
-0.010425547137856483,
-0.00586275476962328,
0.04381180554628372,
-0.029490260407328606,
0.04490960016846657,
0.010997400619089603,
-0.019754698500037193,
-0.015350207686424255,
-0.0006706468411721289,
0.005676024593412876,
0.0034692983608692884,
0.014209258370101452,
0.010967609472572803,
-0.0989954024553299,
0.001497329561971128,
0.000792207894846797,
-0.02000531554222107,
-0.025121217593550682,
-0.011051381006836891,
0.0939144641160965,
-0.032001905143260956,
-0.020341478288173676,
0.019695300608873367,
-0.07212260365486145,
0.028226293623447418,
-0.02277609333395958,
-0.03454110771417618,
0.008291549049317837,
-0.00000530027045897441,
-0.05112246796488762,
0.022119181230664253,
0.0607658214867115,
-0.020441975444555283,
-0.022442933171987534,
0.044938407838344574,
-0.016563501209020615,
0.01542112696915865,
-0.047954533249139786,
0.01760268397629261,
0.08419470489025116,
0.020332640036940575,
0.01692202128469944,
-0.052049268037080765,
-0.011218336410820484,
-0.02188624069094658,
-0.012365950271487236,
0.004432370886206627,
-0.084845632314682,
0.008368559181690216,
0.0029470433946698904,
-0.007452170364558697,
0.053251441568136215,
0.045357994735240936,
0.0006347170565277338,
0.0026036875788122416,
0.02227393537759781,
-0.030162055045366287,
-0.005881278309971094,
0.00226792274042964,
-0.04521897807717323,
-0.022645458579063416,
0.0003421895671635866,
-0.031787414103746414,
-0.009549845941364765,
-0.01384793221950531,
-0.027171654626727104,
0.06698987632989883,
-0.002159399911761284,
0.02210683934390545,
0.029361028224229813,
0.046726830303668976,
0.003704389091581106,
-0.010548114776611328,
-0.05054309964179993,
0.02850351482629776,
-0.01165798120200634,
0.03175540268421173,
-0.02181367576122284,
0.07401718199253082,
0.007374897599220276,
0.014966294169425964,
0.014633106999099255,
0.03994828835129738,
0.004593302961438894,
0.017972499132156372,
0.017176028341054916,
0.011293970979750156,
-0.011880297213792801,
-0.03152240812778473,
-0.03939180076122284,
-0.006825306452810764,
0.05737936124205589,
-0.010664275847375393,
0.020564191043376923,
0.004573147743940353,
-0.027853231877088547,
-0.03776833042502403,
-0.023306161165237427,
-0.025734372437000275,
0.06322962045669556,
-0.020810458809137344,
0.03126432001590729,
0.031100202351808548,
-0.027893081307411194,
-0.04936918988823891,
0.05191882327198982,
0.026476111263036728,
-0.0036946586333215237,
0.024872273206710815,
0.019147269427776337,
-0.006543745286762714,
0.01743251457810402,
0.027667181566357613,
0.04871909320354462,
0.0003662825038190931,
-0.02575719729065895,
0.020261645317077637,
0.0012910050572827458,
0.020858610048890114,
-0.029694221913814545,
-0.04184699058532715,
0.01623118668794632,
-0.009052385576069355,
-0.04373525083065033,
-0.055787064135074615,
0.019704535603523254,
0.01973663829267025,
-0.007876936346292496,
0.04584519937634468,
-0.014749202877283096,
-0.01653064414858818,
-0.026772210374474525,
-0.024783501401543617,
-0.04831122234463692,
-0.008774809539318085,
0.010825824923813343,
-0.00976569764316082,
0.014663232490420341,
-0.05613693967461586,
0.06548997014760971,
-0.029420927166938782,
0.007592464331537485,
0.008342528715729713,
-0.027585212141275406,
-0.027423372492194176,
-0.010376487858593464,
0.019276253879070282,
0.041287537664175034,
0.044054362922906876,
0.0036825742572546005,
0.024057744070887566,
-0.017185920849442482,
-0.04450954496860504,
-0.043723415583372116,
-0.0058211577124893665,
0.010375694371759892,
-0.026519007980823517,
0.005247666500508785,
0.007700470741838217,
-0.01979043520987034,
-0.005547405686229467,
0.055555637925863266,
0.019760197028517723,
0.012046757154166698,
-0.029736848548054695,
-0.018978511914610863,
0.0027090732473880053,
-0.04582486301660538,
0.006476596929132938,
0.010296633467078209,
0.01177892740815878,
0.040614236146211624,
0.028079578652977943,
0.0011378711787983775,
-0.0029819272458553314,
-0.04839664325118065,
0.016818609088659286,
0.018524209037423134,
-0.021991977468132973,
-0.016872454434633255,
-0.02311052940785885,
0.026857206597924232,
-0.03406226262450218,
-0.0360393188893795,
-0.014150658622384071,
0.03209742158651352,
-0.016797933727502823,
0.028397809714078903,
0.034257497638463974,
0.057990022003650665,
0.03513946384191513,
0.01861483044922352,
-0.01576809771358967,
-0.0345570370554924,
-0.0024459778796881437,
0.04756924510002136,
0.013413368724286556,
-0.0035299768205732107,
-0.0024046634789556265,
0.026543857529759407,
0.02151264250278473,
0.05454312637448311,
0.033528003841638565,
0.0016253552166745067,
0.008639346808195114,
0.017169583588838577,
-0.013663171790540218,
-0.0036329503636807203,
0.03794005513191223,
-0.036151330918073654,
0.02067379653453827,
-0.009386228397488594,
0.01410872582346201,
0.03994094952940941,
0.01266693789511919,
-0.01827411539852619,
-0.00027369073359295726,
0.010045578703284264,
-0.015834050253033638,
-0.01412457600235939,
-0.04764890298247337,
-0.00696758134290576,
-0.035542432218790054,
0.0004931022995151579,
-0.03411727398633957,
-0.002622128464281559,
0.008234755136072636,
0.02728188782930374,
-0.01588897779583931,
-0.015993865206837654,
0.007609905209392309,
0.030616575852036476,
0.05779226869344711,
-0.00492459861561656,
-0.0024676553439348936,
-0.001765255001373589,
0.01649891771376133,
0.011612936854362488,
-0.0005671805120073259,
0.006680665537714958,
0.02652672678232193,
0.0001676877000136301,
-0.007501853164285421,
0.03257760778069496,
-0.016621069982647896,
-0.011837945319712162,
0.05593657121062279,
-0.00373339606449008,
0.01397345494478941,
-0.10094358772039413,
-0.004231944680213928,
0.005671950057148933,
-0.025037497282028198,
-0.007495380472391844,
-0.0366012305021286,
-0.034300435334444046,
-0.0047701275907456875,
0.017627105116844177,
0.0354422964155674,
0.022616777569055557,
-0.010538604110479355,
-0.007467472925782204,
0.001163325970992446,
0.04186967387795448,
-0.022477317601442337,
0.0061151739209890366,
0.011766857467591763,
-0.0036996656563133,
0.013217668049037457,
0.028092971071600914,
-0.0004869488475378603,
-0.012450714595615864,
-0.031485866755247116,
0.014535258524119854,
-0.044010356068611145,
-0.011295191943645477,
0.02295253425836563,
0.004907401278614998,
0.03551992401480675,
0.026425505056977272,
-0.01131480373442173,
0.003040460404008627,
-0.0066482434049248695,
0.0333843007683754,
0.016401613131165504,
0.01865558885037899,
-0.015104786492884159,
0.02110680378973484,
-0.04290318116545677,
-0.030574634671211243,
0.11378536373376846,
0.0032599170226603746,
0.06919898092746735,
0.024095194414258003,
0.003888107603415847,
0.004443480633199215,
0.04500327631831169,
-0.005176042206585407,
0.0030333169270306826,
0.06265845894813538,
-0.0032266834750771523,
-0.0020975423976778984,
-0.003952969331294298,
-0.056682754307985306,
0.009573741815984249,
-0.04954824224114418,
0.021740632131695747,
0.007812623865902424,
0.02860063873231411,
0.041623178869485855,
0.01454988494515419,
0.013266794383525848,
-0.035537753254175186,
0.0640491247177124,
0.04625043272972107,
0.00444543594494462,
0.006660780403763056,
0.0024675042368471622,
0.03257303312420845,
0.007027372717857361,
0.015518912114202976,
0.04538432136178017,
-0.02158466912806034,
-0.03674862161278725,
-0.0011516440426930785,
0.01991579681634903,
0.03818286210298538,
-0.008995907381176949,
-0.009473984129726887,
0.018142452463507652,
0.018154075369238853,
-0.004413157235831022,
0.03411048278212547,
0.025951219722628593,
-0.011190751567482948,
-0.016975512728095055,
-0.011942816898226738,
0.015887636691331863,
-0.04788661003112793,
0.012266489677131176,
-0.026484845206141472,
-0.0008429619483649731,
-0.019731363281607628,
-0.001784821623004973,
0.059491973370313644,
0.03760061413049698,
-0.046835608780384064,
-0.03387552872300148,
-0.009082614444196224,
-0.03767581284046173,
-0.016110897064208984,
-0.044473420828580856,
-0.03063076362013817,
0.00888361781835556,
-0.02975793555378914,
-0.036304838955402374,
0.01730584353208542,
-0.05323277413845062,
-0.004236980341374874,
0.04013765975832939,
0.0021226622629910707,
-0.01551773026585579,
0.03847622871398926,
-0.006140137556940317,
0.012421989813446999,
-0.022502891719341278,
-0.0447523258626461,
-0.004480919800698757,
-0.027340175583958626,
-0.004481444600969553,
-0.02231987752020359,
0.02753228321671486,
-0.03316397964954376,
0.02369113452732563,
0.01287311315536499,
0.021777715533971786,
-0.01227005384862423,
-0.046325936913490295,
-0.004756156820803881,
-0.011667315848171711,
0.015772152692079544,
0.025160901248455048,
-0.01190164778381586,
0.00048475811490789056,
-0.0041745626367628574,
-0.03249121084809303,
0.011586373671889305,
-0.018021462485194206,
0.023815836757421494,
0.03491051867604256,
0.015538915060460567,
-0.03521047905087471,
-0.015925319865345955,
0.033669788390398026,
0.022792775183916092,
0.02641710638999939,
-0.008084505796432495,
-0.01486077718436718,
0.006339136511087418,
0.016605649143457413,
0.04498150944709778,
-0.061723195016384125,
0.026780901476740837,
0.009248481132090092,
-0.019447311758995056,
-0.04800475016236305,
-0.019136080518364906,
-0.011544713750481606,
0.01670888066291809,
-0.03548825532197952,
-0.015046430751681328,
0.00706969341263175,
-0.015049178153276443,
-0.013110751286149025,
0.0177510567009449,
0.055452365428209305,
0.022739259526133537,
0.05307513102889061,
-0.020786050707101822,
-0.01836296170949936,
-0.028772136196494102,
0.0025517288595438004,
0.009394039399921894,
0.007435631938278675,
-0.011931536719202995,
-0.009593547321856022,
-0.009085465222597122,
-0.011631490662693977,
-0.026568014174699783,
-0.0471813827753067,
-0.01973302848637104,
0.0005312870489433408,
-0.026174496859312057,
-0.014532973058521748,
-0.016457779332995415,
0.036537449806928635,
-0.011397972702980042,
0.039713259786367416,
-0.008914794772863388,
-0.032878730446100235,
0.00023526257427874953,
-0.0018879625713452697,
-0.06485332548618317,
0.018633490428328514,
-0.025658119469881058,
-0.02303006313741207,
0.029330816119909286,
0.013978799805045128,
0.010388778522610664,
-0.009340508840978146,
0.04410376772284508,
0.04513297602534294,
-0.0073079620487987995,
-0.029161730781197548,
-0.019131019711494446,
-0.025871051475405693,
0.01475544273853302,
-0.049304116517305374,
0.008782549761235714,
0.028528332710266113,
-0.021853981539607048,
-0.04539467394351959,
-0.018306473270058632,
-0.002093116519972682,
-0.018355295062065125,
-0.010501222684979439,
0.006506173871457577,
0.00038722678436897695,
0.06039084121584892,
0.034564148634672165,
-0.025491727516055107,
-0.01589299365878105,
0.05715067684650421
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Applications | [
0.055044159293174744,
0.031572092324495316,
0.12069591134786606,
-0.018172359094023705,
0.14867635071277618,
0.05079752579331398,
0.036053694784641266,
0.06607548147439957,
-0.01594489812850952,
-0.11592119187116623,
-0.02144314907491207,
0.040085531771183014,
-0.024308696389198303,
0.005300231743603945,
-0.0004528975114226341,
0.037400804460048676,
0.06311491131782532,
-0.018968574702739716,
0.010595194064080715,
-0.008622861467301846,
-0.010653872042894363,
-0.04598566144704819,
0.0738530308008194,
0.050142329186201096,
-0.004150021355599165,
-0.011437825858592987,
-0.0058546001091599464,
0.019033240154385567,
-0.08761667460203171,
0.047539178282022476,
-0.046701256185770035,
0.009344981051981449,
0.041096217930316925,
-0.017925823107361794,
-0.02287733368575573,
-0.004115752410143614,
-0.07103274017572403,
-0.006530308164656162,
-0.06053249165415764,
-0.056208547204732895,
0.004814634099602699,
-0.04328064247965813,
-0.020533671602606773,
0.032528821378946304,
-0.02868802286684513,
-0.0062882909551262856,
-0.2969561815261841,
0.08858513832092285,
-0.02994447946548462,
-0.005113503895699978,
-0.059004414826631546,
0.04363641142845154,
0.007298585027456284,
-0.013132421299815178,
0.07545577734708786,
0.07345058768987656,
0.05428340286016464,
-0.04109903424978256,
-0.0032424554228782654,
-0.07123453170061111,
0.05075044557452202,
-0.03100672923028469,
0.03124014474451542,
0.007463524118065834,
0.04876123368740082,
-0.000028963268050574698,
0.007897887378931046,
0.013540280982851982,
-0.03783188387751579,
-0.0035088735166937113,
0.036783367395401,
-0.019575348123908043,
-0.050178974866867065,
-0.019584685564041138,
0.039107032120227814,
-0.07467188686132431,
-0.05894092470407486,
0.02542375773191452,
0.0415651760995388,
0.08536820858716965,
0.014511801302433014,
-0.012171783484518528,
0.10462595522403717,
0.07221202552318573,
0.012319465167820454,
-0.031491491943597794,
0.022652100771665573,
-0.03237772732973099,
0.009295154362916946,
-0.007839585654437542,
-0.007372930180281401,
-0.08052947372198105,
0.06192677468061447,
0.024183662608265877,
0.009300331585109234,
-0.06576041877269745,
0.04088429734110832,
0.011242748238146305,
0.030971726402640343,
0.02956371381878853,
0.006062717642635107,
0.03044239431619644,
0.017247477546334267,
-0.028145434334874153,
-0.02980286441743374,
0.01739146001636982,
-0.012777464464306831,
-0.06377819925546646,
-0.05955706164240837,
0.05725037306547165,
0.0022293904330581427,
0.01885136589407921,
0.04436361417174339,
-0.01944347470998764,
-0.0558643639087677,
0.057830218225717545,
0.04344154894351959,
0.013204092159867287,
0.04839343950152397,
0.029903721064329147,
0.0023923146072775126,
0.12037472426891327,
0.04923149198293686,
0.03250149264931679,
0.03770628944039345,
0.007017977070063353,
0.04510851949453354,
0.032154232263565063,
-0.10369831323623657,
-0.02287118509411812,
0.01679057441651821,
0.02359497733414173,
0.027331700548529625,
0.013336953707039356,
-0.030475378036499023,
-0.03648730367422104,
-0.0017531471094116569,
0.0025179237127304077,
-0.0036039995029568672,
0.007865304127335548,
0.013410949148237705,
0.057507652789354324,
0.02302256040275097,
0.05529709532856941,
0.025723470374941826,
-0.028760019689798355,
-0.03220520168542862,
0.012191052548587322,
-0.017373882234096527,
-0.018301067873835564,
0.00030858837999403477,
0.07289405912160873,
-0.03045295551419258,
-0.04849310964345932,
-0.037017837166786194,
0.07379703968763351,
0.016788695007562637,
0.050932254642248154,
-0.07480546087026596,
-0.021263131871819496,
0.005911410320550203,
0.008772107772529125,
-0.0058181690983474255,
0.008212110958993435,
0.03400489315390587,
-0.01914984919130802,
0.045202430337667465,
-0.03387516736984253,
-0.006602196954190731,
-0.0868251621723175,
-0.04471685737371445,
-0.01658017747104168,
0.03173083811998367,
-0.026974182575941086,
-0.07222336530685425,
0.011304347775876522,
0.07517745345830917,
0.06678403168916702,
0.009972949512302876,
0.024059616029262543,
-0.041095927357673645,
0.04620048403739929,
-0.0033016980160027742,
0.043450456112623215,
-0.0008141719736158848,
-0.0400296114385128,
0.042078595608472824,
-0.02567663975059986,
-0.008733553811907768,
0.0427437499165535,
-0.14856888353824615,
-0.041573602706193924,
0.07212762534618378,
-0.0019288675393909216,
0.011069380678236485,
-0.05813858285546303,
-0.04991443455219269,
0.09649552404880524,
0.04130816459655762,
0.04489666968584061,
0.05991363152861595,
0.04543531313538551,
0.0945909395813942,
-0.02937871590256691,
-0.08027050644159317,
0.021088765934109688,
0.08367947489023209,
-0.0059188362210989,
0.012606200762093067,
-0.0005674301064573228,
-0.031267743557691574,
-0.09084805101156235,
0.023396456614136696,
-0.05451048165559769,
0.01960979960858822,
-0.006404419429600239,
-0.03182316944003105,
-0.009740489535033703,
0.0024079964496195316,
-0.06898285448551178,
0.06310591101646423,
0.005387385841459036,
-0.029904048889875412,
0.05398022010922432,
-0.05034780874848366,
0.07227781414985657,
0.078410804271698,
0.00222352659329772,
0.07881934940814972,
-0.058807648718357086,
-0.012681158259510994,
-0.029297279193997383,
0.01342402771115303,
0.06974992156028748,
0.019942408427596092,
0.045739538967609406,
0.013954644091427326,
-0.00057931465562433,
0.053435906767845154,
0.007524249609559774,
0.018999308347702026,
0.01939498819410801,
-0.02315760776400566,
0.03443962335586548,
-0.0018349720630794764,
-0.05934346467256546,
0.039567191153764725,
0.02506919763982296,
-0.057523682713508606,
-0.04894867166876793,
-0.05962565168738365,
0.07664214074611664,
0.015237671323120594,
-0.024147940799593925,
0.07760818302631378,
-0.03665359690785408,
-0.009101612493395805,
-0.0225505530834198,
-0.015696968883275986,
0.012707731686532497,
0.016130851581692696,
-0.012268937192857265,
0.017947744578123093,
-0.07281214743852615,
-0.005769193638116121,
-0.02161320671439171,
0.03145202621817589,
0.014501395635306835,
-0.005982574541121721,
0.051402874290943146,
-0.04035712033510208,
-0.05023498088121414,
0.06385749578475952,
-0.014510241337120533,
0.007351032458245754,
-0.004237751476466656,
0.0594150647521019,
-0.0018529287772253156,
-0.018442099913954735,
-0.013334983959794044,
0.0007303933380171657,
-0.04110733047127724,
0.03280632942914963,
0.008722454309463501,
0.046001601964235306,
-0.018115399405360222,
0.025646910071372986,
0.023239828646183014,
-0.00021032095537520945,
0.024218454957008362,
0.005274173337966204,
0.034794881939888,
0.0001790446840459481,
-0.012977596372365952,
0.03579968586564064,
-0.019348572939634323,
-0.007109418045729399,
0.014498559758067131,
-0.03849126026034355,
-0.03308623284101486,
0.025201795622706413,
-0.021609608083963394,
-0.02574697695672512,
0.014256587252020836,
-0.06098844110965729,
0.03324007987976074,
-0.0019742660224437714,
-0.012909665703773499,
-0.16368043422698975,
-0.05833974853157997,
0.036292076110839844,
0.015324334613978863,
-0.014296207576990128,
-0.030784308910369873,
0.03854130581021309,
-0.026831818744540215,
-0.020831184461712837,
-0.029422352090477943,
0.029455335810780525,
0.025682371109724045,
0.03141815960407257,
-0.04808102175593376,
-0.017261844128370285,
0.015375697985291481,
-0.010884631425142288,
0.01009637862443924,
0.008873159997165203,
-0.02177906595170498,
-0.011862307786941528,
0.032243967056274414,
-0.012882071547210217,
-0.012653262354433537,
-0.02917424589395523,
0.025351477786898613,
0.01771460846066475,
0.026299793273210526,
0.0002761748037301004,
-0.03143173083662987,
-0.03308045119047165,
0.04130588844418526,
-0.009706737473607063,
0.016201922670006752,
0.002095226664096117,
0.008513525128364563,
0.005315020680427551,
-0.028145410120487213,
0.024324219673871994,
0.02968643233180046,
0.03813958913087845,
0.011346299201250076,
0.03399048000574112,
0.029713096097111702,
-0.0260016992688179,
0.01804676465690136,
0.0007180132670328021,
-0.002613385673612356,
0.06471330672502518,
-0.016959460452198982,
-0.05792929232120514,
0.0014583602314814925,
0.001162850297987461,
0.042788080871105194,
-0.028149709105491638,
-0.007384150288999081,
-0.03495534881949425,
0.014101903885602951,
0.04744670167565346,
-0.007261398248374462,
-0.030201271176338196,
0.020658930763602257,
0.011996358633041382,
-0.003485661931335926,
-0.04087428003549576,
0.03604109585285187,
-0.02162085473537445,
0.0010050435084849596,
-0.04393064230680466,
0.0537065789103508,
0.008707460947334766,
0.02344921976327896,
-0.007257925812155008,
0.015686923637986183,
0.006512078922241926,
0.04565691947937012,
-0.02774440310895443,
-0.018336528912186623,
0.04614732041954994,
-0.0020515606738626957,
0.0097777945920825,
-0.031206129118800163,
0.00006527580262627453,
-0.010497928597033024,
0.002388398163020611,
0.012978619895875454,
0.001199244405142963,
0.025570321828126907,
-0.006175576243549585,
0.02364681102335453,
0.043552473187446594,
-0.025470029562711716,
0.01450314000248909,
0.008252521045506,
0.011149761267006397,
0.02618013322353363,
0.059438735246658325,
-0.020150093361735344,
-0.002983137033879757,
-0.020019089803099632,
0.005139724817126989,
0.0041927858255803585,
-0.012125637382268906,
0.008715780451893806,
-0.0004034479206893593,
0.02561846189200878,
-0.005129557568579912,
-0.028044365346431732,
-0.012348870746791363,
0.02168549969792366,
0.01900508627295494,
-0.032721441239118576,
-0.006090319715440273,
-0.04801211133599281,
-0.020300759002566338,
-0.0038505662232637405,
-0.0043575335294008255,
-0.040390495210886,
-0.03574841469526291,
0.004240856040269136,
-0.031328778713941574,
0.0173054002225399,
-0.005714024417102337,
-0.03864545747637749,
-0.006543698254972696,
0.004849455785006285,
0.02311977744102478,
-0.005473012570291758,
-0.014712891541421413,
0.013761580921709538,
-0.012656094506382942,
-0.02477835677564144,
0.04315842315554619,
0.008442256599664688,
0.025487743318080902,
-0.005638192407786846,
-0.009721849113702774,
0.023637576028704643,
-0.012711919844150543,
-0.05553972348570824,
0.014456523582339287,
0.004609229043126106,
0.012700749561190605,
-0.013000144623219967,
0.020778927952051163,
-0.026518749073147774,
-0.018766431137919426,
-0.0026881869416683912,
-0.009860205464065075,
0.019457679241895676,
0.024653740227222443,
-0.04009520262479782,
-0.01663554459810257,
0.005521513521671295,
0.013270631432533264,
-0.00521557591855526,
0.020169340074062347,
-0.029871715232729912,
-0.020335182547569275,
0.07102698087692261,
0.016027024015784264,
-0.005730112083256245,
-0.051278479397296906,
0.03355417400598526,
-0.03009149804711342,
0.012318870984017849,
0.01087697222828865,
-0.0001081010777852498,
-0.006141540128737688,
0.0036978558637201786,
-0.004862540867179632,
-0.009383667260408401,
0.030326534062623978,
-0.016086863353848457,
0.03493671864271164,
0.02779119648039341,
0.012644368223845959,
0.00848875567317009,
0.011216565035283566,
0.026501568034291267,
0.0042320298962295055,
-0.0019162811804562807,
0.03147612512111664,
0.01928769238293171,
-0.008218535222113132,
-0.0014714347198605537,
0.04909728094935417,
0.0027846621815115213,
0.010725780390202999,
0.05605009198188782,
-0.03337492048740387,
-0.030113518238067627,
-0.00202764431014657,
-0.02908870205283165,
0.009179781191051006,
-0.0036489039193838835,
0.004864625632762909,
-0.007659370079636574,
-0.023815611377358437,
0.004933403339236975,
0.01994296722114086,
0.0123361861333251,
-0.016361793503165245,
-0.01031616609543562,
0.004937035962939262,
0.020102642476558685,
0.02729804441332817,
-0.016689902171492577,
-0.011952717788517475,
-0.011902824975550175,
-0.010868816636502743,
0.021502651274204254,
-0.03520064055919647,
-0.020051268860697746,
-0.02352505922317505,
-0.03386908397078514,
-0.05222702398896217,
0.04665699973702431,
0.003946270328015089,
0.009372353553771973,
0.0138793820515275,
0.006029967684298754,
-0.003857895266264677,
0.04249285161495209,
0.048699572682380676,
-0.008719967678189278,
-0.001683308044448495,
0.02975529246032238,
-0.006896604783833027,
0.06097769737243652,
0.015909161418676376,
0.008994881063699722,
-0.012506931088864803,
0.010474255308508873,
0.06356967240571976,
0.012210434302687645,
-0.06247121840715408,
0.03530149161815643,
-0.010978808626532555,
0.003930228296667337,
-0.0007641985430382192,
-0.014913727529346943,
-0.022759102284908295,
-0.04222465306520462,
-0.03426017984747887,
0.026464369148015976,
0.06098448485136032,
-0.02527688443660736,
0.002378340344876051,
0.002878284314647317,
0.00596644589677453,
-0.009093658067286015,
-0.008358525112271309,
-0.018502159044146538,
-0.008730900473892689,
0.017826439812779427,
0.01737058535218239,
0.02351721189916134,
0.03249742463231087,
-0.014933851547539234,
-0.009292243979871273,
0.009022110141813755,
0.009382667951285839,
0.02566116861999035,
-0.020669711753726006,
0.030728166922926903,
-0.0021960970479995012,
-0.03129056841135025,
0.014296624809503555,
0.015984896570444107,
-0.03227332979440689,
0.023345181718468666,
0.02355455979704857,
-0.007988963276147842,
0.0014569839695468545,
-0.004779369570314884,
0.028090722858905792,
0.02067376859486103,
0.008923579938709736,
-0.0006994290743023157,
0.0019078906625509262,
0.012813585810363293,
0.03214206546545029,
-0.0096792783588171,
-0.04844292253255844,
0.012996464967727661,
0.024967826902866364,
-0.007461334578692913,
0.012434159405529499,
0.005866885185241699,
0.008185275830328465,
0.0020781992934644222,
-0.02616826631128788,
0.025887245312333107,
-0.04450788348913193,
0.0002890171017497778,
-0.002574778161942959,
-0.03478223830461502,
0.016379637643694878,
-0.03609910234808922,
0.03953267261385918,
0.015092669054865837,
-0.004561601206660271,
0.015015043318271637,
-0.0105519350618124,
0.008201167918741703,
0.0612102746963501,
-0.018759388476610184,
-0.020562591031193733,
-0.04835489019751549,
0.022795120254158974,
0.042548783123493195,
-0.033139944076538086,
-0.013029752299189568,
0.01809794083237648,
-0.06099208816885948,
0.04013979434967041,
-0.020627325400710106,
-0.01727207936346531,
-0.01886095106601715,
0.035804782062768936,
-0.027711646631360054,
-0.021240225061774254,
-0.024074872955679893,
-0.04236520826816559,
-0.04867025837302208,
0.01760813593864441,
0.015768717974424362,
-0.02745671570301056,
-0.010796225629746914,
0.011795135214924812,
0.004855912644416094,
-0.004875739570707083,
-0.0008526809979230165,
-0.03406987711787224,
0.049038734287023544,
-0.007651961874216795,
0.03612794727087021,
-0.0047149937599897385,
-0.02440374344587326,
-0.015472996048629284,
0.013755736872553825,
0.0009093470289371908,
0.0026168832555413246,
0.021140266209840775,
0.005443059839308262,
-0.020053952932357788,
-0.0023706043139100075,
-0.01748243160545826,
0.035886313766241074,
0.02731674164533615,
0.024471664801239967,
-0.01731216534972191,
0.05136653408408165,
-0.03622054681181908,
-0.03298056870698929,
-0.029690265655517578,
-0.005382883362472057,
0.02685871534049511,
-0.011964317411184311,
-0.001984034199267626,
0.01815258339047432,
0.025174831971526146,
-0.04475347697734833,
-0.028160477057099342,
0.008372647687792778,
-0.01754683442413807,
-0.02814532443881035,
0.020923729985952377,
0.006121739745140076,
-0.03904033079743385,
-0.02444835752248764,
0.027758924290537834,
0.01734219118952751,
-0.009686495177447796,
0.0003788640315178782,
-0.045129142701625824,
-0.013370256870985031,
-0.029954582452774048,
-0.01707802526652813,
0.055432431399822235,
0.02222386933863163,
0.017925139516592026,
0.018340731039643288,
0.03598596900701523,
-0.012002852745354176,
-0.020111041143536568,
0.00799409206956625,
0.006949779577553272,
0.01615622453391552,
-0.017746979370713234,
-0.02763799950480461,
-0.015579812228679657,
-0.05956785008311272,
0.015585333108901978,
0.0017114997608587146,
-0.031176073476672173,
-0.01234812755137682,
-0.00759805366396904,
-0.0050477515906095505,
-0.05257900059223175,
0.02699144184589386,
0.040628477931022644,
-0.0014841322554275393,
0.015599947422742844,
0.002005642047151923,
-0.010796495713293552,
0.000557137478608638,
0.034589748829603195,
-0.011075826361775398,
0.049153897911310196,
0.03701009228825569,
-0.01291618775576353,
-0.04557519778609276,
0.039570968598127365,
-0.037526994943618774,
-0.027857758104801178,
0.005950731225311756,
0.0667005330324173,
-0.018090397119522095,
-0.030871519818902016,
-0.00903218612074852,
0.007486704736948013,
0.011227625422179699,
0.014814703725278378,
0.01613350585103035,
-0.027723127976059914,
0.012213644571602345,
-0.009156867861747742,
-0.03765556588768959,
-0.009319823235273361,
-0.0040201167576014996,
0.007214827928692102,
0.044235050678253174,
0.006828998681157827,
-0.011290083639323711,
-0.010809800587594509,
-0.04314110800623894,
0.0318555049598217,
-0.026619132608175278,
-0.00800342671573162,
-0.01426536776125431,
0.015400986187160015,
-0.04386090487241745,
-0.011978759430348873,
-0.06365270912647247,
0.037684760987758636,
0.014563972130417824,
-0.017342736944556236,
-0.014889565296471119,
-0.02073134295642376,
-0.016981758177280426,
0.022629404440522194,
0.0205602515488863,
0.003577352734282613,
0.06532447040081024,
0.04115591570734978,
-0.018214017152786255,
-0.00027972200768999755,
0.00483422726392746
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Controlling Text Generation Text generation is a rich topic, and there exist several generation strategies for different purposes. We recommend this excellent overview on the subject. Many generation algorithms are supported by the text generation endpoints, and they can be configured using the following parameters: - do_sample: If set to False (the default), the generation method will be greedy search, which selects the most probable continuation sequence after the prompt you provide. Greedy search is deterministic, so the same results will always be returned from the same input. When do_sample is True, tokens will be sampled from a probability distribution and will therefore vary across invocations. - temperature: Controls the amount of variation we desire from the generation. A temperature of 0 is equivalent to greedy search. If we set a value for temperature, then do_sample will automatically be enabled. The same thing happens for top_k and top_p. When doing code-related tasks, we want less variability and hence recommend a low temperature. For other tasks, such as open-ended text generation, we recommend a higher one. - top_k. Enables "Top-K" sampling: the model will choose from the K most probable tokens that may occur after the input sequence. Typical values are between 10 to 50. - top_p. Enables "nucleus sampling": the model will choose from as many tokens as necessary to cover a particular probability mass. If top_p is 0.9, the 90% most probable tokens will be considered for sampling, and the trailing 10% will be ignored. - repetition_penalty: Tries to avoid repeated words in the generated sequence. - seed: Random seed that you can use in combination with sampling, for reproducibility purposes. In addition to the sampling parameters above, you can also control general aspects of the generation with the following: - max_new_tokens: maximum number of new tokens to generate. The default is 20, feel free to increase if you want longer sequences. - return_full_text: whether to include the input sequence in the output returned by the endpoint. The default used by InferenceClient is False, but the endpoint itself uses True by default. - stop_sequences: a list of sequences that will cause generation to stop when encountered in the output. | [
0.02847667969763279,
0.03259224817156792,
0.004789220634847879,
-0.0195109061896801,
0.07057946175336838,
0.013816827908158302,
0.003546343417838216,
0.034012842923402786,
-0.03392788767814636,
-0.05414240062236786,
-0.14795495569705963,
-0.04011636972427368,
-0.0049455426633358,
0.020093625411391258,
-0.009048241190612316,
-0.01614449918270111,
0.060693174600601196,
0.027284568175673485,
0.001441174536012113,
-0.026511479169130325,
0.0015755736967548728,
-0.02307276241481304,
0.06446631997823715,
-0.009358691051602364,
0.06292285025119781,
-0.06979609280824661,
0.02776837907731533,
-0.033776674419641495,
-0.052282530814409256,
-0.001850941451266408,
-0.108558289706707,
-0.0030621192418038845,
0.023564688861370087,
0.03018404170870781,
0.016606176272034645,
-0.0052436222322285175,
-0.09830089658498764,
0.07395394891500473,
0.019461615011096,
0.008276958018541336,
-0.04934309422969818,
-0.0480031855404377,
-0.026996972039341927,
-0.01046839077025652,
0.032311659306287766,
-0.0010921632638201118,
-0.09514130651950836,
0.06158841401338577,
-0.08335340023040771,
-0.03418819606304169,
-0.12116558849811554,
0.03759879246354103,
-0.04001997783780098,
-0.015458662994205952,
0.00551666971296072,
-0.02999597042798996,
-0.011277472600340843,
-0.057077474892139435,
0.03883054107427597,
0.0012257914058864117,
0.026779912412166595,
-0.022279072552919388,
0.016381295397877693,
0.10372272878885269,
0.025795375928282738,
-0.05569769814610481,
-0.0534164160490036,
0.036662910133600235,
-0.06863876432180405,
0.0011105990270152688,
-0.008499550633132458,
0.01778300851583481,
-0.04603831097483635,
-0.01694731041789055,
-0.010103130713105202,
-0.028802722692489624,
0.008918642066419125,
0.06272491067647934,
-0.034828364849090576,
0.03513056039810181,
-0.00901210866868496,
0.024514885619282722,
0.07486094534397125,
-0.02323773503303528,
0.04208388179540634,
0.03292122855782509,
0.02485809475183487,
-0.011599753983318806,
-0.014193677343428135,
0.018608830869197845,
0.016670791432261467,
-0.12028694897890091,
-0.00922961626201868,
0.010910317301750183,
-0.04618128761649132,
-0.009394225664436817,
-0.00963683519512415,
0.06713514775037766,
-0.008532137610018253,
-0.0069813197478652,
-0.0028342758305370808,
-0.045061349868774414,
0.007218701299279928,
-0.07376515865325928,
-0.0941111221909523,
0.04666160047054291,
-0.04618239030241966,
-0.04361678287386894,
-0.012789450585842133,
0.0569094754755497,
-0.02684202417731285,
-0.021305548027157784,
0.036797650158405304,
0.051602110266685486,
-0.038456209003925323,
0.041348155587911606,
-0.009198188781738281,
-0.005823010578751564,
-0.06859907507896423,
-0.040054433047771454,
-0.01792023703455925,
0.036344975233078,
0.06907836347818375,
-0.011683282442390919,
-0.06077301502227783,
0.046504709869623184,
0.05419302359223366,
0.012247349135577679,
0.01454178150743246,
-0.018164964392781258,
0.00014726691006217152,
0.06387607008218765,
-0.026501134037971497,
-0.014419661834836006,
0.057771362364292145,
0.022208398208022118,
0.037467606365680695,
-0.07815832644701004,
0.02055950276553631,
-0.00791654922068119,
-0.03804700821638107,
-0.0025009610690176487,
0.024926509708166122,
0.02635161764919758,
-0.036387525498867035,
0.06024014577269554,
-0.041617050766944885,
0.013873277232050896,
-0.00946070160716772,
0.08315938711166382,
0.01411870401352644,
0.10417318344116211,
-0.052608828991651535,
-0.09432915598154068,
0.04039805009961128,
0.04775526002049446,
-0.012993385083973408,
0.056963738054037094,
-0.09288005530834198,
-0.05026048794388771,
0.02662181854248047,
0.042507462203502655,
0.008391693234443665,
0.004015396814793348,
0.09240175783634186,
-0.031053369864821434,
0.042400553822517395,
0.08202600479125977,
0.007874583825469017,
0.02262776531279087,
-0.025403792038559914,
-0.014821379445493221,
0.06456730514764786,
-0.06469850987195969,
0.0775725394487381,
0.038768284022808075,
-0.012065731920301914,
-0.002357695484533906,
-0.02323834039270878,
-0.0017036033095791936,
-0.03337487205862999,
0.0047693392261862755,
-0.02997935377061367,
0.009973827749490738,
0.05379750579595566,
-0.12509387731552124,
0.047919224947690964,
-0.012140259146690369,
-0.00027013561339117587,
-0.021413251757621765,
-0.01031491905450821,
-0.03474097326397896,
0.12019762396812439,
0.0408935621380806,
-0.05640871450304985,
-0.10916031152009964,
-0.01894751377403736,
0.08133935183286667,
0.07332248240709305,
0.0908583328127861,
0.04997842013835907,
0.0384628027677536,
0.07987816631793976,
-0.03672673925757408,
-0.06319554895162582,
0.0019046784145757556,
-0.003674090374261141,
-0.022806519642472267,
-0.005446285009384155,
0.06405548751354218,
-0.026216361671686172,
-0.026173558086156845,
0.0162370502948761,
-0.11306850612163544,
0.008721954189240932,
-0.047405652701854706,
0.013038530014455318,
-0.03128883242607117,
0.03616279736161232,
-0.002205080818384886,
0.13171657919883728,
-0.03233536332845688,
0.020654547959566116,
-0.014231767505407333,
-0.05740262195467949,
0.06209627911448479,
0.024494756013154984,
0.026191191747784615,
0.020748041570186615,
-0.08863179385662079,
0.009470531716942787,
-0.04736246168613434,
0.05736198276281357,
0.0209200382232666,
-0.008484809659421444,
-0.017652899026870728,
0.0035052774474024773,
0.04594452306628227,
0.004669417627155781,
-0.030796874314546585,
-0.004028032533824444,
0.031421173363924026,
-0.10477565973997116,
0.06591249257326126,
-0.01872503198683262,
-0.004841440357267857,
0.09931092709302902,
-0.017895888537168503,
-0.029808729887008667,
-0.02657882124185562,
-0.06810837239027023,
0.0472593791782856,
-0.03839057311415672,
-0.10030844807624817,
0.027561405673623085,
0.04181474819779396,
-0.037933774292469025,
-0.018245693296194077,
-0.020611951127648354,
-0.019581394270062447,
-0.011939719319343567,
-0.03333539515733719,
0.008007493801414967,
-0.029207667335867882,
0.021788310259580612,
-0.025435805320739746,
0.01316896639764309,
0.0025311203207820654,
-0.01431856770068407,
0.01425887830555439,
0.0006130043766461313,
-0.026315318420529366,
-0.024840710684657097,
0.012366200797259808,
0.021172698587179184,
0.0019657567609101534,
0.02692386321723461,
-0.029226714745163918,
-0.03433670103549957,
0.0032641408033668995,
-0.03382459282875061,
0.018791889771819115,
0.014307180419564247,
0.04182092845439911,
0.007819200865924358,
0.013730406761169434,
0.007553584408015013,
0.011657540686428547,
-0.04701143875718117,
-0.003053525695577264,
-0.0323307029902935,
0.004530798643827438,
-0.0130961574614048,
0.004275841172784567,
0.017005059868097305,
0.012300503440201283,
-0.0026347406674176455,
0.008735209703445435,
-0.03923407942056656,
-0.01972847245633602,
-0.01746932417154312,
-0.028153277933597565,
-0.016254018992185593,
-0.00702442042529583,
-0.038585104048252106,
0.022962596267461777,
0.036038707941770554,
0.01650618389248848,
-0.09941431879997253,
-0.038559045642614365,
0.003237189957872033,
0.010992794297635555,
-0.0321761816740036,
-0.015904730185866356,
0.020847218111157417,
-0.023966608569025993,
0.02793966978788376,
0.020185524597764015,
-0.004493129439651966,
0.005035846959799528,
-0.03476974740624428,
0.025662710890173912,
0.02230885811150074,
-0.0071985721588134766,
-0.02148124761879444,
-0.03762947395443916,
0.016457200050354004,
0.04354756325483322,
0.013767716474831104,
0.008027850650250912,
0.02287891134619713,
0.00629073940217495,
-0.037889327853918076,
0.005482422653585672,
0.005651381798088551,
0.04716707020998001,
0.026412194594740868,
-0.03302760049700737,
-0.008260626345872879,
-0.031970806419849396,
0.008809945546090603,
0.0124846575781703,
-0.047391366213560104,
0.008296344429254532,
0.03596428781747818,
0.020593557506799698,
0.01248297281563282,
0.03252257779240608,
-0.013254925608634949,
-0.0013353158719837666,
-0.011263033375144005,
-0.011611548252403736,
-0.012146520428359509,
-0.0027336496859788895,
-0.0410640686750412,
0.02611156925559044,
0.023006562143564224,
-0.01884426735341549,
-0.01776175945997238,
-0.0531531423330307,
0.004961605183780193,
0.023511307314038277,
0.005613598041236401,
0.04675864800810814,
0.02582363784313202,
0.013189302757382393,
0.04070179909467697,
-0.012512251734733582,
-0.04658975824713707,
0.0036503681913018227,
0.022795362398028374,
-0.02078070677816868,
-0.009377434849739075,
0.0669110044836998,
-0.007009248249232769,
0.016266316175460815,
-0.0027956257108598948,
0.06149481236934662,
-0.005386390257626772,
-0.006068470887839794,
0.05662407726049423,
0.005083836615085602,
-0.05145634338259697,
-0.006287821568548679,
-0.04122980684041977,
-0.05107725039124489,
0.05627850443124771,
0.00363902491517365,
0.006769690662622452,
0.014235388487577438,
-0.06222466006875038,
-0.01450200192630291,
0.026213452219963074,
-0.02990606799721718,
0.018674004822969437,
-0.030688690021634102,
0.010185991413891315,
-0.0037441321182996035,
-0.014075156301259995,
-0.043559011071920395,
-0.015877144411206245,
-0.009838810190558434,
-0.029649052768945694,
0.014966093003749847,
-0.021990176290273666,
-0.008135473355650902,
0.015855520963668823,
0.012152045965194702,
0.0025955361779779196,
-0.03214419260621071,
-0.012139642611145973,
-0.01866566389799118,
-0.03860265761613846,
0.03507537394762039,
-0.06453599780797958,
0.04015176743268967,
-0.0037099297624081373,
0.023594176396727562,
-0.0182352252304554,
0.0010002137860283256,
0.0018453490920364857,
-0.017986230552196503,
0.01021702028810978,
0.06800328940153122,
0.026374857872724533,
-0.009217589162290096,
-0.02561727911233902,
-0.011540764942765236,
-0.07339341938495636,
0.021626045927405357,
0.019688144326210022,
-0.006518268026411533,
0.02560371719300747,
-0.016878332942724228,
0.03380800783634186,
0.02519375830888748,
0.023008286952972412,
-0.02016597054898739,
0.009679438546299934,
0.031416937708854675,
0.028177937492728233,
0.02120296098291874,
0.018181433901190758,
0.0027546624187380075,
-0.007405754644423723,
0.006094049196690321,
0.010177986696362495,
-0.037574004381895065,
0.006955117452889681,
0.02548152394592762,
0.044217489659786224,
-0.004903699737042189,
0.01442850660532713,
0.01251602079719305,
-0.025005295872688293,
-0.0046178181655704975,
0.05165162682533264,
-0.008076461032032967,
0.041168101131916046,
-0.005312134046107531,
-0.01942920871078968,
-0.03129475563764572,
0.0010517218615859747,
-0.04196738451719284,
-0.03135621175169945,
-0.01295863464474678,
-0.005058682523667812,
0.053613051772117615,
0.0011928750900551677,
-0.033549755811691284,
-0.013562020845711231,
0.016052423045039177,
-0.016552884131669998,
0.033973898738622665,
0.01859096996486187,
0.00561277661472559,
-0.0205177441239357,
-0.010188868269324303,
0.009725429117679596,
0.013211272656917572,
0.006115279160439968,
-0.035712774842977524,
0.016891952604055405,
0.007819599471986294,
0.04575313255190849,
0.03724053129553795,
-0.013685263693332672,
-0.01785578392446041,
-0.02546636573970318,
0.005389160476624966,
0.01888779178261757,
0.011856100521981716,
0.04738428071141243,
0.031272176653146744,
0.0636955052614212,
0.05021938681602478,
0.025694791227579117,
0.024047447368502617,
-0.015326154418289661,
-0.04554654657840729,
0.03464505821466446,
-0.03222566470503807,
-0.0169167872518301,
0.015551496297121048,
-0.012749339453876019,
0.07092154026031494,
-0.015740761533379555,
-0.004216108471155167,
0.06172517314553261,
0.030030932277441025,
0.04377543181180954,
0.014713502489030361,
0.03252611681818962,
0.019760938361287117,
0.01507918443530798,
-0.033523909747600555,
0.013177412562072277,
-0.033692311495542526,
0.01062864251434803,
-0.0278488602489233,
-0.044242698699235916,
0.0035657458938658237,
0.015479874797165394,
-0.04719408601522446,
-0.04301668331027031,
0.02930552326142788,
-0.005541835445910692,
0.07571101188659668,
-0.002062931191176176,
0.0014693165430799127,
-0.012638138607144356,
0.009411877952516079,
0.026436109095811844,
0.010817700065672398,
0.015254207886755466,
-0.021538304165005684,
0.0336076058447361,
0.004303137771785259,
0.03243546560406685,
0.0005274321883916855,
0.017236467450857162,
0.028815031051635742,
0.019029885530471802,
-0.026528658345341682,
-0.02056407555937767,
0.030640868470072746,
-0.004063088446855545,
0.0326928049325943,
-0.023980271071195602,
-0.040138378739356995,
-0.0014807097613811493,
0.006778946612030268,
-0.024842863902449608,
0.02121218852698803,
0.004972374532371759,
0.0060018254444003105,
-0.0485292486846447,
0.023736216127872467,
0.03292248025536537,
-0.004204586613923311,
-0.04067369922995567,
0.04089630767703056,
0.007581853773444891,
0.010916255414485931,
0.06794676184654236,
-0.030293015763163567,
0.006170840933918953,
0.002502095652744174,
0.008950904943048954,
-0.05585385113954544,
0.028176065534353256,
0.048069898039102554,
-0.058268167078495026,
0.04169034585356712,
0.0025464901700615883,
-0.04042316973209381,
0.033996421843767166,
0.025930695235729218,
0.053017739206552505,
-0.014304271899163723,
0.017341675236821175,
0.004623109009116888,
-0.0186629481613636,
0.025477446615695953,
-0.01724766567349434,
0.05616086721420288,
0.007500151172280312,
0.033973246812820435,
0.004183637909591198,
0.05705011636018753,
0.005553964991122484,
-0.0069486522115767,
-0.005781870801001787,
0.03360765799880028,
0.03352146968245506,
0.010381678119301796,
0.0023507580626755953,
-0.017671387642621994,
-0.03275112435221672,
-0.0022785821929574013,
-0.052774325013160706,
-0.013827351853251457,
-0.021854454651474953,
-0.024622196331620216,
0.03521603345870972,
-0.03066231496632099,
0.02761966921389103,
-0.036901071667671204,
0.07122988253831863,
0.026590848341584206,
0.03241034969687462,
0.020023837685585022,
-0.006744089536368847,
0.015455691143870354,
0.014370180666446686,
0.00023480622621718794,
0.022824978455901146,
0.030435768887400627,
-0.02896728366613388,
0.0557268001139164,
0.0424417145550251,
0.03842073678970337,
0.03549640625715256,
-0.011862059123814106,
-0.020283617079257965,
-0.032532259821891785,
0.013296743854880333,
-0.007254134863615036,
0.037412963807582855,
0.0029906935524195433,
-0.024839457124471664,
-0.008139601908624172,
-0.02082471176981926,
0.019581228494644165,
-0.03313121572136879,
0.009650182910263538,
0.025351017713546753,
-0.011346488259732723,
-0.0038196409586817026,
0.05609558895230293,
0.016570046544075012,
-0.0626169815659523,
0.02126532793045044,
0.026414403691887856,
0.009303845465183258,
0.01834464818239212,
-0.053779974579811096,
-0.031809862703084946,
-0.0295149814337492,
-0.026222871616482735,
-0.008231441490352154,
0.009225224144756794,
0.010975250042974949,
-0.011226399801671505,
0.011880927719175816,
0.027674810960888863,
-0.03886152803897858,
0.02536727301776409,
0.0025635836645960808,
-0.013266927562654018,
-0.03837139531970024,
-0.00935903750360012,
-0.025770310312509537,
-0.005726795177906752,
0.022664513438940048,
-0.022594571113586426,
-0.0021109015215188265,
-0.0357000008225441,
0.052409783005714417,
0.04217715561389923,
0.008673876523971558,
-0.031424786895513535,
-0.009883688762784004,
-0.011096703819930553,
-0.05169365182518959,
-0.0016423285705968738,
0.021288039162755013,
0.02560337446630001,
-0.006312002893537283,
-0.0002529800112824887,
-0.03173847123980522,
-0.025683285668492317,
-0.02708452008664608,
-0.005756595637649298,
0.04564685374498367,
-0.0012459958670660853,
-0.05377189442515373,
-0.0039663673378527164,
0.05197744071483612,
-0.022523749619722366,
0.016497695818543434,
0.03512823209166527,
0.012373019941151142,
0.008066907525062561,
0.009637093171477318,
0.0006933826371096075,
-0.017791079357266426,
0.04526704549789429,
-0.015104764141142368,
-0.011451130732893944,
-0.013987351208925247,
0.008084915578365326,
-0.052924200892448425,
-0.013245307840406895,
0.01115877740085125,
0.021125776693224907,
-0.02448893152177334,
-0.016993334516882896,
-0.030673960223793983,
-0.032703857868909836,
0.059807609766721725,
0.016013043001294136,
0.081983782351017,
0.005856624338775873,
0.03276834264397621,
0.017262013629078865,
0.021117763593792915,
0.014980582520365715,
0.03727651387453079,
0.007103700190782547,
0.0035925961565226316,
-0.004225791897624731,
-0.011551877483725548,
-0.021407855674624443,
-0.058933451771736145,
0.014255975373089314,
-0.00021245131210889667,
-0.020085148513317108,
-0.03212796896696091,
0.03104361519217491,
0.07983753085136414,
-0.008767588995397091,
-0.014932072721421719,
-0.009284340776503086,
-0.00012585576041601598,
0.019450001418590546,
0.03045925870537758,
-0.06351620703935623,
-0.05270565673708916,
-0.03733985498547554,
0.03371017426252365,
0.02704181708395481,
-0.005546697415411472,
0.018452219665050507,
0.007605237420648336,
-0.009935778565704823,
-0.00044403731590136886,
0.012163223698735237,
0.02874218299984932,
-0.010345805436372757,
0.03658147156238556,
0.007944736629724503,
-0.05599164217710495,
0.012995039112865925,
0.024781253188848495,
-0.0008146599866449833,
-0.02382568083703518,
0.018932612612843513,
-0.0071954368613660336,
0.01990416832268238,
0.020495900884270668,
0.004575932864099741,
-0.007391493767499924,
0.03860923647880554,
0.039992887526750565,
0.03521887585520744,
-0.011237241327762604,
0.025142017751932144
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | # Inference for PROs Today, we're introducing Inference for PRO users - a community offering that gives you access to APIs of curated endpoints for some of the most exciting models available, as well as improved rate limits for the usage of free Inference API. Use the following page to subscribe to PRO. Hugging Face PRO users now have access to exclusive API endpoints for a curated list of powerful models that benefit from ultra-fast inference powered by text-generation-inference. This is a benefit on top of the free inference API, which is available to all Hugging Face users to facilitate testing and prototyping on 200,000+ models. PRO users enjoy higher rate limits on these models, as well as exclusive access to some of the best models available today. | [
0.049917224794626236,
-0.007100633345544338,
0.04130622744560242,
-0.020957035943865776,
0.033163320273160934,
0.04791925102472305,
0.02529202774167061,
0.01951603963971138,
-0.0005254478892311454,
0.005802365019917488,
-0.05660922825336456,
-0.003296570386737585,
-0.020537029951810837,
-0.00023029321164358407,
0.03943886235356331,
-0.08584058284759521,
-0.02758786268532276,
0.01489964872598648,
-0.03635265678167343,
-0.002699833596125245,
0.05719362944364548,
-0.07228341698646545,
0.030093569308519363,
-0.08007502555847168,
-0.03961551561951637,
-0.05659274011850357,
-0.011262492276728153,
0.009675676934421062,
0.007387292105704546,
-0.03241092339158058,
-0.11236360669136047,
-0.027362560853362083,
0.012633412145078182,
-0.042864054441452026,
0.032568756490945816,
0.022998295724391937,
-0.16244003176689148,
0.02960531786084175,
0.016481084749102592,
0.03178489953279495,
0.005192597862333059,
-0.07640501856803894,
-0.05335826054215431,
0.02518715150654316,
0.029376981779932976,
-0.06171970069408417,
-0.10600655525922775,
0.06554923206567764,
-0.03799071162939072,
-0.04689811170101166,
-0.08369655907154083,
0.09307003021240234,
-0.033164918422698975,
0.0016440608305856586,
0.019712060689926147,
0.003893659682944417,
-0.01732546277344227,
-0.0986672192811966,
0.05226519703865051,
-0.00018611708946991712,
0.025873852893710136,
-0.031509604305028915,
0.03299641236662865,
0.021366655826568604,
0.023447692394256592,
0.046222981065511703,
-0.035513896495103836,
-0.028311505913734436,
-0.037187036126852036,
-0.0009314393391832709,
0.01428718026727438,
-0.016463197767734528,
-0.03719203174114227,
-0.026917388662695885,
0.06826326996088028,
-0.05623278021812439,
-0.0636330395936966,
0.029495934024453163,
0.08259530365467072,
-0.04416893422603607,
-0.014986624009907246,
-0.023238081485033035,
0.0594358928501606,
0.00922746118158102,
0.02004184015095234,
0.06671691685914993,
0.0016568945720791817,
-0.11400394141674042,
-0.04668623208999634,
0.0325273834168911,
0.029084058478474617,
-0.07815980166196823,
0.04278628155589104,
-0.049148570746183395,
0.04060857743024826,
0.043345678597688675,
0.039240892976522446,
0.04738853499293327,
-0.00846104882657528,
-0.07676289230585098,
-0.033276334404945374,
-0.033884353935718536,
-0.037734974175691605,
-0.033819492906332016,
-0.037000928074121475,
0.04865763708949089,
-0.03700488433241844,
-0.08212220668792725,
-0.04369213804602623,
0.08320646733045578,
0.00547008914873004,
0.011920304968953133,
-0.0059103285893797874,
0.06468132138252258,
-0.05278791859745979,
0.0056949276477098465,
-0.022135278210043907,
-0.022792303934693336,
-0.0008821255760267377,
-0.05806555226445198,
0.02268975041806698,
0.03898458555340767,
0.04772818833589554,
0.035116031765937805,
0.0323718823492527,
0.09048735350370407,
0.06299468129873276,
0.05624772235751152,
0.054736535996198654,
-0.033080585300922394,
0.007876170799136162,
-0.02760322019457817,
-0.006665564142167568,
-0.03558792173862457,
0.008191000670194626,
-0.0657125860452652,
-0.012768924236297607,
-0.08433771133422852,
0.024056898429989815,
0.015813229605555534,
0.017167160287499428,
0.0034510751720517874,
0.041764840483665466,
-0.06544236838817596,
0.040821872651576996,
-0.042662739753723145,
-0.03605302795767784,
0.017999952659010887,
-0.0092031080275774,
0.04079688712954521,
-0.11876342445611954,
0.030650677159428596,
0.005364506971091032,
-0.015624191612005234,
0.01775529608130455,
0.05906479060649872,
0.017520153895020485,
-0.02217169851064682,
-0.0025519258342683315,
-0.05953320488333702,
0.005055395420640707,
-0.0787251815199852,
0.01143293920904398,
0.021433647722005844,
-0.0013189219171181321,
0.02766845002770424,
-0.0401642881333828,
0.020388532429933548,
-0.011278176680207253,
0.04591433331370354,
0.029253927990794182,
-0.05901219695806503,
0.0356232225894928,
-0.055324457585811615,
0.05723198875784874,
0.0012327092699706554,
0.019569044932723045,
0.017940416932106018,
-0.023286649957299232,
0.0010806104401126504,
-0.06219688802957535,
0.05632605403661728,
0.01866087317466736,
0.0018168615642935038,
0.07330396771430969,
-0.11984295397996902,
0.034388311207294464,
0.01597406715154648,
0.0030596579890698195,
-0.038417939096689224,
-0.018760966137051582,
-0.008859283290803432,
0.0743136927485466,
-0.02238444611430168,
0.027746792882680893,
-0.028559375554323196,
-0.054552286863327026,
0.06505188345909119,
0.04379120469093323,
0.0608091726899147,
0.0047525884583592415,
-0.00217166799120605,
0.042940881103277206,
-0.06158355996012688,
-0.042400702834129333,
0.05283177271485329,
-0.010777043178677559,
-0.02378394640982151,
0.009774983860552311,
0.06844225525856018,
0.01269284263253212,
-0.11646018922328949,
0.025066658854484558,
-0.04956464841961861,
0.00627271318808198,
-0.047117456793785095,
-0.056127823889255524,
0.04029906541109085,
-0.017378242686390877,
-0.05712883546948433,
0.2039494663476944,
-0.052517008036375046,
0.027152445167303085,
-0.05231038108468056,
-0.011463422328233719,
0.007110836915671825,
0.03599955514073372,
0.017398547381162643,
0.025783220306038857,
-0.0005147439078427851,
-0.0786447823047638,
-0.025299765169620514,
0.008662215434014797,
-0.004110861569643021,
0.03875616565346718,
0.012620765715837479,
0.0234831552952528,
-0.0596044659614563,
0.015430248342454433,
-0.005790568422526121,
-0.010818352922797203,
0.00865282490849495,
0.038289133459329605,
0.07654748111963272,
0.016781888902187347,
-0.04539243131875992,
0.06283774226903915,
0.03233078494668007,
-0.03060097247362137,
-0.00520103657618165,
-0.039673786610364914,
0.05225697532296181,
-0.03070078231394291,
0.012579771690070629,
0.04131180793046951,
0.02124767005443573,
-0.030276184901595116,
0.037440743297338486,
-0.03460259363055229,
0.05993827432394028,
0.03958840295672417,
-0.02228858880698681,
0.007955164648592472,
0.006287644617259502,
0.0025485882069915533,
-0.035424649715423584,
-0.023850247263908386,
-0.012512566521763802,
0.02029704488813877,
-0.004630877636373043,
0.059361979365348816,
-0.029360251501202583,
0.015062564052641392,
0.01863236539065838,
0.07057638466358185,
0.00748594943434,
0.053378742188215256,
0.01325429230928421,
-0.010378967970609665,
-0.027712488546967506,
0.007960925810039043,
-0.03822772577404976,
0.037681277841329575,
0.07284500449895859,
0.02529028058052063,
-0.029439609497785568,
-0.02920720726251602,
-0.014866434969007969,
-0.08588944375514984,
0.027862846851348877,
0.030654728412628174,
0.026889577507972717,
-0.03056477941572666,
-0.04758915305137634,
-0.017067082226276398,
0.014777973294258118,
0.03757083788514137,
-0.018392914906144142,
-0.007783915847539902,
-0.0032844687812030315,
-0.005103114992380142,
-0.022661637514829636,
-0.01389792189002037,
-0.026572715491056442,
-0.007019377313554287,
0.05102049186825752,
0.03236212208867073,
-0.0023799960035830736,
-0.08498372882604599,
-0.02570594660937786,
-0.03968912735581398,
-0.018118757754564285,
-0.0309379231184721,
-0.021063193678855896,
0.034151725471019745,
-0.022734349593520164,
0.014905919320881367,
0.03181232884526253,
0.03238264098763466,
0.02066623419523239,
0.023978296667337418,
-0.028256626799702644,
-0.026296652853488922,
-0.003898886265233159,
0.012225637212395668,
-0.002219969406723976,
0.04581775516271591,
0.03121333196759224,
0.017597166821360588,
0.013943231664597988,
-0.001525121508166194,
-0.00189093011431396,
0.03626503422856331,
-0.025088980793952942,
0.05621735006570816,
-0.003161477856338024,
0.04064284637570381,
-0.024732723832130432,
0.02426072768867016,
-0.007584274746477604,
-0.007538713049143553,
-0.0003269198350608349,
-0.04691856727004051,
0.03001999855041504,
0.013895093463361263,
0.015435910783708096,
0.05132792517542839,
-0.0126250134781003,
0.002316709840670228,
-0.0003939927264582366,
-0.007117640692740679,
-0.014105108566582203,
-0.02746083214879036,
0.02305147983133793,
0.014480018056929111,
0.0439450703561306,
0.04566206410527229,
-0.03911624103784561,
-0.02666439674794674,
0.028794877231121063,
0.04260847717523575,
0.05245276913046837,
0.019447237253189087,
-0.0012662963708862662,
0.001057840185239911,
0.0033740513026714325,
0.00017845400725491345,
-0.03497860208153725,
-0.07706835120916367,
-0.001134044723585248,
0.029403071850538254,
0.0004380785976536572,
-0.029854655265808105,
0.014612529426813126,
0.02071128785610199,
-0.04240681603550911,
-0.0028767006006091833,
-0.019455453380942345,
0.032855696976184845,
0.03701738640666008,
0.0076500591821968555,
0.002850796328857541,
-0.023058805614709854,
0.045157261192798615,
-0.03561273589730263,
-0.06759094446897507,
0.06401050090789795,
0.0209903996437788,
0.0030340722296386957,
-0.02295866049826145,
-0.019751673564314842,
0.02746538817882538,
-0.00813576765358448,
-0.028621124103665352,
0.03273525461554527,
-0.011830193921923637,
-0.007741117849946022,
0.05392908677458763,
-0.003455233993008733,
0.01928478293120861,
0.01939147152006626,
0.003062966512516141,
-0.00021549542725551873,
0.049286823719739914,
0.03434714674949646,
0.037649549543857574,
0.0024636853486299515,
-0.0049817245453596115,
0.026570020243525505,
-0.05635920539498329,
-0.016026964411139488,
0.004163255915045738,
-0.05066303908824921,
0.026951458305120468,
-0.02402757667005062,
-0.02175428345799446,
0.014555040746927261,
-0.002075335942208767,
0.021082140505313873,
-0.015394888818264008,
0.01264309324324131,
0.003242208156734705,
0.048887114971876144,
0.019213996827602386,
-0.03457043319940567,
0.03378511220216751,
-0.05174209922552109,
0.0396043099462986,
-0.010270565748214722,
0.010201352648437023,
0.04544266685843468,
-0.021099312230944633,
0.060375459492206573,
0.02031705528497696,
-0.00007389789971057326,
0.025066496804356575,
-0.021371688693761826,
0.012967506423592567,
-0.008020851761102676,
-0.003990349359810352,
0.06089658662676811,
0.0028129909187555313,
0.028500091284513474,
-0.019225843250751495,
-0.05751413106918335,
0.0006697000935673714,
0.011384088546037674,
0.013942113146185875,
0.04599722847342491,
0.01647370494902134,
-0.0018755904166027904,
-0.01459421031177044,
-0.014749029651284218,
0.01361958496272564,
-0.04407057911157608,
0.021546553820371628,
-0.057177431881427765,
0.008297930471599102,
0.021652480587363243,
0.00294128549285233,
-0.03407103195786476,
-0.0013968887506052852,
0.05862872302532196,
0.004875645507127047,
-0.004251921083778143,
0.03144777938723564,
-0.0012466652551665902,
0.00018136600556317717,
0.01309532206505537,
0.02740233577787876,
0.0023350147530436516,
0.010740702040493488,
0.03145236521959305,
-0.026474129408597946,
-0.03777725249528885,
-0.05462920293211937,
-0.025845842435956,
0.005551028065383434,
-0.04221954196691513,
0.05601663514971733,
0.028603073209524155,
-0.00663544237613678,
-0.014048359356820583,
0.03986729681491852,
0.045689888298511505,
0.03168832138180733,
0.02580227330327034,
0.003919805865734816,
-0.03339323028922081,
-0.01930863782763481,
0.06374704092741013,
0.00695310952141881,
0.0015235153259709477,
0.012086394242942333,
0.06502071768045425,
0.0633276104927063,
0.022691164165735245,
0.006305553950369358,
-0.00011040689423680305,
-0.01084350235760212,
-0.005124514456838369,
-0.060252781957387924,
0.01537762675434351,
-0.053033340722322464,
0.020934410393238068,
0.03438205644488335,
-0.005374774802476168,
-0.03159478306770325,
0.0176909901201725,
0.01549649890512228,
-0.038377609103918076,
-0.03191574290394783,
0.01914024166762829,
-0.001568835461512208,
0.011920693330466747,
-0.02888302505016327,
0.03554071485996246,
-0.032011065632104874,
0.023042447865009308,
0.01226003747433424,
0.005328718572854996,
0.009688779711723328,
0.013309083878993988,
-0.01558282133191824,
-0.009597917087376118,
0.008535469882190228,
0.012180490419268608,
0.05330789089202881,
-0.031970977783203125,
-0.010745830833911896,
-0.005854548886418343,
-0.05746464058756828,
0.04658046364784241,
0.00034880093880929053,
-0.011567844077944756,
0.0107994070276618,
0.028402406722307205,
0.003985431976616383,
-0.020295074209570885,
-0.00618366152048111,
0.047169942408800125,
0.0077445972710847855,
0.01917112246155739,
0.03683383762836456,
-0.03206692636013031,
0.05392250791192055,
0.027496568858623505,
-0.004542604088783264,
0.0013226224109530449,
0.007486448157578707,
-0.031429849565029144,
-0.007076367735862732,
-0.038073159754276276,
0.03346308693289757,
0.05273512005805969,
-0.03464854508638382,
-0.005754390265792608,
0.003619402414187789,
0.03663024306297302,
0.03446904569864273,
-0.03451802209019661,
-0.02497103624045849,
0.0034277020022273064,
0.009857770055532455,
0.053709108382463455,
-0.020576464012265205,
-0.04119398072361946,
0.008232912048697472,
0.033025022596120834,
-0.03207365423440933,
-0.006063287146389484,
0.033554255962371826,
-0.04701133444905281,
0.019820647314190865,
-0.007790199015289545,
-0.04704970121383667,
0.01944367215037346,
0.019905703142285347,
-0.00579908536747098,
-0.013768958859145641,
0.00579651165753603,
0.01252035889774561,
-0.01522519439458847,
-0.0028610785957425833,
0.022606220096349716,
0.06501173228025436,
0.01967548578977585,
-0.0150903956964612,
0.043593551963567734,
0.0561683289706707,
0.049197420477867126,
0.009728859178721905,
0.02740534022450447,
0.010217632167041302,
0.06374211609363556,
-0.00458132941275835,
0.00798729993402958,
-0.014794674701988697,
-0.018131054937839508,
-0.008238577283918858,
0.0015017108526080847,
-0.010980920866131783,
-0.0174837838858366,
-0.031851984560489655,
0.04832278937101364,
-0.019152110442519188,
0.026610171422362328,
-0.042444780468940735,
0.046379853039979935,
-0.0006793233333155513,
0.06434600800275803,
0.000053787993238074705,
-0.017862286418676376,
0.010062730871140957,
0.002815703395754099,
-0.003738613333553076,
0.03466631472110748,
0.054030273109674454,
-0.056757550686597824,
0.018530135974287987,
0.0029778059106320143,
0.03194454684853554,
0.018134240061044693,
0.03177224099636078,
-0.01697082445025444,
-0.035442646592855453,
0.009590444155037403,
0.006981110665947199,
-0.02691037580370903,
0.029873792082071304,
0.007977834902703762,
0.000591569987591356,
-0.04814438149333,
-0.02255166694521904,
-0.013358754105865955,
0.0013994793407619,
0.011401986703276634,
0.0004711512301582843,
0.01914827711880207,
0.026047740131616592,
-0.010590946301817894,
-0.006962407846003771,
0.02005746401846409,
-0.04086753726005554,
0.03270259127020836,
-0.0037714028730988503,
-0.026012592017650604,
-0.028441045433282852,
0.009926891885697842,
-0.012446591630578041,
0.025337232276797295,
0.008421264588832855,
-0.00815469492226839,
-0.0007181722903624177,
-0.0014072770718485117,
0.02481565997004509,
0.017414409667253494,
0.011545641347765923,
0.03285971283912659,
0.010587899945676327,
-0.0455520823597908,
0.002888108603656292,
-0.01177344098687172,
-0.0027060594875365496,
-0.03755893185734749,
-0.035098668187856674,
-0.02482556737959385,
0.00011638024443527684,
0.005180035252124071,
0.01318090595304966,
0.04453270882368088,
-0.047120869159698486,
-0.02150178886950016,
0.019466953352093697,
-0.048780445009469986,
-0.008992318995296955,
0.04895889386534691,
-0.016435373574495316,
-0.030373502522706985,
-0.017411701381206512,
0.03030027449131012,
0.01479622907936573,
0.005709089804440737,
-0.017407691106200218,
0.08919071406126022,
0.015330499038100243,
-0.04573911428451538,
-0.01655167154967785,
0.02030346542596817,
-0.012090603820979595,
0.042193569242954254,
0.03913212940096855,
-0.01556603517383337,
-0.0170950535684824,
-0.024771371856331825,
-0.012684606947004795,
-0.034855637699365616,
0.011859528720378876,
-0.02236235700547695,
-0.0020842170342803,
-0.035626284778118134,
0.009359309449791908,
-0.02325040102005005,
-0.012923652306199074,
-0.03414829820394516,
0.01134941354393959,
-0.01439671404659748,
-0.04080517962574959,
-0.006373602896928787,
-0.01544129103422165,
0.04095691069960594,
-0.012193978764116764,
0.04257640615105629,
0.02421325258910656,
-0.0060347276739776134,
-0.0153875220566988,
-0.034204982221126556,
0.05228327214717865,
-0.021204788237810135,
-0.018559591844677925,
-0.026277003809809685,
-0.019301392138004303,
0.00030183096532709897,
0.02028517983853817,
-0.03972453251481056,
0.06034926325082779,
0.032489411532878876,
0.008092440664768219,
-0.023206911981105804,
0.004068529698997736,
0.03690669685602188,
-0.004353960510343313,
0.01081564836204052,
-0.0007466090610250831,
0.015810715034604073,
-0.02580227330327034,
0.007922880351543427,
-0.032975953072309494,
-0.010020884685218334,
-0.029841801151633263,
-0.005803746171295643,
0.00453618448227644,
-0.03553904592990875,
0.026719577610492706,
-0.0048679169267416,
0.03851347789168358,
-0.008312364108860493,
-0.02418494038283825,
-0.03327955678105354,
-0.06016651168465614,
0.03889568895101547,
0.04816461354494095,
0.003922412637621164,
-0.011373098939657211,
-0.03125353902578354,
-0.011622217483818531,
-0.03797266632318497,
0.01636904664337635,
-0.017974892631173134,
-0.024119045585393906,
-0.0033641245681792498,
0.02394910156726837,
-0.02645058184862137,
0.0457116924226284,
0.05809923633933067,
0.01565229520201683,
-0.04119231551885605,
-0.024410750716924667
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Streaming Token streaming is the mode in which the server returns the tokens one by one as the model generates them. This enables showing progressive generations to the user rather than waiting for the whole generation. Streaming is an essential aspect of the end-user experience as it reduces latency, one of the most critical aspects of a smooth experience. To stream tokens with InferenceClient, simply pass stream=True and iterate over the response. python for token in client.text_generation("How do you make cheese?", max_new_tokens=12, stream=True): print(token) # To # make # cheese #, # you # need # to # start # with # milk To use the generate_stream endpoint with curl, you can add the -N/--no-buffer flag, which disables curl default buffering and shows data as it arrives from the server. curl -N https://api-inference.huggingface.co/models/meta-llama/Llama-2-70b-chat-hf \ -X POST \ -d '{"inputs": "In a surprising turn of events, ", "parameters": {"temperature": 0.7, "max_new_tokens": 100}}' \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <YOUR_TOKEN>" | [
0.015758246183395386,
0.02132827416062355,
0.07946086674928665,
-0.07286468893289566,
0.048721350729465485,
0.012326718308031559,
0.03455723449587822,
0.031872205436229706,
-0.002737519098445773,
-0.03822033852338791,
-0.08044995367527008,
-0.044854745268821716,
-0.0014132054056972265,
0.05371313542127609,
-0.05567215383052826,
-0.0450616180896759,
0.054833658039569855,
-0.013089689426124096,
0.015850244089961052,
-0.016462843865156174,
0.034813012927770615,
-0.0026907373685389757,
-0.025913825258612633,
-0.025481518357992172,
-0.04136788845062256,
-0.03495604917407036,
-0.05049629509449005,
0.019668228924274445,
-0.016482118517160416,
-0.010526860132813454,
-0.12937729060649872,
-0.02255670167505741,
-0.00851212628185749,
-0.004840695299208164,
0.049468494951725006,
-0.006536564324051142,
-0.1377549171447754,
0.0311526358127594,
0.03756888955831528,
0.012748847715556622,
-0.02391551434993744,
-0.006953605450689793,
-0.03468211740255356,
0.04720592871308327,
0.0015435363166034222,
0.026456300169229507,
-0.13997358083724976,
0.026395531371235847,
-0.003919470589607954,
-0.0019163212273269892,
-0.12792572379112244,
0.057422637939453125,
-0.06045088917016983,
0.004376632161438465,
0.0544414147734642,
0.014925997704267502,
-0.03573530167341232,
-0.06103821471333504,
0.00755259720608592,
0.024417836219072342,
0.05701691657304764,
0.002065907930955291,
0.01621060259640217,
0.024482233449816704,
0.0064618238247931,
0.013576043769717216,
-0.01711231656372547,
0.0164406169205904,
-0.011253922246396542,
-0.020690253004431725,
0.025386320427060127,
0.025040265172719955,
0.0008274425053969026,
-0.015035629272460938,
0.03998960182070732,
-0.05261106416583061,
-0.013913285918533802,
0.03709735348820686,
0.04411845654249191,
0.041339997202157974,
-0.018808959051966667,
0.043847206979990005,
0.02200930379331112,
0.04014080762863159,
0.03762777894735336,
0.05739838629961014,
0.042136214673519135,
-0.02030683495104313,
-0.03173723444342613,
0.01152032520622015,
-0.045667700469493866,
-0.09176962077617645,
0.026308102533221245,
0.027972739189863205,
0.038380447775125504,
0.008952931500971317,
-0.007121998816728592,
0.07114481925964355,
-0.004239383619278669,
-0.08950719982385635,
0.0023865133989602327,
-0.10053251683712006,
-0.04710090905427933,
-0.0628407672047615,
-0.0505346804857254,
0.07071861624717712,
-0.017182955518364906,
-0.09632432460784912,
-0.04906419664621353,
-0.022487105801701546,
0.009217305108904839,
0.01866081915795803,
0.017506705597043037,
0.04668361321091652,
-0.07745899260044098,
0.015848184004426003,
-0.046757254749536514,
-0.021965641528367996,
-0.045821547508239746,
0.00638590706512332,
0.023068450391292572,
0.07214458286762238,
0.0519893579185009,
-0.03787056729197502,
-0.031552184373140335,
0.01824265345931053,
0.036944519728422165,
0.02783735655248165,
0.06588422507047653,
-0.000004807904133485863,
0.030683450400829315,
0.054039400070905685,
0.04194962978363037,
0.071682870388031,
0.009178800508379936,
0.010060769505798817,
0.01356484554708004,
-0.16799907386302948,
0.01009047869592905,
-0.01991884410381317,
-0.018850618973374367,
0.05475417152047157,
-0.01135026104748249,
-0.026750165969133377,
0.034389082342386246,
0.025817958638072014,
-0.09321614354848862,
-0.01812998205423355,
0.00155390496365726,
0.035001691430807114,
-0.11259307712316513,
0.05203072354197502,
-0.03579671308398247,
-0.018304867669939995,
-0.017678583040833473,
0.0660562738776207,
-0.004725916776806116,
0.03319041430950165,
-0.06912799924612045,
-0.029282335191965103,
0.027561388909816742,
-0.00025267485762014985,
-0.010682234540581703,
0.012788733467459679,
0.05217747017741203,
0.0018416984239593148,
-0.03447354957461357,
0.012557507492601871,
0.011209593154489994,
0.010757624171674252,
-0.023265711963176727,
0.014409025199711323,
-0.01022204477339983,
-0.035305511206388474,
0.07527688145637512,
0.012164548970758915,
0.038031626492738724,
0.018424415960907936,
0.02079363726079464,
-0.023328470066189766,
-0.03563016653060913,
0.06051833555102348,
-0.01975850760936737,
0.06556451320648193,
0.03311557695269585,
-0.11048831045627594,
-0.009311208501458168,
0.030417518690228462,
0.00488040316849947,
-0.011317020282149315,
0.0013652582420036197,
-0.040274664759635925,
0.06654632836580276,
-0.013307669200003147,
-0.026460912078619003,
-0.09201734513044357,
-0.07265394926071167,
0.006603111047297716,
0.03823979198932648,
0.044887807220220566,
0.005214806646108627,
0.08158043771982193,
0.014170150272548199,
-0.04378623887896538,
-0.0662742406129837,
0.04777394235134125,
-0.021523071452975273,
-0.06011717766523361,
0.03278573602437973,
0.001459485269151628,
-0.05755116790533066,
-0.05994220823049545,
0.04401552677154541,
-0.08535607904195786,
-0.02214818261563778,
-0.054324954748153687,
-0.03433575481176376,
-0.010088220238685608,
-0.021636294201016426,
0.01810210943222046,
0.17000308632850647,
-0.11547809094190598,
0.07692819088697433,
0.005881635472178459,
0.0035717275459319353,
-0.010097955353558064,
0.019506532698869705,
0.047618966549634933,
0.057431112974882126,
-0.055869776755571365,
-0.02273336797952652,
-0.02774992771446705,
-0.07177850604057312,
-0.030519111081957817,
-0.0015534049598500133,
-0.00145457882899791,
0.0471346415579319,
0.02423347346484661,
-0.0006873077945783734,
-0.043709561228752136,
0.06358889490365982,
0.023804590106010437,
-0.0010152950417250395,
-0.006355499383062124,
0.011284217238426208,
-0.0036205097567290068,
0.08762744069099426,
-0.005876225419342518,
-0.06450941413640976,
-0.02884502336382866,
-0.029443616047501564,
0.03390413895249367,
-0.024972841143608093,
-0.02854583039879799,
0.01577679067850113,
-0.0029192762449383736,
-0.007930491119623184,
0.02890237234532833,
0.04511011019349098,
0.05374789610505104,
0.02052469551563263,
-0.019650278612971306,
0.0036226899828761816,
-0.02503296174108982,
-0.04387856274843216,
-0.023091930896043777,
-0.04882778599858284,
-0.01102039311081171,
-0.007852517999708652,
0.02048376388847828,
0.07631717622280121,
-0.016378941014409065,
0.02247285284101963,
0.013585356995463371,
0.03185466304421425,
0.015811920166015625,
0.03664975240826607,
-0.01642024517059326,
0.0028535255696624517,
-0.02881995402276516,
0.012442126870155334,
-0.03516007959842682,
0.013933079317212105,
0.06319000571966171,
0.031696539372205734,
-0.006866222247481346,
0.003347712103277445,
-0.020610444247722626,
-0.06301625818014145,
0.03339847922325134,
0.026389876380562782,
0.0321519635617733,
0.031762801110744476,
-0.016952987760305405,
0.004973385948687792,
0.0062297736294567585,
0.03560074418783188,
-0.015610743314027786,
-0.013082419522106647,
0.0008884696289896965,
-0.03175865858793259,
-0.03983014076948166,
-0.025188185274600983,
0.0166633278131485,
-0.021270178258419037,
0.01919286511838436,
-0.020297406241297722,
-0.030143188312649727,
-0.079352468252182,
-0.05180181935429573,
0.0016594711923971772,
0.0008307716343551874,
0.02435709536075592,
-0.0035884808748960495,
0.06711998581886292,
-0.021377574652433395,
-0.015414047054946423,
0.03191452845931053,
0.009284628555178642,
0.01265487540513277,
-0.04598148539662361,
-0.03147793933749199,
0.004424891900271177,
0.007103762123733759,
0.03293903172016144,
-0.03607065975666046,
0.017446700483560562,
0.006229398772120476,
-0.02388700097799301,
0.0010497544426470995,
0.02061762660741806,
-0.01624246872961521,
-0.015012226998806,
-0.007953967899084091,
0.025055650621652603,
0.003283577971160412,
-0.008248605765402317,
-0.011197604238986969,
-0.02898300066590309,
-0.06667850911617279,
0.00014398005441762507,
0.015953363850712776,
-0.0485537126660347,
0.03399261459708214,
0.049412574619054794,
-0.05276064947247505,
0.009804481640458107,
-0.031707633286714554,
0.03925105184316635,
-0.030306490138173103,
0.016699712723493576,
-0.037837572395801544,
-0.017247922718524933,
-0.0015003739390522242,
0.0019955255556851625,
-0.0033101134467869997,
0.01639203168451786,
-0.019397685304284096,
-0.010980358347296715,
0.016551757231354713,
0.0014112101634964347,
0.037314217537641525,
0.006929595489054918,
0.02835608832538128,
-0.016843609511852264,
0.03340950980782509,
0.016739429906010628,
0.008790106512606144,
-0.06907057017087936,
-0.018142331391572952,
0.015361672267317772,
-0.011804639361798763,
-0.023205406963825226,
0.05226435139775276,
0.00014541579002980143,
0.01577575132250786,
0.012558677233755589,
0.03463758900761604,
0.0026092780753970146,
0.04164835065603256,
0.010271078906953335,
0.012831894680857658,
-0.028202896937727928,
-0.01314994040876627,
-0.020901605486869812,
-0.03609517961740494,
0.06386907398700714,
0.028792139142751694,
0.015530169941484928,
0.003216465236619115,
-0.05454166606068611,
0.013931717723608017,
0.009803226217627525,
-0.01522041391581297,
0.045846376568078995,
-0.036990221589803696,
0.0014398426283150911,
-0.009496941231191158,
-0.0008960441336967051,
-0.022422879934310913,
0.0014198811259120703,
0.0023969425819814205,
-0.03511698171496391,
-0.026495853438973427,
-0.0027229133993387222,
0.051502130925655365,
0.012304422445595264,
0.02703448012471199,
0.04813772812485695,
-0.03550468385219574,
-0.003592295106500387,
-0.015980331227183342,
-0.033678166568279266,
0.010657597333192825,
-0.010588173754513264,
-0.0048880260437726974,
0.04470286890864372,
0.01772879809141159,
-0.027710258960723877,
0.03194158524274826,
-0.0037141120992600918,
-0.00016726534522604197,
0.04743727296590805,
0.058545999228954315,
-0.03231550380587578,
-0.02236255630850792,
0.00554231321439147,
-0.005711455829441547,
-0.014444073662161827,
0.005944820120930672,
0.06625574082136154,
-0.03135928139090538,
0.013129289261996746,
-0.013523977249860764,
0.023843232542276382,
0.0053514139726758,
-0.024433592334389687,
-0.01999492198228836,
0.023186195641756058,
0.014009336940944195,
0.04339911416172981,
0.008620315231382847,
-0.0006402780418284237,
0.017338024452328682,
0.008526187390089035,
-0.03225739672780037,
0.0557662695646286,
-0.016681991517543793,
-0.027574481442570686,
0.007890943437814713,
0.005088229198008776,
-0.020920488983392715,
-0.0007015464943833649,
0.04322340339422226,
-0.03297201544046402,
0.009586870670318604,
-0.022137735038995743,
0.0027962075546383858,
0.04450441524386406,
-0.016241883859038353,
-0.020254798233509064,
0.018619053065776825,
0.0436331145465374,
0.005392774939537048,
-0.02375129982829094,
-0.004290732089430094,
0.01863127388060093,
0.022986408323049545,
-0.013220172375440598,
-0.006103733088821173,
-0.008164608851075172,
0.014660749584436417,
0.004157047253102064,
-0.03551774471998215,
-0.04294496029615402,
-0.06907004117965698,
-0.015073117800056934,
-0.02053125575184822,
-0.046489130705595016,
0.014405208639800549,
0.028493011370301247,
-0.0301361083984375,
0.03470196574926376,
0.05710313469171524,
0.029469840228557587,
0.019557882100343704,
-0.002446649596095085,
0.01338699460029602,
-0.01706038787961006,
0.006309904158115387,
0.047662876546382904,
-0.040204111486673355,
-0.004480956122279167,
0.02267114631831646,
0.10283427685499191,
0.030659422278404236,
0.036569155752658844,
0.06283559650182724,
-0.019257614389061928,
-0.001493765157647431,
-0.013110553845763206,
-0.025111088529229164,
0.006780512630939484,
-0.04692988097667694,
-0.019367624074220657,
0.048612140119075775,
-0.026083869859576225,
-0.04110771417617798,
0.05264474079012871,
0.044033221900463104,
0.003589840140193701,
0.006661668885499239,
0.031722139567136765,
0.016999438405036926,
0.0038712485693395138,
-0.02995889075100422,
0.022142846137285233,
-0.020949065685272217,
0.034889381378889084,
-0.04596945270895958,
-0.01089604664593935,
0.03690865635871887,
0.022411493584513664,
-0.010578181594610214,
-0.0027475617825984955,
0.0035125312861055136,
0.001422531553544104,
0.06435275822877884,
-0.008486577309668064,
-0.024318110197782516,
-0.02160022221505642,
-0.05608145520091057,
-0.004272777587175369,
-0.0145509522408247,
-0.004462582990527153,
0.005719664040952921,
-0.018467603251338005,
0.023394668474793434,
0.05465448275208473,
-0.0004613956552930176,
-0.019924910739064217,
0.028415489941835403,
0.022664286196231842,
0.02219046838581562,
0.0021270907018333673,
0.018894044682383537,
0.022992435842752457,
0.0374574214220047,
-0.006636969745159149,
-0.01500361505895853,
-0.054477009922266006,
-0.009017381817102432,
-0.01668640226125717,
0.02689596638083458,
0.05144168436527252,
0.0025747588369995356,
-0.02700860984623432,
0.025439903140068054,
0.017454659566283226,
-0.01966588757932186,
-0.016274865716695786,
-0.011760327965021133,
0.026737846434116364,
-0.009604999795556068,
0.0744999423623085,
-0.0024128842633217573,
-0.002610202878713608,
-0.0032214841339737177,
-0.004971339367330074,
-0.044090237468481064,
0.00333561678417027,
0.0045008850283920765,
-0.041895389556884766,
0.050313550978899,
0.018628312274813652,
-0.04098139703273773,
0.025198180228471756,
0.02849644050002098,
0.024025287479162216,
-0.01032592449337244,
0.018003590404987335,
-0.0028214699123054743,
0.01745823584496975,
0.009650183841586113,
0.0001337823341600597,
0.06034775450825691,
-0.011950746178627014,
0.05800449848175049,
0.017889168113470078,
0.05537145584821701,
-0.012623615562915802,
0.0092904819175601,
0.03867419436573982,
-0.015935994684696198,
0.08473142236471176,
0.05987456068396568,
0.03287339583039284,
0.010328732430934906,
-0.022084491327404976,
0.013495411723852158,
-0.004593248479068279,
0.0017745197983458638,
0.029026711359620094,
-0.01702173613011837,
0.029382959008216858,
-0.021393854171037674,
0.05187433585524559,
-0.026213455945253372,
0.052102018147706985,
0.018623443320393562,
0.019955351948738098,
0.0056451489217579365,
0.023389233276247978,
0.012061656452715397,
0.00199366663582623,
0.027663834393024445,
0.028121108189225197,
0.04700801149010658,
-0.06984347105026245,
0.031642358750104904,
0.024588225409388542,
0.0041296337731182575,
-0.021775534376502037,
0.0006749822641722858,
0.003184998407959938,
-0.030577808618545532,
0.0009464621543884277,
0.008209474384784698,
0.014186915941536427,
0.012594969943165779,
-0.005838589742779732,
-0.05249188840389252,
-0.0075023965910077095,
0.0029592846985906363,
0.013127700425684452,
-0.022084608674049377,
0.010066726244986057,
-0.01900949329137802,
0.032083217054605484,
0.03138118237257004,
0.024839414283633232,
-0.0631786435842514,
-0.007529315073043108,
0.008922677487134933,
-0.002357394201681018,
-0.006016097497195005,
-0.07128147035837173,
-0.03453315049409866,
0.005556030198931694,
0.011323584243655205,
-0.0006882936577312648,
-0.0014102681307122111,
-0.025296537205576897,
0.009369837120175362,
0.0076917847618460655,
0.04525631293654442,
0.01211812999099493,
0.0028906126972287893,
0.02072649449110031,
0.04468991234898567,
-0.03415573015809059,
-0.05311539024114609,
0.016699861735105515,
-0.005313006695359945,
-0.012894048355519772,
0.00900237075984478,
-0.0031341114081442356,
0.008494331501424313,
0.0435723178088665,
0.01427460741251707,
0.03756923973560333,
-0.03495057299733162,
-0.02695930190384388,
-0.009958558715879917,
-0.035729505121707916,
-0.06509749591350555,
0.05394938960671425,
0.01495036669075489,
-0.028488432988524437,
-0.015503915026783943,
0.027792127802968025,
-0.012301284819841385,
0.02055155113339424,
0.04763413593173027,
0.07158468663692474,
-0.015194960869848728,
-0.04642390459775925,
-0.011525723151862621,
0.03436349332332611,
0.04103902727365494,
0.006052122917026281,
0.015565411187708378,
-0.0526096448302269,
-0.023873232305049896,
-0.0035854533780366182,
0.04181894659996033,
-0.051582831889390945,
0.013881443999707699,
-0.031191227957606316,
0.004434863571077585,
-0.04531668871641159,
0.03844292834401131,
-0.02201596088707447,
0.014427583664655685,
-0.017090076580643654,
-0.02728378400206566,
-0.010680653154850006,
-0.03616767004132271,
-0.016947336494922638,
-0.022278612479567528,
0.029359931126236916,
0.056400369852781296,
0.053269412368535995,
0.03128068149089813,
-0.029373323544859886,
-0.013320092111825943,
0.006573704071342945,
0.013836986385285854,
0.018737783655524254,
0.005804161075502634,
-0.03029676154255867,
0.006806777324527502,
0.011564279906451702,
0.004776555113494396,
-0.04085922986268997,
0.03639069199562073,
0.027327433228492737,
-0.02918059565126896,
-0.04103762283921242,
0.0234226081520319,
0.05992826819419861,
0.01912333443760872,
0.06598253548145294,
0.018351713195443153,
-0.013887695968151093,
-0.023160722106695175,
0.006866014562547207,
-0.04761574789881706,
-0.010386068373918533,
0.005643991753458977,
0.003764973022043705,
0.033646151423454285,
-0.006417831405997276,
0.012353586964309216,
-0.022127358242869377,
0.007506202906370163,
0.04211769253015518,
-0.00879936944693327,
-0.013708042912185192,
-0.0413711778819561,
0.008952553384006023,
0.03508516401052475,
-0.034814875572919846,
-0.006960209459066391,
0.01744963228702545,
-0.005826644133776426,
-0.04079094156622887,
-0.019326232373714447,
0.018595319241285324,
-0.013227111659944057,
-0.016782933846116066,
0.006201955955475569,
-0.045873239636421204,
0.03669651225209236,
0.06109809875488281,
-0.008264156058430672,
-0.04128431901335716,
-0.017967872321605682
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Supported Models In addition to thousands of public models available in the Hub, PRO users get free access and higher rate limits to the following state-of-the-art models: | Model | Size | Context Length | Use | | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- | ------------------------------------- | | Zephyr 7B β | 7B | 4k tokens | Highest-ranked chat model at the 7B weight | | Llama 2 Chat | 7B, 13B, and 70B | 4k tokens | One of the best conversational models | | Code Llama Base | 7B and 13B | 4k tokens | Autocomplete and infill code | | Code Llama Instruct | 34B | 16k tokens | Conversational code assistant | | Stable Diffusion XL | 3B UNet | - | Generate images | Inference for PROs makes it easy to experiment and prototype with new models without having to deploy them on your own infrastructure. It gives PRO users access to ready-to-use HTTP endpoints for all the models listed above. It’s not meant to be used for heavy production applications - for that, we recommend using Inference Endpoints. Inference for PROs also allows using applications that depend upon an LLM endpoint, such as using a VS Code extension for code completion, or have your own version of Hugging Chat. | [
0.010850162245333195,
-0.0012379424879327416,
0.04300887510180473,
0.026632335036993027,
0.12645509839057922,
0.04933938756585121,
0.031779322773218155,
0.0901007130742073,
0.004231330938637257,
-0.05285597965121269,
-0.050088223069906235,
0.017461862415075302,
-0.03482731431722641,
-0.004845047369599342,
0.035803403705358505,
-0.054722338914871216,
0.0030400510877370834,
0.022484779357910156,
-0.025488002225756645,
0.025457637384533882,
0.005687559489160776,
-0.06666667759418488,
-0.0013680303236469626,
-0.05250130593776703,
-0.054364293813705444,
-0.03987612947821617,
-0.014751759357750416,
0.019705140963196754,
-0.03727739676833153,
-0.052281755954027176,
-0.09970113635063171,
0.017481571063399315,
0.017234401777386665,
-0.03458242118358612,
0.01966509222984314,
-0.03514408320188522,
-0.10030511021614075,
0.0676397904753685,
0.055660221725702286,
0.003182879649102688,
0.022905416786670685,
-0.03165913000702858,
-0.046825092285871506,
0.09667166322469711,
0.0077844769693911076,
-0.011005355976521969,
-0.17276377975940704,
0.06342608481645584,
0.007907395251095295,
0.004887561313807964,
-0.14517329633235931,
0.037747640162706375,
-0.016460314393043518,
0.020913926884531975,
0.06833915412425995,
0.011543458327651024,
-0.015318193472921848,
-0.07270551472902298,
0.04123881831765175,
0.015029208734631538,
0.04797593876719475,
-0.04107096046209335,
0.013042301870882511,
-0.03898514807224274,
0.010731641203165054,
-0.009755348786711693,
0.009831873700022697,
0.006226312834769487,
-0.017603538930416107,
-0.02584705501794815,
0.024598881602287292,
0.018939850851893425,
-0.042848698794841766,
-0.03100436180830002,
0.01501019299030304,
-0.11103906482458115,
-0.05352029949426651,
0.05515202134847641,
0.08167362213134766,
-0.07460132986307144,
0.006549589801579714,
0.006144636310636997,
0.04223494231700897,
0.0017448387807235122,
0.004535070154815912,
0.05216434225440025,
0.056757379323244095,
-0.04861489683389664,
-0.0032729110680520535,
0.009043549187481403,
-0.005678496323525906,
-0.09888894855976105,
0.028945688158273697,
-0.0017361999489367008,
0.03110509365797043,
0.0006723816622979939,
0.006894695106893778,
0.04015910252928734,
0.00379135156981647,
-0.005461002234369516,
-0.014094529673457146,
0.0027029074262827635,
0.01298690214753151,
-0.06466016173362732,
-0.0339464507997036,
0.0572856068611145,
-0.04406818374991417,
-0.09669961780309677,
-0.05188322439789772,
-0.002377384575083852,
0.016414500772953033,
-0.012222735211253166,
-0.025314582511782646,
0.039880845695734024,
-0.05857396498322487,
0.04985957220196724,
-0.0024948306381702423,
0.009372355416417122,
0.042770497500896454,
0.04582059010863304,
0.019764909520745277,
0.08025897294282913,
0.033491332083940506,
0.01724538393318653,
0.0586560033261776,
0.08982965350151062,
0.024221954867243767,
-0.0032269535586237907,
-0.07750081270933151,
-0.03268534690141678,
0.042668942362070084,
0.0011401597876101732,
0.020003153011202812,
-0.05266951769590378,
0.04566625878214836,
-0.0944155901670456,
0.010936547070741653,
-0.06060200557112694,
0.041821837425231934,
-0.004303112626075745,
-0.04207910597324371,
0.021280573680996895,
0.027148393914103508,
0.036691147834062576,
0.07024184614419937,
0.0019075305899605155,
-0.021556196734309196,
0.00820723082870245,
-0.0030346130952239037,
-0.024946559220552444,
-0.08287324756383896,
0.03149237856268883,
-0.011885871179401875,
-0.059997063130140305,
-0.028905220329761505,
0.0305351410061121,
0.00802811048924923,
-0.01644262857735157,
-0.020652571693062782,
-0.0008770094136707485,
-0.005324310623109341,
-0.025279415771365166,
-0.017776716500520706,
0.02193669229745865,
0.0809980109333992,
0.007349308114498854,
-0.008862261660397053,
-0.014460506848990917,
0.010534216649830341,
-0.012764839455485344,
0.04651450738310814,
-0.04175611585378647,
0.07199811190366745,
-0.038749076426029205,
-0.008172561414539814,
0.047983329743146896,
0.06860293447971344,
0.028801091015338898,
-0.012063197791576385,
-0.010037542320787907,
-0.03486695885658264,
0.05385707691311836,
-0.018936628475785255,
0.04155055433511734,
0.053858377039432526,
-0.1529904156923294,
0.03276136890053749,
-0.01805231347680092,
-0.05045467987656593,
-0.006890465971082449,
-0.01727152056992054,
-0.030959460884332657,
0.06144782900810242,
0.06073050573468208,
0.015590227209031582,
-0.0047081755474209785,
-0.03433218225836754,
0.05162237957119942,
0.07957645505666733,
0.08070021867752075,
0.0652904286980629,
0.0659874752163887,
0.0008412008755840361,
-0.04446607083082199,
-0.08781662583351135,
0.028056304901838303,
0.022761529311537743,
-0.023953838273882866,
-0.018200205639004707,
0.01346643827855587,
-0.001533767906948924,
-0.11655253171920776,
0.03351442515850067,
-0.060849033296108246,
0.0021337997168302536,
-0.05348937213420868,
-0.04828215017914772,
-0.02723541669547558,
0.0023554314393550158,
-0.05516662448644638,
0.20625808835029602,
-0.03231412544846535,
-0.025274381041526794,
-0.010880121029913425,
-0.05850501358509064,
0.07737130671739578,
0.05738630145788193,
0.015982767567038536,
0.045327965170145035,
-0.003713960526511073,
-0.018277643248438835,
-0.0361078716814518,
-0.018455255776643753,
0.025911767035722733,
0.029180971905589104,
0.05988330766558647,
-0.03588736057281494,
-0.020371215417981148,
0.052834946662187576,
-0.014720859006047249,
0.0030921148136258125,
-0.0012900050496682525,
0.019475508481264114,
0.06454140692949295,
-0.009379283525049686,
-0.01284524891525507,
0.06469946354627609,
0.05357448384165764,
-0.06730480492115021,
-0.009229395538568497,
-0.07704342901706696,
0.03451835364103317,
-0.03988678753376007,
-0.013194483704864979,
0.051820021122694016,
0.010905886068940163,
0.0031937044113874435,
-0.02091171033680439,
-0.035377249121665955,
0.02644774504005909,
0.02613217383623123,
-0.021158847957849503,
-0.01347525417804718,
-0.01994268409907818,
0.00486174738034606,
-0.018358824774622917,
0.006498952861875296,
-0.0282018780708313,
-0.011079605668783188,
-0.02353064715862274,
0.03593996539711952,
-0.04140590876340866,
-0.003693794133141637,
0.01422072947025299,
0.010402105748653412,
0.025784920901060104,
0.02208825945854187,
-0.008981759659945965,
-0.014858447015285492,
-0.02226492017507553,
0.009481506422162056,
-0.02092241682112217,
0.036258772015571594,
0.029283441603183746,
0.033277153968811035,
-0.00933900661766529,
-0.021907420828938484,
-0.04359525069594383,
-0.026414070278406143,
-0.008697167970240116,
0.032044731080532074,
0.012352097779512405,
-0.003758355276659131,
-0.01768997311592102,
-0.019527990370988846,
-0.03736785799264908,
0.0138808349147439,
-0.006410602480173111,
-0.058144982904195786,
-0.011280815117061138,
-0.016201211139559746,
0.0009517680155113339,
-0.0044232518412172794,
-0.022094201296567917,
-0.03482689708471298,
0.03871104493737221,
0.007862850092351437,
0.0024857285898178816,
-0.1120939776301384,
0.012588770128786564,
-0.012434180825948715,
0.027858419343829155,
-0.032704874873161316,
-0.03420005738735199,
0.044455502182245255,
-0.009907589294016361,
-0.009185642004013062,
0.03552783280611038,
0.013070916756987572,
0.029743947088718414,
0.0269676074385643,
-0.020541030913591385,
-0.05131707713007927,
0.02997712977230549,
0.010617364197969437,
-0.0014292659470811486,
0.040724679827690125,
-0.006894433870911598,
-0.0438193753361702,
0.049268689006567,
-0.025822192430496216,
-0.02975921891629696,
-0.04249189421534538,
-0.0051443553529679775,
0.02354033850133419,
0.016244644299149513,
0.03618310019373894,
-0.028740186244249344,
0.004215262830257416,
-0.029528651386499405,
-0.03154726326465607,
0.047695405781269073,
-0.041662149131298065,
-0.0005329002160578966,
-0.004042804706841707,
0.005595342256128788,
0.03420551121234894,
0.032676976174116135,
-0.0026839300990104675,
0.000519406283274293,
0.02331775240600109,
-0.009806396439671516,
-0.0016316981054842472,
0.013868472538888454,
0.03322385251522064,
0.022230273112654686,
0.05060437694191933,
0.0036221533082425594,
-0.01768982969224453,
-0.013942266814410686,
0.027495812624692917,
0.05400381609797478,
0.015341753140091896,
0.0014439931837841868,
-0.02337578684091568,
0.016719555482268333,
0.007520213257521391,
-0.04158373922109604,
-0.07168342918157578,
0.03304661437869072,
-0.021072858944535255,
0.02172185480594635,
-0.025727439671754837,
0.028741933405399323,
0.03335406631231308,
-0.01678941212594509,
-0.010465719737112522,
0.009550318121910095,
-0.018523650243878365,
0.06252127140760422,
0.03132092207670212,
0.01883305050432682,
-0.008467252366244793,
0.01222306303679943,
-0.03533118963241577,
-0.029967037960886955,
0.043271489441394806,
0.03827077895402908,
-0.000365626037819311,
-0.031190209090709686,
-0.040814273059368134,
-0.008340633474290371,
-0.008347109891474247,
-0.03149187192320824,
0.0273683313280344,
0.027352552860975266,
0.022722017019987106,
0.06533867120742798,
-0.013141724281013012,
-0.00031915828003548086,
0.038240790367126465,
0.008580219931900501,
0.049593400210142136,
0.011739150620996952,
0.031407248228788376,
0.022459454834461212,
0.0038327856454998255,
0.054504211992025375,
0.028381558135151863,
-0.014925815165042877,
-0.008625275455415249,
0.0384228341281414,
-0.022985052317380905,
0.024837667122483253,
-0.039056941866874695,
-0.016701752319931984,
-0.0016857583541423082,
-0.014980124309659004,
0.015662407502532005,
-0.010614583268761635,
0.02425410971045494,
0.008116144686937332,
0.02868899144232273,
0.031988877803087234,
-0.042643193155527115,
0.012880518101155758,
-0.034347791224718094,
0.02580842562019825,
-0.026627488434314728,
-0.013845235109329224,
-0.003810605965554714,
-0.05182557925581932,
0.007820609956979752,
-0.006084994412958622,
-0.005226774141192436,
0.002609506482258439,
-0.024495230987668037,
0.018947549164295197,
-0.009947546757757664,
-0.029379546642303467,
0.028739063069224358,
0.01600610837340355,
-0.00443012872710824,
-0.022657664492726326,
-0.011146941222250462,
0.025935279205441475,
-0.018801866099238396,
-0.04035563766956329,
-0.023037055507302284,
0.015377791598439217,
0.0025204482953995466,
-0.005509865935891867,
0.024364175274968147,
0.001288083614781499,
-0.048555463552474976,
-0.01798076741397381,
-0.020966418087482452,
0.03334544599056244,
0.04617540165781975,
-0.029365073889493942,
-0.019536681473255157,
-0.0036598299629986286,
0.00531003437936306,
-0.006524663884192705,
-0.024614354595541954,
-0.008328408002853394,
-0.002193919848650694,
0.02897149883210659,
0.009064314886927605,
-0.0028681494295597076,
0.005537746008485556,
0.03143399581313133,
-0.010547427460551262,
0.017084455117583275,
0.014400968328118324,
-0.06874605268239975,
-0.02840876765549183,
0.014362848363816738,
-0.02081216685473919,
0.015619375742971897,
0.013216383755207062,
-0.006830462720245123,
0.03239266574382782,
0.030055128037929535,
0.02143082395195961,
0.02879398688673973,
0.03207538649439812,
0.015574527904391289,
-0.05602578818798065,
-0.01866343431174755,
0.050052959471940994,
0.02080230414867401,
0.008587269112467766,
0.03619452938437462,
0.07218712568283081,
0.057651907205581665,
0.050191476941108704,
0.0488995760679245,
-0.029485279694199562,
-0.015439883805811405,
0.013115267269313335,
-0.005476275458931923,
-0.0021461208816617727,
-0.01787632890045643,
-0.0008899933891370893,
0.03604179993271828,
-0.01270084548741579,
0.013536879792809486,
0.007309786509722471,
0.058752354234457016,
-0.03507605567574501,
0.013196205720305443,
0.02143394574522972,
-0.00009602854697732255,
0.031999941915273666,
-0.04337761551141739,
0.039470940828323364,
-0.007976806722581387,
-0.018334846943616867,
0.012078769505023956,
-0.03282855078577995,
0.02871640957891941,
0.018955739215016365,
-0.0010692720534279943,
-0.02784406766295433,
0.02552790194749832,
0.029903048649430275,
0.06013568863272667,
-0.019955098628997803,
-0.026117708534002304,
-0.003679768182337284,
-0.01110517792403698,
0.049425963312387466,
-0.018115440383553505,
-0.01638205721974373,
0.034398019313812256,
-0.037417225539684296,
-0.00474925059825182,
0.040573980659246445,
-0.021443894132971764,
0.05175325274467468,
0.014526790007948875,
0.0543857179582119,
0.022956304252147675,
-0.020474426448345184,
0.016670657321810722,
0.014603239484131336,
0.02823416329920292,
-0.013633671216666698,
-0.016484657302498817,
-0.04748261719942093,
0.00025230026221834123,
-0.06896490603685379,
0.04838930815458298,
0.05136944353580475,
-0.03355603292584419,
-0.038454677909612656,
-0.003930211998522282,
0.028299693018198013,
-0.017894452437758446,
0.011244521476328373,
-0.012868187390267849,
-0.010117406956851482,
0.010197418741881847,
0.06049811840057373,
-0.021997326985001564,
0.013190994039177895,
-0.03851461783051491,
0.003521088743582368,
-0.028428303077816963,
0.011025045067071915,
0.04588368535041809,
-0.04351267218589783,
0.024537397548556328,
-0.003226654836907983,
-0.07366576790809631,
0.0037938428577035666,
0.04188161343336105,
0.027906453236937523,
0.019750453531742096,
-0.03436947241425514,
-0.015140474773943424,
-0.05493251606822014,
-0.011012607254087925,
0.047651976346969604,
0.07856728881597519,
-0.035367995500564575,
0.016352711245417595,
0.02980720065534115,
0.036750514060258865,
0.03711700066924095,
0.01944231614470482,
0.016815023496747017,
0.05105261504650116,
0.051513709127902985,
0.012030568905174732,
0.027448080480098724,
-0.017313729971647263,
-0.012014923617243767,
-0.010754108428955078,
-0.03532138094305992,
0.04572207108139992,
-0.0491410531103611,
0.0037086326628923416,
0.008883736096322536,
-0.0019476345041766763,
0.024805786088109016,
-0.03928085044026375,
0.04399730637669563,
0.04489106684923172,
0.051435258239507675,
0.03302542865276337,
-0.011184618808329105,
-0.011608087457716465,
-0.00111287587787956,
-0.002283097244799137,
0.020177951082587242,
0.0004203358548693359,
-0.01978972554206848,
0.03723957762122154,
0.017018664628267288,
0.012837144546210766,
-0.02417290024459362,
0.027596473693847656,
-0.007495435886085033,
-0.013974117115139961,
0.0021871861536055803,
0.02996707893908024,
0.006880213972181082,
-0.010832875035703182,
-0.01612672209739685,
0.018790949136018753,
-0.021707240492105484,
-0.045451946556568146,
0.013535553589463234,
-0.00306405546143651,
0.004833126440644264,
-0.013142558746039867,
0.03570393845438957,
0.031919945031404495,
-0.02232328988611698,
-0.026729606091976166,
-0.023948265239596367,
-0.002465088851749897,
0.010503039695322514,
0.016555238515138626,
-0.011461970396339893,
-0.020546525716781616,
0.010683942586183548,
0.0366780124604702,
-0.0031041062902659178,
0.05226866900920868,
-0.001122821238823235,
0.005582055542618036,
-0.004641014616936445,
0.00014209911751095206,
0.0013986151898279786,
-0.0018384017748758197,
0.0069773015566170216,
0.003455796279013157,
-0.027008501812815666,
-0.018459750339388847,
-0.02756061777472496,
-0.048744283616542816,
-0.031684670597314835,
-0.017578987404704094,
0.006557861343026161,
-0.0380595438182354,
0.03328105807304382,
0.044482190161943436,
0.03134539723396301,
-0.05099340155720711,
-0.04330210015177727,
-0.022094324231147766,
-0.04252423718571663,
-0.011662869714200497,
0.033726174384355545,
-0.0031779338605701923,
-0.010064482688903809,
-0.014225800521671772,
-0.0013768805656582117,
0.008083246648311615,
-0.03969849273562431,
-0.017489349469542503,
0.04713986814022064,
0.04529593512415886,
-0.008273610845208168,
-0.005393498111516237,
0.05818549543619156,
0.039918363094329834,
0.0366278737783432,
0.020474711433053017,
0.00021870387718081474,
0.0082277562469244,
-0.024553246796131134,
0.00012101075844839215,
-0.026417125016450882,
0.020520595833659172,
-0.017842721194028854,
-0.028978053480386734,
-0.04445335268974304,
0.004497990943491459,
-0.02846147119998932,
-0.034240905195474625,
-0.036863356828689575,
-0.018744628876447678,
-0.035292044281959534,
-0.029187994077801704,
-0.027429835870862007,
-0.00455307774245739,
0.029252134263515472,
0.007672315463423729,
0.03070354275405407,
-0.005969037767499685,
-0.035960230976343155,
-0.01625949889421463,
-0.006751882843673229,
0.04565228149294853,
0.0512484535574913,
-0.029979074373841286,
-0.0261194109916687,
0.010620370507240295,
-0.013698894530534744,
0.016078539192676544,
-0.04923127591609955,
0.014765327796339989,
0.018951930105686188,
-0.022723978385329247,
-0.019834015518426895,
0.011731643229722977,
-0.012781660072505474,
0.009505977854132652,
0.03342616558074951,
0.0119552593678236,
0.006726511288434267,
0.03950579836964607,
-0.018994947895407677,
-0.03047327883541584,
-0.02570158615708351,
-0.019495761021971703,
0.0006716269999742508,
0.02499883621931076,
-0.019224751740694046,
-0.005617934744805098,
0.03856080770492554,
0.010523571632802486,
0.021271636709570885,
-0.013775793835520744,
-0.04216973856091499,
-0.018472274765372276,
-0.011404769495129585,
-0.00818892102688551,
-0.01427554152905941,
-0.008356110192835331,
0.028240319341421127,
0.009105228818953037,
-0.030757347121834755,
-0.03543175011873245,
-0.010460224002599716,
-0.022513708099722862,
0.014372198842465878,
0.0036911028437316418,
0.019503340125083923,
0.06410673260688782,
0.07449077069759369,
-0.0008376163896173239,
-0.04781053215265274,
0.013807293958961964
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Stable Diffusion XL SDXL is also available for PRO users. The response returned by the endpoint consists of a byte stream representing the generated image. If you use InferenceClient, it will automatically decode to a PIL image for you: Python sdxl = InferenceClient(model="stabilityai/stable-diffusion-xl-base-1.0", token=YOUR_TOKEN) image = sdxl.text_to_image( "Dark gothic city in a misty night, lit by street lamps. A man in a cape is walking away from us", guidance_scale=9, ) For more details on how to control generation, please take a look at this section. | [
0.01891752891242504,
-0.026617318391799927,
0.04296768084168434,
0.020317401736974716,
0.08546759188175201,
0.006947090849280357,
-0.035101909190416336,
0.03065919317305088,
0.014226049184799194,
-0.08109254390001297,
-0.07578398287296295,
-0.044663205742836,
-0.05949768051505089,
-0.000316610443405807,
0.030044596642255783,
-0.03307490050792694,
0.03426162898540497,
0.01785138063132763,
-0.0003202760126441717,
0.038739390671253204,
-0.01582453027367592,
-0.02296442724764347,
-0.10610287636518478,
-0.019726349040865898,
-0.0579436719417572,
-0.07502923160791397,
0.025191335007548332,
0.016494618728756905,
-0.010861001908779144,
-0.06167139112949371,
-0.10793938487768173,
0.0027793124318122864,
-0.02605421654880047,
-0.035655323415994644,
0.0639173611998558,
-0.0023735857103019953,
-0.07582758367061615,
0.0050864554941654205,
-0.01908275857567787,
-0.03605004400014877,
0.005104233045130968,
0.014543677680194378,
-0.01830742135643959,
0.07097969204187393,
0.04082770645618439,
-0.0896870493888855,
-0.1965945065021515,
0.08787696063518524,
-0.06162264198064804,
0.02560626156628132,
-0.039268650114536285,
0.05848592147231102,
-0.03321497514843941,
-0.029640929773449898,
0.016714291647076607,
0.06347151845693588,
-0.0031124677043408155,
-0.05832328274846077,
0.032785847783088684,
0.013821247965097427,
0.029441682621836662,
-0.05137228965759277,
-0.003558283904567361,
0.031246503815054893,
0.019874263554811478,
-0.0017148065380752087,
-0.012806796468794346,
-0.0036541626323014498,
-0.041052207350730896,
-0.06427815556526184,
-0.03326606750488281,
-0.05026313289999962,
-0.02527516707777977,
-0.003464453388005495,
0.02005855366587639,
-0.09524628520011902,
-0.03582633286714554,
0.08440620452165604,
0.004150151275098324,
-0.00454309256747365,
-0.039908915758132935,
0.026606876403093338,
0.09299633651971817,
0.015982938930392265,
0.0013331937370821834,
0.04627098888158798,
0.06174769625067711,
-0.03263998404145241,
0.006923925131559372,
-0.03526453301310539,
0.011588041670620441,
-0.10122835636138916,
0.0009169519762508571,
-0.020052118226885796,
0.026118751615285873,
-0.023504596203565598,
-0.025302167981863022,
0.08566804975271225,
0.0047962176613509655,
-0.003357568522915244,
-0.018795963376760483,
-0.06553821265697479,
0.00828494131565094,
-0.09930344671010971,
-0.08419042825698853,
0.04806237667798996,
-0.01551758497953415,
-0.0534718781709671,
-0.010457389056682587,
-0.012063182890415192,
0.03896079584956169,
0.03915559500455856,
-0.024489009752869606,
0.016724303364753723,
-0.043278563767671585,
0.04246291518211365,
-0.005982634611427784,
0.00784594751894474,
-0.061550289392471313,
0.01062055304646492,
-0.016642451286315918,
0.06423892080783844,
0.030370349064469337,
-0.033011749386787415,
-0.03533584624528885,
0.07137583196163177,
-0.011246729642152786,
0.08253305405378342,
-0.04234495759010315,
0.05826517567038536,
0.00466842669993639,
0.051047760993242264,
0.0739174634218216,
-0.058811645954847336,
0.07620784640312195,
-0.04600531980395317,
-0.07650318741798401,
-0.0920882448554039,
-0.0031487084925174713,
-0.02224697731435299,
-0.011247802525758743,
0.02787628211081028,
-0.002460750285536051,
0.07572072744369507,
0.029465850442647934,
0.01407547201961279,
-0.02658974751830101,
-0.0064609539695084095,
-0.013527952134609222,
0.0044177318923175335,
-0.029072673991322517,
0.03165270388126373,
-0.037855397909879684,
-0.08211375027894974,
0.019590210169553757,
0.03933178260922432,
-0.00697212154045701,
-0.008420422673225403,
-0.07034948468208313,
0.006332762073725462,
0.015794623643159866,
-0.013857209123671055,
-0.06989184021949768,
0.04100402817130089,
0.05348466709256172,
-0.026223259046673775,
0.019293783232569695,
-0.04171820357441902,
0.020585017278790474,
-0.056522902101278305,
0.02240188978612423,
-0.035569507628679276,
0.02826189436018467,
0.05928404629230499,
0.06599471718072891,
0.0012032004306092858,
0.08082332462072372,
0.021148037165403366,
-0.016266487538814545,
-0.06902433931827545,
-0.028525982052087784,
0.01917549967765808,
-0.006917203310877085,
-0.0035404141526669264,
0.023547528311610222,
-0.09047786891460419,
0.049221839755773544,
-0.03544856980443001,
0.054172392934560776,
-0.023578213527798653,
-0.013468504883348942,
-0.016594689339399338,
0.028765255585312843,
-0.023288266733288765,
0.01795724779367447,
-0.08683298528194427,
-0.0546785406768322,
0.030991479754447937,
-0.01696755178272724,
0.03197936713695526,
-0.014553064480423927,
-0.060162898153066635,
0.01731749437749386,
-0.09250279515981674,
-0.0311090350151062,
0.004652643110603094,
0.0473615787923336,
-0.005127820651978254,
0.006276826374232769,
0.0021502075251191854,
-0.03181762620806694,
-0.11289093643426895,
0.07117095589637756,
-0.07931351661682129,
0.0030681448988616467,
-0.02117534726858139,
-0.03456908091902733,
-0.03778007626533508,
0.02039959467947483,
-0.018689163029193878,
0.1433107852935791,
-0.042097777128219604,
0.029732078313827515,
0.012049823068082333,
-0.04307946562767029,
0.054352473467588425,
0.01513342559337616,
-0.020111698657274246,
0.007065907586365938,
-0.10616853088140488,
-0.08819669485092163,
-0.04113810881972313,
-0.013851763680577278,
-0.014067161828279495,
-0.01479910034686327,
-0.014902334660291672,
0.014252979308366776,
0.006079407408833504,
0.0390176996588707,
-0.02391437254846096,
0.1406773030757904,
0.0013271849602460861,
-0.07278258353471756,
-0.0267028845846653,
-0.0032580478582531214,
-0.02380606159567833,
0.054366424679756165,
0.02215118519961834,
-0.06689219921827316,
0.0734393447637558,
-0.038766611367464066,
0.02403772436082363,
-0.07361222058534622,
-0.028389062732458115,
0.0028672630432993174,
0.046703435480594635,
0.008969709277153015,
-0.014467679895460606,
0.008802675642073154,
0.04831543564796448,
-0.013699197210371494,
-0.018125642091035843,
-0.009907584637403488,
-0.01005115732550621,
0.018660560250282288,
0.004187577869743109,
0.012604528106749058,
0.0026453854516148567,
0.004140482284128666,
0.03756248205900192,
0.026185881346464157,
-0.012169528752565384,
-0.05135895311832428,
0.03293643519282341,
0.022254642099142075,
0.007190614473074675,
0.06439082324504852,
0.004193052649497986,
0.0032060188241302967,
0.002859472995623946,
0.06067480891942978,
-0.02652960829436779,
0.05893660709261894,
0.03739261254668236,
0.02576577663421631,
-0.01711028814315796,
0.027673017233610153,
0.011363424360752106,
-0.032812487334012985,
0.06120949611067772,
-0.020051995292305946,
0.032512057572603226,
0.030508151277899742,
0.014350502751767635,
0.038821812719106674,
0.00868149008601904,
0.017682833597064018,
-0.02343306876718998,
-0.01507484819740057,
-0.0069979093968868256,
-0.0007777708233334124,
-0.020424965769052505,
0.027337996289134026,
-0.012376788072288036,
-0.030526604503393173,
0.057693470269441605,
-0.002260848879814148,
-0.02056267112493515,
-0.09569922834634781,
0.0024494121316820383,
0.0010049352422356606,
-0.004390195477753878,
-0.0027372646145522594,
-0.025151588022708893,
0.03533404693007469,
-0.01625427044928074,
-0.017071019858121872,
0.052582431584596634,
-0.026640119031071663,
0.05051307752728462,
0.013354978524148464,
-0.018222464248538017,
0.05359186977148056,
0.0113805141299963,
0.03324377164244652,
-0.014988324604928493,
0.022169535979628563,
0.021165713667869568,
-0.03743010759353638,
0.06238613650202751,
0.029936084523797035,
0.008120760321617126,
0.005983537063002586,
0.04096367210149765,
0.03586268424987793,
-0.00789139699190855,
0.006506627891212702,
-0.008084448985755444,
0.015716133639216423,
-0.04470434784889221,
0.03268430754542351,
0.001469706534408033,
-0.06732384860515594,
0.037003353238105774,
0.006074267905205488,
0.02038584277033806,
0.029008252546191216,
-0.0009081736207008362,
-0.020192012190818787,
0.020005682483315468,
-0.004159081261605024,
-0.03356277570128441,
0.019720494747161865,
0.008339705877006054,
-0.006009075790643692,
0.029729435220360756,
-0.01193347666412592,
-0.008575605228543282,
-0.005141589790582657,
0.012764736078679562,
-0.008617757819592953,
0.0953749343752861,
0.019648458808660507,
0.03646596893668175,
0.003611350432038307,
0.0427304282784462,
0.0452570877969265,
-0.03274625167250633,
-0.048412024974823,
-0.024490289390087128,
0.01181858591735363,
0.01128321886062622,
0.006182210519909859,
0.07073559612035751,
0.03884613513946533,
0.008692031726241112,
-0.003970709163695574,
0.042029667645692825,
0.030065475031733513,
0.02322060614824295,
0.04297707974910736,
0.013977509923279285,
-0.0462733618915081,
-0.00595620134845376,
-0.0037745328154414892,
-0.02089117281138897,
0.045849673449993134,
0.010974911972880363,
-0.031009823083877563,
0.007595985196530819,
-0.012448989786207676,
-0.01639779470860958,
0.005636471323668957,
0.029169896617531776,
0.028786974027752876,
-0.012486585415899754,
0.031662676483392715,
0.015213296748697758,
0.0024405268486589193,
0.0009285210398957133,
-0.009081073105335236,
0.02529842033982277,
0.01675296761095524,
0.015709562227129936,
0.0415818989276886,
0.0032270143274217844,
0.04768873751163483,
0.016824893653392792,
0.014858241192996502,
-0.024262743070721626,
-0.060182124376297,
0.015231432393193245,
-0.013641725294291973,
0.0022045231889933348,
-0.04134341701865196,
-0.013380913063883781,
0.03791547194123268,
-0.012715051881968975,
0.0005308475228957832,
-0.02264212630689144,
-0.002444853773340583,
0.004560209345072508,
0.03575896844267845,
0.03841988742351532,
0.022679435089230537,
-0.028708133846521378,
-0.05061405524611473,
0.012950900010764599,
-0.03710334748029709,
-0.009733596816658974,
0.032830074429512024,
-0.03725237399339676,
-0.03161837160587311,
0.007053956389427185,
-0.00491721136495471,
0.012768270447850227,
-0.00386212021112442,
-0.018894387409090996,
0.0014262909535318613,
-0.039576735347509384,
0.02032044157385826,
-0.003213314339518547,
0.016756253316998482,
-0.011565349996089935,
-0.012467226013541222,
0.007043072022497654,
0.004688473418354988,
-0.043313633650541306,
-0.023003019392490387,
0.01766795665025711,
0.03838189318776131,
-0.009726964868605137,
-0.0035571465268731117,
0.02813819609582424,
-0.01805969886481762,
0.006948067340999842,
0.0004904444213025272,
-0.00020135332306381315,
0.04753557965159416,
0.017243120819330215,
-0.022854099050164223,
-0.016109082847833633,
0.015068821609020233,
-0.008396263234317303,
0.013047676533460617,
0.022654244676232338,
-0.01182373147457838,
0.009702007286250591,
0.015774426981806755,
0.023832842707633972,
0.035193659365177155,
0.030662646517157555,
0.014755813404917717,
0.02162318490445614,
0.015545674599707127,
-0.06131550669670105,
0.0004594883939716965,
0.012816419824957848,
-0.0396711528301239,
0.02560240589082241,
0.014429563656449318,
-0.017007922753691673,
0.0048373243771493435,
0.04285856708884239,
0.03133242204785347,
0.04398242384195328,
-0.00945290457457304,
-0.02203870750963688,
-0.06825155764818192,
-0.008282783441245556,
0.028974825516343117,
-0.014996951445937157,
-0.0020709175150841475,
0.014203827828168869,
0.058068614453077316,
0.015272206626832485,
0.04221604764461517,
0.07936468720436096,
0.006317691411823034,
0.000852528028190136,
-0.04111354798078537,
-0.012651420198380947,
-0.018241658806800842,
-0.03565383702516556,
-0.004016287624835968,
-0.008522696793079376,
0.00003647937410278246,
-0.004040646366775036,
0.024276848882436752,
0.021703088656067848,
-0.015687230974435806,
-0.026506835594773293,
0.004036254249513149,
-0.0036411567125469446,
-0.003543130587786436,
0.02223912999033928,
0.03619333729147911,
-0.023304881528019905,
0.017735324800014496,
0.02116657793521881,
0.005006973631680012,
-0.015737025067210197,
-0.03227178007364273,
-0.003503011306747794,
-0.01841014437377453,
-0.027492385357618332,
-0.024599820375442505,
0.00960870087146759,
0.030812477692961693,
-0.014187285676598549,
0.012142413295805454,
0.016602907329797745,
0.0635724738240242,
0.009420708753168583,
-0.00816434808075428,
0.007039478048682213,
-0.009129272773861885,
0.030694521963596344,
0.059342995285987854,
0.0062399972230196,
0.02060087025165558,
0.04204520210623741,
0.009573610499501228,
-0.001157990307547152,
0.0012188033433631063,
0.06993214786052704,
0.0030009732581675053,
0.004911544267088175,
-0.016429882496595383,
-0.030499249696731567,
-0.02191462367773056,
0.008231265470385551,
0.012198461219668388,
0.03839404135942459,
0.025465020909905434,
0.006620788015425205,
-0.003736604703590274,
0.029226768761873245,
0.04676995798945427,
-0.0045346664264798164,
0.010433674789965153,
-0.03787701204419136,
0.02803896926343441,
0.039790570735931396,
0.053350284695625305,
-0.03198542445898056,
0.021780647337436676,
-0.012100775726139545,
-0.00971158966422081,
-0.05386750027537346,
0.04182574898004532,
0.03650745376944542,
0.0059670498594641685,
0.03419164940714836,
0.034546058624982834,
-0.06020047888159752,
-0.0004822702321689576,
0.03105982393026352,
0.031342171132564545,
0.03248319402337074,
-0.015571411699056625,
-0.011007746681571007,
-0.017761163413524628,
-0.03749636933207512,
-0.016015255823731422,
0.05088311806321144,
-0.047685667872428894,
0.05571569502353668,
-0.01803918182849884,
0.023879913613200188,
0.03463253751397133,
-0.0038493117317557335,
0.012417709454894066,
0.031860753893852234,
0.054182153195142746,
0.0181739404797554,
0.005431569181382656,
0.010518927127122879,
-0.015628041699528694,
-0.03512315824627876,
-0.037166766822338104,
-0.03173141926527023,
-0.021777670830488205,
0.0469927154481411,
0.01866907812654972,
-0.016996322199702263,
0.02319500409066677,
-0.042218927294015884,
0.05609549582004547,
0.08715923130512238,
0.05751599371433258,
-0.009959891438484192,
0.008293195627629757,
0.006271989084780216,
-0.0031762374565005302,
-0.013260878622531891,
0.004219886381179094,
0.024777870625257492,
0.008930845186114311,
0.007060100790113211,
-0.01255099382251501,
0.009311467409133911,
0.04198792204260826,
0.024751776829361916,
0.02765282802283764,
0.019729463383555412,
-0.01568443700671196,
-0.013859469443559647,
0.004925887566059828,
-0.047254253178834915,
-0.013678446412086487,
0.013424786739051342,
-0.05099845305085182,
-0.026370106264948845,
-0.0068082064390182495,
-0.01877327635884285,
0.011133658699691296,
-0.03134069964289665,
0.033895671367645264,
0.0012619331246241927,
-0.021087680011987686,
-0.006618409883230925,
-0.012006578966975212,
0.013356465846300125,
0.043959394097328186,
0.018715767189860344,
-0.02270634099841118,
-0.05290505662560463,
-0.014911280013620853,
0.021258750930428505,
-0.025006499141454697,
0.04026911035180092,
-0.029495330527424812,
0.009130138903856277,
-0.012456720694899559,
0.0077164676040410995,
-0.00009343790588900447,
-0.008806650526821613,
-0.0025385739281773567,
0.042952775955200195,
-0.027117881923913956,
0.028060846030712128,
0.013665217906236649,
-0.05655638128519058,
-0.046317312866449356,
-0.004577677231281996,
0.05149921774864197,
-0.017441188916563988,
0.02821507304906845,
0.05257510393857956,
0.0001088901626644656,
-0.03480317443609238,
-0.05228470638394356,
-0.004516908898949623,
-0.016190817579627037,
-0.010582713410258293,
-0.01983305811882019,
0.003899228759109974,
-0.007706053089350462,
0.011994835920631886,
0.033290520310401917,
0.05550035089254379,
0.01789921149611473,
-0.007321153301745653,
0.01978040486574173,
-0.0010125552071258426,
-0.026771044358611107,
-0.04459446668624878,
0.038715679198503494,
-0.008229320868849754,
0.024612542241811752,
0.03115178272128105,
0.005558922421187162,
-0.019447123631834984,
-0.001283667515963316,
0.0330086424946785,
-0.016938909888267517,
-0.007059098687022924,
-0.05600050464272499,
-0.045792270451784134,
-0.0354275181889534,
0.01568596623837948,
-0.025550683960318565,
-0.019827598705887794,
-0.012885363772511482,
-0.023627884685993195,
-0.03770262375473976,
-0.004775292705744505,
0.01012504007667303,
-0.026698190718889236,
0.04579505696892738,
0.02219012752175331,
0.009518174454569817,
0.023446528241038322,
-0.0515984371304512,
0.007715823594480753,
-0.015905199572443962,
0.030489208176732063,
0.03416964411735535,
0.01740804873406887,
-0.03484594076871872,
-0.007096725516021252,
0.00858056079596281,
0.004396232310682535,
-0.0491698756814003,
0.019409624859690666,
0.0410771444439888,
-0.04660894721746445,
-0.034059375524520874,
0.03236627206206322,
0.04477860406041145,
0.014696287922561169,
0.030900826677680016,
0.03592760115861893,
0.0049638100899755955,
0.019813740625977516,
0.002369862049818039,
-0.04399004951119423,
0.009071520529687405,
-0.015679728239774704,
0.012638064101338387,
0.009888999164104462,
-0.014312648214399815,
0.028373269364237785,
-0.0033330873120576143,
0.005144614726305008,
0.02403848245739937,
-0.024444852024316788,
-0.010772814974188805,
-0.021174194291234016,
0.029070766642689705,
0.027906587347388268,
0.010882279835641384,
0.01232620608061552,
0.0023956289514899254,
-0.0012687214184552431,
0.005204868968576193,
0.005136432591825724,
0.03844957798719406,
-0.0014091803459450603,
0.028958626091480255,
-0.01800776645541191,
0.018990162760019302,
0.08514419198036194,
0.036503974348306656,
-0.034258414059877396,
-0.01589159481227398,
-0.0018130391836166382
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Caching If you run the same generation multiple times, you’ll see that the result returned by the API is the same (even if you are using sampling instead of greedy decoding). This is because recent results are cached. To force a different response each time, we can use an HTTP header to tell the server to run a new generation each time: x-use-cache: 0. If you are using InferenceClient, you can simply append it to the headers client property: Python client = InferenceClient(model="meta-llama/Llama-2-70b-chat-hf", token=YOUR_TOKEN) client.headers["x-use-cache"] = "0" output = client.text_generation("In a surprising turn of events, ", do_sample=True) print(output) | [
0.01391355600208044,
0.026229891926050186,
0.001088858349248767,
-0.03596081584692001,
0.008997253142297268,
-0.0300033800303936,
0.07830202579498291,
0.04065384715795517,
-0.006257693748921156,
-0.0722711831331253,
-0.04986755922436714,
-0.022577719762921333,
-0.03388712927699089,
0.0621388703584671,
-0.04533243924379349,
-0.0641709417104721,
0.06601527333259583,
0.024955226108431816,
-0.024909181520342827,
0.026153473183512688,
0.011923698708415031,
-0.0017273451667279005,
0.02745147794485092,
-0.030472546815872192,
-0.0007222479325719178,
-0.039223410189151764,
-0.03890492022037506,
-0.047898054122924805,
-0.06994300335645676,
-0.0044550043530762196,
-0.08540000766515732,
0.004621141590178013,
0.006247431971132755,
0.025232871994376183,
-0.004349320661276579,
-0.024866415187716484,
-0.11900686472654343,
0.03863561153411865,
-0.059068214148283005,
0.029461756348609924,
-0.044116489589214325,
-0.053946658968925476,
-0.07604850828647614,
0.011833570897579193,
-0.004135590046644211,
-0.010893706232309341,
-0.10927144438028336,
-0.020281273871660233,
-0.08385585993528366,
-0.050735969096422195,
-0.1349271535873413,
0.023649007081985474,
-0.033063486218452454,
-0.039593491703271866,
0.015420631505548954,
0.044604118913412094,
-0.046346940100193024,
-0.06808828562498093,
0.059188686311244965,
0.04624537378549576,
0.03826176002621651,
-0.03266727924346924,
0.03818133845925331,
0.0746227577328682,
0.009620263241231441,
0.008302050642669201,
-0.0033167251385748386,
0.02099904976785183,
0.014819004572927952,
-0.016921894624829292,
-0.028630826622247696,
-0.03123549371957779,
-0.019576366990804672,
-0.0036311314906924963,
0.07008731365203857,
0.014026801101863384,
-0.05153174325823784,
0.06789940595626831,
0.039272964000701904,
0.08017676323652267,
-0.027086900547146797,
0.008757016621530056,
0.08154711872339249,
-0.012435858137905598,
0.0348125696182251,
0.013280979357659817,
0.013482616282999516,
-0.030209045857191086,
-0.004701530560851097,
-0.03720720112323761,
-0.053268592804670334,
-0.1368359476327896,
0.04786856472492218,
0.009106708690524101,
0.0013634969945997,
0.030496826395392418,
0.022226670756936073,
0.06759760528802872,
0.022944321855902672,
-0.0643160417675972,
-0.02752053365111351,
-0.06026297062635422,
-0.06285203248262405,
-0.07339645177125931,
-0.05152461677789688,
0.010422739200294018,
-0.01887553371489048,
-0.05671165511012077,
-0.051969368010759354,
0.028161853551864624,
-0.007795250043272972,
0.0361352264881134,
0.01739630661904812,
0.07468968629837036,
0.00961145106703043,
-0.02523582987487316,
-0.004964809399098158,
0.020972812548279762,
-0.053452085703611374,
-0.02611626125872135,
-0.010076239705085754,
0.05034265294671059,
0.06856545805931091,
-0.04909204691648483,
-0.007555367890745401,
0.04220392927527428,
0.06317301839590073,
0.0808129608631134,
0.037174493074417114,
0.008108112029731274,
0.042001672089099884,
0.036478571593761444,
0.012153664603829384,
0.001064640935510397,
0.0886949896812439,
0.03780616074800491,
-0.025396957993507385,
-0.08415694534778595,
-0.025641273707151413,
-0.02522759512066841,
-0.014581377618014812,
-0.04247624799609184,
-0.06055907532572746,
0.032243333756923676,
-0.0011801428627222776,
0.07664216309785843,
-0.0692605972290039,
-0.039705000817775726,
0.03475797548890114,
0.003945550881326199,
0.0032959901727735996,
0.09169204533100128,
-0.032118022441864014,
-0.07386396080255508,
0.01919412799179554,
0.013890158385038376,
-0.07996334880590439,
0.037973154336214066,
-0.12116130441427231,
0.008665376342833042,
0.04170432314276695,
0.023102177307009697,
0.003987143747508526,
0.015192068181931973,
0.05890020355582237,
0.04050341993570328,
-0.05341191217303276,
0.044063687324523926,
0.009067456237971783,
0.0011232859687879682,
-0.07106141746044159,
0.015220542438328266,
0.043614741414785385,
-0.043203581124544144,
0.038965705782175064,
0.025887377560138702,
-0.0358721949160099,
0.005576366558670998,
-0.01821271702647209,
-0.012501697987318039,
-0.025029312819242477,
0.03208805248141289,
0.013213453814387321,
-0.0052593243308365345,
0.01836264878511429,
-0.07781688123941422,
0.038902558386325836,
-0.026872674003243446,
-0.012187845073640347,
0.026947790756821632,
0.011282345280051231,
0.00837506540119648,
0.0855829045176506,
-0.0255731288343668,
-0.0038257793057709932,
-0.07857358455657959,
-0.006721694488078356,
0.03962578997015953,
0.11502309143543243,
0.0033711532596498728,
-0.04442969709634781,
0.028323698788881302,
0.02805325575172901,
-0.04608037322759628,
-0.02407635748386383,
-0.002754457062110305,
-0.0016307540936395526,
-0.07034482806921005,
0.039984311908483505,
0.023594185709953308,
-0.008679154329001904,
-0.050544288009405136,
0.011359894648194313,
-0.07508912682533264,
0.006107537541538477,
-0.03911978378891945,
-0.0024762607645243406,
0.02345220185816288,
-0.005354908294975758,
0.03698448836803436,
0.129861980676651,
-0.04472053796052933,
0.06729015707969666,
-0.0013506414834409952,
0.029997434467077255,
0.053355149924755096,
-0.02305896021425724,
0.01687181368470192,
0.03367043659090996,
-0.11062069982290268,
0.02805967815220356,
-0.06829486042261124,
-0.04626130685210228,
0.04094143584370613,
-0.022500084713101387,
-0.04229078069329262,
0.028897497802972794,
0.010369847528636456,
-0.024560507386922836,
-0.03855215013027191,
0.08449064940214157,
0.056441936641931534,
-0.10164107382297516,
0.03198547661304474,
-0.016109738498926163,
-0.03602196276187897,
0.06345620006322861,
-0.01595197431743145,
-0.10443660616874695,
-0.04925541207194328,
-0.057136937975883484,
0.021660270169377327,
-0.038990795612335205,
-0.004776444751769304,
0.005769658368080854,
0.047504302114248276,
-0.04727538302540779,
0.012228958308696747,
-0.0019738408736884594,
0.011123928241431713,
-0.011240904219448566,
-0.007156359031796455,
0.02991793304681778,
0.002762703923508525,
0.012628511525690556,
-0.05117649957537651,
0.026574796065688133,
-0.014455973170697689,
0.002449492923915386,
-0.0066847181878983974,
0.03809180110692978,
-0.021742934361100197,
-0.032679155468940735,
0.03730326518416405,
0.020075177773833275,
0.031378623098134995,
0.023553041741251945,
-0.030991869047284126,
-0.003294809954240918,
-0.00911515299230814,
-0.07919882237911224,
-0.018001984804868698,
0.029073581099510193,
0.04045857861638069,
-0.020124511793255806,
-0.018252287060022354,
0.008299602195620537,
-0.01288279052823782,
-0.025002185255289078,
0.01032925583422184,
-0.004760298877954483,
0.0016725711757317185,
0.03188125789165497,
0.010404400527477264,
0.02450013905763626,
0.012412864714860916,
-0.007263961713761091,
-0.000014888007171975914,
0.008618254214525223,
0.008124706335365772,
-0.05641038715839386,
-0.032695669680833817,
-0.039317622780799866,
0.0042477198876440525,
-0.007171232253313065,
0.05277242138981819,
0.0062272436916828156,
-0.03816846013069153,
-0.0833277478814125,
-0.026888391003012657,
0.008176278322935104,
-0.00821308046579361,
-0.013308390974998474,
0.0015771206235513091,
0.03460952639579773,
-0.0015555081190541387,
0.00512410793453455,
0.08594357967376709,
-0.024610482156276703,
0.031391993165016174,
-0.01909603923559189,
-0.013704637065529823,
0.011644437909126282,
-0.036813050508499146,
-0.053049761801958084,
0.026790589094161987,
-0.006563254632055759,
-0.005538819823414087,
0.018530745059251785,
0.011736269108951092,
0.013228959403932095,
-0.017396705225110054,
-0.049411341547966,
0.021147025749087334,
0.03720322251319885,
0.014761432074010372,
-0.006786946207284927,
-0.04660767689347267,
-0.007953342981636524,
-0.03933846578001976,
0.04369166120886803,
-0.010094093158841133,
-0.04771421104669571,
0.012093666009604931,
-0.01086754072457552,
-0.03840151056647301,
0.011100595816969872,
-0.0077514201402664185,
0.018739303573966026,
0.01274763885885477,
-0.009749229997396469,
-0.01237903069704771,
0.011987118050456047,
0.05108164995908737,
-0.05018613487482071,
0.03587218374013901,
0.03278929740190506,
-0.017088143154978752,
-0.02551279217004776,
-0.03542862460017204,
-0.033469442278146744,
0.04660702869296074,
0.02247067168354988,
0.04769488796591759,
0.026536764577031136,
0.05670364946126938,
0.04728131368756294,
0.005648565944284201,
-0.03203841671347618,
0.03021129220724106,
0.02645876258611679,
-0.02865942381322384,
-0.005869843531399965,
0.04546331986784935,
0.005780608858913183,
0.013650941662490368,
-0.021029893308877945,
0.03453276306390762,
0.02906501106917858,
0.005741624161601067,
0.021891368553042412,
0.010214976035058498,
-0.016661452129483223,
0.0029598597902804613,
-0.009112699888646603,
-0.019791029393672943,
0.0766323134303093,
0.004738780204206705,
0.04063760116696358,
-0.019854985177516937,
-0.07678932696580887,
-0.004720801487565041,
0.003358246525749564,
-0.024399956688284874,
-0.0024349212180823088,
-0.006675734184682369,
0.005464380141347647,
-0.010635950602591038,
0.04588238149881363,
-0.037801213562488556,
0.03596145287156105,
-0.0059881326742470264,
-0.06321118026971817,
0.023790108039975166,
0.047085072845220566,
0.025716280564665794,
0.06275849044322968,
0.01042158529162407,
-0.0010379847371950746,
-0.0354880690574646,
-0.012958871200680733,
0.011096268892288208,
-0.03396756574511528,
0.00952878873795271,
-0.02924126386642456,
0.003627584781497717,
0.005063398275524378,
-0.005882395431399345,
-0.0016343888128176332,
0.014091729186475277,
0.0034129114355891943,
0.0011427290737628937,
0.04853726550936699,
0.06501220166683197,
0.033390458673238754,
-0.006940605118870735,
0.008739725686609745,
-0.03311759978532791,
-0.030504489317536354,
0.018071971833705902,
0.05086958035826683,
-0.02391951158642769,
-0.0019489789847284555,
-0.027876563370227814,
-0.00383199704810977,
0.00911992508918047,
-0.001465876353904605,
-0.020512929186224937,
-0.023088878020644188,
-0.026095349341630936,
0.008672058582305908,
-0.007034932728856802,
0.024814900010824203,
0.02650749497115612,
-0.010856395587325096,
-0.030163006857037544,
0.03303312137722969,
-0.025886526331305504,
-0.00966416485607624,
0.009654508903622627,
0.04558601602911949,
-0.017605945467948914,
0.0005589391221292317,
0.025156892836093903,
0.002109359484165907,
0.0015150991966947913,
-0.0022364056203514338,
-0.032160330563783646,
0.05278122425079346,
-0.019693130627274513,
-0.04542076215147972,
-0.02790585160255432,
0.04277532175183296,
0.02157304435968399,
-0.04162564128637314,
-0.010983024723827839,
0.02205013483762741,
0.017706723883748055,
-0.02694002352654934,
-0.014048893935978413,
-0.0011221636086702347,
0.00561413774266839,
-0.011045843362808228,
0.02078920416533947,
-0.0017662858590483665,
-0.015543007291853428,
0.022343143820762634,
-0.02185235545039177,
-0.022271348163485527,
0.009584021754562855,
0.028407646343111992,
-0.0024567674845457077,
-0.022037198767066002,
0.050770264118909836,
0.029576079919934273,
-0.001746825990267098,
0.03314460813999176,
0.010969183407723904,
-0.019031265750527382,
-0.020902367308735847,
0.07598809897899628,
0.005634143482893705,
0.06134837865829468,
-0.006205460522323847,
0.05200331285595894,
0.03830103576183319,
0.062159862369298935,
0.031789351254701614,
-0.03634636849164963,
-0.008175849914550781,
0.03642428666353226,
-0.012099696323275566,
0.009573317132890224,
-0.03379683569073677,
0.0064844777807593346,
0.020615676417946815,
-0.008954863995313644,
-0.017480241134762764,
0.03177372366189957,
0.014803905040025711,
0.009289037436246872,
-0.054084889590740204,
0.004501580260694027,
-0.006106568966060877,
0.009546327404677868,
-0.005093498155474663,
0.035056222230196,
-0.028511080890893936,
0.028909385204315186,
-0.04366191849112511,
-0.03608023002743721,
0.027592884376645088,
0.00951874814927578,
0.004905227571725845,
-0.03186943009495735,
-0.016443436965346336,
-0.0044395579025149345,
0.05448419973254204,
-0.026816103607416153,
0.023363642394542694,
-0.06766441464424133,
-0.01640504226088524,
0.024880843237042427,
0.022405924275517464,
-0.02562081813812256,
0.008381690829992294,
0.026671942323446274,
0.014349501579999924,
0.059445105493068695,
-0.024182375520467758,
-0.025639474391937256,
0.03572671487927437,
-0.0019208061276003718,
0.04776765778660774,
-0.023334991186857224,
0.023320484906435013,
-0.02987810969352722,
-0.013548680581152439,
-0.01894688606262207,
-0.054330144077539444,
-0.02302313782274723,
0.010188259184360504,
0.023249851539731026,
0.04796086624264717,
0.011850538663566113,
-0.019912339746952057,
-0.035371072590351105,
0.03588748723268509,
-0.00707663781940937,
-0.03648517280817032,
-0.051175620406866074,
0.038653019815683365,
-0.028302649036049843,
-0.003343304619193077,
0.04484761878848076,
-0.05932311713695526,
0.010404888540506363,
-0.013286595232784748,
-0.006307348608970642,
-0.025356628000736237,
-0.008504137396812439,
0.03878233581781387,
-0.018593644723296165,
0.04357036203145981,
0.006835792679339647,
-0.016593055799603462,
-0.008391137234866619,
-0.008828847669064999,
0.045504067093133926,
-0.014440699480473995,
0.0010841930052265525,
0.02532660961151123,
-0.017133694142103195,
-0.005174069665372372,
-0.026082325726747513,
0.045620109885931015,
0.035503536462783813,
0.05155510455369949,
0.02283243089914322,
0.046755559742450714,
0.004570188466459513,
0.04912841320037842,
0.007328519597649574,
-0.000678198179230094,
0.022070571780204773,
0.057386983186006546,
0.00835444126278162,
-0.011183432303369045,
-0.030193358659744263,
0.04953163117170334,
-0.02767079696059227,
0.0003592641733121127,
0.036328449845314026,
0.014546124264597893,
0.04575071483850479,
0.012016468681395054,
0.05327066406607628,
-0.06865642964839935,
0.05538371577858925,
0.01830771565437317,
0.0008799415663816035,
0.06951931118965149,
0.016628878191113472,
0.007151434663683176,
0.037605028599500656,
0.021366719156503677,
0.05573029816150665,
0.009050286374986172,
-0.021288232877850533,
0.0315798819065094,
0.0021029880736023188,
-0.008020183071494102,
0.029158810153603554,
-0.014402860775589943,
-0.0027760034427046776,
-0.01801289990544319,
-0.004521921742707491,
-0.026386108249425888,
0.02506561204791069,
0.017319414764642715,
0.01247691735625267,
-0.044539012014865875,
-0.00885719247162342,
0.0035164242144674063,
0.0011377426562830806,
0.0031831334345042706,
0.017228074371814728,
-0.001316336914896965,
-0.022100798785686493,
0.02671659365296364,
0.045424479991197586,
-0.054137568920850754,
0.02451840415596962,
0.023882219567894936,
0.033084798604249954,
0.0404287725687027,
-0.08218435943126678,
-0.02916032075881958,
0.019036049023270607,
-0.0011080402182415128,
0.00968941766768694,
0.0370788499712944,
0.009398465976119041,
-0.016055548563599586,
0.026838745921850204,
0.001387124415487051,
0.007108580321073532,
0.012488003820180893,
-0.01488767471164465,
0.028638016432523727,
-0.02442290261387825,
-0.03200478106737137,
-0.0006846408941783011,
0.00037497072480618954,
0.019856104627251625,
0.002543690614402294,
-0.029887184500694275,
0.010676371864974499,
0.06300446391105652,
0.0033419218380004168,
0.0172843299806118,
-0.0018921825103461742,
-0.040119633078575134,
0.005063442047685385,
-0.025983493775129318,
-0.0233412217348814,
-0.00034905457869172096,
-0.014703052118420601,
-0.005310020875185728,
-0.023455942049622536,
0.0010134660406038165,
-0.0031954674050211906,
0.006063058972358704,
0.027953943237662315,
0.03874433785676956,
-0.023394279181957245,
-0.022800475358963013,
-0.0013453596038743854,
0.046120479702949524,
-0.016938326880335808,
0.044966090470552444,
0.002739720745012164,
-0.028230251744389534,
-0.005994908511638641,
-0.025981051847338676,
0.03320995345711708,
-0.07044652104377747,
0.015421316958963871,
-0.020186958834528923,
0.008785844780504704,
-0.013874378986656666,
-0.017176451161503792,
-0.04122908040881157,
0.011443164199590683,
-0.024530261754989624,
-0.008656884543597698,
-0.009837060235440731,
-0.008448080159723759,
-0.027313442900776863,
0.019216490909457207,
0.07831065356731415,
0.03687184303998947,
0.03712746873497963,
0.03988514095544815,
0.022477082908153534,
-0.025473251938819885,
-0.0006872835801914334,
0.02809092216193676,
0.039213284850120544,
0.007936101406812668,
0.03188680484890938,
-0.008745549246668816,
0.016430262476205826,
-0.021060295403003693,
-0.01351953111588955,
0.050445396453142166,
-0.002188890241086483,
0.02246430143713951,
-0.03492933511734009,
0.03179866448044777,
0.061043377965688705,
0.003454028395935893,
0.029114235192537308,
-0.007283980958163738,
0.01821189373731613,
0.00523143308237195,
0.028252296149730682,
-0.06789319217205048,
-0.028413811698555946,
-0.01965440809726715,
0.006836229469627142,
-0.0055591631680727005,
-0.006366525311022997,
0.019120950251817703,
-0.002380437683314085,
0.019812315702438354,
0.05132250860333443,
0.002929317532107234,
-0.016347534954547882,
-0.004824402742087841,
-0.0519428625702858,
0.014451085589826107,
-0.010388870723545551,
-0.021914444863796234,
0.01726626604795456,
-0.013514995574951172,
-0.05088624358177185,
0.04385095089673996,
0.03024684265255928,
0.021685661748051643,
-0.013468062505126,
0.00218454678542912,
-0.000689785520080477,
0.046428583562374115,
0.077317975461483,
0.005783459171652794,
-0.0034930799156427383,
0.027360009029507637
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Controlling Image Generation If you want finer-grained control over images generated with the SDXL endpoint, you can use the following parameters: - negative_prompt: A text describing content that you want the model to steer away from. - guidance_scale: How closely you want the model to match the prompt. Lower numbers are less accurate, very high numbers might decrease image quality or generate artifacts. - width and height: The desired image dimensions. SDXL works best for sizes between 768 and 1024. - num_inference_steps: The number of denoising steps to run. Larger numbers may produce better quality but will be slower. Typical values are between 20 and 50 steps. For additional details on text-to-image generation, we recommend you check the diffusers library documentation. | [
-0.01163057517260313,
0.02518228441476822,
-0.007884792052209377,
0.011021649464964867,
0.08718621730804443,
-0.0005080231931060553,
-0.04095127806067467,
-0.01921156980097294,
0.05116431042551994,
-0.10864138603210449,
-0.051598016172647476,
-0.051698051393032074,
-0.017754627391695976,
0.014683714136481285,
0.01854998618364334,
-0.017054365947842598,
0.014125339686870575,
0.08767373859882355,
-0.011292883194983006,
0.019511070102453232,
0.03549525514245033,
-0.06071619316935539,
-0.00352504663169384,
-0.011127326637506485,
-0.0031116146128624678,
-0.03856143355369568,
0.0099337762221694,
-0.011176679283380508,
-0.008360671810805798,
-0.036508042365312576,
-0.04567636549472809,
-0.056812990456819534,
-0.0667952224612236,
-0.024975283071398735,
0.040977444499731064,
-0.035655125975608826,
-0.05433974787592888,
-0.007711632177233696,
0.00792846828699112,
-0.004085144493728876,
-0.036208562552928925,
0.01428216602653265,
-0.03337780758738518,
0.0031302631832659245,
0.07056758552789688,
-0.06640633940696716,
-0.09206196665763855,
0.037057578563690186,
-0.11373987048864365,
0.06284875422716141,
-0.053551193326711655,
0.06203613430261612,
0.025771426036953926,
-0.06917458772659302,
0.05139181762933731,
0.01161887776106596,
0.011811107397079468,
-0.017403030768036842,
0.05438656359910965,
0.03593316301703453,
0.036416348069906235,
-0.03145093098282814,
-0.010960780084133148,
0.06811732053756714,
0.005397564731538296,
-0.03373505175113678,
0.02242669090628624,
0.006613174453377724,
-0.007604982703924179,
-0.03767567127943039,
-0.014932124875485897,
0.008603699505329132,
-0.017195936292409897,
-0.021712547168135643,
0.00046865292824804783,
-0.032734792679548264,
0.007452916819602251,
0.06939031183719635,
-0.025512415915727615,
-0.006605267524719238,
-0.03782891109585762,
0.04172372445464134,
0.0861412063241005,
-0.03889993950724602,
-0.016281036660075188,
-0.006992741487920284,
0.058014165610075,
0.011194087564945221,
-0.0013845713110640645,
-0.039654992520809174,
0.011854794807732105,
-0.08598482608795166,
0.01424920093268156,
-0.021345121785998344,
-0.013930396176874638,
0.013881990686058998,
-0.026472333818674088,
0.049790434539318085,
0.019989503547549248,
0.022717442363500595,
-0.014546249993145466,
-0.029392626136541367,
0.04204065725207329,
-0.06076483801007271,
-0.11702100932598114,
0.022003743797540665,
-0.027895845472812653,
-0.036489710211753845,
-0.041572339832782745,
0.01855744607746601,
0.001416194485500455,
0.08296750485897064,
-0.00007450640259776264,
0.05330289155244827,
-0.056201424449682236,
-0.020910153165459633,
-0.03532356768846512,
0.008201658725738525,
-0.02692554146051407,
-0.012330071069300175,
-0.0119637381285429,
0.0787009745836258,
0.06773598492145538,
-0.0812859982252121,
-0.09042786061763763,
0.06912581622600555,
0.034307561814785004,
0.05830136314034462,
-0.06579625606536865,
0.01010519452393055,
-0.05465786159038544,
-0.00829552486538887,
0.05755291134119034,
-0.06953557580709457,
0.0960770696401596,
-0.10762076824903488,
-0.023161891847848892,
-0.0854678526520729,
0.048529352992773056,
0.018833931535482407,
0.009338750503957272,
0.008108940906822681,
0.02277539111673832,
-0.0013034044532105327,
0.03182252496480942,
-0.02267388440668583,
0.02609078213572502,
-0.013523072004318237,
-0.0823391005396843,
0.0738816037774086,
-0.03154810145497322,
0.06434738636016846,
-0.07633956521749496,
-0.12601310014724731,
-0.014156049117445946,
0.043785300105810165,
-0.0027399715036153793,
-0.020451834425330162,
-0.060954365879297256,
0.019081588834524155,
0.02248319983482361,
-0.021441513672471046,
-0.048114750534296036,
-0.010760585777461529,
0.06617036461830139,
-0.009478982537984848,
-0.0048372624441981316,
0.051016632467508316,
0.03635932505130768,
-0.0024058560375124216,
-0.007842929102480412,
-0.011564935557544231,
0.03428363800048828,
0.027902763336896896,
0.08312265574932098,
-0.016947822645306587,
0.07471713423728943,
-0.00535000953823328,
-0.047484397888183594,
-0.01641092821955681,
-0.003125070594251156,
0.0587618388235569,
-0.04949645325541496,
0.009927266277372837,
0.08006475120782852,
-0.13187602162361145,
0.0823173001408577,
-0.05454455316066742,
-0.06529100239276886,
-0.015073771588504314,
-0.04983827844262123,
0.02791520394384861,
0.086187444627285,
0.02218700386583805,
-0.07618863880634308,
-0.057653218507766724,
-0.03080124780535698,
0.06406986713409424,
0.03516148775815964,
0.00467944610863924,
0.03417178988456726,
0.03545647859573364,
0.054717838764190674,
-0.013806779868900776,
0.016041280701756477,
0.032815996557474136,
0.05013153329491615,
0.014684721827507019,
-0.01700793020427227,
0.08601932227611542,
-0.003882508957758546,
-0.1198505088686943,
0.02334647625684738,
-0.028281059116125107,
0.03888280689716339,
-0.047202013432979584,
-0.012260724790394306,
-0.0697161927819252,
0.02903268113732338,
-0.004946719389408827,
0.0716027244925499,
0.012158920988440514,
-0.060712531208992004,
0.05375903099775314,
-0.005608915351331234,
0.031229713931679726,
0.05721350014209747,
0.07136619836091995,
-0.020141437649726868,
-0.08052871376276016,
-0.0345015823841095,
-0.05673619732260704,
0.018359258770942688,
-0.0011000127997249365,
-0.06428516656160355,
-0.017549075186252594,
0.013812883757054806,
0.01683490164577961,
0.06629353016614914,
-0.03067072480916977,
0.017080586403608322,
0.02098865434527397,
-0.05395645648241043,
-0.0038389796391129494,
0.004727395251393318,
-0.011114648543298244,
0.03984137997031212,
-0.02309037744998932,
-0.07262224704027176,
0.059336017817258835,
-0.0885184109210968,
0.049542397260665894,
0.0014040450332686305,
-0.05088062211871147,
0.02061028592288494,
0.043174177408218384,
-0.01376817561686039,
-0.003227419452741742,
-0.019814198836684227,
0.02535061724483967,
-0.004999830387532711,
-0.02857186645269394,
-0.009486527182161808,
-0.02086561918258667,
0.04231829568743706,
0.0030446129385381937,
0.03034379333257675,
-0.022218985483050346,
-0.043699245899915695,
0.06940162181854248,
0.0321260504424572,
0.010220644995570183,
-0.020921146497130394,
0.027595311403274536,
-0.02788228541612625,
-0.0034834383986890316,
0.08269801735877991,
0.027167705819010735,
0.00007109189027687535,
-0.007516214158385992,
0.01663661003112793,
0.04659541696310043,
0.06390104442834854,
0.059689074754714966,
0.0058398135006427765,
0.009263487532734871,
0.020713409408926964,
-0.0021543456241488457,
-0.034511614590883255,
-0.012227912433445454,
-0.005202778615057468,
0.03637078031897545,
0.002034079749137163,
0.00803514663130045,
0.016390260308980942,
0.017769034951925278,
-0.026632606983184814,
-0.006646322086453438,
-0.013782250694930553,
-0.010219903662800789,
-0.03407043218612671,
-0.028036508709192276,
0.013480788096785545,
-0.024054614827036858,
-0.04755166918039322,
0.02646275795996189,
-0.041449595242738724,
-0.0021864771842956543,
-0.07809736579656601,
-0.0005485601141117513,
-0.004163047298789024,
-0.01217273622751236,
-0.05345987156033516,
-0.027596676722168922,
0.028219154104590416,
-0.055696919560432434,
0.041956957429647446,
0.07462970167398453,
-0.01421019621193409,
0.03819841146469116,
0.031652648001909256,
0.0017669892404228449,
0.056809380650520325,
-0.009319496341049671,
0.011109335348010063,
-0.01587957702577114,
0.0018791469046846032,
0.00021561971516348422,
0.0017548124305903912,
0.020397551357746124,
0.04127158597111702,
0.03198422119021416,
0.0465407520532608,
-0.005831521470099688,
0.010065757669508457,
-0.00720701739192009,
-0.016528580337762833,
-0.023733312264084816,
-0.024402540177106857,
-0.030896654352545738,
-0.02955678664147854,
0.04348793625831604,
-0.060131967067718506,
0.029901230707764626,
0.007967187091708183,
0.018393760547041893,
0.03508980944752693,
0.018076246604323387,
0.01986476592719555,
0.040100276470184326,
0.029381224885582924,
0.04850998520851135,
0.017423534765839577,
-0.010489576496183872,
0.006895116530358791,
-0.0028646551072597504,
-0.007806461304426193,
0.013974162749946117,
-0.022240551188588142,
0.016854045912623405,
-0.0017271190881729126,
0.058928631246089935,
-0.00009818399848882109,
0.040929462760686874,
0.003274892922490835,
0.03534450754523277,
0.015220523811876774,
-0.04839751869440079,
-0.040268439799547195,
-0.011529874987900257,
-0.0027775706257671118,
0.03149298578500748,
0.021711958572268486,
0.039854519069194794,
0.013603459112346172,
-0.005896403919905424,
-0.019369356334209442,
0.02828526310622692,
-0.01789642497897148,
0.01770046353340149,
0.034639183431863785,
-0.0008932685595937073,
-0.03824641928076744,
-0.0012387357419356704,
-0.03211038559675217,
-0.004725357051938772,
0.018936950713396072,
0.0055335452780127525,
0.005219870246946812,
-0.006172249559313059,
-0.021886121481657028,
-0.004613164346665144,
0.011348660103976727,
-0.01895448938012123,
0.008970094844698906,
-0.04124113917350769,
0.018149487674236298,
-0.012580899521708488,
-0.004218213260173798,
-0.011106387712061405,
-0.019754769280552864,
-0.033843304961919785,
0.013893862254917622,
-0.03686264157295227,
0.02493167482316494,
-0.004645859356969595,
0.014762514270842075,
0.009421421214938164,
-0.004520643036812544,
-0.008802500553429127,
-0.021235253661870956,
0.023326095193624496,
0.004824106115847826,
0.003653367282822728,
-0.04579541087150574,
0.021042129024863243,
0.008922988548874855,
0.024190612137317657,
-0.026865897700190544,
-0.026123035699129105,
0.040252454578876495,
0.004351502750068903,
-0.007417784538120031,
0.0794072076678276,
0.026454107835888863,
0.004079581703990698,
-0.030339570716023445,
-0.032258614897727966,
-0.06270158290863037,
-0.01723114587366581,
0.005862945690751076,
-0.02499564178287983,
0.030826417729258537,
0.04142120108008385,
-0.005122460424900055,
0.016721615567803383,
0.002415781607851386,
-0.06216028705239296,
-0.007585629820823669,
0.009335925802588463,
0.04737621173262596,
-0.011844594031572342,
-0.021975601091980934,
-0.005997263826429844,
-0.0597931370139122,
0.0036266250535845757,
0.0021568150259554386,
-0.027173789218068123,
0.042900312691926956,
0.031043250113725662,
0.03172354772686958,
-0.005676903761923313,
0.01281783264130354,
0.0018947254866361618,
0.012038065120577812,
-0.0024527779314666986,
0.01265081949532032,
0.016161764040589333,
0.025824563577771187,
0.009159914217889309,
-0.050090234726667404,
-0.052770696580410004,
-0.007158377673476934,
-0.023450162261724472,
0.0010721312137320638,
0.00181113975122571,
0.0062829661183059216,
0.04139477014541626,
0.02123207598924637,
0.019734106957912445,
-0.003700482426211238,
0.06239315867424011,
0.014887071214616299,
0.06112859025597572,
0.009714014828205109,
-0.017596641555428505,
-0.014275328256189823,
-0.010929438285529613,
-0.002023762557655573,
-0.013535596430301666,
0.016633667051792145,
-0.047984860837459564,
0.028304200619459152,
-0.010142863728106022,
0.03001018427312374,
0.006229557562619448,
-0.00515100359916687,
-0.02937561459839344,
-0.06595595926046371,
-0.010708327405154705,
0.058736588805913925,
-0.030727799981832504,
0.022846203297376633,
0.028129447251558304,
0.03347666189074516,
0.01776784099638462,
0.03157716616988182,
-0.0030428036116063595,
-0.0020824805833399296,
-0.005500332918018103,
-0.009901560842990875,
0.011159666813910007,
0.024311523884534836,
-0.005477630067616701,
0.0011978287948295474,
0.040100518614053726,
-0.021126246079802513,
0.013371143490076065,
0.02275579236447811,
0.027166513726115227,
0.007392391096800566,
-0.023199880495667458,
-0.021608861163258553,
0.007353170309215784,
0.007482376880943775,
0.025382202118635178,
0.006745110731571913,
-0.03494078293442726,
0.0033211801201105118,
0.00396706024184823,
-0.026257013902068138,
-0.015509129501879215,
0.0012480673613026738,
-0.03268345445394516,
-0.020954856649041176,
0.0012904208851978183,
0.0015543511835858226,
0.0022465286310762167,
0.004479669034481049,
-0.012633522041141987,
-0.025392519310116768,
0.011168860830366611,
0.006575583014637232,
-0.0360506996512413,
-0.005632762331515551,
-0.011282880790531635,
-0.011102168820798397,
-0.0035009989514946938,
0.005278294440358877,
0.043097663670778275,
0.013518968597054482,
0.04240626469254494,
0.0031282822601497173,
0.005695625673979521,
-0.052925799041986465,
0.01848132722079754,
0.05187533050775528,
0.04436815530061722,
-0.033044904470443726,
0.010654295794665813,
-0.028169997036457062,
0.03787854313850403,
-0.007388207595795393,
0.04900404065847397,
-0.020436398684978485,
-0.06407686322927475,
-0.0119710648432374,
0.011084447614848614,
0.05751785263419151,
-0.010189215652644634,
-0.0259841475635767,
-0.00046575505984947085,
0.027076110243797302,
0.0666162520647049,
0.056224070489406586,
-0.010892023332417011,
0.02540827915072441,
-0.05250146612524986,
0.001734196557663381,
-0.051053550094366074,
0.04665437713265419,
-0.00986443366855383,
-0.008675605989992619,
0.020706504583358765,
0.028459029272198677,
-0.03482232242822647,
0.013944382779300213,
0.04652745649218559,
0.04531293734908104,
-0.015217103064060211,
0.003802203806117177,
-0.003608523868024349,
-0.05359303951263428,
-0.005391315557062626,
-0.020496930927038193,
0.048337481915950775,
-0.016289183869957924,
0.0021786552388221025,
0.023585479706525803,
0.03539339825510979,
0.04778776690363884,
-0.009288144297897816,
-0.01122333761304617,
0.013062612153589725,
0.04513357952237129,
0.02287256345152855,
0.00432926882058382,
-0.00808560848236084,
-0.021217668429017067,
-0.02787182107567787,
-0.024392390623688698,
-0.03282894566655159,
-0.04249631613492966,
0.0003066544304601848,
0.04953101649880409,
0.023441845551133156,
-0.04057592526078224,
-0.03912559151649475,
0.07261768728494644,
0.028714360669255257,
0.031222304329276085,
0.02525917999446392,
-0.021421631798148155,
-0.0217027235776186,
-0.03146350011229515,
-0.011401694267988205,
0.0068124993704259396,
0.010452499613165855,
-0.002602740889415145,
0.010525413788855076,
-0.011774659156799316,
-0.025119362398982048,
0.048542413860559464,
0.01813177578151226,
0.01699303835630417,
-0.027216460555791855,
0.028178289532661438,
0.002292322926223278,
-0.008472830057144165,
-0.042427875101566315,
-0.010240447707474232,
-0.020598074421286583,
-0.0720742717385292,
-0.0237574465572834,
0.01297498494386673,
-0.008489638566970825,
-0.0062882606871426105,
0.005502630956470966,
0.042188551276922226,
-0.05652353912591934,
0.0002793800667859614,
-0.05089414864778519,
-0.004853727761656046,
-0.026776375249028206,
0.06988241523504257,
0.022741973400115967,
-0.03559340164065361,
-0.022440535947680473,
-0.010125973261892796,
-0.011255867779254913,
0.004961332306265831,
0.00359750771895051,
0.015164412558078766,
0.02518642693758011,
0.006843555718660355,
-0.02772681415081024,
-0.015552467666566372,
0.032859303057193756,
0.010028357617557049,
0.017899367958307266,
-0.004797183442860842,
0.013666262850165367,
-0.02741592563688755,
-0.062115252017974854,
-0.022241948172450066,
0.0157462190836668,
-0.01122218742966652,
-0.007560791913419962,
0.06973471492528915,
-0.0018737893551588058,
-0.0029459884390234947,
-0.025599457323551178,
0.004658341873437166,
-0.02836032025516033,
-0.023703955113887787,
0.026859138160943985,
0.029555512592196465,
0.030565503984689713,
-0.0028608860448002815,
0.02786746807396412,
-0.051550447940826416,
0.013246611692011356,
-0.005394332576543093,
-0.00810988713055849,
0.031022457405924797,
0.027356203645467758,
-0.057221945375204086,
0.0053858947940170765,
0.06909410655498505,
0.0036556553095579147,
0.01641101762652397,
-0.0030352436006069183,
-0.02058667130768299,
-0.024806492030620575,
0.017862962558865547,
0.0181431844830513,
0.027870943769812584,
0.02656674012541771,
-0.033370137214660645,
-0.01098710112273693,
-0.009375613182783127,
0.05297882854938507,
-0.031837575137615204,
0.03455982357263565,
0.01199488714337349,
-0.05760982260107994,
-0.06392128765583038,
-0.01245272159576416,
-0.052137814462184906,
-0.007448206190019846,
0.05411820858716965,
0.021874187514185905,
0.04029335081577301,
0.0053278435952961445,
-0.0035401408094912767,
0.04296485707163811,
-0.05204873904585838,
0.037269968539476395,
-0.0045438529923558235,
-0.004391540307551622,
-0.053758300840854645,
-0.0007973620668053627,
0.025218473747372627,
0.013997317291796207,
-0.057260628789663315,
-0.00810739304870367,
0.07477124780416489,
-0.012642932124435902,
0.006174777634441853,
0.05025386065244675,
0.053901683539152145,
0.020093148574233055,
0.04480354115366936,
-0.005915288347750902,
0.03390996530652046,
0.025935856625437737,
0.032122377306222916,
-0.08326725661754608,
0.00955773051828146,
0.0029497763607650995,
-0.004967086482793093,
0.024991249665617943,
-0.03586891293525696,
0.02286580577492714,
0.0021266734693199396,
-0.004418480675667524,
0.03967471048235893,
-0.028618253767490387,
0.028808781877160072,
-0.002166186925023794,
0.03994916006922722,
0.02382696233689785,
0.006218136753886938,
-0.009095955640077591,
-0.035665325820446014,
0.006632097996771336,
0.014275110326707363,
0.001813378999941051,
0.004427478648722172,
-0.012922038324177265,
0.03412776440382004,
0.0043602194637060165,
-0.026047471910715103,
0.033629484474658966,
0.07977276295423508,
-0.043588656932115555,
-0.0015570428222417831,
-0.005051874089986086
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Generation Parameters | [
0.034632451832294464,
0.043348528444767,
0.11242751032114029,
0.01183223444968462,
0.1018785610795021,
0.024163616821169853,
0.020534483715891838,
0.044045012444257736,
-0.026307852938771248,
-0.09523414820432663,
-0.005415691062808037,
0.029649095609784126,
-0.012837319634854794,
0.0076553914695978165,
-0.009172872640192509,
0.032734427601099014,
0.04602682590484619,
0.010300283320248127,
0.0030946098268032074,
-0.0009754977072589099,
-0.005184857174754143,
-0.018365558236837387,
0.07577759027481079,
0.05343499034643173,
0.03365745022892952,
-0.029742605984210968,
-0.0015125332865864038,
-0.052951380610466,
-0.022664880380034447,
0.030811777338385582,
-0.06333695352077484,
-0.00028379258583299816,
0.05061471834778786,
-0.016451122239232063,
-0.014166660606861115,
0.0009784437716007233,
-0.10810031741857529,
-0.010879836045205593,
-0.03913860023021698,
-0.03951319679617882,
-0.018470635637640953,
-0.038015395402908325,
0.006007756572216749,
0.05697855353355408,
-0.03598879277706146,
0.047704823315143585,
-0.24331051111221313,
0.09122740477323532,
-0.01863977126777172,
-0.003401944413781166,
-0.03362445905804634,
0.014534630812704563,
-0.0035625207237899303,
-0.016559652984142303,
0.07132554054260254,
0.02599482610821724,
0.04144248738884926,
-0.0380953773856163,
0.00596027122810483,
-0.06696617603302002,
0.06354088336229324,
-0.02640794962644577,
0.013381840661168098,
0.016572188585996628,
0.06446284055709839,
0.00960326474159956,
-0.017616167664527893,
0.03655748814344406,
-0.05262654274702072,
-0.013919884338974953,
0.02940095216035843,
-0.04173046723008156,
-0.02307193912565708,
-0.05487915500998497,
0.03853807970881462,
-0.03299541398882866,
-0.033601026982069016,
0.025996185839176178,
0.06857294589281082,
0.1188410222530365,
0.013076392002403736,
0.0157722607254982,
0.0971190333366394,
0.03681030496954918,
-0.013637390919029713,
-0.03121817670762539,
0.06296303123235703,
-0.004992797505110502,
-0.005974090192466974,
0.014810627326369286,
-0.05590573325753212,
-0.1168944239616394,
-0.0018688107375055552,
0.02740016020834446,
-0.0017221674788743258,
-0.030545588582754135,
0.036962494254112244,
0.026979325339198112,
0.05053873360157013,
0.02682851068675518,
0.0004590285534504801,
0.029717208817601204,
0.019232159480452538,
-0.033403944224119186,
-0.0632367879152298,
-0.029900267720222473,
-0.02690870128571987,
-0.09729082137346268,
-0.0785907655954361,
0.054556649178266525,
-0.03213487192988396,
0.054584261029958725,
0.07653119415044785,
0.012622181326150894,
-0.05139762908220291,
0.026302576065063477,
-0.005833158735185862,
-0.023282786831259727,
0.03693932294845581,
0.020134741440415382,
-0.013208779506385326,
0.10370126366615295,
0.05468715354800224,
0.020991750061511993,
-0.000700868375133723,
0.04867931827902794,
0.07872240990400314,
0.07301447540521622,
-0.06327605992555618,
-0.013844039291143417,
0.008505958132445812,
0.008604701608419418,
0.016328953206539154,
0.010849887505173683,
-0.04194973036646843,
-0.08373226970434189,
-0.017180440947413445,
0.015405005775392056,
-0.011967041529715061,
-0.013596896082162857,
-0.022057337686419487,
0.0649363249540329,
-0.0009926828788593411,
0.039180904626846313,
-0.010922773741185665,
-0.04335524141788483,
0.005752550438046455,
0.020089058205485344,
-0.01919756457209587,
0.01852533407509327,
0.02646385319530964,
0.06201239675283432,
-0.038735173642635345,
-0.05982686206698418,
-0.05438750609755516,
0.06491223722696304,
0.01255495473742485,
0.012903846800327301,
-0.1055954322218895,
-0.03106503188610077,
0.04624038562178612,
0.050769057124853134,
-0.0011935333022847772,
0.018614385277032852,
0.03535081446170807,
-0.023007886484265327,
0.019228480756282806,
0.024989986792206764,
-0.01568637043237686,
-0.10753211379051208,
-0.035491008311510086,
0.012861707247793674,
0.019412480294704437,
-0.030139891430735588,
-0.055181555449962616,
0.012759877368807793,
0.0717165544629097,
0.0341922827064991,
0.03041122853755951,
0.003983667585998774,
-0.036483101546764374,
0.01878422684967518,
-0.04310847446322441,
0.0440693199634552,
0.03050375171005726,
-0.058708883821964264,
0.02408277802169323,
-0.035610493272542953,
-0.023818520829081535,
0.03414049744606018,
-0.10183937847614288,
-0.060174018144607544,
0.1001516804099083,
-0.0074083032086491585,
-0.007896156050264835,
-0.11296657472848892,
0.005890068132430315,
0.10165206342935562,
0.07149770110845566,
0.09314154088497162,
0.03495705500245094,
0.033758848905563354,
0.08949818462133408,
-0.025669606402516365,
-0.060942672193050385,
0.024665793403983116,
0.04395813122391701,
-0.007875685580074787,
0.058744050562381744,
0.02650904655456543,
-0.023974409326910973,
-0.08413784950971603,
0.024070516228675842,
-0.08125872910022736,
0.011690058745443821,
0.005607401020824909,
-0.014837642200291157,
-0.07511281222105026,
0.05830516666173935,
-0.033211078494787216,
0.08056740462779999,
0.01420818455517292,
-0.03872111439704895,
0.04457337409257889,
-0.01395620871335268,
0.0793016254901886,
0.07416201382875443,
0.0009764523128978908,
0.01964130438864231,
-0.09020011126995087,
-0.0031009516678750515,
-0.007071413099765778,
0.012162390165030956,
0.09893526881933212,
0.019929058849811554,
0.06163780018687248,
0.0019430378451943398,
-0.008066950365900993,
0.058643653988838196,
-0.031147019937634468,
0.03390643373131752,
0.048266004770994186,
-0.02791406773030758,
0.02806260995566845,
-0.019920045509934425,
-0.04887322708964348,
0.07122963666915894,
0.008039894513785839,
-0.08344756066799164,
-0.04595489427447319,
-0.05178660526871681,
0.09302698075771332,
0.04704469069838524,
-0.051846105605363846,
0.08080274611711502,
-0.02669592760503292,
-0.033257342875003815,
-0.0119653744623065,
0.010903622955083847,
0.013780304230749607,
0.013063184916973114,
-0.008771892637014389,
0.015338058583438396,
-0.07408437132835388,
0.009547503665089607,
-0.025164807215332985,
0.011219549924135208,
0.017605936154723167,
-0.03738788887858391,
0.05139632895588875,
-0.031960293650627136,
-0.022178547456860542,
0.050014887005090714,
-0.0025592579040676355,
-0.01781585067510605,
-0.012376874685287476,
0.05162134766578674,
-0.023070314899086952,
-0.021654820069670677,
-0.018231887370347977,
0.007876844145357609,
-0.008645983412861824,
-0.010861460119485855,
0.006599631160497665,
0.038114868104457855,
-0.011355721391737461,
0.012481661513447762,
-0.0023213867098093033,
0.0008606143528595567,
0.0065433308482170105,
-0.012812415137887001,
0.017578022554516792,
-0.009188154712319374,
-0.02731453813612461,
0.04508562758564949,
-0.005723251029849052,
-0.01862548664212227,
0.01954515464603901,
-0.027210168540477753,
-0.030177218839526176,
0.02678985521197319,
0.004646596498787403,
-0.011127091012895107,
0.013345970772206783,
-0.05922405421733856,
0.039649296551942825,
-0.0009557424928061664,
0.0175655335187912,
-0.1588306427001953,
-0.034433964639902115,
0.007160948123782873,
0.025452902540564537,
-0.008923431858420372,
-0.006559005472809076,
0.02645726688206196,
-0.03812125697731972,
-0.006764110643416643,
-0.015732895582914352,
0.008853139355778694,
0.026538411155343056,
-0.006394034251570702,
-0.02327338419854641,
-0.018135398626327515,
-0.011084546335041523,
-0.01132398471236229,
0.0061899651773273945,
0.003966435324400663,
-0.021753180772066116,
0.002375632757321,
0.03069447912275791,
-0.007683874107897282,
-0.023582935333251953,
-0.010666066780686378,
0.037924543023109436,
0.014742366038262844,
0.008629734627902508,
-0.003875414142385125,
-0.029506804421544075,
-0.023790640756487846,
0.02888607420027256,
-0.0054310220293700695,
0.022946897894144058,
-0.0085831917822361,
-0.019837355241179466,
0.012039409950375557,
-0.024198731407523155,
0.017794135957956314,
0.030881138518452644,
0.024594003334641457,
0.00921530183404684,
0.026322433724999428,
0.017545131966471672,
-0.024332815781235695,
-0.007791108451783657,
0.006044794339686632,
0.004578517284244299,
0.048936039209365845,
-0.02979045733809471,
-0.04690752923488617,
0.00019696612434927374,
0.023685401305556297,
0.03220859915018082,
-0.010204947553575039,
0.016729185357689857,
-0.007794774603098631,
0.03173113614320755,
0.04720712825655937,
-0.016473466530442238,
-0.02339191548526287,
0.016486160457134247,
-0.000887672824319452,
0.007733226288110018,
-0.04916810616850853,
0.06614812463521957,
-0.02182614989578724,
0.03405780345201492,
-0.030926955863833427,
0.06158788129687309,
0.01590772159397602,
0.004649388138204813,
0.008914001286029816,
0.01924256607890129,
-0.0005791624425910413,
0.01941632479429245,
-0.03686368092894554,
-0.02771780826151371,
0.043201595544815063,
-0.012919812463223934,
0.006126692984253168,
-0.02544362284243107,
0.007474992424249649,
-0.011932030320167542,
0.0034280430991202593,
0.04622609168291092,
0.0022225165739655495,
-0.002962891012430191,
0.009760654531419277,
0.029566094279289246,
0.033132340759038925,
-0.021910445764660835,
0.0170330461114645,
-0.01863172836601734,
0.0036072602961212397,
0.01682504639029503,
0.04891632869839668,
-0.01730019599199295,
-0.012471575289964676,
0.011795585043728352,
0.024828577414155006,
-0.015062990598380566,
0.012338734231889248,
0.02108081802725792,
-0.01277017779648304,
0.022844979539513588,
-0.018449319526553154,
-0.038533762097358704,
-0.020760344341397285,
0.031252697110176086,
0.010724577121436596,
-0.06372994929552078,
0.014683131128549576,
-0.05168842524290085,
0.01013138610869646,
0.0022900269832462072,
-0.015735343098640442,
-0.049962859600782394,
-0.03626497462391853,
-0.001597292721271515,
-0.03223400563001633,
0.021551264449954033,
0.01047153864055872,
-0.03230322524905205,
-0.0038910878356546164,
-0.035705190151929855,
0.002672989619895816,
0.013874449767172337,
-0.0005918738315813243,
0.011051571927964687,
-0.020014023408293724,
-0.02962518110871315,
0.05215231329202652,
0.0024217490572482347,
-0.005217683035880327,
0.006343299522995949,
-0.025065656751394272,
0.004713480360805988,
0.005955446045845747,
-0.06378499418497086,
-0.002700901823118329,
0.03822947293519974,
0.013227141462266445,
0.0103984996676445,
0.03610531985759735,
0.01911121979355812,
0.00600301381200552,
-0.006056460086256266,
-0.000882067542988807,
-0.0034710734616965055,
0.0311095230281353,
-0.03560388833284378,
-0.03595074638724327,
-0.018436243757605553,
-0.008214736357331276,
0.004539532121270895,
0.04220939800143242,
-0.012753763236105442,
-0.022379126399755478,
0.054310329258441925,
-0.001622786745429039,
-0.01881120167672634,
-0.04436109960079193,
0.048188693821430206,
-0.027690432965755463,
0.015400608070194721,
0.010588690638542175,
0.00267182313837111,
-0.012703470885753632,
-0.0036389008164405823,
0.0003848812193609774,
-0.007781173102557659,
0.03502744808793068,
-0.030762355774641037,
0.013024098239839077,
0.038191597908735275,
0.005750505719333887,
0.022378137335181236,
0.02047635428607464,
0.018530283123254776,
-0.007192900404334068,
-0.004665513057261705,
0.030508631840348244,
0.009192820638418198,
-0.007952127605676651,
0.005128609947860241,
0.034160733222961426,
-0.0019340143771842122,
0.00006544992356793955,
0.0333704799413681,
-0.039747584611177444,
-0.010592402890324593,
0.0035498898942023516,
-0.023147372528910637,
0.0056867036037147045,
0.015371681191027164,
0.004282376263290644,
-0.0029914730694144964,
0.0001435324375052005,
-0.0010577453067526221,
0.03265294432640076,
0.018549123778939247,
0.00348439603112638,
-0.019811080768704414,
0.011190003715455532,
0.03600481152534485,
0.021005531772971153,
-0.013320587575435638,
-0.01795232854783535,
-0.022606341168284416,
0.0009669121936894953,
0.006423890590667725,
-0.06923096626996994,
-0.016121208667755127,
0.0012093588011339307,
-0.031890254467725754,
-0.046196348965168,
0.01616467908024788,
0.0070322854444384575,
0.012058017775416374,
0.006662832573056221,
-0.007831885479390621,
0.002640258055180311,
0.03008638322353363,
0.04459923133254051,
0.0035544889979064465,
0.007971133105456829,
0.03787984326481819,
-0.02168862894177437,
0.04164604842662811,
0.021370582282543182,
0.0012362689012661576,
-0.014774641022086143,
0.014702928252518177,
0.03269602358341217,
0.027193939313292503,
-0.07194834202528,
0.027943387627601624,
0.006403931882232428,
0.019961141049861908,
0.009652740322053432,
-0.005471108481287956,
0.006203141529113054,
-0.007216348312795162,
-0.022701794281601906,
0.02502952516078949,
0.03360513597726822,
-0.04640151187777519,
0.00519614527001977,
0.010125527158379555,
0.01943429559469223,
-0.01352260448038578,
-0.008628549054265022,
-0.020112287253141403,
0.013084742240607738,
0.021250804886221886,
-0.014015981927514076,
-0.030197391286492348,
0.03415149822831154,
-0.013908919878304005,
-0.013117345049977303,
-0.0013618658995255828,
0.024437827989459038,
0.014704996719956398,
-0.0424247682094574,
0.04215545207262039,
-0.01907159760594368,
-0.014010008424520493,
0.025916188955307007,
0.028040044009685516,
-0.004038953687995672,
0.010493602603673935,
0.028430473059415817,
-0.001366265001706779,
-0.007162052672356367,
0.0015662680380046368,
0.005129920318722725,
0.0351199135184288,
0.02489335834980011,
0.011017859913408756,
-0.0046940636821091175,
0.029820885509252548,
0.03905865550041199,
-0.004245488904416561,
-0.04608020558953285,
0.02516452595591545,
0.035247739404439926,
0.010180766694247723,
0.0036462978459894657,
0.00845674704760313,
0.032593734562397,
0.0002669374516699463,
-0.03588369861245155,
0.013227949850261211,
-0.04893239587545395,
-0.006603443995118141,
0.004717509262263775,
-0.029233230277895927,
0.031216759234666824,
-0.03324352577328682,
0.06366854161024094,
0.005946482997387648,
-0.026490595191717148,
0.023253824561834335,
-0.016859516501426697,
-0.0006313936319202185,
0.026411516591906548,
-0.003146587871015072,
0.002133873524144292,
-0.05688393488526344,
0.02300112321972847,
0.04151389002799988,
-0.035427629947662354,
-0.03201286494731903,
0.020396091043949127,
-0.06812316924333572,
0.050031714141368866,
-0.019991125911474228,
-0.02052142657339573,
-0.01913866400718689,
0.06699448078870773,
-0.014926803298294544,
0.001981903100386262,
-0.02311427891254425,
-0.05023910850286484,
-0.05152576416730881,
-0.014727186411619186,
0.014618934132158756,
-0.03730340674519539,
-0.030128294602036476,
-0.0020863881800323725,
0.021491847932338715,
-0.006912413518875837,
-0.0041110520251095295,
-0.0030143284238874912,
0.03508218005299568,
0.01643822155892849,
0.039414431899785995,
-0.019355136901140213,
-0.02795291505753994,
-0.012887575663626194,
0.006059363950043917,
0.014655062928795815,
-0.014779917895793915,
0.014988163486123085,
0.009709400124847889,
-0.0212098415941,
-0.008871383033692837,
-0.015068314038217068,
0.027008794248104095,
-0.00036174312117509544,
0.0005957531393505633,
-0.038863036781549454,
0.026080047711730003,
-0.037687573581933975,
-0.007958446629345417,
-0.004519188776612282,
-0.0024767760187387466,
0.024011487141251564,
-0.005682246293872595,
0.008061191998422146,
0.021910011768341064,
0.01647113263607025,
-0.030463168397545815,
-0.011210396885871887,
-0.002143540885299444,
-0.057791274040937424,
0.020163971930742264,
0.028604507446289062,
0.02161516435444355,
-0.025634579360485077,
-0.025662725791335106,
0.017121411859989166,
0.012560688890516758,
-0.035172250121831894,
-0.002381184371188283,
-0.0247952863574028,
-0.03157676383852959,
-0.0388505682349205,
0.002993010450154543,
0.0741577073931694,
0.014027300290763378,
0.0072743259370327,
0.026861149817705154,
0.005566034000366926,
-0.024780986830592155,
-0.02301647700369358,
0.0154797388240695,
0.006998072378337383,
0.061554230749607086,
-0.0015971154207363725,
-0.03137639909982681,
-0.023169973865151405,
-0.03312480077147484,
0.006352667696774006,
-0.0009671971201896667,
-0.04066774994134903,
-0.04059571400284767,
-0.0005121644935570657,
0.008670655079185963,
-0.06375788152217865,
0.03963720053434372,
0.03528139367699623,
0.013187616132199764,
0.02929011359810829,
0.0032850883435457945,
-0.00880318135023117,
-0.0010339213768020272,
0.036612268537282944,
0.025993380695581436,
0.043748803436756134,
0.03377862274646759,
-0.008497955277562141,
-0.04581776633858681,
0.05622570589184761,
-0.044211044907569885,
-0.03924072906374931,
0.01982763595879078,
0.04489528387784958,
-0.024413177743554115,
0.0028427299112081528,
-0.02005329355597496,
0.0284738726913929,
0.012432309798896313,
0.00801524892449379,
0.024270476773381233,
0.00563959963619709,
0.001839789911173284,
0.006582361180335283,
-0.061898890882730484,
-0.002252819947898388,
0.00352850672788918,
0.013958764262497425,
0.02997993864119053,
0.007128493394702673,
-0.016493335366249084,
-0.005933502223342657,
-0.07632733881473541,
0.027545256540179253,
0.021180851384997368,
0.009724942967295647,
-0.008807341568171978,
0.030572043731808662,
-0.024088552221655846,
-0.03285539895296097,
-0.05357680842280388,
0.013010811991989613,
0.015348473563790321,
-0.02886848896741867,
-0.006782541051506996,
-0.026576366275548935,
-0.00875989068299532,
0.005168656352907419,
0.04409332945942879,
0.0010856197914108634,
0.03195102885365486,
0.03853228688240051,
-0.010323074646294117,
0.028302783146500587,
-0.0014420418301597238
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Subscribe to PRO You can sign up today for a PRO subscription here. Benefit from higher rate limits, custom accelerated endpoints for the latest models, and early access to features. If you've built some exciting projects with the Inference API or are looking for a model not available in Inference for PROs, please use this discussion. Enterprise users also benefit from PRO Inference API on top of other features, such as SSO. | [
0.05547160655260086,
0.011314298026263714,
0.07480303198099136,
0.026838507503271103,
0.07168934494256973,
0.023446744307875633,
0.03138794004917145,
0.056015826761722565,
0.007430319674313068,
-0.05810939520597458,
-0.013360155746340752,
-0.01758287101984024,
-0.020159464329481125,
0.0013489285483956337,
0.01023485604673624,
-0.04739062115550041,
0.03308700770139694,
-0.0005736022721976042,
-0.03581208735704422,
-0.014298372901976109,
0.01630980148911476,
-0.050532303750514984,
0.026221688836812973,
-0.04587315395474434,
-0.0615575946867466,
-0.022470474243164062,
-0.054206714034080505,
-0.013652411289513111,
-0.06601925939321518,
-0.01760856807231903,
-0.07940313220024109,
-0.02214781753718853,
-0.010256175883114338,
-0.026582062244415283,
0.017087478190660477,
0.027277324348688126,
-0.09134242683649063,
0.024370422586798668,
-0.0005234230775386095,
-0.009243717417120934,
0.019383708015084267,
-0.04263290762901306,
-0.07152596116065979,
0.0574432909488678,
-0.0014355825260281563,
-0.055179428309202194,
-0.19359074532985687,
0.07955519109964371,
-0.008189728483557701,
-0.02711772359907627,
-0.09119156748056412,
0.0739043653011322,
-0.06619390100240707,
0.021673385053873062,
0.09962162375450134,
0.010492531582713127,
-0.018195651471614838,
-0.08624455332756042,
0.022690117359161377,
-0.03584572672843933,
0.048306360840797424,
-0.01863851398229599,
0.02324869856238365,
-0.02037821337580681,
0.0051988703198730946,
-0.015844257548451424,
-0.03032972477376461,
-0.016893308609724045,
-0.037861086428165436,
0.018866311758756638,
-0.00462914165109396,
-0.05836218595504761,
-0.0327940508723259,
0.015960082411766052,
0.054506368935108185,
-0.08593329787254333,
-0.052579279989004135,
0.050796885043382645,
0.1028418242931366,
-0.0451316200196743,
0.027001677080988884,
-0.0036361657548695803,
0.07629883289337158,
0.02387508749961853,
-0.013525686226785183,
0.006115632131695747,
0.011785983107984066,
-0.08113370090723038,
-0.002729651052504778,
0.005597318988293409,
0.021288186311721802,
-0.10092853009700775,
0.07337222248315811,
0.004479624330997467,
0.021653031930327415,
0.02606654353439808,
0.06333669275045395,
0.054958444088697433,
0.03189440071582794,
-0.03347499668598175,
-0.04360014572739601,
-0.035518910735845566,
-0.060878686606884,
-0.013309577479958534,
0.01418345421552658,
0.022438963875174522,
-0.03335987403988838,
-0.06839150190353394,
-0.04666296765208244,
0.10823135077953339,
-0.012205896899104118,
0.04103660583496094,
0.005620305892080069,
0.032341063022613525,
-0.03279627487063408,
-0.005155131686478853,
0.015463333576917648,
-0.0013530327705666423,
0.014691908843815327,
-0.06442748010158539,
0.012439586222171783,
0.06679796427488327,
0.06528833508491516,
0.06717714667320251,
0.01732783019542694,
0.07440461963415146,
0.08419516682624817,
0.05317988991737366,
-0.022331252694129944,
-0.044217467308044434,
0.017197677865624428,
-0.02138628624379635,
0.02097262628376484,
0.016582295298576355,
0.000043740095861721784,
-0.06178511679172516,
-0.045814815908670425,
-0.05563066154718399,
0.02262795902788639,
-0.011465191841125488,
-0.057359516620635986,
-0.00019244854047428817,
0.03193661570549011,
0.0009245984256267548,
0.05622275173664093,
-0.028206033632159233,
-0.0026260879822075367,
0.019352413713932037,
0.009274794720113277,
0.040648866444826126,
-0.0576159693300724,
0.04445371776819229,
-0.047329362481832504,
-0.0747702419757843,
-0.0041955686174333096,
0.06189235672354698,
0.05838320031762123,
0.0011150395730510354,
-0.029132483527064323,
-0.05081585422158241,
0.026078468188643456,
-0.048766668885946274,
0.02366016060113907,
0.0328170508146286,
0.04373469948768616,
0.011697545647621155,
0.014807922765612602,
-0.017945149913430214,
0.005835348274558783,
-0.013737288303673267,
-0.012628338299691677,
-0.031786367297172546,
0.06347481161355972,
-0.026743104681372643,
0.019591864198446274,
0.027917619794607162,
0.004865368362516165,
0.06982943415641785,
0.00680306414142251,
0.009810099378228188,
-0.037871018052101135,
0.022294102236628532,
-0.03463863953948021,
0.0038929053116589785,
0.03675699606537819,
-0.14439554512500763,
0.04691757634282112,
-0.04123919457197189,
-0.020125161856412888,
-0.0641578882932663,
-0.054054807871580124,
-0.030226586386561394,
0.13110949099063873,
-0.014795570634305477,
0.021653562784194946,
-0.04082392528653145,
-0.08921710401773453,
0.08860223740339279,
0.021899038925766945,
0.06153625622391701,
0.043699923902750015,
0.014656761661171913,
0.02036437578499317,
-0.043930795043706894,
-0.05170350894331932,
0.062497060745954514,
0.048638828098773956,
-0.012398154474794865,
-0.010947035625576973,
0.02081277035176754,
0.009453704580664635,
-0.11872876435518265,
0.02707282081246376,
-0.06450030952692032,
0.020473623648285866,
-0.02990846149623394,
-0.04655370116233826,
-0.017994655296206474,
0.0001358626614091918,
-0.08311763405799866,
0.19951196014881134,
-0.020159510895609856,
0.0111435791477561,
0.0017665399936959147,
-0.045875586569309235,
0.04125628620386124,
0.07302841544151306,
-0.04793365299701691,
0.029745958745479584,
0.005717763677239418,
-0.04245181381702423,
-0.020029494538903236,
0.015645727515220642,
0.014570536091923714,
0.05229082703590393,
0.05168117955327034,
-0.021715261042118073,
-0.07025642693042755,
0.021340465173125267,
-0.017652256414294243,
0.0016317146364599466,
0.0006278626387938857,
-0.0034346156753599644,
0.11435049772262573,
0.04388725012540817,
-0.036849495023489,
0.06494615226984024,
0.012565660290420055,
-0.014265982434153557,
-0.007994608022272587,
-0.06900287419557571,
0.030722836032509804,
-0.0044038123451173306,
-0.008243221789598465,
0.06148260831832886,
0.012534275650978088,
-0.02862677350640297,
-0.01491819228976965,
-0.021493546664714813,
0.00662617152556777,
0.022411944344639778,
-0.028632216155529022,
0.004775999113917351,
-0.04021006077528,
0.033829059451818466,
-0.03640780970454216,
-0.02054545097053051,
-0.03537517040967941,
0.007120920345187187,
0.0034416825510561466,
0.02636444941163063,
-0.046154338866472244,
0.0025007573422044516,
0.0103450370952487,
0.03291073814034462,
0.037881579250097275,
0.0473644994199276,
-0.020897800102829933,
-0.003641754388809204,
-0.04550330713391304,
0.009025502018630505,
-0.04950772225856781,
0.04156508296728134,
0.061739448457956314,
0.029950721189379692,
-0.0284150168299675,
-0.0025907540693879128,
-0.00515636196359992,
-0.06404639780521393,
0.00778806209564209,
-0.0031890892423689365,
0.01431298814713955,
-0.0038440327625721693,
-0.016554610803723335,
-0.011728004552423954,
-0.003499820828437805,
0.02241959050297737,
-0.02433726005256176,
-0.012536497786641121,
-0.04269847646355629,
0.007516804616898298,
-0.0012682320084422827,
0.0071682557463645935,
-0.024394921958446503,
-0.021401014178991318,
0.05245690420269966,
0.02458817884325981,
-0.016068927943706512,
-0.12056520581245422,
-0.029361389577388763,
-0.01985902525484562,
-0.0039202068001031876,
-0.024087250232696533,
-0.029498856514692307,
0.023087533190846443,
-0.017411069944500923,
-0.008531462401151657,
0.028907202184200287,
0.025017034262418747,
0.007406032644212246,
0.018704332411289215,
-0.012740488164126873,
-0.047013793140649796,
0.041650231927633286,
0.027883892878890038,
0.019628316164016724,
0.0442800372838974,
0.007098148111253977,
0.004518455825746059,
0.050322748720645905,
-0.012836243025958538,
-0.020012266933918,
-0.01851750910282135,
0.029699277132749557,
0.028170568868517876,
0.017006026580929756,
0.017847511917352676,
-0.016414443030953407,
0.011494312435388565,
-0.02559257484972477,
-0.0035074481274932623,
0.00772195216268301,
-0.04483140632510185,
0.03641524910926819,
-0.0019591310992836952,
-0.005922394804656506,
0.042159851640462875,
0.027334006503224373,
0.018742037937045097,
-0.015659185126423836,
0.009259038604795933,
0.012630402110517025,
-0.019526386633515358,
0.0032630874775350094,
0.0232701413333416,
0.011587601155042648,
0.06986913084983826,
-0.021163640543818474,
-0.05369121953845024,
0.008356527425348759,
0.040976643562316895,
0.05763998255133629,
0.021501122042536736,
-0.020735790953040123,
-0.020312771201133728,
0.026560315862298012,
0.035099372267723083,
-0.00987592525780201,
-0.03352272883057594,
0.0020328322425484657,
0.061307407915592194,
0.008564488962292671,
-0.04569759964942932,
0.03413189947605133,
0.02412775531411171,
-0.024677909910678864,
-0.00946382712572813,
-0.02163473330438137,
0.009552978910505772,
0.03702412545681,
0.022448575124144554,
0.012407575733959675,
0.00863494724035263,
0.045648641884326935,
0.005696565378457308,
-0.016548793762922287,
0.06825108826160431,
0.025508008897304535,
0.02828722633421421,
-0.022451354190707207,
0.010113317519426346,
0.009096140041947365,
-0.02151193842291832,
0.021875161677598953,
0.01833345741033554,
0.023367347195744514,
-0.03920213133096695,
0.05752537027001381,
0.01505493838340044,
0.006223994307219982,
0.04727758467197418,
0.022016769275069237,
0.0009292819304391742,
0.07280877977609634,
0.07678509503602982,
0.016794994473457336,
0.021388094872236252,
0.00034499712637625635,
0.026601821184158325,
-0.012224010191857815,
-0.021954618394374847,
0.012729264795780182,
-0.03841601312160492,
0.025121841579675674,
-0.00386454607360065,
-0.029032615944743156,
0.022945307195186615,
-0.001974833896383643,
0.029059987515211105,
-0.004797942936420441,
0.03357016295194626,
-0.013262908905744553,
0.022192958742380142,
0.03621244803071022,
-0.021055182442069054,
0.03998010978102684,
-0.06523050367832184,
0.038992464542388916,
-0.025135289877653122,
0.023832140490412712,
0.026241838932037354,
-0.02783689834177494,
0.01704774796962738,
0.00966230034828186,
0.006940050516277552,
0.009021368809044361,
0.0008562813745811582,
0.023033639416098595,
-0.0228384118527174,
0.006555941887199879,
0.033908139914274216,
0.024761907756328583,
0.01963983103632927,
-0.011455804109573364,
-0.022434161975979805,
0.04757535457611084,
-0.00656032795086503,
-0.01819942332804203,
0.036245670169591904,
0.007339386269450188,
0.010784788057208061,
-0.003813084913417697,
-0.004781139083206654,
-0.0217998418956995,
-0.04686669260263443,
0.0007297248230315745,
-0.04112289845943451,
0.03287281095981598,
0.017253482714295387,
0.0013115343172103167,
-0.03507490083575249,
0.008584041148424149,
0.014261932112276554,
-0.009311285801231861,
0.017133694142103195,
-0.0019221346592530608,
-0.024292953312397003,
0.03523708134889603,
0.032558877021074295,
0.025623783469200134,
-0.02326708287000656,
0.030201029032468796,
0.015698576346039772,
-0.0047344183549284935,
-0.038127005100250244,
-0.04758576303720474,
-0.02241460233926773,
-0.010439676232635975,
-0.035188011825084686,
0.021846402436494827,
0.0219928827136755,
-0.047352250665426254,
-0.00832662545144558,
-0.0006334916106425226,
0.020138777792453766,
0.025937236845493317,
0.030151057988405228,
0.018210764974355698,
-0.037077389657497406,
-0.026439892128109932,
0.033907316625118256,
0.02558363415300846,
-0.00810636579990387,
0.008778068237006664,
0.057579945772886276,
0.022522127255797386,
0.023249797523021698,
0.031011972576379776,
-0.008797368966042995,
0.007838203571736813,
-0.009767832234501839,
-0.05276653170585632,
0.04428459331393242,
-0.04647209122776985,
0.023069540038704872,
0.0538925901055336,
-0.014082079753279686,
-0.0136727225035429,
0.0240811537951231,
0.013999192975461483,
-0.009866965934634209,
-0.026815878227353096,
-0.0012660473585128784,
0.02870318293571472,
0.018281588330864906,
-0.02472592331469059,
0.01718870736658573,
-0.025129957124590874,
0.005550491623580456,
0.009353060275316238,
-0.0001623340358491987,
0.039107486605644226,
-0.007393013685941696,
-0.04140438139438629,
-0.03855728730559349,
0.021754208952188492,
0.027006369084119797,
0.04441316798329353,
0.010024935938417912,
-0.019710030406713486,
-0.02259211800992489,
0.0018702985253185034,
0.05185939744114876,
-0.018271945416927338,
-0.005415698513388634,
0.028106581419706345,
-0.0030389768071472645,
0.02313336543738842,
0.009437453001737595,
-0.009814443066716194,
-0.013831514865159988,
-0.013624101877212524,
0.04064008221030235,
0.023992016911506653,
-0.03760583698749542,
0.047555770725011826,
0.016086332499980927,
-0.017335467040538788,
-0.00914530735462904,
-0.012150983326137066,
-0.034876514226198196,
-0.02265419252216816,
-0.0667632669210434,
0.028572088107466698,
0.04704752191901207,
-0.04622231796383858,
-0.017961418256163597,
0.0037592968437820673,
0.03186282515525818,
-0.009680164977908134,
0.0037251340691000223,
-0.012930736877024174,
-0.02894657477736473,
-0.002057484118267894,
0.029767291620373726,
-0.027982139959931374,
-0.017244840040802956,
0.011934714391827583,
0.031277868896722794,
-0.02747669257223606,
-0.0009152651182375848,
0.036870893090963364,
-0.02209148369729519,
0.028531856834888458,
0.026795215904712677,
-0.06841769069433212,
0.039889734238386154,
-0.005780679639428854,
-0.008669476956129074,
0.01493082009255886,
-0.004680530168116093,
-0.007420429959893227,
-0.03284572437405586,
-0.0265224426984787,
0.028998281806707382,
0.07980695366859436,
-0.0041201976127922535,
0.010786176659166813,
0.03101211041212082,
0.05323944613337517,
0.02944875881075859,
-0.0017211148515343666,
-0.01754862256348133,
0.035321637988090515,
0.04892802610993385,
-0.012654097750782967,
0.030052168294787407,
-0.009511100128293037,
-0.0038689144421368837,
-0.032270535826683044,
-0.020946228876709938,
0.02651786431670189,
-0.03881151229143143,
-0.03737610578536987,
0.012368475086987019,
-0.005024539772421122,
0.027180055156350136,
-0.03981884941458702,
0.05343855544924736,
0.020141752436757088,
0.024390751495957375,
0.020187227055430412,
-0.007977754808962345,
0.015038290992379189,
0.0061322543770074844,
-0.006985385902225971,
0.04772088676691055,
0.007691166363656521,
-0.012883641757071018,
0.014750045724213123,
-0.017897356301546097,
0.0022939438931643963,
0.006239382550120354,
0.016438107937574387,
0.019935527816414833,
-0.031465768814086914,
0.009372628293931484,
-0.0021908830385655165,
-0.019057340919971466,
-0.002959023229777813,
0.015336190350353718,
-0.007133875973522663,
-0.06355404853820801,
-0.05264100059866905,
0.00894079264253378,
0.00936383381485939,
-0.013140189461410046,
0.0014665545895695686,
0.021177921444177628,
0.025855056941509247,
-0.007915344089269638,
-0.005355427041649818,
-0.02458493411540985,
-0.012741442769765854,
0.01518054585903883,
0.0025816720444709063,
-0.02463420107960701,
-0.015272367745637894,
-0.0017317428719252348,
-0.002673635957762599,
0.024354521185159683,
0.03921610862016678,
-0.0170785840600729,
0.006171372253447771,
-0.00742774922400713,
0.010167334228754044,
-0.003034453373402357,
0.01284353993833065,
0.01837201789021492,
0.0019313640659675002,
-0.03470134362578392,
0.022299403324723244,
-0.039441101253032684,
-0.044561292976140976,
-0.03984823077917099,
-0.005540609825402498,
0.00711653521284461,
-0.015719329938292503,
0.0046210261061787605,
0.017327595502138138,
0.013743237592279911,
-0.059730786830186844,
-0.034958407282829285,
-0.00433369493111968,
-0.047240838408470154,
0.025889499112963676,
0.021349608898162842,
-0.00376262329518795,
-0.04497337341308594,
-0.04377810284495354,
0.029878973960876465,
0.020132707431912422,
-0.01973704621195793,
-0.0018454580567777157,
0.06290782243013382,
0.012976800091564655,
-0.03819982334971428,
-0.03341193497180939,
0.05135030671954155,
-0.0049158502370119095,
0.04799691587686539,
0.007654243614524603,
0.005518326070159674,
0.00866283942013979,
-0.037935521453619,
-0.02287948504090309,
-0.003300607902929187,
0.03579895570874214,
0.00040793977677822113,
-0.029385605826973915,
-0.026315638795495033,
0.021208176389336586,
-0.02399647980928421,
-0.04051048681139946,
-0.017750319093465805,
-0.02891121804714203,
-0.035378988832235336,
-0.023212429136037827,
-0.020070061087608337,
-0.0006571674603037536,
0.05123269557952881,
-0.015467247925698757,
0.0344284363090992,
0.008441522717475891,
-0.0018820349359884858,
0.013130961917340755,
-0.002854075049981475,
0.027381980791687965,
-0.016687124967575073,
-0.009764723479747772,
-0.03401869162917137,
-0.02227620594203472,
0.02265922538936138,
-0.01273672841489315,
-0.05415540188550949,
0.03014238364994526,
0.03340150788426399,
0.019546989351511,
-0.02139270305633545,
0.02798682264983654,
0.025006242096424103,
0.018672216683626175,
0.0346139520406723,
0.04185601696372032,
0.005608703475445509,
-0.042121775448322296,
-0.004468507133424282,
-0.025815477594733238,
-0.03497544303536415,
-0.04923798516392708,
-0.020926883444190025,
0.03539006784558296,
0.0010311789810657501,
-0.012763365171849728,
0.02715802751481533,
-0.011919623240828514,
0.024959245696663857,
-0.03247201815247536,
-0.022737422958016396,
-0.03335534781217575,
0.011771028861403465,
0.01530772540718317,
0.007443953771144152,
0.0027692383155226707,
-0.022078508511185646,
0.00013522668450605124,
-0.01725078374147415,
-0.0009692042367532849,
-0.0008186891209334135,
-0.0008303748909384012,
0.0036189057864248753,
0.022980347275733948,
-0.01680370420217514,
0.041877277195453644,
0.10092642158269882,
0.007740223780274391,
-0.029265061020851135,
-0.01066745538264513
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Getting started with Inference For PROs Using Inference for PROs is as simple as sending a POST request to the API endpoint for the model you want to run. You'll also need to get a PRO account authentication token from your token settings page and use it in the request. For example, to generate text using Llama 2 70B Chat in a terminal session, you'd do something like: bash curl https://api-inference.huggingface.co/models/meta-llama/Llama-2-70b-chat-hf \ -X POST \ -d '{"inputs": "In a surprising turn of events, "}' \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <YOUR_TOKEN>" Which would print something like this: json [ { "generated_text": "In a surprising turn of events, 20th Century Fox has released a new trailer for Ridley Scott's Alien" } ] You can also use many of the familiar transformers generation parameters, like temperature or max_new_tokens: bash curl https://api-inference.huggingface.co/models/meta-llama/Llama-2-70b-chat-hf \ -X POST \ -d '{"inputs": "In a surprising turn of events, ", "parameters": {"temperature": 0.7, "max_new_tokens": 100}}' \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <YOUR_TOKEN>" json [ { "generated_text": "In a surprising turn of events, 2K has announced that it will be releasing a new free-to-play game called NBA 2K23 Arcade Edition. This game will be available on Apple iOS devices and will allow players to compete against each other in quick, 3-on-3 basketball matches.\n\nThe game promises to deliver fast-paced, action-packed gameplay, with players able to choose from a variety of NBA teams and players, including some of the biggest" } ] For more details on the generation parameters, please take a look at Controlling Text Generation below. To send your requests in Python, you can take advantage of InferenceClient, a convenient utility available in the huggingface_hub Python library: bash pip install huggingface_hub InferenceClient is a helpful wrapper that allows you to make calls to the Inference API and Inference Endpoints easily: python from huggingface_hub import InferenceClient client = InferenceClient(model="meta-llama/Llama-2-70b-chat-hf", token=YOUR_TOKEN) output = client.text_generation("Can you please let us know more details about your ") print(output) If you don't want to pass the token explicitly every time you instantiate the client, you can use notebook_login() (in Jupyter notebooks), huggingface-cli login (in the terminal), or login(token=YOUR_TOKEN) (everywhere else) to log in a single time. The token will then be automatically used from here. In addition to Python, you can also use JavaScript to integrate inference calls inside your JS or node apps. Take a look at huggingface.js to get started! | [
0.005509968381375074,
0.014770792797207832,
0.06157200038433075,
-0.02631816640496254,
0.10663767158985138,
0.02799798734486103,
0.061085909605026245,
0.06289499998092651,
0.0060805375687778,
-0.01893317885696888,
-0.061207447201013565,
0.02596762403845787,
0.014566008001565933,
0.0326751247048378,
0.02202458307147026,
-0.06547219306230545,
0.008191077038645744,
0.007838242687284946,
0.0011359687196090817,
0.010390179231762886,
0.010519369505345821,
-0.020738257095217705,
-0.006388076581060886,
-0.03561073914170265,
0.002119767013937235,
-0.0694240853190422,
-0.01918443664908409,
0.07045833021402359,
-0.007577213924378157,
-0.013481209054589272,
-0.10440502315759659,
-0.03227538987994194,
-0.023046113550662994,
-0.0899730697274208,
0.034840650856494904,
0.022936241701245308,
-0.13772501051425934,
0.03244567662477493,
0.045137401670217514,
-0.004144993145018816,
0.009457306936383247,
-0.04508541524410248,
-0.03751477599143982,
0.022251030430197716,
0.015338719822466373,
-0.05976127088069916,
-0.15519453585147858,
0.06084002926945686,
-0.023842839524149895,
-0.061342932283878326,
-0.062237776815891266,
0.06868411600589752,
-0.05501251295208931,
0.0017806834075599909,
0.0739687830209732,
0.025680769234895706,
-0.027551665902137756,
-0.08645910769701004,
0.025619396939873695,
0.027264265343546867,
0.029800480231642723,
-0.010493877343833447,
0.0349736325442791,
0.01145846489816904,
0.03084993176162243,
0.015068511478602886,
-0.019586466252803802,
0.004969490692019463,
-0.023850806057453156,
-0.022752508521080017,
-0.027166025713086128,
0.00048554877866990864,
-0.044580355286598206,
-0.05000440031290054,
0.08876557648181915,
-0.06599637866020203,
-0.0070928120985627174,
0.08312661945819855,
0.057194843888282776,
0.009897721000015736,
-0.03961620479822159,
-0.03336498886346817,
0.05363105237483978,
0.02545609138906002,
0.040607597678899765,
0.049975741654634476,
0.028562694787979126,
-0.05436287075281143,
-0.022853435948491096,
0.020349467173218727,
-0.020677855238318443,
-0.08661962300539017,
0.004257085267454386,
0.025342782959342003,
0.05152264982461929,
0.05641398951411247,
-0.0007957079797051847,
0.01932593621313572,
-0.04297251999378204,
-0.10040099173784256,
0.005455458536744118,
-0.03897255286574364,
-0.03310709819197655,
-0.03973665460944176,
-0.02082841284573078,
0.03768366575241089,
0.02740781381726265,
-0.056376516819000244,
-0.07184821367263794,
0.0014375204918906093,
-0.006436850409954786,
0.009830541908740997,
0.04134056717157364,
0.08113497495651245,
-0.0542965792119503,
-0.05382266268134117,
-0.009431425482034683,
-0.006900986656546593,
-0.0005864583654329181,
-0.04071463644504547,
0.028673354536294937,
0.09050952643156052,
0.07096824049949646,
0.006959351245313883,
-0.00847091805189848,
0.06249316781759262,
0.055565692484378815,
0.015124364756047726,
0.03930582106113434,
-0.017520003020763397,
0.031125349923968315,
-0.02068539336323738,
0.05888231843709946,
-0.024574177339673042,
0.012841658666729927,
-0.012456174939870834,
-0.03639797493815422,
-0.09998158365488052,
-0.00259098457172513,
-0.021436825394630432,
0.021789684891700745,
0.016236213967204094,
0.028862683102488518,
-0.04666128009557724,
0.06493401527404785,
0.0013421375770121813,
-0.013854132033884525,
-0.004738620948046446,
0.01125099416822195,
0.043745264410972595,
-0.08132689446210861,
0.03899666294455528,
0.0025401797611266375,
0.005193122196942568,
0.01376732811331749,
0.060973670333623886,
0.029088564217090607,
0.0275106318295002,
-0.06696460396051407,
-0.04495014622807503,
0.034139152616262436,
-0.029535867273807526,
-0.02280065417289734,
0.05479469522833824,
0.01669628731906414,
-0.013669632375240326,
-0.017611688002943993,
-0.006635737139731646,
0.02052343636751175,
0.0018060735892504454,
0.01366487331688404,
-0.040282879024744034,
0.03426521643996239,
-0.01742222160100937,
0.0845375508069992,
0.034623194485902786,
-0.00284945429302752,
0.011671814136207104,
0.02095663547515869,
0.035418182611465454,
-0.07328201085329056,
0.04784531891345978,
-0.009077394381165504,
0.047857463359832764,
0.07202659547328949,
-0.1266409307718277,
0.022996120154857635,
-0.06871252506971359,
0.012455160729587078,
-0.041134268045425415,
-0.022286254912614822,
-0.015891356393694878,
0.12533333897590637,
0.02116263099014759,
0.006846799049526453,
-0.06332917511463165,
-0.06950680166482925,
0.02482030540704727,
0.04595759138464928,
0.06194128841161728,
0.0036379098892211914,
0.02404164895415306,
0.0372554250061512,
-0.06063667684793472,
-0.055167440325021744,
0.08394356817007065,
0.010092957876622677,
-0.0566617026925087,
-0.0019174488261342049,
0.0646190345287323,
-0.01060955785214901,
-0.08681419491767883,
0.043516043573617935,
-0.0758463516831398,
-0.009570680558681488,
-0.060890331864356995,
-0.039433497935533524,
-0.0015541306929662824,
0.02853642776608467,
-0.02208613231778145,
0.17312705516815186,
-0.02820366621017456,
0.03708996623754501,
-0.04902219772338867,
0.01863699033856392,
0.01535307802259922,
0.012769768014550209,
0.04738352447748184,
0.04621465131640434,
-0.046750493347644806,
-0.04326791316270828,
-0.002177310409024358,
0.014912880957126617,
-0.022331977263092995,
-0.02754969336092472,
-0.02593216672539711,
0.041852131485939026,
-0.06002283841371536,
-0.02452079765498638,
0.0018329366575926542,
0.045639097690582275,
0.03718602657318115,
-0.04011161997914314,
-0.001658750930801034,
-0.009909546002745628,
-0.026860157027840614,
0.08031710982322693,
0.027174802497029305,
-0.007329808548092842,
-0.014865230768918991,
-0.08058436959981918,
0.03676581010222435,
0.007327421102672815,
0.044149670749902725,
0.040074899792671204,
0.03432712331414223,
-0.03151000291109085,
0.06396713852882385,
-0.02036646008491516,
0.013593179173767567,
0.0008397676865570247,
-0.016947539523243904,
0.008593421429395676,
-0.0322984904050827,
-0.04010091349482536,
-0.035451535135507584,
-0.01341948751360178,
0.0020899756345897913,
-0.017643213272094727,
-0.008129709400236607,
0.039460282772779465,
-0.03337356075644493,
0.02115878276526928,
0.0060774474404752254,
0.0598568432033062,
0.015390691347420216,
0.04415244981646538,
-0.005369105376303196,
0.015516838058829308,
-0.0016051839338615537,
0.0031703284475952387,
-0.02778647467494011,
0.030010711401700974,
0.09283791482448578,
0.013460934162139893,
-0.034956127405166626,
-0.026250554248690605,
-0.04632053151726723,
-0.05812181532382965,
-0.005234934855252504,
0.006546157877892256,
0.04276013374328613,
0.025945201516151428,
-0.026278266683220863,
-0.023897377774119377,
0.0030578470323234797,
0.06239458546042442,
-0.021145904436707497,
-0.03614811599254608,
0.017383087426424026,
0.003974887076765299,
-0.0383458212018013,
-0.013527153059840202,
-0.023832455277442932,
-0.0344776026904583,
0.034090105444192886,
-0.005067691206932068,
-0.011777619831264019,
-0.08946754783391953,
-0.004015489015728235,
-0.01248591486364603,
-0.02487127296626568,
-0.0005186532507650554,
-0.016724344342947006,
0.059062790125608444,
-0.0325494222342968,
0.01182490587234497,
0.06594401597976685,
-0.017416086047887802,
-0.0007272508228197694,
-0.0018514856928959489,
-0.02644594945013523,
0.008639225736260414,
-0.009104057215154171,
0.021291935816407204,
-0.035312719643116,
0.046384286135435104,
-0.001484754029661417,
-0.00799913052469492,
0.036604881286621094,
-0.013699247501790524,
-0.007678171619772911,
0.014934808947145939,
-0.004960846621543169,
0.04229487106204033,
0.03295036032795906,
0.0021327801514416933,
-0.03338183835148811,
0.026493214070796967,
-0.012055795639753342,
0.011845980770885944,
0.00615346385166049,
-0.07505930960178375,
0.03323403745889664,
0.011727162636816502,
-0.045733824372291565,
0.031226161867380142,
0.001981170382350683,
-0.031789928674697876,
0.006493657361716032,
-0.0060407547280192375,
-0.011849611066281796,
-0.014783293008804321,
0.00871663261204958,
0.02591697685420513,
0.015668777748942375,
0.014125784859061241,
-0.01280921045690775,
-0.01357845775783062,
0.027101455256342888,
0.021716557443141937,
0.0323750302195549,
0.023539982736110687,
-0.007617752533406019,
0.021770380437374115,
0.02024006098508835,
0.0269809328019619,
-0.032731641083955765,
-0.07977405190467834,
0.03262319415807724,
0.020904038101434708,
-0.006070318166166544,
-0.0063622575253248215,
0.03465340659022331,
0.041470445692539215,
-0.016114046797156334,
0.0002794333267956972,
0.020429592579603195,
-0.006656482815742493,
0.038672514259815216,
0.00633561285212636,
0.013012376613914967,
-0.031020697206258774,
0.023415425792336464,
-0.07206376641988754,
-0.04133674502372742,
0.07335542142391205,
0.02765895426273346,
0.0196911059319973,
-0.015896856784820557,
-0.053094249218702316,
-0.0030063819140195847,
-0.019900787621736526,
0.0021659962367266417,
0.038065630942583084,
-0.03141316771507263,
0.013633438386023045,
0.032874397933483124,
0.009008104912936687,
0.01603488065302372,
0.004297805484384298,
0.02468385361135006,
-0.03009449690580368,
0.040228329598903656,
0.03967136889696121,
0.021720582619309425,
-0.014892209321260452,
0.01598132960498333,
0.022129716351628304,
-0.04986141249537468,
-0.0014464574633166194,
0.026049038395285606,
-0.021250950172543526,
-0.01019140612334013,
-0.017301063984632492,
-0.03971439599990845,
0.02388828992843628,
-0.018878454342484474,
-0.03243013471364975,
-0.008366298861801624,
0.009207089431583881,
0.01029413565993309,
0.017967771738767624,
0.02747802436351776,
-0.001668939832597971,
0.009975938126444817,
-0.07336676865816116,
0.011982386000454426,
-0.015897739678621292,
0.0006369719631038606,
0.024358853697776794,
-0.05055388808250427,
0.030737480148673058,
0.0050655207596719265,
0.04585088789463043,
0.06145315617322922,
-0.004363700747489929,
-0.004613880533725023,
-0.02678837813436985,
0.002321607666090131,
0.04745905101299286,
0.028499362990260124,
0.02037828601896763,
0.007688822690397501,
-0.016338324174284935,
-0.03107960894703865,
0.01973745971918106,
0.004010834731161594,
0.01168027427047491,
-0.012543519958853722,
0.0180338304489851,
-0.02369070053100586,
-0.007307879161089659,
0.004115619231015444,
-0.042013559490442276,
0.006282583344727755,
-0.0431816540658474,
0.007749146781861782,
-0.0016695784870535135,
0.000027655363737721927,
-0.016915637999773026,
-0.006812563166022301,
0.054698821157217026,
0.020634090527892113,
0.04137082025408745,
-0.031608451157808304,
0.0005196744459681213,
0.027240753173828125,
-0.0121999466791749,
0.00004917347905575298,
-0.0025969999842345715,
0.03279169648885727,
0.019904475659132004,
-0.015266350470483303,
-0.031575266271829605,
-0.09625092893838882,
-0.01875002309679985,
-0.016744796186685562,
-0.040445610880851746,
0.002936459379270673,
0.0316113606095314,
-0.06514609605073929,
-0.012589707970619202,
0.06034092232584953,
0.04443087801337242,
0.021661344915628433,
0.03492908924818039,
-0.006954878102988005,
-0.040396660566329956,
-0.05351850390434265,
0.04837014153599739,
-0.012336361221969128,
-0.00037191808223724365,
0.023973889648914337,
0.07516296207904816,
0.03198692202568054,
0.05290592834353447,
0.006085976492613554,
-0.011427467688918114,
-0.02034151740372181,
-0.017549581825733185,
-0.06021352857351303,
0.001336253946647048,
-0.031733643263578415,
-0.034489624202251434,
0.06287260353565216,
-0.02790794149041176,
-0.04530761390924454,
0.04049738124012947,
0.03933393582701683,
-0.03436671942472458,
-0.017282161861658096,
0.02481420896947384,
-0.008323412388563156,
-0.015113175846636295,
-0.010966399684548378,
0.03502168133854866,
-0.03986877202987671,
0.0018903166055679321,
-0.0027577185537666082,
0.013271993957459927,
0.018639199435710907,
0.003194637130945921,
0.006151051726192236,
-0.008392013609409332,
0.029888732358813286,
0.018512800335884094,
0.06722138077020645,
-0.0036501388531178236,
-0.047624435275793076,
0.0002210666862083599,
-0.04106822609901428,
0.03793046623468399,
-0.03288991004228592,
-0.003991037141531706,
0.006188095547258854,
0.013015570119023323,
0.008933245204389095,
0.014319299720227718,
-0.006646948866546154,
0.011721787974238396,
0.06041930988430977,
0.012907418422400951,
0.02123936079442501,
-0.03173539787530899,
0.021309733390808105,
0.02950715273618698,
-0.010653180070221424,
0.011270792223513126,
-0.024983687326312065,
-0.018239066004753113,
-0.011521418578922749,
-0.0176796093583107,
0.03697424754500389,
0.06977546960115433,
-0.043678056448698044,
-0.04209981486201286,
0.011576656252145767,
-0.013644585385918617,
0.0016032493440434337,
-0.023407023400068283,
-0.024728085845708847,
-0.0247935950756073,
0.03636747598648071,
0.03864032402634621,
-0.008500833064317703,
-0.026316862553358078,
0.029896222054958344,
0.025210175663232803,
-0.038634005934000015,
-0.004547875374555588,
0.01877180114388466,
-0.03977029025554657,
0.0014875789638608694,
0.012548438273370266,
-0.04100470617413521,
0.009751832112669945,
0.014227199368178844,
-0.02005518600344658,
-0.022664835676550865,
-0.0030756688211113214,
-0.002395706484094262,
0.015096216462552547,
-0.009762291796505451,
0.00047189430915750563,
0.04803270474076271,
0.0035717077553272247,
0.019775837659835815,
0.020609546452760696,
0.048440493643283844,
0.04188808053731918,
0.0040180860087275505,
0.029340391978621483,
0.00043566912063397467,
0.06091955676674843,
0.03266483172774315,
-0.005185552407056093,
-0.020067265257239342,
-0.005875077098608017,
-0.017620980739593506,
-0.03823547065258026,
0.005370914004743099,
0.0003587636456359178,
0.002374428091570735,
0.0260612890124321,
-0.004441816825419664,
0.030996549874544144,
-0.057862430810928345,
0.06254991888999939,
0.017979782074689865,
0.0395621657371521,
0.00026819034246727824,
0.013513077050447464,
0.0226345956325531,
-0.023744717240333557,
-0.020161768421530724,
-0.006865229457616806,
0.05597618222236633,
-0.08683084696531296,
0.02697749249637127,
-0.010220090858638287,
0.021397637203335762,
0.007008336018770933,
0.020928790792822838,
0.015430728904902935,
-0.03704787418246269,
0.022917192429304123,
0.003957392182201147,
-0.005179648287594318,
0.02547547221183777,
0.01890266127884388,
-0.03154437243938446,
-0.018545646220445633,
-0.02389080822467804,
0.014381134882569313,
-0.017553459852933884,
0.014646010473370552,
-0.026234326884150505,
0.005532045383006334,
0.017601333558559418,
0.011428176425397396,
-0.0275083240121603,
0.00946166180074215,
-0.0010129616130143404,
0.0008407798013649881,
-0.016623476520180702,
-0.04394662380218506,
-0.02043035253882408,
-0.004690180532634258,
-0.020225508138537407,
0.0031905523501336575,
0.023912325501441956,
-0.007003984414041042,
-0.03493135794997215,
0.008485457859933376,
0.03167242556810379,
0.01059134490787983,
0.010248360224068165,
0.0001661304704612121,
0.02673211880028248,
-0.00514795258641243,
-0.027297111228108406,
-0.007580203004181385,
-0.0017414523754268885,
-0.05114872753620148,
-0.016155676916241646,
0.017080478370189667,
-0.005815803539007902,
0.02556493878364563,
0.023318106308579445,
0.048012856394052505,
-0.03089943341910839,
-0.05848425254225731,
0.01630432903766632,
-0.008486384525895119,
-0.024746201932430267,
0.052506737411022186,
0.00225862767547369,
-0.0026934726629406214,
-0.022280434146523476,
0.030779210850596428,
0.02393164485692978,
0.021662214770913124,
-0.0027977973222732544,
0.07018546760082245,
0.001517208875156939,
-0.08173371851444244,
-0.009454830549657345,
0.005187535658478737,
-0.011967829428613186,
0.035485316067934036,
0.04551563039422035,
0.0014794835587963462,
-0.015249153599143028,
0.007424508687108755,
-0.01760409027338028,
-0.04555882513523102,
0.024674952030181885,
0.014123653993010521,
-0.06414186954498291,
-0.051973748952150345,
0.016418224200606346,
-0.02813432179391384,
0.021091409027576447,
-0.03559283912181854,
-0.030541587620973587,
-0.04440605267882347,
-0.04818029701709747,
-0.019303087145090103,
-0.016906794160604477,
0.048336002975702286,
0.009272431023418903,
0.0627111941576004,
0.022721221670508385,
-0.02251564711332321,
-0.001289714127779007,
-0.004488402511924505,
0.04049544036388397,
0.010012146085500717,
-0.023027006536722183,
-0.014399824663996696,
0.009096117690205574,
0.013014729134738445,
-0.0036531707737594843,
-0.043495550751686096,
0.01691661775112152,
0.03746877983212471,
-0.014231482520699501,
-0.012928958982229233,
0.04627014696598053,
0.04522537440061569,
0.03416856750845909,
0.030735552310943604,
0.014777450822293758,
0.008471745066344738,
0.0018473301315680146,
0.0021595912985503674,
-0.030320152640342712,
-0.023801788687705994,
-0.02224820852279663,
-0.013430706225335598,
0.001510312780737877,
-0.0015335186617448926,
0.023247456178069115,
0.00027227174723520875,
0.003274173941463232,
0.005557370372116566,
-0.012994380667805672,
-0.01696767471730709,
-0.054784927517175674,
0.004365249071270227,
0.040229711681604385,
-0.0018659131601452827,
0.020990435034036636,
0.0013684178702533245,
-0.017130598425865173,
-0.04165567457675934,
0.006670346483588219,
-0.00765774492174387,
-0.04945618286728859,
0.015875117853283882,
0.01285505946725607,
-0.01255151629447937,
0.06682952493429184,
0.058369606733322144,
0.010516778565943241,
-0.04919092729687691,
0.00391387240961194
] |
Inference for PROs | osanseviero | September 22, 2023 | inference-pro | community, guide, inference, api, llm, stable-diffusion | https://huggingface.co/blog/inference-pro | Contents - Supported Models - Getting started with Inference for PROs - Applications - Chat with Llama 2 and Code Llama - Code infilling with Code Llama - Stable Diffusion XL - Generation Parameters - Controlling Text Generation - Controlling Image Generation - Caching - Streaming - Subscribe to PRO - FAQ | [
0.020587898790836334,
-0.04476865753531456,
0.08805126696825027,
0.02936822548508644,
0.1400214582681656,
0.02344873733818531,
-0.006755866575986147,
0.05912722647190094,
-0.0039637405425310135,
-0.06116163730621338,
-0.02770620584487915,
0.010072953999042511,
-0.04102468490600586,
0.011794209480285645,
0.004268994554877281,
-0.002218227367848158,
0.03470495715737343,
0.01998443901538849,
0.005360350012779236,
0.05167105793952942,
-0.00176947598811239,
-0.037712983787059784,
-0.010966074652969837,
-0.06324248015880585,
-0.012664568610489368,
-0.04556315019726753,
0.006922032684087753,
0.039559751749038696,
-0.06520769745111465,
-0.03181643784046173,
-0.12454100698232651,
-0.00014365841343533248,
0.028023414313793182,
-0.030923306941986084,
0.01102492306381464,
-0.02798566408455372,
-0.11735209077596664,
0.04176893085241318,
0.0330326072871685,
-0.03720881789922714,
-0.01646619290113449,
-0.042453616857528687,
-0.059634145349264145,
0.04967152699828148,
0.004568643867969513,
-0.04665316268801689,
-0.19432106614112854,
0.07580286264419556,
-0.0440487340092659,
0.007265245076268911,
-0.1071496307849884,
0.037482697516679764,
-0.0165009256452322,
-0.005683164112269878,
0.045185189694166183,
0.028679730370640755,
0.01868121325969696,
-0.04151908680796623,
0.028048090636730194,
0.010720240883529186,
0.055294957011938095,
-0.022524364292621613,
0.015313795767724514,
0.015243024565279484,
0.03034830093383789,
-0.004371942020952702,
0.007609368301928043,
-0.005128694232553244,
-0.09031249582767487,
-0.015915997326374054,
-0.018804939463734627,
-0.02861887775361538,
-0.025890691205859184,
-0.03740891069173813,
0.042177896946668625,
-0.06126204505562782,
-0.08183880895376205,
0.08284290879964828,
0.045966632664203644,
0.010401916690170765,
-0.036553531885147095,
0.018312571570277214,
0.0930560976266861,
0.07220456749200821,
0.007580986712127924,
0.017732301726937294,
0.0678224265575409,
-0.04307152330875397,
0.002932123839855194,
-0.009891883470118046,
-0.020510388538241386,
-0.13018059730529785,
-0.01733393594622612,
0.013423374854028225,
0.06204614415764809,
-0.03239814192056656,
0.003282407531514764,
0.012277623638510704,
0.0030066599138081074,
-0.016639895737171173,
-0.03103461302816868,
-0.03265486657619476,
0.0038787447847425938,
-0.06424497812986374,
-0.058692045509815216,
0.01939200796186924,
-0.028845805674791336,
-0.0870199128985405,
-0.0800480768084526,
0.026177844032645226,
-0.008513650856912136,
0.03821859881281853,
0.03914192318916321,
0.02870807982981205,
-0.08863559365272522,
0.021518096327781677,
-0.012889394536614418,
0.02357436902821064,
-0.0021326791029423475,
0.036525625735521317,
0.015922006219625473,
0.09979724884033203,
0.084259994328022,
0.026646548882126808,
-0.0034649884328246117,
0.08810482174158096,
0.05545695498585701,
0.02270662412047386,
-0.04209627956151962,
-0.029234927147626877,
0.021623222157359123,
-0.03609488531947136,
0.038074757903814316,
-0.04646068811416626,
0.030476244166493416,
-0.07453124970197678,
-0.04409255087375641,
-0.06158526614308357,
0.0021483167074620724,
-0.025948794558644295,
-0.032194893807172775,
0.03809572383761406,
0.0293272752314806,
0.031867656856775284,
0.04240930825471878,
-0.018143953755497932,
-0.03213748708367348,
0.0373711995780468,
-0.004231561440974474,
-0.0012552436674013734,
-0.022503890097141266,
0.02129669114947319,
-0.021303411573171616,
-0.07098200172185898,
-0.000615790719166398,
0.03541848808526993,
-0.0016058912733569741,
0.02158471941947937,
-0.0886756181716919,
-0.014597119763493538,
0.022359522059559822,
-0.028498778119683266,
-0.005582870449870825,
0.040977273136377335,
0.06481221318244934,
-0.03447366878390312,
-0.01745542325079441,
0.03146659582853317,
-0.0037792797666043043,
-0.04276060685515404,
-0.013919640332460403,
-0.05079134926199913,
0.04024934396147728,
-0.029477354139089584,
-0.016107510775327682,
0.06413595378398895,
0.05016723647713661,
0.048742204904556274,
-0.007067430764436722,
0.00043634427129291,
-0.04219522699713707,
0.014772439375519753,
-0.029870260506868362,
0.03547103703022003,
0.01550509687513113,
-0.12670010328292847,
0.03691091760993004,
-0.05097492039203644,
-0.010410958901047707,
-0.004358077421784401,
-0.03391555696725845,
0.0045135533437132835,
0.08583119511604309,
0.0074899159371852875,
-0.01177640538662672,
-0.0718703642487526,
-0.07967132329940796,
0.06903880834579468,
0.08672580868005753,
0.07006935030221939,
0.005153401289135218,
0.04035438224673271,
0.061881035566329956,
-0.02811628393828869,
-0.07917364686727524,
0.04259597510099411,
0.031084740534424782,
0.0012383536668494344,
0.01794515736401081,
-0.00423852726817131,
-0.015712125226855278,
-0.10960617661476135,
0.06118619441986084,
-0.02735874243080616,
0.07059847563505173,
-0.018865931779146194,
-0.04219922795891762,
-0.05368145555257797,
0.021046435460448265,
-0.06302158534526825,
0.1388203203678131,
-0.034146688878536224,
-0.021295562386512756,
0.007444973569363356,
-0.024972593411803246,
0.06396739184856415,
0.10617263615131378,
-0.022844642400741577,
0.050355881452560425,
-0.08758653700351715,
-0.014351362362504005,
-0.018712341785430908,
0.01395665854215622,
0.05729016289114952,
0.024101074784994125,
0.0034487543161958456,
-0.0005986039177514613,
-0.006268305238336325,
0.05064989998936653,
-0.027513545006513596,
0.06597866117954254,
0.027628552168607712,
-0.017045143991708755,
0.02503972128033638,
-0.04489237070083618,
-0.05783526226878166,
0.06971929222345352,
0.05194525420665741,
-0.09843632578849792,
0.009015729650855064,
-0.044074054807424545,
0.040864214301109314,
0.020987149327993393,
-0.00005405800766311586,
0.04711580276489258,
-0.0000027113351279695053,
-0.0274430550634861,
-0.011223655194044113,
-0.013284453190863132,
0.026510879397392273,
0.011258483864367008,
-0.023064805194735527,
-0.007134406361728907,
-0.05329981446266174,
-0.006059831008315086,
-0.03485100716352463,
0.031007811427116394,
0.008981922641396523,
-0.03686394542455673,
0.014325049705803394,
0.03459229692816734,
-0.03236275166273117,
0.04086516425013542,
-0.012502782046794891,
0.038030896335840225,
-0.0012945776106789708,
0.04425617307424545,
0.0069052898325026035,
-0.029362080618739128,
-0.015722731128335,
-0.005254857242107391,
-0.006840154528617859,
0.053389567881822586,
0.05287933349609375,
0.004031526856124401,
-0.003036180976778269,
0.005796696990728378,
-0.0349145345389843,
-0.04109649360179901,
0.023038234561681747,
0.017373258247971535,
0.025710294023156166,
-0.012245976366102695,
-0.019689688459038734,
-0.0017910641618072987,
-0.008218293078243732,
0.009818144142627716,
-0.005561023950576782,
-0.038032785058021545,
-0.015508996322751045,
0.019542083144187927,
-0.01986459456384182,
0.00016940620844252408,
-0.00029898423235863447,
-0.027449198067188263,
0.0548727847635746,
0.018781134858727455,
0.002940610283985734,
-0.1297808140516281,
-0.01713455840945244,
0.020288605242967606,
0.03425245359539986,
-0.032572876662015915,
-0.04376893490552902,
0.050029557198286057,
-0.03932171314954758,
-0.01967446692287922,
0.04410194605588913,
-0.0003865577164106071,
0.03338448703289032,
0.03202872723340988,
-0.010896008461713791,
-0.001671978970989585,
0.010129639878869057,
-0.00534737017005682,
0.00873502530157566,
0.021744031459093094,
-0.007446389179676771,
-0.03417186439037323,
0.07667002826929092,
-0.018206331878900528,
0.005558272823691368,
-0.04459424689412117,
0.027874596416950226,
0.02785840816795826,
0.01916963793337345,
0.012494238093495369,
-0.043377835303545,
-0.021309753879904747,
-0.00539699662476778,
-0.0051611182279884815,
0.029756687581539154,
-0.06645207852125168,
0.05229157209396362,
-0.026235559955239296,
-0.013639851473271847,
0.0606372207403183,
0.028770852833986282,
0.019238125532865524,
0.009443634189665318,
0.02500014752149582,
-0.0035024164244532585,
-0.030604833737015724,
0.0027426311280578375,
0.009156293235719204,
-0.004736051429063082,
0.05989127606153488,
-0.023989008739590645,
-0.016916802152991295,
-0.011408847756683826,
0.0075773270800709724,
0.05439358949661255,
0.02893901616334915,
0.014196936041116714,
0.0026329350657761097,
0.01976703479886055,
0.03464421629905701,
-0.046066902577877045,
-0.05843449756503105,
0.022095080465078354,
0.01644410379230976,
0.017050210386514664,
-0.007231380324810743,
0.06315241008996964,
0.03339076787233353,
-0.0020575430244207382,
-0.011702058836817741,
0.02492579072713852,
0.004456186201423407,
0.027794936671853065,
0.005405141972005367,
0.014873243868350983,
-0.01730237528681755,
0.044035010039806366,
-0.030156554654240608,
-0.009257988072931767,
0.07145944982767105,
0.02506401762366295,
-0.0021814159117639065,
-0.03466515615582466,
0.0060480693355202675,
-0.047237295657396317,
-0.002575624966993928,
-0.01926136389374733,
0.019545113667845726,
-0.009122557938098907,
0.03146600350737572,
0.04809214174747467,
0.01890053041279316,
0.006240894552320242,
0.027612673118710518,
-0.006004805210977793,
0.027663350105285645,
0.044538937509059906,
0.046380262821912766,
0.0035534827038645744,
0.023542046546936035,
0.04016943648457527,
0.04881822317838669,
-0.02725134789943695,
-0.00933973677456379,
0.038320694118738174,
-0.008261213079094887,
0.02545168437063694,
-0.05332116037607193,
-0.03190799430012703,
0.0036333980970084667,
-0.005310100503265858,
-0.0008407901041209698,
-0.04985089972615242,
0.022833773866295815,
-0.021935271099209785,
0.010731056332588196,
0.02821236476302147,
-0.05327904224395752,
-0.03234036639332771,
-0.03795403987169266,
0.018839217722415924,
-0.01994064263999462,
-0.02225743979215622,
0.0032439115457236767,
-0.05157529190182686,
0.033885400742292404,
0.006372763309627771,
0.004175734706223011,
0.009593617171049118,
0.0028582836966961622,
0.024588650092482567,
-0.026740694418549538,
-0.06109786778688431,
0.02850133180618286,
0.00886713806539774,
0.013197054155170918,
0.012141245417296886,
-0.017424704506993294,
0.010980799794197083,
-0.015639569610357285,
-0.07260172814130783,
-0.024416282773017883,
0.011633746325969696,
0.022564595565199852,
-0.0066040619276463985,
0.03148156777024269,
-0.02451864629983902,
-0.016747258603572845,
0.022061124444007874,
-0.004692557733505964,
0.027421532198786736,
0.049624305218458176,
-0.016092795878648758,
-0.026429058983922005,
0.021138716489076614,
0.01231986191123724,
0.007728974800556898,
0.015557213686406612,
-0.0006385048618540168,
-0.006884493865072727,
0.03024171106517315,
-0.003663338953629136,
0.011219307780265808,
-0.03163854777812958,
0.046109382063150406,
-0.017091739922761917,
0.01729901134967804,
-0.0016203150153160095,
-0.04264536872506142,
-0.00953804049640894,
-0.006814993917942047,
-0.033890385180711746,
0.00023707760556135327,
0.04549020528793335,
-0.04245969280600548,
0.007564970292150974,
0.03229021653532982,
0.060492876917123795,
0.009946159087121487,
0.03209942206740379,
0.005194015800952911,
-0.02784324623644352,
-0.013831974007189274,
0.06084839999675751,
0.005932032596319914,
-0.009667306207120419,
0.007838685065507889,
0.05557306855916977,
0.01539506483823061,
0.04799517244100571,
0.043062400072813034,
0.003100317670032382,
-0.015402346849441528,
0.005942103918641806,
-0.021706098690629005,
-0.021260078996419907,
0.009438239969313145,
-0.006946633569896221,
0.022727470844984055,
-0.007519003935158253,
-0.019921299070119858,
0.019573835656046867,
0.030976049602031708,
-0.014776202850043774,
-0.00481543829664588,
0.0024467241019010544,
0.006505364552140236,
0.002652474446222186,
-0.03968418017029762,
0.0384581983089447,
-0.028444014489650726,
0.008646746166050434,
0.007572914473712444,
-0.018884634599089622,
-0.005249463953077793,
0.008925814181566238,
-0.025048715993762016,
-0.04052268713712692,
0.0018781995167955756,
0.0196538046002388,
0.028749121353030205,
-0.003384245093911886,
-0.017327988520264626,
0.011934650130569935,
0.007920367643237114,
0.05638623982667923,
-0.012095678597688675,
0.0016590171726420522,
0.013348410837352276,
-0.022371022030711174,
0.012899834662675858,
0.05372953414916992,
-0.01997864991426468,
0.0006375467637553811,
0.04165002703666687,
-0.0073823994025588036,
0.027085280045866966,
-0.05446276068687439,
0.03490827605128288,
0.007510567549616098,
0.028620349243283272,
0.003949599340558052,
-0.0243135504424572,
-0.04182715713977814,
-0.0061282142996788025,
-0.024009035900235176,
0.04429469257593155,
0.040031444281339645,
-0.03711775317788124,
-0.018535269424319267,
-0.002905568340793252,
0.013420015573501587,
-0.03177095949649811,
0.010116352699697018,
0.001827322761528194,
0.008963637053966522,
0.03548673167824745,
0.04675210267305374,
-0.02103453315794468,
0.020126355811953545,
-0.02267456240952015,
-0.0008070974727161229,
-0.03196628391742706,
0.02079557254910469,
0.025730252265930176,
-0.009691854007542133,
0.03799273073673248,
0.02334902063012123,
-0.03659828007221222,
0.02785961888730526,
0.035960957407951355,
0.009810524992644787,
0.01339772343635559,
0.014078871347010136,
-0.0064377328380942345,
-0.011376717127859592,
-0.007183602079749107,
-0.0006797969108447433,
0.04844903573393822,
-0.01620386727154255,
0.01947932317852974,
0.012148684822022915,
0.03858615830540657,
0.04656941816210747,
-0.001207401743158698,
-0.017650289461016655,
0.01812884770333767,
0.05728892609477043,
0.04218202829360962,
0.0010150595335289836,
0.008135982789099216,
-0.012172292917966843,
-0.015302799642086029,
-0.031049201264977455,
0.0019633180927485228,
-0.022685851901769638,
0.024615034461021423,
0.03743547946214676,
0.0013361659366637468,
0.021382709965109825,
-0.057334642857313156,
0.0848906859755516,
0.04839459806680679,
0.04608819633722305,
0.008050614036619663,
-0.005358567927032709,
-0.02053513191640377,
0.0021558175794780254,
0.001712797791697085,
0.007110795471817255,
0.01761920005083084,
-0.024559585377573967,
0.022723017260432243,
-0.005391523241996765,
0.01811331696808338,
0.014165867120027542,
0.0030618191231042147,
0.04129117354750633,
-0.001455218531191349,
0.021525049582123756,
-0.037465039640665054,
0.035553738474845886,
-0.00023187797341961414,
0.0039876303635537624,
-0.004148572217673063,
-0.04217172786593437,
-0.0455448292195797,
0.012060579843819141,
-0.006467326544225216,
-0.00014917613589204848,
-0.024743450805544853,
0.03783702477812767,
0.043270669877529144,
-0.003097154200077057,
0.0011690258979797363,
-0.0249201450496912,
0.0013716175453737378,
0.002971180947497487,
0.017327455803751945,
-0.01737319864332676,
-0.05166317895054817,
0.004377751145511866,
0.016508398577570915,
0.001185002620331943,
0.013232649303972721,
0.008712910115718842,
-0.024694712832570076,
0.0062956842593848705,
-0.01232063863426447,
-0.009035916067659855,
-0.01853298209607601,
0.020014265552163124,
0.008665326982736588,
-0.048963744193315506,
0.013724309392273426,
0.009353700093925,
-0.03328405320644379,
-0.02935318648815155,
-0.02523602545261383,
0.019015224650502205,
-0.016372401267290115,
-0.0027982257306575775,
0.05547839403152466,
0.009036058560013771,
-0.010367590002715588,
-0.0300799198448658,
-0.033994462341070175,
-0.04313815012574196,
0.020992159843444824,
0.014585641212761402,
0.0014253270346671343,
-0.016682349145412445,
-0.012400059960782528,
0.019729843363165855,
0.03545604273676872,
-0.02756340801715851,
0.03203921020030975,
0.03951779007911682,
-0.004654235206544399,
-0.027096999809145927,
-0.016953207552433014,
0.06908681243658066,
-0.0172667745500803,
0.022420527413487434,
0.03763873502612114,
0.015350811183452606,
-0.02721526473760605,
-0.012293683364987373,
0.01204600278288126,
-0.03297578915953636,
0.04437767714262009,
-0.012446141801774502,
-0.036507509648799896,
-0.03359571844339371,
-0.0022284972947090864,
-0.02167138271033764,
-0.005258430726826191,
-0.03088875114917755,
-0.04237311705946922,
-0.026070019230246544,
-0.025154786184430122,
-0.01756313070654869,
0.002376986900344491,
0.0581379309296608,
0.016390258446335793,
0.03869866579771042,
0.0014330004341900349,
-0.02226092666387558,
-0.008552816696465015,
-0.006976085249334574,
0.029239801689982414,
0.03668861463665962,
-0.01708071306347847,
-0.02326369099318981,
-0.01250755600631237,
0.013530467636883259,
-0.034123197197914124,
-0.05881297588348389,
-0.004066449124366045,
0.014094710350036621,
-0.0017038302030414343,
-0.006585993804037571,
-0.003374082501977682,
0.019484641030430794,
0.045621149241924286,
0.03957955166697502,
0.0028720858972519636,
-0.006565421354025602,
0.019576244056224823,
-0.009451151825487614,
-0.059368669986724854,
-0.01012958399951458,
-0.006547538563609123,
0.004844123497605324,
0.008801481686532497,
0.02641664817929268,
0.006382012274116278,
0.012103739194571972,
-0.01463303156197071,
0.005865152459591627,
-0.0008748380350880325,
-0.011550799943506718,
-0.03263640031218529,
0.014629863202571869,
-0.016949214041233063,
-0.006698248442262411,
-0.018448591232299805,
-0.008217009715735912,
0.016096333041787148,
-0.018972309306263924,
-0.028829405084252357,
0.004769311752170324,
-0.018250765278935432,
0.01066760253161192,
0.033016614615917206,
0.00816049799323082,
0.08186753839254379,
0.07637137919664383,
-0.0014170825015753508,
-0.01884750835597515,
0.01862381026148796
] |
Llama 2 on Amazon SageMaker a Benchmark | philschmid | September 26, 2023 | llama-sagemaker-benchmark | guide, inference, llm, aws | https://huggingface.co/blog/llama-sagemaker-benchmark | Benchmark To benchmark the real-world performance of Llama 2, we tested 3 model sizes (7B, 13B, 70B parameters) on four different instance types with four different load levels, resulting in 60 different configurations: - Models: We evaluated all currently available model sizes, including 7B, 13B, and 70B. - Concurrent Requests: We tested configurations with 1, 5, 10, and 20 concurrent requests to determine the performance on different usage scenarios. - Instance Types: We evaluated different GPU instances, including g5.2xlarge, g5.12xlarge, g5.48xlarge powered by NVIDIA A10G GPUs, and p4d.24xlarge powered by NVIDIA A100 40GB GPU. - Quantization: We compared performance with and without quantization. We used GPTQ 4-bit as a quantization technique. As metrics, we used Throughput and Latency defined as: - Throughput (tokens/sec): Number of tokens being generated per second. - Latency (ms/token): Time it takes to generate a single token We used those to evaluate the performance of Llama across the different setups to understand the benefits and tradeoffs. If you want to run the benchmark yourself, we created a Github repository. You can find the full data of the benchmark in the Amazon SageMaker Benchmark: TGI 1.0.3 Llama 2 sheet. The raw data is available on GitHub. If you are interested in all of the details, we recommend you to dive deep into the provided raw data. | [
-0.011581671424210072,
-0.0053094979375600815,
0.014821996912360191,
0.03797536715865135,
0.02526005357503891,
0.020503925159573555,
0.03512309864163399,
0.02806808613240719,
-0.017067188397049904,
-0.04878130182623863,
0.05106838047504425,
0.059183523058891296,
-0.028964869678020477,
0.09407761693000793,
0.04499376192688942,
-0.009419295936822891,
0.002156780334189534,
0.013543921522796154,
0.0357711985707283,
-0.005020885728299618,
0.012141413986682892,
-0.023342518135905266,
0.03216148540377617,
-0.04104311019182205,
-0.05096781253814697,
0.020554980263113976,
-0.023314187303185463,
0.02381163090467453,
0.006444506347179413,
-0.025120986625552177,
-0.09927044063806534,
-0.004235269967466593,
-0.016384512186050415,
0.014679016545414925,
0.04161740839481354,
-0.048069197684526443,
-0.1274857372045517,
0.06688994914293289,
0.03625529631972313,
-0.07574941217899323,
0.01910482533276081,
-0.03744301572442055,
-0.015767168253660202,
0.040942177176475525,
-0.039700016379356384,
0.04948853328824043,
-0.04543650895357132,
-0.009096816182136536,
-0.012924280017614365,
0.009239689446985722,
-0.15032437443733215,
0.07140476256608963,
0.02186841331422329,
-0.03892216086387634,
0.06464794278144836,
0.04752418026328087,
0.052568625658750534,
-0.018384099006652832,
-0.0022038514725863934,
0.028424521908164024,
0.06130016967654228,
-0.045804210007190704,
0.05978511646389961,
-0.021182512864470482,
0.019499335438013077,
-0.012755203060805798,
0.01109370868653059,
0.04316684231162071,
-0.015717756003141403,
-0.003302968805655837,
-0.022122228518128395,
0.0032264376059174538,
0.010527940467000008,
-0.041057370603084564,
-0.012287886813282967,
-0.01805151253938675,
-0.001450323616154492,
0.005394700448960066,
0.04805470630526543,
0.05505913868546486,
-0.04825865477323532,
0.07411091774702072,
0.0015738771762698889,
0.003246683394536376,
-0.014196122996509075,
0.05487106367945671,
0.05617770552635193,
-0.0631147250533104,
-0.027764353901147842,
0.07680094242095947,
-0.014494477771222591,
-0.05847354978322983,
0.02696234919130802,
0.01085799653083086,
0.02638031356036663,
0.0051997206173837185,
0.04888920858502388,
-0.05481377989053726,
-0.01036517508327961,
-0.01898839697241783,
0.01958821900188923,
-0.05484316498041153,
0.06484843045473099,
-0.03665032610297203,
-0.028325431048870087,
0.05562875419855118,
-0.07565200328826904,
-0.13232341408729553,
0.01805134490132332,
0.03182310238480568,
-0.007329707965254784,
-0.0018759407103061676,
0.027703048661351204,
0.0673501119017601,
-0.0910685583949089,
0.06550488620996475,
-0.03096272423863411,
0.004167172126471996,
0.0006102230399847031,
0.043670155107975006,
0.0691700130701065,
0.08424597233533859,
0.08430754393339157,
-0.06800998747348785,
0.01947827637195587,
0.0551784373819828,
0.08548058569431305,
-0.00743713416159153,
-0.00021575839491561055,
-0.0005473208730109036,
0.0630214512348175,
-0.06221361830830574,
0.04427025467157364,
-0.021188929677009583,
0.0035459070932120085,
-0.07853691279888153,
-0.026627887040376663,
-0.05257966369390488,
0.0041475058533251286,
-0.038036152720451355,
-0.02163177728652954,
0.005821596831083298,
0.017385641112923622,
-0.028753653168678284,
0.052538350224494934,
0.03167286142706871,
-0.031154779717326164,
-0.0401347279548645,
-0.008151507936418056,
-0.03854980692267418,
-0.14219845831394196,
0.04909166321158409,
-0.08058793842792511,
-0.019403504207730293,
0.05515303462743759,
-0.014014936983585358,
-0.03622201830148697,
-0.021815115585923195,
-0.11122206598520279,
-0.02673460729420185,
-0.0038637553807348013,
-0.01756449043750763,
-0.005545342806726694,
-0.026943091303110123,
0.022296292707324028,
0.0523831732571125,
0.007534970995038748,
-0.027783459052443504,
-0.036626216024160385,
0.009178710170090199,
-0.01911880262196064,
0.0376407653093338,
0.0705249235033989,
-0.011228187941014767,
-0.0361209474503994,
0.0831473246216774,
0.03848373517394066,
0.04240112379193306,
0.05150677263736725,
-0.0185890831053257,
-0.017291277647018433,
-0.015197323635220528,
-0.022425075992941856,
0.06664303690195084,
0.04142988845705986,
-0.10330154746770859,
-0.019401416182518005,
0.010540400631725788,
-0.007320558186620474,
-0.0603468231856823,
-0.040522169321775436,
0.01597403734922409,
0.0651036724448204,
-0.007430214900523424,
-0.03606865555047989,
-0.021677350625395775,
0.011544767767190933,
0.08738984912633896,
0.10049500316381454,
0.0021263828966766596,
0.012688668444752693,
0.0727904662489891,
0.007260069716721773,
-0.012373019941151142,
-0.09674270451068878,
0.0029513314366340637,
0.01769900694489479,
0.005703122355043888,
0.005019211210310459,
-0.05105088651180267,
0.00964007806032896,
-0.10774622857570648,
-0.014649925753474236,
0.00493404408916831,
0.03019600734114647,
0.00447509903460741,
0.02110634371638298,
-0.03037182055413723,
0.08102643489837646,
0.0027045675087720156,
0.15287524461746216,
-0.026404617354273796,
0.03106994368135929,
-0.040517374873161316,
0.00495745288208127,
0.05241983011364937,
-0.006906973663717508,
0.03320322185754776,
0.05800792947411537,
-0.06026412546634674,
0.014153560623526573,
-0.0844084843993187,
-0.014523579739034176,
0.05090748891234398,
0.041298557072877884,
-0.02420421876013279,
-0.03501974418759346,
-0.001279359683394432,
0.06815110892057419,
0.010256192646920681,
0.01743856631219387,
0.03482520952820778,
0.01634540595114231,
0.059902288019657135,
-0.01674366369843483,
-0.05745388939976692,
0.0034475342836230993,
-0.033026766031980515,
-0.05446258932352066,
-0.031181609258055687,
-0.08057647943496704,
0.010640177875757217,
0.0632789134979248,
0.03679148852825165,
0.000770845974329859,
-0.04218857362866402,
-0.04439287260174751,
-0.018632540479302406,
-0.05147703364491463,
0.03812802955508232,
0.02432403154671192,
0.0006805749144405127,
-0.001051057013683021,
0.0057681854814291,
0.022007808089256287,
-0.017563005909323692,
-0.018581410869956017,
-0.030874663963913918,
-0.024185920134186745,
-0.06219734996557236,
0.03567985072731972,
-0.009522732347249985,
0.011012890376150608,
-0.009090709500014782,
-0.0004984738188795745,
-0.017483944073319435,
0.017606157809495926,
-0.016115644946694374,
-0.01503145880997181,
-0.027810610830783844,
0.042390309274196625,
-0.034889668226242065,
0.06729654222726822,
0.03540653735399246,
-0.0010650672484189272,
-0.0020834733732044697,
0.03414556384086609,
-0.041381388902664185,
-0.04601116478443146,
0.027099329978227615,
0.050062019377946854,
-0.005411387886852026,
0.017585396766662598,
0.014635685831308365,
-0.0022266884334385395,
-0.03010437823832035,
-0.010984167456626892,
-0.022317029535770416,
0.0012201190693303943,
0.022637344896793365,
-0.03200916573405266,
-0.01199279073625803,
-0.03493822365999222,
0.008597617968916893,
-0.024151179939508438,
-0.014309986494481564,
-0.010578765533864498,
0.050884440541267395,
-0.09402784705162048,
-0.017437897622585297,
-0.017678815871477127,
0.0008052493794821203,
-0.038364917039871216,
-0.028255287557840347,
0.08453043550252914,
-0.02664608135819435,
-0.014631652273237705,
0.058596089482307434,
0.009607721120119095,
-0.003548357868567109,
-0.0130652766674757,
-0.018216153606772423,
-0.0035120451357215643,
0.05391087755560875,
-0.021412763744592667,
-0.005084413103759289,
0.023463182151317596,
0.0016985379625111818,
0.0032445869874209166,
0.008000140078365803,
-0.016508329659700394,
-0.02762419730424881,
-0.05324868857860565,
0.018847811967134476,
-0.0018010755302384496,
-0.03572704643011093,
0.03789602965116501,
-0.004466817248612642,
-0.02506161853671074,
-0.016675671562552452,
-0.0016404696507379413,
0.023205935955047607,
-0.03957896679639816,
-0.018298806622624397,
0.010894264094531536,
0.0441739484667778,
0.049277499318122864,
0.03970026969909668,
0.01740386337041855,
0.009472490288317204,
0.04984165355563164,
-0.004555665887892246,
0.022171152755618095,
0.037476226687431335,
0.027054302394390106,
-0.03930474817752838,
0.05347849056124687,
-0.025245601311326027,
-0.011661919765174389,
0.019689437001943588,
-0.009617215022444725,
0.025410078465938568,
0.016206661239266396,
-0.023118630051612854,
-0.012059414759278297,
0.01816548779606819,
0.0009797761449590325,
-0.024317346513271332,
-0.04175209254026413,
0.02842594124376774,
0.02141810581088066,
0.014404486864805222,
-0.04428953677415848,
0.005410950630903244,
0.03050936572253704,
-0.008927968330681324,
-0.016815543174743652,
-0.0032193316146731377,
-0.02066875621676445,
0.0344645120203495,
-0.02093103714287281,
0.003018959192559123,
-0.024833496659994125,
-0.0026241973973810673,
-0.024706019088625908,
0.016874980181455612,
0.03834732621908188,
0.029858892783522606,
0.022679921239614487,
-0.04996936023235321,
-0.011056585237383842,
-0.018156230449676514,
0.013839020393788815,
0.0012726628920063376,
-0.009214118123054504,
-0.033248595893383026,
0.006725235376507044,
0.019684601575136185,
0.006988144014030695,
-0.007673046551644802,
0.004632317461073399,
0.01114056259393692,
0.020364174619317055,
-0.034056901931762695,
0.025262750685214996,
-0.005815308541059494,
-0.0662572830915451,
0.056416578590869904,
0.0555720217525959,
-0.009044243022799492,
0.05102693289518356,
0.0016060885973274708,
-0.01150588784366846,
0.02875712141394615,
0.0006994375144131482,
-0.03074062429368496,
-0.007883945479989052,
0.03436733037233353,
0.026809565722942352,
-0.027843058109283447,
0.03440367802977562,
-0.009937695227563381,
0.03534369543194771,
0.034169863909482956,
0.03131312131881714,
0.05215921998023987,
0.017908243462443352,
0.02374683879315853,
-0.03338238596916199,
0.002946473192423582,
-0.021642902866005898,
-0.04082069545984268,
0.04861222207546234,
-0.008921151980757713,
0.0029046519193798304,
-0.010838160291314125,
-0.016688011586666107,
-0.02602195367217064,
-0.03597757965326309,
-0.03097127377986908,
-0.01370239071547985,
-0.0015942573081701994,
0.0005888415616936982,
0.0064299884252250195,
-0.028371380642056465,
0.0018334717024117708,
-0.004899006336927414,
-0.017570950090885162,
0.000517688924446702,
0.021043865010142326,
-0.009775766171514988,
-0.010688237845897675,
0.020878301933407784,
-0.002614365890622139,
0.010535125620663166,
-0.01504033338278532,
-0.02282284013926983,
0.029748011380434036,
0.024595119059085846,
-0.04707631841301918,
-0.015709547325968742,
-0.00587112782523036,
0.0033353769686073065,
0.025799747556447983,
0.003046865575015545,
-0.00877305492758751,
0.015142207965254784,
0.018992969766259193,
-0.03160613775253296,
-0.015522193163633347,
-0.026660505682229996,
-0.020648477599024773,
0.021993864327669144,
0.03508387878537178,
-0.03809577599167824,
0.014575320295989513,
0.02953897975385189,
0.015633316710591316,
0.04400743544101715,
-0.00034927454544231296,
0.007757893297821283,
-0.0034517308231443167,
0.06462069600820541,
0.05099699646234512,
0.030703306198120117,
-0.02574542909860611,
0.055175866931676865,
0.0314575657248497,
-0.05224955454468727,
-0.03819179907441139,
0.008034887723624706,
-0.04268337041139603,
0.003302312921732664,
0.025741955265402794,
0.042309511452913284,
0.1095990464091301,
0.01683691516518593,
0.039709072560071945,
0.0450424887239933,
-0.017116982489824295,
0.045789603143930435,
-0.06942460685968399,
0.017277302220463753,
0.0045930976048111916,
-0.011025088839232922,
0.028791960328817368,
-0.006285342387855053,
0.0020209173671901226,
0.01819668523967266,
0.028917260468006134,
-0.06436755508184433,
-0.027816597372293472,
-0.007811318151652813,
0.01859463006258011,
0.01752251386642456,
-0.04821459576487541,
0.009856702759861946,
-0.032600075006484985,
-0.027793271467089653,
-0.00003937547080568038,
-0.04094536975026131,
-0.02325408346951008,
0.010501367971301079,
-0.022585861384868622,
-0.02871973253786564,
0.055660855025053024,
0.038111936300992966,
-0.007889389991760254,
-0.03495467081665993,
-0.010130449198186398,
0.013850514777004719,
-0.04502096772193909,
-0.007027896586805582,
0.0061715953052043915,
-0.012437357567250729,
-0.004963784944266081,
-0.010129651054739952,
0.0355667918920517,
0.012382601387798786,
-0.04361870884895325,
-0.02088935300707817,
0.019792135804891586,
-0.024526771157979965,
0.017026469111442566,
0.012600675225257874,
-0.018963510170578957,
0.031168917194008827,
-0.010633723810315132,
-0.049630504101514816,
-0.014560319483280182,
-0.05029427632689476,
-0.008666506968438625,
-0.06140271946787834,
0.04301431030035019,
0.024144945666193962,
-0.03939737379550934,
-0.02460426278412342,
0.011522284708917141,
-0.0057022059336304665,
-0.029124420136213303,
0.04557735472917557,
0.04975400120019913,
-0.006650839000940323,
0.0013551312731578946,
0.012233491986989975,
0.01766783744096756,
0.020426249131560326,
-0.011284305714070797,
0.014770803041756153,
-0.008902359753847122,
0.008940503932535648,
0.04278039559721947,
-0.06097756326198578,
0.02265046164393425,
0.02281111292541027,
-0.07005974650382996,
0.007956031709909439,
0.02471824176609516,
-0.013048134744167328,
0.012677537277340889,
-0.004986776039004326,
0.005871879868209362,
-0.030246427282691002,
-0.005454666446894407,
-0.03292028605937958,
0.05571574345231056,
0.02452355995774269,
0.04193491116166115,
0.0011532418429851532,
0.048972684890031815,
0.06321240216493607,
-0.0000718001538189128,
-0.004731456749141216,
0.008737306110560894,
0.03900379315018654,
0.023139076307415962,
0.04464946687221527,
0.039905156940221786,
-0.0318785160779953,
-0.0007686316967010498,
-0.007824002765119076,
-0.03955831378698349,
-0.0580025278031826,
0.01740250363945961,
0.014343892224133015,
-0.00703574251383543,
-0.01155893411487341,
-0.03837834298610687,
0.039758555591106415,
0.01932031661272049,
-0.0004729415522888303,
0.006075182463973761,
0.02071647346019745,
-0.04095962271094322,
-0.00012064454494975507,
-0.030217919498682022,
0.019963297992944717,
-0.02402043715119362,
-0.017070727422833443,
0.014011207967996597,
0.01685999147593975,
0.024974137544631958,
-0.005072958301752806,
0.00942587573081255,
-0.027841437608003616,
0.023431943729519844,
0.03958609327673912,
0.009085471741855145,
0.03349868208169937,
0.03387610986828804,
0.017343109473586082,
-0.01675422117114067,
-0.008811768144369125,
-0.0317913293838501,
0.010966664180159569,
-0.03680551424622536,
-0.00784157682210207,
-0.014270015992224216,
0.0289688091725111,
0.025470182299613953,
-0.0045642368495464325,
-0.07976784557104111,
-0.020244194194674492,
0.03419286385178566,
-0.03489452973008156,
-0.011716799810528755,
-0.07141390442848206,
-0.011436915025115013,
0.05158589035272598,
0.07144390791654587,
-0.0370740108191967,
0.041846245527267456,
-0.020108869299292564,
0.013418911024928093,
0.04572827368974686,
-0.013326521962881088,
0.008130013011395931,
-0.009467720985412598,
-0.0010102171218022704,
0.021228250116109848,
-0.007754553109407425,
-0.005158813204616308,
0.01052484754472971,
-0.04368496686220169,
0.03130420297384262,
0.008583221584558487,
-0.007060415577143431,
-0.04304571449756622,
0.05184056609869003,
0.042296722531318665,
0.015835173428058624,
0.04085497185587883,
0.0009840220445767045,
-0.021240824833512306,
-0.03771927207708359,
-0.026088830083608627,
0.029945118352770805,
-0.017612192779779434,
-0.02615726739168167,
0.012080042622983456,
-0.038178738206624985,
0.06904052197933197,
-0.001799380057491362,
0.023430148139595985,
0.03235861286520958,
-0.009897449053823948,
0.005063303280621767,
0.004017258528620005,
0.03374052420258522,
0.04319462925195694,
0.03453352302312851,
0.01677331142127514,
-0.010964606888592243,
0.0066965119913220406,
0.005460936110466719,
0.04083884134888649,
-0.04233579337596893,
0.007969272322952747,
-0.0010332620004191995,
0.00016442940977867693,
-0.0503707155585289,
-0.007660471368581057,
0.0017939567333087325,
0.026506206020712852,
-0.05582951754331589,
-0.02084546722471714,
-0.032619427889585495,
-0.007177659776061773,
0.012773863039910793,
-0.04692424461245537,
0.04511948674917221,
0.040169764310121536,
0.039179932326078415,
0.009836545214056969,
-0.06363938003778458,
0.010901845060288906,
-0.034687578678131104,
0.0035375896841287613,
0.04689992964267731,
-0.007781253196299076,
-0.028696367517113686,
-0.0392584465444088,
-0.0012928316136822104,
-0.01025884598493576,
-0.027165831997990608,
0.04727320000529289,
0.012964258901774883,
0.015496707521378994,
0.0011461126850917935,
-0.013134757056832314,
-0.0009123818017542362,
0.01711386628448963,
0.056984104216098785,
0.01971305161714554,
0.01392950490117073,
-0.023571688681840897,
-0.029710041359066963,
-0.04469813406467438,
0.004004412796348333,
0.021570328623056412,
-0.011147377081215382,
-0.004661389160901308,
0.026334861293435097,
0.015984270721673965,
-0.045272860676050186,
0.0021434216760098934,
0.01771247759461403,
0.007325422018766403,
-0.07093682140111923,
0.007075007073581219,
0.008614695630967617,
0.017499106004834175,
-0.054848961532115936,
-0.048384591937065125,
0.007344381883740425,
-0.038309548050165176,
0.0036796077620238066,
-0.015266967937350273,
-0.001544054364785552,
-0.024327408522367477,
-0.0170343816280365,
0.004739639349281788,
0.008830011822283268,
-0.006782413460314274,
0.03822903707623482,
0.013114430010318756,
0.010015081614255905,
0.03662572428584099
] |
Llama 2 on Amazon SageMaker a Benchmark | philschmid | September 26, 2023 | llama-sagemaker-benchmark | guide, inference, llm, aws | https://huggingface.co/blog/llama-sagemaker-benchmark | # Llama 2 on Amazon SageMaker a Benchmark Deploying large language models (LLMs) and other generative AI models can be challenging due to their computational requirements and latency needs. To provide useful recommendations to companies looking to deploy Llama 2 on Amazon SageMaker with the Hugging Face LLM Inference Container, we created a comprehensive benchmark analyzing over 60 different deployment configurations for Llama 2. In this benchmark, we evaluated varying sizes of Llama 2 on a range of Amazon EC2 instance types with different load levels. Our goal was to measure latency (ms per token), and throughput (tokens per second) to find the optimal deployment strategies for three common use cases: - Most Cost-Effective Deployment: For users looking for good performance at low cost - Best Latency Deployment: Minimizing latency for real-time services - Best Throughput Deployment: Maximizing tokens processed per second To keep this benchmark fair, transparent, and reproducible, we share all of the assets, code, and data we used and collected: - GitHub Repository - Raw Data - Spreadsheet with processed data We hope to enable customers to use LLMs and Llama 2 efficiently and optimally for their use case. Before we get into the benchmark and data, let's look at the technologies and methods we used. - Llama 2 on Amazon SageMaker a Benchmark - What is the Hugging Face LLM Inference Container? - What is Llama 2? - What is GPTQ? - Benchmark - Recommendations \& Insights - Most Cost-Effective Deployment - Best Throughput Deployment - Best Latency Deployment - Conclusions | [
-0.039568088948726654,
0.00794841069728136,
0.025211693719029427,
0.003340373747050762,
0.03511778265237808,
0.04912702739238739,
0.05419812723994255,
0.007782529108226299,
-0.000014827069207967725,
-0.020012788474559784,
0.02037397399544716,
0.029264407232403755,
0.014056245796382427,
0.11632056534290314,
0.030602674931287766,
-0.03841560333967209,
-0.010075746104121208,
0.017797235399484634,
0.006290690507739782,
-0.022516394034028053,
0.014579663053154945,
-0.0003324559365864843,
0.001570297172293067,
-0.03587592765688896,
-0.03282542899250984,
0.012951603159308434,
-0.0246098805218935,
-0.010213877074420452,
-0.006080317310988903,
-0.0067400396801531315,
-0.06344236433506012,
0.0007330498192459345,
0.012369485571980476,
0.022984983399510384,
0.06542946398258209,
-0.040343839675188065,
-0.17157907783985138,
0.06467171013355255,
0.020628420636057854,
-0.03936721757054329,
0.007888201624155045,
-0.02817957103252411,
-0.06660789251327515,
0.01277599111199379,
-0.01821141503751278,
0.02458183653652668,
-0.028123673051595688,
0.03631405532360077,
0.007947620004415512,
0.03854501619935036,
-0.15983156859874725,
0.07916127890348434,
0.0164378359913826,
-0.02300318330526352,
0.05635877326130867,
0.03465227410197258,
0.024366125464439392,
-0.05998414009809494,
-0.0286311823874712,
0.010026197880506516,
-0.0062744589522480965,
-0.0687243714928627,
0.032819848507642746,
-0.023047905415296555,
0.055574867874383926,
-0.001013506087474525,
0.012211405672132969,
0.025659149512648582,
-0.04282722994685173,
-0.0356435626745224,
-0.007376285269856453,
-0.024681629613041878,
-0.008580982685089111,
-0.044417865574359894,
-0.011779412627220154,
-0.018970385193824768,
-0.0012059787986800075,
0.029255371540784836,
-0.0036576436832547188,
0.07116754353046417,
-0.07866828888654709,
0.031199723482131958,
0.004535825457423925,
0.021535348147153854,
0.020891092717647552,
0.06422886997461319,
0.04602404311299324,
-0.05810028687119484,
-0.10025293380022049,
0.02012607827782631,
0.014822369441390038,
-0.05176772549748421,
0.010667896829545498,
0.04467273876070976,
0.06896542012691498,
0.014143241569399834,
0.04577907919883728,
0.0033443064894527197,
-0.03471256047487259,
-0.010060705244541168,
0.03644900396466255,
-0.05701206624507904,
0.04045731946825981,
-0.012245487421751022,
-0.04540626332163811,
0.06363528966903687,
-0.048205237835645676,
-0.0975150614976883,
0.0014109702315181494,
0.036716558039188385,
0.010819057002663612,
-0.0016437806189060211,
0.02667968161404133,
0.05570239946246147,
-0.13217484951019287,
0.04707574099302292,
-0.0012316470965743065,
-0.00031320974812842906,
0.03306177258491516,
0.036487504839897156,
0.04304145649075508,
0.09112665802240372,
0.10022830218076706,
-0.0702504962682724,
0.0017334509175270796,
0.054319411516189575,
0.02500448003411293,
0.030844027176499367,
0.000919896352570504,
0.021735163405537605,
0.03835176303982735,
-0.10761868208646774,
0.020795494318008423,
-0.010949249379336834,
0.03632136061787605,
-0.039370276033878326,
0.0034822924062609673,
-0.07278987765312195,
0.04477734863758087,
0.002146621700376272,
-0.00015463115414604545,
0.06570211797952652,
0.061654768884181976,
-0.021547848358750343,
0.09091976284980774,
0.021288976073265076,
-0.043974220752716064,
-0.034015532582998276,
-0.018971174955368042,
0.0047363112680613995,
-0.1444244533777237,
0.04633864387869835,
-0.08833412826061249,
-0.027878137305378914,
0.04551127180457115,
0.05724521353840828,
-0.05403437837958336,
-0.006945241708308458,
-0.08857053518295288,
-0.050343696027994156,
-0.045462172478437424,
-0.024226859211921692,
-0.027132518589496613,
-0.02612829953432083,
0.026216410100460052,
-0.003684850176796317,
0.04678837209939957,
-0.0018645352683961391,
-0.009467843919992447,
0.019235147163271904,
0.02794577367603779,
0.01966426521539688,
0.05153548717498779,
-0.03482045978307724,
-0.01193920522928238,
0.03632735088467598,
0.02410971373319626,
0.0978187546133995,
0.044441141188144684,
-0.0023633833043277264,
-0.03955947980284691,
0.03678829222917557,
0.020005468279123306,
0.04307899996638298,
0.03950538858771324,
-0.0844120904803276,
-0.005999201908707619,
-0.012003583833575249,
0.005346353631466627,
-0.07702480256557465,
-0.02378636784851551,
0.023871200159192085,
0.04380587488412857,
-0.0017639982979744673,
-0.03946878761053085,
-0.018219755962491035,
0.008873382583260536,
0.1297551542520523,
0.10309308767318726,
0.030955230817198753,
0.032312892377376556,
0.08553949743509293,
0.005866566672921181,
0.019325759261846542,
-0.04473961517214775,
0.008624582551419735,
-0.05013579875230789,
-0.014152592048048973,
0.008052540943026543,
0.027563557028770447,
0.004868254065513611,
-0.11136162281036377,
-0.019173679873347282,
-0.0011225658236071467,
0.0060195038095116615,
-0.055364836007356644,
-0.010898616164922714,
-0.019285481423139572,
0.046455543488264084,
0.03925253078341484,
0.14114698767662048,
-0.07085397094488144,
0.014878330752253532,
-0.05915409326553345,
0.005340964533388615,
0.02976500242948532,
0.039478182792663574,
0.04714050889015198,
0.07391651719808578,
-0.051273178309202194,
-0.009540830738842487,
-0.11831532418727875,
-0.012162246741354465,
0.021014930680394173,
0.009919426403939724,
-0.033602938055992126,
-0.01289348118007183,
-0.04125472158193588,
0.037447307258844376,
0.04351755604147911,
0.06418751180171967,
0.023084569722414017,
0.03638182580471039,
0.0676136240363121,
0.021707646548748016,
-0.04715077206492424,
-0.0035119594540446997,
-0.03645843639969826,
-0.018540916964411736,
0.004327723290771246,
-0.07388006150722504,
0.016642313450574875,
0.05523974075913429,
0.049277886748313904,
-0.007572953589260578,
-0.03854862228035927,
-0.0522293858230114,
0.022492541000247,
-0.03419644385576248,
0.03317481279373169,
0.004094815347343683,
0.0061337570659816265,
0.00011181648733327165,
0.020731985569000244,
0.0023988226894289255,
-0.039697740226984024,
-0.021205009892582893,
-0.029506241902709007,
-0.032157234847545624,
-0.043173693120479584,
0.03937080129981041,
0.007620052434504032,
0.023174135014414787,
-0.029315533116459846,
-0.013865879736840725,
-0.005777040030807257,
0.018321868032217026,
-0.016157139092683792,
-0.03698491305112839,
-0.01733504794538021,
0.026413803920149803,
-0.03851743042469025,
0.023871509358286858,
0.028791209682822227,
0.0005907958257012069,
-0.03472468629479408,
0.011965631507337093,
-0.029554098844528198,
-0.03721749782562256,
-0.0014820877695456147,
0.040079500526189804,
0.0017200710717588663,
0.0370369516313076,
0.007541129365563393,
-0.005545348394662142,
-0.021827716380357742,
-0.0034330307971686125,
-0.049713753163814545,
-0.011669773608446121,
0.05776946619153023,
-0.02984112873673439,
-0.026235798373818398,
-0.022537028416991234,
0.011572564952075481,
-0.016201142221689224,
0.0003239487123209983,
0.008448219858109951,
0.026246150955557823,
-0.07607803493738174,
-0.0360553115606308,
-0.06279606372117996,
0.008931929245591164,
-0.022838938981294632,
-0.05441291630268097,
0.09734129905700684,
-0.016779830679297447,
-0.008691481314599514,
0.06434705853462219,
0.02104399912059307,
0.03259120136499405,
0.0090295085683465,
-0.04032476991415024,
0.0038015919271856546,
0.02412152849137783,
-0.028911415487527847,
-0.030852295458316803,
0.01581147126853466,
-0.0035663193557411432,
-0.019873108714818954,
0.008769849315285683,
0.0041541438549757,
-0.028242893517017365,
-0.02437846176326275,
-0.002526005497202277,
0.010793828405439854,
-0.03494272008538246,
0.03236568346619606,
-0.024735070765018463,
-0.013067959807813168,
-0.014027461409568787,
-0.010531900450587273,
-0.002734354929998517,
-0.08874228596687317,
0.021410003304481506,
-0.01011004950851202,
0.04756460711359978,
0.06851513683795929,
0.04311800375580788,
0.029857929795980453,
-0.007852080278098583,
0.03912372887134552,
-0.003275013528764248,
0.04533473029732704,
0.030179889872670174,
-0.003184279426932335,
-0.03148366138339043,
0.05216813459992409,
-0.018151869997382164,
-0.026697445660829544,
0.016449136659502983,
-0.00486794114112854,
0.02099282667040825,
0.03235471993684769,
0.002784033538773656,
0.012629033997654915,
0.005281928461045027,
0.017264919355511665,
-0.002582492073997855,
-0.060483042150735855,
0.03209702670574188,
-0.007072712294757366,
0.0031223485711961985,
-0.002596776932477951,
0.025625286623835564,
0.025943081825971603,
-0.027814675122499466,
0.01967693492770195,
0.029436733573675156,
-0.014428483322262764,
0.06657934188842773,
-0.024329988285899162,
0.002521880902349949,
-0.03624790161848068,
-0.010355310514569283,
-0.03363883122801781,
-0.004401187412440777,
0.029485346749424934,
0.04915107414126396,
-0.011285221204161644,
-0.017130553722381592,
-0.019577044993638992,
-0.022352883592247963,
0.024516919627785683,
-0.0017650802619755268,
0.017626242712140083,
-0.045543257147073746,
0.01842327229678631,
0.0325724296271801,
-0.00004483452721615322,
-0.018772894516587257,
-0.02127135545015335,
-0.01585300825536251,
0.00782753899693489,
-0.061189230531454086,
0.01568571664392948,
-0.004189431667327881,
-0.05781344696879387,
0.023901939392089844,
0.02100379392504692,
0.0020965521689504385,
0.01453376468271017,
-0.0013933224836364388,
-0.038433559238910675,
0.02121543511748314,
0.00021624354121740907,
0.007469533942639828,
0.0037161021027714014,
0.024017848074436188,
0.03665811941027641,
0.019050898030400276,
0.015472499653697014,
-0.0023822009097784758,
0.029128817841410637,
0.02329094707965851,
0.01397413108497858,
0.02133185788989067,
-0.010755632072687149,
0.016882555559277534,
-0.03064928576350212,
0.020730463787913322,
-0.029511814936995506,
-0.0006860372959636152,
0.0578317865729332,
0.007320906966924667,
-0.006938023027032614,
-0.0011011079186573625,
-0.015750236809253693,
-0.018857227638363838,
-0.03261079266667366,
-0.004719357471913099,
0.0314643457531929,
-0.0051935347728431225,
0.0023697027936577797,
-0.003837075550109148,
-0.041660379618406296,
-0.005994001869112253,
-0.014980205334722996,
0.01010086853057146,
0.012305510230362415,
0.014306191354990005,
0.0178687684237957,
-0.0045471759513020515,
0.017541179433465004,
-0.011419476009905338,
0.004264634568244219,
-0.014752719551324844,
-0.0345977284014225,
0.04856688156723976,
0.0106836948543787,
-0.03532838076353073,
-0.009306244552135468,
0.00316362245939672,
0.021318282932043076,
0.008335566148161888,
-0.024716993793845177,
0.0029107665177434683,
0.04921799153089523,
0.015006757341325283,
-0.01652717962861061,
0.01695212535560131,
-0.025023840367794037,
-0.031878791749477386,
0.03668052330613136,
0.0022022207267582417,
-0.03202689439058304,
0.024386053904891014,
0.03945043683052063,
-0.006862377282232046,
0.019865714013576508,
-0.011061201803386211,
0.020750634372234344,
0.00809702929109335,
0.02951493300497532,
0.05052566155791283,
0.037633948028087616,
-0.016639942303299904,
0.008782489225268364,
0.012100563384592533,
-0.05074179172515869,
-0.04629916697740555,
-0.0021612970158457756,
-0.0214396920055151,
-0.017649905756115913,
0.007973214611411095,
0.054447025060653687,
0.07562746852636337,
-0.033355388790369034,
0.02359585650265217,
0.008884226903319359,
-0.019594384357333183,
0.018572306260466576,
-0.042219530791044235,
-0.000017019327060552314,
0.01408230047672987,
0.007213171571493149,
0.04485614225268364,
-0.008873832412064075,
0.0006610541022382677,
0.019746745005249977,
-0.0032351682893931866,
-0.05301171913743019,
-0.021971924230456352,
0.011797956191003323,
-0.01945623569190502,
-0.005599505268037319,
-0.06370655447244644,
-0.00021614544675685465,
0.007832672446966171,
-0.01780163124203682,
-0.0027174309361726046,
-0.051188886165618896,
-0.011379177682101727,
0.011762741021811962,
-0.010450426489114761,
-0.017430512234568596,
0.06819219142198563,
0.06442219763994217,
0.025590091943740845,
-0.015275551937520504,
-0.01837051473557949,
0.014073462225496769,
-0.03595960512757301,
-0.010584406554698944,
-0.021371766924858093,
-0.020990191027522087,
0.0050064451061189175,
-0.030634891241788864,
0.03341076150536537,
-0.013570484705269337,
-0.02933415211737156,
-0.007808746304363012,
0.013876629061996937,
-0.013241630047559738,
0.002158446004614234,
0.0034040717873722315,
-0.003722002264112234,
0.03865513950586319,
-0.00835846085101366,
-0.03731362894177437,
-0.0014902425464242697,
-0.0452420599758625,
-0.013190378434956074,
-0.04376990348100662,
0.07067239284515381,
0.039454471319913864,
-0.03665890172123909,
-0.04200374707579613,
0.007497867569327354,
-0.015175996348261833,
0.007413703948259354,
0.0428151935338974,
0.00561431935057044,
0.031219396740198135,
0.014782137237489223,
-0.0022825992200523615,
0.02584134042263031,
0.0009350522886961699,
-0.00003715560887940228,
0.009814418852329254,
-0.042857784777879715,
0.023545606061816216,
0.03705048933625221,
-0.0575130432844162,
0.014188610948622227,
0.010071313008666039,
-0.08103056252002716,
0.026740605011582375,
0.028374014422297478,
-0.005825023632496595,
-0.012515093199908733,
-0.00029999055550433695,
-0.003849511733278632,
0.015519740991294384,
-0.007856477983295918,
-0.02195478416979313,
0.04930141195654869,
0.0012056864798069,
0.01365057285875082,
-0.0004887942341156304,
0.04279957711696625,
0.05331973358988762,
0.021789753809571266,
0.00032741809263825417,
-0.013108691200613976,
0.05798636004328728,
-0.00029934110352769494,
0.03649776428937912,
0.03438032418489456,
-0.03258083015680313,
-0.007692012004554272,
-0.01278313621878624,
-0.015451365150511265,
-0.047529127448797226,
-0.0006562460330314934,
0.02764802798628807,
-0.004165321588516235,
-0.0006447738269343972,
-0.0376729741692543,
0.058542631566524506,
0.025516869500279427,
0.0314403772354126,
0.012657067738473415,
0.020963381975889206,
-0.015030241571366787,
0.010416962206363678,
-0.0017819782951846719,
0.03672143444418907,
-0.004454960115253925,
-0.00783173181116581,
0.02308904007077217,
0.017266307026147842,
0.052402861416339874,
-0.009997314773499966,
0.011207489296793938,
-0.047199878841638565,
-0.00024900108110159636,
0.024353930726647377,
0.00018639196059666574,
0.008090794086456299,
-0.003262867219746113,
-0.019786646589636803,
-0.005593827925622463,
0.015087570995092392,
0.01989140920341015,
-0.023299312219023705,
-0.012147788889706135,
-0.010147975757718086,
-0.020788732916116714,
0.029655231162905693,
0.03929183632135391,
-0.0019342914456501603,
-0.0663156732916832,
-0.0421852208673954,
0.0020282226614654064,
-0.030021462589502335,
-0.009157294407486916,
-0.06253791600465775,
-0.027705546468496323,
0.02695043943822384,
0.015129122883081436,
-0.019508998841047287,
0.02890719845890999,
-0.02035078965127468,
0.002687525935471058,
0.042966198176145554,
0.005882469471544027,
0.018435226753354073,
0.009207552298903465,
0.014731287956237793,
0.05907158553600311,
-0.017547350376844406,
-0.0161714069545269,
0.032194044440984726,
-0.006880400702357292,
0.04432353377342224,
-0.02832874096930027,
-0.02007063664495945,
-0.00757935456931591,
0.02232937142252922,
0.0006448330823332071,
0.0320400670170784,
0.02490113116800785,
0.003682863200083375,
-0.030013201758265495,
0.029177794232964516,
-0.021633177995681763,
0.028624435886740685,
-0.00627526780590415,
-0.01918177679181099,
-0.0012108783703297377,
-0.029233571141958237,
0.05718501657247543,
-0.02155161090195179,
0.019154297187924385,
0.04345610737800598,
-0.016862282529473305,
-0.006415593903511763,
-0.00786865595728159,
0.03800952062010765,
0.01097699161618948,
0.048333629965782166,
0.019249925389885902,
-0.003227254841476679,
-0.00861778948456049,
-0.024260228499770164,
0.03797518461942673,
-0.05107005685567856,
-0.00024667356046848,
-0.030699843540787697,
-0.007360323332250118,
-0.03819539397954941,
0.004007441457360983,
-0.01825743354856968,
0.035075593739748,
-0.04635113477706909,
0.005050897132605314,
-0.03619822859764099,
-0.019466495141386986,
-0.00701605249196291,
-0.02202439308166504,
0.07095055282115936,
0.025815093889832497,
0.040399618446826935,
0.00905920471996069,
-0.048497483134269714,
0.008142273873090744,
-0.011446132324635983,
0.012770324014127254,
0.05765772610902786,
-0.01796581968665123,
-0.005982568953186274,
-0.044152744114398956,
-0.02073616161942482,
-0.0008272508275695145,
-0.026850629597902298,
0.04119785130023956,
0.008942303247749805,
-0.02566954866051674,
0.0025211137253791094,
-0.018625447526574135,
0.04273325949907303,
-0.020113365724682808,
0.05929156020283699,
-0.018401537090539932,
0.012174268253147602,
-0.005631181877106428,
-0.03278658539056778,
-0.07135710120201111,
0.0038743275217711926,
0.01369605865329504,
-0.013394421897828579,
0.030063854530453682,
-0.0003722888941410929,
0.03350028395652771,
-0.0698658674955368,
0.011935106478631496,
-0.011770527809858322,
-0.015033543109893799,
-0.0704728290438652,
-0.029045142233371735,
-0.0032252753153443336,
-0.01558552123606205,
-0.056139979511499405,
-0.04488248750567436,
-0.017449796199798584,
-0.03560495004057884,
0.02632216177880764,
-0.022119836881756783,
-0.011986699886620045,
-0.044719405472278595,
-0.015258118510246277,
0.004044914618134499,
0.04785742238163948,
-0.0006222993833944201,
0.059944890439510345,
0.013693864457309246,
-0.014142432250082493,
0.012759311124682426
] |
Llama 2 on Amazon SageMaker a Benchmark | philschmid | September 26, 2023 | llama-sagemaker-benchmark | guide, inference, llm, aws | https://huggingface.co/blog/llama-sagemaker-benchmark | What is Llama 2? Llama 2 is a family of LLMs from Meta, trained on 2 trillion tokens. Llama 2 comes in three sizes - 7B, 13B, and 70B parameters - and introduces key improvements like longer context length, commercial licensing, and optimized chat abilities through reinforcement learning compared to Llama (1). If you want to learn more about Llama 2 check out this blog post. | [
0.036758407950401306,
0.04661369323730469,
0.082656130194664,
-0.04590756446123123,
0.12152795493602753,
-0.022803250700235367,
0.015415485948324203,
0.06626472622156143,
-0.011219007894396782,
-0.0023962638806551695,
-0.04778336361050606,
0.0511510893702507,
-0.03441738337278366,
0.08201480656862259,
0.03381809592247009,
-0.03156104311347008,
-0.0038516742642968893,
0.031107807531952858,
0.014069423079490662,
-0.05233998969197273,
-0.018896212801337242,
-0.00801689364016056,
0.04480832815170288,
-0.07037995010614395,
-0.0007268783519975841,
0.08238443732261658,
-0.017708778381347656,
0.010865120217204094,
-0.023636091500520706,
0.008553477935492992,
-0.09464770555496216,
-0.027282390743494034,
-0.053479306399822235,
-0.01469595730304718,
0.04148228466510773,
-0.018439218401908875,
-0.12250291556119919,
0.07518888264894485,
0.0051138270646333694,
-0.039328645914793015,
-0.011815495789051056,
-0.018977897241711617,
-0.05508725345134735,
0.011890308931469917,
-0.022411657497286797,
0.04267013072967529,
-0.11606720089912415,
-0.010211868211627007,
-0.0315961092710495,
-0.025062771514058113,
-0.1013607531785965,
0.002734062261879444,
-0.005739036947488785,
-0.0003337798989377916,
0.05738693103194237,
-0.018603051081299782,
0.00364849716424942,
-0.030605614185333252,
0.04834018647670746,
0.037379998713731766,
0.03459460660815239,
0.01578243263065815,
0.06873980909585953,
-0.012081431224942207,
-0.024616049602627754,
0.01103734876960516,
0.008549901656806469,
0.017331475391983986,
-0.03974683955311775,
-0.006181833799928427,
0.05338684469461441,
0.02829008176922798,
-0.12125970423221588,
-0.046663425862789154,
-0.0018031647196039557,
-0.09836924076080322,
-0.04548363760113716,
0.009152538143098354,
0.005579026881605387,
0.009017976932227612,
0.018400102853775024,
0.052156202495098114,
0.08011072874069214,
0.03606748953461647,
-0.03701421618461609,
0.06505924463272095,
0.0416913777589798,
-0.05241767689585686,
-0.018923750147223473,
0.016610877588391304,
-0.0696694403886795,
-0.08214224874973297,
-0.03811889886856079,
-0.020424287766218185,
0.08356472104787827,
-0.032404422760009766,
-0.014902430586516857,
-0.060944750905036926,
-0.0072907391004264355,
-0.02427317388355732,
0.009057814255356789,
-0.06703384220600128,
0.053508590906858444,
-0.042547017335891724,
-0.09781315177679062,
0.06562137603759766,
-0.028790194541215897,
-0.09644030779600143,
-0.10825354605913162,
-0.0046521639451384544,
0.014895372092723846,
-0.03293059021234512,
0.066595159471035,
0.0807269811630249,
-0.06815674901008606,
0.02864277921617031,
-0.031947534531354904,
0.008848603814840317,
-0.0033408445306122303,
0.04786671698093414,
-0.012420948594808578,
0.07094071805477142,
0.06711903214454651,
0.005665546283125877,
0.05548352375626564,
0.047473177313804626,
-0.013667271472513676,
0.008222988806664944,
0.016960369423031807,
0.010737701319158077,
0.003176079597324133,
-0.028637778013944626,
-0.005156246479600668,
0.0020453515462577343,
-0.01402781531214714,
-0.06261878460645676,
-0.004569393116980791,
-0.058399662375450134,
0.058978110551834106,
-0.007488645613193512,
-0.03821850195527077,
0.0053174770437181,
0.013617613352835178,
-0.029658274725079536,
0.05528663843870163,
-0.002151958178728819,
-0.054146017879247665,
-0.007477603852748871,
-0.054498765617609024,
-0.06278301775455475,
-0.07428278774023056,
0.002538393484428525,
-0.026531115174293518,
-0.054969850927591324,
0.07755070924758911,
-0.04240776598453522,
-0.01088835671544075,
-0.05107497051358223,
-0.0758543610572815,
0.006651589646935463,
-0.035965148359537125,
-0.03140325844287872,
-0.05914933606982231,
0.06475073099136353,
0.05306779965758324,
0.012975223362445831,
-0.05697707459330559,
0.10119038820266724,
-0.04139314591884613,
-0.00694420887157321,
0.03523930534720421,
0.032092027366161346,
0.04188026860356331,
0.022926202043890953,
-0.0279583390802145,
0.05254792422056198,
0.049415815621614456,
0.04068012163043022,
0.030217761173844337,
0.025527529418468475,
0.015498879365622997,
-0.01644577831029892,
-0.02659086510539055,
0.02420233003795147,
0.000384061160730198,
-0.07267144322395325,
-0.008276119828224182,
-0.029396090656518936,
-0.006288384553045034,
-0.06033762916922569,
-0.006801822688430548,
0.02864977903664112,
0.0012288294965401292,
0.015834953635931015,
0.017696989700198174,
-0.04269329831004143,
-0.01433302741497755,
0.08660764247179031,
0.09214591234922409,
0.08551707118749619,
0.025816911831498146,
0.0754222422838211,
-0.026240535080432892,
0.018245089799165726,
-0.021645866334438324,
0.037984561175107956,
0.03081689588725567,
-0.041929785162210464,
-0.004036246798932552,
0.030310261994600296,
0.011730202473700047,
-0.0596013106405735,
0.0002826666459441185,
-0.05693672224879265,
0.05554252117872238,
-0.011471866630017757,
0.025777341797947884,
-0.010523308999836445,
0.07005735486745834,
-0.05146021395921707,
0.14427882432937622,
-0.1186632364988327,
-0.013274863362312317,
-0.04613741114735603,
-0.00975977722555399,
0.08311545848846436,
0.06639400124549866,
-0.06032443791627884,
0.06879602372646332,
-0.09696141630411148,
0.034886717796325684,
-0.055513180792331696,
0.01569564826786518,
0.000997933791950345,
0.03648941591382027,
-0.013336374424397945,
-0.01702270656824112,
-0.04774975776672363,
0.0966043546795845,
-0.01308622770011425,
0.019771134480834007,
0.04367462918162346,
-0.0021707401610910892,
0.02954191155731678,
-0.009815926663577557,
-0.05467929318547249,
-0.02987106703221798,
0.005638566333800554,
-0.0010963917011395097,
0.04048240929841995,
-0.05493228882551193,
0.007195026148110628,
0.10366141051054001,
0.029847536236047745,
-0.032280243933200836,
-0.0012038347776979208,
-0.0322890467941761,
-0.03122236393392086,
-0.024091850966215134,
0.009518662467598915,
-0.004886510781943798,
0.014029612764716148,
0.005238229408860207,
0.003062719479203224,
-0.02415291965007782,
-0.0080668730661273,
0.004554807208478451,
0.02393425814807415,
-0.04157596826553345,
0.0021692956797778606,
0.03322287276387215,
0.015962393954396248,
-0.011062624864280224,
0.006366854067891836,
0.025297971442341805,
-0.03377176448702812,
0.05093694105744362,
-0.05049511790275574,
-0.02426265738904476,
-0.02443740889430046,
0.005208153277635574,
0.003936420194804668,
0.07807397842407227,
0.05109795182943344,
0.008421296253800392,
-0.00041909635183401406,
0.024160992354154587,
-0.03832045942544937,
-0.020836101844906807,
0.009298579767346382,
-0.00575566990301013,
0.007778055500239134,
-0.035292837768793106,
0.01900354214012623,
-0.029596567153930664,
-0.03769734129309654,
0.032415106892585754,
0.04961962252855301,
-0.010925941169261932,
0.039681725203990936,
0.016432037577033043,
-0.003553029615432024,
0.000904494954738766,
0.016997547820210457,
0.007001848425716162,
-0.0007389302481897175,
0.0028977328911423683,
0.031742390245199203,
-0.09619244933128357,
-0.011658024042844772,
0.0009448729106225073,
0.0009413943625986576,
-0.02969910390675068,
-0.026911141350865364,
0.05678128823637962,
-0.06387624144554138,
-0.006780981086194515,
0.0068359714932739735,
-0.01989910565316677,
0.03505009785294533,
0.023802652955055237,
-0.02969754859805107,
-0.0309615321457386,
0.03651834651827812,
0.0011274396674707532,
-0.006078091450035572,
0.03165168687701225,
-0.01393954548984766,
0.006784575525671244,
0.04048777371644974,
-0.02267439290881157,
0.004379895515739918,
-0.03502849489450455,
-0.01966693066060543,
-0.002730138134211302,
-0.027092473581433296,
0.0107558723539114,
0.0030012105125933886,
-0.018252113834023476,
-0.004176370333880186,
-0.03056761436164379,
-0.021019412204623222,
-0.045351896435022354,
-0.0008353091543540359,
0.008046839386224747,
-0.010158845223486423,
0.06791812926530838,
-0.002192066051065922,
0.017520127817988396,
-0.03577828407287598,
0.049578841775655746,
-0.06568052619695663,
-0.01009178627282381,
-0.011849308386445045,
-0.018839213997125626,
-0.03053418919444084,
0.04629085212945938,
-0.022831814363598824,
-0.013063488528132439,
-0.01761554554104805,
-0.01763390563428402,
0.030822819098830223,
0.020196938887238503,
-0.01965615339577198,
0.00403688196092844,
-0.006316246464848518,
0.0024884920567274094,
0.0056650759652256966,
-0.01984582096338272,
0.0042605227790772915,
-0.03707905486226082,
0.050481706857681274,
-0.026425817981362343,
0.017516182735562325,
0.03712432458996773,
-0.013512998819351196,
-0.004270952194929123,
0.03275405988097191,
-0.02010333724319935,
0.03977324813604355,
0.0021471274085342884,
0.005281759425997734,
-0.027418645098805428,
0.012207718566060066,
-0.01973727159202099,
0.023334650322794914,
0.05636389181017876,
0.02218995802104473,
0.047209806740283966,
-0.006027997937053442,
-0.013617448508739471,
-0.00678648054599762,
-0.02143925428390503,
-0.012825609184801579,
-0.0007221169653348625,
-0.029237665235996246,
0.027522020041942596,
0.017591167241334915,
-0.042321838438510895,
0.0182426106184721,
0.04489622637629509,
0.048020072281360626,
0.04027432203292847,
0.04776949808001518,
-0.005921999923884869,
0.017298102378845215,
-0.022647853940725327,
0.0333908274769783,
0.07025415450334549,
-0.02499403804540634,
0.01905512809753418,
0.01997285522520542,
-0.022087939083576202,
0.02934364043176174,
0.005760986357927322,
-0.0592525489628315,
0.05257290601730347,
0.006783295422792435,
-0.02859499305486679,
-0.02551337517797947,
0.029205096885561943,
-0.00485174311324954,
0.01035996712744236,
0.006006684619933367,
-0.01447620615363121,
0.030413953587412834,
-0.006482864264398813,
0.016760215163230896,
-0.05037306249141693,
0.016083380207419395,
0.0005187377100810409,
0.02622312866151333,
0.03387264534831047,
-0.0573628768324852,
0.03666934370994568,
-0.023054542019963264,
0.021672498434782028,
-0.0019338199635967612,
-0.0003741350374184549,
-0.032279860228300095,
-0.030389826744794846,
0.018068870529532433,
-0.000616743229329586,
0.03799121081829071,
-0.054603978991508484,
0.028646813705563545,
0.028019223362207413,
-0.06481967866420746,
-0.013186127878725529,
-0.019688570871949196,
0.03784826397895813,
-0.004124270286411047,
0.021001579239964485,
-0.0375206395983696,
-0.009080678224563599,
-0.03232385963201523,
-0.0019727000035345554,
0.015137474983930588,
0.01749030314385891,
-0.03732563927769661,
-0.029039889574050903,
0.021366022527217865,
-0.018137497827410698,
-0.00012342869013082236,
-0.025783265009522438,
0.048122283071279526,
0.02497868426144123,
0.02528904192149639,
-0.008907882496714592,
-0.007719083689153194,
-0.05734023451805115,
0.015677180141210556,
0.03561005741357803,
-0.053730763494968414,
0.005734769161790609,
0.003209428396075964,
0.0038861853536218405,
0.006821617018431425,
0.03523803874850273,
-0.004239298868924379,
-0.0014211128000169992,
-0.0002326545654796064,
0.016000285744667053,
0.04016075283288956,
0.03705514967441559,
-0.007588833104819059,
0.013346018269658089,
-0.018733615055680275,
-0.03876291960477829,
-0.028385652229189873,
0.025461113080382347,
-0.04463494196534157,
0.008879815228283405,
0.03958110511302948,
0.04426654055714607,
0.03140653669834137,
0.019684452563524246,
0.022208962589502335,
-0.010372716933488846,
-0.013160503469407558,
0.02563941851258278,
0.009430806152522564,
-0.0017764198128134012,
0.021440329030156136,
-0.047575436532497406,
0.045113060623407364,
0.005889079533517361,
-0.02200199104845524,
0.026601357385516167,
-0.01711197942495346,
-0.02185904048383236,
-0.028367958962917328,
-0.016524918377399445,
0.011722918599843979,
-0.02859979309141636,
-0.06352173537015915,
0.018787505105137825,
0.0013624111888930202,
-0.03231704607605934,
-0.04515016824007034,
-0.005128008313477039,
-0.04025189206004143,
0.02875332534313202,
-0.03128679841756821,
-0.03962312638759613,
0.02100258134305477,
0.013585478998720646,
0.0019353367388248444,
0.03142586722970009,
-0.04372113198041916,
-0.0030771757010370493,
-0.022860338911414146,
0.02465866506099701,
0.0001979786466108635,
0.007217565551400185,
0.023364238440990448,
-0.001005041878670454,
0.02359831891953945,
0.05875028297305107,
-0.018391486257314682,
0.024296250194311142,
0.04326639696955681,
-0.008404604159295559,
0.007826581597328186,
-0.07839997112751007,
-0.012295127846300602,
0.03251445293426514,
0.022982146590948105,
-0.02210051380097866,
-0.010902541689574718,
-0.054919637739658356,
-0.04536968842148781,
-0.05412529036402702,
0.007876693271100521,
0.04532933235168457,
0.014978669583797455,
0.007746395189315081,
0.013785400427877903,
0.030092710629105568,
-0.006357201840728521,
0.019497709348797798,
0.03357682377099991,
0.007756219245493412,
0.030572878196835518,
0.04059120640158653,
-0.009750171564519405,
0.01982209086418152,
-0.037409037351608276,
0.019710756838321686,
-0.0027001325506716967,
0.01708013005554676,
0.03133813291788101,
-0.05231071263551712,
0.02488698996603489,
0.05204428359866142,
-0.02818531170487404,
0.009237583726644516,
0.0720648318529129,
0.0029724331106990576,
0.023480882868170738,
-0.0025749728083610535,
0.015284622088074684,
-0.021339774131774902,
-0.016851283609867096,
-0.02755727991461754,
0.04633466526865959,
0.01695200987160206,
0.06299426406621933,
-0.0016232903581112623,
0.017424872145056725,
0.06008298695087433,
0.04646515101194382,
-0.0378863625228405,
0.04573738947510719,
0.0616111122071743,
-0.0039010129403322935,
0.04526233300566673,
-0.010153193958103657,
-0.03687886521220207,
-0.011209572665393353,
-0.013055814430117607,
0.031112486496567726,
-0.01608319953083992,
-0.015006912872195244,
0.04356111213564873,
0.008566481061279774,
0.021394597366452217,
0.01242890302091837,
0.06653798371553421,
0.018375631421804428,
0.007094448432326317,
0.006954926997423172,
0.04205852001905441,
-0.03132802993059158,
-0.013669611886143684,
0.009315196424722672,
0.009730631485581398,
-0.033037763088941574,
-0.014721325598657131,
0.03334842622280121,
0.02566840685904026,
0.035964157432317734,
-0.014946097508072853,
0.02224832959473133,
-0.012141752056777477,
-0.01643548533320427,
0.019891539588570595,
0.0008893832564353943,
-0.0038129007443785667,
0.0010781908640637994,
0.04165884107351303,
-0.014055171050131321,
0.016391824930906296,
-0.006807177793234587,
0.023347904905676842,
0.010804174467921257,
0.027036646381020546,
-0.027410076931118965,
0.007351936772465706,
0.042236387729644775,
0.004684547893702984,
-0.038438402116298676,
-0.05655522271990776,
-0.03194059059023857,
-0.03465569391846657,
-0.001453125267289579,
-0.06006573885679245,
0.007530514616519213,
0.02559680864214897,
0.029634425416588783,
-0.024139221757650375,
0.029412180185317993,
-0.0008656977443024516,
0.020536918193101883,
0.033769287168979645,
0.01147632859647274,
-0.017868610098958015,
0.02570907399058342,
0.010699239559471607,
0.008268430829048157,
-0.03751223534345627,
-0.040821198374032974,
0.02052888460457325,
0.013057212345302105,
-0.020618343725800514,
-0.03840326890349388,
0.0058445073664188385,
0.01182643324136734,
0.022809822112321854,
0.044527120888233185,
0.06355816125869751,
0.0030917231924831867,
-0.03596745431423187,
-0.0007915712194517255,
-0.054427795112133026,
-0.03200715035200119,
0.041834890842437744,
0.0032014132011681795,
0.0021684630773961544,
-0.021352630108594894,
-0.019906803965568542,
0.019349223002791405,
-0.05126018077135086,
0.014451979659497738,
0.04260390251874924,
0.027766196057200432,
-0.022006047889590263,
0.014623579569160938,
0.031083304435014725,
-0.0172861460596323,
0.02822999283671379,
0.009211571887135506,
0.012678097933530807,
-0.004078587517142296,
0.014614343643188477,
0.04567214474081993,
-0.021376967430114746,
0.022339658811688423,
-0.008110065944492817,
-0.013361519202589989,
-0.009240987710654736,
0.038405049592256546,
0.02531079202890396,
0.05174211412668228,
-0.04007824510335922,
-0.024998515844345093,
-0.01416612509638071,
-0.006300882436335087,
-0.008781837299466133,
0.00844002515077591,
0.03698870539665222,
-0.0006297397194430232,
0.013125337660312653,
-0.022434141486883163,
0.01152869127690792,
-0.004808871075510979,
0.011226477101445198,
-0.0043655638583004475,
0.04736904427409172,
-0.057351574301719666,
-0.03532400354743004,
-0.02453690581023693,
-0.000977763207629323,
-0.0008729498367756605,
-0.051079075783491135,
0.0007318712305277586,
-0.019842226058244705,
-0.022024458274245262,
0.026101527735590935,
0.007757070939987898,
-0.02122831717133522,
0.015911921858787537,
0.03902488946914673,
0.0023526845034211874,
-0.007179407402873039,
0.00598931685090065,
-0.03707607090473175,
-0.05038661137223244,
0.028009414672851562,
0.01132866833359003,
-0.026141725480556488,
0.005894088186323643,
0.008358986116945744,
0.007952616550028324,
-0.01236802339553833,
0.010615037754178047,
0.02043544128537178,
0.02429220825433731,
-0.01917790062725544,
0.006318249274045229,
0.014372162520885468,
-0.015429646708071232,
-0.03150841221213341,
-0.008107969537377357,
0.024906277656555176,
0.028962841257452965,
-0.01847761683166027,
-0.014356628060340881,
0.0008859220542944968,
-0.006171097978949547,
0.008461231365799904,
0.02752862311899662,
-0.01325362827628851,
0.032189130783081055,
0.006160413846373558,
0.006481731776148081,
-0.007937666028738022,
0.013140443712472916
] |
Llama 2 on Amazon SageMaker a Benchmark | philschmid | September 26, 2023 | llama-sagemaker-benchmark | guide, inference, llm, aws | https://huggingface.co/blog/llama-sagemaker-benchmark | Most Cost-Effective Deployment The most cost-effective configuration focuses on the right balance between performance (latency and throughput) and cost. Maximizing the output per dollar spent is the goal. We looked at the performance during 5 concurrent requests. We can see that GPTQ offers the best cost-effectiveness, allowing customers to deploy Llama 2 13B on a single GPU. | Model | Quantization | Instance | concurrent requests | Latency (ms/token) median | Throughput (tokens/second) | On-demand cost ($/h) in us-west-2 | Time to generate 1 M tokens (minutes) | cost to generate 1M tokens ($) | | ----------- | ------------ | -------------- | ------------------- | ------------------------- | -------------------------- | --------------------------------- | ------------------------------------- | ------------------------------ | | Llama 2 7B | GPTQ | g5.2xlarge | 5 | 34.245736 | 120.0941633 | $1.52 | 138.78 | $3.50 | | Llama 2 13B | GPTQ | g5.2xlarge | 5 | 56.237484 | 71.70560104 | $1.52 | 232.43 | $5.87 | | Llama 2 70B | GPTQ | ml.g5.12xlarge | 5 | 138.347928 | 33.33372399 | $7.09 | 499.99 | $59.08 | | [
-0.01323607750236988,
0.014233723282814026,
0.010216547176241875,
0.08694145828485489,
0.04150288552045822,
0.029455745592713356,
0.02766132727265358,
0.03772103786468506,
0.039727695286273956,
-0.043277595192193985,
-0.0003628675185609609,
0.044255487620830536,
-0.013211298733949661,
0.0872892290353775,
-0.008796997368335724,
-0.004355400800704956,
0.04734516888856888,
-0.05281670391559601,
0.009388824924826622,
-0.03389721363782883,
0.0020546764135360718,
0.013104025274515152,
0.02450709231197834,
-0.00527288019657135,
0.0005195204867050052,
-0.028454821556806564,
-0.04030691832304001,
0.026619527488946915,
-0.046328600496053696,
0.04543428495526314,
-0.045705124735832214,
0.023325370624661446,
-0.03691011667251587,
0.026407992467284203,
0.061028413474559784,
-0.05536584183573723,
-0.028485160320997238,
0.0735265389084816,
0.019822420552372932,
-0.03211136907339096,
-0.00478889886289835,
-0.05531221628189087,
-0.05647490918636322,
0.03824695572257042,
-0.06788980960845947,
0.06275096535682678,
-0.028430122882127762,
0.02262536995112896,
-0.05075597018003464,
-0.00645450409501791,
-0.08224869519472122,
0.03543408215045929,
-0.021796995773911476,
-0.018430327996611595,
0.04486744850873947,
0.049901083111763,
0.019466161727905273,
-0.039894334971904755,
-0.07568197697401047,
-0.0029485372360795736,
0.05371321737766266,
-0.05306268110871315,
0.05755121260881424,
0.0457933247089386,
-0.029832320287823677,
-0.029369307681918144,
0.0007688701734878123,
0.03256897255778313,
-0.02542327344417572,
-0.07698292285203934,
0.006221008021384478,
0.011209188029170036,
0.027827760204672813,
-0.03880598396062851,
0.00282369926571846,
0.001796490396372974,
-0.004473797045648098,
0.004263264127075672,
0.048935625702142715,
0.06859219819307327,
-0.03630886226892471,
0.022651946172118187,
0.029652277007699013,
-0.045640625059604645,
0.013237513601779938,
0.04891029745340347,
0.009067576378583908,
0.007910842075943947,
-0.09785186499357224,
0.006002882961183786,
-0.01692492887377739,
-0.05315462499856949,
-0.021488483995199203,
0.016695495694875717,
0.043106261640787125,
0.01907327212393284,
0.028171377256512642,
-0.0315028615295887,
-0.028653891757130623,
-0.005713080987334251,
0.0028792854864150286,
-0.015975600108504295,
0.009035882540047169,
-0.02937808446586132,
-0.045492902398109436,
0.11420347541570663,
-0.054662831127643585,
-0.10318595916032791,
-0.024512803182005882,
0.043307628482580185,
-0.0446794368326664,
-0.03353015333414078,
0.037892647087574005,
0.030189167708158493,
-0.0771976038813591,
0.04622981697320938,
-0.03904369845986366,
0.0031467932276427746,
0.017438435927033424,
0.05666259303689003,
0.029258524999022484,
0.08872921019792557,
0.03641257435083389,
-0.051881466060876846,
-0.00871847290545702,
-0.012943973764777184,
0.05362152308225632,
-0.012758084572851658,
-0.045094430446624756,
-0.005933538544923067,
0.04619700089097023,
-0.02357345260679722,
0.03442937135696411,
-0.02680143341422081,
0.04156995564699173,
-0.1047210618853569,
0.0007837058510631323,
-0.03713889792561531,
-0.0010179479140788317,
-0.016531528905034065,
-0.07536473870277405,
0.007648875471204519,
0.06413070857524872,
-0.024470685049891472,
0.029651522636413574,
0.008910328149795532,
-0.02923492342233658,
-0.06142226606607437,
0.02745794504880905,
-0.0188225656747818,
-0.0689062550663948,
0.0049133277498185635,
-0.10861201584339142,
0.0024863427970558405,
0.05177842080593109,
0.03238270804286003,
0.006784405093640089,
0.004260404035449028,
-0.09277913719415665,
-0.04784533753991127,
-0.025982841849327087,
-0.020756831392645836,
0.028597870841622353,
-0.014313100837171078,
-0.00787102710455656,
0.023451313376426697,
0.06307157129049301,
0.0028799280989915133,
-0.024176064878702164,
-0.007730144076049328,
0.029156478121876717,
0.055121228098869324,
0.039629802107810974,
0.019605688750743866,
0.020912379026412964,
-0.0011055959621444345,
0.0268258024007082,
0.07246338576078415,
0.06610144674777985,
0.006142939906567335,
0.008651860989630222,
0.023524576798081398,
0.03128170967102051,
0.028138356283307076,
-0.000830964301712811,
-0.14408399164676666,
-0.011921880766749382,
-0.0595320500433445,
-0.0381031334400177,
-0.06128724291920662,
-0.057878151535987854,
-0.005562514998018742,
0.02218819037079811,
-0.005041567608714104,
-0.012446017004549503,
-0.02848035655915737,
-0.016920357942581177,
0.08783595263957977,
0.1263846606016159,
0.022852830588817596,
0.05475612357258797,
0.08939950913190842,
0.043151307851076126,
-0.02495684288442135,
-0.1300870031118393,
-0.04075514152646065,
-0.018565600737929344,
-0.04596712067723274,
0.028334014117717743,
0.002412503818050027,
-0.0031763773877173662,
-0.09997653216123581,
-0.05850836634635925,
-0.03708491101861,
0.012933354824781418,
-0.02288803458213806,
0.01772179640829563,
0.01755617745220661,
0.04942338913679123,
0.03237216919660568,
0.15863141417503357,
-0.042604539543390274,
-0.012982286512851715,
0.01651557721197605,
-0.008347485214471817,
0.027531135827302933,
0.0391249805688858,
0.013350706547498703,
0.07063902914524078,
-0.014030472375452518,
0.009267326444387436,
-0.11018255352973938,
-0.021856334060430527,
0.06354567408561707,
0.09125743061304092,
0.05457540228962898,
-0.04393913596868515,
-0.02684037759900093,
0.08212804049253464,
0.036468230187892914,
-0.002708727028220892,
0.05351414531469345,
-0.021454034373164177,
0.013748322613537312,
0.04740377143025398,
-0.041303761303424835,
0.041651662439107895,
-0.05643746629357338,
-0.022120067849755287,
-0.09961052238941193,
-0.07666930556297302,
-0.04030424356460571,
0.010622691363096237,
0.018442166969180107,
0.04314123094081879,
-0.03162097558379173,
-0.035306286066770554,
-0.006822274066507816,
-0.06984592974185944,
-0.01969136856496334,
-0.0056001245975494385,
0.022375056520104408,
0.031927771866321564,
-0.027314443141222,
0.011925782077014446,
-0.04354188218712807,
0.00493626669049263,
-0.03688981384038925,
-0.02047611027956009,
-0.02560136467218399,
0.02189904823899269,
0.00636107986792922,
-0.017236623913049698,
0.002530111698433757,
-0.015510158613324165,
-0.033520374447107315,
0.011838455684483051,
0.003998841159045696,
-0.04097581282258034,
0.0008279290632344782,
0.05689726397395134,
-0.031233597546815872,
0.030150143429636955,
0.04491269588470459,
-0.006590268108993769,
-0.036098137497901917,
0.028861219063401222,
0.013769088312983513,
-0.05507761240005493,
-0.0014875063207000494,
0.018872052431106567,
-0.005487056914716959,
-0.018634017556905746,
0.023891622200608253,
0.003822350176051259,
-0.038986049592494965,
-0.01115939300507307,
-0.006782706826925278,
0.00800557341426611,
0.03926246613264084,
-0.052764832973480225,
-0.025216298177838326,
-0.03358102962374687,
-0.000022998265194473788,
-0.008695161901414394,
-0.009166372939944267,
0.004523688927292824,
0.031300101429224014,
-0.09259310364723206,
-0.018503796309232712,
-0.042240072041749954,
0.023148108273744583,
-0.04319089651107788,
-0.04543260112404823,
0.07575767487287521,
-0.014839239418506622,
-0.03756500035524368,
-0.023519281297922134,
0.028620725497603416,
0.03682330623269081,
-0.03718172013759613,
-0.03621625900268555,
0.011089329607784748,
-0.007998197339475155,
0.04516003653407097,
-0.04289338365197182,
0.01237288024276495,
0.011101403273642063,
-0.008373692631721497,
-0.01005464792251587,
0.01844852603971958,
-0.017426447942852974,
-0.0261271633207798,
-0.028807934373617172,
-0.01619895175099373,
-0.01954013481736183,
0.03210991248488426,
-0.017799094319343567,
0.00017060029495041817,
0.0013698376715183258,
0.020729325711727142,
-0.006926435045897961,
-0.06866400688886642,
0.009715686552226543,
0.017214041203260422,
-0.009627698920667171,
0.035353969782590866,
0.03743172809481621,
0.019624173641204834,
-0.026376450434327126,
0.049684785306453705,
-0.030199246481060982,
0.022288817912340164,
-0.00643813144415617,
0.03656898811459541,
0.02660728432238102,
0.06396299600601196,
-0.014084788970649242,
-0.04439336061477661,
0.008804592303931713,
-0.004506477154791355,
0.020861675962805748,
0.010863808915019035,
0.015090534463524818,
-0.0017483016708865762,
0.007012226618826389,
0.05624500289559364,
0.039746612310409546,
-0.04588376358151436,
0.005835837218910456,
0.03395845368504524,
-0.023350536823272705,
-0.022926583886146545,
0.027195215225219727,
0.010572877712547779,
-0.012873413972556591,
-0.011257684789597988,
0.03008672036230564,
-0.04507395997643471,
0.048545874655246735,
0.002521391259506345,
0.001181371626444161,
-0.010976111516356468,
0.0007111073937267065,
-0.01790175400674343,
0.001274123671464622,
0.012683273293077946,
0.0390922985970974,
0.0139398742467165,
-0.040083546191453934,
-0.019345080479979515,
-0.02295645885169506,
0.0023763785138726234,
0.02310495264828205,
-0.011127134785056114,
-0.029196826741099358,
-0.010590095072984695,
0.012663397938013077,
0.0032113580964505672,
-0.02277734875679016,
0.04445866867899895,
0.014228031039237976,
-0.01768762804567814,
-0.024368196725845337,
0.051234494894742966,
0.016785379499197006,
-0.05146130174398422,
-0.010662327520549297,
0.025374727323651314,
-0.01838369108736515,
0.03819683566689491,
0.02537950500845909,
-0.04381215572357178,
0.028581229969859123,
-0.0039895074442029,
-0.0021384453866630793,
0.009219754487276077,
0.08903930336236954,
0.060822322964668274,
-0.0038080511149019003,
0.023971594870090485,
-0.019336815923452377,
0.07811346650123596,
0.009450657293200493,
0.014005550183355808,
0.052031174302101135,
-0.005780260544270277,
0.0017220753943547606,
0.012412114068865776,
-0.006738139316439629,
0.026776466518640518,
-0.012335809879004955,
0.0372193306684494,
-0.006767904851585627,
0.0159959327429533,
0.00840725563466549,
0.022394398227334023,
-0.0029377297032624483,
-0.030158856883645058,
-0.009407457895576954,
-0.03133683279156685,
-0.03508051484823227,
-0.013544007204473019,
0.009106876328587532,
-0.03436688333749771,
0.011020328849554062,
0.005029850173741579,
-0.014436576515436172,
0.016478560864925385,
0.04149309918284416,
-0.013595936819911003,
-0.028915204107761383,
-0.010296977125108242,
0.026505082845687866,
-0.01951098069548607,
-0.010474997572600842,
0.02172902040183544,
0.02246243879199028,
-0.029029324650764465,
-0.05594761669635773,
-0.01404343917965889,
0.021903133019804955,
0.024174679070711136,
0.03953411802649498,
-0.0022394678089767694,
-0.04239697754383087,
-0.011635886505246162,
0.00813084002584219,
-0.0010147822322323918,
0.004162403289228678,
-0.04427553340792656,
-0.034393444657325745,
0.008985383436083794,
0.03337813541293144,
0.024331966415047646,
0.010750931687653065,
-0.017864316701889038,
0.008627252653241158,
0.029518190771341324,
0.0029214469250291586,
0.02215205691754818,
0.017819885164499283,
0.06778477877378464,
0.033975787460803986,
-0.014919497072696686,
0.010938561521470547,
0.04229013994336128,
0.0007053281296975911,
-0.027746865525841713,
0.01197749376296997,
0.02940312586724758,
-0.02678532525897026,
0.015426745638251305,
-0.021527957171201706,
0.04550623893737793,
0.0898573100566864,
-0.01874946989119053,
0.05363040044903755,
0.041212618350982666,
-0.0005190052324905992,
0.025927981361746788,
-0.03951140493154526,
-0.02316848188638687,
0.006644662469625473,
-0.007878312841057777,
0.07786331325769424,
0.025470301508903503,
-0.015258445404469967,
0.007079209666699171,
0.017898118123412132,
-0.03484310954809189,
0.013750928454101086,
0.011148398742079735,
0.021267490461468697,
0.02923874743282795,
-0.07036849111318588,
0.011422555893659592,
0.030486268922686577,
-0.03383605554699898,
0.003995710052549839,
-0.06423930078744888,
-0.028867803514003754,
0.03493844345211983,
-0.027355950325727463,
-0.07698588073253632,
0.060424841940402985,
0.05385507643222809,
0.032172057777643204,
-0.017695343121886253,
-0.005906430073082447,
0.0060822730883955956,
-0.035725489258766174,
-0.02263428084552288,
0.00006639075581915677,
-0.022890662774443626,
0.01573878340423107,
-0.0386195108294487,
0.018694259226322174,
-0.026922669261693954,
-0.06802736222743988,
-0.008238856680691242,
0.024388348683714867,
0.020456485450267792,
0.014747701585292816,
0.015443060547113419,
0.014745368622243404,
0.0027049349155277014,
-0.010646665468811989,
-0.04771685227751732,
-0.04587217792868614,
-0.03181365877389908,
0.01702660322189331,
-0.06180744618177414,
0.037478551268577576,
0.033942315727472305,
0.0000021015150650782743,
-0.029702486470341682,
-0.0027740895748138428,
-0.0010372429387643933,
-0.029662203043699265,
-0.011596341617405415,
0.009653149172663689,
0.03192221373319626,
0.04170890897512436,
0.020394574850797653,
0.041347116231918335,
0.012220896780490875,
-0.030345993116497993,
0.020760243758559227,
-0.008483871817588806,
0.01855437457561493,
0.016525087878108025,
0.008005857467651367,
-0.004321030806750059,
-0.0030723107047379017,
-0.07612314075231552,
0.04482739791274071,
-0.008674779906868935,
0.008458545431494713,
-0.0301666222512722,
0.0015503806062042713,
0.020175838842988014,
-0.019006142392754555,
0.012730196118354797,
0.005829797126352787,
0.0216737762093544,
0.02366497926414013,
0.05253683775663376,
-0.018632104620337486,
0.025007350370287895,
0.057688117027282715,
0.007921718992292881,
-0.01690319925546646,
0.02114325948059559,
0.0064768604934215546,
0.02118975855410099,
0.06169295683503151,
0.0559738352894783,
-0.023239390924572945,
-0.030627142637968063,
0.0021626234520226717,
-0.010527295060455799,
-0.06914147734642029,
0.018046535551548004,
0.008887363597750664,
-0.029498260468244553,
0.015178298577666283,
-0.038247689604759216,
0.04741208627820015,
0.012298897840082645,
0.01011884119361639,
-0.01829719729721546,
0.03978349640965462,
-0.0294809453189373,
0.007252025417983532,
0.02018296904861927,
-0.029862133786082268,
-0.042040176689624786,
-0.01508654747158289,
0.026914654299616814,
0.002627138514071703,
0.029912598431110382,
-0.033079758286476135,
-0.03416275978088379,
-0.023809632286429405,
-0.03236441686749458,
0.015455374494194984,
0.016655385494232178,
0.004901209380477667,
0.02070779912173748,
0.025286013260483742,
0.01853901892900467,
0.015798278152942657,
0.049069203436374664,
0.0003723342379089445,
-0.014342931099236012,
0.0267644003033638,
-0.03801867365837097,
0.00036859550164081156,
0.04230809584259987,
0.030495524406433105,
-0.061617352068424225,
-0.029486896470189095,
0.04392998293042183,
-0.040656767785549164,
0.030249688774347305,
-0.06425535678863525,
0.002577073872089386,
0.010679004713892937,
0.01926487684249878,
-0.02494063787162304,
0.05302370712161064,
0.0019066778477281332,
0.0375177264213562,
0.0440031923353672,
-0.019427256658673286,
-0.023554997518658638,
0.011383794248104095,
0.004610869567841291,
0.022914813831448555,
-0.05687770992517471,
-0.011109072715044022,
-0.009394918568432331,
-0.0686381459236145,
0.04757725074887276,
0.009685983881354332,
0.005502200685441494,
-0.043471287935972214,
0.05188706889748573,
0.053619153797626495,
0.010578436776995659,
0.005045301280915737,
-0.014001556672155857,
0.05126330628991127,
-0.011424748227000237,
-0.03140106052160263,
0.055298395454883575,
0.008620647713541985,
-0.00453199353069067,
0.022329656407237053,
0.00040800246642902493,
0.07319379597902298,
-0.03436516970396042,
-0.009310977533459663,
0.020247550681233406,
0.01750907674431801,
0.010199524462223053,
0.037452831864356995,
0.05002952367067337,
-0.02474609762430191,
0.025243500247597694,
0.0218769870698452,
-0.007775960955768824,
0.0018449159106239676,
-0.027602408081293106,
0.015766790136694908,
-0.033397216349840164,
0.03587164357304573,
-0.0027398786041885614,
0.013433880172669888,
-0.04635041579604149,
0.0029364225920289755,
0.0005819789366796613,
0.009365919046103954,
-0.04687534272670746,
0.003595310263335705,
-0.045047957450151443,
-0.003999726846814156,
-0.020040936768054962,
-0.0066289147362113,
0.03538043051958084,
0.023029938340187073,
0.04306181147694588,
0.025358904153108597,
-0.0765363946557045,
0.011087536811828613,
0.0010388265363872051,
0.008855338208377361,
0.04067704454064369,
0.0015966668725013733,
-0.013795499689877033,
-0.03383956849575043,
0.02727397158741951,
0.030067656189203262,
0.010931852273643017,
0.02277248725295067,
0.005580788943916559,
-0.020146066322922707,
0.00269731180742383,
0.009167030453681946,
0.028865449130535126,
0.0006042604218237102,
0.004994119983166456,
-0.0009445977048017085,
0.019618315622210503,
0.014181294478476048,
-0.03885035216808319,
-0.02645272947847843,
-0.0014617397682741284,
0.019255219027400017,
0.0072068339213728905,
0.001965576782822609,
0.025919348001480103,
-0.009885202161967754,
-0.05009932070970535,
-0.02014380507171154,
-0.0018392079509794712,
0.006976745091378689,
-0.04690040647983551,
-0.02359769493341446,
0.026709912344813347,
0.007739765103906393,
-0.03994651511311531,
-0.05868583545088768,
-0.004675978794693947,
-0.005562209524214268,
0.013617361895740032,
-0.01079334132373333,
-0.037511564791202545,
-0.00903389137238264,
0.008880808018147945,
0.004462802316993475,
0.015800951048731804,
0.02715178206562996,
0.041142456233501434,
0.03845164552330971,
-0.02608655020594597,
0.018577320501208305
] |
Llama 2 on Amazon SageMaker a Benchmark | philschmid | September 26, 2023 | llama-sagemaker-benchmark | guide, inference, llm, aws | https://huggingface.co/blog/llama-sagemaker-benchmark | What is the Hugging Face LLM Inference Container? Hugging Face LLM DLC is a purpose-built Inference Container to easily deploy LLMs in a secure and managed environment. The DLC is powered by Text Generation Inference (TGI), an open-source, purpose-built solution for deploying and serving LLMs. TGI enables high-performance text generation using Tensor Parallelism and dynamic batching for the most popular open-source LLMs, including StarCoder, BLOOM, GPT-NeoX, Falcon, Llama, and T5. VMware, IBM, Grammarly, Open-Assistant, Uber, Scale AI, and many more already use Text Generation Inference. | [
-0.016852371394634247,
-0.036812473088502884,
0.06505455076694489,
-0.015305032953619957,
0.025788279250264168,
0.040587399154901505,
-0.03407643362879753,
0.07024476677179337,
-0.014482193626463413,
-0.0023534446954727173,
-0.11445149034261703,
0.03451859578490257,
-0.010642762295901775,
0.09528461843729019,
0.030685914680361748,
0.005359466653317213,
0.027256235480308533,
0.04505714774131775,
-0.036785632371902466,
0.05047667771577835,
0.042092256247997284,
-0.008578356355428696,
0.04915416240692139,
-0.03859979286789894,
-0.047240570187568665,
-0.021302059292793274,
-0.006076755002140999,
0.033946748822927475,
0.02352234534919262,
0.023985499516129494,
-0.025602659210562706,
-0.04759839549660683,
-0.052360404282808304,
-0.023821383714675903,
0.06567085534334183,
0.03398258239030838,
-0.19983935356140137,
-0.008511305786669254,
-0.04397399723529816,
0.011224927380681038,
0.01292116567492485,
0.005347119644284248,
-0.03715438023209572,
-0.055112969130277634,
-0.04330957680940628,
-0.03719824552536011,
-0.08224604278802872,
-0.004522349219769239,
-0.06518223881721497,
0.010247323662042618,
-0.1162860095500946,
0.04828568175435066,
-0.0002290466654812917,
-0.04014172405004501,
0.08116415143013,
0.030369963496923447,
0.010566872544586658,
-0.1255040317773819,
0.031458187848329544,
0.012273676693439484,
-0.019538352265954018,
0.025263672694563866,
0.0352776013314724,
-0.016085265204310417,
-0.006306971423327923,
-0.0029056568164378405,
-0.06341506540775299,
-0.0268488060683012,
-0.03526981547474861,
-0.022339843213558197,
0.006900538690388203,
0.04643009230494499,
-0.05872936174273491,
0.02525315061211586,
0.03205786645412445,
-0.011732409708201885,
-0.06493467837572098,
0.058199889957904816,
-0.0037690759636461735,
0.001544335624203086,
-0.06764762103557587,
0.0430201031267643,
0.016794152557849884,
-0.01416113693267107,
-0.007064556237310171,
0.0960058867931366,
-0.058709967881441116,
-0.06128169223666191,
-0.09772653877735138,
0.007503134664148092,
-0.05190135911107063,
-0.11821404099464417,
-0.03478096425533295,
0.03265390545129776,
0.056844163686037064,
0.011083588935434818,
0.014542779885232449,
0.0042493632063269615,
0.014419478364288807,
0.006669640075415373,
0.03744989261031151,
-0.04495415836572647,
-0.03802621364593506,
-0.08575217425823212,
-0.05471120774745941,
0.027700286358594894,
-0.013141016475856304,
-0.060260556638240814,
-0.057459332048892975,
0.032359231263399124,
0.0360063761472702,
-0.0478297658264637,
0.013522999361157417,
0.05976486951112747,
-0.07228170335292816,
0.059612173587083817,
-0.06521819531917572,
0.02558717504143715,
0.07143741101026535,
0.0056148553267121315,
-0.008383005857467651,
0.017301108688116074,
0.04942452535033226,
-0.06102603301405907,
0.001873028464615345,
0.031189201399683952,
-0.03932777792215347,
-0.029519347473978996,
0.05460048466920853,
-0.012370486743748188,
0.003529659239575267,
-0.02045859955251217,
-0.001370616490021348,
-0.0017978744581341743,
-0.0101616270840168,
-0.02831282466650009,
-0.027254877611994743,
-0.0703425407409668,
-0.005839784163981676,
-0.0641404390335083,
-0.02506312169134617,
0.03604362905025482,
0.00391562981531024,
-0.06301886588335037,
0.05152704939246178,
-0.0027982122264802456,
-0.09627070277929306,
0.03330272063612938,
-0.00755220977589488,
0.016503673046827316,
-0.06464754790067673,
0.05315982177853584,
0.018842441961169243,
-0.00965731032192707,
0.04778336361050606,
0.038008131086826324,
0.011767638847231865,
0.017123131081461906,
-0.042426224797964096,
-0.01092549692839384,
-0.07077367603778839,
-0.01891966350376606,
-0.06881924718618393,
0.01739243045449257,
0.003414084203541279,
0.003161023836582899,
-0.01291425246745348,
0.026612404733896255,
-0.02955900877714157,
0.007509690709412098,
-0.044469788670539856,
0.006415392272174358,
0.010157509706914425,
-0.026910580694675446,
0.08288652449846268,
0.019035520032048225,
0.02760578691959381,
0.061167072504758835,
0.03425729274749756,
-0.024672802537679672,
-0.04890783131122589,
0.036148980259895325,
-0.00012307205179240555,
-0.02492154948413372,
0.009824262000620365,
-0.0529656857252121,
0.017848974093794823,
-0.07374032586812973,
0.015525544062256813,
-0.05811229720711708,
-0.036558348685503006,
0.03864365816116333,
0.057960525155067444,
0.004806583747267723,
-0.00014354383165482432,
-0.034472499042749405,
-0.0262942835688591,
0.12361209839582443,
0.05895904079079628,
0.054890718311071396,
0.05245903879404068,
0.05955791845917702,
-0.0014219984877854586,
-0.02531953528523445,
-0.014620603993535042,
0.024996602907776833,
0.0051373750902712345,
0.0015832541976124048,
-0.007491991855204105,
0.05083923786878586,
0.06269705295562744,
-0.0880126878619194,
0.00045359646901488304,
0.03080233559012413,
0.033272091299295425,
-0.05060430243611336,
-0.05712781473994255,
0.00017973802459891886,
0.021184738725423813,
0.012091612443327904,
0.1861443966627121,
-0.03767392411828041,
0.013306605629622936,
-0.0894562378525734,
-0.02849041298031807,
0.03362218663096428,
0.04726347327232361,
0.0386728011071682,
0.051137544214725494,
-0.08057035505771637,
0.005462754517793655,
-0.10941106826066971,
0.008917947299778461,
0.050722986459732056,
0.003830977249890566,
-0.003547079861164093,
0.06439696997404099,
-0.020421398803591728,
0.014964663423597813,
-0.04867853969335556,
0.05758952349424362,
-0.007281191647052765,
-0.0383843369781971,
-0.024118460714817047,
0.03139165788888931,
-0.034614842385053635,
0.042007140815258026,
-0.0010410202667117119,
-0.012432979419827461,
-0.01631103828549385,
0.022214990109205246,
0.04983963072299957,
0.058558885008096695,
0.01513480581343174,
0.006868551950901747,
-0.019927622750401497,
-0.03318026289343834,
0.008824020624160767,
-0.00833132117986679,
0.05936574190855026,
0.024471385404467583,
-0.008698876015841961,
-0.018735596910119057,
-0.038042400032281876,
-0.020794270560145378,
-0.029489321634173393,
0.006216360256075859,
0.023370595648884773,
-0.04328813776373863,
0.02047153003513813,
0.047003667801618576,
-0.013954920694231987,
0.006087030284106731,
-0.01978595182299614,
-0.012729537673294544,
0.026558389887213707,
0.04839393496513367,
-0.035061340779066086,
-0.02563467063009739,
-0.08255472779273987,
-0.009823641739785671,
-0.0032673687674105167,
0.01721508987247944,
0.07310133427381516,
-0.03139527514576912,
-0.024234620854258537,
-0.022820807993412018,
-0.017350832000374794,
-0.0394316203892231,
0.022456293925642967,
0.02490166760981083,
0.0040332237258553505,
0.020751968026161194,
0.004531887825578451,
-0.04093785211443901,
-0.0028329493943601847,
0.034340083599090576,
-0.012565395794808865,
-0.019798649474978447,
0.043223507702350616,
0.04301534593105316,
-0.00004381924372864887,
0.03180769458413124,
0.015028578229248524,
-0.0050053042359650135,
0.0318678542971611,
-0.01992936246097088,
0.008743160404264927,
-0.06946597248315811,
-0.021624309942126274,
-0.019993683323264122,
-0.04169280454516411,
0.013497492298483849,
0.002112066140398383,
0.052641887217760086,
-0.02819746918976307,
0.01837076246738434,
0.04790123179554939,
0.006822924129664898,
0.03522736579179764,
0.044343408197164536,
-0.02370888739824295,
0.008671424351632595,
-0.019602902233600616,
0.00302090379409492,
-0.04615980014204979,
0.030120640993118286,
0.015027612447738647,
0.00554825970903039,
0.008150534704327583,
0.003180998843163252,
0.0031185057014226913,
-0.0037000838201493025,
-0.05318925902247429,
0.014456044882535934,
-0.025476546958088875,
-0.014913358725607395,
-0.01775204949080944,
-0.010203317739069462,
0.01236400380730629,
0.004089927766472101,
-0.02366720326244831,
-0.07806093990802765,
0.027775168418884277,
0.005372701678425074,
-0.011215265840291977,
0.08341029286384583,
0.009454705752432346,
0.02459503524005413,
-0.009971750900149345,
0.025044571608304977,
-0.03308624401688576,
0.017761006951332092,
-0.010495553724467754,
-0.035045575350522995,
0.018840055912733078,
0.04210824891924858,
-0.035034097731113434,
0.00806234497576952,
-0.023522907868027687,
0.006732863839715719,
0.025931287556886673,
-0.015338879078626633,
0.012385419569909573,
0.012685572728514671,
-0.01600107178092003,
-0.006037747021764517,
-0.0057341293431818485,
-0.08481068164110184,
-0.005628664046525955,
-0.06880407780408859,
-0.018368376418948174,
-0.01459458563476801,
0.07660552859306335,
0.05171552300453186,
-0.025033196434378624,
-0.0022096051834523678,
0.04159421846270561,
0.012600825168192387,
0.08921147882938385,
-0.03585381060838699,
-0.0007626714068464935,
-0.03701360896229744,
0.001843269681558013,
0.0029369883704930544,
-0.05070886015892029,
0.05070708692073822,
-0.012094441801309586,
0.00671533914282918,
0.01401460636407137,
-0.04789389669895172,
0.016677064821124077,
0.010095746256411076,
-0.03291221335530281,
0.004429042339324951,
-0.04228770732879639,
0.0240744911134243,
0.04333902895450592,
-0.008699098601937294,
-0.007822079584002495,
0.027606764808297157,
-0.008556894026696682,
-0.014683539047837257,
-0.0012939570005983114,
0.02624455653131008,
0.07352011650800705,
0.0040730698965489864,
-0.015946730971336365,
0.043019697070121765,
-0.08022749423980713,
0.003846211824566126,
-0.045591115951538086,
-0.038285333663225174,
-0.005659188609570265,
0.017814308404922485,
0.009624461643397808,
0.04006180912256241,
-0.011816760525107384,
-0.009241009131073952,
-0.015207107178866863,
-0.0007802448817528784,
-0.014834376983344555,
0.02009841613471508,
0.013171746395528316,
-0.007699965499341488,
0.023994354531168938,
-0.013356824405491352,
-0.014505309984087944,
-0.016977060586214066,
0.0013977366033941507,
0.009337577037513256,
0.0008817481575533748,
0.034384749829769135,
0.03454204648733139,
0.006253500934690237,
-0.023163452744483948,
0.01595587469637394,
-0.01253347285091877,
-0.06698910146951675,
-0.009202546440064907,
0.05767353996634483,
-0.031441107392311096,
0.003413435071706772,
-0.021486813202500343,
-0.020401226356625557,
0.01618204638361931,
-0.0021971887908875942,
-0.00009602448699297383,
-0.0012198572512716055,
0.010090045630931854,
0.009055279195308685,
-0.03379962593317032,
0.02140006050467491,
0.02224651724100113,
0.00353816244751215,
0.020882952958345413,
-0.013871153816580772,
0.00906332302838564,
-0.008849753066897392,
0.00890440959483385,
0.016516288742423058,
0.020132213830947876,
0.08600270003080368,
0.01654670760035515,
0.0032405948732048273,
0.030483651906251907,
0.06747017800807953,
0.04034776985645294,
0.03266480565071106,
0.06091633439064026,
-0.016916582360863686,
0.0027560682501643896,
0.022820141166448593,
0.01406598649919033,
0.020545143634080887,
0.0051504778675735,
-0.02173965983092785,
-0.00813098344951868,
0.004338196944445372,
0.020173143595457077,
0.008163348771631718,
0.0021075941622257233,
-0.04963713139295578,
0.027819408103823662,
0.06736309826374054,
-0.0011785983806475997,
-0.01335888635367155,
0.046161625534296036,
-0.03616773709654808,
-0.051321372389793396,
0.08066897839307785,
-0.008558094501495361,
0.007656812202185392,
0.0319611020386219,
0.045342519879341125,
0.021646862849593163,
-0.018847839906811714,
0.008550737984478474,
-0.012818648479878902,
0.0021006823517382145,
0.018214689567685127,
-0.03273353725671768,
0.001274771406315267,
-0.022766171023249626,
-0.005481053609400988,
0.004738539922982454,
0.013811683282256126,
-0.005444656126201153,
0.007843098603188992,
0.01543350424617529,
-0.055638495832681656,
-0.017773009836673737,
-0.01035879086703062,
-0.04935283213853836,
-0.003393147373571992,
-0.018569545820355415,
0.026770245283842087,
-0.0006334697245620191,
-0.007826198823750019,
-0.019970852881669998,
-0.01579156145453453,
0.0004383342165965587,
-0.015707314014434814,
-0.03321228176355362,
0.0156830083578825,
-0.012627026066184044,
0.005114761646836996,
0.02588352933526039,
-0.01713365502655506,
-0.018780002370476723,
0.035001546144485474,
-0.06194040924310684,
0.0172848142683506,
0.007638512644916773,
-0.014466553926467896,
-0.010996791534125805,
0.01509804930537939,
-0.009405957534909248,
0.053670674562454224,
-0.01734532229602337,
-0.014617642387747765,
0.03402186557650566,
0.004733830224722624,
0.04109199345111847,
-0.03625714033842087,
-0.0052437796257436275,
0.04643316939473152,
-0.02396467514336109,
-0.005933358334004879,
-0.007612937595695257,
0.0011713100830093026,
-0.017228439450263977,
-0.023137586191296577,
0.015626074746251106,
0.032900888472795486,
-0.0054796673357486725,
-0.024052046239376068,
0.02493608556687832,
0.022842202335596085,
-0.0011760393390432,
0.027148690074682236,
-0.009254178032279015,
0.029060184955596924,
-0.0049265786074101925,
0.05711871758103371,
0.013829052448272705,
-0.011719748377799988,
-0.02289435639977455,
-0.027971331030130386,
-0.008713733404874802,
0.028388692066073418,
-0.00546281598508358,
-0.06768762320280075,
0.0026650975923985243,
-0.0014838993083685637,
0.004067423287779093,
0.010444321669638157,
0.030427487567067146,
-0.011322146281599998,
-0.003731349715963006,
0.012400424107909203,
-0.01461089588701725,
0.01623554341495037,
0.008697631768882275,
0.01766127161681652,
0.010035096667706966,
0.035420872271060944,
0.007665018551051617,
-0.006833516992628574,
0.03483572602272034,
0.0012210117420181632,
-0.0012293870095163584,
0.005830364301800728,
-0.023179588839411736,
0.06802929937839508,
0.03209485486149788,
0.04908282682299614,
0.0025703217834234238,
-0.04092221334576607,
-0.008700160309672356,
0.005769007373601198,
-0.032604966312646866,
-0.013002810999751091,
-0.016592295840382576,
-0.024440882727503777,
-0.003047224599868059,
0.03228262811899185,
0.010410190559923649,
0.06318076699972153,
0.022578923031687737,
0.05630360171198845,
0.02229039929807186,
-0.01918160915374756,
0.005936282686889172,
-0.008679662831127644,
0.004476927686482668,
0.05231991782784462,
0.010101616382598877,
-0.011164997704327106,
0.049704235047101974,
0.019637292250990868,
0.03933398053050041,
-0.006569812074303627,
0.0037436506245285273,
0.025553269311785698,
-0.0036952791269868612,
0.04086790978908539,
0.013436379842460155,
-0.038239553570747375,
0.0029494878835976124,
0.012857809662818909,
-0.0045177871361374855,
-0.04150582477450371,
0.013553802855312824,
0.005697742570191622,
0.042107559740543365,
-0.0022811873350292444,
-0.006382526829838753,
0.023538053035736084,
0.004718736279755831,
0.04984983801841736,
-0.03153238445520401,
-0.008256048895418644,
-0.01827402599155903,
0.023791834712028503,
-0.00016039214096963406,
-0.012034190818667412,
-0.003503754734992981,
-0.01414856594055891,
0.004624452441930771,
-0.028093505650758743,
0.01431774441152811,
0.005905285943299532,
0.002409408101812005,
0.01907588727772236,
0.0611371248960495,
-0.021964866667985916,
0.020790623500943184,
-0.00613618828356266,
0.013161384500563145,
-0.01423921063542366,
0.010207475163042545,
0.0074873012490570545,
-0.003066276665776968,
-0.05131051316857338,
-0.034572750329971313,
-0.01066005788743496,
-0.019785501062870026,
0.025896912440657616,
0.005098975729197264,
0.12504875659942627,
-0.010006967931985855,
-0.011926758103072643,
0.03369207680225372,
-0.008532722480595112,
-0.004005630500614643,
0.0430259108543396,
0.026996349915862083,
-0.014614494517445564,
0.01163576077669859,
-0.025707190856337547,
0.003478094469755888,
0.014821762219071388,
0.008953419514000416,
0.05965038761496544,
0.02814478427171707,
-0.051345668733119965,
0.0024476852267980576,
0.03957538679242134,
0.010523667559027672,
0.05744228512048721,
0.03958037495613098,
0.005574377253651619,
0.012446477077901363,
-0.002264056820422411,
0.005977742373943329,
-0.02941003255546093,
0.03349004313349724,
-0.02802356146275997,
-0.033605918288230896,
-0.028369713574647903,
0.004753322806209326,
0.048124294728040695,
0.0514625683426857,
-0.021763211116194725,
0.007267127279192209,
-0.014226707629859447,
0.0028605503030121326,
0.015209292061626911,
0.03659481182694435,
0.043100226670503616,
-0.02004934661090374,
0.004687278065830469,
0.010601057671010494,
0.016713567078113556,
0.03335835784673691,
0.015866944566369057,
-0.01597277820110321,
0.03539203852415085,
-0.008321309462189674,
-0.0044281031005084515,
-0.03704215958714485,
-0.0016976840561255813,
-0.002945155603811145,
-0.05695468187332153,
0.026491960510611534,
0.011005260050296783,
-0.02411460317671299,
-0.0038384320214390755,
0.036359839141368866,
0.03896055743098259,
-0.026168668642640114,
0.03652022406458855,
-0.02941080369055271,
-0.031792957335710526,
0.0017045967979356647,
-0.0012476107804104686,
-0.0749383419752121,
-0.01112355012446642,
0.0024079098366200924,
-0.02468276023864746,
-0.017128603532910347,
-0.04162653535604477,
0.048127949237823486,
-0.047369733452796936,
0.01673685945570469,
-0.005832413677126169,
-0.02543555200099945,
-0.03289145976305008,
-0.02494637668132782,
0.028059523552656174,
0.009602950885891914,
-0.0026134499348700047,
-0.025779802352190018,
-0.017243606969714165,
0.028469225391745567,
0.024156466126441956,
0.023430824279785156,
-0.04850684478878975,
-0.018041687086224556,
0.006167896091938019,
0.003336872672662139,
0.031901076436042786,
0.052201926708221436,
0.02439493127167225,
-0.00007539260695921257,
-0.08506502956151962,
-0.0023266668431460857
] |
Llama 2 on Amazon SageMaker a Benchmark | philschmid | September 26, 2023 | llama-sagemaker-benchmark | guide, inference, llm, aws | https://huggingface.co/blog/llama-sagemaker-benchmark | Best Latency Deployment The Best Latency configuration minimizes the time it takes to generate one token. Low latency is important for real-time use cases and providing a good experience to the customer, e.g. Chat applications. We looked at the lowest median for milliseconds per token during 1 concurrent request. The lowest overall latency was for Llama 2 7B on the ml.g5.12xlarge instance with 16.8ms/token. | Model | Quantization | Instance | concurrent requests | Latency (ms/token) median | Thorughput (tokens/second) | On-demand cost ($/h) in us-west-2 | Time to generate 1 M tokens (minutes) | cost to generate 1M tokens ($) | | ----------- | ------------ | --------------- | ------------------- | ------------------------- | -------------------------- | --------------------------------- | ------------------------------------- | ------------------------------ | | Llama 2 7B | None | ml.g5.12xlarge | 1 | 16.812526 | 61.45733054 | $7.09 | 271.19 | $32.05 | | Llama 2 13B | None | ml.g5.12xlarge | 1 | 21.002715 | 47.15736567 | $7.09 | 353.43 | $41.76 | | Llama 2 70B | None | ml.p4d.24xlarge | 1 | 41.348543 | 24.5142928 | $37.69 | 679.88 | $427.05 | | [
-0.031665727496147156,
0.012105521745979786,
0.055250559002161026,
0.017319120466709137,
0.04371346905827522,
0.022928781807422638,
0.07364273816347122,
0.06927075237035751,
0.03180800750851631,
-0.04777161777019501,
0.014761913567781448,
0.001371524529531598,
0.023217547684907913,
0.025034528225660324,
-0.023380689322948456,
-0.010389845818281174,
0.010614260099828243,
-0.043599799275398254,
0.030591238290071487,
-0.08432096242904663,
-0.00630500353872776,
0.00777464359998703,
0.0034399223513901234,
-0.008777400478720665,
-0.01435497123748064,
0.006590305827558041,
-0.08078166097402573,
0.04688218608498573,
-0.04145025089383125,
-0.017494432628154755,
-0.03545169159770012,
0.018576396629214287,
0.04429334029555321,
0.07115522027015686,
0.038512978702783585,
-0.053093571215867996,
-0.026121973991394043,
0.06687591969966888,
0.016937486827373505,
-0.06904514878988266,
0.018340155482292175,
-0.07461534440517426,
-0.03894900158047676,
0.06519822031259537,
-0.05532383173704147,
0.031220439821481705,
-0.0688900351524353,
0.03852611407637596,
-0.03820062056183815,
0.01878279447555542,
-0.1197250485420227,
0.021712668240070343,
-0.025598598644137383,
0.01750214770436287,
0.07336566597223282,
0.03897471725940704,
0.011598847806453705,
-0.07131685316562653,
-0.029797732830047607,
0.006103351712226868,
0.11050236225128174,
-0.06107599288225174,
0.05412529781460762,
0.010489808395504951,
-0.005607242230325937,
0.011695889756083488,
0.018224822357296944,
-0.006354296579957008,
-0.006223379168659449,
-0.06949794292449951,
0.049869317561388016,
0.02277710847556591,
0.00885494239628315,
-0.025478385388851166,
0.004099484067410231,
0.027120232582092285,
-0.015381922945380211,
0.01842145062983036,
0.03287450969219208,
0.09841479361057281,
-0.016402825713157654,
0.01910795457661152,
0.0547301359474659,
-0.03947459161281586,
-0.012187604792416096,
0.07379017025232315,
0.043385524302721024,
0.012355132028460503,
-0.10313582420349121,
-0.002577920677140355,
0.01521386206150055,
-0.08842059969902039,
0.05408277362585068,
0.025302888825535774,
0.02923624776303768,
0.042398735880851746,
0.06431040167808533,
0.011978541500866413,
-0.03600221499800682,
-0.0027444034349173307,
-0.03672514110803604,
-0.06842201948165894,
-0.01070317905396223,
-0.007725215516984463,
-0.03252968564629555,
0.0896398276090622,
-0.027058014646172523,
-0.09146366268396378,
-0.04146511107683182,
0.04823046922683716,
-0.06705683469772339,
0.019114268943667412,
0.06185087561607361,
0.05099091678857803,
-0.09279511123895645,
0.03556372597813606,
-0.025072740390896797,
-0.009120461530983448,
-0.0002044826396740973,
0.00875071156769991,
0.00990033708512783,
0.09379994124174118,
0.04262154549360275,
-0.06621739268302917,
-0.017782332375645638,
0.04542449116706848,
0.034698814153671265,
0.036173149943351746,
-0.02326265536248684,
0.02497178129851818,
0.02359405905008316,
0.011019066907465458,
0.017152640968561172,
-0.004703644197434187,
0.028256835415959358,
-0.06919684261083603,
0.05083972215652466,
-0.04216526821255684,
0.07829496264457703,
-0.022952785715460777,
-0.02383694425225258,
0.0030399560928344727,
0.04987360164523125,
0.00805510301142931,
0.046402327716350555,
-0.026476522907614708,
-0.057323288172483444,
-0.10273260623216629,
-0.0036649981047958136,
0.0014832461019977927,
-0.02118014171719551,
-0.03402412310242653,
-0.08238327503204346,
0.035569075495004654,
-0.009913994930684566,
0.05264892056584358,
0.005063151475042105,
-0.04025833308696747,
-0.07948193699121475,
-0.06686823815107346,
-0.035563066601753235,
-0.02548976242542267,
-0.013052105903625488,
-0.030175311490893364,
0.014728877693414688,
0.0033897897228598595,
0.07437898218631744,
0.003383296076208353,
-0.01330563798546791,
-0.0026601976715028286,
0.04384272173047066,
0.06289909780025482,
0.025901734828948975,
-0.012430462054908276,
0.02917148917913437,
-0.03500470519065857,
0.033700376749038696,
0.0682949647307396,
0.036054592579603195,
-0.019077977165579796,
0.016975615173578262,
-0.0012454201932996511,
0.01820269785821438,
0.04289214313030243,
0.04711184278130531,
-0.11689622700214386,
0.027975957840681076,
-0.0531463623046875,
-0.08062347024679184,
-0.059646304696798325,
-0.015369651839137077,
-0.0068010916002094746,
0.005419278517365456,
-0.01242167130112648,
-0.024833571165800095,
-0.0006914924015291035,
-0.037918124347925186,
0.11694181710481644,
0.07053379714488983,
0.06665529310703278,
0.030002035200595856,
0.07815823704004288,
0.007186084054410458,
-0.02204493246972561,
-0.10425521433353424,
-0.029022762551903725,
-0.020603030920028687,
-0.04639030247926712,
-0.01980719156563282,
0.014851226471364498,
0.01705963909626007,
-0.10706206411123276,
-0.05534571036696434,
-0.04831080883741379,
0.0035768626257777214,
0.005917239934206009,
0.028796561062335968,
0.01156027615070343,
0.06535811722278595,
0.014715513214468956,
0.1640528291463852,
-0.05103401094675064,
0.05334193632006645,
0.035015929490327835,
-0.034127119928598404,
0.016371989622712135,
0.025661516934633255,
-0.0005134771345183253,
0.13374626636505127,
0.03369777649641037,
-0.005803135223686695,
-0.09210646897554398,
-0.05666783079504967,
0.013027972541749477,
0.05026526004076004,
0.033000122755765915,
-0.0387691967189312,
0.018569916486740112,
0.030561286956071854,
0.03146914020180702,
-0.01750190742313862,
-0.009243248961865902,
0.0015736054629087448,
0.019823679700493813,
-0.009784407913684845,
0.030160192400217056,
0.0464874692261219,
-0.0726214274764061,
-0.042694441974163055,
-0.022529028356075287,
-0.056795720010995865,
-0.04693589732050896,
0.012164316140115261,
-0.004213598556816578,
0.05149022862315178,
-0.01712774857878685,
-0.029056135565042496,
0.02957794815301895,
-0.07016538828611374,
-0.007816310971975327,
0.005757744889706373,
0.007808612659573555,
0.046038925647735596,
-0.026425400748848915,
0.014696639962494373,
-0.042146213352680206,
-0.02525104582309723,
-0.026870813220739365,
-0.0027948934584856033,
-0.004988397937268019,
0.03869504854083061,
-0.009269056841731071,
-0.03035087138414383,
-0.005346211604773998,
-0.043114595115184784,
0.015035271644592285,
0.020153703168034554,
-0.01980743184685707,
-0.036504410207271576,
0.00042001187102869153,
0.06912167370319366,
-0.04042556881904602,
0.04789683222770691,
0.03660966083407402,
-0.002667922992259264,
-0.03137043118476868,
0.01446545496582985,
0.007152878679335117,
-0.050309743732213974,
-0.03181207925081253,
0.0280973669141531,
-0.024283207952976227,
-0.011783357709646225,
0.0843752771615982,
0.002551093464717269,
-0.02999488078057766,
0.005918592680245638,
-0.0257278922945261,
-0.006011354271322489,
0.02980988845229149,
-0.04062695801258087,
-0.010879580862820148,
-0.061979204416275024,
-0.017516810446977615,
-0.028561405837535858,
0.0023719430901110172,
-0.021826166659593582,
0.02149624563753605,
-0.09109783172607422,
-0.018852461129426956,
-0.03797595575451851,
0.006441364996135235,
-0.0624619796872139,
-0.06260143965482712,
0.08031710237264633,
-0.007932765409350395,
-0.025878719985485077,
0.030155515298247337,
0.004031573422253132,
0.005526028573513031,
-0.028266020119190216,
-0.05008717626333237,
-0.003845472587272525,
0.015834081918001175,
0.020398356020450592,
-0.032864876091480255,
-0.0005103418952785432,
-0.00004251827340340242,
0.0009305735002271831,
0.010975190438330173,
0.019638892263174057,
-0.029561858624219894,
-0.03488112613558769,
-0.00400895019993186,
-0.00876603927463293,
-0.026563623920083046,
0.006635557860136032,
-0.027887968346476555,
-0.015471355989575386,
0.01925675757229328,
0.022526102140545845,
-0.026979947462677956,
-0.04331893473863602,
0.030770229175686836,
0.011948572471737862,
-0.03253607451915741,
0.04559618979692459,
-0.004943714011460543,
0.01738641783595085,
-0.03632462024688721,
0.03175318241119385,
-0.04136215150356293,
0.013386707752943039,
0.0026995704974979162,
0.013814365491271019,
0.005491889547556639,
0.06844902783632278,
-0.024382993578910828,
-0.03399274870753288,
0.007668721955269575,
-0.0024028609041124582,
-0.0029146308079361916,
-0.002791669452562928,
-0.004414915107190609,
-0.029102928936481476,
-0.004669433459639549,
0.03780090808868408,
0.0184943750500679,
-0.028355790302157402,
0.005789351183921099,
0.012242050841450691,
-0.007891252636909485,
-0.04127839207649231,
0.023134533315896988,
-0.000820952991489321,
0.009374135173857212,
0.003085310338065028,
-0.006747440900653601,
-0.03649163618683815,
0.026699518784880638,
-0.016253989189863205,
0.004960147198289633,
-0.01420405600219965,
-0.0053137531504035,
-0.014228067360818386,
-0.010452579706907272,
0.0034332063514739275,
0.03432855010032654,
-0.0036590234376490116,
-0.020265191793441772,
-0.020468909293413162,
-0.0038231706712394953,
-0.005328919738531113,
0.010790734551846981,
0.03287329897284508,
-0.003062609350308776,
-0.020736439153552055,
0.0373738631606102,
-0.006180844735354185,
-0.0344671830534935,
0.024726595729589462,
-0.016107365489006042,
0.00741885369643569,
-0.01730368845164776,
0.04337431117892265,
-0.001674017170444131,
-0.025624994188547134,
0.034249309450387955,
0.031068095937371254,
0.027503442019224167,
0.022887589409947395,
0.024320434778928757,
-0.018077850341796875,
0.009342929348349571,
-0.014456341043114662,
0.0001394050195813179,
0.02152201347053051,
0.06778363138437271,
0.04132010415196419,
0.02564948797225952,
0.020472658798098564,
-0.047079265117645264,
0.06989724934101105,
0.008280893787741661,
-0.022211359813809395,
0.018948551267385483,
-0.04365255683660507,
-0.02199871465563774,
-0.007304426748305559,
0.012962164357304573,
0.0011215617414563894,
0.013259022496640682,
0.0530407540500164,
-0.02669587917625904,
0.009132280945777893,
0.016324028372764587,
-0.0029629357159137726,
0.01603781431913376,
-0.0005413999315351248,
0.02451220341026783,
0.0004211710183881223,
0.007109548896551132,
-0.016772301867604256,
-0.018226413056254387,
-0.041110437363386154,
0.0010953879682347178,
0.027865150943398476,
-0.026686444878578186,
0.021870605647563934,
0.006276365369558334,
-0.003220073878765106,
-0.01899368315935135,
-0.0006659008213318884,
0.059330541640520096,
-0.008639420382678509,
-0.015321829356253147,
0.009623201563954353,
0.012633373029530048,
-0.00629743468016386,
-0.02740410529077053,
-0.021641753613948822,
0.0017518895911052823,
0.0018349853344261646,
-0.0055068847723305225,
-0.012716887518763542,
-0.039876289665699005,
-0.02116754651069641,
0.016290441155433655,
-0.005805480293929577,
-0.02103113755583763,
-0.015185671858489513,
0.0001767898356774822,
0.01721348986029625,
-0.011318390257656574,
-0.04661481827497482,
0.02593776397407055,
0.02469407208263874,
-0.006793331354856491,
-0.0068699368275702,
0.019695522263646126,
0.002436206676065922,
0.012949725612998009,
0.05244461074471474,
0.022082312032580376,
0.006335583049803972,
-0.0047493260353803635,
0.028331583365797997,
0.010770577006042004,
-0.06638932973146439,
0.0050530871376395226,
0.026094427332282066,
-0.0033694824669510126,
0.0021440235432237387,
0.01584441028535366,
0.08122146129608154,
0.050947852432727814,
-0.017441142350435257,
0.07609466463327408,
0.0411987341940403,
0.0002483922289684415,
0.02927083894610405,
-0.042641814798116684,
0.0016108807176351547,
-0.01203859131783247,
-0.04791022092103958,
0.043986134231090546,
0.0158978421241045,
0.005895014386624098,
0.038301609456539154,
-0.0007218797691166401,
-0.035448018461465836,
0.022273212671279907,
0.021575482562184334,
0.03149440512061119,
0.06840675324201584,
-0.04408467933535576,
0.0022008665837347507,
0.00009486405906500295,
-0.03552089259028435,
0.014367857947945595,
-0.05232195556163788,
-0.003666690783575177,
0.035228122025728226,
-0.05452175810933113,
-0.07537559419870377,
0.033480554819107056,
0.05639445036649704,
0.047252073884010315,
-0.012664654292166233,
-0.006544900126755238,
-0.026811378076672554,
-0.04117704927921295,
0.01860114559531212,
0.0056299143470823765,
-0.005610716994851828,
-0.0055416845716536045,
-0.03561931103467941,
0.06317903846502304,
-0.007322427351027727,
-0.04469849541783333,
0.018183698877692223,
0.013627393171191216,
0.02804131805896759,
0.035411182790994644,
0.02166788838803768,
0.0029141250997781754,
0.019910914823412895,
-0.02322636917233467,
-0.03944716602563858,
-0.009645537473261356,
-0.03760409727692604,
-0.0027389528695493937,
-0.053528860211372375,
0.016341106966137886,
0.038003452122211456,
-0.024546818807721138,
-0.05036448687314987,
-0.00721457926556468,
-0.017919473350048065,
-0.03678157553076744,
-0.005206738132983446,
-0.018294895067811012,
0.03856413811445236,
0.031132953241467476,
0.03641282021999359,
0.04835480451583862,
-0.006164148449897766,
-0.02471916377544403,
0.028863146901130676,
-0.017713408917188644,
0.031450096517801285,
0.0013669257750734687,
-0.027431923896074295,
0.015818390995264053,
0.002123115584254265,
-0.05019550397992134,
0.03829723224043846,
-0.0016258793184533715,
0.04061826691031456,
-0.028158074244856834,
-0.016975531354546547,
-0.008084258064627647,
-0.019397972151637077,
-0.027085261419415474,
-0.0006984845385886729,
0.023872025310993195,
0.0013459855690598488,
0.0769130066037178,
-0.005691449623554945,
0.008472845889627934,
0.06927704811096191,
0.0053157503716647625,
-0.0034270822070538998,
-0.030475810170173645,
-0.021280968561768532,
0.008947755210101604,
0.048773664981126785,
0.03278110548853874,
-0.000070862406573724,
0.007550976239144802,
-0.025576287880539894,
-0.009376272559165955,
-0.05201610550284386,
0.008403504267334938,
-0.0012761082034558058,
-0.017947886139154434,
-0.015731709077954292,
-0.03531046584248543,
0.034709446132183075,
0.00969251710921526,
0.029829373583197594,
-0.010864305309951305,
0.04721655696630478,
0.006905781105160713,
-0.008526047691702843,
0.006480092648416758,
-0.007792232558131218,
0.0013525685062631965,
-0.054249249398708344,
0.05445996671915054,
0.018730001524090767,
0.0335066132247448,
-0.007755069527775049,
0.0033254949375987053,
0.00027171982219442725,
-0.024626916274428368,
0.00660144817084074,
-0.014535832218825817,
-0.004304942209273577,
0.01681177318096161,
0.034032341092824936,
0.0035122521221637726,
0.002953475806862116,
0.047203969210386276,
-0.027529502287507057,
-0.01321949902921915,
-0.0023673027753829956,
0.013914050534367561,
0.014519473537802696,
0.06586633622646332,
0.0018862058641389012,
-0.026526013389229774,
-0.012417632155120373,
0.01773736998438835,
-0.028172817081212997,
-0.002203448209911585,
-0.05191998928785324,
-0.0014895546482875943,
0.031852029263973236,
0.027024120092391968,
-0.0060284133069217205,
0.032752130180597305,
-0.013674428686499596,
0.038234926760196686,
0.045009762048721313,
-0.01893410086631775,
-0.0017033604672178626,
0.006938199512660503,
-0.002129100263118744,
0.07419713586568832,
-0.04668208956718445,
-0.031132910400629044,
-0.018704095855355263,
-0.07365886121988297,
0.05031982436776161,
0.018074704334139824,
-0.010814344510436058,
-0.025580333545804024,
0.08839235454797745,
0.050749942660331726,
-0.006000653840601444,
-0.016057880595326424,
-0.007759420666843653,
0.03756551444530487,
-0.01678241789340973,
-0.03108183480799198,
0.03629886358976364,
0.016351843252778053,
-0.03538405895233154,
0.002985491417348385,
0.010722111910581589,
0.03632386773824692,
-0.0444055050611496,
0.023260874673724174,
0.008905265480279922,
0.0036885214503854513,
-0.007295225281268358,
0.004725586157292128,
0.005946221761405468,
0.024282149970531464,
0.017129989340901375,
0.036466628313064575,
-0.018154779449105263,
0.030607374384999275,
-0.037911802530288696,
0.042203404009342194,
-0.05084918439388275,
0.041672009974718094,
-0.01168031431734562,
-0.015038548968732357,
-0.06320367753505707,
0.0028675615321844816,
0.006823247764259577,
0.029444018378853798,
-0.04488084837794304,
0.02000690996646881,
-0.016574515029788017,
0.00567225506529212,
-0.024768518283963203,
-0.028506673872470856,
0.02974931336939335,
-0.008936483412981033,
0.03995173051953316,
0.02706412971019745,
-0.04992983490228653,
0.0019468083046376705,
0.004895234480500221,
0.028800182044506073,
0.027475576847791672,
-0.013756785541772842,
-0.007006873842328787,
0.021586915478110313,
0.020165087655186653,
-0.005535694770514965,
-0.009940240532159805,
0.045384153723716736,
-0.004671050701290369,
-0.013129571452736855,
0.003751233220100403,
0.014747104607522488,
0.034517522901296616,
-0.053498201072216034,
0.030342640355229378,
0.0026840234640985727,
0.01816502772271633,
0.03356030583381653,
-0.043453723192214966,
-0.0002033271302934736,
-0.01543533243238926,
0.04525988921523094,
-0.024378156289458275,
0.013824007473886013,
0.016129640862345695,
-0.019807837903499603,
-0.05676453560590744,
-0.010814368724822998,
0.035011474043130875,
-0.017602376639842987,
-0.056403931230306625,
-0.012709797360002995,
0.007843953557312489,
0.006909193005412817,
-0.044369954615831375,
-0.03750459477305412,
0.026284920051693916,
-0.00865735299885273,
0.0157490111887455,
-0.028315594419836998,
-0.011637031100690365,
-0.023506445810198784,
0.012790229171514511,
0.013306236825883389,
0.007741296198219061,
0.014236727729439735,
0.04498935118317604,
0.02549523115158081,
-0.03471323475241661,
0.0247312281280756
] |
Llama 2 on Amazon SageMaker a Benchmark | philschmid | September 26, 2023 | llama-sagemaker-benchmark | guide, inference, llm, aws | https://huggingface.co/blog/llama-sagemaker-benchmark | Best Throughput Deployment The Best Throughput configuration maximizes the number of tokens that are generated per second. This might come with some reduction in overall latency since you process more tokens simultaneously. We looked at the highest tokens per second performance during twenty concurrent requests, with some respect to the cost of the instance. The highest throughput was for Llama 2 13B on the ml.p4d.24xlarge instance with 688 tokens/sec. | Model | Quantization | Instance | concurrent requests | Latency (ms/token) median | Throughput (tokens/second) | On-demand cost ($/h) in us-west-2 | Time to generate 1 M tokens (minutes) | cost to generate 1M tokens ($) | | ----------- | ------------ | --------------- | ------------------- | ------------------------- | -------------------------- | --------------------------------- | ------------------------------------- | ------------------------------ | | Llama 2 7B | None | ml.g5.12xlarge | 20 | 43.99524 | 449.9423027 | $7.09 | 33.59 | $3.97 | | Llama 2 13B | None | ml.p4d.12xlarge | 20 | 67.4027465 | 668.0204881 | $37.69 | 24.95 | $15.67 | | Llama 2 70B | None | ml.p4d.24xlarge | 20 | 59.798591 | 321.5369158 | $37.69 | 51.83 | $32.56 | | [
0.00019603664986789227,
0.07936949282884598,
-0.009565711952745914,
0.03552400320768356,
0.06522057205438614,
0.05102771148085594,
0.034301601350307465,
0.026004230603575706,
0.0033177232835441828,
-0.04483439400792122,
0.036439668387174606,
-0.0009511315729469061,
0.022449372336268425,
0.05050097033381462,
0.05219244956970215,
-0.004291951190680265,
0.028249775990843773,
-0.026773041114211082,
0.024388695135712624,
-0.06371373683214188,
-0.009620005264878273,
-0.022453706711530685,
0.032450120896101,
0.010547434911131859,
-0.010801419615745544,
-0.020393140614032745,
-0.08260920643806458,
0.02870451658964157,
-0.028934311121702194,
-0.008844795636832714,
-0.05772990360856056,
0.016447633504867554,
-0.016168290749192238,
0.0701548382639885,
0.06261314451694489,
-0.0599551647901535,
-0.07645857334136963,
0.0559193380177021,
0.05034402385354042,
-0.04950808361172676,
0.0031373717356473207,
-0.059444669634103775,
-0.049025826156139374,
0.08318846672773361,
-0.059264082461595535,
0.07776597142219543,
-0.01865958794951439,
-0.007039297837764025,
-0.008197830989956856,
0.03107868880033493,
-0.11459062993526459,
0.0341813750565052,
-0.007654520682990551,
0.0016300221905112267,
0.060803696513175964,
0.04613620787858963,
-0.01619282364845276,
-0.03791741654276848,
-0.04639565199613571,
0.025459684431552887,
0.053763311356306076,
-0.07108607888221741,
0.056982409209012985,
0.02976072020828724,
-0.01651923917233944,
0.0037103050854057074,
0.014232662506401539,
0.02520671859383583,
-0.003096566069871187,
-0.09487034380435944,
0.017985709011554718,
0.022979091852903366,
0.017209311947226524,
-0.008332212455570698,
0.016429930925369263,
0.006799435243010521,
0.00007783842011122033,
0.006377294193953276,
0.024869417771697044,
0.0813417136669159,
-0.0069539351388812065,
0.045107290148735046,
0.01817498914897442,
-0.04722576588392258,
0.03114677406847477,
0.04750682786107063,
0.037823114544153214,
-0.01492293830960989,
-0.10182765126228333,
0.031122667714953423,
0.008699223399162292,
-0.06023493781685829,
0.022650664672255516,
-0.0001453283621231094,
0.05842415615916252,
0.03894878551363945,
0.053132086992263794,
0.0008992950897663832,
-0.04459875449538231,
0.015285694040358067,
-0.02713249810039997,
-0.03427216038107872,
0.0036126242484897375,
-0.019855961203575134,
-0.06228504702448845,
0.09367559850215912,
-0.039375171065330505,
-0.1118907555937767,
-0.06311923265457153,
0.041988007724285126,
-0.028260592371225357,
-0.026443567126989365,
0.03686259314417839,
0.014483845792710781,
-0.05835534632205963,
0.018843278288841248,
-0.05038662999868393,
0.024776427075266838,
-0.007084167096763849,
-0.006814132444560528,
0.029909035190939903,
0.11234750598669052,
0.08563128113746643,
-0.04589742049574852,
-0.033691707998514175,
0.03725391998887062,
0.07306654006242752,
0.03209271281957626,
-0.0019025387009605765,
0.0240497887134552,
0.014616676606237888,
-0.020552141591906548,
0.02769353799521923,
0.00830004084855318,
0.04654380679130554,
-0.08194593340158463,
0.02875039167702198,
-0.022670768201351166,
0.02248561382293701,
-0.00435807928442955,
-0.06499947607517242,
0.0032635231036692858,
0.01242108829319477,
0.004645858891308308,
0.06298480927944183,
-0.01349653024226427,
-0.005038686562329531,
-0.054982107132673264,
-0.003012282308191061,
-0.03268403932452202,
-0.09514492750167847,
-0.003522854531183839,
-0.06582524627447128,
0.0027387882582843304,
0.04039248824119568,
0.05157068371772766,
0.007026307284832001,
-0.03222647309303284,
-0.14671765267848969,
-0.06982196867465973,
-0.007260380312800407,
-0.02133304998278618,
0.014853659085929394,
0.017090527340769768,
-0.009900393895804882,
-0.01581890508532524,
0.08083143830299377,
-0.0031763750594109297,
-0.05269471928477287,
-0.01319266390055418,
0.013440883718430996,
0.080159030854702,
0.02596031315624714,
-0.05485372617840767,
0.03342906013131142,
-0.009663160890340805,
0.02238527685403824,
0.06635428965091705,
0.015713892877101898,
-0.04072001576423645,
-0.02734120562672615,
0.03558122366666794,
-0.0018545499769970775,
0.06999821960926056,
0.04119955375790596,
-0.10286366939544678,
-0.0025008313823491335,
0.01784168928861618,
-0.026121774688363075,
-0.014748412184417248,
-0.04913247004151344,
0.009359130635857582,
0.04386391118168831,
-0.009093830361962318,
-0.027643391862511635,
0.009384668432176113,
-0.009709706529974937,
0.04504838585853577,
0.11738032847642899,
0.006644643843173981,
0.04889792203903198,
0.08582742512226105,
0.02774004451930523,
-0.02269723266363144,
-0.08994416892528534,
-0.05354781821370125,
-0.01600235141813755,
-0.053367700427770615,
0.014175929129123688,
0.0001509063586127013,
0.012582062743604183,
-0.06377024203538895,
-0.07845132052898407,
-0.06107588857412338,
-0.014522881247103214,
0.008952814154326916,
-0.012284667231142521,
-0.024556893855333328,
0.03160814568400383,
0.008314652368426323,
0.16628749668598175,
-0.05686585605144501,
0.04949590563774109,
0.03879823163151741,
0.010556692257523537,
-0.008912823162972927,
-0.0069626071490347385,
0.032287176698446274,
0.06825460493564606,
-0.02671041712164879,
-0.027646731585264206,
-0.09493652731180191,
-0.00911006610840559,
0.014478154480457306,
0.03130139410495758,
0.041954994201660156,
-0.041170135140419006,
-0.01311379112303257,
0.07111042737960815,
0.026670632883906364,
-0.04119233042001724,
0.005265101790428162,
0.0035067542921751738,
0.02721104770898819,
0.020284075289964676,
0.019855348393321037,
0.09632473438978195,
-0.06765030324459076,
-0.007913484238088131,
-0.06810487806797028,
-0.06384706497192383,
-0.00965098850429058,
0.026269765570759773,
-0.0382315069437027,
0.04371160641312599,
-0.01371901948004961,
-0.02014894224703312,
-0.003939441870898008,
-0.016671665012836456,
-0.009676679968833923,
0.012979337014257908,
0.0012118692975491285,
-0.002800866961479187,
-0.029039863497018814,
0.019044043496251106,
-0.03531626611948013,
-0.017900606617331505,
-0.04046956077218056,
-0.0005690043326467276,
-0.03569928929209709,
0.03487998619675636,
0.018494393676519394,
-0.006938043516129255,
-0.011136279441416264,
-0.01122978050261736,
-0.01197564322501421,
0.006199005525559187,
-0.0315428264439106,
-0.040473707020282745,
-0.01924404688179493,
0.05114644765853882,
-0.07231946289539337,
0.03286180645227432,
0.03355976939201355,
-0.02268255688250065,
-0.037599507719278336,
0.011477396823465824,
-0.019587498158216476,
-0.06537272781133652,
-0.043414682149887085,
0.040088094770908356,
0.003787231631577015,
0.0017124279402196407,
0.06367015093564987,
0.0034117228351533413,
-0.030008336529135704,
0.0029643380548805,
-0.0012747542932629585,
0.0025177139323204756,
0.019558435305953026,
-0.048255376517772675,
-0.004043602850288153,
-0.05218324810266495,
0.0030919762793928385,
-0.039434898644685745,
-0.028945893049240112,
-0.006159803830087185,
0.03925362974405289,
-0.08308880776166916,
-0.023031625896692276,
-0.044842321425676346,
0.03979767858982086,
-0.054971788078546524,
-0.0625205710530281,
0.0787830501794815,
0.0036860902328044176,
0.0031879087910056114,
-0.009079263545572758,
0.018731387332081795,
-0.0005826493143104017,
-0.03988148644566536,
-0.03299354389309883,
0.004879415035247803,
-0.015080539509654045,
0.01389277819544077,
-0.025926785543560982,
0.016980165615677834,
0.03853980451822281,
-0.014885704964399338,
-0.0036776065826416016,
0.001270694425329566,
-0.025733960792422295,
-0.03672086074948311,
-0.0008584955940023065,
-0.011836190707981586,
-0.03169649839401245,
0.004448376130312681,
-0.06154050678014755,
-0.0333431251347065,
0.016552232205867767,
0.021619929000735283,
-0.017826389521360397,
-0.062481123954057693,
-0.003304570447653532,
-0.014075644314289093,
-0.044804126024246216,
0.011342249810695648,
0.034734390676021576,
0.0076539055444300175,
-0.03796203434467316,
0.0342387892305851,
-0.027076613157987595,
0.01761128194630146,
0.017361951991915703,
0.021641012281179428,
0.027315426617860794,
0.04997536167502403,
-0.015045521780848503,
-0.056257374584674835,
-0.0032264315523207188,
0.015614815056324005,
-0.01601494662463665,
-0.013510401360690594,
0.0065168836154043674,
0.00877468753606081,
0.020328711718320847,
0.011691850610077381,
0.01907837577164173,
-0.026667427271604538,
0.013294009491801262,
0.006687347311526537,
-0.0063764904625713825,
-0.0376378633081913,
0.029709285125136375,
-0.0011967665050178766,
-0.006482196506112814,
-0.010853011161088943,
0.005925724748522043,
-0.024254828691482544,
0.03610580414533615,
-0.019646085798740387,
0.0054689147509634495,
-0.018787622451782227,
-0.016260294243693352,
0.004209115169942379,
-0.013464303687214851,
0.015040823258459568,
0.019707486033439636,
0.00806607399135828,
-0.020981360226869583,
-0.02381408028304577,
-0.01074268203228712,
0.0020191012881696224,
0.013675110414624214,
0.008596132509410381,
0.013109506107866764,
-0.04974190890789032,
0.013930181972682476,
-0.002444472163915634,
-0.022431327030062675,
0.009997923858463764,
-0.00834650732576847,
-0.017532406374812126,
-0.032868288457393646,
0.0462939478456974,
-0.005669701378792524,
-0.04850735887885094,
0.053429439663887024,
0.054639000445604324,
-0.0014685112982988358,
0.028058575466275215,
0.008802685886621475,
-0.013929692097008228,
0.020015569403767586,
-0.009705505333840847,
-0.019682545214891434,
0.004384400323033333,
0.05103898048400879,
-0.0011360407806932926,
0.009418968111276627,
0.015826312825083733,
-0.026850871741771698,
0.08098563551902771,
0.026893291622400284,
-0.008055574260652065,
0.04486089572310448,
-0.0056315334513783455,
-0.02792266756296158,
0.010500450618565083,
0.0071980576030910015,
0.0003454269899521023,
0.006868595257401466,
0.061415016651153564,
-0.031151259317994118,
0.03300786390900612,
0.013235551305115223,
0.00640146667137742,
-0.0016592380125075579,
-0.006095863878726959,
0.0009641333599574864,
0.001514970324933529,
0.00970406923443079,
-0.027787450700998306,
-0.010626762174069881,
-0.04025246202945709,
0.007567340508103371,
0.023466384038329124,
-0.021039756014943123,
0.03524861857295036,
0.06825386732816696,
-0.003914065193384886,
-0.01525783259421587,
0.008818892762064934,
0.03933258727192879,
0.017083503305912018,
-0.03568730875849724,
0.03363676741719246,
0.021848836913704872,
0.02903120033442974,
-0.030534273013472557,
-0.015220134519040585,
-0.02164103463292122,
-0.0006393483490683138,
-0.009393202140927315,
-0.01876606047153473,
-0.026915743947029114,
0.0035815679002553225,
-0.012652328237891197,
0.002613973105326295,
-0.0400792732834816,
0.00029644675669260323,
-0.036334190517663956,
0.03287234902381897,
0.006696558557450771,
-0.03515827655792236,
0.004719406366348267,
0.001641390030272305,
-0.0337190143764019,
0.02895868383347988,
0.013076908886432648,
0.01792922429740429,
0.009085485711693764,
0.057446014136075974,
0.02499554492533207,
0.013437475077807903,
0.028135957196354866,
0.0009858418488875031,
-0.012544743716716766,
-0.033854227513074875,
-0.016605990007519722,
0.04556318745017052,
-0.0042312187142670155,
0.008635272271931171,
0.02925010211765766,
0.07073262333869934,
0.067998006939888,
-0.015084187500178814,
0.057278066873550415,
0.015008635818958282,
-0.005065147299319506,
0.00026632568915374577,
-0.046514756977558136,
-0.015580416657030582,
-0.014564963057637215,
-0.02407471463084221,
0.08154340088367462,
0.03537137061357498,
0.021208465099334717,
0.014822985976934433,
0.0006884443573653698,
-0.02838643081486225,
0.026238374412059784,
-0.0038939211517572403,
0.021398300305008888,
0.01636541448533535,
-0.03058866783976555,
0.0010536331683397293,
0.0029408165719360113,
0.002967758337035775,
-0.02607981115579605,
-0.0736716091632843,
0.0077008772641420364,
0.016899509355425835,
-0.021152621135115623,
-0.06678512692451477,
0.05445985868573189,
0.02315143495798111,
0.02966066263616085,
-0.01088415365666151,
-0.02375124953687191,
-0.004741620272397995,
-0.036397673189640045,
-0.01783604919910431,
-0.0022176869679242373,
-0.005838261917233467,
-0.015702389180660248,
-0.045559097081422806,
0.05155700072646141,
0.01732814684510231,
-0.06720522046089172,
0.015430999919772148,
0.03708496689796448,
0.044271260499954224,
-0.010255848057568073,
0.041947849094867706,
0.026554187759757042,
0.00584093714132905,
0.0034564551897346973,
-0.033082980662584305,
-0.009309289045631886,
-0.03407895192503929,
0.03902842476963997,
-0.045653730630874634,
0.050881218165159225,
-0.004582842346280813,
-0.017306877300143242,
-0.03516041859984398,
0.022237777709960938,
-0.015614393167197704,
-0.008993500843644142,
-0.010234471410512924,
-0.014437388628721237,
0.018518924713134766,
0.03193498030304909,
0.040125783532857895,
0.02862497977912426,
0.003616287838667631,
-0.026211904361844063,
0.04927601292729378,
-0.00405015517026186,
0.01457561831921339,
-0.015112162567675114,
-0.03413651883602142,
0.016235951334238052,
-0.03220190480351448,
-0.09586115926504135,
0.04209510609507561,
0.014612957835197449,
0.01684325747191906,
-0.030159052461385727,
-0.027793563902378082,
0.0015137394657358527,
-0.04098284989595413,
0.010048388503491879,
-0.01770292967557907,
0.025952378287911415,
0.009565513581037521,
0.060647688806056976,
-0.022719163447618484,
0.037345074117183685,
0.05996280163526535,
0.023758383467793465,
0.010003522969782352,
-0.00002621761814225465,
0.011244583874940872,
0.022706137970089912,
0.06353625655174255,
0.06214471906423569,
0.001918917172588408,
0.0030115973204374313,
-0.034431178122758865,
-0.00035288152866996825,
-0.040672119706869125,
-0.00720216054469347,
0.026104040443897247,
-0.05553989112377167,
0.005834576673805714,
-0.03218631446361542,
0.03657408431172371,
-0.005525239277631044,
-0.010287890210747719,
-0.001982436515390873,
0.0402960404753685,
-0.025779077783226967,
0.020760878920555115,
0.018454967066645622,
-0.008708621375262737,
-0.00942214298993349,
-0.030988045036792755,
0.04916970804333687,
0.021095193922519684,
0.04408717900514603,
-0.013548649847507477,
-0.018893860280513763,
-0.020145386457443237,
-0.030139006674289703,
0.02585333213210106,
-0.02309529297053814,
0.013397044502198696,
0.03774664178490639,
0.03624412789940834,
0.0036811809986829758,
-0.019206179305911064,
0.02349943108856678,
-0.025475934147834778,
-0.01819741167128086,
-0.023118386045098305,
-0.024662349373102188,
0.027906829491257668,
0.06096556782722473,
-0.027224743738770485,
-0.05410470813512802,
-0.020494265481829643,
0.018561409786343575,
-0.03850984945893288,
0.01596018113195896,
-0.05658359080553055,
-0.01519731804728508,
0.010143375024199486,
0.06121017038822174,
-0.007108643651008606,
0.04476768150925636,
0.012587914243340492,
0.04576845467090607,
0.03608350083231926,
-0.01343199610710144,
-0.003727383678779006,
0.018542105332016945,
0.006263523828238249,
0.07065965235233307,
-0.04783150181174278,
0.0044370475225150585,
0.0014613682869821787,
-0.08000291883945465,
0.04888227954506874,
0.006034706719219685,
-0.02121535874903202,
-0.024608630686998367,
0.0671047642827034,
0.00944381020963192,
-0.000151668195030652,
0.017462998628616333,
0.029469983652234077,
0.005939875263720751,
-0.02808544412255287,
-0.04083831608295441,
0.058170270174741745,
0.015606507658958435,
-0.030789261683821678,
0.002894043456763029,
-0.010460742749273777,
0.07114135473966599,
-0.016686175018548965,
-0.0002348476555198431,
0.02765686623752117,
-0.00031571503495797515,
-0.009095852263271809,
0.01644599810242653,
0.014228799380362034,
0.03384554758667946,
0.020093699917197227,
0.043728772550821304,
-0.013929647393524647,
0.03109627217054367,
-0.02563350461423397,
0.019184812903404236,
-0.019515961408615112,
0.023391252383589745,
0.003565051592886448,
0.006090711802244186,
-0.05368460342288017,
-0.0030399158131331205,
-0.026207897812128067,
0.026878872886300087,
-0.04392455890774727,
0.020513664931058884,
-0.019202716648578644,
-0.00017964172002393752,
-0.014261845499277115,
-0.018518127501010895,
0.05256900563836098,
0.024276120588183403,
0.07837949693202972,
0.016839152202010155,
-0.07412153482437134,
0.0421239472925663,
-0.023809386417269707,
0.0339873805642128,
0.03209429979324341,
-0.01655511185526848,
-0.008824672549962997,
-0.011358773335814476,
0.029454415664076805,
0.02273445948958397,
-0.025971530005335808,
0.031229883432388306,
0.007456619758158922,
-0.012537029571831226,
0.008505068719387054,
-0.0048256623558700085,
0.04551694914698601,
-0.04286644607782364,
0.037409499287605286,
0.007340289652347565,
0.030100032687187195,
0.024169741198420525,
-0.021589146926999092,
-0.03182381018996239,
-0.00751626817509532,
0.046468041837215424,
-0.027214106172323227,
0.013264002278447151,
-0.0033355355262756348,
-0.0317268967628479,
-0.03648316487669945,
-0.03102893754839897,
0.020044459030032158,
-0.0576201006770134,
-0.01962803117930889,
-0.019736159592866898,
0.005720325745642185,
0.01785905845463276,
-0.03391534462571144,
-0.044193241745233536,
0.012248103506863117,
-0.00720449211075902,
0.02711244486272335,
-0.0010242742719128728,
-0.0018260956276208162,
-0.008016780018806458,
0.015913743525743484,
-0.003968922421336174,
-0.013603409752249718,
0.019186869263648987,
0.026817046105861664,
0.04291015490889549,
-0.035459842532873154,
0.014577806927263737
] |