krthr / clip-embeddings

Generate CLIP (clip-vit-large-patch14) text & image embeddings

  • Public
  • 2.9M runs
  • L40S
  • GitHub
  • Paper

Input

image
string
Shift + Return to add a new line

Input text

file

Input image

Output

[ 1.0652785301208496, -0.24157510697841644, -0.180761456489563, -0.05571259558200836, -0.8323676586151123, 0.864410400390625, 0.1608579456806183, 0.03193096071481705, -1.102874517440796, -1.0280835628509521, -0.544125497341156, 0.4093940258026123, 0.452186644077301, -0.0781693160533905, -0.11766217648983002, -0.5596883296966553, 0.05310811102390289, -0.1506952941417694, -0.42165040969848633, -0.11431178450584412, -0.6420049667358398, -0.4549296796321869, -0.07983018457889557, -0.24870148301124573, -1.277738332748413, -0.7811111211776733, 0.48357731103897095, 0.4181438982486725, 0.31401485204696655, -0.5977967381477356, -0.05498824268579483, -0.676193118095398, -0.17375768721103668, 0.15542450547218323, 0.3281118869781494, 0.2500941753387451, 0.6131008267402649, -0.39747893810272217, -0.017740778625011444, -0.04423171281814575, 0.2326548993587494, -0.25721174478530884, 0.6314173936843872, -0.36674776673316956, 0.21189723908901215, 0.026401787996292114, -0.3264418840408325, -0.4691821336746216, -0.24284422397613525, 1.5187373161315918, -1.1762531995773315, 0.39858898520469666, 0.7526814341545105, -0.740343451499939, -0.1305464208126068, 0.14039981365203857, -0.39393073320388794, -0.8274781107902527, 0.1891998052597046, 0.32197362184524536, -0.04044920206069946, -0.5345522165298462, -0.7923108339309692, 0.11927716434001923, -0.10604284703731537, -0.4477360248565674, -0.2522841989994049, 0.8501483201980591, 0.8024749755859375, 0.08543431758880615, -0.3308559060096741, 0.24036601185798645, -1.0342354774475098, -0.41323167085647583, 0.4012805223464966, 0.0795978456735611, 0.012032344937324524, -0.4613766670227051, 0.597948431968689, -0.1057196855545044, -0.10465666651725769, 0.379280149936676, -0.6389815807342529, -0.9036555290222168, 0.846413254737854, -0.39146938920021057, 0.6890578269958496, 0.3635849356651306, -0.7347592115402222, -1.183403730392456, -0.09348537027835846, 0.5484786629676819, 0.47930648922920227, -0.2750227451324463, -0.7309330701828003, -0.2366388887166977, -0.48853054642677307, 0.2570804953575134, -0.7298957109451294, 0.38457030057907104, -0.10072290897369385, 0.7898790836334229, 0.08868913352489471, -0.015651270747184753, -0.30599793791770935, -0.8498790860176086, 0.9374427199363708, -1.242692232131958, -0.2774530053138733, 0.12888462841510773, 0.33203017711639404, 0.5651620030403137, -0.1353330910205841, 0.22289085388183594, 0.268149733543396, 1.107770562171936, -0.7061616778373718, -0.593892514705658, -0.8250616192817688, 0.7437657117843628, -0.2688317894935608, -0.14543943107128143, 0.12510032951831818, 0.05711142718791962, 0.4810442626476288, 1.8518638610839844, 0.4693852961063385, -0.07048928737640381, 0.3364306092262268, 0.5994360446929932, 0.7800612449645996, 0.16319280862808228, 0.542494535446167, 0.33203452825546265, -0.4296371638774872, -0.3041597008705139, 0.05027717351913452, 1.2843068838119507, -0.8942577838897705, -0.9040589332580566, 0.8462493419647217, 0.10905821621417999, -0.3259084224700928, 0.25143682956695557, -0.30198681354522705, 0.6713443994522095, -0.004757300019264221, 0.23487308621406555, 0.5113310813903809, 1.1408882141113281, 0.27382177114486694, 0.4231718182563782, 0.39043155312538147, 0.0479983314871788, -0.38647034764289856, -0.21081820130348206, 0.8906380534172058, -0.18619805574417114, -0.24329903721809387, 0.062480226159095764, -0.5163440704345703, -0.2277114987373352, 0.08327141404151917, -0.37915340065956116, -0.5058600902557373, 0.670438289642334, 0.2936767041683197, -0.6280513405799866, 0.1361844539642334, 0.5045673847198486, -0.052649855613708496, 0.3308100700378418, -0.009538263082504272, 0.05611693859100342, -0.446361780166626, 0.47560667991638184, 0.10742582380771637, -0.8168196678161621, -0.06304926425218582, -0.9639532566070557, 1.9674601554870605, 0.624442458152771, 0.6676713228225708, -0.3988284468650818, 0.44947922229766846, 0.5774889588356018, 0.763330340385437, 0.44419071078300476, 0.5137039422988892, -0.5076664686203003, 0.20583924651145935, 0.13413606584072113, 1.4280813932418823, -0.253287136554718, -0.03822097182273865, -0.8658885359764099, -0.7300360202789307, 0.20238153636455536, -0.19504697620868683, -0.29496753215789795, 0.027097344398498535, 0.25975489616394043, 0.24098019301891327, -0.1945420503616333, 0.3117465376853943, -0.036309629678726196, -0.07525067031383514, -0.46253690123558044, 0.3077981472015381, 0.535581111907959, -0.4755191206932068, -0.5064421892166138, 0.16315507888793945, -0.02300814539194107, 0.21400029957294464, 0.5324759483337402, -0.5408450365066528, 0.5269977450370789, -1.2126672267913818, 0.11710098385810852, -0.5673290491104126, -0.1886185258626938, 0.02811025083065033, 1.1107820272445679, -0.06927470862865448, -0.4456891417503357, -0.4574470520019531, 0.37010008096694946, 0.5360882878303528, -0.5943068861961365, 0.15116870403289795, -0.7847367525100708, -0.3619292378425598, 0.41843822598457336, -0.3572867512702942, 0.2517129182815552, -0.2826208472251892, 0.8284881711006165, 0.7602946758270264, -0.009226694703102112, -0.4657246470451355, -0.4883692264556885, 0.017821140587329865, 0.7824943661689758, -0.7408546209335327, 1.6859819889068604, -0.05173228681087494, 0.031535565853118896, 0.13689416646957397, 0.08742212504148483, 0.31142115592956543, -0.09983250498771667, -0.12751424312591553, 0.504106342792511, -1.1799275875091553, -0.09266573190689087, -0.032673466950654984, 0.3455733060836792, -0.43089187145233154, -0.751431941986084, -0.325814813375473, -0.13504736125469208, -0.10059615969657898, -0.2561243176460266, -0.2404538094997406, 0.09380778670310974, 0.18036620318889618, -0.30044281482696533, 0.14390763640403748, -0.45399054884910583, -0.8253340721130371, 0.1478264033794403, 0.07254624366760254, 0.19457660615444183, -0.019982069730758667, 0.11016859114170074, -0.3214300870895386, 0.07241393625736237, -0.2868785858154297, -0.0035951733589172363, -0.5811263918876648, -2.2089052200317383, 0.008672811090946198, 1.5788408517837524, 0.05559258162975311, 0.4730091392993927, 0.05719691514968872, -0.23980852961540222, -0.86280357837677, 0.24706287682056427, 0.6406277418136597, -0.3679545521736145, -0.17354005575180054, 0.6184664368629456, 0.18111541867256165, -0.22708803415298462, -0.014230489730834961, -0.07416196167469025, 0.5254502892494202, 0.11803573369979858, -0.4019627571105957, 0.04624226689338684, 0.5408004522323608, -0.36598366498947144, -0.25515449047088623, -0.484566867351532, -0.027590997517108917, 0.17827123403549194, -0.42055031657218933, -0.4134121835231781, -0.7029063701629639, 0.3639419674873352, -0.07514498382806778, -1.134974479675293, -0.40089476108551025, 0.7081043124198914, -0.782450258731842, 0.21274687349796295, -0.6398501992225647, 0.632867693901062, -0.5440729856491089, 0.7724270820617676, -0.02222001552581787, -0.11816968768835068, -0.5314648151397705, 0.8902175426483154, 0.05524832010269165, -0.6771621704101562, 0.2567713260650635, -1.0638632774353027, -0.21017302572727203, 0.890375018119812, -0.26309734582901, 1.0377146005630493, 0.22684447467327118, 0.660228967666626, 0.20688965916633606, 0.4891855716705322, -0.613754391670227, 0.714243471622467, 0.4429194927215576, 0.07572859525680542, -0.6984652280807495, 0.03815111517906189, -0.4119262993335724, -0.478094220161438, 0.3408671021461487, 0.1020088791847229, -0.4175661504268646, -0.42461785674095154, 0.876609206199646, -0.2796187996864319, -0.375720739364624, 0.7013767957687378, 0.5282794833183289, 0.04163530468940735, 0.5084125995635986, 0.5122127532958984, -0.16780073940753937, -0.10000400245189667, -0.2206578254699707, 0.15707659721374512, -0.3528951406478882, -0.04493547976016998, -0.35435718297958374, 0.2784855365753174, -0.35108208656311035, -0.05438157916069031, 0.2919062077999115, -0.14126372337341309, 0.026993244886398315, -0.4990267753601074, -0.04816962778568268, -0.34602510929107666, -0.5679767727851868, 0.15457269549369812, 0.2919175624847412, -0.47473323345184326, 0.09752625226974487, -0.462984561920166, 1.5949654579162598, 0.08128741383552551, -0.06768548488616943, -0.6733876466751099, -0.31592056155204773, -0.3351432681083679, 0.24927780032157898, 0.7583330869674683, 0.11140380054712296, -0.13172146677970886, 1.0256688594818115, -0.14098453521728516, -0.2888450026512146, 0.1659124195575714, -0.6922886967658997, -0.5100013613700867, 0.2550479471683502, 0.12338151037693024, 0.033892154693603516, -0.7882702350616455, 0.7054446339607239, 0.230663001537323, 0.31694257259368896, 0.09619034826755524, 0.7267214059829712, -0.9465639591217041, 0.7268373966217041, 0.19418464601039886, -0.9057810306549072, 0.45358967781066895, -0.09131558239459991, 0.030293643474578857, -0.05115753412246704, -6.5613603591918945, -0.5013803243637085, 0.14793813228607178, -0.12215867638587952, -0.027645856142044067, 0.7550092935562134, 0.12019797414541245, -0.19442391395568848, 0.5098984241485596, -0.11224615573883057, 0.288982629776001, 0.1435709297657013, -0.1025921180844307, 0.053885117173194885, -0.04888511449098587, 0.5115070343017578, 0.6356536746025085, 0.2573751211166382, 0.5302181243896484, 0.8714641332626343, 0.6576294898986816, 0.5214568972587585, 0.1857607364654541, -0.8435361385345459, 0.06677719950675964, 0.2679516077041626, 0.051003336906433105, 0.6789414882659912, -0.7467207908630371, 0.29907721281051636, -0.21895679831504822, 0.9132494330406189, 0.40884146094322205, 0.5864698886871338, -0.6321430802345276, -0.7851504683494568, -0.004741311073303223, 0.6324748992919922, -0.3982217013835907, 0.22580890357494354, 0.21171066164970398, -0.22761492431163788, -0.8417609333992004, -0.8002603054046631, -0.2354607880115509, -0.04255065321922302, 0.12658768892288208, 0.2161487638950348, 0.3740825057029724, 0.0933590978384018, 1.0335211753845215, 0.8024705648422241, 0.294984370470047, -0.5669906139373779, 2.8163576126098633, -0.22253099083900452, -0.2803271412849426, 0.5518068075180054, -0.63133305311203, -0.7713440656661987, 0.6224512457847595, 0.4400698244571686, 0.05031849443912506, -0.593775749206543, -0.6346364617347717, -0.13198669254779816, 0.6191532611846924, 0.8332473635673523, 0.38044875860214233, 0.32666125893592834, -0.2730596661567688, -0.42125922441482544, 0.22493202984333038, 0.10618369281291962, -0.31099987030029297, -0.31356310844421387, 0.14722059667110443, -0.5284026861190796, 0.5111817717552185, 0.19881746172904968, -0.3691117763519287, -0.29465362429618835, -0.2815314829349518, -0.4404451251029968, 1.0190136432647705, -0.15790602564811707, -0.016717344522476196, 0.28505051136016846, -0.3812057375907898, -0.1536288559436798, -0.8836315870285034, -0.9416189193725586, -0.06483447551727295, -0.625607967376709, -0.5958160161972046, -0.054958462715148926, 0.30186358094215393, -0.5261648893356323, -0.19112154841423035, 1.071517825126648, -0.7862306833267212, 0.052208781242370605, -0.36083346605300903, -0.41272711753845215, -0.0766991376876831, 0.13731226325035095, -1.2791495323181152, 0.6575058698654175, 0.7883319854736328, -0.33956262469291687, 0.3044341206550598, 0.0727885365486145, 0.4416921138763428, -0.2937714755535126, -0.46142300963401794, 0.24609875679016113, 0.3761841952800751, 0.2454851269721985, -0.10902108252048492, -0.6166832447052002, 0.027197957038879395, 0.7255924344062805, 0.17385368049144745, 0.30057069659233093, 1.2877622842788696, -0.11983631551265717, -0.30559515953063965, 0.23651596903800964, 0.6458675265312195, 0.06283271312713623, 0.3257599472999573, 0.16873840987682343, -0.6248788833618164, -0.3320641815662384, 0.29981207847595215, 0.832771360874176, 0.2748141288757324, -0.8131396770477295, -0.041862696409225464, -0.13983392715454102, 0.01260918378829956, 0.5462905168533325, 0.18719381093978882, 1.1993635892868042, -0.24143409729003906, 0.10074934363365173, -0.17885524034500122, 2.295057773590088, -0.41157859563827515, -0.12954463064670563, -0.05331699550151825, 1.3498444557189941, -0.04969117045402527, -0.07162982225418091, -0.34089162945747375, 0.012443020939826965, -0.7569512724876404, 0.46977609395980835, -0.2559583783149719, 0.10974884033203125, 0.09136553108692169, 0.20153175294399261, -0.23240673542022705, -0.030164122581481934, -0.594446063041687, 0.5412015914916992, 0.23757502436637878, 0.2173573076725006, 0.37731385231018066, -0.03182147443294525, -0.34537747502326965, 0.4849242568016052, -0.0737590566277504, 0.6160343289375305, -0.3773283362388611, -0.6022387742996216, 0.607210099697113, -1.3194866180419922, 0.06221127510070801, -0.1723364144563675, -0.06037689000368118, -0.22464212775230408, 0.11817894876003265, -0.26971033215522766, 0.5642527341842651, -0.18728239834308624, 0.49469274282455444, -0.8199266195297241, -0.0874963104724884, -0.20723208785057068, 0.3672361373901367, -0.4894714951515198, 0.11530247330665588, 0.14450621604919434, -0.5457805395126343, -0.04707358777523041, -0.07628992199897766, -0.005306020379066467, -0.21803773939609528, -0.1689007729291916, -0.4415894150733948, -0.31964150071144104, 0.5354033708572388, -0.3275791108608246, 0.31935039162635803, -0.5196823477745056, 0.6866260170936584, -0.31197309494018555, -1.1471078395843506, 0.816142201423645, -0.4346461296081543, -0.40430140495300293, 0.1220850944519043, -0.05419400334358215, 0.47288942337036133, -0.31237682700157166, -0.1660723090171814, 0.8371658325195312, -0.4279123842716217, -0.08885417878627777, -0.8127143979072571, 0.04307758808135986, 0.8628017902374268, 0.5987584590911865, -0.31842344999313354, 0.3419201374053955, 0.6127660274505615, 0.8129466772079468, -0.18774297833442688, 0.30532824993133545, -0.2904280126094818, 6.956898212432861, -0.43446481227874756, -0.13927380740642548, -0.2275664210319519, 0.12834234535694122, -1.160212755203247, 0.21858440339565277, 0.36532875895500183, -0.4385720491409302, -0.23820151388645172, -0.39285072684288025, 0.9909398555755615, 0.4309508204460144, 0.2591683268547058, -0.11185756325721741, -0.43388062715530396, 0.6060348749160767, 0.6670461893081665, 0.16900846362113953, 0.3518946170806885, 0.44880005717277527, -1.0852411985397339, -0.08896741271018982, -0.9166164398193359, 0.593942403793335, 0.5143318176269531, 0.00911906361579895, -0.10873234272003174, -0.41364994645118713, -0.06073373556137085, -0.5092477798461914, -0.30308109521865845, -0.8139324188232422, -0.20727196335792542, -0.37611448764801025, 0.8194133639335632, -0.20089378952980042, 0.6870569586753845, 0.6631828546524048, 0.41031789779663086, -0.274905800819397, 0.6405383944511414, 0.7104787826538086, 0.32889658212661743, 0.5276811122894287, -0.09944425523281097, 0.18848615884780884, 0.36204853653907776, 1.245638370513916, 0.30025631189346313, -0.645815372467041, 0.40394148230552673, 0.515440821647644, -0.18039661645889282, 0.05653407424688339, 0.20716047286987305, -0.22958919405937195, 0.08544531464576721, -0.0379837229847908, -0.3278443217277527, -0.17161110043525696, -0.4766545295715332, 0.19215133786201477, -0.029196709394454956, 0.1430029273033142, 0.4071643650531769, 0.2505419850349426, -0.5454780459403992, -0.2092312127351761, -0.04944323003292084, -0.3633374571800232, 0.6689034700393677, 0.893264651298523, -0.05470515787601471, 0.4939553737640381, 0.10998363047838211, 0.17953477799892426, 0.6097906231880188, 0.28390711545944214, -0.807295560836792, -0.15760670602321625, 0.27964258193969727, 0.4727139174938202, 0.36125648021698, -0.09872596710920334, -0.2009349763393402, -0.15147137641906738, -0.21495617926120758, 1.0071017742156982, -0.2450704127550125, 0.5487850904464722, -0.27296382188796997, -0.8506004810333252, -0.5786840319633484, 0.7439355850219727, 0.3636205494403839, 0.19748663902282715, -0.2807459831237793, 0.4277037978172302, -0.130205899477005, 0.024386480450630188, 0.10308966785669327, 0.11912286281585693, -0.2911244034767151, 0.10179758071899414, -0.3635092079639435, -0.16418689489364624, 0.649978518486023, 0.2547064423561096, 0.3585093319416046, 0.31711268424987793, 0.025503814220428467, -0.8407461643218994, 0.5494713187217712, -1.032350778579712, 0.3302402198314667, 0.6029917597770691, -0.19162598252296448, -0.5637160539627075, 0.31112438440322876, 0.7123175859451294, -0.20400503277778625, 0.5630935430526733, -0.301167756319046 ]
Generated in

Run time and cost

This model costs approximately $0.0097 to run on Replicate, or 103 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 10 seconds.

Readme

Get text & image embeddings using CLIP.

Details

  • Model used: clip-vit-large-patch14
  • Length of the embeddings: 768

Response

{
  "embedding": [0.1, 0.2, ..., 0.5]
}