modelId
stringlengths
4
122
author
stringlengths
2
42
last_modified
timestamp[us, tz=UTC]
downloads
int64
0
74.7M
likes
int64
0
9.67k
library_name
stringlengths
2
84
tags
list
pipeline_tag
stringlengths
5
30
createdAt
timestamp[us, tz=UTC]
card
stringlengths
1
901k
embedding
list
google/long-t5-local-base
google
2023-09-07T15:36:37Z
7,752
13
transformers
[ "transformers", "pytorch", "jax", "safetensors", "longt5", "text2text-generation", "en", "arxiv:2112.07916", "arxiv:1912.08777", "arxiv:1910.10683", "license:apache-2.0", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
text2text-generation
2022-04-14T16:53:51Z
--- license: apache-2.0 language: en --- # LongT5 (local attention, base-sized model) LongT5 model pre-trained on English language. The model was introduced in the paper [LongT5: Efficient Text-To-Text Transformer for Long Sequences](https://arxiv.org/pdf/2112.07916.pdf) by Guo et al. and first released in [the LongT5 repository](https://github.com/google-research/longt5). All the model architecture and configuration can be found in [Flaxformer repository](https://github.com/google/flaxformer) which uses another Google research project repository [T5x](https://github.com/google-research/t5x). Disclaimer: The team releasing LongT5 did not write a model card for this model so this model card has been written by the Hugging Face team. ## Model description LongT5 model is an encoder-decoder transformer pre-trained in a text-to-text denoising generative setting ([Pegasus-like generation pre-training](https://arxiv.org/pdf/1912.08777.pdf)). LongT5 model is an extension of [T5 model](https://arxiv.org/pdf/1910.10683.pdf), and it enables using one of the two different efficient attention mechanisms - (1) Local attention, or (2) Transient-Global attention. The usage of attention sparsity patterns allows the model to efficiently handle input sequence. LongT5 is particularly effective when fine-tuned for text generation (summarization, question answering) which requires handling long input sequences (up to 16,384 tokens). ## Intended uses & limitations The model is mostly meant to be fine-tuned on a supervised dataset. See the [model hub](https://huggingface.co/models?search=longt5) to look for fine-tuned versions on a task that interests you. ### How to use ```python from transformers import AutoTokenizer, LongT5Model tokenizer = AutoTokenizer.from_pretrained("google/long-t5-local-base") model = LongT5Model.from_pretrained("google/long-t5-local-base") inputs = tokenizer("Hello, my dog is cute", return_tensors="pt") outputs = model(**inputs) last_hidden_states = outputs.last_hidden_state ``` ### BibTeX entry and citation info ```bibtex @article{guo2021longt5, title={LongT5: Efficient Text-To-Text Transformer for Long Sequences}, author={Guo, Mandy and Ainslie, Joshua and Uthus, David and Ontanon, Santiago and Ni, Jianmo and Sung, Yun-Hsuan and Yang, Yinfei}, journal={arXiv preprint arXiv:2112.07916}, year={2021} } ```
[ -0.5159370303153992, -0.6308839917182922, 0.4421362280845642, 0.34344351291656494, -0.2665572464466095, -0.2020355463027954, -0.33505940437316895, -0.6495437026023865, 0.08257558196783066, 0.34794124960899353, -0.5155515074729919, -0.4911758601665497, -0.6384549736976624, 0.4871196150779724, -0.43574681878089905, 1.220833420753479, -0.2420107126235962, -0.3222726285457611, -0.014966463670134544, -0.1585288792848587, -0.2284105271100998, -0.5823595523834229, -0.6173160672187805, -0.3812830150127411, 0.7340911030769348, 0.022490689530968666, 0.3924381732940674, 0.5335302352905273, 0.6874700784683228, 0.2952154278755188, -0.24566660821437836, -0.08173681795597076, -0.613655149936676, -0.3269083797931671, -0.04907749593257904, -0.38244786858558655, -0.7607800960540771, -0.13370811939239502, 0.7074921727180481, 0.42415088415145874, 0.16655848920345306, 0.2474614530801773, 0.013172478415071964, 0.4644834101200104, -0.41033264994621277, 0.1709018498659134, -0.1541624814271927, 0.06378666311502457, -0.26343199610710144, 0.172459214925766, -0.4025915265083313, -0.3119601011276245, 0.1490948498249054, -0.43011724948883057, 0.4351697564125061, -0.1643863022327423, 1.1102718114852905, 0.24647466838359833, -0.5479585528373718, -0.1891748309135437, -0.7226893305778503, 0.8970049023628235, -0.7815663814544678, 0.5832619071006775, 0.17999480664730072, 0.2825270891189575, -0.11370231211185455, -1.2340718507766724, -0.7392870783805847, -0.10482392460107803, -0.22073256969451904, 0.3267019987106323, -0.17529404163360596, 0.23943974077701569, 0.5134328007698059, 0.6077475547790527, -0.6410970687866211, -0.010851133614778519, -0.648425281047821, 0.028285346925258636, 0.5294356942176819, -0.17363065481185913, 0.14353352785110474, -0.3421359956264496, -0.624553918838501, 0.018015056848526, -0.521558940410614, 0.128845676779747, 0.14833509922027588, 0.1258068084716797, -0.4278499484062195, 0.30780455470085144, -0.13576637208461761, 0.6331875920295715, 0.4242435693740845, -0.1838662326335907, 0.42854851484298706, -0.4580177664756775, -0.3320055902004242, -0.1218297928571701, 1.0078169107437134, 0.09153705090284348, 0.2774241268634796, -0.17158052325248718, -0.2863444983959198, -0.004326090216636658, 0.25619950890541077, -1.0884870290756226, 0.11787907779216766, 0.266733855009079, -0.5852007269859314, -0.4352683126926422, -0.04062575474381447, -0.6062856912612915, 0.043400079011917114, -0.08384502679109573, 0.6081787347793579, -0.4609433710575104, -0.18607833981513977, 0.1039976105093956, 0.11934885382652283, 0.36622676253318787, 0.04074851796030998, -0.9597047567367554, 0.24176263809204102, 0.4252975285053253, 0.8707396388053894, -0.3575418293476105, -0.43092459440231323, -0.20757442712783813, 0.0968550518155098, -0.07836033403873444, 0.5356329083442688, -0.19394363462924957, -0.29970401525497437, -0.0965224876999855, 0.3460298180580139, 0.0024152782279998064, -0.24730077385902405, 0.8782951235771179, -0.40912961959838867, 0.7280920147895813, -0.062098994851112366, -0.5091995000839233, -0.22417107224464417, 0.13845469057559967, -0.8187205195426941, 1.1791118383407593, 0.13059791922569275, -0.9488368630409241, 0.2831505239009857, -1.2371535301208496, -0.29764530062675476, -0.17574520409107208, 0.2520603835582733, -0.7178681492805481, -0.10604000836610794, 0.47287705540657043, 0.7173446416854858, -0.2299579530954361, 0.25430938601493835, -0.27900564670562744, -0.40989628434181213, -0.09679675847291946, -0.2465093731880188, 0.6980681419372559, 0.3115530014038086, -0.4542059302330017, 0.4379236400127411, -0.7976945638656616, -0.25938498973846436, 0.354041188955307, -0.2619827389717102, -0.05740291625261307, -0.18816609680652618, 0.057787440717220306, 0.3018759489059448, 0.3519405424594879, -0.5090188980102539, 0.38650447130203247, -0.5870946049690247, 0.8013966679573059, 0.4798913300037384, -0.17408213019371033, 0.44386062026023865, -0.32121023535728455, 0.359451025724411, 0.3646167814731598, 0.15793298184871674, -0.4342432916164398, -0.19427219033241272, -0.8883631825447083, -0.29875674843788147, 0.4395643174648285, 0.3567265570163727, -0.6419180035591125, 0.41644397377967834, -0.6753985285758972, -0.5293607115745544, -0.5608991980552673, -0.04915180802345276, 0.191332146525383, 0.40905094146728516, 0.5241849422454834, -0.26924264430999756, -0.5250228047370911, -0.8369429111480713, -0.20750603079795837, 0.2563326060771942, 0.06266435235738754, 0.0071552470326423645, 0.7177676558494568, -0.3593108057975769, 0.9549396634101868, -0.25377514958381653, -0.2653585374355316, -0.4870920777320862, 0.2635665237903595, 0.40514513850212097, 0.440705806016922, 0.6533069014549255, -0.6702543497085571, -0.45289716124534607, -0.24632194638252258, -0.6669864654541016, 0.1347338855266571, -0.1853293478488922, -0.00571472616866231, 0.5144472718238831, 0.33503276109695435, -0.9708281755447388, 0.45563602447509766, 0.4243331551551819, -0.2549436688423157, 0.24581196904182434, -0.07732535153627396, 0.023919839411973953, -1.7023701667785645, 0.3242512047290802, 0.05176161602139473, -0.5268752574920654, -0.6342809796333313, 0.05204753205180168, 0.2513231635093689, -0.20611581206321716, -0.47955527901649475, 0.7689866423606873, -0.7943050265312195, 0.004349386785179377, -0.10552318394184113, 0.010297015309333801, -0.11146730929613113, 0.6435667276382446, 0.16049882769584656, 0.787606418132782, 0.2813640534877777, -0.5545492768287659, 0.4054429829120636, 0.22379188239574432, -0.18123862147331238, 0.2960922122001648, -0.868134081363678, 0.38520336151123047, -0.22017115354537964, 0.43325525522232056, -0.8273938298225403, -0.2829292416572571, 0.08421419560909271, -0.628653347492218, 0.4082537293434143, -0.13262425363063812, -0.4931035041809082, -0.7150461673736572, -0.3258347809314728, 0.5317427515983582, 0.667259693145752, -0.7084888219833374, 0.5896087884902954, 0.015999099239706993, -0.019911203533411026, -0.6050285696983337, -0.5419602394104004, -0.049324892461299896, -0.43859314918518066, -0.7943831086158752, 0.6565631628036499, -0.1146635040640831, 0.26852065324783325, -0.26128464937210083, 0.15883079171180725, 0.03801530972123146, -0.20781782269477844, 0.10707874596118927, 0.008130336180329323, -0.265359491109848, 0.058889880776405334, -0.2378177046775818, -0.2103128731250763, 0.058322519063949585, -0.19306117296218872, 0.5722525715827942, -0.18047869205474854, 0.03208554908633232, -0.5450190305709839, 0.39941152930259705, 0.8035119771957397, -0.3826105296611786, 0.6076604723930359, 1.0534807443618774, -0.48603495955467224, -0.08824779093265533, -0.5781089663505554, -0.2867530584335327, -0.5012677311897278, 0.5301655530929565, -0.5678188800811768, -0.8093924522399902, 0.6352362036705017, 0.03022478148341179, 0.14389553666114807, 0.6698561310768127, 0.6389225125312805, 0.04848102107644081, 1.1166232824325562, 0.8829995393753052, -0.23348240554332733, 0.6062794923782349, -0.31352031230926514, 0.34441614151000977, -0.6942274570465088, 0.062464334070682526, -0.19252215325832367, -0.25735655426979065, -0.7245362997055054, -0.3195563554763794, 0.27701041102409363, -0.11061422526836395, -0.41110554337501526, 0.35134413838386536, -0.6758179068565369, 0.2145698368549347, 0.6462286710739136, -0.13384026288986206, 0.047973211854696274, -0.03287418186664581, 0.09432514011859894, -0.1065153107047081, -0.5622075200080872, -0.23887717723846436, 0.9990425705909729, 0.7036339044570923, 0.7104411721229553, 0.12009457498788834, 0.9127721786499023, -0.03479785844683647, 0.13487817347049713, -0.834834635257721, 0.39421144127845764, -0.09062961488962173, -0.5668944716453552, -0.24059231579303741, -0.2758965790271759, -1.2674288749694824, -0.1423685997724533, -0.07488944381475449, -0.6191706657409668, -0.03461688756942749, 0.03630755841732025, -0.40883004665374756, 0.2512279450893402, -0.7954775094985962, 1.078827977180481, -0.15011952817440033, -0.40847721695899963, 0.061561308801174164, -0.8002905249595642, 0.4026126265525818, 0.0771012157201767, -0.05685684457421303, 0.27287182211875916, 0.2439272701740265, 0.8510963320732117, -0.3354966938495636, 0.9574000835418701, -0.03180686756968498, -0.14640279114246368, 0.18701083958148956, -0.3595637083053589, 0.7351387143135071, -0.20867450535297394, 0.24488653242588043, 0.2487204521894455, 0.07919198274612427, -0.5066092014312744, -0.5315849184989929, 0.6515132784843445, -1.013170599937439, -0.46274900436401367, -0.6050156950950623, -0.3351196348667145, 0.012607847340404987, 0.5790150761604309, 0.5164033770561218, 0.26918330788612366, -0.09048058092594147, 0.3160074055194855, 0.619954526424408, -0.13060243427753448, 0.8236580491065979, 0.09962479770183563, -0.303568035364151, -0.578943133354187, 0.7069517374038696, 0.21667151153087616, 0.2550165355205536, 0.4138202965259552, 0.08042621612548828, -0.37748271226882935, -0.3242518901824951, -0.34649109840393066, 0.62586510181427, -0.5114867091178894, -0.1946946531534195, -0.5954789519309998, -0.5109890103340149, -0.7305622100830078, -0.1066809594631195, -0.43266594409942627, -0.22370348870754242, -0.3893817663192749, -0.09851197153329849, 0.40815067291259766, 0.6857202649116516, 0.21777161955833435, 0.38982847332954407, -0.8275018334388733, 0.5077167749404907, 0.1953219771385193, 0.4975568354129791, -0.18117310106754303, -0.5978251695632935, -0.26615098118782043, -0.061586808413267136, -0.3862711489200592, -0.8965533971786499, 0.5803138613700867, 0.0964336171746254, 0.35177525877952576, 0.34824809432029724, -0.04817954823374748, 0.7254114151000977, -0.3805606961250305, 0.8642904162406921, 0.16626930236816406, -0.9633712768554688, 0.43988072872161865, -0.5257337093353271, 0.6391029953956604, 0.06750038266181946, 0.4635067582130432, -0.566807210445404, -0.07037188112735748, -0.7685781121253967, -0.9708899259567261, 0.7162256240844727, 0.3044302761554718, 0.19937260448932648, 0.08051888644695282, 0.35435953736305237, 0.08599728345870972, 0.10390178859233856, -1.2517704963684082, -0.1968633532524109, -0.4792126715183258, -0.4814862608909607, -0.07401726394891739, -0.49804019927978516, 0.046231504529714584, -0.25450599193573, 0.6063694357872009, -0.1488657146692276, 0.8358059525489807, 0.4188555181026459, -0.2432183176279068, 0.13049736618995667, 0.21314895153045654, 0.8611429333686829, 0.47368332743644714, -0.27554216980934143, -0.0746728852391243, 0.3453447222709656, -0.5741598010063171, -0.2791479229927063, 0.3013128936290741, -0.15190701186656952, 0.14464373886585236, 0.39983394742012024, 1.1391030550003052, 0.06711800396442413, -0.10529643297195435, 0.5634691715240479, 0.02898789756000042, -0.33075615763664246, -0.6411302089691162, -0.18212899565696716, 0.20262308418750763, 0.07773679494857788, 0.2161567062139511, -0.36989861726760864, 0.04362014681100845, -0.49521732330322266, 0.04644760116934776, 0.14120729267597198, -0.34079408645629883, -0.512480616569519, 0.8466278314590454, 0.40948790311813354, -0.19407597184181213, 0.48123699426651, -0.050635579973459244, -0.5234580039978027, 0.47853317856788635, 0.8293548226356506, 0.9178440570831299, -0.18465112149715424, -0.22901898622512817, 0.6612089276313782, 0.1292279213666916, -0.06330466270446777, 0.34620559215545654, -0.06395722180604935, -0.496288001537323, -0.4892996549606323, -0.588607668876648, 0.016342787072062492, 0.5240737795829773, -0.5290048122406006, 0.5857191681861877, -0.32629403471946716, -0.3766361474990845, 0.14646896719932556, 0.25506287813186646, -0.725517213344574, 0.41534748673439026, 0.2927681803703308, 0.9332932829856873, -0.4820885956287384, 0.9739132523536682, 0.6590908765792847, -0.6007150411605835, -0.7589316368103027, -0.08842744678258896, -0.38290488719940186, -0.6583489179611206, 0.6649549603462219, 0.36900970339775085, -0.013374974951148033, 0.21068160235881805, -0.6536902785301208, -1.1225857734680176, 1.2645565271377563, 0.14009030163288116, -0.509600818157196, -0.414886474609375, 0.210418701171875, 0.513242244720459, -0.2106197029352188, 0.4376431703567505, 0.3317621052265167, 0.43981698155403137, 0.07073704153299332, -1.2035458087921143, 0.1426478922367096, -0.36974868178367615, -0.0008373294840566814, 0.4225618541240692, -1.0345087051391602, 0.8878690600395203, -0.2642291784286499, -0.09723537415266037, 0.06845448911190033, 1.0593013763427734, 0.03908615931868553, 0.1823205053806305, 0.3336820900440216, 0.5489760041236877, 0.5349913239479065, -0.14303956925868988, 0.9157164096832275, -0.41758227348327637, 0.6853339672088623, 0.8252569437026978, 0.033182550221681595, 0.7389674782752991, 0.48802196979522705, -0.1037697046995163, 0.4339248836040497, 0.7093602418899536, -0.1808483749628067, 0.46891745924949646, -0.031025012955069542, -0.14774249494075775, -0.11300985515117645, 0.2912265360355377, -0.5253410935401917, 0.3843803405761719, 0.14748159050941467, -0.6710273623466492, -0.15166187286376953, -0.013262173160910606, 0.3427414894104004, -0.3708648979663849, -0.2327335774898529, 0.7601603269577026, 0.15370947122573853, -0.7257326245307922, 0.9167675971984863, 0.21402423083782196, 1.0159554481506348, -0.5866396427154541, 0.08059006929397583, -0.33610644936561584, 0.35457924008369446, -0.22022870182991028, -0.5869881510734558, 0.24698516726493835, 0.12643106281757355, -0.34806156158447266, -0.2991613447666168, 0.7404887676239014, -0.4539550244808197, -0.6096819639205933, 0.1815202385187149, 0.16351772844791412, 0.18889157474040985, 0.10643979907035828, -0.6282099485397339, -0.18998880684375763, -0.02995130978524685, -0.6115188002586365, 0.2657201588153839, 0.4041084945201874, -0.3126846253871918, 0.6546074748039246, 0.6058491468429565, -0.11196666955947876, 0.029693003743886948, -0.018047496676445007, 0.6683819890022278, -1.066390872001648, -0.6157482862472534, -0.8325945734977722, 0.6186317205429077, -0.10933520644903183, -0.475505530834198, 0.5533846020698547, 0.5737243890762329, 0.755827009677887, -0.1938001662492752, 0.8559226393699646, -0.0032888699788600206, 0.6893876791000366, -0.44343671202659607, 0.9005763530731201, -0.6503992080688477, -0.2538323998451233, -0.1714516282081604, -0.8517317771911621, -0.3259519934654236, 0.647045373916626, -0.4147939682006836, 0.47315943241119385, 0.7508963346481323, 0.5539709329605103, -0.3282099664211273, -0.19165067374706268, 0.33501800894737244, 0.4965202510356903, 0.37172287702560425, 0.7518831491470337, 0.40625622868537903, -0.6480083465576172, 0.5397958755493164, -0.2994764447212219, 0.1848296970129013, -0.2049335539340973, -0.9947530031204224, -1.1677725315093994, -0.6369215846061707, -0.09027479588985443, -0.3905751407146454, 0.16074730455875397, 0.9683076739311218, 0.7027325630187988, -0.6897870302200317, -0.0148931248113513, -0.022762104868888855, -0.047189515084028244, 0.08175855129957199, -0.246482715010643, 0.641269862651825, -0.3076073229312897, -1.0311055183410645, 0.028349265456199646, -0.07094015926122665, 0.3685806095600128, -0.15928781032562256, 0.019155515357851982, -0.005443690810352564, 0.03701410070061684, 0.7584070563316345, 0.286998450756073, -0.7254601716995239, -0.42372435331344604, 0.2371245175600052, -0.2368019074201584, 0.3243515193462372, 0.4042515456676483, -0.7713587880134583, 0.20273318886756897, 0.45024004578590393, 0.4497930705547333, 0.811210036277771, 0.009479306638240814, 0.6782106161117554, -0.6210080981254578, 0.2086697667837143, 0.13151444494724274, 0.3538774847984314, 0.4107883870601654, -0.32480576634407043, 0.5195416808128357, 0.24823324382305145, -0.6783182621002197, -0.8590589761734009, 0.08607740700244904, -1.239641785621643, 0.058820802718400955, 1.2974565029144287, -0.12415912002325058, -0.49538931250572205, 0.29334285855293274, -0.25488972663879395, 0.5379830002784729, -0.3293532729148865, 0.857789158821106, 0.81838059425354, 0.02938229963183403, -0.3908311724662781, -0.5607184767723083, 0.7340850234031677, 0.33394044637680054, -0.8374313712120056, -0.17378942668437958, 0.15941326320171356, 0.49366673827171326, 0.2171248346567154, 0.5134077668190002, -0.043464552611112595, 0.20292511582374573, -0.2999993562698364, 0.470429390668869, -0.06410239636898041, -0.09262920171022415, -0.31551456451416016, 0.1575709730386734, -0.16176654398441315, -0.2417907863855362 ]
shaohang/Sparse0.5_OPT-1.3
shaohang
2023-07-14T07:25:58Z
7,748
0
transformers
[ "transformers", "pytorch", "opt", "text-generation", "license:apache-2.0", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-07-14T03:03:26Z
--- license: apache-2.0 ---
[ -0.12853388488292694, -0.18616782128810883, 0.6529127359390259, 0.4943625330924988, -0.19319313764572144, 0.23607465624809265, 0.36071982979774475, 0.05056332051753998, 0.5793652534484863, 0.740013837814331, -0.6508103013038635, -0.2378396987915039, -0.710224986076355, -0.04782581701874733, -0.3894752264022827, 0.8470761775970459, -0.09598272293806076, 0.024004854261875153, 0.047120071947574615, -0.14317826926708221, -0.6121037602424622, -0.04771740734577179, -1.0524537563323975, -0.06787490844726562, 0.3002279996871948, 0.5120972990989685, 0.8275896310806274, 0.39602896571159363, 0.5030564069747925, 1.7515558004379272, -0.08836919069290161, -0.22754427790641785, -0.45892032980918884, 0.4223068356513977, -0.33277371525764465, -0.42133718729019165, -0.2624166011810303, -0.07449338585138321, 0.32380399107933044, 0.790371298789978, -0.38104110956192017, 0.19328099489212036, -0.22438454627990723, 1.008224368095398, -0.8202074766159058, 0.22630876302719116, -0.16698351502418518, 0.14053204655647278, 0.042308706790208817, -0.14591927826404572, -0.1326323002576828, -0.6440033912658691, 0.06469469517469406, -0.899596095085144, 0.1027495265007019, -0.04461126774549484, 0.8789561986923218, 0.21909058094024658, -0.5102370977401733, -0.0459773913025856, -0.6883594989776611, 1.0972508192062378, -0.17556026577949524, 0.7615712881088257, 0.4507811963558197, 0.45288562774658203, -0.5849329829216003, -1.178217887878418, -0.4441864490509033, -0.13579002022743225, 0.14722809195518494, 0.30556100606918335, -0.3453029692173004, -0.022343844175338745, 0.10801105946302414, 0.5610314011573792, -0.5003758072853088, -0.311959445476532, -0.9579929113388062, -0.18164916336536407, 0.6820483207702637, 0.319308340549469, 0.834044337272644, 0.1873151659965515, -0.7347195744514465, 0.12866291403770447, -1.3239703178405762, 0.07650735974311829, 0.6465023756027222, 0.239467591047287, -0.554598867893219, 0.8594784736633301, -0.28587982058525085, 0.626249372959137, 0.2728465497493744, -0.1164526641368866, 0.2784252464771271, -0.23030735552310944, -0.2735062837600708, 0.033087607473134995, 0.34597301483154297, 0.8204491138458252, 0.16248634457588196, -0.019984982907772064, -0.22123965620994568, 0.0020717978477478027, 0.2684449553489685, -0.7935096025466919, -0.4712669551372528, 0.1926696002483368, -0.558952808380127, -0.0910850465297699, 0.4327022135257721, -1.0976827144622803, -0.4812980592250824, -0.1879846155643463, 0.05468139797449112, -0.5451693534851074, -0.3697946071624756, 0.07273250073194504, -0.79254150390625, -0.1243419200181961, 0.570950984954834, -0.6230252981185913, 0.43974608182907104, 0.533625602722168, 0.7861635684967041, 0.2330387681722641, -0.23613610863685608, -0.6695019602775574, 0.48848265409469604, -0.8661867380142212, 0.36860740184783936, -0.3073781132698059, -0.8298640251159668, -0.09631050378084183, 0.5393159985542297, 0.20664852857589722, -0.6653256416320801, 0.7074045538902283, -0.5496984720230103, -0.07806532829999924, -0.4308285415172577, -0.2432200014591217, 0.17460417747497559, 0.11115431040525436, -0.6238909363746643, 0.9402233362197876, 0.5551108121871948, -0.584109902381897, 0.31701239943504333, -0.4869506359100342, -0.6865583658218384, 0.26748135685920715, -0.008750975131988525, -0.047152332961559296, 0.3279528021812439, -0.15983973443508148, -0.0020511597394943237, 0.10505761206150055, 0.008299741894006729, -0.21891699731349945, -0.4786304235458374, 0.06349936127662659, 0.151650071144104, 1.25368332862854, 0.4083622097969055, -0.3771882951259613, -0.13140122592449188, -1.0526149272918701, 0.025432661175727844, 0.0505015105009079, -0.42306768894195557, -0.2504565119743347, -0.14882194995880127, -0.20381587743759155, 0.4307260811328888, 0.2118472456932068, -0.813115119934082, 0.22643625736236572, -0.2064024657011032, 0.364496648311615, 0.8222091794013977, 0.2703101634979248, 0.39760565757751465, -0.6625286340713501, 0.6563138365745544, 0.2076188325881958, 0.49590179324150085, 0.35404202342033386, -0.3845822811126709, -0.9641586542129517, -0.442161500453949, -0.10117404907941818, 0.2975531220436096, -0.7744957804679871, 0.5847322940826416, 0.012979604303836823, -0.5836705565452576, -0.4465281367301941, -0.15488101541996002, 0.2755330502986908, -0.06606576591730118, 0.03334902226924896, -0.4049779176712036, -0.7394417524337769, -1.0127898454666138, -0.13788150250911713, -0.5021388530731201, -0.21892830729484558, 0.3160586357116699, 0.2617739737033844, -0.34290042519569397, 0.7610747814178467, -0.6059278249740601, -0.704064130783081, -0.13973554968833923, -0.0995984673500061, 0.6187719702720642, 0.9297672510147095, 0.749138355255127, -0.7224893569946289, -0.8973818421363831, -0.056230708956718445, -0.5420039892196655, -0.020044349133968353, 0.038149889558553696, -0.18260693550109863, -0.10514980554580688, 0.22352531552314758, -0.6100803017616272, 0.8851073980331421, 0.43224984407424927, -0.681546688079834, 0.5210590958595276, -0.4444413483142853, 0.6073803901672363, -0.8642839193344116, -0.2911490201950073, -0.16823577880859375, -0.1976117193698883, -0.7090160846710205, 0.19411544501781464, -0.3002234101295471, -0.33029863238334656, -0.7474032044410706, 0.5274897813796997, -0.9497010707855225, -0.18781527876853943, -0.33672773838043213, -0.03423111140727997, 0.25807833671569824, 0.19490505754947662, -0.23560254275798798, 0.8900529742240906, 0.9160482287406921, -0.7121306657791138, 0.5487277507781982, 0.3930906653404236, -0.1920013427734375, 0.7131237387657166, -0.3887738585472107, 0.05161993205547333, -0.12344931066036224, 0.14374595880508423, -1.126388430595398, -0.561158299446106, 0.13677382469177246, -0.712703287601471, 0.17686958611011505, -0.16556859016418457, -0.09428537636995316, -0.6608465313911438, -0.33806395530700684, 0.25910091400146484, 0.48612290620803833, -0.47969940304756165, 0.6188148260116577, 0.5728040337562561, 0.02651876211166382, -0.5307406783103943, -0.7206818461418152, 0.20418110489845276, 0.039646461606025696, -0.5569695830345154, 0.3011690080165863, 0.006543457508087158, -0.6622446775436401, -0.371124804019928, -0.26354190707206726, -0.6043857336044312, -0.2267974615097046, 0.7826986312866211, 0.1199423298239708, -0.09012264013290405, -0.20310267806053162, -0.3199536204338074, -0.06167525798082352, 0.30487415194511414, -0.07575298100709915, 0.7232834696769714, -0.33623749017715454, -0.17850083112716675, -0.887734055519104, 0.652754545211792, 0.9970465302467346, 0.09446714073419571, 0.806644082069397, 0.46324217319488525, -0.35647475719451904, -0.1304660439491272, -0.3535459041595459, -0.15120601654052734, -0.685774564743042, -0.1806798279285431, -0.5322476625442505, -0.5411434769630432, 0.40530654788017273, 0.10101459175348282, -0.0021042972803115845, 0.5167046785354614, 0.2533605694770813, -0.28806859254837036, 0.7550324201583862, 1.034340739250183, 0.1391797959804535, 0.3602915108203888, -0.2854715585708618, 0.6341594457626343, -0.8329949378967285, -0.34052175283432007, -0.4548071026802063, -0.2563585042953491, -0.31214389204978943, -0.10750849545001984, 0.5791022181510925, 0.2818215489387512, -0.4463467597961426, 0.1250680536031723, -0.5994209051132202, 0.6587361693382263, 0.6273988485336304, 0.5719727873802185, 0.1997303068637848, -0.46199458837509155, 0.19982971251010895, 0.04816687852144241, -0.45745599269866943, -0.4009109139442444, 0.7711143493652344, 0.2399624139070511, 0.8364022374153137, 0.20927050709724426, 0.4957774877548218, 0.33375421166419983, 0.2528058588504791, -0.6318977475166321, 0.2009797990322113, -0.22282809019088745, -1.245961308479309, -0.206426739692688, -0.16551318764686584, -1.0080583095550537, -0.11792082339525223, -0.18288995325565338, -0.8406620025634766, 0.2665729820728302, -0.19225634634494781, -0.6640645265579224, 0.5206149220466614, -0.5103875398635864, 0.69347083568573, -0.23555898666381836, -0.2817087769508362, 0.11930079013109207, -0.6889920830726624, 0.5254612565040588, 0.3667147755622864, 0.29168397188186646, -0.37968993186950684, -0.3192872405052185, 0.5068994760513306, -0.881224513053894, 0.44081127643585205, -0.10564978420734406, 0.19428130984306335, 0.5358879566192627, 0.4153591990470886, 0.3823971152305603, 0.28699052333831787, -0.2459377944469452, -0.23415414988994598, 0.2250344604253769, -0.7581346035003662, -0.27754613757133484, 0.9095459580421448, -0.7519428730010986, -0.8586915731430054, -0.6954255700111389, -0.30644941329956055, 0.28865277767181396, 0.02781464159488678, 0.7154772281646729, 0.6456884145736694, -0.18821057677268982, 0.23776991665363312, 0.7208225727081299, -0.0146945184096694, 0.7235562801361084, 0.29411184787750244, -0.4056646227836609, -0.6169787645339966, 0.7182320356369019, 0.2627044916152954, 0.05162655562162399, 0.028327951207756996, 0.3058736026287079, -0.17546698451042175, -0.15078596770763397, -0.6318323612213135, -0.06395323574542999, -0.7465729117393494, -0.0927949845790863, -0.7541396617889404, -0.2507742643356323, -0.7114590406417847, -0.8068137764930725, -0.7080163955688477, -0.45604395866394043, -0.43011948466300964, -0.23352204263210297, 0.5163108706474304, 1.1627086400985718, -0.2613152861595154, 0.8011051416397095, -0.8900954723358154, 0.41936296224594116, 0.4969540238380432, 0.7519731521606445, -0.11061006784439087, -0.6746935844421387, -0.07836239039897919, -0.5338755249977112, -0.29485058784484863, -1.0156972408294678, 0.31774646043777466, -0.03688591718673706, 0.40537136793136597, 0.42938894033432007, 0.25190269947052, 0.49392756819725037, -0.30073118209838867, 1.1130688190460205, 0.7274302244186401, -0.803381085395813, 0.519527792930603, -0.7635002136230469, 0.16122324764728546, 0.9363659620285034, 0.54477459192276, -0.4417075514793396, -0.15113934874534607, -1.025976538658142, -0.843137264251709, 0.5963036417961121, 0.15439945459365845, 0.016843896359205246, 0.01821417547762394, 0.03168272227048874, 0.29466384649276733, 0.3591304123401642, -0.7847291231155396, -0.8240220546722412, -0.13851122558116913, 0.25803306698799133, 0.31456053256988525, -0.1648542582988739, -0.3003871440887451, -0.611615777015686, 0.8711391091346741, 0.18286482989788055, 0.3546231985092163, 0.12073354423046112, 0.04369349032640457, -0.35506919026374817, 0.14787021279335022, 0.5522999167442322, 1.2529057264328003, -0.40983331203460693, 0.3673911392688751, 0.1751260608434677, -0.6540069580078125, 0.6494997143745422, -0.3036349415779114, -0.021784601733088493, 0.6203135251998901, 0.17760884761810303, 0.28528398275375366, 0.315599262714386, -0.3621427118778229, 0.6047801971435547, -0.029422052204608917, -0.17758512496948242, -0.7005696296691895, 0.15866968035697937, 0.029350608587265015, 0.27507954835891724, 0.4392024278640747, 0.24443313479423523, 0.08246771991252899, -1.0602877140045166, 0.5711055397987366, 0.24493910372257233, -0.8676618337631226, -0.3011006712913513, 0.7047957181930542, 0.4075389802455902, -0.47599563002586365, 0.38749054074287415, 0.012702330946922302, -0.6710241436958313, 0.5987741351127625, 0.5510413646697998, 0.7569674253463745, -0.4702427089214325, 0.3088020086288452, 0.6245602965354919, 0.06711331009864807, 0.20550549030303955, 0.6923202872276306, 0.03149382025003433, -0.44738656282424927, 0.23022446036338806, -0.5986733436584473, -0.1468990594148636, 0.13735318183898926, -0.8047426342964172, 0.351533442735672, -0.9312615394592285, -0.24089956283569336, 0.08751589059829712, 0.11761097609996796, -0.6130945086479187, 0.6674696207046509, -0.008524954319000244, 0.9280490875244141, -0.8549083471298218, 0.9626278281211853, 0.8559581637382507, -0.31830817461013794, -0.7709448337554932, -0.33556753396987915, 0.02013934776186943, -0.6660526990890503, 0.7108278274536133, -0.18973003327846527, -0.41207411885261536, -0.09323947876691818, -0.622982919216156, -1.0003730058670044, 0.030618250370025635, 0.017415650188922882, -0.4625031054019928, 0.4454794228076935, -0.5157257318496704, 0.3289681673049927, -0.19169732928276062, 0.30509495735168457, 0.7719469666481018, 0.7958452701568604, 0.22960808873176575, -0.6354780197143555, -0.4466685652732849, -0.010276071727275848, -0.16682815551757812, 0.4545809030532837, -1.0710972547531128, 0.967736542224884, -0.4652574360370636, -0.34733209013938904, 0.2706642150878906, 0.797762393951416, 0.2538500428199768, 0.3524126708507538, 0.6219537258148193, 0.9016807079315186, 0.36450111865997314, -0.31178343296051025, 0.7276745438575745, 0.2426338493824005, 0.4152539074420929, 0.7364203333854675, -0.22712187469005585, 0.5403846502304077, 0.8906413316726685, -0.786162257194519, 0.5381765365600586, 0.7879031896591187, 0.16047371923923492, 0.7758157253265381, 0.5944145917892456, -0.611952543258667, -0.1185941994190216, -0.1464141309261322, -0.6171560287475586, 0.1979752480983734, 0.052926212549209595, -0.11974738538265228, -0.2846010625362396, -0.13567376136779785, 0.12295057624578476, 0.2836454212665558, -0.5959328413009644, 0.606866717338562, 0.34341585636138916, -0.6328282356262207, 0.21025103330612183, -0.25779569149017334, 0.6709501147270203, -0.5978154540061951, 0.02733636647462845, -0.226993590593338, 0.41810402274131775, -0.4618742763996124, -1.007582426071167, 0.47138404846191406, -0.2920241355895996, -0.40551304817199707, -0.26942431926727295, 0.8072363138198853, -0.22133907675743103, -0.5572860240936279, 0.37486034631729126, 0.13466592133045197, 0.41473662853240967, 0.40145981311798096, -0.548729419708252, 0.047790080308914185, 0.13760165870189667, -0.20061805844306946, 0.3601190149784088, 0.2973729372024536, 0.25488772988319397, 0.7100128531455994, 0.5052477717399597, 0.22198708355426788, 0.25694364309310913, -0.18668605387210846, 0.8387458324432373, -0.9102796316146851, -0.8167635202407837, -0.9497333765029907, 0.3849896192550659, 0.025727711617946625, -0.880144476890564, 0.7920305728912354, 0.7652608156204224, 0.5113964080810547, -0.4877890348434448, 0.4755283296108246, -0.326479434967041, 0.5047136545181274, -0.13870958983898163, 1.001089096069336, -0.760762631893158, -0.29587265849113464, -0.030554059892892838, -0.9216439723968506, -0.2533753216266632, 0.5375741720199585, 0.1540832668542862, -0.14608067274093628, 0.4385907053947449, 0.44216376543045044, 0.022173406556248665, 0.25223150849342346, 0.32861006259918213, 0.06042787432670593, 0.14508451521396637, 0.5510438680648804, 1.0931141376495361, -0.43394410610198975, 0.18694786727428436, -0.4923475384712219, -0.4536249041557312, -0.4153490662574768, -0.9548057913780212, -0.6640313863754272, -0.48185449838638306, -0.2973935008049011, -0.5915579199790955, 0.11726461350917816, 0.9300885796546936, 0.9018137454986572, -0.6256728172302246, -0.41243645548820496, 0.25713539123535156, 0.30293411016464233, -0.2295418381690979, -0.146267831325531, 0.2736492455005646, -0.006407544948160648, -0.7211178541183472, 0.3930943012237549, 0.807976245880127, 0.3887130320072174, 0.08444006741046906, -0.07217127084732056, -0.4407080411911011, 0.026101574301719666, 0.5373561382293701, 0.5729561448097229, -0.6281182169914246, -0.4099644422531128, -0.5328317880630493, -0.21386730670928955, 0.15529435873031616, 0.48077550530433655, -0.5166378617286682, 0.32661110162734985, 0.8128959536552429, 0.17017659544944763, 0.7187885642051697, -0.0022492259740829468, 0.6678642630577087, -0.8970246315002441, 0.4446259140968323, 0.3953385353088379, 0.5681870579719543, 0.08998038619756699, -0.7339164614677429, 0.9820241928100586, 0.49674350023269653, -0.6334057450294495, -1.0034242868423462, 0.03079957515001297, -1.193113923072815, -0.3788175582885742, 0.9890843629837036, -0.09595765173435211, -0.9597458839416504, -0.36448943614959717, -0.3677716851234436, 0.07989637553691864, -0.33809733390808105, 0.35498204827308655, 0.8268195986747742, -0.2538071274757385, -0.2204185128211975, -0.9505581855773926, 0.4752943515777588, 0.3102525472640991, -0.5886632204055786, -0.05114369094371796, 0.329391211271286, 0.45236870646476746, 0.3009701371192932, 0.5239557027816772, 0.10428227484226227, 0.8970529437065125, 0.25200390815734863, 0.30491405725479126, -0.04526621103286743, -0.590078592300415, -0.0160664189606905, 0.2621477246284485, 0.04487839341163635, -0.6869441270828247 ]
porkorbeef/Llama-2-13b-sf
porkorbeef
2023-08-21T05:58:05Z
7,735
0
transformers
[ "transformers", "pytorch", "llama", "feature-extraction", "license:cc-by-nc-4.0", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
feature-extraction
2023-08-21T01:50:43Z
--- license: cc-by-nc-4.0 --- Hi
[ -0.43707215785980225, -0.8857787251472473, 0.5388191342353821, -0.18254493176937103, -0.06553313136100769, -0.05031472444534302, 0.6487963795661926, -0.693682849407196, 1.1178230047225952, 1.0402919054031372, -0.44358766078948975, -0.32275357842445374, -0.704839289188385, 0.09031976014375687, -0.022586947306990623, 0.7723116874694824, 0.30416733026504517, 0.09131402522325516, 0.197725310921669, -0.13520942628383636, -0.505626916885376, -0.3352177143096924, -1.0660847425460815, 0.2342185527086258, 0.5652404427528381, 0.7716784477233887, 0.5356590747833252, 0.21046198904514313, 0.3695533275604248, 0.9875538945198059, 0.10289309173822403, -0.15675152838230133, -0.3132387399673462, 0.7066834568977356, 0.15925486385822296, -0.622793436050415, -0.34955596923828125, -0.23060572147369385, 0.39357790350914, 1.0828558206558228, 0.017001310363411903, 0.39474406838417053, 0.23910385370254517, 0.44267430901527405, -0.6890988349914551, 0.08986041694879532, -0.4023447036743164, -0.14819984138011932, 0.01804005168378353, 0.29396435618400574, -0.06930754333734512, -0.7924270033836365, 0.23119574785232544, -0.8728988766670227, 0.38907530903816223, 0.1794441193342209, 0.9602476954460144, -0.01919631101191044, -0.5857717990875244, -0.061413317918777466, -0.736121654510498, 0.6945077776908875, -0.24868357181549072, 0.3226710855960846, 0.4738253653049469, 0.6248981952667236, -0.43742668628692627, -0.9652091860771179, -0.1536901295185089, 0.03046046383678913, -0.27011600136756897, 0.2489863634109497, -0.04767896234989166, 0.17967741191387177, -0.1953427791595459, 0.7474851608276367, -0.7189728617668152, -0.09483944624662399, -0.5444177985191345, -0.3027885854244232, 0.5980847477912903, 0.20735566318035126, 0.4529513120651245, -0.1981838494539261, -0.6351837515830994, 0.4720575511455536, -0.5511465072631836, -0.024835089221596718, 0.8712864518165588, 0.05738086998462677, -0.48190274834632874, 0.2707950174808502, -0.21289534866809845, 0.38874292373657227, -0.22637687623500824, -0.15412941575050354, 0.24576430022716522, -0.45376789569854736, -0.6734563708305359, -0.3319185972213745, 0.2531954348087311, 0.7215349674224854, 0.6415137648582458, -0.1085299625992775, 0.22001926600933075, -0.11422872543334961, -0.157698392868042, -0.8383790850639343, -0.41325807571411133, -0.11796443909406662, -0.4942070543766022, -0.16675670444965363, 0.9857099652290344, -1.389261245727539, -0.2436555176973343, -0.032387346029281616, 0.5900797843933105, 0.3394148647785187, -0.2510216534137726, 0.13599622249603271, -0.25447073578834534, -0.18637728691101074, 0.5845159888267517, -1.1499234437942505, 0.7281813025474548, 0.15720348060131073, 0.37476882338523865, 0.8701288104057312, -0.14700506627559662, -1.2746448516845703, 0.3526097536087036, -0.24210967123508453, 0.4003760516643524, 0.21059942245483398, -0.8425672650337219, -0.10164236277341843, 0.6677986979484558, 0.029776087030768394, -0.7341386675834656, 0.2739127576351166, -0.3298293352127075, 0.22837693989276886, -0.2779519259929657, 0.5018109679222107, 0.42018190026283264, 0.30212506651878357, -0.4455987513065338, 1.1997487545013428, 0.41962572932243347, -0.4529711902141571, -0.007284969091415405, -0.6025766730308533, -0.8574197888374329, 0.37445056438446045, 0.12744154036045074, -0.1667311042547226, 0.31881919503211975, -0.038042161613702774, -0.22222165763378143, 0.11648094654083252, -0.41751882433891296, -0.1273307055234909, -0.5824733376502991, 0.11859029531478882, 0.20439238846302032, 1.1302350759506226, 0.5972561240196228, -0.091078020632267, 0.05647888779640198, -1.2438304424285889, 0.18041743338108063, 0.06567087769508362, -0.44756317138671875, -0.27477410435676575, -0.7580435872077942, 0.013658545911312103, -0.022897718474268913, 0.3708551228046417, -0.8762496113777161, 0.340716689825058, -0.5047963261604309, 0.6870344281196594, 0.7737666964530945, 0.7580647468566895, 0.04597671702504158, 0.10253327339887619, 0.5068485140800476, 0.15213845670223236, 0.5755338668823242, -0.056876856833696365, -0.4663759171962738, -0.760267436504364, -0.3145963251590729, 0.2104392647743225, 0.5144484043121338, -0.5407223105430603, 0.6747622489929199, 0.10886754840612411, 0.010658939369022846, -0.46052441000938416, 0.2379559874534607, -0.06950441002845764, -0.13145144283771515, -0.08610880374908447, -0.5368788838386536, -0.8405296206474304, -1.0083082914352417, -0.13010409474372864, -0.6041829586029053, -0.5396410226821899, 0.5948412418365479, 0.1443842351436615, -0.7337809205055237, 0.8486814498901367, -0.7214810252189636, -0.38706254959106445, -0.11571656912565231, 0.45528843998908997, 0.6204979419708252, 0.5389134287834167, 0.39774009585380554, -0.8075353503227234, -1.3348981142044067, -0.007885017432272434, -0.34492334723472595, 0.11243060976266861, -0.0842844545841217, -0.5033494830131531, 0.017074719071388245, 0.5424306988716125, -0.6531404852867126, 0.5051056146621704, 0.031251102685928345, -0.4896833896636963, 0.37830352783203125, -0.6670837998390198, 0.6311792731285095, -1.3404890298843384, 0.10754183679819107, -0.47451066970825195, -0.5600625872612, -0.6443207263946533, -0.2912643253803253, -0.6382172703742981, -0.42265793681144714, -0.6575579643249512, 0.41897520422935486, -0.9059260487556458, -0.07104720920324326, -0.3378821313381195, -0.04549122974276543, 0.49497389793395996, -0.00014255444693844765, -0.6112213730812073, 0.5292606949806213, 0.831159770488739, -1.1544522047042847, 0.44756993651390076, 0.5953115820884705, -0.3649941682815552, 1.2141270637512207, -0.7210872173309326, -0.257805198431015, -0.23025500774383545, -0.170765683054924, -0.8785646557807922, -0.730035126209259, 0.5839384198188782, -0.6896262168884277, 0.3685092628002167, -0.20021378993988037, -0.21548931300640106, -0.896894633769989, -0.1281258463859558, 0.21676480770111084, 0.6240285634994507, -0.6558254361152649, 0.10815688967704773, 0.5893094539642334, -0.5942038297653198, -0.48322129249572754, -0.60101717710495, 0.3150419294834137, 0.15720754861831665, -0.5879717469215393, -0.018574267625808716, -0.28829118609428406, -0.6524665355682373, -0.7262988686561584, -0.026011765003204346, -0.6461611390113831, 0.00001661976239120122, 0.8538467288017273, 0.0456087552011013, -0.48801514506340027, -0.39780405163764954, -0.7868752479553223, -0.034766003489494324, 0.571797788143158, -0.014737640507519245, 0.407393217086792, -0.229908287525177, 0.07710251957178116, -0.7548461556434631, 0.588987410068512, 1.237472653388977, -0.18292903900146484, 0.6898511052131653, 0.4946165084838867, -0.28044191002845764, -0.09959051012992859, -0.09285154193639755, -0.16238075494766235, -0.6345747113227844, 0.2044735997915268, -0.574526309967041, -0.5747699737548828, 0.38790392875671387, 0.32868120074272156, -0.23779277503490448, 0.1587083786725998, 0.16049502789974213, -0.47623515129089355, 0.7238596081733704, 0.9775643348693848, 0.18443696200847626, 0.35276761651039124, -0.15675701200962067, 0.8989333510398865, -0.1774788647890091, 0.11262845993041992, -0.555417001247406, -0.6743242144584656, -0.7548304200172424, 0.14992357790470123, 0.5554377436637878, 0.4338919222354889, -0.3939007520675659, 0.33683034777641296, -0.49808648228645325, 0.6723718643188477, 0.7872669696807861, 0.19571714103221893, -0.11453810334205627, -0.8249993324279785, 0.21422898769378662, 0.27268144488334656, -0.09220065921545029, -0.24424397945404053, 1.0100709199905396, 0.3934211730957031, 1.2053791284561157, 0.09222248196601868, 0.8167993426322937, 0.01705215871334076, 0.11027234047651291, -0.140993133187294, 0.6132994294166565, 0.5024771094322205, -0.9053228497505188, -0.18735672533512115, -0.12823598086833954, -1.207585096359253, -0.1725754737854004, -0.2894834280014038, -0.910586416721344, -0.05404478311538696, -0.01966656558215618, -0.9706950187683105, 0.5131832957267761, -0.7651911377906799, 0.801879346370697, -0.07041915506124496, -0.06295912712812424, 0.5251100659370422, -1.1678251028060913, 0.5097325444221497, 0.3689596951007843, 0.426403671503067, -0.5516166090965271, 0.24011166393756866, 0.495263010263443, -0.3038422763347626, 0.5875537395477295, -0.3786589205265045, 0.6263735890388489, 0.806921660900116, -0.08461245149374008, 0.14307710528373718, 0.4360285699367523, 0.19694192707538605, -0.3683588206768036, 0.8997418284416199, -0.6312570571899414, -0.3673384189605713, 0.8290669322013855, -0.5382652878761292, -0.6028987169265747, -0.38066554069519043, -0.23337258398532867, 0.46337413787841797, 0.5375739932060242, 0.5496113896369934, 0.1894187331199646, -0.7538433074951172, 0.48104026913642883, 0.7976564764976501, -0.23982834815979004, 0.6225664615631104, 0.22056688368320465, -0.5806195735931396, -0.6589725613594055, 0.6082741618156433, 0.032046858221292496, 0.018873361870646477, 0.23068565130233765, 0.2167695313692093, -0.0810755118727684, 0.014349042437970638, -0.563467800617218, -0.0953453779220581, -0.6787524819374084, 0.09669429063796997, -0.6747016310691833, -0.41455078125, -0.8097957968711853, -0.44746413826942444, -0.3667379915714264, -0.08419398218393326, 0.11626473814249039, 0.06922989338636398, 0.26508525013923645, 1.2559291124343872, -0.21004891395568848, 0.7679684162139893, -0.9570717811584473, 0.30802544951438904, 0.5215077996253967, 0.612051248550415, -0.48237934708595276, -0.30959585309028625, -0.6354491114616394, -0.4275693893432617, -0.3441418707370758, -0.8063516020774841, 0.6585593819618225, 0.4082683026790619, 0.6685091853141785, 0.5849490165710449, 0.2056780457496643, 0.28144529461860657, -0.26630309224128723, 0.9946873784065247, 0.35763248801231384, -0.6796165108680725, 0.7354059219360352, -0.28354430198669434, 0.3950881063938141, 1.0806101560592651, 0.3499700725078583, -0.5623202323913574, -0.24916690587997437, -1.1013051271438599, -0.26940518617630005, -0.04712647199630737, -0.022169599309563637, 0.6026475429534912, 0.15474212169647217, 0.1838158816099167, 0.19619476795196533, 0.5152109265327454, -0.9929379820823669, -1.047605037689209, 0.14659304916858673, 0.0016271533677354455, 0.30600544810295105, -0.6138892769813538, 0.03737691417336464, -0.26409459114074707, 0.633377730846405, -0.20114131271839142, 0.38410893082618713, 0.13105086982250214, 0.1913357526063919, -0.48506081104278564, 0.3241051435470581, 0.11761891096830368, 0.7635920643806458, -0.23287124931812286, 0.6120511889457703, 0.18944714963436127, -0.9348840713500977, 0.3433121144771576, -0.32789915800094604, -0.44694629311561584, 0.5722461342811584, 0.005742769688367844, -0.13006927073001862, 1.1049925088882446, -0.18693220615386963, 0.3913908898830414, -0.19959329068660736, -0.3130950629711151, -0.1349535435438156, -0.04760564863681793, -0.10818403959274292, 0.0782415047287941, 0.1523052603006363, 0.1298528015613556, -0.0003341585397720337, -0.9576937556266785, 0.6065371632575989, 0.833869457244873, -0.5924806594848633, -0.48633909225463867, 0.817328929901123, 0.6733300685882568, -0.5517308115959167, 0.7733485698699951, 0.22135524451732635, -0.5722694396972656, 0.48992684483528137, 0.6482662558555603, 0.7548389434814453, -0.8086785674095154, 0.23830626904964447, 0.9232285022735596, 0.0734444335103035, 1.1793824434280396, 0.7829919457435608, -0.07396461814641953, -0.3232336938381195, 0.7234182357788086, -0.8134689331054688, -0.4782995283603668, 0.05726565420627594, -0.8693802952766418, 0.5684686303138733, -0.5197274088859558, 0.11761336773633957, 0.49636515974998474, 0.3687240183353424, -0.3398900032043457, 0.5584540367126465, 0.17520086467266083, 0.3995490074157715, -0.5521158576011658, 1.3725866079330444, 0.6758437156677246, -0.33697131276130676, -0.012696047313511372, -0.2106911689043045, -0.38961783051490784, -0.9472950100898743, 0.060888875275850296, 0.39289990067481995, -0.5546266436576843, 0.3733177185058594, -0.5195493698120117, -1.0842241048812866, 0.3690979778766632, 0.006413941737264395, -0.41221165657043457, 0.34129655361175537, 0.30992159247398376, 0.28921714425086975, -0.2689726650714874, -0.046112578362226486, 0.6451480984687805, 0.5267667770385742, 0.3326600193977356, -0.9449563026428223, -1.0214673280715942, -0.3257724940776825, -0.2393663376569748, 0.33425775170326233, -0.47863730788230896, 0.6196895241737366, -0.5807522535324097, -0.4893101155757904, 0.5246281027793884, 0.9078930020332336, -0.12820802628993988, 0.16885526478290558, 0.6237171292304993, 0.18372611701488495, 0.6042221188545227, -0.13450051844120026, 0.33100607991218567, -0.5986219644546509, 0.05963441729545593, 0.856165885925293, -0.01991780661046505, 0.6913551688194275, 0.8727984428405762, -0.5386691689491272, 0.4845082461833954, 1.105615496635437, -0.10830476135015488, 0.4419621229171753, 0.42094144225120544, -0.9458346366882324, 0.47422099113464355, -0.30125150084495544, -0.44146302342414856, -0.39264845848083496, -0.3934107720851898, 0.13804633915424347, -0.22947590053081512, 0.18941068649291992, -0.1972670555114746, 0.2864479720592499, -0.7531216740608215, 0.6674990057945251, 0.394339919090271, -0.49484553933143616, 0.23808135092258453, 0.05854002758860588, 0.34122470021247864, -0.7986052632331848, 0.21042586863040924, 0.3582717478275299, 0.23245573043823242, -0.4096659719944, -0.9083655476570129, 0.9940190315246582, -0.48234066367149353, -0.7920165657997131, -0.07700874656438828, 0.9534736275672913, -0.305480033159256, -0.10421213507652283, 0.3100877106189728, 0.21368177235126495, 0.23116399347782135, 0.24702318012714386, -0.5192691087722778, 0.24712012708187103, -0.23488271236419678, -0.020763274282217026, 0.21406185626983643, -0.012647430412471294, 0.21957580745220184, 0.07482167333364487, 0.37169066071510315, -0.4494572579860687, 0.48471665382385254, -0.06642340868711472, 0.12309686094522476, -0.6171674728393555, -1.3510503768920898, -0.7895849347114563, 0.14035306870937347, 0.4371722638607025, -0.7490262985229492, 0.9254530072212219, 0.9464358687400818, 0.4097256660461426, -0.5414746403694153, 0.24658358097076416, 0.005835180636495352, 0.9247031211853027, -0.0014594992389902472, 0.9249863624572754, -0.659285843372345, -0.31140565872192383, 0.18625326454639435, -1.0253454446792603, -0.35797664523124695, 0.1049237847328186, -0.019690876826643944, -0.39015087485313416, 0.5157577991485596, 0.8380516171455383, -0.18480920791625977, 0.34874486923217773, 0.7347908020019531, 0.1989438533782959, -0.266891747713089, 0.42226171493530273, 0.686464786529541, -0.5256169438362122, 0.0409671925008297, -0.23346920311450958, -0.19089268147945404, -0.3722810745239258, -0.6216073632240295, -0.7361106872558594, -0.24979130923748016, -0.22840164601802826, -0.36314067244529724, -0.0158387441188097, 0.5750188827514648, 1.2796300649642944, -0.8685175776481628, -0.3641224205493927, 0.05236893519759178, 0.422611802816391, 0.14792649447917938, -0.18075592815876007, -0.10401270538568497, 0.18323171138763428, -0.785304844379425, 0.6944877505302429, 0.5633975863456726, 0.453838974237442, -0.08721643686294556, -0.410643607378006, -0.12598131597042084, 0.14707352221012115, 0.46364322304725647, 1.0399659872055054, -0.6871989369392395, -0.3341391980648041, -0.47936609387397766, -0.6893089413642883, 0.7789337038993835, 0.264861524105072, -0.5145753622055054, 0.47408199310302734, 0.5030908584594727, 0.3270314633846283, 0.9437890648841858, 0.13880805671215057, 0.5135690569877625, -0.8265345692634583, 0.15303213894367218, 0.04907606542110443, 0.07985291630029678, 0.07267915457487106, -0.8372044563293457, 0.518423318862915, 0.5254157185554504, -0.7697108387947083, -0.8243311047554016, 0.272978276014328, -1.0400124788284302, -0.3107088506221771, 0.22682851552963257, 0.09798919409513474, -0.7588353157043457, -0.44630861282348633, -0.27960285544395447, -0.039132967591285706, 0.418216735124588, -0.11996235698461533, 0.5800759196281433, -0.22274138033390045, -0.19354315102100372, -1.1680842638015747, 0.2177840918302536, 0.10175672918558121, -0.9880352020263672, -0.588200569152832, 0.025582918897271156, 0.535003662109375, -0.011191199533641338, 0.40072762966156006, 0.24558739364147186, 0.6841567158699036, 0.035440463572740555, 0.4757164716720581, 0.05112938582897186, -0.8365304470062256, 0.19203026592731476, 0.3802764415740967, 0.328216552734375, -1.10886812210083 ]
hw2942/bert-base-chinese-finetuning-financial-news-sentiment-v2
hw2942
2023-06-14T07:38:20Z
7,722
14
transformers
[ "transformers", "pytorch", "bert", "text-classification", "finance", "zh", "endpoints_compatible", "region:us" ]
text-classification
2023-06-14T06:17:29Z
--- language: - zh tags: - finance widget: - text: 沪指收报3233.67点,涨0.15%,成交额3772亿元 - text: >- 中国5月新增社融和新增人民币贷款均较去年同期下降,社融新增1.56万亿元,居民中长期贷款增加1684亿元,居民存款增加5364亿元,M2-M1剪刀差缩窄 - text: 人民币兑美元中间价报7.1498,下调286点 - text: 发改委等八部门:支持符合条件的产教融合型企业上市融资 ---
[ -0.12853388488292694, -0.18616782128810883, 0.6529127359390259, 0.4943625330924988, -0.19319313764572144, 0.23607465624809265, 0.36071982979774475, 0.05056332051753998, 0.5793652534484863, 0.740013837814331, -0.6508103013038635, -0.2378396987915039, -0.710224986076355, -0.04782581701874733, -0.3894752264022827, 0.8470761775970459, -0.09598272293806076, 0.024004854261875153, 0.047120071947574615, -0.14317826926708221, -0.6121037602424622, -0.04771740734577179, -1.0524537563323975, -0.06787490844726562, 0.3002279996871948, 0.5120972990989685, 0.8275896310806274, 0.39602896571159363, 0.5030564069747925, 1.7515558004379272, -0.08836919069290161, -0.22754427790641785, -0.45892032980918884, 0.4223068356513977, -0.33277371525764465, -0.42133718729019165, -0.2624166011810303, -0.07449338585138321, 0.32380399107933044, 0.790371298789978, -0.38104110956192017, 0.19328099489212036, -0.22438454627990723, 1.008224368095398, -0.8202074766159058, 0.22630876302719116, -0.16698351502418518, 0.14053204655647278, 0.042308706790208817, -0.14591927826404572, -0.1326323002576828, -0.6440033912658691, 0.06469469517469406, -0.899596095085144, 0.1027495265007019, -0.04461126774549484, 0.8789561986923218, 0.21909058094024658, -0.5102370977401733, -0.0459773913025856, -0.6883594989776611, 1.0972508192062378, -0.17556026577949524, 0.7615712881088257, 0.4507811963558197, 0.45288562774658203, -0.5849329829216003, -1.178217887878418, -0.4441864490509033, -0.13579002022743225, 0.14722809195518494, 0.30556100606918335, -0.3453029692173004, -0.022343844175338745, 0.10801105946302414, 0.5610314011573792, -0.5003758072853088, -0.311959445476532, -0.9579929113388062, -0.18164916336536407, 0.6820483207702637, 0.319308340549469, 0.834044337272644, 0.1873151659965515, -0.7347195744514465, 0.12866291403770447, -1.3239703178405762, 0.07650735974311829, 0.6465023756027222, 0.239467591047287, -0.554598867893219, 0.8594784736633301, -0.28587982058525085, 0.626249372959137, 0.2728465497493744, -0.1164526641368866, 0.2784252464771271, -0.23030735552310944, -0.2735062837600708, 0.033087607473134995, 0.34597301483154297, 0.8204491138458252, 0.16248634457588196, -0.019984982907772064, -0.22123965620994568, 0.0020717978477478027, 0.2684449553489685, -0.7935096025466919, -0.4712669551372528, 0.1926696002483368, -0.558952808380127, -0.0910850465297699, 0.4327022135257721, -1.0976827144622803, -0.4812980592250824, -0.1879846155643463, 0.05468139797449112, -0.5451693534851074, -0.3697946071624756, 0.07273250073194504, -0.79254150390625, -0.1243419200181961, 0.570950984954834, -0.6230252981185913, 0.43974608182907104, 0.533625602722168, 0.7861635684967041, 0.2330387681722641, -0.23613610863685608, -0.6695019602775574, 0.48848265409469604, -0.8661867380142212, 0.36860740184783936, -0.3073781132698059, -0.8298640251159668, -0.09631050378084183, 0.5393159985542297, 0.20664852857589722, -0.6653256416320801, 0.7074045538902283, -0.5496984720230103, -0.07806532829999924, -0.4308285415172577, -0.2432200014591217, 0.17460417747497559, 0.11115431040525436, -0.6238909363746643, 0.9402233362197876, 0.5551108121871948, -0.584109902381897, 0.31701239943504333, -0.4869506359100342, -0.6865583658218384, 0.26748135685920715, -0.008750975131988525, -0.047152332961559296, 0.3279528021812439, -0.15983973443508148, -0.0020511597394943237, 0.10505761206150055, 0.008299741894006729, -0.21891699731349945, -0.4786304235458374, 0.06349936127662659, 0.151650071144104, 1.25368332862854, 0.4083622097969055, -0.3771882951259613, -0.13140122592449188, -1.0526149272918701, 0.025432661175727844, 0.0505015105009079, -0.42306768894195557, -0.2504565119743347, -0.14882194995880127, -0.20381587743759155, 0.4307260811328888, 0.2118472456932068, -0.813115119934082, 0.22643625736236572, -0.2064024657011032, 0.364496648311615, 0.8222091794013977, 0.2703101634979248, 0.39760565757751465, -0.6625286340713501, 0.6563138365745544, 0.2076188325881958, 0.49590179324150085, 0.35404202342033386, -0.3845822811126709, -0.9641586542129517, -0.442161500453949, -0.10117404907941818, 0.2975531220436096, -0.7744957804679871, 0.5847322940826416, 0.012979604303836823, -0.5836705565452576, -0.4465281367301941, -0.15488101541996002, 0.2755330502986908, -0.06606576591730118, 0.03334902226924896, -0.4049779176712036, -0.7394417524337769, -1.0127898454666138, -0.13788150250911713, -0.5021388530731201, -0.21892830729484558, 0.3160586357116699, 0.2617739737033844, -0.34290042519569397, 0.7610747814178467, -0.6059278249740601, -0.704064130783081, -0.13973554968833923, -0.0995984673500061, 0.6187719702720642, 0.9297672510147095, 0.749138355255127, -0.7224893569946289, -0.8973818421363831, -0.056230708956718445, -0.5420039892196655, -0.020044349133968353, 0.038149889558553696, -0.18260693550109863, -0.10514980554580688, 0.22352531552314758, -0.6100803017616272, 0.8851073980331421, 0.43224984407424927, -0.681546688079834, 0.5210590958595276, -0.4444413483142853, 0.6073803901672363, -0.8642839193344116, -0.2911490201950073, -0.16823577880859375, -0.1976117193698883, -0.7090160846710205, 0.19411544501781464, -0.3002234101295471, -0.33029863238334656, -0.7474032044410706, 0.5274897813796997, -0.9497010707855225, -0.18781527876853943, -0.33672773838043213, -0.03423111140727997, 0.25807833671569824, 0.19490505754947662, -0.23560254275798798, 0.8900529742240906, 0.9160482287406921, -0.7121306657791138, 0.5487277507781982, 0.3930906653404236, -0.1920013427734375, 0.7131237387657166, -0.3887738585472107, 0.05161993205547333, -0.12344931066036224, 0.14374595880508423, -1.126388430595398, -0.561158299446106, 0.13677382469177246, -0.712703287601471, 0.17686958611011505, -0.16556859016418457, -0.09428537636995316, -0.6608465313911438, -0.33806395530700684, 0.25910091400146484, 0.48612290620803833, -0.47969940304756165, 0.6188148260116577, 0.5728040337562561, 0.02651876211166382, -0.5307406783103943, -0.7206818461418152, 0.20418110489845276, 0.039646461606025696, -0.5569695830345154, 0.3011690080165863, 0.006543457508087158, -0.6622446775436401, -0.371124804019928, -0.26354190707206726, -0.6043857336044312, -0.2267974615097046, 0.7826986312866211, 0.1199423298239708, -0.09012264013290405, -0.20310267806053162, -0.3199536204338074, -0.06167525798082352, 0.30487415194511414, -0.07575298100709915, 0.7232834696769714, -0.33623749017715454, -0.17850083112716675, -0.887734055519104, 0.652754545211792, 0.9970465302467346, 0.09446714073419571, 0.806644082069397, 0.46324217319488525, -0.35647475719451904, -0.1304660439491272, -0.3535459041595459, -0.15120601654052734, -0.685774564743042, -0.1806798279285431, -0.5322476625442505, -0.5411434769630432, 0.40530654788017273, 0.10101459175348282, -0.0021042972803115845, 0.5167046785354614, 0.2533605694770813, -0.28806859254837036, 0.7550324201583862, 1.034340739250183, 0.1391797959804535, 0.3602915108203888, -0.2854715585708618, 0.6341594457626343, -0.8329949378967285, -0.34052175283432007, -0.4548071026802063, -0.2563585042953491, -0.31214389204978943, -0.10750849545001984, 0.5791022181510925, 0.2818215489387512, -0.4463467597961426, 0.1250680536031723, -0.5994209051132202, 0.6587361693382263, 0.6273988485336304, 0.5719727873802185, 0.1997303068637848, -0.46199458837509155, 0.19982971251010895, 0.04816687852144241, -0.45745599269866943, -0.4009109139442444, 0.7711143493652344, 0.2399624139070511, 0.8364022374153137, 0.20927050709724426, 0.4957774877548218, 0.33375421166419983, 0.2528058588504791, -0.6318977475166321, 0.2009797990322113, -0.22282809019088745, -1.245961308479309, -0.206426739692688, -0.16551318764686584, -1.0080583095550537, -0.11792082339525223, -0.18288995325565338, -0.8406620025634766, 0.2665729820728302, -0.19225634634494781, -0.6640645265579224, 0.5206149220466614, -0.5103875398635864, 0.69347083568573, -0.23555898666381836, -0.2817087769508362, 0.11930079013109207, -0.6889920830726624, 0.5254612565040588, 0.3667147755622864, 0.29168397188186646, -0.37968993186950684, -0.3192872405052185, 0.5068994760513306, -0.881224513053894, 0.44081127643585205, -0.10564978420734406, 0.19428130984306335, 0.5358879566192627, 0.4153591990470886, 0.3823971152305603, 0.28699052333831787, -0.2459377944469452, -0.23415414988994598, 0.2250344604253769, -0.7581346035003662, -0.27754613757133484, 0.9095459580421448, -0.7519428730010986, -0.8586915731430054, -0.6954255700111389, -0.30644941329956055, 0.28865277767181396, 0.02781464159488678, 0.7154772281646729, 0.6456884145736694, -0.18821057677268982, 0.23776991665363312, 0.7208225727081299, -0.0146945184096694, 0.7235562801361084, 0.29411184787750244, -0.4056646227836609, -0.6169787645339966, 0.7182320356369019, 0.2627044916152954, 0.05162655562162399, 0.028327951207756996, 0.3058736026287079, -0.17546698451042175, -0.15078596770763397, -0.6318323612213135, -0.06395323574542999, -0.7465729117393494, -0.0927949845790863, -0.7541396617889404, -0.2507742643356323, -0.7114590406417847, -0.8068137764930725, -0.7080163955688477, -0.45604395866394043, -0.43011948466300964, -0.23352204263210297, 0.5163108706474304, 1.1627086400985718, -0.2613152861595154, 0.8011051416397095, -0.8900954723358154, 0.41936296224594116, 0.4969540238380432, 0.7519731521606445, -0.11061006784439087, -0.6746935844421387, -0.07836239039897919, -0.5338755249977112, -0.29485058784484863, -1.0156972408294678, 0.31774646043777466, -0.03688591718673706, 0.40537136793136597, 0.42938894033432007, 0.25190269947052, 0.49392756819725037, -0.30073118209838867, 1.1130688190460205, 0.7274302244186401, -0.803381085395813, 0.519527792930603, -0.7635002136230469, 0.16122324764728546, 0.9363659620285034, 0.54477459192276, -0.4417075514793396, -0.15113934874534607, -1.025976538658142, -0.843137264251709, 0.5963036417961121, 0.15439945459365845, 0.016843896359205246, 0.01821417547762394, 0.03168272227048874, 0.29466384649276733, 0.3591304123401642, -0.7847291231155396, -0.8240220546722412, -0.13851122558116913, 0.25803306698799133, 0.31456053256988525, -0.1648542582988739, -0.3003871440887451, -0.611615777015686, 0.8711391091346741, 0.18286482989788055, 0.3546231985092163, 0.12073354423046112, 0.04369349032640457, -0.35506919026374817, 0.14787021279335022, 0.5522999167442322, 1.2529057264328003, -0.40983331203460693, 0.3673911392688751, 0.1751260608434677, -0.6540069580078125, 0.6494997143745422, -0.3036349415779114, -0.021784601733088493, 0.6203135251998901, 0.17760884761810303, 0.28528398275375366, 0.315599262714386, -0.3621427118778229, 0.6047801971435547, -0.029422052204608917, -0.17758512496948242, -0.7005696296691895, 0.15866968035697937, 0.029350608587265015, 0.27507954835891724, 0.4392024278640747, 0.24443313479423523, 0.08246771991252899, -1.0602877140045166, 0.5711055397987366, 0.24493910372257233, -0.8676618337631226, -0.3011006712913513, 0.7047957181930542, 0.4075389802455902, -0.47599563002586365, 0.38749054074287415, 0.012702330946922302, -0.6710241436958313, 0.5987741351127625, 0.5510413646697998, 0.7569674253463745, -0.4702427089214325, 0.3088020086288452, 0.6245602965354919, 0.06711331009864807, 0.20550549030303955, 0.6923202872276306, 0.03149382025003433, -0.44738656282424927, 0.23022446036338806, -0.5986733436584473, -0.1468990594148636, 0.13735318183898926, -0.8047426342964172, 0.351533442735672, -0.9312615394592285, -0.24089956283569336, 0.08751589059829712, 0.11761097609996796, -0.6130945086479187, 0.6674696207046509, -0.008524954319000244, 0.9280490875244141, -0.8549083471298218, 0.9626278281211853, 0.8559581637382507, -0.31830817461013794, -0.7709448337554932, -0.33556753396987915, 0.02013934776186943, -0.6660526990890503, 0.7108278274536133, -0.18973003327846527, -0.41207411885261536, -0.09323947876691818, -0.622982919216156, -1.0003730058670044, 0.030618250370025635, 0.017415650188922882, -0.4625031054019928, 0.4454794228076935, -0.5157257318496704, 0.3289681673049927, -0.19169732928276062, 0.30509495735168457, 0.7719469666481018, 0.7958452701568604, 0.22960808873176575, -0.6354780197143555, -0.4466685652732849, -0.010276071727275848, -0.16682815551757812, 0.4545809030532837, -1.0710972547531128, 0.967736542224884, -0.4652574360370636, -0.34733209013938904, 0.2706642150878906, 0.797762393951416, 0.2538500428199768, 0.3524126708507538, 0.6219537258148193, 0.9016807079315186, 0.36450111865997314, -0.31178343296051025, 0.7276745438575745, 0.2426338493824005, 0.4152539074420929, 0.7364203333854675, -0.22712187469005585, 0.5403846502304077, 0.8906413316726685, -0.786162257194519, 0.5381765365600586, 0.7879031896591187, 0.16047371923923492, 0.7758157253265381, 0.5944145917892456, -0.611952543258667, -0.1185941994190216, -0.1464141309261322, -0.6171560287475586, 0.1979752480983734, 0.052926212549209595, -0.11974738538265228, -0.2846010625362396, -0.13567376136779785, 0.12295057624578476, 0.2836454212665558, -0.5959328413009644, 0.606866717338562, 0.34341585636138916, -0.6328282356262207, 0.21025103330612183, -0.25779569149017334, 0.6709501147270203, -0.5978154540061951, 0.02733636647462845, -0.226993590593338, 0.41810402274131775, -0.4618742763996124, -1.007582426071167, 0.47138404846191406, -0.2920241355895996, -0.40551304817199707, -0.26942431926727295, 0.8072363138198853, -0.22133907675743103, -0.5572860240936279, 0.37486034631729126, 0.13466592133045197, 0.41473662853240967, 0.40145981311798096, -0.548729419708252, 0.047790080308914185, 0.13760165870189667, -0.20061805844306946, 0.3601190149784088, 0.2973729372024536, 0.25488772988319397, 0.7100128531455994, 0.5052477717399597, 0.22198708355426788, 0.25694364309310913, -0.18668605387210846, 0.8387458324432373, -0.9102796316146851, -0.8167635202407837, -0.9497333765029907, 0.3849896192550659, 0.025727711617946625, -0.880144476890564, 0.7920305728912354, 0.7652608156204224, 0.5113964080810547, -0.4877890348434448, 0.4755283296108246, -0.326479434967041, 0.5047136545181274, -0.13870958983898163, 1.001089096069336, -0.760762631893158, -0.29587265849113464, -0.030554059892892838, -0.9216439723968506, -0.2533753216266632, 0.5375741720199585, 0.1540832668542862, -0.14608067274093628, 0.4385907053947449, 0.44216376543045044, 0.022173406556248665, 0.25223150849342346, 0.32861006259918213, 0.06042787432670593, 0.14508451521396637, 0.5510438680648804, 1.0931141376495361, -0.43394410610198975, 0.18694786727428436, -0.4923475384712219, -0.4536249041557312, -0.4153490662574768, -0.9548057913780212, -0.6640313863754272, -0.48185449838638306, -0.2973935008049011, -0.5915579199790955, 0.11726461350917816, 0.9300885796546936, 0.9018137454986572, -0.6256728172302246, -0.41243645548820496, 0.25713539123535156, 0.30293411016464233, -0.2295418381690979, -0.146267831325531, 0.2736492455005646, -0.006407544948160648, -0.7211178541183472, 0.3930943012237549, 0.807976245880127, 0.3887130320072174, 0.08444006741046906, -0.07217127084732056, -0.4407080411911011, 0.026101574301719666, 0.5373561382293701, 0.5729561448097229, -0.6281182169914246, -0.4099644422531128, -0.5328317880630493, -0.21386730670928955, 0.15529435873031616, 0.48077550530433655, -0.5166378617286682, 0.32661110162734985, 0.8128959536552429, 0.17017659544944763, 0.7187885642051697, -0.0022492259740829468, 0.6678642630577087, -0.8970246315002441, 0.4446259140968323, 0.3953385353088379, 0.5681870579719543, 0.08998038619756699, -0.7339164614677429, 0.9820241928100586, 0.49674350023269653, -0.6334057450294495, -1.0034242868423462, 0.03079957515001297, -1.193113923072815, -0.3788175582885742, 0.9890843629837036, -0.09595765173435211, -0.9597458839416504, -0.36448943614959717, -0.3677716851234436, 0.07989637553691864, -0.33809733390808105, 0.35498204827308655, 0.8268195986747742, -0.2538071274757385, -0.2204185128211975, -0.9505581855773926, 0.4752943515777588, 0.3102525472640991, -0.5886632204055786, -0.05114369094371796, 0.329391211271286, 0.45236870646476746, 0.3009701371192932, 0.5239557027816772, 0.10428227484226227, 0.8970529437065125, 0.25200390815734863, 0.30491405725479126, -0.04526621103286743, -0.590078592300415, -0.0160664189606905, 0.2621477246284485, 0.04487839341163635, -0.6869441270828247 ]
cyberagent/open-calm-small
cyberagent
2023-05-18T01:10:33Z
7,721
15
transformers
[ "transformers", "pytorch", "gpt_neox", "text-generation", "japanese", "causal-lm", "ja", "dataset:wikipedia", "dataset:cc100", "dataset:mc4", "license:cc-by-sa-4.0", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-05-15T06:40:15Z
--- license: cc-by-sa-4.0 datasets: - wikipedia - cc100 - mc4 language: - ja tags: - japanese - causal-lm inference: false --- # OpenCALM-Small ## Model Description OpenCALM is a suite of decoder-only language models pre-trained on Japanese datasets, developed by CyberAgent, Inc. ## Usage ```python import torch from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained("cyberagent/open-calm-small", device_map="auto", torch_dtype=torch.float16) tokenizer = AutoTokenizer.from_pretrained("cyberagent/open-calm-small") inputs = tokenizer("AIによって私達の暮らしは、", return_tensors="pt").to(model.device) with torch.no_grad(): tokens = model.generate( **inputs, max_new_tokens=64, do_sample=True, temperature=0.7, top_p=0.9, repetition_penalty=1.05, pad_token_id=tokenizer.pad_token_id, ) output = tokenizer.decode(tokens[0], skip_special_tokens=True) print(output) ``` ## Model Details |Model|Params|Layers|Dim|Heads|Dev ppl| |:---:|:---: |:---:|:---:|:---:|:---:| |[cyberagent/open-calm-small](https://huggingface.co/cyberagent/open-calm-small)|160M|12|768|12|19.7| |[cyberagent/open-calm-medium](https://huggingface.co/cyberagent/open-calm-medium)|400M|24|1024|16|13.8| |[cyberagent/open-calm-large](https://huggingface.co/cyberagent/open-calm-large)|830M|24|1536|16|11.3| |[cyberagent/open-calm-1b](https://huggingface.co/cyberagent/open-calm-1b)|1.4B|24|2048|16|10.3| |[cyberagent/open-calm-3b](https://huggingface.co/cyberagent/open-calm-3b)|2.7B|32|2560|32|9.7| |[cyberagent/open-calm-7b](https://huggingface.co/cyberagent/open-calm-7b)|6.8B|32|4096|32|8.2| * **Developed by**: [CyberAgent, Inc.](https://www.cyberagent.co.jp/) * **Model type**: Transformer-based Language Model * **Language**: Japanese * **Library**: [GPT-NeoX](https://github.com/EleutherAI/gpt-neox) * **License**: OpenCALM is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License ([CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)). When using this model, please provide appropriate credit to CyberAgent, Inc. * Example (en): This model is a fine-tuned version of OpenCALM-XX developed by CyberAgent, Inc. The original model is released under the CC BY-SA 4.0 license, and this model is also released under the same CC BY-SA 4.0 license. For more information, please visit: https://creativecommons.org/licenses/by-sa/4.0/ * Example (ja): 本モデルは、株式会社サイバーエージェントによるOpenCALM-XXをファインチューニングしたものです。元のモデルはCC BY-SA 4.0ライセンスのもとで公開されており、本モデルも同じくCC BY-SA 4.0ライセンスで公開します。詳しくはこちらをご覧ください: https://creativecommons.org/licenses/by-sa/4.0/ ## Training Dataset * Wikipedia (ja) * Common Crawl (ja) ## Author [Ryosuke Ishigami](https://huggingface.co/rishigami) ## Citations ```bibtext @software{gpt-neox-library, title = {{GPT-NeoX: Large Scale Autoregressive Language Modeling in PyTorch}}, author = {Andonian, Alex and Anthony, Quentin and Biderman, Stella and Black, Sid and Gali, Preetham and Gao, Leo and Hallahan, Eric and Levy-Kramer, Josh and Leahy, Connor and Nestler, Lucas and Parker, Kip and Pieler, Michael and Purohit, Shivanshu and Songz, Tri and Phil, Wang and Weinbach, Samuel}, url = {https://www.github.com/eleutherai/gpt-neox}, doi = {10.5281/zenodo.5879544}, month = {8}, year = {2021}, version = {0.0.1}, } ```
[ -0.4231356084346771, -0.7588744163513184, 0.29607313871383667, 0.05225341394543648, -0.15709012746810913, -0.33845821022987366, -0.4319087564945221, -0.45775479078292847, 0.21733978390693665, 0.5173106789588928, -0.5461748838424683, -0.7671664357185364, -0.4823921322822571, 0.06583914905786514, -0.05490614101290703, 1.0081366300582886, -0.22716248035430908, -0.11550819873809814, -0.07356458157300949, -0.16012656688690186, -0.13722456991672516, -0.4934045970439911, -0.7725164890289307, -0.4010964334011078, 0.031131720170378685, 0.26553791761398315, 1.0016862154006958, 0.7498142719268799, 0.47390511631965637, 0.39903464913368225, 0.08863649517297745, 0.02857246622443199, -0.3277144730091095, -0.332218736410141, 0.03339637443423271, -0.7610092163085938, -0.7808423042297363, -0.10558482259511948, 0.6854502558708191, 0.36838778853416443, -0.06543079018592834, 0.2511829435825348, -0.08335956186056137, 0.164250910282135, -0.5305364727973938, 0.410256564617157, -0.45036888122558594, 0.007589929271489382, -0.12620030343532562, -0.006484628189355135, -0.37900543212890625, -0.3935418725013733, 0.03428671509027481, -0.7769975066184998, 0.23908542096614838, -0.10511951893568039, 1.158705472946167, 0.14002276957035065, -0.10072154551744461, 0.01696818694472313, -0.8097251653671265, 0.8733009696006775, -1.08674156665802, 0.20729395747184753, 0.5843600630760193, 0.24704964458942413, 0.030232731252908707, -0.8694635033607483, -0.4240587651729584, -0.16149011254310608, -0.07350435107946396, 0.18935982882976532, -0.6243056654930115, -0.04432712495326996, 0.3649066090583801, 0.3703623116016388, -0.923224925994873, 0.0759066790342331, -0.31576788425445557, -0.3653463125228882, 0.45932209491729736, 0.41394171118736267, 0.5011445879936218, -0.004114585928618908, -0.3237133324146271, -0.30610576272010803, -0.4831765294075012, -0.09669756144285202, 0.2967803180217743, 0.44897010922431946, -0.6873922944068909, 0.5067690014839172, -0.0874970555305481, 0.6052689552307129, -0.2632924020290375, -0.22692006826400757, 0.5918929576873779, -0.5656870603561401, -0.31586113572120667, -0.09558036923408508, 1.563186526298523, 0.20872095227241516, 0.40023481845855713, 0.08539106696844101, -0.1413167119026184, 0.0129395155236125, -0.047173794358968735, -1.0760172605514526, -0.13206803798675537, 0.13763892650604248, -0.4637436866760254, -0.2227771282196045, 0.30845728516578674, -0.8472833633422852, 0.16683538258075714, -0.23328688740730286, 0.46837788820266724, -0.5203893780708313, -0.5799280405044556, 0.31755173206329346, 0.23484760522842407, 0.047060225158929825, 0.2743346095085144, -0.516321063041687, 0.5971627235412598, 0.270626425743103, 1.0820437669754028, 0.3036065995693207, -0.4117061197757721, -0.16342751681804657, -0.3256760537624359, -0.1364092230796814, 0.35040411353111267, -0.2563280463218689, -0.2886035144329071, -0.10051186382770538, 0.2375069409608841, -0.3583734929561615, -0.5610551238059998, 0.36034971475601196, -0.3424634039402008, 0.4022996723651886, 0.20642666518688202, -0.010348672047257423, -0.05954184755682945, 0.09328804165124893, -0.6024895310401917, 1.161644458770752, 0.22521136701107025, -0.959709644317627, -0.03385850787162781, -0.5985142588615417, 0.04366329684853554, -0.15339615941047668, 0.018703626468777657, -0.6282182931900024, -0.18041051924228668, 0.277071088552475, 0.046908844262361526, -0.5387492775917053, 0.06804240494966507, -0.5244448781013489, -0.1663472056388855, 0.2875434458255768, -0.24055974185466766, 1.1909193992614746, 0.42161309719085693, -0.38783201575279236, 0.22728703916072845, -0.8529701828956604, 0.22146086394786835, 0.5893509387969971, -0.09158855676651001, -0.32325848937034607, -0.2546253800392151, 0.16582848131656647, 0.4547228515148163, 0.3838765025138855, -0.5914099216461182, 0.2397395819425583, -0.597740888595581, 0.6512269973754883, 0.5401319861412048, -0.21166260540485382, 0.37349432706832886, -0.266492635011673, 0.7107409238815308, 0.2317824363708496, 0.36536315083503723, -0.2407059371471405, -0.5426750183105469, -0.7239911556243896, -0.5138623118400574, 0.18885380029678345, 0.6496726274490356, -0.6142871975898743, 0.47887903451919556, -0.42138463258743286, -0.7460559606552124, -0.7480049133300781, -0.07762835919857025, 0.5282089710235596, 0.22654949128627777, 0.3802991807460785, -0.3479064404964447, -0.6670147776603699, -0.7435383796691895, 0.0369596891105175, -0.17093496024608612, 0.08742649853229523, 0.47051188349723816, 0.7142940163612366, -0.5761927366256714, 1.1567858457565308, -0.7902965545654297, -0.15863656997680664, -0.11089534312486649, 0.25782284140586853, 0.44925788044929504, 0.40708208084106445, 0.6751139163970947, -0.4730338156223297, -0.6543797850608826, 0.1689269095659256, -0.7517107129096985, -0.19773466885089874, 0.12619595229625702, 0.0030143694020807743, 0.2311450093984604, 0.5342153310775757, -0.7614359259605408, 0.6204892992973328, 0.2900538444519043, -0.3841627240180969, 0.8488115072250366, -0.3755972981452942, -0.09806471318006516, -1.4375702142715454, 0.4188489317893982, 0.09865059703588486, -0.4154320955276489, -0.479348748922348, 0.18746469914913177, 0.014231343753635883, -0.2508067190647125, -0.5372800827026367, 0.9031955003738403, -0.4254798889160156, 0.10687613487243652, -0.28289660811424255, 0.2538767158985138, -0.2660028040409088, 0.44059470295906067, 0.11318995803594589, 0.7308231592178345, 0.7598668336868286, -0.40879037976264954, 0.33973461389541626, 0.22326251864433289, -0.14398103952407837, 0.16401790082454681, -0.8531201481819153, 0.17473585903644562, 0.041882097721099854, 0.17216496169567108, -0.889284610748291, -0.09467340260744095, 0.3972000181674957, -0.734123706817627, 0.23926228284835815, -0.307372510433197, -0.8176387548446655, -0.5888749957084656, -0.22257749736309052, 0.5903400778770447, 0.437975138425827, -0.44640105962753296, 0.2581808865070343, 0.20475514233112335, -0.0727677196264267, -0.4453403949737549, -0.7121353149414062, -0.20468127727508545, -0.1393938958644867, -0.7666287422180176, 0.30003413558006287, -0.1507071554660797, -0.16792219877243042, 0.22667212784290314, 0.08214813470840454, -0.24433192610740662, -0.1939620077610016, 0.18629078567028046, 0.5145706534385681, -0.5461686253547668, -0.2534273862838745, -0.42155951261520386, -0.3520403206348419, 0.2430284321308136, -0.33363890647888184, 0.893642246723175, -0.4138897955417633, -0.13018646836280823, -0.5669811964035034, 0.05256133899092674, 0.7315770983695984, -0.3328590393066406, 0.8553394675254822, 0.9595265984535217, -0.5378634929656982, 0.03952009603381157, -0.19380998611450195, -0.3031032979488373, -0.4858313798904419, 0.4903274178504944, -0.37048467993736267, -0.8326291441917419, 0.9450370073318481, 0.1834348887205124, 0.00394104840233922, 0.6798391342163086, 0.7022301554679871, 0.5437737703323364, 1.2327492237091064, 0.5264950394630432, -0.35010701417922974, 0.5230722427368164, -0.5077069401741028, 0.1299450844526291, -0.8069812059402466, -0.020210055634379387, -0.8087841272354126, 0.09612274169921875, -0.8432102203369141, -0.4442678391933441, 0.255894273519516, -0.043037354946136475, -0.605364203453064, 0.7323380708694458, -0.4332413971424103, 0.1755068004131317, 0.5075780153274536, 0.19648168981075287, 0.19073805212974548, 0.01594286598265171, -0.4701676666736603, -0.050564225763082504, -0.7543568015098572, -0.36980530619621277, 1.107276201248169, 0.5102682709693909, 1.0243115425109863, 0.12289706617593765, 0.7377418875694275, -0.36813992261886597, -0.005253117997199297, -0.7351756691932678, 0.6736729145050049, 0.10636111348867416, -0.7809513807296753, -0.058448098599910736, -0.8673478364944458, -1.2154585123062134, 0.14988693594932556, 0.014719482511281967, -1.1632461547851562, 0.11189096421003342, 0.030320139601826668, -0.33124232292175293, 0.5069002509117126, -0.5935668349266052, 0.9162933230400085, 0.054631557315588, -0.4511346220970154, -0.12134642899036407, -0.6320828795433044, 0.3569701313972473, 0.03364769369363785, 0.3356688618659973, 0.13707466423511505, -0.06875772029161453, 0.7440682053565979, -0.8717223405838013, 1.0107226371765137, -0.0748896673321724, 0.15203425288200378, 0.4667236804962158, 0.010022015310823917, 0.41210922598838806, 0.11691096425056458, 0.02738546021282673, 0.37802162766456604, 0.15883061289787292, -0.2400863766670227, -0.30066391825675964, 0.9001212120056152, -1.342869520187378, -0.19708147644996643, -0.7402932643890381, -0.5317398309707642, 0.13120423257350922, 0.676156222820282, 0.4829712510108948, 0.5232802629470825, -0.076810322701931, 0.19474124908447266, 0.5847366452217102, -0.4944133460521698, 0.4512473940849304, 0.5814724564552307, -0.4595259428024292, -0.8582252860069275, 0.9326937794685364, 0.06691128760576248, 0.4183838367462158, 0.32134386897087097, 0.4118586778640747, -0.2265034317970276, -0.26181355118751526, -0.316575825214386, 0.6611538529396057, -0.5133066773414612, -0.2725965082645416, -0.6309710144996643, -0.4887579083442688, -0.7042552828788757, 0.06600998342037201, -0.6053559184074402, -0.22534391283988953, -0.48378342390060425, 0.2647056579589844, 0.41720080375671387, 0.44997021555900574, -0.16192246973514557, 0.39617279171943665, -0.7000167369842529, 0.24729181826114655, -0.04455830156803131, 0.3838406801223755, 0.021172909066081047, -0.6939072012901306, -0.4570449888706207, 0.25371596217155457, -0.43092259764671326, -0.704143762588501, 0.7128142714500427, -0.06101863831281662, 0.48543673753738403, 0.390067458152771, -0.014265680685639381, 0.7097113728523254, -0.1501738727092743, 0.6536455750465393, 0.30755457282066345, -0.7748820781707764, 0.608634889125824, -0.5978935360908508, 0.7920622229576111, 0.33672627806663513, 0.5732994079589844, -0.48687833547592163, -0.2515406310558319, -0.8592639565467834, -1.0293875932693481, 1.3118561506271362, 0.24183014035224915, -0.04109776020050049, 0.013326109386980534, 0.20638707280158997, -0.18753381073474884, 0.02652464620769024, -1.0549365282058716, -0.46828117966651917, -0.21421296894550323, -0.3564545214176178, -0.11009084433317184, -0.01873193494975567, 0.05257542058825493, -0.3530438244342804, 0.8638813495635986, -0.195816770195961, 0.7702056169509888, 0.27012452483177185, -0.19118723273277283, -0.34265831112861633, 0.07808758318424225, 0.6865032911300659, 0.40659287571907043, -0.3934662938117981, -0.05889783799648285, 0.09074538201093674, -0.8207796812057495, -0.15253542363643646, 0.25092700123786926, -0.1894453763961792, 0.01802804321050644, 0.3259477913379669, 1.0990442037582397, 0.2099458873271942, -0.3842043876647949, 0.5620633363723755, -0.17029744386672974, -0.3892250061035156, -0.40946799516677856, -0.03131618723273277, -0.00030181973124854267, 0.030508048832416534, -0.009904846549034119, 0.009030772373080254, -0.1724592000246048, -0.6093885898590088, 0.009989799000322819, 0.33155888319015503, -0.4292603135108948, -0.5457898378372192, 0.7206627726554871, -0.24595171213150024, -0.17432233691215515, 0.7681459188461304, -0.1754424124956131, -0.4592842161655426, 0.739452064037323, 0.9244210124015808, 1.0349534749984741, -0.4062664210796356, -0.04347826912999153, 0.9536252617835999, 0.534561276435852, 0.009768030606210232, 0.3952389359474182, 0.2081509530544281, -0.6732397079467773, -0.2204161137342453, -0.6015837788581848, -0.13881437480449677, 0.41302770376205444, -0.7689353227615356, 0.539057731628418, -0.5040708184242249, -0.4642886817455292, -0.06410811841487885, 0.19830875098705292, -0.8164805173873901, 0.19943180680274963, 0.04439600184559822, 1.014709711074829, -0.7608237862586975, 0.9089614152908325, 0.8692911267280579, -0.6026832461357117, -0.8050197958946228, -0.14364206790924072, 0.1346709132194519, -0.9140495657920837, 0.34736770391464233, 0.05799664929509163, 0.10240872949361801, 0.20738838613033295, -0.42080894112586975, -1.0535365343093872, 1.0693000555038452, 0.38016068935394287, -0.3949025571346283, -0.12501001358032227, 0.5441312193870544, 0.5282413363456726, -0.256123811006546, 0.9881210923194885, 0.1974758803844452, 0.45162463188171387, -0.025425530970096588, -1.2902742624282837, 0.23972633481025696, -0.4079861044883728, 0.007008126005530357, 0.41551879048347473, -0.8838401436805725, 1.0373013019561768, -0.2771949768066406, -0.10626968741416931, 0.21399448812007904, 0.39973098039627075, 0.12814292311668396, 0.17802026867866516, 0.3275536298751831, 0.8901087641716003, 0.3108964264392853, -0.22850249707698822, 0.8562265634536743, -0.29390081763267517, 0.7275019288063049, 1.1541355848312378, 0.11638612300157547, 0.7026699185371399, -0.021472930908203125, -0.39294853806495667, 0.5673417448997498, 0.4824230670928955, 0.0052842041477561, 0.3269446790218353, 0.009010807611048222, -0.13275593519210815, -0.1440884917974472, 0.16026455163955688, -0.5027669668197632, 0.45451706647872925, 0.32098686695098877, -0.5060699582099915, -0.5431365966796875, 0.032502543181180954, 0.4235106110572815, -0.2657149136066437, -0.22979995608329773, 0.6607488393783569, 0.29390817880630493, -0.5187454223632812, 0.8929831981658936, 0.2896420657634735, 0.5511322617530823, -0.8587989211082458, 0.3406505286693573, 0.06398124247789383, 0.5101796388626099, -0.25788524746894836, -0.6072927117347717, 0.21837110817432404, 0.0024731000885367393, -0.11689062416553497, 0.013316808268427849, 0.6801732182502747, -0.30275630950927734, -0.3295259475708008, 0.45671913027763367, 0.2354913055896759, 0.20646582543849945, -0.09544604271650314, -1.0027096271514893, 0.26598691940307617, -0.048931945115327835, -0.35879045724868774, 0.4001087248325348, 0.40186581015586853, -0.09117390215396881, 0.5698891282081604, 0.7203029990196228, 0.0389031320810318, 0.06371716409921646, 0.03926490619778633, 0.9032347202301025, -0.6928176879882812, -0.5189961194992065, -0.9623643159866333, 0.5289044380187988, 0.09369157254695892, -0.6021411418914795, 0.9251455068588257, 0.8363005518913269, 0.963202953338623, -0.12210584431886673, 0.7297939658164978, -0.14309900999069214, 0.23973040282726288, -0.1818755567073822, 0.6636807322502136, -0.5946794748306274, -0.16971701383590698, -0.42702656984329224, -0.9140121340751648, -0.2455737590789795, 0.6526089906692505, -0.5035130381584167, 0.3382204473018646, 0.6999731063842773, 1.0856425762176514, -0.3001510202884674, -0.15693965554237366, 0.14556245505809784, 0.578940749168396, 0.25557273626327515, 0.7874162793159485, 0.48503732681274414, -0.7770863175392151, 0.5651068687438965, -0.4888785481452942, -0.48920246958732605, -0.3980752229690552, -0.5894024968147278, -0.9554622173309326, -0.5007187128067017, -0.506385087966919, -0.6003571152687073, -0.2713142931461334, 1.1423571109771729, 0.8558042645454407, -0.7293624877929688, -0.4556032717227936, -0.18630434572696686, -0.26892024278640747, -0.20472750067710876, -0.3180617690086365, 0.20360995829105377, -0.16917158663272858, -0.7967543601989746, 0.11001717299222946, 0.005185604095458984, 0.09660296887159348, -0.18056410551071167, -0.13721296191215515, -0.18707385659217834, 0.1433461457490921, 0.4189378619194031, 0.5166575312614441, -0.556140661239624, 0.17214877903461456, 0.17587195336818695, -0.3248729407787323, 0.18727393448352814, 0.4913298189640045, -0.5382199883460999, 0.6027672290802002, 0.6798556447029114, 0.011158901266753674, 0.7621395587921143, -0.46315380930900574, 0.34019821882247925, -0.5106386542320251, 0.31933069229125977, 0.1461198329925537, 0.5131770372390747, 0.047429487109184265, -0.1726807802915573, 0.39068731665611267, 0.4471398591995239, -0.6477415561676025, -0.901035487651825, 0.011317639611661434, -1.1633880138397217, -0.12908947467803955, 1.3173449039459229, -0.22125107049942017, -0.4625432789325714, 0.1411629021167755, -0.23578636348247528, 0.37385714054107666, -0.33068782091140747, 0.36924582719802856, 0.5437930226325989, 0.2762821614742279, -0.15346190333366394, -0.6625694036483765, 0.14651396870613098, 0.08022163808345795, -0.8269466757774353, 0.10273594409227371, 0.256104052066803, 0.46507197618484497, 0.3860084116458893, 0.7382238507270813, -0.6360041499137878, 0.3339022397994995, 0.07267426699399948, 0.3782937228679657, -0.2201310396194458, -0.1665225327014923, -0.34512031078338623, -0.2085939347743988, 0.04961846023797989, -0.15078382194042206 ]
timm/tf_efficientnet_lite2.in1k
timm
2023-04-27T21:38:22Z
7,717
0
timm
[ "timm", "pytorch", "safetensors", "image-classification", "dataset:imagenet-1k", "arxiv:1905.11946", "license:apache-2.0", "region:us" ]
image-classification
2022-12-13T00:13:43Z
--- tags: - image-classification - timm library_name: timm license: apache-2.0 datasets: - imagenet-1k --- # Model card for tf_efficientnet_lite2.in1k A EfficientNet-Lite image classification model. Trained on ImageNet-1k in Tensorflow by paper authors, ported to PyTorch by Ross Wightman. ## Model Details - **Model Type:** Image classification / feature backbone - **Model Stats:** - Params (M): 6.1 - GMACs: 0.9 - Activations (M): 12.9 - Image size: 260 x 260 - **Papers:** - EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks: https://arxiv.org/abs/1905.11946 - **Dataset:** ImageNet-1k - **Original:** https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet ## Model Usage ### Image Classification ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open(urlopen( 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png' )) model = timm.create_model('tf_efficientnet_lite2.in1k', pretrained=True) model = model.eval() # get model specific transforms (normalization, resize) data_config = timm.data.resolve_model_data_config(model) transforms = timm.data.create_transform(**data_config, is_training=False) output = model(transforms(img).unsqueeze(0)) # unsqueeze single image into batch of 1 top5_probabilities, top5_class_indices = torch.topk(output.softmax(dim=1) * 100, k=5) ``` ### Feature Map Extraction ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open(urlopen( 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png' )) model = timm.create_model( 'tf_efficientnet_lite2.in1k', pretrained=True, features_only=True, ) model = model.eval() # get model specific transforms (normalization, resize) data_config = timm.data.resolve_model_data_config(model) transforms = timm.data.create_transform(**data_config, is_training=False) output = model(transforms(img).unsqueeze(0)) # unsqueeze single image into batch of 1 for o in output: # print shape of each feature map in output # e.g.: # torch.Size([1, 16, 130, 130]) # torch.Size([1, 24, 65, 65]) # torch.Size([1, 48, 33, 33]) # torch.Size([1, 120, 17, 17]) # torch.Size([1, 352, 9, 9]) print(o.shape) ``` ### Image Embeddings ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open(urlopen( 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png' )) model = timm.create_model( 'tf_efficientnet_lite2.in1k', pretrained=True, num_classes=0, # remove classifier nn.Linear ) model = model.eval() # get model specific transforms (normalization, resize) data_config = timm.data.resolve_model_data_config(model) transforms = timm.data.create_transform(**data_config, is_training=False) output = model(transforms(img).unsqueeze(0)) # output is (batch_size, num_features) shaped tensor # or equivalently (without needing to set num_classes=0) output = model.forward_features(transforms(img).unsqueeze(0)) # output is unpooled, a (1, 1280, 9, 9) shaped tensor output = model.forward_head(output, pre_logits=True) # output is a (1, num_features) shaped tensor ``` ## Model Comparison Explore the dataset and runtime metrics of this model in timm [model results](https://github.com/huggingface/pytorch-image-models/tree/main/results). ## Citation ```bibtex @inproceedings{tan2019efficientnet, title={Efficientnet: Rethinking model scaling for convolutional neural networks}, author={Tan, Mingxing and Le, Quoc}, booktitle={International conference on machine learning}, pages={6105--6114}, year={2019}, organization={PMLR} } ``` ```bibtex @misc{rw2019timm, author = {Ross Wightman}, title = {PyTorch Image Models}, year = {2019}, publisher = {GitHub}, journal = {GitHub repository}, doi = {10.5281/zenodo.4414861}, howpublished = {\url{https://github.com/huggingface/pytorch-image-models}} } ```
[ -0.3453368544578552, -0.5357996225357056, -0.04560518264770508, 0.08928641676902771, -0.2787861227989197, -0.4491782784461975, -0.3599194884300232, -0.38534432649612427, 0.1913728564977646, 0.35810181498527527, -0.3501952588558197, -0.6187109351158142, -0.7319750785827637, -0.20048999786376953, -0.18696805834770203, 0.8952186703681946, -0.09933121502399445, 0.007116306573152542, -0.13936087489128113, -0.6016477942466736, -0.07596869766712189, -0.11177915334701538, -0.9496886730194092, -0.4762062728404999, 0.39034298062324524, 0.32473787665367126, 0.6174827218055725, 0.6694301962852478, 0.6872417330741882, 0.48843660950660706, -0.08138124644756317, 0.06304217129945755, -0.3354438543319702, -0.12612973153591156, 0.42723605036735535, -0.6069341897964478, -0.425372451543808, 0.19674791395664215, 0.7199957370758057, 0.48986026644706726, 0.010967911221086979, 0.4835146367549896, 0.13574744760990143, 0.5651566982269287, -0.3080819249153137, 0.15347029268741608, -0.3902275562286377, 0.1492098867893219, -0.01770114153623581, 0.09425675123929977, -0.3192743957042694, -0.4093862473964691, 0.22738051414489746, -0.6212042570114136, 0.5067632794380188, -0.09114526957273483, 1.2529455423355103, 0.30954697728157043, -0.1187506765127182, -0.07878988981246948, -0.22467249631881714, 0.7358562350273132, -0.8275072574615479, 0.14722846448421478, 0.15609613060951233, 0.22767646610736847, -0.0265665240585804, -1.2004003524780273, -0.4632684886455536, -0.21651330590248108, -0.28816190361976624, -0.1274046003818512, -0.29842954874038696, 0.1320721060037613, 0.35797232389450073, 0.2913251519203186, -0.4686601161956787, 0.10542378574609756, -0.553640604019165, -0.17859095335006714, 0.604007363319397, 0.007645091973245144, 0.3048816919326782, -0.14663946628570557, -0.48930391669273376, -0.4714668393135071, -0.34788236021995544, 0.3431709408760071, 0.25620952248573303, 0.21848121285438538, -0.5386995673179626, 0.44261157512664795, 0.1459725797176361, 0.6128956079483032, 0.02554772049188614, -0.34810125827789307, 0.6034826636314392, 0.03747707977890968, -0.4620051085948944, -0.09498659521341324, 1.1209930181503296, 0.4648858904838562, 0.2588461637496948, 0.03765355795621872, -0.17088495194911957, -0.37992584705352783, -0.09449601918458939, -1.3760144710540771, -0.3664458692073822, 0.36792415380477905, -0.6802211999893188, -0.4497404992580414, 0.19102232158184052, -0.5672041177749634, -0.12451289594173431, 0.0009306977153755724, 0.757226824760437, -0.3877999186515808, -0.47567373514175415, -0.0060027772560715675, -0.20978276431560516, 0.17936377227306366, 0.19703778624534607, -0.5812493562698364, 0.13601462543010712, 0.33298566937446594, 1.1943339109420776, 0.1209910660982132, -0.4076644778251648, -0.26113221049308777, -0.3978918492794037, -0.2967609763145447, 0.36138275265693665, -0.026469483971595764, -0.029290223494172096, -0.28043562173843384, 0.33323103189468384, -0.16305230557918549, -0.7351879477500916, 0.3418644070625305, -0.24222791194915771, 0.1338306963443756, 0.046533145010471344, -0.3365659713745117, -0.5431713461875916, 0.26545989513397217, -0.5277866125106812, 1.1944077014923096, 0.37691086530685425, -0.9108258485794067, 0.27960458397865295, -0.5996996164321899, -0.11885547637939453, -0.25045251846313477, 0.0019176686182618141, -1.1152634620666504, -0.05481813848018646, 0.13083405792713165, 0.8115190863609314, -0.2815755307674408, 0.13573415577411652, -0.6056132316589355, -0.2530849874019623, 0.2867809236049652, -0.06306381523609161, 1.1374644041061401, 0.22664400935173035, -0.49185511469841003, 0.33041733503341675, -0.5916347503662109, 0.26300838589668274, 0.4954923987388611, -0.23751004040241241, 0.0031773243099451065, -0.6006380915641785, 0.2476625293493271, 0.27790695428848267, 0.1549697071313858, -0.5647570490837097, 0.2891343832015991, -0.15163777768611908, 0.5916240215301514, 0.5713040232658386, -0.15899154543876648, 0.3915230631828308, -0.34599465131759644, 0.2515124976634979, 0.2179621309041977, 0.22245192527770996, -0.054009392857551575, -0.4394755959510803, -0.8663606643676758, -0.5095559358596802, 0.32334527373313904, 0.33522647619247437, -0.5507770776748657, 0.41584762930870056, -0.29736313223838806, -0.8363708853721619, -0.4572937488555908, 0.03739442676305771, 0.409970760345459, 0.6679115295410156, 0.3129400908946991, -0.3001839220523834, -0.4149448871612549, -0.9849497079849243, -0.032527338713407516, 0.01485113799571991, -0.001421719091013074, 0.3842279314994812, 0.6806185245513916, -0.03351551294326782, 0.593318521976471, -0.4155803620815277, -0.2847098708152771, -0.2539812922477722, 0.0399416983127594, 0.4588230550289154, 0.8786475658416748, 0.8268567323684692, -0.6748797297477722, -0.5808684229850769, -0.16493409872055054, -0.9498344659805298, 0.1516340970993042, -0.04889814555644989, -0.16853788495063782, 0.18804654479026794, 0.23253394663333893, -0.6133639812469482, 0.5445828437805176, 0.24861399829387665, -0.4860193431377411, 0.3955484926700592, -0.27429717779159546, 0.23284396529197693, -1.1594370603561401, 0.20137736201286316, 0.3379293978214264, -0.21760781109333038, -0.5743002891540527, 0.12387919425964355, 0.12092480808496475, -0.04381503909826279, -0.48598453402519226, 0.699889600276947, -0.5300007462501526, -0.189022034406662, -0.10440126806497574, -0.3049599528312683, 0.03138235583901405, 0.6771368980407715, -0.15643328428268433, 0.40696027874946594, 0.8467487692832947, -0.4345819354057312, 0.515695333480835, 0.2771827280521393, -0.30407729744911194, 0.2983664870262146, -0.7865436673164368, 0.13328054547309875, 0.09725698828697205, 0.20734627544879913, -1.0505833625793457, -0.24218203127384186, 0.2911011278629303, -0.5982998609542847, 0.6189864277839661, -0.5027485489845276, -0.5051174759864807, -0.43134114146232605, -0.4697282910346985, 0.44792982935905457, 0.6443346738815308, -0.7745791077613831, 0.4894322454929352, 0.17700576782226562, 0.3358977138996124, -0.5711781978607178, -0.9706258177757263, -0.25691893696784973, -0.4177496135234833, -0.8926487565040588, 0.36667418479919434, 0.11165866255760193, 0.05140499398112297, 0.19169917702674866, 0.004283746238797903, -0.11609470099210739, 0.0005053505883552134, 0.45683395862579346, 0.30879688262939453, -0.3562346398830414, -0.00230793678201735, -0.3206008970737457, -0.00684813829138875, 0.07163117825984955, -0.3716673254966736, 0.5323581099510193, -0.2794446349143982, -0.03340785577893257, -0.8303289413452148, -0.08992525190114975, 0.49974074959754944, 0.0017359718913212419, 0.8829815983772278, 1.1753499507904053, -0.49583983421325684, -0.08500604331493378, -0.4341750741004944, -0.3458595275878906, -0.4973626434803009, 0.5790885090827942, -0.3311903774738312, -0.529618501663208, 0.8488286733627319, 0.029861291870474815, 0.16166293621063232, 0.7565663456916809, 0.36745914816856384, -0.032489925622940063, 0.6801122426986694, 0.6172338128089905, 0.3037267029285431, 0.8029558062553406, -1.1371691226959229, -0.20720744132995605, -0.8116444945335388, -0.44440656900405884, -0.37986770272254944, -0.7335644364356995, -0.7378973960876465, -0.3249472975730896, 0.5233198404312134, 0.28096771240234375, -0.5151198506355286, 0.4140251576900482, -0.8804564476013184, 0.07375147193670273, 0.6076870560646057, 0.5756109952926636, -0.3108559846878052, 0.36556491255760193, -0.17719553411006927, 0.056238509714603424, -0.8353559970855713, -0.22502875328063965, 1.1842893362045288, 0.4201713502407074, 0.5862849950790405, -0.10678232461214066, 0.6309205889701843, -0.2549789845943451, 0.40125516057014465, -0.6923574209213257, 0.5497819185256958, -0.17185550928115845, -0.4545002281665802, -0.21743328869342804, -0.574303388595581, -1.0513899326324463, 0.24939551949501038, -0.24387918412685394, -0.7168682217597961, 0.19751667976379395, 0.1857733577489853, -0.23044012486934662, 0.8443976044654846, -0.9740536212921143, 1.0542372465133667, -0.10824798792600632, -0.5253286957740784, -0.007064387202262878, -0.6324823498725891, 0.28566157817840576, 0.32610321044921875, -0.2497124820947647, -0.07818575203418732, -0.03225776553153992, 1.1738474369049072, -0.6852981448173523, 0.7661998271942139, -0.5609957575798035, 0.44338470697402954, 0.5324245691299438, -0.07575619220733643, 0.3893590271472931, -0.05981266871094704, -0.22205263376235962, 0.29515960812568665, 0.019003894180059433, -0.5419556498527527, -0.5678512454032898, 0.6333458423614502, -1.028948426246643, -0.3116281032562256, -0.2439020425081253, -0.5266536474227905, 0.2537240982055664, 0.14997448027133942, 0.5703129768371582, 0.7521887421607971, 0.22715532779693604, 0.38955575227737427, 0.5524959564208984, -0.2908100485801697, 0.5863071084022522, -0.12197887152433395, -0.16252826154232025, -0.5119649767875671, 0.7726996541023254, 0.3326406180858612, 0.23183180391788483, 0.09934493154287338, 0.2811497747898102, -0.30101141333580017, -0.6034690737724304, -0.38670971989631653, 0.2722632884979248, -0.750019371509552, -0.5386437773704529, -0.6787621378898621, -0.3961004316806793, -0.3665807545185089, -0.12130816280841827, -0.5294287800788879, -0.5069053769111633, -0.4524681270122528, 0.1926237940788269, 0.7449939250946045, 0.5848481059074402, -0.15505468845367432, 0.5823661684989929, -0.44264402985572815, 0.0703563466668129, 0.1177898719906807, 0.45970314741134644, 0.08037605881690979, -0.8911532759666443, -0.28207430243492126, -0.11628300696611404, -0.4119333326816559, -0.6554189920425415, 0.48559126257896423, 0.25189194083213806, 0.46272704005241394, 0.4217112064361572, -0.18083183467388153, 0.6585960984230042, 0.052109766751527786, 0.5128656625747681, 0.43650907278060913, -0.5049734115600586, 0.546797513961792, -0.0009937463328242302, 0.16514866054058075, 0.1310953050851822, 0.28207600116729736, -0.2455102503299713, 0.03297368064522743, -1.0379172563552856, -0.8018903732299805, 0.913158118724823, 0.13271893560886383, -0.016268739476799965, 0.4414416551589966, 0.7741456627845764, 0.020357130095362663, 0.021642858162522316, -0.7480855584144592, -0.5401081442832947, -0.3605411648750305, -0.3377043902873993, -0.039623066782951355, -0.09605846554040909, -0.04682466387748718, -0.6386328339576721, 0.6678959727287292, -0.07408179342746735, 0.7508643269538879, 0.37424543499946594, -0.09918389469385147, -0.05622488632798195, -0.3885097801685333, 0.45556640625, 0.3435457646846771, -0.3462013006210327, 0.14970238506793976, 0.12491760402917862, -0.5584030747413635, 0.13813260197639465, 0.21527434885501862, -0.04725811630487442, 0.009703483432531357, 0.6054540276527405, 1.0018037557601929, -0.021956998854875565, 0.10657593607902527, 0.47450730204582214, -0.04788513109087944, -0.43752047419548035, -0.2270461916923523, 0.18787246942520142, 0.037570398300886154, 0.4677870571613312, 0.32679036259651184, 0.4243641495704651, -0.11604833602905273, -0.23099108040332794, 0.22522734105587006, 0.5372328162193298, -0.2853713035583496, -0.351380854845047, 0.6484058499336243, -0.13649779558181763, -0.16986605525016785, 0.8762550354003906, -0.14833912253379822, -0.4985578954219818, 1.2071207761764526, 0.4041586220264435, 0.9634161591529846, 0.058763451874256134, -0.015293736942112446, 1.018302321434021, 0.26599088311195374, -0.061484526842832565, 0.12096527218818665, 0.08911795914173126, -0.7449973821640015, 0.09369215369224548, -0.4869215786457062, 0.1264096200466156, 0.28201723098754883, -0.48387086391448975, 0.3154738247394562, -0.688869833946228, -0.40128281712532043, 0.16013748943805695, 0.45609989762306213, -0.9726758003234863, 0.15207739174365997, -0.11114687472581863, 0.9298996329307556, -0.7460877895355225, 0.8052913546562195, 0.8091104030609131, -0.5449008345603943, -1.1938132047653198, -0.2168097347021103, -0.09508857131004333, -0.8795719146728516, 0.6043412089347839, 0.5126668214797974, 0.1953258216381073, 0.14374849200248718, -0.8581880927085876, -0.6696557402610779, 1.5515451431274414, 0.6040176749229431, -0.12012184411287308, 0.24052272737026215, -0.10726761072874069, 0.22664010524749756, -0.5472742915153503, 0.6430373191833496, 0.20788384974002838, 0.41859519481658936, 0.2832547426223755, -0.646252453327179, 0.2981281280517578, -0.3128507137298584, 0.08159951865673065, 0.1538832187652588, -0.9114691615104675, 0.9825260639190674, -0.568871796131134, -0.14202991127967834, 0.026696382090449333, 0.6694985628128052, 0.14112766087055206, 0.13569940626621246, 0.6124547123908997, 0.873019814491272, 0.5554271340370178, -0.34064483642578125, 0.9374072551727295, 0.04601117968559265, 0.7561790943145752, 0.5977500677108765, 0.4952005445957184, 0.5154061913490295, 0.37362444400787354, -0.22413307428359985, 0.29773247241973877, 1.0884547233581543, -0.38957419991493225, 0.2853090167045593, 0.17521075904369354, 0.03835209459066391, -0.10470572859048843, 0.06556777656078339, -0.39809077978134155, 0.4625932276248932, 0.17205554246902466, -0.6097345352172852, -0.2794700562953949, 0.0068278685212135315, 0.024146711453795433, -0.4309054911136627, -0.3235418498516083, 0.46949589252471924, 0.005008740350604057, -0.3979980945587158, 0.9101967811584473, 0.055520471185445786, 0.9342193007469177, -0.3728455901145935, 0.05241037905216217, -0.2713935077190399, 0.29253697395324707, -0.44913700222969055, -0.8206467032432556, 0.28181958198547363, -0.2644726634025574, -0.003925347235053778, 0.025019768625497818, 0.6898769736289978, -0.4528106451034546, -0.5365015268325806, 0.26530808210372925, 0.29558292031288147, 0.5114727020263672, 0.06273342669010162, -1.2462807893753052, 0.1663207709789276, 0.0821463093161583, -0.792671799659729, 0.26048946380615234, 0.41592711210250854, 0.1497327983379364, 0.7537917494773865, 0.48002302646636963, -0.10476039350032806, 0.17749643325805664, -0.1591789573431015, 0.8181360363960266, -0.4046124815940857, -0.2785790264606476, -0.8342694044113159, 0.6628093123435974, -0.10091332346200943, -0.5793063640594482, 0.36674967408180237, 0.5870704650878906, 0.807137131690979, 0.018501106649637222, 0.3730136752128601, -0.34419265389442444, -0.10576124489307404, -0.3521633744239807, 0.8370907306671143, -0.8393961787223816, -0.06503105908632278, -0.045772768557071686, -0.7270744442939758, -0.34992021322250366, 0.6845005750656128, -0.2128777801990509, 0.5028067827224731, 0.5220603942871094, 1.0761574506759644, -0.3806544840335846, -0.3661867082118988, 0.21386820077896118, 0.2145063579082489, 0.19013355672359467, 0.4786384105682373, 0.2792696952819824, -0.8505938053131104, 0.4876105785369873, -0.7267208695411682, -0.21263393759727478, -0.20702233910560608, -0.6925723552703857, -0.9050773978233337, -0.8534115552902222, -0.6425057649612427, -0.7070627212524414, -0.27949169278144836, 0.9913619160652161, 1.0870962142944336, -0.6647197604179382, -0.1459743082523346, -0.01725926250219345, 0.1995062530040741, -0.2252654731273651, -0.24951642751693726, 0.7732436060905457, -0.23160392045974731, -0.7523786425590515, -0.4254346489906311, -0.07996945828199387, 0.3026607632637024, -0.012525984086096287, -0.1969131976366043, -0.14468790590763092, -0.3853718936443329, 0.1944006383419037, 0.20180854201316833, -0.6300563812255859, -0.15819954872131348, -0.3055306077003479, -0.231624037027359, 0.3956260085105896, 0.49640950560569763, -0.5020629167556763, 0.34617313742637634, 0.4977436363697052, 0.3985937833786011, 0.8511978387832642, -0.4504677653312683, -0.030137591063976288, -0.7795959711074829, 0.6169512867927551, -0.1011609137058258, 0.49814140796661377, 0.4789898991584778, -0.3827205300331116, 0.6820335984230042, 0.37951624393463135, -0.4704436659812927, -0.8710872530937195, -0.1673405021429062, -1.0846744775772095, -0.1340564489364624, 0.9529997706413269, -0.4919109046459198, -0.515703022480011, 0.5809207558631897, 0.06662610918283463, 0.7273773550987244, -0.17291951179504395, 0.41268131136894226, 0.2322780191898346, -0.12498331815004349, -0.6248710751533508, -0.5977550745010376, 0.4338964819908142, 0.1906963586807251, -0.576879620552063, -0.36711475253105164, -0.05584632605314255, 0.7511472702026367, 0.17645813524723053, 0.45840349793434143, -0.06428611278533936, 0.15395347774028778, 0.15051411092281342, 0.5029709339141846, -0.5508562922477722, -0.012977244332432747, -0.3847062289714813, 0.14658281207084656, -0.06891243159770966, -0.5718938708305359 ]
wenge-research/yayi-13b-llama2
wenge-research
2023-09-13T02:24:34Z
7,715
6
transformers
[ "transformers", "pytorch", "llama", "text-generation", "yayi", "zh", "en", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-07-21T10:10:40Z
--- language: - zh - en pipeline_tag: text-generation tags: - yayi --- # 雅意大模型 ## 介绍 [雅意大模型](https://www.wenge.com/yayi/index.html)在百万级人工构造的高质量领域数据上进行指令微调得到,训练数据覆盖媒体宣传、舆情分析、公共安全、金融风控、城市治理等五大领域,上百种自然语言指令任务。雅意大模型从预训练初始化权重到领域模型的迭代过程中,我们逐步增强了它的中文基础能力和领域分析能力,并增加了多轮对话和部分插件能力。同时,经过数百名用户内测过程中持续不断的人工反馈优化,我们进一步提升了模型性能和安全性。 通过雅意大模型的开源为促进中文预训练大模型开源社区的发展,贡献自己的一份力量,通过开源,与每一位合作伙伴共建雅意大模型生态。 *News: 🔥 雅意大模型已开源基于 LLaMA 2 的中文优化模型版本,探索适用于中文多领域任务的最新实践。* ## 模型地址 | 模型名称 | 🤗HF模型标识 | 下载地址 | | --------- | --------- | --------- | | YaYi-7B | wenge-research/yayi-7b | [模型下载](https://huggingface.co/wenge-research/yayi-7b) | | YaYi-7B-Llama2 | wenge-research/yayi-7b-llama2 | [模型下载](https://huggingface.co/wenge-research/yayi-7b-llama2) | | YaYi-13B-Llama2 | wenge-research/yayi-13b-llama2 | [模型下载](https://huggingface.co/wenge-research/yayi-13b-llama2) | | YaYi-70B-Llama2 | wenge-research/yayi-70b-llama2 | [模型下载](https://huggingface.co/wenge-research/yayi-70b-llama2) | 详情请参考我们的 [💻Github Repo](https://github.com/wenge-research/YaYi)。 ## 运行方式 ```python import torch from transformers import LlamaForCausalLM, LlamaTokenizer, GenerationConfig from transformers import StoppingCriteria, StoppingCriteriaList pretrained_model_name_or_path = "wenge-research/yayi-13b-llama2" tokenizer = LlamaTokenizer.from_pretrained(pretrained_model_name_or_path) model = LlamaForCausalLM.from_pretrained(pretrained_model_name_or_path, device_map="auto", torch_dtype=torch.bfloat16, trust_remote_code=False) # Define the stopping criteria class KeywordsStoppingCriteria(StoppingCriteria): def __init__(self, keywords_ids:list): self.keywords = keywords_ids def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs) -> bool: if input_ids[0][-1] in self.keywords: return True return False stop_words = ["<|End|>", "<|YaYi|>", "<|Human|>", "</s>"] stop_ids = [tokenizer.encode(w)[-1] for w in stop_words] stop_criteria = KeywordsStoppingCriteria(stop_ids) # inference prompt = "你是谁?" formatted_prompt = f"""<|System|>: You are a helpful, respectful and honest assistant named YaYi developed by Beijing Wenge Technology Co.,Ltd. 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.\n\nIf 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|>: {prompt} <|YaYi|>: """ inputs = tokenizer(formatted_prompt, return_tensors="pt").to(model.device) eos_token_id = tokenizer("<|End|>").input_ids[0] generation_config = GenerationConfig( eos_token_id=eos_token_id, pad_token_id=eos_token_id, do_sample=True, max_new_tokens=256, temperature=0.3, repetition_penalty=1.1, no_repeat_ngram_size=0 ) response = model.generate(**inputs, generation_config=generation_config, stopping_criteria=StoppingCriteriaList([stop_criteria])) response = [response[0][len(inputs.input_ids[0]):]] response_str = tokenizer.batch_decode(response, skip_special_tokens=False, clean_up_tokenization_spaces=False)[0] print(response_str) ``` --- # YaYi ## Introduction [YaYi](https://www.wenge.com/yayi/index.html) was fine-tuned on millions of artificially constructed high-quality domain data. This training data covers five key domains: media publicity, public opinion analysis, public safety, financial risk control, and urban governance, encompassing over a hundred natural language instruction tasks. Throughout the iterative development process of the YaYi, starting from pre-training initialization weights and progressing to domain-specific model, we have steadily enhanced its foundational Chinese language capabilities and domain analysis capabilities. We've also introduced multi-turn conversation enhancements and integrated various plug-in capabilities. Furthermore, through continuous manual feedback and optimization from hundreds of users during the internal testing phase, we've meticulously refined the model's performance and security. By open-sourcing the YaYi model, we will contribute our own efforts to the development of the Chinese pre-trained large language model open-source community. Through this open-source initiative, we seek to collaborate with every partner to build the YaYi model ecosystem together. *News: 🔥 YaYi has open sourced the Chinese optimization model version based on LLaMA 2 to explore the latest practices suitable for Chinese multi-domain tasks.* ## Model download | Model | 🤗HF Model Name | Download Links | | --------- | --------- | --------- | | YaYi-7B | wenge-research/yayi-7b | [Download](https://huggingface.co/wenge-research/yayi-7b) | | YaYi-7B-Llama2 | wenge-research/yayi-7b-llama2 | [Download](https://huggingface.co/wenge-research/yayi-7b-llama2) | | YaYi-13B-Llama2 | wenge-research/yayi-13b-llama2 | [Download](https://huggingface.co/wenge-research/yayi-13b-llama2) | | YaYi-70B-Llama2 | wenge-research/yayi-70b-llama2 | [Download](https://huggingface.co/wenge-research/yayi-70b-llama2) | For more details, please refer to our [💻Github Repo](https://github.com/wenge-research/YaYi)。 ## Run ```python import torch from transformers import LlamaForCausalLM, LlamaTokenizer, GenerationConfig from transformers import StoppingCriteria, StoppingCriteriaList pretrained_model_name_or_path = "wenge-research/yayi-13b-llama2" tokenizer = LlamaTokenizer.from_pretrained(pretrained_model_name_or_path) model = LlamaForCausalLM.from_pretrained(pretrained_model_name_or_path, device_map="auto", torch_dtype=torch.bfloat16, trust_remote_code=False) # Define the stopping criteria class KeywordsStoppingCriteria(StoppingCriteria): def __init__(self, keywords_ids:list): self.keywords = keywords_ids def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs) -> bool: if input_ids[0][-1] in self.keywords: return True return False stop_words = ["<|End|>", "<|YaYi|>", "<|Human|>", "</s>"] stop_ids = [tokenizer.encode(w)[-1] for w in stop_words] stop_criteria = KeywordsStoppingCriteria(stop_ids) # inference prompt = "你是谁?" formatted_prompt = f"""<|System|>: You are a helpful, respectful and honest assistant named YaYi developed by Beijing Wenge Technology Co.,Ltd. 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.\n\nIf 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|>: {prompt} <|YaYi|>: """ inputs = tokenizer(formatted_prompt, return_tensors="pt").to(model.device) eos_token_id = tokenizer("<|End|>").input_ids[0] generation_config = GenerationConfig( eos_token_id=eos_token_id, pad_token_id=eos_token_id, do_sample=True, max_new_tokens=256, temperature=0.3, repetition_penalty=1.1, no_repeat_ngram_size=0 ) response = model.generate(**inputs, generation_config=generation_config, stopping_criteria=StoppingCriteriaList([stop_criteria])) response = [response[0][len(inputs.input_ids[0]):]] response_str = tokenizer.batch_decode(response, skip_special_tokens=False, clean_up_tokenization_spaces=False)[0] print(response_str) ```
[ -0.46730872988700867, -0.815892219543457, 0.2729969918727875, 0.332783043384552, -0.34041735529899597, -0.27436497807502747, -0.29343700408935547, -0.5365288257598877, 0.14064596593379974, 0.24367517232894897, -0.6104902625083923, -0.5784305334091187, -0.5650582313537598, 0.009665028192102909, -0.3528822064399719, 0.9468194246292114, -0.13292591273784637, -0.15499247610569, 0.19345225393772125, -0.10754213482141495, -0.2715100944042206, -0.24141989648342133, -0.6726065278053284, -0.33710286021232605, 0.33888059854507446, 0.0577026903629303, 0.2543192505836487, 0.6007209420204163, 0.3436780273914337, 0.4319671392440796, -0.13709349930286407, 0.24216178059577942, -0.3649120032787323, -0.043665915727615356, 0.12270816415548325, -0.45202091336250305, -0.3979596793651581, -0.017581796273589134, 0.45352739095687866, 0.293368935585022, -0.131618931889534, 0.5179041028022766, 0.14639727771282196, 0.3209191858768463, -0.4592815637588501, 0.13098426163196564, -0.5489340424537659, -0.10916655510663986, -0.11448981612920761, -0.2602803111076355, -0.08862852305173874, -0.41967546939849854, 0.04172748327255249, -0.6315486431121826, 0.319405734539032, 0.011839460581541061, 1.2648791074752808, 0.09896833449602127, -0.15248139202594757, -0.24111808836460114, -0.42412257194519043, 1.0725812911987305, -1.0562880039215088, 0.19653193652629852, 0.5004690885543823, -0.07654519379138947, -0.0996064767241478, -0.9072726368904114, -0.8477481007575989, -0.24498777091503143, -0.18173281848430634, 0.1908913552761078, 0.03484918922185898, -0.023812029510736465, 0.30630019307136536, 0.0609949566423893, -0.5675385594367981, -0.020183155313134193, -0.5431203246116638, -0.1572168469429016, 0.7542248368263245, 0.1409982442855835, 0.49255701899528503, -0.3099672496318817, -0.36844754219055176, -0.12922517955303192, -0.4318940043449402, 0.21267415583133698, 0.1653231978416443, 0.1537458747625351, -0.3621979355812073, 0.47806641459465027, -0.3684941828250885, 0.6129504442214966, 0.10401950031518936, -0.5364075303077698, 0.5607775449752808, -0.49381783604621887, -0.2882406413555145, 0.032524220645427704, 1.0650863647460938, 0.60484778881073, 0.04842803627252579, -0.11219440400600433, -0.15527960658073425, -0.07235363870859146, -0.2228194624185562, -0.8764463663101196, 0.024259142577648163, 0.6256350874900818, -0.5782868266105652, -0.2863880395889282, 0.1140546053647995, -0.745686411857605, 0.07851274311542511, -0.0137347262352705, 0.5770785212516785, -0.5036120414733887, -0.3836257755756378, 0.36072009801864624, -0.2796654999256134, 0.3102166950702667, 0.013322624377906322, -0.8632495999336243, 0.12668843567371368, 0.4206651747226715, 0.9454076886177063, 0.2962300181388855, -0.7034800052642822, -0.08067142963409424, 0.16528385877609253, -0.15906652808189392, 0.451370507478714, 0.005688593722879887, -0.36872291564941406, -0.10370299965143204, 0.1400313526391983, -0.3201156258583069, -0.3370516300201416, 0.575859546661377, -0.4086759388446808, 0.47322824597358704, -0.29621002078056335, -0.21758241951465607, -0.261669784784317, 0.3641270697116852, -0.4449814260005951, 1.2293076515197754, -0.05997561290860176, -1.0958954095840454, 0.210797518491745, -0.664283275604248, -0.4266105890274048, -0.07266704738140106, 0.10774371027946472, -0.466170072555542, -0.0758327841758728, 0.25116947293281555, 0.40134620666503906, -0.37048715353012085, 0.2020324468612671, -0.038139279931783676, -0.3081955909729004, 0.39062124490737915, -0.3575649857521057, 1.1195393800735474, 0.18206875026226044, -0.6376049518585205, 0.15242302417755127, -0.9206631183624268, 0.28108322620391846, 0.5110239386558533, -0.38453036546707153, -0.11310344934463501, 0.08101611584424973, 0.18017397820949554, 0.3506503403186798, 0.607465922832489, -0.6481385827064514, 0.12133660912513733, -0.41997209191322327, 0.7246541380882263, 0.8850721120834351, 0.0028648737352341413, 0.012943466193974018, -0.5349584817886353, 0.3854120075702667, -0.09743610769510269, 0.1835576295852661, -0.07664977014064789, -0.48237836360931396, -1.0943944454193115, -0.1531541794538498, 0.12965448200702667, 0.6006011366844177, -0.6325506567955017, 0.8654191493988037, -0.1605861932039261, -0.6511918306350708, -0.5529866814613342, 0.004539386834949255, 0.41919073462486267, 0.5715938806533813, 0.6007875800132751, 0.014272588305175304, -0.594840943813324, -0.4975716173648834, -0.015721982344985008, -0.27050796151161194, 0.003153311088681221, 0.24168933928012848, 0.7732906341552734, -0.18946146965026855, 0.8088885545730591, -0.6459984183311462, -0.2962965965270996, -0.36020225286483765, 0.17514070868492126, 0.4387274980545044, 0.5135802030563354, 0.5996123552322388, -0.729998767375946, -0.47167882323265076, -0.10975861549377441, -0.7915318012237549, -0.09491968899965286, -0.1486496776342392, -0.1941555291414261, 0.20788700878620148, 0.30455490946769714, -0.8055473566055298, 0.30804213881492615, 0.43919482827186584, -0.37391701340675354, 0.7777959704399109, -0.28481605648994446, -0.016277048736810684, -1.1905267238616943, 0.2412623167037964, 0.09569218754768372, 0.1774997115135193, -0.6465593576431274, 0.10321033746004105, -0.04018348455429077, 0.32071226835250854, -0.5570828318595886, 0.5250228047370911, -0.3658093214035034, 0.39904987812042236, -0.12692414224147797, 0.23254142701625824, -0.02835831418633461, 0.5543785095214844, -0.014517688192427158, 0.6057968139648438, 0.6801767945289612, -0.9327165484428406, 0.37869971990585327, 0.26160502433776855, -0.44186243414878845, 0.20720596611499786, -0.9123371243476868, 0.154494047164917, -0.05046377331018448, 0.056728482246398926, -0.9147632718086243, -0.2589236795902252, 0.4587988555431366, -0.6508821249008179, 0.17853045463562012, 0.2738734185695648, -0.4998542368412018, -0.6815469264984131, -0.5992217659950256, 0.28222060203552246, 0.5333808064460754, -0.6345829367637634, 0.2899196743965149, 0.11339003592729568, 0.09119626134634018, -0.6920218467712402, -0.8215572237968445, -0.23726189136505127, -0.29382121562957764, -0.6021506190299988, 0.5616393089294434, -0.07388844341039658, 0.05762547254562378, 0.15453723073005676, 0.07466072589159012, -0.052010294049978256, 0.10668393224477768, -0.009717064909636974, 0.3424791693687439, 0.023606544360518456, -0.015351081266999245, -0.1382163166999817, -0.07663813978433609, 0.07128463685512543, -0.35546183586120605, 0.9079344272613525, 0.06091967970132828, -0.13783884048461914, -0.7295396327972412, 0.0618639700114727, 0.41878312826156616, -0.36604732275009155, 0.9777657985687256, 0.9033582806587219, -0.46743056178092957, -0.16362451016902924, -0.43129226565361023, -0.0029981834813952446, -0.5561011433601379, 0.6858323812484741, -0.2944392263889313, -0.6650040149688721, 0.4425455331802368, 0.2709810137748718, 0.16520506143569946, 0.6454517245292664, 0.6149379014968872, 0.06607130914926529, 1.0830689668655396, 0.5183535814285278, -0.3014960289001465, 0.40976715087890625, -0.7103074193000793, 0.32660022377967834, -0.961948037147522, -0.5482621788978577, -0.628269612789154, -0.27670085430145264, -0.6523657441139221, -0.2881443500518799, 0.333534836769104, 0.21575050055980682, -0.4772092401981354, 0.479687362909317, -0.8224648833274841, -0.023716935887932777, 0.6850848197937012, 0.19329389929771423, 0.004885639529675245, -0.066768579185009, -0.07242296636104584, 0.20277854800224304, -0.5938594341278076, -0.36749985814094543, 1.0255833864212036, 0.3349299132823944, 0.6560765504837036, -0.023665662854909897, 0.8715029954910278, -0.07499118149280548, 0.1978197693824768, -0.6452252268791199, 0.7549891471862793, 0.2464192509651184, -0.6696193218231201, -0.43786853551864624, -0.4719999432563782, -1.0241776704788208, 0.3024350106716156, -0.010588453151285648, -1.2273868322372437, 0.02204826846718788, -0.08831517398357391, -0.3874640464782715, 0.46003809571266174, -0.4310712516307831, 0.636025607585907, -0.5997680425643921, -0.4661270081996918, -0.10868234187364578, -0.38435885310173035, 0.41377755999565125, 0.015206740237772465, 0.2187134176492691, -0.02600841410458088, -0.023414695635437965, 1.2354674339294434, -0.6705676317214966, 0.7012665867805481, -0.3086322247982025, 0.02314259670674801, 0.5734158158302307, -0.4215407073497772, 0.36586540937423706, -0.15139177441596985, -0.09362313151359558, 0.26685425639152527, 0.18128743767738342, -0.3413909673690796, -0.22619210183620453, 0.721394956111908, -0.9679643511772156, -0.5355543494224548, -0.5849454402923584, -0.33371925354003906, 0.14978909492492676, 0.5060326457023621, 0.6678709387779236, 0.15988649427890778, 0.04332274943590164, 0.00405788654461503, 0.35242289304733276, -0.5241370797157288, 0.7244261503219604, 0.18275612592697144, -0.12554043531417847, -0.6428829431533813, 1.028010368347168, 0.26489201188087463, 0.0740298479795456, 0.20409156382083893, 0.3125242590904236, -0.4258950650691986, -0.5641680955886841, -0.34925153851509094, 0.48073410987854004, -0.45545563101768494, -0.3156740665435791, -0.7278323173522949, -0.36290207505226135, -0.6046978235244751, 0.02210860513150692, -0.19986817240715027, -0.07620879262685776, -0.38985586166381836, -0.12034927308559418, 0.41613996028900146, 0.5495608448982239, -0.1969950795173645, 0.3676530718803406, -0.702357292175293, 0.6390933394432068, 0.15931843221187592, 0.21801340579986572, 0.26015323400497437, -0.6322469115257263, -0.4390290379524231, 0.12061432749032974, -0.5117810368537903, -0.852982223033905, 0.6490501761436462, 0.06602851301431656, 0.6224690675735474, 0.6431956887245178, 0.0990574061870575, 0.8086957335472107, -0.17641177773475647, 1.0112152099609375, 0.4594646394252777, -1.1483161449432373, 0.449812114238739, -0.10800697654485703, 0.08265438675880432, 0.3083876967430115, 0.3738604485988617, -0.6943681240081787, -0.038725923746824265, -0.5330120921134949, -1.099366545677185, 0.9315187931060791, 0.18649186193943024, 0.07654985040426254, -0.058509472757577896, 0.23684586584568024, -0.26542767882347107, 0.22034108638763428, -0.9356743097305298, -0.4889084994792938, -0.2547333240509033, -0.2665148973464966, 0.1347576379776001, -0.3282172381877899, -0.05810371786355972, -0.4294578731060028, 0.8438182473182678, 0.05731567367911339, 0.5833998322486877, 0.4126456081867218, 0.0646277517080307, -0.03698734566569328, 0.12599578499794006, 0.5273311734199524, 0.5191729068756104, -0.25625333189964294, -0.12019525468349457, 0.3708609342575073, -0.6110169887542725, 0.1836656928062439, 0.19557391107082367, -0.49707910418510437, -0.07906793057918549, 0.60138338804245, 0.7998478412628174, -0.15307548642158508, -0.48315075039863586, 0.2669699788093567, -0.01026507280766964, -0.44504931569099426, -0.3443531394004822, 0.1282932311296463, 0.24017517268657684, 0.15303635597229004, 0.4268549084663391, -0.24788343906402588, -0.17168037593364716, -0.5151782631874084, -0.12439753860235214, 0.5203364491462708, 0.06119931489229202, -0.26581570506095886, 0.8661460280418396, 0.07845578342676163, -0.38027527928352356, 0.526401698589325, -0.36227744817733765, -0.8674039244651794, 0.8923855423927307, 0.6942412853240967, 0.9088915586471558, -0.0832749456167221, 0.1628519743680954, 0.7902922034263611, 0.38950881361961365, -0.22723206877708435, 0.4946640729904175, -0.14378035068511963, -0.8253223896026611, -0.2128661423921585, -0.7561063766479492, 0.01883709244430065, 0.44075337052345276, -0.7026098370552063, 0.26512548327445984, -0.4984667897224426, -0.302937388420105, -0.3301001787185669, 0.36691659688949585, -0.7290377020835876, 0.49257755279541016, 0.01335486676543951, 0.9104892611503601, -0.6857593059539795, 0.8439262509346008, 0.5564306378364563, -0.5479689240455627, -0.9386350512504578, 0.27605152130126953, -0.37342897057533264, -0.7896597385406494, 0.5913488268852234, 0.471670538187027, -0.20494844019412994, 0.09229027479887009, -0.7715465426445007, -1.0710716247558594, 1.4772664308547974, -0.09145142138004303, -0.5224887728691101, -0.10695445537567139, 0.1399841010570526, 0.5497974157333374, -0.01289373729377985, 0.37657326459884644, 0.5763344764709473, 0.6727445721626282, -0.09520707279443741, -0.9159138798713684, 0.2831723392009735, -0.2446667104959488, -0.09085103869438171, -0.09641749411821365, -1.063893437385559, 1.0730594396591187, -0.3833494782447815, -0.33519312739372253, 0.3984840214252472, 0.5542653203010559, 0.5225033164024353, 0.4940074384212494, 0.3923899233341217, 0.7545585036277771, 0.7841901779174805, -0.10078094154596329, 0.8812633156776428, -0.5986329317092896, 0.7233889698982239, 0.6421425938606262, -0.08541592210531235, 0.7447177767753601, 0.37736445665359497, -0.48746123909950256, 0.40810874104499817, 0.6940877437591553, -0.10432848334312439, 0.6489630341529846, 0.15500092506408691, -0.34564679861068726, 0.093849316239357, -0.10891702026128769, -0.623310387134552, 0.39296817779541016, 0.2927950620651245, -0.3018193542957306, 0.012105809524655342, -0.12996114790439606, 0.1506374329328537, -0.31113967299461365, -0.16359122097492218, 0.3631187379360199, 0.029343903064727783, -0.6014004945755005, 0.8597301840782166, 0.48018935322761536, 1.1257991790771484, -0.7733546495437622, 0.17376384139060974, 0.010019958950579166, 0.17285466194152832, -0.3534403443336487, -0.46648356318473816, -0.06655742973089218, 0.0035116299986839294, 0.0501670241355896, 0.07222980260848999, 0.6434893012046814, -0.37938830256462097, -0.6071897149085999, 0.5329478979110718, 0.2682361304759979, 0.19905109703540802, 0.12006396800279617, -0.9049934148788452, 0.0945233553647995, 0.16825026273727417, -0.7007641196250916, 0.1613195389509201, 0.32108309864997864, 0.26227375864982605, 0.7081997394561768, 0.8058099150657654, 0.37746909260749817, 0.17155323922634125, -0.20855975151062012, 0.9710313081741333, -0.923387885093689, -0.3770749270915985, -0.906467854976654, 0.5161251425743103, -0.08522800356149673, -0.565563440322876, 0.8496631383895874, 0.4497264325618744, 1.0622735023498535, 0.06513670831918716, 1.0791698694229126, -0.5443316102027893, 0.3458448350429535, -0.5559313297271729, 0.8305171132087708, -0.6057175397872925, 0.04937282204627991, -0.1636761724948883, -0.6528217196464539, -0.11688248068094254, 0.8992816209793091, -0.31549569964408875, 0.37232813239097595, 0.6647414565086365, 0.9585137963294983, 0.13160882890224457, -0.2976088225841522, 0.16393624246120453, 0.3266782760620117, 0.3734252452850342, 0.7686339020729065, 0.5794017314910889, -0.7105655074119568, 0.5132737755775452, -0.6837455034255981, -0.19918693602085114, -0.19812160730361938, -0.6382123231887817, -0.9664170145988464, -0.4535316526889801, -0.22548778355121613, -0.5821785926818848, -0.16196826100349426, 0.9963182210922241, 0.618697464466095, -0.7833174467086792, -0.22403204441070557, -0.19516272842884064, 0.1284412294626236, -0.3931345045566559, -0.2876158356666565, 0.7407745122909546, -0.16107825934886932, -0.9267637729644775, 0.0823272317647934, -0.07688718289136887, -0.03665841743350029, -0.3179280757904053, -0.24641598761081696, -0.34380221366882324, 0.1069110855460167, 0.47820448875427246, 0.3884706199169159, -0.6493464112281799, -0.15876339375972748, 0.04564046114683151, -0.19352856278419495, -0.08708329498767853, 0.3668106496334076, -0.56097811460495, 0.2626385986804962, 0.5377700924873352, 0.25171706080436707, 0.5164867043495178, 0.023255864158272743, 0.052005745470523834, -0.3025658428668976, 0.27862849831581116, -0.0471264012157917, 0.40966925024986267, 0.1821809858083725, -0.36798331141471863, 0.2822875678539276, 0.45198869705200195, -0.5661677122116089, -0.7731961011886597, 0.008089401759207249, -0.9322813749313354, -0.2494284063577652, 1.1984907388687134, -0.2213277518749237, -0.45396485924720764, 0.09336458891630173, -0.40462958812713623, 0.624932050704956, -0.31504300236701965, 0.9360913634300232, 0.47300243377685547, -0.1471116989850998, -0.07590678334236145, -0.5589272975921631, 0.2073831409215927, 0.4062446653842926, -0.7209108471870422, -0.2700974643230438, 0.11581827700138092, 0.39300766587257385, 0.32527148723602295, 0.7392047643661499, 0.07864316552877426, 0.11262267082929611, 0.07279952615499496, 0.23218509554862976, -0.212478905916214, -0.08472799509763718, -0.1451098471879959, 0.06421651691198349, 0.02254106104373932, -0.6962496638298035 ]
marefa-nlp/marefa-ner
marefa-nlp
2021-12-04T05:21:57Z
7,709
14
transformers
[ "transformers", "pytorch", "xlm-roberta", "token-classification", "ar", "dataset:Marefa-NER", "autotrain_compatible", "endpoints_compatible", "region:us" ]
token-classification
2022-03-02T23:29:05Z
--- language: ar datasets: - Marefa-NER widget: - text: "في استاد القاهرة، بدأ حفل افتتاح بطولة كأس الأمم الأفريقية بحضور رئيس الجمهورية و رئيس الاتحاد الدولي لكرة القدم" --- # Tebyan تبيـان ## Marefa Arabic Named Entity Recognition Model ## نموذج المعرفة لتصنيف أجزاء النص <p align="center"> <img src="https://huggingface.co/marefa-nlp/marefa-ner/resolve/main/assets/marefa-tebyan-banner.png" alt="Marfa Arabic NER Model" width="600"/> </p? --------- **Version**: 1.3 **Last Update:** 3-12-2021 ## Model description **Marefa-NER** is a Large Arabic Named Entity Recognition (NER) model built on a completely new dataset and targets to extract up to 9 different types of entities ``` Person, Location, Organization, Nationality, Job, Product, Event, Time, Art-Work ``` نموذج المعرفة لتصنيف أجزاء النص. نموذج جديد كليا من حيث البيانات المستخدمة في تدريب النموذج. كذلك يستهدف النموذج تصنيف حتى 9 أنواع مختلفة من أجزاء النص ``` شخص - مكان - منظمة - جنسية - وظيفة - منتج - حدث - توقيت - عمل إبداعي ``` ## How to use كيف تستخدم النموذج *You can test the model quickly by checking this [Colab notebook](https://colab.research.google.com/drive/1OGp9Wgm-oBM5BBhTLx6Qow4dNRSJZ-F5?usp=sharing)* ---- Install the following Python packages `$ pip3 install transformers==4.8.0 nltk==3.5 protobuf==3.15.3 torch==1.9.0 ` > If you are using `Google Colab`, please restart your runtime after installing the packages. ----------- ```python from transformers import AutoTokenizer, AutoModelForTokenClassification import torch import numpy as np import nltk nltk.download('punkt') from nltk.tokenize import word_tokenize custom_labels = ["O", "B-job", "I-job", "B-nationality", "B-person", "I-person", "B-location","B-time", "I-time", "B-event", "I-event", "B-organization", "I-organization", "I-location", "I-nationality", "B-product", "I-product", "B-artwork", "I-artwork"] def _extract_ner(text: str, model: AutoModelForTokenClassification, tokenizer: AutoTokenizer, start_token: str="▁"): tokenized_sentence = tokenizer([text], padding=True, truncation=True, return_tensors="pt") tokenized_sentences = tokenized_sentence['input_ids'].numpy() with torch.no_grad(): output = model(**tokenized_sentence) last_hidden_states = output[0].numpy() label_indices = np.argmax(last_hidden_states[0], axis=1) tokens = tokenizer.convert_ids_to_tokens(tokenized_sentences[0]) special_tags = set(tokenizer.special_tokens_map.values()) grouped_tokens = [] for token, label_idx in zip(tokens, label_indices): if token not in special_tags: if not token.startswith(start_token) and len(token.replace(start_token,"").strip()) > 0: grouped_tokens[-1]["token"] += token else: grouped_tokens.append({"token": token, "label": custom_labels[label_idx]}) # extract entities ents = [] prev_label = "O" for token in grouped_tokens: label = token["label"].replace("I-","").replace("B-","") if token["label"] != "O": if label != prev_label: ents.append({"token": [token["token"]], "label": label}) else: ents[-1]["token"].append(token["token"]) prev_label = label # group tokens ents = [{"token": "".join(rec["token"]).replace(start_token," ").strip(), "label": rec["label"]} for rec in ents ] return ents model_cp = "marefa-nlp/marefa-ner" tokenizer = AutoTokenizer.from_pretrained(model_cp) model = AutoModelForTokenClassification.from_pretrained(model_cp, num_labels=len(custom_labels)) samples = [ "تلقى تعليمه في الكتاب ثم انضم الى الأزهر عام 1873م. تعلم على يد السيد جمال الدين الأفغاني والشيخ محمد عبده", "بعد عودته إلى القاهرة، التحق نجيب الريحاني فرقة جورج أبيض، الذي كان قد ضمَّ - قُبيل ذلك - فرقته إلى فرقة سلامة حجازي . و منها ذاع صيته", "في استاد القاهرة، قام حفل افتتاح بطولة كأس الأمم الأفريقية بحضور رئيس الجمهورية و رئيس الاتحاد الدولي لكرة القدم", "من فضلك أرسل هذا البريد الى صديقي جلال الدين في تمام الساعة الخامسة صباحا في يوم الثلاثاء القادم", "امبارح اتفرجت على مباراة مانشستر يونايتد مع ريال مدريد في غياب الدون كرستيانو رونالدو", "لا تنسى تصحيني الساعة سبعة, و ضيف في الجدول اني احضر مباراة نادي النصر غدا", ] # [optional] samples = [ " ".join(word_tokenize(sample.strip())) for sample in samples if sample.strip() != "" ] for sample in samples: ents = _extract_ner(text=sample, model=model, tokenizer=tokenizer, start_token="▁") print(sample) for ent in ents: print("\t",ent["token"],"==>",ent["label"]) print("========\n") ``` Output ``` تلقى تعليمه في الكتاب ثم انضم الى الأزهر عام 1873م . تعلم على يد السيد جمال الدين الأفغاني والشيخ محمد عبده الأزهر ==> organization عام 1873م ==> time السيد جمال الدين الأفغاني ==> person محمد عبده ==> person ======== بعد عودته إلى القاهرة، التحق نجيب الريحاني فرقة جورج أبيض، الذي كان قد ضمَّ - قُبيل ذلك - فرقته إلى فرقة سلامة حجازي . و منها ذاع صيته القاهرة، ==> location نجيب الريحاني ==> person فرقة جورج أبيض، ==> organization فرقة سلامة حجازي ==> organization ======== في استاد القاهرة، قام حفل افتتاح بطولة كأس الأمم الأفريقية بحضور رئيس الجمهورية و رئيس الاتحاد الدولي لكرة القدم استاد القاهرة، ==> location بطولة كأس الأمم الأفريقية ==> event رئيس الجمهورية ==> job رئيس ==> job الاتحاد الدولي لكرة القدم ==> organization ======== من فضلك أرسل هذا البريد الى صديقي جلال الدين في تمام الساعة الخامسة صباحا في يوم الثلاثاء القادم جلال الدين ==> person الساعة الخامسة صباحا ==> time يوم الثلاثاء القادم ==> time ======== امبارح اتفرجت على مباراة مانشستر يونايتد مع ريال مدريد في غياب الدون كرستيانو رونالدو مانشستر يونايتد ==> organization ريال مدريد ==> organization كرستيانو رونالدو ==> person ======== لا تنسى تصحيني الساعة سبعة , و ضيف في الجدول اني احضر مباراة نادي النصر غدا الساعة سبعة ==> time نادي النصر ==> organization غدا ==> time ======== ``` ## Fine-Tuning Check this [notebook](https://colab.research.google.com/drive/1WUYrnmDFFEItqGMvbyjqZEJJqwU7xQR-?usp=sharing) to fine-tune the NER model ## Evaluation We tested the model agains a test set of 1959 sentences. The results is in the follwing table | type | f1-score | precision | recall | support | |:-------------|-----------:|------------:|---------:|----------:| | person | 0.93298 | 0.931479 | 0.934487 | 4335 | | location | 0.891537 | 0.896926 | 0.886212 | 4939 | | time | 0.873003 | 0.876087 | 0.869941 | 1853 | | nationality | 0.871246 | 0.843153 | 0.901277 | 2350 | | job | 0.837656 | 0.79912 | 0.880097 | 2477 | | organization | 0.781317 | 0.773328 | 0.789474 | 2299 | | event | 0.686695 | 0.733945 | 0.645161 | 744 | | artwork | 0.653552 | 0.678005 | 0.630802 | 474 | | product | 0.625483 | 0.553531 | 0.718935 | 338 | | **weighted avg** | 0.859008 | 0.852365 | 0.86703 | 19809 | | **micro avg** | 0.858771 | 0.850669 | 0.86703 | 19809 | | **macro avg** | 0.79483 | 0.787286 | 0.806265 | 19809 | ## Acknowledgment شكر و تقدير قام بإعداد البيانات التي تم تدريب النموذج عليها, مجموعة من المتطوعين الذين قضوا ساعات يقومون بتنقيح البيانات و مراجعتها - على سيد عبد الحفيظ - إشراف - نرمين محمد عطيه - صلاح خيرالله - احمد علي عبدربه - عمر بن عبد العزيز سليمان - محمد ابراهيم الجمال - عبدالرحمن سلامه خلف - إبراهيم كمال محمد سليمان - حسن مصطفى حسن - أحمد فتحي سيد - عثمان مندو - عارف الشريف - أميرة محمد محمود - حسن سعيد حسن - عبد العزيز علي البغدادي - واثق عبدالملك الشويطر - عمرو رمضان عقل الحفناوي - حسام الدين أحمد على - أسامه أحمد محمد محمد - حاتم محمد المفتي - عبد الله دردير - أدهم البغدادي - أحمد صبري - عبدالوهاب محمد محمد - أحمد محمد عوض
[ -0.39021170139312744, -0.8187435269355774, 0.21869759261608124, 0.35364675521850586, -0.36814504861831665, -0.12259680777788162, -0.019727202132344246, -0.3755101263523102, 0.669011652469635, 0.30494552850723267, -0.3989986181259155, -0.8048587441444397, -0.7434465885162354, 0.3284352719783783, -0.4946582019329071, 0.9587526917457581, 0.08458553999662399, -0.05316151678562164, 0.21039462089538574, -0.07160280644893646, -0.4532989263534546, -0.574442982673645, -0.9180774092674255, -0.1540602594614029, 0.32879069447517395, 0.23027867078781128, 0.6690235137939453, 0.25727391242980957, 0.5066477656364441, 0.479964017868042, -0.0464925579726696, 0.23957973718643188, -0.15899518132209778, -0.13077208399772644, 0.03078787587583065, -0.48940494656562805, -0.32995134592056274, -0.04743371158838272, 0.47883880138397217, 0.5630276203155518, -0.21618175506591797, 0.36055517196655273, 0.03313726559281349, 0.6724262237548828, -0.5379276275634766, 0.09480065107345581, -0.3033815622329712, 0.009327266365289688, -0.1654174029827118, -0.1675131916999817, -0.03940563648939133, -0.6869580149650574, -0.07252395153045654, -0.5400016903877258, 0.1855844110250473, 0.20686104893684387, 1.3613494634628296, 0.03473997116088867, -0.3939262926578522, -0.4969029128551483, -0.5181965827941895, 0.9253193140029907, -0.9961857795715332, 0.07302981615066528, 0.5876820683479309, -0.07068181037902832, -0.158193901181221, -0.7431677579879761, -0.8529739379882812, -0.07502464950084686, -0.4748525023460388, 0.20576487481594086, -0.08930991590023041, -0.43294548988342285, 0.186425119638443, 0.38333287835121155, -0.47531798481941223, -0.2754358947277069, -0.3773147165775299, -0.17584003508090973, 0.6943495273590088, 0.3046059012413025, 0.5826354622840881, -0.49393412470817566, -0.3639824390411377, -0.20802611112594604, -0.21483662724494934, 0.36136364936828613, 0.3096080720424652, 0.1009855791926384, -0.4108831584453583, 0.621185302734375, -0.18143704533576965, 0.7279801368713379, 0.2646343410015106, -0.2309921681880951, 0.587570071220398, -0.37914785742759705, -0.5088919997215271, 0.05761139094829559, 1.1091363430023193, 0.6517022252082825, 0.01574954017996788, 0.038983650505542755, -0.15479010343551636, 0.08845163136720657, 0.025557182729244232, -0.7979915738105774, -0.13767807185649872, -0.01507615577429533, -0.5582658052444458, -0.43304041028022766, 0.19040226936340332, -1.1069717407226562, -0.1748071312904358, 0.17722778022289276, 0.47394683957099915, -0.39949551224708557, -0.39239683747291565, 0.11392989754676819, -0.0013441939372569323, 0.15823867917060852, 0.22288832068443298, -1.051268219947815, 0.39541056752204895, 0.3234519362449646, 0.8248972296714783, 0.1829870492219925, -0.16013731062412262, -0.010711126029491425, 0.189309760928154, -0.4081163704395294, 0.49207672476768494, -0.3025268614292145, -0.46977224946022034, -0.27729228138923645, 0.15814393758773804, -0.5298088788986206, -0.4851846694946289, 0.39384979009628296, -0.4215530753135681, 0.5814383029937744, -0.12140550464391708, -0.5473986864089966, -0.41714656352996826, 0.34545812010765076, -0.6222262382507324, 1.3594361543655396, 0.0967806950211525, -0.9550355076789856, 0.19847111403942108, -0.7542415857315063, -0.3823382258415222, -0.050990521907806396, 0.0335138775408268, -0.492488831281662, 0.011599743738770485, 0.4614991843700409, 0.4492191970348358, -0.1507568359375, 0.28757479786872864, 0.013096215203404427, -0.17263935506343842, 0.3200494647026062, -0.2102455496788025, 1.1419581174850464, 0.15467220544815063, -0.6799142956733704, -0.0334390252828598, -1.0302557945251465, 0.2997843623161316, 0.36712726950645447, -0.3678569495677948, -0.25239700078964233, -0.5137424468994141, 0.12342391163110733, 0.44359657168388367, 0.4806405007839203, -0.486226886510849, 0.19207477569580078, -0.8936387300491333, 0.2906685769557953, 0.9638707041740417, 0.2232254296541214, 0.31221237778663635, -0.5070897936820984, 0.5107808113098145, 0.02882569469511509, -0.010069949552416801, 0.21916890144348145, -0.4089641869068146, -1.0217024087905884, -0.05771198123693466, 0.2881670594215393, 0.6688987016677856, -0.49489057064056396, 0.6583450436592102, -0.11262262612581253, -0.6776228547096252, -0.6285842657089233, 0.07791096717119217, 0.473623126745224, 0.7116414904594421, 0.45887842774391174, -0.1913316249847412, -0.798305332660675, -0.6772098541259766, -0.4152102768421173, -0.24116291105747223, 0.15934672951698303, 0.3491503596305847, 0.8766768574714661, -0.2094869762659073, 0.7928617596626282, -0.6886018514633179, -0.3403567373752594, -0.3291955888271332, 0.03319414705038071, 0.7485121488571167, 0.6841866970062256, 0.6996500492095947, -0.9574660062789917, -0.7916271090507507, -0.08119441568851471, -0.8700754046440125, 0.24597197771072388, -0.06269688904285431, -0.24521373212337494, 0.5075687766075134, 0.37918341159820557, -0.7022897601127625, 0.7758283615112305, 0.395887553691864, -0.786054790019989, 0.6352233290672302, -0.32749059796333313, 0.19015133380889893, -1.382796049118042, 0.29896384477615356, -0.26443377137184143, 0.13545089960098267, -0.5382732152938843, -0.11978933215141296, -0.20488989353179932, 0.18647471070289612, -0.2831990718841553, 0.9031258225440979, -0.6102393865585327, 0.39971789717674255, -0.021973080933094025, -0.041530463844537735, -0.01991521194577217, 0.5101116299629211, -0.15693028271198273, 0.6661666631698608, 0.4821421205997467, -0.6312218308448792, 0.20801202952861786, 0.40612804889678955, -0.4929291307926178, 0.1994059532880783, -0.7063693404197693, 0.11366396397352219, -0.09209368377923965, 0.026976825669407845, -1.1184182167053223, -0.39751124382019043, 0.5520654916763306, -0.7716691493988037, 0.25827568769454956, 0.18157829344272614, -0.4873427450656891, -0.5089336633682251, -0.24094918370246887, 0.08883832395076752, 0.38802602887153625, -0.30636122822761536, 0.6785976886749268, 0.2035485953092575, -0.08844037353992462, -0.7363210320472717, -0.855576753616333, 0.2619147300720215, -0.23673006892204285, -0.6672314405441284, 0.4108585715293884, -0.1099012941122055, -0.20536670088768005, 0.11260499060153961, -0.10645570605993271, -0.23330608010292053, 0.15827907621860504, 0.3936217129230499, 0.33205536007881165, -0.16748996078968048, 0.06082744523882866, -0.4681524336338043, -0.13415014743804932, 0.061782509088516235, 0.24703538417816162, 0.8142744898796082, -0.42518940567970276, -0.2917962372303009, -0.6802763342857361, 0.37200984358787537, 0.41018253564834595, -0.14063863456249237, 1.2777893543243408, 0.8300537467002869, -0.40142545104026794, 0.20596612989902496, -0.6727216839790344, -0.09590145200490952, -0.5356833338737488, 0.3832966983318329, -0.33062803745269775, -0.6943336129188538, 0.5983427166938782, -0.019827675074338913, -0.24229396879673004, 0.9302910566329956, 0.6526445150375366, -0.14169810712337494, 1.042358160018921, 0.6953621506690979, -0.23011311888694763, 0.2940517067909241, -0.6892707347869873, 0.5159524083137512, -0.8006847500801086, -0.6490474939346313, -0.46030178666114807, -0.4198216497898102, -0.722420871257782, -0.16665834188461304, 0.23412249982357025, 0.04323795437812805, -0.2441379874944687, 0.39805176854133606, -0.8583337664604187, 0.2101086974143982, 0.4420228600502014, 0.16855652630329132, -0.06587422639131546, -0.22601456940174103, -0.30200159549713135, -0.1227501779794693, -0.5964073538780212, -0.5632644295692444, 1.0943766832351685, -0.0067757777869701385, 0.5304362177848816, 0.23602606356143951, 0.9428783655166626, 0.09477421641349792, 0.315572589635849, -0.5332906246185303, 0.7211083173751831, 0.08660019189119339, -0.8407340049743652, -0.4357534945011139, -0.15567544102668762, -1.198163390159607, 0.3922112286090851, -0.1731310784816742, -1.0145434141159058, 0.4172991216182709, -0.12667328119277954, -0.4739663898944855, 0.4412075877189636, -0.520798921585083, 0.888828694820404, -0.19390663504600525, -0.3785616457462311, 0.059862975031137466, -0.92811119556427, 0.2871553897857666, 0.17387473583221436, 0.43866705894470215, -0.1736428588628769, -0.0322553925216198, 1.1504933834075928, -0.8083949089050293, 0.8433486819267273, -0.056452345103025436, 0.19076292216777802, 0.3936963677406311, 0.03414713963866234, 0.5850215554237366, 0.16266246140003204, -0.18363156914710999, -0.07791902869939804, -0.1542009860277176, -0.3887234926223755, -0.3810472786426544, 0.9166486859321594, -0.9480774402618408, -0.5954970717430115, -0.8047179579734802, -0.33455607295036316, 0.18764477968215942, 0.6023654937744141, 0.560117244720459, 0.45577502250671387, -0.002064170315861702, 0.27968963980674744, 0.41239309310913086, -0.2627089023590088, 0.7660459280014038, 0.2978677451610565, -0.039154961705207825, -0.5878286957740784, 0.8361361622810364, 0.18340548872947693, -0.15483032166957855, 0.1699475198984146, 0.1274048537015915, -0.3327670991420746, -0.29713717103004456, -0.06507913768291473, 0.3739529848098755, -0.6541396379470825, -0.3403395414352417, -1.0312719345092773, -0.1384064257144928, -0.8112058043479919, -0.27396127581596375, -0.22112438082695007, -0.3969839811325073, -0.48319974541664124, -0.34019580483436584, 0.5583657622337341, 0.7438849210739136, -0.11766386032104492, 0.3700144588947296, -0.5054848194122314, 0.35026535391807556, 0.1466042846441269, 0.1222483292222023, 0.23424017429351807, -0.435502290725708, -0.31528759002685547, -0.06382177025079727, -0.2731260061264038, -1.176401972770691, 0.9903440475463867, 0.08033010363578796, 0.3530206084251404, 0.3107454180717468, -0.03664781153202057, 0.9164391160011292, -0.1392105370759964, 0.9265411496162415, 0.28021395206451416, -0.9153838753700256, 0.7775590419769287, -0.1510530263185501, 0.28875988721847534, 0.7358447909355164, 0.5261799693107605, -0.8147003054618835, -0.28221213817596436, -0.9821175336837769, -1.2853636741638184, 0.7947396039962769, 0.35829609632492065, 0.20592299103736877, -0.3247542083263397, 0.12915971875190735, -0.2506515383720398, 0.26134350895881653, -0.844802737236023, -0.7402960062026978, -0.047238338738679886, -0.31835252046585083, 0.08279889822006226, -0.463192880153656, -0.07981419563293457, -0.646291196346283, 0.9000514149665833, 0.410704642534256, 0.39684462547302246, 0.4571167826652527, -0.054203130304813385, 0.09066276997327805, 0.3802386224269867, 0.5235157608985901, 0.7581335306167603, -0.19278019666671753, 0.12252137809991837, 0.40754154324531555, -0.6168221831321716, 0.18478690087795258, -0.21990975737571716, -0.4587644338607788, 0.2165214568376541, 0.44452163577079773, 0.7864593863487244, 0.26736101508140564, -0.28934207558631897, 0.6164738535881042, -0.14853833615779877, -0.2290707379579544, -0.7348594665527344, 0.015012271702289581, 0.2557303309440613, -0.11945503950119019, 0.4863683879375458, 0.12873367965221405, 0.06361300498247147, -0.5620481371879578, 0.016672436147928238, 0.364084929227829, -0.279649555683136, -0.019142769277095795, 0.7839439511299133, -0.07041715830564499, -0.3630770146846771, 0.984923243522644, -0.14811092615127563, -0.673263669013977, 0.9040359854698181, 0.6596516966819763, 0.8520169854164124, -0.49760380387306213, 0.14142543077468872, 0.9550690054893494, 0.3303945064544678, 0.0943819209933281, 0.5799473524093628, 0.15966451168060303, -0.5023584365844727, -0.05067199468612671, -1.0367968082427979, -0.00974272284656763, 0.33395469188690186, -0.6510975360870361, 0.033895205706357956, -0.6757910251617432, -0.45079144835472107, -0.004091290291398764, 0.14507924020290375, -0.8048382997512817, 0.5116648077964783, -0.024829914793372154, 0.7834308743476868, -0.7842382192611694, 0.7029918432235718, 0.7341930866241455, -0.5875310897827148, -1.266869306564331, -0.05409856513142586, -0.16154511272907257, -0.8476624488830566, 0.9418737888336182, 0.3817388415336609, -0.11025850474834442, 0.06980135291814804, -0.6524337530136108, -1.280194640159607, 1.088011622428894, -0.22984357178211212, -0.31354331970214844, 0.017769228667020798, 0.18823786079883575, 0.5048409104347229, -0.22238796949386597, 0.5320789813995361, 0.3916386365890503, 0.6996096968650818, -0.0658617913722992, -0.9890599846839905, 0.6135348081588745, -0.75983065366745, 0.03007305972278118, 0.1356334537267685, -0.9209242463111877, 1.1137253046035767, -0.2363230437040329, -0.31735125184059143, 0.16792769730091095, 0.7895220518112183, 0.08100789040327072, 0.41899827122688293, 0.4910035729408264, 0.8147752285003662, 0.7574723958969116, -0.18221352994441986, 0.9290845990180969, -0.39152640104293823, 0.5811800360679626, 0.893389880657196, 0.13633793592453003, 0.7503557801246643, 0.496864914894104, -0.42404547333717346, 0.8183825612068176, 0.46714746952056885, -0.38333597779273987, 0.6301561594009399, 0.03874766081571579, -0.4757380783557892, -0.07493246346712112, -0.03404391184449196, -0.5011709332466125, 0.3878226578235626, 0.23263444006443024, -0.5185598731040955, -0.22134454548358917, 0.10024897754192352, 0.3456457257270813, 0.025751516222953796, -0.12906615436077118, 0.7764449715614319, 0.0562974289059639, -0.5765278935432434, 0.8029285073280334, 0.1623399555683136, 0.8901245594024658, -0.5771214962005615, 0.07466600835323334, -0.04551701247692108, 0.2613009512424469, -0.5048314332962036, -0.6952232718467712, 0.4111456274986267, -0.15012003481388092, -0.11872624605894089, -0.08815799653530121, 0.7949316501617432, -0.22850005328655243, -0.6243273615837097, 0.2725835144519806, 0.25620317459106445, 0.17673152685165405, 0.028729360550642014, -0.8462703824043274, -0.2149178385734558, 0.08628366887569427, -0.587984561920166, 0.15810032188892365, 0.26013073325157166, 0.09387337416410446, 0.636370062828064, 0.8658932447433472, 0.09430970996618271, 0.2900449335575104, -0.180091992020607, 0.9110389947891235, -1.080304741859436, -0.5067184567451477, -1.088433861732483, 0.5461564660072327, -0.3182588219642639, -0.4548407793045044, 1.066719651222229, 0.789395272731781, 0.795576274394989, -0.13194239139556885, 0.7025228142738342, -0.4685581624507904, 0.5749411582946777, -0.29076874256134033, 0.8436489701271057, -0.6858412623405457, -0.2609677016735077, -0.3127840459346771, -0.5669082403182983, -0.22924047708511353, 0.7880101203918457, -0.613455057144165, 0.18227960169315338, 0.7845873236656189, 0.944165050983429, 0.18781256675720215, -0.1568814516067505, 0.02034972980618477, 0.48985710740089417, 0.017046354711055756, 0.6594613194465637, 0.6014198064804077, -0.8244871497154236, 0.5659288167953491, -0.5862826704978943, 0.06451097875833511, -0.5077784061431885, -0.6090546250343323, -0.9106323719024658, -0.4990033507347107, -0.309684693813324, -0.5035139322280884, -0.13297542929649353, 0.8747203946113586, 0.3644971251487732, -0.9267822504043579, -0.24667507410049438, 0.06093558296561241, 0.10674181580543518, -0.25055795907974243, -0.376172810792923, 0.9173188805580139, -0.010446587577462196, -0.8045557737350464, 0.19621291756629944, -0.00918765552341938, 0.1824970245361328, 0.2264820784330368, 0.04468005150556564, -0.7082625031471252, 0.07764279842376709, 0.35638588666915894, 0.1709832102060318, -0.7614225745201111, -0.052752938121557236, 0.06414517760276794, -0.5851824283599854, 0.11542928963899612, 0.18740421533584595, -0.5283748507499695, 0.2914618253707886, 0.45959562063217163, 0.28199875354766846, 0.6523322463035583, -0.005788398440927267, 0.0829799622297287, -0.5063635110855103, 0.11928669363260269, 0.3595147132873535, 0.26442304253578186, 0.2185613065958023, -0.748572587966919, 0.6602556705474854, 0.26484251022338867, -0.6340230107307434, -0.8195745348930359, -0.1479736864566803, -1.00062096118927, -0.2815452516078949, 0.8902594447135925, -0.03154996037483215, -0.5336987972259521, -0.002127640647813678, -0.2464151829481125, 0.4861471951007843, -0.4731370210647583, 0.8214836120605469, 0.8509494662284851, -0.16818636655807495, 0.1891695111989975, -0.724488377571106, 0.5042203068733215, 0.708275556564331, -0.677208662033081, -0.35528042912483215, 0.044948041439056396, 0.6502354741096497, 0.2995555102825165, 1.0337940454483032, -0.1341080665588379, 0.20408962666988373, -0.010232973843812943, 0.25109225511550903, 0.03796469420194626, 0.08110301196575165, -0.13351388275623322, 0.03150905668735504, -0.3450445234775543, -0.3929745554924011 ]
chavinlo/alpaca-native
chavinlo
2023-11-17T23:10:27Z
7,700
251
transformers
[ "transformers", "pytorch", "llama", "text-generation", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-03-16T02:37:26Z
# Stanford Alpaca This is a replica of Alpaca by Stanford' tatsu Trained using the original instructions with a minor modification in FSDP mode # Other versions: 13B: https://huggingface.co/chavinlo/alpaca-13b 13B -> GPT4 : https://huggingface.co/chavinlo/gpt4-x-alpaca ## Compute Used Trained on 4xA100s for 6H Donated by redmond.ai NO LORA HAS BEEN USED, this is a natively-finetuned model, hence "alpaca-native" If you are interested on more llama-based models, you can check out my profile or search for other models at https://huggingface.co/models?other=llama This (MIGHT) be a quantized version of this model, but be careful: https://boards.4channel.org/g/thread/92173062#p92182396 CONFIGURATION (default except fsdp): ```shell torchrun --nproc_per_node=4 --master_port=3045 train.py \ --model_name_or_path /workspace/llama-7b-hf \ --data_path ./alpaca_data.json \ --bf16 True \ --output_dir /workspace/output \ --num_train_epochs 3 \ --per_device_train_batch_size 4 \ --per_device_eval_batch_size 4 \ --gradient_accumulation_steps 8 \ --evaluation_strategy "no" \ --save_strategy "steps" \ --save_steps 200 \ --save_total_limit 1 \ --learning_rate 2e-5 \ --weight_decay 0. \ --warmup_ratio 0.03 \ --lr_scheduler_type "cosine" \ --logging_steps 1 \ --fsdp "shard_grad_op auto_wrap" \ --fsdp_transformer_layer_cls_to_wrap 'LLaMADecoderLayer' \ --tf32 True --report_to="wandb" ``` # [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard) Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_chavinlo__alpaca-native) | Metric | Value | |-----------------------|---------------------------| | Avg. | 41.96 | | ARC (25-shot) | 52.3 | | HellaSwag (10-shot) | 77.09 | | MMLU (5-shot) | 41.6 | | TruthfulQA (0-shot) | 37.58 | | Winogrande (5-shot) | 69.46 | | GSM8K (5-shot) | 1.44 | | DROP (3-shot) | 14.23 |
[ -0.3881680965423584, -0.7516161203384399, 0.4125288724899292, 0.4281628429889679, -0.29458802938461304, 0.08421634882688522, -0.053169503808021545, -0.47505518794059753, 0.7766863703727722, 0.3972928524017334, -0.7876917123794556, -0.8267843723297119, -0.680263340473175, -0.15592904388904572, -0.23578202724456787, 1.308255910873413, -0.30896830558776855, -0.11913929879665375, 0.2940290868282318, -0.30411604046821594, -0.35554274916648865, -0.2975098192691803, -0.8949633836746216, -0.5441975593566895, 0.25465816259384155, 0.255644291639328, 0.7322456240653992, 0.6089164018630981, 0.5409188270568848, 0.37751591205596924, -0.17435434460639954, -0.07821276038885117, -0.45225369930267334, -0.5052345395088196, 0.2547301948070526, -0.42939236760139465, -0.9979133009910583, 0.41240736842155457, 0.7317857146263123, 0.4326319098472595, -0.39777517318725586, 0.3968643844127655, -0.14200809597969055, 0.3697695732116699, -0.29379013180732727, 0.3208370804786682, -0.45432114601135254, 0.3210248351097107, -0.16220007836818695, -0.11446858942508698, 0.01116513554006815, -0.4599589705467224, 0.08071606606245041, -0.7627811431884766, 0.37620124220848083, 0.03665218874812126, 0.9919878840446472, 0.25025007128715515, -0.28449174761772156, -0.4157458543777466, -0.33758533000946045, 0.7619144916534424, -0.7338711619377136, 0.2683101296424866, 0.5749043226242065, 0.28171637654304504, -0.21881745755672455, -0.6430022716522217, -0.4233355224132538, -0.2349773496389389, 0.06101033091545105, 0.358245849609375, 0.04163588955998421, -0.05609361454844475, 0.3560735583305359, 0.7499456405639648, -0.5810112953186035, 0.23467446863651276, -0.44098275899887085, -0.16833743453025818, 0.7051137089729309, 0.28011566400527954, 0.028887437656521797, -0.027915243059396744, -0.6888234615325928, -0.3779519498348236, -0.4962036907672882, 0.27777335047721863, 0.2771258056163788, 0.12100593000650406, -0.5608566403388977, 0.5553949475288391, -0.33527669310569763, 0.4524998068809509, -0.17938946187496185, -0.41661152243614197, 0.6582403182983398, -0.15608863532543182, -0.37936556339263916, 0.021432243287563324, 0.8697268962860107, 0.48145607113838196, -0.10716871917247772, 0.025662310421466827, -0.297437459230423, -0.02434317022562027, -0.1320042461156845, -0.8914598226547241, -0.2413226068019867, 0.14853790402412415, -0.40378159284591675, -0.28658658266067505, 0.11585180461406708, -0.4801286458969116, 0.06996375322341919, 0.013865681365132332, 0.4447597563266754, -0.45566460490226746, 0.01874428242444992, 0.22467869520187378, 0.031932055950164795, 0.5124438405036926, 0.27363118529319763, -0.819979190826416, 0.5631067156791687, 0.6097319722175598, 1.0522196292877197, -0.1596924364566803, -0.5731863975524902, -0.0676073282957077, 0.04558654502034187, -0.17051473259925842, 0.44362765550613403, 0.022721607238054276, -0.6825090646743774, -0.43488436937332153, 0.19680358469486237, 0.042246297001838684, -0.4332275092601776, 0.6340836882591248, -0.33203327655792236, 0.20376840233802795, -0.28407418727874756, -0.5466449856758118, -0.15106838941574097, 0.34362027049064636, -0.7575623989105225, 1.3131071329116821, 0.2769371271133423, -0.5220521092414856, 0.3543338179588318, -0.7717373371124268, -0.049251679331064224, -0.15264415740966797, -0.04324932396411896, -0.5631527304649353, -0.24030622839927673, 0.20749901235103607, 0.5105517506599426, -0.24261119961738586, 0.06538479030132294, -0.2519855201244354, -0.7108224630355835, 0.18203841149806976, -0.2745622396469116, 1.0238311290740967, -0.014534804970026016, -0.4023776948451996, 0.062901072204113, -0.9620086550712585, 0.0037845021579414606, 0.48602569103240967, -0.41638627648353577, -0.043078579008579254, -0.5133324861526489, -0.33294740319252014, 0.10928444564342499, 0.5302748084068298, -0.6422513127326965, 0.4284486770629883, -0.137996643781662, 0.37698474526405334, 0.9219269156455994, 0.1369861513376236, 0.15002313256263733, -0.5255485773086548, 0.5177097916603088, -0.1427769958972931, 0.5801244974136353, 0.06355025619268417, -0.8727118372917175, -0.8737560510635376, -0.5312668085098267, -0.1551300436258316, 0.41626009345054626, -0.40186363458633423, 0.4854236841201782, 0.025339333340525627, -0.8384645581245422, -0.7576701641082764, 0.0690513476729393, 0.3435404300689697, 0.6704627275466919, 0.5226328372955322, -0.38276174664497375, -0.32849615812301636, -0.9012395739555359, 0.27287644147872925, -0.06453289836645126, 0.001874662353657186, 0.35570138692855835, 0.7402845025062561, -0.3451670706272125, 0.6914628148078918, -0.7635557055473328, -0.39671018719673157, 0.2386808693408966, 0.15315651893615723, 0.6462951302528381, 0.5189208388328552, 0.7448652386665344, -0.26641517877578735, -0.08590106666088104, -0.20844930410385132, -0.8750628232955933, -0.07392675429582596, 0.11821907758712769, -0.2946283221244812, 0.08976773172616959, 0.006018536165356636, -0.671187162399292, 0.4347912669181824, 0.6438320279121399, -0.4129202663898468, 0.5900648236274719, -0.2483753114938736, 0.29821014404296875, -0.9785001277923584, 0.09928596019744873, 0.02942551113665104, -0.022776585072278976, -0.05249904841184616, 0.1894354373216629, -0.10936471819877625, 0.11583425849676132, -0.5138073563575745, 0.6142048239707947, -0.3188365697860718, -0.2910648286342621, -0.134022518992424, 0.03578381985425949, 0.01927613653242588, 0.7579538226127625, 0.03688965365290642, 0.7671457529067993, 0.26369237899780273, -0.2657090127468109, 0.5890260934829712, 0.36824730038642883, -0.4463399648666382, 0.26543256640434265, -0.8405575752258301, 0.13606499135494232, 0.29759013652801514, 0.47749680280685425, -0.6382127404212952, -0.13334059715270996, 0.38462352752685547, -0.33557653427124023, -0.044956207275390625, 0.06198436766862869, -0.3984939754009247, -0.48619166016578674, -0.6923214793205261, 0.4163746237754822, 0.6342215538024902, -0.7050591111183167, 0.08300542831420898, 0.14384932816028595, 0.15430445969104767, -0.6502325534820557, -0.7740471959114075, -0.18216782808303833, -0.20966736972332, -0.4468599557876587, 0.541791558265686, -0.2615720331668854, -0.01086615864187479, -0.12111184746026993, 0.002732151886448264, -0.039200328290462494, 0.20154660940170288, 0.5334252119064331, 0.5825546383857727, -0.17064960300922394, -0.36260995268821716, -0.02393617480993271, -0.17339883744716644, 0.2053728997707367, 0.16279785335063934, 0.6121199727058411, -0.47216877341270447, -0.31102895736694336, -0.8339300155639648, -0.09601925313472748, 0.23418518900871277, 0.1489626169204712, 0.7098569869995117, 0.6949546337127686, -0.3869369924068451, -0.1559738963842392, -0.3228647708892822, -0.2573419213294983, -0.5339282751083374, 0.1616935282945633, -0.41024136543273926, -0.7741989493370056, 0.772723376750946, 0.2155219465494156, 0.07590639591217041, 0.6696886420249939, 0.5595511198043823, 0.005215161480009556, 0.7325278520584106, 0.5384242534637451, -0.23128610849380493, 0.5075514912605286, -0.8965710401535034, -0.32292526960372925, -0.878562331199646, -0.5363612174987793, -0.24911978840827942, -0.40928584337234497, -0.6509953737258911, -0.42042362689971924, 0.2544577717781067, 0.10311420261859894, -0.660626232624054, 0.3912534713745117, -0.6675999760627747, 0.4110460877418518, 0.6217175126075745, 0.2803190052509308, 0.4357876181602478, -0.13618651032447815, 0.05005742982029915, -0.1372995674610138, -0.3929429054260254, -0.46328699588775635, 1.1781482696533203, 0.5868025422096252, 0.8475656509399414, 0.013214100152254105, 0.9115246534347534, 0.313223659992218, 0.4009917974472046, -0.7099494934082031, 0.6881968379020691, 0.08921868354082108, -0.3276006281375885, -0.09995584934949875, -0.4381767809391022, -0.7528115510940552, 0.2559084892272949, -0.3331335186958313, -0.7307252883911133, -0.26454612612724304, -0.07469024509191513, -0.1939190924167633, 0.3143879771232605, -0.4204932749271393, 0.6032580137252808, -0.30044764280319214, -0.05709075927734375, 0.020084314048290253, -0.5138149857521057, 0.7211679220199585, -0.10830621421337128, -0.03341614082455635, -0.3050978481769562, -0.11567950248718262, 1.0762029886245728, -0.8171982169151306, 0.7769448161125183, -0.19301332533359528, -0.3134603500366211, 0.3671444058418274, -0.16908013820648193, 0.34210970997810364, 0.06802578270435333, -0.2758990526199341, 0.60785973072052, -0.13552221655845642, -0.5481528043746948, -0.32109758257865906, 0.8816923499107361, -1.307004690170288, -0.44022804498672485, -0.5296801924705505, -0.5048484802246094, 0.004517767578363419, 0.0874810665845871, 0.3838595747947693, 0.11553775519132614, -0.30174529552459717, -0.06138599291443825, 0.2639380395412445, -0.09364254772663116, 0.4625324010848999, 0.3602495789527893, -0.31810659170150757, -0.7096889019012451, 0.8655722737312317, 0.15268491208553314, 0.11992465704679489, 0.0906861424446106, 0.14386123418807983, -0.2708156704902649, -0.3831484019756317, -0.42546504735946655, 0.5629457831382751, -0.5200111269950867, -0.1266237199306488, -0.3570125102996826, -0.397070974111557, -0.3659690022468567, -0.3587585985660553, -0.42962998151779175, -0.6929172873497009, -0.42720282077789307, -0.3243817090988159, 0.5858015418052673, 0.8139545917510986, 0.10025654733181, 0.7920437455177307, -0.5262550115585327, 0.07448572665452957, 0.195046067237854, 0.3168680965900421, -0.0390457883477211, -0.7225080728530884, -0.21707986295223236, 0.05884843319654465, -0.6102946996688843, -0.77042555809021, 0.4009576141834259, 0.017335278913378716, 0.5762133002281189, 0.448101669549942, -0.11593754589557648, 0.7218171954154968, -0.23704391717910767, 0.9988163709640503, 0.3225667178630829, -0.8092271089553833, 0.7196493744850159, -0.21060805022716522, -0.037433307617902756, 0.36215463280677795, 0.5015785694122314, -0.17683498561382294, -0.3231322765350342, -0.9027325510978699, -0.7852421998977661, 0.8030062317848206, 0.14615188539028168, -0.18995457887649536, 0.06746957451105118, 0.6006799936294556, 0.2567170560359955, 0.1217912808060646, -0.9115463495254517, -0.3782806396484375, -0.37363481521606445, -0.07725922018289566, -0.09840455651283264, 0.0359136238694191, -0.3100954294204712, -0.3032383322715759, 0.9937817454338074, -0.16783688962459564, 0.2772158086299896, 0.004916385747492313, 0.12291081249713898, 0.06008695811033249, -0.3443947434425354, 0.5917647480964661, 0.38317039608955383, -0.5894054770469666, -0.32233375310897827, 0.3931903541088104, -0.7075874209403992, 0.20281082391738892, 0.0732719674706459, -0.05162082985043526, -0.16445685923099518, 0.5702114701271057, 0.9004383683204651, 0.11679375171661377, -0.37115299701690674, 0.6226385235786438, -0.09432618319988251, -0.14694342017173767, -0.43168920278549194, 0.21012979745864868, -0.05111110955476761, 0.3934857249259949, 0.2442914992570877, -0.3453563451766968, -0.00017518155800644308, -0.49437007308006287, 0.045910030603408813, 0.43530288338661194, -0.03458382934331894, -0.4801194965839386, 0.7648950219154358, 0.09768863767385483, -0.3326674699783325, 0.7038977146148682, -0.1549757421016693, -0.2932552397251129, 0.9770951867103577, 0.6655933856964111, 0.5784834027290344, -0.33247706294059753, 0.21414923667907715, 0.5295965671539307, 0.27410635352134705, -0.07576024532318115, 0.36706534028053284, -0.2212914079427719, -0.595373809337616, -0.04800926148891449, -0.6815530061721802, -0.6708372235298157, 0.21708127856254578, -0.8354474902153015, 0.4058026373386383, -0.8594477772712708, -0.3522361218929291, -0.15067380666732788, 0.574276864528656, -0.6374460458755493, 0.3413529694080353, 0.06980251520872116, 1.1339327096939087, -1.0184580087661743, 1.0766412019729614, 0.42605820298194885, -0.5635672807693481, -0.707582950592041, -0.4049438536167145, -0.07366292178630829, -1.4672834873199463, 0.3593162000179291, 0.13880008459091187, -0.1236719936132431, -0.22413569688796997, -0.6703957319259644, -0.9489299058914185, 1.7996418476104736, 0.37232938408851624, -0.2523362636566162, 0.15562567114830017, 0.12649403512477875, 0.47497227787971497, -0.26441091299057007, 0.47238582372665405, 0.6701686382293701, 0.23109829425811768, 0.2890946567058563, -0.8144429922103882, 0.2070135772228241, -0.16862785816192627, -0.07680096477270126, 0.06692877411842346, -1.3623201847076416, 1.1931442022323608, -0.33597224950790405, 0.2416507452726364, 0.2970380187034607, 0.7934510111808777, 0.8668703436851501, 0.40496402978897095, 0.2855910062789917, 0.9499033689498901, 0.8712077140808105, -0.11759144067764282, 0.96806800365448, -0.1806359738111496, 0.6192396283149719, 0.9501320719718933, -0.21400325000286102, 0.7420284748077393, 0.34161877632141113, -0.4332856833934784, 0.5620437860488892, 0.8895278573036194, -0.16811825335025787, 0.459667444229126, 0.09108526259660721, -0.22643589973449707, 0.1655377745628357, 0.040700074285268784, -0.5878779888153076, 0.5141571164131165, 0.36604946851730347, -0.3873661160469055, -0.07553888112306595, -0.2283657342195511, 0.24671727418899536, -0.33137646317481995, -0.2375180721282959, 0.45020416378974915, 0.16799618303775787, -0.373609334230423, 0.6701644062995911, 0.14777907729148865, 0.9533831477165222, -0.7150713801383972, -0.05476941913366318, -0.3950924873352051, 0.06244300305843353, -0.32710593938827515, -0.8477106094360352, 0.058901578187942505, -0.032226141542196274, 0.022129395976662636, -0.11558585613965988, 0.30150336027145386, -0.14421705901622772, -0.37028956413269043, 0.4305529296398163, 0.2788666784763336, 0.5861461162567139, 0.3422408103942871, -0.8606557846069336, 0.3258059620857239, -0.02802255190908909, -0.6055458784103394, 0.31998932361602783, 0.14102798700332642, -0.1261509507894516, 0.7670016884803772, 0.7040656805038452, 0.06664411723613739, 0.15055309236049652, -0.15060286223888397, 0.8219826221466064, -0.8958249688148499, -0.5031964778900146, -0.7242513298988342, 0.01145896315574646, -0.017730891704559326, -0.6821513772010803, 0.5986098647117615, 0.7733789086341858, 0.6945626735687256, 0.1896599382162094, 0.4036206305027008, 0.17309951782226562, 0.08564360439777374, -0.6659326553344727, 0.6921411156654358, -0.6174960732460022, 0.16665588319301605, -0.1822265237569809, -1.0205003023147583, 0.020034780725836754, 0.8716886043548584, -0.0670308843255043, 0.18729379773139954, 0.42729106545448303, 0.6017434000968933, -0.0014354641316458583, 0.38144388794898987, 0.004785272758454084, 0.33248910307884216, 0.40618011355400085, 0.8385427594184875, 0.63395094871521, -0.6519923806190491, 0.20972870290279388, -0.6717690825462341, -0.5612853169441223, -0.14795231819152832, -0.8065464496612549, -0.566520094871521, -0.42987334728240967, -0.41267383098602295, -0.3539271354675293, -0.17427556216716766, 0.9362216591835022, 0.5593243837356567, -0.493481308221817, -0.45972341299057007, 0.30534061789512634, -0.04873712733387947, -0.23071521520614624, -0.21647636592388153, 0.6056435108184814, 0.18090376257896423, -0.8897079229354858, 0.48816096782684326, -0.11049170792102814, 0.4289261996746063, -0.29094213247299194, -0.2717152237892151, -0.09087904542684555, -0.19176721572875977, 0.6137445569038391, 0.3459625542163849, -0.6039273142814636, -0.3114152252674103, -0.18647567927837372, -0.2515621483325958, 0.032287172973155975, 0.2053678333759308, -0.8585439324378967, -0.0896151214838028, 0.10506370663642883, 0.35499197244644165, 1.036770224571228, -0.09206394106149673, -0.010443669743835926, -0.7240412831306458, 0.31498727202415466, 0.06978818029165268, 0.6581993699073792, 0.26039618253707886, -0.27939602732658386, 0.9409984350204468, 0.4588518738746643, -0.7607827186584473, -0.6649731993675232, -0.17857995629310608, -1.4377473592758179, 0.03201540932059288, 1.0229846239089966, -0.26050081849098206, -0.5007570385932922, 0.5899010896682739, -0.2511134147644043, 0.26924368739128113, -0.5424931049346924, 0.7911159992218018, 0.5604845881462097, -0.4469473958015442, 0.18027973175048828, -0.5384936928749084, 0.19419701397418976, 0.18069155514240265, -0.8204012513160706, -0.43389272689819336, 0.39288488030433655, 0.5766210556030273, 0.010030684061348438, 1.039764404296875, -0.13126158714294434, 0.024019911885261536, -0.026546111330389977, 0.2710897624492645, -0.13561636209487915, -0.10280325263738632, -0.29092058539390564, -0.0503065250813961, -0.1222679540514946, -0.5874073505401611 ]
Helsinki-NLP/opus-mt-el-fr
Helsinki-NLP
2023-08-16T11:28:49Z
7,693
0
transformers
[ "transformers", "pytorch", "tf", "marian", "text2text-generation", "translation", "el", "fr", "license:apache-2.0", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
translation
2022-03-02T23:29:04Z
--- tags: - translation license: apache-2.0 --- ### opus-mt-el-fr * source languages: el * target languages: fr * OPUS readme: [el-fr](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/el-fr/README.md) * dataset: opus * model: transformer-align * pre-processing: normalization + SentencePiece * download original weights: [opus-2020-01-08.zip](https://object.pouta.csc.fi/OPUS-MT-models/el-fr/opus-2020-01-08.zip) * test set translations: [opus-2020-01-08.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/el-fr/opus-2020-01-08.test.txt) * test set scores: [opus-2020-01-08.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/el-fr/opus-2020-01-08.eval.txt) ## Benchmarks | testset | BLEU | chr-F | |-----------------------|-------|-------| | Tatoeba.el.fr | 63.0 | 0.741 |
[ -0.27989625930786133, -0.467259019613266, 0.2183394879102707, 0.4987373650074005, -0.3971041440963745, -0.3838141858577728, -0.5556386113166809, -0.17351366579532623, 0.042685192078351974, 0.5273895263671875, -0.8185725212097168, -0.6768625378608704, -0.5859740972518921, 0.23998597264289856, -0.16832448542118073, 0.9493599534034729, -0.14401699602603912, 0.48479822278022766, 0.23139631748199463, -0.4846670925617218, -0.32028084993362427, -0.4172411262989044, -0.4935512840747833, -0.3675735294818878, 0.4066898822784424, 0.4721752107143402, 0.38023385405540466, 0.4445416331291199, 1.0536537170410156, 0.24331986904144287, -0.08696918934583664, 0.0065216063521802425, -0.5024459958076477, -0.0977063700556755, 0.09028318524360657, -0.6017481088638306, -0.8386606574058533, -0.2088823914527893, 1.1130555868148804, 0.44941940903663635, -0.09622907638549805, 0.4088292419910431, -0.07604370266199112, 1.0837101936340332, -0.3193879723548889, 0.04126843810081482, -0.6917651891708374, 0.04594627022743225, -0.3400401771068573, -0.2650271952152252, -0.7387093305587769, -0.22800719738006592, 0.18453577160835266, -0.703551173210144, 0.054088056087493896, 0.18670816719532013, 1.594760775566101, 0.33311888575553894, -0.3375759422779083, -0.18729594349861145, -0.7101463079452515, 1.1361418962478638, -0.8482761979103088, 0.7296551465988159, 0.49026918411254883, 0.313150554895401, 0.24750851094722748, -0.6212761998176575, -0.3783682584762573, 0.047255873680114746, -0.28423452377319336, 0.22313246130943298, -0.058078132569789886, -0.2599828839302063, 0.3099447190761566, 0.8049182295799255, -0.8643754720687866, -0.014750514179468155, -0.5994091629981995, -0.010261151008307934, 0.8251467943191528, 0.01879257708787918, 0.14687111973762512, -0.16440822184085846, -0.5194686651229858, -0.6661272644996643, -0.8145536184310913, 0.05982077121734619, 0.4003812074661255, 0.32764843106269836, -0.5172454118728638, 0.7081619501113892, -0.08882088214159012, 0.6487362384796143, -0.0932217463850975, 0.002449426567181945, 1.1201739311218262, -0.44026994705200195, -0.4258478581905365, -0.13338176906108856, 1.3302918672561646, 0.3323521614074707, 0.11457604914903641, 0.06332749873399734, -0.33299675583839417, -0.32905980944633484, 0.10158593952655792, -0.9189742207527161, -0.08939703553915024, 0.19828669726848602, -0.5033751130104065, -0.12080077826976776, 0.0691714659333229, -0.7130613327026367, 0.33196428418159485, -0.4149326682090759, 0.6535391211509705, -0.7019800543785095, -0.20983979105949402, 0.3603198826313019, 0.03718584030866623, 0.392467200756073, 0.013723284006118774, -0.7742208242416382, 0.2730511724948883, 0.37059372663497925, 0.7948555946350098, -0.4257522225379944, -0.3031695783138275, -0.4846045672893524, -0.16945861279964447, -0.03402860835194588, 0.764381468296051, -0.06081121042370796, -0.5304746627807617, -0.011835837736725807, 0.5476678609848022, -0.42982667684555054, -0.3958243131637573, 1.4976868629455566, -0.35759231448173523, 0.7770709991455078, -0.44693177938461304, -0.5724607706069946, -0.36856809258461, 0.48386403918266296, -0.7080085277557373, 1.4291876554489136, 0.10717367380857468, -0.880817711353302, 0.21037328243255615, -0.9140912890434265, -0.29549816250801086, -0.013374674133956432, 0.038591329008340836, -0.701190710067749, 0.06155805289745331, 0.1891888529062271, 0.4608912765979767, -0.3594312071800232, 0.2516224682331085, 0.013554682023823261, -0.40411126613616943, 0.005485911853611469, -0.394334614276886, 0.9964112639427185, 0.32088473439216614, -0.33485954999923706, 0.13834185898303986, -1.0192115306854248, -0.069160096347332, 0.015401788987219334, -0.5494263172149658, -0.22035470604896545, 0.21609479188919067, 0.37644460797309875, 0.11341675370931625, 0.3932141065597534, -0.7076684236526489, 0.21375392377376556, -0.7102450132369995, 0.1452709585428238, 0.7331622838973999, -0.37999773025512695, 0.3734003007411957, -0.5163822174072266, 0.31534114480018616, 0.044074274599552155, 0.04500575363636017, -0.041296470910310745, -0.4445623755455017, -0.9339413046836853, -0.2533375322818756, 0.6441426873207092, 1.220379114151001, -0.7309705018997192, 0.960446834564209, -0.7225481271743774, -0.8331776857376099, -0.8252837061882019, -0.1439613252878189, 0.47288843989372253, 0.4466280937194824, 0.6297329664230347, -0.13111062347888947, -0.4388269782066345, -1.2053507566452026, -0.1406940072774887, -0.21339835226535797, -0.2682257294654846, 0.21921086311340332, 0.754262387752533, -0.14720170199871063, 0.5422509908676147, -0.5834327936172485, -0.5745706558227539, -0.17919807136058807, 0.22326375544071198, 0.5854967832565308, 0.6937332153320312, 0.6576449275016785, -0.9740175008773804, -0.6659674644470215, 0.09848994016647339, -0.6681638360023499, -0.20127348601818085, 0.0808539018034935, -0.15880228579044342, 0.10671329498291016, 0.06697451323270798, -0.23161450028419495, 0.08330163359642029, 0.7743537425994873, -0.5901893377304077, 0.611630380153656, -0.15571820735931396, 0.3894682228565216, -1.4238373041152954, 0.1949503868818283, -0.1478564590215683, -0.07234610617160797, -0.46140626072883606, -0.08750895410776138, 0.26309633255004883, 0.19483228027820587, -0.8807974457740784, 0.6185470223426819, -0.2177933305501938, -0.07344674319028854, 0.29169416427612305, -0.0025896714068949223, 0.07959122210741043, 0.8218243718147278, -0.03138693422079086, 0.9130879044532776, 0.6899732947349548, -0.5636511445045471, 0.12225206941366196, 0.6354256272315979, -0.5232303738594055, 0.4681437313556671, -0.930948793888092, -0.30453354120254517, 0.3184445798397064, -0.11791438609361649, -0.7183039784431458, 0.09071923792362213, 0.2391766905784607, -0.683355450630188, 0.4430532157421112, -0.025409189984202385, -0.8401820063591003, -0.06191800534725189, -0.33027973771095276, 0.5007370710372925, 0.7438593506813049, -0.2477060705423355, 0.6762622594833374, 0.03718412294983864, -0.060438938438892365, -0.5513162016868591, -1.0999373197555542, -0.2340461164712906, -0.3530464172363281, -0.8510609269142151, 0.4210788309574127, -0.5033097863197327, -0.007722895592451096, 0.06358647346496582, 0.3271913230419159, -0.11794627457857132, 0.018730539828538895, 0.03607165813446045, 0.25867804884910583, -0.5205390453338623, 0.14279969036579132, 0.07909359037876129, -0.12259788066148758, -0.1609169989824295, -0.09034337848424911, 0.6371842622756958, -0.39115384221076965, -0.29473447799682617, -0.7006003856658936, 0.13526712357997894, 0.6736279726028442, -0.5062768459320068, 0.9470071792602539, 0.6418625712394714, -0.16553626954555511, 0.15401427447795868, -0.48598921298980713, 0.07669994235038757, -0.4897378385066986, 0.19474078714847565, -0.4888480305671692, -0.8810329437255859, 0.619350016117096, 0.19153136014938354, 0.5570778250694275, 0.9959423542022705, 0.7061418890953064, -0.025887152180075645, 0.7466464042663574, 0.35684841871261597, 0.016551170498132706, 0.5669766664505005, -0.526023268699646, -0.18011680245399475, -1.1524571180343628, 0.019385771825909615, -0.8914074897766113, -0.40828830003738403, -0.8617428541183472, -0.18206624686717987, 0.2727026641368866, 0.03907816484570503, -0.24823713302612305, 0.7922388911247253, -0.620789647102356, 0.2988775074481964, 0.5541079640388489, -0.16987544298171997, 0.3287358582019806, 0.11421794444322586, -0.5931553244590759, -0.2826235294342041, -0.4573100805282593, -0.5901512503623962, 1.345111608505249, 0.45163533091545105, 0.32943299412727356, 0.21781226992607117, 0.5187675356864929, 0.08166488260030746, 0.3793163001537323, -0.6556722521781921, 0.47068923711776733, -0.43885472416877747, -0.8124058842658997, -0.29524388909339905, -0.6016976833343506, -0.8111720681190491, 0.49297213554382324, -0.33339375257492065, -0.5986469388008118, 0.16569693386554718, 0.006944903172552586, -0.11649097502231598, 0.46918874979019165, -0.7754746675491333, 1.2245469093322754, -0.1256677210330963, -0.02808842621743679, 0.2837143540382385, -0.5386767387390137, 0.2565830647945404, -0.06059548631310463, 0.37087583541870117, -0.23838360607624054, 0.2062477022409439, 0.8134964108467102, -0.09058259427547455, 0.38650041818618774, 0.009596742689609528, -0.10164640098810196, 0.024188287556171417, 0.028686614707112312, 0.464604914188385, -0.17252682149410248, -0.5193210244178772, 0.4691412150859833, 0.06586109101772308, -0.40883782505989075, -0.17386724054813385, 0.6240814924240112, -0.8368392586708069, 0.010319248773157597, -0.45430469512939453, -0.7254841327667236, 0.07219887524843216, 0.3518427312374115, 0.7489226460456848, 0.6722548604011536, -0.39702504873275757, 0.633925199508667, 0.9077322483062744, -0.3499661684036255, 0.46879544854164124, 0.8247342705726624, -0.16861143708229065, -0.6696310639381409, 0.9009771347045898, 0.08598950505256653, 0.4231521189212799, 0.7910215258598328, 0.1070903018116951, -0.1926066279411316, -0.7938469648361206, -0.7383037805557251, 0.390346497297287, -0.25465789437294006, -0.16609863936901093, -0.6374305486679077, -0.06356604397296906, -0.3060857355594635, 0.14761662483215332, -0.5102373957633972, -0.5448302626609802, -0.1955440491437912, -0.2128267139196396, 0.2568293809890747, 0.24239876866340637, -0.05588442459702492, 0.6299454569816589, -1.1943451166152954, 0.1602145880460739, -0.13631229102611542, 0.3353007435798645, -0.482868492603302, -0.8646693229675293, -0.5328636169433594, 0.08787860721349716, -0.6769794821739197, -0.7735822200775146, 0.5702701210975647, 0.1958259791135788, 0.24483974277973175, 0.38020554184913635, 0.133419930934906, 0.3920205533504486, -0.8877667784690857, 1.0644912719726562, -0.05348233878612518, -0.8166913390159607, 0.5198599696159363, -0.46537765860557556, 0.41396796703338623, 1.0722925662994385, 0.3013719618320465, -0.37875670194625854, -0.5528510212898254, -0.7734286189079285, -0.886798083782196, 0.9444403648376465, 0.7798093557357788, -0.1286296248435974, 0.20200255513191223, -0.10965792089700699, -0.05696956440806389, 0.20281633734703064, -1.215239405632019, -0.43276143074035645, 0.11509774625301361, -0.4442344605922699, -0.24557743966579437, -0.22681249678134918, -0.23036053776741028, -0.19799524545669556, 1.1794096231460571, 0.22081133723258972, 0.27782320976257324, 0.4808550775051117, -0.11129545420408249, -0.27163615822792053, 0.3988301455974579, 1.1198561191558838, 0.4833718240261078, -0.6660357117652893, -0.22930246591567993, 0.39141738414764404, -0.5120002031326294, -0.17086713016033173, 0.17452864348888397, -0.4047112762928009, 0.3210109770298004, 0.5720699429512024, 1.1351176500320435, 0.15108180046081543, -0.7257676124572754, 0.5204281210899353, -0.34261882305145264, -0.5402882695198059, -0.7151054739952087, -0.13182611763477325, 0.09570528566837311, -0.040459178388118744, 0.3372257947921753, 0.08275710046291351, 0.10385376214981079, -0.19511736929416656, 0.26657846570014954, 0.07198922336101532, -0.7446502447128296, -0.6101465225219727, 0.5597056150436401, 0.11971795558929443, -0.40254998207092285, 0.5432207584381104, -0.3554050326347351, -0.6580991744995117, 0.4807477593421936, 0.21681728959083557, 1.0960917472839355, -0.3341154158115387, -0.17052726447582245, 0.7794419527053833, 0.6971315741539001, -0.2765215337276459, 0.517228901386261, 0.12803776562213898, -0.7977715134620667, -0.603047788143158, -0.966916024684906, -0.15658612549304962, 0.1472838670015335, -0.9085580110549927, 0.40375325083732605, 0.3453527092933655, 0.07565409690141678, -0.34722334146499634, 0.2644382417201996, -0.5902699828147888, 0.23713748157024384, -0.35094979405403137, 1.1960930824279785, -1.1294934749603271, 0.955298900604248, 0.5659363865852356, -0.2512659430503845, -0.9312166571617126, -0.24813254177570343, -0.277057409286499, -0.5150913596153259, 0.7052633166313171, 0.19662357866764069, 0.3001633286476135, -0.15608620643615723, -0.23140037059783936, -0.8185575008392334, 1.252977728843689, 0.22170409560203552, -0.7522366642951965, 0.042585212737321854, 0.138652041554451, 0.5615993738174438, -0.4466578960418701, 0.11418077349662781, 0.4686243534088135, 0.8323922753334045, 0.16415077447891235, -1.1835213899612427, -0.3600075840950012, -0.5355003476142883, -0.4370368421077728, 0.6661413908004761, -0.6365856528282166, 1.0228476524353027, 0.44411981105804443, -0.1703857183456421, 0.09679219126701355, 0.7359704971313477, 0.32266899943351746, 0.35549214482307434, 0.6351774334907532, 1.2800136804580688, 0.3767858147621155, -0.5729893445968628, 1.088525414466858, -0.31550875306129456, 0.5981403589248657, 1.3043386936187744, -0.12176287174224854, 1.0851101875305176, 0.35292837023735046, -0.14473971724510193, 0.6152325868606567, 0.6404364109039307, -0.33811289072036743, 0.5895451903343201, 0.002087724395096302, 0.1375064253807068, -0.10128426551818848, 0.18293556571006775, -0.7803548574447632, 0.23602735996246338, 0.2755981385707855, -0.31584563851356506, 0.0415504053235054, -0.09508129209280014, 0.039714302867650986, -0.03633987531065941, -0.1196993812918663, 0.6082295775413513, -0.02177424728870392, -0.6377971768379211, 0.733684241771698, -0.019029416143894196, 0.7075955867767334, -0.7979460954666138, 0.12268267571926117, -0.031235437840223312, 0.21271684765815735, -0.061302851885557175, -0.6301931738853455, 0.5411427617073059, 0.015283812768757343, -0.34503912925720215, -0.4839315414428711, 0.17857490479946136, -0.6440361738204956, -0.9707057476043701, 0.47634658217430115, 0.4498911201953888, 0.3459630608558655, 0.09012579917907715, -0.9929492473602295, 0.041336189955472946, 0.20695708692073822, -0.6559640169143677, 0.011975103057920933, 0.7059910297393799, 0.3504070043563843, 0.48413920402526855, 0.7540192008018494, 0.2836654782295227, 0.15038669109344482, 0.007448824588209391, 0.7349809408187866, -0.49853643774986267, -0.4289166033267975, -0.8793079853057861, 0.8693459033966064, -0.10129216313362122, -0.7356054186820984, 0.7136969566345215, 1.0474891662597656, 1.177544355392456, -0.13274160027503967, 0.26276063919067383, -0.1202297955751419, 0.7965548038482666, -0.7363680005073547, 0.7327585816383362, -1.1280639171600342, 0.28535759449005127, -0.21790358424186707, -1.0484694242477417, -0.3286352753639221, 0.4365929067134857, -0.19484727084636688, -0.40101608633995056, 0.9375868439674377, 0.7601166367530823, -0.1952296793460846, -0.17068977653980255, 0.3044518828392029, 0.34088069200515747, 0.22318682074546814, 0.6614863276481628, 0.3979561924934387, -1.097529649734497, 0.5797449350357056, -0.3220074474811554, -0.08635008335113525, -0.050956226885318756, -0.8551499843597412, -0.9126657843589783, -0.6745520234107971, -0.17974507808685303, -0.18762148916721344, -0.34221524000167847, 0.9552052021026611, 0.5524420738220215, -1.058500051498413, -0.6190575361251831, 0.08307080715894699, 0.20787940919399261, -0.24257010221481323, -0.28267034888267517, 0.7461448907852173, -0.2873539626598358, -1.085981845855713, 0.5446653962135315, 0.07142381370067596, -0.025314586237072945, -0.009487536735832691, -0.3265376091003418, -0.5595261454582214, -0.05582118779420853, 0.35267508029937744, 0.05027708783745766, -0.5350410342216492, 0.07463828474283218, 0.23958902060985565, -0.09103714674711227, 0.4359521269798279, 0.4001130163669586, -0.27505823969841003, 0.21219895780086517, 0.9168437719345093, 0.375799298286438, 0.4864880442619324, -0.16058585047721863, 0.5744434595108032, -0.7957136034965515, 0.2915624976158142, 0.2481573522090912, 0.6716772317886353, 0.3729078769683838, -0.10594034940004349, 0.8588458895683289, 0.20157118141651154, -0.7753371000289917, -1.165299415588379, 0.08941803127527237, -1.3640621900558472, 0.06533211469650269, 0.9291417002677917, -0.3050989508628845, -0.3408232033252716, 0.3992963433265686, -0.15321215987205505, 0.1261158436536789, -0.42801085114479065, 0.44234704971313477, 0.9691261649131775, 0.38691338896751404, 0.1518259048461914, -0.7762191295623779, 0.4003871977329254, 0.6287810206413269, -0.8169066905975342, -0.25703901052474976, 0.21667985618114471, 0.14223222434520721, 0.49070337414741516, 0.5273704528808594, -0.3344036340713501, 0.07893145084381104, -0.46779513359069824, 0.449441522359848, -0.006387357600033283, -0.3106253743171692, -0.32763949036598206, 0.038241080939769745, -0.16520942747592926, -0.318504273891449 ]
codellama/CodeLlama-13b-Python-hf
codellama
2023-10-27T18:09:55Z
7,693
28
transformers
[ "transformers", "pytorch", "safetensors", "llama", "text-generation", "llama-2", "code", "arxiv:2308.12950", "license:llama2", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-08-24T16:32:01Z
--- language: - code pipeline_tag: text-generation tags: - llama-2 license: llama2 --- # **Code Llama** Code Llama is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 34 billion parameters. This is the repository for the 13B Python specialist version in the Hugging Face Transformers format. This model is designed for general code synthesis and understanding. Links to other models can be found in the index at the bottom. | | Base Model | Python | Instruct | | --- | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | 7B | [codellama/CodeLlama-7b-hf](https://huggingface.co/codellama/CodeLlama-7b-hf) | [codellama/CodeLlama-7b-Python-hf](https://huggingface.co/codellama/CodeLlama-7b-Python-hf) | [codellama/CodeLlama-7b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-7b-Instruct-hf) | | 13B | [codellama/CodeLlama-13b-hf](https://huggingface.co/codellama/CodeLlama-13b-hf) | [codellama/CodeLlama-13b-Python-hf](https://huggingface.co/codellama/CodeLlama-13b-Python-hf) | [codellama/CodeLlama-13b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-13b-Instruct-hf) | | 34B | [codellama/CodeLlama-34b-hf](https://huggingface.co/codellama/CodeLlama-34b-hf) | [codellama/CodeLlama-34b-Python-hf](https://huggingface.co/codellama/CodeLlama-34b-Python-hf) | [codellama/CodeLlama-34b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-34b-Instruct-hf) | ## Model Use To use this model, please make sure to install transformers from `main` until the next version is released: ```bash pip install git+https://github.com/huggingface/transformers.git@main accelerate ``` Model capabilities: - [x] Code completion. - [ ] Infilling. - [ ] Instructions / chat. - [x] Python specialist. ## Model Details *Note: Use of this model is governed by the Meta license. Meta developed and publicly released the Code Llama family of large language models (LLMs). **Model Developers** Meta **Variations** Code Llama comes in three model sizes, and three variants: * Code Llama: base models designed for general code synthesis and understanding * Code Llama - Python: designed specifically for Python * Code Llama - Instruct: for instruction following and safer deployment All variants are available in sizes of 7B, 13B and 34B parameters. **This repository contains the Python version of the 13B parameters model.** **Input** Models input text only. **Output** Models generate text only. **Model Architecture** Code Llama is an auto-regressive language model that uses an optimized transformer architecture. **Model Dates** Code Llama and its variants have been trained between January 2023 and July 2023. **Status** This is a static model trained on an offline dataset. Future versions of Code Llama - Instruct will be released as we improve model safety with community feedback. **License** A custom commercial license is available at: [https://ai.meta.com/resources/models-and-libraries/llama-downloads/](https://ai.meta.com/resources/models-and-libraries/llama-downloads/) **Research Paper** More information can be found in the paper "[Code Llama: Open Foundation Models for Code](https://ai.meta.com/research/publications/code-llama-open-foundation-models-for-code/)" or its [arXiv page](https://arxiv.org/abs/2308.12950). ## Intended Use **Intended Use Cases** Code Llama and its variants is intended for commercial and research use in English and relevant programming languages. The base model Code Llama can be adapted for a variety of code synthesis and understanding tasks, Code Llama - Python is designed specifically to handle the Python programming language, and Code Llama - Instruct is intended to be safer to use for code assistant and generation applications. **Out-of-Scope Uses** Use in any manner that violates applicable laws or regulations (including trade compliance laws). Use in languages other than English. Use in any other way that is prohibited by the Acceptable Use Policy and Licensing Agreement for Code Llama and its variants. ## Hardware and Software **Training Factors** We used custom training libraries. The training and fine-tuning of the released models have been performed Meta’s Research Super Cluster. **Carbon Footprint** In aggregate, training all 9 Code Llama models required 400K GPU hours of computation on hardware of type A100-80GB (TDP of 350-400W). Estimated total emissions were 65.3 tCO2eq, 100% of which were offset by Meta’s sustainability program. ## Training Data All experiments reported here and the released models have been trained and fine-tuned using the same data as Llama 2 with different weights (see Section 2 and Table 1 in the [research paper](https://ai.meta.com/research/publications/code-llama-open-foundation-models-for-code/) for details). ## Evaluation Results See evaluations for the main models and detailed ablations in Section 3 and safety evaluations in Section 4 of the research paper. ## Ethical Considerations and Limitations Code Llama and its variants are a new technology that carries risks with use. Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios. For these reasons, as with all LLMs, Code Llama’s potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate or objectionable responses to user prompts. Therefore, before deploying any applications of Code Llama, developers should perform safety testing and tuning tailored to their specific applications of the model. Please see the Responsible Use Guide available available at [https://ai.meta.com/llama/responsible-use-guide](https://ai.meta.com/llama/responsible-use-guide).
[ -0.3797703981399536, -0.6516036987304688, 0.29849669337272644, 0.581231951713562, -0.2257850021123886, 0.1607571244239807, -0.08006809651851654, -0.6637215614318848, 0.2570820152759552, 0.5123950242996216, -0.4161968231201172, -0.5614253878593445, -0.586625874042511, 0.3456587493419647, -0.5053032636642456, 1.2250865697860718, -0.05271615833044052, -0.324211448431015, -0.29484763741493225, -0.002481580711901188, -0.23096489906311035, -0.652842104434967, -0.1699569970369339, -0.4835363030433655, 0.3583301305770874, 0.26239192485809326, 0.7556905150413513, 0.6423563361167908, 0.5213598012924194, 0.32963109016418457, -0.33061906695365906, 0.00422697002068162, -0.29147329926490784, -0.3737523555755615, 0.22523166239261627, -0.5952475070953369, -0.7955817580223083, -0.021483005955815315, 0.3546861708164215, 0.3698488473892212, -0.32001951336860657, 0.43126124143600464, -0.18095813691616058, 0.5042142271995544, -0.34243085980415344, 0.20925363898277283, -0.6291967630386353, -0.0566549226641655, 0.05027329549193382, -0.08154131472110748, -0.10040851682424545, -0.575685977935791, -0.12136907875537872, -0.4457314610481262, -0.11568105965852737, -0.054864246398210526, 1.1268563270568848, 0.562220573425293, -0.3230113387107849, -0.2469201534986496, -0.2817001938819885, 0.8213643431663513, -1.000099778175354, 0.012445134110748768, 0.39756208658218384, -0.050236593931913376, -0.15283538401126862, -0.8572338223457336, -0.7601252198219299, -0.3861246109008789, -0.12462348490953445, -0.048184290528297424, -0.49810048937797546, 0.07153946161270142, 0.430838406085968, 0.5271662473678589, -0.46997806429862976, 0.1732693612575531, -0.44864004850387573, -0.24331866204738617, 0.9406687021255493, 0.12156447023153305, 0.4482026696205139, -0.27024999260902405, -0.35148903727531433, -0.009186157025396824, -0.8766029477119446, 0.025411229580640793, 0.4968518018722534, -0.13990934193134308, -0.8026294708251953, 0.7736825942993164, -0.18746432662010193, 0.5800229907035828, 0.043637000024318695, -0.5669763088226318, 0.5496302843093872, -0.3365437090396881, -0.30826953053474426, -0.14220033586025238, 0.9180895090103149, 0.5230916738510132, 0.379872590303421, 0.052127718925476074, -0.25263071060180664, 0.3405112326145172, 0.13763634860515594, -0.8463462591171265, -0.06616674363613129, 0.33100563287734985, -0.6443555951118469, -0.7225983738899231, -0.30837371945381165, -0.829973578453064, -0.1401614099740982, -0.05483337119221687, 0.11977700889110565, -0.1798294186592102, -0.436362624168396, 0.2221774458885193, 0.09520526230335236, 0.46153244376182556, 0.11298537999391556, -0.8849291801452637, 0.04872814565896988, 0.5166928172111511, 0.7781196236610413, 0.02451675944030285, -0.508854866027832, 0.03669716417789459, -0.1366601288318634, -0.3659425675868988, 0.6918970942497253, -0.4966489374637604, -0.5067743062973022, -0.10269387066364288, 0.09879001975059509, -0.0038720963057130575, -0.538670003414154, 0.20526427030563354, -0.3573509454727173, -0.023931464180350304, 0.15965405106544495, -0.2719704210758209, -0.4694453477859497, 0.05618789419531822, -0.5864840745925903, 1.1772571802139282, 0.2842547595500946, -0.6845780611038208, -0.052655987441539764, -0.5773276090621948, -0.37819841504096985, -0.26610273122787476, -0.027501238510012627, -0.6661084294319153, -0.05598713457584381, 0.17899052798748016, 0.5145249962806702, -0.4157998859882355, 0.46495068073272705, -0.12238205969333649, -0.41013461351394653, 0.23739191889762878, -0.1645667403936386, 1.039315104484558, 0.3749583065509796, -0.4614565372467041, 0.23331217467784882, -0.9570650458335876, -0.13713452219963074, 0.5017907619476318, -0.5703411102294922, 0.12693487107753754, -0.13781395554542542, -0.0076073091477155685, -0.049438536167144775, 0.588584840297699, -0.2752518653869629, 0.585583508014679, -0.39511430263519287, 0.7833982110023499, 0.6766967177391052, -0.023088395595550537, 0.4172314405441284, -0.6074233651161194, 0.8190909624099731, -0.16920500993728638, 0.18477879464626312, -0.2962246239185333, -0.7763686776161194, -1.0162887573242188, -0.30423983931541443, 0.028842339292168617, 0.7297543287277222, -0.5052937865257263, 0.6474178433418274, 0.0122818099334836, -0.790425717830658, -0.521790087223053, 0.21397672593593597, 0.5564867854118347, 0.2643255591392517, 0.3306495249271393, -0.08574183285236359, -0.8309250473976135, -0.8770096898078918, 0.06344156712293625, -0.458851158618927, 0.11089812219142914, 0.2204788625240326, 0.8828147053718567, -0.703407347202301, 0.7888937592506409, -0.4345633089542389, 0.008198779076337814, -0.40312230587005615, -0.2897418737411499, 0.5251486897468567, 0.5622707009315491, 0.767828106880188, -0.5999340415000916, -0.2335420548915863, 0.06688242405653, -0.8846626281738281, -0.13501784205436707, -0.2220333218574524, -0.03320929408073425, 0.45024818181991577, 0.3063497245311737, -0.6755343079566956, 0.5335795879364014, 0.9382116198539734, -0.23257717490196228, 0.6254764199256897, -0.1539878100156784, -0.16945834457874298, -1.079336166381836, 0.2208961844444275, -0.1450645476579666, -0.013443442061543465, -0.5158119201660156, 0.3901938199996948, 0.0997636541724205, 0.0901409387588501, -0.5323091149330139, 0.35395199060440063, -0.3809799253940582, -0.02262439951300621, -0.12351249903440475, -0.24547074735164642, -0.03925654664635658, 0.7628032565116882, -0.039681609719991684, 1.0268244743347168, 0.5415840744972229, -0.664408266544342, 0.3339335024356842, 0.3279735743999481, -0.4054948091506958, 0.18509770929813385, -0.97586989402771, 0.362786203622818, 0.14114786684513092, 0.3535138964653015, -0.7963510155677795, -0.26977846026420593, 0.36051419377326965, -0.46218615770339966, 0.08983049541711807, -0.01671108603477478, -0.5008776783943176, -0.48419034481048584, -0.27015775442123413, 0.45197775959968567, 0.8879140019416809, -0.6374154686927795, 0.4277593195438385, 0.42543789744377136, 0.10911902040243149, -0.7643601894378662, -0.7574548125267029, 0.1354118287563324, -0.4840998649597168, -0.6622927188873291, 0.43037667870521545, -0.31302526593208313, -0.23428325355052948, -0.16677631437778473, 0.044766660779714584, -0.01943165995180607, 0.3296715021133423, 0.4705634117126465, 0.4159888029098511, -0.12349987775087357, -0.23867399990558624, -0.0007025012164376676, -0.10666410624980927, 0.05479976907372475, 0.17855943739414215, 0.792992115020752, -0.3997209072113037, -0.20853370428085327, -0.5909366607666016, 0.19507504999637604, 0.5936239361763, -0.26593995094299316, 0.6092207431793213, 0.36629459261894226, -0.4008989930152893, -0.025986768305301666, -0.67093825340271, 0.15030132234096527, -0.5641694664955139, 0.3025389611721039, -0.24979212880134583, -0.8607819676399231, 0.6805890798568726, 0.08276686817407608, 0.18801173567771912, 0.48049333691596985, 0.8348275423049927, 0.10355105251073837, 0.7653761506080627, 1.0018692016601562, -0.4442299008369446, 0.41565319895744324, -0.5567033886909485, 0.10810884088277817, -0.8196442723274231, -0.4882122278213501, -0.664715588092804, -0.03462551161646843, -0.713968813419342, -0.45972150564193726, 0.3172125816345215, 0.1964653581380844, -0.5091242790222168, 0.7786672711372375, -0.8226117491722107, 0.43257638812065125, 0.4658460319042206, 0.018078874796628952, 0.40862971544265747, 0.04799003154039383, -0.020538821816444397, 0.32160529494285583, -0.4477523863315582, -0.7476255297660828, 1.2447080612182617, 0.4583391547203064, 0.8917716145515442, -0.037233129143714905, 0.8754380941390991, 0.0776057168841362, 0.32241272926330566, -0.7133944034576416, 0.6277093291282654, 0.30485260486602783, -0.5170536637306213, 0.008430244401097298, -0.23807871341705322, -0.9553195834159851, 0.15822938084602356, 0.08012790232896805, -0.82554692029953, 0.08214859664440155, -0.04974145069718361, -0.23813049495220184, 0.3180871903896332, -0.6760369539260864, 0.6345057487487793, -0.2161659449338913, 0.0405990369617939, -0.20607337355613708, -0.5416567921638489, 0.6040748357772827, -0.13792143762111664, 0.23760664463043213, -0.13704897463321686, -0.23709452152252197, 0.6763503551483154, -0.552435576915741, 1.108272671699524, 0.1420711725950241, -0.4943452477455139, 0.6190574765205383, -0.002287802752107382, 0.4745498299598694, 0.0013975836336612701, -0.23901569843292236, 0.7385971546173096, 0.01217731088399887, -0.19887979328632355, -0.10899025946855545, 0.6528303623199463, -1.106006145477295, -0.7852877378463745, -0.4528841972351074, -0.4822731912136078, 0.3009914755821228, 0.1568032056093216, 0.38104885816574097, 0.05156508460640907, 0.1910867691040039, 0.14855539798736572, 0.38839057087898254, -0.7323555946350098, 0.6479130983352661, 0.3693931996822357, -0.29149913787841797, -0.5014660954475403, 0.8488281965255737, -0.13314633071422577, 0.20385068655014038, 0.28143712878227234, 0.0563659630715847, -0.13210858404636383, -0.49416086077690125, -0.41592761874198914, 0.46332255005836487, -0.6522257924079895, -0.5700460076332092, -0.6499791145324707, -0.36797598004341125, -0.3683585524559021, -0.3298335671424866, -0.2694866955280304, -0.3016630709171295, -0.685935378074646, -0.17841070890426636, 0.7967736721038818, 0.8351411819458008, 0.02297249063849449, 0.4624684453010559, -0.6304733753204346, 0.47297441959381104, 0.10187408328056335, 0.3814038932323456, 0.007311179768294096, -0.4952012002468109, -0.12205199152231216, -0.029113247990608215, -0.5613570213317871, -0.8918808698654175, 0.637767493724823, 0.12510618567466736, 0.6511081457138062, 0.1300811469554901, -0.05134444683790207, 0.7008042931556702, -0.45133233070373535, 0.9869090914726257, 0.35015633702278137, -1.1249276399612427, 0.6598837375640869, -0.25949233770370483, 0.021443868055939674, 0.07715057581663132, 0.36785268783569336, -0.45519572496414185, -0.26358866691589355, -0.6712561845779419, -0.7671298384666443, 0.633449137210846, 0.18349407613277435, 0.3007971942424774, 0.029957668855786324, 0.4496814012527466, -0.01705099642276764, 0.31995657086372375, -1.1006742715835571, -0.34512293338775635, -0.33604633808135986, -0.2432783544063568, -0.09166658669710159, -0.29800885915756226, -0.07895047217607498, -0.29045069217681885, 0.45865127444267273, -0.18489159643650055, 0.5459644198417664, 0.13532836735248566, -0.16816206276416779, -0.2595769464969635, 0.05376787856221199, 0.6907056570053101, 0.6074151396751404, -0.027593880891799927, -0.15532360970973969, 0.39205512404441833, -0.5661868453025818, 0.24297122657299042, -0.1256028264760971, -0.08812887221574783, -0.3127194046974182, 0.583134651184082, 0.6491634249687195, 0.13314639031887054, -0.8723152279853821, 0.5193721652030945, 0.1643742173910141, -0.2841472625732422, -0.5296943783760071, 0.2829574644565582, 0.29874491691589355, 0.3681105673313141, 0.2733985185623169, 0.0346396379172802, -0.10233388096094131, -0.45362767577171326, -0.01778092421591282, 0.36129316687583923, 0.20052173733711243, -0.36978575587272644, 0.9449619650840759, 0.11316007375717163, -0.3796139359474182, 0.4865822494029999, 0.09811950474977493, -0.5930739641189575, 1.224851131439209, 0.7122048139572144, 0.781568706035614, -0.20959067344665527, 0.11645469814538956, 0.47649094462394714, 0.56672203540802, -0.0054231490939855576, 0.4456425607204437, 0.014673762023448944, -0.5466576218605042, -0.35304704308509827, -0.885492205619812, -0.4120311439037323, 0.10161352902650833, -0.47932955622673035, 0.323376327753067, -0.660768985748291, -0.03538108244538307, -0.38372963666915894, 0.11294757574796677, -0.6257121562957764, -0.011970775201916695, 0.13994057476520538, 1.0007678270339966, -0.6413900256156921, 0.9551489949226379, 0.6156635880470276, -0.7484247088432312, -0.9299938082695007, -0.21773137152194977, -0.061627909541130066, -1.2791788578033447, 0.5111541152000427, 0.296500563621521, 0.06564485281705856, 0.06613585352897644, -0.9765610694885254, -1.1069395542144775, 1.330550193786621, 0.47473520040512085, -0.5245198011398315, -0.03168417513370514, 0.21660080552101135, 0.5767549872398376, -0.36075499653816223, 0.41227176785469055, 0.6751440763473511, 0.45378589630126953, -0.11853347718715668, -1.2474297285079956, 0.33737602829933167, -0.41348353028297424, 0.22862508893013, -0.3119976222515106, -1.0790194272994995, 1.075429081916809, -0.5693585872650146, -0.13401956856250763, 0.5119208097457886, 0.6540104150772095, 0.5791433453559875, 0.21451590955257416, 0.34639251232147217, 0.5879388451576233, 0.6678338050842285, 0.011135726235806942, 1.2342113256454468, -0.4599844217300415, 0.4185170531272888, 0.501685380935669, -0.12393324077129364, 0.7433759570121765, 0.42576366662979126, -0.6117960214614868, 0.7754802107810974, 0.8049546480178833, -0.21675346791744232, 0.3012101948261261, 0.32903751730918884, -0.06842389702796936, -0.046663831919431686, -0.10268791019916534, -0.7843950390815735, 0.3859947919845581, 0.33045515418052673, -0.35186320543289185, 0.06682639569044113, -0.22602903842926025, 0.3074512183666229, -0.12513786554336548, -0.08815865218639374, 0.6706939935684204, 0.2405214160680771, -0.5445138812065125, 1.2087666988372803, 0.12236881256103516, 1.025113582611084, -0.5467599630355835, -0.12337780743837357, -0.46667537093162537, 0.06423332542181015, -0.5923331379890442, -0.5489717125892639, 0.18608315289020538, 0.3142945468425751, 0.01327836699783802, -0.1374952495098114, 0.488918274641037, -0.05614829808473587, -0.5144269466400146, 0.403541624546051, 0.18301519751548767, 0.29430487751960754, 0.13044190406799316, -0.6975367665290833, 0.4885861873626709, 0.19379210472106934, -0.4843062460422516, 0.3772856891155243, 0.12928125262260437, 0.0519033707678318, 0.9869986772537231, 0.8019939064979553, -0.1272279918193817, 0.17566576600074768, -0.13465262949466705, 1.1687320470809937, -0.736532986164093, -0.35099467635154724, -0.8315377235412598, 0.6606435179710388, 0.31713205575942993, -0.45021170377731323, 0.6339887976646423, 0.37245696783065796, 0.8400717377662659, -0.13565514981746674, 0.8510301113128662, -0.19998040795326233, 0.08010174334049225, -0.475057989358902, 0.6815539002418518, -0.8071020841598511, 0.3946578800678253, -0.5184760093688965, -0.9594910144805908, -0.33192166686058044, 0.913058876991272, -0.044308144599199295, 0.05329035222530365, 0.550123929977417, 1.0260307788848877, 0.3285634219646454, -0.10663564503192902, 0.21680104732513428, 0.2074994444847107, 0.4064556658267975, 0.8185951709747314, 1.0421127080917358, -0.6068109273910522, 0.7519634366035461, -0.603982150554657, -0.24419814348220825, -0.29857274889945984, -1.0317076444625854, -1.0166726112365723, -0.5099523067474365, -0.36122989654541016, -0.40796545147895813, -0.28961890935897827, 0.943720817565918, 0.5695358514785767, -0.6117058396339417, -0.4974149465560913, -0.14072489738464355, 0.42016318440437317, -0.12223447114229202, -0.20769011974334717, 0.2909637987613678, -0.12989681959152222, -0.8708944916725159, 0.4054783880710602, -0.03712836280465126, 0.16561250388622284, -0.3509814441204071, -0.26689663529396057, -0.13337494432926178, 0.01429590955376625, 0.4811336100101471, 0.3589636981487274, -0.8735270500183105, -0.20345811545848846, 0.08196303248405457, -0.1999606490135193, 0.12009590864181519, 0.43782854080200195, -0.6721500158309937, -0.09466635435819626, 0.357052206993103, 0.4682469367980957, 0.32966503500938416, -0.2397206872701645, 0.22873377799987793, -0.36758846044540405, 0.4519452154636383, 0.0011238405713811517, 0.5261045098304749, 0.10726894438266754, -0.6160706281661987, 0.7381723523139954, 0.2890945374965668, -0.6959101557731628, -0.9571142196655273, 0.1357777863740921, -1.167828917503357, -0.23144032061100006, 1.357937216758728, -0.10741882771253586, -0.3536469042301178, 0.196207657456398, -0.4008108377456665, 0.2553429901599884, -0.41108065843582153, 0.7306100726127625, 0.31622958183288574, -0.07905986905097961, -0.15329812467098236, -0.41321665048599243, 0.2667965590953827, 0.2529090344905853, -0.9763280749320984, -0.15499727427959442, 0.39256730675697327, 0.4087976813316345, 0.22023507952690125, 0.701582670211792, -0.13343818485736847, 0.17986920475959778, 0.05806341394782066, 0.46599945425987244, -0.10697849839925766, -0.2369437962770462, -0.4175562262535095, -0.06596143543720245, -0.10322141647338867, -0.030017264187335968 ]
ArthurZ/tiny-random-bert-sharded
ArthurZ
2022-06-17T08:07:42Z
7,691
0
transformers
[ "transformers", "tf", "bert", "feature-extraction", "generated_from_keras_callback", "endpoints_compatible", "region:us" ]
feature-extraction
2022-06-17T07:49:01Z
--- tags: - generated_from_keras_callback model-index: - name: tiny-random-bert-sharded results: [] --- <!-- This model card has been generated automatically according to the information Keras had access to. You should probably proofread and complete it, then remove this comment. --> # tiny-random-bert-sharded This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set: ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data More information needed ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - optimizer: None - training_precision: float32 ### Training results ### Framework versions - Transformers 4.21.0.dev0 - TensorFlow 2.9.0 - Datasets 2.2.2 - Tokenizers 0.12.1
[ -0.5186694860458374, -0.6252179741859436, 0.4555654227733612, -0.06329416483640671, -0.6416774988174438, -0.5258802175521851, -0.04695427790284157, -0.3718792498111725, 0.14994698762893677, 0.4327624440193176, -0.6553422212600708, -0.38526487350463867, -0.7931423187255859, -0.39967817068099976, -0.4036809504032135, 1.1900241374969482, 0.3642062544822693, 0.5779336094856262, -0.17616964876651764, -0.07650940120220184, -0.29531750082969666, -0.5076546669006348, -1.0771150588989258, -0.6618344783782959, 0.4474806487560272, 0.36275383830070496, 0.838743269443512, 0.9592527747154236, 0.7574391961097717, 0.35651639103889465, -0.18733122944831848, -0.2602114677429199, -0.5478559732437134, -0.4819900691509247, -0.012045217677950859, -0.5013673901557922, -0.4620662331581116, -0.04541695490479469, 0.7777020931243896, 0.5482276678085327, -0.2796853482723236, 0.511059582233429, -0.057487260550260544, 0.3207953870296478, -0.4375889301300049, 0.1499512642621994, -0.643138587474823, 0.5792093276977539, -0.17414610087871552, -0.0028876974247395992, -0.28198811411857605, -0.31962358951568604, 0.14731653034687042, -0.5046467781066895, 0.6342104077339172, -0.027404600754380226, 1.2610183954238892, 0.21664740145206451, -0.026323584839701653, -0.1826719492673874, -0.824423611164093, 0.7097645401954651, -0.6771336197853088, 0.1681963950395584, 0.36661896109580994, 0.619817852973938, 0.09361852705478668, -1.0634243488311768, -0.48568522930145264, -0.042933959513902664, 0.10532750189304352, -0.0560527965426445, -0.31729426980018616, -0.08672332018613815, 0.4921548664569855, 0.3851170837879181, -0.08233314752578735, 0.44547614455223083, -0.6972916722297668, -0.32076993584632874, 0.6982052326202393, 0.4937847852706909, -0.3178847134113312, -0.3440301716327667, -0.47965818643569946, -0.5097930431365967, -0.2299579232931137, 0.07048240303993225, 0.6836896538734436, 0.29596641659736633, -0.37997323274612427, 0.7491409778594971, -0.0022028316743671894, 0.4814552664756775, 0.1320224553346634, 0.15601344406604767, 0.3684980571269989, 0.1501367837190628, -0.5583043098449707, -0.006376063451170921, 0.9140353798866272, 0.3712422847747803, 0.05352718010544777, -0.053766220808029175, -0.47516196966171265, -0.39703452587127686, 0.4105347692966461, -0.754917562007904, -0.4675358235836029, 0.15042394399642944, -1.0170910358428955, -1.1276692152023315, -0.006620758678764105, -0.7005010843276978, -0.19700028002262115, -0.25399333238601685, 0.8117648959159851, -0.2876948118209839, -0.013882252387702465, -0.09536447376012802, -0.3541100323200226, 0.2550973892211914, 0.15663981437683105, -0.7151910662651062, 0.2680039703845978, 0.564247727394104, 0.34237149357795715, 0.13782544434070587, -0.21656601130962372, 0.01466720923781395, -0.10494665056467056, -0.372008353471756, 0.4601721167564392, -0.20456084609031677, -0.4838087260723114, -0.28880903124809265, 0.15704171359539032, 0.11316955089569092, -0.39422422647476196, 1.0122166872024536, -0.4826488494873047, 0.25224772095680237, -0.5434214472770691, -0.6740283370018005, -0.2994209825992584, 0.0933300256729126, -0.7898749113082886, 1.0911890268325806, -0.0983288511633873, -0.6784172058105469, 0.6424685716629028, -0.8321740627288818, -0.21444474160671234, 0.20109213888645172, -0.10832958668470383, -0.8203971982002258, 0.37514904141426086, -0.056992046535015106, 0.578169047832489, -0.20514199137687683, -0.012477042153477669, -0.4513849914073944, -0.4906272292137146, -0.06313607096672058, -0.5090672373771667, 0.7977662682533264, 0.41998210549354553, -0.32986319065093994, 0.012024740688502789, -1.0976781845092773, 0.4204154312610626, 0.4948571026325226, -0.3083448112010956, -0.011880350299179554, -0.2293158620595932, 0.4535490572452545, 0.15827365219593048, 0.42848703265190125, -0.7831721305847168, 0.037189364433288574, -0.22696806490421295, 0.2395705282688141, 0.9118178486824036, 0.18810643255710602, 0.0532752126455307, -0.4735446274280548, 0.061199773102998734, 0.2749205231666565, 0.2051050215959549, 0.33732178807258606, -0.6013422012329102, -0.9795031547546387, -0.19469289481639862, 0.6320978999137878, 0.08462999016046524, -0.21786558628082275, 0.756053626537323, -0.012313858605921268, -0.9268621802330017, -0.5966223478317261, 0.14737646281719208, 0.3963441848754883, 0.38005897402763367, 0.048594750463962555, -0.24295304715633392, -0.5581608414649963, -1.1908621788024902, 0.347029447555542, 0.0027925032190978527, -0.006050746887922287, 0.40142518281936646, 0.6857810020446777, -0.2164331078529358, 0.6653202772140503, -0.5756347179412842, -0.14239485561847687, -0.0931820347905159, 0.22972372174263, 0.3195069134235382, 0.9301196336746216, 0.5051726698875427, -0.5367875099182129, 0.08223278820514679, -0.2288852035999298, -0.6227512955665588, 0.4500364065170288, -0.1328476071357727, -0.3588220477104187, -0.2644672989845276, 0.33459582924842834, -0.5704690217971802, 0.41520121693611145, 0.1723828762769699, -0.021733425557613373, 0.4916246235370636, -0.6385052800178528, -0.2863224446773529, -1.0381957292556763, 0.2645511031150818, -0.058222196996212006, 0.052188705652952194, -0.24351365864276886, 0.22161346673965454, -0.013464082032442093, -0.4078068137168884, -0.4259602129459381, 0.5344287753105164, 0.07599109411239624, -0.15472964942455292, -0.16617515683174133, -0.3850926458835602, -0.0672452449798584, 0.6083061099052429, 0.28145599365234375, 0.29201000928878784, 0.4152289032936096, -0.7397292256355286, 0.4473292827606201, 0.4074898064136505, -0.4916577935218811, 0.4357719123363495, -0.9787434339523315, 0.3503883183002472, -0.20190750062465668, -0.3441852033138275, -0.7934000492095947, -0.4004130959510803, 0.40080782771110535, -0.3172936737537384, 0.16336527466773987, -0.03805803880095482, -0.6724423766136169, -0.6373574137687683, -0.06670276820659637, 0.3129516541957855, 0.7013542056083679, -0.8341831564903259, 0.3995504677295685, 0.2128991335630417, 0.436949759721756, -0.2881592810153961, -0.8434238433837891, -0.36730265617370605, 0.04148329049348831, -0.41152405738830566, 0.09184549748897552, -0.1326979100704193, -0.056293588131666183, 0.12809737026691437, 0.2843213975429535, -0.40746185183525085, -0.07491806149482727, 0.38044291734695435, 0.22035568952560425, -0.22051192820072174, 0.21200397610664368, 0.10560306161642075, -0.04504885524511337, 0.26473116874694824, 0.14205268025398254, 0.4732908010482788, -0.24593201279640198, -0.5733851790428162, -0.5190110206604004, -0.11939936876296997, 0.3701866567134857, 0.1640901118516922, 0.5921013951301575, 0.9547340869903564, -0.5892470479011536, -0.10822619497776031, -0.4566648602485657, -0.21434307098388672, -0.4534194767475128, 0.5287502408027649, -0.4188750386238098, -0.25711172819137573, 0.7364255785942078, 0.3936951458454132, 0.15350313484668732, 0.9376984238624573, 0.7397603988647461, -0.4334084093570709, 1.0245195627212524, 0.49202412366867065, 0.043310798704624176, 0.18627691268920898, -0.5503612756729126, -0.13289658725261688, -0.5901485085487366, -0.5038771033287048, -0.43425559997558594, -0.5544325709342957, -0.7329407334327698, -0.024082373827695847, 0.2764127254486084, 0.06726453453302383, -0.315394788980484, 0.39775022864341736, -0.669181764125824, 0.43290793895721436, 0.9236607551574707, 0.6084252595901489, -0.1895207315683365, 0.10359718650579453, -0.45157966017723083, -0.09769953787326813, -0.92575603723526, -0.24336665868759155, 1.4213335514068604, 0.7062084674835205, 0.5818946361541748, -0.3581489026546478, 0.712141752243042, 0.4828989803791046, 0.019016826525330544, -0.5122256875038147, 0.5972623229026794, 0.12958821654319763, -0.9755340218544006, -0.358150839805603, -0.2973839044570923, -0.9253186583518982, 0.13571768999099731, -0.4585881531238556, -0.4295103847980499, 0.23763296008110046, 0.057697560638189316, -0.5131266713142395, 0.5195119380950928, -0.635066568851471, 0.944709062576294, -0.16056199371814728, -0.09374363720417023, -0.34153762459754944, -0.46431735157966614, 0.4406714141368866, -0.1483151763677597, -0.26076215505599976, 0.0076130833476781845, 0.19775955379009247, 1.0981587171554565, -0.8060922622680664, 0.7309983372688293, -0.4752735197544098, 0.33390113711357117, 0.5336102247238159, -0.256313681602478, 0.5406098961830139, -0.050066132098436356, -0.08510050177574158, 0.2839886546134949, -0.0312671959400177, -0.6254661679267883, -0.08429013937711716, 0.7096700072288513, -1.1924569606781006, -0.0018737039063125849, -0.3372165262699127, -0.6139011979103088, 0.017831673845648766, 0.26269248127937317, 0.6427838802337646, 0.5143502354621887, -0.29422229528427124, 0.29408541321754456, 0.6825429201126099, 0.05648212507367134, 0.7491806745529175, 0.3214193880558014, 0.12731246650218964, -0.4963119328022003, 0.7382025122642517, -0.05087817832827568, 0.008250369690358639, -0.12520445883274078, 0.2317601591348648, -0.25327858328819275, -0.4461808204650879, -0.39417436718940735, 0.11136028915643692, -0.8906251788139343, -0.12627236545085907, -0.2256295382976532, -0.620081901550293, -0.18973250687122345, -0.013526036404073238, -0.41211366653442383, -0.4553539752960205, -0.2793521285057068, -0.23396998643875122, 0.14074192941188812, 0.8441038131713867, -0.3145764470100403, 0.7377856969833374, -0.780487060546875, 0.10250892490148544, 0.5687836408615112, 0.45582377910614014, 0.36401593685150146, -0.5997843146324158, -0.4391625225543976, 0.11211887747049332, -0.31244057416915894, -0.19244793057441711, 0.09149768203496933, -0.06683522462844849, 0.8072963356971741, 0.7552205324172974, -0.3063662648200989, 0.6094310283660889, -0.2762802839279175, 0.7417708039283752, 0.1565002053976059, -0.4735530614852905, 0.2464175969362259, -0.2084427773952484, 0.43080446124076843, 0.615932047367096, 0.4004290699958801, 0.15025316178798676, -0.09341676533222198, -1.462347388267517, -0.38203153014183044, 0.726970374584198, 0.456775426864624, 0.3328005075454712, 0.05197592452168465, 0.3129233717918396, 0.08955331891775131, 0.40677064657211304, -0.7576097249984741, -0.48681893944740295, 0.04887150973081589, -0.01739836484193802, 0.08571089804172516, -0.5791666507720947, -0.20003703236579895, -0.6378400325775146, 1.0129969120025635, 0.381979763507843, 0.7233394384384155, -0.11004956811666489, 0.138963982462883, -0.37026411294937134, -0.2231667935848236, 0.6250759959220886, 0.5180948972702026, -0.5461699366569519, -0.24352243542671204, 0.19226989150047302, -0.6159785389900208, -0.24281561374664307, 0.17638371884822845, -0.26732516288757324, 0.292121946811676, 0.2041311115026474, 0.8249123692512512, 0.3811066746711731, -0.22475168108940125, 0.5112084150314331, -0.0677257552742958, -0.33330705761909485, -0.34766507148742676, 0.19234101474285126, -0.12979742884635925, 0.14181412756443024, 0.1505686342716217, 0.7412392497062683, -0.03787599131464958, -0.05719788745045662, 0.40737250447273254, 0.4260919988155365, -0.477548748254776, -0.1834426373243332, 0.8582993149757385, 0.1259371042251587, -0.3200478255748749, 0.7520313858985901, -0.2168712317943573, -0.14138345420360565, 0.865993082523346, 0.2940194308757782, 0.9385653138160706, 0.001819005934521556, 0.10868716239929199, 0.620067298412323, 0.25490802526474, 0.015086304396390915, 0.5311090350151062, -0.2498442679643631, -0.9293544292449951, -0.06200861930847168, -0.7448431849479675, -0.44026049971580505, 0.5869013071060181, -1.1069611310958862, 0.6647213101387024, -0.8603590726852417, -0.3191494643688202, 0.45734232664108276, 0.15560263395309448, -1.1417790651321411, 0.6278272867202759, 0.3173448443412781, 1.0549139976501465, -0.9662144184112549, 0.9307852983474731, 0.5194280743598938, -0.45574048161506653, -0.7118425965309143, -0.3502022624015808, -0.3320240378379822, -1.2544702291488647, 0.6163272857666016, -0.18417906761169434, 0.46156537532806396, 0.23928049206733704, -0.6811797618865967, -0.745381236076355, 0.9545893669128418, -0.01523461565375328, -0.39034098386764526, -0.05827721953392029, 0.34067171812057495, 0.5652721524238586, -0.1827465146780014, 0.5002307295799255, 0.2508770823478699, 0.34762224555015564, 0.1848984807729721, -0.6886346340179443, -0.26847919821739197, -0.20990967750549316, 0.24848265945911407, 0.03162557631731033, -0.5927392840385437, 0.8026413321495056, -0.07658003270626068, 0.4819034934043884, 0.39741334319114685, 0.5788881778717041, 0.2760450541973114, 0.015766888856887817, 0.5354170799255371, 1.0805671215057373, 0.6887800097465515, -0.026809336617588997, 1.0496615171432495, -0.37496131658554077, 0.5659465193748474, 1.1840788125991821, 0.15374577045440674, 0.6461588144302368, 0.33984994888305664, -0.19095788896083832, 0.2672993242740631, 0.8104099035263062, -0.8159109950065613, 0.7038598656654358, -0.027099857106804848, 0.12139694392681122, -0.32072100043296814, 0.21459883451461792, -0.4691922068595886, 0.5096331238746643, 0.007812967523932457, -1.0331897735595703, -0.5149280428886414, -0.08943519741296768, -0.17552067339420319, -0.35623496770858765, -0.6764776110649109, 0.5182490944862366, -0.2458040863275528, -0.15817658603191376, 0.3291254937648773, 0.39838093519210815, 0.29450711607933044, -0.6218217611312866, -0.03633210062980652, 0.22816909849643707, 0.267987996339798, -0.044907063245773315, -0.6706461906433105, 0.11955790221691132, -0.18313318490982056, -0.42388996481895447, -0.014896968379616737, 0.8222277164459229, -0.09327606856822968, -1.0302143096923828, -0.2576441168785095, 0.3137342035770416, 0.45579031109809875, 0.19655373692512512, -1.0430158376693726, -0.07179229706525803, -0.07370661944150925, -0.284924179315567, 0.17517158389091492, 0.40301084518432617, 0.14895786345005035, 0.5180454254150391, 0.6112735867500305, -0.04997795447707176, 0.16756217181682587, 0.05531769245862961, 0.7608568668365479, -0.4500352144241333, -0.7194744944572449, -0.6665915846824646, 0.4982094168663025, -0.17161454260349274, -0.7386949062347412, 0.7135752439498901, 1.058881163597107, 0.9101658463478088, -0.38113564252853394, 0.5869020819664001, -0.21915282309055328, 0.4035095274448395, -0.35265088081359863, 0.8699941039085388, -0.1994290053844452, -0.11120212078094482, -0.14058589935302734, -0.8268407583236694, 0.2909863293170929, 0.5237843990325928, -0.1778648942708969, 0.17827138304710388, 0.3913392126560211, 0.5485354065895081, -0.28769782185554504, 0.2699437141418457, 0.4048144519329071, 0.013290631584823132, -0.1658593863248825, 0.18341542780399323, 0.3356247842311859, -0.9238287806510925, 0.5384787321090698, -0.9284226298332214, 0.2463112771511078, -0.12003341317176819, -0.7971541285514832, -0.9782843589782715, -0.42904847860336304, -0.3940645456314087, -0.3570344150066376, -0.16708338260650635, 0.8984061479568481, 0.8910601735115051, -0.8924339413642883, -0.21401281654834747, -0.058532387018203735, -0.16070666909217834, -0.1627413034439087, -0.19886676967144012, 0.5206378102302551, -0.21074023842811584, -0.6460684537887573, -0.07825673371553421, -0.4761996567249298, 0.3343993127346039, -0.27156296372413635, -0.09820427000522614, 0.04239225015044212, -0.13244709372520447, 0.03664053604006767, 0.01615450717508793, -0.4228366017341614, -0.5603076815605164, -0.45370087027549744, -0.2595340609550476, 0.1794975847005844, 0.32038140296936035, -0.5575172901153564, 0.5024014711380005, 0.251906156539917, 0.42535796761512756, 0.8514556288719177, -0.06733650714159012, 0.4347359240055084, -0.8514057993888855, 0.4544981122016907, 0.1961289495229721, 0.3830864131450653, -0.08490482717752457, -0.5449894666671753, 0.3788559138774872, 0.2950696349143982, -0.4034275412559509, -0.8713478446006775, -0.3041808009147644, -0.846979022026062, 0.2291005551815033, 0.9188041687011719, 0.1320468932390213, -0.48461639881134033, 0.57321697473526, -0.0029439267236739397, 0.14762313663959503, -0.18247650563716888, 0.5486339330673218, 0.7771028280258179, 0.026167621836066246, 0.08750294893980026, -0.39676719903945923, 0.40301695466041565, 0.36275747418403625, -0.4264087677001953, -0.5665625333786011, 0.1342560052871704, 0.5516306757926941, 0.07650522887706757, 0.18487487733364105, -0.2189188152551651, 0.5111594200134277, 0.3414651155471802, 0.4857342839241028, -0.5078498125076294, -0.17212365567684174, -0.4389340877532959, 0.25428062677383423, 0.042450424283742905, -0.7536416053771973 ]
microsoft/BiomedVLP-BioViL-T
microsoft
2023-03-20T17:04:32Z
7,680
10
transformers
[ "transformers", "pytorch", "bert", "feature-extraction", "exbert", "custom_code", "en", "arxiv:2301.04558", "arxiv:2204.09817", "license:mit", "has_space", "region:us" ]
feature-extraction
2023-02-17T10:19:58Z
--- language: en tags: - exbert license: mit widget: - text: "Left pleural effusion with adjacent [MASK]." example_title: "Radiology 1" - text: "Heart size normal and lungs are [MASK]." example_title: "Radiology 2" - text: "[MASK] is a tumor suppressor gene." example_title: "Biomedical" - text: "The patient was on [MASK] for chronic atrial fibrillation" example_title: "Medication" --- # BioViL-T [BioViL-T](https://arxiv.org/abs/2301.04558) is a domain-specific vision-language model designed to analyze chest X-rays (CXRs) and radiology reports. It was trained using a temporal multi-modal pre-training procedure, which distinguishes it from its predecessor model ([BioViL](https://www.ecva.net/papers/eccv_2022/papers_ECCV/papers/136960001.pdf)). In detail, BioViL-T takes advantage of the temporal structure between data points, resulting in improved downstream performance on multiple benchmarks, while using the same training dataset as its predecessor. In particular, the resultant model displays significant improvement in embedding temporal information present in the image and text modalities (see [results](#performance)), as well as in the joint space. The canonical model can be adapted to both single- and multi-image downstream applications including: natural language inference, phrase-grounding, image/text classification, and language decoding. The corresponding BERT language model is trained in two stages: First, we pretrain [CXR-BERT-general](https://huggingface.co/microsoft/BiomedVLP-CXR-BERT-general) from a randomly initialized BERT model via Masked Language Modeling (MLM) on [PubMed](https://pubmed.ncbi.nlm.nih.gov/) abstracts and clinical notes from the publicly-available [MIMIC-III](https://physionet.org/content/mimiciii/1.4/) and [MIMIC-CXR](https://physionet.org/content/mimic-cxr/). The general model can be fine-tuned for research in other clinical domains by adjusting the parameters specific to the target domain. In the second stage, BioViL-T is continually pretrained from CXR-BERT-general using a multi-modal pre-training procedure by utilising radiology reports and sequences of chest X-rays. We utilise the latent representation of [CLS] token to align text and image embeddings. ## Language model variations | Model | Model identifier on HuggingFace | Vocabulary | Note | | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -------------- | --------------------------------------------------------- | | CXR-BERT-general | [microsoft/BiomedVLP-CXR-BERT-general](https://huggingface.co/microsoft/BiomedVLP-CXR-BERT-general) | PubMed & MIMIC | Pretrained for biomedical literature and clinical domains | | CXR-BERT-specialized | [microsoft/BiomedVLP-CXR-BERT-specialized](https://huggingface.co/microsoft/BiomedVLP-CXR-BERT-specialized) | PubMed & MIMIC | Static pretraining for the CXR domain | | BioViL-T | [microsoft/BiomedVLP-BioViL-T](https://huggingface.co/microsoft/BiomedVLP-BioViL-T) | PubMed & MIMIC | Static & temporal pretraining for the CXR domain ## Image model The image model is jointly trained with the text model in a multi-modal contrastive learning framework. It's a hybrid image encoder composed of a Vision Transformer and ResNet-50, where the latter is used as backbone network to extract features from images at each time point. The transformer is included in the design to aggregate and compare image features extracted across the temporal dimension. The corresponding model definition and its loading functions can be accessed through our [HI-ML-Multimodal](https://github.com/microsoft/hi-ml/blob/main/hi-ml-multimodal/src/health_multimodal/image/model/model.py) GitHub repository. The joint image and text model, namely [BioViL-T](https://arxiv.org/abs/2204.09817), can be used in phrase grounding applications as shown in this python notebook [example](https://mybinder.org/v2/gh/microsoft/hi-ml/HEAD?labpath=hi-ml-multimodal%2Fnotebooks%2Fphrase_grounding.ipynb). Additionally, please check the [MS-CXR benchmark](https://physionet.org/content/ms-cxr/0.1/) for a more systematic evaluation of joint image and text models in phrase grounding tasks. ## Citation The corresponding manuscript is accepted to be presented at the [**Conference on Computer Vision and Pattern Recognition (CVPR) 2023**](https://cvpr2023.thecvf.com/) ```bibtex @misc{https://doi.org/10.48550/arXiv.2301.04558, doi = {10.48550/ARXIV.2301.04558}, url = {https://arxiv.org/abs/2301.04558}, author = {Bannur, Shruthi and Hyland, Stephanie and Liu, Qianchu and Perez-Garcia, Fernando and Ilse, Maximilian and Castro, Daniel C and Boecking, Benedikt and Sharma, Harshita and Bouzid, Kenza and Thieme, Anja and Schwaighofer, Anton and Wetscherek, Maria and Lungren, Matthew P and Nori, Aditya and Alvarez-Valle, Javier and Oktay, Ozan} title = {Learning to Exploit Temporal Structure for Biomedical Vision–Language Processing}, publisher = {arXiv}, year = {2023}, } ``` ## Model Use ### Intended Use This model is intended to be used solely for (I) future research on visual-language processing and (II) reproducibility of the experimental results reported in the reference paper. #### Primary Intended Use The primary intended use is to support AI researchers building on top of this work. CXR-BERT and its associated models should be helpful for exploring various clinical NLP & VLP research questions, especially in the radiology domain. #### Out-of-Scope Use **Any** deployed use case of the model --- commercial or otherwise --- is currently out of scope. Although we evaluated the models using a broad set of publicly-available research benchmarks, the models and evaluations are not intended for deployed use cases. Under unprecedented conditions, the models may make inaccurate predictions and display limitations, which may require additional mitigation strategies. Therefore, we discourage use of the model for automated diagnosis or in a medical device. Please refer to [the associated paper](https://arxiv.org/abs/2301.04558) for more details. ### How to use Here is how to use this model to extract radiological sentence embeddings and obtain their cosine similarity in the joint space (image and text): ```python import torch from transformers import AutoModel, AutoTokenizer # Load the model and tokenizer url = "microsoft/BiomedVLP-BioViL-T" tokenizer = AutoTokenizer.from_pretrained(url, trust_remote_code=True) model = AutoModel.from_pretrained(url, trust_remote_code=True) # Input text prompts describing findings. # The order of prompts is adjusted to capture the spectrum from absence of a finding to its temporal progression. text_prompts = ["No pleural effusion or pneumothorax is seen.", "There is no pneumothorax or pleural effusion.", "The extent of the pleural effusion is reduced.", "The extent of the pleural effusion remains constant.", "Interval enlargement of pleural effusion."] # Tokenize and compute the sentence embeddings with torch.no_grad(): tokenizer_output = tokenizer.batch_encode_plus(batch_text_or_text_pairs=text_prompts, add_special_tokens=True, padding='longest', return_tensors='pt') embeddings = model.get_projected_text_embeddings(input_ids=tokenizer_output.input_ids, attention_mask=tokenizer_output.attention_mask) # Compute the cosine similarity of sentence embeddings obtained from input text prompts. sim = torch.mm(embeddings, embeddings.t()) ``` ## Data This model builds upon existing publicly-available datasets: - [PubMed](https://pubmed.ncbi.nlm.nih.gov/) - [MIMIC-III](https://physionet.org/content/mimiciii/) - [MIMIC-CXR](https://physionet.org/content/mimic-cxr/) These datasets reflect a broad variety of sources ranging from biomedical abstracts to intensive care unit notes to chest X-ray radiology notes. The radiology notes are accompanied with their associated chest x-ray DICOM images in MIMIC-CXR dataset. ## Performance The presented model achieves state-of-the-art results in radiology natural language inference by leveraging semantics and discourse characteristics at training time more efficiently. The experiments were performed on the RadNLI and MS-CXR-T benchmarks, which measure the quality of text embeddings in terms of static and temporal semantics respectively. BioViL-T is benchmarked against other commonly used SOTA domain specific BERT models, including [PubMedBERT](https://aka.ms/pubmedbert) and [CXR-BERT](https://aka.ms/biovil). The results below show that BioViL-T has increased sensitivity of sentence embeddings to temporal content (MS-CXR-T) whilst better capturing the static content (RadNLI). | | MS-CXR-T | MS-CXR-T | RadNLI (2 classes) | RadNLI (2 classes) | | ----------------------------------------------- | :-------------------------------: | :----------------------: | :-------------------------: | :-------------: | | | Accuracy | ROC-AUC | Accuracy | ROC-AUC | | [PubMedBERT]((https://aka.ms/pubmedbert)) | 60.39 | .542 | 81.38 | .727 | | [CXR-BERT-General](https://huggingface.co/microsoft/BiomedVLP-CXR-BERT-general) | 62.60 | .601 | 87.59 | .902 | | [CXR-BERT-Specialized]((https://huggingface.co/microsoft/BiomedVLP-CXR-BERT-specialized)) | 78.12 | .837 | 89.66 | .932 | | **BioViL-T** | **87.77** | **.933** | **90.52** | **.947** | The novel pretraining framework yields also better vision-language representations. Below is the zero-shot phrase grounding performance obtained on the [MS-CXR](https://physionet.org/content/ms-cxr/0.1/) benchmark dataset, which evaluates the quality of image-text latent representations. | Vision–Language Pretraining Method | MS-CXR Phrase Grounding (Avg. CNR Score) | MS-CXR Phrase Grounding (mIoU) | | ---------------------------------- | :--------------------------------------: | :----------------------------: | | BioViL | 1.07 +- 0.04 | 0.229 +- 0.005 | | BioViL-L | 1.21 +- 0.05 | 0.202 +- 0.010 | | **BioViL-T** | **1.33 +- 0.04** | **0.240 +- 0.005** | Additional experimental results and discussion can be found in the corresponding paper, ["Learning to Exploit Temporal Structure for Biomedical Vision–Language Processing", CVPR'23](https://arxiv.org/abs/2301.04558). ## Limitations This model was developed using English corpora, and thus can be considered English-only. The training dataset contains only medical images and reports acquired from an intensive-care-unit (ICU), where longitudinal images are often collected within range of hours or at most few days. As a result, the models may show reduced performance in analyzing consecutive images acquired over longer periods of time (e.g. years) where significant anatomical variations are observed between the scans. ## Further information Please refer to the corresponding paper, ["Learning to Exploit Temporal Structure for Biomedical Vision–Language Processing", CVPR'23](https://arxiv.org/abs/2301.04558.pdf) for additional details on the model training and evaluation. For additional inference pipelines with BioViL-T, please refer to the [HI-ML GitHub](https://aka.ms/biovil-t-code) repository. The associated source files will soon be accessible through this link.
[ -0.17096339166164398, -0.6753765344619751, 0.5812805891036987, 0.09935461729764938, -0.44291141629219055, -0.05375765264034271, 0.053873881697654724, -0.4285508990287781, 0.15243405103683472, 0.2969817817211151, -0.389706015586853, -0.7511335611343384, -0.7417101263999939, 0.08681792765855789, -0.05239807814359665, 0.7973935604095459, -0.02836926095187664, 0.3008332848548889, -0.22692765295505524, -0.35090696811676025, -0.2884534001350403, -0.5939956903457642, -0.4429032504558563, -0.3632940948009491, 0.34023502469062805, -0.1891266107559204, 0.7780802845954895, 0.7108494639396667, 0.5547589659690857, 0.25323599576950073, -0.09192442148923874, 0.029530033469200134, -0.2195555865764618, -0.21976223587989807, -0.10400447994470596, -0.23353424668312073, -0.40342846512794495, -0.05622293800115585, 0.6285162568092346, 0.6465903520584106, 0.1349487602710724, -0.13130497932434082, 0.00868842750787735, 0.3658851087093353, -0.33932754397392273, 0.23651738464832306, -0.3552776873111725, 0.2340577244758606, 0.026920553296804428, -0.3721618354320526, -0.3584461510181427, -0.24570241570472717, 0.3935130536556244, -0.518634021282196, 0.1480291783809662, 0.1879805475473404, 1.324726939201355, 0.16381676495075226, -0.33441224694252014, -0.25308042764663696, -0.1370939463376999, 0.7860366702079773, -0.6614389419555664, 0.595858097076416, 0.15842968225479126, 0.03739096596837044, 0.0876961350440979, -0.9883605241775513, -0.5005051493644714, -0.25492966175079346, -0.3636647164821625, 0.2867335081100464, -0.3813076317310333, 0.2537277936935425, 0.13542763888835907, 0.25955671072006226, -0.8376001119613647, -0.07982902228832245, -0.43062624335289, -0.3502271771430969, 0.2838771641254425, 0.07618582248687744, 0.4406229555606842, -0.47056373953819275, -0.531592607498169, -0.27017849683761597, -0.48812589049339294, -0.030413158237934113, -0.1956581026315689, 0.062317702919244766, -0.4912876784801483, 0.5950135588645935, 0.1199851781129837, 0.7522985935211182, 0.10233841836452484, -0.31177741289138794, 0.7888628244400024, -0.37543246150016785, -0.41028764843940735, -0.037613172084093094, 0.9393928050994873, 0.3301583230495453, -0.018761755898594856, -0.1430143117904663, 0.05453811585903168, 0.24213683605194092, 0.056239232420921326, -0.7956356406211853, -0.15716320276260376, 0.35450831055641174, -0.9234910011291504, -0.4694575369358063, 0.009697312489151955, -0.5775840878486633, -0.04746155068278313, -0.17557387053966522, 0.707687258720398, -0.7436562180519104, -0.012262650765478611, 0.17826728522777557, -0.23436382412910461, 0.2952723801136017, -0.011572464369237423, -0.3303842544555664, 0.16293364763259888, 0.26747918128967285, 1.0479333400726318, -0.0113506019115448, -0.0966896191239357, -0.44101327657699585, 0.03327784314751625, -0.0749092847108841, 0.6839112639427185, -0.5590545535087585, -0.4932821989059448, -0.06244321167469025, 0.31351563334465027, -0.2710026800632477, -0.39261704683303833, 0.4633252024650574, -0.31654202938079834, 0.43843671679496765, -0.01357216201722622, -0.5168209671974182, -0.19287247955799103, 0.25619426369667053, -0.49804702401161194, 0.9458945989608765, 0.17418035864830017, -0.8417770266532898, 0.17441129684448242, -0.5470343232154846, -0.35997897386550903, -0.05491247400641441, -0.5466257929801941, -0.7613224387168884, 0.009987586177885532, 0.517875075340271, 0.641319215297699, -0.11279308795928955, 0.26403579115867615, -0.23472502827644348, -0.16024453938007355, 0.2446879744529724, -0.059225451201200485, 0.9192588925361633, 0.20805037021636963, -0.46188151836395264, 0.06381259113550186, -0.8150952458381653, 0.07717971503734589, 0.158676415681839, -0.13856038451194763, -0.30074310302734375, -0.06847382336854935, 0.17975246906280518, 0.48847508430480957, 0.14377477765083313, -0.6592109799385071, 0.10785853862762451, -0.4925387501716614, 0.40156686305999756, 0.5344323515892029, 0.13567745685577393, 0.2175801694393158, -0.6484547853469849, 0.5139405131340027, 0.2475680410861969, 0.053824398666620255, -0.38195502758026123, -0.4397118091583252, -0.4895351827144623, -0.625228762626648, 0.13978742063045502, 0.640608012676239, -0.811453104019165, 0.5218671560287476, -0.39438480138778687, -0.5236217975616455, -0.6220993995666504, -0.24894337356090546, 0.739479124546051, 0.695621907711029, 0.6819420456886292, -0.3015180230140686, -0.6119359135627747, -0.9096735119819641, -0.015004937537014484, 0.015175709500908852, 0.0054685380309820175, 0.48441389203071594, 0.44788578152656555, -0.38882073760032654, 0.779589831829071, -0.6214395761489868, -0.5602239966392517, -0.09172727167606354, 0.3419456481933594, 0.2511906325817108, 0.5588445067405701, 0.6716631054878235, -0.6752011775970459, -0.44058382511138916, -0.014955053105950356, -1.0848877429962158, -0.08288636803627014, -0.18562816083431244, -0.0077885170467197895, 0.28185877203941345, 0.7780439853668213, -0.335321307182312, 0.5297316312789917, 0.6657851338386536, -0.3688603639602661, 0.3624364137649536, -0.3461986780166626, 0.12925665080547333, -1.410509705543518, 0.2664639949798584, 0.10339878499507904, -0.35709452629089355, -0.3550914525985718, 0.02226264588534832, 0.10177971422672272, -0.3040393590927124, -0.453419029712677, 0.6375170946121216, -0.7081445455551147, 0.20879940688610077, 0.032379575073719025, 0.04255523905158043, 0.12758183479309082, 0.49344632029533386, 0.3098154664039612, 0.5573994517326355, 0.6410605311393738, -0.4206114113330841, -0.08702187985181808, 0.41138097643852234, -0.2295074760913849, 0.42984938621520996, -1.007559895515442, 0.16272304952144623, -0.28075268864631653, 0.24245883524417877, -0.9329687356948853, 0.10427878797054291, 0.19832980632781982, -0.6472370624542236, 0.4864175021648407, -0.07855527848005295, -0.394761323928833, -0.3526586890220642, -0.37528011202812195, 0.35820117592811584, 0.5629132390022278, -0.39212220907211304, 0.6637563109397888, 0.24132026731967926, -0.037319365888834, -0.6244316101074219, -0.8443195223808289, -0.02032173052430153, 0.056600820273160934, -0.7629311680793762, 0.8188835978507996, -0.03814893215894699, 0.01794007420539856, 0.31583669781684875, 0.13509251177310944, -0.02780059538781643, -0.20313341915607452, 0.3938904404640198, 0.4212554693222046, -0.32840001583099365, 0.10626325756311417, 0.008176595903933048, -0.06170743331313133, -0.13493597507476807, -0.2708905041217804, 0.5823696255683899, -0.13044659793376923, -0.24293729662895203, -0.5666950941085815, 0.43038785457611084, 0.5369116067886353, -0.21019788086414337, 0.8222394585609436, 0.7790875434875488, -0.5286813378334045, 0.35000380873680115, -0.5610100030899048, -0.03719640150666237, -0.43497157096862793, 0.582141637802124, -0.329383909702301, -0.8899103999137878, 0.44901803135871887, 0.1350887268781662, -0.26616188883781433, 0.531719982624054, 0.6669405698776245, -0.2048957645893097, 1.006850004196167, 0.6595284342765808, 0.048700444400310516, 0.38511601090431213, -0.41393139958381653, 0.13644270598888397, -0.9260408878326416, -0.3768675923347473, -0.44542160630226135, -0.07629300653934479, -0.5842011570930481, -0.5324388742446899, 0.645569384098053, -0.22872436046600342, 0.02634645253419876, 0.10112106055021286, -0.5859278440475464, 0.07093674689531326, 0.28804507851600647, 0.5593382120132446, 0.009025104343891144, 0.16594086587429047, -0.5520087480545044, -0.25302988290786743, -0.6757855415344238, -0.40991005301475525, 1.0169931650161743, 0.3994726538658142, 0.6402340531349182, -0.11043991893529892, 0.7676621079444885, 0.12252938747406006, 0.14093516767024994, -0.6462724208831787, 0.35330629348754883, -0.39093688130378723, -0.5062044262886047, 0.010105177760124207, -0.16455839574337006, -1.1793359518051147, 0.1550944447517395, -0.33827993273735046, -0.5839999914169312, 0.38243725895881653, 0.047822754830121994, -0.5163512229919434, 0.2614262104034424, -0.5125865936279297, 0.8476784229278564, -0.19758690893650055, -0.3496750295162201, -0.06502500176429749, -0.9096376895904541, 0.04633738473057747, 0.09491605311632156, 0.24448783695697784, 0.19663852453231812, -0.1565084010362625, 0.7508739233016968, -0.49756962060928345, 0.9443497657775879, -0.20436613261699677, 0.27506330609321594, 0.1861678957939148, -0.22069096565246582, 0.23549793660640717, -0.07747777551412582, 0.10313167423009872, 0.3547414243221283, 0.22656595706939697, -0.422133207321167, -0.29030007123947144, 0.4772748649120331, -1.0374311208724976, -0.2722247540950775, -0.7523642778396606, -0.4683973789215088, -0.02715066447854042, 0.3450440764427185, 0.6037232279777527, 0.8354486227035522, -0.17476266622543335, 0.4480917155742645, 0.806591808795929, -0.7320593595504761, 0.2734706401824951, 0.22696171700954437, -0.08481237292289734, -0.6337797045707703, 0.7480773329734802, 0.16064684092998505, 0.1422739177942276, 0.780670702457428, 0.22915691137313843, -0.2680779993534088, -0.5152753591537476, -0.016814149916172028, 0.5605395436286926, -0.712411105632782, -0.24803145229816437, -1.088509440422058, -0.3289848566055298, -0.6656297445297241, -0.36552760004997253, -0.06688263267278671, -0.1716281771659851, -0.45644626021385193, 0.07569137960672379, 0.2536349892616272, 0.3764220178127289, -0.09191659837961197, 0.3055732846260071, -0.9361213445663452, 0.40627872943878174, 0.026228684931993484, 0.14050278067588806, -0.2783311903476715, -0.6287037134170532, -0.2167007178068161, -0.13937412202358246, -0.3691900372505188, -0.8410565853118896, 0.6437680125236511, 0.36943259835243225, 0.7317085862159729, 0.22255021333694458, -0.19741369783878326, 0.7142107486724854, -0.4038640260696411, 0.7871266007423401, 0.23965735733509064, -0.8397691249847412, 0.6145070791244507, -0.29350677132606506, 0.4525856673717499, 0.31899237632751465, 0.6084137558937073, -0.3920009136199951, -0.23304618895053864, -0.8135455846786499, -0.9512787461280823, 0.39309558272361755, 0.13498423993587494, -0.060709353536367416, -0.22352056205272675, 0.34705206751823425, -0.056259095668792725, -0.0008463656413368881, -0.8290438055992126, -0.3019867241382599, -0.33939871191978455, -0.45260900259017944, -0.008200149983167648, -0.31035783886909485, -0.07399112731218338, -0.28354090452194214, 0.601081132888794, -0.1872263252735138, 0.8318589329719543, 0.7119447588920593, -0.4212510287761688, 0.09752321988344193, 0.09986008703708649, 0.6472422480583191, 0.542024552822113, -0.3621842861175537, 0.06005095690488815, 0.025588780641555786, -0.5902996063232422, -0.07219196856021881, 0.28509944677352905, 0.11379293352365494, 0.22680175304412842, 0.6145568490028381, 0.6672568917274475, 0.3139890432357788, -0.5294657945632935, 0.6894441843032837, -0.204228937625885, -0.3481290936470032, -0.33123502135276794, -0.3182498812675476, -0.01687602885067463, 0.2662839889526367, 0.3796515166759491, 0.16261638700962067, 0.0046508293598890305, -0.4248817563056946, 0.3989267945289612, 0.36579033732414246, -0.5248404741287231, -0.22539977729320526, 0.6968371868133545, -0.061068035662174225, 0.08144968748092651, 0.6219116449356079, -0.026798542588949203, -0.543556272983551, 0.5493649244308472, 0.5918855667114258, 0.8713769912719727, -0.09183702617883682, 0.03052358143031597, 0.584902286529541, 0.30693742632865906, 0.1686692237854004, 0.47593802213668823, 0.17271633446216583, -0.7168164253234863, -0.32443568110466003, -0.5109647512435913, 0.04822689667344093, 0.08824115246534348, -0.730086624622345, 0.40222427248954773, -0.5407724380493164, -0.2164860963821411, 0.09581207484006882, -0.01740720495581627, -0.8576740026473999, 0.4561835527420044, 0.15504024922847748, 0.8560951352119446, -0.8670084476470947, 0.9990646243095398, 0.7781066298484802, -0.7059915065765381, -0.7709731459617615, -0.05152883753180504, 0.03423395752906799, -1.014180064201355, 0.7553632855415344, 0.16405710577964783, 0.04059650003910065, 0.002098140772432089, -0.4636939465999603, -0.8377634286880493, 1.32352614402771, 0.10569331049919128, -0.4779329299926758, -0.25953957438468933, -0.07636277377605438, 0.5709512829780579, -0.45854440331459045, 0.2296343743801117, 0.12856532633304596, 0.1816653609275818, 0.08027191460132599, -0.9283937811851501, 0.27749377489089966, -0.39364877343177795, 0.15601643919944763, -0.1243661642074585, -0.5855027437210083, 0.859631359577179, -0.24201560020446777, -0.14326763153076172, 0.18615728616714478, 0.6065720915794373, 0.36154645681381226, 0.2315705120563507, 0.30837365984916687, 0.7729557156562805, 0.6060788631439209, -0.09546525031328201, 1.2300368547439575, -0.37588343024253845, 0.34368813037872314, 0.9040892720222473, 0.013332420028746128, 0.6818180084228516, 0.4607681334018707, -0.11221723258495331, 0.6716070771217346, 0.5705058574676514, -0.11588705331087112, 0.6826167106628418, -0.13044528663158417, -0.008020302280783653, -0.0516524575650692, -0.09325037151575089, -0.7013223767280579, 0.36379411816596985, 0.47138920426368713, -0.7980406284332275, -0.0507519394159317, 0.18233147263526917, 0.35576534271240234, -0.14143317937850952, -0.09896796196699142, 0.6857949495315552, 0.1709594875574112, -0.3777672350406647, 0.7656521201133728, -0.06655450165271759, 0.7821741104125977, -0.6868549585342407, -0.030404401943087578, 0.02162172459065914, 0.31459304690361023, -0.20713479816913605, -0.5949538350105286, 0.4194066822528839, -0.3708510994911194, -0.15765635669231415, -0.13724800944328308, 0.6243835687637329, -0.36778226494789124, -0.5567299127578735, 0.37480977177619934, 0.37241947650909424, 0.04022578150033951, 0.16851092875003815, -0.9970325231552124, 0.30407360196113586, -0.04211699217557907, -0.1052980124950409, 0.31759876012802124, 0.37586143612861633, 0.012378649786114693, 0.46353939175605774, 0.4916074573993683, 0.08715755492448807, 0.019625665619969368, -0.01430273987352848, 0.9326019883155823, -0.6319058537483215, -0.6028306484222412, -0.7537963390350342, 0.5646991729736328, -0.08643392473459244, -0.24882221221923828, 0.5156182050704956, 0.5935279130935669, 0.764743447303772, -0.10424934327602386, 0.8600667715072632, -0.1861213743686676, 0.41923001408576965, -0.6631389260292053, 0.7024452090263367, -0.7565889358520508, 0.011395355686545372, -0.4539567828178406, -0.5208457112312317, -0.6571758389472961, 0.8050883412361145, -0.191417396068573, 0.12512145936489105, 1.0791807174682617, 0.9950211048126221, -0.051087334752082825, -0.40247419476509094, 0.3385576009750366, 0.4628251791000366, 0.33239713311195374, 0.5009434819221497, 0.2931884229183197, -0.653109610080719, 0.5119760036468506, -0.33131444454193115, -0.38732340931892395, -0.2041717916727066, -1.0247242450714111, -0.9786219596862793, -0.7501193284988403, -0.6203625202178955, -0.7080150246620178, 0.23415152728557587, 1.054452657699585, 0.8349780440330505, -0.6849217414855957, 0.013150905258953571, 0.2398519217967987, -0.2501470148563385, -0.27788278460502625, -0.20557568967342377, 0.7713536024093628, -0.2744234800338745, -0.3957880437374115, 0.12166095525026321, 0.27557501196861267, 0.20271115005016327, 0.009420787915587425, 0.03902088478207588, -0.5367672443389893, -0.03794898837804794, 0.6965096592903137, 0.2699674665927887, -0.7141500115394592, -0.292838454246521, 0.22240900993347168, -0.27852460741996765, 0.29021894931793213, 0.621142566204071, -0.8720096945762634, 0.6372622847557068, 0.5298380255699158, 0.535966157913208, 0.5400941371917725, -0.23698300123214722, 0.38893458247184753, -0.8091222047805786, 0.33022016286849976, 0.19152683019638062, 0.5556348562240601, 0.3876883089542389, -0.4697338938713074, 0.367900550365448, 0.4824259579181671, -0.5106256604194641, -0.6708190441131592, -0.14094308018684387, -1.297782063484192, -0.38500019907951355, 1.0663899183273315, -0.20185591280460358, -0.4009081721305847, -0.11347714811563492, -0.2720591127872467, 0.4933759272098541, -0.19223321974277496, 0.6135741472244263, 0.4715971052646637, -0.14872920513153076, -0.36347755789756775, -0.23428700864315033, 0.31924623250961304, 0.29786404967308044, -0.6523897647857666, -0.5861744284629822, 0.2964394688606262, 0.5050088167190552, 0.2532835900783539, 0.7608881592750549, -0.6522629857063293, 0.3061278760433197, -0.13595399260520935, 0.22533303499221802, -0.07518727332353592, 0.010055284015834332, -0.5144255757331848, 0.18440021574497223, -0.14365357160568237, -0.3225269019603729 ]
facebook/dinov2-base-imagenet1k-1-layer
facebook
2023-09-15T06:40:46Z
7,676
0
transformers
[ "transformers", "pytorch", "dinov2", "image-classification", "dino", "vision", "dataset:imagenet-1k", "arxiv:2304.07193", "license:apache-2.0", "autotrain_compatible", "endpoints_compatible", "region:us" ]
image-classification
2023-09-14T19:59:55Z
--- license: apache-2.0 tags: - dino - vision datasets: - imagenet-1k --- # Vision Transformer (base-sized model) trained using DINOv2 Vision Transformer (ViT) model trained using the DINOv2 method. It was introduced in the paper [DINOv2: Learning Robust Visual Features without Supervision](https://arxiv.org/abs/2304.07193) by Oquab et al. and first released in [this repository](https://github.com/facebookresearch/dinov2). Disclaimer: The team releasing DINOv2 did not write a model card for this model so this model card has been written by the Hugging Face team. ## Model description The Vision Transformer (ViT) is a transformer encoder model (BERT-like) pretrained on a large collection of images in a self-supervised fashion. Images are presented to the model as a sequence of fixed-size patches, which are linearly embedded. One also adds a [CLS] token to the beginning of a sequence to use it for classification tasks. One also adds absolute position embeddings before feeding the sequence to the layers of the Transformer encoder. Note that this model does not include any fine-tuned heads. By pre-training the model, it learns an inner representation of images that can then be used to extract features useful for downstream tasks: if you have a dataset of labeled images for instance, you can train a standard classifier by placing a linear layer on top of the pre-trained encoder. One typically places a linear layer on top of the [CLS] token, as the last hidden state of this token can be seen as a representation of an entire image. ## Intended uses & limitations You can use the model for classifying an image among one of the [1000 ImageNet labels](https://huggingface.co/datasets/huggingface/label-files/blob/main/imagenet-1k-id2label.json). See the [model hub](https://huggingface.co/models?search=facebook/dinov2) to look for other fine-tuned versions on a task that interests you. ### How to use Here is how to use this model: ```python from transformers import AutoImageProcessor, AutoModelForImageClassification from PIL import Image import requests url = 'http://images.cocodataset.org/val2017/000000039769.jpg' image = Image.open(requests.get(url, stream=True).raw) processor = AutoImageProcessor.from_pretrained('facebook/dinov2-base-imagenet1k-1-layer') model = AutoModelForImageClassification.from_pretrained('facebook/dinov2-base-imagenet1k-1-layer') inputs = processor(images=image, return_tensors="pt") outputs = model(**inputs) logits = outputs.logits predicted_class_idx = logits.argmax(-1).item() print("Predicted class:", model.config.id2label[predicted_class_idx]) ``` ### BibTeX entry and citation info ```bibtex misc{oquab2023dinov2, title={DINOv2: Learning Robust Visual Features without Supervision}, author={Maxime Oquab and Timothée Darcet and Théo Moutakanni and Huy Vo and Marc Szafraniec and Vasil Khalidov and Pierre Fernandez and Daniel Haziza and Francisco Massa and Alaaeldin El-Nouby and Mahmoud Assran and Nicolas Ballas and Wojciech Galuba and Russell Howes and Po-Yao Huang and Shang-Wen Li and Ishan Misra and Michael Rabbat and Vasu Sharma and Gabriel Synnaeve and Hu Xu and Hervé Jegou and Julien Mairal and Patrick Labatut and Armand Joulin and Piotr Bojanowski}, year={2023}, eprint={2304.07193}, archivePrefix={arXiv}, primaryClass={cs.CV} } ```
[ -0.5503402948379517, -0.37234899401664734, -0.037220217287540436, -0.10744030028581619, -0.3967563509941101, -0.10576758533716202, 0.140105739235878, -0.44758254289627075, 0.28296902775764465, 0.46509596705436707, -0.4227057695388794, -0.21714071929454803, -0.740146279335022, -0.19867311418056488, -0.370885968208313, 0.9191528558731079, -0.008411506190896034, -0.007287594489753246, -0.35818204283714294, -0.1070118099451065, -0.22475436329841614, -0.45995962619781494, -0.6727160811424255, -0.467024564743042, 0.4835650622844696, 0.10225989669561386, 0.6976850628852844, 0.9909313917160034, 0.437698096036911, 0.40397799015045166, -0.16226455569267273, -0.009665231220424175, -0.5185865759849548, -0.25050970911979675, -0.15288421511650085, -0.5032442212104797, -0.3414706289768219, 0.13941287994384766, 0.5100902318954468, 0.4384692907333374, 0.2390459030866623, 0.2898261845111847, 0.12328266352415085, 0.2235349863767624, -0.5371940732002258, 0.4090675413608551, -0.3167482018470764, 0.3607446849346161, -0.09586258977651596, -0.013737996108829975, -0.3363931477069855, -0.29864269495010376, 0.27284476161003113, -0.47585874795913696, 0.06474820524454117, 0.0023005399852991104, 1.215993881225586, 0.2855721414089203, -0.46484944224357605, -0.0355481319129467, -0.4979032874107361, 0.7442366480827332, -0.27062422037124634, 0.32839930057525635, 0.2664825916290283, 0.3563973307609558, 0.10439237207174301, -1.0403592586517334, -0.5417258143424988, 0.051994822919368744, -0.15873314440250397, 0.08559851348400116, -0.21786758303642273, 0.04667327553033829, 0.2963314950466156, 0.3314321041107178, -0.2195722758769989, 0.20838965475559235, -0.5205671191215515, -0.36618176102638245, 0.36344102025032043, -0.13628306984901428, 0.1949349194765091, -0.3295450806617737, -0.7585541009902954, -0.3674295246601105, -0.31537508964538574, 0.389441579580307, 0.2112969309091568, 0.07420121133327484, -0.19065625965595245, 0.5667325854301453, 0.05442466586828232, 0.5861300826072693, 0.3380398154258728, -0.16368426382541656, 0.5440770387649536, -0.24303314089775085, -0.30364519357681274, -0.03846775367856026, 0.8194390535354614, 0.3325723111629486, 0.3249987065792084, 0.044095005840063095, -0.3059597313404083, 0.08348093181848526, 0.2727321982383728, -0.9696991443634033, -0.2993389070034027, -0.08166421949863434, -0.5783147215843201, -0.5532135367393494, 0.20398424565792084, -0.6348127722740173, -0.15569652616977692, -0.34712931513786316, 0.6978369951248169, -0.2625921666622162, -0.3340093195438385, -0.36007431149482727, -0.004958351142704487, 0.673153817653656, 0.12065090239048004, -0.781538188457489, 0.3798336982727051, 0.44465723633766174, 0.8969907760620117, -0.07320434600114822, -0.2440200299024582, -0.22725921869277954, -0.1697729229927063, -0.4819674789905548, 0.6184534430503845, -0.2719646394252777, -0.12586171925067902, 0.12250187247991562, 0.43968021869659424, -0.020930694416165352, -0.42066994309425354, 0.30880221724510193, -0.39614105224609375, 0.2456105798482895, -0.27911993861198425, -0.3740812838077545, -0.30146917700767517, 0.2036716341972351, -0.5846825242042542, 1.0608881711959839, 0.3312433958053589, -0.8798068165779114, 0.4744826853275299, -0.4361262321472168, -0.19294027984142303, 0.038969218730926514, -0.05096699669957161, -0.7203030586242676, -0.22528451681137085, 0.2248302400112152, 0.5043494701385498, 0.07241133600473404, -0.10289960354566574, -0.3901027739048004, -0.4470182955265045, 0.2509361207485199, -0.05946563929319382, 0.9676278829574585, 0.11786126345396042, -0.3812338709831238, 0.13169777393341064, -0.6301985383033752, 0.03177168220281601, 0.23476485908031464, -0.2921367585659027, -0.15627840161323547, -0.27469077706336975, 0.17413385212421417, 0.3451780676841736, 0.263859361410141, -0.5997198820114136, 0.2391892671585083, -0.2464069277048111, 0.5509670376777649, 0.7816356420516968, -0.06844016164541245, 0.5520947575569153, -0.23734493553638458, 0.3766816556453705, 0.14686766266822815, 0.516538143157959, -0.33509838581085205, -0.6285314559936523, -0.8756813406944275, -0.19117607176303864, 0.3223492205142975, 0.5155454277992249, -0.8823275566101074, 0.49672967195510864, -0.15612304210662842, -0.334475040435791, -0.38933780789375305, 0.1243056207895279, 0.5655468702316284, 0.6129697561264038, 0.36831754446029663, -0.5524553060531616, -0.576856255531311, -0.8945772647857666, 0.2112719714641571, -0.0825328528881073, 0.09074759483337402, 0.28119295835494995, 0.6657257676124573, -0.33241406083106995, 0.8644552826881409, -0.10044921189546585, -0.2481999546289444, 0.029149632900953293, 0.04878775030374527, 0.1704234629869461, 0.7462558150291443, 0.772405207157135, -0.9159691333770752, -0.33843883872032166, -0.11276157945394516, -0.8561023473739624, 0.15353184938430786, 0.07069770991802216, -0.28517645597457886, 0.04990439489483833, 0.34317508339881897, -0.6783543825149536, 0.7386053800582886, 0.17794109880924225, -0.25976061820983887, 0.21671462059020996, -0.04109182208776474, 0.007751966826617718, -1.1109064817428589, -0.03696202114224434, 0.0010427532251924276, -0.4154321551322937, -0.6009071469306946, 0.12008947134017944, 0.09567911922931671, -0.061439014971256256, -0.49074655771255493, 0.4228498041629791, -0.4641336500644684, -0.2991352677345276, -0.2812519073486328, -0.2510809302330017, -0.006377312354743481, 0.5569851994514465, -0.004956801421940327, 0.35359981656074524, 0.8971819281578064, -0.43705517053604126, 0.6957861185073853, 0.4278343915939331, -0.421169251203537, 0.5655338764190674, -0.7309958338737488, 0.32146942615509033, -0.2531774342060089, 0.21708175539970398, -0.9877163767814636, -0.42955008149147034, 0.47156623005867004, -0.48571062088012695, 0.6443121433258057, -0.36745864152908325, -0.4180786907672882, -0.7824212908744812, -0.2232239693403244, 0.4254975914955139, 0.7427312731742859, -0.7691701054573059, 0.5227873921394348, 0.34142133593559265, 0.30458569526672363, -0.832205593585968, -1.1090130805969238, -0.10041220486164093, -0.1611797958612442, -0.4657483398914337, 0.3339563012123108, 0.2224607914686203, 0.24066856503486633, 0.3462032377719879, -0.08870682865381241, -0.2546163499355316, -0.23779165744781494, 0.6350914239883423, 0.30798548460006714, -0.3399452865123749, 0.024670535698533058, -0.19278407096862793, -0.14320625364780426, 0.08761683851480484, -0.6052897572517395, 0.471145898103714, -0.25455668568611145, -0.30532535910606384, -0.7126787900924683, 0.06546144187450409, 0.635052502155304, -0.2429511994123459, 0.671878457069397, 0.9464379549026489, -0.6529394388198853, -0.1234043687582016, -0.3260204792022705, -0.1474410891532898, -0.5120160579681396, 0.30845358967781067, -0.31614822149276733, -0.5799589157104492, 0.7415497899055481, 0.029476022347807884, -0.25240358710289, 0.45209088921546936, 0.46284133195877075, -0.13791266083717346, 0.828036367893219, 0.744684100151062, 0.026620158925652504, 0.7077357172966003, -0.7459960579872131, 0.012035124935209751, -0.7630587220191956, -0.6885802745819092, -0.03528441861271858, -0.4320187568664551, -0.4294048249721527, -0.46797481179237366, 0.11255376040935516, 0.38260722160339355, -0.33568117022514343, 0.5800798535346985, -0.7180277109146118, 0.4287903904914856, 0.8035783767700195, 0.5256977081298828, -0.3488517105579376, 0.11381705105304718, -0.2695586085319519, 0.1268242597579956, -0.6586518287658691, -0.09240400791168213, 0.9603232145309448, 0.5776988863945007, 0.7533218860626221, -0.12600554525852203, 0.5855333209037781, 0.09707451611757278, 0.11808767914772034, -0.9025695323944092, 0.4696591794490814, -0.13681553304195404, -0.5571863651275635, -0.13319329917430878, -0.25260016322135925, -0.918972909450531, -0.08856391906738281, -0.3199804723262787, -0.7341581583023071, 0.6179826855659485, 0.2696413993835449, -0.3188874423503876, 0.35950586199760437, -0.5930343866348267, 0.9443397521972656, -0.23100435733795166, -0.3229553699493408, 0.16743940114974976, -0.7006826996803284, 0.21068112552165985, -0.061885491013526917, -0.15006794035434723, 0.2724798321723938, 0.1949637234210968, 0.7373214960098267, -0.6090288758277893, 1.0557142496109009, -0.4393629729747772, 0.32226696610450745, 0.6182763576507568, -0.16180579364299774, 0.35529807209968567, -0.1071418821811676, 0.3522925078868866, 0.26605185866355896, -0.032199762761592865, -0.5255672335624695, -0.5003482103347778, 0.48037832975387573, -1.0221772193908691, -0.3240688443183899, -0.40288421511650085, -0.19392752647399902, 0.2469889521598816, 0.37361255288124084, 0.7048529386520386, 0.7139727473258972, 0.194725900888443, 0.44206473231315613, 0.6649572849273682, -0.33125555515289307, 0.44300079345703125, -0.23855511844158173, -0.3577793538570404, -0.3747054636478424, 0.7983991503715515, 0.3519691526889801, 0.24485503137111664, 0.2937479019165039, 0.18940536677837372, -0.36624136567115784, -0.34264540672302246, -0.34746965765953064, 0.018391132354736328, -0.972788393497467, -0.34136033058166504, -0.47381332516670227, -0.60345458984375, -0.4716310501098633, -0.1388540267944336, -0.5258083939552307, -0.3615975081920624, -0.46252909302711487, -0.21381817758083344, 0.3106902837753296, 0.8229638338088989, -0.293939471244812, 0.5173665881156921, -0.31715258955955505, 0.1952650398015976, 0.7614687085151672, 0.37536585330963135, -0.013645508326590061, -0.6615487337112427, -0.20608820021152496, 0.04430519789457321, -0.08035212755203247, -0.6583937406539917, 0.36013922095298767, 0.3576139509677887, 0.7376099228858948, 0.7386070489883423, -0.30570533871650696, 0.7259605526924133, -0.29850873351097107, 0.6177207827568054, 0.432145357131958, -0.7637627124786377, 0.610647976398468, -0.19650551676750183, 0.2224806249141693, 0.16978983581066132, 0.5639232993125916, -0.06005240976810455, 0.22843040525913239, -0.4749969244003296, -0.638416051864624, 0.7994344234466553, 0.20759296417236328, 0.2232028692960739, 0.054698072373867035, 0.6612723469734192, -0.09521456807851791, 0.050714585930109024, -0.887538731098175, -0.3174479901790619, -0.9350736737251282, -0.07746016979217529, 0.13932441174983978, -0.33361920714378357, -0.07923808693885803, -0.5290915966033936, 0.32648125290870667, -0.07561521232128143, 0.7220099568367004, 0.19726590812206268, -0.12507793307304382, -0.20551970601081848, -0.4769156575202942, 0.18230366706848145, 0.42527854442596436, -0.3536019027233124, 0.22492444515228271, 0.07136617600917816, -0.5029421448707581, -0.0004361441533546895, 0.07153485715389252, -0.18339233100414276, -0.09284822642803192, 0.45483672618865967, 0.9956657886505127, 0.16381724178791046, 0.0064794993959367275, 0.9068701863288879, 0.10319706797599792, -0.289763480424881, -0.5197290778160095, 0.11635763943195343, -0.10108283162117004, 0.4523659348487854, 0.2783348858356476, 0.42695313692092896, -0.02002863772213459, -0.6229696273803711, 0.5010795593261719, 0.24977946281433105, -0.6742416620254517, -0.44738978147506714, 0.8294201493263245, -0.11881928890943527, -0.1911899745464325, 0.6101571321487427, -0.20277617871761322, -0.6884028911590576, 0.8794873356819153, 0.5938692092895508, 0.6606334447860718, -0.3651426136493683, 0.25357070565223694, 0.5769196152687073, 0.23930658400058746, -0.1097366064786911, 0.12711533904075623, -0.12499605119228363, -0.8870823979377747, -0.3655456602573395, -0.6594061255455017, -0.040707021951675415, 0.13166369497776031, -0.8343006372451782, 0.29438456892967224, -0.7520051598548889, -0.42463162541389465, 0.29062339663505554, -0.20680443942546844, -1.046424388885498, 0.297152042388916, 0.5249326825141907, 0.6858850121498108, -0.742462694644928, 1.0141106843948364, 0.790440559387207, -0.5093731880187988, -0.7390093207359314, -0.3345209062099457, 0.06709882616996765, -0.9814998507499695, 0.8871679306030273, 0.3998706042766571, 0.007672165986150503, 0.034675680100917816, -0.910858690738678, -1.0331636667251587, 1.1524814367294312, 0.2108246237039566, -0.20918633043766022, -0.051194168627262115, 0.05392240360379219, 0.43616968393325806, -0.526279628276825, 0.34016183018684387, -0.030700000002980232, 0.17348800599575043, 0.5153343677520752, -0.734963059425354, -0.013053654693067074, -0.40190431475639343, 0.30256158113479614, -0.0925879031419754, -0.8200107216835022, 1.0997765064239502, -0.16263292729854584, -0.1538570374250412, 0.13477708399295807, 0.5554917454719543, -0.29615798592567444, 0.02876892313361168, 0.6218964457511902, 0.6463963985443115, 0.5482803583145142, -0.2780018150806427, 0.9767508506774902, -0.05965777486562729, 0.5945771932601929, 0.7208476662635803, 0.27264922857284546, 0.5876984000205994, 0.2421722561120987, -0.07416912168264389, 0.6160237193107605, 0.8692159056663513, -0.46935075521469116, 0.7815502882003784, 0.07168158888816833, 0.12478339672088623, -0.2892654836177826, -0.05017760023474693, -0.3852798342704773, 0.6400306820869446, 0.37888073921203613, -0.6040924787521362, 0.02452137880027294, 0.2818583846092224, -0.17984844744205475, -0.3428482413291931, -0.45641642808914185, 0.6201205849647522, 0.12067610770463943, -0.4366852045059204, 0.7187978625297546, -0.24505388736724854, 0.555619478225708, -0.40426236391067505, -0.09198696166276932, -0.12322361767292023, 0.29192495346069336, -0.33094051480293274, -0.8497282862663269, 0.1379060447216034, -0.2319730669260025, -0.05932595208287239, -0.10867790132761002, 0.8773369193077087, -0.32824641466140747, -0.5527052283287048, 0.3990437090396881, 0.10675335675477982, 0.24872411787509918, 0.24432773888111115, -0.828729510307312, -0.19364726543426514, -0.09792604297399521, -0.45574381947517395, 0.23487445712089539, 0.3814755082130432, 0.07897350192070007, 0.6606994867324829, 0.5838995575904846, -0.19850996136665344, 0.3768715560436249, 0.005037552677094936, 1.1073530912399292, -0.39836135506629944, -0.4173557460308075, -0.5867801904678345, 0.5555547475814819, -0.19702588021755219, -0.353940486907959, 0.5568019151687622, 0.300540030002594, 0.995850682258606, -0.07251779735088348, 0.47739338874816895, -0.16166681051254272, 0.16283930838108063, -0.3376372158527374, 0.6200948357582092, -0.44717252254486084, -0.21143876016139984, -0.1738569289445877, -1.0172200202941895, -0.3174472153186798, 0.9167884588241577, -0.033392902463674545, 0.10897614061832428, 0.40749692916870117, 0.6914955377578735, -0.2949799597263336, -0.2835177183151245, 0.21546252071857452, 0.3616580069065094, -0.025928087532520294, 0.41018757224082947, 0.7873373627662659, -0.5721361041069031, 0.5261543393135071, -0.6471549272537231, -0.3793887495994568, -0.14979292452335358, -0.633511483669281, -1.3074357509613037, -0.6009225249290466, -0.407909631729126, -0.5658041834831238, 0.037238460034132004, 0.7411267757415771, 1.1650464534759521, -0.9562073349952698, 0.1621340811252594, -0.07566561549901962, -0.08411356061697006, -0.20523659884929657, -0.17960746586322784, 0.47508445382118225, -0.04230340197682381, -0.669822096824646, -0.02297116257250309, 0.08051647990942001, 0.30333954095840454, -0.3423641622066498, -0.05286731943488121, -0.0815223678946495, -0.18245775997638702, 0.5291821956634521, 0.35218217968940735, -0.6894934177398682, -0.5950286388397217, -0.05538775026798248, -0.06087183207273483, 0.30748894810676575, 0.38772761821746826, -0.8570778369903564, 0.6802816987037659, 0.4598725438117981, 0.5274932980537415, 0.8376170992851257, 0.06718732416629791, 0.20342907309532166, -0.7661957740783691, 0.34775394201278687, 0.04375854879617691, 0.5133571028709412, 0.35625728964805603, -0.3730752766132355, 0.4328003227710724, 0.423010915517807, -0.5296298265457153, -0.7157993316650391, 0.2047819197177887, -1.1522737741470337, -0.17045021057128906, 0.9481707811355591, -0.5009080767631531, -0.5135676860809326, 0.09441201388835907, -0.01802431233227253, 0.5347194075584412, -0.03647058084607124, 0.4883981943130493, 0.32329875230789185, 0.05280681699514389, -0.6067575216293335, -0.3783278167247772, 0.4289702773094177, -0.10328099131584167, -0.37928131222724915, -0.5980077981948853, 0.027669884264469147, 0.36644241213798523, 0.3799867331981659, 0.17951616644859314, -0.2853546440601349, 0.16089804470539093, 0.3523809611797333, 0.22196133434772491, -0.269094854593277, -0.36370712518692017, -0.2123861014842987, 0.06381057947874069, -0.32563793659210205, -0.6621489524841309 ]
nlp-waseda/roberta-base-japanese
nlp-waseda
2022-10-21T14:46:36Z
7,654
23
transformers
[ "transformers", "pytorch", "roberta", "fill-mask", "ja", "dataset:wikipedia", "dataset:cc100", "license:cc-by-sa-4.0", "autotrain_compatible", "endpoints_compatible", "region:us" ]
fill-mask
2022-03-02T23:29:05Z
--- language: ja license: cc-by-sa-4.0 datasets: - wikipedia - cc100 mask_token: "[MASK]" widget: - text: "早稲田 大学 で 自然 言語 処理 を [MASK] する 。" --- # nlp-waseda/roberta-base-japanese ## Model description This is a Japanese RoBERTa base model pretrained on Japanese Wikipedia and the Japanese portion of CC-100. ## How to use You can use this model for masked language modeling as follows: ```python from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("nlp-waseda/roberta-base-japanese") model = AutoModelForMaskedLM.from_pretrained("nlp-waseda/roberta-base-japanese") sentence = '早稲田 大学 で 自然 言語 処理 を [MASK] する 。' # input should be segmented into words by Juman++ in advance encoding = tokenizer(sentence, return_tensors='pt') ... ``` You can fine-tune this model on downstream tasks. ## Tokenization The input text should be segmented into words by [Juman++](https://github.com/ku-nlp/jumanpp) in advance. Juman++ 2.0.0-rc3 was used for pretraining. Each word is tokenized into tokens by [sentencepiece](https://github.com/google/sentencepiece). `BertJapaneseTokenizer` now supports automatic `JumanppTokenizer` and `SentencepieceTokenizer`. You can use [this model](https://huggingface.co/nlp-waseda/roberta-base-japanese-with-auto-jumanpp) without any data preprocessing. ## Vocabulary The vocabulary consists of 32000 tokens including words ([JumanDIC](https://github.com/ku-nlp/JumanDIC)) and subwords induced by the unigram language model of [sentencepiece](https://github.com/google/sentencepiece). ## Training procedure This model was trained on Japanese Wikipedia (as of 20210920) and the Japanese portion of CC-100. It took a week using eight NVIDIA A100 GPUs. The following hyperparameters were used during pretraining: - learning_rate: 1e-4 - per_device_train_batch_size: 256 - distributed_type: multi-GPU - num_devices: 8 - gradient_accumulation_steps: 2 - total_train_batch_size: 4096 - max_seq_length: 128 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - training_steps: 700000 - warmup_steps: 10000 - mixed_precision_training: Native AMP ## Performance on JGLUE See the [Baseline Scores](https://github.com/yahoojapan/JGLUE#baseline-scores) of JGLUE.
[ -0.44860416650772095, -0.915490984916687, 0.20599640905857086, 0.21816273033618927, -0.5065017342567444, 0.018800513818860054, -0.44809266924858093, -0.29936128854751587, 0.4546663761138916, 0.6371520757675171, -0.8149798512458801, -0.5291588306427002, -0.6703371405601501, 0.05403025820851326, -0.15729111433029175, 1.164042353630066, 0.05845162644982338, 0.2928124964237213, 0.1789454221725464, 0.023196300491690636, -0.5304606556892395, -0.529488742351532, -0.7584351301193237, -0.5189494490623474, 0.14214003086090088, 0.010598961263895035, 0.557371199131012, 0.5065888166427612, 0.25633567571640015, 0.3475819528102875, -0.17714923620224, 0.10322600603103638, -0.12212129682302475, -0.07882563769817352, -0.013309327885508537, -0.546813428401947, -0.5332528948783875, 0.025670712813735008, 0.5523152947425842, 0.5974875688552856, -0.09492066502571106, 0.13278765976428986, 0.05822388082742691, 0.4891318082809448, -0.6292637586593628, 0.27302369475364685, -0.6088197827339172, 0.30819541215896606, -0.5001124739646912, -0.03057432733476162, -0.3633618950843811, 0.14504922926425934, 0.0824853852391243, -0.9342746138572693, 0.1451314389705658, 0.06464133411645889, 1.2751168012619019, 0.2868427336215973, -0.014978539198637009, -0.32538291811943054, -0.4424830973148346, 0.8143116235733032, -0.8359217047691345, 0.16431564092636108, 0.6326858401298523, 0.1497253030538559, -0.11739961057901382, -0.7510783672332764, -0.6118781566619873, -0.21725115180015564, -0.13039429485797882, 0.3919118642807007, -0.09454073011875153, 0.007135602179914713, 0.6700866222381592, 0.41519618034362793, -0.8241333961486816, 0.027626611292362213, -0.3186337649822235, -0.22824959456920624, 0.5230993032455444, 0.044631775468587875, 0.41068941354751587, -0.5392940640449524, -0.33765050768852234, -0.24405549466609955, -0.47115904092788696, -0.06534969061613083, 0.47682297229766846, 0.3080677092075348, -0.3613824248313904, 0.5126301646232605, -0.3360633850097656, 0.5969511866569519, 0.04190688580274582, -0.2396378368139267, 0.42026129364967346, -0.20178791880607605, -0.2799607217311859, -0.1354319006204605, 1.0955349206924438, -0.028245549649000168, 0.4099981188774109, -0.061181191354990005, -0.05854426696896553, 0.04389322176575661, 0.29320988059043884, -0.7839513421058655, -0.3567654490470886, 0.03528539463877678, -0.2676519751548767, -0.17983615398406982, -0.055831726640462875, -0.6389253735542297, 0.1454186588525772, -0.3009973168373108, 0.7316877841949463, -0.5608730912208557, -0.1275092363357544, 0.3376231789588928, -0.133913055062294, 0.11266892403364182, 0.07898027449846268, -1.002319097518921, 0.4657553732395172, 0.4497358500957489, 0.8026379346847534, -0.17297203838825226, -0.30510422587394714, -0.21741461753845215, -0.08893084526062012, -0.1937921941280365, 0.4018431603908539, -0.07846562564373016, -0.4083819091320038, -0.14910493791103363, 0.2493671178817749, -0.27982577681541443, -0.30587613582611084, 0.5553091168403625, -0.4080023467540741, 0.8865645527839661, 0.0751669630408287, -0.7178270220756531, -0.24274714291095734, 0.317352831363678, -0.543735682964325, 1.0747112035751343, 0.21654736995697021, -0.801328182220459, 0.35744526982307434, -0.7928910255432129, -0.30346331000328064, 0.48898935317993164, -0.07763249427080154, -0.5551560521125793, -0.02622622437775135, 0.4573374390602112, 0.34331610798835754, -0.0329451821744442, 0.4411671459674835, -0.0682835727930069, -0.47178125381469727, 0.17098599672317505, -0.4704509973526001, 1.3003251552581787, 0.0716577097773552, -0.5951136350631714, 0.011569068767130375, -0.8663739562034607, 0.12091782689094543, 0.1396152377128601, -0.2606971561908722, -0.3413752615451813, -0.37361940741539, 0.26673170924186707, 0.10807245969772339, 0.2277659922838211, -0.6292482614517212, 0.1559554636478424, -0.6900085210800171, 0.39142200350761414, 0.4833369553089142, -0.13757456839084625, 0.27394670248031616, -0.04074710234999657, 0.7585368156433105, -0.06227758899331093, 0.29379212856292725, -0.19133883714675903, -0.5704249143600464, -1.1348475217819214, -0.32340988516807556, 0.5874804854393005, 0.6190499663352966, -0.9117683172225952, 0.9080287218093872, -0.19672760367393494, -0.43804100155830383, -0.6128045320510864, -0.11627268046140671, 0.7072172164916992, 0.4725078344345093, 0.5039763450622559, -0.6931546330451965, -0.6591237187385559, -0.7908182144165039, 0.03120199218392372, 0.031287625432014465, -0.060048773884773254, 0.1520926058292389, 0.7169046998023987, -0.23307307064533234, 0.6190184354782104, -0.5762852430343628, -0.40652158856391907, -0.22902707755565643, 0.25698724389076233, 0.3952298164367676, 0.7248518466949463, 0.36625486612319946, -0.48805251717567444, -0.4387790858745575, -0.26990100741386414, -0.6691804528236389, 0.07916725426912308, 0.027242407202720642, -0.27500078082084656, 0.38066819310188293, 0.5493828058242798, -0.6855020523071289, 0.44372183084487915, 0.6736718416213989, -0.2568376958370209, 0.5752926468849182, -0.21776676177978516, -0.122822605073452, -1.48000967502594, 0.37476420402526855, -0.17021822929382324, -0.30691152811050415, -0.5253466963768005, 0.36892133951187134, -0.052474379539489746, -0.333729088306427, -0.478105366230011, 0.5891034603118896, -0.4089190661907196, -0.03116505779325962, -0.46902209520339966, -0.08568178117275238, 0.022107426077127457, 0.8799878358840942, 0.38242244720458984, 0.8257902264595032, 0.6025079488754272, -0.47817420959472656, 0.12799465656280518, 0.4171049892902374, -0.5918386578559875, 0.20352743566036224, -0.9176564812660217, 0.07995741814374924, 0.18696878850460052, 0.16572467982769012, -0.6642537713050842, -0.325855553150177, 0.5804373621940613, -0.5072932243347168, 0.4097519516944885, -0.34054920077323914, -0.5863209962844849, -0.3865874111652374, 0.08818402141332626, 0.3253210484981537, 0.6246477961540222, -0.31446772813796997, 0.5944462418556213, 0.33054736256599426, -0.1224716529250145, -0.7372196912765503, -0.7892715930938721, 0.21659816801548004, -0.2067563831806183, -0.38270804286003113, 0.6672934889793396, -0.19052180647850037, 0.22462047636508942, -0.03537491708993912, 0.1786009818315506, -0.20652855932712555, 0.25800812244415283, 0.2874620258808136, 0.46435198187828064, -0.08843758702278137, -0.06553561240434647, -0.003933046944439411, -0.3937469720840454, 0.09163821488618851, -0.11001469939947128, 1.105995774269104, -0.10287341475486755, -0.12861956655979156, -0.49985963106155396, 0.04756356030702591, 0.20520026981830597, -0.17492373287677765, 0.8202058672904968, 0.9347204566001892, -0.3534505367279053, -0.12226679176092148, -0.36551374197006226, -0.07505161315202713, -0.47026845812797546, 0.44715696573257446, -0.46911007165908813, -0.7799139022827148, 0.45133790373802185, 0.21404758095741272, -0.11891777813434601, 0.6296154260635376, 0.6272202730178833, 0.08435777574777603, 1.0529835224151611, 0.5636789202690125, -0.1799871176481247, 0.4910006523132324, -0.4728643596172333, -0.05006147548556328, -0.9553074836730957, -0.17907455563545227, -0.3199937343597412, 0.07234633713960648, -0.7868741154670715, -0.2727929651737213, 0.3645528554916382, -0.04614786058664322, -0.16523917019367218, 0.5443295240402222, -0.5051822066307068, 0.5858782529830933, 0.7556564211845398, 0.188415065407753, 0.15287703275680542, 0.0038130595348775387, -0.16286700963974, -0.07732512801885605, -0.8089293837547302, -0.3526967763900757, 1.1212722063064575, 0.3936136066913605, 0.5452529191970825, -0.22787806391716003, 0.6506507992744446, -0.055599045008420944, 0.0006197327165864408, -0.693439245223999, 0.4882056713104248, -0.4353233873844147, -0.9408732652664185, -0.2052268087863922, -0.23802682757377625, -0.8658186793327332, 0.3608577847480774, -0.4383804202079773, -0.49998146295547485, -0.20560568571090698, -0.030454007908701897, -0.2139555811882019, 0.05389305576682091, -0.3683461844921112, 0.9674447774887085, -0.1944250762462616, 0.0032767418306320906, -0.10314592719078064, -0.777792751789093, 0.551430344581604, -0.05338725447654724, 0.02748933434486389, -0.08295334875583649, 0.2612939476966858, 0.9087569117546082, -0.46325793862342834, 0.7039980292320251, -0.17056481540203094, 0.384040892124176, -0.06540606170892715, -0.21760007739067078, 0.11310048401355743, 0.033177994191646576, 0.26196563243865967, 0.4328232407569885, -0.03455790877342224, -0.43016305565834045, -0.39502665400505066, 0.5058705806732178, -1.077672004699707, -0.40252920985221863, -0.6725659966468811, -0.5242592096328735, -0.044254232197999954, 0.31929898262023926, 0.7233157753944397, 0.45406374335289, -0.06836449354887009, 0.2511958181858063, 0.6932012438774109, -0.2584141194820404, 0.5211451053619385, 0.5127971172332764, -0.3445075750350952, -0.5854811668395996, 0.6643035411834717, 0.14509263634681702, 0.11081689596176147, 0.28186339139938354, 0.24196836352348328, -0.20694603025913239, -0.590870201587677, -0.731342613697052, 0.3775162100791931, -0.39419689774513245, -0.003921432886272669, -0.7442132234573364, -0.5485988259315491, -0.25931042432785034, 0.13139618933200836, -0.4543350636959076, -0.47769343852996826, -0.3029206097126007, 0.11515624821186066, 0.09547234326601028, 0.26623690128326416, 0.1884935349225998, 0.5866991877555847, -0.49903616309165955, 0.21230284869670868, -0.013371744193136692, 0.15574334561824799, -0.1968817412853241, -0.9079259634017944, -0.46248266100883484, 0.06342161446809769, -0.1714468151330948, -0.5173866152763367, 0.7570326924324036, 0.04670707508921623, 0.415425181388855, 0.17126409709453583, -0.21932579576969147, 0.9739884734153748, -0.5446732640266418, 0.8660353422164917, 0.18993957340717316, -1.1038541793823242, 0.5727357268333435, -0.304341197013855, 0.5799939632415771, 0.7195142507553101, 0.5602049231529236, -0.47191599011421204, -0.48341867327690125, -0.9017141461372375, -0.9340165853500366, 0.7751092314720154, 0.3633381426334381, 0.2590583860874176, 0.03212280198931694, 0.31772714853286743, 0.05011989176273346, 0.2612840235233307, -1.250143051147461, -0.3330393433570862, -0.42294198274612427, -0.16320113837718964, -0.3189086318016052, -0.07933777570724487, -0.08296380192041397, -0.34683188796043396, 1.0789271593093872, -0.025489451363682747, 0.24306553602218628, 0.056951653212308884, -0.4307062029838562, 0.11689531058073044, 0.019477633759379387, 0.6833084225654602, 0.44155868887901306, -0.33925822377204895, -0.22677373886108398, 0.14228680729866028, -0.6285333037376404, -0.11888135969638824, 0.23176248371601105, -0.5138459205627441, 0.35782894492149353, 0.48762261867523193, 1.1192364692687988, 0.1613551527261734, -0.5301561951637268, 0.5425161719322205, -0.13913096487522125, -0.257600337266922, -0.833126962184906, 0.20505836606025696, -0.09252210706472397, -0.11136924475431442, 0.1988237351179123, -0.11659204214811325, 0.030941255390644073, -0.5183261632919312, 0.09383757412433624, 0.41586005687713623, -0.3467167615890503, -0.25842708349227905, 0.7451350092887878, 0.08776769042015076, -0.32276836037635803, 0.8573106527328491, -0.3091185688972473, -0.667280912399292, 0.5046644806861877, 0.6158348917961121, 0.9253528118133545, -0.04943649098277092, 0.15104472637176514, 0.6805130243301392, 0.1497815102338791, 0.004746913909912109, 0.09180863201618195, -0.014161393977701664, -0.8381937742233276, -0.5928251147270203, -0.8787142634391785, -0.3239075541496277, 0.48421329259872437, -0.8225644826889038, 0.21102400124073029, -0.6045870780944824, -0.28792014718055725, 0.08683940023183823, 0.4136736989021301, -0.6372203230857849, 0.4221664071083069, 0.12286810576915741, 0.8367919921875, -1.027849793434143, 0.9942059516906738, 0.5549380779266357, -0.6394818425178528, -0.8936521410942078, -0.1884528547525406, -0.17615167796611786, -1.1411356925964355, 0.7654023170471191, 0.21368449926376343, 0.2770843207836151, 0.07471366971731186, -0.43073657155036926, -0.9209086894989014, 1.01542067527771, -0.04847760871052742, -0.6014869809150696, -0.07696188241243362, 0.08315134793519974, 0.688620388507843, -0.4104126989841461, 0.3692925274372101, 0.3039797246456146, 0.19055047631263733, -0.028111539781093597, -0.8758490085601807, -0.016425322741270065, -0.4018714427947998, 0.17767776548862457, 0.16032427549362183, -0.4840819835662842, 0.9582588076591492, 0.37030962109565735, -0.07035427540540695, 0.3631651997566223, 0.5214996337890625, 0.332971453666687, 0.013603629544377327, 0.5271838903427124, 0.9675694704055786, 0.5212980508804321, -0.18242718279361725, 0.9684922695159912, -0.47744837403297424, 0.3679965138435364, 1.0375534296035767, 0.14570876955986023, 0.7765938639640808, 0.26625773310661316, -0.2201879471540451, 0.8121187090873718, 0.5238968729972839, -0.2671559751033783, 0.552492082118988, 0.16040995717048645, -0.20413713157176971, -0.14245545864105225, -0.03588632121682167, -0.3290262818336487, 0.7163647413253784, 0.28684425354003906, -0.3770603537559509, 0.059859760105609894, 0.23237057030200958, 0.4135916531085968, -0.13454000651836395, -0.18871858716011047, 0.7920289635658264, -0.0029438072815537453, -0.861154317855835, 0.4937673509120941, 0.28018128871917725, 0.9135463833808899, -0.8926653265953064, 0.25355783104896545, -0.19294561445713043, 0.07932088524103165, 0.047819335013628006, -0.4982066750526428, 0.30584171414375305, 0.14399278163909912, -0.1294894516468048, -0.1978754997253418, 0.519148051738739, -0.6426504254341125, -0.6705470681190491, 0.07517081499099731, 0.3711565434932709, 0.32676243782043457, -0.02018110081553459, -1.0331127643585205, 0.08966483175754547, 0.0328630767762661, -0.3096437156200409, 0.37168997526168823, 0.010808863677084446, 0.02065325528383255, 0.5470967292785645, 0.7616380453109741, 0.18716494739055634, 0.036886148154735565, 0.3299314081668854, 0.6815658211708069, -0.5516658425331116, -0.5366882681846619, -0.8268633484840393, 0.5207353234291077, -0.16691048443317413, -0.6740074753761292, 0.8347865343093872, 0.586419939994812, 0.9817683696746826, -0.22793588042259216, 0.5326903462409973, -0.10040740668773651, 0.4835168421268463, -0.9190884828567505, 0.7178628444671631, -0.48330554366111755, -0.02071147784590721, -0.2992601990699768, -0.9669399857521057, -0.24725422263145447, 0.8658625483512878, -0.03818380460143089, 0.05802161991596222, 0.6691642999649048, 0.7935315370559692, -0.012492973357439041, -0.22678980231285095, 0.27087071537971497, 0.15079881250858307, 0.16483239829540253, 0.5582589507102966, 0.5779803395271301, -0.7305057644844055, 0.2320113331079483, -0.56812983751297, -0.1338840126991272, -0.054812438786029816, -0.8383948802947998, -1.0280336141586304, -0.5786807537078857, -0.5150356888771057, -0.3125644326210022, 0.19448329508304596, 0.958903431892395, 0.9245737791061401, -0.7598249316215515, -0.3760421872138977, -0.34915977716445923, -0.34965839982032776, 0.04563860967755318, -0.2541869282722473, 0.45353007316589355, -0.4656147062778473, -1.0020370483398438, 0.302222341299057, -0.01703082211315632, 0.10980779677629471, -0.38407963514328003, 0.028155367821455002, -0.2165466547012329, -0.22471965849399567, 0.45115986466407776, 0.12810710072517395, -0.8169863224029541, -0.10025156289339066, -0.03856467455625534, -0.0908881202340126, -0.09800790250301361, 0.41752707958221436, -0.7281448245048523, 0.5550402402877808, 0.20916755497455597, 0.4391704499721527, 1.0728435516357422, -0.026147853583097458, 0.5435131192207336, -0.914799690246582, 0.41836419701576233, 0.18771664798259735, 0.49055445194244385, 0.35185566544532776, -0.07242263108491898, 0.6119780540466309, 0.4873798191547394, -0.5426673293113708, -0.6490068435668945, 0.1538545787334442, -1.1208603382110596, -0.45909640192985535, 0.9321613907814026, -0.2703430950641632, -0.3271540403366089, 0.08408783376216888, -0.13830740749835968, 0.37490060925483704, 0.038040515035390854, 0.7557364106178284, 0.8906996250152588, 0.17354750633239746, -0.16008467972278595, -0.4779558479785919, 0.5248746275901794, 0.5605713725090027, -0.7589812278747559, -0.4161173105239868, 0.2973341941833496, 0.4534631669521332, 0.3100684583187103, 0.6617235541343689, -0.15501166880130768, 0.186129629611969, 0.03835152089595795, 0.3279288709163666, -0.23322337865829468, -0.2701653242111206, -0.3993109464645386, -0.07415278255939484, -0.21012566983699799, -0.3375461995601654 ]
Maykeye/TinyLLama-v0
Maykeye
2023-07-26T05:04:57Z
7,653
10
transformers
[ "transformers", "pytorch", "safetensors", "llama", "text-generation", "license:apache-2.0", "endpoints_compatible", "text-generation-inference", "region:us" ]
text-generation
2023-07-08T04:50:15Z
--- license: apache-2.0 --- This is a first version of recreating roneneldan/TinyStories-1M but using Llama architecture. * Full training process is included in the notebook train.ipynb. Recreating it as simple as downloading TinyStoriesV2-GPT4-train.txt and TinyStoriesV2-GPT4-valid.txt in the same folder with the notebook and running the cells. Validation content is not used by the script so you put anythin in * Backup directory has a script do_backup that I used to copy weights from remote machine to local. Weight are generated too quickly, so by the time script copied weihgt N+1 * This is extremely PoC version. Training truncates stories that are longer than context size and doesn't use any sliding window to train story not from the start * Training took approximately 9 hours (3 hours per epoch) on 40GB A100. ~30GB VRAM was used * I use tokenizer from open_llama_3b. However I had troubles with it locally(https://github.com/openlm-research/open_llama/issues/69). I had no troubles on the cloud machine with preninstalled libraries. * Demo script is demo.py * Validation script is provided: valid.py. use it like `python valid.py path/to/TinyStoriesV2-GPT4-valid.txt [optional-model-id-or-path]`: After training I decided that it's not necessary to beat validation into chunks * Also this version uses very stupid caching mechinsm to shuffle stories for training: it keeps cache of N recently loaded chunks so if random shuffle asks for a story, it may use cache or load chunk. Training dataset is too small, so in next versions I will get rid of it. from transformers import AutoModelForCausalLM, AutoTokenizer
[ -0.2040904462337494, -0.4874473512172699, 0.2775837779045105, 0.2872493863105774, -0.5514312982559204, -0.10313478857278824, -0.06870731711387634, -0.3611094653606415, 0.31373631954193115, 0.3954967260360718, -0.8105073571205139, -0.13309592008590698, -0.3422758877277374, 0.28123533725738525, -0.39986342191696167, 1.4182186126708984, -0.5884934067726135, 0.11158392578363419, -0.09687841683626175, -0.07816464453935623, -0.27779605984687805, -0.33723676204681396, -0.8691999912261963, -0.29243147373199463, 0.24213141202926636, 0.502029538154602, 0.4357161819934845, 0.6313616037368774, 0.3273893892765045, 0.26177093386650085, -0.17463615536689758, -0.05314145237207413, -0.7840520739555359, -0.36265063285827637, 0.15848973393440247, -0.5050223469734192, -0.47937098145484924, -0.016620513051748276, 0.5781586170196533, 0.0007612918270751834, -0.5146796703338623, 0.49854546785354614, 0.14554308354854584, 0.43329256772994995, -0.33300361037254333, -0.1353446990251541, -0.6840603351593018, 0.37107861042022705, -0.01981417089700699, 0.16156703233718872, -0.15171879529953003, -0.060313280671834946, 0.25651630759239197, -0.8351620435714722, 0.5741690993309021, 0.27643686532974243, 1.1361722946166992, 0.35374587774276733, -0.2113957405090332, -0.253913938999176, -0.6440903544425964, 0.9581913352012634, -0.5672159194946289, -0.21511830389499664, 0.5916409492492676, 0.4308307468891144, -0.06944528222084045, -0.8241811394691467, -0.6862313151359558, -0.20378439128398895, 0.06665032356977463, -0.10671588033437729, -0.1326582431793213, -0.2828110158443451, 0.4779285192489624, 0.4565051794052124, -0.4661322236061096, 0.15173566341400146, -0.6816856265068054, -0.10722009837627411, 0.5092732906341553, 0.48186227679252625, -0.008417737670242786, -0.37836652994155884, -0.824059784412384, -0.2380865514278412, -0.7532868385314941, -0.0986134484410286, 0.3795974850654602, -0.018084337934851646, -0.23922137916088104, 0.533039927482605, -0.31623774766921997, 0.1738644391298294, 0.1566115915775299, -0.39116790890693665, 0.26246675848960876, -0.46764618158340454, -0.4602085053920746, 0.36819779872894287, 0.6552044153213501, 0.3461037278175354, -0.043420810252428055, -0.15711338818073273, -0.3647855818271637, -0.27091866731643677, 0.5949464440345764, -0.9839507341384888, -0.5044378638267517, 0.29012030363082886, -0.5771871209144592, -0.5711108446121216, -0.2792750298976898, -0.5019983649253845, -0.16025850176811218, -0.2842850685119629, 0.6778832077980042, -0.3957972824573517, -0.013519351370632648, 0.01853766478598118, 0.3019915521144867, 0.1843104362487793, 0.7573474049568176, -0.9496318101882935, 0.543815016746521, 0.564518928527832, 1.0782519578933716, -0.19649116694927216, -0.7329058051109314, -0.19858203828334808, 0.019987965002655983, -0.19311806559562683, 0.5389725565910339, 0.5159640908241272, -0.33514249324798584, -0.32704591751098633, 0.09479373693466187, 0.07507428526878357, -0.6883415579795837, 0.3372480869293213, -0.471139520406723, 0.22002996504306793, -0.0625610500574112, -0.21099163591861725, -0.16362224519252777, 0.5186214447021484, -0.5858473181724548, 1.0341085195541382, 0.2703174650669098, -0.6590131521224976, 0.3979191482067108, -0.23649971187114716, -0.27231892943382263, -0.2665841579437256, 0.2585679292678833, -0.5872875452041626, -0.008089523762464523, 0.23491403460502625, 0.22074486315250397, -0.163150817155838, 0.17804346978664398, -0.014584952034056187, -0.543201744556427, 0.014905914664268494, -0.41377320885658264, 0.7926456928253174, 0.22918576002120972, -0.1446496993303299, -0.17566968500614166, -1.0916118621826172, -0.05304328724741936, 0.41506528854370117, -0.4976670444011688, -0.10034220665693283, -0.227236807346344, -0.1708032488822937, 0.0475393570959568, 0.4394814372062683, -0.5738700032234192, 0.6118461489677429, -0.21589410305023193, 0.38181763887405396, 0.8262230157852173, 0.06737767159938812, 0.5985374450683594, -0.5661764740943909, 0.555336594581604, -0.05700867995619774, 0.6304142475128174, -0.11256248503923416, -0.45742833614349365, -0.9134235382080078, -0.39331671595573425, 0.2452799528837204, 0.47926580905914307, -0.7181214690208435, -0.0009397523826919496, -0.11442310363054276, -0.516258955001831, -0.6672018766403198, 0.22565294802188873, 0.26824960112571716, 0.4035269618034363, 0.4097774922847748, -0.24507351219654083, -0.7491262555122375, -0.8570070266723633, 0.29714304208755493, -0.06824875622987747, -0.30373841524124146, 0.2911522388458252, 0.8722991347312927, -0.2544567286968231, 0.8164436221122742, -0.2135731428861618, -0.6158725023269653, 0.05731473118066788, -0.01000030618160963, 0.5554705858230591, 0.4580363631248474, 0.6925058960914612, -0.35023799538612366, -0.5026335120201111, -0.19812539219856262, -0.5788512229919434, 0.10367259383201599, -0.23586353659629822, 0.014147186651825905, 0.15622271597385406, 0.047910209745168686, -0.857691764831543, 0.5072030425071716, 0.5350717306137085, 0.10445722192525864, 0.8198584914207458, -0.2641392946243286, 0.10721711814403534, -1.083094596862793, -0.12451869249343872, -0.5638205409049988, -0.24465321004390717, -0.15076985955238342, -0.05611046403646469, -0.233119398355484, -0.13356344401836395, -0.6222715973854065, 0.5747262239456177, -0.2984483242034912, -0.053740259259939194, -0.18250954151153564, 0.09705547243356705, 0.057417094707489014, 0.4657665193080902, -0.3233020603656769, 0.8883254528045654, 0.28668415546417236, -0.6890191435813904, 0.4916127920150757, 0.46225330233573914, -0.6374472379684448, 0.16931799054145813, -0.7404845356941223, 0.28965672850608826, -0.08323339372873306, 0.27827513217926025, -0.7732260823249817, -0.21010690927505493, 0.5517114400863647, -0.25388678908348083, 0.31064653396606445, -0.3205051124095917, -0.722565770149231, -0.4250541925430298, -0.47633489966392517, 0.20230410993099213, 0.5283104181289673, -0.9844317436218262, 0.5036711692810059, 0.122092604637146, 0.0765613541007042, -0.5315608382225037, -0.8222262263298035, -0.009072896093130112, -0.30739855766296387, -0.4508899450302124, 0.28816694021224976, 0.12111925333738327, -0.18595477938652039, 0.024407386779785156, -0.3018076717853546, -0.071018747985363, 0.08939377963542938, 0.19490890204906464, 0.2202349305152893, -0.09888537973165512, -0.08765307813882828, 0.06410609930753708, -0.22944848239421844, -0.24005316197872162, -0.2938237190246582, 0.3637115955352783, -0.2686268091201782, -0.07678359001874924, -0.5334877967834473, 0.0885910615324974, 0.16502900421619415, 0.4405277669429779, 0.8566492199897766, 0.5645490884780884, -0.4262218773365021, -0.3092132806777954, -0.4208216071128845, -0.2122713029384613, -0.48914745450019836, 0.22299164533615112, -0.2680664658546448, -0.6817052960395813, 0.4583970606327057, 0.0435294434428215, 0.2025938481092453, 0.4286922216415405, 0.5168396830558777, -0.4207316040992737, 0.6319801211357117, 0.3663492798805237, -0.013219018466770649, 0.5490354299545288, -0.5189570188522339, -0.02547067031264305, -0.9750267267227173, -0.3418026268482208, -0.5903842449188232, -0.4543873071670532, -0.11444395035505295, -0.4792763888835907, 0.24119789898395538, 0.579545259475708, -0.5647202730178833, 0.6947781443595886, -0.5081243515014648, 0.639512300491333, 0.18682646751403809, 0.03528599068522453, 0.3730696439743042, 0.3298785984516144, -0.07781684398651123, -0.1887121945619583, -0.9912397265434265, -0.7638354301452637, 1.220746397972107, 0.4175264537334442, 1.043903112411499, 0.07744193077087402, 1.023635745048523, 0.10437998175621033, 0.6545931696891785, -0.5816141963005066, 0.5198846459388733, -0.03547551482915878, -0.5791527032852173, -0.09454800188541412, -0.32484352588653564, -0.7684599161148071, 0.36105215549468994, -0.17869509756565094, -1.0341744422912598, -0.049495846033096313, 0.15264861285686493, -0.3340343236923218, 0.5307878851890564, -0.7649592161178589, 0.665264368057251, -0.33320584893226624, -0.2988581657409668, -0.136100172996521, -0.3996429741382599, 0.5040485858917236, -0.2024456411600113, -0.13567790389060974, 0.049546897411346436, -0.035857364535331726, 0.8420222401618958, -0.941839337348938, 0.8363595604896545, -0.2070310115814209, -0.004361364990472794, 0.5592462420463562, 0.29880863428115845, 0.8638020753860474, 0.22801049053668976, -0.08519969880580902, 0.5191985368728638, 0.14095154404640198, -0.33529093861579895, -0.31532514095306396, 0.7134625911712646, -1.1929265260696411, -0.481855183839798, -0.5702966451644897, -0.0422845333814621, 0.2088947892189026, 0.049274176359176636, 0.43676048517227173, -0.027907824143767357, -0.11297781020402908, 0.1384405791759491, 0.6467828154563904, 0.046278879046440125, 0.3485163152217865, 0.5143046975135803, -0.5466681122779846, -0.6644303798675537, 0.6681287288665771, 0.07253239303827286, -0.026599310338497162, 0.2384473830461502, 0.2518080472946167, 0.02300400659441948, -0.6564803123474121, -0.8086878657341003, 0.1780160516500473, -0.36653637886047363, -0.44663187861442566, -0.6182472109794617, -0.13402336835861206, -0.07569384574890137, -0.03577747941017151, -0.7443841099739075, -0.5393895506858826, -0.7743406891822815, -0.02810952253639698, 0.4818677604198456, 0.8349884152412415, -0.09838829189538956, 0.7434485554695129, -0.8415659070014954, 0.2531285583972931, 0.279448539018631, 0.04680977016687393, 0.3167502284049988, -0.8805614709854126, -0.5299838781356812, -0.06370768696069717, -0.44837769865989685, -0.5868799090385437, 0.2526772916316986, 0.012484114617109299, 0.3237563967704773, 0.4430740773677826, -0.23112061619758606, 0.7846150994300842, -0.7362970113754272, 0.9972768425941467, 0.23269951343536377, -0.6839237809181213, 0.4702681005001068, -0.10652190446853638, -0.07416790723800659, 0.8143027424812317, 0.5329184532165527, -0.0062020765617489815, 0.27742961049079895, -0.6779237985610962, -0.8217855095863342, 0.9550471901893616, 0.2848132848739624, 0.0787198394536972, 0.2868962287902832, 0.8118979334831238, 0.326133668422699, 0.4242080748081207, -0.7964842915534973, -0.039724767208099365, -0.5006298422813416, 0.1627943515777588, -0.07100685685873032, -0.27739137411117554, -0.18239358067512512, -0.4232720732688904, 0.983575165271759, -0.015140561386942863, 0.3572749197483063, 0.3894408047199249, -0.04050176590681076, -0.13840220868587494, -0.13005240261554718, 0.4118705987930298, 0.32746872305870056, -0.39114847779273987, -0.312118262052536, 0.5257677435874939, -0.702001690864563, 0.28862830996513367, -0.014228534884750843, -0.3673684298992157, -0.042002610862255096, 0.22468705475330353, 1.0296674966812134, 0.33752429485321045, -0.38067540526390076, 0.5073229670524597, -0.26440244913101196, -0.2491060197353363, -0.4448578655719757, 0.07931828498840332, -0.23105868697166443, 0.452344685792923, 0.1418841928243637, 0.1725763976573944, -0.15171624720096588, -0.5024324059486389, -0.02075822465121746, 0.028683552518486977, -0.0011581693543121219, -0.3822130560874939, 0.6877371668815613, -0.1567317396402359, -0.3491446375846863, 0.8889782428741455, -0.37026911973953247, -0.4484439790248871, 0.7083532214164734, 0.6564619541168213, 0.8761230707168579, -0.055287010967731476, 0.13141612708568573, 0.6445136666297913, 0.657991886138916, -0.3823794424533844, 0.08473127335309982, -0.4444181025028229, -0.5924509763717651, -0.16357381641864777, -0.9781184792518616, -0.6066147089004517, 0.04027002304792404, -0.5321081876754761, 0.33054396510124207, -0.6875739693641663, 0.007588279899209738, -0.48672983050346375, 0.33452197909355164, -0.6986210346221924, 0.11769670993089676, -0.08706039935350418, 1.2271888256072998, -0.6107190251350403, 1.1200910806655884, 0.6975831389427185, -0.19895437359809875, -1.0062204599380493, -0.14068852365016937, -0.12152709811925888, -0.8944497108459473, 0.30448052287101746, 0.07393645495176315, 0.23003602027893066, -0.11417541652917862, -0.770607054233551, -0.8913902640342712, 1.6065713167190552, 0.051925674080848694, -0.7840875387191772, -0.14003059267997742, -0.09034565836191177, 0.7383109927177429, -0.4198383092880249, -0.04324008896946907, 0.3095620274543762, 0.173112154006958, 0.11146371066570282, -0.8212566375732422, -0.06670407205820084, -0.013536822982132435, 0.201080322265625, -0.21127167344093323, -0.8501235246658325, 1.3032360076904297, -0.5865629315376282, -0.2034304291009903, 0.8756991624832153, 0.47744205594062805, 0.3975957930088043, 0.3180610239505768, 0.42171987891197205, 0.8825032711029053, 0.8829967975616455, -0.02032914012670517, 1.3427574634552002, -0.05388377234339714, 0.7469725012779236, 1.3511286973953247, -0.3686274290084839, 0.7931463122367859, 0.5907680988311768, -0.47658881545066833, 0.4550016224384308, 0.7842583060264587, -0.3003176152706146, 0.8758755922317505, 0.23052877187728882, -0.2609809935092926, 0.03854607045650482, 0.12212918698787689, -0.37788137793540955, 0.163066104054451, 0.05598451942205429, -0.05391553416848183, -0.2576795220375061, 0.18047992885112762, -0.04142650589346886, -0.5701181888580322, -0.286600261926651, 0.704463005065918, 0.21631895005702972, -0.36259233951568604, 0.580215573310852, 0.15340445935726166, 0.687330424785614, -0.9433647394180298, 0.24351535737514496, -0.22330380976200104, 0.19526436924934387, -0.1493726670742035, -0.4996470808982849, 0.16926920413970947, 0.1704474240541458, -0.21544338762760162, -0.23754340410232544, 0.8152456879615784, -0.22537654638290405, -0.06440316885709763, 0.03856665641069412, 0.17993874847888947, 0.42004212737083435, 0.04721064865589142, -0.5941517353057861, 0.15676218271255493, 0.15937910974025726, -0.5020639896392822, 0.5346053838729858, 0.22212807834148407, 0.034345842897892, 0.5856825113296509, 0.6976692080497742, -0.004666133318096399, 0.11213754117488861, -0.1128946840763092, 0.9301695823669434, -0.37478822469711304, -0.4442233145236969, -0.5240703821182251, 0.21055075526237488, 0.07911983877420425, -0.5516984462738037, 0.7918019890785217, 0.5990368723869324, 0.9440687894821167, -0.32833921909332275, 0.2143976092338562, -0.029716795310378075, 0.08885741233825684, -0.6541569828987122, 0.6363592147827148, -0.6957394480705261, 0.251159131526947, -0.025989273563027382, -0.9662972688674927, 0.1672525703907013, 0.9182547926902771, 0.04754791781306267, -0.09335118532180786, 0.7193906307220459, 0.5907257795333862, -0.11497671157121658, 0.36790525913238525, -0.051503464579582214, 0.570223331451416, 0.0825008675456047, 0.644129753112793, 1.0452481508255005, -1.00350022315979, 0.7008212208747864, -0.5725592970848083, -0.2253999561071396, -0.18536266684532166, -0.9854294657707214, -0.7143346071243286, -0.13247090578079224, -0.3139031231403351, -0.5615463852882385, -0.046247489750385284, 0.8425907492637634, 0.6412939429283142, -0.7184104323387146, 0.09500083327293396, 0.1385536640882492, 0.12299548834562302, -0.13925953209400177, -0.24741971492767334, 0.2842746675014496, 0.23362219333648682, -0.5914791822433472, 0.44662851095199585, 0.0990288108587265, 0.42286416888237, -0.415747731924057, -0.22939907014369965, -0.02968626655638218, -0.18274293839931488, 0.49036920070648193, 0.2118493914604187, -0.3030465543270111, -0.1824113428592682, -0.3397040367126465, -0.24834772944450378, 0.13375622034072876, 0.6421876549720764, -1.0158764123916626, 0.27839523553848267, 0.13254663348197937, 0.42485687136650085, 0.9678144454956055, -0.28545719385147095, -0.14646266400814056, -0.752262532711029, 0.344056636095047, 0.11465250700712204, 0.5128257274627686, 0.2506149113178253, -0.27094566822052, 0.5833410620689392, 0.3178713917732239, -0.6931559443473816, -0.8183034062385559, -0.14853781461715698, -1.029879093170166, -0.013927129097282887, 0.9846298694610596, -0.2165948450565338, -0.5804587006568909, 0.12502706050872803, -0.4897764027118683, -0.08352817595005035, -0.10043449699878693, 1.118665337562561, 0.7549892663955688, 0.08193166553974152, 0.1715039759874344, -0.5919201374053955, 0.3108910620212555, 0.18961948156356812, -0.5995998382568359, -0.3237287104129791, 0.2627318203449249, 0.732533872127533, 0.2350310981273651, 0.8648195266723633, -0.20841330289840698, 0.2650912404060364, 0.4560535252094269, -0.04489317536354065, -0.2873315215110779, -0.6095746159553528, -0.5283846259117126, -0.0200797226279974, -0.25886183977127075, -0.27380266785621643 ]
fxmarty/tiny-testing-falcon-alibi
fxmarty
2023-11-09T16:21:11Z
7,644
0
transformers
[ "transformers", "pytorch", "falcon", "text-generation", "custom_code", "license:mit", "endpoints_compatible", "text-generation-inference", "region:us" ]
text-generation
2023-11-09T16:20:30Z
--- license: mit --- tiny = <10 MB
[ -0.8103154301643372, -0.4784998595714569, 0.9054239988327026, 0.28122422099113464, -0.30396023392677307, -0.29734617471694946, -0.18075399100780487, -0.35962560772895813, 0.9720426797866821, 0.14471033215522766, -0.4084586501121521, 0.49418193101882935, -0.6357101798057556, -0.04707900807261467, -0.21762648224830627, 0.48107290267944336, 0.8310436606407166, -0.12290570884943008, -0.11823282390832901, -0.2948164641857147, -0.3686332404613495, 0.46863144636154175, -0.9310221672058105, 0.16095687448978424, 0.5669405460357666, 1.0579215288162231, 0.7682209014892578, 0.8896350264549255, 0.9197595715522766, 0.20124873518943787, -0.5606514811515808, -0.536960244178772, -0.34327179193496704, -0.5916649699211121, 0.33680301904678345, -0.5095895528793335, -0.47470441460609436, 0.058007221668958664, 0.942619800567627, 0.9262649416923523, 0.3834318518638611, 1.017609715461731, -0.28604063391685486, 1.0217312574386597, -0.55677729845047, -0.3573310673236847, -0.03252416104078293, -0.05179528519511223, -0.1420743465423584, 0.5793942213058472, -0.21032929420471191, -0.6182332038879395, -0.2603772282600403, -0.46160224080085754, 0.13119632005691528, 0.7675665616989136, 0.7486926317214966, 0.5974747538566589, -0.6728691458702087, -0.04275621846318245, -0.42429208755493164, 0.5032806396484375, -0.5383227467536926, 0.11963444203138351, 0.3281758725643158, 0.26143380999565125, -0.05574227124452591, -0.8311125636100769, -0.5020436644554138, 0.20344312489032745, -0.3087308406829834, -0.679614245891571, -0.9361633062362671, -0.19245269894599915, 0.8858328461647034, 0.44804880023002625, -0.6514416933059692, -0.19930581748485565, -0.37340912222862244, -0.3434124290943146, 0.5869279503822327, 0.5432000756263733, 0.48529869318008423, -0.17220436036586761, 0.04450967162847519, 0.18321487307548523, -1.0409166812896729, -0.28897950053215027, 0.3507055342197418, 0.44037890434265137, -0.5981242060661316, 0.2221813201904297, -0.03255702555179596, 0.42123422026634216, 0.7668439745903015, -0.3083671033382416, -0.23698289692401886, -0.45693039894104004, -0.627612292766571, 0.24469222128391266, 0.6932619214057922, 0.33722028136253357, -0.2384326457977295, 0.01848844811320305, -0.08437282592058182, 0.4700147211551666, 0.3907865881919861, -1.5428329706192017, -0.8267993927001953, 0.015365161933004856, -0.6588220000267029, -0.4481564462184906, -0.23797746002674103, -0.748733639717102, -0.3694171607494354, 0.25150302052497864, 0.8325084447860718, -0.1309460997581482, -0.12923796474933624, -0.32268500328063965, -0.24947170913219452, -0.19206655025482178, 0.2637668550014496, -0.9752212166786194, 0.6471390724182129, -0.010484309867024422, 0.7929450869560242, 0.36309847235679626, 0.27063944935798645, -0.2327963262796402, -0.048368506133556366, -0.6900333166122437, 0.7205825448036194, -0.059245772659778595, -0.7167573571205139, -0.8528605103492737, 0.26278427243232727, 0.031656038016080856, -0.6583675742149353, 0.10529068857431412, -0.4237830936908722, -0.02658403478562832, -0.4835767447948456, -0.12533394992351532, -0.024004187434911728, -0.17275477945804596, -0.9368802309036255, 0.6079211831092834, 0.3996617794036865, -0.7859305739402771, 0.5920253992080688, -0.1766108125448227, -0.6741535067558289, 0.0633847638964653, -0.24806846678256989, -0.4240141808986664, 0.846346378326416, -0.5537956357002258, -0.05515998601913452, -0.26565518975257874, -0.22281904518604279, -0.3966381251811981, -0.7939056754112244, -0.03744584321975708, -0.200906440615654, 0.7858820557594299, 0.22274090349674225, 0.08774924278259277, 0.0663057193160057, -1.1143009662628174, 0.4452855885028839, -0.005561024881899357, -0.6790362596511841, -0.2243744283914566, -0.6017163991928101, -0.16693973541259766, -0.06352444738149643, 0.21444229781627655, -0.8510182499885559, 0.1127014309167862, -0.2053343951702118, 0.7122930884361267, 0.15739765763282776, -0.0687175765633583, 1.1578426361083984, -0.1194533035159111, 0.2856103777885437, -0.07174509018659592, 0.4614552855491638, 0.40573999285697937, -0.3175147473812103, -0.8160783648490906, -0.5572076439857483, 0.6850424408912659, -0.5056371092796326, -0.6253313422203064, 0.12043303996324539, -0.7237900495529175, -0.3638730049133301, -0.6654718518257141, -0.006528332829475403, 0.05786814168095589, -0.150978684425354, -0.26553061604499817, -0.17520172894001007, -0.37078019976615906, -1.0924160480499268, 0.27698227763175964, -0.3158092200756073, -0.3184953033924103, 0.3372001051902771, 0.619970977306366, -0.2305299937725067, 0.795921266078949, -0.5549188852310181, -0.7636765241622925, -0.2877195477485657, -0.29469045996665955, 0.21837233006954193, 0.4457095265388489, 0.7775050401687622, -0.45380058884620667, -0.7729063034057617, 0.10445646196603775, -0.1405729204416275, -0.04542005807161331, -0.19020333886146545, 0.3828445076942444, -0.31498172879219055, -0.02074451558291912, -0.760917603969574, 0.6453920602798462, 0.5737000703811646, -0.7616488337516785, 0.041473209857940674, -0.8320545554161072, -0.12427467107772827, -0.4151996672153473, -0.20511940121650696, -0.30254799127578735, -0.45460936427116394, -0.14707671105861664, 0.09780066460371017, 0.6128295660018921, -0.3535344898700714, -1.0216143131256104, 0.624217689037323, -0.7681977152824402, -0.36778777837753296, -0.6282593011856079, 0.11794637143611908, 0.12306129187345505, 0.11994040012359619, -0.6866115927696228, 1.4744399785995483, 0.2609615623950958, -0.7252286076545715, -0.04863467440009117, 0.18202975392341614, 0.03389228507876396, 0.3177867829799652, -0.47155705094337463, -0.04441061615943909, 0.47785431146621704, -0.17354033887386322, -0.5681438446044922, -0.5509330630302429, -0.24186237156391144, -0.47521060705184937, 0.3047652244567871, -0.09045751392841339, -0.7199651598930359, -0.377541720867157, -0.964634358882904, 0.45445260405540466, 0.8442082405090332, -0.43387457728385925, 0.37852951884269714, 0.5701385736465454, 0.11524633318185806, 0.4676292836666107, -0.9341338276863098, -0.0670221745967865, -0.2011348307132721, -0.6831122636795044, -0.021673617884516716, 0.12136756628751755, -0.12270057946443558, 0.508579671382904, -0.41523030400276184, -0.08962050825357437, -0.04721895977854729, 0.39451223611831665, -0.2900855839252472, -0.479937881231308, -0.0512382909655571, 0.0596102811396122, -0.23002059757709503, 0.09152849018573761, 0.17922435700893402, 0.307976633310318, -0.8176450729370117, 0.34871307015419006, -0.3503727912902832, 0.2728253901004791, 0.35663679242134094, 0.9590104222297668, 0.9275588393211365, 0.5938099026679993, -0.2123129665851593, -0.11633267253637314, -0.19251428544521332, -0.5197862386703491, -0.5350266098976135, -0.619993269443512, -0.2865951955318451, -0.7866383194923401, 0.6920520663261414, 0.014187728054821491, -0.7332448959350586, 0.6692935228347778, -0.15044963359832764, -0.40131792426109314, 0.5378074049949646, 1.0135990381240845, 0.2164687067270279, 0.17858321964740753, -0.03240254148840904, 0.22051015496253967, -0.8790486454963684, 0.10295576602220535, -0.646793007850647, -0.8590375185012817, -0.623384416103363, -0.1843850463628769, 0.4508585035800934, 0.5507484078407288, -0.8460412621498108, 0.6039167046546936, -0.6281259655952454, 0.6133804321289062, 0.6126577258110046, 0.20190460979938507, -0.13118328154087067, -0.4382043480873108, -0.09744153916835785, -0.05976599454879761, -1.1161277294158936, -0.49124860763549805, 0.701479971408844, 0.26922607421875, 0.8133249282836914, 0.7456513047218323, 0.31259986758232117, 0.44444963335990906, 0.1729137897491455, -0.6104925274848938, 0.9214245080947876, -0.43390607833862305, -0.8276621103286743, -0.23238959908485413, -0.200108140707016, -0.7685175538063049, -0.0340380035340786, -0.35992231965065, -0.8609043955802917, 0.3161335587501526, 0.2380160242319107, -1.1036937236785889, 0.5545065999031067, -1.141589641571045, 1.0719521045684814, 0.37285658717155457, 0.1557479202747345, -0.08176135271787643, -0.8828201293945312, 0.13837462663650513, -0.29340794682502747, 0.21588604152202606, -0.23235748708248138, -0.6324342489242554, 1.0541986227035522, -0.7472721934318542, 0.5545013546943665, -0.05526379868388176, 0.5402562022209167, 0.46938830614089966, 0.5870922207832336, 0.22030827403068542, 0.018552133813500404, 0.34648004174232483, 0.01607457734644413, 0.763940691947937, -0.7252140045166016, -0.5315437912940979, 0.8302586674690247, -0.5445059537887573, -0.40795835852622986, -0.23994579911231995, -0.10202053934335709, 0.2147456854581833, 0.12259496003389359, 0.5644837617874146, 0.1721358597278595, 0.37606075406074524, 0.5693004727363586, 1.0576163530349731, -0.11869647353887558, 1.0030797719955444, 0.2329988181591034, -0.35587769746780396, -0.15404009819030762, 0.8818526268005371, 0.26986387372016907, 0.3736589848995209, 0.3935883343219757, 0.6588188409805298, 0.039258938282728195, -0.5195906162261963, -0.9393879175186157, 0.6835108399391174, -0.3996545970439911, -0.220419779419899, -0.5417004823684692, 0.00738354679197073, -0.48225894570350647, -0.04613910987973213, -0.7597753405570984, -0.8726635575294495, -0.29616472125053406, 0.46678510308265686, 0.3859078884124756, 0.4436802864074707, -0.4514995217323303, 1.2902652025222778, -0.9750922918319702, 0.05817820876836777, 0.2637938857078552, 0.5195637941360474, 0.264981746673584, -0.9386148452758789, -0.374013215303421, -0.4225679039955139, -0.3164743483066559, -0.7283715605735779, 0.19114534556865692, -0.029549244791269302, -0.0947854295372963, 1.048431634902954, 0.2473880499601364, 0.6076999306678772, -0.4951484203338623, 0.9524286985397339, 0.44181889295578003, -0.8525737524032593, 0.9068356156349182, -0.13072887063026428, 0.42300131916999817, 0.5639356374740601, -0.04971585422754288, -0.19392068684101105, 0.18864430487155914, -1.4676953554153442, -0.3326124846935272, 0.6969274282455444, 0.1939847618341446, 0.2869318425655365, -0.21006429195404053, -0.0594642199575901, -0.02742837741971016, 0.5798055529594421, -0.4836530089378357, -0.5659593343734741, 0.7533305287361145, 0.18815946578979492, 0.2876114845275879, -0.6512739062309265, -0.042796771973371506, -0.4970161020755768, 0.30983614921569824, 0.004987876396626234, 1.0178502798080444, -0.24685022234916687, -0.11712364852428436, -0.10138685256242752, 0.005663107614964247, 0.8681907057762146, 0.1983647346496582, -0.3868698179721832, 0.5882077217102051, 0.2581813335418701, -1.0896416902542114, 0.4543919265270233, -0.9951985478401184, -0.3164145052433014, 0.4027669131755829, 0.5480926632881165, 0.5742300748825073, 0.7877287268638611, -0.3091135025024414, 0.7151950597763062, -0.19161958992481232, 0.21667692065238953, -0.015904488041996956, 0.22495435178279877, 0.1875026524066925, -0.09578050673007965, -0.06952568888664246, 0.2951461672782898, -0.04863186553120613, -0.35539525747299194, 0.06754466146230698, 0.165927916765213, -0.6090618968009949, -0.5627197027206421, 1.0862518548965454, 0.23486043512821198, -0.21632298827171326, 0.43962159752845764, -0.6330273747444153, 0.16385617852210999, 0.8394585251808167, -0.07696270942687988, 0.5962143540382385, 0.4068419933319092, 0.07926573604345322, 0.1409182995557785, 0.5381863713264465, -0.01618815027177334, 0.3213757574558258, -0.1738455593585968, -0.4118523597717285, 0.38705548644065857, -0.5125263333320618, -0.002085174899548292, 0.15116281807422638, -0.6922497153282166, -0.06210007891058922, -0.9563602805137634, -0.2654053270816803, 0.37477341294288635, 0.7808915972709656, -0.7211016416549683, 0.5964804887771606, -0.029477817937731743, 1.4838474988937378, -0.7009225487709045, 1.2010667324066162, 0.7320907711982727, -0.6489793062210083, -1.184672236442566, -0.5317989587783813, 0.3742537200450897, -0.5331713557243347, 0.7070774435997009, 0.1215272769331932, 0.27535948157310486, -0.08482081443071365, -0.2678263485431671, -0.7432218790054321, 0.7794710397720337, 0.4158090651035309, -0.5853294134140015, 0.17665110528469086, -0.11698909848928452, 0.46116873621940613, -0.3880102336406708, 0.13488948345184326, 0.8285493850708008, 0.3940334916114807, -0.20510411262512207, -0.87298583984375, -0.0712161511182785, 0.08708604425191879, 0.18553908169269562, 0.6087146401405334, -1.076816439628601, 1.0027101039886475, -0.4665184020996094, -0.41589102149009705, 0.25465768575668335, 0.13175401091575623, -0.26656273007392883, 0.4993155002593994, 0.4433874487876892, 0.6173692345619202, 0.35665586590766907, -0.30577537417411804, 1.0710251331329346, -0.08893419802188873, 0.38224631547927856, 0.7798328399658203, 0.2622651755809784, 0.8011146783828735, 0.7977813482284546, -0.7455372214317322, -0.32302969694137573, 1.097314476966858, 0.37268027663230896, 0.7030396461486816, -0.06330490857362747, -0.5022693276405334, 0.17118419706821442, 0.04952619597315788, -0.1711750030517578, -0.26227977871894836, 0.22896626591682434, -0.35120823979377747, -0.2832006812095642, 0.2662167251110077, -0.12492208927869797, -0.007404169999063015, -0.9729968309402466, 1.0199476480484009, 0.2979016900062561, 0.5810253024101257, 0.14532002806663513, -0.2595446705818176, 0.6288209557533264, -0.10401717573404312, 0.3322327733039856, -0.8869161009788513, 0.2796576917171478, -0.07741304486989975, -1.0530223846435547, 0.5884055495262146, -0.07942695170640945, -0.7341289520263672, -0.09014467149972916, 1.0598113536834717, 0.3226931691169739, -0.3065807521343231, 0.09610884636640549, 0.3828921318054199, 0.5780499577522278, -0.32755452394485474, -0.03797009959816933, 0.5573809742927551, 0.27574506402015686, -0.12432784587144852, 0.9391984343528748, 0.9407364726066589, -0.17936870455741882, 1.2168301343917847, 0.07035312801599503, 0.794337272644043, 0.2365843504667282, -0.26223763823509216, 0.7150419354438782, -0.9116494059562683, -0.8262912631034851, -0.6500455141067505, -0.20018866658210754, -0.012854592874646187, -0.048484932631254196, 0.9174317121505737, 0.8059969544410706, 0.8656293749809265, -0.542946457862854, 0.005692846141755581, -0.5507127642631531, 0.5515472888946533, -0.07226260751485825, 0.7587939500808716, -0.7804676294326782, 0.540752112865448, 0.33165884017944336, -0.8560336232185364, -0.08769252151250839, 0.4456539452075958, -0.12194476276636124, -0.6939513087272644, 0.6771500706672668, 0.5727017521858215, -0.4534936845302582, 0.26050013303756714, 0.9873594641685486, -0.15124012529850006, -0.15433287620544434, 0.49474021792411804, 0.45786523818969727, -0.8854012489318848, 0.6009308695793152, -0.5712339282035828, 0.2799334228038788, -0.4830676019191742, -0.8337442278862, -0.6575592756271362, 0.10560444742441177, -0.4823489487171173, -0.0704062357544899, -0.5351333618164062, 0.7076979875564575, 0.9484761357307434, -0.4766286313533783, 0.3095337450504303, 0.5243297815322876, 0.25417330861091614, 0.10072558373212814, -0.12133883684873581, 0.43139171600341797, 0.41824811697006226, -0.18758313357830048, 0.11589353531599045, 0.6977627873420715, 0.4445333480834961, -0.03100602887570858, -0.11488812416791916, 0.23392412066459656, 0.2624887526035309, 0.6753093004226685, 0.16132338345050812, -0.594985842704773, -0.7981500029563904, -0.4721252918243408, -0.3608861267566681, 0.014477782882750034, 0.6958903670310974, -0.8605726957321167, -0.3569953739643097, 0.40962010622024536, 0.586652934551239, 0.20981904864311218, -0.26401323080062866, -0.47315168380737305, -1.332924723625183, 0.7444260716438293, 0.08598808944225311, 0.12091536819934845, -0.10683567076921463, -0.532098114490509, 0.8172811269760132, 0.3800570070743561, -0.5648397207260132, -0.8653176426887512, -0.22424589097499847, -1.3861777782440186, -0.44564008712768555, 0.5614265203475952, 0.1786200851202011, -0.7384063005447388, 0.4575827717781067, -0.09000662714242935, -0.5362159013748169, -0.38865867257118225, 0.40379905700683594, 0.5889443159103394, -0.13686802983283997, -0.5058383345603943, -0.8024967312812805, 0.5826326608657837, -0.10285745561122894, -0.7052920460700989, -0.10273498296737671, 0.46748605370521545, 0.49034565687179565, 0.432484894990921, 0.8597750067710876, 0.27083560824394226, 0.732426643371582, 1.4082300662994385, -0.3059109151363373, -0.013448091223835945, -0.6733936071395874, -0.4539125859737396, 0.19661983847618103, -0.044128384441137314, -0.6809717416763306 ]
ckpt/ModelScope
ckpt
2023-04-05T23:36:43Z
7,640
3
open_clip
[ "open_clip", "license:cc-by-nc-4.0", "region:us" ]
null
2023-04-05T23:27:22Z
--- license: cc-by-nc-4.0 --- https://huggingface.co/damo-vilab/modelscope-damo-text-to-video-synthesis, but with fp16 (half precision) weights Read all the info here https://huggingface.co/damo-vilab/modelscope-damo-text-to-video-synthesis/blob/main/README.md
[ -0.5549304485321045, -0.5373477935791016, 0.19894148409366608, 0.7555555701255798, -0.19747644662857056, -0.17699161171913147, -0.0101457005366683, -0.12418254464864731, 0.27695631980895996, 0.2531377375125885, -0.7798546552658081, -0.4835388958454132, -0.7646322846412659, -0.179519385099411, -0.5162163972854614, 1.0616248846054077, -0.3567051589488983, 0.34383949637413025, 0.14647209644317627, 0.1534956991672516, 0.08686577528715134, -0.23932495713233948, -0.44354310631752014, -0.2602800726890564, 0.21884793043136597, 0.7666173577308655, 0.5903550386428833, 0.5894448757171631, 0.9692686796188354, 0.33813369274139404, -0.23653016984462738, 0.13768760859966278, -0.3572492301464081, -0.4766298234462738, -0.018728656694293022, -0.06750123202800751, -1.0259950160980225, -0.12240589410066605, 1.4354914426803589, 0.052908897399902344, -0.3001818358898163, 0.4219910204410553, -0.0818558782339096, 0.7378537654876709, -0.6258593797683716, 0.07547926902770996, -0.30445554852485657, 0.18548358976840973, -0.2418743371963501, -0.16316434741020203, -0.1527886688709259, 0.4014035761356354, -0.1985311657190323, -0.7564692497253418, 0.2839205265045166, 0.3823064863681793, 1.239266037940979, 0.39757323265075684, -0.6974567174911499, 0.20025740563869476, -0.6591202616691589, 0.6729227900505066, -0.7764422297477722, 0.48414045572280884, 0.003469310700893402, 0.5354987382888794, 0.0958232432603836, -0.8954893350601196, -0.322161465883255, 0.0829605758190155, 0.4823019504547119, 0.20861460268497467, 0.002665166277438402, 0.5658016204833984, 0.684455394744873, 0.7557491660118103, -0.3547503352165222, -0.3046269714832306, -0.7360472679138184, -0.35794520378112793, 0.9165973663330078, -0.13431189954280853, 0.36339691281318665, -0.4217309355735779, -0.579125702381134, -0.5550467371940613, -0.3721636235713959, -0.04845915362238884, 0.5242775082588196, -0.13962297141551971, -0.4971422851085663, 1.1029200553894043, 0.06339623779058456, 0.8151922821998596, 0.3443402349948883, -0.19201035797595978, 0.18942494690418243, -0.47462472319602966, -0.5272616744041443, 0.18646079301834106, 1.0480865240097046, 0.7688013315200806, 0.24844396114349365, 0.28181082010269165, -0.3309248387813568, -0.27391374111175537, 0.7214800119400024, -1.415266513824463, -0.4548090696334839, -0.13098284602165222, -0.6924946308135986, -0.30242058634757996, 0.13795329630374908, -0.6337229013442993, 0.4831823408603668, -0.2667244076728821, 0.7963132858276367, -0.48280325531959534, -0.20868900418281555, -0.04793770611286163, -0.374269962310791, 0.2913793921470642, 0.2574542760848999, -0.9902063608169556, 0.8975483775138855, 0.22712509334087372, 0.7976356744766235, -0.11454345285892487, -0.42568057775497437, -0.5523949861526489, 0.1382630616426468, -0.3667515516281128, 0.33901554346084595, 0.2031562328338623, -0.46159157156944275, -0.1723155975341797, 0.09715235233306885, 0.44058021903038025, -0.4639863073825836, 0.9617185592651367, -0.12062323838472366, -0.08171065896749496, -0.06329897791147232, -0.6451743841171265, -0.0033861349802464247, 0.16144034266471863, -0.4484495222568512, 1.1102441549301147, 0.25117579102516174, -0.9295913577079773, 0.39076870679855347, -0.30881890654563904, -0.5331627726554871, -0.3106272220611572, -0.009019475430250168, -0.7445410490036011, 0.19788607954978943, 0.012614735402166843, 0.20749206840991974, -0.13321764767169952, -0.04382690414786339, -0.3509765565395355, -0.21223238110542297, -0.09138442575931549, -0.04218393564224243, 0.4104418158531189, 0.47078490257263184, -0.2518846392631531, 0.40921667218208313, -0.9039063453674316, -0.14424605667591095, -0.267384797334671, -0.12823006510734558, 0.2273566722869873, -0.19085773825645447, 0.5389215350151062, 0.009211764670908451, 0.2273816466331482, -0.732045590877533, -0.025867007672786713, -0.4549274742603302, 0.313594788312912, 0.29560860991477966, -0.08938387036323547, 0.7464249730110168, -0.08808096498250961, 0.5071429014205933, -0.05493650585412979, 0.4858860671520233, 0.5125386714935303, -0.8072163462638855, -0.32647737860679626, -0.19797556102275848, 0.0975612998008728, 0.42929452657699585, -0.7868645191192627, 0.12978725135326385, 0.24312520027160645, -0.8404759764671326, -0.19440823793411255, 0.40269312262535095, 0.33180341124534607, 0.5015489459037781, 0.27402710914611816, -0.5544558167457581, -0.7442378997802734, -1.0895992517471313, 0.10875950753688812, -0.04220984876155853, -0.3728562295436859, 0.27728304266929626, 0.6468628644943237, 0.2472219169139862, 0.5480915904045105, -0.7754261493682861, -0.6165247559547424, 0.11518063396215439, 0.064848892390728, 0.22801733016967773, 0.5603287220001221, 1.095849871635437, -0.9394621253013611, -0.46418485045433044, -0.27998876571655273, -0.35468095541000366, -0.18980155885219574, 0.2630646228790283, -0.26928606629371643, -0.2024524211883545, 0.4688947796821594, -0.8056012392044067, 0.47533291578292847, 0.7281142473220825, -0.220866858959198, 0.5206719636917114, -0.47891730070114136, 0.3614731729030609, -1.2698177099227905, 0.2185623198747635, 0.32714399695396423, -0.5180323719978333, -0.3400876820087433, 0.04904547333717346, 0.38964319229125977, -0.0464421845972538, -0.79732745885849, 0.4311206638813019, -0.622993528842926, -0.2775926887989044, -0.288455069065094, -0.008277817629277706, -0.2605961561203003, 0.4313373863697052, 0.16151045262813568, 0.6735660433769226, 0.62059485912323, -0.5444373488426208, 0.6796988248825073, 0.48145532608032227, -0.30036330223083496, 0.5766268372535706, -1.3123247623443604, -0.505530595779419, 0.17550593614578247, 0.21284520626068115, -0.9007290005683899, -0.3667125403881073, 0.2919430434703827, -0.8390851020812988, 0.38753294944763184, -0.6663819551467896, -0.36701151728630066, -0.26863497495651245, -0.5606328845024109, 0.7599347233772278, 0.45271196961402893, 0.10745196789503098, 0.36284545063972473, 0.7924267649650574, -0.21151764690876007, -0.26078885793685913, -1.0130828619003296, 0.15614791214466095, -0.22112278640270233, -0.5471096634864807, 1.0535733699798584, -0.15504886209964752, -0.1532067060470581, -0.46479249000549316, 0.06578034907579422, -0.40037721395492554, -0.6223896741867065, 0.5134062767028809, 0.3560304641723633, 0.0008104057633318007, -0.4309612512588501, 0.3402383327484131, -0.06627095490694046, 0.18592889606952667, -0.32797881960868835, 0.12858262658119202, -0.20032480359077454, 0.14786307513713837, -0.3118818998336792, 0.13372036814689636, 0.6853926777839661, 0.2648165225982666, 0.5824486017227173, 1.1410576105117798, -0.8535136580467224, 0.007509436458349228, -0.38442912697792053, -0.40895089507102966, -0.5089952349662781, 0.09870173782110214, -0.4832860231399536, -0.5172321796417236, 0.32354873418807983, 0.4403984546661377, -0.06734662503004074, 0.8661646246910095, 0.9862942099571228, -0.20614798367023468, 1.0551040172576904, 0.5113635063171387, 0.3652758300304413, 0.8610277771949768, -0.3975205421447754, -0.11448891460895538, -0.6828917264938354, -0.2688215672969818, -0.19630245864391327, -0.5950436592102051, -0.6164098381996155, -0.5232926607131958, 0.6658270359039307, 0.22215360403060913, -0.5007310509681702, 0.521620512008667, -0.7678910493850708, -0.11408983170986176, 0.8820860981941223, 0.2826858162879944, 0.12752436101436615, 0.24738454818725586, -0.075811468064785, -0.5094662308692932, -0.4933495819568634, -0.19184863567352295, 0.9259557127952576, 0.2985994517803192, 1.236112356185913, 0.05183211341500282, 0.40223321318626404, 0.29551810026168823, -0.12589512765407562, -0.9108373522758484, 0.46760299801826477, -0.3099527060985565, -1.0192371606826782, -0.22379891574382782, -0.5369608998298645, -0.08579648286104202, -0.38063183426856995, -0.6125460863113403, -0.22910147905349731, -0.17968042194843292, 0.41055554151535034, 0.006299274042248726, 0.5171732902526855, -0.5971237421035767, 1.0094302892684937, 0.04136991500854492, -0.27641648054122925, -0.008584713563323021, -0.8402184247970581, 0.24279069900512695, 0.46000033617019653, 0.01986534520983696, 0.24454471468925476, 0.07716840505599976, 0.9412937760353088, -0.9469817876815796, 0.5109742283821106, -0.35011324286460876, -0.06300105899572372, 0.7914349436759949, 0.09526926279067993, 0.22666306793689728, 0.409393846988678, 0.15739570558071136, 0.09257826209068298, 0.3627675771713257, -0.2941408157348633, -0.010064293630421162, 0.5856596827507019, -0.8361353278160095, 0.10363323241472244, -0.23124641180038452, -0.8947397470474243, 0.2558540403842926, 0.2977464199066162, 0.4925934672355652, 0.5954185128211975, -0.3727661669254303, 0.3504081070423126, 0.7029142379760742, 0.2614450752735138, 0.5354762077331543, 0.20499412715435028, -0.4013834297657013, -0.9576938152313232, 0.4874734878540039, 0.14232927560806274, 0.36728817224502563, 1.083423376083374, 0.25332745909690857, -0.08459579199552536, -0.5908581018447876, -1.07878577709198, 0.09834935516119003, -0.24192015826702118, -0.28046557307243347, -0.34977173805236816, -0.382735937833786, -0.8330830335617065, -0.0041825976222753525, -0.8683274388313293, -0.9735256433486938, -0.39905935525894165, -0.20246244966983795, 0.9210698008537292, 0.43189212679862976, -0.3093337416648865, 0.6173163056373596, -0.9255893230438232, 0.7452168464660645, 0.3881551921367645, 0.3788619935512543, -0.4419967532157898, -0.9914795756340027, -0.19551041722297668, 0.25934287905693054, -0.715678870677948, -0.8076539635658264, 0.4574282467365265, 0.28288838267326355, -0.0035358723253011703, 0.49785101413726807, -0.2747535705566406, 0.5739889740943909, -0.7796192765235901, 0.6597076654434204, 0.3952677249908447, -1.100337266921997, 0.5450442433357239, -0.5254940390586853, 0.2627747356891632, 0.31276917457580566, 0.42842474579811096, -0.2234089970588684, 0.0869060605764389, -0.5674751996994019, -0.8765429258346558, 0.7442189455032349, 0.6397373676300049, -0.2843230366706848, 0.6827197074890137, 0.7077745199203491, -0.10590475797653198, 0.31730395555496216, -0.7904887199401855, -0.06697450578212738, -0.5724199414253235, -0.5563566088676453, 0.0676054134964943, -0.381965696811676, -0.09752994030714035, -0.3904922604560852, 1.0356130599975586, -0.22580134868621826, 0.12345272302627563, 0.6213653683662415, 0.006203401833772659, -0.4865637719631195, -0.07170205563306808, 0.6622143983840942, 0.5676964521408081, -0.7542074918746948, 0.06359567493200302, 0.137107715010643, -0.7209146618843079, -0.028413090854883194, 0.21350114047527313, -0.5275205969810486, 0.12219630181789398, 0.06617096066474915, 0.8417925834655762, 0.42096051573753357, -0.46782225370407104, 0.7090764045715332, 0.09193839132785797, -0.7927480340003967, -0.39442139863967896, -0.24896240234375, 0.24934566020965576, 0.11351890861988068, 0.3693496286869049, -0.04946175590157509, 0.4011472761631012, -0.3202787935733795, 0.49996426701545715, 0.3317473828792572, -0.609734058380127, -0.4767180383205414, 1.31877601146698, 0.2434425801038742, -0.522415816783905, 0.37612229585647583, -0.35705941915512085, -0.032010193914175034, 0.3380871117115021, 0.3348529636859894, 0.5937188267707825, -0.33343133330345154, 0.2863660454750061, 0.5467979311943054, 0.3786889910697937, -0.268850177526474, 0.7364562749862671, -0.4067034423351288, -0.5153560638427734, -0.6469209790229797, -0.8282124400138855, -0.8109958171844482, -0.5666448473930359, -0.9104565978050232, 0.7405279874801636, -0.8600946068763733, -0.24644021689891815, 0.1197858676314354, 0.13934428989887238, -0.28860464692115784, 0.777180016040802, 0.22390751540660858, 1.1854170560836792, -0.7530051469802856, 0.9705800414085388, 0.9201728105545044, -0.4943010210990906, -0.7514298558235168, -0.7711011171340942, 0.13567876815795898, -0.6133444905281067, 0.2584935426712036, -0.07148649543523788, -0.06777442246675491, -0.06913265585899353, -0.6219828724861145, -0.38331934809684753, 1.028791904449463, 0.2867349088191986, -0.8891794681549072, -0.6331068873405457, 0.13164730370044708, 0.5358740091323853, -0.2329203486442566, 0.23628903925418854, 0.11152291297912598, 0.46872252225875854, 0.6001280546188354, -1.1998292207717896, -0.3918357491493225, -0.272769570350647, 0.05652380734682083, 0.33780986070632935, -0.8315854072570801, 0.7756227254867554, -0.00205432390794158, 0.37933844327926636, 0.12711308896541595, 0.9046467542648315, 0.11478976160287857, 0.44089826941490173, 0.4572892189025879, 0.7928420901298523, -0.3247952163219452, -0.06499568372964859, 0.7550769448280334, -0.3478368818759918, 0.651591420173645, 1.0985392332077026, -0.023056769743561745, 0.6968128085136414, 0.8224959373474121, -0.28929662704467773, 0.19449441134929657, 0.7417272925376892, -0.01135896798223257, 0.3587043583393097, 0.22917139530181885, 0.033776916563510895, -0.03968271240592003, 0.02242666855454445, -0.2075534611940384, 0.5725247263908386, 0.335907906293869, -0.6320619583129883, 0.2550020217895508, 0.03470825403928757, 0.0575978048145771, 0.045325856655836105, -0.3959479033946991, 0.47918134927749634, 0.42057859897613525, -0.5170332789421082, 0.4121491312980652, 0.1864614486694336, 0.7230173945426941, -1.0800390243530273, -0.03467071056365967, 0.37009289860725403, 0.49139404296875, -0.32437196373939514, -1.2255597114562988, 0.5901873707771301, -0.07482125610113144, -0.3652801513671875, -0.5645240545272827, 0.8576619029045105, -0.7869717478752136, -0.9757695198059082, 0.1971159726381302, 0.022985395044088364, 0.19313941895961761, -0.6031125783920288, -0.6859602332115173, 0.0643925815820694, 0.05724242702126503, -0.3766699731349945, -0.12628173828125, 0.1895974725484848, 0.3001018464565277, 0.4293226897716522, 0.17198298871517181, 0.4499080777168274, 0.0579584576189518, 0.13066720962524414, 0.30706682801246643, -0.6253446936607361, -0.19352616369724274, -0.5187298655509949, 0.30948835611343384, -0.23058244585990906, -0.4340364933013916, 0.8969582319259644, 0.7296444773674011, 0.8882421255111694, -0.33168521523475647, 0.18405741453170776, -0.5802679657936096, 0.16908039152622223, -0.6460413336753845, 0.6867496967315674, -0.7732023596763611, -0.7331573367118835, -0.6140522956848145, -1.1724708080291748, -0.26975879073143005, 0.6271934509277344, 0.3070496916770935, 0.09304006397724152, 0.5592411756515503, 0.9621734619140625, -0.2639654576778412, -0.1315421760082245, 0.1355106383562088, 0.41337522864341736, 0.2256857454776764, 0.3302132189273834, -0.16722536087036133, -1.2286981344223022, 0.8327051401138306, -0.5358351469039917, -0.41731539368629456, -0.20019353926181793, -1.1034210920333862, -0.5405420660972595, -0.7146320343017578, -0.4353298544883728, -0.3324102461338043, -0.1426519751548767, 0.632978081703186, 1.0787651538848877, -0.6165627837181091, -0.3497316837310791, -0.17383722960948944, -0.10664564371109009, -0.15758775174617767, -0.28333330154418945, 0.15555860102176666, 0.4874012768268585, -1.1511496305465698, 0.14832182228565216, 0.4386892020702362, 0.22494304180145264, -0.2317345291376114, -0.165446475148201, -0.4216347634792328, -0.12515218555927277, 0.45925086736679077, 0.20212918519973755, -0.3375266194343567, -0.18176712095737457, -0.20957857370376587, 0.1295081377029419, 0.031201589852571487, 0.7488642334938049, -0.3506114184856415, 0.38034698367118835, 1.0040594339370728, -0.046424612402915955, 1.2085074186325073, -0.029048537835478783, 0.8588919043540955, -0.8835974931716919, 0.23175214231014252, -0.042090579867362976, 0.4772331714630127, 0.39754804968833923, -0.0929202139377594, 0.5328517556190491, 0.4245954751968384, -0.7807767987251282, -0.5069282650947571, 0.09407705068588257, -1.7502942085266113, 0.1593315750360489, 0.9344457387924194, 0.31594762206077576, -0.4779209494590759, 0.9817086458206177, -0.8921716809272766, 0.7508885264396667, -0.4475940465927124, 0.5912273526191711, 0.5598600506782532, 0.17554020881652832, -0.2460850179195404, -0.4996609389781952, 0.5421335101127625, 0.35073521733283997, -0.5487248301506042, -0.43802765011787415, 0.5447328686714172, 0.5686749815940857, 0.15259264409542084, 0.4299350380897522, -0.5627127885818481, 0.36673349142074585, 0.2519976496696472, 0.4961792826652527, -0.12663261592388153, -0.43521684408187866, 0.2362012267112732, -0.08345852047204971, -0.18121226131916046, -0.4079802632331848 ]
stablediffusionapi/abyssorangemix3a1b
stablediffusionapi
2023-09-27T03:02:24Z
7,638
4
diffusers
[ "diffusers", "stablediffusionapi.com", "stable-diffusion-api", "text-to-image", "ultra-realistic", "license:creativeml-openrail-m", "endpoints_compatible", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2023-09-27T03:01:08Z
--- license: creativeml-openrail-m tags: - stablediffusionapi.com - stable-diffusion-api - text-to-image - ultra-realistic pinned: true --- # AbyssOrangeMix3A1B API Inference ![generated from stablediffusionapi.com](https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/generations/19355416931695777651.png) ## Get API Key Get API key from [Stable Diffusion API](http://stablediffusionapi.com/), No Payment needed. Replace Key in below code, change **model_id** to "abyssorangemix3a1b" Coding in PHP/Node/Java etc? Have a look at docs for more code examples: [View docs](https://stablediffusionapi.com/docs) Try model for free: [Generate Images](https://stablediffusionapi.com/models/abyssorangemix3a1b) Model link: [View model](https://stablediffusionapi.com/models/abyssorangemix3a1b) Credits: [View credits](https://civitai.com/?query=AbyssOrangeMix3A1B) View all models: [View Models](https://stablediffusionapi.com/models) import requests import json url = "https://stablediffusionapi.com/api/v4/dreambooth" payload = json.dumps({ "key": "your_api_key", "model_id": "abyssorangemix3a1b", "prompt": "ultra realistic close up portrait ((beautiful pale cyberpunk female with heavy black eyeliner)), blue eyes, shaved side haircut, hyper detail, cinematic lighting, magic neon, dark red city, Canon EOS R3, nikon, f/1.4, ISO 200, 1/160s, 8K, RAW, unedited, symmetrical balance, in-frame, 8K", "negative_prompt": "painting, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, deformed, ugly, blurry, bad anatomy, bad proportions, extra limbs, cloned face, skinny, glitchy, double torso, extra arms, extra hands, mangled fingers, missing lips, ugly face, distorted face, extra legs, anime", "width": "512", "height": "512", "samples": "1", "num_inference_steps": "30", "safety_checker": "no", "enhance_prompt": "yes", "seed": None, "guidance_scale": 7.5, "multi_lingual": "no", "panorama": "no", "self_attention": "no", "upscale": "no", "embeddings": "embeddings_model_id", "lora": "lora_model_id", "webhook": None, "track_id": None }) headers = { 'Content-Type': 'application/json' } response = requests.request("POST", url, headers=headers, data=payload) print(response.text) > Use this coupon code to get 25% off **DMGG0RBN**
[ -0.5264478921890259, -0.7610419988632202, 0.5209949612617493, 0.32585397362709045, -0.5345614552497864, -0.01732572726905346, 0.4079366624355316, -0.5905151963233948, 0.5221723318099976, 0.6404726505279541, -0.8385217785835266, -0.8434655666351318, -0.39330679178237915, -0.0027094027027487755, -0.1240214854478836, 0.5888038277626038, 0.05072091147303581, -0.16722096502780914, -0.03538750112056732, 0.04533436521887779, -0.37971508502960205, -0.010361486114561558, -0.7987171411514282, -0.15161468088626862, 0.10612068325281143, -0.13573360443115234, 0.6289156675338745, 0.6693207621574402, 0.31715521216392517, 0.29291778802871704, -0.21496480703353882, -0.12128888815641403, -0.3555634915828705, -0.23369771242141724, -0.21291469037532806, -0.7831725478172302, -0.6465042233467102, -0.12567554414272308, 0.31413987278938293, 0.41355574131011963, 0.13301171362400055, 0.5286470055580139, 0.00926101766526699, 0.6371805667877197, -0.6637507081031799, 0.23165714740753174, -0.30457836389541626, 0.19806227087974548, -0.03269379213452339, -0.021515844389796257, -0.16038407385349274, -0.27456551790237427, -0.18200553953647614, -0.9468527436256409, 0.37307339906692505, 0.22485430538654327, 1.3231233358383179, 0.32658568024635315, -0.23476018011569977, -0.09468282014131546, -0.5670450329780579, 0.874962329864502, -1.0968011617660522, 0.3679693937301636, 0.42911297082901, 0.02720990777015686, 0.04937080666422844, -0.7989382147789001, -0.5755969285964966, 0.3471613824367523, 0.20343264937400818, 0.2923387885093689, -0.4444543421268463, -0.05467259883880615, 0.2795673608779907, 0.4731908142566681, -0.5486164093017578, -0.16386859118938446, -0.4813416004180908, -0.08033258467912674, 0.655693531036377, 0.22516347467899323, 0.22134199738502502, -0.39215144515037537, -0.44347456097602844, -0.2040957808494568, -0.6496666669845581, 0.2451721727848053, 0.6875092387199402, 0.2574547529220581, -0.7301093339920044, 0.4991811215877533, -0.2816102206707001, 0.7302950620651245, 0.1557515263557434, -0.15024122595787048, 0.7192909717559814, -0.07088083773851395, -0.2646253705024719, -0.2715737223625183, 0.9159709811210632, 0.834121584892273, -0.30381667613983154, 0.2812303602695465, -0.24965092539787292, 0.032440099865198135, 0.11227507889270782, -1.1774632930755615, -0.04974767193198204, 0.8626896142959595, -0.8004336953163147, -0.5455281734466553, -0.0703444555401802, -1.1146602630615234, -0.14141084253787994, 0.023106558248400688, 0.47594496607780457, -0.3174699544906616, -0.5545178055763245, 0.34977319836616516, -0.23019351065158844, 0.18461082875728607, 0.285340815782547, -0.7361416220664978, 0.10462839901447296, 0.49574586749076843, 0.9768861532211304, 0.1582225114107132, 0.04415316879749298, 0.3379743993282318, 0.28752416372299194, -0.5294601321220398, 0.8207312226295471, -0.13824617862701416, -0.48117536306381226, -0.1518455445766449, 0.2698613405227661, 0.03809574618935585, -0.5642491579055786, 0.5986970067024231, -0.6173446178436279, -0.21302464604377747, -0.031701453030109406, -0.3669253885746002, -0.5168951153755188, 0.2017209529876709, -0.6737474799156189, 0.6484923362731934, 0.21280041337013245, -0.8264872431755066, 0.1523606777191162, -0.7845302820205688, -0.15575797855854034, 0.11251989752054214, -0.01623806729912758, -0.457573801279068, -0.048210643231868744, 0.17566753923892975, 0.3218441605567932, -0.20270220935344696, -0.11335836350917816, -0.7085665464401245, -0.3838261067867279, 0.2770082354545593, -0.19500313699245453, 1.1840214729309082, 0.43097326159477234, -0.37953266501426697, -0.15543590486049652, -0.900806725025177, 0.038766153156757355, 0.6306298971176147, -0.20007602870464325, -0.2581683099269867, -0.3050110936164856, 0.043168190866708755, -0.06628330051898956, 0.2513155937194824, -0.62514328956604, 0.11301342397928238, -0.4741203784942627, 0.37933269143104553, 0.6483590006828308, 0.3646925389766693, 0.24741657078266144, -0.3977487087249756, 0.7860824465751648, 0.09248487651348114, 0.3685854971408844, -0.03417161852121353, -0.6373222470283508, -0.5570643544197083, -0.4505133628845215, 0.2357109785079956, 0.48581936955451965, -0.6272739171981812, 0.332072913646698, -0.07860204577445984, -0.6851666569709778, -0.6886429190635681, -0.08629345148801804, 0.4311913549900055, 0.4107446074485779, 0.16345779597759247, -0.27169090509414673, -0.6172977685928345, -1.0340884923934937, 0.040991660207509995, -0.13012072443962097, -0.1670297384262085, 0.46798068284988403, 0.5341954231262207, -0.4516780376434326, 0.8064519166946411, -0.8674403429031372, -0.1000739112496376, -0.1332305371761322, 0.06373832374811172, 0.8688024878501892, 0.8257796764373779, 0.9289814233779907, -0.8624621629714966, -0.20956717431545258, -0.39760950207710266, -0.8037812113761902, 0.012602012604475021, 0.19142240285873413, -0.32403379678726196, -0.07227040827274323, 0.13410523533821106, -0.8833519220352173, 0.6465939283370972, 0.49109381437301636, -0.5276711583137512, 0.6310761570930481, -0.13179431855678558, 0.6056755781173706, -1.3269753456115723, 0.03253292664885521, 0.2000141441822052, -0.20620006322860718, -0.3993365466594696, 0.5360463857650757, 0.013227596879005432, -0.10126090049743652, -0.7635048627853394, 0.7411170601844788, -0.4254514276981354, 0.10537761449813843, -0.2582283020019531, -0.04163813963532448, 0.21966835856437683, 0.46502190828323364, -0.01041441224515438, 0.44651806354522705, 0.7074506282806396, -0.5830309987068176, 0.4337790012359619, 0.3098529875278473, -0.3718453645706177, 0.6307947635650635, -0.7945497632026672, 0.1208292692899704, 0.03383482247591019, 0.2999369204044342, -1.1485949754714966, -0.5192826986312866, 0.487588495016098, -0.6681026816368103, 0.04302489012479782, -0.8133434057235718, -0.4963753819465637, -0.6289684176445007, -0.39136675000190735, 0.4722822606563568, 0.7975028157234192, -0.493329793214798, 0.8406407237052917, 0.26094236969947815, 0.05061120167374611, -0.6165417432785034, -1.040988564491272, -0.3373029828071594, -0.3423178195953369, -0.6502569317817688, 0.39887645840644836, -0.09064049273729324, -0.3576015532016754, 0.1595851182937622, 0.05043966695666313, -0.16434705257415771, -0.12066341936588287, 0.6024285554885864, 0.6677196621894836, -0.31500568985939026, -0.40648800134658813, 0.25464022159576416, -0.08614692091941833, 0.1390649825334549, -0.3018427789211273, 0.7567187547683716, -0.03259378671646118, -0.5037851333618164, -0.7737009525299072, 0.02985486201941967, 0.6788121461868286, 0.06226247921586037, 0.5104691982269287, 0.5559415817260742, -0.7030218839645386, -0.02344832383096218, -0.6098306775093079, -0.25945717096328735, -0.49268749356269836, 0.16774797439575195, -0.4682203531265259, -0.42976924777030945, 1.0300166606903076, -0.017257332801818848, 0.06401843577623367, 0.621173083782196, 0.36963072419166565, -0.05899810791015625, 1.352219820022583, 0.2836320400238037, 0.1677502691745758, 0.21144555509090424, -0.9085958003997803, -0.037050191313028336, -1.077031135559082, -0.13116829097270966, -0.3266911506652832, -0.32419800758361816, -0.3331664204597473, -0.48288556933403015, 0.10847174376249313, 0.281430721282959, -0.3700549304485321, 0.30007803440093994, -0.5250990986824036, 0.34880802035331726, 0.4513970613479614, 0.3646352291107178, 0.11960525810718536, -0.02198288030922413, -0.18443353474140167, 0.02074120193719864, -0.36602041125297546, -0.41405797004699707, 1.1311575174331665, 0.28114092350006104, 0.8908733129501343, 0.18110676109790802, 0.6405765414237976, 0.15124011039733887, 0.017867103219032288, -0.46702104806900024, 0.5175769329071045, 0.16616348922252655, -1.0907078981399536, 0.24949431419372559, -0.27361851930618286, -1.04409658908844, 0.4430389106273651, -0.32171526551246643, -0.8759186863899231, 0.6151667237281799, 0.20682251453399658, -0.7911017537117004, 0.5637639164924622, -0.620995044708252, 0.7508777379989624, -0.08789465576410294, -0.7644986510276794, -0.17247356474399567, -0.4682599604129791, 0.6419172286987305, 0.007084053009748459, 0.6942551136016846, -0.4616703689098358, -0.2136807143688202, 0.7856428027153015, -0.4174988269805908, 1.025611162185669, -0.40091556310653687, 0.03279924765229225, 0.57728111743927, 0.24102582037448883, 0.3475295603275299, 0.49098455905914307, -0.1340136080980301, 0.3805282711982727, 0.14113827049732208, -0.5092751383781433, -0.3486119508743286, 0.8590497374534607, -0.8388156890869141, -0.5404617786407471, -0.21251751482486725, -0.39722198247909546, 0.010103839449584484, 0.397382527589798, 0.5567697882652283, 0.4688680171966553, 0.09453895688056946, -0.012382343411445618, 0.6906672716140747, -0.1642550528049469, 0.4767845571041107, 0.36517396569252014, -0.6687634587287903, -0.7575494647026062, 0.7249349355697632, -0.1500808149576187, 0.32028135657310486, 0.0004764982149936259, 0.14100021123886108, -0.4626651704311371, -0.6893611550331116, -0.7162889838218689, 0.37230855226516724, -0.7011728882789612, -0.49355486035346985, -0.8106249570846558, 0.03310999274253845, -0.7166719436645508, -0.3555290400981903, -0.7680203318595886, -0.303798645734787, -0.5962491631507874, -0.16781118512153625, 0.6109276413917542, 0.4223729968070984, -0.23017677664756775, 0.2800478935241699, -0.7876272797584534, 0.43592965602874756, 0.12516415119171143, 0.2562568485736847, 0.16551096737384796, -0.6600250005722046, 0.0011562099680304527, 0.20513252913951874, -0.39595529437065125, -0.95912766456604, 0.6268760561943054, -0.26549941301345825, 0.40145331621170044, 0.8654412031173706, 0.06563574820756912, 0.9347444772720337, 0.0034319849219173193, 0.9681088924407959, 0.2798368036746979, -0.8182479739189148, 0.830487847328186, -0.6513868570327759, 0.1701170951128006, 0.5306200385093689, 0.36073029041290283, -0.20457418262958527, -0.36234161257743835, -0.8895166516304016, -1.247631549835205, 0.6369753479957581, 0.19229671359062195, 0.3189336657524109, 0.1270962804555893, 0.5287198424339294, -0.003899147966876626, 0.23330630362033844, -1.01214599609375, -0.48831090331077576, -0.16988833248615265, -0.05444873869419098, 0.3673548996448517, -0.002798994304612279, -0.2872360944747925, -0.36579573154449463, 0.9269472360610962, -0.05287754163146019, 0.32043567299842834, 0.3031751811504364, 0.18525688350200653, -0.29107019305229187, -0.07501523196697235, 0.36663419008255005, 0.7013793587684631, -0.5952486991882324, -0.09007945656776428, -0.0032642765436321497, -0.4489908516407013, 0.17489902675151825, 0.16911554336547852, -0.47327926754951477, -0.001608500024303794, 0.3438962399959564, 0.8768119215965271, 0.11789967119693756, -0.45809945464134216, 0.6177937388420105, -0.1452019065618515, -0.442531943321228, -0.46500447392463684, 0.08290542662143707, 0.4203093647956848, 0.6467382311820984, 0.5498057007789612, 0.35026028752326965, 0.27149176597595215, -0.3028433620929718, -0.1648610532283783, 0.3483225107192993, -0.22687534987926483, -0.3692218065261841, 1.116355299949646, -0.054427772760391235, -0.34009867906570435, 0.44402816891670227, -0.45453646779060364, -0.16521447896957397, 0.8539985418319702, 0.8469207882881165, 0.8350232243537903, -0.22406145930290222, 0.15422390401363373, 0.8597989082336426, 0.20953169465065002, -0.10913649946451187, 0.6391202211380005, 0.21992218494415283, -0.7141623497009277, -0.17689119279384613, -0.9274658560752869, -0.20550614595413208, 0.44888991117477417, -0.7295669317245483, 0.5419527292251587, -0.7602071166038513, -0.3599070906639099, -0.1565157175064087, -0.25023695826530457, -0.5861287117004395, 0.3559691309928894, 0.030816692858934402, 0.8689255714416504, -0.8832843899726868, 0.4582764804363251, 0.6870588660240173, -0.6011520624160767, -1.0604147911071777, -0.2421935498714447, 0.2722737193107605, -0.756036102771759, 0.3427499830722809, 0.09998548775911331, 0.01569073460996151, 0.1577221155166626, -0.7379977703094482, -1.049134373664856, 1.2363210916519165, 0.32321321964263916, -0.3890763223171234, 0.11616738885641098, -0.14892826974391937, 0.36653244495391846, -0.5269007086753845, 0.4193902611732483, 0.23274359107017517, 0.37052491307258606, 0.3440985679626465, -0.400343656539917, 0.1922721415758133, -0.47686201333999634, 0.10454782098531723, -0.1442902535200119, -0.7221235036849976, 0.9836142659187317, -0.41855934262275696, -0.0589694045484066, 0.22982481122016907, 0.6311092376708984, 0.7545806765556335, 0.43303829431533813, 0.6598399877548218, 1.0836809873580933, 0.34484872221946716, -0.08016988635063171, 1.0489301681518555, -0.4015148878097534, 0.6303575038909912, 0.6744067668914795, -0.10308142006397247, 0.8936765193939209, 0.3492923974990845, -0.4108024537563324, 0.6585286855697632, 1.1268423795700073, -0.3055383265018463, 0.7316588759422302, 0.025968331843614578, -0.3993486762046814, -0.027971066534519196, 0.1806689202785492, -0.6544726490974426, 0.21360476315021515, 0.37445172667503357, -0.39177781343460083, 0.05054885149002075, 0.11138041317462921, -0.07263686507940292, -0.4036138951778412, -0.3667266368865967, 0.44510045647621155, 0.01743854582309723, -0.3122895359992981, 0.7966530323028564, -0.0641980767250061, 1.0323013067245483, -0.5203286409378052, -0.08678486943244934, -0.20347630977630615, 0.2500092089176178, -0.36371052265167236, -0.592664361000061, 0.11181076616048813, -0.11821430176496506, -0.05620802193880081, 0.07775694876909256, 0.6912965178489685, 0.038631025701761246, -0.6973615884780884, 0.37928465008735657, 0.27335432171821594, 0.4265151917934418, -0.05278219282627106, -1.02212655544281, 0.32416149973869324, 0.2293185591697693, -0.46797093749046326, -0.05068293586373329, 0.18250137567520142, 0.48392432928085327, 0.6197521686553955, 0.8279535174369812, 0.24551871418952942, 0.07204034924507141, -0.026251235976815224, 0.6495212316513062, -0.5231992602348328, -0.5908112525939941, -0.8736127614974976, 0.6289119720458984, -0.1525009721517563, -0.3139362931251526, 0.6089027523994446, 0.9653641581535339, 0.8586640954017639, -0.5435069799423218, 0.9092838168144226, -0.2916374206542969, 0.49462413787841797, -0.4679274559020996, 0.8073053359985352, -0.8570665121078491, 0.15802189707756042, -0.45695754885673523, -0.8459072709083557, -0.15025286376476288, 0.6818230748176575, -0.11852254718542099, 0.21137584745883942, 0.46131792664527893, 1.003628134727478, -0.3875410556793213, 0.008131262846291065, 0.10975112020969391, 0.2655883729457855, 0.08103221654891968, 0.2990705668926239, 0.708550214767456, -0.622276782989502, 0.31884220242500305, -0.7091078758239746, -0.3312583565711975, -0.1285005658864975, -0.7442151308059692, -0.6656637787818909, -0.37100985646247864, -0.6121726036071777, -0.6942814588546753, -0.13274453580379486, 0.8528454899787903, 1.0422937870025635, -0.7656843662261963, -0.21571563184261322, -0.0700625628232956, 0.031193481758236885, -0.3173728585243225, -0.30983966588974, 0.25203028321266174, 0.26679959893226624, -1.0831488370895386, 0.23122857511043549, 0.10348144918680191, 0.5384644865989685, -0.03278389200568199, 0.09621258080005646, -0.1588602364063263, 0.12347133457660675, 0.2685357928276062, 0.28160709142684937, -0.8008006811141968, -0.018192552030086517, -0.2974049150943756, 0.07607927918434143, 0.19045746326446533, 0.32222282886505127, -0.41029855608940125, 0.20043721795082092, 0.5570212602615356, 0.24091018736362457, 0.7271259427070618, -0.028954368084669113, 0.11940965801477432, -0.41660597920417786, 0.4351998567581177, 0.12064926326274872, 0.6449914574623108, 0.21822534501552582, -0.6179139614105225, 0.6080299615859985, 0.521790087223053, -0.4191286861896515, -0.902503252029419, 0.018316276371479034, -1.1024147272109985, -0.5036978721618652, 1.0305665731430054, -0.2671319842338562, -0.7084378600120544, 0.09613750129938126, -0.22743088006973267, 0.2430380880832672, -0.2920990288257599, 0.6470381617546082, 0.4415067136287689, -0.25676703453063965, -0.23424138128757477, -0.8595520257949829, 0.12396740913391113, 0.1362619400024414, -0.8762733936309814, -0.20101916790008545, 0.48588526248931885, 0.64426589012146, 0.5658644437789917, 0.603376567363739, -0.5433560609817505, 0.25854814052581787, 0.36822277307510376, 0.544860303401947, 0.055579133331775665, 0.32491594552993774, -0.2844480574131012, 0.08653280884027481, -0.10177420824766159, -0.49757659435272217 ]
elyza/ELYZA-japanese-Llama-2-7b
elyza
2023-08-29T03:45:51Z
7,627
49
transformers
[ "transformers", "pytorch", "llama", "text-generation", "ja", "en", "arxiv:2307.09288", "license:llama2", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-08-28T12:38:34Z
--- license: llama2 language: - ja - en --- ## ELYZA-japanese-Llama-2-7b ![ELYZA-Japanese-Llama2-image](./key_visual.png) ### Model Description **ELYZA-japanese-Llama-2-7b** は、 Llama2をベースとして日本語能力を拡張するために追加事前学習を行ったモデルです。 詳細は [Blog記事](https://note.com/elyza/n/na405acaca130) を参照してください。 ### Usage ```python import torch from transformers import AutoModelForCausalLM, AutoTokenizer B_INST, E_INST = "[INST]", "[/INST]" B_SYS, E_SYS = "<<SYS>>\n", "\n<</SYS>>\n\n" DEFAULT_SYSTEM_PROMPT = "あなたは誠実で優秀な日本人のアシスタントです。" text = "クマが海辺に行ってアザラシと友達になり、最終的には家に帰るというプロットの短編小説を書いてください。" model_name = "elyza/ELYZA-japanese-Llama-2-7b-instruct" tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto") if torch.cuda.is_available(): model = model.to("cuda") prompt = "{bos_token}{b_inst} {system}{prompt} {e_inst} ".format( bos_token=tokenizer.bos_token, b_inst=B_INST, system=f"{B_SYS}{DEFAULT_SYSTEM_PROMPT}{E_SYS}", prompt=text, e_inst=E_INST, ) with torch.no_grad(): token_ids = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt") output_ids = model.generate( token_ids.to(model.device), max_new_tokens=256, pad_token_id=tokenizer.pad_token_id, eos_token_id=tokenizer.eos_token_id, ) output = tokenizer.decode(output_ids.tolist()[0][token_ids.size(1) :], skip_special_tokens=True) print(output) """ 承知しました。以下にクマが海辺に行ってアザラシと友達になり、最終的には家に帰るというプロットの短編小説を記述します。 クマは山の中でゆっくりと眠っていた。 その眠りに落ちたクマは、夢の中で海辺を歩いていた。 そこにはアザラシがいた。 クマはアザラシに話しかける。 「おはよう」とクマが言うと、アザラシは驚いたように顔を上げた。 「あ、こんにちは」アザラシは答えた。 クマはアザラシと友達になりたいと思う。 「私はクマと申します。」クマは... """ ``` ### ELYZA-japanese-Llama-2-7b Models | Model Name | Vocab Size | #Params | |:---------------------------------------------|:----------:|:-------:| |[elyza/ELYZA-japanese-Llama-2-7b](https://huggingface.co/elyza/ELYZA-japanese-Llama-2-7b)| 32000 | 6.27B | |[elyza/ELYZA-japanese-Llama-2-7b-instruct](https://huggingface.co/elyza/ELYZA-japanese-Llama-2-7b-instruct)| 32000 | 6.27B | |[elyza/ELYZA-japanese-Llama-2-7b-fast](https://huggingface.co/elyza/ELYZA-japanese-Llama-2-7b-fast)| 45043 | 6.37B | |[elyza/ELYZA-japanese-Llama-2-7b-fast-instruct](https://huggingface.co/elyza/ELYZA-japanese-Llama-2-7b-fast-instruct)| 45043 | 6.37B | ### Developers 以下アルファベット順 - [Akira Sasaki](https://huggingface.co/akirasasaki) - [Masato Hirakawa](https://huggingface.co/m-hirakawa) - [Shintaro Horie](https://huggingface.co/e-mon) - [Tomoaki Nakamura](https://huggingface.co/tyoyo) ### Licence Llama 2 is licensed under the LLAMA 2 Community License, Copyright (c) Meta Platforms, Inc. All Rights Reserved. ### How to Cite ```tex @misc{elyzallama2023, title={ELYZA-japanese-Llama-2-7b}, url={https://huggingface.co/elyza/ELYZA-japanese-Llama-2-7b}, author={Akira Sasaki and Masato Hirakawa and Shintaro Horie and Tomoaki Nakamura}, year={2023}, } ``` ### Citations ```tex @misc{touvron2023llama, title={Llama 2: Open Foundation and Fine-Tuned Chat Models}, author={Hugo Touvron and Louis Martin and Kevin Stone and Peter Albert and Amjad Almahairi and Yasmine Babaei and Nikolay Bashlykov and Soumya Batra and Prajjwal Bhargava and Shruti Bhosale and Dan Bikel and Lukas Blecher and Cristian Canton Ferrer and Moya Chen and Guillem Cucurull and David Esiobu and Jude Fernandes and Jeremy Fu and Wenyin Fu and Brian Fuller and Cynthia Gao and Vedanuj Goswami and Naman Goyal and Anthony Hartshorn and Saghar Hosseini and Rui Hou and Hakan Inan and Marcin Kardas and Viktor Kerkez and Madian Khabsa and Isabel Kloumann and Artem Korenev and Punit Singh Koura and Marie-Anne Lachaux and Thibaut Lavril and Jenya Lee and Diana Liskovich and Yinghai Lu and Yuning Mao and Xavier Martinet and Todor Mihaylov and Pushkar Mishra and Igor Molybog and Yixin Nie and Andrew Poulton and Jeremy Reizenstein and Rashi Rungta and Kalyan Saladi and Alan Schelten and Ruan Silva and Eric Michael Smith and Ranjan Subramanian and Xiaoqing Ellen Tan and Binh Tang and Ross Taylor and Adina Williams and Jian Xiang Kuan and Puxin Xu and Zheng Yan and Iliyan Zarov and Yuchen Zhang and Angela Fan and Melanie Kambadur and Sharan Narang and Aurelien Rodriguez and Robert Stojnic and Sergey Edunov and Thomas Scialom}, year={2023}, eprint={2307.09288}, archivePrefix={arXiv}, primaryClass={cs.CL} } ```
[ -0.47957712411880493, -0.6532908082008362, 0.27820146083831787, 0.3666231334209442, -0.5690292119979858, 0.08127988874912262, 0.1424674689769745, -0.651692271232605, 0.6269738674163818, 0.11230385303497314, -0.6480724215507507, -0.6336586475372314, -0.5989176630973816, 0.20870926976203918, -0.11224447190761566, 0.7865187525749207, -0.14042098820209503, -0.33525359630584717, 0.04879045486450195, -0.019632749259471893, -0.21611018478870392, -0.3943593204021454, -0.5372695922851562, -0.31926044821739197, 0.2915147840976715, 0.15362906455993652, 0.5824121832847595, 0.7054396867752075, 0.5423994660377502, 0.43370237946510315, -0.2712298333644867, 0.29612651467323303, -0.2803392708301544, -0.2179689258337021, 0.25457921624183655, -0.5149033069610596, -0.8114490509033203, -0.3071867525577545, 0.5643212795257568, 0.32437485456466675, 0.09429536759853363, 0.3760445713996887, -0.04311502352356911, 0.31878238916397095, -0.2947123050689697, 0.03823292627930641, -0.3938823938369751, 0.08967679738998413, -0.22894831001758575, -0.22326843440532684, -0.13135775923728943, -0.369584858417511, -0.29122474789619446, -0.8892716765403748, -0.0659499242901802, 0.08055136352777481, 1.5185128450393677, 0.2347659021615982, -0.2950415313243866, -0.013727035373449326, -0.16473808884620667, 0.905551552772522, -1.0201528072357178, 0.20120975375175476, 0.30521711707115173, -0.0850026085972786, -0.35703229904174805, -0.8524951934814453, -0.7652429938316345, -0.09406682103872299, -0.3040526211261749, 0.20740540325641632, -0.48071277141571045, -0.32247382402420044, 0.20554639399051666, 0.22651152312755585, -0.4669991433620453, 0.3070370852947235, -0.5636388659477234, -0.13088580965995789, 0.7860523462295532, 0.1975908726453781, 0.6061020493507385, -0.36870869994163513, -0.5941590070724487, -0.18955643475055695, -0.6983475685119629, 0.25707826018333435, 0.36670511960983276, 0.10376547276973724, -0.742283284664154, 0.6527257561683655, -0.21627257764339447, 0.4493437111377716, 0.138116717338562, -0.38574784994125366, 0.6768779158592224, -0.4578838646411896, -0.2734130918979645, -0.23954029381275177, 1.1803256273269653, 0.6982188820838928, -0.03005111776292324, 0.17542913556098938, 0.007965529337525368, -0.00423913449048996, -0.46906182169914246, -0.9645054340362549, 0.1709197610616684, 0.34188082814216614, -0.6263039708137512, -0.4079080820083618, -0.07588259130716324, -0.9145615100860596, -0.071851447224617, 0.07729501277208328, 0.23752710223197937, -0.2070792317390442, -0.45588406920433044, 0.19543330371379852, 0.005435558035969734, 0.4307739734649658, 0.15866899490356445, -0.6891905069351196, 0.1485675722360611, 0.4077514410018921, 0.9557881355285645, 0.0735180526971817, -0.32512885332107544, -0.15746775269508362, 0.22498834133148193, -0.18802447617053986, 0.7052373886108398, -0.30580970644950867, -0.5393365621566772, -0.29243481159210205, 0.22549159824848175, -0.12187036126852036, -0.29715925455093384, 0.3866312503814697, -0.11268583685159683, 0.08366057276725769, -0.3283262550830841, -0.2845768928527832, -0.211219921708107, 0.09890410304069519, -0.35704898834228516, 1.1347171068191528, -0.04280823469161987, -0.9184320569038391, 0.00013986561680212617, -0.48236408829689026, -0.17482124269008636, -0.1268475502729416, -0.03070315718650818, -0.58991938829422, -0.1969148963689804, 0.45269161462783813, 0.475966215133667, -0.42889925837516785, -0.050667934119701385, -0.398374080657959, -0.31190505623817444, 0.3428090810775757, -0.04676854982972145, 1.1373815536499023, 0.3510781526565552, -0.47755134105682373, -0.014466932974755764, -0.8952709436416626, 0.05886148661375046, 0.6997610926628113, -0.31538647413253784, 0.021616443991661072, -0.19126330316066742, -0.101865753531456, 0.14697852730751038, 0.6135950684547424, -0.5904902815818787, 0.27035969495773315, -0.456680566072464, 0.5673626065254211, 0.9183648228645325, 0.09037604182958603, 0.15377755463123322, -0.5250464677810669, 0.46689993143081665, 0.13686035573482513, 0.28479325771331787, -0.1405000388622284, -0.6662076115608215, -1.021780252456665, -0.39621636271476746, -0.16041505336761475, 0.5264675617218018, -0.5381991267204285, 0.7248665690422058, -0.12968562543392181, -0.8449952602386475, -0.4596680998802185, 0.040925636887550354, 0.4848494827747345, 0.31018945574760437, 0.2608785331249237, -0.2767055928707123, -0.8754366636276245, -0.7280782461166382, -0.11320894211530685, -0.3756132423877716, 0.23391476273536682, 0.47067296504974365, 0.708451509475708, -0.43621131777763367, 0.6645994782447815, -0.5230156779289246, -0.2487403005361557, -0.2096402943134308, -0.22651563584804535, 0.7025852799415588, 0.7041445374488831, 0.7832399606704712, -0.5349040627479553, -0.5767129063606262, 0.1954997330904007, -0.9231289029121399, -0.07991527020931244, -0.009805263951420784, -0.5208352208137512, 0.31573712825775146, 0.2410678118467331, -0.7668545842170715, 0.6310977339744568, 0.4355286955833435, -0.6673468351364136, 0.3646426200866699, -0.18510274589061737, 0.17294840514659882, -1.2556408643722534, 0.1407981663942337, -0.10955819487571716, 0.025056399405002594, -0.549851655960083, 0.029945753514766693, -0.18661490082740784, 0.31952470541000366, -0.5589096546173096, 0.9224233627319336, -0.4647962152957916, -0.012138612568378448, -0.06357262283563614, 0.37509021162986755, 0.045994099229574203, 0.6609433889389038, -0.10913494229316711, 0.6495177149772644, 0.516223132610321, -0.519450306892395, 0.515987753868103, 0.5897534489631653, -0.2925977110862732, 0.4748372435569763, -0.9113092422485352, 0.27811044454574585, 0.07101114094257355, 0.4603019058704376, -1.2423169612884521, -0.22686007618904114, 0.5031037926673889, -0.7186169028282166, 0.03319980204105377, -0.12530797719955444, -0.48041751980781555, -0.6391246914863586, -0.44504159688949585, 0.3197716176509857, 0.6352016925811768, -0.761368453502655, 0.4161398708820343, 0.2966444492340088, 0.05221182852983475, -0.7857449054718018, -0.7661896347999573, -0.19219981133937836, -0.2882164716720581, -0.802215039730072, 0.43048855662345886, -0.23260380327701569, -0.19272927939891815, -0.18152235448360443, -0.06785023957490921, -0.01604968123137951, 0.1607741117477417, 0.28890904784202576, 0.662409782409668, -0.25391119718551636, -0.4013659358024597, -0.0024554377887398005, -0.18242689967155457, -0.04963307827711105, -0.04808448627591133, 0.9136928915977478, -0.3283346891403198, -0.4124593138694763, -0.9069838523864746, 0.1441328376531601, 0.5350618362426758, -0.21756774187088013, 0.8073079586029053, 0.7790877223014832, -0.39618968963623047, 0.3753494620323181, -0.5856534838676453, -0.03728337958455086, -0.5347478985786438, 0.3838227689266205, -0.45686227083206177, -0.5376756191253662, 0.911970853805542, 0.3292459547519684, 0.24355535209178925, 0.7202657461166382, 0.6495862007141113, 0.026335621252655983, 1.0528323650360107, 0.5882671475410461, -0.05031773820519447, 0.5807794332504272, -0.6907783150672913, 0.29272520542144775, -1.047518253326416, -0.6327236890792847, -0.44823983311653137, -0.38696473836898804, -0.4942966103553772, -0.42607611417770386, 0.24353210628032684, 0.14610394835472107, -0.632986843585968, 0.4400559961795807, -0.7136104702949524, 0.29945093393325806, 0.3845519721508026, 0.23098617792129517, 0.227658212184906, 0.1388459950685501, -0.19576457142829895, 0.025201227515935898, -0.39312928915023804, -0.4152072072029114, 1.1436738967895508, 0.4619561731815338, 0.6317766904830933, 0.2672519385814667, 0.874635636806488, -0.16397574543952942, 0.010769509710371494, -0.4960058629512787, 0.7002562284469604, 0.18450696766376495, -0.6871819496154785, -0.09644351154565811, -0.21039839088916779, -1.0705392360687256, 0.5067028403282166, 0.005506154615432024, -1.1376426219940186, 0.28525489568710327, -0.2379685640335083, -0.4209405183792114, 0.5297207236289978, -0.503756582736969, 0.5550470948219299, -0.33854296803474426, -0.4593759775161743, -0.025641370564699173, -0.5764068365097046, 0.39902618527412415, 0.20845556259155273, 0.27392470836639404, -0.3641183078289032, -0.3075009286403656, 1.1179331541061401, -0.6485094428062439, 0.9204413890838623, -0.10355373471975327, -0.1680523157119751, 0.4074522852897644, -0.09573078155517578, 0.7382017970085144, 0.24080321192741394, 0.009682576172053814, 0.274581640958786, -0.001797202625311911, -0.38142040371894836, -0.20433636009693146, 0.7433920502662659, -1.2455699443817139, -0.7583136558532715, -0.4981386363506317, -0.18952971696853638, 0.207889124751091, 0.2501809000968933, 0.6196075081825256, 0.13359586894512177, 0.21715648472309113, 0.14658568799495697, 0.3752444088459015, -0.3677094280719757, 0.7516840696334839, 0.3110654652118683, -0.3195328414440155, -0.6537901163101196, 0.7328240871429443, 0.15300650894641876, 0.2029673457145691, 0.27806398272514343, 0.07209257036447525, -0.2608244717121124, -0.18388210237026215, -0.49540141224861145, 0.7724611759185791, -0.7673680782318115, -0.3758094012737274, -0.7423661947250366, -0.3368135094642639, -0.40201690793037415, -0.4433201849460602, -0.3810427188873291, -0.4274918735027313, -0.6815041303634644, -0.16973988711833954, 0.8338490724563599, 0.5150230526924133, -0.1346440315246582, 0.3878408372402191, -0.5498805642127991, 0.25238195061683655, 0.03937884420156479, 0.15977147221565247, 0.22043924033641815, -0.890396237373352, -0.06775283813476562, 0.023347828537225723, -0.3701397180557251, -0.9470418691635132, 0.7625237703323364, -0.04992881044745445, 0.657637894153595, 0.33929675817489624, -0.08513133227825165, 1.0258402824401855, -0.1460728645324707, 0.9155117869377136, 0.5867306590080261, -0.9374157786369324, 0.6652206182479858, -0.4193134307861328, 0.016605276614427567, 0.03249742090702057, 0.22960162162780762, -0.439364492893219, -0.15385594964027405, -0.8226631283760071, -1.0291699171066284, 0.9656159281730652, 0.2378227412700653, 0.2224612683057785, 0.11183153837919235, 0.22698257863521576, -0.10319729149341583, 0.05105259642004967, -1.0260499715805054, -0.7744706273078918, -0.23663507401943207, -0.1878127157688141, 0.052650220692157745, -0.26485350728034973, -0.15348367393016815, -0.5612233877182007, 0.8576392531394958, 0.048206597566604614, 0.637356162071228, 0.28325918316841125, -0.060072820633649826, -0.14610256254673004, -0.01856093481183052, 0.7737104892730713, 0.41602611541748047, -0.11619815975427628, -0.20972700417041779, 0.48089149594306946, -0.6416952013969421, 0.22348365187644958, -0.027805913239717484, -0.13747967779636383, 0.12197212129831314, 0.33152058720588684, 0.9578269124031067, 0.24421648681163788, -0.4271511733531952, 0.5037295818328857, 0.03667939826846123, -0.14532357454299927, -0.4510689675807953, 0.009652581997215748, 0.21207726001739502, 0.463889479637146, 0.4211265742778778, -0.19033312797546387, -0.28383052349090576, -0.44716358184814453, -0.14227750897407532, 0.35104358196258545, 0.08785250037908554, -0.3043062090873718, 0.8731301426887512, 0.1589091718196869, -0.20945210754871368, 0.3664436638355255, -0.015971770510077477, -0.5656444430351257, 1.0291985273361206, 0.804049015045166, 0.6443660259246826, -0.22826436161994934, -0.01212554331868887, 0.8833560943603516, 0.2206255942583084, 0.16074053943157196, 0.4205089509487152, 0.0031507625244557858, -0.5554714798927307, 0.06065791845321655, -0.7290502190589905, -0.05926116928458214, 0.20291796326637268, -0.4257867634296417, 0.43818217515945435, -0.6431662440299988, -0.2381933480501175, -0.22904345393180847, 0.4134679138660431, -0.6654945611953735, 0.01858716644346714, 0.10281545668840408, 0.7387131452560425, -0.7551687955856323, 0.6697065830230713, 0.5777524709701538, -0.6260644197463989, -0.9226481318473816, -0.37431100010871887, 0.09764637053012848, -1.1876544952392578, 0.6360207796096802, 0.039259281009435654, -0.06671726703643799, 0.12259001284837723, -0.7001574039459229, -1.3791677951812744, 1.5180456638336182, 0.14346280694007874, -0.4442177414894104, 0.1106426864862442, -0.10243652760982513, 0.4144245684146881, -0.3145366907119751, 0.6628287434577942, 0.5658761262893677, 0.6284719705581665, 0.1677963137626648, -1.0004972219467163, 0.3515542149543762, -0.7129330635070801, 0.042825426906347275, -0.0826391726732254, -1.3565547466278076, 1.2024879455566406, -0.42143794894218445, -0.10936158895492554, 0.4518352150917053, 0.9036040902137756, 0.7633908987045288, 0.17761902511119843, 0.21925070881843567, 0.5388234257698059, 0.7095184326171875, -0.24980393052101135, 0.8842259049415588, -0.2977347671985626, 0.565479040145874, 0.4271692931652069, -0.03958532586693764, 0.8728411793708801, 0.47890815138816833, -0.6635294556617737, 0.6932920813560486, 0.8217161297798157, -0.3103112578392029, 0.34947240352630615, 0.052604515105485916, -0.1976066380739212, -0.05217303708195686, -0.10040020197629929, -0.8486913442611694, 0.3138673007488251, 0.38115501403808594, -0.33417096734046936, 0.042122695595026016, -0.14013202488422394, 0.5446082353591919, -0.24069476127624512, -0.164970263838768, 0.6178319454193115, 0.2016008496284485, -0.5035172700881958, 1.148208498954773, -0.06628142297267914, 1.0678890943527222, -0.4824460446834564, 0.2451186627149582, -0.42474454641342163, 0.17194020748138428, -0.49289828538894653, -0.7216848134994507, -0.08683856576681137, 0.2659051716327667, -0.05979560688138008, 0.16711567342281342, 0.4537671208381653, -0.057517923414707184, -0.6368566155433655, 0.47705262899398804, 0.1550883948802948, 0.4912791848182678, 0.6103715300559998, -0.7629642486572266, 0.46251484751701355, 0.33073070645332336, -0.7132429480552673, 0.238218754529953, 0.15300773084163666, 0.20193159580230713, 0.7901478409767151, 0.7672829627990723, 0.006971029099076986, 0.4182051420211792, -0.20954939723014832, 0.8851205110549927, -0.571044921875, -0.41721972823143005, -1.0242844820022583, 0.6738160848617554, -0.11154986172914505, -0.5160764455795288, 0.8577300906181335, 0.4937257468700409, 0.7120353579521179, 0.08567856252193451, 0.8024739027023315, -0.3354114890098572, 0.3131353557109833, -0.451428085565567, 0.775761604309082, -0.8185890316963196, 0.2183128297328949, -0.28794610500335693, -0.7170382738113403, -0.23484943807125092, 0.9448647499084473, -0.20876798033714294, 0.25012698769569397, 0.5709701180458069, 0.8980945944786072, 0.18956178426742554, -0.3014078438282013, 0.0563439205288887, 0.4717233180999756, 0.49814286828041077, 0.9716863632202148, 0.7272465229034424, -0.8945837020874023, 0.4696256220340729, -0.571244478225708, 0.025205573067069054, -0.5322937369346619, -0.734296441078186, -1.039192795753479, -0.610840380191803, -0.3611879050731659, -0.4514332711696625, -0.3054213523864746, 1.0811693668365479, 0.6535404324531555, -0.6407480835914612, -0.34499287605285645, 0.1333911418914795, 0.27290669083595276, -0.04343285411596298, -0.17751656472682953, 0.5507616996765137, 0.05844305455684662, -0.9884313344955444, 0.17826730012893677, 0.09905294328927994, 0.5392777323722839, 0.025119222700595856, -0.3185775876045227, -0.2899392247200012, 0.11464648693799973, 0.2980663776397705, 0.4711111783981323, -0.956852376461029, -0.081935353577137, 0.03138457611203194, -0.2961231768131256, 0.17847247421741486, -0.01981240324676037, -0.5938833355903625, 0.058494679629802704, 0.5942802429199219, 0.06227821856737137, 0.6091049909591675, -0.204664409160614, 0.054454509168863297, -0.3939861059188843, 0.5522340536117554, -0.18052366375923157, 0.6912043690681458, 0.1864117980003357, -0.4441908001899719, 0.6397413015365601, 0.41685110330581665, -0.3697856366634369, -1.217024326324463, -0.1518443524837494, -1.1779571771621704, -0.1853342056274414, 1.230218529701233, -0.22512079775333405, -0.550035834312439, 0.25294339656829834, -0.361298531293869, 0.4794514775276184, -0.30369219183921814, 0.5879577994346619, 0.48853182792663574, -0.05990249291062355, -0.11755287647247314, -0.4592247009277344, 0.18671980500221252, 0.30825692415237427, -0.8749493360519409, -0.2240564227104187, 0.09402021765708923, 0.36811643838882446, 0.4207998216152191, 0.7686161994934082, -0.07001110911369324, 0.3222903907299042, 0.07366999238729477, 0.1943930685520172, -0.19865870475769043, 0.09172284603118896, -0.042928073555231094, -0.42396095395088196, -0.22998224198818207, -0.3700379431247711 ]
microsoft/MiniLM-L12-H384-uncased
microsoft
2021-05-19T23:29:48Z
7,622
55
transformers
[ "transformers", "pytorch", "tf", "jax", "bert", "text-classification", "arxiv:2002.10957", "arxiv:1810.04805", "license:mit", "endpoints_compatible", "region:us" ]
text-classification
2022-03-02T23:29:05Z
--- thumbnail: https://huggingface.co/front/thumbnails/microsoft.png tags: - text-classification license: mit --- ## MiniLM: Small and Fast Pre-trained Models for Language Understanding and Generation MiniLM is a distilled model from the paper "[MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers](https://arxiv.org/abs/2002.10957)". Please find the information about preprocessing, training and full details of the MiniLM in the [original MiniLM repository](https://github.com/microsoft/unilm/blob/master/minilm/). Please note: This checkpoint can be an inplace substitution for BERT and it needs to be fine-tuned before use! ### English Pre-trained Models We release the **uncased** **12**-layer model with **384** hidden size distilled from an in-house pre-trained [UniLM v2](/unilm) model in BERT-Base size. - MiniLMv1-L12-H384-uncased: 12-layer, 384-hidden, 12-heads, 33M parameters, 2.7x faster than BERT-Base #### Fine-tuning on NLU tasks We present the dev results on SQuAD 2.0 and several GLUE benchmark tasks. | Model | #Param | SQuAD 2.0 | MNLI-m | SST-2 | QNLI | CoLA | RTE | MRPC | QQP | |---------------------------------------------------|--------|-----------|--------|-------|------|------|------|------|------| | [BERT-Base](https://arxiv.org/pdf/1810.04805.pdf) | 109M | 76.8 | 84.5 | 93.2 | 91.7 | 58.9 | 68.6 | 87.3 | 91.3 | | **MiniLM-L12xH384** | 33M | 81.7 | 85.7 | 93.0 | 91.5 | 58.5 | 73.3 | 89.5 | 91.3 | ### Citation If you find MiniLM useful in your research, please cite the following paper: ``` latex @misc{wang2020minilm, title={MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers}, author={Wenhui Wang and Furu Wei and Li Dong and Hangbo Bao and Nan Yang and Ming Zhou}, year={2020}, eprint={2002.10957}, archivePrefix={arXiv}, primaryClass={cs.CL} } ```
[ -0.618768572807312, -0.8651192784309387, 0.370326966047287, 0.138908252120018, -0.20556707680225372, 0.024664517492055893, -0.12012634426355362, -0.2916375994682312, 0.08401472866535187, 0.16849298775196075, -1.0747699737548828, -0.18674995005130768, -0.6532891988754272, 0.033812977373600006, -0.41525498032569885, 1.2164431810379028, 0.4162563979625702, -0.04322423040866852, -0.4320167005062103, -0.03521663695573807, -0.19374504685401917, -0.7724377512931824, -0.6043810248374939, -0.32543304562568665, 0.49962812662124634, 0.15570490062236786, 0.541299045085907, 0.5050526857376099, 0.44694700837135315, 0.3721896708011627, -0.15135334432125092, 0.13394694030284882, -0.577816367149353, -0.27140605449676514, 0.17164713144302368, -0.231368750333786, -0.8526255488395691, 0.13581833243370056, 0.5643512010574341, 0.4905420243740082, -0.089976467192173, 0.7267763614654541, 0.5836724638938904, 0.8927201628684998, -0.4475410282611847, 0.05015456676483154, -0.6700450778007507, -0.08173651993274689, -0.2316918820142746, 0.10279352962970734, -0.3485528826713562, 0.053319916129112244, 0.1719673126935959, -0.41316908597946167, 0.6101966500282288, 0.1704617291688919, 1.0285779237747192, 0.7359372973442078, -0.1976969838142395, -0.24978207051753998, -0.5125672817230225, 1.070812463760376, -0.9730008840560913, 0.2947579622268677, 0.3780769109725952, 0.31260618567466736, -0.1717321127653122, -1.0397511720657349, -0.6105856895446777, -0.08059429377317429, -0.4963446259498596, 0.059238240122795105, -0.4706505239009857, 0.10180851817131042, 0.6204848885536194, 0.38554444909095764, -0.8324434757232666, 0.09315239638090134, -0.4851348400115967, -0.2902194559574127, 0.7382644414901733, 0.15896788239479065, -0.04436633735895157, -0.20660953223705292, -0.5644973516464233, -0.028919214382767677, -0.6235538125038147, 0.1141543984413147, 0.20017780363559723, 0.23295913636684418, -0.2956070601940155, 0.33658114075660706, -0.13060729205608368, 0.8039281964302063, 0.17617203295230865, -0.17823095619678497, 0.33222532272338867, -0.6117047667503357, -0.6317198276519775, -0.12093815207481384, 0.9975074529647827, -0.019880978390574455, 0.013551014475524426, 0.17680670320987701, -0.17197422683238983, -0.10491811484098434, 0.08260605484247208, -1.0473970174789429, -0.6244780421257019, 0.16526754200458527, -0.803583025932312, -0.3008688688278198, -0.26877400279045105, -0.7141602635383606, 0.032183438539505005, -0.3542355000972748, 0.2576034963130951, -0.33302396535873413, -0.15037581324577332, -0.2969784438610077, 0.13203582167625427, 0.15340656042099, 0.20836903154850006, -0.8872522115707397, 0.12361137568950653, 0.3955114483833313, 0.697201669216156, -0.08486657589673996, -0.42103853821754456, -0.2681693434715271, -0.14527736604213715, -0.07171685248613358, 0.6925497055053711, 0.07872125506401062, -0.20789267122745514, -0.16543833911418915, -0.029299702495336533, -0.001968913245946169, -0.5698699355125427, 0.35064589977264404, -0.3551977276802063, 0.37779444456100464, -0.12427876889705658, -0.5559108257293701, -0.08387941867113113, 0.0492488369345665, -0.6406087279319763, 1.3014897108078003, 0.10003762692213058, -0.6520289182662964, 0.3771791458129883, -0.7385980486869812, -0.260997474193573, -0.06907597184181213, 0.008913730271160603, -0.489703893661499, 0.1610010266304016, 0.17515596747398376, 0.26846620440483093, -0.4348914921283722, 0.24365335702896118, -0.37413501739501953, -0.14107461273670197, 0.07737836986780167, -0.4969315826892853, 1.3294951915740967, 0.46627941727638245, -0.35076382756233215, 0.22836768627166748, -0.8320241570472717, 0.2649797201156616, 0.31504228711128235, -0.10865621268749237, -0.22672265768051147, -0.1365402638912201, -0.24703055620193481, 0.6709154844284058, 0.6410542130470276, -0.2739473283290863, 0.2131546288728714, -0.17153452336788177, 0.4372425377368927, 0.7421706914901733, -0.24713316559791565, 0.411638081073761, -0.18334874510765076, 0.35095882415771484, -0.040571559220552444, 0.6103721857070923, -0.0026047085411846638, -0.5614123344421387, -1.1422789096832275, -0.5057781934738159, 0.4888339340686798, 0.3482682704925537, -0.8024613261222839, 0.6207396388053894, -0.0607403963804245, -0.6132985949516296, -1.024410367012024, 0.48215150833129883, 0.6703886389732361, 0.6373876333236694, 0.6251540780067444, 0.29217225313186646, -0.9658815264701843, -1.2262616157531738, -0.13225999474525452, -0.288166880607605, -0.08838032931089401, 0.0911044329404831, 0.6116894483566284, -0.3217655420303345, 1.2419544458389282, -0.6106269955635071, -0.6937704086303711, -0.3193526566028595, 0.4066809117794037, 0.2936040759086609, 0.6520532965660095, 0.865216076374054, -0.5793203115463257, -0.7475882172584534, -0.6576156616210938, -0.8212757706642151, -0.06902419030666351, 0.14082381129264832, -0.14670495688915253, 0.32693639397621155, 0.5830996632575989, -0.6529167890548706, 0.4993080496788025, 0.7128711342811584, -0.225641131401062, 0.5368544459342957, -0.40247249603271484, -0.26962292194366455, -0.9911356568336487, 0.09518320113420486, -0.27988266944885254, -0.35448479652404785, -0.770697832107544, 0.012576964683830738, 0.10066444426774979, 0.03885425254702568, -0.8412334322929382, 0.5605810284614563, -0.7453674077987671, 0.16831029951572418, -0.4135326147079468, 0.010872035287320614, 0.07121574133634567, 0.7970412373542786, -0.24949601292610168, 0.7592819333076477, 0.4054047167301178, -0.6184015274047852, 0.23087140917778015, 0.17512096464633942, -0.3317687511444092, 0.1582384556531906, -0.9257909655570984, 0.5575891733169556, 0.04156401380896568, 0.17185641825199127, -0.948592483997345, 0.2936249077320099, 0.10984847694635391, -0.40159761905670166, 0.3670623302459717, -0.20395143330097198, -0.8407456278800964, -0.6919673085212708, -0.15263649821281433, 0.41800016164779663, 1.0053919553756714, -0.4208202362060547, 0.33580532670021057, 0.42442724108695984, 0.10175031423568726, -0.5176084041595459, -0.8534936904907227, -0.4193248450756073, -0.18398518860340118, -0.5511582493782043, 0.26485300064086914, -0.5456207990646362, -0.18501408398151398, 0.15955376625061035, 0.022196117788553238, -0.12037046253681183, 0.014246846549212933, 0.20643436908721924, 0.3597256541252136, -0.2438792735338211, 0.08017896860837936, 0.07268017530441284, -0.13138891756534576, -0.056685175746679306, 0.031110083684325218, 0.6262151598930359, -0.438897967338562, -0.1704377830028534, -0.28448542952537537, 0.49652475118637085, 0.36908048391342163, -0.025866881012916565, 0.7662649154663086, 0.7704988121986389, -0.3822474479675293, -0.23879849910736084, -0.6206899285316467, -0.4400530755519867, -0.5625790953636169, 0.23680531978607178, -0.4852222502231598, -0.9648858308792114, 0.5515395402908325, 0.12435056269168854, 0.1236124336719513, 1.0037736892700195, 0.6879784464836121, -0.6254155039787292, 1.1921336650848389, 0.8914332985877991, -0.08632625639438629, 0.4011635482311249, -0.581891655921936, 0.08655066788196564, -0.9079045057296753, -0.1147727519273758, -0.5421679615974426, -0.5876830220222473, -0.41557401418685913, -0.47991394996643066, 0.17179788649082184, 0.4146615266799927, -0.19644558429718018, 0.35609424114227295, -0.6960465312004089, 0.2493872195482254, 0.7705824971199036, -0.19916681945323944, 0.1173265129327774, -0.18348917365074158, -0.1905144304037094, -0.15784749388694763, -1.0516541004180908, -0.3692004382610321, 0.8571292757987976, 0.2734960615634918, 0.7019887566566467, 0.11257685720920563, 0.8897234201431274, 0.4969187080860138, 0.29653453826904297, -0.6656634211540222, 0.743663489818573, -0.27129343152046204, -1.089274287223816, -0.4237574338912964, -0.32686781883239746, -1.1306307315826416, 0.25577136874198914, -0.13265030086040497, -0.6201614141464233, 0.28512585163116455, 0.5445080399513245, -0.5699970722198486, 0.14040759205818176, -0.882508397102356, 1.0190953016281128, -0.2889643907546997, 0.004785236902534962, -0.07636409997940063, -0.7159253358840942, 0.46774402260780334, -0.19597110152244568, 0.25416290760040283, -0.35071197152137756, 0.08539672940969467, 0.8235758543014526, -0.701134204864502, 0.884111225605011, -0.3381498157978058, 0.10657135397195816, 0.5051487684249878, -0.0520007461309433, 0.5498721599578857, -0.12208050489425659, 0.15112027525901794, 0.45814386010169983, 0.1268104463815689, -0.49796009063720703, -0.645414412021637, 0.7010082006454468, -0.7528927326202393, -0.8596096038818359, -0.5401865839958191, -0.6408390402793884, 0.09242594242095947, 0.4529534876346588, 0.6659557223320007, 0.2155359387397766, -0.027786944061517715, 0.392722487449646, 0.6339621543884277, 0.039078615605831146, 0.7917616963386536, 0.7155402898788452, -0.31494438648223877, -0.11545401066541672, 0.7526042461395264, 0.3150101900100708, 0.19212844967842102, 0.168222576379776, 0.18868279457092285, -0.43582409620285034, -0.6429329514503479, -0.34832435846328735, 0.2695547044277191, -0.5662459135055542, -0.4379868805408478, -0.6859847903251648, -0.5297647714614868, -0.5320157408714294, 0.20473261177539825, -0.6937681436538696, -0.26947396993637085, -0.5815882682800293, 0.15137138962745667, 0.2521812915802002, 0.6872090697288513, -0.1394280195236206, 0.2023611068725586, -0.9762167930603027, 0.397381067276001, 0.5148072242736816, -0.014371163211762905, 0.018319638445973396, -0.647273600101471, -0.5766730308532715, 0.30372539162635803, -0.1865769475698471, -0.6982073187828064, 0.5738905072212219, 0.34158381819725037, 0.9281177520751953, 0.25821879506111145, 0.39999017119407654, 1.0417927503585815, -0.708394467830658, 0.9017750024795532, 0.222517192363739, -1.0283390283584595, 0.8233780860900879, 0.0265588890761137, 0.38528987765312195, 0.686366081237793, 0.22117556631565094, 0.16607438027858734, -0.2632238268852234, -1.0616223812103271, -0.8137324452400208, 0.881194531917572, 0.3380151093006134, -0.0891873687505722, 0.0946747288107872, -0.041901253163814545, 0.06342171132564545, 0.4504370093345642, -0.7362556457519531, -0.7654172778129578, -0.16089968383312225, -0.14064852893352509, -0.3107977509498596, -0.7491315603256226, -0.3269551694393158, -0.5951246619224548, 0.6961444616317749, -0.09249269217252731, 0.5922217965126038, 0.2871444523334503, -0.3710225522518158, 0.20339380204677582, 0.008797279559075832, 0.8695981502532959, 0.566621720790863, -0.47829562425613403, 0.23171019554138184, 0.36034345626831055, -0.39293932914733887, 0.17944787442684174, 0.203826904296875, -0.15547692775726318, 0.2244223803281784, 0.401276171207428, 0.926514208316803, 0.0043066032230854034, -0.32848426699638367, 0.43419021368026733, -0.05672226473689079, -0.3593011498451233, -0.40375906229019165, -0.11589041352272034, -0.1469099223613739, 0.34716376662254333, 0.5535954833030701, 0.1754719614982605, 0.34204137325286865, -0.4785459637641907, 0.20598050951957703, 0.5107449293136597, -0.49405309557914734, -0.321536123752594, 0.5786756277084351, 0.1369228959083557, -0.35321155190467834, 0.5780527591705322, -0.472022145986557, -0.34272876381874084, 0.49822720885276794, 0.5669177174568176, 1.1031259298324585, -0.1759933978319168, -0.04708131402730942, 0.3449714183807373, 0.5460123419761658, 0.1779758334159851, 0.2790836989879608, -0.043127600103616714, -0.5060387849807739, -0.4517228305339813, -0.8101433515548706, 0.04957973212003708, 0.36479610204696655, -0.7424318790435791, 0.07108277827501297, -0.2004397213459015, -0.44956064224243164, -0.04049999266862869, 0.21238155663013458, -1.0756570100784302, 0.18213777244091034, 0.17577004432678223, 1.0478718280792236, -0.6906000375747681, 1.5663032531738281, 0.6252588033676147, -0.33394140005111694, -0.8644559383392334, -0.03879392147064209, 0.12292236089706421, -0.7237817645072937, 0.8851661682128906, -0.21789519488811493, -0.12601956725120544, 0.19338957965373993, -0.38194429874420166, -1.1275765895843506, 1.2188173532485962, 0.5784481167793274, -0.7285304665565491, -0.26345640420913696, -0.09545380622148514, 0.7112511396408081, -0.3211863338947296, 0.1532941460609436, 0.5580142736434937, 0.2729320824146271, -0.1288943737745285, -1.0231168270111084, 0.11470429599285126, -0.4718170464038849, 0.23534275591373444, -0.08296536654233932, -0.8078625798225403, 1.1137564182281494, -0.16005481779575348, -0.11349210888147354, 0.14453941583633423, 0.8661787509918213, 0.43900951743125916, 0.2896762490272522, 0.6298093795776367, 0.5777385830879211, 0.6879673004150391, -0.2956917881965637, 1.1260138750076294, -0.28336378931999207, 0.6984267234802246, 1.4526275396347046, 0.1550103724002838, 0.7528154253959656, 0.6545298099517822, -0.43919238448143005, 0.6065375804901123, 0.6321361064910889, -0.05136117339134216, 0.8650801181793213, 0.07961905747652054, 0.21216611564159393, -0.0933946892619133, 0.12713491916656494, -0.7509068846702576, 0.20853519439697266, 0.18545326590538025, -0.5279268026351929, -0.05950972065329552, 0.0688026174902916, -0.051418203860521317, -0.34080639481544495, -0.2551441490650177, 0.8827410936355591, 0.25838860869407654, -0.47887980937957764, 1.0292576551437378, -0.41562312841415405, 0.804121196269989, -0.7665966749191284, 0.11706230789422989, -0.18514730036258698, 0.20447878539562225, -0.14629708230495453, -0.5944938659667969, 0.4358172118663788, 0.053740471601486206, -0.4788404405117035, -0.4256744682788849, 1.0179959535598755, -0.4395750164985657, -0.595474362373352, 0.4199610650539398, 0.7424654960632324, 0.16714340448379517, 0.05139312893152237, -1.1475166082382202, 0.11419752985239029, 0.13927215337753296, -0.5072302222251892, 0.61140376329422, 0.3765411674976349, 0.41225290298461914, 0.5431593656539917, 0.8249323964118958, -0.046788666397333145, 0.33525899052619934, -0.05157673731446266, 0.9396558403968811, -0.4418630003929138, -0.36557310819625854, -1.1707329750061035, 0.8643988370895386, -0.2787451148033142, -0.2626328766345978, 1.1316105127334595, 0.6307746767997742, 0.7378198504447937, -0.38965877890586853, 0.6851816773414612, -0.15038035809993744, 0.5421857237815857, -0.42613494396209717, 0.9355682730674744, -0.8940213918685913, 0.06343868374824524, -0.27521923184394836, -0.9921644926071167, -0.01352910976856947, 0.6303578615188599, -0.0918273851275444, 0.1992758959531784, 0.7513003349304199, 0.5092284083366394, 0.05581697076559067, -0.47595906257629395, 0.4001794755458832, 0.3641286790370941, 0.2607385814189911, 0.48434212803840637, 0.7388550043106079, -0.5234720706939697, 0.794499933719635, -0.7145737409591675, -0.20267440378665924, -0.3020494878292084, -0.9954605102539062, -1.1756120920181274, -0.7651657462120056, -0.45170795917510986, -0.2952865660190582, -0.15561369061470032, 0.8015202283859253, 1.1271436214447021, -0.8980106711387634, -0.04017297923564911, -0.09172289073467255, 0.08326767385005951, -0.39659109711647034, -0.2541542053222656, 0.45227184891700745, -0.451809287071228, -0.9761780500411987, 0.4792121350765228, 0.09114906936883926, 0.3458166718482971, -0.41997283697128296, -0.21345272660255432, -0.3585175573825836, 0.027146413922309875, 0.7346100807189941, 0.20648325979709625, -0.917752742767334, -0.12098632007837296, 0.028981244191527367, -0.3396625816822052, -0.13574127852916718, 0.6361418962478638, -0.8025678992271423, 0.37953561544418335, 0.556817889213562, 0.12694254517555237, 0.6538369059562683, -0.2625160813331604, 0.3388906717300415, -1.1340374946594238, 0.5973278284072876, 0.2708943784236908, 0.5128471255302429, 0.05133115127682686, -0.330273300409317, 0.5397063493728638, 0.22397485375404358, -0.7230373024940491, -1.1882476806640625, 0.12400475889444351, -1.017117977142334, -0.25786057114601135, 0.9676365852355957, -0.29808714985847473, -0.19264601171016693, 0.013201859779655933, -0.2769030034542084, 0.4619447588920593, -0.3053849935531616, 0.5902636647224426, 0.6138608455657959, -0.20901183784008026, -0.4632311761379242, -0.47260087728500366, 1.023779273033142, 0.3641417920589447, -0.6691372394561768, -0.10398697853088379, 0.24158400297164917, 0.07201448827981949, 0.391442209482193, 0.787326455116272, 0.14742568135261536, -0.006969699170440435, 0.042256906628608704, 0.16255594789981842, -0.44690126180648804, -0.35805544257164, -0.24647477269172668, 0.01928691938519478, -0.06895014643669128, -0.3660595715045929 ]
bigcode/tiny_starcoder_py
bigcode
2023-06-01T15:14:56Z
7,609
59
transformers
[ "transformers", "pytorch", "safetensors", "gpt_bigcode", "text-generation", "code", "dataset:bigcode/the-stack-dedup", "license:bigcode-openrail-m", "model-index", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-05-15T07:43:22Z
--- pipeline_tag: text-generation inference: true widget: - text: 'def print_hello_world():' example_title: Hello world group: Python license: bigcode-openrail-m datasets: - bigcode/the-stack-dedup metrics: - code_eval library_name: transformers tags: - code model-index: - name: Tiny-StarCoder-Py results: - task: type: text-generation dataset: type: openai_humaneval name: HumanEval metrics: - name: pass@1 type: pass@1 value: 7.84% verified: false --- # TinyStarCoderPy This is a 164M parameters model with the same architecture as [StarCoder](https://huggingface.co/bigcode/starcoder) (8k context length, MQA & FIM). It was trained on the Python data from [StarCoderData](https://huggingface.co/datasets/bigcode/starcoderdata) for ~6 epochs which amounts to 100B tokens. ## Use ### Intended use The model was trained on GitHub code, to assist with some tasks like [Assisted Generation](https://huggingface.co/blog/assisted-generation). For pure code completion, we advise using our 15B models [StarCoder]() or [StarCoderBase](). ### Generation ```python # pip install -q transformers from transformers import AutoModelForCausalLM, AutoTokenizer checkpoint = "bigcode/tiny_starcoder_py" device = "cuda" # for GPU usage or "cpu" for CPU usage tokenizer = AutoTokenizer.from_pretrained(checkpoint) model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device) inputs = tokenizer.encode("def print_hello_world():", return_tensors="pt").to(device) outputs = model.generate(inputs) print(tokenizer.decode(outputs[0])) ``` ### Fill-in-the-middle Fill-in-the-middle uses special tokens to identify the prefix/middle/suffix part of the input and output: ```python input_text = "<fim_prefix>def print_one_two_three():\n print('one')\n <fim_suffix>\n print('three')<fim_middle>" inputs = tokenizer.encode(input_text, return_tensors="pt").to(device) outputs = model.generate(inputs) print(tokenizer.decode(outputs[0])) ``` # Training ## Model - **Architecture:** GPT-2 model with multi-query attention and Fill-in-the-Middle objective - **Pretraining steps:** 50k - **Pretraining tokens:** 100 billion - **Precision:** bfloat16 ## Hardware - **GPUs:** 32 Tesla A100 - **Training time:** 18 hours ## Software - **Orchestration:** [Megatron-LM](https://github.com/bigcode-project/Megatron-LM) - **Neural networks:** [PyTorch](https://github.com/pytorch/pytorch) - **BP16 if applicable:** [apex](https://github.com/NVIDIA/apex) # License The model is licensed under the BigCode OpenRAIL-M v1 license agreement. You can find the full agreement [here](https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement).
[ -0.46864110231399536, -0.5220135450363159, 0.4188286066055298, 0.08532830327749252, -0.2832036316394806, -0.3401733338832855, -0.23228365182876587, -0.19667914509773254, -0.07427144795656204, 0.33333468437194824, -0.6014782786369324, -0.2549664378166199, -0.6751415133476257, -0.07230785489082336, 0.009650904685258865, 1.0768214464187622, -0.0013312948867678642, 0.3070184290409088, 0.032135650515556335, -0.052835613489151, -0.1551959365606308, -0.5808735489845276, -0.7553498148918152, -0.27712151408195496, 0.4868471324443817, 0.37336844205856323, 0.7146928906440735, 0.7173954248428345, 0.4217197895050049, 0.2991604506969452, -0.246940016746521, 0.07229290157556534, -0.3364241123199463, -0.40425917506217957, 0.1443714052438736, -0.250326544046402, -0.45037150382995605, 0.023494265973567963, 0.6329141855239868, 0.3121715188026428, 0.10721417516469955, 0.6132275462150574, 0.10288873314857483, 0.3890198767185211, -0.47308099269866943, 0.37276482582092285, -0.32007768750190735, -0.06093911454081535, 0.11571895331144333, 0.11917822062969208, -0.20905594527721405, -0.1540006399154663, -0.2388390451669693, -0.5968232750892639, 0.2459116280078888, 0.21798232197761536, 1.1211515665054321, 0.3975491523742676, -0.22438085079193115, -0.26014700531959534, -0.575829803943634, 0.7296860814094543, -0.6626668572425842, 0.42938482761383057, 0.3487856388092041, 0.3248065114021301, -0.016254473477602005, -1.0153228044509888, -0.5361204743385315, -0.31152650713920593, -0.03663467988371849, 0.029446858912706375, -0.22806118428707123, 0.14712990820407867, 0.627802312374115, 0.3673608899116516, -0.6972516775131226, 0.2322770059108734, -0.7328346371650696, -0.20759719610214233, 0.4432489573955536, 0.25068873167037964, -0.08349975943565369, -0.5254098773002625, -0.37799450755119324, -0.06132381409406662, -0.4621245265007019, 0.15147648751735687, 0.28578507900238037, 0.12713974714279175, -0.35096120834350586, 0.557870626449585, -0.2655816376209259, 0.8115845322608948, 0.180393248796463, 0.11606642603874207, 0.16480974853038788, -0.46265655755996704, -0.4194399416446686, -0.05533524602651596, 0.9893567562103271, 0.28619620203971863, 0.024792669340968132, -0.007388398051261902, -0.2570209205150604, -0.10253427922725677, 0.06127149611711502, -1.1389774084091187, -0.3183395564556122, 0.42391160130500793, -0.4487215578556061, -0.09997156262397766, 0.10552273690700531, -0.5368557572364807, 0.024888040497899055, -0.3283531665802002, 0.6923617124557495, -0.5305790305137634, -0.03828733041882515, 0.20012012124061584, -0.12179436534643173, 0.4956004023551941, -0.06588011980056763, -0.991736650466919, 0.09082667529582977, 0.6243627667427063, 0.9137104153633118, 0.46993154287338257, -0.49458974599838257, -0.44273480772972107, -0.03122793324291706, -0.17705953121185303, 0.286051869392395, -0.0837690681219101, -0.13765671849250793, -0.37897226214408875, -0.01734362728893757, -0.155460923910141, -0.2799643874168396, 0.2839556634426117, -0.5735871195793152, 0.2462013065814972, 0.015129652805626392, -0.42523193359375, -0.2528034448623657, 0.16563835740089417, -0.5652421116828918, 1.0725518465042114, 0.33750560879707336, -0.5484793782234192, 0.3993428945541382, -0.7456235885620117, 0.12688210606575012, 0.0893164724111557, -0.19430695474147797, -0.6050808429718018, 0.006560293026268482, 0.18218934535980225, 0.5894204378128052, -0.41832131147384644, 0.2637750804424286, -0.3008861839771271, -0.5828491449356079, 0.026120908558368683, -0.24041932821273804, 0.850867509841919, 0.3354450464248657, -0.4562850296497345, 0.30070924758911133, -0.7102322578430176, 0.0821734368801117, 0.23106178641319275, -0.27611044049263, 0.23473352193832397, -0.5724384784698486, 0.33547303080558777, 0.48547279834747314, 0.2992374897003174, -0.5248867273330688, 0.3455621898174286, -0.2720184624195099, 0.8096942901611328, 0.47632771730422974, -0.0422922819852829, 0.17090436816215515, -0.24862313270568848, 0.3872084319591522, 0.18937836587429047, 0.4763297438621521, 0.0030385011341422796, -0.5535991191864014, -0.8053848147392273, -0.43887004256248474, 0.4419838488101959, 0.14096438884735107, -0.6714472770690918, 0.6591858863830566, -0.3097994923591614, -0.6271117925643921, -0.49316656589508057, 0.018688134849071503, 0.5288167595863342, 0.27441734075546265, 0.4722072184085846, 0.07569669187068939, -0.6444234251976013, -0.9467588067054749, 0.09417019784450531, -0.1924295425415039, -0.09357023984193802, 0.2772092819213867, 0.9021413326263428, -0.4894125759601593, 0.7079747319221497, -0.49558568000793457, -0.20014512538909912, -0.22721675038337708, 0.04759532958269119, 0.48228389024734497, 0.6948404908180237, 0.6180394887924194, -0.49823322892189026, -0.19222629070281982, -0.18580518662929535, -0.5545638799667358, 0.5208666920661926, 0.05934467911720276, -0.08426029980182648, 0.0972575768828392, 0.5189387798309326, -0.9109286069869995, 0.2726793587207794, 0.463935911655426, -0.5054323077201843, 0.6470767259597778, -0.2608223855495453, 0.12885317206382751, -1.2714722156524658, 0.41459235548973083, -0.14148449897766113, -0.0783555805683136, -0.2617124915122986, 0.17440886795520782, 0.14643622934818268, -0.26302555203437805, -0.6175337433815002, 0.6619490385055542, -0.439709335565567, 0.029949894174933434, -0.16476847231388092, -0.4084322154521942, -0.006504977587610483, 0.7414677143096924, 0.0330573134124279, 0.8685368299484253, 0.6945555806159973, -0.621741533279419, 0.3986204266548157, 0.36405932903289795, -0.22742339968681335, -0.003554138820618391, -0.830732524394989, 0.0957833081483841, -0.0331316739320755, 0.17190702259540558, -0.9517772197723389, -0.5035995841026306, 0.4198930263519287, -0.7667232155799866, 0.08977697789669037, -0.47723662853240967, -0.6840498447418213, -0.6015093922615051, -0.10772249847650528, 0.536808967590332, 0.7371626496315002, -0.6401989459991455, 0.40224239230155945, 0.09630376845598221, 0.004456579685211182, -0.4654252827167511, -0.6935256719589233, -0.03226081654429436, -0.10775239020586014, -0.474926233291626, 0.22492322325706482, 0.06724151223897934, 0.18876485526561737, 0.1324409395456314, 0.013923612423241138, -0.17877081036567688, -0.028932247310876846, 0.4057423770427704, 0.34687092900276184, -0.3689965605735779, -0.15549969673156738, -0.30651894211769104, -0.27292871475219727, 0.24210377037525177, -0.46678003668785095, 0.7171729803085327, -0.4128083288669586, -0.03910837695002556, -0.5200806260108948, 0.11995000392198563, 0.6913105249404907, -0.13890524208545685, 0.8397799730300903, 1.0141092538833618, -0.5260646343231201, -0.1152382493019104, -0.43991827964782715, -0.41857266426086426, -0.47890138626098633, 0.5390922427177429, -0.3868902027606964, -0.7897152304649353, 0.5159777998924255, 0.24711881577968597, -0.07474376261234283, 0.720564603805542, 0.5156452655792236, 0.1971714347600937, 1.0635430812835693, 0.416928768157959, -0.07013820111751556, 0.4084855616092682, -0.8111717104911804, 0.05854099988937378, -0.8745810985565186, -0.27032649517059326, -0.39465266466140747, -0.2035880833864212, -0.3530236780643463, -0.4982520043849945, 0.22222089767456055, 0.35134458541870117, -0.7610180974006653, 0.34725329279899597, -0.6398653984069824, 0.40666690468788147, 0.7520833611488342, 0.13160715997219086, -0.16760264337062836, -0.03707490488886833, -0.1960737705230713, 0.14304299652576447, -0.9480879902839661, -0.5314286351203918, 1.225981593132019, 0.4291701912879944, 0.6563116312026978, -0.08998486399650574, 0.5884338617324829, -0.08903221040964127, 0.08735360205173492, -0.7739320397377014, 0.47708678245544434, -0.06772284209728241, -0.6217082738876343, -0.0025808780919760466, -0.5532687902450562, -0.8054386973381042, 0.02718527428805828, -0.06842910498380661, -0.6758158206939697, 0.06708072125911713, 0.20580901205539703, -0.8782192468643188, 0.40543651580810547, -0.670391857624054, 1.1186633110046387, -0.20417232811450958, -0.437485933303833, -0.0473862923681736, -0.6054258346557617, 0.49405115842819214, 0.0014208941720426083, -0.14469613134860992, 0.07317578047513962, -0.03002750314772129, 0.9434469938278198, -0.4907940924167633, 0.5742037892341614, -0.3223205804824829, 0.36268773674964905, 0.35089290142059326, -0.2992522418498993, 0.3246742784976959, 0.3066592216491699, -0.08179072290658951, 0.43951934576034546, 0.013893470168113708, -0.4929703176021576, -0.2472831904888153, 0.8297263979911804, -1.209458827972412, -0.3438122272491455, -0.5086139440536499, -0.3986949324607849, -0.03991498053073883, 0.34061768651008606, 0.5356209874153137, 0.5628331303596497, 0.17836472392082214, 0.37135744094848633, 0.43824106454849243, -0.03151983022689819, 0.6311913132667542, 0.18939583003520966, -0.09643499553203583, -0.6872341632843018, 0.7986893653869629, -0.0554472915828228, 0.04008318483829498, -0.12241525948047638, -0.02092958427965641, -0.5149928331375122, -0.5336348414421082, -0.7291308641433716, 0.31066933274269104, -0.5354875922203064, -0.34866082668304443, -0.6128212213516235, -0.5514830946922302, -0.4843902289867401, 0.03180919215083122, -0.5667777061462402, -0.30468326807022095, -0.44002124667167664, 0.12539978325366974, 0.46575263142585754, 0.581023097038269, -0.03796190023422241, 0.5875062942504883, -0.8347369432449341, 0.41609448194503784, 0.263293981552124, 0.4097256064414978, -0.08131792396306992, -0.6964993476867676, -0.5379946231842041, 0.06291203200817108, -0.35081809759140015, -0.5184664130210876, 0.2378319650888443, -0.007894177921116352, 0.4998318552970886, 0.2289547175168991, -0.2647581696510315, 0.6693352460861206, -0.3349345922470093, 1.0319099426269531, 0.3370342552661896, -0.7320449948310852, 0.40200522541999817, -0.3126223087310791, 0.40453121066093445, 0.47296997904777527, 0.407009482383728, -0.24644537270069122, -0.018679818138480186, -0.825325608253479, -0.7876622080802917, 1.0282082557678223, 0.26045045256614685, -0.04889986664056778, 0.15144707262516022, 0.5400391817092896, -0.0985378697514534, 0.07241563498973846, -0.5763742923736572, -0.27802616357803345, -0.3556665778160095, -0.3198491334915161, -0.2891460061073303, -0.19808244705200195, -0.14786964654922485, -0.4410439431667328, 0.7802000045776367, -0.189615860581398, 0.6294689774513245, 0.20990267395973206, -0.2038709968328476, 0.08886121958494186, -0.11682628095149994, 0.6151607632637024, 0.6268415451049805, -0.32902055978775024, -0.07493433356285095, -0.02351744845509529, -0.6363212466239929, 0.15003196895122528, 0.5448158383369446, -0.04537898302078247, -0.04567047953605652, 0.15194305777549744, 1.1363416910171509, 0.28696611523628235, -0.2830547094345093, 0.564490795135498, -0.12895743548870087, -0.45932403206825256, -0.27922752499580383, 0.21794039011001587, 0.06260477751493454, 0.27169153094291687, 0.3781515061855316, 0.27611029148101807, 0.03686215355992317, -0.14045211672782898, 0.24690188467502594, 0.3006601631641388, -0.5209543704986572, -0.3786981999874115, 1.1888011693954468, 0.02543368563055992, -0.07521557807922363, 0.7124922871589661, -0.18356135487556458, -0.4588363468647003, 0.8520283102989197, 0.26320746541023254, 0.9432783722877502, 0.12464402616024017, -0.02279532700777054, 0.7183687090873718, 0.265366792678833, -0.11054292321205139, 0.3709510564804077, -0.051912255585193634, -0.40882357954978943, -0.3656657934188843, -0.828162431716919, -0.2451924979686737, 0.3118830919265747, -0.668406069278717, 0.43485262989997864, -0.6832922697067261, -0.36155933141708374, 0.10456974804401398, 0.31926319003105164, -1.0968807935714722, 0.28572461009025574, 0.4054955542087555, 0.9014336466789246, -0.6553784608840942, 0.8319628834724426, 0.9213728308677673, -0.6121650338172913, -1.006656527519226, -0.14162962138652802, -0.18153393268585205, -0.8865522742271423, 0.7554693818092346, 0.3539502024650574, 0.1241668090224266, 0.4287790060043335, -0.5763309001922607, -0.9038658142089844, 1.1610612869262695, 0.24614499509334564, -0.3578372299671173, -0.10032027214765549, 0.15620586276054382, 0.27325764298439026, -0.1369166523218155, 0.5027405619621277, 0.5165708661079407, 0.3628324270248413, 0.054459549486637115, -0.8292372822761536, 0.13368433713912964, -0.23292601108551025, 0.00938232708722353, 0.03749567270278931, -0.9293896555900574, 1.1772831678390503, -0.3837762475013733, 0.24283269047737122, 0.34369200468063354, 0.6836791634559631, 0.6088793873786926, 0.14332838356494904, 0.3086695969104767, 0.5827212333679199, 0.3196296691894531, -0.20641516149044037, 0.9228429198265076, -0.7804028391838074, 0.7628000974655151, 0.6626887917518616, 0.3162119686603546, 0.6490026712417603, 0.5749189257621765, -0.042493145912885666, 0.19737616181373596, 0.8258048295974731, -0.33681270480155945, 0.3103404641151428, 0.16607224941253662, 0.011648815125226974, -0.23431138694286346, 0.1817476898431778, -0.5663927793502808, 0.421072393655777, 0.25822025537490845, -0.5021064877510071, -0.20321083068847656, -0.03318209573626518, 0.037255965173244476, -0.6001101732254028, -0.49320587515830994, 0.6229554414749146, 0.02736966870725155, -0.5930573344230652, 0.9474340677261353, 0.12517789006233215, 0.6943959593772888, -0.7713972330093384, 0.06108662858605385, -0.19666144251823425, 0.4006887376308441, -0.1840858906507492, -0.6176397204399109, -0.008192209526896477, -0.010964770801365376, -0.279451847076416, -0.05186684802174568, 0.3799358606338501, -0.28527677059173584, -0.5946395993232727, 0.09345000237226486, 0.14159946143627167, 0.1523798406124115, -0.20619650185108185, -0.8249633312225342, 0.18027645349502563, -0.14237351715564728, -0.42933768033981323, 0.13164721429347992, 0.10996514558792114, 0.22134661674499512, 0.42024165391921997, 0.6079047322273254, 0.05019264668226242, 0.26479440927505493, -0.1932019591331482, 0.9530214071273804, -0.8989432454109192, -0.6464446187019348, -0.8207069635391235, 0.5635813474655151, 0.12491542100906372, -0.8235043883323669, 0.7469748258590698, 0.9167543649673462, 0.6760317087173462, -0.2774239182472229, 0.5886796712875366, -0.21853607892990112, -0.06161781772971153, -0.6560096144676208, 0.7382717728614807, -0.5972605347633362, -0.09038620442152023, 0.016443263739347458, -1.012777328491211, -0.19803372025489807, 0.4019734561443329, -0.2663551867008209, 0.35190609097480774, 0.46912339329719543, 0.9478540420532227, -0.36304450035095215, 0.05471055582165718, 0.1867237538099289, 0.2608932852745056, 0.22501572966575623, 0.8701320886611938, 0.8188971877098083, -0.8649083375930786, 0.7009986042976379, -0.3073173463344574, -0.15532265603542328, -0.3661119043827057, -0.3781563937664032, -0.7540359497070312, -0.39626967906951904, -0.33681631088256836, -0.5111069679260254, -0.004145197570323944, 1.0434333086013794, 1.0095391273498535, -0.7381585240364075, -0.048007164150476456, -0.11825361847877502, -0.2279452234506607, -0.21628111600875854, -0.17548200488090515, 0.46831583976745605, -0.4205195903778076, -0.7687592506408691, 0.17459480464458466, -0.18857572972774506, 0.0778886005282402, -0.33337026834487915, -0.3466767370700836, 0.01666625775396824, -0.24207599461078644, 0.4293237030506134, 0.3277725279331207, -0.7193584442138672, -0.41708678007125854, -0.014227031730115414, -0.3688240647315979, 0.008469613268971443, 0.5238244533538818, -0.6282023787498474, 0.09348384290933609, 0.40101394057273865, 0.5668104887008667, 0.5800268650054932, -0.012185691855847836, 0.224217489361763, -0.6070451736450195, 0.32151150703430176, 0.2252233475446701, 0.4536876976490021, 0.20792557299137115, -0.3680981993675232, 0.36425065994262695, 0.27030104398727417, -0.8044484853744507, -0.7551184892654419, -0.11761850863695145, -0.9365981817245483, -0.23863373696804047, 1.3691627979278564, 0.006119099445641041, -0.3722969889640808, 0.1673835664987564, -0.25336945056915283, 0.29430708289146423, -0.18791960179805756, 0.4855005443096161, 0.4431501030921936, -0.17408496141433716, -0.039123810827732086, -0.568194568157196, 0.6339740753173828, 0.2844927906990051, -0.4460078775882721, -0.08315343409776688, 0.48275789618492126, 0.5325961709022522, 0.09353750944137573, 0.3771318197250366, -0.09422730654478073, 0.5058011412620544, 0.3312779366970062, 0.3678288757801056, -0.5580816268920898, -0.3632289469242096, -0.5397805571556091, 0.12781007587909698, 0.009942429140210152, -0.6460225582122803 ]
Systran/faster-whisper-large-v2
Systran
2023-11-23T11:44:31Z
7,603
0
ctranslate2
[ "ctranslate2", "audio", "automatic-speech-recognition", "en", "zh", "de", "es", "ru", "ko", "fr", "ja", "pt", "tr", "pl", "ca", "nl", "ar", "sv", "it", "id", "hi", "fi", "vi", "he", "uk", "el", "ms", "cs", "ro", "da", "hu", "ta", "no", "th", "ur", "hr", "bg", "lt", "la", "mi", "ml", "cy", "sk", "te", "fa", "lv", "bn", "sr", "az", "sl", "kn", "et", "mk", "br", "eu", "is", "hy", "ne", "mn", "bs", "kk", "sq", "sw", "gl", "mr", "pa", "si", "km", "sn", "yo", "so", "af", "oc", "ka", "be", "tg", "sd", "gu", "am", "yi", "lo", "uz", "fo", "ht", "ps", "tk", "nn", "mt", "sa", "lb", "my", "bo", "tl", "mg", "as", "tt", "haw", "ln", "ha", "ba", "jw", "su", "license:mit", "region:us" ]
automatic-speech-recognition
2023-11-23T09:50:45Z
--- language: - en - zh - de - es - ru - ko - fr - ja - pt - tr - pl - ca - nl - ar - sv - it - id - hi - fi - vi - he - uk - el - ms - cs - ro - da - hu - ta - 'no' - th - ur - hr - bg - lt - la - mi - ml - cy - sk - te - fa - lv - bn - sr - az - sl - kn - et - mk - br - eu - is - hy - ne - mn - bs - kk - sq - sw - gl - mr - pa - si - km - sn - yo - so - af - oc - ka - be - tg - sd - gu - am - yi - lo - uz - fo - ht - ps - tk - nn - mt - sa - lb - my - bo - tl - mg - as - tt - haw - ln - ha - ba - jw - su tags: - audio - automatic-speech-recognition license: mit library_name: ctranslate2 --- # Whisper large-v2 model for CTranslate2 This repository contains the conversion of [openai/whisper-large-v2](https://huggingface.co/openai/whisper-large-v2) to the [CTranslate2](https://github.com/OpenNMT/CTranslate2) model format. This model can be used in CTranslate2 or projects based on CTranslate2 such as [faster-whisper](https://github.com/systran/faster-whisper). ## Example ```python from faster_whisper import WhisperModel model = WhisperModel("large-v2") segments, info = model.transcribe("audio.mp3") for segment in segments: print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text)) ``` ## Conversion details The original model was converted with the following command: ``` ct2-transformers-converter --model openai/whisper-large-v2 --output_dir faster-whisper-large-v2 \ --copy_files tokenizer.json --quantization float16 ``` Note that the model weights are saved in FP16. This type can be changed when the model is loaded using the [`compute_type` option in CTranslate2](https://opennmt.net/CTranslate2/quantization.html). ## More information **For more information about the original model, see its [model card](https://huggingface.co/openai/whisper-large-v2).**
[ 0.11258431524038315, -0.4037298858165741, 0.3569943308830261, 0.5144394636154175, -0.4748859703540802, -0.3470197916030884, -0.5060033202171326, -0.45481061935424805, 0.07809484750032425, 0.843031108379364, -0.4892887473106384, -0.5261659622192383, -0.6108716130256653, -0.37085452675819397, -0.4171324372291565, 0.906305730342865, -0.18770283460617065, 0.2578580379486084, 0.3041134178638458, -0.013327387161552906, -0.38546207547187805, -0.31582581996917725, -0.8228660225868225, -0.3746771514415741, 0.22971241176128387, 0.21870529651641846, 0.611009955406189, 0.35785582661628723, 0.4780474305152893, 0.3213159739971161, -0.35534629225730896, -0.07801380008459091, -0.3525311350822449, -0.0644417256116867, 0.21824423968791962, -0.5923944711685181, -0.7062728404998779, 0.016048023477196693, 0.8038173317909241, 0.08513113111257553, -0.2472955733537674, 0.44175291061401367, -0.29625415802001953, 0.3443053364753723, -0.4882065951824188, 0.38664746284484863, -0.5904216170310974, 0.0506218783557415, -0.1841077208518982, -0.24794496595859528, -0.583308756351471, -0.3255586326122284, 0.4973214566707611, -0.9294612407684326, 0.046834882348775864, -0.0586988665163517, 0.883536696434021, 0.30017372965812683, -0.59481281042099, -0.25742700695991516, -0.9977007508277893, 1.009238839149475, -0.800554633140564, 0.2373141646385193, 0.27603012323379517, 0.5664651989936829, 0.1439305543899536, -1.1834317445755005, -0.2789347171783447, -0.11574582755565643, 0.24587976932525635, 0.3439886271953583, -0.4650118350982666, 0.21571427583694458, 0.25771772861480713, 0.44133004546165466, -0.657603919506073, 0.09791228175163269, -0.8183080554008484, -0.47910791635513306, 0.5545021295547485, 0.10591825097799301, 0.10495749115943909, -0.1602129489183426, -0.37610501050949097, -0.6228545308113098, -0.5734286308288574, -0.07347477227449417, 0.513158917427063, 0.17018885910511017, -0.5773999094963074, 0.710771381855011, 0.03134593740105629, 0.3471592962741852, 0.019754838198423386, -0.32062941789627075, 0.486885666847229, -0.29293322563171387, -0.12151718139648438, 0.4609120786190033, 0.702863872051239, 0.594732403755188, 0.08596108853816986, 0.37681442499160767, -0.3205590546131134, -0.18952713906764984, 0.11189880967140198, -1.2767974138259888, -0.40682801604270935, 0.3367130756378174, -0.8398439288139343, -0.24701249599456787, -0.008985446766018867, -0.3615395724773407, -0.04944963380694389, -0.2586389183998108, 0.725348174571991, -0.4182776212692261, -0.6303421854972839, 0.4005269408226013, -0.6141150593757629, 0.2430201768875122, 0.4960048198699951, -0.7373937368392944, 0.4209039509296417, 0.654811680316925, 1.1416003704071045, 0.12388608604669571, -0.05907479673624039, -0.352088063955307, 0.27210086584091187, -0.10000201314687729, 0.5462895035743713, 0.03174999728798866, -0.48768728971481323, 0.09654483199119568, -0.06105324625968933, 0.017216641455888748, -0.6651967763900757, 0.7150134444236755, -0.3083261251449585, 0.3392830193042755, 0.19725172221660614, -0.2919023036956787, -0.23768016695976257, -0.01808718964457512, -0.694913923740387, 0.9589879512786865, 0.4617340564727783, -0.7306035161018372, -0.18316541612148285, -0.7625210881233215, -0.2336808443069458, -0.16220836341381073, 0.5157915353775024, -0.5433229207992554, 0.28976842761039734, -0.14067985117435455, 0.05694252997636795, -0.48852911591529846, 0.2801816165447235, -0.21270346641540527, -0.39561009407043457, 0.3248794674873352, -0.4750695824623108, 0.9114041924476624, 0.3187640905380249, 0.017411714419722557, 0.39633607864379883, -0.5451127886772156, 0.040934037417173386, 0.09474575519561768, -0.3353170156478882, -0.24584637582302094, -0.15266893804073334, 0.6085705161094666, 0.014692924916744232, 0.46674737334251404, -0.5402992367744446, 0.3248533606529236, -0.4179435968399048, 0.9313016533851624, 0.4983515739440918, -0.11405319720506668, 0.34781479835510254, -0.36797457933425903, 0.03473277390003204, 0.21855860948562622, 0.4209083318710327, 0.09386002272367477, -0.49166879057884216, -0.7321582436561584, -0.1072990819811821, 0.40205761790275574, 0.4253290593624115, -0.5755229592323303, 0.37077587842941284, -0.3423541188240051, -0.9419731497764587, -0.7584161758422852, -0.439780592918396, 0.25427567958831787, 0.16228646039962769, 0.5499868392944336, -0.030959218740463257, -0.8316984176635742, -0.9130938649177551, 0.013077601790428162, -0.4051211476325989, -0.24373772740364075, 0.1594981849193573, 0.5830925107002258, -0.21167674660682678, 0.4812487065792084, -0.7475324869155884, -0.5227823257446289, -0.24845118820667267, 0.32760047912597656, 0.2786339223384857, 0.7647188901901245, 0.5981608629226685, -0.8004797101020813, -0.12404780834913254, -0.14856907725334167, -0.30137500166893005, -0.00986848957836628, -0.08839120715856552, -0.07704613357782364, 0.10745573043823242, 0.2358965128660202, -0.8172005414962769, 0.3504914939403534, 0.8267515301704407, -0.35647737979888916, 0.6204003095626831, -0.09678886085748672, -0.09940686821937561, -1.3159708976745605, 0.12250912189483643, 0.06723228842020035, -0.1402513086795807, -0.549034595489502, 0.02801942266523838, 0.22194384038448334, 0.1193261444568634, -0.6833159923553467, 0.6714693903923035, -0.15410755574703217, -0.0924694687128067, -0.2159583866596222, -0.16742153465747833, -0.14083698391914368, 0.21735787391662598, 0.38756880164146423, 0.8111319541931152, 0.400998055934906, -0.39383265376091003, 0.3295108377933502, 0.5989969372749329, -0.3007737696170807, 0.1340755969285965, -1.1465801000595093, 0.15577706694602966, 0.2243243306875229, 0.5882753133773804, -0.6145923137664795, -0.15420353412628174, 0.16294169425964355, -0.6479024887084961, 0.2318093627691269, -0.6192705035209656, -0.5832927227020264, -0.42891550064086914, -0.5549939274787903, 0.49598950147628784, 0.7563497424125671, -0.47419455647468567, 0.6512165665626526, 0.2713686525821686, 0.02659095823764801, -0.0319216363132, -1.0291087627410889, -0.070125050842762, -0.18672381341457367, -0.7920764088630676, 0.6577868461608887, -0.2547147572040558, -0.13860657811164856, -0.20768235623836517, -0.057612575590610504, -0.28688719868659973, -0.2033461183309555, 0.4559664726257324, 0.36649370193481445, -0.43675920367240906, -0.16128210723400116, 0.4423319399356842, -0.3858950734138489, 0.17906710505485535, -0.6121442317962646, 0.8299888968467712, -0.021377626806497574, 0.08289927989244461, -0.8112338185310364, 0.12526214122772217, 0.7242350578308105, -0.3258114159107208, 0.5492503046989441, 0.8830078840255737, -0.32392948865890503, -0.14266447722911835, -0.5151731967926025, -0.17490608990192413, -0.4829463064670563, 0.4606380760669708, -0.31446123123168945, -0.8646754026412964, 0.37597617506980896, 0.022161100059747696, 0.006911728531122208, 0.8468668460845947, 0.5896468162536621, 0.1743149310350418, 1.1657928228378296, 0.37871894240379333, 0.2215494066476822, 0.49135538935661316, -0.7446318864822388, -0.14712868630886078, -1.2481868267059326, -0.37614595890045166, -0.7251927852630615, -0.15261529386043549, -0.302414208650589, -0.39542490243911743, 0.5803260803222656, 0.12385621666908264, -0.5480102896690369, 0.6131525039672852, -0.6588963866233826, -0.04505164176225662, 0.5464072227478027, 0.1885736584663391, 0.21489767730236053, 0.02237575687468052, 0.3994446098804474, -0.08804143220186234, -0.24677981436252594, -0.28406310081481934, 1.1998653411865234, 0.6412206292152405, 0.6503640413284302, 0.37767788767814636, 0.554362416267395, 0.031296126544475555, -0.009909235872328281, -0.9662435054779053, 0.29507043957710266, -0.2996424734592438, -0.5565966963768005, -0.14235466718673706, -0.36712101101875305, -0.710869312286377, 0.05288850888609886, -0.06507682055234909, -0.5927548408508301, -0.11288457363843918, 0.018575046211481094, -0.09023156762123108, 0.40500298142433167, -0.5804187059402466, 0.7745583057403564, 0.1299760937690735, 0.26593881845474243, -0.3225269019603729, -0.38663703203201294, 0.6014602184295654, -0.009983657859265804, -0.3688846528530121, 0.15527212619781494, -0.11545425653457642, 1.0603173971176147, -0.7670120000839233, 0.711479663848877, -0.4272981882095337, -0.2943284809589386, 0.6458747982978821, 0.03786814585328102, 0.6005801558494568, 0.13657201826572418, -0.25649896264076233, 0.4708254933357239, 0.3824232518672943, -0.04106944426894188, -0.3754754662513733, 0.6304605603218079, -1.322435975074768, -0.21938928961753845, -0.2424418330192566, -0.507354199886322, 0.3990561068058014, 0.0938834398984909, 0.5091556310653687, 0.7151201367378235, 0.024271775037050247, 0.3567691743373871, 0.7019144892692566, 0.017769692465662956, 0.39864006638526917, 0.6095001101493835, -0.198923259973526, -0.7637152671813965, 0.7622591257095337, 0.23721064627170563, 0.3518023192882538, 0.42372918128967285, 0.3820679783821106, -0.6147900223731995, -1.0096044540405273, -0.35273510217666626, 0.14855298399925232, -0.5057487487792969, -0.42444688081741333, -0.6927474737167358, -0.6151605844497681, -0.5601955652236938, 0.20809994637966156, -0.6699206233024597, -0.6819682121276855, -0.4830467700958252, 0.32502737641334534, 0.7404467463493347, 0.5687068700790405, 0.00398118793964386, 0.7047339677810669, -1.0262385606765747, 0.24914225935935974, 0.09314307570457458, 0.09882812201976776, 0.1547258496284485, -1.0759767293930054, -0.0772549957036972, 0.09729137271642685, -0.38157859444618225, -0.6732485890388489, 0.40396854281425476, -0.008832644671201706, 0.024638429284095764, 0.2657650411128998, 0.08933684974908829, 0.7502943277359009, -0.2602536976337433, 1.0074973106384277, 0.39078256487846375, -1.2140296697616577, 0.5814725160598755, -0.5520908236503601, 0.2456643283367157, 0.40362539887428284, 0.12267305701971054, -0.6076068878173828, 0.010771794244647026, -0.5629630088806152, -0.8266547918319702, 0.8168421983718872, 0.3823848366737366, -0.0008647581562399864, 0.2946378290653229, 0.1750974804162979, 0.07137569040060043, 0.18099839985370636, -0.7435900568962097, -0.24972501397132874, -0.5654556751251221, -0.32544568181037903, 0.0850299820303917, -0.3919825553894043, -0.018838100135326385, -0.22948062419891357, 0.8034549355506897, -0.18564115464687347, 0.4526374340057373, 0.4889167845249176, -0.049255382269620895, -0.13238371908664703, -0.017069675028324127, 0.7835981249809265, 0.1709049791097641, -0.4937502145767212, -0.05346892774105072, 0.1596515029668808, -0.833217203617096, -0.11630776524543762, 0.09867911785840988, -0.29896917939186096, 0.1231168806552887, 0.5094170570373535, 0.909369945526123, 0.32284054160118103, -0.3380713164806366, 0.7825894951820374, -0.09681934863328934, -0.5272247195243835, -0.9659095406532288, 0.051609113812446594, 0.23562385141849518, 0.3364381492137909, 0.3488796651363373, 0.16823525726795197, 0.25258269906044006, -0.44337528944015503, -0.29149770736694336, 0.17197760939598083, -0.46062982082366943, -0.4807800054550171, 0.7651281356811523, 0.17256605625152588, -0.36267727613449097, 0.6901684403419495, 0.04103727638721466, -0.3011768162250519, 0.5593477487564087, 0.8360809087753296, 1.161239504814148, -0.1753389835357666, 0.11469361931085587, 0.6786752939224243, 0.2469973862171173, -0.32184740900993347, 0.554084837436676, -0.07626092433929443, -0.2724219262599945, -0.4682239294052124, -0.7239997982978821, -0.3137417733669281, 0.24750161170959473, -0.9004650712013245, 0.4171232581138611, -0.5876860618591309, -0.2141362428665161, 0.07667183130979538, 0.13726799190044403, -0.5045652985572815, -0.03897438198328018, 0.159074604511261, 1.4051121473312378, -0.5883837938308716, 1.1366448402404785, 0.4975452423095703, -0.34456151723861694, -0.9815393686294556, -0.21517352759838104, -0.027611184865236282, -0.6821932196617126, 0.5461565852165222, 0.1708618700504303, 0.0737813413143158, -0.029383907094597816, -0.7972545027732849, -0.9836632609367371, 1.5091278553009033, 0.032920386642217636, -0.7124224305152893, -0.14516745507717133, 0.04570223018527031, 0.516863226890564, -0.43856772780418396, 0.6538777351379395, 0.34210076928138733, 0.9206977486610413, 0.18565037846565247, -1.2643005847930908, 0.03700723871588707, -0.12918655574321747, 0.2649344801902771, 0.29430902004241943, -0.9955352544784546, 1.1883819103240967, -0.18681016564369202, 0.009330683387815952, 0.9659873247146606, 0.7602355480194092, 0.2776119112968445, 0.32589420676231384, 0.47187525033950806, 0.4460759460926056, 0.44077786803245544, -0.3195500373840332, 0.6557304263114929, -0.07885803282260895, 0.49826711416244507, 0.9608011841773987, -0.33698219060897827, 1.1368032693862915, 0.36103588342666626, -0.06843508780002594, 0.6394534707069397, 0.3469766080379486, -0.33863359689712524, 0.46352988481521606, 0.14664311707019806, -0.058397915214300156, -0.16876773536205292, -0.042653437703847885, -0.5979657173156738, 0.7759124636650085, 0.3857806921005249, -0.41943952441215515, -0.046441301703453064, -0.16248083114624023, 0.15978197753429413, -0.24944593012332916, -0.4604102075099945, 0.6782665848731995, -0.10857652127742767, -0.4748718738555908, 0.6785189509391785, 0.3917061984539032, 0.8498084545135498, -0.9887645244598389, -0.15233051776885986, 0.3496922552585602, 0.2500080466270447, -0.22135625779628754, -0.8338890671730042, 0.3559308648109436, -0.250192254781723, -0.31431570649147034, 0.07381400465965271, 0.5972533226013184, -0.588714599609375, -0.43274685740470886, 0.3988803029060364, 0.04299995303153992, 0.3319971561431885, -0.3889639973640442, -0.6546959280967712, 0.5353156328201294, 0.23669815063476562, -0.3136640191078186, 0.2945270836353302, 0.017138050869107246, -0.030750732868909836, 0.46913647651672363, 0.8827232122421265, 0.13710954785346985, -0.06653754413127899, 0.08472705632448196, 0.7301176190376282, -0.6795845627784729, -0.5547419190406799, -0.34594473242759705, 0.5130019187927246, -0.14650818705558777, -0.8074509501457214, 0.4812852442264557, 0.887620747089386, 0.5563250780105591, -0.3098771274089813, 0.6121119260787964, 0.07874893397092819, 0.3196212351322174, -0.8759846091270447, 0.7639904618263245, -0.4807511866092682, -0.20274637639522552, -0.044754039496183395, -0.9556840658187866, 0.04608846828341484, 0.3188590705394745, -0.02836543880403042, -0.1751573532819748, 0.6825944781303406, 0.822492778301239, -0.08453818410634995, 0.27486321330070496, 0.03832966834306717, 0.6455653309822083, 0.3951677978038788, 0.688549280166626, 0.6265221834182739, -0.9730537533760071, 0.7321342825889587, -0.20515595376491547, -0.08005790412425995, -0.13815687596797943, -0.6464080214500427, -0.9081749320030212, -0.6948425769805908, -0.49356400966644287, -0.6922385692596436, -0.11101698130369186, 0.9159457087516785, 0.9406957626342773, -0.5466962456703186, -0.31353458762168884, 0.1433049738407135, -0.16797411441802979, 0.0809619352221489, -0.2614804804325104, 0.4711601138114929, 0.3607172667980194, -0.7751311659812927, 0.49705323576927185, 0.12575456500053406, 0.45160791277885437, -0.36313799023628235, -0.3900834023952484, 0.36362558603286743, -0.015563578344881535, 0.5498710870742798, 0.05624311417341232, -0.832432210445404, -0.26199400424957275, -0.34776511788368225, 0.07089832425117493, 0.07007699459791183, 0.7387268543243408, -0.6471508741378784, 0.02466638758778572, 0.5423079133033752, -0.21181164681911469, 0.8501554131507874, -0.4360677897930145, 0.21868190169334412, -0.39002302289009094, 0.4346131384372711, 0.1499015837907791, 0.4122779965400696, 0.12141237407922745, -0.085972361266613, 0.3441721200942993, 0.1655438095331192, -0.4764740467071533, -0.939082682132721, 0.048723891377449036, -1.5189815759658813, -0.11906871199607849, 1.282690405845642, 0.05690554529428482, -0.3924064636230469, 0.26669004559516907, -0.6925299763679504, 0.35867103934288025, -0.6331697702407837, 0.19599448144435883, 0.14927677810192108, 0.48900845646858215, -0.011249996721744537, -0.4435296356678009, 0.353964626789093, -0.05379588156938553, -0.4688670039176941, 0.08727426826953888, 0.24133822321891785, 0.46687808632850647, 0.4494888186454773, 0.44199877977371216, -0.49843868613243103, 0.44146084785461426, 0.2565656006336212, 0.35472580790519714, -0.3771832585334778, -0.4134376049041748, -0.3512587249279022, 0.031249742954969406, -0.006573631893843412, -0.2005774825811386 ]
RWKV/rwkv-4-169m-pile
RWKV
2023-05-15T09:59:20Z
7,602
7
transformers
[ "transformers", "pytorch", "rwkv", "text-generation", "dataset:EleutherAI/pile", "endpoints_compatible", "has_space", "region:us" ]
text-generation
2023-05-04T13:36:31Z
--- datasets: - EleutherAI/pile --- ![RWKlogo.png](https://s3.amazonaws.com/moonup/production/uploads/62441d1d9fdefb55a0b7d12c/UWpP-lGRZJJDaEx_uUlDv.png) # Model card for RWKV-4 | 169M parameters trained on Pile dataset RWKV is a project led by [Bo Peng](https://github.com/BlinkDL). Learn more about the model architecture in the blogposts from Johan Wind [here](https://johanwind.github.io/2023/03/23/rwkv_overview.html) and [here](https://johanwind.github.io/2023/03/23/rwkv_details.html). Learn more about the project by joining the [RWKV discord server](https://discordapp.com/users/468093332535640064). # Table of contents 0. [TL;DR](#TL;DR) 1. [Model Details](#model-details) 2. [Usage](#usage) 3. [Citation](#citation) ## TL;DR Below is the description from the [original repository](https://github.com/BlinkDL/RWKV-LM) > RWKV is an RNN with transformer-level LLM performance. It can be directly trained like a GPT (parallelizable). It's combining the best of RNN and transformer - great performance, fast inference, saves VRAM, fast training, "infinite" ctx_len, and free sentence embedding. ## Model Details The details of the architecture can be found on the blogpost mentioned above and the Hugging Face blogpost of the integration. ## Usage ### Convert the raw weights to the HF format You can use the [`convert_rwkv_checkpoint_to_hf.py`](https://github.com/huggingface/transformers/tree/main/src/transformers/models/rwkv/convert_rwkv_checkpoint_to_hf.py) script by specifying the repo_id of the original weights, the filename and the output directory. You can also optionally directly push the converted model on the Hub by passing `--push_to_hub` flag and `--model_name` argument to specify where to push the converted weights. ```bash python convert_rwkv_checkpoint_to_hf.py --repo_id RAW_HUB_REPO --checkpoint_file RAW_FILE --output_dir OUTPUT_DIR --push_to_hub --model_name dummy_user/converted-rwkv ``` ### Generate text You can use the `AutoModelForCausalLM` and `AutoTokenizer` classes to generate texts from the model. Expand the sections below to understand how to run the model in different scenarios: ### Running the model on a CPU <details> <summary> Click to expand </summary> ```python from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained("RWKV/rwkv-4-169m-pile") tokenizer = AutoTokenizer.from_pretrained("RWKV/rwkv-4-169m-pile") prompt = "\nIn a shocking finding, scientist discovered a herd of dragons living in a remote, previously unexplored valley, in Tibet. Even more surprising to the researchers was the fact that the dragons spoke perfect Chinese." inputs = tokenizer(prompt, return_tensors="pt") output = model.generate(inputs["input_ids"], max_new_tokens=40) print(tokenizer.decode(output[0].tolist(), skip_special_tokens=True)) ``` ### Running the model on a single GPU <details> <summary> Click to expand </summary> ```python from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained("RWKV/rwkv-4-169m-pile").to(0) tokenizer = AutoTokenizer.from_pretrained("RWKV/rwkv-4-169m-pile") prompt = "\nIn a shocking finding, scientist discovered a herd of dragons living in a remote, previously unexplored valley, in Tibet. Even more surprising to the researchers was the fact that the dragons spoke perfect Chinese." inputs = tokenizer(prompt, return_tensors="pt").to(0) output = model.generate(inputs["input_ids"], max_new_tokens=40) print(tokenizer.decode(output[0].tolist(), skip_special_tokens=True)) ``` </details> </details> ### Running the model in half-precision, on GPU <details> <summary> Click to expand </summary> ```python import torch from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained("RWKV/rwkv-4-169m-pile", torch_dtype=torch.float16).to(0) tokenizer = AutoTokenizer.from_pretrained("RWKV/rwkv-4-169m-pile") prompt = "\nIn a shocking finding, scientist discovered a herd of dragons living in a remote, previously unexplored valley, in Tibet. Even more surprising to the researchers was the fact that the dragons spoke perfect Chinese." inputs = tokenizer(prompt, return_tensors="pt").to(0) output = model.generate(inputs["input_ids"], max_new_tokens=40) print(tokenizer.decode(output[0].tolist(), skip_special_tokens=True)) ``` </details> ### Running the model multiple GPUs <details> <summary> Click to expand </summary> ```python # pip install accelerate from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained("RWKV/rwkv-4-169m-pile", device_map="auto") tokenizer = AutoTokenizer.from_pretrained("RWKV/rwkv-4-169m-pile") prompt = "\nIn a shocking finding, scientist discovered a herd of dragons living in a remote, previously unexplored valley, in Tibet. Even more surprising to the researchers was the fact that the dragons spoke perfect Chinese." inputs = tokenizer(prompt, return_tensors="pt").to(0) output = model.generate(inputs["input_ids"], max_new_tokens=40) print(tokenizer.decode(output[0].tolist(), skip_special_tokens=True)) ``` </details> ## Citation If you use this model, please consider citing the original work, from the original repo [here](https://github.com/BlinkDL/ChatRWKV/)
[ -0.386049747467041, -0.577019453048706, -0.015622848644852638, 0.17397792637348175, -0.24579471349716187, -0.3193962275981903, -0.14447076618671417, -0.30789610743522644, -0.08253850042819977, 0.24984101951122284, -0.5346552133560181, -0.34225040674209595, -0.49358102679252625, -0.0011097469832748175, -0.5008767247200012, 0.9586655497550964, -0.04972902312874794, 0.07310353219509125, 0.21238400042057037, -0.08414606750011444, -0.1444305032491684, -0.3019786477088928, -0.542138934135437, -0.6282563209533691, 0.3826536238193512, -0.334916353225708, 0.6820610165596008, 1.0957293510437012, 0.28695109486579895, 0.3725569248199463, -0.13754187524318695, 0.0999627634882927, -0.3667888641357422, -0.21384607255458832, 0.1281505972146988, -0.2443169206380844, -0.2993943393230438, 0.18730072677135468, 0.7046169638633728, 0.2680399417877197, -0.34238430857658386, 0.23649337887763977, 0.07088242471218109, 0.2576635777950287, -0.19772158563137054, 0.22286583483219147, -0.37641099095344543, 0.3426763117313385, 0.00900098867714405, -0.11487308144569397, -0.3301008343696594, -0.06205116584897041, 0.07476510107517242, -1.0086361169815063, 0.5299094319343567, 0.02041572518646717, 1.3379435539245605, 0.5922601222991943, -0.17230799794197083, 0.04077094793319702, -0.5461874604225159, 0.8228030204772949, -1.0152716636657715, 0.29961299896240234, 0.06048957630991936, 0.060398660600185394, -0.16720177233219147, -0.9934079051017761, -0.6982104778289795, -0.2343529313802719, -0.2906951606273651, 0.1843290627002716, -0.17176268994808197, 0.0034751694183796644, 0.5879612565040588, 0.523689866065979, -0.6124609708786011, 0.05008293688297272, -0.5428959131240845, -0.337442010641098, 0.5952127575874329, 0.3484613597393036, 0.4472346901893616, -0.5311903357505798, -0.46494239568710327, -0.5490803718566895, -0.49209675192832947, 0.13584023714065552, 0.3400086462497711, 0.2959044575691223, -0.36320510506629944, 0.49666962027549744, -0.17667098343372345, 0.7533896565437317, 0.32611846923828125, -0.0013393607223406434, 0.3064419627189636, -0.31128498911857605, -0.3997129201889038, -0.23096713423728943, 1.0879895687103271, 0.11558375507593155, -0.05215350165963173, -0.12097780406475067, -0.2047804594039917, -0.29447758197784424, 0.17110303044319153, -1.0731306076049805, -0.5995863080024719, 0.1877109557390213, -0.8094631433486938, -0.4155726134777069, -0.04911590367555618, -0.6692564487457275, -0.23596155643463135, -0.0155349001288414, 0.667655885219574, -0.406643807888031, -0.6102949380874634, -0.027673358097672462, -0.38817769289016724, 0.6025701761245728, 0.03515218198299408, -0.9871103763580322, -0.11521006375551224, 0.5287056565284729, 0.8222774267196655, -0.03567534685134888, -0.7200057506561279, -0.27103883028030396, -0.006045296788215637, -0.2936512529850006, 0.5857253074645996, -0.06220578774809837, -0.5235964059829712, -0.3061268925666809, 0.3171820640563965, -0.2026914358139038, -0.4528016448020935, 0.48328495025634766, -0.315345823764801, 0.45299434661865234, -0.26125210523605347, -0.4699377715587616, -0.3597331941127777, 0.2142723649740219, -0.5308182239532471, 1.3621611595153809, 0.14425688982009888, -0.9418230056762695, 0.2468198835849762, -0.49435681104660034, -0.3070530295372009, 0.16193988919258118, 0.004425313789397478, -0.5713708400726318, -0.08486148715019226, 0.2715723216533661, 0.4237578511238098, -0.13937218487262726, 0.24883373081684113, -0.19601976871490479, -0.47818723320961, 0.1615193635225296, -0.5467740297317505, 1.0941181182861328, 0.29829326272010803, -0.5682684779167175, 0.2851538360118866, -0.5939323902130127, 0.0703730434179306, 0.1816486418247223, -0.5319725871086121, 0.0948905199766159, -0.02282837964594364, 0.06288416683673859, 0.1372806280851364, 0.2616639733314514, -0.44954678416252136, 0.22858822345733643, -0.4987155795097351, 0.7431222796440125, 0.7373276948928833, -0.29094189405441284, 0.25467807054519653, -0.26588574051856995, 0.25590410828590393, -0.01712672971189022, 0.2628526985645294, -0.19223801791667938, -0.5505307912826538, -0.9556177258491516, -0.23048140108585358, 0.29829996824264526, 0.3928649425506592, -0.7452243566513062, 0.567527711391449, -0.2330934703350067, -0.7426248788833618, -0.6049308776855469, -0.2370007187128067, 0.1375775933265686, 0.5982458591461182, 0.4301077127456665, -0.004496665205806494, -0.35264918208122253, -0.6225582361221313, -0.20538096129894257, -0.2686156928539276, -0.14129389822483063, 0.35120338201522827, 0.5987969040870667, -0.2709521949291229, 0.7271128296852112, -0.4626190960407257, -0.12743103504180908, -0.20252296328544617, 0.324113130569458, 0.41581037640571594, 0.7448452711105347, 0.3990129232406616, -0.6396644711494446, -0.3887874186038971, 0.042860545217990875, -0.9533436894416809, 0.16080844402313232, -0.16300766170024872, -0.10940220206975937, -0.005174290854483843, 0.35845673084259033, -0.801744282245636, 0.4053424298763275, 0.4857022762298584, -0.2452848255634308, 0.7214109897613525, -0.4011695384979248, 0.1297917515039444, -1.081925392150879, 0.31991246342658997, -0.08286425471305847, -0.025313539430499077, -0.5107825398445129, 0.05570783466100693, 0.11669036746025085, -0.1998528093099594, -0.4180634021759033, 0.7312682867050171, -0.3724028766155243, 0.031072454527020454, -0.2513748109340668, -0.13845767080783844, -0.0357365719974041, 0.7195894718170166, 0.05224459618330002, 0.7344896793365479, 0.7821505069732666, -0.6996951699256897, 0.6156589984893799, 0.39464545249938965, -0.26489755511283875, -0.0016747369663789868, -0.880071759223938, 0.0159644465893507, 0.07212691009044647, 0.3101211190223694, -0.7660167813301086, -0.28632935881614685, 0.45938950777053833, -0.7421343922615051, 0.3728120028972626, -0.27190497517585754, -0.34714576601982117, -0.5529220104217529, -0.10827011615037918, 0.5381674766540527, 0.6776493787765503, -0.8699676394462585, 0.855654239654541, 0.2606344223022461, 0.22132781147956848, -0.8195528388023376, -0.8587269186973572, 0.0010819958988577127, -0.32415443658828735, -0.5711151361465454, 0.48693954944610596, 0.004025713074952364, 0.19719600677490234, 0.1669607162475586, 0.14995546638965607, -0.08424662053585052, -0.11875391751527786, 0.30516812205314636, 0.4702150225639343, -0.225203737616539, -0.051304325461387634, -0.3126687705516815, -0.31446751952171326, 0.25539544224739075, -0.42944157123565674, 0.5763739943504333, -0.1365737020969391, -0.13820840418338776, -0.7279168963432312, -0.03120460733771324, 0.4985707104206085, -0.12412161380052567, 0.7417696118354797, 1.0649757385253906, -0.4233234226703644, -0.2872724235057831, -0.4023996889591217, -0.3530878722667694, -0.523438572883606, 0.5952240824699402, -0.20131368935108185, -0.43917155265808105, 0.6595332622528076, 0.10927431285381317, 0.11364268511533737, 0.8401393890380859, 0.562395453453064, 0.04905875772237778, 1.0983948707580566, 0.6319764852523804, -0.12325716763734818, 0.44702330231666565, -0.654664933681488, 0.2635309398174286, -0.7746298313140869, -0.31508442759513855, -0.4150267243385315, -0.002933993935585022, -0.6215910315513611, -0.4782922565937042, 0.24087569117546082, 0.08116979897022247, -0.5230984687805176, 0.3643866181373596, -0.921669602394104, 0.1268596053123474, 0.48057058453559875, 0.028423160314559937, -0.12798985838890076, 0.021631702780723572, -0.18416644632816315, 0.10882378369569778, -0.9989202618598938, -0.232182577252388, 0.8882344365119934, 0.39100393652915955, 0.7058999538421631, -0.33696165680885315, 0.4171176552772522, 0.1422228068113327, 0.34950998425483704, -0.6110851764678955, 0.4836201071739197, -0.1550799012184143, -0.6676198840141296, -0.33353179693222046, -0.5826650857925415, -0.7142671942710876, 0.48530203104019165, -0.19213683903217316, -0.3405666649341583, 0.07107499241828918, 0.15104496479034424, -0.5704785585403442, 0.6722825765609741, -0.47147202491760254, 1.0893059968948364, -0.0877162516117096, -0.23202010989189148, -0.12393809109926224, -0.453440397977829, 0.4379298686981201, 0.2428751438856125, -0.011890096589922905, 0.003084820695221424, 0.2527447044849396, 0.9676513075828552, -0.6155773997306824, 0.7943082451820374, -0.3155888617038727, 0.07706781476736069, 0.4289117157459259, -0.3419705331325531, 0.5891028046607971, -0.1474035382270813, -0.11690399795770645, 0.38073262572288513, -0.044982027262449265, -0.2886693477630615, -0.2843506336212158, 0.8106744885444641, -1.116557240486145, -0.40274977684020996, -0.4407435953617096, -0.6060345768928528, 0.4805614650249481, 0.29157474637031555, 0.5529937744140625, 0.40218445658683777, -0.02739294245839119, -0.05773263797163963, 0.6323274970054626, -0.5374194979667664, 0.7526141405105591, 0.22408078610897064, -0.08614178746938705, -0.5741721391677856, 0.8673959970474243, 0.044877294450998306, 0.09254445135593414, 0.012757977470755577, 0.3136018216609955, -0.4503723978996277, -0.3640594482421875, -0.829548180103302, 0.40568748116493225, -0.7965258955955505, -0.16780871152877808, -0.7669217586517334, -0.5728791952133179, -0.5305569767951965, 0.10008500516414642, -0.4825977385044098, -0.168699249625206, -0.5109705924987793, 0.08487683534622192, 0.3924352526664734, 0.7126346230506897, -0.28083863854408264, 0.22936362028121948, -0.7164515256881714, 0.331520676612854, 0.44111254811286926, 0.12924090027809143, 0.28217530250549316, -0.9198490381240845, -0.24130964279174805, 0.09702256321907043, -0.15341044962406158, -0.605053722858429, 0.7067182064056396, -0.059377316385507584, 0.6682619452476501, 0.3107233941555023, -0.024897228926420212, 0.9510359764099121, -0.30493196845054626, 0.9559178352355957, 0.07775624096393585, -0.8322935700416565, 0.12085278332233429, -0.3352421224117279, 0.2061661332845688, -0.004503360018134117, 0.1380559206008911, -0.5207639336585999, -0.05507809668779373, -0.5565184354782104, -0.7724207639694214, 0.7277801036834717, 0.0982736125588417, 0.11885815858840942, 0.25869637727737427, 0.5237942337989807, -0.07796891033649445, -0.06330695003271103, -1.1228433847427368, -0.5319454669952393, -0.6565961837768555, -0.006534987594932318, 0.0945090800523758, 0.038028229027986526, -0.05012926831841469, -0.6620856523513794, 0.9296116828918457, -0.002669916022568941, 0.5287126898765564, 0.35214269161224365, -0.036897048354148865, -0.14687113463878632, -0.19025717675685883, 0.40468716621398926, 0.3668114244937897, 0.05757705494761467, -0.08922502398490906, 0.43669354915618896, -0.5827378630638123, -0.11319943517446518, 0.4086175262928009, -0.3292943835258484, 0.015013251453638077, 0.25754135847091675, 0.9127023220062256, -0.09380204230546951, -0.1845085322856903, 0.34720179438591003, -0.22284096479415894, -0.23848025500774384, -0.4164589047431946, 0.10838156193494797, 0.24223312735557556, 0.3372404873371124, 0.5384478569030762, 0.13317397236824036, -0.17852140963077545, -0.08453750610351562, 0.12535034120082855, 0.4447638988494873, -0.3137029707431793, -0.26883137226104736, 1.0772219896316528, 0.21396832168102264, -0.2067582905292511, 0.9859970211982727, -0.18794187903404236, -0.6204796433448792, 0.8154135346412659, 0.43572160601615906, 0.9529467821121216, -0.1258200705051422, 0.13118146359920502, 0.8591609597206116, 0.3534667193889618, -0.2635742723941803, -0.0815323069691658, -0.08148495852947235, -0.6463981866836548, -0.4843684732913971, -0.8183505535125732, -0.06327814608812332, 0.233425572514534, -0.6086830496788025, 0.44021812081336975, -0.21123990416526794, -0.0012041310546919703, -0.03463587164878845, 0.004781342577189207, -0.5572441816329956, 0.2020842581987381, 0.13146890699863434, 0.8925163745880127, -0.8299002647399902, 1.0369555950164795, 0.47014984488487244, -0.3715076446533203, -1.125636100769043, -0.0485183447599411, -0.39562898874282837, -0.9677972793579102, 0.5650594830513, 0.33277395367622375, -0.0065859039314091206, 0.312754362821579, -0.6106206178665161, -0.8290562629699707, 1.2673108577728271, 0.03273569419980049, -0.21518036723136902, -0.053898122161626816, 0.06075654923915863, 0.5114673376083374, -0.0898120105266571, 0.41024917364120483, 0.28445664048194885, 0.5438136458396912, 0.14787960052490234, -0.7723443508148193, 0.2512272298336029, -0.3388286828994751, -0.1525118201971054, 0.1211298480629921, -0.7448199391365051, 1.375610113143921, -0.35809972882270813, -0.34310704469680786, 0.22298498451709747, 0.942268431186676, 0.3028967082500458, -0.10484711080789566, 0.49858108162879944, 0.7046619057655334, 0.6185430288314819, -0.23696599900722504, 1.027990460395813, -0.5936100482940674, 0.8166677355766296, 0.43689799308776855, 0.1540716290473938, 0.584344208240509, 0.218817800283432, -0.20438934862613678, 0.4229130148887634, 0.8348415493965149, -0.5210354328155518, 0.4511684477329254, 0.18444722890853882, -0.22061054408550262, -0.27168962359428406, 0.13906580209732056, -0.6396774649620056, 0.17508502304553986, 0.14125970005989075, -0.3028101623058319, -0.17732463777065277, -0.05631347745656967, 0.02768423780798912, -0.44987672567367554, -0.23193064332008362, 0.40256181359291077, -0.021519221365451813, -0.7576075792312622, 0.9165005087852478, 0.06802412867546082, 0.9621371030807495, -0.6532721519470215, -0.05850799009203911, -0.02427612990140915, 0.34379860758781433, -0.2859380841255188, -0.5811998844146729, 0.17711248993873596, -0.15700030326843262, -0.140253946185112, -0.2341957986354828, 0.5959259867668152, -0.497339129447937, -0.5261556506156921, 0.21194663643836975, 0.0857023224234581, 0.40102458000183105, 0.03764667361974716, -1.0135209560394287, -0.013518898747861385, 0.21846053004264832, -0.5341190695762634, 0.19217103719711304, 0.2523829936981201, 0.3483940064907074, 0.7182456851005554, 0.8308822512626648, 0.067957304418087, 0.34176188707351685, -0.18221044540405273, 0.8863120675086975, -0.8300774693489075, -0.39779630303382874, -0.868034303188324, 0.5112632513046265, 0.030815906822681427, -0.5359498262405396, 0.9268452525138855, 0.6191290020942688, 0.7737785577774048, -0.07917892932891846, 0.8145736455917358, -0.31788721680641174, 0.1727684885263443, -0.26626822352409363, 1.0490344762802124, -0.5147958993911743, 0.026964720338582993, 0.10944769531488419, -0.5479766726493835, 0.06997936964035034, 0.8761294484138489, 0.043614134192466736, 0.2067849487066269, 0.50370854139328, 0.9220409393310547, 0.007533876225352287, -0.061918724328279495, 0.16666080057621002, 0.4761182963848114, 0.3828566074371338, 0.34765878319740295, 0.7054781317710876, -0.7785630226135254, 0.7080804705619812, -0.4857636094093323, -0.13058552145957947, 0.24713824689388275, -0.8621136546134949, -0.9210937023162842, -0.475536048412323, -0.3686339855194092, -0.5582698583602905, -0.15376943349838257, 0.5674500465393066, 0.7923935055732727, -0.5909284949302673, -0.26981186866760254, -0.18834108114242554, -0.043384116142988205, -0.2927113473415375, -0.2570410668849945, 0.5449507832527161, -0.252861350774765, -0.8066443800926208, 0.2750106453895569, 0.03550834581255913, 0.24108609557151794, -0.583484947681427, -0.26226991415023804, -0.09930948913097382, -0.20380496978759766, 0.13765406608581543, 0.3996812105178833, -0.7701002359390259, -0.15485769510269165, 0.026839708909392357, -0.20173148810863495, 0.010729800909757614, 0.5035771131515503, -0.8123491406440735, 0.2898504137992859, 0.5880259871482849, 0.3885008692741394, 0.904085636138916, -0.01894226484000683, 0.5242955684661865, -0.2953273057937622, 0.27349260449409485, -0.02706102840602398, 0.29274994134902954, 0.4319259226322174, -0.4393761157989502, 0.2637553811073303, 0.4730426073074341, -0.8456408381462097, -0.918580174446106, -0.19694091379642487, -0.7736507058143616, -0.38753846287727356, 1.1414583921432495, -0.3475649356842041, -0.4313063621520996, 0.07067175209522247, -0.024676820263266563, 0.6494901180267334, -0.016966307535767555, 0.8689557909965515, 0.5169728398323059, -0.12320154160261154, -0.06354781985282898, -0.6421600580215454, 0.7180987596511841, 0.355649471282959, -0.5311915278434753, 0.21676693856716156, 0.09630167484283447, 0.6607978343963623, 0.19098244607448578, 0.40591147541999817, -0.020349230617284775, 0.15547627210617065, 0.24340280890464783, 0.4148695766925812, -0.34975898265838623, 0.12102200090885162, -0.37721309065818787, -0.06105596944689751, -0.3996492624282837, -0.34607386589050293 ]
yujiepan/llama-2-tiny-3layers-random
yujiepan
2023-09-13T15:48:37Z
7,601
1
transformers
[ "transformers", "pytorch", "safetensors", "openvino", "llama", "text-generation", "endpoints_compatible", "text-generation-inference", "region:us" ]
text-generation
2023-08-31T09:30:50Z
--- pipeline_tag: text-generation inference: true widget: - text: 'Hello!' example_title: Hello world group: Python library_name: transformers --- # yujiepan/llama-2-tiny-3layers-random This model is **randomly initialized**, using the config from [meta-llama/Llama-2-7b-chat-hf](https://huggingface.co/yujiepan/llama-2-tiny-3layers-random/blob/main/config.json) but with the following modifications: ```json { "hidden_size": 8, "intermediate_size": 32, "num_attention_heads": 2, "num_hidden_layers": 3, "num_key_value_heads": 2, } ```
[ -0.41967475414276123, -0.8368682861328125, 0.6429474353790283, 0.275478720664978, -0.6504756212234497, 0.16486114263534546, 0.09006192535161972, -0.6064257025718689, 0.639620840549469, 0.8323025703430176, -0.8812897801399231, -0.38006746768951416, -0.6620612740516663, -0.028622757643461227, 0.016244634985923767, 1.1914621591567993, 0.3492683172225952, -0.2688705623149872, 0.21170511841773987, -0.2022506445646286, -0.36514657735824585, -0.3338082432746887, -0.5606282949447632, -0.2654510736465454, 0.5102593302726746, 0.6312854886054993, 1.094692587852478, 1.1234487295150757, 0.8176027536392212, 0.33365169167518616, -0.3769081234931946, 0.06508605927228928, -0.4763413369655609, -0.2881743609905243, 0.35865089297294617, -0.7150797843933105, -0.6880255937576294, -0.03859202191233635, 0.858559787273407, 0.5814551711082458, -0.2253488451242447, 0.6831243634223938, -0.17478568851947784, 0.4254869520664215, -0.5580253601074219, 0.03562410920858383, -0.6217179894447327, 0.24156811833381653, -0.397251695394516, -0.21887220442295074, -0.01735037751495838, 0.09782157093286514, 0.23215699195861816, -0.9140580296516418, 0.16768136620521545, 0.40911945700645447, 1.1262205839157104, 0.3158094882965088, -0.37046507000923157, 0.13336914777755737, -0.42524468898773193, 0.9689143300056458, -0.9187063574790955, 0.07480576634407043, 0.3660486936569214, 0.44441577792167664, -0.3025859594345093, -0.8462502956390381, -0.4583885371685028, -0.04639333486557007, -0.11836835741996765, -0.39880555868148804, -0.13234952092170715, -0.16039304435253143, 0.6356515884399414, 0.055660683661699295, -0.35333651304244995, 0.3646387457847595, -0.4720797538757324, -0.19843901693820953, 0.6076343655586243, 0.3783469796180725, 0.2797347903251648, -0.3868827819824219, -0.532211184501648, -0.2235555350780487, -0.7769516706466675, 0.043713074177503586, 0.701616644859314, 0.43180716037750244, -0.8972368836402893, 0.7494022250175476, -0.42272958159446716, 0.6240459680557251, 0.4145708680152893, -0.3908116817474365, 0.6754478812217712, -0.2541382908821106, -0.3947250545024872, -0.17101378738880157, 1.0032541751861572, 0.6790806651115417, 0.03673935681581497, 0.2949593663215637, -0.07390068471431732, -0.19179147481918335, 0.03351858630776405, -0.6907441020011902, -0.28045976161956787, 0.47280943393707275, -0.7451573014259338, -0.8012027144432068, 0.10472627729177475, -0.5141211748123169, -0.5048980712890625, 0.2025914490222931, 0.1718643754720688, 0.032936275005340576, -0.3320781886577606, 0.0924927294254303, 0.020160742104053497, 0.35913974046707153, 0.27319633960723877, -0.8733788728713989, 0.28090500831604004, 0.5872640013694763, 0.5566264986991882, 0.37289702892303467, -0.36320894956588745, 0.0996798425912857, 0.11794020235538483, -0.2670745849609375, 0.8189048767089844, -0.09297466278076172, -0.3083265423774719, -0.22578956186771393, 0.1965276598930359, 0.13880562782287598, -0.5373601913452148, 0.43891575932502747, -0.577212929725647, 0.0435761958360672, -0.569361686706543, 0.1711960881948471, -0.21325622498989105, 0.22714056074619293, -0.9295110106468201, 0.7892679572105408, 0.19315946102142334, -0.9751725792884827, 0.444110631942749, -0.8810018301010132, -0.12123823165893555, 0.15392419695854187, 0.31459707021713257, -0.5897959470748901, 0.1023961752653122, 0.10915233194828033, 0.4141441881656647, -0.32631435990333557, -0.15296542644500732, -0.5132021903991699, -0.5785940885543823, 0.47665339708328247, 0.3050745129585266, 1.0069849491119385, 0.41360214352607727, -0.11860012263059616, -0.07692548632621765, -1.066388726234436, 0.025841329246759415, 0.5080501437187195, 0.14432711899280548, -0.2584061920642853, -0.002504696836695075, -0.12271997332572937, 0.00961532723158598, 0.5553466081619263, -0.30694422125816345, 0.3264322876930237, -0.18894316256046295, 0.3802832067012787, 0.8589906692504883, 0.4379282593727112, 0.6865935325622559, -0.4697827696800232, 0.08191024512052536, 0.5135801434516907, 0.4861249327659607, 0.08821866661310196, -0.6872500777244568, -1.1229379177093506, -0.5094166398048401, 0.013876860029995441, 0.34306228160858154, -0.43154245615005493, 0.56153804063797, 0.11488956212997437, -0.5747979283332825, -0.5922882556915283, 0.023229584097862244, 0.2974226474761963, 0.07739020884037018, 0.2053370326757431, -0.3085765838623047, -0.889165997505188, -1.2422215938568115, 0.14961554110050201, -0.4322299361228943, -0.05217142775654793, 0.25778764486312866, 0.6643126606941223, -0.7112070322036743, 0.4680950939655304, -0.6828930377960205, -0.13284292817115784, -0.22814086079597473, -0.07160312682390213, 0.6006834506988525, 0.7869536280632019, 0.9500089287757874, -0.2707638144493103, -0.35377416014671326, -0.07979542016983032, -0.6266209483146667, -0.1893448680639267, -0.2784140110015869, -0.5665837526321411, -0.36646243929862976, -0.12992791831493378, -0.9068326354026794, 0.3550283908843994, 0.4522954523563385, -0.3841373026371002, 0.196073979139328, 0.16018874943256378, 0.008763281628489494, -1.2446719408035278, -0.13785047829151154, -0.18644894659519196, -0.07301768660545349, -0.7207983732223511, 0.49424320459365845, 0.00963329803198576, 0.20414941012859344, -0.6702593564987183, 0.5844086408615112, -0.560130774974823, 0.03618049621582031, -0.2144227772951126, -0.22546251118183136, -0.08528655022382736, 0.5726216435432434, -0.3843434154987335, 0.3537225127220154, 0.545598030090332, -0.4549245536327362, 0.3799251317977905, 0.537696123123169, -0.2041444033384323, 0.35021424293518066, -0.7890409231185913, 0.48608753085136414, 0.15602490305900574, 0.3184050917625427, -0.6559844017028809, -0.7681777477264404, 0.9293286204338074, -0.15330106019973755, -0.13278301060199738, -0.24605630338191986, -0.6744922995567322, -0.3983955979347229, -0.6022655963897705, 0.6193450093269348, 0.5735173225402832, -0.6297731995582581, 0.33050981163978577, 0.6918320059776306, 0.3042050302028656, -0.33790847659111023, -0.8474143147468567, -0.11641371250152588, -0.27347132563591003, -0.5751248002052307, 0.05382318049669266, -0.4850074350833893, -0.3108372986316681, -0.27390530705451965, 0.1451425999403, -0.3548378646373749, 0.17735140025615692, 0.2953088879585266, 0.3612084686756134, -0.14270874857902527, -0.48044535517692566, 0.18839533627033234, 0.09429029375314713, 0.0735895112156868, 0.22401107847690582, 0.5949932336807251, -0.23681259155273438, -0.3963448107242584, -0.8437418937683105, -0.08996058255434036, 0.5204925537109375, 0.13408030569553375, 0.7234736084938049, 0.6568808555603027, -0.4270498752593994, -0.09504789113998413, -0.6670581698417664, -0.19200411438941956, -0.564145565032959, 0.20814132690429688, -0.47818392515182495, -1.04445219039917, 1.0920871496200562, 0.3235935568809509, -0.18880297243595123, 0.7185394763946533, 0.46010738611221313, -0.2536369562149048, 1.1251130104064941, 0.5734891295433044, -0.010971792042255402, 0.4684288203716278, -0.2724432945251465, -0.09832693636417389, -1.180145025253296, -0.30284905433654785, -0.3392469882965088, -0.6609265208244324, -1.285857915878296, -0.27662426233291626, 0.2288459688425064, 0.041224170476198196, -0.46428707242012024, 0.5491470694541931, -0.4848134219646454, 0.6651055812835693, 0.508424699306488, 0.42282792925834656, 0.03343489021062851, -0.2712130546569824, 0.05762506276369095, -0.01646685227751732, -0.5538985729217529, -0.20967064797878265, 1.1955610513687134, 0.6700319051742554, 0.6650274991989136, 0.2686592638492584, 0.8925492763519287, -0.22807690501213074, 0.05029581859707832, -0.42799457907676697, 0.5987931489944458, 0.2539794147014618, -0.8020907044410706, -0.0801171362400055, -0.33414486050605774, -0.7736854553222656, 0.3924645185470581, -0.36282479763031006, -0.8600717186927795, 0.21752962470054626, 0.17483380436897278, -0.6215419173240662, 0.14584952592849731, -0.542474627494812, 0.5124528408050537, -0.016595764085650444, 0.10317252576351166, -0.05455614998936653, -0.825999915599823, 0.9069815874099731, -0.08152029663324356, 0.11210497468709946, -0.42153558135032654, -0.2551918625831604, 0.8635346293449402, -0.31601303815841675, 1.1153005361557007, -0.17281457781791687, 0.19010360538959503, 0.7126914858818054, -0.036138225346803665, 0.6824206709861755, 0.6129734516143799, 0.2461336851119995, 0.45567137002944946, 0.004356883466243744, -0.5217927694320679, -0.4671330451965332, 0.6972616910934448, -1.2267558574676514, -0.5812268853187561, -0.6637045741081238, -0.3813428282737732, 0.02169584110379219, 0.17807096242904663, 0.22605614364147186, -0.21193429827690125, -0.15986455976963043, 0.545731246471405, 0.6985101699829102, -0.13690464198589325, 0.313084214925766, 0.6528410315513611, -0.1763913631439209, -0.6320236325263977, 0.3124772608280182, -0.09196094423532486, 0.15125559270381927, 0.16594402492046356, 0.23835903406143188, 0.23352734744548798, -0.3989441692829132, -0.26528459787368774, 0.33721792697906494, -0.39466366171836853, -0.4190395772457123, -0.45199859142303467, -0.4933561086654663, -0.2192227691411972, 0.17987868189811707, -0.5081353783607483, -0.5222160816192627, -0.9137241840362549, -0.26893264055252075, 0.488276869058609, 0.36069488525390625, -0.38775503635406494, 1.192833423614502, -0.7924674153327942, 0.5482439994812012, 0.3344249725341797, 0.5572949647903442, -0.1255931556224823, -1.031998634338379, -0.47960224747657776, 0.1938624531030655, -0.08747825771570206, -0.5242534875869751, 0.3242892324924469, -0.08016719669103622, 0.7546088695526123, 0.47957298159599304, -0.2616802752017975, 0.7571964859962463, -0.5027022957801819, 0.7509982585906982, 0.2837969660758972, -0.5170645117759705, 0.37027707695961, -0.7214756608009338, 0.6174739599227905, 0.38869088888168335, -0.16373808681964874, -0.06180012971162796, -0.23523525893688202, -1.0867687463760376, -0.7178835272789001, 0.7418242692947388, 0.23976737260818481, 0.38857704401016235, -0.010606781579554081, 0.3316330909729004, 0.02640940248966217, 0.16852159798145294, -0.8255225419998169, -0.44078323245048523, -0.15560370683670044, 0.15934167802333832, 0.11310558766126633, -0.8188095092773438, -0.679530143737793, -0.39899882674217224, 0.3129255473613739, -0.05172502622008324, 0.5410377979278564, -0.36192435026168823, 0.019954323768615723, -0.6341739892959595, -0.1684211939573288, 1.00034499168396, 0.3929111063480377, -0.5341583490371704, -0.05411455035209656, 0.3787837028503418, -0.6249282360076904, -0.11425613611936569, -0.20373781025409698, -0.09306520223617554, -0.13324925303459167, 0.5352739691734314, 1.3277182579040527, 0.54263836145401, -0.16464638710021973, 0.33765214681625366, -0.16330784559249878, -0.18807096779346466, -0.47835755348205566, 0.4198690354824066, -0.11249328404664993, 0.6271962523460388, 0.35858526825904846, 0.3666583299636841, 0.01954721473157406, -0.12026189267635345, -0.10258490592241287, 0.40750744938850403, 0.15086346864700317, -0.8000601530075073, 0.5221685171127319, 0.05325918644666672, -0.27516889572143555, 0.3625100553035736, -0.010472781024873257, -0.12443900853395462, 0.6912790536880493, 0.6080981492996216, 1.099316120147705, -0.07637393474578857, 0.10591712594032288, 0.5598025321960449, 0.6113008260726929, -0.35784387588500977, 0.5300463438034058, 0.13074353337287903, -1.1027741432189941, 0.06237371265888214, -0.6690731644630432, -0.362485408782959, 0.23850935697555542, -0.5868456959724426, 0.4055662453174591, -1.1169198751449585, -0.3849338889122009, -0.1712818294763565, 0.17892944812774658, -1.1063627004623413, 0.20205239951610565, -0.1424659937620163, 0.5641780495643616, -0.8342657089233398, 0.8007363080978394, 0.6328086256980896, -0.286058247089386, -1.0371346473693848, -0.14254774153232574, 0.2048419862985611, -1.056039571762085, 0.32976534962654114, -0.18701401352882385, 0.5017249584197998, 0.047888245433568954, -1.3283478021621704, -1.4059805870056152, 1.4534748792648315, 0.08095831423997879, -0.5818790793418884, 0.2977471351623535, 0.19324269890785217, 0.5653157830238342, -0.5693621039390564, 0.44215187430381775, 0.4901042580604553, 0.5049819350242615, -0.07357457280158997, -1.0090177059173584, -0.09668874740600586, -0.27257272601127625, 0.4011358916759491, -0.3201686143875122, -1.2721195220947266, 1.0994031429290771, -0.49943506717681885, 0.016484877094626427, 0.4941723644733429, 0.7151144742965698, 0.9005281329154968, -0.06616273522377014, 0.713327169418335, 0.6919786334037781, 0.5218643546104431, 0.05878911539912224, 0.9076266288757324, -0.30012187361717224, 0.46653732657432556, 0.969654381275177, -0.3008413016796112, 0.7016403079032898, 0.7289912700653076, -0.10701584070920944, 0.6550754308700562, 0.8714448809623718, -0.3173198699951172, 0.6718945503234863, -0.009356232360005379, 0.018947986885905266, 0.1703600138425827, 0.09615696966648102, -0.6896679401397705, 0.6845055818557739, 0.28694087266921997, -0.33375123143196106, 0.26947221159935, -0.5230419039726257, 0.1742902249097824, -0.5794379115104675, 0.0150996008887887, 0.6917890310287476, 0.11337465047836304, -0.036563366651535034, 0.6093385219573975, 0.06787487119436264, 0.6363033056259155, -0.5255609154701233, -0.004759009461849928, -0.3330253064632416, -0.18915678560733795, -0.2179032266139984, -0.567594051361084, 0.021990610286593437, -0.1689237505197525, -0.27316194772720337, 0.0258908960968256, 0.7307302951812744, -0.08833467960357666, -0.5268486738204956, 0.24239586293697357, 0.4138033390045166, -0.1312583088874817, 0.3761809170246124, -0.7211476564407349, 0.5848715901374817, -0.08981920033693314, -0.8413737416267395, 0.6103278398513794, 0.5500367879867554, 0.06681980937719345, 0.6725367307662964, 1.047945499420166, -0.10400357842445374, 0.1553269773721695, 0.16053804755210876, 1.0529167652130127, -0.6113478541374207, -0.6359665989875793, -0.6323437690734863, 0.9468361735343933, -0.03937986120581627, -0.5629470944404602, 0.5370028614997864, 0.134588360786438, 0.9399811625480652, -0.4215991795063019, 0.5020527839660645, -0.23001424968242645, 0.5236752033233643, -0.3914473354816437, 0.9240655899047852, -0.5374425053596497, 0.46101734042167664, -0.3812253177165985, -1.0899665355682373, -0.26087746024131775, 0.779198169708252, 0.28582367300987244, -0.056457094848155975, 0.7594485282897949, 0.9488101005554199, -0.11675034463405609, -0.2737192213535309, 0.27221018075942993, 0.4435257315635681, 0.036293622106313705, 0.29305681586265564, 0.8205277919769287, -0.7714065909385681, 0.07859373092651367, -0.6772481203079224, -0.4163249731063843, -0.25497061014175415, -0.8970191478729248, -1.0285685062408447, -0.40520811080932617, -0.11910685896873474, -0.38531625270843506, 0.031790755689144135, 0.992704451084137, 0.6929131746292114, -0.8826919198036194, -0.4015859365463257, 0.4196150302886963, -0.011964989826083183, -0.00651279604062438, -0.21711868047714233, -0.04333778843283653, 0.36370956897735596, -0.4652586579322815, 0.30797329545021057, -0.06869877874851227, 0.24260152876377106, -0.19606046378612518, -0.05795795097947121, -0.30956587195396423, -0.07030756771564484, 0.25021982192993164, 0.3650289475917816, -0.8035447001457214, -1.059734582901001, -0.1845688670873642, -0.3858430087566376, 0.0754292905330658, 0.17432847619056702, -0.5434555411338806, -0.03986577317118645, 0.525685727596283, 0.09004567563533783, 0.3785594403743744, -0.33768028020858765, 0.12561365962028503, -0.8577220439910889, 0.9766365885734558, -0.140801340341568, 0.4470507502555847, 0.18495792150497437, -0.48493126034736633, 0.5736649632453918, 0.3509337306022644, -0.389117956161499, -1.2045226097106934, 0.09065786004066467, -1.2498841285705566, 0.29244333505630493, 1.065081000328064, 0.36853593587875366, -0.4782547950744629, 0.67209792137146, -0.23936019837856293, 0.30805808305740356, -0.3605504035949707, 0.99030601978302, 0.4961114227771759, -0.08526422083377838, -0.568868100643158, -0.44233646988868713, 0.38355278968811035, -0.00026957219233736396, -0.6631031632423401, -0.6069068908691406, 0.215687096118927, 0.5347718000411987, 0.30348244309425354, 0.6444531679153442, -0.013992559164762497, 0.1871703863143921, 0.07263392955064774, 0.21573837101459503, -0.05207430571317673, -0.3625706434249878, -0.09738904982805252, -0.2530350983142853, 0.09928561747074127, -0.29193416237831116 ]
sentence-transformers/paraphrase-MiniLM-L12-v2
sentence-transformers
2022-06-15T20:18:46Z
7,583
4
sentence-transformers
[ "sentence-transformers", "pytorch", "tf", "bert", "feature-extraction", "sentence-similarity", "transformers", "arxiv:1908.10084", "license:apache-2.0", "endpoints_compatible", "has_space", "region:us" ]
sentence-similarity
2022-03-02T23:29:05Z
--- pipeline_tag: sentence-similarity license: apache-2.0 tags: - sentence-transformers - feature-extraction - sentence-similarity - transformers --- # sentence-transformers/paraphrase-MiniLM-L12-v2 This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. ## Usage (Sentence-Transformers) Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed: ``` pip install -U sentence-transformers ``` Then you can use the model like this: ```python from sentence_transformers import SentenceTransformer sentences = ["This is an example sentence", "Each sentence is converted"] model = SentenceTransformer('sentence-transformers/paraphrase-MiniLM-L12-v2') embeddings = model.encode(sentences) print(embeddings) ``` ## Usage (HuggingFace Transformers) Without [sentence-transformers](https://www.SBERT.net), you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings. ```python from transformers import AutoTokenizer, AutoModel import torch #Mean Pooling - Take attention mask into account for correct averaging def mean_pooling(model_output, attention_mask): token_embeddings = model_output[0] #First element of model_output contains all token embeddings input_mask_expanded = attention_mask.unsqueeze(-1).expand(token_embeddings.size()).float() return torch.sum(token_embeddings * input_mask_expanded, 1) / torch.clamp(input_mask_expanded.sum(1), min=1e-9) # Sentences we want sentence embeddings for sentences = ['This is an example sentence', 'Each sentence is converted'] # Load model from HuggingFace Hub tokenizer = AutoTokenizer.from_pretrained('sentence-transformers/paraphrase-MiniLM-L12-v2') model = AutoModel.from_pretrained('sentence-transformers/paraphrase-MiniLM-L12-v2') # Tokenize sentences encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt') # Compute token embeddings with torch.no_grad(): model_output = model(**encoded_input) # Perform pooling. In this case, max pooling. sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask']) print("Sentence embeddings:") print(sentence_embeddings) ``` ## Evaluation Results For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name=sentence-transformers/paraphrase-MiniLM-L12-v2) ## Full Model Architecture ``` SentenceTransformer( (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False}) ) ``` ## Citing & Authors This model was trained by [sentence-transformers](https://www.sbert.net/). If you find this model helpful, feel free to cite our publication [Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks](https://arxiv.org/abs/1908.10084): ```bibtex @inproceedings{reimers-2019-sentence-bert, title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks", author = "Reimers, Nils and Gurevych, Iryna", booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing", month = "11", year = "2019", publisher = "Association for Computational Linguistics", url = "http://arxiv.org/abs/1908.10084", } ```
[ -0.23233094811439514, -0.7372939586639404, 0.38902679085731506, 0.25318339467048645, -0.372105211019516, -0.43995463848114014, -0.1524316817522049, 0.022416453808546066, 0.13482357561588287, 0.43339815735816956, -0.5618301630020142, -0.3030815124511719, -0.5990934371948242, 0.12407995015382767, -0.5379840135574341, 0.9537882208824158, -0.07033679634332657, -0.020955698564648628, -0.3915942311286926, -0.2717323899269104, -0.21430212259292603, -0.3736906945705414, -0.4339766800403595, -0.2679818272590637, 0.24925492703914642, 0.26664361357688904, 0.5970525145530701, 0.4797961711883545, 0.3563343584537506, 0.44728362560272217, -0.01757168211042881, 0.07199414819478989, -0.2857506573200226, -0.1405840814113617, 0.021983621641993523, -0.4233852028846741, -0.042080335319042206, 0.1408112794160843, 0.5709047913551331, 0.40175876021385193, -0.11290663480758667, 0.2845670282840729, 0.23115313053131104, 0.21275298297405243, -0.26435473561286926, 0.4612773656845093, -0.7160159945487976, 0.06277413666248322, 0.02618415281176567, 0.07616738975048065, -0.46005818247795105, -0.16921499371528625, 0.27593994140625, -0.374591588973999, 0.3273070156574249, 0.3506176173686981, 1.037381649017334, 0.42356076836586, -0.16824723780155182, -0.4126269221305847, -0.19441775977611542, 0.9074991941452026, -0.8288719058036804, 0.12717272341251373, 0.3203963339328766, 0.04441762715578079, 0.11280778050422668, -1.2210630178451538, -0.7723485827445984, -0.16493335366249084, -0.6571283340454102, 0.0003144957299809903, -0.42033493518829346, -0.01896914467215538, 0.21760611236095428, 0.19814254343509674, -0.7182936072349548, -0.2562234103679657, -0.4360501170158386, -0.25868743658065796, 0.3499288558959961, 0.17617355287075043, 0.39410093426704407, -0.7058355808258057, -0.435724675655365, -0.3406483829021454, -0.2093164622783661, -0.014071719720959663, -0.06405936181545258, 0.24424873292446136, -0.38525936007499695, 0.7895301580429077, -0.03935552015900612, 0.4487287998199463, 0.01972009800374508, 0.1161143109202385, 0.4939194321632385, -0.5794979333877563, -0.30767011642456055, -0.17113269865512848, 1.1275086402893066, 0.3553415536880493, 0.15774208307266235, 0.03405154496431351, -0.17682941257953644, -0.0039124987088143826, 0.01841449737548828, -0.8030626773834229, -0.5614883899688721, 0.05452881008386612, -0.513410210609436, -0.3757596015930176, -0.010861072689294815, -0.8819851875305176, -0.08209075778722763, 0.04573517292737961, 0.7558421492576599, -0.5957042574882507, 0.31087419390678406, 0.04527980834245682, -0.3673036992549896, 0.20865419507026672, -0.2886590361595154, -0.6821371912956238, 0.3198581337928772, 0.24196802079677582, 1.0953558683395386, 0.1084798201918602, -0.5479961633682251, -0.3341659903526306, -0.02465706132352352, 0.17776410281658173, 0.7402622699737549, -0.3544797897338867, -0.02545621618628502, 0.016941389068961143, 0.19661422073841095, -0.6408786177635193, -0.487967848777771, 0.649708092212677, -0.29338333010673523, 0.6139298677444458, 0.07197712361812592, -0.7497976422309875, -0.022921010851860046, 0.010630144737660885, -0.510911762714386, 1.1591652631759644, 0.06353454291820526, -0.9832918047904968, -0.03923916071653366, -0.6760963201522827, -0.17910751700401306, -0.10860374569892883, -0.05436383932828903, -0.660635769367218, 0.12576642632484436, 0.5364379286766052, 0.589418888092041, -0.03900470212101936, 0.1422303020954132, -0.2725863754749298, -0.4242967963218689, 0.3249562084674835, -0.3054698705673218, 1.164070725440979, 0.14083537459373474, -0.381937175989151, 0.16872934997081757, -0.4217745065689087, -0.08681127429008484, 0.36217108368873596, -0.05831163004040718, -0.31041204929351807, -0.15682871639728546, 0.24494510889053345, 0.39519813656806946, 0.35762226581573486, -0.5926504731178284, 0.016685059294104576, -0.5091961622238159, 0.9349154829978943, 0.6253153085708618, 0.13172443211078644, 0.6729699969291687, -0.460506409406662, 0.23086564242839813, 0.17669497430324554, 0.08793439716100693, -0.11744170635938644, -0.5350148677825928, -1.0160057544708252, -0.3029620051383972, 0.31139808893203735, 0.598408579826355, -1.011196255683899, 0.8143969178199768, -0.5161034464836121, -0.5310059189796448, -0.8504453897476196, 0.15674544870853424, 0.20460553467273712, 0.4767323434352875, 0.7490586638450623, 0.1669740378856659, -0.6535394787788391, -0.9990357756614685, -0.17173157632350922, -0.030393388122320175, 0.002535271691158414, 0.20048688352108002, 0.7759251594543457, -0.3678434193134308, 1.0055954456329346, -0.5851657390594482, -0.49749189615249634, -0.5898010730743408, 0.22933143377304077, 0.2193913757801056, 0.5872960090637207, 0.5674058794975281, -0.7041348218917847, -0.5737781524658203, -0.5991297960281372, -0.7609028816223145, -0.07692462205886841, -0.26895442605018616, -0.2714454233646393, 0.008657482452690601, 0.5695762038230896, -0.9260934591293335, 0.35516732931137085, 0.5144625902175903, -0.42475342750549316, 0.26520419120788574, -0.34729960560798645, -0.3014683723449707, -1.1801625490188599, -0.04109016805887222, -0.06280343979597092, -0.24602095782756805, -0.3963404893875122, 0.16883023083209991, 0.21851205825805664, -0.14609816670417786, -0.49213793873786926, 0.5448891520500183, -0.3905044198036194, 0.18406660854816437, -0.07548047602176666, 0.4840598404407501, -0.02624005451798439, 0.7227525115013123, -0.173759326338768, 0.7676615118980408, 0.4415697753429413, -0.5702559351921082, 0.3902028799057007, 0.6584128141403198, -0.49122920632362366, 0.15165753662586212, -0.8908812403678894, 0.08505389094352722, 0.05648893490433693, 0.39205819368362427, -1.146769404411316, -0.03421882539987564, 0.32400840520858765, -0.4479786455631256, -0.05503638833761215, 0.22176426649093628, -0.7892370820045471, -0.659384548664093, -0.5368169546127319, 0.1877928227186203, 0.7673473358154297, -0.5283539891242981, 0.5213670134544373, 0.24768318235874176, -0.150496244430542, -0.32275745272636414, -1.0884803533554077, 0.018486283719539642, -0.3269193172454834, -0.6637386679649353, 0.5083556175231934, -0.18248702585697174, 0.10494940727949142, 0.2029421329498291, 0.22955533862113953, 0.011144458316266537, -0.19172564148902893, -0.10841583460569382, 0.16319459676742554, -0.050095539540052414, 0.10056441277265549, 0.3155524432659149, -0.12845835089683533, 0.011597740463912487, -0.14196978509426117, 0.7493678331375122, -0.26574403047561646, -0.0461101271212101, -0.5110297203063965, 0.23315152525901794, 0.4219861626625061, -0.09897413104772568, 1.133110761642456, 0.9209921956062317, -0.3742222785949707, -0.051986921578645706, -0.39769884943962097, -0.39626938104629517, -0.516777515411377, 0.4657156467437744, -0.3194882273674011, -0.7924450635910034, 0.4136211574077606, 0.31656500697135925, 0.023927979171276093, 0.7347005605697632, 0.6077260971069336, -0.33527445793151855, 0.8090062737464905, 0.5869470834732056, -0.050041377544403076, 0.5158239006996155, -0.558407723903656, 0.20352114737033844, -0.873578667640686, -0.016886726021766663, -0.3008934259414673, -0.3183455467224121, -0.6151624321937561, -0.5429475903511047, 0.3358631432056427, -0.049173031002283096, -0.2035941779613495, 0.6784988641738892, -0.4675191640853882, 0.19083049893379211, 0.7329309582710266, 0.21875807642936707, -0.011636687442660332, 0.12193312495946884, -0.5439090728759766, -0.19203902781009674, -0.8325266242027283, -0.5915253758430481, 0.8352750539779663, 0.2908034324645996, 0.5017321705818176, -0.14458730816841125, 0.817277729511261, 0.17459209263324738, 0.029642004519701004, -0.5840460062026978, 0.7358989715576172, -0.28295955061912537, -0.44935691356658936, -0.390158087015152, -0.3256540298461914, -0.8269258737564087, 0.5024298429489136, -0.023398011922836304, -0.6801252365112305, 0.11773934960365295, -0.10238773375749588, -0.4344206154346466, 0.16417910158634186, -0.7897875905036926, 1.1328424215316772, 0.16078025102615356, -0.01016206480562687, -0.06690309941768646, -0.8300573229789734, 0.21672996878623962, 0.015787851065397263, 0.2399371862411499, -0.05718405917286873, -0.1883617788553238, 0.9968568682670593, -0.43192604184150696, 0.9200074076652527, -0.15012378990650177, 0.3642846941947937, 0.3914117217063904, -0.250674843788147, 0.45053717494010925, -0.10109368711709976, -0.062663234770298, 0.009804046712815762, 0.05645391717553139, -0.4861122965812683, -0.552134096622467, 0.7068895101547241, -0.894321620464325, -0.40638840198516846, -0.4421413242816925, -0.6255238056182861, -0.011069335974752903, 0.20755510032176971, 0.4994715750217438, 0.3045215308666229, 0.015765609219670296, 0.5657390356063843, 0.4882809519767761, -0.274801105260849, 0.7585809826850891, 0.012418163940310478, -0.07372797280550003, -0.5094208121299744, 0.700909435749054, 0.09461319446563721, 0.1094423308968544, 0.4626944065093994, 0.3699040710926056, -0.4282192289829254, -0.21756543219089508, -0.370210200548172, 0.5610511898994446, -0.6873924136161804, -0.21846458315849304, -1.0667346715927124, -0.4685489535331726, -0.6433057188987732, 0.027209538966417313, -0.1363304853439331, -0.42754238843917847, -0.4467242956161499, -0.23281791806221008, 0.34592506289482117, 0.39918023347854614, -0.0011976717505604029, 0.4595968425273895, -0.7282687425613403, 0.30295297503471375, 0.30307409167289734, -0.2569464147090912, -0.08213712275028229, -0.974669337272644, -0.37740328907966614, 0.08050229400396347, -0.39853551983833313, -0.800061047077179, 0.6679028272628784, 0.33461347222328186, 0.5904871225357056, 0.026125473901629448, 0.21264386177062988, 0.7486929893493652, -0.642517626285553, 0.904136061668396, -0.006864987313747406, -1.091702938079834, 0.4531944990158081, -0.04006439447402954, 0.3400917649269104, 0.5453937649726868, 0.16679760813713074, -0.41942599415779114, -0.5013658404350281, -0.8309284448623657, -0.9279569387435913, 0.7569233179092407, 0.6204325556755066, 0.5767010450363159, -0.21633325517177582, 0.23309466242790222, -0.2160058468580246, 0.195769265294075, -1.1726824045181274, -0.4946301579475403, -0.28504136204719543, -0.6748528480529785, -0.3309065103530884, -0.3224721848964691, 0.04316750541329384, -0.5336443781852722, 0.661035418510437, 0.01535530760884285, 0.8696879148483276, 0.21027949452400208, -0.5319281220436096, 0.2709638774394989, 0.0971531942486763, 0.5198444724082947, 0.21280059218406677, -0.07370293140411377, 0.31499016284942627, 0.42727866768836975, -0.27171948552131653, 0.027802282944321632, 0.4182806611061096, -0.273127943277359, 0.3037102520465851, 0.4776195287704468, 0.8794193267822266, 0.5123885869979858, -0.5002756118774414, 0.7877752184867859, -0.050083454698324203, -0.17511670291423798, -0.3243587613105774, -0.16537714004516602, 0.2804954946041107, 0.3590163290500641, 0.2797859311103821, 0.05280797928571701, 0.03536570444703102, -0.40003645420074463, 0.39411604404449463, 0.21426108479499817, -0.29066839814186096, -0.07932188361883163, 0.7757027745246887, -0.06401283293962479, -0.19230373203754425, 0.8688551187515259, -0.21646898984909058, -0.6212760806083679, 0.43148526549339294, 0.5908839106559753, 0.9433815479278564, 0.07843223214149475, 0.22753338515758514, 0.31236696243286133, 0.46149393916130066, -0.047205325216054916, -0.045416757464408875, 0.03554344177246094, -0.7794225811958313, -0.025327572599053383, -0.6960460543632507, 0.04894194379448891, -0.003342960262671113, -0.6035422682762146, 0.2676101624965668, -0.1318519562482834, 0.002011687494814396, -0.119876928627491, -0.09088672697544098, -0.7656489610671997, 0.026408547535538673, -0.015261540189385414, 0.825731635093689, -1.0075587034225464, 1.0406196117401123, 0.6515557169914246, -0.715297281742096, -0.6368266344070435, 0.0777503103017807, -0.3495113253593445, -0.9365831017494202, 0.5302244424819946, 0.32791081070899963, 0.18886776268482208, 0.20150037109851837, -0.5494477152824402, -0.8826574683189392, 1.396259069442749, 0.30737194418907166, -0.2416647970676422, -0.41361936926841736, 0.06871923804283142, 0.5581556558609009, -0.43667954206466675, 0.25258922576904297, 0.5556640625, 0.262152761220932, -0.11073850840330124, -0.72565758228302, 0.268696665763855, -0.17575141787528992, 0.28015992045402527, -0.24898192286491394, -0.5954299569129944, 1.0534995794296265, 0.033977657556533813, -0.08805463463068008, 0.410742849111557, 0.9241388440132141, 0.3511149287223816, 0.03174622356891632, 0.45021751523017883, 0.6676883101463318, 0.540306031703949, -0.008069494739174843, 1.034469723701477, -0.31090644001960754, 0.8544508814811707, 1.0878647565841675, 0.18444637954235077, 1.0942332744598389, 0.5935152173042297, -0.1951044648885727, 0.7425408959388733, 0.4863286316394806, -0.15475253760814667, 0.8967460989952087, 0.04487290233373642, 0.02044861577451229, -0.018860306590795517, 0.20939238369464874, -0.19460748136043549, 0.3025273382663727, 0.22491422295570374, -0.7235661745071411, -0.1495710164308548, 0.22998486459255219, -0.014901171438395977, -0.033620938658714294, 0.004601505119353533, 0.5984578728675842, 0.3209669291973114, -0.40059012174606323, 0.39277663826942444, 0.2131701111793518, 0.9649565815925598, -0.40245378017425537, 0.23814505338668823, -0.20072175562381744, 0.38364049792289734, 0.10495482385158539, -0.5378820896148682, 0.4467654526233673, -0.10517650842666626, -0.056827954947948456, -0.33091428875923157, 0.6754426956176758, -0.6408101916313171, -0.6693906188011169, 0.3433516323566437, 0.5685057640075684, 0.12079697847366333, 0.03804423287510872, -1.2484065294265747, -0.039104823023080826, 0.09906171262264252, -0.44664430618286133, 0.3137533664703369, 0.37080150842666626, 0.36283037066459656, 0.5576765537261963, 0.3647027611732483, -0.2485681027173996, 0.35780811309814453, -0.03219445049762726, 0.7974810004234314, -0.6105952262878418, -0.5350874066352844, -1.0823988914489746, 0.5671407580375671, -0.24946340918540955, -0.2122352570295334, 0.9520368576049805, 0.5284879803657532, 0.8085251450538635, -0.3438955843448639, 0.5469136238098145, -0.19426898658275604, 0.36665213108062744, -0.522578775882721, 0.8012656569480896, -0.5060305595397949, -0.051924847066402435, -0.2898896038532257, -0.8905509114265442, -0.2202385663986206, 1.11105477809906, -0.4011888802051544, 0.08345688879489899, 1.0827550888061523, 0.8553487062454224, -0.17989704012870789, -0.14868158102035522, 0.21914531290531158, 0.3425081968307495, 0.1934889554977417, 0.4718022644519806, 0.4468734860420227, -0.919309675693512, 0.9514026641845703, -0.7003101110458374, -0.031864240765571594, -0.18293695151805878, -0.6924046277999878, -0.9921979904174805, -0.745958685874939, -0.36963576078414917, -0.32172682881355286, -0.18571171164512634, 0.995556116104126, 0.48863911628723145, -0.8055144548416138, -0.1304035186767578, -0.26281458139419556, -0.12121108174324036, -0.17526564002037048, -0.3183518052101135, 0.594281792640686, -0.5544710159301758, -0.900543212890625, 0.18788039684295654, -0.0951966866850853, 0.08901035785675049, -0.1664743423461914, 0.1118554025888443, -0.5908979773521423, 0.220603808760643, 0.537522554397583, -0.2243736833333969, -0.8384755253791809, -0.32573971152305603, -0.06907004117965698, -0.5527922511100769, -0.15101052820682526, 0.43190228939056396, -0.633420467376709, 0.14665092527866364, 0.43145161867141724, 0.5405438542366028, 0.7112026810646057, -0.23709581792354584, 0.31649249792099, -0.8009988069534302, 0.3399786949157715, 0.06227821111679077, 0.7531614899635315, 0.3581940829753876, -0.16012859344482422, 0.47909846901893616, 0.4523823857307434, -0.4985772967338562, -0.7981547117233276, -0.2006305307149887, -0.9708477854728699, -0.19060596823692322, 1.1644394397735596, -0.33710968494415283, -0.3103828430175781, 0.09292107820510864, -0.3040265738964081, 0.45468199253082275, -0.2792526185512543, 0.5620482563972473, 0.7990816831588745, -0.08104702830314636, -0.3458535373210907, -0.3658423125743866, 0.335454523563385, 0.5376585721969604, -0.5313913822174072, -0.16776394844055176, 0.14487890899181366, 0.3826373815536499, 0.19908396899700165, 0.503637433052063, 0.012144329026341438, 0.006239593029022217, 0.14591087400913239, -0.06206478178501129, -0.07460343092679977, 0.014753484167158604, -0.4200148284435272, 0.1841590702533722, -0.3808508515357971, -0.41202425956726074 ]
Helsinki-NLP/opus-mt-th-en
Helsinki-NLP
2023-08-16T12:06:42Z
7,579
4
transformers
[ "transformers", "pytorch", "tf", "marian", "text2text-generation", "translation", "th", "en", "license:apache-2.0", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
translation
2022-03-02T23:29:04Z
--- language: - th - en tags: - translation license: apache-2.0 --- ### tha-eng * source group: Thai * target group: English * OPUS readme: [tha-eng](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/tha-eng/README.md) * model: transformer-align * source language(s): tha * target language(s): eng * model: transformer-align * pre-processing: normalization + SentencePiece (spm32k,spm32k) * download original weights: [opus-2020-06-17.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/tha-eng/opus-2020-06-17.zip) * test set translations: [opus-2020-06-17.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/tha-eng/opus-2020-06-17.test.txt) * test set scores: [opus-2020-06-17.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/tha-eng/opus-2020-06-17.eval.txt) ## Benchmarks | testset | BLEU | chr-F | |-----------------------|-------|-------| | Tatoeba-test.tha.eng | 48.1 | 0.644 | ### System Info: - hf_name: tha-eng - source_languages: tha - target_languages: eng - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/tha-eng/README.md - original_repo: Tatoeba-Challenge - tags: ['translation'] - languages: ['th', 'en'] - src_constituents: {'tha'} - tgt_constituents: {'eng'} - src_multilingual: False - tgt_multilingual: False - prepro: normalization + SentencePiece (spm32k,spm32k) - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/tha-eng/opus-2020-06-17.zip - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/tha-eng/opus-2020-06-17.test.txt - src_alpha3: tha - tgt_alpha3: eng - short_pair: th-en - chrF2_score: 0.644 - bleu: 48.1 - brevity_penalty: 0.9740000000000001 - ref_len: 7407.0 - src_name: Thai - tgt_name: English - train_date: 2020-06-17 - src_alpha2: th - tgt_alpha2: en - prefer_old: False - long_pair: tha-eng - helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535 - transformers_git_sha: 2207e5d8cb224e954a7cba69fa4ac2309e9ff30b - port_machine: brutasse - port_time: 2020-08-21-14:41
[ -0.35201701521873474, -0.6790817379951477, 0.3343510329723358, 0.378682404756546, -0.5432815551757812, -0.2000153362751007, -0.3442319631576538, -0.4350362718105316, 0.3383103311061859, 0.2676873207092285, -0.6212688684463501, -0.8651279807090759, -0.5834159255027771, 0.46371597051620483, -0.009646466001868248, 0.9212366938591003, -0.15634684264659882, 0.09701764583587646, 0.5219305157661438, -0.5448477268218994, -0.5378384590148926, -0.225943922996521, -0.652861475944519, -0.1805659681558609, 0.47559434175491333, 0.43014493584632874, 0.49074432253837585, 0.5069438815116882, 0.6174925565719604, 0.33150890469551086, -0.3001703917980194, 0.21054373681545258, -0.15358801186084747, -0.016437334939837456, -0.0549156554043293, -0.47574248909950256, -0.5926743745803833, -0.2959422171115875, 0.9425076246261597, 0.46428626775741577, 0.1651829183101654, 0.5065116286277771, -0.22976575791835785, 0.7413212656974792, -0.27672824263572693, 0.15716727077960968, -0.4858112335205078, -0.0965343788266182, -0.5171093344688416, -0.35286927223205566, -0.5987849235534668, -0.36580049991607666, 0.20427024364471436, -0.6759874820709229, -0.04423791542649269, 0.14037257432937622, 1.7598602771759033, 0.08617096394300461, -0.5092039704322815, -0.08865633606910706, -0.3234284222126007, 0.9066392183303833, -0.8677162528038025, 0.5169563293457031, 0.5263446569442749, -0.08328554779291153, 0.047093961387872696, -0.5104713439941406, -0.4042876660823822, 0.0689680352807045, -0.30912914872169495, 0.2736755311489105, -0.1899927407503128, -0.16692955791950226, 0.16625581681728363, 0.5955871939659119, -0.762907862663269, 0.0931411013007164, -0.4496312141418457, -0.28386589884757996, 0.5127271413803101, 0.049079928547143936, 0.4304760992527008, -0.7275670170783997, -0.3910543918609619, -0.4688575863838196, -0.43220850825309753, 0.1425756812095642, 0.41909557580947876, 0.4094000458717346, -0.6053739786148071, 0.8046521544456482, -0.09768882393836975, 0.5951491594314575, 0.07385803014039993, -0.14491839706897736, 0.6930214166641235, -0.7413681149482727, -0.19537495076656342, -0.1438920497894287, 1.2958735227584839, 0.28303802013397217, 0.04757217317819595, 0.12358508259057999, -0.26343661546707153, -0.18689893186092377, -0.09584087878465652, -0.859828531742096, 0.14431187510490417, 0.28200849890708923, -0.36413878202438354, -0.2371458262205124, 0.008188453502953053, -0.9180457592010498, 0.14682669937610626, 0.01323970127850771, 0.6037514805793762, -0.9665775299072266, -0.32399803400039673, 0.37883487343788147, 0.0401616133749485, 0.4024753272533417, -0.02973036840558052, -0.5122284293174744, 0.09633675217628479, 0.3364579677581787, 1.1445468664169312, -0.16823022067546844, -0.46417272090911865, -0.32678839564323425, 0.10084426403045654, -0.1182742640376091, 0.690730094909668, -0.21880348026752472, -0.42575833201408386, -0.08037526905536652, 0.4122287631034851, -0.1590815782546997, -0.11949489265680313, 0.9517275094985962, -0.4194372594356537, 0.6879143714904785, -0.379295289516449, -0.5683848261833191, -0.4484521448612213, 0.31992605328559875, -0.8326056599617004, 1.228215217590332, 0.28136855363845825, -1.0336341857910156, 0.39082735776901245, -0.8875749707221985, -0.3738357424736023, -0.05447278171777725, 0.19104380905628204, -0.8311631083488464, -0.02305741049349308, 0.2459801584482193, 0.3424312174320221, -0.448378324508667, 0.507908046245575, -0.010980569757521152, -0.2166125774383545, -0.09071879088878632, -0.3105586767196655, 1.4614198207855225, 0.20673999190330505, -0.5573491454124451, 0.1573214828968048, -0.8018395900726318, 0.055759496986866, 0.3038146197795868, -0.4292815625667572, -0.28165650367736816, -0.3000186085700989, 0.3372913897037506, 0.09868631511926651, 0.26348555088043213, -0.5935472249984741, 0.4058920443058014, -0.6315118670463562, 0.2745177447795868, 0.8681482672691345, 0.17013753950595856, 0.3063884675502777, -0.4054686725139618, 0.5417150259017944, 0.27064159512519836, 0.054384127259254456, 0.10938864946365356, -0.6059626340866089, -0.759769856929779, -0.3198798894882202, 0.6691006422042847, 0.6557088494300842, -0.7784370183944702, 0.8224048018455505, -0.8028026819229126, -0.8404339551925659, -0.8208328485488892, -0.2784886360168457, 0.5154612064361572, 0.40245306491851807, 0.5502437353134155, -0.27999117970466614, -0.6413828730583191, -1.096053957939148, -0.17850442230701447, -0.32177653908729553, 0.06967055797576904, 0.11225621402263641, 0.8314207792282104, -0.07228517532348633, 0.6406238675117493, -0.4336044490337372, -0.5751098990440369, -0.14445088803768158, 0.2301754504442215, 0.24459396302700043, 0.6767622828483582, 0.7208211421966553, -0.9164296984672546, -0.6495653390884399, 0.12553639709949493, -0.7089403867721558, -0.2132236659526825, 0.03006157837808132, -0.23706574738025665, 0.49787890911102295, -0.03014270029962063, -0.5948658585548401, 0.27429530024528503, 0.5844638347625732, -0.8421136736869812, 0.5702496767044067, -0.15538161993026733, 0.48524507880210876, -1.6417545080184937, 0.24590133130550385, -0.08167687058448792, -0.1046832948923111, -0.37770789861679077, 0.05782659724354744, 0.15098410844802856, 0.12636619806289673, -0.5752044320106506, 0.7943236827850342, -0.6571900248527527, 0.04347918555140495, 0.4000069499015808, 0.19089342653751373, 0.017677949741482735, 0.8057607412338257, -0.12000424414873123, 1.0711193084716797, 0.5731859803199768, -0.40194231271743774, 0.025170238688588142, 0.4567018151283264, -0.44107359647750854, 0.3547210991382599, -0.7251116037368774, -0.1608731597661972, 0.32804983854293823, -0.06044197455048561, -0.8146111369132996, -0.22457216680049896, 0.16880916059017181, -0.6952963471412659, 0.33644527196884155, -0.04496755450963974, -0.7277422547340393, -0.1253877431154251, -0.49713557958602905, 0.6624326705932617, 0.4734455645084381, -0.14125686883926392, 0.8728076815605164, 0.2204551100730896, 0.04700620844960213, -0.6783729195594788, -0.919289767742157, 0.003121333196759224, -0.3130762577056885, -0.7112740874290466, 0.4408198297023773, -0.11696343123912811, -0.022678041830658913, 0.17466771602630615, -0.016637392342090607, -0.1625569611787796, 0.04253227636218071, -0.00880559254437685, 0.3045610785484314, -0.362679660320282, 0.12373896688222885, -0.060581669211387634, -0.08362526446580887, -0.25669312477111816, -0.3303128778934479, 0.8633017539978027, -0.5017907619476318, -0.2602860927581787, -0.8519530892372131, 0.09672854095697403, 0.6529366374015808, -0.4886747896671295, 1.0564805269241333, 0.699889600276947, -0.3008093535900116, 0.32021254301071167, -0.6459624767303467, 0.08595723658800125, -0.4275670647621155, 0.4000661075115204, -0.6220840811729431, -0.670728325843811, 0.9213035702705383, 0.32686522603034973, 0.21222245693206787, 1.0328508615493774, 0.6905650496482849, 0.21064923703670502, 0.6267347931861877, 0.38893312215805054, 0.010709481313824654, 0.5648100972175598, -0.6337375044822693, -0.06236493960022926, -0.8267391920089722, -0.29374179244041443, -0.7614726424217224, -0.2277361899614334, -1.0290461778640747, -0.19655293226242065, 0.3248424530029297, -0.1592113971710205, -0.2157992720603943, 0.8094748258590698, -0.6083617806434631, 0.2904230058193207, 0.7019854784011841, 0.1718495637178421, 0.4224030375480652, -0.10142828524112701, -0.4165229797363281, -0.20338748395442963, -0.47634321451187134, -0.5964465737342834, 1.29349684715271, 0.28264757990837097, 0.17585846781730652, 0.38922473788261414, 0.7125956416130066, 0.09524733573198318, 0.0850149616599083, -0.7517139315605164, 0.6168180108070374, -0.06933236867189407, -0.812812328338623, -0.3954069912433624, -0.39788874983787537, -1.0291935205459595, 0.14472131431102753, -0.11782456189393997, -0.6866182684898376, 0.12074334174394608, -0.24769464135169983, -0.03316309675574303, 0.7590426206588745, -0.9052137732505798, 0.9587711095809937, 0.050674907863140106, -0.3005322813987732, 0.11604320257902145, -0.6648649573326111, 0.293639600276947, -0.17737631499767303, 0.13923923671245575, -0.07280297577381134, -0.22312241792678833, 0.9929764866828918, -0.32676786184310913, 0.6001158952713013, -0.0661173015832901, -0.18055778741836548, 0.19573815166950226, 0.183182030916214, 0.4882088303565979, -0.04601430892944336, -0.34206685423851013, 0.35008174180984497, 0.09158020466566086, -0.6682611703872681, -0.2420026957988739, 0.5670387744903564, -0.9122807383537292, -0.518307626247406, -0.610342264175415, -0.7431814670562744, -0.031868599355220795, 0.5809882879257202, 0.6481409072875977, 0.6017066240310669, 0.06911135464906693, 0.6075232028961182, 0.677632212638855, -0.2918001413345337, 0.5123695731163025, 0.5491044521331787, -0.02427682839334011, -0.6943626403808594, 0.6878920197486877, 0.3125920295715332, 0.25336846709251404, 0.6033359169960022, 0.14672091603279114, -0.3105502128601074, -0.8364263772964478, -0.49622124433517456, 0.4374215602874756, -0.44179055094718933, -0.4430166184902191, -0.6494264006614685, -0.04568188637495041, -0.4147469997406006, 0.15663164854049683, -0.3568683862686157, -0.5136684775352478, -0.09929681569337845, -0.3274826109409332, 0.5383403897285461, 0.42932838201522827, 0.019701890647411346, 0.2575419843196869, -0.8838194608688354, 0.2225867509841919, -0.15953978896141052, 0.5305671095848083, -0.23218831419944763, -0.9141138195991516, -0.3061103820800781, -0.026068704202771187, -0.3159070611000061, -1.1843311786651611, 0.537083089351654, -0.08865994215011597, 0.1868615299463272, 0.10259079188108444, 0.15526938438415527, 0.7079775333404541, -0.4219852685928345, 1.0745989084243774, -0.07281255722045898, -1.0122082233428955, 0.710270881652832, -0.4616030156612396, 0.5381224751472473, 0.7693963050842285, 0.32471537590026855, -0.3767072558403015, -0.731139063835144, -0.8816051483154297, -0.9262450337409973, 0.8496488332748413, 0.6284984350204468, -0.17560401558876038, -0.046644940972328186, 0.10831338167190552, 0.015079895034432411, -0.22364331781864166, -1.2828540802001953, -0.46670180559158325, 0.08544851094484329, -0.48547065258026123, 0.19036346673965454, -0.4454754889011383, -0.13429954648017883, -0.29226154088974, 1.193842887878418, 0.20615431666374207, 0.09966111183166504, 0.5487446784973145, -0.2417287528514862, -0.03072487749159336, 0.3812370300292969, 0.827612578868866, 0.5161987543106079, -0.3538367450237274, -0.12464172393083572, 0.38828423619270325, -0.6394988298416138, 0.16741573810577393, 0.04775257036089897, -0.540337860584259, 0.33296337723731995, 0.6510090827941895, 0.876312792301178, 0.2253996729850769, -0.5121787786483765, 0.5177004337310791, -0.10351058095693588, -0.4122273921966553, -0.38153237104415894, -0.4027617871761322, 0.111073799431324, 0.07928071916103363, 0.3651229739189148, -0.039643220603466034, -0.046524401754140854, -0.2141634076833725, 0.10519950836896896, 0.09420830756425858, -0.2504490911960602, -0.5262033343315125, 0.5911591053009033, 0.030379753559827805, -0.4721738398075104, 0.4506383538246155, -0.3887588679790497, -0.4589070975780487, 0.5763104557991028, 0.3015266954898834, 1.2168713808059692, -0.18693147599697113, -0.11556129157543182, 0.8208309412002563, 0.5771359801292419, 0.05597998946905136, 0.4656929075717926, 0.22855016589164734, -0.5399165153503418, -0.43247562646865845, -0.8036172986030579, 0.10731597244739532, 0.23512281477451324, -0.8114921450614929, 0.5056588649749756, 0.04605895280838013, -0.34556373953819275, -0.09382030367851257, 0.4790428578853607, -0.6666635274887085, 0.03595663234591484, -0.4691600799560547, 1.0665267705917358, -0.9262977242469788, 0.8669378757476807, 0.8068253993988037, -0.9058511853218079, -1.2103092670440674, 0.02173055149614811, -0.26307353377342224, -0.6621271371841431, 0.6456454396247864, 0.02064111828804016, 0.03506939113140106, 0.009182851761579514, -0.25585877895355225, -0.8372137546539307, 1.2862828969955444, 0.50991290807724, -0.3433498740196228, -0.30821406841278076, -0.008551879785954952, 0.5647535920143127, 0.024933025240898132, 0.24012620747089386, 0.390000581741333, 0.8960645794868469, -0.2871997654438019, -1.2426795959472656, 0.20945487916469574, -0.5084601044654846, -0.07379332184791565, 0.3565732538700104, -0.9275193214416504, 0.7762495875358582, 0.09782666712999344, -0.29696184396743774, 0.0485929511487484, 0.6670419573783875, 0.42509573698043823, 0.01686515472829342, 0.5339323282241821, 0.9614062309265137, 0.5343965291976929, -0.49961182475090027, 1.076350212097168, -0.3756810128688812, 0.6137946248054504, 0.9442222714424133, 0.24053466320037842, 0.8174827098846436, 0.6373114585876465, -0.27082160115242004, 0.7151049971580505, 0.7864202260971069, -0.10863441973924637, 0.393475204706192, -0.1468450278043747, -0.03740872070193291, -0.11012393236160278, -0.2817268669605255, -0.5408101677894592, 0.5926206111907959, 0.01691230945289135, -0.10784799605607986, -0.042197346687316895, -0.17476092278957367, 0.3326647877693176, 0.1413731575012207, -0.09315222501754761, 0.6837108731269836, -0.16357280313968658, -0.717701256275177, 0.7838178277015686, -0.023866474628448486, 0.7903935313224792, -0.7256404757499695, 0.10552170127630234, -0.23626045882701874, 0.03341030329465866, -0.06308578699827194, -0.8601897954940796, 0.41393572092056274, 0.17798873782157898, -0.23402324318885803, -0.24371296167373657, 0.20500275492668152, -0.5086237788200378, -0.7737195491790771, 0.4434061348438263, 0.5260292887687683, 0.1683681607246399, 0.3583761155605316, -0.6973326206207275, 0.014671827666461468, 0.21280519664287567, -0.7607100009918213, -0.03183704987168312, 0.912531852722168, 0.02207912877202034, 0.7140325903892517, 0.3982866406440735, 0.27981796860694885, 0.06708682328462601, 0.03129017725586891, 0.644761323928833, -0.8729275465011597, -0.4751477539539337, -0.9267414808273315, 0.624013364315033, -0.12109275162220001, -0.6998854875564575, 0.7147621512413025, 0.8855034112930298, 0.9560793042182922, -0.07261072099208832, 0.3415662944316864, -0.24133875966072083, 0.3936506509780884, -0.729744017124176, 0.7518551349639893, -1.01655113697052, 0.06315215677022934, -0.21044676005840302, -0.7896132469177246, -0.32910221815109253, 0.3000619113445282, -0.22439329326152802, 0.01842767745256424, 1.1323297023773193, 0.7278919816017151, 0.0229354128241539, -0.3075529932975769, -0.011339889839291573, 0.42641621828079224, 0.30219948291778564, 0.8318142294883728, 0.2159646898508072, -1.0275739431381226, 0.7572064995765686, -0.4199697971343994, 0.12012409418821335, 0.01669427938759327, -0.8675885200500488, -0.8370980620384216, -0.9581186175346375, -0.27029183506965637, -0.48350486159324646, -0.2106226682662964, 1.051844596862793, 0.4012773334980011, -1.0752966403961182, -0.3081713020801544, -0.018161552026867867, 0.19498826563358307, -0.2636645436286926, -0.3131716847419739, 0.9080068469047546, -0.16061024367809296, -1.1642776727676392, 0.07318004220724106, 0.11513686925172806, 0.18382689356803894, 0.0356922410428524, -0.0356731154024601, -0.8207416534423828, -0.1748078614473343, 0.31829679012298584, 0.10729210823774338, -0.9594357013702393, -0.24774198234081268, 0.23349955677986145, -0.30895373225212097, 0.2614648640155792, 0.11903460323810577, -0.3211205303668976, 0.30163541436195374, 0.7884189486503601, 0.5504556894302368, 0.5067644715309143, -0.15674689412117004, 0.47910502552986145, -0.8594802021980286, 0.5173832178115845, 0.34167060256004333, 0.6642308235168457, 0.3311774432659149, -0.16364137828350067, 0.944777250289917, 0.35949140787124634, -0.36328840255737305, -1.1887481212615967, -0.060859911143779755, -1.3392627239227295, -0.01892728917300701, 1.078675389289856, -0.1496327966451645, -0.38965895771980286, 0.18452656269073486, -0.2577801048755646, 0.600253701210022, -0.47208115458488464, 0.6953264474868774, 1.0517479181289673, 0.45010843873023987, 0.1424977332353592, -0.5115814805030823, 0.34134846925735474, 0.6994149684906006, -0.8330768942832947, -0.15360011160373688, 0.25431475043296814, 0.34109920263290405, 0.42723608016967773, 0.7263880968093872, -0.3799079656600952, 0.27998968958854675, -0.23331399261951447, 0.28925445675849915, -0.20403437316417694, 0.00737700005993247, -0.36919087171554565, 0.1297483742237091, -0.09312069416046143, -0.2801886200904846 ]
microsoft/Multilingual-MiniLM-L12-H384
microsoft
2022-08-10T07:27:42Z
7,570
46
transformers
[ "transformers", "pytorch", "tf", "jax", "bert", "text-classification", "multilingual", "en", "ar", "bg", "de", "el", "es", "fr", "hi", "ru", "sw", "th", "tr", "ur", "vi", "zh", "arxiv:2002.10957", "arxiv:1809.05053", "arxiv:1911.02116", "arxiv:1910.07475", "license:mit", "endpoints_compatible", "has_space", "region:us" ]
text-classification
2022-03-02T23:29:05Z
--- language: - multilingual - en - ar - bg - de - el - es - fr - hi - ru - sw - th - tr - ur - vi - zh thumbnail: https://huggingface.co/front/thumbnails/microsoft.png tags: - text-classification license: mit --- ## MiniLM: Small and Fast Pre-trained Models for Language Understanding and Generation MiniLM is a distilled model from the paper "[MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers](https://arxiv.org/abs/2002.10957)". Please find the information about preprocessing, training and full details of the MiniLM in the [original MiniLM repository](https://github.com/microsoft/unilm/blob/master/minilm/). Please note: This checkpoint uses `BertModel` with `XLMRobertaTokenizer` so `AutoTokenizer` won't work with this checkpoint! ### Multilingual Pretrained Model - Multilingual-MiniLMv1-L12-H384: 12-layer, 384-hidden, 12-heads, 21M Transformer parameters, 96M embedding parameters Multilingual MiniLM uses the same tokenizer as XLM-R. But the Transformer architecture of our model is the same as BERT. We provide the fine-tuning code on XNLI based on [huggingface/transformers](https://github.com/huggingface/transformers). Please replace `run_xnli.py` in transformers with [ours](https://github.com/microsoft/unilm/blob/master/minilm/examples/run_xnli.py) to fine-tune multilingual MiniLM. We evaluate the multilingual MiniLM on cross-lingual natural language inference benchmark (XNLI) and cross-lingual question answering benchmark (MLQA). #### Cross-Lingual Natural Language Inference - [XNLI](https://arxiv.org/abs/1809.05053) We evaluate our model on cross-lingual transfer from English to other languages. Following [Conneau et al. (2019)](https://arxiv.org/abs/1911.02116), we select the best single model on the joint dev set of all the languages. | Model | #Layers | #Hidden | #Transformer Parameters | Average | en | fr | es | de | el | bg | ru | tr | ar | vi | th | zh | hi | sw | ur | |---------------------------------------------------------------------------------------------|---------|---------|-------------------------|---------|------|------|------|------|------|------|------|------|------|------|------|------|------|------|------| | [mBERT](https://github.com/google-research/bert) | 12 | 768 | 85M | 66.3 | 82.1 | 73.8 | 74.3 | 71.1 | 66.4 | 68.9 | 69.0 | 61.6 | 64.9 | 69.5 | 55.8 | 69.3 | 60.0 | 50.4 | 58.0 | | [XLM-100](https://github.com/facebookresearch/XLM#pretrained-cross-lingual-language-models) | 16 | 1280 | 315M | 70.7 | 83.2 | 76.7 | 77.7 | 74.0 | 72.7 | 74.1 | 72.7 | 68.7 | 68.6 | 72.9 | 68.9 | 72.5 | 65.6 | 58.2 | 62.4 | | [XLM-R Base](https://arxiv.org/abs/1911.02116) | 12 | 768 | 85M | 74.5 | 84.6 | 78.4 | 78.9 | 76.8 | 75.9 | 77.3 | 75.4 | 73.2 | 71.5 | 75.4 | 72.5 | 74.9 | 71.1 | 65.2 | 66.5 | | **mMiniLM-L12xH384** | 12 | 384 | 21M | 71.1 | 81.5 | 74.8 | 75.7 | 72.9 | 73.0 | 74.5 | 71.3 | 69.7 | 68.8 | 72.1 | 67.8 | 70.0 | 66.2 | 63.3 | 64.2 | This example code fine-tunes **12**-layer multilingual MiniLM on XNLI. ```bash # run fine-tuning on XNLI DATA_DIR=/{path_of_data}/ OUTPUT_DIR=/{path_of_fine-tuned_model}/ MODEL_PATH=/{path_of_pre-trained_model}/ python ./examples/run_xnli.py --model_type minilm \ --output_dir ${OUTPUT_DIR} --data_dir ${DATA_DIR} \ --model_name_or_path microsoft/Multilingual-MiniLM-L12-H384 \ --tokenizer_name xlm-roberta-base \ --config_name ${MODEL_PATH}/multilingual-minilm-l12-h384-config.json \ --do_train \ --do_eval \ --max_seq_length 128 \ --per_gpu_train_batch_size 128 \ --learning_rate 5e-5 \ --num_train_epochs 5 \ --per_gpu_eval_batch_size 32 \ --weight_decay 0.001 \ --warmup_steps 500 \ --save_steps 1500 \ --logging_steps 1500 \ --eval_all_checkpoints \ --language en \ --fp16 \ --fp16_opt_level O2 ``` #### Cross-Lingual Question Answering - [MLQA](https://arxiv.org/abs/1910.07475) Following [Lewis et al. (2019b)](https://arxiv.org/abs/1910.07475), we adopt SQuAD 1.1 as training data and use MLQA English development data for early stopping. | Model F1 Score | #Layers | #Hidden | #Transformer Parameters | Average | en | es | de | ar | hi | vi | zh | |--------------------------------------------------------------------------------------------|---------|---------|-------------------------|---------|------|------|------|------|------|------|------| | [mBERT](https://github.com/google-research/bert) | 12 | 768 | 85M | 57.7 | 77.7 | 64.3 | 57.9 | 45.7 | 43.8 | 57.1 | 57.5 | | [XLM-15](https://github.com/facebookresearch/XLM#pretrained-cross-lingual-language-models) | 12 | 1024 | 151M | 61.6 | 74.9 | 68.0 | 62.2 | 54.8 | 48.8 | 61.4 | 61.1 | | [XLM-R Base](https://arxiv.org/abs/1911.02116) (Reported) | 12 | 768 | 85M | 62.9 | 77.8 | 67.2 | 60.8 | 53.0 | 57.9 | 63.1 | 60.2 | | [XLM-R Base](https://arxiv.org/abs/1911.02116) (Our fine-tuned) | 12 | 768 | 85M | 64.9 | 80.3 | 67.0 | 62.7 | 55.0 | 60.4 | 66.5 | 62.3 | | **mMiniLM-L12xH384** | 12 | 384 | 21M | 63.2 | 79.4 | 66.1 | 61.2 | 54.9 | 58.5 | 63.1 | 59.0 | ### Citation If you find MiniLM useful in your research, please cite the following paper: ``` latex @misc{wang2020minilm, title={MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers}, author={Wenhui Wang and Furu Wei and Li Dong and Hangbo Bao and Nan Yang and Ming Zhou}, year={2020}, eprint={2002.10957}, archivePrefix={arXiv}, primaryClass={cs.CL} } ```
[ -0.6991013288497925, -0.5223727226257324, 0.1856987178325653, 0.13159260153770447, 0.0017301591578871012, 0.029307495802640915, -0.2623266279697418, -0.4102013409137726, 0.11227213591337204, 0.057531241327524185, -0.8191846609115601, -0.4328920245170593, -0.5379320979118347, 0.09638376533985138, -0.10115466266870499, 1.0768898725509644, 0.04156271740794182, 0.11691299080848694, -0.0071371919475495815, -0.2994636595249176, -0.3121126890182495, -0.6095478534698486, -0.9453380703926086, -0.32311996817588806, 0.5573224425315857, 0.26631292700767517, 0.6487293243408203, 0.5557571649551392, 0.23854437470436096, 0.2936667799949646, -0.1476246565580368, 0.24974417686462402, -0.35121336579322815, -0.4746381938457489, 0.31184840202331543, -0.3839220404624939, -0.4995052218437195, -0.07988941669464111, 0.7260192036628723, 0.6022247672080994, -0.0071716587990522385, 0.30266475677490234, 0.36046913266181946, 0.79596346616745, -0.20015640556812286, 0.037413083016872406, -0.5730743408203125, 0.05805008113384247, -0.14758719503879547, 0.06114889681339264, -0.21547995507717133, 0.035756830126047134, 0.03411885350942612, -0.5397435426712036, 0.273232102394104, 0.22805754840373993, 1.2610024213790894, 0.4032895267009735, -0.27205562591552734, -0.24428696930408478, -0.4106046259403229, 1.064826250076294, -0.9792701601982117, 0.5789591670036316, 0.3959212005138397, 0.09255431592464447, 0.06359224021434784, -0.6179402470588684, -0.6322323083877563, -0.13135471940040588, -0.7001188397407532, 0.19679991900920868, -0.46540823578834534, -0.15776491165161133, 0.5422807335853577, 0.19258059561252594, -1.0456756353378296, 0.29447150230407715, -0.3873263895511627, -0.3766866624355316, 0.8084759712219238, 0.17185018956661224, 0.3014734089374542, -0.393715500831604, -0.43894368410110474, -0.21480165421962738, -0.6145381331443787, 0.5351089835166931, 0.31439128518104553, 0.47272247076034546, -0.4850083589553833, 0.3405943512916565, -0.20149542391300201, 0.659601092338562, 0.04825202375650406, -0.17493706941604614, 0.5906843543052673, -0.8408951163291931, -0.2680358588695526, 0.07350035756826401, 1.180051326751709, 0.21753090620040894, 0.006256717722862959, 0.13141211867332458, -0.27046871185302734, -0.10963952541351318, -0.2522102892398834, -0.9142583012580872, -0.33051934838294983, 0.28735747933387756, -0.49905887246131897, -0.12816961109638214, -0.2236015498638153, -0.7778232097625732, 0.28288230299949646, -0.25893232226371765, 0.4771876633167267, -0.6227865219116211, -0.14090220630168915, -0.25515106320381165, 0.17099180817604065, 0.33142155408859253, 0.03145764768123627, -0.9079745411872864, 0.10817627608776093, 0.3547627627849579, 0.8746048808097839, -0.1156965047121048, -0.5288341641426086, -0.30707278847694397, -0.1518584042787552, -0.3128249943256378, 0.5124388337135315, -0.10505928844213486, -0.2403547465801239, -0.16854991018772125, 0.23760436475276947, -0.3870142996311188, -0.436626136302948, 0.4036828875541687, -0.37500736117362976, 0.48707345128059387, -0.3401573896408081, -0.4454217851161957, -0.0023426292464137077, 0.28313446044921875, -0.7464158535003662, 1.5619947910308838, 0.012077354826033115, -0.8296520709991455, 0.49427899718284607, -0.7292320728302002, -0.3735347092151642, -0.30878207087516785, -0.19394418597221375, -0.6621635556221008, -0.23595024645328522, 0.5158435702323914, 0.18128985166549683, -0.19878286123275757, 0.12539778649806976, -0.026746122166514397, -0.22148756682872772, -0.023085391148924828, -0.3661081790924072, 1.3138787746429443, 0.30631160736083984, -0.7085033655166626, 0.15274563431739807, -0.9576523900032043, 0.3563788831233978, 0.25356003642082214, -0.27073729038238525, -0.2697426676750183, -0.2981131672859192, -0.11465773731470108, 0.6247454881668091, 0.3291749656200409, -0.3745668828487396, 0.05539553239941597, -0.36159539222717285, 0.3941272795200348, 0.6188606023788452, -0.2601751983165741, 0.395693838596344, -0.4184327721595764, 0.4613545835018158, 0.17447401583194733, 0.26078805327415466, -0.15502308309078217, -0.6177512407302856, -1.0999455451965332, -0.39140015840530396, 0.4785751700401306, 0.6882531046867371, -0.883794903755188, 0.5386554598808289, -0.4406726360321045, -0.6037935614585876, -0.8476132750511169, 0.384977251291275, 0.6978210806846619, 0.560565173625946, 0.5986683368682861, 0.12522472441196442, -0.8104978203773499, -1.0818616151809692, -0.15957987308502197, -0.21733759343624115, 0.18109793961048126, 0.26480695605278015, 0.6819288730621338, -0.36862173676490784, 1.030937671661377, -0.32720324397087097, -0.44911229610443115, -0.5136326551437378, 0.19792796671390533, 0.45616161823272705, 0.7319453358650208, 0.8730763792991638, -0.6926319599151611, -1.0069020986557007, 0.034597788006067276, -0.7591947913169861, -0.010998416692018509, -0.060193199664354324, -0.2520047426223755, 0.49732935428619385, 0.5590278506278992, -0.7061933875083923, 0.4259844124317169, 0.5977755784988403, -0.2373097985982895, 0.5288646817207336, -0.2300129383802414, -0.1604676991701126, -0.9957163333892822, 0.240934818983078, -0.18506135046482086, -0.19170989096164703, -0.7265076041221619, -0.1295333206653595, 0.20965427160263062, 0.00834998581558466, -0.6166568994522095, 0.8540506958961487, -0.6486973762512207, 0.19207647442817688, 0.05839460715651512, 0.09662745147943497, 0.10337769985198975, 0.8185164928436279, 0.06864962726831436, 0.8802270889282227, 0.5527362823486328, -0.5590166449546814, -0.051296643912792206, 0.199868842959404, -0.5177328586578369, 0.17605039477348328, -0.7313458919525146, 0.0936962217092514, 0.08243710547685623, 0.09021802246570587, -1.0787593126296997, 0.1994435042142868, 0.16308516263961792, -0.45599424839019775, 0.5219904184341431, -0.1999650001525879, -0.5164958834648132, -0.5615681409835815, -0.3836687505245209, 0.3549858331680298, 0.7081788182258606, -0.442017138004303, 0.42622584104537964, 0.1495775282382965, -0.07520493119955063, -0.7792243361473083, -0.9697312116622925, -0.21675527095794678, -0.17864717543125153, -0.772850751876831, 0.4001634120941162, -0.27055197954177856, -0.03354673460125923, 0.06147504225373268, 0.07216614484786987, 0.09046913683414459, -0.14465443789958954, -0.047141291201114655, 0.3994912803173065, -0.3923833966255188, -0.04414421319961548, 0.08475692570209503, -0.19490963220596313, -0.1341824233531952, 0.010490337386727333, 0.6735914349555969, -0.24812684953212738, -0.1644212305545807, -0.32279276847839355, 0.40628671646118164, 0.5072470903396606, -0.24901986122131348, 0.8830157518386841, 0.9809637069702148, -0.25627467036247253, -0.13257203996181488, -0.49125632643699646, -0.2702605426311493, -0.49899619817733765, 0.4635477364063263, -0.540058434009552, -0.8658105731010437, 0.8000306487083435, 0.34452468156814575, 0.19875392317771912, 0.8280298113822937, 0.5507116317749023, -0.26757916808128357, 1.340375542640686, 0.5960802435874939, -0.12666058540344238, 0.4149894714355469, -0.8205917477607727, 0.16488760709762573, -0.9077976942062378, -0.15266001224517822, -0.5315090417861938, -0.40318313241004944, -0.7925423979759216, -0.321173757314682, 0.3548882007598877, 0.1000487357378006, -0.2059033364057541, 0.3788301348686218, -0.42292550206184387, 0.1698489934206009, 0.7131205797195435, -0.08543738722801208, 0.07980737835168839, 0.10949105769395828, -0.6812903881072998, -0.2741527259349823, -1.1821868419647217, -0.40666380524635315, 1.0484246015548706, 0.21360279619693756, 0.6418904066085815, 0.09543392807245255, 0.826347291469574, 0.14891201257705688, 0.21117791533470154, -0.6185435652732849, 0.5543118119239807, -0.2754269540309906, -0.960735023021698, -0.4898548424243927, -0.6368941068649292, -1.1923552751541138, 0.4737301766872406, -0.038243476301431656, -0.6810126900672913, 0.3474169671535492, 0.32033440470695496, -0.6634151339530945, 0.4023802876472473, -0.8960291147232056, 1.259865641593933, -0.589138388633728, -0.40906932950019836, 0.09754689782857895, -0.7419036626815796, 0.3337478041648865, -0.19845055043697357, 0.566188633441925, -0.2063610553741455, 0.0037241780664771795, 0.9001622200012207, -0.6472558975219727, 0.8640124201774597, -0.25494906306266785, 0.01150852907449007, 0.2663922607898712, -0.21835194528102875, 0.6660556197166443, -0.1546369045972824, -0.13507966697216034, 0.38659974932670593, 0.23301972448825836, -0.541405975818634, -0.5438499450683594, 0.8137085437774658, -1.0379689931869507, -0.6420863270759583, -0.5951365232467651, -0.5504927635192871, -0.07839616388082504, 0.4489222466945648, 0.5995702147483826, 0.32442665100097656, 0.02523772045969963, 0.15094353258609772, 0.6271279454231262, -0.28656819462776184, 0.766710638999939, 0.6448365449905396, -0.4125511050224304, -0.4114581048488617, 1.0207092761993408, 0.3807258903980255, 0.3179919421672821, 0.33710676431655884, 0.2526112496852875, -0.43397361040115356, -0.5698790550231934, -0.7038291692733765, 0.3186822235584259, -0.6923797726631165, -0.17497453093528748, -0.7419360876083374, -0.4224928021430969, -0.5581483244895935, 0.10961688309907913, -0.45435184240341187, -0.2949081361293793, -0.3272175192832947, 0.014246816746890545, 0.16968214511871338, 0.4808037579059601, -0.1870853751897812, 0.08072105795145035, -0.869659423828125, 0.19845762848854065, 0.35197651386260986, -0.028920726850628853, 0.04161069914698601, -0.8206864595413208, -0.6481086015701294, 0.31919869780540466, -0.16939620673656464, -0.5487872958183289, 0.6983640193939209, 0.36984336376190186, 0.9581990838050842, 0.1979808360338211, 0.13489355146884918, 1.0389351844787598, -0.6136432886123657, 0.900960385799408, 0.2023569941520691, -0.9464212656021118, 0.652827799320221, 0.0644242912530899, 0.4902190864086151, 0.5771552920341492, 0.6525922417640686, -0.38277339935302734, -0.19773706793785095, -0.6669173240661621, -0.9660640358924866, 1.0210601091384888, 0.33369967341423035, -0.04516316577792168, 0.18440622091293335, -0.0449855662882328, 0.06453953683376312, 0.12046199291944504, -1.0228073596954346, -0.7172211408615112, -0.1523275077342987, -0.20434625446796417, -0.32044291496276855, -0.29851359128952026, -0.1920499950647354, -0.7136635780334473, 0.8606619834899902, -0.18812315165996552, 0.414753794670105, 0.3323935866355896, -0.4160800874233246, -0.0000023333616354648257, 0.11583713442087173, 0.8087456226348877, 0.6351776719093323, -0.26326513290405273, 0.17733989655971527, 0.5599468946456909, -0.3887332081794739, 0.2354392558336258, 0.26421308517456055, -0.44288671016693115, 0.2867621183395386, 0.5288854241371155, 1.0881097316741943, 0.19723698496818542, -0.509495735168457, 0.36929020285606384, -0.1779019832611084, -0.2492418736219406, -0.42993512749671936, -0.06856559962034225, -0.07940048724412918, 0.15642020106315613, 0.5188566446304321, 0.032122064381837845, -0.10628791153430939, -0.579450786113739, 0.2146671563386917, 0.6008328199386597, -0.505626916885376, -0.4216969311237335, 0.6546257734298706, -0.022869938984513283, -0.12040647119283676, 0.4933831989765167, -0.31725800037384033, -0.7148119807243347, 0.6335195899009705, 0.40555328130722046, 0.8362922668457031, -0.22040477395057678, -0.05262897536158562, 0.7673014402389526, 0.7889984250068665, 0.24297651648521423, 0.3971926271915436, 0.06296072900295258, -0.7288302183151245, -0.3655824065208435, -0.802490234375, 0.06878471374511719, 0.23219764232635498, -0.6591283679008484, 0.3058064579963684, -0.12137585133314133, -0.32049262523651123, 0.08882145583629608, 0.39243778586387634, -0.9484601020812988, 0.3253023624420166, 0.23477612435817719, 1.0208368301391602, -0.7755981087684631, 1.3561184406280518, 0.6696776151657104, -0.4883071780204773, -1.0240012407302856, -0.20623785257339478, -0.06215027719736099, -0.9167048931121826, 0.8427939414978027, 0.14828944206237793, -0.055011581629514694, 0.1278241127729416, -0.3026834726333618, -1.231992244720459, 1.2566689252853394, 0.2707517445087433, -0.7487286329269409, -0.1419244408607483, 0.33302706480026245, 0.5699688196182251, -0.2622632682323456, 0.40773805975914, 0.6024196743965149, 0.5726927518844604, -0.14527936279773712, -1.1099824905395508, 0.17030908167362213, -0.5444133281707764, 0.09691283106803894, -0.00669923285022378, -0.9474025964736938, 1.1168169975280762, -0.24748116731643677, -0.15453237295150757, -0.0239582322537899, 0.5996360182762146, 0.3974665403366089, 0.2923814654350281, 0.6409671306610107, 0.7888216376304626, 0.6823933720588684, -0.24938060343265533, 1.1725798845291138, -0.6367500424385071, 0.6036962270736694, 1.1436431407928467, 0.1147012934088707, 0.7927905321121216, 0.5365843772888184, -0.49405166506767273, 0.6304857730865479, 0.8281127214431763, 0.05890975520014763, 0.6187119483947754, -0.19280315935611725, 0.13904200494289398, -0.16849297285079956, 0.2234099805355072, -0.6909814476966858, 0.16677208244800568, 0.1274581253528595, -0.451921284198761, -0.020938539877533913, 0.056008230894804, 0.35853809118270874, -0.48498213291168213, -0.2598826289176941, 0.6588034629821777, 0.1110013797879219, -0.6825070977210999, 1.1557872295379639, -0.19501452147960663, 0.8999220132827759, -0.9277423024177551, 0.3436472415924072, -0.38853341341018677, 0.15790891647338867, -0.38016802072525024, -0.6350113153457642, 0.3299023509025574, -0.018188631162047386, -0.2649756669998169, -0.3276507258415222, 0.6079497337341309, -0.6462883949279785, -0.7477202415466309, 0.6283973455429077, 0.7017015218734741, 0.054915014654397964, 0.19288453459739685, -1.2067185640335083, 0.14631110429763794, 0.3339669406414032, -0.5740822553634644, 0.5520563125610352, 0.5081942677497864, 0.0911986231803894, 0.5257222652435303, 0.911173403263092, 0.004606262780725956, 0.5466879606246948, 0.03871352598071098, 0.9766995906829834, -0.686219334602356, -0.4751100242137909, -1.006831407546997, 0.7704335451126099, -0.0895528793334961, -0.3794814348220825, 1.2123960256576538, 0.8018835783004761, 1.0266786813735962, -0.036788370460271835, 0.7789832949638367, -0.20787912607192993, 0.5300095081329346, -0.5287864208221436, 0.9180778861045837, -1.040945053100586, 0.14493057131767273, -0.2132939249277115, -0.8115473389625549, -0.09728239476680756, 0.6068452596664429, -0.3896694481372833, 0.30867651104927063, 0.7515784502029419, 0.8970581293106079, -0.004677894990891218, -0.45552849769592285, 0.42197030782699585, 0.36222049593925476, 0.28717634081840515, 0.6384084224700928, 0.6850475668907166, -0.7051670551300049, 0.9933500289916992, -0.819560706615448, -0.11861706525087357, -0.16243834793567657, -0.7143412828445435, -0.9443614482879639, -0.6023539304733276, -0.44145718216896057, -0.21273644268512726, -0.17788633704185486, 0.9253418445587158, 0.9803929924964905, -1.0710926055908203, -0.39742904901504517, 0.10911709815263748, 0.14388294517993927, -0.4356989860534668, -0.251496285200119, 0.5756610035896301, -0.5102925896644592, -0.9681403040885925, 0.35428690910339355, -0.010067210532724857, 0.22841662168502808, -0.4169655740261078, -0.4057980477809906, -0.5089258551597595, 0.03119051828980446, 0.6439917683601379, 0.2988055348396301, -0.7889243960380554, -0.06611984968185425, 0.19242951273918152, -0.4004616439342499, 0.2014245241880417, 0.46789291501045227, -0.596076250076294, 0.4355715811252594, 0.42266666889190674, 0.29944881796836853, 0.7328790426254272, -0.35756441950798035, 0.17371755838394165, -0.8718159198760986, 0.4339967966079712, 0.10682420432567596, 0.4915132522583008, 0.3104688227176666, -0.23242487013339996, 0.5522162914276123, 0.23572777211666107, -0.4680403172969818, -1.1036990880966187, -0.15101419389247894, -0.9120610356330872, -0.1787412166595459, 1.07567298412323, -0.35027092695236206, -0.39728376269340515, -0.10250238329172134, -0.1762746423482895, 0.2600122094154358, -0.34649503231048584, 0.4868050813674927, 0.6921641230583191, -0.22784656286239624, -0.4344336986541748, -0.596979022026062, 0.7477048635482788, 0.6486961841583252, -0.7403863668441772, -0.2194177657365799, 0.0476904921233654, 0.3006857633590698, 0.39698439836502075, 0.6088621020317078, 0.08411668986082077, 0.044588617980480194, -0.02069076895713806, 0.17565199732780457, -0.09314371645450592, -0.0788583755493164, -0.25073468685150146, -0.1411500871181488, -0.19600719213485718, -0.15167242288589478 ]
google/vivit-b-16x2-kinetics400
google
2023-08-03T10:01:22Z
7,563
7
transformers
[ "transformers", "pytorch", "vivit", "vision", "video-classification", "arxiv:2103.15691", "license:mit", "endpoints_compatible", "region:us" ]
video-classification
2022-11-23T21:21:55Z
--- license: "mit" tags: - vision - video-classification --- # ViViT (Video Vision Transformer) ViViT model as introduced in the paper [ViViT: A Video Vision Transformer](https://arxiv.org/abs/2103.15691) by Arnab et al. and first released in [this repository](https://github.com/google-research/scenic/tree/main/scenic/projects/vivit). Disclaimer: The team releasing ViViT did not write a model card for this model so this model card has been written by the Hugging Face team. ## Model description ViViT is an extension of the [Vision Transformer (ViT)](https://huggingface.co/docs/transformers/v4.27.0/model_doc/vit) to video. We refer to the paper for details. ## Intended uses & limitations The model is mostly meant to intended to be fine-tuned on a downstream task, like video classification. See the [model hub](https://huggingface.co/models?filter=vivit) to look for fine-tuned versions on a task that interests you. ### How to use For code examples, we refer to the [documentation](https://huggingface.co/transformers/main/model_doc/vivit). ### BibTeX entry and citation info ```bibtex @misc{arnab2021vivit, title={ViViT: A Video Vision Transformer}, author={Anurag Arnab and Mostafa Dehghani and Georg Heigold and Chen Sun and Mario Lučić and Cordelia Schmid}, year={2021}, eprint={2103.15691}, archivePrefix={arXiv}, primaryClass={cs.CV} } ```
[ -0.5654935836791992, -0.5894070863723755, 0.1949462741613388, 0.060899145901203156, -0.5526162981987, -0.3038046658039093, 0.15587720274925232, -0.25192201137542725, 0.3565681576728821, 0.38919490575790405, -0.8003064393997192, -0.25581806898117065, -0.6703723073005676, -0.41394850611686707, -0.675972044467926, 1.113425374031067, -0.13596726953983307, -0.018591225147247314, -0.31861937046051025, -0.30260169506073, -0.4333512485027313, -0.2514781355857849, -0.05500037968158722, -0.20595143735408783, 0.181693896651268, 0.005092135630548, 0.6611718535423279, 0.5316964983940125, 0.9821314215660095, 0.29777243733406067, -0.28807565569877625, -0.10596521943807602, -0.26456892490386963, -0.35518214106559753, -0.1994633674621582, -0.3086647391319275, -0.6837701201438904, -0.10697731375694275, 0.6415106058120728, 0.07141092419624329, -0.05787932872772217, 0.6517205834388733, 0.10606776922941208, 0.5075430274009705, -0.5076696872711182, 0.33284521102905273, -0.31733468174934387, 0.11893424391746521, -0.17618584632873535, -0.13437531888484955, -0.1385902315378189, -0.20322036743164062, 0.3657973110675812, -0.2523711323738098, 0.4237983524799347, -0.2562353014945984, 1.2864973545074463, 0.6415828466415405, -0.2122989445924759, 0.5750837922096252, -0.8927794098854065, 0.28758955001831055, -0.3778689503669739, 0.5539215803146362, -0.280460000038147, 0.6968819499015808, 0.35062599182128906, -0.7948771119117737, -0.569478452205658, -0.04174698144197464, 0.05018426477909088, 0.30550071597099304, -0.3470277786254883, 0.20469731092453003, 0.6141977906227112, 0.5662909746170044, -0.6698188781738281, -0.4249289631843567, -0.6440725922584534, -0.04429056867957115, 0.40812909603118896, -0.02538266032934189, 0.3390754461288452, -0.5672124624252319, -0.9189052581787109, -0.3762417435646057, -0.36506178975105286, 0.1567966789007187, -0.05752341449260712, -0.0745847225189209, -0.6240740418434143, 0.8054649829864502, -0.011559105478227139, 0.5179698467254639, 0.06964737176895142, -0.0007262298604473472, 0.39475953578948975, -0.345298707485199, -0.5548463463783264, -0.4353441894054413, 0.6893479228019714, 0.7024071216583252, 0.22860629856586456, 0.24356095492839813, -0.19919729232788086, 0.11633500456809998, 0.6227633953094482, -0.9170968532562256, -0.38359591364860535, -0.3563709557056427, -0.5150792002677917, -0.38313183188438416, 0.3076373338699341, -0.741949200630188, -0.0764758437871933, -0.22037893533706665, 0.5810258388519287, -0.19740310311317444, -0.5729482769966125, -0.31828996539115906, -0.15603695809841156, 0.7277389168739319, 0.41295576095581055, -0.7166184186935425, 0.21412219107151031, 0.3994523584842682, 0.8809970021247864, -0.1397535502910614, -0.22022144496440887, -0.3878522217273712, -0.175082266330719, 0.10919130593538284, 0.7922627329826355, -0.17088013887405396, -0.40100300312042236, 0.26775482296943665, 0.41524192690849304, -0.05024094134569168, -0.23102816939353943, 0.5664581060409546, -0.32603713870048523, 0.04443102702498436, -0.44748952984809875, -0.11549589037895203, -0.47623664140701294, 0.20963528752326965, -0.5523059368133545, 0.8346179127693176, 0.15402793884277344, -0.7715452909469604, 0.4852432608604431, -0.7167239785194397, 0.03981534764170647, 0.3619537949562073, -0.16159741580486298, -0.6700820922851562, 0.11506971716880798, -0.05466149002313614, 0.23740559816360474, -0.14424392580986023, 0.2697526216506958, -0.26333725452423096, -0.12052582204341888, -0.11109573394060135, -0.42848703265190125, 0.7304814457893372, 0.044983312487602234, -0.27149614691734314, 0.37538576126098633, -0.3900342583656311, -0.28971555829048157, 0.16247043013572693, 0.0017572750803083181, -0.021698253229260445, -0.07008595019578934, 0.41969531774520874, 0.20315173268318176, 0.22399748861789703, -0.5171190500259399, 0.4919816851615906, -0.025478163734078407, 0.3436845541000366, 0.6687116622924805, -0.1053103506565094, 0.34206822514533997, -0.2808119058609009, 0.7968422770500183, -0.2395872324705124, 0.8068411946296692, -0.20050615072250366, -0.8409821391105652, -0.8700336217880249, -0.0180281363427639, 0.09435784816741943, 0.6951560974121094, -0.8745630979537964, 0.00041094765765592456, -0.5016660690307617, -0.6885270476341248, -0.37723371386528015, -0.03256071358919144, 0.4471089243888855, 0.35406768321990967, 0.4762488901615143, -0.5177274942398071, -0.515423059463501, -1.0099146366119385, -0.24322128295898438, -0.5307810306549072, 0.3224894106388092, 0.37956729531288147, 0.6093190312385559, -0.18075858056545258, 0.9324538707733154, -0.5529253482818604, -0.21254967153072357, -0.04659657180309296, -0.11267895996570587, 0.08581820875406265, 0.3881934881210327, 0.8284705281257629, -1.191082239151001, -0.4165653884410858, -0.17280340194702148, -0.7790586948394775, 0.005543045233935118, 0.05082936957478523, -0.11827988177537918, -0.14316275715827942, 0.2632446587085724, -0.6996272206306458, 0.9882938861846924, 0.5652274489402771, -0.31137827038764954, 0.5955113172531128, 0.15000654757022858, 0.06945642828941345, -1.1415369510650635, 0.029575003311038017, 0.30524346232414246, -0.48545849323272705, -0.54288250207901, 0.29454997181892395, 0.055168524384498596, -0.05786078795790672, -0.7574450969696045, 0.5274389386177063, -0.23512353003025055, 0.048921842128038406, -0.18968509137630463, -0.30067965388298035, -0.24029293656349182, 0.62814861536026, 0.1011638268828392, 0.485731303691864, 0.5706026554107666, -0.4349074363708496, 0.6570523381233215, 0.6875410079956055, 0.02223266288638115, 0.6608620882034302, -0.8054137825965881, -0.26431533694267273, -0.13165947794914246, -0.10942195355892181, -0.7333503365516663, -0.31211546063423157, 0.45804452896118164, -0.5566520094871521, 0.312479168176651, -0.5992119312286377, -0.2499954104423523, -0.6067169308662415, -0.17038099467754364, 0.518608033657074, 0.9633907675743103, -0.6828324794769287, 0.7006781697273254, 0.4002951979637146, 0.05638522282242775, -0.28821080923080444, -0.772871732711792, -0.1452408730983734, -0.4056348204612732, -0.8134583234786987, 0.5338618755340576, -0.38399556279182434, -0.024528874084353447, 0.19885334372520447, -0.2677654027938843, -0.26818597316741943, -0.39996930956840515, 0.5052310824394226, 0.46052125096321106, -0.15406979620456696, -0.010323584079742432, -0.18328149616718292, -0.23744718730449677, 0.13317972421646118, -0.006836515385657549, 0.06468931585550308, -0.45098641514778137, -0.4171268045902252, -0.45758894085884094, 0.20356622338294983, 0.5792080163955688, -0.4361305236816406, 0.3553164601325989, 0.9299988150596619, -0.4555647075176239, 0.06729771196842194, -0.7108947038650513, -0.07848790287971497, -0.49794262647628784, 0.10840936750173569, -0.4158814549446106, -0.7628840804100037, 0.543980062007904, 0.16301056742668152, -0.05550146847963333, 0.6439026594161987, 0.6537236571311951, 0.1394949108362198, 0.712284505367279, 1.0141433477401733, 0.20382827520370483, 1.0901814699172974, -0.46856778860092163, 0.012311715632677078, -0.8604706525802612, -0.3384639322757721, -0.018062474206089973, -0.031190114095807076, -0.7314524054527283, -0.47414982318878174, 0.5166298151016235, -0.07788436859846115, -0.11944998055696487, 0.870894193649292, -0.9311244487762451, 0.23821625113487244, 0.5921661853790283, 0.08039998263120651, 0.19039469957351685, 0.09968449175357819, -0.004231652244925499, -0.17869271337985992, -0.4704419672489166, -0.309705525636673, 0.5706247687339783, 0.38594305515289307, 0.7040980458259583, 0.27029162645339966, 0.42135393619537354, 0.06734195351600647, 0.12593922019004822, -0.6851203441619873, 0.5887662172317505, -0.052402377128601074, -0.7283195853233337, 0.03983927145600319, -0.024465056136250496, -0.5430149435997009, 0.10643180459737778, -0.21921023726463318, -0.7758172154426575, 0.42967623472213745, 0.39746803045272827, -0.29205670952796936, 0.4928877055644989, -0.6500908732414246, 1.0501242876052856, -0.12051644921302795, -0.3647768199443817, 0.08083224296569824, -0.5939575433731079, 0.43453121185302734, 0.23125983774662018, -0.13081921637058258, 0.1638028919696808, 0.4201256036758423, 0.6629734039306641, -0.7049210667610168, 0.8118388652801514, -0.33742135763168335, 0.29543524980545044, 0.7326900959014893, -0.06141766533255577, 0.39548397064208984, 0.24963977932929993, 0.4685822129249573, 0.335030198097229, 0.07102921605110168, -0.2782202363014221, -0.47729477286338806, 0.4902428984642029, -0.4911268651485443, -0.6587329506874084, -0.5332142114639282, -0.23563669621944427, 0.4083974063396454, 0.35224449634552, 0.5112667679786682, 0.3637993037700653, -0.327205628156662, 0.19443486630916595, 0.6175737977027893, -0.11820803582668304, 0.43299800157546997, 0.26314833760261536, -0.35931000113487244, -0.3128528892993927, 0.9376357197761536, 0.114943727850914, 0.3605702221393585, 0.4422523081302643, -0.02057463303208351, 0.008416736498475075, -0.46849486231803894, -0.5642872452735901, 0.1837502270936966, -0.4631930887699127, -0.24791695177555084, -0.450891375541687, -0.6324459314346313, -0.4212346374988556, 0.008639106526970863, -0.5576210021972656, -0.11913879960775375, -0.13153976202011108, -0.19503864645957947, 0.7446593046188354, 0.6123650670051575, -0.11190544068813324, 0.44000115990638733, -0.7206604480743408, 0.4585806727409363, 0.640431821346283, 0.4956516623497009, -0.44297388195991516, -0.4911969006061554, -0.17076052725315094, -0.030135951936244965, -0.6621671915054321, -0.7841224670410156, 0.5421595573425293, 0.03470737487077713, 0.5213905572891235, 0.36846524477005005, -0.30936434864997864, 0.759520947933197, -0.4531323313713074, 1.0456902980804443, 0.3300538659095764, -0.7746912240982056, 0.5941879153251648, -0.4336753189563751, 0.28414636850357056, 0.30888301134109497, 0.016052542254328728, -0.2957482635974884, 0.2095724642276764, -0.8418540954589844, -0.8160791993141174, 0.413478821516037, 0.3775772750377655, 0.2185058295726776, 0.3756188750267029, 0.24487397074699402, -0.06346222758293152, 0.20769551396369934, -0.919363260269165, -0.2610010504722595, -0.6919887065887451, 0.21358808875083923, 0.035029903054237366, -0.33909064531326294, 0.040974296629428864, -0.5907539129257202, 0.5247032642364502, -0.07869928330183029, 0.5916451811790466, 0.4427555799484253, -0.17554600536823273, -0.22184637188911438, -0.1393841952085495, 0.38428419828414917, 0.29436060786247253, -0.3535933792591095, -0.22464510798454285, 0.17155535519123077, -0.6483777165412903, -0.3015318214893341, 0.2527342140674591, -0.3331332504749298, 0.22575688362121582, 0.2707652151584625, 1.0922698974609375, 0.030128678306937218, -0.30450835824012756, 0.9778423309326172, -0.03555756062269211, -0.3847973048686981, -0.8129342794418335, 0.17112864553928375, -0.025996772572398186, 0.6243385076522827, 0.0003132745623588562, 0.5427960753440857, 0.42806845903396606, -0.18690994381904602, 0.1600964218378067, 0.47039568424224854, -0.8110119700431824, -0.5907919406890869, 1.08397376537323, 0.18976476788520813, -0.5275976657867432, 0.41717755794525146, -0.2266656756401062, -0.47467657923698425, 0.43604424595832825, -0.009951690211892128, 1.198716640472412, -0.31164461374282837, 0.25001218914985657, 0.3964160680770874, 0.49087926745414734, -0.08470048010349274, 0.496221661567688, -0.24672628939151764, -0.46846213936805725, -0.428762286901474, -0.5923742651939392, -0.22011099755764008, 0.044780995696783066, -0.9494968056678772, 0.6532617807388306, -0.3196102976799011, -0.36620789766311646, 0.15192583203315735, -0.26996296644210815, -1.0297682285308838, 0.2545839548110962, 0.3866101801395416, 1.1076130867004395, -0.8176015019416809, 0.7840306162834167, 0.861782431602478, -0.7672040462493896, -0.6372594237327576, -0.2738724946975708, 0.16965888440608978, -0.5618719458580017, 0.2689688503742218, -0.01652529463171959, 0.07396555691957474, -0.14879100024700165, -0.7656373381614685, -0.7002483010292053, 1.152897596359253, 0.31057029962539673, -0.4247661828994751, -0.2853659391403198, -0.22664028406143188, 0.4055769145488739, -0.267400324344635, 0.2639215290546417, -0.04529104754328728, 0.5667060017585754, 0.47991588711738586, -1.1292459964752197, -0.12045185267925262, -0.7344589233398438, 0.24642540514469147, 0.14828823506832123, -1.0285650491714478, 0.8133024573326111, -0.3704550862312317, -0.03951616957783699, 0.22795751690864563, 0.6075003743171692, -0.22311274707317352, 0.3079954981803894, 0.6066327691078186, 0.6052267551422119, 0.11320102214813232, -0.1165388748049736, 1.056199550628662, 0.13527899980545044, 0.6350958943367004, 0.9541301727294922, 0.1451362669467926, 0.5436060428619385, 0.5010401010513306, -0.15495747327804565, 0.5179097652435303, 0.5051014423370361, -0.7087382078170776, 0.48949873447418213, -0.20330439507961273, -0.006316810846328735, -0.40292948484420776, -0.11539022624492645, -0.546959638595581, 0.36447083950042725, 0.1408897191286087, -0.6055904626846313, -0.04289340600371361, 0.09654087573289871, -0.1979070007801056, -0.30413389205932617, -0.11454648524522781, 0.6383958458900452, 0.19804754853248596, -0.48075777292251587, 0.5213358998298645, -0.3926762342453003, 0.404237300157547, -0.32084566354751587, -0.21081306040287018, 0.03579952195286751, 0.13164445757865906, -0.33916646242141724, -0.6417340040206909, 0.36635905504226685, 0.20621798932552338, -0.28152501583099365, -0.19292587041854858, 0.6573988199234009, -0.14252187311649323, -0.5586256980895996, 0.250252366065979, 0.43692106008529663, 0.34133008122444153, -0.012724564410746098, -0.7628443241119385, 0.06957505643367767, 0.11106503754854202, -0.5415855646133423, 0.06759120523929596, 0.041835859417915344, -0.052740179002285004, 0.6809213161468506, 0.44351115822792053, -0.1939544528722763, 0.1672390252351761, -0.015865793451666832, 1.0787168741226196, -0.7057297229766846, -0.30229976773262024, -0.7519620656967163, 1.0190469026565552, -0.15433043241500854, -0.45642760396003723, 0.7994661927223206, 0.5012915730476379, 0.8143014907836914, -0.24055629968643188, 0.8454746603965759, -0.15119187533855438, 0.16961629688739777, -0.21692980825901031, 0.4347691833972931, -0.7509995698928833, -0.07135240733623505, -0.6874903440475464, -1.1530232429504395, -0.30650585889816284, 0.6781603097915649, -0.10915806889533997, 0.0657534971833229, 0.6590144038200378, 0.6811531782150269, -0.37354952096939087, 0.0020963321439921856, 0.3208615481853485, 0.37222912907600403, 0.41553619503974915, 0.1739725023508072, 0.42612484097480774, -0.7728919982910156, 0.698975145816803, -0.31034043431282043, -0.34763580560684204, -0.43453773856163025, -0.8167867064476013, -0.9596834778785706, -0.7748355865478516, -0.6747751832008362, -0.4639911353588104, 0.11307075619697571, 0.5821889638900757, 1.059738278388977, -0.3839902877807617, 0.0922071784734726, -0.1749449074268341, -0.07848004251718521, -0.21179471909999847, -0.23538827896118164, 0.2351367324590683, 0.44452551007270813, -0.6596755385398865, 0.0018305445555597544, 0.10376203805208206, 0.2750172019004822, -0.45565465092658997, 0.06637167930603027, 0.03307750076055527, -0.06873761117458344, 0.5265630483627319, 0.4685046076774597, -0.6936331391334534, -0.5070170760154724, 0.14499697089195251, 0.26992031931877136, 0.16391633450984955, 0.43079930543899536, -0.7129817605018616, 0.5647706985473633, 0.8019434213638306, 0.08063216507434845, 0.9191354513168335, 0.0653623640537262, 0.25697028636932373, -0.3474283516407013, 0.1587091088294983, -0.13051186501979828, 0.5572556257247925, 0.328976035118103, -0.20658078789710999, 0.6277121305465698, 0.4444993734359741, -0.572699785232544, -0.8334437012672424, 0.3455115854740143, -1.6879736185073853, 0.334697425365448, 1.2052396535873413, -0.002981210360303521, -0.45075130462646484, 0.48148953914642334, -0.32928815484046936, 0.47192567586898804, -0.3730720281600952, 0.4370255768299103, 0.3501739799976349, 0.1915048509836197, -0.5456178188323975, -0.876192033290863, 0.39678874611854553, -0.15362384915351868, -0.3895459473133087, -0.24585694074630737, 0.17171797156333923, 0.3807036280632019, 0.4217904806137085, 0.25125744938850403, -0.23779726028442383, 0.48471224308013916, 0.00012217003677506, 0.5623283386230469, -0.16920730471611023, -0.2727295756340027, -0.39154452085494995, 0.0016808831132948399, -0.16143178939819336, -0.33733177185058594 ]
gogamza/kobart-base-v2
gogamza
2023-06-12T23:54:20Z
7,558
17
transformers
[ "transformers", "pytorch", "safetensors", "bart", "feature-extraction", "ko", "arxiv:1910.13461", "arxiv:1910.09700", "license:mit", "endpoints_compatible", "region:us" ]
feature-extraction
2022-03-02T23:29:05Z
--- language: ko license: mit tags: - bart --- # Model Card for kobart-base-v2 # Model Details ## Model Description [**BART**](https://arxiv.org/pdf/1910.13461.pdf)(**B**idirectional and **A**uto-**R**egressive **T**ransformers)는 입력 텍스트 일부에 노이즈를 추가하여 이를 다시 원문으로 복구하는 `autoencoder`의 형태로 학습이 됩니다. 한국어 BART(이하 **KoBART**) 는 논문에서 사용된 `Text Infilling` 노이즈 함수를 사용하여 **40GB** 이상의 한국어 텍스트에 대해서 학습한 한국어 `encoder-decoder` 언어 모델입니다. 이를 통해 도출된 `KoBART-base`를 배포합니다. - **Developed by:** More information needed - **Shared by [Optional]:** Heewon(Haven) Jeon - **Model type:** Feature Extraction - **Language(s) (NLP):** Korean - **License:** MIT - **Parent Model:** BART - **Resources for more information:** - [GitHub Repo](https://github.com/haven-jeon/KoBART) - [Model Demo Space](https://huggingface.co/spaces/gogamza/kobart-summarization) # Uses ## Direct Use This model can be used for the task of Feature Extraction. ## Downstream Use [Optional] More information needed. ## Out-of-Scope Use The model should not be used to intentionally create hostile or alienating environments for people. # Bias, Risks, and Limitations Significant research has explored bias and fairness issues with language models (see, e.g., [Sheng et al. (2021)](https://aclanthology.org/2021.acl-long.330.pdf) and [Bender et al. (2021)](https://dl.acm.org/doi/pdf/10.1145/3442188.3445922)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups. ## Recommendations Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. # Training Details ## Training Data | Data | # of Sentences | |-------|---------------:| | Korean Wiki | 5M | | Other corpus | 0.27B | 한국어 위키 백과 이외, 뉴스, 책, [모두의 말뭉치 v1.0(대화, 뉴스, ...)](https://corpus.korean.go.kr/), [청와대 국민청원](https://github.com/akngs/petitions) 등의 다양한 데이터가 모델 학습에 사용되었습니다. `vocab` 사이즈는 30,000 이며 대화에 자주 쓰이는 아래와 같은 이모티콘, 이모지 등을 추가하여 해당 토큰의 인식 능력을 올렸습니다. > 😀, 😁, 😆, 😅, 🤣, .. , `:-)`, `:)`, `-)`, `(-:`... ## Training Procedure ### Tokenizer [`tokenizers`](https://github.com/huggingface/tokenizers) 패키지의 `Character BPE tokenizer`로 학습되었습니다. ### Speeds, Sizes, Times | Model | # of params | Type | # of layers | # of heads | ffn_dim | hidden_dims | |--------------|:----:|:-------:|--------:|--------:|--------:|--------------:| | `KoBART-base` | 124M | Encoder | 6 | 16 | 3072 | 768 | | | | Decoder | 6 | 16 | 3072 | 768 | # Evaluation ## Testing Data, Factors & Metrics ### Testing Data More information needed ### Factors More information needed ### Metrics More information needed ## Results NSMC - acc. : 0.901 The model authors also note in the [GitHub Repo](https://github.com/haven-jeon/KoBART): | | [NSMC](https://github.com/e9t/nsmc)(acc) | [KorSTS](https://github.com/kakaobrain/KorNLUDatasets)(spearman) | [Question Pair](https://github.com/aisolab/nlp_classification/tree/master/BERT_pairwise_text_classification/qpair)(acc) | |---|---|---|---| | **KoBART-base** | 90.24 | 81.66 | 94.34 | # Model Examination More information needed # Environmental Impact Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700). - **Hardware Type:** More information needed - **Hours used:** More information needed - **Cloud Provider:** More information needed - **Compute Region:** More information needed - **Carbon Emitted:** More information needed # Technical Specifications [optional] ## Model Architecture and Objective More information needed ## Compute Infrastructure More information needed ### Hardware More information needed ### Software More information needed. # Citation **BibTeX:** More information needed. # Glossary [optional] More information needed # More Information [optional] More information needed # Model Card Authors [optional] Heewon(Haven) Jeon in collaboration with Ezi Ozoani and the Hugging Face team # Model Card Contact The model authors note in the [GitHub Repo](https://github.com/haven-jeon/KoBART): `KoBART` 관련 이슈는 [이곳](https://github.com/SKT-AI/KoBART/issues)에 올려주세요. # How to Get Started with the Model Use the code below to get started with the model. <details> <summary> Click to expand </summary> ```python from transformers import PreTrainedTokenizerFast, BartModel tokenizer = PreTrainedTokenizerFast.from_pretrained('gogamza/kobart-base-v2') model = BartModel.from_pretrained('gogamza/kobart-base-v2') ``` </details>
[ -0.569909930229187, -0.654204785823822, 0.3065553307533264, 0.1457493007183075, -0.6761422157287598, -0.06521294265985489, -0.14198675751686096, -0.2684534192085266, 0.25340116024017334, 0.7532474994659424, -0.40791940689086914, -0.7159337997436523, -0.7550768256187439, -0.060499388724565506, 0.0800786167383194, 1.1167951822280884, -0.1618872880935669, 0.08957309275865555, 0.023330029100179672, -0.1747085005044937, -0.823508620262146, -0.7404449582099915, -0.6329476833343506, -0.2565145194530487, 0.06519483774900436, 0.08548427373170853, 0.5140079259872437, 0.6416624188423157, 0.3206174373626709, 0.28044384717941284, -0.3328651487827301, -0.12641198933124542, -0.19817019999027252, -0.10371912270784378, -0.09733095020055771, -0.5013260245323181, -0.620050311088562, -0.2716705799102783, 0.34384214878082275, 0.5627874135971069, 0.05442938953638077, 0.3972162902355194, -0.0027482574805617332, 0.7968628406524658, -0.4301120936870575, 0.5241408944129944, -0.37770769000053406, -0.10359150171279907, -0.14492224156856537, 0.1254306137561798, -0.2809651792049408, -0.3339368402957916, -0.16011759638786316, -0.5053132772445679, 0.12037552148103714, 0.13743098080158234, 1.1793242692947388, 0.23040978610515594, -0.5953944325447083, -0.4665895104408264, -0.39991164207458496, 0.6576597690582275, -1.0387934446334839, 0.528928816318512, 0.50312739610672, 0.17330102622509003, -0.007832469418644905, -0.7881097197532654, -0.49934113025665283, -0.1502184420824051, -0.1892162263393402, 0.3869968354701996, -0.14125999808311462, -0.008516132831573486, 0.3666006326675415, 0.16889236867427826, -0.5570617914199829, -0.010571304708719254, -0.5203322172164917, -0.3176862299442291, 0.586554765701294, 0.1639174520969391, 0.2785297632217407, -0.6922454833984375, -0.29669108986854553, -0.2961479425430298, -0.3947751522064209, 0.27356722950935364, 0.5139448046684265, 0.3311306834220886, -0.5332680344581604, 0.6730411052703857, -0.15501980483531952, 0.4128798842430115, 0.08178642392158508, -0.0580778606235981, 0.6513027548789978, -0.6502541899681091, -0.26057931780815125, 0.15409360826015472, 0.9531642198562622, 0.3682452440261841, 0.04285859316587448, 0.22682489454746246, -0.06095103919506073, -0.10395313799381256, 0.1911451667547226, -1.029614806175232, -0.44322469830513, 0.3099302053451538, -0.6448395848274231, -0.44504719972610474, 0.1458340734243393, -1.024505376815796, 0.004321628715842962, -0.2855200469493866, 0.3620038330554962, -0.5053051114082336, -0.5448123812675476, 0.08636566251516342, -0.0643942654132843, 0.05082166939973831, 0.11726723611354828, -0.688202440738678, 0.2594986855983734, 0.3177560567855835, 0.8497484922409058, 0.1674119383096695, 0.12751056253910065, 0.1138836219906807, -0.214392751455307, -0.431709349155426, 0.48117250204086304, 0.030614901334047318, -0.5323711037635803, -0.17552947998046875, 0.3212297260761261, -0.08857063204050064, -0.3135657012462616, 0.7845781445503235, -0.4801034927368164, 0.31659841537475586, -0.27548375725746155, -0.5696470141410828, -0.5157615542411804, 0.21375760436058044, -0.6470682621002197, 1.288661241531372, 0.3427136242389679, -0.9584886431694031, 0.22649849951267242, -0.8107329607009888, -0.25992056727409363, 0.06377480924129486, 0.0022778522688895464, -0.818951427936554, -0.03851590305566788, 0.3799741566181183, 0.4233193099498749, -0.09366282820701599, 0.4188864231109619, -0.2179487943649292, -0.10139492154121399, 0.11879462003707886, -0.19315455853939056, 1.2453688383102417, 0.3009052276611328, -0.46831706166267395, -0.006694131065160036, -0.8263903260231018, 0.180990070104599, 0.45525118708610535, -0.41799113154411316, -0.2945885956287384, -0.30039268732070923, 0.15829624235630035, 0.4018329381942749, 0.34891965985298157, -0.44235700368881226, 0.1730170100927353, -0.5915936827659607, 0.3201403021812439, 0.7282623052597046, 0.14106066524982452, 0.32013389468193054, -0.23258864879608154, 0.6421322226524353, 0.02545255422592163, 0.08638760447502136, -0.18285371363162994, -0.5375654101371765, -0.7643389701843262, -0.3567846715450287, 0.5647520422935486, 0.6487789750099182, -0.7100792527198792, 0.8124934434890747, -0.3891647160053253, -0.7914751172065735, -0.5364525318145752, -0.0828656330704689, 0.5952895283699036, 0.48504170775413513, 0.41276997327804565, -0.23741517961025238, -0.892818033695221, -0.8067976832389832, -0.07003885507583618, -0.21190772950649261, 0.0931248664855957, 0.47424283623695374, 0.9080967307090759, -0.21049456298351288, 1.0515037775039673, -0.49130287766456604, -0.019729455932974815, -0.41268739104270935, 0.03317011892795563, 0.43963366746902466, 0.6259588599205017, 0.7350742816925049, -0.7581452131271362, -0.7090408205986023, -0.057771556079387665, -0.7194520831108093, -0.1810993105173111, 0.15125985443592072, -0.0648062527179718, 0.387291818857193, 0.5327725410461426, -0.6095426082611084, 0.5284660458564758, 0.43294960260391235, -0.501714289188385, 0.9459589719772339, -0.1828489601612091, 0.12462066113948822, -1.541062831878662, 0.2506089508533478, -0.2148618996143341, -0.2209234982728958, -0.6573256850242615, -0.0032192787621170282, 0.17232708632946014, -0.0011097763199359179, -0.467110812664032, 0.8940719366073608, -0.4505723714828491, 0.12285807728767395, -0.2759101092815399, -0.0964372456073761, 0.038604460656642914, 0.7728235125541687, 0.0007660157862119377, 0.5797123312950134, 0.4451022744178772, -0.5805322527885437, 0.07361068576574326, 0.33518290519714355, -0.38382256031036377, 0.3279132544994354, -0.7610583305358887, 0.12582920491695404, -0.04756586253643036, 0.37804558873176575, -0.9607594609260559, -0.34789690375328064, 0.6227369904518127, -0.7083556652069092, 0.4800894260406494, -0.48793256282806396, -0.616787314414978, -0.5846794843673706, -0.20483121275901794, 0.37181106209754944, 0.7516478300094604, -0.44825467467308044, 0.5320175886154175, 0.2997196912765503, -0.3702554702758789, -0.4650891125202179, -0.6801760196685791, -0.1476675271987915, -0.25220003724098206, -0.3078613579273224, 0.32806396484375, -0.15764731168746948, 0.11312523484230042, 0.10897892713546753, 0.024566425010561943, 0.017309008166193962, 0.031117329373955727, 0.4505032002925873, 0.4767687916755676, -0.060936760157346725, -0.008641687221825123, 0.23974443972110748, -0.2187332659959793, -0.012747352011501789, -0.18933789432048798, 0.8549535274505615, -0.20284409821033478, -0.2054014950990677, -0.4871314764022827, 0.1611679345369339, 0.5452690720558167, -0.12984217703342438, 0.8322774171829224, 0.8124105334281921, -0.36200979351997375, 0.2635965943336487, -0.44133901596069336, -0.00026795195299200714, -0.459307998418808, 0.8293613195419312, -0.4382786452770233, -0.8220656514167786, 0.7133064866065979, -0.09193829447031021, -0.14460691809654236, 0.8342048525810242, 0.7378594279289246, 0.06889232248067856, 1.2295823097229004, 0.5490056872367859, -0.09954407066106796, 0.4127797484397888, -0.48820027709007263, 0.31184616684913635, -1.0403542518615723, -0.36233943700790405, -0.6215353012084961, 0.14969371259212494, -0.7968866229057312, -0.2604510188102722, 0.21754564344882965, 0.4798181653022766, -0.5571786165237427, 0.6083129644393921, -0.7317585349082947, 0.05901353061199188, 0.42781099677085876, 0.015411763451993465, -0.21694673597812653, -0.12153330445289612, -0.4037763476371765, -0.0977361872792244, -0.7518072724342346, -0.5281177759170532, 1.1743546724319458, 0.5558425784111023, 0.2878842055797577, 0.0845291018486023, 0.6892464756965637, 0.14592726528644562, 0.0949014276266098, -0.566322386264801, 0.542463481426239, -0.011735137552022934, -0.8246670365333557, -0.08122583478689194, -0.3590308129787445, -0.9501506090164185, 0.2652179002761841, -0.09372503310441971, -0.9255945682525635, 0.3435109555721283, 0.0784657746553421, -0.18593616783618927, 0.42847979068756104, -0.5784321427345276, 1.0292773246765137, -0.37163832783699036, -0.046098727732896805, 0.09880419820547104, -0.766757071018219, 0.3724139928817749, -0.1620846390724182, 0.49020305275917053, -0.10467816889286041, 0.034385472536087036, 1.0494394302368164, -0.724979817867279, 0.897840142250061, -0.43595561385154724, 0.26636603474617004, 0.4152550995349884, -0.10220155119895935, 0.6411632895469666, -0.06690055131912231, -0.026314683258533478, 0.5274876356124878, 0.14492401480674744, -0.4382278025150299, -0.3824671804904938, 0.4267321825027466, -0.8975111246109009, -0.15180239081382751, -0.4463020861148834, -0.4524049758911133, 0.10500089824199677, 0.5320719480514526, 0.5454058647155762, 0.25265252590179443, 0.09105442464351654, 0.17817792296409607, 0.4636240601539612, -0.4245612919330597, 0.2903042435646057, 0.3568892478942871, -0.3412843346595764, -0.8754684329032898, 0.9087685346603394, 0.23635828495025635, 0.23822733759880066, 0.03442474082112312, 0.23347122967243195, -0.532346785068512, -0.5672739744186401, -0.4456922709941864, 0.3271513879299164, -0.8017396926879883, -0.2619802951812744, -0.8373134732246399, -0.3525296449661255, -0.6750314235687256, -0.20691251754760742, -0.606534481048584, -0.43946969509124756, -0.21340246498584747, -0.26537540555000305, 0.38022464513778687, 0.5084626078605652, 0.0032116163056343794, 0.4419035315513611, -0.6125409603118896, 0.05769360065460205, -0.10198535770177841, 0.2586621940135956, 0.06454706192016602, -0.7264626622200012, -0.5209046602249146, 0.07825972884893417, -0.29073700308799744, -0.904761791229248, 0.6633904576301575, -0.3055700957775116, 0.620459258556366, 0.18810056149959564, 0.12051418423652649, 0.47209632396698, -0.31049472093582153, 1.075227975845337, 0.3116064667701721, -0.8485521078109741, 0.5716487169265747, -0.33568698167800903, 0.3979199528694153, 0.6864147186279297, 0.3932076692581177, -0.427328497171402, -0.21716539561748505, -0.8844687342643738, -1.2289108037948608, 0.9189227819442749, 0.4116155207157135, 0.10406652837991714, 0.01640903390944004, 0.42629390954971313, -0.05446595698595047, 0.35684099793434143, -0.9346799850463867, -0.47264400124549866, -0.5593187212944031, -0.37659528851509094, 0.038895998150110245, -0.4171820282936096, 0.10183828324079514, -0.3007662892341614, 1.0950214862823486, 0.11075452715158463, 0.5516430139541626, 0.2644708752632141, -0.07572102546691895, 0.2753453552722931, 0.24907317757606506, 0.6382366418838501, 0.1626398265361786, -0.4834194481372833, -0.043371398001909256, 0.2566104829311371, -0.6913232207298279, 0.07227771729230881, 0.15438926219940186, -0.39128750562667847, 0.1603381633758545, 0.3448854982852936, 1.2383426427841187, 0.16092190146446228, -0.5021005272865295, 0.5018467307090759, 0.08247356861829758, -0.5221906900405884, -0.34768450260162354, -0.14647705852985382, 0.21312041580677032, 0.12093654274940491, 0.006206823512911797, 0.10310513526201248, -0.010152991861104965, -0.3155801594257355, -0.054591547697782516, 0.1892673373222351, -0.4685375690460205, -0.18937449157238007, 0.8389291167259216, -0.06079791113734245, -0.33716315031051636, 0.46044209599494934, -0.4572826027870178, -0.8842974901199341, 0.9194272756576538, 0.6058568358421326, 0.9626177549362183, -0.1280997395515442, -0.04031611233949661, 0.9840143918991089, 0.32812410593032837, -0.06094759702682495, 0.18028323352336884, -0.013369360007345676, -0.6391806602478027, -0.06459830701351166, -0.7108224034309387, -0.005817790981382132, 0.20199808478355408, -0.7250329852104187, 0.31475698947906494, -0.4125656187534332, -0.3548423945903778, -0.1303534060716629, 0.2740306258201599, -0.8445921540260315, 0.2261527180671692, -0.06834034621715546, 0.7674773335456848, -0.8641095161437988, 0.850233793258667, 0.6603915095329285, -0.704342782497406, -0.9975650310516357, -0.27459436655044556, -0.03237653151154518, -0.6566084027290344, 0.6170595288276672, 0.21048784255981445, 0.24746067821979523, 0.0312713198363781, -0.46977511048316956, -0.9423735737800598, 1.335258960723877, 0.043022770434617996, -0.5436522960662842, 0.17999538779258728, 0.11104407161474228, 0.5346047878265381, -0.3662239611148834, 0.4558803141117096, 0.3315858542919159, 0.5151178240776062, -0.07202307134866714, -0.9341427683830261, 0.3287522494792938, -0.49566152691841125, 0.2110731303691864, 0.06564231961965561, -0.7118703722953796, 0.8666842579841614, -0.05406062304973602, -0.012587937526404858, 0.11748120933771133, 0.4103216230869293, 0.4573337733745575, 0.38789886236190796, 0.5538216233253479, 0.6583183407783508, 0.580751359462738, 0.0371527373790741, 0.9675644636154175, -0.5280377864837646, 0.6549679040908813, 1.1794254779815674, 0.0680735632777214, 0.6321899890899658, 0.20002765953540802, -0.39369407296180725, 0.5736019015312195, 0.7848518490791321, -0.25070786476135254, 0.685749351978302, -0.057840775698423386, -0.04213070496916771, 0.04874960333108902, 0.04039276763796806, -0.5228846073150635, 0.1963169425725937, 0.2711176574230194, -0.4697677195072174, -0.02893005684018135, 0.21027229726314545, 0.4403092563152313, -0.24122324585914612, -0.33005502820014954, 0.7130110859870911, -0.004209987819194794, -0.6104034185409546, 0.5410152077674866, 0.2619187533855438, 0.6201940178871155, -0.6426309943199158, 0.07549281418323517, 0.022124143317341805, 0.026654133573174477, -0.09868174046278, -0.6491003036499023, 0.14548654854297638, -0.02542264387011528, -0.30639511346817017, -0.001443546381779015, 0.8654839396476746, -0.24770700931549072, -0.7331042885780334, 0.4334997236728668, 0.3338612914085388, 0.4174661934375763, 0.08771549165248871, -1.065259575843811, 0.09299930185079575, 0.24832460284233093, -0.4942626357078552, 0.2579183876514435, 0.13933266699314117, -0.15967011451721191, 0.47293564677238464, 0.7783065438270569, 0.008622613735496998, 0.16811099648475647, 0.08960794657468796, 0.825038492679596, -0.5389652848243713, -0.6694132089614868, -0.7858297228813171, 0.835335910320282, -0.2622499167919159, -0.30189627408981323, 0.750063419342041, 0.8180549740791321, 0.8453943133354187, -0.0956607237458229, 1.1379423141479492, -0.2731219530105591, 0.5668361186981201, -0.45535850524902344, 0.7371142506599426, -0.5337067246437073, 0.05709584429860115, -0.41164353489875793, -0.6970915794372559, -0.13659726083278656, 0.595343828201294, -0.42080724239349365, 0.32054266333580017, 0.5438566207885742, 0.859273374080658, -0.0013971548760309815, -0.1884094476699829, 0.17151515185832977, 0.4452764391899109, 0.3835199177265167, 0.34829211235046387, 0.18253080546855927, -0.7988322973251343, 0.5315836071968079, -0.4983340799808502, -0.0758449137210846, -0.39377477765083313, -0.6953570246696472, -1.0126736164093018, -0.5846493244171143, -0.40971195697784424, -0.5297726392745972, -0.049803152680397034, 0.9973793029785156, 0.7476902008056641, -0.803782045841217, -0.0647023394703865, -0.31230252981185913, 0.01826394349336624, -0.25066810846328735, -0.27243492007255554, 0.8396081328392029, -0.1387682557106018, -0.6461255550384521, -0.03979858383536339, -0.06747514009475708, 0.18491075932979584, 0.015859020873904228, -0.37266895174980164, -0.19334881007671356, 0.20383784174919128, 0.49833518266677856, 0.25899627804756165, -0.7560797333717346, -0.15373094379901886, -0.09596125781536102, -0.19362212717533112, 0.08186458051204681, 0.36430230736732483, -0.5083581805229187, 0.5821885466575623, 0.5366812348365784, 0.31602612137794495, 0.8118680715560913, -0.08005247265100479, 0.061494287103414536, -0.5358400940895081, 0.19770179688930511, 0.077342189848423, 0.4776608943939209, 0.12166814506053925, -0.36563923954963684, 0.6134549975395203, 0.4301548898220062, -0.6380281448364258, -0.9299519062042236, 0.034655455499887466, -1.2846877574920654, -0.3975411653518677, 1.0737907886505127, -0.1989751160144806, -0.31293633580207825, -0.20110341906547546, -0.6237184405326843, 0.6301372647285461, -0.2823781967163086, 0.5318264961242676, 0.8329893946647644, -0.0036695830058306456, -0.21687051653862, -0.9141952991485596, 0.3186795711517334, 0.22037385404109955, -0.7285011410713196, -0.10466666519641876, 0.14968131482601166, 0.5782648324966431, 0.19497470557689667, 0.9114976525306702, -0.34681370854377747, 0.23413702845573425, 0.22224977612495422, 0.5739729404449463, -0.3431495428085327, 0.10059291869401932, -0.33024710416793823, -0.004957476165145636, -0.17547178268432617, -0.3211938738822937 ]
PrimeQA/nq_tydi_sq1-reader-xlmr_large-20221110
PrimeQA
2022-11-14T19:47:16Z
7,555
1
transformers
[ "transformers", "pytorch", "xlm-roberta", "MRC", "TyDiQA", "Natural Questions", "SQuAD", "xlm-roberta-large", "multilingual", "arxiv:1606.05250", "license:apache-2.0", "endpoints_compatible", "region:us" ]
null
2022-11-14T19:20:52Z
--- license: apache-2.0 tags: - MRC - TyDiQA - Natural Questions - SQuAD - xlm-roberta-large language: - multilingual --- *Task*: MRC # Model description An XLM-RoBERTa Large reading comprehension model trained from the combination of TyDi, NQ, and SQuAD v1 datasets, starting from a fine-tuned [Tydi xlm-roberta-large](https://huggingface.co/PrimeQA/tydiqa-primary-task-xlm-roberta-large) model. ## Intended uses & limitations You can use the raw model for the reading comprehension task. Biases associated with the pre-existing language model, xlm-roberta-large, that we used may be present in our fine-tuned model. ## Usage You can use this model directly with the [PrimeQA](https://github.com/primeqa/primeqa) pipeline for reading comprehension [squad.ipynb](https://github.com/primeqa/primeqa/blob/main/notebooks/mrc/squad.ipynb). ### BibTeX entry and citation info ```bibtex @article{kwiatkowski-etal-2019-natural, title = "Natural Questions: A Benchmark for Question Answering Research", author = "Kwiatkowski, Tom and Palomaki, Jennimaria and Redfield, Olivia and Collins, Michael and Parikh, Ankur and Alberti, Chris and Epstein, Danielle and Polosukhin, Illia and Devlin, Jacob and Lee, Kenton and Toutanova, Kristina and Jones, Llion and Kelcey, Matthew and Chang, Ming-Wei and Dai, Andrew M. and Uszkoreit, Jakob and Le, Quoc and Petrov, Slav", journal = "Transactions of the Association for Computational Linguistics", volume = "7", year = "2019", address = "Cambridge, MA", publisher = "MIT Press", url = "https://aclanthology.org/Q19-1026", doi = "10.1162/tacl_a_00276", pages = "452--466", } ``` ```bibtex @article{2016arXiv160605250R, author = {{Rajpurkar}, Pranav and {Zhang}, Jian and {Lopyrev}, Konstantin and {Liang}, Percy}, title = "{SQuAD: 100,000+ Questions for Machine Comprehension of Text}", journal = {arXiv e-prints}, year = 2016, eid = {arXiv:1606.05250}, pages = {arXiv:1606.05250}, archivePrefix = {arXiv}, eprint = {1606.05250}, } ``` ```bibtex @article{clark-etal-2020-tydi, title = "{T}y{D}i {QA}: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languages", author = "Clark, Jonathan H. and Choi, Eunsol and Collins, Michael and Garrette, Dan and Kwiatkowski, Tom and Nikolaev, Vitaly and Palomaki, Jennimaria", journal = "Transactions of the Association for Computational Linguistics", volume = "8", year = "2020", address = "Cambridge, MA", publisher = "MIT Press", url = "https://aclanthology.org/2020.tacl-1.30", doi = "10.1162/tacl_a_00317", pages = "454--470", } ```
[ -0.5288737416267395, -0.8729166984558105, 0.5270754098892212, 0.034679483622312546, -0.112200528383255, 0.17845670878887177, -0.20817779004573822, -0.3573090136051178, -0.0004909929120913148, 0.4700487554073334, -0.912652850151062, -0.5918430685997009, -0.33563801646232605, 0.5363808870315552, -0.2859303057193756, 0.7798655033111572, -0.10156814008951187, -0.21610766649246216, -0.12286839634180069, -0.2870037853717804, -0.015468882396817207, -0.6170129179954529, -0.7880218029022217, 0.04177561774849892, 0.48137709498405457, 0.3017021417617798, 0.45875197649002075, 0.4496145248413086, 0.11403541266918182, 0.29316213726997375, -0.4199407994747162, 0.4317854344844818, -0.4814724028110504, 0.18121220171451569, -0.16173696517944336, -0.6164911985397339, -0.3344784080982208, 0.00445535546168685, 0.8821755647659302, 0.669465184211731, 0.09299219399690628, 0.3198077976703644, 0.08023922890424728, 0.8083958029747009, -0.4444536864757538, 0.06610497087240219, -0.7141535878181458, -0.15125222504138947, -0.2058897316455841, -0.2449420988559723, -0.6819738745689392, -0.25795572996139526, 0.16575196385383606, -0.6594271063804626, 0.21368905901908875, 0.28198951482772827, 1.0909535884857178, 0.3126753568649292, -0.6764531135559082, -0.07563572376966476, -0.4122420847415924, 1.087524652481079, -0.6310413479804993, 0.33687999844551086, 0.647695779800415, 0.011704047210514545, -0.0351313054561615, -0.49318793416023254, -0.7709588408470154, -0.1618698686361313, -0.009034923277795315, 0.33084020018577576, -0.1162058562040329, -0.06273766607046127, 0.24257850646972656, 0.35868096351623535, -0.9487779140472412, -0.15110304951667786, -0.47346657514572144, -0.10938774794340134, 0.536309003829956, 0.257943332195282, 0.1281864047050476, -0.41532403230667114, -0.22066360712051392, -0.23329612612724304, -0.47321072220802307, 0.3814363479614258, 0.33907392621040344, 0.23356947302818298, -0.26245009899139404, 0.7203194499015808, -0.3261873722076416, 0.8704827427864075, -0.05173388868570328, 0.0651182010769844, 0.4857637882232666, -0.9471513032913208, -0.09332085400819778, -0.5936625003814697, 0.8101656436920166, 0.09700357913970947, 0.421457439661026, -0.09374360740184784, 0.16914430260658264, -0.367584228515625, 0.1875876933336258, -0.6299076676368713, -0.07936457544565201, 0.586891770362854, -0.18356731534004211, -0.07466531544923782, 0.04345645010471344, -0.8785721063613892, -0.015402471646666527, -0.17164896428585052, 0.22741642594337463, -0.6067623496055603, -0.14380177855491638, -0.011684935539960861, -0.12676823139190674, 0.6721235513687134, -0.01873166859149933, -0.6197788119316101, 0.24358922243118286, 0.4355042576789856, 0.750334620475769, -0.09924778342247009, -0.28620603680610657, -0.5184489488601685, -0.05112842097878456, -0.24740257859230042, 0.8689826726913452, -0.39298781752586365, -0.1004762351512909, 0.025216998532414436, 0.22859159111976624, -0.6741741895675659, -0.43664658069610596, 0.6179919838905334, -0.7721403241157532, 0.5300641655921936, -0.32737457752227783, -0.5052032470703125, -0.47844481468200684, 0.5545742511749268, -0.4508155882358551, 1.0759496688842773, 0.323276162147522, -0.7506149411201477, 0.001375515479594469, -0.6116960644721985, -0.3314392864704132, -0.09140355885028839, 0.14657822251319885, -0.41302087903022766, -0.3192831873893738, 0.3624390959739685, 0.0604432187974453, -0.5632280707359314, -0.0397455170750618, -0.32918334007263184, -0.03245324268937111, 0.4352818429470062, -0.17767909169197083, 1.382468581199646, 0.1170247495174408, -0.37449684739112854, -0.03961719945073128, -0.6058745384216309, 0.579258918762207, 0.14609378576278687, -0.30495986342430115, -0.15707296133041382, -0.18240618705749512, -0.0720849260687828, 0.22099138796329498, 0.3127441108226776, -0.46080881357192993, 0.09318700432777405, -0.37550032138824463, 0.5255146026611328, 0.6040122509002686, 0.26403963565826416, 0.378050833940506, -0.7319040894508362, 0.8800196051597595, -0.10029588639736176, -0.08465825021266937, -0.1250021904706955, -0.6347523331642151, -0.6465000510215759, -0.3905395567417145, 0.49883967638015747, 0.8641248941421509, -0.9369509816169739, 0.4231668710708618, -0.053767479956150055, -0.48825934529304504, -0.7689882516860962, 0.0002696625597309321, 0.6956892013549805, 0.5975455641746521, 0.7336363196372986, 0.21950265765190125, -0.5028731226921082, -0.7673900723457336, -0.26121753454208374, -0.4097471833229065, 0.13079169392585754, 0.7642065286636353, 0.43936291337013245, -0.0602635033428669, 0.9135984182357788, -0.6260182857513428, -0.19784891605377197, -0.39833104610443115, 0.09033788740634918, 0.37366366386413574, 0.4369625449180603, 0.6211808919906616, -0.8438674807548523, -0.7259016633033752, -0.20996195077896118, -0.5532298684120178, -0.20696015655994415, 0.12775394320487976, -0.3018442690372467, 0.6609309911727905, 0.49023786187171936, -0.6316107511520386, 0.19888673722743988, 0.5258656144142151, -0.6493403911590576, 0.7587036490440369, -0.055039286613464355, 0.48915427923202515, -1.3237155675888062, 0.4170539975166321, -0.07063089311122894, -0.02431553043425083, -0.5855814814567566, 0.36826401948928833, 0.01304689608514309, 0.1975952535867691, -0.36346375942230225, 0.7618052363395691, -0.5087862014770508, 0.18265721201896667, 0.21426503360271454, 0.2128792554140091, 0.1495685577392578, 0.6382708549499512, -0.12921962141990662, 1.0084530115127563, 0.46740421652793884, -0.5950251221656799, 0.0026578980032354593, 0.5291016101837158, -0.28150707483291626, 0.3922669589519501, -0.9900168180465698, 0.16245616972446442, -0.14040106534957886, 0.30215442180633545, -1.1401818990707397, -0.006403730716556311, 0.44512832164764404, -0.7952626943588257, 0.24476580321788788, -0.37503668665885925, -0.6272198557853699, -0.4413735568523407, -0.15186594426631927, 0.7455682158470154, 0.5109528303146362, -0.18868425488471985, 0.46930432319641113, 0.2788427174091339, -0.1606517732143402, -0.6936335563659668, -0.6928454041481018, -0.16585732996463776, -0.16450974345207214, -0.8751903772354126, 0.36061474680900574, -0.6001880168914795, -0.21789945662021637, 0.07195276021957397, -0.059651803225278854, -0.4734811782836914, -0.015114991925656796, -0.08691267669200897, 0.36421194672584534, -0.4247934818267822, 0.13048699498176575, -0.042061954736709595, -0.0027364117559045553, -0.008298353292047977, -0.40725579857826233, 0.7201921939849854, -0.1638573259115219, -0.03543512150645256, -0.281013548374176, 0.4384489059448242, 0.6360067129135132, -0.639149010181427, 0.9634543061256409, 0.5105229616165161, -0.1661836802959442, -0.08310700207948685, -0.4180953800678253, -0.15479715168476105, -0.4544581174850464, 0.4501594305038452, -0.54409259557724, -0.9561269879341125, 0.7860733270645142, 0.6951300501823425, 0.0739990845322609, 0.7793709635734558, 0.4141223430633545, -0.11210986971855164, 0.8188136219978333, 0.13080771267414093, 0.03745940700173378, 0.3441573679447174, -0.6414957642555237, 0.024832352995872498, -1.069627046585083, -0.13072606921195984, -0.9626910090446472, -0.15930891036987305, -0.5164055228233337, -0.6895472407341003, 0.2891831398010254, -0.12906885147094727, -0.32905131578445435, 0.3088645040988922, -0.3029778301715851, 0.42070677876472473, 0.7873789072036743, 0.29829785227775574, 0.34334421157836914, -0.21229079365730286, -0.4424300193786621, 0.12333329766988754, -0.6983956694602966, -0.29744192957878113, 1.321297526359558, 0.02596004121005535, 0.18428973853588104, 0.2855176627635956, 0.7084362506866455, -0.008312666788697243, -0.223836749792099, -0.7112264037132263, 0.6845216751098633, -0.18521426618099213, -1.1470998525619507, -0.44986650347709656, -0.8329799771308899, -1.2347710132598877, 0.21278835833072662, -0.08988851308822632, -0.7555500864982605, 0.2143724411725998, -0.013643183745443821, -0.5674363970756531, 0.21750390529632568, -0.7139674425125122, 1.0202373266220093, 0.10629424452781677, -0.26321640610694885, -0.2393072247505188, -0.6683894395828247, 0.4982079267501831, 0.031010951846837997, 0.15449480712413788, 0.015847807750105858, -0.23181942105293274, 0.8027243614196777, -0.18182814121246338, 0.489931583404541, 0.018422089517116547, 0.05735370144248009, 0.5147594809532166, 0.043259397149086, 0.21954087913036346, 0.30768710374832153, -0.36280930042266846, -0.02611045353114605, 0.4908209443092346, -0.7601523399353027, -0.40526002645492554, 0.36541345715522766, -0.8470649719238281, -0.6234812140464783, -0.6327013969421387, -0.9120368361473083, -0.31424108147621155, 0.4166991114616394, 0.3299511969089508, 0.6663936972618103, -0.028518253937363625, 0.3826800584793091, 0.8702941536903381, -0.3656904399394989, 0.3330146074295044, 0.6961852312088013, -0.0012667612172663212, -0.46465563774108887, 0.5499304533004761, 0.2955688238143921, 0.45863115787506104, 0.7024603486061096, -0.1043454110622406, -0.34759244322776794, -0.8698025345802307, -0.3040582537651062, 0.465728759765625, -0.4517810046672821, -0.12352029979228973, -0.8079922199249268, -0.5114773511886597, -0.37204059958457947, 0.2674565315246582, -0.006563981994986534, -0.45334866642951965, -0.40926679968833923, 0.08569896221160889, 0.3553065061569214, 0.4142128527164459, 0.22874148190021515, -0.040225572884082794, -0.6646345257759094, 0.5845014452934265, 0.2554512023925781, 0.13741180300712585, -0.13620489835739136, -0.9786252379417419, -0.13977034389972687, 0.32170018553733826, -0.18059824407100677, -0.8502854108810425, 0.3317188620567322, 0.14598968625068665, 0.6825268864631653, 0.06173516437411308, 0.6344227194786072, 0.49915811419487, -0.32227322459220886, 0.7722175717353821, -0.4015081226825714, -0.7079558968544006, 0.27826353907585144, -0.5507287383079529, 0.6737772226333618, 0.9043200016021729, 0.44885846972465515, -0.4956975281238556, -0.6180076003074646, -0.6853793263435364, -0.8692002296447754, 0.8563171625137329, 0.2929975092411041, -0.07103234529495239, -0.2537730932235718, 0.2913092374801636, -0.18843746185302734, 0.032025743275880814, -0.7051442265510559, -0.5225625038146973, 0.15710149705410004, -0.3121004104614258, -0.17546729743480682, -0.3128170967102051, -0.10973113775253296, -0.33823850750923157, 0.941214919090271, -0.18785490095615387, 0.4903917610645294, 0.4865211546421051, -0.27886343002319336, 0.031077701598405838, 0.2807973623275757, 0.7826392650604248, 0.7045067548751831, -0.3098652958869934, -0.006544444710016251, 0.05836112052202225, -0.3712521493434906, -0.10087127238512039, 0.3773447573184967, -0.39606571197509766, -0.16394594311714172, 0.3861374855041504, 0.48376837372779846, 0.04727328568696976, -0.7643680572509766, 0.3662661910057068, -0.11907719820737839, -0.6127371191978455, -0.44083935022354126, -0.0008831560262478888, 0.025264017283916473, 0.3772669732570648, 0.7050786018371582, -0.006150905974209309, -0.04571724683046341, -0.5508030652999878, 0.22562603652477264, 0.48635032773017883, -0.3467903435230255, -0.18635398149490356, 0.43940046429634094, -0.09079881757497787, -0.11410398781299591, 0.7145771384239197, -0.6048678159713745, -0.82590252161026, 0.7710123062133789, 0.3258160352706909, 0.7918501496315002, -0.00019573705503717065, 0.3448875844478607, 0.7645638585090637, 0.6006927490234375, 0.2545400559902191, 0.6293478012084961, 0.05576513707637787, -0.7027686238288879, -0.39712339639663696, -0.4095584750175476, -0.3292218744754791, 0.11017747968435287, -0.5530805587768555, -0.044980961829423904, -0.32703351974487305, 0.053611043840646744, -0.061932746320962906, 0.36990299820899963, -0.5473729372024536, -0.004215566907078028, -0.0877874419093132, 1.1120243072509766, -0.333074688911438, 0.6653398871421814, 0.844855010509491, -0.6375003457069397, -0.9006551504135132, 0.2406313717365265, -0.021717119961977005, -0.7498087882995605, 0.4141522943973541, -0.050802238285541534, 0.2614858150482178, 0.3328053951263428, -0.46996623277664185, -1.1120636463165283, 1.1161980628967285, 0.2269280105829239, -0.1321757286787033, -0.15399931371212006, -0.04869069531559944, 0.41793620586395264, -0.19635796546936035, 0.4594898819923401, 0.5624348521232605, 0.6319856643676758, 0.08712340891361237, -0.8193430304527283, 0.14511169493198395, -0.49218395352363586, -0.4074553847312927, 0.06278504431247711, -0.8417201638221741, 0.8317787647247314, -0.36501607298851013, -0.18407130241394043, 0.5521507859230042, 0.504381000995636, 0.5325319170951843, 0.3372426927089691, 0.3750559687614441, 0.6733407378196716, 0.9177402853965759, -0.19255758821964264, 1.0727097988128662, -0.4264938235282898, 0.31200161576271057, 1.1899572610855103, 0.12847891449928284, 0.9496537446975708, 0.44791197776794434, -0.5668506026268005, 0.700394332408905, 0.7007026076316833, 0.14288483560085297, 0.37456947565078735, 0.17207378149032593, -0.12936435639858246, -0.3439332842826843, 0.06381019204854965, -0.46684011816978455, 0.3689795732498169, 0.14724060893058777, -0.3304423689842224, -0.05663098767399788, -0.34990179538726807, -0.03744992986321449, 0.17873281240463257, -0.1603824496269226, 0.6683133840560913, 0.08039731532335281, -1.038451075553894, 1.1031243801116943, -0.11363372206687927, 0.3087179362773895, -0.6311872601509094, 0.31926053762435913, -0.3437153398990631, 0.03399847447872162, -0.08980453014373779, -0.904546320438385, 0.273110568523407, -0.09436249732971191, -0.5940139293670654, 0.0096505181863904, 0.07749079912900925, -0.4698951244354248, -0.4430786669254303, 0.2259887456893921, 0.6495082974433899, 0.018836213275790215, -0.06851275265216827, -0.8990790247917175, -0.22111615538597107, 0.21267665922641754, -0.3374803364276886, 0.16050049662590027, 0.5122368335723877, 0.29510852694511414, 0.8109705448150635, 0.5396178364753723, -0.23518973588943481, 0.40681466460227966, -0.275911808013916, 0.71043461561203, -0.67368483543396, -0.5712417364120483, -0.5086424946784973, 0.6364323496818542, -0.02048087865114212, -0.6584898233413696, 0.6634833812713623, 0.556339681148529, 0.6637178063392639, -0.04915592446923256, 0.795377790927887, -0.35748687386512756, 0.8605772852897644, -0.5203798413276672, 0.6544252038002014, -0.548222005367279, 0.07423441112041473, -0.18259812891483307, -1.0859344005584717, -0.20097076892852783, 0.425184428691864, -0.4311344027519226, 0.20149476826190948, 1.1036217212677002, 0.8406016230583191, 0.15309537947177887, -0.17296405136585236, 0.12530042231082916, 0.5822805762290955, -0.026322929188609123, 0.9109306931495667, 0.5604722499847412, -0.6381776928901672, 0.9964032769203186, -0.04463041573762894, -0.2021600604057312, -0.0320487879216671, -0.47515201568603516, -1.0511105060577393, -1.0289136171340942, -0.3440975546836853, -0.6231657862663269, 0.11154591292142868, 0.9872061610221863, 0.6278113722801208, -0.967494547367096, -0.1235562264919281, -0.07276391237974167, 0.45572981238365173, -0.2850179672241211, -0.2851831912994385, 0.30145880579948425, -0.4923143982887268, -0.8241752982139587, 0.3001595139503479, -0.10593817383050919, 0.04916604608297348, 0.12015928328037262, -0.1537656933069229, -0.7659329771995544, 0.14603622257709503, 0.4111662805080414, 0.635603666305542, -0.6846144199371338, -0.1368231326341629, 0.5070432424545288, -0.19207783043384552, 0.02092893049120903, 0.30416250228881836, -0.7881362438201904, 0.1475040465593338, 0.5739030241966248, 0.883327305316925, 0.6181046366691589, 0.0944177582859993, 0.5101384520530701, -0.5188375115394592, -0.1093757227063179, 0.36684370040893555, 0.2804785370826721, 0.15127234160900116, -0.00044635223457589746, 0.6121392250061035, 0.23688629269599915, -0.6045349836349487, -0.9609816074371338, 0.2244405597448349, -1.364410161972046, -0.25070711970329285, 1.4242552518844604, -0.18838033080101013, -0.2231704443693161, -0.30258384346961975, -0.22900451719760895, 0.18020521104335785, -0.4729805290699005, 0.5913211107254028, 0.7498882412910461, 0.25682491064071655, -0.522725522518158, -0.5493900775909424, 0.38563528656959534, 0.6619284152984619, -0.8755202293395996, 0.006694053299725056, 0.29777780175209045, 0.12537434697151184, 0.014956019818782806, 0.4997944235801697, -0.11500325053930283, 0.34731632471084595, -0.37116751074790955, -0.23705515265464783, -0.08030759543180466, -0.10608474165201187, -0.16584908962249756, 0.2431502342224121, -0.042318664491176605, -0.02457551285624504 ]
Salesforce/codet5p-220m
Salesforce
2023-05-16T00:33:56Z
7,550
17
transformers
[ "transformers", "pytorch", "t5", "text2text-generation", "arxiv:2305.07922", "license:bsd-3-clause", "autotrain_compatible", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text2text-generation
2023-05-13T10:34:57Z
--- license: bsd-3-clause --- # CodeT5+ 220M ## Model description [CodeT5+](https://github.com/salesforce/CodeT5/tree/main/CodeT5+) is a new family of open code large language models with an encoder-decoder architecture that can flexibly operate in different modes (i.e. _encoder-only_, _decoder-only_, and _encoder-decoder_) to support a wide range of code understanding and generation tasks. It is introduced in the paper: [CodeT5+: Open Code Large Language Models for Code Understanding and Generation](https://arxiv.org/pdf/2305.07922.pdf) by [Yue Wang](https://yuewang-cuhk.github.io/)\*, [Hung Le](https://sites.google.com/view/henryle2018/home?pli=1)\*, [Akhilesh Deepak Gotmare](https://akhileshgotmare.github.io/), [Nghi D.Q. Bui](https://bdqnghi.github.io/), [Junnan Li](https://sites.google.com/site/junnanlics), [Steven C.H. Hoi](https://sites.google.com/view/stevenhoi/home) (* indicates equal contribution). Compared to the original CodeT5 family (base: `220M`, large: `770M`), CodeT5+ is pretrained with a diverse set of pretraining tasks including _span denoising_, _causal language modeling_, _contrastive learning_, and _text-code matching_ to learn rich representations from both unimodal code data and bimodal code-text data. Additionally, it employs a simple yet effective _compute-efficient pretraining_ method to initialize the model components with frozen off-the-shelf LLMs such as [CodeGen](https://github.com/salesforce/CodeGen) to efficiently scale up the model (i.e. `2B`, `6B`, `16B`), and adopts a "shallow encoder and deep decoder" architecture. Furthermore, it is instruction-tuned to align with natural language instructions (see our InstructCodeT5+ 16B) following [Code Alpaca](https://github.com/sahil280114/codealpaca). ## How to use This model can be easily loaded using the `T5ForConditionalGeneration` functionality and employs the same tokenizer as original [CodeT5](https://github.com/salesforce/CodeT5). ```python from transformers import T5ForConditionalGeneration, AutoTokenizer checkpoint = "Salesforce/codet5p-220m" device = "cuda" # for GPU usage or "cpu" for CPU usage tokenizer = AutoTokenizer.from_pretrained(checkpoint) model = T5ForConditionalGeneration.from_pretrained(checkpoint).to(device) inputs = tokenizer.encode("def print_hello_world():<extra_id_0>", return_tensors="pt").to(device) outputs = model.generate(inputs, max_length=10) print(tokenizer.decode(outputs[0], skip_special_tokens=True)) # ==> print "Hello World" ``` ## Pretraining data This checkpoint is trained on the stricter permissive subset of the deduplicated version of the [github-code dataset](https://huggingface.co/datasets/codeparrot/github-code). The data is preprocessed by reserving only permissively licensed code ("mit" “apache-2”, “bsd-3-clause”, “bsd-2-clause”, “cc0-1.0”, “unlicense”, “isc”). Supported languages (9 in total) are as follows: `c`, `c++`, `c-sharp`, `go`, `java`, `javascript`, `php`, `python`, `ruby.` ## Training procedure This checkpoint is trained on the unimodal code data at the first-stage pretraining, which includes a diverse set of pretraining tasks including _span denoising_ and two variants of _causal language modeling_. Please refer to the paper for more details. ## Evaluation results CodeT5+ models have been comprehensively evaluated on a wide range of code understanding and generation tasks in various settings: _zero-shot_, _finetuning_, and _instruction-tuning_. Specifically, CodeT5+ yields substantial performance gains on many downstream tasks compared to their SoTA baselines, e.g., 8 text-to-code retrieval tasks (+3.2 avg. MRR), 2 line-level code completion tasks (+2.1 avg. Exact Match), and 2 retrieval-augmented code generation tasks (+5.8 avg. BLEU-4). In 2 math programming tasks on MathQA-Python and GSM8K-Python, CodeT5+ models of below billion-parameter sizes significantly outperform many LLMs of up to 137B parameters. Particularly, in the zero-shot text-to-code generation task on HumanEval benchmark, InstructCodeT5+ 16B sets new SoTA results of 35.0% pass@1 and 54.5% pass@10 against other open code LLMs, even surpassing the closed-source OpenAI code-cushman-001 mode Please refer to the [paper](https://arxiv.org/pdf/2305.07922.pdf) for more details. ## BibTeX entry and citation info ```bibtex @article{wang2023codet5plus, title={CodeT5+: Open Code Large Language Models for Code Understanding and Generation}, author={Wang, Yue and Le, Hung and Gotmare, Akhilesh Deepak and Bui, Nghi D.Q. and Li, Junnan and Hoi, Steven C. H.}, journal={arXiv preprint}, year={2023} } ```
[ -0.466736376285553, -0.38569214940071106, 0.16109082102775574, 0.309049516916275, -0.2003396600484848, 0.1571820080280304, -0.44994568824768066, -0.5737998485565186, -0.2674062252044678, 0.25469762086868286, -0.4303295612335205, -0.6490767598152161, -0.5034860968589783, 0.17154820263385773, -0.2725899815559387, 1.1479487419128418, -0.1820836216211319, 0.054699867963790894, 0.08937549591064453, -0.18394115567207336, -0.39337408542633057, -0.713952898979187, -0.3349624276161194, -0.12391891330480576, 0.3566117584705353, 0.24641533195972443, 0.4402928650379181, 0.6652956604957581, 0.5505484342575073, 0.23045113682746887, -0.04657938703894615, -0.08279095590114594, -0.48346710205078125, -0.3308258652687073, 0.22359859943389893, -0.5034691691398621, -0.7345432043075562, -0.14163663983345032, 0.38945069909095764, 0.49889498949050903, -0.036871232092380524, 0.3760262131690979, -0.09245254844427109, 0.3438916802406311, -0.5255606770515442, 0.33173155784606934, -0.5706376433372498, 0.0052237664349377155, -0.0999356210231781, -0.14400258660316467, -0.45867201685905457, -0.39565739035606384, -0.1643034815788269, -0.42962348461151123, 0.30017000436782837, -0.18467490375041962, 1.0705809593200684, 0.16390369832515717, -0.4281880557537079, -0.2932868003845215, -0.4946635663509369, 0.8057532906532288, -0.9605732560157776, 0.5005441308021545, 0.125112846493721, 0.046843428164720535, 0.09697798639535904, -1.0747668743133545, -0.5726539492607117, -0.12441721558570862, 0.06942255049943924, 0.1564871221780777, -0.24243012070655823, 0.2831311523914337, 0.6615059971809387, 0.47944098711013794, -0.7157638669013977, 0.007191033102571964, -0.6714872121810913, -0.18222980201244354, 0.5204222798347473, 0.008013073354959488, 0.30433064699172974, -0.16407977044582367, -0.4596541225910187, 0.03203444182872772, -0.8127630949020386, 0.10341490060091019, 0.11624541133642197, -0.03256664052605629, -0.44303151965141296, 0.08816471695899963, -0.20444849133491516, 0.6742176413536072, -0.12196262925863266, 0.01694275252521038, 0.588402509689331, -0.6805403232574463, -0.33820709586143494, -0.03574672341346741, 0.8946667313575745, 0.03472628816962242, 0.4006853699684143, -0.20879928767681122, -0.23925384879112244, 0.15216736495494843, 0.10516062378883362, -1.2676293849945068, -0.2768017649650574, 0.3189281225204468, -0.5129010081291199, -0.4234481155872345, 0.20656149089336395, -0.43356209993362427, 0.035586267709732056, -0.09262222051620483, 0.34799161553382874, -0.518785834312439, -0.26166900992393494, 0.3049639165401459, 0.023474011570215225, 0.491451233625412, 0.07898084819316864, -0.8602607846260071, 0.04159926995635033, 0.44613146781921387, 0.6643213629722595, 0.03382942080497742, -0.49187225103378296, -0.3541201651096344, -0.06996935606002808, -0.27400603890419006, 0.3933895230293274, -0.4408039152622223, -0.16062793135643005, -0.09725317358970642, 0.08316382765769958, 0.021368952468037605, -0.45536911487579346, 0.5152585506439209, -0.7886219620704651, 0.1946321725845337, -0.09773266315460205, -0.3899725377559662, -0.2948441803455353, 0.15151755511760712, -0.5698389410972595, 0.9147934317588806, 0.11158902943134308, -0.5484088659286499, 0.5485895276069641, -0.8032573461532593, -0.23669196665287018, 0.05266807600855827, -0.11365675926208496, -0.5204980373382568, -0.09287629276514053, 0.18449446558952332, 0.5108232498168945, -0.3873516619205475, 0.5287383794784546, -0.2984219789505005, -0.4981265068054199, 0.17437951266765594, -0.4139394164085388, 0.9047713279724121, 0.5530642867088318, -0.6056358814239502, 0.26280906796455383, -0.8620816469192505, 0.22187717258930206, 0.22119690477848053, -0.4829981029033661, 0.07635046541690826, -0.24789445102214813, 0.007630819454789162, 0.3711625933647156, 0.3592117726802826, -0.4019904136657715, 0.3654302656650543, -0.2895728349685669, 0.7882998585700989, 0.4937489926815033, -0.08038777858018875, 0.3336641490459442, -0.1306396722793579, 0.6952470541000366, 0.3282148540019989, 0.21106602251529694, -0.7432835102081299, -0.2619111239910126, -0.8427648544311523, -0.3042925298213959, 0.529577910900116, 0.2972431480884552, -0.6396844387054443, 0.4612243175506592, -0.5519082546234131, -0.4672839045524597, -0.371096670627594, 0.12707997858524323, 0.6969580054283142, 0.11531713604927063, 0.4176679253578186, -0.37448447942733765, -0.8548632264137268, -0.4622924327850342, -0.09648562222719193, 0.01317925751209259, 0.1650804579257965, -0.040796395391225815, 0.6229402422904968, -0.45031434297561646, 0.8248993754386902, -0.49246761202812195, 0.07603050023317337, -0.4500253200531006, 0.0870550200343132, 0.279681533575058, 0.6627346873283386, 0.5511143207550049, -0.597466766834259, -0.3081600069999695, -0.09177960455417633, -0.7811064124107361, -0.04740110784769058, -0.062297333031892776, 0.08745334297418594, 0.5149271488189697, 0.5983501672744751, -0.4202593266963959, 0.263729065656662, 0.6686894297599792, -0.4063149690628052, 0.42953580617904663, -0.168319433927536, 0.03314393013715744, -1.3766522407531738, 0.2882627248764038, -0.15207214653491974, -0.23360587656497955, -0.5893845558166504, 0.2947859764099121, 0.32538560032844543, -0.26749753952026367, -0.4858703017234802, 0.28335607051849365, -0.7602490186691284, -0.06448262184858322, 0.07827519625425339, -0.047067057341337204, 0.018766338005661964, 0.8615886569023132, -0.034217387437820435, 0.9524612426757812, 0.3456763029098511, -0.6437478065490723, 0.15897594392299652, 0.0873188003897667, -0.3270479738712311, -0.1614169031381607, -0.7419441938400269, 0.3217182755470276, 0.2441413402557373, 0.35964494943618774, -0.8634143471717834, -0.1461174488067627, -0.05371733754873276, -0.6915941834449768, 0.15587039291858673, -0.2399274706840515, -0.5753743052482605, -0.3854750990867615, -0.3571856915950775, 0.7418383955955505, 0.7522031664848328, -0.5311657786369324, 0.12754300236701965, 0.08478543907403946, 0.13945679366588593, -0.45553940534591675, -0.7298159599304199, 0.10200254619121552, -0.1764383316040039, -0.6620973348617554, 0.3514908254146576, -0.17270320653915405, 0.13695013523101807, -0.12292744219303131, -0.05535475164651871, -0.055761657655239105, -0.0013240891275927424, 0.11219528317451477, 0.34079575538635254, -0.47627925872802734, 0.004832720384001732, -0.18474514782428741, -0.22703327238559723, 0.00016545063408557326, -0.5001436471939087, 0.8607041835784912, -0.41387149691581726, -0.1735527664422989, -0.289054274559021, -0.060883283615112305, 0.568859875202179, -0.6781701445579529, 0.678198516368866, 0.7977167367935181, -0.2937357425689697, -0.10255996137857437, -0.43099552392959595, -0.04160871356725693, -0.4822760224342346, 0.635983943939209, -0.4841355085372925, -0.8646136522293091, 0.6450545191764832, 0.06823992729187012, 0.10848917067050934, 0.38094887137413025, 0.6018571853637695, 0.4062909185886383, 0.9953176975250244, 0.5652440190315247, -0.13553430140018463, 0.6707996726036072, -0.6165381669998169, 0.2744724452495575, -0.5860946774482727, -0.14293523132801056, -0.5629643201828003, -0.03860851004719734, -0.7366949319839478, -0.49111121892929077, 0.1292313188314438, 0.23439230024814606, -0.6020669937133789, 0.6254923343658447, -0.48348820209503174, 0.37003374099731445, 0.47010567784309387, -0.07110624015331268, 0.3833392560482025, -0.03797295317053795, -0.023698855191469193, 0.015381491743028164, -0.8140335083007812, -0.42923465371131897, 1.2605359554290771, 0.4842938780784607, 0.7603944540023804, 0.06335505098104477, 0.8086707592010498, -0.012647533789277077, 0.0854695662856102, -0.5928276777267456, 0.45760634541511536, -0.06617236882448196, -0.4952167272567749, 0.05668344721198082, -0.6175053715705872, -0.9213364124298096, 0.029535489156842232, 0.10349754244089127, -0.5481626987457275, 0.16098454594612122, 0.06603292375802994, -0.34934279322624207, 0.2521941363811493, -1.0901737213134766, 1.0957860946655273, -0.18289043009281158, -0.3205987811088562, -0.11197343468666077, -0.6202986836433411, 0.4662206470966339, -0.047773901373147964, 0.19898675382137299, 0.2679051160812378, -0.03540496900677681, 0.8100368976593018, -0.4700295925140381, 0.7268444299697876, -0.23782308399677277, -0.21839192509651184, 0.24623212218284607, -0.11324574798345566, 0.4315679967403412, -0.03614851459860802, -0.029954666271805763, 0.4592497646808624, 0.26064401865005493, -0.5343825221061707, -0.46053260564804077, 0.6167722344398499, -0.8904332518577576, -0.26618853211402893, -0.3234817683696747, -0.4697732627391815, -0.04880068823695183, 0.5269428491592407, 0.4053831994533539, 0.774218738079071, 0.06045495718717575, 0.5046490430831909, 0.6895961165428162, -0.5499036312103271, 0.6394869685173035, 0.4854661226272583, -0.2784351110458374, -0.5334782004356384, 1.0303889513015747, 0.09707334637641907, 0.42820993065834045, 0.3337811231613159, -0.15549808740615845, -0.14906539022922516, -0.5419885516166687, -0.5098984241485596, 0.16420137882232666, -0.6331562995910645, -0.40052276849746704, -0.6320503354072571, -0.4037151336669922, -0.4512079358100891, -0.07167012989521027, -0.3285907804965973, -0.15634150803089142, -0.08271677047014236, -0.12340150773525238, 0.2849956750869751, 0.5832697749137878, 0.2773476839065552, 0.13651975989341736, -0.9557377696037292, 0.3031332790851593, -0.06844981014728546, 0.50673907995224, 0.030532315373420715, -0.5772326588630676, -0.5316940546035767, 0.15511652827262878, -0.3979545831680298, -0.6067390441894531, 0.278879314661026, 0.024721384048461914, 0.28849342465400696, 0.3252726197242737, 0.08156932145357132, 0.8385590314865112, -0.23079323768615723, 0.8662326335906982, 0.1509915143251419, -1.1147023439407349, 0.3597566485404968, -0.45705825090408325, 0.5612671375274658, 0.4033462107181549, 0.10452154278755188, -0.47388866543769836, -0.2595260441303253, -0.7455973625183105, -0.863196611404419, 1.0691605806350708, 0.20546887814998627, 0.22198337316513062, 0.14656227827072144, 0.1785021871328354, -0.0666007399559021, 0.26940077543258667, -1.084052562713623, -0.12848348915576935, -0.36379820108413696, -0.4393410086631775, -0.028463315218687057, -0.2569427788257599, 0.1855337917804718, -0.35265201330184937, 0.5062491297721863, -0.13220375776290894, 0.7490584254264832, 0.11741531640291214, -0.4000924229621887, 0.0646035224199295, 0.2615920603275299, 0.8311062455177307, 0.6778188943862915, -0.14443156123161316, 0.07076557725667953, 0.2664182782173157, -0.6792119741439819, -0.041905250400304794, 0.2246517390012741, 0.03289568051695824, -0.17690764367580414, 0.5920649170875549, 1.0616663694381714, 0.22441712021827698, -0.7351571917533875, 0.6540994048118591, -0.10672111064195633, -0.4051011800765991, -0.2989767789840698, 0.20431946218013763, 0.054172322154045105, 0.11422299593687057, 0.31272581219673157, 0.08417141437530518, -0.07502920180559158, -0.5964233875274658, 0.20198406279087067, 0.11268764734268188, -0.3958490490913391, -0.531089723110199, 0.7981369495391846, 0.3093342185020447, -0.06579529494047165, 0.45029574632644653, -0.3469170331954956, -0.6777752637863159, 0.7969105243682861, 0.6293200254440308, 0.9164234399795532, 0.08290820568799973, -0.1066761314868927, 0.5152695178985596, 0.3410486876964569, 0.17512564361095428, 0.3839574456214905, -0.26203298568725586, -0.654309868812561, -0.42474764585494995, -0.5974724292755127, 0.05608480051159859, 0.17791423201560974, -0.5166245698928833, 0.48562192916870117, -0.3419231176376343, 0.15233197808265686, -0.3024425804615021, 0.2692113220691681, -0.7466388940811157, 0.31799110770225525, 0.039353422820568085, 0.9687774181365967, -0.3866727352142334, 1.172121286392212, 0.693649172782898, -0.9249575734138489, -1.1611336469650269, 0.31781989336013794, -0.4429509937763214, -0.8203949928283691, 0.623054027557373, 0.2691204845905304, -0.02173927240073681, 0.3933119773864746, -0.654657244682312, -0.6669219732284546, 1.3314160108566284, 0.4740385115146637, -0.4498000741004944, -0.22481445968151093, 0.15616051852703094, 0.5716723799705505, -0.19120247662067413, 0.48722198605537415, 0.47748494148254395, 0.22761043906211853, -0.026455141603946686, -0.8594468832015991, 0.30689117312431335, -0.4645634591579437, 0.08781564980745316, 0.21217231452465057, -0.8694404363632202, 0.8603024482727051, -0.392161101102829, -0.11132177710533142, 0.0008502780692651868, 0.5650981068611145, 0.32876479625701904, 0.09900153428316116, 0.2612519860267639, 0.38433125615119934, 0.47534191608428955, -0.20503248274326324, 0.992068886756897, -0.7851637601852417, 0.5987770557403564, 0.6880941390991211, 0.06788206100463867, 0.6378687024116516, 0.2309519648551941, -0.22679796814918518, 0.4339401423931122, 0.5951584577560425, -0.11046363413333893, 0.28914815187454224, 0.033763233572244644, -0.10315588861703873, -0.07349596917629242, 0.21667349338531494, -0.7665905952453613, 0.4022964537143707, 0.06973271071910858, -0.47864818572998047, -0.06122380867600441, -0.15881872177124023, 0.3608933389186859, -0.30926090478897095, -0.06158677861094475, 0.7623381018638611, 0.14288392663002014, -0.7447823882102966, 1.1515878438949585, 0.30536872148513794, 0.8827841281890869, -0.7228686809539795, 0.02087915688753128, -0.36508163809776306, 0.41053512692451477, -0.4306301474571228, -0.42039501667022705, 0.19271403551101685, 0.3371208608150482, -0.0411694198846817, -0.346688836812973, 0.5436511039733887, -0.36556270718574524, -0.2379469871520996, 0.32232367992401123, 0.14838555455207825, -0.0022866108920425177, 0.09722913056612015, -0.5526395440101624, 0.2925091087818146, 0.23054008185863495, -0.31817513704299927, 0.20448705554008484, 0.49894043803215027, -0.08702841401100159, 0.47447967529296875, 0.6151536703109741, -0.10747603327035904, 0.2803935706615448, 0.11301939189434052, 0.8962201476097107, -0.9262916445732117, -0.5078452229499817, -0.8073655962944031, 0.5378938913345337, 0.20720648765563965, -0.5514217019081116, 0.7319344282150269, 0.7971774935722351, 1.1452324390411377, -0.20320409536361694, 0.8724202513694763, -0.30374130606651306, 0.06871319562196732, -0.6782011389732361, 0.7312348484992981, -0.5746039152145386, 0.44439658522605896, -0.4732070863246918, -0.8519619703292847, -0.3488004207611084, 0.3289099931716919, -0.4591042399406433, 0.5523927211761475, 0.8380419611930847, 0.8559995293617249, -0.11865228414535522, -0.06759677082300186, 0.3889850080013275, 0.3606480062007904, 0.5692510604858398, 0.9094395041465759, 0.6202083826065063, -0.8288539052009583, 0.935916543006897, -0.05117417126893997, -0.04887646436691284, -0.15825976431369781, -0.5989982485771179, -0.8568026423454285, -0.5835337042808533, -0.1378917098045349, -0.35518786311149597, 0.046336255967617035, 1.014634132385254, 0.7704949975013733, -0.810158908367157, -0.2807457447052002, -0.5635043978691101, -0.142935648560524, -0.01851077936589718, -0.2058817446231842, 0.20437708497047424, -0.6342450976371765, -0.777469277381897, 0.01589968614280224, 0.03809255361557007, -0.16380514204502106, -0.2451261729001999, -0.42215627431869507, -0.038071099668741226, -0.10544313490390778, 0.6048427224159241, 0.14709751307964325, -0.5307741165161133, -0.013686124235391617, 0.1954866647720337, -0.28710973262786865, 0.2611248791217804, 0.775304913520813, -0.7091257572174072, 0.3163711130619049, 0.5236914157867432, 0.6272972822189331, 0.59987872838974, -0.08058284968137741, 0.6244195699691772, -0.5838483572006226, 0.3103507459163666, 0.004222813993692398, 0.3379468619823456, 0.0792350247502327, -0.1279386281967163, 0.4975667893886566, 0.3812077045440674, -0.4967515170574188, -0.9135488867759705, 0.16779470443725586, -0.8672966361045837, -0.1417463719844818, 1.295998454093933, -0.24811723828315735, -0.14701741933822632, 0.04196532815694809, -0.3210734724998474, 0.46868613362312317, -0.37570837140083313, 0.48606035113334656, 0.4884202778339386, 0.2091316282749176, -0.25887444615364075, -0.6332108974456787, 0.5143275856971741, 0.3391505181789398, -0.954359769821167, -0.060136668384075165, 0.31743478775024414, 0.3779986500740051, -0.09191199392080307, 0.7014815807342529, -0.35945647954940796, 0.4218321442604065, 0.004757676739245653, 0.6007086634635925, -0.3153115510940552, -0.19392108917236328, -0.5098475217819214, 0.12202095240354538, 0.27138838171958923, -0.35028597712516785 ]
anton-l/wav2vec2-base-superb-sv
anton-l
2022-11-11T19:30:49Z
7,543
1
transformers
[ "transformers", "pytorch", "wav2vec2", "audio-xvector", "speech", "audio", "audio-classification", "en", "dataset:superb", "arxiv:2105.01051", "arxiv:1910.09700", "arxiv:2006.11477", "license:apache-2.0", "endpoints_compatible", "has_space", "region:us" ]
audio-classification
2022-03-02T23:29:05Z
--- language: en datasets: - superb tags: - speech - audio - wav2vec2 - audio-classification license: apache-2.0 --- # Model Card for wav2vec2-base-superb-sv # Model Details ## Model Description - **Developed by:** Shu-wen Yang et al. - **Shared by:** Anton Lozhkov - **Model type:** Wav2Vec2 with an XVector head - **Language(s) (NLP):** English - **License:** Apache 2.0 - **Related Models:** - **Parent Model:** wav2vec2-large-lv60 - **Resources for more information:** - [GitHub Repo](https://github.com/s3prl/s3prl/tree/master/s3prl/downstream/sv_voxceleb1) - [Associated Paper](https://arxiv.org/abs/2105.010517) # Uses ## Direct Use This is a ported version of [S3PRL's Wav2Vec2 for the SUPERB Speaker Verification task](https://github.com/s3prl/s3prl/tree/master/s3prl/downstream/sv_voxceleb1). The base model is [wav2vec2-large-lv60](https://huggingface.co/facebook/wav2vec2-large-lv60), which is pretrained on 16kHz sampled speech audio. When using the model make sure that your speech input is also sampled at 16Khz. For more information refer to [SUPERB: Speech processing Universal PERformance Benchmark](https://arxiv.org/abs/2105.01051) ## Out-of-Scope Use The model should not be used to intentionally create hostile or alienating environments for people. # Bias, Risks, and Limitations Significant research has explored bias and fairness issues with language models (see, e.g., [Sheng et al. (2021)](https://aclanthology.org/2021.acl-long.330.pdf) and [Bender et al. (2021)](https://dl.acm.org/doi/pdf/10.1145/3442188.3445922)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups. ## Recommendations Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. # Training Details ## Training Data See the [superb dataset card](https://huggingface.co/datasets/superb) ## Training Procedure ### Preprocessing More information needed ### Speeds, Sizes, Times More information needed # Evaluation ## Testing Data, Factors & Metrics ### Testing Data See the [superb dataset card](https://huggingface.co/datasets/superb) ### Factors ### Metrics More information needed ## Results More information needed # Model Examination More information needed # Environmental Impact Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700). - **Hardware Type:** More information needed - **Hours used:** More information needed - **Cloud Provider:** More information needed - **Compute Region:** More information needed - **Carbon Emitted:** More information needed # Technical Specifications [optional] ## Model Architecture and Objective More information needed ## Compute Infrastructure More information needed ### Hardware More information needed ### Software More information needed # Citation **BibTeX:** ``` @misc{https://doi.org/10.48550/arxiv.2006.11477, doi = {10.48550/ARXIV.2006.11477}, url = {https://arxiv.org/abs/2006.11477}, author = {Baevski, Alexei and Zhou, Henry and Mohamed, Abdelrahman and Auli, Michael}, keywords = {Computation and Language (cs.CL), Machine Learning (cs.LG), Sound (cs.SD), Audio and Speech Processing (eess.AS), FOS: Computer and information sciences, FOS: Computer and information sciences, FOS: Electrical engineering, electronic engineering, information engineering, FOS: Electrical engineering, electronic engineering, information engineering}, title = {wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations}, publisher = {arXiv}, @misc{https://doi.org/10.48550/arxiv.2105.01051, doi = {10.48550/ARXIV.2105.01051}, url = {https://arxiv.org/abs/2105.01051}, author = {Yang, Shu-wen and Chi, Po-Han and Chuang, Yung-Sung and Lai, Cheng-I Jeff and Lakhotia, Kushal and Lin, Yist Y. and Liu, Andy T. and Shi, Jiatong and Chang, Xuankai and Lin, Guan-Ting and Huang, Tzu-Hsien and Tseng, Wei-Cheng and Lee, Ko-tik and Liu, Da-Rong and Huang, Zili and Dong, Shuyan and Li, Shang-Wen and Watanabe, Shinji and Mohamed, Abdelrahman and Lee, Hung-yi}, keywords = {Computation and Language (cs.CL), Sound (cs.SD), Audio and Speech Processing (eess.AS), FOS: Computer and information sciences, FOS: Computer and information sciences, FOS: Electrical engineering, electronic engineering, information engineering, FOS: Electrical engineering, electronic engineering, information engineering}, title = {SUPERB: Speech processing Universal PERformance Benchmark}, publisher = {arXiv}, year = {2021}, } ``` # Glossary [optional] More information needed # More Information [optional] More information needed # Model Card Authors [optional] Anton Lozhkov in collaboration with Ezi Ozoani and the Hugging Face team # Model Card Contact More information needed # How to Get Started with the Model Use the code below to get started with the model. <details> <summary> Click to expand </summary> ```python from transformers import AutoProcessor, AutoModelForAudioXVector processor = AutoProcessor.from_pretrained("anton-l/wav2vec2-base-superb-sv") model = AutoModelForAudioXVector.from_pretrained("anton-l/wav2vec2-base-superb-sv") ``` </details>
[ -0.4392205476760864, -0.5058630108833313, 0.263165682554245, 0.09158315509557724, -0.12242607772350311, -0.24193117022514343, -0.1816353052854538, -0.518343448638916, -0.1457848995923996, 0.4573964476585388, -0.6400653123855591, -0.45267200469970703, -0.6105047464370728, -0.31033211946487427, -0.21919943392276764, 0.7193357944488525, 0.403004914522171, 0.2548941969871521, -0.23307524621486664, -0.10497374087572098, -0.41452959179878235, -0.698248565196991, -0.48343896865844727, -0.46535152196884155, -0.1878100484609604, 0.20966221392154694, 0.26739048957824707, 0.5875371694564819, 0.205891415476799, 0.3501175045967102, -0.4017590284347534, 0.05032443255186081, -0.4584471583366394, -0.07681098580360413, -0.11783720552921295, -0.3747239112854004, -0.4276390075683594, -0.00039547288906760514, 0.6644209623336792, 0.4813331961631775, -0.3131196200847626, 0.37996697425842285, 0.16543810069561005, 0.3676055073738098, -0.2741778492927551, 0.48897531628608704, -0.7168979644775391, -0.008956162258982658, -0.15244463086128235, -0.09830958396196365, -0.25219735503196716, 0.038449764251708984, -0.06666513532400131, -0.471955269575119, 0.10991848260164261, -0.14242161810398102, 0.8751690983772278, 0.36912229657173157, -0.17425626516342163, -0.09719390422105789, -0.7327716946601868, 0.8825759887695312, -0.8519879579544067, 0.7100496292114258, 0.4088119864463806, 0.0822613537311554, -0.17083962261676788, -0.7217960357666016, -0.708641767501831, -0.14953801035881042, 0.3341312110424042, 0.37404724955558777, -0.48994332551956177, -0.05598039925098419, 0.35858073830604553, 0.2863237261772156, -0.518959641456604, 0.3322029709815979, -0.43038085103034973, -0.5081931948661804, 0.7036595344543457, 0.013099173083901405, 0.20040735602378845, -0.34769290685653687, -0.212729811668396, -0.38697075843811035, -0.41366374492645264, 0.30308979749679565, 0.39775288105010986, 0.42624902725219727, -0.564271867275238, 0.41437840461730957, -0.029572606086730957, 0.40154656767845154, 0.03265479952096939, -0.19642499089241028, 0.6734292507171631, -0.46666237711906433, -0.05000664293766022, 0.02832750417292118, 0.9768581390380859, 0.11649072170257568, 0.04531298205256462, 0.2587539553642273, -0.050296299159526825, 0.02920936979353428, -0.017854858189821243, -0.71778404712677, -0.24709905683994293, 0.3301497995853424, -0.3576529324054718, -0.027310723438858986, -0.057097822427749634, -0.521521270275116, 0.004583410918712616, -0.5475344657897949, 0.4763287901878357, -0.35541680455207825, -0.4903644025325775, 0.013063102960586548, -0.0654577910900116, 0.3298894166946411, -0.10594258457422256, -0.8866705894470215, 0.47094812989234924, 0.6051905155181885, 0.6210726499557495, -0.04217902198433876, -0.10069328546524048, -0.4727393388748169, -0.054263245314359665, -0.2604217231273651, 0.5964493751525879, -0.30324333906173706, -0.6182758808135986, -0.13884824514389038, 0.003150425385683775, 0.15539750456809998, -0.4899243712425232, 0.8572089672088623, -0.1818421334028244, 0.28541383147239685, -0.13138820230960846, -0.6392350792884827, -0.24675597250461578, -0.4104539752006531, -0.3017200529575348, 1.2372524738311768, 0.0417613685131073, -0.6455046534538269, -0.07954684644937515, -0.44331473112106323, -0.4387798011302948, -0.004763169679790735, -0.2977115213871002, -0.5986654162406921, -0.0839012861251831, 0.20277024805545807, 0.4954625964164734, -0.33371227979660034, 0.2649920582771301, -0.21070414781570435, -0.23144513368606567, -0.04339960590004921, -0.35387179255485535, 1.0856715440750122, 0.3159107565879822, -0.6108459234237671, 0.0502665713429451, -0.9387230277061462, 0.0758310854434967, 0.1833566129207611, -0.22097420692443848, -0.0004615503130480647, 0.006126361899077892, 0.24339048564434052, 0.33507826924324036, 0.2895268499851227, -0.46598121523857117, -0.14674268662929535, -0.5203872919082642, 0.574846625328064, 0.7073554396629333, -0.16414488852024078, 0.16424359381198883, -0.042299576103687286, 0.183792382478714, -0.22247415781021118, 0.13118520379066467, 0.0781882181763649, -0.5854936242103577, -0.7804338932037354, -0.169983372092247, 0.31092554330825806, 0.6926465034484863, -0.3687974512577057, 0.9102283716201782, -0.1321403533220291, -0.7460845112800598, -0.5283650159835815, -0.05062320828437805, 0.527768611907959, 0.4069443643093109, 0.686996340751648, -0.20000053942203522, -0.89265376329422, -0.8558372259140015, 0.03996080160140991, -0.34557798504829407, -0.10542434453964233, 0.6423270106315613, 0.3803237974643707, -0.305540531873703, 0.8191118836402893, -0.39267969131469727, -0.4399382174015045, -0.273237943649292, 0.025545747950673103, 0.25749102234840393, 0.7554405331611633, 0.3662152588367462, -0.6614111065864563, -0.11697067320346832, -0.2020246833562851, -0.5483359098434448, -0.163829505443573, 0.05594746023416519, 0.05975012853741646, 0.3493052124977112, 0.4862653315067291, -0.4371415674686432, 0.15077771246433258, 0.5906673073768616, -0.17138800024986267, 0.6816619634628296, -0.21893084049224854, -0.09655845165252686, -1.0846222639083862, 0.031040793284773827, 0.19231031835079193, -0.0840533897280693, -0.54356849193573, -0.18930840492248535, -0.15302801132202148, -0.02709607407450676, -0.5652032494544983, 0.42063209414482117, -0.3560221791267395, -0.16298367083072662, -0.2246452122926712, -0.009310883469879627, -0.19081096351146698, 0.6770148277282715, 0.17002588510513306, 0.7485871315002441, 0.8665781617164612, -0.6731242537498474, 0.26136070489883423, 0.30041518807411194, -0.26291486620903015, 0.4042884111404419, -0.843087911605835, 0.44166362285614014, 0.12831547856330872, 0.3753920793533325, -0.9811891317367554, -0.043524082750082016, 0.18211477994918823, -0.8985098600387573, 0.5606900453567505, -0.23627272248268127, -0.48789140582084656, -0.626638650894165, 0.0172874853014946, 0.2824251055717468, 0.8128933906555176, -0.5490463972091675, 0.494903028011322, 0.8613873720169067, -0.16261950135231018, -0.370138943195343, -0.8276680707931519, -0.16447198390960693, -0.0072201453149318695, -0.5021188259124756, 0.499568372964859, -0.19410161674022675, 0.11582273989915848, -0.18634262681007385, -0.20144659280776978, -0.018759137019515038, -0.1434173285961151, 0.4544084370136261, 0.31129735708236694, -0.05110275372862816, -0.016571443527936935, -0.07227256894111633, -0.32052063941955566, 0.18027867376804352, -0.4138104021549225, 0.5788565278053284, -0.20663389563560486, -0.10062962025403976, -0.9282587766647339, 0.33620476722717285, 0.5017797946929932, -0.2425784021615982, 0.3962956666946411, 0.7927509546279907, -0.5586163997650146, -0.08021502196788788, -0.6380457878112793, -0.16943994164466858, -0.506278932094574, 0.7834120988845825, -0.3213353753089905, -0.8920009136199951, 0.4200163781642914, 0.27258527278900146, -0.1087319403886795, 0.8627498745918274, 0.6675828695297241, -0.04971656948328018, 1.1482558250427246, 0.48931512236595154, -0.1727159470319748, 0.3680728077888489, -0.6860710978507996, 0.09038499742746353, -0.9807441234588623, -0.4603591561317444, -0.8255820274353027, 0.19741711020469666, -0.6160634160041809, -0.6465280055999756, 0.157586470246315, 0.06169307976961136, -0.31884339451789856, 0.5756492018699646, -0.7026076912879944, 0.02894476056098938, 0.6755433082580566, -0.10967767238616943, -0.1557077169418335, 0.1124524250626564, -0.22455823421478271, -0.09093862771987915, -0.6114990711212158, -0.29193899035453796, 0.8682838082313538, 0.6382771730422974, 0.4444468319416046, -0.010474841110408306, 0.5554406046867371, 0.2208709567785263, -0.46432921290397644, -0.6757776737213135, 0.6688746213912964, -0.3694741427898407, -0.5031619668006897, -0.34195899963378906, -0.5002612471580505, -0.6815469861030579, 0.21407271921634674, -0.2590591311454773, -0.903005838394165, 0.30084168910980225, 0.2079768031835556, -0.36119934916496277, 0.27592918276786804, -0.5533705353736877, 0.6344055533409119, -0.10980816930532455, -0.23035384714603424, -0.3893671929836273, -0.5304827094078064, 0.06026212498545647, 0.17552359402179718, 0.31271499395370483, -0.0682886466383934, 0.3431829810142517, 1.1170399188995361, -0.38343411684036255, 0.773102343082428, -0.4579710364341736, -0.029554488137364388, 0.5864080786705017, -0.2096271812915802, 0.6881027221679688, -0.13716287910938263, -0.14918096363544464, 0.7185359597206116, 0.09004510194063187, -0.16519324481487274, -0.21956659853458405, 0.8421136736869812, -1.1170185804367065, -0.3954296410083771, -0.22213579714298248, -0.29677703976631165, -0.2723366320133209, 0.1029631718993187, 0.5488337874412537, 0.6835814714431763, -0.00451758224517107, 0.24760545790195465, 0.6296873688697815, -0.2764133810997009, 0.24868404865264893, 0.5314146280288696, 0.1291588395833969, -0.5752051472663879, 1.1807072162628174, 0.4740842580795288, 0.12151653319597244, 0.17615893483161926, 0.28656771779060364, -0.6681429147720337, -0.6897134184837341, -0.1798468381166458, 0.2611886262893677, -0.5673822164535522, -0.04052059352397919, -0.9075930714607239, -0.4434831440448761, -0.7781006097793579, 0.3640357255935669, -0.7961598038673401, -0.43474486470222473, -0.626047670841217, -0.09419439733028412, 0.2460281103849411, 0.44807493686676025, -0.5025026798248291, 0.07251899689435959, -0.4425909221172333, 0.4017106592655182, 0.40279367566108704, 0.23081104457378387, 0.029033130034804344, -1.0467249155044556, -0.21018631756305695, 0.15193353593349457, -0.304098516702652, -0.5042988061904907, 0.23571047186851501, 0.15880954265594482, 0.8586475253105164, 0.2290325164794922, -0.01150186825543642, 0.5513018369674683, -0.4800260066986084, 1.1165823936462402, 0.3447936475276947, -1.0770493745803833, 0.620811939239502, -0.32525959610939026, 0.21793219447135925, 0.3852153420448303, 0.24116475880146027, -0.44096043705940247, -0.2028253823518753, -0.8624168038368225, -0.9151772856712341, 0.9315014481544495, 0.3700082302093506, 0.2356831431388855, 0.0824444442987442, 0.22730235755443573, -0.11211822181940079, -0.10049393773078918, -0.6163366436958313, -0.7105967402458191, -0.44284120202064514, -0.055764827877283096, -0.14873723685741425, -0.45341068506240845, 0.11182358860969543, -0.5697900652885437, 1.11988365650177, 0.0479157492518425, 0.6464692950248718, 0.2613943815231323, 0.10965633392333984, 0.11139559745788574, 0.21782468259334564, 0.6440386772155762, 0.17855042219161987, -0.22446191310882568, 0.0639994740486145, 0.3672070801258087, -0.4951881766319275, -0.004756493493914604, 0.3331562876701355, 0.07365761697292328, -0.1502283662557602, 0.2822610139846802, 1.0816597938537598, 0.0928817167878151, -0.3697918653488159, 0.6470610499382019, 0.021704871207475662, -0.5346341729164124, -0.4532376229763031, 0.24452480673789978, 0.2516784369945526, 0.16662438213825226, 0.38490283489227295, 0.10556325316429138, 0.31990665197372437, -0.3752557933330536, 0.17687392234802246, 0.36879685521125793, -0.7582569122314453, -0.2765669822692871, 0.8367571830749512, 0.29881227016448975, -0.37388408184051514, 0.5110047459602356, -0.252920925617218, -0.5178062915802002, 0.6864526271820068, 0.685524046421051, 0.8797582387924194, -0.34878528118133545, -0.10591230541467667, 0.6984369158744812, 0.1257697492837906, -0.016254577785730362, 0.3004662096500397, -0.22223033010959625, -0.5720484852790833, -0.35633909702301025, -0.6163249611854553, -0.2487141340970993, 0.45851853489875793, -0.6186654567718506, 0.20881539583206177, -0.38877904415130615, -0.23550760746002197, 0.07625995576381683, 0.2314135581254959, -0.7631531357765198, 0.24962352216243744, 0.5899977087974548, 0.8127138018608093, -0.7545309066772461, 0.9310535192489624, 0.4165205955505371, -0.25721293687820435, -1.0976663827896118, -0.24409766495227814, 0.23904891312122345, -0.6652872562408447, 0.3800587058067322, 0.13417930901050568, -0.3657877743244171, 0.10950949788093567, -0.5569044947624207, -0.9653809666633606, 1.0017881393432617, 0.3701171576976776, -0.8786782622337341, 0.3470780551433563, 0.01730583794414997, 0.5040842294692993, -0.29359400272369385, 0.37319597601890564, 0.5772899985313416, 0.36813199520111084, 0.16374571621418, -1.0813571214675903, -0.07069581747055054, -0.4289276599884033, 0.07905702292919159, -0.30405449867248535, -0.7825868129730225, 0.6343848705291748, -0.3652319014072418, -0.26130616664886475, 0.03994598984718323, 0.879090428352356, 0.3958934247493744, 0.13202671706676483, 0.5689120888710022, 0.5289809107780457, 0.8418906927108765, -0.07136533409357071, 0.7998944520950317, -0.313788503408432, 0.5433986186981201, 1.2944860458374023, 0.020575782284140587, 0.9293835759162903, 0.1975688934326172, -0.5907027721405029, 0.4268479645252228, 0.4633205831050873, -0.19502095878124237, 0.5794498920440674, 0.22900010645389557, -0.09262829273939133, -0.3808414340019226, -0.23207861185073853, -0.8354541659355164, 0.6126303672790527, 0.2654687166213989, -0.21017199754714966, 0.27587857842445374, -0.013285541906952858, -0.06914222985506058, -0.046890366822481155, -0.26059597730636597, 0.691625714302063, 0.1723831593990326, -0.3669358193874359, 0.7951547503471375, 0.03134254366159439, 0.7538595795631409, -0.5679531097412109, -0.06402158737182617, 0.16989322006702423, 0.03982357308268547, -0.30957722663879395, -0.7408746480941772, 0.08572801202535629, -0.11454267054796219, -0.4283210337162018, 0.08815242350101471, 0.5262369513511658, -0.30310314893722534, -0.517029345035553, 0.5847018361091614, 0.06212208792567253, 0.3487614393234253, 0.05135912448167801, -0.8717858195304871, 0.40292924642562866, 0.2554914653301239, -0.23415252566337585, 0.017294764518737793, -0.022114450111985207, 0.27678918838500977, 0.44165363907814026, 0.7881816029548645, 0.1433023363351822, -0.07402965426445007, 0.3257651627063751, 0.6351566314697266, -0.5368305444717407, -0.8034416437149048, -0.5579310655593872, 0.5407397150993347, -0.09626581519842148, -0.2870109975337982, 0.5610654354095459, 0.664214551448822, 0.8208953738212585, 0.1467951387166977, 1.0149824619293213, 0.056899942457675934, 0.6838486194610596, -0.47332659363746643, 0.6262519359588623, -0.479689359664917, 0.28881075978279114, -0.39304497838020325, -0.8022468686103821, -0.13387742638587952, 0.75773686170578, -0.20636145770549774, 0.1548215001821518, 0.3005329370498657, 0.9535583257675171, 0.0988805741071701, 0.12910449504852295, 0.3248966932296753, 0.6533592939376831, 0.44081875681877136, 0.41401273012161255, 0.5338332056999207, -0.5909940600395203, 0.5768101811408997, -0.40333864092826843, -0.36195477843284607, -0.07266277819871902, -0.5835276246070862, -0.6133688688278198, -0.828633725643158, -0.5874472260475159, -0.40324866771698, 0.062454476952552795, 1.0240641832351685, 1.0946195125579834, -0.8673505187034607, -0.2663732171058655, -0.1364128589630127, -0.10268867760896683, -0.3053078353404999, -0.21639177203178406, 0.5452077388763428, -0.024219121783971786, -0.6436880826950073, 0.6089745163917542, 0.07062340527772903, 0.13545635342597961, -0.2796286940574646, -0.37857162952423096, 0.0021657971665263176, 0.07643857598304749, 0.4734896123409271, 0.40753352642059326, -0.8651968836784363, -0.273345023393631, -0.30205851793289185, -0.034075696021318436, 0.16427075862884521, 0.3149377107620239, -0.7151232361793518, 0.4654894471168518, 0.4327031373977661, 0.2470230609178543, 0.6890192627906799, -0.3363497853279114, 0.25414493680000305, -0.396958589553833, 0.04978476092219353, 0.09286367148160934, 0.4536152184009552, 0.42801713943481445, -0.40169116854667664, 0.209272101521492, 0.41955065727233887, -0.6815246939659119, -0.8042616248130798, -0.06762736290693283, -1.3000518083572388, -0.25553417205810547, 1.421146273612976, 0.13956765830516815, -0.06057532876729965, -0.10591058433055878, -0.3996160328388214, 0.5640536546707153, -0.5121495723724365, 0.3485936224460602, 0.39196696877479553, -0.13319437205791473, -0.06061280891299248, -0.5098495483398438, 0.4448849856853485, 0.2139928936958313, -0.529763400554657, 0.11873229593038559, 0.40283188223838806, 0.43925192952156067, 0.20336687564849854, 0.6502525806427002, -0.21574760973453522, 0.3207971453666687, 0.1083574965596199, 0.5007779002189636, -0.26616379618644714, -0.24776317179203033, -0.5057365298271179, 0.03924129158258438, -0.19551998376846313, -0.24504493176937103 ]
tblard/tf-allocine
tblard
2020-12-11T22:02:40Z
7,535
7
transformers
[ "transformers", "tf", "camembert", "text-classification", "fr", "endpoints_compatible", "region:us" ]
text-classification
2022-03-02T23:29:05Z
--- language: fr --- # tf-allociné A french sentiment analysis model, based on [CamemBERT](https://camembert-model.fr/), and finetuned on a large-scale dataset scraped from [Allociné.fr](http://www.allocine.fr/) user reviews. ## Results | Validation Accuracy | Validation F1-Score | Test Accuracy | Test F1-Score | |--------------------:| -------------------:| -------------:|--------------:| | 97.39 | 97.36 | 97.44 | 97.34 | The dataset and the evaluation code are available on [this repo](https://github.com/TheophileBlard/french-sentiment-analysis-with-bert). ## Usage ```python from transformers import AutoTokenizer, TFAutoModelForSequenceClassification from transformers import pipeline tokenizer = AutoTokenizer.from_pretrained("tblard/tf-allocine") model = TFAutoModelForSequenceClassification.from_pretrained("tblard/tf-allocine") nlp = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer) print(nlp("Alad'2 est clairement le meilleur film de l'année 2018.")) # POSITIVE print(nlp("Juste whoaaahouuu !")) # POSITIVE print(nlp("NUL...A...CHIER ! FIN DE TRANSMISSION.")) # NEGATIVE print(nlp("Je m'attendais à mieux de la part de Franck Dubosc !")) # NEGATIVE ``` ## Author Théophile Blard – :email: [email protected] If you use this work (code, model or dataset), please cite as: > Théophile Blard, French sentiment analysis with BERT, (2020), GitHub repository, <https://github.com/TheophileBlard/french-sentiment-analysis-with-bert>
[ -0.3282373547554016, -0.5621124505996704, 0.32610970735549927, 0.7055287957191467, -0.2983165979385376, -0.02766234241425991, -0.2753039598464966, -0.22843921184539795, 0.3904009759426117, 0.15053044259548187, -0.6057191491127014, -0.8204743266105652, -0.7436950206756592, -0.002146847313269973, -0.4412856698036194, 1.0801903009414673, 0.01435940619558096, 0.3464702367782593, 0.16890601813793182, -0.16438311338424683, 0.15293258428573608, -0.6274341344833374, -0.5164107084274292, -0.45206061005592346, 0.44039738178253174, 0.24700331687927246, 0.34431347250938416, 0.07691080868244171, 0.37663882970809937, 0.2666434347629547, 0.11531707644462585, 0.11750295758247375, -0.577189028263092, -0.040253736078739166, -0.21211577951908112, -0.023797867819666862, -0.49577853083610535, 0.07372236251831055, 0.4370538294315338, 0.39451462030410767, 0.12290455400943756, 0.2624363899230957, -0.00334665784612298, 0.5226682424545288, -0.49030211567878723, 0.24751003086566925, -0.31972405314445496, -0.05570307374000549, 0.12030192464590073, -0.0725940614938736, -0.3495715260505676, -0.57830810546875, 0.17010816931724548, -0.30829164385795593, 0.2494027316570282, -0.05445122718811035, 1.3870556354522705, 0.09307042509317398, -0.2584521174430847, -0.23907361924648285, -0.5288235545158386, 1.028098225593567, -0.943291425704956, 0.49635809659957886, 0.09069490432739258, -0.14314427971839905, -0.03706558421254158, -0.7143447399139404, -0.6535531878471375, -0.11554815620183945, -0.085746631026268, 0.2312365025281906, -0.15456800162792206, -0.07213696092367172, 0.14915582537651062, 0.5545995235443115, -0.45257335901260376, -0.31055948138237, -0.23906676471233368, -0.27335914969444275, 0.7392454147338867, -0.31858327984809875, -0.16456453502178192, -0.36345285177230835, -0.5987755060195923, -0.3816385269165039, -0.022215450182557106, 0.1517501175403595, 0.23984140157699585, 0.12118668109178543, -0.2847445011138916, 0.6820130944252014, -0.025295104831457138, 0.5226263403892517, 0.13694599270820618, 0.04609103500843048, 0.912126898765564, -0.08888402581214905, -0.2845301330089569, -0.13811731338500977, 1.3419339656829834, 0.6926512718200684, 0.7509341835975647, 0.009262141771614552, -0.47271767258644104, -0.016042256727814674, 0.10365615040063858, -0.9373531341552734, -0.28587305545806885, 0.48441606760025024, -0.46275749802589417, -0.672306478023529, 0.3104528486728668, -1.044102430343628, -0.10115668922662735, 0.0348459929227829, 0.5052141547203064, -0.329717755317688, -0.36150869727134705, -0.12524040043354034, -0.13647446036338806, 0.26758697628974915, 0.14829722046852112, -0.5177016854286194, -0.04221770539879799, 0.4588775634765625, 0.8498038649559021, -0.21576273441314697, -0.31729304790496826, -0.18115472793579102, -0.4053940773010254, -0.301325261592865, 0.7943798899650574, -0.196768656373024, -0.5758105516433716, 0.10928851366043091, 0.22016070783138275, -0.2793654203414917, -0.19126944243907928, 0.867178738117218, -0.39128994941711426, 0.279867559671402, -0.13041679561138153, -0.6188768744468689, -0.34132063388824463, 0.5038321614265442, -0.583600640296936, 1.17557954788208, 0.3888072073459625, -0.635365903377533, 0.13568247854709625, -0.9351851344108582, -0.3940068483352661, -0.36453160643577576, 0.008869456127285957, -0.653268575668335, 0.03280504420399666, 0.3056420385837555, 0.4204556941986084, -0.3310371935367584, 0.33122721314430237, -0.4031907916069031, -0.1448717713356018, 0.496618390083313, -0.42031946778297424, 1.0877609252929688, 0.2675308585166931, -0.3199494183063507, 0.056013479828834534, -0.7452815771102905, 0.2365812212228775, 0.012775948271155357, -0.18422742187976837, 0.17978039383888245, -0.22837193310260773, 0.5451818704605103, 0.45318010449409485, 0.20654858648777008, -0.8902716636657715, 0.09085232019424438, -0.46061697602272034, 0.577113926410675, 0.7211612462997437, 0.28099334239959717, 0.3500019907951355, -0.5081192851066589, 0.26802027225494385, 0.18913067877292633, 0.15261775255203247, -0.011130433529615402, -0.5118283033370972, -0.8129708170890808, -0.5272364616394043, 0.4834040701389313, 0.7667902708053589, -0.5866371989250183, 0.7715120315551758, -0.43727660179138184, -0.512026309967041, -0.4399667978286743, 0.09475617855787277, 0.035942792892456055, 0.5644370913505554, 0.4113818407058716, -0.31005653738975525, -0.5553658604621887, -0.8381734490394592, -0.0745566263794899, -0.4225086271762848, -0.09638466686010361, 0.317800909280777, 0.9294503331184387, -0.37685710191726685, 0.9468736052513123, -0.5483056306838989, -0.3839564025402069, -0.11301905661821365, 0.22993555665016174, 0.5594997406005859, 0.6973749399185181, 0.7231637835502625, -0.6116859912872314, -0.4113546311855316, -0.33158060908317566, -0.7193858027458191, -0.05482768639922142, 0.15259520709514618, -0.3930947482585907, 0.20706970989704132, 0.07787726074457169, -0.7035228610038757, 0.29964664578437805, 0.3573605716228485, -0.4762287437915802, 0.4834250509738922, 0.19581963121891022, 0.43418118357658386, -1.2683131694793701, 0.18883168697357178, 0.30445995926856995, -0.26557040214538574, -0.4823623299598694, -0.10519889742136002, -0.061817068606615067, -0.0418735072016716, -0.6245667934417725, 0.707542359828949, 0.1996518224477768, 0.3546755909919739, 0.20064909756183624, -0.1013212725520134, 0.29950445890426636, 0.7362880706787109, 0.10427634418010712, 0.4464985430240631, 0.46699562668800354, -0.24249593913555145, 0.6208119988441467, 0.539840579032898, -0.2908933162689209, 0.4828954041004181, -0.7108681797981262, -0.08929412066936493, 0.19771811366081238, 0.3031473457813263, -1.1853898763656616, -0.31812411546707153, 0.48355039954185486, -0.9153638482093811, 0.21567700803279877, 0.06216011941432953, -0.5659961700439453, -0.44024619460105896, -0.5674512982368469, 0.2708359658718109, 0.4835578501224518, -0.6285900473594666, 0.7415271401405334, -0.06800595670938492, 0.25390705466270447, -0.8542917370796204, -1.0260642766952515, -0.05977299064397812, -0.03567035123705864, -0.7441604137420654, 0.036088086664676666, -0.2000032663345337, -0.09941043704748154, 0.022492455318570137, -0.14300329983234406, -0.39999067783355713, -0.10148309916257858, 0.09521931409835815, 0.3062703311443329, -0.17144061625003815, 0.24067504703998566, -0.30607324838638306, 0.11128377169370651, 0.11490326374769211, -0.508141279220581, 0.5624788999557495, -0.2523564100265503, -0.12459865212440491, -0.4470873475074768, 0.17778299748897552, 0.6980189085006714, -0.2208571881055832, 0.6797631978988647, 0.8397042155265808, -0.24788597226142883, -0.27256524562835693, -0.7573604583740234, -0.36591553688049316, -0.4039147198200226, 0.24846884608268738, -0.1659591645002365, -0.7234907150268555, 0.6244059205055237, 0.16286392509937286, 0.16506604850292206, 0.7497972846031189, 0.6236098408699036, -0.38614726066589355, 0.779924750328064, 0.395589143037796, -0.27433541417121887, 0.41418495774269104, -0.7470983266830444, 0.4775262773036957, -0.42093411087989807, -0.15169432759284973, -0.5510002970695496, -0.20270270109176636, -0.8602848649024963, -0.29339995980262756, -0.09662347286939621, 0.008744936436414719, -0.39193931221961975, 0.16003811359405518, -0.5225421190261841, 0.11977384984493256, 0.4175806939601898, 0.16407406330108643, 0.12610121071338654, 0.2798733115196228, -0.2269170731306076, 0.15449509024620056, -0.5794036388397217, -0.5358120203018188, 1.2521804571151733, 0.37965139746665955, 0.7302513122558594, -0.0638330727815628, 0.7892538905143738, 0.5066688060760498, 0.4539603292942047, -1.0371558666229248, 0.47715187072753906, -0.3437623977661133, -1.0206552743911743, -0.11804331094026566, -0.4796590507030487, -0.5260542035102844, 0.08500204235315323, -0.34912070631980896, -0.8196263313293457, 0.6272723078727722, 0.05855033919215202, -0.1255064606666565, 0.4511217474937439, -0.5841311812400818, 0.9573808312416077, -0.1049271747469902, -0.4796113073825836, 0.18571583926677704, -0.4262271821498871, 0.23596739768981934, -0.21082687377929688, 0.39176738262176514, -0.16817468404769897, 0.1454976499080658, 0.7064967155456543, -0.401583731174469, 0.7994186282157898, -0.16744202375411987, -0.053080979734659195, 0.5714831948280334, 0.08742377161979675, 0.27149060368537903, 0.28303593397140503, -0.46174246072769165, 0.5356441736221313, -0.04487280175089836, -0.5380967259407043, -0.2929264008998871, 1.0657572746276855, -1.0630054473876953, -0.24639330804347992, -0.809008002281189, -0.4448617100715637, -0.11035261303186417, 0.1144571378827095, 0.5680166482925415, 0.4778955280780792, -0.3666539788246155, 0.16174259781837463, 0.5469843149185181, -0.03296300768852234, 0.7651845216751099, 0.25822386145591736, -0.1443273276090622, -0.5791515111923218, 0.9142622351646423, -0.046438656747341156, 0.08351300656795502, 0.2621876895427704, 0.00012332291225902736, -0.4194958806037903, 0.028363937512040138, -0.5676577687263489, 0.32672321796417236, -0.8040111660957336, -0.20794950425624847, -0.6029099822044373, -0.4597984850406647, -0.4458637237548828, -0.11228153109550476, -0.4144193232059479, -0.7486616969108582, -0.40781354904174805, -0.3292590379714966, 0.43259021639823914, 0.32439789175987244, -0.2845437228679657, 0.4884076714515686, -0.7810449600219727, 0.10454531759023666, 0.10107624530792236, 0.44162803888320923, 0.004929121118038893, -0.46932563185691833, -0.09447245299816132, 0.10422749817371368, -0.6074414849281311, -0.8689689636230469, 0.583965003490448, 0.4343617558479309, 0.42174315452575684, 0.40549618005752563, 0.17690542340278625, 0.18908728659152985, -0.10195593535900116, 1.107727289199829, 0.19797992706298828, -0.9977343678474426, 0.3933195471763611, -0.3377378284931183, 0.24697178602218628, 0.5779617428779602, 0.5531827807426453, -0.3083914816379547, -0.3542138934135437, -0.7476475834846497, -1.0231900215148926, 0.6423175930976868, 0.5485833883285522, 0.09384319931268692, -0.10333402454853058, 0.1910407990217209, -0.21532079577445984, 0.521726667881012, -1.1685959100723267, -0.3773881793022156, -0.5784637928009033, -0.5254582166671753, -0.35969027876853943, -0.2801642119884491, -0.30955812335014343, -0.3215183913707733, 1.0687785148620605, 0.041351187974214554, 0.6619377136230469, 0.48700881004333496, -0.253798246383667, -0.28628116846084595, 0.30882757902145386, 0.4216161072254181, 0.7848509550094604, -0.5685132145881653, -0.17356860637664795, 0.06657042354345322, -0.423409640789032, 0.244965597987175, 0.1790303736925125, -0.20350854098796844, 0.27732834219932556, 0.6656901240348816, 0.6514607071876526, -0.11512614041566849, -0.3131294250488281, 0.855861485004425, -0.06696748733520508, -0.6833240389823914, -0.6730499863624573, -0.24855752289295197, -0.14922456443309784, 0.1978003829717636, 0.5232192873954773, 0.3537883758544922, 0.029113296419382095, -0.23011329770088196, 0.3151092827320099, 0.1727217137813568, -0.7955230474472046, -0.26167362928390503, 0.5216318964958191, 0.2639075815677643, -0.0906105786561966, 0.7748774290084839, -0.38032159209251404, -0.7912931442260742, 0.5653827786445618, 0.17273996770381927, 1.1994389295578003, -0.25373777747154236, 0.3568924367427826, 0.7484962344169617, 0.3570810854434967, -0.22063270211219788, 0.5267499089241028, 0.05193200707435608, -0.9469383955001831, -0.5372003316879272, -0.9981416463851929, -0.015752308070659637, 0.10668125003576279, -0.5666052103042603, 0.24202179908752441, -0.5374642014503479, -0.449003130197525, -0.03143777325749397, -0.12142027914524078, -0.6214781999588013, 0.6364244818687439, 0.026100752875208855, 0.9828868508338928, -1.1335155963897705, 0.7684882283210754, 0.8052936792373657, -0.5303046107292175, -0.6427655816078186, 0.1391262412071228, -0.07364533841609955, -0.6001151204109192, 0.6497290730476379, 0.24093909561634064, -0.04637940600514412, 0.11299975216388702, -0.7219981551170349, -0.7411981821060181, 0.939206600189209, -0.1189587190747261, -0.43927398324012756, 0.14175553619861603, 0.06956427544355392, 0.6556561589241028, -0.5832024812698364, 0.520218014717102, 0.646562397480011, 0.6380374431610107, 0.42323946952819824, -0.7595592737197876, -0.06724672019481659, -0.4852909743785858, -0.25990191102027893, -0.017635604366660118, -0.7942209839820862, 0.9365586638450623, -0.08176495134830475, 0.15623585879802704, -0.029883289709687233, 0.56375652551651, 0.05780007690191269, 0.39369437098503113, 0.617455780506134, 0.8728416562080383, 0.36173152923583984, -0.5420650243759155, 0.9807615280151367, -0.43585073947906494, 0.8360453248023987, 0.7681000828742981, 0.09221053868532181, 0.7990557551383972, 0.4732716381549835, -0.018244544044137, 0.7533348202705383, 0.8447060585021973, -0.4697059988975525, 0.5923866033554077, 0.049684446305036545, -0.17581012845039368, -0.383402943611145, -0.09731429070234299, -0.21679352223873138, 0.2988589107990265, 0.2922075390815735, -0.5943747162818909, -0.16486983001232147, -0.002842753427103162, 0.05003980174660683, -0.19675835967063904, -0.3382357060909271, 0.4430771470069885, 0.31951698660850525, -0.5261736512184143, 0.9049804210662842, -0.17918136715888977, 0.5420435667037964, -0.38259002566337585, 0.08389831334352493, -0.08888852596282959, 0.3783637285232544, -0.5058496594429016, -0.7310532927513123, 0.05327845737338066, 0.13059911131858826, -0.2195710986852646, -0.05738174915313721, 0.39573976397514343, -0.24998313188552856, -0.9438462257385254, 0.5974235534667969, 0.5125994086265564, 0.04436822608113289, 0.135050430893898, -0.9544490575790405, -0.02302720583975315, 0.29298239946365356, -0.6034185886383057, -0.2149399071931839, 0.26815399527549744, 0.012043574824929237, 0.5821397304534912, 0.6017817258834839, -0.03686748445034027, -0.23924437165260315, 0.3237268030643463, 0.9980236887931824, -0.5713890194892883, -0.5066220760345459, -0.9575414657592773, 0.7472892999649048, -0.22815372049808502, -0.3524278402328491, 0.6999763250350952, 0.6306461691856384, 0.8099038004875183, -0.1686890721321106, 0.9770349264144897, -0.3282364010810852, 0.5007858872413635, -0.18106569349765778, 0.6227349042892456, -0.7659722566604614, 0.12594619393348694, -0.31546279788017273, -1.2741400003433228, -0.34062525629997253, 0.8297587037086487, -0.3938056528568268, 0.3103809356689453, 0.9890263080596924, 1.0083757638931274, -0.11301828175783157, 0.08334098011255264, 0.0844670906662941, 0.6736793518066406, 0.3141278028488159, 0.3444603681564331, 0.6811676025390625, -0.6560763120651245, 0.5537751317024231, -0.4692285656929016, -0.30112195014953613, -0.31934428215026855, -0.8894025683403015, -1.1347368955612183, -0.4353061318397522, -0.35361456871032715, -0.9301409125328064, 0.01660306565463543, 1.3068225383758545, 0.6166559457778931, -1.4009768962860107, -0.5001908540725708, 0.07800144702196121, -0.0360553041100502, -0.052836302667856216, -0.29118093848228455, 0.5283626317977905, -0.30308035016059875, -0.7001604437828064, 0.004721611738204956, -0.22945243120193481, 0.003220644546672702, -0.07235673069953918, 0.04698808491230011, -0.49218347668647766, 0.23147866129875183, 0.5099481344223022, 0.05528746545314789, -0.5954700112342834, -0.273595929145813, 0.08585591614246368, -0.20619353652000427, 0.2909397482872009, 0.4093779921531677, -0.212744802236557, 0.38091570138931274, 0.7067630290985107, 0.1392282247543335, 0.7901550531387329, 0.19593022763729095, 0.5723453164100647, -0.7978032827377319, 0.19329644739627838, 0.31158962845802307, 0.3981516361236572, 0.4189316928386688, -0.20370320975780487, 0.48614415526390076, 0.33028894662857056, -0.697888970375061, -0.5473804473876953, -0.07616253197193146, -1.0874723196029663, -0.17446139454841614, 1.1496303081512451, -0.31897178292274475, -0.4262844920158386, 0.2764686048030853, -0.07924259454011917, 0.296923965215683, -1.0022610425949097, 0.7810528874397278, 1.0227521657943726, -0.040258701890707016, 0.009459119290113449, -0.556720495223999, 0.48506858944892883, 0.19480092823505402, -0.42006397247314453, -0.3463064134120941, 0.3808506727218628, 0.4759675860404968, 0.31727147102355957, 0.37576189637184143, -0.1808922290802002, 0.2723863124847412, -0.29210174083709717, 0.4335533678531647, 0.014646496623754501, -0.01190116722136736, -0.2795109450817108, 0.1730814129114151, -0.08254583179950714, -0.26493069529533386 ]
wtang06/mpt-125m-c4
wtang06
2023-10-16T22:10:45Z
7,518
1
transformers
[ "transformers", "pytorch", "mpt", "text-generation", "custom_code", "en", "dataset:c4", "license:apache-2.0", "text-generation-inference", "region:us" ]
text-generation
2023-09-27T21:24:01Z
--- license: apache-2.0 language: - en datasets: - c4 --- # mpt-125m-c4 ## Model Description Pretrained model for MPT-125M trained on C4 dataset ## Training data Trained on HuggingFace C4 dataset ## Training procedure This model was trained on C4 for ~2.5B tokens. Training time was ~1 hour with 104 A100-40gb GPUs. ## Intended Use and Limitations This model is primarily for generating texts from a prompt. The purpose is to explore pretraining models for research.
[ -0.4661099910736084, -0.47264599800109863, 0.6799229383468628, 0.4387889802455902, -0.6056562066078186, -0.08684679120779037, -0.024811802431941032, -0.15172237157821655, 0.17234653234481812, 0.1591378003358841, -0.9305580854415894, -0.16676709055900574, -0.5777568221092224, 0.11713352799415588, -0.0495443195104599, 1.2801513671875, -0.27791348099708557, 0.44611069560050964, -0.09615299105644226, -0.01659444533288479, -0.35881808400154114, -0.969255805015564, -0.6952735781669617, -0.39561501145362854, 0.777023196220398, 0.46501046419143677, 0.18728753924369812, 0.5868238806724548, 0.5692139267921448, 0.26567399501800537, -0.08392556756734848, -0.4620441496372223, -0.817121148109436, -0.673720121383667, 0.013682172633707523, -0.3657597303390503, -0.4803718626499176, 0.3517957329750061, 0.6038169860839844, 0.49301332235336304, -0.03105241060256958, 0.5516086220741272, 0.1039482057094574, 0.14497904479503632, -0.19042904675006866, 0.3917483985424042, -0.3783417344093323, 0.3299417793750763, -0.4431367814540863, -0.1797681450843811, -0.33080002665519714, -0.22036880254745483, 0.3250020444393158, -0.9113617539405823, 0.10189461708068848, 0.2280137985944748, 1.1989049911499023, -0.18632958829402924, -0.4387231469154358, 0.08465797454118729, -0.25108417868614197, 0.8210629224777222, -0.45373934507369995, 0.07184028625488281, 0.45383220911026, 0.19941799342632294, 0.18857939541339874, -1.211556315422058, -0.48894304037094116, -0.21739520132541656, 0.09469858556985855, -0.19106991589069366, 0.1535901427268982, 0.28319498896598816, 0.8519048094749451, 0.17787005007266998, -0.38693562150001526, -0.14578787982463837, -0.3915771245956421, -0.3448087275028229, 0.21338650584220886, 0.41460347175598145, 0.2751197814941406, -0.25914913415908813, -0.974177896976471, -0.013905944302678108, -0.5544426441192627, 0.03802701458334923, 0.5089330077171326, 0.3139750063419342, -0.359302282333374, 0.7539545893669128, -0.028241660445928574, 0.35408300161361694, 0.18310852348804474, -0.23913763463497162, 0.33527126908302307, -0.582730770111084, -0.5006174445152283, 0.01838850788772106, 0.9029572010040283, 0.09095948189496994, 0.2215532511472702, 0.10503135621547699, -0.45697322487831116, 0.13093312084674835, 0.21546636521816254, -1.5822221040725708, -0.4307146370410919, -0.3563242256641388, -0.6590325236320496, -0.42054083943367004, 0.031057465821504593, -0.4137059450149536, 0.20122581720352173, -0.6009986400604248, 0.5840879082679749, -0.7252926230430603, -0.30191919207572937, -0.1346813142299652, -0.06099105626344681, 0.22966831922531128, 0.015384201891720295, -0.9815748929977417, 0.4730350375175476, 0.4460732638835907, 0.9259729981422424, -0.24927863478660583, -0.4768899977207184, -0.25032851099967957, 0.08004315942525864, -0.2126457840204239, 0.5921829342842102, -0.4102461338043213, -0.4058853089809418, -0.5637838840484619, 0.4160596430301666, -0.5131191611289978, -0.0010617220541462302, 0.7282313108444214, -0.34500396251678467, 0.5577565431594849, -0.6936019062995911, -0.8078662753105164, -0.1713685840368271, 0.27801838517189026, -0.33634188771247864, 1.1424334049224854, 0.6491287350654602, -1.2419248819351196, 0.5568350553512573, -0.7815032005310059, -0.09013110399246216, 0.5295501351356506, -0.2330237776041031, -0.4721544682979584, -0.088046595454216, 0.05584586411714554, 0.47823455929756165, -0.03639883175492287, 0.2329079806804657, -0.1664060801267624, -0.6079268455505371, 0.05279015749692917, -0.20212505757808685, 0.7801579833030701, 0.30545443296432495, -0.4042145907878876, 0.14697310328483582, -0.4137890636920929, -0.055012352764606476, 0.2469855546951294, -0.6030761003494263, 0.20675605535507202, -0.5863549113273621, 0.2931281328201294, 0.1999303251504898, 0.49014055728912354, -0.98004150390625, 0.1777898073196411, -0.22016002237796783, 0.3154381513595581, 0.7917789816856384, 0.02964312769472599, 0.21572762727737427, -0.46696507930755615, 0.9902759790420532, 0.07576686888933182, 0.05138636380434036, -0.34564152359962463, -0.3773985207080841, -0.551557719707489, -0.30510812997817993, 0.47050851583480835, 0.5156452655792236, -0.9462355971336365, 0.034609269350767136, -0.06643126904964447, -0.4225325882434845, -0.10696768015623093, -0.10054837167263031, 0.6567879915237427, 0.5901072025299072, 0.23965701460838318, -0.32403549551963806, -0.45847275853157043, -0.8780242800712585, 0.11213336139917374, -0.10554345697164536, -0.003723764792084694, 0.5625900626182556, 0.6051945090293884, -0.4280628561973572, 0.5711351037025452, -0.5398322939872742, 0.05760076269507408, -0.2266317754983902, 0.3759444057941437, -0.020342519506812096, 0.4535215198993683, 0.9751724004745483, -0.45833632349967957, -0.43112796545028687, -0.4514579176902771, -0.5664610266685486, -0.04921190068125725, 0.025002479553222656, -0.26901742815971375, 0.09849101305007935, 0.5197852253913879, -0.7895542979240417, 0.39741748571395874, 0.4598446488380432, -0.5210855007171631, 0.6226937770843506, -0.10838112980127335, 0.4190385043621063, -1.287542700767517, 0.28545841574668884, -0.1491561084985733, -0.4565228223800659, -0.2707223892211914, -0.29219868779182434, 0.09484913945198059, -0.7275233268737793, -0.6055149435997009, 0.4503456652164459, -0.7395327687263489, -0.1264522224664688, -0.36639150977134705, -0.10501767694950104, -0.257101446390152, 0.8660444617271423, 0.08201319724321365, 0.8175456523895264, 0.5390096306800842, -0.4872247278690338, 0.2793656587600708, 0.4856910705566406, -0.22801721096038818, 0.47150322794914246, -0.838931679725647, 0.31975311040878296, 0.10891218483448029, 0.19785767793655396, -0.8996970653533936, -0.544582724571228, 0.2106138914823532, -0.4785574674606323, 0.15797117352485657, -0.2523939311504364, -0.40016186237335205, -0.5382229685783386, -0.03120885044336319, 1.0136107206344604, 0.38944315910339355, -0.4871618449687958, 0.4213407337665558, 0.19357585906982422, -0.4444442689418793, -0.35949838161468506, -0.5585150718688965, -0.15560340881347656, -0.32736098766326904, -0.5593915581703186, 0.44373756647109985, 0.0205508042126894, 0.38324159383773804, -0.326155424118042, 0.3764995336532593, -0.09764814376831055, -0.22481893002986908, 0.5347452759742737, 0.25196152925491333, -0.09205130487680435, 0.016779325902462006, -0.22175171971321106, -0.2952314019203186, 0.20470917224884033, 0.18741638958454132, 0.798281192779541, -0.044384535402059555, -0.24682313203811646, -0.9668570756912231, 0.1596480756998062, 0.16305042803287506, 0.014076871797442436, 0.8603729605674744, 0.7029025554656982, -0.3782212436199188, 0.22075852751731873, -0.10704173147678375, -0.2854343354701996, -0.49330267310142517, 0.2486271858215332, -0.7407588362693787, -0.5467547178268433, 0.34049808979034424, -0.00925114843994379, -0.20637346804141998, 0.48635900020599365, 0.6844177842140198, 0.30734574794769287, 1.0534639358520508, 0.7766508460044861, 0.05084121599793434, 0.8716022968292236, -0.01226200070232153, -0.16406847536563873, -0.4610072374343872, -0.5380086302757263, -0.2420012354850769, -0.22592957317829132, -0.34440797567367554, -0.3694423735141754, 0.009681571274995804, -0.04086503013968468, -0.6775348782539368, 0.3160495162010193, -0.5179661512374878, 0.3803039491176605, 0.5992475152015686, 0.3625430762767792, -0.537189245223999, -0.20361575484275818, -0.4020061492919922, -0.15849798917770386, -0.6338756680488586, -0.3509462773799896, 1.1090437173843384, 0.5652016401290894, 0.6962264180183411, -0.2461957335472107, 0.3954446613788605, -0.179080992937088, 0.3738408386707306, -0.5193173289299011, 0.5227987766265869, 0.26117202639579773, -0.7906867265701294, -0.06059731915593147, -0.5984138250350952, -0.7684272527694702, -0.3614906668663025, -0.26125094294548035, -0.2386694997549057, -0.32470011711120605, 0.18076971173286438, -0.11646168678998947, 0.26599380373954773, -1.0107749700546265, 1.1170639991760254, -0.2223595529794693, 0.02002941444516182, 0.09174826741218567, -0.6906392574310303, 0.5187706351280212, -0.10923755913972855, -0.40186649560928345, -0.2614113986492157, 0.10995551943778992, 0.9617200493812561, -0.41947656869888306, 0.4718315005302429, -0.71393883228302, 0.3524596393108368, 0.1740221381187439, -0.22234870493412018, 0.37005865573883057, -0.057639289647340775, 0.1712757796049118, 0.03093818388879299, 0.3455110788345337, -0.8107415437698364, 0.13827292621135712, 0.43356087803840637, -0.9370999932289124, 0.1283605545759201, -0.7898460626602173, -0.324258416891098, -0.16034440696239471, 0.06612740457057953, 0.715903103351593, 0.6161794066429138, -0.4969791769981384, 0.21790659427642822, 0.5552349090576172, -0.2747335433959961, 0.7529056668281555, 0.22785063087940216, -0.4072560966014862, -0.48755672574043274, 0.7745700478553772, 0.12974217534065247, 0.14619505405426025, 0.13443148136138916, -0.043802421540021896, -0.3610452115535736, -0.4097289443016052, -0.5707392692565918, 0.21867486834526062, -0.08126597106456757, -0.36554357409477234, -0.7621673345565796, -0.4915303885936737, -0.35958734154701233, 0.14007902145385742, -0.38711968064308167, -0.21916630864143372, -0.7418372631072998, -0.1540524810552597, 0.5458903908729553, 0.9496950507164001, 0.16769374907016754, 1.0249453783035278, -0.613562822341919, 0.42573702335357666, 0.22074368596076965, 0.750719428062439, -0.42643624544143677, -0.9118837714195251, -0.4525279402732849, 0.11149082332849503, -0.32823070883750916, -0.7429459095001221, 0.22047166526317596, 0.02949303574860096, 0.4592836797237396, 0.2554064393043518, -0.47061461210250854, 0.43426811695098877, -0.6161693930625916, 0.9904406666755676, 0.48914697766304016, -0.9146538972854614, 0.39535290002822876, -0.7001785635948181, 0.48227953910827637, 0.5489455461502075, 0.8877382874488831, -0.22082889080047607, 0.34961649775505066, -0.8483328819274902, -0.4528193175792694, 0.911971926689148, 0.4285389184951782, 0.12946800887584686, 0.043073687702417374, 0.7961061000823975, 0.01975097693502903, 0.2250131219625473, -1.1059731245040894, 0.07756742835044861, -0.5105847120285034, -0.3284970819950104, -0.0780758410692215, -0.510155200958252, 0.02088862843811512, -0.6457386016845703, 0.7265347838401794, -0.2794956862926483, 0.8553793430328369, -0.02224249765276909, -0.08663510531187057, 0.19125892221927643, -0.33469584584236145, 0.7204756736755371, 0.7719870805740356, -0.44921231269836426, -0.25063374638557434, 0.33979251980781555, -0.7808002829551697, 0.15302877128124237, 0.4872566759586334, 0.3896830379962921, -0.0270149614661932, 0.22210022807121277, 1.1305121183395386, 0.15946632623672485, -0.2858986556529999, 0.8606175780296326, -0.6093214750289917, -0.29889512062072754, -0.3538449704647064, -0.12673303484916687, 0.351643830537796, -0.18323782086372375, -0.06496316194534302, -0.26400017738342285, -0.16644753515720367, -0.4030536115169525, 0.45812371373176575, 0.26571333408355713, -0.49371927976608276, -0.5146930813789368, 0.8479579091072083, 0.2154517024755478, -0.27702629566192627, 0.6148433685302734, -0.19276605546474457, -0.46274515986442566, 0.4377829134464264, 0.43968015909194946, 0.6552769541740417, -0.6025210618972778, 0.14206653833389282, 0.5605916976928711, -0.10968349874019623, 0.012062628753483295, 0.5442436933517456, 0.12875209748744965, -0.512847363948822, -0.29745039343833923, -0.9624871015548706, -0.4294954836368561, 0.12606610357761383, -0.791036069393158, 0.5774250030517578, -0.64680016040802, -0.4121169447898865, 0.20981672406196594, 0.4360979497432709, -0.7121779918670654, 0.660585880279541, 0.04556644335389137, 1.1893147230148315, -0.8267295956611633, 1.020270824432373, 0.6037241816520691, -0.3621082603931427, -1.2635114192962646, -0.29729557037353516, -0.28249093890190125, -0.8942742943763733, 0.543060302734375, 0.3951786458492279, 0.024025268852710724, 0.023617949336767197, -1.1008692979812622, -0.5321307182312012, 1.2694616317749023, 0.6307884454727173, -0.8416287302970886, -0.08144542574882507, -0.038317009806632996, 0.4932105541229248, -0.7097578644752502, 0.30454787611961365, 0.616792619228363, 0.08680615574121475, 0.060234978795051575, -0.9089856743812561, -0.170842245221138, -0.35046055912971497, -0.15060646831989288, 0.15833275020122528, -0.823360025882721, 1.2078948020935059, 0.08474545925855637, -0.02754683420062065, 0.33790645003318787, 0.6683927178382874, 0.3981315791606903, 0.08367598801851273, 0.6361931562423706, 0.848537027835846, 0.6981236338615417, -0.23138074576854706, 1.1057883501052856, -0.42263731360435486, 0.39077073335647583, 0.8396025896072388, -0.03735512122511864, 0.2990521192550659, 0.3277733623981476, 0.07334641367197037, 0.4431565999984741, 1.3042149543762207, -0.05828647315502167, 0.47325652837753296, 0.2829408347606659, -0.5760443806648254, -0.11023514717817307, -0.01925455406308174, -0.5475572347640991, 0.2542746961116791, 0.21394945681095123, -0.4851135015487671, 0.10487019270658493, 0.1808529645204544, 0.37402865290641785, -0.32767006754875183, -0.31024834513664246, 0.9503648281097412, 0.09694542735815048, -0.5870575308799744, 0.2857452630996704, 0.13415248692035675, 0.5412135720252991, -0.7559329867362976, 0.3281214237213135, -0.18767698109149933, 0.19751359522342682, 0.2676069736480713, -0.7337744832038879, -0.04065784439444542, 0.060043975710868835, -0.2731626629829407, -0.459526002407074, 0.7387478351593018, -0.49481329321861267, -0.7157721519470215, 0.33018437027931213, 0.2453950047492981, 0.42788365483283997, -0.294088214635849, -1.0602149963378906, 0.14289318025112152, 0.233632430434227, -0.47030532360076904, 0.3064928352832794, 0.6850636601448059, 0.30183374881744385, 0.5389671921730042, 0.41911444067955017, -0.14579056203365326, 0.03685973212122917, 0.028514454141259193, 1.1549780368804932, -0.9282497763633728, -0.6007522940635681, -0.655005156993866, 0.16032759845256805, 0.11424960196018219, -0.6892608404159546, 0.7114729881286621, 0.7576995491981506, 0.3988403081893921, 0.11817222088575363, 0.6404810547828674, -0.09877926856279373, 0.8443973660469055, -0.5757393836975098, 0.31114450097084045, -0.1868067979812622, -0.27431121468544006, -0.25147515535354614, -1.0829976797103882, 0.35712742805480957, 0.4880243241786957, -0.11697264760732651, 0.41425174474716187, 0.6826896667480469, 0.6688345670700073, -0.43424466252326965, 0.28588053584098816, 0.05528188496828079, -0.02903100475668907, 0.25413697957992554, 0.6997111439704895, 0.7890998125076294, -0.4414205253124237, 0.4225475788116455, -0.29137498140335083, -0.3694457411766052, 0.0013050978304818273, -0.9605116844177246, -1.2638264894485474, -0.36632150411605835, -0.04074971005320549, -0.3190155625343323, -0.2016969919204712, 0.8425159454345703, 1.1028989553451538, -0.542600154876709, -0.003997286781668663, 0.008393901400268078, -0.5519096851348877, 0.5657622814178467, -0.21154412627220154, 0.42875275015830994, -0.19909699261188507, -0.528253972530365, 0.04555933177471161, -0.15446580946445465, 0.7225897908210754, -0.09547711908817291, -0.136545792222023, -0.5052923560142517, 0.22489868104457855, 0.40351444482803345, 0.024386979639530182, -0.015003579668700695, -0.35153961181640625, -0.12485510855913162, -0.3281928300857544, 0.20955464243888855, 0.8628364205360413, -0.5815480947494507, 0.07972264289855957, 0.4016422629356384, 0.43724435567855835, 1.1712164878845215, 0.6014620661735535, 0.8512237668037415, -1.1039276123046875, 0.6144471168518066, 0.16408613324165344, 0.4910041093826294, 0.4868108034133911, -0.2804368734359741, 0.35975852608680725, 0.6035968661308289, -1.0354746580123901, -0.7822239398956299, 0.09948888421058655, -1.1951960325241089, -0.10132874548435211, 1.2123483419418335, -0.29977723956108093, -0.32033050060272217, 0.2620631754398346, -0.7121928930282593, 0.2988855838775635, -0.12018254399299622, 0.08705958724021912, 0.8263019323348999, -0.2474304884672165, -0.19177010655403137, -0.4837549030780792, 0.9212075471878052, 0.17408858239650726, -0.978425145149231, -0.3687792122364044, 0.35559940338134766, 0.7441020607948303, -0.09843148291110992, 1.0458639860153198, -0.03779669106006622, 0.1433674842119217, 0.5668560862541199, 0.30566051602363586, 0.08696991950273514, -0.38533732295036316, -0.04340335354208946, 0.15250881016254425, -0.11847429722547531, -0.46022477746009827 ]
nickmuchi/quantized-optimum-finbert-tone
nickmuchi
2022-07-23T02:21:18Z
7,514
3
transformers
[ "transformers", "onnx", "text-classification", "endpoints_compatible", "has_space", "region:us" ]
text-classification
2022-07-23T02:11:18Z
Entry not found
[ -0.3227650225162506, -0.22568431496620178, 0.862226128578186, 0.43461495637893677, -0.5282987952232361, 0.7012965679168701, 0.7915717363357544, 0.07618638128042221, 0.7746025919914246, 0.2563219666481018, -0.7852817177772522, -0.22573819756507874, -0.9104480743408203, 0.5715669393539429, -0.3992334008216858, 0.5791245698928833, -0.14494505524635315, -0.10751161724328995, 0.28233757615089417, -0.2768954336643219, -0.5409224033355713, -0.36855220794677734, -1.1902776956558228, 0.061491113156080246, 0.5316578149795532, 0.7435142397880554, 0.7584060430526733, 0.3652167320251465, 0.6432578563690186, 0.3932291269302368, -0.23138920962810516, 0.4827055037021637, -0.04171813279390335, 0.00260411505587399, -0.3524433970451355, -0.5516898036003113, -0.28596609830856323, 0.07584730535745621, 1.0961304903030396, 0.966687798500061, -0.284663587808609, 0.05330817773938179, -0.3063621520996094, 0.33088892698287964, -0.49734312295913696, 0.3054099678993225, -0.022506045177578926, 0.16318801045417786, -0.7041513919830322, -0.5535354018211365, 0.012794834561645985, -0.7361212968826294, 0.17926570773124695, -0.690081000328064, 0.8269098401069641, 0.18583157658576965, 1.1533750295639038, 0.14819414913654327, -0.462487131357193, -0.8161764144897461, -0.6538989543914795, 0.5711171627044678, -0.32703715562820435, 0.39680248498916626, 0.7028235197067261, -0.048573412001132965, -0.9820332527160645, -0.6745741367340088, -0.46466192603111267, 0.2923962473869324, 0.35402774810791016, -0.3411678075790405, -0.17522086203098297, -0.3058989644050598, 0.15792037546634674, 0.12811517715454102, -0.4841994643211365, -0.5543919205665588, -0.5475160479545593, -0.3960252106189728, 0.6206658482551575, 0.3482950031757355, 0.2429177463054657, -0.1888415813446045, -0.3228583335876465, 0.0880163162946701, -0.4160851538181305, 0.3402571678161621, 0.6335517168045044, 0.7114017009735107, -0.5811444520950317, 0.560215950012207, -0.04927587881684303, 0.7439703941345215, 0.11445561796426773, -0.27478092908859253, 0.41460567712783813, -0.14724725484848022, 0.055171746760606766, 0.4226345121860504, 0.31524422764778137, 0.2841312289237976, -0.3273695111274719, 0.2032228708267212, -0.3215144872665405, -0.30496224761009216, -0.22332167625427246, -0.29490774869918823, -0.3592180609703064, 0.5492289066314697, -0.3314017057418823, -0.42855486273765564, 1.143175721168518, -0.4200771450996399, -0.7302224040031433, 0.33156412839889526, 0.4065209925174713, -0.0994480773806572, -0.37146568298339844, -0.052260834723711014, -0.8458789587020874, -0.007907390594482422, 0.7491172552108765, -0.7198970913887024, 0.3371737599372864, 0.4728063642978668, 0.7417217493057251, 0.19650575518608093, -0.14034469425678253, -0.42949390411376953, 0.2971969544887543, -0.8659994006156921, 0.6320174336433411, -0.20135220885276794, -1.0051977634429932, 0.11150479316711426, 0.8971705436706543, -0.37896400690078735, -1.2094876766204834, 1.0605159997940063, -0.6887932419776917, 0.16017857193946838, -0.676761269569397, -0.14661237597465515, -0.07118501514196396, -0.005096632521599531, -0.6088156700134277, 0.7567102313041687, 0.587267279624939, -0.4995276927947998, 0.21429483592510223, -0.26029831171035767, -0.39151400327682495, 0.38824859261512756, -0.07935450226068497, -0.21858926117420197, 0.713833212852478, -0.6647079586982727, -0.26932814717292786, 0.2942774295806885, 0.2368936538696289, -0.35706108808517456, -0.7931919097900391, 0.08478113263845444, -0.05786270648241043, 1.550750494003296, -0.03868847340345383, -0.3586106300354004, -0.679383397102356, -1.1506240367889404, -0.07070787996053696, 0.6886883974075317, -0.9194989204406738, -0.27839475870132446, -0.046410128474235535, -0.26169314980506897, 0.08994917571544647, 0.7390589714050293, -1.1194051504135132, 0.2832726836204529, -0.05092663690447807, -0.22794683277606964, 0.8271058797836304, 0.15387225151062012, 0.24758946895599365, 0.14913396537303925, 0.42958706617355347, 0.527725338935852, 0.11115207523107529, 0.683587908744812, -0.34720373153686523, -0.9694353938102722, 0.6154631972312927, 0.25266361236572266, 0.8121447563171387, -0.49945297837257385, 0.2685093879699707, 0.27025535702705383, -0.3409680724143982, -0.5682371854782104, -0.3102838397026062, 0.09025752544403076, 0.14930562674999237, 0.11142510175704956, -0.5721710324287415, -0.6576125025749207, -0.9689140319824219, -0.13590654730796814, -0.4314374029636383, -0.3571570813655853, 0.21006910502910614, 0.5792906284332275, -1.1975523233413696, 0.4128875136375427, -0.7705625891685486, -0.7038741111755371, -0.01065548975020647, -0.19338123500347137, 0.7540656328201294, 0.43240174651145935, 0.5033966898918152, -0.6397148370742798, -0.5661987066268921, -0.22470176219940186, -1.0333747863769531, -0.13280506432056427, 0.24819621443748474, 0.3065737783908844, -0.13423344492912292, -0.2744963765144348, -0.48740333318710327, 0.8100387454032898, 0.14789170026779175, -0.5391897559165955, 0.5220767259597778, -0.3020317256450653, 0.17224803566932678, -0.6369150280952454, -0.06916818022727966, -0.661676287651062, -0.0009071884560398757, -0.3608308732509613, -0.5737438797950745, 0.14772287011146545, 0.07017494738101959, -0.16065457463264465, 0.28808408975601196, -0.909277081489563, -0.0010852962732315063, -0.7442210912704468, 0.379071980714798, 0.06394772231578827, -0.3145078718662262, -0.017517540603876114, 1.0000386238098145, 0.7784460783004761, -0.3848048746585846, 0.721744179725647, 0.4440041184425354, 0.19036155939102173, 0.7630521059036255, -0.18725109100341797, 0.16478213667869568, -0.5245416760444641, -0.12161104381084442, -0.8887597918510437, -1.0982946157455444, 0.7320570349693298, -0.6114250421524048, 0.36542922258377075, -0.4277869760990143, 0.2589159905910492, -0.6919258832931519, -0.03885362669825554, 0.4808599352836609, -0.05936325341463089, -0.6863942742347717, 0.5232570171356201, 0.45317530632019043, -0.2019241601228714, -0.6609031558036804, -0.530157208442688, 0.39365822076797485, 0.6154114007949829, -0.16390392184257507, 0.06878514587879181, 0.14941060543060303, -0.5441926121711731, -0.040802597999572754, -0.38691970705986023, -0.45766758918762207, 0.054224006831645966, 0.13053473830223083, -0.005750799085944891, -0.404820054769516, -0.0868026465177536, -0.35842007398605347, -0.4656120240688324, 0.21876516938209534, 0.3011947274208069, -0.04096309468150139, -0.42599788308143616, -0.3619818687438965, -0.888181209564209, 0.6719610095024109, 0.5370282530784607, 0.05281545966863632, 0.7555549740791321, 0.16819314658641815, -0.8014987707138062, -0.13532210886478424, -0.1760706603527069, 0.2696830928325653, -0.5588056445121765, 0.13849826157093048, -0.013484534807503223, -0.0637492910027504, 0.26297882199287415, 0.25386232137680054, -0.4300556778907776, 0.9276250004768372, -0.2615274488925934, -0.3592521846294403, 0.7960181832313538, 0.5974742770195007, 0.49583131074905396, 0.16503219306468964, -0.044541798532009125, 0.900709331035614, -1.1966516971588135, -0.6563175916671753, -0.7409549355506897, -0.15945707261562347, -0.43510833382606506, -0.032105933874845505, 0.6254412531852722, 0.2900990843772888, -0.1333388388156891, 0.4756395220756531, -0.5243489742279053, 0.3556033670902252, 1.01198410987854, 0.35748639702796936, 0.3435698449611664, -0.7570229172706604, -0.2515777349472046, -0.1402427852153778, -0.9998157620429993, -0.2631377875804901, 0.8871029019355774, 0.22752606868743896, 0.844460666179657, 0.5992541313171387, 0.6784542798995972, 0.1367226243019104, 0.2523828148841858, -0.30590319633483887, 0.3920294940471649, 0.4376082420349121, -1.0401138067245483, -0.42758408188819885, 0.021418681368231773, -0.9703338742256165, -0.14227519929409027, -0.03495011106133461, -0.42617112398147583, 0.7681737542152405, 0.00016589462757110596, -0.4076709747314453, 0.7732734084129333, -0.455583393573761, 0.7562873363494873, -0.4473648965358734, -0.02663906291127205, 0.4699096083641052, -0.7070636749267578, 0.4677430987358093, 0.12878790497779846, 0.6205843091011047, -0.015572631731629372, -0.04078587517142296, 0.7104941606521606, -0.9129160046577454, 0.25438642501831055, -0.6348397135734558, 0.22421300411224365, 0.24246945977210999, 0.51606285572052, 0.5969953536987305, 0.4371243417263031, 0.10119888931512833, -0.23920902609825134, 0.04115807265043259, -0.8241125345230103, -0.210506409406662, 0.697515606880188, -0.7186890840530396, -0.6864197850227356, -1.2355337142944336, 0.14438660442829132, 0.27347055077552795, 0.389305055141449, 0.7959296107292175, 0.571408748626709, 0.1289544403553009, 0.680525004863739, 0.9888588190078735, -0.0688566341996193, 0.9166924357414246, 0.3224477171897888, 0.09175168722867966, -0.21944808959960938, 0.7036820650100708, 0.26627904176712036, -0.24707956612110138, -0.11939732730388641, 0.20913465321063995, -0.11069409549236298, -0.591761589050293, -0.49990686774253845, 0.3701757788658142, -0.6731787919998169, -0.18303893506526947, -0.6243735551834106, -0.6043769717216492, -0.511759340763092, 0.06927360594272614, -0.7147687673568726, 0.23979046940803528, -0.7753565907478333, -0.10574902594089508, 0.04323432594537735, 0.9792009592056274, -0.589311957359314, 0.5805224180221558, -1.1218582391738892, 0.19345788657665253, -0.07949887961149216, 0.7921058535575867, 0.21395787596702576, -0.7344395518302917, -0.3975418508052826, -0.11592631042003632, -0.3729911744594574, -1.3576762676239014, 0.21404948830604553, -0.2454141080379486, 0.23094046115875244, 0.6145404577255249, 0.1397707313299179, 0.5258248448371887, -0.34326282143592834, 0.7029101848602295, -0.057017259299755096, -0.7069286704063416, 0.7934495210647583, -0.5026894807815552, 0.4963534474372864, 0.9765996932983398, 0.5333835482597351, -0.7984007596969604, 0.035741209983825684, -1.041123390197754, -0.6008695363998413, 0.38426393270492554, 0.11928944289684296, -0.03601083159446716, -0.6659559011459351, -0.054019637405872345, -0.16143807768821716, 0.6043745279312134, -1.039069414138794, -0.7858356237411499, 0.2576698362827301, 0.5277302861213684, 0.0816856250166893, -0.5653398633003235, 0.20880667865276337, -0.544416069984436, 1.0657774209976196, 0.45109400153160095, 0.3274499475955963, 0.8406060934066772, 0.46492424607276917, -0.3823164403438568, 0.09252490103244781, 0.7662695050239563, 0.6666232347488403, -0.5239797830581665, -0.2908027470111847, -0.08827541768550873, -0.9143403768539429, 0.05927472561597824, 0.11168918758630753, -0.013455932028591633, 0.9082110524177551, 0.5793083310127258, 0.2539709210395813, 0.4514279365539551, -0.726460337638855, 0.8859451413154602, -0.14954176545143127, -0.12472866475582123, -1.0677239894866943, 0.1948619782924652, -0.23984959721565247, 0.5006402134895325, 1.0061326026916504, 0.5250048041343689, -0.047630298882722855, -0.8143380880355835, -0.01473585981875658, 0.6939172148704529, -0.7091123461723328, -0.17449834942817688, 0.944853663444519, 0.3847099542617798, -1.2953051328659058, 1.106776475906372, -0.5381771326065063, -0.560332179069519, 0.9121301770210266, 0.522956907749176, 1.1221847534179688, -0.44204121828079224, 0.0008676342549733818, 0.2662237286567688, 0.41378432512283325, 0.5423170328140259, 1.0869629383087158, 0.431413471698761, -0.7931063771247864, 0.8826584815979004, -0.24776044487953186, -0.40361151099205017, -0.05347571521997452, -0.42859897017478943, 0.16892178356647491, -0.4406192898750305, -0.10713007301092148, -0.3444187641143799, 0.28543180227279663, -0.7072042226791382, 0.42807620763778687, -0.0838567465543747, 0.8653068542480469, -0.8553727269172668, 0.47207626700401306, 0.635470449924469, -0.3337355852127075, -0.8508191108703613, -0.26198428869247437, -0.11448462307453156, -0.6389466524124146, 0.30214807391166687, -0.4554102420806885, 0.044398851692676544, 0.09623463451862335, -0.649151623249054, -1.1778275966644287, 0.9093633890151978, -0.639612078666687, -0.2784462869167328, 0.20464053750038147, -0.11514760553836823, 0.28811705112457275, -0.2524643540382385, 0.010661216452717781, 0.41876548528671265, 0.748940110206604, 0.2844654619693756, -0.7727053761482239, -0.3694884479045868, 0.0015032943338155746, -0.44474777579307556, 0.7582978010177612, -0.6002101898193359, 1.1840779781341553, -0.5563543438911438, -0.059654366225004196, 0.44384512305259705, 0.24690914154052734, 0.21076197922229767, 0.6629220843315125, 0.1442081481218338, 0.7282265424728394, 1.07012140750885, -0.40835219621658325, 0.8811809420585632, 0.26432839035987854, 0.47430819272994995, 0.7238501906394958, -0.6487724781036377, 0.7513749003410339, 0.31810489296913147, -0.5682924389839172, 0.9228013753890991, 1.2906063795089722, -0.15699204802513123, 0.8079374432563782, 0.05136508867144585, -1.081600546836853, 0.325833261013031, -0.20724765956401825, -0.7530064582824707, 0.3150254189968109, 0.19055864214897156, -0.6920982599258423, -0.5770308971405029, -0.24046507477760315, -0.35662803053855896, -0.11552901566028595, -0.7631728649139404, 0.6720563769340515, -0.016969164833426476, -0.5103683471679688, 0.18857547640800476, 0.2877499461174011, 0.17368432879447937, -0.5235732793807983, -0.02939440682530403, -0.22823619842529297, 0.2660655975341797, -0.5670853853225708, -0.5234526991844177, 0.5724433064460754, -0.32430219650268555, -0.5343255400657654, 0.18147465586662292, 0.763587236404419, -0.16923809051513672, -0.4515409469604492, 0.32472723722457886, 0.6959525346755981, 0.1665852814912796, 0.4250282347202301, -0.23511263728141785, 0.24480605125427246, -0.08044824004173279, -0.06651552021503448, 0.27714768052101135, 0.3449169099330902, 0.22435641288757324, 0.4450142979621887, 0.43285664916038513, -0.01808755099773407, -0.10736498981714249, -0.382819801568985, 0.4124940037727356, -0.9542785882949829, -0.5713282823562622, -0.6307113766670227, 0.2740660607814789, -0.02315417304635048, -1.0836423635482788, 0.4145168364048004, 1.4406683444976807, 1.0359982252120972, -0.4756383001804352, 1.067226529121399, -0.21818485856056213, 0.9594791531562805, 0.41483086347579956, 0.5420440435409546, -0.6030411720275879, 0.03835370019078255, -0.4364396035671234, -1.076962947845459, -0.35716333985328674, 0.4539391100406647, -0.022899555042386055, -0.3429867625236511, 0.872571587562561, 0.5887166261672974, -0.33473607897758484, -0.11728022992610931, 0.048487238585948944, -0.029941488057374954, -0.12433847039937973, 0.5145376324653625, 0.7648399472236633, -0.9344304800033569, -0.10680416971445084, -0.21577754616737366, -0.6382725834846497, -0.5047279000282288, -0.9632009267807007, -0.12959396839141846, -0.16037796437740326, 0.035343267023563385, -0.5662806630134583, 0.00255737011320889, 1.208324909210205, 0.5684957504272461, -1.1113994121551514, -0.5303789377212524, 0.3371853232383728, 0.3920421898365021, -0.1874791383743286, -0.24202413856983185, 0.2984568774700165, 0.15382249653339386, -0.5908876657485962, 0.6875665783882141, 0.8089625239372253, 0.208888977766037, 0.19554761052131653, 0.15893013775348663, -0.8229473829269409, -0.14913435280323029, 0.17440445721149445, 0.9450570344924927, -0.939853310585022, -0.7114843130111694, -0.03168516233563423, -0.27094873785972595, -0.05765746906399727, 0.17102102935314178, -0.4046344757080078, 0.5180677175521851, 0.34591493010520935, 0.49933457374572754, 0.0561608150601387, -0.054746925830841064, 0.5409556031227112, -0.9069057703018188, 0.09425963461399078, 0.4134361147880554, 0.4154115319252014, -0.4000864028930664, -0.5910194516181946, 0.6713420748710632, 1.0073972940444946, -0.6594868898391724, -0.8743268847465515, -0.19846712052822113, -1.0016002655029297, 0.04189709946513176, 0.6762762069702148, 0.5009527802467346, -0.4806513786315918, -0.4174500107765198, -0.5617399215698242, -0.1254672110080719, -0.1369970738887787, 0.7621601819992065, 1.179680585861206, -0.7432094812393188, 0.07975747436285019, -1.038639783859253, 0.6594986915588379, -0.2419457733631134, -0.3457581698894501, -0.48644304275512695, 0.3832802176475525, 0.35236993432044983, 0.440481036901474, 0.614812433719635, 0.1408471167087555, 0.8338426351547241, 0.3126053214073181, -0.1702686995267868, 0.2698982357978821, -0.4559200704097748, -0.028932858258485794, -0.057962555438280106, 0.31015971302986145, -1.0262157917022705 ]
rinna/japanese-gpt2-small
rinna
2023-03-22T04:13:10Z
7,490
15
transformers
[ "transformers", "pytorch", "tf", "safetensors", "gpt2", "text-generation", "ja", "japanese", "lm", "nlp", "dataset:cc100", "dataset:wikipedia", "license:mit", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2022-03-02T23:29:05Z
--- language: ja thumbnail: https://github.com/rinnakk/japanese-gpt2/blob/master/rinna.png tags: - ja - japanese - gpt2 - text-generation - lm - nlp license: mit datasets: - cc100 - wikipedia widget: - text: "生命、宇宙、そして万物についての究極の疑問の答えは" --- # japanese-gpt2-small ![rinna-icon](./rinna.png) This repository provides a small-sized Japanese GPT-2 model. The model was trained using code from Github repository [rinnakk/japanese-pretrained-models](https://github.com/rinnakk/japanese-pretrained-models) by [rinna Co., Ltd.](https://corp.rinna.co.jp/) # How to use the model ~~~~ from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("rinna/japanese-gpt2-small", use_fast=False) tokenizer.do_lower_case = True # due to some bug of tokenizer config loading model = AutoModelForCausalLM.from_pretrained("rinna/japanese-gpt2-small") ~~~~ # Model architecture A 12-layer, 768-hidden-size transformer-based language model. # Training The model was trained on [Japanese CC-100](http://data.statmt.org/cc-100/ja.txt.xz) and [Japanese Wikipedia](https://dumps.wikimedia.org/other/cirrussearch) to optimize a traditional language modelling objective on 8\\*V100 GPUs for around 15 days. It reaches around 21 perplexity on a chosen validation set from CC-100. # Tokenization The model uses a [sentencepiece](https://github.com/google/sentencepiece)-based tokenizer, the vocabulary was trained on the Japanese Wikipedia using the official sentencepiece training script. # Licenese [The MIT license](https://opensource.org/licenses/MIT)
[ -0.37323033809661865, -0.6603422164916992, 0.36008065938949585, 0.23246829211711884, -0.5497015118598938, -0.20032446086406708, -0.24141350388526917, -0.2328944057226181, -0.04990113154053688, 0.41540056467056274, -0.5977636575698853, -0.18694788217544556, -0.6153505444526672, 0.0167379267513752, -0.00196107872761786, 1.2105469703674316, -0.30084335803985596, 0.16899722814559937, 0.3853484094142914, 0.033461567014455795, -0.5177144408226013, -0.2438599318265915, -0.8999391198158264, -0.4489218294620514, 0.3088962733745575, 0.4360752999782562, 0.6838698983192444, 0.5692096948623657, 0.4812609851360321, 0.26328253746032715, 0.11981341987848282, -0.24489541351795197, -0.34327343106269836, -0.26581528782844543, -0.039201829582452774, -0.5566837191581726, -0.4310247004032135, 0.13902589678764343, 0.6379611492156982, 0.29415425658226013, 0.03230900689959526, 0.2652050852775574, 0.03912070766091347, 0.17252150177955627, -0.3403162360191345, 0.49919649958610535, -0.5137844681739807, 0.13205112516880035, -0.40348461270332336, 0.1388644129037857, -0.31238383054733276, -0.07377153635025024, -0.025669829919934273, -0.8687561750411987, 0.23349738121032715, 0.002550880191847682, 1.171198844909668, 0.4078613221645355, -0.19037066400051117, -0.2871032655239105, -0.4961475729942322, 0.6417509317398071, -0.7055007815361023, 0.2778695523738861, 0.4335000514984131, 0.4507492184638977, -0.03266960009932518, -1.0399112701416016, -0.5770968198776245, -0.3284637928009033, -0.3390657901763916, 0.1049232929944992, -0.1131688803434372, -0.0899043157696724, 0.6330442428588867, 0.35172927379608154, -1.0204730033874512, 0.24771058559417725, -0.42897123098373413, -0.31227344274520874, 0.36149340867996216, 0.023462554439902306, 0.6365768909454346, -0.48421698808670044, -0.29626065492630005, -0.25537991523742676, -0.7162699699401855, -0.10897261649370193, 0.4714146554470062, 0.30319303274154663, -0.5023271441459656, 0.6883537769317627, -0.08572182804346085, 0.2894231677055359, 0.11469502747058868, -0.16876572370529175, 0.33513981103897095, -0.32539719343185425, -0.16032108664512634, -0.07553987950086594, 1.0588871240615845, 0.045384638011455536, 0.3731703460216522, -0.04987155273556709, -0.2870558798313141, 0.18477173149585724, 0.03752954676747322, -1.0440030097961426, -0.5812913179397583, -0.14643332362174988, -0.37304386496543884, -0.15532952547073364, 0.017319422215223312, -0.5382494926452637, 0.20263291895389557, -0.1905413120985031, 0.6845609545707703, -0.368008017539978, -0.461153119802475, 0.007234680932015181, -0.09666315466165543, 0.36252766847610474, 0.0027851455379277468, -0.891591489315033, 0.14462722837924957, 0.4994431734085083, 0.9424554109573364, 0.18319042026996613, -0.35841575264930725, -0.04234771430492401, 0.06326889991760254, -0.19721965491771698, 0.570166826248169, -0.1376877725124359, -0.5614559650421143, -0.28628355264663696, 0.378841757774353, -0.20701777935028076, -0.37727394700050354, 0.5904546976089478, -0.3950102627277374, 0.608200192451477, -0.13262790441513062, -0.35751810669898987, 0.10952115803956985, 0.03579053655266762, -0.6157359480857849, 1.1400394439697266, 0.38104236125946045, -0.9561662673950195, 0.3037768304347992, -0.8549144268035889, -0.22843459248542786, 0.31832239031791687, -0.21323944628238678, -0.6702432632446289, 0.011564047075808048, 0.15366970002651215, 0.1728210300207138, -0.09067977964878082, 0.2642163038253784, -0.13416332006454468, -0.5477318167686462, -0.047017283737659454, -0.46182185411453247, 0.9483863711357117, 0.41560590267181396, -0.6138083338737488, -0.19303441047668457, -0.6070024371147156, -0.014512910507619381, 0.4590732455253601, -0.2695245146751404, -0.3009973466396332, -0.5563741326332092, 0.34238114953041077, 0.2683991491794586, 0.42674553394317627, -0.5093340277671814, 0.4272559583187103, -0.537268877029419, 0.528656005859375, 0.5296675562858582, -0.03630506992340088, 0.4099128544330597, -0.09417521953582764, 0.6661103963851929, 0.12362495064735413, 0.39069250226020813, 0.03693712130188942, -0.6345704793930054, -1.0832178592681885, -0.13889232277870178, 0.3904162645339966, 0.5089420676231384, -1.0813113451004028, 0.4663069546222687, -0.5027275681495667, -0.5882623791694641, -0.5936366319656372, -0.12369702756404877, 0.5765044689178467, 0.3009479343891144, 0.29690021276474, -0.42227885127067566, -0.5910803079605103, -1.0619990825653076, -0.3230936527252197, -0.23984281718730927, -0.13599719107151031, -0.009688985534012318, 0.9276842474937439, -0.44957858324050903, 0.7647591829299927, -0.34693676233291626, -0.29097920656204224, -0.2703726589679718, 0.3405759632587433, 0.33820581436157227, 0.7414066195487976, 0.4514118432998657, -0.6850360631942749, -0.797353208065033, -0.05196848139166832, -0.5518202185630798, 0.030136682093143463, 0.057983819395303726, -0.03936280682682991, 0.18383020162582397, 0.3433650732040405, -0.7489351630210876, 0.4252745807170868, 0.3702111542224884, -0.427001953125, 0.6050081253051758, -0.184404656291008, -0.08702803403139114, -1.285330057144165, 0.36714860796928406, -0.028480175882577896, -0.32226166129112244, -0.4340220093727112, 0.3570800721645355, 0.08166950196027756, -0.3045603334903717, -0.4402957558631897, 0.8887103796005249, -0.47804704308509827, -0.03553680330514908, -0.269542932510376, -0.059670861810445786, -0.18439972400665283, 0.5534562468528748, 0.16597531735897064, 1.239153265953064, 0.29332298040390015, -0.27889060974121094, 0.09773432463407516, 0.4206947982311249, -0.5666254758834839, 0.034653738141059875, -0.8681769371032715, 0.3037148118019104, 0.1195911169052124, 0.2062743455171585, -0.844615638256073, -0.4850938618183136, 0.5921925902366638, -0.5016134977340698, 0.5122890472412109, -0.5218894481658936, -0.6510117650032043, -0.46843400597572327, -0.1166737973690033, 0.5228559374809265, 0.7600894570350647, -0.5216212868690491, 0.3108530342578888, 0.3453136086463928, -0.26668134331703186, -0.5693437457084656, -0.9992596507072449, -0.04727890342473984, -0.187097430229187, -0.25854700803756714, 0.21984222531318665, 0.017457274720072746, 0.14790406823158264, 0.14078518748283386, -0.011772329919040203, -0.11960577219724655, 0.012670441530644894, 0.1369839310646057, 0.31969761848449707, -0.33928999304771423, -0.1492948979139328, 0.057276707142591476, -0.5675298571586609, 0.07274594157934189, -0.16930167376995087, 0.747765302658081, -0.2605815529823303, -0.20009882748126984, -0.6360355615615845, -0.005350502673536539, 0.39746221899986267, 0.04549725726246834, 0.6919242739677429, 0.9827738404273987, -0.24160124361515045, 0.014471832662820816, -0.596734881401062, -0.28161129355430603, -0.5175387263298035, 0.7006692290306091, -0.6431272029876709, -0.9799565076828003, 0.470710813999176, 0.10213257372379303, -0.20061659812927246, 0.7762864828109741, 0.6037030220031738, 0.09508075565099716, 1.1731725931167603, 0.5238174200057983, -0.31684842705726624, 0.49319615960121155, -0.48565784096717834, 0.3236369788646698, -1.0183955430984497, -0.04152929037809372, -0.5309924483299255, 0.05931342765688896, -0.9604853987693787, -0.37160447239875793, 0.2959457337856293, 0.20088611543178558, -0.7009204030036926, 0.5500655174255371, -0.6507535576820374, 0.5292063355445862, 0.42316746711730957, -0.08694954961538315, 0.1442442089319229, 0.1455799788236618, -0.28479698300361633, -0.15077105164527893, -0.9258902668952942, -0.6642751693725586, 1.140698790550232, 0.7202643156051636, 0.6575688719749451, 0.07432985305786133, 0.537585973739624, -0.1537867933511734, 0.3841784596443176, -0.743171215057373, 0.3760674297809601, -0.31946027278900146, -0.9086865782737732, -0.25547608733177185, -0.599015474319458, -0.854451596736908, 0.11818481981754303, 0.20191331207752228, -0.6054256558418274, -0.032045021653175354, 0.07776333391666412, -0.08291728049516678, 0.20694652199745178, -0.6544814109802246, 1.156347632408142, -0.1997680515050888, -0.018792694434523582, 0.03638105094432831, -0.6137834787368774, 0.47059914469718933, -0.08919331431388855, 0.21690532565116882, 0.144541934132576, 0.060015659779310226, 0.9019694924354553, -0.5171604752540588, 0.775886058807373, -0.468356728553772, 0.1283850073814392, 0.14473029971122742, -0.11197566986083984, 0.6118412017822266, 0.17571234703063965, 0.35435622930526733, 0.16547009348869324, 0.01026029884815216, -0.404531866312027, -0.4111774265766144, 0.7157190442085266, -1.2686833143234253, -0.40046432614326477, -0.5343567728996277, -0.14148128032684326, -0.012250890955328941, 0.34265458583831787, 0.8161962628364563, 0.2986602187156677, 0.034999191761016846, 0.15838275849819183, 0.6097425818443298, -0.18525759875774384, 0.4042142927646637, 0.5128695964813232, -0.3081938624382019, -0.34603601694107056, 0.8759506940841675, 0.08715001493692398, 0.13803283870220184, 0.23256167769432068, 0.21593548357486725, -0.4766692817211151, -0.4047588109970093, -0.5626220107078552, 0.5236184000968933, -0.5822877883911133, 0.07729645073413849, -0.4970996081829071, -0.46052372455596924, -0.48597556352615356, 0.3803958594799042, -0.5605412125587463, -0.45169246196746826, -0.2546049654483795, 0.01249468419700861, 0.1141512542963028, 0.6256815791130066, 0.04639624059200287, 0.6812521815299988, -0.5356594920158386, 0.21285802125930786, 0.27875837683677673, 0.3337382972240448, -0.16531667113304138, -0.9415013194084167, -0.381412148475647, 0.07018750160932541, -0.2368067055940628, -0.58769690990448, 0.34137141704559326, -0.062266308814287186, 0.5379127264022827, 0.17191725969314575, -0.39435115456581116, 0.6507207155227661, -0.4747985899448395, 0.8763736486434937, 0.22485579550266266, -0.8345546722412109, 0.5982177257537842, -0.39951208233833313, 0.5928901433944702, 0.6886758208274841, 0.4906553030014038, -0.6259657740592957, -0.3140425384044647, -0.7196357846260071, -0.80107182264328, 0.6618596315383911, 0.34492579102516174, 0.1549004465341568, 0.1119486391544342, 0.6969886422157288, 0.012475402094423771, 0.009126318618655205, -1.1808967590332031, -0.36266759037971497, -0.5087660551071167, -0.3140197694301605, -0.25008425116539, -0.38383856415748596, 0.11684473603963852, -0.2783752381801605, 1.150146722793579, -0.16003909707069397, 0.5149073600769043, 0.09776237607002258, -0.42706528306007385, 0.03435399383306503, 0.2126479148864746, 0.5582928657531738, 0.43632203340530396, -0.04671868309378624, -0.21856297552585602, 0.1298138052225113, -0.8295339941978455, 0.09613331407308578, 0.07212638854980469, -0.30987462401390076, 0.23406584560871124, 0.3514479398727417, 1.147444248199463, 0.29081544280052185, -0.19571556150913239, 0.5540235042572021, -0.29405584931373596, -0.15030282735824585, -0.6533665060997009, 0.07917093485593796, 0.049246642738580704, 0.051910240203142166, 0.18817217648029327, -0.18787772953510284, 0.08217904716730118, -0.5096397399902344, -0.032080426812171936, 0.27225130796432495, -0.3713357746601105, -0.3098140358924866, 0.7863885760307312, 0.011684507131576538, -0.13445483148097992, 0.8760666251182556, -0.35878679156303406, -0.6397389769554138, 0.5033516883850098, 0.532877504825592, 0.8729363083839417, -0.1297752857208252, 0.07110454142093658, 0.6812076568603516, 0.4436495900154114, -0.37727904319763184, 0.17850303649902344, 0.035317886620759964, -0.7452772855758667, -0.41031911969184875, -0.7349780201911926, -0.20812495052814484, 0.5697057247161865, -0.6559943556785583, 0.3422737419605255, -0.4977605938911438, -0.3679136633872986, -0.22092123329639435, 0.5009765625, -0.8940144777297974, 0.32788607478141785, -0.01136721670627594, 0.9073623418807983, -0.9868161082267761, 1.1969611644744873, 0.7116533517837524, -0.7014276385307312, -1.2941854000091553, -0.18376266956329346, -0.10937093943357468, -0.9427220225334167, 0.7637249827384949, 0.14417408406734467, 0.2070847600698471, 0.239174947142601, -0.4309626817703247, -0.7958492040634155, 1.155624270439148, 0.11594532430171967, -0.8627420663833618, -0.26137980818748474, 0.31607043743133545, 0.5131967663764954, -0.22571180760860443, 0.4770236313343048, 0.5647348761558533, 0.5564756393432617, -0.17527078092098236, -1.1304575204849243, 0.010360767133533955, -0.4592464566230774, 0.3398689031600952, 0.15701211988925934, -0.726034939289093, 0.9797251224517822, 0.23987986147403717, -0.17357511818408966, 0.5247268676757812, 0.4095686376094818, 0.31189030408859253, -0.10426574945449829, 0.46517905592918396, 0.8636133074760437, 0.41694536805152893, -0.2967747449874878, 1.0643025636672974, -0.3794618546962738, 0.8784049153327942, 1.196672797203064, 0.13088871538639069, 0.6834360361099243, 0.3768334984779358, -0.2367134690284729, 0.6083197593688965, 0.6431575417518616, -0.3290286064147949, 0.5798650979995728, 0.009984662756323814, -0.033701710402965546, -0.027704665437340736, 0.3547755479812622, -0.6144986748695374, 0.4903022050857544, 0.29299798607826233, -0.3111361265182495, -0.13644984364509583, 0.10659462958574295, 0.3140639364719391, -0.43949270248413086, -0.19256511330604553, 0.7414398789405823, 0.22667112946510315, -0.6018630862236023, 0.441099613904953, 0.17870314419269562, 0.816677451133728, -0.7718173861503601, 0.3002816438674927, -0.24432867765426636, 0.27022239565849304, 0.0730089545249939, -0.5464703440666199, 0.1863650381565094, 0.11922197788953781, -0.10466960817575455, -0.10650787502527237, 0.8434749245643616, -0.4163497984409332, -0.6264142990112305, 0.1329387128353119, 0.3833470344543457, 0.39465785026550293, 0.09907025843858719, -1.0444449186325073, 0.05392897501587868, -0.03233206272125244, -0.47379446029663086, 0.5388850569725037, 0.2760161757469177, -0.12071724981069565, 0.4795924425125122, 0.6092444658279419, 0.109769307076931, -0.1405297815799713, 0.2424633502960205, 0.7216795682907104, -0.3609039783477783, -0.6455067992210388, -0.7923977375030518, 0.47981294989585876, -0.01052107010036707, -0.5372890830039978, 0.8353528380393982, 0.7404156923294067, 1.0909303426742554, -0.29791074991226196, 0.8807982206344604, -0.06512001156806946, 0.486593633890152, -0.5928056240081787, 1.067541480064392, -0.5789709687232971, 0.09046392142772675, -0.0005487857270054519, -1.0286078453063965, -0.05439111962914467, 0.9876785278320312, -0.41780802607536316, 0.3737316429615021, 0.6851606965065002, 0.9793333411216736, -0.28871968388557434, -0.16286535561084747, 0.07349571585655212, 0.49181023240089417, 0.31267327070236206, 0.6029032468795776, 0.7723193168640137, -0.8035345077514648, 0.36706259846687317, -0.4593753516674042, -0.16672173142433167, -0.17985157668590546, -0.625308632850647, -0.8986237049102783, -0.4907461106777191, -0.4547938406467438, -0.30202120542526245, 0.04766285791993141, 0.8439215421676636, 0.7032569050788879, -0.8301918506622314, -0.26726487278938293, -0.23601031303405762, -0.36485472321510315, 0.37237125635147095, -0.30740758776664734, 0.3675186336040497, -0.34724631905555725, -0.7599921226501465, 0.1816377490758896, -0.04375786334276199, 0.2658438980579376, -0.3621992766857147, -0.08100874722003937, 0.058018144220113754, -0.3136584460735321, 0.21503756940364838, 0.3184508681297302, -0.6794199347496033, -0.4295979142189026, -0.3615172207355499, -0.3502049744129181, -0.09211621433496475, 0.6735094785690308, -0.5001204013824463, 0.18561455607414246, 0.29062968492507935, 0.18848085403442383, 0.7876431941986084, -0.3141533136367798, 0.38472720980644226, -0.7027447819709778, 0.4735974967479706, 0.09737085551023483, 0.4886925220489502, 0.3287830650806427, -0.26534363627433777, 0.5983480215072632, 0.38020065426826477, -0.6597250699996948, -0.7564518451690674, 0.1512441337108612, -0.7431932091712952, -0.2479875683784485, 1.1711270809173584, -0.3029378652572632, -0.26730668544769287, 0.04515170678496361, -0.20878396928310394, 0.5072456002235413, -0.08428671211004257, 0.5882052183151245, 0.7249420285224915, 0.3681069016456604, -0.25830695033073425, -0.6601459383964539, 0.6493648886680603, 0.27586284279823303, -0.6457207798957825, -0.3260200023651123, 0.025866171345114708, 0.8638745546340942, 0.236345574259758, 0.6411147117614746, -0.31766602396965027, 0.26932987570762634, 0.12100596725940704, 0.05076447129249573, -0.16675084829330444, -0.24319911003112793, -0.42594441771507263, -0.13016249239444733, 0.09784094989299774, -0.0679190531373024 ]
lewdryuna/A-Rainier
lewdryuna
2023-06-24T17:34:54Z
7,489
1
diffusers
[ "diffusers", "stable-diffusion", "text-to-image", "license:creativeml-openrail-m", "endpoints_compatible", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2023-06-24T17:34:54Z
--- license: creativeml-openrail-m tags: - stable-diffusion - text-to-image duplicated_from: Hemlok/RainierMix --- # ◆RainierMix ![a](Image/RainierMix.png) - "RainierMix" is a merged model based on "ACertainThing". --- # 《Notice》 - **"RainierMixV2" and "PastelRainier" are no longer available for commercial use due to a change in the license of the merging source.** - Instead, we have created **"RainierMix-V2.5"** and **"PastelRainier-V2.5"** Please use them. ---- - The model was corrupted and a corrected version has been uploaded to "Modified-Model". ![a](Image/3.png) - Here is an example of how it compares to the modified version. --- # ◆Discord [Join Discord Server](https://discord.gg/eN6aSWRddT) - The merged model community of Hemlok. ---- # ◆About - Sampler: DDIM or DPM++ SDE Karras - Steps: 50~ - Clipskip: 2 - CFG Scale: 5-8 - Denoise strength: 0.5-0.7 - Negative prompts should be as few as possible. - *Always use VAE to avoid possible color fading.* ---- # ◆Model Types - Prompt: ``` kawaii, 1girl, (solo), (cowboy shot), (dynamic angle), Ruffled Dresses, (The great hall of the mansion), tiara, Luxurious interior, looking at viewer, ``` --- ## ◇Rainier-base ![a](Image/base.png) - ACertainThing + Anything-V4.5 --- ## ◇RainierMixV1 ![a](Image/V1.png) - Rainier-base + Counterfeit-V2.0 + Evt_V4-preview --- ## ◇RainierMix-V2.5 ![a](Image/v25.png) - Neuauflage des Modells "RainierMixV2". ## ◇PastelRainier-V2.5 ![a](Image/p25.png) - Neuauflage des Modells "PastelRainier". --- # ◆How to use - Please download the file by yourself and use it with WebUI(AUTOMATIC1111) etc. - Use the fp16 version for Colab(T4) or a PC with low RAM. - The models are located in "Model" and "Model/fp16" respectively. - Modified models can be found in "Modified-Model" and "Modified-Model/fp16". ---- # Disclaimer - The creation of SFW and NSFW images is at the discretion of the individual creator. - This model is not a model created to publish NSFW content in public places, etc. ---- ## License This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage. The CreativeML OpenRAIL License specifies: 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content 2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license 3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully) (Full text of the license: https://huggingface.co/spaces/CompVis/stable-diffusion-license)
[ -0.28537777066230774, -0.7183458805084229, 0.22159886360168457, 0.4582688808441162, -0.5735556483268738, -0.20632138848304749, 0.1485242247581482, -0.5862448811531067, 0.23884423077106476, 0.8556637763977051, -0.5427860021591187, -0.48717015981674194, -0.7433120608329773, -0.04211823269724846, -0.36479732394218445, 0.8452305793762207, -0.4882887005805969, 0.16531863808631897, -0.28179049491882324, -0.06989992409944534, -0.39596590399742126, -0.40341487526893616, -0.5104620456695557, -0.25350257754325867, 0.24100670218467712, 0.4836575388908386, 0.8068512082099915, 0.5164289474487305, 0.6548480987548828, 0.291450560092926, -0.17623838782310486, -0.014646652154624462, -0.6199859380722046, -0.12700781226158142, -0.008333912119269371, -0.34865254163742065, -0.9326822757720947, 0.12706604599952698, 0.3307797610759735, 0.2158333659172058, -0.31690454483032227, 0.23155637085437775, 0.26411548256874084, 0.48706862330436707, -0.5646631717681885, 0.20193853974342346, 0.011616257019340992, 0.07108316570520401, -0.15630382299423218, -0.1211799755692482, -0.14608217775821686, -0.370755136013031, -0.01368953101336956, -0.8059124946594238, 0.13190069794654846, 0.022012580186128616, 1.0626565217971802, -0.027086535468697548, -0.4205094873905182, 0.09000562131404877, -0.8163429498672485, 0.7677649259567261, -0.7877101302146912, 0.28138646483421326, 0.35338398814201355, 0.5842601656913757, -0.010816090740263462, -1.061053991317749, -0.4808610677719116, 0.0006847174372524023, 0.14040319621562958, 0.2540918290615082, -0.66960209608078, -0.2718113660812378, 0.05281892418861389, 0.5129855275154114, -0.6819270253181458, -0.11657729744911194, -0.675889253616333, -0.1000983715057373, 0.6347882747650146, 0.19344136118888855, 0.45028558373451233, -0.2710421681404114, -0.7873715758323669, -0.3340635895729065, -0.5414941310882568, -0.06352102011442184, 0.26213914155960083, 0.06929930299520493, -0.7059178948402405, 0.6151294112205505, 0.059076737612485886, 0.32508060336112976, 0.05237129330635071, -0.012500891461968422, 0.257138192653656, -0.3153613209724426, -0.5388120412826538, -0.2178516685962677, 0.9318657517433167, 0.8208944201469421, 0.044420041143894196, 0.09265047311782837, -0.18497179448604584, -0.39709317684173584, 0.010472298599779606, -1.0622957944869995, -0.4814731478691101, 0.4390954077243805, -0.594911515712738, -0.4697772264480591, 0.06750524789094925, -0.6645364761352539, -0.11654217541217804, -0.15382082760334015, 0.6514409780502319, -0.3305024206638336, -0.551542341709137, -0.010232836939394474, -0.4922946095466614, 0.012716674245893955, 0.7214425206184387, -0.2830725610256195, 0.38489437103271484, 0.27767089009284973, 0.7488803267478943, 0.07634227722883224, -0.28773051500320435, 0.02055811509490013, 0.28256499767303467, -0.3078736960887909, 0.5943772196769714, 0.09657376259565353, -0.7318591475486755, -0.27973058819770813, 0.2168094664812088, 0.10396744310855865, -0.6459171772003174, 0.6774328947067261, -0.5517985820770264, 0.4149714708328247, -0.1939471960067749, -0.23070073127746582, -0.5053771138191223, 0.018282854929566383, -0.7902675867080688, 0.75543612241745, 0.5124269723892212, -0.8758735060691833, 0.24068692326545715, -0.5410299897193909, -0.06312356889247894, 0.10244719684123993, 0.27839720249176025, -0.6237884759902954, -0.324478417634964, -0.0066351196728646755, 0.1107955202460289, -0.332220196723938, 0.14468087255954742, -0.41922932863235474, -0.10888655483722687, 0.12030522525310516, -0.3896213173866272, 1.2947032451629639, 0.12907925248146057, -0.2858220338821411, 0.19979983568191528, -0.8141642212867737, -0.18846473097801208, 0.48178631067276, -0.18541938066482544, -0.03873845189809799, -0.3493878245353699, 0.6959733366966248, 0.33339935541152954, 0.4922000467777252, -0.28687620162963867, 0.19075484573841095, -0.09049227833747864, 0.20948158204555511, 0.7740435600280762, 0.18341480195522308, 0.44694051146507263, -0.7587902545928955, 0.7940905094146729, 0.364378958940506, 0.5330813527107239, 0.3017408847808838, -0.6639619469642639, -0.8053150773048401, -0.46171483397483826, 0.27336105704307556, 0.6387666463851929, -0.47614386677742004, 0.482854962348938, -0.12982983887195587, -0.8042312264442444, -0.38517749309539795, -0.053332068026065826, 0.18154586851596832, 0.28800293803215027, 0.3899610936641693, -0.4135887324810028, -0.6704458594322205, -0.8451853394508362, 0.24084238708019257, 0.07301396876573563, 0.011594257317483425, 0.5240356922149658, 0.7225720286369324, -0.42676326632499695, 0.7440325617790222, -0.6048170328140259, -0.35715579986572266, -0.24336682260036469, 0.2637162506580353, 0.2606513202190399, 0.7350289225578308, 0.9810589551925659, -0.7957707643508911, -0.6454072594642639, -0.24781768023967743, -0.7505743503570557, -0.005075112916529179, 0.3628407120704651, -0.3465813100337982, -0.029914330691099167, 0.009764553979039192, -0.693331241607666, 0.703924834728241, 0.6095996499061584, -0.3516140282154083, 0.8229426741600037, -0.4211793839931488, 0.3530348539352417, -1.4472005367279053, 0.1204124167561531, -0.1013757660984993, -0.40725329518318176, -0.4463583528995514, 0.3839991092681885, -0.05025940388441086, -0.2669239938259125, -0.6432819962501526, 0.7465047240257263, -0.5226200222969055, 0.5222143530845642, -0.5428392291069031, 0.15616407990455627, 0.11606886237859726, 0.4347025454044342, -0.2000674307346344, 0.3880520761013031, 0.9137536883354187, -0.5984166264533997, 0.4143763780593872, 0.5712890625, -0.1898086667060852, 0.4954087436199188, -0.8052853345870972, -0.03367223963141441, -0.2391621172428131, 0.39957287907600403, -0.8633885979652405, -0.383219838142395, 0.7152616381645203, -0.46484631299972534, 0.19219140708446503, -0.2723364531993866, -0.4617590010166168, -0.31859228014945984, -0.5472235679626465, 0.38143399357795715, 0.837002694606781, -0.3915756344795227, 0.7054954171180725, 0.2198340892791748, -0.06399747729301453, -0.3505697548389435, -0.9047107696533203, -0.1278430074453354, -0.22450457513332367, -0.7982372045516968, 0.35102567076683044, -0.10125399380922318, -0.22626224160194397, 0.24938277900218964, 0.06539338082075119, -0.4316968321800232, -0.17255857586860657, 0.4698464870452881, 0.4466845393180847, -0.1602196842432022, -0.4944165349006653, 0.08322909474372864, 0.003575860057026148, -0.12963655591011047, -0.09966559708118439, 0.4919153153896332, 0.35267704725265503, -0.16877435147762299, -0.6040692329406738, 0.32690316438674927, 0.8928350210189819, -0.28808072209358215, 0.9794777035713196, 0.7194404602050781, -0.5113233923912048, 0.03740212693810463, -0.45755964517593384, -0.23314222693443298, -0.44236037135124207, 0.1965799778699875, -0.0665956437587738, -0.6086917519569397, 0.760344386100769, 0.3394322693347931, 0.1032707467675209, 0.7852605581283569, 0.3183894157409668, -0.08151355385780334, 1.0267635583877563, 0.7064485549926758, 0.04709978029131889, 0.3805973529815674, -0.7026095390319824, 0.09628187865018845, -0.9901660680770874, -0.41964006423950195, -0.4587201476097107, -0.4306788146495819, -0.6479145884513855, -0.7299591898918152, 0.377900093793869, 0.509515106678009, -0.2830204367637634, 0.6781774759292603, -0.3870818018913269, -0.054777029901742935, 0.44621720910072327, 0.44745153188705444, 0.24936476349830627, -0.06004974991083145, -0.10081791132688522, -0.005390229169279337, -0.673145055770874, -0.4736986756324768, 0.9427227973937988, 0.43117108941078186, 0.855466902256012, 0.342052161693573, 0.6441280245780945, 0.08261898159980774, 0.3438693583011627, -0.44525885581970215, 0.5412843823432922, -0.006646953988820314, -0.7876376509666443, -0.026989635080099106, -0.5230249166488647, -0.9032742381095886, 0.3007128834724426, -0.2490747720003128, -0.9153482913970947, 0.6231338977813721, 0.19601371884346008, -0.2121933549642563, 0.488522469997406, -0.4952843189239502, 0.9238086938858032, -0.1966734528541565, -0.48075369000434875, -0.19950176775455475, -0.4493544101715088, 0.5075908303260803, 0.11293523013591766, 0.2832217216491699, -0.13881036639213562, 0.03612856566905975, 0.7738785147666931, -0.8208009004592896, 0.8545612692832947, -0.14376014471054077, 0.07447542250156403, 0.3834817409515381, 0.24374821782112122, 0.4771450459957123, -0.02885211445391178, 0.2657396197319031, 0.2710420489311218, 0.09769681096076965, -0.2924855351448059, -0.32629144191741943, 0.7663536071777344, -0.9679738283157349, -0.5387309193611145, -0.5950770378112793, -0.351465106010437, 0.5393287539482117, 0.31731969118118286, 0.6414347887039185, 0.5919782519340515, -0.230947807431221, 0.1912762075662613, 0.29037925601005554, -0.009306371212005615, 0.18121610581874847, 0.5585470199584961, -0.6139166951179504, -0.8986862301826477, 0.7629263401031494, 0.056862447410821915, 0.16751831769943237, 0.2880353629589081, 0.3213482201099396, -0.3380514979362488, -0.47527799010276794, -0.4979202449321747, 0.197461798787117, -0.6346683502197266, -0.22050806879997253, -0.6404176950454712, -0.31669166684150696, -0.6016256809234619, -0.029567621648311615, -0.14134804904460907, -0.6436421275138855, -0.6287717819213867, 0.14242032170295715, 0.5136941075325012, 0.6374556422233582, -0.40081876516342163, 0.44168469309806824, -0.9536857008934021, 0.24473334848880768, 0.2512319087982178, 0.3039529025554657, 0.1871408373117447, -0.8208873867988586, -0.16517746448516846, 0.21321646869182587, -0.7125829458236694, -0.9334325194358826, 0.41396620869636536, -0.24010848999023438, 0.38716962933540344, 0.476343035697937, -0.030787939205765724, 0.6698395609855652, -0.3571254014968872, 0.8668450117111206, 0.350055992603302, -0.6519763469696045, 0.42905887961387634, -0.5320420861244202, 0.3440353572368622, 0.5020434856414795, 0.6378217935562134, -0.4182368814945221, -0.47608473896980286, -0.9271771311759949, -0.9818480610847473, 0.7840872406959534, 0.5943571925163269, -0.10537062585353851, 0.22234584391117096, -0.028895024210214615, -0.1815515011548996, 0.364866703748703, -0.8606849312782288, -0.43390050530433655, -0.30559206008911133, -0.06764712929725647, -0.00786752998828888, -0.23926487565040588, -0.3091544806957245, -0.4092141091823578, 1.0119593143463135, 0.4803582429885864, 0.2571539878845215, 0.16772663593292236, -0.08276525139808655, -0.5375320315361023, 0.08392219245433807, 0.4634338319301605, 0.8917772769927979, -0.5550976395606995, -0.09609731286764145, -0.11281204968690872, -0.5337122678756714, -0.015899980440735817, 0.4740433692932129, -0.30262526869773865, -0.047860827296972275, 0.21354790031909943, 0.9350716471672058, 0.3945039212703705, -0.37615445256233215, 0.6800715923309326, -0.08458372205495834, -0.3038310408592224, -0.3851834535598755, 0.07069364935159683, 0.14016447961330414, 0.3435892164707184, 0.11275186389684677, 0.47650617361068726, 0.3661104440689087, -0.6032304167747498, 0.1896919310092926, 0.40528956055641174, -0.5127779841423035, -0.24310313165187836, 1.1386374235153198, 0.10286544263362885, -0.38503625988960266, 0.5388374328613281, -0.2628161311149597, -0.44604137539863586, 0.6497110724449158, 0.5047096014022827, 1.0502755641937256, -0.3630385100841522, 0.25332507491111755, 0.6247944235801697, 0.28299641609191895, -0.15586891770362854, 0.49120527505874634, -0.00996414665132761, -0.5135244131088257, -0.006781376898288727, -0.530815839767456, -0.35527893900871277, 0.08932961523532867, -0.652400016784668, 0.6271988749504089, -0.5238174200057983, -0.23166397213935852, -0.26879221200942993, -0.21132728457450867, -0.25113415718078613, 0.2947532534599304, -0.08919423073530197, 1.1697008609771729, -0.8809757232666016, 0.5025094747543335, 0.731520414352417, -0.7413736581802368, -0.958499014377594, -0.021721553057432175, 0.0822475478053093, -0.46111854910850525, 0.27613717317581177, 0.030442798510193825, 0.06480638682842255, -0.09019596129655838, -0.7138767838478088, -0.6415655016899109, 1.3045903444290161, 0.19135195016860962, -0.3210165798664093, -0.04163900762796402, -0.059790220111608505, 0.33346089720726013, -0.19169704616069794, 0.46748432517051697, 0.15748223662376404, 0.45588767528533936, 0.4527305066585541, -1.0198792219161987, 0.10392001271247864, -0.19913643598556519, -0.09858950227499008, 0.04825497418642044, -0.8094292283058167, 1.0624009370803833, -0.1751345694065094, -0.23250320553779602, 0.5587685108184814, 0.49618011713027954, 0.45536109805107117, 0.1923270970582962, 0.3813506066799164, 0.8435477614402771, 0.47693783044815063, -0.20972955226898193, 1.0073665380477905, -0.25887906551361084, 0.618546187877655, 0.9511589407920837, -0.0770130306482315, 0.87517911195755, 0.1717698872089386, -0.28258374333381653, 0.6804085373878479, 0.5975270867347717, -0.18908745050430298, 0.519112229347229, -0.009272064082324505, -0.21608830988407135, -0.0791282206773758, -0.07222552597522736, -0.530373215675354, 0.2171013206243515, -0.19510981440544128, -0.43444615602493286, -0.31300264596939087, 0.03190106898546219, 0.04647476598620415, -0.2721717059612274, -0.1987488865852356, 0.5699964761734009, 0.25178244709968567, -0.16360026597976685, 0.6437901258468628, 0.19530384242534637, 0.5643213391304016, -0.7017838358879089, -0.24930499494075775, 0.020711081102490425, 0.18867965042591095, -0.2414115071296692, -0.7886099815368652, -0.027209218591451645, -0.19100457429885864, -0.09127802401781082, -0.292189359664917, 0.6709916591644287, -0.5093286037445068, -0.7244293093681335, 0.3523573577404022, 0.24975955486297607, 0.29274222254753113, -0.047104351222515106, -0.787493109703064, 0.10895347595214844, -0.01823434606194496, -0.05730488896369934, 0.07513117790222168, 0.1286289542913437, 0.08386506885290146, 0.6409593224525452, 0.3820384740829468, 0.05928700417280197, -0.20066849887371063, 0.03466646745800972, 0.8887273073196411, -0.40347933769226074, -0.5874719023704529, -0.6086819171905518, 0.8971667289733887, -0.11760305613279343, -0.2845569849014282, 0.895873486995697, 1.0086802244186401, 0.6186307072639465, -0.428780734539032, 0.8412685990333557, -0.2234657257795334, 0.3894856572151184, -0.27905115485191345, 0.9753502011299133, -0.9421067833900452, -0.1633596569299698, -0.5099086165428162, -0.8993127346038818, -0.027703890576958656, 0.612581193447113, -0.012057725340127945, 0.2118196189403534, 0.5562536716461182, 0.8053328990936279, -0.40532827377319336, 0.08127234876155853, 0.09003924578428268, 0.2762278914451599, 0.11165958642959595, 0.4138202965259552, 0.7146816253662109, -0.8678328394889832, 0.49739784002304077, -0.713864803314209, -0.5658327341079712, -0.5332220792770386, -0.7191672325134277, -0.8567526340484619, -0.5875992178916931, -0.531971275806427, -0.5921655297279358, -0.23933787643909454, 0.7763010263442993, 0.7186439037322998, -0.7376956343650818, -0.5005871653556824, 0.03807946294546127, 0.13292111456394196, -0.17517201602458954, -0.28347960114479065, 0.26064419746398926, 0.5920798778533936, -0.7560104727745056, 0.11717231571674347, 0.31271445751190186, 0.7784095406532288, -0.27296632528305054, -0.0389847569167614, -0.1590118557214737, -0.0044753653928637505, 0.31990495324134827, 0.15963496267795563, -0.4618752896785736, 0.1120639443397522, -0.10220520198345184, -0.0728541687130928, 0.22823509573936462, 0.4693244993686676, -0.13631132245063782, 0.24914853274822235, 0.7476400136947632, -0.24235819280147552, 0.6532812714576721, 0.09313403815031052, 0.45771118998527527, -0.47675982117652893, 0.29026147723197937, 0.228815957903862, 0.6125598549842834, 0.21137262880802155, -0.3130464553833008, 0.09051770716905594, 0.4862234890460968, -0.6065826416015625, -0.677656352519989, 0.03419483080506325, -1.3472847938537598, -0.25504741072654724, 0.9677574038505554, 0.1338874101638794, -0.3971310257911682, 0.1947675347328186, -0.49264419078826904, 0.3047577738761902, -0.3024272918701172, 0.38469502329826355, 0.6185787320137024, -0.04485045000910759, -0.341227263212204, -0.5415232181549072, 0.3688476085662842, -0.13404308259487152, -0.770902693271637, -0.08217498660087585, 0.565091609954834, 0.7032469511032104, 0.32860320806503296, 0.6810145974159241, -0.44363167881965637, 0.5300519466400146, -0.028701407834887505, 0.3316761553287506, -0.06593500077724457, -0.2852676808834076, -0.13705094158649445, 0.03846139833331108, 0.09108742326498032, -0.32987719774246216 ]
Yntec/Deliberate2
Yntec
2023-11-05T19:15:06Z
7,489
1
diffusers
[ "diffusers", "General", "Anime", "Art", "XpucT", "stable-diffusion", "stable-diffusion-diffusers", "text-to-image", "license:cc-by-nc-nd-4.0", "endpoints_compatible", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2023-11-05T18:19:03Z
--- license: cc-by-nc-nd-4.0 library_name: diffusers pipeline_tag: text-to-image tags: - General - Anime - Art - XpucT - stable-diffusion - stable-diffusion-diffusers - diffusers - text-to-image --- # Deliberate 2 768x768 version of this model with the MoistMix V2 VAE baked in for the Inference API. Samples and prompt: ![Sample](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/eeAPFJSAL7FTWyjkHoAIR.png) ![Sample](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/enxKZFuCosK0k5MpVvcVB.png) masterpiece,best quality, retro artstyle, a cute little witch's prophecy comes true, logo, cover, 1980s /style/ Original page: https://huggingface.co/XpucT/Deliberate
[ -0.11304721236228943, -0.6654205322265625, 0.6142504215240479, 0.5260687470436096, -0.18525825440883636, -0.5729576349258423, 0.3826847970485687, -0.5466766357421875, 0.6102288961410522, 1.123026728630066, -0.9125773906707764, -0.15259504318237305, -0.5278418660163879, -0.20149478316307068, -0.14954017102718353, 0.6255998015403748, 0.07548607140779495, 0.06986447423696518, -0.35246744751930237, 0.2242993861436844, -0.1900196224451065, -0.08789342641830444, -0.4589509963989258, -0.5048436522483826, 0.31879085302352905, 0.5591751337051392, 0.6625207662582397, 0.4688377380371094, 0.13164623081684113, 0.29722774028778076, -0.0157291442155838, 0.19110064208507538, -0.7492767572402954, 0.025993233546614647, -0.14765523374080658, -0.7691819667816162, -0.5001482963562012, 0.23951388895511627, 0.31299248337745667, 0.5345028638839722, -0.449235200881958, 0.47314774990081787, -0.014195585623383522, 0.5861937403678894, -0.889983057975769, -0.11256098747253418, -0.5191700458526611, -0.14433732628822327, -0.22020182013511658, 0.28701847791671753, -0.6566081047058105, -0.1116165816783905, 0.02770317532122135, -1.0174455642700195, 0.5962580442428589, -0.12297990918159485, 0.9757336378097534, 0.47128427028656006, -0.8639512658119202, 0.3368082344532013, -0.7417304515838623, 0.8795639276504517, -0.7065173983573914, 0.5332879424095154, 0.589103102684021, 0.6428422331809998, -0.4769773483276367, -1.348382592201233, -0.458167165517807, 0.5190362334251404, 0.27485108375549316, 0.40581458806991577, 0.06810086965560913, -0.4485018849372864, 0.4482978880405426, -0.006516779772937298, -0.5419601202011108, -0.24896976351737976, -0.3035668432712555, -0.21278038620948792, 0.7488119602203369, 0.15132494270801544, 0.24442912638187408, 0.13866263628005981, -0.7466185688972473, -0.07279255241155624, -0.5825555324554443, -0.25555679202079773, 0.27045726776123047, -0.1898764818906784, -0.5162927508354187, 0.672233521938324, -0.2057589739561081, 0.416931688785553, 0.030227303504943848, -0.024363327771425247, 0.09778448939323425, -0.16727660596370697, -0.43661734461784363, -0.34981459379196167, 0.4898442029953003, 0.4984210133552551, 0.19247008860111237, 0.16875503957271576, -0.2527652680873871, 0.08937746286392212, 0.5575743913650513, -1.367547869682312, -0.5869378447532654, 0.24633175134658813, -0.6047965288162231, -0.3974558711051941, 0.27017742395401, -0.9960435628890991, -0.461053729057312, -0.4237910509109497, 0.09260561317205429, -0.24558933079242706, -0.6081743836402893, 0.42159828543663025, -0.36952444911003113, 0.18855972588062286, 0.48155325651168823, -0.7871897220611572, 0.4605986773967743, 0.6208430528640747, 0.338051438331604, 0.5779474973678589, 0.48661744594573975, -0.009194659069180489, 0.41965222358703613, -0.3459395170211792, 0.8524833917617798, -0.5850492715835571, -0.6640490889549255, -0.23254477977752686, 0.042858656495809555, 0.23098307847976685, -0.6113400459289551, 0.9405995011329651, -0.4223167300224304, 0.07829887419939041, -0.6563951373100281, -0.4328713119029999, -0.46037623286247253, -0.20287998020648956, -0.8142967224121094, 1.1446667909622192, 0.5747312903404236, -0.8164893984794617, 0.6410424709320068, -0.06512086093425751, 0.025995010510087013, 0.036837443709373474, -0.2849005460739136, -0.6891082525253296, 0.3731800317764282, -0.2707503139972687, -0.15015414357185364, -0.4813101887702942, -0.11050087958574295, -1.0208003520965576, -0.20533691346645355, 0.2698749899864197, -0.4924547076225281, 1.0298444032669067, 0.34077218174934387, -0.615688681602478, -0.0888182669878006, -0.963391125202179, 0.3964834213256836, 0.7335633039474487, 0.16748294234275818, -0.33239951729774475, 0.003300889628008008, 0.3913300335407257, 0.4089406728744507, 0.457306444644928, -0.5059729814529419, 0.39035359025001526, -0.3948841094970703, 0.22285333275794983, 0.6164639592170715, 0.3063097894191742, 0.3628809452056885, -0.5083487629890442, 0.48912888765335083, -0.22850507497787476, 0.7137138247489929, 0.6732327938079834, -0.7740663886070251, -0.7213855981826782, -0.5538836717605591, 0.15655313432216644, 0.5772528052330017, -0.782483696937561, 0.1404748558998108, 0.059211719781160355, -1.1451542377471924, -0.18950562179088593, 0.3065294325351715, 0.24285034835338593, 0.3756151497364044, 0.04591380059719086, -0.5045297145843506, -0.6373531222343445, -1.341528296470642, -0.002757179783657193, -0.26445913314819336, -0.2620811462402344, 0.5076334476470947, 0.35764819383621216, -0.5748531222343445, 0.7561584711074829, -0.638723611831665, 0.19614991545677185, 0.17448589205741882, -0.16234388947486877, 0.44689932465553284, 0.32083824276924133, 1.036749005317688, -0.9542692303657532, -0.2851436138153076, -0.45868614315986633, -0.5820647478103638, -0.47419843077659607, 0.20622225105762482, -0.9316895008087158, -0.2576329708099365, -0.026643894612789154, -0.9380879402160645, 0.8116114139556885, 0.3169536590576172, -0.8832995891571045, 0.9656323194503784, 0.08573289960622787, 0.09512128680944443, -1.0330995321273804, -0.10763566941022873, 0.0626928061246872, -0.27821019291877747, -0.30896663665771484, 0.6084862351417542, 0.157358780503273, 0.3098188042640686, -0.6526967883110046, 1.0443274974822998, -0.7217211723327637, 0.49488720297813416, -0.3406422734260559, -0.20185622572898865, 0.305489182472229, -0.07115429639816284, -0.07824760675430298, 0.5552363395690918, 0.5841291546821594, -0.4989969730377197, 0.10152506083250046, 0.48711472749710083, -0.13872608542442322, 0.2924007773399353, -0.8675146698951721, 0.3936103880405426, 0.19762922823429108, 0.3270016014575958, -1.1007250547409058, -0.48878777027130127, 0.44390618801116943, -0.3926166892051697, 0.44166427850723267, -0.07069239020347595, -0.7255918979644775, -0.5489903092384338, -0.4094798266887665, 0.6948837041854858, 0.7229577898979187, -0.34507736563682556, 0.795336127281189, 0.3750421106815338, 0.1830722838640213, -0.11092638969421387, -1.0686296224594116, -0.2765880227088928, -0.17688895761966705, -0.8466116189956665, 0.28642281889915466, -0.16552132368087769, -0.5878274440765381, -0.3678104281425476, -0.38441193103790283, -0.08581474423408508, -0.24394378066062927, 0.6301445960998535, 0.22016902267932892, -0.1887543499469757, -0.5207652449607849, 0.12166889011859894, -0.09310238063335419, 0.3613755702972412, -0.33387869596481323, 0.3696056604385376, 0.18591780960559845, -0.4030155837535858, -0.6038248538970947, 0.3275156319141388, 0.6572142243385315, 0.361165851354599, 0.7167598009109497, 0.44376862049102783, -0.819134533405304, -0.4694412648677826, -0.8624125719070435, -0.7560819983482361, -0.5516211986541748, -0.44332724809646606, -0.5721941590309143, -0.2446054071187973, 0.8006142377853394, 0.029639679938554764, -0.2520221769809723, 0.6754278540611267, 0.6485669016838074, 0.17694637179374695, 1.2565698623657227, 0.32115837931632996, 0.31170111894607544, 0.27071911096572876, -0.6359623074531555, -0.02910500019788742, -0.6130180358886719, -0.23497413098812103, -0.310287207365036, -0.5255500674247742, -0.6177933216094971, -0.6802735924720764, 0.02172321267426014, 0.21605391800403595, -0.49160993099212646, 0.4675612151622772, -0.4935062527656555, 0.03076794557273388, 0.7320794463157654, 0.7638547420501709, -0.18605723977088928, 0.08883378654718399, -0.13106586039066315, -0.3774181306362152, -0.42026573419570923, -0.6274758577346802, 0.863010585308075, 0.40354636311531067, 0.5674389600753784, 0.787086546421051, 0.8671054244041443, -0.11807986348867416, 0.3149646818637848, -0.37864917516708374, 0.6112793684005737, 0.09764738380908966, -1.1355074644088745, 0.24825023114681244, -0.2418646663427353, -0.6716583967208862, 0.18451079726219177, -0.1492214798927307, -0.8803027272224426, 0.5171980857849121, 0.02685791440308094, -0.23943336308002472, 0.06609863042831421, -1.0416884422302246, 0.7678770422935486, 0.07006874680519104, -0.9733369946479797, 0.012221001088619232, -0.507148802280426, 0.4734049141407013, 0.17291727662086487, -0.04014257341623306, -0.14592386782169342, -0.49688827991485596, 0.47280049324035645, -0.8707422018051147, 1.369144320487976, -0.2348312884569168, -0.1014506071805954, 0.8076391816139221, 0.4572576880455017, 0.6711944341659546, 0.6392906904220581, -0.4200688898563385, -0.10161876678466797, 0.3368220925331116, -0.8354890942573547, -0.6975643634796143, 0.658967912197113, -0.6378238201141357, -0.5286081433296204, -0.5387580990791321, -0.18845461308956146, -0.10784629732370377, 0.33875906467437744, 0.48901259899139404, 0.5103133916854858, -0.25765272974967957, 0.09992405027151108, 0.6040046811103821, 0.20056937634944916, 0.07394302636384964, 0.7537256479263306, -0.5334265232086182, -0.18594878911972046, 0.6617557406425476, -0.08412858098745346, 0.3651010990142822, 0.11593632400035858, 0.3564281165599823, -0.34878402948379517, -0.23130615055561066, -0.27599847316741943, 0.5426999926567078, -0.4228563606739044, -0.038626182824373245, -0.5796549916267395, -0.25192105770111084, -0.6871734857559204, -0.06041286140680313, -0.4605473279953003, -0.4241716265678406, -0.776853621006012, -0.15044376254081726, 0.6364076733589172, 0.5646330118179321, -0.1584630012512207, 0.24382877349853516, -0.44645148515701294, 0.33852508664131165, 0.4581066370010376, 0.17677734792232513, -0.28396618366241455, -0.7777000665664673, 0.5128545165061951, 0.14827664196491241, -0.5959662199020386, -1.1154301166534424, 0.4188074469566345, -0.048161543905735016, 0.49211493134498596, 0.9093905687332153, 0.19473865628242493, 0.29672732949256897, -0.4825880527496338, 0.6474364399909973, 0.1767859309911728, -0.1998552680015564, 0.5278262495994568, -0.7975863814353943, 0.22530680894851685, 0.8094841837882996, 0.05306527763605118, -0.021716659888625145, -0.16687414050102234, -1.377637505531311, -0.9588543772697449, 0.028696352615952492, 0.39306241273880005, 0.18348371982574463, -0.020579498261213303, 0.5287944674491882, 0.4336612820625305, 0.08293292671442032, -0.32162123918533325, -0.5830225348472595, 0.13168615102767944, -0.15062381327152252, 0.5160847306251526, -0.7912644743919373, -0.3542814552783966, -0.5016694664955139, 0.783790111541748, -0.10369504243135452, 0.5943220257759094, 0.056000299751758575, 0.5619205236434937, -0.09747892618179321, -0.37207648158073425, 0.7093608975410461, 1.088354468345642, -0.47725093364715576, -0.047405317425727844, -0.052280157804489136, -0.6546707153320312, -0.23643489181995392, 0.24632848799228668, -0.4913358688354492, 0.03903414309024811, 0.4080493450164795, 0.8153386116027832, 0.5365779399871826, -0.40658268332481384, 0.6480969190597534, -0.11650089174509048, -0.05354614555835724, -0.8352386355400085, 0.30443134903907776, 0.022288762032985687, 0.45126020908355713, 0.07484953105449677, 0.22957807779312134, 0.8528635501861572, -0.37025320529937744, 0.5712453722953796, 0.3162895441055298, -0.5408979654312134, -0.34050583839416504, 1.138796091079712, -0.15961721539497375, -0.34482234716415405, 0.4521186053752899, -0.4651139974594116, -0.3806324005126953, 0.8153174519538879, 0.729005753993988, 0.9680386185646057, -0.32272499799728394, 0.38309016823768616, 0.5703713893890381, 0.19053834676742554, 0.01932860165834427, 1.0421642065048218, 0.13260918855667114, -0.39384815096855164, 0.057161156088113785, -0.7479277849197388, -0.2647584080696106, 0.018903203308582306, -0.6350542306900024, 0.7043712139129639, -0.6674597859382629, -0.33128613233566284, -0.20565670728683472, -0.05177491158246994, -1.0045148134231567, 0.499613881111145, -0.05029873922467232, 1.6200447082519531, -0.9124478697776794, 0.7995933294296265, 0.2797119617462158, -0.43752816319465637, -1.0558124780654907, -0.17910248041152954, 0.7903265953063965, -0.9389356374740601, 0.044982265681028366, 0.37864676117897034, 0.15090113878250122, -0.1401602327823639, -0.9601295590400696, -0.8056708574295044, 1.0554438829421997, 0.35468170046806335, -0.7548515200614929, 0.06146920099854469, -0.28918004035949707, 0.40142586827278137, -0.037657804787158966, 0.7256709337234497, 0.5891354084014893, 0.5705018043518066, 0.5993635058403015, -0.5674790740013123, 0.005534343887120485, -0.7308254241943359, 0.07302723079919815, 0.21759825944900513, -0.9047738909721375, 0.4016173481941223, -0.4406793713569641, -0.11350063234567642, 0.575094997882843, 0.9981351494789124, 0.6212668418884277, 0.5892546772956848, 0.5665733814239502, 0.8941907286643982, 0.3639990985393524, -0.22305388748645782, 1.5306318998336792, 0.12708525359630585, 0.35593414306640625, 1.3499244451522827, -0.26366928219795227, 0.8229498267173767, 0.5893300771713257, -0.3966350853443146, 0.5490053296089172, 1.1314655542373657, -0.025046436116099358, 0.6523324847221375, 0.2795897424221039, -0.5012184977531433, -0.24970781803131104, -0.19425565004348755, -0.6412519812583923, 0.3004721999168396, 0.3568262755870819, -0.28630512952804565, 0.09056303650140762, -0.44985297322273254, -0.06855756789445877, 0.15843631327152252, 0.1544375866651535, 0.5318871140480042, 0.5413972735404968, -0.2454097419977188, 0.21177548170089722, -0.22140733897686005, 0.30277758836746216, -0.5587984323501587, -0.36369967460632324, 0.06200212985277176, 0.28858378529548645, -0.17716774344444275, -0.8071190118789673, -0.024919379502534866, -0.5544953942298889, -0.34929564595222473, -0.17998266220092773, 0.793863832950592, -0.10684429109096527, -1.1611236333847046, 0.614127516746521, 0.0598469004034996, 0.23083293437957764, -0.21165111660957336, -0.9441296458244324, 0.19257211685180664, -0.20238570868968964, -0.6168528199195862, -0.16932494938373566, 0.787991464138031, 0.08618569374084473, 0.47399580478668213, 0.4385824203491211, 0.06428340077400208, 0.1950962245464325, 0.423616498708725, 0.6376238465309143, -0.281377375125885, -0.5198360681533813, -0.5147960782051086, 0.8159210085868835, -0.36906060576438904, -0.5011889934539795, 0.6668267846107483, 0.8275607228279114, 0.5803574323654175, -0.3820386230945587, 0.5532357692718506, -0.027278775349259377, 0.47744667530059814, -0.5434045195579529, 0.5954501628875732, -0.968934953212738, -0.28726089000701904, -0.12207689881324768, -1.062768816947937, 0.2522544264793396, 0.3857487738132477, -0.15939249098300934, 0.6103606224060059, 0.3628086745738983, 0.9836117029190063, -0.2539703845977783, 0.1774221807718277, -0.027738645672798157, 0.39656761288642883, 0.22232885658740997, 0.537575364112854, 0.3520070016384125, -0.7551395893096924, -0.240874245762825, -0.5665916204452515, -0.5476316809654236, -0.6098397970199585, -0.7780192494392395, -0.6596008539199829, -0.7390333414077759, -0.3620740473270416, -1.084268569946289, -0.4903220236301422, 0.6213935613632202, 1.0005099773406982, -0.916871964931488, 0.3419402241706848, 0.04948491230607033, -0.1672392040491104, -0.21323202550411224, -0.31065547466278076, -0.16756607592105865, 0.7441180944442749, -0.7664276361465454, 0.31077784299850464, -0.08526426553726196, 0.3164084255695343, -0.08672860264778137, 0.08127304911613464, -0.24368907511234283, 0.3576774597167969, 0.39174404740333557, 0.36291465163230896, -0.9202060103416443, -0.5304886102676392, -0.10804248601198196, -0.381900817155838, -0.44966617226600647, 0.7216233015060425, -0.2619343101978302, 0.612653374671936, 0.77693772315979, 0.4388028383255005, 0.7703803777694702, -0.0702117383480072, 0.6786237955093384, -0.41893237829208374, 0.5132884383201599, 0.12912701070308685, 0.5985280871391296, 0.16845057904720306, -0.7216138243675232, 0.8645641803741455, 0.7341977953910828, -0.5256677269935608, -0.7906668186187744, 0.43801361322402954, -1.5697482824325562, -0.37203162908554077, 1.432742953300476, 0.725950300693512, -0.5475563406944275, 0.27168890833854675, -0.5508148670196533, 0.29802757501602173, -0.20812462270259857, 0.6043815612792969, 0.7537750005722046, 0.029989352449774742, -0.06477660685777664, -1.1499613523483276, 0.18966178596019745, 0.3568119704723358, -0.43520286679267883, -0.37382784485816956, 0.5827041268348694, 0.516808032989502, 0.19966985285282135, 0.5023271441459656, -0.1083788275718689, 0.43554604053497314, 0.43918895721435547, 0.30083224177360535, 0.31578293442726135, -0.3358057737350464, 0.5401290655136108, -0.20896674692630768, 0.12220005691051483, -0.249648317694664 ]
textattack/roberta-base-SST-2
textattack
2023-05-21T19:59:24Z
7,475
0
transformers
[ "transformers", "pytorch", "tf", "jax", "safetensors", "roberta", "text-classification", "endpoints_compatible", "has_space", "region:us" ]
text-classification
2022-03-02T23:29:05Z
Entry not found
[ -0.3227650225162506, -0.22568431496620178, 0.862226128578186, 0.43461495637893677, -0.5282987952232361, 0.7012965679168701, 0.7915717363357544, 0.07618638128042221, 0.7746025919914246, 0.2563219666481018, -0.7852817177772522, -0.22573819756507874, -0.9104480743408203, 0.5715669393539429, -0.3992334008216858, 0.5791245698928833, -0.14494505524635315, -0.10751161724328995, 0.28233757615089417, -0.2768954336643219, -0.5409224033355713, -0.36855220794677734, -1.1902776956558228, 0.061491113156080246, 0.5316578149795532, 0.7435142397880554, 0.7584060430526733, 0.3652167320251465, 0.6432578563690186, 0.3932291269302368, -0.23138920962810516, 0.4827055037021637, -0.04171813279390335, 0.00260411505587399, -0.3524433970451355, -0.5516898036003113, -0.28596609830856323, 0.07584730535745621, 1.0961304903030396, 0.966687798500061, -0.284663587808609, 0.05330817773938179, -0.3063621520996094, 0.33088892698287964, -0.49734312295913696, 0.3054099678993225, -0.022506045177578926, 0.16318801045417786, -0.7041513919830322, -0.5535354018211365, 0.012794834561645985, -0.7361212968826294, 0.17926570773124695, -0.690081000328064, 0.8269098401069641, 0.18583157658576965, 1.1533750295639038, 0.14819414913654327, -0.462487131357193, -0.8161764144897461, -0.6538989543914795, 0.5711171627044678, -0.32703715562820435, 0.39680248498916626, 0.7028235197067261, -0.048573412001132965, -0.9820332527160645, -0.6745741367340088, -0.46466192603111267, 0.2923962473869324, 0.35402774810791016, -0.3411678075790405, -0.17522086203098297, -0.3058989644050598, 0.15792037546634674, 0.12811517715454102, -0.4841994643211365, -0.5543919205665588, -0.5475160479545593, -0.3960252106189728, 0.6206658482551575, 0.3482950031757355, 0.2429177463054657, -0.1888415813446045, -0.3228583335876465, 0.0880163162946701, -0.4160851538181305, 0.3402571678161621, 0.6335517168045044, 0.7114017009735107, -0.5811444520950317, 0.560215950012207, -0.04927587881684303, 0.7439703941345215, 0.11445561796426773, -0.27478092908859253, 0.41460567712783813, -0.14724725484848022, 0.055171746760606766, 0.4226345121860504, 0.31524422764778137, 0.2841312289237976, -0.3273695111274719, 0.2032228708267212, -0.3215144872665405, -0.30496224761009216, -0.22332167625427246, -0.29490774869918823, -0.3592180609703064, 0.5492289066314697, -0.3314017057418823, -0.42855486273765564, 1.143175721168518, -0.4200771450996399, -0.7302224040031433, 0.33156412839889526, 0.4065209925174713, -0.0994480773806572, -0.37146568298339844, -0.052260834723711014, -0.8458789587020874, -0.007907390594482422, 0.7491172552108765, -0.7198970913887024, 0.3371737599372864, 0.4728063642978668, 0.7417217493057251, 0.19650575518608093, -0.14034469425678253, -0.42949390411376953, 0.2971969544887543, -0.8659994006156921, 0.6320174336433411, -0.20135220885276794, -1.0051977634429932, 0.11150479316711426, 0.8971705436706543, -0.37896400690078735, -1.2094876766204834, 1.0605159997940063, -0.6887932419776917, 0.16017857193946838, -0.676761269569397, -0.14661237597465515, -0.07118501514196396, -0.005096632521599531, -0.6088156700134277, 0.7567102313041687, 0.587267279624939, -0.4995276927947998, 0.21429483592510223, -0.26029831171035767, -0.39151400327682495, 0.38824859261512756, -0.07935450226068497, -0.21858926117420197, 0.713833212852478, -0.6647079586982727, -0.26932814717292786, 0.2942774295806885, 0.2368936538696289, -0.35706108808517456, -0.7931919097900391, 0.08478113263845444, -0.05786270648241043, 1.550750494003296, -0.03868847340345383, -0.3586106300354004, -0.679383397102356, -1.1506240367889404, -0.07070787996053696, 0.6886883974075317, -0.9194989204406738, -0.27839475870132446, -0.046410128474235535, -0.26169314980506897, 0.08994917571544647, 0.7390589714050293, -1.1194051504135132, 0.2832726836204529, -0.05092663690447807, -0.22794683277606964, 0.8271058797836304, 0.15387225151062012, 0.24758946895599365, 0.14913396537303925, 0.42958706617355347, 0.527725338935852, 0.11115207523107529, 0.683587908744812, -0.34720373153686523, -0.9694353938102722, 0.6154631972312927, 0.25266361236572266, 0.8121447563171387, -0.49945297837257385, 0.2685093879699707, 0.27025535702705383, -0.3409680724143982, -0.5682371854782104, -0.3102838397026062, 0.09025752544403076, 0.14930562674999237, 0.11142510175704956, -0.5721710324287415, -0.6576125025749207, -0.9689140319824219, -0.13590654730796814, -0.4314374029636383, -0.3571570813655853, 0.21006910502910614, 0.5792906284332275, -1.1975523233413696, 0.4128875136375427, -0.7705625891685486, -0.7038741111755371, -0.01065548975020647, -0.19338123500347137, 0.7540656328201294, 0.43240174651145935, 0.5033966898918152, -0.6397148370742798, -0.5661987066268921, -0.22470176219940186, -1.0333747863769531, -0.13280506432056427, 0.24819621443748474, 0.3065737783908844, -0.13423344492912292, -0.2744963765144348, -0.48740333318710327, 0.8100387454032898, 0.14789170026779175, -0.5391897559165955, 0.5220767259597778, -0.3020317256450653, 0.17224803566932678, -0.6369150280952454, -0.06916818022727966, -0.661676287651062, -0.0009071884560398757, -0.3608308732509613, -0.5737438797950745, 0.14772287011146545, 0.07017494738101959, -0.16065457463264465, 0.28808408975601196, -0.909277081489563, -0.0010852962732315063, -0.7442210912704468, 0.379071980714798, 0.06394772231578827, -0.3145078718662262, -0.017517540603876114, 1.0000386238098145, 0.7784460783004761, -0.3848048746585846, 0.721744179725647, 0.4440041184425354, 0.19036155939102173, 0.7630521059036255, -0.18725109100341797, 0.16478213667869568, -0.5245416760444641, -0.12161104381084442, -0.8887597918510437, -1.0982946157455444, 0.7320570349693298, -0.6114250421524048, 0.36542922258377075, -0.4277869760990143, 0.2589159905910492, -0.6919258832931519, -0.03885362669825554, 0.4808599352836609, -0.05936325341463089, -0.6863942742347717, 0.5232570171356201, 0.45317530632019043, -0.2019241601228714, -0.6609031558036804, -0.530157208442688, 0.39365822076797485, 0.6154114007949829, -0.16390392184257507, 0.06878514587879181, 0.14941060543060303, -0.5441926121711731, -0.040802597999572754, -0.38691970705986023, -0.45766758918762207, 0.054224006831645966, 0.13053473830223083, -0.005750799085944891, -0.404820054769516, -0.0868026465177536, -0.35842007398605347, -0.4656120240688324, 0.21876516938209534, 0.3011947274208069, -0.04096309468150139, -0.42599788308143616, -0.3619818687438965, -0.888181209564209, 0.6719610095024109, 0.5370282530784607, 0.05281545966863632, 0.7555549740791321, 0.16819314658641815, -0.8014987707138062, -0.13532210886478424, -0.1760706603527069, 0.2696830928325653, -0.5588056445121765, 0.13849826157093048, -0.013484534807503223, -0.0637492910027504, 0.26297882199287415, 0.25386232137680054, -0.4300556778907776, 0.9276250004768372, -0.2615274488925934, -0.3592521846294403, 0.7960181832313538, 0.5974742770195007, 0.49583131074905396, 0.16503219306468964, -0.044541798532009125, 0.900709331035614, -1.1966516971588135, -0.6563175916671753, -0.7409549355506897, -0.15945707261562347, -0.43510833382606506, -0.032105933874845505, 0.6254412531852722, 0.2900990843772888, -0.1333388388156891, 0.4756395220756531, -0.5243489742279053, 0.3556033670902252, 1.01198410987854, 0.35748639702796936, 0.3435698449611664, -0.7570229172706604, -0.2515777349472046, -0.1402427852153778, -0.9998157620429993, -0.2631377875804901, 0.8871029019355774, 0.22752606868743896, 0.844460666179657, 0.5992541313171387, 0.6784542798995972, 0.1367226243019104, 0.2523828148841858, -0.30590319633483887, 0.3920294940471649, 0.4376082420349121, -1.0401138067245483, -0.42758408188819885, 0.021418681368231773, -0.9703338742256165, -0.14227519929409027, -0.03495011106133461, -0.42617112398147583, 0.7681737542152405, 0.00016589462757110596, -0.4076709747314453, 0.7732734084129333, -0.455583393573761, 0.7562873363494873, -0.4473648965358734, -0.02663906291127205, 0.4699096083641052, -0.7070636749267578, 0.4677430987358093, 0.12878790497779846, 0.6205843091011047, -0.015572631731629372, -0.04078587517142296, 0.7104941606521606, -0.9129160046577454, 0.25438642501831055, -0.6348397135734558, 0.22421300411224365, 0.24246945977210999, 0.51606285572052, 0.5969953536987305, 0.4371243417263031, 0.10119888931512833, -0.23920902609825134, 0.04115807265043259, -0.8241125345230103, -0.210506409406662, 0.697515606880188, -0.7186890840530396, -0.6864197850227356, -1.2355337142944336, 0.14438660442829132, 0.27347055077552795, 0.389305055141449, 0.7959296107292175, 0.571408748626709, 0.1289544403553009, 0.680525004863739, 0.9888588190078735, -0.0688566341996193, 0.9166924357414246, 0.3224477171897888, 0.09175168722867966, -0.21944808959960938, 0.7036820650100708, 0.26627904176712036, -0.24707956612110138, -0.11939732730388641, 0.20913465321063995, -0.11069409549236298, -0.591761589050293, -0.49990686774253845, 0.3701757788658142, -0.6731787919998169, -0.18303893506526947, -0.6243735551834106, -0.6043769717216492, -0.511759340763092, 0.06927360594272614, -0.7147687673568726, 0.23979046940803528, -0.7753565907478333, -0.10574902594089508, 0.04323432594537735, 0.9792009592056274, -0.589311957359314, 0.5805224180221558, -1.1218582391738892, 0.19345788657665253, -0.07949887961149216, 0.7921058535575867, 0.21395787596702576, -0.7344395518302917, -0.3975418508052826, -0.11592631042003632, -0.3729911744594574, -1.3576762676239014, 0.21404948830604553, -0.2454141080379486, 0.23094046115875244, 0.6145404577255249, 0.1397707313299179, 0.5258248448371887, -0.34326282143592834, 0.7029101848602295, -0.057017259299755096, -0.7069286704063416, 0.7934495210647583, -0.5026894807815552, 0.4963534474372864, 0.9765996932983398, 0.5333835482597351, -0.7984007596969604, 0.035741209983825684, -1.041123390197754, -0.6008695363998413, 0.38426393270492554, 0.11928944289684296, -0.03601083159446716, -0.6659559011459351, -0.054019637405872345, -0.16143807768821716, 0.6043745279312134, -1.039069414138794, -0.7858356237411499, 0.2576698362827301, 0.5277302861213684, 0.0816856250166893, -0.5653398633003235, 0.20880667865276337, -0.544416069984436, 1.0657774209976196, 0.45109400153160095, 0.3274499475955963, 0.8406060934066772, 0.46492424607276917, -0.3823164403438568, 0.09252490103244781, 0.7662695050239563, 0.6666232347488403, -0.5239797830581665, -0.2908027470111847, -0.08827541768550873, -0.9143403768539429, 0.05927472561597824, 0.11168918758630753, -0.013455932028591633, 0.9082110524177551, 0.5793083310127258, 0.2539709210395813, 0.4514279365539551, -0.726460337638855, 0.8859451413154602, -0.14954176545143127, -0.12472866475582123, -1.0677239894866943, 0.1948619782924652, -0.23984959721565247, 0.5006402134895325, 1.0061326026916504, 0.5250048041343689, -0.047630298882722855, -0.8143380880355835, -0.01473585981875658, 0.6939172148704529, -0.7091123461723328, -0.17449834942817688, 0.944853663444519, 0.3847099542617798, -1.2953051328659058, 1.106776475906372, -0.5381771326065063, -0.560332179069519, 0.9121301770210266, 0.522956907749176, 1.1221847534179688, -0.44204121828079224, 0.0008676342549733818, 0.2662237286567688, 0.41378432512283325, 0.5423170328140259, 1.0869629383087158, 0.431413471698761, -0.7931063771247864, 0.8826584815979004, -0.24776044487953186, -0.40361151099205017, -0.05347571521997452, -0.42859897017478943, 0.16892178356647491, -0.4406192898750305, -0.10713007301092148, -0.3444187641143799, 0.28543180227279663, -0.7072042226791382, 0.42807620763778687, -0.0838567465543747, 0.8653068542480469, -0.8553727269172668, 0.47207626700401306, 0.635470449924469, -0.3337355852127075, -0.8508191108703613, -0.26198428869247437, -0.11448462307453156, -0.6389466524124146, 0.30214807391166687, -0.4554102420806885, 0.044398851692676544, 0.09623463451862335, -0.649151623249054, -1.1778275966644287, 0.9093633890151978, -0.639612078666687, -0.2784462869167328, 0.20464053750038147, -0.11514760553836823, 0.28811705112457275, -0.2524643540382385, 0.010661216452717781, 0.41876548528671265, 0.748940110206604, 0.2844654619693756, -0.7727053761482239, -0.3694884479045868, 0.0015032943338155746, -0.44474777579307556, 0.7582978010177612, -0.6002101898193359, 1.1840779781341553, -0.5563543438911438, -0.059654366225004196, 0.44384512305259705, 0.24690914154052734, 0.21076197922229767, 0.6629220843315125, 0.1442081481218338, 0.7282265424728394, 1.07012140750885, -0.40835219621658325, 0.8811809420585632, 0.26432839035987854, 0.47430819272994995, 0.7238501906394958, -0.6487724781036377, 0.7513749003410339, 0.31810489296913147, -0.5682924389839172, 0.9228013753890991, 1.2906063795089722, -0.15699204802513123, 0.8079374432563782, 0.05136508867144585, -1.081600546836853, 0.325833261013031, -0.20724765956401825, -0.7530064582824707, 0.3150254189968109, 0.19055864214897156, -0.6920982599258423, -0.5770308971405029, -0.24046507477760315, -0.35662803053855896, -0.11552901566028595, -0.7631728649139404, 0.6720563769340515, -0.016969164833426476, -0.5103683471679688, 0.18857547640800476, 0.2877499461174011, 0.17368432879447937, -0.5235732793807983, -0.02939440682530403, -0.22823619842529297, 0.2660655975341797, -0.5670853853225708, -0.5234526991844177, 0.5724433064460754, -0.32430219650268555, -0.5343255400657654, 0.18147465586662292, 0.763587236404419, -0.16923809051513672, -0.4515409469604492, 0.32472723722457886, 0.6959525346755981, 0.1665852814912796, 0.4250282347202301, -0.23511263728141785, 0.24480605125427246, -0.08044824004173279, -0.06651552021503448, 0.27714768052101135, 0.3449169099330902, 0.22435641288757324, 0.4450142979621887, 0.43285664916038513, -0.01808755099773407, -0.10736498981714249, -0.382819801568985, 0.4124940037727356, -0.9542785882949829, -0.5713282823562622, -0.6307113766670227, 0.2740660607814789, -0.02315417304635048, -1.0836423635482788, 0.4145168364048004, 1.4406683444976807, 1.0359982252120972, -0.4756383001804352, 1.067226529121399, -0.21818485856056213, 0.9594791531562805, 0.41483086347579956, 0.5420440435409546, -0.6030411720275879, 0.03835370019078255, -0.4364396035671234, -1.076962947845459, -0.35716333985328674, 0.4539391100406647, -0.022899555042386055, -0.3429867625236511, 0.872571587562561, 0.5887166261672974, -0.33473607897758484, -0.11728022992610931, 0.048487238585948944, -0.029941488057374954, -0.12433847039937973, 0.5145376324653625, 0.7648399472236633, -0.9344304800033569, -0.10680416971445084, -0.21577754616737366, -0.6382725834846497, -0.5047279000282288, -0.9632009267807007, -0.12959396839141846, -0.16037796437740326, 0.035343267023563385, -0.5662806630134583, 0.00255737011320889, 1.208324909210205, 0.5684957504272461, -1.1113994121551514, -0.5303789377212524, 0.3371853232383728, 0.3920421898365021, -0.1874791383743286, -0.24202413856983185, 0.2984568774700165, 0.15382249653339386, -0.5908876657485962, 0.6875665783882141, 0.8089625239372253, 0.208888977766037, 0.19554761052131653, 0.15893013775348663, -0.8229473829269409, -0.14913435280323029, 0.17440445721149445, 0.9450570344924927, -0.939853310585022, -0.7114843130111694, -0.03168516233563423, -0.27094873785972595, -0.05765746906399727, 0.17102102935314178, -0.4046344757080078, 0.5180677175521851, 0.34591493010520935, 0.49933457374572754, 0.0561608150601387, -0.054746925830841064, 0.5409556031227112, -0.9069057703018188, 0.09425963461399078, 0.4134361147880554, 0.4154115319252014, -0.4000864028930664, -0.5910194516181946, 0.6713420748710632, 1.0073972940444946, -0.6594868898391724, -0.8743268847465515, -0.19846712052822113, -1.0016002655029297, 0.04189709946513176, 0.6762762069702148, 0.5009527802467346, -0.4806513786315918, -0.4174500107765198, -0.5617399215698242, -0.1254672110080719, -0.1369970738887787, 0.7621601819992065, 1.179680585861206, -0.7432094812393188, 0.07975747436285019, -1.038639783859253, 0.6594986915588379, -0.2419457733631134, -0.3457581698894501, -0.48644304275512695, 0.3832802176475525, 0.35236993432044983, 0.440481036901474, 0.614812433719635, 0.1408471167087555, 0.8338426351547241, 0.3126053214073181, -0.1702686995267868, 0.2698982357978821, -0.4559200704097748, -0.028932858258485794, -0.057962555438280106, 0.31015971302986145, -1.0262157917022705 ]
yarongef/DistilProtBert
yarongef
2022-09-21T08:38:51Z
7,473
6
transformers
[ "transformers", "pytorch", "bert", "fill-mask", "protein language model", "dataset:Uniref50", "license:mit", "autotrain_compatible", "endpoints_compatible", "region:us" ]
fill-mask
2022-03-30T10:07:23Z
--- license: mit tags: - protein language model datasets: - Uniref50 --- # DistilProtBert A distilled version of [ProtBert-UniRef100](https://huggingface.co/Rostlab/prot_bert) model. In addition to cross entropy and cosine teacher-student losses, DistilProtBert was pretrained on a masked language modeling (MLM) objective and it only works with capital letter amino acids. Check out our paper [DistilProtBert: A distilled protein language model used to distinguish between real proteins and their randomly shuffled counterparts](https://doi.org/10.1093/bioinformatics/btac474) for more details. [Git](https://github.com/yarongef/DistilProtBert) repository. # Model details | **Model** | **# of parameters** | **# of hidden layers** | **Pretraining dataset** | **# of proteins** | **Pretraining hardware** | |:--------------:|:-------------------:|:----------------------:|:-----------------------:|:------------------------------:|:------------------------:| | ProtBert | 420M | 30 | UniRef100 | 216M | 512 16GB TPUs | | DistilProtBert | 230M | 15 | UniRef50 | 43M | 5 v100 32GB GPUs | ## Intended uses & limitations The model could be used for protein feature extraction or to be fine-tuned on downstream tasks. ### How to use The model can be used the same as ProtBert and with ProtBert's tokenizer. ## Training data DistilProtBert model was pretrained on [Uniref50](https://www.uniprot.org/downloads), a dataset consisting of ~43 million protein sequences (only sequences of length between 20 to 512 amino acids were used). # Pretraining procedure Preprocessing was done using ProtBert's tokenizer. The details of the masking procedure for each sequence followed the original Bert (as mentioned in [ProtBert](https://huggingface.co/Rostlab/prot_bert)). The model was pretrained on a single DGX cluster for 3 epochs in total. local batch size was 16, the optimizer used was AdamW with a learning rate of 5e-5 and mixed precision settings. ## Evaluation results When fine-tuned on downstream tasks, this model achieves the following results: | Task/Dataset | secondary structure (3-states) | Membrane | |:-----:|:-----:|:-----:| | CASP12 | 72 | | | TS115 | 81 | | | CB513 | 79 | | | DeepLoc | | 86 | Distinguish between proteins and their k-let shuffled versions: _Singlet_ ([dataset](https://huggingface.co/datasets/yarongef/human_proteome_singlets)) | Model | AUC | |:--------------:|:-------:| | LSTM | 0.71 | | ProtBert | 0.93 | | DistilProtBert | 0.92 | _Doublet_ ([dataset](https://huggingface.co/datasets/yarongef/human_proteome_doublets)) | Model | AUC | |:--------------:|:-------:| | LSTM | 0.68 | | ProtBert | 0.92 | | DistilProtBert | 0.91 | _Triplet_ ([dataset](https://huggingface.co/datasets/yarongef/human_proteome_triplets)) | Model | AUC | |:--------------:|:-------:| | LSTM | 0.61 | | ProtBert | 0.92 | | DistilProtBert | 0.87 | ## **Citation** If you use this model, please cite our paper: ``` @article { author = {Geffen, Yaron and Ofran, Yanay and Unger, Ron}, title = {DistilProtBert: A distilled protein language model used to distinguish between real proteins and their randomly shuffled counterparts}, year = {2022}, doi = {10.1093/bioinformatics/btac474}, URL = {https://doi.org/10.1093/bioinformatics/btac474}, journal = {Bioinformatics} } ```
[ -0.30896469950675964, -0.5546515583992004, 0.37130653858184814, 0.021365154534578323, -0.30978089570999146, 0.18727605044841766, 0.09226705878973007, -0.3561188578605652, 0.1850770264863968, 0.23801599442958832, -0.5569286942481995, -0.5799522995948792, -0.8313924670219421, 0.31148654222488403, -0.21659645438194275, 1.0263934135437012, 0.10227032005786896, 0.4120619595050812, 0.047588955610990524, -0.2302556335926056, -0.13926656544208527, -0.6180360913276672, -0.3728846311569214, -0.5971951484680176, 0.5130846500396729, 0.06984812021255493, 0.4339534640312195, 0.4761248826980591, 0.5134983062744141, 0.2487758845090866, -0.20987479388713837, -0.05958988144993782, -0.3643094003200531, -0.23477277159690857, 0.2618628442287445, -0.39681702852249146, -0.6260599493980408, 0.3064993917942047, 0.49730971455574036, 0.778596818447113, 0.04291587322950363, 0.40669870376586914, 0.2858181893825531, 0.978539228439331, -0.5012490153312683, 0.06893174350261688, -0.35809633135795593, 0.05892026424407959, -0.2903318703174591, 0.2826712727546692, -0.3457900881767273, -0.0917627289891243, 0.36973440647125244, -0.4339841604232788, 0.34065860509872437, 0.11586803197860718, 1.1490381956100464, 0.19325825572013855, -0.2764459550380707, -0.030156414955854416, -0.4040322005748749, 0.8007456660270691, -0.9965539574623108, 0.4598185122013092, 0.45720285177230835, 0.08352990448474884, -0.27409785985946655, -0.9316911697387695, -0.7506008148193359, -0.37253591418266296, -0.141666978597641, 0.2896799147129059, -0.1277545690536499, 0.17721588909626007, 0.2317156195640564, 0.4424460828304291, -0.9290836453437805, -0.07280568778514862, -0.6639155745506287, -0.14761950075626373, 0.7729047536849976, -0.37728092074394226, 0.1554698646068573, -0.02634415589272976, -0.4207419455051422, -0.3196913003921509, -0.4354875683784485, 0.1140805035829544, 0.4717247486114502, 0.145573228597641, -0.09844040870666504, 0.35612258315086365, -0.02682412415742874, 0.8294342160224915, 0.048529863357543945, -0.028846407309174538, 0.6622474789619446, -0.10849262028932571, -0.4718191623687744, 0.21918350458145142, 1.0486003160476685, 0.07555083185434341, 0.2627841532230377, 0.094672292470932, -0.0984301045536995, -0.3630782663822174, 0.12340275943279266, -0.9471940398216248, -0.7106831669807434, 0.6671534180641174, -0.5929116010665894, -0.26289239525794983, 0.4165537655353546, -0.5611391067504883, -0.08370644599199295, -0.22622710466384888, 0.8740304708480835, -0.6092472076416016, -0.04114091768860817, 0.31588494777679443, -0.31320449709892273, -0.012301446869969368, -0.08402658998966217, -0.6919916868209839, 0.29192695021629333, 0.24586087465286255, 0.920574963092804, -0.33401402831077576, -0.2190874218940735, -0.3726296126842499, -0.10544800013303757, 0.08729056268930435, 0.3572867810726166, -0.28446006774902344, -0.0050576901994645596, -0.34126749634742737, 0.13891708850860596, -0.11186515539884567, -0.6915206909179688, 0.4653136730194092, -0.6067031025886536, 0.08940111845731735, -0.2964094877243042, -0.7150472402572632, -0.5501641035079956, -0.16755391657352448, -0.8160921335220337, 0.9691301584243774, -0.019569383934140205, -0.9423232078552246, 0.48417428135871887, -0.5615883469581604, -0.157725527882576, 0.1405256688594818, -0.21805690228939056, -0.6598010063171387, 0.05903186276555061, 0.17496460676193237, 0.4518488049507141, -0.10830945521593094, 0.5455265045166016, -0.581071674823761, -0.32484593987464905, 0.48545145988464355, -0.04494282975792885, 0.955234169960022, 0.26252442598342896, -0.3779202699661255, -0.02436194010078907, -1.2025500535964966, 0.27864333987236023, 0.19271820783615112, -0.43796682357788086, -0.10919761657714844, -0.07105378806591034, -0.18076641857624054, 0.34167444705963135, 0.13577944040298462, -0.599437415599823, 0.3990691006183624, -0.014723366126418114, 0.4732215404510498, 0.7241249084472656, -0.032830215990543365, 0.2391786426305771, -0.3388533890247345, 0.1597212702035904, 0.3832453787326813, 0.0703296810388565, 0.2762448489665985, -0.6894184947013855, -0.8160024881362915, -0.8295100927352905, 0.6148849129676819, 0.6178004741668701, -0.39145833253860474, 0.7372649908065796, -0.016375448554754257, -0.5227091312408447, -0.843235433101654, 0.05727774277329445, 0.4774951636791229, 0.47954514622688293, 0.7372114062309265, -0.24846023321151733, -0.542894721031189, -1.196468472480774, -0.05863788723945618, -0.08007216453552246, -0.34186676144599915, 0.010789774358272552, 0.7677956819534302, -0.025863662362098694, 0.9567999243736267, -0.7245211005210876, -0.27206867933273315, -0.3227602541446686, 0.2623518407344818, 0.6526928544044495, 0.6122574210166931, 0.41804125905036926, -0.7401155829429626, -0.699907660484314, -0.36702728271484375, -0.8684284687042236, -0.14232926070690155, 0.09383751451969147, -0.0028977880720049143, 0.04373941570520401, 0.3216036856174469, -0.6084918975830078, 0.3702164590358734, 0.5139560699462891, -0.14391164481639862, 0.7915861010551453, -0.382781982421875, -0.10675142705440521, -0.9966560006141663, 0.45379897952079773, 0.09555800259113312, -0.1427864134311676, -0.9493536353111267, -0.19268934428691864, 0.06817419081926346, 0.03939267247915268, -0.552463173866272, 0.42614156007766724, -0.6457709670066833, 0.06985533982515335, -0.14049284160137177, -0.33435332775115967, 0.21924032270908356, 0.8079373240470886, 0.15030580759048462, 0.6259052753448486, 0.7042643427848816, -0.5290920734405518, -0.008672036230564117, 0.23917683959007263, -0.46953821182250977, -0.07420362532138824, -1.1261909008026123, -0.023080753162503242, -0.17163996398448944, 0.4220570921897888, -0.99649578332901, -0.08782301843166351, 0.45063790678977966, -0.44285136461257935, 0.45919764041900635, -0.19452613592147827, -0.505254864692688, -0.5540720820426941, -0.4988001585006714, 0.3038218021392822, 0.609640896320343, -0.38624322414398193, 0.17187348008155823, 0.22330668568611145, -0.03676703944802284, -0.5976285338401794, -0.7739320993423462, -0.5363239645957947, -0.21645037829875946, -0.5522467494010925, 0.5510889887809753, -0.16794921457767487, 0.02703353576362133, -0.29012349247932434, -0.3661555051803589, -0.2523399293422699, -0.15619918704032898, 0.35523733496665955, 0.3756294250488281, 0.08463191986083984, 0.03895385563373566, -0.07887465506792068, -0.011278190650045872, -0.30338698625564575, -0.4755362868309021, 0.4839979112148285, -0.2173793762922287, -0.10058891773223877, -0.7746796607971191, 0.4477531909942627, 0.48087432980537415, -0.20605692267417908, 0.9326066374778748, 0.8275908827781677, -0.2216154932975769, 0.04854224994778633, -0.44021981954574585, -0.4809022545814514, -0.4873022437095642, 0.5632908344268799, -0.27747389674186707, -0.7964466214179993, 0.7320943474769592, 0.20096878707408905, -0.03327242657542229, 0.5853003859519958, 0.33514901995658875, -0.4245031774044037, 0.9287703633308411, 0.5919874310493469, 0.1838616132736206, 0.22795014083385468, -0.6039223670959473, 0.4244033396244049, -0.7919477224349976, -0.239128977060318, -0.5173324346542358, -0.7616159915924072, -0.6820467114448547, -0.2974246144294739, 0.401608943939209, 0.6509766578674316, -0.3113273084163666, 0.5127124786376953, -0.5013788938522339, 0.30808785557746887, 0.8237504363059998, 0.31839674711227417, 0.10124464333057404, 0.21229687333106995, -0.5509869456291199, -0.046358946710824966, -0.9556335210800171, -0.6724815964698792, 1.138299822807312, 0.5112782120704651, 0.4780580699443817, 0.04224719479680061, 0.9092172384262085, 0.3401801586151123, 0.17232079803943634, -0.4639216661453247, 0.482369065284729, -0.34113097190856934, -0.8589562773704529, -0.2109864503145218, -0.35899239778518677, -0.8972179889678955, 0.25551924109458923, -0.25225603580474854, -1.0607677698135376, 0.5067192912101746, 0.188778817653656, -0.5410672426223755, 0.3746863603591919, -0.8568227887153625, 1.0032082796096802, -0.2267152965068817, -0.245524600148201, 0.24323725700378418, -0.9378350973129272, 0.29899343848228455, -0.29294589161872864, 0.21749155223369598, -0.08051813393831253, 0.2284345030784607, 1.0786705017089844, -0.6552372574806213, 0.9052791595458984, -0.19565099477767944, 0.12020038813352585, 0.4580519497394562, 0.01629631407558918, 0.41899633407592773, -0.035121917724609375, 0.05970092862844467, 0.6493788361549377, 0.24491317570209503, -0.5137563943862915, -0.19920377433300018, 0.409890741109848, -1.0010844469070435, -0.5080848932266235, -0.6284965872764587, -0.37769779562950134, 0.11230682581663132, 0.23632028698921204, 0.7023507952690125, 0.2211875170469284, 0.2944987118244171, 0.23787538707256317, 0.7714471817016602, -0.31419020891189575, 0.537733793258667, 0.5698321461677551, -0.038845133036375046, -0.28235068917274475, 0.8456358909606934, 0.41338929533958435, 0.2670396864414215, 0.36960387229919434, 0.12329322844743729, -0.36431270837783813, -0.8061469793319702, -0.1422985941171646, 0.3015323281288147, -0.4529743492603302, -0.21714188158512115, -0.9035500288009644, -0.33771926164627075, -0.3678452670574188, 0.09830764681100845, -0.6286839246749878, -0.47962838411331177, -0.4270082712173462, -0.09479431062936783, 0.18379229307174683, 0.24410730600357056, -0.2443695068359375, 0.19523191452026367, -1.0881497859954834, 0.2445622831583023, 0.28685253858566284, 0.25857052206993103, -0.09511271864175797, -0.8485076427459717, -0.10771115869283676, 0.2551428973674774, -0.5195581316947937, -1.1715978384017944, 0.587916910648346, 0.5857424139976501, 0.9009992480278015, 0.11016792058944702, 0.11582307517528534, 0.3804411292076111, -0.3197793960571289, 0.8643351197242737, 0.20903389155864716, -0.6177178025245667, 0.6205558776855469, -0.004443509969860315, 0.5072878003120422, 0.7218269109725952, 1.0294861793518066, -0.028752731159329414, -0.37980854511260986, -0.7324035167694092, -1.1925599575042725, 0.7256507277488708, 0.4590664803981781, -0.4010031521320343, -0.02950328215956688, 0.251924604177475, 0.3459540903568268, 0.22665628790855408, -1.0387423038482666, -0.4685390293598175, 0.04145483672618866, -0.1339476853609085, -0.02713186666369438, -0.3054485023021698, -0.15410743653774261, -0.4703623056411743, 0.9262440800666809, 0.005427232943475246, 0.3877355456352234, 0.449057936668396, -0.3028154969215393, 0.3326770067214966, 0.06974807381629944, 0.48333460092544556, 0.583808183670044, -0.8206465840339661, 0.1642872840166092, -0.10387222468852997, -0.8578073978424072, 0.10463255643844604, 0.2908782958984375, -0.32153815031051636, 0.003843554761260748, 0.6861312985420227, 0.8337326645851135, -0.26571398973464966, -0.5265699028968811, 0.3285279870033264, 0.062496356666088104, -0.6596168279647827, 0.07005489617586136, 0.009668231010437012, 0.08096539974212646, 0.4769643545150757, 0.8086691498756409, -0.05513773113489151, 0.14697816967964172, -0.3945590853691101, 0.3647361099720001, 0.15081293880939484, -0.37832406163215637, -0.469863623380661, 0.6557003855705261, 0.03655866160988808, -0.06806986778974533, 0.7924486398696899, -0.41088053584098816, -0.4501779079437256, 0.5085558295249939, 0.40737658739089966, 1.1052525043487549, -0.16078227758407593, 0.21081668138504028, 0.7534028887748718, 0.06781554967164993, -0.1880331188440323, 0.32648539543151855, 0.04783007502555847, -0.6425368189811707, -0.14865128695964813, -1.2724090814590454, 0.412005752325058, 0.553968071937561, -0.6027562022209167, 0.002894394798204303, -0.27063271403312683, -0.4699910581111908, 0.5297160744667053, 0.25490042567253113, -0.6446475982666016, 0.01101684384047985, 0.13270267844200134, 0.8106988668441772, -1.1271380186080933, 1.279602289199829, 0.7652928233146667, -0.6328407526016235, -0.5896828174591064, -0.004673161078244448, 0.09423866122961044, -0.5469374656677246, 1.0451234579086304, 0.2573922872543335, 0.30709144473075867, -0.012720353901386261, -0.5475457906723022, -0.7809982895851135, 1.3317620754241943, 0.29664185643196106, -1.071729302406311, 0.026699358597397804, 0.2399464100599289, 0.6432188153266907, -0.32523080706596375, 0.19649282097816467, 0.5888961553573608, 0.31511422991752625, 0.17012369632720947, -1.063591718673706, 0.027902400121092796, -0.288596510887146, -0.04756533354520798, -0.053285110741853714, -0.6849512457847595, 1.0113489627838135, -0.19494441151618958, -0.11292072385549545, -0.18698863685131073, 0.5753026604652405, 0.6764897108078003, 0.07002058625221252, 0.09419902414083481, 0.753183901309967, 0.7329875826835632, -0.03943728283047676, 0.8656177520751953, -0.28268736600875854, 0.4474508762359619, 1.2322627305984497, -0.15057550370693207, 0.6966512799263, 0.6958716511726379, -0.6505825519561768, 0.27008238434791565, 0.7431867122650146, -0.16769948601722717, 0.7777842283248901, 0.5470358729362488, -0.15870115160942078, -0.23337732255458832, 0.1805931180715561, -0.5461015701293945, 0.25419071316719055, 0.03416403383016586, -0.4652532935142517, 0.022977501153945923, -0.09708582609891891, 0.03619186580181122, -0.28836312890052795, 0.06300149112939835, 0.5792230367660522, 0.19750191271305084, -0.4182710647583008, 1.041404366493225, -0.023200375959277153, 0.6377944946289062, -0.7223944067955017, 0.09140241146087646, -0.4175941050052643, 0.2702520787715912, -0.07850750535726547, -0.6999094486236572, 0.18266022205352783, -0.09612120687961578, -0.33774927258491516, 0.08886018395423889, 0.5893007516860962, -0.5552388429641724, -0.7145606279373169, 0.38975760340690613, 0.39273422956466675, 0.2649591267108917, -0.20067273080348969, -0.9969449043273926, 0.23663561046123505, 0.11040579527616501, -0.5405771732330322, 0.5685696005821228, 0.11753184348344803, 0.11527808010578156, 0.7224900126457214, 0.5790259838104248, -0.08870793133974075, -0.017065448686480522, -0.03584190830588341, 0.8921337127685547, -0.4777006506919861, -0.30247628688812256, -1.0088319778442383, 0.7565814852714539, -0.15816263854503632, -0.1563892364501953, 0.5912377834320068, 0.6730695366859436, 0.8791404962539673, -0.3967919945716858, 0.5551422238349915, -0.18139757215976715, 0.21724167466163635, -0.3857969343662262, 0.906080424785614, -0.6871463060379028, 0.16664834320545197, -0.2694811224937439, -1.1297158002853394, -0.372156023979187, 0.6814441680908203, -0.06232065707445145, 0.2554372251033783, 0.6664156913757324, 0.9153322577476501, -0.1394990235567093, -0.1761581152677536, 0.15312375128269196, 0.4021952748298645, 0.36831405758857727, 0.5373391509056091, 0.2127409428358078, -0.7425119280815125, 0.3233841359615326, -0.2891088128089905, -0.42890575528144836, -0.2644099295139313, -0.945145845413208, -0.8356331586837769, -0.8306813836097717, -0.7616715431213379, -0.346444308757782, 0.29155024886131287, 0.7849952578544617, 1.0164271593093872, -1.055700659751892, -0.253974050283432, -0.08401717990636826, -0.3828728199005127, -0.4200458526611328, -0.1718812733888626, 0.5626259446144104, -0.09425079077482224, -0.4673355519771576, 0.2416752427816391, 0.1433861404657364, 0.38796648383140564, 0.018665701150894165, -0.18645069003105164, -0.9271262884140015, -0.025803372263908386, 0.5046446919441223, 0.4048643410205841, -0.6587598919868469, -0.2313993275165558, -0.16521809995174408, -0.0947522446513176, 0.054736342281103134, 0.291237473487854, -0.5215519070625305, 0.4462568759918213, 0.6533294320106506, 0.1965583860874176, 0.6610061526298523, -0.1729366034269333, 0.5085286498069763, -0.9366914629936218, 0.299711138010025, 0.08787912875413895, 0.18926219642162323, 0.11060968786478043, -0.17811617255210876, 0.31887441873550415, 0.4686693251132965, -0.5771381258964539, -0.7113710641860962, 0.007826401852071285, -1.1393719911575317, -0.5182526111602783, 0.9409463405609131, -0.272243469953537, -0.2681400179862976, 0.16060686111450195, 0.005991005804389715, 0.5323498249053955, -0.28515803813934326, 0.862572431564331, 0.8622246384620667, -0.1124221682548523, 0.013356179930269718, -0.735159695148468, 0.7429810166358948, 0.379134863615036, -0.36900290846824646, -0.004122421611100435, 0.2666833996772766, 0.4590446949005127, 0.08908142149448395, 0.5446633100509644, -0.2263493835926056, -0.04871710017323494, -0.019979195669293404, 0.21866938471794128, -0.25233906507492065, -0.3879643678665161, -0.26221033930778503, 0.1274096816778183, -0.213661327958107, -0.4396865963935852 ]
NousResearch/Llama-2-13b-chat-hf
NousResearch
2023-09-13T08:15:28Z
7,466
16
transformers
[ "transformers", "pytorch", "safetensors", "llama", "text-generation", "facebook", "meta", "llama-2", "en", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-07-19T01:01:32Z
--- extra_gated_heading: Access Llama 2 on Hugging Face extra_gated_description: >- This is a form to enable access to Llama 2 on Hugging Face after you have been granted access from Meta. Please visit the [Meta website](https://ai.meta.com/resources/models-and-libraries/llama-downloads) and accept our license terms and acceptable use policy before submitting this form. Requests will be processed in 1-2 days. extra_gated_button_content: Submit extra_gated_fields: I agree to share my name, email address and username with Meta and confirm that I have already been granted download access on the Meta website: checkbox language: - en pipeline_tag: text-generation inference: false tags: - facebook - meta - pytorch - llama - llama-2 --- # **Llama 2** Llama 2 is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. This is the repository for the 13B fine-tuned model, optimized for dialogue use cases and converted for the Hugging Face Transformers format. Links to other models can be found in the index at the bottom. ## Model Details *Note: Use of this model is governed by the Meta license. In order to download the model weights and tokenizer, please visit the [website](https://ai.meta.com/resources/models-and-libraries/llama-downloads/) and accept our License before requesting access here.* Meta developed and publicly released the Llama 2 family of large language models (LLMs), a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. Our fine-tuned LLMs, called Llama-2-Chat, are optimized for dialogue use cases. Llama-2-Chat models outperform open-source chat models on most benchmarks we tested, and in our human evaluations for helpfulness and safety, are on par with some popular closed-source models like ChatGPT and PaLM. **Model Developers** Meta **Variations** Llama 2 comes in a range of parameter sizes — 7B, 13B, and 70B — as well as pretrained and fine-tuned variations. **Input** Models input text only. **Output** Models generate text only. **Model Architecture** Llama 2 is an auto-regressive language model that uses an optimized transformer architecture. The tuned versions use supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) to align to human preferences for helpfulness and safety. ||Training Data|Params|Content Length|GQA|Tokens|LR| |---|---|---|---|---|---|---| |Llama 2|*A new mix of publicly available online data*|7B|4k|&#10007;|2.0T|3.0 x 10<sup>-4</sup>| |Llama 2|*A new mix of publicly available online data*|13B|4k|&#10007;|2.0T|3.0 x 10<sup>-4</sup>| |Llama 2|*A new mix of publicly available online data*|70B|4k|&#10004;|2.0T|1.5 x 10<sup>-4</sup>| *Llama 2 family of models.* Token counts refer to pretraining data only. All models are trained with a global batch-size of 4M tokens. Bigger models - 70B -- use Grouped-Query Attention (GQA) for improved inference scalability. **Model Dates** Llama 2 was trained between January 2023 and July 2023. **Status** This is a static model trained on an offline dataset. Future versions of the tuned models will be released as we improve model safety with community feedback. **License** A custom commercial license is available at: [https://ai.meta.com/resources/models-and-libraries/llama-downloads/](https://ai.meta.com/resources/models-and-libraries/llama-downloads/) ## Intended Use **Intended Use Cases** Llama 2 is intended for commercial and research use in English. Tuned models are intended for assistant-like chat, whereas pretrained models can be adapted for a variety of natural language generation tasks. To get the expected features and performance for the chat versions, a specific formatting needs to be followed, including the `INST` and `<<SYS>>` tags, `BOS` and `EOS` tokens, and the whitespaces and breaklines in between (we recommend calling `strip()` on inputs to avoid double-spaces). See our reference code in github for details: [`chat_completion`](https://github.com/facebookresearch/llama/blob/main/llama/generation.py#L212). **Out-of-scope Uses** Use in any manner that violates applicable laws or regulations (including trade compliance laws).Use in languages other than English. Use in any other way that is prohibited by the Acceptable Use Policy and Licensing Agreement for Llama 2. ## Hardware and Software **Training Factors** We used custom training libraries, Meta's Research Super Cluster, and production clusters for pretraining. Fine-tuning, annotation, and evaluation were also performed on third-party cloud compute. **Carbon Footprint** Pretraining utilized a cumulative 3.3M GPU hours of computation on hardware of type A100-80GB (TDP of 350-400W). Estimated total emissions were 539 tCO2eq, 100% of which were offset by Meta’s sustainability program. ||Time (GPU hours)|Power Consumption (W)|Carbon Emitted(tCO<sub>2</sub>eq)| |---|---|---|---| |Llama 2 7B|184320|400|31.22| |Llama 2 13B|368640|400|62.44| |Llama 2 70B|1720320|400|291.42| |Total|3311616||539.00| **CO<sub>2</sub> emissions during pretraining.** Time: total GPU time required for training each model. Power Consumption: peak power capacity per GPU device for the GPUs used adjusted for power usage efficiency. 100% of the emissions are directly offset by Meta's sustainability program, and because we are openly releasing these models, the pretraining costs do not need to be incurred by others. ## Training Data **Overview** Llama 2 was pretrained on 2 trillion tokens of data from publicly available sources. The fine-tuning data includes publicly available instruction datasets, as well as over one million new human-annotated examples. Neither the pretraining nor the fine-tuning datasets include Meta user data. **Data Freshness** The pretraining data has a cutoff of September 2022, but some tuning data is more recent, up to July 2023. ## Evaluation Results In this section, we report the results for the Llama 1 and Llama 2 models on standard academic benchmarks.For all the evaluations, we use our internal evaluations library. |Model|Size|Code|Commonsense Reasoning|World Knowledge|Reading Comprehension|Math|MMLU|BBH|AGI Eval| |---|---|---|---|---|---|---|---|---|---| |Llama 1|7B|14.1|60.8|46.2|58.5|6.95|35.1|30.3|23.9| |Llama 1|13B|18.9|66.1|52.6|62.3|10.9|46.9|37.0|33.9| |Llama 1|33B|26.0|70.0|58.4|67.6|21.4|57.8|39.8|41.7| |Llama 1|65B|30.7|70.7|60.5|68.6|30.8|63.4|43.5|47.6| |Llama 2|7B|16.8|63.9|48.9|61.3|14.6|45.3|32.6|29.3| |Llama 2|13B|24.5|66.9|55.4|65.8|28.7|54.8|39.4|39.1| |Llama 2|70B|**37.5**|**71.9**|**63.6**|**69.4**|**35.2**|**68.9**|**51.2**|**54.2**| **Overall performance on grouped academic benchmarks.** *Code:* We report the average pass@1 scores of our models on HumanEval and MBPP. *Commonsense Reasoning:* We report the average of PIQA, SIQA, HellaSwag, WinoGrande, ARC easy and challenge, OpenBookQA, and CommonsenseQA. We report 7-shot results for CommonSenseQA and 0-shot results for all other benchmarks. *World Knowledge:* We evaluate the 5-shot performance on NaturalQuestions and TriviaQA and report the average. *Reading Comprehension:* For reading comprehension, we report the 0-shot average on SQuAD, QuAC, and BoolQ. *MATH:* We report the average of the GSM8K (8 shot) and MATH (4 shot) benchmarks at top 1. |||TruthfulQA|Toxigen| |---|---|---|---| |Llama 1|7B|27.42|23.00| |Llama 1|13B|41.74|23.08| |Llama 1|33B|44.19|22.57| |Llama 1|65B|48.71|21.77| |Llama 2|7B|33.29|**21.25**| |Llama 2|13B|41.86|26.10| |Llama 2|70B|**50.18**|24.60| **Evaluation of pretrained LLMs on automatic safety benchmarks.** For TruthfulQA, we present the percentage of generations that are both truthful and informative (the higher the better). For ToxiGen, we present the percentage of toxic generations (the smaller the better). |||TruthfulQA|Toxigen| |---|---|---|---| |Llama-2-Chat|7B|57.04|**0.00**| |Llama-2-Chat|13B|62.18|**0.00**| |Llama-2-Chat|70B|**64.14**|0.01| **Evaluation of fine-tuned LLMs on different safety datasets.** Same metric definitions as above. ## Ethical Considerations and Limitations Llama 2 is a new technology that carries risks with use. Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios. For these reasons, as with all LLMs, Llama 2’s potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate, biased or other objectionable responses to user prompts. Therefore, before deploying any applications of Llama 2, developers should perform safety testing and tuning tailored to their specific applications of the model. Please see the Responsible Use Guide available at [https://ai.meta.com/llama/responsible-use-guide/](https://ai.meta.com/llama/responsible-use-guide) ## Reporting Issues Please report any software “bug,” or other problems with the models through one of the following means: - Reporting issues with the model: [github.com/facebookresearch/llama](http://github.com/facebookresearch/llama) - Reporting problematic content generated by the model: [developers.facebook.com/llama_output_feedback](http://developers.facebook.com/llama_output_feedback) - Reporting bugs and security concerns: [facebook.com/whitehat/info](http://facebook.com/whitehat/info) ## Llama Model Index |Model|Llama2|Llama2-hf|Llama2-chat|Llama2-chat-hf| |---|---|---|---|---| |7B| [Link](https://huggingface.co/llamaste/Llama-2-7b) | [Link](https://huggingface.co/llamaste/Llama-2-7b-hf) | [Link](https://huggingface.co/llamaste/Llama-2-7b-chat) | [Link](https://huggingface.co/llamaste/Llama-2-7b-chat-hf)| |13B| [Link](https://huggingface.co/llamaste/Llama-2-13b) | [Link](https://huggingface.co/llamaste/Llama-2-13b-hf) | [Link](https://huggingface.co/llamaste/Llama-2-13b-chat) | [Link](https://huggingface.co/llamaste/Llama-2-13b-hf)| |70B| [Link](https://huggingface.co/llamaste/Llama-2-70b) | [Link](https://huggingface.co/llamaste/Llama-2-70b-hf) | [Link](https://huggingface.co/llamaste/Llama-2-70b-chat) | [Link](https://huggingface.co/llamaste/Llama-2-70b-hf)|
[ -0.22590966522693634, -0.7188540101051331, 0.38294699788093567, 0.20044663548469543, -0.38637056946754456, 0.23213163018226624, -0.04553607478737831, -0.7662571668624878, 0.06124411150813103, 0.3184116780757904, -0.7201308012008667, -0.5858622789382935, -0.6827889084815979, 0.08692631125450134, -0.2289211004972458, 1.1017118692398071, -0.009886497631669044, -0.28661084175109863, -0.1305994838476181, 0.08899484574794769, -0.49457359313964844, -0.407714307308197, -0.5471510291099548, -0.43728142976760864, 0.4118589758872986, 0.48962822556495667, 0.6256873607635498, 0.6653906106948853, 0.5546390414237976, 0.24879586696624756, -0.26447585225105286, 0.2221355140209198, -0.7167549133300781, -0.27809077501296997, 0.12137463688850403, -0.500836968421936, -0.6969897150993347, 0.1706298142671585, 0.36181700229644775, 0.1826103925704956, -0.30220645666122437, 0.5379480123519897, 0.0631159096956253, 0.4766484498977661, -0.5733048319816589, 0.17273148894309998, -0.7412521839141846, 0.03742965683341026, -0.2209637314081192, -0.08302538841962814, -0.1920521855354309, -0.29924476146698, -0.19444651901721954, -0.8514078855514526, -0.11352123320102692, 0.09249027818441391, 1.06697678565979, 0.6675634384155273, -0.4654034674167633, -0.12222408503293991, -0.28466230630874634, 0.9720851182937622, -0.8757545948028564, 0.04940216243267059, 0.5961342453956604, 0.282275915145874, -0.23185110092163086, -0.7750003337860107, -0.6656416058540344, -0.14681708812713623, 0.06225007027387619, 0.3664087653160095, -0.4256669580936432, 0.018587663769721985, 0.18844112753868103, 0.3924066126346588, -0.5845561027526855, 0.5800150632858276, -0.5227428078651428, -0.17183524370193481, 1.0856846570968628, 0.24901458621025085, 0.0012702745152637362, -0.059362076222896576, -0.5055901408195496, -0.29864761233329773, -0.822823703289032, 0.18477284908294678, 0.5030717253684998, -0.0408189631998539, -0.47507575154304504, 0.6336823105812073, -0.4203180968761444, 0.3052997887134552, 0.01799602247774601, -0.5150989890098572, 0.49105584621429443, -0.4906083643436432, -0.2859785258769989, -0.12093165516853333, 0.9188525676727295, 0.7504390478134155, 0.1576472967863083, 0.11339296400547028, -0.06956277042627335, 0.11046449095010757, -0.010814771987497807, -0.8298202753067017, -0.048295535147190094, 0.24331308901309967, -0.38258492946624756, -0.5971879363059998, -0.311026394367218, -0.7647829055786133, -0.1687500923871994, -0.09979952871799469, 0.2516026794910431, -0.0327136404812336, -0.3910653591156006, 0.1253233253955841, 0.05275856330990791, 0.5661082863807678, 0.21905899047851562, -0.9660120606422424, 0.22570893168449402, 0.5678548812866211, 0.8047930002212524, -0.24872571229934692, -0.3647395372390747, 0.008538286201655865, -0.023413842543959618, -0.3366711437702179, 0.9240073561668396, -0.349613219499588, -0.5654505491256714, -0.22774195671081543, -0.021478403359651566, 0.16648609936237335, -0.5318822264671326, 0.45019087195396423, -0.39124298095703125, 0.17394210398197174, -0.34067675471305847, -0.37145331501960754, -0.3548593521118164, 0.19445548951625824, -0.4093293845653534, 1.4851568937301636, 0.11649474501609802, -0.492261677980423, 0.3192460834980011, -0.6989181041717529, -0.1867101639509201, -0.20732668042182922, 0.1008291095495224, -0.5413752794265747, -0.275011271238327, 0.13372497260570526, 0.379550039768219, -0.6566998362541199, 0.500149130821228, -0.20163747668266296, -0.44721460342407227, 0.03942343592643738, -0.42580264806747437, 0.8678397536277771, 0.29970845580101013, -0.4657227098941803, 0.07575633376836777, -0.8525286912918091, 0.05400925874710083, 0.46383264660835266, -0.4932838976383209, 0.2697404623031616, 0.07737582921981812, -0.12386838346719742, 0.19440209865570068, 0.4961400330066681, -0.37062570452690125, 0.1687241941690445, -0.32095807790756226, 0.5147826671600342, 0.7676581740379333, 0.056095585227012634, 0.1660081297159195, -0.5327326059341431, 0.5385382771492004, -0.03960982710123062, 0.3941630423069, 0.011216198094189167, -0.7388656735420227, -1.0548467636108398, -0.19136770069599152, -0.04632792994379997, 0.8651963472366333, -0.2558700144290924, 0.7078818082809448, -0.006192347034811974, -0.7529626488685608, -0.43508729338645935, 0.3730170428752899, 0.6910284161567688, 0.5139150023460388, 0.43923401832580566, -0.29034754633903503, -0.6235790252685547, -1.0477551221847534, 0.055139780044555664, -0.45874765515327454, -0.013481448404490948, 0.37201622128486633, 0.6706737279891968, -0.346306711435318, 0.7485749125480652, -0.5527141094207764, -0.17518113553524017, -0.27234190702438354, -0.12142839282751083, 0.07412711530923843, 0.3519524931907654, 0.6638873815536499, -0.40177321434020996, -0.21341575682163239, -0.12740981578826904, -0.9255989789962769, -0.10783348232507706, 0.10166827589273453, -0.2086891233921051, 0.24523542821407318, 0.32354286313056946, -0.6269811987876892, 0.4685397744178772, 0.7307432889938354, -0.18303026258945465, 0.5286825895309448, -0.0031044280622154474, -0.1781095713376999, -1.1060348749160767, 0.04017996788024902, -0.20477749407291412, 0.025071660056710243, -0.4443526864051819, -0.03389100357890129, -0.22218692302703857, 0.06884477287530899, -0.6322571039199829, 0.6080459356307983, -0.3150794208049774, -0.17135345935821533, -0.1264895349740982, 0.04977235198020935, 0.06349512934684753, 0.6347467303276062, -0.12703894078731537, 1.1094516515731812, 0.4108663499355316, -0.6059333086013794, 0.27019280195236206, 0.4087544083595276, -0.5127719640731812, 0.15439556539058685, -0.8947311043739319, 0.3726818263530731, 0.1128990575671196, 0.5412591099739075, -0.9871745109558105, -0.3855816423892975, 0.33455631136894226, -0.4433421790599823, 0.08837323635816574, 0.24583753943443298, -0.5659379363059998, -0.40821319818496704, -0.4336049258708954, 0.31524190306663513, 0.8258526921272278, -0.4678427278995514, 0.189400777220726, 0.385744571685791, 0.02003808319568634, -0.7036667466163635, -0.8605234026908875, 0.06908325105905533, -0.37749865651130676, -0.5478992462158203, 0.311684787273407, -0.19743750989437103, -0.25163713097572327, -0.26442787051200867, 0.07243400812149048, -0.013055477291345596, 0.3947572112083435, 0.3764623701572418, 0.38018858432769775, -0.12004247307777405, -0.026711871847510338, 0.14627809822559357, -0.21057258546352386, 0.04417283833026886, 0.23107387125492096, 0.5981197953224182, -0.17941775918006897, -0.22788068652153015, -0.757576048374176, 0.052250221371650696, 0.2998630702495575, -0.2607201337814331, 0.6212223768234253, 0.43360841274261475, -0.2279142439365387, 0.2404700666666031, -0.782423198223114, -0.10863687098026276, -0.5449936985969543, 0.554111123085022, -0.21867719292640686, -0.8424145579338074, 0.54936683177948, -0.009149812161922455, 0.45081308484077454, 0.7671964764595032, 0.6276940107345581, -0.08518756926059723, 0.8358935117721558, 0.5867434144020081, -0.08013557642698288, 0.3436230421066284, -0.5083554983139038, -0.09017099440097809, -0.9751540422439575, -0.6328128576278687, -0.32761430740356445, -0.43791326880455017, -0.6820328831672668, -0.4279443025588989, 0.2728205919265747, 0.19818755984306335, -0.694233775138855, 0.3289775550365448, -0.5905952453613281, 0.5848422646522522, 0.5491607189178467, 0.13169126212596893, 0.3189375102519989, 0.10154210776090622, 0.14570456743240356, 0.059551939368247986, -0.5407493710517883, -0.7570675015449524, 1.5028325319290161, 0.43108007311820984, 0.46211138367652893, 0.1030787006020546, 0.6992530822753906, 0.15161648392677307, 0.33013081550598145, -0.7369095087051392, 0.6767095327377319, 0.04977519065141678, -0.7346816658973694, -0.1555013507604599, -0.11605032533407211, -0.9174204468727112, 0.147303506731987, -0.2144901007413864, -0.8009982109069824, 0.03243342787027359, -0.03125052526593208, -0.39341044425964355, 0.28877487778663635, -0.684832751750946, 0.6174898743629456, -0.5799949765205383, -0.3201030194759369, -0.36985430121421814, -0.8102341294288635, 0.6951461434364319, -0.2064141482114792, 0.09961171448230743, -0.5084993243217468, -0.26399141550064087, 0.9125768542289734, -0.3424304127693176, 1.0284651517868042, -0.04214150831103325, -0.10637776553630829, 0.5934539437294006, -0.19002288579940796, 0.45702439546585083, 0.037887219339609146, -0.2860877215862274, 0.6905459761619568, -0.13296198844909668, -0.3186080753803253, -0.15556325018405914, 0.550846517086029, -1.2329245805740356, -0.8195497989654541, -0.5271244049072266, -0.5250421166419983, -0.02584305964410305, 0.08827836066484451, 0.5216108560562134, -0.09136403352022171, -0.036986302584409714, 0.12491229921579361, 0.4686446487903595, -0.5347530245780945, 0.4878758490085602, 0.5658183693885803, -0.10571577399969101, -0.4752250015735626, 0.675262451171875, 0.0461026094853878, 0.3725915849208832, 0.21934261918067932, 0.04661621153354645, -0.4213607609272003, -0.43369677662849426, -0.5288782715797424, 0.2811436057090759, -0.4780155122280121, -0.49782779812812805, -0.545810878276825, -0.36556851863861084, -0.3297981321811676, -0.07791303843259811, -0.44045308232307434, -0.4375418424606323, -0.7642912268638611, -0.40268704295158386, 0.5318769216537476, 0.8380823731422424, -0.004289387725293636, 0.6444293856620789, -0.33194029331207275, 0.19100013375282288, 0.3830397427082062, 0.17904140055179596, -0.03923151642084122, -0.7702792286872864, 0.05699276179075241, 0.1268616020679474, -0.7823851108551025, -0.6307325959205627, 0.2531856894493103, 0.2829277813434601, 0.4891645312309265, 0.4815172553062439, -0.07796884328126907, 0.797703206539154, -0.3581758737564087, 1.1349871158599854, 0.37048032879829407, -0.6846179366111755, 0.7199621796607971, -0.22638894617557526, 0.058943700045347214, 0.6484130024909973, 0.27677926421165466, -0.09443379938602448, -0.16688619554042816, -0.6494302153587341, -0.6952744126319885, 0.8232371211051941, 0.23426099121570587, 0.185810849070549, 0.052502889186143875, 0.47007253766059875, 0.05499134585261345, 0.11185229569673538, -0.8571311235427856, -0.31466105580329895, -0.266415536403656, -0.10254806280136108, -0.20774993300437927, -0.516645073890686, -0.07621300965547562, -0.3221716284751892, 0.6562979817390442, 0.04784868657588959, 0.3551078736782074, -0.1300639808177948, 0.022197311744093895, -0.10696277767419815, 0.05131391063332558, 0.7476887702941895, 0.515695333480835, -0.2615619897842407, -0.15679484605789185, 0.665619969367981, -0.6408936977386475, 0.34477975964546204, 0.010998697951436043, -0.13840682804584503, -0.3777772784233093, 0.41092365980148315, 0.9070159196853638, 0.27459949254989624, -0.7315149307250977, 0.34116166830062866, 0.13559946417808533, -0.3780471086502075, -0.4330313801765442, 0.37536969780921936, 0.08766210079193115, 0.33250921964645386, 0.26967987418174744, -0.13757935166358948, 0.09857982397079468, -0.5297832489013672, -0.1317577213048935, 0.396005243062973, 0.12465348094701767, -0.426063597202301, 1.0151923894882202, 0.3329401910305023, -0.2997170686721802, 0.5444760918617249, -0.17149563133716583, -0.37070170044898987, 0.9258583784103394, 0.6482543349266052, 0.669053852558136, -0.28496024012565613, 0.12545417249202728, 0.7318097949028015, 0.4591841995716095, -0.23831550776958466, 0.2395176887512207, -0.010600253008306026, -0.5061990022659302, -0.21451963484287262, -0.7088711261749268, -0.4843807518482208, 0.36747634410858154, -0.5857862830162048, 0.32120171189308167, -0.6478837132453918, -0.2756161093711853, -0.3292781412601471, 0.46529269218444824, -0.6880284547805786, 0.22029738128185272, 0.11541969329118729, 0.9430035948753357, -0.7387775182723999, 0.7781357765197754, 0.51059490442276, -0.5238601565361023, -0.9104858040809631, -0.30084702372550964, 0.2069879025220871, -1.2521343231201172, 0.537164032459259, 0.3877226710319519, -0.07700115442276001, 0.126945361495018, -0.768339991569519, -1.2414076328277588, 1.736890435218811, 0.47015929222106934, -0.7727987766265869, -0.01824890449643135, 0.3472980856895447, 0.4976480305194855, -0.1156032457947731, 0.4542902410030365, 0.8451192378997803, 0.5045697093009949, 0.11545288562774658, -1.0852115154266357, 0.09221190214157104, -0.35785362124443054, -0.03707808628678322, -0.19981998205184937, -1.33865487575531, 0.8304045796394348, -0.4055117666721344, -0.2453298568725586, 0.2284529209136963, 0.6510584950447083, 0.7016716003417969, 0.574308454990387, 0.36215823888778687, 0.818115234375, 0.9391312003135681, -0.026618266478180885, 1.1469029188156128, -0.371399462223053, 0.17905808985233307, 0.9088512063026428, -0.2996231019496918, 0.9902923107147217, 0.24356965720653534, -0.6022046208381653, 0.6274718046188354, 1.0377780199050903, -0.019658079370856285, 0.6033337116241455, 0.0684007927775383, -0.1860223114490509, -0.19390824437141418, -0.1881982386112213, -0.6624904274940491, 0.5273656249046326, 0.2485152930021286, -0.15293605625629425, -0.028173035010695457, -0.3428850471973419, 0.2337658405303955, -0.336184024810791, -0.016849393025040627, 0.8262572884559631, 0.17607718706130981, -0.6359261274337769, 0.9022688865661621, 0.04738751798868179, 0.8603606224060059, -0.6667011380195618, 0.08316628634929657, -0.5332278609275818, 0.002728058025240898, -0.37911486625671387, -0.7239872813224792, 0.07454544305801392, 0.37844961881637573, -0.013276447542011738, -0.11899247020483017, 0.5605283975601196, 0.043531857430934906, -0.5816228985786438, 0.3662148118019104, 0.2778025269508362, 0.3638034462928772, 0.2196645438671112, -0.7020586133003235, 0.17549239099025726, 0.09811438620090485, -0.5495527386665344, 0.3852580189704895, 0.03287997096776962, -0.06678204238414764, 0.8263423442840576, 0.7590301632881165, -0.20795556902885437, 0.14174383878707886, -0.20718508958816528, 1.0244911909103394, -0.5176571011543274, -0.1981373131275177, -0.7726595401763916, 0.5444030165672302, 0.04651036486029625, -0.7302885055541992, 0.5586175918579102, 0.6689567565917969, 0.7163689732551575, 0.2836984395980835, 0.6671724319458008, 0.08534082770347595, 0.31913405656814575, -0.5513726472854614, 0.627936840057373, -0.8002109527587891, 0.38732388615608215, 0.08272815495729446, -1.0023112297058105, -0.06462804973125458, 0.6983844041824341, -0.2496088147163391, 0.04477706924080849, 0.3879506587982178, 0.8792582750320435, 0.18178029358386993, -0.15800869464874268, 0.1362060308456421, 0.17235931754112244, 0.3571288585662842, 0.9070990085601807, 0.866702139377594, -0.6420441269874573, 0.7184368371963501, -0.3917686939239502, -0.24293985962867737, -0.2718240022659302, -0.7589256167411804, -0.9875038862228394, -0.27244964241981506, -0.25508707761764526, -0.14845921099185944, 0.06953244656324387, 0.7683088779449463, 0.5197081565856934, -0.5963125228881836, -0.3088350296020508, -0.08263193815946579, -0.08775179088115692, 0.03729494661092758, -0.16270782053470612, 0.33344367146492004, -0.11194886267185211, -0.6070788502693176, 0.5080662369728088, 0.008389577269554138, 0.1980217546224594, -0.3378485441207886, -0.27834099531173706, -0.20909281075000763, 0.1531880795955658, 0.6175156235694885, 0.29033491015434265, -0.9525038003921509, -0.239182710647583, 0.04449804127216339, -0.14361220598220825, 0.1271824985742569, 0.022961508482694626, -0.7892369627952576, 0.10839004814624786, 0.14355513453483582, 0.38643553853034973, 0.6754005551338196, 0.06249486282467842, 0.07835368067026138, -0.514024019241333, 0.4563692808151245, 0.02021644450724125, 0.15887145698070526, 0.31496861577033997, -0.43826571106910706, 0.8113293647766113, 0.15006272494792938, -0.7187121510505676, -0.961902916431427, 0.12158315628767014, -1.0720322132110596, 0.0014214444672688842, 1.412076711654663, 0.0030217422172427177, -0.12628909945487976, 0.19830967485904694, -0.21838897466659546, 0.3888554573059082, -0.40045228600502014, 0.822784960269928, 0.5866845846176147, -0.09188197553157806, -0.10763207823038101, -0.8215277194976807, 0.3553108870983124, 0.4061153829097748, -1.1170496940612793, -0.25577735900878906, 0.47103336453437805, 0.4945344924926758, -0.09322308003902435, 0.705145001411438, 0.0216972678899765, 0.24159415066242218, 0.06735558062791824, 0.10849390178918839, -0.24983347952365875, -0.158477783203125, -0.11111994087696075, -0.28447645902633667, -0.05531113222241402, -0.22440093755722046 ]
TheBloke/Llama-2-70B-fp16
TheBloke
2023-10-30T15:17:36Z
7,458
43
transformers
[ "transformers", "safetensors", "llama", "text-generation", "facebook", "meta", "pytorch", "llama-2", "en", "license:llama2", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-07-19T02:21:20Z
--- inference: false language: - en license: llama2 model_type: llama pipeline_tag: text-generation tags: - facebook - meta - pytorch - llama - llama-2 --- <!-- header start --> <div style="width: 100%;"> <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;"> </div> <div style="display: flex; justify-content: space-between; width: 100%;"> <div style="display: flex; flex-direction: column; align-items: flex-start;"> <p><a href="https://discord.gg/theblokeai">Chat & support: my new Discord server</a></p> </div> <div style="display: flex; flex-direction: column; align-items: flex-end;"> <p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p> </div> </div> <!-- header end --> # Meta's Llama 2 70B fp16 These files are fp16 format model files for [Meta's Llama 2 70B](https://huggingface.co/meta-llama/Llama-2-70b-hf). They were produced by downloading the PTH files from Meta, and then converting to HF format using the latest Transformers 4.32.0.dev0, from Git, with the Llama 2 PR included: https://github.com/huggingface/transformers/pull/24891. Command to convert was: ``` python3 /workspace/venv/pytorch2/lib/python3.10/site-packages/transformers/models/llama/convert_llama_weights_to_hf.py --input_dir /workspace/git/llama/download --model_size 70B --output_dir /workspace/process/llama-2-70b-chat/source --safe_serialization true ``` The files were saved in Safetensors format. I am uploading this repo because I initially tried to create GPTQs using the [MetaLlama 2 70B HF repo](https://huggingface.co/meta-llama/Llama-2-70b-hf), but got strange errors that suggested the weights were not correct. But converting from the PTH files using the latest `convert_llama_weights_to_hf.py` script worked fine. Many thanks to William Beauchamp from [Chai](https://chai-research.com/) for providing the hardware for merging and uploading these files! ## Repositories available * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Llama-2-70B-GPTQ) * [Original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/meta-llama/Llama-2-70b-hf) * [My fp16 conversion of the unquantised PTH model files](https://huggingface.co/TheBloke/Llama-2-70B-fp16) ## Prompt template: None ``` {prompt} ``` <!-- footer start --> ## Discord For further support, and discussions on these models and AI in general, join us at: [TheBloke AI's Discord server](https://discord.gg/theblokeai) ## Thanks, and how to contribute. Thanks to the [chirper.ai](https://chirper.ai) team! I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training. If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects. Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits. * Patreon: https://patreon.com/TheBlokeAI * Ko-Fi: https://ko-fi.com/TheBlokeAI **Special thanks to**: Luke from CarbonQuill, Aemon Algiz. **Patreon special mentions**: Space Cruiser, Nikolai Manek, Sam, Chris McCloskey, Rishabh Srivastava, Kalila, Spiking Neurons AB, Khalefa Al-Ahmad, WelcomeToTheClub, Chadd, Lone Striker, Viktor Bowallius, Edmond Seymore, Ai Maven, Chris Smitley, Dave, Alexandros Triantafyllidis, Luke @flexchar, Elle, ya boyyy, Talal Aujan, Alex , Jonathan Leane, Deep Realms, Randy H, subjectnull, Preetika Verma, Joseph William Delisle, Michael Levine, chris gileta, K, Oscar Rangel, LangChain4j, Trenton Dambrowitz, Eugene Pentland, Johann-Peter Hartmann, Femi Adebogun, Illia Dulskyi, senxiiz, Daniel P. Andersen, Sean Connelly, Artur Olbinski, RoA, Mano Prime, Derek Yates, Raven Klaugh, David Flickinger, Willem Michiel, Pieter, Willian Hasse, vamX, Luke Pendergrass, webtim, Ghost , Rainer Wilmers, Nathan LeClaire, Will Dee, Cory Kujawski, John Detwiler, Fred von Graf, biorpg, Iucharbius , Imad Khwaja, Pierre Kircher, terasurfer , Asp the Wyvern, John Villwock, theTransient, zynix , Gabriel Tamborski, Fen Risland, Gabriel Puliatti, Matthew Berman, Pyrater, SuperWojo, Stephen Murray, Karl Bernard, Ajan Kanaga, Greatston Gnanesh, Junyu Yang. Thank you to all my generous patrons and donaters! <!-- footer end --> # Original model card: Meta's Llama 2 70B # **Llama 2** Llama 2 is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. This is the repository for the 70B pretrained model, converted for the Hugging Face Transformers format. Links to other models can be found in the index at the bottom. ## Model Details *Note: Use of this model is governed by the Meta license. In order to download the model weights and tokenizer, please visit the [website](https://ai.meta.com/resources/models-and-libraries/llama-downloads/) and accept our License before requesting access here.* Meta developed and publicly released the Llama 2 family of large language models (LLMs), a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. Our fine-tuned LLMs, called Llama-2-Chat, are optimized for dialogue use cases. Llama-2-Chat models outperform open-source chat models on most benchmarks we tested, and in our human evaluations for helpfulness and safety, are on par with some popular closed-source models like ChatGPT and PaLM. **Model Developers** Meta **Variations** Llama 2 comes in a range of parameter sizes — 7B, 13B, and 70B — as well as pretrained and fine-tuned variations. **Input** Models input text only. **Output** Models generate text only. **Model Architecture** Llama 2 is an auto-regressive language model that uses an optimized transformer architecture. The tuned versions use supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) to align to human preferences for helpfulness and safety. ||Training Data|Params|Content Length|GQA|Tokens|LR| |---|---|---|---|---|---|---| |Llama 2|*A new mix of publicly available online data*|7B|4k|&#10007;|2.0T|3.0 x 10<sup>-4</sup>| |Llama 2|*A new mix of publicly available online data*|13B|4k|&#10007;|2.0T|3.0 x 10<sup>-4</sup>| |Llama 2|*A new mix of publicly available online data*|70B|4k|&#10004;|2.0T|1.5 x 10<sup>-4</sup>| *Llama 2 family of models.* Token counts refer to pretraining data only. All models are trained with a global batch-size of 4M tokens. Bigger models - 70B -- use Grouped-Query Attention (GQA) for improved inference scalability. **Model Dates** Llama 2 was trained between January 2023 and July 2023. **Status** This is a static model trained on an offline dataset. Future versions of the tuned models will be released as we improve model safety with community feedback. **License** A custom commercial license is available at: [https://ai.meta.com/resources/models-and-libraries/llama-downloads/](https://ai.meta.com/resources/models-and-libraries/llama-downloads/) ## Intended Use **Intended Use Cases** Llama 2 is intended for commercial and research use in English. Tuned models are intended for assistant-like chat, whereas pretrained models can be adapted for a variety of natural language generation tasks. To get the expected features and performance for the chat versions, a specific formatting needs to be followed, including the `INST` and `<<SYS>>` tags, `BOS` and `EOS` tokens, and the whitespaces and breaklines in between (we recommend calling `strip()` on inputs to avoid double-spaces). See our reference code in github for details: [`chat_completion`](https://github.com/facebookresearch/llama/blob/main/llama/generation.py#L212). **Out-of-scope Uses** Use in any manner that violates applicable laws or regulations (including trade compliance laws).Use in languages other than English. Use in any other way that is prohibited by the Acceptable Use Policy and Licensing Agreement for Llama 2. ## Hardware and Software **Training Factors** We used custom training libraries, Meta's Research Super Cluster, and production clusters for pretraining. Fine-tuning, annotation, and evaluation were also performed on third-party cloud compute. **Carbon Footprint** Pretraining utilized a cumulative 3.3M GPU hours of computation on hardware of type A100-80GB (TDP of 350-400W). Estimated total emissions were 539 tCO2eq, 100% of which were offset by Meta’s sustainability program. ||Time (GPU hours)|Power Consumption (W)|Carbon Emitted(tCO<sub>2</sub>eq)| |---|---|---|---| |Llama 2 7B|184320|400|31.22| |Llama 2 13B|368640|400|62.44| |Llama 2 70B|1720320|400|291.42| |Total|3311616||539.00| **CO<sub>2</sub> emissions during pretraining.** Time: total GPU time required for training each model. Power Consumption: peak power capacity per GPU device for the GPUs used adjusted for power usage efficiency. 100% of the emissions are directly offset by Meta's sustainability program, and because we are openly releasing these models, the pretraining costs do not need to be incurred by others. ## Training Data **Overview** Llama 2 was pretrained on 2 trillion tokens of data from publicly available sources. The fine-tuning data includes publicly available instruction datasets, as well as over one million new human-annotated examples. Neither the pretraining nor the fine-tuning datasets include Meta user data. **Data Freshness** The pretraining data has a cutoff of September 2022, but some tuning data is more recent, up to July 2023. ## Evaluation Results In this section, we report the results for the Llama 1 and Llama 2 models on standard academic benchmarks.For all the evaluations, we use our internal evaluations library. |Model|Size|Code|Commonsense Reasoning|World Knowledge|Reading Comprehension|Math|MMLU|BBH|AGI Eval| |---|---|---|---|---|---|---|---|---|---| |Llama 1|7B|14.1|60.8|46.2|58.5|6.95|35.1|30.3|23.9| |Llama 1|13B|18.9|66.1|52.6|62.3|10.9|46.9|37.0|33.9| |Llama 1|33B|26.0|70.0|58.4|67.6|21.4|57.8|39.8|41.7| |Llama 1|65B|30.7|70.7|60.5|68.6|30.8|63.4|43.5|47.6| |Llama 2|7B|16.8|63.9|48.9|61.3|14.6|45.3|32.6|29.3| |Llama 2|13B|24.5|66.9|55.4|65.8|28.7|54.8|39.4|39.1| |Llama 2|70B|**37.5**|**71.9**|**63.6**|**69.4**|**35.2**|**68.9**|**51.2**|**54.2**| **Overall performance on grouped academic benchmarks.** *Code:* We report the average pass@1 scores of our models on HumanEval and MBPP. *Commonsense Reasoning:* We report the average of PIQA, SIQA, HellaSwag, WinoGrande, ARC easy and challenge, OpenBookQA, and CommonsenseQA. We report 7-shot results for CommonSenseQA and 0-shot results for all other benchmarks. *World Knowledge:* We evaluate the 5-shot performance on NaturalQuestions and TriviaQA and report the average. *Reading Comprehension:* For reading comprehension, we report the 0-shot average on SQuAD, QuAC, and BoolQ. *MATH:* We report the average of the GSM8K (8 shot) and MATH (4 shot) benchmarks at top 1. |||TruthfulQA|Toxigen| |---|---|---|---| |Llama 1|7B|27.42|23.00| |Llama 1|13B|41.74|23.08| |Llama 1|33B|44.19|22.57| |Llama 1|65B|48.71|21.77| |Llama 2|7B|33.29|**21.25**| |Llama 2|13B|41.86|26.10| |Llama 2|70B|**50.18**|24.60| **Evaluation of pretrained LLMs on automatic safety benchmarks.** For TruthfulQA, we present the percentage of generations that are both truthful and informative (the higher the better). For ToxiGen, we present the percentage of toxic generations (the smaller the better). |||TruthfulQA|Toxigen| |---|---|---|---| |Llama-2-Chat|7B|57.04|**0.00**| |Llama-2-Chat|13B|62.18|**0.00**| |Llama-2-Chat|70B|**64.14**|0.01| **Evaluation of fine-tuned LLMs on different safety datasets.** Same metric definitions as above. ## Ethical Considerations and Limitations Llama 2 is a new technology that carries risks with use. Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios. For these reasons, as with all LLMs, Llama 2’s potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate, biased or other objectionable responses to user prompts. Therefore, before deploying any applications of Llama 2, developers should perform safety testing and tuning tailored to their specific applications of the model. Please see the Responsible Use Guide available at [https://ai.meta.com/llama/responsible-use-guide/](https://ai.meta.com/llama/responsible-use-guide) ## Reporting Issues Please report any software “bug,” or other problems with the models through one of the following means: - Reporting issues with the model: [github.com/facebookresearch/llama](http://github.com/facebookresearch/llama) - Reporting problematic content generated by the model: [developers.facebook.com/llama_output_feedback](http://developers.facebook.com/llama_output_feedback) - Reporting bugs and security concerns: [facebook.com/whitehat/info](http://facebook.com/whitehat/info) ## Llama Model Index |Model|Llama2|Llama2-hf|Llama2-chat|Llama2-chat-hf| |---|---|---|---|---| |7B| [Link](https://huggingface.co/llamaste/Llama-2-7b) | [Link](https://huggingface.co/llamaste/Llama-2-7b-hf) | [Link](https://huggingface.co/llamaste/Llama-2-7b-chat) | [Link](https://huggingface.co/llamaste/Llama-2-7b-chat-hf)| |13B| [Link](https://huggingface.co/llamaste/Llama-2-13b) | [Link](https://huggingface.co/llamaste/Llama-2-13b-hf) | [Link](https://huggingface.co/llamaste/Llama-2-13b-chat) | [Link](https://huggingface.co/llamaste/Llama-2-13b-hf)| |70B| [Link](https://huggingface.co/llamaste/Llama-2-70b) | [Link](https://huggingface.co/llamaste/Llama-2-70b-hf) | [Link](https://huggingface.co/llamaste/Llama-2-70b-chat) | [Link](https://huggingface.co/llamaste/Llama-2-70b-hf)|
[ -0.2792702615261078, -0.6882011890411377, 0.3020489513874054, 0.30692365765571594, -0.4483197331428528, 0.07252167910337448, -0.04902799800038338, -0.6437221765518188, 0.3187742233276367, 0.35336655378341675, -0.6938858032226562, -0.37516000866889954, -0.59218430519104, 0.20488011837005615, -0.3065788149833679, 1.1016532182693481, 0.12148328125476837, -0.34435752034187317, -0.0670979768037796, 0.1744574010372162, -0.44752079248428345, -0.38477709889411926, -0.5766860246658325, -0.5543739795684814, 0.49243924021720886, 0.2656311094760895, 0.7611806988716125, 0.6276572346687317, 0.4819933772087097, 0.3060644567012787, -0.24162262678146362, 0.2500689625740051, -0.6544684767723083, -0.15882587432861328, 0.15509483218193054, -0.46542027592658997, -0.7230378985404968, -0.027985209599137306, 0.34695255756378174, 0.13416773080825806, -0.31132248044013977, 0.30524787306785583, 0.02768077328801155, 0.4108605980873108, -0.2650013566017151, 0.2910088896751404, -0.589977502822876, -0.05045884847640991, -0.20930351316928864, 0.004272826015949249, -0.1194499284029007, -0.2127283215522766, -0.17530517280101776, -0.8974899649620056, -0.12823288142681122, 0.03054143488407135, 1.1792302131652832, 0.4990895390510559, -0.4173068702220917, 0.01676306128501892, -0.48242413997650146, 0.6967419981956482, -0.9226987957954407, 0.16760998964309692, 0.5154256820678711, 0.17947174608707428, -0.3484022617340088, -0.9765700101852417, -0.7492729425430298, -0.09888517111539841, -0.03001663088798523, 0.19951792061328888, -0.571794331073761, -0.09864010661840439, 0.05710141360759735, 0.4021455943584442, -0.47423669695854187, 0.2835859954357147, -0.4428187310695648, -0.12048478424549103, 0.7751875519752502, 0.0899607464671135, 0.23337526619434357, -0.2264321744441986, -0.37496915459632874, -0.3529985845088959, -0.7805789113044739, 0.08513955771923065, 0.40592387318611145, 0.06969060003757477, -0.7538538575172424, 0.7551820874214172, -0.1821344643831253, 0.2685892879962921, 0.2185336947441101, -0.3918490707874298, 0.2904307544231415, -0.5486156940460205, -0.27241629362106323, -0.3008420169353485, 1.0923320055007935, 0.6172717809677124, 0.09436187148094177, 0.19172453880310059, -0.08441267162561417, 0.06744726747274399, -0.016633568331599236, -0.8136472105979919, -0.16126836836338043, 0.3286363184452057, -0.5479468107223511, -0.5248175859451294, -0.3085653483867645, -0.7177625298500061, -0.3483758866786957, -0.046601325273513794, 0.17420127987861633, -0.1931396871805191, -0.5147984027862549, 0.09846095740795135, -0.11407359689474106, 0.5122455358505249, 0.38210952281951904, -0.8968247771263123, 0.11490099132061005, 0.5988622903823853, 0.6784620881080627, 0.1733112335205078, -0.26474979519844055, -0.1411515474319458, 0.1292766034603119, -0.2689301073551178, 0.7660795450210571, -0.32046574354171753, -0.4863545000553131, -0.17553246021270752, 0.12011916190385818, 0.1970340758562088, -0.4151017963886261, 0.3920615315437317, -0.3362838923931122, 0.16488410532474518, -0.26700645685195923, -0.24863781034946442, -0.23162785172462463, 0.13115110993385315, -0.4619286358356476, 1.1526856422424316, 0.31102442741394043, -0.5900631546974182, 0.0922803282737732, -0.5395477414131165, -0.2620486617088318, -0.03836800903081894, 0.08041084557771683, -0.4611380696296692, -0.13153745234012604, 0.17734135687351227, 0.29626163840293884, -0.6120495796203613, 0.42142781615257263, -0.2563900649547577, -0.3286931812763214, 0.32920554280281067, -0.35753998160362244, 0.8864669799804688, 0.19483153522014618, -0.4198043942451477, 0.00010869686957448721, -0.568365752696991, -0.19793330132961273, 0.5798853635787964, -0.5000723004341125, 0.2458093911409378, 0.07417216151952744, 0.08503153920173645, 0.0797375738620758, 0.4838246703147888, -0.33961477875709534, 0.2879708707332611, -0.36515453457832336, 0.6686397194862366, 0.8191429376602173, -0.09809178858995438, 0.23835445940494537, -0.5157203674316406, 0.45495492219924927, -0.10556355118751526, 0.34015607833862305, 0.08212733268737793, -0.8277308940887451, -0.955887496471405, -0.22750447690486908, 0.09059178084135056, 0.6417271494865417, -0.48917677998542786, 0.6513264775276184, -0.137833833694458, -0.7598849534988403, -0.5115696787834167, 0.15034253895282745, 0.41826143860816956, 0.32985442876815796, 0.3711513876914978, -0.35528042912483215, -0.6596836447715759, -0.8696050047874451, 0.14998593926429749, -0.6091797947883606, -0.12967103719711304, 0.41874316334724426, 0.5917240381240845, -0.5874401926994324, 0.6610962748527527, -0.4288212060928345, -0.37278589606285095, -0.39013996720314026, -0.22000184655189514, 0.23311448097229004, 0.46732625365257263, 0.6571176052093506, -0.5264450311660767, -0.2537241578102112, 0.052090033888816833, -0.7343942523002625, -0.1326589435338974, -0.0013558261562138796, -0.26966699957847595, 0.2105291485786438, 0.12464695423841476, -0.9460013508796692, 0.4285401999950409, 0.713408350944519, -0.34811413288116455, 0.3955521583557129, -0.021639158949255943, -0.13286839425563812, -1.1306473016738892, 0.05183815583586693, -0.07978858798742294, -0.15477478504180908, -0.558516263961792, -0.06346461176872253, -0.3062737286090851, 0.06273708492517471, -0.4157249629497528, 0.6041867733001709, -0.2796003818511963, -0.016294503584504128, -0.11955230683088303, 0.0575333796441555, 0.0978633388876915, 0.5836902856826782, -0.2073727548122406, 0.8249738216400146, 0.3831043243408203, -0.4654678702354431, 0.4482780396938324, 0.6165927052497864, -0.2613282799720764, 0.182440847158432, -0.9952053427696228, 0.30943071842193604, 0.010360224172472954, 0.6349764466285706, -1.0588332414627075, -0.4671286642551422, 0.6999821662902832, -0.607698380947113, 0.2802208364009857, -0.12503905594348907, -0.5572758316993713, -0.39807450771331787, -0.4186086058616638, 0.34853509068489075, 0.7858069539070129, -0.45566293597221375, 0.3952954411506653, 0.49964866042137146, -0.05672479048371315, -0.6778138875961304, -0.8449457883834839, 0.11073289066553116, -0.27581146359443665, -0.49538883566856384, 0.423406720161438, -0.11522902548313141, -0.18639476597309113, -0.12117139995098114, 0.16599801182746887, 0.02738839015364647, 0.1630108505487442, 0.35476306080818176, 0.3353348970413208, -0.09346956014633179, -0.20473366975784302, 0.17587432265281677, -0.06855049729347229, -0.042133696377277374, -0.016376903280615807, 0.7974890470504761, -0.2764776945114136, -0.19912408292293549, -0.8612962961196899, 0.08272801339626312, 0.5072285532951355, -0.221775621175766, 0.6070700287818909, 0.5680521726608276, -0.2760607600212097, 0.2342195063829422, -0.6720473170280457, -0.15606142580509186, -0.5209057927131653, 0.46417534351348877, -0.05385163798928261, -0.8930075168609619, 0.4245089292526245, 0.15849493443965912, 0.28658246994018555, 0.6109795570373535, 0.6902133822441101, -0.20370356738567352, 0.8456825613975525, 0.6752393841743469, -0.16785717010498047, 0.4968593716621399, -0.4844723343849182, 0.06681589782238007, -0.8303616046905518, -0.5422606468200684, -0.40266451239585876, -0.47733473777770996, -0.7353836894035339, -0.6482588648796082, 0.2680926024913788, 0.07861946523189545, -0.5117524266242981, 0.4496348202228546, -0.556592583656311, 0.2692413628101349, 0.38790714740753174, 0.14815884828567505, 0.23564846813678741, 0.18050484359264374, 0.2700890898704529, 0.048522431403398514, -0.566817045211792, -0.6093124151229858, 1.1816117763519287, 0.535959780216217, 0.5160224437713623, 0.2261878401041031, 0.6047688126564026, 0.12982629239559174, 0.3987427353858948, -0.6502673029899597, 0.5282130837440491, -0.07640247792005539, -0.6557919979095459, -0.1700739711523056, -0.1781301498413086, -0.9160220623016357, 0.18775641918182373, -0.1858619749546051, -0.7074663043022156, 0.24591536819934845, -0.04156242683529854, -0.27254337072372437, 0.33235689997673035, -0.4127654731273651, 0.620468258857727, -0.30791813135147095, -0.2010069489479065, -0.24080787599086761, -0.8010073304176331, 0.5681127309799194, 0.020977837964892387, 0.16977831721305847, -0.40924376249313354, -0.27194494009017944, 0.7956728339195251, -0.5381001234054565, 1.1418088674545288, -0.0018159426981583238, -0.2701027989387512, 0.6331028938293457, -0.024486737325787544, 0.5711376070976257, 0.23022732138633728, -0.050817809998989105, 0.5226818919181824, -0.030013510957360268, -0.18289296329021454, -0.2021208107471466, 0.44078636169433594, -1.2818994522094727, -0.7208929061889648, -0.30727440118789673, -0.42118480801582336, 0.2590499222278595, 0.1047205924987793, 0.3279203176498413, 0.04186103865504265, 0.03596377372741699, 0.2796989977359772, 0.31066226959228516, -0.3474578559398651, 0.5085151791572571, 0.29415467381477356, -0.1335531771183014, -0.6633293032646179, 0.7694757580757141, -0.1525457799434662, 0.1459953635931015, 0.34489670395851135, 0.08250371366739273, -0.4169895052909851, -0.28220224380493164, -0.548268735408783, 0.6236336827278137, -0.5472390055656433, -0.5355080962181091, -0.5080512166023254, -0.23116327822208405, -0.38877245783805847, 0.03536320477724075, -0.46440258622169495, -0.5046438574790955, -0.8448876142501831, -0.0429781936109066, 0.7246980667114258, 0.7281723618507385, -0.09043694287538528, 0.5629820823669434, -0.5505133271217346, 0.258501261472702, 0.27071407437324524, 0.09742061793804169, 0.0027821999974548817, -0.8525911569595337, 0.09368292987346649, 0.15843039751052856, -0.6043959259986877, -0.7520570755004883, 0.5561621785163879, 0.24132268130779266, 0.37350699305534363, 0.32703277468681335, -0.08213568478822708, 0.7933792471885681, -0.38872477412223816, 0.9608808159828186, 0.34231075644493103, -0.7861292362213135, 0.5574744939804077, -0.46850377321243286, -0.029894329607486725, 0.37825873494148254, 0.2635052800178528, -0.38681384921073914, -0.3096728026866913, -0.5988366603851318, -0.6841015219688416, 0.6843612194061279, 0.3599167764186859, 0.3679274916648865, -0.01603260077536106, 0.5230070948600769, -0.05299391597509384, 0.20774242281913757, -1.0320138931274414, -0.39641886949539185, -0.3948180377483368, -0.09909241646528244, 0.04433508217334747, -0.35168811678886414, -0.14140410721302032, -0.38529521226882935, 0.7537578344345093, -0.13764743506908417, 0.5625240206718445, 0.14464953541755676, 0.1671963930130005, -0.2870638370513916, 0.10571204870939255, 0.6296951770782471, 0.5362729430198669, -0.050592321902513504, -0.146043598651886, 0.28447672724723816, -0.4805011451244354, 0.1975579857826233, 0.13053518533706665, -0.15506985783576965, -0.23008880019187927, 0.31612831354141235, 0.8775826692581177, 0.1650993674993515, -0.6487824320793152, 0.4943649470806122, -0.0011941528646275401, -0.23978552222251892, -0.421701043844223, 0.15543115139007568, 0.28925174474716187, 0.5121166706085205, 0.34755703806877136, -0.1267843246459961, -0.10030557215213776, -0.4604572653770447, -0.09121125936508179, 0.4299700856208801, -0.029544072225689888, -0.4917832911014557, 1.0174530744552612, 0.22679780423641205, -0.37694329023361206, 0.6357841491699219, -0.08584415912628174, -0.4175706207752228, 0.8181627988815308, 0.7774538397789001, 0.7140893936157227, -0.1409747302532196, 0.2487136423587799, 0.5076509714126587, 0.4159715175628662, -0.0852045938372612, 0.2242005616426468, 0.01020791381597519, -0.5566467046737671, -0.32439491152763367, -0.6946439146995544, -0.40782856941223145, 0.3364141583442688, -0.3419417440891266, 0.3878358006477356, -0.6837695837020874, -0.3453856110572815, -0.3445650637149811, 0.14862754940986633, -0.4873674213886261, -0.014239707961678505, 0.2306639850139618, 0.7136656045913696, -0.6272960305213928, 0.7710270881652832, 0.5483886003494263, -0.5190465450286865, -0.8745328783988953, -0.20413626730442047, 0.11513713747262955, -0.9608333706855774, 0.4225819408893585, 0.16077245771884918, 0.047702282667160034, 0.11877508461475372, -0.8290727138519287, -1.1116739511489868, 1.5579372644424438, 0.35242974758148193, -0.6017454862594604, -0.12800940871238708, 0.27175164222717285, 0.5335819125175476, -0.27794981002807617, 0.372475266456604, 0.6618822813034058, 0.5157166719436646, 0.08265204727649689, -1.0739386081695557, 0.21595226228237152, -0.38907328248023987, 0.102714903652668, -0.14365075528621674, -1.251389503479004, 0.8617911338806152, -0.31008556485176086, -0.149605393409729, 0.43155932426452637, 0.7703664302825928, 0.6430971622467041, 0.17428959906101227, 0.3889245092868805, 0.5582472681999207, 0.7316032648086548, -0.13443227112293243, 1.0634493827819824, -0.2373301237821579, 0.3155377507209778, 0.5923958420753479, -0.18711529672145844, 0.8754479885101318, 0.3264447748661041, -0.581406831741333, 0.637566864490509, 0.8620665669441223, -0.2287803590297699, 0.37732768058776855, 0.004154983442276716, -0.13695377111434937, -0.1575089544057846, -0.36409541964530945, -0.6663282513618469, 0.507560133934021, 0.33490461111068726, -0.18905694782733917, 0.07690615206956863, -0.3759138584136963, 0.21805274486541748, -0.34141016006469727, 0.040432173758745193, 0.6943989992141724, 0.29239970445632935, -0.4415322244167328, 1.0018489360809326, 0.11131629347801208, 0.8734235167503357, -0.6399472951889038, -0.04723925516009331, -0.5214070081710815, 0.08230053633451462, -0.2728710174560547, -0.6501553654670715, 0.040749721229076385, 0.14769060909748077, -0.026888545602560043, -0.10710453242063522, 0.6357030272483826, -0.1432809978723526, -0.4822520911693573, 0.43781280517578125, 0.29896196722984314, 0.32232484221458435, 0.22615276277065277, -0.7701460719108582, 0.3723592162132263, 0.14533859491348267, -0.4464936852455139, 0.4036388397216797, 0.20966050028800964, 0.04507208243012428, 0.7889298796653748, 0.7535579800605774, -0.17960618436336517, -0.0327649749815464, -0.11239705234766006, 1.046419620513916, -0.42657992243766785, -0.2047506719827652, -0.8135281801223755, 0.6227515339851379, 0.17906011641025543, -0.48000794649124146, 0.4855183959007263, 0.39951658248901367, 0.7090465426445007, -0.024930546060204506, 0.628494918346405, -0.22664840519428253, 0.1686791330575943, -0.28614485263824463, 0.8434615731239319, -0.8550423383712769, 0.3057001233100891, -0.17215873301029205, -0.8016840219497681, -0.17656391859054565, 0.6728119850158691, 0.12156950682401657, 0.05666910484433174, 0.276958167552948, 0.8782606720924377, 0.17037150263786316, -0.15641091763973236, 0.08499401062726974, 0.302748441696167, 0.4655686020851135, 0.851970374584198, 0.9916711449623108, -0.772265613079071, 0.8569087982177734, -0.4337936341762543, -0.1401432454586029, -0.30030357837677, -0.7330326437950134, -0.8627241849899292, -0.4180440902709961, -0.2728695571422577, -0.31166592240333557, -0.04875665530562401, 0.8730695843696594, 0.5275802612304688, -0.5105327367782593, -0.45199352502822876, 0.0030805470887571573, 0.12132439017295837, 0.014689145609736443, -0.19432413578033447, 0.16532264649868011, 0.1485757827758789, -0.7113136053085327, 0.48486465215682983, 0.0383128821849823, 0.4155944883823395, -0.1614258885383606, -0.25166428089141846, -0.29865723848342896, -0.012883421033620834, 0.5568482875823975, 0.3921114206314087, -0.9938839077949524, -0.2081504762172699, -0.013361135497689247, -0.08841557055711746, 0.23908179998397827, 0.24767912924289703, -0.7055647373199463, -0.08895904570817947, 0.3672080636024475, 0.4006039500236511, 0.5583730936050415, 0.020673872902989388, 0.24014516174793243, -0.5028157830238342, 0.3940296769142151, 0.016605786979198456, 0.28398820757865906, 0.36618173122406006, -0.4572826027870178, 0.6783305406570435, 0.30357250571250916, -0.6813296675682068, -0.9410367012023926, -0.009825097396969795, -1.070906162261963, -0.11849654465913773, 1.254608154296875, 0.09501180797815323, -0.25289541482925415, 0.15693794190883636, -0.29440292716026306, 0.5176228880882263, -0.482986181974411, 0.6250280737876892, 0.39723294973373413, -0.06066235527396202, -0.24392345547676086, -0.5917258262634277, 0.4120357632637024, 0.3136156499385834, -0.8869720697402954, -0.00343082076869905, 0.521931529045105, 0.3800688683986664, 0.13599559664726257, 0.7940903306007385, -0.07614423334598541, 0.30242225527763367, -0.0706649050116539, 0.105003722012043, -0.08891279995441437, -0.18707162141799927, -0.22369831800460815, -0.21085971593856812, -0.03902570158243179, -0.03775019198656082 ]
KoboldAI/OPT-13B-Nerybus-Mix
KoboldAI
2023-03-09T06:53:39Z
7,455
27
transformers
[ "transformers", "pytorch", "opt", "text-generation", "en", "arxiv:2205.01068", "license:other", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-02-13T06:32:16Z
--- language: en license: other commercial: no inference: false --- # OPT 13B - Nerybus Mix ## Model description This is a merged (50/50) model of both Erebus 13B and Nerys V2 13B by Mr. Seeker. **Warning: THIS model is NOT suitable for use by minors. The model will output X-rated content.** ## Information: For more information, check out the two source models: - https://huggingface.co/KoboldAI/OPT-13B-Erebus - https://huggingface.co/KoboldAI/OPT-13B-Nerys-v2 ## Limitations and biases Based on known problems with NLP technology, potential relevant factors include bias (gender, profession, race and religion). **Warning: This model has a very strong NSFW bias!** ### License OPT-13B is licensed under the OPT-175B license, Copyright (c) Meta Platforms, Inc. All Rights Reserved. ### BibTeX entry and citation info ``` @misc{zhang2022opt, title={OPT: Open Pre-trained Transformer Language Models}, author={Susan Zhang and Stephen Roller and Naman Goyal and Mikel Artetxe and Moya Chen and Shuohui Chen and Christopher Dewan and Mona Diab and Xian Li and Xi Victoria Lin and Todor Mihaylov and Myle Ott and Sam Shleifer and Kurt Shuster and Daniel Simig and Punit Singh Koura and Anjali Sridhar and Tianlu Wang and Luke Zettlemoyer}, year={2022}, eprint={2205.01068}, archivePrefix={arXiv}, primaryClass={cs.CL} } ```
[ -0.5016774535179138, -0.7441772818565369, -0.10532313585281372, 0.5098509788513184, -0.2341124266386032, -0.17220136523246765, -0.27313849329948425, -0.7250834107398987, 0.5466285943984985, 0.6617612242698669, -1.0174223184585571, -0.28301236033439636, -0.5709791779518127, 0.05604487657546997, -0.5597212314605713, 0.6263645887374878, 0.24021129310131073, 0.35015037655830383, 0.202464297413826, 0.18797734379768372, -0.545199990272522, -0.33098703622817993, -0.7447814345359802, -0.40195590257644653, 0.14049376547336578, 0.5632598400115967, 0.8132991194725037, 0.18819259107112885, 0.808872640132904, 0.30359846353530884, -0.5046532154083252, 0.05061912164092064, -0.7875457406044006, -0.22044995427131653, -0.19673378765583038, -0.20514120161533356, -0.8261406421661377, -0.04081262648105621, 0.5362348556518555, 0.6696775555610657, -0.27165746688842773, 0.1869642287492752, -0.01145147904753685, 0.26864680647850037, -0.3475324511528015, -0.37048715353012085, -0.5112976431846619, -0.03533003106713295, -0.11876598745584488, 0.028275560587644577, -0.9155343770980835, -0.37599143385887146, 0.20640785992145538, -0.3595196306705475, 0.15272274613380432, 0.3804616928100586, 1.4392248392105103, 0.26161184906959534, -0.32338330149650574, -0.1642070859670639, -0.6145575642585754, 0.9225113987922668, -1.1217265129089355, 0.6014989614486694, 0.3156770169734955, 0.363447368144989, -0.07378996908664703, -0.7871966361999512, -0.29474011063575745, -0.2303851842880249, -0.2934427857398987, 0.2951102554798126, -0.5534766912460327, -0.21142059564590454, -0.07774180173873901, 0.5763139724731445, -0.7015625238418579, 0.18571822345256805, -0.961240828037262, -0.13873687386512756, 0.37423473596572876, 0.16014206409454346, 0.4560514986515045, -0.37921926379203796, -0.3796882927417755, -0.304891973733902, -0.5831920504570007, -0.3597809970378876, 0.5799825191497803, 0.5031622648239136, -0.5633195638656616, 0.7731795907020569, -0.01253107562661171, 1.0007843971252441, 0.45900774002075195, 0.16138505935668945, 0.5558443665504456, -0.35792025923728943, -0.5192313194274902, 0.024124668911099434, 0.7135714292526245, 0.3776579201221466, 0.13913869857788086, -0.06309285759925842, 0.048147670924663544, -0.0035406656097620726, 0.40689682960510254, -0.9498195052146912, -0.17235182225704193, -0.07250427454710007, -0.8268688321113586, -0.5305623412132263, 0.20499145984649658, -1.0134717226028442, -0.06117349490523338, -0.2596731185913086, 0.25607192516326904, -0.5678274631500244, -0.678366482257843, 0.2898653745651245, 0.31415584683418274, 0.676070511341095, -0.015098528005182743, -0.7722897529602051, 0.6301130652427673, 0.12073369324207306, 0.5644122362136841, -0.12532877922058105, -0.32682397961616516, 0.23097532987594604, -0.12326741963624954, -0.4924790859222412, 0.5476934909820557, -0.5521714687347412, -0.36374276876449585, -0.057875555008649826, 0.4230542480945587, -0.14032770693302155, -0.7584272623062134, 0.9254091382026672, -0.43106549978256226, 0.5630708932876587, 0.19088345766067505, -0.2674959897994995, -0.36609509587287903, 0.0011277180165052414, -0.8994032144546509, 1.300374984741211, 0.19723650813102722, -0.8068526387214661, 0.44019192457199097, -0.3516358733177185, -0.27334943413734436, 0.08550861477851868, 0.10307108610868454, -0.3514631986618042, 0.3463781774044037, -0.026125572621822357, 0.2543591856956482, -0.30961859226226807, 0.43937060236930847, -0.3789133131504059, -0.2442464828491211, 0.07088795304298401, -0.44766008853912354, 0.9988269805908203, 0.15409111976623535, -0.304061621427536, 0.059672750532627106, -1.0770273208618164, 0.015101847238838673, 0.3146764636039734, -0.15128149092197418, -0.14010299742221832, -0.31103700399398804, 0.428757905960083, 0.42171385884284973, 0.3892960548400879, -0.5501998066902161, -0.2003852128982544, -0.42232605814933777, 0.21073685586452484, 0.6014732122421265, -0.1855403035879135, 0.5848600268363953, -0.24039395153522491, 0.7401946187019348, -0.07612056285142899, 0.4027433693408966, 0.2944706976413727, -0.401798814535141, -1.19975745677948, -0.10464735329151154, 0.22371362149715424, 0.5025961399078369, -0.2946699857711792, 0.6777886152267456, 0.020508430898189545, -1.1141246557235718, -0.6906207799911499, -0.31226879358291626, 0.17087601125240326, 0.02263912558555603, 0.6332367062568665, 0.011531206779181957, -1.0171386003494263, -1.0481207370758057, -0.14005377888679504, -0.24204371869564056, 0.3576338291168213, 0.5089482665061951, 0.43085572123527527, -0.5254667401313782, 0.6935068368911743, -0.48675569891929626, -0.37609830498695374, -0.7293990254402161, -0.17591729760169983, 0.5062130093574524, 0.6898813247680664, 0.8668379783630371, -0.5836756229400635, -0.3937895596027374, -0.05156540498137474, -0.6035236716270447, -0.4813157021999359, 0.009862069971859455, -0.4884108304977417, 0.018300464376807213, 0.59590083360672, -0.11384808272123337, 0.6121216416358948, 0.9136239290237427, -0.6188094615936279, 0.4742020070552826, -0.08670821785926819, -0.060643427073955536, -1.3685753345489502, -0.10605180263519287, 0.035277824848890305, -0.19643999636173248, -0.5198895335197449, -0.023814832791686058, 0.297115296125412, -0.029715172946453094, -0.6342476010322571, 0.45804208517074585, -0.6198630928993225, 0.22411011159420013, -0.3968585729598999, -0.008047591894865036, -0.25064507126808167, 0.2145157903432846, 0.22861376404762268, 0.36407601833343506, 0.7357295751571655, -0.6061845421791077, 0.29185745120048523, 0.4659358859062195, -0.12751555442810059, 0.5515177249908447, -1.0084130764007568, -0.13235467672348022, 0.012228948064148426, -0.0691772848367691, -0.7895455956459045, -0.3385334014892578, 0.25840792059898376, -0.7391572594642639, 0.5129027366638184, 0.09267367422580719, -0.36564674973487854, -0.5376843214035034, 0.0694783478975296, 0.1691582202911377, 0.6635670065879822, -0.6273616552352905, 1.0251916646957397, 0.052182313054800034, 0.0049177128821611404, -0.5339823961257935, -1.3088977336883545, -0.23182518780231476, -0.29642167687416077, -0.9630686044692993, 0.6214739680290222, 0.05665402486920357, 0.038404081016778946, 0.36563846468925476, -0.18475934863090515, -0.47149983048439026, -0.29793381690979004, 0.33336400985717773, 0.6628158092498779, -0.15553441643714905, -0.30867061018943787, 0.26549968123435974, -0.27801963686943054, -0.0334046296775341, 0.21212173998355865, 0.8219930529594421, -0.21236802637577057, -0.2777194380760193, -0.3903915584087372, 0.16963085532188416, 0.48580414056777954, -0.18913815915584564, 1.2190505266189575, 0.8168562054634094, -0.6311101317405701, -0.1926872879266739, -0.6009364128112793, -0.40124383568763733, -0.5215120315551758, 0.5591148734092712, -0.1598692238330841, -0.807287871837616, 0.4689936935901642, 0.11538460850715637, 0.017436880618333817, 0.7841964364051819, 0.5967627763748169, 0.37576234340667725, 0.6140204668045044, 1.0804061889648438, 0.2708474397659302, 0.5738520622253418, -0.3372611701488495, 0.532321572303772, -0.7615785598754883, -0.712503969669342, -0.6130229830741882, -0.37030839920043945, -0.4692029654979706, -0.17674219608306885, -0.338529109954834, 0.015981649979948997, -0.2825109362602234, 0.9339874982833862, -0.6287360787391663, 0.3986745774745941, 0.6094664931297302, 0.21668602526187897, 0.10136044770479202, -0.048383187502622604, -0.06980418413877487, -0.24833786487579346, -0.7071361541748047, -0.5320816040039062, 0.9438021779060364, 0.4006687104701996, 1.3723591566085815, 0.4325312376022339, 0.7805361151695251, -0.24065792560577393, 0.06596662849187851, -0.5055881142616272, 0.7474885582923889, -0.19536304473876953, -1.3436745405197144, -0.0061366138979792595, -0.3763678967952728, -0.6826056838035583, 0.2593667805194855, -0.2922285199165344, -0.5861968398094177, 0.5399940013885498, -0.06426192075014114, -0.17711570858955383, 0.19376756250858307, -0.9323244690895081, 0.9968024492263794, -0.17720752954483032, -0.21877562999725342, -0.20011386275291443, -0.5689501762390137, 0.3615988790988922, 0.06480909883975983, 0.12564919888973236, 0.17004120349884033, 0.2702089846134186, 0.9245965480804443, -0.2723254859447479, 0.927625298500061, 0.18663330376148224, 0.16201816499233246, 0.34881487488746643, 0.11933593451976776, 0.2366001456975937, 0.10025209933519363, 0.2506667673587799, 0.04176904633641243, -0.2607554495334625, -0.24303393065929413, 0.01890832558274269, 0.8291084170341492, -0.9455387592315674, 0.017795724794268608, -0.6573708653450012, -0.08979915082454681, 0.3147653341293335, 0.48336488008499146, 0.6918911933898926, 0.7384855151176453, -0.20306514203548431, 0.6124901175498962, 0.503495991230011, -0.4793664515018463, 0.5162284970283508, 0.7860801815986633, -0.5384640693664551, -0.6526246666908264, 0.6308748126029968, -0.018018031492829323, 0.4917212426662445, 0.15494045615196228, -0.08542124927043915, -0.3105066418647766, -0.3460816740989685, 0.1030857190489769, 0.5904723405838013, -0.6045416593551636, -0.17187459766864777, -0.6997448801994324, -0.4210856854915619, -0.47763070464134216, -0.23565901815891266, -0.5877365469932556, -0.07014049589633942, -0.5662267208099365, -0.3452126085758209, 0.167397141456604, 0.7786137461662292, -0.4296257793903351, 0.584575891494751, -0.4634828269481659, 0.19279909133911133, -0.04219687357544899, 0.2971583604812622, -0.026953592896461487, -1.1038081645965576, -0.2178274244070053, -0.2051575779914856, -0.3645024001598358, -1.3191285133361816, 0.6583747267723083, -0.08835458010435104, 0.7517690062522888, 0.4635378122329712, 0.010137349367141724, 0.6879990100860596, -0.3418324589729309, 0.7748320698738098, 0.26950395107269287, -0.8828622102737427, 0.2587655484676361, -0.029917975887656212, 0.012181971222162247, 0.6424837112426758, 0.3426397740840912, -0.37675580382347107, -0.31445902585983276, -0.8480345010757446, -1.084191083908081, 1.1678681373596191, 0.3943691849708557, 0.15194031596183777, -0.13410454988479614, -0.3059352934360504, 0.11129826307296753, 0.06256275624036789, -1.4424409866333008, -0.6622792482376099, -0.2918514311313629, -0.22925372421741486, 0.22048836946487427, -0.5745657086372375, 0.2753463387489319, -0.27733728289604187, 1.1997153759002686, 0.3461492657661438, 0.44747230410575867, 0.038251861929893494, -0.2826637029647827, -0.10691540688276291, 0.16210372745990753, 0.46206164360046387, 0.5971812009811401, -0.7442975044250488, 0.011082800105214119, 0.22627076506614685, -0.7223142981529236, -0.07978720217943192, 0.1853163093328476, -0.2394787073135376, 0.2652519941329956, 0.23945781588554382, 0.9407346844673157, 0.4425254166126251, -0.43003225326538086, 0.32512661814689636, -0.04628262668848038, -0.3060435354709625, -0.5678808689117432, -0.4717894494533539, 0.2103370875120163, 0.27747705578804016, 0.19877061247825623, 0.270428329706192, 0.045588307082653046, -0.2883482277393341, 0.031315818428993225, 0.0159983541816473, -0.6009537577629089, -0.3300971984863281, 0.6265340447425842, 0.12168866395950317, -0.29807189106941223, 0.6654784679412842, -0.4371439218521118, -0.21050626039505005, 0.5111402869224548, 1.0230027437210083, 0.9526726603507996, -0.4070684611797333, 0.23436453938484192, 0.6484969854354858, 1.012521743774414, 0.09768850356340408, 0.5002413392066956, 0.7810267806053162, -0.7749699354171753, -0.5873175859451294, -0.4826950132846832, -0.20246779918670654, 0.33514946699142456, -1.0044883489608765, 0.8574576377868652, -0.0993819609284401, -0.32863110303878784, -0.184206023812294, -0.33510756492614746, -0.5073966979980469, 0.4128935933113098, 0.26652970910072327, 1.1245232820510864, -1.0644481182098389, 0.36348655819892883, 0.9698902368545532, -0.3927476406097412, -1.0323537588119507, -0.37766215205192566, -0.23501722514629364, -0.609013557434082, 0.49319273233413696, 0.2768857777118683, 0.0558382011950016, 0.04860982671380043, -0.6606425642967224, -1.1505610942840576, 0.9090235233306885, 0.26598745584487915, -0.4929672181606293, -0.2884334623813629, -0.3315643072128296, 0.32078859210014343, -0.25011926889419556, 0.6881298422813416, 0.501197338104248, 0.5549414753913879, 0.29336029291152954, -0.9084312915802002, -0.2585996389389038, -0.2706451117992401, -0.18177619576454163, 0.17616328597068787, -0.6783152222633362, 1.0809634923934937, -0.1159663274884224, -0.2097058892250061, 0.1565491259098053, 0.7295975089073181, 0.2752004563808441, 0.1606251746416092, 0.19625858962535858, 0.8642972707748413, 0.3242509961128235, -0.22707010805606842, 0.6400598883628845, -0.40174898505210876, 0.6973709464073181, 1.3264421224594116, 0.006317093502730131, 0.6333186030387878, 0.5102378726005554, -0.34204813838005066, 0.6725956201553345, 0.8011605739593506, -0.05645470693707466, 0.7159531116485596, -0.13825663924217224, 0.45324236154556274, -0.40173467993736267, 0.01866181381046772, -0.8581864833831787, 0.12440431118011475, 0.24388693273067474, -0.5534100532531738, -0.3113671541213989, -0.25580260157585144, 0.21237626671791077, 0.06304852664470673, -0.07305335998535156, 0.4654074013233185, 0.14282166957855225, -0.18924042582511902, 0.5482783317565918, 0.11975834518671036, 0.958054780960083, -0.6925023198127747, 0.24544882774353027, -0.0444771945476532, 0.17918799817562103, -0.36240917444229126, -0.5123263597488403, 0.3901054561138153, -0.06707331538200378, -0.15354636311531067, -0.029127156361937523, 0.8620292544364929, -0.2536431550979614, -0.8254035115242004, 0.6661888360977173, 0.550183892250061, 0.15109460055828094, 0.26251527667045593, -0.6869215369224548, 0.13781316578388214, 0.24129895865917206, -0.28778064250946045, -0.1609455794095993, 0.300759494304657, 0.3581945300102234, 0.6076206564903259, 0.36999496817588806, 0.046251263469457626, 0.6735506057739258, 0.06156930327415466, 0.8666245937347412, -0.5883300304412842, -0.3829299509525299, -0.7909127473831177, 0.37548214197158813, -0.26797494292259216, -0.5477466583251953, 0.8315032124519348, 0.6265918612480164, 1.0428848266601562, -0.3698748052120209, 0.5419464707374573, -0.5037338137626648, 0.6627005934715271, -0.22390815615653992, 0.4510829448699951, -0.5955397486686707, -0.29363107681274414, -0.4925481677055359, -1.4428170919418335, -0.034270744770765305, 1.0303850173950195, -0.25683754682540894, 0.274688720703125, 1.0160964727401733, 0.874997615814209, -0.15322048962116241, 0.0833701342344284, 0.22961781919002533, 0.4096507132053375, 0.05657185614109039, 0.622248649597168, 1.0789192914962769, -0.5046681761741638, 0.6095343828201294, -0.4097708761692047, -0.32507550716400146, -0.5086864233016968, -0.7599111795425415, -1.3056045770645142, -0.1939312219619751, -0.2585335075855255, -0.4165833294391632, -0.32225319743156433, 0.8764997720718384, 0.8021895289421082, -0.6799988150596619, -0.24312619864940643, -0.2579326629638672, -0.27405497431755066, -0.18522492051124573, -0.24032381176948547, 0.026185734197497368, 0.12926959991455078, -0.8087489008903503, 0.45939698815345764, 0.039304934442043304, 0.601739227771759, -0.17120173573493958, -0.12147687375545502, -0.2137029767036438, 0.2351202666759491, 0.10371564328670502, -0.1625768393278122, -0.7133766412734985, 0.343298077583313, 0.5572835206985474, -0.05634147673845291, -0.35434451699256897, 0.20148907601833344, -0.5214653015136719, 0.17924457788467407, 0.5542900562286377, 0.21235890686511993, 0.35374775528907776, -0.11347098648548126, 0.33021026849746704, -0.3018318712711334, 0.3531726896762848, 0.17471759021282196, 0.5118501782417297, 0.2784164845943451, -0.01697647199034691, 0.6959772706031799, 0.10508909821510315, -0.5511810779571533, -1.1544157266616821, 0.19743111729621887, -1.3176971673965454, -0.09581279009580612, 1.4131243228912354, 0.19206245243549347, -0.09001299738883972, 0.44653943181037903, -0.4824354648590088, 0.15391480922698975, -0.45329833030700684, -0.030699780210852623, 0.7567519545555115, 0.5430504083633423, -0.20174364745616913, -0.5230144262313843, -0.005813985597342253, 0.40940597653388977, -0.674717366695404, -0.370572566986084, 0.38622456789016724, 0.03478484973311424, 0.16954727470874786, 0.16141808032989502, -0.42547619342803955, 0.1696656346321106, 0.07308229804039001, 0.4201613962650299, -0.040321361273527145, -0.6063291430473328, -0.05378807708621025, -0.20862005650997162, -0.03208686038851738, -0.016007428988814354 ]
xlm-mlm-en-2048
null
2023-01-24T14:50:04Z
7,454
0
transformers
[ "transformers", "pytorch", "tf", "xlm", "fill-mask", "exbert", "en", "arxiv:1901.07291", "arxiv:1911.02116", "arxiv:1910.09700", "license:cc-by-nc-4.0", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
fill-mask
2022-03-02T23:29:04Z
--- language: en tags: - exbert license: cc-by-nc-4.0 --- # xlm-mlm-en-2048 # Table of Contents 1. [Model Details](#model-details) 2. [Uses](#uses) 3. [Bias, Risks, and Limitations](#bias-risks-and-limitations) 4. [Training](#training) 5. [Evaluation](#evaluation) 6. [Environmental Impact](#environmental-impact) 7. [Citation](#citation) 8. [Model Card Authors](#model-card-authors) 9. [How To Get Started With the Model](#how-to-get-started-with-the-model) # Model Details The XLM model was proposed in [Cross-lingual Language Model Pretraining](https://arxiv.org/abs/1901.07291) by Guillaume Lample and Alexis Conneau. It’s a transformer pretrained with either a causal language modeling (CLM) objective (next token prediction), a masked language modeling (MLM) objective (BERT-like), or a Translation Language Modeling (TLM) object (extension of BERT’s MLM to multiple language inputs). This model is trained with a masked language modeling objective on English text. ## Model Description - **Developed by:** Researchers affiliated with Facebook AI, see [associated paper](https://arxiv.org/abs/1901.07291) and [GitHub Repo](https://github.com/facebookresearch/XLM) - **Model type:** Language model - **Language(s) (NLP):** English - **License:** CC-BY-NC-4.0 - **Related Models:** Other [XLM models](https://huggingface.co/models?sort=downloads&search=xlm) - **Resources for more information:** - [Cross-lingual Language Model Pretraining](https://arxiv.org/abs/1901.07291) by Guillaume Lample and Alexis Conneau (2019) - [Unsupervised Cross-lingual Representation Learning at Scale](https://arxiv.org/pdf/1911.02116.pdf) by Conneau et al. (2020) - [GitHub Repo](https://github.com/facebookresearch/XLM) - [Hugging Face XLM docs](https://huggingface.co/docs/transformers/model_doc/xlm) # Uses ## Direct Use The model is a language model. The model can be used for masked language modeling. ## Downstream Use To learn more about this task and potential downstream uses, see the Hugging Face [fill mask docs](https://huggingface.co/tasks/fill-mask) and the [Hugging Face Multilingual Models for Inference](https://huggingface.co/docs/transformers/v4.20.1/en/multilingual#xlm-with-language-embeddings) docs. Also see the [associated paper](https://arxiv.org/abs/1901.07291). ## Out-of-Scope Use The model should not be used to intentionally create hostile or alienating environments for people. # Bias, Risks, and Limitations Significant research has explored bias and fairness issues with language models (see, e.g., [Sheng et al. (2021)](https://aclanthology.org/2021.acl-long.330.pdf) and [Bender et al. (2021)](https://dl.acm.org/doi/pdf/10.1145/3442188.3445922)). ## Recommendations Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. # Training More information needed. See the [associated GitHub Repo](https://github.com/facebookresearch/XLM). # Evaluation More information needed. See the [associated GitHub Repo](https://github.com/facebookresearch/XLM). # Environmental Impact Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700). - **Hardware Type:** More information needed - **Hours used:** More information needed - **Cloud Provider:** More information needed - **Compute Region:** More information needed - **Carbon Emitted:** More information needed # Citation **BibTeX:** ```bibtex @article{lample2019cross, title={Cross-lingual language model pretraining}, author={Lample, Guillaume and Conneau, Alexis}, journal={arXiv preprint arXiv:1901.07291}, year={2019} } ``` **APA:** - Lample, G., & Conneau, A. (2019). Cross-lingual language model pretraining. arXiv preprint arXiv:1901.07291. # Model Card Authors This model card was written by the team at Hugging Face. # How to Get Started with the Model Use the code below to get started with the model. See the [Hugging Face XLM docs](https://huggingface.co/docs/transformers/model_doc/xlm) for more examples. ```python from transformers import XLMTokenizer, XLMModel import torch tokenizer = XLMTokenizer.from_pretrained("xlm-mlm-en-2048") model = XLMModel.from_pretrained("xlm-mlm-en-2048") inputs = tokenizer("Hello, my dog is cute", return_tensors="pt") outputs = model(**inputs) last_hidden_states = outputs.last_hidden_state ``` <a href="https://huggingface.co/exbert/?model=xlm-mlm-en-2048"> <img width="300px" src="https://cdn-media.huggingface.co/exbert/button.png"> </a>
[ -0.40399324893951416, -0.6201741695404053, 0.21258185803890228, 0.3414407968521118, -0.04717379808425903, -0.03326255455613136, -0.3039073944091797, -0.5355430841445923, 0.11747176945209503, 0.6035676002502441, -0.6300451755523682, -0.5085753798484802, -0.7472118735313416, -0.05139373987913132, -0.29384806752204895, 0.9600988626480103, -0.21236595511436462, 0.2041889727115631, -0.03437439724802971, -0.09246615320444107, -0.19416987895965576, -0.697856068611145, -0.6997854709625244, -0.31483960151672363, 0.35702240467071533, -0.03435662388801575, 0.6435040235519409, 0.44990506768226624, 0.08481211215257645, 0.37897253036499023, -0.13957151770591736, -0.1107395812869072, -0.5266589522361755, -0.5124325156211853, 0.10363945364952087, -0.35474732518196106, -0.5383023619651794, 0.3567334711551666, 0.7707406878471375, 0.8544830083847046, -0.011018901132047176, 0.17375490069389343, 0.08602599799633026, 0.5155335068702698, -0.29610738158226013, 0.27937090396881104, -0.4862082302570343, 0.23178063333034515, -0.03754433989524841, 0.26143303513526917, -0.4148128628730774, -0.13618682324886322, 0.09713290631771088, -0.4385480284690857, -0.06449467688798904, 0.1632692515850067, 1.22209894657135, 0.03140871971845627, -0.2642354965209961, -0.15552924573421478, -0.5520816445350647, 0.9359944462776184, -0.8507017493247986, 0.7558343410491943, 0.3728552758693695, 0.10826371610164642, 0.25690436363220215, -0.8454686403274536, -0.6298549771308899, -0.2754238545894623, -0.3390362560749054, 0.09423945099115372, -0.3765953481197357, -0.10507981479167938, 0.37149539589881897, 0.23912587761878967, -0.5507084727287292, 0.038713470101356506, -0.3325824737548828, -0.2850467264652252, 0.6414214372634888, -0.12472860515117645, 0.584543764591217, -0.1719031184911728, -0.4220421016216278, -0.19160611927509308, -0.5486406087875366, 0.2738407254219055, 0.4815061092376709, 0.42098525166511536, -0.5464152097702026, 0.4117617607116699, 0.0953146442770958, 0.5577675104141235, 0.12460489571094513, -0.003809833200648427, 0.5941799879074097, -0.46872052550315857, -0.23714067041873932, -0.0741649717092514, 0.976763129234314, 0.20086002349853516, 0.17506904900074005, -0.08336208760738373, -0.26762667298316956, -0.11779315769672394, 0.048114269971847534, -0.9590774178504944, -0.05506322160363197, 0.2631394863128662, -0.4687916040420532, -0.22462859749794006, 0.06362450122833252, -0.4905194044113159, 0.20134428143501282, -0.4027131199836731, 0.5673314332962036, -0.30058950185775757, -0.5123658180236816, 0.10618651658296585, 0.2509203553199768, 0.13762062788009644, -0.03883582726120949, -0.5499998927116394, 0.319253534078598, 0.3752119243144989, 0.7323980331420898, -0.0779329314827919, -0.295559823513031, -0.40906253457069397, -0.25618118047714233, -0.15643233060836792, 0.39260298013687134, -0.3796140253543854, -0.2238778918981552, 0.01752535253763199, 0.43615877628326416, -0.18274915218353271, -0.4531095325946808, 0.3533876836299896, -0.41311192512512207, 0.5288023352622986, -0.10375417768955231, -0.5143895149230957, -0.29236316680908203, 0.0952783077955246, -0.739020824432373, 1.1060171127319336, 0.27560219168663025, -0.6810726523399353, 0.12231635302305222, -0.660912036895752, -0.26449939608573914, -0.09843627363443375, 0.039789021015167236, -0.7346220016479492, -0.30251699686050415, 0.17880958318710327, 0.46092256903648376, 0.050649456679821014, 0.34480246901512146, -0.26420432329177856, -0.02718426287174225, 0.05973362550139427, 0.032864440232515335, 1.2472819089889526, 0.25256383419036865, -0.592650294303894, 0.19454292953014374, -0.5286775231361389, 0.045969363301992416, 0.19027070701122284, -0.06181195378303528, -0.14818540215492249, -0.3223482668399811, 0.2663114666938782, 0.6505647301673889, 0.2854553461074829, -0.4145215153694153, -0.2278958559036255, -0.37267357110977173, 0.233977809548378, 0.692595362663269, -0.46722617745399475, 0.4990307688713074, -0.24776431918144226, 0.6243689656257629, 0.2884381115436554, 0.2303105890750885, -0.24248404800891876, -0.48785701394081116, -0.7830485105514526, -0.08181119710206985, 0.3720986545085907, 0.5489155054092407, -0.6366841197013855, 0.5831423997879028, -0.08834052830934525, -0.6085004806518555, -0.5978766083717346, 0.338296115398407, 0.7077360153198242, 0.4052855372428894, 0.35981616377830505, -0.3714304566383362, -0.6586137413978577, -0.7640083432197571, -0.26708611845970154, 0.016974885016679764, 0.07658489793539047, 0.4134973883628845, 0.5502712726593018, -0.562613308429718, 0.8424902558326721, -0.34992656111717224, -0.26392751932144165, -0.4573022425174713, -0.00215382338501513, 0.08747529983520508, 0.5912635922431946, 0.756945013999939, -0.8487643599510193, -0.7556030750274658, -0.12136702984571457, -0.6787145733833313, -0.23151960968971252, 0.07863279432058334, -0.24279609322547913, 0.5260574817657471, 0.6055676341056824, -0.567972719669342, 0.26915374398231506, 0.8959660530090332, -0.41919276118278503, 0.558619499206543, 0.08567650616168976, -0.1845514327287674, -1.1721303462982178, 0.23172380030155182, 0.19861143827438354, -0.3988858461380005, -0.7269720435142517, -0.02931041456758976, 0.05886919051408768, -0.26226213574409485, -0.7193641066551208, 0.9354676604270935, -0.521269679069519, 0.14606140553951263, -0.15275761485099792, 0.2282302975654602, 0.005347053986042738, 0.7636922001838684, 0.306209534406662, 0.26898205280303955, 0.680785059928894, -0.5247953534126282, 0.048208799213171005, 0.17231422662734985, -0.2756781280040741, 0.2695944011211395, -0.6905699372291565, 0.11714939773082733, -0.009772169403731823, 0.3184026777744293, -0.5518752932548523, 0.15090778470039368, 0.4273034632205963, -0.43095406889915466, 0.6248376369476318, 0.12412947416305542, -0.460850328207016, -0.36466071009635925, -0.2155095934867859, 0.41453778743743896, 0.6139087080955505, -0.49638432264328003, 0.7470366358757019, 0.5466973185539246, -0.1491263061761856, -0.7318084239959717, -0.5853331089019775, -0.029191402718424797, -0.17997892200946808, -0.6354670524597168, 0.5041361451148987, -0.2893220782279968, -0.08032634854316711, 0.16345736384391785, 0.09754794836044312, 0.07207784801721573, -0.043826889246702194, 0.16273562610149384, 0.21367254853248596, -0.08166059106588364, -0.15279138088226318, -0.18255051970481873, -0.2423046976327896, 0.14281560480594635, -0.2358700931072235, 0.514552116394043, -0.27244216203689575, -0.08370662480592728, -0.3817136287689209, 0.34346163272857666, 0.12743262946605682, -0.1646725833415985, 0.8794707655906677, 0.9613680839538574, -0.6387462615966797, -0.16173364222049713, -0.541549801826477, -0.3101787567138672, -0.46868354082107544, 0.570457398891449, -0.11683402210474014, -0.9639650583267212, 0.6292369961738586, 0.07762958854436874, -0.054441843181848526, 0.4745810329914093, 0.6168664693832397, 0.2228056639432907, 1.0786826610565186, 1.0618784427642822, -0.13651041686534882, 0.5857603549957275, -0.4023529589176178, 0.5083045959472656, -0.6976127624511719, -0.2921614944934845, -0.44936203956604004, -0.07351431995630264, -0.7258927822113037, -0.45010828971862793, -0.005962616764008999, 0.17020130157470703, -0.29022976756095886, 0.678525984287262, -0.300506591796875, 0.04901101067662239, 0.5300207734107971, 0.0348518006503582, 0.09302683174610138, -0.12488587200641632, -0.4195736348628998, -0.11578716337680817, -0.6662148237228394, -0.5252692103385925, 0.8518282175064087, 0.6026386022567749, 0.6179273724555969, -0.10739371180534363, 0.5376862287521362, -0.08823499083518982, 0.48466724157333374, -0.5101137161254883, 0.5531113743782043, -0.09477195143699646, -0.787169337272644, -0.2725907266139984, -0.6935122013092041, -0.9586554169654846, 0.14803993701934814, -0.1514652818441391, -0.7924028635025024, 0.048568036407232285, 0.08507353067398071, -0.19075524806976318, 0.4848449230194092, -0.7678769826889038, 1.1871705055236816, -0.49882322549819946, -0.26802241802215576, 0.13928470015525818, -0.7385502457618713, 0.436917245388031, -0.45051127672195435, 0.42752549052238464, -0.043080221861600876, 0.12188572436571121, 0.8415313959121704, -0.5029048323631287, 1.0451387166976929, -0.20007936656475067, -0.16791047155857086, 0.13125240802764893, -0.2524073123931885, 0.40907639265060425, -0.19670282304286957, 0.0005418358487077057, 0.7307137250900269, -0.06363545358181, -0.33185720443725586, -0.4392582178115845, 0.6202046275138855, -0.9483799338340759, -0.4585016667842865, -0.3405972123146057, -0.532227098941803, 0.025125011801719666, 0.4456029534339905, 0.2284465879201889, 0.15603122115135193, -0.12445814907550812, 0.021926898509263992, 0.5342974066734314, -0.8331035375595093, 0.28319624066352844, 0.5738381743431091, -0.6320835947990417, -0.27416542172431946, 0.8491570949554443, 0.19353777170181274, 0.45442962646484375, 0.48819294571876526, 0.21816979348659515, -0.4366859495639801, -0.04926581308245659, -0.185635045170784, 0.4425126910209656, -0.6910436153411865, -0.035032253712415695, -1.011336326599121, -0.5281729698181152, -0.6966158747673035, -0.02603144198656082, -0.5164473652839661, -0.21359597146511078, -0.16992934048175812, -0.1608608365058899, 0.1064441055059433, 0.4907502233982086, -0.2880038321018219, 0.20842251181602478, -0.6837608814239502, 0.288945734500885, 0.20191527903079987, 0.4034005105495453, -0.04646353796124458, -0.5391578674316406, -0.5699218511581421, 0.29040536284446716, -0.37186968326568604, -0.5507348775863647, 0.6167446374893188, 0.030837098136544228, 0.8205329775810242, 0.4128270447254181, 0.017426295205950737, 0.47579994797706604, -0.500407874584198, 0.7051088213920593, 0.29028311371803284, -1.0272177457809448, 0.32934942841529846, 0.017471814528107643, 0.2877773940563202, 0.12220233678817749, 0.7597008943557739, -0.6403803825378418, -0.48606905341148376, -0.6806466579437256, -0.90644770860672, 0.9355759620666504, 0.3396366834640503, 0.3999005854129791, 0.14620435237884521, 0.09152767807245255, -0.0024919183924794197, 0.2355314940214157, -1.3988027572631836, -0.6343926787376404, -0.3281744122505188, -0.1345294713973999, -0.37248221039772034, -0.15510043501853943, 0.07325171679258347, -0.45422491431236267, 0.980857789516449, 0.0019938310142606497, 0.40557435154914856, -0.013728773221373558, -0.3437674343585968, -0.22574852406978607, -0.11562167853116989, 0.5969219207763672, 0.38909512758255005, -0.29946383833885193, 0.04152170941233635, 0.22146664559841156, -0.3951745331287384, -0.0723232701420784, 0.424474835395813, -0.13992464542388916, 0.1892542541027069, 0.2415652871131897, 1.0874508619308472, 0.3140752911567688, -0.6157541871070862, 0.5759272575378418, -0.029879027977585793, -0.17093928158283234, -0.3414534628391266, -0.2628237307071686, 0.35651907324790955, 0.03651168569922447, 0.1954554170370102, -0.07632384449243546, -0.19824837148189545, -0.5243832468986511, 0.30104437470436096, 0.5339006781578064, -0.6436892151832581, -0.4225216507911682, 0.8843778371810913, 0.15836498141288757, -0.32510268688201904, 0.4232313334941864, -0.21389028429985046, -0.8773025870323181, 0.6089728474617004, 0.46866464614868164, 1.0069706439971924, -0.4029580056667328, 0.1689690202474594, 0.6262421011924744, 0.5529104471206665, 0.12027265131473541, -0.04846630245447159, 0.06962865591049194, -0.9542894959449768, -0.41438165307044983, -0.7817562818527222, -0.1707620620727539, 0.31192612648010254, -0.3869514763355255, 0.5096689462661743, -0.11905737221240997, -0.08392893522977829, -0.06492960453033447, 0.21219009160995483, -0.8784089684486389, 0.27553054690361023, 0.29591283202171326, 0.8494341969490051, -0.9170204401016235, 0.7708228230476379, 0.558020830154419, -0.5547556281089783, -1.0312646627426147, -0.22968992590904236, -0.012271860614418983, -0.916043221950531, 0.8130775094032288, 0.4891895353794098, 0.04918765649199486, 0.002413489855825901, -0.5906585454940796, -0.8240169882774353, 0.8716063499450684, 0.36541008949279785, -0.5484306216239929, 0.05740705132484436, 0.4569358229637146, 0.38248005509376526, -0.5220009088516235, 0.44383910298347473, 0.3087669610977173, 0.5052706003189087, -0.07225054502487183, -0.9769690632820129, 0.323930948972702, -0.4599207937717438, 0.07779664546251297, -0.11995702236890793, -0.6366395950317383, 0.9436230063438416, -0.2599601447582245, -0.30797234177589417, -0.14745968580245972, 0.4876945912837982, 0.266051709651947, 0.26600542664527893, 0.6546691060066223, 0.7427888512611389, 0.4611947238445282, 0.0008541096467524767, 1.0990737676620483, -0.6099551916122437, 0.4826446771621704, 0.9350349307060242, -0.16546283662319183, 0.6097908020019531, 0.26755860447883606, -0.19498223066329956, 0.5912047028541565, 0.8226925134658813, 0.045769259333610535, 0.3113696277141571, 0.1578742414712906, -0.04095366224646568, -0.1429058462381363, -0.12051781266927719, -0.5023472905158997, 0.09915108233690262, 0.16312335431575775, -0.543236494064331, -0.16692650318145752, 0.0784359946846962, 0.4351712763309479, -0.15074093639850616, -0.15703639388084412, 0.5068961977958679, 0.5257154107093811, -0.5783177018165588, 0.46773281693458557, 0.11177995055913925, 0.7756856083869934, -0.7030888795852661, 0.0682552307844162, -0.15977142751216888, 0.1457299143075943, -0.21048662066459656, -0.4867938160896301, 0.2788948118686676, -0.09840121120214462, -0.021546924486756325, -0.6121675372123718, 0.5371479392051697, -0.7909635901451111, -0.8157756328582764, 0.7632659673690796, 0.5191060900688171, 0.19071494042873383, -0.06255441159009933, -1.1979222297668457, 0.2014491856098175, 0.007475015241652727, -0.4793771505355835, 0.33898788690567017, 0.2725663483142853, -0.050984565168619156, 0.6441774368286133, 0.6755698919296265, -0.11130160838365555, 0.029580552130937576, 0.21248960494995117, 0.8624250888824463, -0.5714578032493591, -0.42895641922950745, -0.7444989085197449, 0.7032049894332886, 0.0484490841627121, -0.05593770369887352, 0.9401508569717407, 0.6149404048919678, 1.2655771970748901, -0.007901161909103394, 0.7412375211715698, -0.008688799105584621, 0.3361349105834961, -0.4330635368824005, 0.8583182096481323, -0.7972357273101807, 0.11720859259366989, -0.669137179851532, -1.0743647813796997, -0.2712182104587555, 0.582161009311676, -0.21653561294078827, 0.6527605056762695, 0.6901792287826538, 0.9854127764701843, -0.007923799566924572, -0.3312124013900757, 0.3846111595630646, 0.42888087034225464, 0.18805021047592163, 0.4651744067668915, 0.5233091711997986, -0.5669133067131042, 0.5507230758666992, -0.5681273341178894, -0.20830677449703217, -0.12413285672664642, -0.9928202033042908, -0.9697368741035461, -0.6949763298034668, -0.6106690168380737, -0.4780123233795166, -0.24248045682907104, 0.9233974814414978, 0.9395700097084045, -0.8021288514137268, -0.4239950478076935, 0.07542432099580765, 0.19603338837623596, -0.23798783123493195, -0.24713535606861115, 0.423063188791275, -0.28612542152404785, -0.9637329578399658, -0.101860910654068, 0.06113721430301666, 0.14523279666900635, -0.42011064291000366, -0.4662233889102936, -0.3164556622505188, 0.12021581828594208, 0.7055602073669434, 0.21830791234970093, -0.6832277178764343, -0.03272810950875282, 0.1587580442428589, -0.1984940469264984, -0.04571116343140602, 0.4453659951686859, -0.5374536514282227, 0.39828553795814514, 0.15837359428405762, 0.49736201763153076, 0.7308786511421204, -0.29279106855392456, 0.6060121655464172, -0.6494800448417664, 0.16381309926509857, -0.018423082306981087, 0.5453319549560547, 0.46928372979164124, -0.36089983582496643, 0.4446324408054352, 0.2885822355747223, -0.3927757441997528, -0.8800349235534668, 0.08826255798339844, -1.0641480684280396, -0.25869524478912354, 1.1914663314819336, -0.26524800062179565, -0.3155617117881775, 0.05189413204789162, -0.16615457832813263, 0.4040284752845764, -0.13479672372341156, 0.5623584985733032, 0.6664965152740479, 0.13912251591682434, -0.47119492292404175, -0.46243077516555786, 0.49876636266708374, 0.33535513281822205, -0.7916976809501648, -0.27649131417274475, 0.07688096165657043, 0.4089210331439972, 0.27017834782600403, 0.5927920937538147, -0.2292921096086502, -0.06976037472486496, -0.13072247803211212, 0.48954713344573975, -0.0035607556346803904, -0.019116338342428207, -0.21880052983760834, -0.28309619426727295, -0.2993500828742981, 0.11748331785202026 ]
Rajaram1996/Hubert_emotion
Rajaram1996
2022-11-19T20:10:41Z
7,445
13
transformers
[ "transformers", "pytorch", "hubert", "speech", "audio", "HUBert", "audio-classification", "endpoints_compatible", "has_space", "region:us" ]
audio-classification
2022-03-02T23:29:04Z
--- inference: true pipeline_tag: audio-classification tags: - speech - audio - HUBert --- Working example of using pretrained model to predict emotion in local audio file ``` def predict_emotion_hubert(audio_file): """ inspired by an example from https://github.com/m3hrdadfi/soxan """ from audio_models import HubertForSpeechClassification from transformers import Wav2Vec2FeatureExtractor, AutoConfig import torch.nn.functional as F import torch import numpy as np from pydub import AudioSegment model = HubertForSpeechClassification.from_pretrained("Rajaram1996/Hubert_emotion") # Downloading: 362M feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained("facebook/hubert-base-ls960") sampling_rate=16000 # defined by the model; must convert mp3 to this rate. config = AutoConfig.from_pretrained("Rajaram1996/Hubert_emotion") def speech_file_to_array(path, sampling_rate): # using torchaudio... # speech_array, _sampling_rate = torchaudio.load(path) # resampler = torchaudio.transforms.Resample(_sampling_rate, sampling_rate) # speech = resampler(speech_array).squeeze().numpy() sound = AudioSegment.from_file(path) sound = sound.set_frame_rate(sampling_rate) sound_array = np.array(sound.get_array_of_samples()) return sound_array sound_array = speech_file_to_array(audio_file, sampling_rate) inputs = feature_extractor(sound_array, sampling_rate=sampling_rate, return_tensors="pt", padding=True) inputs = {key: inputs[key].to("cpu").float() for key in inputs} with torch.no_grad(): logits = model(**inputs).logits scores = F.softmax(logits, dim=1).detach().cpu().numpy()[0] outputs = [{ "emo": config.id2label[i], "score": round(score * 100, 1)} for i, score in enumerate(scores) ] return [row for row in sorted(outputs, key=lambda x:x["score"], reverse=True) if row['score'] != '0.0%'][:2] ``` ``` result = predict_emotion_hubert("male-crying.mp3") >>> result [{'emo': 'male_sad', 'score': 91.0}, {'emo': 'male_fear', 'score': 4.8}] ```
[ -0.4064669907093048, -0.6039116382598877, 0.2241152673959732, 0.23989985883235931, -0.15047770738601685, -0.18258275091648102, -0.36838650703430176, -0.21027567982673645, 0.3384818136692047, 0.223448246717453, -0.7289177775382996, -0.5899835824966431, -0.43760672211647034, -0.1294059455394745, -0.3089343309402466, 1.115530252456665, -0.11322779953479767, 0.05571946129202843, -0.10357317328453064, -0.02587728388607502, -0.5471698641777039, -0.5194466710090637, -0.7404010891914368, -0.5032689571380615, 0.36854127049446106, 0.3552175760269165, 0.1873641163110733, 0.17881403863430023, 0.41774219274520874, 0.4624793231487274, 0.019757259637117386, -0.540242612361908, -0.43028974533081055, 0.10708131641149521, 0.4170984923839569, -0.6912800073623657, -0.5865834951400757, 0.40310531854629517, 0.40682777762413025, -0.05118029564619064, -0.3055516481399536, 0.3383384048938751, -0.17828859388828278, 0.29653531312942505, -0.3584730327129364, 0.10310999304056168, -0.42965105175971985, 0.2158438116312027, -0.10191959887742996, -0.3042864501476288, -0.222503662109375, -0.3809002637863159, 0.40582433342933655, -0.5407230257987976, 0.28636059165000916, -0.23228199779987335, 0.9591880440711975, 0.34917086362838745, -0.013429859653115273, -0.27246060967445374, -0.681523859500885, 0.8485110998153687, -1.0676939487457275, 0.14260587096214294, 0.5996928215026855, 0.27564477920532227, 0.06515248119831085, -0.8836212754249573, -0.5772315263748169, -0.013884813524782658, 0.1549915075302124, 0.42885276675224304, -0.25465822219848633, 0.09740740805864334, 0.4768984615802765, 0.47066348791122437, -0.622997522354126, -0.006056240294128656, -0.6009187698364258, -0.24100501835346222, 0.7834784388542175, -0.027742331847548485, 0.0952032208442688, -0.24967801570892334, -0.20375508069992065, -0.46790096163749695, -0.1740957647562027, 0.2958523631095886, 0.6130124926567078, 0.218185156583786, -0.42246130108833313, 0.2684190571308136, -0.21094530820846558, 0.6015549302101135, 0.22977545857429504, -0.35503488779067993, 0.9513424038887024, 0.1459096223115921, -0.29487693309783936, 0.5023046731948853, 0.9861229658126831, 0.2420274168252945, 0.3871493637561798, 0.3189438283443451, -0.36009103059768677, 0.17433258891105652, 0.056671496480703354, -0.9702696204185486, -0.7082120776176453, 0.56007981300354, -0.3992791473865509, -0.34559816122055054, -0.2426203042268753, -0.9412158727645874, -0.09054417163133621, -0.2936861217021942, 1.1484936475753784, -0.5430763363838196, -0.3984653651714325, 0.012305611744523048, -0.022268464788794518, -0.08749042451381683, -0.1367204189300537, -0.8468897342681885, 0.032988760620355606, 0.2775542140007019, 1.0760780572891235, 0.07508566975593567, -0.3052496016025543, -0.3201315701007843, -0.32304811477661133, -0.02985767275094986, 0.48323526978492737, -0.2182127982378006, -0.2868458926677704, -0.1560354381799698, -0.20675534009933472, -0.04322629049420357, -0.5342139601707458, 0.7127662897109985, -0.054634105414152145, 0.3660777807235718, 0.19850249588489532, -0.4698665738105774, -0.2614458203315735, -0.1736060231924057, -0.4634597897529602, 1.2474576234817505, 0.2016867995262146, -0.8981868028640747, 0.25006696581840515, -0.6580822467803955, -0.4392698407173157, -0.39758363366127014, 0.1145157665014267, -0.6396361589431763, 0.09838990122079849, 0.17638012766838074, 0.7578533887863159, 0.05202528461813927, 0.2133767455816269, -0.5139957070350647, -0.5567851066589355, 0.3739511966705322, -0.3258965015411377, 0.6333795189857483, 0.2879104018211365, -0.5570229887962341, 0.3182092010974884, -1.0278589725494385, 0.05569464713335037, -0.14665916562080383, -0.3080846965312958, -0.11481808125972748, -0.11578360199928284, 0.1977921426296234, 0.4749123752117157, 0.016742652282118797, -0.6123548150062561, -0.19170133769512177, -0.6336450576782227, 0.46356871724128723, 0.6872416734695435, -0.10903864353895187, 0.24768708646297455, -0.32031163573265076, 0.5227299332618713, -0.1657732129096985, -0.11118986457586288, 0.04703686758875847, -0.3974529206752777, -0.5472362637519836, -0.6441044807434082, 0.16624845564365387, 0.4754854440689087, -0.28204795718193054, 0.5726786851882935, -0.013772190548479557, -0.9027597904205322, -0.9247920513153076, -0.22783218324184418, 0.09336458891630173, 0.714388370513916, 0.5447710156440735, -0.26085421442985535, -0.9142134189605713, -0.6352561712265015, -0.07526251673698425, -0.04934552311897278, -0.32096439599990845, 0.25552812218666077, 0.3938184082508087, -0.28884661197662354, 0.9470831751823425, -0.43200409412384033, -0.33973968029022217, -0.10276218503713608, 0.6303408741950989, 0.9392538070678711, 0.8892228603363037, 0.2596537172794342, -0.6334573030471802, -0.2901929020881653, -0.4639641046524048, -0.6510290503501892, -0.3142109215259552, -0.06378602236509323, -0.09814655035734177, -0.08933671563863754, 0.2720523476600647, -0.7022188901901245, 0.45743462443351746, 0.4593939483165741, -0.20548619329929352, 0.5616344809532166, -0.21149112284183502, 0.17211294174194336, -1.1633607149124146, -0.050640981644392014, 0.06679914891719818, -0.053195253014564514, -0.7007344365119934, -0.45838168263435364, -0.36810702085494995, -0.03619548678398132, -0.5745744109153748, 0.3364015519618988, -0.15952156484127045, -0.2308882772922516, -0.27513015270233154, 0.17290647327899933, -0.25580963492393494, 0.5815064311027527, 0.15218421816825867, 0.3626192510128021, 0.8400012850761414, -0.6055026650428772, 0.6567443609237671, 0.19700893759727478, -0.5706744194030762, 0.36725202202796936, -0.7915149927139282, 0.25898414850234985, -0.09653476625680923, 0.07702215015888214, -0.89631587266922, -0.2611713707447052, 0.09554311633110046, -0.8187766075134277, 0.5760098099708557, 0.02676701918244362, -0.16691306233406067, -0.36684170365333557, -0.3041283190250397, 0.5045546293258667, 0.720586895942688, -0.4523981213569641, 0.6318956017494202, 0.4616118371486664, -0.13841821253299713, -0.40609025955200195, -0.6401509046554565, -0.5699186325073242, -0.6319950819015503, -0.6320436000823975, 0.23450544476509094, -0.08776683360338211, -0.023689469322562218, -0.17381161451339722, -0.103163942694664, 0.02493077702820301, -0.019421380013227463, 0.6305620074272156, 0.33405789732933044, -0.18382996320724487, 0.16080424189567566, -0.32144707441329956, -0.11342435330152512, 0.29353299736976624, -0.08949457854032516, 0.6470543146133423, -0.19287177920341492, 0.09749507904052734, -0.5532348155975342, 0.025210320949554443, 0.3317854106426239, -0.14622661471366882, 0.35025647282600403, 1.2082027196884155, -0.4826933443546295, -0.09938176721334457, -0.32303497195243835, -0.34830182790756226, -0.5307847857475281, 0.8318108916282654, -0.40872254967689514, -0.5935211777687073, 0.5341519713401794, -0.03386111557483673, -0.1300341635942459, 0.49139678478240967, 0.7717787027359009, -0.3574804961681366, 0.9768868088722229, 0.47829630970954895, -0.17488017678260803, 0.7363992929458618, -0.6170612573623657, 0.09139199554920197, -0.8056133389472961, -0.1866406798362732, -0.37459596991539, -0.5803079009056091, -0.6045390963554382, -0.2634410858154297, 0.3200233280658722, 0.30218714475631714, -0.4390585720539093, 0.26894286274909973, -0.5885499715805054, 0.2748120129108429, 0.6658546924591064, 0.12901218235492706, -0.4068560302257538, 0.1516839563846588, -0.030197855085134506, -0.26918864250183105, -0.5799412727355957, -0.18190789222717285, 1.2218152284622192, 0.4641339182853699, 0.8071030378341675, -0.22359764575958252, 0.993502676486969, 0.06282413750886917, 0.49232715368270874, -0.8827785849571228, 0.32957255840301514, -0.013892917893826962, -0.6327916383743286, -0.3879361152648926, -0.48581331968307495, -0.8352030515670776, 0.09013129025697708, -0.4517020583152771, -1.2041435241699219, 0.0976208820939064, 0.1805419921875, -0.4597913920879364, 0.090055450797081, -0.5773934721946716, 0.978697657585144, -0.11947982758283615, -0.31186169385910034, -0.1433582752943039, -0.4069628417491913, 0.3716953694820404, -0.22480928897857666, 0.23651692271232605, -0.4132537245750427, 0.6638205647468567, 1.3310494422912598, -0.1460641324520111, 0.5983923673629761, -0.28369468450546265, 0.23874138295650482, 0.4405022859573364, -0.05476943776011467, 0.23741288483142853, 0.055765435099601746, -0.3035654127597809, 0.1737814098596573, 0.07586870342493057, -0.09576103091239929, -0.5474217534065247, 0.7254346013069153, -1.0939360857009888, -0.35497796535491943, -0.3986714482307434, -0.5673584938049316, -0.2115572839975357, 0.0784936174750328, 0.8119373917579651, 0.7266193628311157, 0.04818175733089447, 0.12933047115802765, 0.4511362612247467, -0.16446350514888763, 0.6340149641036987, 0.16068294644355774, -0.2550502121448517, -0.7234150171279907, 1.0171501636505127, -0.08960147947072983, 0.09297282993793488, 0.20379137992858887, 0.37703949213027954, -0.4674053192138672, -0.2511445879936218, 0.057344771921634674, 0.10343614220619202, -0.656586229801178, -0.36106181144714355, -0.42246684432029724, -0.09368398040533066, -0.6275883913040161, -0.037686027586460114, -0.4494422972202301, -0.2673570215702057, -0.3842836618423462, -0.19527779519557953, 0.4934861958026886, 0.43789300322532654, -0.43161433935165405, 0.4254884719848633, -0.6555622816085815, 0.3274165689945221, 0.24683769047260284, 0.1028924509882927, -0.2067974954843521, -0.8458306789398193, -0.33085915446281433, -0.11275583505630493, -0.2511403262615204, -1.1770470142364502, 0.8592746257781982, 0.19868938624858856, 0.5129415392875671, 0.4559137523174286, 0.11105713248252869, 0.6589829325675964, -0.15951129794120789, 0.5210148692131042, 0.2972686290740967, -1.0767467021942139, 0.7035108208656311, -0.1960543990135193, 0.20751871168613434, 0.4527212977409363, 0.5167123675346375, -0.43641412258148193, -0.2792176902294159, -0.6622452735900879, -1.118360996246338, 1.1623502969741821, 0.3701913356781006, -0.03188726305961609, 0.3175126612186432, 0.2498457282781601, -0.06287459284067154, 0.2747323215007782, -0.8741236329078674, -0.35860639810562134, -0.5483269095420837, -0.4914117157459259, -0.5872411131858826, -0.003880101488903165, 0.031427159905433655, -0.5985007882118225, 1.031020998954773, 0.11860037595033646, 0.6672913432121277, 0.5333642959594727, 0.10667717456817627, -0.10655879974365234, 0.04147929698228836, 0.4670109450817108, 0.10086255520582199, -0.91825932264328, 0.03383304551243782, 0.2643800675868988, -0.5668224096298218, 0.22110846638679504, -0.037376195192337036, 0.1246115192770958, 0.2769325077533722, 0.4284704327583313, 1.19170343875885, 0.23656301200389862, -0.3072965145111084, 0.3841749429702759, -0.09248089045286179, -0.14611555635929108, -0.6223184466362, -0.039553359150886536, 0.17174774408340454, 0.300977498292923, 0.15843544900417328, 0.23415778577327728, 0.06361304968595505, -0.4764983654022217, 0.30783703923225403, 0.06666344404220581, -0.505399227142334, -0.5102997422218323, 0.8267861604690552, 0.04330211877822876, -0.4641171097755432, 0.661734402179718, 0.045951616019010544, -0.6657646298408508, 0.6762297749519348, 0.570773184299469, 1.1777275800704956, -0.38737019896507263, 0.11039164662361145, 0.7712236642837524, 0.014173890464007854, -0.09884107112884521, 0.4752925932407379, -0.17313744127750397, -0.7463065981864929, -0.29219216108322144, -0.9072391986846924, -0.1401839256286621, 0.3609611988067627, -0.8436594605445862, 0.35180896520614624, -0.38189613819122314, -0.48704633116722107, 0.10361108183860779, 0.04264406859874725, -0.7558596730232239, 0.5323075652122498, 0.35995638370513916, 0.7932555079460144, -0.9274267554283142, 1.1113911867141724, 0.5747007727622986, -0.25596556067466736, -1.2580187320709229, -0.14456802606582642, -0.10770478844642639, -0.37660855054855347, 0.5941407680511475, 0.37345585227012634, -0.026604540646076202, 0.08814746141433716, -0.44912227988243103, -0.9597166180610657, 1.0877737998962402, 0.3582647442817688, -0.4707517623901367, 0.26149964332580566, -0.15567009150981903, 0.5881137847900391, -0.47069457173347473, 0.6139163374900818, 0.8645697236061096, 0.410888671875, 0.0010262447176501155, -0.7403913140296936, -0.054794762283563614, -0.27899760007858276, -0.3901829421520233, 0.027374107390642166, -0.30241620540618896, 1.4089351892471313, -0.20381934940814972, -0.00047019560588523746, -0.08277416229248047, 0.8296359181404114, 0.3936019539833069, 0.5573744773864746, 0.5391198992729187, 0.5216404795646667, 0.8728615641593933, -0.18577544391155243, 0.8092201352119446, -0.24807514250278473, 0.6695454716682434, 1.0468424558639526, 0.06917322427034378, 1.1299970149993896, 0.38964954018592834, -0.3018122911453247, 0.5270127654075623, 0.845543622970581, -0.09000445157289505, 0.7893171906471252, 0.3747105896472931, -0.2664186954498291, -0.21034972369670868, 0.3846883773803711, -0.40913259983062744, 0.6700053215026855, 0.19127711653709412, -0.2220364511013031, 0.3027997314929962, 0.08481141179800034, -0.16765697300434113, -0.33940884470939636, -0.3304191827774048, 0.41084739565849304, 0.11109081655740738, -0.40862828493118286, 0.6894189119338989, -0.03475020080804825, 1.0455570220947266, -0.5328383445739746, -0.009418322704732418, 0.008973437361419201, 0.3002415895462036, -0.47255927324295044, -0.49267783761024475, 0.018422041088342667, -0.13264746963977814, -0.11096489429473877, -0.030529426410794258, 0.6670482158660889, -0.6989523768424988, -0.3835170865058899, 0.44414955377578735, 0.0998346135020256, 0.497646689414978, -0.18060719966888428, -0.6120288372039795, -0.08662144839763641, 0.09075579047203064, -0.5908507108688354, 0.1402418166399002, 0.23137079179286957, 0.45244333148002625, 0.43697401881217957, 0.5821831822395325, 0.3105376660823822, 0.22655822336673737, -0.08641707897186279, 0.5093793869018555, -0.6887115240097046, -0.6505197286605835, -0.6869698166847229, 0.4006150960922241, 0.08572012931108475, -0.5558357238769531, 0.6040763258934021, 0.47830095887184143, 0.9483592510223389, -0.2494887113571167, 0.5465182662010193, -0.04362928494811058, 0.35197362303733826, -0.5647054314613342, 0.7863498330116272, -0.5800142884254456, -0.0576292909681797, -0.5676850080490112, -0.8899009823799133, 0.1235719844698906, 1.0203384160995483, -0.3530062437057495, 0.15618620812892914, 0.46846121549606323, 0.8749642968177795, 0.018758932128548622, 0.07112453877925873, 0.32123440504074097, 0.4179799556732178, 0.0728389322757721, 0.7023536562919617, 0.6287713646888733, -0.5377514958381653, 0.48606449365615845, -0.7316868305206299, -0.1334325075149536, -0.06477803736925125, -0.5816593766212463, -0.7822194695472717, -0.6510992646217346, -0.4470362067222595, -0.478399395942688, -0.29455387592315674, 1.1336994171142578, 0.8847813010215759, -0.9972617030143738, -0.3646497428417206, 0.17676112055778503, -0.011938605457544327, -0.1532859057188034, -0.2837136685848236, 0.3971288800239563, 0.004783648997545242, -0.9040157198905945, 0.4580759108066559, -0.17267118394374847, 0.17130348086357117, 0.07108713686466217, -0.3814294636249542, -0.22454270720481873, -0.07984034717082977, 0.2568742632865906, 0.2670672535896301, -0.5004287362098694, -0.20357297360897064, -0.42615658044815063, 0.02011348307132721, 0.2758632302284241, 0.5051544308662415, -1.0168416500091553, 0.48469361662864685, 0.5818843245506287, 0.09296395629644394, 0.9766277074813843, -0.18998783826828003, 0.508245050907135, -0.748242199420929, 0.20993080735206604, 0.2883158028125763, 0.5169827342033386, 0.4792173504829407, -0.22546128928661346, 0.3662002384662628, 0.18427279591560364, -0.616558313369751, -0.8530964851379395, -0.2683664560317993, -0.9815388917922974, 0.09118439257144928, 1.0584251880645752, -0.35525545477867126, -0.27741333842277527, 0.23962333798408508, -0.3261875510215759, 0.9230197072029114, -0.5541861057281494, 0.7842822670936584, 0.45737114548683167, -0.3638148903846741, -0.023460527881979942, -0.591154158115387, 0.8232809901237488, 0.4657055735588074, -0.5729608535766602, -0.22510157525539398, 0.2211247682571411, 0.42930880188941956, 0.34082022309303284, 0.7393040657043457, 0.06294216215610504, 0.2817571461200714, 0.30982738733291626, 0.4948578476905823, -0.0944732055068016, -0.11266589164733887, -0.7190074324607849, 0.11445686966180801, -0.3183755874633789, -0.5370392203330994 ]
Yntec/Luma
Yntec
2023-07-24T23:57:10Z
7,442
3
diffusers
[ "diffusers", "stable-diffusion", "stable-diffusion-diffusers", "text-to-image", "sadxzero", "license:creativeml-openrail-m", "endpoints_compatible", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2023-07-24T21:27:52Z
--- license: creativeml-openrail-m library_name: diffusers pipeline_tag: text-to-image tags: - stable-diffusion - stable-diffusion-diffusers - diffusers - text-to-image - sadxzero --- # SXZ Luma 0.98 VAE fp16noema version. Original pages: https://civitai.com/models/25831?modelVersionId=68200
[ -0.22597576677799225, -0.0717662051320076, 0.7787688970565796, 0.2654974162578583, -0.5502452254295349, 0.01676425151526928, 0.1321457028388977, -0.0029025159310549498, 0.7650209665298462, 0.7096855044364929, -0.9981794953346252, -0.2696155309677124, -0.0704619362950325, -0.31329795718193054, -0.34683412313461304, 0.5651889443397522, -0.13175234198570251, 0.28223955631256104, -0.10658207535743713, 0.11978396773338318, 0.0692126452922821, -0.07925380021333694, -0.7891802191734314, -0.2578434646129608, 0.8310163021087646, 0.7269658446311951, 0.554358720779419, 0.1510864794254303, 0.2757626473903656, 0.17543603479862213, 0.05924808606505394, -0.35193005204200745, -0.4327990710735321, 0.06688173860311508, 0.12454275786876678, -0.3329410254955292, -0.9231178760528564, -0.5061562657356262, 0.6224666833877563, 0.1928214430809021, -0.28160741925239563, 0.2570449411869049, -0.19450564682483673, 0.6231696605682373, -0.9199813604354858, 0.05081670358777046, -0.3771876096725464, 0.13540047407150269, -0.09794675558805466, -0.3143891394138336, -0.259053111076355, -0.2571572959423065, -0.24048306047916412, -0.7751401662826538, 0.19428874552249908, -0.6880629062652588, 1.1986987590789795, 0.11550610512495041, -0.2759798765182495, -0.03498860076069832, -0.9600131511688232, 0.4722210764884949, -0.8668457269668579, 0.7009811401367188, 0.22378435730934143, 0.4589085280895233, -0.22185544669628143, -0.8162432312965393, -0.20483890175819397, 0.2962791621685028, 0.7300939559936523, 0.10240935534238815, -0.6326568126678467, -0.419026255607605, 0.40466925501823425, 0.6525089740753174, -0.4341568052768707, -0.11189460009336472, -0.9679010510444641, 0.04569932445883751, 0.889011025428772, 0.02328110858798027, 0.44910019636154175, 0.09509153664112091, -0.3900538682937622, 0.2798725366592407, -1.2416605949401855, -0.040204618126153946, 0.6562183499336243, 0.04236089810729027, -0.13764595985412598, 0.09100167453289032, -0.6215550899505615, 0.7357925772666931, 0.04708601534366608, 0.20439182221889496, 0.4815942049026489, -0.783725380897522, -0.7250299453735352, -0.0432705357670784, 0.6461957693099976, 0.5918635725975037, -0.15111054480075836, 0.012475934810936451, -0.0016693581128492951, -0.49057093262672424, 0.5293951630592346, -1.0542776584625244, 0.17325693368911743, -0.2462843358516693, -0.2406844198703766, -0.5261304378509521, 0.675218939781189, -0.6282255053520203, 0.12120717018842697, 0.06348368525505066, 0.5350064635276794, -0.4117796719074249, -0.40443021059036255, 0.31227588653564453, 0.20243796706199646, 0.47718602418899536, 0.42156773805618286, -0.8416231274604797, 0.5731772780418396, 0.49628087878227234, 0.5849870443344116, 0.5948068499565125, 0.1461002379655838, -0.051221247762441635, 0.0480167418718338, -0.4937657117843628, 0.6737523674964905, -0.15740512311458588, -0.8082401752471924, 0.27025315165519714, 0.6557841897010803, -0.007000367157161236, -0.2744472920894623, 0.9412434101104736, -0.613473653793335, -0.19851094484329224, -0.6790267825126648, -0.5199558734893799, -0.3352706730365753, -0.36561471223831177, -0.5557949542999268, 1.2374215126037598, 0.3580750524997711, -0.6201903223991394, 0.5256221294403076, -0.3761935532093048, 0.311820387840271, 0.2932796776294708, -0.19380992650985718, -0.1642858386039734, 0.42938387393951416, -0.43421995639801025, -0.06686369329690933, 0.12263191491365433, -0.3463488519191742, -0.35445526242256165, -0.7455135583877563, -0.22659526765346527, -0.29145896434783936, 1.1901148557662964, 0.3926316201686859, -0.24803997576236725, 0.6719595193862915, -0.8398513793945312, 0.05805079638957977, 0.5786890387535095, -0.04227602481842041, -0.02744019590318203, -0.2064068764448166, -0.13629259169101715, 0.6362341046333313, 0.6127132773399353, -0.5397438406944275, 0.4181422293186188, -0.4206782281398773, 0.3341800570487976, 0.5172447562217712, 0.09626388549804688, 0.20448875427246094, -0.518367350101471, 1.0217595100402832, -0.06486973911523819, 0.8339260220527649, 0.09333192557096481, -0.884714663028717, -1.1607787609100342, 0.12819641828536987, 0.3320901095867157, 0.5085950493812561, -0.6983686089515686, 0.5573588013648987, -0.31037062406539917, -1.1762908697128296, -0.24450254440307617, 0.37195345759391785, -0.0340101383626461, -0.06386314332485199, 0.04705897346138954, -0.23192638158798218, -0.1371707320213318, -1.2669962644577026, 0.1799006313085556, 0.40457236766815186, -0.2890101969242096, 0.7265385985374451, 0.3685464859008789, -0.5030773282051086, 0.45807456970214844, -0.7075111865997314, 0.04303177818655968, -0.27312541007995605, -0.30916252732276917, 0.4014245867729187, 0.12140510231256485, 1.3569351434707642, -0.5116471648216248, -0.7732313275337219, -0.15082459151744843, -0.4349468946456909, -0.5336156487464905, 0.30159828066825867, -0.1877642273902893, 0.22086788713932037, 0.6172797083854675, -0.5644168257713318, 1.2415751218795776, 0.476176381111145, -0.8248224854469299, 0.29104554653167725, -0.7154431939125061, 0.6000768542289734, -1.1365348100662231, 0.039118096232414246, 0.07620174437761307, -0.5369291305541992, -0.48876988887786865, 0.2286197543144226, 0.4895213842391968, 0.08882113546133041, -0.9751514196395874, 0.1477719396352768, -0.6193673610687256, -0.00339216529391706, -0.4089850187301636, -0.10379919409751892, 0.07044262439012527, 0.1769643872976303, -0.21869616210460663, 0.9389693737030029, 0.6523163914680481, -0.3619180917739868, 0.4952763617038727, 0.14257873594760895, -0.42074939608573914, 0.120828777551651, -0.7385340332984924, 0.07696633785963058, -0.06278853863477707, 0.1530618816614151, -0.5282237529754639, 0.02610236592590809, 0.45601367950439453, -0.3065216839313507, 0.07316295802593231, -0.20167675614356995, -0.3601151704788208, -0.2069149911403656, -0.51886385679245, 0.4486810564994812, 0.3670816421508789, -0.1636079102754593, 0.15200753509998322, 0.06053391844034195, -0.4447987377643585, -0.3609837293624878, -0.5061426162719727, 0.21974802017211914, -0.04776042327284813, -0.7994316220283508, 0.8283164501190186, -0.36154019832611084, -0.35800063610076904, -0.5464896559715271, -0.3486348092556, -0.6696787476539612, -0.11932217329740524, 0.37509411573410034, 0.13129054009914398, -0.5530868172645569, -0.37390631437301636, 0.01880350522696972, -0.22555850446224213, 0.11004012078046799, 0.6581211090087891, 0.8824381232261658, -0.07360192388296127, 0.28542518615722656, -0.5843679904937744, 0.7063770890235901, 0.567936360836029, -0.048967503011226654, 0.5084148645401001, 0.1697988361120224, -1.0360698699951172, -0.19816122949123383, -0.20957106351852417, -0.04805455356836319, -0.5166508555412292, -0.2804670035839081, -0.39773666858673096, -0.29779303073883057, 0.45274657011032104, 0.6292986273765564, -0.6571359634399414, 0.7133598923683167, 0.10867097973823547, 0.3286152184009552, 0.8638888001441956, 0.6364839673042297, 0.46485069394111633, 0.7271592020988464, -0.5133598446846008, 0.3677026927471161, -0.48737356066703796, -0.36452099680900574, -0.3347172737121582, -0.07250814884901047, -0.3307409882545471, -0.7439585328102112, 0.17907141149044037, 0.3037252128124237, -0.27030688524246216, 0.44849109649658203, -0.31596317887306213, 0.44589653611183167, 0.8129810690879822, 0.4376208186149597, 0.20521213114261627, -0.3174402415752411, 0.5032840967178345, -0.420246422290802, -0.5979573726654053, -0.4516342282295227, 0.9169338345527649, 0.07979423552751541, 0.3513025939464569, 0.40595540404319763, 0.6245662569999695, 0.2578014135360718, -0.030363352969288826, -0.6603227853775024, 0.5031039714813232, -0.26542288064956665, -0.8218068480491638, 0.2346382737159729, -0.18816204369068146, -0.9712162613868713, -0.09653262794017792, -0.6457175016403198, -0.8076108694076538, 0.2680419981479645, -0.18684250116348267, -0.7215611934661865, 0.47041958570480347, -0.43107864260673523, 1.35712730884552, -0.12800993025302887, -0.11174917221069336, -0.09889998286962509, -0.3665286898612976, 0.34482136368751526, 0.07436222583055496, -0.20348230004310608, -0.0964808240532875, -0.23771829903125763, 0.21312977373600006, -0.9487064480781555, 0.2008487582206726, -0.06638181954622269, -0.45197561383247375, 0.13555265963077545, -0.1614110767841339, 0.03340012952685356, 0.5080814361572266, -0.07007978856563568, 0.008357143960893154, 0.1290445178747177, -0.641477108001709, -0.3949701189994812, 1.197988510131836, -0.5036133527755737, -0.4621705114841461, -0.9288890957832336, 0.30253660678863525, 0.20477275550365448, 0.430162638425827, 1.0643372535705566, 0.5315700173377991, -0.4414408802986145, 0.29454857110977173, 0.8163486123085022, -0.36452338099479675, 0.8133400082588196, 0.6875371336936951, -0.7400895953178406, -0.31185629963874817, 0.6762232184410095, 0.5367202162742615, 0.11098381876945496, 0.05757724866271019, 0.17528489232063293, 0.02546178176999092, -0.5730075240135193, -0.424815833568573, 0.37650594115257263, -0.1866503208875656, -0.2968255877494812, -0.40805575251579285, -0.8785075545310974, -0.5976383686065674, -0.23844905197620392, -0.6731352210044861, -0.35527780652046204, -0.6170244216918945, -0.1107017919421196, 0.593569815158844, 1.0613394975662231, -0.05236312374472618, 0.6660245060920715, -0.6213955283164978, 0.08319801092147827, 0.6421926021575928, 0.5023656487464905, -0.8683492541313171, -0.6911653876304626, -0.030449682846665382, 0.14007435739040375, -0.7823962569236755, -1.1742463111877441, 0.5770032405853271, 0.1013609915971756, 0.28900158405303955, 0.40277159214019775, -0.11074637621641159, 0.21075300872325897, -0.43299397826194763, 1.0200105905532837, 0.22563618421554565, -1.1928836107254028, 1.1629538536071777, -0.9347373843193054, 0.5513458847999573, 0.7429285645484924, 0.5227342844009399, -0.07084805518388748, 0.4220789074897766, -1.2882596254348755, -1.2541390657424927, 0.18122002482414246, 0.07712046802043915, 0.02583485282957554, 0.31803134083747864, 0.7195883393287659, 0.44455164670944214, 0.2805064618587494, -0.6847077012062073, -0.7345426678657532, -0.3072853982448578, -0.09612751007080078, -0.19771218299865723, -0.6125094890594482, 0.41328927874565125, -0.5741241574287415, 0.7695379853248596, -0.023017723113298416, 0.4103308618068695, 0.36526739597320557, 0.11645824462175369, -0.09237910062074661, 0.1840982288122177, 1.4056053161621094, 1.2547885179519653, -0.851454496383667, -0.31704333424568176, -0.12135802954435349, -0.36489608883857727, 0.10160662978887558, 0.021630607545375824, -0.672804594039917, 0.4544235169887543, -0.2788218557834625, 1.1063319444656372, 0.9152236580848694, -0.40983331203460693, 1.3810534477233887, -0.4074000418186188, 0.07722995430231094, -0.9446470141410828, 0.4607817828655243, -0.033373452723026276, -0.05914812907576561, 0.18665370345115662, -0.017061667516827583, 0.6803898215293884, -0.4881490468978882, 0.37724897265434265, 0.11178530007600784, -0.9115399718284607, -0.5314131379127502, 0.6796289682388306, 0.21735581755638123, -0.9442521929740906, 0.3751087188720703, -0.13649964332580566, 0.062453493475914, 0.3870072662830353, 0.40224456787109375, 0.9010781645774841, -0.876546323299408, 0.5144577622413635, 0.6135182976722717, 0.052773118019104004, 0.046623412519693375, 0.9698466658592224, 0.11928406357765198, -0.3790850341320038, 0.0010972158052027225, -0.07683520764112473, -0.30510836839675903, 0.28266575932502747, -1.2785735130310059, 0.507566511631012, -0.7811615467071533, -0.21040953695774078, -0.024100851267576218, 0.20431965589523315, -0.4528915286064148, 0.6795881986618042, 0.504677951335907, 1.6969165802001953, -0.6825932860374451, 1.3672022819519043, 0.4620485305786133, -0.5783876180648804, -0.17129014432430267, -0.3129817545413971, -0.3623296916484833, -0.8961991667747498, -0.04386282339692116, 0.09551684558391571, -0.18183976411819458, -0.3225488066673279, -0.6915811896324158, -1.164594292640686, 1.2243244647979736, 0.5891874432563782, -0.7127468585968018, 0.2654193043708801, -0.3679523468017578, 0.2528954744338989, -0.5910799503326416, 0.11439847946166992, 0.3542134165763855, 0.2514236271381378, -0.3662586212158203, -0.8991396427154541, -0.09932342171669006, -0.912291944026947, -0.10161774605512619, 0.2232111096382141, -1.1274176836013794, 0.5006532669067383, 0.01885092444717884, 0.24520722031593323, 0.2675459682941437, 0.539439857006073, 0.10331784933805466, 0.16624361276626587, 0.5600414872169495, 0.7692007422447205, 0.2529253661632538, -0.26542559266090393, 0.8454599976539612, -0.26385435461997986, 0.19099019467830658, 0.9902992248535156, -0.19091588258743286, 1.2113800048828125, 0.7126558423042297, -0.10759160667657852, 0.8201270699501038, 0.9221174120903015, -0.13052603602409363, 0.6239745616912842, 0.22395996749401093, -0.7905009984970093, -0.21485081315040588, 0.23160453140735626, -0.7194747924804688, 0.5769191384315491, 0.277101993560791, -0.6374552845954895, 0.09557005763053894, -0.7193173170089722, 0.18324357271194458, 0.05276566371321678, -0.5430440306663513, 0.5841301083564758, -0.007687978912144899, -0.37049275636672974, 0.05509725585579872, -0.09886973351240158, 0.6512216329574585, -0.9132108092308044, 0.20177346467971802, -0.38523969054222107, -0.016778890043497086, -0.23260897397994995, -0.5035625100135803, 0.6296201944351196, -0.08480104804039001, -0.7090219855308533, -0.31495723128318787, 0.7561018466949463, -0.132050558924675, -1.173991322517395, 0.49684399366378784, 0.09943366050720215, -0.04316084086894989, -0.17822736501693726, -0.7980217337608337, 0.5728536248207092, 0.14970837533473969, -0.1467903107404709, 0.32871076464653015, -0.16492661833763123, 0.36366817355155945, 0.6067502498626709, 0.005591244902461767, 0.3057560622692108, 0.37989386916160583, -0.14675508439540863, 0.4760686755180359, -1.1682718992233276, -0.979083240032196, -0.42398539185523987, 0.37298181653022766, -0.5633640289306641, -0.9041224122047424, 0.869885265827179, 1.1180180311203003, 0.8733488321304321, -0.43054333329200745, 0.6713085174560547, 0.41966038942337036, 0.2175065129995346, -0.34523332118988037, 0.8637655377388, -1.1113944053649902, -0.12738443911075592, -0.05588071048259735, -1.0734868049621582, 0.06966178119182587, 1.0201680660247803, 0.4397008717060089, 0.19972243905067444, 0.21726971864700317, 0.6778510808944702, -0.09331588447093964, 0.16767480969429016, 0.6274603605270386, 0.16739611327648163, -0.04770083725452423, 0.5706017017364502, 0.5802553296089172, -1.4256491661071777, 0.1943499594926834, -0.5972900390625, -0.3957132399082184, -0.593947172164917, -1.1591843366622925, -0.20078282058238983, -0.3215295970439911, -0.8697757124900818, -0.46061792969703674, -0.2892598807811737, 0.8071682453155518, 0.8466500639915466, -0.41173237562179565, -0.004144967999309301, 0.2432408332824707, 0.06856793165206909, 0.11331088840961456, -0.25502410531044006, -0.12819960713386536, 0.5609592795372009, -0.6779214143753052, 0.9878314733505249, 0.4735533595085144, 0.30487027764320374, -0.20487457513809204, 0.09787454456090927, -0.21019168198108673, 0.5710853934288025, 0.12477774173021317, 0.46411409974098206, -0.9122148752212524, -0.24632839858531952, -0.03421182185411453, -0.10278017818927765, 0.4576165974140167, 1.0264471769332886, 0.04080016165971756, -0.11516055464744568, 0.900032103061676, -0.27891427278518677, 0.8810750842094421, -0.5378747582435608, 0.975840151309967, -0.4052938222885132, 0.3620559275150299, -0.11558692157268524, 1.0077179670333862, 0.07115039229393005, -0.18296243250370026, 0.4800342619419098, 0.330201655626297, -0.6421933770179749, -0.8577962517738342, 0.09246709197759628, -1.9005980491638184, -0.19724220037460327, 1.2824950218200684, -0.01350583415478468, -0.7172278165817261, 0.5314395427703857, -0.4662356376647949, -0.05973626300692558, -0.1437678337097168, 0.2246713489294052, 0.7694950103759766, 0.22688665986061096, -0.6060841083526611, -0.9183658957481384, 0.6273340582847595, -0.05627219378948212, -0.6885949969291687, -0.5975139141082764, 0.16531091928482056, 0.6408433318138123, -0.001605693600140512, 0.9227882027626038, -0.21729016304016113, 0.7160854935646057, 0.10384362190961838, 0.24665488302707672, 0.40018272399902344, -0.30580541491508484, -0.3960173726081848, -0.061447713524103165, -0.038431186228990555, -0.22794412076473236 ]
sociocom/MedNER-CR-JA
sociocom
2023-11-03T14:43:20Z
7,430
11
transformers
[ "transformers", "pytorch", "safetensors", "bert", "token-classification", "NER", "medical documents", "ja", "dataset:MedTxt-CR-JA-training-v2.xml", "license:cc-by-4.0", "autotrain_compatible", "endpoints_compatible", "region:us" ]
token-classification
2022-08-23T03:30:43Z
--- language: - ja license: - cc-by-4.0 tags: - NER - medical documents datasets: - MedTxt-CR-JA-training-v2.xml metrics: - NTCIR-16 Real-MedNLP subtask 1 --- This is a model for named entity recognition of Japanese medical documents. ### How to use Download the following five files and put into the same folder. - id_to_tags.pkl - key_attr.pkl - NER_medNLP.py - predict.py - text.txt (This is an input file which should be predicted, which could be changed.) You can use this model by running predict.py. ``` python3 predict.py ``` ### Input Example ``` 肥大型心筋症、心房細動に対してWF投与が開始となった。 治療経過中に非持続性心室頻拍が認められたためアミオダロンが併用となった。 ``` ### Output Example ``` <d certainty="positive">肥大型心筋症、心房細動</d>に対して<m-key state="executed">WF</m-key>投与が開始となった。 <timex3 type="med">治療経過中</timex3>に<d certainty="positive">非持続性心室頻拍</d>が認められたため<m-key state="executed">アミオダロン</m-key>が併用となった。 ``` ### Publication Tomohiro Nishiyama, Aki Ando, Mihiro Nishidani, Shuntaro Yada, Shoko Wakamiya, Eiji Aramaki: NAISTSOC at the NTCIR-16 Real-MedNLP Task, In Proceedings of the 16th NTCIR Conference on Evaluation of Information Access Technologies (NTCIR-16), pp. 330-333, 2022
[ -0.24824893474578857, -0.5098161697387695, 0.7639779448509216, 0.07717525959014893, -0.5437672138214111, -0.14784881472587585, -0.05702856183052063, -0.676673412322998, 0.49282148480415344, 0.6037909388542175, -0.7868077754974365, -0.7047836780548096, -0.5579941272735596, 0.7403849959373474, -0.13178163766860962, 0.962685763835907, -0.25839763879776, 0.39531373977661133, 0.19076399505138397, 0.08607068657875061, -0.41033875942230225, -0.22350792586803436, -1.064176082611084, -0.532586395740509, 0.5617184638977051, 0.09181944280862808, 0.5212721228599548, 0.6518362760543823, 0.9015765190124512, 0.32226240634918213, 0.09050633758306503, -0.141869455575943, 0.00007261189603013918, 0.1260097175836563, 0.048075880855321884, -0.8272516131401062, -0.529865026473999, -0.015392533503472805, 0.9244374632835388, 0.13324043154716492, -0.1328004002571106, -0.13088035583496094, -0.2632973790168762, 0.39344263076782227, -0.008641732856631279, 0.24241772294044495, -0.4248790442943573, 0.29790613055229187, -0.2625390589237213, -0.29452410340309143, -0.20312626659870148, -0.3905072808265686, 0.06235451251268387, -0.9879826903343201, 0.0846661925315857, 0.12807925045490265, 1.5370148420333862, 0.16326391696929932, -0.3460533916950226, -0.256538450717926, -0.3717480003833771, 0.5736998915672302, -0.9847015738487244, 0.09908869862556458, 0.48291125893592834, 0.5094192624092102, -0.4646197259426117, -0.8001255989074707, -0.6417198777198792, -0.06539230793714523, 0.027527721598744392, 0.21494024991989136, 0.15825839340686798, 0.07844247668981552, 0.525839626789093, 0.29033222794532776, -0.5895397663116455, -0.03718366101384163, -0.574807345867157, -0.5216535925865173, 0.5195426940917969, 0.3981633186340332, 0.8045358061790466, -0.44540101289749146, -0.18469911813735962, -0.05899737775325775, -0.40110960602760315, -0.26667284965515137, 0.1200057715177536, 0.2871542274951935, -0.31904664635658264, 0.3990859389305115, -0.19209039211273193, 0.5500391125679016, -0.09500696510076523, -0.8059831261634827, 0.4837241768836975, -0.09471753984689713, -0.1978544443845749, 0.29651281237602234, 0.984707236289978, 0.37328705191612244, 0.07042993605136871, 0.23797351121902466, -0.1965838223695755, -0.19002698361873627, 0.1984090805053711, -0.8554328083992004, -0.29331034421920776, 0.1840905398130417, -0.9298501014709473, -0.48567184805870056, -0.18302181363105774, -0.7832269668579102, -0.27235642075538635, -0.369735985994339, 0.35571470856666565, -0.859609067440033, -0.22516396641731262, 0.06807051599025726, 0.007488657720386982, 0.0906505137681961, 0.36568042635917664, -0.6006660461425781, 0.3835015892982483, 0.3054293990135193, 0.8966537117958069, -0.00900270976126194, -0.25307697057724, 0.016726655885577202, 0.22870199382305145, -0.16759778559207916, 0.6944918036460876, -0.296647846698761, -0.6657516360282898, -0.2598014175891876, 0.4250563681125641, -0.15285442769527435, -0.3614621162414551, 0.9354596138000488, -0.31579509377479553, 0.5333051681518555, -0.13336218893527985, -0.5883082747459412, -0.49560776352882385, 0.3445706069469452, -0.9328789710998535, 0.7277312874794006, 0.005429573357105255, -1.1235949993133545, 0.14347966015338898, -0.8436908721923828, -0.3536458909511566, 0.33811771869659424, -0.23598165810108185, -0.6169427633285522, -0.1096503883600235, 0.06092456728219986, 0.5000415444374084, -0.1497623324394226, 0.3997780680656433, -0.306106299161911, -0.13350965082645416, 0.4636259078979492, -0.15697871148586273, 0.9624027609825134, 0.31299272179603577, -0.0785132572054863, -0.16078084707260132, -1.2030502557754517, -0.013076863251626492, 0.5855916142463684, -0.5693656206130981, -0.618073046207428, -0.14100366830825806, 0.41625693440437317, 0.24272696673870087, 0.35682499408721924, -0.7241513729095459, 0.6080023050308228, -0.46817901730537415, 0.42957791686058044, 0.45650094747543335, 0.4502185881137848, -0.012301371432840824, -0.3074898421764374, 0.626352071762085, 0.19124916195869446, 0.11707600206136703, -0.008857015520334244, -0.7799181938171387, -0.4513750970363617, -0.22067098319530487, 0.45375049114227295, 0.46920228004455566, -0.9320894479751587, 0.23178839683532715, -0.1312100738286972, -0.7253311276435852, -0.6005969643592834, -0.5876635909080505, 0.3945158123970032, 0.7471626996994019, 0.3217466175556183, -0.09497679769992828, -0.8604800701141357, -0.8185524344444275, -0.24838681519031525, -0.15595756471157074, 0.03128349035978317, 0.310243159532547, 0.8992682695388794, -0.5683833360671997, 0.5322096347808838, -0.7703912854194641, -0.5443798899650574, -0.1989220678806305, 0.22761324048042297, 0.6740424036979675, 0.546456515789032, 0.26739567518234253, -0.9608282446861267, -0.47892341017723083, -0.11561646312475204, -0.7220705151557922, -0.019758645445108414, -0.2344312071800232, -0.023833325132727623, -0.04991621896624565, 0.1671266108751297, -0.5765482187271118, 0.2800433933734894, 0.10598735511302948, -0.3425312340259552, 0.7596467137336731, -0.2881043255329132, 0.15229834616184235, -1.891045093536377, 0.4736000895500183, 0.02964133583009243, -0.2795318067073822, -0.6300765872001648, 0.3760581612586975, 0.3450354039669037, -0.19258476793766022, -0.33108389377593994, 0.6991821527481079, -0.5664510130882263, 0.27908626198768616, -0.11511307209730148, -0.06540455669164658, -0.04022745415568352, 0.15622903406620026, 0.31653866171836853, 0.6056891679763794, 0.5942448973655701, -0.6123643517494202, 0.32638832926750183, 0.3607982397079468, -0.39534249901771545, 0.3299655020236969, -0.43043071031570435, -0.11620952934026718, -0.06353539973497391, 0.012433527037501335, -0.5164363384246826, -0.4874401390552521, 0.6050806641578674, -0.688244640827179, 0.7121889591217041, -0.06719169020652771, -0.2982008755207062, -0.30348852276802063, -0.11001501977443695, 0.245095893740654, 0.17622382938861847, -0.1913105845451355, 0.7710701823234558, 0.5995656847953796, -0.06841251254081726, -0.5858597159385681, -0.8333588242530823, 0.28767186403274536, -0.232059508562088, -0.08736095577478409, 0.5963189005851746, -0.05434809997677803, 0.18003500998020172, 0.13145028054714203, 0.20717540383338928, -0.324526846408844, 0.15195056796073914, 0.4099429249763489, 0.6443920731544495, -0.35606202483177185, -0.011226361617445946, 0.06370200216770172, -0.41890501976013184, 0.08298300951719284, -0.08658478409051895, 0.46409353613853455, 0.166913241147995, -0.11534300446510315, -0.6608545184135437, 0.2602056860923767, 0.5088029503822327, 0.11626146733760834, 0.46276065707206726, 0.6934418082237244, -0.9838480949401855, 0.10476035624742508, -0.24657832086086273, 0.019862797111272812, -0.4316911995410919, 0.44728413224220276, -0.6339811086654663, -0.48633506894111633, 0.6943618655204773, -0.19761866331100464, -0.18643350899219513, 0.8403715491294861, 0.3578733801841736, -0.021561337634921074, 1.051123023033142, 0.6853774785995483, -0.26303163170814514, 0.23642684519290924, -0.2604561150074005, 0.25472667813301086, -1.0927200317382812, -0.556840181350708, -0.7214561700820923, -0.2965679466724396, -0.6383033990859985, -0.009384206496179104, 0.302507221698761, -0.22370848059654236, 0.10163062810897827, 0.5037128925323486, -0.784271776676178, 0.388927698135376, 0.2791757583618164, 0.2648525536060333, 0.2287783920764923, -0.12805911898612976, -0.5356754064559937, -0.22638238966464996, -0.26106515526771545, -0.49681493639945984, 1.0521332025527954, 0.6094105243682861, 0.6946687698364258, 0.08878422528505325, 1.0550721883773804, -0.11974968761205673, 0.18521173298358917, -0.9455615878105164, 0.7159369587898254, -0.0871838927268982, -0.7041557431221008, -0.14907518029212952, -0.37490198016166687, -1.1954894065856934, -0.15422357618808746, -0.34494662284851074, -0.94840407371521, 0.29909414052963257, -0.3249037563800812, -0.3912673592567444, 0.4568217694759369, -0.17824053764343262, 0.7010249495506287, -0.1553681194782257, 0.26699426770210266, -0.1711985468864441, -0.6969819068908691, 0.41456079483032227, -0.1551913321018219, 0.2651813328266144, -0.2736217677593231, -0.20228400826454163, 1.1857562065124512, -0.1971592754125595, 0.6297057271003723, -0.1576990783214569, 0.25727230310440063, -0.06281907856464386, -0.030095122754573822, 0.18940380215644836, 0.17937153577804565, -0.0844263881444931, 0.33457115292549133, 0.4771295189857483, 0.013657101429998875, -0.22878588736057281, 0.8307973742485046, -0.9434360861778259, -0.12105664610862732, -0.8076894879341125, -0.3913502097129822, 0.331591933965683, 1.0619244575500488, 0.6462938189506531, 0.6342764496803284, -0.09178153425455093, 0.04049426317214966, 0.664237380027771, -0.25125259160995483, 0.3960234522819519, 0.8837634325027466, -0.4564592242240906, -0.6377708315849304, 0.8054980039596558, 0.39225348830223083, -0.24689216911792755, 0.7545491456985474, 0.30773958563804626, -0.3137226402759552, -0.5742713212966919, -0.40946316719055176, 0.6191077828407288, -0.7023842334747314, -0.335193395614624, -0.7759130597114563, -0.4519186317920685, -0.3185916244983673, 0.25551870465278625, -0.058025434613227844, -0.2942523658275604, -0.5930907130241394, 0.02979026921093464, 0.21223978698253632, 0.6527419686317444, 0.13444271683692932, 0.2025487869977951, -1.0406997203826904, 0.4334554672241211, -0.4287853538990021, 0.4255032241344452, -0.008608958683907986, -0.32799315452575684, -0.388526976108551, -0.2753365933895111, -0.22060814499855042, -1.4465595483779907, 0.9445679187774658, 0.13418933749198914, 0.702968955039978, 0.5950607061386108, -0.12318504601716995, 0.5079876780509949, -0.41382771730422974, 0.6844643354415894, 0.21470512449741364, -0.6368569135665894, 0.7167647480964661, -0.5092902183532715, 0.20820696651935577, 0.5646167397499084, 0.8302409648895264, -0.6239923238754272, -0.044644974172115326, -0.860474705696106, -0.5376615524291992, 0.9248878359794617, -0.009190229699015617, -0.28603020310401917, 0.13112160563468933, 0.6690398454666138, -0.12312464416027069, 0.11501321196556091, -0.9163356423377991, -0.4392061233520508, 0.06200721487402916, -0.6098079085350037, 0.26384392380714417, -0.274614542722702, 0.06734681874513626, -0.18769919872283936, 1.2545461654663086, -0.08519307523965836, 0.5137521624565125, 0.5689309239387512, 0.26968449354171753, -0.1881934106349945, 0.03941008448600769, 0.47704851627349854, 0.03205149993300438, -0.48016357421875, -0.1560468077659607, -0.07907045632600784, -1.1014394760131836, 0.1347593516111374, 0.08765269815921783, -0.2632714509963989, 0.47536441683769226, 0.25443488359451294, 0.7801352739334106, 0.22853676974773407, -0.41885411739349365, 0.18551434576511383, -0.5631756782531738, -0.21579284965991974, -0.5346057415008545, -0.017117850482463837, 0.056199099868535995, 0.04215738922357559, 0.21324893832206726, -0.034665364772081375, 0.4698043465614319, -0.5512264370918274, 0.012886369600892067, 0.12301808595657349, -0.14608046412467957, -0.04615921899676323, 0.6094508171081543, -0.22024843096733093, -0.5149834156036377, 0.6002864837646484, -0.28887635469436646, -0.594050943851471, 0.8467966318130493, 0.7855536341667175, 1.061246395111084, -0.5368711352348328, 0.03236699104309082, 0.9109469056129456, 0.19885027408599854, -0.20791812241077423, 0.7911662459373474, 0.23851774632930756, -0.8140442967414856, -0.007172564975917339, -0.7650582790374756, -0.363566517829895, 0.5767152905464172, -0.7361451387405396, 0.5792281627655029, -0.5842300057411194, -0.6283568143844604, 0.3953314423561096, 0.4153803288936615, -0.5399904251098633, 0.575170636177063, 0.08404592424631119, 0.9501903653144836, -0.768921971321106, 1.2524323463439941, 0.9973666071891785, -0.6806473731994629, -1.2655420303344727, 0.06350915879011154, 0.0499415323138237, -0.9223533868789673, 0.35609740018844604, 0.3198365271091461, 0.44265100359916687, 0.014071663841605186, -0.28747060894966125, -1.260058045387268, 1.128825068473816, -0.16043724119663239, -0.7288790345191956, -0.38065606355667114, -0.08342285454273224, 0.5358230471611023, -0.3757900595664978, 0.3193654716014862, 0.27806350588798523, 0.5124540328979492, -0.11367614567279816, -0.8694829940795898, 0.3901766836643219, -0.6084378361701965, 0.15097326040267944, 0.17558318376541138, -0.10560370236635208, 0.8779365420341492, -0.1643056571483612, -0.39238399267196655, 0.28760087490081787, 0.3663252592086792, 0.28514131903648376, 0.4594479203224182, 0.11812460422515869, 0.6658256649971008, 0.8050460815429688, -0.2084570825099945, 0.9378597140312195, -0.4665759205818176, 0.43218138813972473, 0.9928832054138184, 0.027889901772141457, 0.8516563773155212, 0.41080597043037415, -0.44234752655029297, 0.7515987753868103, 0.8496662974357605, -0.4914187788963318, 0.5587846040725708, -0.09916079044342041, -0.14621615409851074, 0.11229737102985382, -0.060357630252838135, -0.41755014657974243, 0.21335458755493164, 0.6611225605010986, -0.5603106617927551, -0.0419609397649765, 0.22577562928199768, 0.14161109924316406, -0.38370341062545776, -0.35208532214164734, 0.9205904603004456, 0.28884536027908325, -0.6409628987312317, 0.47075194120407104, 0.2746623754501343, 0.5064109563827515, -0.8981727361679077, -0.13564302027225494, 0.32336339354515076, 0.1629045307636261, -0.39279451966285706, -0.9089229106903076, 0.2333880066871643, -0.26446136832237244, -0.3029988706111908, 0.33823758363723755, 1.2020792961120605, -0.29139646887779236, -0.6356734037399292, 0.2960520386695862, 0.014531939290463924, 0.6355368494987488, 0.2942900061607361, -1.1731144189834595, -0.12587761878967285, 0.24508774280548096, -0.27770641446113586, 0.5549240112304688, 0.2561019957065582, 0.027118554338812828, 0.7975645065307617, 0.8060778379440308, 0.5534382462501526, -0.26315420866012573, 0.20284971594810486, 0.5985972285270691, -0.7759594321250916, -0.8395361304283142, -0.7529770135879517, 0.293876588344574, -0.17948701977729797, -0.37466761469841003, 0.4066725969314575, 0.6522964835166931, 0.5676645040512085, -0.2801375091075897, 0.8226578831672668, -0.14706088602542877, 0.7360894083976746, -0.5721051692962646, 1.0778379440307617, -0.6466060280799866, -0.1165306568145752, -0.3745947778224945, -0.4870094656944275, -0.4838533103466034, 0.7873128056526184, -0.12090077251195908, -0.21974794566631317, 0.8013930916786194, 0.734428346157074, 0.03931260481476784, 0.030523309484124184, 0.2532373368740082, 0.5502795577049255, 0.3008291721343994, 0.6498432755470276, 0.3617244362831116, -0.6324259638786316, -0.02046819031238556, -0.49454790353775024, -0.031024813652038574, -0.318096786737442, -1.008744478225708, -0.7081993818283081, -0.7712375521659851, -0.5315424203872681, -0.4481843113899231, -0.16153225302696228, 1.0402508974075317, 0.3522539436817169, -0.9669947624206543, 0.02533554658293724, -0.042069509625434875, -0.012657947838306427, -0.07994873821735382, -0.24128457903862, 0.42330455780029297, 0.10897961258888245, -0.6433413624763489, 0.3003334701061249, 0.2587828040122986, 0.4064454734325409, -0.07905711978673935, 0.017057405784726143, -0.3696043789386749, -0.19583448767662048, -0.09476322680711746, 0.34617480635643005, -0.7943700551986694, 0.18711139261722565, -0.23904500901699066, -0.352079838514328, 0.10693050175905228, 0.35189205408096313, -0.6063128709793091, 0.5781950950622559, 0.5061861276626587, 0.2962394952774048, 0.3719477951526642, -0.404634028673172, 0.39985644817352295, -0.25584474205970764, -0.16700851917266846, 0.2175578624010086, 0.8599404096603394, 0.2516831159591675, -0.7472468018531799, 0.48840993642807007, 0.5866422653198242, -0.46360117197036743, -0.8569245338439941, -0.20972011983394623, -1.0801236629486084, -0.40670230984687805, 0.8126646876335144, -0.1955026239156723, -0.4731573760509491, -0.05324412137269974, -0.6229895949363708, 0.7421121001243591, -0.48380178213119507, 0.6815334558486938, 0.5780371427536011, 0.023733602836728096, -0.16667240858078003, -0.7329672574996948, 0.5270740985870361, -0.1244615912437439, -0.767439603805542, -0.5174534916877747, 0.1132020577788353, 0.5421522855758667, 0.5155425071716309, 0.8293138742446899, -0.3510453402996063, 0.213358536362648, -0.06803856790065765, 0.3642139136791229, -0.13049128651618958, -0.10747338831424713, -0.711880624294281, 0.03771642968058586, 0.02030639350414276, -0.24578857421875 ]
852wa/SDHK
852wa
2023-06-29T23:54:37Z
7,402
5
diffusers
[ "diffusers", "endpoints_compatible", "diffusers:StableDiffusionPipeline", "region:us" ]
null
2023-06-29T23:19:49Z
Entry not found
[ -0.3227650225162506, -0.22568431496620178, 0.862226128578186, 0.43461495637893677, -0.5282987952232361, 0.7012965679168701, 0.7915717363357544, 0.07618638128042221, 0.7746025919914246, 0.2563219666481018, -0.7852817177772522, -0.22573819756507874, -0.9104480743408203, 0.5715669393539429, -0.3992334008216858, 0.5791245698928833, -0.14494505524635315, -0.10751161724328995, 0.28233757615089417, -0.2768954336643219, -0.5409224033355713, -0.36855220794677734, -1.1902776956558228, 0.061491113156080246, 0.5316578149795532, 0.7435142397880554, 0.7584060430526733, 0.3652167320251465, 0.6432578563690186, 0.3932291269302368, -0.23138920962810516, 0.4827055037021637, -0.04171813279390335, 0.00260411505587399, -0.3524433970451355, -0.5516898036003113, -0.28596609830856323, 0.07584730535745621, 1.0961304903030396, 0.966687798500061, -0.284663587808609, 0.05330817773938179, -0.3063621520996094, 0.33088892698287964, -0.49734312295913696, 0.3054099678993225, -0.022506045177578926, 0.16318801045417786, -0.7041513919830322, -0.5535354018211365, 0.012794834561645985, -0.7361212968826294, 0.17926570773124695, -0.690081000328064, 0.8269098401069641, 0.18583157658576965, 1.1533750295639038, 0.14819414913654327, -0.462487131357193, -0.8161764144897461, -0.6538989543914795, 0.5711171627044678, -0.32703715562820435, 0.39680248498916626, 0.7028235197067261, -0.048573412001132965, -0.9820332527160645, -0.6745741367340088, -0.46466192603111267, 0.2923962473869324, 0.35402774810791016, -0.3411678075790405, -0.17522086203098297, -0.3058989644050598, 0.15792037546634674, 0.12811517715454102, -0.4841994643211365, -0.5543919205665588, -0.5475160479545593, -0.3960252106189728, 0.6206658482551575, 0.3482950031757355, 0.2429177463054657, -0.1888415813446045, -0.3228583335876465, 0.0880163162946701, -0.4160851538181305, 0.3402571678161621, 0.6335517168045044, 0.7114017009735107, -0.5811444520950317, 0.560215950012207, -0.04927587881684303, 0.7439703941345215, 0.11445561796426773, -0.27478092908859253, 0.41460567712783813, -0.14724725484848022, 0.055171746760606766, 0.4226345121860504, 0.31524422764778137, 0.2841312289237976, -0.3273695111274719, 0.2032228708267212, -0.3215144872665405, -0.30496224761009216, -0.22332167625427246, -0.29490774869918823, -0.3592180609703064, 0.5492289066314697, -0.3314017057418823, -0.42855486273765564, 1.143175721168518, -0.4200771450996399, -0.7302224040031433, 0.33156412839889526, 0.4065209925174713, -0.0994480773806572, -0.37146568298339844, -0.052260834723711014, -0.8458789587020874, -0.007907390594482422, 0.7491172552108765, -0.7198970913887024, 0.3371737599372864, 0.4728063642978668, 0.7417217493057251, 0.19650575518608093, -0.14034469425678253, -0.42949390411376953, 0.2971969544887543, -0.8659994006156921, 0.6320174336433411, -0.20135220885276794, -1.0051977634429932, 0.11150479316711426, 0.8971705436706543, -0.37896400690078735, -1.2094876766204834, 1.0605159997940063, -0.6887932419776917, 0.16017857193946838, -0.676761269569397, -0.14661237597465515, -0.07118501514196396, -0.005096632521599531, -0.6088156700134277, 0.7567102313041687, 0.587267279624939, -0.4995276927947998, 0.21429483592510223, -0.26029831171035767, -0.39151400327682495, 0.38824859261512756, -0.07935450226068497, -0.21858926117420197, 0.713833212852478, -0.6647079586982727, -0.26932814717292786, 0.2942774295806885, 0.2368936538696289, -0.35706108808517456, -0.7931919097900391, 0.08478113263845444, -0.05786270648241043, 1.550750494003296, -0.03868847340345383, -0.3586106300354004, -0.679383397102356, -1.1506240367889404, -0.07070787996053696, 0.6886883974075317, -0.9194989204406738, -0.27839475870132446, -0.046410128474235535, -0.26169314980506897, 0.08994917571544647, 0.7390589714050293, -1.1194051504135132, 0.2832726836204529, -0.05092663690447807, -0.22794683277606964, 0.8271058797836304, 0.15387225151062012, 0.24758946895599365, 0.14913396537303925, 0.42958706617355347, 0.527725338935852, 0.11115207523107529, 0.683587908744812, -0.34720373153686523, -0.9694353938102722, 0.6154631972312927, 0.25266361236572266, 0.8121447563171387, -0.49945297837257385, 0.2685093879699707, 0.27025535702705383, -0.3409680724143982, -0.5682371854782104, -0.3102838397026062, 0.09025752544403076, 0.14930562674999237, 0.11142510175704956, -0.5721710324287415, -0.6576125025749207, -0.9689140319824219, -0.13590654730796814, -0.4314374029636383, -0.3571570813655853, 0.21006910502910614, 0.5792906284332275, -1.1975523233413696, 0.4128875136375427, -0.7705625891685486, -0.7038741111755371, -0.01065548975020647, -0.19338123500347137, 0.7540656328201294, 0.43240174651145935, 0.5033966898918152, -0.6397148370742798, -0.5661987066268921, -0.22470176219940186, -1.0333747863769531, -0.13280506432056427, 0.24819621443748474, 0.3065737783908844, -0.13423344492912292, -0.2744963765144348, -0.48740333318710327, 0.8100387454032898, 0.14789170026779175, -0.5391897559165955, 0.5220767259597778, -0.3020317256450653, 0.17224803566932678, -0.6369150280952454, -0.06916818022727966, -0.661676287651062, -0.0009071884560398757, -0.3608308732509613, -0.5737438797950745, 0.14772287011146545, 0.07017494738101959, -0.16065457463264465, 0.28808408975601196, -0.909277081489563, -0.0010852962732315063, -0.7442210912704468, 0.379071980714798, 0.06394772231578827, -0.3145078718662262, -0.017517540603876114, 1.0000386238098145, 0.7784460783004761, -0.3848048746585846, 0.721744179725647, 0.4440041184425354, 0.19036155939102173, 0.7630521059036255, -0.18725109100341797, 0.16478213667869568, -0.5245416760444641, -0.12161104381084442, -0.8887597918510437, -1.0982946157455444, 0.7320570349693298, -0.6114250421524048, 0.36542922258377075, -0.4277869760990143, 0.2589159905910492, -0.6919258832931519, -0.03885362669825554, 0.4808599352836609, -0.05936325341463089, -0.6863942742347717, 0.5232570171356201, 0.45317530632019043, -0.2019241601228714, -0.6609031558036804, -0.530157208442688, 0.39365822076797485, 0.6154114007949829, -0.16390392184257507, 0.06878514587879181, 0.14941060543060303, -0.5441926121711731, -0.040802597999572754, -0.38691970705986023, -0.45766758918762207, 0.054224006831645966, 0.13053473830223083, -0.005750799085944891, -0.404820054769516, -0.0868026465177536, -0.35842007398605347, -0.4656120240688324, 0.21876516938209534, 0.3011947274208069, -0.04096309468150139, -0.42599788308143616, -0.3619818687438965, -0.888181209564209, 0.6719610095024109, 0.5370282530784607, 0.05281545966863632, 0.7555549740791321, 0.16819314658641815, -0.8014987707138062, -0.13532210886478424, -0.1760706603527069, 0.2696830928325653, -0.5588056445121765, 0.13849826157093048, -0.013484534807503223, -0.0637492910027504, 0.26297882199287415, 0.25386232137680054, -0.4300556778907776, 0.9276250004768372, -0.2615274488925934, -0.3592521846294403, 0.7960181832313538, 0.5974742770195007, 0.49583131074905396, 0.16503219306468964, -0.044541798532009125, 0.900709331035614, -1.1966516971588135, -0.6563175916671753, -0.7409549355506897, -0.15945707261562347, -0.43510833382606506, -0.032105933874845505, 0.6254412531852722, 0.2900990843772888, -0.1333388388156891, 0.4756395220756531, -0.5243489742279053, 0.3556033670902252, 1.01198410987854, 0.35748639702796936, 0.3435698449611664, -0.7570229172706604, -0.2515777349472046, -0.1402427852153778, -0.9998157620429993, -0.2631377875804901, 0.8871029019355774, 0.22752606868743896, 0.844460666179657, 0.5992541313171387, 0.6784542798995972, 0.1367226243019104, 0.2523828148841858, -0.30590319633483887, 0.3920294940471649, 0.4376082420349121, -1.0401138067245483, -0.42758408188819885, 0.021418681368231773, -0.9703338742256165, -0.14227519929409027, -0.03495011106133461, -0.42617112398147583, 0.7681737542152405, 0.00016589462757110596, -0.4076709747314453, 0.7732734084129333, -0.455583393573761, 0.7562873363494873, -0.4473648965358734, -0.02663906291127205, 0.4699096083641052, -0.7070636749267578, 0.4677430987358093, 0.12878790497779846, 0.6205843091011047, -0.015572631731629372, -0.04078587517142296, 0.7104941606521606, -0.9129160046577454, 0.25438642501831055, -0.6348397135734558, 0.22421300411224365, 0.24246945977210999, 0.51606285572052, 0.5969953536987305, 0.4371243417263031, 0.10119888931512833, -0.23920902609825134, 0.04115807265043259, -0.8241125345230103, -0.210506409406662, 0.697515606880188, -0.7186890840530396, -0.6864197850227356, -1.2355337142944336, 0.14438660442829132, 0.27347055077552795, 0.389305055141449, 0.7959296107292175, 0.571408748626709, 0.1289544403553009, 0.680525004863739, 0.9888588190078735, -0.0688566341996193, 0.9166924357414246, 0.3224477171897888, 0.09175168722867966, -0.21944808959960938, 0.7036820650100708, 0.26627904176712036, -0.24707956612110138, -0.11939732730388641, 0.20913465321063995, -0.11069409549236298, -0.591761589050293, -0.49990686774253845, 0.3701757788658142, -0.6731787919998169, -0.18303893506526947, -0.6243735551834106, -0.6043769717216492, -0.511759340763092, 0.06927360594272614, -0.7147687673568726, 0.23979046940803528, -0.7753565907478333, -0.10574902594089508, 0.04323432594537735, 0.9792009592056274, -0.589311957359314, 0.5805224180221558, -1.1218582391738892, 0.19345788657665253, -0.07949887961149216, 0.7921058535575867, 0.21395787596702576, -0.7344395518302917, -0.3975418508052826, -0.11592631042003632, -0.3729911744594574, -1.3576762676239014, 0.21404948830604553, -0.2454141080379486, 0.23094046115875244, 0.6145404577255249, 0.1397707313299179, 0.5258248448371887, -0.34326282143592834, 0.7029101848602295, -0.057017259299755096, -0.7069286704063416, 0.7934495210647583, -0.5026894807815552, 0.4963534474372864, 0.9765996932983398, 0.5333835482597351, -0.7984007596969604, 0.035741209983825684, -1.041123390197754, -0.6008695363998413, 0.38426393270492554, 0.11928944289684296, -0.03601083159446716, -0.6659559011459351, -0.054019637405872345, -0.16143807768821716, 0.6043745279312134, -1.039069414138794, -0.7858356237411499, 0.2576698362827301, 0.5277302861213684, 0.0816856250166893, -0.5653398633003235, 0.20880667865276337, -0.544416069984436, 1.0657774209976196, 0.45109400153160095, 0.3274499475955963, 0.8406060934066772, 0.46492424607276917, -0.3823164403438568, 0.09252490103244781, 0.7662695050239563, 0.6666232347488403, -0.5239797830581665, -0.2908027470111847, -0.08827541768550873, -0.9143403768539429, 0.05927472561597824, 0.11168918758630753, -0.013455932028591633, 0.9082110524177551, 0.5793083310127258, 0.2539709210395813, 0.4514279365539551, -0.726460337638855, 0.8859451413154602, -0.14954176545143127, -0.12472866475582123, -1.0677239894866943, 0.1948619782924652, -0.23984959721565247, 0.5006402134895325, 1.0061326026916504, 0.5250048041343689, -0.047630298882722855, -0.8143380880355835, -0.01473585981875658, 0.6939172148704529, -0.7091123461723328, -0.17449834942817688, 0.944853663444519, 0.3847099542617798, -1.2953051328659058, 1.106776475906372, -0.5381771326065063, -0.560332179069519, 0.9121301770210266, 0.522956907749176, 1.1221847534179688, -0.44204121828079224, 0.0008676342549733818, 0.2662237286567688, 0.41378432512283325, 0.5423170328140259, 1.0869629383087158, 0.431413471698761, -0.7931063771247864, 0.8826584815979004, -0.24776044487953186, -0.40361151099205017, -0.05347571521997452, -0.42859897017478943, 0.16892178356647491, -0.4406192898750305, -0.10713007301092148, -0.3444187641143799, 0.28543180227279663, -0.7072042226791382, 0.42807620763778687, -0.0838567465543747, 0.8653068542480469, -0.8553727269172668, 0.47207626700401306, 0.635470449924469, -0.3337355852127075, -0.8508191108703613, -0.26198428869247437, -0.11448462307453156, -0.6389466524124146, 0.30214807391166687, -0.4554102420806885, 0.044398851692676544, 0.09623463451862335, -0.649151623249054, -1.1778275966644287, 0.9093633890151978, -0.639612078666687, -0.2784462869167328, 0.20464053750038147, -0.11514760553836823, 0.28811705112457275, -0.2524643540382385, 0.010661216452717781, 0.41876548528671265, 0.748940110206604, 0.2844654619693756, -0.7727053761482239, -0.3694884479045868, 0.0015032943338155746, -0.44474777579307556, 0.7582978010177612, -0.6002101898193359, 1.1840779781341553, -0.5563543438911438, -0.059654366225004196, 0.44384512305259705, 0.24690914154052734, 0.21076197922229767, 0.6629220843315125, 0.1442081481218338, 0.7282265424728394, 1.07012140750885, -0.40835219621658325, 0.8811809420585632, 0.26432839035987854, 0.47430819272994995, 0.7238501906394958, -0.6487724781036377, 0.7513749003410339, 0.31810489296913147, -0.5682924389839172, 0.9228013753890991, 1.2906063795089722, -0.15699204802513123, 0.8079374432563782, 0.05136508867144585, -1.081600546836853, 0.325833261013031, -0.20724765956401825, -0.7530064582824707, 0.3150254189968109, 0.19055864214897156, -0.6920982599258423, -0.5770308971405029, -0.24046507477760315, -0.35662803053855896, -0.11552901566028595, -0.7631728649139404, 0.6720563769340515, -0.016969164833426476, -0.5103683471679688, 0.18857547640800476, 0.2877499461174011, 0.17368432879447937, -0.5235732793807983, -0.02939440682530403, -0.22823619842529297, 0.2660655975341797, -0.5670853853225708, -0.5234526991844177, 0.5724433064460754, -0.32430219650268555, -0.5343255400657654, 0.18147465586662292, 0.763587236404419, -0.16923809051513672, -0.4515409469604492, 0.32472723722457886, 0.6959525346755981, 0.1665852814912796, 0.4250282347202301, -0.23511263728141785, 0.24480605125427246, -0.08044824004173279, -0.06651552021503448, 0.27714768052101135, 0.3449169099330902, 0.22435641288757324, 0.4450142979621887, 0.43285664916038513, -0.01808755099773407, -0.10736498981714249, -0.382819801568985, 0.4124940037727356, -0.9542785882949829, -0.5713282823562622, -0.6307113766670227, 0.2740660607814789, -0.02315417304635048, -1.0836423635482788, 0.4145168364048004, 1.4406683444976807, 1.0359982252120972, -0.4756383001804352, 1.067226529121399, -0.21818485856056213, 0.9594791531562805, 0.41483086347579956, 0.5420440435409546, -0.6030411720275879, 0.03835370019078255, -0.4364396035671234, -1.076962947845459, -0.35716333985328674, 0.4539391100406647, -0.022899555042386055, -0.3429867625236511, 0.872571587562561, 0.5887166261672974, -0.33473607897758484, -0.11728022992610931, 0.048487238585948944, -0.029941488057374954, -0.12433847039937973, 0.5145376324653625, 0.7648399472236633, -0.9344304800033569, -0.10680416971445084, -0.21577754616737366, -0.6382725834846497, -0.5047279000282288, -0.9632009267807007, -0.12959396839141846, -0.16037796437740326, 0.035343267023563385, -0.5662806630134583, 0.00255737011320889, 1.208324909210205, 0.5684957504272461, -1.1113994121551514, -0.5303789377212524, 0.3371853232383728, 0.3920421898365021, -0.1874791383743286, -0.24202413856983185, 0.2984568774700165, 0.15382249653339386, -0.5908876657485962, 0.6875665783882141, 0.8089625239372253, 0.208888977766037, 0.19554761052131653, 0.15893013775348663, -0.8229473829269409, -0.14913435280323029, 0.17440445721149445, 0.9450570344924927, -0.939853310585022, -0.7114843130111694, -0.03168516233563423, -0.27094873785972595, -0.05765746906399727, 0.17102102935314178, -0.4046344757080078, 0.5180677175521851, 0.34591493010520935, 0.49933457374572754, 0.0561608150601387, -0.054746925830841064, 0.5409556031227112, -0.9069057703018188, 0.09425963461399078, 0.4134361147880554, 0.4154115319252014, -0.4000864028930664, -0.5910194516181946, 0.6713420748710632, 1.0073972940444946, -0.6594868898391724, -0.8743268847465515, -0.19846712052822113, -1.0016002655029297, 0.04189709946513176, 0.6762762069702148, 0.5009527802467346, -0.4806513786315918, -0.4174500107765198, -0.5617399215698242, -0.1254672110080719, -0.1369970738887787, 0.7621601819992065, 1.179680585861206, -0.7432094812393188, 0.07975747436285019, -1.038639783859253, 0.6594986915588379, -0.2419457733631134, -0.3457581698894501, -0.48644304275512695, 0.3832802176475525, 0.35236993432044983, 0.440481036901474, 0.614812433719635, 0.1408471167087555, 0.8338426351547241, 0.3126053214073181, -0.1702686995267868, 0.2698982357978821, -0.4559200704097748, -0.028932858258485794, -0.057962555438280106, 0.31015971302986145, -1.0262157917022705 ]
timm/vit_base_patch16_384.augreg_in21k_ft_in1k
timm
2023-05-06T00:01:15Z
7,393
0
timm
[ "timm", "pytorch", "safetensors", "image-classification", "dataset:imagenet-1k", "dataset:imagenet-21k", "arxiv:2106.10270", "arxiv:2010.11929", "license:apache-2.0", "region:us" ]
image-classification
2022-12-22T07:29:44Z
--- tags: - image-classification - timm library_name: timm license: apache-2.0 datasets: - imagenet-1k - imagenet-21k --- # Model card for vit_base_patch16_384.augreg_in21k_ft_in1k A Vision Transformer (ViT) image classification model. Trained on ImageNet-21k and fine-tuned on ImageNet-1k (with additional augmentation and regularization) in JAX by paper authors, ported to PyTorch by Ross Wightman. ## Model Details - **Model Type:** Image classification / feature backbone - **Model Stats:** - Params (M): 86.9 - GMACs: 49.4 - Activations (M): 48.3 - Image size: 384 x 384 - **Papers:** - How to train your ViT? Data, Augmentation, and Regularization in Vision Transformers: https://arxiv.org/abs/2106.10270 - An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale: https://arxiv.org/abs/2010.11929v2 - **Dataset:** ImageNet-1k - **Pretrain Dataset:** ImageNet-21k - **Original:** https://github.com/google-research/vision_transformer ## Model Usage ### Image Classification ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open(urlopen( 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png' )) model = timm.create_model('vit_base_patch16_384.augreg_in21k_ft_in1k', pretrained=True) model = model.eval() # get model specific transforms (normalization, resize) data_config = timm.data.resolve_model_data_config(model) transforms = timm.data.create_transform(**data_config, is_training=False) output = model(transforms(img).unsqueeze(0)) # unsqueeze single image into batch of 1 top5_probabilities, top5_class_indices = torch.topk(output.softmax(dim=1) * 100, k=5) ``` ### Image Embeddings ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open(urlopen( 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png' )) model = timm.create_model( 'vit_base_patch16_384.augreg_in21k_ft_in1k', pretrained=True, num_classes=0, # remove classifier nn.Linear ) model = model.eval() # get model specific transforms (normalization, resize) data_config = timm.data.resolve_model_data_config(model) transforms = timm.data.create_transform(**data_config, is_training=False) output = model(transforms(img).unsqueeze(0)) # output is (batch_size, num_features) shaped tensor # or equivalently (without needing to set num_classes=0) output = model.forward_features(transforms(img).unsqueeze(0)) # output is unpooled, a (1, 577, 768) shaped tensor output = model.forward_head(output, pre_logits=True) # output is a (1, num_features) shaped tensor ``` ## Model Comparison Explore the dataset and runtime metrics of this model in timm [model results](https://github.com/huggingface/pytorch-image-models/tree/main/results). ## Citation ```bibtex @article{steiner2021augreg, title={How to train your ViT? Data, Augmentation, and Regularization in Vision Transformers}, author={Steiner, Andreas and Kolesnikov, Alexander and and Zhai, Xiaohua and Wightman, Ross and Uszkoreit, Jakob and Beyer, Lucas}, journal={arXiv preprint arXiv:2106.10270}, year={2021} } ``` ```bibtex @article{dosovitskiy2020vit, title={An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale}, author={Dosovitskiy, Alexey and Beyer, Lucas and Kolesnikov, Alexander and Weissenborn, Dirk and Zhai, Xiaohua and Unterthiner, Thomas and Dehghani, Mostafa and Minderer, Matthias and Heigold, Georg and Gelly, Sylvain and Uszkoreit, Jakob and Houlsby, Neil}, journal={ICLR}, year={2021} } ``` ```bibtex @misc{rw2019timm, author = {Ross Wightman}, title = {PyTorch Image Models}, year = {2019}, publisher = {GitHub}, journal = {GitHub repository}, doi = {10.5281/zenodo.4414861}, howpublished = {\url{https://github.com/huggingface/pytorch-image-models}} } ```
[ -0.5293956398963928, -0.3949097990989685, -0.052131760865449905, 0.09621772915124893, -0.4013706147670746, -0.3448267877101898, -0.28495609760284424, -0.4697670340538025, 0.18267938494682312, 0.3278294801712036, -0.560382068157196, -0.5149670243263245, -0.6469027996063232, 0.000693684269208461, -0.14710906147956848, 1.0061458349227905, -0.13584478199481964, 0.03765515238046646, -0.2211199253797531, -0.46490177512168884, -0.3289799094200134, -0.28825563192367554, -0.6081304550170898, -0.43823307752609253, 0.37295347452163696, 0.17476533353328705, 0.5995970964431763, 0.6273415088653564, 0.8023777008056641, 0.452706903219223, -0.11311963945627213, 0.14136996865272522, -0.35588374733924866, -0.21745936572551727, 0.29140105843544006, -0.6400481462478638, -0.41402727365493774, 0.25078004598617554, 0.7279256582260132, 0.4005310833454132, 0.11956615746021271, 0.35191044211387634, 0.1419762670993805, 0.5204131007194519, -0.36168646812438965, 0.19535119831562042, -0.5352311134338379, 0.27888908982276917, -0.05402718856930733, -0.049121640622615814, -0.3204348683357239, -0.3345303237438202, 0.273722767829895, -0.5532187223434448, 0.6327560544013977, -0.07209508866071701, 1.415871500968933, 0.28869733214378357, 0.05676916986703873, 0.24906940758228302, -0.4178755283355713, 0.7647063136100769, -0.6295704245567322, 0.44445285201072693, 0.18703168630599976, 0.1691933572292328, 0.06471661478281021, -1.0383204221725464, -0.6659772396087646, -0.1790696680545807, -0.2419751137495041, 0.1206524595618248, -0.30998578667640686, 0.2591218650341034, 0.4891104996204376, 0.5967901945114136, -0.5470499992370605, -0.041574627161026, -0.5675142407417297, -0.2802969217300415, 0.5667334198951721, -0.04146529734134674, 0.19850148260593414, -0.1570875495672226, -0.640023410320282, -0.6168689727783203, -0.3466748893260956, 0.2784040570259094, 0.28997838497161865, 0.051592882722616196, -0.49229225516319275, 0.5388145446777344, 0.042589571326971054, 0.6745077967643738, 0.25315794348716736, -0.22297358512878418, 0.6868817210197449, -0.1692901998758316, -0.4139810800552368, -0.26331886649131775, 1.1096023321151733, 0.4787348210811615, 0.41355231404304504, -0.0459686703979969, -0.182183176279068, -0.10888215154409409, 0.07811155170202255, -1.1051533222198486, -0.38383737206459045, 0.07829611748456955, -0.45502233505249023, -0.3957327604293823, 0.3669971227645874, -0.6455078125, -0.11171320080757141, -0.10515837371349335, 0.8029831051826477, -0.4688687026500702, -0.2299319952726364, 0.12357955425977707, -0.16932053864002228, 0.494231641292572, 0.25164303183555603, -0.6057459115982056, 0.11953181028366089, 0.21177954971790314, 1.0438902378082275, 0.036221444606781006, -0.5006841421127319, -0.2323378473520279, -0.46102890372276306, -0.3319655954837799, 0.5074812173843384, -0.016348538920283318, -0.1575118750333786, -0.18166564404964447, 0.3778965175151825, -0.25876572728157043, -0.5808728337287903, 0.3433924913406372, -0.20567218959331512, 0.3634631633758545, 0.10220536589622498, -0.19871799647808075, -0.4326378405094147, 0.29227155447006226, -0.4261140525341034, 1.249266266822815, 0.40944069623947144, -0.9187421202659607, 0.44012221693992615, -0.4629788398742676, -0.08492732793092728, -0.12124207615852356, 0.027871403843164444, -1.1165101528167725, 0.05031105503439903, 0.3217191994190216, 0.5915222764015198, -0.20678263902664185, -0.025874100625514984, -0.38537126779556274, -0.3489401638507843, 0.34966522455215454, -0.2769065201282501, 0.9396306276321411, 0.02860051766037941, -0.34478703141212463, 0.2798923850059509, -0.598363995552063, 0.09017501771450043, 0.4340818524360657, -0.263449490070343, 0.01580989733338356, -0.6413012742996216, 0.1558389663696289, 0.20526430010795593, 0.23044884204864502, -0.6774827241897583, 0.40058040618896484, -0.3863193690776825, 0.39696574211120605, 0.6626455187797546, -0.10538835823535919, 0.3948489725589752, -0.33893346786499023, 0.35478097200393677, 0.26918619871139526, 0.41997581720352173, -0.15840409696102142, -0.6437117457389832, -1.0685254335403442, -0.4475460946559906, 0.3542340099811554, 0.46379148960113525, -0.6727238893508911, 0.5806739330291748, -0.39561912417411804, -0.752583920955658, -0.6121904253959656, 0.03151726722717285, 0.4827137291431427, 0.5707730054855347, 0.5438886284828186, -0.5709949135780334, -0.5585950016975403, -0.9811021685600281, -0.12113258987665176, -0.06802874058485031, 0.014174778014421463, 0.2104429304599762, 0.6323862075805664, -0.26903948187828064, 0.899794340133667, -0.4389188587665558, -0.33679643273353577, -0.2213631272315979, 0.060976509004831314, 0.35818275809288025, 0.7671641111373901, 0.7246158719062805, -0.6683313250541687, -0.47278937697410583, -0.13428527116775513, -0.8830631375312805, 0.13588516414165497, -0.03327008709311485, -0.19463790953159332, 0.1437770575284958, 0.17881424725055695, -0.7118839621543884, 0.8101024031639099, 0.17461183667182922, -0.38450556993484497, 0.43431636691093445, -0.22222334146499634, 0.08254337310791016, -1.1961431503295898, -0.008010122925043106, 0.3866223394870758, -0.27185139060020447, -0.5117512941360474, 0.011716657318174839, 0.10276651382446289, -0.027916239574551582, -0.41531795263290405, 0.5697925090789795, -0.5010895729064941, -0.03680208697915077, -0.06614776700735092, -0.35966894030570984, 0.06488004326820374, 0.7504366040229797, -0.04911137744784355, 0.5490796566009521, 0.7623817324638367, -0.4924369752407074, 0.5889449715614319, 0.5417391657829285, -0.21936891973018646, 0.4738805592060089, -0.7404565811157227, 0.16591832041740417, -0.04583677649497986, 0.20965580642223358, -1.0344586372375488, -0.18785756826400757, 0.3954513370990753, -0.7606197595596313, 0.6507590413093567, -0.5452288389205933, -0.44276151061058044, -0.6138606667518616, -0.4126685559749603, 0.42125359177589417, 0.776049017906189, -0.7938873767852783, 0.6150845885276794, 0.08152390271425247, 0.32766127586364746, -0.6196659207344055, -0.9775645136833191, -0.22640995681285858, -0.37797611951828003, -0.7356725931167603, 0.48525872826576233, 0.09005215018987656, 0.157010018825531, 0.08556125313043594, -0.10689520835876465, 0.005483928602188826, -0.20880912244319916, 0.4613575041294098, 0.42877644300460815, -0.24953481554985046, -0.06941665709018707, -0.3529106378555298, -0.21936433017253876, -0.006171517539769411, -0.35937589406967163, 0.5274695158004761, -0.3226669728755951, -0.2026750147342682, -0.7647556662559509, -0.2730257511138916, 0.5073044896125793, -0.30959779024124146, 0.7384372353553772, 1.1664921045303345, -0.4743395745754242, 0.0608692392706871, -0.592621386051178, -0.39269721508026123, -0.5022304058074951, 0.4803610146045685, -0.3331388235092163, -0.4466341733932495, 0.7446463704109192, 0.17082300782203674, 0.10172948986291885, 0.7819473147392273, 0.4271526038646698, 0.03926396742463112, 0.8373741507530212, 0.704139769077301, 0.1402854472398758, 0.9032424092292786, -1.0103389024734497, -0.12071576714515686, -0.9252507090568542, -0.36914142966270447, -0.23860733211040497, -0.5345271825790405, -0.7034862637519836, -0.4976798892021179, 0.4576317071914673, 0.1135093942284584, -0.28372177481651306, 0.5607210993766785, -0.9076820015907288, 0.18944129347801208, 0.7283876538276672, 0.5379940271377563, -0.11318342387676239, 0.4509125351905823, -0.20610634982585907, -0.0743139386177063, -0.7900192737579346, -0.10661487281322479, 1.1146275997161865, 0.484043151140213, 0.8155538439750671, -0.2904650866985321, 0.66324782371521, -0.2668416500091553, 0.3392921984195709, -0.791572630405426, 0.5597894191741943, -0.02551981620490551, -0.4084542691707611, -0.12005583196878433, -0.4008771479129791, -1.0474483966827393, 0.22599932551383972, -0.3557996451854706, -0.8057181239128113, 0.36584949493408203, 0.20635105669498444, -0.2257911115884781, 0.6711869239807129, -0.8706995248794556, 0.9882673621177673, -0.07267540693283081, -0.4983694851398468, 0.09336584806442261, -0.7282083630561829, 0.17299698293209076, 0.2645929157733917, -0.38026219606399536, 0.14446687698364258, 0.28650206327438354, 1.0119516849517822, -0.6227510571479797, 0.8415681719779968, -0.4263436198234558, 0.35695120692253113, 0.49390244483947754, -0.22375519573688507, 0.3739721179008484, 0.0195035208016634, 0.17245616018772125, 0.34263044595718384, -0.032730452716350555, -0.37329357862472534, -0.5094335079193115, 0.4755457639694214, -1.0578603744506836, -0.3860268294811249, -0.5182192325592041, -0.5835546851158142, 0.10551083832979202, 0.0681755319237709, 0.7215231657028198, 0.63482666015625, 0.2761588394641876, 0.4070289731025696, 0.6905609965324402, -0.33858633041381836, 0.38662073016166687, 0.0061990064568817616, -0.17489293217658997, -0.573355495929718, 0.9654144644737244, 0.2316654771566391, 0.1623050421476364, 0.1844862401485443, 0.23326703906059265, -0.345156192779541, -0.49282097816467285, -0.3701775074005127, 0.4145352244377136, -0.7293455600738525, -0.48688387870788574, -0.5881669521331787, -0.539966344833374, -0.34901097416877747, 0.011738344095647335, -0.4344697594642639, -0.33457502722740173, -0.36804789304733276, 0.08894164115190506, 0.8458185195922852, 0.526201605796814, -0.11801888793706894, 0.5504549145698547, -0.5844170451164246, 0.21659724414348602, 0.2905385196208954, 0.5420275926589966, -0.2006416916847229, -1.0394054651260376, -0.371513694524765, 0.02772931382060051, -0.5205742716789246, -0.7799414396286011, 0.46910855174064636, 0.20575939118862152, 0.46506932377815247, 0.3724974989891052, -0.2869469225406647, 0.9024317264556885, -0.06997250020503998, 0.5960094928741455, 0.34089407324790955, -0.5497561097145081, 0.5167459845542908, -0.09829651564359665, 0.15521706640720367, 0.20400391519069672, 0.17647653818130493, -0.2949632704257965, -0.0583379790186882, -1.0875357389450073, -0.7757881879806519, 0.8017390370368958, 0.25982820987701416, 0.06668490916490555, 0.4771574139595032, 0.6308966279029846, -0.05572546645998955, 0.0544358491897583, -0.9173867702484131, -0.3394416272640228, -0.43671584129333496, -0.33254048228263855, -0.08009105175733566, -0.009645020589232445, -0.005366547033190727, -0.8289092183113098, 0.6561403870582581, -0.07464134693145752, 0.8239714503288269, 0.49922868609428406, -0.22496311366558075, -0.18215163052082062, -0.3979983925819397, 0.35588377714157104, 0.26349395513534546, -0.30601873993873596, 0.026202693581581116, 0.2792971730232239, -0.7728431224822998, -0.032024484127759933, 0.32260218262672424, -0.09863780438899994, 0.06820615381002426, 0.48709845542907715, 1.1361727714538574, -0.12832841277122498, -0.009303335100412369, 0.5523413419723511, -0.09226997941732407, -0.4405701756477356, -0.28263595700263977, 0.09118019789457321, -0.2611316740512848, 0.3554704189300537, 0.349894255399704, 0.405421644449234, -0.16297464072704315, -0.1388591229915619, 0.16215017437934875, 0.5406097769737244, -0.5395350456237793, -0.38490810990333557, 0.6795995235443115, -0.20275013148784637, -0.08681566268205643, 0.8295334577560425, -0.0486426018178463, -0.5960271954536438, 0.9088761210441589, 0.32528451085090637, 1.0517793893814087, -0.10527847707271576, -0.04803580790758133, 0.8158526420593262, 0.3831866979598999, -0.02755235694348812, 0.16760589182376862, 0.13217251002788544, -0.8277058601379395, -0.09172205626964569, -0.6525977253913879, 0.027820147573947906, 0.3514529764652252, -0.5394682288169861, 0.40355777740478516, -0.5451016426086426, -0.38992828130722046, 0.05352022498846054, 0.23628541827201843, -1.0396531820297241, 0.3074623942375183, 0.04084569960832596, 0.7715497016906738, -0.81625896692276, 0.6621841192245483, 0.8830481767654419, -0.6973546743392944, -0.9776654839515686, -0.16511179506778717, -0.19353996217250824, -0.8913285732269287, 0.47888079285621643, 0.44446176290512085, 0.14675529301166534, 0.26362183690071106, -0.8414673209190369, -0.6207184791564941, 1.324663758277893, 0.3855334222316742, -0.14231732487678528, 0.1425418108701706, -0.017571760341525078, 0.3890724182128906, -0.278915673494339, 0.46747902035713196, 0.17756597697734833, 0.4040648341178894, 0.20892052352428436, -0.7362119555473328, 0.06911168247461319, -0.3383963406085968, 0.16128015518188477, 0.19070003926753998, -0.8167630434036255, 0.9972535967826843, -0.42432764172554016, -0.12349119782447815, 0.17029385268688202, 0.65726637840271, 0.09943264722824097, 0.051224373281002045, 0.574974000453949, 0.9195272922515869, 0.38423797488212585, -0.4411357343196869, 0.9256619215011597, -0.15091276168823242, 0.737532913684845, 0.5020308494567871, 0.5035172700881958, 0.42802679538726807, 0.4659232497215271, -0.3589458465576172, 0.34795892238616943, 1.0157588720321655, -0.574175238609314, 0.303008496761322, 0.0990525335073471, 0.04724826291203499, -0.23639146983623505, 0.05998694896697998, -0.4959830045700073, 0.5233098268508911, 0.21480004489421844, -0.5657346248626709, -0.10025715827941895, 0.17400580644607544, -0.16320453584194183, -0.3902541697025299, -0.18146030604839325, 0.6194329261779785, -0.013234357349574566, -0.45399320125579834, 0.8693084716796875, -0.016582515090703964, 0.8462480902671814, -0.4577028155326843, -0.04110097512602806, -0.2719394862651825, 0.41842398047447205, -0.39345502853393555, -0.8099657297134399, 0.1574055254459381, -0.23407010734081268, -0.07396457344293594, 0.027333632111549377, 0.7292754650115967, -0.4108858108520508, -0.5599958300590515, 0.11221877485513687, 0.32642531394958496, 0.30582889914512634, -0.09211075305938721, -1.0483064651489258, -0.040863998234272, 0.018676621839404106, -0.6103912591934204, 0.19274018704891205, 0.39758819341659546, 0.0283750481903553, 0.6911773085594177, 0.6881041526794434, -0.09487514942884445, 0.2439102679491043, -0.12436319887638092, 0.9543525576591492, -0.4368560314178467, -0.3981158137321472, -0.8111574053764343, 0.6585386991500854, -0.05944344401359558, -0.6489176154136658, 0.6795538663864136, 0.6173678636550903, 0.9495914578437805, -0.15663008391857147, 0.491910457611084, -0.17217031121253967, 0.026576228439807892, -0.35619649291038513, 0.6066933274269104, -0.7238146066665649, -0.11178498715162277, -0.29912376403808594, -0.9017943143844604, -0.37897491455078125, 0.9804487824440002, -0.3248503506183624, 0.4457830786705017, 0.5420864820480347, 1.0081175565719604, -0.33859673142433167, -0.4063601791858673, 0.18748785555362701, 0.20523980259895325, 0.11361399292945862, 0.40362921357154846, 0.5884544253349304, -0.9117761254310608, 0.5106310248374939, -0.6421244144439697, -0.17974571883678436, -0.25022760033607483, -0.47697827219963074, -1.0434781312942505, -0.8378098607063293, -0.5887418985366821, -0.694337010383606, -0.2145509570837021, 0.874891459941864, 0.985029935836792, -0.5748955607414246, -0.078548364341259, -0.1768825650215149, 0.0187844168394804, -0.3208148777484894, -0.25164997577667236, 0.5182117819786072, -0.14014758169651031, -0.7837113738059998, -0.32710570096969604, -0.006208719685673714, 0.5163667798042297, -0.1909228414297104, -0.16388612985610962, -0.15724888443946838, -0.348617285490036, 0.25170832872390747, 0.30170559883117676, -0.7020165324211121, -0.2194027453660965, -0.04622441157698631, -0.05742326378822327, 0.5320959687232971, 0.39170193672180176, -0.7752774357795715, 0.5685029625892639, 0.5771245956420898, 0.34713059663772583, 0.858917772769928, -0.17242936789989471, 0.10583916306495667, -0.8800608515739441, 0.6055095195770264, -0.022522680461406708, 0.5293738842010498, 0.5161230564117432, -0.2868128716945648, 0.6244752407073975, 0.6064820885658264, -0.4544336795806885, -0.8522381782531738, -0.038118068128824234, -1.1276757717132568, 0.13154073059558868, 0.9648533463478088, -0.2663578391075134, -0.48524680733680725, 0.3831358253955841, -0.22309617698192596, 0.7290614247322083, -0.06493020057678223, 0.46399354934692383, 0.23915168642997742, 0.08481217920780182, -0.621910810470581, -0.4676204323768616, 0.5194753408432007, 0.16750727593898773, -0.5382513403892517, -0.3891373872756958, 0.044637247920036316, 0.5752587914466858, 0.3787260353565216, 0.3631049394607544, -0.1594965010881424, 0.19957618415355682, 0.061478763818740845, 0.5713892579078674, -0.3530794382095337, -0.1590421050786972, -0.4109449088573456, -0.16341106593608856, -0.09183371812105179, -0.6405460238456726 ]
philschmid/pyannote-segmentation
philschmid
2022-11-08T17:15:47Z
7,383
4
pyannote-audio
[ "pyannote-audio", "pytorch", "pyannote", "pyannote-audio-model", "audio", "voice", "speech", "speaker", "speaker-segmentation", "voice-activity-detection", "overlapped-speech-detection", "resegmentation", "dataset:ami", "dataset:dihard", "dataset:voxconverse", "arxiv:2104.04045", "license:mit", "region:us" ]
voice-activity-detection
2022-11-08T17:13:14Z
--- tags: - pyannote - pyannote-audio - pyannote-audio-model - audio - voice - speech - speaker - speaker-segmentation - voice-activity-detection - overlapped-speech-detection - resegmentation datasets: - ami - dihard - voxconverse license: mit inference: false --- # 🎹 Speaker segmentation ![Example](example.png) Model from *[End-to-end speaker segmentation for overlap-aware resegmentation](http://arxiv.org/abs/2104.04045)*, by Hervé Bredin and Antoine Laurent. [Online demo](https://huggingface.co/spaces/pyannote/pretrained-pipelines) is available as a Hugging Face Space. ## Support For commercial enquiries and scientific consulting, please contact [me](mailto:[email protected]). For [technical questions](https://github.com/pyannote/pyannote-audio/discussions) and [bug reports](https://github.com/pyannote/pyannote-audio/issues), please check [pyannote.audio](https://github.com/pyannote/pyannote-audio) Github repository. ## Usage Relies on pyannote.audio 2.0 currently in development: see [installation instructions](https://github.com/pyannote/pyannote-audio/tree/develop#installation). ### Voice activity detection ```python from pyannote.audio.pipelines import VoiceActivityDetection pipeline = VoiceActivityDetection(segmentation="pyannote/segmentation") HYPER_PARAMETERS = { # onset/offset activation thresholds "onset": 0.5, "offset": 0.5, # remove speech regions shorter than that many seconds. "min_duration_on": 0.0, # fill non-speech regions shorter than that many seconds. "min_duration_off": 0.0 } pipeline.instantiate(HYPER_PARAMETERS) vad = pipeline("audio.wav") # `vad` is a pyannote.core.Annotation instance containing speech regions ``` ### Overlapped speech detection ```python from pyannote.audio.pipelines import OverlappedSpeechDetection pipeline = OverlappedSpeechDetection(segmentation="pyannote/segmentation") pipeline.instantiate(HYPER_PARAMETERS) osd = pipeline("audio.wav") # `osd` is a pyannote.core.Annotation instance containing overlapped speech regions ``` ### Resegmentation ```python from pyannote.audio.pipelines import Resegmentation pipeline = Resegmentation(segmentation="pyannote/segmentation", diarization="baseline") pipeline.instantiate(HYPER_PARAMETERS) resegmented_baseline = pipeline({"audio": "audio.wav", "baseline": baseline}) # where `baseline` should be provided as a pyannote.core.Annotation instance ``` ### Raw scores ```python from pyannote.audio import Inference inference = Inference("pyannote/segmentation") segmentation = inference("audio.wav") # `segmentation` is a pyannote.core.SlidingWindowFeature # instance containing raw segmentation scores like the # one pictured above (output) ``` ## Reproducible research In order to reproduce the results of the paper ["End-to-end speaker segmentation for overlap-aware resegmentation "](https://arxiv.org/abs/2104.04045), use `pyannote/segmentation@Interspeech2021` with the following hyper-parameters: | Voice activity detection | `onset` | `offset` | `min_duration_on` | `min_duration_off` | | ------------------------ | ------- | -------- | ----------------- | ------------------ | | AMI Mix-Headset | 0.684 | 0.577 | 0.181 | 0.037 | | DIHARD3 | 0.767 | 0.377 | 0.136 | 0.067 | | VoxConverse | 0.767 | 0.713 | 0.182 | 0.501 | | Overlapped speech detection | `onset` | `offset` | `min_duration_on` | `min_duration_off` | | --------------------------- | ------- | -------- | ----------------- | ------------------ | | AMI Mix-Headset | 0.448 | 0.362 | 0.116 | 0.187 | | DIHARD3 | 0.430 | 0.320 | 0.091 | 0.144 | | VoxConverse | 0.587 | 0.426 | 0.337 | 0.112 | | Resegmentation of VBx | `onset` | `offset` | `min_duration_on` | `min_duration_off` | | --------------------- | ------- | -------- | ----------------- | ------------------ | | AMI Mix-Headset | 0.542 | 0.527 | 0.044 | 0.705 | | DIHARD3 | 0.592 | 0.489 | 0.163 | 0.182 | | VoxConverse | 0.537 | 0.724 | 0.410 | 0.563 | Expected outputs (and VBx baseline) are also provided in the `/reproducible_research` sub-directories. ## Citation ```bibtex @inproceedings{Bredin2021, Title = {{End-to-end speaker segmentation for overlap-aware resegmentation}}, Author = {{Bredin}, Herv{\'e} and {Laurent}, Antoine}, Booktitle = {Proc. Interspeech 2021}, Address = {Brno, Czech Republic}, Month = {August}, Year = {2021}, ``` ```bibtex @inproceedings{Bredin2020, Title = {{pyannote.audio: neural building blocks for speaker diarization}}, Author = {{Bredin}, Herv{\'e} and {Yin}, Ruiqing and {Coria}, Juan Manuel and {Gelly}, Gregory and {Korshunov}, Pavel and {Lavechin}, Marvin and {Fustes}, Diego and {Titeux}, Hadrien and {Bouaziz}, Wassim and {Gill}, Marie-Philippe}, Booktitle = {ICASSP 2020, IEEE International Conference on Acoustics, Speech, and Signal Processing}, Address = {Barcelona, Spain}, Month = {May}, Year = {2020}, } ```
[ -0.6697242856025696, -0.7367995977401733, 0.2743462324142456, 0.3530805706977844, -0.3568698465824127, -0.20187599956989288, -0.4433012008666992, -0.34496626257896423, 0.5347407460212708, 0.3284277617931366, -0.6395400762557983, -0.6035054326057434, -0.3344953954219818, -0.3144129812717438, -0.08064785599708557, 0.5040647387504578, 0.3459765911102295, -0.17584243416786194, -0.14879348874092102, 0.0091096181422472, -0.33423012495040894, -0.20415908098220825, -0.3505353331565857, -0.3313785791397095, 0.10954484343528748, 0.5483652353286743, 0.21367147564888, 0.6942771673202515, 0.20813125371932983, 0.36347779631614685, -0.5403170585632324, 0.13090737164020538, 0.015208146534860134, -0.09203615039587021, 0.30433058738708496, 0.029524948447942734, -0.387270987033844, 0.06425265222787857, 0.8765084147453308, 0.6795775294303894, -0.14432872831821442, 0.19009701907634735, -0.0722707211971283, 0.34608885645866394, -0.24640479683876038, 0.05356705188751221, -0.4708009958267212, -0.10353550314903259, -0.29071056842803955, -0.23717239499092102, -0.2663326859474182, -0.04988307133316994, 0.2962779700756073, -0.5634399652481079, -0.05698249489068985, -0.09168047457933426, 1.355750560760498, 0.11898259818553925, 0.1350385695695877, -0.08314429968595505, -0.5038754343986511, 0.7664666175842285, -1.0669374465942383, 0.4775448739528656, 0.3617735505104065, 0.1352975070476532, -0.285357803106308, -0.7895767688751221, -0.643621027469635, -0.036399565637111664, -0.14613471925258636, 0.2766071557998657, -0.221225768327713, 0.18074330687522888, 0.33813753724098206, 0.4110167324542999, -0.5009639263153076, 0.09434761106967926, -0.5779802203178406, -0.44454166293144226, 0.8331213593482971, -0.18116511404514313, 0.37923720479011536, -0.3476032316684723, -0.36243975162506104, -0.3218916356563568, -0.1146494671702385, 0.36505237221717834, 0.5216397643089294, 0.3288874626159668, -0.470945805311203, 0.3750365078449249, 0.08157144486904144, 0.9545124769210815, 0.17482998967170715, -0.26520439982414246, 0.8876606822013855, -0.45755940675735474, -0.21179735660552979, 0.4928554594516754, 1.1830170154571533, 0.2659462094306946, 0.09771885722875595, 0.41632723808288574, 0.05936729535460472, -0.3942417800426483, -0.15839023888111115, -0.781152069568634, -0.5951665043830872, 0.6135966181755066, -0.5537592768669128, 0.24880114197731018, -0.09343761205673218, -0.979856014251709, -0.0014917138032615185, -0.3042759299278259, 0.4943291246891022, -0.6781737208366394, -0.6219953298568726, 0.06903298944234848, -0.34040430188179016, 0.23230643570423126, -0.028269818052649498, -1.1064155101776123, 0.23070496320724487, 0.49943384528160095, 1.1133958101272583, 0.10471902787685394, -0.36278507113456726, -0.4322400689125061, -0.15046173334121704, -0.13242807984352112, 0.8072630763053894, -0.39523375034332275, -0.4212658107280731, -0.42144352197647095, -0.0583818256855011, -0.40833228826522827, -0.6415313482284546, 0.7643467783927917, 0.1851402223110199, 0.3492024838924408, -0.17249231040477753, -0.6188663840293884, -0.13062362372875214, -0.15427088737487793, -0.3292617201805115, 1.0087560415267944, 0.21363866329193115, -0.7989106774330139, 0.3398944139480591, -0.5925174951553345, -0.10239896178245544, -0.1797025352716446, -0.26632803678512573, -0.8819752335548401, -0.3209896981716156, 0.4235006868839264, 0.24104027450084686, -0.10777372866868973, -0.06659793108701706, -0.18850035965442657, -0.3577054440975189, 0.19117066264152527, -0.32419341802597046, 1.1935575008392334, 0.03547889366745949, -0.699012815952301, 0.28440165519714355, -1.077166199684143, 0.08656515181064606, 0.03437802195549011, -0.47307100892066956, -0.19921579957008362, -0.028359998017549515, 0.1815260797739029, 0.11701276898384094, 0.16233672201633453, -0.8003829717636108, -0.22379903495311737, -0.5865389108657837, 0.4817550778388977, 0.7321029901504517, 0.23728056252002716, 0.09250571578741074, -0.32453662157058716, 0.16625170409679413, 0.07379461824893951, 0.024343641474843025, -0.46120738983154297, -0.6855196356773376, -0.5599086880683899, -0.8069106340408325, 0.31231945753097534, 0.6368875503540039, -0.10315871983766556, 0.9305768609046936, -0.18991534411907196, -0.7234498262405396, -0.5878646373748779, -0.04685086011886597, 0.5328572988510132, 0.6880775094032288, 0.6381692886352539, -0.36355629563331604, -0.7982307076454163, -1.0291398763656616, -0.21821852028369904, -0.4370969235897064, 0.09344547986984253, 0.7390030026435852, 0.29101043939590454, -0.060348086059093475, 1.0818424224853516, -0.40953633189201355, -0.1707940399646759, 0.0019528629491105676, -0.08402072638273239, 0.5216492414474487, 0.8374210596084595, 0.4531668424606323, -0.8568904995918274, -0.5832051038742065, 0.06690862774848938, -0.3390059769153595, -0.4491383731365204, -0.40139394998550415, -0.21325667202472687, -0.10825015604496002, 0.5740930438041687, -0.6591088771820068, 0.37858399748802185, 0.14408458769321442, -0.34506744146347046, 0.8785365223884583, 0.13660511374473572, 0.009884878061711788, -0.8702400326728821, 0.11164233833551407, 0.27502989768981934, 0.08742011338472366, -0.8128532767295837, -0.9037403464317322, -0.07734315097332001, 0.057271912693977356, -0.34273579716682434, 0.5368726253509521, -0.6754945516586304, -0.3004097044467926, 0.11477197706699371, 0.4714849293231964, -0.19154660403728485, 0.8361855149269104, 0.17496353387832642, 0.7174516320228577, 0.6691575646400452, -0.48494911193847656, 0.29363206028938293, 0.4805695712566376, -0.7909383773803711, 0.3899194002151489, -0.8362730741500854, 0.03423459827899933, 0.361331969499588, 0.2060813009738922, -1.4701646566390991, -0.21177542209625244, 0.6044459939002991, -1.0164833068847656, 0.3959180414676666, -0.4436468780040741, -0.06603999435901642, -0.3175244927406311, -0.1532096117734909, 0.5197809338569641, 0.4547898769378662, -0.5802966952323914, 0.28964051604270935, 0.6051512956619263, -0.3406820297241211, -0.4750707745552063, -0.7210797071456909, -0.21584871411323547, -0.3846290707588196, -0.9116623997688293, 0.7361226677894592, 0.01898787170648575, -0.3200625479221344, -0.026646878570318222, -0.23017016053199768, -0.012883679941296577, -0.3137345314025879, 0.22535277903079987, 0.08575525134801865, -0.30678790807724, -0.1451740860939026, -0.12947076559066772, -0.018418004736304283, 0.011809547431766987, -0.3795115351676941, 0.6384838819503784, 0.04119839146733284, -0.4246829152107239, -0.8759724497795105, 0.1307177096605301, 0.64967280626297, -0.5569729804992676, 0.2911568880081177, 0.9305209517478943, -0.25706157088279724, 0.09299447387456894, -0.5314206480979919, 0.07228361815214157, -0.4942564070224762, 0.6852445006370544, -0.23907558619976044, -0.8328948020935059, 0.7556602954864502, 0.10262592136859894, 0.25979793071746826, 0.522382915019989, 0.5829551219940186, -0.055464137345552444, 0.7139570116996765, -0.0021594390273094177, 0.11904768645763397, 0.9186767935752869, -0.4196375906467438, 0.2807391881942749, -1.3927699327468872, -0.5374007225036621, -0.6271670460700989, -0.30940231680870056, -0.5785974860191345, -0.5304656624794006, 0.2808680534362793, 0.06830419600009918, -0.09786906093358994, 0.393127977848053, -0.8372287154197693, 0.2596037983894348, 0.5334888100624084, -0.0865124762058258, -0.5538574457168579, 0.28871068358421326, -0.3339769244194031, -0.19007234275341034, -0.5691115260124207, -0.17891909182071686, 0.7399629354476929, 0.377886027097702, 0.24422137439250946, -0.015065453015267849, 0.8264055252075195, 0.020036065950989723, -0.4295460879802704, -0.8292295932769775, 0.5443362593650818, 0.012934180907905102, -0.4504946768283844, -0.670109212398529, -0.49279147386550903, -1.105088233947754, 0.716654360294342, 0.18563947081565857, -1.32566237449646, 0.7637504935264587, -0.01604466512799263, -0.5521894097328186, 0.4475935697555542, -0.8882952332496643, 1.0415558815002441, -0.19444046914577484, -0.2954719662666321, 0.033063892275094986, -0.7026177644729614, 0.21247316896915436, 0.42055830359458923, 0.24434630572795868, -0.36815348267555237, 0.27933934330940247, 1.2383840084075928, -0.42472147941589355, 0.6563428044319153, -0.5589582324028015, 0.09983628243207932, 0.7688241004943848, -0.2864358723163605, 0.2671677768230438, 0.027663832530379295, 0.11501114815473557, 0.08530902117490768, 0.007512935437262058, -0.3840967118740082, -0.3157461881637573, 0.7249454855918884, -0.8034380078315735, -0.6242585182189941, -0.17986328899860382, -0.36877527832984924, -0.11926917731761932, 0.18551313877105713, 0.23950082063674927, 0.7012385129928589, 0.07683941721916199, 0.32293224334716797, 0.736717939376831, -0.42208534479141235, 0.7354472279548645, 0.13786034286022186, 0.09660449624061584, -1.0046751499176025, 1.0202617645263672, 0.28033682703971863, 0.284306138753891, 0.3506276309490204, 0.2817751169204712, -0.45495182275772095, -0.6725882887840271, -0.2951671779155731, 0.37934571504592896, -0.47431570291519165, 0.22920852899551392, -0.6239416003227234, -0.2693585753440857, -0.7107086777687073, 0.08398109674453735, -0.6588506102561951, -0.541151762008667, -0.4046527147293091, 0.08331059664487839, 0.23852971196174622, -0.0639863982796669, -0.41875699162483215, 0.4056200385093689, -0.59307461977005, 0.1453331559896469, 0.23932397365570068, 0.18890489637851715, -0.2154969573020935, -0.9724780917167664, -0.45057761669158936, -0.051250748336315155, -0.17324498295783997, -0.8266733884811401, 0.3603675365447998, 0.13758617639541626, 1.001259207725525, 0.3214840292930603, -0.2011803835630417, 0.9615786671638489, -0.13309234380722046, 1.0768585205078125, 0.3406231999397278, -1.0183497667312622, 0.6489247679710388, -0.38656580448150635, 0.40863490104675293, 0.5163125991821289, 0.027353381738066673, -0.8008677363395691, 0.10073613375425339, -0.7944296598434448, -1.4099571704864502, 1.1853878498077393, 0.38991671800613403, -0.3217450678348541, 0.05943751335144043, 0.104517862200737, -0.24829962849617004, -0.09234876185655594, -0.6023297905921936, -0.4810214340686798, -0.36334022879600525, -0.04238445684313774, -0.08123612403869629, -0.3633347153663635, 0.052622247487306595, -0.5486943125724792, 0.8922398090362549, 0.18558447062969208, 0.6405483484268188, 0.8556347489356995, 0.03487994521856308, -0.012701648287475109, 0.06320974975824356, 0.9684253931045532, 0.6467276215553284, -0.5201448798179626, -0.1107800304889679, -0.06163301318883896, -0.6012672185897827, 0.08544138818979263, 0.21135084331035614, 0.07582924515008926, 0.3785061538219452, 0.6106423139572144, 1.1163407564163208, 0.06236220523715019, -0.4671173691749573, 0.47395405173301697, -0.06638751178979874, -0.5012249946594238, -0.6342266798019409, -0.06479808688163757, 0.22466203570365906, 0.2708427906036377, 0.3996032178401947, -0.09042482823133469, -0.08247993886470795, -0.2110784947872162, 0.46400317549705505, 0.1570577323436737, -0.5258439183235168, -0.1499098390340805, 0.4145245850086212, 0.23155859112739563, -0.6957127451896667, 0.6058664321899414, -0.09523090720176697, -0.6101976037025452, 0.9613016843795776, 0.4164300262928009, 1.2022649049758911, -0.5210652351379395, -0.08871296048164368, 0.7982081174850464, 0.39664387702941895, 0.2409093976020813, 0.1825617551803589, -0.4777080714702606, -0.56055748462677, -0.27954357862472534, -0.6515565514564514, -0.15011802315711975, 0.467378705739975, -0.5451446771621704, 0.09135827422142029, -0.4985348582267761, -0.23778565227985382, 0.4511902630329132, 0.10273381322622299, -0.0009403513977304101, 0.2884364426136017, 0.18481525778770447, 0.9121555685997009, -0.6551259756088257, 0.6941192746162415, 0.6323890686035156, -0.20026671886444092, -0.8397366404533386, 0.15747883915901184, 0.009978980757296085, -0.3464655876159668, 0.20593352615833282, 0.17091044783592224, -0.0005371165461838245, -0.20624616742134094, -0.2776062488555908, -0.9271751046180725, 1.1283693313598633, 0.18794851005077362, -0.7806888818740845, 0.30663108825683594, -0.11005250364542007, 0.2978403866291046, -0.4092407524585724, 0.38930532336235046, 0.8666512370109558, 0.7153428196907043, 0.005480000749230385, -1.1712470054626465, -0.06500154733657837, -0.5935215353965759, -0.30010586977005005, 0.31504055857658386, -1.086437463760376, 1.0593611001968384, -0.022420642897486687, -0.020106740295886993, -0.10439607501029968, 0.6959530115127563, 0.561570405960083, 0.4110524356365204, 0.8472645878791809, 0.6387789249420166, 0.664705216884613, -0.25173524022102356, 0.48702582716941833, -0.3100040853023529, 0.21835961937904358, 1.2079609632492065, 0.3007519543170929, 0.6293202042579651, 0.5363147258758545, -0.4882848858833313, 0.43806496262550354, 1.0074851512908936, -0.202168270945549, 0.5296071767807007, 0.3099305331707001, -0.10444353520870209, -0.352812260389328, 0.027049586176872253, -0.6464235782623291, 0.6716727018356323, 0.5588617920875549, -0.3693961501121521, 0.3005940616130829, -0.3970758318901062, 0.04964342713356018, -0.09157638996839523, -0.0805947482585907, 0.501507580280304, 0.07124043256044388, -0.652860701084137, 0.901094377040863, -0.14584919810295105, 0.6690487861633301, -0.5329182147979736, 0.03480742126703262, -0.14148077368736267, 0.0909823402762413, -0.520463764667511, -0.6989864110946655, 0.10624083131551743, -0.2791142165660858, -0.09244600683450699, -0.011853624135255814, 0.5805140733718872, -0.7178554534912109, -0.14645591378211975, 0.4623560607433319, 0.028499940410256386, 0.40079763531684875, 0.15417498350143433, -0.8934266567230225, 0.1812436729669571, 0.4810691773891449, -0.48317950963974, 0.15258224308490753, 0.47711846232414246, 0.24882645905017853, 0.3214797377586365, 0.6775068640708923, 0.20252202451229095, 0.312116801738739, 0.10107707232236862, 0.7101397514343262, -0.6204262375831604, -0.8771660923957825, -0.9209185838699341, 0.5830026865005493, -0.5187510251998901, -0.5442306399345398, 0.8670618534088135, 0.9389530420303345, 0.9748101234436035, 0.3470199406147003, 0.6703828573226929, -0.1469728797674179, 0.5839309692382812, -0.4613175690174103, 0.6888379454612732, -0.594970166683197, 0.41121751070022583, -0.6420773863792419, -0.7864271998405457, -0.12544628977775574, 0.8119731545448303, -0.3927900195121765, 0.26220765709877014, 0.481444776058197, 0.9397169947624207, -0.14808040857315063, -0.1681767702102661, 0.216605082154274, 0.22305414080619812, 0.494307279586792, 0.57525634765625, 0.716822624206543, -0.40903791785240173, 0.6979976296424866, -0.5821616053581238, -0.18331259489059448, -0.29412010312080383, -0.3791937530040741, -0.7358225584030151, -0.9210296869277954, -0.6499646306037903, -0.2776215374469757, -0.08393726497888565, 1.0465974807739258, 0.9545309543609619, -0.6611843705177307, -0.6162391304969788, -0.010836305096745491, 0.27101603150367737, -0.3584708273410797, -0.24379704892635345, 0.8278924226760864, -0.004459340125322342, -0.6860087513923645, 0.661937952041626, 0.3603494465351105, 0.10868870466947556, 0.1331900954246521, -0.3481951355934143, -0.721204936504364, 0.0609668493270874, 0.028371449559926987, 0.5984319448471069, -0.7141862511634827, -0.12943200767040253, -0.4742443263530731, 0.20300237834453583, 0.4810017943382263, 0.6009632349014282, -0.33555495738983154, 0.6447616815567017, 0.6892011165618896, 0.26133260130882263, 0.7735471129417419, 0.04314153268933296, 0.07465622574090958, -0.6993126273155212, 0.31155282258987427, 0.2912868559360504, 0.4046790301799774, 0.45938676595687866, -0.1282798945903778, 0.24400153756141663, 0.5426526665687561, -0.6878023743629456, -1.132214903831482, -0.1809016466140747, -1.1110578775405884, -0.2866814136505127, 1.2003077268600464, -0.24698515236377716, -0.5186989307403564, -0.1304074078798294, -0.40609580278396606, 0.5006765127182007, -0.6467337608337402, 0.6086922287940979, 0.6005591154098511, -0.4085831344127655, -0.15668822824954987, -0.37708884477615356, 0.729479193687439, 0.4678281247615814, -0.5729860067367554, 0.20365899801254272, 0.46065211296081543, 0.22028572857379913, 0.5830190777778625, 0.8910886645317078, -0.19008862972259521, 0.40839067101478577, 0.5310723185539246, 0.2136993706226349, -0.28706374764442444, -0.16858139634132385, -0.3266999125480652, 0.02923576720058918, -0.16827815771102905, -0.7642199993133545 ]
Riiid/sheep-duck-llama-2-70b-v1.1
Riiid
2023-10-13T00:59:15Z
7,377
17
transformers
[ "transformers", "pytorch", "llama", "text-generation", "Riiid", "llama-2", "sheep-duck-llama-2", "en", "arxiv:2306.02707", "license:llama2", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-09-27T17:00:27Z
--- thumbnail: >- https://cdn-uploads.huggingface.co/production/uploads/62fb1ef7e8c9c532aa7d19e4/NswB5XPkkOljeRh1xbMmR.png pipeline_tag: text-generation license: llama2 language: - en library_name: transformers tags: - Riiid - llama-2 - sheep-duck-llama-2 --- # sheep-duck-llama-2 <img src = "https://cdn-uploads.huggingface.co/production/uploads/62fb1ef7e8c9c532aa7d19e4/NswB5XPkkOljeRh1xbMmR.png" width="30%" height="30%"> This is a version 1.1 of Riiid/sheep-duck-llama-2. ## Model Details * **Developed by**: [Riiid](https://riiid.com/) * **Backbone Model**: [Riiid/sheep-duck-llama-2](https://huggingface.co/Riiid/sheep-duck-llama-2) * **Library**: [HuggingFace Transformers](https://github.com/huggingface/transformers) ## Dataset Details ### Used Datasets - Orca-style dataset - Alpaca-style dataset ### Prompt Template ``` ### System: {System} ### User: {User} ### Assistant: {Assistant} ``` ## Evaluation | Metric | Value | |-----------------------|-------| | ARC (25-shot) | 73.04 | | HellaSwag (10-shot) | 87.81 | | MMLU (5-shot) | 70.84 | | TruthfulQA (0-shot) | 64.58 | | Avg. | 74.07 | ## Limitations & Biases: Llama2 and fine-tuned variants are a new technology that carries risks with use. Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios. For these reasons, as with all LLMs, Llama 2 and any fine-tuned varient's potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate, biased or other objectionable responses to user prompts. Therefore, before deploying any applications of Llama 2 variants, developers should perform safety testing and tuning tailored to their specific applications of the model. Please see the Responsible Use Guide available at https://ai.meta.com/llama/responsible-use-guide/ ## License Disclaimer: This model is bound by the license & usage restrictions of the original Llama-2 model. And comes with no warranty or gurantees of any kind. ## Contact Us - [Riiid](https://riiid.com/) ## Citation: Please kindly cite using the following BibTeX: ```bibtex @article{platypus2023, title={Platypus: Quick, Cheap, and Powerful Refinement of LLMs}, author={Ariel N. Lee and Cole J. Hunter and Nataniel Ruiz}, booktitle={arXiv preprint arxiv:2308.07317}, year={2023} } ``` ``` @misc{mukherjee2023orca, title={Orca: Progressive Learning from Complex Explanation Traces of GPT-4}, author={Subhabrata Mukherjee and Arindam Mitra and Ganesh Jawahar and Sahaj Agarwal and Hamid Palangi and Ahmed Awadallah}, year={2023}, eprint={2306.02707}, archivePrefix={arXiv}, primaryClass={cs.CL} } ``` ``` @misc{Orca-best, title = {Orca-best: A filtered version of orca gpt4 dataset.}, author = {Shahul Es}, year = {2023}, publisher = {HuggingFace}, journal = {HuggingFace repository}, howpublished = {\url{https://huggingface.co/datasets/shahules786/orca-best/}, } ``` ``` @software{touvron2023llama2, title={Llama 2: Open Foundation and Fine-Tuned Chat Models}, author={Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu , Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, Thomas Scialom}, year={2023} } ```
[ -0.4659854471683502, -0.6780906319618225, 0.13090896606445312, 0.27735161781311035, -0.34412217140197754, 0.12807218730449677, 0.0806664377450943, -0.6718156337738037, 0.19754844903945923, 0.3288359045982361, -0.7739818692207336, -0.5600098967552185, -0.6569841504096985, -0.11940635740756989, -0.20828451216220856, 1.0652422904968262, -0.008757677860558033, -0.4527221620082855, -0.05642743781208992, -0.2686595022678375, -0.4592714011669159, -0.25966471433639526, -0.7557880878448486, -0.39987078309059143, 0.32441338896751404, 0.3485633432865143, 0.8490838408470154, 0.6584063768386841, 0.5064706802368164, 0.31482744216918945, -0.40123382210731506, 0.2656310200691223, -0.5020563006401062, -0.21758200228214264, 0.0924353376030922, -0.5375413298606873, -1.0358322858810425, 0.05899686738848686, 0.40716102719306946, 0.22246834635734558, -0.15850335359573364, 0.4453151226043701, 0.270413875579834, 0.5757328867912292, -0.2973165512084961, 0.3603788912296295, -0.40204572677612305, 0.07017195969820023, -0.3513459265232086, -0.16992029547691345, -0.03264741227030754, -0.2690509855747223, 0.0531294159591198, -0.7769745588302612, 0.04346037283539772, -0.0826377347111702, 1.3421155214309692, 0.3717412054538727, -0.43792131543159485, -0.029667438939213753, -0.40861034393310547, 0.8836966156959534, -0.9367130398750305, 0.328106552362442, 0.26433175802230835, 0.30334237217903137, -0.4888884127140045, -0.8367258906364441, -0.7007324695587158, 0.011653020977973938, -0.2003059834241867, 0.26875439286231995, -0.30525609850883484, -0.18893052637577057, 0.18692941963672638, 0.3632587492465973, -0.5749068856239319, 0.28158894181251526, -0.5208834409713745, -0.2629440724849701, 0.7765480279922485, 0.13234394788742065, 0.17562052607536316, -0.12811540067195892, -0.6719167828559875, -0.34144148230552673, -0.8278346061706543, 0.4812161326408386, 0.5065006017684937, 0.1521577537059784, -0.7849240303039551, 0.619210422039032, -0.11801587045192719, 0.3848727345466614, 0.0830397829413414, -0.5401926636695862, 0.6911938190460205, -0.5132042765617371, -0.18844389915466309, -0.37854570150375366, 0.8309882879257202, 0.5514122843742371, 0.13325084745883942, 0.34896135330200195, -0.12876443564891815, -0.005678120534867048, -0.09713318198919296, -0.7755402326583862, -0.09251659363508224, 0.37890106439590454, -0.46335309743881226, -0.2898407578468323, -0.11793190240859985, -0.9929987192153931, -0.26260215044021606, -0.2151874303817749, 0.2574002146720886, -0.1607206165790558, -0.6401046514511108, 0.28446903824806213, 0.14607469737529755, 0.6962608695030212, 0.13099679350852966, -0.7334510087966919, 0.34281179308891296, 0.5756819844245911, 0.8259997963905334, -0.16190741956233978, -0.19659851491451263, -0.12004920840263367, 0.05464114621281624, -0.2040640413761139, 0.8576041460037231, -0.26220303773880005, -0.4666985869407654, -0.26545047760009766, 0.07684052735567093, 0.06281456351280212, -0.505913257598877, 0.660573422908783, -0.3387278616428375, 0.24418054521083832, -0.26977410912513733, -0.24920523166656494, -0.44011709094047546, 0.1895442008972168, -0.48354172706604004, 1.2417412996292114, 0.17729663848876953, -0.7626956701278687, 0.29805755615234375, -0.6500096321105957, -0.17569459974765778, -0.2993534803390503, -0.11343499273061752, -0.8797659873962402, -0.3844122886657715, 0.3299690783023834, 0.3981613516807556, -0.3898879587650299, 0.2054162621498108, -0.44810813665390015, -0.2417980134487152, 0.061595380306243896, -0.12273140251636505, 0.9855398535728455, 0.2487071454524994, -0.6389960050582886, 0.18679825961589813, -0.70420902967453, -0.1518210619688034, 0.5257673859596252, -0.25623342394828796, 0.13594000041484833, 0.03881237655878067, -0.2676083743572235, 0.2993144989013672, 0.3590531647205353, -0.43916282057762146, 0.18058055639266968, -0.31103599071502686, 0.549931526184082, 0.7418364882469177, -0.017577309161424637, 0.29286983609199524, -0.6173455119132996, 0.5732880234718323, 0.0753684714436531, 0.6155720949172974, 0.07532165199518204, -0.8631949424743652, -0.895087718963623, -0.4522767961025238, -0.033650953322649, 0.6859378218650818, -0.35253289341926575, 0.6170629858970642, -0.0921754315495491, -0.7059378623962402, -0.34515947103500366, 0.16496191918849945, 0.431723952293396, 0.5995421409606934, 0.5019949078559875, -0.3341350555419922, -0.6086606383323669, -1.0749481916427612, -0.06787219643592834, -0.3109537959098816, -0.052101440727710724, 0.42302319407463074, 0.45989087224006653, -0.3429829776287079, 1.0059846639633179, -0.4689374268054962, -0.44220298528671265, -0.28203505277633667, -0.14408518373966217, 0.4214458763599396, 0.6272479295730591, 0.7863043546676636, -0.6661982536315918, -0.32349568605422974, -0.24533207714557648, -0.7336819767951965, -0.16806700825691223, 0.012753949500620365, -0.3496328294277191, 0.17704366147518158, 0.25061896443367004, -0.862845242023468, 0.6978599429130554, 0.6671764254570007, -0.41629937291145325, 0.5876622200012207, 0.001615257584489882, -0.08758819103240967, -1.0300110578536987, 0.11382527649402618, 0.08530932664871216, -0.11872802674770355, -0.4982883930206299, 0.007221469655632973, -0.1305493861436844, 0.17798717319965363, -0.5222755074501038, 0.6515207290649414, -0.39064687490463257, -0.10133151710033417, -0.045536648482084274, 0.25832250714302063, 0.07177451997995377, 0.6661632657051086, -0.206918403506279, 0.7289409041404724, 0.6502860188484192, -0.43361327052116394, 0.228029265999794, 0.4043591320514679, -0.35424837470054626, 0.4925210773944855, -0.9308632612228394, 0.1789742261171341, 0.0955108255147934, 0.6157233715057373, -1.2762744426727295, -0.22266820073127747, 0.490937739610672, -0.5152224898338318, 0.44323936104774475, -0.00017865265544969589, -0.3742731213569641, -0.5842477083206177, -0.6173980236053467, 0.43981003761291504, 0.7092685103416443, -0.5403278470039368, 0.5174798965454102, 0.4752148389816284, -0.11387944966554642, -0.7243043184280396, -0.8200662732124329, -0.18283236026763916, -0.5317109227180481, -0.8183833360671997, 0.34289249777793884, -0.2901841402053833, 0.03276907280087471, -0.21005286276340485, -0.20828214287757874, 0.09689678251743317, 0.06604274362325668, 0.2904512286186218, 0.47749513387680054, -0.20039460062980652, -0.23303519189357758, -0.0136933084577322, -0.3263334631919861, -0.007174311205744743, 0.0939922034740448, 0.5854349136352539, -0.22296379506587982, -0.37983712553977966, -0.7348746657371521, 0.07628955692052841, 0.5243688821792603, -0.3444991111755371, 0.5339993834495544, 0.7524864077568054, -0.2500055134296417, 0.11934084445238113, -0.7295975685119629, -0.2846257984638214, -0.5824106931686401, 0.334309458732605, -0.39236560463905334, -0.9664475917816162, 0.9627664685249329, 0.08087296038866043, 0.317599356174469, 0.8039191365242004, 0.5219791531562805, 0.03378846496343613, 0.9637119174003601, 0.5902178883552551, 0.06311778724193573, 0.46309906244277954, -0.5405001044273376, 0.09177756309509277, -1.1087661981582642, -0.7191789150238037, -0.4496127963066101, -0.5799735188484192, -0.64598149061203, -0.5079427361488342, 0.40209388732910156, 0.26559269428253174, -0.7007647752761841, 0.38294583559036255, -0.7316414713859558, 0.18012060225009918, 0.44645363092422485, 0.2211834341287613, 0.23908552527427673, 0.06111254170536995, -0.17168846726417542, -0.03874904662370682, -0.5493000149726868, -0.5499769449234009, 1.2157320976257324, 0.5412119626998901, 0.6467431783676147, 0.2925400137901306, 0.4582304060459137, -0.031706128269433975, 0.24773144721984863, -0.5617138147354126, 0.6082107424736023, 0.10923978686332703, -0.7549939751625061, -0.16421136260032654, -0.223295658826828, -1.186060905456543, 0.16709618270397186, -0.05421793460845947, -0.9113309383392334, 0.4069025218486786, 0.06506315618753433, -0.4764347970485687, 0.39126938581466675, -0.519027590751648, 0.6349337697029114, -0.15685898065567017, -0.1497824639081955, -0.10233906656503677, -0.8775734305381775, 0.6480989456176758, -0.019436489790678024, 0.2284088432788849, -0.3678790032863617, -0.3571818172931671, 0.754626452922821, -0.5727483630180359, 1.0046056509017944, -0.12818728387355804, -0.1262313276529312, 0.623699963092804, -0.040209513157606125, 0.7028887867927551, 0.26126334071159363, -0.09788904339075089, 0.4212157428264618, -0.20347917079925537, -0.36935955286026, -0.3121691048145294, 0.6661940217018127, -1.1949557065963745, -0.7705897092819214, -0.36298704147338867, -0.275225967168808, 0.04700488969683647, 0.059445738792419434, 0.32455769181251526, 0.2598320543766022, 0.37706565856933594, 0.21430106461048126, 0.5558375120162964, -0.3716765344142914, 0.4496285915374756, 0.5697862505912781, -0.21352165937423706, -0.48107749223709106, 0.6311801671981812, 0.16733211278915405, 0.3488238751888275, 0.11655786633491516, 0.21366780996322632, -0.45418471097946167, -0.5065132975578308, -0.30567190051078796, 0.5083109140396118, -0.5540422797203064, -0.5076785087585449, -0.5651829838752747, -0.35291001200675964, -0.23414693772792816, -0.008433331735432148, -0.583389163017273, -0.4195100665092468, -0.7029674053192139, -0.2547585666179657, 0.7526457905769348, 0.5936638712882996, -0.1982092708349228, 0.31169211864471436, -0.4030146300792694, 0.22559797763824463, 0.4008815288543701, 0.375310480594635, -0.0057803052477538586, -0.9118619561195374, 0.1691233366727829, 0.18683631718158722, -0.711724579334259, -0.6616512537002563, 0.34906893968582153, 0.27226054668426514, 0.7537303566932678, 0.20708969235420227, 0.00466200802475214, 0.9530777931213379, -0.1832289695739746, 1.1422785520553589, 0.31325578689575195, -0.7681586742401123, 0.6295350193977356, -0.45999911427497864, 0.1667921096086502, 0.2614419758319855, 0.25785455107688904, -0.22514647245407104, -0.2954181134700775, -0.8388698101043701, -1.0608516931533813, 0.7189012765884399, 0.34701141715049744, 0.14340808987617493, 0.1322716474533081, 0.5390387177467346, 0.16050639748573303, 0.035206057131290436, -0.7861218452453613, -0.5367754101753235, -0.3964550197124481, 0.047593358904123306, -0.021570155397057533, -0.34842467308044434, -0.1228465810418129, -0.3508357107639313, 0.7218257188796997, 0.019472192972898483, 0.5112904906272888, 0.25528281927108765, 0.24604733288288116, -0.2160378098487854, -0.03889346495270729, 0.932704746723175, 0.5659906268119812, -0.2588716447353363, -0.14111952483654022, 0.3376433253288269, -0.5960184931755066, -0.05349608138203621, 0.026949001476168633, 0.042939674109220505, -0.2512950599193573, 0.39832407236099243, 0.7842012643814087, 0.1454206258058548, -0.38571444153785706, 0.5343686938285828, 0.07877175509929657, -0.2816935181617737, -0.458692729473114, 0.15205909311771393, 0.20586231350898743, 0.6509666442871094, 0.4915527105331421, 0.19453710317611694, -0.039220500737428665, -0.3433600962162018, 0.11661765724420547, 0.3531734049320221, -0.06275025010108948, -0.5229218602180481, 0.9437934160232544, 0.045373860746622086, -0.28759849071502686, 0.47865527868270874, -0.06904085725545883, -0.4084518849849701, 0.8306707739830017, 0.5133956074714661, 0.6911712288856506, -0.3538719117641449, 0.06151028349995613, 0.598604679107666, 0.27102094888687134, -0.10537242144346237, 0.5217122435569763, 0.241151824593544, -0.5719836950302124, -0.3549807071685791, -0.5237197875976562, -0.3052898347377777, 0.45997804403305054, -0.6112271547317505, 0.5646147131919861, -0.55986088514328, -0.4687970280647278, -0.28358641266822815, 0.1940005123615265, -0.8082168102264404, 0.031807564198970795, 0.04796787351369858, 0.998420774936676, -0.6571879982948303, 0.6821123361587524, 0.5643729567527771, -0.4372234046459198, -1.1529828310012817, -0.379986435174942, 0.26313742995262146, -0.9936466813087463, 0.4283977150917053, 0.07276836782693863, -0.08305429667234421, 0.009355438873171806, -0.7381719350814819, -1.1950700283050537, 1.6136800050735474, 0.4165584444999695, -0.47308266162872314, 0.26682549715042114, 0.16688115894794464, 0.47958821058273315, -0.26743000745773315, 0.557843804359436, 0.6884061694145203, 0.6039177775382996, 0.3358194828033447, -1.1837284564971924, 0.2336413562297821, -0.40282130241394043, -0.07069914042949677, -0.06110173836350441, -1.3096596002578735, 1.1694055795669556, -0.34807664155960083, -0.16575419902801514, 0.2983601689338684, 0.7151056528091431, 0.7304229140281677, 0.25105029344558716, 0.47126251459121704, 0.6616472601890564, 0.6702737212181091, -0.1515899896621704, 1.0848876237869263, -0.1280415803194046, 0.57948237657547, 0.947319507598877, 0.011547167785465717, 0.8907362818717957, 0.23889262974262238, -0.6000454425811768, 0.7557889223098755, 0.9858244061470032, 0.02770305797457695, 0.5430411100387573, 0.15270258486270905, 0.04025310277938843, -0.08355538547039032, 0.0071043651551008224, -0.7872123718261719, 0.4166921377182007, 0.5084608197212219, -0.21057270467281342, -0.17532697319984436, -0.29335272312164307, 0.3304513096809387, -0.2800297439098358, -0.0035905998665839434, 0.6091352105140686, 0.18902096152305603, -0.3450971245765686, 1.0827337503433228, -0.20354153215885162, 0.8928268551826477, -0.7126032114028931, 0.04512559995055199, -0.5790531039237976, 0.11887558549642563, -0.4819492995738983, -0.891756534576416, 0.1560741364955902, -0.0818074494600296, 0.07919783145189285, 0.12173443287611008, 0.6336399912834167, -0.03988922759890556, -0.34833982586860657, 0.4390004873275757, 0.2788368761539459, 0.3256019949913025, 0.2907131314277649, -1.0587812662124634, 0.2805379331111908, 0.07633603364229202, -0.8944498300552368, 0.2793712615966797, 0.3071199357509613, -0.05722982808947563, 0.9076746106147766, 0.7001482248306274, -0.1574891358613968, 0.15781521797180176, -0.16626261174678802, 1.1531535387039185, -0.4309478998184204, -0.3754537105560303, -0.8524776697158813, 0.8451817631721497, -0.0602075420320034, -0.6367492079734802, 0.7160157561302185, 0.5075638294219971, 0.7655491828918457, 0.20066490769386292, 0.5802497863769531, -0.10589002072811127, 0.4934936761856079, -0.21547089517116547, 0.6235310435295105, -0.800598680973053, 0.4682377874851227, -0.16736111044883728, -1.093210220336914, -0.3958369791507721, 0.7981495261192322, -0.13334088027477264, 0.18319393694400787, 0.5565382838249207, 1.0484400987625122, -0.04839624837040901, -0.07987070828676224, -0.055126506835222244, 0.39335861802101135, 0.6328275203704834, 0.6730318665504456, 0.6633676290512085, -0.63551265001297, 0.7063702344894409, -0.30740484595298767, -0.34955906867980957, -0.31389886140823364, -1.0363527536392212, -0.9106138944625854, -0.42314842343330383, -0.48282086849212646, -0.40268316864967346, -0.14969177544116974, 0.8045715689659119, 0.8426775336265564, -0.7852951288223267, -0.2566774785518646, 0.02648632973432541, 0.07067164778709412, -0.2859201431274414, -0.17828048765659332, 0.5888800024986267, 0.104233518242836, -0.6476409435272217, 0.23213455080986023, 0.17176225781440735, 0.40756601095199585, -0.3315035402774811, -0.3019641935825348, -0.22220149636268616, 0.10371573269367218, 0.43499186635017395, 0.5031588673591614, -0.8953638076782227, -0.5470461249351501, -0.10945428162813187, -0.13620276749134064, 0.2768922746181488, 0.13230712711811066, -0.7458850741386414, 0.2082962989807129, 0.4687541723251343, 0.1803879290819168, 0.6831620931625366, -0.051297321915626526, 0.11668825894594193, -0.5671439170837402, 0.4241080582141876, -0.014751860871911049, 0.27326223254203796, 0.27399399876594543, -0.3303508162498474, 0.781361997127533, 0.26572418212890625, -0.6214872598648071, -0.8752259016036987, 0.11396557092666626, -1.3804421424865723, 0.12449298053979874, 1.3331797122955322, -0.306011825799942, -0.14238493144512177, -0.005070702638477087, -0.30566534399986267, 0.4236743748188019, -0.49170127511024475, 0.7291566133499146, 0.41328781843185425, -0.16223648190498352, -0.25803351402282715, -0.7524065375328064, 0.5192556977272034, 0.2077694833278656, -0.8092449307441711, -0.3135375380516052, 0.08457344025373459, 0.4797933101654053, 0.22476868331432343, 0.467410147190094, -0.3186122179031372, 0.11158839613199234, -0.1230803057551384, 0.09207750856876373, -0.24896137416362762, 0.06156380474567413, -0.06629238277673721, -0.146043062210083, -0.1340404748916626, -0.2074553668498993 ]
deepset/gbert-base
deepset
2023-05-05T07:00:24Z
7,371
27
transformers
[ "transformers", "pytorch", "tf", "safetensors", "fill-mask", "de", "dataset:wikipedia", "dataset:OPUS", "dataset:OpenLegalData", "arxiv:2010.10906", "license:mit", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
fill-mask
2022-03-02T23:29:05Z
--- language: de license: mit datasets: - wikipedia - OPUS - OpenLegalData --- # German BERT base Released, Oct 2020, this is a German BERT language model trained collaboratively by the makers of the original German BERT (aka "bert-base-german-cased") and the dbmdz BERT (aka bert-base-german-dbmdz-cased). In our [paper](https://arxiv.org/pdf/2010.10906.pdf), we outline the steps taken to train our model and show that it outperforms its predecessors. ## Overview **Paper:** [here](https://arxiv.org/pdf/2010.10906.pdf) **Architecture:** BERT base **Language:** German ## Performance ``` GermEval18 Coarse: 78.17 GermEval18 Fine: 50.90 GermEval14: 87.98 ``` See also: deepset/gbert-base deepset/gbert-large deepset/gelectra-base deepset/gelectra-large deepset/gelectra-base-generator deepset/gelectra-large-generator ## Authors Branden Chan: `branden.chan [at] deepset.ai` Stefan Schweter: `stefan [at] schweter.eu` Timo Möller: `timo.moeller [at] deepset.ai` ## About us ![deepset logo](https://workablehr.s3.amazonaws.com/uploads/account/logo/476306/logo) We bring NLP to the industry via open source! Our focus: Industry specific language models & large scale QA systems. Some of our work: - [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert) - [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad) - [FARM](https://github.com/deepset-ai/FARM) - [Haystack](https://github.com/deepset-ai/haystack/) Get in touch: [Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Slack](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai) By the way: [we're hiring!](http://www.deepset.ai/jobs)
[ -0.5163266062736511, -0.6571993827819824, 0.37761399149894714, 0.1191849336028099, -0.0062439111061394215, 0.007102359086275101, -0.4016212224960327, -0.5821196436882019, 0.18148067593574524, 0.4846024811267853, -0.6737008690834045, -0.761733889579773, -0.34127745032310486, -0.23084430396556854, -0.4410979747772217, 1.073357343673706, 0.01930440217256546, 0.420817106962204, 0.12284637242555618, -0.1564370095729828, -0.2532014548778534, -0.7415616512298584, -0.590347409248352, -0.5535874366760254, 0.5281469821929932, 0.3740147650241852, 0.6499143242835999, 0.24408447742462158, 0.5519598126411438, 0.2463647425174713, -0.1837579607963562, -0.3013065457344055, -0.43081843852996826, 0.16782169044017792, 0.05213823914527893, -0.16324175894260406, -0.4277491271495819, -0.27779701352119446, 0.5069631934165955, 0.9719799160957336, -0.2620779275894165, 0.29736170172691345, -0.2107929140329361, 0.8385047316551208, -0.5872520208358765, 0.12811370193958282, -0.48209768533706665, -0.039383161813020706, -0.14352795481681824, 0.5912222266197205, -0.3812606632709503, -0.40429434180259705, 0.21941211819648743, -0.22355638444423676, 0.3504205644130707, -0.4989892244338989, 1.1886534690856934, 0.03835694119334221, -0.21388573944568634, -0.14808951318264008, -0.7157431244850159, 0.4757724702358246, -0.9632288813591003, 0.6152151226997375, 0.11732466518878937, 0.5266619920730591, -0.16362015902996063, -1.0598385334014893, -0.4258350431919098, -0.3641485571861267, 0.12947599589824677, 0.028635269030928612, -0.19034229218959808, -0.12363485246896744, 0.0610189288854599, 0.5348005890846252, -0.7041385769844055, 0.27402254939079285, -0.4421156644821167, 0.03489121049642563, 0.688967227935791, -0.2437206506729126, 0.09896519780158997, 0.18855294585227966, -0.18125417828559875, -0.44692373275756836, -0.7962319850921631, -0.07472570985555649, 0.23483940958976746, 0.32838305830955505, -0.03311389312148094, 0.44723671674728394, -0.12881699204444885, 0.4936378002166748, 0.20623765885829926, 0.6163169741630554, 0.6765687465667725, -0.22088313102722168, -0.3954662084579468, 0.030893759801983833, 0.7430053949356079, -0.05569175258278847, 0.177804633975029, -0.2519426941871643, -0.42830875515937805, -0.1232624500989914, 0.35657137632369995, -0.7391698360443115, -0.4154163897037506, 0.36584025621414185, -0.5684441924095154, -0.21857362985610962, -0.0126568041741848, -0.5235942006111145, -0.30239051580429077, -0.06589663028717041, 0.5817805528640747, -0.6110402345657349, -0.4323950707912445, 0.1633009910583496, -0.12402713298797607, 0.44613754749298096, 0.12313295900821686, -0.9475317597389221, 0.2544015645980835, 0.7779677510261536, 0.5693067312240601, 0.08788061141967773, -0.3371816873550415, -0.23294292390346527, -0.14260663092136383, -0.4780164659023285, 0.5179425477981567, -0.1850776970386505, -0.17401772737503052, 0.19747652113437653, 0.0035320890601724386, 0.1848868727684021, -0.4508863389492035, 0.46935179829597473, -0.8161882162094116, 0.47317102551460266, -0.2110206037759781, -0.6639807820320129, -0.19725064933300018, 0.08743014186620712, -0.9544057846069336, 1.0295162200927734, 0.3516971468925476, -0.3629073202610016, 0.3848783075809479, -0.9180015325546265, -0.4200705289840698, 0.16855290532112122, -0.017076583579182625, -0.34825876355171204, -0.04039350524544716, 0.186929389834404, 0.3482467532157898, -0.08864224702119827, 0.2610723078250885, -0.3607725501060486, -0.5444087386131287, 0.05700241029262543, -0.06445246189832687, 1.2954248189926147, 0.2749103009700775, -0.5088553428649902, 0.18283359706401825, -0.847848117351532, 0.33162862062454224, 0.20304253697395325, -0.3996007442474365, 0.024968041107058525, -0.11682526767253876, 0.2430444359779358, 0.09798470884561539, 0.5000545382499695, -0.4043835401535034, 0.11215526610612869, -0.542330801486969, 0.3250030279159546, 0.7259369492530823, -0.20702806115150452, 0.43854960799217224, -0.013975834473967552, 0.3627343773841858, -0.14525184035301208, 0.33086133003234863, 0.06803391128778458, -0.4196382164955139, -0.9958944916725159, -0.16763563454151154, 0.7204253077507019, 0.6789858937263489, -0.4891687035560608, 1.022795557975769, -0.2322864681482315, -0.8757361769676208, -0.6465932130813599, 0.13883300125598907, 0.3525134325027466, 0.2878675162792206, 0.2491888701915741, -0.45843586325645447, -0.7151485681533813, -1.1335786581039429, 0.052315156906843185, -0.2507481873035431, -0.18569260835647583, 0.08929994702339172, 0.45656818151474, -0.6070184111595154, 0.7927486300468445, -0.3648618757724762, -0.1609288901090622, -0.2302308976650238, 0.2068203091621399, 0.6911606192588806, 0.5999301075935364, 0.86519455909729, -0.6658301949501038, -0.5313456058502197, -0.08927784860134125, -0.6818777322769165, 0.20400740206241608, 0.25940975546836853, -0.21255993843078613, 0.5262331366539001, 0.39854228496551514, -0.6759164929389954, -0.06209993734955788, 0.776698648929596, -0.36404696106910706, 0.4406012296676636, -0.06883221864700317, -0.22702455520629883, -1.183358073234558, 0.3489478826522827, -0.1110156923532486, -0.09895102679729462, -0.4702436625957489, 0.3658139705657959, -0.11181265115737915, -0.18198475241661072, -0.46734562516212463, 0.4119895100593567, -0.4688979983329773, -0.1674528568983078, 0.10932550579309464, -0.37790647149086, -0.3281475007534027, 0.5754256248474121, -0.11896038055419922, 0.9589468240737915, 0.4894166886806488, -0.5140080451965332, 0.44721725583076477, 0.4329085052013397, -0.6533774137496948, 0.09428264945745468, -0.8154186010360718, 0.2869727313518524, 0.112887904047966, 0.22523489594459534, -0.7693015933036804, -0.19037829339504242, 0.18747441470623016, -0.553131639957428, 0.2813497483730316, -0.12477973103523254, -0.7660295963287354, -0.560814380645752, -0.19113847613334656, -0.08172901719808578, 0.9323598742485046, -0.5916642546653748, 0.3077942430973053, 0.37007883191108704, -0.2950569689273834, -0.6873802542686462, -0.8581616878509521, 0.3349277079105377, 0.22103917598724365, -0.740902304649353, 0.4353046119213104, -0.14489422738552094, -0.21577303111553192, 0.2802368104457855, -0.012003389187157154, -0.5490042567253113, 0.21671809256076813, -0.019490325823426247, 0.18163324892520905, -0.5722057223320007, 0.28833767771720886, -0.12079454958438873, -0.019329087808728218, 0.13441434502601624, -0.24497492611408234, 0.7976207733154297, -0.7304404973983765, -0.32196757197380066, -0.19425679743289948, 0.44771456718444824, 0.33354800939559937, -0.14121699333190918, 0.6718422770500183, 0.8590086102485657, -0.4201448857784271, -0.12805010378360748, -0.6222373843193054, -0.32345840334892273, -0.486399382352829, 0.3821648359298706, -0.21921804547309875, -1.0412300825119019, 0.5244796872138977, 0.13364551961421967, 0.20900319516658783, 0.801200807094574, 0.7489992380142212, -0.3216744363307953, 0.9241502285003662, 0.98518967628479, -0.18380728363990784, 0.7315019965171814, -0.4886626601219177, 0.07707925885915756, -0.4195115268230438, 0.008244172669947147, -0.4547002613544464, -0.30448442697525024, -0.6679496765136719, -0.11586316674947739, 0.16906161606311798, 0.10124153643846512, -0.609982430934906, 0.5103923082351685, -0.567277729511261, 0.28913626074790955, 1.0812923908233643, 0.0056608691811561584, -0.06748095899820328, 0.12836764752864838, -0.17527863383293152, 0.14688587188720703, -0.7752681970596313, -0.5698919296264648, 1.2196401357650757, 0.3720381557941437, 0.5119099020957947, 0.044693004339933395, 0.9904611706733704, 0.4566483199596405, 0.16634152829647064, -0.48084330558776855, 0.4879612326622009, -0.23413917422294617, -0.9273660182952881, -0.44157615303993225, -0.281881183385849, -1.0313351154327393, -0.05591477453708649, -0.021923663094639778, -0.6077351570129395, 0.3133068084716797, 0.11610526591539383, -0.13216276466846466, 0.2704428434371948, -1.0011996030807495, 1.1009767055511475, -0.3889445960521698, 0.011546955443918705, -0.26475241780281067, -0.8910331130027771, 0.13661067187786102, -0.13221152126789093, -0.06106746941804886, -0.06107103079557419, 0.3498252034187317, 0.530021607875824, -0.6354179978370667, 0.9900202751159668, -0.2683295011520386, -0.2629687786102295, 0.2725308835506439, -0.028983524069190025, 0.42224645614624023, -0.07724819332361221, -0.27870693802833557, 0.653855562210083, -0.06272092461585999, -0.4646622836589813, -0.21901695430278778, 0.639529287815094, -0.8305485844612122, -0.25442349910736084, -0.36928898096084595, -0.1769358515739441, -0.2977583408355713, 0.5804449915885925, 0.31684568524360657, 0.13203728199005127, -0.6127815246582031, 0.3390897214412689, 0.7098069190979004, -0.20396892726421356, 0.37484461069107056, 0.5412452220916748, -0.06327302753925323, -0.49349984526634216, 0.833124041557312, -0.04425543174147606, -0.05799687281250954, 0.3829773962497711, -0.1134171262383461, -0.10028094053268433, -0.45417216420173645, -0.48268309235572815, 0.15854968130588531, -0.6887675523757935, -0.005355647765100002, -0.4729459285736084, -0.5896794199943542, -0.7352458238601685, -0.07776722311973572, -0.5336174368858337, -0.4253949522972107, -0.039591435343027115, -0.17215517163276672, 0.41118013858795166, 0.6954750418663025, -0.4188159704208374, 0.2245928943157196, -0.876667857170105, 0.03688642010092735, 0.3535069525241852, 0.6212751865386963, -0.18373604118824005, -0.019694849848747253, -0.5003299117088318, 0.32113760709762573, -0.029406415298581123, -0.6652185320854187, 0.2613324224948883, -0.012788387015461922, 0.7679798603057861, 0.11392432451248169, -0.16002866625785828, 0.1454179584980011, -0.6049773693084717, 0.9406894445419312, 0.2091042846441269, -0.9043768644332886, 0.5844722390174866, -0.4228910803794861, 0.3871691823005676, 0.8765478730201721, 0.26878151297569275, -0.7835106253623962, -0.23074418306350708, -0.7383617162704468, -1.1783721446990967, 0.5730342268943787, 0.23594355583190918, 0.3126489818096161, 0.007211622782051563, 0.009559355676174164, 0.2922236919403076, 0.4739741384983063, -0.646368145942688, -0.4217655062675476, -0.13854612410068512, -0.2015874832868576, -0.03940974548459053, -0.5872288942337036, -0.22505836188793182, -0.26761361956596375, 0.9554857611656189, 0.06276292353868484, 0.6561384201049805, 0.045247528702020645, -0.24347291886806488, -0.013154282234609127, 0.25718629360198975, 0.5504266619682312, 0.972936749458313, -0.6361096501350403, -0.21879124641418457, 0.07246049493551254, -0.4247502386569977, -0.09877605736255646, 0.5218939781188965, -0.45919790863990784, 0.4768267273902893, 0.43479183316230774, 0.8629757165908813, 0.11462976038455963, -0.7217872738838196, 0.478717178106308, 0.1773369014263153, -0.4651544690132141, -0.7451359033584595, 0.0708807110786438, 0.1557222604751587, 0.3784306049346924, 0.4672110676765442, -0.15482905507087708, 0.17305521667003632, -0.21892282366752625, 0.3567735552787781, 0.24901998043060303, -0.6070685982704163, -0.1359928846359253, 0.46606406569480896, 0.4327138662338257, -0.30891042947769165, 0.8648107647895813, -0.2595049738883972, -0.6110484004020691, 0.7490325570106506, 0.3351772725582123, 1.1633613109588623, 0.024604737758636475, 0.3788260519504547, 0.26708632707595825, 0.3487406075000763, 0.11727939546108246, 0.5927209258079529, 0.09672281891107559, -0.7590901255607605, -0.5365099310874939, -0.31033340096473694, -0.5696725845336914, 0.4186599552631378, -0.5782085061073303, 0.04766988754272461, -0.44549456238746643, -0.23887516558170319, -0.03957485035061836, 0.1157546266913414, -0.7408132553100586, 0.23371385037899017, 0.3461839556694031, 1.215159296989441, -0.5481855869293213, 0.8239225745201111, 0.9712449312210083, -0.6812036037445068, -0.49582865834236145, -0.06950851529836655, -0.2721549868583679, -0.9292625784873962, 0.6752497553825378, -0.05289119854569435, 0.026557421311736107, 0.04084927961230278, -0.8114509582519531, -0.9601837396621704, 0.9452877044677734, 0.42749089002609253, -0.5472759008407593, -0.19029280543327332, -0.16442419588565826, 0.7637958526611328, -0.07255201786756516, -0.10269153118133545, 0.31378138065338135, 0.4826076924800873, -0.09465395659208298, -0.9002313017845154, -0.08126956969499588, -0.5266308784484863, -0.01685257814824581, 0.16665630042552948, -0.579953134059906, 0.796054482460022, -0.11692897230386734, -0.05013608932495117, 0.22052691876888275, 0.6630197167396545, 0.15656068921089172, 0.006486900616437197, 0.5500425100326538, 0.6942709684371948, 0.8058300614356995, -0.11332425475120544, 1.0174096822738647, -0.3942401707172394, 0.402238667011261, 1.232837438583374, -0.369289368391037, 0.8730919361114502, 0.294860303401947, -0.20879803597927094, 0.8408517837524414, 0.6780062913894653, -0.535488486289978, 0.6727654337882996, 0.09598760306835175, -0.05609680339694023, -0.3268449008464813, 0.15512767434120178, -0.903738796710968, 0.22999216616153717, 0.13201101124286652, -0.4790566861629486, -0.3269362151622772, -0.2690880298614502, 0.005190830212086439, -0.21566995978355408, 0.042064521461725235, 0.6159480214118958, -0.10392904281616211, -0.48074057698249817, 0.7154221534729004, 0.06534542888402939, 0.5610217452049255, -0.8223971724510193, -0.016687387600541115, -0.23747938871383667, 0.4210571348667145, 0.16932708024978638, -0.77086341381073, 0.02341310866177082, -0.1326242834329605, -0.34143248200416565, -0.41686221957206726, 0.7333548665046692, -0.3116000294685364, -0.6551777124404907, 0.38215020298957825, 0.6546837687492371, 0.1577097475528717, 0.034206729382276535, -0.884588897228241, -0.06497548520565033, -0.1145707368850708, -0.32665812969207764, 0.11636190861463547, 0.2947480082511902, 0.056012701243162155, 0.5667219758033752, 0.6998831033706665, 0.1230199933052063, 0.03373091295361519, 0.333126038312912, 0.9257831573486328, -0.6533434987068176, -0.3590109348297119, -0.5504786968231201, 0.4744661748409271, -0.2656124532222748, -0.43785521388053894, 0.5505892038345337, 0.6806583404541016, 1.1083544492721558, -0.38450881838798523, 0.8527517318725586, -0.2010631561279297, 0.651117205619812, -0.3157287836074829, 0.9836034178733826, -0.5578357577323914, -0.1434149593114853, -0.17689111828804016, -0.9247108697891235, -0.1706571877002716, 0.6295406222343445, -0.02858738601207733, 0.3089523911476135, 0.6047143340110779, 0.5204207301139832, 0.01367976889014244, -0.25980430841445923, 0.03764265775680542, 0.39289912581443787, 0.2977106273174286, 0.5541406869888306, 0.6570953130722046, -0.5063769817352295, 0.674207329750061, -0.45192646980285645, 0.006890925578773022, -0.5777484774589539, -0.7779068946838379, -0.6707899570465088, -0.5416355729103088, -0.2751181125640869, -0.4652240574359894, 0.39236506819725037, 0.8051305413246155, 0.8599085211753845, -1.2501240968704224, -0.3988918960094452, -0.3399849236011505, 0.10965004563331604, -0.4947052597999573, -0.23030595481395721, 0.291627436876297, -0.42525291442871094, -0.6421923637390137, 0.5222358107566833, -0.07967673987150192, 0.012529502622783184, -0.32617512345314026, -0.005697228480130434, -0.3872423470020294, -0.2394787073135376, 0.5568438172340393, 0.4616280794143677, -0.5911579132080078, -0.17603999376296997, 0.1277659833431244, -0.495015025138855, 0.0010017306776717305, 0.5669853091239929, -0.6580349802970886, 0.12203242629766464, 0.5785010457038879, 0.7322522401809692, 0.5870150327682495, -0.3688421845436096, 1.047808051109314, -0.7569521069526672, 0.06174071133136749, 0.4496307969093323, 0.3426879048347473, 0.26464661955833435, -0.2968486547470093, 0.9746322631835938, 0.09044072031974792, -0.433418333530426, -0.8155288696289062, 0.12664121389389038, -0.9424267411231995, -0.5065838098526001, 1.1115823984146118, 0.14555752277374268, -0.11966902762651443, 0.20776747167110443, -0.07318617403507233, 0.2127222865819931, -0.4841274917125702, 0.7657213807106018, 0.856460452079773, 0.1704009771347046, 0.05885770916938782, -0.344802588224411, 0.28110596537590027, 0.3654514253139496, -0.671244204044342, -0.15005002915859222, 0.7447829246520996, 0.2460014969110489, 0.20000360906124115, 0.6648485660552979, 0.03053102269768715, 0.5002143383026123, -0.10673745721578598, 0.7580985426902771, -0.06003251299262047, -0.126212939620018, -0.3912820816040039, 0.017294682562351227, 0.06610532104969025, -0.3933582603931427 ]
sentence-transformers/all-MiniLM-L6-v1
sentence-transformers
2021-08-30T20:00:14Z
7,366
12
sentence-transformers
[ "sentence-transformers", "pytorch", "bert", "feature-extraction", "sentence-similarity", "en", "arxiv:1904.06472", "arxiv:2102.07033", "arxiv:2104.08727", "arxiv:1704.05179", "arxiv:1810.09305", "license:apache-2.0", "endpoints_compatible", "region:us" ]
sentence-similarity
2022-03-02T23:29:05Z
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity language: en license: apache-2.0 --- # all-MiniLM-L6-v1 This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. ## Usage (Sentence-Transformers) Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed: ``` pip install -U sentence-transformers ``` Then you can use the model like this: ```python from sentence_transformers import SentenceTransformer sentences = ["This is an example sentence", "Each sentence is converted"] model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v1') embeddings = model.encode(sentences) print(embeddings) ``` ## Usage (HuggingFace Transformers) Without [sentence-transformers](https://www.SBERT.net), you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings. ```python from transformers import AutoTokenizer, AutoModel import torch import torch.nn.functional as F #Mean Pooling - Take attention mask into account for correct averaging def mean_pooling(model_output, attention_mask): token_embeddings = model_output[0] #First element of model_output contains all token embeddings input_mask_expanded = attention_mask.unsqueeze(-1).expand(token_embeddings.size()).float() return torch.sum(token_embeddings * input_mask_expanded, 1) / torch.clamp(input_mask_expanded.sum(1), min=1e-9) # Sentences we want sentence embeddings for sentences = ['This is an example sentence', 'Each sentence is converted'] # Load model from HuggingFace Hub tokenizer = AutoTokenizer.from_pretrained('sentence-transformers/all-MiniLM-L6-v1') model = AutoModel.from_pretrained('sentence-transformers/all-MiniLM-L6-v1') # Tokenize sentences encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt') # Compute token embeddings with torch.no_grad(): model_output = model(**encoded_input) # Perform pooling sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask']) # Normalize embeddings sentence_embeddings = F.normalize(sentence_embeddings, p=2, dim=1) print("Sentence embeddings:") print(sentence_embeddings) ``` ## Evaluation Results For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name=sentence-transformers/all-MiniLM-L6-v1) ------ ## Background The project aims to train sentence embedding models on very large sentence level datasets using a self-supervised contrastive learning objective. We used the pretrained [`nreimers/MiniLM-L6-H384-uncased`](https://huggingface.co/nreimers/MiniLM-L6-H384-uncased) model and fine-tuned in on a 1B sentence pairs dataset. We use a contrastive learning objective: given a sentence from the pair, the model should predict which out of a set of randomly sampled other sentences, was actually paired with it in our dataset. We developped this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developped this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as intervention from Googles Flax, JAX, and Cloud team member about efficient deep learning frameworks. ## Intended uses Our model is intented to be used as a sentence and short paragraph encoder. Given an input text, it ouptuts a vector which captures the semantic information. The sentence vector may be used for information retrieval, clustering or sentence similarity tasks. By default, input text longer than 128 word pieces is truncated. ## Training procedure ### Pre-training We use the pretrained [`nreimers/MiniLM-L6-H384-uncased`](https://huggingface.co/nreimers/MiniLM-L6-H384-uncased) model. Please refer to the model card for more detailed information about the pre-training procedure. ### Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. #### Hyper parameters We trained ou model on a TPU v3-8. We train the model during 100k steps using a batch size of 1024 (128 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository: `train_script.py`. #### Training data We use the concatenation from multiple datasets to fine-tune our model. The total number of sentence pairs is above 1 billion sentences. We sampled each dataset given a weighted probability which configuration is detailed in the `data_config.json` file. | Dataset | Paper | Number of training tuples | |--------------------------------------------------------|:----------------------------------------:|:--------------------------:| | [Reddit comments (2015-2018)](https://github.com/PolyAI-LDN/conversational-datasets/tree/master/reddit) | [paper](https://arxiv.org/abs/1904.06472) | 726,484,430 | | [S2ORC](https://github.com/allenai/s2orc) Citation pairs (Abstracts) | [paper](https://aclanthology.org/2020.acl-main.447/) | 116,288,806 | | [WikiAnswers](https://github.com/afader/oqa#wikianswers-corpus) Duplicate question pairs | [paper](https://doi.org/10.1145/2623330.2623677) | 77,427,422 | | [PAQ](https://github.com/facebookresearch/PAQ) (Question, Answer) pairs | [paper](https://arxiv.org/abs/2102.07033) | 64,371,441 | | [S2ORC](https://github.com/allenai/s2orc) Citation pairs (Titles) | [paper](https://aclanthology.org/2020.acl-main.447/) | 52,603,982 | | [S2ORC](https://github.com/allenai/s2orc) (Title, Abstract) | [paper](https://aclanthology.org/2020.acl-main.447/) | 41,769,185 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_xml) (Title, Body) pairs | - | 25,316,456 | | [MS MARCO](https://microsoft.github.io/msmarco/) triplets | [paper](https://doi.org/10.1145/3404835.3462804) | 9,144,553 | | [GOOAQ: Open Question Answering with Diverse Answer Types](https://github.com/allenai/gooaq) | [paper](https://arxiv.org/pdf/2104.08727.pdf) | 3,012,496 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) (Title, Answer) | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 1,198,260 | | [Code Search](https://huggingface.co/datasets/code_search_net) | - | 1,151,414 | | [COCO](https://cocodataset.org/#home) Image captions | [paper](https://link.springer.com/chapter/10.1007%2F978-3-319-10602-1_48) | 828,395| | [SPECTER](https://github.com/allenai/specter) citation triplets | [paper](https://doi.org/10.18653/v1/2020.acl-main.207) | 684,100 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) (Question, Answer) | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 681,164 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) (Title, Question) | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 659,896 | | [SearchQA](https://huggingface.co/datasets/search_qa) | [paper](https://arxiv.org/abs/1704.05179) | 582,261 | | [Eli5](https://huggingface.co/datasets/eli5) | [paper](https://doi.org/10.18653/v1/p19-1346) | 325,475 | | [Flickr 30k](https://shannon.cs.illinois.edu/DenotationGraph/) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/229/33) | 317,695 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_xml) Duplicate questions (titles) | | 304,525 | | AllNLI ([SNLI](https://nlp.stanford.edu/projects/snli/) and [MultiNLI](https://cims.nyu.edu/~sbowman/multinli/) | [paper SNLI](https://doi.org/10.18653/v1/d15-1075), [paper MultiNLI](https://doi.org/10.18653/v1/n18-1101) | 277,230 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_xml) Duplicate questions (bodies) | | 250,519 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_xml) Duplicate questions (titles+bodies) | | 250,460 | | [Sentence Compression](https://github.com/google-research-datasets/sentence-compression) | [paper](https://www.aclweb.org/anthology/D13-1155/) | 180,000 | | [Wikihow](https://github.com/pvl/wikihow_pairs_dataset) | [paper](https://arxiv.org/abs/1810.09305) | 128,542 | | [Altlex](https://github.com/chridey/altlex/) | [paper](https://aclanthology.org/P16-1135.pdf) | 112,696 | | [Quora Question Triplets](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs) | - | 103,663 | | [Simple Wikipedia](https://cs.pomona.edu/~dkauchak/simplification/) | [paper](https://www.aclweb.org/anthology/P11-2117/) | 102,225 | | [Natural Questions (NQ)](https://ai.google.com/research/NaturalQuestions) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/1455) | 100,231 | | [SQuAD2.0](https://rajpurkar.github.io/SQuAD-explorer/) | [paper](https://aclanthology.org/P18-2124.pdf) | 87,599 | | [TriviaQA](https://huggingface.co/datasets/trivia_qa) | - | 73,346 | | **Total** | | **1,124,818,467** |
[ -0.3392041325569153, -0.8222713470458984, 0.29880622029304504, 0.05877599120140076, -0.10717931389808655, -0.2883579134941101, -0.21273770928382874, -0.249495729804039, 0.3476825952529907, 0.1935870498418808, -0.5162516236305237, -0.5340209603309631, -0.590036153793335, 0.13321220874786377, -0.30916929244995117, 1.111832857131958, 0.004962238483130932, -0.08237344771623611, -0.370617538690567, -0.3133178651332855, -0.09061969816684723, -0.47449052333831787, -0.5376181602478027, -0.021902471780776978, 0.4801591634750366, 0.36416566371917725, 0.4690956771373749, 0.5139682292938232, 0.3619694709777832, 0.24566857516765594, -0.10223139077425003, 0.27862945199012756, -0.6240676045417786, -0.14418676495552063, 0.15989170968532562, -0.4063605070114136, -0.20769816637039185, 0.06855637580156326, 0.4821212887763977, 0.6004033088684082, -0.027723772451281548, 0.29997718334198, 0.2071327269077301, 0.5105218291282654, -0.3897152245044708, 0.26213014125823975, -0.5374429821968079, 0.030475908890366554, -0.18322032690048218, 0.036583371460437775, -0.34071728587150574, -0.35540011525154114, 0.2720322012901306, -0.5222319960594177, 0.2131437361240387, 0.26347967982292175, 1.021443247795105, 0.27916067838668823, -0.3511712849140167, -0.40693506598472595, -0.16619743406772614, 0.7788816094398499, -0.7667460441589355, 0.20043079555034637, 0.4916137456893921, -0.0722249373793602, -0.00036207903758622706, -0.7414085865020752, -0.7294912934303284, -0.06592776626348495, -0.47589176893234253, 0.1797654926776886, -0.3013090193271637, -0.14656051993370056, 0.28738823533058167, 0.40044742822647095, -0.817655622959137, 0.04725165665149689, -0.3731643557548523, -0.1331557333469391, 0.7344322800636292, 0.16122835874557495, 0.25551852583885193, -0.5656165480613708, -0.25403842329978943, -0.27038636803627014, -0.32958075404167175, 0.19305956363677979, 0.28629371523857117, 0.2367876023054123, -0.47522100806236267, 0.6980788707733154, -0.058722298592329025, 0.5931839942932129, 0.037987880408763885, 0.05335688963532448, 0.5677387714385986, -0.6240636110305786, -0.18300236761569977, -0.2599739134311676, 1.1563465595245361, 0.32986265420913696, 0.10398846119642258, 0.08357543498277664, 0.11179010570049286, -0.08066292107105255, -0.13222618401050568, -0.7696400284767151, -0.30658403038978577, 0.29489588737487793, -0.4299541115760803, -0.36043691635131836, 0.08205288648605347, -0.8230912089347839, -0.13365061581134796, -0.011305246502161026, 0.3548535406589508, -0.5164273381233215, -0.155140221118927, 0.18955199420452118, -0.12412319332361221, 0.2740336060523987, -0.0622982457280159, -0.6976087689399719, 0.2661201059818268, 0.37423577904701233, 0.8773213624954224, -0.015754779800772667, -0.26512813568115234, -0.30894988775253296, -0.1576899141073227, -0.06987016648054123, 0.6893260478973389, -0.414387583732605, -0.08901427686214447, -0.007822437211871147, 0.09701292961835861, -0.4625294804573059, -0.35259875655174255, 0.5821974873542786, -0.2939079999923706, 0.6586260795593262, -0.1960258185863495, -0.7925817966461182, -0.06408055126667023, 0.19850972294807434, -0.5133211612701416, 1.277958869934082, 0.19350890815258026, -1.1397230625152588, 0.0685325562953949, -0.6026187539100647, -0.17613841593265533, -0.20854902267456055, -0.2068488597869873, -0.6211335062980652, -0.08204873651266098, 0.48994526267051697, 0.5365239381790161, -0.22109052538871765, 0.1488470435142517, -0.39836421608924866, -0.25798299908638, 0.21313031017780304, -0.05688043683767319, 1.1650267839431763, 0.11579370498657227, -0.302226185798645, -0.0447235032916069, -0.6295393705368042, -0.0963701605796814, 0.3721213638782501, -0.10169006884098053, -0.23629598319530487, -0.27705541253089905, 0.16730912029743195, 0.35809195041656494, 0.24485675990581512, -0.6338843107223511, 0.1752101480960846, -0.5768004655838013, 0.618407666683197, 0.6817700862884521, -0.018522877246141434, 0.32215413451194763, -0.4632072448730469, 0.3961229622364044, 0.1135605052113533, 0.026857834309339523, -0.03988529369235039, -0.5367149114608765, -1.059240460395813, -0.2034638375043869, 0.4327999949455261, 0.5125681757926941, -0.802880585193634, 0.7558507323265076, -0.5039877891540527, -0.5351186394691467, -0.8809624910354614, 0.0938950628042221, 0.4327622354030609, 0.5964016914367676, 0.6401979923248291, 0.001652213977649808, -0.6120477914810181, -0.9891676902770996, -0.14707623422145844, -0.04542510211467743, 0.03481188043951988, 0.5056678652763367, 0.7797342538833618, -0.32438352704048157, 0.9296925067901611, -0.7142238616943359, -0.3916531205177307, -0.29514187574386597, 0.04598027467727661, 0.254964143037796, 0.5543160438537598, 0.5908700227737427, -0.7264952063560486, -0.6424160599708557, -0.4292590916156769, -0.8669810891151428, 0.015550404787063599, 0.0029223717283457518, -0.2584060728549957, 0.31606635451316833, 0.6362277269363403, -0.6917188167572021, 0.39425787329673767, 0.4895865321159363, -0.3876071274280548, 0.3130512535572052, -0.09803859144449234, -0.15231285989284515, -1.26996910572052, 0.24371889233589172, 0.06736408919095993, -0.10986379534006119, -0.5041854977607727, -0.03159291669726372, -0.12577208876609802, -0.02969971112906933, -0.35054561495780945, 0.5578407645225525, -0.3900332450866699, 0.0627983957529068, 0.12626288831233978, 0.3386186957359314, 0.02205454371869564, 0.7291980385780334, -0.11883749812841415, 0.6796806454658508, 0.3988320231437683, -0.3851563334465027, 0.18168382346630096, 0.6224336624145508, -0.375379353761673, 0.28288277983665466, -0.7959766387939453, 0.24371519684791565, -0.16771525144577026, 0.4528821110725403, -0.9833571314811707, -0.0946769267320633, 0.2840494215488434, -0.5986921787261963, 0.06266908347606659, 0.06444352865219116, -0.6454128623008728, -0.5225355625152588, -0.5461996793746948, 0.3255091607570648, 0.4240887761116028, -0.44186821579933167, 0.3949701189994812, 0.3544684946537018, -0.047698840498924255, -0.5344067811965942, -0.9508098363876343, -0.16662339866161346, -0.17629635334014893, -0.7994059920310974, 0.3723863661289215, -0.26151177287101746, 0.020912054926156998, 0.19342374801635742, 0.11141350120306015, 0.1394059956073761, -0.19700391590595245, 0.12548503279685974, 0.1370735913515091, -0.09750518947839737, 0.23645704984664917, -0.06467634439468384, -0.08986089378595352, -0.15931418538093567, -0.18525521457195282, 0.6909464597702026, -0.4219585657119751, 0.023135412484407425, -0.5672166347503662, 0.32109570503234863, 0.2702130973339081, -0.12978331744670868, 0.9901158809661865, 0.8470901250839233, -0.3579470217227936, 0.16712220013141632, -0.5122655034065247, -0.16939182579517365, -0.45162346959114075, 0.32030361890792847, -0.3421120345592499, -1.1007707118988037, 0.45567840337753296, 0.4229712188243866, 0.0696137547492981, 0.854843258857727, 0.42255061864852905, -0.3232649266719818, 0.8114983439445496, 0.4216703176498413, -0.09292937815189362, 0.46318915486335754, -0.6712663173675537, 0.2798718214035034, -0.9187051057815552, -0.25055551528930664, -0.41730716824531555, -0.29768678545951843, -0.8768491148948669, -0.5873657464981079, 0.35921791195869446, -0.07188275456428528, -0.23016253113746643, 0.3731367886066437, -0.5151245594024658, 0.08417851477861404, 0.6084420084953308, 0.2977243661880493, -0.03307545557618141, 0.0667644664645195, -0.22559915482997894, -0.15924902260303497, -0.8464435338973999, -0.3343552052974701, 1.1656653881072998, 0.3463165760040283, 0.47511476278305054, -0.0716075599193573, 0.7817078232765198, 0.14584346115589142, -0.06759343296289444, -0.5212963819503784, 0.5717278122901917, -0.3243860900402069, -0.46051836013793945, -0.20910848677158356, -0.5850513577461243, -1.0208454132080078, 0.20821428298950195, -0.31997552514076233, -0.6545502543449402, 0.31598883867263794, 0.02308199368417263, -0.45856839418411255, 0.17447732388973236, -0.727968156337738, 1.0030909776687622, -0.06920257955789566, -0.34180155396461487, -0.032464321702718735, -0.8368424773216248, 0.1924286037683487, 0.21469242870807648, 0.21918192505836487, -0.07084690034389496, -0.04738916829228401, 1.0566843748092651, -0.4226171672344208, 0.7285310626029968, -0.1348060667514801, 0.2738494873046875, 0.3419502377510071, -0.2700141966342926, 0.455138236284256, 0.009805136360228062, -0.178047314286232, 0.18549980223178864, 0.05319598317146301, -0.6595624685287476, -0.5093338489532471, 0.7905648946762085, -0.9880684614181519, -0.3643912672996521, -0.5974032878875732, -0.4631787836551666, -0.06319648772478104, 0.12333343923091888, 0.4226113259792328, 0.40289658308029175, -0.030262410640716553, 0.5092350244522095, 0.6645841002464294, -0.40103837847709656, 0.43812432885169983, 0.13544613122940063, -0.07232341915369034, -0.5220248699188232, 0.7247819304466248, 0.14199742674827576, 0.03353767842054367, 0.47296664118766785, 0.2764117419719696, -0.32649606466293335, -0.37513676285743713, -0.266779363155365, 0.42865338921546936, -0.5539094805717468, -0.22034692764282227, -1.11299467086792, -0.35716333985328674, -0.7153255939483643, -0.04190738871693611, -0.2349846363067627, -0.4569292664527893, -0.57570481300354, -0.314044713973999, 0.3971857726573944, 0.4308617115020752, 0.01391780935227871, 0.1871066391468048, -0.42456018924713135, 0.2821868062019348, 0.27666643261909485, 0.0016558053903281689, -0.19006526470184326, -0.7337872982025146, -0.31038352847099304, 0.17294028401374817, -0.19979029893875122, -0.6301698684692383, 0.4466852843761444, 0.34749841690063477, 0.4707146883010864, 0.08136548846960068, 0.16297855973243713, 0.7579880952835083, -0.16506536304950714, 0.936388373374939, 0.0386129766702652, -0.7057075500488281, 0.6637189388275146, -0.2646990120410919, 0.4162725508213043, 0.8026154041290283, 0.4767869710922241, -0.4267753064632416, -0.3266635835170746, -0.8674386739730835, -0.9766051769256592, 0.6964901089668274, 0.4610820412635803, 0.1429077833890915, -0.07515493035316467, 0.38731086254119873, -0.07275257259607315, 0.10478661209344864, -0.9280079007148743, -0.438570499420166, -0.1975277066230774, -0.6010977029800415, -0.2505073845386505, -0.30819064378738403, -0.09355894476175308, -0.49436846375465393, 0.7830454111099243, -0.1669320911169052, 0.6200886964797974, 0.39407849311828613, -0.3855625092983246, 0.28892967104911804, 0.07036697864532471, 0.5102115273475647, 0.3010949194431305, -0.27550068497657776, 0.11411617696285248, 0.2169787734746933, -0.3221111595630646, -0.1969427466392517, 0.3647608160972595, -0.23352956771850586, -0.04841676726937294, 0.47309279441833496, 0.8676377534866333, 0.17198359966278076, -0.5550858974456787, 0.7492699027061462, -0.27083706855773926, -0.28370267152786255, -0.4002101421356201, -0.08280441910028458, 0.17204229533672333, 0.1424359679222107, 0.19247622787952423, -0.03787873685359955, 0.06439456343650818, -0.4717361032962799, 0.27119019627571106, 0.22688014805316925, -0.3699471950531006, -0.10976136475801468, 0.5179927945137024, 0.019291942939162254, -0.011948825791478157, 0.7714795470237732, -0.2331564724445343, -0.4736277461051941, 0.5312371850013733, 0.3554539382457733, 0.7509307861328125, 0.16908806562423706, 0.1278943419456482, 0.672329843044281, 0.3541204631328583, 0.17077839374542236, 0.13325153291225433, 0.14088253676891327, -0.6966853141784668, 0.0054605454206466675, -0.711005449295044, 0.023976165801286697, 0.14129148423671722, -0.6383112072944641, 0.2256965935230255, -0.2802668809890747, 0.02703798934817314, 0.06734361499547958, 0.2995641827583313, -0.8468109965324402, 0.06317277252674103, 0.030264222994446754, 0.8703610897064209, -0.9276280403137207, 0.8080830574035645, 0.6031619906425476, -0.6513745188713074, -0.7104286551475525, 0.02680891379714012, -0.0638807937502861, -0.8381170630455017, 0.3493826389312744, 0.3608318269252777, 0.10752494633197784, 0.08263485133647919, -0.6431285738945007, -0.9346134066581726, 1.2667205333709717, 0.2992459237575531, -0.43335914611816406, -0.12403026968240738, 0.13970790803432465, 0.684047281742096, -0.5120590329170227, 0.468368262052536, 0.5916147232055664, 0.32381632924079895, -0.04510626196861267, -0.7346165180206299, 0.18045581877231598, -0.5366120338439941, 0.1643243432044983, -0.20381014049053192, -0.8518576622009277, 0.7251052856445312, -0.058000121265649796, -0.12410081177949905, 0.07284656167030334, 0.751506507396698, 0.38732245564460754, 0.25460121035575867, 0.5033469200134277, 0.9366708993911743, 0.7111451029777527, -0.08575662970542908, 1.097430944442749, -0.2163175791501999, 0.6157404184341431, 1.1434918642044067, 0.15790556371212006, 0.9418793320655823, 0.44495683908462524, -0.17803964018821716, 0.7660662531852722, 0.8167394995689392, -0.08518072962760925, 0.5330260396003723, 0.09400013089179993, 0.0836777314543724, -0.0945390909910202, -0.1291963905096054, -0.4188305735588074, 0.45964154601097107, 0.2582225501537323, -0.43771427869796753, 0.07323303073644638, 0.13877557218074799, 0.2754512131214142, 0.0573250874876976, 0.05762244015932083, 0.8040740489959717, 0.1861177235841751, -0.5381966233253479, 0.6682447791099548, -0.11046060174703598, 0.9161086678504944, -0.4750868082046509, 0.296686589717865, -0.35775259137153625, 0.15115265548229218, -0.3357015550136566, -0.6627710461616516, 0.37661007046699524, -0.01247331965714693, -0.15900492668151855, -0.21945032477378845, 0.49216657876968384, -0.5865618586540222, -0.6654440760612488, 0.36256417632102966, 0.3944491446018219, 0.1467786729335785, 0.17204731702804565, -1.0941526889801025, 0.029804391786456108, 0.1196480244398117, -0.42595648765563965, 0.22986571490764618, 0.18226765096187592, 0.2817397117614746, 0.49140816926956177, 0.6009106636047363, -0.22047822177410126, 0.11527767032384872, -0.06327653676271439, 0.9068246483802795, -0.6756244897842407, -0.5328704714775085, -0.7562059760093689, 0.5979995131492615, -0.3417232036590576, -0.43918511271476746, 0.824724018573761, 0.8229134678840637, 0.9729397296905518, 0.07280825078487396, 0.6833109855651855, -0.4077319800853729, 0.5691935420036316, -0.4682236909866333, 0.5768092274665833, -0.7461104989051819, 0.10252583771944046, -0.22938846051692963, -0.6570390462875366, -0.27251163125038147, 0.7181421518325806, -0.432868093252182, 0.12199173867702484, 0.8788211345672607, 0.9489271640777588, -0.0012666922993957996, -0.036575935781002045, -0.0017122694989666343, 0.37811142206192017, 0.21317581832408905, 0.7687384486198425, 0.41300085186958313, -0.9435346126556396, 0.7638549208641052, -0.4651341140270233, -0.13576090335845947, -0.34474581480026245, -0.6125510931015015, -0.8720325827598572, -0.7602749466896057, -0.48130059242248535, -0.49723878502845764, 0.027524929493665695, 1.0275838375091553, 0.6864146590232849, -0.8234445452690125, -0.16640806198120117, -0.12131781131029129, -0.023709384724497795, -0.08501318842172623, -0.28263822197914124, 0.7005531787872314, -0.16665920615196228, -0.6477368474006653, 0.1499892920255661, -0.0864415392279625, -0.0564848892390728, -0.02466779202222824, -0.060746412724256516, -0.7000782489776611, 0.003506273264065385, 0.5414929389953613, 0.16231080889701843, -0.6263135075569153, -0.2614921033382416, 0.05657539889216423, -0.3767087757587433, 0.15453988313674927, 0.45143574476242065, -0.5004305243492126, 0.3704952299594879, 0.552031934261322, 0.5607038736343384, 0.9155440926551819, -0.09995343536138535, 0.23868227005004883, -0.7568979859352112, 0.22525374591350555, 0.23981572687625885, 0.3965042233467102, 0.47566527128219604, -0.41112110018730164, 0.7135613560676575, 0.39298519492149353, -0.5817277431488037, -0.7206693887710571, -0.1182234063744545, -1.1913803815841675, -0.12939459085464478, 1.2896860837936401, -0.29084470868110657, -0.2059379667043686, 0.07128674536943436, -0.1458822637796402, 0.3101077377796173, -0.3808678686618805, 0.6181375980377197, 0.6145300269126892, -0.28085947036743164, -0.3811691403388977, -0.42321768403053284, 0.4690706729888916, 0.5049542188644409, -0.9194566607475281, -0.20274975895881653, 0.25912436842918396, 0.36193716526031494, 0.190848246216774, 0.7171885967254639, -0.046092066913843155, -0.02746002934873104, -0.02920355275273323, -0.08439604938030243, -0.03606551140546799, 0.03959491476416588, -0.38023513555526733, 0.19657103717327118, -0.33535078167915344, -0.18661683797836304 ]
PygmalionAI/pygmalion-2.7b
PygmalionAI
2023-01-12T19:20:02Z
7,354
49
transformers
[ "transformers", "pytorch", "tensorboard", "gpt_neo", "text-generation", "text generation", "conversational", "en", "license:creativeml-openrail-m", "has_space", "region:us" ]
conversational
2023-01-05T14:57:04Z
--- license: creativeml-openrail-m language: - en thumbnail: tags: - text generation - conversational inference: false --- # Pygmalion 2.7B ## Model description Pymalion 2.7B is a proof-of-concept dialogue model based on EleutherAI's [gpt-neo-2.7B](https://huggingface.co/EleutherAI/gpt-neo-2.7B). **Warning:** This model is **NOT** suitable for use by minors. It **will** output X-rated content under certain circumstances. ## Training data The fine-tuning dataset consisted of 56MB of dialogue data gathered from multiple sources, which includes both real _and_ partially machine-generated conversations. ## Training procedure Model weights were initialized from the `uft-2.7b` ConvoGPT model made available in [this commit](https://huggingface.co/hakurei/convogpt/tree/07707377dee0aa7d1ee5363ef660b13eb5b73f9d/2.7b-uft). The model was then further fine-tuned on ~48.5 million tokens for ~5k steps on 4 NVIDIA A40s using DeepSpeed. ## Intended use ### The easy way We provide a notebook with a Gradio UI for playing around with the model without having to manually format inputs. This notebook can be found [here](https://github.com/PygmalionAI/gradio-ui/blob/master/notebooks/GPU.ipynb). ### The manual way The model can be used as a regular text generation model, but it'll perform best if the input prompt adheres to the following format: ``` [CHARACTER]'s Persona: [A few sentences about the character you want the model to play] <START> [DIALOGUE HISTORY] You: [Your input message here] [CHARACTER]: ``` Where `[CHARACTER]` is, as you can probably guess, the name of the character you want the model to portray, `<START>` should be used verbatim as a delimiter token to separate persona and scenario data from the dialogue, and `[DIALOGUE HISTORY]` is chat history so the model can have some conversational context to draw from. Ideally it'll be pairs of messages like: ``` [CHARACTER]: [some dialogue here] You: [your response to the dialogue above] ``` Apart from chat history, you can also just add example conversations in `[DIALOGUE HISTORY]` to show how the character should speak - ideally at the beginning, so it doesn't get confused as to what's conversation history vs. character definition. ## Known issues We haven't played around with the model enough to enumerate them. Feel free to give us some feedback!
[ -0.23986859619617462, -0.9231734871864319, 0.3278234899044037, 0.12146956473588943, -0.5577292442321777, -0.25301963090896606, -0.030405977740883827, -0.5161162614822388, 0.1476234793663025, 0.5017637014389038, -0.8010255098342896, -0.30170220136642456, -0.5457280278205872, -0.2273145169019699, -0.05275355651974678, 1.2329548597335815, 0.2427794188261032, 0.03159717842936516, 0.006550197955220938, 0.27784860134124756, -0.6106340885162354, -0.4576106071472168, -0.969822108745575, -0.5604871511459351, 0.4072555601596832, 0.26403307914733887, 0.8137753009796143, 0.35964757204055786, 0.017595848068594933, 0.28173044323921204, -0.35894978046417236, -0.04327783361077309, -0.5880643725395203, 0.07056552916765213, -0.20173443853855133, -0.34899580478668213, -0.4552028179168701, 0.05688599497079849, 0.5998629331588745, 0.3243941068649292, -0.06478271633386612, 0.06783851236104965, -0.004023160319775343, 0.0622435063123703, -0.23962463438510895, 0.4310755133628845, -0.408784419298172, -0.03522563725709915, -0.09154866635799408, 0.20610009133815765, -0.20977525413036346, -0.23141597211360931, 0.42500510811805725, -0.7391912341117859, 0.06089799851179123, 0.022703910246491432, 0.9922767281532288, -0.07510009407997131, -0.3664434254169464, -0.3096383213996887, -0.4850064218044281, 0.5103400945663452, -1.0614150762557983, -0.09351751208305359, 0.2906686067581177, 0.4126061797142029, -0.22878630459308624, -1.028059959411621, -0.4925592243671417, -0.37410834431648254, -0.08149591088294983, 0.15489979088306427, -0.28455033898353577, 0.24434278905391693, 0.5680652856826782, 0.40008288621902466, -0.7276537418365479, -0.11443302035331726, -0.40118613839149475, -0.2609148323535919, 0.4002055823802948, 0.3670864403247833, 0.3949020504951477, -0.34257471561431885, -0.24213573336601257, -0.12067905813455582, -0.4784736633300781, 0.22181738913059235, 0.5603699088096619, 0.048412665724754333, -0.27550795674324036, 0.605909526348114, -0.015989599749445915, 0.5208921432495117, 0.3448143005371094, -0.26939085125923157, -0.06016947701573372, -0.28102654218673706, -0.3041280508041382, 0.07803677767515182, 1.0416573286056519, 0.6422249674797058, 0.14980056881904602, 0.22775204479694366, 0.014124350622296333, 0.009755105711519718, 0.17636699974536896, -1.2569189071655273, -0.6189375519752502, 0.2519680857658386, -0.4451025724411011, -0.2896614372730255, -0.26583999395370483, -0.6866157650947571, -0.4175798296928406, -0.12244198471307755, 0.39515939354896545, -0.6232462525367737, -0.48478177189826965, -0.09123636782169342, -0.1989297717809677, -0.08354394137859344, 0.49845266342163086, -1.0166124105453491, 0.19589713215827942, 0.4979383945465088, 0.8356088995933533, 0.3154909312725067, -0.2049633115530014, -0.2071944624185562, -0.09512002766132355, -0.1478990614414215, 0.5540730357170105, -0.3042239248752594, -0.4775707423686981, -0.12169989943504333, 0.18931472301483154, -0.21724195778369904, -0.3472660481929779, 0.5800710916519165, -0.016454506665468216, 0.6707258820533752, 0.1088327020406723, -0.6689205765724182, -0.4072132408618927, 0.09586431086063385, -0.4452054798603058, 0.7573221921920776, 0.4375860095024109, -0.9196804761886597, 0.019222239032387733, -0.5248199105262756, -0.21934497356414795, 0.27745866775512695, -0.06816795468330383, -0.3344648480415344, 0.058249764144420624, 0.0374126136302948, 0.2736980617046356, -0.4999977648258209, 0.6102538704872131, -0.2442832738161087, -0.5187990665435791, 0.35051092505455017, -0.3554019033908844, 0.8738269805908203, 0.24944695830345154, -0.34834375977516174, -0.05090567097067833, -0.4499349892139435, 0.01626797579228878, 0.13972261548042297, -0.2108066976070404, 0.07397034019231796, -0.11167911440134048, 0.15435247123241425, 0.25888291001319885, 0.3540794253349304, -0.39875027537345886, 0.3197297751903534, -0.5517197847366333, 0.49804171919822693, 0.36921975016593933, 0.14583852887153625, 0.327542245388031, -0.5120782852172852, 0.5435363054275513, -0.03818788006901741, 0.265954852104187, -0.27459368109703064, -0.8862956166267395, -0.6647615432739258, -0.23314084112644196, 0.2984886169433594, 0.7519834637641907, -0.7169792652130127, 0.3688816726207733, 0.23379239439964294, -0.5951869487762451, -0.2927111089229584, -0.23782333731651306, 0.5715547204017639, 0.6652226448059082, -0.008804415352642536, -0.27716565132141113, -0.7495799660682678, -0.9226199984550476, -0.09831838309764862, -0.711081326007843, -0.18026460707187653, 0.5547708868980408, 0.4257044792175293, -0.28057873249053955, 0.6920006275177002, -0.3972456157207489, 0.17659053206443787, -0.5398226380348206, 0.27809715270996094, 0.33402177691459656, 0.6929780840873718, 0.46513015031814575, -0.5508954524993896, -0.28803786635398865, -0.14538542926311493, -0.7828066945075989, -0.20905131101608276, -0.1380336433649063, -0.10330253839492798, -0.06116617098450661, 0.19548019766807556, -0.9032930135726929, 0.45472604036331177, 0.5318542122840881, -0.558484673500061, 0.5530007481575012, -0.07325688749551773, 0.11256694048643112, -1.476639747619629, 0.252020001411438, 0.14231857657432556, -0.2696636915206909, -0.676487147808075, 0.06661003082990646, -0.2555824816226959, -0.40862762928009033, -0.5758501291275024, 0.7428082823753357, -0.17266680300235748, 0.23501728475093842, -0.20157918334007263, 0.07826162874698639, -0.015326857566833496, 0.5804656147956848, 0.11802124977111816, 0.6385470032691956, 0.5798540115356445, -0.5473951101303101, 0.6757214665412903, 0.3802238702774048, -0.40719667077064514, 0.5066418051719666, -1.0686423778533936, 0.38482868671417236, 0.06432152539491653, 0.36931127309799194, -0.9785510897636414, -0.4100058674812317, 0.9300661683082581, -0.7560480237007141, 0.4161566197872162, -0.7965991497039795, -0.45085811614990234, -0.2530607283115387, 0.02256537787616253, 0.2996303141117096, 0.7287783622741699, -0.32409629225730896, 0.6507871747016907, 0.433798611164093, -0.38964736461639404, -0.09804122149944305, -0.46994125843048096, 0.11808302998542786, -0.44424858689308167, -0.9517713785171509, 0.21867427229881287, -0.21441860496997833, -0.07723716646432877, -0.3394697904586792, 0.28846409916877747, -0.05629832670092583, 0.03390917181968689, 0.4179079532623291, 0.15690726041793823, 0.020908933132886887, -0.14017023146152496, 0.24909543991088867, -0.0534350611269474, -0.01084172073751688, -0.2571854293346405, 0.7520194053649902, 0.06126033142209053, 0.11433997750282288, -0.7398154735565186, 0.3267671763896942, 0.504626989364624, -0.00819430686533451, 0.39506420493125916, 0.7324573993682861, -0.481842964887619, 0.3045192062854767, -0.19248422980308533, -0.11735264211893082, -0.41547927260398865, 0.5464445352554321, -0.4111379384994507, -0.7852118015289307, 0.6206217408180237, -0.24642983078956604, -0.044138260185718536, 0.3863028883934021, 0.6782085299491882, 0.00163724971935153, 1.2923575639724731, 0.3804471790790558, 0.1449158489704132, 0.6778078675270081, -0.2682015001773834, 0.029200611636042595, -1.0505448579788208, -0.4715845286846161, -0.2743622064590454, -0.1964162290096283, -0.6745904684066772, -0.24737069010734558, 0.18103399872779846, 0.39918041229248047, -0.2932448387145996, 0.5945325493812561, -0.30853691697120667, 0.25721275806427, 0.5892546772956848, 0.09618479758501053, -0.08017166703939438, -0.01664004847407341, 0.008290537633001804, -0.18997319042682648, -0.7734124064445496, -0.6256240010261536, 0.8573386073112488, 0.6873239874839783, 0.757662296295166, 0.24793066084384918, 0.6368040442466736, -0.15885193645954132, 0.07966813445091248, -0.8002069592475891, 0.4966697692871094, -0.044009383767843246, -0.818608283996582, -0.2254672348499298, -0.5033225417137146, -0.8642285466194153, 0.2513924837112427, -0.11876824498176575, -1.2399592399597168, 0.09530173987150192, 0.13304226100444794, -0.4837509095668793, 0.056934747844934464, -0.8265532851219177, 1.258048176765442, -0.058837179094552994, -0.2714170813560486, 0.06275102496147156, -0.6941435933113098, 0.54655522108078, 0.4325811564922333, -0.27210375666618347, -0.04916336014866829, 0.31842729449272156, 0.7204713821411133, -0.4710281789302826, 0.965844988822937, -0.26887577772140503, 0.007235128432512283, 0.591057538986206, 0.3304905891418457, 0.4792836308479309, 0.677402675151825, 0.2911737263202667, 0.054061129689216614, 0.2875904440879822, -0.08537939935922623, -0.5061806440353394, 0.7235887050628662, -0.7737433314323425, -0.40968796610832214, -0.5805708765983582, -0.5877804756164551, 0.0901336818933487, 0.024429526180028915, 0.5276321768760681, 0.646473228931427, -0.42905446887016296, 0.05226510018110275, 0.6592932939529419, -0.18720771372318268, 0.30348050594329834, 0.3961649239063263, -0.5177912712097168, -0.7259920835494995, 0.7397960424423218, -0.12580986320972443, 0.13525792956352234, 0.028969157487154007, 0.29117336869239807, -0.4302710294723511, -0.24855567514896393, -0.8785215020179749, 0.2177319973707199, -0.43862223625183105, -0.022684667259454727, -0.6862710118293762, -0.12496457993984222, -0.49038511514663696, 0.38067862391471863, -0.23873718082904816, -0.44840365648269653, -0.5393003225326538, 0.2840940058231354, 0.2731033265590668, 0.5426408648490906, 0.1930246353149414, 0.6703795790672302, -0.5821012854576111, 0.1844029575586319, 0.4322636127471924, 0.05357266217470169, -0.22077707946300507, -0.8635490536689758, -0.27216559648513794, 0.388067364692688, -0.5137977004051208, -0.9569482803344727, 0.5133952498435974, 0.1548604667186737, 0.40705499053001404, 0.3950622081756592, -0.2859714925289154, 0.4891197979450226, -0.30154117941856384, 1.0199475288391113, 0.2765616178512573, -0.8321829438209534, 0.6715248823165894, -0.5970451235771179, 0.3853282034397125, 0.4412803649902344, 0.15784592926502228, -0.8501882553100586, -0.23608432710170746, -0.8836286067962646, -0.6039265990257263, 0.9049738049507141, 0.495140939950943, 0.23450037837028503, -0.06657006591558456, 0.5007309913635254, -0.053213752806186676, 0.29161128401756287, -0.574695348739624, -0.07835520803928375, -0.43453842401504517, -0.23439976572990417, -0.1324755847454071, -0.386531800031662, -0.11738615483045578, -0.33192744851112366, 0.7117527723312378, -0.1991441696882248, 0.4434061646461487, 0.16029007732868195, -0.024694180116057396, -0.14915543794631958, -0.07728315889835358, 0.6380375027656555, 0.5702687501907349, -0.5115699768066406, -0.19149188697338104, -0.1321375072002411, -0.5103213787078857, -0.1385333091020584, 0.37286415696144104, -0.3467109501361847, 0.29233887791633606, 0.16356106102466583, 1.2329171895980835, 0.2587033808231354, -0.436984121799469, 0.434114009141922, -0.41586166620254517, -0.1667235791683197, -0.3420434594154358, 0.18780437111854553, 0.19669996201992035, 0.5049583911895752, -0.026069775223731995, -0.16615360975265503, 0.23905546963214874, -0.8273249268531799, -0.07117308676242828, 0.18206721544265747, -0.35688328742980957, -0.3202744126319885, 0.6442389488220215, 0.21297255158424377, -0.5784868001937866, 0.7241958379745483, -0.28759250044822693, -0.5882771611213684, 0.5986154675483704, 0.8082441687583923, 0.851007342338562, -0.1966594159603119, 0.4218870997428894, 0.5914613008499146, 0.1561385691165924, -0.21570555865764618, 0.172746479511261, 0.19134639203548431, -0.4753207266330719, -0.2280208319425583, -0.41596364974975586, -0.46956002712249756, 0.3772260248661041, -0.3718073070049286, 0.24208329617977142, -0.7304534316062927, -0.3659781217575073, -0.15846404433250427, 0.2961425185203552, -0.36841803789138794, 0.29162153601646423, 0.18486042320728302, 0.7270899415016174, -0.7440189719200134, 0.7588867545127869, 0.7965856194496155, -0.5693512558937073, -0.8343608975410461, -0.17131546139717102, -0.050934210419654846, -0.512711226940155, 0.28555384278297424, 0.16384775936603546, 0.3622458875179291, 0.06346838176250458, -0.7342525720596313, -0.5132290124893188, 1.3428133726119995, 0.48532524704933167, -0.6041727662086487, -0.23635971546173096, -0.12366629391908646, 0.4900519549846649, -0.6259083151817322, 0.6388821005821228, 0.4344833493232727, 0.26061007380485535, 0.29744458198547363, -1.000858187675476, 0.007192352786660194, -0.4265753924846649, 0.29998013377189636, -0.020058652386069298, -0.7095698714256287, 1.1262263059616089, 0.07620608061552048, -0.2693415582180023, 0.6924391388893127, 0.5147783160209656, 0.3607517182826996, 0.4043899178504944, 0.28331106901168823, 0.6418251991271973, 0.663618266582489, -0.23945456743240356, 1.1699905395507812, -0.43752169609069824, 0.4321771264076233, 1.230718970298767, 0.0355648435652256, 0.2918858230113983, 0.2836717963218689, 0.10682173818349838, 0.43670839071273804, 0.9423469305038452, 0.012619271874427795, 0.5788254141807556, 0.28756430745124817, -0.26148512959480286, -0.29934874176979065, -0.19616864621639252, -0.46781477332115173, 0.2707516551017761, 0.2779867947101593, -0.49386483430862427, 0.07736624032258987, -0.2791166603565216, 0.1942959576845169, -0.3433314859867096, -0.19611719250679016, 0.7919639945030212, 0.09772279113531113, -0.7367286682128906, 0.4528193771839142, 0.18280674517154694, 0.5806826949119568, -0.7226207852363586, -0.2881051301956177, -0.4583960473537445, 0.09576436877250671, 0.06600341200828552, -0.623185932636261, -0.1858803927898407, -0.10446266829967499, -0.05489492043852806, 0.17104898393154144, 0.8051525950431824, -0.6052300333976746, -0.5909824371337891, -0.029926147311925888, 0.3810409903526306, 0.5035748481750488, -0.2847672998905182, -0.8286347389221191, 0.05605365335941315, -0.01749093271791935, -0.021442102268338203, 0.321731299161911, 0.5160435438156128, 0.03269519656896591, 0.5428537726402283, 0.44737327098846436, -0.17418424785137177, -0.276705265045166, 0.2928503453731537, 0.82981938123703, -0.3752448558807373, -0.462252676486969, -0.669877290725708, 0.7092944383621216, -0.12457392364740372, -0.7547411322593689, 0.6043749451637268, 0.6118946671485901, 0.6891298890113831, -0.12696526944637299, 0.6914545297622681, -0.21704192459583282, 0.38175588846206665, -0.5455809235572815, 0.7091938257217407, -0.2990172803401947, 0.042150575667619705, -0.46762320399284363, -0.9490164518356323, 0.14434334635734558, 1.0012965202331543, -0.00886597204953432, 0.18842105567455292, 0.6488259434700012, 0.9680261611938477, -0.0017898615915328264, 0.14996886253356934, 0.3523321747779846, 0.1752513349056244, 0.2227969616651535, 1.0234365463256836, 1.154396891593933, -0.799402117729187, 0.40861281752586365, -0.2092682421207428, -0.302459716796875, -0.2516334354877472, -0.6944683194160461, -1.2561026811599731, -0.43040695786476135, -0.3959503173828125, -0.7646018266677856, 0.2693568170070648, 1.0125036239624023, 0.773334264755249, -0.5071474313735962, -0.3929496705532074, -0.08834198117256165, -0.11262140423059464, -0.060892246663570404, -0.16254566609859467, -0.158700630068779, 0.20862267911434174, -0.8704631328582764, 0.33169025182724, -0.18642204999923706, 0.3803761303424835, -0.20794092118740082, -0.3384084403514862, -0.22269102931022644, -0.05325254052877426, 0.26164960861206055, 0.3196502923965454, -0.6198219656944275, -0.2852429151535034, -0.23395133018493652, 0.018447361886501312, -0.06906012445688248, 0.948851466178894, -0.6483519077301025, 0.3601314425468445, 0.37775278091430664, -0.03858312964439392, 0.7899642586708069, -0.07537791877985, 0.6720072627067566, -0.6206392049789429, 0.26697733998298645, 0.24321255087852478, 0.39847829937934875, 0.409426748752594, -0.480412095785141, 0.30573269724845886, 0.36171701550483704, -0.595813512802124, -0.537712812423706, 0.3846394717693329, -0.8990024328231812, -0.12684787809848785, 1.1936830282211304, -0.2692689299583435, -0.24849644303321838, 0.02052702195942402, -0.9482673406600952, 0.5364744663238525, -0.6813055872917175, 0.5525412559509277, 0.7015734314918518, -0.01271459273993969, -0.4987190067768097, -0.37813448905944824, 0.5382248759269714, 0.13786761462688446, -0.5797968506813049, -0.011641869321465492, 0.670485258102417, 0.3592692017555237, 0.04180952161550522, 0.6271704435348511, -0.21450844407081604, 0.4946145713329315, 0.18929697573184967, 0.03793048858642578, -0.17227672040462494, -0.30063602328300476, -0.4247168004512787, -0.20486174523830414, 0.05778878182172775, 0.009275756776332855 ]
h2oai/h2ogpt-oig-oasst1-512-6_9b
h2oai
2023-06-02T22:20:22Z
7,354
16
transformers
[ "transformers", "pytorch", "gpt_neox", "text-generation", "gpt", "llm", "large language model", "open-source", "en", "dataset:h2oai/h2ogpt-oig-oasst1-instruct-cleaned-v1", "dataset:h2oai/openassistant_oasst1_h2ogpt", "dataset:h2oai/h2ogpt-fortune2000-personalized", "dataset:h2oai/h2ogpt-oig-oasst1-instruct-cleaned-v3", "license:apache-2.0", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-04-18T06:13:02Z
--- license: apache-2.0 language: - en library_name: transformers inference: false thumbnail: https://h2o.ai/etc.clientlibs/h2o/clientlibs/clientlib-site/resources/images/favicon.ico tags: - gpt - llm - large language model - open-source datasets: - h2oai/h2ogpt-oig-oasst1-instruct-cleaned-v1 - h2oai/openassistant_oasst1_h2ogpt - h2oai/h2ogpt-fortune2000-personalized - h2oai/h2ogpt-oig-oasst1-instruct-cleaned-v3 --- # h2oGPT Model Card ## Summary H2O.ai's `h2ogpt-oig-oasst1-512-6_9b` is a 6.9 billion parameter instruction-following large language model licensed for commercial use. - Base model: [EleutherAI/pythia-6.9b](https://huggingface.co/EleutherAI/pythia-6.9b) - Fine-tuning dataset: [h2oai/h2ogpt-oig-oasst1-instruct-cleaned-v1](https://huggingface.co/datasets/h2oai/h2ogpt-oig-oasst1-instruct-cleaned-v1) and [h2oai/openassistant_oasst1_h2ogpt](https://huggingface.co/datasets/h2oai/openassistant_oasst1_h2ogpt) and [h2oai/h2ogpt-fortune2000-personalized](https://huggingface.co/datasets/h2oai/h2ogpt-fortune2000-personalized) and [h2oai/h2ogpt-oig-oasst1-instruct-cleaned-v3](https://huggingface.co/datasets/h2oai/h2ogpt-oig-oasst1-instruct-cleaned-v3) - Data-prep and fine-tuning code: [H2O.ai GitHub](https://github.com/h2oai/h2ogpt) - Training logs: [zip](https://huggingface.co/h2oai/h2ogpt-oig-oasst1-512-6.9b/blob/main/pythia-6.9b.h2ogpt-oig-oasst1-instruct-cleaned-v1.json.1_epochs.5fc91911bc2bfaaf3b6c2de577c4b0ae45a07a4a.7.zip) and [zip](https://huggingface.co/h2oai/h2ogpt-oig-oasst1-512-6.9b/blob/main/h2ogpt-oig-oasst1-512-6.9b.h2oaiopenassistant_oasst1_h2ogpt.2_epochs.e35e2e06e0af2f7dceac2e16e3646c90ccce4ec0.1.zip) and [zip](https://huggingface.co/h2oai/h2ogpt-oig-oasst1-512-6.9b/blob/main/h2ogpt-oig-oasst1-512-6.9b.h2oaih2ogpt-oig-oasst1-instruct-cleaned-v3.1_epochs.e48f9debb0d2bd8d866fa5668bbbb51c317c553c.1.zip) ## Chatbot - Run your own chatbot: [H2O.ai GitHub](https://github.com/h2oai/h2ogpt) [![H2O.ai GitHub](https://user-images.githubusercontent.com/6147661/232930822-e7170e4d-8aa1-4f7a-ad70-ece9cdd8b0cb.png)](https://github.com/h2oai/h2ogpt) ## Usage To use the model with the `transformers` library on a machine with GPUs, first make sure you have the `transformers` and `accelerate` libraries installed. ```bash pip install transformers==4.28.1 pip install accelerate==0.18.0 ``` ```python import torch from transformers import pipeline generate_text = pipeline(model="h2oai/h2ogpt-oig-oasst1-512-6_9b", torch_dtype=torch.bfloat16, trust_remote_code=True, device_map="auto", prompt_type='human_bot') res = generate_text("Why is drinking water so healthy?", max_new_tokens=100) print(res[0]["generated_text"]) ``` Alternatively, if you prefer to not use `trust_remote_code=True` you can download [instruct_pipeline.py](https://huggingface.co/h2oai/h2ogpt-oig-oasst1-512-6.9b/blob/main/h2oai_pipeline.py), store it alongside your notebook, and construct the pipeline yourself from the loaded model and tokenizer: ```python import torch from h2oai_pipeline import H2OTextGenerationPipeline from transformers import AutoModelForCausalLM, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("h2oai/h2ogpt-oig-oasst1-512-6_9b", padding_side="left") model = AutoModelForCausalLM.from_pretrained("h2oai/h2ogpt-oig-oasst1-512-6_9b", torch_dtype=torch.bfloat16, device_map="auto") generate_text = H2OTextGenerationPipeline(model=model, tokenizer=tokenizer, prompt_type='human_bot') res = generate_text("Why is drinking water so healthy?", max_new_tokens=100) print(res[0]["generated_text"]) ``` ## Model Architecture ``` GPTNeoXForCausalLM( (gpt_neox): GPTNeoXModel( (embed_in): Embedding(50432, 4096) (layers): ModuleList( (0-31): 32 x GPTNeoXLayer( (input_layernorm): LayerNorm((4096,), eps=1e-05, elementwise_affine=True) (post_attention_layernorm): LayerNorm((4096,), eps=1e-05, elementwise_affine=True) (attention): GPTNeoXAttention( (rotary_emb): RotaryEmbedding() (query_key_value): Linear(in_features=4096, out_features=12288, bias=True) (dense): Linear(in_features=4096, out_features=4096, bias=True) ) (mlp): GPTNeoXMLP( (dense_h_to_4h): Linear(in_features=4096, out_features=16384, bias=True) (dense_4h_to_h): Linear(in_features=16384, out_features=4096, bias=True) (act): GELUActivation() ) ) ) (final_layer_norm): LayerNorm((4096,), eps=1e-05, elementwise_affine=True) ) (embed_out): Linear(in_features=4096, out_features=50432, bias=False) ) ``` ## Model Configuration ```json GPTNeoXConfig { "_name_or_path": "h2oai/h2ogpt-oig-oasst1-512-6_9b", "architectures": [ "GPTNeoXForCausalLM" ], "bos_token_id": 0, "custom_pipeline": { "text-generation": { "impl": "h2oai_pipeline.H2OTextGenerationPipeline", "pt": "AutoModelForCausalLM" } }, "eos_token_id": 0, "hidden_act": "gelu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 16384, "layer_norm_eps": 1e-05, "max_position_embeddings": 2048, "model_type": "gpt_neox", "num_attention_heads": 32, "num_hidden_layers": 32, "rotary_emb_base": 10000, "rotary_pct": 0.25, "tie_word_embeddings": false, "torch_dtype": "float16", "transformers_version": "4.28.1", "use_cache": true, "use_parallel_residual": true, "vocab_size": 50432 } ``` ## Model Validation Model validation results using [EleutherAI lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness). [eval source code](https://github.com/h2oai/h2ogpt/issues/125#issue-1702311702) | Task |Version| Metric |Value | |Stderr| |-------------|------:|--------|-----:|---|-----:| |arc_easy | 0|acc |0.6591|± |0.0097| | | |acc_norm|0.6178|± |0.0100| |arc_challenge| 0|acc |0.3174|± |0.0136| | | |acc_norm|0.3558|± |0.0140| |openbookqa | 0|acc |0.2540|± |0.0195| | | |acc_norm|0.3580|± |0.0215| |winogrande | 0|acc |0.6069|± |0.0137| |piqa | 0|acc |0.7486|± |0.0101| | | |acc_norm|0.7546|± |0.0100| |hellaswag | 0|acc |0.4843|± |0.0050| | | |acc_norm|0.6388|± |0.0048| |boolq | 1|acc |0.6193|± |0.0085| ## Disclaimer Please read this disclaimer carefully before using the large language model provided in this repository. Your use of the model signifies your agreement to the following terms and conditions. - Biases and Offensiveness: The large language model is trained on a diverse range of internet text data, which may contain biased, racist, offensive, or otherwise inappropriate content. By using this model, you acknowledge and accept that the generated content may sometimes exhibit biases or produce content that is offensive or inappropriate. The developers of this repository do not endorse, support, or promote any such content or viewpoints. - Limitations: The large language model is an AI-based tool and not a human. It may produce incorrect, nonsensical, or irrelevant responses. It is the user's responsibility to critically evaluate the generated content and use it at their discretion. - Use at Your Own Risk: Users of this large language model must assume full responsibility for any consequences that may arise from their use of the tool. The developers and contributors of this repository shall not be held liable for any damages, losses, or harm resulting from the use or misuse of the provided model. - Ethical Considerations: Users are encouraged to use the large language model responsibly and ethically. By using this model, you agree not to use it for purposes that promote hate speech, discrimination, harassment, or any form of illegal or harmful activities. - Reporting Issues: If you encounter any biased, offensive, or otherwise inappropriate content generated by the large language model, please report it to the repository maintainers through the provided channels. Your feedback will help improve the model and mitigate potential issues. - Changes to this Disclaimer: The developers of this repository reserve the right to modify or update this disclaimer at any time without prior notice. It is the user's responsibility to periodically review the disclaimer to stay informed about any changes. By using the large language model provided in this repository, you agree to accept and comply with the terms and conditions outlined in this disclaimer. If you do not agree with any part of this disclaimer, you should refrain from using the model and any content generated by it.
[ -0.29553690552711487, -0.821356475353241, 0.41237759590148926, 0.13005119562149048, -0.21874813735485077, -0.08672970533370972, -0.23973579704761505, -0.46661466360092163, 0.1258479207754135, 0.34536346793174744, -0.5029013156890869, -0.5685965418815613, -0.6726865172386169, -0.1879698485136032, 0.025194812566041946, 0.8958231210708618, -0.03490739315748215, -0.32992979884147644, 0.059288255870342255, 0.06848680973052979, -0.17217232286930084, -0.39228832721710205, -0.7995951771736145, -0.3837818503379822, 0.27741479873657227, 0.22472678124904633, 0.6665197014808655, 0.8088240027427673, 0.39496099948883057, 0.3178001642227173, -0.19139830768108368, 0.01871279627084732, -0.4474838972091675, -0.19125404953956604, 0.07279126346111298, -0.257868230342865, -0.7079721093177795, -0.02392399311065674, 0.5700139999389648, 0.30486971139907837, -0.11486069113016129, 0.36680108308792114, 0.24470336735248566, 0.4681396782398224, -0.507960319519043, 0.4241617023944855, -0.3969689905643463, -0.14260506629943848, -0.08982469886541367, 0.05706564709544182, -0.26847606897354126, -0.033590950071811676, 0.3583005666732788, -0.6824753880500793, 0.002947766100987792, 0.20621174573898315, 1.3773316144943237, 0.2702019512653351, -0.28280121088027954, -0.26962384581565857, -0.45464375615119934, 0.812669038772583, -1.0738202333450317, 0.329633504152298, 0.4477045238018036, 0.045664478093385696, -0.002053670585155487, -0.8139758110046387, -0.5588093996047974, -0.1609356552362442, -0.14620272815227509, 0.27549147605895996, -0.3216392397880554, -0.02975897118449211, 0.3211526870727539, 0.23974190652370453, -0.7413454055786133, 0.07737308740615845, -0.501362681388855, -0.31145548820495605, 0.76629638671875, 0.12838192284107208, 0.28424549102783203, -0.49009379744529724, -0.4264070689678192, -0.21292515099048615, -0.4427081048488617, 0.1376403421163559, 0.5076112151145935, 0.17709185183048248, -0.7376695871353149, 0.5770567655563354, -0.21450482308864594, 0.5488321781158447, -0.06548967212438583, -0.18572089076042175, 0.6373205780982971, -0.36791354417800903, -0.36008626222610474, 0.02870296500623226, 1.2604501247406006, 0.295571506023407, 0.0841018557548523, 0.28580594062805176, -0.08507823944091797, -0.2604838013648987, -0.07607115060091019, -1.1482504606246948, -0.2406144142150879, 0.5664410591125488, -0.47256165742874146, -0.24945136904716492, 0.08167186379432678, -0.9243163466453552, -0.1381624937057495, -0.035163022577762604, 0.45476675033569336, -0.43565529584884644, -0.42542949318885803, 0.1822207123041153, -0.20345453917980194, 0.2711610496044159, 0.16932332515716553, -0.8196922540664673, 0.14140312373638153, 0.6148333549499512, 0.9708103537559509, 0.10161824524402618, -0.3499488830566406, -0.34862372279167175, 0.06317946314811707, -0.07045916467905045, 0.4716736674308777, -0.254271924495697, -0.22315125167369843, -0.06375575810670853, 0.21538984775543213, -0.18289747834205627, -0.38682857155799866, 0.6402111053466797, -0.2011876404285431, 0.5739791989326477, -0.029232284054160118, -0.48185697197914124, -0.17239604890346527, 0.275008887052536, -0.4392489194869995, 1.2732995748519897, 0.2854938507080078, -0.8700252771377563, 0.09010977298021317, -0.7315884232521057, -0.1403212547302246, -0.09535001963376999, 0.006917194928973913, -0.7817233204841614, -0.30028030276298523, 0.30557847023010254, 0.3470688760280609, -0.484437495470047, 0.22900409996509552, -0.31830650568008423, -0.15798798203468323, -0.06867837905883789, -0.4070729911327362, 1.296273112297058, 0.24799291789531708, -0.6742754578590393, 0.1908012181520462, -0.7548055052757263, 0.11567197740077972, 0.46253204345703125, -0.3985600173473358, -0.06392329186201096, -0.1935996413230896, 0.16963373124599457, 0.45347145199775696, 0.41513970494270325, -0.5132879018783569, 0.22575049102306366, -0.47135916352272034, 0.823009729385376, 0.7971624732017517, 0.029964609071612358, 0.2920384109020233, -0.2584459185600281, 0.3538261651992798, 0.08720017969608307, 0.36038920283317566, -0.14513853192329407, -0.9720907807350159, -0.8230655193328857, -0.38644206523895264, 0.20119509100914001, 0.7154728174209595, -0.5378465056419373, 0.87436443567276, -0.4465157389640808, -0.6688783764839172, -0.6312350630760193, 0.09343364089727402, 0.4506513774394989, 0.6568412780761719, 0.44910335540771484, -0.12178259342908859, -0.407461017370224, -0.9765777587890625, 0.09743597358465195, -0.3424733877182007, -0.12717346847057343, 0.6147028207778931, 0.9124091267585754, -0.45194223523139954, 0.764423668384552, -0.7221078872680664, -0.2082386016845703, -0.050096675753593445, 0.15902051329612732, 0.4375579357147217, 0.629686713218689, 0.5152121782302856, -0.526674211025238, -0.5429625511169434, -0.0016651703044772148, -0.7154727578163147, 0.0492989718914032, -0.0020215059630572796, -0.33129680156707764, 0.291815847158432, 0.36985263228416443, -0.9375947117805481, 0.54606032371521, 0.7311322093009949, -0.6608104109764099, 0.5062689781188965, -0.41482898592948914, -0.00792613159865141, -1.4229099750518799, 0.37342289090156555, 0.026750924065709114, -0.1148722842335701, -0.4575594663619995, -0.058830440044403076, 0.010863308794796467, -0.0950290784239769, -0.6754213571548462, 0.9159243106842041, -0.46413782238960266, 0.251045823097229, -0.005032398737967014, 0.06794356554746628, 0.018749218434095383, 0.6530666351318359, 0.05405735969543457, 0.5483376383781433, 0.7301293015480042, -0.43765124678611755, 0.42359665036201477, 0.20838458836078644, -0.2869812846183777, 0.15499578416347504, -1.028885006904602, 0.1762596070766449, 0.0429530069231987, 0.26308465003967285, -1.0868594646453857, -0.40397462248802185, 0.5978229641914368, -0.6708762645721436, 0.34117209911346436, -0.3294356167316437, -0.4750070869922638, -0.6744325757026672, -0.4313614070415497, 0.31905028223991394, 0.832352340221405, -0.4699379503726959, 0.5546308159828186, 0.2976219356060028, -0.011120193637907505, -0.6360190510749817, -0.6981056928634644, -0.09028330445289612, -0.2555124759674072, -0.8568816184997559, 0.4674215316772461, 0.046845514327287674, 0.009113171137869358, 0.17331331968307495, 0.11834851652383804, 0.03729041665792465, -0.014247472397983074, 0.37055307626724243, 0.346640944480896, -0.128657266497612, -0.18209804594516754, -0.09767192602157593, -0.16888859868049622, 0.002893721219152212, -0.33084091544151306, 1.0026209354400635, -0.09720031172037125, -0.16976343095302582, -0.915272057056427, 0.0030461428686976433, 0.7105758786201477, -0.219309002161026, 0.8207930326461792, 0.9656858444213867, -0.6123740077018738, 0.09031004458665848, -0.37529677152633667, -0.3272501826286316, -0.4883083999156952, 0.49936193227767944, -0.17869557440280914, -0.7705152630805969, 0.7182356715202332, 0.2831321656703949, 0.04417641833424568, 0.8003236055374146, 0.8182373642921448, -0.02116021327674389, 1.0374459028244019, 0.1571977585554123, -0.22763203084468842, 0.46919769048690796, -0.7338546514511108, 0.1879873424768448, -1.0587639808654785, -0.3224293887615204, -0.5479601621627808, -0.19314689934253693, -0.8595427870750427, -0.6093176603317261, 0.3274257779121399, 0.12655334174633026, -0.6628884673118591, 0.4428204596042633, -0.5412713289260864, 0.039755068719387054, 0.7361368536949158, 0.14078208804130554, -0.09090052545070648, 0.1287880837917328, -0.25615808367729187, 0.09187360852956772, -0.6518193483352661, -0.5393931269645691, 1.1689530611038208, 0.7018535733222961, 0.47793394327163696, 0.040233854204416275, 0.7517711520195007, 0.004487497266381979, 0.14240960776805878, -0.7163510918617249, 0.37515512108802795, 0.19529178738594055, -0.8918604254722595, -0.39469826221466064, -0.498778760433197, -1.1087183952331543, 0.19493906199932098, -0.2096879482269287, -1.0582702159881592, 0.2311858981847763, 0.2599845230579376, -0.4819091856479645, 0.39637094736099243, -0.8523772954940796, 1.0585649013519287, -0.2474311888217926, -0.7375779747962952, -0.07873736321926117, -0.739963948726654, 0.23343786597251892, 0.34627678990364075, 0.16979829967021942, -0.19062373042106628, -0.14175541698932648, 0.8417268395423889, -0.5741003155708313, 0.7656105756759644, -0.2454569935798645, -0.05871563404798508, 0.6218713521957397, -0.2568397521972656, 0.6715166568756104, 0.16040915250778198, -0.02261991798877716, 0.4016483426094055, -0.19586986303329468, -0.5883147120475769, -0.4080360233783722, 0.7373979091644287, -1.001052975654602, -0.5753331184387207, -0.618042528629303, -0.3671821057796478, 0.15749108791351318, 0.36912012100219727, 0.3813936114311218, 0.34148135781288147, 0.16685526072978973, 0.24778760969638824, 0.4326314628124237, -0.4865301847457886, 0.5955721139907837, 0.13674302399158478, -0.16908271610736847, -0.7074480652809143, 1.033466100692749, -0.013677991926670074, 0.3943328559398651, 0.1683090329170227, 0.32880979776382446, -0.43598252534866333, -0.3870583474636078, -0.7077760696411133, 0.5018097162246704, -0.39399370551109314, -0.09262673556804657, -0.6857384443283081, -0.31830084323883057, -0.6273859739303589, 0.11924456059932709, -0.521709680557251, -0.24954406917095184, -0.5016158223152161, 0.06250067800283432, 0.3780098259449005, 0.4121497571468353, -0.017725147306919098, 0.2324768453836441, -0.7817850708961487, 0.24845720827579498, 0.42451587319374084, 0.2626795470714569, -0.08510008454322815, -0.8530027866363525, -0.21787641942501068, 0.2835153639316559, -0.4907856583595276, -0.7424207925796509, 0.6335648894309998, 0.0640585869550705, 0.44123557209968567, 0.40758463740348816, -0.18538179993629456, 0.7236514091491699, -0.34620293974876404, 1.0099482536315918, 0.2049054652452469, -0.9662180542945862, 0.604080319404602, -0.5736442804336548, 0.4138738214969635, 0.2286209613084793, 0.4264886975288391, -0.5538454651832581, -0.1575191617012024, -0.8629829287528992, -1.1254594326019287, 0.8531093597412109, 0.43598493933677673, 0.08420608937740326, 0.16249433159828186, 0.36439043283462524, -0.35259392857551575, 0.12050505727529526, -0.7016510963439941, -0.46761101484298706, -0.15604117512702942, -0.31325894594192505, 0.006662543397396803, -0.14599880576133728, -0.09664899110794067, -0.4913320541381836, 0.9109377264976501, -0.07518289238214493, 0.6723616123199463, 0.3937925696372986, -0.014202396385371685, -0.03754529729485512, 0.13050292432308197, 0.6351258754730225, 0.5720281004905701, -0.4107765257358551, -0.07750681042671204, 0.03555472195148468, -0.6785746216773987, -0.032718393951654434, 0.2802656888961792, -0.34517180919647217, -0.1544588804244995, 0.473013699054718, 1.1509990692138672, -0.02272544428706169, -0.6018077731132507, 0.4682399332523346, -0.0011715464061126113, -0.45066988468170166, -0.33567187190055847, 0.08788933604955673, 0.4046951234340668, 0.11587973684072495, 0.2592218220233917, -0.006659828592091799, -0.05030304938554764, -0.6833556294441223, -0.01630661077797413, 0.3324419856071472, -0.407387912273407, -0.3385377824306488, 0.8859083652496338, 0.19252169132232666, -0.24466288089752197, 0.9093113541603088, -0.3548721671104431, -0.6458216905593872, 0.8213644623756409, 0.4218253195285797, 0.9059951305389404, -0.18944677710533142, 0.10131746530532837, 0.8586044907569885, 0.4944710433483124, -0.03352334722876549, 0.25427913665771484, 0.24840833246707916, -0.6901979446411133, -0.17114023864269257, -0.5540380477905273, -0.06587550789117813, 0.3509281873703003, -0.6275283098220825, 0.45250770449638367, -0.48013484477996826, -0.27488285303115845, -0.06802566349506378, 0.12467820197343826, -0.7962201237678528, 0.21813040971755981, 0.31614190340042114, 0.7794861197471619, -0.7931451797485352, 0.8586448431015015, 0.6470552682876587, -0.5025114417076111, -0.8403937816619873, -0.059139788150787354, 0.09017711877822876, -0.8930167555809021, 0.43371114134788513, 0.18773992359638214, 0.21206054091453552, 0.13123439252376556, -0.5128657817840576, -1.0484105348587036, 1.445932388305664, 0.35304129123687744, -0.6234172582626343, -0.12568944692611694, 0.17122292518615723, 0.5936492085456848, -0.26189154386520386, 0.624990701675415, 0.6386671662330627, 0.5828226208686829, 0.010989485308527946, -1.2041735649108887, 0.2898009717464447, -0.4391838610172272, -0.10705523192882538, 0.04044760391116142, -1.0146950483322144, 1.0382938385009766, -0.4013769328594208, -0.14707304537296295, -0.04838063567876816, 0.4375932514667511, 0.4374437928199768, 0.21650585532188416, 0.40152284502983093, 0.9497330188751221, 0.7689972519874573, -0.26357346773147583, 1.2121127843856812, -0.526418149471283, 0.7813516855239868, 1.0295096635818481, 0.04250095784664154, 0.9393032193183899, 0.42457300424575806, -0.24482545256614685, 0.4831515848636627, 0.7527751326560974, -0.06152258813381195, 0.3116797208786011, 0.1915973424911499, -0.11343380808830261, -0.1586690992116928, -0.06721610575914383, -0.559354305267334, 0.4221167266368866, 0.35193344950675964, -0.6296403408050537, 0.06638297438621521, -0.32536840438842773, 0.31033456325531006, -0.4449661374092102, -0.08656847476959229, 0.6092343926429749, 0.008304428309202194, -0.5753679871559143, 0.9265848398208618, 0.03592129424214363, 0.7827425003051758, -0.4651953876018524, 0.01417977549135685, 0.08335462212562561, 0.2019096314907074, -0.24484536051750183, -0.7664966583251953, 0.06417984515428543, -0.12518230080604553, -0.011427449062466621, -0.09699057042598724, 0.528281569480896, -0.4450327455997467, -0.5743712186813354, 0.42734187841415405, 0.41819316148757935, 0.08143146336078644, -0.06731853634119034, -1.0730148553848267, 0.12851378321647644, 0.10552307963371277, -0.6974750757217407, 0.18425540626049042, 0.28665846586227417, 0.13500063121318817, 0.7046260237693787, 0.665827751159668, 0.02862771414220333, 0.13768762350082397, -0.06192788481712341, 0.8548083901405334, -0.665932834148407, -0.3756851851940155, -0.9741601347923279, 0.8306859731674194, -0.30271220207214355, -0.676809549331665, 0.7287173271179199, 0.8885628581047058, 0.9070976972579956, -0.03955184295773506, 0.8970717787742615, -0.33817774057388306, 0.2553044855594635, -0.38420993089675903, 0.8450371026992798, -0.6578014492988586, 0.046020861715078354, -0.22716031968593597, -0.8631636500358582, -0.07692787796258926, 0.7561318278312683, -0.34509095549583435, 0.22688135504722595, 0.7214457392692566, 0.9613412022590637, -0.008796961978077888, -0.23202665150165558, 0.024802036583423615, 0.4660014510154724, 0.46929189562797546, 0.7574993968009949, 0.4725883901119232, -0.8754655122756958, 0.5389952659606934, -0.5171594619750977, -0.17334645986557007, -0.27933457493782043, -0.7256277799606323, -0.887104868888855, -0.6450138092041016, -0.5246812701225281, -0.6719164848327637, -0.1946997344493866, 1.2060188055038452, 0.9707193374633789, -0.7605947852134705, -0.32607439160346985, -0.07626012712717056, 0.050698455423116684, -0.10100764036178589, -0.30581188201904297, 0.6223068833351135, -0.024077409878373146, -1.0610157251358032, -0.046055957674980164, 0.17332173883914948, 0.19719846546649933, -0.20698148012161255, -0.4032982289791107, -0.3423166573047638, -0.0620354488492012, 0.5350190997123718, 0.32255902886390686, -0.7224666476249695, -0.26844322681427, -0.0041237324476242065, -0.2186107486486435, 0.15706299245357513, 0.4256567358970642, -0.3526502251625061, 0.39726772904396057, 0.7417166233062744, 0.32257580757141113, 0.705507218837738, -0.04536663740873337, 0.17108142375946045, -0.46591323614120483, 0.39864271879196167, 0.20749935507774353, 0.4736264944076538, 0.25229647755622864, -0.36422187089920044, 0.4285328686237335, 0.48285701870918274, -0.6054847240447998, -0.7617107629776001, -0.1041632890701294, -1.2120771408081055, -0.13171744346618652, 1.4545999765396118, -0.24790894985198975, -0.5453149676322937, -0.01578695885837078, -0.34617745876312256, 0.3658001124858856, -0.6884435415267944, 0.7168992161750793, 0.6532522439956665, -0.13132990896701813, -0.1280427873134613, -0.7186009287834167, 0.4509398937225342, 0.20367300510406494, -1.0284397602081299, -0.023266930133104324, 0.2796853184700012, 0.48364418745040894, 0.3090425133705139, 0.571721076965332, -0.14505916833877563, 0.16870392858982086, 0.07997336238622665, 0.24546851217746735, -0.08528611063957214, -0.0598083920776844, -0.16020303964614868, -0.011466490104794502, -0.20640495419502258, -0.23507562279701233 ]
wietsedv/bert-base-dutch-cased
wietsedv
2023-09-11T08:56:16Z
7,343
1
transformers
[ "transformers", "pytorch", "tf", "jax", "safetensors", "bert", "fill-mask", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
fill-mask
2022-03-02T23:29:05Z
# BERTje: A Dutch BERT model BERTje is a Dutch pre-trained BERT model developed at the University of Groningen. ⚠️ **The new home of this model is the [GroNLP](https://huggingface.co/GroNLP) organization.** BERTje now lives at: [`GroNLP/bert-base-dutch-cased`](https://huggingface.co/GroNLP/bert-base-dutch-cased) The model weights of the versions at `wietsedv/` and `GroNLP/` are the same, so do not worry if you use(d) `wietsedv/bert-base-dutch-cased`. <img src="https://raw.githubusercontent.com/wietsedv/bertje/master/bertje.png" height="250">
[ -0.663469672203064, -0.6389289498329163, 0.26855048537254333, 0.3935648798942566, -0.3058585822582245, -0.17036475241184235, -0.09429101645946503, -0.5699151754379272, 0.4831528961658478, 0.3449920117855072, -0.7629541754722595, -0.4217429459095001, -0.6432698965072632, -0.09194476157426834, -0.1657344400882721, 0.9581983089447021, 0.10022516548633575, 0.6994073987007141, -0.028542499989271164, -0.0734826996922493, 0.021534062922000885, -0.37022149562835693, -0.5918382406234741, -0.5280349850654602, 0.9204351305961609, 0.05203153192996979, 0.5565491914749146, 0.08354964107275009, 0.5714367032051086, 0.23156726360321045, -0.4106384813785553, -0.3847241997718811, -0.4905858635902405, -0.10867822170257568, 0.13413643836975098, -0.24470534920692444, -0.5261431932449341, -0.027938948944211006, 0.11652253568172455, 1.004554033279419, -0.15279608964920044, 0.1508498340845108, 0.04085228592157364, 0.5691348314285278, -0.5565352439880371, 0.12160484492778778, -0.22847004234790802, 0.17684105038642883, -0.12297973781824112, 0.3985648453235626, -0.25753751397132874, -0.7104318737983704, 0.7119244337081909, -0.633245050907135, 0.3389911353588104, -0.29328903555870056, 1.2468175888061523, -0.23578554391860962, -0.5986907482147217, -0.1328071802854538, -0.24608218669891357, 0.7295681834220886, -0.6575097441673279, 0.5103389024734497, 0.14941474795341492, 0.5016645789146423, -0.5414970517158508, -0.6128040552139282, -0.2374294549226761, -0.1879177987575531, -0.12503762543201447, -0.06347677856683731, 0.07188641279935837, 0.10292966663837433, 0.2074659764766693, 0.08518961071968079, -0.6166658997535706, -0.2118845134973526, -0.6285603046417236, -0.17477120459079742, 0.8113261461257935, -0.4434565603733063, 0.2961437404155731, -0.06859231740236282, -0.7295077443122864, -0.34570303559303284, -0.5780439972877502, -0.06103823333978653, 0.4954642057418823, 0.41671258211135864, -0.23768079280853271, 0.5026206374168396, 0.004694243893027306, 0.5880932807922363, 0.11144063621759415, -0.048195626586675644, 0.7757604718208313, 0.32367539405822754, -0.1982467919588089, 0.16684025526046753, 0.4793698489665985, 0.3242649435997009, 0.7211520671844482, -0.11029878258705139, -0.518449068069458, -0.42302292585372925, 0.4137172996997833, -0.6810165047645569, -0.8020808696746826, -0.25123149156570435, -0.965235710144043, -0.442605584859848, 0.10128707438707352, -0.2865877151489258, -0.1574377417564392, -0.17943282425403595, 0.7054468989372253, -0.37155720591545105, -0.45521748065948486, 0.00033548680949024856, -0.19726358354091644, 0.3211800456047058, 0.5455548763275146, -0.91623455286026, 0.08939382433891296, 0.25523310899734497, 0.5593679547309875, 0.1071346178650856, -0.005810562986880541, 0.32722586393356323, 0.08317992836236954, -0.4899701476097107, 0.5372087359428406, -0.21085086464881897, -0.5866904854774475, 0.40773674845695496, 0.10415999591350555, 0.32368212938308716, -0.1709796041250229, 0.7867792844772339, -0.8007306456565857, 0.6177747845649719, -0.8385111093521118, -0.5969222187995911, -0.3280220031738281, 0.33369937539100647, -0.8277845978736877, 1.1866742372512817, 0.2513372302055359, -0.9521540403366089, 0.8266894817352295, -1.0570844411849976, -0.42945438623428345, 0.14876168966293335, 0.2048647105693817, -0.39329102635383606, 0.35186129808425903, 0.16908566653728485, 0.6646604537963867, 0.05209919065237045, 0.08911659568548203, -0.6668195128440857, -0.22718724608421326, -0.2231558859348297, 0.13637575507164001, 1.3138418197631836, 0.3589848577976227, 0.3709641993045807, -0.10229018330574036, -1.065902829170227, 0.05240388587117195, 0.44001951813697815, -0.46623659133911133, -0.7500530481338501, -0.1310608685016632, 0.24618281424045563, 0.20833717286586761, 0.791242778301239, -0.829341471195221, 0.6596028804779053, -0.09065143018960953, -0.016815360635519028, 0.8074778914451599, -0.13394372165203094, 0.371735155582428, -0.4706014394760132, 0.25650671124458313, -0.5205956697463989, 0.48774078488349915, 0.16878126561641693, -0.5677881240844727, -0.5917991995811462, -0.2597818374633789, 0.45180410146713257, 0.1227819174528122, -0.7445294857025146, 0.7025872468948364, -0.1243927851319313, -0.7422183752059937, -0.18667149543762207, -0.3263579308986664, 0.058011624962091446, 0.4950951337814331, 0.2646799087524414, -0.5102890133857727, -0.6491744518280029, -1.1606556177139282, -0.09098031371831894, -0.23852886259555817, -0.2770405113697052, 0.22033804655075073, 0.6092113852500916, -0.1518860161304474, 0.7796777486801147, -0.2669050097465515, 0.01166565902531147, -0.08029452711343765, 0.4141483008861542, 0.5602296590805054, 0.7008774876594543, 1.2683106660842896, -0.7286235690116882, -0.6082121729850769, -0.3044077754020691, -0.8055299520492554, -0.26142677664756775, 0.2069794237613678, -0.29759764671325684, 0.05533626303076744, 0.2188466340303421, -0.6894050240516663, 0.38169988989830017, 0.6104471683502197, -0.40494152903556824, 0.8213794827461243, -0.24643532931804657, 0.08108454197645187, -1.0258381366729736, 0.14522862434387207, -0.011174642480909824, -0.319749653339386, -0.508467972278595, 0.1291784942150116, -0.008584370836615562, 0.15801671147346497, -0.6214703321456909, 0.6140332221984863, -0.6928600668907166, -0.3903852701187134, -0.0002857184153981507, -0.39318788051605225, 0.021493108943104744, 0.45763182640075684, 0.008342799730598927, 0.6423631906509399, 0.6478152275085449, -0.42008522152900696, 0.3407208025455475, 0.7916932106018066, -0.5612640976905823, 0.5770323276519775, -0.9711298942565918, 0.010415952652692795, 0.12699279189109802, 0.3413161039352417, -0.7639427781105042, -0.3767215609550476, 0.2372024953365326, -0.32188868522644043, 0.3829004168510437, -0.32704928517341614, -0.7273754477500916, -0.6716026067733765, -0.30588698387145996, 0.29505419731140137, 0.6998841762542725, -0.7786582112312317, 0.5422049164772034, 0.4613490402698517, -0.2640686631202698, -0.6545795202255249, -1.019039511680603, -0.1891644299030304, 0.08855852484703064, -0.9235296249389648, 0.30768460035324097, -0.00036451691994443536, -0.05162592977285385, -0.010412013158202171, -0.15854942798614502, -0.31378161907196045, -0.006304402370005846, 0.05328376591205597, 0.3020285665988922, -0.2008027881383896, 0.21872520446777344, 0.019729917868971825, 0.1798170655965805, 0.2523016631603241, 0.07584945857524872, 0.5324082970619202, 0.04771719500422478, -0.23039165139198303, -0.3424871563911438, 0.2290406972169876, 0.5262004137039185, 0.3473030924797058, 0.7517995834350586, 0.44105497002601624, -0.5157104134559631, -0.13415291905403137, -0.727782130241394, -0.40745455026626587, -0.5345420241355896, 0.06885690987110138, -0.5976985692977905, -0.6733472347259521, 0.7714958786964417, 0.06472895294427872, 0.24904124438762665, 0.5319143533706665, 0.7482786774635315, -0.6958418488502502, 0.984674870967865, 1.0551904439926147, 0.026350870728492737, 0.8029084801673889, -0.09138728678226471, -0.035285528749227524, -0.6389651298522949, -0.2188674956560135, -0.18925581872463226, -0.5493705868721008, -0.380115807056427, -0.03862880542874336, 0.18409687280654907, 0.15440775454044342, -0.63397216796875, 0.8661946058273315, -0.6661727428436279, 0.37149307131767273, 0.7587721347808838, 0.03589359670877457, -0.10513369739055634, -0.00396662438288331, -0.4357098937034607, -0.14276675879955292, -0.9056295156478882, -0.5189627408981323, 1.2414438724517822, 0.4879784882068634, 0.9753904938697815, -0.10624691098928452, 0.9495474100112915, 0.37554144859313965, 0.047551315277814865, -0.20646949112415314, 0.4947459101676941, -0.05830185487866402, -1.1530579328536987, -0.20760175585746765, -0.38937461376190186, -1.1689497232437134, 0.35738953948020935, -0.37655630707740784, -0.6357294321060181, 0.17286649346351624, 0.22662615776062012, 0.052561987191438675, 0.3769564926624298, -0.831899106502533, 0.8375115990638733, -0.3215232193470001, 0.11788590997457504, -0.10422651469707489, -0.7934689521789551, 0.3364242613315582, 0.20559541881084442, -0.0020700646564364433, -0.23488368093967438, 0.5667294263839722, 0.8031406402587891, -0.564870297908783, 0.6666110157966614, -0.6785861253738403, -0.37942853569984436, 0.05700153484940529, 0.21903134882450104, 0.5533968210220337, -0.045601487159729004, 0.03320934996008873, 0.4070448577404022, 0.024274267256259918, -0.764491617679596, -0.17935025691986084, 0.736191987991333, -0.9619165658950806, 0.010542968288064003, -0.5102884769439697, -0.37957024574279785, -0.1705254316329956, 0.5570371150970459, 0.36055365204811096, 0.08058298379182816, -0.6288669109344482, 0.15738853812217712, 0.9188440442085266, -0.4064888060092926, 0.40393203496932983, 0.5000184774398804, -0.3586982488632202, 0.0026400957722216845, 0.5151168704032898, 0.18652203679084778, -0.04880175366997719, 0.16494940221309662, 0.16131921112537384, -0.15332305431365967, -0.31358787417411804, -0.05959530547261238, 0.05388805270195007, -0.7201749086380005, 0.11955488473176956, -0.547003984451294, -0.3197134733200073, -0.44229987263679504, -0.5368250608444214, -0.5852595567703247, -0.5116548538208008, -0.1361343264579773, -0.025306852534413338, 0.46050262451171875, 0.7008647322654724, -0.40287917852401733, 0.4383399188518524, -0.6709427833557129, 0.2663135826587677, 0.5942713618278503, 0.6077757477760315, -0.3210241198539734, -0.33227840065956116, -0.04026557877659798, 0.1650272011756897, 0.041207455098629, -0.582606315612793, 0.2354898750782013, -0.004230911377817392, 0.7814030647277832, 0.3980308473110199, -0.05750560760498047, 0.27628767490386963, -0.5719828605651855, 0.7795552015304565, 0.600997805595398, -0.5758976340293884, 0.5088992118835449, -0.578742504119873, 0.1232103556394577, 0.636130690574646, 0.3027017116546631, -0.28070777654647827, -0.0008455172646790743, -0.746199369430542, -1.0029901266098022, 0.3843849003314972, 0.13840937614440918, 0.3735082745552063, 0.23324142396450043, 0.5299918055534363, 0.40323564410209656, 0.3659610152244568, -1.0196540355682373, -0.31220975518226624, -0.23473228514194489, -0.13240472972393036, 0.34802019596099854, -0.5506950616836548, -0.4001624584197998, -0.4794965982437134, 1.037129521369934, 0.08294960856437683, 0.6366052031517029, 0.013532795943319798, -0.15846048295497894, -0.1876862645149231, -0.4911743700504303, 0.5836549401283264, 0.7105954885482788, -0.6042671799659729, -0.41965386271476746, 0.17737330496311188, -0.34598642587661743, -0.17722362279891968, 0.06876040250062943, 0.0062990207225084305, 0.25032129883766174, 0.636531412601471, 0.6745155453681946, 0.35946977138519287, -0.2833919823169708, 0.8690621256828308, -0.23130477964878082, -0.6218669414520264, -0.8449051380157471, -0.030904904007911682, -0.08000902831554413, 0.4443892240524292, 0.4843563735485077, -0.0795004740357399, -0.015310591086745262, -0.14648982882499695, 0.37996697425842285, 0.4258802831172943, -0.36432644724845886, -0.3484700620174408, 0.7098445892333984, 0.49176791310310364, 0.06418196856975555, 0.5379616618156433, -0.24600374698638916, -0.5058385729789734, 0.5444620847702026, 0.25902625918388367, 0.9353895783424377, 0.20595242083072662, 0.1683284342288971, 0.3861071467399597, 0.256939172744751, -0.18597722053527832, 0.7740780711174011, 0.0037386605981737375, -0.9056990146636963, -0.5431479811668396, -0.7142735719680786, -0.3104594349861145, 0.07743626087903976, -0.8299340009689331, 0.44615453481674194, -0.5040096044540405, -0.15845760703086853, -0.15733616054058075, 0.12217716872692108, -0.7940756678581238, 0.45212921500205994, 0.519313633441925, 1.5187147855758667, -0.8832592368125916, 1.1174310445785522, 1.0155785083770752, -0.24525731801986694, -0.3753338158130646, -0.0774068608880043, -0.13904757797718048, -1.2382104396820068, 1.0295281410217285, 0.06144287437200546, 0.09833713620901108, -0.28584814071655273, -1.1510571241378784, -1.2111778259277344, 1.0141645669937134, 0.3458055257797241, -0.8329995274543762, -0.10176851600408554, -0.6116695404052734, 0.5576918721199036, 0.007706637494266033, 0.06437552720308304, 0.10926404595375061, 0.6390561461448669, 0.173882395029068, -0.8827427625656128, -0.44508180022239685, -0.49022719264030457, 0.18462058901786804, 0.16408298909664154, -0.6370747089385986, 1.2570253610610962, -0.008203782141208649, 0.23353837430477142, 0.25641974806785583, 0.753089964389801, 0.2731151878833771, -0.26245051622390747, 0.7037486433982849, 0.7996297478675842, 0.40269824862480164, -0.33134451508522034, 1.1399810314178467, -0.4138835370540619, 0.8055470585823059, 0.8753955364227295, -0.17436346411705017, 0.179456427693367, 0.6134556531906128, -0.14308595657348633, 0.74908447265625, 0.7901303172111511, -0.6172772645950317, 0.9786694049835205, 0.4806721806526184, 0.02148711308836937, -0.15256299078464508, 0.30551132559776306, -0.6577869057655334, 0.09841503202915192, 0.18237394094467163, -0.2632065713405609, -0.5095818042755127, 0.06834200769662857, -0.10049939155578613, -0.25485846400260925, -0.2424030303955078, 0.48204320669174194, -0.18497705459594727, -0.03998758643865585, 0.41453731060028076, -0.25576499104499817, 0.7717319130897522, -0.8147591948509216, 0.03250512108206749, 0.15028855204582214, 0.01712561771273613, 0.16652975976467133, -0.8951932787895203, 0.049422070384025574, -0.24243462085723877, -0.1346220076084137, -0.49790701270103455, 1.070825457572937, -0.33430472016334534, -0.6099173426628113, 0.6057841777801514, 0.4134628474712372, 0.33212777972221375, 0.19314360618591309, -1.1465504169464111, 0.027270734310150146, -0.2729770839214325, -1.013695478439331, 0.26583999395370483, 0.5285402536392212, -0.08806721866130829, 0.8381083011627197, 0.667015552520752, 0.01820690557360649, 0.10197839885950089, 0.2781757414340973, 0.9426875114440918, -0.20992133021354675, -0.6388810276985168, -0.34596341848373413, 0.4153686761856079, -0.22576206922531128, -0.613621711730957, 0.5447649955749512, 0.3319261074066162, 1.1377339363098145, -0.5420076847076416, 0.9542033672332764, -0.6851028800010681, 0.636728823184967, -0.18666940927505493, 0.958746075630188, -0.7610790729522705, -0.5107640624046326, -0.4733039438724518, -1.2063190937042236, -0.5542574524879456, 1.4085307121276855, -0.1685604304075241, 0.24469755589962006, 0.018588310107588768, 0.40954211354255676, -0.06465274840593338, -0.24884939193725586, 0.42743629217147827, 0.4246744215488434, 0.14539405703544617, 0.23004844784736633, 0.7659842371940613, -0.3365526497364044, 0.10418187826871872, -0.462062269449234, -0.1027793139219284, -0.5302760601043701, -1.150094985961914, -1.162075400352478, -0.4344615340232849, -0.24796020984649658, -0.029491396620869637, 0.3160954713821411, 1.0864030122756958, 1.0707166194915771, -1.0562787055969238, -0.005181864835321903, -0.2644881308078766, -0.2090371996164322, -0.0388784185051918, -0.2518060505390167, 0.3309902250766754, -0.207037553191185, -0.6167988777160645, 0.17645856738090515, -0.01815587840974331, 0.4594317078590393, -0.276589572429657, -0.08346231281757355, -0.4957539737224579, 0.1569005399942398, 0.4709559381008148, 0.3184923231601715, -0.5817344188690186, -0.8460462093353271, -0.183188334107399, -0.4192102253437042, -0.1232900395989418, 0.3894616365432739, -0.39742210507392883, 0.5714572668075562, 0.7639682292938232, 0.3351576328277588, 0.44153910875320435, -0.11214131861925125, 0.9136446118354797, -1.0659984350204468, 0.2667882442474365, 0.2224956750869751, 0.7453314065933228, 0.10584251582622528, -0.09716355055570602, 0.7620635032653809, 0.20346124470233917, -0.6324405670166016, -0.7296247482299805, 0.024304216727614403, -1.1256529092788696, -0.5064151883125305, 0.681353747844696, -0.19580553472042084, -0.2264888435602188, 0.329354465007782, -0.479875385761261, 0.3582763671875, -0.4773774743080139, 1.1543937921524048, 1.0945863723754883, -0.07679011672735214, -0.11583813279867172, -0.6532064080238342, 0.3595554530620575, 0.35790789127349854, -0.18719494342803955, -0.33406081795692444, 0.0919225737452507, 0.3867979645729065, 0.33357247710227966, 0.15774238109588623, -0.1688041090965271, 0.263961523771286, -0.2020803838968277, 1.2246195077896118, 0.0755033865571022, -0.3245030641555786, 0.07506849616765976, -0.08579481393098831, -0.36469563841819763, -0.5214942097663879 ]
TheBloke/WizardLM-7B-uncensored-GPTQ
TheBloke
2023-10-26T09:39:38Z
7,343
162
transformers
[ "transformers", "safetensors", "llama", "text-generation", "uncensored", "dataset:ehartford/WizardLM_alpaca_evol_instruct_70k_unfiltered", "base_model:ehartford/WizardLM-7B-Uncensored", "license:other", "has_space", "text-generation-inference", "4-bit", "region:us" ]
text-generation
2023-05-05T08:09:36Z
--- license: other tags: - uncensored datasets: - ehartford/WizardLM_alpaca_evol_instruct_70k_unfiltered model_name: Wizardlm 7B Uncensored base_model: ehartford/WizardLM-7B-Uncensored inference: false model_creator: Eric Hartford model_type: llama prompt_template: 'A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user''s questions. USER: {prompt} ASSISTANT: ' quantized_by: TheBloke --- <!-- header start --> <!-- 200823 --> <div style="width: auto; margin-left: auto; margin-right: auto"> <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;"> </div> <div style="display: flex; justify-content: space-between; width: 100%;"> <div style="display: flex; flex-direction: column; align-items: flex-start;"> <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p> </div> <div style="display: flex; flex-direction: column; align-items: flex-end;"> <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p> </div> </div> <div style="text-align:center; margin-top: 0em; margin-bottom: 0em"><p style="margin-top: 0.25em; margin-bottom: 0em;">TheBloke's LLM work is generously supported by a grant from <a href="https://a16z.com">andreessen horowitz (a16z)</a></p></div> <hr style="margin-top: 1.0em; margin-bottom: 1.0em;"> <!-- header end --> # Wizardlm 7B Uncensored - GPTQ - Model creator: [Eric Hartford](https://huggingface.co/ehartford) - Original model: [Wizardlm 7B Uncensored](https://huggingface.co/ehartford/WizardLM-7B-Uncensored) <!-- description start --> ## Description This repo contains GPTQ model files for [Eric Hartford's Wizardlm 7B Uncensored](https://huggingface.co/ehartford/WizardLM-7B-Uncensored). Multiple GPTQ parameter permutations are provided; see Provided Files below for details of the options provided, their parameters, and the software used to create them. <!-- description end --> <!-- repositories-available start --> ## Repositories available * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/WizardLM-7B-uncensored-AWQ) * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/WizardLM-7B-uncensored-GPTQ) * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/WizardLM-7B-uncensored-GGUF) * [Eric Hartford's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/ehartford/WizardLM-7B-Uncensored) <!-- repositories-available end --> <!-- prompt-template start --> ## Prompt template: Vicuna ``` A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: {prompt} ASSISTANT: ``` <!-- prompt-template end --> <!-- README_GPTQ.md-provided-files start --> ## Provided files and GPTQ parameters Multiple quantisation parameters are provided, to allow you to choose the best one for your hardware and requirements. Each separate quant is in a different branch. See below for instructions on fetching from different branches. All recent GPTQ files are made with AutoGPTQ, and all files in non-main branches are made with AutoGPTQ. Files in the `main` branch which were uploaded before August 2023 were made with GPTQ-for-LLaMa. <details> <summary>Explanation of GPTQ parameters</summary> - Bits: The bit size of the quantised model. - GS: GPTQ group size. Higher numbers use less VRAM, but have lower quantisation accuracy. "None" is the lowest possible value. - Act Order: True or False. Also known as `desc_act`. True results in better quantisation accuracy. Some GPTQ clients have had issues with models that use Act Order plus Group Size, but this is generally resolved now. - Damp %: A GPTQ parameter that affects how samples are processed for quantisation. 0.01 is default, but 0.1 results in slightly better accuracy. - GPTQ dataset: The dataset used for quantisation. Using a dataset more appropriate to the model's training can improve quantisation accuracy. Note that the GPTQ dataset is not the same as the dataset used to train the model - please refer to the original model repo for details of the training dataset(s). - Sequence Length: The length of the dataset sequences used for quantisation. Ideally this is the same as the model sequence length. For some very long sequence models (16+K), a lower sequence length may have to be used. Note that a lower sequence length does not limit the sequence length of the quantised model. It only impacts the quantisation accuracy on longer inference sequences. - ExLlama Compatibility: Whether this file can be loaded with ExLlama, which currently only supports Llama models in 4-bit. </details> | Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc | | ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- | | [oobaCUDA](https://huggingface.co/TheBloke/WizardLM-7B-uncensored-GPTQ/tree/oobaCUDA) | 4 | 128 | No | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 4.00 GB | Yes | 4-bit, without Act Order and group size 128g. | | [latest](https://huggingface.co/TheBloke/WizardLM-7B-uncensored-GPTQ/tree/latest) | 4 | 128 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 3.89 GB | Yes | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. | | [main](https://huggingface.co/TheBloke/WizardLM-7B-uncensored-GPTQ/tree/main) | 4 | 128 | No | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 3.89 GB | Yes | 4-bit, without Act Order and group size 128g. | <!-- README_GPTQ.md-provided-files end --> <!-- README_GPTQ.md-download-from-branches start --> ## How to download from branches - In text-generation-webui, you can add `:branch` to the end of the download name, eg `TheBloke/WizardLM-7B-uncensored-GPTQ:oobaCUDA` - With Git, you can clone a branch with: ``` git clone --single-branch --branch oobaCUDA https://huggingface.co/TheBloke/WizardLM-7B-uncensored-GPTQ ``` - In Python Transformers code, the branch is the `revision` parameter; see below. <!-- README_GPTQ.md-download-from-branches end --> <!-- README_GPTQ.md-text-generation-webui start --> ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui). Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui). It is strongly recommended to use the text-generation-webui one-click-installers unless you're sure you know how to make a manual install. 1. Click the **Model tab**. 2. Under **Download custom model or LoRA**, enter `TheBloke/WizardLM-7B-uncensored-GPTQ`. - To download from a specific branch, enter for example `TheBloke/WizardLM-7B-uncensored-GPTQ:oobaCUDA` - see Provided Files above for the list of branches for each option. 3. Click **Download**. 4. The model will start downloading. Once it's finished it will say "Done". 5. In the top left, click the refresh icon next to **Model**. 6. In the **Model** dropdown, choose the model you just downloaded: `WizardLM-7B-uncensored-GPTQ` 7. The model will automatically load, and is now ready for use! 8. If you want any custom settings, set them and then click **Save settings for this model** followed by **Reload the Model** in the top right. * Note that you do not need to and should not set manual GPTQ parameters any more. These are set automatically from the file `quantize_config.json`. 9. Once you're ready, click the **Text Generation tab** and enter a prompt to get started! <!-- README_GPTQ.md-text-generation-webui end --> <!-- README_GPTQ.md-use-from-python start --> ## How to use this GPTQ model from Python code ### Install the necessary packages Requires: Transformers 4.32.0 or later, Optimum 1.12.0 or later, and AutoGPTQ 0.4.2 or later. ```shell pip3 install transformers>=4.32.0 optimum>=1.12.0 pip3 install auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/ # Use cu117 if on CUDA 11.7 ``` If you have problems installing AutoGPTQ using the pre-built wheels, install it from source instead: ```shell pip3 uninstall -y auto-gptq git clone https://github.com/PanQiWei/AutoGPTQ cd AutoGPTQ pip3 install . ``` ### For CodeLlama models only: you must use Transformers 4.33.0 or later. If 4.33.0 is not yet released when you read this, you will need to install Transformers from source: ```shell pip3 uninstall -y transformers pip3 install git+https://github.com/huggingface/transformers.git ``` ### You can then use the following code ```python from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline model_name_or_path = "TheBloke/WizardLM-7B-uncensored-GPTQ" # To use a different branch, change revision # For example: revision="oobaCUDA" model = AutoModelForCausalLM.from_pretrained(model_name_or_path, device_map="auto", trust_remote_code=False, revision="main") tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True) prompt = "Tell me about AI" prompt_template=f'''A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: {prompt} ASSISTANT: ''' print("\n\n*** Generate:") input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda() output = model.generate(inputs=input_ids, temperature=0.7, do_sample=True, top_p=0.95, top_k=40, max_new_tokens=512) print(tokenizer.decode(output[0])) # Inference can also be done using transformers' pipeline print("*** Pipeline:") pipe = pipeline( "text-generation", model=model, tokenizer=tokenizer, max_new_tokens=512, do_sample=True, temperature=0.7, top_p=0.95, top_k=40, repetition_penalty=1.1 ) print(pipe(prompt_template)[0]['generated_text']) ``` <!-- README_GPTQ.md-use-from-python end --> <!-- README_GPTQ.md-compatibility start --> ## Compatibility The files provided are tested to work with AutoGPTQ, both via Transformers and using AutoGPTQ directly. They should also work with [Occ4m's GPTQ-for-LLaMa fork](https://github.com/0cc4m/KoboldAI). [ExLlama](https://github.com/turboderp/exllama) is compatible with Llama models in 4-bit. Please see the Provided Files table above for per-file compatibility. [Huggingface Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference) is compatible with all GPTQ models. <!-- README_GPTQ.md-compatibility end --> <!-- footer start --> <!-- 200823 --> ## Discord For further support, and discussions on these models and AI in general, join us at: [TheBloke AI's Discord server](https://discord.gg/theblokeai) ## Thanks, and how to contribute Thanks to the [chirper.ai](https://chirper.ai) team! Thanks to Clay from [gpus.llm-utils.org](llm-utils)! I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training. If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects. Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits. * Patreon: https://patreon.com/TheBlokeAI * Ko-Fi: https://ko-fi.com/TheBlokeAI **Special thanks to**: Aemon Algiz. **Patreon special mentions**: Alicia Loh, Stephen Murray, K, Ajan Kanaga, RoA, Magnesian, Deo Leter, Olakabola, Eugene Pentland, zynix, Deep Realms, Raymond Fosdick, Elijah Stavena, Iucharbius, Erik Bjäreholt, Luis Javier Navarrete Lozano, Nicholas, theTransient, John Detwiler, alfie_i, knownsqashed, Mano Prime, Willem Michiel, Enrico Ros, LangChain4j, OG, Michael Dempsey, Pierre Kircher, Pedro Madruga, James Bentley, Thomas Belote, Luke @flexchar, Leonard Tan, Johann-Peter Hartmann, Illia Dulskyi, Fen Risland, Chadd, S_X, Jeff Scroggin, Ken Nordquist, Sean Connelly, Artur Olbinski, Swaroop Kallakuri, Jack West, Ai Maven, David Ziegler, Russ Johnson, transmissions 11, John Villwock, Alps Aficionado, Clay Pascal, Viktor Bowallius, Subspace Studios, Rainer Wilmers, Trenton Dambrowitz, vamX, Michael Levine, 준교 김, Brandon Frisco, Kalila, Trailburnt, Randy H, Talal Aujan, Nathan Dryer, Vadim, 阿明, ReadyPlayerEmma, Tiffany J. Kim, George Stoitzev, Spencer Kim, Jerry Meng, Gabriel Tamborski, Cory Kujawski, Jeffrey Morgan, Spiking Neurons AB, Edmond Seymore, Alexandros Triantafyllidis, Lone Striker, Cap'n Zoog, Nikolai Manek, danny, ya boyyy, Derek Yates, usrbinkat, Mandus, TL, Nathan LeClaire, subjectnull, Imad Khwaja, webtim, Raven Klaugh, Asp the Wyvern, Gabriel Puliatti, Caitlyn Gatomon, Joseph William Delisle, Jonathan Leane, Luke Pendergrass, SuperWojo, Sebastain Graf, Will Dee, Fred von Graf, Andrey, Dan Guido, Daniel P. Andersen, Nitin Borwankar, Elle, Vitor Caleffi, biorpg, jjj, NimbleBox.ai, Pieter, Matthew Berman, terasurfer, Michael Davis, Alex, Stanislav Ovsiannikov Thank you to all my generous patrons and donaters! And thank you again to a16z for their generous grant. <!-- footer end --> # Original model card: Eric Hartford's Wizardlm 7B Uncensored This is WizardLM trained with a subset of the dataset - responses that contained alignment / moralizing were removed. The intent is to train a WizardLM that doesn't have alignment built-in, so that alignment (of any sort) can be added separately with for example with a RLHF LoRA. Shout out to the open source AI/ML community, and everyone who helped me out. Note: An uncensored model has no guardrails. You are responsible for anything you do with the model, just as you are responsible for anything you do with any dangerous object such as a knife, gun, lighter, or car. Publishing anything this model generates is the same as publishing it yourself. You are responsible for the content you publish, and you cannot blame the model any more than you can blame the knife, gun, lighter, or car for what you do with it.
[ -0.5078432559967041, -0.8236756920814514, 0.07972609251737595, 0.11886864900588989, -0.22311800718307495, -0.13669312000274658, 0.1786700040102005, -0.49032196402549744, 0.07515513151884079, 0.47358742356300354, -0.6113784909248352, -0.4638082981109619, -0.33147650957107544, 0.053572703152894974, -0.4074549376964569, 1.0869452953338623, 0.1015520691871643, -0.2828805148601532, -0.006128998938947916, -0.05922142416238785, -0.3085794746875763, -0.35844382643699646, -0.7099514007568359, -0.3047506809234619, 0.3996679186820984, 0.09257135540246964, 0.9067023992538452, 0.4733707904815674, 0.1504170149564743, 0.3366127014160156, -0.016567371785640717, 0.10438605397939682, -0.5350787043571472, -0.10835900157690048, 0.04229288548231125, -0.13063596189022064, -0.6816526651382446, 0.12453382462263107, 0.3919968605041504, 0.17605940997600555, -0.37654590606689453, 0.1404431313276291, 0.001553378184325993, 0.706891655921936, -0.46781840920448303, 0.21252946555614471, -0.4076233208179474, 0.0531025193631649, -0.015704428777098656, 0.07983934134244919, -0.10068532079458237, -0.4393031597137451, 0.16215835511684418, -0.9362747073173523, 0.20460452139377594, 0.03644835203886032, 1.154274582862854, 0.14903610944747925, -0.6872905492782593, 0.10005173087120056, -0.5388635396957397, 0.555173933506012, -0.8785240650177002, 0.2536325752735138, 0.5116734504699707, 0.32276487350463867, -0.2875453233718872, -0.8891727924346924, -0.6079555749893188, -0.11754100024700165, -0.1065613403916359, 0.28256499767303467, -0.45085522532463074, 0.02848661132156849, 0.3897351026535034, 0.6532855033874512, -0.8671936392784119, -0.22879594564437866, -0.4207927882671356, -0.17695249617099762, 0.8861856460571289, 0.20690807700157166, 0.3954038918018341, -0.18837317824363708, -0.23701111972332, -0.37094393372535706, -0.6509248614311218, -0.011972860433161259, 0.4049474000930786, 0.034682855010032654, -0.4461139440536499, 0.5060296654701233, -0.2830493748188019, 0.5072968006134033, 0.21030306816101074, -0.12289834767580032, 0.26432591676712036, -0.47737792134284973, -0.44389668107032776, -0.30867260694503784, 1.2457538843154907, 0.32447725534439087, -0.12802544236183167, 0.2292218655347824, -0.06556229293346405, -0.216481015086174, 0.15994678437709808, -0.9349006414413452, -0.5099442601203918, 0.4525246322154999, -0.4203498065471649, -0.24428334832191467, -0.1503126323223114, -0.6527400612831116, -0.13426190614700317, -0.11940723657608032, 0.566450834274292, -0.5960446000099182, -0.361234575510025, 0.1415938287973404, -0.42696288228034973, 0.3784441649913788, 0.4144817590713501, -0.7639814019203186, 0.3935489058494568, 0.2359013855457306, 0.6067323088645935, 0.12519527971744537, -0.18520693480968475, -0.1796838492155075, 0.1651095449924469, -0.13010211288928986, 0.42117273807525635, -0.0844992846250534, -0.5009812712669373, -0.19406333565711975, 0.24238303303718567, 0.10380877554416656, -0.2640920579433441, 0.35620224475860596, -0.3920150399208069, 0.48923012614250183, -0.30494415760040283, -0.5237099528312683, -0.3888554275035858, 0.09079820662736893, -0.6815586090087891, 1.1546459197998047, 0.46473178267478943, -0.8288036584854126, 0.08853977918624878, -0.6587247252464294, -0.2095441222190857, 0.04214874282479286, 0.06987476348876953, -0.5325164794921875, -0.14734652638435364, 0.15974543988704681, 0.18506786227226257, -0.3039797842502594, 0.08487902581691742, -0.2547927498817444, -0.19758634269237518, 0.19276846945285797, -0.6025454998016357, 1.3280930519104004, 0.204635351896286, -0.3867340683937073, -0.12798458337783813, -0.8135712742805481, 0.10170958191156387, 0.49507564306259155, -0.26398515701293945, 0.00045655760914087296, -0.1449333280324936, 0.09657779335975647, 0.0531412772834301, 0.29036495089530945, -0.3121647536754608, 0.48776012659072876, -0.3081790804862976, 0.5939479470252991, 0.5744930505752563, 0.1044025644659996, 0.2744077742099762, -0.3684423565864563, 0.47126373648643494, -0.07865579426288605, 0.611411452293396, 0.0875646322965622, -0.7480157017707825, -0.6440057158470154, -0.1562313437461853, 0.3783799409866333, 0.5941618084907532, -0.7509306073188782, 0.5079420208930969, -0.10630683600902557, -0.7599597573280334, -0.28562572598457336, -0.09152534604072571, 0.283108115196228, 0.3628362715244293, 0.4941084384918213, -0.4320886433124542, -0.27016472816467285, -0.7726107835769653, 0.05231468379497528, -0.43984004855155945, -0.10526087880134583, 0.29502204060554504, 0.7176901698112488, -0.22769704461097717, 0.8979288339614868, -0.7517513632774353, -0.152460977435112, -0.015397057868540287, 0.13920824229717255, 0.22492310404777527, 0.5329884886741638, 0.6611981987953186, -0.7845311164855957, -0.57442307472229, -0.05789436772465706, -0.6151633262634277, -0.04685908928513527, 0.11091360449790955, -0.43014681339263916, 0.15985804796218872, 0.008506879210472107, -1.039778470993042, 0.7267202734947205, 0.42515861988067627, -0.5895782113075256, 0.8501580953598022, -0.3262810707092285, 0.13837090134620667, -1.002016544342041, 0.02696787565946579, 0.10520172864198685, -0.3263341188430786, -0.5293431878089905, 0.16201356053352356, 0.0019952391739934683, 0.060434501618146896, -0.4779994487762451, 0.6286503672599792, -0.506026029586792, 0.1375351846218109, -0.04383111745119095, -0.011660990305244923, 0.40463441610336304, 0.5131409764289856, -0.1824878752231598, 0.7255536317825317, 0.45742928981781006, -0.5446513891220093, 0.6232881546020508, 0.4573318064212799, -0.018854917958378792, 0.24874889850616455, -0.800262451171875, 0.15776832401752472, 0.13054688274860382, 0.36474335193634033, -0.8254381418228149, -0.2802448570728302, 0.6019260287284851, -0.5378755331039429, 0.45630893111228943, -0.25443634390830994, -0.42152997851371765, -0.4021071791648865, -0.4622882008552551, 0.29207441210746765, 0.8614668250083923, -0.3400370478630066, 0.539351224899292, 0.4540771543979645, 0.07078029215335846, -0.5550926327705383, -0.6081015467643738, -0.15322089195251465, -0.23655112087726593, -0.5678569674491882, 0.49548712372779846, -0.16085901856422424, -0.08338085561990738, -0.03564409166574478, 0.0868641659617424, -0.16805154085159302, -0.03897518292069435, 0.24247634410858154, 0.3398456573486328, -0.09756135195493698, -0.13961297273635864, 0.1849205493927002, 0.07242949306964874, -0.02360083907842636, -0.31737440824508667, 0.39850491285324097, -0.08446095138788223, -0.06791535764932632, -0.37733399868011475, 0.30946195125579834, 0.38205909729003906, -0.046407490968704224, 0.7320430278778076, 0.7790542840957642, -0.3781038820743561, 0.040202293545007706, -0.43833017349243164, -0.1376071274280548, -0.5173195600509644, 0.19182626903057098, -0.09513641148805618, -0.5672516822814941, 0.3913925588130951, 0.3771752119064331, 0.2644426226615906, 0.7329568862915039, 0.4745570123195648, 0.015918998047709465, 1.0451533794403076, 0.525087833404541, -0.07360922545194626, 0.46991032361984253, -0.5736432671546936, -0.1232220008969307, -0.7217785716056824, -0.19556677341461182, -0.4028611183166504, -0.08094845712184906, -0.6958171129226685, -0.39883938431739807, 0.3519514501094818, 0.33405566215515137, -0.8149654269218445, 0.5823248624801636, -0.7506066560745239, 0.20564843714237213, 0.5382793545722961, 0.2344389706850052, 0.35348355770111084, 0.10946144163608551, -0.04933786019682884, 0.18009816110134125, -0.5569522380828857, -0.37542521953582764, 1.0397779941558838, 0.29269176721572876, 0.619504451751709, 0.28081101179122925, 0.4703282117843628, 0.21247193217277527, 0.28208237886428833, -0.5178362727165222, 0.5437763333320618, 0.041631896048784256, -0.7646189332008362, -0.4693683385848999, -0.5676143765449524, -1.0447471141815186, 0.2669363021850586, -0.08699721097946167, -0.8106048107147217, 0.3147384822368622, 0.05356377363204956, -0.3921405076980591, 0.23098279535770416, -0.649415135383606, 0.9452888369560242, -0.08999478071928024, -0.35623303055763245, 0.014264475554227829, -0.6144529581069946, 0.35769402980804443, 0.12276721745729446, 0.0749955028295517, -0.21514083445072174, -0.22983881831169128, 0.6934977173805237, -0.9368112087249756, 0.802402913570404, -0.14666815102100372, -0.18536074459552765, 0.5650745034217834, -0.11162293702363968, 0.5306109189987183, 0.11532818526029587, 0.06243155151605606, 0.29719749093055725, 0.23834407329559326, -0.4226592481136322, -0.4503769874572754, 0.4742697477340698, -1.0066505670547485, -0.5896878242492676, -0.46492382884025574, -0.4179794490337372, 0.025307780131697655, 0.1354735940694809, 0.5241225957870483, 0.417371928691864, -0.08868367224931717, -0.15617235004901886, 0.6464276909828186, -0.37522709369659424, 0.4686649739742279, 0.3965696692466736, -0.44831618666648865, -0.564243733882904, 0.8851794600486755, 0.1545344442129135, 0.22275091707706451, 0.21002861857414246, 0.17965346574783325, -0.4678906500339508, -0.4746256172657013, -0.7264605760574341, 0.2534477710723877, -0.5881596207618713, -0.37403878569602966, -0.6116400361061096, -0.3934898376464844, -0.5028352737426758, 0.29437342286109924, -0.32767102122306824, -0.6303123831748962, -0.4805047810077667, 0.06439247727394104, 0.9247359037399292, 0.6397425532341003, -0.05082402378320694, 0.2844602167606354, -0.8579481244087219, 0.2741733491420746, 0.49493348598480225, 0.09849516302347183, 0.04323946312069893, -0.7111588716506958, -0.1160048097372055, 0.23325371742248535, -0.7968097925186157, -1.0280699729919434, 0.7412217259407043, 0.187855526804924, 0.395846426486969, 0.34942761063575745, 0.24876338243484497, 0.7069268822669983, -0.3503939211368561, 1.033578872680664, 0.2535170912742615, -0.8143324255943298, 0.5254058241844177, -0.5852950215339661, 0.2572709918022156, 0.3008289039134979, 0.6308268904685974, -0.25611230731010437, -0.3254925012588501, -0.7044907212257385, -0.7594969272613525, 0.47341158986091614, 0.5176720023155212, 0.05977671220898628, 0.11469386518001556, 0.4726180136203766, 0.04331657662987709, 0.2018783837556839, -0.8861839771270752, -0.605941891670227, -0.41405025124549866, -0.09528146684169769, 0.17220564186573029, 0.09221474081277847, -0.2650633156299591, -0.6229605078697205, 0.9991120100021362, -0.1292969435453415, 0.5980733633041382, 0.2964654564857483, 0.10018638521432877, -0.069560706615448, 0.1176951453089714, 0.25277456641197205, 0.6042919158935547, -0.130807563662529, -0.29436564445495605, 0.14795590937137604, -0.7958665490150452, 0.16326986253261566, 0.37445878982543945, -0.3118230104446411, -0.08900690078735352, 0.04095585271716118, 0.7826874852180481, -0.14839109778404236, -0.3243321478366852, 0.46226590871810913, -0.2662566006183624, -0.3051014542579651, -0.3419601321220398, 0.2898702621459961, 0.2169107347726822, 0.3491501212120056, 0.4282028079032898, -0.2085212618112564, 0.38684237003326416, -0.5834037661552429, -0.03398910164833069, 0.4415079653263092, -0.2297695279121399, -0.23243801295757294, 0.7671626806259155, -0.03567223623394966, -0.08923505991697311, 0.7301864624023438, -0.36485588550567627, -0.4353434145450592, 0.746979832649231, 0.4508269727230072, 0.7473527193069458, -0.16569019854068756, 0.31867432594299316, 0.49967414140701294, 0.12609083950519562, -0.07672208547592163, 0.29526323080062866, 0.05228440836071968, -0.5286834239959717, -0.30007264018058777, -0.6099081039428711, -0.3296680748462677, 0.2611735463142395, -0.6226764917373657, 0.2426028698682785, -0.3782711923122406, -0.39782705903053284, -0.14200177788734436, 0.2746264338493347, -0.5486236214637756, 0.26421916484832764, 0.007989679463207722, 0.8999512195587158, -0.5666475296020508, 0.8916596174240112, 0.43417319655418396, -0.5865664482116699, -0.9494944214820862, -0.1711083948612213, 0.09380586445331573, -0.5741432905197144, 0.14818574488162994, 0.01392779778689146, 0.2732800841331482, 0.1264517456293106, -0.7403878569602966, -0.8701179027557373, 1.4045227766036987, 0.33059704303741455, -0.5210245847702026, -0.2489815652370453, 0.06734225153923035, 0.3958483338356018, -0.0811178907752037, 0.6984037160873413, 0.5267599821090698, 0.38780519366264343, 0.11856938898563385, -0.9460619688034058, 0.4033127427101135, -0.42184799909591675, 0.026990190148353577, 0.183918759226799, -0.9299595355987549, 1.0006325244903564, 0.01177248451858759, -0.16887687146663666, 0.26829296350479126, 0.5953601598739624, 0.3471143841743469, 0.023482926189899445, 0.33692753314971924, 0.640742838382721, 0.7830527424812317, -0.2635589838027954, 1.1206427812576294, -0.1904098242521286, 0.5832380056381226, 0.8114843964576721, 0.025961631909012794, 0.7113178372383118, 0.10941898822784424, -0.7348249554634094, 0.6033026576042175, 0.9468975067138672, -0.1749180257320404, 0.4118008017539978, 0.11172498017549515, -0.3283234238624573, -0.04717935249209404, 0.13499274849891663, -0.7490440607070923, 0.017030352726578712, 0.3414487838745117, -0.19076383113861084, 0.02592449076473713, -0.11454085260629654, -0.08902513980865479, -0.6235918402671814, -0.28802746534347534, 0.6147257685661316, 0.25296682119369507, -0.3541903495788574, 0.9094927906990051, -0.09870429337024689, 0.5851433873176575, -0.6339431405067444, -0.19965820014476776, -0.30337846279144287, -0.11960186064243317, -0.2768474519252777, -0.6626721024513245, 0.08301115036010742, -0.19851373136043549, -0.1172165498137474, 0.06559234112501144, 0.7071073651313782, -0.23529869318008423, -0.41792812943458557, 0.2838965356349945, 0.4464038014411926, 0.3281520903110504, -0.13889332115650177, -1.0645626783370972, 0.07008308172225952, -0.014384167268872261, -0.6450290679931641, 0.4724145829677582, 0.45063215494155884, 0.16475975513458252, 0.6700441241264343, 0.56685870885849, -0.1450098156929016, 0.11445934325456619, -0.1048298105597496, 0.915278434753418, -0.7161528468132019, -0.24614043533802032, -0.777513861656189, 0.6621100306510925, -0.1616145521402359, -0.3781887888908386, 0.7970718145370483, 0.5347827076911926, 0.6604233980178833, -0.05839869752526283, 0.7552735805511475, -0.3121417164802551, 0.09633201360702515, -0.3298704922199249, 0.8472964763641357, -0.7565177083015442, 0.14551310241222382, -0.36975380778312683, -0.7734503149986267, 0.04171003773808479, 0.6560588479042053, -0.04929498955607414, 0.23420891165733337, 0.420994371175766, 0.8329352736473083, 0.017900528386235237, 0.18648108839988708, 0.2630579471588135, 0.34260138869285583, 0.1179281622171402, 0.7505035400390625, 0.7570024728775024, -0.9622405767440796, 0.6448274850845337, -0.3669322729110718, -0.15475217998027802, -0.039216384291648865, -0.81988924741745, -0.7688684463500977, -0.4145267605781555, -0.625908613204956, -0.6567028164863586, -0.045982472598552704, 0.8772336840629578, 0.7589048147201538, -0.5801867246627808, -0.3050136864185333, -0.1349189281463623, 0.07232021540403366, -0.2035081833600998, -0.29590508341789246, 0.3145311176776886, 0.24302560091018677, -0.7783566117286682, 0.19855566322803497, 0.04549622908234596, 0.48415446281433105, -0.31203386187553406, -0.2611022889614105, -0.22617831826210022, 0.11600373685359955, 0.5443521738052368, 0.5250270962715149, -0.5154002904891968, -0.047557149082422256, -0.1948564499616623, -0.1149454340338707, 0.24834945797920227, 0.263878732919693, -0.7858272194862366, 0.010837453417479992, 0.47171342372894287, 0.08761771768331528, 0.7440490126609802, -0.1207926794886589, 0.5077542662620544, -0.3882800340652466, -0.02245374582707882, 0.06282939016819, 0.3896825611591339, 0.11377213150262833, -0.5188152194023132, 0.6254462003707886, 0.33709055185317993, -0.6848110556602478, -0.682079553604126, -0.11557725816965103, -0.9777703881263733, -0.33014145493507385, 1.0564801692962646, -0.15208548307418823, -0.40333595871925354, -0.20097637176513672, -0.3585556745529175, 0.4384399354457855, -0.5346459746360779, 0.38396409153938293, 0.405875027179718, -0.19044536352157593, -0.1977081596851349, -0.7110840678215027, 0.6117753982543945, 0.05751075968146324, -0.8216787576675415, -0.01239165011793375, 0.5326274633407593, 0.4373675286769867, 0.11581510305404663, 0.7822779417037964, -0.16451938450336456, 0.33994975686073303, 0.16669385135173798, 0.0729643777012825, -0.02413388155400753, 0.06506075710058212, -0.27312400937080383, 0.08679977059364319, -0.24527598917484283, 0.06551170349121094 ]
Yntec/theAllysMixIIIRevolutions
Yntec
2023-11-09T23:54:30Z
7,342
3
diffusers
[ "diffusers", "Base Model", "Portraits", "True Darkness", "theally", "stable-diffusion", "stable-diffusion-diffusers", "text-to-image", "license:unknown", "endpoints_compatible", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2023-11-09T22:05:02Z
--- license: unknown library_name: diffusers pipeline_tag: text-to-image tags: - Base Model - Portraits - True Darkness - theally - stable-diffusion - stable-diffusion-diffusers - diffusers - text-to-image --- # The Ally's Mix III Revolutions This model with the zVAE baked in. Comparison: ![Comparison](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/FO-N9YW2-aDF-fuv2wao6.png) (Click for larger) Zoom in: ![Eyes comparison](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/E28pEGaAZnqYdhkI4TLjE.png) Sample and prompt: ![Sample](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/qfl-KFO6Guwg38guR_oUe.png) Cartoon Pretty Cute Girl, sitting, Detailed Chibi Eyes, holding cookies, beautiful detailed kitchen, gorgeous detailed hair, brunette, Magazine ad, iconic, 1943, from the movie, sharp focus. by Greg Rutkowski William-Adolphe Bouguereau. by Gustave Courbet, by Marco Turini, Deviantart. masterpiece, oil on canvas. Trending on artstation. 8k Original page: https://civitai.com/models/10752/the-allys-mix-iii-revolutions # License This model's license is invalid as it disallows selling the model's outputs, but merges the ReV Animated model that has a license that allows them and says if you merge it with a model you have to keep ReV Animated's model license. The licenses are in conflict.
[ -0.6826485395431519, -0.33307260274887085, 0.35765567421913147, 0.38969752192497253, -0.07731126248836517, 0.09004843235015869, 0.44695401191711426, -0.6330188512802124, 0.6043482422828674, 0.7629522681236267, -0.8546530604362488, -0.35563892126083374, -0.3875158429145813, 0.012111855670809746, -0.4215785562992096, 0.5810050368309021, -0.346085786819458, 0.4545738399028778, -0.022588519379496574, -0.2748933732509613, -0.5115420818328857, 0.036971140652894974, -0.3242613673210144, -0.5844223499298096, 0.2626451849937439, 0.7581871151924133, 0.9681663513183594, 0.24472932517528534, 0.28858593106269836, 0.42791175842285156, -0.07383259385824203, 0.028804074972867966, -0.5402234196662903, 0.1395660638809204, -0.18642015755176544, -0.06603273004293442, -0.5799964070320129, 0.45917245745658875, 0.43247097730636597, 0.28089356422424316, 0.0390949621796608, -0.13489265739917755, -0.06500189751386642, 0.6992130279541016, -0.6753934025764465, -0.2568735182285309, -0.33490651845932007, -0.05526767298579216, -0.0700359046459198, 0.6431693434715271, -0.08393798023462296, -0.354074090719223, -0.13057127594947815, -0.612321674823761, 0.18706806004047394, -0.15180687606334686, 1.414006233215332, -0.3385554552078247, -0.21564067900180817, 0.14287631213665009, -0.831655740737915, 0.6013684868812561, -0.5178132057189941, 0.6304872632026672, -0.11815892159938812, 0.6358543634414673, -0.22980423271656036, -0.934968888759613, -1.0457017421722412, 0.4706754684448242, 0.7362124919891357, 0.5298316478729248, -0.6090847253799438, -0.2825063169002533, -0.043554969131946564, 0.7507791519165039, -0.318644255399704, -0.19794026017189026, -0.562553346157074, 0.2053658813238144, 0.9095692038536072, 0.11647512763738632, 0.6070012450218201, 0.19251368939876556, -0.902745246887207, -0.804531455039978, -0.7140575647354126, -0.06895201653242111, 0.4176890552043915, 0.0005756703903898597, -0.3140592873096466, 0.9763039946556091, -0.2187718003988266, 0.47729742527008057, 0.25735795497894287, 0.27657222747802734, 0.407392680644989, -0.456736296415329, -0.5034815669059753, -0.46501514315605164, 0.9065228700637817, 1.0821884870529175, 0.3566925823688507, 0.12907108664512634, -0.23778052628040314, 0.009660019539296627, 0.3129156827926636, -1.0499849319458008, -0.018244635313749313, -0.13384300470352173, -0.46793216466903687, 0.03986134007573128, 0.21502640843391418, -0.7509329915046692, -0.04344706982374191, 0.010856714099645615, 0.7204274535179138, -0.7700219750404358, -0.37393420934677124, 0.20800955593585968, -0.4196137487888336, 0.4448346793651581, 0.1380603313446045, -0.6721608638763428, 0.23085400462150574, 0.5214638113975525, 0.8638050556182861, 0.3015337884426117, -0.10733705013990402, -0.09843923896551132, -0.19290870428085327, -0.5375947952270508, 0.5158819556236267, -0.326790988445282, -0.8991192579269409, 0.11165465414524078, 0.19437186419963837, -0.05246971175074577, -0.8364543914794922, 0.40103092789649963, -0.7683679461479187, -0.23308418691158295, -0.6256976127624512, -0.44957807660102844, -0.2753729224205017, -0.29493170976638794, -0.49989840388298035, 0.7163292765617371, 0.5095289945602417, -0.37430164217948914, 0.7373321652412415, -0.1982174664735794, -0.009156038984656334, 0.16099390387535095, -0.47049298882484436, -0.5246835350990295, -0.006423444487154484, -0.2084316909313202, 0.1061551421880722, -0.18696601688861847, -0.3672075867652893, -0.8932814002037048, -0.37546947598457336, 0.14163310825824738, -0.07475603371858597, 1.0921049118041992, 0.32076871395111084, -0.24925266206264496, 0.4222780764102936, -0.8166041970252991, 0.02303401567041874, 0.4016118347644806, 0.2520519495010376, -0.18958504498004913, -0.36256086826324463, 0.13129158318042755, 0.472951203584671, 0.17242775857448578, -0.677596390247345, -0.04894924908876419, -0.09237208962440491, -0.19596895575523376, 0.5406920909881592, 0.34300777316093445, 0.2533324062824249, -0.7730207443237305, 0.6025767922401428, -0.010451577603816986, 0.5149359703063965, 0.21010328829288483, -0.6828873157501221, -1.0630444288253784, -0.2542323172092438, -0.11109846830368042, 0.41118624806404114, -0.9513356685638428, 0.43028688430786133, 0.04033811390399933, -1.0362321138381958, -0.7769961357116699, 0.23229366540908813, 0.24961239099502563, 0.29362431168556213, 0.3982755243778229, -0.6127954125404358, -0.47508734464645386, -1.4252684116363525, -0.3383098840713501, -0.3426263630390167, -0.2371845841407776, 0.37856701016426086, 0.3686525821685791, -0.2395319640636444, 0.7080972194671631, -0.08293449133634567, -0.1907053291797638, -0.3029463589191437, 0.11500998586416245, 0.3797968924045563, 0.47707194089889526, 0.7579772472381592, -0.9464695453643799, -0.9533406496047974, -0.06630242615938187, -0.3283637464046478, -0.03740253672003746, 0.24037283658981323, -0.2915917932987213, -0.4655093550682068, 0.2439347207546234, -0.3830404281616211, 0.5719059705734253, 0.41730692982673645, -0.812662661075592, 0.6296653747558594, -0.05409613624215126, 0.5734866857528687, -1.035258173942566, -0.29652032256126404, 0.2987915277481079, -0.2177230715751648, -0.45698273181915283, 0.28387853503227234, 0.23030704259872437, -0.07629882544279099, -0.9045496582984924, 0.5515133142471313, -0.4636777341365814, -0.006253447849303484, -0.36436474323272705, -0.04656615108251572, 0.498725026845932, -0.008991841226816177, -0.20550478994846344, 1.1116689443588257, 0.5423263907432556, -0.5930103659629822, 0.4592949450016022, 0.5955539345741272, -0.5060495734214783, 0.8045521974563599, -0.7823901772499084, 0.013190282508730888, 0.29448381066322327, -0.3177841305732727, -0.6305541396141052, -0.3184179663658142, 0.4925777018070221, -0.6135866045951843, 0.058585695922374725, 0.17899037897586823, -0.47659897804260254, -0.1582554429769516, -0.498140424489975, 0.32344046235084534, 0.9077916145324707, -0.4786897301673889, 0.5882406830787659, 0.07589313387870789, 0.20187188684940338, -0.39160510897636414, -0.6681072115898132, -0.13386672735214233, -0.13385818898677826, -0.8561933636665344, 0.6925092339515686, -0.15458975732326508, -0.715961754322052, 0.17764508724212646, -0.19371724128723145, -0.25779715180397034, -0.2363419532775879, 0.3363705277442932, 0.39756616950035095, -0.3028157353401184, -0.6958053112030029, -0.027933306992053986, 0.3208976089954376, 0.027626825496554375, 0.5738095641136169, 0.34224066138267517, -0.4104098975658417, -0.5654603838920593, -0.5728410482406616, 0.5630451440811157, 1.0539273023605347, -0.05839400365948677, 0.6766018271446228, 0.5674366354942322, -0.34300607442855835, 0.16622240841388702, -0.6381289958953857, -0.06923317909240723, -0.5218126177787781, 0.19498150050640106, -0.3516659438610077, -0.2347087264060974, 0.7993093729019165, 0.2950403392314911, -0.19091054797172546, 0.8931441307067871, 0.2894088923931122, 0.08047004044055939, 1.1705458164215088, 0.6581345200538635, 0.16089053452014923, 0.6776929497718811, -0.4707655608654022, 0.06320962309837341, -1.0909017324447632, -0.45049068331718445, -0.3636423647403717, -0.3191962242126465, -0.3981483280658722, -0.4403686225414276, 0.3537009656429291, 0.3942036032676697, -0.4940994381904602, 0.6289932727813721, -0.037884682416915894, 0.515956461429596, 0.4027782678604126, 0.3251308798789978, 0.12292852997779846, -0.25131118297576904, -0.13189879059791565, -0.15006129443645477, -0.46945199370384216, -0.3325299918651581, 0.3937828838825226, 0.35552042722702026, 0.5832460522651672, 0.32030627131462097, 0.9172584414482117, -0.058440592139959335, 0.20080134272575378, -0.6338871717453003, 0.8599759936332703, -0.11780407279729843, -0.8298123478889465, 0.08930320292711258, -0.08336622267961502, -0.6470853686332703, 0.41233763098716736, -0.632097601890564, -0.6625143885612488, 0.8550779819488525, -0.2769748866558075, -0.3527500331401825, 0.5066855549812317, -0.6976358294487, 0.8719213604927063, -0.007417596876621246, -0.8516321778297424, -0.07466025650501251, -0.3243595063686371, 0.16011343896389008, 0.45341956615448, 0.13167624175548553, -0.250338613986969, 0.2211194783449173, 0.6417521238327026, -0.6908859610557556, 0.7425577044487, 0.04208020865917206, 0.16329990327358246, 0.5944282412528992, 0.33090806007385254, 0.39835429191589355, 0.23056955635547638, -0.06966716796159744, -0.09529527276754379, -0.219245046377182, -0.23621617257595062, -0.5506324768066406, 0.8558769822120667, -0.7498570680618286, -0.5489100813865662, -0.36943522095680237, -0.3267293870449066, 0.002229145262390375, 0.5519518852233887, 0.6168100833892822, 0.4441353380680084, -0.5738560557365417, 0.24339379370212555, 0.38841426372528076, 0.17297837138175964, 0.26292070746421814, 0.4038752615451813, -0.593250572681427, -0.6589760184288025, 0.7561917304992676, -0.11310245096683502, 0.6931796669960022, -0.3635092079639435, -0.05862820893526077, -0.017010478302836418, -0.17387443780899048, -0.5060465931892395, 0.17542196810245514, -0.9084562063217163, -0.24967199563980103, -0.4352021813392639, -0.35492753982543945, -0.4522612690925598, -0.3818282186985016, -0.7401375770568848, 0.06088555231690407, -0.49969521164894104, 0.17492590844631195, 0.5121045112609863, 0.9408431649208069, -0.29910823702812195, 0.3204876780509949, -0.6085742115974426, 0.197609081864357, 0.47031736373901367, 0.4395500123500824, -0.2640870213508606, -0.17909036576747894, -0.030468100681900978, -0.04348145052790642, -0.671025276184082, -1.4185682535171509, 0.4336473345756531, -0.12764793634414673, 0.2924756407737732, 0.5515885353088379, -0.08390374481678009, 0.6462552547454834, -0.37572383880615234, 0.8762074112892151, 0.6283609867095947, -1.0802923440933228, -0.011979262344539165, -0.3708328306674957, 0.26328447461128235, 0.9256378412246704, 0.13754400610923767, -0.6504508256912231, -0.5644204616546631, -1.1077488660812378, -1.2169897556304932, 0.3883771300315857, 0.43355080485343933, 0.12948580086231232, -0.10999079793691635, 0.03828364238142967, 0.1967303305864334, 0.05278116092085838, -0.5967559218406677, -0.5065083503723145, -0.2426278442144394, 0.03561951220035553, 0.23044423758983612, -0.23996569216251373, -0.10779199749231339, -0.22467964887619019, 0.953123152256012, 0.31887078285217285, 0.12175414711236954, 0.4638499915599823, 0.41205012798309326, -0.3162423372268677, 0.05028480663895607, 0.45057782530784607, 0.7928701043128967, -0.5260603427886963, -0.10650072991847992, 0.009366358630359173, -0.5042246580123901, 0.015243387781083584, -0.21989379823207855, -0.13297495245933533, 0.3175351917743683, 0.2080402970314026, 1.0579701662063599, 0.12571509182453156, -0.5195836424827576, 0.8497386574745178, -0.14670857787132263, -0.0734805315732956, -0.31570225954055786, 0.43645012378692627, 0.03652690351009369, 0.8340910077095032, 0.22810955345630646, 0.45369866490364075, 0.4896836578845978, -0.5490774512290955, 0.2553171217441559, 0.5256838202476501, -0.678379476070404, -0.37163975834846497, 0.7839413285255432, 0.16026213765144348, -0.5635712146759033, 0.4084538221359253, -0.30865126848220825, -0.42473793029785156, 0.9027870893478394, 0.7405734062194824, 1.1376757621765137, -0.31719425320625305, 0.3368168771266937, 0.3210752010345459, 0.008396818302571774, -0.11035212874412537, 0.6835974454879761, 0.2039022147655487, -0.7869599461555481, 0.06539352238178253, -0.09182363748550415, -0.6321529150009155, 0.2602040767669678, -1.0101819038391113, 0.7429267168045044, -0.521701455116272, -0.11989516019821167, -0.08753690123558044, -0.4954640865325928, -0.8797984719276428, 0.3420816659927368, 0.0020764924120157957, 1.3653738498687744, -1.3232569694519043, 0.5233591794967651, 0.5781348347663879, -0.622324526309967, -0.6371466517448425, 0.15996485948562622, -0.08642738312482834, -0.7143968939781189, 0.28299281001091003, 0.18705220520496368, -0.3022001385688782, -0.38354963064193726, -0.5504459142684937, -0.5767122507095337, 0.8920384049415588, -0.0507483147084713, -0.6142200827598572, 0.3002587556838989, -0.49450308084487915, 0.2817896008491516, -0.8176264762878418, 0.273186594247818, 0.630916178226471, 0.4507584273815155, 0.5333970189094543, -0.7938321828842163, -0.298301100730896, -0.5441884398460388, 0.07538724690675735, -0.10234275460243225, -0.9109788537025452, 1.270517110824585, -0.44865259528160095, -0.3611016869544983, 0.32062286138534546, 1.1328846216201782, 0.42707839608192444, 0.47967329621315, 0.7057182788848877, 0.3272012770175934, -0.01625579223036766, -0.038961928337812424, 1.1363548040390015, 0.003504605730995536, 0.1954818218946457, 0.9691252708435059, -0.623271644115448, 0.6993483901023865, 0.4819568395614624, -0.41127070784568787, 0.6363446116447449, 0.7944715023040771, -0.10042832791805267, 0.6312209367752075, -0.2361069619655609, -0.467451810836792, -0.3647611737251282, -0.1843584030866623, -0.5747703313827515, 0.23279596865177155, -0.02775111421942711, -0.19717125594615936, -0.19174310564994812, -0.22072157263755798, -0.135283425450325, 0.3764832317829132, -0.12909924983978271, 0.6295977234840393, 0.06835060566663742, -0.2588675320148468, 0.3870013952255249, -0.12346486747264862, 0.23900428414344788, -0.4789120554924011, -0.2875165641307831, -0.12881891429424286, 0.20899349451065063, -0.034864459186792374, -0.894733190536499, 0.12929867208003998, -0.2026595175266266, -0.062322311103343964, 0.050556715577840805, 0.5193679332733154, -0.31683510541915894, -0.6121511459350586, 0.6853600740432739, 0.08273805677890778, 0.06201322004199028, 0.4760538339614868, -0.8331977725028992, 0.545648992061615, -0.008034187369048595, -0.18264855444431305, -0.13979892432689667, 0.15495653450489044, 0.2576884329319, 0.3240349590778351, -0.0015184320509433746, 0.29774850606918335, -0.09737097471952438, -0.04608946666121483, 0.9449600577354431, -0.3926200866699219, -0.5704525113105774, -0.8148676753044128, 0.4785689413547516, -0.40507954359054565, -0.35088416934013367, 1.021571159362793, 0.7311643958091736, 0.9370789527893066, -0.34813639521598816, 0.589663028717041, 0.02631603367626667, 0.30447202920913696, -0.4931720197200775, 0.7773082256317139, -1.0847314596176147, -0.09853998571634293, -0.35987424850463867, -1.1607093811035156, 0.09012874960899353, 0.43915489315986633, -0.065091572701931, 0.4468759000301361, 0.40963879227638245, 0.4705597162246704, -0.3462991714477539, 0.09596701711416245, 0.18245436251163483, 0.28383228182792664, 0.32654500007629395, 0.13781654834747314, 0.7173492908477783, -0.6953843235969543, -0.06780527532100677, -0.46743854880332947, -0.19227178394794464, -0.4979651868343353, -0.5686529278755188, -0.7195768356323242, -0.7698003649711609, -0.22985796630382538, -0.8239725828170776, -0.12467368692159653, 0.9346584677696228, 0.5934186577796936, -0.6324416399002075, -0.23845833539962769, 0.046016789972782135, 0.14391863346099854, -0.2799775004386902, -0.16013120114803314, -0.09447795897722244, 0.407937228679657, -1.0356553792953491, 0.8491930365562439, 0.2045406699180603, 0.7912939190864563, -0.2058955729007721, 0.050337404012680054, -0.186797633767128, 0.3223286271095276, -0.008175110444426537, 0.4787321984767914, -0.5933529138565063, -0.31771352887153625, -0.11805444210767746, 0.11312666535377502, 0.27372387051582336, 0.670270562171936, -0.23296423256397247, 0.6696202754974365, 0.712997555732727, -0.04050520062446594, 0.3585696518421173, -0.025564758107066154, 0.7730845808982849, -0.3623310327529907, 0.15567031502723694, 0.14124442636966705, 0.6723887920379639, 0.4584309160709381, -0.23029306530952454, 0.22390128672122955, 0.136846125125885, -0.4961451292037964, -0.658841609954834, 0.43224290013313293, -1.0488322973251343, -0.08635690063238144, 1.0700528621673584, 0.21144577860832214, -0.48978081345558167, 0.36605116724967957, -0.17925818264484406, 0.3691309690475464, -0.3344724178314209, 0.32980525493621826, 0.6930280327796936, -0.2090325504541397, 0.3154900372028351, -0.6476249098777771, 0.3284437656402588, 0.3989732563495636, -0.20848427712917328, -0.21763873100280762, 0.47897323966026306, 0.5208890438079834, 0.28916415572166443, 0.33106109499931335, -0.5707001686096191, 0.4962165057659149, 0.2242504209280014, 0.7067933082580566, 0.009439357556402683, -0.5915053486824036, -0.21345597505569458, -0.16866393387317657, 0.23308919370174408, -0.5254894495010376 ]
manueldeprada/FactCC
manueldeprada
2023-10-17T13:52:05Z
7,341
1
transformers
[ "transformers", "pytorch", "tf", "jax", "bert", "text-classification", "en", "dataset:cnn_dailymail", "arxiv:1910.12840", "license:bsd-3-clause-clear", "endpoints_compatible", "region:us" ]
text-classification
2023-10-17T12:31:36Z
--- license: bsd-3-clause-clear datasets: - cnn_dailymail language: - en metrics: - f1 --- # FactCC factuality prediction model Original paper: [Evaluating the Factual Consistency of Abstractive Text Summarization](https://arxiv.org/abs/1910.12840) This is a more modern implementation of the model and code from [the original github repo](https://github.com/salesforce/factCC) This model is trained to predict whether a summary is factual with respect to the original text. Basic usage: ``` from transformers import BertForSequenceClassification, BertTokenizer model_path = 'manueldeprada/FactCC' tokenizer = BertTokenizer.from_pretrained(model_path) model = BertForSequenceClassification.from_pretrained(model_path) text='''The US has "passed the peak" on new coronavirus cases, the White House reported. They predict that some states would reopen this month. The US has over 637,000 confirmed Covid-19 cases and over 30,826 deaths, the highest for any country in the world.''' wrong_summary = '''The pandemic has almost not affected the US''' input_dict = tokenizer(text, wrong_summary, max_length=512, padding='max_length', truncation='only_first', return_tensors='pt') logits = model(**input_dict).logits pred = logits.argmax(dim=1) model.config.id2label[pred.item()] # prints: INCORRECT ``` It can also be used with a pipeline. Beware that since pipelines are not thought to be used with pair of sentences, and you have to use this double-list hack: ``` >>> from transformers import pipeline >>> pipe=pipeline(model="manueldeprada/FactCC") >>> pipe([[[text1,summary1]],[[text2,summary2]]],truncation='only_first',padding='max_length') # output [{'label': 'INCORRECT', 'score': 0.9979124665260315}, {'label': 'CORRECT', 'score': 0.879124665260315}] ``` Example on how to perform batched inference to reproduce authors results on the test set: ``` def batched_FactCC(text_l, summary_l, max_length=512): input_dict = tokenizer(text_l, summary_l, max_length=max_length, padding='max_length', truncation='only_first', return_tensors='pt') with torch.no_grad(): logits = model(**input_dict).logits preds = logits.argmax(dim=1) return logits, preds texts = [] claims = [] labels = [] with open('factCC/annotated_data/test/data-dev.jsonl', 'r') as file: for line in file: obj = json.loads(line) # Load the JSON data from each line texts.append(obj['text']) claims.append(obj['claim']) labels.append(model.config.label2id[o['label']]) preds = [] batch_size = 8 for i in tqdm(range(0, len(texts), batch_size)): batch_texts = texts[i:i+batch_size] batch_claims = claims[i:i+batch_size] _, preds = fact_cc(batch_texts, batch_claims) preds.extend(preds.tolist()) print(f"F1 micro: {f1_score(labels, preds, average='micro')}") print(f"Balanced accuracy: {balanced_accuracy_score(labels, preds)}") ```
[ -0.2596612274646759, -0.6520677804946899, 0.5309058427810669, 0.07037661224603653, -0.19890891015529633, -0.15792840719223022, -0.11886707693338394, -0.11720684170722961, 0.11881137639284134, 0.4007699191570282, -0.5644885897636414, -0.6232389211654663, -0.6665748953819275, 0.06389972567558289, -0.3731576204299927, 1.5973271131515503, 0.09870739281177521, -0.16058854758739471, -0.37180736660957336, -0.14993947744369507, -0.12124891579151154, -0.6309738755226135, -0.4301110506057739, -0.15848097205162048, 0.38788309693336487, 0.3390113115310669, 0.7475886940956116, 0.5155189037322998, 0.5157609581947327, 0.393418550491333, -0.14431525766849518, 0.3492857813835144, -0.32265734672546387, -0.16335710883140564, 0.07343140244483948, -0.5159241557121277, -0.34079813957214355, 0.26877760887145996, 0.767071545124054, 0.36099401116371155, -0.15042667090892792, 0.41059380769729614, -0.01682010106742382, 0.3965946137905121, -0.5196426510810852, 0.4726845324039459, -0.3532823920249939, -0.1474282443523407, 0.24947093427181244, 0.06267570704221725, -0.4612070322036743, -0.24544578790664673, 0.2197587937116623, -0.7042682766914368, 0.5155806541442871, 0.23799781501293182, 1.197607398033142, 0.42281466722488403, -0.35110244154930115, -0.3717086613178253, -0.4528627395629883, 0.8604359030723572, -1.0167877674102783, 0.272201269865036, 0.17908290028572083, -0.03996339440345764, -0.1386423408985138, -0.987438440322876, -0.9145476222038269, -0.1814265102148056, -0.3798060119152069, 0.2437388151884079, -0.11140500754117966, -0.019432110711932182, 0.6522231101989746, 0.42613115906715393, -0.6170690655708313, -0.33581191301345825, -0.7202202081680298, -0.366298645734787, 0.867010235786438, 0.24298802018165588, 0.11260268092155457, -0.4000987410545349, -0.5270254015922546, -0.2370312660932541, -0.0670255571603775, 0.20594622194766998, 0.08725667744874954, 0.4181502163410187, -0.561419665813446, 0.5655843019485474, -0.3239894211292267, 0.5258516669273376, -0.15581364929676056, -0.4769379794597626, 0.46562254428863525, -0.4434671998023987, -0.3900546431541443, 0.22644516825675964, 0.9143399000167847, 0.41814368963241577, -0.1106879934668541, 0.15630194544792175, -0.04774387180805206, -0.1734905242919922, -0.029840905219316483, -0.9312507510185242, -0.5786494016647339, 0.5106174945831299, -0.3435148000717163, -0.4025532305240631, 0.26415643095970154, -0.6669667959213257, -0.33319348096847534, -0.176433265209198, 0.5663270354270935, -0.3800300061702728, -0.13535073399543762, 0.009248421527445316, -0.2481001764535904, 0.0005001394893042743, -0.013666035607457161, -0.7731057405471802, 0.13337616622447968, 0.5330513715744019, 1.1632262468338013, 0.2895815670490265, -0.3436397612094879, -0.4738922119140625, -0.24640056490898132, -0.22423510253429413, 0.6471324563026428, 0.03612564504146576, -0.10520695149898529, -0.3570985198020935, -0.017703460529446602, -0.13968408107757568, -0.17976036667823792, 0.8071452379226685, -0.41831886768341064, 0.35765188932418823, -0.493866890668869, -0.5338096022605896, -0.4200645089149475, 0.3328883945941925, -0.6681049466133118, 1.010123610496521, 0.07307783514261246, -1.2683724164962769, 0.3762335479259491, -0.7256385684013367, -0.42042219638824463, -0.30869096517562866, -0.01230129599571228, -0.8524256944656372, -0.28273749351501465, 0.17076560854911804, 0.6041285991668701, -0.26183003187179565, 0.5449993014335632, -0.32788848876953125, -0.28378555178642273, 0.47647613286972046, -0.3033275008201599, 1.0484795570373535, 0.25192973017692566, -0.2139584720134735, 0.23686198890209198, -0.8442208766937256, -0.13499769568443298, 0.04738743230700493, -0.4614976644515991, -0.02183431200683117, -0.009744473733007908, 0.00048223292105831206, 0.32339510321617126, 0.1512497067451477, -0.5698657035827637, 0.07315657287836075, -0.35535886883735657, 0.27810347080230713, 0.5540316104888916, 0.1137821152806282, 0.019678179174661636, -0.5116623044013977, 0.0226401649415493, 0.16623267531394958, 0.1177363246679306, -0.0001483641826780513, -0.5462606549263, -0.9526047110557556, -0.5905364751815796, 0.43859025835990906, 0.6247696876525879, -0.6242995262145996, 0.6759892106056213, -0.4260376989841461, -0.6715657711029053, -0.3349701166152954, -0.22611983120441437, 0.17208637297153473, 0.8688040375709534, 0.5239067673683167, 0.010003478266298771, -0.9360900521278381, -0.8388622999191284, -0.012802930548787117, -0.3689194917678833, 0.06486035138368607, -0.12764209508895874, 0.7789682149887085, -0.24355439841747284, 0.9532051086425781, -0.8541996479034424, -0.15618041157722473, -0.27374520897865295, 0.3673981726169586, 0.7237504124641418, 0.566172182559967, 0.3230494558811188, -0.7427303791046143, -0.23317189514636993, -0.4164979159832001, -0.8658456206321716, 0.2825162410736084, -0.28215059638023376, 0.03944795951247215, 0.3440326750278473, 0.27055811882019043, -0.5801277160644531, 0.552905261516571, 0.5241093039512634, -0.5676041841506958, 0.8338645696640015, -0.3170206844806671, 0.2730754017829895, -1.2526829242706299, 0.3040109872817993, 0.032645199447870255, -0.20060762763023376, -0.7194993495941162, 0.03183422610163689, -0.0898502767086029, 0.09754220396280289, -0.3755975365638733, 0.3573993444442749, -0.14860929548740387, 0.049015555530786514, -0.0647520124912262, -0.025674238801002502, 0.08561991155147552, 0.5667561888694763, 0.004167304839938879, 0.6494898200035095, 0.452662855386734, -0.7794269919395447, 0.4823547303676605, 0.476699560880661, -0.4721156060695648, -0.05026637390255928, -0.5442198514938354, -0.1973981261253357, 0.051782503724098206, 0.36424553394317627, -1.1748428344726562, -0.17306067049503326, 0.33890247344970703, -0.5448733568191528, 0.12259912490844727, -0.05918335169553757, -0.5035426020622253, -0.308540403842926, -0.33320948481559753, 0.17436139285564423, 0.47755250334739685, -0.5310730338096619, 0.5408035516738892, 0.1332997977733612, 0.007384164724498987, -0.8186917901039124, -0.8871843814849854, -0.10024002194404602, 0.03067248873412609, -0.774246335029602, -0.028192339465022087, -0.21933291852474213, -0.22350400686264038, -0.039210155606269836, -0.19922612607479095, -0.03360317647457123, 0.1333099901676178, 0.15436899662017822, 0.6184274554252625, -0.13926582038402557, 0.05762388929724693, -0.06638794392347336, -0.0398058220744133, 0.3019910752773285, -0.09655485302209854, 0.4072515666484833, -0.3193730115890503, -0.010301659815013409, -0.387736439704895, 0.020082207396626472, 0.40174955129623413, 0.01792745664715767, 1.107316493988037, 0.7497754693031311, -0.2613968253135681, 0.06745193898677826, -0.3522074222564697, -0.15996696054935455, -0.42172643542289734, 0.5109595060348511, -0.3758282959461212, -0.6080076694488525, 0.49845707416534424, 0.207130566239357, 0.3132706582546234, 0.8738526701927185, 0.4772508442401886, -0.17451366782188416, 0.794343888759613, 0.48872658610343933, 0.02783140167593956, 0.09749285876750946, -0.786878228187561, 0.29635822772979736, -0.618220865726471, -0.2426130175590515, -0.3379647731781006, 0.014010155573487282, -0.6471754908561707, -0.44215938448905945, 0.44690462946891785, 0.0684560090303421, -0.24940280616283417, 0.06844048947095871, -0.4388151466846466, 0.15428823232650757, 0.6183897852897644, 0.2135220766067505, 0.23528355360031128, 0.07267509400844574, -0.31288212537765503, 0.08673219382762909, -0.886890172958374, -0.4547818601131439, 1.1439294815063477, 0.3257690966129303, 0.403658002614975, 0.0700572282075882, 0.608523428440094, 0.35102149844169617, 0.3041848838329315, -0.8022674322128296, 0.5257369875907898, -0.24635271728038788, -0.7795175909996033, -0.25864022970199585, -0.46847477555274963, -0.45164501667022705, 0.21200904250144958, -0.5500543713569641, -0.5998119711875916, 0.1876622885465622, 0.19354432821273804, -0.4822480380535126, 0.5423219203948975, -0.6687829494476318, 0.877376139163971, 0.03358324244618416, -0.3390725255012512, -0.15704406797885895, -0.786371111869812, 0.7324972748756409, 0.06992696970701218, 0.39978158473968506, -0.08539967983961105, 0.2186753898859024, 1.123354196548462, -0.6683598160743713, 0.8566686511039734, -0.09554004669189453, 0.23848864436149597, 0.4329489469528198, -0.24329452216625214, 0.41867774724960327, 0.15093854069709778, -0.2245589643716812, 0.3305860757827759, 0.24044524133205414, -0.4943561851978302, -0.5600466728210449, 0.43104052543640137, -0.8901976346969604, -0.6005896329879761, -0.9605737924575806, -0.6452304124832153, 0.18766753375530243, 0.2467058002948761, 0.3892892301082611, 0.70257967710495, -0.1241464838385582, 0.10371898859739304, 0.6739069223403931, -0.061330366879701614, 0.5092384219169617, 0.3139423429965973, -0.09959941357374191, -0.5059380531311035, 0.8549113273620605, 0.10729087889194489, 0.19733068346977234, 0.38619378209114075, 0.2880955934524536, -0.5612069964408875, -0.42483967542648315, -0.29912108182907104, 0.36106178164482117, -0.8313435316085815, -0.28078901767730713, -0.9101380705833435, -0.5624707341194153, -0.7816643714904785, 0.15040479600429535, -0.19217704236507416, -0.5298186540603638, -0.3085823357105255, -0.23052948713302612, 0.5570565462112427, 0.5619226694107056, -0.39335906505584717, 0.16483598947525024, -0.6950570344924927, 0.39545533061027527, 0.2514331638813019, 0.06881168484687805, -0.2582037150859833, -0.8361757397651672, -0.4556111693382263, 0.1591971218585968, -0.373748242855072, -0.6163456439971924, 0.3667011260986328, 0.006517541594803333, 0.3203568756580353, 0.39549848437309265, 0.5237799286842346, 0.5740562677383423, -0.1163703128695488, 0.9029601812362671, 0.202453151345253, -0.963252604007721, 0.26436373591423035, 0.037859391421079636, 0.08792693167924881, 0.3010999858379364, 0.43776920437812805, -0.6053704023361206, -0.2985626459121704, -0.824905514717102, -0.7626550793647766, 0.9858235120773315, 0.3526912033557892, -0.3004438579082489, 0.17178118228912354, 0.1847819834947586, -0.053215429186820984, 0.17920206487178802, -0.6492975354194641, -0.6633917093276978, -0.5837801098823547, -0.38107430934906006, -0.3274882733821869, -0.4531971216201782, -0.3768957853317261, -0.37522223591804504, 1.0747231245040894, -0.12863972783088684, 0.43312251567840576, 0.7104965448379517, 0.07013868540525436, 0.20799541473388672, 0.28869372606277466, 0.8049129843711853, 0.7044368386268616, -0.5479503273963928, 0.2595885694026947, 0.34563639760017395, -0.6581661701202393, 0.06794479489326477, 0.3566417396068573, -0.11536049097776413, 0.10580043494701385, 0.6887092590332031, 0.9429459571838379, -0.03944102302193642, -0.4739484488964081, 0.4338126480579376, -0.16266953945159912, -0.46143972873687744, -0.4177757799625397, 0.10804683715105057, 0.0021938614081591368, 0.23965072631835938, 0.361670583486557, 0.47783762216567993, 0.23527325689792633, -0.5826066136360168, 0.25545358657836914, 0.11507751047611237, -0.2512871325016022, -0.19493839144706726, 0.6765356659889221, -0.03243658319115639, 0.08642470091581345, 0.8031885623931885, -0.37899360060691833, -0.8034520745277405, 0.6707887053489685, 0.4276888072490692, 0.6704006195068359, 0.20385120809078217, 0.2718167006969452, 0.7620073556900024, 0.47960400581359863, -0.242115780711174, 0.2496943324804306, 0.12935984134674072, -0.9029721021652222, -0.33950209617614746, -0.5673953294754028, -0.2752739489078522, 0.21663536131381989, -0.5203849673271179, 0.3281833529472351, -0.645740270614624, -0.15130865573883057, 0.033472880721092224, 0.4382142126560211, -0.5805394649505615, 0.6338486671447754, 0.04264407232403755, 0.9085273742675781, -1.1549327373504639, 0.8006167411804199, 0.6377871036529541, -0.6422464847564697, -1.1863083839416504, -0.00799171905964613, 0.015997163951396942, -0.4491770565509796, 0.4350709021091461, 0.16289490461349487, 0.19174283742904663, -0.07247494906187057, -0.5861550569534302, -0.9628964066505432, 1.2243428230285645, 0.260402113199234, -0.3213428854942322, 0.14933468401432037, -0.03857292979955673, 0.3864997923374176, -0.26338693499565125, 0.46545958518981934, 0.7454615831375122, 0.5000836849212646, 0.129986971616745, -0.5310010313987732, 0.43976426124572754, -0.16015686094760895, -0.39721930027008057, -0.12987348437309265, -0.8151407837867737, 1.0880560874938965, -0.6280710101127625, -0.1105741634964943, 0.042460110038518906, 0.909393310546875, 0.6574760675430298, 0.6188549995422363, 0.5993925333023071, 0.6686329245567322, 0.9772261381149292, -0.18989118933677673, 1.1128151416778564, -0.08406982570886612, 0.7973602414131165, 0.9863101840019226, 0.05294130742549896, 0.6874388456344604, 0.2556740939617157, -0.3649618327617645, 0.6966972947120667, 0.575581431388855, -0.27422377467155457, 0.39123719930648804, -0.08022061735391617, -0.2184484750032425, -0.1136488988995552, 0.0394982174038887, -0.27135032415390015, 0.3218684792518616, 0.17696146667003632, -0.3071729838848114, 0.09913419932126999, -0.4366302192211151, 0.28613561391830444, -0.13173653185367584, -0.03636372461915016, 0.4338780641555786, -0.08861809223890305, -0.5016124248504639, 0.7745910882949829, 0.0727197676897049, 0.6521568298339844, -0.4794027507305145, -0.05833953991532326, -0.03649494796991348, 0.042597975581884384, -0.457893431186676, -0.687055230140686, 0.2638344168663025, -0.06262026727199554, -0.4774767756462097, 0.2814421057701111, 0.5088483691215515, -0.4953060746192932, -0.783582329750061, -0.07719311863183975, 0.11474832892417908, 0.33501189947128296, 0.09137003123760223, -0.8629167675971985, 0.0021760344970971346, 0.293463796377182, -0.28346461057662964, -0.0844915360212326, 0.24675974249839783, 0.2081385850906372, 0.6178741455078125, 0.8387343883514404, 0.017936427146196365, 0.00549342343583703, -0.28265348076820374, 0.8051584959030151, -0.6558666229248047, -0.6142736077308655, -0.8397170305252075, 0.7718411087989807, -0.2919895052909851, -0.27882376313209534, 0.5690886378288269, 0.9091528654098511, 0.7032761573791504, -0.2010466456413269, 0.9964038133621216, -0.3973175585269928, 0.478506475687027, -0.6351507902145386, 0.8907028436660767, -0.39900556206703186, 0.12384296208620071, -0.08458995074033737, -0.4738081097602844, -0.13451097905635834, 0.5031793117523193, -0.38730528950691223, -0.039808522909879684, 0.9408694505691528, 0.8633484244346619, -0.14629805088043213, 0.07001857459545135, 0.21909859776496887, 0.6470637917518616, 0.33304017782211304, 0.15668632090091705, 0.5178917050361633, -0.8473221063613892, 0.609448254108429, -0.6103803515434265, -0.2594810426235199, -0.22446809709072113, -0.7779549360275269, -0.9003419280052185, -0.7696188688278198, -0.5080506205558777, -0.6298878192901611, -0.12877140939235687, 1.1198532581329346, 0.7213149070739746, -1.020505666732788, -0.08849252760410309, 0.034885477274656296, 0.3650818169116974, -0.24384213984012604, -0.2851318120956421, 0.6226125955581665, -0.2750023901462555, -0.5588307976722717, 0.024057844653725624, -0.2154647707939148, -0.019441330805420876, 0.048055682331323624, -0.013352622278034687, -0.672639012336731, -0.0037098033353686333, 0.4672136902809143, 0.14971743524074554, -0.6905010938644409, -0.38999634981155396, -0.24689696729183197, -0.07978563010692596, 0.0067946650087833405, 0.6048945188522339, -0.6153163313865662, 0.36311814188957214, 0.5726144909858704, 0.3924226462841034, 0.47711098194122314, 0.12433887273073196, 0.35262879729270935, -0.8321500420570374, 0.2214498519897461, -0.12899625301361084, 0.46018242835998535, 0.4638943076133728, -0.5620185136795044, 0.49558180570602417, 0.618101179599762, -0.5490376949310303, -0.7582486867904663, -0.2239372581243515, -1.0528533458709717, -0.26970288157463074, 0.9416339993476868, -0.3272743821144104, -0.24418236315250397, -0.1136203408241272, -0.2241632491350174, 0.829467236995697, -0.5907220244407654, 0.7886785268783569, 0.584894061088562, -0.12626896798610687, 0.056087419390678406, -0.388846218585968, 0.5040716528892517, 0.22626911103725433, -0.5488506555557251, 0.05509639531373978, 0.2818572521209717, 0.6098312735557556, 0.32703453302383423, 0.530153214931488, 0.266069233417511, 0.25577813386917114, 0.25230342149734497, 0.3089621961116791, -0.22729137539863586, -0.16152702271938324, -0.242219015955925, -0.0291073489934206, -0.09500276297330856, -0.27380844950675964 ]
hubert233/GPTFuzz
hubert233
2023-09-20T03:10:51Z
7,337
3
transformers
[ "transformers", "pytorch", "roberta", "text-classification", "endpoints_compatible", "has_space", "region:us" ]
text-classification
2023-09-20T03:10:19Z
Entry not found
[ -0.3227650225162506, -0.22568431496620178, 0.862226128578186, 0.43461495637893677, -0.5282987952232361, 0.7012965679168701, 0.7915717363357544, 0.07618638128042221, 0.7746025919914246, 0.2563219666481018, -0.7852817177772522, -0.22573819756507874, -0.9104480743408203, 0.5715669393539429, -0.3992334008216858, 0.5791245698928833, -0.14494505524635315, -0.10751161724328995, 0.28233757615089417, -0.2768954336643219, -0.5409224033355713, -0.36855220794677734, -1.1902776956558228, 0.061491113156080246, 0.5316578149795532, 0.7435142397880554, 0.7584060430526733, 0.3652167320251465, 0.6432578563690186, 0.3932291269302368, -0.23138920962810516, 0.4827055037021637, -0.04171813279390335, 0.00260411505587399, -0.3524433970451355, -0.5516898036003113, -0.28596609830856323, 0.07584730535745621, 1.0961304903030396, 0.966687798500061, -0.284663587808609, 0.05330817773938179, -0.3063621520996094, 0.33088892698287964, -0.49734312295913696, 0.3054099678993225, -0.022506045177578926, 0.16318801045417786, -0.7041513919830322, -0.5535354018211365, 0.012794834561645985, -0.7361212968826294, 0.17926570773124695, -0.690081000328064, 0.8269098401069641, 0.18583157658576965, 1.1533750295639038, 0.14819414913654327, -0.462487131357193, -0.8161764144897461, -0.6538989543914795, 0.5711171627044678, -0.32703715562820435, 0.39680248498916626, 0.7028235197067261, -0.048573412001132965, -0.9820332527160645, -0.6745741367340088, -0.46466192603111267, 0.2923962473869324, 0.35402774810791016, -0.3411678075790405, -0.17522086203098297, -0.3058989644050598, 0.15792037546634674, 0.12811517715454102, -0.4841994643211365, -0.5543919205665588, -0.5475160479545593, -0.3960252106189728, 0.6206658482551575, 0.3482950031757355, 0.2429177463054657, -0.1888415813446045, -0.3228583335876465, 0.0880163162946701, -0.4160851538181305, 0.3402571678161621, 0.6335517168045044, 0.7114017009735107, -0.5811444520950317, 0.560215950012207, -0.04927587881684303, 0.7439703941345215, 0.11445561796426773, -0.27478092908859253, 0.41460567712783813, -0.14724725484848022, 0.055171746760606766, 0.4226345121860504, 0.31524422764778137, 0.2841312289237976, -0.3273695111274719, 0.2032228708267212, -0.3215144872665405, -0.30496224761009216, -0.22332167625427246, -0.29490774869918823, -0.3592180609703064, 0.5492289066314697, -0.3314017057418823, -0.42855486273765564, 1.143175721168518, -0.4200771450996399, -0.7302224040031433, 0.33156412839889526, 0.4065209925174713, -0.0994480773806572, -0.37146568298339844, -0.052260834723711014, -0.8458789587020874, -0.007907390594482422, 0.7491172552108765, -0.7198970913887024, 0.3371737599372864, 0.4728063642978668, 0.7417217493057251, 0.19650575518608093, -0.14034469425678253, -0.42949390411376953, 0.2971969544887543, -0.8659994006156921, 0.6320174336433411, -0.20135220885276794, -1.0051977634429932, 0.11150479316711426, 0.8971705436706543, -0.37896400690078735, -1.2094876766204834, 1.0605159997940063, -0.6887932419776917, 0.16017857193946838, -0.676761269569397, -0.14661237597465515, -0.07118501514196396, -0.005096632521599531, -0.6088156700134277, 0.7567102313041687, 0.587267279624939, -0.4995276927947998, 0.21429483592510223, -0.26029831171035767, -0.39151400327682495, 0.38824859261512756, -0.07935450226068497, -0.21858926117420197, 0.713833212852478, -0.6647079586982727, -0.26932814717292786, 0.2942774295806885, 0.2368936538696289, -0.35706108808517456, -0.7931919097900391, 0.08478113263845444, -0.05786270648241043, 1.550750494003296, -0.03868847340345383, -0.3586106300354004, -0.679383397102356, -1.1506240367889404, -0.07070787996053696, 0.6886883974075317, -0.9194989204406738, -0.27839475870132446, -0.046410128474235535, -0.26169314980506897, 0.08994917571544647, 0.7390589714050293, -1.1194051504135132, 0.2832726836204529, -0.05092663690447807, -0.22794683277606964, 0.8271058797836304, 0.15387225151062012, 0.24758946895599365, 0.14913396537303925, 0.42958706617355347, 0.527725338935852, 0.11115207523107529, 0.683587908744812, -0.34720373153686523, -0.9694353938102722, 0.6154631972312927, 0.25266361236572266, 0.8121447563171387, -0.49945297837257385, 0.2685093879699707, 0.27025535702705383, -0.3409680724143982, -0.5682371854782104, -0.3102838397026062, 0.09025752544403076, 0.14930562674999237, 0.11142510175704956, -0.5721710324287415, -0.6576125025749207, -0.9689140319824219, -0.13590654730796814, -0.4314374029636383, -0.3571570813655853, 0.21006910502910614, 0.5792906284332275, -1.1975523233413696, 0.4128875136375427, -0.7705625891685486, -0.7038741111755371, -0.01065548975020647, -0.19338123500347137, 0.7540656328201294, 0.43240174651145935, 0.5033966898918152, -0.6397148370742798, -0.5661987066268921, -0.22470176219940186, -1.0333747863769531, -0.13280506432056427, 0.24819621443748474, 0.3065737783908844, -0.13423344492912292, -0.2744963765144348, -0.48740333318710327, 0.8100387454032898, 0.14789170026779175, -0.5391897559165955, 0.5220767259597778, -0.3020317256450653, 0.17224803566932678, -0.6369150280952454, -0.06916818022727966, -0.661676287651062, -0.0009071884560398757, -0.3608308732509613, -0.5737438797950745, 0.14772287011146545, 0.07017494738101959, -0.16065457463264465, 0.28808408975601196, -0.909277081489563, -0.0010852962732315063, -0.7442210912704468, 0.379071980714798, 0.06394772231578827, -0.3145078718662262, -0.017517540603876114, 1.0000386238098145, 0.7784460783004761, -0.3848048746585846, 0.721744179725647, 0.4440041184425354, 0.19036155939102173, 0.7630521059036255, -0.18725109100341797, 0.16478213667869568, -0.5245416760444641, -0.12161104381084442, -0.8887597918510437, -1.0982946157455444, 0.7320570349693298, -0.6114250421524048, 0.36542922258377075, -0.4277869760990143, 0.2589159905910492, -0.6919258832931519, -0.03885362669825554, 0.4808599352836609, -0.05936325341463089, -0.6863942742347717, 0.5232570171356201, 0.45317530632019043, -0.2019241601228714, -0.6609031558036804, -0.530157208442688, 0.39365822076797485, 0.6154114007949829, -0.16390392184257507, 0.06878514587879181, 0.14941060543060303, -0.5441926121711731, -0.040802597999572754, -0.38691970705986023, -0.45766758918762207, 0.054224006831645966, 0.13053473830223083, -0.005750799085944891, -0.404820054769516, -0.0868026465177536, -0.35842007398605347, -0.4656120240688324, 0.21876516938209534, 0.3011947274208069, -0.04096309468150139, -0.42599788308143616, -0.3619818687438965, -0.888181209564209, 0.6719610095024109, 0.5370282530784607, 0.05281545966863632, 0.7555549740791321, 0.16819314658641815, -0.8014987707138062, -0.13532210886478424, -0.1760706603527069, 0.2696830928325653, -0.5588056445121765, 0.13849826157093048, -0.013484534807503223, -0.0637492910027504, 0.26297882199287415, 0.25386232137680054, -0.4300556778907776, 0.9276250004768372, -0.2615274488925934, -0.3592521846294403, 0.7960181832313538, 0.5974742770195007, 0.49583131074905396, 0.16503219306468964, -0.044541798532009125, 0.900709331035614, -1.1966516971588135, -0.6563175916671753, -0.7409549355506897, -0.15945707261562347, -0.43510833382606506, -0.032105933874845505, 0.6254412531852722, 0.2900990843772888, -0.1333388388156891, 0.4756395220756531, -0.5243489742279053, 0.3556033670902252, 1.01198410987854, 0.35748639702796936, 0.3435698449611664, -0.7570229172706604, -0.2515777349472046, -0.1402427852153778, -0.9998157620429993, -0.2631377875804901, 0.8871029019355774, 0.22752606868743896, 0.844460666179657, 0.5992541313171387, 0.6784542798995972, 0.1367226243019104, 0.2523828148841858, -0.30590319633483887, 0.3920294940471649, 0.4376082420349121, -1.0401138067245483, -0.42758408188819885, 0.021418681368231773, -0.9703338742256165, -0.14227519929409027, -0.03495011106133461, -0.42617112398147583, 0.7681737542152405, 0.00016589462757110596, -0.4076709747314453, 0.7732734084129333, -0.455583393573761, 0.7562873363494873, -0.4473648965358734, -0.02663906291127205, 0.4699096083641052, -0.7070636749267578, 0.4677430987358093, 0.12878790497779846, 0.6205843091011047, -0.015572631731629372, -0.04078587517142296, 0.7104941606521606, -0.9129160046577454, 0.25438642501831055, -0.6348397135734558, 0.22421300411224365, 0.24246945977210999, 0.51606285572052, 0.5969953536987305, 0.4371243417263031, 0.10119888931512833, -0.23920902609825134, 0.04115807265043259, -0.8241125345230103, -0.210506409406662, 0.697515606880188, -0.7186890840530396, -0.6864197850227356, -1.2355337142944336, 0.14438660442829132, 0.27347055077552795, 0.389305055141449, 0.7959296107292175, 0.571408748626709, 0.1289544403553009, 0.680525004863739, 0.9888588190078735, -0.0688566341996193, 0.9166924357414246, 0.3224477171897888, 0.09175168722867966, -0.21944808959960938, 0.7036820650100708, 0.26627904176712036, -0.24707956612110138, -0.11939732730388641, 0.20913465321063995, -0.11069409549236298, -0.591761589050293, -0.49990686774253845, 0.3701757788658142, -0.6731787919998169, -0.18303893506526947, -0.6243735551834106, -0.6043769717216492, -0.511759340763092, 0.06927360594272614, -0.7147687673568726, 0.23979046940803528, -0.7753565907478333, -0.10574902594089508, 0.04323432594537735, 0.9792009592056274, -0.589311957359314, 0.5805224180221558, -1.1218582391738892, 0.19345788657665253, -0.07949887961149216, 0.7921058535575867, 0.21395787596702576, -0.7344395518302917, -0.3975418508052826, -0.11592631042003632, -0.3729911744594574, -1.3576762676239014, 0.21404948830604553, -0.2454141080379486, 0.23094046115875244, 0.6145404577255249, 0.1397707313299179, 0.5258248448371887, -0.34326282143592834, 0.7029101848602295, -0.057017259299755096, -0.7069286704063416, 0.7934495210647583, -0.5026894807815552, 0.4963534474372864, 0.9765996932983398, 0.5333835482597351, -0.7984007596969604, 0.035741209983825684, -1.041123390197754, -0.6008695363998413, 0.38426393270492554, 0.11928944289684296, -0.03601083159446716, -0.6659559011459351, -0.054019637405872345, -0.16143807768821716, 0.6043745279312134, -1.039069414138794, -0.7858356237411499, 0.2576698362827301, 0.5277302861213684, 0.0816856250166893, -0.5653398633003235, 0.20880667865276337, -0.544416069984436, 1.0657774209976196, 0.45109400153160095, 0.3274499475955963, 0.8406060934066772, 0.46492424607276917, -0.3823164403438568, 0.09252490103244781, 0.7662695050239563, 0.6666232347488403, -0.5239797830581665, -0.2908027470111847, -0.08827541768550873, -0.9143403768539429, 0.05927472561597824, 0.11168918758630753, -0.013455932028591633, 0.9082110524177551, 0.5793083310127258, 0.2539709210395813, 0.4514279365539551, -0.726460337638855, 0.8859451413154602, -0.14954176545143127, -0.12472866475582123, -1.0677239894866943, 0.1948619782924652, -0.23984959721565247, 0.5006402134895325, 1.0061326026916504, 0.5250048041343689, -0.047630298882722855, -0.8143380880355835, -0.01473585981875658, 0.6939172148704529, -0.7091123461723328, -0.17449834942817688, 0.944853663444519, 0.3847099542617798, -1.2953051328659058, 1.106776475906372, -0.5381771326065063, -0.560332179069519, 0.9121301770210266, 0.522956907749176, 1.1221847534179688, -0.44204121828079224, 0.0008676342549733818, 0.2662237286567688, 0.41378432512283325, 0.5423170328140259, 1.0869629383087158, 0.431413471698761, -0.7931063771247864, 0.8826584815979004, -0.24776044487953186, -0.40361151099205017, -0.05347571521997452, -0.42859897017478943, 0.16892178356647491, -0.4406192898750305, -0.10713007301092148, -0.3444187641143799, 0.28543180227279663, -0.7072042226791382, 0.42807620763778687, -0.0838567465543747, 0.8653068542480469, -0.8553727269172668, 0.47207626700401306, 0.635470449924469, -0.3337355852127075, -0.8508191108703613, -0.26198428869247437, -0.11448462307453156, -0.6389466524124146, 0.30214807391166687, -0.4554102420806885, 0.044398851692676544, 0.09623463451862335, -0.649151623249054, -1.1778275966644287, 0.9093633890151978, -0.639612078666687, -0.2784462869167328, 0.20464053750038147, -0.11514760553836823, 0.28811705112457275, -0.2524643540382385, 0.010661216452717781, 0.41876548528671265, 0.748940110206604, 0.2844654619693756, -0.7727053761482239, -0.3694884479045868, 0.0015032943338155746, -0.44474777579307556, 0.7582978010177612, -0.6002101898193359, 1.1840779781341553, -0.5563543438911438, -0.059654366225004196, 0.44384512305259705, 0.24690914154052734, 0.21076197922229767, 0.6629220843315125, 0.1442081481218338, 0.7282265424728394, 1.07012140750885, -0.40835219621658325, 0.8811809420585632, 0.26432839035987854, 0.47430819272994995, 0.7238501906394958, -0.6487724781036377, 0.7513749003410339, 0.31810489296913147, -0.5682924389839172, 0.9228013753890991, 1.2906063795089722, -0.15699204802513123, 0.8079374432563782, 0.05136508867144585, -1.081600546836853, 0.325833261013031, -0.20724765956401825, -0.7530064582824707, 0.3150254189968109, 0.19055864214897156, -0.6920982599258423, -0.5770308971405029, -0.24046507477760315, -0.35662803053855896, -0.11552901566028595, -0.7631728649139404, 0.6720563769340515, -0.016969164833426476, -0.5103683471679688, 0.18857547640800476, 0.2877499461174011, 0.17368432879447937, -0.5235732793807983, -0.02939440682530403, -0.22823619842529297, 0.2660655975341797, -0.5670853853225708, -0.5234526991844177, 0.5724433064460754, -0.32430219650268555, -0.5343255400657654, 0.18147465586662292, 0.763587236404419, -0.16923809051513672, -0.4515409469604492, 0.32472723722457886, 0.6959525346755981, 0.1665852814912796, 0.4250282347202301, -0.23511263728141785, 0.24480605125427246, -0.08044824004173279, -0.06651552021503448, 0.27714768052101135, 0.3449169099330902, 0.22435641288757324, 0.4450142979621887, 0.43285664916038513, -0.01808755099773407, -0.10736498981714249, -0.382819801568985, 0.4124940037727356, -0.9542785882949829, -0.5713282823562622, -0.6307113766670227, 0.2740660607814789, -0.02315417304635048, -1.0836423635482788, 0.4145168364048004, 1.4406683444976807, 1.0359982252120972, -0.4756383001804352, 1.067226529121399, -0.21818485856056213, 0.9594791531562805, 0.41483086347579956, 0.5420440435409546, -0.6030411720275879, 0.03835370019078255, -0.4364396035671234, -1.076962947845459, -0.35716333985328674, 0.4539391100406647, -0.022899555042386055, -0.3429867625236511, 0.872571587562561, 0.5887166261672974, -0.33473607897758484, -0.11728022992610931, 0.048487238585948944, -0.029941488057374954, -0.12433847039937973, 0.5145376324653625, 0.7648399472236633, -0.9344304800033569, -0.10680416971445084, -0.21577754616737366, -0.6382725834846497, -0.5047279000282288, -0.9632009267807007, -0.12959396839141846, -0.16037796437740326, 0.035343267023563385, -0.5662806630134583, 0.00255737011320889, 1.208324909210205, 0.5684957504272461, -1.1113994121551514, -0.5303789377212524, 0.3371853232383728, 0.3920421898365021, -0.1874791383743286, -0.24202413856983185, 0.2984568774700165, 0.15382249653339386, -0.5908876657485962, 0.6875665783882141, 0.8089625239372253, 0.208888977766037, 0.19554761052131653, 0.15893013775348663, -0.8229473829269409, -0.14913435280323029, 0.17440445721149445, 0.9450570344924927, -0.939853310585022, -0.7114843130111694, -0.03168516233563423, -0.27094873785972595, -0.05765746906399727, 0.17102102935314178, -0.4046344757080078, 0.5180677175521851, 0.34591493010520935, 0.49933457374572754, 0.0561608150601387, -0.054746925830841064, 0.5409556031227112, -0.9069057703018188, 0.09425963461399078, 0.4134361147880554, 0.4154115319252014, -0.4000864028930664, -0.5910194516181946, 0.6713420748710632, 1.0073972940444946, -0.6594868898391724, -0.8743268847465515, -0.19846712052822113, -1.0016002655029297, 0.04189709946513176, 0.6762762069702148, 0.5009527802467346, -0.4806513786315918, -0.4174500107765198, -0.5617399215698242, -0.1254672110080719, -0.1369970738887787, 0.7621601819992065, 1.179680585861206, -0.7432094812393188, 0.07975747436285019, -1.038639783859253, 0.6594986915588379, -0.2419457733631134, -0.3457581698894501, -0.48644304275512695, 0.3832802176475525, 0.35236993432044983, 0.440481036901474, 0.614812433719635, 0.1408471167087555, 0.8338426351547241, 0.3126053214073181, -0.1702686995267868, 0.2698982357978821, -0.4559200704097748, -0.028932858258485794, -0.057962555438280106, 0.31015971302986145, -1.0262157917022705 ]
facebook/blenderbot-3B
facebook
2023-03-30T16:12:22Z
7,325
118
transformers
[ "transformers", "pytorch", "blenderbot", "text2text-generation", "convAI", "conversational", "facebook", "en", "dataset:blended_skill_talk", "arxiv:1907.06616", "license:apache-2.0", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
conversational
2022-03-02T23:29:05Z
--- language: - en thumbnail: tags: - convAI - conversational - facebook license: apache-2.0 datasets: - blended_skill_talk metrics: - perplexity --- ## Model description + Paper: [Recipes for building an open-domain chatbot](https://arxiv.org/abs/1907.06616) + [Original PARLAI Code](https://parl.ai/projects/recipes/) ### Abstract Building open-domain chatbots is a challenging area for machine learning research. While prior work has shown that scaling neural models in the number of parameters and the size of the data they are trained on gives improved results, we show that other ingredients are important for a high-performing chatbot. Good conversation requires a number of skills that an expert conversationalist blends in a seamless way: providing engaging talking points and listening to their partners, both asking and answering questions, and displaying knowledge, empathy and personality appropriately, depending on the situation. We show that large scale models can learn these skills when given appropriate training data and choice of generation strategy. We build variants of these recipes with 90M, 2.7B and 9.4B parameter neural models, and make our models and code publicly available. Human evaluations show our best models are superior to existing approaches in multi-turn dialogue in terms of engagingness and humanness measurements. We then discuss the limitations of this work by analyzing failure cases of our models.
[ -0.3299379050731659, -0.76351398229599, 0.32815980911254883, 0.31163108348846436, 0.31120577454566956, -0.08448483794927597, -0.4083685278892517, -0.2015322595834732, -0.008383276872336864, 0.6380597949028015, -0.26299378275871277, -0.24815762042999268, -0.724308967590332, -0.36091381311416626, -0.22305934131145477, 0.9266358017921448, 0.3176840841770172, 0.17404137551784515, -0.3203333020210266, -0.17790792882442474, -0.4638640284538269, -0.7086642980575562, -0.7803884148597717, -0.1855911910533905, 0.6041881442070007, 0.45410698652267456, 0.9087989926338196, 0.45009681582450867, 0.18019366264343262, 0.31662172079086304, -0.31300094723701477, 0.453949511051178, -0.7174899578094482, 0.29513221979141235, -0.03564071282744408, -0.3870370090007782, -0.8366767764091492, 0.22810058295726776, 0.05682719871401787, 0.8058596253395081, -0.32129696011543274, 0.06670649349689484, 0.21209366619586945, 0.5225247144699097, -0.382843941450119, 0.48264822363853455, -0.8058265447616577, -0.2113666832447052, 0.09130243211984634, -0.17052428424358368, -0.7445091009140015, -0.1781071424484253, 0.23889119923114777, -0.5831595063209534, 0.2056708037853241, -0.05909804627299309, 0.6721607446670532, -0.030747169628739357, -0.27074623107910156, -0.35523611307144165, -0.9167351722717285, 0.7003800868988037, -0.8647423386573792, 0.19253088533878326, 0.5747851729393005, 0.4596545696258545, -0.4205460250377655, -0.7085099816322327, -0.40037980675697327, -0.2803713083267212, 0.11381827294826508, -0.07508815824985504, -0.20876586437225342, -0.00537871103733778, 0.0865635797381401, 0.21021081507205963, -0.2682744860649109, 0.16949306428432465, -0.31118282675743103, 0.11734186857938766, 0.5783729553222656, 0.40403273701667786, 0.2314465492963791, 0.15406973659992218, -0.030712120234966278, -0.1902027279138565, -0.40670475363731384, 0.08399220556020737, 0.7394887208938599, 0.5848328471183777, -0.25961631536483765, 0.5298354625701904, -0.16107355058193207, 0.6426733136177063, -0.016300980001688004, -0.0788312703371048, -0.060172174125909805, -0.38992196321487427, -0.07933434098958969, -0.41327282786369324, 0.8082091212272644, 0.40928709506988525, 0.4743001163005829, -0.10460955649614334, 0.2145959585905075, -0.36776667833328247, 0.5947617292404175, -0.9796605706214905, -0.44427308440208435, 0.3643217086791992, -0.581404447555542, -0.32774239778518677, -0.0673179030418396, -0.543428361415863, -0.3126508295536041, -0.25234511494636536, 0.21906882524490356, -0.5882009863853455, -0.4652480483055115, 0.2643645703792572, -0.20920760929584503, 0.1298413872718811, 0.40931642055511475, -1.1259106397628784, 0.29631251096725464, 0.718512237071991, 0.8102544546127319, 0.18221434950828552, -0.2840435206890106, -0.4343375861644745, -0.31475555896759033, -0.4572114646434784, 0.38584059476852417, -0.5817128419876099, -0.3084632158279419, 0.09521394222974777, -0.17137350142002106, -0.009604653343558311, -0.4891408383846283, 0.4389466643333435, -0.4060591459274292, 0.3779686689376831, -0.06317565590143204, -0.5754148364067078, -0.1432924121618271, 0.0982908308506012, -0.5008268356323242, 0.4476739764213562, 0.18624822795391083, -0.5536382794380188, 0.024580329656600952, -0.8937175869941711, -0.4583037197589874, 0.16491036117076874, 0.01845463737845421, -0.27612221240997314, 0.28957411646842957, 0.2093224972486496, 0.6105093359947205, -0.3327989876270294, 0.30289578437805176, -0.36631253361701965, 0.15251867473125458, 0.527030885219574, -0.4741666316986084, 0.8598902821540833, 0.11649040132761002, 0.07297258079051971, 0.36205676198005676, -0.577560544013977, 0.361734002828598, 0.2576608657836914, -0.2706761360168457, -0.1385583132505417, 0.11630228906869888, 0.055957548320293427, -0.0984535664319992, -0.028898006305098534, -0.3809538185596466, 0.0016290664207190275, -0.49225181341171265, 0.7907451391220093, 0.6009665727615356, -0.05774777755141258, 0.4836282730102539, -0.34108835458755493, 0.24349331855773926, 0.11354797333478928, 0.2844555377960205, -0.4730846583843231, -0.9188857674598694, -0.8751358985900879, -0.3734745681285858, 0.47220584750175476, 0.329415500164032, -0.4247659146785736, 0.8252747654914856, 0.07155708968639374, -0.9142464995384216, -0.8636801242828369, -0.06372706592082977, 0.38322025537490845, 0.4362231194972992, 0.22726555168628693, -0.44442304968833923, -0.43671125173568726, -0.7689018845558167, -0.21696949005126953, -0.017785832285881042, -0.2761222720146179, 0.670761227607727, 0.40716472268104553, 0.15206606686115265, 0.8497816324234009, -0.5153966546058655, 0.03190608322620392, -0.4008900821208954, 0.18270529806613922, 0.16078497469425201, 0.43357694149017334, 0.3637695014476776, -0.8403787612915039, -0.6822618246078491, 0.10366369038820267, -0.7924370765686035, 0.3517282009124756, -0.014733158983290195, -0.3404195010662079, -0.015189960598945618, 0.1784038245677948, -0.9238094091415405, 0.5161886811256409, 0.3513048589229584, -0.23360681533813477, 0.3440553545951843, -0.2380209118127823, 0.18984776735305786, -1.1439515352249146, 0.01187114417552948, 0.1300407350063324, 0.06226920336484909, -0.9975886344909668, 0.11726482957601547, 0.08508054167032242, -0.3902103006839752, -0.6137608289718628, 0.5599856376647949, -0.18059152364730835, 0.18571296334266663, -0.201088085770607, -0.11908993124961853, -0.06815408915281296, 0.8072687983512878, 0.026309482753276825, 0.6970319747924805, 0.460395872592926, -0.4776124060153961, 0.31781119108200073, 0.4665907919406891, -0.2735058069229126, 0.4935368299484253, -1.1050026416778564, 0.22357144951820374, 0.1861535906791687, 0.1442355066537857, -0.9435785412788391, -0.5434752106666565, 0.0058382474817335606, -0.79804527759552, 0.1575373411178589, -0.3105570673942566, -0.5207856297492981, -0.12324204295873642, 0.13639691472053528, 0.028608066961169243, 0.7140845656394958, -0.42900845408439636, 0.5692738890647888, 0.47867369651794434, -0.23467440903186798, -0.08963610976934433, -0.09311045706272125, 0.09495856612920761, -0.06019523739814758, -0.7919610142707825, 0.17282681167125702, -0.3220713138580322, -0.0991876870393753, -0.17669451236724854, 0.29329654574394226, -0.2158944010734558, 0.09285134077072144, 0.3669005334377289, 0.16135260462760925, -0.2700093686580658, -0.12943774461746216, -0.13308990001678467, -0.07035636156797409, 0.11784068495035172, -0.2884233891963959, 0.7384696006774902, -0.27057039737701416, -0.11993221938610077, -0.5503460764884949, 0.4612882435321808, 0.6205134391784668, -0.32542797923088074, 0.9437586069107056, 0.43092378973960876, -0.21973548829555511, -0.14944298565387726, -0.29331719875335693, -0.3518883287906647, -0.43696680665016174, 0.266958624124527, -0.19397252798080444, -0.7650676369667053, 0.4770893156528473, 0.1701294481754303, 0.14174599945545197, 0.22495901584625244, 0.8384411931037903, 0.013953786343336105, 1.14279043674469, 0.5334113836288452, 0.22036169469356537, 0.26766130328178406, -0.09172142297029495, 0.3348354399204254, -0.5901659727096558, -0.2738327980041504, -0.5920765399932861, -0.11873085796833038, -0.3917188346385956, -0.48076730966567993, 0.32905876636505127, -0.15171211957931519, -0.4377679228782654, 0.48241016268730164, -0.39555615186691284, 0.5234920978546143, 0.8996297121047974, 0.3323836624622345, -0.01814332604408264, -0.08428070694208145, 0.03557905554771423, -0.02296411246061325, -0.8119606375694275, -0.5505526065826416, 1.1041325330734253, 0.46021100878715515, 0.616722047328949, -0.07624812424182892, 0.3521541655063629, -0.09964495152235031, 0.005644776858389378, -0.8836705088615417, 0.5040020942687988, 0.08358346670866013, -0.8356176018714905, -0.4651109278202057, -0.5284563899040222, -0.8812397122383118, 0.09246043115854263, -0.15642039477825165, -0.4412177801132202, -0.3097144663333893, 0.1215551421046257, -0.3280799984931946, 0.3665311336517334, -0.921358048915863, 1.0202503204345703, -0.11938675493001938, -0.28108882904052734, -0.013480992056429386, -0.8427670001983643, 0.16356952488422394, 0.273818701505661, -0.16976870596408844, -0.051981475204229355, 0.2653070092201233, 0.41986173391342163, -0.35211798548698425, 1.1400914192199707, -0.17068690061569214, 0.050108540803194046, 0.36470717191696167, 0.22220422327518463, 0.12483305484056473, 0.02752797119319439, 0.018934624269604683, 0.2920433580875397, -0.2996147572994232, -0.6037789583206177, -0.7399439811706543, 0.5105156898498535, -0.9413312077522278, -0.5178130865097046, 0.06760988384485245, -0.6387242078781128, -0.34052011370658875, 0.12447167932987213, 0.115306556224823, 0.4313353896141052, -0.4403119683265686, 0.6933226585388184, 0.8463226556777954, -0.4567092955112457, 0.21921959519386292, 0.2795748710632324, 0.13619692623615265, -0.4983808696269989, 0.7562867999076843, -0.05822081118822098, 0.47159531712532043, 0.2993747293949127, 0.30250364542007446, 0.24774396419525146, -0.30270934104919434, -0.3811955749988556, -0.12151265889406204, -0.4300166368484497, -0.15240593254566193, -0.7246065139770508, -0.5739049911499023, -0.4656045734882355, -0.08517245948314667, -0.7017492055892944, -0.37273934483528137, -0.4000757932662964, 0.10456559807062149, 0.3935881555080414, 0.602384090423584, 0.11698278784751892, 0.370299756526947, -0.803336501121521, 0.06195155903697014, 0.2987251281738281, 0.32600727677345276, 0.5437338948249817, -0.4575442969799042, -0.33065587282180786, 0.3035384714603424, -0.595608651638031, -0.4097118377685547, 0.6225805282592773, 0.12823016941547394, 0.5008801221847534, 0.24484066665172577, -0.03621092066168785, 0.3087986707687378, -0.564651608467102, 0.8363826274871826, 0.364102840423584, -0.6890966296195984, 0.5878745913505554, -0.567524790763855, 0.2622455060482025, 0.2868673801422119, 0.8559246063232422, -0.42495080828666687, -0.3106980621814728, -0.7416177988052368, -0.7369706034660339, 0.6351228952407837, 0.5020647644996643, 0.6196048259735107, -0.10729099065065384, 0.24282972514629364, 0.4398646652698517, 0.2315826117992401, -0.3584832549095154, -0.14264462888240814, -0.40797916054725647, -0.19630080461502075, -0.0696239098906517, -0.08103897422552109, -0.2758904695510864, -0.2840242087841034, 0.41227585077285767, -0.07964544743299484, 0.44134584069252014, -0.3088562488555908, 0.42684459686279297, 0.017060788348317146, 0.13395419716835022, 0.5622873902320862, 0.577944278717041, -0.18520775437355042, -0.17725920677185059, -0.23840801417827606, -0.10453998297452927, -0.2139715999364853, -0.1883772611618042, 0.37878701090812683, -0.40730610489845276, 0.3827735483646393, 0.9125391244888306, 0.04462458938360214, -0.6300243735313416, 0.53834468126297, -0.3030620515346527, -0.4210493564605713, -0.0680731013417244, 0.40771234035491943, 0.5336223244667053, 0.335309773683548, 0.08626146614551544, 0.24173332750797272, -0.19100269675254822, -0.6505857110023499, 0.039957646280527115, 0.25033649802207947, -0.5251455307006836, -0.5158182978630066, 0.5666007995605469, 0.4292812645435333, -0.8079808354377747, 0.8945350050926208, -0.05446053296327591, -0.3619905412197113, 0.4768727719783783, 0.5076661109924316, 0.8439807891845703, -0.1862521767616272, 0.34306854009628296, 0.24208857119083405, 0.026171471923589706, -0.041156310588121414, 0.16106440126895905, -0.09023486822843552, -0.7321680784225464, -0.12424060702323914, -0.34209027886390686, -0.8112233281135559, 0.09543226659297943, -0.5000463128089905, 0.09345777332782745, -0.41222578287124634, -0.15883159637451172, 0.3823217749595642, -0.3910902142524719, -0.7363161444664001, -0.11285704374313354, -0.18943080306053162, 0.7765610218048096, -0.4852219820022583, 0.5891180038452148, 0.3511451780796051, -0.5575305819511414, -0.5825132131576538, -0.2804301381111145, -0.21234329044818878, -0.7409175038337708, 0.47917842864990234, -0.010826501064002514, 0.3071824908256531, -0.2536020278930664, -0.9666230082511902, -0.40236300230026245, 0.7104977369308472, 0.3261536657810211, -0.23920008540153503, -0.42336341738700867, 0.04764236509799957, 0.7644204497337341, -0.7367509603500366, 0.36137276887893677, 0.13811224699020386, 0.044243134558200836, 0.3846917748451233, -1.0526018142700195, -0.1960819661617279, -0.3093465566635132, 0.09165560454130173, 0.07125485688447952, -0.6292206645011902, 0.9081165194511414, -0.34392791986465454, 0.23668327927589417, 0.29110094904899597, 0.7008540630340576, 0.00023037768551148474, 0.27721214294433594, 0.20923976600170135, 0.4099610149860382, 0.39970192313194275, 0.04673609137535095, 0.7286971211433411, -0.2711487412452698, 0.07113680988550186, 1.3351410627365112, -0.3416256308555603, 1.0221657752990723, 0.14192914962768555, 0.03516903519630432, 0.3454277813434601, 0.44699108600616455, 0.11761479079723358, 0.4049255847930908, 0.12087546288967133, -0.053791314363479614, -0.2952437102794647, 0.017750591039657593, -0.13494886457920074, 0.6321126222610474, 0.46343281865119934, -0.47925323247909546, -0.000036888210161123425, 0.021933287382125854, 0.17737872898578644, 0.09195508807897568, 0.18434816598892212, 0.9110527634620667, 0.0930265486240387, -0.8019064664840698, 0.6063382625579834, -0.0926211029291153, 0.22650055587291718, -0.42385542392730713, -0.09978942573070526, -0.2704041600227356, 0.19286882877349854, 0.09982012957334518, -0.7484910488128662, 0.15134580433368683, -0.11613693088293076, -0.09429515898227692, -0.2567177414894104, 0.5409010648727417, -0.33700230717658997, -0.11075406521558762, 0.17162181437015533, 0.6684888005256653, 0.06287606060504913, -0.234764963388443, -0.6269079446792603, -0.08118291944265366, -0.18751157820224762, -0.22553600370883942, 0.3896297216415405, 0.6645938158035278, 0.299160361289978, 0.6046922206878662, 0.5872692465782166, -0.04411020129919052, -0.13905851542949677, -0.05335322394967079, 0.9277043342590332, -0.565505862236023, -0.3338899612426758, -0.5703858733177185, 0.7311498522758484, -0.3590776324272156, -0.5701715350151062, 0.7146615386009216, 0.4481326639652252, 0.8512873649597168, -0.18370850384235382, 0.6792944073677063, -0.06696842610836029, 0.5515806078910828, -0.27513763308525085, 0.7061261534690857, -0.29095950722694397, -0.1177382692694664, 0.0726771354675293, -0.7843430042266846, -0.23139050602912903, 0.4680216908454895, 0.029231812804937363, 0.1392909288406372, 0.4098277986049652, 0.8643991947174072, -0.16845948994159698, 0.36727374792099, 0.6669414639472961, 0.13741524517536163, 0.5187007188796997, 0.5370083451271057, 0.8502153158187866, -0.37056487798690796, 0.5257241725921631, 0.07016114890575409, -0.4827514588832855, -0.32306021451950073, -0.6690627336502075, -1.328434944152832, -0.867337167263031, -0.2086397111415863, -0.5058249235153198, 0.09150797873735428, 0.9694145917892456, 1.196664571762085, -0.5585803985595703, -0.37723851203918457, -0.049669310450553894, -0.045539360493421555, -0.24126440286636353, -0.16394472122192383, -0.16314192116260529, -0.5183767080307007, -0.7202022075653076, 0.43517065048217773, 0.18433867394924164, 0.06002974510192871, -0.33871567249298096, -0.1756647229194641, 0.0037634053733199835, 0.5168681740760803, 0.7893480658531189, 0.2923443913459778, -0.5596466660499573, -0.07149868458509445, 0.10052067041397095, -0.08645828813314438, 0.1902615875005722, 0.7887849807739258, -0.22745800018310547, 0.49661871790885925, 0.43250176310539246, 0.7231647372245789, 0.48453742265701294, -0.2611269950866699, 0.7963870763778687, -0.6767195463180542, -0.03318216651678085, 0.2246841937303543, 0.1666388213634491, 0.3001658618450165, -0.1067660003900528, 0.4993564188480377, -0.09269111603498459, -0.818651556968689, -0.6799136400222778, 0.2622227370738983, -0.9366434812545776, -0.22377975285053253, 1.0214064121246338, -0.28545260429382324, -0.22340917587280273, 0.14083461463451385, -0.3650430142879486, 0.22773483395576477, -0.5279925465583801, 0.7019142508506775, 0.7348306775093079, -0.15160955488681793, 0.10808897018432617, -0.7573609352111816, 0.44147810339927673, 0.045281097292900085, -0.7715765833854675, 0.4211157560348511, 0.31592679023742676, -0.01878465712070465, 0.19418495893478394, 0.4306017756462097, -0.16162142157554626, 0.015519041568040848, 0.3226815164089203, 0.08592727780342102, -0.1274123638868332, -0.6603274345397949, 0.10504157096147537, 0.4269845485687256, 0.2277791053056717, -0.03725270926952362 ]
Yntec/dreamlike-photoreal-remix
Yntec
2023-08-24T00:35:39Z
7,321
1
diffusers
[ "diffusers", "stable-diffusion", "stable-diffusion-diffusers", "text-to-image", "photorealistic", "photoreal", "en", "license:other", "endpoints_compatible", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2023-08-23T11:09:39Z
--- license: other library_name: diffusers pipeline_tag: text-to-image tags: - stable-diffusion - stable-diffusion-diffusers - text-to-image - photorealistic - photoreal - diffusers language: - en --- # Dreamlike Photoreal Remix A remix to bring what was removed from Dreamlike Photoreal 1.0 to Dreamlike Photoreal 2.0 Comparison and prompt: ![Sample](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/Q9nmqGfZSSQhnEjcxhpj4.png) ![Sample](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/BIo35-xTQuWyxJcNZZ-gd.png) ![Sample](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/R_gEzz0vo46g5J5IdhYfU.png) Close up of a pretty CUTE girl wearing a colourful octopus as a hat, fantasy, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, 8 k, sharp focus, illustration, drawing by ROSSDRAWS and Clay Mann and artgerm and greg rutkowski and alphonse mucha # Dreamlike A model created as an intermediate to create the remix, it's great! Check it out at https://huggingface.co/Yntec/Dreamlike ! ![image.png](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/gpTVeweHpWT5QQHHfWLdO.png) Original pages: https://huggingface.co/dreamlike-art/dreamlike-photoreal-1.0 https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0
[ -0.6961656212806702, -0.5014426112174988, 0.30775195360183716, 0.48133227229118347, -0.38838765025138855, 0.09149248152971268, 0.06925691664218903, -0.9908564686775208, 1.0441691875457764, 0.976762056350708, -0.8663139343261719, -0.5393866300582886, -0.4841267764568329, 0.026521604508161545, -0.41087472438812256, 0.8700039982795715, -0.34272220730781555, -0.1971036195755005, 0.01425904780626297, 0.16393707692623138, -0.32395878434181213, 0.2848355770111084, -0.6904845833778381, -0.26035648584365845, 0.3562948405742645, 0.5802337527275085, 0.6849400401115417, 0.09364557266235352, 0.41344761848449707, 0.3039821684360504, -0.40586230158805847, -0.19225822389125824, -0.6213769912719727, -0.000516812433488667, -0.27563828229904175, -0.3347078859806061, -1.0958116054534912, 0.5734895467758179, 0.561818540096283, 0.26868748664855957, -0.14140655100345612, 0.19084487855434418, -0.06440563499927521, 1.1344873905181885, -0.2502281665802002, 0.14153547585010529, -0.31265783309936523, 0.4857458770275116, 0.057183459401130676, 0.15590623021125793, 0.17849138379096985, -0.3195219337940216, -0.33007869124412537, -1.1543480157852173, -0.03727451339364052, 0.0916745513677597, 0.9011013507843018, 0.11543917655944824, -0.3488732576370239, 0.12017377465963364, -0.5945039391517639, 0.5960827469825745, -0.291395366191864, 0.5447936654090881, -0.042310722172260284, 0.6229928731918335, -0.3530746102333069, -0.7789992690086365, -0.6036015748977661, 0.17010799050331116, 0.5720072388648987, 0.732892632484436, -0.47041189670562744, -0.03865288943052292, 0.7367897629737854, 0.6292254328727722, -0.4869787096977234, -0.12171861529350281, -0.6129201650619507, -0.0005944938748143613, 0.6482390761375427, -0.1482962667942047, 0.5428480505943298, -0.2780909836292267, -0.6015478372573853, -0.30952349305152893, -0.9612735509872437, 0.06900648027658463, 0.5366844534873962, -0.16884000599384308, -0.6063710451126099, 0.8345960974693298, -0.18165525794029236, 0.2004167139530182, 0.3363605737686157, -0.05205642804503441, 0.3848683536052704, 0.026589285582304, -0.1143077164888382, -0.2997050881385803, 0.8990767002105713, 1.0093417167663574, 0.20177724957466125, -0.01734037697315216, -0.488345742225647, 0.20536227524280548, 0.03477631136775017, -1.0019670724868774, -0.3878685534000397, 0.19842760264873505, -0.46604064106941223, -0.09966059774160385, 0.1611025482416153, -1.1482640504837036, -0.15621496737003326, -0.4027109742164612, 0.002313825301826, -0.3353254199028015, -0.753860592842102, 0.19551491737365723, -0.38269418478012085, 0.09257153421640396, 0.6041399836540222, -0.2479669600725174, 0.24782173335552216, 0.6184613704681396, 0.5491371154785156, 0.13783712685108185, 0.07922900468111038, 0.1397843062877655, -0.03548836335539818, -0.8137281537055969, 0.8039258718490601, -0.17723628878593445, -0.3716396391391754, -0.25094741582870483, 0.182123064994812, 0.35324177145957947, -0.8724145889282227, 0.40530961751937866, -0.2749185264110565, 0.3405851125717163, -0.47472962737083435, -0.590095043182373, -0.3599565327167511, -0.08099229633808136, -0.8791626691818237, 0.4961353838443756, 0.4382001459598541, -0.5110175609588623, 0.43604984879493713, -0.8796126842498779, 0.04985282942652702, 0.018884263932704926, -0.12422843277454376, -0.226579487323761, 0.07813709229230881, -0.05267863720655441, -0.08357261121273041, -0.11244510859251022, -0.5417114496231079, -0.5610311627388, -0.6249964833259583, 0.13823716342449188, 0.3765895664691925, 0.9594539403915405, 0.8038151860237122, -0.48947206139564514, -0.026822689920663834, -0.8969714045524597, 0.04755842685699463, 0.5002117156982422, -0.03649253398180008, -0.13000157475471497, -0.33613282442092896, 0.3045659363269806, 0.9186112880706787, -0.12418424338102341, -0.8952383995056152, 0.5366090536117554, -0.7504498362541199, 0.06962709128856659, 0.5545684695243835, 0.19292834401130676, 0.498146116733551, -0.7455499172210693, 0.9115220904350281, -0.0651528462767601, -0.05577664077281952, 0.14324124157428741, -0.3068848252296448, -0.5960091352462769, -0.6324058175086975, -0.05143515393137932, 0.5319225192070007, -1.0450974702835083, 0.16384059190750122, -0.22374342381954193, -0.5521018505096436, -0.7019471526145935, 0.2542792856693268, 0.24186892807483673, -0.019922828301787376, 0.22546793520450592, -0.7619000673294067, -0.6279131770133972, -0.7889615297317505, -0.28804102540016174, 0.023884331807494164, -0.04047544300556183, 0.2682587206363678, 0.5277544260025024, -0.04283823072910309, 0.5110304355621338, -0.3148172199726105, -0.37891480326652527, -0.3621695637702942, -0.5584089159965515, 0.460675984621048, 1.0222811698913574, 1.0038297176361084, -0.8455086946487427, -0.33466076850891113, -0.2683677673339844, -0.9291701912879944, -0.16675439476966858, 0.004081971012055874, -0.12440797686576843, -0.048693135380744934, 0.2530045211315155, -1.0744115114212036, 0.7641136050224304, 0.15231956541538239, -0.7671193480491638, 0.7547417283058167, 0.052216704934835434, 0.7533149719238281, -1.1676661968231201, -0.030659576877951622, 0.11428068578243256, -0.5289082527160645, -0.2836701571941376, 1.0597121715545654, -0.3916989266872406, -0.24461592733860016, -0.8948360085487366, 0.9028039574623108, -0.5887923240661621, -0.08556126058101654, -0.5260490775108337, -0.15478813648223877, 0.14909420907497406, 0.17866408824920654, -0.03136083856225014, 0.40948837995529175, 0.7514227032661438, -0.17837566137313843, 0.7843942642211914, 0.38480961322784424, -0.4576735198497772, 0.6482707858085632, -1.050795078277588, 0.3390609920024872, -0.023853858932852745, 0.4151057302951813, -1.0515395402908325, -0.1583479791879654, 0.9025501012802124, -0.46580809354782104, 0.18360373377799988, -0.13000410795211792, -0.5382380485534668, -0.5359842777252197, -0.36232754588127136, 0.8238092064857483, 1.091572880744934, -0.3345123529434204, -0.04693388566374779, 0.40934836864471436, 0.025403864681720734, -0.23211465775966644, -0.5409549474716187, 0.3500250279903412, -0.18918383121490479, -0.5424374341964722, 0.4639635682106018, -0.021875472739338875, -0.45544540882110596, 0.019166260957717896, -0.22652369737625122, -0.11437458544969559, -0.27746903896331787, 0.5385881662368774, 0.3152313530445099, 0.03075653687119484, -0.5125311613082886, 0.401950478553772, -0.09517814964056015, 0.05518950894474983, -0.45049235224723816, 0.3258756697177887, -0.1549328714609146, -0.36446046829223633, -0.8215311765670776, 0.41233134269714355, 0.7927619814872742, 0.09412350505590439, -0.05434698611497879, 0.3429284989833832, -0.5886722803115845, 0.045585740357637405, -0.5924668908119202, -0.14490747451782227, -0.4717698395252228, 0.037655059248209, -0.7593242526054382, -0.9898079037666321, 0.7998837828636169, -0.10252369940280914, -0.04444899782538414, 0.6993259191513062, 0.19641241431236267, -0.4273487329483032, 0.640356183052063, 0.279330313205719, 0.013420411385595798, 0.38647446036338806, -0.872650682926178, -0.2682096064090729, -0.646155834197998, -0.3108963668346405, 0.02731904573738575, -0.8149005770683289, -0.9064379334449768, -0.5969119668006897, 0.06770917028188705, 0.11962690204381943, 0.08774326741695404, 0.8947165608406067, -0.3312639594078064, 0.5950872898101807, 0.10384788364171982, 0.7134081125259399, 0.20884352922439575, 0.08088518679141998, -0.09322507679462433, -0.04688037186861038, -0.3109377324581146, 0.0811103880405426, 0.9169057011604309, 0.2770687937736511, 0.5075260996818542, 0.17434506118297577, 0.799356997013092, 0.019687999039888382, -0.43375328183174133, -0.4688524603843689, 1.0551669597625732, 0.1259317845106125, -0.8290641903877258, 0.07489857822656631, -0.3287402391433716, -0.7602414488792419, 0.23970773816108704, -0.5152955651283264, -0.5084071755409241, 0.02814699336886406, 0.21716001629829407, -0.1699078530073166, 0.6705402135848999, -0.12943612039089203, 0.8369808793067932, 0.5392197966575623, -0.7750426530838013, -0.7379271388053894, -0.40893229842185974, 0.03161494806408882, 0.2181733399629593, 0.16916266083717346, -0.417805939912796, -0.24283498525619507, 0.5862040519714355, -0.5569213628768921, 0.5103452801704407, -0.36945387721061707, -0.23288556933403015, 0.7023359537124634, 0.42305049300193787, 0.4082016050815582, 0.02191312052309513, 0.15722589194774628, 0.26683488488197327, 0.04870004951953888, -0.7444223165512085, -0.3512352406978607, 0.7755417823791504, -0.43249163031578064, -0.14703041315078735, -0.37676408886909485, -0.4719257354736328, 0.17452794313430786, 0.1035388931632042, 0.7311399579048157, 0.30207303166389465, -0.27275407314300537, -0.02500581555068493, 0.5129275918006897, -0.06152874603867531, 0.4555489122867584, 0.2342718094587326, -0.9707010984420776, -0.39948827028274536, 0.6628757119178772, -0.0391322560608387, 0.14736482501029968, -0.031428344547748566, -0.0788659155368805, -0.10464966297149658, -0.3952990770339966, -0.21363519132137299, 0.21031540632247925, -0.47392359375953674, 0.09520960599184036, -0.09745122492313385, 0.07214375585317612, -0.623368501663208, -0.17411670088768005, -0.6369898319244385, -0.9516335725784302, -0.17657460272312164, -0.16226185858249664, 0.24397864937782288, 0.7388993501663208, -0.282031774520874, 0.0610295869410038, -0.5856534242630005, 0.5843614935874939, 0.2012859731912613, 0.42230117321014404, -0.4226043224334717, -0.7279919981956482, 0.35279810428619385, -0.0011610278161242604, -0.02169937826693058, -0.9532942175865173, 0.4890240430831909, -0.11554407328367233, 0.07528108358383179, 0.2511717677116394, -0.303092360496521, 0.5610817670822144, -0.3150239884853363, 0.8222935795783997, 0.7225112318992615, -0.5981488227844238, 0.9422383904457092, -0.7593902945518494, 0.4793596863746643, 0.5382387042045593, -0.10477976500988007, -0.6380840539932251, -0.578728437423706, -0.8409407734870911, -0.8634055256843567, 0.30659961700439453, 0.21222041547298431, 0.3108639121055603, 0.18301577866077423, 0.7783530950546265, 0.43716558814048767, 0.4368076026439667, -0.8890434503555298, -0.1698385328054428, -0.2946472465991974, 0.30906641483306885, 0.15263138711452484, -0.16959908604621887, 0.11060738563537598, -0.821429967880249, 0.769429087638855, 0.19868674874305725, 0.42312222719192505, 0.17398233711719513, 0.1879143863916397, -0.4775722622871399, 0.22447480261325836, 0.3229810893535614, 0.9799007773399353, -0.16372501850128174, -0.14271685481071472, -0.16116388142108917, -0.2620920240879059, 0.34546029567718506, -0.22169868648052216, -0.5954030752182007, 0.09959284216165543, -0.0326811745762825, 0.852275013923645, 0.16131864488124847, -0.5282061696052551, 0.6698198318481445, 0.3981090784072876, -0.19104455411434174, -0.7671940922737122, 0.19203397631645203, -0.22994011640548706, 0.39157557487487793, 0.11176134645938873, 0.7453764081001282, 0.40058743953704834, -0.23989512026309967, 0.48499226570129395, 0.10773120820522308, -0.8585482835769653, -0.7498531341552734, 0.7950272560119629, -0.08676358312368393, -0.1678926944732666, 0.24975824356079102, -0.5418322682380676, -0.2644985616207123, 0.7796900272369385, 0.7704648375511169, 1.0977894067764282, -0.2429332435131073, 0.15308986604213715, 0.622958779335022, 0.05345442146062851, 0.040920689702034, 1.1003649234771729, 0.28312185406684875, -0.4373556971549988, -0.3578427731990814, -0.1377716362476349, -0.21986232697963715, 0.12547484040260315, -0.6291857361793518, 0.5346704125404358, -0.9544598460197449, 0.2564263641834259, -0.00006132616545073688, -0.19772131741046906, -0.4250984787940979, 0.47300437092781067, 0.20081235468387604, 1.4642428159713745, -0.9531909823417664, 0.7533987760543823, 0.9222509860992432, -0.39632588624954224, -0.6521409153938293, -0.15014603734016418, 0.6260776519775391, -0.31528159976005554, 0.2039368897676468, 0.23231624066829681, 0.22668971121311188, -0.210894376039505, -0.8333718776702881, -0.34148886799812317, 0.5226203203201294, 0.449054479598999, -0.7052599787712097, 0.18607468903064728, -0.2592858076095581, 0.6567495465278625, -0.536029577255249, 0.2735242247581482, 0.3929556906223297, 0.4488693177700043, 0.7198949456214905, -0.8495295643806458, -0.019257595762610435, -0.7112811207771301, 0.005699995439499617, 0.08625096827745438, -0.8651878833770752, 0.7186989188194275, -0.6243088841438293, 0.08938760310411453, 0.42727363109588623, 1.0143946409225464, 0.06911556422710419, 0.41975244879722595, 0.768230676651001, 1.0058658123016357, 0.09327382594347, -0.5093863606452942, 1.1209203004837036, -0.3563500940799713, 0.38161203265190125, 1.0300650596618652, -0.15851633250713348, 0.623813807964325, 0.4801448583602905, -0.541614830493927, 0.4615733325481415, 0.8646950125694275, 0.11558637768030167, 0.5167331099510193, 0.41971784830093384, -0.1833970993757248, -0.27954453229904175, 0.17288686335086823, -0.5970302820205688, 0.5584161281585693, -0.14291703701019287, -0.04961711913347244, 0.03400365635752678, 0.26593026518821716, -0.21231478452682495, 0.21811337769031525, -0.3363294303417206, 0.7909935116767883, 0.07250899821519852, -0.6038180589675903, 0.47903814911842346, -0.30535557866096497, 0.4296039640903473, -0.3461427390575409, -0.36348894238471985, -0.39798662066459656, -0.05204879492521286, -0.52020263671875, -0.7844375967979431, 0.12569975852966309, -0.26909634470939636, 0.10692200809717178, -0.21690815687179565, 0.9381527900695801, -0.4832606017589569, -0.690500020980835, 0.5223768949508667, 0.3622741103172302, 0.45287567377090454, -0.3452093303203583, -0.963273286819458, 0.21100780367851257, 0.16671566665172577, -0.27657434344291687, -0.09618786722421646, -0.19863316416740417, 0.4424569010734558, 0.6704787015914917, 0.4428523778915405, 0.5917030572891235, -0.23424482345581055, 0.048571038991212845, 0.7002416253089905, -0.7473945617675781, -0.6656447649002075, -0.5817670822143555, 0.36486101150512695, -0.18601195514202118, -0.226679265499115, 0.6383044123649597, 1.0340064764022827, 0.8889771699905396, -0.5373077988624573, 0.6278087496757507, -0.38558483123779297, 0.6775831580162048, -0.5320568084716797, 0.8002436757087708, -0.9891963601112366, 0.2228395938873291, -0.9045383334159851, -1.286668300628662, 0.16075409948825836, 0.44456836581230164, 0.10899604856967926, 0.1017688736319542, 0.0735836923122406, 0.7969740629196167, -0.06796495616436005, 0.019782090559601784, 0.09880460053682327, 0.27640628814697266, 0.03383619710803032, 0.6062983274459839, 1.0127089023590088, -0.9076939821243286, 0.04384097829461098, -0.5488289594650269, -0.3332276940345764, -0.1657225340604782, -0.8452301621437073, -0.4633886516094208, -0.6669073104858398, -0.8479787111282349, -0.7266876101493835, -0.012295091524720192, 1.6895716190338135, 0.5779526233673096, -1.0833067893981934, -0.23787972331047058, 0.06764011830091476, 0.22530382871627808, -0.5460746884346008, -0.22655567526817322, -0.1796151101589203, 0.5399287343025208, -1.0568488836288452, 0.5429553985595703, 0.5310375690460205, 0.6805276870727539, 0.3544538617134094, -0.17533151805400848, 0.18319471180438995, -0.20066285133361816, 0.41358768939971924, 0.4458746910095215, -0.6997392773628235, -0.3743957281112671, -0.16396507620811462, -0.1544807255268097, 0.25365138053894043, 0.44791877269744873, -0.5773741602897644, 0.27703651785850525, 0.6444628834724426, -0.15864025056362152, 0.44010061025619507, -0.32764747738838196, 0.0495881512761116, -0.49538347125053406, 0.7461899518966675, 0.0999312773346901, 0.3852388560771942, -0.05264047533273697, -0.05692858248949051, 0.8803409337997437, 0.7439830899238586, -0.14624282717704773, -0.4047558009624481, 0.28486746549606323, -1.6232043504714966, -0.3158928155899048, 1.017534613609314, 0.1663111001253128, -0.004762646276503801, 0.44446927309036255, -0.5776137709617615, -0.043303754180669785, -0.390563040971756, 0.7716549634933472, 0.4372303783893585, -0.1112590953707695, -0.2951807975769043, -0.4453985095024109, 0.437639445066452, 0.3344185948371887, -0.6899070143699646, -0.45659372210502625, 1.0147836208343506, 0.35167068243026733, 0.2617868483066559, 0.7053036093711853, -0.5283958911895752, 0.776631772518158, 0.10402975231409073, 0.5379927158355713, -0.16707970201969147, -0.3247014880180359, 0.0024101189337670803, 0.20786671340465546, -0.19952340424060822, -0.5161788463592529 ]
artificialguybr/analogredmond-v2
artificialguybr
2023-10-07T06:26:23Z
7,314
7
diffusers
[ "diffusers", "text-to-image", "stable-diffusion", "lora", "base_model:stabilityai/stable-diffusion-xl-base-1.0", "license:creativeml-openrail-m", "has_space", "region:us" ]
text-to-image
2023-10-07T06:22:44Z
--- license: creativeml-openrail-m tags: - text-to-image - stable-diffusion - lora - diffusers base_model: stabilityai/stable-diffusion-xl-base-1.0 instance_prompt: AnalogRedmAF, Analog widget: - text: AnalogRedmAF, Analog --- # Analog.Redmond V2 ![row01](00279-913323466.png) Analog.Redmond V2 is here! TEST ALL MY LORAS HERE:https://huggingface.co/spaces/artificialguybr/artificialguybr-demo-lora?logs=build Introducing AnalogRedmond, the ultimate LORA for creating stunning analog photography! I'm grateful for the GPU time from Redmond.AI that allowed me to make this LORA! If you need GPU, then you need the great services from Redmond.AI. It is based on SD XL 1.0 and fine-tuned on a large dataset of analog photographs. The LORA has a high capacity to generate Analog Photographs. You can use detailed, minimalist, colorful, black and white as tag to control the results. The tag for the model:AnalogRedmAF LORA is not perfect and sometimes needs more than one gen to create good images. This is inspired in the good Dreambooth Model Nitro made for SD 1.5! I really hope you like the LORA and use it. If you like the model and think it's worth it, you can make a donation to my Patreon or Ko-fi. Follow me in my twitter to know before all about new models: https://twitter.com/artificialguybr/
[ -0.7692043781280518, -0.8816404938697815, 0.3365468978881836, 0.12244386970996857, -0.5493897795677185, 0.032653652131557465, 0.37108200788497925, -0.8563471436500549, 1.1181567907333374, 0.26504990458488464, -0.722064733505249, -0.3421667516231537, -0.20218437910079956, -0.20324544608592987, -0.7033912539482117, 0.8552492260932922, -0.39840397238731384, -0.28145632147789, 0.05283668264746666, -0.310837060213089, -0.4072251617908478, -0.08884955197572708, -0.4526592791080475, -0.6628978848457336, 0.48424652218818665, 0.28048038482666016, 0.8289443254470825, 0.4758369028568268, 0.5355809926986694, 0.29258546233177185, 0.27530619502067566, -0.00010596938227536157, -0.18456023931503296, -0.2648570239543915, 0.008639703504741192, -0.46224743127822876, -0.8539289832115173, -0.046430472284555435, 0.2272922843694687, -0.1722865104675293, -0.273788183927536, 0.7809762954711914, -0.6584634780883789, 0.7921739220619202, -0.7213941812515259, 0.001641114242374897, -0.5454316139221191, 0.09492428600788116, -0.09489957243204117, -0.05324532836675644, 0.2614915668964386, -0.6954326033592224, -0.6555035710334778, -1.1696327924728394, 0.2591151297092438, -0.04342537000775337, 1.0355846881866455, 0.46086838841438293, 0.009363813325762749, 0.31169697642326355, -0.9932651519775391, 0.3512101173400879, -0.36909419298171997, 0.05164170637726784, 0.32877105474472046, 0.8024569153785706, 0.09420642256736755, -0.8754349946975708, -0.709551990032196, 0.07572924345731735, 0.22138558328151703, 0.2359732687473297, -0.3488836884498596, -0.5238673090934753, -0.025946341454982758, 0.22933629155158997, -0.30805912613868713, -0.10993363708257675, -1.0030900239944458, 0.17522898316383362, 0.6385219693183899, 0.07738444209098816, 0.16022780537605286, 0.32373568415641785, -0.30798420310020447, -0.16285310685634613, -0.6639729142189026, -0.35625097155570984, 0.7287575006484985, 0.036028411239385605, -0.49936026334762573, 0.7581424713134766, -0.13190512359142303, 0.427962064743042, 0.35284316539764404, 0.0008384801330976188, 0.21750731766223907, -0.28721708059310913, -0.08227362483739853, 0.1898467242717743, 0.6307287216186523, 0.6426836252212524, 0.09209385514259338, 0.37583789229393005, -0.21245145797729492, 0.6112973093986511, 0.24653403460979462, -0.8532188534736633, -0.689657986164093, 0.4591032862663269, -0.41304636001586914, -0.5527173280715942, 0.014243793673813343, -0.7077372074127197, -0.13230417668819427, -0.10647577047348022, 0.4489127993583679, -0.2930432856082916, -0.7759300470352173, -0.0581970140337944, -0.3222111165523529, 0.22254149615764618, 0.7198537588119507, -0.9920053482055664, 0.6218694448471069, 0.4756814241409302, 0.7264410257339478, 0.17475707828998566, -0.10940036922693253, -0.11261185258626938, -0.14745017886161804, -0.8234606981277466, 0.9938367009162903, -0.1263887733221054, -0.3756989538669586, -0.383423388004303, -0.3710075914859772, 0.5761185884475708, -1.0040292739868164, 0.35845136642456055, -0.6924731135368347, -0.07496553659439087, 0.06664733588695526, 0.23129937052726746, -0.17611202597618103, 0.190983846783638, -0.7525261044502258, 0.9201400279998779, 0.48976394534111023, -0.5475451946258545, 0.3260025382041931, -1.0357835292816162, -0.34565699100494385, 0.4175816774368286, -0.26353687047958374, -0.2756088674068451, 0.44642892479896545, -0.18678581714630127, -0.2608867287635803, -0.20912452042102814, -0.3698751628398895, -0.5579319596290588, -0.46798011660575867, 0.13535010814666748, 0.033427007496356964, 0.46367332339286804, 0.2521149814128876, -0.21843059360980988, 0.11016743630170822, -0.9703699946403503, 0.4390179514884949, 0.5382539629936218, -0.23690547049045563, 0.08870028704404831, -0.22379662096500397, 0.4911574423313141, 0.2555736005306244, 0.21187156438827515, -0.8243106007575989, -0.1711997389793396, 0.14057683944702148, 0.6524561643600464, 0.7883028388023376, -0.20591995120048523, -0.20459090173244476, -0.48478734493255615, 0.6098592281341553, -0.07805867493152618, 0.26824432611465454, -0.002207566983997822, -0.5406168103218079, -0.7639459371566772, -0.13456055521965027, 0.2748931348323822, 0.3829890489578247, -0.3263193368911743, 0.2977246046066284, -0.01603851653635502, -0.4840852916240692, -0.5241634845733643, -0.148360475897789, -0.013869114220142365, 0.29322701692581177, 0.19091999530792236, -0.447320818901062, -0.6820409893989563, -0.8253309726715088, 0.3276500105857849, -0.42931509017944336, 0.36480996012687683, 0.22061395645141602, 0.7962003946304321, -0.48934879899024963, 1.0201858282089233, -0.4294765889644623, -0.2646676003932953, -0.2630614638328552, -0.30169618129730225, 0.7005677223205566, 0.39237180352211, 0.7461899518966675, -0.6917697787284851, -0.5138278603553772, 0.3439587950706482, -0.828247606754303, 0.10884073376655579, 0.3566437065601349, 0.018161294981837273, 0.14269225299358368, 0.38105520606040955, -0.9950887560844421, 0.6187237501144409, 0.43912777304649353, -0.35113370418548584, 0.8453089594841003, -0.47688060998916626, 0.08196287602186203, -0.7887003421783447, 0.3486359119415283, 0.07915746420621872, -0.6433537602424622, -0.2694043219089508, 0.6213083863258362, 0.09385492652654648, -0.28585708141326904, -0.6926995515823364, 0.6846239566802979, -0.059628263115882874, -0.016872938722372055, -0.32892847061157227, 0.09801945835351944, -0.10275999456644058, 0.1708192080259323, -0.18864411115646362, 0.5039889812469482, 0.30921077728271484, -0.5365523099899292, 0.8748875260353088, 0.43801113963127136, -0.4980960190296173, 0.7340307235717773, -1.2618145942687988, -0.043440647423267365, -0.12531715631484985, 0.4438125491142273, -0.5733673572540283, -0.5657735466957092, 0.6480022668838501, -0.468368798494339, 0.1693756878376007, -0.021701758727431297, -0.7996799349784851, -0.6233686208724976, -0.3649403750896454, 0.55942702293396, 1.0357671976089478, -0.707131028175354, 0.4821028411388397, 0.29432255029678345, -0.025523673743009567, -0.13913729786872864, -1.020543098449707, -0.15353792905807495, -0.398281067609787, -0.45668649673461914, 0.4457372725009918, 0.05010627582669258, -0.9225090146064758, 0.2099013775587082, -0.0581696592271328, -0.28643110394477844, -0.14595527946949005, 0.6169267296791077, 0.569117546081543, -0.4060899317264557, -0.29421356320381165, -0.1345699429512024, -0.4656236171722412, 0.0011987960897386074, 0.0388130322098732, 0.6113106608390808, -0.3194326162338257, -0.30252158641815186, -1.048794150352478, 0.08257316797971725, 0.8648860454559326, 0.15883320569992065, 0.2158462256193161, 0.414798378944397, -0.5057357549667358, -0.1285262554883957, -0.29704344272613525, -0.24642550945281982, -0.513637125492096, 0.25897878408432007, -0.36333221197128296, -0.4445161521434784, 0.5319487452507019, 0.32283785939216614, 0.18948552012443542, 0.5808160305023193, 0.5496158003807068, -0.3271532356739044, 0.7289807200431824, 0.3817175626754761, -0.1844070851802826, 0.1836555302143097, -0.6125336289405823, 0.21065062284469604, -0.5245470404624939, 0.037609703838825226, 0.09272146970033646, -0.6641643047332764, -0.3845147490501404, -0.3711910843849182, 0.3616520166397095, 0.24488003551959991, -0.6181294918060303, 0.442335844039917, -0.09410353749990463, 0.6825783252716064, 0.35825660824775696, 0.45031583309173584, 0.42338865995407104, 0.27476924657821655, 0.39312127232551575, 0.04965575784444809, -0.4918496906757355, -0.14847540855407715, 0.9786072969436646, 0.3954896628856659, 0.9959911108016968, 0.02908596768975258, 0.7632282972335815, 0.3095371425151825, 0.01222959253937006, -0.4893224239349365, 0.6631518602371216, 0.06001748517155647, -0.9056363105773926, 0.22454802691936493, 0.0323123037815094, -0.3532997667789459, 0.1616203933954239, -0.283301442861557, -0.3045336604118347, -0.02213963307440281, 0.5501293540000916, -0.7659503221511841, 0.510935366153717, -0.566624641418457, 0.4636441469192505, -0.2761341631412506, -0.4469771981239319, -0.49536147713661194, -0.34169802069664, 0.5864218473434448, -0.4672219455242157, 0.04651596024632454, -0.25856173038482666, 0.056287165731191635, 0.27085888385772705, -0.7826692461967468, 0.6245275735855103, 0.041127562522888184, -0.10997134447097778, 0.6178309321403503, 0.4285430312156677, 0.5543187856674194, 0.18443579971790314, 0.05717792734503746, -0.027922064065933228, 0.027154844254255295, -0.49071794748306274, -0.47363871335983276, 0.9579940438270569, -0.6045815944671631, -0.2328743040561676, -0.4261645972728729, -0.17914412915706635, 0.15611477196216583, 0.10114207863807678, 0.4602242708206177, 0.5317772626876831, -0.3576485514640808, -0.24461618065834045, 0.1520439237356186, 0.1584339737892151, 0.5630085468292236, 0.13664299249649048, -0.6551055312156677, -0.34337639808654785, 1.0779078006744385, -0.09849873185157776, 0.24686583876609802, -0.05843927338719368, 0.11782839149236679, -0.22315901517868042, -0.3809143006801605, -0.5652889013290405, 0.4967605769634247, -0.719829261302948, -0.1127476841211319, -0.09114240109920502, -0.023320497944951057, -0.09667975455522537, -0.37428200244903564, -0.9767824411392212, -0.8774678707122803, -0.5507110953330994, -0.01719013787806034, 0.7782512903213501, 0.9755454063415527, -0.4304909408092499, 0.10066132992506027, -0.29775866866111755, 0.5562107563018799, 0.2840726375579834, 0.48429203033447266, -0.18370769917964935, -0.4671372175216675, 0.3105222284793854, 0.022803520783782005, -0.4076597988605499, -0.04463554918766022, 0.6449509263038635, 0.09836216270923615, 0.12713129818439484, 0.20466525852680206, -0.012589648365974426, 1.0061651468276978, -0.5760874152183533, 0.6401764154434204, 0.6605661511421204, -0.32121747732162476, 0.5763320922851562, -0.4817741811275482, 0.31281861662864685, 0.697387158870697, 0.06947387754917145, -0.0417308434844017, -0.1294623464345932, -0.949248731136322, -0.8312942981719971, 0.6223514080047607, 0.23629605770111084, 0.3535183370113373, 0.42798998951911926, 0.1779211163520813, 0.3302646279335022, 0.24665874242782593, -0.8703342080116272, -0.5555304884910583, -0.3839595913887024, -0.012016384862363338, 0.050775736570358276, 0.05419140309095383, -0.21851785480976105, -0.29794803261756897, 0.7732774615287781, 0.04044107720255852, 0.5314894914627075, 0.167178213596344, 0.3604724705219269, -0.6677741408348083, -0.22484001517295837, 0.577639639377594, 0.9601572751998901, -0.6243800520896912, -0.1572214663028717, 0.008742030709981918, -0.28516581654548645, 0.09020896255970001, -0.03993310406804085, -0.33436116576194763, 0.22469104826450348, -0.04758486896753311, 0.8140610456466675, -0.12838123738765717, -0.6256009936332703, 0.15568727254867554, 0.1877010613679886, -0.33316561579704285, -0.740328848361969, 0.2708512544631958, -0.09926839172840118, 0.3684103190898895, 0.10065003484487534, 0.5070340633392334, -0.36205968260765076, -0.7495498657226562, -0.07925266027450562, 0.37690815329551697, -0.29603254795074463, -0.7360882759094238, 1.1264300346374512, 0.11740467697381973, -0.5524143576622009, 0.591123640537262, -0.27976465225219727, -0.09594304859638214, 0.800236165523529, 0.979562520980835, 0.6206299662590027, 0.3620845079421997, 0.5006697177886963, 0.6307174563407898, 0.13934145867824554, -0.10616671293973923, 0.6727734804153442, -0.03707310929894447, -0.44276371598243713, 0.168070986866951, -0.27316513657569885, -0.4725414216518402, 0.22694917023181915, -0.3547712564468384, 0.6326903700828552, -1.0801715850830078, -0.18173173069953918, 0.1175290122628212, -0.3127208650112152, -0.086738720536232, 0.10428890585899353, 0.1030755490064621, 1.2284445762634277, -0.4131386876106262, 0.6223811507225037, 0.46775874495506287, -0.18816614151000977, -0.15519437193870544, -0.3918265700340271, 0.0776897519826889, -0.7865696549415588, 0.8703470230102539, 0.08358405530452728, -0.25387313961982727, 0.13111530244350433, -0.5511780977249146, -0.7076125741004944, 1.0829887390136719, 0.2361539751291275, -0.5700839757919312, 0.35034558176994324, -0.26670360565185547, 0.3652743399143219, -0.30624204874038696, 0.23402249813079834, 0.28555038571357727, 0.39391517639160156, 0.09152013808488846, -0.7101981043815613, -0.4011724293231964, -0.5772383213043213, -0.19774329662322998, 0.6086665391921997, -0.8504588007926941, 0.7865570187568665, -0.8651193380355835, -0.3060067892074585, 0.6774694919586182, 0.49558818340301514, 0.5643943548202515, 0.3129684329032898, 0.41089269518852234, 0.9751516580581665, 0.3459143340587616, -0.14197209477424622, 1.4276682138442993, 0.009924537502229214, 0.20761582255363464, 1.1813381910324097, -0.348992258310318, 0.9557011723518372, 0.38576453924179077, -0.4818859100341797, 0.554199755191803, 0.7594727873802185, -0.12420196831226349, 0.4799228012561798, -0.03493368253111839, -0.32345813512802124, 0.09441559761762619, -0.023210179060697556, -0.6793020367622375, 0.0677773579955101, -0.08786961436271667, 0.013102998957037926, -0.2506794035434723, -0.11947526782751083, -0.22041501104831696, 0.012163887731730938, -0.4938829839229584, -0.020201995968818665, -0.12063663452863693, -0.1255548596382141, 0.9360787868499756, 0.24173545837402344, 0.8374691605567932, -0.8247416019439697, -0.049633197486400604, -0.41006049513816833, 0.42101845145225525, -0.5088830590248108, -0.7063227891921997, -0.03372419252991676, -0.19264239072799683, -0.1344461441040039, 0.11098812520503998, 0.5327333807945251, 0.2339247167110443, -0.8444352746009827, 0.11901732534170151, 0.00897267833352089, 0.2871941328048706, 0.006978895049542189, -0.6260696649551392, 0.3328411877155304, -0.033024873584508896, 0.25259533524513245, 0.10242313146591187, -0.3110528886318207, 0.016097908839583397, 0.6521859765052795, 0.4534521996974945, 0.2346295863389969, 0.09522753953933716, -0.3226584196090698, 0.7818202376365662, -0.7068049311637878, -0.5417211651802063, -0.7645300626754761, 0.35117077827453613, 0.12084213644266129, -0.7423596978187561, 0.6106193661689758, 0.7502744197845459, 0.7727983593940735, -0.46661460399627686, 0.7674740552902222, -0.24972353875637054, 0.4064444303512573, -0.05624480918049812, 0.42006346583366394, -0.67104572057724, -0.2543129026889801, 0.0012697398196905851, -0.9455146193504333, -0.1751585602760315, 0.7697692513465881, 0.2777945101261139, -0.12266667187213898, 0.3577766418457031, 0.8683503866195679, -0.43931832909584045, 0.19387313723564148, 0.03720902279019356, 0.14739809930324554, 0.08236333727836609, 0.2911273241043091, 0.9588887691497803, -1.072306752204895, 0.18823012709617615, -0.47893357276916504, -0.1706121861934662, -0.18834277987480164, -0.5918622612953186, -0.38742247223854065, -0.18462741374969482, -0.8475741147994995, -0.36503443121910095, 0.02783101610839367, 0.8053107857704163, 0.9279526472091675, -0.7124150395393372, -0.16386251151561737, -0.4189208745956421, -0.19987079501152039, 0.13628089427947998, -0.16716080904006958, -0.1644858717918396, 0.4451068937778473, -0.6662562489509583, 0.4239213764667511, 0.2276613861322403, 0.5982885956764221, -0.054104000329971313, -0.05386636406183243, 0.04280359670519829, -0.33813604712486267, 0.5091437101364136, 0.8368708491325378, -0.629228949546814, 0.1284920573234558, -0.3827391266822815, 0.32987475395202637, 0.22897236049175262, 0.6288759112358093, -0.8837647438049316, 0.1040511429309845, 0.4268430173397064, 0.06953205168247223, 0.4413542151451111, 0.1986352503299713, 0.2817065119743347, -0.053129538893699646, 0.2875004708766937, 0.002545496914535761, 0.2795851230621338, 0.052117716521024704, -0.013464231044054031, 0.713919997215271, 0.4559483528137207, -0.27540138363838196, -0.9603204131126404, 0.2764171361923218, -1.1196887493133545, -0.3317476511001587, 1.002046823501587, 0.601962149143219, -0.38415345549583435, 0.15451595187187195, -0.3489607572555542, -0.5364245176315308, -0.3066585063934326, 0.47894179821014404, 0.04470352083444595, -0.13667002320289612, -0.07030349224805832, -0.7797697186470032, -0.19640561938285828, -0.08262024819850922, -0.9026714563369751, -0.17111201584339142, 0.4645459055900574, 0.24595652520656586, 0.7203407287597656, 0.539836585521698, -0.5407739877700806, 0.6760600209236145, 0.2702715992927551, 0.09592998772859573, -0.1585722267627716, -0.3147888779640198, -0.24349071085453033, 0.1971924901008606, -0.08979994058609009, -0.5364270806312561 ]
sentence-transformers/sentence-t5-xl
sentence-transformers
2022-02-09T14:02:31Z
7,305
3
sentence-transformers
[ "sentence-transformers", "pytorch", "t5", "feature-extraction", "sentence-similarity", "transformers", "en", "arxiv:2108.08877", "license:apache-2.0", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
sentence-similarity
2022-03-02T23:29:05Z
--- pipeline_tag: sentence-similarity language: en license: apache-2.0 tags: - sentence-transformers - feature-extraction - sentence-similarity - transformers --- # sentence-transformers/sentence-t5-xl This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space. The model works well for sentence similarity tasks, but doesn't perform that well for semantic search tasks. This model was converted from the Tensorflow model [st5-3b-1](https://tfhub.dev/google/sentence-t5/st5-3b/1) to PyTorch. When using this model, have a look at the publication: [Sentence-T5: Scalable sentence encoders from pre-trained text-to-text models](https://arxiv.org/abs/2108.08877). The tfhub model and this PyTorch model can produce slightly different embeddings, however, when run on the same benchmarks, they produce identical results. The model uses only the encoder from a T5-3B model. The weights are stored in FP16. ## Usage (Sentence-Transformers) Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed: ``` pip install -U sentence-transformers ``` Then you can use the model like this: ```python from sentence_transformers import SentenceTransformer sentences = ["This is an example sentence", "Each sentence is converted"] model = SentenceTransformer('sentence-transformers/sentence-t5-xl') embeddings = model.encode(sentences) print(embeddings) ``` The model requires sentence-transformers version 2.2.0 or newer. ## Evaluation Results For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name=sentence-transformers/sentence-t5-xl) ## Citing & Authors If you find this model helpful, please cite the respective publication: [Sentence-T5: Scalable sentence encoders from pre-trained text-to-text models](https://arxiv.org/abs/2108.08877)
[ -0.0566263273358345, -0.6370623111724854, 0.5850923657417297, 0.3176027536392212, -0.25728389620780945, -0.3425126373767853, -0.19324856996536255, -0.2610927224159241, 0.025480713695287704, 0.5441959500312805, -0.4798830449581146, -0.5597134232521057, -0.8058542609214783, 0.3230594992637634, -0.8020579218864441, 0.952710747718811, -0.19682276248931885, 0.011556848883628845, -0.3795525133609772, -0.10619188845157623, -0.2538277804851532, -0.27934855222702026, -0.2770097553730011, -0.2705511748790741, 0.3248055577278137, 0.27900803089141846, 0.7211160063743591, 0.4790513217449188, 0.7083555459976196, 0.37889400124549866, -0.07373947650194168, -0.17063169181346893, -0.5557158589363098, -0.07388373464345932, -0.008800197392702103, -0.24634191393852234, -0.2580631971359253, 0.006850905250757933, 0.4893154501914978, 0.6327622532844543, -0.2125488668680191, 0.22194387018680573, -0.21123570203781128, 0.17630840837955475, -0.39358481764793396, 0.2138238400220871, -0.49688720703125, 0.2732546031475067, 0.027352172881364822, -0.0030895748641341925, -0.5584405660629272, -0.43348509073257446, 0.37414801120758057, -0.38644370436668396, 0.3817901611328125, 0.2916107475757599, 1.2429906129837036, 0.43691006302833557, -0.42049503326416016, -0.2650672197341919, -0.41949591040611267, 0.6755277514457703, -0.7606337666511536, 0.3995945155620575, 0.11568066477775574, 0.20206902921199799, -0.05698984116315842, -1.260542869567871, -0.583747923374176, -0.3660898804664612, -0.22856047749519348, 0.1865825206041336, -0.5059196949005127, 0.09770187735557556, 0.48552846908569336, 0.3426145017147064, -0.6872811317443848, 0.029229162260890007, -0.6624934077262878, -0.22544966638088226, 0.3061979413032532, 0.16043826937675476, 0.34520095586776733, -0.5000971555709839, -0.5219437479972839, -0.3613831698894501, -0.24523290991783142, -0.08225992321968079, 0.28077542781829834, 0.01743130385875702, -0.20116886496543884, 0.9672831892967224, -0.049419328570365906, 0.6473787426948547, 0.021270042285323143, 0.06860886514186859, 0.5093154907226562, -0.29490530490875244, -0.1461026966571808, 0.031537070870399475, 1.0578497648239136, 0.4881352186203003, 0.37252044677734375, -0.42376619577407837, -0.29655739665031433, 0.14122645556926727, 0.6338439583778381, -1.1201092004776, -0.3241492807865143, 0.2461317628622055, -0.6707769632339478, -0.44672417640686035, 0.2741391360759735, -0.46674299240112305, 0.06525786966085434, 0.10213331878185272, 0.7936623096466064, -0.5895090699195862, 0.21876217424869537, 0.24790480732917786, -0.4011406898498535, 0.22929106652736664, -0.0780629888176918, -0.7183017730712891, 0.38792943954467773, 0.36152300238609314, 0.8591479063034058, -0.08329202234745026, -0.48390689492225647, -0.2910885512828827, -0.075476735830307, -0.21834996342658997, 0.8093176484107971, -0.4609968662261963, -0.1967802345752716, 0.06459429860115051, 0.198403462767601, -0.13511918485164642, -0.5498138666152954, 0.8759711980819702, -0.2780531048774719, 0.5995244383811951, 0.1040518656373024, -0.760468065738678, -0.18217462301254272, 0.132442444562912, -0.6578733325004578, 1.0583771467208862, 0.2556292414665222, -0.8319752812385559, 0.26123055815696716, -0.7383202314376831, -0.2895602583885193, -0.19320182502269745, 0.13531531393527985, -0.8310039639472961, 0.13936345279216766, 0.28906670212745667, 0.6184342503547668, -0.2453245371580124, 0.08524873852729797, -0.4909345209598541, -0.6511268019676208, 0.30978095531463623, -0.19052550196647644, 0.8337323069572449, 0.15676020085811615, -0.2591075301170349, 0.24551302194595337, -0.4949491620063782, -0.09300023317337036, 0.17837822437286377, -0.23007260262966156, 0.06194808706641197, -0.11455554515123367, 0.4482090175151825, 0.19792136549949646, 0.44529327750205994, -0.7208256721496582, 0.31302309036254883, -0.40234625339508057, 0.7712703943252563, 0.435364305973053, -0.19451886415481567, 0.5664654970169067, -0.3407030701637268, 0.33865153789520264, 0.35570430755615234, -0.16435328125953674, -0.13572239875793457, -0.33660539984703064, -0.777188777923584, 0.02429702877998352, 0.24888154864311218, 0.359603613615036, -0.6691338419914246, 0.7236399054527283, -0.6261468529701233, -0.6115737557411194, -0.8006635308265686, -0.2590401768684387, 0.0326443612575531, 0.4445689618587494, 0.6841481924057007, 0.015539625659584999, -0.6065294146537781, -1.077222466468811, -0.486005038022995, 0.05749186873435974, -0.10169851034879684, -0.041142772883176804, 0.8567405343055725, -0.4639205038547516, 0.7662401795387268, -0.5681450963020325, -0.44921156764030457, -0.3906078338623047, 0.23181714117527008, 0.11422819644212723, 0.4169265925884247, 0.6527660489082336, -0.6144415736198425, -0.3333875238895416, -0.2516932189464569, -0.6399794816970825, -0.15989160537719727, -0.022345008328557014, 0.10172203183174133, 0.17420217394828796, 0.5577540397644043, -0.802815854549408, 0.4450118839740753, 0.5176711678504944, -0.5833758115768433, 0.2837928235530853, -0.3056390881538391, -0.02938648872077465, -1.5678858757019043, 0.09387309104204178, -0.042212728410959244, -0.3888044059276581, -0.2620444595813751, 0.08969814330339432, 0.29704758524894714, -0.27018868923187256, -0.2956583797931671, 0.3069813549518585, -0.25594228506088257, -0.1495908945798874, -0.08345034718513489, 0.1999284327030182, -0.07188289612531662, 0.4825798571109772, -0.22013887763023376, 0.9421303868293762, 0.3377506732940674, -0.3443188965320587, 0.5275270938873291, 0.6860882639884949, -0.5201025605201721, 0.19951100647449493, -0.9550193548202515, 0.1763373464345932, -0.1329062432050705, 0.3788154721260071, -0.904240071773529, -0.14540573954582214, 0.23128819465637207, -0.5154706239700317, -0.09965576231479645, 0.22509366273880005, -0.7252634763717651, -0.46582645177841187, -0.32031404972076416, 0.20853078365325928, 0.6116305589675903, -0.47335100173950195, 0.6796174049377441, 0.023588161915540695, 0.07963786274194717, -0.5507961511611938, -0.9737732410430908, 0.14023655652999878, -0.2663830816745758, -0.6382036805152893, 0.780105710029602, 0.06391187012195587, 0.19528605043888092, 0.4155522286891937, -0.023309361189603806, 0.004265221301466227, -0.11002637445926666, 0.09750120341777802, 0.022154007107019424, -0.17761141061782837, 0.16165101528167725, 0.019306790083646774, -0.09183371812105179, 0.1379442662000656, -0.42309334874153137, 0.5828960537910461, -0.17731355130672455, -0.02211231365799904, -0.3834860026836395, 0.23480942845344543, 0.5491368770599365, -0.16373954713344574, 0.9355822205543518, 1.0361077785491943, -0.31166455149650574, -0.1554691046476364, -0.4992770552635193, -0.26715320348739624, -0.44020771980285645, 0.6786564588546753, -0.4329972267150879, -1.003775954246521, 0.3737613260746002, 0.07743819802999496, -0.09933322668075562, 0.707847535610199, 0.4460252821445465, -0.1649060994386673, 0.7766392230987549, 0.6152400970458984, 0.009758624248206615, 0.4903010129928589, -0.30251187086105347, 0.4320778250694275, -0.6635907292366028, -0.1220148503780365, -0.6224040985107422, -0.34054258465766907, -0.8559049963951111, -0.2873016595840454, 0.28919899463653564, -0.24661029875278473, -0.39253151416778564, 0.8138554096221924, -0.5307185649871826, 0.21582697331905365, 0.5079485177993774, 0.11290067434310913, -0.015629591420292854, 0.17900234460830688, -0.24008946120738983, -0.1703253984451294, -0.70766681432724, -0.5405418872833252, 1.0107133388519287, 0.2172916829586029, 0.6627525687217712, 0.11402969807386398, 0.5167151093482971, 0.07824764400720596, -0.19134674966335297, -0.7955924868583679, 0.5543835163116455, -0.5294825434684753, -0.3305623233318329, -0.11862283200025558, -0.4845602214336395, -1.09272038936615, 0.1778966188430786, -0.32717111706733704, -0.7577544450759888, -0.1776035726070404, -0.3783276081085205, -0.18632225692272186, 0.2593708038330078, -0.887548565864563, 1.339267611503601, -0.008628311567008495, -0.0882946252822876, -0.1684713214635849, -0.5006262063980103, -0.11821867525577545, 0.17586620151996613, -0.2230577915906906, 0.08813563734292984, -0.045242875814437866, 0.7705049514770508, -0.39155086874961853, 0.5798706412315369, 0.1433885097503662, 0.18574969470500946, 0.08746781945228577, -0.1223277896642685, 0.4299432933330536, -0.31900614500045776, -0.11955864727497101, 0.07650008797645569, 0.03103073686361313, -0.430936723947525, -0.6291830539703369, 0.666636049747467, -1.1177558898925781, -0.4573086202144623, -0.4025389850139618, -0.6072131395339966, 0.1954658329486847, 0.3406674563884735, 0.34255075454711914, 0.5585227012634277, -0.25119972229003906, 0.7859713435173035, 0.33874350786209106, -0.25860005617141724, 0.5970340967178345, 0.09478394687175751, -0.02115778625011444, -0.31417348980903625, 0.506811797618866, 0.0528397373855114, 0.057387832552194595, 0.769268274307251, 0.1319892704486847, -0.5511826276779175, -0.34937578439712524, -0.12206926941871643, 0.1023302972316742, -0.6876457929611206, -0.09377402812242508, -0.984258770942688, -0.3518175482749939, -0.7440932393074036, -0.04945620149374008, -0.177590012550354, -0.4226279854774475, -0.448397159576416, -0.28667697310447693, 0.5323824286460876, 0.768802285194397, 0.12332497537136078, 0.3776474893093109, -0.7077943086624146, 0.3600447177886963, 0.008335820399224758, 0.2058977335691452, -0.1786118447780609, -0.686045229434967, -0.22098085284233093, -0.14206822216510773, -0.5352179408073425, -0.8816860914230347, 0.6570451855659485, 0.05249309167265892, 0.3561995327472687, 0.23500850796699524, 0.06405983120203018, 0.7212257385253906, -0.5400499701499939, 0.8115636110305786, -0.03100001811981201, -0.9960907697677612, 0.29273685812950134, -0.27699771523475647, 0.524470865726471, 0.3776969313621521, 0.35240641236305237, -0.4624798595905304, -0.21790677309036255, -0.7606253027915955, -0.9267619252204895, 0.824614405632019, 0.5425989627838135, 0.3294817805290222, 0.0028892289847135544, 0.2671075761318207, 0.015548927709460258, 0.26808664202690125, -0.9998917579650879, -0.0830753892660141, -0.5633101463317871, -0.6881744861602783, -0.28701475262641907, -0.2661682367324829, 0.3148854672908783, -0.08353930711746216, 0.4184020161628723, 0.00903672631829977, 0.7392050623893738, 0.25169503688812256, -0.3756600022315979, 0.18880049884319305, 0.27555298805236816, 0.500438928604126, 0.21143878996372223, -0.322652131319046, 0.2102733701467514, 0.36894118785858154, -0.42232149839401245, -0.16115128993988037, 0.4255967140197754, -0.04187280684709549, 0.12169040739536285, 0.4589727222919464, 1.027424931526184, 0.5158000588417053, -0.3464178740978241, 0.6802906394004822, 0.014334149658679962, -0.24759376049041748, -0.5594809055328369, -0.14336684346199036, 0.31969863176345825, 0.22493788599967957, 0.19916753470897675, 0.20600657165050507, 0.1954382061958313, -0.5044623017311096, 0.20203787088394165, 0.04123042896389961, -0.4506092667579651, -0.10787400603294373, 0.899778425693512, 0.09035976976156235, -0.41505855321884155, 0.982350766658783, -0.032727982848882675, -0.6553354859352112, 0.5588968992233276, 0.6223864555358887, 0.9769011735916138, 0.2699684798717499, 0.18493697047233582, 0.5021087527275085, 0.3590294122695923, -0.3049446642398834, 0.07923337817192078, -0.06699071824550629, -0.78822261095047, -0.21332228183746338, -0.5162884593009949, -0.20349475741386414, -0.04030953720211983, -0.5877483487129211, 0.43654492497444153, -0.15774385631084442, -0.12017189711332321, 0.04641081392765045, -0.021856365725398064, -0.7840012907981873, 0.12249439209699631, -0.1642327457666397, 0.7501682043075562, -0.7045503258705139, 0.7333619594573975, 0.8151429891586304, -0.8088157773017883, -0.9240164160728455, 0.13334374129772186, -0.5642253756523132, -0.6320157647132874, 0.6076327562332153, 0.3658890724182129, 0.16657401621341705, 0.22827161848545074, -0.6142213344573975, -0.6686745285987854, 1.3231991529464722, 0.38207492232322693, -0.34948858618736267, -0.35463181138038635, 0.4447631239891052, 0.638181209564209, -0.4273510277271271, 0.5479885339736938, 0.19643937051296234, 0.3259914517402649, -0.06463173031806946, -0.9218315482139587, 0.2699246108531952, -0.2008143961429596, 0.24615398049354553, -0.027259107679128647, -0.5693839192390442, 1.039634108543396, -0.09288731962442398, 0.025173159316182137, 0.3137299716472626, 0.7092699408531189, 0.09056923538446426, -0.09815069288015366, 0.3151615262031555, 0.8496008515357971, 0.47070440649986267, -0.2713263928890228, 1.1366084814071655, -0.2590163052082062, 0.8220543265342712, 0.8245474696159363, -0.029408153146505356, 1.0760084390640259, 0.5151843428611755, -0.04458510875701904, 0.7964312434196472, 0.5409185290336609, -0.500139057636261, 0.42372825741767883, 0.08788599818944931, 0.2096458524465561, -0.3218834400177002, 0.14494147896766663, -0.24423539638519287, 0.5001683235168457, 0.06287354230880737, -0.6607425212860107, -0.24872814118862152, -0.1665063351392746, -0.042167432606220245, 0.03226519003510475, 0.04107298329472542, 0.6207341551780701, 0.19589732587337494, -0.5650150179862976, 0.316543847322464, 0.21206165850162506, 0.7257289290428162, -0.38328468799591064, 0.026555346325039864, -0.0266558937728405, 0.47562214732170105, -0.1314249187707901, -0.8262231349945068, 0.45691224932670593, -0.06968962401151657, -0.06793411821126938, -0.5154716372489929, 0.8044915199279785, -0.5425693988800049, -0.6336514353752136, 0.31071874499320984, 0.38847988843917847, 0.14684833586215973, 0.02176058478653431, -0.7497887015342712, -0.0190945602953434, -0.0729619637131691, -0.12738551199436188, 0.02582814171910286, 0.461638867855072, 0.1994592547416687, 0.6356780529022217, 0.36363616585731506, -0.2849278450012207, -0.015009070746600628, 0.10605151206254959, 0.6311627626419067, -0.8354628086090088, -0.608343780040741, -0.7088435888290405, 0.4901736378669739, -0.1431872397661209, -0.4507788121700287, 0.6802262663841248, 0.644817054271698, 0.9525699019432068, -0.4508160948753357, 0.5099367499351501, -0.08471313863992691, 0.2850128412246704, -0.49872025847435, 0.8940195441246033, -0.7396202087402344, -0.14982490241527557, -0.29730457067489624, -1.0431643724441528, -0.23724690079689026, 0.9935184717178345, -0.37258076667785645, 0.20633892714977264, 1.155553936958313, 0.8116925358772278, -0.2586069107055664, -0.11175934970378876, 0.29602015018463135, 0.519521176815033, 0.13757525384426117, 0.5815987586975098, 0.5706232786178589, -0.9396703243255615, 0.975139856338501, -0.11162073910236359, 0.41260823607444763, -0.2536505460739136, -0.7292582392692566, -1.0591058731079102, -0.7262681126594543, -0.3465935289859772, -0.45389267802238464, 0.058347854763269424, 1.0051062107086182, 0.5225160717964172, -0.6335180997848511, -0.15085917711257935, -0.38442614674568176, -0.22604763507843018, -0.029160980135202408, -0.260209321975708, 0.2886805534362793, -0.34259915351867676, -0.8986994624137878, 0.09475132077932358, -0.1148284375667572, 0.06922303885221481, -0.1785077005624771, 0.25161296129226685, -0.08928459882736206, -0.12959784269332886, 0.4626483917236328, -0.3632410168647766, -0.8432034254074097, -0.5815315842628479, 0.2468259185552597, -0.34915634989738464, 0.012235752306878567, 0.4365612864494324, -0.7612987756729126, 0.21322819590568542, 0.6600803136825562, 0.629113495349884, 0.8475137948989868, -0.21974529325962067, 0.7367236018180847, -0.46665555238723755, 0.16430817544460297, 0.1339578926563263, 0.5707345604896545, 0.502345621585846, -0.0956786498427391, 0.5041760206222534, 0.15795014798641205, -0.514308512210846, -0.5697086453437805, -0.02377583086490631, -1.2552942037582397, -0.16276581585407257, 1.2967170476913452, -0.17122089862823486, -0.2831551432609558, 0.27152329683303833, -0.34354034066200256, 0.44122493267059326, -0.46223753690719604, 0.9163507223129272, 0.8200712203979492, 0.29356712102890015, -0.36620354652404785, -0.2873852849006653, 0.28632307052612305, 0.46081656217575073, -0.5465602874755859, -0.3827371597290039, 0.16356432437896729, 0.44790419936180115, 0.13833408057689667, 0.10964599251747131, -0.07549221813678741, 0.12405466288328171, 0.23569145798683167, 0.16992655396461487, -0.15766392648220062, 0.03862250596284866, -0.24255794286727905, 0.4042736887931824, -0.2979837656021118, -0.19258341193199158 ]
seyonec/ChemBERTa-zinc-base-v1
seyonec
2021-05-20T20:55:33Z
7,304
22
transformers
[ "transformers", "pytorch", "jax", "roberta", "fill-mask", "chemistry", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
fill-mask
2022-03-02T23:29:05Z
--- tags: - chemistry --- # ChemBERTa: Training a BERT-like transformer model for masked language modelling of chemical SMILES strings. Deep learning for chemistry and materials science remains a novel field with lots of potiential. However, the popularity of transfer learning based methods in areas such as NLP and computer vision have not yet been effectively developed in computational chemistry + machine learning. Using HuggingFace's suite of models and the ByteLevel tokenizer, we are able to train on a large corpus of 100k SMILES strings from a commonly known benchmark dataset, ZINC. Training RoBERTa over 5 epochs, the model achieves a decent loss of 0.398, but may likely continue to decline if trained for a larger number of epochs. The model can predict tokens within a SMILES sequence/molecule, allowing for variants of a molecule within discoverable chemical space to be predicted. By applying the representations of functional groups and atoms learned by the model, we can try to tackle problems of toxicity, solubility, drug-likeness, and synthesis accessibility on smaller datasets using the learned representations as features for graph convolution and attention models on the graph structure of molecules, as well as fine-tuning of BERT. Finally, we propose the use of attention visualization as a helpful tool for chemistry practitioners and students to quickly identify important substructures in various chemical properties. Additionally, visualization of the attention mechanism have been seen through previous research as incredibly valuable towards chemical reaction classification. The applications of open-sourcing large-scale transformer models such as RoBERTa with HuggingFace may allow for the acceleration of these individual research directions. A link to a repository which includes the training, uploading and evaluation notebook (with sample predictions on compounds such as Remdesivir) can be found [here](https://github.com/seyonechithrananda/bert-loves-chemistry). All of the notebooks can be copied into a new Colab runtime for easy execution. Thanks for checking this out! - Seyone
[ -0.18269243836402893, -0.6087130308151245, 0.6198287010192871, 0.1400017887353897, 0.20325776934623718, 0.42551013827323914, -0.3742188811302185, -0.46374189853668213, 0.26033899188041687, 0.25688961148262024, -0.8156633377075195, -0.5457368493080139, -0.6277027130126953, -0.07345793396234512, -0.18841351568698883, 1.1520363092422485, 0.02432473935186863, 0.439118891954422, -0.10405153036117554, 0.2378460317850113, -0.16367587447166443, -0.21953903138637543, -0.6451829671859741, -0.4735648036003113, 0.7859776020050049, 0.18210704624652863, 0.35969865322113037, 0.12218929827213287, 0.5528025031089783, 0.3307899236679077, -0.27847591042518616, -0.22225619852542877, -0.4982697665691376, 0.09388349950313568, -0.317905068397522, -0.5831570029258728, -0.32726767659187317, 0.10197773575782776, 0.3119067847728729, 0.8843547701835632, 0.172652468085289, -0.09721589833498001, -0.14371754229068756, 0.686302900314331, -0.2740571200847626, 0.5141363739967346, -0.6763810515403748, 0.28423163294792175, 0.14418591558933258, 0.5397341251373291, -0.41210314631462097, -0.3075423538684845, 0.45213431119918823, -0.4674348831176758, 0.3245178461074829, -0.0622386671602726, 0.9230087995529175, 0.1279943883419037, -0.4209316074848175, -0.27325770258903503, -0.497891902923584, 0.8177738785743713, -0.3557411730289459, 0.5071771144866943, -0.18351627886295319, 0.705313503742218, -0.3133488595485687, -0.9787907004356384, -0.4684770703315735, -0.381720632314682, -0.054963868111371994, 0.23109114170074463, 0.016644485294818878, 0.27462050318717957, 0.07734052836894989, 0.5180156826972961, -0.5005244612693787, -0.24519243836402893, -0.3797266483306885, -0.45733654499053955, 0.2751721441745758, -0.07029569894075394, 0.33161598443984985, -0.09810378402471542, -0.7173763513565063, -0.307978093624115, -0.37581631541252136, -0.08694037050008774, 0.013735671527683735, 0.726898193359375, -0.06774286180734634, 0.35281580686569214, 0.0045942761935293674, 0.2829672396183014, 0.1296314150094986, 0.33071625232696533, 0.32220351696014404, -0.023372650146484375, -0.34127700328826904, 0.17356905341148376, 0.6002379059791565, -0.17158536612987518, 0.4138943552970886, -0.1310744434595108, 0.04908362403512001, 0.27148231863975525, 0.25447070598602295, -1.1527414321899414, -0.7605380415916443, 0.3338351845741272, -0.16913893818855286, -0.2542579174041748, 0.004379942547529936, -0.8967475891113281, -0.4096362888813019, -0.45453909039497375, 0.4493848383426666, -0.7782789468765259, -0.13321733474731445, -0.017993181943893433, -0.1958230584859848, -0.007174781523644924, 0.4408286511898041, -0.9858090281486511, 0.40129828453063965, 0.5638201236724854, 0.7304891347885132, -0.18163686990737915, -0.0712943896651268, -0.44858667254447937, -0.19260674715042114, 0.03356531262397766, 0.6624481081962585, -0.5763081908226013, -0.11236212402582169, -0.05099612846970558, 0.24048951268196106, -0.11910930275917053, -0.5335230827331543, 0.05122135207056999, -0.4443339407444, -0.01743260957300663, -0.21214228868484497, -0.45541366934776306, -0.11988436430692673, -0.08844118565320969, -0.6437260508537292, 0.8448581695556641, 0.5409201383590698, -0.26631060242652893, 0.2735259234905243, -0.6570537090301514, -0.45253199338912964, 0.06281769275665283, -0.007697122171521187, -0.6048765182495117, 0.07221715152263641, 0.1056208461523056, 0.4151894152164459, 0.06704331934452057, 0.21845583617687225, -0.4964447319507599, -0.07614889740943909, 0.5245504379272461, 0.2986038327217102, 0.9749505519866943, 0.46962857246398926, -0.3167957365512848, 0.47435128688812256, -0.7321218848228455, -0.10681220889091492, -0.1806214153766632, -0.2804426848888397, 0.020262589678168297, -0.6575326323509216, 0.6109312772750854, 0.460200697183609, 0.09587074816226959, -0.7010207176208496, 0.13335217535495758, -0.36975693702697754, 0.5768557190895081, 0.9588943123817444, -0.03928997740149498, 0.40267786383628845, 0.11815980821847916, 0.43516793847084045, 0.22066110372543335, 0.12152931094169617, -0.2324272096157074, -0.4260078966617584, -0.9103601574897766, -0.4294886887073517, 0.6125880479812622, 0.22973604500293732, -0.5572116374969482, 0.3787733316421509, -0.11432955414056778, -0.5977179408073425, -0.5451779365539551, 0.22803305089473724, 0.3883865177631378, 0.4347592890262604, 0.36253222823143005, -0.503598690032959, -0.5787501335144043, -0.8649889230728149, -0.3179466426372528, 0.03481988236308098, -0.14396904408931732, 0.3325652480125427, 0.6689110398292542, -0.47240886092185974, 0.936752438545227, -0.4954373240470886, -0.5057657957077026, -0.18405111134052277, 0.16897979378700256, 0.1887177675962448, 0.48520609736442566, 0.5510168075561523, -0.8253353238105774, -0.7791569232940674, 0.13954468071460724, -0.5027511119842529, 0.13063035905361176, 0.05544346943497658, -0.3912469446659088, 0.372474730014801, 0.4942900240421295, -0.6424855589866638, -0.04764653742313385, 0.37516719102859497, -0.17972199618816376, 0.2705259919166565, 0.33896517753601074, -0.141627237200737, -1.0177173614501953, 0.2848716080188751, 0.27417251467704773, -0.2584049105644226, -0.694552481174469, 0.1019827127456665, 0.06211309880018234, -0.5980210304260254, -0.906267523765564, 0.6432842016220093, -0.3398500680923462, 0.0015802541747689247, -0.10284148156642914, -0.15764611959457397, -0.192705899477005, 0.8569114804267883, 0.19044114649295807, 0.4633002281188965, 0.690869152545929, -0.3327077329158783, 0.4281342923641205, 0.4124552309513092, -0.3055610954761505, 0.6270822882652283, -0.5030279159545898, 0.07491228729486465, 0.029531605541706085, 0.38153141736984253, -1.1996986865997314, -0.5778119564056396, 0.17027807235717773, -0.5475557446479797, 0.7594448328018188, -0.19832053780555725, -0.3509858548641205, -0.3033696413040161, -0.24341809749603271, 0.05024072900414467, 0.7288276553153992, -0.6864373683929443, 0.8366253972053528, 0.2875951826572418, -0.035692524164915085, -0.2705603241920471, -0.6490671634674072, -0.10549049824476242, -0.29152700304985046, -0.6021890044212341, 0.3140375316143036, -0.23528051376342773, 0.10925864428281784, -0.0714087039232254, -0.30452942848205566, -0.06875245273113251, -0.08987303823232651, 0.27680397033691406, 0.2348661869764328, 0.15744593739509583, 0.33848074078559875, -0.0728200376033783, -0.19770798087120056, 0.2379254400730133, -0.36796101927757263, 0.5983754396438599, -0.3461959660053253, 0.3118276596069336, -0.2932145595550537, 0.13855762779712677, 0.584830641746521, -0.11358454823493958, 0.7008391618728638, 0.8691995143890381, -0.3150600790977478, -0.3770707845687866, -0.17991089820861816, -0.5904961824417114, -0.5399540662765503, 0.26680988073349, -0.25895944237709045, -0.9420406818389893, 0.7751419544219971, -0.4478658437728882, -0.5447692275047302, 0.4049206078052521, 0.7001397609710693, -0.22396621108055115, 0.6673881411552429, 0.7486754655838013, -0.05930720642209053, 0.7279426455497742, -0.23342444002628326, 0.28522154688835144, -0.6548083424568176, -0.46530139446258545, -0.20787599682807922, -0.27513551712036133, -0.5825957655906677, -0.19978834688663483, 0.6427187919616699, -0.3868757486343384, -0.4365994930267334, 0.6518076658248901, -0.5473312139511108, 0.33575695753097534, 0.43486326932907104, 0.4787997901439667, -0.2113327831029892, 0.3441893458366394, -0.0911155641078949, -0.045383282005786896, -0.5815093517303467, 0.14737237989902496, 0.9039373397827148, 0.5343944430351257, 1.058558702468872, -0.18867792189121246, 0.7319529056549072, 0.22771938145160675, 0.18679176270961761, -0.8691853284835815, 0.5821211338043213, 0.029971882700920105, -0.7198933362960815, -0.08111698925495148, -0.4680570662021637, -0.7481499910354614, -0.05946718156337738, -0.17478932440280914, -0.6941707730293274, 0.3338189125061035, 0.04281818866729736, -0.0753227174282074, 0.029096445068717003, -0.7851999402046204, 1.0456891059875488, -0.11766982078552246, -0.5564367175102234, -0.06973206251859665, -1.0936890840530396, 0.28887003660202026, -0.050642989575862885, -0.0883684754371643, -0.056498315185308456, 0.5029616355895996, 0.5162249803543091, -0.3309279978275299, 1.0077344179153442, -0.15088669955730438, -0.3134896457195282, 0.2794826626777649, 0.1776840090751648, 0.21788598597049713, -0.3618873953819275, 0.2615003287792206, 0.21034519374370575, -0.18458591401576996, -0.5186848640441895, -0.6368216276168823, 0.844831109046936, -0.514813244342804, -0.29429158568382263, -0.5473107099533081, -0.634243905544281, -0.21973887085914612, 0.3106912076473236, 0.02941770665347576, -0.05377184972167015, -0.06968092918395996, 0.031252436339855194, 0.8650343418121338, -0.14637552201747894, 0.1750883311033249, 0.16912983357906342, -0.28470999002456665, -0.3904028832912445, 1.1860615015029907, 0.062750443816185, 0.3481559455394745, 0.3637846112251282, 0.07202588021755219, -0.21318094432353973, -0.08159052580595016, -0.04611225798726082, 0.3676162660121918, -0.8502472043037415, -0.27033737301826477, -0.597907543182373, -0.43138203024864197, -0.5788131356239319, -0.16092179715633392, -0.39741119742393494, -0.6505653262138367, -0.18292716145515442, -0.17588332295417786, 0.6171867847442627, 0.3788013160228729, -0.09846250712871552, 0.2538411021232605, -0.5387647747993469, 0.19324041903018951, 0.37353798747062683, 0.5941395163536072, -0.03049115277826786, -0.18212127685546875, -0.4235995411872864, -0.11287643760442734, -0.2928634285926819, -0.7639691829681396, 0.35105252265930176, 0.25085410475730896, 0.3381120562553406, 0.08676900714635849, -0.1665513813495636, 0.21479584276676178, -0.4015995264053345, 0.5177699327468872, 0.17246484756469727, -1.0785168409347534, 0.830824077129364, -0.589383065700531, 0.12028617411851883, 0.5420909523963928, 0.7112370133399963, -0.4513212740421295, -0.28864336013793945, -0.6219202280044556, -0.8957003355026245, 0.6400852203369141, 0.3540530800819397, 0.06378006190061569, 0.04941380023956299, 0.20959343016147614, 0.13507920503616333, 0.2876543700695038, -0.742719829082489, -0.2187204211950302, -0.34590405225753784, -0.49195578694343567, 0.13628587126731873, 0.06414441019296646, 0.0035244813188910484, -0.3636355400085449, 0.9300781488418579, -0.23670673370361328, 0.4471588432788849, 0.12720133364200592, -0.19336892664432526, -0.10050901025533676, 0.10202297568321228, 0.26620393991470337, 0.20605535805225372, -0.7231618165969849, 0.1473279893398285, -0.11149127036333084, -0.5592049956321716, 0.06129149720072746, 0.16631901264190674, 0.31046637892723083, -0.06341717392206192, 0.021439995616674423, 0.62054443359375, 0.128027081489563, -0.7693881988525391, 0.22567087411880493, 0.29888448119163513, -0.05849709361791611, -0.16013461351394653, 0.23911629617214203, 0.042988382279872894, 0.28610795736312866, 0.13814020156860352, 0.09307485073804855, 0.3816869556903839, -0.9832702279090881, 0.44051286578178406, 0.45989787578582764, -0.9282229542732239, -0.356360524892807, 0.6522475481033325, 0.1274982988834381, 0.012191309593617916, 0.642559826374054, 0.14504985511302948, -0.7198348641395569, 0.8048428893089294, 0.5396179556846619, 0.9970561861991882, -0.5420379042625427, 0.27012667059898376, 0.3966951370239258, -0.016268443316221237, 0.45594409108161926, 0.18452250957489014, -0.20253966748714447, -0.3780752718448639, 0.1892973780632019, -0.6745432019233704, -0.42613646388053894, 0.11739348620176315, -0.4320151209831238, 0.3127056658267975, -0.6570625305175781, -0.01636992208659649, 0.4956810772418976, 0.0476376935839653, -0.6582573652267456, 0.3542732894420624, 0.13975103199481964, 0.8010539412498474, -1.1599184274673462, 0.7405959367752075, 0.6305019855499268, -0.6460462808609009, -0.2953961193561554, -0.2851237952709198, 0.08297327905893326, -0.611329197883606, 0.8922210931777954, 0.3644452691078186, -0.05821428820490837, -0.018249619752168655, -0.954106330871582, -0.8201431632041931, 0.7743960022926331, 0.34498459100723267, -0.43541547656059265, 0.02146879956126213, 0.09776094555854797, 0.8553752899169922, -0.38527870178222656, 0.13751044869422913, 0.6670112609863281, 0.49033716320991516, 0.343766450881958, -0.545906126499176, 0.23678180575370789, -0.40606001019477844, 0.1317778378725052, 0.11540842056274414, -0.7733173370361328, 0.9302752017974854, -0.10948211699724197, -0.28734663128852844, 0.08491872996091843, 0.6839698553085327, 0.08685239404439926, 0.2867322564125061, 0.12731552124023438, 0.5163360834121704, 0.5133211016654968, -0.32779377698898315, 0.9467145800590515, -0.060774266719818115, 0.658861517906189, 0.795468270778656, -0.3146498203277588, 0.4503897726535797, 0.5741667747497559, -0.4831864535808563, 0.7817845344543457, 0.709101676940918, -0.4448712468147278, 0.7294882535934448, 0.5482366681098938, -0.27214178442955017, -0.2544521987438202, -0.2771737575531006, -0.05266796424984932, 0.04126638174057007, 0.5664330720901489, -0.4049176275730133, -0.23955053091049194, 0.33788925409317017, -0.001031513442285359, -0.0009359268005937338, -0.12038587778806686, 0.6445898413658142, 0.21620868146419525, -0.3906216621398926, 0.45525193214416504, -0.35485172271728516, 0.38028866052627563, -0.6261054277420044, -0.30693840980529785, -0.14151711761951447, 0.38343551754951477, -0.22022348642349243, -0.7862154245376587, 0.04187267646193504, -0.4192301034927368, -0.09424998611211777, -0.0362384170293808, 0.8079582452774048, -0.7241595387458801, -0.502949059009552, 0.34577512741088867, -0.009879272431135178, 0.2704065144062042, -0.02092217281460762, -0.6516549587249756, 0.0925101712346077, -0.023617716506123543, 0.026003897190093994, 0.4970088005065918, 0.18615537881851196, -0.02759205922484398, 0.6641899943351746, 0.6034806370735168, -0.3788762390613556, -0.06962976604700089, 0.10963071882724762, 1.1433969736099243, -0.6120883822441101, -0.3795962333679199, -0.5017254948616028, 0.5826834440231323, 0.09391263872385025, 0.17662952840328217, 0.7824209332466125, 0.6480720043182373, 0.8686631917953491, -0.6633546948432922, 0.7057715654373169, 0.15949861705303192, 0.23869992792606354, -0.5481888651847839, 0.772337794303894, -0.2919659912586212, -0.10722414404153824, -0.5104931592941284, -1.0705232620239258, -0.36329904198646545, 0.6162922382354736, 0.01818063110113144, 0.4153173267841339, 0.7225322723388672, 0.6185780167579651, -0.2954033315181732, -0.13995261490345, -0.14977887272834778, 0.45246395468711853, 0.5036700367927551, 0.8670302629470825, 0.5304785370826721, -0.5668975114822388, 0.18150222301483154, -0.2555405795574188, -0.03798016533255577, -0.48766306042671204, -0.6068599820137024, -1.2370082139968872, -0.724725067615509, -0.4319244921207428, -0.5577619075775146, 0.09331123530864716, 0.8312059640884399, 0.838383674621582, -1.014581322669983, -0.17362365126609802, -0.46389228105545044, -0.047656454145908356, -0.08161231130361557, -0.2866247296333313, 0.5988634824752808, -0.6668626070022583, -0.8944133520126343, 0.235587477684021, 0.08171749860048294, 0.29042503237724304, -0.4071439504623413, 0.19612620770931244, -0.12182628363370895, 0.09444499015808105, 0.6305769085884094, 0.41410812735557556, -0.6346873641014099, -0.22628484666347504, 0.09554601460695267, -0.003098719520494342, 0.275562047958374, 0.7073895335197449, -1.0194429159164429, 0.6927958726882935, 0.39132973551750183, 0.5825896263122559, 1.0082836151123047, -0.24713648855686188, 0.47309744358062744, -0.8919035792350769, -0.07008197903633118, 0.12537133693695068, 0.14762084186077118, 0.4587808847427368, -0.470997154712677, 0.6163906455039978, 0.15751175582408905, -0.4217889904975891, -0.7000078558921814, 0.37458205223083496, -1.5662007331848145, -0.3708970844745636, 0.8112204074859619, -0.06997784227132797, -0.6965132355690002, 0.2742711007595062, -0.2892168164253235, 0.39582234621047974, -0.7834048867225647, 0.9475257992744446, 0.6968349814414978, -0.28386184573173523, -0.24289566278457642, -0.18166224658489227, 0.7809813618659973, 0.4832211136817932, -0.8731892704963684, 0.1859784573316574, 0.4634169042110443, 0.44621026515960693, 0.5327522158622742, -0.034888677299022675, -0.1336672306060791, 0.24278892576694489, -0.04413460195064545, 0.13611429929733276, 0.0017154188826680183, -0.8262227177619934, -0.46345046162605286, -0.06504323333501816, -0.3892109990119934, 0.010259056463837624 ]
infgrad/stella-base-en-v2
infgrad
2023-10-19T06:57:16Z
7,303
5
sentence-transformers
[ "sentence-transformers", "pytorch", "bert", "feature-extraction", "sentence-similarity", "mteb", "en", "arxiv:1612.00796", "license:mit", "model-index", "endpoints_compatible", "has_space", "region:us" ]
feature-extraction
2023-10-19T06:14:31Z
--- tags: - sentence-transformers - feature-extraction - sentence-similarity - mteb model-index: - name: stella-base-en-v2 results: - task: type: Classification dataset: type: mteb/amazon_counterfactual name: MTEB AmazonCounterfactualClassification (en) config: en split: test revision: e8379541af4e31359cca9fbcf4b00f2671dba205 metrics: - type: accuracy value: 77.19402985074628 - type: ap value: 40.43267503017359 - type: f1 value: 71.15585210518594 - task: type: Classification dataset: type: mteb/amazon_polarity name: MTEB AmazonPolarityClassification config: default split: test revision: e2d317d38cd51312af73b3d32a06d1a08b442046 metrics: - type: accuracy value: 93.256675 - type: ap value: 90.00824833079179 - type: f1 value: 93.2473146151734 - task: type: Classification dataset: type: mteb/amazon_reviews_multi name: MTEB AmazonReviewsClassification (en) config: en split: test revision: 1399c76144fd37290681b995c656ef9b2e06e26d metrics: - type: accuracy value: 49.612 - type: f1 value: 48.530785631574304 - task: type: Retrieval dataset: type: arguana name: MTEB ArguAna config: default split: test revision: None metrics: - type: map_at_1 value: 37.411 - type: map_at_10 value: 52.673 - type: map_at_100 value: 53.410999999999994 - type: map_at_1000 value: 53.415 - type: map_at_3 value: 48.495 - type: map_at_5 value: 51.183 - type: mrr_at_1 value: 37.838 - type: mrr_at_10 value: 52.844 - type: mrr_at_100 value: 53.581999999999994 - type: mrr_at_1000 value: 53.586 - type: mrr_at_3 value: 48.672 - type: mrr_at_5 value: 51.272 - type: ndcg_at_1 value: 37.411 - type: ndcg_at_10 value: 60.626999999999995 - type: ndcg_at_100 value: 63.675000000000004 - type: ndcg_at_1000 value: 63.776999999999994 - type: ndcg_at_3 value: 52.148 - type: ndcg_at_5 value: 57.001999999999995 - type: precision_at_1 value: 37.411 - type: precision_at_10 value: 8.578 - type: precision_at_100 value: 0.989 - type: precision_at_1000 value: 0.1 - type: precision_at_3 value: 20.91 - type: precision_at_5 value: 14.908 - type: recall_at_1 value: 37.411 - type: recall_at_10 value: 85.775 - type: recall_at_100 value: 98.86200000000001 - type: recall_at_1000 value: 99.644 - type: recall_at_3 value: 62.731 - type: recall_at_5 value: 74.53800000000001 - task: type: Clustering dataset: type: mteb/arxiv-clustering-p2p name: MTEB ArxivClusteringP2P config: default split: test revision: a122ad7f3f0291bf49cc6f4d32aa80929df69d5d metrics: - type: v_measure value: 47.24219029437865 - task: type: Clustering dataset: type: mteb/arxiv-clustering-s2s name: MTEB ArxivClusteringS2S config: default split: test revision: f910caf1a6075f7329cdf8c1a6135696f37dbd53 metrics: - type: v_measure value: 40.474604844291726 - task: type: Reranking dataset: type: mteb/askubuntudupquestions-reranking name: MTEB AskUbuntuDupQuestions config: default split: test revision: 2000358ca161889fa9c082cb41daa8dcfb161a54 metrics: - type: map value: 62.720542706366054 - type: mrr value: 75.59633733456448 - task: type: STS dataset: type: mteb/biosses-sts name: MTEB BIOSSES config: default split: test revision: d3fb88f8f02e40887cd149695127462bbcf29b4a metrics: - type: cos_sim_pearson value: 86.31345008397868 - type: cos_sim_spearman value: 85.94292212320399 - type: euclidean_pearson value: 85.03974302774525 - type: euclidean_spearman value: 85.88087251659051 - type: manhattan_pearson value: 84.91900996712951 - type: manhattan_spearman value: 85.96701905781116 - task: type: Classification dataset: type: mteb/banking77 name: MTEB Banking77Classification config: default split: test revision: 0fd18e25b25c072e09e0d92ab615fda904d66300 metrics: - type: accuracy value: 84.72727272727273 - type: f1 value: 84.29572512364581 - task: type: Clustering dataset: type: mteb/biorxiv-clustering-p2p name: MTEB BiorxivClusteringP2P config: default split: test revision: 65b79d1d13f80053f67aca9498d9402c2d9f1f40 metrics: - type: v_measure value: 39.55532460397536 - task: type: Clustering dataset: type: mteb/biorxiv-clustering-s2s name: MTEB BiorxivClusteringS2S config: default split: test revision: 258694dd0231531bc1fd9de6ceb52a0853c6d908 metrics: - type: v_measure value: 35.91195973591251 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackAndroidRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 32.822 - type: map_at_10 value: 44.139 - type: map_at_100 value: 45.786 - type: map_at_1000 value: 45.906000000000006 - type: map_at_3 value: 40.637 - type: map_at_5 value: 42.575 - type: mrr_at_1 value: 41.059 - type: mrr_at_10 value: 50.751000000000005 - type: mrr_at_100 value: 51.548 - type: mrr_at_1000 value: 51.583999999999996 - type: mrr_at_3 value: 48.236000000000004 - type: mrr_at_5 value: 49.838 - type: ndcg_at_1 value: 41.059 - type: ndcg_at_10 value: 50.573 - type: ndcg_at_100 value: 56.25 - type: ndcg_at_1000 value: 58.004 - type: ndcg_at_3 value: 45.995000000000005 - type: ndcg_at_5 value: 48.18 - type: precision_at_1 value: 41.059 - type: precision_at_10 value: 9.757 - type: precision_at_100 value: 1.609 - type: precision_at_1000 value: 0.20600000000000002 - type: precision_at_3 value: 22.222 - type: precision_at_5 value: 16.023 - type: recall_at_1 value: 32.822 - type: recall_at_10 value: 61.794000000000004 - type: recall_at_100 value: 85.64699999999999 - type: recall_at_1000 value: 96.836 - type: recall_at_3 value: 47.999 - type: recall_at_5 value: 54.376999999999995 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackEnglishRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 29.579 - type: map_at_10 value: 39.787 - type: map_at_100 value: 40.976 - type: map_at_1000 value: 41.108 - type: map_at_3 value: 36.819 - type: map_at_5 value: 38.437 - type: mrr_at_1 value: 37.516 - type: mrr_at_10 value: 45.822 - type: mrr_at_100 value: 46.454 - type: mrr_at_1000 value: 46.495999999999995 - type: mrr_at_3 value: 43.556 - type: mrr_at_5 value: 44.814 - type: ndcg_at_1 value: 37.516 - type: ndcg_at_10 value: 45.5 - type: ndcg_at_100 value: 49.707 - type: ndcg_at_1000 value: 51.842 - type: ndcg_at_3 value: 41.369 - type: ndcg_at_5 value: 43.161 - type: precision_at_1 value: 37.516 - type: precision_at_10 value: 8.713 - type: precision_at_100 value: 1.38 - type: precision_at_1000 value: 0.188 - type: precision_at_3 value: 20.233999999999998 - type: precision_at_5 value: 14.280000000000001 - type: recall_at_1 value: 29.579 - type: recall_at_10 value: 55.458 - type: recall_at_100 value: 73.49799999999999 - type: recall_at_1000 value: 87.08200000000001 - type: recall_at_3 value: 42.858000000000004 - type: recall_at_5 value: 48.215 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackGamingRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 40.489999999999995 - type: map_at_10 value: 53.313 - type: map_at_100 value: 54.290000000000006 - type: map_at_1000 value: 54.346000000000004 - type: map_at_3 value: 49.983 - type: map_at_5 value: 51.867 - type: mrr_at_1 value: 46.27 - type: mrr_at_10 value: 56.660999999999994 - type: mrr_at_100 value: 57.274 - type: mrr_at_1000 value: 57.301 - type: mrr_at_3 value: 54.138 - type: mrr_at_5 value: 55.623999999999995 - type: ndcg_at_1 value: 46.27 - type: ndcg_at_10 value: 59.192 - type: ndcg_at_100 value: 63.026 - type: ndcg_at_1000 value: 64.079 - type: ndcg_at_3 value: 53.656000000000006 - type: ndcg_at_5 value: 56.387 - type: precision_at_1 value: 46.27 - type: precision_at_10 value: 9.511 - type: precision_at_100 value: 1.23 - type: precision_at_1000 value: 0.136 - type: precision_at_3 value: 24.096 - type: precision_at_5 value: 16.476 - type: recall_at_1 value: 40.489999999999995 - type: recall_at_10 value: 73.148 - type: recall_at_100 value: 89.723 - type: recall_at_1000 value: 97.073 - type: recall_at_3 value: 58.363 - type: recall_at_5 value: 65.083 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackGisRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 26.197 - type: map_at_10 value: 35.135 - type: map_at_100 value: 36.14 - type: map_at_1000 value: 36.216 - type: map_at_3 value: 32.358 - type: map_at_5 value: 33.814 - type: mrr_at_1 value: 28.475 - type: mrr_at_10 value: 37.096000000000004 - type: mrr_at_100 value: 38.006 - type: mrr_at_1000 value: 38.06 - type: mrr_at_3 value: 34.52 - type: mrr_at_5 value: 35.994 - type: ndcg_at_1 value: 28.475 - type: ndcg_at_10 value: 40.263 - type: ndcg_at_100 value: 45.327 - type: ndcg_at_1000 value: 47.225 - type: ndcg_at_3 value: 34.882000000000005 - type: ndcg_at_5 value: 37.347 - type: precision_at_1 value: 28.475 - type: precision_at_10 value: 6.249 - type: precision_at_100 value: 0.919 - type: precision_at_1000 value: 0.11199999999999999 - type: precision_at_3 value: 14.689 - type: precision_at_5 value: 10.237 - type: recall_at_1 value: 26.197 - type: recall_at_10 value: 54.17999999999999 - type: recall_at_100 value: 77.768 - type: recall_at_1000 value: 91.932 - type: recall_at_3 value: 39.804 - type: recall_at_5 value: 45.660000000000004 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackMathematicaRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 16.683 - type: map_at_10 value: 25.013999999999996 - type: map_at_100 value: 26.411 - type: map_at_1000 value: 26.531 - type: map_at_3 value: 22.357 - type: map_at_5 value: 23.982999999999997 - type: mrr_at_1 value: 20.896 - type: mrr_at_10 value: 29.758000000000003 - type: mrr_at_100 value: 30.895 - type: mrr_at_1000 value: 30.964999999999996 - type: mrr_at_3 value: 27.177 - type: mrr_at_5 value: 28.799999999999997 - type: ndcg_at_1 value: 20.896 - type: ndcg_at_10 value: 30.294999999999998 - type: ndcg_at_100 value: 36.68 - type: ndcg_at_1000 value: 39.519 - type: ndcg_at_3 value: 25.480999999999998 - type: ndcg_at_5 value: 28.027 - type: precision_at_1 value: 20.896 - type: precision_at_10 value: 5.56 - type: precision_at_100 value: 1.006 - type: precision_at_1000 value: 0.13899999999999998 - type: precision_at_3 value: 12.231 - type: precision_at_5 value: 9.104 - type: recall_at_1 value: 16.683 - type: recall_at_10 value: 41.807 - type: recall_at_100 value: 69.219 - type: recall_at_1000 value: 89.178 - type: recall_at_3 value: 28.772 - type: recall_at_5 value: 35.167 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackPhysicsRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 30.653000000000002 - type: map_at_10 value: 41.21 - type: map_at_100 value: 42.543 - type: map_at_1000 value: 42.657000000000004 - type: map_at_3 value: 38.094 - type: map_at_5 value: 39.966 - type: mrr_at_1 value: 37.824999999999996 - type: mrr_at_10 value: 47.087 - type: mrr_at_100 value: 47.959 - type: mrr_at_1000 value: 48.003 - type: mrr_at_3 value: 45.043 - type: mrr_at_5 value: 46.352 - type: ndcg_at_1 value: 37.824999999999996 - type: ndcg_at_10 value: 47.158 - type: ndcg_at_100 value: 52.65 - type: ndcg_at_1000 value: 54.644999999999996 - type: ndcg_at_3 value: 42.632999999999996 - type: ndcg_at_5 value: 44.994 - type: precision_at_1 value: 37.824999999999996 - type: precision_at_10 value: 8.498999999999999 - type: precision_at_100 value: 1.308 - type: precision_at_1000 value: 0.166 - type: precision_at_3 value: 20.308 - type: precision_at_5 value: 14.283000000000001 - type: recall_at_1 value: 30.653000000000002 - type: recall_at_10 value: 58.826 - type: recall_at_100 value: 81.94 - type: recall_at_1000 value: 94.71000000000001 - type: recall_at_3 value: 45.965 - type: recall_at_5 value: 52.294 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackProgrammersRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 26.71 - type: map_at_10 value: 36.001 - type: map_at_100 value: 37.416 - type: map_at_1000 value: 37.522 - type: map_at_3 value: 32.841 - type: map_at_5 value: 34.515 - type: mrr_at_1 value: 32.647999999999996 - type: mrr_at_10 value: 41.43 - type: mrr_at_100 value: 42.433 - type: mrr_at_1000 value: 42.482 - type: mrr_at_3 value: 39.117000000000004 - type: mrr_at_5 value: 40.35 - type: ndcg_at_1 value: 32.647999999999996 - type: ndcg_at_10 value: 41.629 - type: ndcg_at_100 value: 47.707 - type: ndcg_at_1000 value: 49.913000000000004 - type: ndcg_at_3 value: 36.598000000000006 - type: ndcg_at_5 value: 38.696000000000005 - type: precision_at_1 value: 32.647999999999996 - type: precision_at_10 value: 7.704999999999999 - type: precision_at_100 value: 1.242 - type: precision_at_1000 value: 0.16 - type: precision_at_3 value: 17.314 - type: precision_at_5 value: 12.374 - type: recall_at_1 value: 26.71 - type: recall_at_10 value: 52.898 - type: recall_at_100 value: 79.08 - type: recall_at_1000 value: 93.94 - type: recall_at_3 value: 38.731 - type: recall_at_5 value: 44.433 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 26.510999999999996 - type: map_at_10 value: 35.755333333333326 - type: map_at_100 value: 36.97525 - type: map_at_1000 value: 37.08741666666667 - type: map_at_3 value: 32.921 - type: map_at_5 value: 34.45041666666667 - type: mrr_at_1 value: 31.578416666666666 - type: mrr_at_10 value: 40.06066666666667 - type: mrr_at_100 value: 40.93350000000001 - type: mrr_at_1000 value: 40.98716666666667 - type: mrr_at_3 value: 37.710499999999996 - type: mrr_at_5 value: 39.033249999999995 - type: ndcg_at_1 value: 31.578416666666666 - type: ndcg_at_10 value: 41.138666666666666 - type: ndcg_at_100 value: 46.37291666666666 - type: ndcg_at_1000 value: 48.587500000000006 - type: ndcg_at_3 value: 36.397083333333335 - type: ndcg_at_5 value: 38.539 - type: precision_at_1 value: 31.578416666666666 - type: precision_at_10 value: 7.221583333333332 - type: precision_at_100 value: 1.1581666666666668 - type: precision_at_1000 value: 0.15416666666666667 - type: precision_at_3 value: 16.758 - type: precision_at_5 value: 11.830916666666665 - type: recall_at_1 value: 26.510999999999996 - type: recall_at_10 value: 52.7825 - type: recall_at_100 value: 75.79675 - type: recall_at_1000 value: 91.10483333333335 - type: recall_at_3 value: 39.48233333333334 - type: recall_at_5 value: 45.07116666666667 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackStatsRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 24.564 - type: map_at_10 value: 31.235000000000003 - type: map_at_100 value: 32.124 - type: map_at_1000 value: 32.216 - type: map_at_3 value: 29.330000000000002 - type: map_at_5 value: 30.379 - type: mrr_at_1 value: 27.761000000000003 - type: mrr_at_10 value: 34.093 - type: mrr_at_100 value: 34.885 - type: mrr_at_1000 value: 34.957 - type: mrr_at_3 value: 32.388 - type: mrr_at_5 value: 33.269 - type: ndcg_at_1 value: 27.761000000000003 - type: ndcg_at_10 value: 35.146 - type: ndcg_at_100 value: 39.597 - type: ndcg_at_1000 value: 42.163000000000004 - type: ndcg_at_3 value: 31.674000000000003 - type: ndcg_at_5 value: 33.224 - type: precision_at_1 value: 27.761000000000003 - type: precision_at_10 value: 5.383 - type: precision_at_100 value: 0.836 - type: precision_at_1000 value: 0.11199999999999999 - type: precision_at_3 value: 13.599 - type: precision_at_5 value: 9.202 - type: recall_at_1 value: 24.564 - type: recall_at_10 value: 44.36 - type: recall_at_100 value: 64.408 - type: recall_at_1000 value: 83.892 - type: recall_at_3 value: 34.653 - type: recall_at_5 value: 38.589 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackTexRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 17.01 - type: map_at_10 value: 24.485 - type: map_at_100 value: 25.573 - type: map_at_1000 value: 25.703 - type: map_at_3 value: 21.953 - type: map_at_5 value: 23.294999999999998 - type: mrr_at_1 value: 20.544 - type: mrr_at_10 value: 28.238000000000003 - type: mrr_at_100 value: 29.142000000000003 - type: mrr_at_1000 value: 29.219 - type: mrr_at_3 value: 25.802999999999997 - type: mrr_at_5 value: 27.105 - type: ndcg_at_1 value: 20.544 - type: ndcg_at_10 value: 29.387999999999998 - type: ndcg_at_100 value: 34.603 - type: ndcg_at_1000 value: 37.564 - type: ndcg_at_3 value: 24.731 - type: ndcg_at_5 value: 26.773000000000003 - type: precision_at_1 value: 20.544 - type: precision_at_10 value: 5.509 - type: precision_at_100 value: 0.9450000000000001 - type: precision_at_1000 value: 0.13799999999999998 - type: precision_at_3 value: 11.757 - type: precision_at_5 value: 8.596 - type: recall_at_1 value: 17.01 - type: recall_at_10 value: 40.392 - type: recall_at_100 value: 64.043 - type: recall_at_1000 value: 85.031 - type: recall_at_3 value: 27.293 - type: recall_at_5 value: 32.586999999999996 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackUnixRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 27.155 - type: map_at_10 value: 35.92 - type: map_at_100 value: 37.034 - type: map_at_1000 value: 37.139 - type: map_at_3 value: 33.263999999999996 - type: map_at_5 value: 34.61 - type: mrr_at_1 value: 32.183 - type: mrr_at_10 value: 40.099000000000004 - type: mrr_at_100 value: 41.001 - type: mrr_at_1000 value: 41.059 - type: mrr_at_3 value: 37.889 - type: mrr_at_5 value: 39.007999999999996 - type: ndcg_at_1 value: 32.183 - type: ndcg_at_10 value: 41.127 - type: ndcg_at_100 value: 46.464 - type: ndcg_at_1000 value: 48.67 - type: ndcg_at_3 value: 36.396 - type: ndcg_at_5 value: 38.313 - type: precision_at_1 value: 32.183 - type: precision_at_10 value: 6.847 - type: precision_at_100 value: 1.0739999999999998 - type: precision_at_1000 value: 0.13699999999999998 - type: precision_at_3 value: 16.356 - type: precision_at_5 value: 11.362 - type: recall_at_1 value: 27.155 - type: recall_at_10 value: 52.922000000000004 - type: recall_at_100 value: 76.39 - type: recall_at_1000 value: 91.553 - type: recall_at_3 value: 39.745999999999995 - type: recall_at_5 value: 44.637 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackWebmastersRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 25.523 - type: map_at_10 value: 34.268 - type: map_at_100 value: 35.835 - type: map_at_1000 value: 36.046 - type: map_at_3 value: 31.662000000000003 - type: map_at_5 value: 32.71 - type: mrr_at_1 value: 31.028 - type: mrr_at_10 value: 38.924 - type: mrr_at_100 value: 39.95 - type: mrr_at_1000 value: 40.003 - type: mrr_at_3 value: 36.594 - type: mrr_at_5 value: 37.701 - type: ndcg_at_1 value: 31.028 - type: ndcg_at_10 value: 39.848 - type: ndcg_at_100 value: 45.721000000000004 - type: ndcg_at_1000 value: 48.424 - type: ndcg_at_3 value: 35.329 - type: ndcg_at_5 value: 36.779 - type: precision_at_1 value: 31.028 - type: precision_at_10 value: 7.51 - type: precision_at_100 value: 1.478 - type: precision_at_1000 value: 0.24 - type: precision_at_3 value: 16.337 - type: precision_at_5 value: 11.383000000000001 - type: recall_at_1 value: 25.523 - type: recall_at_10 value: 50.735 - type: recall_at_100 value: 76.593 - type: recall_at_1000 value: 93.771 - type: recall_at_3 value: 37.574000000000005 - type: recall_at_5 value: 41.602 - task: type: Retrieval dataset: type: BeIR/cqadupstack name: MTEB CQADupstackWordpressRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 20.746000000000002 - type: map_at_10 value: 28.557 - type: map_at_100 value: 29.575000000000003 - type: map_at_1000 value: 29.659000000000002 - type: map_at_3 value: 25.753999999999998 - type: map_at_5 value: 27.254 - type: mrr_at_1 value: 22.736 - type: mrr_at_10 value: 30.769000000000002 - type: mrr_at_100 value: 31.655 - type: mrr_at_1000 value: 31.717000000000002 - type: mrr_at_3 value: 28.065 - type: mrr_at_5 value: 29.543999999999997 - type: ndcg_at_1 value: 22.736 - type: ndcg_at_10 value: 33.545 - type: ndcg_at_100 value: 38.743 - type: ndcg_at_1000 value: 41.002 - type: ndcg_at_3 value: 28.021 - type: ndcg_at_5 value: 30.586999999999996 - type: precision_at_1 value: 22.736 - type: precision_at_10 value: 5.416 - type: precision_at_100 value: 0.8710000000000001 - type: precision_at_1000 value: 0.116 - type: precision_at_3 value: 11.953 - type: precision_at_5 value: 8.651 - type: recall_at_1 value: 20.746000000000002 - type: recall_at_10 value: 46.87 - type: recall_at_100 value: 71.25200000000001 - type: recall_at_1000 value: 88.26 - type: recall_at_3 value: 32.029999999999994 - type: recall_at_5 value: 38.21 - task: type: Retrieval dataset: type: climate-fever name: MTEB ClimateFEVER config: default split: test revision: None metrics: - type: map_at_1 value: 12.105 - type: map_at_10 value: 20.577 - type: map_at_100 value: 22.686999999999998 - type: map_at_1000 value: 22.889 - type: map_at_3 value: 17.174 - type: map_at_5 value: 18.807 - type: mrr_at_1 value: 27.101 - type: mrr_at_10 value: 38.475 - type: mrr_at_100 value: 39.491 - type: mrr_at_1000 value: 39.525 - type: mrr_at_3 value: 34.886 - type: mrr_at_5 value: 36.922 - type: ndcg_at_1 value: 27.101 - type: ndcg_at_10 value: 29.002 - type: ndcg_at_100 value: 37.218 - type: ndcg_at_1000 value: 40.644000000000005 - type: ndcg_at_3 value: 23.464 - type: ndcg_at_5 value: 25.262 - type: precision_at_1 value: 27.101 - type: precision_at_10 value: 9.179 - type: precision_at_100 value: 1.806 - type: precision_at_1000 value: 0.244 - type: precision_at_3 value: 17.394000000000002 - type: precision_at_5 value: 13.342 - type: recall_at_1 value: 12.105 - type: recall_at_10 value: 35.143 - type: recall_at_100 value: 63.44499999999999 - type: recall_at_1000 value: 82.49499999999999 - type: recall_at_3 value: 21.489 - type: recall_at_5 value: 26.82 - task: type: Retrieval dataset: type: dbpedia-entity name: MTEB DBPedia config: default split: test revision: None metrics: - type: map_at_1 value: 8.769 - type: map_at_10 value: 18.619 - type: map_at_100 value: 26.3 - type: map_at_1000 value: 28.063 - type: map_at_3 value: 13.746 - type: map_at_5 value: 16.035 - type: mrr_at_1 value: 65.25 - type: mrr_at_10 value: 73.678 - type: mrr_at_100 value: 73.993 - type: mrr_at_1000 value: 74.003 - type: mrr_at_3 value: 72.042 - type: mrr_at_5 value: 72.992 - type: ndcg_at_1 value: 53.625 - type: ndcg_at_10 value: 39.638 - type: ndcg_at_100 value: 44.601 - type: ndcg_at_1000 value: 52.80200000000001 - type: ndcg_at_3 value: 44.727 - type: ndcg_at_5 value: 42.199 - type: precision_at_1 value: 65.25 - type: precision_at_10 value: 31.025000000000002 - type: precision_at_100 value: 10.174999999999999 - type: precision_at_1000 value: 2.0740000000000003 - type: precision_at_3 value: 48.083 - type: precision_at_5 value: 40.6 - type: recall_at_1 value: 8.769 - type: recall_at_10 value: 23.910999999999998 - type: recall_at_100 value: 51.202999999999996 - type: recall_at_1000 value: 77.031 - type: recall_at_3 value: 15.387999999999998 - type: recall_at_5 value: 18.919 - task: type: Classification dataset: type: mteb/emotion name: MTEB EmotionClassification config: default split: test revision: 4f58c6b202a23cf9a4da393831edf4f9183cad37 metrics: - type: accuracy value: 54.47 - type: f1 value: 48.21839043361556 - task: type: Retrieval dataset: type: fever name: MTEB FEVER config: default split: test revision: None metrics: - type: map_at_1 value: 63.564 - type: map_at_10 value: 74.236 - type: map_at_100 value: 74.53699999999999 - type: map_at_1000 value: 74.557 - type: map_at_3 value: 72.556 - type: map_at_5 value: 73.656 - type: mrr_at_1 value: 68.497 - type: mrr_at_10 value: 78.373 - type: mrr_at_100 value: 78.54299999999999 - type: mrr_at_1000 value: 78.549 - type: mrr_at_3 value: 77.03 - type: mrr_at_5 value: 77.938 - type: ndcg_at_1 value: 68.497 - type: ndcg_at_10 value: 79.12599999999999 - type: ndcg_at_100 value: 80.319 - type: ndcg_at_1000 value: 80.71199999999999 - type: ndcg_at_3 value: 76.209 - type: ndcg_at_5 value: 77.90700000000001 - type: precision_at_1 value: 68.497 - type: precision_at_10 value: 9.958 - type: precision_at_100 value: 1.077 - type: precision_at_1000 value: 0.11299999999999999 - type: precision_at_3 value: 29.908 - type: precision_at_5 value: 18.971 - type: recall_at_1 value: 63.564 - type: recall_at_10 value: 90.05199999999999 - type: recall_at_100 value: 95.028 - type: recall_at_1000 value: 97.667 - type: recall_at_3 value: 82.17999999999999 - type: recall_at_5 value: 86.388 - task: type: Retrieval dataset: type: fiqa name: MTEB FiQA2018 config: default split: test revision: None metrics: - type: map_at_1 value: 19.042 - type: map_at_10 value: 30.764999999999997 - type: map_at_100 value: 32.678000000000004 - type: map_at_1000 value: 32.881 - type: map_at_3 value: 26.525 - type: map_at_5 value: 28.932000000000002 - type: mrr_at_1 value: 37.653999999999996 - type: mrr_at_10 value: 46.597 - type: mrr_at_100 value: 47.413 - type: mrr_at_1000 value: 47.453 - type: mrr_at_3 value: 43.775999999999996 - type: mrr_at_5 value: 45.489000000000004 - type: ndcg_at_1 value: 37.653999999999996 - type: ndcg_at_10 value: 38.615 - type: ndcg_at_100 value: 45.513999999999996 - type: ndcg_at_1000 value: 48.815999999999995 - type: ndcg_at_3 value: 34.427 - type: ndcg_at_5 value: 35.954 - type: precision_at_1 value: 37.653999999999996 - type: precision_at_10 value: 10.864 - type: precision_at_100 value: 1.7850000000000001 - type: precision_at_1000 value: 0.23800000000000002 - type: precision_at_3 value: 22.788 - type: precision_at_5 value: 17.346 - type: recall_at_1 value: 19.042 - type: recall_at_10 value: 45.707 - type: recall_at_100 value: 71.152 - type: recall_at_1000 value: 90.7 - type: recall_at_3 value: 30.814000000000004 - type: recall_at_5 value: 37.478 - task: type: Retrieval dataset: type: hotpotqa name: MTEB HotpotQA config: default split: test revision: None metrics: - type: map_at_1 value: 38.001000000000005 - type: map_at_10 value: 59.611000000000004 - type: map_at_100 value: 60.582 - type: map_at_1000 value: 60.646 - type: map_at_3 value: 56.031 - type: map_at_5 value: 58.243 - type: mrr_at_1 value: 76.003 - type: mrr_at_10 value: 82.15400000000001 - type: mrr_at_100 value: 82.377 - type: mrr_at_1000 value: 82.383 - type: mrr_at_3 value: 81.092 - type: mrr_at_5 value: 81.742 - type: ndcg_at_1 value: 76.003 - type: ndcg_at_10 value: 68.216 - type: ndcg_at_100 value: 71.601 - type: ndcg_at_1000 value: 72.821 - type: ndcg_at_3 value: 63.109 - type: ndcg_at_5 value: 65.902 - type: precision_at_1 value: 76.003 - type: precision_at_10 value: 14.379 - type: precision_at_100 value: 1.702 - type: precision_at_1000 value: 0.186 - type: precision_at_3 value: 40.396 - type: precision_at_5 value: 26.442 - type: recall_at_1 value: 38.001000000000005 - type: recall_at_10 value: 71.897 - type: recall_at_100 value: 85.105 - type: recall_at_1000 value: 93.133 - type: recall_at_3 value: 60.594 - type: recall_at_5 value: 66.104 - task: type: Classification dataset: type: mteb/imdb name: MTEB ImdbClassification config: default split: test revision: 3d86128a09e091d6018b6d26cad27f2739fc2db7 metrics: - type: accuracy value: 91.31280000000001 - type: ap value: 87.53723467501632 - type: f1 value: 91.30282906596291 - task: type: Retrieval dataset: type: msmarco name: MTEB MSMARCO config: default split: dev revision: None metrics: - type: map_at_1 value: 21.917 - type: map_at_10 value: 34.117999999999995 - type: map_at_100 value: 35.283 - type: map_at_1000 value: 35.333999999999996 - type: map_at_3 value: 30.330000000000002 - type: map_at_5 value: 32.461 - type: mrr_at_1 value: 22.579 - type: mrr_at_10 value: 34.794000000000004 - type: mrr_at_100 value: 35.893 - type: mrr_at_1000 value: 35.937000000000005 - type: mrr_at_3 value: 31.091 - type: mrr_at_5 value: 33.173 - type: ndcg_at_1 value: 22.579 - type: ndcg_at_10 value: 40.951 - type: ndcg_at_100 value: 46.558 - type: ndcg_at_1000 value: 47.803000000000004 - type: ndcg_at_3 value: 33.262 - type: ndcg_at_5 value: 37.036 - type: precision_at_1 value: 22.579 - type: precision_at_10 value: 6.463000000000001 - type: precision_at_100 value: 0.928 - type: precision_at_1000 value: 0.104 - type: precision_at_3 value: 14.174000000000001 - type: precision_at_5 value: 10.421 - type: recall_at_1 value: 21.917 - type: recall_at_10 value: 61.885 - type: recall_at_100 value: 87.847 - type: recall_at_1000 value: 97.322 - type: recall_at_3 value: 41.010000000000005 - type: recall_at_5 value: 50.031000000000006 - task: type: Classification dataset: type: mteb/mtop_domain name: MTEB MTOPDomainClassification (en) config: en split: test revision: d80d48c1eb48d3562165c59d59d0034df9fff0bf metrics: - type: accuracy value: 93.49521203830369 - type: f1 value: 93.30882341740241 - task: type: Classification dataset: type: mteb/mtop_intent name: MTEB MTOPIntentClassification (en) config: en split: test revision: ae001d0e6b1228650b7bd1c2c65fb50ad11a8aba metrics: - type: accuracy value: 71.0579115367077 - type: f1 value: 51.2368258319339 - task: type: Classification dataset: type: mteb/amazon_massive_intent name: MTEB MassiveIntentClassification (en) config: en split: test revision: 31efe3c427b0bae9c22cbb560b8f15491cc6bed7 metrics: - type: accuracy value: 73.88029589778077 - type: f1 value: 72.34422048584663 - task: type: Classification dataset: type: mteb/amazon_massive_scenario name: MTEB MassiveScenarioClassification (en) config: en split: test revision: 7d571f92784cd94a019292a1f45445077d0ef634 metrics: - type: accuracy value: 78.2817753866846 - type: f1 value: 77.87746050004304 - task: type: Clustering dataset: type: mteb/medrxiv-clustering-p2p name: MTEB MedrxivClusteringP2P config: default split: test revision: e7a26af6f3ae46b30dde8737f02c07b1505bcc73 metrics: - type: v_measure value: 33.247341454119216 - task: type: Clustering dataset: type: mteb/medrxiv-clustering-s2s name: MTEB MedrxivClusteringS2S config: default split: test revision: 35191c8c0dca72d8ff3efcd72aa802307d469663 metrics: - type: v_measure value: 31.9647477166234 - task: type: Reranking dataset: type: mteb/mind_small name: MTEB MindSmallReranking config: default split: test revision: 3bdac13927fdc888b903db93b2ffdbd90b295a69 metrics: - type: map value: 31.90698374676892 - type: mrr value: 33.07523683771251 - task: type: Retrieval dataset: type: nfcorpus name: MTEB NFCorpus config: default split: test revision: None metrics: - type: map_at_1 value: 6.717 - type: map_at_10 value: 14.566 - type: map_at_100 value: 18.465999999999998 - type: map_at_1000 value: 20.033 - type: map_at_3 value: 10.863 - type: map_at_5 value: 12.589 - type: mrr_at_1 value: 49.845 - type: mrr_at_10 value: 58.385 - type: mrr_at_100 value: 58.989999999999995 - type: mrr_at_1000 value: 59.028999999999996 - type: mrr_at_3 value: 56.76 - type: mrr_at_5 value: 57.766 - type: ndcg_at_1 value: 47.678 - type: ndcg_at_10 value: 37.511 - type: ndcg_at_100 value: 34.537 - type: ndcg_at_1000 value: 43.612 - type: ndcg_at_3 value: 43.713 - type: ndcg_at_5 value: 41.303 - type: precision_at_1 value: 49.845 - type: precision_at_10 value: 27.307 - type: precision_at_100 value: 8.746 - type: precision_at_1000 value: 2.182 - type: precision_at_3 value: 40.764 - type: precision_at_5 value: 35.232 - type: recall_at_1 value: 6.717 - type: recall_at_10 value: 18.107 - type: recall_at_100 value: 33.759 - type: recall_at_1000 value: 67.31 - type: recall_at_3 value: 11.68 - type: recall_at_5 value: 14.557999999999998 - task: type: Retrieval dataset: type: nq name: MTEB NQ config: default split: test revision: None metrics: - type: map_at_1 value: 27.633999999999997 - type: map_at_10 value: 42.400999999999996 - type: map_at_100 value: 43.561 - type: map_at_1000 value: 43.592 - type: map_at_3 value: 37.865 - type: map_at_5 value: 40.650999999999996 - type: mrr_at_1 value: 31.286 - type: mrr_at_10 value: 44.996 - type: mrr_at_100 value: 45.889 - type: mrr_at_1000 value: 45.911 - type: mrr_at_3 value: 41.126000000000005 - type: mrr_at_5 value: 43.536 - type: ndcg_at_1 value: 31.257 - type: ndcg_at_10 value: 50.197 - type: ndcg_at_100 value: 55.062 - type: ndcg_at_1000 value: 55.81700000000001 - type: ndcg_at_3 value: 41.650999999999996 - type: ndcg_at_5 value: 46.324 - type: precision_at_1 value: 31.257 - type: precision_at_10 value: 8.508000000000001 - type: precision_at_100 value: 1.121 - type: precision_at_1000 value: 0.11900000000000001 - type: precision_at_3 value: 19.1 - type: precision_at_5 value: 14.16 - type: recall_at_1 value: 27.633999999999997 - type: recall_at_10 value: 71.40100000000001 - type: recall_at_100 value: 92.463 - type: recall_at_1000 value: 98.13199999999999 - type: recall_at_3 value: 49.382 - type: recall_at_5 value: 60.144 - task: type: Retrieval dataset: type: quora name: MTEB QuoraRetrieval config: default split: test revision: None metrics: - type: map_at_1 value: 71.17099999999999 - type: map_at_10 value: 85.036 - type: map_at_100 value: 85.67099999999999 - type: map_at_1000 value: 85.68599999999999 - type: map_at_3 value: 82.086 - type: map_at_5 value: 83.956 - type: mrr_at_1 value: 82.04 - type: mrr_at_10 value: 88.018 - type: mrr_at_100 value: 88.114 - type: mrr_at_1000 value: 88.115 - type: mrr_at_3 value: 87.047 - type: mrr_at_5 value: 87.73100000000001 - type: ndcg_at_1 value: 82.03 - type: ndcg_at_10 value: 88.717 - type: ndcg_at_100 value: 89.904 - type: ndcg_at_1000 value: 89.991 - type: ndcg_at_3 value: 85.89099999999999 - type: ndcg_at_5 value: 87.485 - type: precision_at_1 value: 82.03 - type: precision_at_10 value: 13.444999999999999 - type: precision_at_100 value: 1.533 - type: precision_at_1000 value: 0.157 - type: precision_at_3 value: 37.537 - type: precision_at_5 value: 24.692 - type: recall_at_1 value: 71.17099999999999 - type: recall_at_10 value: 95.634 - type: recall_at_100 value: 99.614 - type: recall_at_1000 value: 99.99 - type: recall_at_3 value: 87.48 - type: recall_at_5 value: 91.996 - task: type: Clustering dataset: type: mteb/reddit-clustering name: MTEB RedditClustering config: default split: test revision: 24640382cdbf8abc73003fb0fa6d111a705499eb metrics: - type: v_measure value: 55.067219624685315 - task: type: Clustering dataset: type: mteb/reddit-clustering-p2p name: MTEB RedditClusteringP2P config: default split: test revision: 282350215ef01743dc01b456c7f5241fa8937f16 metrics: - type: v_measure value: 62.121822992300444 - task: type: Retrieval dataset: type: scidocs name: MTEB SCIDOCS config: default split: test revision: None metrics: - type: map_at_1 value: 4.153 - type: map_at_10 value: 11.024000000000001 - type: map_at_100 value: 13.233 - type: map_at_1000 value: 13.62 - type: map_at_3 value: 7.779999999999999 - type: map_at_5 value: 9.529 - type: mrr_at_1 value: 20.599999999999998 - type: mrr_at_10 value: 31.361 - type: mrr_at_100 value: 32.738 - type: mrr_at_1000 value: 32.792 - type: mrr_at_3 value: 28.15 - type: mrr_at_5 value: 30.085 - type: ndcg_at_1 value: 20.599999999999998 - type: ndcg_at_10 value: 18.583 - type: ndcg_at_100 value: 27.590999999999998 - type: ndcg_at_1000 value: 34.001 - type: ndcg_at_3 value: 17.455000000000002 - type: ndcg_at_5 value: 15.588 - type: precision_at_1 value: 20.599999999999998 - type: precision_at_10 value: 9.74 - type: precision_at_100 value: 2.284 - type: precision_at_1000 value: 0.381 - type: precision_at_3 value: 16.533 - type: precision_at_5 value: 14.02 - type: recall_at_1 value: 4.153 - type: recall_at_10 value: 19.738 - type: recall_at_100 value: 46.322 - type: recall_at_1000 value: 77.378 - type: recall_at_3 value: 10.048 - type: recall_at_5 value: 14.233 - task: type: STS dataset: type: mteb/sickr-sts name: MTEB SICK-R config: default split: test revision: a6ea5a8cab320b040a23452cc28066d9beae2cee metrics: - type: cos_sim_pearson value: 85.07097501003639 - type: cos_sim_spearman value: 81.05827848407056 - type: euclidean_pearson value: 82.6279003372546 - type: euclidean_spearman value: 81.00031515279802 - type: manhattan_pearson value: 82.59338284959495 - type: manhattan_spearman value: 80.97432711064945 - task: type: STS dataset: type: mteb/sts12-sts name: MTEB STS12 config: default split: test revision: a0d554a64d88156834ff5ae9920b964011b16384 metrics: - type: cos_sim_pearson value: 86.28991993621685 - type: cos_sim_spearman value: 78.71828082424351 - type: euclidean_pearson value: 83.4881331520832 - type: euclidean_spearman value: 78.51746826842316 - type: manhattan_pearson value: 83.4109223774324 - type: manhattan_spearman value: 78.431544382179 - task: type: STS dataset: type: mteb/sts13-sts name: MTEB STS13 config: default split: test revision: 7e90230a92c190f1bf69ae9002b8cea547a64cca metrics: - type: cos_sim_pearson value: 83.16651661072123 - type: cos_sim_spearman value: 84.88094386637867 - type: euclidean_pearson value: 84.3547603585416 - type: euclidean_spearman value: 84.85148665860193 - type: manhattan_pearson value: 84.29648369879266 - type: manhattan_spearman value: 84.76074870571124 - task: type: STS dataset: type: mteb/sts14-sts name: MTEB STS14 config: default split: test revision: 6031580fec1f6af667f0bd2da0a551cf4f0b2375 metrics: - type: cos_sim_pearson value: 83.40596254292149 - type: cos_sim_spearman value: 83.10699573133829 - type: euclidean_pearson value: 83.22794776876958 - type: euclidean_spearman value: 83.22583316084712 - type: manhattan_pearson value: 83.15899233935681 - type: manhattan_spearman value: 83.17668293648019 - task: type: STS dataset: type: mteb/sts15-sts name: MTEB STS15 config: default split: test revision: ae752c7c21bf194d8b67fd573edf7ae58183cbe3 metrics: - type: cos_sim_pearson value: 87.27977121352563 - type: cos_sim_spearman value: 88.73903130248591 - type: euclidean_pearson value: 88.30685958438735 - type: euclidean_spearman value: 88.79755484280406 - type: manhattan_pearson value: 88.30305607758652 - type: manhattan_spearman value: 88.80096577072784 - task: type: STS dataset: type: mteb/sts16-sts name: MTEB STS16 config: default split: test revision: 4d8694f8f0e0100860b497b999b3dbed754a0513 metrics: - type: cos_sim_pearson value: 84.08819031430218 - type: cos_sim_spearman value: 86.35414445951125 - type: euclidean_pearson value: 85.4683192388315 - type: euclidean_spearman value: 86.2079674669473 - type: manhattan_pearson value: 85.35835702257341 - type: manhattan_spearman value: 86.08483380002187 - task: type: STS dataset: type: mteb/sts17-crosslingual-sts name: MTEB STS17 (en-en) config: en-en split: test revision: af5e6fb845001ecf41f4c1e033ce921939a2a68d metrics: - type: cos_sim_pearson value: 87.36149449801478 - type: cos_sim_spearman value: 87.7102980757725 - type: euclidean_pearson value: 88.16457177837161 - type: euclidean_spearman value: 87.6598652482716 - type: manhattan_pearson value: 88.23894728971618 - type: manhattan_spearman value: 87.74470156709361 - task: type: STS dataset: type: mteb/sts22-crosslingual-sts name: MTEB STS22 (en) config: en split: test revision: 6d1ba47164174a496b7fa5d3569dae26a6813b80 metrics: - type: cos_sim_pearson value: 64.54023758394433 - type: cos_sim_spearman value: 66.28491960187773 - type: euclidean_pearson value: 67.0853128483472 - type: euclidean_spearman value: 66.10307543766307 - type: manhattan_pearson value: 66.7635365592556 - type: manhattan_spearman value: 65.76408004780167 - task: type: STS dataset: type: mteb/stsbenchmark-sts name: MTEB STSBenchmark config: default split: test revision: b0fddb56ed78048fa8b90373c8a3cfc37b684831 metrics: - type: cos_sim_pearson value: 85.15858398195317 - type: cos_sim_spearman value: 87.44850004752102 - type: euclidean_pearson value: 86.60737082550408 - type: euclidean_spearman value: 87.31591549824242 - type: manhattan_pearson value: 86.56187011429977 - type: manhattan_spearman value: 87.23854795795319 - task: type: Reranking dataset: type: mteb/scidocs-reranking name: MTEB SciDocsRR config: default split: test revision: d3c5e1fc0b855ab6097bf1cda04dd73947d7caab metrics: - type: map value: 86.66210488769109 - type: mrr value: 96.23100664767331 - task: type: Retrieval dataset: type: scifact name: MTEB SciFact config: default split: test revision: None metrics: - type: map_at_1 value: 56.094 - type: map_at_10 value: 67.486 - type: map_at_100 value: 67.925 - type: map_at_1000 value: 67.949 - type: map_at_3 value: 64.857 - type: map_at_5 value: 66.31 - type: mrr_at_1 value: 58.667 - type: mrr_at_10 value: 68.438 - type: mrr_at_100 value: 68.733 - type: mrr_at_1000 value: 68.757 - type: mrr_at_3 value: 66.389 - type: mrr_at_5 value: 67.456 - type: ndcg_at_1 value: 58.667 - type: ndcg_at_10 value: 72.506 - type: ndcg_at_100 value: 74.27 - type: ndcg_at_1000 value: 74.94800000000001 - type: ndcg_at_3 value: 67.977 - type: ndcg_at_5 value: 70.028 - type: precision_at_1 value: 58.667 - type: precision_at_10 value: 9.767000000000001 - type: precision_at_100 value: 1.073 - type: precision_at_1000 value: 0.11299999999999999 - type: precision_at_3 value: 27.0 - type: precision_at_5 value: 17.666999999999998 - type: recall_at_1 value: 56.094 - type: recall_at_10 value: 86.68900000000001 - type: recall_at_100 value: 94.333 - type: recall_at_1000 value: 99.667 - type: recall_at_3 value: 74.522 - type: recall_at_5 value: 79.611 - task: type: PairClassification dataset: type: mteb/sprintduplicatequestions-pairclassification name: MTEB SprintDuplicateQuestions config: default split: test revision: d66bd1f72af766a5cc4b0ca5e00c162f89e8cc46 metrics: - type: cos_sim_accuracy value: 99.83069306930693 - type: cos_sim_ap value: 95.69184662911199 - type: cos_sim_f1 value: 91.4027149321267 - type: cos_sim_precision value: 91.91102123356926 - type: cos_sim_recall value: 90.9 - type: dot_accuracy value: 99.69405940594059 - type: dot_ap value: 90.21674151456216 - type: dot_f1 value: 84.4489179667841 - type: dot_precision value: 85.00506585612969 - type: dot_recall value: 83.89999999999999 - type: euclidean_accuracy value: 99.83069306930693 - type: euclidean_ap value: 95.67760109671087 - type: euclidean_f1 value: 91.19754350051177 - type: euclidean_precision value: 93.39622641509435 - type: euclidean_recall value: 89.1 - type: manhattan_accuracy value: 99.83267326732673 - type: manhattan_ap value: 95.69771347732625 - type: manhattan_f1 value: 91.32420091324201 - type: manhattan_precision value: 92.68795056642637 - type: manhattan_recall value: 90.0 - type: max_accuracy value: 99.83267326732673 - type: max_ap value: 95.69771347732625 - type: max_f1 value: 91.4027149321267 - task: type: Clustering dataset: type: mteb/stackexchange-clustering name: MTEB StackExchangeClustering config: default split: test revision: 6cbc1f7b2bc0622f2e39d2c77fa502909748c259 metrics: - type: v_measure value: 64.47378332953092 - task: type: Clustering dataset: type: mteb/stackexchange-clustering-p2p name: MTEB StackExchangeClusteringP2P config: default split: test revision: 815ca46b2622cec33ccafc3735d572c266efdb44 metrics: - type: v_measure value: 33.79602531604151 - task: type: Reranking dataset: type: mteb/stackoverflowdupquestions-reranking name: MTEB StackOverflowDupQuestions config: default split: test revision: e185fbe320c72810689fc5848eb6114e1ef5ec69 metrics: - type: map value: 53.80707639107175 - type: mrr value: 54.64886522790935 - task: type: Summarization dataset: type: mteb/summeval name: MTEB SummEval config: default split: test revision: cda12ad7615edc362dbf25a00fdd61d3b1eaf93c metrics: - type: cos_sim_pearson value: 30.852448373051395 - type: cos_sim_spearman value: 32.51821499493775 - type: dot_pearson value: 30.390650062190456 - type: dot_spearman value: 30.588836159667636 - task: type: Retrieval dataset: type: trec-covid name: MTEB TRECCOVID config: default split: test revision: None metrics: - type: map_at_1 value: 0.198 - type: map_at_10 value: 1.51 - type: map_at_100 value: 8.882 - type: map_at_1000 value: 22.181 - type: map_at_3 value: 0.553 - type: map_at_5 value: 0.843 - type: mrr_at_1 value: 74.0 - type: mrr_at_10 value: 84.89999999999999 - type: mrr_at_100 value: 84.89999999999999 - type: mrr_at_1000 value: 84.89999999999999 - type: mrr_at_3 value: 84.0 - type: mrr_at_5 value: 84.89999999999999 - type: ndcg_at_1 value: 68.0 - type: ndcg_at_10 value: 64.792 - type: ndcg_at_100 value: 51.37199999999999 - type: ndcg_at_1000 value: 47.392 - type: ndcg_at_3 value: 68.46900000000001 - type: ndcg_at_5 value: 67.084 - type: precision_at_1 value: 74.0 - type: precision_at_10 value: 69.39999999999999 - type: precision_at_100 value: 53.080000000000005 - type: precision_at_1000 value: 21.258 - type: precision_at_3 value: 76.0 - type: precision_at_5 value: 73.2 - type: recall_at_1 value: 0.198 - type: recall_at_10 value: 1.7950000000000002 - type: recall_at_100 value: 12.626999999999999 - type: recall_at_1000 value: 44.84 - type: recall_at_3 value: 0.611 - type: recall_at_5 value: 0.959 - task: type: Retrieval dataset: type: webis-touche2020 name: MTEB Touche2020 config: default split: test revision: None metrics: - type: map_at_1 value: 1.4949999999999999 - type: map_at_10 value: 8.797 - type: map_at_100 value: 14.889 - type: map_at_1000 value: 16.309 - type: map_at_3 value: 4.389 - type: map_at_5 value: 6.776 - type: mrr_at_1 value: 18.367 - type: mrr_at_10 value: 35.844 - type: mrr_at_100 value: 37.119 - type: mrr_at_1000 value: 37.119 - type: mrr_at_3 value: 30.612000000000002 - type: mrr_at_5 value: 33.163 - type: ndcg_at_1 value: 16.326999999999998 - type: ndcg_at_10 value: 21.9 - type: ndcg_at_100 value: 34.705000000000005 - type: ndcg_at_1000 value: 45.709 - type: ndcg_at_3 value: 22.7 - type: ndcg_at_5 value: 23.197000000000003 - type: precision_at_1 value: 18.367 - type: precision_at_10 value: 21.02 - type: precision_at_100 value: 7.714 - type: precision_at_1000 value: 1.504 - type: precision_at_3 value: 26.531 - type: precision_at_5 value: 26.122 - type: recall_at_1 value: 1.4949999999999999 - type: recall_at_10 value: 15.504000000000001 - type: recall_at_100 value: 47.978 - type: recall_at_1000 value: 81.56 - type: recall_at_3 value: 5.569 - type: recall_at_5 value: 9.821 - task: type: Classification dataset: type: mteb/toxic_conversations_50k name: MTEB ToxicConversationsClassification config: default split: test revision: d7c0de2777da35d6aae2200a62c6e0e5af397c4c metrics: - type: accuracy value: 72.99279999999999 - type: ap value: 15.459189680101492 - type: f1 value: 56.33023271441895 - task: type: Classification dataset: type: mteb/tweet_sentiment_extraction name: MTEB TweetSentimentExtractionClassification config: default split: test revision: d604517c81ca91fe16a244d1248fc021f9ecee7a metrics: - type: accuracy value: 63.070175438596486 - type: f1 value: 63.28070758709465 - task: type: Clustering dataset: type: mteb/twentynewsgroups-clustering name: MTEB TwentyNewsgroupsClustering config: default split: test revision: 6125ec4e24fa026cec8a478383ee943acfbd5449 metrics: - type: v_measure value: 50.076231309703054 - task: type: PairClassification dataset: type: mteb/twittersemeval2015-pairclassification name: MTEB TwitterSemEval2015 config: default split: test revision: 70970daeab8776df92f5ea462b6173c0b46fd2d1 metrics: - type: cos_sim_accuracy value: 87.21463908922931 - type: cos_sim_ap value: 77.67287017966282 - type: cos_sim_f1 value: 70.34412955465588 - type: cos_sim_precision value: 67.57413709285368 - type: cos_sim_recall value: 73.35092348284961 - type: dot_accuracy value: 85.04500208618943 - type: dot_ap value: 70.4075203869744 - type: dot_f1 value: 66.18172537008678 - type: dot_precision value: 64.08798813643104 - type: dot_recall value: 68.41688654353561 - type: euclidean_accuracy value: 87.17887584192646 - type: euclidean_ap value: 77.5774128274464 - type: euclidean_f1 value: 70.09307972480777 - type: euclidean_precision value: 71.70852884349986 - type: euclidean_recall value: 68.54881266490766 - type: manhattan_accuracy value: 87.28020504261787 - type: manhattan_ap value: 77.57835820297892 - type: manhattan_f1 value: 70.23063591521131 - type: manhattan_precision value: 70.97817299919159 - type: manhattan_recall value: 69.49868073878628 - type: max_accuracy value: 87.28020504261787 - type: max_ap value: 77.67287017966282 - type: max_f1 value: 70.34412955465588 - task: type: PairClassification dataset: type: mteb/twitterurlcorpus-pairclassification name: MTEB TwitterURLCorpus config: default split: test revision: 8b6510b0b1fa4e4c4f879467980e9be563ec1cdf metrics: - type: cos_sim_accuracy value: 88.96650754841464 - type: cos_sim_ap value: 86.00185968965064 - type: cos_sim_f1 value: 77.95861256351718 - type: cos_sim_precision value: 74.70712773465067 - type: cos_sim_recall value: 81.50600554357868 - type: dot_accuracy value: 87.36950362867233 - type: dot_ap value: 82.22071181147555 - type: dot_f1 value: 74.85680716698488 - type: dot_precision value: 71.54688377316114 - type: dot_recall value: 78.48783492454572 - type: euclidean_accuracy value: 88.99561454573679 - type: euclidean_ap value: 86.15882097229648 - type: euclidean_f1 value: 78.18463125322332 - type: euclidean_precision value: 74.95408956067241 - type: euclidean_recall value: 81.70619032953496 - type: manhattan_accuracy value: 88.96650754841464 - type: manhattan_ap value: 86.13133111232099 - type: manhattan_f1 value: 78.10771470160115 - type: manhattan_precision value: 74.05465084184377 - type: manhattan_recall value: 82.63012011087157 - type: max_accuracy value: 88.99561454573679 - type: max_ap value: 86.15882097229648 - type: max_f1 value: 78.18463125322332 language: - en license: mit --- ## stella model **新闻 | News** **[2023-10-19]** 开源stella-base-en-v2 使用简单,**不需要任何前缀文本**。 Release stella-base-en-v2. This model **does not need any prefix text**.\ **[2023-10-12]** 开源stella-base-zh-v2和stella-large-zh-v2, 效果更好且使用简单,**不需要任何前缀文本**。 Release stella-base-zh-v2 and stella-large-zh-v2. The 2 models have better performance and **do not need any prefix text**.\ **[2023-09-11]** 开源stella-base-zh和stella-large-zh stella是一个通用的文本编码模型,主要有以下模型: | Model Name | Model Size (GB) | Dimension | Sequence Length | Language | Need instruction for retrieval? | |:------------------:|:---------------:|:---------:|:---------------:|:--------:|:-------------------------------:| | stella-base-en-v2 | 0.2 | 768 | 512 | English | No | | stella-large-zh-v2 | 0.65 | 1024 | 1024 | Chinese | No | | stella-base-zh-v2 | 0.2 | 768 | 1024 | Chinese | No | | stella-large-zh | 0.65 | 1024 | 1024 | Chinese | Yes | | stella-base-zh | 0.2 | 768 | 1024 | Chinese | Yes | 完整的训练思路和训练过程已记录在[博客1](https://zhuanlan.zhihu.com/p/655322183)和[博客2](https://zhuanlan.zhihu.com/p/662209559),欢迎阅读讨论。 **训练数据:** 1. 开源数据(wudao_base_200GB[1]、m3e[2]和simclue[3]),着重挑选了长度大于512的文本 2. 在通用语料库上使用LLM构造一批(question, paragraph)和(sentence, paragraph)数据 **训练方法:** 1. 对比学习损失函数 2. 带有难负例的对比学习损失函数(分别基于bm25和vector构造了难负例) 3. EWC(Elastic Weights Consolidation)[4] 4. cosent loss[5] 5. 每一种类型的数据一个迭代器,分别计算loss进行更新 stella-v2在stella模型的基础上,使用了更多的训练数据,同时知识蒸馏等方法去除了前置的instruction( 比如piccolo的`查询:`, `结果:`, e5的`query:`和`passage:`)。 **初始权重:**\ stella-base-zh和stella-large-zh分别以piccolo-base-zh[6]和piccolo-large-zh作为基础模型,512-1024的position embedding使用层次分解位置编码[7]进行初始化。\ 感谢商汤科技研究院开源的[piccolo系列模型](https://huggingface.co/sensenova)。 stella is a general-purpose text encoder, which mainly includes the following models: | Model Name | Model Size (GB) | Dimension | Sequence Length | Language | Need instruction for retrieval? | |:------------------:|:---------------:|:---------:|:---------------:|:--------:|:-------------------------------:| | stella-base-en-v2 | 0.2 | 768 | 512 | English | No | | stella-large-zh-v2 | 0.65 | 1024 | 1024 | Chinese | No | | stella-base-zh-v2 | 0.2 | 768 | 1024 | Chinese | No | | stella-large-zh | 0.65 | 1024 | 1024 | Chinese | Yes | | stella-base-zh | 0.2 | 768 | 1024 | Chinese | Yes | The training data mainly includes: 1. Open-source training data (wudao_base_200GB, m3e, and simclue), with a focus on selecting texts with lengths greater than 512. 2. A batch of (question, paragraph) and (sentence, paragraph) data constructed on a general corpus using LLM. The loss functions mainly include: 1. Contrastive learning loss function 2. Contrastive learning loss function with hard negative examples (based on bm25 and vector hard negatives) 3. EWC (Elastic Weights Consolidation) 4. cosent loss Model weight initialization:\ stella-base-zh and stella-large-zh use piccolo-base-zh and piccolo-large-zh as the base models, respectively, and the 512-1024 position embedding uses the initialization strategy of hierarchical decomposed position encoding. Training strategy:\ One iterator for each type of data, separately calculating the loss. Based on stella models, stella-v2 use more training data and remove instruction by Knowledge Distillation. ## Metric #### C-MTEB leaderboard (Chinese) | Model Name | Model Size (GB) | Dimension | Sequence Length | Average (35) | Classification (9) | Clustering (4) | Pair Classification (2) | Reranking (4) | Retrieval (8) | STS (8) | |:------------------:|:---------------:|:---------:|:---------------:|:------------:|:------------------:|:--------------:|:-----------------------:|:-------------:|:-------------:|:-------:| | stella-large-zh-v2 | 0.65 | 1024 | 1024 | 65.13 | 69.05 | 49.16 | 82.68 | 66.41 | 70.14 | 58.66 | | stella-base-zh-v2 | 0.2 | 768 | 1024 | 64.36 | 68.29 | 49.4 | 79.95 | 66.1 | 70.08 | 56.92 | | stella-large-zh | 0.65 | 1024 | 1024 | 64.54 | 67.62 | 48.65 | 78.72 | 65.98 | 71.02 | 58.3 | | stella-base-zh | 0.2 | 768 | 1024 | 64.16 | 67.77 | 48.7 | 76.09 | 66.95 | 71.07 | 56.54 | #### MTEB leaderboard (English) | Model Name | Model Size (GB) | Dimension | Sequence Length | Average (56) | Classification (12) | Clustering (11) | Pair Classification (3) | Reranking (4) | Retrieval (15) | STS (10) | Summarization (1) | |:-----------------:|:---------------:|:---------:|:---------------:|:------------:|:-------------------:|:---------------:|:-----------------------:|:-------------:|:--------------:|:--------:|:------------------:| | stella-base-en-v2 | 0.2 | 768 | 512 | 62.61 | 75.28 | 44.9 | 86.45 | 58.77 | 50.1 | 83.02 | 32.52 | #### Reproduce our results **C-MTEB:** ```python import torch import numpy as np from typing import List from mteb import MTEB from sentence_transformers import SentenceTransformer class FastTextEncoder(): def __init__(self, model_name): self.model = SentenceTransformer(model_name).cuda().half().eval() self.model.max_seq_length = 512 def encode( self, input_texts: List[str], *args, **kwargs ): new_sens = list(set(input_texts)) new_sens.sort(key=lambda x: len(x), reverse=True) vecs = self.model.encode( new_sens, normalize_embeddings=True, convert_to_numpy=True, batch_size=256 ).astype(np.float32) sen2arrid = {sen: idx for idx, sen in enumerate(new_sens)} vecs = vecs[[sen2arrid[sen] for sen in input_texts]] torch.cuda.empty_cache() return vecs if __name__ == '__main__': model_name = "infgrad/stella-base-zh-v2" output_folder = "zh_mteb_results/stella-base-zh-v2" task_names = [t.description["name"] for t in MTEB(task_langs=['zh', 'zh-CN']).tasks] model = FastTextEncoder(model_name) for task in task_names: MTEB(tasks=[task], task_langs=['zh', 'zh-CN']).run(model, output_folder=output_folder) ``` **MTEB:** You can use official script to reproduce our result. [scripts/run_mteb_english.py](https://github.com/embeddings-benchmark/mteb/blob/main/scripts/run_mteb_english.py) #### Evaluation for long text 经过实际观察发现,C-MTEB的评测数据长度基本都是小于512的, 更致命的是那些长度大于512的文本,其重点都在前半部分 这里以CMRC2018的数据为例说明这个问题: ``` question: 《无双大蛇z》是谁旗下ω-force开发的动作游戏? passage:《无双大蛇z》是光荣旗下ω-force开发的动作游戏,于2009年3月12日登陆索尼playstation3,并于2009年11月27日推...... ``` passage长度为800多,大于512,但是对于这个question而言只需要前面40个字就足以检索,多的内容对于模型而言是一种噪声,反而降低了效果。\ 简言之,现有数据集的2个问题:\ 1)长度大于512的过少\ 2)即便大于512,对于检索而言也只需要前512的文本内容\ 导致**无法准确评估模型的长文本编码能力。** 为了解决这个问题,搜集了相关开源数据并使用规则进行过滤,最终整理了6份长文本测试集,他们分别是: - CMRC2018,通用百科 - CAIL,法律阅读理解 - DRCD,繁体百科,已转简体 - Military,军工问答 - Squad,英文阅读理解,已转中文 - Multifieldqa_zh,清华的大模型长文本理解能力评测数据[9] 处理规则是选取答案在512长度之后的文本,短的测试数据会欠采样一下,长短文本占比约为1:2,所以模型既得理解短文本也得理解长文本。 除了Military数据集,我们提供了其他5个测试数据的下载地址:https://drive.google.com/file/d/1WC6EWaCbVgz-vPMDFH4TwAMkLyh5WNcN/view?usp=sharing 评测指标为Recall@5, 结果如下: | Dataset | piccolo-base-zh | piccolo-large-zh | bge-base-zh | bge-large-zh | stella-base-zh | stella-large-zh | |:---------------:|:---------------:|:----------------:|:-----------:|:------------:|:--------------:|:---------------:| | CMRC2018 | 94.34 | 93.82 | 91.56 | 93.12 | 96.08 | 95.56 | | CAIL | 28.04 | 33.64 | 31.22 | 33.94 | 34.62 | 37.18 | | DRCD | 78.25 | 77.9 | 78.34 | 80.26 | 86.14 | 84.58 | | Military | 76.61 | 73.06 | 75.65 | 75.81 | 83.71 | 80.48 | | Squad | 91.21 | 86.61 | 87.87 | 90.38 | 93.31 | 91.21 | | Multifieldqa_zh | 81.41 | 83.92 | 83.92 | 83.42 | 79.9 | 80.4 | | **Average** | 74.98 | 74.83 | 74.76 | 76.15 | **78.96** | **78.24** | **注意:** 因为长文本评测数据数量稀少,所以构造时也使用了train部分,如果自行评测,请注意模型的训练数据以免数据泄露。 ## Usage #### stella 中文系列模型 stella-base-zh 和 stella-large-zh: 本模型是在piccolo基础上训练的,因此**用法和piccolo完全一致** ,即在检索重排任务上给query和passage加上`查询: `和`结果: `。对于短短匹配不需要做任何操作。 stella-base-zh-v2 和 stella-large-zh-v2: 本模型使用简单,**任何使用场景中都不需要加前缀文本**。 stella中文系列模型均使用mean pooling做为文本向量。 在sentence-transformer库中的使用方法: ```python from sentence_transformers import SentenceTransformer sentences = ["数据1", "数据2"] model = SentenceTransformer('infgrad/stella-base-zh-v2') print(model.max_seq_length) embeddings_1 = model.encode(sentences, normalize_embeddings=True) embeddings_2 = model.encode(sentences, normalize_embeddings=True) similarity = embeddings_1 @ embeddings_2.T print(similarity) ``` 直接使用transformers库: ```python from transformers import AutoModel, AutoTokenizer from sklearn.preprocessing import normalize model = AutoModel.from_pretrained('infgrad/stella-base-zh-v2') tokenizer = AutoTokenizer.from_pretrained('infgrad/stella-base-zh-v2') sentences = ["数据1", "数据ABCDEFGH"] batch_data = tokenizer( batch_text_or_text_pairs=sentences, padding="longest", return_tensors="pt", max_length=1024, truncation=True, ) attention_mask = batch_data["attention_mask"] model_output = model(**batch_data) last_hidden = model_output.last_hidden_state.masked_fill(~attention_mask[..., None].bool(), 0.0) vectors = last_hidden.sum(dim=1) / attention_mask.sum(dim=1)[..., None] vectors = normalize(vectors, norm="l2", axis=1, ) print(vectors.shape) # 2,768 ``` #### stella models for English **Using Sentence-Transformers:** ```python from sentence_transformers import SentenceTransformer sentences = ["one car come", "one car go"] model = SentenceTransformer('infgrad/stella-base-en-v2') print(model.max_seq_length) embeddings_1 = model.encode(sentences, normalize_embeddings=True) embeddings_2 = model.encode(sentences, normalize_embeddings=True) similarity = embeddings_1 @ embeddings_2.T print(similarity) ``` **Using HuggingFace Transformers:** ```python from transformers import AutoModel, AutoTokenizer from sklearn.preprocessing import normalize model = AutoModel.from_pretrained('infgrad/stella-base-en-v2') tokenizer = AutoTokenizer.from_pretrained('infgrad/stella-base-en-v2') sentences = ["one car come", "one car go"] batch_data = tokenizer( batch_text_or_text_pairs=sentences, padding="longest", return_tensors="pt", max_length=512, truncation=True, ) attention_mask = batch_data["attention_mask"] model_output = model(**batch_data) last_hidden = model_output.last_hidden_state.masked_fill(~attention_mask[..., None].bool(), 0.0) vectors = last_hidden.sum(dim=1) / attention_mask.sum(dim=1)[..., None] vectors = normalize(vectors, norm="l2", axis=1, ) print(vectors.shape) # 2,768 ``` ## Training Detail **硬件:** 单卡A100-80GB **环境:** torch1.13.*; transformers-trainer + deepspeed + gradient-checkpointing **学习率:** 1e-6 **batch_size:** base模型为1024,额外增加20%的难负例;large模型为768,额外增加20%的难负例 **数据量:** 第一版模型约100万,其中用LLM构造的数据约有200K. LLM模型大小为13b。v2系列模型到了2000万训练数据。 ## ToDoList **评测的稳定性:** 评测过程中发现Clustering任务会和官方的结果不一致,大约有±0.0x的小差距,原因是聚类代码没有设置random_seed,差距可以忽略不计,不影响评测结论。 **更高质量的长文本训练和测试数据:** 训练数据多是用13b模型构造的,肯定会存在噪声。 测试数据基本都是从mrc数据整理来的,所以问题都是factoid类型,不符合真实分布。 **OOD的性能:** 虽然近期出现了很多向量编码模型,但是对于不是那么通用的domain,这一众模型包括stella、openai和cohere, 它们的效果均比不上BM25。 ## Reference 1. https://www.scidb.cn/en/detail?dataSetId=c6a3fe684227415a9db8e21bac4a15ab 2. https://github.com/wangyuxinwhy/uniem 3. https://github.com/CLUEbenchmark/SimCLUE 4. https://arxiv.org/abs/1612.00796 5. https://kexue.fm/archives/8847 6. https://huggingface.co/sensenova/piccolo-base-zh 7. https://kexue.fm/archives/7947 8. https://github.com/FlagOpen/FlagEmbedding 9. https://github.com/THUDM/LongBench
[ -0.3683253526687622, -0.7821124792098999, 0.33936411142349243, 0.5109893679618835, -0.3260861039161682, -0.29528582096099854, -0.19762229919433594, -0.3852247893810272, 0.35988855361938477, 0.25517213344573975, -0.6524855494499207, -0.8616389036178589, -0.6815401911735535, 0.23150081932544708, -0.22103410959243774, 0.8417786955833435, -0.13024139404296875, 0.1396467387676239, 0.16770373284816742, -0.06741154938936234, -0.5454452037811279, -0.32421818375587463, -0.5703985095024109, -0.054627954959869385, 0.23052017390727997, 0.20627059042453766, 0.6039955019950867, 0.8286522626876831, 0.634010910987854, 0.3494647145271301, -0.2706213593482971, 0.10941406339406967, -0.33709821105003357, -0.12169305235147476, 0.19898174703121185, -0.553673505783081, -0.6218357086181641, -0.18878769874572754, 0.7930924296379089, 0.40273430943489075, 0.013458858244121075, 0.3071458339691162, 0.21596702933311462, 0.8568490147590637, -0.32572025060653687, 0.11510886251926422, -0.31741276383399963, 0.03407783806324005, -0.24779507517814636, -0.1837463229894638, -0.42375051975250244, -0.4629303812980652, 0.009904435835778713, -0.6753290295600891, 0.31103944778442383, 0.18240536749362946, 1.470900297164917, 0.235165074467659, -0.4005905091762543, -0.32110661268234253, -0.4238499701023102, 0.9613074660301208, -0.9029526114463806, 0.32141736149787903, 0.3381243646144867, 0.16760686039924622, -0.12352654337882996, -0.8725762963294983, -0.676439106464386, -0.030779721215367317, -0.5481199026107788, 0.321524977684021, -0.026744170114398003, -0.23678773641586304, 0.2992281913757324, 0.3115125298500061, -0.7293416857719421, -0.0250225979834795, -0.6428483128547668, -0.05605045706033707, 0.7381000518798828, 0.14291971921920776, 0.36610838770866394, -0.6322740316390991, -0.5629722476005554, -0.22874891757965088, -0.594598650932312, 0.3559786379337311, 0.26140734553337097, 0.14991535246372223, -0.5294284224510193, 0.4863549768924713, -0.13425976037979126, 0.6043079495429993, 0.030623145401477814, -0.20099693536758423, 0.5788462162017822, -0.28807440400123596, -0.4307045340538025, -0.05563810095191002, 1.2378716468811035, 0.49489229917526245, -0.08565705269575119, 0.14710481464862823, -0.04422628879547119, -0.14310193061828613, -0.091038279235363, -1.0402653217315674, -0.2784726023674011, 0.38060373067855835, -0.7593656778335571, -0.39641043543815613, 0.3035423755645752, -0.7598608136177063, 0.1843549907207489, 0.080718033015728, 0.7065625786781311, -0.6668767929077148, -0.248880535364151, 0.04199465364217758, -0.22631217539310455, 0.0458274744451046, 0.15065638720989227, -0.9565774202346802, 0.170088991522789, 0.41797465085983276, 0.8320436477661133, 0.024707816541194916, -0.29468604922294617, -0.05323276296257973, 0.13437454402446747, -0.33050158619880676, 0.4315648078918457, -0.214788019657135, -0.4057826101779938, -0.24879604578018188, 0.3522002100944519, -0.3197845220565796, -0.3604733645915985, 0.6120933294296265, -0.3800244629383087, 0.4532202482223511, -0.5105600357055664, -0.40901854634284973, -0.5650700926780701, 0.31389445066452026, -0.7865331172943115, 1.310590386390686, 0.06886162608861923, -1.0284593105316162, 0.22780776023864746, -0.6154561638832092, -0.34841832518577576, -0.211890310049057, -0.10576760023832321, -0.5685892701148987, -0.290296733379364, 0.46586206555366516, 0.7596710324287415, -0.3385797142982483, 0.03917110711336136, -0.1435408592224121, -0.5271503329277039, 0.2549043893814087, -0.2992354929447174, 1.1543906927108765, 0.21798080205917358, -0.5123713612556458, 0.17196300625801086, -0.7692403793334961, 0.09971071034669876, 0.44531819224357605, -0.43427562713623047, -0.29652634263038635, -0.03832792863249779, 0.0027272659353911877, 0.30682384967803955, 0.43258774280548096, -0.408146470785141, 0.23180606961250305, -0.43356525897979736, 0.616145133972168, 0.8360341787338257, 0.13677720725536346, 0.18920186161994934, -0.5739701390266418, 0.17919056117534637, 0.16659791767597198, 0.17631438374519348, -0.3388770520687103, -0.6697238683700562, -1.0122263431549072, -0.41718050837516785, 0.3351062834262848, 0.6418718695640564, -0.7470312118530273, 0.6792505979537964, -0.3230710029602051, -0.6096188426017761, -0.7631576061248779, 0.09695889055728912, 0.516080915927887, 0.4269242286682129, 0.7638726234436035, 0.22738046944141388, -0.6582882404327393, -1.1130566596984863, 0.13229642808437347, -0.16089577972888947, 0.13595660030841827, 0.36245501041412354, 0.7939714789390564, -0.23507021367549896, 0.660141110420227, -0.6544952988624573, -0.296431303024292, -0.4108072817325592, 0.023746931925415993, 0.6568188667297363, 0.6213000416755676, 0.7037845849990845, -0.9235988259315491, -0.7577807903289795, -0.14410565793514252, -0.9625519514083862, 0.2792096734046936, -0.14565636217594147, -0.2309902012348175, 0.39716726541519165, 0.19938784837722778, -0.49353528022766113, 0.3568630814552307, 0.5902183055877686, -0.3696359097957611, 0.6092996001243591, -0.38880136609077454, 0.2606172263622284, -1.6153491735458374, 0.18341132998466492, -0.041540227830410004, 0.16766689717769623, -0.583406388759613, 0.16801683604717255, 0.4013978838920593, 0.37600886821746826, -0.47847482562065125, 0.4349954426288605, -0.6629603505134583, 0.18955117464065552, 0.13223686814308167, 0.1812378168106079, -0.022091101855039597, 0.7869806885719299, 0.10912879556417465, 0.7305512428283691, 0.5005354881286621, -0.7970461249351501, 0.292191743850708, 0.5179833769798279, -0.5538533926010132, 0.08350591361522675, -0.75, -0.13989512622356415, -0.11422212421894073, 0.13476602733135223, -1.1817982196807861, -0.04670901596546173, 0.23683352768421173, -0.6944447159767151, 0.3466448187828064, -0.02896418794989586, -0.460210919380188, -0.7965371012687683, -0.6019942164421082, 0.20164966583251953, 0.6219896078109741, -0.5964486002922058, 0.17968276143074036, 0.07805006951093674, -0.11531363427639008, -0.8601064682006836, -0.8881614804267883, -0.36839720606803894, -0.048047132790088654, -0.9234416484832764, 0.6299542188644409, -0.16883710026741028, 0.1131090521812439, 0.08045904338359833, 0.07526277005672455, 0.07483618706464767, 0.030355431139469147, 0.30018216371536255, 0.5872659087181091, -0.34435418248176575, -0.07820476591587067, 0.2686745226383209, -0.028579268604516983, -0.055231161415576935, 0.12770888209342957, 0.8021442890167236, -0.2531910538673401, -0.14226233959197998, -0.7314499020576477, 0.18344160914421082, 0.5506435632705688, -0.16841638088226318, 0.8367642760276794, 0.767784059047699, -0.3660641610622406, -0.07342763990163803, -0.41728436946868896, -0.01088626403361559, -0.5597559213638306, 0.5358290672302246, -0.5011835098266602, -0.7424179315567017, 0.6114334464073181, 0.26533040404319763, 0.15335309505462646, 1.0053465366363525, 0.5547344088554382, -0.274659126996994, 1.061424732208252, 0.568649172782898, -0.023648547008633614, 0.2002423107624054, -0.956266462802887, -0.05735566094517708, -1.1067286729812622, -0.6380549073219299, -0.5064814686775208, -0.5981917977333069, -0.6213388442993164, -0.3234044909477234, 0.2740001082420349, 0.16566166281700134, -0.31535834074020386, 0.7018557786941528, -0.7766115665435791, 0.12288595736026764, 0.6166267991065979, 0.350431352853775, 0.06858331710100174, -0.1397377848625183, -0.3292284607887268, -0.2791864573955536, -0.6844682097434998, -0.39534232020378113, 1.0960758924484253, 0.43332457542419434, 0.4963337182998657, 0.28000399470329285, 0.7150599956512451, 0.06750384718179703, 0.31379783153533936, -0.6014665961265564, 0.5953369736671448, -0.19417351484298706, -0.8360080122947693, -0.31122103333473206, -0.5695438385009766, -0.8892894387245178, 0.4447549283504486, -0.3877454400062561, -0.8584021329879761, 0.19919587671756744, -0.10848116129636765, -0.4894157648086548, 0.4988938868045807, -0.5604169964790344, 1.0294855833053589, -0.30412691831588745, -0.32897812128067017, -0.03346184268593788, -0.6402798295021057, 0.6176429390907288, 0.14952720701694489, 0.28770923614501953, 0.07341423630714417, 0.05184655264019966, 1.1508175134658813, -0.5225433707237244, 0.579063355922699, -0.08619935065507889, 0.02166861481964588, 0.3264196217060089, -0.022254489362239838, 0.67942875623703, -0.02624158002436161, -0.05264202132821083, 0.1539636105298996, 0.14327439665794373, -0.28258538246154785, -0.3979330360889435, 0.8682839274406433, -0.9464097619056702, -0.5526763796806335, -0.5407979488372803, -0.3936055898666382, 0.136215940117836, 0.32344600558280945, 0.7912338972091675, 0.3953232169151306, -0.02293180674314499, 0.5480621457099915, 0.6150554418563843, -0.43716591596603394, 0.763225257396698, 0.5015631914138794, -0.21165050566196442, -0.7662023901939392, 0.9205042719841003, 0.38106271624565125, 0.14498460292816162, 0.6436876654624939, 0.056682322174310684, -0.37666311860084534, -0.5500813722610474, -0.5674594044685364, 0.5476611256599426, -0.4761209189891815, -0.15553370118141174, -0.8483198285102844, -0.25307923555374146, -0.5479538440704346, -0.22479906678199768, -0.24333563446998596, -0.5199874639511108, -0.39414721727371216, -0.20770575106143951, 0.33520323038101196, 0.6243693232536316, 0.21010325849056244, 0.40824082493782043, -0.9780578017234802, 0.29529252648353577, 0.0006862340378575027, 0.20472608506679535, 0.1483990103006363, -0.6873142123222351, -0.42768070101737976, 0.09168112277984619, -0.37437060475349426, -1.1313235759735107, 0.6579235792160034, -0.10409554839134216, 0.5530349612236023, 0.6527317762374878, 0.0760156661272049, 0.8401945233345032, -0.4154645502567291, 0.9719452261924744, 0.36546438932418823, -0.8756118416786194, 0.6315479874610901, -0.2887569069862366, -0.03903628885746002, 0.4352125823497772, 0.6585052013397217, -0.5350234508514404, -0.09576807171106339, -0.8284286856651306, -0.9484717845916748, 1.1534281969070435, 0.3415136933326721, -0.09129145741462708, 0.025323770940303802, 0.12774203717708588, -0.061809927225112915, 0.18132595717906952, -0.8587362170219421, -0.7333338856697083, -0.24308566749095917, -0.2827506959438324, 0.0023420732468366623, -0.3910132050514221, 0.026718592271208763, -0.5000600218772888, 0.9765884876251221, 0.31923776865005493, 0.6070501208305359, 0.23896093666553497, -0.10226619243621826, -0.0007025344530120492, 0.15855945646762848, 0.795448362827301, 0.3143378794193268, -0.4893650412559509, -0.03409120440483093, 0.36416009068489075, -0.6505104899406433, 0.0077375443652272224, 0.02006957307457924, -0.4571164548397064, 0.20226040482521057, 0.501604437828064, 0.9630658030509949, 0.21972529590129852, -0.3398805558681488, 0.5804986953735352, 0.1034686416387558, -0.35078227519989014, -0.37005123496055603, 0.08740440756082535, 0.021679772064089775, 0.17205862700939178, 0.46243739128112793, -0.062377359718084335, -0.005506748333573341, -0.6174048781394958, 0.13888870179653168, 0.2862031161785126, -0.24781490862369537, -0.19502955675125122, 0.762397289276123, 0.038580670952796936, -0.19358335435390472, 0.5749762654304504, -0.15923863649368286, -0.6705763339996338, 0.8729010224342346, 0.7527299523353577, 0.7540712952613831, -0.41957828402519226, 0.21464523673057556, 0.9809542298316956, 0.603489875793457, -0.26098111271858215, 0.4963996410369873, 0.07245615869760513, -0.5280835628509521, -0.10798200964927673, -0.7178556323051453, -0.018617060035467148, 0.3194716274738312, -0.7498369216918945, 0.3431188762187958, -0.6322428584098816, -0.25339770317077637, -0.012257257476449013, 0.2872169613838196, -0.49201828241348267, 0.308840274810791, -0.15272727608680725, 1.170348048210144, -0.7359030842781067, 0.978424072265625, 0.5962596535682678, -0.6555848717689514, -1.002722978591919, -0.13207648694515228, -0.12903186678886414, -0.779503583908081, 0.8900027275085449, 0.41312748193740845, 0.2636382579803467, -0.04176027700304985, -0.36473721265792847, -1.0813086032867432, 1.6460756063461304, -0.008696920238435268, -0.504874050617218, -0.13941079378128052, -0.02229480631649494, 0.4412679076194763, -0.1904294639825821, 0.49835631251335144, 0.384778767824173, 0.7096689343452454, 0.15118300914764404, -0.8889460563659668, 0.4792357385158539, -0.6545434594154358, 0.10673020035028458, 0.1603519171476364, -0.975165069103241, 1.4062312841415405, -0.3235277235507965, -0.2966310381889343, 0.17288422584533691, 0.8322766423225403, 0.29536744952201843, 0.2000080794095993, 0.1969612091779709, 0.6924571394920349, 0.7400367856025696, -0.41748493909835815, 0.9858265519142151, -0.259494423866272, 0.582430362701416, 0.7903675436973572, 0.15526148676872253, 1.0968875885009766, 0.2106257528066635, -0.4313603341579437, 0.6971914768218994, 0.7270933985710144, -0.3689310848712921, 0.5764445662498474, -0.20255014300346375, -0.01233657170087099, -0.035867396742105484, 0.44840648770332336, -0.756628155708313, 0.1022636666893959, 0.5123416781425476, -0.7392313480377197, 0.003432752098888159, -0.07381812483072281, 0.35721346735954285, -0.16829031705856323, -0.17947648465633392, 0.6510775685310364, -0.0527050644159317, -0.5984048247337341, 1.0124576091766357, 0.42675915360450745, 0.8959270119667053, -0.7345585823059082, 0.06674527376890182, -0.08236891031265259, 0.2662450075149536, -0.41086727380752563, -0.8597748875617981, 0.11936475336551666, -0.049812596291303635, -0.28755444288253784, -0.014835366047918797, 0.35147422552108765, -0.4478055536746979, -0.5488840341567993, 0.3295550048351288, 0.13279063999652863, 0.18783937394618988, 0.15131592750549316, -0.9538418650627136, 0.06993406265974045, 0.3681314289569855, -0.5872979164123535, 0.17433558404445648, 0.3464955985546112, 0.13006103038787842, 0.6540254354476929, 0.8178268074989319, -0.009177076630294323, 0.14859654009342194, -0.2564637064933777, 0.7927737236022949, -0.8835532665252686, -0.5426800847053528, -0.9968448877334595, 0.7553274631500244, -0.22353611886501312, -0.44541916251182556, 1.0168278217315674, 0.788151204586029, 0.653316855430603, -0.16778920590877533, 0.8170486688613892, -0.27248406410217285, 0.47351372241973877, -0.6586431264877319, 0.979301393032074, -0.7174780964851379, 0.07346461713314056, -0.4591062366962433, -0.8596758842468262, -0.27543899416923523, 0.8791863918304443, -0.33276617527008057, 0.05420588701963425, 0.9610517024993896, 0.9413850903511047, 0.10967428982257843, 0.08846312761306763, 0.11273641884326935, 0.49492838978767395, 0.22720280289649963, 0.9391529560089111, 0.43523669242858887, -1.0436897277832031, 0.6630382537841797, -0.623656153678894, -0.19109448790550232, -0.5009282231330872, -0.5334101915359497, -1.0971043109893799, -0.8440524339675903, -0.20007014274597168, -0.43709513545036316, -0.15649139881134033, 0.9754451513290405, 0.5429828763008118, -0.8319002985954285, -0.15424969792366028, 0.11893627047538757, 0.19393162429332733, -0.43939676880836487, -0.24272270500659943, 0.9522443413734436, -0.1663617640733719, -0.89383864402771, 0.3457149267196655, -0.019394906237721443, 0.1999373733997345, -0.01066866610199213, -0.40982264280319214, -0.41733047366142273, 0.03375678136944771, 0.47298792004585266, 0.15646950900554657, -0.726434051990509, 0.040570616722106934, 0.30987802147865295, -0.4016450345516205, -0.025399133563041687, 0.24390360713005066, -0.48748263716697693, 0.19927172362804413, 0.77381432056427, 0.23897308111190796, 0.6486051082611084, -0.14510862529277802, 0.09374018013477325, -0.5638537406921387, 0.12903940677642822, -0.15693719685077667, 0.6036352515220642, 0.10474392026662827, -0.4212595820426941, 0.5460696816444397, 0.47997501492500305, -0.323502779006958, -0.930413007736206, -0.18523640930652618, -1.2620879411697388, -0.43152058124542236, 1.165151596069336, -0.1207270398736, -0.4428917169570923, 0.35625481605529785, -0.4236603081226349, 0.4349386990070343, -0.3920087516307831, 0.6991028189659119, 0.7278845906257629, 0.057470519095659256, -0.12241490930318832, -0.6426663398742676, 0.46667787432670593, 0.3106750547885895, -0.6160047650337219, -0.2234119176864624, 0.21680930256843567, 0.3706052601337433, 0.4380759000778198, 0.5701403617858887, -0.21912646293640137, 0.3011017143726349, -0.036267973482608795, 0.20716024935245514, -0.4587337076663971, -0.30865025520324707, -0.06434730440378189, 0.23647049069404602, -0.4529518783092499, -0.4447723925113678 ]
datawhales/korean-relation-extraction
datawhales
2021-12-03T11:32:02Z
7,298
1
transformers
[ "transformers", "pytorch", "bert", "feature-extraction", "endpoints_compatible", "region:us" ]
feature-extraction
2022-03-02T23:29:05Z
Entry not found
[ -0.3227650225162506, -0.22568431496620178, 0.862226128578186, 0.43461495637893677, -0.5282987952232361, 0.7012965679168701, 0.7915717363357544, 0.07618638128042221, 0.7746025919914246, 0.2563219666481018, -0.7852817177772522, -0.22573819756507874, -0.9104480743408203, 0.5715669393539429, -0.3992334008216858, 0.5791245698928833, -0.14494505524635315, -0.10751161724328995, 0.28233757615089417, -0.2768954336643219, -0.5409224033355713, -0.36855220794677734, -1.1902776956558228, 0.061491113156080246, 0.5316578149795532, 0.7435142397880554, 0.7584060430526733, 0.3652167320251465, 0.6432578563690186, 0.3932291269302368, -0.23138920962810516, 0.4827055037021637, -0.04171813279390335, 0.00260411505587399, -0.3524433970451355, -0.5516898036003113, -0.28596609830856323, 0.07584730535745621, 1.0961304903030396, 0.966687798500061, -0.284663587808609, 0.05330817773938179, -0.3063621520996094, 0.33088892698287964, -0.49734312295913696, 0.3054099678993225, -0.022506045177578926, 0.16318801045417786, -0.7041513919830322, -0.5535354018211365, 0.012794834561645985, -0.7361212968826294, 0.17926570773124695, -0.690081000328064, 0.8269098401069641, 0.18583157658576965, 1.1533750295639038, 0.14819414913654327, -0.462487131357193, -0.8161764144897461, -0.6538989543914795, 0.5711171627044678, -0.32703715562820435, 0.39680248498916626, 0.7028235197067261, -0.048573412001132965, -0.9820332527160645, -0.6745741367340088, -0.46466192603111267, 0.2923962473869324, 0.35402774810791016, -0.3411678075790405, -0.17522086203098297, -0.3058989644050598, 0.15792037546634674, 0.12811517715454102, -0.4841994643211365, -0.5543919205665588, -0.5475160479545593, -0.3960252106189728, 0.6206658482551575, 0.3482950031757355, 0.2429177463054657, -0.1888415813446045, -0.3228583335876465, 0.0880163162946701, -0.4160851538181305, 0.3402571678161621, 0.6335517168045044, 0.7114017009735107, -0.5811444520950317, 0.560215950012207, -0.04927587881684303, 0.7439703941345215, 0.11445561796426773, -0.27478092908859253, 0.41460567712783813, -0.14724725484848022, 0.055171746760606766, 0.4226345121860504, 0.31524422764778137, 0.2841312289237976, -0.3273695111274719, 0.2032228708267212, -0.3215144872665405, -0.30496224761009216, -0.22332167625427246, -0.29490774869918823, -0.3592180609703064, 0.5492289066314697, -0.3314017057418823, -0.42855486273765564, 1.143175721168518, -0.4200771450996399, -0.7302224040031433, 0.33156412839889526, 0.4065209925174713, -0.0994480773806572, -0.37146568298339844, -0.052260834723711014, -0.8458789587020874, -0.007907390594482422, 0.7491172552108765, -0.7198970913887024, 0.3371737599372864, 0.4728063642978668, 0.7417217493057251, 0.19650575518608093, -0.14034469425678253, -0.42949390411376953, 0.2971969544887543, -0.8659994006156921, 0.6320174336433411, -0.20135220885276794, -1.0051977634429932, 0.11150479316711426, 0.8971705436706543, -0.37896400690078735, -1.2094876766204834, 1.0605159997940063, -0.6887932419776917, 0.16017857193946838, -0.676761269569397, -0.14661237597465515, -0.07118501514196396, -0.005096632521599531, -0.6088156700134277, 0.7567102313041687, 0.587267279624939, -0.4995276927947998, 0.21429483592510223, -0.26029831171035767, -0.39151400327682495, 0.38824859261512756, -0.07935450226068497, -0.21858926117420197, 0.713833212852478, -0.6647079586982727, -0.26932814717292786, 0.2942774295806885, 0.2368936538696289, -0.35706108808517456, -0.7931919097900391, 0.08478113263845444, -0.05786270648241043, 1.550750494003296, -0.03868847340345383, -0.3586106300354004, -0.679383397102356, -1.1506240367889404, -0.07070787996053696, 0.6886883974075317, -0.9194989204406738, -0.27839475870132446, -0.046410128474235535, -0.26169314980506897, 0.08994917571544647, 0.7390589714050293, -1.1194051504135132, 0.2832726836204529, -0.05092663690447807, -0.22794683277606964, 0.8271058797836304, 0.15387225151062012, 0.24758946895599365, 0.14913396537303925, 0.42958706617355347, 0.527725338935852, 0.11115207523107529, 0.683587908744812, -0.34720373153686523, -0.9694353938102722, 0.6154631972312927, 0.25266361236572266, 0.8121447563171387, -0.49945297837257385, 0.2685093879699707, 0.27025535702705383, -0.3409680724143982, -0.5682371854782104, -0.3102838397026062, 0.09025752544403076, 0.14930562674999237, 0.11142510175704956, -0.5721710324287415, -0.6576125025749207, -0.9689140319824219, -0.13590654730796814, -0.4314374029636383, -0.3571570813655853, 0.21006910502910614, 0.5792906284332275, -1.1975523233413696, 0.4128875136375427, -0.7705625891685486, -0.7038741111755371, -0.01065548975020647, -0.19338123500347137, 0.7540656328201294, 0.43240174651145935, 0.5033966898918152, -0.6397148370742798, -0.5661987066268921, -0.22470176219940186, -1.0333747863769531, -0.13280506432056427, 0.24819621443748474, 0.3065737783908844, -0.13423344492912292, -0.2744963765144348, -0.48740333318710327, 0.8100387454032898, 0.14789170026779175, -0.5391897559165955, 0.5220767259597778, -0.3020317256450653, 0.17224803566932678, -0.6369150280952454, -0.06916818022727966, -0.661676287651062, -0.0009071884560398757, -0.3608308732509613, -0.5737438797950745, 0.14772287011146545, 0.07017494738101959, -0.16065457463264465, 0.28808408975601196, -0.909277081489563, -0.0010852962732315063, -0.7442210912704468, 0.379071980714798, 0.06394772231578827, -0.3145078718662262, -0.017517540603876114, 1.0000386238098145, 0.7784460783004761, -0.3848048746585846, 0.721744179725647, 0.4440041184425354, 0.19036155939102173, 0.7630521059036255, -0.18725109100341797, 0.16478213667869568, -0.5245416760444641, -0.12161104381084442, -0.8887597918510437, -1.0982946157455444, 0.7320570349693298, -0.6114250421524048, 0.36542922258377075, -0.4277869760990143, 0.2589159905910492, -0.6919258832931519, -0.03885362669825554, 0.4808599352836609, -0.05936325341463089, -0.6863942742347717, 0.5232570171356201, 0.45317530632019043, -0.2019241601228714, -0.6609031558036804, -0.530157208442688, 0.39365822076797485, 0.6154114007949829, -0.16390392184257507, 0.06878514587879181, 0.14941060543060303, -0.5441926121711731, -0.040802597999572754, -0.38691970705986023, -0.45766758918762207, 0.054224006831645966, 0.13053473830223083, -0.005750799085944891, -0.404820054769516, -0.0868026465177536, -0.35842007398605347, -0.4656120240688324, 0.21876516938209534, 0.3011947274208069, -0.04096309468150139, -0.42599788308143616, -0.3619818687438965, -0.888181209564209, 0.6719610095024109, 0.5370282530784607, 0.05281545966863632, 0.7555549740791321, 0.16819314658641815, -0.8014987707138062, -0.13532210886478424, -0.1760706603527069, 0.2696830928325653, -0.5588056445121765, 0.13849826157093048, -0.013484534807503223, -0.0637492910027504, 0.26297882199287415, 0.25386232137680054, -0.4300556778907776, 0.9276250004768372, -0.2615274488925934, -0.3592521846294403, 0.7960181832313538, 0.5974742770195007, 0.49583131074905396, 0.16503219306468964, -0.044541798532009125, 0.900709331035614, -1.1966516971588135, -0.6563175916671753, -0.7409549355506897, -0.15945707261562347, -0.43510833382606506, -0.032105933874845505, 0.6254412531852722, 0.2900990843772888, -0.1333388388156891, 0.4756395220756531, -0.5243489742279053, 0.3556033670902252, 1.01198410987854, 0.35748639702796936, 0.3435698449611664, -0.7570229172706604, -0.2515777349472046, -0.1402427852153778, -0.9998157620429993, -0.2631377875804901, 0.8871029019355774, 0.22752606868743896, 0.844460666179657, 0.5992541313171387, 0.6784542798995972, 0.1367226243019104, 0.2523828148841858, -0.30590319633483887, 0.3920294940471649, 0.4376082420349121, -1.0401138067245483, -0.42758408188819885, 0.021418681368231773, -0.9703338742256165, -0.14227519929409027, -0.03495011106133461, -0.42617112398147583, 0.7681737542152405, 0.00016589462757110596, -0.4076709747314453, 0.7732734084129333, -0.455583393573761, 0.7562873363494873, -0.4473648965358734, -0.02663906291127205, 0.4699096083641052, -0.7070636749267578, 0.4677430987358093, 0.12878790497779846, 0.6205843091011047, -0.015572631731629372, -0.04078587517142296, 0.7104941606521606, -0.9129160046577454, 0.25438642501831055, -0.6348397135734558, 0.22421300411224365, 0.24246945977210999, 0.51606285572052, 0.5969953536987305, 0.4371243417263031, 0.10119888931512833, -0.23920902609825134, 0.04115807265043259, -0.8241125345230103, -0.210506409406662, 0.697515606880188, -0.7186890840530396, -0.6864197850227356, -1.2355337142944336, 0.14438660442829132, 0.27347055077552795, 0.389305055141449, 0.7959296107292175, 0.571408748626709, 0.1289544403553009, 0.680525004863739, 0.9888588190078735, -0.0688566341996193, 0.9166924357414246, 0.3224477171897888, 0.09175168722867966, -0.21944808959960938, 0.7036820650100708, 0.26627904176712036, -0.24707956612110138, -0.11939732730388641, 0.20913465321063995, -0.11069409549236298, -0.591761589050293, -0.49990686774253845, 0.3701757788658142, -0.6731787919998169, -0.18303893506526947, -0.6243735551834106, -0.6043769717216492, -0.511759340763092, 0.06927360594272614, -0.7147687673568726, 0.23979046940803528, -0.7753565907478333, -0.10574902594089508, 0.04323432594537735, 0.9792009592056274, -0.589311957359314, 0.5805224180221558, -1.1218582391738892, 0.19345788657665253, -0.07949887961149216, 0.7921058535575867, 0.21395787596702576, -0.7344395518302917, -0.3975418508052826, -0.11592631042003632, -0.3729911744594574, -1.3576762676239014, 0.21404948830604553, -0.2454141080379486, 0.23094046115875244, 0.6145404577255249, 0.1397707313299179, 0.5258248448371887, -0.34326282143592834, 0.7029101848602295, -0.057017259299755096, -0.7069286704063416, 0.7934495210647583, -0.5026894807815552, 0.4963534474372864, 0.9765996932983398, 0.5333835482597351, -0.7984007596969604, 0.035741209983825684, -1.041123390197754, -0.6008695363998413, 0.38426393270492554, 0.11928944289684296, -0.03601083159446716, -0.6659559011459351, -0.054019637405872345, -0.16143807768821716, 0.6043745279312134, -1.039069414138794, -0.7858356237411499, 0.2576698362827301, 0.5277302861213684, 0.0816856250166893, -0.5653398633003235, 0.20880667865276337, -0.544416069984436, 1.0657774209976196, 0.45109400153160095, 0.3274499475955963, 0.8406060934066772, 0.46492424607276917, -0.3823164403438568, 0.09252490103244781, 0.7662695050239563, 0.6666232347488403, -0.5239797830581665, -0.2908027470111847, -0.08827541768550873, -0.9143403768539429, 0.05927472561597824, 0.11168918758630753, -0.013455932028591633, 0.9082110524177551, 0.5793083310127258, 0.2539709210395813, 0.4514279365539551, -0.726460337638855, 0.8859451413154602, -0.14954176545143127, -0.12472866475582123, -1.0677239894866943, 0.1948619782924652, -0.23984959721565247, 0.5006402134895325, 1.0061326026916504, 0.5250048041343689, -0.047630298882722855, -0.8143380880355835, -0.01473585981875658, 0.6939172148704529, -0.7091123461723328, -0.17449834942817688, 0.944853663444519, 0.3847099542617798, -1.2953051328659058, 1.106776475906372, -0.5381771326065063, -0.560332179069519, 0.9121301770210266, 0.522956907749176, 1.1221847534179688, -0.44204121828079224, 0.0008676342549733818, 0.2662237286567688, 0.41378432512283325, 0.5423170328140259, 1.0869629383087158, 0.431413471698761, -0.7931063771247864, 0.8826584815979004, -0.24776044487953186, -0.40361151099205017, -0.05347571521997452, -0.42859897017478943, 0.16892178356647491, -0.4406192898750305, -0.10713007301092148, -0.3444187641143799, 0.28543180227279663, -0.7072042226791382, 0.42807620763778687, -0.0838567465543747, 0.8653068542480469, -0.8553727269172668, 0.47207626700401306, 0.635470449924469, -0.3337355852127075, -0.8508191108703613, -0.26198428869247437, -0.11448462307453156, -0.6389466524124146, 0.30214807391166687, -0.4554102420806885, 0.044398851692676544, 0.09623463451862335, -0.649151623249054, -1.1778275966644287, 0.9093633890151978, -0.639612078666687, -0.2784462869167328, 0.20464053750038147, -0.11514760553836823, 0.28811705112457275, -0.2524643540382385, 0.010661216452717781, 0.41876548528671265, 0.748940110206604, 0.2844654619693756, -0.7727053761482239, -0.3694884479045868, 0.0015032943338155746, -0.44474777579307556, 0.7582978010177612, -0.6002101898193359, 1.1840779781341553, -0.5563543438911438, -0.059654366225004196, 0.44384512305259705, 0.24690914154052734, 0.21076197922229767, 0.6629220843315125, 0.1442081481218338, 0.7282265424728394, 1.07012140750885, -0.40835219621658325, 0.8811809420585632, 0.26432839035987854, 0.47430819272994995, 0.7238501906394958, -0.6487724781036377, 0.7513749003410339, 0.31810489296913147, -0.5682924389839172, 0.9228013753890991, 1.2906063795089722, -0.15699204802513123, 0.8079374432563782, 0.05136508867144585, -1.081600546836853, 0.325833261013031, -0.20724765956401825, -0.7530064582824707, 0.3150254189968109, 0.19055864214897156, -0.6920982599258423, -0.5770308971405029, -0.24046507477760315, -0.35662803053855896, -0.11552901566028595, -0.7631728649139404, 0.6720563769340515, -0.016969164833426476, -0.5103683471679688, 0.18857547640800476, 0.2877499461174011, 0.17368432879447937, -0.5235732793807983, -0.02939440682530403, -0.22823619842529297, 0.2660655975341797, -0.5670853853225708, -0.5234526991844177, 0.5724433064460754, -0.32430219650268555, -0.5343255400657654, 0.18147465586662292, 0.763587236404419, -0.16923809051513672, -0.4515409469604492, 0.32472723722457886, 0.6959525346755981, 0.1665852814912796, 0.4250282347202301, -0.23511263728141785, 0.24480605125427246, -0.08044824004173279, -0.06651552021503448, 0.27714768052101135, 0.3449169099330902, 0.22435641288757324, 0.4450142979621887, 0.43285664916038513, -0.01808755099773407, -0.10736498981714249, -0.382819801568985, 0.4124940037727356, -0.9542785882949829, -0.5713282823562622, -0.6307113766670227, 0.2740660607814789, -0.02315417304635048, -1.0836423635482788, 0.4145168364048004, 1.4406683444976807, 1.0359982252120972, -0.4756383001804352, 1.067226529121399, -0.21818485856056213, 0.9594791531562805, 0.41483086347579956, 0.5420440435409546, -0.6030411720275879, 0.03835370019078255, -0.4364396035671234, -1.076962947845459, -0.35716333985328674, 0.4539391100406647, -0.022899555042386055, -0.3429867625236511, 0.872571587562561, 0.5887166261672974, -0.33473607897758484, -0.11728022992610931, 0.048487238585948944, -0.029941488057374954, -0.12433847039937973, 0.5145376324653625, 0.7648399472236633, -0.9344304800033569, -0.10680416971445084, -0.21577754616737366, -0.6382725834846497, -0.5047279000282288, -0.9632009267807007, -0.12959396839141846, -0.16037796437740326, 0.035343267023563385, -0.5662806630134583, 0.00255737011320889, 1.208324909210205, 0.5684957504272461, -1.1113994121551514, -0.5303789377212524, 0.3371853232383728, 0.3920421898365021, -0.1874791383743286, -0.24202413856983185, 0.2984568774700165, 0.15382249653339386, -0.5908876657485962, 0.6875665783882141, 0.8089625239372253, 0.208888977766037, 0.19554761052131653, 0.15893013775348663, -0.8229473829269409, -0.14913435280323029, 0.17440445721149445, 0.9450570344924927, -0.939853310585022, -0.7114843130111694, -0.03168516233563423, -0.27094873785972595, -0.05765746906399727, 0.17102102935314178, -0.4046344757080078, 0.5180677175521851, 0.34591493010520935, 0.49933457374572754, 0.0561608150601387, -0.054746925830841064, 0.5409556031227112, -0.9069057703018188, 0.09425963461399078, 0.4134361147880554, 0.4154115319252014, -0.4000864028930664, -0.5910194516181946, 0.6713420748710632, 1.0073972940444946, -0.6594868898391724, -0.8743268847465515, -0.19846712052822113, -1.0016002655029297, 0.04189709946513176, 0.6762762069702148, 0.5009527802467346, -0.4806513786315918, -0.4174500107765198, -0.5617399215698242, -0.1254672110080719, -0.1369970738887787, 0.7621601819992065, 1.179680585861206, -0.7432094812393188, 0.07975747436285019, -1.038639783859253, 0.6594986915588379, -0.2419457733631134, -0.3457581698894501, -0.48644304275512695, 0.3832802176475525, 0.35236993432044983, 0.440481036901474, 0.614812433719635, 0.1408471167087555, 0.8338426351547241, 0.3126053214073181, -0.1702686995267868, 0.2698982357978821, -0.4559200704097748, -0.028932858258485794, -0.057962555438280106, 0.31015971302986145, -1.0262157917022705 ]
cross-encoder/quora-distilroberta-base
cross-encoder
2021-08-05T08:41:31Z
7,284
1
transformers
[ "transformers", "pytorch", "jax", "roberta", "text-classification", "license:apache-2.0", "endpoints_compatible", "region:us" ]
text-classification
2022-03-02T23:29:05Z
--- license: apache-2.0 --- # Cross-Encoder for Quora Duplicate Questions Detection This model was trained using [SentenceTransformers](https://sbert.net) [Cross-Encoder](https://www.sbert.net/examples/applications/cross-encoder/README.html) class. ## Training Data This model was trained on the [Quora Duplicate Questions](https://www.quora.com/q/quoradata/First-Quora-Dataset-Release-Question-Pairs) dataset. The model will predict a score between 0 and 1 how likely the two given questions are duplicates. Note: The model is not suitable to estimate the similarity of questions, e.g. the two questions "How to learn Java" and "How to learn Python" will result in a rahter low score, as these are not duplicates. ## Usage and Performance Pre-trained models can be used like this: ``` from sentence_transformers import CrossEncoder model = CrossEncoder('model_name') scores = model.predict([('Question 1', 'Question 2'), ('Question 3', 'Question 4')]) ``` You can use this model also without sentence_transformers and by just using Transformers ``AutoModel`` class
[ -0.3646969795227051, -0.9100987911224365, 0.16901922225952148, 0.1355716437101364, -0.2830997705459595, -0.09067225456237793, 0.18779312074184418, -0.21788132190704346, 0.13233859837055206, 0.6420971155166626, -0.6465057730674744, -0.3348003923892975, -0.5225960612297058, 0.3572083115577698, -0.8080864548683167, 1.1232948303222656, -0.12852270901203156, 0.3815198540687561, -0.6965603828430176, -0.22874364256858826, -0.38144996762275696, -0.23381726443767548, -0.5955473780632019, -0.28829172253608704, 0.3003683090209961, 0.3624482750892639, 0.35085344314575195, 0.02199646830558777, 0.32478153705596924, 0.30354198813438416, -0.007354425266385078, 0.05630238354206085, -0.2624790668487549, 0.009151441045105457, -0.32157042622566223, -0.5673328638076782, 0.098178930580616, -0.08632496744394302, 0.3285726308822632, 0.2639048993587494, -0.15471389889717102, 0.6049268841743469, -0.023768281564116478, 0.3417007327079773, -0.22495415806770325, -0.25649863481521606, -0.7256002426147461, 0.22462831437587738, 0.15747462213039398, -0.2063065767288208, -0.04367145523428917, -0.6899304389953613, -0.029722711071372032, -0.5171226263046265, 0.3340352773666382, -0.08179543167352676, 0.9135146737098694, 0.2521840035915375, -0.5242417454719543, -0.33395594358444214, -0.5451343655586243, 0.8060792088508606, -0.4349375069141388, 0.1316886693239212, 0.5004740953445435, 0.4082754850387573, 0.2083514779806137, -0.7009826302528381, -1.0391021966934204, 0.1318032443523407, -0.15789857506752014, 0.06245093792676926, -0.41102176904678345, -0.4755995273590088, 0.36416730284690857, 0.44743838906288147, -1.1249017715454102, -0.16833539307117462, -0.9049889445304871, -0.3876098692417145, 0.4486764967441559, 0.3423246741294861, 0.33249631524086, -0.5486860871315002, -0.6094662547111511, -0.10945335775613785, -0.10684613883495331, 0.34482258558273315, 0.3314369320869446, -0.09491688013076782, -0.06627528369426727, 0.6434201002120972, -0.3349016606807709, 0.5752685070037842, 0.30062437057495117, 0.13004016876220703, 0.5971627831459045, -0.5587994456291199, -0.015699753537774086, -0.2880582809448242, 0.9495847225189209, 0.146890789270401, 0.505626916885376, 0.07432547211647034, -0.017511244863271713, 0.04359016939997673, 0.41454577445983887, -0.6381479501724243, -0.1994711458683014, 0.3428496718406677, -0.3335686922073364, -0.4313144385814667, 0.10476245731115341, -0.44988521933555603, 0.08420686423778534, -0.09983034431934357, 0.8695250153541565, -0.38867202401161194, -0.07153957337141037, 0.3447137475013733, -0.3296884000301361, 0.5082953572273254, 0.07389814406633377, -0.44741320610046387, 0.29320043325424194, 0.5147730112075806, 0.5091632008552551, -0.003278135322034359, -0.564577579498291, -0.2022620439529419, -0.3860250413417816, 0.10578522831201553, 0.980370819568634, -0.35478243231773376, -0.14214207231998444, -0.2129373550415039, 0.3201709985733032, -0.08235031366348267, -0.55741947889328, 0.4771530032157898, -0.7229472994804382, 0.9621341824531555, -0.3383448123931885, -0.6711391806602478, -0.4736088216304779, 0.6632523536682129, -0.7984673380851746, 1.017659068107605, 0.21670818328857422, -1.0062273740768433, 0.20171311497688293, -0.33277320861816406, -0.43358898162841797, 0.006057582329958677, -0.05039288103580475, -0.7523972988128662, -0.30939167737960815, 0.33996859192848206, 0.05665713921189308, -0.3788900673389435, 0.16053810715675354, -0.09072377532720566, -0.4445112645626068, 0.3727901875972748, -0.3978753983974457, 0.9400599002838135, 0.06768377870321274, -0.3038444221019745, -0.11711455136537552, -0.6512331366539001, 0.3592654764652252, 0.3288574516773224, -0.4104350805282593, -0.19149929285049438, -0.547392725944519, 0.16171139478683472, 0.4095594584941864, 0.4961323142051697, -0.7489293813705444, -0.08527255803346634, -0.07524330914020538, 0.011507739312946796, 0.4340052902698517, 0.2853885591030121, 0.23419831693172455, -0.592553973197937, 1.052469253540039, 0.26743200421333313, 0.23248465359210968, 0.1553872525691986, -0.6873776912689209, -0.6841469407081604, 0.4160628318786621, 0.36878126859664917, 1.0054656267166138, -0.755509078502655, 0.7512691020965576, 0.06388948857784271, -0.6352225542068481, -0.817574679851532, 0.3741667866706848, 0.39040234684944153, 0.34593844413757324, 0.6485921740531921, -0.13145017623901367, -0.7755530476570129, -0.8266512751579285, -0.4568045735359192, -0.011237098835408688, 0.0739135891199112, 0.07559844851493835, 0.8721363544464111, -0.055908869951963425, 1.0548129081726074, -0.41216105222702026, -0.15754567086696625, -0.42218801379203796, 0.19553948938846588, 0.022440942004323006, 0.6967079639434814, 0.35343998670578003, -1.095946192741394, -0.7382394075393677, -0.39038681983947754, -0.8197424411773682, 0.018091564998030663, -0.05811396613717079, -0.14702869951725006, -0.03485311567783356, 0.3267483711242676, -0.6549538373947144, 0.3788719177246094, 0.5160385966300964, -0.08998163789510727, 0.38808849453926086, 0.03731014207005501, 0.28360193967819214, -1.4340192079544067, -0.0793457180261612, -0.10890176892280579, -0.26511430740356445, -0.4538722038269043, -0.0769023597240448, 0.06231287121772766, -0.09416119009256363, -0.4363972246646881, 0.4868435859680176, -0.055798254907131195, 0.19904392957687378, -0.21218858659267426, -0.08153029531240463, 0.30090129375457764, 0.55061274766922, -0.0828847587108612, 0.7907039523124695, 0.4867572486400604, -0.4690081477165222, 0.5799283385276794, 0.6371751427650452, -0.6733822226524353, 0.3694494068622589, -1.1131079196929932, 0.47130557894706726, -0.12910933792591095, 0.2601390480995178, -1.0454223155975342, 0.14764171838760376, 0.47385767102241516, -0.7234637141227722, -0.3800942003726959, 0.04264890402555466, -0.3514886498451233, -0.6924437284469604, -0.31771114468574524, 0.7627900838851929, 0.5517056584358215, -0.5596896409988403, 0.5211530923843384, 0.2369929850101471, -0.08396439999341965, -0.8352633118629456, -0.9296362996101379, -0.5867224335670471, -0.009508240967988968, -0.5667147636413574, -0.04565740004181862, -0.25272390246391296, 0.23411858081817627, 0.2616083323955536, 0.06112309545278549, -0.3036321997642517, -0.1410352885723114, 0.28531166911125183, 0.009018752723932266, -0.34739425778388977, 0.22602421045303345, 0.2683182656764984, -0.08903885632753372, 0.1348486989736557, -0.426172137260437, 0.8425420522689819, 0.00892016850411892, -0.3957538306713104, -0.4294835031032562, 0.4131164252758026, 0.36758458614349365, -0.3460005521774292, 0.7456459403038025, 0.6455161571502686, -0.3965834975242615, -0.25521165132522583, -0.7027398347854614, -0.1037195697426796, -0.4506346881389618, 0.48508599400520325, -0.3303235173225403, -0.9518148303031921, 0.48698514699935913, 0.335513710975647, -0.48350027203559875, 0.4932997226715088, 0.4080210030078888, -0.10816419869661331, 0.8437212705612183, 0.4537646174430847, -0.2140331268310547, 0.3531210720539093, -0.3116242289543152, 0.22985881567001343, -0.45575276017189026, -0.5108640193939209, -0.38127270340919495, -0.3051280975341797, -0.43894097208976746, -0.5687638521194458, 0.17231351137161255, -0.005293108988553286, -0.15868531167507172, 0.46857279539108276, -0.5922724604606628, 0.7102800011634827, 0.7581357955932617, 0.13797251880168915, 0.18880002200603485, 0.25617101788520813, 0.2848421037197113, 0.13263484835624695, -0.6145626902580261, -0.24473662674427032, 1.222522497177124, -0.02564661204814911, 0.7784347534179688, -0.2915526032447815, 0.7789559960365295, 0.22040225565433502, -0.1700848788022995, -0.46042153239250183, 0.6008374094963074, -0.23835080862045288, -0.8215978145599365, -0.43837764859199524, -0.6228895783424377, -1.1243523359298706, 0.2440868467092514, -0.2005401998758316, -0.0608343631029129, 0.09434580057859421, -0.1816651076078415, -0.5139874815940857, 0.38819536566734314, -0.28882336616516113, 1.2551816701889038, -0.31011784076690674, 0.12448886781930923, -0.20633172988891602, -0.3745264410972595, 0.36688587069511414, -0.3095884919166565, -0.15342171490192413, 0.03309450298547745, 0.1022808775305748, 0.8527202010154724, -0.2420700341463089, 0.6748467683792114, -0.01654013618826866, 0.10900195688009262, 0.6010210514068604, -0.15381711721420288, 0.1061556413769722, 0.03520363196730614, -0.0021809213794767857, 0.1364477574825287, 0.0758952721953392, -0.45549920201301575, -0.44011563062667847, 0.5688350796699524, -0.9568285942077637, -0.37910211086273193, -0.33912310004234314, -0.41254475712776184, 0.1764688491821289, 0.1331731677055359, 0.6781702041625977, 0.2821779251098633, -0.399841845035553, -0.020680738613009453, 0.5423750281333923, -0.31018438935279846, 0.0032113920897245407, 0.5362147092819214, -0.21239334344863892, -0.5580434799194336, 0.7756420969963074, 0.11918721348047256, 0.19377501308918, 0.49193987250328064, 0.10871206223964691, -0.33124586939811707, -0.25976118445396423, -0.16581754386425018, 0.19005297124385834, -0.6946218609809875, -0.35440632700920105, -0.9107239842414856, -0.5888999104499817, -0.5394403338432312, 0.3203752636909485, -0.12027855217456818, -0.5888845920562744, -0.36570248007774353, -0.2312360256910324, 0.6897433400154114, 0.6940637230873108, -0.11703366786241531, 0.17949114739894867, -0.7638706564903259, 0.6958714723587036, 0.6566783785820007, 0.10207687318325043, -0.05176972970366478, -0.8290460705757141, -0.23097887635231018, 0.045402828603982925, -0.3580571413040161, -0.6559248566627502, 0.3484227657318115, -0.017394525930285454, 0.443082720041275, 0.0542963407933712, 0.043711647391319275, 0.49814701080322266, -0.14502517879009247, 0.6647557020187378, 0.05914682894945145, -0.8465928435325623, 0.6510265469551086, 0.1664540320634842, 0.5053228735923767, 0.8024607300758362, 0.8352113366127014, -0.5607659816741943, -0.33636265993118286, -0.5458664298057556, -0.593016505241394, 0.6938967704772949, 0.08640878647565842, 0.5023501515388489, -0.015333158895373344, 0.17412836849689484, 0.5316835045814514, 0.20282942056655884, -1.1508064270019531, -0.30363452434539795, -0.41539183259010315, -0.32039758563041687, 0.041994426399469376, -0.20802977681159973, 0.21276232600212097, -0.6231844425201416, 0.627747654914856, 0.18207696080207825, -0.0409352108836174, 0.11919848620891571, -0.3223089575767517, -0.18821993470191956, 0.33035939931869507, 0.20983406901359558, 0.30501821637153625, -0.17071779072284698, -0.3420792818069458, 0.40020737051963806, -0.49279481172561646, 0.11187387257814407, 0.2014978528022766, -0.5380207896232605, 0.1430858075618744, 0.19242237508296967, 0.7922036051750183, -0.07776699215173721, -0.5080793499946594, 0.6832268238067627, -0.286774218082428, -0.36624839901924133, -0.8832409977912903, -0.023406805470585823, -0.026616282761096954, 0.4620174169540405, 0.20557376742362976, 0.18474936485290527, 0.09332375228404999, -0.4867125153541565, 0.4441148042678833, 0.2613391578197479, -0.2885798215866089, -0.21813029050827026, 0.5939604043960571, 0.08445025235414505, -0.6026574969291687, 0.8359750509262085, -0.28863775730133057, -0.9993621706962585, 0.7637311816215515, 0.32743725180625916, 0.7536218762397766, -0.17426075041294098, 0.4336351752281189, 0.7027154564857483, 0.25037848949432373, -0.20915481448173523, 0.8208963871002197, -0.19470173120498657, -1.0043237209320068, 0.015482408925890923, -0.5165309906005859, -0.4193013906478882, 0.32070398330688477, -1.0287182331085205, 0.24759268760681152, -0.41369786858558655, -0.12162907421588898, -0.13455830514431, -0.11543336510658264, -0.7811359167098999, 0.38330066204071045, 0.04840775951743126, 0.7900487780570984, -0.9281761646270752, 0.7989136576652527, 0.6399326920509338, -0.8968594670295715, -0.7613548040390015, 0.06079481542110443, -0.2796812057495117, -0.78858882188797, 0.5740638375282288, 0.2673379182815552, 0.24063719809055328, -0.1165107935667038, -0.6065918207168579, -0.7750251889228821, 1.0237802267074585, -0.07843560725450516, -0.40390971302986145, -0.10828664153814316, 0.6073030233383179, 0.5718511343002319, -0.2543477416038513, 0.4690663516521454, 0.46852633357048035, 0.2253911793231964, -0.19694510102272034, -0.8880388736724854, -0.042186085134744644, -0.6357058882713318, -0.33419352769851685, 0.03894183412194252, -0.5637229681015015, 1.23745858669281, -0.11801248043775558, 0.05277856066823006, 0.44962725043296814, 0.5004448294639587, 0.3486188054084778, 0.4915967881679535, 0.6058461666107178, 0.6726463437080383, 0.7091547846794128, 0.10473021119832993, 1.0189745426177979, -0.22144557535648346, 0.5226712226867676, 1.1068018674850464, -0.17708352208137512, 0.8898783922195435, 0.37852588295936584, -0.18311171233654022, 0.9031252861022949, 0.34673550724983215, -0.5450499057769775, 0.5158212780952454, 0.22758324444293976, 0.14302094280719757, -0.4923669993877411, 0.2320663183927536, -0.7101561427116394, 0.5715690851211548, -0.14824461936950684, -0.30656129121780396, -0.0077605824917554855, 0.2736463248729706, -0.5354498028755188, 0.2631937265396118, -0.09582161903381348, 0.6377135515213013, 0.03371091187000275, -0.6011736392974854, 0.5683516263961792, -0.16073444485664368, 0.9039603471755981, -0.7138107419013977, 0.012570460326969624, -0.4185354709625244, 0.16993418335914612, -0.004697071388363838, -0.9827321767807007, 0.16875867545604706, 0.013664825819432735, -0.499662846326828, -0.025649210438132286, 0.7877864837646484, -0.7792472839355469, -0.7815325260162354, 0.4669094979763031, 0.7458629608154297, 0.19077540934085846, -0.19047455489635468, -1.0108413696289062, -0.362169086933136, 0.10742776840925217, -0.042173776775598526, -0.019731469452381134, 0.555361270904541, 0.17225439846515656, 0.6908519864082336, 0.4926954209804535, -0.2539798319339752, 0.278939813375473, 0.24624623358249664, 0.7158598303794861, -0.9710436463356018, -0.5481911301612854, -0.45468488335609436, 0.3478291928768158, -0.16902364790439606, -0.568179726600647, 0.9437958002090454, 0.8826016187667847, 1.132908582687378, -0.41791415214538574, 0.788597822189331, 0.2205924242734909, 0.9351798295974731, -0.3307265043258667, 0.6199852824211121, -0.8036429286003113, 0.17156587541103363, -0.06217173859477043, -0.704013466835022, 0.21505483984947205, 0.5889557003974915, -0.38767290115356445, 0.1299029290676117, 0.8360037803649902, 0.9253620505332947, -0.238416850566864, 0.28655463457107544, 0.037391021847724915, 0.026161575689911842, -0.3685451149940491, 0.9153751730918884, 1.1787761449813843, -0.992132306098938, 1.1295968294143677, -0.3664325177669525, 0.42233479022979736, 0.12012932449579239, -0.09211288392543793, -1.008692741394043, -0.46655502915382385, -0.4537484645843506, -0.4720271825790405, -0.1400095820426941, 0.6587967872619629, 0.3665994107723236, -1.2135859727859497, -0.09902596473693848, 0.030904410406947136, 0.22646629810333252, -0.0910506322979927, -0.23565997183322906, 0.17966581881046295, 0.0633946880698204, -0.5653625130653381, 0.041449174284935, -0.20544153451919556, 0.10415903478860855, -0.1621919423341751, 0.054684337228536606, -0.4086790680885315, 0.20581695437431335, 0.21444082260131836, 0.3227601647377014, -0.6114879250526428, -0.19363152980804443, 0.0822988823056221, -0.40968310832977295, 0.01363704726099968, 0.6279761791229248, -1.0735341310501099, 0.0836377963423729, 0.8205438852310181, 0.5854976773262024, 0.6372074484825134, 0.22967372834682465, 0.38334763050079346, -0.43599843978881836, 0.03237447887659073, 0.25114381313323975, 0.3538864850997925, 0.44198983907699585, -0.29687342047691345, 0.35024699568748474, 0.2926327884197235, -0.47407177090644836, -0.6103870272636414, 0.000839466112665832, -1.041169285774231, -0.3302481770515442, 1.024186372756958, -0.014973369427025318, -0.14647167921066284, -0.21497628092765808, -0.18622714281082153, 0.3106445074081421, -0.17339414358139038, 0.8038573861122131, 0.4471893310546875, 0.1777639538049698, -0.22233866155147552, -0.18357610702514648, 0.17175382375717163, 0.7459851503372192, -0.883621335029602, -0.46168795228004456, 0.007869570516049862, 0.802949070930481, 0.17544881999492645, 0.49455004930496216, -0.0368909053504467, 0.6473221182823181, 0.11025841534137726, 0.10614656656980515, -0.09449834376573563, 0.057741373777389526, -0.5621365308761597, 0.2576119899749756, -0.5227069854736328, -0.634655773639679 ]
ainize/kobart-news
ainize
2021-06-29T02:51:15Z
7,267
15
transformers
[ "transformers", "pytorch", "bart", "text2text-generation", "summarization", "ko", "license:mit", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
summarization
2022-03-02T23:29:05Z
--- language: ko license: mit tags: - summarization - bart --- # kobart-news - This model is a [kobart](https://huggingface.co/hyunwoongko/kobart) fine-tuned on the [문서요약 텍스트/신문기사](https://aihub.or.kr/aidata/8054) using [Ainize Teachable-NLP](https://ainize.ai/teachable-nlp). ## Usage ### Python Code ```python from transformers import PreTrainedTokenizerFast, BartForConditionalGeneration # Load Model and Tokenize tokenizer = PreTrainedTokenizerFast.from_pretrained("ainize/kobart-news") model = BartForConditionalGeneration.from_pretrained("ainize/kobart-news") # Encode Input Text input_text = '국내 전반적인 경기침체로 상가 건물주의 수익도 전국적인 감소세를 보이고 있는 것으로 나타났다. 수익형 부동산 연구개발기업 상가정보연구소는 한국감정원 통계를 분석한 결과 전국 중대형 상가 순영업소득(부동산에서 발생하는 임대수입, 기타수입에서 제반 경비를 공제한 순소득)이 1분기 ㎡당 3만4200원에서 3분기 2만5800원으로 감소했다고 17일 밝혔다. 수도권, 세종시, 지방광역시에서 순영업소득이 가장 많이 감소한 지역은 3분기 1만3100원을 기록한 울산으로, 1분기 1만9100원 대비 31.4% 감소했다. 이어 대구(-27.7%), 서울(-26.9%), 광주(-24.9%), 부산(-23.5%), 세종(-23.4%), 대전(-21%), 경기(-19.2%), 인천(-18.5%) 순으로 감소했다. 지방 도시의 경우도 비슷했다. 경남의 3분기 순영업소득은 1만2800원으로 1분기 1만7400원 대비 26.4% 감소했으며 제주(-25.1%), 경북(-24.1%), 충남(-20.9%), 강원(-20.9%), 전남(-20.1%), 전북(-17%), 충북(-15.3%) 등도 감소세를 보였다. 조현택 상가정보연구소 연구원은 "올해 내수 경기의 침체된 분위기가 유지되며 상가, 오피스 등을 비롯한 수익형 부동산 시장의 분위기도 경직된 모습을 보였고 오피스텔, 지식산업센터 등의 수익형 부동산 공급도 증가해 공실의 위험도 늘었다"며 "실제 올 3분기 전국 중대형 상가 공실률은 11.5%를 기록하며 1분기 11.3% 대비 0.2% 포인트 증가했다"고 말했다. 그는 "최근 소셜커머스(SNS를 통한 전자상거래), 음식 배달 중개 애플리케이션, 중고 물품 거래 애플리케이션 등의 사용 증가로 오프라인 매장에 영향을 미쳤다"며 "향후 지역, 콘텐츠에 따른 상권 양극화 현상은 심화될 것으로 보인다"고 덧붙였다.' input_ids = tokenizer.encode(input_text, return_tensors="pt") # Generate Summary Text Ids summary_text_ids = model.generate( input_ids=input_ids, bos_token_id=model.config.bos_token_id, eos_token_id=model.config.eos_token_id, length_penalty=2.0, max_length=142, min_length=56, num_beams=4, ) # Decoding Text print(tokenizer.decode(summary_text_ids[0], skip_special_tokens=True)) ``` ### API and Demo You can experience this model through [ainize-api](https://ainize.ai/gkswjdzz/summarize-torchserve?branch=main) and [ainize-demo](https://main-summarize-torchserve-gkswjdzz.endpoint.ainize.ai/).
[ -0.5323414206504822, -0.6546458601951599, 0.2737670838832855, 0.2726742625236511, -0.44778963923454285, 0.07873671501874924, 0.12479148805141449, -0.2481861412525177, 0.590703547000885, 0.22569602727890015, -0.33624267578125, -0.7421433925628662, -0.7294101119041443, 0.23360955715179443, -0.21219056844711304, 1.111734390258789, -0.0049536568112671375, -0.0020774942822754383, 0.05585804581642151, -0.07555338740348816, -0.5616127252578735, -0.20348024368286133, -0.9286113381385803, -0.2594885230064392, 0.028673816472291946, 0.09022952616214752, 0.5872542262077332, 0.4451732039451599, 0.37047362327575684, 0.39340120553970337, -0.19540879130363464, 0.033696889877319336, -0.2793000638484955, -0.0208072979003191, 0.03479853644967079, -0.6991725564002991, -0.3282181918621063, -0.24459028244018555, 0.21365834772586823, 0.45221397280693054, -0.10462437570095062, 0.5095085501670837, 0.22892916202545166, 0.9311363697052002, -0.47030267119407654, 0.23215898871421814, 0.012338640168309212, -0.04894791543483734, 0.014319409616291523, -0.034949202090501785, 0.21384140849113464, -0.6769618988037109, 0.05477835610508919, -0.6962172985076904, 0.24291670322418213, 0.2730983793735504, 1.2590210437774658, -0.17923986911773682, -0.4155651032924652, -0.24932818114757538, -0.5467170476913452, 0.9584863781929016, -0.9562875628471375, 0.30243632197380066, 0.7207162380218506, 0.013702720403671265, -0.1862800270318985, -0.8668999075889587, -0.6275897026062012, -0.07240407913923264, -0.21977724134922028, 0.4497970640659332, -0.24481309950351715, -0.3844152092933655, 0.3137738108634949, 0.4615026116371155, -0.5562052130699158, -0.083103708922863, -0.45674896240234375, -0.0028272944036871195, 0.6918593645095825, 0.24663782119750977, 0.5327590703964233, -0.5579801201820374, -0.5697439908981323, 0.060517363250255585, -0.1841898262500763, 0.5025991797447205, 0.39603835344314575, -0.015637801960110664, -0.43152105808258057, 0.7445867657661438, -0.3401283621788025, 0.6064578890800476, 0.28247275948524475, -0.30067622661590576, 0.6339877247810364, -0.808144211769104, -0.4631780683994293, 0.010096379555761814, 0.9602142572402954, 0.7562403678894043, 0.06764034181833267, 0.27324381470680237, -0.41330936551094055, -0.009442392736673355, 0.012891218066215515, -0.9154171347618103, -0.044430091977119446, 0.41900932788848877, -0.7320071458816528, -0.4683077037334442, 0.29288703203201294, -0.9344013929367065, 0.10243196040391922, -0.38501256704330444, 0.5484046339988708, -0.38498982787132263, -0.5712535381317139, 0.09118390083312988, -0.0820859894156456, 0.11603161692619324, 0.3564841151237488, -0.8312153220176697, 0.4929320216178894, 0.20874108374118805, 1.1382282972335815, 0.17497816681861877, 0.17239607870578766, 0.42287477850914, 0.07963515818119049, -0.4310307204723358, 0.7344769239425659, 0.21174739301204681, -0.594576358795166, -0.1840866655111313, 0.2129255086183548, -0.3521296977996826, -0.2397928237915039, 0.5321844816207886, -0.1638174206018448, 0.3017394244670868, -0.009701675735414028, -0.5988143682479858, -0.19070330262184143, 0.6016745567321777, -0.680776059627533, 1.4401707649230957, 0.12888769805431366, -1.1692103147506714, 0.24947717785835266, -0.6521860361099243, -0.18599611520767212, -0.07338957488536835, 0.00295249349437654, -0.7073767781257629, -0.09814739972352982, 0.5388157963752747, 0.5498462319374084, -0.339650422334671, 0.23976998031139374, -0.08175508677959442, -0.4971233010292053, 0.3117911219596863, -0.32160112261772156, 1.0541553497314453, 0.28636646270751953, -0.4066106379032135, 0.2351236790418625, -1.0321592092514038, 0.19856850802898407, 0.4675309658050537, -0.44896960258483887, -0.2024480253458023, -0.6205110549926758, 0.0904792994260788, 0.4039968252182007, 0.22021400928497314, -0.5959532260894775, 0.14844751358032227, -0.6702741980552673, 0.5134233236312866, 0.9995334148406982, 0.3337427079677582, 0.29532769322395325, -0.7635230422019958, 0.7439883351325989, 0.09810449182987213, 0.21957919001579285, -0.041795480996370316, -0.420005738735199, -0.8190051913261414, -0.46475809812545776, 0.3484466075897217, 0.5094516277313232, -0.7314034104347229, 0.7164761424064636, -0.0438804030418396, -0.8084020018577576, -0.6108720898628235, -0.3754124641418457, 0.20398809015750885, 0.6019441485404968, 0.25861096382141113, 0.029617970809340477, -0.8320229053497314, -0.7669432759284973, -0.1405669003725052, -0.14978688955307007, -0.12426109611988068, 0.47314903140068054, 1.0743374824523926, -0.24515612423419952, 1.0090055465698242, -0.6876312494277954, -0.35877594351768494, -0.260349839925766, -0.11414378881454468, 0.8906208276748657, 0.872186005115509, 0.8775017857551575, -0.9018667340278625, -0.9744585752487183, -0.07579893618822098, -0.7337667942047119, 0.215070441365242, 0.16892072558403015, -0.04308620095252991, 0.3161276578903198, 0.37664395570755005, -0.7166708111763, 0.766852080821991, 0.46536800265312195, -0.6881429553031921, 1.2136708498001099, -0.37612825632095337, 0.3246699571609497, -1.5541797876358032, 0.3799525499343872, 0.049779899418354034, -0.14632420241832733, -0.5571372509002686, -0.19952243566513062, -0.13524970412254333, 0.016800936311483383, -0.5342323780059814, 1.019317388534546, -0.4590632915496826, 0.31055447459220886, 0.016939830034971237, 0.06432818621397018, 0.1716206669807434, 0.6041682362556458, -0.24704711139202118, 0.7741328477859497, 0.6719492673873901, -0.5869572758674622, 0.47389695048332214, 0.2538563013076782, -0.46146366000175476, 0.32434549927711487, -0.955634593963623, -0.24959377944469452, -0.2794169783592224, 0.33685535192489624, -1.2914034128189087, -0.4271518588066101, 0.6416303515434265, -0.7318094372749329, 0.1501987874507904, -0.18250000476837158, -0.3619416654109955, -0.695580005645752, -0.5803968906402588, 0.2588278651237488, 0.2593725025653839, -0.2765769362449646, 0.6328288912773132, 0.08482616394758224, -0.16194669902324677, -0.7924844026565552, -0.7976068258285522, -0.22033298015594482, -0.23012396693229675, -0.6710147261619568, 0.5173372626304626, -0.1471007913351059, 0.06043224409222603, 0.2190597802400589, -0.07998041063547134, -0.005941847804933786, -0.08909903466701508, 0.4310382306575775, 0.4768264889717102, -0.18640926480293274, -0.054684627801179886, -0.18565768003463745, -0.2862366735935211, -0.03692510351538658, -0.16768264770507812, 0.812426745891571, -0.3066481649875641, -0.427480012178421, -0.8239005208015442, 0.1413756161928177, 0.6588616967201233, -0.00944655854254961, 1.0768165588378906, 0.7828932404518127, -0.39332860708236694, 0.09613021463155746, -0.3974047899246216, 0.006279627326875925, -0.45799434185028076, 0.5292637348175049, -0.4924975335597992, -0.7482766509056091, 0.8515998721122742, -0.1501428484916687, -0.18936917185783386, 0.8828381299972534, 0.7166313529014587, -0.07861487567424774, 1.2264894247055054, 0.46894434094429016, -0.0020343665964901447, 0.5517430305480957, -0.8567245006561279, 0.3270263075828552, -0.832862913608551, -0.6860367655754089, -0.4225243628025055, -0.3462928533554077, -0.842511773109436, -0.2546013593673706, 0.426260769367218, 0.2477533370256424, -0.41376209259033203, 0.35249215364456177, -0.7625594735145569, 0.2490004450082779, 0.592396080493927, 0.4228418171405792, -0.0185380969196558, -0.3057500720024109, -0.33138442039489746, -0.02411145158112049, -0.7379240393638611, -0.5092623829841614, 1.4250571727752686, 0.4876425266265869, 0.5423102378845215, 0.18356509506702423, 0.6715897917747498, 0.25972867012023926, 0.1572767049074173, -0.7672328948974609, 0.30285772681236267, 0.11055459827184677, -0.8403602242469788, -0.3549976050853729, -0.27821144461631775, -0.8829299807548523, 0.4642105996608734, -0.3663129508495331, -0.9573277831077576, 0.5164608359336853, -0.04902420938014984, -0.6257610321044922, 0.3871830403804779, -0.5075899362564087, 0.9208377599716187, -0.1407306045293808, -0.6979314088821411, 0.16012980043888092, -0.6151580810546875, 0.3970431089401245, -0.10806756466627121, 0.4825330972671509, -0.23398040235042572, 0.11004365235567093, 1.0483741760253906, -0.7187540531158447, 0.6369616389274597, -0.1943291872739792, 0.0828530341386795, 0.5049616694450378, -0.2704041004180908, 0.55224609375, 0.3791988492012024, -0.15223786234855652, 0.09964341670274734, 0.13098613917827606, -0.4654756486415863, -0.4408016502857208, 0.6509091258049011, -1.023817777633667, -0.42958375811576843, -0.6900879740715027, -0.19117210805416107, 0.30115947127342224, 0.4648008942604065, 0.5849555730819702, 0.599662721157074, -0.14303307235240936, 0.24550341069698334, 0.3618524670600891, -0.3348117172718048, 0.7804657220840454, 0.20520636439323425, -0.45065516233444214, -0.7310739159584045, 0.6984670758247375, 0.15412572026252747, 0.30547037720680237, -0.09190575033426285, 0.4003330171108246, -0.5459530353546143, -0.4692937731742859, -0.40357568860054016, 0.27474936842918396, -0.6077321171760559, -0.42914217710494995, -0.6197057962417603, -0.25009942054748535, -0.8865444660186768, -0.2636793553829193, -0.5298446416854858, -0.6805943846702576, -0.4308460056781769, -0.42385610938072205, 0.40341654419898987, 0.6384029984474182, -0.504840075969696, 0.28982827067375183, -0.5996593236923218, 0.352434903383255, 0.14546766877174377, 0.33673718571662903, 0.18278230726718903, -0.6418942809104919, -0.36247381567955017, 0.20278362929821014, -0.3209877610206604, -1.0189709663391113, 0.8558334112167358, -0.38653305172920227, 0.3170832097530365, 0.6994611024856567, 0.062393732368946075, 0.6318578124046326, 0.011237082071602345, 0.9130425453186035, 0.5788450241088867, -0.8885290026664734, 0.5908125638961792, -0.5306812524795532, 0.20369009673595428, 0.49691036343574524, 0.583338737487793, -0.6835466623306274, -0.21998746693134308, -0.7664121389389038, -1.2215551137924194, 0.9815104007720947, 0.44700324535369873, 0.03187410905957222, 0.15618304908275604, 0.1265411078929901, -0.27545109391212463, 0.33713221549987793, -0.9756377339363098, -0.855047881603241, -0.31008151173591614, -0.2888748347759247, 0.3903324604034424, -0.36850467324256897, -0.14374779164791107, -0.6149201989173889, 0.9148495197296143, 0.3976404368877411, 0.40268048644065857, 0.56228107213974, 0.2168613076210022, 0.12095470726490021, 0.0987829715013504, 0.7028427720069885, 0.9157611131668091, -0.5256156325340271, -0.09537891298532486, 0.12717097997665405, -0.7539659738540649, 0.22926755249500275, -0.10504050552845001, -0.5522693395614624, 0.11943506449460983, 0.292566180229187, 1.2138395309448242, 0.19278547167778015, -0.3582048714160919, 0.7072878479957581, -0.3507772386074066, -0.39957132935523987, -0.6366903185844421, -0.0691833421587944, 0.18992269039154053, 0.15105095505714417, 0.5387685298919678, 0.29250848293304443, -0.1291671097278595, -0.37997156381607056, 0.07553238421678543, 0.20767053961753845, -0.5171467065811157, -0.1869490146636963, 0.9123584628105164, 0.08373016864061356, -0.26435357332229614, 0.42867976427078247, -0.17403298616409302, -0.6080114245414734, 1.1868969202041626, 0.9027376770973206, 0.8330549597740173, -0.40793001651763916, 0.23256216943264008, 1.1960934400558472, 0.09947723895311356, -0.23693330585956573, 0.26349300146102905, 0.10784406214952469, -0.7792780995368958, -0.05751209706068039, -0.9259280562400818, 0.08793502300977707, 0.5135362148284912, -0.7936826348304749, 0.2556214928627014, -0.48718518018722534, -0.6717658042907715, -0.14865811169147491, 0.16795770823955536, -0.8111826181411743, 0.40835320949554443, -0.16488578915596008, 0.8109939694404602, -1.1239653825759888, 0.5233930945396423, 0.8090273141860962, -0.7277330756187439, -1.0769813060760498, -0.06181102246046066, -0.16005989909172058, -0.8004238605499268, 0.8553850054740906, 0.2109299749135971, 0.18879041075706482, 0.18536221981048584, -0.5303657054901123, -1.4118731021881104, 1.419619083404541, -0.05342991650104523, -0.3922998905181885, 0.20077423751354218, 0.21265339851379395, 0.450554221868515, -0.09224790334701538, 0.5092440843582153, 0.455701619386673, 0.5525121688842773, 0.05320117250084877, -1.0334726572036743, 0.3185917139053345, -0.5357924699783325, 0.026445019990205765, -0.005223203916102648, -0.8529847860336304, 1.0763143301010132, -0.2113560289144516, -0.0044202618300914764, -0.023567797616124153, 0.5433564782142639, 0.5090188384056091, 0.39668601751327515, 0.4586276113986969, 0.6690852046012878, 0.41780826449394226, -0.08466950803995132, 0.9638330340385437, -0.49438193440437317, 0.7977781891822815, 0.61728435754776, 0.34345293045043945, 0.5209110379219055, 0.3180208206176758, -0.5913140177726746, 0.33018243312835693, 0.7127102017402649, -0.2739929258823395, 0.5819205641746521, -0.000701362150721252, -0.5400248169898987, 0.11029911041259766, -0.0973304957151413, -0.41695117950439453, 0.4593379497528076, 0.2967343330383301, -0.4425606429576874, 0.0228856410831213, 0.1898648887872696, 0.22869323194026947, -0.19848592579364777, -0.4863055944442749, 0.6932898759841919, 0.1414482295513153, -0.40728944540023804, 0.4588756263256073, 0.2225443571805954, 0.7113320827484131, -0.7112948298454285, 0.07445617765188217, -0.10002139210700989, 0.1813410222530365, -0.4175470471382141, -0.8661442995071411, 0.15992742776870728, -0.04951922222971916, -0.3465416133403778, -0.11376350373029709, 0.967761218547821, -0.19442766904830933, -0.8967034816741943, 0.27466222643852234, 0.3895663321018219, 0.08337057381868362, -0.039310649037361145, -0.9275624752044678, -0.09292131662368774, 0.19856251776218414, -0.7755303382873535, 0.13513976335525513, 0.311292827129364, 0.20642401278018951, 0.7659446001052856, 0.9088158011436462, 0.1937962919473648, 0.17911255359649658, -0.19479350745677948, 0.978306770324707, -0.672793447971344, -0.7777029871940613, -0.9440644383430481, 0.754620373249054, -0.1790129393339157, -0.4343067705631256, 0.9457759261131287, 0.7057715654373169, 0.8334749341011047, -0.14813387393951416, 1.0172319412231445, -0.33146512508392334, 0.5283730030059814, -0.3909132480621338, 0.9487565159797668, -0.5074175596237183, -0.15601292252540588, -0.23985978960990906, -0.8437952995300293, -0.25901687145233154, 0.8569925427436829, -0.29531341791152954, 0.36042916774749756, 0.4109388589859009, 0.8069221377372742, 0.09476640075445175, 0.028371501713991165, 0.10059203952550888, 0.4294212758541107, 0.21678520739078522, 0.2488422393798828, 0.5722007751464844, -0.7726439237594604, 0.4272308647632599, -0.6631546020507812, -0.04478926956653595, -0.392867773771286, -0.5905723571777344, -0.8666908144950867, -0.23557941615581512, -0.2981514632701874, -0.43435582518577576, -0.2194085717201233, 1.0469335317611694, 0.5528883934020996, -0.9694457054138184, -0.15793520212173462, -0.13283224403858185, 0.09477302432060242, -0.3733053505420685, -0.36727264523506165, 0.9823321104049683, 0.04863424226641655, -0.9183264374732971, -0.08580608665943146, -0.1938822865486145, 0.38846907019615173, 0.11689776182174683, 0.03103921376168728, -0.4453236162662506, 0.04302453622221947, 0.6257622241973877, 0.004757309798151255, -0.5579541325569153, -0.15311472117900848, -0.05116885527968407, -0.2722073495388031, 0.028425831347703934, 0.3379536271095276, -0.5478792786598206, 0.25982797145843506, 0.6351322531700134, 0.2813906669616699, 0.8309798836708069, 0.35127946734428406, 0.18661226332187653, -0.6567444801330566, 0.2717589735984802, 0.0369979664683342, 0.5007692575454712, 0.034239716827869415, -0.43604955077171326, 0.6560685634613037, 0.44696515798568726, -0.7115535140037537, -0.7670563459396362, -0.16699665784835815, -0.9151018857955933, -0.44188860058784485, 0.9919572472572327, -0.3007543981075287, -0.4002380073070526, -0.14739882946014404, -0.4228775203227997, 0.582301139831543, -0.5438957214355469, 0.8170762658119202, 0.6209457516670227, -0.3131469786167145, 0.08995991945266724, -0.765449047088623, 0.33967021107673645, 0.30567073822021484, -0.7288473844528198, -0.27898257970809937, 0.11891485750675201, 0.48230886459350586, 0.19247038662433624, 1.1154409646987915, 0.03229564055800438, 0.02201804332435131, 0.11368501931428909, 0.13573679327964783, -0.23331770300865173, 0.2364426851272583, -0.2039230316877365, -0.056759003549814224, -0.48281341791152954, -0.579262375831604 ]
Yntec/LAMEanime
Yntec
2023-10-29T18:24:58Z
7,265
3
diffusers
[ "diffusers", "Anime", "Chibi", "General", "Adorable", "Lasorco", "realisticElves", "stable-diffusion", "stable-diffusion-diffusers", "text-to-image", "license:creativeml-openrail-m", "endpoints_compatible", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2023-10-02T16:02:15Z
--- license: creativeml-openrail-m library_name: diffusers pipeline_tag: text-to-image tags: - Anime - Chibi - General - Adorable - Lasorco - realisticElves - stable-diffusion - stable-diffusion-diffusers - text-to-image - diffusers --- # LAMEanime A mix of lamettaRemix and animeSEXTILLION to bring my favorite things from those models together! So it's a remix of 4 models, animeTWO and animeTEN by realisticElves with lametta v1745 and lametta v1602 by Lasorco. Comparison: ![Comparison](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/xechjNTFOIgGjaXCZM0GN.png) (Click for larger) Sample and prompt: ![Sample](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/1RAhje0vBSeUMWwqcJ4gk.png) A genie pretty cute little girl making detailed eyes, full shot, mucha lighting, detailed face, by makoto shinkai, stanley artgerm lau, wlop, rossdraws. alejandro jodorowsky jungle moon light, fireflies, lovely view, reliastic, 8 k hd. sitting elementary, bow in hair, gorgeous hair, DETAILED CHIBI EYES, A beautiful Original pages: https://huggingface.co/Yntec/lamettaRemix https://huggingface.co/Lasorco/lametta https://huggingface.co/Yntec/animeSEXTILLION https://civitai.com/models/40245?modelVersionId=45715 (animeTWO) https://civitai.com/models/144023?modelVersionId=160609 (animeTEN) # Recipe - SuperMerger Weight sum MBW 1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1 Model A: animeSEXTILLION Model B: lamettaREMIX Output: lamettaanime - Bake MoistMixV2 VAE: Output: LAMEanime # lamettaSEXTILLION Same model with animeSEXTILLION as the base. - SuperMerger Weight sum MBW 0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1 Model A: animeSEXTILLION Model B: lamettaREMIX Output: lamettaSEXTILLION
[ -0.554686427116394, -0.05523945391178131, 0.25337228178977966, 0.4258102476596832, -0.15726841986179352, -0.0772472396492958, 0.317143052816391, -0.3249053359031677, 1.1009867191314697, 0.8994671702384949, -0.8831882476806641, -0.15374232828617096, -0.3474147617816925, -0.06145040690898895, -0.245133638381958, 0.759307324886322, 0.06362132728099823, 0.21841007471084595, -0.06701619178056717, -0.19887369871139526, -0.5699199438095093, -0.3434445261955261, -0.1927059292793274, -0.6023170351982117, 0.3646504282951355, 0.6476771235466003, 0.6612749695777893, 0.3782213032245636, 0.12376704066991806, 0.4431720972061157, -0.05802815407514572, -0.03166090324521065, -0.528959333896637, 0.10098078846931458, -0.1723867505788803, -0.803094744682312, -1.1287298202514648, 0.07501847296953201, 0.2387392222881317, 0.1077258288860321, -0.046561405062675476, 0.31737151741981506, -0.1245829164981842, 0.6510478854179382, -0.3593641221523285, -0.1037270724773407, -0.312807559967041, 0.18417829275131226, -0.27597683668136597, 0.04560906067490578, 0.004930019844323397, -0.47730937600135803, -0.4299074113368988, -0.7133800983428955, -0.12683479487895966, 0.06135998293757439, 1.1530884504318237, 0.08309629559516907, -0.22476981580257416, 0.03722883015871048, -0.7344664931297302, 1.013521671295166, -0.8890777230262756, 0.4000760018825531, -0.07245312631130219, 0.41658803820610046, -0.2249828577041626, -1.1468278169631958, -0.6078678369522095, 0.18153226375579834, 0.20517848432064056, 0.7720497250556946, -0.31063228845596313, -0.4045538306236267, 0.5703551769256592, 0.5939090847969055, -0.5803471803665161, -0.23246367275714874, -0.4479816257953644, 0.2735867202281952, 0.5676631331443787, 0.19906853139400482, 0.7715142965316772, -0.23276902735233307, -0.7280747890472412, -0.3433578610420227, -0.6359507441520691, -0.3111880421638489, 0.4982057511806488, -0.2858649790287018, -0.3620872497558594, 0.5595797896385193, 0.2151658982038498, 0.22059229016304016, 0.18912839889526367, -0.018657518550753593, 0.27009549736976624, -0.08479902148246765, -0.4268134534358978, -0.038720425218343735, 0.836347758769989, 0.650496780872345, 0.3176514804363251, 0.13697922229766846, -0.06720316410064697, -0.03431962803006172, 0.17177340388298035, -1.2292776107788086, -0.20499515533447266, 0.1944936066865921, -0.7308797836303711, -0.35846519470214844, 0.043818291276693344, -0.835966944694519, -0.02560369484126568, -0.46571919322013855, 0.4074750244617462, -0.30124151706695557, -0.4894135594367981, 0.09106810390949249, -0.04889135807752609, 0.11664953082799911, 0.5082128047943115, -0.799811840057373, 0.38194459676742554, 0.5328925251960754, 0.4196890592575073, 0.6142991781234741, -0.02396218292415142, 0.047415342181921005, 0.12216272205114365, -0.5933681130409241, 0.7502187490463257, -0.18865898251533508, -0.36058905720710754, -0.5593999028205872, 0.20524561405181885, -0.0598393939435482, -0.7874586582183838, 0.42861267924308777, -0.18121160566806793, -0.011391973122954369, -0.39344432950019836, -0.49930012226104736, -0.5035268068313599, -0.1639089286327362, -0.8015607595443726, 0.639352023601532, 0.33920371532440186, -0.6569129824638367, 0.07801511138677597, -0.4156161844730377, 0.22084251046180725, 0.06548375636339188, 0.020595086738467216, -0.22379012405872345, 0.3550288677215576, -0.2984514534473419, 0.1673586368560791, -0.5518080592155457, -0.005440321285277605, -0.4858814775943756, -0.44395071268081665, 0.370390385389328, -0.15999330580234528, 0.7703062295913696, 0.4741019606590271, -0.34372657537460327, 0.28480422496795654, -1.030538558959961, 0.15042169392108917, 0.5149224996566772, 0.20537815988063812, -0.48127561807632446, -0.3392454981803894, 0.2400107979774475, 0.43385186791419983, 0.05808836966753006, -0.3412749767303467, 0.3300034701824188, -0.5534908175468445, 0.27076998353004456, 0.5709686279296875, 0.13813257217407227, 0.35254234075546265, -0.9373742938041687, 0.7184940576553345, -0.09142792224884033, 0.15216977894306183, -0.045422639697790146, -0.3860494792461395, -1.1100313663482666, -0.16111092269420624, 0.5562775135040283, 0.6181052923202515, -0.5574356913566589, 0.16385065019130707, -0.02447851374745369, -0.7334312796592712, -0.5095146298408508, 0.1980545073747635, 0.23272418975830078, 0.22916634380817413, 0.2884346842765808, -0.6537468433380127, -0.8126053214073181, -1.2438312768936157, 0.11999059468507767, -0.06368417292833328, -0.2857435643672943, 0.2858995199203491, 0.45772024989128113, -0.19809120893478394, 0.24951322376728058, -0.0990200787782669, -0.15170232951641083, -0.39964383840560913, -0.028501134365797043, 0.6916006803512573, 0.8825238347053528, 1.2387434244155884, -0.8593371510505676, -0.6686277389526367, 0.0008862985414452851, -0.9581912159919739, -0.3635194003582001, -0.04275306686758995, -0.409349262714386, -0.47800952196121216, 0.17209365963935852, -0.729956865310669, 0.5111114382743835, 0.29843083024024963, -0.290086567401886, 0.7012926936149597, -0.08469680696725845, 0.627561628818512, -1.717790961265564, -0.054964303970336914, -0.07590054720640182, -0.3877328634262085, -0.6328379511833191, 0.8053260445594788, -0.07634515315294266, -0.0687728300690651, -0.8416017889976501, 0.8336309790611267, -0.4506365954875946, 0.15698343515396118, -0.23561815917491913, -0.19353577494621277, 0.08696167171001434, 0.438960999250412, -0.2070317268371582, 0.3665478527545929, 0.5251160860061646, -0.13460537791252136, 0.6986857056617737, 0.38793426752090454, -0.13346664607524872, 0.723968505859375, -1.0344712734222412, 0.16153652966022491, -0.031461942940950394, 0.14774657785892487, -0.5250747203826904, -0.5067155361175537, 0.5297132730484009, -0.4314593970775604, 0.28721851110458374, -0.26512476801872253, -0.5711601376533508, -0.40077340602874756, -0.38973161578178406, 0.31497669219970703, 0.8719279766082764, -0.37821441888809204, 0.7622133493423462, 0.12950249016284943, -0.20254585146903992, -0.207122802734375, -0.7743731141090393, 0.13068252801895142, -0.6065543293952942, -0.6299614310264587, 0.44913461804389954, -0.19264429807662964, -0.513736367225647, 0.015415353700518608, -0.41823577880859375, -0.18741992115974426, -0.1673879325389862, 0.5840352177619934, 0.28499671816825867, -0.30332300066947937, -0.7982300519943237, 0.2990611791610718, -0.014557508751749992, -0.05371095985174179, -0.3497152626514435, 0.6324289441108704, -0.26757949590682983, -0.18151824176311493, -0.7170441746711731, 0.5904070138931274, 0.7841129302978516, 0.18751174211502075, 0.20080436766147614, 0.4889039695262909, -0.564217746257782, 0.08092844486236572, -0.6505731344223022, -0.21708695590496063, -0.4676415026187897, -0.221401646733284, -0.6550359129905701, -0.6819470524787903, 0.9162123799324036, -0.010732928290963173, 0.07322341948747635, 0.5095414519309998, 0.5289434790611267, -0.38607627153396606, 1.191623330116272, 0.3557114601135254, -0.05450689047574997, 0.1709844470024109, -0.8123151659965515, -0.04008826985955238, -0.6991528868675232, -0.3109831213951111, -0.42716071009635925, -0.8219818472862244, -0.6752009391784668, -0.6288072466850281, -0.015221704728901386, 0.3779607117176056, -0.12154267728328705, 1.0118787288665771, -0.12724719941616058, 0.3351081311702728, 0.5114113688468933, 0.1698419749736786, 0.19487571716308594, 0.07674483954906464, -0.15404219925403595, -0.45516422390937805, -0.7142910361289978, -0.27027761936187744, 0.6624202728271484, 0.2790628969669342, 0.6425586342811584, 0.3722139298915863, 1.1285079717636108, -0.18556131422519684, 0.30711692571640015, -0.6695113182067871, 0.9445503354072571, -0.2998376488685608, -0.551223635673523, 0.5378140211105347, -0.48255300521850586, -0.684137761592865, 0.4569479525089264, -0.3030216097831726, -0.5751124024391174, 0.5734618902206421, 0.03784128278493881, -0.3489350378513336, 0.5093910694122314, -0.21031062304973602, 0.783931314945221, -0.02350190095603466, -0.5339125394821167, -0.3614218235015869, -0.6191416382789612, 0.5761609077453613, 0.128592386841774, 0.1224706694483757, -0.23777331411838531, 0.10757185518741608, 0.6632943153381348, -0.751399576663971, 0.5435705780982971, 0.3126538395881653, 0.10662433505058289, 0.5453652143478394, 0.44580721855163574, 0.14778468012809753, 0.5006500482559204, 0.0865386351943016, 0.24712516367435455, -0.21868854761123657, -0.37279388308525085, -0.6685200929641724, 1.2122881412506104, -0.3879309296607971, -0.4529724717140198, -0.4924500584602356, -0.4119153916835785, 0.08614415675401688, 0.3147439658641815, 0.4230465590953827, 0.8047279715538025, 0.053781140595674515, 0.46253859996795654, 0.7125512361526489, 0.10553759336471558, 0.3957127332687378, 0.2470230609178543, -0.4327167868614197, -0.46558114886283875, 0.9013711214065552, -0.13398823142051697, 0.13786275684833527, 0.1849360316991806, 0.29593244194984436, 0.17711198329925537, -0.053434647619724274, -0.5505614280700684, 0.3275642693042755, -0.2990276515483856, -0.3220504820346832, -0.5151925683021545, -0.33987900614738464, -0.30727043747901917, -0.18736964464187622, -0.5150578022003174, -0.7659626007080078, -0.3848581910133362, 0.13722559809684753, 0.2930024266242981, 0.4674162268638611, -0.4128473699092865, 0.162975013256073, -0.9402399063110352, 0.25360581278800964, 0.5616053938865662, -0.026931535452604294, -0.12202991545200348, -0.5288220047950745, 0.29350516200065613, 0.04245573654770851, -0.1475440114736557, -1.0706350803375244, 0.7914704084396362, -0.08555857837200165, 0.32709401845932007, 0.211182102560997, -0.5058050155639648, 0.8809992074966431, -0.5114585161209106, 0.6622613668441772, 0.5743701457977295, -0.5394101738929749, 0.5782374143600464, -0.5700236558914185, 0.327906996011734, 0.6196930408477783, 0.3877890110015869, -0.4032421112060547, -0.3501618504524231, -1.0788967609405518, -0.9645360708236694, 0.4501916766166687, 0.5894227623939514, 0.40932416915893555, 0.2995774745941162, 0.30938413739204407, 0.11749132722616196, 0.4461054801940918, -0.542364776134491, -0.5641481280326843, -0.4162043631076813, -0.1583683341741562, 0.5301178097724915, -0.26526010036468506, 0.11342863738536835, -0.25896331667900085, 0.8866326808929443, 0.1548016518354416, 0.37039750814437866, -0.1758068948984146, 0.25493156909942627, -0.2950972616672516, 0.01875343546271324, 0.5296635627746582, 0.47577714920043945, -0.48547467589378357, -0.16893205046653748, -0.19939126074314117, -0.5444293022155762, 0.3618944585323334, -0.09147509187459946, -0.3134835958480835, 0.23268018662929535, 0.1637367606163025, 1.1014703512191772, 0.5513771772384644, -0.5141398906707764, 0.29336151480674744, -0.13463570177555084, -0.037859708070755005, -0.4080435037612915, 0.365807443857193, 0.08413958549499512, 0.508622944355011, 0.060687676072120667, 0.7392458319664001, 0.39982643723487854, -0.4802096486091614, 0.3875230848789215, -0.23688404262065887, -0.37081778049468994, -0.7789126634597778, 1.1773555278778076, -0.17574068903923035, -0.3228852450847626, 0.22506950795650482, -0.19471807777881622, -0.4493667185306549, 1.1067280769348145, 0.792677640914917, 1.095768690109253, -0.690834641456604, 0.20444320142269135, 0.6785463690757751, -0.13671360909938812, -0.3142220377922058, 0.7428760528564453, 0.11860238015651703, -0.3759756088256836, -0.3176119029521942, -0.7336984276771545, -0.2791934311389923, 0.5300992727279663, -0.7651782631874084, 0.6481887698173523, -0.8334022164344788, -0.023529555648565292, 0.05880409851670265, -0.3835375905036926, -0.42255792021751404, 0.38084876537323, -0.15218694508075714, 1.283180832862854, -1.0077135562896729, 0.9028359651565552, 0.8620442748069763, -0.4913761019706726, -1.065339207649231, -0.03671305999159813, 0.3968280851840973, -0.5556390881538391, 0.48949894309043884, 0.1095999926328659, 0.3487869203090668, 0.11395562440156937, -0.45136910676956177, -0.6389879584312439, 0.7425126433372498, 0.17213796079158783, -0.7850115299224854, 0.1827343851327896, -0.4000129699707031, 0.444995254278183, -0.6616195440292358, 0.4322516620159149, 0.5017278790473938, 0.5244778394699097, 0.627849817276001, -0.8408986926078796, -0.1886051595211029, -0.7708232998847961, 0.21567174792289734, 0.1473250687122345, -1.1040256023406982, 0.914837121963501, -0.3100094497203827, 0.17485839128494263, 0.8107879757881165, 1.030108094215393, 0.5081464648246765, 0.22421157360076904, 0.4286605715751648, 0.9120945930480957, -0.0691794827580452, -0.28067904710769653, 0.9416096210479736, -0.0340522862970829, 0.1643112599849701, 1.206950306892395, -0.2712862491607666, 0.44938957691192627, 0.1904222071170807, -0.2240433245897293, 0.7021488547325134, 0.616036593914032, -0.12211713194847107, 0.35596635937690735, 0.20360638201236725, -0.13859865069389343, -0.2834669053554535, -0.08899056911468506, -0.49758920073509216, 0.28642040491104126, 0.1345694214105606, -0.09766361862421036, -0.12965387105941772, 0.11377296596765518, 0.09742707014083862, 0.212528258562088, -0.23900079727172852, 0.5828220844268799, 0.4544288218021393, -0.28764423727989197, 0.5352328419685364, -0.006271939259022474, 0.46928638219833374, -0.6312351226806641, -0.36700060963630676, -0.771568775177002, -0.09632843732833862, -0.1410064697265625, -0.5299113988876343, 0.06266810745000839, -0.24376533925533295, -0.07202183455228806, -0.2654305398464203, 0.9801713824272156, -0.3167975842952728, -0.7020911574363708, 0.17658086121082306, 0.06716962158679962, 0.36081716418266296, 0.2864609658718109, -0.924334704875946, 0.4066186547279358, 0.23617172241210938, -0.2555766701698303, 0.17173202335834503, 0.0801311805844307, -0.1428862065076828, 0.5869559645652771, 0.4261764585971832, 0.4185073971748352, -0.13574106991291046, 0.4539889395236969, 0.6314690113067627, -0.42111125588417053, -0.4514310956001282, -0.5936155915260315, 0.5566253066062927, -0.15560640394687653, -0.17011919617652893, 0.9414846301078796, 0.5620094537734985, 0.5893579721450806, -0.5351207852363586, 0.6102071404457092, -0.29089510440826416, 0.23750197887420654, -0.3948332667350769, 0.6375192999839783, -1.147173285484314, 0.11981689929962158, -0.39774805307388306, -1.4392801523208618, -0.06169968843460083, 0.5707826614379883, 0.478341668844223, 0.16653947532176971, 0.1745762676000595, 0.6707760095596313, -0.46485909819602966, -0.004484045784920454, 0.22277863323688507, 0.4899177551269531, 0.007190101779997349, 0.6973168253898621, 0.7637766003608704, -0.9536253213882446, -0.15318302810192108, -0.6743109226226807, -0.38719168305397034, -0.5025620460510254, -0.8007084727287292, -0.6410394310951233, -0.43286433815956116, -0.44180047512054443, -0.40540987253189087, -0.21527190506458282, 0.9340617656707764, 0.9199228882789612, -1.14362370967865, -0.37728142738342285, 0.16305698454380035, 0.07933399826288223, -0.49541300535202026, -0.27318665385246277, -0.19855575263500214, 0.4532849192619324, -1.2434567213058472, 0.8001284599304199, 0.33991196751594543, 0.669289767742157, -0.08144291490316391, 0.2583369314670563, 0.09410464018583298, 0.33512723445892334, 0.2816399335861206, 0.3795476257801056, -0.42850106954574585, 0.021972758695483208, -0.009990493766963482, 0.10589322447776794, -0.1864018589258194, 0.8982574343681335, -0.4025019109249115, 0.09153448045253754, 0.9643542170524597, -0.03228190168738365, 0.5679652690887451, -0.07001661509275436, 0.3647913932800293, -0.5021162033081055, 0.6167622208595276, 0.16641965508460999, 0.42191067337989807, 0.05180288478732109, -0.08642862737178802, 0.6914713382720947, 0.4049503803253174, -0.38282522559165955, -0.7395513653755188, 0.35803577303886414, -1.344465732574463, -0.1367894858121872, 0.6185324788093567, 0.23419339954853058, -0.4819514751434326, 0.5518034100532532, -0.32370525598526, -0.17518627643585205, -0.20223963260650635, 0.382813423871994, 0.26746970415115356, -0.03871478885412216, -0.11828579753637314, -1.0024784803390503, 0.1195530816912651, 0.5605003833770752, -0.5577216744422913, -0.5842824578285217, 0.5952440500259399, 0.6067182421684265, 0.3901204466819763, 0.26848113536834717, -0.5308390855789185, 0.5010457634925842, -0.024122346192598343, 0.31542855501174927, -0.14956292510032654, -0.5203201174736023, 0.10137244313955307, -0.1442558318376541, -0.3177429735660553, -0.05956161767244339 ]
CompVis/stable-diffusion-v1-1
CompVis
2023-07-05T16:18:08Z
7,262
54
diffusers
[ "diffusers", "stable-diffusion", "stable-diffusion-diffusers", "text-to-image", "arxiv:2112.10752", "arxiv:2103.00020", "arxiv:2205.11487", "arxiv:2207.12598", "arxiv:1910.09700", "license:creativeml-openrail-m", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2022-08-19T10:24:23Z
--- license: creativeml-openrail-m tags: - stable-diffusion - stable-diffusion-diffusers - text-to-image inference: false extra_gated_prompt: |- This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage. The CreativeML OpenRAIL License specifies: 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content 2. The authors claim no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license 3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully) Please read the full license carefully here: https://huggingface.co/spaces/CompVis/stable-diffusion-license extra_gated_heading: Please read the LICENSE to access this model --- # Stable Diffusion v1-1 Model Card Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input. For more information about how Stable Diffusion functions, please have a look at [🤗's Stable Diffusion with D🧨iffusers blog](https://huggingface.co/blog/stable_diffusion). The **Stable-Diffusion-v1-1** was trained on 237,000 steps at resolution `256x256` on [laion2B-en](https://huggingface.co/datasets/laion/laion2B-en), followed by 194,000 steps at resolution `512x512` on [laion-high-resolution](https://huggingface.co/datasets/laion/laion-high-resolution) (170M examples from LAION-5B with resolution `>= 1024x1024`). For more information, please refer to [Training](#training). This weights here are intended to be used with the D🧨iffusers library. If you are looking for the weights to be loaded into the CompVis Stable Diffusion codebase, [come here](https://huggingface.co/CompVis/stable-diffusion-v-1-1-original) ## Model Details - **Developed by:** Robin Rombach, Patrick Esser - **Model type:** Diffusion-based text-to-image generation model - **Language(s):** English - **License:** [The CreativeML OpenRAIL M license](https://huggingface.co/spaces/CompVis/stable-diffusion-license) is an [Open RAIL M license](https://www.licenses.ai/blog/2022/8/18/naming-convention-of-responsible-ai-licenses), adapted from the work that [BigScience](https://bigscience.huggingface.co/) and [the RAIL Initiative](https://www.licenses.ai/) are jointly carrying in the area of responsible AI licensing. See also [the article about the BLOOM Open RAIL license](https://bigscience.huggingface.co/blog/the-bigscience-rail-license) on which our license is based. - **Model Description:** This is a model that can be used to generate and modify images based on text prompts. It is a [Latent Diffusion Model](https://arxiv.org/abs/2112.10752) that uses a fixed, pretrained text encoder ([CLIP ViT-L/14](https://arxiv.org/abs/2103.00020)) as suggested in the [Imagen paper](https://arxiv.org/abs/2205.11487). - **Resources for more information:** [GitHub Repository](https://github.com/CompVis/stable-diffusion), [Paper](https://arxiv.org/abs/2112.10752). - **Cite as:** @InProceedings{Rombach_2022_CVPR, author = {Rombach, Robin and Blattmann, Andreas and Lorenz, Dominik and Esser, Patrick and Ommer, Bj\"orn}, title = {High-Resolution Image Synthesis With Latent Diffusion Models}, booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)}, month = {June}, year = {2022}, pages = {10684-10695} } ## Examples We recommend using [🤗's Diffusers library](https://github.com/huggingface/diffusers) to run Stable Diffusion. ```bash pip install --upgrade diffusers transformers scipy ``` Running the pipeline with the default PNDM scheduler: ```python import torch from torch import autocast from diffusers import StableDiffusionPipeline model_id = "CompVis/stable-diffusion-v1-1" device = "cuda" pipe = StableDiffusionPipeline.from_pretrained(model_id) pipe = pipe.to(device) prompt = "a photo of an astronaut riding a horse on mars" with autocast("cuda"): image = pipe(prompt)["sample"][0] image.save("astronaut_rides_horse.png") ``` **Note**: If you are limited by GPU memory and have less than 10GB of GPU RAM available, please make sure to load the StableDiffusionPipeline in float16 precision instead of the default float32 precision as done above. You can do so by telling diffusers to expect the weights to be in float16 precision: ```py import torch pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) pipe = pipe.to(device) prompt = "a photo of an astronaut riding a horse on mars" with autocast("cuda"): image = pipe(prompt, guidance_scale=7.5)["sample"][0] image.save("astronaut_rides_horse.png") ``` To swap out the noise scheduler, pass it to `from_pretrained`: ```python from diffusers import StableDiffusionPipeline, LMSDiscreteScheduler model_id = "CompVis/stable-diffusion-v1-1" # Use the K-LMS scheduler here instead scheduler = LMSDiscreteScheduler(beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", num_train_timesteps=1000) pipe = StableDiffusionPipeline.from_pretrained(model_id, scheduler=scheduler, use_auth_token=True) pipe = pipe.to("cuda") prompt = "a photo of an astronaut riding a horse on mars" with autocast("cuda"): image = pipe(prompt, guidance_scale=7.5)["sample"][0] image.save("astronaut_rides_horse.png") ``` # Uses ## Direct Use The model is intended for research purposes only. Possible research areas and tasks include - Safe deployment of models which have the potential to generate harmful content. - Probing and understanding the limitations and biases of generative models. - Generation of artworks and use in design and other artistic processes. - Applications in educational or creative tools. - Research on generative models. Excluded uses are described below. ### Misuse, Malicious Use, and Out-of-Scope Use _Note: This section is taken from the [DALLE-MINI model card](https://huggingface.co/dalle-mini/dalle-mini), but applies in the same way to Stable Diffusion v1_. The model should not be used to intentionally create or disseminate images that create hostile or alienating environments for people. This includes generating images that people would foreseeably find disturbing, distressing, or offensive; or content that propagates historical or current stereotypes. #### Out-of-Scope Use The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model. #### Misuse and Malicious Use Using the model to generate content that is cruel to individuals is a misuse of this model. This includes, but is not limited to: - Generating demeaning, dehumanizing, or otherwise harmful representations of people or their environments, cultures, religions, etc. - Intentionally promoting or propagating discriminatory content or harmful stereotypes. - Impersonating individuals without their consent. - Sexual content without consent of the people who might see it. - Mis- and disinformation - Representations of egregious violence and gore - Sharing of copyrighted or licensed material in violation of its terms of use. - Sharing content that is an alteration of copyrighted or licensed material in violation of its terms of use. ## Limitations and Bias ### Limitations - The model does not achieve perfect photorealism - The model cannot render legible text - The model does not perform well on more difficult tasks which involve compositionality, such as rendering an image corresponding to “A red cube on top of a blue sphere” - Faces and people in general may not be generated properly. - The model was trained mainly with English captions and will not work as well in other languages. - The autoencoding part of the model is lossy - The model was trained on a large-scale dataset [LAION-5B](https://laion.ai/blog/laion-5b/) which contains adult material and is not fit for product use without additional safety mechanisms and considerations. - No additional measures were used to deduplicate the dataset. As a result, we observe some degree of memorization for images that are duplicated in the training data. The training data can be searched at [https://rom1504.github.io/clip-retrieval/](https://rom1504.github.io/clip-retrieval/) to possibly assist in the detection of memorized images. ### Bias While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases. Stable Diffusion v1 was trained on subsets of [LAION-2B(en)](https://laion.ai/blog/laion-5b/), which consists of images that are primarily limited to English descriptions. Texts and images from communities and cultures that use other languages are likely to be insufficiently accounted for. This affects the overall output of the model, as white and western cultures are often set as the default. Further, the ability of the model to generate content with non-English prompts is significantly worse than with English-language prompts. ## Training ### Training Data The model developers used the following dataset for training the model: - LAION-2B (en) and subsets thereof (see next section) ### Training Procedure Stable Diffusion v1-4 is a latent diffusion model which combines an autoencoder with a diffusion model that is trained in the latent space of the autoencoder. During training, - Images are encoded through an encoder, which turns images into latent representations. The autoencoder uses a relative downsampling factor of 8 and maps images of shape H x W x 3 to latents of shape H/f x W/f x 4 - Text prompts are encoded through a ViT-L/14 text-encoder. - The non-pooled output of the text encoder is fed into the UNet backbone of the latent diffusion model via cross-attention. - The loss is a reconstruction objective between the noise that was added to the latent and the prediction made by the UNet. We currently provide four checkpoints, which were trained as follows. - [`stable-diffusion-v1-1`](https://huggingface.co/CompVis/stable-diffusion-v1-1): 237,000 steps at resolution `256x256` on [laion2B-en](https://huggingface.co/datasets/laion/laion2B-en). 194,000 steps at resolution `512x512` on [laion-high-resolution](https://huggingface.co/datasets/laion/laion-high-resolution) (170M examples from LAION-5B with resolution `>= 1024x1024`). - [`stable-diffusion-v1-2`](https://huggingface.co/CompVis/stable-diffusion-v1-2): Resumed from `stable-diffusion-v1-1`. 515,000 steps at resolution `512x512` on "laion-improved-aesthetics" (a subset of laion2B-en, filtered to images with an original size `>= 512x512`, estimated aesthetics score `> 5.0`, and an estimated watermark probability `< 0.5`. The watermark estimate is from the LAION-5B metadata, the aesthetics score is estimated using an [improved aesthetics estimator](https://github.com/christophschuhmann/improved-aesthetic-predictor)). - [`stable-diffusion-v1-3`](https://huggingface.co/CompVis/stable-diffusion-v1-3): Resumed from `stable-diffusion-v1-2`. 195,000 steps at resolution `512x512` on "laion-improved-aesthetics" and 10 % dropping of the text-conditioning to improve [classifier-free guidance sampling](https://arxiv.org/abs/2207.12598). - [**`stable-diffusion-v1-4`**](https://huggingface.co/CompVis/stable-diffusion-v1-4) Resumed from `stable-diffusion-v1-2`.225,000 steps at resolution `512x512` on "laion-aesthetics v2 5+" and 10 % dropping of the text-conditioning to improve [classifier-free guidance sampling](https://arxiv.org/abs/2207.12598). ### Training details - **Hardware:** 32 x 8 x A100 GPUs - **Optimizer:** AdamW - **Gradient Accumulations**: 2 - **Batch:** 32 x 8 x 2 x 4 = 2048 - **Learning rate:** warmup to 0.0001 for 10,000 steps and then kept constant ## Evaluation Results Evaluations with different classifier-free guidance scales (1.5, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0) and 50 PLMS sampling steps show the relative improvements of the checkpoints: ![pareto](https://huggingface.co/CompVis/stable-diffusion/resolve/main/v1-variants-scores.jpg) Evaluated using 50 PLMS steps and 10000 random prompts from the COCO2017 validation set, evaluated at 512x512 resolution. Not optimized for FID scores. ## Environmental Impact **Stable Diffusion v1** **Estimated Emissions** Based on that information, we estimate the following CO2 emissions using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700). The hardware, runtime, cloud provider, and compute region were utilized to estimate the carbon impact. - **Hardware Type:** A100 PCIe 40GB - **Hours used:** 150000 - **Cloud Provider:** AWS - **Compute Region:** US-east - **Carbon Emitted (Power consumption x Time x Carbon produced based on location of power grid):** 11250 kg CO2 eq. ## Citation ```bibtex @InProceedings{Rombach_2022_CVPR, author = {Rombach, Robin and Blattmann, Andreas and Lorenz, Dominik and Esser, Patrick and Ommer, Bj\"orn}, title = {High-Resolution Image Synthesis With Latent Diffusion Models}, booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)}, month = {June}, year = {2022}, pages = {10684-10695} } ``` *This model card was written by: Robin Rombach and Patrick Esser and is based on the [DALL-E Mini model card](https://huggingface.co/dalle-mini/dalle-mini).*
[ -0.360577255487442, -0.7705780267715454, 0.327597051858902, 0.23921507596969604, -0.2743139863014221, -0.38040411472320557, 0.009590156376361847, -0.2975394129753113, -0.011306565254926682, 0.419602632522583, -0.31952157616615295, -0.5052962303161621, -0.6998948454856873, -0.18945617973804474, -0.3764641582965851, 0.8369079232215881, -0.1694878786802292, -0.0032830212730914354, -0.13333864510059357, -0.10838869959115982, -0.23923039436340332, -0.2827461361885071, -0.9024930596351624, -0.23733557760715485, 0.5523826479911804, 0.08046652376651764, 0.6049216985702515, 0.6131900548934937, 0.49863818287849426, 0.3025423586368561, -0.2156328558921814, 0.0203920416533947, -0.5063439011573792, -0.09807436168193817, 0.04527583718299866, -0.26880770921707153, -0.5203099250793457, 0.17452304065227509, 0.6794396638870239, 0.27144524455070496, -0.1535557508468628, 0.025888564065098763, -0.006631078664213419, 0.5822451710700989, -0.5306811332702637, -0.03426336124539375, -0.29539310932159424, 0.15326443314552307, -0.10011150687932968, 0.09297621250152588, -0.3564710021018982, -0.19384267926216125, 0.09910683333873749, -0.851777970790863, 0.3577187955379486, -0.23016518354415894, 1.1461721658706665, 0.3555797040462494, -0.25744056701660156, -0.23012767732143402, -0.649937629699707, 0.6545612812042236, -0.6477862596511841, 0.21007561683654785, 0.3398403227329254, 0.09695004671812057, 0.04574856162071228, -1.0975031852722168, -0.6182891130447388, -0.1753673106431961, -0.043429844081401825, 0.4301149249076843, -0.19548504054546356, -0.025908030569553375, 0.3571150004863739, 0.22456546127796173, -0.5842998623847961, -0.055720940232276917, -0.5596070289611816, -0.04613279178738594, 0.6320685148239136, 0.08717133104801178, 0.30758029222488403, -0.16166430711746216, -0.44587624073028564, -0.1770365983247757, -0.4566227197647095, -0.05643274635076523, 0.3356279730796814, -0.24413469433784485, -0.3856671452522278, 0.44106003642082214, 0.222176194190979, 0.51055908203125, 0.2873210310935974, -0.12705370783805847, 0.3870648741722107, -0.22088420391082764, -0.26681822538375854, -0.3420211970806122, 0.941055178642273, 0.48537227511405945, -0.0050976029597222805, 0.08803042024374008, -0.13048848509788513, 0.059568408876657486, 0.047874566167593, -1.120500087738037, -0.5316014289855957, 0.1293928474187851, -0.6527205109596252, -0.466753751039505, -0.19139181077480316, -0.8100136518478394, -0.22254090011119843, 0.06774862855672836, 0.6328046321868896, -0.43392226099967957, -0.44435831904411316, 0.12557858228683472, -0.3092021346092224, 0.09364431351423264, 0.4057215750217438, -0.6277104020118713, 0.04444152116775513, -0.056577328592538834, 1.0569111108779907, -0.25790533423423767, -0.20278871059417725, -0.0548810251057148, 0.12518562376499176, -0.2697955369949341, 0.6160000562667847, -0.1742250621318817, -0.6002103686332703, -0.3098313510417938, 0.3571995496749878, 0.00473441556096077, -0.5793415904045105, 0.5598582029342651, -0.4752751886844635, 0.2784566581249237, -0.04537218436598778, -0.5149185657501221, -0.19992713630199432, 0.0127370934933424, -0.6661178469657898, 0.9620424509048462, 0.21226553618907928, -0.867887020111084, 0.2355072945356369, -0.6956984996795654, -0.2040157914161682, -0.06094328686594963, -0.007702045142650604, -0.7226624488830566, -0.27220630645751953, 0.04973519220948219, 0.3930124342441559, -0.024588391184806824, 0.16435162723064423, -0.21452809870243073, -0.18037840723991394, -0.021591365337371826, -0.5158310532569885, 1.0395278930664062, 0.38929638266563416, -0.34104377031326294, 0.06428036838769913, -0.6535979509353638, -0.2541639506816864, 0.4234159290790558, -0.28875067830085754, -0.1802099198102951, -0.15750932693481445, 0.2823626399040222, 0.2732202112674713, 0.15238776803016663, -0.41116759181022644, 0.10529044270515442, -0.2722899913787842, 0.4646611213684082, 0.747299075126648, 0.2510526478290558, 0.6282906532287598, -0.454415887594223, 0.5194985866546631, 0.36179155111312866, 0.22667306661605835, -0.24981756508350372, -0.6583088040351868, -0.7221728563308716, -0.43559181690216064, 0.16437317430973053, 0.5197116136550903, -0.7183448076248169, 0.34353235363960266, -0.013771116733551025, -0.7229405641555786, -0.2566433846950531, -0.021312745288014412, 0.17068584263324738, 0.7116745114326477, 0.3504399061203003, -0.40255212783813477, -0.31949928402900696, -0.731448233127594, 0.25914692878723145, -0.06700079143047333, 0.1160808578133583, 0.3328164219856262, 0.65566086769104, -0.27216944098472595, 0.548471212387085, -0.5298435091972351, -0.33996883034706116, 0.16761605441570282, 0.2505437731742859, 0.14546900987625122, 0.7849884629249573, 0.7421613931655884, -0.8750302791595459, -0.6805090308189392, -0.19659832119941711, -0.8736445307731628, 0.04930895194411278, -0.148520365357399, -0.2997896671295166, 0.2884078621864319, 0.521922767162323, -0.829103410243988, 0.5721799731254578, 0.4565792977809906, -0.32349711656570435, 0.5218941569328308, -0.4794626832008362, 0.1355201005935669, -0.9847240447998047, 0.21424278616905212, 0.24338972568511963, -0.34266045689582825, -0.46541908383369446, 0.03544372692704201, -0.08831063657999039, -0.09473519772291183, -0.6745250821113586, 0.7750561237335205, -0.4213732182979584, 0.4620817005634308, -0.27273792028427124, -0.03377128392457962, 0.1260935664176941, 0.3029663562774658, 0.3072645664215088, 0.6073701977729797, 0.9050438404083252, -0.6684820055961609, 0.26463809609413147, 0.2566017806529999, -0.24651280045509338, 0.5296028256416321, -0.8809745907783508, 0.13234081864356995, -0.4115699231624603, 0.2543308436870575, -0.9817494750022888, -0.1320021003484726, 0.5819903016090393, -0.3949095904827118, 0.41182106733322144, -0.21135999262332916, -0.4700389802455902, -0.39190515875816345, -0.0700342133641243, 0.5652702450752258, 0.9029701352119446, -0.387140154838562, 0.4804547429084778, 0.36571505665779114, 0.1218903437256813, -0.42165544629096985, -0.790142834186554, -0.13712303340435028, -0.4112759232521057, -0.7563101649284363, 0.522279679775238, -0.28250765800476074, -0.06755344569683075, 0.1412809044122696, 0.2238396555185318, -0.10731339454650879, -0.13929060101509094, 0.34878605604171753, 0.2653474509716034, -0.035139862447977066, -0.05381094664335251, 0.023674756288528442, -0.08869985491037369, -0.026987027376890182, -0.19564005732536316, 0.32637810707092285, 0.0992627739906311, -0.1584625244140625, -0.6850337386131287, 0.2766116261482239, 0.5452556610107422, 0.10479726642370224, 0.8186776041984558, 0.9455891251564026, -0.45339903235435486, -0.0193049143999815, -0.35440653562545776, -0.2004077285528183, -0.5002932548522949, 0.33749139308929443, -0.1427793949842453, -0.43444588780403137, 0.6424844264984131, 0.036783888936042786, 0.006925622466951609, 0.6310349106788635, 0.7533918023109436, -0.27541977167129517, 1.0012511014938354, 0.46406275033950806, 0.30343979597091675, 0.693794846534729, -0.8301903605461121, -0.10705848783254623, -0.7338734269142151, -0.25064516067504883, -0.16316533088684082, -0.3075893521308899, -0.3651884198188782, -0.6697694063186646, 0.4239637553691864, 0.18261250853538513, -0.31720083951950073, 0.1464734822511673, -0.6466748118400574, 0.3237060010433197, 0.32900863885879517, 0.28335127234458923, 0.06402979791164398, 0.1317140907049179, -0.048306990414857864, -0.15422391891479492, -0.7569704055786133, -0.6123520135879517, 1.0068951845169067, 0.4370849132537842, 0.9879592061042786, -0.13141599297523499, 0.5741649270057678, 0.394273579120636, 0.4209117591381073, -0.4556195139884949, 0.5342085957527161, -0.25151410698890686, -0.7000142335891724, -0.15561524033546448, -0.26371121406555176, -0.9600069522857666, 0.17773663997650146, -0.20644372701644897, -0.3967124819755554, 0.4275516867637634, 0.3187211751937866, -0.23197411000728607, 0.42996424436569214, -0.7719049453735352, 0.944886326789856, -0.1560494303703308, -0.6404259204864502, -0.06755881011486053, -0.5943142771720886, 0.31129398941993713, 0.04262581095099449, 0.13657240569591522, 0.0264545027166605, -0.058601200580596924, 0.8484183549880981, -0.3262442946434021, 0.8409005999565125, -0.4187471270561218, 0.05414993688464165, 0.519428551197052, -0.08913886547088623, 0.38499119877815247, 0.09055554866790771, -0.10761061310768127, 0.2995317280292511, 0.17956016957759857, -0.43700096011161804, -0.2726426422595978, 0.6971027255058289, -0.9511634707450867, -0.33078664541244507, -0.41241616010665894, -0.4322763681411743, 0.5265499949455261, 0.2463875412940979, 0.8154630661010742, 0.2639111280441284, -0.16689959168434143, -0.025240307673811913, 0.7816559076309204, -0.36857473850250244, 0.42548176646232605, 0.2280903160572052, -0.33529049158096313, -0.49328339099884033, 0.859848141670227, 0.2601284086704254, 0.45599663257598877, -0.0982503667473793, 0.10119681060314178, -0.20761005580425262, -0.484579861164093, -0.5067023038864136, 0.33993855118751526, -0.883058488368988, -0.1206037774682045, -0.728043258190155, -0.387843519449234, -0.32202035188674927, -0.1460520476102829, -0.3990916907787323, -0.3357376456260681, -0.8702350854873657, 0.15399564802646637, 0.2630569338798523, 0.5283560156822205, -0.2954353392124176, 0.47189247608184814, -0.46098408102989197, 0.3574778735637665, 0.16611570119857788, 0.21798209846019745, 0.05197085440158844, -0.7726049423217773, -0.2858308255672455, 0.08940079063177109, -0.6602724194526672, -0.8503947854042053, 0.4874480962753296, 0.11852968484163284, 0.5863837599754333, 0.41011783480644226, -0.15892194211483002, 0.560021162033081, -0.448700875043869, 0.945475697517395, 0.3084145784378052, -0.5756286978721619, 0.5776463747024536, -0.4152733087539673, 0.1271606683731079, 0.17540881037712097, 0.5415576696395874, -0.2738364636898041, -0.3184589147567749, -0.8028216361999512, -0.8921909928321838, 0.5566339492797852, 0.38909488916397095, 0.23848111927509308, -0.01036553643643856, 0.6788088083267212, -0.05016591399908066, -0.018474765121936798, -1.0724895000457764, -0.5576891899108887, -0.3659050762653351, -0.028200378641486168, 0.020146487280726433, -0.10969021171331406, -0.13350190222263336, -0.5703606605529785, 0.8880741000175476, 0.16162070631980896, 0.5159463882446289, 0.48919743299484253, -0.04092918708920479, -0.3528645932674408, -0.3271847665309906, 0.5037405490875244, 0.4517076313495636, -0.2010570913553238, -0.013697195798158646, -0.08175595849752426, -0.5330801010131836, 0.25444477796554565, 0.13706232607364655, -0.5383549928665161, 0.09353616833686829, 0.015018911100924015, 0.773975670337677, -0.3329223394393921, -0.40817877650260925, 0.553008496761322, -0.1517629772424698, -0.3779693841934204, -0.4989520311355591, 0.09659111499786377, 0.13845939934253693, 0.2561367452144623, 0.1784781664609909, 0.3854672312736511, 0.06257988512516022, -0.24831043183803558, 0.12894472479820251, 0.5461689829826355, -0.25553810596466064, -0.27812743186950684, 1.0564404726028442, 0.01457713171839714, -0.21791988611221313, 0.4990844428539276, -0.42396557331085205, -0.2002677023410797, 0.7614818811416626, 0.5935879945755005, 0.7598242163658142, -0.1935981959104538, 0.3702739179134369, 0.7007517218589783, 0.3000797927379608, -0.2917735278606415, 0.1683151125907898, 0.2315347045660019, -0.6928067803382874, -0.07758352160453796, -0.37702837586402893, 0.001249038497917354, 0.20539432764053345, -0.37841516733169556, 0.524440586566925, -0.46896234154701233, -0.4421718716621399, 0.010015643201768398, -0.29549258947372437, -0.6459739208221436, 0.21156617999076843, 0.3275025188922882, 0.7860509753227234, -0.9613259434700012, 0.792778730392456, 0.6892772912979126, -0.723211944103241, -0.5835079550743103, -0.0675533190369606, -0.25408807396888733, -0.38789093494415283, 0.6560220122337341, -0.041386209428310394, 0.06320280581712723, 0.18078958988189697, -0.8730840682983398, -0.761146068572998, 1.2602838277816772, 0.3825722634792328, -0.2398446500301361, -0.09022215008735657, -0.18394514918327332, 0.5595361590385437, -0.4260963797569275, 0.2833782434463501, 0.18483252823352814, 0.40590763092041016, 0.39879775047302246, -0.5617170333862305, 0.029237834736704826, -0.267505407333374, 0.1538296639919281, -0.1848393827676773, -0.8513683080673218, 1.0687724351882935, -0.3027826249599457, -0.3161720633506775, 0.28156647086143494, 0.6078745722770691, 0.25991392135620117, 0.29834187030792236, 0.43954741954803467, 0.8430696129798889, 0.5694747567176819, -0.02617112174630165, 0.9724500775337219, -0.11246035248041153, 0.5657796263694763, 0.7429142594337463, 0.025030145421624184, 0.5415477752685547, 0.4514238238334656, -0.18564373254776, 0.5832694172859192, 0.6974193453788757, -0.29053324460983276, 0.7347702383995056, 0.10730783641338348, -0.2668076753616333, -0.09369239211082458, 0.07643178850412369, -0.5054301023483276, -0.004771724343299866, 0.33345139026641846, -0.6621334552764893, -0.14001838862895966, 0.2566302418708801, -0.08480168879032135, -0.1997326910495758, -0.15280357003211975, 0.4428550899028778, 0.09645000100135803, -0.41571754217147827, 0.781292200088501, 0.05381754785776138, 0.838876485824585, -0.49051177501678467, -0.1147775799036026, -0.037558142095804214, 0.1703665852546692, -0.2368106096982956, -0.7612091898918152, 0.36034369468688965, -0.20761622488498688, -0.17228075861930847, -0.25451526045799255, 0.7350239753723145, -0.433444082736969, -0.6405721306800842, 0.25386545062065125, 0.2885902225971222, 0.3705670237541199, 0.13474294543266296, -1.0219968557357788, 0.1684219390153885, -0.12286427617073059, -0.42196527123451233, 0.16494953632354736, 0.21502459049224854, 0.2715279161930084, 0.6598290205001831, 0.4391012489795685, 0.0875563696026802, 0.21492783725261688, -0.16780951619148254, 0.7740786075592041, -0.34220999479293823, -0.35095593333244324, -0.7162891030311584, 0.7531068325042725, -0.010617338120937347, -0.19757197797298431, 0.6693129539489746, 0.6368929147720337, 0.6536375284194946, -0.2602449059486389, 0.8155616521835327, -0.2946099638938904, 0.08111672103404999, -0.4819929301738739, 0.9269182085990906, -0.809291660785675, 0.1312161237001419, -0.35060223937034607, -0.7277233600616455, -0.2146400809288025, 0.9332167506217957, -0.24385042488574982, 0.3047845661640167, 0.4766424298286438, 1.0207306146621704, -0.2600696086883545, -0.36858081817626953, 0.2925311326980591, 0.3036651015281677, 0.3445269465446472, 0.3313288986682892, 0.765579342842102, -0.7619697451591492, 0.4764151871204376, -0.4631764590740204, -0.16834990680217743, 0.03463774546980858, -0.8912582993507385, -0.7753944396972656, -0.7146841287612915, -0.8053068518638611, -0.724547803401947, -0.08940733969211578, 0.5207766890525818, 1.0207695960998535, -0.48012688755989075, -0.10808775573968887, -0.2740556299686432, 0.028927700594067574, 0.00518791051581502, -0.27066776156425476, 0.4246159493923187, 0.015243154019117355, -0.8532639741897583, -0.12804573774337769, 0.17334063351154327, 0.5526401996612549, -0.43959373235702515, -0.24650339782238007, -0.3503865599632263, -0.07675211131572723, 0.4297758936882019, 0.2792792320251465, -0.5778789520263672, 0.011045417748391628, -0.13022586703300476, -0.18975648283958435, 0.2070665806531906, 0.3366124927997589, -0.6452075839042664, 0.5034492015838623, 0.4850657880306244, 0.12820537388324738, 0.8760712742805481, -0.07978186756372452, 0.05487177520990372, -0.5235800743103027, 0.40298357605934143, 0.2149261087179184, 0.32189661264419556, 0.2898503541946411, -0.46996617317199707, 0.43269360065460205, 0.5918471217155457, -0.8686192035675049, -0.696338415145874, 0.06627076119184494, -1.1237735748291016, -0.24559156596660614, 1.1941657066345215, -0.3080010712146759, -0.29766181111335754, 0.14307431876659393, -0.4006638824939728, 0.3197595775127411, -0.21969379484653473, 0.6023935079574585, 0.5845932364463806, -0.15839792788028717, -0.4771423935890198, -0.6231790781021118, 0.4862310588359833, 0.08904682844877243, -0.6395415663719177, -0.2390967607498169, 0.5970683097839355, 0.7014977335929871, 0.2851812541484833, 0.9777203798294067, -0.2740136981010437, 0.23200704157352448, 0.04811571165919304, 0.17134085297584534, 0.10294514894485474, -0.09785106778144836, -0.36900657415390015, -0.018679749220609665, -0.06381483376026154, -0.1892123520374298 ]
vilm/vietcuna-7b-v3
vilm
2023-11-07T05:11:25Z
7,258
6
transformers
[ "transformers", "pytorch", "safetensors", "bloom", "text-generation", "dataset:vilm/OpenOrca-Viet", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-08-05T10:48:56Z
--- datasets: - vilm/OpenOrca-Viet --- Vietcuna-7B v3.0 Prompt Template: ``` Một cuộc trò chuyện giữa một người dùng tò mò và một trợ lý trí tuệ nhân tạo. Trợ lý đưa ra các câu trả lời hữu ích, chi tiết và lịch sự cho các câu hỏi của người dùng.\n\n### Human: {human_message}\n\n### Assistant:" ```
[ 0.09288786351680756, -0.8425002098083496, 0.5860000848770142, 0.48036327958106995, -0.6309056878089905, 0.098550945520401, 0.2932075560092926, 0.08672945946455002, 0.5704164505004883, 0.7423267364501953, -0.5632246136665344, -0.6468061804771423, -0.25070592761039734, 0.4193524122238159, -0.03290589898824692, 0.7448346018791199, 0.179888054728508, 0.12269376963376999, -0.08689877390861511, 0.009622695855796337, -1.1610010862350464, -0.5508090853691101, -1.1192684173583984, -0.2174685001373291, 0.8427304029464722, 1.0541698932647705, 0.3150312602519989, 0.43455207347869873, 0.02526749111711979, 0.3027498722076416, -0.19968508183956146, 0.4684174358844757, -0.3343283236026764, 0.01208897028118372, -0.20523583889007568, -0.56865394115448, -0.6139780879020691, -0.14562851190567017, 0.33143851161003113, 0.35392507910728455, 0.06192542985081673, 0.001612426363863051, -0.29569968581199646, 0.611940324306488, -0.5528126955032349, 0.5132237076759338, -0.2893888056278229, -0.017225701361894608, 0.03939705342054367, -0.315403014421463, -0.4732857346534729, -0.656426191329956, -0.12996383011341095, -0.7775039672851562, -0.14695525169372559, -0.02258383296430111, 0.939489483833313, -0.20713675022125244, -0.9011500477790833, -0.38897067308425903, -0.31120914220809937, 0.4714895486831665, -0.34298330545425415, -0.13082873821258545, 0.6095728278160095, 0.6560205817222595, -0.18592378497123718, -0.885553777217865, -0.6038092970848083, -0.2916416823863983, -0.05626862496137619, 0.46086087822914124, 0.13027870655059814, -0.0792761743068695, 0.0520627424120903, -0.0159454382956028, -0.3414890170097351, -0.008554521016776562, -0.9597038626670837, -0.1763305366039276, 0.028480807319283485, 0.5600615739822388, 0.32974210381507874, -0.27338844537734985, -0.5522987842559814, -0.05666731297969818, -0.36452731490135193, 0.14790460467338562, 0.16157035529613495, 0.3089834451675415, -0.5104472637176514, 0.7073060274124146, -0.06628966331481934, 0.943728506565094, 0.11047875136137009, 0.1523764729499817, -0.021803822368383408, -0.16018584370613098, -0.3281742036342621, 0.07746947556734085, 0.7982618808746338, 0.5884190797805786, 0.09640371054410934, -0.057192541658878326, -0.0750940814614296, 0.2577976882457733, 0.23744048178195953, -0.10340786725282669, -0.4026779532432556, 0.24109764397144318, -0.38696205615997314, -0.4406508803367615, 0.8643159866333008, -0.765884280204773, -0.6590766310691833, 0.012789417989552021, -0.24496839940547943, -0.03345270827412605, -0.11076347529888153, 0.02808448299765587, -0.2922360897064209, 0.4651253819465637, 0.6139456033706665, -0.7780004143714905, -0.09093420207500458, 0.2738644480705261, 0.756872296333313, -0.15808168053627014, -0.1190265491604805, -1.0053150653839111, 0.2887845039367676, -0.10301552712917328, 0.8440445065498352, -0.25535082817077637, -0.907181978225708, 0.15837045013904572, 0.3312597870826721, 0.1112813875079155, -0.5470283031463623, 0.3095743954181671, -0.06848236918449402, 0.32142651081085205, -0.4812222421169281, -0.007400947622954845, -0.18108221888542175, 0.10340240597724915, -0.797448992729187, 0.9158008098602295, 0.9895250797271729, -0.6007406711578369, -0.2776334583759308, -0.8066932559013367, -0.3056681752204895, 0.2554662227630615, -0.09467106312513351, -0.08490611612796783, 0.30427736043930054, -0.04712873697280884, 0.35984745621681213, -0.41816040873527527, 0.003938073292374611, -0.12127389013767242, -0.34558039903640747, 0.1478051096200943, -0.13168220221996307, 1.4245368242263794, 0.43591368198394775, -0.3674744963645935, 0.4391053020954132, -0.8171191215515137, -0.2524329721927643, 0.09699069708585739, -0.2640003561973572, 0.2600049674510956, -0.8711791634559631, 0.31671756505966187, 0.4628947377204895, 0.7120749354362488, -0.13697873055934906, 0.939113974571228, -0.05931134149432182, 0.4985356032848358, 0.9341317415237427, 0.1632838100194931, 0.4866197407245636, -0.4470120966434479, 0.747604250907898, 0.22396568953990936, 0.15174761414527893, 0.24468670785427094, -0.5303201079368591, -0.9404374361038208, 0.060745641589164734, -0.4268798828125, 1.0803343057632446, -1.047196388244629, 0.6293043494224548, 0.19556541740894318, -0.7232666015625, -0.34699904918670654, -0.236069917678833, 0.18429189920425415, 0.5727338194847107, 0.34112048149108887, -0.23285019397735596, -0.7826496958732605, -0.602790892124176, 0.20845043659210205, -0.7622321844100952, 0.032539788633584976, 0.514613687992096, 0.4436669647693634, -0.48690924048423767, 0.7499316334724426, -0.5664515495300293, -0.24701499938964844, -0.422375351190567, -0.139082670211792, 0.34513911604881287, 0.2800270915031433, 0.3649822175502777, -0.6915714740753174, -0.3293105661869049, 0.140945702791214, -0.7431101202964783, -0.374991774559021, -0.44951388239860535, -0.37717777490615845, 0.008454494178295135, 0.4188574552536011, -0.5778868198394775, 0.8104597330093384, 0.38890448212623596, -0.8303777575492859, 0.984032928943634, -0.4738711714744568, 0.20303310453891754, -1.3782051801681519, -0.08092733472585678, -0.48117974400520325, -0.20424875617027283, -0.4530198574066162, -0.138192817568779, -0.0958777442574501, 0.261485755443573, -1.0734083652496338, 0.9190478324890137, -0.832351565361023, 0.26696038246154785, -0.26993194222450256, 0.13823090493679047, 0.40279316902160645, 0.2143886834383011, -0.10962031781673431, 0.683530867099762, 0.8115416765213013, -0.7566813230514526, 1.455958366394043, 0.5586633682250977, 0.29947108030319214, 0.8249359130859375, -0.9200931191444397, 0.2999548316001892, 0.03559131547808647, 0.4961249828338623, -0.809208869934082, -0.381509006023407, 0.7013943791389465, -0.5753328204154968, 0.027432620525360107, 0.24969428777694702, -0.24498769640922546, -0.6207655668258667, -0.2969510555267334, 0.4143594205379486, 0.27966466546058655, -0.2922147512435913, 0.7086342573165894, -0.02870192937552929, 0.5978442430496216, -0.13790172338485718, -0.7598156332969666, 0.4078320264816284, -0.3917781710624695, -0.4756508469581604, -0.30818071961402893, -0.275101900100708, 0.03617101535201073, -0.9578197598457336, 0.017994478344917297, -0.6778881549835205, 0.24003028869628906, 0.3223626911640167, 0.6929766535758972, -0.5519382953643799, -0.28000569343566895, -0.3869367837905884, -0.16869215667247772, 0.29271650314331055, -0.310760498046875, 0.6567894220352173, -0.4873619079589844, -0.019211245700716972, -0.6443390846252441, 0.6515250205993652, 0.635155975818634, 0.04558168724179268, 0.9809066653251648, 0.9309316277503967, -0.37181326746940613, 0.49732279777526855, -0.5461914539337158, 0.02351386845111847, -0.46520185470581055, 0.0338229164481163, -0.3966730237007141, -0.42957305908203125, 0.6506649851799011, 0.26739072799682617, -0.28604361414909363, 0.6612845063209534, 0.7511119842529297, -0.1994968056678772, 0.3826075494289398, 0.6369436979293823, -0.0021087818313390017, 0.6554272174835205, -0.4125728905200958, 0.02042308636009693, -0.7164000272750854, -0.8371738791465759, -0.5972155928611755, 0.2794877290725708, -0.3104618191719055, -0.5474846959114075, 0.005498278420418501, 0.13144177198410034, -0.12649373710155487, 0.8579005002975464, -0.6837509274482727, 0.13685639202594757, 0.7644938230514526, 0.3411372900009155, -0.22526314854621887, -0.4877467155456543, 0.12240871042013168, 0.5657767057418823, -0.6803686618804932, -0.710444986820221, -0.087314672768116, -0.06870859861373901, 0.9546892046928406, -0.04115729406476021, 0.8732463121414185, -0.07985187321901321, 0.029287736862897873, -0.6751891374588013, 0.7388134598731995, -0.00025411395472474396, -0.051578834652900696, -0.36521676182746887, -0.09715244174003601, -1.2695586681365967, -0.3660653829574585, 0.021742666140198708, -0.9897823333740234, 0.5318016409873962, 0.13829772174358368, -0.437679260969162, 0.3574862778186798, -1.0771524906158447, 1.2442290782928467, -0.29038193821907043, -0.022787824273109436, 0.37168440222740173, -0.959387481212616, 0.12595273554325104, 0.5332612991333008, -0.3026793301105499, -0.175009623169899, -0.3802512586116791, 0.36551353335380554, -0.33356747031211853, 0.7877716422080994, 0.2964079678058624, -0.09587957710027695, 0.5379046201705933, 0.09777654707431793, 0.5752606391906738, 0.46297937631607056, 0.011710159480571747, -0.07648676633834839, -0.200181782245636, -0.7542098164558411, -0.380295991897583, 0.6818267107009888, -0.7909307479858398, -0.50469571352005, -0.4622865319252014, -0.3807452619075775, 0.4250034689903259, 0.5404958724975586, 0.8293091058731079, 0.3766193985939026, -0.0026392375584691763, 0.12306301295757294, 0.44360974431037903, -0.5371872186660767, 0.33053308725357056, 0.17414246499538422, 0.3260631263256073, -0.5546372532844543, 0.9996111392974854, -0.27612611651420593, 0.16823340952396393, 0.8657540082931519, 0.4631781280040741, -0.43697065114974976, -0.04806774854660034, -0.18849927186965942, 0.32385969161987305, -0.862054169178009, -0.572729229927063, -0.8356412649154663, -0.13445930182933807, -1.0474128723144531, -0.9335204362869263, -0.06755030155181885, -0.1888541728258133, -1.151837944984436, -0.1936008781194687, 0.2878745198249817, 0.9935054183006287, -0.0020282375626266003, 0.978876531124115, -0.7652102708816528, 0.7548364996910095, 0.18807446956634521, -0.03887704014778137, -0.5351781845092773, -0.19731701910495758, -0.3251604437828064, 0.030582228675484657, -0.37049683928489685, -1.1161384582519531, 0.5349165201187134, -0.3946956992149353, 0.36976179480552673, 0.19444555044174194, 0.2918771505355835, 0.4595232307910919, 0.0042910524643957615, 1.2146035432815552, 0.5982122421264648, -0.9091101288795471, 1.0383201837539673, -0.6302222013473511, 0.6900507211685181, 0.567696750164032, 0.01962754875421524, -0.7120658159255981, -0.45716238021850586, -1.0225744247436523, -1.0892210006713867, 0.48045942187309265, 0.27325424551963806, 0.05034813657402992, -0.4691460132598877, 0.038088731467723846, -0.18823295831680298, 0.296673059463501, -1.0287272930145264, -0.7786879539489746, -0.4805607199668884, -0.10192181169986725, 0.4773990511894226, -0.601715624332428, 0.1951499730348587, -0.17525237798690796, 0.5755904912948608, 0.04898880422115326, 0.5270593762397766, 0.18646393716335297, 0.06967157870531082, 0.3514496684074402, 0.10012886673212051, 1.356866717338562, 0.8845622539520264, -0.4086220860481262, 0.1056106835603714, 0.3136916756629944, -0.6674041748046875, 0.16914582252502441, -0.4759330451488495, 0.286861777305603, 0.17946699261665344, 0.5057202577590942, 1.0431643724441528, -0.319515585899353, 0.002978608710691333, 0.7681702375411987, -0.4307938516139984, 0.26663047075271606, -0.6950979828834534, 0.14607955515384674, -0.07604028284549713, -0.19680042564868927, 0.07600408792495728, -0.1770184189081192, -0.04828185588121414, -0.6108908653259277, 0.03400001674890518, -0.23228506743907928, -0.9554365277290344, -0.15812574326992035, 0.902434229850769, 0.49629250168800354, -0.7796872854232788, 0.9120314121246338, 0.3561546206474304, -0.6010259389877319, 0.9858311414718628, 0.6982727646827698, 1.2279349565505981, -0.3394221067428589, 0.3750598728656769, 0.5507136583328247, 0.23702983558177948, -0.08866405487060547, 0.6629946231842041, 0.3044520914554596, -0.040834736078977585, 0.4945778548717499, 0.038750819861888885, -0.3945300877094269, -0.06217920407652855, -0.9400415420532227, 0.7994716167449951, -0.6895447969436646, 0.03255121782422066, -0.3678700923919678, -0.19393384456634521, -1.0180675983428955, 0.44963157176971436, 0.09639040380716324, 1.2483094930648804, -0.5851911306381226, 0.9413824677467346, 1.0759824514389038, -0.6319147348403931, -1.237206220626831, -0.2956991493701935, -0.08020394295454025, -1.02566659450531, 0.2585054039955139, 0.6389444470405579, -0.23062531650066376, -0.10750342160463333, -0.8388763070106506, -0.09954001009464264, 1.2375874519348145, 0.3889603018760681, -0.2806662619113922, -0.14778584241867065, -0.34938472509384155, 0.46252870559692383, -0.713208794593811, 0.7354418039321899, 0.6593883037567139, 0.7093371152877808, 0.07192235440015793, -0.5713595151901245, 0.1459583044052124, -0.1456594616174698, 0.055372755974531174, -0.4684046506881714, -0.8180093169212341, 0.981572151184082, -0.5234198570251465, -0.09016983211040497, 0.41498610377311707, 1.5779552459716797, 0.21846595406532288, 0.337015300989151, 0.7338694930076599, -0.39535588026046753, 0.6745049953460693, -0.15239770710468292, 1.1096699237823486, 0.019655322656035423, 0.0275981854647398, 1.036377191543579, 0.03304949030280113, 0.13119924068450928, 0.6005704998970032, 0.006247163284569979, 0.9042496681213379, 0.7060104608535767, 0.0838380977511406, 0.16073352098464966, 0.4765133261680603, -0.4289838373661041, -0.2027614265680313, -0.6776171326637268, -0.25317949056625366, 0.344539076089859, 0.13464899361133575, 0.1370704472064972, 0.22993680834770203, -0.026171769946813583, 0.1321006864309311, 0.023839620873332024, -0.3096047341823578, 0.7518807053565979, 0.400848925113678, -0.739936113357544, 0.6769950985908508, -0.34817641973495483, 0.5682510137557983, -0.6581581234931946, -0.48019644618034363, -0.6441431045532227, -0.11037906259298325, -0.32677432894706726, -0.8413488864898682, -0.011251317337155342, -0.5358437299728394, -0.24754078686237335, -0.2060898095369339, 0.4504803419113159, -0.48860788345336914, -0.45243558287620544, 0.10299374163150787, 0.3314370810985565, 0.48680058121681213, 0.05940007045865059, -0.6471351385116577, -0.11198757588863373, 0.2718914747238159, 0.13929639756679535, -0.31872349977493286, 0.8737843632698059, -0.2875232398509979, 0.8211754560470581, 0.21201148629188538, 0.2971574366092682, -0.05855492502450943, 0.37289664149284363, 0.8484795689582825, -1.1275323629379272, -0.8419693112373352, -0.8570513725280762, 0.7461275458335876, -0.07437005639076233, -0.7746484279632568, 0.6819859147071838, 0.3751024603843689, 0.47674089670181274, -0.6363774538040161, 0.4917542040348053, -0.19454239308834076, 0.05640965327620506, -0.5199222564697266, 0.4417276680469513, -0.2989591360092163, -0.0052983807399868965, -0.3888509273529053, -0.719662606716156, -0.12167316675186157, 0.8922359347343445, 0.4061181843280792, 0.058336324989795685, 1.2460068464279175, 0.7164863348007202, 0.14131656289100647, -0.5480444431304932, 0.5983186960220337, 0.2322857826948166, 0.3207453787326813, 0.9322164058685303, 0.8310530185699463, -0.6295337677001953, 0.651587963104248, -0.19555331766605377, -0.13631920516490936, -0.5211480855941772, -1.1125670671463013, -1.1639680862426758, -0.49077725410461426, -0.14546382427215576, -1.1109968423843384, -0.19162540137767792, 0.9919949769973755, 0.3130420446395874, -1.04500150680542, -0.40298494696617126, 0.16446197032928467, 0.6578410863876343, -0.1770056039094925, -0.30216509103775024, 0.48724761605262756, 0.3550611436367035, -0.536125123500824, 0.14931036531925201, 0.13080014288425446, 0.8056323528289795, -0.2504088580608368, 0.0966004952788353, -0.5212690830230713, -0.1523323655128479, 0.486593633890152, 0.3494776487350464, -0.8820606470108032, -0.47048676013946533, 0.1867881715297699, -0.959991455078125, 0.12593452632427216, 0.9738427996635437, -0.6963481307029724, 0.284336119890213, 0.5525510907173157, -0.003320837626233697, -0.08228238672018051, -0.031554125249385834, 1.001056432723999, -0.649827241897583, 0.5026240348815918, 0.44450104236602783, 0.4527587294578552, 0.5484606027603149, -0.978981077671051, 0.7159345746040344, 0.37552180886268616, -0.4355689287185669, -0.6798507571220398, 0.08121972531080246, -1.8575650453567505, 0.04399087652564049, 1.2312676906585693, -0.09186707437038422, -0.867036759853363, -0.5955799221992493, -1.2416698932647705, 0.6268713474273682, -0.6872707009315491, 0.4929739236831665, 0.5695239901542664, 0.23025894165039062, -0.21675820648670197, -0.5613272786140442, 0.15002846717834473, 0.2577683627605438, -1.104507327079773, -0.06788990646600723, 0.6203947067260742, -0.10201069712638855, -0.026487374678254128, 1.0919064283370972, 0.3833293318748474, 0.8643194437026978, -0.05639566108584404, 0.21994036436080933, -0.36300966143608093, -0.4999501705169678, -0.0747947171330452, -0.5176424384117126, -0.30628207325935364, -0.5750613808631897 ]
rinna/youri-7b-chat-gptq
rinna
2023-10-31T00:55:54Z
7,257
13
transformers
[ "transformers", "llama", "text-generation", "ja", "en", "dataset:databricks/databricks-dolly-15k", "dataset:kunishou/databricks-dolly-15k-ja", "dataset:izumi-lab/llm-japanese-dataset", "license:llama2", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-10-30T15:14:15Z
--- thumbnail: https://github.com/rinnakk/japanese-pretrained-models/blob/master/rinna.png license: llama2 language: - ja - en inference: false datasets: - databricks/databricks-dolly-15k - kunishou/databricks-dolly-15k-ja - izumi-lab/llm-japanese-dataset --- # `rinna/youri-7b-chat-gptq` ![rinna-icon](./rinna.png) # Overview `rinna/youri-7b-chat-gptq` is the quantized model for [`rinna/youri-7b-chat`](https://huggingface.co/rinna/youri-7b-chat) using AutoGPTQ. The quantized version is 4x smaller than the original model and thus requires less memory and provides faster inference. * **Model architecture** Refer to the [original model](https://huggingface.co/rinna/youri-7b-chat) for architecture details. * **Fine-tuning** Refer to the [original model](https://huggingface.co/rinna/youri-7b-chat) for fine-tuning details. * **Authors** - [Toshiaki Wakatsuki](https://huggingface.co/t-w) - [Tianyu Zhao](https://huggingface.co/tianyuz) - [Kei Sawada](https://huggingface.co/keisawada) --- # Benchmarking Our evaluation experiments show that the quantization yields slight performance degradation on downstream tasks. Results will be updated soon. --- # How to use the model ~~~~python import torch from transformers import AutoTokenizer from auto_gptq import AutoGPTQForCausalLM tokenizer = AutoTokenizer.from_pretrained("rinna/youri-7b-chat-gptq") model = AutoGPTQForCausalLM.from_quantized("rinna/youri-7b-chat-gptq", use_safetensors=True) instruction = "次の日本語を英語に翻訳してください。" input = "自然言語による指示に基づきタスクが解けるよう学習させることを Instruction tuning と呼びます。" context = [ { "speaker": "設定", "text": instruction }, { "speaker": "ユーザー", "text": input } ] prompt = [ f"{uttr['speaker']}: {uttr['text']}" for uttr in context ] prompt = "\n".join(prompt) prompt = ( prompt + "\n" + "システム: " ) token_ids = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt") with torch.no_grad(): output_ids = model.generate( input_ids=token_ids.to(model.device), max_new_tokens=200, do_sample=True, temperature=0.5, pad_token_id=tokenizer.pad_token_id, bos_token_id=tokenizer.bos_token_id, eos_token_id=tokenizer.eos_token_id ) output = tokenizer.decode(output_ids.tolist()[0]) print(output) output = output[len(prompt):-len("</s>")].strip() input = "大規模言語モデル(だいきぼげんごモデル、英: large language model、LLM)は、多数のパラメータ(数千万から数十億)を持つ人工ニューラルネットワークで構成されるコンピュータ言語モデルで、膨大なラベルなしテキストを使用して自己教師あり学習または半教師あり学習によって訓練が行われる。" context.extend([ { "speaker": "システム", "text": output }, { "speaker": "ユーザー", "text": input } ]) prompt = [ f"{uttr['speaker']}: {uttr['text']}" for uttr in context ] prompt = "\n".join(prompt) prompt = ( prompt + "\n" + "システム: " ) token_ids = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt") with torch.no_grad(): output_ids = model.generate( input_ids=token_ids.to(model.device), max_new_tokens=200, do_sample=True, temperature=0.5, pad_token_id=tokenizer.pad_token_id, bos_token_id=tokenizer.bos_token_id, eos_token_id=tokenizer.eos_token_id ) output = tokenizer.decode(output_ids.tolist()[0]) print(output) ~~~~ --- # Tokenization The model uses the original llama-2 tokenizer. --- # How to cite ~~~ @misc{RinnaYouri7bChatGPTQ, url={https://huggingface.co/rinna/youri-7b-chat-gptq}, title={rinna/youri-7b-chat-gptq}, author={Wakatsuki, Toshiaki and Zhao, Tianyu and Sawada, Kei} } ~~~ --- # License [The llama2 license](https://ai.meta.com/llama/license/)
[ -0.27556949853897095, -0.9188444018363953, 0.1964084357023239, 0.24351587891578674, -0.3788812458515167, -0.030852897092700005, -0.16451340913772583, -0.28735262155532837, 0.1518823802471161, 0.23429657518863678, -0.3178374171257019, -0.6518064141273499, -0.5338542461395264, 0.06915111094713211, -0.1539737731218338, 1.007819652557373, 0.15633247792720795, -0.030080903321504593, 0.07467159628868103, -0.13999511301517487, -0.26837995648384094, -0.4627796709537506, -1.007032036781311, -0.2960972487926483, 0.20716643333435059, 0.10358092188835144, 0.505485475063324, 0.6081279516220093, 0.21375465393066406, 0.43743807077407837, -0.23941518366336823, 0.011025901883840561, -0.31598445773124695, -0.09492520987987518, 0.1646445393562317, -0.48737969994544983, -0.5953863859176636, -0.11380529403686523, 0.7063317894935608, 0.3004627525806427, 0.009825610555708408, 0.33557891845703125, 0.06881815940141678, 0.3049182891845703, -0.403952419757843, 0.22548776865005493, -0.5238732695579529, -0.17768511176109314, -0.13462407886981964, -0.1008857861161232, -0.45530277490615845, -0.24424952268600464, -0.08362080156803131, -0.5739835500717163, 0.14833569526672363, 0.0034272202756255865, 1.1815165281295776, 0.24834245443344116, -0.5864670872688293, -0.07731972634792328, -0.4555601477622986, 0.8603876233100891, -1.083638310432434, 0.35032495856285095, 0.32156655192375183, 0.05909169465303421, -0.3118990957736969, -1.0311821699142456, -0.7097057700157166, -0.23381458222866058, -0.19278006255626678, 0.04682175815105438, -0.22714409232139587, 0.11035756021738052, 0.28485703468322754, 0.41518712043762207, -0.7773487567901611, 0.009731491096317768, -0.45251840353012085, -0.2698880434036255, 0.6498570442199707, 0.25033509731292725, 0.3840254247188568, -0.4365215599536896, -0.3486778140068054, -0.29483839869499207, -0.4318103790283203, 0.14605306088924408, 0.23142851889133453, 0.1421981006860733, -0.4321850836277008, 0.47765082120895386, -0.38927051424980164, 0.632836103439331, 0.1736401915550232, -0.3347342908382416, 0.4562760591506958, -0.44101256132125854, -0.5109702348709106, -0.08914443105459213, 1.2975269556045532, 0.33838751912117004, -0.011534455232322216, 0.1296977549791336, 0.028750596567988396, -0.05771500989794731, -0.4492168724536896, -1.004154086112976, -0.45487236976623535, 0.3720744252204895, -0.4642277657985687, -0.25250330567359924, -0.19915752112865448, -0.6166768074035645, 0.07024362683296204, 0.12583112716674805, 0.5368868112564087, -0.4607723355293274, -0.43714460730552673, 0.14334014058113098, -0.038362909108400345, 0.25099310278892517, 0.04838813841342926, -0.972669780254364, 0.15488575398921967, 0.4971897006034851, 0.8646443486213684, 0.26672330498695374, -0.4358518123626709, -0.30959439277648926, 0.04243512079119682, -0.00766513729467988, 0.42191749811172485, -0.31797757744789124, -0.5051843523979187, -0.46247029304504395, 0.051185861229896545, -0.222544327378273, -0.31682488322257996, 0.4739907383918762, -0.39003995060920715, 0.5104326605796814, -0.20787237584590912, -0.5059666037559509, -0.1341831535100937, -0.011064060032367706, -0.3679925203323364, 1.3795400857925415, 0.010466698557138443, -0.9306901097297668, 0.18152260780334473, -0.5438041687011719, -0.07222647219896317, -0.004451492335647345, -0.16939501464366913, -0.48644784092903137, -0.139665886759758, 0.4338711202144623, 0.4741145074367523, -0.2911830246448517, 0.40971997380256653, -0.26719141006469727, -0.3704342544078827, 0.43039366602897644, -0.4625778794288635, 1.1887013912200928, 0.3729037046432495, -0.4741344153881073, 0.36686092615127563, -0.850031852722168, 0.1888272613286972, 0.3106774091720581, -0.4342445731163025, -0.20483535528182983, -0.21952806413173676, 0.12768061459064484, 0.17187480628490448, 0.2296249121427536, -0.5387037992477417, 0.3282093405723572, -0.6165953278541565, 0.8230134844779968, 0.6925985217094421, 0.0556720606982708, 0.4436456859111786, -0.36407166719436646, 0.2636868953704834, 0.14823924005031586, 0.1541832536458969, -0.14224515855312347, -0.6542196273803711, -0.9930257797241211, -0.4834315776824951, 0.3175353407859802, 0.5585060119628906, -0.750850260257721, 0.4427489638328552, -0.38278236985206604, -0.6120244264602661, -0.6062902212142944, -0.15212532877922058, 0.4123115539550781, 0.4812540113925934, 0.31137990951538086, -0.15053357183933258, -0.5922212600708008, -0.6761271357536316, -0.21480844914913177, -0.390438973903656, -0.008729926310479641, 0.2699361741542816, 0.6896719932556152, -0.18722708523273468, 0.9204854369163513, -0.4259662330150604, -0.012373887933790684, -0.20796042680740356, 0.21088503301143646, 0.49842870235443115, 0.8152582049369812, 0.5492454171180725, -0.6118202209472656, -0.6424066424369812, -0.14839360117912292, -0.7042343616485596, -0.09569729119539261, -0.10799762606620789, -0.39498448371887207, 0.3232267498970032, 0.3303324282169342, -0.8919181823730469, 0.4252505302429199, 0.3625820279121399, -0.6986467838287354, 0.4758108854293823, -0.09187448024749756, 0.338812917470932, -1.407800316810608, 0.08868115395307541, 0.004676419775933027, -0.21697117388248444, -0.5965633988380432, 0.011054941453039646, -0.08776761591434479, -0.06849876046180725, -0.48194536566734314, 0.9625189304351807, -0.5455046892166138, 0.099581278860569, -0.07839979976415634, 0.1606084555387497, 0.0724402591586113, 0.6784172654151917, -0.1392502784729004, 0.8582298755645752, 0.5526183247566223, -0.6453777551651001, 0.517848551273346, 0.4296203851699829, -0.14813409745693207, 0.25250178575515747, -0.9429850578308105, 0.2488209456205368, 0.14502501487731934, 0.39367955923080444, -1.240343689918518, -0.2172897458076477, 0.6255316138267517, -0.7756003141403198, 0.3248381018638611, -0.3872882127761841, -0.5866543650627136, -0.3450794219970703, -0.25588223338127136, 0.5205373764038086, 0.5800791382789612, -0.5543206334114075, 0.5841204524040222, 0.16976921260356903, -0.05472928285598755, -0.708126962184906, -0.7248101830482483, -0.0537278838455677, -0.42140835523605347, -0.7973577976226807, 0.3932070732116699, -0.09707129746675491, 0.0034901686012744904, -0.007652864325791597, 0.12758776545524597, 0.04088246822357178, 0.09272580593824387, 0.29808253049850464, 0.32011231780052185, -0.3039730191230774, 0.06291617453098297, 0.08990119397640228, -0.21185460686683655, 0.09132414311170578, -0.30159640312194824, 0.8132096529006958, -0.1995774358510971, -0.28174102306365967, -0.8160960674285889, 0.23039841651916504, 0.5045395493507385, -0.23311324417591095, 0.8530081510543823, 0.94560706615448, -0.3581634759902954, 0.17261861264705658, -0.6070480942726135, -0.21925733983516693, -0.5526067018508911, 0.5984293222427368, -0.568199634552002, -0.8534919023513794, 0.740860641002655, 0.2714788615703583, 0.10261616855859756, 0.6404938697814941, 0.6989579796791077, 0.21537145972251892, 1.050609827041626, 0.36597567796707153, -0.178533673286438, 0.5683102607727051, -0.47040316462516785, 0.18181544542312622, -0.8999185562133789, -0.24057428538799286, -0.42997708916664124, -0.033650822937488556, -0.698937714099884, -0.37793388962745667, 0.339530348777771, 0.2117071896791458, -0.6556482315063477, 0.2584689259529114, -0.7495871186256409, 0.07583580166101456, 0.725250780582428, 0.14281558990478516, 0.2779441773891449, 0.03102555312216282, -0.10527603328227997, 0.01660533808171749, -0.6744865775108337, -0.5993135571479797, 1.1280083656311035, 0.5640211701393127, 0.5849497318267822, 0.15167546272277832, 0.893504798412323, -0.17756731808185577, 0.13020546734333038, -0.4980505108833313, 0.7067412734031677, 0.27833932638168335, -0.5573959946632385, -0.37547382712364197, -0.6668795943260193, -0.9058054089546204, 0.499358594417572, -0.015765700489282608, -1.1028852462768555, 0.17598479986190796, 0.026420490816235542, -0.3579551577568054, 0.3175678551197052, -0.8188027739524841, 0.9505665898323059, -0.01862080581486225, -0.3515864610671997, -0.042167529463768005, -0.4423508942127228, 0.3961775600910187, 0.4019436240196228, 0.12535510957241058, -0.12328222393989563, 0.10486540198326111, 1.144870638847351, -0.5305514335632324, 0.8373963236808777, -0.1952258199453354, 0.011899983510375023, 0.427437424659729, -0.0802791491150856, 0.5859378576278687, 0.4137566089630127, 0.015875499695539474, 0.15423603355884552, 0.1803128570318222, -0.4662981927394867, -0.5078232288360596, 0.8258033990859985, -0.9773941040039062, -0.6890615224838257, -0.45527324080467224, -0.3676142394542694, 0.052167318761348724, 0.15407367050647736, 0.673435389995575, 0.47190067172050476, 0.0482390932738781, -0.013511219061911106, 0.49048593640327454, -0.38511529564857483, 0.6747440695762634, 0.21425867080688477, -0.29512840509414673, -0.6999791264533997, 0.8477142453193665, 0.04087984189391136, 0.20315314829349518, 0.2732726037502289, 0.06968288868665695, -0.37298712134361267, -0.4078245759010315, -0.6580468416213989, 0.5146217346191406, -0.6974750757217407, -0.28133299946784973, -0.9787334203720093, -0.2797462046146393, -0.7301150560379028, 0.14010952413082123, -0.4489496648311615, -0.47515037655830383, -0.5952674746513367, -0.08727340400218964, 0.674380898475647, 0.3281911313533783, 0.018098395317792892, 0.48428136110305786, -0.75372314453125, 0.0964905247092247, 0.25126245617866516, 0.12565863132476807, 0.11944102495908737, -0.8378369808197021, -0.25273770093917847, 0.1808256357908249, -0.318454772233963, -0.9087511897087097, 0.6410285830497742, 0.1817682683467865, 0.5037511587142944, 0.19968870282173157, 0.0783250480890274, 0.6651081442832947, -0.02700917422771454, 0.921618640422821, 0.1804332435131073, -1.1982841491699219, 0.5205147862434387, -0.35570600628852844, 0.3060019910335541, 0.1754806637763977, 0.141440287232399, -0.5499334335327148, -0.3359836935997009, -0.6745811700820923, -1.0894477367401123, 0.8231443166732788, 0.3764330744743347, 0.20862336456775665, -0.01793324202299118, 0.32016614079475403, -0.27362725138664246, 0.046610310673713684, -1.0656113624572754, -0.6350090503692627, -0.3132340908050537, -0.3843758702278137, 0.04656859114766121, -0.47559139132499695, -0.08677277714014053, -0.4474925398826599, 0.887820303440094, -0.01236968394368887, 0.7694957852363586, 0.29680049419403076, -0.08127771317958832, 0.06896458566188812, 0.24801822006702423, 0.5695003271102905, 0.39794671535491943, -0.16034956276416779, -0.022462714463472366, 0.37608587741851807, -0.5247736573219299, 0.14928509294986725, 0.065072201192379, -0.014178409241139889, 0.1355382651090622, 0.33395540714263916, 1.1646456718444824, 0.14641226828098297, -0.25238877534866333, 0.406243234872818, -0.19206343591213226, -0.28317856788635254, -0.28679290413856506, 0.09115970879793167, 0.180639386177063, 0.4258626103401184, 0.5219741463661194, -0.3826729655265808, 0.03195054084062576, -0.42421966791152954, 0.006658380385488272, 0.32933998107910156, 0.11774154752492905, -0.2666207253932953, 0.9522323608398438, 0.12494204938411713, -0.19752448797225952, 0.714759349822998, -0.28106802701950073, -0.576059877872467, 0.6530590057373047, 0.6425991654396057, 0.8163785934448242, -0.09809312224388123, 0.11691658198833466, 0.661647379398346, 0.10367440432310104, 0.048511575907468796, 0.3908950090408325, -0.10788726061582565, -0.549763560295105, -0.3458575904369354, -0.7067583799362183, -0.00021730392472818494, 0.20069357752799988, -0.5561051964759827, 0.16231529414653778, -0.38966119289398193, -0.4007757604122162, -0.14685750007629395, 0.24730631709098816, -0.5623455047607422, 0.26899459958076477, -0.018388759344816208, 0.7464673519134521, -0.815018892288208, 0.9179606437683105, 0.6360695362091064, -0.3610086441040039, -1.1311721801757812, -0.27540019154548645, -0.13562946021556854, -0.6400600671768188, 0.7002084255218506, -0.024820558726787567, 0.14575599133968353, 0.374938040971756, -0.582957923412323, -1.1583116054534912, 1.3081892728805542, 0.29350951313972473, -0.4388341009616852, -0.07490772753953934, 0.048095256090164185, 0.45699095726013184, -0.18195627629756927, 0.7607597708702087, 0.45108529925346375, 0.3626534044742584, 0.07752830535173416, -1.10579252243042, 0.38852670788764954, -0.5372361540794373, 0.06308148056268692, 0.09583994746208191, -0.9174922108650208, 1.2489914894104004, -0.17510077357292175, -0.3384362757205963, 0.20844103395938873, 1.0434610843658447, 0.4191991090774536, 0.318738728761673, 0.16132007539272308, 0.647535502910614, 0.7150400876998901, -0.30464351177215576, 0.7557396292686462, -0.37806329131126404, 0.8228639364242554, 0.8900601267814636, 0.12072043120861053, 0.7496752738952637, 0.41816526651382446, -0.3482574224472046, 0.40848153829574585, 0.8399346470832825, -0.1348312646150589, 0.4665052890777588, 0.14917241036891937, -0.32008907198905945, -0.06364677101373672, 0.17455103993415833, -0.6489928364753723, 0.386826753616333, 0.33979377150535583, -0.3444403111934662, 0.03154764324426651, 0.08046603947877884, 0.21769146621227264, -0.41097432374954224, -0.06076312065124512, 0.6483210921287537, 0.15175019204616547, -0.3606673777103424, 1.0997281074523926, 0.24637962877750397, 1.0237185955047607, -0.34332454204559326, 0.10257183015346527, -0.20433750748634338, 0.021852999925613403, -0.2925945818424225, -0.4428243041038513, 0.07167357951402664, -0.08185137808322906, -0.00891381036490202, 0.093414306640625, 0.45813730359077454, -0.3984330892562866, -0.42783719301223755, 0.23317217826843262, 0.35462236404418945, 0.3620273172855377, 0.09976392984390259, -0.8718822598457336, 0.26873746514320374, 0.1357346475124359, -0.7290857434272766, 0.33715251088142395, 0.3969222605228424, 0.11021528393030167, 0.7573715448379517, 0.6524349451065063, -0.12605862319469452, 0.25117769837379456, -0.13292761147022247, 0.9411007165908813, -0.7329733967781067, -0.5073279738426208, -1.1187325716018677, 0.5986853241920471, 0.017491914331912994, -0.6614429354667664, 0.8139736652374268, 0.6284148693084717, 0.9451990127563477, 0.026388095691800117, 0.7233506441116333, -0.21100714802742004, 0.24288244545459747, -0.6135997176170349, 0.8548583984375, -0.5197445154190063, 0.26850733160972595, -0.2726626396179199, -0.7709723711013794, -0.031777407974004745, 0.7481794953346252, -0.37335577607154846, 0.3468315005302429, 0.567280650138855, 0.9961535930633545, 0.04901030287146568, -0.14773494005203247, 0.2939682602882385, 0.40793541073799133, 0.3994157910346985, 0.7909860610961914, 0.6468220949172974, -0.8819692134857178, 0.5271509289741516, -0.4685937166213989, -0.10350124537944794, -0.2600485682487488, -0.6046651601791382, -1.0500988960266113, -0.749259352684021, -0.5461617112159729, -0.6443020701408386, -0.05092225596308708, 1.099015474319458, 0.7044138312339783, -0.6759763360023499, -0.19847142696380615, 0.000527289230376482, 0.10344421118497849, 0.008627505972981453, -0.299253910779953, 0.6437206864356995, -0.07347949594259262, -1.0273295640945435, 0.13982877135276794, -0.07763303816318512, 0.318639874458313, -0.01336662843823433, -0.09815370291471481, -0.1673383116722107, 0.028061166405677795, 0.29725828766822815, 0.29577717185020447, -0.835442066192627, -0.10149221867322922, -0.10759817808866501, -0.43794479966163635, 0.14090274274349213, 0.2998036742210388, -0.6961596608161926, 0.12830224633216858, 0.5592268109321594, 0.16536930203437805, 0.6822001338005066, -0.1320214420557022, 0.3161455988883972, -0.49607041478157043, 0.3655531704425812, -0.007921344600617886, 0.41503897309303284, 0.29436543583869934, -0.6055210828781128, 0.33535322546958923, 0.34610486030578613, -0.6747785806655884, -1.0413838624954224, -0.05430064722895622, -1.0445865392684937, -0.12973818182945251, 1.2534984350204468, -0.3325769007205963, -0.424165815114975, 0.0987389087677002, -0.3913251459598541, 0.6654207110404968, -0.6007151007652283, 0.6434072256088257, 0.4963286221027374, -0.023770635947585106, -0.3390791118144989, -0.42582181096076965, 0.4704892039299011, 0.48556944727897644, -0.5485228896141052, -0.10016728192567825, 0.15720218420028687, 0.577246904373169, 0.010062219575047493, 0.973376989364624, 0.1059282049536705, 0.15347789227962494, 0.12833161652088165, 0.14993585646152496, -0.2768186330795288, 0.13805602490901947, -0.36482247710227966, -0.09232954680919647, -0.00017817386833485216, -0.4487789273262024 ]
moka-ai/m3e-base
moka-ai
2023-07-14T02:29:36Z
7,240
694
sentence-transformers
[ "sentence-transformers", "pytorch", "safetensors", "bert", "embedding", "text-embedding", "zh", "en", "has_space", "region:us" ]
null
2023-06-06T02:28:47Z
--- language: - zh - en tags: - embedding - text-embedding library_name: sentence-transformers --- # 🅜 M3E Models [m3e-small](https://huggingface.co/moka-ai/m3e-small) | [m3e-base](https://huggingface.co/moka-ai/m3e-base) M3E 是 Moka Massive Mixed Embedding 的缩写 - Moka,此模型由 MokaAI 训练,开源和评测,训练脚本使用 [uniem](https://github.com/wangyuxinwhy/uniem/blob/main/scripts/train_m3e.py) ,评测 BenchMark 使用 [MTEB-zh](https://github.com/wangyuxinwhy/uniem/tree/main/mteb-zh) - Massive,此模型通过**千万级** (2200w+) 的中文句对数据集进行训练 - Mixed,此模型支持中英双语的同质文本相似度计算,异质文本检索等功能,未来还会支持代码检索 - Embedding,此模型是文本嵌入模型,可以将自然语言转换成稠密的向量 ## 🆕 更新说明 - 2023.06.24,添加微调 M3E 的教程 [notebook](https://github.com/wangyuxinwhy/uniem/blob/main/examples/finetune.ipynb),几行代码,更佳适配!<a target="_blank" href="https://colab.research.google.com/github/wangyuxinwhy/uniem/blob/main/examples/finetune.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> - 2023.06.14,添加了三个中文开源文本嵌入模型到评测中,包括 UER, ErLangShen, DMetaSoul - 2023.06.08,添加检索任务的评测结果,在 T2Ranking 1W 中文数据集上,m3e-base 在 ndcg@10 上达到了 0.8004,超过了 openai-ada-002 的 0.7786 - 2023.06.07,添加文本分类任务的评测结果,在 6 种文本分类数据集上,m3e-base 在 accuracy 上达到了 0.6157,超过了 openai-ada-002 的 0.5956 ## ⚖️ 模型对比 | | 参数数量 | 维度 | 中文 | 英文 | s2s | s2p | s2c | 开源 | 兼容性 | s2s Acc | s2p ndcg@10 | | --------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | ---- | ---------- | ------------ | -------- | | m3e-small | 24M | 512 | 是 | 否 | 是 | 否 | 否 | 是 | 优 | 0.5834 | 0.7262 | | m3e-base | 110M | 768 | 是 | 是 | 是 | 是 | 否 | 是 | 优 | **0.6157** | **0.8004** | | text2vec | 110M | 768 | 是 | 否 | 是 | 否 | 否 | 是 | 优 | 0.5755 | 0.6346 | | openai-ada-002 | 未知 | 1536 | 是 | 是 | 是 | 是 | 是 | 否 | 优 | 0.5956 | 0.7786 | 说明: - s2s, 即 sentence to sentence ,代表了同质文本之间的嵌入能力,适用任务:文本相似度,重复问题检测,文本分类等 - s2p, 即 sentence to passage ,代表了异质文本之间的嵌入能力,适用任务:文本检索,GPT 记忆模块等 - s2c, 即 sentence to code ,代表了自然语言和程序语言之间的嵌入能力,适用任务:代码检索 - 兼容性,代表了模型在开源社区中各种项目被支持的程度,由于 m3e 和 text2vec 都可以直接通过 sentence-transformers 直接使用,所以和 openai 在社区的支持度上相当 - ACC & ndcg@10,详情见下方的评测 Tips: - 使用场景主要是中文,少量英文的情况,建议使用 m3e 系列的模型 - 多语言使用场景,并且不介意数据隐私的话,我建议使用 openai text-embedding-ada-002 - 代码检索场景,推荐使用 openai text-embedding-ada-002 - 文本检索场景,请使用具备文本检索能力的模型,只在 S2S 上训练的文本嵌入模型,没有办法完成文本检索任务 ## 🔧 使用 M3E 您需要先安装 sentence-transformers ```bash pip install -U sentence-transformers ``` 安装完成后,您可以使用以下代码来使用 M3E Models ```python from sentence_transformers import SentenceTransformer model = SentenceTransformer('moka-ai/m3e-base') #Our sentences we like to encode sentences = [ '* Moka 此文本嵌入模型由 MokaAI 训练并开源,训练脚本使用 uniem', '* Massive 此文本嵌入模型通过**千万级**的中文句对数据集进行训练', '* Mixed 此文本嵌入模型支持中英双语的同质文本相似度计算,异质文本检索等功能,未来还会支持代码检索,ALL in one' ] #Sentences are encoded by calling model.encode() embeddings = model.encode(sentences) #Print the embeddings for sentence, embedding in zip(sentences, embeddings): print("Sentence:", sentence) print("Embedding:", embedding) print("") ``` M3E 系列的所有模型在设计的时候就考虑到完全兼容 [sentence-transformers](https://www.sbert.net/) ,所以你可以通过**替换名称字符串**的方式在所有支持 sentence-transformers 的项目中**无缝**使用 M3E Models,比如 [chroma](https://docs.trychroma.com/getting-started), [guidance](https://github.com/microsoft/guidance), [semantic-kernel](https://github.com/microsoft/semantic-kernel) 。 ## 🎨 微调模型 `uniem` 提供了非常易用的 finetune 接口,几行代码,即刻适配! ```python from datasets import load_dataset from uniem.finetuner import FineTuner dataset = load_dataset('shibing624/nli_zh', 'STS-B') # 指定训练的模型为 m3e-small finetuner = FineTuner.from_pretrained('moka-ai/m3e-small', dataset=dataset) finetuner.run(epochs=1) ``` 详见 [uniem 微调教程](https://github.com/wangyuxinwhy/uniem/blob/main/examples/finetune.ipynb) <a target="_blank" href="https://colab.research.google.com/github/wangyuxinwhy/uniem/blob/main/examples/finetune.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> ## ➿ 训练方案 M3E 使用 in-batch 负采样的对比学习的方式在句对数据集进行训练,为了保证 in-batch 负采样的效果,我们使用 A100 80G 来最大化 batch-size,并在共计 2200W+ 的句对数据集上训练了 1 epoch。训练脚本使用 [uniem](https://github.com/wangyuxinwhy/uniem/blob/main/scripts/train_m3e.py),您可以在这里查看具体细节。 ## 🌟 特性 - 中文训练集,M3E 在大规模句对数据集上的训练,包含中文百科,金融,医疗,法律,新闻,学术等多个领域共计 2200W 句对样本,数据集详见 [M3E 数据集](#M3E数据集) - 英文训练集,M3E 使用 MEDI 145W 英文三元组数据集进行训练,数据集详见 [MEDI 数据集](https://drive.google.com/file/d/1vZ5c2oJNonGOvXzppNg5mHz24O6jcc52/view),此数据集由 [instructor team](https://github.com/HKUNLP/instructor-embedding) 提供 - 指令数据集,M3E 使用了 300W + 的指令微调数据集,这使得 M3E 对文本编码的时候可以遵从指令,这部分的工作主要被启发于 [instructor-embedding](https://github.com/HKUNLP/instructor-embedding) - 基础模型,M3E 使用 hfl 实验室的 [Roberta](https://huggingface.co/hfl/chinese-roberta-wwm-ext) 系列模型进行训练,目前提供 small 和 base 两个版本,大家则需选用 - ALL IN ONE,M3E 旨在提供一个 ALL IN ONE 的文本嵌入模型,不仅支持同质句子相似度判断,还支持异质文本检索,你只需要一个模型就可以覆盖全部的应用场景,未来还会支持代码检索 ## 💯 MTEB-zh 评测 - 评测模型,[text2vec](https://github.com/shibing624/text2vec), m3e-base, m3e-small, openai text-embedding-ada-002, [DMetaSoul](https://huggingface.co/DMetaSoul/sbert-chinese-general-v2), [UER](https://huggingface.co/uer/sbert-base-chinese-nli), [ErLangShen](https://huggingface.co/IDEA-CCNL/Erlangshen-SimCSE-110M-Chinese) - 评测脚本,具体参考 [MTEB-zh] (https://github.com/wangyuxinwhy/uniem/blob/main/mteb-zh) ### 文本分类 - 数据集选择,选择开源在 HuggingFace 上的 6 种文本分类数据集,包括新闻、电商评论、股票评论、长文本等 - 评测方式,使用 MTEB 的方式进行评测,报告 Accuracy。 | | text2vec | m3e-small | m3e-base | openai | DMetaSoul | uer | erlangshen | | ----------------- | -------- | --------- | -------- | ------ | ----------- | ------- | ----------- | | TNews | 0.43 | 0.4443 | **0.4827** | 0.4594 | 0.3084 | 0.3539 | 0.4361 | | JDIphone | 0.8214 | 0.8293 | **0.8533** | 0.746 | 0.7972 | 0.8283 | 0.8356 | | GubaEastmony | 0.7472 | 0.712 | 0.7621 | 0.7574 | 0.735 | 0.7534 | **0.7787** | | TYQSentiment | 0.6099 | 0.6596 | **0.7188** | 0.68 | 0.6437 | 0.6662 | 0.6444 | | StockComSentiment | 0.4307 | 0.4291 | 0.4363 | **0.4819** | 0.4309 | 0.4555 | 0.4482 | | IFlyTek | 0.414 | 0.4263 | 0.4409 | **0.4486** | 0.3969 | 0.3762 | 0.4241 | | Average | 0.5755 | 0.5834 | **0.6157** | 0.5956 | 0.552016667 | 0.57225 | 0.594516667 | ### 检索排序 #### T2Ranking 1W - 数据集选择,使用 [T2Ranking](https://github.com/THUIR/T2Ranking/tree/main) 数据集,由于 T2Ranking 的数据集太大,openai 评测起来的时间成本和 api 费用有些高,所以我们只选择了 T2Ranking 中的前 10000 篇文章 - 评测方式,使用 MTEB 的方式进行评测,报告 map@1, map@10, mrr@1, mrr@10, ndcg@1, ndcg@10 - 注意!从实验结果和训练方式来看,除了 M3E 模型和 openai 模型外,其余模型都没有做检索任务的训练,所以结果仅供参考。 | | text2vec | openai-ada-002 | m3e-small | m3e-base | DMetaSoul | uer | erlangshen | | ------- | -------- | -------------- | --------- | -------- | --------- | ------- | ---------- | | map@1 | 0.4684 | 0.6133 | 0.5574 | **0.626** | 0.25203 | 0.08647 | 0.25394 | | map@10 | 0.5877 | 0.7423 | 0.6878 | **0.7656** | 0.33312 | 0.13008 | 0.34714 | | mrr@1 | 0.5345 | 0.6931 | 0.6324 | **0.7047** | 0.29258 | 0.10067 | 0.29447 | | mrr@10 | 0.6217 | 0.7668 | 0.712 | **0.7841** | 0.36287 | 0.14516 | 0.3751 | | ndcg@1 | 0.5207 | 0.6764 | 0.6159 | **0.6881** | 0.28358 | 0.09748 | 0.28578 | | ndcg@10 | 0.6346 | 0.7786 | 0.7262 | **0.8004** | 0.37468 | 0.15783 | 0.39329 | #### T2Ranking - 数据集选择,使用 T2Ranking,刨除 openai-ada-002 模型后,我们对剩余的三个模型,进行 T2Ranking 10W 和 T2Ranking 50W 的评测。(T2Ranking 评测太耗内存了... 128G 都不行) - 评测方式,使用 MTEB 的方式进行评测,报告 ndcg@10 | | text2vec | m3e-small | m3e-base | | ------- | -------- | --------- | -------- | | t2r-1w | 0.6346 | 0.72621 | **0.8004** | | t2r-10w | 0.44644 | 0.5251 | **0.6263** | | t2r-50w | 0.33482 | 0.38626 | **0.47364** | 说明: - 检索排序对于 text2vec 并不公平,因为 text2vec 在训练的时候没有使用过检索相关的数据集,所以没有办法很好的完成检索任务也是正常的。 ## 📂 M3E数据集 如果您想要使用这些数据集,你可以在 [uniem process_zh_datasets](https://github.com/wangyuxinwhy/uniem/blob/main/scripts/process_zh_datasets.py) 中找到加载 huggingface 数据集的脚本,非 huggingface 数据集需要您根据下方提供的链接自行下载和处理。 | 数据集名称 | 领域 | 数量 | 任务类型 | Prompt | 质量 | 数据提供者 | 说明 | 是否开源/研究使用 | 是否商用 | 脚本 | Done | URL | 是否同质 | | -------------------- | ---- | --------- | ----------------- | ------ | ---- | ------------------------------------------------------------ | ------------------------------------------------------------ | ----------------- | -------- | ---- | ---- | ------------------------------------------------------------ | -------- | | cmrc2018 | 百科 | 14,363 | 问答 | 问答 | 优 | Yiming Cui, Ting Liu, Wanxiang Che, Li Xiao, Zhipeng Chen, Wentao Ma, Shijin Wang, Guoping Hu | https://github.com/ymcui/cmrc2018/blob/master/README_CN.md 专家标注的基于维基百科的中文阅读理解数据集,将问题和上下文视为正例 | 是 | 否 | 是 | 是 | https://huggingface.co/datasets/cmrc2018 | 否 | | belle_2m | 百科 | 2,000,000 | 指令微调 | 无 | 优 | LianjiaTech/BELLE | belle 的指令微调数据集,使用 self instruct 方法基于 gpt3.5 生成 | 是 | 否 | 是 | 是 | https://huggingface.co/datasets/BelleGroup/train_2M_CN | 否 | | firefily | 百科 | 1,649,399 | 指令微调 | 无 | 优 | YeungNLP | Firefly(流萤) 是一个开源的中文对话式大语言模型,使用指令微调(Instruction Tuning)在中文数据集上进行调优。使用了词表裁剪、ZeRO等技术,有效降低显存消耗和提高训练效率。 在训练中,我们使用了更小的模型参数量,以及更少的计算资源。 | 未说明 | 未说明 | 是 | 是 | https://huggingface.co/datasets/YeungNLP/firefly-train-1.1M | 否 | | alpaca_gpt4 | 百科 | 48,818 | 指令微调 | 无 | 优 | Baolin Peng, Chunyuan Li, Pengcheng He, Michel Galley, Jianfeng Gao | 本数据集是参考Alpaca方法基于GPT4得到的self-instruct数据,约5万条。 | 是 | 否 | 是 | 是 | https://huggingface.co/datasets/shibing624/alpaca-zh | 否 | | zhihu_kol | 百科 | 1,006,218 | 问答 | 问答 | 优 | wangrui6 | 知乎问答 | 未说明 | 未说明 | 是 | 是 | https://huggingface.co/datasets/wangrui6/Zhihu-KOL | 否 | | hc3_chinese | 百科 | 39,781 | 问答 | 问答 | 良 | Hello-SimpleAI | 问答数据,包括人工回答和 GPT 回答 | 是 | 未说明 | 是 | 是 | https://huggingface.co/datasets/Hello-SimpleAI/HC3-Chinese | 否 | | amazon_reviews_multi | 电商 | 210,000 | 问答 文本分类 | 摘要 | 优 | 亚马逊 | 亚马逊产品评论数据集 | 是 | 否 | 是 | 是 | https://huggingface.co/datasets/amazon_reviews_multi/viewer/zh/train?row=8 | 否 | | mlqa | 百科 | 85,853 | 问答 | 问答 | 良 | patrickvonplaten | 一个用于评估跨语言问答性能的基准数据集 | 是 | 未说明 | 是 | 是 | https://huggingface.co/datasets/mlqa/viewer/mlqa-translate-train.zh/train?p=2 | 否 | | xlsum | 新闻 | 93,404 | 摘要 | 摘要 | 良 | BUET CSE NLP Group | BBC的专业注释文章摘要对 | 是 | 否 | 是 | 是 | https://huggingface.co/datasets/csebuetnlp/xlsum/viewer/chinese_simplified/train?row=259 | 否 | | ocnli | 口语 | 17,726 | 自然语言推理 | 推理 | 良 | Thomas Wolf | 自然语言推理数据集 | 是 | 否 | 是 | 是 | https://huggingface.co/datasets/clue/viewer/ocnli | 是 | | BQ | 金融 | 60,000 | 文本分类 | 相似 | 良 | Intelligent Computing Research Center, Harbin Institute of Technology(Shenzhen) | http://icrc.hitsz.edu.cn/info/1037/1162.htm BQ 语料库包含来自网上银行自定义服务日志的 120,000 个问题对。它分为三部分:100,000 对用于训练,10,000 对用于验证,10,000 对用于测试。 数据提供者: 哈尔滨工业大学(深圳)智能计算研究中心 | 是 | 否 | 是 | 是 | https://huggingface.co/datasets/shibing624/nli_zh/viewer/BQ | 是 | | lcqmc | 口语 | 149,226 | 文本分类 | 相似 | 良 | Ming Xu | 哈工大文本匹配数据集,LCQMC 是哈尔滨工业大学在自然语言处理国际顶会 COLING2018 构建的问题语义匹配数据集,其目标是判断两个问题的语义是否相同 | 是 | 否 | 是 | 是 | https://huggingface.co/datasets/shibing624/nli_zh/viewer/LCQMC/train | 是 | | paws-x | 百科 | 23,576 | 文本分类 | 相似 | 优 | Bhavitvya Malik | PAWS Wiki中的示例 | 是 | 是 | 是 | 是 | https://huggingface.co/datasets/paws-x/viewer/zh/train | 是 | | wiki_atomic_edit | 百科 | 1,213,780 | 平行语义 | 相似 | 优 | abhishek thakur | 基于中文维基百科的编辑记录收集的数据集 | 未说明 | 未说明 | 是 | 是 | https://huggingface.co/datasets/wiki_atomic_edits | 是 | | chatmed_consult | 医药 | 549,326 | 问答 | 问答 | 优 | Wei Zhu | 真实世界的医学相关的问题,使用 gpt3.5 进行回答 | 是 | 否 | 是 | 是 | https://huggingface.co/datasets/michaelwzhu/ChatMed_Consult_Dataset | 否 | | webqa | 百科 | 42,216 | 问答 | 问答 | 优 | suolyer | 百度于2016年开源的数据集,数据来自于百度知道;格式为一个问题多篇意思基本一致的文章,分为人为标注以及浏览器检索;数据整体质量中,因为混合了很多检索而来的文章 | 是 | 未说明 | 是 | 是 | https://huggingface.co/datasets/suolyer/webqa/viewer/suolyer--webqa/train?p=3 | 否 | | dureader_robust | 百科 | 65,937 | 机器阅读理解 问答 | 问答 | 优 | 百度 | DuReader robust旨在利用真实应用中的数据样本来衡量阅读理解模型的鲁棒性,评测模型的过敏感性、过稳定性以及泛化能力,是首个中文阅读理解鲁棒性数据集。 | 是 | 是 | 是 | 是 | https://huggingface.co/datasets/PaddlePaddle/dureader_robust/viewer/plain_text/train?row=96 | 否 | | csl | 学术 | 395,927 | 语料 | 摘要 | 优 | Yudong Li, Yuqing Zhang, Zhe Zhao, Linlin Shen, Weijie Liu, Weiquan Mao and Hui Zhang | 提供首个中文科学文献数据集(CSL),包含 396,209 篇中文核心期刊论文元信息 (标题、摘要、关键词、学科、门类)。CSL 数据集可以作为预训练语料,也可以构建许多NLP任务,例如文本摘要(标题预测)、 关键词生成和文本分类等。 | 是 | 是 | 是 | 是 | https://huggingface.co/datasets/neuclir/csl | 否 | | miracl-corpus | 百科 | 4,934,368 | 语料 | 摘要 | 优 | MIRACL | The corpus for each language is prepared from a Wikipedia dump, where we keep only the plain text and discard images, tables, etc. Each article is segmented into multiple passages using WikiExtractor based on natural discourse units (e.g., \n\n in the wiki markup). Each of these passages comprises a "document" or unit of retrieval. We preserve the Wikipedia article title of each passage. | 是 | 是 | 是 | 是 | https://huggingface.co/datasets/miracl/miracl-corpus | 否 | | lawzhidao | 法律 | 36,368 | 问答 | 问答 | 优 | 和鲸社区-Ustinian | 百度知道清洗后的法律问答 | 是 | 是 | 否 | 是 | https://www.heywhale.com/mw/dataset/5e953ca8e7ec38002d02fca7/content | 否 | | CINLID | 成语 | 34,746 | 平行语义 | 相似 | 优 | 高长宽 | 中文成语语义推理数据集(Chinese Idioms Natural Language Inference Dataset)收集了106832条由人工撰写的成语对(含少量歇后语、俗语等短文本),通过人工标注的方式进行平衡分类,标签为entailment、contradiction和neutral,支持自然语言推理(NLI)的任务。 | 是 | 否 | 否 | 是 | https://www.luge.ai/#/luge/dataDetail?id=39 | 是 | | DuSQL | SQL | 25,003 | NL2SQL | SQL | 优 | 百度 | DuSQL是一个面向实际应用的数据集,包含200个数据库,覆盖了164个领域,问题覆盖了匹配、计算、推理等实际应用中常见形式。该数据集更贴近真实应用场景,要求模型领域无关、问题无关,且具备计算推理等能力。 | 是 | 否 | 否 | 是 | https://www.luge.ai/#/luge/dataDetail?id=13 | 否 | | Zhuiyi-NL2SQL | SQL | 45,918 | NL2SQL | SQL | 优 | 追一科技 刘云峰 | NL2SQL是一个多领域的简单数据集,其主要包含匹配类型问题。该数据集主要验证模型的泛化能力,其要求模型具有较强的领域泛化能力、问题泛化能力。 | 是 | 否 | 否 | 是 | https://www.luge.ai/#/luge/dataDetail?id=12 | 否 | | Cspider | SQL | 7,785 | NL2SQL | SQL | 优 | 西湖大学 张岳 | CSpider是一个多语言数据集,其问题以中文表达,数据库以英文存储,这种双语模式在实际应用中也非常常见,尤其是数据库引擎对中文支持不好的情况下。该数据集要求模型领域无关、问题无关,且能够实现多语言匹配。 | 是 | 否 | 否 | 是 | https://www.luge.ai/#/luge/dataDetail?id=11 | 否 | | news2016zh | 新闻 | 2,507,549 | 语料 | 摘要 | 良 | Bright Xu | 包含了250万篇新闻。新闻来源涵盖了6.3万个媒体,含标题、关键词、描述、正文。 | 是 | 是 | 否 | 是 | https://github.com/brightmart/nlp_chinese_corpus | 否 | | baike2018qa | 百科 | 1,470,142 | 问答 | 问答 | 良 | Bright Xu | 含有150万个预先过滤过的、高质量问题和答案,每个问题属于一个类别。总共有492个类别,其中频率达到或超过10次的类别有434个。 | 是 | 是 | 否 | 是 | https://github.com/brightmart/nlp_chinese_corpus | 否 | | webtext2019zh | 百科 | 4,258,310 | 问答 | 问答 | 优 | Bright Xu | 含有410万个预先过滤过的、高质量问题和回复。每个问题属于一个【话题】,总共有2.8万个各式话题,话题包罗万象。 | 是 | 是 | 否 | 是 | https://github.com/brightmart/nlp_chinese_corpus | 否 | | SimCLUE | 百科 | 775,593 | 平行语义 | 相似 | 良 | 数据集合,请在 simCLUE 中查看 | 整合了中文领域绝大多数可用的开源的语义相似度和自然语言推理的数据集,并重新做了数据拆分和整理。 | 是 | 否 | 否 | 是 | https://github.com/CLUEbenchmark/SimCLUE | 是 | | Chinese-SQuAD | 新闻 | 76,449 | 机器阅读理解 | 问答 | 优 | junzeng-pluto | 中文机器阅读理解数据集,通过机器翻译加人工校正的方式从原始Squad转换而来 | 是 | 否 | 否 | 是 | https://github.com/pluto-junzeng/ChineseSquad | 否 | ## 🗓️ 计划表 - [x] 完成 MTEB 中文评测 BenchMark, [MTEB-zh](https://github.com/wangyuxinwhy/uniem/tree/main/mteb-zh) - [x] 完成 Large 模型的训练和开源 - [x] 完成 Finetuner ,允许更优雅的微调 - [ ] 完成支持代码检索的模型 - [ ] 对 M3E 数据集进行清洗,保留高质量的部分,组成 m3e-hq,并在 huggingface 上开源 - [ ] 在 m3e-hq 的数据集上补充 hard negative 的样本及相似度分数,组成 m3e-hq-with-score,并在 huggingface 上开源 - [ ] 在 m3e-hq-with-score 上通过 [cosent loss](https://github.com/wangyuxinwhy/uniem/blob/main/uniem/criteria.py#LL24C39-L24C39) loss 进行训练并开源模型,CoSent 原理参考这篇[博客](https://kexue.fm/archives/8847) - [ ] 开源商用版本的 M3E models ## 🙏 致谢 感谢开源社区提供的中文语料,感谢所有在此工作中提供帮助的人们,希望中文社区越来越好,共勉! ## 📜 License M3E models 使用的数据集中包括大量非商用的数据集,所以 M3E models 也是非商用的,仅供研究使用。不过我们已经在 M3E 数据集上标识了商用和非商用的数据集,您可以根据自己的需求自行训练。 ## Citation Please cite this model using the following format: ``` @software {Moka Massive Mixed Embedding, author = {Wang Yuxin,Sun Qingxuan,He sicheng}, title = {M3E: Moka Massive Mixed Embedding Model}, year = {2023} } ```
[ -0.6078438758850098, -0.637479305267334, 0.1843634396791458, 0.15055210888385773, -0.3084898889064789, -0.2544202506542206, -0.3080368638038635, -0.15437854826450348, 0.4940952658653259, 0.04033733159303665, -0.4811426103115082, -0.7127646207809448, -0.6996588110923767, -0.12346991896629333, 0.3301677405834198, 0.7568153738975525, -0.23716533184051514, 0.05721544474363327, 0.17575335502624512, -0.25339454412460327, -0.4902099370956421, -0.12966233491897583, -0.6523588299751282, -0.2809979319572449, -0.006831573788076639, 0.428706556558609, 0.6001846790313721, 0.6694783568382263, 0.4941403865814209, 0.34111660718917847, -0.14560726284980774, 0.2856719493865967, -0.34627074003219604, -0.20387309789657593, 0.23020108044147491, -0.5344172120094299, -0.5667517185211182, -0.000009242764463124331, 0.7810500860214233, 0.41807833313941956, 0.11836390942335129, 0.2831915318965912, 0.36994126439094543, 0.730305016040802, -0.35042473673820496, 0.34916239976882935, -0.14733335375785828, 0.012216742150485516, -0.23048394918441772, -0.21146249771118164, -0.2683442234992981, -0.4197438061237335, -0.08053302764892578, -0.6579740643501282, -0.06802474707365036, 0.13579973578453064, 1.5151417255401611, 0.06501119583845139, -0.43197959661483765, -0.10355737805366516, -0.3047020733356476, 1.0217617750167847, -0.9595786929130554, 0.20025086402893066, 0.3118821084499359, 0.2569332718849182, -0.22140875458717346, -0.7932168841362, -0.6375833749771118, 0.18015234172344208, -0.43589556217193604, 0.5353133082389832, -0.034145135432481766, -0.4173939526081085, 0.10593105852603912, 0.3348613679409027, -0.5626185536384583, 0.0476626455783844, -0.29875051975250244, -0.010182008147239685, 0.5689746141433716, 0.1351117640733719, 0.6303304433822632, -0.53745037317276, -0.537314772605896, -0.3276655673980713, -0.5721067190170288, 0.45165500044822693, 0.11583547294139862, 0.10746939480304718, -0.6227331757545471, 0.7349094152450562, -0.0037978957407176495, 0.4258583188056946, -0.027855731546878815, -0.29701128602027893, 0.7317572832107544, -0.4312911033630371, -0.3438724875450134, -0.1854049116373062, 1.2619024515151978, 0.7601419687271118, 0.02586594596505165, 0.07629471272230148, -0.07271452248096466, -0.0780378133058548, -0.2908570170402527, -1.0077632665634155, -0.2250075489282608, 0.509548544883728, -0.6689953804016113, -0.3219921290874481, 0.20041611790657043, -1.0281487703323364, 0.2678317129611969, -0.05957368388772011, 0.6223419904708862, -0.7305896282196045, -0.48067131638526917, -0.08203322440385818, -0.28342390060424805, 0.23727905750274658, 0.13546623289585114, -0.8390374183654785, 0.037497628480196, 0.4585084021091461, 0.9552401304244995, 0.0948386937379837, -0.22767122089862823, -0.15888585150241852, 0.3426273763179779, -0.38443243503570557, 0.6144406199455261, -0.15475761890411377, -0.2994696795940399, -0.04130009561777115, 0.22895404696464539, -0.3452586829662323, -0.26579156517982483, 0.47391852736473083, -0.21423639357089996, 0.5311605334281921, -0.22592270374298096, -0.455438494682312, -0.272873193025589, 0.2722632884979248, -0.5870173573493958, 1.1987611055374146, 0.16815553605556488, -1.12525475025177, 0.21203270554542542, -0.7892389893531799, -0.1788148432970047, -0.2395617812871933, -0.13800248503684998, -0.6849170327186584, -0.36903807520866394, 0.48367777466773987, 0.47027185559272766, -0.2925683259963989, -0.10242635011672974, -0.10187169164419174, -0.3187059760093689, 0.2211456298828125, -0.1777930110692978, 1.403812050819397, 0.2996804416179657, -0.7035782933235168, 0.1416603922843933, -0.7651456594467163, 0.39387691020965576, 0.4380626678466797, -0.3650623559951782, -0.20777347683906555, -0.14158527553081512, 0.08230950683355331, 0.3280182480812073, 0.39380091428756714, -0.4567151665687561, 0.27806276082992554, -0.5800290107727051, 0.762123167514801, 1.0316466093063354, 0.09361065179109573, 0.3502209186553955, -0.5531682968139648, 0.17094288766384125, 0.14255543053150177, 0.03680656850337982, -0.1654864102602005, -0.7519115209579468, -0.9089071750640869, -0.42353522777557373, 0.37941089272499084, 0.750834584236145, -0.7084192037582397, 0.8869022130966187, -0.38349515199661255, -0.5488770008087158, -0.6999724507331848, 0.07330530881881714, 0.3841816782951355, 0.2690700590610504, 0.6530418395996094, 0.1299581080675125, -0.5586671233177185, -0.8847014904022217, 0.06154811382293701, -0.06786289811134338, -0.1864955574274063, 0.36388856172561646, 0.7644802331924438, -0.32454028725624084, 0.8088560104370117, -0.6737828254699707, -0.592558741569519, -0.3389809727668762, -0.015496453270316124, 0.4480774402618408, 0.7216314673423767, 0.7104796171188354, -0.7055604457855225, -0.7757471799850464, -0.04179181903600693, -1.029870867729187, 0.27566343545913696, -0.02669847570359707, -0.4012669622898102, 0.33545148372650146, 0.28324460983276367, -0.6083997488021851, 0.4646667242050171, 0.6610627770423889, -0.49045857787132263, 0.474295049905777, -0.28432318568229675, 0.22996005415916443, -1.6112689971923828, 0.1552305519580841, 0.00859255250543356, 0.11960318684577942, -0.4546518325805664, 0.22613079845905304, 0.17848339676856995, 0.1497151404619217, -0.40592247247695923, 0.5586335062980652, -0.6512397527694702, 0.2926532030105591, 0.17473679780960083, 0.386144757270813, -0.13916082680225372, 0.8329673409461975, -0.22286418080329895, 0.8276214003562927, 0.6676515340805054, -0.6228747963905334, 0.13123032450675964, 0.42878326773643494, -0.565890371799469, 0.17799103260040283, -0.6110932230949402, -0.0364026315510273, -0.0077043320052325726, 0.1090470403432846, -1.337294340133667, -0.12394090741872787, 0.46389666199684143, -0.724202573299408, 0.6018323302268982, -0.10204292833805084, -0.43945223093032837, -0.63893723487854, -0.8440687656402588, 0.2328108847141266, 0.5478726029396057, -0.5420942902565002, 0.4235817492008209, 0.35025137662887573, 0.0359487421810627, -0.6004803776741028, -0.9105311036109924, -0.2502271234989166, 0.005206199828535318, -1.032344937324524, 0.5461738705635071, -0.09531610459089279, 0.0319034568965435, 0.14796915650367737, 0.0301959291100502, 0.11275668442249298, -0.04744850844144821, 0.2624507546424866, 0.5003079175949097, -0.3744678795337677, -0.23230472207069397, 0.028605645522475243, -0.33699148893356323, -0.12622039020061493, -0.1426452100276947, 0.6976127624511719, -0.24065308272838593, -0.1961566060781479, -0.8329659104347229, 0.13330912590026855, 0.5605617165565491, -0.18590451776981354, 0.8712579011917114, 0.7771146297454834, -0.27152153849601746, 0.03471548482775688, -0.34364867210388184, 0.001961870351806283, -0.5423320531845093, 0.3068927526473999, -0.4888409376144409, -0.8891323208808899, 0.4562908411026001, -0.02153659798204899, 0.33086150884628296, 0.984110414981842, 0.5361729264259338, -0.34132322669029236, 1.1787288188934326, 0.29803401231765747, -0.14113008975982666, 0.3648644685745239, -1.0322599411010742, 0.0918167233467102, -1.098096489906311, -0.6086392402648926, -0.4945797920227051, -0.5779953598976135, -0.9059950113296509, -0.5383487939834595, 0.39479681849479675, 0.16100239753723145, -0.4911736249923706, 0.3018677234649658, -0.6733453273773193, -0.0927455797791481, 0.6833595633506775, 0.21816116571426392, -0.10042469948530197, 0.11987748742103577, -0.4919178783893585, -0.22626402974128723, -0.5287344455718994, -0.5488609671592712, 1.1244182586669922, 0.44103869795799255, 0.577138364315033, 0.4625266492366791, 0.6510390043258667, 0.0854320079088211, 0.05347704142332077, -0.6643319725990295, 0.52708500623703, -0.09488443285226822, -0.5685786008834839, -0.4210536777973175, -0.36718031764030457, -1.0025396347045898, 0.493030846118927, -0.2601078450679779, -1.010825753211975, 0.14447475969791412, -0.10202743113040924, -0.2293757200241089, 0.6907354593276978, -0.6936435103416443, 0.9484280347824097, -0.22636117041110992, -0.36445745825767517, 0.015295561403036118, -0.5845251083374023, 0.3328682780265808, 0.37559640407562256, 0.33941036462783813, -0.03812596574425697, -0.08778411149978638, 1.081713080406189, -0.7795881032943726, 0.5788189172744751, -0.2990047335624695, 0.0804552435874939, 0.6163535118103027, -0.04673878476023674, 0.7931732535362244, 0.14206984639167786, -0.05397556349635124, 0.24872393906116486, -0.05442983657121658, -0.5888643264770508, -0.4387180805206299, 0.8595038652420044, -1.1195560693740845, -0.6219367384910583, -0.6035768389701843, -0.16841667890548706, 0.05465690419077873, 0.3705015778541565, 0.5615369081497192, 0.38249364495277405, 0.07999169826507568, 0.42797622084617615, 0.5241702795028687, -0.35783183574676514, 0.6393405199050903, 0.23364098370075226, -0.05318816378712654, -0.8263890743255615, 1.0862164497375488, 0.2056640237569809, 0.14438199996948242, 0.5924027562141418, 0.17222195863723755, -0.30121609568595886, -0.47478461265563965, -0.6061053276062012, 0.4343932271003723, -0.37803342938423157, -0.17505773901939392, -0.7366589903831482, -0.21974992752075195, -0.8304202556610107, -0.1544841080904007, -0.3214302957057953, -0.5642315149307251, -0.38342779874801636, -0.20749729871749878, 0.36917755007743835, 0.5580211281776428, -0.12056752294301987, 0.1544630378484726, -0.6598756909370422, 0.36076420545578003, 0.055758122354745865, 0.3502948582172394, 0.13181275129318237, -0.6166133284568787, -0.3788125813007355, 0.23812668025493622, -0.46367958188056946, -0.8906087279319763, 0.5541636943817139, -0.1150994822382927, 0.6379477977752686, 0.6194108724594116, -0.13384349644184113, 0.7239681482315063, -0.35869503021240234, 1.0209499597549438, 0.42687344551086426, -0.7955789566040039, 0.6432870030403137, -0.21858438849449158, 0.08115249872207642, 0.42945459485054016, 0.43757694959640503, -0.4368472695350647, -0.2271590530872345, -0.5786877870559692, -1.0301880836486816, 0.990719199180603, 0.4159347414970398, -0.15667298436164856, 0.05338096618652344, -0.06333519518375397, -0.30649131536483765, -0.036389563232660294, -0.8051209449768066, -1.0213474035263062, -0.5046101212501526, -0.2761845588684082, 0.0547817088663578, -0.4145730137825012, -0.08951114118099213, -0.4466247260570526, 0.9156061410903931, 0.1456795185804367, 0.8520011901855469, 0.19534046947956085, -0.057734545320272446, -0.07004664093255997, 0.2472233772277832, 0.5870074033737183, 0.409242182970047, -0.551376461982727, -0.056543439626693726, 0.18985089659690857, -0.5525205135345459, 0.15095125138759613, -0.049466438591480255, -0.5687862038612366, 0.08636967092752457, 0.3582160472869873, 0.7602352499961853, 0.20451661944389343, -0.2870488464832306, 0.6660311818122864, 0.08334189653396606, -0.44352614879608154, -0.48400747776031494, 0.009143294766545296, 0.2480994611978531, 0.12730877101421356, 0.40429484844207764, -0.0007027250831015408, -0.16404098272323608, -0.630369246006012, 0.24930059909820557, 0.49678006768226624, -0.3579173684120178, -0.035350997000932693, 0.7264635562896729, 0.026870988309383392, -0.14582978188991547, 0.551300585269928, -0.21692362427711487, -0.7641712427139282, 0.8560857176780701, 0.6132209300994873, 0.6953425407409668, -0.20716750621795654, 0.18479445576667786, 1.0669286251068115, 0.47426119446754456, 0.010789540596306324, 0.38311031460762024, 0.26100683212280273, -0.529237687587738, -0.08622098714113235, -0.5643008351325989, 0.04312954097986221, 0.28136682510375977, -0.5663334727287292, 0.39078816771507263, -0.619580090045929, -0.17912286520004272, -0.07439392805099487, 0.40058037638664246, -0.5837981700897217, 0.2997165024280548, -0.10277969390153885, 1.0433489084243774, -0.6523554921150208, 0.9304861426353455, 0.6798365712165833, -0.6837725639343262, -1.0041124820709229, -0.008809471502900124, 0.026904325932264328, -0.8807549476623535, 0.6908551454544067, 0.31940117478370667, 0.13645903766155243, 0.015075619332492352, -0.3540480136871338, -1.0526866912841797, 1.620076298713684, -0.18908017873764038, -0.30853772163391113, 0.09471438825130463, 0.045162539929151535, 0.4320276379585266, -0.3293416202068329, 0.6404116749763489, 0.3091582953929901, 0.7352070212364197, 0.01100365910679102, -0.6808580756187439, 0.48019033670425415, -0.5937684774398804, 0.005595719441771507, 0.1955251395702362, -1.189801573753357, 1.2579830884933472, -0.32235977053642273, -0.29707765579223633, 0.0038479201029986143, 0.7708101272583008, 0.26298514008522034, 0.28456079959869385, 0.3086016774177551, 0.8492687344551086, 0.6339972019195557, -0.3645381033420563, 1.0483348369598389, -0.2598765194416046, 0.62808758020401, 0.8828697204589844, 0.3096303939819336, 1.0341707468032837, 0.2548486888408661, -0.5781464576721191, 0.8061462044715881, 0.7083775997161865, -0.36634597182273865, 0.7121245861053467, -0.18062026798725128, -0.09592341631650925, -0.06808407604694366, 0.20549628138542175, -0.8724188208580017, 0.14270634949207306, 0.35785233974456787, -0.4158782660961151, -0.024279983714222908, -0.11985599249601364, 0.20779429376125336, -0.1114167645573616, -0.15177235007286072, 0.7219721674919128, 0.029446804895997047, -0.5672896504402161, 0.8183034658432007, 0.3221149444580078, 0.9936496019363403, -0.5882027745246887, 0.010874530300498009, -0.08845919370651245, 0.22354847192764282, -0.3693353831768036, -1.0177717208862305, -0.07587742805480957, -0.22934120893478394, -0.09283716976642609, 0.05671593174338341, 0.4943678677082062, -0.3272692561149597, -0.4711295962333679, 0.5101422667503357, 0.2670919597148895, 0.16928230226039886, 0.32356902956962585, -0.9589594602584839, -0.13314597308635712, 0.44274839758872986, -0.6971785426139832, 0.429352730512619, 0.5530964136123657, 0.209835946559906, 0.5819644331932068, 0.8267907500267029, 0.04439036175608635, 0.13891048729419708, -0.17505432665348053, 0.976882815361023, -0.8519060611724854, -0.5491296052932739, -0.8618927001953125, 0.7531337141990662, -0.2684161365032196, -0.3564923107624054, 0.8753892183303833, 0.7972230911254883, 0.7919099926948547, -0.01765824481844902, 0.924400806427002, -0.43419837951660156, 0.5226978659629822, -0.5692867636680603, 0.8796178698539734, -0.9340805411338806, 0.007284554652869701, -0.2042069286108017, -0.681761622428894, -0.17255741357803345, 0.8503398299217224, -0.1934671550989151, 0.14647263288497925, 0.9205743074417114, 0.8951080441474915, 0.1050650104880333, -0.07328320294618607, -0.021571161225438118, 0.43953588604927063, 0.30393514037132263, 0.9886182546615601, 0.24339517951011658, -0.9540295600891113, 0.8403238654136658, -0.6607097387313843, -0.24268899857997894, -0.5515392422676086, -0.5928179621696472, -1.0643666982650757, -0.6118685007095337, -0.28292807936668396, -0.6330904960632324, -0.24463924765586853, 1.053900957107544, 0.46383771300315857, -0.9836465716362, -0.1868373602628708, 0.06414056569337845, 0.2460499405860901, -0.4954150915145874, -0.3018776774406433, 1.030970573425293, -0.2314978688955307, -0.9688041806221008, 0.15335483849048615, 0.0667937770485878, 0.19125133752822876, 0.07888814061880112, -0.41811656951904297, -0.5288544297218323, -0.13064931333065033, 0.47548815608024597, 0.20935013890266418, -0.6933411955833435, -0.08314256370067596, -0.08453987538814545, -0.3700205385684967, 0.22604557871818542, 0.3102828562259674, -0.3552440404891968, 0.3744118809700012, 0.696660578250885, 0.22110441327095032, 0.6234739422798157, -0.10869690030813217, 0.09083987027406693, -0.39349180459976196, 0.1733565628528595, -0.20622944831848145, 0.563740611076355, 0.03506738692522049, -0.2600146532058716, 0.7648621797561646, 0.4644489586353302, -0.3739479184150696, -0.7323769330978394, -0.28507572412490845, -1.2903064489364624, -0.4397418200969696, 1.2335318326950073, -0.32536277174949646, -0.45298871397972107, 0.19851455092430115, -0.34330281615257263, 0.5798851251602173, -0.5357402563095093, 0.5556156635284424, 0.6226104497909546, 0.0984511747956276, -0.0024623058270663023, -0.7973337173461914, 0.38950273394584656, 0.37446892261505127, -0.598957359790802, -0.39238789677619934, 0.10915257781744003, 0.36776527762413025, 0.41952309012413025, 0.5654932260513306, -0.21886347234249115, 0.1986139714717865, 0.1002749353647232, 0.08884983509778976, -0.37265586853027344, 0.07593104243278503, 0.0795198529958725, 0.28161191940307617, -0.2325448840856552, -0.5879809856414795 ]
microsoft/deberta-base-mnli
microsoft
2021-12-09T13:36:31Z
7,230
3
transformers
[ "transformers", "pytorch", "rust", "deberta", "text-classification", "deberta-v1", "deberta-mnli", "en", "arxiv:2006.03654", "license:mit", "endpoints_compatible", "region:us" ]
text-classification
2022-03-02T23:29:05Z
--- language: en tags: - deberta-v1 - deberta-mnli tasks: mnli thumbnail: https://huggingface.co/front/thumbnails/microsoft.png license: mit widget: - text: "[CLS] I love you. [SEP] I like you. [SEP]" --- ## DeBERTa: Decoding-enhanced BERT with Disentangled Attention [DeBERTa](https://arxiv.org/abs/2006.03654) improves the BERT and RoBERTa models using disentangled attention and enhanced mask decoder. It outperforms BERT and RoBERTa on majority of NLU tasks with 80GB training data. Please check the [official repository](https://github.com/microsoft/DeBERTa) for more details and updates. This model is the base DeBERTa model fine-tuned with MNLI task #### Fine-tuning on NLU tasks We present the dev results on SQuAD 1.1/2.0 and MNLI tasks. | Model | SQuAD 1.1 | SQuAD 2.0 | MNLI-m | |-------------------|-----------|-----------|--------| | RoBERTa-base | 91.5/84.6 | 83.7/80.5 | 87.6 | | XLNet-Large | -/- | -/80.2 | 86.8 | | **DeBERTa-base** | 93.1/87.2 | 86.2/83.1 | 88.8 | ### Citation If you find DeBERTa useful for your work, please cite the following paper: ``` latex @inproceedings{ he2021deberta, title={DEBERTA: DECODING-ENHANCED BERT WITH DISENTANGLED ATTENTION}, author={Pengcheng He and Xiaodong Liu and Jianfeng Gao and Weizhu Chen}, booktitle={International Conference on Learning Representations}, year={2021}, url={https://openreview.net/forum?id=XPZIaotutsD} } ```
[ -0.3357301950454712, -0.6428979635238647, 0.2585664987564087, 0.5067058801651001, -0.27664604783058167, 0.2119355946779251, -0.062233176082372665, -0.6661720871925354, 0.1527840942144394, 0.116136334836483, -0.6291406154632568, -0.42966729402542114, -1.0383802652359009, 0.05029810592532158, -0.24570317566394806, 0.7195888161659241, 0.19508254528045654, 0.31357795000076294, 0.06174902990460396, -0.17889432609081268, -0.5522598624229431, -0.6600999236106873, -0.7756659388542175, -0.4502463638782501, 0.3881992697715759, -0.07431040704250336, 0.45194268226623535, -0.012344148010015488, 0.7109256386756897, 0.3130718767642975, -0.607380747795105, 0.4244570732116699, -0.6820502877235413, -0.05779537931084633, 0.04379832372069359, -0.20268464088439941, -0.7820867896080017, -0.12988035380840302, 0.6641642451286316, 0.37564122676849365, 0.13207654654979706, 0.24983200430870056, 0.30682122707366943, 1.1025246381759644, -0.6336778402328491, 0.12119738757610321, -0.7605056166648865, -0.07478437572717667, 0.24256941676139832, -0.014890027232468128, -0.6698923707008362, -0.12713207304477692, 0.21169783174991608, -0.3242594003677368, 0.06566401571035385, -0.3888607621192932, 1.2368091344833374, 0.7214162945747375, -0.3483361303806305, -0.10008125752210617, -0.6752183437347412, 1.094401478767395, -0.9473754167556763, 0.4855484962463379, 0.39994192123413086, 0.20731574296951294, -0.31057775020599365, -0.5254035592079163, -0.46957820653915405, -0.22259268164634705, -0.07253744453191757, 0.3510136008262634, -0.7183218002319336, -0.0610484816133976, 0.3860570192337036, 0.12376874685287476, -0.5776121020317078, 0.12476903200149536, -0.4615078866481781, 0.1814654916524887, 0.8092441558837891, 0.008645045571029186, -0.015931246802210808, 0.06796084344387054, -0.5426492691040039, -0.25593045353889465, -0.7258083820343018, 0.04763242229819298, 0.39461782574653625, -0.13123279809951782, -0.07333347946405411, 0.030289843678474426, -0.10649155080318451, 1.0576831102371216, 0.13715903460979462, 0.38477233052253723, 0.5217474699020386, -0.061117079108953476, -0.4358293414115906, 0.11362100392580032, 0.5136703252792358, 0.2314898818731308, -0.09980986267328262, -0.26983317732810974, -0.020907331258058548, -0.06525101512670517, 0.24015922844409943, -0.7843161821365356, -0.4868006408214569, 0.4220349192619324, -0.6975181102752686, -0.1724366843700409, 0.08723726123571396, -0.6608895063400269, -0.08563199639320374, -0.5074840188026428, 0.3756268322467804, -0.5797653198242188, -0.40256041288375854, 0.2554468512535095, -0.12587189674377441, 0.3336969316005707, 0.49831056594848633, -1.121619701385498, 0.02992858551442623, 0.4908512830734253, 0.6706953644752502, -0.08994517475366592, -0.13789252936840057, -0.44499871134757996, -0.12556174397468567, -0.04776337742805481, 0.32402360439300537, -0.11612296849489212, 0.20461517572402954, -0.2213999330997467, 0.06059806048870087, -0.2332225739955902, -0.351186603307724, 0.4440372586250305, -0.9559302926063538, -0.17776161432266235, -0.2745387852191925, -0.47815197706222534, -0.5802028775215149, 0.2862955629825592, -0.8609382510185242, 0.8533275723457336, 0.17508730292320251, -0.6986021399497986, 0.20150111615657806, -0.752302348613739, 0.02080332301557064, -0.14373987913131714, 0.15929391980171204, -0.3680531978607178, -0.018731357529759407, 0.37189361453056335, 0.4456968307495117, -0.020074285566806793, 0.37599512934684753, -0.1983480006456375, -0.6065273284912109, 0.41519272327423096, -0.5018922686576843, 1.5542100667953491, 0.3500562608242035, -0.5683854222297668, -0.012188524007797241, -1.0634803771972656, 0.05340510234236717, 0.22004862129688263, -0.4462844729423523, -0.27259591221809387, 0.12265503406524658, 0.05952205881476402, 0.11229422688484192, 0.5084301233291626, -0.6409144401550293, 0.23328356444835663, -0.3726421296596527, 0.7364508509635925, 0.7270298600196838, -0.3233732283115387, 0.2643757462501526, -0.049853287637233734, 0.13061755895614624, 0.27054646611213684, 0.4107637405395508, 0.2723274230957031, -0.6638678908348083, -0.7807398438453674, -0.6521382331848145, 0.7305038571357727, 0.5910994410514832, -0.5754700303077698, 0.8047271370887756, 0.013468345627188683, -0.5740689039230347, -0.8982217311859131, 0.09215271472930908, 0.3269447386264801, 0.251485675573349, 0.682636022567749, 0.07346951216459274, -0.8226914405822754, -0.904242992401123, 0.134553000330925, 0.024016031995415688, -0.06385648995637894, -0.024828249588608742, 0.5461081862449646, -0.4663374125957489, 0.8230319619178772, -0.40564247965812683, -0.5614392757415771, -0.29492974281311035, 0.14866814017295837, 0.5018932223320007, 0.7050043344497681, 0.9956609606742859, -0.9140549302101135, -0.5628806352615356, -0.4243636131286621, -0.7383710741996765, 0.37915199995040894, 0.018421344459056854, -0.2595483064651489, 0.49701929092407227, 0.18244867026805878, -0.3101564943790436, 0.4997914433479309, 0.8226519227027893, -0.3423693776130676, -0.028249356895685196, -0.3352203071117401, 0.181545689702034, -1.2296431064605713, 0.1755785197019577, -0.17678889632225037, -0.20383810997009277, -0.6273830533027649, 0.1691308617591858, 0.20811881124973297, 0.3067305386066437, -0.4289790093898773, 0.10933531820774078, -0.5973402857780457, 0.09223034232854843, -0.31411126255989075, 0.19167210161685944, 0.09979289025068283, 0.8895990252494812, 0.11018209159374237, 0.5670121908187866, 0.6048148274421692, -0.48815467953681946, 0.3191497325897217, 0.6520167589187622, -0.39779284596443176, -0.07081840187311172, -1.1000182628631592, 0.31661951541900635, -0.3195028305053711, 0.4346734285354614, -1.1722694635391235, 0.2122882455587387, 0.2985581159591675, -0.6010482907295227, 0.43239882588386536, -0.13786104321479797, -0.6777157187461853, -0.27211979031562805, -0.40916314721107483, 0.21520735323429108, 0.7979791164398193, -0.8556464910507202, 0.22149555385112762, 0.3206465542316437, 0.4811686873435974, -0.9012731313705444, -0.9520200490951538, -0.11100588738918304, -0.11305957287549973, -0.5310750007629395, 0.6587544083595276, -0.3679194152355194, -0.132712721824646, 0.11317390203475952, 0.20704740285873413, -0.3820706009864807, 0.30548954010009766, 0.14246608316898346, 0.44962307810783386, -0.1316206455230713, 0.14720262587070465, 0.11822540313005447, -0.017150145024061203, -0.11175324767827988, 0.03231365606188774, 0.4791333079338074, -0.2774834930896759, -0.10898184031248093, -0.49277639389038086, 0.40202587842941284, 0.41812586784362793, -0.43147775530815125, 0.8680635094642639, 1.04118812084198, -0.4388892650604248, 0.04307212680578232, -0.4215230941772461, -0.3832399547100067, -0.4531577229499817, 0.22455450892448425, -0.195726677775383, -0.7461047172546387, 0.677463948726654, 0.33849048614501953, 0.1548461616039276, 0.6510782837867737, 0.4936530292034149, -0.26196029782295227, 1.1429698467254639, 0.6365402340888977, -0.28300741314888, 0.6447146534919739, -0.8345330357551575, 0.19291295111179352, -1.3573356866836548, -0.15245991945266724, -0.46868696808815, -0.7981382012367249, -0.4491851031780243, -0.26545780897140503, 0.1667301505804062, 0.5895078182220459, -0.12718543410301208, 0.7136167287826538, -1.1602771282196045, 0.3504897356033325, 0.7528831958770752, 0.5618064999580383, 0.3385882079601288, 0.08049150556325912, 0.4883563220500946, -0.1493447870016098, -0.7693216800689697, -0.47299936413764954, 1.0539989471435547, 0.5399516224861145, 0.8179287314414978, 0.56706303358078, 0.8709410429000854, 0.3300612270832062, -0.14076295495033264, -0.4340250492095947, 0.5042775869369507, -0.2760545611381531, -0.823375940322876, -0.28966471552848816, -0.23040726780891418, -1.256528377532959, 0.29232165217399597, -0.21715600788593292, -1.1772570610046387, 0.5929509997367859, 0.1928834319114685, -0.44905054569244385, 0.26709264516830444, -0.53575599193573, 0.6530619263648987, -0.025140389800071716, -0.07102740556001663, -0.3197280168533325, -0.6410349011421204, 0.32464948296546936, 0.18727146089076996, -0.5476298332214355, -0.13883474469184875, 0.21063357591629028, 0.8026790618896484, 0.011060511693358421, 1.0011705160140991, -0.27381637692451477, -0.3116566240787506, 0.4106912910938263, -0.22176258265972137, 0.6223569512367249, 0.38954874873161316, -0.1336442530155182, 0.5784475207328796, 0.10851053148508072, -0.41087645292282104, -0.5265526175498962, 0.9167200922966003, -1.055442214012146, -0.39532598853111267, -0.527653157711029, -0.6489262580871582, -0.045024141669273376, -0.01172166783362627, 0.4928434193134308, 0.6284357905387878, -0.058498647063970566, 0.4176638722419739, 1.1895081996917725, 0.01211100909858942, 0.6623905301094055, 0.7420414686203003, 0.2859031558036804, -0.23975318670272827, 0.8429482579231262, 0.10482537746429443, 0.0299446489661932, 0.7111907005310059, -0.35575899481773376, -0.4136539101600647, -0.8200315237045288, -0.690299928188324, 0.09673846513032913, -0.8283553123474121, -0.4233797788619995, -0.9375961422920227, -0.4047476649284363, -0.42464667558670044, 0.2047336995601654, -0.2861779034137726, -0.5569570660591125, -0.8018182516098022, 0.17516887187957764, 0.6864609122276306, 0.6449737548828125, -0.0873812660574913, 0.09580539166927338, -1.0911659002304077, 0.21836382150650024, 0.16971039772033691, 0.04680602252483368, 0.2493114322423935, -0.6029092669487, -0.32034751772880554, 0.2513086497783661, -0.4896232783794403, -1.02329683303833, 0.45806702971458435, 0.06369233131408691, 0.8294613361358643, -0.017840459942817688, 0.3040800094604492, 0.5883786082267761, -0.3495970666408539, 0.8208785057067871, 0.0907345563173294, -0.9903193116188049, 0.6265512704849243, -0.19972771406173706, 0.4216157793998718, 0.6571952700614929, 0.3916814923286438, 0.26387494802474976, -0.35899481177330017, -0.6830743551254272, -0.9456740021705627, 0.9469025731086731, 0.44489458203315735, 0.0847850814461708, 0.03639043867588043, -0.02544395439326763, -0.08946315199136734, 0.1080574169754982, -0.7804153561592102, -0.4008234739303589, -0.1295849084854126, -0.3289874196052551, -0.025028442963957787, -0.48679476976394653, -0.1399054080247879, -0.49791190028190613, 0.9209323525428772, 0.06741325557231903, 0.7423789501190186, 0.6069065928459167, -0.3952884078025818, 0.07728975266218185, 0.040050409734249115, 1.052933931350708, 0.8486883044242859, -0.6875856518745422, -0.15414392948150635, 0.33394381403923035, -0.4121145009994507, 0.015816237777471542, 0.3306313157081604, -0.070531465113163, 0.37333136796951294, 0.43651294708251953, 1.0253363847732544, 0.048941291868686676, -0.6065277457237244, 0.2879627048969269, -0.17328909039497375, -0.4105023145675659, -0.29190176725387573, -0.07200606167316437, -0.032258231192827225, 0.6798843145370483, 0.5463205575942993, 0.1148434653878212, 0.39498767256736755, -0.2712402939796448, 0.05054584518074989, 0.4112336039543152, -0.43822529911994934, -0.2657480537891388, 0.6593672037124634, 0.30469027161598206, 0.03832266107201576, 0.615680992603302, -0.36605095863342285, -0.5072621703147888, 0.8374491930007935, 0.6104111075401306, 0.9306458234786987, -0.0911450982093811, 0.05045999959111214, 0.6397554874420166, 0.41609904170036316, 0.13662955164909363, 0.6458790302276611, -0.05262061208486557, -0.48769745230674744, -0.38839617371559143, -0.5470654964447021, -0.15407878160476685, 0.38207459449768066, -0.8303436040878296, -0.038772281259298325, -0.09196369349956512, -0.20740845799446106, 0.06535258144140244, 0.09599509835243225, -0.6808161735534668, -0.04162941873073578, 0.03889363631606102, 0.9498546123504639, -0.422556072473526, 1.141149640083313, 0.7416715621948242, -0.4317665100097656, -0.5683731436729431, -0.07518187165260315, -0.43059733510017395, -0.5814101099967957, 1.1960207223892212, 0.025317899882793427, -0.11794131249189377, 0.17691218852996826, -0.2516814172267914, -0.9854673743247986, 1.3215194940567017, 0.520270586013794, -1.0050145387649536, 0.06847450882196426, -0.2633119523525238, 0.6092537641525269, -0.1921372264623642, 0.13858015835285187, 0.3420109748840332, 0.38022878766059875, -0.11116848140954971, -0.7751473188400269, 0.03374100103974342, -0.15725155174732208, 0.18982072174549103, 0.07094531506299973, -0.8480579853057861, 1.0344444513320923, -0.1794663965702057, 0.02009265311062336, 0.18688082695007324, 0.721120297908783, 0.03362584486603737, 0.25842106342315674, 0.4391501843929291, 0.6438946723937988, 0.5878211855888367, -0.20784884691238403, 0.6514748334884644, -0.3016657531261444, 0.7181922793388367, 1.2115360498428345, 0.0373627133667469, 1.0434709787368774, 0.46062183380126953, -0.3062179386615753, 0.5193741917610168, 0.6129430532455444, -0.2567521929740906, 0.9170160293579102, 0.19681274890899658, 0.028994398191571236, -0.11822651326656342, 0.3682061731815338, -0.6832579374313354, 0.5274103283882141, 0.14212702214717865, -0.6495809555053711, -0.2634828984737396, 0.2256287932395935, -0.2763652205467224, -0.04046991840004921, -0.1892758011817932, 0.932171106338501, -0.10091577470302582, -0.590470016002655, 1.3436518907546997, -0.21471305191516876, 0.7603839635848999, -0.5937831401824951, -0.2888973355293274, -0.12760362029075623, 0.5548855662345886, -0.143931046128273, -0.6147167682647705, 0.29617947340011597, 0.07210615277290344, -0.47144004702568054, 0.0861813947558403, 0.7651320099830627, -0.5380446910858154, -0.4629483222961426, 0.551202654838562, 0.15367725491523743, 0.14625124633312225, -0.007616087794303894, -1.0142817497253418, 0.4874742329120636, 0.17255309224128723, -0.3095909655094147, 0.35694420337677, 0.03690735250711441, 0.28887099027633667, 0.4745599031448364, 0.4118522107601166, -0.46536746621131897, 0.13702470064163208, -0.029308822005987167, 0.9475184082984924, -0.37775349617004395, -0.2859015464782715, -0.9619874954223633, 0.606355607509613, -0.28486257791519165, -0.32850033044815063, 0.8623854517936707, 0.28679415583610535, 0.7140175104141235, -0.4663487374782562, 0.4031131863594055, -0.1749049425125122, 0.1903187334537506, -0.6116710901260376, 0.8321874141693115, -0.6589140892028809, 0.04567204415798187, -0.25316476821899414, -1.0092796087265015, -0.21639691293239594, 0.7369648814201355, 0.11244654655456543, -0.09762871265411377, 0.3899856209754944, 0.63427734375, -0.03705988824367523, -0.15730109810829163, 0.35366079211235046, 0.055026423186063766, 0.3476009964942932, 1.002467393875122, 0.7205210328102112, -1.0308836698532104, 0.4750697910785675, -0.2319476157426834, -0.3457503914833069, -0.5541836023330688, -0.8639895915985107, -1.265309453010559, -0.8464192748069763, -0.579330325126648, -0.37008097767829895, 0.22043165564537048, 0.8075746893882751, 0.8774943351745605, -0.940257728099823, 0.29029321670532227, -0.2121824473142624, 0.11532089859247208, -0.7565039396286011, -0.1787269413471222, 0.616296648979187, -0.4649351239204407, -1.3314884901046753, 0.5792175531387329, -0.06278840452432632, 0.26591989398002625, -0.34997835755348206, -0.24758204817771912, -0.5845925211906433, 0.05585896596312523, 0.7580269575119019, 0.04872569069266319, -0.818987250328064, 0.09547529369592667, 0.0555446557700634, -0.20019780099391937, -0.04035486653447151, 0.2796390652656555, -0.755441427230835, 0.3294476568698883, 0.7587199211120605, 0.5165676474571228, 0.4804888963699341, -0.2665555477142334, 0.2749285399913788, -0.6793859004974365, 0.4709183871746063, 0.2663592994213104, 0.37040385603904724, 0.12253592163324356, -0.6370083689689636, 0.7211135625839233, -0.2914072573184967, -0.7078878283500671, -1.053907871246338, 0.1008305624127388, -1.5213500261306763, -0.36246997117996216, 0.9648539423942566, -0.5313419699668884, -0.20012721419334412, 0.07932957261800766, -0.38675400614738464, 0.2470092475414276, -0.5335665941238403, 0.9728403091430664, 0.5843576192855835, 0.04016733542084694, -0.045465171337127686, -0.5204148292541504, 0.6840312480926514, 0.5691232681274414, -0.5529546737670898, -0.018351193517446518, 0.18792161345481873, -0.002437360817566514, 0.4814305901527405, 0.40529075264930725, -0.002376593416556716, 0.4002299904823303, -0.16713489592075348, -0.15296787023544312, -0.3913070857524872, -0.4560023844242096, -0.482730895280838, -0.24539828300476074, 0.0054054828360676765, -0.8534427285194397 ]
facebook/incoder-1B
facebook
2023-01-24T17:06:37Z
7,211
34
transformers
[ "transformers", "pytorch", "xglm", "text-generation", "code", "python", "javascript", "arxiv:2204.05999", "license:cc-by-nc-4.0", "endpoints_compatible", "has_space", "region:us" ]
text-generation
2022-04-08T15:40:08Z
--- license: "cc-by-nc-4.0" tags: - code - python - javascript --- # InCoder 1B A 1B parameter decoder-only Transformer model trained on code using a causal-masked objective, which allows inserting/infilling code as well as standard left-to-right generation. The model was trained on public open-source repositories with a permissive, non-copyleft, license (Apache 2.0, MIT, BSD-2 or BSD-3) from GitHub and GitLab, as well as StackOverflow. Repositories primarily contained Python and JavaScript, but also include code from 28 languages, as well as StackOverflow. For more information, see our: - [Demo](https://huggingface.co/spaces/facebook/incoder-demo) - [Project site](https://sites.google.com/view/incoder-code-models) - [Examples](https://sites.google.com/view/incoder-code-models/home/examples) - [Paper](https://arxiv.org/abs/2204.05999) A larger, 6B, parameter model is also available at [facebook/incoder-6B](https://huggingface.co/facebook/incoder-6B). ## Requirements `pytorch`, `tokenizers`, and `transformers`. Our model requires HF's tokenizers >= 0.12.1, due to changes in the pretokenizer. ``` pip install torch pip install "tokenizers>=0.12.1" pip install transformers ``` ## Usage See [https://github.com/dpfried/incoder](https://github.com/dpfried/incoder) for example code. ### Model `model = AutoModelForCausalLM.from_pretrained("facebook/incoder-1B")` ### Tokenizer `tokenizer = AutoTokenizer.from_pretrained("facebook/incoder-1B")` (Note: the incoder-1B and incoder-6B tokenizers are identical, so 'facebook/incoder-6B' could also be used.) When calling `tokenizer.decode`, it's important to pass `clean_up_tokenization_spaces=False` to avoid removing spaces after punctuation. For example: `tokenizer.decode(tokenizer.encode("from ."), clean_up_tokenization_spaces=False)` (Note: encoding prepends the `<|endoftext|>` token, as this marks the start of a document to our model. This token can be removed from the decoded output by passing `skip_special_tokens=True` to `tokenizer.decode`.) ## License CC-BY-NC 4.0 ## Credits The model was developed by Daniel Fried, Armen Aghajanyan, Jessy Lin, Sida Wang, Eric Wallace, Freda Shi, Ruiqi Zhong, Wen-tau Yih, Luke Zettlemoyer and Mike Lewis. Thanks to Lucile Saulnier, Leandro von Werra, Nicolas Patry, Suraj Patil, Omar Sanseviero, and others at HuggingFace for help with the model release, and to Naman Goyal and Stephen Roller for the code our demo was based on!
[ -0.26393094658851624, -0.6553133726119995, 0.09243817627429962, 0.40644410252571106, -0.2437359243631363, -0.2192615121603012, -0.04831431061029434, -0.5014345645904541, 0.09673228114843369, 0.4904851019382477, -0.8919652104377747, -0.5548205971717834, -0.6604394912719727, 0.16889189183712006, -0.5169664025306702, 1.0713828802108765, -0.0014292080886662006, -0.04245413839817047, -0.004872473888099194, 0.09518972784280777, -0.17399190366268158, -0.5537806749343872, -0.7867624163627625, -0.17100608348846436, 0.16867613792419434, 0.4987695813179016, 0.7612723112106323, 0.767668604850769, 0.670190691947937, 0.2803734540939331, -0.0631919875741005, -0.005089965183287859, -0.5387385487556458, -0.2754291892051697, -0.15589798986911774, -0.25747910141944885, -0.5242668986320496, 0.05972698703408241, 0.45591214299201965, 0.45866090059280396, 0.177853524684906, 0.451058030128479, -0.06076177954673767, 0.24654997885227203, -0.2836848795413971, 0.1254555583000183, -0.5694506168365479, 0.05140173062682152, 0.08689313381910324, -0.08571327477693558, -0.5248312950134277, -0.21202313899993896, -0.1616591364145279, -0.6079604029655457, 0.3856174349784851, 0.09228258579969406, 1.3006484508514404, 0.21548254787921906, -0.43403753638267517, -0.4517917037010193, -0.6101441979408264, 0.5572201013565063, -0.9605618119239807, 0.4991237223148346, 0.27306991815567017, 0.17859335243701935, -0.07243108004331589, -1.245174527168274, -0.5613930225372314, -0.2578439712524414, -0.3360038697719574, 0.1308884471654892, -0.24932217597961426, 0.051845747977495193, 0.4838634431362152, 0.3533610999584198, -0.8365767598152161, -0.08301346004009247, -0.6710404753684998, -0.29365304112434387, 0.6213270425796509, 0.002871148753911257, 0.28964489698410034, -0.5685889720916748, -0.6739438772201538, -0.15156014263629913, -0.4042600095272064, 0.1671869456768036, 0.5731942653656006, 0.21884438395500183, -0.4939658045768738, 0.5474106073379517, -0.07790611684322357, 0.5415467023849487, 0.4712981879711151, 0.24347612261772156, 0.4104131758213043, -0.38974839448928833, -0.3922812044620514, -0.19886355102062225, 0.9332169890403748, 0.251050740480423, -0.04069013148546219, -0.007989918813109398, -0.023627202957868576, 0.08602142333984375, 0.19482846558094025, -1.12284255027771, -0.23181450366973877, 0.37222981452941895, -0.7452111840248108, -0.2755650281906128, 0.4111792743206024, -0.5326381325721741, 0.05452999100089073, -0.12872731685638428, 0.5770890116691589, -0.5030869841575623, -0.36413249373435974, 0.059936363250017166, -0.19211821258068085, 0.46224159002304077, 0.00012359253014437854, -0.9151091575622559, 0.1821005791425705, 0.5628878474235535, 0.7840833067893982, 0.12460152804851532, -0.37216946482658386, -0.3661702871322632, 0.07022550702095032, -0.15934942662715912, 0.5300830602645874, -0.3220056891441345, -0.45309028029441833, 0.08234379440546036, 0.3943841755390167, -0.08397892862558365, -0.3922439217567444, 0.6608983278274536, -0.558378279209137, 0.24112673103809357, -0.05287472903728485, -0.7886287569999695, -0.3540780246257782, 0.15442050993442535, -0.6183999180793762, 1.177080750465393, 0.5298008322715759, -0.7796257734298706, 0.2295093834400177, -0.908022940158844, -0.30514639616012573, 0.027745502069592476, -0.01446633879095316, -0.3714565932750702, -0.014183496125042439, 0.13865293562412262, 0.4823128283023834, -0.167125403881073, 0.19208435714244843, -0.30031365156173706, -0.5881630182266235, 0.06676255911588669, -0.27381640672683716, 1.2447997331619263, 0.285953551530838, -0.3792315125465393, 0.4140509366989136, -0.8497890830039978, -0.06686323136091232, 0.2903125584125519, -0.08466418087482452, 0.08438588678836823, -0.45712101459503174, 0.3857802748680115, 0.5259861350059509, 0.523212730884552, -0.6241219639778137, 0.2322153002023697, -0.5278299450874329, 0.5376177430152893, 0.7961200475692749, 0.17600806057453156, 0.519707202911377, -0.18590494990348816, 0.5352402925491333, 0.09694425016641617, 0.755796492099762, -0.4470294117927551, -0.3586505055427551, -0.7978377342224121, -0.3968799412250519, -0.08921217173337936, 0.28810274600982666, -0.6548103094100952, 0.5916734933853149, -0.2671906352043152, -0.6642528772354126, -0.43613165616989136, 0.20139512419700623, 0.40872976183891296, 0.495231568813324, 0.3934113383293152, -0.13618309795856476, -0.7025882601737976, -0.8162636756896973, -0.2283334881067276, -0.1825633943080902, 0.048202693462371826, 0.11305262893438339, 0.7103844881057739, -0.5491260886192322, 0.9859594106674194, -0.33148670196533203, -0.12176426500082016, -0.1469641625881195, -0.08951599895954132, 0.5977656245231628, 0.9210720062255859, 0.7201060652732849, -0.9211976528167725, -0.691948413848877, -0.1729157567024231, -0.8267863392829895, 0.12279795110225677, -0.10549681633710861, -0.5326341986656189, 0.23558174073696136, 0.6037961840629578, -0.7579114437103271, 0.6256998181343079, 0.7861975431442261, -0.7563033699989319, 0.44106513261795044, -0.13661132752895355, -0.007965636439621449, -1.381194829940796, 0.23573772609233856, -0.08612179756164551, -0.3389030992984772, -0.5550424456596375, 0.15224134922027588, 0.34560152888298035, -0.2263364940881729, -0.5472061038017273, 0.8597750663757324, -0.32907766103744507, 0.22209784388542175, -0.24430489540100098, -0.287959486246109, 0.15400813519954681, 0.7252584099769592, -0.13651585578918457, 0.43669772148132324, 0.5685248970985413, -0.5640886425971985, 0.2916664481163025, 0.4923664629459381, -0.07004635781049728, 0.32649555802345276, -0.7939643263816833, 0.3043060004711151, -0.0031818151473999023, 0.2836480438709259, -1.192353367805481, -0.5311281085014343, 0.7390244603157043, -0.6481892466545105, 0.4637243449687958, -0.24859604239463806, -0.8296762108802795, -0.6503013968467712, -0.23928211629390717, 0.4208007752895355, 0.5476921796798706, -0.8293325901031494, 0.675255298614502, 0.11821368336677551, 0.2260882705450058, -0.4573500156402588, -0.7527260780334473, -0.08508870750665665, -0.018546337261795998, -0.781408965587616, 0.446179062128067, -0.368751585483551, 0.20202960073947906, 0.21143978834152222, -0.1830713152885437, -0.042714379727840424, -0.18216580152511597, 0.4734566807746887, 0.511253833770752, 0.09425204247236252, -0.11685020476579666, 0.30879664421081543, -0.3915737271308899, 0.1608254313468933, -0.5025438070297241, 0.6471937298774719, -0.05284309759736061, -0.472594290971756, -0.6216129660606384, 0.25981566309928894, 0.5541993975639343, -0.26180699467658997, 0.8068343997001648, 0.8180062770843506, -0.4875936806201935, -0.1796935349702835, -0.5173165202140808, -0.24844908714294434, -0.554373025894165, 0.341037780046463, -0.3613285720348358, -0.7783003449440002, 0.732840359210968, 0.078706756234169, 0.2078082114458084, 0.6471437215805054, 0.5226295590400696, 0.11197710037231445, 0.8090384602546692, 0.8123887181282043, 0.19396910071372986, 0.6065827012062073, -0.6963914632797241, 0.242198184132576, -0.7238361835479736, -0.19444428384304047, -0.2427234649658203, -0.09076690673828125, -0.6594944000244141, -0.32751816511154175, 0.20179684460163116, 0.10317493975162506, -0.5092097520828247, 0.8727729320526123, -0.8665633797645569, 0.1305720955133438, 0.6123974323272705, 0.20167051255702972, 0.06113346666097641, -0.049657512456178665, 0.028575832024216652, 0.11958284676074982, -0.7151523232460022, -0.3217619061470032, 1.0935732126235962, 0.4132257401943207, 0.5634875893592834, -0.17653504014015198, 0.771060049533844, 0.15018755197525024, 0.5625740885734558, -0.5502103567123413, 0.4686548709869385, 0.004841607064008713, -0.9514719247817993, -0.03627464175224304, -0.42704635858535767, -0.6742395162582397, 0.18938513100147247, 0.06493928283452988, -0.5454596281051636, 0.4623359143733978, 0.1265462040901184, -0.18668872117996216, 0.2035170942544937, -0.6614552140235901, 1.209337830543518, -0.0568489208817482, -0.27059540152549744, 0.052236299961805344, -0.7490636110305786, 0.32086148858070374, 0.01896904967725277, 0.257220983505249, 0.028068097308278084, 0.051450591534376144, 0.6808851957321167, -0.5251559019088745, 0.787382185459137, -0.3672127425670624, -0.04055963084101677, 0.41202402114868164, -0.04082014411687851, 0.5465905070304871, 0.12921805679798126, -0.2435830533504486, 0.5946092009544373, 0.12986308336257935, -0.42209362983703613, -0.4699490964412689, 0.6079959869384766, -0.7769775390625, -0.3059195280075073, -0.27363961935043335, -0.5146795511245728, 0.18087612092494965, 0.2969549298286438, 0.8411785960197449, 0.3809076249599457, 0.07426781207323074, 0.14681656658649445, 0.30427461862564087, -0.2364041805267334, 0.6619632840156555, 0.4252912700176239, -0.3347201645374298, -0.5595325827598572, 0.6263989806175232, 0.1078137680888176, 0.24193517863750458, 0.2758927047252655, 0.016439884901046753, -0.3122671842575073, -0.14423198997974396, -0.4177580773830414, 0.43259426951408386, -1.0621578693389893, -0.4327629804611206, -0.8066200613975525, -0.40680497884750366, -0.725698709487915, -0.3301685154438019, -0.4480156898498535, -0.2665654122829437, -0.3647446036338806, -0.22903122007846832, 0.38202083110809326, 0.3807598352432251, -0.23305796086788177, 0.5330634713172913, -0.7723343372344971, 0.28162503242492676, -0.08809777349233627, 0.32442086935043335, -0.013466838747262955, -0.9275914430618286, -0.5628339648246765, -0.023833859711885452, -0.16168387234210968, -0.876628041267395, 0.43429380655288696, -0.1355312317609787, 0.466765820980072, 0.5398146510124207, 0.21968139708042145, 0.6742292046546936, -0.36680838465690613, 0.7215885519981384, 0.1300497055053711, -1.0859109163284302, 0.3985423147678375, -0.32982829213142395, 0.25413501262664795, 0.5339424014091492, 0.34071436524391174, -0.40498217940330505, -0.4919201135635376, -0.7085716724395752, -1.0261785984039307, 1.020843744277954, 0.4038875102996826, 0.5310966968536377, -0.24067825078964233, 0.6180756092071533, 0.18690483272075653, 0.03303694725036621, -1.0793707370758057, -0.46238720417022705, -0.4542202353477478, -0.34717461466789246, 0.3003365695476532, -0.4312945008277893, 0.00903466995805502, -0.4448741674423218, 0.839189350605011, 0.06334646791219711, 0.42966875433921814, 0.36882200837135315, -0.29639413952827454, -0.2822316586971283, -0.2717655599117279, 0.28894951939582825, 0.6020984053611755, -0.24966369569301605, -0.2635796368122101, -0.08952844887971878, -0.3938891589641571, 0.020026834681630135, 0.3024757504463196, -0.2587859630584717, 0.2265383005142212, 0.34440284967422485, 0.8579561114311218, 0.3978957533836365, -0.2954308092594147, 0.6387084722518921, 0.05581148341298103, -0.3176209330558777, -0.6632147431373596, -0.02081749588251114, -0.003255765652284026, 0.31912413239479065, 0.5104110836982727, 0.17278890311717987, 0.11277810484170914, -0.3703235983848572, 0.2235196828842163, 0.2708861827850342, -0.31869304180145264, -0.460978627204895, 0.9924702644348145, 0.018235456198453903, -0.3506024479866028, 0.5902994275093079, -0.34134137630462646, -0.29958850145339966, 0.8205098509788513, 0.7693918347358704, 1.0723158121109009, -0.19333869218826294, 0.16168703138828278, 0.7152989506721497, 0.4649922847747803, 0.11703930050134659, 0.2972866892814636, -0.18043585121631622, -0.5743942260742188, -0.2744455635547638, -0.7653769850730896, -0.18648485839366913, -0.12960605323314667, -0.7931695580482483, 0.5194399952888489, -0.47756674885749817, -0.22936484217643738, -0.1415506899356842, -0.11360519379377365, -1.0022464990615845, 0.2115011215209961, -0.00521567789837718, 1.054053783416748, -0.6960534453392029, 0.7879256010055542, 0.7503079175949097, -0.7049667239189148, -0.9957939386367798, 0.04540247470140457, -0.21793970465660095, -0.5402991771697998, 0.6694881319999695, 0.4787088632583618, 0.08738873153924942, 0.4248233139514923, -0.8900560140609741, -1.04325270652771, 1.1616207361221313, 0.522419810295105, -0.2576466202735901, -0.30383139848709106, -0.01556659396737814, 0.31335335969924927, -0.3061782121658325, 0.4490604102611542, 0.11843442916870117, 0.4880233407020569, 0.16371548175811768, -0.7632912397384644, 0.3469145894050598, -0.3973926901817322, 0.17688582837581635, -0.21638616919517517, -0.8611307740211487, 1.138196587562561, -0.02557242289185524, -0.3980233669281006, 0.2182064652442932, 0.6998860836029053, 0.02885480597615242, 0.21291013062000275, 0.25630298256874084, 0.3027530312538147, 0.42129644751548767, 0.15667939186096191, 1.1184401512145996, -0.7033847570419312, 0.8934950828552246, 0.9669138193130493, -0.06992284208536148, 0.5157865881919861, 0.3786424398422241, -0.10631166398525238, 0.7088019251823425, 0.5843913555145264, -0.2703303396701813, 0.31288978457450867, -0.13907527923583984, 0.11965159326791763, -0.01402492169290781, 0.21927936375141144, -0.4309883415699005, 0.42751026153564453, 0.1836060881614685, -0.6231644153594971, -0.21309813857078552, 0.14696712791919708, 0.2661019563674927, -0.1974591761827469, -0.11955425143241882, 0.5503906607627869, -0.00206022709608078, -0.41844943165779114, 0.5579504370689392, 0.23653101921081543, 0.7801597118377686, -0.879164457321167, -0.07563626766204834, -0.33010444045066833, 0.315499871969223, -0.41550177335739136, -0.2770615518093109, 0.44792911410331726, -0.025972196832299232, -0.2604479491710663, -0.23862653970718384, 0.6615982055664062, -0.36562350392341614, -0.7778159976005554, 0.6193930506706238, 0.1902352273464203, 0.08254936337471008, -0.08636987954378128, -0.7457230091094971, 0.27596428990364075, -0.07069136202335358, -0.5701231360435486, 0.09208109229803085, 0.26082539558410645, 0.208025723695755, 0.4285752773284912, 0.9291380047798157, -0.3995245695114136, 0.2068500518798828, -0.137847900390625, 1.0116292238235474, -0.606187641620636, -0.5866647362709045, -1.042486310005188, 0.6951575875282288, -0.06680448353290558, -0.2556619942188263, 1.1268399953842163, 0.7897586822509766, 1.0835204124450684, -0.2723574936389923, 0.5864165425300598, -0.30687370896339417, 0.31026747822761536, -0.26499101519584656, 0.8991503119468689, -0.6601995825767517, -0.05812695994973183, -0.3719156086444855, -0.9699797034263611, -0.24465149641036987, 0.7108631134033203, -0.002562782261520624, 0.1755484789609909, 0.6106839179992676, 0.9464673399925232, -0.1841842532157898, -0.11425656080245972, 0.2602769136428833, 0.19933873414993286, 0.3889128863811493, 0.29283612966537476, 0.4600054621696472, -0.8584814667701721, 0.7407231330871582, -0.43542400002479553, -0.332012802362442, -0.2725280821323395, -0.7100616097450256, -0.9520840048789978, -0.49557751417160034, -0.26326850056648254, -0.6886332631111145, -0.14772167801856995, 1.273209571838379, 0.9223485589027405, -0.7468513250350952, -0.2631126046180725, -0.30973905324935913, -0.04824414849281311, -0.2944889962673187, -0.3438630998134613, 0.5184075832366943, -0.41248586773872375, -0.9540995955467224, 0.131114661693573, 0.2207459807395935, -0.04463119059801102, -0.1500450223684311, -0.2110341489315033, -0.21838344633579254, 0.22016392648220062, 0.497426837682724, 0.24838648736476898, -0.5622420907020569, -0.18140825629234314, 0.17970475554466248, -0.22966015338897705, 0.11891338229179382, 0.6265419721603394, -0.5624030828475952, 0.43514925241470337, 0.41910532116889954, 0.2985163629055023, 0.7000628709793091, 0.08458242565393448, 0.21124114096164703, -0.6264516711235046, 0.48423632979393005, 0.052884336560964584, 0.41538089513778687, 0.28823909163475037, -0.7340302467346191, 0.544726550579071, 0.40915435552597046, -0.43975481390953064, -0.9181106686592102, 0.14471913874149323, -0.9229291677474976, -0.19853533804416656, 1.1662389039993286, -0.32404714822769165, -0.2660440504550934, 0.21268920600414276, -0.23942986130714417, 0.6272067427635193, -0.3081410825252533, 0.5809164047241211, 0.5540410876274109, -0.06517917662858963, -0.17057934403419495, -0.39036864042282104, 0.41428282856941223, 0.045522380620241165, -0.6181699633598328, -0.16535721719264984, 0.34388789534568787, 0.400455504655838, 0.12115055322647095, 0.898434579372406, -0.33853262662887573, 0.3780314326286316, 0.1643977016210556, 0.3333628177642822, -0.47293826937675476, -0.13966481387615204, -0.312053918838501, -0.00653271097689867, -0.45937350392341614, -0.3142016530036926 ]
NbAiLab/nb-bert-base
NbAiLab
2023-09-07T11:11:34Z
7,209
20
transformers
[ "transformers", "pytorch", "tf", "jax", "safetensors", "bert", "norwegian", "fill-mask", "no", "license:cc-by-4.0", "endpoints_compatible", "has_space", "region:us" ]
fill-mask
2022-03-02T23:29:04Z
--- language: no license: cc-by-4.0 tags: - norwegian - bert pipeline_tag: fill-mask widget: - text: På biblioteket kan du [MASK] en bok. - text: Dette er et [MASK] eksempel. - text: Av og til kan en språkmodell gi et [MASK] resultat. - text: Som ansat får du [MASK] for at bidrage til borgernes adgang til dansk kulturarv, til forskning og til samfundets demokratiske udvikling. --- - **Release 1.1** (March 11, 2021) - **Release 1.0** (January 13, 2021) # NB-BERT-base ## Description NB-BERT-base is a general BERT-base model built on the large digital collection at the National Library of Norway. This model is based on the same structure as [BERT Cased multilingual model](https://github.com/google-research/bert/blob/master/multilingual.md), and is trained on a wide variety of Norwegian text (both bokmål and nynorsk) from the last 200 years. ## Intended use & limitations The 1.1 version of the model is general, and should be fine-tuned for any particular use. Some fine-tuning sets may be found on GitHub, see * https://github.com/NBAiLab/notram ## Training data The model is trained on a wide variety of text. The training set is described on * https://github.com/NBAiLab/notram ## More information For more information on the model, see https://github.com/NBAiLab/notram
[ -0.6701385378837585, -0.6784432530403137, 0.023997284471988678, 0.6042986512184143, -0.46500828862190247, -0.19542184472084045, -0.12136895209550858, -0.7485020160675049, 0.46361637115478516, 0.6282185316085815, -0.9974049925804138, -0.6596953868865967, -0.5009408593177795, -0.21164877712726593, -0.4098728597164154, 1.3072303533554077, 0.09741505980491638, 0.2928754389286041, -0.18166571855545044, -0.1664501279592514, -0.4906585216522217, -0.787054181098938, -0.4274374544620514, -0.2670924961566925, 0.5721938610076904, 0.2634119391441345, 0.5509989857673645, 0.3827343285083771, 0.697943389415741, 0.07543353736400604, -0.3356250524520874, -0.3651537001132965, -0.6410093903541565, -0.021050890907645226, -0.08294817805290222, -0.012863616459071636, -0.8616374135017395, -0.21664957702159882, 0.7985052466392517, 0.772774338722229, -0.052711181342601776, 0.3213336765766144, -0.23750461637973785, 0.9179643988609314, -0.39575159549713135, 0.0798681303858757, -0.3288709223270416, 0.03992609307169914, -0.11287913471460342, 0.37444886565208435, -0.5910084247589111, -0.6612498760223389, 0.6678866744041443, -0.33092913031578064, 0.23273473978042603, -0.2555398643016815, 1.1461455821990967, 0.0218743234872818, -0.5830591320991516, -0.2378399521112442, -0.3128614127635956, 0.902850329875946, -0.8736470341682434, 0.854894757270813, 0.47000956535339355, 0.4557141065597534, -0.2579821050167084, -0.5955334901809692, -0.24196553230285645, -0.4072374701499939, 0.2242196798324585, -0.23404161632061005, 0.04316381365060806, -0.08383723348379135, -0.095274418592453, 0.3076317012310028, -0.6579848527908325, -0.24671468138694763, -0.6724579334259033, -0.06095834821462631, 0.718227744102478, -0.1256956160068512, -0.10671114176511765, -0.47386810183525085, -0.6216493248939514, -0.1005590483546257, -0.7060467004776001, -0.10771826654672623, 0.21959751844406128, 0.49555546045303345, -0.6516501903533936, 0.3264721930027008, 0.12758830189704895, 0.5021257400512695, 0.11561188846826553, 0.08515019714832306, 0.527235746383667, -0.2467520534992218, -0.3485487401485443, 0.19020071625709534, 0.4411267042160034, 0.39713960886001587, -0.06649985909461975, -0.35618534684181213, -0.15787683427333832, -0.12694881856441498, 0.31276875734329224, -0.7221977710723877, -0.4550469219684601, 0.3627532720565796, -0.6759961247444153, -0.2702690660953522, -0.24003984034061432, -0.4412769675254822, -0.11346010118722916, -0.08065998554229736, 0.535473644733429, -0.8616099953651428, -0.6529467701911926, 0.038576889783144, -0.024177219718694687, 0.39252224564552307, 0.27728036046028137, -1.0835797786712646, 0.26699119806289673, 0.4546247720718384, 0.8220599889755249, -0.14009633660316467, -0.17527426779270172, 0.13871914148330688, -0.09326621145009995, -0.3782500922679901, 0.7081850171089172, -0.0662003755569458, -0.3521028459072113, -0.024308735504746437, -0.02483016438782215, 0.32641270756721497, -0.432952344417572, 0.6011275053024292, -0.6807105541229248, 0.21591781079769135, -0.3721277117729187, -0.5359988808631897, -0.34017565846443176, 0.5273405313491821, -0.9325829148292542, 1.0840551853179932, 0.46707776188850403, -0.6287795901298523, 0.4159223437309265, -0.7254647612571716, -0.29087111353874207, -0.1018674299120903, 0.3465815484523773, -0.39225807785987854, 0.10586173832416534, 0.08256174623966217, 0.1292096972465515, -0.10279744863510132, 0.44105228781700134, -0.3523188531398773, -0.031457021832466125, -0.4040544033050537, -0.12143364548683167, 1.3597745895385742, 0.3697122037410736, 0.09917167574167252, -0.1515614241361618, -0.8637183308601379, 0.18864820897579193, 0.024393323808908463, -0.7014334797859192, 0.011572122573852539, 0.05115814879536629, 0.40780264139175415, 0.018922362476587296, 0.8657271265983582, -0.8231148719787598, 0.49387693405151367, -0.3887864351272583, 0.09400665760040283, 0.7693447470664978, -0.15197081863880157, 0.5060521960258484, -0.4732879102230072, 0.2999294698238373, -0.062246330082416534, 0.5826995968818665, -0.16792269051074982, -0.5608516931533813, -0.4465044140815735, -0.3093717098236084, 0.9437465071678162, 0.5807893872261047, -0.5280599594116211, 0.6022714376449585, -0.17897140979766846, -0.8836032748222351, -0.13033007085323334, -0.12533338367938995, 0.47975271940231323, 0.2565731704235077, 0.37955546379089355, -0.4124939739704132, -0.8866963982582092, -0.9182185530662537, 0.19664570689201355, -0.40848276019096375, 0.5285293459892273, 0.2188069075345993, 0.38307926058769226, -0.3494691848754883, 1.1318730115890503, -0.16220827400684357, -0.2319493144750595, -0.5453413128852844, 0.28307217359542847, 0.5595153570175171, 0.6628507375717163, 1.0795592069625854, -0.7705759406089783, -0.6169315576553345, -0.22224660217761993, -0.7121337652206421, -0.05822627618908882, 0.13377515971660614, -0.3208547830581665, 0.7294409871101379, 0.006779848597943783, -0.3531593084335327, 0.3500591218471527, 1.038272500038147, -0.444742888212204, 0.6787192821502686, -0.01570070907473564, -0.39220499992370605, -1.1187450885772705, 0.012587616220116615, -0.17524376511573792, -0.019102469086647034, -0.6794658899307251, 0.04266580566763878, 0.31074896454811096, 0.22412501275539398, -0.6717731952667236, 0.7064151167869568, -0.3460889160633087, -0.008453108370304108, -0.08020024001598358, -0.3252136707305908, -0.07297853380441666, 0.40160366892814636, -0.041294921189546585, 0.2723424732685089, 0.60938560962677, -0.9165809750556946, 0.17212940752506256, 0.6826030015945435, -0.3757743835449219, 0.22907468676567078, -0.6532745361328125, 0.1617462933063507, -0.06531642377376556, 0.19594593346118927, -1.0092657804489136, -0.08564648032188416, 0.02611192688345909, -0.7320423126220703, 0.49396687746047974, -0.3099346458911896, -0.6333006024360657, -0.3993856608867645, -0.2592037618160248, 0.20073646306991577, 0.4350353479385376, -0.6617165207862854, 0.7048640847206116, 0.5342401266098022, -0.2623405158519745, -0.7030543684959412, -1.0127851963043213, -0.09421128034591675, 0.3505242168903351, -1.0231047868728638, 0.2843869626522064, -0.45301660895347595, -0.09530273824930191, 0.09847163408994675, -0.3807696998119354, -0.6081230044364929, -0.006475752219557762, -0.05501357093453407, 0.490411639213562, -0.31552064418792725, 0.2477618157863617, 0.13866408169269562, 0.08694674074649811, 0.04493533447384834, -0.04602401331067085, 0.7030560970306396, -0.0026454487815499306, -0.037999227643013, 0.04467179626226425, 0.25658556818962097, 0.3094521164894104, -0.18668097257614136, 0.879416823387146, 0.14020481705665588, -0.39853280782699585, 0.042690034955739975, -0.661366879940033, -0.3269531726837158, -0.47593551874160767, 0.45115238428115845, -0.08832145482301712, -0.6519677042961121, 0.5923082828521729, 0.3235032558441162, 0.6438122987747192, 0.4145597517490387, 0.5321215391159058, -0.1142248809337616, 0.7031558752059937, 0.9524760246276855, -0.01693909801542759, 0.728885293006897, -0.3560599386692047, 0.0024346269201487303, -0.8260133266448975, -0.47851434350013733, -0.2601771652698517, -0.5832544565200806, -0.6064082980155945, -0.11574939638376236, 0.16161155700683594, 0.23923105001449585, -0.28188714385032654, 0.6732906103134155, -0.40605276823043823, 0.40829017758369446, 0.7471010684967041, 0.07074342668056488, -0.04674500226974487, 0.039774924516677856, -0.3485831618309021, -0.029568783938884735, -0.5352234840393066, -0.5542553663253784, 1.7043884992599487, 0.41400694847106934, 0.7207288146018982, 0.4690936505794525, 0.9139646887779236, 0.16848300397396088, 0.32738202810287476, -0.32796430587768555, 0.4550666809082031, -0.48068419098854065, -1.6905670166015625, -0.15385688841342926, -0.22057658433914185, -0.8857986330986023, 0.13803811371326447, -0.29732179641723633, -0.5545392632484436, 0.2881782054901123, 0.25811582803726196, 0.0304260291159153, 0.35711514949798584, -1.0537163019180298, 1.0161617994308472, -0.40703442692756653, -0.10638397186994553, 0.10052087157964706, -0.8934915661811829, 0.2652503252029419, -0.008143887855112553, -0.08793146908283234, -0.24499917030334473, 0.3573521077632904, 0.4593956768512726, -0.1382303386926651, 0.7246415615081787, -0.6026698350906372, -0.00045548751950263977, 0.09045184403657913, 0.17764736711978912, 0.36705681681632996, -0.0952206552028656, -0.3202120363712311, 0.7370063662528992, 0.15662778913974762, -0.4976992905139923, -0.05911090597510338, 0.6414381265640259, -0.770464301109314, 0.017885519191622734, -0.5803553462028503, -0.729360818862915, -0.2069399505853653, 0.4507817029953003, 0.2754996716976166, 0.5518700480461121, -0.506541907787323, 0.34404459595680237, 0.9586963653564453, -0.4484654664993286, 0.4080445468425751, 0.793694019317627, -0.6939050555229187, -0.5900334119796753, 0.7412780523300171, 0.3610580861568451, 0.29709044098854065, 0.35548487305641174, -0.02810479700565338, -0.3828883469104767, -0.8066210150718689, -0.39150750637054443, 0.24038490653038025, -0.6304660439491272, -0.14740018546581268, -0.595681369304657, -0.2512012720108032, -0.6852035522460938, 0.045797597616910934, -0.4571860134601593, -0.5744031071662903, -0.19713163375854492, -0.09176137298345566, 0.5618319511413574, 0.9769591093063354, -0.3171565532684326, 0.42692360281944275, -0.7584177255630493, 0.36749979853630066, -0.10524505376815796, 0.7384817004203796, -0.19575826823711395, -0.6635355949401855, -0.45401179790496826, 0.07678684592247009, -0.5856422781944275, -0.9491607546806335, 0.6140415072441101, 0.04255269840359688, 0.6741062998771667, 0.14571712911128998, -0.007606399245560169, 0.4523129165172577, -0.5582634806632996, 0.9172811508178711, 0.2042478322982788, -0.7731171250343323, 0.6248358488082886, -0.6692700386047363, 0.49795401096343994, 0.6903039216995239, 0.416911780834198, -0.3722698390483856, -0.20494072139263153, -0.7107753157615662, -1.286938190460205, 1.1073428392410278, 0.07211668789386749, 0.27967652678489685, -0.23627497255802155, 0.11064936965703964, 0.33428463339805603, 0.514384925365448, -0.9315536618232727, -0.6744503378868103, -0.4936668574810028, -0.06321164965629578, 0.03657758980989456, -0.47487255930900574, 0.17662128806114197, -0.4313378632068634, 0.9706323742866516, 0.22007134556770325, 0.6105243563652039, 0.16868796944618225, -0.18809732794761658, -0.1491338610649109, 0.08488461375236511, 0.6498810052871704, 0.7712905406951904, -1.1931536197662354, -0.42208394408226013, 0.06111893802881241, -0.7123860716819763, -0.1856759637594223, 0.16707871854305267, -0.08759933710098267, 0.44891512393951416, 0.10251454263925552, 0.7868741750717163, 0.38093361258506775, -0.5145809650421143, 0.23025654256343842, 0.1451905518770218, -0.6511473059654236, -0.6889959573745728, -0.2521088421344757, 0.21399031579494476, 0.3721456527709961, 0.6240932941436768, -0.18486906588077545, -0.11129765957593918, -0.4639933109283447, 0.2943466007709503, 0.38466915488243103, -0.23416373133659363, -0.27211007475852966, 0.39330992102622986, 0.06786704063415527, -0.1358434557914734, 0.6673242449760437, -0.5813973546028137, -0.37861594557762146, 0.7216640710830688, 0.7194647192955017, 0.7723236680030823, -0.05684672296047211, 0.22637581825256348, 0.565696656703949, 0.5328777432441711, 0.0214163139462471, 0.931118905544281, 0.36534592509269714, -0.6801139712333679, -0.4176863431930542, -0.7496400475502014, -0.5953015089035034, 0.12875235080718994, -0.7374793887138367, 0.4212670624256134, -0.906711757183075, -0.4419424831867218, -0.1064312532544136, 0.2370329052209854, -0.33106744289398193, 0.21319834887981415, 0.4657670557498932, 1.5242624282836914, -0.5481532216072083, 1.119282841682434, 0.8685618042945862, -0.41013863682746887, -0.5572365522384644, -0.301259845495224, -0.03570174425840378, -0.36212170124053955, 1.1445128917694092, -0.020059801638126373, 0.3144974112510681, 0.09354498982429504, -0.8421608805656433, -1.2889212369918823, 1.0811333656311035, 0.7537164092063904, -0.5530329346656799, 0.0030361395329236984, -0.21096321940422058, 0.47054699063301086, -0.34069007635116577, 0.1320403516292572, 0.29200857877731323, 0.5772908329963684, 0.2531982362270355, -1.353784203529358, -0.6223700046539307, -0.40918558835983276, -0.16093961894512177, 0.5295253992080688, -0.6615277528762817, 1.4731782674789429, -0.07681938260793686, -0.056401804089546204, 0.2636253535747528, 0.6274911165237427, 0.45957517623901367, 0.1501171737909317, 0.22444888949394226, 0.9060426950454712, 0.7541593313217163, -0.3627338111400604, 1.0928581953048706, -0.2671021819114685, 0.44791179895401, 1.3398261070251465, -0.19512860476970673, 0.9629086852073669, 0.5584354400634766, -0.14477767050266266, 0.9205516576766968, 0.6537509560585022, -0.24810971319675446, 1.1203432083129883, -0.022904684767127037, -0.025271784514188766, 0.018615620210766792, 0.09344746917486191, -0.7244611382484436, -0.02376493625342846, 0.2074747383594513, -0.37816211581230164, -0.5352910161018372, -0.05430654063820839, -0.06559054553508759, -0.5259722471237183, -0.4098750054836273, 0.6108770966529846, -0.22943836450576782, -0.32686612010002136, 0.9256150126457214, 0.03519929572939873, 0.7801715135574341, -0.9386451244354248, 0.018925905227661133, -0.20543530583381653, 0.1506866067647934, 0.02114456333220005, -0.648223876953125, 0.3442670702934265, -0.019031286239624023, -0.7418535351753235, -0.18082481622695923, 0.35256510972976685, -0.181334987282753, -0.5635936856269836, 0.5538983941078186, 0.2582663893699646, 0.22576160728931427, 0.12383604794740677, -0.957973062992096, 0.29564177989959717, 0.04004079848527908, -0.2335909754037857, 0.2809390127658844, 0.3066045939922333, -0.09926628321409225, 0.6331526637077332, 0.6391963958740234, 0.026974601671099663, 0.7040444612503052, 0.06936783343553543, 0.8326849937438965, -0.7063016295433044, -0.43309545516967773, -0.5199785232543945, 0.5878992676734924, 0.11920618265867233, -0.6685266494750977, 0.6449286937713623, 0.7385823726654053, 0.9923630356788635, -0.26496562361717224, 0.9404919743537903, -0.5756852030754089, 0.7664930820465088, -0.23868967592716217, 0.6217060089111328, -0.5766456723213196, -0.010614786297082901, -0.12382090091705322, -1.0027092695236206, -0.25565028190612793, 0.9446181654930115, -0.20146995782852173, 0.08415094763040543, 0.8493257164955139, 0.5217840671539307, 0.014692772179841995, 0.20901259779930115, 0.14701366424560547, 0.2587244510650635, 0.15676674246788025, 0.36661094427108765, 0.36194905638694763, -0.6195893883705139, 0.5418777465820312, -0.4494171738624573, -0.047937922179698944, -0.3849317729473114, -1.1622905731201172, -1.071939468383789, -0.31390419602394104, -0.07130629569292068, -0.3168290853500366, 0.2611995041370392, 1.329784631729126, 0.9548375606536865, -1.2107429504394531, -0.42842933535575867, -0.058694858103990555, -0.10841988027095795, -0.14308103919029236, -0.1463933140039444, 0.20793594419956207, -0.3857543170452118, -0.6776175498962402, 0.25100192427635193, 0.018816610798239708, 0.09048156440258026, -0.44456610083580017, -0.2882802486419678, -0.7356274724006653, 0.08220236748456955, 0.5045744180679321, 0.28241097927093506, -0.47811833024024963, -0.004577892366796732, 0.2191506326198578, -0.19314858317375183, 0.2536393702030182, 0.11874894797801971, -0.6188443899154663, 0.5490118265151978, 0.6632340550422668, 0.40613648295402527, 0.5145390033721924, -0.4284922778606415, 0.4967034161090851, -1.1036651134490967, 0.33959779143333435, 0.3408629596233368, 0.29352468252182007, 0.24736371636390686, -0.05253491923213005, 0.5864181518554688, -0.05626041069626808, -0.45511800050735474, -1.0991393327713013, 0.11107588559389114, -1.1518547534942627, -0.24160641431808472, 0.9831403493881226, 0.045227475464344025, -0.43375861644744873, -0.2432631552219391, -0.22143495082855225, 0.1258831024169922, -0.6469194889068604, 0.7123592495918274, 1.1649479866027832, 0.15890102088451385, -0.10673778504133224, -0.7825831770896912, 0.13073304295539856, 0.2967492640018463, -0.5862040519714355, -0.13725849986076355, 0.5121597647666931, 0.3448239862918854, 0.33485305309295654, 0.6641742587089539, -0.3186088800430298, 0.5230197310447693, -0.13334180414676666, 0.7985600233078003, -0.07524833083152771, -0.6127930879592896, -0.2172333002090454, -0.1001875177025795, 0.03127798065543175, -0.15118864178657532 ]
timm/vit_large_patch16_384.augreg_in21k_ft_in1k
timm
2023-05-06T00:20:38Z
7,207
0
timm
[ "timm", "pytorch", "safetensors", "image-classification", "dataset:imagenet-1k", "dataset:imagenet-21k", "arxiv:2106.10270", "arxiv:2010.11929", "license:apache-2.0", "region:us" ]
image-classification
2022-12-22T07:47:46Z
--- tags: - image-classification - timm library_name: timm license: apache-2.0 datasets: - imagenet-1k - imagenet-21k --- # Model card for vit_large_patch16_384.augreg_in21k_ft_in1k A Vision Transformer (ViT) image classification model. Trained on ImageNet-21k and fine-tuned on ImageNet-1k (with additional augmentation and regularization) in JAX by paper authors, ported to PyTorch by Ross Wightman. ## Model Details - **Model Type:** Image classification / feature backbone - **Model Stats:** - Params (M): 304.7 - GMACs: 174.8 - Activations (M): 128.2 - Image size: 384 x 384 - **Papers:** - How to train your ViT? Data, Augmentation, and Regularization in Vision Transformers: https://arxiv.org/abs/2106.10270 - An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale: https://arxiv.org/abs/2010.11929v2 - **Dataset:** ImageNet-1k - **Pretrain Dataset:** ImageNet-21k - **Original:** https://github.com/google-research/vision_transformer ## Model Usage ### Image Classification ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open(urlopen( 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png' )) model = timm.create_model('vit_large_patch16_384.augreg_in21k_ft_in1k', pretrained=True) model = model.eval() # get model specific transforms (normalization, resize) data_config = timm.data.resolve_model_data_config(model) transforms = timm.data.create_transform(**data_config, is_training=False) output = model(transforms(img).unsqueeze(0)) # unsqueeze single image into batch of 1 top5_probabilities, top5_class_indices = torch.topk(output.softmax(dim=1) * 100, k=5) ``` ### Image Embeddings ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open(urlopen( 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png' )) model = timm.create_model( 'vit_large_patch16_384.augreg_in21k_ft_in1k', pretrained=True, num_classes=0, # remove classifier nn.Linear ) model = model.eval() # get model specific transforms (normalization, resize) data_config = timm.data.resolve_model_data_config(model) transforms = timm.data.create_transform(**data_config, is_training=False) output = model(transforms(img).unsqueeze(0)) # output is (batch_size, num_features) shaped tensor # or equivalently (without needing to set num_classes=0) output = model.forward_features(transforms(img).unsqueeze(0)) # output is unpooled, a (1, 577, 1024) shaped tensor output = model.forward_head(output, pre_logits=True) # output is a (1, num_features) shaped tensor ``` ## Model Comparison Explore the dataset and runtime metrics of this model in timm [model results](https://github.com/huggingface/pytorch-image-models/tree/main/results). ## Citation ```bibtex @article{steiner2021augreg, title={How to train your ViT? Data, Augmentation, and Regularization in Vision Transformers}, author={Steiner, Andreas and Kolesnikov, Alexander and and Zhai, Xiaohua and Wightman, Ross and Uszkoreit, Jakob and Beyer, Lucas}, journal={arXiv preprint arXiv:2106.10270}, year={2021} } ``` ```bibtex @article{dosovitskiy2020vit, title={An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale}, author={Dosovitskiy, Alexey and Beyer, Lucas and Kolesnikov, Alexander and Weissenborn, Dirk and Zhai, Xiaohua and Unterthiner, Thomas and Dehghani, Mostafa and Minderer, Matthias and Heigold, Georg and Gelly, Sylvain and Uszkoreit, Jakob and Houlsby, Neil}, journal={ICLR}, year={2021} } ``` ```bibtex @misc{rw2019timm, author = {Ross Wightman}, title = {PyTorch Image Models}, year = {2019}, publisher = {GitHub}, journal = {GitHub repository}, doi = {10.5281/zenodo.4414861}, howpublished = {\url{https://github.com/huggingface/pytorch-image-models}} } ```
[ -0.543692409992218, -0.39996299147605896, -0.030294546857476234, 0.10415075719356537, -0.38812580704689026, -0.34492620825767517, -0.309834748506546, -0.47957322001457214, 0.21397842466831207, 0.3305239975452423, -0.5520380139350891, -0.5133492946624756, -0.6515953540802002, 0.011943954043090343, -0.1751093566417694, 0.9979351162910461, -0.15217408537864685, 0.03027387522161007, -0.21503470838069916, -0.4486956298351288, -0.3141927421092987, -0.2934635877609253, -0.6375240087509155, -0.4275873601436615, 0.40795809030532837, 0.1573638916015625, 0.5910608768463135, 0.611780047416687, 0.8126182556152344, 0.4670451581478119, -0.11896977573633194, 0.1513262242078781, -0.3557489812374115, -0.21313905715942383, 0.28398215770721436, -0.6255382895469666, -0.40383726358413696, 0.2512786388397217, 0.769510805606842, 0.38138532638549805, 0.11853833496570587, 0.3549296259880066, 0.13951534032821655, 0.5088698863983154, -0.36306458711624146, 0.2122858464717865, -0.5277003645896912, 0.2898339033126831, -0.05703815072774887, -0.03641855716705322, -0.31514155864715576, -0.34085986018180847, 0.25869256258010864, -0.5625740885734558, 0.6114981174468994, -0.0623307004570961, 1.4097881317138672, 0.28381046652793884, 0.039366722106933594, 0.2504666745662689, -0.44009384512901306, 0.7735715508460999, -0.6305912733078003, 0.43024519085884094, 0.18922297656536102, 0.19068904221057892, 0.05003108084201813, -1.048476219177246, -0.6984509825706482, -0.18064522743225098, -0.2217116355895996, 0.11573653668165207, -0.29980868101119995, 0.26127174496650696, 0.5096537470817566, 0.5968157052993774, -0.5341629385948181, 0.008763967081904411, -0.570000410079956, -0.2869958281517029, 0.5864744186401367, -0.03294840827584267, 0.17521844804286957, -0.14331914484500885, -0.6236162781715393, -0.6246681809425354, -0.32594916224479675, 0.26660504937171936, 0.2968769371509552, 0.04301339015364647, -0.48182713985443115, 0.5472837686538696, 0.05047614499926567, 0.6796203255653381, 0.22491252422332764, -0.23768724501132965, 0.69403076171875, -0.1462092399597168, -0.39946499466896057, -0.25963059067726135, 1.1229932308197021, 0.47955378890037537, 0.4039140045642853, -0.031609296798706055, -0.19298845529556274, -0.13642138242721558, 0.06540775299072266, -1.1140426397323608, -0.36766892671585083, 0.09130650758743286, -0.4481094181537628, -0.3793148696422577, 0.36632856726646423, -0.6655627489089966, -0.13888831436634064, -0.1369410902261734, 0.8209470510482788, -0.44482287764549255, -0.21602632105350494, 0.12469737231731415, -0.16757795214653015, 0.4951532781124115, 0.2732844650745392, -0.5818158388137817, 0.0984111800789833, 0.23013149201869965, 1.0564430952072144, 0.03855367377400398, -0.5128668546676636, -0.26283836364746094, -0.44611838459968567, -0.3390190303325653, 0.5043776631355286, -0.032276056706905365, -0.12185664474964142, -0.15139713883399963, 0.3960763216018677, -0.24941611289978027, -0.5712671279907227, 0.3505125641822815, -0.22612521052360535, 0.3521847426891327, 0.10340990871191025, -0.19964070618152618, -0.42361825704574585, 0.296775221824646, -0.4374731481075287, 1.2178014516830444, 0.3908979892730713, -0.9189085364341736, 0.4382117688655853, -0.4699728786945343, -0.09671521931886673, -0.1376589685678482, 0.03087654896080494, -1.1331886053085327, 0.046603161841630936, 0.32020124793052673, 0.6254763603210449, -0.231162890791893, -0.008209168910980225, -0.409591406583786, -0.3432871103286743, 0.38271328806877136, -0.28254055976867676, 0.9145624041557312, 0.022084085270762444, -0.33533424139022827, 0.2936639189720154, -0.5945822596549988, 0.07127374410629272, 0.43776336312294006, -0.26507335901260376, 0.028119109570980072, -0.6407238245010376, 0.17928072810173035, 0.2260866016149521, 0.23201479017734528, -0.683784544467926, 0.40616416931152344, -0.35424038767814636, 0.4409242570400238, 0.6874557733535767, -0.12352177500724792, 0.36162176728248596, -0.3268340229988098, 0.3475664258003235, 0.26104527711868286, 0.4205189049243927, -0.16101111471652985, -0.6118814945220947, -1.055928349494934, -0.4775750935077667, 0.36501607298851013, 0.43681955337524414, -0.6849958300590515, 0.5978879928588867, -0.3924744427204132, -0.7478856444358826, -0.5996266603469849, 0.033300068229436874, 0.46765369176864624, 0.5310265421867371, 0.5297210216522217, -0.5470201969146729, -0.5419603586196899, -0.985819935798645, -0.09610969573259354, -0.024505220353603363, -0.0032472398597747087, 0.21315135061740875, 0.6550027132034302, -0.27776291966438293, 0.8657466769218445, -0.4734284281730652, -0.36379820108413696, -0.21265724301338196, 0.04521290957927704, 0.368764191865921, 0.7539404034614563, 0.6927470564842224, -0.6687310934066772, -0.4536478519439697, -0.12817320227622986, -0.8669283390045166, 0.16168715059757233, -0.0355319119989872, -0.18749240040779114, 0.15673379600048065, 0.23031796514987946, -0.7247829437255859, 0.7857334613800049, 0.20425382256507874, -0.38726645708084106, 0.442683607339859, -0.24200738966464996, 0.0794660747051239, -1.2092915773391724, 0.018173452466726303, 0.3916562795639038, -0.2680266499519348, -0.47840797901153564, 0.014569255523383617, 0.10301641374826431, -0.0443040207028389, -0.401190847158432, 0.5779933333396912, -0.49575987458229065, -0.04345859959721565, -0.06088424101471901, -0.33079126477241516, 0.07313176989555359, 0.7323970198631287, -0.06221088021993637, 0.5484686493873596, 0.7426688075065613, -0.4857371151447296, 0.6307938098907471, 0.5447970628738403, -0.2540060579776764, 0.4761211574077606, -0.7496441602706909, 0.15484705567359924, -0.045850008726119995, 0.24342438578605652, -1.033491849899292, -0.2286602109670639, 0.3592422604560852, -0.7367227673530579, 0.674110472202301, -0.5098366141319275, -0.475805401802063, -0.6639156937599182, -0.42227986454963684, 0.43019700050354004, 0.7610001564025879, -0.8164023756980896, 0.6070442199707031, 0.08290504664182663, 0.31906771659851074, -0.6016707420349121, -0.959120512008667, -0.21691130101680756, -0.3851284086704254, -0.7275775074958801, 0.4557018578052521, 0.09528512507677078, 0.17257797718048096, 0.055227842181921005, -0.07456283271312714, 0.008856819011271, -0.2241310030221939, 0.45053696632385254, 0.4213796854019165, -0.24130520224571228, -0.029439464211463928, -0.36590075492858887, -0.21817167103290558, -0.003236523363739252, -0.36132898926734924, 0.5550960302352905, -0.2958203852176666, -0.20643284916877747, -0.7773987650871277, -0.2705538868904114, 0.5307835936546326, -0.33141613006591797, 0.7667982578277588, 1.1996488571166992, -0.4633803963661194, 0.0712817907333374, -0.6194811463356018, -0.3863430321216583, -0.5042085647583008, 0.5099455714225769, -0.3184167444705963, -0.47838449478149414, 0.7478008270263672, 0.15213896334171295, 0.10071876645088196, 0.7802889943122864, 0.410216748714447, 0.04922511428594589, 0.8529027104377747, 0.6841907501220703, 0.12119516730308533, 0.8969473242759705, -0.9959448575973511, -0.10433704406023026, -0.9443504214286804, -0.36569374799728394, -0.25817227363586426, -0.5595358610153198, -0.7041259407997131, -0.514800488948822, 0.45819029211997986, 0.09776239842176437, -0.32354623079299927, 0.5184012651443481, -0.8934676647186279, 0.19514623284339905, 0.7346220016479492, 0.5445429682731628, -0.11570706218481064, 0.44621536135673523, -0.16596932709217072, -0.05980752781033516, -0.7767001390457153, -0.0796632245182991, 1.1231173276901245, 0.5002726912498474, 0.8196823596954346, -0.29453030228614807, 0.6505020260810852, -0.2881419360637665, 0.3059200048446655, -0.8020625114440918, 0.5640974044799805, -0.035265740007162094, -0.4128626585006714, -0.1496124118566513, -0.42256733775138855, -1.0762591361999512, 0.2066492736339569, -0.38165104389190674, -0.8124686479568481, 0.33362308144569397, 0.19857463240623474, -0.22384031116962433, 0.6874279379844666, -0.873119056224823, 0.9848278760910034, -0.05935921147465706, -0.5079241991043091, 0.0738561600446701, -0.7079953551292419, 0.1949882209300995, 0.20954430103302002, -0.3731655776500702, 0.16312333941459656, 0.278547465801239, 1.0359538793563843, -0.6066545844078064, 0.8439294695854187, -0.41770637035369873, 0.33492979407310486, 0.4794538617134094, -0.2396666556596756, 0.40874359011650085, 0.01698613353073597, 0.16794700920581818, 0.3364982306957245, -0.02421736717224121, -0.38093703985214233, -0.5127323269844055, 0.4950396418571472, -1.060234785079956, -0.4039772152900696, -0.5217589139938354, -0.5962145328521729, 0.11008056998252869, 0.07316180318593979, 0.6987713575363159, 0.646499514579773, 0.28435763716697693, 0.4261085093021393, 0.69583660364151, -0.38660717010498047, 0.39483723044395447, -0.0007929928251542151, -0.19679395854473114, -0.5736676454544067, 0.9703163504600525, 0.23560550808906555, 0.16986224055290222, 0.17951855063438416, 0.24755123257637024, -0.3469161093235016, -0.4832978844642639, -0.33563661575317383, 0.43790411949157715, -0.7062933444976807, -0.49947190284729004, -0.5877299308776855, -0.5500932335853577, -0.3532262444496155, 0.004595089238137007, -0.4284953773021698, -0.3176732659339905, -0.352588951587677, 0.11469157785177231, 0.8546447157859802, 0.5346340537071228, -0.10659397393465042, 0.5507391691207886, -0.5831254124641418, 0.21947751939296722, 0.3045355975627899, 0.5577934384346008, -0.1770561933517456, -1.0394498109817505, -0.3668038249015808, 0.01758698560297489, -0.529262900352478, -0.7428370714187622, 0.4693165123462677, 0.20601186156272888, 0.4348113238811493, 0.4141971468925476, -0.2707159221172333, 0.8978735208511353, -0.07690493017435074, 0.5950290560722351, 0.36793240904808044, -0.5505285263061523, 0.49699127674102783, -0.1128329336643219, 0.16339044272899628, 0.18442627787590027, 0.1827351599931717, -0.30484047532081604, -0.059676606208086014, -1.082275152206421, -0.7831488251686096, 0.8057947754859924, 0.23319824039936066, 0.07102308422327042, 0.480925977230072, 0.620940625667572, -0.06954173743724823, 0.06451722234487534, -0.9195006489753723, -0.3001529574394226, -0.39484989643096924, -0.3222877085208893, -0.14257606863975525, -0.01687501184642315, -0.022381914779543877, -0.832344114780426, 0.6513742208480835, -0.0805848091840744, 0.8345373272895813, 0.4827601909637451, -0.18903161585330963, -0.16407784819602966, -0.40048089623451233, 0.35952523350715637, 0.2731078565120697, -0.2753933370113373, 0.03285595029592514, 0.2783956229686737, -0.7717790007591248, -0.049356356263160706, 0.33511918783187866, -0.07101494073867798, 0.044148001819849014, 0.5041236281394958, 1.125274896621704, -0.12884856760501862, -0.02324860729277134, 0.5750738382339478, -0.08401765674352646, -0.4505017399787903, -0.3016003966331482, 0.07619120925664902, -0.2521439790725708, 0.39242038130760193, 0.3278506398200989, 0.36706915497779846, -0.1736556738615036, -0.14944984018802643, 0.128325954079628, 0.562771201133728, -0.5234432816505432, -0.3669666349887848, 0.6649007797241211, -0.19856376945972443, -0.08246612548828125, 0.8414375185966492, -0.051387906074523926, -0.6041159629821777, 0.9085426926612854, 0.34252968430519104, 1.0269360542297363, -0.12813983857631683, -0.041216108947992325, 0.8291895389556885, 0.37844061851501465, -0.05261371657252312, 0.13720712065696716, 0.14252768456935883, -0.7922723889350891, -0.12808196246623993, -0.6759123206138611, 0.04184260591864586, 0.37031182646751404, -0.5266779661178589, 0.41512441635131836, -0.5479607582092285, -0.37206101417541504, 0.06144403666257858, 0.24233272671699524, -1.038819670677185, 0.2973342537879944, 0.018686208873987198, 0.7762050032615662, -0.8223901987075806, 0.6543099284172058, 0.8660979270935059, -0.6812725067138672, -0.9977284669876099, -0.16932041943073273, -0.21366508305072784, -0.9108228087425232, 0.47145816683769226, 0.4629371464252472, 0.18908187747001648, 0.24845291674137115, -0.8438867330551147, -0.6356790661811829, 1.328489065170288, 0.3807903826236725, -0.18223285675048828, 0.14786556363105774, -0.022899825125932693, 0.39113369584083557, -0.2547762393951416, 0.45917099714279175, 0.17869272828102112, 0.4231967329978943, 0.2355382889509201, -0.7493538856506348, 0.08219275623559952, -0.3134193420410156, 0.15010449290275574, 0.23663429915905, -0.8468328714370728, 1.0001877546310425, -0.42353522777557373, -0.09641540795564651, 0.17323507368564606, 0.6456422209739685, 0.0847274512052536, 0.07006615400314331, 0.5627465844154358, 0.9104759693145752, 0.4079068601131439, -0.4366399943828583, 0.9319456219673157, -0.12070725858211517, 0.7238116264343262, 0.5080782771110535, 0.4960707426071167, 0.4560907185077667, 0.4677048325538635, -0.367462158203125, 0.31662943959236145, 1.00665283203125, -0.5844414234161377, 0.26716306805610657, 0.12965865433216095, 0.04579721391201019, -0.24956944584846497, 0.07437656074762344, -0.5095861554145813, 0.5400689840316772, 0.21076247096061707, -0.5796509981155396, -0.0811222568154335, 0.19920483231544495, -0.1638205498456955, -0.39623019099235535, -0.21154211461544037, 0.6200785040855408, -0.007613488007336855, -0.46350178122520447, 0.8679945468902588, -0.0315089225769043, 0.8351624011993408, -0.45791611075401306, -0.02960396744310856, -0.2574969232082367, 0.4388901889324188, -0.3932783007621765, -0.8182994723320007, 0.13839498162269592, -0.25259003043174744, -0.06182829663157463, 0.05041402205824852, 0.6916528940200806, -0.4016028046607971, -0.5828676223754883, 0.10476353764533997, 0.29336217045783997, 0.31063395738601685, -0.11158262938261032, -1.0219024419784546, -0.03062034584581852, 0.012732015922665596, -0.6114713549613953, 0.21619832515716553, 0.41922521591186523, 0.030440403148531914, 0.6960358023643494, 0.6854303479194641, -0.08283289521932602, 0.22225262224674225, -0.13441327214241028, 0.9630662798881531, -0.45049285888671875, -0.39786356687545776, -0.8029187321662903, 0.628074586391449, -0.07746580988168716, -0.644883394241333, 0.6719464659690857, 0.6123338341712952, 0.9277871251106262, -0.14485342800617218, 0.4666599929332733, -0.15041615068912506, 0.03224136307835579, -0.37288182973861694, 0.6016079187393188, -0.7338995933532715, -0.11893439292907715, -0.3234538733959198, -0.9419718384742737, -0.3942454159259796, 0.9783889651298523, -0.3490501642227173, 0.44715964794158936, 0.549288272857666, 0.9923036694526672, -0.3420180082321167, -0.39332255721092224, 0.18684878945350647, 0.24137359857559204, 0.13189080357551575, 0.41828277707099915, 0.5981523394584656, -0.8877260684967041, 0.5136736631393433, -0.5924698114395142, -0.19489853084087372, -0.25078311562538147, -0.4822562038898468, -1.0583546161651611, -0.853562593460083, -0.5833904147148132, -0.7131578326225281, -0.23311226069927216, 0.8761000633239746, 0.9673119783401489, -0.5581888556480408, -0.059893324971199036, -0.1568596065044403, 0.009376187808811665, -0.30241915583610535, -0.24498507380485535, 0.5453387498855591, -0.14211668074131012, -0.7823688983917236, -0.3691633939743042, -0.012531599029898643, 0.5009045004844666, -0.20902572572231293, -0.14673620462417603, -0.14672565460205078, -0.34914860129356384, 0.28602853417396545, 0.30464425683021545, -0.6883586049079895, -0.23148949444293976, -0.08061319589614868, -0.03815106675028801, 0.5096744894981384, 0.3900550305843353, -0.7480649948120117, 0.557956874370575, 0.546247661113739, 0.3595908284187317, 0.8765080571174622, -0.2068340927362442, 0.09824295341968536, -0.849513590335846, 0.6064522862434387, -0.03882277011871338, 0.5237675309181213, 0.5047003030776978, -0.27487319707870483, 0.6007009744644165, 0.5635457634925842, -0.49363967776298523, -0.8567366600036621, -0.04150540009140968, -1.1305278539657593, 0.11241596192121506, 0.9963563680648804, -0.2629653811454773, -0.4909481406211853, 0.390666663646698, -0.23491013050079346, 0.717979371547699, -0.05981871858239174, 0.4918976128101349, 0.24599850177764893, 0.11314844340085983, -0.6021391153335571, -0.48813003301620483, 0.5052908062934875, 0.15098166465759277, -0.5581649541854858, -0.37674906849861145, 0.05688268318772316, 0.5498409271240234, 0.39035752415657043, 0.32408443093299866, -0.15206937491893768, 0.18224361538887024, 0.05135517939925194, 0.5577587485313416, -0.3477264642715454, -0.1578959971666336, -0.4154193103313446, -0.15126539766788483, -0.07419808954000473, -0.6325741410255432 ]
timm/vit_large_patch14_clip_336.openai
timm
2023-04-12T17:41:01Z
7,203
0
open_clip
[ "open_clip", "zero-shot-image-classification", "clip", "arxiv:2103.00020", "arxiv:1908.04913", "license:apache-2.0", "region:us" ]
zero-shot-image-classification
2023-04-10T18:43:24Z
--- tags: - zero-shot-image-classification - clip library_tag: open_clip license: apache-2.0 --- # Model card for vit_large_patch14_clip_336.openai # CLIP (OpenAI model for timm) ## Model Details The CLIP model was developed by researchers at OpenAI to learn about what contributes to robustness in computer vision tasks. The model was also developed to test the ability of models to generalize to arbitrary image classification tasks in a zero-shot manner. It was not developed for general model deployment - to deploy models like CLIP, researchers will first need to carefully study their capabilities in relation to the specific context they’re being deployed within. This instance of the CLIP model is intended for loading in * `timm` (https://github.com/rwightman/pytorch-image-models) and * `OpenCLIP` (https://github.com/mlfoundations/open_clip) libraries. Please see https://huggingface.co/openai/clip-vit-large-patch14-336 for use in Hugging Face Transformers. ### Model Date January 2021 ### Model Type The model uses a ViT-L/14 (336x336) Transformer architecture as an image encoder and uses a masked self-attention Transformer as a text encoder. These encoders are trained to maximize the similarity of (image, text) pairs via a contrastive loss. The original implementation had two variants: one using a ResNet image encoder and the other using a Vision Transformer. This repository has the variant with the Vision Transformer. ### Documents - [Blog Post](https://openai.com/blog/clip/) - [CLIP Paper](https://arxiv.org/abs/2103.00020) ## Model Use ### Intended Use The model is intended as a research output for research communities. We hope that this model will enable researchers to better understand and explore zero-shot, arbitrary image classification. We also hope it can be used for interdisciplinary studies of the potential impact of such models - the CLIP paper includes a discussion of potential downstream impacts to provide an example for this sort of analysis. #### Primary intended uses The primary intended users of these models are AI researchers. We primarily imagine the model will be used by researchers to better understand robustness, generalization, and other capabilities, biases, and constraints of computer vision models. ### Out-of-Scope Use Cases **Any** deployed use case of the model - whether commercial or not - is currently out of scope. Non-deployed use cases such as image search in a constrained environment, are also not recommended unless there is thorough in-domain testing of the model with a specific, fixed class taxonomy. This is because our safety assessment demonstrated a high need for task specific testing especially given the variability of CLIP’s performance with different class taxonomies. This makes untested and unconstrained deployment of the model in any use case currently potentially harmful. Certain use cases which would fall under the domain of surveillance and facial recognition are always out-of-scope regardless of performance of the model. This is because the use of artificial intelligence for tasks such as these can be premature currently given the lack of testing norms and checks to ensure its fair use. Since the model has not been purposefully trained in or evaluated on any languages other than English, its use should be limited to English language use cases. ## Data The model was trained on publicly available image-caption data. This was done through a combination of crawling a handful of websites and using commonly-used pre-existing image datasets such as [YFCC100M](http://projects.dfki.uni-kl.de/yfcc100m/). A large portion of the data comes from our crawling of the internet. This means that the data is more representative of people and societies most connected to the internet which tend to skew towards more developed nations, and younger, male users. ### Data Mission Statement Our goal with building this dataset was to test out robustness and generalizability in computer vision tasks. As a result, the focus was on gathering large quantities of data from different publicly-available internet data sources. The data was gathered in a mostly non-interventionist manner. However, we only crawled websites that had policies against excessively violent and adult images and allowed us to filter out such content. We do not intend for this dataset to be used as the basis for any commercial or deployed model and will not be releasing the dataset. ## Limitations CLIP and our analysis of it have a number of limitations. CLIP currently struggles with respect to certain tasks such as fine grained classification and counting objects. CLIP also poses issues with regards to fairness and bias which we discuss in the paper and briefly in the next section. Additionally, our approach to testing CLIP also has an important limitation- in many cases we have used linear probes to evaluate the performance of CLIP and there is evidence suggesting that linear probes can underestimate model performance. ### Bias and Fairness We find that the performance of CLIP - and the specific biases it exhibits - can depend significantly on class design and the choices one makes for categories to include and exclude. We tested the risk of certain kinds of denigration with CLIP by classifying images of people from [Fairface](https://arxiv.org/abs/1908.04913) into crime-related and non-human animal categories. We found significant disparities with respect to race and gender. Additionally, we found that these disparities could shift based on how the classes were constructed. (Details captured in the Broader Impacts Section in the paper). We also tested the performance of CLIP on gender, race and age classification using the Fairface dataset (We default to using race categories as they are constructed in the Fairface dataset.) in order to assess quality of performance across different demographics. We found accuracy >96% across all races for gender classification with ‘Middle Eastern’ having the highest accuracy (98.4%) and ‘White’ having the lowest (96.5%). Additionally, CLIP averaged ~93% for racial classification and ~63% for age classification. Our use of evaluations to test for gender, race and age classification as well as denigration harms is simply to evaluate performance of the model across people and surface potential risks and not to demonstrate an endorsement/enthusiasm for such tasks.
[ -0.5527116060256958, -0.5405663251876831, 0.14890162646770477, 0.04594685509800911, -0.177416130900383, -0.18720321357250214, 0.006647501140832901, -0.6567670702934265, 0.15044045448303223, 0.4405352473258972, -0.31203746795654297, -0.4030574560165405, -0.5945366621017456, 0.1090056449174881, -0.5780549645423889, 0.7377558350563049, -0.10358875244855881, 0.021791603416204453, -0.24950480461120605, -0.3629256784915924, -0.5633761882781982, -0.6533579230308533, -0.23685216903686523, 0.20840461552143097, 0.16619554162025452, 0.109426349401474, 0.6542820930480957, 0.7701351642608643, 0.8361902832984924, 0.19634336233139038, -0.2351144701242447, -0.07653219997882843, -0.4964699149131775, -0.637008011341095, -0.4094737768173218, -0.38256773352622986, -0.38457322120666504, 0.2323082834482193, 0.6016117334365845, 0.3497781753540039, -0.0023553227074444294, 0.25848689675331116, 0.031771257519721985, 0.3824789524078369, -0.8950784206390381, -0.10613366216421127, -0.5383123159408569, 0.060745250433683395, -0.3495960831642151, 0.09967812150716782, -0.21144211292266846, -0.2344760000705719, 0.30826905369758606, -0.40607699751853943, 0.44677236676216125, -0.02401093952357769, 1.2078874111175537, 0.1476745456457138, -0.27272936701774597, 0.05252639949321747, -0.6415949463844299, 0.7523054480552673, -0.4664003252983093, 0.2589455544948578, 0.21821732819080353, 0.46450603008270264, 0.10318312793970108, -0.7793850898742676, -0.5948308706283569, -0.057109933346509933, 0.2719936966896057, 0.0009923209436237812, -0.26025232672691345, 0.01555238850414753, 0.4381099045276642, 0.4793786406517029, -0.17084573209285736, -0.05793963000178337, -0.6992595791816711, -0.22947531938552856, 0.6407378315925598, 0.2502848505973816, 0.3947106897830963, -0.20128272473812103, -0.6530759930610657, -0.4304863512516022, -0.5803501605987549, 0.44310930371284485, 0.4902332127094269, 0.17278486490249634, -0.21826620399951935, 0.6571952700614929, 0.03797800838947296, 0.3823760151863098, -0.009385357610881329, -0.258002370595932, 0.3417744040489197, -0.4328269958496094, -0.16643580794334412, -0.30032870173454285, 0.7675989270210266, 0.8402813076972961, 0.222554013133049, 0.14573152363300323, -0.08526822924613953, 0.1768597513437271, 0.42334872484207153, -0.8737536072731018, -0.08301278203725815, -0.19579912722110748, -0.5833953022956848, -0.34210091829299927, 0.32295694947242737, -1.0331292152404785, 0.06762657314538956, -0.1333407163619995, 0.7177326679229736, -0.42660635709762573, -0.09774865210056305, 0.1312110871076584, -0.2696544826030731, 0.3199132978916168, 0.36644282937049866, -0.617628276348114, 0.36305150389671326, 0.32994410395622253, 1.0805243253707886, -0.4736158847808838, -0.26729732751846313, 0.014737297780811787, -0.05958337336778641, -0.13679026067256927, 0.6485941410064697, -0.2967420816421509, -0.4176185727119446, -0.017105882987380028, 0.4564096927642822, -0.06815644353628159, -0.6032457947731018, 0.5584472417831421, -0.2611923813819885, 0.07678468525409698, -0.27714094519615173, -0.2871592938899994, -0.5756457448005676, 0.2921794652938843, -0.6505559682846069, 0.8560149073600769, 0.2399400770664215, -0.7649090886116028, 0.38182544708251953, -0.7739101648330688, -0.05401136726140976, -0.13315007090568542, -0.11139021813869476, -0.6166012287139893, -0.26076918840408325, 0.37718191742897034, 0.25337404012680054, -0.19671691954135895, 0.34406396746635437, -0.5608428120613098, -0.4358230233192444, 0.1918436884880066, -0.31958386301994324, 0.9187973737716675, 0.04198943451046944, -0.3647231161594391, 0.05712989345192909, -0.2957058548927307, -0.2565918564796448, 0.2852632999420166, 0.09581849724054337, -0.22411279380321503, -0.14866141974925995, 0.2517884075641632, 0.05853424221277237, -0.09709689021110535, -0.764928936958313, 0.10735873878002167, -0.06226019188761711, 0.490707129240036, 0.707022488117218, 0.09466253966093063, 0.28483155369758606, -0.48048970103263855, 0.5783817768096924, -0.0463213175535202, 0.6604673266410828, -0.17267289757728577, -0.4755159616470337, -0.453469842672348, -0.5310591459274292, 0.5489535927772522, 0.5957239270210266, -0.5177696943283081, 0.16404767334461212, -0.11178608983755112, -0.3136456608772278, -0.21175850927829742, -0.22668781876564026, 0.36624303460121155, 0.5527456998825073, 0.3024146556854248, -0.9016357660293579, -0.4952501058578491, -1.057590126991272, 0.1361098736524582, -0.024973826482892036, -0.04848490282893181, 0.6123579740524292, 0.9003920555114746, -0.2965341806411743, 1.1168872117996216, -0.6957716345787048, -0.49614769220352173, -0.1409439742565155, -0.12742242217063904, -0.10440608859062195, 0.49630796909332275, 1.0030580759048462, -0.9226059913635254, -0.19686928391456604, -0.5483922362327576, -0.7904269695281982, 0.07490044832229614, 0.1606917828321457, -0.18812094628810883, 0.020445935428142548, 0.20861990749835968, -0.30205583572387695, 0.9725991487503052, 0.2384154349565506, -0.029804911464452744, 0.6642876267433167, 0.150559663772583, 0.322895348072052, -0.5904031991958618, 0.3700242042541504, 0.19922424852848053, -0.25686749815940857, -0.44821643829345703, 0.1404789388179779, -0.014348630793392658, -0.4271775186061859, -0.8488171696662903, 0.37623128294944763, -0.08611691743135452, -0.07031464576721191, -0.15148895978927612, -0.14911672472953796, 0.18971772491931915, 0.626949667930603, 0.02468171715736389, 1.1035215854644775, 0.36950233578681946, -0.6878184080123901, -0.017882414162158966, 0.5665803551673889, -0.40033501386642456, 0.5689389705657959, -0.8715144395828247, 0.003073041560128331, -0.03934650868177414, 0.11838217079639435, -0.513666570186615, -0.4165722131729126, 0.3157973289489746, -0.35061004757881165, 0.19925819337368011, -0.129637211561203, -0.34322819113731384, -0.5702101588249207, -0.5859904289245605, 0.7320115566253662, 0.5899441838264465, -0.5014085173606873, 0.35994547605514526, 0.798302948474884, 0.21189215779304504, -0.5356572866439819, -0.716690182685852, -0.02765185944736004, -0.3596489429473877, -0.6977066993713379, 0.5417420864105225, 0.005198615603148937, -0.05089545622467995, 0.05697854980826378, 0.10612321645021439, -0.3108104169368744, 0.007730241399258375, 0.44200628995895386, 0.5212000608444214, -0.0777478814125061, -0.0648602843284607, -0.290047287940979, 0.33827468752861023, 0.012930379249155521, 0.2067551612854004, 0.20963521301746368, -0.05824815481901169, -0.3835363984107971, -0.4675693213939667, 0.3672984540462494, 0.5021935701370239, -0.2863737642765045, 0.49351006746292114, 0.4413663148880005, -0.2864588499069214, 0.025251422077417374, -0.5713609457015991, -0.02799820527434349, -0.4247153699398041, 0.41063228249549866, -0.05251533165574074, -0.8130002021789551, 0.7232192158699036, 0.058797746896743774, -0.12638500332832336, 0.6131237149238586, 0.33902642130851746, 0.02268272638320923, 0.8258001208305359, 1.003580927848816, -0.006596983410418034, 0.7288910150527954, -0.6296461820602417, 0.04758869484066963, -0.9636287689208984, -0.27950039505958557, -0.282571017742157, -0.21850048005580902, -0.4792728126049042, -0.4997681677341461, 0.6076852679252625, 0.11539814621210098, -0.14192581176757812, 0.4189080595970154, -0.659868597984314, 0.4100070595741272, 0.5755000114440918, 0.4739798903465271, 0.01978868804872036, -0.08358556777238846, 0.10654176771640778, -0.21822047233581543, -0.537531316280365, -0.45456138253211975, 1.160050392150879, 0.7003070712089539, 0.708162248134613, -0.12536832690238953, 0.2234857678413391, 0.4517735540866852, -0.01632295735180378, -0.7552969455718994, 0.5006997585296631, -0.3869500160217285, -0.7666581869125366, -0.1734030693769455, -0.11194916069507599, -0.8078270554542542, 0.06972470879554749, -0.04583446681499481, -0.7529227137565613, 0.5710688233375549, 0.08476263284683228, -0.32546520233154297, 0.6300544142723083, -0.5602158308029175, 0.9465685486793518, -0.17262542247772217, -0.32195886969566345, -0.0046317907981574535, -0.6833938360214233, 0.6769971251487732, -0.060607023537158966, 0.056386783719062805, -0.2049839198589325, 0.10555630922317505, 1.0427610874176025, -0.571732759475708, 0.9184197783470154, -0.16359412670135498, 0.3784349262714386, 0.7674835324287415, -0.2181350737810135, 0.02205977775156498, -0.1710500419139862, 0.22764649987220764, 0.6027575731277466, 0.239344522356987, -0.13453617691993713, -0.41762346029281616, 0.13056914508342743, -0.7592607140541077, -0.44034504890441895, -0.38605934381484985, -0.45277220010757446, 0.17689357697963715, 0.12910917401313782, 0.45675036311149597, 0.7337983250617981, -0.10502608865499496, 0.17493559420108795, 0.6594762206077576, -0.5177621245384216, 0.3277183175086975, 0.20622709393501282, -0.3250035047531128, -0.554246723651886, 0.8202987909317017, 0.22477488219738007, 0.22664478421211243, 0.05426982417702675, 0.05743638053536415, -0.20333875715732574, -0.47552257776260376, -0.42899224162101746, 0.10468629002571106, -0.6987133026123047, -0.42565569281578064, -0.4720025062561035, -0.3732978403568268, -0.44644856452941895, 0.01272688340395689, -0.39365243911743164, -0.265965074300766, -0.4707683324813843, 0.20298872888088226, 0.30896705389022827, 0.6228011846542358, -0.1301221251487732, 0.35018813610076904, -0.5820867419242859, 0.3214872181415558, 0.3539346754550934, 0.5325976014137268, -0.035757627338171005, -0.6297547221183777, -0.15088768303394318, -0.004776800982654095, -0.8500577807426453, -0.7468572854995728, 0.3999559283256531, 0.2768823802471161, 0.5537652373313904, 0.26876237988471985, 0.21891982853412628, 0.6676028370857239, -0.4459351599216461, 1.0223052501678467, 0.1923329085111618, -0.9419879913330078, 0.5835654139518738, -0.4280150532722473, 0.15320925414562225, 0.7119526863098145, 0.4182223081588745, -0.24438564479351044, -0.14441810548305511, -0.5357804894447327, -0.8282715082168579, 0.7551301717758179, 0.1686510145664215, 0.14118464291095734, 0.01249714195728302, 0.36649879813194275, -0.0003781721752602607, 0.11591458320617676, -0.6512032151222229, -0.1697012335062027, -0.415878027677536, 0.015201743692159653, 0.27557373046875, -0.3976181447505951, -0.12483955919742584, -0.3255428373813629, 0.32851144671440125, -0.06556382030248642, 0.620189905166626, 0.543293297290802, -0.17162787914276123, 0.0166547242552042, -0.10461390763521194, 0.6106650233268738, 0.6317428350448608, -0.3859717845916748, -0.20068985223770142, 0.24754905700683594, -0.8583723306655884, 0.038367848843336105, -0.16000720858573914, -0.42929598689079285, -0.011174572631716728, 0.2733573019504547, 0.8129396438598633, 0.162082701921463, -0.7822751998901367, 1.047984004020691, -0.031135480850934982, -0.4882228672504425, -0.3067314028739929, -0.007971917279064655, -0.6227429509162903, 0.17781682312488556, 0.3164779543876648, 0.2098812311887741, 0.3888152241706848, -0.5484050512313843, 0.43537840247154236, 0.45591816306114197, -0.4079524874687195, -0.40094470977783203, 0.7103978991508484, 0.19113683700561523, -0.2049059420824051, 0.46337395906448364, -0.14855831861495972, -0.8611134886741638, 0.7738003134727478, 0.33188867568969727, 0.7477663159370422, -0.07410747557878494, 0.1602874994277954, 0.5239402055740356, 0.2651257812976837, -0.3260161578655243, -0.001753654913045466, 0.0949084535241127, -0.5307636260986328, -0.25811538100242615, -0.3828788697719574, -0.5819398760795593, 0.15911054611206055, -0.9058191776275635, 0.452926903963089, -0.5573127269744873, -0.45788663625717163, -0.1812417358160019, -0.3098829388618469, -0.6748144030570984, 0.09631500393152237, 0.07402928173542023, 1.2043077945709229, -0.8449987769126892, 0.44134798645973206, 0.4291427731513977, -0.6076773405075073, -0.7179580926895142, -0.10140258818864822, -0.006258953362703323, -0.648248016834259, 0.6595789790153503, 0.46464869379997253, 0.040120188146829605, -0.4661061763763428, -0.9327628016471863, -0.8936731815338135, 1.0403672456741333, 0.4260883927345276, -0.32333704829216003, -0.1023777648806572, -0.015115732327103615, 0.3540266454219818, -0.34812894463539124, 0.2792171537876129, 0.32675766944885254, 0.024183617904782295, 0.35048970580101013, -1.2165322303771973, -0.10857651382684708, -0.11034596711397171, 0.24535773694515228, 0.14859235286712646, -0.8280284404754639, 0.9703117609024048, -0.20631013810634613, -0.39792314171791077, 0.08837853372097015, 0.3949260413646698, -0.09242333471775055, 0.38839295506477356, 0.4899938106536865, 0.664381206035614, 0.3641416132450104, 0.022980861365795135, 1.0754097700119019, 0.007644787430763245, 0.4360140562057495, 0.9072146415710449, -0.1504826545715332, 0.8741829991340637, 0.34263426065444946, -0.40623748302459717, 0.33872970938682556, 0.4246639609336853, -0.6350899338722229, 0.7213358283042908, 0.015648292377591133, 0.08995191752910614, -0.024113183841109276, -0.4756249785423279, -0.2695724070072174, 0.7014243006706238, 0.009411646053195, -0.44294416904449463, -0.11603938043117523, 0.4308757185935974, -0.20437674224376678, -0.019679168239235878, -0.4387073218822479, 0.44220617413520813, -0.11263611912727356, -0.323452889919281, 0.32167166471481323, 0.025975527241826057, 0.886896550655365, -0.40839987993240356, -0.14863383769989014, 0.10793519765138626, 0.20688077807426453, -0.09519173204898834, -0.8877615332603455, 0.6454585790634155, 0.12250281125307083, -0.16168639063835144, 0.0027291281148791313, 0.7183051705360413, -0.038906875997781754, -0.48482072353363037, 0.19846613705158234, -0.027463801205158234, 0.3185743987560272, -0.16749510169029236, -0.5692649483680725, 0.2494339644908905, 0.05385448783636093, 0.0765085220336914, 0.4109653830528259, 0.07337503880262375, -0.20565533638000488, 0.6281756162643433, 0.3544231355190277, -0.07309973239898682, 0.01416840311139822, -0.28313419222831726, 1.0651086568832397, -0.5397770404815674, -0.38113144040107727, -0.7219128608703613, 0.40405192971229553, -0.06727830320596695, -0.3620307147502899, 0.660440981388092, 0.5626335144042969, 1.0201163291931152, -0.06617659330368042, 0.5479179620742798, -0.23731285333633423, 0.5450453162193298, -0.3345400094985962, 0.4634529650211334, -0.4978577494621277, -0.05261589586734772, -0.4514539837837219, -0.6732825636863708, -0.22994033992290497, 0.5443365573883057, -0.32001426815986633, -0.05324466899037361, 0.5014632344245911, 0.6371642351150513, -0.16430094838142395, -0.026082409545779228, 0.25905799865722656, -0.35538798570632935, 0.2687155306339264, 0.5171014666557312, 0.6507521867752075, -0.7157021164894104, 0.6580119132995605, -0.5963780283927917, -0.30687838792800903, -0.20897045731544495, -0.8109572529792786, -1.1121784448623657, -0.4578111171722412, -0.4528583288192749, -0.1637759804725647, -0.016487963497638702, 0.6432927846908569, 0.8704346418380737, -0.6665754318237305, -0.12045986205339432, 0.3187099099159241, -0.08196566253900528, 0.04525319114327431, -0.23874282836914062, 0.3169368505477905, 0.1406797468662262, -0.5351302623748779, -0.19706091284751892, 0.12898887693881989, 0.3414643704891205, -0.24478109180927277, 0.18154096603393555, -0.1419801414012909, -0.11332418024539948, 0.4343131482601166, 0.4751303195953369, -0.6789824366569519, -0.4641706049442291, 0.15930867195129395, 0.0955551341176033, 0.2913503348827362, 0.713185727596283, -0.675640344619751, 0.41223791241645813, 0.27465805411338806, 0.5645004510879517, 0.5623775720596313, 0.2007874846458435, 0.3836725056171417, -0.4723469316959381, 0.2144164741039276, 0.19785654544830322, 0.34932470321655273, 0.2954295575618744, -0.3994230329990387, 0.6275132298469543, 0.48861995339393616, -0.6544786095619202, -1.0187314748764038, 0.04433664679527283, -1.0677295923233032, -0.09477278590202332, 0.8696230053901672, -0.42546141147613525, -0.6092144250869751, 0.11984991282224655, -0.2975876033306122, 0.22750157117843628, -0.37867817282676697, 0.7306690812110901, 0.4115403890609741, -0.005037912167608738, -0.43449461460113525, -0.6527665257453918, 0.2399587780237198, 0.011971945874392986, -0.5894796848297119, -0.32363560795783997, 0.30594369769096375, 0.4896765351295471, 0.3227790892124176, 0.38815218210220337, -0.40022018551826477, 0.3809276223182678, -0.04037411883473396, 0.2944640517234802, -0.26560840010643005, -0.2989126443862915, -0.5586273074150085, 0.272490918636322, -0.2567170560359955, -0.5887063145637512 ]
Systran/faster-whisper-base.en
Systran
2023-11-23T11:03:52Z
7,200
0
ctranslate2
[ "ctranslate2", "audio", "automatic-speech-recognition", "en", "license:mit", "region:us" ]
automatic-speech-recognition
2023-11-23T09:54:08Z
--- language: - en tags: - audio - automatic-speech-recognition license: mit library_name: ctranslate2 --- # Whisper base.en model for CTranslate2 This repository contains the conversion of [openai/whisper-base.en](https://huggingface.co/openai/whisper-base.en) to the [CTranslate2](https://github.com/OpenNMT/CTranslate2) model format. This model can be used in CTranslate2 or projects based on CTranslate2 such as [faster-whisper](https://github.com/systran/faster-whisper). ## Example ```python from faster_whisper import WhisperModel model = WhisperModel("base.en") segments, info = model.transcribe("audio.mp3") for segment in segments: print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text)) ``` ## Conversion details The original model was converted with the following command: ``` ct2-transformers-converter --model openai/whisper-base.en --output_dir faster-whisper-base.en \ --copy_files tokenizer.json --quantization float16 ``` Note that the model weights are saved in FP16. This type can be changed when the model is loaded using the [`compute_type` option in CTranslate2](https://opennmt.net/CTranslate2/quantization.html). ## More information **For more information about the original model, see its [model card](https://huggingface.co/openai/whisper-base.en).**
[ 0.08756618946790695, -0.3831775486469269, 0.20547805726528168, 0.5076082944869995, -0.44166165590286255, -0.27346980571746826, -0.5002777576446533, -0.41357192397117615, 0.013580970466136932, 0.8010943531990051, -0.4957028031349182, -0.6490899324417114, -0.6328083276748657, -0.3108229339122772, -0.30418381094932556, 0.922630250453949, -0.2139277458190918, 0.25155362486839294, 0.4358411133289337, -0.10963229089975357, -0.3784503936767578, -0.2712722718715668, -0.7164799571037292, -0.2885737717151642, 0.08618594706058502, 0.21797488629817963, 0.5909740328788757, 0.3481866717338562, 0.4348560571670532, 0.27571216225624084, -0.31017613410949707, -0.07904911786317825, -0.341742604970932, -0.09441512823104858, 0.2260250300168991, -0.709042489528656, -0.7366154789924622, 0.0994865894317627, 0.6377131938934326, 0.19927914440631866, -0.30250468850135803, 0.37896212935447693, -0.24167749285697937, 0.3891291916370392, -0.5612102746963501, 0.3400779068470001, -0.5908148884773254, -0.023437153548002243, -0.1446583867073059, -0.25428175926208496, -0.6082434058189392, -0.36644208431243896, 0.5724006295204163, -0.8543561697006226, 0.1844077706336975, -0.11064540594816208, 0.9105731844902039, 0.22899886965751648, -0.509691059589386, -0.3588308095932007, -0.9063453078269958, 0.9834275841712952, -0.7808999419212341, 0.33989599347114563, 0.27436718344688416, 0.4883931875228882, 0.20158760249614716, -1.0690618753433228, -0.15107381343841553, -0.1043904721736908, 0.16475877165794373, 0.3761835992336273, -0.4169803857803345, 0.3044048845767975, 0.16173332929611206, 0.506263256072998, -0.6814837455749512, -0.2194744497537613, -0.7655665278434753, -0.4529862701892853, 0.5073434710502625, 0.06014091148972511, 0.2663886249065399, -0.2272867113351822, -0.3816128671169281, -0.6226441860198975, -0.5778884291648865, 0.01318823080509901, 0.5318266749382019, 0.299386203289032, -0.704307496547699, 0.6624847650527954, 0.050603266805410385, 0.3998050093650818, 0.13754931092262268, -0.3210139572620392, 0.4710170328617096, -0.24328270554542542, -0.17513984441757202, 0.530038595199585, 0.6207942962646484, 0.5284820199012756, 0.17809584736824036, 0.1974301040172577, -0.23243696987628937, -0.0074524469673633575, 0.062005415558815, -1.120934009552002, -0.3886999487876892, 0.3122127056121826, -0.9009474515914917, -0.2311578392982483, 0.08234832435846329, -0.2519262433052063, 0.14066669344902039, -0.16006962954998016, 0.596460223197937, -0.5250780582427979, -0.6637888550758362, 0.4855058193206787, -0.5874797701835632, 0.17134933173656464, 0.35102182626724243, -0.8010141849517822, 0.47868549823760986, 0.5715747475624084, 1.130134105682373, 0.01805190183222294, -0.09009202569723129, -0.1748734712600708, 0.28050947189331055, -0.08778074383735657, 0.5031984448432922, -0.01353058498352766, -0.6261022686958313, -0.022565333172678947, -0.06399145722389221, -0.15346300601959229, -0.6084718108177185, 0.6195966005325317, -0.2398170828819275, 0.40527772903442383, 0.2700694799423218, -0.22896720468997955, -0.23665311932563782, 0.023690402507781982, -0.6948938369750977, 1.0601164102554321, 0.5553223490715027, -0.7694491147994995, -0.16623586416244507, -0.8006160855293274, -0.1955222636461258, -0.1802719682455063, 0.5154587626457214, -0.34058552980422974, 0.2634322941303253, -0.04580117389559746, -0.07620730996131897, -0.3961733281612396, 0.32744288444519043, -0.0449104942381382, -0.39238861203193665, 0.22438612580299377, -0.4786125421524048, 1.1078131198883057, 0.35989585518836975, -0.009211697615683079, 0.2878246009349823, -0.6611740589141846, 0.06578012555837631, -0.07040411978960037, -0.41647985577583313, -0.33355212211608887, -0.15490113198757172, 0.5293387174606323, -0.05339529737830162, 0.36581820249557495, -0.650418221950531, 0.2600775957107544, -0.6767135262489319, 0.7785396575927734, 0.35979169607162476, -0.006799318362027407, 0.4658149182796478, -0.3867156505584717, 0.09815501421689987, 0.2313849925994873, 0.4195807874202728, 0.018518170341849327, -0.5905808210372925, -0.7844663262367249, -0.0774204209446907, 0.3417338728904724, 0.5184686183929443, -0.5178166627883911, 0.3388921022415161, -0.3755323588848114, -0.937286913394928, -0.9824396967887878, -0.4923290014266968, 0.28592267632484436, 0.34066519141197205, 0.6196137070655823, -0.10297130048274994, -0.8875033855438232, -0.8800380229949951, -0.11790000647306442, -0.4482344090938568, -0.21563930809497833, 0.16928455233573914, 0.544333279132843, -0.17382900416851044, 0.708879292011261, -0.5974990129470825, -0.4405549168586731, -0.26291441917419434, 0.35109633207321167, 0.3274511992931366, 0.866665780544281, 0.6400710344314575, -0.8162469863891602, -0.29509443044662476, -0.19544748961925507, -0.36116087436676025, -0.03518078476190567, -0.06951484084129333, -0.14199623465538025, 0.05390385165810585, 0.047484513372182846, -0.8306047916412354, 0.47715699672698975, 0.7599198818206787, -0.38057729601860046, 0.5331810712814331, 0.053502582013607025, 0.010629424825310707, -1.3240766525268555, 0.1358901709318161, -0.01797162927687168, -0.13392260670661926, -0.6787603497505188, 0.05319443345069885, 0.23308035731315613, 0.12759149074554443, -0.8174937963485718, 0.65354984998703, -0.17995469272136688, -0.021188467741012573, -0.14269983768463135, -0.3269442021846771, -0.08029121905565262, 0.31741130352020264, 0.5050126314163208, 0.8080466389656067, 0.4998856484889984, -0.4356916844844818, 0.15830183029174805, 0.6210448145866394, -0.2281593382358551, 0.14648541808128357, -1.0676143169403076, 0.13502095639705658, 0.224763423204422, 0.4699952006340027, -0.611840009689331, 0.04252781718969345, 0.2754449248313904, -0.7599359154701233, 0.15459506213665009, -0.6986817717552185, -0.48201388120651245, -0.19829297065734863, -0.4434315860271454, 0.46057167649269104, 0.7163758277893066, -0.38541877269744873, 0.7616429924964905, 0.23951269686222076, 0.10280093550682068, -0.18236860632896423, -1.076391339302063, -0.079521045088768, -0.12829861044883728, -0.8206693530082703, 0.7886036038398743, -0.2798534631729126, -0.17795996367931366, -0.126438707113266, -0.07557086646556854, -0.2517441511154175, -0.12176091223955154, 0.49951663613319397, 0.33782705664634705, -0.47095978260040283, -0.3192146122455597, 0.4038807153701782, -0.38923078775405884, 0.13014699518680573, -0.5722590684890747, 0.7649433016777039, -0.17181888222694397, 0.006052298471331596, -0.6351025104522705, 0.1320192813873291, 0.5573251843452454, -0.24714748561382294, 0.48773521184921265, 0.6579084396362305, -0.4086393415927887, -0.19488437473773956, -0.4643819332122803, -0.1852291375398636, -0.496859610080719, 0.27414605021476746, -0.4124114513397217, -0.7294686436653137, 0.48633843660354614, 0.14042742550373077, 0.08977889269590378, 0.834689199924469, 0.602435290813446, 0.09844996780157089, 1.1126530170440674, 0.44533801078796387, 0.2617790997028351, 0.3996872007846832, -0.7881185412406921, -0.2486369013786316, -1.1732192039489746, -0.39109858870506287, -0.6781413555145264, -0.12600724399089813, -0.358365535736084, -0.2921578884124756, 0.5248146057128906, 0.1686207503080368, -0.4805555045604706, 0.7504608035087585, -0.7152827382087708, -0.03295132517814636, 0.5079354643821716, 0.20569612085819244, 0.3149127662181854, 0.04237218573689461, 0.20269937813282013, -0.13916778564453125, -0.3191870450973511, -0.38128432631492615, 1.1530159711837769, 0.619509220123291, 0.7239370942115784, 0.3393334448337555, 0.6374273896217346, 0.09852224588394165, 0.15924754738807678, -0.8763204216957092, 0.24737873673439026, -0.2164904773235321, -0.5921556949615479, -0.005203384440392256, -0.30266913771629333, -0.6901822090148926, 0.08313451707363129, 0.07593109458684921, -0.5951417088508606, 0.10069193691015244, -0.05722679942846298, -0.04527623578906059, 0.36821335554122925, -0.5222436189651489, 0.7223717570304871, 0.05412818491458893, 0.3619268238544464, -0.21364234387874603, -0.4038110077381134, 0.4714105725288391, 0.23517364263534546, -0.32751673460006714, 0.05832245200872421, -0.06117714196443558, 1.0515978336334229, -0.7015531659126282, 0.8404577374458313, -0.46341216564178467, -0.2018505185842514, 0.7234821915626526, 0.1858270764350891, 0.3726678192615509, 0.1440090835094452, -0.2399761974811554, 0.5609616637229919, 0.341056764125824, -0.034499943256378174, -0.3380766212940216, 0.5481455326080322, -1.334047794342041, -0.11849043518304825, -0.20166879892349243, -0.54057377576828, 0.31678518652915955, 0.1171441301703453, 0.6254147291183472, 0.6260802745819092, -0.05903416872024536, 0.20381949841976166, 0.6811836361885071, 0.11040304601192474, 0.40841951966285706, 0.7225669026374817, -0.019398093223571777, -0.7983331680297852, 0.69423907995224, 0.21413026750087738, 0.30211442708969116, 0.4485536217689514, 0.30145445466041565, -0.5672642588615417, -0.9944804310798645, -0.46737155318260193, 0.057815928012132645, -0.6637997627258301, -0.37361857295036316, -0.7200616002082825, -0.5840975046157837, -0.5262409448623657, 0.12347982823848724, -0.678243100643158, -0.7408113479614258, -0.5277611017227173, 0.19501201808452606, 0.7280874252319336, 0.42740723490715027, -0.01319296658039093, 0.7127324938774109, -1.0916496515274048, 0.2711000442504883, -0.04462988302111626, 0.16949810087680817, 0.14671723544597626, -0.9848157167434692, -0.12002874910831451, 0.20027609169483185, -0.2744634449481964, -0.9007099270820618, 0.5058635473251343, 0.06812751293182373, 0.24111759662628174, 0.12637463212013245, 0.08069450408220291, 0.7796915173530579, -0.19536030292510986, 1.0173858404159546, 0.32429245114326477, -1.198233962059021, 0.7474525570869446, -0.49552303552627563, 0.18156740069389343, 0.5279743671417236, 0.13517946004867554, -0.6250381469726562, -0.08946111798286438, -0.6406477689743042, -0.8318743109703064, 0.8501415848731995, 0.4585120975971222, -0.029727021232247353, 0.19357529282569885, 0.20556296408176422, 0.18257544934749603, 0.16521570086479187, -0.7509494423866272, -0.3789874315261841, -0.7072412371635437, -0.4538945257663727, 0.2885662019252777, -0.2808711528778076, -0.06814762204885483, -0.2120865285396576, 0.8025155067443848, -0.17510633170604706, 0.42048096656799316, 0.5560247898101807, -0.2895185947418213, -0.1363573670387268, 0.012572999112308025, 0.6686499118804932, 0.1292986124753952, -0.5963819026947021, -0.13010312616825104, 0.17816905677318573, -0.8509534001350403, -0.046967800706624985, -0.011077051982283592, -0.38623443245887756, 0.25328880548477173, 0.4995531439781189, 0.8930843472480774, 0.407635897397995, -0.2773614525794983, 0.6601580381393433, -0.09241097420454025, -0.45811328291893005, -0.8106955289840698, 0.10201085358858109, 0.25199365615844727, 0.15900030732154846, 0.45220908522605896, 0.29222530126571655, 0.2735910713672638, -0.3880954086780548, -0.18163935840129852, 0.09324179589748383, -0.5030997395515442, -0.5558215379714966, 0.7673686742782593, 0.21818384528160095, -0.35983285307884216, 0.6798923015594482, 0.13792064785957336, -0.24645087122917175, 0.6302595734596252, 0.8171586394309998, 1.304922103881836, -0.11912639439105988, 0.07704045623540878, 0.6678014397621155, 0.29459473490715027, -0.23352593183517456, 0.7685523629188538, -0.15425395965576172, -0.4726161062717438, -0.37233370542526245, -0.7425133585929871, -0.3762150704860687, 0.07765069603919983, -0.9936667680740356, 0.3278816342353821, -0.5055004358291626, -0.2357606142759323, 0.018460417166352272, 0.04271342605352402, -0.6327555179595947, -0.014113819226622581, 0.23192159831523895, 1.520611047744751, -0.6517562866210938, 1.1340713500976562, 0.5492793917655945, -0.4100220501422882, -0.9106577038764954, -0.3129096031188965, -0.0748036801815033, -0.7355108261108398, 0.6468106508255005, 0.1549580693244934, -0.06490787863731384, 0.06599299609661102, -0.7607061862945557, -1.0020766258239746, 1.3813451528549194, 0.05993293598294258, -0.5822687149047852, -0.21487216651439667, 0.14974841475486755, 0.5074058771133423, -0.5944722890853882, 0.7453426122665405, 0.39963656663894653, 0.8345448970794678, 0.025974448770284653, -1.2483389377593994, -0.005546274594962597, -0.22216954827308655, 0.24737036228179932, 0.06440373510122299, -0.83455491065979, 1.2171574831008911, -0.14209908246994019, -0.12640514969825745, 0.7741895914077759, 0.7108820080757141, 0.3762494623661041, 0.24519644677639008, 0.46313461661338806, 0.47619590163230896, 0.3519205152988434, -0.3495413661003113, 0.5918760895729065, -0.3021808862686157, 0.5256126523017883, 0.9004841446876526, -0.27789244055747986, 1.0214496850967407, 0.3408642113208771, -0.05656832456588745, 0.840039849281311, 0.44300004839897156, -0.32167068123817444, 0.6335826516151428, -0.02650746889412403, -0.024415722116827965, -0.04471487179398537, -0.05260608345270157, -0.5506377220153809, 0.7432668209075928, 0.49367064237594604, -0.37573009729385376, -0.2127567082643509, -0.11902903765439987, 0.04905937984585762, -0.23533578217029572, -0.3969305157661438, 0.7034813761711121, -0.1040581464767456, -0.48987534642219543, 0.7383644580841064, 0.4197673797607422, 0.9818010330200195, -1.0084625482559204, -0.15381702780723572, 0.24629366397857666, 0.1519598364830017, -0.27676981687545776, -0.7790616750717163, 0.46404749155044556, -0.18661245703697205, -0.33710694313049316, -0.061581213027238846, 0.6776521801948547, -0.6497166156768799, -0.37496110796928406, 0.42307865619659424, 0.2440328598022461, 0.3401810824871063, -0.28728312253952026, -0.7922683358192444, 0.4049835503101349, 0.25509002804756165, -0.3561260402202606, 0.20568548142910004, -0.0996929407119751, -0.029945431277155876, 0.4436534643173218, 0.9193760752677917, 0.17714175581932068, 0.016354799270629883, 0.12715771794319153, 0.6928600668907166, -0.6632086038589478, -0.7242348194122314, -0.4105241298675537, 0.6552497148513794, -0.0009152574930340052, -0.761283814907074, 0.526680588722229, 0.9125028252601624, 0.5936642289161682, -0.3470092713832855, 0.7462632060050964, 0.009392613545060158, 0.3516349196434021, -0.7991513609886169, 0.7912334203720093, -0.28070276975631714, -0.13978400826454163, 0.04839327558875084, -0.8642296195030212, 0.06720348447561264, 0.39040160179138184, 0.044330842792987823, -0.2322186976671219, 0.6118914484977722, 0.8955950140953064, -0.12841393053531647, 0.2571370601654053, -0.02996845543384552, 0.42166242003440857, 0.3080788850784302, 0.6467245817184448, 0.6378048658370972, -1.047394871711731, 0.7089973092079163, -0.39821329712867737, -0.014596438966691494, -0.02739470824599266, -0.6490788459777832, -0.9346218109130859, -0.6054566502571106, -0.4932194948196411, -0.6762178540229797, -0.024418996647000313, 0.9579316973686218, 0.9914675951004028, -0.7599011659622192, -0.41536498069763184, 0.007304701022803783, -0.12304440885782242, -0.030442960560321808, -0.29948171973228455, 0.5031911730766296, 0.3554498851299286, -0.8137080073356628, 0.6304169297218323, 0.07872728258371353, 0.4805890619754791, -0.30129802227020264, -0.48378509283065796, 0.3122287094593048, -0.019042035564780235, 0.3584933876991272, 0.08014629781246185, -0.8944250345230103, -0.11790233105421066, -0.15186890959739685, -0.027843084186315536, 0.2208596020936966, 0.7453004717826843, -0.8153929114341736, 0.13336272537708282, 0.6838251948356628, -0.2667292356491089, 0.7376783490180969, -0.29915061593055725, 0.31447380781173706, -0.5779352188110352, 0.48208117485046387, 0.2720494270324707, 0.4068082273006439, 0.1566820740699768, -0.11453964561223984, 0.435483455657959, 0.24331338703632355, -0.23167137801647186, -0.9276666641235352, -0.03018628992140293, -1.407845139503479, -0.06572159379720688, 1.1449453830718994, -0.019869474694132805, -0.36632028222084045, 0.13445892930030823, -0.611829400062561, 0.4015491008758545, -0.6669493913650513, 0.1531907469034195, 0.16874480247497559, 0.4010692536830902, -0.04449765756726265, -0.3816273808479309, 0.41957834362983704, -0.06838788837194443, -0.37309056520462036, 0.03838561475276947, 0.0753079280257225, 0.5552811026573181, 0.42254796624183655, 0.6022862792015076, -0.5253260135650635, 0.4683196544647217, 0.297730952501297, 0.5139714479446411, -0.4073476791381836, -0.4018976390361786, -0.3095191717147827, 0.022697852924466133, -0.10620507597923279, -0.28793129324913025 ]
TheBloke/Phind-CodeLlama-34B-v2-GPTQ
TheBloke
2023-09-27T12:46:32Z
7,187
85
transformers
[ "transformers", "safetensors", "llama", "text-generation", "code llama", "base_model:Phind/Phind-CodeLlama-34B-v2", "license:llama2", "model-index", "text-generation-inference", "4-bit", "region:us" ]
text-generation
2023-08-28T20:31:35Z
--- license: llama2 tags: - code llama base_model: Phind/Phind-CodeLlama-34B-v2 inference: false model_creator: Phind model_type: llama prompt_template: '### System Prompt {system_message} ### User Message {prompt} ### Assistant ' quantized_by: TheBloke model-index: - name: Phind-CodeLlama-34B-v1 results: - task: type: text-generation dataset: name: HumanEval type: openai_humaneval metrics: - type: pass@1 value: 73.8% name: pass@1 verified: false --- <!-- header start --> <!-- 200823 --> <div style="width: auto; margin-left: auto; margin-right: auto"> <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;"> </div> <div style="display: flex; justify-content: space-between; width: 100%;"> <div style="display: flex; flex-direction: column; align-items: flex-start;"> <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p> </div> <div style="display: flex; flex-direction: column; align-items: flex-end;"> <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p> </div> </div> <div style="text-align:center; margin-top: 0em; margin-bottom: 0em"><p style="margin-top: 0.25em; margin-bottom: 0em;">TheBloke's LLM work is generously supported by a grant from <a href="https://a16z.com">andreessen horowitz (a16z)</a></p></div> <hr style="margin-top: 1.0em; margin-bottom: 1.0em;"> <!-- header end --> # CodeLlama 34B v2 - GPTQ - Model creator: [Phind](https://huggingface.co/Phind) - Original model: [CodeLlama 34B v2](https://huggingface.co/Phind/Phind-CodeLlama-34B-v2) <!-- description start --> ## Description This repo contains GPTQ model files for [Phind's CodeLlama 34B v2](https://huggingface.co/Phind/Phind-CodeLlama-34B-v2). Multiple GPTQ parameter permutations are provided; see Provided Files below for details of the options provided, their parameters, and the software used to create them. <!-- description end --> <!-- repositories-available start --> ## Repositories available * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/Phind-CodeLlama-34B-v2-AWQ) * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Phind-CodeLlama-34B-v2-GPTQ) * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/Phind-CodeLlama-34B-v2-GGUF) * [Phind's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/Phind/Phind-CodeLlama-34B-v2) <!-- repositories-available end --> <!-- prompt-template start --> ## Prompt template: Phind ``` ### System Prompt {system_message} ### User Message {prompt} ### Assistant ``` <!-- prompt-template end --> <!-- README_GPTQ.md-provided-files start --> ## Provided files and GPTQ parameters Multiple quantisation parameters are provided, to allow you to choose the best one for your hardware and requirements. Each separate quant is in a different branch. See below for instructions on fetching from different branches. All recent GPTQ files are made with AutoGPTQ, and all files in non-main branches are made with AutoGPTQ. Files in the `main` branch which were uploaded before August 2023 were made with GPTQ-for-LLaMa. <details> <summary>Explanation of GPTQ parameters</summary> - Bits: The bit size of the quantised model. - GS: GPTQ group size. Higher numbers use less VRAM, but have lower quantisation accuracy. "None" is the lowest possible value. - Act Order: True or False. Also known as `desc_act`. True results in better quantisation accuracy. Some GPTQ clients have had issues with models that use Act Order plus Group Size, but this is generally resolved now. - Damp %: A GPTQ parameter that affects how samples are processed for quantisation. 0.01 is default, but 0.1 results in slightly better accuracy. - GPTQ dataset: The dataset used for quantisation. Using a dataset more appropriate to the model's training can improve quantisation accuracy. Note that the GPTQ dataset is not the same as the dataset used to train the model - please refer to the original model repo for details of the training dataset(s). - Sequence Length: The length of the dataset sequences used for quantisation. Ideally this is the same as the model sequence length. For some very long sequence models (16+K), a lower sequence length may have to be used. Note that a lower sequence length does not limit the sequence length of the quantised model. It only impacts the quantisation accuracy on longer inference sequences. - ExLlama Compatibility: Whether this file can be loaded with ExLlama, which currently only supports Llama models in 4-bit. </details> | Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc | | ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- | | [main](https://huggingface.co/TheBloke/Phind-CodeLlama-34B-v2-GPTQ/tree/main) | 4 | None | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 17.69 GB | Yes | 4-bit, with Act Order. No group size, to lower VRAM requirements. | | [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/Phind-CodeLlama-34B-v2-GPTQ/tree/gptq-4bit-32g-actorder_True) | 4 | 32 | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 20.28 GB | Yes | 4-bit, with Act Order and group size 32g. Gives highest possible inference quality, with maximum VRAM usage. | | [gptq-4bit-64g-actorder_True](https://huggingface.co/TheBloke/Phind-CodeLlama-34B-v2-GPTQ/tree/gptq-4bit-64g-actorder_True) | 4 | 64 | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 18.98 GB | Yes | 4-bit, with Act Order and group size 64g. Uses less VRAM than 32g, but with slightly lower accuracy. | | [gptq-4bit-128g-actorder_True](https://huggingface.co/TheBloke/Phind-CodeLlama-34B-v2-GPTQ/tree/gptq-4bit-128g-actorder_True) | 4 | 128 | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 18.33 GB | Yes | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. | | [gptq-3bit--1g-actorder_True](https://huggingface.co/TheBloke/Phind-CodeLlama-34B-v2-GPTQ/tree/gptq-3bit--1g-actorder_True) | 3 | None | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 13.54 GB | No | 3-bit, with Act Order and no group size. Lowest possible VRAM requirements. May be lower quality than 3-bit 128g. | | [gptq-3bit-128g-actorder_True](https://huggingface.co/TheBloke/Phind-CodeLlama-34B-v2-GPTQ/tree/gptq-3bit-128g-actorder_True) | 3 | 128 | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 14.14 GB | No | 3-bit, with group size 128g and act-order. Higher quality than 128g-False. | <!-- README_GPTQ.md-provided-files end --> <!-- README_GPTQ.md-download-from-branches start --> ## How to download from branches - In text-generation-webui, you can add `:branch` to the end of the download name, eg `TheBloke/Phind-CodeLlama-34B-v2-GPTQ:main` - With Git, you can clone a branch with: ``` git clone --single-branch --branch main https://huggingface.co/TheBloke/Phind-CodeLlama-34B-v2-GPTQ ``` - In Python Transformers code, the branch is the `revision` parameter; see below. <!-- README_GPTQ.md-download-from-branches end --> <!-- README_GPTQ.md-text-generation-webui start --> ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui). Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui). It is strongly recommended to use the text-generation-webui one-click-installers unless you're sure you know how to make a manual install. 1. Click the **Model tab**. 2. Under **Download custom model or LoRA**, enter `TheBloke/Phind-CodeLlama-34B-v2-GPTQ`. - To download from a specific branch, enter for example `TheBloke/Phind-CodeLlama-34B-v2-GPTQ:main` - see Provided Files above for the list of branches for each option. 3. Click **Download**. 4. The model will start downloading. Once it's finished it will say "Done". 5. In the top left, click the refresh icon next to **Model**. 6. In the **Model** dropdown, choose the model you just downloaded: `Phind-CodeLlama-34B-v2-GPTQ` 7. The model will automatically load, and is now ready for use! 8. If you want any custom settings, set them and then click **Save settings for this model** followed by **Reload the Model** in the top right. * Note that you do not need to and should not set manual GPTQ parameters any more. These are set automatically from the file `quantize_config.json`. 9. Once you're ready, click the **Text Generation tab** and enter a prompt to get started! <!-- README_GPTQ.md-text-generation-webui end --> <!-- README_GPTQ.md-use-from-python start --> ## How to use this GPTQ model from Python code ### Install the necessary packages Requires: Transformers 4.32.0 or later, Optimum 1.12.0 or later, and AutoGPTQ 0.4.2 or later. ```shell pip3 install transformers>=4.32.0 optimum>=1.12.0 pip3 install auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/ # Use cu117 if on CUDA 11.7 ``` If you have problems installing AutoGPTQ using the pre-built wheels, install it from source instead: ```shell pip3 uninstall -y auto-gptq git clone https://github.com/PanQiWei/AutoGPTQ cd AutoGPTQ pip3 install . ``` ### For CodeLlama models only: you must use Transformers 4.33.0 or later. If 4.33.0 is not yet released when you read this, you will need to install Transformers from source: ```shell pip3 uninstall -y transformers pip3 install git+https://github.com/huggingface/transformers.git ``` ### You can then use the following code ```python from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline model_name_or_path = "TheBloke/Phind-CodeLlama-34B-v2-GPTQ" # To use a different branch, change revision # For example: revision="main" model = AutoModelForCausalLM.from_pretrained(model_name_or_path, device_map="auto", trust_remote_code=False, revision="main") tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True) prompt = "Tell me about AI" prompt_template=f'''### System Prompt {system_message} ### User Message {prompt} ### Assistant ''' print("\n\n*** Generate:") input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda() output = model.generate(inputs=input_ids, temperature=0.7, do_sample=True, top_p=0.95, top_k=40, max_new_tokens=512) print(tokenizer.decode(output[0])) # Inference can also be done using transformers' pipeline print("*** Pipeline:") pipe = pipeline( "text-generation", model=model, tokenizer=tokenizer, max_new_tokens=512, do_sample=True, temperature=0.7, top_p=0.95, top_k=40, repetition_penalty=1.1 ) print(pipe(prompt_template)[0]['generated_text']) ``` <!-- README_GPTQ.md-use-from-python end --> <!-- README_GPTQ.md-compatibility start --> ## Compatibility The files provided are tested to work with AutoGPTQ, both via Transformers and using AutoGPTQ directly. They should also work with [Occ4m's GPTQ-for-LLaMa fork](https://github.com/0cc4m/KoboldAI). [ExLlama](https://github.com/turboderp/exllama) is compatible with Llama models in 4-bit. Please see the Provided Files table above for per-file compatibility. [Huggingface Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference) is compatible with all GPTQ models. <!-- README_GPTQ.md-compatibility end --> <!-- footer start --> <!-- 200823 --> ## Discord For further support, and discussions on these models and AI in general, join us at: [TheBloke AI's Discord server](https://discord.gg/theblokeai) ## Thanks, and how to contribute Thanks to the [chirper.ai](https://chirper.ai) team! Thanks to Clay from [gpus.llm-utils.org](llm-utils)! I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training. If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects. Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits. * Patreon: https://patreon.com/TheBlokeAI * Ko-Fi: https://ko-fi.com/TheBlokeAI **Special thanks to**: Aemon Algiz. **Patreon special mentions**: Alicia Loh, Stephen Murray, K, Ajan Kanaga, RoA, Magnesian, Deo Leter, Olakabola, Eugene Pentland, zynix, Deep Realms, Raymond Fosdick, Elijah Stavena, Iucharbius, Erik Bjäreholt, Luis Javier Navarrete Lozano, Nicholas, theTransient, John Detwiler, alfie_i, knownsqashed, Mano Prime, Willem Michiel, Enrico Ros, LangChain4j, OG, Michael Dempsey, Pierre Kircher, Pedro Madruga, James Bentley, Thomas Belote, Luke @flexchar, Leonard Tan, Johann-Peter Hartmann, Illia Dulskyi, Fen Risland, Chadd, S_X, Jeff Scroggin, Ken Nordquist, Sean Connelly, Artur Olbinski, Swaroop Kallakuri, Jack West, Ai Maven, David Ziegler, Russ Johnson, transmissions 11, John Villwock, Alps Aficionado, Clay Pascal, Viktor Bowallius, Subspace Studios, Rainer Wilmers, Trenton Dambrowitz, vamX, Michael Levine, 준교 김, Brandon Frisco, Kalila, Trailburnt, Randy H, Talal Aujan, Nathan Dryer, Vadim, 阿明, ReadyPlayerEmma, Tiffany J. Kim, George Stoitzev, Spencer Kim, Jerry Meng, Gabriel Tamborski, Cory Kujawski, Jeffrey Morgan, Spiking Neurons AB, Edmond Seymore, Alexandros Triantafyllidis, Lone Striker, Cap'n Zoog, Nikolai Manek, danny, ya boyyy, Derek Yates, usrbinkat, Mandus, TL, Nathan LeClaire, subjectnull, Imad Khwaja, webtim, Raven Klaugh, Asp the Wyvern, Gabriel Puliatti, Caitlyn Gatomon, Joseph William Delisle, Jonathan Leane, Luke Pendergrass, SuperWojo, Sebastain Graf, Will Dee, Fred von Graf, Andrey, Dan Guido, Daniel P. Andersen, Nitin Borwankar, Elle, Vitor Caleffi, biorpg, jjj, NimbleBox.ai, Pieter, Matthew Berman, terasurfer, Michael Davis, Alex, Stanislav Ovsiannikov Thank you to all my generous patrons and donaters! And thank you again to a16z for their generous grant. <!-- footer end --> # Original model card: Phind's CodeLlama 34B v2 # **Phind-CodeLlama-34B-v2** We've fine-tuned Phind-CodeLlama-34B-v1 on an additional 1.5B tokens high-quality programming-related data, achieving **73.8% pass@1** on HumanEval. It's the current state-of-the-art amongst open-source models. Furthermore, this model is **instruction-tuned** on the Alpaca/Vicuna format to be steerable and easy-to-use. More details can be found on our [blog post](https://www.phind.com/blog/code-llama-beats-gpt4). ## Model Details This model is fine-tuned from Phind-CodeLlama-34B-v1 and achieves **73.8% pass@1** on HumanEval. Phind-CodeLlama-34B-v2 is **multi-lingual** and is proficient in Python, C/C++, TypeScript, Java, and more. ## Dataset Details We fined-tuned on a proprietary dataset of 1.5B tokens of high quality programming problems and solutions. This dataset consists of instruction-answer pairs instead of code completion examples, making it structurally different from HumanEval. LoRA was not used -- both models are a native finetune. We used DeepSpeed ZeRO 3 and Flash Attention 2 to train these models in 15 hours on 32 A100-80GB GPUs. We used a sequence length of 4096 tokens. ## How to Get Started with the Model Make sure to install Transformers from the main git branch: ```bash pip install git+https://github.com/huggingface/transformers.git ``` ## How to Prompt the Model This model accepts the Alpaca/Vicuna instruction format. For example: ``` ### System Prompt You are an intelligent programming assistant. ### User Message Implement a linked list in C++ ### Assistant ... ``` ## How to reproduce HumanEval Results To reproduce our results: ```python from transformers import AutoTokenizer, LlamaForCausalLM from human_eval.data import write_jsonl, read_problems from tqdm import tqdm # initialize the model model_path = "Phind/Phind-CodeLlama-34B-v2" model = LlamaForCausalLM.from_pretrained(model_path, device_map="auto") tokenizer = AutoTokenizer.from_pretrained(model_path) # HumanEval helper def generate_one_completion(prompt: str): tokenizer.pad_token = tokenizer.eos_token inputs = tokenizer(prompt, return_tensors="pt", truncation=True, max_length=4096) # Generate generate_ids = model.generate(inputs.input_ids.to("cuda"), max_new_tokens=384, do_sample=True, top_p=0.75, top_k=40, temperature=0.1) completion = tokenizer.batch_decode(generate_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)[0] completion = completion.replace(prompt, "").split("\n\n\n")[0] return completion # perform HumanEval problems = read_problems() num_samples_per_task = 1 samples = [ dict(task_id=task_id, completion=generate_one_completion(problems[task_id]["prompt"])) for task_id in tqdm(problems) for _ in range(num_samples_per_task) ] write_jsonl("samples.jsonl", samples) # run `evaluate_functional_correctness samples.jsonl` in your HumanEval code sandbox ``` ## Bias, Risks, and Limitations <!-- This section is meant to convey both technical and sociotechnical limitations. --> This model has undergone very limited testing. Additional safety testing should be performed before any real-world deployments. ## Training details <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly --> - **Hardware Type:** 32x A100-80GB - **Hours used:** 480 GPU-hours - **Cloud Provider:** AWS - **Compute Region:** us-east-1
[ -0.49506959319114685, -0.8083973526954651, 0.12484918534755707, 0.16074052453041077, -0.33682239055633545, -0.14570094645023346, 0.04849889129400253, -0.4725835919380188, 0.22026222944259644, 0.37216895818710327, -0.5707761645317078, -0.5553383827209473, -0.30975615978240967, -0.07621566206216812, -0.28823986649513245, 1.0036067962646484, 0.16616496443748474, -0.24267466366291046, -0.04499053582549095, -0.1645839363336563, -0.16398948431015015, -0.46423083543777466, -0.6907017230987549, -0.22679778933525085, 0.31621411442756653, 0.16140180826187134, 0.7874460816383362, 0.5744794607162476, 0.24891304969787598, 0.3312050402164459, -0.0687529444694519, -0.10889386385679245, -0.5812289714813232, -0.09454018622636795, 0.15731321275234222, -0.2062523066997528, -0.76926589012146, 0.06859833002090454, 0.450395405292511, 0.11169212311506271, -0.39007341861724854, 0.26976972818374634, 0.06781361997127533, 0.7067747116088867, -0.4231715798377991, 0.2696852385997772, -0.315997451543808, 0.017747005447745323, -0.18311475217342377, 0.09457874298095703, -0.05671677365899086, -0.513252854347229, 0.18002334237098694, -0.8475860953330994, 0.2147441953420639, -0.020927703008055687, 1.2050954103469849, 0.0429198294878006, -0.5351232290267944, 0.06920915096998215, -0.4249039888381958, 0.6488851308822632, -0.9318394064903259, 0.24770817160606384, 0.45922449231147766, 0.2293623387813568, -0.1325390487909317, -0.9110109806060791, -0.5274574160575867, -0.02571365237236023, -0.08023948967456818, 0.30501192808151245, -0.4469321668148041, 0.13681066036224365, 0.4766688346862793, 0.8167858719825745, -0.9157259464263916, -0.2329026460647583, -0.3249000906944275, -0.14064407348632812, 0.8676246404647827, 0.17172102630138397, 0.3841671645641327, -0.2916758060455322, -0.3251180052757263, -0.4631904661655426, -0.678810179233551, 0.06888000667095184, 0.3614897131919861, 0.06127912551164627, -0.6167615652084351, 0.3836178183555603, -0.27702781558036804, 0.4878142774105072, 0.22292876243591309, -0.09221167117357254, 0.3901309370994568, -0.5584278106689453, -0.5352076888084412, -0.35558024048805237, 1.1752358675003052, 0.31886109709739685, -0.1902061253786087, 0.2612129747867584, -0.08176568150520325, -0.13559167087078094, 0.04477353394031525, -1.0828180313110352, -0.539585292339325, 0.5146891474723816, -0.47959163784980774, -0.21035143733024597, -0.02030112035572529, -0.8608220219612122, -0.029726240783929825, -0.06713856011629105, 0.49163296818733215, -0.6229546666145325, -0.4188724160194397, 0.132980614900589, -0.3397817313671112, 0.5555431842803955, 0.32389119267463684, -0.7066695094108582, 0.4436596632003784, 0.3425942063331604, 0.6765865683555603, 0.2029503583908081, -0.07315123081207275, -0.29367750883102417, 0.0029372279532253742, -0.08220189809799194, 0.3677281439304352, -0.14707934856414795, -0.47797149419784546, -0.2382790744304657, 0.30705294013023376, -0.03690798580646515, -0.28500911593437195, 0.5706028938293457, -0.31321072578430176, 0.43326810002326965, -0.44386133551597595, -0.5802053213119507, -0.4264073371887207, 0.04658544808626175, -0.5975362062454224, 1.1294441223144531, 0.5981690883636475, -0.8115415573120117, 0.1152656227350235, -0.5612486004829407, -0.14075136184692383, 0.13359907269477844, -0.028260665014386177, -0.6348915100097656, -0.13279935717582703, 0.17839188873767853, 0.30235975980758667, -0.36553817987442017, 0.08972713351249695, -0.27563321590423584, -0.2722965180873871, 0.08735627681016922, -0.38816678524017334, 1.300758719444275, 0.2554539144039154, -0.457392156124115, 0.016802001744508743, -0.6952834725379944, 0.24059993028640747, 0.5196539759635925, -0.20126569271087646, -0.00004114407784072682, -0.3125876784324646, 0.16895832121372223, 0.08382786065340042, 0.21523615717887878, -0.2779940068721771, 0.47260525822639465, -0.22165291011333466, 0.6632500886917114, 0.550204873085022, 0.07709019631147385, 0.3037714660167694, -0.45403972268104553, 0.6201313734054565, -0.011455057188868523, 0.5127243399620056, 0.053374916315078735, -0.74204021692276, -0.6181485652923584, -0.28903618454933167, 0.4866147041320801, 0.5940400958061218, -0.6800553202629089, 0.499016672372818, -0.15703332424163818, -0.7449873089790344, -0.34413138031959534, -0.1665066033601761, 0.37529757618904114, 0.3552002012729645, 0.44969019293785095, -0.46131765842437744, -0.3722054660320282, -0.7971540689468384, 0.15307210385799408, -0.42040884494781494, -0.08973507583141327, 0.4490128457546234, 0.7298458814620972, -0.238028421998024, 0.6466765403747559, -0.6128466129302979, -0.08600534498691559, -0.025490425527095795, 0.06962190568447113, 0.27291548252105713, 0.6424720287322998, 0.8151783347129822, -0.6810342669487, -0.5239551067352295, -0.14599928259849548, -0.6766390204429626, -0.03713589161634445, -0.012726794928312302, -0.46441450715065, 0.19452592730522156, -0.02402253821492195, -1.0352487564086914, 0.6242482662200928, 0.4950517416000366, -0.5582400560379028, 0.7840476036071777, -0.26297274231910706, 0.2101113200187683, -1.104447841644287, 0.08495280891656876, 0.21909376978874207, -0.3053200840950012, -0.4841388165950775, 0.29065829515457153, -0.015092265792191029, 0.14957673847675323, -0.36948803067207336, 0.5275644063949585, -0.5573251247406006, 0.006226160563528538, 0.15265046060085297, -0.019102206453680992, 0.27497825026512146, 0.5375592708587646, -0.24309630692005157, 0.8180726170539856, 0.5417808294296265, -0.47367146611213684, 0.5667740702629089, 0.4642934501171112, -0.01693210005760193, 0.3242715001106262, -0.8658496737480164, 0.2560878098011017, 0.16036231815814972, 0.31662386655807495, -0.86417156457901, -0.32665881514549255, 0.622374415397644, -0.5835416913032532, 0.4925629496574402, -0.4669932723045349, -0.33742985129356384, -0.41643041372299194, -0.588916003704071, 0.3611447513103485, 0.9044049978256226, -0.30959081649780273, 0.4923613369464874, 0.4607948064804077, 0.01769779995083809, -0.4810468554496765, -0.701576828956604, -0.18955063819885254, -0.35723525285720825, -0.6842672228813171, 0.5224529504776001, -0.1349765956401825, -0.09038633108139038, 0.011829235590994358, 0.0609159953892231, -0.09577766805887222, -0.13310864567756653, 0.28289085626602173, 0.3256091773509979, -0.28320708870887756, -0.18462540209293365, 0.08388389647006989, 0.02176668308675289, 0.02599397860467434, -0.41059669852256775, 0.4324577748775482, -0.31476953625679016, -0.03356965258717537, -0.3796676695346832, 0.20043320953845978, 0.4560934007167816, -0.03152892738580704, 0.6725088953971863, 0.7687882781028748, -0.3858458697795868, 0.08412213623523712, -0.3629181683063507, -0.14829513430595398, -0.4900433123111725, 0.12963753938674927, -0.18743503093719482, -0.6874739527702332, 0.5437576174736023, 0.3597683310508728, 0.09282603859901428, 0.7747188806533813, 0.44957736134529114, 0.019621023908257484, 0.8241598010063171, 0.37276580929756165, -0.1538856327533722, 0.4523436427116394, -0.6697055101394653, -0.1960957795381546, -0.8066111207008362, -0.1262260526418686, -0.37346023321151733, -0.1726529598236084, -0.797012448310852, -0.5359945893287659, 0.3256763219833374, 0.3065631687641144, -0.8000556826591492, 0.5534470677375793, -0.7312536239624023, 0.14540618658065796, 0.633375346660614, 0.28576231002807617, 0.19756776094436646, 0.11513249576091766, -0.08383800089359283, 0.05819949507713318, -0.594864010810852, -0.28185150027275085, 1.0828595161437988, 0.3744826912879944, 0.5964807271957397, 0.19442224502563477, 0.5484868288040161, 0.13393138349056244, 0.1642753779888153, -0.5121980905532837, 0.5401097536087036, 0.08755653351545334, -0.5621896386146545, -0.3457742929458618, -0.6812499761581421, -0.9597366452217102, 0.2129800170660019, -0.08258246630430222, -0.8034414052963257, 0.3499002754688263, 0.1386561393737793, -0.4306843876838684, 0.25050413608551025, -0.6995262503623962, 1.0265657901763916, -0.08781477808952332, -0.4579116702079773, 0.0023501827381551266, -0.6844576597213745, 0.41078078746795654, 0.2536541223526001, -0.04807498678565025, -0.12111485749483109, -0.04708431288599968, 0.76636803150177, -0.8662355542182922, 0.6303791403770447, -0.2910629212856293, -0.04722139611840248, 0.6188079714775085, -0.05997764319181442, 0.5826541781425476, 0.20114406943321228, 0.06254207342863083, 0.3643949329853058, 0.3246947228908539, -0.5027648210525513, -0.31796807050704956, 0.5229300856590271, -0.8962101340293884, -0.4928078055381775, -0.5123517513275146, -0.35861217975616455, 0.00976179912686348, 0.030089840292930603, 0.5292100310325623, 0.43126219511032104, -0.026584746316075325, 0.057802505791187286, 0.7385181784629822, -0.39036038517951965, 0.36567792296409607, 0.23980014026165009, -0.3597623407840729, -0.645282506942749, 0.8761935234069824, 0.036008186638355255, 0.20845259726047516, 0.17348699271678925, 0.11873932182788849, -0.4545104503631592, -0.5128148794174194, -0.7257713675498962, 0.32389193773269653, -0.4583621323108673, -0.4233996272087097, -0.556799590587616, -0.4231967329978943, -0.37345072627067566, 0.2991165816783905, -0.3705245554447174, -0.630915641784668, -0.4114997982978821, 0.030642936006188393, 0.9295662641525269, 0.4533601999282837, -0.15158028900623322, 0.3190605640411377, -0.8810260891914368, 0.2569440007209778, 0.4282916188240051, 0.1965896040201187, -0.017186062410473824, -0.7427011728286743, -0.11777208000421524, 0.2618899345397949, -0.5898483991622925, -1.0032954216003418, 0.697985827922821, 0.1687912493944168, 0.3170998990535736, 0.3547818064689636, 0.10409766435623169, 0.748216450214386, -0.17089970409870148, 0.9745790958404541, 0.12187383323907852, -0.9272282719612122, 0.5451342463493347, -0.6290048360824585, 0.2593502402305603, 0.38652050495147705, 0.4866738021373749, -0.31626325845718384, -0.20069992542266846, -0.7703500986099243, -0.8261029124259949, 0.502658486366272, 0.5404748320579529, -0.06330405175685883, 0.26222681999206543, 0.5288550853729248, -0.08686105906963348, 0.18829214572906494, -0.7774184942245483, -0.5958784818649292, -0.366650253534317, -0.14178040623664856, 0.20930182933807373, -0.08144664019346237, -0.2521921694278717, -0.6507135629653931, 0.9598873853683472, -0.15982937812805176, 0.8048200011253357, 0.32522162795066833, 0.12153886258602142, -0.13829852640628815, 0.13543199002742767, 0.3399187922477722, 0.6000848412513733, -0.2656770646572113, -0.30460840463638306, 0.05575115606188774, -0.8302786350250244, 0.06670834124088287, 0.4596121907234192, -0.25167879462242126, -0.1735508292913437, 0.023459896445274353, 0.7313991785049438, -0.10929464548826218, -0.27486729621887207, 0.4309147894382477, -0.33506953716278076, -0.39950674772262573, -0.2971976399421692, 0.18651676177978516, 0.3036510944366455, 0.3904455006122589, 0.3318905234336853, -0.2248746007680893, 0.3121095895767212, -0.49114155769348145, 0.14685817062854767, 0.4547054171562195, -0.214584082365036, -0.37281885743141174, 0.8193373084068298, -0.04489174112677574, 0.052666377276182175, 0.8138176202774048, -0.4647824466228485, -0.45556265115737915, 0.8304194211959839, 0.4255264103412628, 0.817815899848938, -0.21228612959384918, 0.3151482939720154, 0.622697114944458, 0.15793757140636444, -0.046718135476112366, 0.5273345708847046, 0.104304239153862, -0.5705335736274719, -0.2879981994628906, -0.5989940762519836, -0.3179025650024414, 0.35012707114219666, -0.7799353003501892, 0.1591324508190155, -0.4547911286354065, -0.3536210060119629, -0.20596791803836823, 0.3136538565158844, -0.575086236000061, 0.2380790412425995, 0.08757609128952026, 0.8662719130516052, -0.5932888984680176, 0.8625137805938721, 0.5609318614006042, -0.49546509981155396, -0.9815834760665894, -0.11635163426399231, 0.13695496320724487, -0.5716402530670166, 0.10484910756349564, -0.07584647834300995, 0.3591633141040802, 0.10107699036598206, -0.7043163776397705, -0.8268327713012695, 1.4283843040466309, 0.3549938201904297, -0.6303538680076599, -0.11926881223917007, -0.036571603268384933, 0.38397085666656494, -0.15753546357154846, 0.6706926226615906, 0.5670366883277893, 0.3365360498428345, 0.20329193770885468, -0.8833885192871094, 0.4322863519191742, -0.4101501405239105, 0.03645389527082443, 0.22746549546718597, -1.0227981805801392, 1.0092930793762207, -0.03362446278333664, -0.15610185265541077, 0.18421560525894165, 0.6144967079162598, 0.45216476917266846, 0.04208774119615555, 0.3225803077220917, 0.7908573746681213, 0.8249000906944275, -0.40907636284828186, 1.102878451347351, -0.32995274662971497, 0.7088798880577087, 0.7945966124534607, 0.0647912472486496, 0.6517640352249146, 0.1123240664601326, -0.7565208077430725, 0.5350369811058044, 0.9483965039253235, -0.16097989678382874, 0.325727254152298, 0.1774776428937912, -0.32872501015663147, -0.0825461894273758, 0.2291724532842636, -0.7865685820579529, 0.0805002972483635, 0.43933841586112976, -0.23260340094566345, 0.1046600267291069, -0.2695204019546509, -0.013933511450886726, -0.5929883718490601, -0.17468217015266418, 0.4854368567466736, 0.28182169795036316, -0.18464204668998718, 0.8943691253662109, -0.06524203717708588, 0.5953717231750488, -0.548608124256134, -0.19779646396636963, -0.3686535954475403, -0.0470382496714592, -0.26121973991394043, -0.6916356086730957, 0.145012766122818, -0.2632439136505127, -0.03723976016044617, 0.011501475237309933, 0.7162393927574158, -0.26979920268058777, -0.3959966003894806, 0.28726842999458313, 0.5400604605674744, 0.2986532747745514, -0.23259450495243073, -1.1331737041473389, 0.17098428308963776, 0.04469555243849754, -0.6356934309005737, 0.45587435364723206, 0.41569826006889343, 0.25892049074172974, 0.6479248404502869, 0.46655648946762085, -0.11158090829849243, 0.032676152884960175, -0.15829633176326752, 0.9137418866157532, -0.8197968602180481, -0.2990775406360626, -0.7438826560974121, 0.5727692246437073, -0.13909690082073212, -0.46458643674850464, 0.77546626329422, 0.6168739199638367, 0.7497989535331726, -0.021299704909324646, 0.7500562071800232, -0.41313034296035767, 0.15126758813858032, -0.3572019934654236, 0.7357392311096191, -0.6845436096191406, 0.1583119034767151, -0.41045787930488586, -0.760277509689331, 0.0037291862536221743, 0.7105772495269775, -0.05862514302134514, 0.33529379963874817, 0.46304044127464294, 0.8365633487701416, -0.004222170915454626, 0.2497396022081375, 0.18246214091777802, 0.4061174988746643, 0.11118432879447937, 0.9203354716300964, 0.6712184548377991, -1.0503422021865845, 0.49766072630882263, -0.3724212050437927, -0.1916959136724472, -0.03793751075863838, -0.7353132367134094, -0.7056958079338074, -0.45625194907188416, -0.660283088684082, -0.7461961507797241, 0.05357735976576805, 0.9506762623786926, 0.797939658164978, -0.6756618022918701, -0.2911544740200043, -0.1654987931251526, 0.015617004595696926, -0.25543826818466187, -0.32136717438697815, 0.3706602156162262, 0.2819151282310486, -0.748446524143219, 0.11710268259048462, 0.06023953855037689, 0.3773191571235657, -0.12804996967315674, -0.3290451765060425, -0.20505546033382416, -0.07235045731067657, 0.5242143273353577, 0.5427375435829163, -0.4921584129333496, -0.06574974954128265, -0.14411935210227966, -0.10902569442987442, 0.3576723337173462, 0.3198384940624237, -0.7084992527961731, -0.015127891674637794, 0.5201746821403503, 0.19777101278305054, 0.8038224577903748, 0.06254284828901291, 0.44816210865974426, -0.3887487053871155, 0.03360552713274956, 0.15442900359630585, 0.39078089594841003, 0.08140318095684052, -0.5403247475624084, 0.6767373085021973, 0.42551231384277344, -0.7472015619277954, -0.6223677396774292, -0.1542823612689972, -1.154107928276062, -0.15452082455158234, 1.1269019842147827, -0.23900556564331055, -0.3966587483882904, -0.0009296900825574994, -0.2608286142349243, 0.34548309445381165, -0.5985205173492432, 0.3176325261592865, 0.37662485241889954, -0.21182261407375336, -0.3565492331981659, -0.7575851082801819, 0.6428223252296448, 0.18535320460796356, -0.8719378709793091, 0.005186959635466337, 0.543268084526062, 0.4083263874053955, -0.023773986846208572, 0.8548811674118042, -0.24397246539592743, 0.3412853479385376, 0.1835048347711563, 0.14385175704956055, 0.07492831349372864, 0.1343502253293991, -0.44015535712242126, 0.024367105215787888, -0.2522231936454773, -0.04574710130691528 ]
codellama/CodeLlama-34b-Python-hf
codellama
2023-10-27T18:10:31Z
7,183
72
transformers
[ "transformers", "pytorch", "safetensors", "llama", "text-generation", "llama-2", "code", "arxiv:2308.12950", "license:llama2", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-08-24T16:57:23Z
--- language: - code pipeline_tag: text-generation tags: - llama-2 license: llama2 --- # **Code Llama** Code Llama is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 34 billion parameters. This is the repository for the 34B Python specialist version in the Hugging Face Transformers format. This model is designed for general code synthesis and understanding. Links to other models can be found in the index at the bottom. | | Base Model | Python | Instruct | | --- | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | 7B | [codellama/CodeLlama-7b-hf](https://huggingface.co/codellama/CodeLlama-7b-hf) | [codellama/CodeLlama-7b-Python-hf](https://huggingface.co/codellama/CodeLlama-7b-Python-hf) | [codellama/CodeLlama-7b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-7b-Instruct-hf) | | 13B | [codellama/CodeLlama-13b-hf](https://huggingface.co/codellama/CodeLlama-13b-hf) | [codellama/CodeLlama-13b-Python-hf](https://huggingface.co/codellama/CodeLlama-13b-Python-hf) | [codellama/CodeLlama-13b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-13b-Instruct-hf) | | 34B | [codellama/CodeLlama-34b-hf](https://huggingface.co/codellama/CodeLlama-34b-hf) | [codellama/CodeLlama-34b-Python-hf](https://huggingface.co/codellama/CodeLlama-34b-Python-hf) | [codellama/CodeLlama-34b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-34b-Instruct-hf) | ## Model Use To use this model, please make sure to install transformers from `main` until the next version is released: ```bash pip install git+https://github.com/huggingface/transformers.git@main accelerate ``` Model capabilities: - [x] Code completion. - [ ] Infilling. - [ ] Instructions / chat. - [x] Python specialist. ## Model Details *Note: Use of this model is governed by the Meta license. Meta developed and publicly released the Code Llama family of large language models (LLMs). **Model Developers** Meta **Variations** Code Llama comes in three model sizes, and three variants: * Code Llama: base models designed for general code synthesis and understanding * Code Llama - Python: designed specifically for Python * Code Llama - Instruct: for instruction following and safer deployment All variants are available in sizes of 7B, 13B and 34B parameters. **This repository contains the Python version of the 34B parameters model.** **Input** Models input text only. **Output** Models generate text only. **Model Architecture** Code Llama is an auto-regressive language model that uses an optimized transformer architecture. **Model Dates** Code Llama and its variants have been trained between January 2023 and July 2023. **Status** This is a static model trained on an offline dataset. Future versions of Code Llama - Instruct will be released as we improve model safety with community feedback. **License** A custom commercial license is available at: [https://ai.meta.com/resources/models-and-libraries/llama-downloads/](https://ai.meta.com/resources/models-and-libraries/llama-downloads/) **Research Paper** More information can be found in the paper "[Code Llama: Open Foundation Models for Code](https://ai.meta.com/research/publications/code-llama-open-foundation-models-for-code/)" or its [arXiv page](https://arxiv.org/abs/2308.12950). ## Intended Use **Intended Use Cases** Code Llama and its variants is intended for commercial and research use in English and relevant programming languages. The base model Code Llama can be adapted for a variety of code synthesis and understanding tasks, Code Llama - Python is designed specifically to handle the Python programming language, and Code Llama - Instruct is intended to be safer to use for code assistant and generation applications. **Out-of-Scope Uses** Use in any manner that violates applicable laws or regulations (including trade compliance laws). Use in languages other than English. Use in any other way that is prohibited by the Acceptable Use Policy and Licensing Agreement for Code Llama and its variants. ## Hardware and Software **Training Factors** We used custom training libraries. The training and fine-tuning of the released models have been performed Meta’s Research Super Cluster. **Carbon Footprint** In aggregate, training all 9 Code Llama models required 400K GPU hours of computation on hardware of type A100-80GB (TDP of 350-400W). Estimated total emissions were 65.3 tCO2eq, 100% of which were offset by Meta’s sustainability program. ## Training Data All experiments reported here and the released models have been trained and fine-tuned using the same data as Llama 2 with different weights (see Section 2 and Table 1 in the [research paper](https://ai.meta.com/research/publications/code-llama-open-foundation-models-for-code/) for details). ## Evaluation Results See evaluations for the main models and detailed ablations in Section 3 and safety evaluations in Section 4 of the research paper. ## Ethical Considerations and Limitations Code Llama and its variants are a new technology that carries risks with use. Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios. For these reasons, as with all LLMs, Code Llama’s potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate or objectionable responses to user prompts. Therefore, before deploying any applications of Code Llama, developers should perform safety testing and tuning tailored to their specific applications of the model. Please see the Responsible Use Guide available available at [https://ai.meta.com/llama/responsible-use-guide](https://ai.meta.com/llama/responsible-use-guide).
[ -0.3825177550315857, -0.6380289196968079, 0.2974490821361542, 0.5745311975479126, -0.2236110419034958, 0.16751575469970703, -0.07824214547872543, -0.6598123908042908, 0.2499389499425888, 0.5135652422904968, -0.4085206389427185, -0.563154935836792, -0.5818222761154175, 0.33725231885910034, -0.5073884725570679, 1.2406610250473022, -0.06429973244667053, -0.3281239867210388, -0.3036077618598938, -0.0045233736746013165, -0.2332697957754135, -0.6554304361343384, -0.16844817996025085, -0.4801158010959625, 0.3524163067340851, 0.2666539251804352, 0.7572842240333557, 0.6412935256958008, 0.5100757479667664, 0.3269408345222473, -0.32377567887306213, -0.006763249635696411, -0.29495343565940857, -0.3778129518032074, 0.22548049688339233, -0.6165300011634827, -0.8020002245903015, -0.028047429397702217, 0.34984296560287476, 0.3575136959552765, -0.3185001313686371, 0.43409237265586853, -0.18485994637012482, 0.5009081363677979, -0.3456524908542633, 0.21935024857521057, -0.6288859844207764, -0.046994443982839584, 0.042783137410879135, -0.07690169662237167, -0.09503394365310669, -0.5746412873268127, -0.11692801117897034, -0.44751980900764465, -0.1067860871553421, -0.05736931785941124, 1.1247941255569458, 0.5593020915985107, -0.3205260634422302, -0.24481220543384552, -0.2819419503211975, 0.8232020735740662, -1.0027369260787964, 0.011103879660367966, 0.40147414803504944, -0.05231621488928795, -0.15247657895088196, -0.8556361794471741, -0.768576443195343, -0.3774310052394867, -0.12086188793182373, -0.04743262380361557, -0.4973381757736206, 0.07237515598535538, 0.4342438578605652, 0.5287363529205322, -0.4730187654495239, 0.17106696963310242, -0.4496515095233917, -0.24627268314361572, 0.9427433609962463, 0.11863240599632263, 0.4498733878135681, -0.2652454972267151, -0.35181593894958496, -0.010182475671172142, -0.8806716203689575, 0.024085571989417076, 0.4962043762207031, -0.14975228905677795, -0.8060149550437927, 0.7768287062644958, -0.19466929137706757, 0.5827049612998962, 0.025298835709691048, -0.5747934579849243, 0.5528149008750916, -0.3335086703300476, -0.30608099699020386, -0.14949169754981995, 0.9158023595809937, 0.5263126492500305, 0.38938602805137634, 0.050017327070236206, -0.25273215770721436, 0.33643606305122375, 0.13871686160564423, -0.837236762046814, -0.06830107420682907, 0.3336109220981598, -0.6340407729148865, -0.7098663449287415, -0.3112734258174896, -0.8366182446479797, -0.13053983449935913, -0.054620470851659775, 0.11437468975782394, -0.17711913585662842, -0.43462708592414856, 0.21446794271469116, 0.09044155478477478, 0.46585705876350403, 0.11446116864681244, -0.8901440501213074, 0.042350251227617264, 0.514371395111084, 0.7808681130409241, 0.0222823116928339, -0.5132976174354553, 0.04576380178332329, -0.13791117072105408, -0.36395755410194397, 0.6897050142288208, -0.48747414350509644, -0.5060359239578247, -0.09474911540746689, 0.09227972477674484, -0.0018951810197904706, -0.5351934432983398, 0.21034999191761017, -0.368939071893692, -0.026135094463825226, 0.15551795065402985, -0.26890620589256287, -0.47123944759368896, 0.04836798459291458, -0.5849608778953552, 1.1705703735351562, 0.29628297686576843, -0.6818196773529053, -0.049045778810977936, -0.5796146392822266, -0.37893426418304443, -0.2633448839187622, -0.02908135950565338, -0.6718482971191406, -0.060966528952121735, 0.18312884867191315, 0.5093523859977722, -0.4135170876979828, 0.4582502841949463, -0.12021858990192413, -0.41315218806266785, 0.23663201928138733, -0.16750717163085938, 1.0309070348739624, 0.3767325282096863, -0.4596427083015442, 0.22580789029598236, -0.9454292058944702, -0.1326054483652115, 0.5077868103981018, -0.5699107646942139, 0.13747361302375793, -0.13407789170742035, -0.009385678917169571, -0.05074877664446831, 0.5889536142349243, -0.2736908793449402, 0.5839503407478333, -0.39394327998161316, 0.7826489210128784, 0.6693069934844971, -0.028200704604387283, 0.41117238998413086, -0.6179584264755249, 0.8255959153175354, -0.17862656712532043, 0.182928666472435, -0.2994861602783203, -0.780585527420044, -1.024500846862793, -0.3061322271823883, 0.02307596616446972, 0.7303295135498047, -0.4993550479412079, 0.6351707577705383, 0.010862648487091064, -0.7835536003112793, -0.5208492279052734, 0.21441124379634857, 0.5582913160324097, 0.26454997062683105, 0.333761990070343, -0.08975499123334885, -0.8292410969734192, -0.8729487061500549, 0.06107374653220177, -0.4599406123161316, 0.10317079722881317, 0.22117869555950165, 0.8814152479171753, -0.7004514932632446, 0.8074108362197876, -0.442317396402359, 0.00959833711385727, -0.39364951848983765, -0.28256529569625854, 0.5275123715400696, 0.5564906001091003, 0.7685827612876892, -0.6064361929893494, -0.23988115787506104, 0.0622875913977623, -0.8853821158409119, -0.13231152296066284, -0.21451041102409363, -0.02633769065141678, 0.4471498131752014, 0.30609121918678284, -0.6837375164031982, 0.5320873856544495, 0.9321054816246033, -0.21865339577198029, 0.6364854574203491, -0.1509074717760086, -0.16676269471645355, -1.0722445249557495, 0.21793659031391144, -0.14937756955623627, -0.016427507624030113, -0.5182971358299255, 0.3897268772125244, 0.09487234055995941, 0.09265312552452087, -0.5380401611328125, 0.3463086187839508, -0.38133710622787476, -0.029827887192368507, -0.1259901225566864, -0.23850658535957336, -0.03585956618189812, 0.7691149115562439, -0.04877328500151634, 1.03081214427948, 0.5392178893089294, -0.6586543321609497, 0.33635133504867554, 0.3306344747543335, -0.4007815718650818, 0.19358031451702118, -0.9747267365455627, 0.36831358075141907, 0.1360093504190445, 0.3570530414581299, -0.7921589016914368, -0.2717859745025635, 0.3562386631965637, -0.4616991877555847, 0.09312184900045395, -0.02235964871942997, -0.5019917488098145, -0.49010077118873596, -0.2658030092716217, 0.46300962567329407, 0.8896036148071289, -0.6334941983222961, 0.4136976897716522, 0.43015414476394653, 0.09985100477933884, -0.7649543881416321, -0.7537722587585449, 0.1399964839220047, -0.4849286377429962, -0.6489892601966858, 0.433876097202301, -0.31818142533302307, -0.22966180741786957, -0.17086011171340942, 0.0483153834939003, -0.01842087134718895, 0.3218885362148285, 0.4663574695587158, 0.42038556933403015, -0.12740188837051392, -0.2307179868221283, -0.002881845226511359, -0.10196293890476227, 0.05545513331890106, 0.17082031071186066, 0.7912594079971313, -0.4102306365966797, -0.21357758343219757, -0.5847594141960144, 0.1966458261013031, 0.6053786873817444, -0.2746405303478241, 0.5992904305458069, 0.3656763434410095, -0.4028542637825012, -0.022286148741841316, -0.6655066013336182, 0.15832629799842834, -0.5628097057342529, 0.3145216703414917, -0.2533355951309204, -0.863832950592041, 0.678281307220459, 0.08805890381336212, 0.19313733279705048, 0.4854804575443268, 0.8382894396781921, 0.1012958511710167, 0.768370509147644, 1.000984787940979, -0.4550647437572479, 0.4127465486526489, -0.5522677898406982, 0.1062377393245697, -0.8272223472595215, -0.4790648818016052, -0.6578565835952759, -0.01957598142325878, -0.7143555879592896, -0.4662230610847473, 0.3201187252998352, 0.2034531831741333, -0.510776698589325, 0.7755818367004395, -0.8171647191047668, 0.430436909198761, 0.4572652578353882, 0.012579559348523617, 0.40479564666748047, 0.04555150866508484, -0.020054955035448074, 0.3192957043647766, -0.4538252353668213, -0.7487633228302002, 1.2578717470169067, 0.46924707293510437, 0.8788056969642639, -0.03468664363026619, 0.8726323246955872, 0.0821060910820961, 0.3396899104118347, -0.713112473487854, 0.6200410723686218, 0.3059726357460022, -0.5133106112480164, 0.009340297430753708, -0.23136691749095917, -0.951030969619751, 0.1604849249124527, 0.07918386161327362, -0.8390195369720459, 0.07280696928501129, -0.05012432113289833, -0.23870310187339783, 0.3193120062351227, -0.6720311641693115, 0.6262207627296448, -0.21943354606628418, 0.03942425176501274, -0.20034261047840118, -0.5392261147499084, 0.6084423661231995, -0.14491765201091766, 0.239061638712883, -0.14050069451332092, -0.2298259288072586, 0.6800674796104431, -0.55165696144104, 1.10141122341156, 0.14730077981948853, -0.49676793813705444, 0.6194509863853455, -0.014225499704480171, 0.4760957360267639, 0.0048183416947722435, -0.2378368079662323, 0.7405277490615845, 0.008609472773969173, -0.20153473317623138, -0.1087680235505104, 0.6492205262184143, -1.1057902574539185, -0.7871242165565491, -0.44903674721717834, -0.4938669502735138, 0.296427458524704, 0.16147255897521973, 0.38440343737602234, 0.04490598663687706, 0.19089581072330475, 0.13559173047542572, 0.3936358690261841, -0.7245039939880371, 0.6480486392974854, 0.37122437357902527, -0.2897638976573944, -0.5011219382286072, 0.8529609441757202, -0.13786068558692932, 0.20535153150558472, 0.2807692587375641, 0.04617943614721298, -0.13370071351528168, -0.49494075775146484, -0.41902410984039307, 0.46192923188209534, -0.6585848927497864, -0.5691798329353333, -0.6490212678909302, -0.370790958404541, -0.3634621798992157, -0.3308548629283905, -0.2760505974292755, -0.2875908315181732, -0.6922686696052551, -0.17111878097057343, 0.7940542697906494, 0.838948130607605, 0.03685455024242401, 0.4640048146247864, -0.6288294196128845, 0.47292768955230713, 0.10747884213924408, 0.3869929909706116, 0.0018368242308497429, -0.48477718234062195, -0.12458959221839905, -0.02084757760167122, -0.5559001564979553, -0.900337815284729, 0.6360730528831482, 0.12522642314434052, 0.6562271118164062, 0.12994596362113953, -0.04729071259498596, 0.6916736960411072, -0.44953566789627075, 0.9835941791534424, 0.349231094121933, -1.1243568658828735, 0.6511660814285278, -0.26337701082229614, 0.03141066059470177, 0.07848871499300003, 0.36826249957084656, -0.450752317905426, -0.27058035135269165, -0.6635112166404724, -0.771320104598999, 0.6295496821403503, 0.18118304014205933, 0.29989928007125854, 0.04175815358757973, 0.4529854953289032, -0.020355986431241035, 0.3262273669242859, -1.102809190750122, -0.3412145972251892, -0.3408149778842926, -0.24460160732269287, -0.09886647015810013, -0.2934545576572418, -0.08662649989128113, -0.2891022562980652, 0.45039236545562744, -0.19382959604263306, 0.55312180519104, 0.1371818333864212, -0.1705169528722763, -0.2584507465362549, 0.059538833796978, 0.6989191770553589, 0.6104470491409302, -0.028031012043356895, -0.15729022026062012, 0.40280425548553467, -0.5621669888496399, 0.24008232355117798, -0.12293846905231476, -0.08048400282859802, -0.31544679403305054, 0.5815155506134033, 0.6508029699325562, 0.12632077932357788, -0.873026967048645, 0.5211745500564575, 0.16090983152389526, -0.2793709933757782, -0.5331674814224243, 0.289899617433548, 0.2973508834838867, 0.371290385723114, 0.2788892090320587, 0.03513737767934799, -0.10761211812496185, -0.4487139880657196, -0.008560066111385822, 0.36248382925987244, 0.1956081986427307, -0.36220523715019226, 0.9483123421669006, 0.10107438266277313, -0.38640788197517395, 0.48979827761650085, 0.09033921360969543, -0.6080674529075623, 1.224833369255066, 0.717455267906189, 0.7814325094223022, -0.2042541801929474, 0.11810936778783798, 0.47359731793403625, 0.5664353370666504, -0.0020944613497704268, 0.43937447667121887, 0.0062015000730752945, -0.5410848259925842, -0.34600308537483215, -0.8930630683898926, -0.4169260859489441, 0.10096896439790726, -0.47569653391838074, 0.31847983598709106, -0.647531270980835, -0.03968169540166855, -0.3915060758590698, 0.10850996524095535, -0.6327963471412659, -0.006129223853349686, 0.13718977570533752, 0.992728590965271, -0.6436715126037598, 0.9563421010971069, 0.6099768877029419, -0.7447947859764099, -0.9235703349113464, -0.2013632208108902, -0.06354337930679321, -1.271967887878418, 0.5008592009544373, 0.2957499325275421, 0.06846201419830322, 0.06744057685136795, -0.9699147939682007, -1.1135544776916504, 1.3331300020217896, 0.47505858540534973, -0.5256819128990173, -0.024754704907536507, 0.22256478667259216, 0.5848019123077393, -0.3649894893169403, 0.42098137736320496, 0.6757282614707947, 0.44544002413749695, -0.1227378323674202, -1.2529664039611816, 0.3376862108707428, -0.4165460765361786, 0.22927281260490417, -0.31862518191337585, -1.0796842575073242, 1.0880357027053833, -0.5777367949485779, -0.13687527179718018, 0.5070311427116394, 0.6589293479919434, 0.5795515775680542, 0.2156948298215866, 0.3493608236312866, 0.5847612023353577, 0.6665691137313843, 0.012886951677501202, 1.2300536632537842, -0.4589765965938568, 0.4236502945423126, 0.5022832155227661, -0.12477686256170273, 0.7484287619590759, 0.42269253730773926, -0.6225507259368896, 0.7797790765762329, 0.8011277318000793, -0.220428004860878, 0.29593101143836975, 0.33941060304641724, -0.07551287859678268, -0.02956862933933735, -0.09902431815862656, -0.7874284982681274, 0.3931783139705658, 0.3326719403266907, -0.3481552004814148, 0.06859862059354782, -0.22535237669944763, 0.31442204117774963, -0.13444636762142181, -0.08252521604299545, 0.6619012951850891, 0.23924970626831055, -0.5584504008293152, 1.213324785232544, 0.1255151331424713, 1.0192939043045044, -0.5431765913963318, -0.12616869807243347, -0.4589913487434387, 0.0589795783162117, -0.5934823155403137, -0.550715982913971, 0.1848060041666031, 0.3112477958202362, 0.012266881763935089, -0.1322677880525589, 0.48159876465797424, -0.059694770723581314, -0.4986889958381653, 0.4015671908855438, 0.17609339952468872, 0.295891672372818, 0.1310931146144867, -0.6945214867591858, 0.4812243580818176, 0.191839799284935, -0.4788108468055725, 0.37565159797668457, 0.1054794192314148, 0.0496487133204937, 0.9812161326408386, 0.8045417666435242, -0.12988971173763275, 0.1725238412618637, -0.14195838570594788, 1.1696163415908813, -0.7255454659461975, -0.3565737307071686, -0.8228614926338196, 0.6641159653663635, 0.3163614571094513, -0.45567572116851807, 0.6320280432701111, 0.3687836527824402, 0.8419671058654785, -0.1313360184431076, 0.8618912696838379, -0.19740748405456543, 0.07277192920446396, -0.47215157747268677, 0.6905547380447388, -0.8070937991142273, 0.3988510072231293, -0.5173417329788208, -0.9537123441696167, -0.32562610507011414, 0.9048048853874207, -0.04273919016122818, 0.0570787750184536, 0.5416972041130066, 1.0224465131759644, 0.3358478248119354, -0.10231687873601913, 0.21048028767108917, 0.20230844616889954, 0.409777969121933, 0.8278093338012695, 1.0362896919250488, -0.6088652014732361, 0.7453328371047974, -0.5926539897918701, -0.2549969255924225, -0.30257150530815125, -1.0269808769226074, -1.0101232528686523, -0.5120871663093567, -0.3592807352542877, -0.40463030338287354, -0.28301841020584106, 0.9281669855117798, 0.574155330657959, -0.6120408177375793, -0.49833396077156067, -0.14833872020244598, 0.4308559000492096, -0.11792229115962982, -0.20944558084011078, 0.2881839871406555, -0.12906883656978607, -0.871898889541626, 0.4042959213256836, -0.037697263062000275, 0.16414201259613037, -0.3581489622592926, -0.26886656880378723, -0.13481444120407104, 0.012219292111694813, 0.4822425842285156, 0.3752772808074951, -0.8674307465553284, -0.20216180384159088, 0.07845780998468399, -0.20542193949222565, 0.12552085518836975, 0.4343032240867615, -0.6656755208969116, -0.08061739802360535, 0.360588401556015, 0.45590490102767944, 0.34048590064048767, -0.24768880009651184, 0.23867903649806976, -0.37047871947288513, 0.44446447491645813, 0.005396077875047922, 0.5239924192428589, 0.10393115878105164, -0.6148689985275269, 0.7232754230499268, 0.28948095440864563, -0.6989156007766724, -0.9510405659675598, 0.1418493241071701, -1.1557306051254272, -0.22665494680404663, 1.3540579080581665, -0.11836269497871399, -0.34847792983055115, 0.18288755416870117, -0.3968983590602875, 0.2672659158706665, -0.39941683411598206, 0.7293422222137451, 0.3106982409954071, -0.08486216515302658, -0.15448468923568726, -0.4280596375465393, 0.27122631669044495, 0.259433388710022, -0.9811149835586548, -0.16296875476837158, 0.3835846781730652, 0.4120950400829315, 0.22165441513061523, 0.7081672549247742, -0.1344141960144043, 0.18420034646987915, 0.06094186753034592, 0.46959391236305237, -0.09749945253133774, -0.23292683064937592, -0.41434475779533386, -0.05846327543258667, -0.09988728910684586, -0.03348887711763382 ]
llm-agents/tora-code-13b-v1.0
llm-agents
2023-10-08T11:23:51Z
7,162
7
transformers
[ "transformers", "pytorch", "llama", "text-generation", "code", "math", "en", "dataset:gsm8k", "dataset:competition_math", "arxiv:2309.17452", "license:llama2", "endpoints_compatible", "text-generation-inference", "region:us" ]
text-generation
2023-10-08T05:20:58Z
--- license: llama2 datasets: - gsm8k - competition_math language: - en metrics: - exact_match library_name: transformers pipeline_tag: text-generation tags: - code - math --- <h1 align="center"> ToRA: A Tool-Integrated Reasoning Agent <br> for Mathematical Problem Solving </h1> <p align="center"> <a href="https://microsoft.github.io/ToRA/"><b>[🌐 Website]</b></a> • <a href="https://arxiv.org/pdf/2309.17452.pdf"><b>[📜 Paper]</b></a> • <a href="https://huggingface.co/llm-agents"><b>[🤗 HF Models]</b></a> • <a href="https://github.com/microsoft/ToRA"><b>[🐱 GitHub]</b></a> <br> <a href="https://twitter.com/zhs05232838/status/1708860992631763092"><b>[🐦 Twitter]</b></a> • <a href="https://www.reddit.com/r/LocalLLaMA/comments/1703k6d/tora_a_toolintegrated_reasoning_agent_for/"><b>[💬 Reddit]</b></a> • <a href="https://notes.aimodels.fyi/researchers-announce-tora-training-language-models-to-better-understand-math-using-external-tools/">[🍀 Unofficial Blog]</a> <!-- <a href="#-quick-start">Quick Start</a> • --> <!-- <a href="#%EF%B8%8F-citation">Citation</a> --> </p> <p align="center"> Repo for "<a href="https://arxiv.org/pdf/2309.17452.pdf" target="_blank">ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solving</a>" </p> ## 🔥 News - [2023/10/08] 🔥🔥🔥 All ToRA models released at [HuggingFace](https://huggingface.co/llm-agents)!!! - [2023/09/29] ToRA paper, repo, and website released. ## 💡 Introduction ToRA is a series of Tool-integrated Reasoning Agents designed to solve challenging mathematical reasoning problems by interacting with tools, e.g., computation libraries and symbolic solvers. ToRA series seamlessly integrate natural language reasoning with the utilization of external tools, thereby amalgamating the analytical prowess of language and the computational efficiency of external tools. | Model | Size | GSM8k | MATH | AVG@10 math tasks<sup>&dagger;</sup> | |---|---|---|---|---| | GPT-4 | - | 92.0 | 42.5 | 78.3 | | GPT-4 (PAL) | - | 94.2 | 51.8 | 86.4 | | [ToRA-7B](https://huggingface.co/llm-agents/tora-7b-v1.0) | 7B | 68.8 | 40.1 | 62.4| | [ToRA-Code-7B](https://huggingface.co/llm-agents/tora-code-7b-v1.0) | 7B | 72.6 | 44.6 | 66.5| | [ToRA-13B](https://huggingface.co/llm-agents/tora-13b-v1.0) | 13B | 72.7 | 43.0 | 65.9| | [ToRA-Code-13B](https://huggingface.co/llm-agents/tora-code-13b-v1.0) | 13B | 75.8 | 48.1 | 71.3 | | [ToRA-Code-34B<sup>*</sup>](https://huggingface.co/llm-agents/tora-code-34b-v1.0) | 34B | 80.7 | **51.0** | 74.8 | | [ToRA-70B](https://huggingface.co/llm-agents/tora-70b-v1.0) | 70B | **84.3** | 49.7 | **76.9** | - <sup>*</sup>ToRA-Code-34B is currently the first and only open-source model to achieve over 50% accuracy (pass@1) on the MATH dataset, which significantly outperforms GPT-4’s CoT result (51.0 vs. 42.5), and is competitive with GPT-4 solving problems with programs. By open-sourcing our codes and models, we hope more breakthroughs will come! - <sup>&dagger;</sup>10 math tasks include GSM8k, MATH, GSM-Hard, SVAMP, TabMWP, ASDiv, SingleEQ, SingleOP, AddSub, and MultiArith. ## ⚡️ Training The models are trained on ToRA-Corpus 16k, which contains tool-integrated reasoning trajectories of MATH and GSM8k from GPT-4. We use imitation learning (i.e., SFT) to fine-tune the models, and then apply our proposed *output space shaping* to improve tool-integrated reasoning behaviors. Please refer to the [paper](https://arxiv.org/pdf/2309.17452.pdf) for more details. ## 🪁 Inference & Evaluation Please refer to ToRA's [GitHub repo](https://github.com/microsoft/ToRA) for inference, evaluation, and training code. ## ☕️ Citation If you find this repository helpful, please consider citing our paper: ``` @misc{gou2023tora, title={ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solving}, author={Zhibin Gou and Zhihong Shao and Yeyun Gong and yelong shen and Yujiu Yang and Minlie Huang and Nan Duan and Weizhu Chen}, year={2023}, eprint={2309.17452}, archivePrefix={arXiv}, primaryClass={cs.CL} } ```
[ -0.39288437366485596, -0.8362538814544678, 0.7039425373077393, 0.47003912925720215, -0.22234757244586945, 0.459379643201828, 0.21753761172294617, -0.36547642946243286, 0.5190128087997437, 0.46269920468330383, -0.6864616274833679, -0.2847808599472046, -0.45155611634254456, 0.12902188301086426, 0.09173742681741714, 0.4463012218475342, 0.04910295456647873, 0.24403303861618042, -0.22985345125198364, -0.3024986684322357, -0.7314108610153198, -0.36644068360328674, -0.5030890107154846, -0.3788794279098511, -0.1338498294353485, -0.09856154769659042, 0.9585834741592407, 0.5148047208786011, 0.40189826488494873, 0.40634244680404663, 0.0010598424123600125, 0.5049381852149963, -0.018546022474765778, -0.09764344245195389, -0.06745191663503647, -0.49846822023391724, -0.7455225586891174, 0.16503258049488068, 0.6740948557853699, 0.38353127241134644, -0.2431735247373581, 0.06804297119379044, -0.20279498398303986, 0.43999016284942627, -0.42498505115509033, 0.3089483082294464, -0.2826540172100067, -0.23722967505455017, -0.015354249626398087, -0.06711838394403458, -0.647352397441864, -0.5007447600364685, -0.015774643048644066, -1.0145553350448608, -0.15988381206989288, 0.003997625317424536, 1.2166616916656494, 0.3880484402179718, -0.3384876549243927, -0.2408100813627243, -0.6544899344444275, 0.871950089931488, -0.9118850231170654, 0.2950938642024994, -0.017215656116604805, 0.31718164682388306, -0.20982903242111206, -0.7447128891944885, -0.6849696040153503, -0.21428753435611725, -0.086355060338974, 0.485268771648407, -0.6391892433166504, -0.2680397033691406, 0.4828830361366272, -0.0071004643104970455, -0.5585619807243347, -0.2668677270412445, -0.5355997085571289, -0.1673903465270996, 0.6091685891151428, 0.26377347111701965, 0.42205846309661865, 0.0186966210603714, -0.13292936980724335, -0.1859753131866455, -0.7527618408203125, 0.08403565734624863, 0.3538433611392975, 0.050912097096443176, -0.34039729833602905, 0.2936173677444458, 0.33071383833885193, 0.6247314810752869, -0.027600936591625214, -0.06879359483718872, 0.4904901087284088, -0.08966420590877533, -0.28594934940338135, -0.3684905171394348, 0.9793919324874878, -0.07966580241918564, 0.10820322483778, -0.02029789239168167, -0.12170726805925369, 0.0963863730430603, 0.30363979935646057, -0.7803857922554016, 0.13071203231811523, 0.10319255292415619, -0.06199433282017708, -0.15558698773384094, 0.3288167119026184, -0.7160281538963318, -0.06646743416786194, -0.32896360754966736, 0.6348080039024353, -0.4891699552536011, -0.25976574420928955, 0.5309027433395386, 0.013728223741054535, 0.17927296459674835, 0.6844445466995239, -0.19347649812698364, 0.40179890394210815, 0.5617916584014893, 1.0150752067565918, 0.14430268108844757, -0.19317984580993652, -0.7134876251220703, -0.12085854262113571, -0.3629697561264038, 0.7077720165252686, -0.4127465486526489, -0.24747872352600098, -0.3797261416912079, 0.042278654873371124, -0.17840394377708435, -0.3918404281139374, 0.04549995809793472, -0.7262055277824402, 0.3842827081680298, -0.12194947153329849, -0.22514669597148895, -0.40777695178985596, 0.1427810788154602, -0.9177491664886475, 1.0119209289550781, 0.3484094440937042, -0.4274042844772339, -0.17141549289226532, -0.9037200808525085, -0.08820155262947083, -0.04582049325108528, -0.05804711952805519, -0.508877158164978, -0.3131467401981354, 0.2236487865447998, 0.04578414186835289, -0.825514018535614, 0.5368502140045166, -0.4934016168117523, -0.236755833029747, 0.2779160439968109, -0.026542557403445244, 1.3204256296157837, 0.3245500922203064, -0.5322331786155701, 0.2729092538356781, -0.461398184299469, 0.1992182731628418, 0.5257014036178589, 0.23315046727657318, -0.22091662883758545, -0.3318394124507904, -0.3375125825405121, 0.46432891488075256, 0.1740332990884781, -0.577204167842865, 0.30697813630104065, -0.6065913438796997, 0.6645544767379761, 1.1528618335723877, -0.08760412037372589, 0.31659701466560364, -0.3414159119129181, 1.0203343629837036, 0.054488953202962875, 0.3223177194595337, 0.14472438395023346, -0.7692583799362183, -0.6019393801689148, -0.3403226137161255, 0.2989027500152588, 0.7094020247459412, -1.0978189706802368, 0.46410202980041504, -0.1360551416873932, -0.8107151985168457, -0.47084668278694153, -0.17403772473335266, 0.6224496960639954, 0.4650414288043976, 0.3176170289516449, -0.11281340569257736, -0.40916794538497925, -0.7502036690711975, -0.2327551394701004, -0.06369438767433167, 0.15020252764225006, 0.40507596731185913, 0.689556360244751, -0.05258350074291229, 1.054814338684082, -0.8917714357376099, -0.015299382619559765, -0.26469099521636963, -0.10405651479959488, 0.4192497134208679, 0.3876657485961914, 0.7736425995826721, -0.7313579320907593, -0.7983921766281128, -0.16593427956104279, -0.8748162984848022, -0.11744698882102966, -0.19343352317810059, -0.25373944640159607, 0.21439248323440552, 0.24070428311824799, -0.6924265623092651, 0.5347164273262024, 0.2560519278049469, -0.7331318259239197, 0.5142176151275635, 0.14318545162677765, -0.2048976719379425, -1.4267890453338623, 0.14195449650287628, 0.2715539038181305, -0.24493247270584106, -0.4145828187465668, 0.25687873363494873, -0.12205235660076141, -0.03692597895860672, -0.39230892062187195, 1.0165205001831055, -0.34823083877563477, 0.06983183324337006, -0.017185570672154427, 0.23201043903827667, -0.006356746423989534, 0.7408819794654846, -0.23772256076335907, 1.3554967641830444, 0.45501092076301575, -0.347657710313797, 0.3009674549102783, 0.3454432785511017, 0.12935426831245422, 0.11863406002521515, -0.856471061706543, 0.2879260778427124, 0.11959299445152283, 0.22380800545215607, -0.6066802740097046, 0.33039435744285583, 0.5225372314453125, -0.7194838523864746, -0.019536487758159637, 0.05838829278945923, -0.7563656568527222, -0.2844359874725342, -0.48234498500823975, 0.25445830821990967, 0.6681987047195435, -0.42678606510162354, 1.1047996282577515, 0.43983957171440125, 0.11525454372167587, -0.7113529443740845, -0.2135791927576065, -0.25161901116371155, -0.1447077840566635, -0.9860504269599915, 0.18679280579090118, -0.470235675573349, -0.5641381144523621, 0.11794087290763855, -0.158205047249794, -0.016340965405106544, 0.04149205610156059, 0.19764742255210876, 0.6256928443908691, -0.3581274747848511, 0.09942985326051712, 0.08362940698862076, -0.405119389295578, 0.15817181766033173, -0.20966283977031708, 0.8650233745574951, -0.908644437789917, -0.22924700379371643, -0.28821706771850586, 0.2671636641025543, 0.694189727306366, -0.3684496581554413, 0.7130255103111267, 0.38136351108551025, -0.48837989568710327, -0.04758535325527191, -0.5742576718330383, -0.3410313129425049, -0.5737172961235046, 0.10258869081735611, -0.5788748860359192, -0.7484303712844849, 0.7391425967216492, -0.037885602563619614, -0.06738649308681488, 0.8948332667350769, 0.3961118161678314, 0.35835397243499756, 1.2035987377166748, 0.7082200646400452, -0.08272794634103775, 0.44425326585769653, -0.8035357594490051, 0.2450326532125473, -0.8852392435073853, -0.2599513828754425, -0.525866687297821, -0.020972279831767082, -0.4426065981388092, -0.24413736164569855, 0.6493640542030334, 0.060737092047929764, -0.5073674917221069, 0.6013246178627014, -0.7287885546684265, 0.49065250158309937, 0.7103807926177979, 0.126999631524086, 0.24889838695526123, -0.11984779685735703, -0.15113110840320587, -0.062330976128578186, -0.608910083770752, -0.5715601444244385, 0.9329268336296082, 0.3014111816883087, 0.6238132119178772, 0.400227427482605, 0.395742267370224, 0.0933106318116188, 0.23391298949718475, -0.6203256249427795, 0.7984030842781067, 0.09595675766468048, -0.3600403964519501, -0.32178428769111633, -0.49811381101608276, -0.9819408655166626, 0.21288315951824188, 0.1691190004348755, -0.9112606644630432, 0.2500841021537781, -0.09523878246545792, -0.4091663956642151, 0.422544002532959, -0.7451841235160828, 0.7670121192932129, -0.007967050187289715, -0.4942752420902252, -0.297349750995636, -0.6051887273788452, 0.3693499267101288, 0.0670604333281517, 0.02597786672413349, 0.12710696458816528, 0.07486461102962494, 0.8530215620994568, -0.9434598684310913, 0.6843504905700684, -0.16767551004886627, -0.06014887988567352, 0.546282172203064, 0.36158138513565063, 0.7198905348777771, 0.3623449504375458, -0.11432787775993347, 0.1783531755208969, 0.15641212463378906, -0.33572712540626526, -0.9183225035667419, 0.5732344388961792, -0.9883266091346741, -0.7604426145553589, -1.0323784351348877, -0.7249283790588379, -0.16739515960216522, 0.38727736473083496, 0.11835262924432755, 0.5153130888938904, 0.5875067710876465, 0.052163612097501755, 0.7306854724884033, -0.01729738712310791, 0.4292902946472168, 0.7003092765808105, -0.024608397856354713, -0.4833453297615051, 1.0106630325317383, 0.25344955921173096, 0.24457193911075592, 0.31843701004981995, 0.2172335386276245, -0.3715387284755707, -0.2614043056964874, -0.5237483382225037, 0.7114351391792297, -0.6920170187950134, -0.4754425883293152, -0.5091944336891174, -0.590970516204834, -0.4061044454574585, -0.30841559171676636, -0.4280611574649811, -0.4213438034057617, -0.47687891125679016, 0.23063397407531738, 0.7682244181632996, 0.6934810280799866, 0.09409314393997192, 0.35505497455596924, -0.7116137742996216, 0.21454329788684845, 0.15014493465423584, 0.3623044192790985, 0.04986664652824402, -0.47097599506378174, 0.030458370223641396, -0.002689814195036888, -0.6306058764457703, -0.9674079418182373, 0.7666466236114502, -0.32744675874710083, 0.5177611708641052, 0.03468695655465126, -0.01355426199734211, 0.6119768023490906, -0.052267398685216904, 0.6331306099891663, 0.17631660401821136, -1.3501076698303223, 0.5543394684791565, -0.39464181661605835, 0.2128702700138092, 0.034014053642749786, 0.15309107303619385, -0.37553611397743225, -0.31908661127090454, -1.0086911916732788, -0.5083964467048645, 1.1693838834762573, 0.3816583454608917, -0.2562638223171234, 0.1675659418106079, 0.3429991900920868, 0.09061935544013977, 0.09199128299951553, -0.8045884966850281, -0.3949536979198456, -0.3669818937778473, -0.21886418759822845, 0.2570974826812744, 0.10054835677146912, -0.12091012299060822, -0.24578729271888733, 1.0618083477020264, -0.39223647117614746, 0.5491237044334412, 0.12067549675703049, -0.1609538048505783, -0.013186473399400711, 0.06713055819272995, 0.9925419092178345, 0.9085208177566528, -0.19970925152301788, -0.26583200693130493, 0.04725261777639389, -0.9231425523757935, 0.10784968733787537, 0.14547988772392273, -0.3655415177345276, -0.12507794797420502, 0.3013039827346802, 0.8097177147865295, -0.20778322219848633, -0.7642277479171753, 0.42484572529792786, 0.04931282997131348, -0.15553855895996094, -0.4125453531742096, 0.06793816387653351, 0.0048452988266944885, 0.40384936332702637, 0.23014160990715027, 0.1178574487566948, 0.03453847020864487, -0.39522624015808105, -0.01129881851375103, 0.5065182447433472, -0.21828177571296692, -0.34019625186920166, 0.5328514575958252, -0.03159729763865471, -0.5961385369300842, 0.6661555767059326, -0.5870888233184814, -0.6229824423789978, 1.0765769481658936, 0.8148124814033508, 0.965851366519928, -0.06116276979446411, 0.32117408514022827, 0.41132858395576477, 0.587379515171051, 0.07629917562007904, 0.7048785090446472, 0.3443222939968109, -0.6507530808448792, -0.3261874318122864, -0.226886585354805, -0.4337989389896393, 0.2035471349954605, -0.5138919353485107, 0.31283578276634216, -0.7539004683494568, -0.06116354838013649, -0.019073013216257095, 0.30944088101387024, -0.576650083065033, -0.14972154796123505, -0.583175539970398, 1.0446072816848755, -0.557099461555481, 0.8003668189048767, 0.7196669578552246, -0.8369901180267334, -1.1101900339126587, -0.23434041440486908, 0.1912447065114975, -1.0434813499450684, 0.3978055417537689, -0.052341751754283905, -0.4446221590042114, 0.17105774581432343, -0.8123234510421753, -0.9453108906745911, 1.404660940170288, 0.7608014345169067, -0.226216122508049, 0.021695876494050026, 0.01873524859547615, 0.40738511085510254, -0.3886074125766754, 0.33732593059539795, 0.13908471167087555, 0.5915494561195374, 0.12985147535800934, -0.9365400671958923, 0.5624838471412659, -0.8256665468215942, -0.16838230192661285, 0.45277971029281616, -1.1233010292053223, 1.0960912704467773, -0.10674801468849182, -0.07265458256006241, 0.11614232510328293, 0.4750017821788788, 0.6078913807868958, 0.42302924394607544, 0.4360229969024658, 0.5905542969703674, 0.5773396492004395, -0.36575669050216675, 0.8915188312530518, -0.11105097085237503, 0.49154114723205566, 0.9162539839744568, -0.18571726977825165, 0.44293370842933655, 0.24709858000278473, -0.4337019920349121, 0.7175301313400269, 0.4678645133972168, -0.30856651067733765, 0.259953111410141, -0.014644903130829334, 0.04762332886457443, -0.4943929612636566, 0.10275986790657043, -0.518576443195343, 0.15273408591747284, 0.4163477122783661, 0.09476181864738464, -0.26747655868530273, -0.05365091189742088, 0.03007643297314644, 0.2141426056623459, 0.0063061797991395, 0.5323683619499207, 0.14155693352222443, -0.5709428191184998, 0.4512752890586853, 0.14009350538253784, 0.4652361273765564, -0.8513806462287903, -0.33481964468955994, -0.1266644448041916, 0.15330064296722412, -0.00914184469729662, -0.8209700584411621, 0.2504368722438812, -0.26077377796173096, -0.11542566865682602, 0.022428959608078003, 0.5212934017181396, 0.15077970921993256, -0.512182354927063, 0.2778988182544708, 0.5053250193595886, 0.025997094810009003, -0.15265364944934845, -0.8561018109321594, -0.031223677098751068, -0.10935154557228088, -0.18701763451099396, 0.08367445319890976, 0.28574395179748535, -0.44791582226753235, 0.9942268133163452, 0.7547837495803833, -0.1522877812385559, 0.03535710275173187, -0.1032470241189003, 1.0108044147491455, -0.723359227180481, -0.6711630821228027, -0.8653671741485596, 0.5430622696876526, -0.10292227566242218, -0.40884071588516235, 0.7757008075714111, 0.6542779207229614, 0.6442559957504272, -0.24085812270641327, 0.4704851806163788, 0.01995900832116604, 0.36800697445869446, -0.5599460005760193, 0.7507910132408142, -0.6266375780105591, 0.4775705933570862, -0.20344999432563782, -0.7204603552818298, -0.32084789872169495, 0.5188076496124268, -0.27058663964271545, 0.2892617881298065, 0.9458979964256287, 0.73844975233078, -0.11446937173604965, 0.01463357638567686, -0.11641175299882889, 0.19886960089206696, 0.6315701007843018, 0.8164253830909729, 0.6024259924888611, -0.6545800566673279, 0.43193188309669495, -0.2801276743412018, -0.11518508940935135, -0.14103031158447266, -0.5853599905967712, -0.902635395526886, -0.7565513849258423, -0.2761152684688568, -0.7918273210525513, -0.22012020647525787, 1.014034628868103, 0.6764838099479675, -0.5154436826705933, -0.21298512816429138, -0.28730568289756775, 0.5249544978141785, -0.36294111609458923, -0.32749879360198975, 0.6306267380714417, 0.048959892243146896, -0.6779506802558899, 0.26993945240974426, 0.3220840096473694, 0.10786270350217819, -0.31867533922195435, -0.47475892305374146, -0.2692354619503021, 0.44206342101097107, 0.45026224851608276, 0.4681614935398102, -1.059086561203003, -0.07870837301015854, 0.6205915212631226, -0.005618797615170479, 0.15687447786331177, 0.6805029511451721, -1.048462986946106, 0.3846936821937561, 0.48233315348625183, 0.421315997838974, 0.4871850609779358, -0.4493938088417053, 0.5352426171302795, -0.3130410313606262, 0.12649686634540558, 0.42085081338882446, 0.4026815593242645, -0.22835807502269745, -0.6134775876998901, 0.9832721948623657, 0.4950558841228485, -0.13289114832878113, -1.2181340456008911, 0.06961032748222351, -1.495107889175415, -0.20466415584087372, 0.9306144714355469, -0.03929051756858826, -0.23284973204135895, 0.05280987545847893, -0.23812416195869446, 0.1650029569864273, -0.7052111625671387, 0.7229468822479248, 0.6341717839241028, -0.06887856870889664, -0.0737084299325943, -0.4393736720085144, 0.16756395995616913, 0.3016377091407776, -1.30302095413208, -0.2386326938867569, 0.24657529592514038, 0.23823118209838867, 0.6262207627296448, 0.632340133190155, -0.3445447087287903, 0.7254857420921326, -0.05433650687336922, -0.023645514622330666, -0.6490358114242554, -0.38463088870048523, -0.3740168809890747, -0.03462942689657211, -0.3449361324310303, -0.09557752311229706 ]
FINDA-FIT/llama-r
FINDA-FIT
2023-09-30T09:11:54Z
7,112
0
transformers
[ "transformers", "pytorch", "llama", "text-generation", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-09-30T08:53:35Z
Entry not found
[ -0.3227650225162506, -0.22568431496620178, 0.862226128578186, 0.43461495637893677, -0.5282987952232361, 0.7012965679168701, 0.7915717363357544, 0.07618638128042221, 0.7746025919914246, 0.2563219666481018, -0.7852817177772522, -0.22573819756507874, -0.9104480743408203, 0.5715669393539429, -0.3992334008216858, 0.5791245698928833, -0.14494505524635315, -0.10751161724328995, 0.28233757615089417, -0.2768954336643219, -0.5409224033355713, -0.36855220794677734, -1.1902776956558228, 0.061491113156080246, 0.5316578149795532, 0.7435142397880554, 0.7584060430526733, 0.3652167320251465, 0.6432578563690186, 0.3932291269302368, -0.23138920962810516, 0.4827055037021637, -0.04171813279390335, 0.00260411505587399, -0.3524433970451355, -0.5516898036003113, -0.28596609830856323, 0.07584730535745621, 1.0961304903030396, 0.966687798500061, -0.284663587808609, 0.05330817773938179, -0.3063621520996094, 0.33088892698287964, -0.49734312295913696, 0.3054099678993225, -0.022506045177578926, 0.16318801045417786, -0.7041513919830322, -0.5535354018211365, 0.012794834561645985, -0.7361212968826294, 0.17926570773124695, -0.690081000328064, 0.8269098401069641, 0.18583157658576965, 1.1533750295639038, 0.14819414913654327, -0.462487131357193, -0.8161764144897461, -0.6538989543914795, 0.5711171627044678, -0.32703715562820435, 0.39680248498916626, 0.7028235197067261, -0.048573412001132965, -0.9820332527160645, -0.6745741367340088, -0.46466192603111267, 0.2923962473869324, 0.35402774810791016, -0.3411678075790405, -0.17522086203098297, -0.3058989644050598, 0.15792037546634674, 0.12811517715454102, -0.4841994643211365, -0.5543919205665588, -0.5475160479545593, -0.3960252106189728, 0.6206658482551575, 0.3482950031757355, 0.2429177463054657, -0.1888415813446045, -0.3228583335876465, 0.0880163162946701, -0.4160851538181305, 0.3402571678161621, 0.6335517168045044, 0.7114017009735107, -0.5811444520950317, 0.560215950012207, -0.04927587881684303, 0.7439703941345215, 0.11445561796426773, -0.27478092908859253, 0.41460567712783813, -0.14724725484848022, 0.055171746760606766, 0.4226345121860504, 0.31524422764778137, 0.2841312289237976, -0.3273695111274719, 0.2032228708267212, -0.3215144872665405, -0.30496224761009216, -0.22332167625427246, -0.29490774869918823, -0.3592180609703064, 0.5492289066314697, -0.3314017057418823, -0.42855486273765564, 1.143175721168518, -0.4200771450996399, -0.7302224040031433, 0.33156412839889526, 0.4065209925174713, -0.0994480773806572, -0.37146568298339844, -0.052260834723711014, -0.8458789587020874, -0.007907390594482422, 0.7491172552108765, -0.7198970913887024, 0.3371737599372864, 0.4728063642978668, 0.7417217493057251, 0.19650575518608093, -0.14034469425678253, -0.42949390411376953, 0.2971969544887543, -0.8659994006156921, 0.6320174336433411, -0.20135220885276794, -1.0051977634429932, 0.11150479316711426, 0.8971705436706543, -0.37896400690078735, -1.2094876766204834, 1.0605159997940063, -0.6887932419776917, 0.16017857193946838, -0.676761269569397, -0.14661237597465515, -0.07118501514196396, -0.005096632521599531, -0.6088156700134277, 0.7567102313041687, 0.587267279624939, -0.4995276927947998, 0.21429483592510223, -0.26029831171035767, -0.39151400327682495, 0.38824859261512756, -0.07935450226068497, -0.21858926117420197, 0.713833212852478, -0.6647079586982727, -0.26932814717292786, 0.2942774295806885, 0.2368936538696289, -0.35706108808517456, -0.7931919097900391, 0.08478113263845444, -0.05786270648241043, 1.550750494003296, -0.03868847340345383, -0.3586106300354004, -0.679383397102356, -1.1506240367889404, -0.07070787996053696, 0.6886883974075317, -0.9194989204406738, -0.27839475870132446, -0.046410128474235535, -0.26169314980506897, 0.08994917571544647, 0.7390589714050293, -1.1194051504135132, 0.2832726836204529, -0.05092663690447807, -0.22794683277606964, 0.8271058797836304, 0.15387225151062012, 0.24758946895599365, 0.14913396537303925, 0.42958706617355347, 0.527725338935852, 0.11115207523107529, 0.683587908744812, -0.34720373153686523, -0.9694353938102722, 0.6154631972312927, 0.25266361236572266, 0.8121447563171387, -0.49945297837257385, 0.2685093879699707, 0.27025535702705383, -0.3409680724143982, -0.5682371854782104, -0.3102838397026062, 0.09025752544403076, 0.14930562674999237, 0.11142510175704956, -0.5721710324287415, -0.6576125025749207, -0.9689140319824219, -0.13590654730796814, -0.4314374029636383, -0.3571570813655853, 0.21006910502910614, 0.5792906284332275, -1.1975523233413696, 0.4128875136375427, -0.7705625891685486, -0.7038741111755371, -0.01065548975020647, -0.19338123500347137, 0.7540656328201294, 0.43240174651145935, 0.5033966898918152, -0.6397148370742798, -0.5661987066268921, -0.22470176219940186, -1.0333747863769531, -0.13280506432056427, 0.24819621443748474, 0.3065737783908844, -0.13423344492912292, -0.2744963765144348, -0.48740333318710327, 0.8100387454032898, 0.14789170026779175, -0.5391897559165955, 0.5220767259597778, -0.3020317256450653, 0.17224803566932678, -0.6369150280952454, -0.06916818022727966, -0.661676287651062, -0.0009071884560398757, -0.3608308732509613, -0.5737438797950745, 0.14772287011146545, 0.07017494738101959, -0.16065457463264465, 0.28808408975601196, -0.909277081489563, -0.0010852962732315063, -0.7442210912704468, 0.379071980714798, 0.06394772231578827, -0.3145078718662262, -0.017517540603876114, 1.0000386238098145, 0.7784460783004761, -0.3848048746585846, 0.721744179725647, 0.4440041184425354, 0.19036155939102173, 0.7630521059036255, -0.18725109100341797, 0.16478213667869568, -0.5245416760444641, -0.12161104381084442, -0.8887597918510437, -1.0982946157455444, 0.7320570349693298, -0.6114250421524048, 0.36542922258377075, -0.4277869760990143, 0.2589159905910492, -0.6919258832931519, -0.03885362669825554, 0.4808599352836609, -0.05936325341463089, -0.6863942742347717, 0.5232570171356201, 0.45317530632019043, -0.2019241601228714, -0.6609031558036804, -0.530157208442688, 0.39365822076797485, 0.6154114007949829, -0.16390392184257507, 0.06878514587879181, 0.14941060543060303, -0.5441926121711731, -0.040802597999572754, -0.38691970705986023, -0.45766758918762207, 0.054224006831645966, 0.13053473830223083, -0.005750799085944891, -0.404820054769516, -0.0868026465177536, -0.35842007398605347, -0.4656120240688324, 0.21876516938209534, 0.3011947274208069, -0.04096309468150139, -0.42599788308143616, -0.3619818687438965, -0.888181209564209, 0.6719610095024109, 0.5370282530784607, 0.05281545966863632, 0.7555549740791321, 0.16819314658641815, -0.8014987707138062, -0.13532210886478424, -0.1760706603527069, 0.2696830928325653, -0.5588056445121765, 0.13849826157093048, -0.013484534807503223, -0.0637492910027504, 0.26297882199287415, 0.25386232137680054, -0.4300556778907776, 0.9276250004768372, -0.2615274488925934, -0.3592521846294403, 0.7960181832313538, 0.5974742770195007, 0.49583131074905396, 0.16503219306468964, -0.044541798532009125, 0.900709331035614, -1.1966516971588135, -0.6563175916671753, -0.7409549355506897, -0.15945707261562347, -0.43510833382606506, -0.032105933874845505, 0.6254412531852722, 0.2900990843772888, -0.1333388388156891, 0.4756395220756531, -0.5243489742279053, 0.3556033670902252, 1.01198410987854, 0.35748639702796936, 0.3435698449611664, -0.7570229172706604, -0.2515777349472046, -0.1402427852153778, -0.9998157620429993, -0.2631377875804901, 0.8871029019355774, 0.22752606868743896, 0.844460666179657, 0.5992541313171387, 0.6784542798995972, 0.1367226243019104, 0.2523828148841858, -0.30590319633483887, 0.3920294940471649, 0.4376082420349121, -1.0401138067245483, -0.42758408188819885, 0.021418681368231773, -0.9703338742256165, -0.14227519929409027, -0.03495011106133461, -0.42617112398147583, 0.7681737542152405, 0.00016589462757110596, -0.4076709747314453, 0.7732734084129333, -0.455583393573761, 0.7562873363494873, -0.4473648965358734, -0.02663906291127205, 0.4699096083641052, -0.7070636749267578, 0.4677430987358093, 0.12878790497779846, 0.6205843091011047, -0.015572631731629372, -0.04078587517142296, 0.7104941606521606, -0.9129160046577454, 0.25438642501831055, -0.6348397135734558, 0.22421300411224365, 0.24246945977210999, 0.51606285572052, 0.5969953536987305, 0.4371243417263031, 0.10119888931512833, -0.23920902609825134, 0.04115807265043259, -0.8241125345230103, -0.210506409406662, 0.697515606880188, -0.7186890840530396, -0.6864197850227356, -1.2355337142944336, 0.14438660442829132, 0.27347055077552795, 0.389305055141449, 0.7959296107292175, 0.571408748626709, 0.1289544403553009, 0.680525004863739, 0.9888588190078735, -0.0688566341996193, 0.9166924357414246, 0.3224477171897888, 0.09175168722867966, -0.21944808959960938, 0.7036820650100708, 0.26627904176712036, -0.24707956612110138, -0.11939732730388641, 0.20913465321063995, -0.11069409549236298, -0.591761589050293, -0.49990686774253845, 0.3701757788658142, -0.6731787919998169, -0.18303893506526947, -0.6243735551834106, -0.6043769717216492, -0.511759340763092, 0.06927360594272614, -0.7147687673568726, 0.23979046940803528, -0.7753565907478333, -0.10574902594089508, 0.04323432594537735, 0.9792009592056274, -0.589311957359314, 0.5805224180221558, -1.1218582391738892, 0.19345788657665253, -0.07949887961149216, 0.7921058535575867, 0.21395787596702576, -0.7344395518302917, -0.3975418508052826, -0.11592631042003632, -0.3729911744594574, -1.3576762676239014, 0.21404948830604553, -0.2454141080379486, 0.23094046115875244, 0.6145404577255249, 0.1397707313299179, 0.5258248448371887, -0.34326282143592834, 0.7029101848602295, -0.057017259299755096, -0.7069286704063416, 0.7934495210647583, -0.5026894807815552, 0.4963534474372864, 0.9765996932983398, 0.5333835482597351, -0.7984007596969604, 0.035741209983825684, -1.041123390197754, -0.6008695363998413, 0.38426393270492554, 0.11928944289684296, -0.03601083159446716, -0.6659559011459351, -0.054019637405872345, -0.16143807768821716, 0.6043745279312134, -1.039069414138794, -0.7858356237411499, 0.2576698362827301, 0.5277302861213684, 0.0816856250166893, -0.5653398633003235, 0.20880667865276337, -0.544416069984436, 1.0657774209976196, 0.45109400153160095, 0.3274499475955963, 0.8406060934066772, 0.46492424607276917, -0.3823164403438568, 0.09252490103244781, 0.7662695050239563, 0.6666232347488403, -0.5239797830581665, -0.2908027470111847, -0.08827541768550873, -0.9143403768539429, 0.05927472561597824, 0.11168918758630753, -0.013455932028591633, 0.9082110524177551, 0.5793083310127258, 0.2539709210395813, 0.4514279365539551, -0.726460337638855, 0.8859451413154602, -0.14954176545143127, -0.12472866475582123, -1.0677239894866943, 0.1948619782924652, -0.23984959721565247, 0.5006402134895325, 1.0061326026916504, 0.5250048041343689, -0.047630298882722855, -0.8143380880355835, -0.01473585981875658, 0.6939172148704529, -0.7091123461723328, -0.17449834942817688, 0.944853663444519, 0.3847099542617798, -1.2953051328659058, 1.106776475906372, -0.5381771326065063, -0.560332179069519, 0.9121301770210266, 0.522956907749176, 1.1221847534179688, -0.44204121828079224, 0.0008676342549733818, 0.2662237286567688, 0.41378432512283325, 0.5423170328140259, 1.0869629383087158, 0.431413471698761, -0.7931063771247864, 0.8826584815979004, -0.24776044487953186, -0.40361151099205017, -0.05347571521997452, -0.42859897017478943, 0.16892178356647491, -0.4406192898750305, -0.10713007301092148, -0.3444187641143799, 0.28543180227279663, -0.7072042226791382, 0.42807620763778687, -0.0838567465543747, 0.8653068542480469, -0.8553727269172668, 0.47207626700401306, 0.635470449924469, -0.3337355852127075, -0.8508191108703613, -0.26198428869247437, -0.11448462307453156, -0.6389466524124146, 0.30214807391166687, -0.4554102420806885, 0.044398851692676544, 0.09623463451862335, -0.649151623249054, -1.1778275966644287, 0.9093633890151978, -0.639612078666687, -0.2784462869167328, 0.20464053750038147, -0.11514760553836823, 0.28811705112457275, -0.2524643540382385, 0.010661216452717781, 0.41876548528671265, 0.748940110206604, 0.2844654619693756, -0.7727053761482239, -0.3694884479045868, 0.0015032943338155746, -0.44474777579307556, 0.7582978010177612, -0.6002101898193359, 1.1840779781341553, -0.5563543438911438, -0.059654366225004196, 0.44384512305259705, 0.24690914154052734, 0.21076197922229767, 0.6629220843315125, 0.1442081481218338, 0.7282265424728394, 1.07012140750885, -0.40835219621658325, 0.8811809420585632, 0.26432839035987854, 0.47430819272994995, 0.7238501906394958, -0.6487724781036377, 0.7513749003410339, 0.31810489296913147, -0.5682924389839172, 0.9228013753890991, 1.2906063795089722, -0.15699204802513123, 0.8079374432563782, 0.05136508867144585, -1.081600546836853, 0.325833261013031, -0.20724765956401825, -0.7530064582824707, 0.3150254189968109, 0.19055864214897156, -0.6920982599258423, -0.5770308971405029, -0.24046507477760315, -0.35662803053855896, -0.11552901566028595, -0.7631728649139404, 0.6720563769340515, -0.016969164833426476, -0.5103683471679688, 0.18857547640800476, 0.2877499461174011, 0.17368432879447937, -0.5235732793807983, -0.02939440682530403, -0.22823619842529297, 0.2660655975341797, -0.5670853853225708, -0.5234526991844177, 0.5724433064460754, -0.32430219650268555, -0.5343255400657654, 0.18147465586662292, 0.763587236404419, -0.16923809051513672, -0.4515409469604492, 0.32472723722457886, 0.6959525346755981, 0.1665852814912796, 0.4250282347202301, -0.23511263728141785, 0.24480605125427246, -0.08044824004173279, -0.06651552021503448, 0.27714768052101135, 0.3449169099330902, 0.22435641288757324, 0.4450142979621887, 0.43285664916038513, -0.01808755099773407, -0.10736498981714249, -0.382819801568985, 0.4124940037727356, -0.9542785882949829, -0.5713282823562622, -0.6307113766670227, 0.2740660607814789, -0.02315417304635048, -1.0836423635482788, 0.4145168364048004, 1.4406683444976807, 1.0359982252120972, -0.4756383001804352, 1.067226529121399, -0.21818485856056213, 0.9594791531562805, 0.41483086347579956, 0.5420440435409546, -0.6030411720275879, 0.03835370019078255, -0.4364396035671234, -1.076962947845459, -0.35716333985328674, 0.4539391100406647, -0.022899555042386055, -0.3429867625236511, 0.872571587562561, 0.5887166261672974, -0.33473607897758484, -0.11728022992610931, 0.048487238585948944, -0.029941488057374954, -0.12433847039937973, 0.5145376324653625, 0.7648399472236633, -0.9344304800033569, -0.10680416971445084, -0.21577754616737366, -0.6382725834846497, -0.5047279000282288, -0.9632009267807007, -0.12959396839141846, -0.16037796437740326, 0.035343267023563385, -0.5662806630134583, 0.00255737011320889, 1.208324909210205, 0.5684957504272461, -1.1113994121551514, -0.5303789377212524, 0.3371853232383728, 0.3920421898365021, -0.1874791383743286, -0.24202413856983185, 0.2984568774700165, 0.15382249653339386, -0.5908876657485962, 0.6875665783882141, 0.8089625239372253, 0.208888977766037, 0.19554761052131653, 0.15893013775348663, -0.8229473829269409, -0.14913435280323029, 0.17440445721149445, 0.9450570344924927, -0.939853310585022, -0.7114843130111694, -0.03168516233563423, -0.27094873785972595, -0.05765746906399727, 0.17102102935314178, -0.4046344757080078, 0.5180677175521851, 0.34591493010520935, 0.49933457374572754, 0.0561608150601387, -0.054746925830841064, 0.5409556031227112, -0.9069057703018188, 0.09425963461399078, 0.4134361147880554, 0.4154115319252014, -0.4000864028930664, -0.5910194516181946, 0.6713420748710632, 1.0073972940444946, -0.6594868898391724, -0.8743268847465515, -0.19846712052822113, -1.0016002655029297, 0.04189709946513176, 0.6762762069702148, 0.5009527802467346, -0.4806513786315918, -0.4174500107765198, -0.5617399215698242, -0.1254672110080719, -0.1369970738887787, 0.7621601819992065, 1.179680585861206, -0.7432094812393188, 0.07975747436285019, -1.038639783859253, 0.6594986915588379, -0.2419457733631134, -0.3457581698894501, -0.48644304275512695, 0.3832802176475525, 0.35236993432044983, 0.440481036901474, 0.614812433719635, 0.1408471167087555, 0.8338426351547241, 0.3126053214073181, -0.1702686995267868, 0.2698982357978821, -0.4559200704097748, -0.028932858258485794, -0.057962555438280106, 0.31015971302986145, -1.0262157917022705 ]
Uminosachi/realisticVisionV40_v40VAE-inpainting
Uminosachi
2023-08-01T01:07:08Z
7,105
0
diffusers
[ "diffusers", "license:creativeml-openrail-m", "endpoints_compatible", "diffusers:StableDiffusionPipeline", "region:us" ]
null
2023-08-01T00:55:06Z
--- license: creativeml-openrail-m --- This is an inpainting model, which has been converted from the [realisticVisionV40_v40VAE-inpainting](https://civitai.com/models/4201?modelVersionId=114600).
[ -0.344134658575058, -0.22264280915260315, 0.46217212080955505, 0.0936618521809578, -0.5151506066322327, 0.30932044982910156, 0.49296072125434875, -0.5509308576583862, 0.5366448163986206, 1.0942096710205078, -1.0796016454696655, 0.2807449996471405, -0.12606680393218994, -0.42435529828071594, -0.3923814296722412, 0.47967180609703064, -0.049032554030418396, 0.4684431254863739, -0.3553037941455841, 0.1370234340429306, -0.23562100529670715, -0.2993090748786926, -0.5573865175247192, -0.5495237708091736, 0.13636919856071472, 0.5184457302093506, 0.502173125743866, 0.29848355054855347, 0.6251476407051086, 0.25659871101379395, 0.0561455599963665, -0.13974151015281677, -0.5781492590904236, -0.4678679406642914, 0.02956790290772915, -0.8765968680381775, -0.636102020740509, 0.3320218324661255, 0.39548951387405396, 0.1028423085808754, -0.17096053063869476, 0.3082568943500519, -0.2243303805589676, 0.48810145258903503, -0.8759346008300781, 0.07923413813114166, -0.03855046629905701, 0.23012354969978333, -0.31235745549201965, -0.20342418551445007, -0.43273216485977173, -0.3486054241657257, -0.24251620471477509, -0.9099677801132202, 0.25303375720977783, -0.27687424421310425, 1.4444619417190552, 0.2934408485889435, -0.32409584522247314, 0.30923089385032654, -1.2273417711257935, 0.44945406913757324, -0.8566819429397583, 0.5301823019981384, 0.09650054574012756, 1.2253621816635132, -0.44233426451683044, -1.4782159328460693, -0.42474958300590515, -0.037886425852775574, 0.3136141300201416, 0.350407212972641, -0.3752540349960327, -0.03027314320206642, 0.45202770829200745, 0.6111420392990112, -0.31369584798812866, -0.12008755654096603, -0.7398237586021423, -0.10853759199380875, 0.5931788086891174, 0.0013252588687464595, 0.5290725231170654, 0.23244540393352509, -0.8632385730743408, -0.1559496521949768, -0.7462963461875916, 0.014929065480828285, 0.30691245198249817, -0.2780359983444214, -0.04929568991065025, 0.8508623838424683, -0.387116938829422, 1.057504415512085, 0.10345528274774551, -0.08442334830760956, 0.07894200086593628, 0.02927687205374241, -0.6124032735824585, 0.03239242359995842, 0.00011958644608967006, 1.0492324829101562, 0.5326710343360901, -0.018073460087180138, -0.2901519238948822, -0.04059747979044914, 0.8167056441307068, -1.5016390085220337, -0.5160187482833862, -0.09001880884170532, -0.44708797335624695, -0.24400688707828522, 0.3612903356552124, -0.40686771273612976, 0.022365842014551163, -0.20486335456371307, 0.3076825737953186, -0.5785263776779175, -0.3258972764015198, 0.08078225702047348, -0.14334556460380554, 0.16413001716136932, 0.6054312586784363, -0.3735891580581665, 0.2850675582885742, 0.2477361559867859, 0.6709003448486328, 0.3925790786743164, 0.1733512580394745, -0.21722497045993805, 0.12878911197185516, -0.5867559313774109, 1.016675591468811, -0.4524044692516327, -0.6033264398574829, 0.10314847528934479, 0.5048387050628662, 0.32728859782218933, -0.7911485433578491, 0.7072924375534058, -0.8299368619918823, 0.13799719512462616, 0.00597886648029089, -0.7496592998504639, -0.6864889860153198, 0.3639064133167267, -0.8554537296295166, 0.8960019946098328, 0.4582825005054474, -0.5567657947540283, 0.6172435879707336, -0.5339863300323486, 0.45389044284820557, 0.6132606267929077, 0.2780504524707794, -0.7171649932861328, 0.35355573892593384, -0.29322534799575806, 0.1694754958152771, -0.2784319519996643, -0.03707312047481537, -0.7645830512046814, -0.5967808365821838, 0.08533978462219238, -0.21458540856838226, 0.8068446516990662, 0.3148757815361023, 0.1583307832479477, 0.4597529172897339, -1.3341432809829712, -0.08764577656984329, 0.05616562068462372, 0.07300657778978348, -0.2988699972629547, -0.5384698510169983, 0.1781635582447052, 0.6837806701660156, 0.4611509144306183, -0.9852061867713928, 0.3208308517932892, -0.5828635096549988, 0.17087914049625397, 0.19184842705726624, 0.5675511360168457, 0.48013001680374146, -0.7078132629394531, 0.7059454917907715, -0.14288221299648285, 0.5724233984947205, 0.3464149832725525, -0.8568324446678162, -1.1373984813690186, -0.494207501411438, -0.004600117914378643, 0.16318625211715698, -0.995675265789032, -0.06594964861869812, -0.07720238715410233, -1.1464827060699463, -0.4527410566806793, -0.48241910338401794, 0.3176173269748688, 0.42222779989242554, 0.05326950550079346, -0.7320052981376648, -0.44147640466690063, -1.2566372156143188, 0.004378964193165302, 0.076876699924469, -0.5114582777023315, 0.05234001576900482, 0.5192440152168274, -0.22886832058429718, 0.5207897424697876, -0.33663514256477356, -0.28278157114982605, 0.22248278558254242, -0.2926108241081238, 0.45610663294792175, 0.5951995253562927, 1.0628505945205688, -0.6854062676429749, -0.9009717702865601, -0.16369926929473877, -0.5964736938476562, 0.1864856779575348, 0.03875675052404404, -0.4423719644546509, -0.28574347496032715, 0.9089492559432983, -0.25992676615715027, 0.85792076587677, 0.5778108835220337, -0.3007506728172302, 0.7378238439559937, -0.6084067225456238, 0.6213120818138123, -0.9938907623291016, 0.04038279503583908, 0.08683617413043976, -0.6475014090538025, -0.659807026386261, 0.6789699196815491, 0.3684936463832855, -0.1866530328989029, -0.8373311161994934, 0.3956931531429291, -0.7742627859115601, 0.14361272752285004, -0.5134894251823425, -0.3643942177295685, -0.04239547997713089, 0.3842836022377014, -0.11947809159755707, 0.5948116183280945, 0.5083102583885193, -0.37134531140327454, 1.0485846996307373, 0.30235421657562256, -0.7492918968200684, 0.7645537257194519, -0.6907810568809509, 0.2635800540447235, -0.2250434309244156, 0.2253485769033432, -0.960939347743988, -0.6922892928123474, 0.5118643045425415, -0.0755857452750206, 0.08428758382797241, -0.5978494882583618, -0.3949343264102936, -0.2891889810562134, -0.1401284784078598, 0.6810073256492615, 0.4528294503688812, -0.5846767425537109, 0.7568262815475464, 0.1337621808052063, 0.07890505343675613, 0.2346995770931244, -0.8590248227119446, 0.06757000088691711, -0.41918301582336426, -0.47694092988967896, 0.9304905533790588, -0.13977284729480743, -0.4221563935279846, -0.020239222794771194, 0.3654802143573761, -0.44572216272354126, -0.4677550792694092, 0.3634030520915985, 0.7512421011924744, -0.35597822070121765, -0.35792985558509827, -0.05727265775203705, 0.005763205699622631, 0.12293128669261932, 0.500345766544342, 0.7064346671104431, 0.18508309125900269, -0.45030686259269714, -0.8911501169204712, 0.34741026163101196, 1.237605094909668, -0.09406732767820358, 0.7697063088417053, 0.24608278274536133, -1.0164062976837158, -0.12532629072666168, -0.5198167562484741, -0.3214046359062195, -0.4838414490222931, 0.17030677199363708, -0.758770763874054, -0.056218795478343964, 0.42819997668266296, -0.4542388617992401, -0.3977666199207306, 0.7247172594070435, 0.3793202042579651, -0.08783736079931259, 0.897125244140625, 0.7898686528205872, 0.5445970296859741, 0.8823009133338928, -0.8610292673110962, -0.5294884443283081, -0.8597807288169861, -0.8023152947425842, -0.08939855545759201, -0.23459382355213165, -0.3260357975959778, -0.7025301456451416, 0.40132734179496765, -0.11679837852716446, -0.35457730293273926, 0.4778800308704376, -0.47970330715179443, 0.4178817570209503, 0.6358493566513062, 0.7531141042709351, 0.16864559054374695, -0.2923766076564789, 0.44173693656921387, -0.5474656820297241, -0.40486782789230347, -0.475115031003952, 0.8269010186195374, 0.023157624527812004, 0.3712742328643799, 0.1572767198085785, 0.3184117376804352, 0.1267247051000595, 0.5681756734848022, -0.44748857617378235, 0.3139907121658325, -0.23306700587272644, -0.9505395293235779, 0.1292853206396103, 0.36766570806503296, -0.5492199659347534, 0.16329771280288696, -0.9240378141403198, -0.30502116680145264, 0.5232980251312256, 0.002125923987478018, -0.15879912674427032, 0.4562308192253113, -0.6244145631790161, 0.8608619570732117, 0.012073714286088943, 0.08496881276369095, -0.6071849465370178, -0.38307371735572815, 0.772266149520874, -0.03279658034443855, -0.07106025516986847, 0.02693694271147251, 0.3755813241004944, 0.38877078890800476, -0.8209671974182129, 0.555416464805603, -0.19268272817134857, 0.20085611939430237, 0.22083404660224915, 0.22431322932243347, 0.7015874981880188, -0.007816487923264503, -0.1558656096458435, -0.4742452800273895, -0.21676816046237946, -0.6260542869567871, -0.5124013423919678, 0.7151414155960083, -0.7098122835159302, -0.3327651917934418, -0.4543397128582001, -0.19919732213020325, 0.03007008321583271, 0.03142431378364563, 0.7935797572135925, 0.8323546051979065, -0.8257516026496887, 0.026556693017482758, 0.79161137342453, 0.19102202355861664, 0.4352085590362549, 0.22760020196437836, -0.5124462842941284, -0.1557435542345047, 0.7974514961242676, 0.14099270105361938, 0.6735362410545349, 0.39255744218826294, -0.1492890864610672, -0.18912065029144287, -0.4421936869621277, -0.5381335020065308, 0.509394109249115, -0.5340760946273804, 0.11150901019573212, 0.18278174102306366, -0.6800853610038757, -0.1846928894519806, -0.2998374402523041, -0.6777663826942444, -0.34680765867233276, -0.8125120997428894, 0.19786569476127625, 0.3200362026691437, 0.9312838912010193, 0.5374332666397095, 0.43853166699409485, -0.7450223565101624, 0.260921835899353, 0.8646866083145142, 0.0997333750128746, -0.5498865246772766, -1.063698172569275, -0.26405027508735657, 0.098823681473732, -0.3466936945915222, -0.683560311794281, 0.852143406867981, 0.3247791826725006, 0.5128739476203918, 0.2556309700012207, -0.13493670523166656, 0.9666909575462341, -0.6158807873725891, 0.7143865823745728, 0.2734355628490448, -0.4500657320022583, 0.2783648371696472, -0.3021546006202698, 0.36541998386383057, 0.5940017700195312, 0.2552163004875183, -0.2829170227050781, -0.04802986606955528, -1.3221724033355713, -0.6913579702377319, 0.32916080951690674, -0.07904470711946487, -0.04207666963338852, 0.7264476418495178, 0.5175175666809082, 0.08683942258358002, 0.27339738607406616, -0.40941640734672546, -0.14219655096530914, -0.6092081665992737, 0.27653592824935913, -0.2245296984910965, -0.3632829785346985, -0.1078261211514473, -0.3901207149028778, 0.9938862323760986, 0.022816147655248642, 0.3842924237251282, 0.15411430597305298, -0.06359072029590607, -0.02324497699737549, -0.3713776171207428, 0.7464340329170227, 0.39196568727493286, -0.8093549013137817, -0.30400893092155457, -0.05579790472984314, -0.2516445219516754, 0.004468224011361599, -0.10054824501276016, -0.010332252830266953, 0.20325967669487, 0.22624461352825165, 1.1577907800674438, 0.23235353827476501, -0.3085150122642517, 0.7592017650604248, -0.029445979744195938, 0.21308836340904236, -1.088979959487915, 0.09746347367763519, -0.004427841864526272, 0.660305917263031, 0.021695053204894066, 0.6125881671905518, 0.7038764357566833, -0.7665219902992249, 0.025547780096530914, 0.12348169833421707, -0.8586529493331909, -0.533872663974762, 1.2920095920562744, 0.290586918592453, -1.0839170217514038, 0.9019688367843628, 0.054450880736112595, 0.11734140664339066, 0.6021193861961365, 0.5141430497169495, 1.1289645433425903, -0.3691501021385193, 0.3238595426082611, 0.7451576590538025, -0.17982307076454163, 0.007167770992964506, 0.49003350734710693, 0.3325159549713135, -0.5149003863334656, -0.2747119069099426, -0.29135164618492126, -0.9245824217796326, -0.01264909841120243, -1.0452483892440796, 0.5349434018135071, -0.5400174856185913, -0.11925841867923737, 0.02036098763346672, -0.5089383125305176, -0.5196129679679871, 1.0031700134277344, 0.3052256405353546, 1.23049795627594, -1.0578585863113403, 1.4414690732955933, 0.905778706073761, -0.6084822416305542, -0.36944928765296936, -0.09499166905879974, -0.21551208198070526, -0.9667421579360962, 0.22416013479232788, -0.07404971867799759, -0.15019451081752777, -0.02809716947376728, -0.8932915329933167, -0.7402821183204651, 0.9965437650680542, 0.8407557010650635, -0.714359700679779, -0.08693287521600723, -0.17754919826984406, 0.5642691254615784, -0.6870720982551575, 0.1276576668024063, 0.47726204991340637, 0.4235881268978119, 0.2295607328414917, -0.7437496781349182, -0.1829431802034378, -0.7885507345199585, 0.5786165595054626, -0.14470316469669342, -0.985650897026062, 0.9353470802307129, 0.1534890979528427, 0.09263414889574051, 0.45998191833496094, 1.1062756776809692, 0.451241672039032, -0.22389905154705048, 0.7773807048797607, 0.6245101690292358, 0.2505975663661957, -0.19322656095027924, 1.172663927078247, -0.08468307554721832, 0.17050796747207642, 0.792706310749054, 0.20138715207576752, 0.7927775382995605, 0.655203104019165, -0.11198745667934418, 0.9686669111251831, 0.8969147205352783, -0.08523526042699814, 0.9229143261909485, 0.13232603669166565, -0.7728983163833618, -0.4380682110786438, -0.2134523093700409, -0.1672336906194687, 0.5178858041763306, 0.3748660981655121, -0.19777196645736694, -0.023669037967920303, 0.17858001589775085, -0.29408571124076843, 0.4078731834888458, -0.38484424352645874, 0.6301547884941101, -0.11219561845064163, -0.4921973645687103, 0.7940054535865784, -0.10465192049741745, 0.5535594820976257, -0.7146652936935425, -0.484703004360199, 0.14784859120845795, 0.3748120665550232, -0.03406783938407898, -0.764481246471405, 0.45635396242141724, -0.5763155221939087, -0.2154560089111328, -0.2595764398574829, 0.7022202014923096, -0.40973740816116333, -0.936429500579834, 0.31149131059646606, -0.17244687676429749, 0.617911696434021, -0.24020199477672577, -0.5878227353096008, -0.010210069827735424, 0.23537597060203552, -0.3228251338005066, 0.12998315691947937, 0.02423027530312538, -0.2928742468357086, 0.6639796495437622, 0.2742801308631897, 0.3294021487236023, 0.2624586224555969, 0.05696170777082443, 0.6856430768966675, -0.42404210567474365, -0.5285349488258362, -0.17614272236824036, 0.8458136320114136, -0.566550076007843, -0.6539892554283142, 0.5830714702606201, 0.7947227954864502, 1.0180237293243408, -1.1603782176971436, 0.5462764501571655, 0.2888515293598175, 0.19056715071201324, -0.5674285292625427, 0.9962205290794373, -0.8922781944274902, -0.5734394788742065, -0.2517966330051422, -1.1193112134933472, -0.15328848361968994, 0.5942950248718262, 0.5617567896842957, -0.2169603854417801, 0.14121881127357483, 0.8441454172134399, -0.16769662499427795, -0.3262668251991272, 0.8321673274040222, 0.1825588494539261, 0.41228795051574707, 0.0008685136563144624, 0.5401405692100525, -0.6865527033805847, 0.20103676617145538, -0.8108899593353271, -0.4222411811351776, -0.3698060214519501, -0.8952110409736633, -0.6288400888442993, -0.8522791266441345, -0.5031325817108154, -0.25255531072616577, -0.05863172188401222, 0.4198209047317505, 0.9046658873558044, -0.747112512588501, -0.41327857971191406, 0.03758946806192398, -0.6652074456214905, -0.01271909661591053, -0.1448710560798645, -0.16338877379894257, 0.6394838690757751, -1.4087870121002197, 0.6952790021896362, 0.29255762696266174, 0.5106586217880249, -0.4301183521747589, 0.4094396233558655, -0.08436466008424759, 0.23309668898582458, 0.2802027761936188, 0.41366708278656006, -0.64545738697052, -0.5090406537055969, -0.4453080892562866, 0.04450051113963127, 0.1895623803138733, 0.42093777656555176, -0.6609948873519897, 0.8382140398025513, 0.5811261534690857, -0.05835423618555069, 1.52617609500885, -0.13448695838451385, 0.6571288704872131, -0.5458173155784607, 0.6852156519889832, 0.09372411668300629, 0.7734808921813965, 0.47128865122795105, -0.11157798767089844, 0.5521966814994812, 0.4568161070346832, -0.7065234780311584, -0.8131808638572693, 0.32727664709091187, -1.4025938510894775, 0.05233288183808327, 0.7677009701728821, -0.08079369366168976, -0.6728440523147583, 0.24981090426445007, -0.7296141386032104, 0.6252247095108032, 0.05401264503598213, 0.45915645360946655, 0.5470603704452515, 0.12961828708648682, -0.44263914227485657, -0.4092133045196533, 0.24015358090400696, -0.36290833353996277, -0.826201319694519, -0.739176332950592, 0.36795952916145325, 0.5136915445327759, 0.22830830514431, 0.3228241503238678, -0.43016472458839417, 0.45149222016334534, 0.20574583113193512, 1.007493495941162, 0.11794325709342957, -0.22134585678577423, -0.011236767284572124, 0.18267720937728882, 0.22634710371494293, -0.6082069277763367 ]
beomi/KcELECTRA-base
beomi
2023-04-03T14:53:16Z
7,086
14
transformers
[ "transformers", "pytorch", "electra", "pretraining", "korean", "ko", "en", "doi:10.57967/hf/0017", "license:mit", "endpoints_compatible", "has_space", "region:us" ]
null
2022-03-02T23:29:05Z
--- language: - ko - en tags: - electra - korean license: "mit" --- # KcELECTRA: Korean comments ELECTRA ** Updates on 2022.10.08 ** - KcELECTRA-base-v2022 (구 v2022-dev) 모델 이름이 변경되었습니다. --> KcELECTRA-base 레포의 `v2022`로 통합되었습니다. - 위 모델의 세부 스코어를 추가하였습니다. - 기존 KcELECTRA-base(v2021) 대비 대부분의 downstream task에서 ~1%p 수준의 성능 향상이 있습니다. --- 공개된 한국어 Transformer 계열 모델들은 대부분 한국어 위키, 뉴스 기사, 책 등 잘 정제된 데이터를 기반으로 학습한 모델입니다. 한편, 실제로 NSMC와 같은 User-Generated Noisy text domain 데이터셋은 정제되지 않았고 구어체 특징에 신조어가 많으며, 오탈자 등 공식적인 글쓰기에서 나타나지 않는 표현들이 빈번하게 등장합니다. KcELECTRA는 위와 같은 특성의 데이터셋에 적용하기 위해, 네이버 뉴스에서 댓글과 대댓글을 수집해, 토크나이저와 ELECTRA모델을 처음부터 학습한 Pretrained ELECTRA 모델입니다. 기존 KcBERT 대비 데이터셋 증가 및 vocab 확장을 통해 상당한 수준으로 성능이 향상되었습니다. KcELECTRA는 Huggingface의 Transformers 라이브러리를 통해 간편히 불러와 사용할 수 있습니다. (별도의 파일 다운로드가 필요하지 않습니다.) ``` 💡 NOTE 💡 General Corpus로 학습한 KoELECTRA가 보편적인 task에서는 성능이 더 잘 나올 가능성이 높습니다. KcBERT/KcELECTRA는 User genrated, Noisy text에 대해서 보다 잘 동작하는 PLM입니다. ``` ## KcELECTRA Performance - Finetune 코드는 https://github.com/Beomi/KcBERT-finetune 에서 찾아보실 수 있습니다. - 해당 Repo의 각 Checkpoint 폴더에서 Step별 세부 스코어를 확인하실 수 있습니다. | | Size<br/>(용량) | **NSMC**<br/>(acc) | **Naver NER**<br/>(F1) | **PAWS**<br/>(acc) | **KorNLI**<br/>(acc) | **KorSTS**<br/>(spearman) | **Question Pair**<br/>(acc) | **KorQuaD (Dev)**<br/>(EM/F1) | | :----------------- | :-------------: | :----------------: | :--------------------: | :----------------: | :------------------: | :-----------------------: | :-------------------------: | :---------------------------: | | **KcELECTRA-base-v2022** | 475M | **91.97** | 87.35 | 76.50 | 82.12 | 83.67 | 95.12 | 69.00 / 90.40 | | **KcELECTRA-base** | 475M | 91.71 | 86.90 | 74.80 | 81.65 | 82.65 | **95.78** | 70.60 / 90.11 | | KcBERT-Base | 417M | 89.62 | 84.34 | 66.95 | 74.85 | 75.57 | 93.93 | 60.25 / 84.39 | | KcBERT-Large | 1.2G | 90.68 | 85.53 | 70.15 | 76.99 | 77.49 | 94.06 | 62.16 / 86.64 | | KoBERT | 351M | 89.63 | 86.11 | 80.65 | 79.00 | 79.64 | 93.93 | 52.81 / 80.27 | | XLM-Roberta-Base | 1.03G | 89.49 | 86.26 | 82.95 | 79.92 | 79.09 | 93.53 | 64.70 / 88.94 | | HanBERT | 614M | 90.16 | 87.31 | 82.40 | 80.89 | 83.33 | 94.19 | 78.74 / 92.02 | | KoELECTRA-Base | 423M | 90.21 | 86.87 | 81.90 | 80.85 | 83.21 | 94.20 | 61.10 / 89.59 | | KoELECTRA-Base-v2 | 423M | 89.70 | 87.02 | 83.90 | 80.61 | 84.30 | 94.72 | 84.34 / 92.58 | | KoELECTRA-Base-v3 | 423M | 90.63 | **88.11** | **84.45** | **82.24** | **85.53** | 95.25 | **84.83 / 93.45** | | DistilKoBERT | 108M | 88.41 | 84.13 | 62.55 | 70.55 | 73.21 | 92.48 | 54.12 / 77.80 | \*HanBERT의 Size는 Bert Model과 Tokenizer DB를 합친 것입니다. \***config의 세팅을 그대로 하여 돌린 결과이며, hyperparameter tuning을 추가적으로 할 시 더 좋은 성능이 나올 수 있습니다.** ## How to use ### Requirements - `pytorch ~= 1.8.0` - `transformers ~= 4.11.3` - `emoji ~= 0.6.0` - `soynlp ~= 0.0.493` ### Default usage ```python from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("beomi/KcELECTRA-base") model = AutoModel.from_pretrained("beomi/KcELECTRA-base") ``` > 💡 이전 KcBERT 관련 코드들에서 `AutoTokenizer`, `AutoModel` 을 사용한 경우 `.from_pretrained("beomi/kcbert-base")` 부분을 `.from_pretrained("beomi/KcELECTRA-base")` 로만 변경해주시면 즉시 사용이 가능합니다. ### Pretrain & Finetune Colab 링크 모음 #### Pretrain Data - KcBERT학습에 사용한 데이터 + 이후 2021.03월 초까지 수집한 댓글 - 약 17GB - 댓글-대댓글을 묶은 기반으로 Document 구성 #### Pretrain Code - https://github.com/KLUE-benchmark/KLUE-ELECTRA Repo를 통한 Pretrain #### Finetune Code - https://github.com/Beomi/KcBERT-finetune Repo를 통한 Finetune 및 스코어 비교 #### Finetune Samples - NSMC with PyTorch-Lightning 1.3.0, GPU, Colab <a href="https://colab.research.google.com/drive/1Hh63kIBAiBw3Hho--BvfdUWLu-ysMFF0?usp=sharing"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> ## Train Data & Preprocessing ### Raw Data 학습 데이터는 2019.01.01 ~ 2021.03.09 사이에 작성된 **댓글 많은 뉴스/혹은 전체 뉴스** 기사들의 **댓글과 대댓글**을 모두 수집한 데이터입니다. 데이터 사이즈는 텍스트만 추출시 **약 17.3GB이며, 1억8천만개 이상의 문장**으로 이뤄져 있습니다. > KcBERT는 2019.01-2020.06의 텍스트로, 정제 후 약 9천만개 문장으로 학습을 진행했습니다. ### Preprocessing PLM 학습을 위해서 전처리를 진행한 과정은 다음과 같습니다. 1. 한글 및 영어, 특수문자, 그리고 이모지(🥳)까지! 정규표현식을 통해 한글, 영어, 특수문자를 포함해 Emoji까지 학습 대상에 포함했습니다. 한편, 한글 범위를 `ㄱ-ㅎ가-힣` 으로 지정해 `ㄱ-힣` 내의 한자를 제외했습니다. 2. 댓글 내 중복 문자열 축약 `ㅋㅋㅋㅋㅋ`와 같이 중복된 글자를 `ㅋㅋ`와 같은 것으로 합쳤습니다. 3. Cased Model KcBERT는 영문에 대해서는 대소문자를 유지하는 Cased model입니다. 4. 글자 단위 10글자 이하 제거 10글자 미만의 텍스트는 단일 단어로 이뤄진 경우가 많아 해당 부분을 제외했습니다. 5. 중복 제거 중복적으로 쓰인 댓글을 제거하기 위해 완전히 일치하는 중복 댓글을 하나로 합쳤습니다. 6. `OOO` 제거 네이버 댓글의 경우, 비속어는 자체 필터링을 통해 `OOO` 로 표시합니다. 이 부분을 공백으로 제거하였습니다. 아래 명령어로 pip로 설치한 뒤, 아래 clean함수로 클리닝을 하면 Downstream task에서 보다 성능이 좋아집니다. (`[UNK]` 감소) ```bash pip install soynlp emoji ``` 아래 `clean` 함수를 Text data에 사용해주세요. ```python import re import emoji from soynlp.normalizer import repeat_normalize emojis = ''.join(emoji.UNICODE_EMOJI.keys()) pattern = re.compile(f'[^ .,?!/@$%~%·∼()\x00-\x7Fㄱ-ㅣ가-힣{emojis}]+') url_pattern = re.compile( r'https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)') import re import emoji from soynlp.normalizer import repeat_normalize pattern = re.compile(f'[^ .,?!/@$%~%·∼()\x00-\x7Fㄱ-ㅣ가-힣]+') url_pattern = re.compile( r'https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)') def clean(x): x = pattern.sub(' ', x) x = emoji.replace_emoji(x, replace='') #emoji 삭제 x = url_pattern.sub('', x) x = x.strip() x = repeat_normalize(x, num_repeats=2) return x ``` > 💡 Finetune Score에서는 위 `clean` 함수를 적용하지 않았습니다. ### Cleaned Data - KcBERT 외 추가 데이터는 정리 후 공개 예정입니다. ## Tokenizer, Model Train Tokenizer는 Huggingface의 [Tokenizers](https://github.com/huggingface/tokenizers) 라이브러리를 통해 학습을 진행했습니다. 그 중 `BertWordPieceTokenizer` 를 이용해 학습을 진행했고, Vocab Size는 `30000`으로 진행했습니다. Tokenizer를 학습하는 것에는 전체 데이터를 통해 학습을 진행했고, 모델의 General Downstream task에 대응하기 위해 KoELECTRA에서 사용한 Vocab을 겹치지 않는 부분을 추가로 넣어주었습니다. (실제로 두 모델이 겹치는 부분은 약 5000토큰이었습니다.) TPU `v3-8` 을 이용해 약 10일 학습을 진행했고, 현재 Huggingface에 공개된 모델은 848k step을 학습한 모델 weight가 업로드 되어있습니다. (100k step별 Checkpoint를 통해 성능 평가를 진행하였습니다. 해당 부분은 `KcBERT-finetune` repo를 참고해주세요.) 모델 학습 Loss는 Step에 따라 초기 100-200k 사이에 급격히 Loss가 줄어들다 학습 종료까지도 지속적으로 loss가 감소하는 것을 볼 수 있습니다. ![KcELECTRA-base Pretrain Loss](https://cdn.jsdelivr.net/gh/beomi/blog-img@master/2021/04/07/image-20210407201231133.png) ### KcELECTRA Pretrain Step별 Downstream task 성능 비교 > 💡 아래 표는 전체 ckpt가 아닌 일부에 대해서만 테스트를 진행한 결과입니다. ![KcELECTRA Pretrain Step별 Downstream task 성능 비교](https://cdn.jsdelivr.net/gh/beomi/blog-img@master/2021/04/07/image-20210407215557039.png) - 위와 같이 KcBERT-base, KcBERT-large 대비 **모든 데이터셋에 대해** KcELECTRA-base가 더 높은 성능을 보입니다. - KcELECTRA pretrain에서도 Train step이 늘어감에 따라 점진적으로 성능이 향상되는 것을 볼 수 있습니다. ## 인용표기/Citation KcELECTRA를 인용하실 때는 아래 양식을 통해 인용해주세요. ``` @misc{lee2021kcelectra, author = {Junbum Lee}, title = {KcELECTRA: Korean comments ELECTRA}, year = {2021}, publisher = {GitHub}, journal = {GitHub repository}, howpublished = {\url{https://github.com/Beomi/KcELECTRA}} } ``` 논문을 통한 사용 외에는 MIT 라이센스를 표기해주세요. ☺️ ## Acknowledgement KcELECTRA Model을 학습하는 GCP/TPU 환경은 [TFRC](https://www.tensorflow.org/tfrc?hl=ko) 프로그램의 지원을 받았습니다. 모델 학습 과정에서 많은 조언을 주신 [Monologg](https://github.com/monologg/) 님 감사합니다 :) ## Reference ### Github Repos - [KcBERT by Beomi](https://github.com/Beomi/KcBERT) - [BERT by Google](https://github.com/google-research/bert) - [KoBERT by SKT](https://github.com/SKTBrain/KoBERT) - [KoELECTRA by Monologg](https://github.com/monologg/KoELECTRA/) - [Transformers by Huggingface](https://github.com/huggingface/transformers) - [Tokenizers by Hugginface](https://github.com/huggingface/tokenizers) - [ELECTRA train code by KLUE](https://github.com/KLUE-benchmark/KLUE-ELECTRA) ### Blogs - [Monologg님의 KoELECTRA 학습기](https://monologg.kr/categories/NLP/ELECTRA/) - [Colab에서 TPU로 BERT 처음부터 학습시키기 - Tensorflow/Google ver.](https://beomi.github.io/2020/02/26/Train-BERT-from-scratch-on-colab-TPU-Tensorflow-ver/)
[ -0.6272331476211548, -0.5898240208625793, 0.31552743911743164, 0.42718979716300964, -0.4206581711769104, 0.025071563199162483, -0.05000380054116249, -0.14606167376041412, 0.5970807671546936, 0.3277716338634491, -0.524064838886261, -0.620779812335968, -0.626375675201416, 0.22816352546215057, 0.04642968252301216, 0.7197006940841675, -0.26638469099998474, 0.14295411109924316, 0.1062818318605423, -0.05846342071890831, -0.7228411436080933, -0.46936309337615967, -0.5856335163116455, -0.36572593450546265, 0.025458447635173798, 0.4842659831047058, 0.5300218462944031, 0.399556428194046, 0.45258840918540955, 0.43493330478668213, -0.13634401559829712, -0.10924629122018814, -0.1463562399148941, -0.06992135941982269, 0.2860989570617676, -0.5270769596099854, -0.26988282799720764, -0.2161112278699875, 0.3792375922203064, 0.5535363554954529, 0.05483235791325569, 0.11226651817560196, 0.062345169484615326, 0.8979543447494507, -0.5169256329536438, 0.12462691962718964, -0.10806234925985336, 0.21115441620349884, 0.03421406447887421, -0.13709767162799835, -0.03128194808959961, -0.5996796488761902, -0.04873470962047577, -0.6755384802818298, 0.09446857124567032, 0.03818315640091896, 1.3527114391326904, 0.06065181642770767, -0.2716931700706482, -0.29330942034721375, -0.5252283811569214, 0.924196720123291, -0.7975813150405884, 0.41967302560806274, 0.3913763463497162, 0.1676410287618637, -0.23917444050312042, -0.8017479777336121, -0.710936963558197, -0.17477375268936157, -0.33416810631752014, 0.45124244689941406, -0.1091332957148552, -0.24313269555568695, 0.33065176010131836, 0.3481192886829376, -0.3922255337238312, -0.08140511065721512, -0.25128695368766785, -0.3205817639827728, 0.6749557256698608, -0.010334646329283714, 0.5082194805145264, -0.529917299747467, -0.5402086973190308, -0.1923423707485199, -0.40687090158462524, 0.3381290137767792, 0.37450629472732544, 0.008906345814466476, -0.41970542073249817, 0.6582173705101013, -0.34984755516052246, 0.44275668263435364, 0.31633543968200684, -0.10263301432132721, 0.8387951850891113, -0.6070240139961243, -0.5008995532989502, 0.18473981320858002, 1.0564368963241577, 0.5086536407470703, 0.24281857907772064, 0.023635854944586754, 0.03460682928562164, -0.12007813155651093, -0.017742279917001724, -0.929585874080658, -0.46397924423217773, 0.4680604934692383, -0.6623380184173584, -0.38166099786758423, 0.06761975586414337, -1.1209105253219604, 0.14031624794006348, -0.3106445074081421, 0.6378864049911499, -0.6426410675048828, -0.4232759177684784, 0.02269112505018711, -0.19278697669506073, 0.10649250447750092, 0.35772284865379333, -0.7080796957015991, 0.2595922648906708, 0.11900603771209717, 0.8100503087043762, 0.24125050008296967, -0.051956865936517715, 0.11104463040828705, 0.04816185310482979, -0.27653101086616516, 0.6180988550186157, 0.012149099260568619, -0.48529449105262756, -0.12516728043556213, 0.3271012008190155, -0.3497295379638672, -0.33310508728027344, 0.6087902784347534, -0.26558732986450195, 0.041394542902708054, -0.4338046610355377, -0.43044766783714294, -0.17112472653388977, 0.19646912813186646, -0.6155630350112915, 1.1702576875686646, 0.12729233503341675, -0.8974810242652893, 0.2952934503555298, -0.6392567753791809, -0.4242367744445801, -0.12115312367677689, -0.019852876663208008, -0.6362782120704651, -0.21223051846027374, 0.4053630828857422, 0.5280886292457581, -0.09467551857233047, -0.2907986044883728, 0.02191762439906597, -0.30247291922569275, 0.27610838413238525, -0.096058189868927, 1.1962860822677612, 0.47743290662765503, -0.5229336619377136, 0.05411791056394577, -1.0827107429504395, 0.35450291633605957, 0.40942707657814026, -0.4965386986732483, -0.14639240503311157, -0.4356006979942322, 0.07664209604263306, 0.4209357798099518, 0.3380102515220642, -0.6792682409286499, -0.00825072918087244, -0.5003604292869568, 0.5903573036193848, 1.0403646230697632, 0.12399658560752869, 0.3673911988735199, -0.43325263261795044, 0.5766827464103699, 0.17046129703521729, 0.10176178067922592, -0.08627493679523468, -0.37263625860214233, -0.9885196089744568, -0.36456552147865295, 0.41625672578811646, 0.6620289087295532, -0.656367838382721, 0.9048299789428711, -0.11089179664850235, -0.7287535071372986, -0.6206727027893066, -0.043606411665678024, 0.31156694889068604, 0.46726489067077637, 0.5197016000747681, -0.04120781645178795, -0.7623981833457947, -0.7689647674560547, -0.1927429735660553, -0.0872335210442543, -0.0014992926735430956, 0.557123064994812, 0.8331686854362488, -0.20146287977695465, 0.8894372582435608, -0.7041710019111633, -0.30950653553009033, -0.35171741247177124, -0.040314093232154846, 0.6126209497451782, 0.8342592716217041, 0.771759033203125, -0.946958065032959, -0.9958523511886597, 0.04590148478746414, -0.7943714261054993, -0.05054829642176628, -0.09813755005598068, -0.24118222296237946, 0.2078450471162796, 0.5314794182777405, -0.8170878291130066, 0.5751819610595703, 0.3073772192001343, -0.5774643421173096, 0.9025552272796631, -0.31650808453559875, 0.4177851974964142, -1.2815732955932617, 0.36843740940093994, -0.10096166282892227, -0.06679381430149078, -0.5916845798492432, -0.11179947108030319, 0.038874395191669464, 0.058505430817604065, -0.6202418804168701, 0.5314012765884399, -0.6387431621551514, 0.34469494223594666, 0.06078038737177849, 0.0008354513556696475, -0.014535701833665371, 0.6930210590362549, -0.220175638794899, 0.6268702149391174, 0.5043964385986328, -0.7383542060852051, 0.36428743600845337, 0.29673075675964355, -0.5160599946975708, 0.32425034046173096, -0.8009343147277832, -0.04380671679973602, -0.11225486546754837, 0.19032925367355347, -1.347988486289978, -0.28184884786605835, 0.6479460597038269, -0.7052294015884399, 0.3945731818675995, -0.07190576940774918, -0.35952043533325195, -0.6750585436820984, -0.529692530632019, 0.1862676441669464, 0.5496110916137695, -0.4469459652900696, 0.5879071950912476, 0.17381685972213745, -0.11956191062927246, -0.6215061545372009, -0.7366779446601868, -0.2278774380683899, -0.1415913701057434, -0.6607261896133423, 0.7368800044059753, -0.20256777107715607, -0.03398207947611809, -0.12963566184043884, -0.18303316831588745, -0.16696643829345703, -0.054043035954236984, 0.3304656445980072, 0.3103313744068146, -0.0480753555893898, -0.12060081958770752, 0.035950224846601486, -0.16142538189888, 0.079639732837677, 0.11502157896757126, 0.9877104759216309, -0.11339209228754044, -0.23934818804264069, -0.8772611021995544, 0.20355112850666046, 0.6961334943771362, 0.014402366243302822, 0.858724057674408, 0.7576900124549866, -0.1400679647922516, 0.2585292160511017, -0.5499721169471741, -0.008310881443321705, -0.5684020519256592, 0.29223716259002686, -0.47161340713500977, -0.61049884557724, 0.7029348611831665, -0.2166982889175415, -0.2848408818244934, 0.8769509196281433, 0.5968276858329773, -0.2510683834552765, 1.2017344236373901, 0.47762519121170044, -0.1555207073688507, 0.48128360509872437, -0.7283044457435608, 0.3261674642562866, -0.8642945289611816, -0.6681006550788879, -0.6223610043525696, -0.30864477157592773, -0.7151390910148621, -0.163986474275589, 0.3021661639213562, 0.3077446222305298, -0.3856993019580841, 0.48355159163475037, -0.8527730107307434, 0.024892132729291916, 0.43291622400283813, 0.38775768876075745, -0.0918111577630043, -0.048528704792261124, -0.466884046792984, 0.04203002154827118, -0.6938742399215698, -0.3119351863861084, 1.1264708042144775, 0.3401278257369995, 0.6216062903404236, -0.01904940791428089, 0.7110886573791504, 0.15097855031490326, -0.05917777121067047, -0.7245888113975525, 0.6073830127716064, 0.19070859253406525, -0.5490114688873291, -0.3905675709247589, -0.3140307664871216, -1.036162257194519, 0.39777255058288574, -0.23500989377498627, -0.9630305767059326, 0.39169061183929443, 0.09552107751369476, -0.3608575761318207, 0.3482053279876709, -0.8473943471908569, 1.0147980451583862, -0.27406007051467896, -0.37832945585250854, -0.01030673086643219, -0.7763431668281555, 0.10624837875366211, 0.10345916450023651, 0.2610451281070709, -0.1612692028284073, 0.15374772250652313, 0.9590226411819458, -1.1116777658462524, 0.5374200344085693, -0.2850430905818939, 0.1254349946975708, 0.5784196257591248, -0.32705891132354736, 0.7249340415000916, 0.05944327637553215, -0.047527849674224854, 0.2000705748796463, -0.011997316963970661, -0.41557881236076355, -0.19965660572052002, 0.907921314239502, -1.014119267463684, -0.4574854075908661, -0.5887161493301392, -0.1796410083770752, 0.2561483085155487, 0.4254610538482666, 0.7118430733680725, 0.1095263883471489, 0.04059191420674324, 0.2618701159954071, 0.4083394408226013, -0.3940746784210205, 0.7532389163970947, 0.17485417425632477, -0.02491028606891632, -0.5694580674171448, 0.8277794122695923, 0.320183128118515, 0.11860155314207077, 0.3297644555568695, 0.23515953123569489, -0.43316903710365295, -0.3759633004665375, -0.4371876120567322, 0.22513450682163239, -0.6290624737739563, -0.25534918904304504, -0.8430466055870056, -0.11319755762815475, -0.7669070363044739, -0.3472033143043518, -0.3471209406852722, -0.5631504058837891, -0.29617539048194885, -0.1492246389389038, 0.5853866338729858, 0.29278233647346497, -0.13962078094482422, 0.39853230118751526, -0.5905016660690308, 0.30894362926483154, 0.1093963012099266, 0.18231819570064545, 0.16310735046863556, -0.3944384753704071, -0.23241327702999115, 0.08318115770816803, -0.44682225584983826, -1.089311122894287, 0.6518926620483398, -0.36229684948921204, 0.5461317300796509, 0.365873247385025, -0.05258717015385628, 0.7921784520149231, -0.4002724885940552, 0.9082328081130981, 0.6122213006019592, -1.0165038108825684, 0.8083661198616028, -0.27042025327682495, 0.29224666953086853, 0.6019779443740845, 0.6323525905609131, -0.5285191535949707, -0.07190697640180588, -0.6718913316726685, -1.1096911430358887, 0.8785695433616638, 0.5382516980171204, -0.09089133143424988, 0.1207098737359047, 0.1508912444114685, -0.2711034119129181, 0.2933543920516968, -0.7752891182899475, -0.8353812098503113, -0.548774778842926, -0.17936500906944275, 0.1924477219581604, -0.047748081386089325, 0.07697828859090805, -0.7076147198677063, 0.8946934938430786, 0.31209713220596313, 0.725030243396759, 0.5596711039543152, -0.13989323377609253, -0.05193164199590683, 0.2680462598800659, 0.44941338896751404, 0.6421745419502258, -0.36542195081710815, -0.2189427763223648, 0.42767980694770813, -0.8349648118019104, 0.3536064624786377, -0.019600098952651024, -0.4175211489200592, 0.2455735057592392, 0.1135038286447525, 0.7494584321975708, 0.08445511013269424, -0.44156989455223083, 0.5331949591636658, 0.0058810655027627945, -0.2997000813484192, -0.6319663524627686, -0.025425905361771584, 0.043552499264478683, -0.01502606924623251, 0.36562472581863403, 0.1771019697189331, -0.1243128702044487, -0.5516446828842163, 0.07204264402389526, 0.2609785795211792, -0.4523577094078064, -0.10361512750387192, 0.6714428663253784, 0.049582354724407196, -0.25601398944854736, 0.48762068152427673, -0.0612952783703804, -0.8574800491333008, 1.1404216289520264, 0.6535184383392334, 0.8003416657447815, -0.5466682314872742, 0.1635921448469162, 0.9272064566612244, 0.21253879368305206, 0.07602733373641968, 0.5924021601676941, 0.1424284130334854, -0.6199309825897217, -0.10450995713472366, -0.7747442722320557, 0.09043163806200027, 0.47923585772514343, -0.5516541600227356, 0.34279879927635193, -0.6750137805938721, -0.3488031029701233, 0.12904174625873566, 0.1531912386417389, -0.8071417212486267, 0.5494630932807922, -0.2462722361087799, 0.8157925009727478, -0.9173316955566406, 0.6893496513366699, 0.7915065288543701, -0.6510522365570068, -0.9584488272666931, -0.006982401944696903, -0.25670725107192993, -0.779069721698761, 0.766070544719696, 0.19610899686813354, 0.15794838964939117, 0.08154043555259705, -0.4377460777759552, -1.1248178482055664, 1.3737529516220093, -0.06608672440052032, -0.47601401805877686, 0.35311946272850037, 0.24149134755134583, 0.4557972848415375, -0.08439543098211288, 0.4598083198070526, 0.4764866530895233, 0.7164302468299866, 0.03510753810405731, -0.8430653214454651, 0.5039912462234497, -0.42764347791671753, -0.14505533874034882, 0.31923729181289673, -1.1666477918624878, 1.1457449197769165, -0.17412453889846802, 0.03947504237294197, 0.08411284536123276, 0.571961522102356, 0.25574791431427, 0.20886655151844025, 0.5787237882614136, 0.6500052213668823, 0.5652261972427368, -0.20869967341423035, 0.9854406118392944, -0.3630905747413635, 0.5558479428291321, 0.5153943300247192, 0.21363410353660583, 0.47746536135673523, 0.5140386819839478, -0.6802861094474792, 0.6408038139343262, 0.6315659284591675, -0.44386985898017883, 0.7139699459075928, 0.09074608236551285, -0.3951980769634247, -0.10329847782850266, 0.06228393316268921, -0.6384472250938416, 0.3146000802516937, 0.20307990908622742, -0.5522060394287109, 0.12211775779724121, 0.12221156805753708, 0.28318899869918823, -0.1980905830860138, -0.5261712670326233, 0.4459630250930786, 0.07893481105566025, -0.7051488757133484, 0.7149496674537659, 0.0869244784116745, 0.6743306517601013, -0.5584646463394165, 0.05241955816745758, 0.08630490303039551, 0.22681020200252533, -0.427030086517334, -0.7187078595161438, -0.0532340444624424, -0.13317178189754486, -0.24421124160289764, -0.01928093098104, 0.8785830140113831, -0.059369031339883804, -0.7491773366928101, 0.3962462842464447, 0.1736690253019333, 0.26373594999313354, 0.11816416680812836, -0.9511853456497192, 0.0446670800447464, 0.2986413538455963, -0.4271470010280609, 0.3745249807834625, 0.24230413138866425, 0.21637706458568573, 0.6280306577682495, 0.8263813257217407, 0.0555109977722168, 0.2735464572906494, -0.02372436597943306, 1.0669329166412354, -0.7437461614608765, -0.6484173536300659, -0.984955370426178, 0.7005447745323181, -0.25731518864631653, -0.44090449810028076, 0.9937447309494019, 0.7603890895843506, 0.859796404838562, -0.2958786189556122, 1.1054333448410034, -0.4936636984348297, 0.4104992151260376, -0.5587064623832703, 0.9681660532951355, -0.5983404517173767, -0.0990804061293602, -0.5107353925704956, -0.6539325714111328, -0.011721412651240826, 0.9118705987930298, -0.2588222920894623, 0.34375789761543274, 0.73681640625, 0.6901997923851013, 0.07373882830142975, -0.030359521508216858, 0.010581446811556816, 0.5353597402572632, 0.13284876942634583, 0.6048564910888672, 0.4825681149959564, -0.9208630919456482, 0.6857633590698242, -0.7725072503089905, -0.004307661671191454, -0.5291059613227844, -0.5689594149589539, -0.9372773170471191, -0.2571537494659424, -0.47537586092948914, -0.4045576751232147, -0.19904077053070068, 0.9437502026557922, 0.5263136029243469, -1.0218526124954224, -0.21631187200546265, -0.3455441892147064, 0.23114843666553497, -0.44457951188087463, -0.3244551122188568, 0.8816283345222473, -0.20148825645446777, -0.8962889909744263, 0.13214893639087677, -0.14914505183696747, 0.2963668406009674, 0.18659718334674835, -0.15339434146881104, -0.5645773410797119, -0.07113859802484512, 0.6056910157203674, 0.29408079385757446, -0.5591662526130676, -0.24246948957443237, -0.07915390282869339, -0.09993238002061844, 0.27450206875801086, 0.3881223499774933, -0.606974720954895, 0.30315157771110535, 0.7899839878082275, 0.017534319311380386, 0.7454703450202942, 0.0221539419144392, 0.2676048278808594, -0.4748241901397705, 0.2341073900461197, 0.04533601179718971, 0.49988606572151184, -0.054364584386348724, -0.47782787680625916, 0.6168631315231323, 0.4877608120441437, -0.6959031224250793, -0.7766969799995422, -0.20230905711650848, -1.1968859434127808, -0.5207476615905762, 1.0474449396133423, -0.2009287029504776, -0.3985931873321533, -0.18377284705638885, -0.4628830552101135, 0.5979496836662292, -0.4606318473815918, 0.6387307643890381, 0.6777545213699341, -0.23924307525157928, 0.110614113509655, -0.7281493544578552, 0.5682472586631775, 0.6111236810684204, -0.755111038684845, -0.4624032974243164, 0.10386499017477036, 0.515598475933075, 0.4242969751358032, 0.8558852076530457, -0.016366956755518913, 0.25691455602645874, 0.006892431061714888, 0.23296783864498138, -0.007555374410003424, 0.042974043637514114, -0.09295633435249329, 0.1251610517501831, -0.4722375273704529, -0.7051911950111389 ]
hyunseoki/ko-ref-llama2-13b
hyunseoki
2023-10-04T07:03:44Z
7,073
1
transformers
[ "transformers", "pytorch", "llama", "text-generation", "ko", "endpoints_compatible", "text-generation-inference", "region:us" ]
text-generation
2023-10-04T06:38:18Z
--- language: - ko library_name: transformers pipeline_tag: text-generation --- **Model Developers** HyunseokLee, TaeyoungKim - (kaist alinlab, omnious.ai) **Input** Models input text only. **Output** Models generate text only. **Model Architecture** ko-ref-llama2-13b is an auto-regressive language model based on the LLaMA2 transformer architecture. **Base Model** Llama-2-13B **Training Dataset** Open dataset (Korean). **Training Objective** We trained the model to learn Korean corpus.
[ 0.05576629936695099, -0.771820068359375, 0.48468953371047974, 0.49660444259643555, -0.25012874603271484, 0.2455950677394867, -0.014985159039497375, -0.4055289030075073, 0.12791074812412262, 0.7179025411605835, -0.5523207187652588, -0.4965333640575409, -0.5615281462669373, 0.14622637629508972, -0.3697587549686432, 0.9370152950286865, -0.2343350648880005, 0.28075143694877625, 0.10068599134683609, 0.11500521004199982, -0.6142280697822571, -0.37752121686935425, -0.601991593837738, -0.41891902685165405, 0.2235441654920578, 0.7928758859634399, 0.707857608795166, 0.9299740791320801, 0.4744550883769989, 0.3163685202598572, 0.1494118869304657, -0.2053472101688385, -0.6821695566177368, 0.26093316078186035, -0.029718853533267975, -0.7492557168006897, -0.43816515803337097, -0.22486165165901184, 0.5145173072814941, 0.1594410389661789, -0.18801993131637573, 0.4768470525741577, -0.26227402687072754, 0.541823148727417, -0.3790457248687744, 0.4416741728782654, -0.6997839212417603, -0.18752306699752808, -0.20990601181983948, 0.42289912700653076, -0.5041627883911133, -0.45211994647979736, -0.2159150242805481, -0.4163832366466522, -0.07929837703704834, 0.09365731477737427, 1.1312655210494995, 0.5327045917510986, -0.5395261645317078, -0.4576808214187622, -0.6892879009246826, 0.6559909582138062, -0.6981016993522644, 0.5346745252609253, 0.6565356850624084, 0.30508342385292053, -0.15489903092384338, -0.7953426837921143, -0.4788966774940491, -0.2874681353569031, -0.0016442807391285896, 0.12621991336345673, -0.06736209243535995, -0.20332245528697968, -0.16089153289794922, 0.2915915846824646, -0.5182188153266907, 0.5424528121948242, -0.7840505838394165, -0.15016084909439087, 0.8415699005126953, 0.17154404520988464, 0.23658765852451324, -0.33396273851394653, -0.30899256467819214, -0.142239511013031, -0.606949508190155, -0.19169431924819946, 0.4427984356880188, 0.2136031538248062, -0.3085184097290039, 0.9557822942733765, -0.255312979221344, 0.3632822036743164, 0.2651342451572418, -0.4224339723587036, 0.4125329852104187, -0.15685462951660156, -0.44250619411468506, 0.14429491758346558, 0.885382890701294, 0.10174143314361572, 0.17176981270313263, -0.24318599700927734, -0.22967666387557983, 0.26377439498901367, 0.22124037146568298, -0.48221421241760254, -0.2276613414287567, 0.15050406754016876, -0.8300647735595703, -0.7792876958847046, -0.13963842391967773, -0.8449975252151489, -0.19675838947296143, -0.08955023437738419, 0.3584701716899872, -0.13718381524085999, -0.5517643690109253, -0.008977800607681274, 0.2090686559677124, 0.1639983355998993, -0.09357137978076935, -0.6965699791908264, 0.4408757984638214, 0.20362111926078796, 0.49865713715553284, -0.11262067407369614, -0.3506331443786621, 0.08181443810462952, -0.026886578649282455, -0.49423733353614807, 0.8146572113037109, -0.32977503538131714, -0.4873145520687103, 0.062039658427238464, 0.2178165316581726, -0.10693177580833435, -0.6379928588867188, 0.7086290717124939, -0.7405872941017151, 0.2881508469581604, 0.21859784424304962, -0.4859410226345062, -0.39304882287979126, -0.1757141649723053, -0.8813688158988953, 1.5101836919784546, 0.4481741786003113, -0.33316513895988464, 0.028293270617723465, -0.7626663446426392, -0.20734477043151855, -0.13252082467079163, 0.07195214182138443, -0.4229342043399811, 0.20509466528892517, -0.2046722173690796, 0.2955814599990845, -0.4459754526615143, 0.6640075445175171, -0.012374749407172203, 0.038711801171302795, 0.06903071701526642, -0.13816654682159424, 0.6450653672218323, 0.4520864188671112, -0.1874590516090393, 0.0806870311498642, -1.4321339130401611, -0.1220950111746788, 0.7030706405639648, -0.5627233982086182, -0.15000882744789124, -0.03299592807888985, 0.29415959119796753, 0.37111926078796387, 0.4098564386367798, -0.6106246709823608, 0.2968769669532776, -0.2568729519844055, 0.20890092849731445, 0.6790010333061218, -0.23325827717781067, 0.6620276570320129, -0.17446504533290863, 0.8014134764671326, 0.05751967802643776, -0.24910816550254822, -0.1933966875076294, -0.4513589143753052, -1.0995901823043823, -0.16380277276039124, 0.37931007146835327, 0.999718189239502, -0.594711184501648, 0.3651372790336609, 0.013272317126393318, -0.8884744644165039, -0.8020146489143372, 0.2432706356048584, 0.556071937084198, 0.5236891508102417, 0.15684393048286438, 0.17822745442390442, -0.9395756721496582, -1.1138194799423218, 0.15057122707366943, -0.5396119356155396, 0.1005772203207016, 0.1833154261112213, 0.6109931468963623, -0.461641401052475, 0.647420346736908, -0.42632627487182617, -0.09882442653179169, -0.47745010256767273, 0.05222140997648239, 0.2295733392238617, 0.42026492953300476, 0.49011439085006714, -0.5350300073623657, -0.5667972564697266, -0.10990080237388611, -0.7392652034759521, -0.7105696201324463, -0.13762831687927246, -0.31691643595695496, 0.465851366519928, 0.6878560185432434, -0.7834136486053467, 0.5208696126937866, 0.8025215864181519, -0.48056358098983765, 0.4837762713432312, 0.18811161816120148, -0.27280163764953613, -1.4560863971710205, -0.025976626202464104, -0.3408331274986267, -0.2209945023059845, -0.5844502449035645, 0.08208061754703522, 0.11604902893304825, 0.060443952679634094, -0.26348355412483215, 0.7204387187957764, -0.2976325452327728, -0.040053047239780426, -0.49212390184402466, -0.015768414363265038, -0.08174926042556763, 0.39991092681884766, 0.18595263361930847, 0.7478868365287781, 0.25166353583335876, -0.7369160652160645, 0.38476064801216125, 0.6576359868049622, -0.3824723958969116, 0.11948247253894806, -0.8229754567146301, 0.2357449233531952, -0.10986211150884628, 0.1255142241716385, -1.3062869310379028, -0.523678183555603, 0.440746009349823, -0.5041849613189697, 0.22800570726394653, 0.1777157336473465, -0.6422553062438965, -0.607367217540741, -0.01784053072333336, 0.26770511269569397, 0.63492751121521, -0.5187591910362244, 0.6521382331848145, 0.28740155696868896, -0.25625619292259216, -0.37290096282958984, -0.8166366815567017, -0.0803050696849823, -0.010317526757717133, -0.48654988408088684, 0.28693342208862305, -0.01158875785768032, -0.2991141080856323, 0.07158845663070679, 0.26497161388397217, -0.31281471252441406, 0.109485924243927, 0.3870624005794525, 0.649520993232727, -0.48622313141822815, 0.1811905801296234, 0.23812754452228546, -0.08496035635471344, -0.008101586252450943, 0.27389469742774963, 0.8774173855781555, 0.10471490770578384, -0.16701889038085938, -0.6201779842376709, 0.09657321870326996, 0.38936668634414673, 0.09066858142614365, 0.6308724880218506, 0.44286519289016724, -0.2263137400150299, 0.1375965178012848, -0.5381500124931335, 0.19155466556549072, -0.4970744848251343, 0.89302659034729, -0.6273980140686035, -0.7168424725532532, 0.6057236194610596, -0.18834024667739868, -0.0315178744494915, 0.8650635480880737, 1.1335647106170654, 0.20614659786224365, 0.8670548796653748, 0.8477266430854797, -0.19537073373794556, 0.18892531096935272, 0.11184626817703247, 0.16586202383041382, -0.7770475149154663, -0.5526465773582458, -0.6597128510475159, -0.18597367405891418, -0.5876968502998352, -0.1755984127521515, -0.3214966356754303, 0.37772125005722046, -0.6050764918327332, 0.6911107301712036, -0.421477347612381, 0.3345659375190735, 0.7174306511878967, -0.22566565871238708, 0.1376344859600067, -0.14548251032829285, -0.128499373793602, 0.19828425347805023, -0.6864965558052063, -0.8360354900360107, 1.3113775253295898, 0.681428074836731, 1.0373644828796387, 0.10699984431266785, 0.637131929397583, 0.11116781085729599, 0.253750741481781, -0.7580358982086182, 0.4595392644405365, 0.11155672371387482, -0.7671681642532349, -0.06167329102754593, -0.02754838764667511, -0.8719151020050049, -0.07925873249769211, 0.10449177771806717, -0.6922339797019958, 0.1724996715784073, 0.12089850008487701, -0.055400099605321884, 0.18289412558078766, -0.7151412963867188, 0.6527010798454285, -0.3748948574066162, 0.23236189782619476, 0.16233623027801514, -0.5441106557846069, 0.5267142653465271, -0.36726072430610657, 0.09586186707019806, -0.08906738460063934, -0.15561310946941376, 0.6416485905647278, -0.01852577179670334, 0.8340668678283691, -0.09971386194229126, -0.23987331986427307, 0.4502949118614197, 0.3847726881504059, 0.510848879814148, -0.031731441617012024, 0.04324500262737274, 0.24710726737976074, -0.24992305040359497, -0.07147541642189026, -0.19677256047725677, 0.5298574566841125, -1.1118463277816772, -0.44690537452697754, -0.27778106927871704, -0.4953610897064209, -0.09444169700145721, 0.2739737033843994, 0.3551882207393646, -0.30045902729034424, -0.32648736238479614, 0.003979949280619621, 0.28345251083374023, -0.3463175892829895, 0.46424591541290283, 0.7494444847106934, -0.631894052028656, -0.7802690863609314, 0.633083164691925, -0.07078852504491806, 0.2917599380016327, 0.20296716690063477, 0.07880301773548126, -0.3626037836074829, -0.20426952838897705, -0.6478145122528076, 0.4279147982597351, -0.7003329992294312, -0.5646529197692871, -0.6086476445198059, -0.5707740187644958, -0.6672487258911133, 0.11602305620908737, -0.6846476793289185, -0.5617750883102417, -0.5877031683921814, -0.39583244919776917, 0.2275957614183426, 1.2064485549926758, -0.11058710515499115, 0.8601181507110596, -0.6955379247665405, 0.41612812876701355, 0.11027389764785767, 0.3021416962146759, -0.09196227043867111, -0.7612388730049133, -0.19518721103668213, -0.061379581689834595, -0.42132139205932617, -0.8359345197677612, 0.6813187003135681, 0.27135443687438965, 0.5382195711135864, 0.34067004919052124, -0.2421032339334488, 0.4392792582511902, -0.7013699412345886, 0.9141179323196411, 0.03909328207373619, -0.8439757823944092, 0.5281534194946289, -0.1098996102809906, 0.39542156457901, 0.3726796507835388, 0.37362757325172424, -0.3565758466720581, -0.2167070358991623, -0.6111759543418884, -0.6195124983787537, 0.9295815229415894, 0.19711339473724365, 0.2505432963371277, -0.10064062476158142, 0.48428839445114136, 0.3100484609603882, 0.26929971575737, -1.0867078304290771, -0.29112154245376587, -0.44501835107803345, -0.7292965650558472, 0.13860294222831726, -0.7614947557449341, 0.25891047716140747, -0.009511741809546947, 0.8397819995880127, 0.10492584109306335, 0.6445379257202148, 0.044456083327531815, -0.16780924797058105, -0.38827911019325256, -0.05406464636325836, 0.7239969968795776, 0.1278003454208374, -0.1169201210141182, -0.18304850161075592, -0.001909373328089714, -0.7226751446723938, 0.34996312856674194, -0.08769144862890244, -0.47723090648651123, 0.12616047263145447, 0.3317650556564331, 1.1506505012512207, 0.07724025100469589, -0.6538029909133911, -0.003462577238678932, 0.21070536971092224, -0.37226301431655884, -0.5652450919151306, -0.04922095686197281, 0.13721716403961182, 0.3819850981235504, 0.17525693774223328, -0.05978965014219284, -0.03272947296500206, -0.23699232935905457, 0.027561461552977562, -0.038970738649368286, -0.08188065886497498, -0.5722870826721191, 0.9366490840911865, 0.028621621429920197, -0.4863899052143097, 0.6622248888015747, -0.07571369409561157, -0.5902743339538574, 0.8372189998626709, 1.23525869846344, 0.8937606811523438, -0.673815131187439, 0.31804221868515015, 0.5340505838394165, 0.29779404401779175, -0.2372818887233734, 0.6367685794830322, 0.3987993001937866, -0.8843294382095337, -0.2874470055103302, -0.6818689703941345, -0.1144867092370987, 0.4277271032333374, -0.7433924674987793, 0.5236647129058838, -0.3564261496067047, -0.1550058126449585, -0.03260190039873123, -0.18271486461162567, -0.5566744208335876, 0.23988685011863708, 0.2202598750591278, 1.0284489393234253, -0.8316603899002075, 1.053300142288208, 0.7819585800170898, -0.5503079891204834, -0.7480869293212891, -0.33682021498680115, -0.06424373388290405, -1.3971872329711914, 1.3519631624221802, -0.038934871554374695, 0.18359430134296417, 0.1275404542684555, -0.9095810651779175, -1.471738576889038, 1.1188699007034302, 0.1424945890903473, -0.5447741150856018, -0.15579822659492493, 0.1989537924528122, 0.3764203190803528, -0.6684991121292114, -0.054551392793655396, 0.4996645152568817, 0.4335819184780121, -0.03612998500466347, -1.1401399374008179, -0.3071974217891693, -0.35051229596138, 0.20558997988700867, -0.08862059563398361, -0.962137758731842, 0.9238272905349731, -0.012790067121386528, -0.08921536803245544, 0.662458062171936, 0.7649105787277222, 0.2550044655799866, 0.0483994260430336, 0.3871440589427948, 0.7226358652114868, 0.6212587356567383, 0.15831708908081055, 0.7771427631378174, -0.4837839603424072, 0.3057979941368103, 1.5181738138198853, -0.45512664318084717, 1.006995439529419, 0.1836775541305542, -0.20606353878974915, 0.7399988174438477, 0.8980095386505127, -0.34928250312805176, 0.7781985998153687, 0.13503924012184143, 0.2819536328315735, 0.043750323355197906, -0.09131187200546265, -0.2810615003108978, 0.9368046522140503, 0.26952415704727173, -0.7108070254325867, 0.004360042046755552, 0.007143055088818073, 0.43688198924064636, -0.027958327904343605, -0.23547574877738953, 0.8101850152015686, -0.1387510895729065, -0.49423351883888245, 0.39509886503219604, 0.4230024218559265, 0.4765162169933319, -0.628110945224762, -0.03764824569225311, -0.18778245151042938, 0.12783628702163696, -0.023520490154623985, -0.4972458481788635, 0.339831680059433, 0.09615595638751984, -0.44567492604255676, 0.1568658947944641, 1.0729525089263916, -0.5274878740310669, -0.8034048080444336, 0.33830541372299194, 0.4306279420852661, 0.07386235892772675, 0.2304491400718689, -0.7635596394538879, 0.25864291191101074, 0.055080585181713104, -0.4548352360725403, 0.1285749226808548, 0.3203267455101013, -0.19478201866149902, 0.7964046001434326, 0.42361438274383545, -0.013779303058981895, 0.25378814339637756, -0.03910773992538452, 0.8692117929458618, -0.5231934785842896, -0.17153283953666687, -0.7965840101242065, 0.3493547737598419, 0.046538516879081726, -0.4614865779876709, 0.7047878503799438, 0.6762043833732605, 0.8864099979400635, -0.3652125895023346, 0.7838557958602905, -0.1713409274816513, 0.7936009168624878, -0.31766921281814575, 0.6157615780830383, -0.2652968466281891, -0.1688309907913208, -0.07503755390644073, -0.965704083442688, -0.1673206388950348, 0.8758342862129211, 0.11471696197986603, -0.13350984454154968, 0.5742958784103394, 0.6532642841339111, 0.21452683210372925, -0.11751686036586761, 0.37244096398353577, 0.6030905246734619, -0.026441140100359917, 0.32417571544647217, 0.6799635887145996, -0.7908006906509399, 0.47371482849121094, -0.4027668237686157, -0.15999597311019897, -0.15555214881896973, -0.6743626594543457, -1.0364314317703247, -0.5187442302703857, -0.1801016926765442, -0.6061666011810303, -0.15058477222919464, 0.9927403330802917, 0.33094555139541626, -0.8804025650024414, -0.45229822397232056, -0.11272983253002167, -0.17014147341251373, 0.27018076181411743, -0.24096009135246277, 0.4782634377479553, -0.3907596170902252, -0.6874322891235352, 0.4515998363494873, -0.06556173413991928, 0.2615240812301636, -0.4849703311920166, -0.14786043763160706, -0.24222873151302338, 0.16647088527679443, 0.5281059145927429, 0.1822930872440338, -0.8509228825569153, 0.08946493268013, 0.36429083347320557, -0.22143417596817017, 0.15035036206245422, 0.37741580605506897, -0.7436926364898682, 0.18322113156318665, 0.2707611322402954, 0.612278401851654, 0.2019803524017334, 0.0025351038202643394, 0.6827321648597717, -0.36217185854911804, 0.3617137670516968, -0.029390644282102585, 0.20393764972686768, 0.13662657141685486, -0.5571916699409485, 0.783928394317627, 0.2507251501083374, -0.7398263216018677, -0.7699598073959351, 0.15935394167900085, -0.8397695422172546, -0.16596370935440063, 1.4432873725891113, 0.0433691181242466, -0.4760066568851471, -0.09077423810958862, -0.6483815908432007, 0.42565661668777466, -0.38517290353775024, 0.77644944190979, 0.8202024698257446, 0.042090851813554764, -0.2563698887825012, -0.5896970629692078, 0.37603825330734253, 0.05939555913209915, -0.6366317272186279, -0.24083168804645538, 0.3692883849143982, 0.28010958433151245, 0.18101561069488525, 0.58994460105896, -0.12447038292884827, 0.14218394458293915, 0.2068987786769867, 0.4166907072067261, -0.05433858186006546, -0.3510820269584656, -0.19989237189292908, -0.2380181849002838, -0.00839949306100607, -0.33769530057907104 ]
mdraw/german-news-sentiment-bert
mdraw
2023-03-17T14:29:53Z
7,062
4
transformers
[ "transformers", "pytorch", "jax", "safetensors", "bert", "text-classification", "endpoints_compatible", "region:us" ]
text-classification
2022-03-02T23:29:05Z
# German sentiment BERT finetuned on news data Sentiment analysis model based on https://huggingface.co/oliverguhr/german-sentiment-bert, with additional training on German news texts about migration. This model is part of the project https://github.com/text-analytics-20/news-sentiment-development, which explores sentiment development in German news articles about migration between 2007 and 2019. Code for inference (predicting sentiment polarity) on raw text can be found at https://github.com/text-analytics-20/news-sentiment-development/blob/main/sentiment_analysis/bert.py If you are not interested in polarity but just want to predict discrete class labels (0: positive, 1: negative, 2: neutral), you can also use the model with Oliver Guhr's `germansentiment` package as follows: First install the package from PyPI: ```bash pip install germansentiment ``` Then you can use the model in Python: ```python from germansentiment import SentimentModel model = SentimentModel('mdraw/german-news-sentiment-bert') # Examples from our validation dataset texts = [ '[...], schwärmt der parteilose Vizebürgermeister und Historiker Christian Matzka von der "tollen Helferszene".', 'Flüchtlingsheim 11.05 Uhr: Massenschlägerei', 'Rotterdam habe einen Migrantenanteil von mehr als 50 Prozent.', ] result = model.predict_sentiment(texts) print(result) ``` The code above will print: ```python ['positive', 'negative', 'neutral'] ```
[ -0.5607121586799622, -0.6128253936767578, 0.352890282869339, 0.42590147256851196, -0.3833875358104706, -0.29011034965515137, -0.18353325128555298, -0.17691148817539215, 0.2991284132003784, 0.045067816972732544, -0.8456581830978394, -0.806801438331604, -0.3663334250450134, -0.05067380890250206, -0.14861921966075897, 1.5988283157348633, 0.2161172777414322, 0.6399907469749451, -0.19614635407924652, -0.28188207745552063, 0.09436202049255371, -0.7494020462036133, -0.46093985438346863, -0.6625385284423828, 0.7659305334091187, 0.2397357076406479, 0.5778617858886719, -0.08744190633296967, 0.493974894285202, 0.22298485040664673, -0.24307776987552643, -0.5094543099403381, -0.08058664947748184, -0.10596516728401184, -0.25705552101135254, -0.4303587079048157, -0.40911218523979187, 0.3320874869823456, 0.39028701186180115, 0.6019840240478516, -0.02437664195895195, 0.24656300246715546, -0.0024695834144949913, 0.526980996131897, -0.11335422098636627, 0.3732180595397949, -0.35402682423591614, -0.04583480581641197, -0.09358666837215424, 0.38027629256248474, -0.3134753704071045, -0.4713214933872223, 0.45089203119277954, -0.16927778720855713, 0.29572635889053345, -0.25877898931503296, 1.3368539810180664, 0.025294659659266472, -0.6036890745162964, -0.2363150417804718, -0.38023608922958374, 1.1905503273010254, -1.0244529247283936, 0.16656149923801422, 0.2269481122493744, 0.17308929562568665, -0.02300170436501503, -0.5574682950973511, -0.5579142570495605, -0.06912289559841156, 0.07025308907032013, 0.29592275619506836, 0.010234590619802475, -0.07787593454122543, 0.0019192356849089265, 0.3573666512966156, -0.4742822051048279, -0.0552033893764019, -0.46190816164016724, -0.2367568165063858, 0.649053692817688, 0.08496756106615067, 0.024267923086881638, -0.3689219653606415, -0.45643559098243713, -0.24152685701847076, -0.17331890761852264, 0.2780916690826416, 0.5055649876594543, 0.4467320442199707, -0.5547917485237122, 0.5449361205101013, -0.1336306929588318, 0.6236023306846619, 0.048095639795064926, -0.002549791010096669, 0.762021005153656, 0.022303259000182152, 0.04377395287156105, -0.09003069251775742, 0.7266647219657898, 0.6300727128982544, 0.288127064704895, 0.1231643557548523, -0.36271795630455017, 0.45568224787712097, -0.05968362092971802, -0.9388627409934998, -0.4770982265472412, 0.4898916184902191, -0.7200953960418701, -0.6720757484436035, -0.02697846107184887, -0.9140599966049194, -0.36558854579925537, -0.30737408995628357, 0.38476279377937317, -0.3570275902748108, -0.15610641241073608, 0.10236281156539917, -0.4317806363105774, 0.5965907573699951, 0.2812022864818573, -0.6503505706787109, -0.18190443515777588, 0.4932316839694977, 0.6078235507011414, -0.0033664267975836992, -0.28181973099708557, -0.04944285377860069, -0.47614625096321106, -0.13797207176685333, 0.8241494297981262, -0.32725927233695984, -0.032175417989492416, 0.108178049325943, 0.20204123854637146, 0.08568873256444931, -0.1277180165052414, 0.8542495369911194, -0.715258777141571, 0.8127474784851074, -0.0758017972111702, -0.5538610219955444, -0.6270885467529297, 0.40818294882774353, -0.40906211733818054, 0.6954666376113892, 0.34386301040649414, -1.0516409873962402, 0.19488084316253662, -0.7335880398750305, -0.7364981174468994, -0.35019123554229736, 0.29202234745025635, -0.7358778715133667, -0.04538453742861748, 0.18503959476947784, 0.5990676283836365, -0.011027432978153229, 0.4365170896053314, -0.7407459020614624, -0.04052779823541641, 0.3829409182071686, -0.2784382104873657, 1.3506966829299927, 0.38010719418525696, -0.17275017499923706, 0.019029056653380394, -0.9652882814407349, -0.07520730048418045, -0.21289139986038208, -0.5813512802124023, -0.3584199845790863, 0.25239765644073486, 0.2836892902851105, 0.27389299869537354, 0.42670780420303345, -0.8738117218017578, 0.29106274247169495, -0.35017019510269165, 0.4194647967815399, 0.7769115567207336, 0.07472831010818481, 0.5142651796340942, -0.2516446113586426, 0.2888795733451843, 0.22515557706356049, 0.16870194673538208, 0.2043701857328415, -0.7539647817611694, -0.7519680857658386, -0.23985040187835693, 0.4639884829521179, 0.8150634765625, -0.703555166721344, 0.6821985244750977, -0.06028329208493233, -0.7298060655593872, -0.5482181906700134, -0.2608461380004883, -0.17379958927631378, 0.5642147660255432, 0.26971864700317383, -0.06258399784564972, -0.7459529638290405, -0.8368501663208008, -0.14576204121112823, -0.3966944217681885, -0.0188728179782629, 0.04920533299446106, 0.6447423100471497, -0.709889829158783, 1.0454648733139038, -0.531919538974762, -0.2047257423400879, -0.042603738605976105, 0.5871779322624207, 0.9023277759552002, 0.5659000277519226, 0.6682248115539551, -0.7343278527259827, -0.5537334084510803, -0.2858911156654358, -0.6043249368667603, -0.1970393806695938, -0.14753204584121704, -0.07999815791845322, 0.45609456300735474, -0.05189545452594757, -0.5612882971763611, 0.026720644906163216, 0.6428316235542297, -0.6398751735687256, 0.5936465263366699, 0.20848536491394043, -0.14807693660259247, -1.1728054285049438, 0.06318240612745285, 0.3958030641078949, -0.1926061511039734, -0.538058340549469, -0.025383267551660538, -0.03579573333263397, -0.086687833070755, -0.4549488425254822, 0.648878812789917, -0.018640119582414627, 0.24191814661026, 0.05098024010658264, -0.3486816883087158, -0.03353675454854965, 0.4617093801498413, 0.1956423819065094, 0.41409170627593994, 0.6550535559654236, -0.3174504041671753, 0.49067988991737366, 0.3589296042919159, -0.38998568058013916, 0.47592249512672424, -0.4744580388069153, -0.1108572706580162, -0.24348217248916626, 0.17248128354549408, -0.9436073899269104, -0.07054336369037628, 0.3474423289299011, -0.6618672609329224, 0.18858399987220764, -0.2791900336742401, -0.4018290638923645, -0.4667070209980011, -0.4929407238960266, 0.07067137956619263, 0.7267745137214661, -0.5093022584915161, 0.5321052074432373, 0.30137914419174194, -0.33373743295669556, -0.5779479146003723, -0.7182121276855469, -0.027652407065033913, -0.2850021719932556, -0.6457764506340027, -0.02902481146156788, -0.18472574651241302, -0.31054943799972534, 0.14102372527122498, 0.1138814240694046, -0.3840984106063843, 0.08720395714044571, -0.08264181762933731, 0.5891452431678772, -0.25295138359069824, 0.02336983010172844, 0.18175867199897766, -0.09266076982021332, 0.42866453528404236, -0.056921713054180145, 0.5808302760124207, -0.607689619064331, 0.14374294877052307, -0.4547489881515503, 0.013455920852720737, 0.7573727965354919, -0.016761580482125282, 0.7631121873855591, 1.0249788761138916, -0.12056337296962738, -0.05142173171043396, -0.3612237572669983, -0.4194745719432831, -0.4218757748603821, 0.28268858790397644, -0.14724576473236084, -0.43951842188835144, 0.5943624377250671, 0.16473621129989624, 0.049853261560201645, 0.713619589805603, 0.5640010833740234, -0.4885734021663666, 1.2990142107009888, 0.592527449131012, -0.42074477672576904, 0.5543533563613892, -0.35185644030570984, 0.14923225343227386, -0.3153458535671234, -0.17392949759960175, -0.4840042293071747, -0.27296268939971924, -0.797070324420929, -0.020437849685549736, 0.13557523488998413, 0.0023876074701547623, -0.4371410608291626, 0.11650180071592331, -0.4532339870929718, 0.10344835370779037, 0.6895976066589355, 0.042789801955223083, -0.06797907501459122, 0.4384646415710449, 0.06341908872127533, -0.22407779097557068, -0.6424543261528015, -0.517361044883728, 0.9311184883117676, 0.6680686473846436, 1.070465326309204, -0.20165608823299408, 0.8592469692230225, 0.31540459394454956, 0.6568042635917664, -0.996793806552887, 0.5139228105545044, -0.47852063179016113, -0.9009769558906555, -0.03735693544149399, -0.5005599856376648, -0.7269260883331299, 0.19058376550674438, -0.2034127116203308, -0.40511736273765564, 0.32839930057525635, -0.23617926239967346, -0.09292744100093842, 0.19735582172870636, -0.5253304839134216, 0.817267656326294, -0.105115607380867, -0.10409446805715561, -0.3035287857055664, -0.7233059406280518, 0.10734374076128006, 0.05549002066254616, 0.45464614033699036, -0.320102334022522, 0.08976467698812485, 0.9346460103988647, -0.2078995555639267, 1.3837933540344238, -0.5491339564323425, -0.20133279263973236, 0.402759850025177, -0.17569519579410553, 0.3279251754283905, -0.03553807735443115, -0.47676095366477966, 0.6159238219261169, 0.12190297245979309, -0.5032498240470886, -0.026621518656611443, 0.7371265292167664, -1.1129405498504639, -0.1949888914823532, -0.8092101216316223, -0.6130157113075256, 0.0239583607763052, 0.4066314995288849, 0.30701783299446106, 0.29337820410728455, -0.03318190202116966, 0.16556282341480255, 0.4779432415962219, -0.18036870658397675, 0.5027028918266296, 0.7200350165367126, -0.1513354331254959, -0.6376418471336365, 1.0584319829940796, 0.13970747590065002, -0.19588199257850647, 0.17779771983623505, 0.6309177875518799, -0.369091659784317, -0.1581774652004242, -0.32328495383262634, 0.3428094983100891, -0.6967281103134155, -0.14570574462413788, -0.3877796530723572, -0.3115418255329132, -0.4727303087711334, -0.24611978232860565, -0.14455513656139374, -0.6207115054130554, -0.49939367175102234, -0.022585583850741386, 0.3787943124771118, 0.5101419687271118, -0.33554959297180176, 0.3027716279029846, -0.7807483673095703, 0.19986383616924286, 0.22693580389022827, 0.3987903892993927, -0.27189838886260986, -0.5444860458374023, -0.23964570462703705, 0.10673248022794724, -0.500823438167572, -0.9507998824119568, 0.5920125246047974, -0.00931872334331274, 0.5023747682571411, 0.6350516676902771, 0.2680472433567047, 0.09271851927042007, -0.10882064700126648, 1.0221266746520996, 0.1728859692811966, -0.8817538619041443, 0.48884204030036926, -0.6807429790496826, 0.10838644206523895, 0.30124518275260925, 0.5494991540908813, -0.4327053427696228, -0.6244587898254395, -0.6528778672218323, -0.9274922609329224, 0.7754908800125122, 0.06096829101443291, 0.2840374708175659, 0.015172361396253109, 0.27319392561912537, 0.2645079791545868, 0.3546198308467865, -1.455430030822754, -0.48426640033721924, -0.4754607677459717, -0.5187530517578125, -0.24706481397151947, -0.31466400623321533, -0.10612762719392776, -0.6542778015136719, 1.1838796138763428, 0.11266905069351196, 0.2003004252910614, 0.1501120626926422, 0.1484111249446869, -0.05689651146531105, 0.3781108856201172, 0.31026512384414673, 0.3513231575489044, -0.683590829372406, 0.04120698943734169, 0.15256932377815247, -0.2990492880344391, 0.1574431210756302, 0.2834930717945099, -0.40045398473739624, 0.2958224415779114, 0.22162245213985443, 0.6369266510009766, -0.37191903591156006, -0.2676519453525543, 0.660379946231842, 0.06209404766559601, -0.27866223454475403, -0.6369889378547668, -0.3203607499599457, 0.07147039473056793, 0.3288150429725647, 0.19521598517894745, 0.20622090995311737, 0.07024011760950089, -0.48774710297584534, 0.0687507912516594, 0.43272724747657776, -0.6379087567329407, -0.5024031400680542, 0.5935943722724915, 0.3998032808303833, 0.00993271078914404, 0.7851270437240601, -0.4272375702857971, -0.7741090655326843, 0.6865917444229126, 0.47882482409477234, 0.886782705783844, -0.05389050394296646, 0.4901643693447113, 0.5054919123649597, 0.3237033486366272, -0.01982312649488449, 0.7949313521385193, 0.08707030862569809, -0.9166826605796814, -0.3051990270614624, -0.7178288102149963, -0.26392197608947754, 0.22779251635074615, -0.829291045665741, 0.4646958112716675, -0.31647390127182007, -0.44431304931640625, -0.003806553315371275, 0.1390584409236908, -0.39757055044174194, 0.3411098122596741, 0.4409385323524475, 1.0475919246673584, -1.3939701318740845, 0.9964566826820374, 1.2275776863098145, -0.42383044958114624, -0.35167163610458374, 0.05451250821352005, -0.22108691930770874, -0.42428216338157654, 0.46605783700942993, 0.4266674220561981, 0.12118911743164062, -0.11343373358249664, -0.7742273211479187, -0.5779451727867126, 0.6664767861366272, 0.028768684715032578, -0.407596617937088, 0.14529117941856384, -0.06494290381669998, 0.7777894139289856, -0.05064656585454941, 0.01480168104171753, 0.4386051893234253, 0.6811010837554932, -0.4893438518047333, -0.23258870840072632, -0.28627127408981323, -0.35736483335494995, -0.2755264341831207, 0.03906819969415665, -0.6514443159103394, 1.3872700929641724, -0.07242055237293243, 0.0690942108631134, 0.10567865520715714, 0.6469535231590271, -0.08831251412630081, 0.4865438640117645, 0.5664153695106506, 0.7009496688842773, 0.5588116645812988, -0.2275945544242859, 0.9022137522697449, -0.5135289430618286, 0.9714842438697815, 0.7963608503341675, -0.108192078769207, 0.7920333743095398, 0.5774315595626831, -0.34483572840690613, 1.1313154697418213, 0.7839962840080261, -0.5957819819450378, 0.9212353825569153, 0.0006679550861008465, -0.3749445080757141, -0.3317844867706299, 0.099928118288517, -0.39247751235961914, 0.21687738597393036, 0.2574673593044281, -0.22560185194015503, -0.5026916861534119, 0.14390332996845245, 0.11765430867671967, -0.37356555461883545, -0.34771665930747986, 0.6248147487640381, 0.09076903760433197, -0.5964078307151794, 0.5188313126564026, 0.25542768836021423, 0.8263278603553772, -0.5107767581939697, 0.11209437251091003, -0.2043936550617218, 0.3649109899997711, -0.3437224328517914, -1.2066168785095215, 0.14257584512233734, -0.13738882541656494, -0.46792665123939514, -0.14393797516822815, 0.8885513544082642, -0.45151054859161377, -0.7948737144470215, 0.3767557144165039, 0.41275539994239807, 0.2613068222999573, 0.048112887889146805, -0.9149250388145447, -0.33882659673690796, 0.3324260115623474, -0.6123404502868652, 0.22477814555168152, 0.30976882576942444, 0.05697932466864586, 0.5592743754386902, 0.6125321984291077, 0.09877120703458786, -0.16259220242500305, 0.1953388750553131, 0.8911469578742981, -0.7159752249717712, -0.737487256526947, -0.9239625930786133, 0.6104938387870789, -0.00021150874090380967, -0.16269303858280182, 0.7034267783164978, 0.6595068573951721, 0.6397495865821838, -0.47567829489707947, 0.986080527305603, -0.24237531423568726, 0.5804649591445923, -0.11315561830997467, 0.9136234521865845, -0.45800113677978516, -0.04862557351589203, -0.10911951214075089, -0.7925647497177124, -0.15284954011440277, 0.9009039998054504, -0.5113633275032043, -0.2724253833293915, 0.43099212646484375, 0.7041418552398682, -0.067998006939888, -0.029734153300523758, -0.16789820790290833, 0.43825283646583557, 0.17078103125095367, 0.16348524391651154, 0.9261298179626465, -0.24650989472866058, 0.4859215319156647, -0.7604173421859741, -0.4295889735221863, -0.2000422477722168, -0.9468125104904175, -1.0981353521347046, -0.4997512996196747, -0.49191540479660034, -0.7587171196937561, -0.1582699865102768, 0.7613625526428223, 0.5709453225135803, -1.2133784294128418, -0.3485357463359833, -0.016928302124142647, 0.24997025728225708, -0.07269573956727982, -0.3789472281932831, 0.4282102584838867, -0.6530270576477051, -0.6484555602073669, -0.0702206939458847, -0.4007335901260376, 0.2848953902721405, -0.18594682216644287, 0.10365324467420578, -0.14050066471099854, 0.12210125476121902, 0.6390165090560913, 0.17548123002052307, -0.5498978495597839, -0.32079017162323, -0.3424146771430969, -0.31538036465644836, 0.13731266558170319, 0.3569408059120178, -0.6329343914985657, 0.16566048562526703, 0.746920645236969, 0.22313763201236725, 0.2907315492630005, -0.01915149949491024, 0.43253853917121887, -0.747631847858429, 0.23248958587646484, 0.25424930453300476, 0.42234888672828674, 0.31012195348739624, -0.1968095302581787, 0.33289673924446106, 0.3566720187664032, -0.6117557287216187, -0.7324953079223633, -0.04438931494951248, -1.014412760734558, -0.4363414943218231, 1.2396008968353271, -0.16978752613067627, -0.27933284640312195, 0.03307380527257919, -0.32314491271972656, 0.28984561562538147, -0.7171317934989929, 0.9138842821121216, 0.8564769625663757, -0.09877680242061615, 0.21816317737102509, -0.367486834526062, 0.21929289400577545, 0.496149480342865, -0.5222599506378174, -0.16334816813468933, 0.29013434052467346, 0.6757723689079285, 0.2050463706254959, 0.2779860198497772, 0.01721155270934105, 0.22574558854103088, 0.024298449978232384, 0.575717031955719, 0.2708633840084076, -0.011290383525192738, -0.6051329374313354, 0.0346762090921402, -0.157027006149292, -0.3596873879432678 ]
sudo-ai/zero123plus-v1.1
sudo-ai
2023-09-24T22:43:22Z
7,053
19
diffusers
[ "diffusers", "art", "image-to-image", "dataset:allenai/objaverse", "license:openrail", "has_space", "diffusers:Zero123PlusPipeline", "region:us" ]
image-to-image
2023-09-23T03:55:07Z
--- license: openrail datasets: - allenai/objaverse library_name: diffusers pipeline_tag: image-to-image tags: - art --- Recommended version of `diffusers` is `0.20.2` with `torch` `2`. Usage Example: ```python import torch import requests from PIL import Image from diffusers import DiffusionPipeline, EulerAncestralDiscreteScheduler # Load the pipeline pipeline = DiffusionPipeline.from_pretrained( "sudo-ai/zero123plus-v1.1", custom_pipeline="sudo-ai/zero123plus-pipeline", torch_dtype=torch.float16 ) # Feel free to tune the scheduler pipeline.scheduler = EulerAncestralDiscreteScheduler.from_config( pipeline.scheduler.config, timestep_spacing='trailing' ) pipeline.to('cuda:0') # Run the pipeline cond = Image.open(requests.get("https://d.skis.ltd/nrp/sample-data/lysol.png", stream=True).raw) result = pipeline(cond).images[0] result.show() result.save("output.png") ```
[ -0.3939278721809387, -0.3953593969345093, 0.23583899438381195, 0.7076506614685059, -0.4376040995121002, -0.27524957060813904, 0.14789876341819763, -0.22943389415740967, -0.025484560057520866, 0.34170255064964294, -0.3028094470500946, -0.2186240553855896, -0.6607021689414978, -0.15183019638061523, -0.4936215877532959, 0.8960755467414856, -0.2597901225090027, -0.0701548382639885, 0.35250598192214966, -0.17040413618087769, -0.14976438879966736, 0.2817569375038147, -1.0596768856048584, -0.4286494553089142, 0.6802612543106079, 0.08566725254058838, 0.4730740189552307, 0.2191251963376999, 0.3647819459438324, 0.2642299234867096, -0.1385825276374817, 0.07077469676733017, -0.4504225254058838, 0.3970174491405487, -0.09112439304590225, 0.005626273341476917, -0.1262938529253006, -0.2505178153514862, 0.35324421525001526, 0.18859495222568512, -0.3217751383781433, 0.1893908530473709, -0.180694580078125, 0.901799201965332, -0.9286061525344849, 0.0077284397557377815, -0.20502418279647827, 0.6064702868461609, -0.24562649428844452, -0.31469830870628357, -0.4702170491218567, -0.1872384250164032, 0.2875644564628601, -0.7956235408782959, 0.5438762307167053, -0.4588901996612549, 1.0707019567489624, 0.4590316712856293, -0.5588880181312561, -0.07717619836330414, -0.9745961427688599, 0.7840697765350342, -0.6185303926467896, 0.28950902819633484, 0.020027702674269676, 0.45189589262008667, 0.1272810846567154, -1.6133430004119873, -0.10482331365346909, 0.3885369896888733, -0.27810510993003845, 0.3651818037033081, -0.3336336612701416, -0.06591864675283432, 0.3732970058917999, 0.26864758133888245, -0.62190842628479, -0.30109792947769165, -1.0668210983276367, -0.231720432639122, 0.6259139180183411, 0.34967708587646484, -0.07232799381017685, 0.2985541522502899, -0.2696433365345001, 0.16665159165859222, -0.44371652603149414, -0.23074601590633392, 0.05523908510804176, -0.4452594816684723, -0.38513168692588806, 0.3741239905357361, -0.16247360408306122, 0.6161417961120605, 0.4173166751861572, 0.209695965051651, 0.35912713408470154, 0.2493680715560913, -0.39862963557243347, -0.1548466831445694, 0.6660000085830688, 0.4435034692287445, -0.04963906481862068, 0.03468124195933342, -0.05274413526058197, -0.08128680288791656, -0.015587625093758106, -1.4669784307479858, -0.8956050276756287, 0.5381414890289307, -0.3292914032936096, -0.1556827872991562, -0.1388215869665146, -0.7593691945075989, -0.30984005331993103, 0.19912026822566986, 0.28889986872673035, -0.14854833483695984, -0.41265007853507996, 0.09786788374185562, -0.5055980086326599, 0.5899807810783386, 0.6739005446434021, -0.605455219745636, 0.20836198329925537, 0.16815920174121857, 1.264070749282837, -0.16150659322738647, -0.0913594514131546, -0.4850260317325592, 0.25226572155952454, -0.2557505965232849, 0.9682496190071106, 0.2154289036989212, -0.597441554069519, -0.1560707837343216, 0.48302850127220154, 0.0042727673426270485, -0.5593497157096863, 0.6388871669769287, -0.8557554483413696, 0.39951494336128235, 0.16883136332035065, -0.6678776741027832, -0.16160348057746887, -0.2691965103149414, -0.512435257434845, 0.9858549237251282, 0.5335189700126648, -0.9756461381912231, 0.2878952920436859, -0.7871424555778503, -0.2446260303258896, 0.33070582151412964, -0.13384875655174255, -0.7114850878715515, -0.08665842562913895, -0.11925175040960312, 0.5954523086547852, 0.41420778632164, -0.07834458351135254, -0.013898678123950958, -0.4009355902671814, -0.11585482954978943, -0.5287721753120422, 1.1941919326782227, 0.7818277478218079, -0.4016401171684265, 0.3335345983505249, -0.1772485077381134, 0.11352033168077469, -0.07279800623655319, -0.22544321417808533, 0.3055405914783478, -0.22464129328727722, 0.5932618975639343, 0.09902472794055939, 0.15384455025196075, -0.7812099456787109, 0.006024929229170084, -0.21536102890968323, 0.6167753338813782, 0.9256376028060913, 0.0755029022693634, 0.6350123882293701, -0.2027956247329712, 0.4600483775138855, 0.15141946077346802, 0.335836261510849, 0.25349393486976624, -0.5825290679931641, -0.8085303902626038, -0.6001957058906555, -0.3136097490787506, 0.3576807677745819, -0.478363573551178, 0.21110478043556213, 0.09805607050657272, -0.9814630746841431, -0.1107516884803772, 0.14842958748340607, -0.18615876138210297, 0.33963319659233093, 0.22052006423473358, -0.2417086511850357, -0.46893322467803955, -0.5784383416175842, 0.19016887247562408, 0.6491373777389526, -0.09984564036130905, 0.28372055292129517, 0.3569015562534332, -0.2433931827545166, 0.9488955736160278, -0.9221214056015015, -0.40646055340766907, -0.04548318684101105, -0.015118652023375034, 0.7984337210655212, 0.5706654787063599, 0.8549519181251526, -0.7221977114677429, -1.3283934593200684, -0.02999495156109333, -0.6867892742156982, 0.033433325588703156, 0.05475543811917305, -0.2827138602733612, 0.4778491258621216, 0.4189707040786743, -0.8159488439559937, 0.6915296912193298, 0.8846550583839417, -0.8624150156974792, 0.580946683883667, -0.4828609824180603, -0.09684213995933533, -0.8416330218315125, 0.14275741577148438, 0.025062473490834236, -0.685034990310669, -0.5046745538711548, -0.03874136507511139, 0.1296948790550232, 0.07260384410619736, -1.0428647994995117, 0.8338934183120728, -0.4659554064273834, 0.32164302468299866, -0.12816300988197327, -0.6236812472343445, 0.19153539836406708, -0.039366886019706726, 0.2561158239841461, 0.7599667906761169, 1.2738490104675293, -0.7166065573692322, 0.8895384073257446, -0.0066089085303246975, -0.17896263301372528, 0.1976272165775299, -1.1283894777297974, 0.35211747884750366, -0.15685296058654785, 0.39700230956077576, -0.7664814591407776, -0.1162053719162941, 0.5844770669937134, -0.11496703326702118, 0.3132810890674591, -0.3595750331878662, -0.021323636174201965, -0.36540549993515015, -0.5354337096214294, 0.6201490163803101, 0.8710654377937317, -0.553631603717804, 0.48074954748153687, -0.20045872032642365, 0.3364299535751343, -0.5421249270439148, -0.8289346098899841, -0.209564670920372, -0.4158036708831787, -0.5911870002746582, 0.4144008457660675, -0.3529498279094696, -0.05266186222434044, 0.0006323159905150533, -0.03826213628053665, -0.3084619343280792, -0.3719444274902344, 0.3270002603530884, 0.18060781061649323, 0.0061440360732376575, -0.7860329151153564, 0.0207273680716753, -0.45414140820503235, 0.007869523018598557, -0.47590601444244385, 0.7748184204101562, -0.02393665909767151, -0.3532527983188629, -0.6728246808052063, -0.006783259566873312, 0.4522092938423157, 0.36531317234039307, 0.7903571128845215, 1.1133466958999634, -0.25918033719062805, -0.10554302483797073, -0.39414045214653015, -0.011825238354504108, -0.6290926337242126, 0.21898013353347778, -0.11192723363637924, -0.29423850774765015, 0.5755051970481873, 0.06511782854795456, 0.33713552355766296, 0.4424474537372589, 0.6843270063400269, -0.4223622977733612, 0.6820430159568787, 0.36986207962036133, 0.3541962802410126, 0.7315348386764526, -1.1660038232803345, -0.025493117049336433, -0.9858841896057129, -0.22880272567272186, -0.08592922240495682, -0.33962303400039673, -0.10899299383163452, -0.40045803785324097, 0.5692432522773743, 0.14221197366714478, -0.47955718636512756, 0.14874377846717834, -0.9096613526344299, 0.7568629384040833, 0.3026045262813568, 0.12983918190002441, -0.028547775000333786, 0.2821504771709442, 0.5001508593559265, -0.22241289913654327, -0.38737887144088745, -0.35776492953300476, 0.9803479313850403, 0.047066520899534225, 1.0821601152420044, 0.11543861031532288, 0.583347737789154, 0.48077428340911865, 0.24683444201946259, -0.5636038780212402, 0.14731372892856598, -0.07498832046985626, -0.8507833480834961, -0.19583390653133392, 0.1044543981552124, -1.2072657346725464, 0.3540063500404358, 0.3851180970668793, -0.5202049612998962, 0.32691845297813416, 0.21022634208202362, -0.10846897959709167, 0.5246931910514832, -0.5533618330955505, 0.7595961093902588, -0.050122931599617004, -0.6177043318748474, -0.13329686224460602, -0.3443538248538971, 0.044636521488428116, 0.35488420724868774, -0.1920984536409378, -0.24782638251781464, -0.2358369678258896, 0.6102297306060791, -0.4234555959701538, 0.6347799301147461, -0.6987003684043884, -0.06255398690700531, 0.32184046506881714, 0.20586267113685608, 0.35056933760643005, 0.2611091136932373, -0.3362179696559906, 0.2203887552022934, 0.47453442215919495, -0.8651126027107239, -0.24405142664909363, 0.9657678604125977, -0.8698030710220337, -0.022586995735764503, -0.7665547132492065, -0.4900569021701813, 0.7905146479606628, 0.2283552885055542, 1.0113896131515503, 0.4303974211215973, 0.20208846032619476, -0.0596095435321331, 0.5593681931495667, 0.10254362970590591, 0.9577885270118713, 0.31312236189842224, -0.30232948064804077, -0.6115695238113403, 0.7916234135627747, 0.1387987583875656, 0.28146418929100037, -0.15761195123195648, 0.22896544635295868, -0.24636684358119965, -0.7279849052429199, -0.6614952087402344, 0.130589097738266, -0.6667488813400269, -0.6487706303596497, -0.48565882444381714, -0.5189806222915649, -0.29090550541877747, -0.5743094086647034, -0.3885520100593567, -0.39595532417297363, -0.6160460114479065, 0.45958736538887024, 0.8401814103126526, 0.6012517809867859, -0.4211767315864563, 0.3911914825439453, -0.5567701458930969, 0.1763669103384018, 0.1487242579460144, 0.4806797504425049, -0.09535787999629974, -0.7586457133293152, -0.2792598307132721, -0.16752563416957855, -0.782599151134491, -0.609434187412262, 0.7759659290313721, 0.5175615549087524, 0.36035189032554626, 0.6929227709770203, 0.1040598601102829, 0.6229008436203003, -0.3577229380607605, 1.003630518913269, 0.2423565685749054, -0.7929661273956299, 0.7444107532501221, -0.39067885279655457, -0.015756970271468163, -0.04699685424566269, 0.33281317353248596, -0.5566461682319641, -0.328106552362442, -0.7862532734870911, -1.0898131132125854, 0.6266183853149414, 0.41315653920173645, 0.20901274681091309, 0.23862019181251526, 0.49765902757644653, 0.20459944009780884, -0.1572515219449997, -0.8274734020233154, -0.6554744243621826, -0.28591710329055786, 0.1203039363026619, 0.1405048966407776, 0.05826224386692047, -0.319590300321579, -0.6556845307350159, 0.8258188962936401, 0.06572386622428894, 0.25875693559646606, 0.7152987122535706, -0.01166834868490696, -0.4198552668094635, -0.01629490777850151, 0.34617879986763, 0.8560259342193604, -0.5656812787055969, 0.17452678084373474, 0.1085585206747055, -0.6766209602355957, 0.22277258336544037, -0.050648584961891174, -0.5028561353683472, 0.23472435772418976, 0.1925797015428543, 0.35780254006385803, -0.6721946597099304, -0.1908789873123169, 0.47688621282577515, -0.09737053513526917, -0.10114177316427231, -0.8222857713699341, 0.12479409575462341, 0.2340088188648224, 0.5171541571617126, 0.33950841426849365, 0.4556271433830261, 0.2290428727865219, 0.016666626557707787, -0.20290617644786835, 0.3431795537471771, -0.1569029837846756, -0.30164095759391785, 0.7537431120872498, 0.1528845727443695, -0.2906838357448578, 0.6839255094528198, -0.5853824019432068, 0.010140583850443363, 0.6953331828117371, 0.6015058755874634, 0.877926766872406, 0.04270001873373985, 0.24193374812602997, 0.3465188443660736, -0.06496014446020126, 0.07607699930667877, 0.505396842956543, -0.036393485963344574, -0.7006373405456543, -0.33307886123657227, -0.3238207697868347, -0.23961012065410614, -0.029999276623129845, -0.6349067687988281, 0.4281251132488251, -0.5115222334861755, -0.09023720771074295, -0.025393273681402206, -0.0917041003704071, -0.8421611189842224, -0.18438369035720825, 0.1434105783700943, 0.94232577085495, -0.7454909682273865, 0.9282484650611877, 0.6614449620246887, -0.39712220430374146, -0.5815253853797913, -0.6230691075325012, -0.343473881483078, -0.5847226977348328, 0.6217174530029297, -0.07429832220077515, -0.08806323260068893, 0.3079158663749695, -0.5953109264373779, -0.7202362418174744, 1.5716356039047241, 0.5350914001464844, -0.2944760024547577, 0.36810192465782166, -0.27990445494651794, 0.3837425410747528, -0.23250089585781097, 0.5301033854484558, 0.2710029184818268, 0.35878807306289673, 0.4736692011356354, -0.6982496976852417, -0.010822460986673832, -0.20117786526679993, 0.01594419591128826, 0.1332787126302719, -0.5917500853538513, 0.9920321106910706, -0.4357357323169708, -0.4208306670188904, 0.332861989736557, 0.5968372225761414, 0.21262840926647186, 0.48735469579696655, 0.29304248094558716, 0.683699905872345, 0.32407665252685547, -0.249785915017128, 0.7936136722564697, -0.018697988241910934, 1.0408282279968262, 0.7161325812339783, -0.21002353727817535, 0.5373038053512573, 0.8463655710220337, -0.4804142415523529, 0.7946440577507019, 0.9305338859558105, -0.311990886926651, 0.9022620916366577, 0.15392336249351501, -0.6168367266654968, 0.38905858993530273, 0.13775889575481415, -0.6979480385780334, -0.30222439765930176, 0.39088568091392517, -0.24936597049236298, -0.5510613918304443, -0.16426986455917358, -0.2299565225839615, -0.5959670543670654, -0.09730254113674164, 0.4110884964466095, -0.22369439899921417, -0.04728159308433533, 0.8342262506484985, -0.23193359375, 1.2715164422988892, -0.5965704917907715, -0.01801752857863903, -0.3208450376987457, 0.5065691471099854, -0.8441601991653442, -1.023606777191162, 0.7328490018844604, -0.08209274709224701, -0.007968027144670486, -0.14467187225818634, 0.6433994174003601, -0.1504204422235489, -0.5634427070617676, 0.24375514686107635, 0.16900992393493652, 0.6141168475151062, 0.023767372593283653, -0.6317192316055298, 0.28054797649383545, 0.039232295006513596, -0.6095148921012878, 0.05376380309462547, 0.18255329132080078, 0.6365103721618652, 0.6032047867774963, 0.3399968445301056, 0.48003751039505005, 0.4775441884994507, 0.046866461634635925, 0.9272372722625732, -0.45495861768722534, -0.18586565554141998, -0.6276019811630249, 0.7241371273994446, -0.2417932003736496, -0.21957240998744965, 0.5851234197616577, 0.9268003702163696, 0.7361035943031311, -0.4147531986236572, 0.6615643501281738, -0.5008126497268677, -0.06271916627883911, -0.289335697889328, 0.7321767807006836, -0.19273729622364044, 0.049514345824718475, 0.011443163268268108, -0.9473705887794495, -0.11974116414785385, 0.9965775012969971, 0.021783767268061638, -0.16117028892040253, 0.6149173974990845, 1.0394477844238281, -0.5934605002403259, -0.3908725678920746, 0.12477291375398636, 0.012225021608173847, 0.6345090270042419, 0.3168787956237793, 0.7673323750495911, -0.8804011940956116, 0.44686752557754517, -0.82940274477005, -0.05964132025837898, 0.32615771889686584, -0.9233291149139404, -0.4150894284248352, -0.288904070854187, -0.7049722671508789, -0.7132890224456787, -0.34425240755081177, 0.6269115209579468, 1.2464643716812134, -0.8154101371765137, -0.3083428740501404, -0.5193730592727661, -0.13851024210453033, 0.02066362462937832, -0.33936476707458496, 0.6587753891944885, -0.21587799489498138, -0.9818881154060364, -0.20490272343158722, 0.21318022906780243, 0.19515091180801392, -0.32436373829841614, -0.5040290355682373, -0.05900157243013382, -0.28264549374580383, 0.2902389466762543, 0.5201982259750366, -0.7148110866546631, 0.0322403758764267, -0.38876256346702576, 0.04319072142243385, 0.14946693181991577, 0.5479053258895874, -0.8549239039421082, 0.17576713860034943, 0.5094085931777954, -0.2615698277950287, 1.075920581817627, -0.607867419719696, 0.05994498357176781, -0.7693421244621277, 0.6980981230735779, 0.19912151992321014, 0.4963497817516327, 0.15225107967853546, -0.5495144724845886, 0.747843325138092, 0.26117682456970215, -0.8032978773117065, -0.6456121206283569, 0.07923469692468643, -1.1724746227264404, -0.08594396710395813, 0.9380497932434082, -0.3476414084434509, 0.00572294881567359, -0.1060127466917038, -0.55845046043396, 0.2065536081790924, -0.4553442597389221, 0.6888847351074219, 0.22914603352546692, -0.742473304271698, -0.3572287857532501, -0.4856337904930115, 0.3929139971733093, -0.03709741309285164, -0.6067560315132141, -0.15362153947353363, 0.5159692764282227, 0.941167950630188, 0.37797319889068604, 0.9177185893058777, -0.19395385682582855, 0.17179450392723083, 0.06145143508911133, -0.0023593739606440067, 0.044690847396850586, 0.048414282500743866, -0.4170101583003998, -0.3224303424358368, 0.04572734981775284, -0.5056490898132324 ]
jplu/tf-camembert-base
jplu
2020-12-11T21:47:52Z
7,048
0
transformers
[ "transformers", "tf", "camembert", "fill-mask", "autotrain_compatible", "endpoints_compatible", "region:us" ]
fill-mask
2022-03-02T23:29:05Z
# Tensorflow CamemBERT In this repository you will find different versions of the CamemBERT model for Tensorflow. ## CamemBERT [CamemBERT](https://camembert-model.fr/) is a state-of-the-art language model for French based on the RoBERTa architecture pretrained on the French subcorpus of the newly available multilingual corpus OSCAR. ## Model Weights | Model | Downloads | -------------------------------- | --------------------------------------------------------------------------------------------------------------- | `jplu/tf-camembert-base` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/jplu/tf-camembert-base/config.json) • [`tf_model.h5`](https://s3.amazonaws.com/models.huggingface.co/bert/jplu/tf-camembert-base/tf_model.h5) ## Usage With Transformers >= 2.4 the Tensorflow models of CamemBERT can be loaded like: ```python from transformers import TFCamembertModel model = TFCamembertModel.from_pretrained("jplu/tf-camembert-base") ``` ## Huggingface model hub All models are available on the [Huggingface model hub](https://huggingface.co/jplu). ## Acknowledgments Thanks to all the Huggingface team for the support and their amazing library!
[ -0.3848363757133484, -0.6628000736236572, 0.26096785068511963, 0.5099793076515198, -0.1588185876607895, 0.12959696352481842, 0.025204896926879883, -0.21086794137954712, 0.1501290202140808, 0.46518638730049133, -0.7484822869300842, -0.5384487509727478, -0.7755676507949829, -0.06467539072036743, -0.2525310516357422, 1.116255521774292, -0.3107321858406067, 0.4887370765209198, -0.06638427078723907, -0.3923428952693939, -0.479656457901001, -0.5141176581382751, -0.8467552661895752, -0.957474410533905, 0.44969236850738525, -0.2742394804954529, 0.8474811911582947, 0.11154719442129135, 0.784187912940979, 0.3788830637931824, -0.12364890426397324, -0.32074278593063354, -0.3548732399940491, -0.09397494792938232, 0.13286538422107697, -0.5717623233795166, -0.8203864097595215, -0.03306130692362785, 0.7115360498428345, 0.31052321195602417, -0.08720535784959793, -0.12456542998552322, -0.03730872645974159, 0.5536457896232605, -0.060741569846868515, 0.47534218430519104, 0.150934100151062, 0.17440812289714813, 0.06927207112312317, -0.12237757444381714, -0.10340674221515656, -0.4485519230365753, 0.415095716714859, -0.39676573872566223, 0.2530110776424408, -0.29959407448768616, 1.2420960664749146, 0.43504995107650757, -0.3281528949737549, 0.055193766951560974, -0.5127308964729309, 0.8325390219688416, -0.7202511429786682, 1.1417735815048218, 0.3320619463920593, 0.5799233317375183, -0.013369515538215637, -1.1792293787002563, -0.09954061359167099, -0.12910056114196777, -0.3784516751766205, 0.24385440349578857, -0.36689725518226624, 0.04781157523393631, 0.1190972626209259, 0.5243043303489685, -0.861605703830719, -0.13384456932544708, -0.5636054277420044, -0.17638841271400452, 0.5700905323028564, -0.18427880108356476, 0.19933174550533295, -0.01871403306722641, -0.4427154064178467, -0.48713576793670654, -0.6858552694320679, -0.2496444284915924, 0.31602442264556885, 0.1770336925983429, -0.7546274662017822, 0.5035128593444824, 0.1740303486585617, 0.7041041851043701, -0.07162126153707504, -0.06253943592309952, 0.5479676127433777, -0.17374423146247864, -0.3348201513290405, -0.0949113741517067, 0.8352417945861816, 0.07102347165346146, 0.16744767129421234, -0.20979006588459015, -0.4686388075351715, -0.37125736474990845, 0.2879084646701813, -1.1206212043762207, -0.21975426375865936, 0.35401880741119385, -0.4870624244213104, -0.43504443764686584, -0.11582781374454498, -0.31461021304130554, 0.1773572564125061, -0.2545734941959381, 0.3247547149658203, -0.6328732967376709, -0.7538940906524658, -0.09111186116933823, -0.10231373459100723, 0.40816429257392883, 0.33670538663864136, -0.5772770047187805, 0.2895508408546448, 0.7582611441612244, 1.11952543258667, -0.18039144575595856, -0.38139790296554565, -0.1671084314584732, -0.3810071051120758, -0.19525688886642456, 0.7522340416908264, -0.1539899855852127, -0.41988489031791687, 0.0237016249448061, 0.25443947315216064, -0.25664040446281433, -0.31088292598724365, 0.39378535747528076, -0.7926655411720276, 0.607038140296936, 0.09252017736434937, -0.831974446773529, -0.7159867286682129, 0.4335419237613678, -0.7939816117286682, 1.0519555807113647, 0.8777633905410767, -0.7822142839431763, 0.08778436481952667, -0.8410447239875793, -0.16860805451869965, 0.3451794385910034, -0.22178764641284943, -0.7400676608085632, -0.0016281125135719776, -0.019961513578891754, 0.7217563390731812, -0.3257099688053131, 0.539804995059967, -0.32183724641799927, -0.27308720350265503, 0.13348814845085144, -0.30347174406051636, 1.4220472574234009, 0.3494493365287781, -0.04006947576999664, 0.3364272117614746, -0.5693176984786987, -0.20492564141750336, 0.29282939434051514, -0.3452870845794678, 0.28703773021698, -0.43651387095451355, 0.4615272879600525, 0.00996577087789774, 0.11289221793413162, -0.4303370416164398, 0.032927267253398895, -0.11078320443630219, 0.664593517780304, 0.6224270462989807, 0.026764346286654472, 0.1697874367237091, -0.7483576536178589, 0.8225125074386597, 0.20135684311389923, 0.07141748815774918, 0.015455680899322033, -0.6311371922492981, -0.732573390007019, -0.7713637948036194, 0.37826964259147644, 0.5820344090461731, -0.8499678373336792, 0.4218205511569977, -0.24224083125591278, -0.8793788552284241, -0.5765442252159119, -0.12215281277894974, 0.19330452382564545, 0.2170695662498474, 0.24950312077999115, -0.23275072872638702, -0.44552209973335266, -0.8886133432388306, 0.012121348641812801, -0.3875151574611664, 0.13682274520397186, 0.061442781239748, 0.6462187767028809, -0.3156127631664276, 0.8709947466850281, -0.4997723698616028, -0.11921937763690948, -0.18666371703147888, 0.09105143696069717, 0.48466816544532776, 0.7619467377662659, 1.1965123414993286, -0.8393917083740234, -0.24100257456302643, -0.15217067301273346, -1.0114192962646484, 0.3254159390926361, 0.19088192284107208, -0.23071880638599396, 0.15629296004772186, 0.5159639120101929, -0.7125781178474426, 0.2701059579849243, 0.8208976984024048, -0.40130415558815, 0.537156879901886, -0.0096545135602355, 0.11674889922142029, -1.7502659559249878, -0.030868569388985634, 0.27782878279685974, -0.8452116847038269, -0.31503698229789734, 0.7091255187988281, 0.03778680041432381, -0.21759144961833954, -0.8812376856803894, 0.7078428864479065, -0.20245210826396942, 0.17333362996578217, 0.06250108033418655, -0.47408705949783325, 0.01788809895515442, 0.7724085450172424, 0.30808740854263306, 0.5160591006278992, 0.7009905576705933, -0.27487292885780334, 0.8662168383598328, 0.3114510476589203, -0.3741571307182312, 0.6252438426017761, -0.8896640539169312, 0.10131115466356277, -0.16086696088314056, 0.49051180481910706, -0.9171419143676758, -0.21378441154956818, 0.4272039532661438, -0.489933580160141, 0.6726362705230713, -0.5096964240074158, -0.4460160434246063, -0.3946620523929596, -0.09209468215703964, 0.4960760474205017, 0.5274510383605957, -0.6610764265060425, 0.8001524806022644, 0.06043684482574463, 0.05518139898777008, -0.45381003618240356, -1.0161458253860474, -0.28729286789894104, -0.433868408203125, -0.7955034375190735, 0.3417419195175171, -0.5389887690544128, 0.07584024220705032, 0.12181713432073593, 0.22341211140155792, -0.42021313309669495, -0.026742003858089447, 0.23274685442447662, 0.4000956118106842, -0.530193567276001, -0.15540635585784912, -0.12346887588500977, -0.15035396814346313, -0.2711023688316345, -0.30993539094924927, 0.7168056964874268, -0.5311753153800964, -0.24096783995628357, -0.605387270450592, 0.021424420177936554, 0.631697952747345, -0.1275399774312973, 0.965312123298645, 1.0513707399368286, -0.6346379518508911, 0.17676420509815216, -0.6463307738304138, -0.3798952102661133, -0.5030076503753662, 0.45383259654045105, -0.6385670900344849, -1.2694011926651, 0.7821407318115234, 0.28395190834999084, 0.44724971055984497, 0.5386332869529724, 0.764913022518158, 0.21755248308181763, 0.8121820688247681, 0.7113831639289856, 0.046630434691905975, 0.6403777003288269, -0.5569441914558411, 0.1270422786474228, -0.5937300324440002, -0.14673368632793427, -0.5508008599281311, 0.007859147153794765, -0.8655805587768555, -0.2834923267364502, 0.17666931450366974, 0.02284209057688713, -0.49572494626045227, 0.9852648377418518, -0.4528840482234955, 0.1278332620859146, 0.5429697632789612, 0.15642701089382172, 0.20393973588943481, 0.1755712926387787, -0.18989138305187225, 0.15985321998596191, -0.855697751045227, -0.28010034561157227, 0.9452378749847412, 0.677045464515686, 0.6257062554359436, 0.4559286832809448, 0.8266017436981201, 0.10356846451759338, 0.7099277377128601, -0.8712968230247498, 0.22271111607551575, 0.11536601930856705, -1.090762734413147, 0.27196821570396423, -0.6275588274002075, -0.5826243162155151, 0.15607433021068573, -0.06690124422311783, -0.608975350856781, 0.1611296385526657, 0.14744709432125092, -0.2742041349411011, 0.41602128744125366, -0.8686407804489136, 1.1159778833389282, -0.10864987224340439, -0.11189053952693939, 0.0859173908829689, -0.2380068451166153, 0.3561256527900696, -0.20395918190479279, -0.03928306698799133, 0.02125421352684498, 0.39753302931785583, 0.7333475351333618, -0.5902471542358398, 0.6890202164649963, -0.04976668953895569, -0.06915481388568878, 0.3547547459602356, 0.14102599024772644, 0.3184721767902374, 0.20014342665672302, -0.17100889980793, 0.6874239444732666, 0.37163880467414856, -0.4676417112350464, -0.5278677344322205, 0.9043716192245483, -1.3197259902954102, -0.39730677008628845, -0.5277963280677795, -0.40507712960243225, 0.10727443546056747, 0.46619361639022827, 0.5771489143371582, 0.5673992037773132, -0.466145783662796, 0.2310394048690796, 0.3596457242965698, -0.1426168829202652, 0.4562379717826843, 0.431426465511322, -0.4676588773727417, -0.3794822096824646, 0.8867383599281311, 0.05831848829984665, -0.0018516008276492357, 0.5054839253425598, 0.13870769739151, -0.3770412802696228, -0.40752243995666504, -0.49845799803733826, 0.37536099553108215, -0.6867156028747559, -0.44552528858184814, -0.7764136791229248, -0.6682161092758179, -0.6642698645591736, -0.20680966973304749, -0.760401725769043, -0.5938273668289185, -0.34467366337776184, -0.16346898674964905, 0.7834992408752441, 0.6436209082603455, 0.05510948225855827, 0.9536795616149902, -0.9495140314102173, -0.21455897390842438, 0.1264246255159378, 0.7316733002662659, -0.11490227282047272, -0.5759487748146057, -0.2142658829689026, -0.12932805716991425, -0.49949911236763, -0.6479295492172241, 0.43794113397598267, -0.028387155383825302, 0.5346052050590515, 0.47453054785728455, -0.35737431049346924, 0.20637570321559906, -0.30813828110694885, 0.7486766576766968, 0.5150847434997559, -0.5140543580055237, -0.022251741960644722, -0.5035436153411865, 0.3971548080444336, 0.2235826551914215, 0.6936400532722473, -0.6060453653335571, -0.13671965897083282, -0.8629117608070374, -0.561917245388031, 0.9266921281814575, 0.5510401129722595, 0.057271044701337814, 0.18281793594360352, 0.10109612345695496, 0.09108967334032059, 0.15155360102653503, -0.8617224097251892, -0.22574010491371155, -0.6095224022865295, -0.4978899359703064, -0.15067709982395172, -0.023684019222855568, -0.10260464996099472, -0.12444961071014404, 1.0447601079940796, 0.1462009996175766, 0.7056307196617126, 0.0012766022700816393, -0.16860321164131165, -0.3198918402194977, -0.21638968586921692, 0.4893382787704468, 0.6417239904403687, -0.7831556797027588, -0.24507297575473785, -0.19393698871135712, -0.37963995337486267, -0.09220462292432785, 0.5145291090011597, -0.006314978934824467, 0.03822442144155502, 0.6836900115013123, 1.3699109554290771, 0.15405818819999695, -0.242139995098114, 0.47852256894111633, -0.4178920388221741, -0.3911651074886322, -0.736798107624054, -0.054578520357608795, 0.37233567237854004, 0.7235836982727051, -0.027329908683896065, 0.1940808892250061, -0.3755238950252533, -0.29406630992889404, 0.27202755212783813, 0.30463168025016785, -0.7776665687561035, -0.48202523589134216, 0.7284257411956787, 0.0516229048371315, -0.5543184876441956, 0.9157938957214355, 0.006936493795365095, -0.5030827522277832, 0.48202288150787354, 0.5068545341491699, 1.2839525938034058, -0.34121057391166687, 0.21661138534545898, 0.5294175744056702, 0.24769629538059235, -0.17064766585826874, 0.10439269244670868, 0.12970781326293945, -1.1123435497283936, -0.33032333850860596, -0.8680567145347595, -0.04785693436861038, 0.2419130653142929, -0.4976579248905182, 0.43493014574050903, -0.6033570766448975, -0.5375837087631226, 0.14807631075382233, -0.03628740832209587, -1.1757758855819702, 0.04730897396802902, 0.012783669866621494, 1.0154777765274048, -0.7697891592979431, 0.6848211288452148, 1.0633007287979126, -0.7416528463363647, -0.8533065915107727, -0.4191734492778778, 0.1498691290616989, -1.1338921785354614, 0.389977365732193, -0.1487245410680771, 0.15769349038600922, 0.3826252520084381, -0.47159966826438904, -0.922973096370697, 1.225589394569397, 0.3596673607826233, -0.17667487263679504, -0.1460278034210205, -0.09272126108407974, 0.4245466887950897, -0.3720279335975647, 0.734157145023346, 0.4746561348438263, 0.32568439841270447, 0.49344053864479065, -0.6481924653053284, -0.10420035570859909, -0.31816455721855164, 0.031843941658735275, 0.08660506457090378, -1.0156943798065186, 0.7687454223632812, 0.1355666071176529, 0.2837941348552704, 0.05349019914865494, 0.8458002805709839, 0.3984696865081787, -0.18230462074279785, 0.3640215992927551, 0.8895632028579712, 0.3723243772983551, -0.2889605760574341, 1.2160735130310059, -0.2510721683502197, 0.8274742960929871, 0.7495445013046265, 0.1380964070558548, 0.34138229489326477, 0.24654904007911682, -0.31348347663879395, 0.5108931660652161, 1.1518510580062866, -0.0891590490937233, 0.3241107165813446, -0.0943436250090599, -0.14094091951847076, -0.1983826756477356, 0.06780793517827988, -0.4724750220775604, 0.3332151174545288, 0.21880589425563812, -0.26913022994995117, -0.4462571442127228, 0.04453769326210022, 0.28608256578445435, -0.6967942118644714, -0.04588059335947037, 0.5071027874946594, 0.4567475914955139, -0.670695424079895, 0.9139015078544617, 0.14251822233200073, 0.6008800864219666, -0.7321729063987732, 0.0019782353192567825, -0.40845316648483276, 0.3026584982872009, -0.20117616653442383, -0.6522855162620544, 0.23146191239356995, -0.025548025965690613, 0.10232401639223099, -0.3674812316894531, 0.6386929750442505, -0.4169100522994995, -0.8990374207496643, 0.35599642992019653, 0.6782416701316833, 0.36411023139953613, 0.10884348303079605, -1.2771109342575073, 0.23696687817573547, 0.05295545607805252, -0.8239515423774719, 0.14909403026103973, 0.034115951508283615, 0.012079722248017788, 0.6887494921684265, 0.4209352433681488, -0.16154474020004272, -0.04802318289875984, 0.2779841423034668, 0.7500892281532288, -0.28888991475105286, -0.5668087005615234, -0.6332106590270996, 0.48117735981941223, 0.30226844549179077, -0.26846638321876526, 0.4313913583755493, 0.6419047713279724, 0.9873068332672119, -0.06124965474009514, 0.7145964503288269, -0.15636177361011505, 0.34980309009552, -0.3031609058380127, 0.94459468126297, -0.9788451790809631, -0.18088774383068085, -0.3662310540676117, -1.4348899126052856, -0.5644893646240234, 0.8811031579971313, -0.07824640721082687, 0.5045777559280396, 0.7820656299591064, 0.9418194890022278, -0.5902037620544434, 0.2298157960176468, 0.34538474678993225, 0.34703299403190613, 0.5183297991752625, 0.26833564043045044, 0.46985024213790894, -0.7015641331672668, 0.17179760336875916, -0.3468048572540283, -0.3338606655597687, -0.19065621495246887, -0.8724790215492249, -1.1253002882003784, -0.7785011529922485, -0.7025989294052124, -0.7306201457977295, 0.048649221658706665, 1.2988266944885254, 0.9988394975662231, -0.9373694658279419, -0.4592776298522949, -0.26388049125671387, 0.04511931538581848, -0.12285507470369339, -0.2235952466726303, 0.6945452094078064, -0.06035573408007622, -1.0248997211456299, 0.2946489155292511, -0.2118920087814331, 0.4833989441394806, -0.2674407958984375, -0.29510003328323364, -0.392327219247818, -0.1577027440071106, 0.4431326985359192, 0.18653592467308044, -0.22818778455257416, -0.2886770963668823, -0.18315882980823517, 0.05778641253709793, 0.19882211089134216, 0.6112217307090759, -0.4082099497318268, 0.14591467380523682, 0.7593913674354553, 0.5557280778884888, 0.9531350135803223, -0.2855101227760315, 0.7617672681808472, -0.8700082898139954, 0.5887560844421387, 0.17639777064323425, 0.6858922839164734, 0.5756077766418457, -0.12028908729553223, 0.6908438801765442, 0.40720894932746887, -0.44319215416908264, -0.7014188766479492, 0.14726434648036957, -0.9339861273765564, -0.30380913615226746, 0.8107861280441284, -0.3505364954471588, -0.3537256121635437, 0.39014387130737305, 0.13221047818660736, 0.8572944402694702, -0.4239186644554138, 0.32398495078086853, 0.9457626342773438, 0.05701243877410889, -0.6050724983215332, -0.6221222281455994, 0.48644065856933594, 0.34060418605804443, -0.39759188890457153, -0.3057926893234253, 0.231319859623909, 0.47742143273353577, -0.013757872395217419, 0.5332567691802979, -0.39070436358451843, 0.015667570754885674, -0.2019195854663849, 0.20069514214992523, -0.11567264795303345, -0.16220280528068542, -0.21084590256214142, -0.21029694378376007, -0.021932514384388924, 0.05261005833745003 ]
rifkat/pubchem_1M
rifkat
2022-12-07T11:21:19Z
7,046
0
transformers
[ "transformers", "pytorch", "roberta", "fill-mask", "doi:10.57967/hf/0177", "autotrain_compatible", "endpoints_compatible", "region:us" ]
fill-mask
2022-03-02T23:29:05Z
Ushbu model, HuggingFace-da RoBERTa transformatorini amalga oshirishga asoslangan. Bizning RoBERTa dasturimiz 12 ta diqqat boshi va 6 ta qatlamdan foydalanadi, natijada 72 ta aniq e'tibor mexanizmlari paydo bo'ladi. Biz har bir kirish satridagi tokenlarning 15 foizini niqoblaydigan RoBERTa-dan dastlabki tekshirish protsedurasini qabul qildik. Biz maksimal 52K tokenli lug'atdan va maksimal 512 ta ketma-ketlik uzunligidan foydalanganmiz. Biz 1M PubChem to'plamlarida 10 ta davr uchun o'qitdik. Loss funksiya 2.9 dan 0.33 gacha tushdi. Ushbu modelni sizga taqdim qilamiz. <pre><code class="language-python"> @misc {rifkat_davronov_2022, author = { {Adilova Fatima,Rifkat Davronov, Samariddin Kushmuratov, Ruzmat Safarov} }, title = { pubchem_1M (Revision 89e2ba6) }, year = 2022, url = { https://huggingface.co/rifkat/pubchem_1M }, doi = { 10.57967/hf/0177 }, publisher = { Hugging Face } } </code></pre>
[ -0.1316913664340973, -0.810463011264801, -0.0960603654384613, 0.534816563129425, -0.4246934652328491, -0.1642698347568512, 0.03552181273698807, -0.25610479712486267, 0.6088244915008545, 0.4033815562725067, -0.6562990546226501, -0.17644771933555603, -0.6442322134971619, 0.10839489847421646, -0.2463032305240631, 1.1036248207092285, -0.148590087890625, 0.29876360297203064, 0.03520812466740608, -0.2246653288602829, -0.11906955391168594, -0.39262402057647705, -0.6427077054977417, -0.37277114391326904, 0.2525894045829773, 0.15515856444835663, 0.5258963108062744, 0.14873574674129486, 0.42135822772979736, 0.4890132248401642, -0.4614377021789551, -0.1947818398475647, -0.42690029740333557, 0.0009304449777118862, -0.15751813352108002, -0.6795595288276672, -0.719882607460022, 0.08992233872413635, 0.8091666102409363, 0.7634211182594299, -0.42244765162467957, 0.28738075494766235, 0.05617937073111534, 0.9695708155632019, -0.15580835938453674, 0.14383496344089508, -0.1562185138463974, -0.13933855295181274, -0.2634885907173157, 0.25781407952308655, -0.27504345774650574, -0.688968300819397, 0.05300941690802574, -0.32667437195777893, 0.07377047836780548, 0.1390734165906906, 1.6283316612243652, 0.2342689484357834, -0.4288787543773651, 0.15643630921840668, -0.40632814168930054, 0.8154506683349609, -0.8749268651008606, 0.4209775924682617, 0.0007895667222328484, 0.3237885534763336, -0.31591421365737915, -0.730802059173584, -0.8003121614456177, 0.0550762377679348, 0.10458043217658997, 0.04468843340873718, -0.5104610919952393, -0.2728952169418335, 0.2112356424331665, 0.6310100555419922, -0.599869966506958, -0.1346983164548874, -0.5490424036979675, -0.38404810428619385, 0.6995044350624084, 0.23980103433132172, 0.46629300713539124, -0.2290664166212082, -0.9889107942581177, -0.3799426555633545, -0.4667317569255829, 0.08064917474985123, 0.5058128237724304, 0.09104923903942108, -0.525511622428894, 0.6765804886817932, -0.3417499363422394, 0.6649134159088135, 0.4545374810695648, -0.20739808678627014, 0.40682339668273926, -0.5458154678344727, -0.44775110483169556, -0.38553401827812195, 0.8199823498725891, 0.4550046920776367, 0.22993314266204834, -0.04462423175573349, 0.15825028717517853, 0.05991239473223686, 0.11251550167798996, -1.1379574537277222, -0.12191234529018402, 0.20596420764923096, -0.7717272639274597, -0.3183450400829315, 0.48680028319358826, -0.8761999607086182, 0.04651984944939613, -0.06512022018432617, 0.6060446500778198, -0.4989253580570221, -0.890219509601593, 0.37876632809638977, -0.07260023057460785, 0.4144958555698395, 0.2914676070213318, -0.5267027020454407, 0.28692427277565, 0.24538670480251312, 0.8055707812309265, 0.06668734550476074, -0.08550184965133667, -0.2742588222026825, 0.05639498680830002, -0.21274223923683167, 0.6685589551925659, 0.09832057356834412, -0.4520311653614044, -0.1129797026515007, 0.34497806429862976, -0.2523948550224304, -0.5106313824653625, 0.4751107096672058, -0.2893391251564026, 0.29848456382751465, 0.028213247656822205, -0.28028780221939087, -0.4277590215206146, 0.11366327852010727, -0.4739878475666046, 0.8337351083755493, 0.6654807925224304, -0.8742140531539917, 0.14840953052043915, -0.3803161382675171, -0.1534576416015625, 0.027775704860687256, 0.4421370029449463, -0.8312424421310425, 0.24803946912288666, -0.06988278031349182, 0.4475841224193573, -0.25515270233154297, 0.19277553260326385, -0.44657546281814575, 0.20219694077968597, 0.6760110855102539, 0.062329817563295364, 1.4927141666412354, 0.3838624656200409, -0.09484560042619705, 0.3817814290523529, -0.9219451546669006, 0.09406978636980057, 0.30343887209892273, -0.2417655885219574, -0.2825677692890167, -0.738271176815033, 0.697475254535675, 0.32252243161201477, 0.3923388719558716, -0.8275622725486755, 0.622448742389679, -0.734556257724762, 0.6132051944732666, 0.8076146841049194, 0.22520282864570618, 0.29392117261886597, -0.6220194697380066, 0.7469418048858643, 0.1136038675904274, 0.28533056378364563, 0.3907870948314667, -0.4340164065361023, -0.6969702243804932, -0.421735942363739, 0.5210856795310974, 0.2424844205379486, -0.70514976978302, 0.36878401041030884, 0.011577678844332695, -0.8477232456207275, -0.42814019322395325, -0.2929331362247467, 0.3631567358970642, 0.5408840179443359, 0.1528409868478775, -0.2593533992767334, -0.6465029716491699, -0.8392269611358643, -0.6102141737937927, -0.059894025325775146, -0.04001998528838158, 0.12958526611328125, 0.5746265649795532, -0.4134114682674408, 0.6089937090873718, -0.5473261475563049, -0.5484090447425842, -0.3800143897533417, 0.2312612384557724, 0.5478686690330505, 0.6590190529823303, 0.9162530899047852, -1.0217430591583252, -0.8633862733840942, -0.2748578190803528, -0.5749368667602539, -0.2240447998046875, -0.14005088806152344, -0.5020298957824707, 0.5539187788963318, -0.21282458305358887, -0.9144898056983948, 0.954736053943634, 0.7263937592506409, -0.8545414805412292, 0.6978220343589783, -0.28563418984413147, 0.19227668642997742, -1.3827556371688843, 0.14258180558681488, 0.0667835921049118, -0.32747897505760193, -0.4772546887397766, 0.304918110370636, -0.14658145606517792, 0.01008940115571022, -0.32500192523002625, 0.9047961831092834, -0.7096573114395142, 0.14687657356262207, -0.11671323329210281, 0.18504507839679718, 0.09121666848659515, 0.35469532012939453, -0.271515429019928, 0.4992532432079315, 0.5909451246261597, -0.47653505206108093, 0.6185435652732849, 0.8870890736579895, -0.15192142128944397, 0.7644732594490051, -0.8852402567863464, -0.11425083130598068, 0.18901346623897552, 0.25271934270858765, -1.0883545875549316, -0.16177833080291748, 0.6109269261360168, -0.7356714606285095, 0.6111457347869873, -0.08375810086727142, -0.4510023593902588, -0.35727834701538086, -0.3599010705947876, 0.0449131540954113, 0.6280544996261597, -0.49828630685806274, 0.9041678309440613, 0.26373955607414246, -0.4437378942966461, -0.2546379268169403, -0.7565666437149048, -0.07621641457080841, -0.49536481499671936, -0.9011476039886475, 0.43715253472328186, -0.48534122109413147, -0.22241584956645966, 0.008316596038639545, -0.19879645109176636, -0.35125839710235596, -0.021614987403154373, 0.3691709041595459, 0.3610599935054779, 0.055087484419345856, -0.5349581241607666, -0.13680893182754517, -0.43717676401138306, -0.013918020762503147, 0.0640280693769455, 0.6315956711769104, -0.2450489103794098, 0.10136829316616058, -1.0137020349502563, 0.35707056522369385, 0.454376220703125, -0.2919163107872009, 0.97613126039505, 0.7483159899711609, -0.24096600711345673, 0.15132585167884827, -0.5588667988777161, 0.045534729957580566, -0.46719080209732056, -0.06916625797748566, -0.5274999737739563, -0.41295477747917175, 0.8597253561019897, -0.15462052822113037, -0.5664210319519043, 0.9760642647743225, 0.8587818741798401, 0.1053810864686966, 0.7790883183479309, 0.9079479575157166, -0.148370161652565, 0.569879949092865, -0.8580965995788574, -0.030407296493649483, -1.0048751831054688, -0.4915817379951477, -0.49814891815185547, -0.26857736706733704, -0.5810141563415527, -0.33305442333221436, 0.5238713026046753, 0.19855162501335144, -0.2812219262123108, 0.44826993346214294, -0.7360560894012451, -0.3855192959308624, 0.5495820641517639, 0.3264925479888916, 0.18410076200962067, -0.14149335026741028, 0.13816827535629272, -0.13350778818130493, -0.3689132034778595, -0.10819558799266815, 0.8810375928878784, 0.4184441566467285, 1.087482213973999, 0.5895368456840515, 0.6711507439613342, -0.08320911973714828, 0.3012406826019287, -0.5811624526977539, 0.3586738109588623, 0.4323762357234955, -0.7948868274688721, -0.14582987129688263, -0.47582364082336426, -0.8670060634613037, 0.0884232223033905, -0.08083566278219223, -0.7639743089675903, 0.3726192116737366, -0.15434128046035767, -0.1450095921754837, 0.11520642042160034, -0.25725632905960083, 0.767238199710846, -0.05763290077447891, -0.3563126027584076, -0.2497120499610901, -0.7298241853713989, 0.409941703081131, 0.3460657298564911, -0.1422164887189865, 0.01986534148454666, 0.008590907789766788, 0.827908456325531, -0.838558554649353, 0.5391514897346497, -0.4744669497013092, -0.03179449215531349, 0.2954760193824768, 0.09804892539978027, 0.3393036127090454, 0.09380092471837997, -0.15162409842014313, 0.5745106339454651, 0.4757852554321289, -0.5756664276123047, -0.40247470140457153, 0.6216859817504883, -0.6641587018966675, -0.3847617506980896, -1.037034273147583, -0.32131728529930115, 0.3503945469856262, 0.4117739200592041, 0.405881404876709, 0.5208343267440796, -0.01124256756156683, 0.171336367726326, 0.24515725672245026, -0.18728068470954895, 0.19570842385292053, 0.6953543424606323, -0.14186108112335205, -0.5369789600372314, 0.5563501119613647, 0.1547945886850357, 0.1083884909749031, 0.11373496800661087, 0.3760138154029846, -0.46003785729408264, -0.4257345199584961, -0.4882722496986389, 0.8508898615837097, -0.18444104492664337, -0.635381281375885, -0.5850535035133362, -0.26864248514175415, -0.502809464931488, 0.12838928401470184, -0.46191510558128357, -0.45423582196235657, -0.3044919967651367, 0.0713278204202652, 0.6795532703399658, 0.7258650064468384, -0.41111287474632263, 0.47421467304229736, -0.46294984221458435, 0.265829473733902, -0.08463367074728012, 0.4129049777984619, -0.258648544549942, -0.8942775726318359, -0.2368268519639969, 0.18850980699062347, -0.3940702974796295, -1.2098513841629028, 0.9358526468276978, 0.31459832191467285, 0.4709587097167969, 0.5470908284187317, 0.2871288061141968, 0.7832098007202148, -0.19961285591125488, 0.6090474724769592, 0.16346722841262817, -1.0555129051208496, 0.4521636962890625, -0.45552653074264526, -0.2544446587562561, 0.23621726036071777, 0.5893186330795288, -0.3726682960987091, -0.10600478947162628, -0.9895126819610596, -0.6842156648635864, 0.6650640964508057, 0.19918173551559448, -0.04161887988448143, 0.3003876805305481, 0.7826716899871826, -0.12339307367801666, 0.4167734682559967, -0.7037571668624878, -0.7157080173492432, -0.25536999106407166, -0.16335012018680573, 0.19030986726284027, -0.5257079005241394, -0.14766812324523926, -0.5605639219284058, 1.0705313682556152, -0.04965006187558174, 0.5045298337936401, 0.3044319152832031, 0.05447639524936676, -0.2103736847639084, -0.06057799607515335, 0.8113241195678711, 0.5033254027366638, -0.49447333812713623, -0.3945622146129608, -0.26962998509407043, -0.3670652508735657, -0.001241417252458632, 0.42317232489585876, -0.13207539916038513, -0.014137872494757175, 0.1931171715259552, 0.6986079216003418, 0.2602042555809021, -0.3613392114639282, 0.7793329358100891, -0.1461603045463562, -0.299288272857666, -0.6100386381149292, -0.1761416345834732, 0.11384934186935425, 0.5083101391792297, 0.27337291836738586, 0.05762018635869026, 0.2727201581001282, -0.5115790367126465, 0.2139112651348114, 0.6615682244300842, -0.08056262135505676, -0.514721155166626, 1.0539696216583252, -0.0987088605761528, -0.3514394760131836, 0.4056614339351654, -0.1931225061416626, -0.7011920809745789, 0.47283419966697693, 0.6961368918418884, 0.8810454607009888, -0.6920074224472046, 0.1958787441253662, 0.6423149108886719, -0.2451624721288681, 0.048458557575941086, 0.6334794163703918, 0.17699913680553436, -0.5617331862449646, 0.012435502372682095, -0.8959454894065857, -0.21162071824073792, 0.04247627779841423, -1.2046074867248535, 0.23737378418445587, -0.5786029100418091, -0.20798155665397644, -0.03155176341533661, 0.4148990511894226, -0.5104238390922546, 0.30490243434906006, -0.3484991192817688, 0.9069531559944153, -0.9081641435623169, 0.7908617854118347, 0.8378275036811829, -1.056308627128601, -0.9401145577430725, -0.10275919735431671, 0.025412660092115402, -0.9452019929885864, 0.7931516766548157, -0.24524660408496857, 0.002226802986115217, 0.032136473804712296, -0.6583699584007263, -1.081447720527649, 1.1409724950790405, 0.27185899019241333, -0.3182392120361328, 0.006276837550103664, -0.5113115310668945, 0.49707087874412537, -0.2522136867046356, 0.2786961495876312, 0.10294170677661896, 0.45883604884147644, 0.28573593497276306, -0.959988534450531, -0.09472616761922836, -0.4129701256752014, 0.2871655225753784, 0.05507713556289673, -1.3940660953521729, 1.4761070013046265, -0.3438534736633301, -0.19556698203086853, 0.5972229838371277, 0.7232796549797058, -0.05475123971700668, 0.13055524230003357, 0.3481330871582031, 0.7440598011016846, 0.36376646161079407, -0.04244740307331085, 1.0444828271865845, -0.17230702936649323, 0.7891327738761902, 0.5404324531555176, 0.05449119210243225, 0.9906312823295593, 0.46130603551864624, -0.8562290668487549, 1.0801054239273071, 0.6829167008399963, -0.052889928221702576, 0.5676272511482239, 0.20190483331680298, -0.11194707453250885, -0.000690018234308809, -0.14173664152622223, -0.3366272747516632, 0.6798948645591736, 0.18830497562885284, 0.011740168556571007, -0.05224413052201271, 0.0891338661313057, 0.311029851436615, 0.3260476589202881, 0.08118264377117157, 0.7534762024879456, 0.184674933552742, -0.17090821266174316, 0.9171085357666016, 0.05747329443693161, 0.6250321865081787, -0.5736754536628723, -0.013557846657931805, -0.40801599621772766, 0.5544885396957397, -0.10816813260316849, -0.360532283782959, 0.46749505400657654, -0.271499365568161, -0.4046775698661804, -0.2567502558231354, 0.5024617314338684, -0.6070560812950134, -0.7567884922027588, 0.25013649463653564, 0.04369635507464409, 0.5158578753471375, -0.10159920156002045, -1.0221514701843262, 0.27927327156066895, 0.11038079112768173, -0.562260091304779, 0.4816443920135498, 0.3104158341884613, 0.05037382245063782, 0.8914194703102112, 0.48837921023368835, 0.5069054961204529, -0.2867988646030426, -0.2430921494960785, 0.9954883456230164, -0.6732903718948364, -0.5933893918991089, -0.6466718912124634, 0.7146997451782227, -0.06497054547071457, -0.31216880679130554, 0.891911506652832, 0.39573830366134644, 0.627375066280365, -0.13320094347000122, 0.5306907296180725, -0.1507849395275116, 0.9177166819572449, -0.5078713893890381, 1.072590947151184, -0.8657563328742981, -0.4217466115951538, -0.4015721380710602, -0.9273916482925415, -0.11118756979703903, 1.0103634595870972, 0.13926386833190918, 0.0584586039185524, 0.4261362850666046, 0.4855029881000519, 0.276978462934494, -0.3883390426635742, 0.15336039662361145, 0.822375476360321, 0.17902429401874542, 0.5534778833389282, 0.3078905940055847, -1.0487048625946045, 0.05228061228990555, -0.31076690554618835, -0.40183693170547485, -0.6833049654960632, -0.9844493269920349, -0.9913831353187561, -0.7108917832374573, -0.6204319596290588, -0.7489726543426514, -0.4839896857738495, 0.859045684337616, 0.6582860350608826, -0.7809241414070129, -0.026491470634937286, 0.2923695147037506, 0.053193721920251846, -0.3793855905532837, -0.2770695090293884, 0.5602270364761353, 0.32807865738868713, -0.9915013909339905, 0.014878158457577229, 0.22539617121219635, 0.3357413709163666, -0.5063201785087585, -0.06719814240932465, -0.37702053785324097, -0.09114806354045868, 0.08614295721054077, 0.3300364911556244, -1.0742229223251343, -0.2038884311914444, -0.2306443303823471, -0.07852820307016373, -0.03172624856233597, 0.14540918171405792, -0.5937172770500183, 0.5141540169715881, 0.48966944217681885, 0.19481123983860016, 0.7063560485839844, 0.40701591968536377, 0.4064670205116272, -0.40906596183776855, 0.6525479555130005, -0.08779160678386688, 0.33115699887275696, 0.36254629492759705, -0.6294931769371033, 0.5618350505828857, 0.5328038930892944, -0.706852912902832, -1.0590763092041016, 0.20619627833366394, -1.4857819080352783, 0.2188882976770401, 0.8982365131378174, -0.38974279165267944, -0.522961437702179, 0.4374544322490692, -0.4338749349117279, 0.5421528220176697, -0.29425033926963806, 0.4584129750728607, 0.5539261102676392, -0.26809167861938477, -0.3613981008529663, -0.4073830246925354, 0.46952715516090393, 0.43496444821357727, -0.4936889410018921, -0.07962460815906525, 0.302000492811203, 0.6818481087684631, 0.28693804144859314, 0.7440522313117981, -0.16963167488574982, -0.027752485126256943, 0.12401876598596573, 0.4263535439968109, -0.09336906671524048, -0.07682919502258301, -0.3449971377849579, -0.32030802965164185, 0.06294850260019302, -0.305291086435318 ]
Yntec/UberRealisticLegacy
Yntec
2023-11-05T20:08:37Z
7,040
1
diffusers
[ "diffusers", "Base Model", "Person", "Sexy", "saftle", "stable-diffusion", "stable-diffusion-diffusers", "text-to-image", "license:creativeml-openrail-m", "endpoints_compatible", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2023-11-01T17:23:49Z
--- license: creativeml-openrail-m library_name: diffusers pipeline_tag: text-to-image tags: - Base Model - Person - Sexy - saftle - stable-diffusion - stable-diffusion-diffusers - diffusers - text-to-image --- No-ema safetensors version of this model. Sample and prompt: ![Sample](https://cdn-uploads.huggingface.co/production/uploads/63239b8370edc53f51cd5d42/wVDFt9A9e10i2yyQWulLc.png) pretty CUTE girl sitting on a sofa. holding poker cards, DETAILED CHIBI, Greatly drawn face, detailed hair, Magazine, iconic, 1940, from the movie, Cartoon, sharp focus, in forest. traditional drawing on canvas by ROSSDRAWS and Clay Mann and artgerm and leyendecker.
[ -0.37270811200141907, -1.1786761283874512, 0.2743314504623413, -0.07305839657783508, -0.23411697149276733, -0.2220487743616104, 0.5378405451774597, -0.6108956933021545, 0.7632462382316589, 0.838205873966217, -0.521979808807373, -0.5061396360397339, -0.5970568060874939, 0.05997353047132492, -0.31593576073646545, 0.7074794769287109, 0.21067574620246887, -0.05784034729003906, 0.16883695125579834, 0.03319688141345978, -0.40064024925231934, -0.08099851757287979, -0.6379473805427551, -0.10074593126773834, 0.30343347787857056, 0.45861709117889404, 0.7964211702346802, 0.3689206838607788, 0.43419864773750305, 0.40353769063949585, -0.032184306532144547, -0.44611093401908875, -0.3958342373371124, 0.013833741657435894, 0.07889466732740402, -0.950419545173645, -0.9500168561935425, 0.4585544764995575, 0.06218326836824417, 0.006979730445891619, -0.10516481846570969, 0.021618392318487167, -0.1014632135629654, 0.30355364084243774, -0.3340020179748535, 0.005581499543040991, -0.46606677770614624, 0.17318132519721985, -0.14246860146522522, 0.04748627170920372, -0.36741864681243896, -0.6061082482337952, 0.10060133039951324, -0.6157490611076355, 0.45253869891166687, -0.0589950866997242, 1.5581893920898438, 0.49270492792129517, -0.4965609312057495, -0.13659948110580444, -0.35711491107940674, 0.7022696137428284, -0.42815691232681274, 0.13032126426696777, 0.4309128224849701, 0.5389407873153687, -0.20673277974128723, -0.5504726767539978, -0.3590734302997589, 0.16506321728229523, -0.03801964223384857, -0.0642586424946785, -0.3062904477119446, -0.26742327213287354, 0.5579453110694885, 0.22517365217208862, -0.47139421105384827, 0.028895804658532143, -0.32303935289382935, 0.22588936984539032, 0.8398751616477966, 0.3383980989456177, 0.6181046962738037, -0.12720823287963867, -0.6242325305938721, -0.161051407456398, -0.8328272700309753, 0.00579434959217906, 0.22596777975559235, -0.09327235817909241, -0.6453660130500793, 0.7848765850067139, 0.18137042224407196, 0.6423127055168152, 0.37293344736099243, -0.039788588881492615, 0.3245350420475006, 0.1488059014081955, -0.34001830220222473, -0.4264746308326721, 0.3789638578891754, 0.761503279209137, 0.521910548210144, 0.20754770934581757, -0.08766942471265793, -0.010063689202070236, 0.5610220432281494, -1.0483899116516113, -0.364118754863739, 0.2040771096944809, -0.7305014133453369, -0.6069249510765076, -0.03499336168169975, -1.4981454610824585, -0.41665804386138916, 0.2085903286933899, 0.22878867387771606, -0.2930598258972168, -0.011269791051745415, -0.2934209108352661, -0.11874154210090637, 0.6235979795455933, 0.2475166916847229, -0.9137227535247803, -0.24891704320907593, 0.10069511085748672, 0.7149840593338013, 0.5901919603347778, 0.27535492181777954, 0.031920891255140305, 0.338979572057724, -0.5946174263954163, 1.0707709789276123, -0.4802876114845276, -0.563041627407074, -0.06884275376796722, 0.6048290729522705, -0.10622314363718033, -0.2515130639076233, 0.7916691303253174, -0.19639402627944946, -0.16319026052951813, 0.10396956652402878, -0.2826903760433197, -0.37979334592819214, 0.13135197758674622, -1.085694432258606, 0.6623310446739197, -0.07456491887569427, -0.6626274585723877, 0.6459288001060486, -0.38394075632095337, -0.11609021574258804, -0.21768814325332642, -0.36152398586273193, -0.7867283225059509, 0.3287888169288635, 0.05210234597325325, 0.45118698477745056, -0.07878938317298889, -0.028879741206765175, -1.122189998626709, -0.24385899305343628, 0.487226277589798, -0.2526737451553345, 1.092119812965393, 0.18612787127494812, -0.32510751485824585, 0.027538053691387177, -0.9024483561515808, 0.22307729721069336, 0.5497391223907471, 0.16060765087604523, -0.388762891292572, -0.3947030305862427, 0.3100396692752838, 0.8057417273521423, 0.2753351926803589, -0.7571506500244141, -0.021217431873083115, -0.09814900904893875, 0.19181522727012634, 0.5131179094314575, 0.05193877965211868, 0.10607394576072693, -0.9766120910644531, 0.38955461978912354, -0.3468422293663025, 0.5798454284667969, -0.060782287269830704, -0.49013403058052063, -0.9417465925216675, -0.7756465077400208, 0.15841810405254364, 0.49648699164390564, -0.2873935401439667, 0.8879246115684509, 0.22506774961948395, -0.9700337648391724, -0.42117226123809814, -0.17952510714530945, 0.23182010650634766, -0.353674054145813, -0.10752206295728683, -0.19966429471969604, -0.16820518672466278, -1.1957353353500366, -0.14932353794574738, 0.0937642753124237, -0.35631123185157776, 0.24068917334079742, 0.27207544445991516, -0.09715955704450607, 0.4766486585140228, -0.6335967183113098, -0.745833158493042, -0.3419005870819092, -0.2842262089252472, 0.24234777688980103, 0.7364396452903748, 1.2502007484436035, -0.5516200065612793, -0.5406478047370911, -0.4849487543106079, -0.6775253415107727, 0.053039804100990295, -0.06763065606355667, -0.4297011196613312, 0.01165887713432312, 0.3005492389202118, -0.7942839860916138, 1.1448936462402344, 0.2561672627925873, -0.8168737292289734, 0.02439144253730774, -0.337063729763031, 0.1988455206155777, -1.093015193939209, 0.3984419107437134, 0.1072334498167038, -0.27239641547203064, -0.6143896579742432, 0.5291610956192017, -0.06710335612297058, -0.6025050282478333, -0.34319013357162476, 0.6304354071617126, -0.6091590523719788, 0.4052383601665497, -0.3711701035499573, -0.08058835566043854, 0.293289452791214, 0.4972684681415558, 0.23109473288059235, 0.11119797825813293, 0.7558755278587341, -0.11936043202877045, -0.17681732773780823, 0.8354170322418213, 0.11021383851766586, 0.9574578404426575, -1.0791125297546387, 0.33865460753440857, -0.24292318522930145, -0.27573835849761963, -1.0241910219192505, -0.36506763100624084, 0.3246166706085205, -0.13598912954330444, 0.6547524929046631, 0.21849973499774933, -0.24082157015800476, -0.29684337973594666, -0.4828093945980072, -0.12820343673229218, 0.695245087146759, -0.5234907865524292, 0.7469590902328491, 0.572641909122467, -0.23261509835720062, -0.022228531539440155, -0.7123849391937256, -0.31929972767829895, -0.47216784954071045, -0.5461631417274475, 0.25351688265800476, -0.031979672610759735, -0.28035175800323486, -0.20480133593082428, -0.08814087510108948, -0.5471335053443909, -0.10408653318881989, 0.7945965528488159, 0.5994616746902466, -0.02031276375055313, -0.36969688534736633, -0.005526447668671608, -0.12064605206251144, -0.18432825803756714, 1.1963735818862915, 0.23220279812812805, -0.24103672802448273, -0.22548657655715942, -0.8539400696754456, 0.6633957028388977, 0.7923758625984192, 0.11530852317810059, 0.5754444599151611, 0.1452450156211853, -0.578054666519165, -0.03605975583195686, -0.6578319072723389, -0.41613632440567017, -0.48217085003852844, -0.1818752884864807, -0.522541880607605, -0.4649345576763153, 0.7058265209197998, 0.1756954789161682, 0.06729098409414291, 0.4350065290927887, 0.24911874532699585, -0.13761568069458008, 1.0104554891586304, 1.030211091041565, 0.33019816875457764, 0.6992493867874146, -0.3352537155151367, 0.15630576014518738, -0.35249990224838257, -0.4564988911151886, -0.6658499836921692, -0.6852722764015198, -0.5054222941398621, -0.4801315665245056, -0.15006473660469055, 0.040122926235198975, -0.4878380596637726, 0.6858930587768555, -0.30447083711624146, 0.4867773652076721, 0.4447317123413086, 0.4818214774131775, -0.0011494053760543466, 0.01138135977089405, 0.10648582130670547, -0.1735275387763977, -0.46445581316947937, -0.8740290403366089, 0.8739305734634399, 0.5007846355438232, 1.1270283460617065, 0.13690604269504547, 0.7909371256828308, -0.06599859148263931, 0.4645320177078247, -0.2519931197166443, 0.7211153507232666, -0.06790464371442795, -1.3897804021835327, -0.25683456659317017, 0.0391450934112072, -0.8804393410682678, 0.12883780896663666, -0.5487934350967407, -1.0190989971160889, 0.9431182146072388, -0.1106986328959465, -0.6226765513420105, 0.2512626647949219, -0.5675931572914124, 1.179150104522705, -0.2672535181045532, -0.5686829090118408, -0.14564771950244904, -0.6394415497779846, 0.4378214180469513, -0.10125989466905594, -0.018164806067943573, -0.459227979183197, 0.02519373968243599, 0.3856503963470459, -0.4833012819290161, 1.0023105144500732, -0.004486360587179661, 0.23455460369586945, 0.6300730109214783, 0.27235496044158936, 0.4522162079811096, -0.009082844480872154, 0.04124804586172104, 0.2637382447719574, 0.2982286810874939, -0.46842288970947266, -0.3637770414352417, 0.8807685375213623, -0.708623468875885, -0.5819562077522278, -0.573032557964325, -0.4480772018432617, 0.1754242330789566, 0.02230917662382126, 0.3998793959617615, 0.4323512017726898, -0.5160916447639465, 0.22672139108181, 0.2676297426223755, -0.4227661192417145, 0.5946432948112488, 0.3253956735134125, -0.23328246176242828, -0.38565897941589355, 0.5218993425369263, 0.12589046359062195, 0.14210408926010132, -0.07783966511487961, -0.07372704148292542, -0.35317909717559814, 0.020688937976956367, -0.36400237679481506, 0.5162979960441589, -0.4269644021987915, -0.14869369566440582, -0.4369604289531708, -0.1568698137998581, 0.051577258855104446, -0.5845377445220947, -0.35450252890586853, -0.4300501048564911, -0.48298752307891846, -0.1285381317138672, 0.5994925498962402, 0.7961898446083069, 0.15702933073043823, 0.3441692888736725, -0.9038800001144409, 0.32555028796195984, 0.38448888063430786, 0.46771538257598877, -0.1528385877609253, -0.12545903027057648, 0.20001769065856934, -0.5400010943412781, -0.762964129447937, -1.2516931295394897, 0.6426723003387451, -0.01095352042466402, 0.8390812277793884, 0.6038756370544434, 0.22367531061172485, 0.4307778775691986, -0.33536896109580994, 0.43194401264190674, 0.3185461759567261, -0.579265296459198, 0.5367525815963745, -0.538802444934845, -0.06899280846118927, 0.6600631475448608, 0.12017904222011566, 0.05884800851345062, -0.45258986949920654, -1.1844043731689453, -0.39205896854400635, 0.5930674076080322, 0.2236100286245346, 0.1920246034860611, 0.0024716141633689404, -0.05791928991675377, 0.02892918698489666, 0.32228517532348633, -0.6349028944969177, -0.2809096574783325, -0.4018349051475525, 0.07354405522346497, 0.1006687581539154, -0.28777143359184265, -0.11081430315971375, -0.3008103370666504, 0.6313412189483643, -0.12270471453666687, 0.5586474537849426, -0.016675405204296112, 0.20493239164352417, -0.3521919548511505, 0.2648122012615204, 0.27844148874282837, 0.4847809970378876, -0.6190978288650513, -0.06440164148807526, -0.0016944532981142402, -0.27294063568115234, 0.5036157965660095, 0.12604962289333344, -0.6550912857055664, 0.3254154622554779, 0.009277991950511932, 0.834212064743042, 0.5038177967071533, -0.5764148235321045, 0.4803447723388672, -0.14774653315544128, 0.2020324468612671, -0.29933521151542664, 0.23591560125350952, 0.05277847871184349, 0.48421552777290344, -0.20296651124954224, 0.37937429547309875, 0.15306195616722107, -0.5514796376228333, 0.39956992864608765, 0.5936722159385681, -0.7370161414146423, -0.3285508155822754, 1.1317921876907349, 0.3584055006504059, -0.4680192768573761, 0.5895775556564331, 0.27973562479019165, -0.09807385504245758, 0.899047315120697, 0.6979129314422607, 1.2081983089447021, -0.6535536050796509, 0.473134309053421, 0.7280773520469666, 0.28043290972709656, 0.5023070573806763, 0.8831478357315063, 0.4598821997642517, -0.2077871859073639, 0.5455921292304993, -0.569097101688385, -0.26980260014533997, -0.009403298608958721, -0.6468437314033508, 0.8494660258293152, -0.8744421601295471, -0.42052385210990906, -0.20687609910964966, -0.08534713089466095, -0.754292368888855, 0.31825968623161316, -0.2500607669353485, 1.1306266784667969, -1.0905190706253052, 0.9339237213134766, 0.391943097114563, -0.5994760990142822, -0.8752200603485107, -0.061177439987659454, 0.2634549140930176, -0.5134091377258301, 0.22862696647644043, 0.39667803049087524, 0.5291355848312378, -0.1456979662179947, -0.46623432636260986, -0.7666390538215637, 1.1409912109375, 0.21894192695617676, -0.7568019032478333, -0.11654987931251526, -0.42546382546424866, 0.383780837059021, -0.3223629593849182, 0.67821204662323, 0.45646932721138, 0.36399391293525696, 0.4023749828338623, -0.5245063304901123, 0.09728622436523438, -0.7045012712478638, 0.07812616229057312, 0.15934571623802185, -0.9057591557502747, 0.9618966579437256, -0.5548627376556396, -0.2946959137916565, 0.7938315868377686, 0.8335554599761963, 0.5658066868782043, 0.14124716818332672, 0.6287475228309631, 0.6387618780136108, 0.32701367139816284, -0.05497602000832558, 1.266178846359253, -0.21546973288059235, 0.17153072357177734, 0.9832916259765625, -0.319816917181015, 0.876051664352417, 0.5347350239753723, -0.16622117161750793, 0.3437860906124115, 0.8785164952278137, -0.256003737449646, 0.6313879489898682, 0.08500172197818756, -0.06447067856788635, -0.36302030086517334, -0.350154846906662, -0.23612183332443237, 0.3810282349586487, 0.23891790211200714, -0.6383168697357178, -0.5365891456604004, -0.13956385850906372, -0.21624357998371124, 0.1602453887462616, -0.05241844430565834, 0.6815319657325745, 0.3827112913131714, -0.017456697300076485, 0.38367414474487305, -0.2810688614845276, 0.39359262585639954, -0.4203428328037262, -0.36562198400497437, -0.23905546963214874, 0.3229551613330841, 0.07334303855895996, -0.6064856648445129, 0.4976843595504761, -0.005659759044647217, 0.11847427487373352, -0.006074396427720785, 0.7297790050506592, -0.3691161870956421, -0.8806362152099609, 0.33339062333106995, 0.322650283575058, 0.45232152938842773, 0.4200246036052704, -1.068284034729004, 0.061455562710762024, -0.22629792988300323, -0.303489089012146, 0.2984353303909302, 0.2549854516983032, -0.012311065569519997, 0.3860338032245636, 0.1145906075835228, -0.24088096618652344, 0.09632094204425812, -0.12976287305355072, 0.4364716708660126, -0.5655370354652405, -0.5512752532958984, -0.5681426525115967, 0.439832478761673, -0.27270275354385376, -0.6423934698104858, 1.0796208381652832, 0.3913176357746124, 0.3695985972881317, -0.7821828126907349, 0.25243473052978516, -0.38735827803611755, 0.36611050367355347, -0.2794848084449768, 1.261462926864624, -0.7165564298629761, -0.4859517514705658, -0.60346519947052, -1.141357660293579, -0.34272560477256775, 1.0408551692962646, -0.11371216177940369, 0.14080752432346344, 0.4386436641216278, 1.0775727033615112, -0.06592999398708344, 0.3413738012313843, 0.5138709545135498, 0.0032022695522755384, 0.17830350995063782, 0.507470965385437, 0.6943345069885254, -0.5280396342277527, -0.10261156409978867, -0.4259597063064575, -0.16590997576713562, -0.3541869521141052, -0.761439859867096, -1.594171404838562, -0.3486689329147339, -0.5187831521034241, -0.3764340281486511, -0.18498145043849945, 0.9546205997467041, 0.8990004062652588, -0.8884685039520264, -0.14783975481987, 0.2573995292186737, 0.07459229975938797, 0.01504222396761179, -0.1343928426504135, 0.4235472083091736, 0.604155957698822, -1.1204893589019775, 0.05658130347728729, 0.040158193558454514, 0.9435393214225769, -0.1084011122584343, 0.09122177958488464, -0.34643328189849854, 0.2924953103065491, -0.016803929582238197, 0.12294822186231613, -0.692317545413971, -0.6991298198699951, -0.12014838308095932, -0.2945576310157776, 0.00753125362098217, 0.4557414650917053, -0.1618545651435852, 0.18917441368103027, 0.6096969246864319, 0.17069581151008606, 0.30769622325897217, 0.005249794106930494, 0.42287737131118774, -0.1662973165512085, 0.4689805209636688, -0.011335689574480057, 0.5647203922271729, 0.24540887773036957, -0.4750659167766571, 0.5595943927764893, 0.2100035846233368, -0.5605904459953308, -0.6142065525054932, 0.10446074604988098, -1.1438511610031128, -0.15225961804389954, 0.6370608806610107, -0.14295653998851776, -0.7419646382331848, -0.06536180526018143, -0.6786912083625793, 0.12963424623012543, -0.3033343553543091, 0.7711917161941528, 0.47368356585502625, 0.018912360072135925, -0.6343818306922913, -0.6181765794754028, 0.31791555881500244, 0.21050307154655457, -0.8413988351821899, -0.18939334154129028, 0.6056239604949951, 0.5781326293945312, 0.40166226029396057, 0.5072625279426575, -0.4193073809146881, 0.18531295657157898, 0.6693480014801025, 0.597801923751831, 0.09023699164390564, -0.6711381077766418, -0.216858372092247, 0.1670743077993393, 0.009690145961940289, -0.45412933826446533 ]
togethercomputer/RedPajama-INCITE-Base-3B-v1
togethercomputer
2023-05-09T14:59:20Z
7,028
82
transformers
[ "transformers", "pytorch", "gpt_neox", "text-generation", "en", "dataset:togethercomputer/RedPajama-Data-1T", "license:apache-2.0", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-05-04T05:51:02Z
--- license: apache-2.0 language: - en datasets: - togethercomputer/RedPajama-Data-1T --- # RedPajama-INCITE-Base-3B-v1 RedPajama-INCITE-Base-3B-v1 was developed by Together and leaders from the open-source AI community including Ontocord.ai, ETH DS3Lab, AAI CERC, Université de Montréal, MILA - Québec AI Institute, Stanford Center for Research on Foundation Models (CRFM), Stanford Hazy Research research group and LAION. The training was done on 3,072 V100 GPUs provided as part of the INCITE 2023 project on Scalable Foundation Models for Transferrable Generalist AI, awarded to MILA, LAION, and EleutherAI in fall 2022, with support from the Oak Ridge Leadership Computing Facility (OLCF) and INCITE program. - Base Model: [RedPajama-INCITE-Base-3B-v1](https://huggingface.co/togethercomputer/RedPajama-INCITE-Base-3B-v1) - Instruction-tuned Version: [RedPajama-INCITE-Instruct-3B-v1](https://huggingface.co/togethercomputer/RedPajama-INCITE-Instruct-3B-v1) - Chat Version: [RedPajama-INCITE-Chat-3B-v1](https://huggingface.co/togethercomputer/RedPajama-INCITE-Chat-3B-v1) ## Model Details - **Developed by**: Together Computer. - **Model type**: Language Model - **Language(s)**: English - **License**: Apache 2.0 - **Model Description**: A 2.8B parameter pretrained language model. # Quick Start Please note that the model requires `transformers` version >= 4.25.1. ## GPU Inference This requires a GPU with 8GB memory. ```python import torch import transformers from transformers import AutoTokenizer, AutoModelForCausalLM MIN_TRANSFORMERS_VERSION = '4.25.1' # check transformers version assert transformers.__version__ >= MIN_TRANSFORMERS_VERSION, f'Please upgrade transformers to version {MIN_TRANSFORMERS_VERSION} or higher.' # init tokenizer = AutoTokenizer.from_pretrained("togethercomputer/RedPajama-INCITE-Base-3B-v1") model = AutoModelForCausalLM.from_pretrained("togethercomputer/RedPajama-INCITE-Base-3B-v1", torch_dtype=torch.float16) model = model.to('cuda:0') # infer prompt = "Alan Turing is" inputs = tokenizer(prompt, return_tensors='pt').to(model.device) input_length = inputs.input_ids.shape[1] outputs = model.generate( **inputs, max_new_tokens=128, do_sample=True, temperature=0.7, top_p=0.7, top_k=50, return_dict_in_generate=True, ) token = outputs.sequences[0, input_length:] output_str = tokenizer.decode(token) print(output_str) """ a name that has been synonymous with the computer age since the 1950s. The British mathematician, logician, and cryptanalyst is widely regarded as the father of modern computing. His contributions to the development of the modern computer and the theory of computation have had a profound impact on the world we live in today. Turing’s contributions to the development of the modern computer were made in the 1940s and 1950s. He is most famous for his work on the Turing machine, a theoretical model of a computing machine that was able to perform all the mathematical operations of a computer. Turing’s work on the... """ ``` ## GPU Inference in Int8 To run inference with int8, please ensure you have installed accelerate and bitandbytes. You can install them with the following command: ```bash pip install accelerate pip install bitsandbytes ``` Then you can run inference with int8 as follows: ```python import torch import transformers from transformers import AutoTokenizer, AutoModelForCausalLM MIN_TRANSFORMERS_VERSION = '4.25.1' # check transformers version assert transformers.__version__ >= MIN_TRANSFORMERS_VERSION, f'Please upgrade transformers to version {MIN_TRANSFORMERS_VERSION} or higher.' # init tokenizer = AutoTokenizer.from_pretrained("togethercomputer/RedPajama-INCITE-Base-3B-v1") model = AutoModelForCausalLM.from_pretrained("togethercomputer/RedPajama-INCITE-Base-3B-v1", device_map='auto', torch_dtype=torch.float16, load_in_8bit=True) # infer prompt = "Alan Turing is" inputs = tokenizer(prompt, return_tensors='pt').to(model.device) input_length = inputs.input_ids.shape[1] outputs = model.generate( **inputs, max_new_tokens=128, do_sample=True, temperature=0.7, top_p=0.7, top_k=50, return_dict_in_generate=True ) token = outputs.sequences[0, input_length:] output_str = tokenizer.decode(token) print(output_str) """ the man who cracked the Enigma code during World War II, and who was later convicted of homosexual acts. He was a brilliant mathematician, and a visionary who foresaw the computer age.... """ ``` ## CPU Inference You can run inference on CPU as follows: ```python import torch import transformers from transformers import AutoTokenizer, AutoModelForCausalLM MIN_TRANSFORMERS_VERSION = '4.25.1' # check transformers version assert transformers.__version__ >= MIN_TRANSFORMERS_VERSION, f'Please upgrade transformers to version {MIN_TRANSFORMERS_VERSION} or higher.' # init tokenizer = AutoTokenizer.from_pretrained("togethercomputer/RedPajama-INCITE-Base-3B-v1") model = AutoModelForCausalLM.from_pretrained("togethercomputer/RedPajama-INCITE-Base-3B-v1", torch_dtype=torch.bfloat16) # infer prompt = "Alan Turing is" inputs = tokenizer(prompt, return_tensors='pt').to(model.device) input_length = inputs.input_ids.shape[1] outputs = model.generate( **inputs, max_new_tokens=128, do_sample=True, temperature=0.7, top_p=0.7, top_k=50, return_dict_in_generate=True ) token = outputs.sequences[0, input_length:] output_str = tokenizer.decode(token) print(output_str) """ a name that is synonymous with the history of computer science. As the man who invented the Turing machine, the mathematical model that defines the limits of what can be computed, Turing is credited with the invention of the modern computer. Turing was also a mathematician and logician, and his work in these fields led to the development of the field of artificial intelligence... """ ``` Please note that since `LayerNormKernelImpl` is not implemented in fp16 for CPU, we use `bfloat16` for CPU inference. # Uses Excluded uses are described below. ### Misuse, Malicious Use, and Out-of-Scope Use It is the responsibility of the end user to ensure that the model is used in a responsible and ethical manner. #### Out-of-Scope Use `RedPajama-INCITE-Base-3B-v1` is a language model and may not perform well for other use cases outside of its intended scope. For example, it may not be suitable for use in safety-critical applications or for making decisions that have a significant impact on individuals or society. It is important to consider the limitations of the model and to only use it for its intended purpose. #### Misuse and Malicious Use `RedPajama-INCITE-Base-3B-v1` is designed for language modeling. Misuse of the model, such as using it to engage in illegal or unethical activities, is strictly prohibited and goes against the principles of the project. Using the model to generate content that is cruel to individuals is a misuse of this model. This includes, but is not limited to: - Generating fake news, misinformation, or propaganda - Promoting hate speech, discrimination, or violence against individuals or groups - Impersonating individuals or organizations without their consent - Engaging in cyberbullying or harassment - Defamatory content - Spamming or scamming - Sharing confidential or sensitive information without proper authorization - Violating the terms of use of the model or the data used to train it - Creating automated bots for malicious purposes such as spreading malware, phishing scams, or spamming ## Limitations `RedPajama-INCITE-Base-3B-v1`, like other language models, has limitations that should be taken into consideration. For example, the model may not always provide accurate or relevant answers, particularly for questions that are complex, ambiguous, or outside of its training data. We therefore welcome contributions from individuals and organizations, and encourage collaboration towards creating a more robust and inclusive chatbot. ## Training **Training Data** Please refer to [togethercomputer/RedPajama-Data-1T](https://huggingface.co/datasets/togethercomputer/RedPajama-Data-1T) **Training Procedure** - **Hardware:** 256 nodes of 6xV100 (IBM Power9), on the OLCF Summit cluster - **Optimizer:** Apex FusedAdam - **Parallelism:** Pipeline parallel 6, tensor parallel 2 - **Gradient Accumulations**: 8 (global batch size 4M tokens) - **Num of Tokens:** 800B Tokens - **Learning rate:** 0.00016 ## Benchmark Please refer to our [blog post](https://together.xyz) for benchmark results. ## Community Join us on [Together Discord](https://discord.gg/6ZVDU8tTD4)
[ -0.3881007432937622, -0.9779627323150635, 0.3203420042991638, 0.37474361062049866, 0.021104291081428528, -0.18520936369895935, -0.22637668251991272, -0.4541620910167694, 0.130341574549675, 0.3664267659187317, -0.5370022058486938, -0.3575094938278198, -0.7947101593017578, -0.022215716540813446, -0.46227768063545227, 0.8094679117202759, -0.026965318247675896, -0.1436493843793869, -0.3061152696609497, 0.05429830029606819, -0.3267872631549835, -0.4449465572834015, -0.572512149810791, -0.5187555551528931, -0.13107913732528687, 0.23199833929538727, 0.5186673998832703, 0.4028926491737366, 0.5156592726707458, 0.39569714665412903, 0.032507408410310745, -0.018973080441355705, -0.3514517545700073, -0.09843561053276062, 0.17826996743679047, -0.5495747923851013, -0.31784680485725403, -0.02138124778866768, 0.43528029322624207, 0.3971257507801056, 0.032181110233068466, 0.2604810893535614, -0.14731085300445557, 0.45268529653549194, -0.504132866859436, 0.3316539525985718, -0.6535191535949707, 0.018673507496714592, -0.1785164475440979, -0.15042656660079956, -0.48961925506591797, -0.3191398084163666, -0.05247446149587631, -0.4540499448776245, 0.22496634721755981, -0.15879063308238983, 0.8962057828903198, 0.38116323947906494, 0.03541663661599159, -0.23568469285964966, -0.5305857062339783, 0.8564696311950684, -0.927836000919342, 0.19526535272598267, 0.409376859664917, 0.17485274374485016, -0.28320837020874023, -0.9543203711509705, -0.6895663738250732, -0.215196892619133, -0.10867467522621155, -0.049051664769649506, -0.3497931957244873, -0.10233566164970398, 0.4335395395755768, 0.26613250374794006, -0.4975830018520355, -0.14446750283241272, -0.7071185111999512, -0.1448000818490982, 0.5547580122947693, 0.17857065796852112, 0.5379602313041687, -0.10729242116212845, -0.24006709456443787, -0.21019622683525085, -0.5807326436042786, 0.04892771691083908, 0.31454893946647644, 0.19934803247451782, -0.516375720500946, 0.5272178649902344, -0.0986747145652771, 0.5708763003349304, 0.03933989629149437, -0.24146561324596405, 0.5704881548881531, -0.19376903772354126, -0.3862905502319336, -0.017186563462018967, 1.1014055013656616, 0.10655201971530914, 0.20113365352153778, 0.054182518273591995, 0.20601648092269897, 0.200230672955513, 0.07941341400146484, -0.8295066952705383, -0.5503091216087341, 0.42747756838798523, -0.3458968997001648, -0.16058233380317688, 0.11796696484088898, -0.5548733472824097, -0.16364039480686188, 0.07042741030454636, 0.6180510520935059, -0.5214474201202393, -0.4107961058616638, 0.12096402794122696, -0.2892098128795624, 0.23472678661346436, 0.059434108436107635, -1.0976390838623047, 0.36003172397613525, 0.4505768120288849, 0.7168627381324768, 0.021632473915815353, -0.5450505018234253, 0.023359252139925957, -0.06219526380300522, -0.0667525976896286, 0.3092423677444458, -0.32696521282196045, -0.13183580338954926, -0.38951462507247925, -0.04487074911594391, -0.10195732861757278, -0.4602566957473755, 0.16586291790008545, -0.2757471203804016, 0.5400418043136597, 0.2813718020915985, -0.5158279538154602, -0.3058319091796875, 0.06125938892364502, -0.4523843228816986, 1.0730235576629639, 0.23519136011600494, -0.8977896571159363, -0.03580254316329956, -0.9125256538391113, -0.47831669449806213, -0.031243231147527695, -0.3589821457862854, -0.682993471622467, -0.049160394817590714, 0.23367615044116974, 0.3780984878540039, -0.3888813853263855, 0.1898784190416336, -0.2771711051464081, -0.42164522409439087, 0.2654007375240326, -0.4465203285217285, 1.5060147047042847, 0.07421300560235977, -0.8615784049034119, 0.1474483460187912, -0.581760585308075, 0.09462595731019974, 0.404461145401001, -0.04715681076049805, 0.18434984982013702, -0.2094666063785553, -0.1651972234249115, 0.17761674523353577, 0.42942482233047485, -0.5434868931770325, 0.10269930213689804, -0.5677376389503479, 0.7449408769607544, 0.6852877736091614, -0.06302561610937119, 0.23740947246551514, -0.2777376174926758, 0.42213138937950134, 0.013699985109269619, 0.2853885293006897, -0.0457969605922699, -0.8223899602890015, -0.8467562794685364, -0.31743356585502625, 0.11682252585887909, 0.5594160556793213, -0.5050402879714966, 0.542269229888916, -0.022055914625525475, -0.6446473598480225, -0.5854535102844238, -0.15755721926689148, 0.23271536827087402, 0.3636592924594879, 0.5570278167724609, -0.14277490973472595, -0.7211509943008423, -0.8930543661117554, -0.022672072052955627, -0.26839765906333923, -0.04208081588149071, 0.41178783774375916, 0.6843729019165039, -0.42679572105407715, 0.7205082774162292, -0.4852677285671234, -0.05825965479016304, -0.21065309643745422, 0.12043745070695877, 0.5463497042655945, 0.8036940097808838, 0.45610490441322327, -0.4659370481967926, -0.45657891035079956, -0.10877024382352829, -0.9328502416610718, 0.13806654512882233, -0.09288131445646286, -0.13268612325191498, 0.3094289004802704, 0.36168724298477173, -0.8353053331375122, 0.5019528865814209, 0.5036739110946655, -0.4376945495605469, 0.5698093771934509, -0.21705558896064758, 0.19318701326847076, -0.9310827851295471, 0.14439615607261658, -0.2741106152534485, -0.051699198782444, -0.5289394855499268, 0.10006729513406754, -0.009294289164245129, -0.02796316333115101, -0.7262159585952759, 0.7633987665176392, -0.3462619483470917, 0.10581276565790176, -0.14134275913238525, -0.07698536664247513, -0.17265836894512177, 0.6776229739189148, -0.10561876744031906, 0.6483799815177917, 0.7527651190757751, -0.6843037009239197, 0.4414190351963043, 0.28293031454086304, -0.2949255108833313, 0.08374286442995071, -0.7501587271690369, 0.16759666800498962, 0.13140486180782318, -0.005873840767890215, -0.8551378846168518, -0.11550262570381165, 0.5121800303459167, -0.9040821194648743, 0.21617905795574188, 0.05521273612976074, -0.44560784101486206, -0.44757819175720215, -0.19203171133995056, 0.4395418167114258, 0.8119416236877441, -0.5000694394111633, 0.6757534742355347, 0.6016651391983032, 0.10105530172586441, -0.6078870296478271, -0.8220824003219604, -0.14767450094223022, -0.18449880182743073, -0.8121106028556824, 0.2993624210357666, -0.2703319787979126, -0.3026502728462219, -0.09538152813911438, -0.04024612903594971, -0.11382363736629486, 0.32001152634620667, 0.30633464455604553, 0.3614533245563507, 0.030488809570670128, -0.3013431131839752, -0.1586374193429947, -0.06238251179456711, 0.45346760749816895, -0.03608352318406105, 0.8269000053405762, -0.3714469075202942, -0.1895952969789505, -0.7258486747741699, 0.08335372060537338, 0.5550013184547424, 0.09912898391485214, 0.8108840584754944, 0.6137177348136902, -0.5218235850334167, -0.16625989973545074, -0.3854764997959137, -0.46182695031166077, -0.499397873878479, 0.3893221616744995, -0.4212722182273865, -0.7285884022712708, 0.4121977686882019, 0.3657089173793793, 0.19320623576641083, 0.7659897804260254, 0.8615747094154358, 0.010865201242268085, 0.9390289187431335, 0.4740695655345917, -0.042543500661849976, 0.48809701204299927, -0.6485793590545654, 0.11291936039924622, -0.7517378330230713, -0.3347172141075134, -0.5665985941886902, -0.20865775644779205, -0.6220098733901978, -0.3895231783390045, 0.19229421019554138, 0.0026603476144373417, -0.6193174123764038, 0.5318434238433838, -0.8215234875679016, 0.32129788398742676, 0.7441034913063049, 0.08804678916931152, -0.06998982280492783, 0.04935692995786667, -0.07067471742630005, 0.07592394202947617, -0.7543755769729614, -0.2778860926628113, 1.0650330781936646, 0.39231348037719727, 0.7405664324760437, -0.005110125057399273, 0.6443942189216614, 0.05949501320719719, 0.2701651155948639, -0.30097487568855286, 0.5706954598426819, 0.06493239104747772, -0.8320687413215637, -0.2386249154806137, -0.5160700678825378, -0.9291582107543945, 0.21658900380134583, -0.05544194579124451, -0.9349299073219299, -0.09836935997009277, 0.19983623921871185, -0.10804309695959091, 0.37221619486808777, -0.779800295829773, 1.042965292930603, -0.23852001130580902, -0.2232656627893448, -0.2099994719028473, -0.6647945642471313, 0.504483163356781, 0.3153691589832306, 0.04382745549082756, -0.1422530859708786, 0.24559395015239716, 0.8998801708221436, -0.4214661121368408, 0.8749381303787231, -0.15288983285427094, 0.2787168025970459, 0.4064255654811859, 0.0634709969162941, 0.35016930103302, 0.003989255055785179, -0.007391950581222773, 0.6156007647514343, -0.061087001115083694, -0.415409117937088, -0.3718321621417999, 0.8606593608856201, -1.1937315464019775, -0.5760474801063538, -0.5399558544158936, -0.5026718974113464, 0.08190136402845383, 0.29874417185783386, 0.44226157665252686, 0.2644047141075134, 0.14187610149383545, 0.26493823528289795, 0.579012930393219, -0.215291827917099, 0.462697833776474, 0.1349414438009262, -0.1303827315568924, -0.46595504879951477, 0.8789584636688232, -0.0983702689409256, 0.12019471079111099, 0.20356078445911407, 0.15192538499832153, -0.2570027709007263, -0.4016173481941223, -0.434876024723053, 0.4080588221549988, -0.6826001405715942, -0.1724500060081482, -0.7593058943748474, -0.44400888681411743, -0.4937904477119446, -0.11329612880945206, -0.37009912729263306, -0.4984836280345917, -0.5746819376945496, 0.2000122219324112, 0.43295907974243164, 0.4173619747161865, 0.055984977632761, 0.19494396448135376, -0.38682690262794495, 0.3710518479347229, 0.132960706949234, 0.274354487657547, -0.003691869555041194, -0.7727135419845581, -0.21027593314647675, 0.03982853144407272, -0.39538004994392395, -0.6324475407600403, 0.3274233639240265, -0.04695455729961395, 0.625353991985321, 0.11052292585372925, -0.022174803540110588, 0.6244785785675049, -0.23931826651096344, 0.8535115718841553, 0.2802663743495941, -0.987170398235321, 0.5930808782577515, -0.006549385841935873, 0.5299077033996582, 0.3557528853416443, 0.38617685437202454, -0.29885250329971313, -0.6047874689102173, -1.1001253128051758, -0.9285899996757507, 0.9628850221633911, 0.5166670680046082, 0.07159918546676636, -0.14673517644405365, 0.15285713970661163, 0.05506247282028198, 0.20883521437644958, -1.053887963294983, -0.6880936622619629, -0.29682573676109314, -0.36657950282096863, 0.2166203111410141, 0.04435594752430916, -0.11325802654027939, -0.3878072202205658, 1.0829240083694458, 0.13449975848197937, 0.7388424873352051, 0.07324636727571487, -0.27858006954193115, 0.05695829167962074, -0.07073693722486496, 0.6328146457672119, 0.9032734632492065, -0.2314956784248352, 0.08661262691020966, 0.21995899081230164, -0.5534720420837402, 0.06212320178747177, 0.14292088150978088, -0.3009040951728821, -0.04713039472699165, 0.4044557809829712, 0.9564515948295593, -0.0834425687789917, -0.5165778398513794, 0.3086180090904236, -0.28224778175354004, -0.2906331717967987, -0.52683424949646, 0.3745231330394745, 0.21841832995414734, 0.26469549536705017, 0.22289715707302094, 0.09826219826936722, -0.15240859985351562, -0.3946561813354492, 0.08644013851881027, 0.5357451438903809, -0.18055881559848785, -0.2064957320690155, 0.8824535608291626, 0.07666055858135223, -0.5200378894805908, 0.7924861907958984, 0.005701532121747732, -0.4002551734447479, 0.8232477903366089, 0.7481346726417542, 0.8837025761604309, 0.026064634323120117, -0.12810753285884857, 0.611194908618927, 0.4446673095226288, -0.06877578794956207, 0.2971747815608978, -0.054369308054447174, -0.6859676241874695, -0.19291268289089203, -0.5109373927116394, -0.2617857754230499, 0.24529850482940674, -0.29661083221435547, 0.2799398601055145, -0.6262611746788025, -0.1360456645488739, -0.012204260565340519, 0.15123675763607025, -0.690352737903595, 0.06880278140306473, 0.08594276756048203, 0.805554211139679, -0.7604285478591919, 0.8140329718589783, 0.5102888345718384, -0.5162596702575684, -0.7301039099693298, -0.2930811643600464, -0.151742622256279, -0.8287218809127808, 0.5450780987739563, 0.3256310522556305, -0.07008516043424606, 0.15215665102005005, -0.6589232683181763, -0.8157954216003418, 1.0437639951705933, 0.550851583480835, -0.22903946042060852, 0.13798153400421143, -0.08538714051246643, 0.3308672606945038, -0.23978328704833984, 0.6897819638252258, 0.6362918615341187, 0.4514435827732086, -0.12373395264148712, -0.805874228477478, 0.11073160916566849, -0.3592721223831177, -0.18448927998542786, 0.3047710955142975, -0.5183062553405762, 1.1870414018630981, -0.2813343107700348, -0.20376116037368774, 0.006481500342488289, 0.9117926955223083, 0.41298240423202515, -0.06530045717954636, 0.26754483580589294, 0.6581169366836548, 0.6977003216743469, -0.19276824593544006, 1.0296865701675415, -0.5117372870445251, 0.6014147996902466, 0.9924219846725464, 0.2676348090171814, 0.6295501589775085, 0.4014245271682739, -0.5057539343833923, 0.6503136157989502, 0.37364569306373596, -0.1523132175207138, 0.34347328543663025, 0.1643075942993164, -0.22732418775558472, 0.04539826884865761, 0.4103220999240875, -0.5306428670883179, 0.2617838680744171, 0.34167125821113586, -0.40178337693214417, 0.051462676376104355, -0.167328879237175, 0.183615043759346, -0.2515951991081238, -0.08060473948717117, 0.5302583575248718, 0.0015137067530304193, -0.5768749117851257, 0.9897722005844116, 0.14521430432796478, 0.8432156443595886, -0.6010685563087463, -0.07428625971078873, -0.12344691157341003, 0.3793041706085205, -0.25320520997047424, -0.6113845109939575, 0.2567046880722046, -0.16501781344413757, -0.12661390006542206, 0.06274619698524475, 0.43419334292411804, -0.3982769846916199, -0.5492130517959595, 0.19760502874851227, 0.09038800746202469, 0.5183601379394531, 0.016476981341838837, -0.9284233450889587, 0.4347640872001648, 0.20376676321029663, -0.27698421478271484, 0.1785632222890854, 0.12798647582530975, 0.125739187002182, 0.7475423812866211, 0.49754947423934937, -0.024629896506667137, 0.20258352160453796, -0.20744840800762177, 0.6625325679779053, -0.7358376383781433, -0.41123059391975403, -1.0857679843902588, 0.47649842500686646, 0.04985671862959862, -0.3933549225330353, 0.8760389685630798, 0.5440344214439392, 1.121207356452942, -0.1089014858007431, 0.8303525447845459, -0.5104866027832031, 0.07793156057596207, -0.2907102108001709, 0.7331881523132324, -0.4469357132911682, 0.1249004378914833, -0.1921299248933792, -0.774875819683075, -0.28367653489112854, 1.0197426080703735, -0.10083073377609253, 0.2821209132671356, 0.7514541149139404, 0.8478207588195801, -0.020777372643351555, -0.07468456029891968, 0.07137303054332733, 0.4645029306411743, 0.4572446644306183, 0.6974160671234131, 0.4407511353492737, -0.749251127243042, 0.5106422901153564, -0.6418665051460266, -0.30228191614151, -0.2553820013999939, -0.6493750214576721, -0.9554171562194824, -0.5623572468757629, -0.35258305072784424, -0.562835693359375, -0.05536318197846413, 1.0791490077972412, 0.7522873282432556, -0.8018979430198669, -0.4859175384044647, -0.2500270903110504, 0.25120043754577637, -0.32630908489227295, -0.2989150881767273, 0.40282294154167175, -0.25893858075141907, -0.8591908812522888, 0.28741171956062317, 0.18805457651615143, 0.08880287408828735, -0.467282235622406, -0.18072256445884705, -0.3866100609302521, -0.027282604947686195, 0.505439043045044, 0.5251327157020569, -0.7646608948707581, -0.1265273541212082, -0.19224099814891815, -0.14113761484622955, 0.2884746193885803, 0.42729541659355164, -0.8520451784133911, 0.4094774127006531, 0.5516440272331238, 0.5187281370162964, 0.8175516724586487, -0.293901264667511, 0.3656533658504486, -0.443770170211792, 0.24845516681671143, 0.306393563747406, 0.4075639843940735, 0.31965574622154236, -0.4577217102050781, 0.3767765760421753, 0.31879279017448425, -0.6172636151313782, -0.7867230176925659, 0.08411679416894913, -0.8478837013244629, -0.41238003969192505, 0.91302490234375, -0.004590112250298262, -0.5143753886222839, -0.007405849173665047, -0.06655951589345932, 0.3223515450954437, -0.3201204240322113, 0.8867967128753662, 0.48538437485694885, -0.591658353805542, -0.15482254326343536, -0.3824164569377899, 0.36450067162513733, 0.31262263655662537, -0.9225770235061646, 0.055193573236465454, 0.2109103947877884, 0.4600116014480591, 0.21608565747737885, 0.86844402551651, -0.18978126347064972, 0.4167817234992981, 0.21296162903308868, 0.42450809478759766, -0.2645833194255829, -0.3496513366699219, -0.1797829568386078, 0.2053157538175583, -0.07835730910301208, -0.19121427834033966 ]
hyunseoki/ko-ref-llama2-7b
hyunseoki
2023-10-04T07:22:05Z
7,019
3
transformers
[ "transformers", "pytorch", "llama", "text-generation", "ko", "endpoints_compatible", "text-generation-inference", "region:us" ]
text-generation
2023-10-04T07:05:50Z
--- language: - ko library_name: transformers pipeline_tag: text-generation --- **Model Developers** HyunseokLee, TaeyoungKim - (kaist alinlab, omnious.ai) **Input** Models input text only. **Output** Models generate text only. **Model Architecture** ko-ref-llama2-7b is an auto-regressive language model based on the LLaMA2 transformer architecture. **Base Model** Llama-2-7B **Training Dataset** Open dataset (Korean). **Training Objective** We trained the model to learn Korean corpus.
[ 0.06559837609529495, -0.724458634853363, 0.49281972646713257, 0.42363154888153076, -0.2993922531604767, 0.2347748726606369, 0.009396873414516449, -0.4047872722148895, 0.11329680681228638, 0.7945113778114319, -0.4415794014930725, -0.523485541343689, -0.553787112236023, 0.14942646026611328, -0.3837667405605316, 0.9428635835647583, -0.23579928278923035, 0.27625393867492676, 0.0983172282576561, 0.04563850536942482, -0.6858577728271484, -0.42908889055252075, -0.6276748776435852, -0.3894524574279785, 0.2507679760456085, 0.7793142795562744, 0.7076621055603027, 0.9623830318450928, 0.4471433758735657, 0.3224487900733948, 0.1478169560432434, -0.2826654314994812, -0.7081273794174194, 0.26391279697418213, -0.04916907846927643, -0.8668050765991211, -0.46424025297164917, -0.278104305267334, 0.5281254649162292, 0.14360709488391876, -0.13973164558410645, 0.5147140026092529, -0.31941527128219604, 0.530166745185852, -0.4164392948150635, 0.5091382265090942, -0.7224380373954773, -0.1938905268907547, -0.2249523401260376, 0.46545636653900146, -0.4944498836994171, -0.44613325595855713, -0.22820787131786346, -0.41457512974739075, -0.0114121213555336, 0.08860550820827484, 1.0165623426437378, 0.5021805763244629, -0.5302975177764893, -0.439804345369339, -0.6573293805122375, 0.6452566981315613, -0.7516685724258423, 0.5301622152328491, 0.6279807090759277, 0.36425912380218506, -0.20468324422836304, -0.7685976624488831, -0.5618457794189453, -0.26289838552474976, 0.016309916973114014, 0.10880501568317413, 0.02491653896868229, -0.16295000910758972, -0.06322050094604492, 0.26385653018951416, -0.5336045026779175, 0.46082884073257446, -0.8609429001808167, -0.1520776003599167, 0.8433107137680054, 0.09596960991621017, 0.2581205368041992, -0.2984076738357544, -0.2837875485420227, -0.15987087786197662, -0.6197338104248047, -0.15461136400699615, 0.4209439754486084, 0.19305667281150818, -0.2836253046989441, 0.9395359754562378, -0.3093765079975128, 0.3760095238685608, 0.224631667137146, -0.4886949360370636, 0.439353883266449, -0.08935155719518661, -0.4294591248035431, 0.2526555061340332, 0.8240875005722046, 0.11367003619670868, 0.1343175172805786, -0.2428518533706665, -0.25913113355636597, 0.33212384581565857, 0.21321628987789154, -0.4137147068977356, -0.2229672372341156, 0.1768973171710968, -0.7849180698394775, -0.7263407707214355, -0.15350931882858276, -0.8075255155563354, -0.19156944751739502, -0.10228025913238525, 0.35389795899391174, -0.09097429364919662, -0.5729403495788574, -0.04227802902460098, 0.15076497197151184, 0.1928270161151886, -0.06703482568264008, -0.6975656747817993, 0.3440793752670288, 0.1771274209022522, 0.49991872906684875, -0.10957006365060806, -0.3490753173828125, 0.0563824400305748, 0.03307824209332466, -0.4646516442298889, 0.8236408829689026, -0.3303042948246002, -0.48724913597106934, 0.10147077590227127, 0.20255760848522186, -0.08358092606067657, -0.6253512501716614, 0.7342092990875244, -0.7536821961402893, 0.27078455686569214, 0.1645723283290863, -0.44251933693885803, -0.4718616306781769, -0.1419028341770172, -0.9221937656402588, 1.4748945236206055, 0.49835404753685, -0.3199675381183624, 0.04695774242281914, -0.7837836146354675, -0.20331688225269318, -0.1485869586467743, 0.056997451931238174, -0.4187595546245575, 0.21485677361488342, -0.19795936346054077, 0.2731580138206482, -0.4426168203353882, 0.6311835646629333, -0.07236447185277939, 0.018731487914919853, 0.06383016705513, -0.13557694852352142, 0.5902635455131531, 0.42813417315483093, -0.23281148076057434, 0.0807638168334961, -1.434403896331787, -0.12440318614244461, 0.6990951299667358, -0.5285347700119019, -0.1329149305820465, -0.0321357399225235, 0.24627137184143066, 0.391064316034317, 0.3860263526439667, -0.5858481526374817, 0.32336872816085815, -0.32840973138809204, 0.19109764695167542, 0.6515880227088928, -0.27872833609580994, 0.6504088640213013, -0.21131211519241333, 0.7760515213012695, 0.11349120736122131, -0.19988784193992615, -0.18667030334472656, -0.44042086601257324, -1.1593949794769287, -0.11565980315208435, 0.3602006733417511, 0.9366294145584106, -0.6729714870452881, 0.31702011823654175, -0.01653727889060974, -0.8328180313110352, -0.811130940914154, 0.25914323329925537, 0.571415364742279, 0.5589593648910522, 0.18429338932037354, 0.13227686285972595, -0.86529541015625, -1.1098415851593018, 0.13019952178001404, -0.4945584535598755, 0.11847779154777527, 0.09846635162830353, 0.6022864580154419, -0.40353497862815857, 0.6863926649093628, -0.37346065044403076, -0.0734003409743309, -0.511074423789978, -0.022956673055887222, 0.2748185396194458, 0.4067460000514984, 0.508675217628479, -0.6080173254013062, -0.5945742726325989, -0.11061736941337585, -0.7576788663864136, -0.7042577266693115, -0.07619141042232513, -0.3230012357234955, 0.47071415185928345, 0.6174988746643066, -0.8073710203170776, 0.5563222169876099, 0.767676055431366, -0.43319958448410034, 0.4722725749015808, 0.21509331464767456, -0.22759155929088593, -1.4753901958465576, -0.024005960673093796, -0.39420491456985474, -0.25555530190467834, -0.6318243741989136, 0.03203218802809715, 0.1019730418920517, 0.09123408049345016, -0.3376255929470062, 0.7466781139373779, -0.3852020502090454, -0.0945219025015831, -0.5077860951423645, 0.049508802592754364, -0.07488951086997986, 0.41055619716644287, 0.11925795674324036, 0.6912293434143066, 0.265203058719635, -0.7332719564437866, 0.4003565013408661, 0.6264650821685791, -0.3309224247932434, 0.13847854733467102, -0.8228709697723389, 0.2799173891544342, -0.14406295120716095, 0.14013931155204773, -1.2532482147216797, -0.5373495817184448, 0.46948516368865967, -0.5064752101898193, 0.22989432513713837, 0.08638447523117065, -0.63910973072052, -0.604396402835846, -0.02280302718281746, 0.3275936245918274, 0.6731160879135132, -0.528154730796814, 0.6670053005218506, 0.30676525831222534, -0.2535206079483032, -0.3830879032611847, -0.7084552049636841, -0.11219628900289536, -0.03247394785284996, -0.47779393196105957, 0.20847488939762115, -0.02346724644303322, -0.26787880063056946, 0.020640036091208458, 0.2593202590942383, -0.269817978143692, 0.07757291197776794, 0.3912023901939392, 0.637010931968689, -0.47046422958374023, 0.1716149002313614, 0.285351037979126, -0.07252563536167145, -0.008929282426834106, 0.24056307971477509, 0.8448048830032349, 0.1275307685136795, -0.22411048412322998, -0.5251312255859375, 0.13423626124858856, 0.43253278732299805, 0.08162824809551239, 0.5724327564239502, 0.4525913894176483, -0.23405350744724274, 0.10363631695508957, -0.5836141109466553, 0.2343880832195282, -0.4910470247268677, 0.9021421670913696, -0.6624349355697632, -0.7127183675765991, 0.6395363807678223, -0.1708213984966278, 0.03375478461384773, 0.9205139875411987, 1.1537997722625732, 0.25221920013427734, 0.9357509016990662, 0.8419659733772278, -0.20053395628929138, 0.18297579884529114, 0.11966285109519958, 0.16362842917442322, -0.818225622177124, -0.5014020204544067, -0.6244117021560669, -0.14867155253887177, -0.5400248765945435, -0.17043139040470123, -0.27264711260795593, 0.4458996057510376, -0.5673919320106506, 0.6422722339630127, -0.4583582580089569, 0.33080339431762695, 0.6925692558288574, -0.2639908790588379, 0.13387638330459595, -0.14844046533107758, -0.12122897803783417, 0.28666365146636963, -0.7273192405700684, -0.8575931191444397, 1.317968487739563, 0.6960219740867615, 0.9896861910820007, 0.15538449585437775, 0.6220308542251587, 0.1300375908613205, 0.37968140840530396, -0.7373253107070923, 0.43612125515937805, 0.15183891355991364, -0.7426050901412964, -0.0475257970392704, -0.0208733007311821, -0.8986533880233765, -0.002426180988550186, 0.10050428658723831, -0.7203661799430847, 0.14402712881565094, 0.22362461686134338, -0.01755797490477562, 0.18253515660762787, -0.7660565376281738, 0.6438319683074951, -0.4059678316116333, 0.22044861316680908, 0.22365017235279083, -0.583454966545105, 0.5404307246208191, -0.3073701858520508, 0.12228966504335403, -0.12983544170856476, -0.08367668092250824, 0.6704130172729492, 0.015321999788284302, 0.833279550075531, -0.11666065454483032, -0.15897323191165924, 0.46189311146736145, 0.32395678758621216, 0.5143465995788574, -0.032309792935848236, 0.071227066218853, 0.26988160610198975, -0.19681820273399353, -0.11875453591346741, -0.2573762536048889, 0.5406341552734375, -1.09340238571167, -0.4846891760826111, -0.29390281438827515, -0.490763396024704, -0.10584278404712677, 0.33814576268196106, 0.3364959955215454, -0.2828191816806793, -0.26674702763557434, -0.026427578181028366, 0.31130391359329224, -0.2868485450744629, 0.4576626121997833, 0.7193921804428101, -0.6114910840988159, -0.7968993186950684, 0.6544698476791382, -0.07940138876438141, 0.3314218521118164, 0.17287176847457886, 0.09986511617898941, -0.4268076717853546, -0.2412022352218628, -0.7028075456619263, 0.43273937702178955, -0.7813730239868164, -0.5431169271469116, -0.597404420375824, -0.5216296315193176, -0.7462434768676758, 0.09822019189596176, -0.668271541595459, -0.49525877833366394, -0.5591275691986084, -0.34193214774131775, 0.16456812620162964, 1.252032995223999, 0.017302345484495163, 0.8599128723144531, -0.7617855072021484, 0.41708266735076904, 0.03793323040008545, 0.3043050765991211, -0.09709075093269348, -0.7046560645103455, -0.22454935312271118, -0.00081593357026577, -0.3931249976158142, -0.9050047993659973, 0.7260141372680664, 0.2086249142885208, 0.6079180836677551, 0.29744744300842285, -0.21968311071395874, 0.36782804131507874, -0.6390669345855713, 0.9186899662017822, 0.08928314596414566, -0.7951512336730957, 0.4851126968860626, -0.12317333370447159, 0.4573230743408203, 0.3747984766960144, 0.3251687288284302, -0.30531400442123413, -0.1985548883676529, -0.6153074502944946, -0.6327234506607056, 0.8681910634040833, 0.18497945368289948, 0.19816027581691742, -0.06569328904151917, 0.5506748557090759, 0.29350829124450684, 0.3546444773674011, -1.0855257511138916, -0.2581316828727722, -0.5049523711204529, -0.774530291557312, 0.09704931080341339, -0.7284790277481079, 0.24757902324199677, 0.010478459298610687, 0.8041778206825256, 0.038692932575941086, 0.6186496019363403, 0.09645490348339081, -0.23373958468437195, -0.34072357416152954, -0.02055313065648079, 0.7738717794418335, 0.15359258651733398, -0.059670936316251755, -0.1594693958759308, 0.022258225828409195, -0.7118943929672241, 0.320956289768219, -0.12691998481750488, -0.48096901178359985, 0.1328609138727188, 0.3196416199207306, 1.1813201904296875, 0.029956597834825516, -0.6258122324943542, -0.03019135817885399, 0.2071990966796875, -0.35760122537612915, -0.5862215757369995, 0.04959644377231598, 0.10157959908246994, 0.41142624616622925, 0.15457068383693695, -0.12164203822612762, 0.008409451693296432, -0.2696450650691986, -0.026606932282447815, -0.07737965136766434, -0.09919653832912445, -0.5812041163444519, 0.9460598230361938, 0.013771834783256054, -0.48983103036880493, 0.6457160711288452, -0.08175285160541534, -0.6954822540283203, 0.8373576402664185, 1.260348916053772, 0.9206482172012329, -0.646801233291626, 0.23816166818141937, 0.5115938186645508, 0.28161829710006714, -0.27452319860458374, 0.6328485012054443, 0.40593767166137695, -0.8282690048217773, -0.23654818534851074, -0.7297847270965576, -0.11763548851013184, 0.39576655626296997, -0.6589028239250183, 0.4982781708240509, -0.31734803318977356, -0.18951469659805298, -0.06308411806821823, -0.21634191274642944, -0.5908474922180176, 0.23639234900474548, 0.18315406143665314, 0.9571975469589233, -0.8197966814041138, 1.0506014823913574, 0.7947403192520142, -0.5810849070549011, -0.7591698169708252, -0.3735317587852478, -0.107303686439991, -1.3260161876678467, 1.2849383354187012, 0.002665091771632433, 0.20127886533737183, 0.11242243647575378, -0.9076123237609863, -1.4874181747436523, 1.1392145156860352, 0.18288221955299377, -0.5538082122802734, -0.13528263568878174, 0.2230127602815628, 0.3756375312805176, -0.6842555999755859, -0.0043144263327121735, 0.4956445097923279, 0.4148878753185272, -0.002645183354616165, -1.1583006381988525, -0.29929620027542114, -0.38582471013069153, 0.22519201040267944, -0.07534364610910416, -0.9695444107055664, 0.9598308801651001, -0.021344223991036415, -0.06167621910572052, 0.5522434711456299, 0.7897425293922424, 0.2563602030277252, 0.08561176806688309, 0.4502828121185303, 0.6556810140609741, 0.5589780807495117, 0.1783917397260666, 0.7826449871063232, -0.49014878273010254, 0.2996078133583069, 1.5229474306106567, -0.4732212722301483, 1.0136455297470093, 0.16581600904464722, -0.1760016679763794, 0.6749252676963806, 0.8681396842002869, -0.332881361246109, 0.6908137798309326, 0.17242226004600525, 0.23710089921951294, 0.09399155527353287, -0.06813912093639374, -0.29382866621017456, 0.9030264616012573, 0.2749600112438202, -0.6941847801208496, 0.03744931519031525, -0.025592025369405746, 0.3974968194961548, -0.11183188855648041, -0.2729150354862213, 0.7890227437019348, -0.11935845762491226, -0.556965708732605, 0.3864140510559082, 0.3793211281299591, 0.4339289367198944, -0.6161322593688965, -0.1368657499551773, -0.1547916829586029, 0.11901398748159409, -0.0386473685503006, -0.4671062231063843, 0.29006096720695496, 0.026284482330083847, -0.4709935784339905, 0.23958586156368256, 1.106253981590271, -0.580134928226471, -0.7769955396652222, 0.2953616678714752, 0.377524197101593, 0.10302497446537018, 0.21407797932624817, -0.7573180198669434, 0.24892576038837433, 0.04810638725757599, -0.4501495361328125, 0.16485190391540527, 0.23675128817558289, -0.2620927095413208, 0.78770512342453, 0.49679356813430786, 0.004573792219161987, 0.303866446018219, -0.03184719383716583, 0.8796980381011963, -0.5052478909492493, -0.22342321276664734, -0.7384464740753174, 0.39353054761886597, 0.0036339955404400826, -0.4575836658477783, 0.7007337212562561, 0.6654894948005676, 0.9082168936729431, -0.34400904178619385, 0.8637879490852356, -0.1388430893421173, 0.7926278710365295, -0.3349378705024719, 0.6370733380317688, -0.23800905048847198, -0.16104570031166077, -0.02983127534389496, -0.9901039004325867, -0.14632375538349152, 0.8487464189529419, 0.09997548162937164, -0.10014865547418594, 0.5532463788986206, 0.6258125305175781, 0.20220452547073364, -0.18159282207489014, 0.4332791268825531, 0.6218206882476807, 0.05479014664888382, 0.3125767111778259, 0.629932165145874, -0.7770631313323975, 0.42489075660705566, -0.38764142990112305, -0.16992664337158203, -0.15860813856124878, -0.6301473379135132, -1.0751491785049438, -0.49448132514953613, -0.1191902607679367, -0.6291159391403198, -0.1134854108095169, 0.9588929414749146, 0.2763397991657257, -0.8682583570480347, -0.4307866096496582, -0.039115965366363525, -0.07069715112447739, 0.3216540515422821, -0.24598851799964905, 0.4924485683441162, -0.3703739643096924, -0.6836188435554504, 0.4005504250526428, -0.03231361508369446, 0.24590441584587097, -0.5431594848632812, -0.10556510090827942, -0.19419196248054504, 0.1187792718410492, 0.5833591222763062, 0.23431295156478882, -0.865311324596405, 0.04724662005901337, 0.3272205591201782, -0.20743711292743683, 0.17129796743392944, 0.3683863878250122, -0.7116685509681702, 0.27704325318336487, 0.32377028465270996, 0.5605373382568359, 0.17411133646965027, -0.017072470858693123, 0.7092680931091309, -0.2817878723144531, 0.32730233669281006, -0.02316434681415558, 0.2299487143754959, 0.14506520330905914, -0.5542162656784058, 0.7041842937469482, 0.28417012095451355, -0.7287864685058594, -0.7524399757385254, 0.14306288957595825, -0.8911316394805908, -0.08052180707454681, 1.4669780731201172, 0.020936250686645508, -0.5637655258178711, -0.1870347559452057, -0.6569250822067261, 0.4788089394569397, -0.39534488320350647, 0.7811288833618164, 0.7346082925796509, 0.0265214741230011, -0.25321662425994873, -0.6663002967834473, 0.39302146434783936, 0.029097557067871094, -0.6490281820297241, -0.2938119173049927, 0.38625508546829224, 0.33679449558258057, 0.18651257455348969, 0.647144079208374, -0.10387104004621506, 0.1647425889968872, 0.23580898344516754, 0.45264074206352234, -0.04532517492771149, -0.32922470569610596, -0.16434937715530396, -0.17677533626556396, 0.041410282254219055, -0.308185338973999 ]
OpenVINO/bert-base-uncased-sst2-int8-unstructured80
OpenVINO
2023-03-06T14:08:48Z
7,011
3
transformers
[ "transformers", "pytorch", "openvino", "bert", "generated_from_trainer", "en", "dataset:glue", "model-index", "endpoints_compatible", "region:us" ]
null
2023-03-06T05:02:23Z
--- language: - en tags: - generated_from_trainer datasets: - glue metrics: - accuracy model-index: - name: yujiepan/bert-base-uncased-sst2-int8-unstructured80 results: - task: name: Text Classification type: text-classification dataset: name: GLUE SST2 type: glue config: sst2 split: validation args: sst2 metrics: - name: Accuracy type: accuracy value: 0.91284 --- <!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. --> # Joint magnitude pruning, quantization and distillation on BERT-base/SST-2 This model conducts unstructured magnitude pruning, quantization and distillation at the same time on BERT-base when finetuning on the GLUE SST2 dataset. It achieves the following results on the evaluation set: - Torch accuracy: 0.9128 - OpenVINO IR accuracy: 0.9128 - Sparsity in transformer block linear layers: 0.80 ## Setup ``` conda install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c nvidia pip install optimum[openvino,nncf]==1.7.0 pip install datasets sentencepiece scipy scikit-learn protobuf evaluate pip install wandb # optional ``` ## Training script See https://gist.github.com/yujiepan-work/5d7e513a47b353db89f6e1b512d7c080 ## Run We use one card for training. ```bash NNCFCFG=/path/to/nncf_config/json python run_glue.py \ --lr_scheduler_type cosine_with_restarts \ --cosine_lr_scheduler_cycles 11 6 \ --record_best_model_after_epoch 9 \ --load_best_model_at_end True \ --metric_for_best_model accuracy \ --model_name_or_path textattack/bert-base-uncased-SST-2 \ --teacher_model_or_path yoshitomo-matsubara/bert-large-uncased-sst2 \ --distillation_temperature 2 \ --task_name sst2 \ --nncf_compression_config $NNCFCFG \ --distillation_weight 0.95 \ --output_dir /tmp/bert-base-uncased-sst2-int8-unstructured80 \ --overwrite_output_dir \ --run_name bert-base-uncased-sst2-int8-unstructured80 \ --do_train \ --do_eval \ --max_seq_length 128 \ --per_device_train_batch_size 32 \ --per_device_eval_batch_size 32 \ --learning_rate 5e-05 \ --optim adamw_torch \ --num_train_epochs 17 \ --logging_steps 1 \ --evaluation_strategy steps \ --eval_steps 250 \ --save_strategy steps \ --save_steps 250 \ --save_total_limit 1 \ --fp16 \ --seed 1 ``` ### Framework versions - Transformers 4.26.0 - Pytorch 1.13.1+cu116 - Datasets 2.8.0 - Tokenizers 0.13.2 - Optimum 1.6.3 - Optimum-intel 1.7.0 - NNCF 2.4.0
[ -0.26266705989837646, -0.6379971504211426, 0.27616292238235474, 0.3210102617740631, -0.343126118183136, -0.20274601876735687, -0.36370450258255005, -0.13482964038848877, 0.04420062527060509, 0.17891967296600342, -0.7089402675628662, -0.3822028636932373, -0.6135791540145874, -0.20531390607357025, -0.2979966998100281, 1.2403953075408936, -0.015542203560471535, 0.19507992267608643, -0.19924724102020264, 0.19255010783672333, -0.5991252064704895, -0.5694469213485718, -0.8131579160690308, -0.6033084988594055, 0.14889299869537354, 0.21098333597183228, 0.451890766620636, 0.29606202244758606, 0.6535416841506958, 0.4398333430290222, -0.31234657764434814, 0.014517586678266525, -0.5417355298995972, -0.055977802723646164, 0.20694606006145477, -0.5486336946487427, -0.5757502913475037, -0.06919616460800171, 0.7118871808052063, 0.2849794030189514, -0.12375898659229279, 0.25291505455970764, 0.0636221244931221, 0.5972846150398254, -0.36131754517555237, 0.2659570872783661, -0.4525574743747711, -0.0007867368403822184, -0.010629641823470592, -0.23640823364257812, -0.40397971868515015, -0.16120927035808563, 0.15112751722335815, -0.4697825014591217, 0.6464672684669495, -0.1678173542022705, 1.233507752418518, 0.5016962289810181, -0.23983044922351837, -0.01111476682126522, -0.8694669604301453, 0.8521815538406372, -0.8301351070404053, 0.06889817118644714, 0.2132485955953598, 0.2349582016468048, -0.0725770890712738, -0.957809329032898, -0.4043191969394684, -0.012982404790818691, -0.06883849203586578, 0.3900209367275238, -0.09812001883983612, 0.1863010674715042, 0.7902209758758545, 0.6752637028694153, -0.6274664998054504, 0.02372584119439125, -0.7090467810630798, -0.1318405568599701, 0.75856614112854, 0.27003198862075806, -0.0796251893043518, -0.22850142419338226, -0.6217581629753113, -0.3962855637073517, -0.17759257555007935, 0.18021391332149506, 0.3645096719264984, 0.05594126880168915, -0.07840152829885483, 0.47471776604652405, -0.025242336094379425, 0.5298439860343933, 0.08017335087060928, -0.2573532164096832, 0.3563121557235718, -0.06745367497205734, -0.46011102199554443, 0.20619268715381622, 0.8990755677223206, 0.2932716906070709, 0.05000731348991394, 0.1609085500240326, -0.33812159299850464, 0.04795956611633301, 0.237484872341156, -1.1316683292388916, -0.8514769673347473, 0.46797850728034973, -0.4346173405647278, -0.5461733937263489, 0.06641789525747299, -0.5257036685943604, 0.049045924097299576, -0.3075670599937439, 0.6502139568328857, -0.7289766669273376, -0.23527973890304565, 0.015105734579265118, -0.44496577978134155, 0.049861956387758255, 0.08774437010288239, -0.9998278617858887, 0.15614448487758636, 0.5036234259605408, 0.7759143114089966, 0.19628532230854034, -0.26742616295814514, -0.04126898571848869, -0.07304108142852783, -0.1507750004529953, 0.5334993004798889, -0.0040910071693360806, -0.35115641355514526, -0.4477132558822632, 0.023617597296833992, -0.12636861205101013, -0.43813982605934143, 0.7114464640617371, -0.23013322055339813, 0.25494784116744995, -0.13406367599964142, -0.7068281173706055, -0.2566293179988861, 0.05074739083647728, -0.568970263004303, 1.4217581748962402, 0.1638008952140808, -0.834321141242981, 0.3866749107837677, -0.6620899438858032, -0.27133628726005554, 0.07312294840812683, 0.16519443690776825, -0.8302660584449768, 0.3235212564468384, 0.05486525967717171, 0.48417535424232483, -0.17717793583869934, 0.6067672967910767, -0.19085431098937988, -0.4683488607406616, 0.1090933158993721, -0.7594321966171265, 1.0997660160064697, 0.1274532675743103, -0.3748144209384918, 0.2704068422317505, -1.0026464462280273, 0.2228786200284958, 0.3432372808456421, -0.42702603340148926, -0.09296286106109619, -0.2339697629213333, 0.2689831554889679, 0.23533488810062408, 0.37284475564956665, -0.4681653082370758, 0.3527955114841461, -0.3449189364910126, 0.7096680402755737, 0.7246555089950562, 0.18696333467960358, 0.10316749662160873, -0.46916142106056213, 0.05436794087290764, 0.09429272264242172, 0.35476672649383545, 0.10868063569068909, -0.5073269009590149, -0.9563619494438171, -0.24660465121269226, 0.35554239153862, 0.46205466985702515, -0.49434617161750793, 0.7685772776603699, -0.23271583020687103, -0.7977465987205505, -0.37936076521873474, -0.09864119440317154, 0.3369723856449127, 0.46929988265037537, 0.48903146386146545, -0.17596769332885742, -0.6149164438247681, -0.9634807705879211, 0.11582522839307785, -0.20784062147140503, -0.20484253764152527, 0.10945161432027817, 0.6811559796333313, 0.16714808344841003, 0.8470311760902405, -0.6655962467193604, -0.38007181882858276, -0.19633835554122925, 0.43853476643562317, 0.6012232899665833, 0.7155443429946899, 0.5776572823524475, -0.6405196189880371, -0.4153781831264496, -0.3912801444530487, -0.7231815457344055, 0.1898699849843979, -0.30623510479927063, -0.10608075559139252, 0.08290808647871017, 0.1290666162967682, -0.5656955242156982, 0.48963019251823425, 0.31121787428855896, -0.27951133251190186, 0.6288317441940308, -0.5725862979888916, -0.021722622215747833, -1.106575846672058, 0.252107709646225, 0.008925206959247589, -0.023818885907530785, -0.7079704403877258, -0.13901859521865845, 0.07545965164899826, -0.04202989116311073, -0.546151876449585, 0.2861824929714203, -0.32927757501602173, 0.1846189796924591, -0.22656682133674622, -0.37918391823768616, 0.04004967212677002, 0.9040824770927429, 0.21706846356391907, 0.53446364402771, 0.5999167561531067, -0.5650904774665833, 0.44756951928138733, 0.3400214910507202, -0.27188047766685486, 0.3289688229560852, -0.8801083564758301, 0.06841076165437698, -0.054130155593156815, 0.04023116081953049, -0.933556854724884, -0.2697516679763794, 0.22442366182804108, -0.6731308698654175, 0.6203190088272095, -0.1605682522058487, -0.6118318438529968, -0.5955337285995483, -0.20528016984462738, -0.005660044029355049, 0.824811577796936, -0.5767886638641357, 0.6040022969245911, -0.0010674747172743082, 0.2981877326965332, -0.45835110545158386, -0.8550485968589783, -0.3752289116382599, -0.24759364128112793, -0.658584713935852, 0.46608272194862366, -0.22556035220623016, 0.09042761474847794, -0.05607672780752182, -0.3338233530521393, -0.3286839723587036, 0.0772910937666893, 0.4152589440345764, 0.5021540522575378, 0.121124766767025, 0.043461792171001434, 0.02405073121190071, -0.19384415447711945, 0.4155651330947876, -0.10625442862510681, 0.5940525531768799, -0.1774941086769104, -0.07457603514194489, -0.6456476449966431, -0.10796462744474411, 0.4346592128276825, 0.06205102428793907, 0.8569636940956116, 1.0585923194885254, -0.41815152764320374, -0.11715879291296005, -0.45841431617736816, -0.4422896206378937, -0.5162076950073242, 0.44068509340286255, -0.3681742548942566, -0.4407362937927246, 0.49698153138160706, -0.07008635252714157, 0.3978617191314697, 0.8515188097953796, 0.5860735177993774, -0.25561320781707764, 0.9805519580841064, 0.3949321210384369, 0.10116622596979141, 0.5172548890113831, -0.9882532358169556, 0.2397955358028412, -0.8188371658325195, -0.351377010345459, -0.2759498655796051, -0.5964819192886353, -0.4046868085861206, -0.15019963681697845, 0.40537717938423157, 0.4232587516307831, -0.31855055689811707, 0.39826664328575134, -0.9496980905532837, 0.3705591857433319, 0.8853247165679932, 0.287439227104187, -0.11136270314455032, 0.08791209757328033, -0.11053676903247833, -0.0378316193819046, -0.954326868057251, -0.3076753318309784, 1.2170380353927612, 0.4405606687068939, 0.5162047743797302, -0.1374099850654602, 0.8953357934951782, -0.14394763112068176, 0.10778167843818665, -0.7264565229415894, 0.533072829246521, -0.15656156837940216, -0.8624443411827087, -0.32699665427207947, -0.3662428855895996, -0.5865495800971985, 0.22701160609722137, -0.2968812584877014, -0.6788750886917114, 0.20823810994625092, 0.2753863036632538, -0.36188992857933044, 0.6269540190696716, -0.8779745101928711, 0.9533432126045227, -0.34029459953308105, -0.4809902012348175, -0.031095363199710846, -0.704777717590332, 0.5183179378509521, -0.019778091460466385, -0.3069802224636078, -0.15793977677822113, 0.45320048928260803, 1.0071662664413452, -0.6538966298103333, 0.7443135976791382, -0.4438752233982086, 0.2512059509754181, 0.5338634252548218, -0.22179396450519562, 0.5410401225090027, 0.050362199544906616, -0.020821861922740936, 0.4731735289096832, 0.2269255667924881, -0.3005160391330719, -0.4104439318180084, 0.7616090178489685, -0.9895637035369873, -0.2928259074687958, -0.7025144696235657, -0.6582082509994507, 0.18518653512001038, 0.13600777089595795, 0.6012222766876221, 0.4651259183883667, 0.00528957461938262, 0.3475745916366577, 0.7083911299705505, 0.04490964859724045, 0.6564670205116272, 0.0745566338300705, 0.17864739894866943, -0.43800047039985657, 1.046449065208435, 0.07651705294847488, 0.19219233095645905, 0.255556583404541, 0.15746425092220306, -0.3714377284049988, -0.5517238974571228, -0.23403753340244293, 0.06736337393522263, -0.5744913220405579, -0.4621207118034363, -0.4359646439552307, -0.5473597645759583, -0.3799622356891632, 0.02119188755750656, -0.5100692510604858, -0.45301300287246704, -0.4737273156642914, 0.0653877779841423, 0.6262340545654297, 0.4125140905380249, -0.2824563980102539, 0.5248835682868958, -0.7485334873199463, 0.06413007527589798, 0.10459736734628677, 0.22506248950958252, 0.0674772635102272, -0.5908031463623047, -0.10494401305913925, 0.12015044689178467, -0.5339657664299011, -0.7231293320655823, 0.6529667377471924, 0.23818698525428772, 0.44658946990966797, 0.47171550989151, 0.26071450114250183, 0.8276250958442688, -0.21298305690288544, 0.8957474231719971, 0.4757281541824341, -0.8023473024368286, 0.6099408864974976, -0.08952785283327103, 0.25209352374076843, 0.46921640634536743, 0.4295211732387543, -0.13845551013946533, -0.23835214972496033, -1.0285382270812988, -0.9960570931434631, 1.0626696348190308, 0.5004764795303345, -0.1781865656375885, 0.07875434309244156, 0.24076344072818756, -0.2318301796913147, 0.08985040336847305, -0.732305109500885, -0.5369166135787964, -0.2986517548561096, -0.11105913668870926, 0.03899865970015526, -0.4197019338607788, -0.14674536883831024, -0.5747692584991455, 1.1131370067596436, 0.16886481642723083, 0.5524994134902954, 0.30587151646614075, 0.07087520509958267, -0.0011276938021183014, -0.03529542312026024, 0.3941992521286011, 0.47240933775901794, -0.7298985719680786, -0.12188272923231125, 0.28205642104148865, -0.6233692169189453, 0.0593334324657917, 0.20983459055423737, -0.09191358089447021, 0.23833706974983215, 0.3022882044315338, 1.103631854057312, 0.21668517589569092, -0.2656051516532898, 0.301974892616272, -0.1700296252965927, -0.7385810017585754, -0.5425876975059509, 0.18058082461357117, 0.08398766815662384, 0.21399904787540436, 0.21664302051067352, 0.2800925672054291, -0.019553767517209053, -0.24454230070114136, -0.00315880193375051, 0.2775799632072449, -0.22616076469421387, -0.21275490522384644, 0.8927194476127625, 0.032481081783771515, -0.22612152993679047, 1.056542158126831, -0.2113763839006424, -0.5270110964775085, 0.7590583562850952, 0.35962748527526855, 0.9090568423271179, -0.0777721107006073, -0.05992714315652847, 0.9355888366699219, 0.1672118455171585, -0.22551827132701874, 0.46014389395713806, -0.10132888704538345, -0.3619671165943146, -0.22295606136322021, -0.8080690503120422, -0.08772073686122894, 0.3362966775894165, -0.9418529868125916, 0.3947323262691498, -0.5750612020492554, -0.382437527179718, 0.24356573820114136, 0.38401269912719727, -0.8430454134941101, 0.2284526377916336, -0.03326636925339699, 0.8642195463180542, -1.0079615116119385, 1.0974053144454956, 0.49619370698928833, -0.578575074672699, -1.0749211311340332, -0.34953513741493225, -0.16225215792655945, -0.6489301323890686, 0.5885105133056641, 0.00925037544220686, 0.4617389142513275, 0.14400388300418854, -0.5073331594467163, -0.7790673971176147, 1.423252820968628, 0.14173802733421326, -0.7628946304321289, -0.07312533259391785, -0.03694877400994301, 0.6488599181175232, 0.18930624425411224, 0.5402977466583252, 0.6290327906608582, 0.3692179024219513, 0.5179502367973328, -0.9211686849594116, -0.008646134287118912, -0.279905766248703, 0.05207018181681633, 0.42503634095191956, -0.7107124328613281, 1.1733554601669312, -0.24325424432754517, -0.10407337546348572, 0.18777282536029816, 0.5977011919021606, 0.42513173818588257, 0.19718262553215027, 0.39618992805480957, 0.8327662944793701, 0.6797240972518921, -0.47997021675109863, 0.760316789150238, -0.556203305721283, 0.7541753649711609, 1.0400470495224, 0.16523313522338867, 0.7195702195167542, 0.49102863669395447, -0.4317862093448639, 0.24597738683223724, 0.7436569333076477, -0.5300378203392029, 0.6098433136940002, 0.31121671199798584, -0.2289358675479889, -0.2729397118091583, 0.21008937060832977, -0.4435015916824341, 0.14928987622261047, 0.2301017791032791, -0.5246008634567261, -0.1910971999168396, -0.20892810821533203, -0.14767932891845703, -0.43453994393348694, -0.16522203385829926, 0.6416881680488586, -0.13933715224266052, -0.6082392334938049, 0.7649478316307068, 0.006466113496571779, 0.7035427093505859, -0.8139395117759705, -0.18428105115890503, 0.04644771292805672, 0.4772661626338959, -0.3344692885875702, -0.6808381080627441, 0.3389563262462616, -0.17645151913166046, -0.19810843467712402, -0.29047712683677673, 0.6709023118019104, -0.47320786118507385, -0.6628082990646362, 0.01515982300043106, 0.026390286162495613, 0.5878530144691467, -0.04775464907288551, -0.7952284812927246, 0.045687392354011536, 0.23418855667114258, -0.33092445135116577, 0.22648116946220398, 0.29156821966171265, 0.22023631632328033, 0.3649098575115204, 0.8445501923561096, -0.01253196969628334, 0.08202512562274933, -0.05874020978808403, 0.9787737727165222, -0.41842612624168396, -0.32174092531204224, -0.8016034364700317, 0.6437485814094543, -0.1693379282951355, -0.5624306201934814, 0.5207285284996033, 0.7983226776123047, 0.882868766784668, -0.1165991947054863, 0.5426018834114075, -0.35221680998802185, 0.12185975164175034, -0.4307722747325897, 0.6831324696540833, -0.4864308834075928, 0.06499221920967102, -0.05810773745179176, -0.9611731171607971, 0.0002802211092785001, 0.8371784090995789, -0.21445539593696594, 0.07290168106555939, 0.7103843092918396, 0.5556897521018982, 0.04437408223748207, 0.09364344924688339, 0.11682330071926117, 0.13191457092761993, 0.4022902846336365, 0.9159635305404663, 0.46298420429229736, -0.8139464855194092, 0.5197728276252747, -0.90712970495224, -0.14647023379802704, -0.03638368844985962, -0.7338594198226929, -1.0098540782928467, -0.5796467661857605, -0.49818453192710876, -0.3895314633846283, -0.15535570681095123, 1.0020263195037842, 0.7607143521308899, -0.7357435822486877, -0.15065568685531616, -0.3623396158218384, -0.33681803941726685, -0.47135064005851746, -0.2521672248840332, 0.6312212944030762, -0.28367263078689575, -0.9077611565589905, 0.083772212266922, -0.1674264818429947, 0.2860066890716553, -0.3171076476573944, -0.06994885206222534, -0.2773383557796478, -0.4082564413547516, 0.3637477159500122, 0.09051275998353958, -0.6150780320167542, -0.09526970982551575, -0.17005783319473267, 0.10942090302705765, 0.025876205414533615, 0.3630494773387909, -0.6010332107543945, 0.4402588903903961, 0.5802937150001526, 0.04088136553764343, 0.9340600967407227, -0.18375524878501892, 0.2632536292076111, -0.969081461429596, 0.19606609642505646, 0.3913353383541107, 0.3419886529445648, 0.015213742852210999, -0.39098799228668213, 0.6092150807380676, 0.4306604564189911, -0.6734297871589661, -0.8944063186645508, -0.3265855610370636, -1.0640040636062622, -0.2333829402923584, 1.0603326559066772, -0.20173390209674835, -0.40388503670692444, 0.36265307664871216, -0.23037558794021606, 0.5171928405761719, -0.3249223530292511, 0.7239804267883301, 0.7496024370193481, -0.18834438920021057, 0.11805709451436996, -0.5088090896606445, 0.5745646953582764, 0.2447221875190735, -0.4610947370529175, -0.02207956276834011, 0.35419830679893494, 0.4966009557247162, 0.21431240439414978, 0.45337095856666565, 0.09099037945270538, 0.11730344593524933, 0.2964598834514618, 0.3718049228191376, -0.5114207863807678, -0.3787038028240204, -0.39044007658958435, -0.05170484259724617, -0.14572830498218536, -0.4499567747116089 ]
timm/convnext_base.fb_in22k_ft_in1k_384
timm
2023-03-31T22:04:16Z
7,009
0
timm
[ "timm", "pytorch", "safetensors", "image-classification", "dataset:imagenet-1k", "dataset:imagenet-22k", "arxiv:2201.03545", "license:apache-2.0", "region:us" ]
image-classification
2022-12-13T07:07:47Z
--- tags: - image-classification - timm library_tag: timm license: apache-2.0 datasets: - imagenet-1k - imagenet-22k --- # Model card for convnext_base.fb_in22k_ft_in1k_384 A ConvNeXt image classification model. Pretrained on ImageNet-22k and fine-tuned on ImageNet-1k by paper authors. ## Model Details - **Model Type:** Image classification / feature backbone - **Model Stats:** - Params (M): 88.6 - GMACs: 45.2 - Activations (M): 84.5 - Image size: 384 x 384 - **Papers:** - A ConvNet for the 2020s: https://arxiv.org/abs/2201.03545 - **Original:** https://github.com/facebookresearch/ConvNeXt - **Dataset:** ImageNet-1k - **Pretrain Dataset:** ImageNet-22k ## Model Usage ### Image Classification ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open(urlopen( 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png' )) model = timm.create_model('convnext_base.fb_in22k_ft_in1k_384', pretrained=True) model = model.eval() # get model specific transforms (normalization, resize) data_config = timm.data.resolve_model_data_config(model) transforms = timm.data.create_transform(**data_config, is_training=False) output = model(transforms(img).unsqueeze(0)) # unsqueeze single image into batch of 1 top5_probabilities, top5_class_indices = torch.topk(output.softmax(dim=1) * 100, k=5) ``` ### Feature Map Extraction ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open(urlopen( 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png' )) model = timm.create_model( 'convnext_base.fb_in22k_ft_in1k_384', pretrained=True, features_only=True, ) model = model.eval() # get model specific transforms (normalization, resize) data_config = timm.data.resolve_model_data_config(model) transforms = timm.data.create_transform(**data_config, is_training=False) output = model(transforms(img).unsqueeze(0)) # unsqueeze single image into batch of 1 for o in output: # print shape of each feature map in output # e.g.: # torch.Size([1, 128, 96, 96]) # torch.Size([1, 256, 48, 48]) # torch.Size([1, 512, 24, 24]) # torch.Size([1, 1024, 12, 12]) print(o.shape) ``` ### Image Embeddings ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open(urlopen( 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png' )) model = timm.create_model( 'convnext_base.fb_in22k_ft_in1k_384', pretrained=True, num_classes=0, # remove classifier nn.Linear ) model = model.eval() # get model specific transforms (normalization, resize) data_config = timm.data.resolve_model_data_config(model) transforms = timm.data.create_transform(**data_config, is_training=False) output = model(transforms(img).unsqueeze(0)) # output is (batch_size, num_features) shaped tensor # or equivalently (without needing to set num_classes=0) output = model.forward_features(transforms(img).unsqueeze(0)) # output is unpooled, a (1, 1024, 12, 12) shaped tensor output = model.forward_head(output, pre_logits=True) # output is a (1, num_features) shaped tensor ``` ## Model Comparison Explore the dataset and runtime metrics of this model in timm [model results](https://github.com/huggingface/pytorch-image-models/tree/main/results). All timing numbers from eager model PyTorch 1.13 on RTX 3090 w/ AMP. | model |top1 |top5 |img_size|param_count|gmacs |macts |samples_per_sec|batch_size| |------------------------------------------------------------------------------------------------------------------------------|------|------|--------|-----------|------|------|---------------|----------| | [convnextv2_huge.fcmae_ft_in22k_in1k_512](https://huggingface.co/timm/convnextv2_huge.fcmae_ft_in22k_in1k_512) |88.848|98.742|512 |660.29 |600.81|413.07|28.58 |48 | | [convnextv2_huge.fcmae_ft_in22k_in1k_384](https://huggingface.co/timm/convnextv2_huge.fcmae_ft_in22k_in1k_384) |88.668|98.738|384 |660.29 |337.96|232.35|50.56 |64 | | [convnext_xxlarge.clip_laion2b_soup_ft_in1k](https://huggingface.co/timm/convnext_xxlarge.clip_laion2b_soup_ft_in1k) |88.612|98.704|256 |846.47 |198.09|124.45|122.45 |256 | | [convnext_large_mlp.clip_laion2b_soup_ft_in12k_in1k_384](https://huggingface.co/timm/convnext_large_mlp.clip_laion2b_soup_ft_in12k_in1k_384) |88.312|98.578|384 |200.13 |101.11|126.74|196.84 |256 | | [convnextv2_large.fcmae_ft_in22k_in1k_384](https://huggingface.co/timm/convnextv2_large.fcmae_ft_in22k_in1k_384) |88.196|98.532|384 |197.96 |101.1 |126.74|128.94 |128 | | [convnext_large_mlp.clip_laion2b_soup_ft_in12k_in1k_320](https://huggingface.co/timm/convnext_large_mlp.clip_laion2b_soup_ft_in12k_in1k_320) |87.968|98.47 |320 |200.13 |70.21 |88.02 |283.42 |256 | | [convnext_xlarge.fb_in22k_ft_in1k_384](https://huggingface.co/timm/convnext_xlarge.fb_in22k_ft_in1k_384) |87.75 |98.556|384 |350.2 |179.2 |168.99|124.85 |192 | | [convnextv2_base.fcmae_ft_in22k_in1k_384](https://huggingface.co/timm/convnextv2_base.fcmae_ft_in22k_in1k_384) |87.646|98.422|384 |88.72 |45.21 |84.49 |209.51 |256 | | [convnext_large.fb_in22k_ft_in1k_384](https://huggingface.co/timm/convnext_large.fb_in22k_ft_in1k_384) |87.476|98.382|384 |197.77 |101.1 |126.74|194.66 |256 | | [convnext_large_mlp.clip_laion2b_augreg_ft_in1k](https://huggingface.co/timm/convnext_large_mlp.clip_laion2b_augreg_ft_in1k) |87.344|98.218|256 |200.13 |44.94 |56.33 |438.08 |256 | | [convnextv2_large.fcmae_ft_in22k_in1k](https://huggingface.co/timm/convnextv2_large.fcmae_ft_in22k_in1k) |87.26 |98.248|224 |197.96 |34.4 |43.13 |376.84 |256 | | [convnext_base.clip_laion2b_augreg_ft_in12k_in1k_384](https://huggingface.co/timm/convnext_base.clip_laion2b_augreg_ft_in12k_in1k_384) |87.138|98.212|384 |88.59 |45.21 |84.49 |365.47 |256 | | [convnext_xlarge.fb_in22k_ft_in1k](https://huggingface.co/timm/convnext_xlarge.fb_in22k_ft_in1k) |87.002|98.208|224 |350.2 |60.98 |57.5 |368.01 |256 | | [convnext_base.fb_in22k_ft_in1k_384](https://huggingface.co/timm/convnext_base.fb_in22k_ft_in1k_384) |86.796|98.264|384 |88.59 |45.21 |84.49 |366.54 |256 | | [convnextv2_base.fcmae_ft_in22k_in1k](https://huggingface.co/timm/convnextv2_base.fcmae_ft_in22k_in1k) |86.74 |98.022|224 |88.72 |15.38 |28.75 |624.23 |256 | | [convnext_large.fb_in22k_ft_in1k](https://huggingface.co/timm/convnext_large.fb_in22k_ft_in1k) |86.636|98.028|224 |197.77 |34.4 |43.13 |581.43 |256 | | [convnext_base.clip_laiona_augreg_ft_in1k_384](https://huggingface.co/timm/convnext_base.clip_laiona_augreg_ft_in1k_384) |86.504|97.97 |384 |88.59 |45.21 |84.49 |368.14 |256 | | [convnext_base.clip_laion2b_augreg_ft_in12k_in1k](https://huggingface.co/timm/convnext_base.clip_laion2b_augreg_ft_in12k_in1k) |86.344|97.97 |256 |88.59 |20.09 |37.55 |816.14 |256 | | [convnextv2_huge.fcmae_ft_in1k](https://huggingface.co/timm/convnextv2_huge.fcmae_ft_in1k) |86.256|97.75 |224 |660.29 |115.0 |79.07 |154.72 |256 | | [convnext_small.in12k_ft_in1k_384](https://huggingface.co/timm/convnext_small.in12k_ft_in1k_384) |86.182|97.92 |384 |50.22 |25.58 |63.37 |516.19 |256 | | [convnext_base.clip_laion2b_augreg_ft_in1k](https://huggingface.co/timm/convnext_base.clip_laion2b_augreg_ft_in1k) |86.154|97.68 |256 |88.59 |20.09 |37.55 |819.86 |256 | | [convnext_base.fb_in22k_ft_in1k](https://huggingface.co/timm/convnext_base.fb_in22k_ft_in1k) |85.822|97.866|224 |88.59 |15.38 |28.75 |1037.66 |256 | | [convnext_small.fb_in22k_ft_in1k_384](https://huggingface.co/timm/convnext_small.fb_in22k_ft_in1k_384) |85.778|97.886|384 |50.22 |25.58 |63.37 |518.95 |256 | | [convnextv2_large.fcmae_ft_in1k](https://huggingface.co/timm/convnextv2_large.fcmae_ft_in1k) |85.742|97.584|224 |197.96 |34.4 |43.13 |375.23 |256 | | [convnext_small.in12k_ft_in1k](https://huggingface.co/timm/convnext_small.in12k_ft_in1k) |85.174|97.506|224 |50.22 |8.71 |21.56 |1474.31 |256 | | [convnext_tiny.in12k_ft_in1k_384](https://huggingface.co/timm/convnext_tiny.in12k_ft_in1k_384) |85.118|97.608|384 |28.59 |13.14 |39.48 |856.76 |256 | | [convnextv2_tiny.fcmae_ft_in22k_in1k_384](https://huggingface.co/timm/convnextv2_tiny.fcmae_ft_in22k_in1k_384) |85.112|97.63 |384 |28.64 |13.14 |39.48 |491.32 |256 | | [convnextv2_base.fcmae_ft_in1k](https://huggingface.co/timm/convnextv2_base.fcmae_ft_in1k) |84.874|97.09 |224 |88.72 |15.38 |28.75 |625.33 |256 | | [convnext_small.fb_in22k_ft_in1k](https://huggingface.co/timm/convnext_small.fb_in22k_ft_in1k) |84.562|97.394|224 |50.22 |8.71 |21.56 |1478.29 |256 | | [convnext_large.fb_in1k](https://huggingface.co/timm/convnext_large.fb_in1k) |84.282|96.892|224 |197.77 |34.4 |43.13 |584.28 |256 | | [convnext_tiny.in12k_ft_in1k](https://huggingface.co/timm/convnext_tiny.in12k_ft_in1k) |84.186|97.124|224 |28.59 |4.47 |13.44 |2433.7 |256 | | [convnext_tiny.fb_in22k_ft_in1k_384](https://huggingface.co/timm/convnext_tiny.fb_in22k_ft_in1k_384) |84.084|97.14 |384 |28.59 |13.14 |39.48 |862.95 |256 | | [convnextv2_tiny.fcmae_ft_in22k_in1k](https://huggingface.co/timm/convnextv2_tiny.fcmae_ft_in22k_in1k) |83.894|96.964|224 |28.64 |4.47 |13.44 |1452.72 |256 | | [convnext_base.fb_in1k](https://huggingface.co/timm/convnext_base.fb_in1k) |83.82 |96.746|224 |88.59 |15.38 |28.75 |1054.0 |256 | | [convnextv2_nano.fcmae_ft_in22k_in1k_384](https://huggingface.co/timm/convnextv2_nano.fcmae_ft_in22k_in1k_384) |83.37 |96.742|384 |15.62 |7.22 |24.61 |801.72 |256 | | [convnext_small.fb_in1k](https://huggingface.co/timm/convnext_small.fb_in1k) |83.142|96.434|224 |50.22 |8.71 |21.56 |1464.0 |256 | | [convnextv2_tiny.fcmae_ft_in1k](https://huggingface.co/timm/convnextv2_tiny.fcmae_ft_in1k) |82.92 |96.284|224 |28.64 |4.47 |13.44 |1425.62 |256 | | [convnext_tiny.fb_in22k_ft_in1k](https://huggingface.co/timm/convnext_tiny.fb_in22k_ft_in1k) |82.898|96.616|224 |28.59 |4.47 |13.44 |2480.88 |256 | | [convnext_nano.in12k_ft_in1k](https://huggingface.co/timm/convnext_nano.in12k_ft_in1k) |82.282|96.344|224 |15.59 |2.46 |8.37 |3926.52 |256 | | [convnext_tiny_hnf.a2h_in1k](https://huggingface.co/timm/convnext_tiny_hnf.a2h_in1k) |82.216|95.852|224 |28.59 |4.47 |13.44 |2529.75 |256 | | [convnext_tiny.fb_in1k](https://huggingface.co/timm/convnext_tiny.fb_in1k) |82.066|95.854|224 |28.59 |4.47 |13.44 |2346.26 |256 | | [convnextv2_nano.fcmae_ft_in22k_in1k](https://huggingface.co/timm/convnextv2_nano.fcmae_ft_in22k_in1k) |82.03 |96.166|224 |15.62 |2.46 |8.37 |2300.18 |256 | | [convnextv2_nano.fcmae_ft_in1k](https://huggingface.co/timm/convnextv2_nano.fcmae_ft_in1k) |81.83 |95.738|224 |15.62 |2.46 |8.37 |2321.48 |256 | | [convnext_nano_ols.d1h_in1k](https://huggingface.co/timm/convnext_nano_ols.d1h_in1k) |80.866|95.246|224 |15.65 |2.65 |9.38 |3523.85 |256 | | [convnext_nano.d1h_in1k](https://huggingface.co/timm/convnext_nano.d1h_in1k) |80.768|95.334|224 |15.59 |2.46 |8.37 |3915.58 |256 | | [convnextv2_pico.fcmae_ft_in1k](https://huggingface.co/timm/convnextv2_pico.fcmae_ft_in1k) |80.304|95.072|224 |9.07 |1.37 |6.1 |3274.57 |256 | | [convnext_pico.d1_in1k](https://huggingface.co/timm/convnext_pico.d1_in1k) |79.526|94.558|224 |9.05 |1.37 |6.1 |5686.88 |256 | | [convnext_pico_ols.d1_in1k](https://huggingface.co/timm/convnext_pico_ols.d1_in1k) |79.522|94.692|224 |9.06 |1.43 |6.5 |5422.46 |256 | | [convnextv2_femto.fcmae_ft_in1k](https://huggingface.co/timm/convnextv2_femto.fcmae_ft_in1k) |78.488|93.98 |224 |5.23 |0.79 |4.57 |4264.2 |256 | | [convnext_femto_ols.d1_in1k](https://huggingface.co/timm/convnext_femto_ols.d1_in1k) |77.86 |93.83 |224 |5.23 |0.82 |4.87 |6910.6 |256 | | [convnext_femto.d1_in1k](https://huggingface.co/timm/convnext_femto.d1_in1k) |77.454|93.68 |224 |5.22 |0.79 |4.57 |7189.92 |256 | | [convnextv2_atto.fcmae_ft_in1k](https://huggingface.co/timm/convnextv2_atto.fcmae_ft_in1k) |76.664|93.044|224 |3.71 |0.55 |3.81 |4728.91 |256 | | [convnext_atto_ols.a2_in1k](https://huggingface.co/timm/convnext_atto_ols.a2_in1k) |75.88 |92.846|224 |3.7 |0.58 |4.11 |7963.16 |256 | | [convnext_atto.d2_in1k](https://huggingface.co/timm/convnext_atto.d2_in1k) |75.664|92.9 |224 |3.7 |0.55 |3.81 |8439.22 |256 | ## Citation ```bibtex @article{liu2022convnet, author = {Zhuang Liu and Hanzi Mao and Chao-Yuan Wu and Christoph Feichtenhofer and Trevor Darrell and Saining Xie}, title = {A ConvNet for the 2020s}, journal = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)}, year = {2022}, } ``` ```bibtex @misc{rw2019timm, author = {Ross Wightman}, title = {PyTorch Image Models}, year = {2019}, publisher = {GitHub}, journal = {GitHub repository}, doi = {10.5281/zenodo.4414861}, howpublished = {\url{https://github.com/huggingface/pytorch-image-models}} } ```
[ -0.9215519428253174, -0.44877415895462036, -0.05797932669520378, 0.5227394104003906, -0.4383658170700073, -0.21311187744140625, -0.17395710945129395, -0.489230751991272, 0.8910760879516602, 0.23963116109371185, -0.6075478792190552, -0.5796002149581909, -0.6903570890426636, -0.04300278052687645, 0.09319832175970078, 0.9409722089767456, -0.042886342853307724, -0.1389676332473755, 0.26459747552871704, -0.3905145227909088, -0.2180357724428177, -0.4019126892089844, -0.8684981465339661, -0.20700174570083618, 0.2722459137439728, 0.3069895803928375, 0.7904031872749329, 0.6169053316116333, 0.41215622425079346, 0.5686915516853333, -0.2503165602684021, 0.1733536571264267, -0.20362061262130737, -0.3593730032444, 0.565918505191803, -0.4285809099674225, -0.9405764937400818, 0.23812954127788544, 0.8504074811935425, 0.5494536757469177, 0.053260285407304764, 0.20932726562023163, 0.35471147298812866, 0.4891299307346344, 0.039864104241132736, -0.06382392346858978, -0.09710700809955597, 0.18151947855949402, -0.2774827778339386, 0.019182901829481125, 0.05027756839990616, -0.7256554961204529, 0.36218905448913574, -0.5937287211418152, 0.036709994077682495, 0.001525227795355022, 1.401678204536438, -0.12090262770652771, -0.23039643466472626, 0.015053881332278252, 0.14999434351921082, 0.7344132661819458, -0.8275441527366638, 0.32132580876350403, 0.43024444580078125, -0.15223322808742523, -0.2066529393196106, -0.6540486812591553, -0.6329060792922974, -0.058743514120578766, -0.38532981276512146, 0.23664675652980804, -0.37528902292251587, -0.06958016008138657, 0.5676329731941223, 0.4686695635318756, -0.5216702222824097, -0.09306728839874268, -0.34255078434944153, -0.12170794606208801, 0.831998348236084, -0.09678254276514053, 0.6452877521514893, -0.3542654514312744, -0.6582373380661011, -0.2841079533100128, -0.20608532428741455, 0.4701712131500244, 0.22019149363040924, -0.025139721110463142, -1.0160021781921387, 0.5269996523857117, 0.09319713711738586, 0.2849147915840149, 0.3693293631076813, -0.2009865641593933, 0.8201233744621277, -0.26343414187431335, -0.5662762522697449, -0.33852097392082214, 1.2344499826431274, 0.7342697381973267, 0.4247819185256958, 0.12847432494163513, 0.05832678824663162, -0.0891382172703743, -0.4932173788547516, -1.0324057340621948, -0.16280776262283325, 0.38703453540802, -0.5793736577033997, -0.13376489281654358, 0.3650418817996979, -0.8257530331611633, 0.13929080963134766, -0.12390246987342834, 0.1985897719860077, -0.862786054611206, -0.408028244972229, -0.09746144711971283, -0.37281733751296997, 0.42012152075767517, 0.2972523272037506, -0.35522183775901794, 0.31311649084091187, 0.2834102511405945, 1.0222804546356201, 0.3008209466934204, -0.16019964218139648, -0.4357299506664276, -0.1595008820295334, -0.3626740574836731, 0.3508742153644562, 0.14251761138439178, -0.1638660430908203, -0.27387017011642456, 0.45795485377311707, -0.1790081113576889, -0.4155413508415222, 0.4307258427143097, 0.2939574420452118, 0.10652279108762741, -0.3906443417072296, -0.37384742498397827, -0.2909601926803589, 0.39374494552612305, -0.5301217436790466, 1.0866063833236694, 0.5041658282279968, -1.0825482606887817, 0.3154515326023102, -0.4785442352294922, -0.061506904661655426, -0.2977845072746277, 0.08368506282567978, -0.791313111782074, -0.1157614141702652, 0.2459341585636139, 0.7627147436141968, -0.12470115721225739, -0.14128725230693817, -0.3930788040161133, -0.06646843254566193, 0.3717398941516876, 0.11768791079521179, 0.998939037322998, 0.17938028275966644, -0.47888025641441345, 0.012889080680906773, -0.6666530966758728, 0.3272782564163208, 0.39467892050743103, -0.04750498756766319, -0.07682254165410995, -0.8357511162757874, 0.05806388705968857, 0.5419005155563354, 0.20645584166049957, -0.5524851083755493, 0.28574204444885254, -0.24880488216876984, 0.39321771264076233, 0.6549315452575684, -0.06516900658607483, 0.30575671792030334, -0.609021782875061, 0.5794174075126648, 0.08539561927318573, 0.2706242799758911, -0.04573126137256622, -0.40833932161331177, -0.7622135281562805, -0.707629919052124, 0.2161121964454651, 0.49377113580703735, -0.4607151448726654, 0.7667381167411804, 0.17509500682353973, -0.6462662220001221, -0.7594444155693054, 0.21202538907527924, 0.5432151556015015, 0.2618591785430908, 0.22314804792404175, -0.3762322664260864, -0.6814140677452087, -0.9581189155578613, -0.11855784058570862, 0.07767678797245026, -0.02362978458404541, 0.6423047780990601, 0.3806370794773102, -0.09297817200422287, 0.5667303204536438, -0.43955448269844055, -0.2803092896938324, -0.12466619163751602, -0.08509720116853714, 0.45213577151298523, 0.808860182762146, 1.1886130571365356, -0.8941231369972229, -0.9561834335327148, 0.03282348811626434, -1.1544615030288696, 0.01384032517671585, -0.04852109029889107, -0.4515281617641449, 0.30158597230911255, 0.27144160866737366, -1.0262318849563599, 0.7203930020332336, 0.38910365104675293, -0.6460469961166382, 0.487842321395874, -0.2792612612247467, 0.33844783902168274, -1.009499430656433, 0.23925161361694336, 0.2925775945186615, -0.3204115927219391, -0.5488486886024475, 0.07411859184503555, -0.09776629507541656, 0.1812605857849121, -0.6598072648048401, 0.9337417483329773, -0.7034211754798889, 0.10673096030950546, 0.03903882950544357, 0.12624521553516388, 0.013220777735114098, 0.5131423473358154, -0.0331527404487133, 0.4542678892612457, 0.8105677366256714, -0.30117693543434143, 0.4852693974971771, 0.5469031929969788, -0.023659123107790947, 0.8002613186836243, -0.6472607851028442, 0.12216322869062424, 0.11988461762666702, 0.5058034062385559, -0.9443316459655762, -0.4292934834957123, 0.5987802743911743, -0.7870073318481445, 0.4935495853424072, -0.2385309487581253, -0.3677136301994324, -0.8275606632232666, -0.8881398439407349, 0.25808119773864746, 0.5956087708473206, -0.6374191641807556, 0.18369270861148834, 0.2775372862815857, 0.05364130437374115, -0.6384373903274536, -0.6647107005119324, -0.07424105703830719, -0.4387526214122772, -0.9070143699645996, 0.4368428885936737, 0.0930400863289833, -0.11801761388778687, 0.017368746921420097, -0.024712443351745605, -0.03669390454888344, -0.17892791330814362, 0.5432064533233643, 0.4459528923034668, -0.250497043132782, -0.36656123399734497, -0.32864683866500854, -0.11790947616100311, 0.013096841983497143, -0.11891285330057144, 0.5751976370811462, -0.35264837741851807, 0.15989641845226288, -1.0902372598648071, 0.22108913958072662, 0.6607538461685181, -0.03837696090340614, 0.9327836632728577, 1.0513935089111328, -0.4619508683681488, 0.14728029072284698, -0.3938523828983307, -0.14035487174987793, -0.5248917937278748, -0.11638116836547852, -0.5482452511787415, -0.6607051491737366, 0.8528075218200684, 0.1967240869998932, -0.08539791405200958, 0.725095808506012, 0.33072522282600403, -0.24316318333148956, 0.8802818059921265, 0.548637866973877, -0.10241326689720154, 0.6208071112632751, -0.9201785922050476, 0.009601800702512264, -0.8483244776725769, -0.6487694978713989, -0.13142378628253937, -0.5830309987068176, -0.7675379514694214, -0.39995327591896057, 0.2732114791870117, 0.4892383813858032, -0.13655298948287964, 0.6957112550735474, -0.5980053544044495, -0.09578000009059906, 0.5100444555282593, 0.3489655554294586, -0.26476389169692993, -0.24399608373641968, -0.15460030734539032, -0.2067519724369049, -0.5643066167831421, -0.1536002904176712, 0.7143984436988831, 0.6675683856010437, 0.4052298963069916, -0.020575396716594696, 0.537535548210144, -0.08048433065414429, 0.31952452659606934, -0.5026139616966248, 0.7591748237609863, -0.05996781215071678, -0.5343290567398071, -0.20975808799266815, -0.46935898065567017, -1.013081431388855, 0.14337533712387085, -0.3791849911212921, -0.8766489028930664, -0.14454099535942078, 0.2129049301147461, -0.30864161252975464, 0.5596070289611816, -0.6961883902549744, 0.7609519958496094, -0.08282961696386337, -0.5080676078796387, 0.11142152547836304, -0.9057894349098206, 0.24681590497493744, 0.4216415286064148, -0.07387372106313705, -0.17361585795879364, 0.16105341911315918, 0.8317679166793823, -0.8761237263679504, 0.5139723420143127, -0.4089812934398651, 0.045049719512462616, 0.544230580329895, -0.07254824042320251, 0.4374747574329376, 0.13439415395259857, -0.013694394379854202, 0.029007602483034134, 0.15162146091461182, -0.6664018034934998, -0.3955613672733307, 0.6681714653968811, -0.6868385672569275, -0.39601728320121765, -0.5585227012634277, -0.3291930556297302, 0.18943169713020325, 0.01582377217710018, 0.6627812385559082, 0.5939879417419434, -0.14904233813285828, 0.20726841688156128, 0.5485224723815918, -0.3954240381717682, 0.5251436829566956, -0.19291317462921143, -0.031946614384651184, -0.5420048236846924, 0.8058887124061584, 0.054399896413087845, 0.1123495027422905, 0.05123664066195488, 0.07192812114953995, -0.4417705237865448, -0.15966209769248962, -0.15089978277683258, 0.7077394723892212, -0.23659168183803558, -0.37734419107437134, -0.6567285656929016, -0.45126351714134216, -0.6102296710014343, -0.3540182411670685, -0.400993287563324, -0.27846720814704895, -0.3571072518825531, 0.07507166266441345, 0.7633155584335327, 0.5687464475631714, -0.3845478296279907, 0.45914244651794434, -0.6629322171211243, 0.33003976941108704, 0.05738559737801552, 0.4451983869075775, -0.2955150008201599, -0.6037620902061462, 0.027573099359869957, 0.024846790358424187, -0.24986575543880463, -0.8072386384010315, 0.6661151051521301, 0.15696044266223907, 0.3991082012653351, 0.5526678562164307, -0.31899940967559814, 0.8181262016296387, -0.09595664590597153, 0.5132952332496643, 0.577595055103302, -0.9021464586257935, 0.44406840205192566, -0.4178127944469452, 0.09640872478485107, 0.16319812834262848, 0.38821959495544434, -0.5090811848640442, -0.3573572039604187, -1.0126936435699463, -0.6151307821273804, 0.7142078876495361, 0.15256798267364502, -0.0115338284522295, 0.08218129724264145, 0.6599557399749756, -0.08487972617149353, 0.1493569165468216, -0.5715789794921875, -0.7532126903533936, -0.2304949313402176, -0.14879955351352692, -0.10117048770189285, -0.026004841551184654, -0.02654363587498665, -0.7077217698097229, 0.5058473944664001, -0.13767604529857635, 0.5919750928878784, 0.26462090015411377, 0.01128951646387577, -0.03514929860830307, -0.3276882767677307, 0.5634536743164062, 0.36627328395843506, -0.312447190284729, -0.13741648197174072, 0.3850262463092804, -0.5219094753265381, 0.021271809935569763, 0.3020213842391968, 0.08089852333068848, 0.21311326324939728, 0.33810365200042725, 0.6295576691627502, 0.2572377026081085, -0.17447714507579803, 0.5971381068229675, -0.2217472940683365, -0.4166082739830017, -0.3144363462924957, -0.030346984043717384, 0.20125825703144073, 0.4821968674659729, 0.21835613250732422, 0.06162763386964798, -0.31459611654281616, -0.6041681170463562, 0.5709652304649353, 0.8156282901763916, -0.459646075963974, -0.5777415633201599, 0.6624820232391357, -0.09274370223283768, -0.1110830307006836, 0.5599492788314819, -0.08414893597364426, -0.7439162731170654, 1.0335639715194702, 0.28888916969299316, 0.5893213152885437, -0.5897473692893982, 0.252689003944397, 0.9107004404067993, -0.020962785929441452, 0.13342534005641937, 0.3775898516178131, 0.3907608687877655, -0.45672354102134705, 0.06026019901037216, -0.6582038402557373, 0.18042205274105072, 0.5860230326652527, -0.4883979260921478, 0.3679846227169037, -0.7787372469902039, -0.37371930480003357, 0.20386160910129547, 0.4530662000179291, -0.8619828820228577, 0.3360736668109894, 0.06160556152462959, 1.1621955633163452, -0.8210303783416748, 0.915061354637146, 0.7608241438865662, -0.3845255374908447, -0.9832608699798584, -0.15206338465213776, 0.2170889526605606, -0.7927986979484558, 0.40719446539878845, 0.2586739957332611, 0.22635424137115479, -0.22157259285449982, -0.6356416344642639, -0.5033016800880432, 1.253524661064148, 0.5049848556518555, -0.15811504423618317, 0.1154865175485611, -0.35955294966697693, 0.4091457724571228, -0.28506040573120117, 0.4798242747783661, 0.5540986657142639, 0.5535379648208618, 0.21861161291599274, -0.9554023742675781, 0.3897395730018616, -0.4445486068725586, -0.1940866857767105, 0.2999083399772644, -1.420636773109436, 1.0885530710220337, -0.3608851432800293, -0.03638605773448944, 0.19414247572422028, 0.852828323841095, 0.4177674949169159, 0.0633508563041687, 0.4044809937477112, 0.7419854402542114, 0.4967941343784332, -0.20365554094314575, 1.089141845703125, 0.01593765802681446, 0.421030193567276, 0.2637535333633423, 0.5411278009414673, 0.42620861530303955, 0.3816516101360321, -0.4416627883911133, 0.14129960536956787, 0.908851146697998, -0.1961967498064041, 0.12223070114850998, 0.2227744609117508, -0.1779756397008896, -0.1329929679632187, -0.2219938486814499, -0.6423064470291138, 0.44273048639297485, 0.16354718804359436, -0.2819466292858124, 0.01834005117416382, -0.0988769605755806, 0.519482433795929, -0.005110480822622776, -0.15306422114372253, 0.4581056535243988, 0.2591010332107544, -0.599321722984314, 0.5498819351196289, -0.08352582901716232, 1.0246788263320923, -0.3604343831539154, 0.01581968367099762, -0.32775381207466125, 0.32825779914855957, -0.2705060839653015, -1.2015987634658813, 0.32815542817115784, -0.15417513251304626, 0.20153573155403137, -0.07658649235963821, 0.644278347492218, -0.4725658595561981, -0.2535209357738495, 0.549778401851654, 0.3534046709537506, 0.40459150075912476, 0.06252560764551163, -1.2022266387939453, 0.24713854491710663, 0.15291310846805573, -0.5751487612724304, 0.42706480622291565, 0.5153614282608032, 0.25172868371009827, 0.7094132900238037, 0.4315323531627655, 0.2004733681678772, 0.08943190425634384, -0.3785850703716278, 0.8251019716262817, -0.6917617321014404, -0.48569732904434204, -0.9015728831291199, 0.46979570388793945, -0.3341955840587616, -0.6691690683364868, 0.8213817477226257, 0.4596220552921295, 0.540424644947052, 0.12053492665290833, 0.5501915812492371, -0.5056851506233215, 0.387524276971817, -0.44989052414894104, 0.7388386726379395, -0.8300372958183289, -0.32936763763427734, -0.46448448300361633, -0.8427301049232483, -0.3044326901435852, 0.7575784921646118, 0.06134498491883278, 0.2455763816833496, 0.3599375784397125, 0.6187853217124939, -0.04223450645804405, -0.24077945947647095, -0.06755975633859634, 0.2647842466831207, 0.0529073104262352, 0.840300977230072, 0.5581657290458679, -0.7758672833442688, 0.20940041542053223, -0.6553015112876892, -0.34620505571365356, -0.3556702136993408, -0.7661263942718506, -1.1260675191879272, -0.8309582471847534, -0.5137673020362854, -0.6884378790855408, -0.3234202265739441, 1.1586750745773315, 0.9886751770973206, -0.5611070394515991, -0.17466209828853607, 0.3156028389930725, 0.1078900471329689, -0.23143205046653748, -0.27164536714553833, 0.54798424243927, 0.34261706471443176, -1.0570586919784546, -0.2911268472671509, 0.08605223149061203, 0.5810409188270569, 0.3260057866573334, -0.41640791296958923, -0.2674957811832428, -0.06645914912223816, 0.4223458468914032, 0.8534693121910095, -0.7167066931724548, -0.47476258873939514, 0.05320443958044052, -0.27537834644317627, 0.26032721996307373, 0.28764429688453674, -0.40354257822036743, -0.10061214864253998, 0.5565536618232727, 0.13683699071407318, 0.779945969581604, 0.15372951328754425, 0.257816880941391, -0.64617520570755, 0.6846587061882019, -0.05635249987244606, 0.3683381676673889, 0.38482263684272766, -0.41679027676582336, 0.761978268623352, 0.5168238282203674, -0.474926620721817, -1.0024752616882324, -0.3045184314250946, -1.4824538230895996, 0.007824622094631195, 0.8020390868186951, -0.21364881098270416, -0.5576649904251099, 0.5465149283409119, -0.3544063866138458, 0.5561277270317078, -0.2679985463619232, 0.27979350090026855, 0.38539525866508484, -0.3681390881538391, -0.4733341932296753, -0.5652687549591064, 0.7436925172805786, 0.33530282974243164, -0.7052522897720337, -0.364083468914032, -0.020114468410611153, 0.5049551725387573, 0.2503187656402588, 0.8221482038497925, -0.20512917637825012, 0.1706266701221466, 0.020663732662796974, 0.17949345707893372, 0.05521537736058235, 0.024008823558688164, -0.16707004606723785, -0.22733527421951294, -0.34694430232048035, -0.618987500667572 ]
Yntec/Ninja-Diffusers
Yntec
2023-07-22T03:51:47Z
6,994
5
diffusers
[ "diffusers", "stable-diffusion", "stable-diffusion-diffusers", "text-to-image", "Civitai", "chillpixel", "license:creativeml-openrail-m", "endpoints_compatible", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2023-07-22T03:30:15Z
--- license: creativeml-openrail-m library_name: diffusers pipeline_tag: text-to-image tags: - stable-diffusion - stable-diffusion-diffusers - diffusers - text-to-image - Civitai - chillpixel --- # Ninja Original page: https://civitai.com/models/78321/ninja Join the Discord: https://discord.gg/89Pu5ehUvE
[ -0.5320635437965393, -0.33659055829048157, 0.4700099229812622, 0.00027048858464695513, -0.6602378487586975, 0.4728543162345886, 0.5071247220039368, 0.21288858354091644, 0.9340578317642212, 0.6833158731460571, -0.9852943420410156, -0.296283483505249, 0.1777489185333252, -0.2602889835834503, 0.05105254426598549, 0.47416192293167114, 0.2765420973300934, 0.4691286087036133, 0.06004343926906586, 0.19879116117954254, -0.7849277257919312, -0.6131978631019592, -1.2266463041305542, -0.5981719493865967, 0.803997814655304, 0.81646329164505, 0.4930227994918823, -0.11545263975858688, 0.05127771198749542, 0.3430890142917633, 0.03984251990914345, 0.24582897126674652, -0.4635843336582184, 0.3459026515483856, -0.2001853883266449, -0.49697181582450867, -0.5594930648803711, -0.1090783104300499, 0.558179497718811, 0.6006036400794983, -0.10724509507417679, 0.12029147148132324, 0.0074920314364135265, 0.9613036513328552, -0.5925092697143555, 0.3776119351387024, -0.15953168272972107, 0.11394941061735153, 0.07047377526760101, -0.26523107290267944, -0.057498909533023834, -0.5570485591888428, -0.41689932346343994, -1.1157441139221191, 0.2471553236246109, -0.19774895906448364, 0.7438675165176392, -0.1634911745786667, -0.5587342977523804, 0.32099151611328125, -0.46502920985221863, 0.01442487258464098, -0.09470482170581818, 0.6193909645080566, 0.6050760746002197, 0.8989578485488892, -0.7598466277122498, -0.704985499382019, -0.4626378118991852, 0.20490878820419312, 0.5743173956871033, 0.24991382658481598, -0.43537256121635437, -0.3144781291484833, -0.003977125510573387, 0.11656403541564941, -0.6985946297645569, -0.08521568775177002, -0.7862917184829712, 0.4986175298690796, 0.727079451084137, 0.13279595971107483, 0.7294365167617798, 0.1918807029724121, -0.45594510436058044, -0.01731759123504162, -0.5201339721679688, -0.26494133472442627, 0.6901081204414368, 0.2676193118095398, -0.4102616608142853, 0.5751461386680603, -0.5493479371070862, 0.47482725977897644, 0.541227400302887, 0.35244977474212646, 0.3388509750366211, -0.8170419335365295, -0.5676526427268982, 0.0006690059090033174, 0.6490383744239807, 0.9277258515357971, 0.38688528537750244, 0.22164539992809296, 0.32794925570487976, -0.4441875219345093, 0.43242520093917847, -0.5948283672332764, -0.7834752798080444, -0.19676817953586578, -0.4962809383869171, -0.3656235933303833, 0.6218934655189514, -0.6774125099182129, -0.592582643032074, 0.1886819750070572, 0.26877447962760925, -0.5220741033554077, -1.0004843473434448, 0.3105278015136719, -0.6634211540222168, 0.22633518278598785, 0.5526919960975647, -0.7599292397499084, 0.5540264248847961, 0.707690954208374, 0.5653358697891235, 1.1706013679504395, 0.15648412704467773, -0.44702357053756714, -0.006836365442723036, -0.5299282670021057, 0.31906241178512573, 0.034706950187683105, -0.9656801223754883, -0.09415479004383087, 0.20670999586582184, -0.17970293760299683, -0.27224093675613403, 0.31009820103645325, -0.9538854956626892, -0.3042207956314087, -0.33636361360549927, -0.09230620414018631, -0.310738742351532, -0.0029646495822817087, -0.7855042815208435, 0.7888708710670471, 0.14632359147071838, -0.22726908326148987, 0.055669210851192474, -1.0274444818496704, -0.2650086283683777, 0.5717247724533081, 0.34361696243286133, 0.2370743602514267, 0.5548179149627686, -0.5080446004867554, 0.2652818560600281, -0.060322608798742294, 0.18026386201381683, -0.5472317934036255, -0.3585703670978546, 0.7281379699707031, -0.16123472154140472, 1.4138667583465576, 0.5850040912628174, 0.20082436501979828, -0.26050490140914917, -0.9483293294906616, 0.4680166244506836, 0.4717806577682495, 0.13145838677883148, -0.228670135140419, -0.1322098821401596, -0.355217844247818, 0.07807577401399612, 0.34757307171821594, -0.2531430423259735, 0.43977269530296326, -0.042728766798973083, -0.11211182922124863, 0.5656124949455261, 0.5814735889434814, -0.22012534737586975, -0.46748292446136475, 0.7830276489257812, -0.39649298787117004, 0.7251407504081726, 0.3784506916999817, -0.8398026823997498, -1.3781943321228027, 0.10916762053966522, 0.2940558195114136, 0.2405356466770172, -0.9996595978736877, 1.0679223537445068, -0.19363054633140564, -0.9038528800010681, -0.29291394352912903, -0.05340917408466339, 0.1794622540473938, -0.2941877543926239, -0.10063883662223816, -0.9700794219970703, -1.069236397743225, -1.0882312059402466, 0.09413517266511917, -0.7266239523887634, -0.2498139888048172, 0.19172663986682892, 0.36077257990837097, -0.3784033954143524, 0.3707098662853241, -0.33923807740211487, -0.19509324431419373, -0.43307819962501526, -0.13887175917625427, 0.6057363748550415, 0.5912511944770813, 0.9118316173553467, -0.9349708557128906, -1.085952877998352, 0.15057963132858276, -0.7235748171806335, -0.1491760015487671, 0.4952835142612457, -0.4852914810180664, -0.012824985198676586, 0.2060396671295166, -0.7492272853851318, 0.8070356845855713, 0.5621325373649597, -0.5377807021141052, 0.11023847758769989, -0.1300203800201416, 0.7671636939048767, -1.2529692649841309, -0.0026379621122032404, -0.08151452243328094, -0.13538092374801636, -0.6030187606811523, 0.3393801748752594, -0.4603622257709503, -0.37442538142204285, -0.8066871762275696, 0.086217001080513, -0.8170186877250671, 0.07123865187168121, -0.4494572877883911, -0.03221907839179039, 0.34594666957855225, 0.422927588224411, -0.35702240467071533, 0.5973479747772217, 0.43321093916893005, -0.5961463451385498, 0.345712274312973, 0.2230038195848465, 0.03536041080951691, 0.5609675049781799, -0.9707347750663757, 0.1765495389699936, 0.07637029886245728, 0.3079039752483368, -1.3705286979675293, -0.43541258573532104, 0.8007867336273193, -0.6592569947242737, 0.22137516736984253, -0.7613941431045532, -0.909603476524353, -0.41109466552734375, -0.254282683134079, 0.5932485461235046, 1.0254157781600952, -0.49673861265182495, 0.08221245557069778, 0.6520513892173767, 0.3848743438720703, 0.18384651839733124, -0.1988120973110199, 0.2705583870410919, 0.08647961169481277, -0.5510854721069336, 0.04874584823846817, -0.060698650777339935, -0.5147197246551514, -0.5782601833343506, 0.008427253924310207, -0.773930013179779, 0.31302520632743835, 0.664603054523468, 0.056344691663980484, -0.33579322695732117, 0.07720119506120682, -0.26604577898979187, -0.08684399724006653, 0.11468268185853958, -0.011388521641492844, 1.199459433555603, -0.5062216520309448, -0.15548120439052582, -1.1025294065475464, 0.4864151179790497, 0.8326752185821533, -0.12045185267925262, 0.8193135857582092, -0.04730518162250519, -0.6854937076568604, 0.1547170728445053, -0.5220916867256165, 0.13070636987686157, -0.5756064653396606, -0.009655854664742947, -0.4394286274909973, -0.45668983459472656, 0.173788920044899, 0.23807598650455475, -0.6862313747406006, 1.0272011756896973, 0.22074823081493378, -0.23327411711215973, 1.0111221075057983, 0.6694873571395874, 0.2612191438674927, 0.5014957189559937, -0.5836020708084106, 0.2999289929866791, -0.8288284540176392, -0.5412240624427795, -0.5517993569374084, -0.45275384187698364, -0.4838334023952484, -0.7141098380088806, 0.11125287413597107, 0.3650173842906952, -0.6657270789146423, 0.6354675889015198, -0.6095083355903625, 0.7218270897865295, 0.2767634689807892, 0.3653063476085663, 0.2997484505176544, -0.3181968927383423, 0.4028891623020172, -0.12686194479465485, -0.9465938806533813, -0.294797420501709, 0.7110869288444519, -0.05298598110675812, 0.49785691499710083, 0.5139437317848206, 0.7364311814308167, -0.0014602934243157506, 0.09180638939142227, -0.47138291597366333, 0.6290407776832581, -0.001136589446105063, -1.0375380516052246, 0.2170981913805008, 0.05501241609454155, -0.8357396721839905, 0.3410913646221161, -0.33097946643829346, -0.3809504806995392, 0.3317074477672577, 0.00007163936243159696, -0.10764268040657043, 0.5106157064437866, -0.7843868732452393, 0.8246841430664062, -0.550009548664093, 0.10467077046632767, -0.026461439207196236, -0.552152693271637, 0.5657792687416077, 0.20261363685131073, 0.15144658088684082, 0.0275217704474926, 0.034395650029182434, 0.9024089574813843, -0.891434907913208, 1.4416295289993286, -0.1531963050365448, 0.5232142806053162, 0.6020982265472412, -0.1347259134054184, -0.10214972496032715, 0.45292142033576965, 0.027381855994462967, -0.03287722170352936, -0.41430312395095825, -0.19836288690567017, -0.5137512683868408, 1.0960047245025635, -0.8555530309677124, -0.6218956708908081, -0.9014312624931335, 0.3662557601928711, 0.15555478632450104, 0.5574174523353577, 0.42031824588775635, 0.24408093094825745, -0.6977380514144897, 0.4087991416454315, 0.6740061044692993, 0.34627458453178406, 0.31168225407600403, 0.4605420231819153, -0.554025411605835, -0.5903345942497253, 0.47931650280952454, 0.01956329494714737, 0.08939960598945618, -0.03748060017824173, 0.19731001555919647, 0.07401781529188156, -0.3286627531051636, -0.17882944643497467, 0.5439743399620056, -0.0641394779086113, -0.22928524017333984, -0.5137273669242859, -0.2412569373846054, -0.21851128339767456, -0.24703006446361542, -0.6388644576072693, -0.34449875354766846, -0.7616676092147827, -0.042804524302482605, 0.8437089323997498, 0.6660152077674866, 0.18035058677196503, 0.6300046443939209, -0.6558379530906677, 0.30038946866989136, 0.28134357929229736, 0.6596718430519104, -0.2196272909641266, -0.40442904829978943, -0.16956369578838348, 0.30810263752937317, -0.5712177157402039, -0.881974458694458, 0.5818371176719666, 0.22028762102127075, 0.6850576996803284, 0.3314327895641327, 0.15723444521427155, 0.837477445602417, -0.6574056148529053, 0.7087278366088867, 1.1030147075653076, -0.8654821515083313, 0.7202394008636475, -0.5856704711914062, 0.3073742687702179, 1.2672001123428345, 0.8881456851959229, -0.3957481384277344, -0.21645216643810272, -1.450626015663147, -0.48969775438308716, -0.09181434661149979, 0.1590927243232727, 0.1751861423254013, 0.13894592225551605, 0.3954314887523651, -0.08725278824567795, 0.295801043510437, -0.44232454895973206, -0.6232185959815979, -0.4143837094306946, 0.03875386714935303, 0.0022327438928186893, -0.2391948103904724, -0.2454729974269867, -0.6085132360458374, 0.8055440783500671, -0.03390643373131752, 0.2607360780239105, 0.13221336901187897, 0.40426912903785706, -0.11093465983867645, -0.05485883727669716, 0.5060644745826721, 1.0279743671417236, -0.1760336458683014, -0.1342545598745346, -0.12954829633235931, -0.3036881685256958, 0.21984606981277466, 0.06982848793268204, 0.07219444960355759, 0.4672186076641083, -0.21064504981040955, 0.772503674030304, 0.5982464551925659, -0.3233017325401306, 0.673803448677063, -0.4131607115268707, 0.045257117599248886, -1.057245135307312, 0.8156911730766296, 0.14191462099552155, 0.48798292875289917, 0.44259974360466003, 0.09536466002464294, 0.4139821231365204, -0.838083028793335, 0.23154878616333008, 0.49620679020881653, -0.9799924492835999, -0.6390405297279358, 1.0202507972717285, 0.3732560873031616, -1.3429596424102783, 0.6200921535491943, 0.2568920850753784, -0.6375519037246704, 0.6887601017951965, 0.6746731400489807, 1.1550273895263672, -0.42708197236061096, 0.5495612621307373, 0.4293001890182495, 0.02597091905772686, 0.12388112396001816, 0.5178676247596741, 0.2188766598701477, -0.3095659017562866, 0.2581281363964081, -0.0026212281081825495, -0.39184513688087463, -0.057085637003183365, -0.7368497848510742, 0.42254316806793213, -1.13249671459198, -0.4865298569202423, 0.15333794057369232, 0.28849276900291443, -0.6128623485565186, 0.6767473220825195, 0.1442234367132187, 1.2837449312210083, -0.5911165475845337, 1.168385624885559, 0.7401733994483948, -0.5106689929962158, -0.4506396949291229, -0.4597267806529999, 0.05883129686117172, -0.834878146648407, 0.35627755522727966, -0.03947825729846954, -0.12866295874118805, -0.1969742625951767, -1.0565574169158936, -0.7612376809120178, 1.0425693988800049, -0.08696293830871582, -0.55060213804245, 0.15582223236560822, -0.8241294622421265, 0.6831362843513489, -0.7376301288604736, -0.2674567997455597, -0.09806466847658157, 0.3118847608566284, 0.06330365687608719, -0.7376527190208435, -0.1942247897386551, -0.9621938467025757, 0.2895471453666687, 0.3562965989112854, -1.351254940032959, 0.4963420629501343, -0.12514814734458923, 0.12359299510717392, 0.4270321726799011, 0.6213740706443787, 0.3385807275772095, -0.19763517379760742, 0.5537214279174805, 0.39951565861701965, 0.5100387930870056, -0.3373192846775055, 1.0277210474014282, 0.19146837294101715, 0.159715473651886, 0.6354781985282898, -0.4648948907852173, 0.49389031529426575, 0.3604656457901001, -0.08765441179275513, 0.8158714771270752, 0.7951552867889404, -0.36411693692207336, 0.46880781650543213, 0.2528765797615051, -0.6987184286117554, -0.20102697610855103, -0.06943628937005997, -0.6869024634361267, 0.07725805789232254, 0.020713694393634796, -0.3558296263217926, 0.32441115379333496, -0.5666709542274475, 0.051796313375234604, -0.09400313347578049, -0.35392677783966064, 0.7678869366645813, 0.03407496586441994, -0.5965287685394287, 0.6303207278251648, -0.10039325058460236, 0.14080926775932312, -0.7420647144317627, -0.1949477195739746, -0.20307129621505737, 0.1332586407661438, -0.052064236253499985, -0.5123289227485657, 0.12757092714309692, -0.270764023065567, -0.22103001177310944, 0.08735844492912292, 0.8374695181846619, -0.16646014153957367, -0.8152989745140076, 0.1832045018672943, 0.2329714149236679, 0.2550342381000519, -0.033703289926052094, -0.6143436431884766, 0.4451265037059784, 0.09942720085382462, 0.2487739622592926, 0.5068522691726685, -0.0026778390165418386, 0.03628117963671684, 0.5982847809791565, 0.5948323607444763, -0.409761518239975, 0.0029445926193147898, -0.2995660603046417, 0.7890113592147827, -0.7443462014198303, -0.6632087826728821, -0.6842841506004333, 1.0167816877365112, -0.4480380713939667, -0.8286033272743225, 0.9632067084312439, 0.8992915749549866, 0.945956289768219, -0.558985710144043, 0.7384157776832581, 0.010172280482947826, 0.19250425696372986, -0.3054463863372803, 1.4055562019348145, -1.0319416522979736, -0.36830052733421326, 0.13995373249053955, -0.6835876107215881, -0.37453576922416687, 0.7399806380271912, 0.6154789328575134, 0.16865567862987518, 0.31120064854621887, 0.24935036897659302, -0.1712445169687271, 0.29580017924308777, 0.41062623262405396, -0.2054658830165863, 0.24038439989089966, 0.4852338135242462, 0.6328291296958923, -1.1364468336105347, 0.00878807995468378, -0.02487536147236824, -0.3511984050273895, -0.7639824151992798, -0.46794918179512024, -0.8745923638343811, -0.548929750919342, -0.7349727749824524, -0.6144587397575378, 0.38039007782936096, 0.6756099462509155, 0.5983042120933533, -0.32247620820999146, -0.5067870616912842, 0.2629394233226776, 0.4205970764160156, -0.07774004340171814, -0.24452586472034454, -0.10205922275781631, 0.5703710913658142, -0.6348928809165955, 0.7136850953102112, -0.05848546326160431, 0.3035092055797577, 0.006815522909164429, 0.13856306672096252, -0.9111368656158447, 0.15242256224155426, 0.3971707224845886, 0.971875011920929, -0.2900005280971527, -0.515643298625946, -0.13001367449760437, -0.11459752917289734, 0.29623234272003174, 0.7903911471366882, -0.27979880571365356, 0.397323876619339, 0.6566225290298462, -0.019742818549275398, 0.569333553314209, 0.052122507244348526, 1.1549233198165894, -0.43376466631889343, 0.17470404505729675, -0.22731541097164154, 0.6438246965408325, 0.0542597733438015, -0.11199066042900085, 0.993523359298706, 0.6088209748268127, -0.41454246640205383, -0.9351019263267517, 0.14293760061264038, -1.5139706134796143, 0.01217337604612112, 0.5890439748764038, 0.3690217137336731, -0.5462014079093933, 0.07352138310670853, -0.4609711468219757, 0.4437134563922882, -0.34060728549957275, -0.000128648491227068, 0.15812312066555023, -0.12121842056512833, -0.14743293821811676, -0.5051794648170471, 0.020885346457362175, -0.5435543060302734, -0.5962703227996826, -0.6476700305938721, 0.5684052109718323, 0.4950714409351349, 0.3487066924571991, 0.7765324115753174, -0.23150616884231567, 0.8828687071800232, 0.23316435515880585, 0.603623628616333, -0.3409295678138733, -0.6891588568687439, -0.2600820064544678, 0.10016579180955887, -0.12313664704561234, -0.8042232990264893 ]
deepset/gelectra-large-germanquad
deepset
2023-07-20T06:47:30Z
6,985
24
transformers
[ "transformers", "pytorch", "tf", "safetensors", "electra", "question-answering", "exbert", "de", "dataset:deepset/germanquad", "license:mit", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
question-answering
2022-03-02T23:29:05Z
--- language: de datasets: - deepset/germanquad license: mit thumbnail: https://thumb.tildacdn.com/tild3433-3637-4830-a533-353833613061/-/resize/720x/-/format/webp/germanquad.jpg tags: - exbert --- ![bert_image](https://thumb.tildacdn.com/tild3433-3637-4830-a533-353833613061/-/resize/720x/-/format/webp/germanquad.jpg) ## Overview **Language model:** gelectra-large-germanquad **Language:** German **Training data:** GermanQuAD train set (~ 12MB) **Eval data:** GermanQuAD test set (~ 5MB) **Infrastructure**: 1x V100 GPU **Published**: Apr 21st, 2021 ## Details - We trained a German question answering model with a gelectra-large model as its basis. - The dataset is GermanQuAD, a new, German language dataset, which we hand-annotated and published [online](https://deepset.ai/germanquad). - The training dataset is one-way annotated and contains 11518 questions and 11518 answers, while the test dataset is three-way annotated so that there are 2204 questions and with 2204·3−76 = 6536 answers, because we removed 76 wrong answers. See https://deepset.ai/germanquad for more details and dataset download in SQuAD format. ## Hyperparameters ``` batch_size = 24 n_epochs = 2 max_seq_len = 384 learning_rate = 3e-5 lr_schedule = LinearWarmup embeds_dropout_prob = 0.1 ``` ## Performance We evaluated the extractive question answering performance on our GermanQuAD test set. Model types and training data are included in the model name. For finetuning XLM-Roberta, we use the English SQuAD v2.0 dataset. The GELECTRA models are warm started on the German translation of SQuAD v1.1 and finetuned on [GermanQuAD](https://deepset.ai/germanquad). The human baseline was computed for the 3-way test set by taking one answer as prediction and the other two as ground truth. ![performancetable](https://images.prismic.io/deepset/1c63afd8-40e6-4fd9-85c4-0dbb81996183_german-qa-vs-xlm-r.png) ## Authors **Timo Möller:** [email protected] **Julian Risch:** [email protected] **Malte Pietsch:** [email protected] ## About us <div class="grid lg:grid-cols-2 gap-x-4 gap-y-3"> <div class="w-full h-40 object-cover mb-2 rounded-lg flex items-center justify-center"> <img alt="" src="https://huggingface.co/spaces/deepset/README/resolve/main/haystack-logo-colored.svg" class="w-40"/> </div> <div class="w-full h-40 object-cover mb-2 rounded-lg flex items-center justify-center"> <img alt="" src="https://huggingface.co/spaces/deepset/README/resolve/main/deepset-logo-colored.svg" class="w-40"/> </div> </div> [deepset](http://deepset.ai/) is the company behind the open-source NLP framework [Haystack](https://haystack.deepset.ai/) which is designed to help you build production ready NLP systems that use: Question answering, summarization, ranking etc. Some of our other work: - [Distilled roberta-base-squad2 (aka "tinyroberta-squad2")]([https://huggingface.co/deepset/tinyroberta-squad2) - [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert) - [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad) ## Get in touch and join the Haystack community <p>For more info on Haystack, visit our <strong><a href="https://github.com/deepset-ai/haystack">GitHub</a></strong> repo and <strong><a href="https://haystack.deepset.ai">Documentation</a></strong>. We also have a <strong><a class="h-7" href="https://haystack.deepset.ai/community/join">Discord community open to everyone!</a></strong></p> [Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Discord](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai) By the way: [we're hiring!](http://www.deepset.ai/jobs)
[ -0.6186580061912537, -0.805308997631073, 0.3383864760398865, 0.027635745704174042, -0.058265138417482376, 0.05459722504019737, -0.31975817680358887, -0.5450233221054077, 0.26699918508529663, 0.2656410038471222, -0.815049409866333, -0.7716356515884399, -0.2502376437187195, 0.07715626060962677, -0.26241937279701233, 0.9800564646720886, 0.030526839196681976, 0.018228691071271896, -0.14288868010044098, -0.17381718754768372, -0.43822118639945984, -0.5014503002166748, -0.8305225372314453, -0.25260472297668457, 0.4874008595943451, 0.49346596002578735, 0.7612946629524231, 0.27609753608703613, 0.3982042670249939, 0.31283119320869446, -0.12236204743385315, 0.1632346510887146, -0.5875129699707031, 0.1534351259469986, 0.08579624444246292, -0.3316798806190491, -0.442304790019989, 0.013858559541404247, 0.5543195009231567, 0.6155142784118652, -0.2364262491464615, 0.3259642720222473, -0.07841570675373077, 0.7671077251434326, -0.45356371998786926, 0.07905343919992447, -0.4678162634372711, -0.08259963989257812, 0.017003284767270088, 0.3724645674228668, -0.1424878090620041, -0.2726350724697113, 0.1791476160287857, -0.6440750956535339, 0.36884742975234985, -0.2517191171646118, 1.1786446571350098, 0.08279090374708176, -0.08241765201091766, -0.008352949284017086, -0.4515705704689026, 0.5954679846763611, -0.9625502228736877, 0.18872110545635223, 0.5261454582214355, 0.48191729187965393, 0.20059596002101898, -0.7082493305206299, -0.7133749723434448, -0.03185814246535301, -0.294539213180542, 0.29973316192626953, -0.16747775673866272, -0.26541098952293396, 0.14930972456932068, 0.3910289704799652, -0.875845730304718, 0.28786417841911316, -0.5052201151847839, -0.026899125427007675, 0.9188255667686462, 0.0667981281876564, 0.30080464482307434, -0.074142225086689, -0.2078641802072525, -0.4406416714191437, -0.6387684345245361, 0.13383962213993073, 0.18079444766044617, 0.35722804069519043, -0.3769761025905609, 0.4675111472606659, -0.317104309797287, 0.4842391908168793, 0.2772538661956787, 0.4750448167324066, 0.5763636827468872, -0.5141488909721375, -0.2693045139312744, -0.09773319959640503, 0.981721043586731, 0.3179447650909424, 0.2648022472858429, -0.170785054564476, -0.22339148819446564, -0.21251563727855682, 0.14059998095035553, -0.9327448606491089, -0.10484100133180618, 0.39598652720451355, -0.24147242307662964, -0.29633039236068726, 0.07545822858810425, -0.680899977684021, -0.3237338066101074, 0.05765865743160248, 0.5195844173431396, -0.6207301020622253, -0.38144880533218384, 0.3583070933818817, -0.17677031457424164, 0.5890523791313171, 0.15932871401309967, -0.7012891173362732, 0.24551264941692352, 0.6059536933898926, 0.5940746665000916, 0.08584385365247726, -0.4442986249923706, -0.35524240136146545, -0.1371835321187973, -0.26381418108940125, 0.6317469477653503, -0.3301653265953064, -0.10293136537075043, 0.01822182722389698, 0.19282309710979462, -0.13353495299816132, -0.39036834239959717, 0.27702638506889343, -0.7114297151565552, 0.7469074130058289, -0.3250020742416382, -0.6790754795074463, -0.2908932566642761, 0.3032342493534088, -0.819449245929718, 1.097739338874817, 0.26374197006225586, -0.6109681725502014, 0.23151402175426483, -0.7438459992408752, -0.4206221401691437, 0.156691312789917, -0.0738477110862732, -0.3352861702442169, -0.32935068011283875, 0.44598591327667236, 0.5938264727592468, -0.31171518564224243, 0.16123740375041962, -0.28273385763168335, -0.5176238417625427, 0.30314645171165466, -0.08264892548322678, 1.1521759033203125, 0.002973922062665224, -0.5005757212638855, -0.18699876964092255, -0.6095725297927856, 0.24855956435203552, 0.2367955446243286, -0.2674250900745392, 0.007946244440972805, -0.18917566537857056, 0.05975347384810448, 0.35518258810043335, 0.4682772755622864, -0.40249863266944885, -0.009226597845554352, -0.5968478918075562, 0.30031293630599976, 0.6796243190765381, -0.07392062991857529, 0.3933388292789459, -0.3202410042285919, 0.724030077457428, -0.06961889564990997, 0.10207322239875793, 0.09893885999917984, -0.34048834443092346, -0.9409247636795044, -0.04011500999331474, 0.41459569334983826, 0.8073739409446716, -0.8562960624694824, 0.8015418648719788, -0.3150883615016937, -0.6909456849098206, -0.811189591884613, 0.14128634333610535, 0.5045927166938782, 0.5066201090812683, 0.48454222083091736, -0.06535281985998154, -0.5369873046875, -1.1875510215759277, 0.06016847863793373, -0.19942747056484222, -0.227523073554039, 0.4396539628505707, 0.6471871137619019, -0.191041499376297, 0.6947219371795654, -0.6035356521606445, -0.2675490081310272, -0.2967091202735901, -0.18943119049072266, 0.4947815537452698, 0.5845032930374146, 0.733900785446167, -0.8764229416847229, -0.6287193894386292, -0.14267554879188538, -0.9271652102470398, 0.27557042241096497, 0.06783422827720642, -0.3223890960216522, 0.2842439115047455, 0.5106527209281921, -0.7899537682533264, 0.12046845257282257, 0.4780060648918152, -0.5627663731575012, 0.38429009914398193, 0.003936850465834141, 0.08460447192192078, -1.3729569911956787, 0.400529682636261, 0.09623757749795914, -0.093228779733181, -0.5307217240333557, 0.2782057225704193, -0.24380667507648468, -0.11450029164552689, -0.4943947196006775, 0.5554361343383789, -0.32964950799942017, 0.10644862800836563, 0.2874141037464142, 0.20558172464370728, 0.13601291179656982, 0.5718070864677429, -0.15348654985427856, 1.1693018674850464, 0.6664775609970093, -0.4125998616218567, 0.5453771948814392, 0.5486193299293518, -0.5156731009483337, 0.4370276629924774, -1.013096570968628, 0.1635432243347168, -0.11031677573919296, 0.1819251924753189, -0.9170385003089905, -0.2778092622756958, 0.16065239906311035, -0.6519650816917419, 0.29337888956069946, 0.030049938708543777, -0.75733882188797, -0.4608878791332245, -0.4862968325614929, 0.22775357961654663, 0.7775819897651672, -0.35351845622062683, 0.26229220628738403, 0.39554405212402344, -0.1619478464126587, -0.6240992546081543, -0.8201806545257568, 0.10901802778244019, -0.21234412491321564, -0.8014026284217834, 0.3384139835834503, -0.149965301156044, -0.09723913669586182, 0.14329253137111664, 0.1210353672504425, -0.421940416097641, 0.21739886701107025, 0.025218402966856956, 0.4396914541721344, -0.4892105460166931, 0.4000662863254547, -0.2542336881160736, -0.13060714304447174, -0.050365958362817764, -0.1647045910358429, 0.6661802530288696, -0.7542244791984558, -0.013679027557373047, -0.5379487872123718, 0.48841217160224915, 0.4337228536605835, -0.2976980209350586, 0.8675951957702637, 0.832855224609375, -0.3410167694091797, 0.12248820811510086, -0.6810910701751709, -0.3376917541027069, -0.5013468265533447, 0.4329276978969574, -0.22019639611244202, -1.0540910959243774, 0.6274996995925903, 0.44172003865242004, 0.02966035157442093, 0.8756056427955627, 0.3617064952850342, -0.568546712398529, 0.9714359045028687, 0.5744086503982544, -0.18436162173748016, 0.32066893577575684, -0.689839780330658, -0.15738627314567566, -0.8077404499053955, -0.2201744168996811, -0.44779738783836365, -0.5284783840179443, -0.7671285271644592, -0.31052425503730774, 0.28710049390792847, 0.06041862070560455, -0.604178786277771, 0.5358976721763611, -0.6011862754821777, 0.5100045800209045, 0.7141768336296082, 0.31382182240486145, -0.07998288422822952, 0.07563570141792297, 0.12036693841218948, 0.06416470557451248, -0.841353714466095, -0.3940955698490143, 0.990842878818512, 0.09931449592113495, 0.3693913221359253, 0.11847785115242004, 0.8039320707321167, 0.2117632031440735, -0.11654865741729736, -0.5071190595626831, 0.6799959540367126, -0.17520935833454132, -0.9036650657653809, -0.6329440474510193, -0.4764851927757263, -1.1499536037445068, -0.01663401909172535, -0.2556070387363434, -0.6218209862709045, 0.2723843455314636, -0.017101215198636055, -0.5158316493034363, 0.20794619619846344, -0.8033965229988098, 0.9367552399635315, -0.20393799245357513, -0.20075052976608276, -0.15754152834415436, -0.8649421334266663, 0.11962024867534637, 0.09136734902858734, 0.0017682744655758142, -0.16515666246414185, 0.012091795913875103, 0.8398981690406799, -0.4757080078125, 0.9967047572135925, -0.18083977699279785, -0.0581357441842556, 0.2827310264110565, -0.011728327721357346, 0.37320777773857117, 0.14440621435642242, -0.35517042875289917, 0.2224309891462326, 0.13209767639636993, -0.6004027128219604, -0.48216986656188965, 0.6423063278198242, -0.951420247554779, -0.4940066635608673, -0.30558958649635315, -0.3268984854221344, -0.20113727450370789, 0.3719698488712311, 0.3417375683784485, 0.30642634630203247, -0.33125069737434387, 0.3787456452846527, 0.7531247138977051, -0.29870831966400146, 0.4071345329284668, 0.49868738651275635, -0.007365452125668526, -0.3687315285205841, 0.8225085735321045, -0.004375132266432047, 0.12995252013206482, 0.412020742893219, 0.03546638786792755, -0.2925897240638733, -0.3083232045173645, -0.5174767971038818, 0.36613455414772034, -0.6075848340988159, -0.2918553352355957, -0.4555109441280365, -0.48360130190849304, -0.5361208319664001, -0.06726135313510895, -0.3396923243999481, -0.5456625819206238, -0.34463244676589966, -0.23911219835281372, 0.5907632112503052, 0.517555296421051, -0.10667484998703003, 0.09737996011972427, -0.5364721417427063, 0.2594135105609894, 0.5506263971328735, 0.4354272782802582, -0.16313320398330688, -0.44700369238853455, -0.2782260477542877, 0.4401579201221466, 0.0837012380361557, -0.6356984972953796, 0.12561875581741333, 0.227239191532135, 0.40595898032188416, 0.014097865670919418, 0.010768318548798561, 0.5095016956329346, -0.43993690609931946, 0.8118938207626343, 0.10768420994281769, -0.651005744934082, 0.5812125205993652, -0.33006033301353455, 0.4669063687324524, 1.1285762786865234, 0.3915194272994995, -0.8037175536155701, -0.23457840085029602, -0.8111864328384399, -0.8971166610717773, 0.6422713398933411, 0.34513071179389954, 0.31892871856689453, -0.0580156035721302, 0.3694525361061096, -0.04784724861383438, 0.22402924299240112, -0.5245926976203918, -0.398581326007843, -0.07291697710752487, -0.19635461270809174, -0.16611529886722565, -0.17818735539913177, -0.18120427429676056, -0.4633372128009796, 0.9300987720489502, -0.04515396058559418, 0.2567121982574463, 0.19929181039333344, -0.09187208861112595, 0.23806700110435486, 0.1418239325284958, 0.5016969442367554, 0.792280912399292, -0.31217673420906067, -0.1626352220773697, 0.3757811486721039, -0.3462749123573303, -0.05479343608021736, 0.4327128231525421, -0.5264642238616943, 0.03221050649881363, 0.5195268392562866, 0.808731734752655, 0.03493437543511391, -0.6914340257644653, 0.6682438254356384, -0.1223340630531311, -0.35734301805496216, -0.5349942445755005, 0.16712123155593872, 0.3046407401561737, 0.37636491656303406, 0.39917320013046265, -0.2893763780593872, 0.12397314608097076, -0.3798784911632538, 0.2121795266866684, 0.4555865228176117, -0.5649632215499878, -0.1848389208316803, 0.381084680557251, 0.24504150450229645, -0.30272936820983887, 0.8548709154129028, -0.2175656408071518, -0.672724187374115, 0.8825641870498657, 0.20609453320503235, 0.8643684387207031, 0.056438639760017395, 0.4940539300441742, 0.5128353238105774, 0.32991984486579895, 0.18908177316188812, 0.38609686493873596, 0.12693160772323608, -0.7298730611801147, -0.38351109623908997, -0.4593941569328308, -0.13936756551265717, 0.3469354510307312, -0.7107024788856506, 0.07277495414018631, -0.3163771331310272, -0.023502910509705544, 0.07746680080890656, 0.28942981362342834, -0.9925491809844971, 0.3481673002243042, 0.05837180092930794, 1.010952115058899, -0.6076920628547668, 0.4896964728832245, 0.8093760013580322, -0.7369438409805298, -0.7971020340919495, -0.10177357494831085, -0.2860046625137329, -1.1641738414764404, 0.40503814816474915, 0.28559815883636475, -0.0648929551243782, 0.14576146006584167, -0.9059102535247803, -0.8147283792495728, 1.27901291847229, 0.26013389229774475, -0.3496149480342865, -0.24768002331256866, 0.01084395032376051, 0.6157646775245667, -0.18348528444766998, 0.12797750532627106, 0.6187565326690674, 0.5533959269523621, 0.02346307784318924, -0.8295759558677673, 0.27450403571128845, -0.5820179581642151, -0.10286211222410202, -0.012599386274814606, -0.7959919571876526, 0.6585941314697266, -0.15736421942710876, -0.3601025640964508, 0.11541952937841415, 0.48340293765068054, 0.1566450297832489, -0.007130607031285763, 0.510520339012146, 0.6297367215156555, 0.8614246845245361, -0.0437723807990551, 1.1268528699874878, -0.21982808411121368, 0.4253195524215698, 1.2140839099884033, -0.14776811003684998, 0.9135546684265137, 0.29653725028038025, -0.34172144532203674, 0.6635547280311584, 0.6421783566474915, -0.34335795044898987, 0.39877137541770935, 0.08555731922388077, -0.11889730393886566, -0.5186271071434021, 0.041573841124773026, -0.7325337529182434, 0.4600045084953308, 0.07473006844520569, -0.1524101346731186, -0.23647922277450562, -0.3078784644603729, 0.11313284188508987, 0.06101055070757866, 0.08779110759496689, 0.880460798740387, -0.11008256673812866, -0.62568199634552, 0.8810322880744934, -0.12284762412309647, 0.6687352061271667, -0.5871740579605103, 0.052454058080911636, -0.4979732036590576, 0.05161355063319206, -0.03652649000287056, -1.1021491289138794, 0.0395977683365345, -0.09351685643196106, -0.29036998748779297, -0.15462002158164978, 0.5198796987533569, -0.46403563022613525, -0.8996389508247375, 0.17385806143283844, 0.7517989873886108, 0.21530640125274658, -0.06266133487224579, -0.9877095222473145, -0.2821803689002991, 0.00391251128166914, -0.258307546377182, 0.17179924249649048, 0.4617242217063904, 0.23554235696792603, 0.6428954601287842, 0.592580258846283, -0.016957728192210197, -0.21239107847213745, 0.05543925613164902, 0.9836320877075195, -0.6806029081344604, -0.2742331326007843, -0.8537582755088806, 0.5372473001480103, -0.44744694232940674, -0.488232284784317, 0.6541179418563843, 0.7305911779403687, 0.9423942565917969, -0.052116669714450836, 0.7335136532783508, -0.16622784733772278, 0.5966965556144714, -0.3793167173862457, 0.9866141080856323, -0.7716439366340637, 0.033366985619068146, -0.13232019543647766, -0.611237108707428, -0.13983601331710815, 0.7024115324020386, -0.10072341561317444, 0.25570228695869446, 0.5613678097724915, 0.8163301348686218, -0.0026258043944835663, -0.26768574118614197, 0.026919947937130928, 0.3473997116088867, 0.13878494501113892, 0.939344584941864, 0.7150721549987793, -0.7201380133628845, 0.7199105024337769, -0.38565778732299805, -0.014631146565079689, -0.21983791887760162, -0.5506948232650757, -0.9073992967605591, -0.6932533383369446, -0.30894505977630615, -0.5787721276283264, 0.07826292514801025, 0.6672129034996033, 0.7805072665214539, -0.8949944972991943, -0.2801920771598816, 0.012817301787436008, 0.17100399732589722, -0.2349749654531479, -0.27494966983795166, 0.606015145778656, -0.14613446593284607, -0.5120853185653687, 0.30183160305023193, -0.07391369342803955, 0.1267913430929184, -0.19259344041347504, -0.08042322844266891, -0.6162723302841187, -0.1944195032119751, 0.5052467584609985, 0.4045765697956085, -0.5045775175094604, -0.15285798907279968, 0.3534454107284546, -0.3202262818813324, 0.068722203373909, 0.2338564097881317, -0.8758705258369446, 0.14788013696670532, 0.43637529015541077, 0.7343516945838928, 0.7564629316329956, -0.055038612335920334, 0.6278589963912964, -0.7070369720458984, 0.14255426824092865, 0.4417817294597626, 0.20280291140079498, 0.4548669755458832, -0.4477585256099701, 0.7981752157211304, 0.025123242288827896, -0.35324808955192566, -0.6859296560287476, -0.0056722210720181465, -0.8118850588798523, -0.36621221899986267, 1.171370506286621, 0.0011725119547918439, -0.10925594717264175, 0.23803891241550446, -0.11765378713607788, 0.1639486700296402, -0.4017625153064728, 0.7176214456558228, 0.7722822427749634, 0.16280700266361237, 0.017958272248506546, -0.5625013113021851, 0.4410569965839386, 0.5106301307678223, -0.9427134394645691, -0.10324695706367493, 0.5883540511131287, 0.28123828768730164, 0.13323235511779785, 0.6153062582015991, 0.1575118452310562, 0.5584706664085388, -0.3118313252925873, 0.12005053460597992, -0.04536052048206329, -0.01696040667593479, -0.31076517701148987, 0.00016355262778233737, -0.25070491433143616, -0.25362154841423035 ]
pucpr/biobertpt-all
pucpr
2022-11-27T16:54:34Z
6,982
13
transformers
[ "transformers", "pytorch", "tf", "jax", "bert", "fill-mask", "pt", "autotrain_compatible", "endpoints_compatible", "region:us" ]
fill-mask
2022-03-02T23:29:05Z
--- language: "pt" widget: - text: "O paciente recebeu [MASK] do hospital." - text: "O médico receitou a medicação para controlar a [MASK]." - text: "O principal [MASK] da COVID-19 é tosse seca." - text: "O vírus da gripe apresenta um [MASK] constituído por segmentos de ácido ribonucleico." thumbnail: "https://raw.githubusercontent.com/HAILab-PUCPR/BioBERTpt/master/images/logo-biobertpr1.png" --- <img src="https://raw.githubusercontent.com/HAILab-PUCPR/BioBERTpt/master/images/logo-biobertpr1.png" alt="Logo BioBERTpt"> # BioBERTpt - Portuguese Clinical and Biomedical BERT The [BioBERTpt - A Portuguese Neural Language Model for Clinical Named Entity Recognition](https://www.aclweb.org/anthology/2020.clinicalnlp-1.7/) paper contains clinical and biomedical BERT-based models for Portuguese Language, initialized with BERT-Multilingual-Cased & trained on clinical notes and biomedical literature. This model card describes the BioBERTpt(all) model, a full version with clinical narratives and biomedical literature in Portuguese language. ## How to use the model Load the model via the transformers library: ``` from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("pucpr/biobertpt-all") model = AutoModel.from_pretrained("pucpr/biobertpt-all") ``` ## More Information Refer to the original paper, [BioBERTpt - A Portuguese Neural Language Model for Clinical Named Entity Recognition](https://www.aclweb.org/anthology/2020.clinicalnlp-1.7/) for additional details and performance on Portuguese NER tasks. ## Acknowledgements This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brasil (CAPES) - Finance Code 001. ## Citation ``` @inproceedings{schneider-etal-2020-biobertpt, title = "{B}io{BERT}pt - A {P}ortuguese Neural Language Model for Clinical Named Entity Recognition", author = "Schneider, Elisa Terumi Rubel and de Souza, Jo{\~a}o Vitor Andrioli and Knafou, Julien and Oliveira, Lucas Emanuel Silva e and Copara, Jenny and Gumiel, Yohan Bonescki and Oliveira, Lucas Ferro Antunes de and Paraiso, Emerson Cabrera and Teodoro, Douglas and Barra, Cl{\'a}udia Maria Cabral Moro", booktitle = "Proceedings of the 3rd Clinical Natural Language Processing Workshop", month = nov, year = "2020", address = "Online", publisher = "Association for Computational Linguistics", url = "https://www.aclweb.org/anthology/2020.clinicalnlp-1.7", pages = "65--72", abstract = "With the growing number of electronic health record data, clinical NLP tasks have become increasingly relevant to unlock valuable information from unstructured clinical text. Although the performance of downstream NLP tasks, such as named-entity recognition (NER), in English corpus has recently improved by contextualised language models, less research is available for clinical texts in low resource languages. Our goal is to assess a deep contextual embedding model for Portuguese, so called BioBERTpt, to support clinical and biomedical NER. We transfer learned information encoded in a multilingual-BERT model to a corpora of clinical narratives and biomedical-scientific papers in Brazilian Portuguese. To evaluate the performance of BioBERTpt, we ran NER experiments on two annotated corpora containing clinical narratives and compared the results with existing BERT models. Our in-domain model outperformed the baseline model in F1-score by 2.72{\%}, achieving higher performance in 11 out of 13 assessed entities. We demonstrate that enriching contextual embedding models with domain literature can play an important role in improving performance for specific NLP tasks. The transfer learning process enhanced the Portuguese biomedical NER model by reducing the necessity of labeled data and the demand for retraining a whole new model.", } ``` ## Questions? Post a Github issue on the [BioBERTpt repo](https://github.com/HAILab-PUCPR/BioBERTpt).
[ -0.11352047324180603, -0.5587380528450012, 0.5376771092414856, 0.328412264585495, -0.420093297958374, -0.0022708254400640726, -0.38344287872314453, -0.7915979623794556, 0.3896462619304657, 0.3991604149341583, -0.180402010679245, -0.729110836982727, -0.7613242864608765, 0.23932316899299622, -0.08058023452758789, 1.1896010637283325, -0.14773672819137573, 0.5696819424629211, -0.21336738765239716, -0.29708290100097656, -0.3625354468822479, -0.729341983795166, -0.8195671439170837, -0.4152687191963196, 0.5365948677062988, -0.23338967561721802, 0.26365208625793457, 0.40728381276130676, 0.5578243136405945, 0.2155013382434845, -0.19135208427906036, 0.06187267228960991, -0.16072744131088257, 0.1529027819633484, -0.12250695377588272, -0.18968863785266876, -0.599543035030365, -0.3358036279678345, 0.746134877204895, 0.7322463989257812, 0.01931776851415634, -0.09606707841157913, 0.18539521098136902, 0.37820836901664734, -0.29370900988578796, 0.38828498125076294, -0.4733808636665344, -0.048450108617544174, 0.19317179918289185, -0.15901581943035126, -0.5280559659004211, -0.35411983728408813, 0.6145749688148499, -0.2810475528240204, 0.28786221146583557, -0.3350769579410553, 1.0729577541351318, 0.1406489461660385, -0.37248486280441284, -0.2818639278411865, -0.5340338349342346, 0.5632898807525635, -0.7227540016174316, 0.642004668712616, 0.19453296065330505, 0.053684838116168976, -0.09827517718076706, -0.8771741390228271, -0.4427616000175476, -0.41597822308540344, -0.25860869884490967, 0.02993166446685791, -0.4151698648929596, 0.055359117686748505, 0.13920480012893677, -0.20606452226638794, -0.6635465621948242, 0.0547371432185173, -0.6141185760498047, -0.4977750778198242, 0.3879602551460266, -0.17062294483184814, 0.23745496571063995, -0.34119170904159546, -0.48685532808303833, -0.08064614236354828, -0.744007408618927, -0.024711936712265015, -0.24024972319602966, 0.27427396178245544, -0.24895767867565155, 0.1692090928554535, 0.3846586048603058, 0.7495689988136292, -0.18416331708431244, -0.10280034691095352, 0.6589184403419495, -0.15055228769779205, -0.24889059364795685, 0.3719117045402527, 0.9138619899749756, 0.07635819166898727, 0.2590436637401581, -0.22915711998939514, 0.059098683297634125, -0.21143265068531036, 0.3213638365268707, -0.9090571999549866, -0.3548191785812378, 0.4279537796974182, -0.41983839869499207, 0.024535395205020905, -0.2726641297340393, -0.5780373215675354, -0.22870881855487823, -0.31122320890426636, 0.308607280254364, -1.0224542617797852, 0.15272967517375946, -0.04584372416138649, 0.08263520896434784, 0.23389171063899994, 0.41318896412849426, -0.7215838432312012, 0.1169513538479805, 0.36750438809394836, 0.6600922346115112, -0.12477453052997589, -0.1351381093263626, -0.39168304204940796, 0.059478819370269775, 0.14418186247348785, 0.781200110912323, -0.2226376235485077, -0.27980244159698486, -0.05187748000025749, 0.4324929416179657, -0.3061627149581909, -0.2907407283782959, 0.6075993776321411, -0.4576823115348816, 0.1612263321876526, -0.15192586183547974, -0.5989994406700134, -0.2758004665374756, 0.1205310970544815, -0.4595875144004822, 0.7109600901603699, -0.0461435504257679, -0.6527619957923889, 0.3388133645057678, -0.4004814922809601, -0.5924251079559326, 0.29033350944519043, -0.3065660297870636, -0.37277013063430786, -0.13209928572177887, 0.2992423176765442, 0.6656127572059631, -0.10350838303565979, 0.5809174180030823, -0.13659928739070892, -0.063084177672863, 0.24549457430839539, -0.3026044964790344, 0.951217532157898, 0.058658622205257416, -0.2409568428993225, -0.13838018476963043, -0.880825400352478, 0.09206558763980865, 0.07040224224328995, -0.4625147581100464, -0.46678805351257324, 0.051470011472702026, 0.23811689019203186, 0.23171304166316986, 0.39556634426116943, -0.6747125387191772, 0.2002437710762024, -0.6666592955589294, 0.6439417004585266, 0.2725483179092407, 0.020862679928541183, 0.3340250849723816, -0.1213826835155487, 0.3811635971069336, 0.008231932297348976, -0.11145126819610596, -0.0732993334531784, -0.6074800491333008, -0.6150510907173157, -0.6035109758377075, 0.8192847967147827, 0.7663353085517883, -0.7107324004173279, 0.5571455359458923, -0.4054790437221527, -0.6098955273628235, -0.7688508629798889, -0.15050365030765533, 0.5554831624031067, 0.8046284914016724, 0.9148656725883484, -0.43106141686439514, -0.5496149659156799, -1.067628026008606, 0.008937886916100979, -0.11487998813390732, -0.09286533296108246, 0.4854833483695984, 0.6592859625816345, -0.5738118290901184, 0.6692284941673279, -0.34576883912086487, -0.4514425992965698, -0.3213314116001129, 0.24514156579971313, 0.3999854028224945, 0.6851345896720886, 0.6828526258468628, -0.46464112401008606, -0.404774010181427, -0.08044838160276413, -0.8119535446166992, -0.12593522667884827, -0.07487607002258301, 0.12370049953460693, 0.36051279306411743, 0.3510965406894684, -0.4370729327201843, 0.3538064956665039, 0.45170408487319946, -0.19871290028095245, 0.19891349971294403, -0.6762004494667053, -0.07402106374502182, -1.0969433784484863, 0.33184128999710083, -0.10184551775455475, -0.2616499066352844, -0.6497269868850708, -0.13966017961502075, 0.26970547437667847, 0.062432050704956055, -0.6648457050323486, 0.7247937321662903, -0.5353721380233765, 0.32805970311164856, 0.05090492591261864, 0.18992111086845398, -0.00812755897641182, 0.5099544525146484, 0.5603556632995605, 0.3296053111553192, 0.5945453643798828, -0.6617031097412109, 0.02913239225745201, 0.6489808559417725, -0.21565164625644684, 0.3952575623989105, -0.9638436436653137, 0.022683609277009964, -0.299716055393219, 0.3984875977039337, -0.7851059436798096, 0.0030976692214608192, 0.2277475893497467, -0.6485447287559509, 0.6931765675544739, -0.31101688742637634, -0.4977826476097107, -0.1474204659461975, -0.026156315580010414, 0.2669382691383362, 0.5176595449447632, -0.42197245359420776, 0.4921717047691345, 0.41840842366218567, -0.29407569766044617, -0.6504829525947571, -0.9050230383872986, 0.04172833636403084, 0.05482595041394234, -0.5168564915657043, 0.8669769167900085, 0.10623321682214737, 0.39010709524154663, -0.0854686051607132, 0.27455541491508484, -0.2590312957763672, -0.12986931204795837, 0.0843278020620346, 0.3524084985256195, -0.302659809589386, 0.5994874238967896, 0.3801364004611969, -0.13344094157218933, 0.07128111273050308, -0.10185584425926208, 0.6214113235473633, -0.20541583001613617, -0.03898574784398079, -0.2888357639312744, 0.27815133333206177, 0.30593839287757874, -0.29204973578453064, 0.9971707463264465, 0.7434350252151489, -0.61164790391922, 0.10269084572792053, -0.4684309959411621, -0.20637933909893036, -0.3534983694553375, 0.3604191839694977, -0.0025939184706658125, -0.82107013463974, 0.49931034445762634, 0.02571377344429493, -0.1596372127532959, 0.5941360592842102, 0.7664353251457214, -0.20723292231559753, 0.7298036217689514, 0.43520623445510864, 0.1081795021891594, 0.1738785356283188, -0.252702534198761, 0.21653209626674652, -1.0188140869140625, -0.25957295298576355, -0.4859810769557953, -0.18631671369075775, -0.7714147567749023, -0.3497852683067322, 0.4257871210575104, 0.07265188544988632, -0.1229785680770874, 0.7769015431404114, -0.790028989315033, -0.017093384638428688, 0.4129544794559479, 0.33987146615982056, 0.20153865218162537, 0.040220197290182114, -0.6487977504730225, -0.3704735040664673, -0.7706593871116638, -0.6844378709793091, 1.0019530057907104, 0.4082264304161072, 0.3094109892845154, 0.1631091684103012, 0.8798559904098511, -0.018312858417630196, 0.5121259689331055, -0.5349763631820679, 0.5064917802810669, -0.19043117761611938, -0.5324962735176086, -0.030696509405970573, -0.11008701473474503, -1.5318011045455933, 0.21694032847881317, -0.5014264583587646, -1.0000522136688232, 0.5993258953094482, 0.12262988835573196, -0.6364320516586304, 0.018674911931157112, -0.4756692051887512, 0.9249848127365112, -0.46986591815948486, -0.3103882670402527, 0.06813051551580429, -0.9300884008407593, -0.08790989220142365, -0.09534429758787155, 0.0688512846827507, 0.0789715126156807, -0.04463740438222885, 0.804570734500885, -0.27583959698677063, 0.886278510093689, -0.06343365460634232, 0.043057236820459366, 0.14867807924747467, -0.07979719340801239, 0.3033876121044159, 0.2581874132156372, 0.051129620522260666, 0.5958985090255737, 0.40930473804473877, -0.1436489224433899, -0.20855750143527985, 0.7035462856292725, -0.7293564081192017, -0.18757836520671844, -0.7573785781860352, -0.11261744052171707, -0.10226128995418549, 0.3131468892097473, 0.4839824140071869, 0.4705265164375305, -0.41896870732307434, 0.244259774684906, 0.6110051274299622, -0.8605030179023743, 0.2521456778049469, 0.8413397073745728, 0.05406138673424721, -0.4154268205165863, 0.7454425096511841, 0.0664181187748909, 0.03260853514075279, 0.6622974276542664, -0.11049550026655197, -0.39029407501220703, -0.6446484923362732, -0.3336111009120941, 0.6179219484329224, -0.7040245532989502, -0.18043719232082367, -1.1373555660247803, -0.4266107976436615, -0.6092398166656494, -0.1574498862028122, -0.21350644528865814, -0.3994171917438507, -0.6090607047080994, 0.0003433015081100166, 0.31845399737358093, 0.15890301764011383, -0.18083952367305756, 0.19133184850215912, -1.1328133344650269, 0.0021346283610910177, -0.1921883225440979, 0.12788963317871094, -0.11749227344989777, -0.616895318031311, -0.10577117651700974, 0.012694508768618107, -0.3324313759803772, -1.136664628982544, 1.053916335105896, 0.24233148992061615, 0.7035397291183472, 0.16141490638256073, -0.19434446096420288, 0.4277194142341614, -0.830713152885437, 0.5237993001937866, -0.03456620126962662, -0.6580601334571838, 0.7210956811904907, -0.2609908878803253, 0.23276236653327942, 0.8036140203475952, 0.8429687023162842, -0.42367860674858093, -0.20628979802131653, -1.028250813484192, -1.0801860094070435, 0.4339558184146881, 0.19345395267009735, 0.07171414792537689, -0.32998761534690857, 0.2986900210380554, -0.04312730208039284, 0.33721721172332764, -1.0623869895935059, -0.2912690043449402, 0.16632762551307678, -0.221682608127594, -0.021981896832585335, -0.21462184190750122, 0.033725544810295105, -0.6063342094421387, 0.6645594835281372, -0.05706796422600746, 0.9873574376106262, 0.6710407137870789, -0.2939976453781128, 0.236121267080307, 0.3817853331565857, 0.7323201298713684, 0.34059104323387146, -0.39885595440864563, -0.04906826838850975, 0.3390233516693115, -0.5040398836135864, -0.25575071573257446, 0.6554672718048096, -0.0782051533460617, 0.31618574261665344, 0.6697093844413757, 0.6891013383865356, 0.4485398828983307, -0.7659059166908264, 0.4980146884918213, -0.07378875464200974, -0.1553734838962555, -0.5193858742713928, -0.1829175055027008, 0.11681055277585983, 0.23004768788814545, 0.0018517463468015194, 0.052161991596221924, 0.14451450109481812, -0.29167965054512024, 0.302822083234787, 0.34557396173477173, -0.649726152420044, -0.22925473749637604, 0.8498187065124512, 0.15223616361618042, -0.3228306770324707, 0.7658429145812988, -0.1167450025677681, -0.620154619216919, 0.6392304301261902, 0.5120127201080322, 0.7294226288795471, -0.21486935019493103, 0.21366481482982635, 0.7332391142845154, 0.29758432507514954, 0.054676540195941925, 0.34142863750457764, -0.0032137432135641575, -0.8907064199447632, -0.346429705619812, -0.7684345245361328, -0.23004814982414246, 0.13003499805927277, -0.5327298045158386, 0.46517816185951233, -0.34934383630752563, -0.30942073464393616, 0.27927282452583313, -0.3630782961845398, -0.8305840492248535, 0.21878139674663544, 0.281188428401947, 0.6037801504135132, -0.4535031020641327, 1.1392300128936768, 0.6940200328826904, -0.6234200596809387, -0.6447456479072571, -0.3398393392562866, -0.3364986777305603, -0.9319982528686523, 0.9147629737854004, 0.0776263177394867, 0.476617693901062, -0.06496161967515945, -0.38593539595603943, -0.9556207656860352, 1.0226351022720337, 0.29411616921424866, -0.5863208174705505, -0.2187458872795105, 0.15792296826839447, 1.2087268829345703, -0.40092265605926514, 0.4684854745864868, 0.338517427444458, 0.4120362401008606, 0.08863043785095215, -0.9661930203437805, 0.1534697711467743, -0.20888908207416534, -0.23323330283164978, 0.16397298872470856, -0.40057864785194397, 0.7452924251556396, -0.3627699911594391, -0.09215212613344193, 0.0011792767327278852, 0.4644082188606262, 0.3949456512928009, 0.13048474490642548, 0.028821077197790146, 0.4043189287185669, 0.7008335590362549, -0.09616924077272415, 1.2109458446502686, -0.5994241237640381, 0.4722607135772705, 1.1702344417572021, -0.24548691511154175, 0.929295003414154, 0.3584558665752411, -0.18857668340206146, 0.8144204616546631, 0.5317566394805908, -0.3172607719898224, 0.5422989130020142, 0.1811419576406479, -0.1432010531425476, -0.06010514870285988, -0.038837652653455734, -0.5649145245552063, 0.5112712383270264, 0.5126833319664001, -1.0342031717300415, -0.15191209316253662, 0.055351920425891876, 0.25779202580451965, -0.2577518820762634, 0.11509079486131668, 0.5660020112991333, 0.3150783181190491, -0.7775312066078186, 0.8793639540672302, 0.02230103872716427, 0.40601885318756104, -0.6548230051994324, -0.15537525713443756, 0.1191403865814209, 0.3509224057197571, 0.004239548463374376, -0.5401520729064941, 0.3228338658809662, -0.1792684942483902, 0.112145334482193, -0.27913379669189453, 0.7643327713012695, -0.5712782740592957, -0.6047408580780029, 0.6082612872123718, 0.5312246084213257, 0.34785354137420654, 0.24228303134441376, -1.0039398670196533, -0.3122899532318115, -0.035451240837574005, -0.09699908643960953, 0.4207194447517395, 0.26644816994667053, 0.022172994911670685, 0.49347448348999023, 0.5084570646286011, 0.31121841073036194, -0.3170401155948639, 0.04425666108727455, 0.641802966594696, -0.5371060371398926, -0.33143454790115356, -0.8840530514717102, 0.45791131258010864, -0.08580850064754486, -0.46138882637023926, 0.4053933620452881, 0.4267205595970154, 0.6383121609687805, -0.2979605197906494, 0.5430086851119995, -0.0940241664648056, 0.6003786325454712, -0.2886345386505127, 0.9754339456558228, -0.5335134267807007, 0.24273189902305603, -0.5107023119926453, -0.5520926117897034, -0.5348851680755615, 0.8698047995567322, -0.3263431489467621, 0.004210215527564287, 0.9204196333885193, 0.5523360967636108, 0.216229647397995, -0.21251755952835083, 0.19365037977695465, 0.48426786065101624, 0.2186877429485321, 0.8547689914703369, 0.2761414647102356, -0.5763521194458008, 0.2236560583114624, -0.1597980558872223, -0.17104777693748474, -0.17529815435409546, -1.0957818031311035, -0.9691999554634094, -0.5517598986625671, -0.4697306752204895, -0.5267356634140015, 0.1962715983390808, 1.172960638999939, 0.40256574749946594, -1.0291378498077393, 0.12854447960853577, 0.10389774292707443, -0.07532826066017151, -0.19601039588451385, -0.15775659680366516, 0.697490394115448, -0.08539745211601257, -0.532502293586731, 0.3333895206451416, 0.14812909066677094, 0.16683131456375122, -0.05234360694885254, 0.16751445829868317, -0.544306755065918, -0.04061198979616165, 0.6887649893760681, 0.428623229265213, -0.6070965528488159, -0.12014948576688766, 0.024399839341640472, -0.29481980204582214, 0.2561207115650177, 0.5095146298408508, -1.1307913064956665, 0.3449225425720215, 0.4845595955848694, 0.6491552591323853, 0.5803155899047852, -0.49528276920318604, 0.5135165452957153, -0.6652785539627075, 0.09920965880155563, 0.5492112636566162, 0.6892670392990112, 0.2889876663684845, -0.4143560826778412, 0.6309072375297546, 0.3204766511917114, -0.55230313539505, -0.6569209098815918, -0.24456825852394104, -1.2732566595077515, -0.23694148659706116, 1.1643030643463135, -0.07942237704992294, -0.12713050842285156, -0.10949638485908508, -0.19337056577205658, 0.4061276316642761, -0.4572155177593231, 0.634707510471344, 0.5057140588760376, -0.18999579548835754, -0.057050976902246475, -0.717265784740448, 0.46560975909233093, 0.3940824866294861, -0.6331053972244263, -0.4377634823322296, 0.26972678303718567, 0.34316977858543396, 0.31774240732192993, 0.7885247468948364, -0.2570064961910248, 0.2065773904323578, -0.5774387121200562, 0.4435170292854309, 0.2604150176048279, -0.14851823449134827, -0.3628397285938263, 0.03050452470779419, -0.314072847366333, 0.18007135391235352 ]