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
anton-l/wav2vec2-random-tiny-classifier
anton-l
2021-08-31T14:27:40Z
15,881
2
transformers
[ "transformers", "pytorch", "wav2vec2", "audio-classification", "endpoints_compatible", "region:us" ]
audio-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 ]
trl-internal-testing/tiny-random-BloomForCausalLM
trl-internal-testing
2022-12-20T10:32:57Z
15,881
0
transformers
[ "transformers", "pytorch", "bloom", "text-generation", "endpoints_compatible", "text-generation-inference", "region:us" ]
text-generation
2022-12-20T10:32:48Z
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 ]
trl-internal-testing/tiny-random-CodeGenForCausalLM-sharded
trl-internal-testing
2023-01-19T10:21:54Z
15,873
0
transformers
[ "transformers", "pytorch", "codegen", "text-generation", "endpoints_compatible", "region:us" ]
text-generation
2023-01-19T10:21:50Z
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 ]
VoVanPhuc/sup-SimCSE-VietNamese-phobert-base
VoVanPhuc
2023-05-24T08:47:42Z
15,865
9
transformers
[ "transformers", "pytorch", "roberta", "sentence-similarity", "vi", "arxiv:2104.08821", "endpoints_compatible", "region:us" ]
sentence-similarity
2022-03-02T23:29:05Z
--- language: - vi pipeline_tag: sentence-similarity --- #### Table of contents 1. [Introduction](#introduction) 2. [Pretrain model](#models) 3. [Using SimeCSE_Vietnamese with `sentences-transformers`](#sentences-transformers) - [Installation](#install1) - [Example usage](#usage1) 4. [Using SimeCSE_Vietnamese with `transformers`](#transformers) - [Installation](#install2) - [Example usage](#usage2) # <a name="introduction"></a> SimeCSE_Vietnamese: Simple Contrastive Learning of Sentence Embeddings with Vietnamese Pre-trained SimeCSE_Vietnamese models are the state-of-the-art of Sentence Embeddings with Vietnamese : - SimeCSE_Vietnamese pre-training approach is based on [SimCSE](https://arxiv.org/abs/2104.08821) which optimizes the SimeCSE_Vietnamese pre-training procedure for more robust performance. - SimeCSE_Vietnamese encode input sentences using a pre-trained language model such as [PhoBert](https://www.aclweb.org/anthology/2020.findings-emnlp.92/) - SimeCSE_Vietnamese works with both unlabeled and labeled data. ## Pre-trained models <a name="models"></a> Model | #params | Arch. ---|---|--- [`VoVanPhuc/sup-SimCSE-VietNamese-phobert-base`](https://huggingface.co/VoVanPhuc/sup-SimCSE-VietNamese-phobert-base) | 135M | base [`VoVanPhuc/unsup-SimCSE-VietNamese-phobert-base`](https://huggingface.co/VoVanPhuc/unsup-SimCSE-VietNamese-phobert-base) | 135M | base ## <a name="sentences-transformers"></a> Using SimeCSE_Vietnamese with `sentences-transformers` ### Installation <a name="install1"></a> - Install `sentence-transformers`: - `pip install -U sentence-transformers` - Install `pyvi` to word segment: - `pip install pyvi` ### Example usage <a name="usage1"></a> ```python from sentence_transformers import SentenceTransformer from pyvi.ViTokenizer import tokenize model = SentenceTransformer('VoVanPhuc/sup-SimCSE-VietNamese-phobert-base') sentences = ['Kẻ đánh bom đinh tồi tệ nhất nước Anh.', 'Nghệ sĩ làm thiện nguyện - minh bạch là việc cấp thiết.', 'Bắc Giang tăng khả năng điều trị và xét nghiệm.', 'HLV futsal Việt Nam tiết lộ lý do hạ Lebanon.', 'việc quan trọng khi kêu gọi quyên góp từ thiện là phải minh bạch, giải ngân kịp thời.', '20% bệnh nhân Covid-19 có thể nhanh chóng trở nặng.', 'Thái Lan thua giao hữu trước vòng loại World Cup.', 'Cựu tuyển thủ Nguyễn Bảo Quân: May mắn ủng hộ futsal Việt Nam', 'Chủ ki-ốt bị đâm chết trong chợ đầu mối lớn nhất Thanh Hoá.', 'Bắn chết người trong cuộc rượt đuổi trên sông.' ] sentences = [tokenize(sentence) for sentence in sentences] embeddings = model.encode(sentences) ``` ## <a name="sentences-transformers"></a> Using SimeCSE_Vietnamese with `transformers` ### Installation <a name="install2"></a> - Install `transformers`: - `pip install -U transformers` - Install `pyvi` to word segment: - `pip install pyvi` ### Example usage <a name="usage2"></a> ```python import torch from transformers import AutoModel, AutoTokenizer from pyvi.ViTokenizer import tokenize PhobertTokenizer = AutoTokenizer.from_pretrained("VoVanPhuc/sup-SimCSE-VietNamese-phobert-base") model = AutoModel.from_pretrained("VoVanPhuc/sup-SimCSE-VietNamese-phobert-base") sentences = ['Kẻ đánh bom đinh tồi tệ nhất nước Anh.', 'Nghệ sĩ làm thiện nguyện - minh bạch là việc cấp thiết.', 'Bắc Giang tăng khả năng điều trị và xét nghiệm.', 'HLV futsal Việt Nam tiết lộ lý do hạ Lebanon.', 'việc quan trọng khi kêu gọi quyên góp từ thiện là phải minh bạch, giải ngân kịp thời.', '20% bệnh nhân Covid-19 có thể nhanh chóng trở nặng.', 'Thái Lan thua giao hữu trước vòng loại World Cup.', 'Cựu tuyển thủ Nguyễn Bảo Quân: May mắn ủng hộ futsal Việt Nam', 'Chủ ki-ốt bị đâm chết trong chợ đầu mối lớn nhất Thanh Hoá.', 'Bắn chết người trong cuộc rượt đuổi trên sông.' ] sentences = [tokenize(sentence) for sentence in sentences] inputs = PhobertTokenizer(sentences, padding=True, truncation=True, return_tensors="pt") with torch.no_grad(): embeddings = model(**inputs, output_hidden_states=True, return_dict=True).pooler_output ``` ## Quick Start [Open In Colab](https://colab.research.google.com/drive/12__EXJoQYHe9nhi4aXLTf9idtXT8yr7H?usp=sharing) ## Citation @article{gao2021simcse, title={{SimCSE}: Simple Contrastive Learning of Sentence Embeddings}, author={Gao, Tianyu and Yao, Xingcheng and Chen, Danqi}, journal={arXiv preprint arXiv:2104.08821}, year={2021} } @inproceedings{phobert, title = {{PhoBERT: Pre-trained language models for Vietnamese}}, author = {Dat Quoc Nguyen and Anh Tuan Nguyen}, booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2020}, year = {2020}, pages = {1037--1042} }
[ -0.2933518886566162, -0.7988221049308777, 0.36722761392593384, 0.4125344157218933, -0.46240249276161194, -0.22367246448993683, -0.14758910238742828, -0.057307448238134384, 0.25837257504463196, 0.3910951316356659, -0.5040239095687866, -0.7006420493125916, -0.5288036465644836, 0.3382311761379242, -0.08942671120166779, 0.645713746547699, -0.24218153953552246, 0.020142367109656334, 0.03282321244478226, -0.2530430853366852, -0.4788249135017395, -0.5744337439537048, -0.2960718870162964, -0.30923131108283997, 0.1861514002084732, 0.4490452706813812, 0.38947880268096924, 0.5943640470504761, 0.3590901792049408, 0.5361414551734924, 0.0414324551820755, 0.3562356233596802, -0.38139447569847107, -0.1016925722360611, 0.08562497049570084, -0.4668353796005249, -0.15166252851486206, 0.13712440431118011, 0.44124549627304077, 0.3550110161304474, 0.059180062264204025, -0.17282944917678833, -0.04962101951241493, 0.3422430157661438, -0.45913219451904297, 0.38310813903808594, -0.5029520392417908, -0.014895359054207802, 0.022523632273077965, -0.06655033677816391, -0.30925241112709045, -0.3930395543575287, 0.2575927674770355, -0.7015732526779175, -0.08635877072811127, 0.006456603296101093, 1.504577875137329, 0.20582513511180878, -0.38791733980178833, -0.3977374732494354, -0.2138376384973526, 1.0162454843521118, -0.697860598564148, 0.24682140350341797, 0.3656255900859833, -0.11417633295059204, 0.011510581709444523, -0.8658151030540466, -0.6984612941741943, -0.2684122323989868, -0.4328010082244873, 0.5417859554290771, -0.3958788216114044, 0.019393326714634895, 0.15714360773563385, 0.26413285732269287, -0.6715909838676453, -0.03921053186058998, -0.35250574350357056, -0.1702660322189331, 0.6619859337806702, 0.07195358723402023, 0.5063769221305847, -0.5922796726226807, -0.5088270902633667, -0.3257664740085602, -0.45528432726860046, -0.11877291649580002, 0.13335183262825012, 0.05673052743077278, -0.5758668780326843, 0.8543463349342346, -0.10095807909965515, 0.7543073892593384, -0.05541016161441803, -0.19496867060661316, 0.7124574780464172, -0.5694578886032104, -0.2571783661842346, -0.10626709461212158, 1.1695468425750732, 0.3972306251525879, 0.565736711025238, 0.0440889373421669, -0.026254868134856224, 0.1193566545844078, -0.26835519075393677, -0.7657260894775391, -0.3784426748752594, 0.21214327216148376, -0.42107734084129333, -0.012250700034201145, 0.30816715955734253, -0.796373724937439, 0.0874488428235054, -0.14211542904376984, 0.8126100301742554, -0.8223223090171814, -0.031437911093235016, 0.42196789383888245, -0.4337818920612335, 0.40735024213790894, -0.08144748210906982, -0.49790632724761963, -0.06424722820520401, 0.4668370485305786, 0.970982551574707, -0.007300086319446564, -0.6826263666152954, -0.47546693682670593, -0.017326412722468376, 0.002473505213856697, 0.590786337852478, -0.3007628321647644, -0.5391442179679871, 0.29061222076416016, 0.2324998527765274, -0.5241298079490662, -0.4538061320781708, 0.5400692820549011, 0.01221667043864727, 0.6093084812164307, -0.09234516322612762, -0.8317710757255554, -0.14028684794902802, 0.16929560899734497, -0.3046691417694092, 1.12979257106781, 0.2021755874156952, -1.1018906831741333, 0.010663551278412342, -0.6447008848190308, -0.4910687804222107, -0.18080231547355652, -0.118820421397686, -0.5389226078987122, -0.04728192090988159, 0.5912913680076599, 0.5798823833465576, 0.02667454443871975, -0.16914616525173187, 0.17529290914535522, -0.39396047592163086, 0.2623719871044159, -0.25714099407196045, 1.2507678270339966, 0.24385401606559753, -0.47044089436531067, 0.20963577926158905, -0.7211621999740601, -0.11585783958435059, 0.2593153715133667, -0.28902801871299744, -0.34148189425468445, -0.3693007230758667, 0.19791193306446075, 0.2593386173248291, 0.1879642903804779, -0.5562938451766968, 0.16799643635749817, -0.6842434406280518, 0.6341214179992676, 0.6249353289604187, 0.24008794128894806, 0.340220183134079, -0.3385700583457947, 0.5771821141242981, 0.39375171065330505, -0.029941733926534653, -0.33338668942451477, -0.5201624631881714, -1.237209439277649, -0.42267709970474243, 0.27014729380607605, 0.960989773273468, -1.154954433441162, 0.9322173595428467, -0.39568594098091125, -0.7954568862915039, -0.859049916267395, -0.00976147223263979, 0.3977110981941223, 0.48602813482284546, 0.5954410433769226, -0.14840933680534363, -0.6427839398384094, -0.7765821218490601, -0.3717332184314728, -0.2965989410877228, 0.10173051804304123, 0.2465176284313202, 0.8929163813591003, -0.414554625749588, 0.7674327492713928, -0.947303831577301, -0.35286426544189453, -0.4492160677909851, 0.14047813415527344, 0.049251288175582886, 0.5025626420974731, 0.5344929695129395, -0.8652620315551758, -0.4311370551586151, -0.25324419140815735, -0.5959195494651794, -0.07964587211608887, -0.14287534356117249, -0.21478454768657684, 0.07239945232868195, 0.738131046295166, -0.5685185194015503, 0.40446963906288147, 0.4797578752040863, -0.5181982517242432, 0.5898362398147583, -0.4255423843860626, -0.035675887018442154, -1.4057351350784302, -0.27412149310112, 0.06838523596525192, -0.06430154293775558, -0.43619537353515625, -0.013366415165364742, -0.1877521276473999, 0.08052296191453934, -0.6472265720367432, 0.7546826004981995, -0.5557376146316528, 0.49965524673461914, 0.030478378757834435, 0.3835899233818054, -0.03821418434381485, 0.5287350416183472, 0.23470813035964966, 0.6459404230117798, 0.6530824303627014, -0.6060734391212463, 0.36755606532096863, 0.5140570402145386, -0.45770761370658875, 0.4134526550769806, -0.7598881721496582, -0.14848850667476654, -0.14474092423915863, 0.06750672310590744, -1.0197004079818726, -0.08399217575788498, 0.5406836271286011, -0.45036977529525757, 0.06042526289820671, 0.11430972814559937, -0.5110541582107544, -0.3740648925304413, -0.26908212900161743, 0.18462122976779938, 0.669920027256012, -0.4836570620536804, 0.5095792412757874, 0.26294487714767456, 0.08270715922117233, -0.4661344587802887, -1.0422229766845703, -0.10325019061565399, -0.4716355800628662, -0.5401225090026855, 0.34184783697128296, -0.03551889583468437, 0.033233217895030975, 0.040433332324028015, 0.32102102041244507, -0.15653899312019348, 0.015098576433956623, 0.17445245385169983, 0.2003314048051834, -0.24734729528427124, 0.19419555366039276, -0.23182719945907593, -0.20160366594791412, -0.19235846400260925, -0.25098416209220886, 0.8243455290794373, -0.2960289418697357, -0.08892761170864105, -0.5776994228363037, 0.25178393721580505, 0.18598851561546326, -0.48503848910331726, 0.8151028156280518, 1.2113698720932007, -0.2210482507944107, 0.09129025787115097, -0.5994122624397278, -0.03410359472036362, -0.5375332832336426, 0.5801093578338623, -0.4641065299510956, -0.965170681476593, 0.2704853415489197, -0.077635757625103, -0.09162349998950958, 0.6619304418563843, 0.6937918663024902, 0.07690209895372391, 0.7259972095489502, 0.6190304756164551, -0.13735681772232056, 0.674734890460968, -0.6134675145149231, 0.18222478032112122, -0.628237783908844, -0.28018906712532043, -0.4295032024383545, 0.07328413426876068, -1.009911060333252, -0.8251364827156067, 0.21269144117832184, 0.09116625785827637, -0.31348782777786255, 0.580472469329834, -0.6129939556121826, 0.16360390186309814, 0.6302291750907898, -0.012900353409349918, 0.11814555525779724, 0.23241958022117615, -0.4429742991924286, -0.2441502809524536, -0.785642683506012, -0.513090193271637, 0.6443430185317993, 0.30639320611953735, 0.6011164784431458, -0.24630418419837952, 1.0124521255493164, -0.21149440109729767, 0.022079648450016975, -0.886588454246521, 0.6940538287162781, -0.2944064140319824, -0.19452187418937683, -0.24126987159252167, -0.4649103879928589, -1.096358299255371, 0.26426923274993896, -0.057007838040590286, -0.7958616018295288, 0.27108827233314514, -0.3304477632045746, -0.21746356785297394, 0.09038592129945755, -0.8061586022377014, 1.0339558124542236, -0.2966949939727783, -0.059651486575603485, 0.06406459212303162, -0.5923449397087097, 0.1775299608707428, 0.3377784788608551, 0.04979319870471954, -0.05437657982110977, -0.24892564117908478, 0.8229755759239197, -0.6859817504882812, 0.7244894504547119, 0.03999050706624985, 0.12788857519626617, 0.5168773531913757, -0.30622154474258423, 0.2907833456993103, 0.11757615208625793, 0.04264633730053902, 0.15077441930770874, -0.1487692892551422, -0.45493751764297485, -0.3114939033985138, 0.6161069273948669, -0.9988569021224976, -0.5159125924110413, -0.7385798096656799, -0.361827552318573, 0.11407392472028732, 0.28759172558784485, 0.6966004371643066, 0.12679432332515717, -0.11189816147089005, 0.08332127332687378, 0.34488093852996826, -0.5392353534698486, 0.5055184960365295, 0.29386410117149353, 0.021099582314491272, -0.7056163549423218, 1.0642225742340088, 0.25181230902671814, -0.005472951103001833, 0.6146292686462402, 0.3155093491077423, -0.32591530680656433, -0.1963118314743042, -0.13891854882240295, 0.7086495757102966, -0.5542827844619751, 0.0228259414434433, -0.9477477669715881, -0.430070161819458, -0.6799288988113403, -0.2612546384334564, -0.28495892882347107, -0.33789169788360596, -0.3835383653640747, -0.2535208761692047, 0.4962197244167328, 0.5380346775054932, -0.1661553829908371, 0.6213276386260986, -0.6214236617088318, 0.4649255871772766, 0.22423411905765533, -0.12860554456710815, -0.2946479916572571, -0.4658740758895874, -0.33262020349502563, -0.021837379783391953, -0.41528698801994324, -0.992587149143219, 0.6099441647529602, 0.06834512948989868, 0.4496421813964844, 0.43489131331443787, 0.020136626437306404, 0.8977426886558533, -0.4960446357727051, 1.0369007587432861, 0.26227492094039917, -1.2140613794326782, 0.6505129933357239, -0.059339530766010284, 0.3522701859474182, 0.4387662708759308, 0.4834388494491577, -0.7168901562690735, -0.344321608543396, -0.7272029519081116, -1.0022385120391846, 0.5347512364387512, 0.5498557686805725, 0.24713078141212463, -0.23505234718322754, 0.2786828875541687, -0.27978554368019104, 0.11322678625583649, -0.8409784436225891, -0.6393995881080627, -0.5555909872055054, -0.471492201089859, -0.31492185592651367, -0.17733648419380188, 0.16123472154140472, -0.5552103519439697, 0.7518948912620544, 0.137285977602005, 0.3974384665489197, 0.7074161767959595, -0.12972748279571533, 0.5233226418495178, 0.16886956989765167, 0.5726763606071472, 0.3158975839614868, -0.051782239228487015, 0.029769763350486755, 0.23277547955513, -0.5374579429626465, 0.26799818873405457, 0.25978246331214905, -0.2646856904029846, 0.4847787618637085, 0.5682967305183411, 1.0283540487289429, 0.11939340829849243, -0.6534339189529419, 0.6080021262168884, -0.08662261813879013, -0.1257820576429367, -0.4862503707408905, -0.06313097476959229, 0.29826220870018005, 0.08206218481063843, -0.05523710325360298, -0.2701118588447571, -0.24260790646076202, -0.6498036980628967, 0.26567554473876953, 0.10514726489782333, -0.5714379549026489, -0.15773536264896393, 0.5897669792175293, 0.11487120389938354, -0.14849302172660828, 0.8273013830184937, -0.3902323842048645, -0.89081871509552, 0.6165780425071716, 0.47470638155937195, 0.9989744424819946, -0.3312247693538666, 0.4239647090435028, 0.7148920893669128, 0.41177085041999817, -0.17667922377586365, 0.5330355763435364, 0.3867358863353729, -0.7621271014213562, -0.05991761386394501, -0.593526303768158, 0.16546230018138885, 0.12769271433353424, -0.44406062364578247, 0.4363168179988861, -0.15074658393859863, -0.1355040818452835, -0.3303217589855194, 0.2351687252521515, -1.0207631587982178, 0.25536203384399414, 0.06273820996284485, 0.8074598908424377, -1.0260244607925415, 0.85289466381073, 0.8138832449913025, -0.8291084170341492, -0.9527986645698547, 0.20210714638233185, -0.2679855227470398, -0.913050651550293, 0.5799193382263184, 0.28641074895858765, 0.16508279740810394, 0.10882168263196945, -0.38469037413597107, -0.6479326486587524, 1.014136552810669, 0.2705630660057068, -0.3288423717021942, -0.1377323716878891, 0.38134023547172546, 0.5366091132164001, -0.55277419090271, 0.3960903286933899, 0.7172975540161133, 0.7124598026275635, -0.015423456206917763, -0.634344756603241, 0.06421075761318207, -0.1982402354478836, 0.030065640807151794, -0.40719783306121826, -1.011688470840454, 1.1276074647903442, -0.26143789291381836, -0.20974543690681458, 0.30177968740463257, 0.8923499584197998, 0.46641579270362854, 0.1160011887550354, 0.5342341065406799, 0.6414649486541748, 0.6390957832336426, -0.3062756061553955, 1.0310661792755127, -0.1763169914484024, 0.40681543946266174, 0.9856134057044983, 0.201626256108284, 0.9038935303688049, 0.46630316972732544, -0.10371914505958557, 0.6574189066886902, 0.7425605654716492, -0.3211943507194519, 0.5050333142280579, 0.33498620986938477, 0.11868191510438919, -0.3022131025791168, -0.2591218650341034, -0.4004388153553009, 0.8470091819763184, 0.255252867937088, -0.37213584780693054, 0.047252245247364044, 0.14010855555534363, 0.4906754195690155, 0.06552015990018845, -0.05825337395071983, 0.6490393877029419, 0.4447147250175476, -0.6432315707206726, 0.6331924796104431, 0.07936788350343704, 1.0021172761917114, -0.6293008923530579, -0.009730235673487186, -0.25527259707450867, 0.3269808292388916, -0.069115050137043, -0.5416862368583679, -0.1761423498392105, -0.03429972007870674, 0.1706206500530243, -0.049826350063085556, 0.3841593861579895, -0.8924925923347473, -0.8917384743690491, 0.45633912086486816, 0.7808048129081726, 0.19984421133995056, -0.014224505051970482, -1.058765172958374, -0.030745886266231537, 0.10553012788295746, -0.38053083419799805, -0.00028796412516385317, 0.6703440546989441, 0.2285931557416916, 0.5279986262321472, 0.18140609562397003, 0.2107592076063156, 0.20706795156002045, 0.047885965555906296, 0.6798014640808105, -0.8056979775428772, -0.6352880001068115, -0.982630729675293, 0.6458900570869446, -0.13445915281772614, -0.5711463689804077, 1.136704444885254, 0.7639150023460388, 1.0177767276763916, -0.24213586747646332, 0.8795358538627625, 0.07415492832660675, 0.17275357246398926, -0.6749246120452881, 0.7605776190757751, -0.796421229839325, 0.027800414711236954, -0.43164360523223877, -0.7456133961677551, -0.15925578773021698, 0.8335990905761719, -0.3165471851825714, 0.08275377750396729, 0.9610109329223633, 0.8726325631141663, -0.014538738876581192, -0.39413508772850037, 0.1216302141547203, 0.5930654406547546, 0.37917882204055786, 0.6841778755187988, 0.7110375761985779, -0.9279110431671143, 0.7076843976974487, -0.6324768662452698, 0.07926561683416367, -0.3521152138710022, -0.7453745603561401, -1.0456193685531616, -0.8639436960220337, -0.7101457715034485, -0.3604450225830078, -0.04432297125458717, 0.9524703621864319, 0.44414737820625305, -0.7806329131126404, -0.3059230148792267, -0.006166526582092047, 0.28060245513916016, -0.2849634289741516, -0.27448293566703796, 0.9533683061599731, -0.2532852292060852, -1.0417264699935913, 0.27313050627708435, 0.060248419642448425, 0.331348180770874, 0.02596714161336422, -0.07071096450090408, -0.6405436992645264, 0.14490482211112976, 0.6167110204696655, 0.060878485441207886, -0.803686797618866, -0.2417890876531601, 0.010408633388578892, -0.39726510643959045, 0.053158923983573914, 0.6225097179412842, -0.7117409110069275, 0.40281620621681213, 0.7745681405067444, 0.2611759603023529, 0.38366416096687317, 0.10768721997737885, 0.44190162420272827, -0.6857866048812866, 0.6628302335739136, 0.1626085489988327, 0.6081044673919678, 0.4220736622810364, 0.004595460835844278, 0.7074205279350281, 0.4339214861392975, -0.4432919919490814, -0.6895503401756287, 0.019026895985007286, -1.0303179025650024, -0.341729998588562, 1.2932084798812866, -0.4307348132133484, -0.288608580827713, -0.0926685556769371, -0.5095974802970886, 0.6814857125282288, -0.16578885912895203, 0.5206068754196167, 0.8004506230354309, -0.024570973590016365, 0.037171974778175354, -0.4507181942462921, 0.4976865351200104, 0.5175360441207886, -0.8089505434036255, -0.15229131281375885, 0.1399906426668167, 0.2891697585582733, 0.14195266366004944, 0.6199758052825928, 0.09281320124864578, -0.026379013434052467, 0.14840885996818542, -0.05423092469573021, 0.02183634229004383, 0.046230245381593704, -0.30864253640174866, -0.06404151767492294, -0.4154055118560791, -0.44161686301231384 ]
textattack/distilbert-base-uncased-ag-news
textattack
2020-07-07T22:01:14Z
15,851
1
transformers
[ "transformers", "pytorch", "distilbert", "text-classification", "endpoints_compatible", "has_space", "region:us" ]
text-classification
2022-03-02T23:29:05Z
## TextAttack Model CardThis `distilbert-base-uncased` model was fine-tuned for sequence classification using TextAttack and the ag_news dataset loaded using the `nlp` library. The model was fine-tuned for 5 epochs with a batch size of 32, a learning rate of 2e-05, and a maximum sequence length of 128. Since this was a classification task, the model was trained with a cross-entropy loss function. The best score the model achieved on this task was 0.9478947368421052, as measured by the eval set accuracy, found after 1 epoch. For more information, check out [TextAttack on Github](https://github.com/QData/TextAttack).
[ -0.17098723351955414, -0.45288923382759094, 0.3013239800930023, -0.055299948900938034, -0.44148218631744385, 0.2539788782596588, -0.026319067925214767, -0.3585648238658905, -0.20095084607601166, 0.16331326961517334, -0.41800811886787415, -0.7431666851043701, -0.7652374505996704, 0.1854974329471588, -0.638143002986908, 1.435212254524231, 0.36527130007743835, -0.04631812125444412, 0.03198060393333435, -0.15341413021087646, -0.6057091951370239, -0.5864030122756958, -0.5626533627510071, -0.5044448971748352, 0.31460174918174744, 0.44469302892684937, 0.8636676073074341, 0.7647696137428284, 0.6323956251144409, 0.2801465094089508, -0.43717092275619507, -0.014672467485070229, -0.3977956771850586, -0.3466099202632904, -0.1896505057811737, -0.49346721172332764, -0.660847008228302, -0.02040497213602066, 0.6322682499885559, 0.224055215716362, -0.38617268204689026, 0.5371816754341125, -0.032970089465379715, 0.8184837102890015, -0.39167267084121704, -0.11250558495521545, -0.8261637091636658, 0.2622423768043518, -0.2949020266532898, -0.32464081048965454, -0.801125705242157, -0.07673592120409012, 0.17684690654277802, -0.4153003990650177, 0.21664568781852722, 0.20739851891994476, 0.82240891456604, 0.3013927936553955, -0.291367769241333, 0.009701457805931568, -0.6149365901947021, 0.8141306042671204, -0.7479912638664246, 0.11785562336444855, 0.4901873767375946, 0.22016005218029022, -0.12001228332519531, -0.7444506883621216, -0.45758774876594543, 0.19594302773475647, -0.04839639738202095, -0.13797898590564728, -0.39972564578056335, 0.04455553740262985, 0.3988457918167114, 0.657253086566925, -1.0285248756408691, 0.20256461203098297, -0.6213515996932983, -0.09444227814674377, 0.9985765218734741, 0.3635949194431305, 0.08484210819005966, -0.2923898696899414, -0.27815672755241394, -0.16659225523471832, -0.1398569941520691, -0.07890287786722183, 0.4223218560218811, 0.19924911856651306, -0.11495452374219894, 0.4103630781173706, -0.17990028858184814, 0.864256739616394, 0.22648701071739197, -0.059013623744249344, 0.6163689494132996, 0.09580786526203156, -0.699903130531311, 0.07387834042310715, 0.8900611996650696, 0.2771526575088501, 0.09687737375497818, -0.05541766434907913, -0.2029888778924942, -0.11439783871173859, 0.44640883803367615, -0.7268782258033752, -0.28285515308380127, 0.3558291792869568, -0.6074037551879883, -0.5477246642112732, 0.27008798718452454, -0.6139651536941528, -0.25332823395729065, -0.28824561834335327, 0.5203475952148438, -0.592096745967865, 0.04904508963227272, 0.33494308590888977, -0.4734961986541748, 0.13518068194389343, 0.2206963449716568, -0.8259224891662598, 0.2294035702943802, 0.45820531249046326, 1.1861112117767334, -0.32077324390411377, -0.05461927503347397, -0.11376350373029709, -0.3463052809238434, -0.0880705863237381, 0.7005119919776917, -0.3865375220775604, -0.3270738422870636, -0.2533082962036133, 0.023708181455731392, 0.2186894714832306, -0.2200201153755188, 0.7661847472190857, -0.5468245148658752, 0.2758276164531708, 0.21909528970718384, -0.6472954750061035, -0.5169700384140015, 0.19646750390529633, -0.8339307308197021, 1.0196558237075806, 0.36544936895370483, -0.8489288687705994, 0.42797350883483887, -0.5389785170555115, -0.38657817244529724, 0.29633235931396484, 0.22642311453819275, -0.670413613319397, 0.356393963098526, -0.05941760540008545, 0.6333601474761963, -0.328572154045105, 0.3558270335197449, -0.07184676826000214, -0.51270991563797, 0.16997306048870087, -0.6127815246582031, 0.7622401714324951, 0.354965478181839, -0.2000550478696823, -0.18461227416992188, -1.281567931175232, 0.3880397379398346, 0.012356648221611977, -0.551853597164154, -0.30788061022758484, -0.21037323772907257, 0.17391729354858398, 0.020328208804130554, 0.04990837350487709, -0.3700260818004608, 0.48769572377204895, -0.28922417759895325, 0.584324300289154, 0.593210756778717, -0.15960118174552917, 0.43171796202659607, -0.4886873662471771, 0.39189690351486206, 0.06397838145494461, 0.19266803562641144, -0.35580772161483765, -0.48448625206947327, -0.4440041482448578, -0.21565544605255127, 0.6117547750473022, 0.908649742603302, -0.4051952064037323, 0.7651205062866211, -0.24276816844940186, -0.8886662721633911, -0.3283750116825104, -0.14233407378196716, 0.26405736804008484, 0.38534238934516907, 0.5701571106910706, -0.410502552986145, -0.4047861099243164, -0.7009075284004211, -0.0837835744023323, -0.17423930764198303, 0.015074162743985653, -0.06613673269748688, 0.5916486978530884, -0.34553879499435425, 0.8253775238990784, -0.7106848359107971, -0.23234792053699493, -0.0010417802259325981, 0.6360394954681396, 0.43855348229408264, 0.5385260581970215, 0.4914571940898895, -0.7345953583717346, -0.2886975109577179, -0.07380413264036179, -0.4054853916168213, -0.05849865823984146, -0.0002498366229701787, 0.1004992201924324, 0.22407513856887817, 0.23981307446956635, -0.5377207398414612, 0.8382575511932373, 0.4996774196624756, -0.4600357115268707, 0.4750245213508606, -0.18934254348278046, 0.14818568527698517, -1.2980295419692993, 0.18204697966575623, 0.07100865244865417, -0.4059232473373413, -0.6468390226364136, -0.18249119818210602, 0.10162916034460068, -0.13608723878860474, -0.5270887613296509, 0.4321005344390869, -0.382107138633728, 0.10672376304864883, -0.3502335846424103, -0.5725579261779785, 0.21770678460597992, 0.5433952808380127, 0.0938604325056076, 0.6402885317802429, 0.39835190773010254, -0.6652810573577881, 0.295904278755188, 0.34345316886901855, -0.2992130517959595, 0.4803992211818695, -0.8211994171142578, 0.4159924387931824, -0.28002697229385376, 0.10836964845657349, -0.917869508266449, -0.1983354091644287, -0.10194931924343109, -0.5622631311416626, 0.5086358785629272, -0.04206095263361931, -0.48516708612442017, -0.4921491742134094, -0.38081666827201843, 0.6033434271812439, 0.5699265003204346, -0.4636443555355072, 0.38019439578056335, 0.29824012517929077, 0.08693724870681763, -0.6470141410827637, -0.8803418278694153, -0.21306005120277405, -0.4578774869441986, -0.32417112588882446, 0.6819870471954346, -0.24014300107955933, 0.16575096547603607, -0.2344435602426529, 0.039781466126441956, -0.2008868306875229, -0.037006620317697525, 0.38908088207244873, 0.23675373196601868, 0.04983266070485115, 0.4833543300628662, 0.12154772877693176, -0.08220703154802322, -0.2965092957019806, -0.14222249388694763, 0.6555088758468628, -0.3571791350841522, 0.15059751272201538, -0.49490299820899963, 0.1935243010520935, 0.7117055058479309, -0.12717507779598236, 0.8808110356330872, 0.4427413046360016, -0.594018816947937, -0.24379701912403107, -0.13463371992111206, 0.10007930546998978, -0.4841355085372925, 0.5227053165435791, -0.2855386734008789, -0.6837271451950073, 0.5608887672424316, 0.057736385613679886, 0.06467436999082565, 0.9681411385536194, 0.40754133462905884, 0.1630362868309021, 0.8709352612495422, 0.5429988503456116, -0.41639140248298645, 0.33531448245048523, -0.4155692756175995, -0.2569376230239868, -0.5563479661941528, -0.27169129252433777, -0.44570988416671753, -0.4584842622280121, -0.5607859492301941, -0.2774491608142853, 0.08689110726118088, 0.20871977508068085, -0.48444443941116333, 0.506672203540802, -0.9726067781448364, 0.6473081111907959, 0.6171205639839172, 0.11303840577602386, 0.3112492263317108, -0.06733608990907669, 0.154645174741745, 0.27149641513824463, -0.6544286012649536, -0.34608516097068787, 1.2177718877792358, 0.6280506253242493, 1.01669442653656, -0.0682334154844284, 0.6906546354293823, 0.8148519396781921, 0.035228438675403595, -0.7875650525093079, 0.3560923933982849, -0.39266762137413025, -0.46288439631462097, -0.41341549158096313, -0.2879275679588318, -0.8301137089729309, -0.2438409924507141, -0.38429558277130127, -0.6111303567886353, 0.10923413932323456, 0.29915571212768555, -0.4709092974662781, 0.17849484086036682, -0.5833890438079834, 0.9398772120475769, -0.2537442743778229, 0.12179723381996155, -0.04206785187125206, -0.8330560326576233, 0.3316600024700165, -0.1215202808380127, -0.04308759793639183, -0.16997592151165009, 0.3174564242362976, 0.7493710517883301, -0.40392249822616577, 0.5139665007591248, 0.13323824107646942, 0.22360865771770477, 0.2887376844882965, -0.28459373116493225, 0.4559819996356964, 0.028780313208699226, 0.018257414922118187, 0.5496262311935425, 0.10681445896625519, -0.20229536294937134, -0.34449243545532227, 0.33269771933555603, -0.7776414752006531, -0.01252654753625393, -0.8150841593742371, -0.516584038734436, 0.2047988623380661, 0.02761314995586872, 0.8664515614509583, 0.49055245518684387, -0.1985657513141632, 0.25635242462158203, 0.8034411668777466, -0.23140646517276764, 0.5799294114112854, 0.5843101739883423, -0.024361705407500267, -0.5495994687080383, 0.6311807632446289, 0.11198706179857254, 0.16106262803077698, 0.39985454082489014, 0.17549356818199158, -0.1833229511976242, -0.5594248175621033, -0.5953884124755859, -0.11439163237810135, -0.6117085218429565, -0.8282022476196289, -0.37321576476097107, -0.6555147767066956, -0.30601766705513, 0.19708098471164703, -0.23608367145061493, -0.5284412503242493, -0.6946075558662415, -0.2668403089046478, 0.7473496794700623, 0.525743842124939, 0.026141539216041565, 0.7363696098327637, -1.0614511966705322, 0.14002864062786102, 0.022163616493344307, 0.4993029236793518, -0.08396847546100616, -1.0170894861221313, -0.3725988566875458, -0.12890808284282684, -0.4709252417087555, -1.0590476989746094, 0.42345327138900757, 0.5883452296257019, 0.3595966696739197, 0.39094024896621704, 0.06861893832683563, 0.6363579630851746, -0.9177507162094116, 0.7213644981384277, 0.09012182056903839, -1.0029898881912231, 0.6578882932662964, -0.07213927805423737, 0.9048041701316833, 0.6284781098365784, 0.5350335836410522, -0.4040279984474182, -0.27224040031433105, -0.8083743453025818, -0.8669558763504028, 0.5912390351295471, 0.09855996072292328, 0.05905318632721901, -0.020796028897166252, 0.5793448090553284, 0.22366559505462646, 0.21874478459358215, -0.8349596261978149, -0.29533782601356506, -0.1972617208957672, -0.6099273562431335, -0.03780113533139229, -0.33562514185905457, 0.14738744497299194, -0.49907341599464417, 0.770977795124054, -0.04528985545039177, 0.37590834498405457, 0.15263742208480835, -0.23890361189842224, -0.027602234855294228, 0.35990801453590393, 0.834585964679718, 0.4728385806083679, -0.260633260011673, -0.0760454535484314, 0.18304428458213806, -0.8911595940589905, 0.2611144483089447, 0.40859028697013855, -0.18099229037761688, 0.12420374900102615, 0.35961100459098816, 0.9911216497421265, -0.19235186278820038, -0.5889949798583984, 0.3862256109714508, -0.13259956240653992, -0.16350145637989044, -0.4950183928012848, 0.2245149463415146, -0.4532529413700104, 0.3525942862033844, 0.705304741859436, -0.0163100752979517, 0.5445653796195984, -0.4177630543708801, 0.4793054759502411, 0.332325279712677, -0.3147105872631073, -0.4216129779815674, 0.7030084729194641, -0.0025656414218246937, -0.44961926341056824, 0.7626118063926697, -0.31038156151771545, -0.5758489370346069, 0.4733259677886963, 0.35794365406036377, 0.9891064763069153, -0.5869700312614441, 0.35532358288764954, 0.4560970366001129, 0.2512315511703491, -0.48699963092803955, 0.2373163253068924, 0.15900710225105286, -0.5121623277664185, -0.3118962347507477, -0.9596332907676697, -0.06769028306007385, 0.4978692829608917, -0.9481865763664246, 0.3774716258049011, -0.41815733909606934, -0.4832296371459961, 0.3265684247016907, 0.024961484596133232, -0.5834054350852966, 0.5680824518203735, 0.07731197774410248, 1.264632225036621, -1.1318551301956177, 0.7348739504814148, 0.6475691199302673, -0.13897602260112762, -0.6167287230491638, -0.24426418542861938, -0.01526577677577734, -0.5282052755355835, 0.4800727367401123, 0.46262499690055847, 0.294345885515213, 0.083123579621315, -0.6630175113677979, -0.870581865310669, 1.2972056865692139, 0.07448387145996094, -0.8421791195869446, -0.08614354580640793, 0.08691192418336868, 0.6289549469947815, -0.21907062828540802, 0.2161153107881546, 0.6518414616584778, 0.08650341629981995, 0.136522576212883, -1.1090259552001953, -0.259423166513443, -0.4384545385837555, -0.04384392872452736, 0.46652546525001526, -0.6927297115325928, 0.9025359749794006, -0.03768311068415642, -0.06068005412817001, 0.1696895807981491, 0.7231998443603516, 0.12114771455526352, 0.5646764636039734, 0.4504459500312805, 1.0804353952407837, 0.9336609840393066, -0.05733960121870041, 0.739702582359314, -0.03125467896461487, 0.4271049499511719, 1.2290616035461426, 0.0007593580521643162, 0.883036732673645, 0.0903763398528099, -0.168406143784523, 0.6332330703735352, 0.7250636219978333, -0.21810951828956604, 0.8116207718849182, 0.3940316140651703, 0.12967340648174286, 0.11465175449848175, 0.24706189334392548, -0.2696987986564636, 0.554642379283905, 0.26862218976020813, -0.6397084593772888, 0.17455153167247772, 0.22296923398971558, -0.02277655154466629, -0.21125276386737823, -0.6592053174972534, 0.7679769396781921, -0.004584169946610928, -0.4643400311470032, 0.5059662461280823, 0.303975373506546, 0.651179850101471, -0.4453375041484833, -0.09528346359729767, -0.026631629094481468, 0.23154672980308533, -0.2619982063770294, -0.8779010772705078, 0.38443523645401, -0.03999198600649834, -0.6290132403373718, 0.21819449961185455, 0.7685827612876892, -0.5871317386627197, -0.574055552482605, -0.23681491613388062, -0.06477022916078568, 0.0705389603972435, -0.053166888654232025, -0.684222400188446, -0.026216654106974602, -0.2878807485103607, -0.4339633882045746, 0.0975467637181282, 0.5198559761047363, -0.1175343319773674, 0.5000260472297668, 0.45512819290161133, -0.26748546957969666, 0.054444149136543274, -0.2642822563648224, 0.6662384271621704, -0.8008538484573364, -0.6537623405456543, -1.1154372692108154, 0.7587758898735046, -0.25323423743247986, -0.6874343156814575, 0.5059689879417419, 0.8202989101409912, 0.6384578943252563, -0.17122812569141388, 0.5377596020698547, -0.024756601080298424, 0.5485085248947144, -0.5278982520103455, 0.6501149535179138, -0.6352750658988953, 0.02751261368393898, -0.30637362599372864, -0.6110017895698547, -0.26912185549736023, 0.6706510782241821, 0.2474936544895172, -0.05279851704835892, 0.5819585919380188, 0.3493978977203369, 0.13266673684120178, 0.07362786680459976, 0.11326498538255692, -0.0695960745215416, 0.021819444373250008, 0.6644896864891052, 0.3474203646183014, -0.7629715204238892, 0.26429376006126404, -0.06755468994379044, -0.3126908242702484, -0.1483324021100998, -1.1852092742919922, -1.0691426992416382, -0.7267346978187561, -0.40137872099876404, -0.3172878324985504, -0.002582715591415763, 0.7797464728355408, 0.7807664275169373, -0.7227647304534912, 0.07353559881448746, -0.19777722656726837, -0.20170636475086212, -0.2596175968647003, -0.27072617411613464, 0.4302583932876587, 0.008919093757867813, -0.6587803363800049, -0.001357179949991405, 0.27619609236717224, 0.46974942088127136, 0.013162385672330856, -0.13656489551067352, -0.24115170538425446, 0.0949544906616211, 0.45306816697120667, 0.2995468080043793, -0.38136452436447144, -0.3235011398792267, 0.004439943004399538, 0.038391243666410446, 0.07064805179834366, 0.4955909848213196, -0.7856243848800659, 0.2684853672981262, 0.6732488870620728, 0.6084989309310913, 0.31479978561401367, 0.3076529800891876, 0.5455955266952515, -1.0828683376312256, 0.3070656359195709, 0.3404349982738495, 0.20907579362392426, 0.17557553946971893, -0.6334888339042664, 0.6064829230308533, 0.07940706610679626, -0.9770658612251282, -1.011460542678833, -0.02786639705300331, -1.0562666654586792, -0.2538987100124359, 1.0398582220077515, 0.1174512431025505, -0.41016685962677, 0.25856801867485046, -0.14706674218177795, 0.23610755801200867, -0.3596961498260498, 0.7376552820205688, 0.8804412484169006, 0.09082964062690735, -0.3244193494319916, -0.27354946732521057, 0.7497677206993103, 0.011206911876797676, -0.7932376861572266, -0.3707142472267151, 0.3303503394126892, 0.16734077036380768, 0.38754209876060486, 0.5729952454566956, 0.06403655558824539, 0.43459779024124146, -0.176993265748024, 0.09166182577610016, -0.09979787468910217, -0.6486374139785767, -0.46649572253227234, -0.06997335702180862, -0.03668244928121567, -0.34329280257225037 ]
trl-internal-testing/tiny-random-T5ForConditionalGeneration
trl-internal-testing
2023-07-20T09:46:42Z
15,822
0
transformers
[ "transformers", "pytorch", "t5", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "text-generation-inference", "region:us" ]
text2text-generation
2023-01-20T14:16:44Z
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 ]
HooshvareLab/bert-fa-zwnj-base-ner
HooshvareLab
2021-05-18T21:04:35Z
15,810
3
transformers
[ "transformers", "pytorch", "tf", "jax", "bert", "token-classification", "fa", "autotrain_compatible", "endpoints_compatible", "region:us" ]
token-classification
2022-03-02T23:29:04Z
--- language: fa --- # BertNER This model fine-tuned for the Named Entity Recognition (NER) task on a mixed NER dataset collected from [ARMAN](https://github.com/HaniehP/PersianNER), [PEYMA](http://nsurl.org/2019-2/tasks/task-7-named-entity-recognition-ner-for-farsi/), and [WikiANN](https://elisa-ie.github.io/wikiann/) that covered ten types of entities: - Date (DAT) - Event (EVE) - Facility (FAC) - Location (LOC) - Money (MON) - Organization (ORG) - Percent (PCT) - Person (PER) - Product (PRO) - Time (TIM) ## Dataset Information | | Records | B-DAT | B-EVE | B-FAC | B-LOC | B-MON | B-ORG | B-PCT | B-PER | B-PRO | B-TIM | I-DAT | I-EVE | I-FAC | I-LOC | I-MON | I-ORG | I-PCT | I-PER | I-PRO | I-TIM | |:------|----------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:| | Train | 29133 | 1423 | 1487 | 1400 | 13919 | 417 | 15926 | 355 | 12347 | 1855 | 150 | 1947 | 5018 | 2421 | 4118 | 1059 | 19579 | 573 | 7699 | 1914 | 332 | | Valid | 5142 | 267 | 253 | 250 | 2362 | 100 | 2651 | 64 | 2173 | 317 | 19 | 373 | 799 | 387 | 717 | 270 | 3260 | 101 | 1382 | 303 | 35 | | Test | 6049 | 407 | 256 | 248 | 2886 | 98 | 3216 | 94 | 2646 | 318 | 43 | 568 | 888 | 408 | 858 | 263 | 3967 | 141 | 1707 | 296 | 78 | ## Evaluation The following tables summarize the scores obtained by model overall and per each class. **Overall** | Model | accuracy | precision | recall | f1 | |:----------:|:--------:|:---------:|:--------:|:--------:| | Bert | 0.995086 | 0.953454 | 0.961113 | 0.957268 | **Per entities** | | number | precision | recall | f1 | |:---: |:------: |:---------: |:--------: |:--------: | | DAT | 407 | 0.860636 | 0.864865 | 0.862745 | | EVE | 256 | 0.969582 | 0.996094 | 0.982659 | | FAC | 248 | 0.976190 | 0.991935 | 0.984000 | | LOC | 2884 | 0.970232 | 0.971914 | 0.971072 | | MON | 98 | 0.905263 | 0.877551 | 0.891192 | | ORG | 3216 | 0.939125 | 0.954602 | 0.946800 | | PCT | 94 | 1.000000 | 0.968085 | 0.983784 | | PER | 2645 | 0.965244 | 0.965974 | 0.965608 | | PRO | 318 | 0.981481 | 1.000000 | 0.990654 | | TIM | 43 | 0.692308 | 0.837209 | 0.757895 | ## How To Use You use this model with Transformers pipeline for NER. ### Installing requirements ```bash pip install transformers ``` ### How to predict using pipeline ```python from transformers import AutoTokenizer from transformers import AutoModelForTokenClassification # for pytorch from transformers import TFAutoModelForTokenClassification # for tensorflow from transformers import pipeline model_name_or_path = "HooshvareLab/bert-fa-zwnj-base-ner" tokenizer = AutoTokenizer.from_pretrained(model_name_or_path) model = AutoModelForTokenClassification.from_pretrained(model_name_or_path) # Pytorch # model = TFAutoModelForTokenClassification.from_pretrained(model_name_or_path) # Tensorflow nlp = pipeline("ner", model=model, tokenizer=tokenizer) example = "در سال ۲۰۱۳ درگذشت و آندرتیکر و کین برای او مراسم یادبود گرفتند." ner_results = nlp(example) print(ner_results) ``` ## Questions? Post a Github issue on the [ParsNER Issues](https://github.com/hooshvare/parsner/issues) repo.
[ -0.707476019859314, -0.6254838705062866, 0.2824663817882538, 0.014911516569554806, -0.007839247584342957, -0.12445371598005295, -0.07832231372594833, -0.28904256224632263, 0.4159579277038574, 0.40477287769317627, -0.5827646851539612, -0.7139562368392944, -0.8516188263893127, 0.005119626875966787, -0.4893748164176941, 1.309568166732788, 0.04485222324728966, 0.2510051429271698, 0.06709568947553635, -0.01499895192682743, -0.5164066553115845, -0.4847826659679413, -0.6462424397468567, -0.5587946176528931, 0.3185344934463501, 0.4255431890487671, 0.5744186043739319, 0.3901936411857605, 0.6194103360176086, 0.32655712962150574, -0.2712615430355072, 0.0017183178570121527, -0.19791029393672943, -0.1465926170349121, 0.035264402627944946, -0.2797968089580536, -0.746871829032898, -0.1306924670934677, 0.6506661176681519, 0.5792908668518066, -0.21356654167175293, 0.4305049479007721, 0.2040950506925583, 0.5800557136535645, -0.5547634959220886, 0.08776745200157166, -0.3425907492637634, 0.15114465355873108, -0.05056058615446091, -0.04989123344421387, -0.2697867453098297, -0.23147937655448914, 0.3587237000465393, -0.4953850507736206, 0.3872206509113312, 0.06732868403196335, 1.515748143196106, 0.41656672954559326, -0.4431687295436859, -0.13885919749736786, -0.7157034277915955, 0.9446198344230652, -0.8542903661727905, 0.3090704083442688, 0.3364875614643097, 0.16387131810188293, -0.16539616882801056, -0.7675539255142212, -0.6733673214912415, 0.03770340606570244, -0.2734224498271942, 0.27183452248573303, -0.3329579532146454, -0.07905451953411102, 0.2812892198562622, 0.543601930141449, -0.6307699680328369, 0.12937161326408386, -0.5676987171173096, -0.36148396134376526, 0.6963267922401428, 0.38167059421539307, 0.12340795993804932, -0.38063138723373413, -0.49259868264198303, -0.31332096457481384, -0.1938139945268631, 0.2621224820613861, 0.34303542971611023, 0.28552526235580444, -0.37190988659858704, 0.6537029147148132, -0.27909085154533386, 0.7854946255683899, 0.3271056115627289, -0.08807123452425003, 0.7637971043586731, -0.29170897603034973, -0.42854899168014526, 0.1201113685965538, 0.9368515014648438, 0.5197049975395203, 0.18388110399246216, 0.04095664247870445, -0.4460848867893219, 0.03753017261624336, 0.14901426434516907, -1.0026190280914307, -0.4794425368309021, 0.23813799023628235, -0.5711934566497803, -0.4869227409362793, 0.11189431697130203, -0.9344799518585205, 0.10585152357816696, -0.4508894979953766, 0.7082656025886536, -0.3777441382408142, -0.4525070786476135, -0.1435226947069168, -0.058310579508543015, 0.4992365837097168, 0.2109232246875763, -0.9302611351013184, 0.4084515869617462, 0.5887402892112732, 0.8826349973678589, -0.06157323345541954, -0.36180397868156433, -0.141005739569664, -0.23607365787029266, -0.41933542490005493, 0.7192869186401367, -0.32434022426605225, -0.41282740235328674, -0.3804655373096466, 0.18602927029132843, -0.32494837045669556, -0.30500757694244385, 0.4877110421657562, -0.47722190618515015, 0.5668484568595886, -0.057920053601264954, -0.8066440224647522, -0.47627225518226624, 0.4502665400505066, -0.7533692717552185, 1.2280858755111694, 0.23826082050800323, -0.902260422706604, 0.663733184337616, -0.8744252920150757, -0.1557498276233673, -0.18325869739055634, -0.08502469956874847, -0.9342073202133179, -0.12283900380134583, 0.4036138653755188, 0.6807796955108643, -0.2730545997619629, 0.6503404378890991, -0.13330356776714325, -0.451499342918396, -0.018688509240746498, -0.33801549673080444, 0.8715326189994812, 0.18023762106895447, -0.681914746761322, 0.2532936632633209, -1.0657386779785156, 0.23342467844486237, 0.09742417186498642, -0.1812349110841751, -0.11225278675556183, -0.21522749960422516, 0.13266324996948242, 0.3354462683200836, 0.13149231672286987, -0.40247416496276855, 0.07994688302278519, -0.4669005870819092, 0.32154953479766846, 0.8711043000221252, 0.2739020884037018, 0.5461959838867188, -0.6064526438713074, 0.3996301293373108, 0.24384784698486328, 0.18990321457386017, 0.20381352305412292, -0.5260884165763855, -1.2334948778152466, -0.4042030870914459, 0.5850805640220642, 0.5031741857528687, -0.4657592475414276, 0.7426095604896545, -0.28641924262046814, -0.7348055839538574, -0.48945584893226624, -0.33971813321113586, 0.418325811624527, 0.7405537366867065, 0.5945025682449341, -0.1923821121454239, -0.7744942307472229, -1.1778024435043335, -0.14881405234336853, -0.15275147557258606, 0.12415758520364761, 0.35490289330482483, 0.9605293869972229, -0.249835804104805, 0.8933807611465454, -0.5574872493743896, -0.4043388366699219, -0.2194102555513382, 0.04998302459716797, 0.8575273752212524, 0.7446942329406738, 0.522672712802887, -0.6585354804992676, -0.6157919764518738, -0.13892249763011932, -0.8018292188644409, 0.3672462999820709, 0.007812351919710636, -0.2237158566713333, 0.29916080832481384, 0.3165241479873657, -0.4716692268848419, 0.6774858236312866, 0.5667626261711121, -0.6912685036659241, 0.7484413981437683, -0.07452602684497833, 0.20107437670230865, -1.2586811780929565, 0.3769387900829315, -0.06344699114561081, -0.043278612196445465, -0.7209849953651428, -0.17947523295879364, 0.0014305053045973182, -0.01868676394224167, -0.35031938552856445, 0.7631646394729614, -0.4499978721141815, 0.026463357731699944, 0.06801516562700272, -0.41684284806251526, -0.03742296248674393, 0.7170451879501343, 0.18955853581428528, 0.8137984275817871, 0.7981332540512085, -0.7582033276557922, 0.07617974281311035, 0.36183181405067444, -0.678812563419342, 0.40508416295051575, -0.8221843242645264, 0.0306744072586298, -0.1263265162706375, 0.017857147380709648, -0.7606090307235718, -0.33288994431495667, 0.35282087326049805, -0.6975239515304565, 0.4191775321960449, -0.26875314116477966, -0.29010260105133057, -0.46297749876976013, -0.008276097476482391, 0.19024962186813354, 0.4516317844390869, -0.41363224387168884, 0.8217363953590393, 0.1864931732416153, 0.16075530648231506, -0.793753445148468, -0.7156288027763367, -0.20178654789924622, -0.34868428111076355, -0.777240514755249, 0.6335724592208862, -0.009528086520731449, -0.09044583141803741, 0.14950509369373322, -0.09996503591537476, -0.23285529017448425, 0.21716110408306122, 0.3509979844093323, 0.757098376750946, -0.3061508238315582, 0.03209482505917549, -0.2034449726343155, -0.33583107590675354, 0.04600529745221138, 0.050645120441913605, 0.8105641603469849, -0.3680078089237213, -0.20317699015140533, -0.5703281760215759, 0.05344346910715103, 0.552677571773529, -0.3219943642616272, 0.9849665760993958, 0.7148213386535645, -0.40582185983657837, -0.11026783287525177, -0.5604614019393921, -0.41579166054725647, -0.455264687538147, 0.6026755571365356, -0.5753299593925476, -0.8869692087173462, 0.8385565280914307, 0.2679436504840851, 0.1871495246887207, 0.9964718818664551, 0.5961531400680542, 0.00736192287877202, 1.0483579635620117, 0.42520204186439514, -0.0564006045460701, 0.3847222626209259, -0.8536416888237, 0.23682448267936707, -0.9116799831390381, -0.6142672300338745, -0.5438004732131958, -0.5694515705108643, -0.9030666351318359, -0.16295945644378662, 0.414041131734848, 0.06854970008134842, -0.8187798857688904, 0.326583594083786, -0.8788666725158691, 0.32854780554771423, 0.8168443441390991, 0.18669039011001587, 0.031162476167082787, -0.08071565628051758, -0.395045667886734, -0.03972038999199867, -0.7583988904953003, -0.382961630821228, 1.3202486038208008, 0.28205040097236633, 0.48735475540161133, 0.09168292582035065, 1.1823976039886475, 0.12472359836101532, 0.36203303933143616, -0.7367339134216309, 0.5185960531234741, -0.16722488403320312, -1.1623473167419434, -0.29489415884017944, -0.4885040819644928, -1.0167940855026245, 0.36487913131713867, -0.3407211899757385, -0.7608745098114014, 0.48959827423095703, 0.07389268279075623, -0.5613158345222473, 0.4709515869617462, -0.5826131105422974, 1.1136645078659058, -0.2138175070285797, -0.20227287709712982, 0.07301370054483414, -0.7107425332069397, 0.34487077593803406, 0.004520132206380367, 0.19395463168621063, -0.24028052389621735, 0.17775359749794006, 1.0964030027389526, -0.5042139291763306, 0.6264820694923401, -0.181621715426445, 0.5021972060203552, 0.39330995082855225, -0.00197921646758914, 0.5710358619689941, -0.051677752286195755, -0.23261308670043945, 0.3030872642993927, 0.06261789053678513, -0.3428051471710205, -0.33534368872642517, 0.8411169052124023, -1.2073818445205688, -0.5141621828079224, -0.9350758790969849, -0.33326947689056396, 0.15772895514965057, 0.48851215839385986, 0.5698355436325073, 0.41448137164115906, 0.018037982285022736, 0.2674984037876129, 0.60877525806427, -0.19868041574954987, 0.7010532021522522, 0.5664805769920349, -0.3036336898803711, -0.6609959602355957, 0.9663307666778564, 0.16454125940799713, 0.1606626808643341, 0.21320030093193054, 0.10617734491825104, -0.20467384159564972, -0.4843498766422272, -0.3629407584667206, 0.12846426665782928, -0.5492585897445679, -0.41397586464881897, -0.7373915910720825, -0.5435946583747864, -0.49395883083343506, -0.1193954274058342, -0.4400899410247803, -0.33321207761764526, -0.6029214859008789, -0.3184455633163452, 0.41265085339546204, 0.6798475980758667, -0.0009714682819321752, 0.15723851323127747, -0.7379269599914551, 0.037883516401052475, 0.17659619450569153, 0.3709828853607178, 0.09952347725629807, -0.8261227011680603, -0.12977059185504913, -0.10329001396894455, -0.36044010519981384, -0.7634586095809937, 0.8603776097297668, 0.25043854117393494, 0.7913599014282227, 0.250740110874176, 0.0012457198463380337, 0.8997845649719238, -0.28215742111206055, 0.885366678237915, 0.3385697603225708, -0.9207698702812195, 0.5627797842025757, -0.19955499470233917, 0.15957863628864288, 0.637192964553833, 0.483094185590744, -0.5022426843643188, -0.14532224833965302, -1.0398120880126953, -1.1187958717346191, 0.9972109198570251, 0.3662932515144348, -0.08879967778921127, 0.036400798708200455, 0.21692031621932983, -0.25615212321281433, 0.2599432170391083, -1.0007022619247437, -0.7384852766990662, -0.32264047861099243, -0.1789594292640686, -0.07366108149290085, -0.13142718374729156, 0.057146236300468445, -0.4608280658721924, 1.0478647947311401, 0.18208155035972595, 0.5117202997207642, 0.3973248302936554, 0.022940166294574738, -0.03280532732605934, 0.36898353695869446, 0.46302396059036255, 0.5514883995056152, -0.521568775177002, 0.0101320780813694, 0.312063068151474, -0.42220985889434814, 0.07175750285387039, 0.24330177903175354, -0.40386316180229187, 0.11476201564073563, 0.5161336064338684, 1.0119469165802002, 0.2892867922782898, -0.26595309376716614, 0.4602937400341034, 0.006882563699036837, -0.460185170173645, -0.7546350359916687, 0.169293612241745, -0.19671982526779175, 0.3044782876968384, 0.38347166776657104, 0.2973480820655823, 0.17912033200263977, -0.3773454427719116, 0.2430124431848526, 0.3212423324584961, -0.5852260589599609, -0.17547902464866638, 0.7132583856582642, -0.03324219584465027, -0.31321629881858826, 1.0101864337921143, 0.001534593291580677, -0.7969464659690857, 0.9611120223999023, 0.29764246940612793, 0.9300216436386108, -0.4073605239391327, 0.11823467910289764, 1.0641645193099976, 0.26389071345329285, -0.1204315647482872, 0.38442814350128174, 0.22070997953414917, -0.7844008207321167, -0.13886381685733795, -0.938128650188446, -0.15174312889575958, 0.22044192254543304, -0.9582487344741821, 0.5035603642463684, -0.4226802587509155, -0.5239323973655701, 0.28669804334640503, 0.22896933555603027, -0.9716458320617676, 0.5189515352249146, 0.052823908627033234, 0.8612670302391052, -0.9152323007583618, 0.755790114402771, 0.7041879892349243, -0.6617690324783325, -1.41121244430542, -0.3204136788845062, -0.18037711083889008, -0.7472643852233887, 0.7155777215957642, 0.24598342180252075, 0.3195747137069702, 0.2289731502532959, -0.37251946330070496, -1.4520076513290405, 1.4197027683258057, -0.15194454789161682, -0.7537561655044556, -0.15918204188346863, 0.0013320891885086894, 0.6127897500991821, -0.2139005810022354, 0.6168410181999207, 0.6136417984962463, 0.6151703000068665, 0.06734205037355423, -1.0887389183044434, -0.019712788984179497, -0.513717532157898, -0.10116849094629288, 0.5003482103347778, -0.7357093691825867, 1.302325963973999, -0.2560909390449524, 0.053782060742378235, 0.006305648945271969, 0.6885724663734436, 0.44659072160720825, 0.47902244329452515, 0.582866907119751, 0.9619636535644531, 0.6744348406791687, -0.3484077453613281, 1.0655694007873535, -0.38509321212768555, 0.7945437431335449, 1.3079171180725098, 0.10798123478889465, 0.8170851469039917, 0.4585060775279999, -0.4648693799972534, 0.7208423614501953, 0.9199555516242981, -0.4163258373737335, 0.5811372995376587, 0.0020330180414021015, -0.12630322575569153, -0.44241708517074585, 0.1625455617904663, -0.5991131663322449, 0.4805862009525299, 0.2634730041027069, -0.7467703223228455, -0.1612345576286316, -0.1350877434015274, 0.059847962111234665, -0.3104040026664734, -0.40136903524398804, 0.7983638644218445, -0.08268247544765472, -0.8459760546684265, 0.7340590953826904, 0.01532541774213314, 0.6140114068984985, -0.4712768793106079, -0.07323963195085526, -0.07043793052434921, 0.26150619983673096, -0.5167098641395569, -0.8957871198654175, 0.2590762674808502, -0.019691478461027145, -0.36461201310157776, 0.04985745996236801, 0.6503005027770996, -0.2573983669281006, -0.7611544728279114, 0.3373127579689026, 0.3684690594673157, 0.16482964158058167, 0.14865466952323914, -0.8558529019355774, -0.25102499127388, 0.24338938295841217, -0.6490674018859863, 0.22622041404247284, 0.25433942675590515, 0.0677504613995552, 0.6491848230361938, 0.8101298213005066, -0.16800084710121155, 0.24946671724319458, 0.13546279072761536, 1.1527981758117676, -0.8063648343086243, -0.5074548721313477, -0.8367520570755005, 0.721815824508667, -0.03344201669096947, -0.6739367246627808, 0.8335824012756348, 0.854811429977417, 0.7651280760765076, 0.11659624427556992, 0.49361148476600647, -0.3646353483200073, 0.7052716612815857, -0.4692022502422333, 0.803648829460144, -0.7289361357688904, 0.16581441462039948, -0.24188338220119476, -0.950852632522583, -0.20384033024311066, 0.8663339614868164, -0.6136975288391113, 0.2806498110294342, 0.6022266745567322, 0.9289714694023132, 0.058346446603536606, -0.008981872349977493, 0.16407060623168945, 0.3422633409500122, 0.2024710774421692, 0.6213443875312805, 0.6597539186477661, -0.7334517240524292, 0.4572388827800751, -0.8051221370697021, 0.008504514582455158, -0.18059924244880676, -0.6811008453369141, -0.9189162254333496, -0.5931085348129272, -0.4629962742328644, -0.6326209902763367, -0.18005886673927307, 1.116024136543274, 0.7493031024932861, -1.146712064743042, -0.17401769757270813, -0.3658360242843628, 0.045290667563676834, -0.19278933107852936, -0.33452197909355164, 0.7022998332977295, -0.21147193014621735, -0.8591143488883972, 0.050656188279390335, -0.3092767596244812, 0.26507431268692017, -0.10837394744157791, -0.24687020480632782, -0.32040998339653015, -0.11933191865682602, 0.16725675761699677, 0.007002674508839846, -0.717492938041687, -0.26097583770751953, 0.18231381475925446, -0.10078221559524536, 0.220986008644104, 0.302616149187088, -0.6524654030799866, 0.4827917218208313, 0.3792177140712738, 0.24034470319747925, 0.8224808573722839, -0.18934376537799835, 0.15881378948688507, -0.4489358961582184, 0.043275266885757446, 0.5294016599655151, 0.43249833583831787, 0.14402616024017334, -0.3382757306098938, 0.671222984790802, 0.10414376109838486, -0.8248539566993713, -0.998409628868103, -0.33000051975250244, -1.0529751777648926, -0.13482122123241425, 1.0279380083084106, -0.17960704863071442, -0.327534556388855, 0.07232620567083359, 0.1043383926153183, 0.3964530825614929, -0.6123142838478088, 0.6495420336723328, 0.7500629425048828, -0.2114330381155014, -0.19162754714488983, -0.5792982578277588, 0.41328468918800354, 0.5256348252296448, -0.6013004183769226, -0.5008885264396667, 0.33445456624031067, 0.6617238521575928, 0.2731614112854004, 0.3854109048843384, -0.08605518192052841, 0.27936288714408875, 0.017436033114790916, 0.35994160175323486, -0.1095033511519432, -0.32820045948028564, -0.26524579524993896, 0.0841636136174202, -0.17125068604946136, -0.36148926615715027 ]
audeering/wav2vec2-large-robust-12-ft-emotion-msp-dim
audeering
2023-11-27T10:09:33Z
15,754
40
transformers
[ "transformers", "pytorch", "safetensors", "wav2vec2", "speech", "audio", "audio-classification", "emotion-recognition", "en", "dataset:msp-podcast", "arxiv:2203.07378", "license:cc-by-nc-sa-4.0", "endpoints_compatible", "has_space", "region:us" ]
audio-classification
2022-04-06T12:40:02Z
--- language: en datasets: - msp-podcast inference: true tags: - speech - audio - wav2vec2 - audio-classification - emotion-recognition license: cc-by-nc-sa-4.0 pipeline_tag: audio-classification --- # Model for Dimensional Speech Emotion Recognition based on Wav2vec 2.0 The model expects a raw audio signal as input and outputs predictions for arousal, dominance and valence in a range of approximately 0...1. In addition, it also provides the pooled states of the last transformer layer. The model was created by fine-tuning [ Wav2Vec2-Large-Robust](https://huggingface.co/facebook/wav2vec2-large-robust) on [MSP-Podcast](https://ecs.utdallas.edu/research/researchlabs/msp-lab/MSP-Podcast.html) (v1.7). The model was pruned from 24 to 12 transformer layers before fine-tuning. An [ONNX](https://onnx.ai/") export of the model is available from [doi:10.5281/zenodo.6221127](https://zenodo.org/record/6221127). Further details are given in the associated [paper](https://arxiv.org/abs/2203.07378) and [tutorial](https://github.com/audeering/w2v2-how-to). # Usage ```python import numpy as np import torch import torch.nn as nn from transformers import Wav2Vec2Processor from transformers.models.wav2vec2.modeling_wav2vec2 import ( Wav2Vec2Model, Wav2Vec2PreTrainedModel, ) class RegressionHead(nn.Module): r"""Classification head.""" def __init__(self, config): super().__init__() self.dense = nn.Linear(config.hidden_size, config.hidden_size) self.dropout = nn.Dropout(config.final_dropout) self.out_proj = nn.Linear(config.hidden_size, config.num_labels) def forward(self, features, **kwargs): x = features x = self.dropout(x) x = self.dense(x) x = torch.tanh(x) x = self.dropout(x) x = self.out_proj(x) return x class EmotionModel(Wav2Vec2PreTrainedModel): r"""Speech emotion classifier.""" def __init__(self, config): super().__init__(config) self.config = config self.wav2vec2 = Wav2Vec2Model(config) self.classifier = RegressionHead(config) self.init_weights() def forward( self, input_values, ): outputs = self.wav2vec2(input_values) hidden_states = outputs[0] hidden_states = torch.mean(hidden_states, dim=1) logits = self.classifier(hidden_states) return hidden_states, logits # load model from hub device = 'cpu' model_name = 'audeering/wav2vec2-large-robust-12-ft-emotion-msp-dim' processor = Wav2Vec2Processor.from_pretrained(model_name) model = EmotionModel.from_pretrained(model_name) # dummy signal sampling_rate = 16000 signal = np.zeros((1, sampling_rate), dtype=np.float32) def process_func( x: np.ndarray, sampling_rate: int, embeddings: bool = False, ) -> np.ndarray: r"""Predict emotions or extract embeddings from raw audio signal.""" # run through processor to normalize signal # always returns a batch, so we just get the first entry # then we put it on the device y = processor(x, sampling_rate=sampling_rate) y = y['input_values'][0] y = y.reshape(1, -1) y = torch.from_numpy(y).to(device) # run through model with torch.no_grad(): y = model(y)[0 if embeddings else 1] # convert to numpy y = y.detach().cpu().numpy() return y print(process_func(signal, sampling_rate)) # Arousal dominance valence # [[0.5460754 0.6062266 0.40431657]] print(process_func(signal, sampling_rate, embeddings=True)) # Pooled hidden states of last transformer layer # [[-0.00752167 0.0065819 -0.00746342 ... 0.00663632 0.00848748 # 0.00599211]] ```
[ -0.3698611259460449, -0.5360963344573975, 0.2894861102104187, 0.1626199632883072, -0.016998790204524994, -0.2527417242527008, -0.28833073377609253, -0.2559646964073181, -0.034094858914613724, 0.13107582926750183, -0.7821449637413025, -0.5872862339019775, -0.6078212261199951, -0.3464004099369049, -0.12771481275558472, 0.8777744770050049, 0.08830411732196808, -0.08108404278755188, 0.03639461100101471, -0.07505998760461807, -0.4524356722831726, -0.4195865988731384, -0.6046194434165955, -0.5613119602203369, 0.1552370935678482, 0.25154033303260803, 0.1935398280620575, 0.12103348970413208, 0.21077711880207062, 0.4153818190097809, -0.22452831268310547, -0.1891283094882965, -0.47243499755859375, 0.04016132652759552, 0.447333961725235, -0.5833553671836853, -0.4281938374042511, 0.2428884208202362, 0.42179763317108154, -0.0007539000944234431, -0.16343702375888824, 0.31822213530540466, -0.00838557444512844, 0.5258232355117798, -0.5036972165107727, 0.3086526095867157, -0.4559626579284668, 0.2923894226551056, 0.10481137782335281, -0.13510651886463165, -0.44384217262268066, -0.20516031980514526, 0.30429187417030334, -0.2570914924144745, 0.24337607622146606, -0.37620505690574646, 0.9333771467208862, 0.3926489055156708, -0.375940203666687, -0.19716466963291168, -0.779310941696167, 0.8335549235343933, -0.9098020792007446, 0.42473292350769043, 0.5457825660705566, 0.09585500508546829, 0.018439089879393578, -0.8368421196937561, -0.6052199602127075, -0.011506176553666592, 0.28788885474205017, 0.4499562382698059, -0.599553644657135, 0.10834109783172607, 0.4727764427661896, 0.24170035123825073, -0.5405487418174744, 0.06155627220869064, -0.4594476819038391, -0.33996355533599854, 0.6921115517616272, 0.04809270426630974, 0.1299397200345993, -0.21828202903270721, -0.25636783242225647, -0.4500199258327484, -0.004442194942384958, 0.4885401129722595, 0.40118592977523804, 0.13436514139175415, -0.49848273396492004, 0.5323898792266846, 0.019237669184803963, 0.30310726165771484, 0.2186913937330246, -0.3808687627315521, 0.806986927986145, 0.16486670076847076, -0.3407439589500427, 0.32220032811164856, 0.9303935766220093, 0.41249963641166687, 0.1764560043811798, 0.32307761907577515, -0.12134264409542084, 0.3035557270050049, 0.09556478261947632, -0.8315131068229675, -0.4808034598827362, 0.7144237160682678, -0.4412543475627899, -0.29239174723625183, -0.26085540652275085, -0.7596253156661987, -0.24231164157390594, -0.17484593391418457, 0.9042608141899109, -0.55987948179245, -0.4452996551990509, 0.032237835228443146, -0.2701023519039154, 0.24459636211395264, -0.10803136229515076, -0.9189150333404541, 0.20252065360546112, 0.4159168601036072, 0.9678190350532532, 0.13604234158992767, -0.06862188130617142, -0.19759181141853333, -0.3818196654319763, -0.06904522329568863, 0.37177908420562744, -0.1702267974615097, -0.43607592582702637, -0.18194857239723206, -0.041214585304260254, -0.08750862628221512, -0.5170111656188965, 0.751772940158844, -0.30199122428894043, 0.3312828242778778, -0.08103741705417633, -0.5141956806182861, -0.4133910536766052, -0.214705228805542, -0.3268275260925293, 1.2230404615402222, 0.11859820038080215, -0.9114855527877808, -0.04669644683599472, -0.40100398659706116, -0.24831505119800568, -0.4738463759422302, 0.05786887928843498, -0.6930341720581055, 0.07310786098241806, 0.08252297341823578, 0.6756982207298279, -0.062352437525987625, -0.028263039886951447, -0.28036555647850037, -0.42053285241127014, 0.38014382123947144, -0.3740459680557251, 0.9726834893226624, 0.273785263299942, -0.625251829624176, 0.2729845345020294, -1.0063369274139404, 0.1262674778699875, 0.10047967731952667, -0.260936439037323, -0.08058545738458633, -0.032628387212753296, 0.18018928170204163, 0.5716878175735474, 0.026311928406357765, -0.634831964969635, -0.13571791350841522, -0.4836890995502472, 0.7067216038703918, 0.6426685452461243, -0.07171311229467392, 0.18262837827205658, -0.09743397682905197, 0.2902098298072815, 0.14077670872211456, -0.08406315743923187, 0.16805163025856018, -0.5695692300796509, -0.7403377890586853, -0.47602152824401855, 0.02009006403386593, 0.6846079230308533, -0.2014116793870926, 0.7702709436416626, 0.11278926581144333, -0.8871027827262878, -0.7498722076416016, -0.41233885288238525, 0.20971211791038513, 0.7779439687728882, 0.5489740371704102, -0.1117250993847847, -0.8612150549888611, -0.7325605154037476, 0.1889580339193344, -0.10434041917324066, -0.3157409131526947, 0.3831444978713989, 0.48546135425567627, -0.4289513826370239, 0.7631741762161255, -0.49861857295036316, -0.340413898229599, -0.0431741364300251, 0.4178919196128845, 0.5553813576698303, 0.6199241280555725, 0.322550892829895, -0.5539329051971436, -0.18787826597690582, -0.24648700654506683, -0.7885004281997681, -0.14368398487567902, -0.013969795778393745, -0.10767658799886703, 0.2844187617301941, 0.20770412683486938, -0.6899447441101074, 0.42258045077323914, 0.42593827843666077, -0.28498876094818115, 0.6230446100234985, -0.17148202657699585, 0.020435646176338196, -1.0521860122680664, -0.10659950971603394, 0.2805365025997162, 0.06654835492372513, -0.7486332654953003, -0.5092595219612122, 0.011831901967525482, -0.06778939813375473, -0.46296876668930054, 0.2783218026161194, -0.36471235752105713, -0.09912590682506561, -0.23751817643642426, 0.26354724168777466, -0.25116270780563354, 0.8239542245864868, 0.142414391040802, 0.2854788303375244, 0.8416430950164795, -0.48992863297462463, 0.6124326586723328, 0.29257404804229736, -0.1806335151195526, 0.5102249979972839, -0.8869596719741821, 0.22065100073814392, -0.03779907152056694, 0.1750989705324173, -1.2596828937530518, -0.12489401549100876, 0.03281870484352112, -0.868885338306427, 0.4523566663265228, -0.14887209236621857, -0.12652504444122314, -0.562692403793335, -0.3392840325832367, 0.3119409382343292, 1.0748389959335327, -0.5408576726913452, 0.5776253342628479, 0.5237793326377869, -0.008408197201788425, -0.5942736864089966, -1.0076051950454712, -0.41435131430625916, -0.27035948634147644, -0.8298153877258301, 0.19159969687461853, 0.11275545507669449, 0.04387841373682022, -0.19648145139217377, -0.20174603164196014, 0.16644331812858582, -0.06454063206911087, 0.6437467932701111, 0.2963196039199829, -0.11816111207008362, 0.1305479258298874, -0.0549066998064518, -0.14450055360794067, 0.4789685606956482, -0.06201556697487831, 0.785582423210144, -0.26755309104919434, -0.015736239030957222, -1.0259159803390503, 0.19564904272556305, 0.49813324213027954, -0.20432552695274353, 0.4967781901359558, 1.2336763143539429, -0.5675926804542542, -0.16265219449996948, -0.3730802834033966, -0.23471499979496002, -0.5302816033363342, 0.7802236080169678, -0.4314200282096863, -0.6994177103042603, 0.7765857577323914, 0.10569573938846588, -0.14561298489570618, 0.7743960022926331, 0.9194017648696899, -0.17305471003055573, 1.3047478199005127, 0.4664416015148163, -0.018794169649481773, 0.4486992657184601, -0.7645378708839417, 0.23944614827632904, -1.0445520877838135, -0.6263859868049622, -0.3792969584465027, -0.5502851009368896, -0.7442267537117004, -0.34155580401420593, 0.4777788519859314, 0.13870997726917267, -0.507401168346405, 0.1777513325214386, -0.7195435762405396, -0.060760557651519775, 0.6051024198532104, 0.23458196222782135, -0.3305765986442566, 0.12906722724437714, -0.06998652219772339, -0.21219578385353088, -0.45518019795417786, -0.2411315143108368, 0.9455369710922241, 0.6656715869903564, 0.7240650057792664, -0.09279226511716843, 0.7178568840026855, 0.014815335161983967, -0.14374279975891113, -1.021546721458435, 0.493438720703125, 0.009545058943331242, -0.33669033646583557, -0.1912510246038437, -0.4383554756641388, -0.7506394982337952, 0.15430547297000885, -0.27076172828674316, -1.1923151016235352, 0.4328773319721222, 0.12264671176671982, -0.41163021326065063, 0.37430375814437866, -0.72853684425354, 0.7765047550201416, 0.11456633359193802, -0.3511471450328827, -0.16547547280788422, -0.7827120423316956, 0.40156444907188416, 0.13807164132595062, -0.0697382241487503, -0.22529198229312897, 0.35141482949256897, 1.1182005405426025, -0.3390405476093292, 0.6896104216575623, -0.3568406403064728, 0.0373547300696373, 0.5300224423408508, -0.09799831360578537, 0.34440574049949646, -0.23101365566253662, -0.23591072857379913, 0.1922268122434616, 0.0002076824166579172, -0.14640261232852936, -0.3503344655036926, 0.646098792552948, -1.200620412826538, -0.18228846788406372, -0.38515472412109375, -0.5402496457099915, -0.2570650577545166, -0.1632615476846695, 0.817990243434906, 0.5756152868270874, 0.08285095542669296, 0.1873828023672104, 0.6720276474952698, -0.3031999170780182, 0.5695993304252625, -0.02370123565196991, 0.021564465016126633, -0.4847051501274109, 0.9170213341712952, 0.15629346668720245, 0.1904909759759903, 0.04783402383327484, 0.27233558893203735, -0.5448984503746033, -0.0966324508190155, -0.048306457698345184, 0.20651979744434357, -0.6206391453742981, -0.20199696719646454, -0.8605015873908997, -0.407748281955719, -0.6121319532394409, 0.025916924700140953, -0.6170415878295898, -0.37734323740005493, -0.6395927667617798, -0.09761108458042145, 0.5946918725967407, 0.4123868942260742, -0.3953395485877991, 0.2906554341316223, -0.6580165028572083, 0.36743438243865967, 0.5338097214698792, 0.11855953186750412, 0.1311122179031372, -1.053774118423462, -0.09998674690723419, 0.1717323362827301, -0.39809003472328186, -1.1186519861221313, 0.6030640602111816, 0.17273899912834167, 0.44477322697639465, 0.5135690569877625, 0.1185675784945488, 0.536870002746582, -0.21384894847869873, 0.8819580078125, 0.38476237654685974, -1.2059003114700317, 0.7425510883331299, -0.13926011323928833, 0.16175253689289093, -0.012725356966257095, 0.5013198852539062, -0.5601294636726379, -0.05309528112411499, -0.7486824989318848, -1.1143888235092163, 1.1343023777008057, 0.3491117060184479, 0.03786797448992729, 0.3073798716068268, 0.23096267879009247, -0.31917619705200195, 0.07817164808511734, -0.6311755180358887, -0.56376713514328, -0.4986664056777954, -0.3938271701335907, -0.16631349921226501, -0.4394063353538513, -0.10303335636854172, -0.4824606776237488, 0.8472553491592407, 0.21387894451618195, 0.9004482626914978, 0.41863444447517395, 0.17942631244659424, -0.18410252034664154, 0.18570475280284882, 0.6475285291671753, -0.07089409232139587, -0.6604694128036499, 0.2628953158855438, 0.30032333731651306, -0.6588324308395386, 0.25845783948898315, 0.08809982985258102, 0.15390796959400177, -0.005367144476622343, 0.328631728887558, 1.3260819911956787, -0.12842288613319397, -0.32872721552848816, 0.48479384183883667, -0.15730001032352448, -0.3283838629722595, -0.4356488883495331, 0.1143740564584732, 0.27153363823890686, 0.6190750598907471, 0.27941790223121643, 0.2600938081741333, 0.1295134723186493, -0.4214874505996704, 0.14359277486801147, 0.2506134808063507, -0.5388606190681458, -0.4636346995830536, 0.9592873454093933, -0.03033435344696045, -0.47831833362579346, 0.7513188123703003, -0.0691957175731659, -0.6687172651290894, 0.7535686492919922, 0.6309278607368469, 1.2248406410217285, -0.3831354081630707, 0.10243269056081772, 0.7051081657409668, 0.05194221809506416, -0.09822329878807068, 0.6170463562011719, -0.0009657316841185093, -0.6655861735343933, -0.015224074944853783, -0.6012372970581055, -0.12038477510213852, 0.17732052505016327, -0.8851442933082581, 0.2505066394805908, -0.39528656005859375, -0.4747295379638672, 0.09928309917449951, 0.18857960402965546, -0.609316349029541, 0.40520888566970825, 0.5027956962585449, 0.7637317776679993, -1.0895668268203735, 0.8791391849517822, 0.37062200903892517, -0.25356605648994446, -1.1359436511993408, -0.2290021777153015, 0.11932271718978882, -0.6679702997207642, 0.404206782579422, 0.31939494609832764, -0.30293789505958557, 0.17172132432460785, -0.5538665056228638, -0.8542739152908325, 1.1758677959442139, 0.30326932668685913, -0.48222875595092773, 0.3563968539237976, -0.1924746036529541, 0.7692400217056274, -0.17981858551502228, 0.4411168396472931, 0.8499407768249512, 0.3606620728969574, 0.16082115471363068, -0.7088881134986877, -0.006471280008554459, -0.3899332880973816, -0.1183176338672638, -0.03005954623222351, -0.5707470774650574, 1.2419836521148682, -0.5048167109489441, -0.1105184480547905, -0.05516694113612175, 0.8265329599380493, 0.48157578706741333, 0.3452747166156769, 0.5059618353843689, 0.6917688250541687, 0.8518994450569153, -0.3249869644641876, 0.8270872831344604, -0.06872937083244324, 0.7434002757072449, 0.9123926758766174, -0.021595710888504982, 1.093013048171997, 0.24940498173236847, -0.44952651858329773, 0.443523108959198, 0.7505483627319336, -0.20718862116336823, 0.6491451859474182, 0.2388693243265152, -0.2487514168024063, -0.0465521514415741, 0.19069869816303253, -0.6492790579795837, 0.6358355283737183, 0.31333884596824646, -0.290361613035202, 0.2633122503757477, 0.25137609243392944, 0.1273871511220932, -0.42540332674980164, -0.2534293234348297, 0.5581004023551941, 0.07647287845611572, -0.2997969686985016, 0.9072709083557129, 0.05460937321186066, 0.8629056811332703, -0.4187909960746765, 0.10697658360004425, 0.03943813964724541, 0.28468307852745056, -0.5661749839782715, -0.7600910067558289, 0.10855446755886078, -0.020847376435995102, -0.2258322834968567, 0.1386449784040451, 0.545766294002533, -0.7028413414955139, -0.3712410628795624, 0.5174610018730164, 0.0075354729779064655, 0.3916190564632416, -0.22568121552467346, -0.645038902759552, 0.1847757250070572, 0.08854801952838898, -0.6742192506790161, 0.030621571466326714, 0.3311886489391327, 0.3920678198337555, 0.4984242916107178, 0.4444422423839569, -0.009199468418955803, 0.2780649662017822, 0.0445096455514431, 0.6470116972923279, -0.6353840231895447, -0.5280953049659729, -0.7702754735946655, 0.692943811416626, 0.18654413521289825, -0.4779335558414459, 0.5413400530815125, 0.38219043612480164, 0.6545257568359375, -0.14046189188957214, 0.5649732351303101, -0.11522870510816574, 0.3262908458709717, -0.39979130029678345, 0.7264110445976257, -0.6754818558692932, 0.10989212989807129, -0.41314128041267395, -0.6858792901039124, -0.061219438910484314, 0.9136752486228943, -0.22637033462524414, 0.3106953799724579, 0.41866353154182434, 0.9101479649543762, 0.08190861344337463, 0.10712330043315887, 0.31808558106422424, 0.6273753643035889, 0.17950759828090668, 0.7254810929298401, 0.588866651058197, -0.7546052932739258, 0.39881137013435364, -0.6933582425117493, -0.321515291929245, -0.18413451313972473, -0.5354413986206055, -0.6393397450447083, -0.8015086650848389, -0.5799028873443604, -0.6050339937210083, -0.3586804270744324, 1.0419542789459229, 0.8335754871368408, -0.836161732673645, -0.28073829412460327, 0.10604526102542877, -0.05155596137046814, -0.33445999026298523, -0.2365405112504959, 0.6153082251548767, 0.01687227375805378, -0.7652454376220703, 0.24004334211349487, -0.00481091532856226, 0.15385480225086212, -0.04369311034679413, -0.2279476523399353, -0.269422322511673, 0.020199375227093697, 0.5544582009315491, 0.25516679883003235, -0.6764837503433228, -0.2695541977882385, -0.16362203657627106, -0.16755244135856628, 0.27779656648635864, 0.288775235414505, -0.712939977645874, 0.47829294204711914, 0.6973021626472473, 0.10012621432542801, 0.840575635433197, -0.3228003978729248, 0.14624446630477905, -0.7687944769859314, 0.30097833275794983, 0.2665794789791107, 0.38935625553131104, 0.24867132306098938, -0.4058471620082855, 0.2532452642917633, 0.3594403862953186, -0.7868385314941406, -0.858224093914032, -0.1164734959602356, -1.53328275680542, -0.021618112921714783, 1.1512552499771118, -0.17731767892837524, -0.29986444115638733, 0.2504904270172119, -0.4217306971549988, 0.9015148282051086, -0.4262527525424957, 0.6472439169883728, 0.2540610730648041, -0.521958589553833, -0.26917582750320435, -0.5093847513198853, 0.5896837115287781, 0.26457303762435913, -0.5006385445594788, -0.07550399005413055, 0.31026992201805115, 0.4565938413143158, 0.2648427188396454, 0.5777550339698792, -0.02533699944615364, 0.212463840842247, 0.3353016972541809, 0.6589604020118713, 0.000008690539289091248, -0.07289056479930878, -0.8069612383842468, 0.19709013402462006, -0.4174996316432953, -0.6480667591094971 ]
ckpt/anything-v3.0
ckpt
2023-01-30T19:32:34Z
15,743
15
diffusers
[ "diffusers", "endpoints_compatible", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
null
2023-01-24T03:15:02Z
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 ]
laion/clap-htsat-fused
laion
2023-04-24T14:40:12Z
15,730
10
transformers
[ "transformers", "pytorch", "clap", "feature-extraction", "arxiv:2211.06687", "license:apache-2.0", "endpoints_compatible", "region:us" ]
feature-extraction
2023-02-16T20:45:11Z
--- license: apache-2.0 --- # Model card for CLAP Model card for CLAP: Contrastive Language-Audio Pretraining ![clap_image](https://s3.amazonaws.com/moonup/production/uploads/1678811100805-62441d1d9fdefb55a0b7d12c.png) # Table of Contents 0. [TL;DR](#TL;DR) 1. [Model Details](#model-details) 2. [Usage](#usage) 3. [Uses](#uses) 4. [Citation](#citation) # TL;DR The abstract of the paper states that: > Contrastive learning has shown remarkable success in the field of multimodal representation learning. In this paper, we propose a pipeline of contrastive language-audio pretraining to develop an audio representation by combining audio data with natural language descriptions. To accomplish this target, we first release LAION-Audio-630K, a large collection of 633,526 audio-text pairs from different data sources. Second, we construct a contrastive language-audio pretraining model by considering different audio encoders and text encoders. We incorporate the feature fusion mechanism and keyword-to-caption augmentation into the model design to further enable the model to process audio inputs of variable lengths and enhance the performance. Third, we perform comprehensive experiments to evaluate our model across three tasks: text-to-audio retrieval, zero-shot audio classification, and supervised audio classification. The results demonstrate that our model achieves superior performance in text-to-audio retrieval task. In audio classification tasks, the model achieves state-of-the-art performance in the zero-shot setting and is able to obtain performance comparable to models' results in the non-zero-shot setting. LAION-Audio-630K and the proposed model are both available to the public. # Usage You can use this model for zero shot audio classification or extracting audio and/or textual features. # Uses ## Perform zero-shot audio classification ### Using `pipeline` ```python from datasets import load_dataset from transformers import pipeline dataset = load_dataset("ashraq/esc50") audio = dataset["train"]["audio"][-1]["array"] audio_classifier = pipeline(task="zero-shot-audio-classification", model="laion/clap-htsat-fused") output = audio_classifier(audio, candidate_labels=["Sound of a dog", "Sound of vaccum cleaner"]) print(output) >>> [{"score": 0.999, "label": "Sound of a dog"}, {"score": 0.001, "label": "Sound of vaccum cleaner"}] ``` ## Run the model: You can also get the audio and text embeddings using `ClapModel` ### Run the model on CPU: ```python from datasets import load_dataset from transformers import ClapModel, ClapProcessor librispeech_dummy = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation") audio_sample = librispeech_dummy[0] model = ClapModel.from_pretrained("laion/clap-htsat-fused") processor = ClapProcessor.from_pretrained("laion/clap-htsat-fused") inputs = processor(audios=audio_sample["audio"]["array"], return_tensors="pt") audio_embed = model.get_audio_features(**inputs) ``` ### Run the model on GPU: ```python from datasets import load_dataset from transformers import ClapModel, ClapProcessor librispeech_dummy = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation") audio_sample = librispeech_dummy[0] model = ClapModel.from_pretrained("laion/clap-htsat-fused").to(0) processor = ClapProcessor.from_pretrained("laion/clap-htsat-fused") inputs = processor(audios=audio_sample["audio"]["array"], return_tensors="pt").to(0) audio_embed = model.get_audio_features(**inputs) ``` # Citation If you are using this model for your work, please consider citing the original paper: ``` @misc{https://doi.org/10.48550/arxiv.2211.06687, doi = {10.48550/ARXIV.2211.06687}, url = {https://arxiv.org/abs/2211.06687}, author = {Wu, Yusong and Chen, Ke and Zhang, Tianyu and Hui, Yuchen and Berg-Kirkpatrick, Taylor and Dubnov, Shlomo}, keywords = {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 = {Large-scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentation}, publisher = {arXiv}, year = {2022}, copyright = {Creative Commons Attribution 4.0 International} } ```
[ -0.5579565763473511, -0.6022632718086243, 0.27179887890815735, 0.041869718581438065, -0.2616811990737915, -0.19180428981781006, -0.3472695052623749, -0.27249762415885925, 0.0771460309624672, 0.2303164005279541, -0.536616325378418, -0.573536217212677, -0.6634620428085327, -0.20485733449459076, -0.44242408871650696, 0.9844186902046204, 0.19202713668346405, -0.008294413797557354, -0.06594136357307434, -0.23733294010162354, -0.43462836742401123, -0.42745792865753174, -0.47743141651153564, -0.4962741434574127, 0.15501044690608978, 0.16057991981506348, 0.40171006321907043, 0.568977415561676, 0.2763746678829193, 0.3970884084701538, -0.19949887692928314, -0.35190439224243164, -0.1793041080236435, -0.06181592121720314, 0.1873723268508911, -0.5301553010940552, -0.6609011888504028, 0.21601714193820953, 0.6230031847953796, 0.4432126581668854, -0.0972546935081482, 0.39506959915161133, 0.19658979773521423, 0.09953834861516953, -0.5959600806236267, 0.2070915400981903, -0.46533942222595215, -0.000011814032404799946, -0.10899949818849564, -0.3339702785015106, -0.29126834869384766, 0.08889320492744446, 0.09296620637178421, -0.6187755465507507, 0.40215563774108887, -0.118344247341156, 1.2292418479919434, 0.5211800932884216, -0.06559421122074127, -0.0944928526878357, -0.7335590720176697, 0.8710595369338989, -1.0647871494293213, 0.7197810411453247, 0.39932528138160706, 0.19052305817604065, 0.3040212392807007, -0.8218839764595032, -0.8451016545295715, -0.14514490962028503, 0.11593697965145111, 0.4893646538257599, -0.1487434059381485, 0.12644658982753754, 0.3591158390045166, 0.5635574460029602, -0.5102089643478394, 0.15250059962272644, -0.3651384115219116, -0.17692646384239197, 0.4666043817996979, -0.17801982164382935, 0.25269246101379395, -0.28082409501075745, -0.4217745065689087, -0.7278124094009399, -0.38832420110702515, 0.15624646842479706, 0.45385921001434326, 0.3333906829357147, -0.7347508668899536, 0.346786230802536, 0.05275362730026245, 0.4800514876842499, 0.1944795697927475, -0.4485313594341278, 0.7881861329078674, -0.2871094346046448, -0.2051461935043335, 0.3088865876197815, 1.1329716444015503, 0.033449120819568634, -0.002304789377376437, 0.27085670828819275, -0.3288167119026184, 0.26519834995269775, -0.049059707671403885, -0.7071171402931213, -0.276609867811203, 0.39858806133270264, -0.3089950382709503, -0.13251419365406036, -0.021304218098521233, -0.6131368279457092, 0.017137793824076653, -0.46034181118011475, 0.9766067862510681, -0.5922384858131409, -0.40803033113479614, 0.1711874157190323, -0.28053849935531616, 0.1978960782289505, -0.17664051055908203, -0.8925288915634155, 0.16286064684391022, 0.4326985776424408, 0.7242223620414734, 0.10355915874242783, -0.3725811839103699, -0.5844021439552307, 0.13358132541179657, 0.02028729021549225, 0.57197505235672, -0.35003259778022766, -0.31136608123779297, -0.07987581938505173, -0.17038246989250183, -0.14352010190486908, -0.6771395206451416, 0.7081981301307678, -0.12187719345092773, 0.366809219121933, 0.22044633328914642, -0.49048784375190735, -0.23515769839286804, -0.10124760866165161, -0.5239576101303101, 0.9846314787864685, -0.11107601970434189, -0.9497647285461426, 0.2484140694141388, -0.6771577596664429, -0.37448370456695557, -0.2640153765678406, -0.16621379554271698, -0.6593846678733826, -0.06463970988988876, 0.4651959538459778, 0.46464473009109497, -0.3337286114692688, 0.3905760645866394, -0.32188722491264343, -0.679355263710022, 0.23683378100395203, -0.626268744468689, 0.8910443782806396, 0.17557017505168915, -0.6772063970565796, 0.27208417654037476, -0.8720647096633911, -0.2440127432346344, 0.09558278322219849, -0.2315053641796112, 0.05090727657079697, -0.1394839584827423, 0.215902179479599, 0.24793373048305511, 0.07998967915773392, -0.38312000036239624, -0.45172610878944397, -0.5014991164207458, 0.43221500515937805, 0.5883322358131409, -0.37610214948654175, 0.3355603516101837, -0.5005964636802673, 0.46091243624687195, 0.15892495214939117, 0.017824701964855194, -0.5249859094619751, -0.3024444580078125, -0.933495283126831, -0.5395711660385132, 0.5810415148735046, 0.6402746438980103, -0.5054062008857727, 0.7897853255271912, -0.31233108043670654, -0.5203410983085632, -1.1537449359893799, -0.12196893244981766, 0.45651865005493164, 0.6383429765701294, 0.7540080547332764, -0.316282719373703, -0.6739664673805237, -0.8315208554267883, 0.06460653990507126, -0.18162193894386292, -0.3810470402240753, 0.4841907322406769, 0.3422395586967468, -0.3827645480632782, 0.7287461161613464, -0.38727691769599915, -0.5441458821296692, -0.145796537399292, 0.4527050852775574, 0.6883000135421753, 0.7595136165618896, 0.3836876153945923, -0.6051366925239563, -0.26446548104286194, -0.2485179752111435, -0.7906361222267151, -0.2646024525165558, -0.034048713743686676, 0.2141818255186081, -0.10005399584770203, 0.5174630880355835, -0.6976320147514343, 0.15519557893276215, 0.5387471318244934, 0.03934439271688461, 0.6773899793624878, -0.03677443414926529, 0.19465559720993042, -1.0875043869018555, 0.17501866817474365, -0.0702800452709198, -0.04265936464071274, -0.5194002985954285, -0.2277931571006775, -0.20700538158416748, -0.31512176990509033, -0.6357740759849548, 0.5872684717178345, -0.3823299705982208, -0.038126032799482346, -0.2653142809867859, 0.38630589842796326, -0.12058788537979126, 0.749587893486023, 0.15947936475276947, 0.6931734085083008, 0.9517045021057129, -0.7652173042297363, 0.14990559220314026, 0.34868600964546204, -0.29636305570602417, 0.5154774188995361, -0.8878821134567261, 0.18772394955158234, -0.07710769027471542, 0.21842361986637115, -1.075055718421936, -0.08890797942876816, 0.07340748608112335, -0.7908116579055786, 0.654567301273346, -0.0580718107521534, -0.5212548971176147, -0.3133450448513031, -0.1741332709789276, 0.6377699375152588, 0.7181582450866699, -0.6380134224891663, 0.6965346932411194, 0.5305536389350891, -0.2526560425758362, -0.6285502910614014, -0.5660682916641235, -0.4607084095478058, -0.35083141922950745, -0.5276527404785156, 0.555097758769989, -0.0815139189362526, 0.11970899254083633, -0.11116423457860947, -0.18713979423046112, 0.11795948445796967, -0.17488844692707062, 0.3953220546245575, 0.3420480787754059, -0.389998197555542, 0.14922809600830078, -0.11535543203353882, -0.26908770203590393, -0.015306735411286354, -0.04945715516805649, 0.8282128572463989, -0.15736672282218933, -0.321638822555542, -0.7861769199371338, 0.09111914038658142, 0.3626789450645447, -0.3793092668056488, 0.30477476119995117, 1.155936598777771, -0.05236397311091423, 0.08556538075208664, -0.6269941329956055, -0.40876710414886475, -0.5562490820884705, 0.6144180297851562, -0.2656921446323395, -0.7347483038902283, 0.46088165044784546, -0.0008867334108799696, -0.08470594137907028, 0.5888230204582214, 0.43730348348617554, -0.2686937153339386, 1.0144964456558228, 0.49716266989707947, -0.06526605784893036, 0.6022071242332458, -0.6441019177436829, 0.024776438251137733, -0.9159711599349976, -0.04272821173071861, -0.5565492510795593, -0.2993253767490387, -0.5616756677627563, -0.46172311902046204, 0.34172913432121277, 0.15933823585510254, -0.4422627091407776, 0.3888486623764038, -0.4156121611595154, 0.04636881500482559, 0.6797526478767395, 0.01802271045744419, -0.03400873392820358, -0.01051642931997776, -0.30089831352233887, -0.09728197008371353, -0.6908453106880188, -0.2685092091560364, 0.9818569421768188, 0.5980100631713867, 0.6052509546279907, -0.1170908585190773, 0.8543389439582825, -0.025544706732034683, 0.07684499770402908, -0.7117987871170044, 0.46405142545700073, -0.21231669187545776, -0.5720175504684448, -0.22515100240707397, -0.334825724363327, -0.813349723815918, 0.33806732296943665, -0.3839928209781647, -0.5632210969924927, 0.11063208431005478, 0.15639950335025787, -0.3753279447555542, 0.30785396695137024, -0.7699103355407715, 0.786117672920227, -0.16626384854316711, -0.31418415904045105, -0.04825884848833084, -0.5673937201499939, 0.25203874707221985, 0.08037938177585602, 0.37916234135627747, -0.03258595988154411, 0.3163115084171295, 1.1142826080322266, 0.022786187008023262, 0.7894435524940491, -0.2895442247390747, 0.025878727436065674, 0.35610759258270264, -0.3204266428947449, 0.1433427780866623, -0.12969964742660522, 0.051027946174144745, 0.40855905413627625, -0.06788884848356247, -0.16919244825839996, -0.42414647340774536, 0.5189950466156006, -0.9740146994590759, -0.6285873055458069, -0.2635253369808197, -0.6252647638320923, -0.3122082054615021, 0.1793815940618515, 0.5604699850082397, 0.48539668321609497, 0.05838802084326744, 0.37037742137908936, 0.613114058971405, -0.4407612383365631, 0.6858818531036377, 0.36195969581604004, -0.17472775280475616, -0.6341360211372375, 1.0201102495193481, -0.024825163185596466, 0.19452321529388428, 0.36044076085090637, 0.24642717838287354, -0.584384024143219, -0.40917035937309265, -0.06758707016706467, 0.4875592887401581, -0.5544999241828918, -0.09839005023241043, -0.7124772667884827, -0.3658278286457062, -0.6036820411682129, 0.10159675031900406, -0.6949144601821899, -0.17922765016555786, -0.5435056090354919, -0.040667880326509476, 0.06487738341093063, 0.22764450311660767, -0.22405193746089935, 0.6433947086334229, -0.8323314189910889, 0.6204956769943237, 0.3681402802467346, 0.28697291016578674, -0.00558291794732213, -1.1294478178024292, -0.21733582019805908, 0.05817783251404762, -0.5213554501533508, -0.7980692982673645, 0.4573516845703125, 0.17699956893920898, 0.7222803235054016, 0.5633846521377563, -0.056533537805080414, 0.7564858794212341, -0.42612817883491516, 0.7967646718025208, 0.5179837942123413, -1.0856785774230957, 0.6410621404647827, -0.43422502279281616, 0.5883607864379883, 0.4363469183444977, 0.4452633857727051, -0.20723164081573486, -0.2785005569458008, -0.9242497086524963, -1.0380208492279053, 0.8563512563705444, 0.2708011269569397, 0.13684193789958954, 0.19761040806770325, -0.18439094722270966, -0.02003229409456253, 0.2544673681259155, -0.8458943963050842, -0.41652360558509827, -0.5559828877449036, -0.21353842318058014, -0.39481937885284424, -0.12882794439792633, -0.08010691404342651, -0.5816750526428223, 0.8538954854011536, -0.008032942190766335, 0.6265392303466797, 0.16841121017932892, -0.13138353824615479, 0.22469086945056915, 0.42660510540008545, 0.531211256980896, 0.1046912670135498, -0.49102023243904114, 0.17648661136627197, 0.17911960184574127, -0.49958336353302, 0.15725481510162354, 0.27879267930984497, 0.022134078666567802, 0.18401606380939484, 0.5216314196586609, 1.3701928853988647, 0.4936983287334442, -0.5544446706771851, 0.5827451944351196, 0.0939759835600853, -0.3288133442401886, -0.4480099081993103, 0.08610370010137558, 0.2922845780849457, 0.25098535418510437, 0.3244681656360626, 0.0015919997822493315, 0.016371246427297592, -0.5183272361755371, 0.35066187381744385, 0.21550944447517395, -0.6483480334281921, -0.4331701993942261, 1.06646728515625, 0.018942732363939285, -0.33917829394340515, 0.5852128863334656, 0.16403715312480927, -0.3687554597854614, 0.4393250644207001, 0.7470085024833679, 1.0314024686813354, -0.44769740104675293, 0.05762704089283943, 0.6776891350746155, -0.03327494114637375, 0.025678131729364395, 0.1988658457994461, -0.36046236753463745, -0.6262271404266357, -0.37104499340057373, -0.8721675276756287, -0.17429527640342712, 0.44139400124549866, -0.6935956478118896, 0.48694276809692383, -0.35795485973358154, -0.443864107131958, 0.12994500994682312, -0.21674410998821259, -0.7908464670181274, 0.33838310837745667, 0.36432385444641113, 0.5752366781234741, -0.9166386127471924, 0.8528851866722107, 0.5125826597213745, -0.7342913150787354, -0.9915469884872437, -0.014234885573387146, -0.18510347604751587, -0.44812795519828796, 0.5808281898498535, 0.34034380316734314, -0.11569734662771225, 0.02373320423066616, -0.5367014408111572, -0.7619204521179199, 1.0513739585876465, 0.6044344902038574, -0.6802184581756592, 0.11078651249408722, 0.11318563669919968, 0.5514260530471802, -0.37798452377319336, 0.5899948477745056, 0.5063700675964355, 0.46866506338119507, 0.1345609724521637, -1.1341514587402344, -0.19073325395584106, -0.4245664179325104, -0.35941827297210693, -0.19884227216243744, -0.5292512774467468, 1.2285757064819336, -0.18895688652992249, -0.16666275262832642, -0.23353615403175354, 0.7679441571235657, 0.6937767863273621, 0.30803951621055603, 0.7478585839271545, 0.7448955774307251, 0.6062477231025696, -0.18265970051288605, 0.98531174659729, -0.21862418949604034, 0.36537060141563416, 1.2316715717315674, 0.004486045800149441, 1.0863873958587646, 0.4305479824542999, -0.4169495105743408, 0.4834647476673126, 0.31107163429260254, -0.13416005671024323, 0.5651624202728271, -0.01120602898299694, -0.21752512454986572, -0.3247518241405487, -0.17113302648067474, -0.5780014991760254, 0.789584219455719, 0.16764643788337708, -0.35632267594337463, 0.16589471697807312, 0.1383298933506012, -0.14746153354644775, -0.11613371968269348, -0.04037380591034889, 0.5908029079437256, 0.31205102801322937, -0.38021424412727356, 0.9502898454666138, -0.2829228341579437, 1.1573419570922852, -0.5207213759422302, -0.03333166986703873, 0.07042304426431656, 0.20431600511074066, -0.1986664980649948, -0.5888171195983887, 0.002474937355145812, -0.21008922159671783, -0.2523965835571289, 0.023163480684161186, 0.37041544914245605, -0.6359044313430786, -0.2741159200668335, 0.664604127407074, 0.16869299113750458, 0.1877080351114273, -0.06758471578359604, -0.7572492957115173, 0.19390904903411865, -0.028548061847686768, -0.10031020641326904, 0.27943819761276245, 0.08342431485652924, 0.38538819551467896, 0.40670886635780334, 0.7444666028022766, 0.20283930003643036, 0.17181998491287231, 0.32291409373283386, 0.6276113390922546, -0.7074112296104431, -0.7576648592948914, -0.5613436698913574, 0.7052302956581116, 0.053400274366140366, -0.16433778405189514, 0.548930823802948, 0.6171466112136841, 0.9190502762794495, -0.1792590618133545, 0.7117118239402771, 0.1526145190000534, 0.6295388340950012, -0.47035419940948486, 0.8881908655166626, -0.7282818555831909, 0.40241703391075134, -0.545263409614563, -0.9620383977890015, -0.07135073095560074, 0.6283676028251648, -0.14165857434272766, 0.2601795196533203, 0.5928078293800354, 0.9076812267303467, -0.386701762676239, -0.04541906341910362, 0.362244188785553, 0.4329492151737213, 0.2834257483482361, 0.40759021043777466, 0.6207693815231323, -0.9252468347549438, 0.6381641030311584, -0.4483635425567627, -0.1005244106054306, 0.006160882767289877, -0.5400466918945312, -0.8086466789245605, -0.7796749472618103, -0.5085523724555969, -0.23729760944843292, -0.20164619386196136, 0.6404998898506165, 0.8691381812095642, -0.9534242153167725, -0.4431367516517639, 0.27794530987739563, -0.027587253600358963, -0.3401946425437927, -0.25575655698776245, 0.648678719997406, -0.17408685386180878, -0.9419078230857849, 0.5912764668464661, -0.01072639785706997, 0.2025294005870819, -0.010287984274327755, -0.34945428371429443, -0.5181456804275513, -0.010514378547668457, 0.46214887499809265, 0.2532939910888672, -0.6792847514152527, -0.1699998825788498, -0.1897621750831604, 0.12176854908466339, 0.3100323975086212, 0.3791177570819855, -0.7817175984382629, 0.4952157735824585, 0.5653542876243591, 0.3679172098636627, 0.9071789383888245, -0.1608080267906189, 0.34575483202934265, -0.7963700890541077, 0.5495249629020691, 0.2098340094089508, 0.39540600776672363, 0.5097371339797974, 0.13740050792694092, 0.23172609508037567, 0.3183194100856781, -0.4211648404598236, -0.9769936203956604, -0.21665528416633606, -1.2563776969909668, -0.18316102027893066, 1.1937702894210815, -0.01206262968480587, -0.24132362008094788, 0.022859102115035057, -0.209189310669899, 0.8469212055206299, -0.34280574321746826, 0.5629527568817139, 0.3583697974681854, 0.10343455523252487, -0.3764377236366272, -0.6003104448318481, 0.4588161110877991, 0.5918840169906616, -0.4098902940750122, -0.3002907633781433, 0.15072008967399597, 0.3962361216545105, 0.5064221024513245, 0.6681724786758423, -0.296871155500412, 0.2713563144207001, 0.35317346453666687, 0.43768417835235596, -0.2120545506477356, -0.2592780888080597, -0.4707653224468231, 0.3033062815666199, -0.2499856799840927, -0.48986172676086426 ]
textattack/roberta-base-ag-news
textattack
2021-05-20T22:15:20Z
15,724
2
transformers
[ "transformers", "pytorch", "jax", "roberta", "text-classification", "endpoints_compatible", "has_space", "region:us" ]
text-classification
2022-03-02T23:29:05Z
## TextAttack Model CardThis `roberta-base` model was fine-tuned for sequence classification using TextAttack and the ag_news dataset loaded using the `nlp` library. The model was fine-tuned for 5 epochs with a batch size of 16, a learning rate of 5e-05, and a maximum sequence length of 128. Since this was a classification task, the model was trained with a cross-entropy loss function. The best score the model achieved on this task was 0.9469736842105263, as measured by the eval set accuracy, found after 4 epochs. For more information, check out [TextAttack on Github](https://github.com/QData/TextAttack).
[ -0.17064371705055237, -0.49628764390945435, 0.3803999125957489, -0.12160634994506836, -0.34799641370773315, 0.07532569020986557, -0.15704196691513062, -0.4988876283168793, -0.21766580641269684, 0.2775510251522064, -0.45290395617485046, -0.791198194026947, -0.7654092311859131, 0.2413536161184311, -0.6516494750976562, 1.6330523490905762, 0.41441917419433594, 0.07074227929115295, 0.10814318805932999, -0.24009865522384644, -0.5926549434661865, -0.5240360498428345, -0.7229031324386597, -0.4077032506465912, 0.4593251645565033, 0.4496450126171112, 0.7907519340515137, 0.7797284126281738, 0.6252716779708862, 0.23535677790641785, -0.3539057970046997, 0.04246022552251816, -0.4145633578300476, -0.209680438041687, -0.16050884127616882, -0.7132980227470398, -0.6700906157493591, -0.007864334620535374, 0.6477425694465637, 0.05109270662069321, -0.20826168358325958, 0.5992913246154785, -0.18841220438480377, 0.7710205316543579, -0.314937949180603, -0.1691502332687378, -0.7206913232803345, 0.22365199029445648, -0.3252659738063812, -0.3668116331100464, -0.8524463772773743, -0.19764463603496552, 0.17350304126739502, -0.4121096730232239, 0.2551262080669403, 0.26639240980148315, 1.0879243612289429, 0.25720351934432983, -0.22744202613830566, 0.030322367325425148, -0.6445410847663879, 0.9513657689094543, -0.6739182472229004, 0.14815157651901245, 0.5345962047576904, 0.25599461793899536, 0.009643959812819958, -0.6253845691680908, -0.3900923728942871, 0.1780661940574646, 0.14721797406673431, -0.16745492815971375, -0.3413582146167755, -0.11726924777030945, 0.35481590032577515, 0.49775469303131104, -1.210861325263977, 0.09369350224733353, -0.6471900939941406, 0.003455349477007985, 0.8867300152778625, 0.3639403283596039, 0.1771065592765808, -0.36873143911361694, -0.30420470237731934, -0.19663327932357788, -0.21842893958091736, -0.22994700074195862, 0.45529046654701233, 0.2749978005886078, -0.23164407908916473, 0.40327686071395874, -0.04815375432372093, 1.0128040313720703, 0.1299799382686615, -0.07943133264780045, 0.608246922492981, 0.041736502200365067, -0.5930858254432678, -0.17195455729961395, 0.8409549593925476, 0.18438686430454254, 0.19763056933879852, -0.0705464705824852, -0.08576738089323044, -0.06688469648361206, 0.48197507858276367, -0.5496059656143188, -0.2459716945886612, 0.3698706328868866, -0.6640327572822571, -0.5381342172622681, 0.24305854737758636, -0.6144626140594482, -0.13916337490081787, -0.29015636444091797, 0.47147586941719055, -0.7535983920097351, 0.14671683311462402, 0.21219545602798462, -0.5087257027626038, 0.27347731590270996, 0.24443960189819336, -0.7230406999588013, 0.25389549136161804, 0.5684621930122375, 1.2022801637649536, -0.3578236401081085, -0.03661789372563362, -0.1804286539554596, -0.23582576215267181, -0.1013091653585434, 0.8057830929756165, -0.43249836564064026, -0.27776774764060974, -0.3626212775707245, -0.044108983129262924, 0.1375209242105484, -0.1963425576686859, 0.7846956253051758, -0.5977473855018616, 0.4550568759441376, 0.3742614984512329, -0.6649904251098633, -0.5568044781684875, 0.2852843999862671, -0.7516910433769226, 0.9465856552124023, 0.39270657300949097, -0.7209175229072571, 0.404724657535553, -0.5395616888999939, -0.3514508008956909, 0.23919552564620972, 0.2284003645181656, -0.7551788091659546, 0.19859369099140167, -0.0892406776547432, 0.5120752453804016, -0.4219663739204407, 0.2710668444633484, -0.08091127127408981, -0.34677785634994507, 0.1882898360490799, -0.5500597357749939, 0.773902416229248, 0.3815416395664215, -0.11318720877170563, 0.131997212767601, -1.2998130321502686, 0.5421749353408813, -0.08777020871639252, -0.5181301832199097, -0.23591658473014832, -0.2630625367164612, 0.33151888847351074, 0.0415501669049263, -0.0028305600862950087, -0.2747669816017151, 0.41766026616096497, -0.3649100363254547, 0.5292171239852905, 0.6096498966217041, -0.0781412199139595, 0.439499169588089, -0.7516558766365051, 0.6165997385978699, -0.20289041101932526, 0.2482297420501709, -0.3757936656475067, -0.6975774168968201, -0.44139161705970764, -0.21393680572509766, 0.7099423408508301, 0.9665471315383911, -0.24171949923038483, 0.7765678763389587, -0.3509425222873688, -0.8964160084724426, -0.3240434527397156, -0.1905735731124878, 0.4007607698440552, 0.22985750436782837, 0.6132652163505554, -0.4615481197834015, -0.5040575265884399, -0.6451553106307983, -0.2281881421804428, -0.11938503384590149, -0.002445827703922987, 0.19428984820842743, 0.6097425222396851, -0.2258985936641693, 0.7298959493637085, -0.6375581622123718, -0.28470009565353394, -0.12978681921958923, 0.675433874130249, 0.36287811398506165, 0.6046563982963562, 0.530143678188324, -0.7649500370025635, -0.30485501885414124, -0.07304371148347855, -0.34894075989723206, -0.020649652928113937, -0.07402294874191284, 0.0427350178360939, 0.4668046236038208, 0.10151345282793045, -0.5245600938796997, 0.7328690886497498, 0.6561943888664246, -0.44834408164024353, 0.5046286582946777, -0.13128358125686646, 0.15330767631530762, -1.3440946340560913, 0.1907832771539688, 0.10481127351522446, -0.4779908359050751, -0.5652936697006226, 0.019371958449482918, 0.047395333647727966, -0.22673989832401276, -0.4294101595878601, 0.4618530571460724, -0.36650335788726807, -0.07768172025680542, -0.2510017454624176, -0.4747970402240753, 0.0667499378323555, 0.47753459215164185, 0.02286951243877411, 0.7157676815986633, 0.32362186908721924, -0.6321110725402832, 0.19709385931491852, 0.32969921827316284, -0.17914003133773804, 0.48693543672561646, -0.7156729102134705, 0.4285699427127838, -0.1409078687429428, 0.2193291187286377, -0.8925899267196655, -0.26471754908561707, -0.02647666446864605, -0.7976876497268677, 0.3809116780757904, -0.1835513710975647, -0.38411957025527954, -0.35109272599220276, -0.3420836627483368, 0.5961582660675049, 0.6377156376838684, -0.3479638993740082, 0.5800844430923462, 0.28959864377975464, 0.10182106494903564, -0.4951300323009491, -0.7989792823791504, -0.04958822578191757, -0.4817678928375244, -0.5031996369361877, 0.610450267791748, -0.20955564081668854, 0.19934628903865814, -0.1715037077665329, 0.1755049228668213, -0.21929895877838135, -0.13013233244419098, 0.3828880488872528, 0.2532902956008911, 0.009285582229495049, 0.4628978669643402, -0.15254314243793488, -0.18877850472927094, -0.3185296356678009, -0.20512180030345917, 0.8953016996383667, -0.3287331163883209, 0.25421959161758423, -0.573167085647583, 0.16653023660182953, 0.6750057339668274, -0.27080410718917847, 0.8361110687255859, 0.5296158194541931, -0.42331647872924805, -0.36940762400627136, -0.0981936901807785, 0.1461569368839264, -0.42085587978363037, 0.38717103004455566, -0.35557666420936584, -0.6492540836334229, 0.5819052457809448, 0.11556705832481384, -0.10400540381669998, 0.9339810013771057, 0.40409061312675476, 0.26200348138809204, 0.8835400938987732, 0.5067213177680969, -0.38438916206359863, 0.4793800115585327, -0.5379438996315002, -0.24018558859825134, -0.6628351807594299, -0.14325273036956787, -0.6643097400665283, -0.35655930638313293, -0.5655228495597839, -0.41902217268943787, 0.15934060513973236, -0.06321801990270615, -0.44731006026268005, 0.49698343873023987, -0.7638307213783264, 0.5240142345428467, 0.6793704628944397, 0.1778477281332016, 0.1842854917049408, -0.16090743243694305, 0.3179769814014435, 0.23551441729068756, -0.6394615173339844, -0.3228251039981842, 1.335600733757019, 0.4273398816585541, 0.930031955242157, 0.043532226234674454, 0.8012217879295349, 0.7127074599266052, 0.04501473158597946, -0.8272072672843933, 0.4329930245876312, -0.3693449795246124, -0.48780354857444763, -0.43970590829849243, -0.3105465769767761, -0.9054809808731079, -0.31632253527641296, -0.4521811902523041, -0.5292102098464966, -0.01615401916205883, 0.24751310050487518, -0.4026457965373993, 0.1270071566104889, -0.4552937150001526, 0.9766499400138855, -0.1438903957605362, 0.08161144703626633, -0.2605770528316498, -0.8514266610145569, 0.4262065291404724, -0.06702493131160736, 0.061370089650154114, -0.10642000287771225, 0.26036337018013, 0.7152777910232544, -0.4211804270744324, 0.4677116870880127, 0.20658744871616364, 0.2382083237171173, 0.1906772255897522, -0.2671472132205963, 0.4786972999572754, -0.09867988526821136, 0.02244221419095993, 0.4025993049144745, -0.04838244244456291, -0.26989322900772095, -0.39161553978919983, 0.37113845348358154, -0.8319661021232605, 0.019392842426896095, -0.8149669170379639, -0.5534821152687073, 0.20610184967517853, 0.02635364420711994, 0.7786490321159363, 0.4805690348148346, -0.1360868513584137, 0.25920915603637695, 0.72291100025177, -0.21376679837703705, 0.4171217083930969, 0.5662263035774231, -0.10378368198871613, -0.6062893867492676, 0.7593753337860107, 0.15022237598896027, 0.2224554717540741, 0.28404197096824646, 0.116761714220047, 0.023841969668865204, -0.6139597296714783, -0.5790472030639648, -0.02997964806854725, -0.48064711689949036, -0.806537926197052, -0.37328049540519714, -0.5512048602104187, -0.27853986620903015, 0.14142070710659027, -0.10697571188211441, -0.5978145599365234, -0.6603043079376221, -0.15345562994480133, 0.7790839672088623, 0.5283817052841187, 0.05924409627914429, 0.6580187082290649, -1.1350600719451904, 0.22400495409965515, -0.07419675588607788, 0.38492125272750854, -0.12248651683330536, -1.082789421081543, -0.406360924243927, -0.3089858889579773, -0.40324491262435913, -1.0951167345046997, 0.5898175239562988, 0.6450708508491516, 0.26365968585014343, 0.2607944905757904, -0.060356877744197845, 0.6756685376167297, -0.8941759467124939, 0.911988377571106, -0.03716051205992699, -1.0355616807937622, 0.7888526320457458, -0.2853832244873047, 0.7876913547515869, 0.38484570384025574, 0.4873669743537903, -0.3899739682674408, -0.4680147171020508, -1.0205150842666626, -0.9742986559867859, 0.5989805459976196, 0.014010446146130562, 0.0005112590151838958, -0.013116741552948952, 0.5628489851951599, 0.15007424354553223, -0.03458605334162712, -0.8144567012786865, -0.18437674641609192, -0.051431577652692795, -0.6725711822509766, -0.024909187108278275, -0.1978687047958374, 0.021745046600699425, -0.33219486474990845, 0.8903374075889587, -0.0941358208656311, 0.4247289299964905, 0.08716605603694916, -0.22437666356563568, -0.23429188132286072, 0.356939435005188, 0.966684103012085, 0.5403070449829102, -0.18363729119300842, -0.2396596074104309, 0.18715421855449677, -0.6915401220321655, 0.1580582708120346, 0.232256218791008, -0.28191789984703064, 0.05350237339735031, 0.4305676817893982, 0.9674513339996338, -0.06129457801580429, -0.667885422706604, 0.3434293270111084, -0.1405075192451477, -0.05495225265622139, -0.621954083442688, 0.4369136095046997, -0.48917362093925476, 0.3300033211708069, 0.6056085228919983, 0.18213801085948944, 0.4617772102355957, -0.4212985634803772, 0.4749656915664673, 0.3686864674091339, -0.2411934733390808, -0.4335702955722809, 0.732252299785614, -0.15398947894573212, -0.6580403447151184, 0.635799765586853, -0.1703825145959854, -0.5539084076881409, 0.5899218320846558, 0.4653250575065613, 1.0413166284561157, -0.5417800545692444, 0.3360338807106018, 0.5049343705177307, 0.10419939458370209, -0.41192957758903503, 0.42859190702438354, 0.24717070162296295, -0.533354640007019, -0.35319453477859497, -0.8563169836997986, -0.17047858238220215, 0.3956718146800995, -1.0393706560134888, 0.38250142335891724, -0.5028842687606812, -0.5440204739570618, 0.3486938178539276, 0.01784670725464821, -0.5224828720092773, 0.6006543040275574, -0.05060136690735817, 1.2278367280960083, -1.1162216663360596, 0.8094214797019958, 0.6391859650611877, -0.27681246399879456, -0.6811043620109558, -0.14609476923942566, 0.0896088033914566, -0.6004370450973511, 0.6662448644638062, 0.2934088408946991, 0.2536861002445221, 0.12678523361682892, -0.7814282774925232, -1.020626425743103, 1.1839696168899536, -0.12757964432239532, -0.6218656301498413, -0.08457404375076294, -0.22228451073169708, 0.6760116219520569, -0.340865820646286, 0.0820990651845932, 0.5312609672546387, 0.21470297873020172, -0.006848308723419905, -1.083999514579773, -0.30932649970054626, -0.4062417149543762, 0.016277829185128212, 0.45578908920288086, -0.7488203644752502, 0.993398904800415, -0.10416694730520248, 0.008028947748243809, 0.4822176694869995, 0.7503705024719238, 0.1669185757637024, 0.40833938121795654, 0.4207012355327606, 1.1160979270935059, 0.8847415447235107, -0.12312566488981247, 0.9176914095878601, -0.268159419298172, 0.4333151578903198, 1.2648440599441528, 0.06807652115821838, 1.0619754791259766, -0.01834033615887165, -0.23221243917942047, 0.7547465562820435, 0.6360703706741333, -0.3338468372821808, 0.6599484086036682, 0.38463330268859863, 0.12320920079946518, 0.05638452246785164, 0.2547389268875122, -0.19517798721790314, 0.5144128799438477, 0.3862708508968353, -0.7251619696617126, 0.26496630907058716, 0.26441138982772827, 0.037472669035196304, -0.1488034427165985, -0.5289627313613892, 0.8121910691261292, -0.1480812281370163, -0.5385746955871582, 0.49896708130836487, 0.3558754324913025, 0.5412154793739319, -0.5213453769683838, -0.11624503880739212, 0.09283802658319473, 0.23367197811603546, -0.23604556918144226, -0.8262860774993896, 0.3611034154891968, 0.027415815740823746, -0.6676487326622009, 0.21480560302734375, 0.7086911797523499, -0.5382617115974426, -0.4289301931858063, -0.1689709722995758, -0.04387982189655304, 0.1853596717119217, 0.19066937267780304, -0.6897251009941101, 0.09306630492210388, -0.24633733928203583, -0.4110061824321747, 0.10286205261945724, 0.4389384686946869, -0.16782008111476898, 0.6158655285835266, 0.546082615852356, -0.05548922345042229, 0.1465473473072052, -0.21559274196624756, 0.531603217124939, -0.8725911378860474, -0.6736271977424622, -0.8921939134597778, 0.6132671236991882, -0.16649232804775238, -0.8142954707145691, 0.6249059438705444, 0.7969955801963806, 0.6685531735420227, -0.17982463538646698, 0.6504533290863037, -0.07093942165374756, 0.7487746477127075, -0.5949734449386597, 0.49746739864349365, -0.5757293701171875, 0.03965786471962929, -0.22360233962535858, -0.5426158308982849, -0.44305670261383057, 0.8284680247306824, 0.0796077772974968, 0.025514524430036545, 0.5753619074821472, 0.3884284496307373, 0.26444125175476074, 0.13878978788852692, 0.06066249683499336, 0.07551669329404831, 0.12923048436641693, 0.6395755410194397, 0.26145756244659424, -0.7671976089477539, 0.28403347730636597, 0.12758274376392365, -0.25642266869544983, -0.23674429953098297, -0.9852588772773743, -0.8938186168670654, -0.6839001774787903, -0.2963491380214691, -0.4823105037212372, 0.2509914040565491, 0.9058427214622498, 0.8100725412368774, -0.7790710926055908, -0.01213093288242817, -0.21896998584270477, -0.17396759986877441, -0.30236390233039856, -0.31100088357925415, 0.4754159152507782, -0.25374460220336914, -0.7158696055412292, 0.03194829076528549, 0.24896855652332306, 0.33923807740211487, -0.007262876257300377, -0.23509010672569275, -0.33724939823150635, 0.051469121128320694, 0.35231462121009827, 0.3947155177593231, -0.5292630791664124, -0.494806170463562, -0.10599794238805771, 0.0046365330927073956, 0.1516755223274231, 0.4883083701133728, -0.8549808263778687, 0.18186047673225403, 0.7206013202667236, 0.5656123757362366, 0.3846670985221863, 0.3555179238319397, 0.7222370505332947, -0.9292929768562317, 0.15655934810638428, 0.3731788992881775, 0.12504740059375763, 0.15496256947517395, -0.5175378322601318, 0.7224709391593933, 0.11577184498310089, -1.0605714321136475, -0.9408330321311951, 0.12877090275287628, -1.1536927223205566, -0.27088162302970886, 1.0408869981765747, -0.015296364203095436, -0.5299475193023682, 0.1943633258342743, -0.17493338882923126, 0.20239101350307465, -0.3373927175998688, 0.6747134327888489, 0.8272820115089417, -0.07092425972223282, -0.4355745315551758, -0.328779935836792, 0.8009932637214661, 0.11140044778585434, -0.8158426284790039, -0.4103163480758667, 0.42457911372184753, 0.278341144323349, 0.45338836312294006, 0.5192162394523621, 0.03145936131477356, 0.5395675301551819, -0.20586109161376953, 0.09786082804203033, 0.043870631605386734, -0.7473084926605225, -0.5611186027526855, 0.1004103496670723, -0.02757520228624344, -0.21368025243282318 ]
ivanlau/language-detection-fine-tuned-on-xlm-roberta-base
ivanlau
2021-12-17T10:33:13Z
15,705
8
transformers
[ "transformers", "pytorch", "tensorboard", "xlm-roberta", "text-classification", "generated_from_trainer", "dataset:common_language", "license:mit", "model-index", "endpoints_compatible", "has_space", "region:us" ]
text-classification
2022-03-02T23:29:05Z
--- license: mit tags: - generated_from_trainer datasets: - common_language metrics: - accuracy model-index: - name: language-detection-fine-tuned-on-xlm-roberta-base results: - task: name: Text Classification type: text-classification dataset: name: common_language type: common_language args: full metrics: - name: Accuracy type: accuracy value: 0.9738386718094919 --- <!-- 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. --> # language-detection-fine-tuned-on-xlm-roberta-base This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the [common_language](https://huggingface.co/datasets/common_language) dataset. It achieves the following results on the evaluation set: - Loss: 0.1886 - Accuracy: 0.9738 ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 3e-05 - train_batch_size: 1 - eval_batch_size: 1 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 500 - num_epochs: 1 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:-----:|:---------------:|:--------:| | 0.1 | 1.0 | 22194 | 0.1886 | 0.9738 | ### Framework versions - Transformers 4.12.5 - Pytorch 1.10.0+cu111 - Datasets 1.15.1 - Tokenizers 0.10.3 ### Notebook [notebook](https://github.com/IvanLauLinTiong/language-detector/blob/main/xlm_roberta_base_commonlanguage_language_detector.ipynb)
[ -0.5129363536834717, -0.8040046095848083, 0.32157501578330994, 0.12400709837675095, -0.34543731808662415, -0.20017704367637634, -0.6429030895233154, -0.3673710823059082, 0.09150482714176178, 0.5798006057739258, -0.5457220077514648, -0.8650732636451721, -0.8584392666816711, 0.05264691263437271, -0.31926968693733215, 1.2578023672103882, -0.004272329155355692, 0.2541014552116394, 0.04588622227311134, -0.1970856785774231, -0.3718154728412628, -0.6672868132591248, -1.05142343044281, -0.5081942081451416, 0.13573139905929565, 0.39949917793273926, 0.6884600520133972, 0.8370822668075562, 0.20815278589725494, 0.27671608328819275, -0.35326236486434937, 0.11225789040327072, -0.3346092104911804, -0.3380303382873535, 0.046947941184043884, -0.6281120181083679, -0.8013402223587036, -0.0033368663862347603, 0.8462637662887573, 0.28572601079940796, -0.07786138355731964, 0.3804958462715149, 0.039623260498046875, 0.44064390659332275, -0.3937552869319916, 0.4527635872364044, -0.6932657361030579, 0.003760151332244277, -0.508204996585846, -0.24358096718788147, -0.5354699492454529, -0.04521092027425766, -0.2452785223722458, -0.2578458786010742, 0.24715368449687958, 0.036404453217983246, 1.36024808883667, 0.19689330458641052, -0.30207082629203796, -0.09716331958770752, -0.8127276301383972, 0.8901761174201965, -0.7154909372329712, 0.2781660556793213, 0.5231839418411255, 0.35115689039230347, 0.021053841337561607, -0.5236076712608337, -0.7369043231010437, -0.273118257522583, -0.08946243673563004, 0.19137410819530487, -0.4739893972873688, 0.003552536480128765, 0.6797645688056946, 0.42508959770202637, -0.9517656564712524, 0.14320111274719238, -0.4299091696739197, -0.3243800401687622, 0.45563703775405884, 0.24849696457386017, 0.29617980122566223, -0.12005177140235901, -0.05331229045987129, -0.04941084235906601, -0.5932775139808655, 0.0522596575319767, 0.6169267296791077, 0.48739999532699585, -0.6421725749969482, 0.4071287512779236, -0.23869945108890533, 1.0019444227218628, -0.09435242414474487, -0.18260149657726288, 0.6333780884742737, -0.07207821309566498, -0.10056230425834656, -0.10917369276285172, 1.0777353048324585, 0.2333541065454483, 0.5302231311798096, 0.09170155227184296, -0.3123074471950531, 0.08094970136880875, -0.11288797855377197, -0.7757834196090698, -0.24232083559036255, 0.22807417809963226, -0.40210849046707153, -0.5131472945213318, 0.0257584061473608, -0.404789000749588, 0.5182898640632629, -0.43814653158187866, 0.3598293662071228, -0.5157769322395325, -0.23684364557266235, 0.15075726807117462, 0.11033572256565094, 0.16999900341033936, -0.10157785564661026, -0.9617883563041687, 0.5110438466072083, 0.5390686988830566, 0.6461043357849121, 0.06839261204004288, -0.3046949505805969, -0.6946789026260376, -0.1222032681107521, -0.16922765970230103, 0.7541617155075073, -0.2660435438156128, -0.31084686517715454, -0.05372152850031853, 0.19797055423259735, -0.1753840297460556, -0.6671534776687622, 1.03053879737854, -0.3101752698421478, 0.5112698674201965, 0.16512756049633026, -0.6152121424674988, -0.025055885314941406, 0.4036511778831482, -0.7145320177078247, 1.3598401546478271, 0.19089269638061523, -0.6975084543228149, 0.42880889773368835, -0.5464707016944885, -0.22215276956558228, 0.1872657686471939, -0.2741031348705292, -0.8668882846832275, -0.20412050187587738, 0.08933788537979126, 0.3022153675556183, -0.24746647477149963, 0.44503697752952576, -0.15783555805683136, -0.5646389126777649, 0.13679808378219604, -0.4518735706806183, 1.1531519889831543, 0.23349130153656006, -0.6470588445663452, 0.12113053351640701, -1.412192702293396, 0.2560376226902008, 0.1936657875776291, -0.6798701882362366, -0.1257915049791336, -0.24137361347675323, 0.5299749374389648, 0.2659328877925873, 0.27255478501319885, -0.585638701915741, -0.00194958143401891, -0.3928602933883667, 0.01984567567706108, 0.5525001287460327, -0.38173481822013855, 0.16774173080921173, -0.27096179127693176, 0.5101872086524963, 0.18498241901397705, 0.16024965047836304, 0.00046540345647372305, -0.5504398941993713, -1.0044044256210327, -0.3081754148006439, 0.44007059931755066, 0.7154280543327332, -0.2855052947998047, 1.0258482694625854, -0.19151899218559265, -0.5403603315353394, -0.4215320646762848, 0.18519851565361023, 0.7279983758926392, 0.49478858709335327, 0.45818254351615906, -0.2535759210586548, -0.7004669308662415, -1.0000125169754028, -0.28885531425476074, -0.11767202615737915, 0.2249135971069336, 0.35754144191741943, 0.5868502259254456, -0.2848133146762848, 0.7273799180984497, -0.6099441051483154, -0.35524782538414, -0.5374941825866699, 0.1594780683517456, 0.4672981798648834, 0.8137749433517456, 0.9022608399391174, -0.4778865575790405, -0.7275089025497437, 0.05294324457645416, -0.6078762412071228, -0.07870267331600189, 0.0630572959780693, -0.02480982430279255, 0.5035244822502136, 0.41377195715904236, -0.4942319393157959, 0.5166516900062561, 0.6287581920623779, -0.3355129063129425, 0.6592586636543274, -0.4564359486103058, -0.2053491324186325, -1.4227571487426758, 0.1374521702528, 0.23153191804885864, -0.25584882497787476, -0.49872833490371704, 0.14296099543571472, 0.29662325978279114, -0.05291181430220604, -0.25989338755607605, 0.807048499584198, -0.29483532905578613, 0.20705541968345642, -0.4658679962158203, 0.05069470778107643, -0.1131099984049797, 0.6412951946258545, 0.30470526218414307, 0.723146378993988, 0.9007353186607361, -0.4708746671676636, 0.2856227457523346, 0.25935083627700806, -0.39952346682548523, 0.4633602797985077, -0.7214136123657227, 0.2534172236919403, 0.016482828184962273, -0.04386599361896515, -0.8637990355491638, -0.017258496955037117, 0.5129761695861816, -0.6790323257446289, 0.4363709092140198, -0.5176801681518555, -0.6076721549034119, -0.3597913384437561, 0.16616550087928772, 0.25631991028785706, 0.6654781699180603, -0.5532870292663574, 0.4983442723751068, 0.12194191664457321, 0.07394299656152725, -0.5387099981307983, -0.76981121301651, 0.05140030011534691, -0.11706552654504776, -0.5090741515159607, 0.23705358803272247, -0.1715005785226822, -0.13965411484241486, -0.06707463413476944, 0.11799579858779907, -0.32376691699028015, 0.006298113614320755, 0.15308712422847748, 0.39974620938301086, -0.34803688526153564, -0.11406659334897995, -0.09982429444789886, -0.4170921742916107, 0.15283846855163574, -0.12253479659557343, 0.8615821599960327, -0.21056625247001648, -0.18958619236946106, -0.7162682414054871, -0.04989681392908096, 0.4919513463973999, -0.44541212916374207, 0.9028034806251526, 1.001741886138916, -0.3871777355670929, -0.15483461320400238, -0.4862484335899353, -0.023218568414449692, -0.42441526055336, 0.548788845539093, -0.5090279579162598, -0.5470616817474365, 0.7375487089157104, 0.13382723927497864, -0.30613797903060913, 0.5709405541419983, 0.6826115846633911, 0.39095544815063477, 1.259395718574524, 0.46288901567459106, -0.4363290071487427, 0.5153217911720276, -0.6692493557929993, 0.03849702328443527, -0.8546360731124878, -0.23368917405605316, -0.976645827293396, 0.06757770478725433, -0.8671449422836304, -0.08782850205898285, -0.08752649277448654, -0.06314433366060257, -0.23998494446277618, 0.53180992603302, -0.37449365854263306, 0.5711426734924316, 0.7335069179534912, 0.23414357006549835, 0.2346472591161728, 0.008875024504959583, -0.35270553827285767, -0.07617928087711334, -0.6260853409767151, -0.6721497178077698, 1.3607394695281982, 0.26530522108078003, 0.6787513494491577, 0.024894988164305687, 0.8703952431678772, -0.27792003750801086, 0.13696226477622986, -0.6878953576087952, 0.5253198742866516, -0.25023579597473145, -0.8457169532775879, -0.011224829591810703, -0.48677027225494385, -0.8248475790023804, 0.046710025519132614, -0.32439759373664856, -0.7335470914840698, 0.04247475415468216, 0.375861793756485, -0.1305600255727768, 0.43799787759780884, -0.5089622139930725, 1.1645240783691406, -0.32077279686927795, -0.2461313158273697, -0.2556644678115845, -0.27153831720352173, 0.1811191290616989, -0.04797719791531563, 0.17782481014728546, -0.06162995100021362, 0.36590030789375305, 0.7075660824775696, -0.47012367844581604, 0.6968970894813538, -0.2451421171426773, 0.19779177010059357, 0.2640831172466278, -0.11067051440477371, 0.6505343317985535, 0.07326636463403702, -0.12407542765140533, 0.18451742827892303, -0.1882360577583313, -0.5902673006057739, -0.3845001459121704, 0.8475892543792725, -1.0861023664474487, -0.3527044951915741, -0.621899425983429, -0.5769646763801575, 0.07569646090269089, 0.4354931116104126, 0.5090779066085815, 0.7772297859191895, -0.19752489030361176, 0.14523468911647797, 0.6772896647453308, -0.11084841936826706, 0.14549210667610168, 0.7365379333496094, -0.21611948311328888, -0.3653850555419922, 0.837261438369751, -0.0909603014588356, 0.24769046902656555, 0.23034244775772095, 0.21130603551864624, -0.17182722687721252, -0.8537470102310181, -0.4984264373779297, 0.25515082478523254, -0.6651779413223267, -0.039823129773139954, -0.5580817461013794, -0.35588276386260986, -0.4107906222343445, 0.33891910314559937, -0.37755244970321655, -0.32088524103164673, -0.43369388580322266, -0.050896260887384415, 0.3659728467464447, 0.420009046792984, 0.07183992117643356, 0.49926087260246277, -0.7734905481338501, 0.11060542613267899, 0.05061815679073334, 0.43736523389816284, -0.25181910395622253, -1.0293986797332764, -0.5936226844787598, 0.11978110671043396, -0.286941260099411, -0.4112582206726074, 0.6478394865989685, 0.1818123459815979, 0.8194931149482727, 0.41255149245262146, -0.24374286830425262, 0.7614402174949646, -0.45940059423446655, 0.6562411189079285, -0.037753667682409286, -0.8960874676704407, 0.6663064956665039, -0.23428507149219513, 0.48393556475639343, 0.46080654859542847, 0.466741144657135, -0.3114514946937561, -0.6455756425857544, -0.9075362682342529, -0.7369935512542725, 1.1333050727844238, 0.30348390340805054, 0.27494388818740845, -0.30304500460624695, 0.32761919498443604, -0.26416364312171936, -0.10197858512401581, -1.0677076578140259, -0.679497241973877, 0.031125597655773163, -0.34204068779945374, -0.15053017437458038, -0.3385354280471802, -0.10334901511669159, -0.43920814990997314, 1.0583573579788208, -0.07165093719959259, 0.10732342302799225, -0.09739526361227036, -0.16594155132770538, -0.31343579292297363, 0.211716428399086, 0.8534116148948669, 0.6233552694320679, -0.551888644695282, -0.12188532948493958, 0.19357605278491974, -0.5298423171043396, -0.12386738508939743, 0.24559159576892853, -0.19570674002170563, 0.3850022554397583, 0.3291253447532654, 1.1444828510284424, 0.19647416472434998, -0.6003543138504028, 0.4503621757030487, -0.24853834509849548, -0.2918640673160553, -0.6716538071632385, 0.2719777226448059, -0.07439013570547104, 0.13012738525867462, 0.18797415494918823, 0.3943108022212982, -0.10638666898012161, -0.4271068572998047, 0.14867043495178223, 0.43865513801574707, -0.4801446199417114, -0.3916420340538025, 0.7481471300125122, -0.001146739348769188, -0.5462788939476013, 0.6702068448066711, -0.2286904901266098, -0.5776033401489258, 0.7712964415550232, 0.8027735948562622, 0.9154012799263, -0.17169198393821716, -0.05432595685124397, 0.8036271929740906, 0.2303154617547989, -0.07578764855861664, 0.6224855184555054, 0.058483634144067764, -0.9815953969955444, -0.3759697675704956, -0.6827794313430786, -0.23833853006362915, 0.5227437019348145, -1.0145717859268188, 0.546921968460083, -0.32031404972076416, -0.2482534945011139, 0.2972492575645447, 0.09611286222934723, -0.8009227514266968, 0.4063239097595215, 0.19374890625476837, 1.1526825428009033, -0.9688798785209656, 1.2696866989135742, 0.7181174159049988, -0.5330394506454468, -1.0570377111434937, -0.088689886033535, -0.02522619068622589, -1.0219001770019531, 1.1251236200332642, -0.021670537069439888, 0.13903798162937164, 0.1890341192483902, -0.4107952117919922, -0.8112342953681946, 0.8421773314476013, 0.27182498574256897, -0.6728720664978027, 0.304136723279953, 0.27819037437438965, 0.6994410157203674, -0.3995257019996643, 0.47775202989578247, 0.48599106073379517, 0.4102804362773895, -0.08724679797887802, -1.1883952617645264, -0.09620849043130875, -0.37605056166648865, 0.0017227185890078545, 0.30748820304870605, -0.6381089687347412, 1.0452873706817627, 0.058268047869205475, 0.1557314544916153, 0.38679420948028564, 0.3765183985233307, 0.3710591793060303, 0.108243927359581, 0.38422295451164246, 1.0098423957824707, 0.5294939279556274, -0.3499089777469635, 0.9824357628822327, -0.8528828024864197, 0.7698363661766052, 1.2146400213241577, -0.021114010363817215, 0.7811933755874634, 0.28756076097488403, -0.24855004251003265, 0.6065199375152588, 0.49096640944480896, -0.229990154504776, 0.24652628600597382, 0.16430163383483887, -0.18491430580615997, -0.41586875915527344, 0.31634339690208435, -0.39898642897605896, 0.5363658666610718, 0.2012377679347992, -0.7339916229248047, -0.301133930683136, -0.13485650718212128, 0.29675835371017456, 0.13732117414474487, -0.26792123913764954, 0.5589315891265869, -0.2328193634748459, -0.6144309639930725, 0.9540308117866516, 0.16871008276939392, 0.6634102463722229, -0.6366864442825317, -0.10535495728254318, -0.20587065815925598, 0.5180336236953735, -0.1876765340566635, -0.6798477172851562, 0.3112592399120331, 0.03855309635400772, -0.1058988869190216, -0.000012649170457734726, 0.5695841312408447, -0.6640154123306274, -0.6894099116325378, 0.38250842690467834, 0.436124324798584, 0.25925421714782715, 0.07201088219881058, -1.0258058309555054, 0.23256205022335052, 0.03037179633975029, -0.1836571991443634, 0.23821839690208435, 0.45206600427627563, -0.02246282435953617, 0.5938157439231873, 0.7167785167694092, 0.33821889758110046, -0.01849379763007164, 0.3772250711917877, 0.8509714007377625, -0.6826137900352478, -0.4814673960208893, -0.8907865881919861, 0.41664642095565796, -0.1826067715883255, -0.65143883228302, 0.7761558890342712, 1.0632402896881104, 1.2275701761245728, -0.23737439513206482, 0.7226129770278931, 0.01348330732434988, 0.5962741374969482, -0.5576984286308289, 0.7042229175567627, -0.4632195234298706, 0.26452434062957764, -0.29394271969795227, -0.8563680648803711, -0.4014202654361725, 0.7815757393836975, -0.3974432647228241, 0.03638892248272896, 0.6105311512947083, 1.0189944505691528, -0.06381791085004807, -0.36969637870788574, 0.4491969048976898, 0.16791173815727234, 0.23229239881038666, 0.4558449983596802, 0.4570983350276947, -0.7923322319984436, 0.7652715444564819, -0.5015046000480652, -0.25493574142456055, -0.13044437766075134, -0.6009945869445801, -1.1783263683319092, -0.5079155564308167, -0.5967256426811218, -0.5643069744110107, 0.08372830599546432, 1.0901234149932861, 0.7791588306427002, -1.0774741172790527, -0.6375624537467957, -0.19573402404785156, -0.09441713988780975, -0.16916558146476746, -0.28760072588920593, 0.40429651737213135, -0.4746244251728058, -1.1748714447021484, -0.0018072284292429686, -0.003260637866333127, 0.24671514332294464, -0.07556912302970886, -0.3166258633136749, -0.23152601718902588, -0.3000601828098297, 0.3334811329841614, 0.2491135150194168, -0.7052627205848694, -0.2542015314102173, -0.04373328760266304, -0.22641730308532715, 0.21299709379673004, 0.3439671993255615, -0.6242671608924866, 0.49254873394966125, 0.29134711623191833, 0.09711569547653198, 0.7123669981956482, -0.32952508330345154, 0.4411464035511017, -0.7944424748420715, 0.6266421675682068, 0.1309644877910614, 0.6872358918190002, 0.09451496601104736, -0.34085071086883545, 0.3450636863708496, 0.37813639640808105, -0.5931123495101929, -0.8492048382759094, 0.1142934188246727, -1.1785578727722168, 0.08876115828752518, 1.201532244682312, -0.11982105672359467, -0.5041812062263489, -0.041702162474393845, -0.36723029613494873, 0.2804752290248871, -0.35862475633621216, 0.6702262759208679, 0.7427527904510498, 0.023765144869685173, -0.27005618810653687, -0.4205855131149292, 0.5501602292060852, 0.25391125679016113, -0.6897544264793396, -0.16446949541568756, 0.31610146164894104, 0.6851990222930908, 0.24060401320457458, 0.5381038784980774, -0.2935735881328583, 0.43793022632598877, -0.1530909538269043, 0.4229969084262848, -0.22274015843868256, -0.06977251172065735, -0.44759446382522583, -0.30471405386924744, 0.37773120403289795, -0.2940979301929474 ]
dangvantuan/sentence-camembert-base
dangvantuan
2022-03-11T17:02:50Z
15,704
10
transformers
[ "transformers", "pytorch", "camembert", "feature-extraction", "Text", "Sentence Similarity", "Sentence-Embedding", "camembert-base", "sentence-similarity", "fr", "dataset:stsb_multi_mt", "arxiv:1908.10084", "license:apache-2.0", "model-index", "endpoints_compatible", "has_space", "region:us" ]
sentence-similarity
2022-03-11T16:16:15Z
--- pipeline_tag: sentence-similarity language: fr datasets: - stsb_multi_mt tags: - Text - Sentence Similarity - Sentence-Embedding - camembert-base license: apache-2.0 model-index: - name: sentence-camembert-base by Van Tuan DANG results: - task: name: Sentence-Embedding type: Text Similarity dataset: name: Text Similarity fr type: stsb_multi_mt args: fr metrics: - name: Test Pearson correlation coefficient type: Pearson_correlation_coefficient value: xx.xx --- ## Pre-trained sentence embedding models are the state-of-the-art of Sentence Embeddings for French. Model is Fine-tuned using pre-trained [facebook/camembert-base](https://huggingface.co/camembert/camembert-base) and [Siamese BERT-Networks with 'sentences-transformers'](https://www.sbert.net/) on dataset [stsb](https://huggingface.co/datasets/stsb_multi_mt/viewer/fr/train) ## Usage The model can be used directly (without a language model) as follows: ```python from sentence_transformers import SentenceTransformer model = SentenceTransformer("dangvantuan/sentence-camembert-base") sentences = ["Un avion est en train de décoller.", "Un homme joue d'une grande flûte.", "Un homme étale du fromage râpé sur une pizza.", "Une personne jette un chat au plafond.", "Une personne est en train de plier un morceau de papier.", ] embeddings = model.encode(sentences) ``` ## Evaluation The model can be evaluated as follows on the French test data of stsb. ```python from sentence_transformers import SentenceTransformer from sentence_transformers.readers import InputExample from sentence_transformers.evaluation import EmbeddingSimilarityEvaluator from datasets import load_dataset def convert_dataset(dataset): dataset_samples=[] for df in dataset: score = float(df['similarity_score'])/5.0 # Normalize score to range 0 ... 1 inp_example = InputExample(texts=[df['sentence1'], df['sentence2']], label=score) dataset_samples.append(inp_example) return dataset_samples # Loading the dataset for evaluation df_dev = load_dataset("stsb_multi_mt", name="fr", split="dev") df_test = load_dataset("stsb_multi_mt", name="fr", split="test") # Convert the dataset for evaluation # For Dev set: dev_samples = convert_dataset(df_dev) val_evaluator = EmbeddingSimilarityEvaluator.from_input_examples(dev_samples, name='sts-dev') val_evaluator(model, output_path="./") # For Test set: test_samples = convert_dataset(df_test) test_evaluator = EmbeddingSimilarityEvaluator.from_input_examples(test_samples, name='sts-test') test_evaluator(model, output_path="./") ``` **Test Result**: The performance is measured using Pearson and Spearman correlation: - On dev | Model | Pearson correlation | Spearman correlation | #params | | ------------- | ------------- | ------------- |------------- | | [dangvantuan/sentence-camembert-base](https://huggingface.co/dangvantuan/sentence-camembert-base)| 86.73 |86.54 | 110M | | [distiluse-base-multilingual-cased](https://huggingface.co/sentence-transformers/distiluse-base-multilingual-cased) | 79.22 | 79.16|135M | - On test | Model | Pearson correlation | Spearman correlation | | ------------- | ------------- | ------------- | | [dangvantuan/sentence-camembert-base](https://huggingface.co/dangvantuan/sentence-camembert-base)| 82.36 | 81.64| | [distiluse-base-multilingual-cased](https://huggingface.co/sentence-transformers/distiluse-base-multilingual-cased) | 78.62 | 77.48| ## Citation @article{reimers2019sentence, title={Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks}, author={Nils Reimers, Iryna Gurevych}, journal={https://arxiv.org/abs/1908.10084}, year={2019} } @article{martin2020camembert, title={CamemBERT: a Tasty French Language Mode}, author={Martin, Louis and Muller, Benjamin and Su{\'a}rez, Pedro Javier Ortiz and Dupont, Yoann and Romary, Laurent and de la Clergerie, {\'E}ric Villemonte and Seddah, Djam{\'e} and Sagot, Beno{\^\i}t}, journal={Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics}, year={2020} }
[ -0.178018718957901, -1.0979852676391602, 0.40303075313568115, 0.6277309060096741, -0.1579413115978241, -0.07582655549049377, -0.4413067102432251, 0.015185663476586342, 0.37647587060928345, 0.23427541553974152, -0.37478357553482056, -0.6037151217460632, -0.6898005604743958, 0.07111632823944092, -0.24471552670001984, 0.7492014169692993, -0.33785828948020935, 0.24151606857776642, -0.3457764685153961, -0.2797194719314575, -0.1852453052997589, -0.812772274017334, -0.2836078107357025, -0.047893524169921875, 0.2250494658946991, 0.13636080920696259, 0.4690283238887787, 0.2580554485321045, 0.431569904088974, 0.39437562227249146, -0.0691368579864502, 0.16368252038955688, -0.3517100512981415, 0.07624052464962006, 0.12246185541152954, -0.4121623635292053, -0.2922165095806122, 0.012096052058041096, 0.5762317180633545, 0.5697250366210938, -0.021380119025707245, -0.14305074512958527, 0.14345109462738037, 0.6102123856544495, -0.43117544054985046, 0.4348698556423187, -0.33495378494262695, 0.12053263187408447, 0.01714804209768772, -0.14865462481975555, -0.5677905082702637, -0.5384652614593506, 0.08064350485801697, -0.3848552405834198, 0.08830052614212036, 0.011100726202130318, 1.2496576309204102, 0.12833115458488464, -0.32960742712020874, -0.24210572242736816, -0.4207351803779602, 0.9393501877784729, -0.7194231152534485, 0.6276347041130066, 0.2754058837890625, 0.04776892438530922, -0.18128402531147003, -0.8223901391029358, -0.6347119808197021, -0.34526050090789795, -0.37427908182144165, 0.43504053354263306, -0.30325499176979065, -0.20729321241378784, 0.13316236436367035, 0.29313498735427856, -0.6898044943809509, -0.03355890512466431, -0.2244672030210495, -0.11161606758832932, 0.7366786003112793, -0.19580820202827454, 0.12880617380142212, -0.4927729666233063, -0.4298350512981415, -0.5784856677055359, -0.39609068632125854, 0.2390986531972885, 0.27430248260498047, 0.3661964535713196, -0.41558513045310974, 0.8067247271537781, -0.0022600702941417694, 0.6214563846588135, -0.10152668505907059, 0.11052632331848145, 0.8277515172958374, -0.559378981590271, -0.2733756899833679, -0.13773086667060852, 1.2282384634017944, 0.25664374232292175, 0.49221017956733704, 0.040364719927310944, -0.18377797305583954, 0.1740737408399582, -0.058288488537073135, -0.7782579660415649, -0.42438367009162903, 0.07424500584602356, -0.34626656770706177, -0.16068659722805023, 0.181820809841156, -0.6696197390556335, 0.11579744517803192, -0.02681201882660389, 0.674674391746521, -0.791419267654419, -0.08677592128515244, 0.252572238445282, -0.17413999140262604, 0.1909928321838379, -0.11012929677963257, -0.5552509427070618, 0.18062613904476166, 0.4737355709075928, 0.8648370504379272, 0.08362750709056854, -0.2967798411846161, -0.47357606887817383, -0.35714033246040344, -0.18276090919971466, 0.5960484743118286, -0.500316858291626, -0.23647673428058624, 0.14489787817001343, 0.24229475855827332, -0.45271337032318115, -0.22425249218940735, 0.7486830353736877, -0.19611072540283203, 0.5452571511268616, -0.17959336936473846, -0.8800967335700989, -0.31469810009002686, 0.1606454998254776, -0.5864282846450806, 1.095591425895691, 0.254402220249176, -0.7233999967575073, 0.32559630274772644, -0.6144290566444397, -0.5125837922096252, -0.2754518985748291, -0.2660927176475525, -0.7726652026176453, 0.0918358638882637, 0.7274889349937439, 0.8851431012153625, -0.05222947522997856, 0.16860082745552063, -0.30643925070762634, -0.27837494015693665, 0.4172694981098175, -0.45946821570396423, 1.0383453369140625, 0.06304867565631866, -0.17881619930267334, -0.035454679280519485, -0.6718858480453491, 0.06909112632274628, 0.28895315527915955, -0.2891524136066437, -0.2709718346595764, -0.08614390343427658, 0.323940634727478, 0.03669820353388786, 0.0450756661593914, -0.5664678812026978, 0.11789783835411072, -0.5463847517967224, 0.6902183294296265, 0.693103551864624, 0.09878657013177872, 0.1827152669429779, -0.46216195821762085, 0.4160309433937073, 0.2511710226535797, -0.007758928928524256, -0.24674898386001587, -0.504819393157959, -0.8676711320877075, -0.5255841016769409, 0.6237351894378662, 0.8091331124305725, -0.6158469319343567, 1.0348012447357178, -0.5364659428596497, -0.4996241629123688, -0.6366136074066162, 0.0837322324514389, 0.30656328797340393, 0.15351544320583344, 0.6004512310028076, -0.15506532788276672, -0.4885532855987549, -1.1579396724700928, -0.18829752504825592, 0.037109166383743286, 0.20322038233280182, 0.1958857774734497, 0.7498303055763245, -0.23329684138298035, 0.8988096117973328, -0.6407748460769653, -0.2516006529331207, -0.31107297539711, -0.10220740735530853, 0.4194645583629608, 0.740419328212738, 0.8653373718261719, -0.8302985429763794, -0.7863208055496216, -0.2689148783683777, -0.757793664932251, 0.2591148018836975, -0.06097494810819626, -0.032775118947029114, 0.271012544631958, 0.4970073997974396, -0.5394808650016785, 0.3570750653743744, 0.5626697540283203, -0.35130032896995544, 0.38532862067222595, -0.2965393662452698, 0.23562438786029816, -1.5473254919052124, -0.23031213879585266, 0.2776792049407959, -0.2562127411365509, -0.4502168297767639, -0.09229212254285812, 0.07232523709535599, 0.03551696985960007, -0.49542370438575745, 0.32001256942749023, -0.4807736873626709, 0.28975626826286316, 0.5227857828140259, 0.4203459620475769, 0.12436646223068237, 0.7727674245834351, -0.006074074190109968, 0.606049120426178, 0.6307066679000854, -0.4309654235839844, 0.37154683470726013, 0.5607435703277588, -0.6275953054428101, 0.5268709063529968, -0.8093182444572449, -0.08578726649284363, 0.039722684770822525, 0.33081376552581787, -1.123691201210022, 0.07991036027669907, 0.295502632856369, -0.5493355989456177, 0.2847853899002075, 0.061327096074819565, -0.7408151030540466, -0.4441099762916565, -0.5049213171005249, 0.1423114389181137, 0.5855937004089355, -0.5004841089248657, 0.4723703861236572, 0.0589560829102993, -0.023388255387544632, -0.6217123866081238, -1.1516047716140747, -0.2301453948020935, -0.29649442434310913, -0.8370320796966553, 0.26895400881767273, -0.1257220059633255, 0.01858273707330227, 0.17503055930137634, 0.16238437592983246, -0.03326796740293503, -0.05425405502319336, 0.149687722325325, 0.11906322091817856, -0.28712397813796997, 0.30739209055900574, 0.1389152705669403, 0.03870688006281853, -0.14102523028850555, -0.00944511592388153, 0.671875536441803, -0.460126131772995, -0.3399958312511444, -0.47707635164260864, 0.31551143527030945, 0.3271721303462982, -0.2916642129421234, 0.9458349347114563, 0.8933407664299011, -0.26925191283226013, 0.03819260001182556, -0.5157742500305176, -0.19745300710201263, -0.49242937564849854, 0.5970824956893921, -0.7317274808883667, -0.9832121729850769, 0.4187493622303009, 0.129793182015419, -0.08262541145086288, 0.6804395914077759, 0.5997102856636047, -0.10876857489347458, 0.8218510746955872, 0.4506600797176361, -0.056427422910928726, 0.439382940530777, -0.6245434284210205, 0.460869163274765, -0.706354022026062, -0.14648570120334625, -0.3696672320365906, -0.26016080379486084, -0.9236902594566345, -0.5244331955909729, 0.24641260504722595, 0.27860066294670105, -0.1472271978855133, 0.6029802560806274, -0.4802846610546112, 0.057390403002500534, 0.49734053015708923, 0.2655964195728302, -0.05169929563999176, 0.25958213210105896, -0.5260304808616638, -0.24522291123867035, -0.885954737663269, -0.46784839034080505, 1.0824118852615356, 0.4706679582595825, 0.698125422000885, 0.0704878643155098, 0.6883161664009094, 0.11871916800737381, -0.11196339130401611, -0.7850114107131958, 0.5098559856414795, -0.40466976165771484, -0.22023706138134003, -0.10114482790231705, -0.515458881855011, -0.9902704954147339, 0.35507291555404663, -0.34455132484436035, -0.7588842511177063, 0.21076896786689758, -0.06467781960964203, -0.3496180772781372, 0.23342974483966827, -1.0083086490631104, 0.9898983836174011, -0.24300143122673035, -0.23659290373325348, -0.057388849556446075, -0.4059104919433594, 0.1118956133723259, 0.06892428547143936, 0.13201607763767242, 0.12827646732330322, 0.258137047290802, 0.8731415867805481, -0.3985336720943451, 0.7531397342681885, 0.004037119448184967, 0.04251020401716232, 0.2981531322002411, 0.007501670159399509, 0.3414763808250427, 0.1932724267244339, -0.05060652270913124, 0.1954679787158966, 0.15489992499351501, -0.4161927103996277, -0.645538866519928, 0.8264288306236267, -0.8509207367897034, -0.5148171186447144, -0.5849397778511047, -0.49576112627983093, -0.14694838225841522, -0.08139536529779434, 0.3245429992675781, 0.5701195001602173, -0.38490745425224304, 0.639805793762207, 0.45142075419425964, -0.44987067580223083, 0.5344894528388977, 0.18548791110515594, -0.08103757351636887, -0.41982564330101013, 0.796570897102356, 0.10308752954006195, 0.0976908951997757, 0.789016842842102, 0.26079216599464417, -0.4253237843513489, -0.11101368814706802, -0.2572346031665802, 0.3710527718067169, -0.6084331274032593, -0.03055325523018837, -1.0364881753921509, -0.487067848443985, -0.7821841239929199, -0.2444802224636078, -0.396444708108902, -0.7519275546073914, -0.2849428355693817, -0.2857780456542969, 0.6331788897514343, 0.4435212016105652, -0.18636396527290344, 0.32792550325393677, -0.6260090470314026, 0.026801401749253273, 0.02951309084892273, 0.20050589740276337, -0.2385154664516449, -0.5655415654182434, -0.2820643484592438, 0.20427167415618896, -0.3142758309841156, -0.8355029225349426, 0.46924540400505066, 0.31877774000167847, 0.6967579126358032, 0.3792850077152252, -0.09311489015817642, 0.5688211917877197, -0.4615049958229065, 0.9974598288536072, 0.18004092574119568, -0.9799495339393616, 0.5702311992645264, 0.09516188502311707, 0.16960695385932922, 0.48612210154533386, 0.5566477179527283, -0.4915908873081207, -0.2522718906402588, -0.6634102463722229, -0.9460790753364563, 0.5031290054321289, 0.4785591661930084, 0.23347319662570953, -0.19962799549102783, 0.17003947496414185, -0.033772941678762436, 0.16415442526340485, -0.955283522605896, -0.40392082929611206, -0.3846115171909332, -0.33927518129348755, -0.5451297760009766, -0.24066631495952606, -0.06484182924032211, -0.5615601539611816, 0.7126647233963013, 0.1538601517677307, 0.6263903379440308, 0.36648643016815186, -0.338920533657074, 0.2864151895046234, 0.3583270013332367, 0.5567254424095154, 0.4533824622631073, -0.3135124742984772, 0.033653270453214645, 0.19959700107574463, -0.2808438539505005, 0.11932149529457092, 0.32127466797828674, 0.015279744751751423, 0.1442437767982483, 0.6901930570602417, 0.9823155999183655, 0.0778169184923172, -0.4840928912162781, 0.7889296412467957, -0.12991194427013397, -0.46950799226760864, -0.529972493648529, -0.15644322335720062, 0.13192370533943176, 0.3119802474975586, 0.073117196559906, 0.022044414654374123, -0.2414592206478119, -0.5241130590438843, 0.4667225182056427, 0.2967011332511902, -0.5889815092086792, -0.24599741399288177, 0.4958055019378662, -0.01277767401188612, -0.1965218484401703, 0.7573626637458801, -0.3054225444793701, -0.866279661655426, 0.46901389956474304, 0.5070632696151733, 0.8830714821815491, -0.16192488372325897, 0.3800995349884033, 0.6209238767623901, 0.4707605540752411, -0.04259416460990906, 0.31030309200286865, 0.16572782397270203, -0.9475541114807129, -0.20893998444080353, -0.5979382395744324, 0.2405398041009903, 0.08974199742078781, -0.5742601156234741, 0.1550031453371048, -0.20891273021697998, -0.13636918365955353, -0.17694880068302155, 0.02178020216524601, -0.9113207459449768, 0.046407170593738556, -0.24295081198215485, 0.7916995286941528, -1.137396216392517, 0.6820662021636963, 0.7949519753456116, -0.6892023086547852, -0.7050832509994507, -0.06301470845937729, -0.37492597103118896, -0.7595071196556091, 0.6973626017570496, 0.2214495986700058, 0.3173031508922577, -0.13071271777153015, -0.3140193223953247, -0.7291381359100342, 0.9495439529418945, 0.17739824950695038, -0.6720653772354126, 0.23081552982330322, 0.1076374500989914, 0.652327299118042, -0.44851112365722656, 0.4892014265060425, 0.5162729620933533, 0.5694999694824219, -0.12964637577533722, -0.799915075302124, 0.201035276055336, -0.3779280185699463, 0.1363675743341446, -0.0716451033949852, -0.8259454369544983, 1.067345380783081, -0.040840186178684235, -0.06415461748838425, -0.09829504787921906, 0.7664790749549866, 0.20603100955486298, -0.07803059369325638, 0.5163431167602539, 0.9123092889785767, 0.6161706447601318, -0.34453144669532776, 1.2045155763626099, -0.2812437415122986, 0.5616797804832458, 0.9600763916969299, 0.007810634095221758, 0.9916365742683411, 0.40810343623161316, -0.33990877866744995, 0.8069376349449158, 0.7121184468269348, -0.26254695653915405, 0.6501966714859009, 0.3534904420375824, 0.1062626913189888, -0.18533149361610413, 0.21635861694812775, -0.46763142943382263, 0.5295282006263733, 0.3358524739742279, -0.5073804259300232, 0.004289028700441122, 0.19610801339149475, 0.28299716114997864, 0.3054562509059906, 0.34450408816337585, 0.378140926361084, 0.28552138805389404, -0.4737585484981537, 0.780559778213501, 0.08766274154186249, 0.8122044205665588, -0.5890025496482849, 0.11910300701856613, -0.12306381016969681, 0.362785279750824, -0.09385336190462112, -0.7499637007713318, 0.10514318197965622, -0.2664455771446228, 0.042469918727874756, -0.20267467200756073, 0.28825870156288147, -0.6087175607681274, -0.8150330781936646, 0.6072466969490051, 0.8228051662445068, 0.055552344769239426, 0.07504130899906158, -1.1063657999038696, 0.05594705417752266, 0.09819526225328445, -0.5502101182937622, -0.02264162339270115, 0.39068520069122314, 0.1299619972705841, 0.5126529335975647, 0.45991334319114685, -0.04003041982650757, 0.054475851356983185, 0.2639279365539551, 0.8430822491645813, -0.565855860710144, -0.5867408514022827, -1.005558729171753, 0.48007696866989136, -0.16424964368343353, -0.3035106360912323, 0.9588907361030579, 0.8529528975486755, 0.9023688435554504, -0.1512180119752884, 0.8159837126731873, -0.19481363892555237, 0.41519618034362793, -0.6489582657814026, 0.6809089183807373, -0.7629933953285217, 0.015154831111431122, -0.37615254521369934, -1.19992196559906, -0.3292003870010376, 0.9668577313423157, -0.31285154819488525, 0.28189051151275635, 1.0750951766967773, 0.9945340752601624, -0.27576297521591187, -0.23715472221374512, 0.126800537109375, 0.5450567603111267, 0.43179917335510254, 0.7364857792854309, 0.5264720320701599, -0.8515493869781494, 0.38982459902763367, -0.5148688554763794, -0.1873725950717926, -0.25876426696777344, -0.7969365119934082, -1.237046480178833, -1.0002186298370361, -0.5229543447494507, -0.49632301926612854, 0.09636899083852768, 1.0701202154159546, 0.5753468871116638, -0.9644405245780945, -0.21902769804000854, -0.014919750392436981, -0.0007795465644448996, -0.48041680455207825, -0.3279746472835541, 0.845392644405365, -0.22557996213436127, -0.7700847387313843, 0.47444602847099304, -0.05649293214082718, 0.0606602244079113, -0.17330725491046906, -0.05591972917318344, -0.7818215489387512, 0.13998214900493622, 0.7625946998596191, -0.1893499493598938, -0.6876652240753174, -0.39806172251701355, 0.006920190993696451, -0.18995817005634308, 0.16339503228664398, 0.43699049949645996, -0.5434646010398865, 0.4673795700073242, 0.7063714265823364, 0.5972592234611511, 0.6951349973678589, -0.02778763696551323, 0.5461319088935852, -0.9947957992553711, 0.3342699706554413, 0.14531531929969788, 0.614592432975769, 0.4366800785064697, -0.19671860337257385, 0.6131937503814697, 0.3053526282310486, -0.44467440247535706, -0.7037984728813171, -0.02753276191651821, -1.203495740890503, -0.32410532236099243, 1.1314730644226074, -0.3534494936466217, -0.23058699071407318, 0.32965636253356934, -0.049274805933237076, 0.3822607100009918, -0.5043598413467407, 0.4682575762271881, 0.8573983907699585, -0.017635714262723923, -0.18455198407173157, -0.46752095222473145, 0.40790578722953796, 0.6159944534301758, -0.5305028557777405, -0.3880443572998047, 0.20376485586166382, 0.3389563262462616, 0.2574857771396637, 0.40073075890541077, -0.09076797962188721, -0.12265945225954056, 0.02593271993100643, 0.0007515489705838263, -0.02806408330798149, -0.006408996880054474, -0.2337246537208557, 0.11570418626070023, -0.50258868932724, -0.34266021847724915 ]
xlm-clm-ende-1024
null
2023-04-06T13:40:40Z
15,643
0
transformers
[ "transformers", "pytorch", "tf", "safetensors", "xlm", "fill-mask", "multilingual", "en", "de", "arxiv:1901.07291", "arxiv:1910.09700", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
fill-mask
2022-03-02T23:29:04Z
--- language: - multilingual - en - de --- # xlm-clm-ende-1024 # 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. [Technical Specifications](#technical-specifications) 8. [Citation](#citation) 9. [Model Card Authors](#model-card-authors) 10. [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, Alexis Conneau. xlm-clm-ende-1024 is a transformer pretrained using a causal language modeling (CLM) objective (next token prediction) for English-German. ## Model Description - **Developed by:** Guillaume Lample, Alexis Conneau, see [associated paper](https://arxiv.org/abs/1901.07291) - **Model type:** Language model - **Language(s) (NLP):** English-German - **License:** Unknown - **Related Models:** [xlm-clm-enfr-1024](https://huggingface.co/xlm-clm-enfr-1024), [xlm-mlm-ende-1024](https://huggingface.co/xlm-mlm-ende-1024), [xlm-mlm-enfr-1024](https://huggingface.co/xlm-mlm-enfr-1024), [xlm-mlm-enro-1024](https://huggingface.co/xlm-mlm-enro-1024) - **Resources for more information:** - [Associated paper](https://arxiv.org/abs/1901.07291) - [GitHub Repo](https://github.com/facebookresearch/XLM) - [Hugging Face Multilingual Models for Inference docs](https://huggingface.co/docs/transformers/v4.20.1/en/multilingual#xlm-with-language-embeddings) # Uses ## Direct Use The model is a language model. The model can be used for causal language modeling. ## Downstream Use To learn more about this task and potential downstream uses, see the [Hugging Face Multilingual Models for Inference](https://huggingface.co/docs/transformers/v4.20.1/en/multilingual#xlm-with-language-embeddings) docs. ## 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 See the [associated paper](https://arxiv.org/pdf/1901.07291.pdf) for details on the training data and training procedure. # Evaluation ## Testing Data, Factors & Metrics See the [associated paper](https://arxiv.org/pdf/1901.07291.pdf) for details on the testing data, factors and metrics. ## Results For xlm-clm-ende-1024 results, see Table 2 of the [associated paper](https://arxiv.org/pdf/1901.07291.pdf). # 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 The model developers write: > We implement all our models in PyTorch (Paszke et al., 2017), and train them on 64 Volta GPUs for the language modeling tasks, and 8 GPUs for the MT tasks. We use float16 operations to speed up training and to reduce the memory usage of our models. See the [associated paper](https://arxiv.org/pdf/1901.07291.pdf) for further details. # 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. <details> <summary> Click to expand </summary> ```python import torch from transformers import XLMTokenizer, XLMWithLMHeadModel tokenizer = XLMTokenizer.from_pretrained("xlm-clm-ende-1024") model = XLMWithLMHeadModel.from_pretrained("xlm-clm-ende-1024") input_ids = torch.tensor([tokenizer.encode("Wikipedia was used to")]) # batch size of 1 language_id = tokenizer.lang2id["en"] # 0 langs = torch.tensor([language_id] * input_ids.shape[1]) # torch.tensor([0, 0, 0, ..., 0]) # We reshape it to be of size (batch_size, sequence_length) langs = langs.view(1, -1) # is now of shape [1, sequence_length] (we have a batch size of 1) outputs = model(input_ids, langs=langs) ``` </details>
[ -0.4162311553955078, -0.6359809637069702, 0.27841562032699585, 0.20425669848918915, -0.0927044004201889, -0.16565246880054474, -0.36205044388771057, -0.41665229201316833, -0.017048854380846024, 0.5567463040351868, -0.5420794486999512, -0.49284854531288147, -0.7087299823760986, -0.0169143658131361, -0.3757881224155426, 1.0073487758636475, -0.31170952320098877, 0.2790274918079376, 0.006780328694730997, -0.16678528487682343, -0.32238122820854187, -0.6658774614334106, -0.7752346396446228, -0.30761411786079407, 0.5030668377876282, 0.1587284952402115, 0.5249342918395996, 0.45291078090667725, 0.1948074996471405, 0.3637182116508484, -0.12255529314279556, -0.14803342521190643, -0.5285394787788391, -0.4010983109474182, 0.1084616631269455, -0.3819521963596344, -0.49027249217033386, 0.20425227284431458, 0.7534130215644836, 0.7817620038986206, -0.048440415412187576, 0.21392948925495148, 0.046373654156923294, 0.40984803438186646, -0.3073807954788208, 0.1956634819507599, -0.47128748893737793, 0.11125367879867554, -0.128007709980011, 0.15533187985420227, -0.5329954028129578, -0.07076414674520493, 0.1871749758720398, -0.4685506522655487, 0.09001617878675461, 0.16969801485538483, 1.1200315952301025, 0.03212691470980644, -0.3098357915878296, -0.1009637862443924, -0.5695760250091553, 0.9495056867599487, -0.9229965806007385, 0.8700916767120361, 0.2796329855918884, 0.046564195305109024, 0.2391011267900467, -0.8914777636528015, -0.6088303327560425, -0.20262420177459717, -0.2943004071712494, 0.17778554558753967, -0.219636008143425, -0.054231252521276474, 0.4436907172203064, 0.17796514928340912, -0.6415053009986877, 0.13538679480552673, -0.389869749546051, -0.28936147689819336, 0.5723194479942322, -0.01351864729076624, 0.5516336560249329, -0.07215660065412521, -0.3377140462398529, -0.31632375717163086, -0.665947675704956, 0.07918575406074524, 0.4901711046695709, 0.32856184244155884, -0.5298266410827637, 0.41507238149642944, 0.12793633341789246, 0.5972306132316589, 0.004093714989721775, -0.03588308021426201, 0.532992959022522, -0.5290404558181763, -0.21786808967590332, -0.023279739543795586, 0.9694750905036926, 0.10213477164506912, 0.18354572355747223, -0.14632436633110046, -0.19568981230258942, -0.16379444301128387, 0.0034487987868487835, -0.9824748635292053, -0.03543543070554733, 0.2197103202342987, -0.38596999645233154, -0.05593452602624893, 0.025030264630913734, -0.6115982532501221, 0.21283110976219177, -0.49536389112472534, 0.49323734641075134, -0.47041085362434387, -0.47578537464141846, 0.12414494901895523, 0.19814884662628174, 0.2238617092370987, -0.029063032940030098, -0.6767536997795105, 0.27177783846855164, 0.32437410950660706, 0.7438250780105591, -0.11641319841146469, -0.5256140828132629, -0.2566753029823303, -0.19010135531425476, -0.15314197540283203, 0.4448821544647217, -0.2570051848888397, -0.2922445237636566, -0.04071643576025963, 0.3451334238052368, -0.23323377966880798, -0.3031322658061981, 0.4766603112220764, -0.4183879792690277, 0.6390292644500732, -0.19705842435359955, -0.5672045946121216, -0.3188423812389374, 0.007257955614477396, -0.731308102607727, 1.1129186153411865, 0.20668768882751465, -0.9224277138710022, 0.2609102725982666, -0.6094555258750916, -0.28883546590805054, -0.17359933257102966, 0.016140861436724663, -0.6356635689735413, -0.2317957878112793, 0.148595929145813, 0.34460917115211487, -0.289684534072876, 0.4201217293739319, -0.13083964586257935, -0.02723703347146511, -0.05562227591872215, -0.2587130665779114, 1.1162735223770142, 0.2928895652294159, -0.5653429627418518, 0.26682230830192566, -0.6028223633766174, 0.04882585257291794, 0.14750322699546814, -0.17886336147785187, -0.09264790266752243, -0.25224459171295166, 0.3811388611793518, 0.5312187075614929, 0.30956512689590454, -0.39925652742385864, -0.16487805545330048, -0.4072975814342499, 0.26245635747909546, 0.6357284784317017, -0.3717346787452698, 0.4615153968334198, -0.16041316092014313, 0.5444668531417847, 0.29930543899536133, 0.19700887799263, -0.14844034612178802, -0.42186516523361206, -0.9142034649848938, -0.062245260924100876, 0.4093337655067444, 0.5984971523284912, -0.6795254349708557, 0.5846237540245056, -0.24877384305000305, -0.755282461643219, -0.404619038105011, 0.19446945190429688, 0.6638011932373047, 0.47651407122612, 0.42812055349349976, -0.3048730194568634, -0.7054020762443542, -0.7916277050971985, -0.2554645240306854, -0.0020177236292511225, 0.17375914752483368, 0.24736012518405914, 0.6087759733200073, -0.4529474973678589, 0.8464826345443726, -0.4333384931087494, -0.05231296643614769, -0.5006663203239441, 0.13172517716884613, 0.1723833531141281, 0.5368263125419617, 0.664612352848053, -0.7553715705871582, -0.6795027256011963, -0.08122309297323227, -0.671242892742157, -0.18450286984443665, -0.0024757503997534513, -0.20633476972579956, 0.5510668754577637, 0.5924105644226074, -0.5276989936828613, 0.2180052399635315, 0.7172418832778931, -0.493443101644516, 0.6037883162498474, -0.15225033462047577, -0.13425876200199127, -1.1638602018356323, 0.2507877051830292, 0.13979995250701904, -0.1657094657421112, -0.7407926917076111, -0.08039290457963943, 0.06582896411418915, -0.19246824085712433, -0.7260599136352539, 0.9216099381446838, -0.5145838856697083, 0.18227693438529968, -0.10038948059082031, 0.14692798256874084, -0.0780906230211258, 0.732246994972229, 0.3904060125350952, 0.45540478825569153, 0.7702441215515137, -0.5776972770690918, 0.05328287184238434, 0.11840261518955231, -0.2643565237522125, 0.16838230192661285, -0.7494930624961853, 0.08850187808275223, -0.06243570148944855, 0.17461344599723816, -0.6191642880439758, 0.16350023448467255, 0.2233656495809555, -0.3398604691028595, 0.6167363524436951, 0.08118417859077454, -0.5670491456985474, -0.3083869516849518, -0.06807557493448257, 0.54225093126297, 0.5921777486801147, -0.4464865028858185, 0.6726831793785095, 0.4221482574939728, -0.1040806993842125, -0.6928421258926392, -0.5827654600143433, -0.12814897298812866, -0.325687438249588, -0.6527110934257507, 0.4491671025753021, -0.19669115543365479, -0.02539900504052639, 0.016277574002742767, 0.15664055943489075, -0.005776804871857166, -0.059146448969841, 0.06397966295480728, 0.224450021982193, -0.08413644880056381, -0.11526753008365631, -0.1882888823747635, -0.24829508364200592, 0.08999111503362656, -0.23427048325538635, 0.664363443851471, -0.21892713010311127, -0.15130005776882172, -0.37565937638282776, 0.2672119438648224, 0.3356209397315979, -0.22955083847045898, 0.9098643660545349, 0.9560189843177795, -0.5784431099891663, -0.014148043468594551, -0.527958333492279, -0.3532698154449463, -0.43463951349258423, 0.6887797713279724, -0.12156665325164795, -0.79007887840271, 0.6702655553817749, 0.1001020073890686, 0.027699338272213936, 0.5327107310295105, 0.6381513476371765, 0.35166260600090027, 1.0295594930648804, 0.8432999849319458, -0.19526061415672302, 0.6399260759353638, -0.5353039503097534, 0.4874458909034729, -0.7300251126289368, -0.24259328842163086, -0.5223573446273804, 0.03546746447682381, -0.6966555714607239, -0.38948386907577515, 0.09022650867700577, 0.21379594504833221, -0.45403018593788147, 0.7714545726776123, -0.28492271900177, -0.012357980012893677, 0.5372026562690735, -0.04444942995905876, 0.042079221457242966, -0.14756087958812714, -0.46852919459342957, -0.14798061549663544, -0.7993307113647461, -0.4949779808521271, 0.9890679717063904, 0.5578017830848694, 0.6687930226325989, -0.09308794140815735, 0.5665379762649536, -0.19336910545825958, 0.40166887640953064, -0.5051669478416443, 0.5236842036247253, -0.018448911607265472, -0.7396928071975708, -0.3707989752292633, -0.6627303957939148, -0.9928672909736633, 0.1890815794467926, -0.08207294344902039, -0.7462558746337891, 0.02538427896797657, 0.09529541432857513, -0.12896841764450073, 0.44354358315467834, -0.8376718163490295, 1.2608842849731445, -0.5760079622268677, -0.3237549364566803, -0.07795752584934235, -0.5692669749259949, 0.3202078938484192, -0.35697677731513977, 0.41414308547973633, 0.08460058271884918, 0.20174555480480194, 1.0204427242279053, -0.5584133863449097, 0.9071239829063416, -0.21417930722236633, -0.1623813658952713, 0.27769148349761963, -0.2782588303089142, 0.5014853477478027, -0.13823777437210083, 0.046894438564777374, 0.609026312828064, 0.01226111501455307, -0.2636263966560364, -0.3924317955970764, 0.6409319639205933, -1.0136080980300903, -0.43617725372314453, -0.4185754358768463, -0.5438684821128845, 0.022830067202448845, 0.4690418839454651, 0.4337600767612457, 0.3746606409549713, -0.13607758283615112, 0.04917255416512489, 0.5328965783119202, -0.7920904755592346, 0.40533098578453064, 0.5585923194885254, -0.4660789966583252, -0.3462378680706024, 0.8441291451454163, 0.3162823021411896, 0.383422315120697, 0.4147418439388275, 0.13861143589019775, -0.5086306929588318, -0.220956489443779, -0.2667246460914612, 0.46045982837677, -0.7352774739265442, -0.024826541543006897, -0.876556396484375, -0.3730531930923462, -0.6625649929046631, 0.016156084835529327, -0.542060375213623, -0.18289397656917572, -0.1810183823108673, -0.18696042895317078, 0.2315329909324646, 0.44560399651527405, -0.12248930335044861, 0.3310271203517914, -0.6641073822975159, 0.13271665573120117, 0.07483536750078201, 0.351899117231369, 0.03235452249646187, -0.7198202610015869, -0.5860511064529419, 0.2061082124710083, -0.36709821224212646, -0.6553484201431274, 0.6519343852996826, -0.01987290196120739, 0.8000900745391846, 0.3507148325443268, -0.1173270121216774, 0.5398910641670227, -0.6043554544448853, 0.7739848494529724, 0.31878575682640076, -1.0222355127334595, 0.3114205598831177, -0.044614095240831375, 0.23897752165794373, 0.1732967346906662, 0.6785313487052917, -0.7068088054656982, -0.3226727545261383, -0.7580903768539429, -1.0000076293945312, 0.9066492915153503, 0.2134995311498642, 0.24039562046527863, 0.037742894142866135, 0.13477104902267456, -0.05144208297133446, 0.06424098461866379, -1.2591055631637573, -0.569280743598938, -0.2641374468803406, -0.1853635460138321, -0.3355681300163269, -0.15763820707798004, 0.09385902434587479, -0.5030117034912109, 0.984596848487854, 0.03986736014485359, 0.3682641386985779, 0.07219204306602478, -0.400856077671051, -0.04745608568191528, 0.02509424276649952, 0.6389659643173218, 0.527846097946167, -0.21778051555156708, 0.07502422481775284, 0.42649850249290466, -0.4431164860725403, 0.006686894688755274, 0.25938963890075684, -0.15195418894290924, 0.1251509189605713, 0.34441232681274414, 1.1366565227508545, 0.3433106541633606, -0.6008538603782654, 0.4150342345237732, -0.0380912609398365, -0.06891609728336334, -0.40293651819229126, -0.2708364725112915, 0.28747203946113586, -0.10860376060009003, 0.11555952578783035, -0.10934459418058395, -0.18390163779258728, -0.48878708481788635, 0.231723815202713, 0.37537381052970886, -0.5065628290176392, -0.4589775502681732, 0.86525559425354, 0.13932812213897705, -0.1778644621372223, 0.557277262210846, -0.13496625423431396, -0.7320041060447693, 0.5870262384414673, 0.5398205518722534, 0.883722186088562, -0.31449002027511597, 0.018606113269925117, 0.742476224899292, 0.4366823732852936, -0.050140880048274994, 0.08980969339609146, 0.24490797519683838, -0.9361864924430847, -0.4726206362247467, -0.6689436435699463, -0.10828524082899094, 0.21590445935726166, -0.44794461131095886, 0.6583139896392822, -0.06645585596561432, -0.07440734654664993, -0.1307171732187271, 0.1618535816669464, -0.9318918585777283, 0.2923268973827362, 0.23272475600242615, 0.9717129468917847, -0.9732016324996948, 0.9126138687133789, 0.553134560585022, -0.6499014496803284, -1.07669997215271, -0.3466959595680237, -0.1431851089000702, -0.7913917303085327, 0.8317777514457703, 0.294935941696167, 0.12104284018278122, 0.10229044407606125, -0.4449689984321594, -0.9680773019790649, 1.0448145866394043, 0.43763720989227295, -0.5458346009254456, -0.0056630573235452175, 0.4050607979297638, 0.4508785903453827, -0.3217451572418213, 0.6328320503234863, 0.4066021740436554, 0.607801616191864, -0.11272983253002167, -0.9544478058815002, 0.25611549615859985, -0.31035923957824707, 0.020299846306443214, 0.03309277072548866, -0.6204680800437927, 1.0126575231552124, -0.20047877728939056, -0.22956950962543488, -0.2014341652393341, 0.5629813075065613, 0.30813562870025635, 0.08872032910585403, 0.5681071877479553, 0.8456160426139832, 0.5169128179550171, -0.12630212306976318, 1.148214340209961, -0.6992671489715576, 0.5591907501220703, 0.904063880443573, -0.12637674808502197, 0.6367771625518799, 0.33157360553741455, -0.22583794593811035, 0.5010326504707336, 0.8389374017715454, 0.08286666125059128, 0.3773566782474518, 0.15130141377449036, -0.028636803850531578, -0.12408355623483658, 0.01767200417816639, -0.5131516456604004, 0.1659460812807083, 0.15564420819282532, -0.4507986605167389, -0.23536919057369232, 0.039939556270837784, 0.431468665599823, -0.26196417212486267, -0.10154708474874496, 0.49574267864227295, 0.3833802342414856, -0.7355708479881287, 0.5551108121871948, 0.2177261859178543, 0.7764078378677368, -0.7262774109840393, 0.10295991599559784, -0.15637190639972687, 0.15662497282028198, -0.16857530176639557, -0.4786555767059326, 0.25203627347946167, -0.05107702687382698, -0.08371299505233765, -0.4993521571159363, 0.43673211336135864, -0.7291810512542725, -0.7539775371551514, 0.7009552717208862, 0.49003586173057556, 0.2072361707687378, -0.009565535001456738, -1.016445517539978, 0.07037390023469925, -0.010839028283953667, -0.536628007888794, 0.31411683559417725, 0.3063276410102844, -0.10483970493078232, 0.5716391801834106, 0.6029164791107178, -0.07549392431974411, 0.14584499597549438, 0.2808484435081482, 0.7467558979988098, -0.5973286628723145, -0.37141209840774536, -0.7895613312721252, 0.6680381894111633, 0.11455197632312775, -0.30903610587120056, 0.9258966445922852, 0.7405393123626709, 1.1957660913467407, -0.045122090727090836, 0.7673945426940918, -0.11767461150884628, 0.272670179605484, -0.5063507556915283, 0.7701781392097473, -0.605223536491394, 0.11066514998674393, -0.4924209415912628, -1.039017915725708, -0.20822472870349884, 0.555117130279541, -0.3929159343242645, 0.5249230265617371, 0.8308586478233337, 0.8973586559295654, 0.008283708244562149, -0.2980296313762665, 0.31421324610710144, 0.41237321496009827, 0.2591085135936737, 0.5235716104507446, 0.45293304324150085, -0.6400980949401855, 0.5428619384765625, -0.4741893708705902, -0.08581671118736267, -0.05015375837683678, -0.8935520052909851, -0.8579064011573792, -0.7168266773223877, -0.5348190665245056, -0.379938542842865, -0.3210242986679077, 0.8979902863502502, 0.8375898599624634, -0.8410999178886414, -0.48769038915634155, -0.14892366528511047, 0.13733941316604614, -0.19953350722789764, -0.21681590378284454, 0.5205530524253845, -0.39318594336509705, -0.946205198764801, -0.0545845590531826, -0.07013342529535294, 0.1375712752342224, -0.3599683940410614, -0.4823218584060669, -0.3586171567440033, 0.01620444655418396, 0.5998255014419556, 0.20713140070438385, -0.6675875782966614, -0.12667913734912872, 0.18157145380973816, -0.12610702216625214, -0.07961004227399826, 0.5429447889328003, -0.4783535599708557, 0.28890925645828247, 0.3759649693965912, 0.42241448163986206, 0.707826554775238, -0.36401885747909546, 0.633488655090332, -0.6122375726699829, 0.2984473407268524, -0.032087601721286774, 0.7055160999298096, 0.3743623197078705, -0.2844690978527069, 0.4901321232318878, 0.29410669207572937, -0.4908175766468048, -0.8212488293647766, 0.05061066895723343, -0.9848220348358154, -0.23456931114196777, 1.226709008216858, -0.2741571366786957, -0.2217017561197281, 0.06891302019357681, -0.215427964925766, 0.5243903994560242, -0.06985416263341904, 0.42748790979385376, 0.7586688995361328, 0.10441002994775772, -0.405738890171051, -0.49896085262298584, 0.45314231514930725, 0.4415935277938843, -0.8505451679229736, -0.09780740737915039, 0.10902908444404602, 0.46024656295776367, 0.22230547666549683, 0.500518262386322, -0.2418658286333084, -0.03295806050300598, -0.06452887505292892, 0.5443717837333679, 0.08371437340974808, -0.11869446188211441, -0.17512907087802887, -0.35090145468711853, -0.07009199261665344, 0.20285584032535553 ]
sentence-transformers/stsb-mpnet-base-v2
sentence-transformers
2021-08-05T08:31:17Z
15,591
11
sentence-transformers
[ "sentence-transformers", "pytorch", "mpnet", "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/stsb-mpnet-base-v2 This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 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/stsb-mpnet-base-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/stsb-mpnet-base-v2') model = AutoModel.from_pretrained('sentence-transformers/stsb-mpnet-base-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/stsb-mpnet-base-v2) ## Full Model Architecture ``` SentenceTransformer( (0): Transformer({'max_seq_length': 75, 'do_lower_case': False}) with Transformer model: MPNetModel (1): Pooling({'word_embedding_dimension': 768, '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.2917739152908325, -0.6177064776420593, 0.3226798474788666, 0.4080365002155304, -0.33911603689193726, -0.4273260235786438, -0.21561798453330994, 0.04790415242314339, 0.18422003090381622, 0.39248478412628174, -0.5424737930297852, -0.33402198553085327, -0.805183470249176, 0.0015313411131501198, -0.44022583961486816, 0.7468464970588684, -0.08580780029296875, 0.008526799269020557, -0.3143252432346344, -0.11814827471971512, -0.17088162899017334, -0.4474419057369232, -0.41372352838516235, -0.2930559813976288, 0.3290899395942688, 0.2000250518321991, 0.41623926162719727, 0.5169833302497864, 0.3970412015914917, 0.44690561294555664, -0.1353338211774826, 0.19997087121009827, -0.3018200695514679, -0.20473912358283997, -0.03872125595808029, -0.3192899227142334, -0.013326030224561691, 0.2888827919960022, 0.6731250286102295, 0.4513947665691376, -0.12398448586463928, 0.17153240740299225, 0.012800101190805435, 0.32588109374046326, -0.4596247375011444, 0.42916393280029297, -0.5963755249977112, 0.27677345275878906, 0.0819588154554367, 0.005597266834229231, -0.601750373840332, -0.027610942721366882, 0.27635470032691956, -0.2701716721057892, 0.07764662057161331, 0.16915744543075562, 1.1545374393463135, 0.3697453439235687, -0.4152090847492218, -0.19835390150547028, -0.25529080629348755, 0.773837685585022, -0.9061766862869263, 0.19783374667167664, 0.2392931878566742, -0.0024343763943761587, -0.036370545625686646, -1.0969678163528442, -0.776174783706665, -0.20159626007080078, -0.517372190952301, 0.2675442695617676, -0.4261052906513214, 0.03462361544370651, 0.19673097133636475, 0.17439623177051544, -0.6490992307662964, -0.0199750866740942, -0.5287789106369019, -0.18492203950881958, 0.4815637469291687, 0.013899228535592556, 0.31727665662765503, -0.7045844197273254, -0.5449406504631042, -0.3089466691017151, -0.18527144193649292, -0.04670025780797005, 0.21044804155826569, 0.19796122610569, -0.3318482041358948, 0.9584561586380005, -0.05874767526984215, 0.5668023228645325, -0.0685991570353508, 0.23883315920829773, 0.5877115726470947, -0.3234090507030487, -0.2780587375164032, -0.06990005075931549, 1.11561918258667, 0.405943900346756, 0.329929381608963, -0.05181356891989708, -0.13304299116134644, 0.029268108308315277, 0.3027312159538269, -0.872540295124054, -0.4099727272987366, 0.20457257330417633, -0.5210132598876953, -0.3235113322734833, 0.26161476969718933, -0.6143299341201782, -0.13557906448841095, -0.04615277796983719, 0.6967508792877197, -0.5863751173019409, 0.010022807866334915, 0.14125002920627594, -0.3119000196456909, 0.2262117564678192, -0.45673099160194397, -0.6575596928596497, 0.18504202365875244, 0.4046558737754822, 1.1111069917678833, -0.019322168081998825, -0.5483123064041138, -0.25218039751052856, -0.1741800308227539, 0.13783513009548187, 0.7214326858520508, -0.31233957409858704, -0.08072415739297867, -0.02645755000412464, 0.2619396448135376, -0.666144847869873, -0.35496819019317627, 0.5839820504188538, -0.19160692393779755, 0.6869280338287354, 0.18209245800971985, -0.7892596125602722, -0.17228837311267853, 0.12997695803642273, -0.41355738043785095, 1.0362911224365234, 0.23111487925052643, -0.9330905079841614, -0.0013074703747406602, -0.8388212323188782, -0.3199472427368164, -0.2066398710012436, 0.06530789285898209, -0.7045034766197205, 0.16708719730377197, 0.36594104766845703, 0.7417978048324585, 0.1445440649986267, 0.36611175537109375, -0.18001970648765564, -0.4279586970806122, 0.4719550311565399, -0.3723427355289459, 1.1151005029678345, 0.15483900904655457, -0.4276007413864136, 0.2468212991952896, -0.5128955245018005, -0.08635763823986053, 0.25413841009140015, -0.23452211916446686, -0.013800227083265781, 0.12272606790065765, 0.21528930962085724, 0.4011094570159912, 0.1918925642967224, -0.6954977512359619, 0.1602836698293686, -0.6186493635177612, 0.9930284023284912, 0.6557080745697021, 0.023826224729418755, 0.5582221150398254, -0.28362470865249634, 0.12884613871574402, 0.44189149141311646, 0.013457193970680237, -0.22020168602466583, -0.42996424436569214, -1.0963224172592163, -0.23714308440685272, 0.33543866872787476, 0.6194141507148743, -0.7501989006996155, 0.9896600842475891, -0.4544235169887543, -0.47019970417022705, -0.7011224031448364, -0.184444397687912, 0.08809324353933334, 0.4600865840911865, 0.5779078006744385, -0.16114862263202667, -0.7574607133865356, -1.1236999034881592, 0.0032543307170271873, -0.10373593121767044, 0.07915790379047394, 0.40089309215545654, 0.7691518664360046, -0.4438842535018921, 0.9480000138282776, -0.586009681224823, -0.35922932624816895, -0.37745437026023865, 0.27598291635513306, 0.2541053593158722, 0.6650312542915344, 0.43564721941947937, -0.750719428062439, -0.29753541946411133, -0.548852801322937, -0.5755333304405212, -0.06620586663484573, -0.33930450677871704, -0.1851714551448822, 0.20655737817287445, 0.49404624104499817, -0.8784893751144409, 0.2827666401863098, 0.6382876038551331, -0.5944496393203735, 0.4575343728065491, -0.15548762679100037, -0.21244238317012787, -1.4466546773910522, 0.10747956484556198, 0.045559100806713104, -0.20529592037200928, -0.3796582520008087, 0.060460131615400314, 0.10515643656253815, -0.17456795275211334, -0.4862225353717804, 0.37406396865844727, -0.4141024053096771, 0.03255406394600868, -0.07151493430137634, 0.3959181308746338, -0.0884295105934143, 0.8274208903312683, -0.07457832992076874, 0.7971460223197937, 0.5264958739280701, -0.46598243713378906, 0.34837645292282104, 0.5410985350608826, -0.49303901195526123, 0.14640943706035614, -0.8606452345848083, -0.07491859048604965, -0.07213003188371658, 0.35017696022987366, -1.1797126531600952, -0.02633880451321602, 0.3680303394794464, -0.6350730061531067, 0.03640306368470192, 0.14213113486766815, -0.6778947710990906, -0.6794338226318359, -0.26344895362854004, -0.021081266924738884, 0.547916829586029, -0.5298970341682434, 0.5303177833557129, 0.28983864188194275, -0.062290772795677185, -0.5408961772918701, -1.1908462047576904, 0.12807758152484894, -0.09588797390460968, -0.7034017443656921, 0.5297605395317078, -0.06362064182758331, 0.23749560117721558, 0.2831263840198517, 0.2164650410413742, -0.011039498262107372, 0.01217319630086422, 0.14322689175605774, 0.19686681032180786, -0.172735795378685, 0.16236644983291626, 0.08144533634185791, -0.17251573503017426, 0.1313045173883438, -0.39386701583862305, 0.8110098242759705, -0.219390869140625, -0.156973734498024, -0.41785928606987, 0.21877028048038483, 0.45899608731269836, -0.26929447054862976, 1.2145336866378784, 1.0696299076080322, -0.3194849491119385, -0.05852225050330162, -0.4778408706188202, -0.2619122862815857, -0.46850326657295227, 0.6499727368354797, -0.17159219086170197, -1.0908012390136719, 0.2742455303668976, 0.1548352688550949, -0.07517436891794205, 0.6792984008789062, 0.5923910140991211, -0.18079516291618347, 0.8524516820907593, 0.5486922264099121, -0.1390480399131775, 0.521763265132904, -0.5579084157943726, 0.35394880175590515, -1.0118647813796997, -0.15860401093959808, -0.2711896598339081, -0.45242902636528015, -0.7363736629486084, -0.467986136674881, 0.19477570056915283, -0.11291328817605972, -0.339627206325531, 0.6689491868019104, -0.6054856777191162, 0.22831374406814575, 0.7088338732719421, 0.1719905585050583, -0.24881286919116974, 0.10518599301576614, -0.5514186024665833, -0.02580348215997219, -0.771569013595581, -0.4626346826553345, 0.7067458629608154, 0.3832642138004303, 0.19632713496685028, -0.033707067370414734, 0.5764018297195435, -0.011503476649522781, -0.0129502909258008, -0.7447340488433838, 0.667037308216095, -0.38848987221717834, -0.3523359000682831, -0.19965477287769318, -0.5009981989860535, -0.826019287109375, 0.512198269367218, -0.22370384633541107, -0.8997606039047241, 0.14303885400295258, -0.257587730884552, -0.2482558935880661, 0.380165159702301, -0.9147231578826904, 1.0846049785614014, 0.08309635519981384, -0.026978204026818275, -0.08355765789747238, -0.7877151966094971, 0.22632932662963867, 0.3341980576515198, -0.09796672314405441, -0.0363399013876915, -0.09689786285161972, 0.8056527972221375, -0.2733253240585327, 0.9636111855506897, -0.16191676259040833, 0.38816285133361816, 0.3430396318435669, -0.30156755447387695, 0.33569326996803284, -0.1664089411497116, -0.07145623117685318, 0.01620631478726864, -0.19667671620845795, -0.3843948543071747, -0.48408105969429016, 0.6859914064407349, -0.9704301953315735, -0.34456199407577515, -0.5107518434524536, -0.6181111931800842, -0.014166412875056267, 0.18054689466953278, 0.3415180742740631, 0.3915025591850281, -0.04041875898838043, 0.5561752319335938, 0.45487213134765625, -0.35352379083633423, 0.8028250336647034, 0.15172556042671204, 0.056089986115694046, -0.5150651931762695, 0.641542911529541, 0.09953310340642929, 0.019787533208727837, 0.4957905411720276, 0.227824404835701, -0.4174221456050873, -0.3069572448730469, -0.34659942984580994, 0.328713595867157, -0.49246877431869507, -0.19614417850971222, -1.089102864265442, -0.6568313837051392, -0.6732423305511475, 0.05246856436133385, -0.18742679059505463, -0.5076517462730408, -0.5670014023780823, -0.29334527254104614, 0.28096312284469604, 0.35490182042121887, -0.06423069536685944, 0.5474951267242432, -0.6754860281944275, 0.11560066044330597, 0.1664615422487259, 0.21777765452861786, -0.042219437658786774, -0.7443934082984924, -0.24160398542881012, 0.0008051634067669511, -0.35643115639686584, -0.8610779047012329, 0.6158387660980225, 0.19215722382068634, 0.5645591020584106, 0.11762980371713638, -0.04335925355553627, 0.5664287209510803, -0.6012423634529114, 0.9909347891807556, 0.12212106585502625, -1.0148628950119019, 0.44225573539733887, -0.11483009904623032, 0.49581724405288696, 0.4224070906639099, 0.33121854066848755, -0.6164214015007019, -0.18909290432929993, -0.7548879384994507, -1.0306479930877686, 0.7535985112190247, 0.5424268841743469, 0.4971834123134613, -0.2718619108200073, 0.2747196853160858, -0.42196953296661377, 0.19394031167030334, -1.1555893421173096, -0.41897737979888916, -0.37297138571739197, -0.5128306150436401, -0.33423754572868347, -0.4308164119720459, 0.20036786794662476, -0.3690430223941803, 0.8199743628501892, 0.04329296946525574, 0.864346981048584, 0.354013055562973, -0.44057944416999817, 0.27819278836250305, 0.24722719192504883, 0.6452875137329102, 0.25674858689308167, -0.030813202261924744, 0.31614214181900024, 0.23077090084552765, -0.3270239531993866, 0.011428635567426682, 0.5342651605606079, -0.12059587240219116, 0.11731250584125519, 0.32809892296791077, 1.0197882652282715, 0.4295160174369812, -0.41572287678718567, 0.7774627208709717, 0.002456036629155278, -0.24039632081985474, -0.4196774363517761, -0.07917860150337219, 0.39570218324661255, 0.3275667428970337, 0.18821001052856445, 0.19679206609725952, -0.0017475112108513713, -0.3563580811023712, 0.4292813241481781, 0.13826793432235718, -0.4928106367588043, 0.05727439001202583, 0.5423626899719238, 0.032644450664520264, -0.2846895158290863, 0.9524350166320801, -0.31869181990623474, -0.835077166557312, 0.5088186860084534, 0.6667912602424622, 0.957183837890625, 0.11595164984464645, 0.3871617019176483, 0.5042068362236023, 0.48490962386131287, -0.019447676837444305, 0.0017458668444305658, 0.08101185411214828, -0.8840155005455017, -0.3405114412307739, -0.6613066792488098, 0.11696349829435349, -0.04737883433699608, -0.43789783120155334, 0.15015730261802673, -0.12210629880428314, -0.08147715777158737, -0.1521318107843399, 0.009825531393289566, -0.5073263049125671, 0.010441286489367485, 0.12854692339897156, 0.9304656982421875, -0.860489547252655, 0.7779545187950134, 0.6911953687667847, -0.6121943593025208, -0.7846976518630981, -0.15021952986717224, -0.22255980968475342, -0.7267056703567505, 0.4587884545326233, 0.4564371705055237, 0.2401197999715805, 0.23184634745121002, -0.6120308041572571, -0.8109872937202454, 1.3973312377929688, 0.25119921565055847, -0.4192347228527069, -0.09939508885145187, 0.17816810309886932, 0.45481255650520325, -0.5412551164627075, 0.3350650668144226, 0.4214745759963989, 0.3971453309059143, -0.05506273731589317, -0.6242913603782654, 0.19022352993488312, -0.3695116937160492, 0.20352575182914734, -0.07227443158626556, -0.644910454750061, 0.9709108471870422, 0.02698962762951851, -0.19306305050849915, 0.24353058636188507, 0.885826587677002, 0.2809191942214966, -0.11335999518632889, 0.4475941061973572, 0.8610678911209106, 0.5454548001289368, -0.23988601565361023, 1.0081733465194702, -0.22667348384857178, 0.7080215215682983, 1.061028003692627, 0.12997819483280182, 1.1102343797683716, 0.4898708164691925, -0.05538547411561012, 0.8219497203826904, 0.5186198949813843, -0.45016002655029297, 0.5639044642448425, 0.32883769273757935, 0.030937325209379196, 0.0006756449583917856, 0.021019719541072845, -0.12006230652332306, 0.537645697593689, 0.1288163810968399, -0.8249435424804688, 0.0012457973789423704, 0.10205742716789246, 0.08804740756750107, -0.046529725193977356, -0.002498373156413436, 0.6034356951713562, 0.19015991687774658, -0.5581347346305847, 0.21210330724716187, 0.3014179766178131, 0.9731889963150024, -0.42428815364837646, 0.21850751340389252, -0.03783132880926132, 0.3630443215370178, -0.0027307169511914253, -0.6859061121940613, 0.4309956729412079, -0.1687718778848648, -0.12003854662179947, -0.2631426751613617, 0.7597565054893494, -0.6217436790466309, -0.6736778616905212, 0.25217318534851074, 0.47971412539482117, 0.07068835943937302, 0.016284871846437454, -1.0956166982650757, -0.07871489226818085, 0.028076674789190292, -0.4475330412387848, 0.16695468127727509, 0.21707838773727417, 0.48733440041542053, 0.5693241953849792, 0.4162581264972687, -0.07457549124956131, 0.15967245399951935, 0.09759584814310074, 0.7531729340553284, -0.5941893458366394, -0.5656000375747681, -0.9820863008499146, 0.7808405160903931, -0.3216819763183594, -0.40697142481803894, 0.6920537948608398, 0.5684992074966431, 0.8575318455696106, -0.22243350744247437, 0.5103570818901062, -0.25997796654701233, 0.1603742241859436, -0.5446940660476685, 0.9400597214698792, -0.4071033298969269, -0.10161995142698288, -0.11146392673254013, -0.9594129920005798, -0.27922675013542175, 1.052970290184021, -0.32539886236190796, 0.1282302439212799, 0.9426208734512329, 0.886498212814331, -0.23873336613178253, -0.05079486593604088, 0.10601668804883957, 0.5137767791748047, 0.12420596927404404, 0.5178642868995667, 0.4929654002189636, -0.771636962890625, 0.6716946363449097, -0.5494071245193481, 0.010785222984850407, -0.07339099794626236, -0.8752123713493347, -0.9648558497428894, -0.8791705369949341, -0.38241347670555115, -0.3466079831123352, 0.002484931843355298, 1.0657793283462524, 0.8087266683578491, -0.7509272694587708, -0.13072222471237183, -0.27218523621559143, -0.16170009970664978, -0.08847767114639282, -0.3408913016319275, 0.48265913128852844, -0.4518044590950012, -0.6541514992713928, 0.2508999705314636, -0.03875616937875748, 0.1243903860449791, -0.3550107479095459, 0.16747049987316132, -0.7493740916252136, 0.13369794189929962, 0.6596739292144775, -0.2975035607814789, -0.7208101153373718, -0.34125545620918274, -0.006569984368979931, -0.3836376965045929, -0.04698801040649414, 0.517483651638031, -0.7171199917793274, 0.11913298070430756, 0.47256824374198914, 0.5997212529182434, 0.7187751531600952, -0.2046538144350052, 0.45379194617271423, -0.9185460209846497, 0.2394031584262848, 0.06878960877656937, 0.7465079426765442, 0.4231269061565399, -0.2743642032146454, 0.6251900792121887, 0.32752588391304016, -0.5132441520690918, -0.6070810556411743, -0.06048065051436424, -1.1084587574005127, -0.3508768379688263, 1.1808278560638428, -0.34757673740386963, -0.3326973021030426, 0.32015329599380493, -0.2542589008808136, 0.4899072051048279, -0.22057045996189117, 0.644574761390686, 0.8580653071403503, 0.048463016748428345, -0.4731234610080719, -0.27652502059936523, 0.09082915633916855, 0.49030640721321106, -0.611412525177002, -0.26853862404823303, 0.25073686242103577, 0.22890031337738037, 0.24861928820610046, 0.2799954116344452, -0.05025198683142662, -0.009998281486332417, 0.07967353612184525, 0.05347912758588791, -0.3150809109210968, -0.06110670790076256, -0.41438230872154236, 0.21731817722320557, -0.5437699556350708, -0.2846646308898926 ]
google/t5-efficient-tiny
google
2023-01-24T16:51:36Z
15,552
10
transformers
[ "transformers", "pytorch", "tf", "jax", "t5", "text2text-generation", "deep-narrow", "en", "dataset:c4", "arxiv:2109.10686", "license:apache-2.0", "autotrain_compatible", "has_space", "text-generation-inference", "region:us" ]
text2text-generation
2022-03-02T23:29:05Z
--- language: - en datasets: - c4 tags: - deep-narrow inference: false license: apache-2.0 --- # T5-Efficient-TINY (Deep-Narrow version) T5-Efficient-TINY is a variation of [Google's original T5](https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html) following the [T5 model architecture](https://huggingface.co/docs/transformers/model_doc/t5). It is a *pretrained-only* checkpoint and was released with the paper **[Scale Efficiently: Insights from Pre-training and Fine-tuning Transformers](https://arxiv.org/abs/2109.10686)** by *Yi Tay, Mostafa Dehghani, Jinfeng Rao, William Fedus, Samira Abnar, Hyung Won Chung, Sharan Narang, Dani Yogatama, Ashish Vaswani, Donald Metzler*. In a nutshell, the paper indicates that a **Deep-Narrow** model architecture is favorable for **downstream** performance compared to other model architectures of similar parameter count. To quote the paper: > We generally recommend a DeepNarrow strategy where the model’s depth is preferentially increased > before considering any other forms of uniform scaling across other dimensions. This is largely due to > how much depth influences the Pareto-frontier as shown in earlier sections of the paper. Specifically, a > tall small (deep and narrow) model is generally more efficient compared to the base model. Likewise, > a tall base model might also generally more efficient compared to a large model. We generally find > that, regardless of size, even if absolute performance might increase as we continue to stack layers, > the relative gain of Pareto-efficiency diminishes as we increase the layers, converging at 32 to 36 > layers. Finally, we note that our notion of efficiency here relates to any one compute dimension, i.e., > params, FLOPs or throughput (speed). We report all three key efficiency metrics (number of params, > FLOPS and speed) and leave this decision to the practitioner to decide which compute dimension to > consider. To be more precise, *model depth* is defined as the number of transformer blocks that are stacked sequentially. A sequence of word embeddings is therefore processed sequentially by each transformer block. ## Details model architecture This model checkpoint - **t5-efficient-tiny** - is of model type **Tiny** with no variations. It has **15.58** million parameters and thus requires *ca.* **62.32 MB** of memory in full precision (*fp32*) or **31.16 MB** of memory in half precision (*fp16* or *bf16*). A summary of the *original* T5 model architectures can be seen here: | Model | nl (el/dl) | ff | dm | kv | nh | #Params| | ----| ---- | ---- | ---- | ---- | ---- | ----| | Tiny | 4/4 | 1024 | 256 | 32 | 4 | 16M| | Mini | 4/4 | 1536 | 384 | 32 | 8 | 31M| | Small | 6/6 | 2048 | 512 | 32 | 8 | 60M| | Base | 12/12 | 3072 | 768 | 64 | 12 | 220M| | Large | 24/24 | 4096 | 1024 | 64 | 16 | 738M| | Xl | 24/24 | 16384 | 1024 | 128 | 32 | 3B| | XXl | 24/24 | 65536 | 1024 | 128 | 128 | 11B| whereas the following abbreviations are used: | Abbreviation | Definition | | ----| ---- | | nl | Number of transformer blocks (depth) | | dm | Dimension of embedding vector (output vector of transformers block) | | kv | Dimension of key/value projection matrix | | nh | Number of attention heads | | ff | Dimension of intermediate vector within transformer block (size of feed-forward projection matrix) | | el | Number of transformer blocks in the encoder (encoder depth) | | dl | Number of transformer blocks in the decoder (decoder depth) | | sh | Signifies that attention heads are shared | | skv | Signifies that key-values projection matrices are tied | If a model checkpoint has no specific, *el* or *dl* than both the number of encoder- and decoder layers correspond to *nl*. ## Pre-Training The checkpoint was pretrained on the [Colossal, Cleaned version of Common Crawl (C4)](https://huggingface.co/datasets/c4) for 524288 steps using the span-based masked language modeling (MLM) objective. ## Fine-Tuning **Note**: This model is a **pretrained** checkpoint and has to be fine-tuned for practical usage. The checkpoint was pretrained in English and is therefore only useful for English NLP tasks. You can follow on of the following examples on how to fine-tune the model: *PyTorch*: - [Summarization](https://github.com/huggingface/transformers/tree/master/examples/pytorch/summarization) - [Question Answering](https://github.com/huggingface/transformers/blob/master/examples/pytorch/question-answering/run_seq2seq_qa.py) - [Text Classification](https://github.com/huggingface/transformers/tree/master/examples/pytorch/text-classification) - *Note*: You will have to slightly adapt the training example here to make it work with an encoder-decoder model. *Tensorflow*: - [Summarization](https://github.com/huggingface/transformers/tree/master/examples/tensorflow/summarization) - [Text Classification](https://github.com/huggingface/transformers/tree/master/examples/tensorflow/text-classification) - *Note*: You will have to slightly adapt the training example here to make it work with an encoder-decoder model. *JAX/Flax*: - [Summarization](https://github.com/huggingface/transformers/tree/master/examples/flax/summarization) - [Text Classification](https://github.com/huggingface/transformers/tree/master/examples/flax/text-classification) - *Note*: You will have to slightly adapt the training example here to make it work with an encoder-decoder model. ## Downstream Performance TODO: Add table if available ## Computational Complexity TODO: Add table if available ## More information We strongly recommend the reader to go carefully through the original paper **[Scale Efficiently: Insights from Pre-training and Fine-tuning Transformers](https://arxiv.org/abs/2109.10686)** to get a more nuanced understanding of this model checkpoint. As explained in the following [issue](https://github.com/google-research/google-research/issues/986#issuecomment-1035051145), checkpoints including the *sh* or *skv* model architecture variations have *not* been ported to Transformers as they are probably of limited practical usage and are lacking a more detailed description. Those checkpoints are kept [here](https://huggingface.co/NewT5SharedHeadsSharedKeyValues) as they might be ported potentially in the future.
[ -0.5062326788902283, -0.6053624153137207, 0.3422165513038635, 0.14997585117816925, -0.1847907453775406, 0.01611495204269886, -0.1607891321182251, -0.48079973459243774, 0.02989009954035282, 0.30808231234550476, -0.461296409368515, -0.4842526316642761, -0.7951981425285339, 0.1225689947605133, -0.5025047063827515, 0.9415760636329651, -0.1721782237291336, -0.007370654493570328, 0.009365106001496315, -0.11806628853082657, -0.32517343759536743, -0.3349202275276184, -0.5783341526985168, -0.28336116671562195, 0.2923949956893921, 0.2813411056995392, 0.49283114075660706, 0.8164132833480835, 0.6669706106185913, 0.29189303517341614, -0.3629138767719269, -0.03499162942171097, -0.48616713285446167, -0.40283942222595215, 0.07179295271635056, -0.27331313490867615, -0.6948980689048767, -0.10748887807130814, 0.6908402442932129, 0.7859445810317993, -0.04679642245173454, 0.2566661536693573, 0.20181196928024292, 0.6106581091880798, -0.6016795635223389, 0.10115248709917068, -0.5159382224082947, 0.1726042777299881, -0.06413164734840393, 0.09648527950048447, -0.49507513642311096, -0.20809707045555115, 0.17192716896533966, -0.43537580966949463, 0.41387343406677246, 0.020652316510677338, 1.2072910070419312, 0.4091510772705078, -0.3153192400932312, -0.24595984816551208, -0.7440930008888245, 0.80174720287323, -0.648793637752533, 0.6078812479972839, 0.21371717751026154, 0.3941175639629364, 0.33298659324645996, -1.1703181266784668, -0.4100262522697449, 0.02530669793486595, -0.2367355078458786, 0.21281103789806366, -0.29077965021133423, 0.22234009206295013, 0.560448408126831, 0.7003770470619202, -0.38864806294441223, 0.10246103256940842, -0.7018647789955139, -0.32808786630630493, 0.4502906799316406, 0.1954738348722458, 0.0684027224779129, -0.14660604298114777, -0.4071664810180664, -0.14544858038425446, -0.5672838091850281, 0.13241304457187653, 0.15779507160186768, 0.11792890727519989, -0.5143609642982483, 0.3768736720085144, -0.1745537966489792, 0.5568371415138245, 0.21692880988121033, -0.19661791622638702, 0.35501474142074585, -0.5385857820510864, -0.32527774572372437, -0.06114041060209274, 0.7153052091598511, 0.13732850551605225, 0.12341824918985367, -0.3315131664276123, -0.3072229027748108, -0.00956184696406126, 0.49668484926223755, -1.1276363134384155, -0.20570336282253265, 0.2992578446865082, -0.5853078365325928, -0.3594306409358978, 0.007044708821922541, -0.6843652725219727, 0.027645615860819817, -0.10834447294473648, 0.7296390533447266, -0.5452949404716492, -0.0394483245909214, 0.28813084959983826, -0.21304725110530853, 0.47474074363708496, 0.3195737898349762, -0.8761113286018372, 0.40519702434539795, 0.5698161721229553, 0.9122622013092041, 0.00009413412772119045, -0.23657217621803284, -0.06933493912220001, -0.08061134815216064, -0.20072239637374878, 0.585874617099762, -0.3467063903808594, -0.25579893589019775, -0.12507960200309753, 0.037738949060440063, -0.19371478259563446, -0.3708793520927429, 0.6344812512397766, -0.4747924208641052, 0.4134380519390106, -0.33306971192359924, -0.49671536684036255, -0.3573783040046692, 0.31096935272216797, -0.6832613945007324, 0.8655549883842468, 0.10375934094190598, -0.9013023972511292, 0.3501884937286377, -0.7892325520515442, -0.30115261673927307, -0.13006265461444855, 0.22256402671337128, -0.47537291049957275, -0.006327091250568628, 0.2375156134366989, 0.45636501908302307, -0.34598150849342346, 0.00812816433608532, -0.06190110743045807, -0.47134679555892944, -0.11010611057281494, -0.2073460966348648, 0.8390445113182068, 0.34320253133773804, -0.33709850907325745, 0.03064439631998539, -0.6742299795150757, -0.06385409086942673, 0.06539414823055267, -0.4227124750614166, 0.18706843256950378, -0.1118033230304718, -0.12042243778705597, 0.08664464205503464, 0.44236958026885986, -0.40357017517089844, 0.129235178232193, -0.3830633759498596, 0.6648589968681335, 0.49048763513565063, -0.033861979842185974, 0.6832180619239807, -0.3303024470806122, 0.4489685893058777, 0.19778187572956085, 0.2807708978652954, -0.4290280342102051, -0.3366681933403015, -1.186587929725647, -0.3922402262687683, 0.7390100359916687, 0.5330502390861511, -0.5868403315544128, 0.6091572642326355, -0.5650134682655334, -0.6580986976623535, -0.624843180179596, -0.17568399012088776, 0.4440247416496277, 0.5477335453033447, 0.6383155584335327, -0.2934786379337311, -0.6066427230834961, -1.0071443319320679, -0.15018132328987122, 0.05960314720869064, -0.040217675268650055, 0.14752931892871857, 0.667378306388855, -0.3716488778591156, 0.6995941400527954, -0.4185718894004822, -0.23642051219940186, -0.488804429769516, 0.07276854664087296, 0.2243669629096985, 0.5527482032775879, 0.4537024199962616, -0.48812490701675415, -0.46347159147262573, -0.10149677097797394, -0.6871915459632874, 0.11375118046998978, 0.07824181020259857, -0.009778633713722229, 0.19245176017284393, 0.5001801252365112, -0.6786611080169678, 0.23233039677143097, 0.3026726245880127, -0.1570294350385666, 0.2781050205230713, -0.16492661833763123, -0.1343163251876831, -1.2760040760040283, 0.22358912229537964, -0.15625321865081787, -0.20265647768974304, -0.7553823590278625, 0.20629772543907166, 0.22731445729732513, -0.0164109468460083, -0.48914802074432373, 0.3921927511692047, -0.49998989701271057, -0.07260157912969589, -0.028236880898475647, -0.10613776743412018, 0.09995152056217194, 0.6666194200515747, -0.05237259343266487, 0.7088499069213867, 0.43630895018577576, -0.8033237457275391, 0.002902149222791195, 0.2294822335243225, -0.32450127601623535, 0.25403812527656555, -0.766348123550415, 0.19201946258544922, -0.1473430097103119, 0.2775275707244873, -0.6944755911827087, -0.11334878206253052, 0.14633816480636597, -0.5572660565376282, 0.4627643823623657, -0.035999149084091187, -0.5394326448440552, -0.4423064887523651, -0.339313805103302, 0.40951043367385864, 0.8379909992218018, -0.46908923983573914, 0.6792944073677063, 0.33732298016548157, 0.3147306740283966, -0.5971081852912903, -0.8154395222663879, -0.09573454409837723, -0.3382363021373749, -0.7792263031005859, 0.6203832626342773, 0.09537803381681442, 0.06692413985729218, -0.05464417487382889, -0.005721319932490587, -0.06199055537581444, 0.16765950620174408, -0.018590517342090607, -0.011143282055854797, -0.29858896136283875, 0.016208624467253685, 0.09996668249368668, -0.1859666109085083, 0.018831465393304825, -0.248858243227005, 0.6436074376106262, -0.45044583082199097, 0.07701534032821655, -0.38211655616760254, 0.10304779559373856, 0.45190897583961487, -0.22318312525749207, 0.7094760537147522, 0.8924962282180786, -0.5480865836143494, -0.05818718671798706, -0.45354071259498596, -0.27172499895095825, -0.5218097567558289, 0.367412805557251, -0.5446174740791321, -0.8286839723587036, 0.7123664617538452, 0.009604277089238167, 0.07809781283140182, 0.8726760745048523, 0.4357786178588867, -0.022067833691835403, 0.9879580736160278, 0.7930768728256226, 0.0027245983947068453, 0.38759303092956543, -0.6928640604019165, 0.3388206660747528, -0.8706353306770325, -0.24276967346668243, -0.6273984909057617, -0.49784454703330994, -0.7646365165710449, -0.37703263759613037, 0.2387324571609497, 0.21634794771671295, -0.581325113773346, 0.5652371048927307, -0.4938625395298004, 0.3653890788555145, 0.45704197883605957, 0.04529620334506035, 0.14617523550987244, 0.03648596256971359, -0.15414054691791534, -0.10667453706264496, -0.9000617265701294, -0.448006272315979, 0.9355762004852295, 0.6876755952835083, 0.5732913017272949, -0.04662828519940376, 0.6833356022834778, 0.12213285267353058, 0.05643711984157562, -0.8392189741134644, 0.46274909377098083, -0.24674397706985474, -0.498911052942276, -0.03321876749396324, -0.3489954471588135, -0.8513908386230469, 0.13839472830295563, -0.1034914180636406, -0.7316464185714722, 0.2842417359352112, 0.07658350467681885, -0.4348354935646057, 0.4500211179256439, -0.9121929407119751, 1.106610894203186, -0.004546657670289278, -0.13485893607139587, -0.1629006564617157, -0.7345470786094666, 0.3532375395298004, 0.007825889624655247, -0.054342981427907944, 0.2742144465446472, -0.11326228827238083, 0.832718014717102, -0.512904167175293, 0.753982663154602, -0.1627429574728012, 0.25320929288864136, 0.2570526897907257, -0.1117696538567543, 0.46261829137802124, -0.28977125883102417, 0.05421941727399826, 0.4355592727661133, 0.08947870880365372, -0.4076504111289978, -0.34169596433639526, 0.4159706234931946, -1.031119465827942, -0.38791733980178833, -0.3473297953605652, -0.40624815225601196, -0.07410839200019836, 0.3997383415699005, 0.6028130650520325, 0.44314929842948914, -0.18981607258319855, 0.5375837683677673, 0.8460198640823364, -0.30632340908050537, 0.510788083076477, 0.280643492937088, -0.026965126395225525, -0.23626263439655304, 0.844792902469635, 0.1936722993850708, 0.23080426454544067, 0.6865053772926331, 0.1613287627696991, -0.346587210893631, -0.6194362640380859, -0.3728000521659851, 0.191450834274292, -0.7560333013534546, -0.283559113740921, -1.0218719244003296, -0.5895501971244812, -0.392494797706604, -0.16718345880508423, -0.5709128975868225, -0.38308224081993103, -0.3767336905002594, -0.16016903519630432, 0.28105995059013367, 0.5965030789375305, 0.11066445708274841, 0.4643259048461914, -0.792863130569458, 0.30526450276374817, 0.160056471824646, 0.3516223430633545, 0.1069001704454422, -0.9140368700027466, -0.4629594385623932, 0.0689799040555954, -0.49870970845222473, -0.700326144695282, 0.3276987671852112, 0.13590270280838013, 0.4853731691837311, 0.4611828029155731, -0.018921568989753723, 0.733975350856781, -0.42936620116233826, 0.8298816084861755, -0.04504590481519699, -1.0530648231506348, 0.2753543555736542, -0.21411292254924774, 0.47518789768218994, 0.540425717830658, 0.39528897404670715, -0.3166358768939972, -0.139298677444458, -0.8737092614173889, -0.8191478848457336, 0.8566861748695374, 0.24552227556705475, 0.14133436977863312, 0.232302725315094, 0.19790320098400116, 0.06962092220783234, 0.31234145164489746, -0.7790257334709167, -0.14992114901542664, -0.36295878887176514, -0.2514430582523346, 0.009083637036383152, -0.3808304965496063, 0.03956180810928345, -0.4480895698070526, 0.5081020593643188, 0.0015416897367686033, 0.7765656113624573, 0.1032816469669342, -0.38614803552627563, 0.220134899020195, 0.17508350312709808, 0.6952798366546631, 0.5453386306762695, -0.3634863793849945, 0.17177598178386688, 0.4782317578792572, -0.6111594438552856, -0.20524777472019196, 0.029252037405967712, -0.20620013773441315, -0.1621687114238739, 0.4098203480243683, 1.0504714250564575, 0.182403102517128, -0.24533681571483612, 0.4342217445373535, -0.07149813324213028, -0.31328025460243225, -0.21147006750106812, 0.0038667558692395687, 0.04712839797139168, 0.15410000085830688, 0.1462106853723526, 0.19965031743049622, 0.2170083224773407, -0.39964014291763306, 0.004477841779589653, 0.23698291182518005, -0.41559499502182007, -0.42161697149276733, 0.6610211730003357, 0.28321653604507446, -0.31756290793418884, 0.6343918442726135, -0.2484073042869568, -0.6813231110572815, 0.6709266901016235, 0.4143414795398712, 1.1208856105804443, 0.012914292514324188, -0.015390466898679733, 0.6651755571365356, 0.6294549107551575, -0.07392899692058563, 0.09705083817243576, -0.21248450875282288, -0.785383939743042, -0.2547128200531006, -0.798103392124176, -0.19447800517082214, 0.10369647294282913, -0.6294127702713013, 0.4145914912223816, -0.5800198316574097, 0.040301866829395294, -0.054179880768060684, 0.18250088393688202, -0.9185576438903809, 0.3543735444545746, 0.024870092049241066, 1.1333149671554565, -0.6014640927314758, 0.8717203736305237, 0.5627702474594116, -0.42987924814224243, -0.8598843216896057, 0.032090991735458374, -0.37099695205688477, -0.7636770009994507, 0.3455747663974762, 0.4006727635860443, 0.007994825951755047, 0.11750154942274094, -0.4187990128993988, -0.882603108882904, 1.398786187171936, 0.19361306726932526, -0.36131542921066284, -0.18947742879390717, 0.19655388593673706, 0.7675431370735168, -0.40679222345352173, 0.4569104313850403, 0.6651423573493958, 0.434183806180954, 0.13248813152313232, -0.8831934332847595, 0.14719393849372864, -0.28591078519821167, 0.1399899423122406, 0.18766900897026062, -0.7827920317649841, 0.9824591279029846, -0.24472562968730927, -0.25613102316856384, 0.036614783108234406, 0.634009838104248, -0.04846765100955963, 0.1290171891450882, 0.44715258479118347, 0.840033233165741, 0.5788424015045166, -0.2982403039932251, 1.2726794481277466, -0.6234779953956604, 0.4358258843421936, 0.657184362411499, 0.28091946244239807, 0.7361019849777222, 0.21873165667057037, -0.22245632112026215, 0.3493397533893585, 0.8188653588294983, -0.19671174883842468, 0.5742584466934204, -0.18579772114753723, 0.09922726452350616, -0.14278985559940338, 0.13057316839694977, -0.5983503460884094, 0.4274137020111084, 0.303166925907135, -0.5801321268081665, -0.14552249014377594, -0.23618724942207336, 0.12621082365512848, -0.3947071433067322, -0.3527919352054596, 0.7918906807899475, 0.166176900267601, -0.5596497058868408, 0.6272526383399963, 0.3925986588001251, 0.7060270309448242, -0.5517560243606567, 0.26870909333229065, -0.2592543363571167, 0.37417688965797424, -0.21467070281505585, -0.5555668473243713, 0.48146918416023254, 0.012860197573900223, -0.2978987991809845, -0.3886936902999878, 0.6779385805130005, -0.1979663223028183, -0.5151575803756714, 0.22670701146125793, 0.3425885736942291, 0.18713164329528809, -0.046349942684173584, -0.6818538904190063, 0.09039235860109329, -0.02184143289923668, -0.15097837150096893, 0.22802311182022095, 0.2951965928077698, 0.09068091213703156, 0.47927325963974, 0.282480388879776, -0.19284510612487793, 0.19709409773349762, -0.08750108629465103, 0.7818578481674194, -0.7713587880134583, -0.6108145117759705, -0.6757816672325134, 0.69748455286026, -0.004874726291745901, -0.3335886299610138, 0.670225977897644, 0.6268303394317627, 0.9910255670547485, -0.17323480546474457, 0.5708430409431458, -0.10696902871131897, 0.3671882748603821, -0.5136829018592834, 0.6802463531494141, -0.6888049840927124, 0.2686270475387573, -0.20579461753368378, -1.0118483304977417, -0.12554021179676056, 0.5260860919952393, -0.3828124403953552, 0.3426654636859894, 0.8264987468719482, 0.684816300868988, -0.2661460041999817, 0.046097129583358765, 0.21947962045669556, 0.4385658800601959, 0.1791076958179474, 0.6133854985237122, 0.5890630483627319, -0.8573933839797974, 0.6268800497055054, -0.4100160598754883, 0.027683721855282784, -0.21996384859085083, -0.6511576175689697, -0.8682123422622681, -0.5691365003585815, -0.28044843673706055, -0.3781862258911133, -0.06179706007242203, 0.5500265955924988, 0.6701650023460388, -0.6914477348327637, -0.13386425375938416, -0.2454509139060974, 0.07020153850317001, -0.12362255156040192, -0.2354440689086914, 0.35891836881637573, -0.341571569442749, -0.8508857488632202, 0.05937741696834564, 0.10108906030654907, 0.07337290793657303, -0.2281884104013443, -0.10787083953619003, -0.00024471149663440883, 0.08342888206243515, 0.6427896022796631, 0.16196748614311218, -0.574752926826477, -0.2939892113208771, 0.16233918070793152, -0.1850438266992569, 0.1926826387643814, 0.5840785503387451, -0.6919415593147278, 0.3239113688468933, 0.7161979675292969, 0.6806479096412659, 0.8830565810203552, -0.12009480595588684, 0.42141616344451904, -0.634178638458252, 0.1929391771554947, 0.2519803047180176, 0.357623815536499, 0.38117361068725586, -0.22464732825756073, 0.44066351652145386, 0.2192242294549942, -0.48860904574394226, -0.8575936555862427, 0.15505686402320862, -1.0701457262039185, -0.10591573268175125, 1.0703661441802979, -0.08160188794136047, -0.32767489552497864, 0.20612861216068268, -0.056140877306461334, 0.2738597095012665, -0.19302482903003693, 0.7786421775817871, 0.6493990421295166, 0.16464155912399292, -0.37298089265823364, -0.3478448688983917, 0.5781751871109009, 0.31757640838623047, -0.6668527722358704, -0.4239535331726074, 0.12075743824243546, 0.3047557473182678, 0.2803075611591339, 0.5365537405014038, -0.24263176321983337, 0.16364023089408875, 0.20652368664741516, 0.11644308269023895, -0.0873819887638092, -0.47393080592155457, -0.4153081476688385, 0.2325868159532547, -0.12789107859134674, -0.34797990322113037 ]
philschmid/flan-t5-base-samsum
philschmid
2022-12-23T19:32:18Z
15,484
74
transformers
[ "transformers", "pytorch", "tensorboard", "t5", "text2text-generation", "generated_from_trainer", "dataset:samsum", "license:apache-2.0", "model-index", "autotrain_compatible", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text2text-generation
2022-12-23T19:26:30Z
--- license: apache-2.0 tags: - generated_from_trainer datasets: - samsum metrics: - rouge model-index: - name: flan-t5-base-samsum results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: samsum type: samsum config: samsum split: train args: samsum metrics: - name: Rouge1 type: rouge value: 47.2358 --- <!-- 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. --> # flan-t5-base-samsum This model is a fine-tuned version of [google/flan-t5-base](https://huggingface.co/google/flan-t5-base) on the samsum dataset. It achieves the following results on the evaluation set: - Loss: 1.3716 - Rouge1: 47.2358 - Rouge2: 23.5135 - Rougel: 39.6266 - Rougelsum: 43.3458 - Gen Len: 17.3907 ## 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: - learning_rate: 5e-05 - train_batch_size: 8 - eval_batch_size: 8 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 5 ### Training results | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:| | 1.4379 | 1.0 | 1842 | 1.3805 | 47.1075 | 23.531 | 39.6919 | 43.549 | 17.1197 | | 1.3559 | 2.0 | 3684 | 1.3716 | 47.2358 | 23.5135 | 39.6266 | 43.3458 | 17.3907 | | 1.2783 | 3.0 | 5526 | 1.3721 | 47.4581 | 23.7339 | 39.7726 | 43.4568 | 17.1832 | | 1.2378 | 4.0 | 7368 | 1.3757 | 47.8557 | 24.0593 | 40.2324 | 44.0085 | 17.3053 | | 1.1983 | 5.0 | 9210 | 1.3751 | 47.8156 | 24.0038 | 40.2169 | 43.8918 | 17.3040 | ### Framework versions - Transformers 4.25.1 - Pytorch 1.12.1+cu113 - Datasets 2.8.0 - Tokenizers 0.12.1
[ -0.5253276824951172, -0.4284261167049408, 0.2032773345708847, 0.05202467367053032, -0.28948816657066345, -0.32858824729919434, -0.07087983191013336, -0.20140567421913147, 0.3756983280181885, 0.41288283467292786, -0.7626485228538513, -0.7267568707466125, -0.7853227257728577, -0.10626053810119629, -0.18285933136940002, 1.150160789489746, 0.14532463252544403, 0.24578939378261566, 0.06365558505058289, -0.17888110876083374, -0.32555100321769714, -0.5093340277671814, -0.8250898718833923, -0.5146934986114502, 0.3479042649269104, 0.4708704352378845, 0.9160265326499939, 0.9226128458976746, 0.6364473700523376, 0.2642533481121063, -0.3911588191986084, -0.05554819852113724, -0.5955783128738403, -0.4763492941856384, -0.0024986101780086756, -0.5725090503692627, -0.8119613528251648, -0.07866168767213821, 0.6422722339630127, 0.5703513026237488, -0.14817334711551666, 0.6426832675933838, -0.022160779684782028, 0.6702479124069214, -0.573011577129364, 0.22675061225891113, -0.36003199219703674, 0.27855849266052246, -0.2443631887435913, -0.3499417304992676, -0.1933731883764267, -0.1275327056646347, 0.0028330476488918066, -0.6191613078117371, 0.6602041721343994, 0.03789219632744789, 1.690802812576294, 0.3430977463722229, -0.3911589980125427, 0.15706835687160492, -0.798736035823822, 0.7733535170555115, -0.7510185837745667, 0.34532180428504944, 0.46176689863204956, 0.53019779920578, 0.08751863241195679, -0.8387483954429626, -0.4775899052619934, 0.12513554096221924, -0.17693200707435608, 0.25624099373817444, -0.1007147803902626, -0.06398177146911621, 0.6858382225036621, 0.6901541948318481, -0.655036211013794, -0.002317215083166957, -0.7112499475479126, -0.23564155399799347, 0.7590315937995911, 0.445197731256485, -0.0471678264439106, -0.3566179573535919, -0.615765392780304, -0.16691440343856812, -0.388292133808136, 0.1608889400959015, 0.5120031833648682, 0.33485060930252075, -0.4511626958847046, 0.517964780330658, -0.2798287272453308, 0.652549684047699, 0.21223531663417816, -0.3724899888038635, 0.743109405040741, -0.12642362713813782, -0.5016395449638367, -0.06320521980524063, 0.7554570436477661, 0.6624633073806763, 0.19257715344429016, 0.17630401253700256, -0.3866543769836426, -0.03419359773397446, 0.23036089539527893, -1.13921320438385, -0.38333365321159363, 0.3222861588001251, -0.64369136095047, -0.7125434875488281, 0.37627628445625305, -0.8212347030639648, 0.09444975107908249, -0.3639232814311981, 0.580834150314331, -0.41815894842147827, -0.3544468581676483, 0.00920837465673685, -0.10946124792098999, 0.3720991015434265, 0.12456606328487396, -1.0378659963607788, 0.5206476449966431, 0.4740084111690521, 0.8269412517547607, 0.2003396451473236, -0.2522116005420685, -0.16582036018371582, 0.22797881066799164, -0.4553011357784271, 0.65483158826828, -0.16410072147846222, -0.46535685658454895, -0.305961012840271, 0.322482168674469, -0.2570020854473114, -0.5333814024925232, 0.8208838701248169, -0.2723309099674225, 0.3557356297969818, -0.31773972511291504, -0.6722253561019897, -0.37348929047584534, 0.3053729236125946, -0.8758811354637146, 1.3750041723251343, 0.2512337863445282, -0.9449033737182617, 0.8024560213088989, -0.7705392241477966, -0.03871845081448555, -0.046923257410526276, -0.12735332548618317, -0.9542604088783264, -0.12568555772304535, 0.27358919382095337, 0.5022799968719482, -0.3572787344455719, 0.272892564535141, -0.3391915559768677, -0.6050865650177002, -0.2524184286594391, -0.3837253153324127, 1.0240896940231323, 0.283449649810791, -0.7007426619529724, 0.32307925820350647, -1.2329214811325073, 0.25555118918418884, 0.4455014765262604, -0.23571664094924927, 0.09917164593935013, -0.4563300311565399, 0.32664304971694946, 0.38715600967407227, 0.2082459032535553, -0.3247942626476288, 0.10020413249731064, -0.2419031858444214, 0.34448713064193726, 0.7215726375579834, 0.2821849286556244, 0.1334802508354187, -0.7027644515037537, 0.4764285683631897, 0.39972302317619324, 0.3975093364715576, 0.06918717175722122, -0.4348435401916504, -1.0807538032531738, -0.3706713020801544, 0.2630656361579895, 0.41738227009773254, -0.19637919962406158, 0.7556876540184021, -0.3579390347003937, -0.7668450474739075, -0.3229258060455322, -0.036056552082300186, 0.2794191837310791, 0.6721360087394714, 0.4168255031108856, -0.041080836206674576, -0.5673801302909851, -1.2518644332885742, -0.05656237155199051, -0.06392158567905426, 0.2492111474275589, 0.2823602855205536, 0.8921729326248169, -0.12522275745868683, 0.8883712291717529, -0.6547513604164124, -0.3504355251789093, -0.16498033702373505, -0.046735577285289764, 0.4325767457485199, 0.7253451943397522, 1.0391690731048584, -0.6397050619125366, -0.44230562448501587, -0.09646207839250565, -0.7957346439361572, 0.285221129655838, -0.19181524217128754, -0.34193623065948486, 0.04759679734706879, 0.2078859955072403, -0.6023186445236206, 0.8394415974617004, 0.4545806348323822, -0.48382315039634705, 0.908473789691925, -0.23619242012500763, 0.15102453529834747, -1.4297758340835571, 0.5466551184654236, 0.10135488212108612, -0.34400880336761475, -0.4936556816101074, 0.04216686636209488, 0.13754655420780182, -0.2823389768600464, -0.38802486658096313, 0.6911097168922424, -0.24087651073932648, -0.013617930002510548, -0.03697396069765091, -0.37639790773391724, -0.0031359971035271883, 0.8739240169525146, 0.15435202419757843, 0.9041275978088379, 0.6454695463180542, -0.6328310370445251, 0.2811547815799713, 0.30460411310195923, -0.42783406376838684, 0.5639956593513489, -0.8153542280197144, -0.018747836351394653, -0.021730611100792885, 0.12992602586746216, -0.8884985446929932, -0.4461033046245575, 0.37673014402389526, -0.456818163394928, 0.11207401007413864, -0.2798077166080475, -0.30876967310905457, -0.560857355594635, -0.2502637803554535, 0.22948776185512543, 0.5179964303970337, -0.5472179055213928, 0.4573403000831604, -0.10294583439826965, 0.30771520733833313, -0.6379829049110413, -0.9127961993217468, -0.18726179003715515, -0.4375104308128357, -0.6770835518836975, 0.39934155344963074, 0.10344573855400085, 0.04103492572903633, 0.029033971950411797, -0.2372002750635147, -0.17617321014404297, -0.0502324253320694, 0.46794393658638, 0.2474958896636963, -0.25397762656211853, -0.16093380749225616, -0.1704653799533844, -0.37576979398727417, 0.20148901641368866, -0.18486732244491577, 0.7100831866264343, -0.2665575444698334, -0.4190317690372467, -1.014829158782959, -0.11279202997684479, 0.7422381639480591, -0.22842183709144592, 1.0807327032089233, 0.8122514486312866, -0.6571875810623169, -0.046552207320928574, -0.47431087493896484, -0.23891155421733856, -0.48690110445022583, 0.43980082869529724, -0.7767236232757568, -0.3243885338306427, 0.9674639105796814, 0.010802241042256355, 0.2161521464586258, 1.186543583869934, 0.4984022378921509, -0.005259299650788307, 1.1401145458221436, 0.24415501952171326, -0.030703699216246605, 0.3797585368156433, -1.1066371202468872, -0.1076945886015892, -0.5754014253616333, -0.5175177454948425, -0.48181214928627014, -0.4923337697982788, -0.5795289278030396, 0.0026094666682183743, 0.23147600889205933, 0.14447426795959473, -0.874525785446167, 0.31509995460510254, -0.4466440677642822, 0.3514423370361328, 0.759140133857727, 0.49867168068885803, 0.06378915160894394, 0.12043333053588867, -0.3663632869720459, -0.17127713561058044, -0.912580668926239, -0.5818318724632263, 1.2792552709579468, 0.4437924325466156, 0.6943858861923218, 0.04800723120570183, 0.950028121471405, 0.1580801159143448, 0.09845519065856934, -0.6283040046691895, 0.44099777936935425, 0.0393560416996479, -1.054823875427246, -0.184474378824234, -0.48036468029022217, -0.9358473420143127, 0.2719475328922272, -0.2426728904247284, -0.6905717849731445, 0.3530351221561432, 0.3009568750858307, -0.4557368755340576, 0.6956490278244019, -0.5881956219673157, 1.228110909461975, -0.3033708930015564, -0.4118781089782715, -0.1411287486553192, -0.6168941259384155, 0.36324870586395264, 0.1247677356004715, -0.11193764209747314, -0.0439358651638031, 0.12716597318649292, 0.9180651903152466, -0.9085635542869568, 0.6314266324043274, -0.36969947814941406, 0.3398750424385071, 0.34992045164108276, -0.11401759833097458, 0.5968741774559021, 0.10759984701871872, -0.20888984203338623, 0.057417526841163635, 0.09383953362703323, -0.9071075916290283, -0.5739895105361938, 0.7499103546142578, -1.2089465856552124, -0.4758234918117523, -0.7484089136123657, -0.3259052038192749, 0.10828498750925064, 0.41760367155075073, 0.6404502987861633, 0.7091876268386841, -0.04425084590911865, 0.26018035411834717, 0.5261591672897339, 0.12665200233459473, 0.4015699625015259, 0.05212186649441719, -0.22893303632736206, -0.8234207630157471, 0.9796034097671509, 0.003172798315063119, 0.45689618587493896, -0.05729147046804428, 0.15307998657226562, -0.3544441759586334, -0.3642394244670868, -0.6297637224197388, 0.3010295629501343, -0.7306721210479736, -0.2021247297525406, -0.356422483921051, -0.5103628635406494, -0.44312524795532227, -0.17921434342861176, -0.4565710425376892, -0.42592471837997437, -0.5907604694366455, -0.28456008434295654, 0.41996583342552185, 0.592783510684967, 0.15130943059921265, 0.5904714465141296, -0.7369176745414734, -0.08595381677150726, 0.03472607955336571, 0.4486042857170105, 0.11280897259712219, -0.910476803779602, -0.3768671751022339, 0.0036330879665911198, -0.3778282105922699, -0.8307560086250305, 0.6286690831184387, 0.13180363178253174, 0.7401077747344971, 0.847751796245575, -0.22144733369350433, 1.1857538223266602, -0.17269578576087952, 0.9328849911689758, 0.28596022725105286, -0.6892019510269165, 0.5976203680038452, -0.36753135919570923, 0.33797478675842285, 0.7142132520675659, 0.5398419499397278, -0.3754969835281372, 0.038032811135053635, -1.4756006002426147, -0.7682730555534363, 0.960433304309845, 0.3900846540927887, -0.18842633068561554, 0.21461740136146545, 0.3366316854953766, -0.20413090288639069, 0.2594151198863983, -0.7997338771820068, -0.643883228302002, -0.3886221647262573, -0.16766737401485443, -0.06115929037332535, -0.24434147775173187, -0.2453673928976059, -0.473935604095459, 1.0369703769683838, 0.09803934395313263, 0.42664214968681335, 0.061830781400203705, 0.004129139240831137, -0.18223685026168823, -0.07366663217544556, 0.8114721775054932, 0.8650286793708801, -0.6682665944099426, -0.07928173243999481, 0.25165602564811707, -0.5822538733482361, 0.026137275621294975, 0.13899466395378113, -0.24830420315265656, 0.15806284546852112, 0.5215076804161072, 1.119728922843933, 0.1746114194393158, -0.07692024856805801, 0.5397388339042664, 0.11459508538246155, -0.5466336607933044, -0.6278254389762878, 0.16944776475429535, -0.14432160556316376, 0.13225385546684265, 0.40774744749069214, 0.5140104293823242, 0.02170380763709545, -0.2876639664173126, 0.24682806432247162, 0.11107493191957474, -0.5299609303474426, -0.305469810962677, 0.9457870721817017, 0.06717631965875626, -0.25563257932662964, 0.7057173848152161, -0.10745661705732346, -0.5606757402420044, 1.0139868259429932, 0.48310187458992004, 0.9017484784126282, -0.29827290773391724, -0.039054375141859055, 1.0904483795166016, 0.27106407284736633, -0.05040178820490837, 0.6809734106063843, 0.2699476480484009, -0.2822000980377197, 0.01738010160624981, -0.6681914925575256, -0.12442950159311295, 0.608002781867981, -1.0893200635910034, 0.7257183790206909, -0.6679626107215881, -0.5405192375183105, 0.0836024209856987, 0.33383968472480774, -1.057003140449524, 0.7005208134651184, -0.0017966809682548046, 1.2302345037460327, -1.1472467184066772, 0.6790603399276733, 0.7937006950378418, -0.7170625925064087, -1.097408652305603, -0.12800292670726776, 0.0001643233117647469, -0.7804378271102905, 0.6584389805793762, 0.14352065324783325, 0.21699334681034088, 0.09113627672195435, -0.5759989619255066, -1.1273313760757446, 1.4659005403518677, 0.16030950844287872, -0.5867522358894348, 0.030729660764336586, 0.27204105257987976, 0.5650771260261536, -0.09950289130210876, 0.5953071713447571, 0.42480260133743286, 0.42814454436302185, 0.2713221609592438, -0.9999539256095886, 0.050723154097795486, -0.3946663737297058, 0.10964448004961014, 0.27754682302474976, -1.0997015237808228, 1.086262583732605, -0.18023023009300232, 0.2236381322145462, 0.1629604548215866, 0.8447809219360352, 0.43087688088417053, 0.20176412165164948, 0.607839047908783, 1.0007855892181396, 0.801317572593689, -0.2333439737558365, 1.0336456298828125, -0.6450209021568298, 0.8345609307289124, 1.0320873260498047, 0.1912987381219864, 0.6400649547576904, 0.3947376608848572, -0.38444289565086365, 0.5156348943710327, 1.1109261512756348, -0.2966814339160919, 0.36779624223709106, 0.035318635404109955, -0.19830958545207977, -0.4250672161579132, 0.3034018278121948, -0.7296085953712463, 0.2438557893037796, 0.26493123173713684, -0.7029924988746643, -0.3613210618495941, -0.37271565198898315, 0.07003310322761536, -0.29950106143951416, -0.45224666595458984, 0.48816514015197754, -0.2995610535144806, -0.2908458113670349, 0.8357480764389038, 0.08597946166992188, 0.3805602490901947, -0.6983920335769653, -0.027324780821800232, -0.2690235674381256, 0.39487046003341675, -0.6244974732398987, -0.6397126913070679, 0.228372722864151, -0.06992126256227493, -0.18900269269943237, 0.17907463014125824, 0.605261504650116, -0.2037031650543213, -0.9024616479873657, -0.011965198442339897, 0.25253039598464966, 0.2725726068019867, 0.18029634654521942, -1.0055724382400513, -0.14452587068080902, 0.041376445442438126, -0.6084271669387817, 0.09144327044487, 0.335238516330719, -0.18748736381530762, 0.6925626397132874, 0.6721825003623962, -0.031051212921738625, 0.19290372729301453, 0.16439232230186462, 1.0606247186660767, -0.8286055326461792, -0.8499084115028381, -0.6883506774902344, 0.5182120203971863, -0.32140934467315674, -0.9143734574317932, 0.7012553811073303, 1.1613162755966187, 0.7684471607208252, -0.19451439380645752, 0.7063454985618591, -0.0947086438536644, 0.43938907980918884, -0.46522223949432373, 0.751738965511322, -0.7713850736618042, -0.065559521317482, -0.3056369721889496, -1.0023900270462036, -0.2395152896642685, 0.761595606803894, -0.4595005512237549, 0.40887606143951416, 0.6548420190811157, 0.8986821174621582, -0.16087298095226288, 0.2109631448984146, 0.14942631125450134, -0.0674835667014122, 0.3043946921825409, 0.44367629289627075, 0.3500053584575653, -0.9058544635772705, 0.5782442688941956, -0.7919920682907104, -0.03477159142494202, -0.27656394243240356, -0.6629970669746399, -1.0344258546829224, -0.5058562755584717, -0.4569269120693207, -0.5459200739860535, 0.08637803792953491, 1.192590355873108, 0.9839563369750977, -0.9813812971115112, -0.37044718861579895, -0.10088619589805603, -0.42672595381736755, -0.4547204375267029, -0.2484932690858841, 0.7774724364280701, -0.23177902400493622, -0.906303882598877, -0.18775080144405365, -0.26067858934402466, 0.38840916752815247, -0.28845638036727905, -0.3167537748813629, -0.3686758279800415, -0.2974108159542084, 0.1520254909992218, 0.10100775212049484, -0.6292994618415833, -0.3063928484916687, -0.044218797236680984, -0.23528876900672913, 0.24383370578289032, 0.365557461977005, -0.48687663674354553, 0.32683685421943665, 0.43784624338150024, 0.4185357689857483, 0.9277904629707336, 0.2542443573474884, 0.25771138072013855, -0.7070603370666504, 0.372459352016449, 0.20379690825939178, 0.348987877368927, 0.07794176042079926, -0.3938555419445038, 0.7265981435775757, 0.6493097543716431, -0.5794811248779297, -0.8359476327896118, -0.30565136671066284, -1.1210159063339233, 0.09804638475179672, 1.2002121210098267, -0.05149959772825241, -0.4947633147239685, 0.35175710916519165, -0.16163697838783264, 0.22977785766124725, -0.3459654450416565, 0.5227643251419067, 0.9281286597251892, -0.1556447446346283, -0.036279916763305664, -0.6252444386482239, 0.6428104639053345, 0.4209177494049072, -0.7464231848716736, -0.28991517424583435, 0.3623883128166199, 0.6131630539894104, 0.0851944163441658, 0.3714175820350647, -0.14023293554782867, 0.3644857406616211, 0.3381252884864807, 0.2526160776615143, -0.3372606337070465, -0.3961724638938904, -0.36066845059394836, 0.06692174077033997, 0.0456988587975502, -0.586458146572113 ]
facebook/detr-resnet-50-panoptic
facebook
2022-08-05T13:29:29Z
15,432
100
transformers
[ "transformers", "pytorch", "detr", "image-segmentation", "vision", "dataset:coco", "arxiv:2005.12872", "license:apache-2.0", "endpoints_compatible", "has_space", "region:us" ]
image-segmentation
2022-03-02T23:29:05Z
--- license: apache-2.0 tags: - image-segmentation - vision datasets: - coco widget: - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/football-match.jpg example_title: Football Match - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/dog-cat.jpg example_title: Dog & Cat - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/construction-site.jpg example_title: Construction Site - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/apple-orange.jpg example_title: Apple & Orange --- # DETR (End-to-End Object Detection) model with ResNet-50 backbone DEtection TRansformer (DETR) model trained end-to-end on COCO 2017 panoptic (118k annotated images). It was introduced in the paper [End-to-End Object Detection with Transformers](https://arxiv.org/abs/2005.12872) by Carion et al. and first released in [this repository](https://github.com/facebookresearch/detr). Disclaimer: The team releasing DETR did not write a model card for this model so this model card has been written by the Hugging Face team. ## Model description The DETR model is an encoder-decoder transformer with a convolutional backbone. Two heads are added on top of the decoder outputs in order to perform object detection: a linear layer for the class labels and a MLP (multi-layer perceptron) for the bounding boxes. The model uses so-called object queries to detect objects in an image. Each object query looks for a particular object in the image. For COCO, the number of object queries is set to 100. The model is trained using a "bipartite matching loss": one compares the predicted classes + bounding boxes of each of the N = 100 object queries to the ground truth annotations, padded up to the same length N (so if an image only contains 4 objects, 96 annotations will just have a "no object" as class and "no bounding box" as bounding box). The Hungarian matching algorithm is used to create an optimal one-to-one mapping between each of the N queries and each of the N annotations. Next, standard cross-entropy (for the classes) and a linear combination of the L1 and generalized IoU loss (for the bounding boxes) are used to optimize the parameters of the model. DETR can be naturally extended to perform panoptic segmentation, by adding a mask head on top of the decoder outputs. ![model image](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/model_doc/detr_architecture.png) ## Intended uses & limitations You can use the raw model for panoptic segmentation. See the [model hub](https://huggingface.co/models?search=facebook/detr) to look for all available DETR models. ### How to use Here is how to use this model: ```python import io import requests from PIL import Image import torch import numpy from transformers import DetrFeatureExtractor, DetrForSegmentation from transformers.models.detr.feature_extraction_detr import rgb_to_id url = "http://images.cocodataset.org/val2017/000000039769.jpg" image = Image.open(requests.get(url, stream=True).raw) feature_extractor = DetrFeatureExtractor.from_pretrained("facebook/detr-resnet-50-panoptic") model = DetrForSegmentation.from_pretrained("facebook/detr-resnet-50-panoptic") # prepare image for the model inputs = feature_extractor(images=image, return_tensors="pt") # forward pass outputs = model(**inputs) # use the `post_process_panoptic` method of `DetrFeatureExtractor` to convert to COCO format processed_sizes = torch.as_tensor(inputs["pixel_values"].shape[-2:]).unsqueeze(0) result = feature_extractor.post_process_panoptic(outputs, processed_sizes)[0] # the segmentation is stored in a special-format png panoptic_seg = Image.open(io.BytesIO(result["png_string"])) panoptic_seg = numpy.array(panoptic_seg, dtype=numpy.uint8) # retrieve the ids corresponding to each mask panoptic_seg_id = rgb_to_id(panoptic_seg) ``` Currently, both the feature extractor and model support PyTorch. ## Training data The DETR model was trained on [COCO 2017 panoptic](https://cocodataset.org/#download), a dataset consisting of 118k/5k annotated images for training/validation respectively. ## Training procedure ### Preprocessing The exact details of preprocessing of images during training/validation can be found [here](https://github.com/facebookresearch/detr/blob/master/datasets/coco_panoptic.py). Images are resized/rescaled such that the shortest side is at least 800 pixels and the largest side at most 1333 pixels, and normalized across the RGB channels with the ImageNet mean (0.485, 0.456, 0.406) and standard deviation (0.229, 0.224, 0.225). ### Training The model was trained for 300 epochs on 16 V100 GPUs. This takes 3 days, with 4 images per GPU (hence a total batch size of 64). ## Evaluation results This model achieves the following results on COCO 2017 validation: a box AP (average precision) of **38.8**, a segmentation AP (average precision) of **31.1** and a PQ (panoptic quality) of **43.4**. For more details regarding evaluation results, we refer to table 5 of the original paper. ### BibTeX entry and citation info ```bibtex @article{DBLP:journals/corr/abs-2005-12872, author = {Nicolas Carion and Francisco Massa and Gabriel Synnaeve and Nicolas Usunier and Alexander Kirillov and Sergey Zagoruyko}, title = {End-to-End Object Detection with Transformers}, journal = {CoRR}, volume = {abs/2005.12872}, year = {2020}, url = {https://arxiv.org/abs/2005.12872}, archivePrefix = {arXiv}, eprint = {2005.12872}, timestamp = {Thu, 28 May 2020 17:38:09 +0200}, biburl = {https://dblp.org/rec/journals/corr/abs-2005-12872.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ```
[ -0.934124231338501, -0.7034305930137634, -0.07353027164936066, 0.15369394421577454, -0.3136093318462372, -0.12911774218082428, -0.11469918489456177, -0.7903435230255127, 0.2829681932926178, 0.5700516700744629, -0.6398241519927979, -0.48577800393104553, -0.5607954859733582, 0.26351669430732727, -0.5307571291923523, 0.855588436126709, 0.15403594076633453, -0.29457229375839233, -0.1515885293483734, -0.13053973019123077, -0.02429576963186264, -0.43672436475753784, -0.5502678751945496, 0.06486872583627701, 0.2849538326263428, 0.40603697299957275, 0.6488903760910034, 0.6315003037452698, 0.7451924085617065, 0.3244054317474365, -0.24869227409362793, 0.11909791082143784, -0.3418598175048828, -0.36698752641677856, -0.19402310252189636, -0.45323628187179565, -0.26572269201278687, 0.04823506250977516, 0.22536061704158783, 0.2677825093269348, 0.11965162307024002, 0.27623480558395386, -0.12786225974559784, 0.6737378835678101, -0.6656402349472046, 0.1992350071668625, -0.4654932916164398, 0.2938632667064667, -0.16764980554580688, 0.05404257774353027, -0.29568052291870117, -0.27896249294281006, 0.1786772608757019, -0.4446307420730591, 0.7222244739532471, -0.1569734364748001, 1.4095797538757324, 0.040131956338882446, -0.003704881062731147, -0.1463800072669983, -0.44965583086013794, 0.4862363636493683, -0.48649317026138306, 0.43447864055633545, 0.3657498359680176, 0.5758683681488037, 0.1608262062072754, -0.8253145217895508, -0.6288818120956421, -0.15020088851451874, 0.009161640889942646, 0.17366236448287964, -0.24852001667022705, -0.09867411106824875, 0.3325585126876831, 0.49023908376693726, -0.40193384885787964, -0.11936433613300323, -0.7973178625106812, -0.24846918880939484, 0.821211576461792, -0.12607023119926453, 0.3252362310886383, -0.14885546267032623, -0.43526139855384827, -0.3733466863632202, -0.284798800945282, 0.3201242983341217, 0.3508414030075073, 0.09151654690504074, -0.44613412022590637, 0.6763228178024292, -0.21018873155117035, 0.7395724654197693, 0.3650462031364441, -0.10231252759695053, 0.3309824466705322, -0.3027052581310272, -0.2473651021718979, -0.02130476012825966, 0.9740769863128662, 0.47636693716049194, 0.48304373025894165, 0.09035685658454895, -0.012368947267532349, 0.15914101898670197, 0.1418277621269226, -0.9763381481170654, -0.38147053122520447, -0.03538396954536438, -0.3253350555896759, -0.2921985387802124, 0.4561527371406555, -0.8682522177696228, 0.008845028467476368, -0.1282290518283844, 0.12279003858566284, -0.49798426032066345, -0.31743866205215454, 0.22921688854694366, -0.033953357487916946, 0.6599711775779724, 0.27081573009490967, -0.6267334818840027, 0.15269392728805542, 0.3542076349258423, 1.0196921825408936, 0.08410724252462387, -0.10534775257110596, -0.15650822222232819, -0.294526070356369, -0.4124964773654938, 0.7672408819198608, -0.4599544107913971, -0.28056326508522034, -0.16964490711688995, 0.48693546652793884, -0.1941991001367569, -0.5781574249267578, 0.5482742786407471, -0.34934431314468384, 0.09481634199619293, -0.47420182824134827, 0.017365876585245132, -0.5057497024536133, 0.39570504426956177, -0.6375726461410522, 0.9712460041046143, 0.406119704246521, -0.9251609444618225, 0.3596808910369873, -0.5140592455863953, -0.25396618247032166, -0.2982952892780304, 0.08429812639951706, -0.7465672492980957, 0.0011120548006147146, 0.7489904761314392, 0.3895726799964905, -0.34419921040534973, 0.03558751195669174, -0.5505381226539612, -0.21981582045555115, 0.33487534523010254, -0.3203197717666626, 0.9677549004554749, 0.171770840883255, -0.24558214843273163, 0.015037823468446732, -0.5231577754020691, -0.35870733857154846, 0.3769283890724182, -0.07337117940187454, 0.23393931984901428, -0.33570051193237305, 0.23161581158638, 0.570564866065979, 0.12440194189548492, -0.6430843472480774, 0.16039709746837616, -0.23922288417816162, 0.393774151802063, 0.5037294626235962, -0.031829848885536194, 0.2331957221031189, -0.20785386860370636, 0.4803205132484436, 0.37393972277641296, 0.6207174062728882, -0.2827346622943878, -0.5378952622413635, -0.9438806772232056, -0.39274877309799194, -0.036938317120075226, 0.29330769181251526, -0.3706781566143036, 0.7061215043067932, -0.18882745504379272, -0.4832511842250824, -0.36412444710731506, -0.13234290480613708, 0.16296923160552979, 0.6032813787460327, 0.39132949709892273, -0.7898426651954651, -0.7030102610588074, -1.0220247507095337, 0.4197380840778351, 0.21562908589839935, 0.0667542815208435, 0.30399274826049805, 0.7172760963439941, -0.3784354031085968, 1.316725492477417, -0.45454955101013184, -0.4637622535228729, -0.3180438280105591, -0.210788294672966, 0.15313832461833954, 0.3442929983139038, 0.9342256784439087, -0.862091600894928, -0.6452146768569946, 0.0789751261472702, -0.8833308815956116, 0.012739638797938824, 0.2028527706861496, -0.13086900115013123, 0.26119542121887207, 0.25797656178474426, -0.6065541505813599, 0.818638026714325, 0.16200928390026093, -0.007078046444803476, 0.7735856771469116, 0.04390113428235054, 0.02184372954070568, -0.8645809888839722, 0.2952159643173218, 0.29931268095970154, -0.2661488652229309, -0.4314957857131958, 0.0719669759273529, 0.09842044115066528, -0.21241076290607452, -0.6376940608024597, 0.216009721159935, -0.5795469880104065, -0.29875996708869934, -0.3490716516971588, 0.09669756889343262, 0.11631570011377335, 0.6270291209220886, 0.3322717249393463, 0.5019438862800598, 0.9237968325614929, -0.6341862082481384, 0.352154940366745, 0.31587719917297363, -0.39352336525917053, 0.6731370091438293, -0.6981790065765381, 0.15228940546512604, -0.29119786620140076, 0.4189480245113373, -0.8475641012191772, -0.2606443762779236, 0.5874538421630859, -0.441043496131897, 0.24839529395103455, -0.2899636924266815, -0.26591914892196655, -0.9989636540412903, -0.4674229025840759, 0.37741005420684814, 0.2491389811038971, -0.7655430436134338, 0.3554380238056183, 0.1626969873905182, 0.32462772727012634, -0.7750794887542725, -0.7646147012710571, -0.0008570582140237093, -0.16290999948978424, -0.6628342270851135, 0.3556336760520935, 0.025654315948486328, 0.16151534020900726, -0.00558635126799345, -0.2766381800174713, 0.025738593190908432, -0.3781057894229889, 0.23187999427318573, 0.2513733506202698, -0.10215771943330765, -0.5225124359130859, -0.0856037363409996, -0.16832441091537476, 0.00278189848177135, -0.10881303250789642, 0.8492106795310974, -0.35549402236938477, -0.3072704076766968, -0.7900161147117615, -0.04293222352862358, 0.7917249798774719, -0.5855902433395386, 0.5714534521102905, 1.0336934328079224, -0.4622099995613098, 0.18988409638404846, -0.7781639695167542, -0.2657184600830078, -0.5011752843856812, 0.4132108688354492, -0.4178626835346222, -0.40965762734413147, 0.9850053787231445, 0.32367977499961853, -0.023159125819802284, 0.5287702679634094, 0.37684985995292664, 0.27558568120002747, 0.9171577095985413, 0.5430849194526672, -0.14162464439868927, 0.5574125051498413, -1.0093833208084106, 0.22936084866523743, -1.1006207466125488, -0.6441866755485535, -0.2728074789047241, -0.29003095626831055, -0.4540282189846039, -0.7205820083618164, 0.3381318747997284, 0.46491217613220215, -0.34300145506858826, 0.8060865998268127, -0.9211166501045227, 0.273459792137146, 0.4874836504459381, 0.556877613067627, -0.07318959385156631, 0.10111948102712631, -0.003088859375566244, 0.18024517595767975, -0.49385157227516174, -0.19894476234912872, 0.7826371788978577, 0.42030996084213257, 0.6053953170776367, -0.2501441240310669, 0.37896665930747986, -0.03348469361662865, 0.2748272120952606, -0.661022424697876, 0.7060583233833313, 0.0545663945376873, -0.7086079120635986, 0.08550667017698288, -0.13383838534355164, -0.8189939856529236, 0.23690465092658997, -0.023326344788074493, -1.1554133892059326, 0.7097665071487427, -0.10639891773462296, -0.12069244682788849, 0.48969000577926636, -0.40472859144210815, 0.8524795174598694, -0.42548996210098267, -0.46752622723579407, 0.15435843169689178, -0.9790476560592651, 0.49285563826560974, 0.0687008649110794, -0.20220652222633362, -0.17393499612808228, 0.3946962058544159, 0.8397684693336487, -0.5755491256713867, 0.8108718395233154, -0.17109976708889008, 0.1732197403907776, 0.7527577877044678, -0.006482243537902832, 0.3832312226295471, 0.17126771807670593, 0.0014619752764701843, 0.5154345035552979, -0.03715820983052254, -0.19005607068538666, -0.3875434696674347, 0.4073949456214905, -0.8031860589981079, -0.4649432301521301, -0.4558000862598419, -0.5454606413841248, 0.3444764018058777, 0.1049175038933754, 0.7177459001541138, 0.276601105928421, 0.08704320341348648, 0.19971084594726562, 0.36205950379371643, -0.5051595568656921, 0.6524419188499451, 0.052530206739902496, -0.3128538429737091, -0.45613768696784973, 0.8028725385665894, 0.004296337254345417, 0.16358233988285065, 0.5188853144645691, 0.27246204018592834, -0.5535080432891846, -0.10369628667831421, -0.3104737401008606, 0.46951091289520264, -0.6328409314155579, -0.4364554286003113, -0.788189172744751, -0.5961184501647949, -0.5502093434333801, -0.3956146538257599, -0.7079926133155823, -0.17638149857521057, -0.5689830183982849, -0.16121438145637512, 0.44785457849502563, 0.1869606375694275, -0.22989018261432648, 0.4721672534942627, -0.33281683921813965, 0.19096168875694275, 0.10776317864656448, 0.1287301927804947, -0.024642786011099815, -0.5092479586601257, -0.11368848383426666, 0.25947898626327515, -0.5620737671852112, -0.8366711139678955, 0.6624613404273987, 0.10580990463495255, 0.37571683526039124, 0.9884158968925476, 0.02154189720749855, 0.9266804456710815, 0.1493113487958908, 0.5700751543045044, 0.5225625038146973, -0.7975202798843384, 0.625318169593811, -0.06540010124444962, 0.16808250546455383, 0.3841880261898041, 0.30741947889328003, -0.4082960784435272, -0.10611549764871597, -0.5393774509429932, -0.8429422974586487, 0.9348922967910767, 0.1122681200504303, -0.13075101375579834, 0.0005821131053380668, 0.30233681201934814, -0.04230308160185814, 0.1075671836733818, -0.8622636795043945, -0.14386288821697235, -0.5675286054611206, -0.0035364157520234585, -0.02401188760995865, -0.054896030575037, 0.04802066087722778, -0.678866446018219, 0.3885282278060913, -0.10161121934652328, 0.668655514717102, 0.40327271819114685, -0.2513134479522705, -0.070818692445755, -0.34570416808128357, 0.4619302451610565, 0.6073950529098511, -0.44831323623657227, -0.05175749585032463, 0.006770372856408358, -0.48494580388069153, -0.12667427957057953, 0.18627126514911652, -0.08590704947710037, -0.16292336583137512, 0.25806358456611633, 0.8518393635749817, -0.025122595950961113, -0.40148091316223145, 0.6024993062019348, 0.18850484490394592, -0.26993075013160706, -0.38207271695137024, 0.042023591697216034, -0.18245133757591248, 0.21101261675357819, 0.45769768953323364, 0.17835964262485504, -0.05477253720164299, -0.43266725540161133, 0.36790385842323303, 0.4723193645477295, -0.44599679112434387, -0.5370540022850037, 0.8369696736335754, -0.19355784356594086, -0.29464760422706604, 0.8963010907173157, -0.11791146546602249, -0.8003848195075989, 1.0256741046905518, 0.592458963394165, 0.8152021169662476, -0.3248370289802551, 0.3934076726436615, 0.6960625052452087, 0.37799692153930664, -0.056332848966121674, -0.150701105594635, -0.20502012968063354, -0.7151973843574524, -0.0022612824104726315, -0.7165079116821289, -0.022171080112457275, 0.2688889503479004, -0.7870861887931824, 0.5106887221336365, -0.45438796281814575, -0.19625718891620636, -0.060864292085170746, 0.011580048128962517, -0.9866078495979309, 0.3075276017189026, -0.013676234520971775, 0.9931952357292175, -0.8282625079154968, 0.5213428139686584, 0.4478655457496643, -0.6946840286254883, -0.5743184089660645, -0.20555005967617035, -0.10914374887943268, -0.7693843245506287, 0.47641825675964355, 0.8328792452812195, 0.06468318402767181, -0.1474994570016861, -0.6417343020439148, -0.8879919648170471, 1.1886308193206787, 0.4281708598136902, -0.6261653900146484, 0.049829449504613876, 0.36493563652038574, 0.40967506170272827, -0.45914334058761597, 0.7015971541404724, 0.500133216381073, 0.44889289140701294, 0.489612877368927, -0.6596673130989075, -0.039526280015707016, -0.1705629974603653, 0.10012006759643555, -0.039041128009557724, -0.7599765062332153, 0.7932705283164978, -0.44579753279685974, -0.2511017620563507, -0.05932776257395744, 0.6301644444465637, 0.24179105460643768, 0.4430910050868988, 0.4566109776496887, 0.770324170589447, 0.3759915232658386, -0.11192961037158966, 0.9446606040000916, -0.311054527759552, 0.6860949993133545, 0.5371600389480591, 0.029737375676631927, 0.4067906439304352, 0.3255729079246521, -0.15112970769405365, 0.32298263907432556, 1.1151280403137207, -0.26134181022644043, 0.5875855684280396, 0.07658746093511581, -0.010041693225502968, -0.0487603098154068, -0.15171031653881073, -0.508716344833374, 0.6158974170684814, 0.3659660518169403, -0.42826324701309204, -0.34800082445144653, 0.3971540033817291, 0.005747201852500439, -0.39319950342178345, -0.14536304771900177, 0.2796952426433563, -0.012087596580386162, -0.46218547224998474, 0.6836606860160828, 0.09867430478334427, 0.7245070934295654, -0.3592374622821808, 0.21484720706939697, -0.3917876183986664, 0.3191717863082886, -0.3350934386253357, -0.5919988751411438, 0.4166348874568939, -0.1803489774465561, 0.02060871012508869, 0.3123076856136322, 0.6539127230644226, -0.2222016453742981, -0.8959200382232666, 0.43289196491241455, -0.013026991859078407, 0.289111852645874, -0.2143355756998062, -0.9320871829986572, 0.3314807713031769, -0.05291924998164177, -0.4273010790348053, 0.10260617733001709, 0.07193519175052643, -0.1753513365983963, 0.7169201374053955, 0.7001835107803345, -0.29298925399780273, 0.12701213359832764, -0.07944566756486893, 1.000116229057312, -0.3732617199420929, -0.39915531873703003, -0.7353663444519043, 0.4672606587409973, -0.260443776845932, -0.24537111818790436, 0.6031462550163269, 0.9121955037117004, 1.1196231842041016, -0.1681012511253357, 0.4759364724159241, -0.411298543214798, -0.15259037911891937, -0.009318584576249123, 0.37478920817375183, -0.4364186227321625, 0.09678216278553009, -0.4938477873802185, -1.1026684045791626, -0.38178750872612, 1.0712363719940186, -0.3623981475830078, 0.29541298747062683, 0.5013617277145386, 1.1069949865341187, -0.604884684085846, -0.07495961338281631, 0.10200601071119308, -0.07553821057081223, 0.42703986167907715, 0.5468419194221497, 0.4869212806224823, -0.6891507506370544, 0.47889089584350586, -0.8354209065437317, -0.20790709555149078, -0.4814791977405548, -0.5021858215332031, -0.9550749659538269, -0.6996791958808899, -0.5482863783836365, -0.3397858142852783, -0.002941644284874201, 0.4836757481098175, 1.0852129459381104, -0.6430535912513733, -0.2267395555973053, -0.4371303617954254, 0.0771666094660759, -0.5267416834831238, -0.3187222182750702, 0.6666225790977478, 0.21918651461601257, -0.9221494793891907, 0.03150258958339691, 0.26900261640548706, 0.03049100935459137, -0.13520509004592896, -0.12591595947742462, -0.36297154426574707, -0.0914965569972992, 0.6236391067504883, 0.5216174125671387, -0.6114973425865173, -0.3788048028945923, 0.09885778278112411, 0.14945723116397858, 0.370198130607605, 0.6650483012199402, -0.5908034443855286, 0.5454975366592407, 0.40211156010627747, 0.23552681505680084, 1.1198925971984863, 0.3108599781990051, -0.013418309390544891, -0.48754048347473145, 0.37420570850372314, 0.04260293021798134, 0.3645378053188324, 0.5398933291435242, -0.3281451463699341, 0.650646448135376, 0.5225792527198792, -0.4038679301738739, -0.8141763806343079, 0.1316920965909958, -1.454007625579834, -0.12122440338134766, 0.8840982913970947, -0.15355715155601501, -0.5634670257568359, 0.10423921048641205, -0.2443905919790268, 0.5187395215034485, -0.17051412165164948, 0.7249140739440918, 0.18867063522338867, -0.11432121694087982, -0.74679034948349, -0.23698554933071136, 0.042186103761196136, -0.19644929468631744, -0.6626355051994324, -0.20261909067630768, 0.2561224400997162, 0.534756600856781, 0.40786421298980713, 0.42705249786376953, -0.39364445209503174, 0.18682952225208282, 0.014400922693312168, 0.306280255317688, -0.3628827631473541, -0.5185889601707458, 0.010684541426599026, 0.11569896340370178, -0.5137859582901001, -0.623582124710083 ]
togethercomputer/RedPajama-INCITE-Instruct-3B-v1
togethercomputer
2023-05-09T14:59:36Z
15,395
87
transformers
[ "transformers", "pytorch", "gpt_neox", "text-generation", "en", "dataset:togethercomputer/RedPajama-Data-1T", "dataset:Muennighoff/P3", "dataset:Muennighoff/natural-instructions", "license:apache-2.0", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-05-05T05:12:00Z
--- license: apache-2.0 language: - en datasets: - togethercomputer/RedPajama-Data-1T - Muennighoff/P3 - Muennighoff/natural-instructions widget: - text: "Label the tweets as either 'positive', 'negative', 'mixed', or 'neutral': \n\nTweet: I can say that there isn't anything I would change.\nLabel: positive\n\nTweet: I'm not sure about this.\nLabel: neutral\n\nTweet: I liked some parts but I didn't like other parts.\nLabel: mixed\n\nTweet: I think the background image could have been better.\nLabel: negative\n\nTweet: I really like it.\nLabel:" example_title: "Sentiment Analysis" - text: "Please answer the following question:\n\nQuestion: What is the capital of Canada?\nAnswer: Ottawa\n\nQuestion: What is the currency of Switzerland?\nAnswer: Swiss franc\n\nQuestion: In which country is Wisconsin located?\nAnswer:" example_title: "Question Answering" - text: "Given a news article, classify its topic.\nPossible labels: 1. World 2. Sports 3. Business 4. Sci/Tech\n\nArticle: A nearby star thought to harbor comets and asteroids now appears to be home to planets, too.\nLabel: Sci/Tech\n\nArticle: Soaring crude prices plus worries about the economy and the outlook for earnings are expected to hang over the stock market next week during the depth of the summer doldrums.\nLabel: Business\n\nArticle: Murtagh a stickler for success Northeastern field hockey coach Cheryl Murtagh doesn't want the glare of the spotlight that shines on her to detract from a team that has been the America East champion for the past three years and has been to the NCAA tournament 13 times.\nLabel::" example_title: "Topic Classification" - text: "Paraphrase the given sentence into a different sentence.\n\nInput: Can you recommend some upscale restaurants in New York?\nOutput: What upscale restaurants do you recommend in New York?\n\nInput: What are the famous places we should not miss in Paris?\nOutput: Recommend some of the best places to visit in Paris?\n\nInput: Could you recommend some hotels that have cheap price in Zurich?\nOutput:" example_title: "Paraphrasing" - text: "Given a review from Amazon's food products, the task is to generate a short summary of the given review in the input.\n\nInput: I have bought several of the Vitality canned dog food products and have found them all to be of good quality. The product looks more like a stew than a processed meat and it smells better. My Labrador is finicky and she appreciates this product better than most.\nOutput: Good Quality Dog Food\n\nInput: Product arrived labeled as Jumbo Salted Peanuts...the peanuts were actually small sized unsalted. Not sure if this was an error or if the vendor intended to represent the product as 'Jumbo'.\nOutput: Not as Advertised\n\nInput: My toddler loves this game to a point where he asks for it. That's a big thing for me. Secondly, no glitching unlike one of their competitors (PlayShifu). Any tech I don’t have to reach out to support for help is a good tech for me. I even enjoy some of the games and activities in this. Overall, this is a product that shows that the developers took their time and made sure people would not be asking for refund. I’ve become bias regarding this product and honestly I look forward to buying more of this company’s stuff. Please keep up the great work.\nOutput:" example_title: "Text Summarization" - text: "Identify which sense of a word is meant in a given context.\n\nContext: The river overflowed the bank.\nWord: bank\nSense: river bank\n\nContext: A mouse takes much more room than a trackball.\nWord: mouse\nSense: computer mouse\n\nContext: The bank will not be accepting cash on Saturdays.\nWord: bank\nSense: commercial (finance) banks\n\nContext: Bill killed the project\nWord: kill\nSense:" example_title: "Word Sense Disambiguation" - text: "Given a pair of sentences, choose whether the two sentences agree (entailment)/disagree (contradiction) with each other.\nPossible labels: 1. entailment 2. contradiction\n\nSentence 1: The skier was on the edge of the ramp. Sentence 2: The skier was dressed in winter clothes.\nLabel: entailment\n\nSentence 1: The boy skated down the staircase railing. Sentence 2: The boy is a newbie skater.\nLabel: contradiction\n\nSentence 1: Two middle-aged people stand by a golf hole. Sentence 2: A couple riding in a golf cart.\nLabel:" example_title: "Natural Language Inference" inference: parameters: temperature: 0.7 top_p: 0.7 top_k: 50 max_new_tokens: 128 --- # RedPajama-INCITE-Instruct-3B-v1 RedPajama-INCITE-Instruct-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 model was fine-tuned for few-shot applications on the data of [GPT-JT](https://huggingface.co/togethercomputer/GPT-JT-6B-v1), with exclusion of tasks that overlap with the HELM core scenarios. - 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-Instruct-3B-v1") model = AutoModelForCausalLM.from_pretrained("togethercomputer/RedPajama-INCITE-Instruct-3B-v1", torch_dtype=torch.float16) model = model.to('cuda:0') # infer prompt = "Q: The capital of France is?\nA:" 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) """ Paris """ ``` ## GPU Inference in Int8 This requires a GPU with 6GB memory. 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-Instruct-3B-v1") model = AutoModelForCausalLM.from_pretrained("togethercomputer/RedPajama-INCITE-Instruct-3B-v1", device_map='auto', torch_dtype=torch.float16, load_in_8bit=True) # infer prompt = "Q: The capital of France is?\nA:" 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) """ Paris """ ``` ## CPU Inference ```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-Instruct-3B-v1") model = AutoModelForCausalLM.from_pretrained("togethercomputer/RedPajama-INCITE-Instruct-3B-v1", torch_dtype=torch.bfloat16) # infer prompt = "Q: The capital of France is?\nA:" 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) """ Paris """ ``` Please note that since `LayerNormKernelImpl` is not implemented in fp16 for CPU, we use `bfloat16` for CPU inference. # Uses ## Direct Use 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-Instruct-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-Instruct-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-Instruct-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:** 8 A100 - **Optimizer:** Adam - **Gradient Accumulations**: 1 - **Num of Tokens:** 131M tokens - **Learning rate:** 1e-5 ## Community Join us on [Together Discord](https://discord.gg/6ZVDU8tTD4)
[ -0.3413902521133423, -0.9506819844245911, 0.27233582735061646, 0.46950265765190125, -0.07580185681581497, -0.26009994745254517, -0.35279911756515503, -0.41095829010009766, -0.02333211526274681, 0.5504017472267151, -0.5274916291236877, -0.4838859736919403, -0.7463439106941223, -0.10329058021306992, -0.358084499835968, 0.8371826410293579, -0.06154954060912132, -0.151046484708786, -0.19579027593135834, 0.060522984713315964, -0.40901437401771545, -0.46935757994651794, -0.7048146724700928, -0.4183863401412964, -0.04379471391439438, 0.4416888952255249, 0.45725202560424805, 0.28804388642311096, 0.5086361765861511, 0.36529743671417236, 0.015679584816098213, 0.08453691750764847, -0.42809200286865234, -0.22026705741882324, 0.27972036600112915, -0.42640942335128784, -0.28045254945755005, -0.041071128100156784, 0.4420715570449829, 0.31887921690940857, -0.01236648578196764, 0.309244841337204, -0.10788855701684952, 0.4883591830730438, -0.5170160531997681, 0.3830978572368622, -0.6005114912986755, -0.12159514427185059, -0.10272789001464844, 0.037290509790182114, -0.4044604003429413, -0.22031328082084656, 0.09400247782468796, -0.3884660005569458, 0.17976497113704681, -0.09293045848608017, 1.0551859140396118, 0.37479662895202637, -0.10246450453996658, -0.10296397656202316, -0.45820918679237366, 0.842085599899292, -0.9176110029220581, 0.24534684419631958, 0.47295132279396057, 0.19722804427146912, -0.15460193157196045, -0.9376053810119629, -0.7593001127243042, -0.17657937109470367, -0.16471193730831146, 0.06499277800321579, -0.40138936042785645, -0.08369985967874527, 0.35392695665359497, 0.19857026636600494, -0.5111610889434814, -0.0868121087551117, -0.5938014388084412, -0.0778108462691307, 0.5414516925811768, 0.07405053824186325, 0.4181132912635803, -0.3310836851596832, -0.35082632303237915, -0.28065431118011475, -0.5122103691101074, 0.10599778592586517, 0.3597427308559418, 0.4217539131641388, -0.6226398348808289, 0.46977701783180237, -0.13368186354637146, 0.6322198510169983, 0.049007583409547806, -0.1601356565952301, 0.5427824258804321, -0.26819366216659546, -0.49315086007118225, -0.0774625912308693, 1.0683637857437134, 0.31463852524757385, 0.22020158171653748, 0.04662969335913658, 0.06767559796571732, 0.027139203622937202, 0.04618960991501808, -0.9424243569374084, -0.5677546262741089, 0.5031213164329529, -0.3133189380168915, -0.21028779447078705, 0.0021912672091275454, -0.5971807241439819, -0.05185551196336746, 0.05807359144091606, 0.6705874800682068, -0.5136226415634155, -0.48459506034851074, 0.23373928666114807, -0.19632621109485626, 0.2719835937023163, 0.09791979938745499, -1.070122480392456, 0.41481342911720276, 0.28768736124038696, 0.7898960113525391, -0.020679175853729248, -0.39186540246009827, 0.05160924047231674, -0.1735175997018814, -0.01522877998650074, 0.46154725551605225, -0.2137715220451355, -0.33523160219192505, -0.3516474664211273, 0.045478805899620056, -0.19604866206645966, -0.4492212235927582, 0.2565074861049652, -0.18647710978984833, 0.5293726325035095, 0.07011467218399048, -0.49259087443351746, -0.372416615486145, 0.19919802248477936, -0.4566129148006439, 1.2890475988388062, 0.22644874453544617, -0.8874214291572571, 0.09342560917139053, -0.8511220216751099, -0.34359896183013916, -0.16853344440460205, -0.25846225023269653, -0.782460629940033, -0.16938652098178864, 0.3956747353076935, 0.4873170256614685, -0.33778849244117737, 0.07554186135530472, -0.1111004576086998, -0.3235412836074829, 0.15592600405216217, -0.4617326855659485, 1.341706395149231, 0.0950881764292717, -0.7424048781394958, 0.1758696585893631, -0.6814497709274292, 0.015257551334798336, 0.45058801770210266, -0.07243973016738892, 0.14832767844200134, -0.22727373242378235, 0.10702349245548248, 0.19356335699558258, 0.3967534303665161, -0.5357111096382141, 0.19900177419185638, -0.5667135715484619, 0.5792420506477356, 0.6692166924476624, 0.01871686615049839, 0.3562467396259308, -0.27163177728652954, 0.3802344501018524, 0.15964515507221222, 0.2756797671318054, 0.008616233244538307, -0.7711046934127808, -0.8689695596694946, -0.41588082909584045, 0.05334218591451645, 0.6232904195785522, -0.538399338722229, 0.4501079022884369, -0.08111174404621124, -0.6902317404747009, -0.40924331545829773, -0.18831592798233032, 0.27759820222854614, 0.46863868832588196, 0.5592091083526611, -0.0798654779791832, -0.7159014940261841, -0.8806475400924683, 0.06786411255598068, -0.2074199914932251, 0.09400596469640732, 0.41979557275772095, 0.7539280652999878, -0.3458806276321411, 0.8414983153343201, -0.47913652658462524, -0.06077871099114418, -0.28826990723609924, 0.08634760975837708, 0.6042086482048035, 0.8003889322280884, 0.6903430819511414, -0.53533536195755, -0.4807109236717224, -0.12153703719377518, -0.7075796723365784, 0.10221262276172638, -0.024655308574438095, -0.16378289461135864, 0.250460147857666, 0.38842418789863586, -0.733715832233429, 0.4253622591495514, 0.5900466442108154, -0.5158995389938354, 0.5276250839233398, -0.15326544642448425, 0.22304190695285797, -1.089447259902954, 0.0870373323559761, -0.16716711223125458, -0.19994792342185974, -0.5848844647407532, -0.060921214520931244, 0.020957795903086662, -0.0455186702311039, -0.767448902130127, 0.9493184685707092, -0.3098297715187073, 0.22702482342720032, -0.1485091894865036, -0.03140036389231682, -0.07070133835077286, 0.7667134404182434, 0.015419532544910908, 0.7147212028503418, 0.7296352386474609, -0.7248580455780029, 0.30566155910491943, 0.32186734676361084, -0.4243506193161011, -0.05198052525520325, -0.7042858004570007, 0.06626035273075104, 0.14529433846473694, 0.027430500835180283, -0.9462008476257324, -0.20169539749622345, 0.48157191276550293, -0.7413230538368225, 0.29532188177108765, -0.12132018059492111, -0.5606964826583862, -0.5270835161209106, -0.01378056313842535, 0.489149808883667, 0.7830766439437866, -0.5402958393096924, 0.5223568081855774, 0.5310843586921692, 0.15221832692623138, -0.5889112949371338, -0.912120521068573, -0.2899805009365082, -0.2623943090438843, -0.7218887209892273, 0.21284446120262146, -0.0967908576130867, -0.21774020791053772, -0.1079065203666687, -0.0026729514356702566, -0.14082060754299164, 0.26565584540367126, 0.3218536674976349, 0.3208823502063751, 0.07735913246870041, -0.14265325665473938, -0.2423076033592224, 0.029053719714283943, 0.27182871103286743, -0.18685190379619598, 0.7903152108192444, -0.3161495625972748, -0.23637546598911285, -0.6922513246536255, -0.022961078211665154, 0.4974486231803894, 0.052252281457185745, 0.9188514351844788, 0.6698232293128967, -0.5595307350158691, -0.13320419192314148, -0.5231180787086487, -0.4015182554721832, -0.47340628504753113, 0.48207539319992065, -0.3522181212902069, -0.7204740643501282, 0.6047815680503845, 0.32580265402793884, 0.19766435027122498, 0.7576566338539124, 0.8844290971755981, 0.04117214307188988, 0.8825057148933411, 0.5121127367019653, 0.011022156104445457, 0.5782131552696228, -0.7256117463111877, 0.1733889877796173, -0.6942684650421143, -0.30656564235687256, -0.5377729535102844, -0.10738512128591537, -0.6783274412155151, -0.5147267580032349, 0.2478836327791214, 0.11059536784887314, -0.5505049824714661, 0.6473755836486816, -0.7556100487709045, 0.3854888379573822, 0.6749652028083801, 0.1987205296754837, -0.16526374220848083, 0.037954218685626984, -0.12969131767749786, 0.08344455808401108, -0.8310633897781372, -0.3322955369949341, 1.075727939605713, 0.4784860908985138, 0.6882562637329102, 0.002078734803944826, 0.7077517509460449, -0.002322578802704811, 0.250947505235672, -0.3840424120426178, 0.41235047578811646, -0.02351119928061962, -0.7355864644050598, -0.27494409680366516, -0.4484846293926239, -0.8287333846092224, 0.2394491732120514, -0.08716035634279251, -0.990489661693573, 0.09115609526634216, 0.1849256157875061, -0.3646511435508728, 0.37521547079086304, -0.8801442384719849, 1.23007333278656, -0.21919085085391998, -0.29400205612182617, -0.12755809724330902, -0.47596922516822815, 0.4689585864543915, 0.29387736320495605, 0.10242220759391785, -0.2328232228755951, 0.32088902592658997, 0.9177664518356323, -0.4132865369319916, 0.9389174580574036, -0.17759189009666443, 0.14652566611766815, 0.5481477379798889, -0.08835921436548233, 0.4644913077354431, 0.06548012793064117, -0.08718787878751755, 0.6333752870559692, -0.016162626445293427, -0.4988960921764374, -0.3514934480190277, 0.7547968626022339, -1.148711085319519, -0.5549785494804382, -0.4659523069858551, -0.5239682793617249, 0.07799950987100601, 0.28125810623168945, 0.47555896639823914, 0.3161300718784332, 0.08321299403905869, 0.22842779755592346, 0.5003079771995544, -0.32086247205734253, 0.5432030558586121, 0.1898878812789917, -0.24915647506713867, -0.394480437040329, 0.8610445857048035, -0.0818149670958519, 0.23212087154388428, 0.18374790251255035, 0.1329755187034607, -0.3439555764198303, -0.4238772988319397, -0.43380698561668396, 0.23436400294303894, -0.7084938883781433, -0.2103617638349533, -0.7505400776863098, -0.3729194402694702, -0.5809862613677979, -0.09164950996637344, -0.5493358373641968, -0.5168284177780151, -0.5177371501922607, 0.1359831541776657, 0.5272231698036194, 0.36389222741127014, -0.014605007134377956, 0.3518981337547302, -0.4852340817451477, 0.3224453032016754, 0.18197710812091827, 0.1951831877231598, -0.09509988129138947, -0.8445276021957397, -0.4299614429473877, 0.02921939082443714, -0.3318690061569214, -0.619661271572113, 0.45943135023117065, -0.13651876151561737, 0.5278734564781189, 0.185631662607193, 0.01968245953321457, 0.6136116981506348, -0.2743526101112366, 0.9104395508766174, 0.25706976652145386, -0.930748462677002, 0.5691736340522766, -0.12055104970932007, 0.579149603843689, 0.38785240054130554, 0.24960744380950928, -0.26611530780792236, -0.5850739479064941, -0.9857509136199951, -0.969321072101593, 0.9410126805305481, 0.6484995484352112, 0.11871666461229324, -0.303681880235672, 0.18630068004131317, -0.124886155128479, 0.17556947469711304, -1.0487357378005981, -0.616146445274353, -0.34022876620292664, -0.2488606870174408, 0.19171014428138733, -0.03210870176553726, -0.09906376898288727, -0.34125059843063354, 0.9661862254142761, 0.11625052988529205, 0.719669759273529, 0.21911630034446716, -0.17158865928649902, 0.055755820125341415, -0.130092591047287, 0.6824149489402771, 0.7866096496582031, -0.31848129630088806, -0.02703365869820118, 0.3437378704547882, -0.48648494482040405, -0.05970783531665802, 0.14564380049705505, -0.154662624001503, -0.03049634024500847, 0.3364656865596771, 1.0819971561431885, 0.12145955860614777, -0.48059478402137756, 0.4483259320259094, -0.30042338371276855, -0.23968720436096191, -0.5455846786499023, 0.2612927258014679, 0.14852243661880493, 0.36226919293403625, 0.21691037714481354, 0.10390059649944305, -0.19945262372493744, -0.3268059194087982, 0.09541690349578857, 0.5345079302787781, -0.18024303019046783, -0.17642053961753845, 0.905427873134613, 0.17857420444488525, -0.26057130098342896, 0.7180324196815491, -0.10665326565504074, -0.4593314528465271, 0.9650155305862427, 0.5487037301063538, 0.94395512342453, 0.12078819423913956, -0.1473974585533142, 0.793830931186676, 0.508991003036499, -0.15058287978172302, 0.3076353073120117, -0.018478907644748688, -0.8590521216392517, -0.26802435517311096, -0.6064728498458862, -0.28988081216812134, 0.2413509637117386, -0.4175494611263275, 0.41779208183288574, -0.48548102378845215, -0.2105419784784317, -0.19844293594360352, 0.1238061934709549, -0.8557685017585754, 0.22015516459941864, 0.12143860757350922, 0.8769486546516418, -0.8407899737358093, 0.8965044021606445, 0.4604659974575043, -0.6286768913269043, -0.7974448204040527, -0.20357662439346313, -0.20403194427490234, -0.8448992371559143, 0.6408823728561401, 0.34541869163513184, 0.023848632350564003, 0.20392876863479614, -0.7034235596656799, -0.8467769622802734, 1.0171465873718262, 0.48293840885162354, -0.3624798655509949, 0.030148152261972427, -0.09872134029865265, 0.2518264651298523, -0.23751913011074066, 0.6725694537162781, 0.681855320930481, 0.4529549181461334, -0.12642011046409607, -0.937957763671875, 0.04206053912639618, -0.17823480069637299, -0.22776257991790771, 0.12825018167495728, -0.6797145009040833, 1.1835795640945435, -0.32556167244911194, -0.224223330616951, -0.010120593011379242, 0.9336851835250854, 0.3021896481513977, -0.15702837705612183, 0.3307476043701172, 0.6862863898277283, 0.6488312482833862, -0.2950267493724823, 1.11616051197052, -0.5926418900489807, 0.7734295129776001, 1.104883074760437, 0.29052889347076416, 0.6914240717887878, 0.39599812030792236, -0.4179752469062805, 0.6009655594825745, 0.5780263543128967, -0.15770651400089264, 0.3936978876590729, 0.07526782155036926, -0.22954188287258148, -0.09777657687664032, 0.3275453448295593, -0.4274339973926544, 0.4377799332141876, 0.30830636620521545, -0.31781765818595886, -0.03830821439623833, -0.09701064974069595, 0.19302266836166382, -0.2669338285923004, -0.06030714511871338, 0.5608225464820862, 0.03911988437175751, -0.5197325348854065, 0.9884810447692871, 0.13792060315608978, 0.7569568157196045, -0.552329421043396, -0.044069234281778336, -0.13496799767017365, 0.27489861845970154, -0.18141528964042664, -0.6051132082939148, 0.17980481684207916, -0.13598698377609253, -0.1745402216911316, -0.05490811541676521, 0.39243119955062866, -0.4863407015800476, -0.6459016799926758, 0.27658918499946594, 0.14747987687587738, 0.35571548342704773, -0.08930099755525589, -0.8931954503059387, 0.26663142442703247, 0.10544810444116592, -0.47821134328842163, 0.07878731191158295, 0.2001984417438507, 0.194125697016716, 0.6572297215461731, 0.4715074598789215, -0.07169012725353241, 0.1709393858909607, -0.029702264815568924, 0.7347548604011536, -0.6200338006019592, -0.4212856590747833, -0.9859384298324585, 0.6132537126541138, -0.021867256611585617, -0.3680768609046936, 0.8921090960502625, 0.5763909816741943, 1.1151071786880493, -0.09527919441461563, 0.8679519891738892, -0.4020934998989105, 0.13527032732963562, -0.4669094383716583, 0.7481028437614441, -0.5384169220924377, 0.13292217254638672, -0.21948198974132538, -0.8158823251724243, -0.2726079821586609, 0.9783914685249329, -0.21574386954307556, 0.24675697088241577, 0.7588122487068176, 0.9524622559547424, -0.07213759422302246, -0.22345106303691864, 0.24628855288028717, 0.4649060368537903, 0.33871835470199585, 0.5853893160820007, 0.25880107283592224, -0.8045607805252075, 0.5362846851348877, -0.71048504114151, -0.21307972073554993, -0.20293158292770386, -0.7500451803207397, -1.086559772491455, -0.5735445618629456, -0.40007317066192627, -0.6145837306976318, -0.15659205615520477, 1.176647663116455, 0.8157400488853455, -0.9291300773620605, -0.4096091389656067, -0.2878257930278778, 0.17214742302894592, -0.2118699699640274, -0.3090227544307709, 0.4599362909793854, -0.36866673827171326, -1.0693155527114868, 0.26486968994140625, 0.13385429978370667, 0.11384060978889465, -0.39026039838790894, -0.08498646318912506, -0.45044317841529846, 0.0015303964028134942, 0.4955323338508606, 0.4745003283023834, -0.8006617426872253, -0.27146074175834656, -0.23348355293273926, -0.2091338336467743, 0.16380107402801514, 0.40907567739486694, -0.752069890499115, 0.5037355422973633, 0.5335861444473267, 0.48030853271484375, 0.7845360636711121, -0.24258604645729065, 0.3192756474018097, -0.6638874411582947, 0.4764520525932312, 0.13710959255695343, 0.47050195932388306, 0.3155580163002014, -0.3958601951599121, 0.3410118520259857, 0.27725908160209656, -0.640984058380127, -0.7160520553588867, 0.016132373362779617, -0.8953334093093872, -0.35118478536605835, 1.1477702856063843, -0.027552690356969833, -0.5248987674713135, 0.08679579943418503, -0.16477499902248383, 0.3928895592689514, -0.4272954761981964, 0.8663457632064819, 0.5850644707679749, -0.41573187708854675, -0.18765942752361298, -0.4740758538246155, 0.4550339877605438, 0.30997464060783386, -0.8442547917366028, 0.038597315549850464, 0.1444982886314392, 0.43901315331459045, 0.14321185648441315, 0.8670888543128967, -0.057316508144140244, 0.38812384009361267, 0.18074867129325867, 0.4542340636253357, -0.16064763069152832, -0.2401532530784607, -0.14100545644760132, 0.05323043838143349, -0.13504241406917572, -0.33197513222694397 ]
TheBloke/Llama-2-13B-chat-AWQ
TheBloke
2023-11-09T18:21:10Z
15,388
12
transformers
[ "transformers", "safetensors", "llama", "text-generation", "facebook", "meta", "pytorch", "llama-2", "en", "arxiv:2307.09288", "base_model:meta-llama/Llama-2-13b-chat-hf", "license:llama2", "text-generation-inference", "4-bit", "region:us" ]
text-generation
2023-09-18T23:58:23Z
--- language: - en license: llama2 tags: - facebook - meta - pytorch - llama - llama-2 model_name: Llama 2 13B Chat base_model: meta-llama/Llama-2-13b-chat-hf inference: false model_creator: Meta Llama 2 model_type: llama pipeline_tag: text-generation prompt_template: '[INST] <<SYS>> You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don''t know the answer to a question, please don''t share false information. <</SYS>> {prompt}[/INST] ' 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 --> # Llama 2 13B Chat - AWQ - Model creator: [Meta Llama 2](https://huggingface.co/meta-llama) - Original model: [Llama 2 13B Chat](https://huggingface.co/meta-llama/Llama-2-13b-chat-hf) <!-- description start --> ## Description This repo contains AWQ model files for [Meta's Llama 2 13B-chat](https://huggingface.co/meta-llama/Llama-2-13b-chat-hf). ### About AWQ AWQ is an efficient, accurate and blazing-fast low-bit weight quantization method, currently supporting 4-bit quantization. Compared to GPTQ, it offers faster Transformers-based inference. It is also now supported by continuous batching server [vLLM](https://github.com/vllm-project/vllm), allowing use of AWQ models for high-throughput concurrent inference in multi-user server scenarios. Note that, at the time of writing, overall throughput is still lower than running vLLM with unquantised models, however using AWQ enables using much smaller GPUs which can lead to easier deployment and overall cost savings. For example, a 70B model can be run on 1 x 48GB GPU instead of 2 x 80GB. <!-- description end --> <!-- repositories-available start --> ## Repositories available * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/Llama-2-13B-chat-AWQ) * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Llama-2-13B-chat-GPTQ) * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/Llama-2-13B-chat-GGUF) * [Meta Llama 2's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/meta-llama/Llama-2-13B-chat-hf) <!-- repositories-available end --> <!-- prompt-template start --> ## Prompt template: Llama-2-Chat ``` [INST] <<SYS>> You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information. <</SYS>> {prompt}[/INST] ``` <!-- prompt-template end --> <!-- README_AWQ.md-provided-files start --> ## Provided files and AWQ parameters For my first release of AWQ models, I am releasing 128g models only. I will consider adding 32g as well if there is interest, and once I have done perplexity and evaluation comparisons, but at this time 32g models are still not fully tested with AutoAWQ and vLLM. Models are released as sharded safetensors files. | Branch | Bits | GS | AWQ Dataset | Seq Len | Size | | ------ | ---- | -- | ----------- | ------- | ---- | | [main](https://huggingface.co/TheBloke/Llama-2-13B-chat-AWQ/tree/main) | 4 | 128 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 7.25 GB <!-- README_AWQ.md-provided-files end --> <!-- README_AWQ.md-use-from-vllm start --> ## Serving this model from vLLM Documentation on installing and using vLLM [can be found here](https://vllm.readthedocs.io/en/latest/). - When using vLLM as a server, pass the `--quantization awq` parameter, for example: ```shell python3 python -m vllm.entrypoints.api_server --model TheBloke/Llama-2-13B-chat-AWQ --quantization awq ``` When using vLLM from Python code, pass the `quantization=awq` parameter, for example: ```python from vllm import LLM, SamplingParams prompts = [ "Hello, my name is", "The president of the United States is", "The capital of France is", "The future of AI is", ] sampling_params = SamplingParams(temperature=0.8, top_p=0.95) llm = LLM(model="TheBloke/Llama-2-13B-chat-AWQ", quantization="awq") outputs = llm.generate(prompts, sampling_params) # Print the outputs. for output in outputs: prompt = output.prompt generated_text = output.outputs[0].text print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}") ``` <!-- README_AWQ.md-use-from-vllm start --> <!-- README_AWQ.md-use-from-python start --> ## How to use this AWQ model from Python code ### Install the necessary packages Requires: [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) 0.0.2 or later ```shell pip3 install autoawq ``` If you have problems installing [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) using the pre-built wheels, install it from source instead: ```shell pip3 uninstall -y autoawq git clone https://github.com/casper-hansen/AutoAWQ cd AutoAWQ pip3 install . ``` ### You can then try the following example code ```python from awq import AutoAWQForCausalLM from transformers import AutoTokenizer model_name_or_path = "TheBloke/Llama-2-13B-chat-AWQ" # Load model model = AutoAWQForCausalLM.from_quantized(model_name_or_path, fuse_layers=True, trust_remote_code=False, safetensors=True) tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, trust_remote_code=False) prompt = "Tell me about AI" prompt_template=f'''[INST] <<SYS>> You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information. <</SYS>> {prompt}[/INST] ''' print("\n\n*** Generate:") tokens = tokenizer( prompt_template, return_tensors='pt' ).input_ids.cuda() # Generate output generation_output = model.generate( tokens, do_sample=True, temperature=0.7, top_p=0.95, top_k=40, max_new_tokens=512 ) print("Output: ", tokenizer.decode(generation_output[0])) # Inference can also be done using transformers' pipeline from transformers import 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_AWQ.md-use-from-python end --> <!-- README_AWQ.md-compatibility start --> ## Compatibility The files provided are tested to work with [AutoAWQ](https://github.com/casper-hansen/AutoAWQ), and [vLLM](https://github.com/vllm-project/vllm). [Huggingface Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference) is not yet compatible with AWQ, but a PR is open which should bring support soon: [TGI PR #781](https://github.com/huggingface/text-generation-inference/issues/781). <!-- README_AWQ.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: Meta's Llama 2 13B-chat # **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/) **Research Paper** ["Llama-2: Open Foundation and Fine-tuned Chat Models"](arxiv.org/abs/2307.09288) ## 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.4935087263584137, -0.8350077271461487, 0.33755096793174744, 0.09620428085327148, -0.29849889874458313, -0.04977353289723396, 0.12172412127256393, -0.5097066164016724, 0.018403301015496254, 0.2812044620513916, -0.6965035796165466, -0.4824341833591461, -0.32820653915405273, -0.0594637505710125, -0.36907926201820374, 0.9421132206916809, 0.21725811064243317, -0.35241517424583435, -0.29996544122695923, -0.14933869242668152, -0.2893109917640686, -0.593694806098938, -0.6533655524253845, -0.231024831533432, 0.18267805874347687, 0.20802971720695496, 0.7710409760475159, 0.6916880011558533, 0.25744515657424927, 0.43967434763908386, -0.09580712765455246, 0.1795414388179779, -0.39652499556541443, 0.005799008999019861, 0.2651587724685669, -0.309439480304718, -0.577824056148529, 0.04109848663210869, 0.43004879355430603, 0.17550963163375854, -0.31613847613334656, 0.2563624382019043, 0.0628679171204567, 0.37722715735435486, -0.4883088767528534, 0.17512671649456024, -0.4958373010158539, -0.02511797472834587, -0.0998586043715477, 0.09626657515764236, -0.13118141889572144, -0.10583887249231339, -0.02178218960762024, -0.8234300017356873, -0.010611701756715775, 0.1929474025964737, 1.2160676717758179, 0.31728747487068176, -0.5781907439231873, 0.08077450841665268, -0.4994668960571289, 1.0543122291564941, -1.116259217262268, 0.3276686668395996, 0.3496006429195404, 0.23736140131950378, -0.2006325125694275, -0.9701523184776306, -0.7056095004081726, -0.16669176518917084, -0.11606141924858093, 0.2039487212896347, -0.5880464911460876, -0.028620585799217224, 0.17641392350196838, 0.5182729363441467, -0.5814707279205322, 0.04679054766893387, -0.3214321434497833, -0.23019863665103912, 0.7549027800559998, 0.41763439774513245, 0.2787168025970459, -0.2565474808216095, -0.42004111409187317, -0.3107377588748932, -0.5139226317405701, 0.14374949038028717, 0.18953053653240204, 0.035075023770332336, -0.5676397085189819, 0.5391497015953064, -0.3139476776123047, 0.4889877736568451, 0.230425164103508, -0.10989483445882797, 0.268685907125473, -0.5122606754302979, -0.5673802495002747, -0.4956011176109314, 1.2619925737380981, 0.4321449100971222, -0.3350200653076172, 0.19582390785217285, -0.016290973871946335, -0.11509823799133301, 0.03225516155362129, -0.8368812203407288, -0.29017573595046997, 0.6247112154960632, -0.5985751152038574, -0.4790119528770447, -0.25022104382514954, -0.6486873626708984, -0.17097239196300507, 0.0915900319814682, 0.5186984539031982, -0.34022408723831177, -0.35224318504333496, -0.07261022925376892, -0.30731528997421265, 0.5776867866516113, 0.27600565552711487, -0.7691746950149536, 0.3586481511592865, 0.43577930331230164, 0.6636844873428345, 0.12175100296735764, -0.22237606346607208, -0.31221911311149597, 0.007724445313215256, -0.10210058093070984, 0.5710726380348206, -0.14009292423725128, -0.450408399105072, -0.3202962875366211, 0.13908225297927856, 0.2076236754655838, -0.3204350173473358, 0.3909361660480499, -0.2373286783695221, 0.42743951082229614, -0.3455457091331482, -0.45647335052490234, -0.2702348232269287, 0.12081807106733322, -0.47805315256118774, 1.229176640510559, 0.2195185124874115, -0.8253052830696106, 0.09845366328954697, -0.48703715205192566, -0.18170857429504395, 0.039343059062957764, -0.014029206708073616, -0.5953876376152039, -0.23071543872356415, 0.37642374634742737, 0.3635324239730835, -0.4644997715950012, -0.0014942443231120706, -0.4262911081314087, -0.19529280066490173, 0.28185001015663147, -0.4613775312900543, 1.2342408895492554, 0.30443891882896423, -0.5227149724960327, 0.07799538224935532, -0.6880288124084473, 0.15381179749965668, 0.4104987382888794, -0.27842041850090027, 0.05696627497673035, -0.01263202354311943, 0.02097415365278721, 0.058996010571718216, 0.4292914867401123, -0.3959459066390991, 0.2084193378686905, -0.2898644208908081, 0.7151998281478882, 0.7549574971199036, 0.006626791786402464, 0.4785820543766022, -0.598511815071106, 0.3920566737651825, 0.1316969096660614, 0.5229521989822388, 0.06818967312574387, -0.7040297389030457, -0.9425101280212402, -0.3074907064437866, 0.21079866588115692, 0.6691279411315918, -0.6144022345542908, 0.6564950346946716, 0.17175540328025818, -0.7715359926223755, -0.5464210510253906, -0.109195277094841, 0.2403055727481842, 0.44222167134284973, 0.4298683702945709, -0.24913859367370605, -0.6556181311607361, -0.7982316613197327, 0.07134879380464554, -0.4861735999584198, -0.14454470574855804, 0.5434097051620483, 0.6206050515174866, -0.4117744266986847, 0.7124649286270142, -0.5053463578224182, -0.1838555634021759, -0.09215982258319855, 0.057197656482458115, 0.305696964263916, 0.651214063167572, 0.7046971917152405, -0.5124487280845642, -0.40417852997779846, -0.13331975042819977, -0.7661924362182617, -0.08584325760602951, -0.04490615427494049, -0.46759000420570374, 0.32691487669944763, 0.18145808577537537, -0.8680304288864136, 0.4983179271221161, 0.6066353917121887, -0.4322850704193115, 0.6292717456817627, -0.18315689265727997, 0.11642315983772278, -1.082620620727539, 0.03789270669221878, -0.04301344230771065, -0.2972351908683777, -0.47658413648605347, 0.1026860848069191, -0.18550826609134674, 0.12623991072177887, -0.43839412927627563, 0.7024812698364258, -0.44158735871315, 0.037755005061626434, -0.07481404393911362, -0.09006509929895401, 0.3201477825641632, 0.4682424068450928, -0.1476840376853943, 0.705811619758606, 0.6263266205787659, -0.668720006942749, 0.5282025337219238, 0.4271661937236786, -0.035880133509635925, 0.3107468783855438, -0.913629412651062, 0.22875681519508362, 0.14908355474472046, 0.3757677674293518, -1.1714067459106445, -0.1254572570323944, 0.4972620904445648, -0.6412007212638855, 0.12903350591659546, -0.22228090465068817, -0.3599933087825775, -0.4294406473636627, -0.4239889085292816, 0.2497917115688324, 0.9922531247138977, -0.46202459931373596, 0.5928775072097778, 0.49410608410835266, 0.18359047174453735, -0.7764596343040466, -0.8143479824066162, -0.16417460143566132, -0.38149839639663696, -0.617236316204071, 0.34740373492240906, -0.2257113754749298, -0.2897288203239441, 0.01811928115785122, 0.030924754217267036, -0.1541357934474945, 0.18548710644245148, 0.30932554602622986, 0.3330162763595581, -0.13565222918987274, -0.22065706551074982, 0.07397964596748352, -0.0070515465922653675, 0.11140047758817673, -0.27451014518737793, 0.553705632686615, -0.36815574765205383, -0.0773095190525055, -0.6749095916748047, 0.28142455220222473, 0.5311859846115112, -0.1802702248096466, 0.9647259712219238, 0.7748062610626221, -0.23914028704166412, -0.016189437359571457, -0.5312877893447876, -0.321384459733963, -0.5457550883293152, 0.19045937061309814, -0.1692286729812622, -0.6590657830238342, 0.6380895376205444, 0.3618702292442322, 0.3528398275375366, 0.7524548768997192, 0.5590876936912537, -0.38687917590141296, 1.070111870765686, 0.5649139881134033, -0.025626491755247116, 0.4336715042591095, -0.6203212738037109, -0.05779678374528885, -0.8603293895721436, -0.19129228591918945, -0.4091421067714691, -0.18247857689857483, -0.6395683288574219, -0.5195175409317017, 0.3656418025493622, 0.09587828069925308, -0.6089447140693665, 0.3715645670890808, -0.6134288311004639, 0.005087965168058872, 0.739004373550415, 0.13652537763118744, 0.18301808834075928, -0.09216379374265671, -0.15989738702774048, 0.03397803008556366, -0.6904050707817078, -0.3749972879886627, 1.0750789642333984, 0.33754703402519226, 0.5884171724319458, 0.11894740909337997, 0.6541677713394165, 0.17370371520519257, 0.1605779230594635, -0.550567626953125, 0.5832394361495972, 0.07530567049980164, -0.6261045932769775, -0.4092139005661011, -0.46952077746391296, -0.8958068490028381, 0.30589351058006287, -0.22586630284786224, -0.6974062323570251, 0.28508588671684265, 0.11351491510868073, -0.47089436650276184, 0.30439528822898865, -0.4480239450931549, 0.769725501537323, -0.10926823318004608, -0.3268781900405884, -0.024714196100831032, -0.5930736660957336, 0.3973100483417511, 0.2374696135520935, 0.18754105269908905, -0.2588399350643158, -0.19194525480270386, 0.7684653401374817, -0.9151097536087036, 0.8673834800720215, -0.13787227869033813, -0.04691408574581146, 0.5693560838699341, -0.06781133264303207, 0.5472404956817627, 0.13610613346099854, -0.11299595981836319, 0.39387598633766174, 0.13819025456905365, -0.4260111153125763, -0.3130052089691162, 0.5622156858444214, -1.109723448753357, -0.7132900357246399, -0.42909497022628784, -0.4880627393722534, 0.15872667729854584, 0.09036961197853088, 0.4329369068145752, 0.23096153140068054, -0.10002177208662033, 0.18836817145347595, 0.40290266275405884, -0.382226824760437, 0.5491726398468018, 0.3847339153289795, -0.1837249994277954, -0.5399942398071289, 0.6213421821594238, -0.03547782450914383, 0.2720568776130676, 0.2090466171503067, 0.15251658856868744, -0.4650091826915741, -0.3977237939834595, -0.590525209903717, 0.2857028543949127, -0.5270941853523254, -0.4827110469341278, -0.7450965642929077, -0.4313884377479553, -0.5003170371055603, 0.018225422129034996, -0.4180377423763275, -0.529033362865448, -0.6827822923660278, 0.0255407877266407, 0.8944494724273682, 0.38715991377830505, -0.370907187461853, 0.43920761346817017, -0.7001282572746277, 0.24444420635700226, 0.49282440543174744, -0.03912032023072243, 0.0876145213842392, -0.7645067572593689, -0.06603826582431793, 0.32780197262763977, -0.5111922025680542, -0.7574167251586914, 0.7108893394470215, 0.19765500724315643, 0.6342248916625977, 0.28755608201026917, 0.2863229811191559, 0.8029505014419556, -0.21985745429992676, 0.9807201623916626, 0.08984740078449249, -1.0772875547409058, 0.4646538197994232, -0.37952327728271484, 0.28426140546798706, 0.25443071126937866, 0.32638218998908997, -0.4282921552658081, -0.5228347182273865, -0.7604107856750488, -0.9098347425460815, 0.5785197615623474, 0.45254722237586975, 0.11954587697982788, 0.052736375480890274, 0.3066442608833313, -0.1373523473739624, 0.16703002154827118, -0.8582495450973511, -0.6599759459495544, -0.3606376349925995, -0.09086020290851593, 0.261447548866272, -0.12109605967998505, -0.22330063581466675, -0.5233373045921326, 0.8190147280693054, -0.07049522548913956, 0.7317320108413696, 0.2698898911476135, 0.11667250841856003, -0.169025719165802, 0.09909413009881973, 0.242934912443161, 0.4957331717014313, -0.1521223485469818, -0.14916563034057617, 0.3873176872730255, -0.3884018361568451, 0.1278936117887497, 0.1699778139591217, -0.1455162763595581, -0.19590212404727936, 0.13238607347011566, 0.8864915370941162, -0.07616867125034332, -0.39980217814445496, 0.43111926317214966, -0.27314144372940063, -0.41654980182647705, -0.37882721424102783, 0.22331102192401886, 0.3079184889793396, 0.5713152885437012, 0.5363333225250244, -0.2114473283290863, 0.22284244000911713, -0.5399086475372314, 0.14940015971660614, 0.6849040985107422, -0.07219548523426056, -0.08724430203437805, 1.1042498350143433, 0.0935472697019577, -0.12583434581756592, 0.8177900910377502, -0.17190337181091309, -0.46328920125961304, 0.9897599220275879, 0.5474892258644104, 0.6540668606758118, -0.018279600888490677, 0.2511010766029358, 0.5201321840286255, 0.23556071519851685, 0.10732915252447128, 0.38758641481399536, -0.014366659335792065, -0.6335530877113342, -0.25053784251213074, -0.5894972681999207, -0.4032542407512665, 0.2749568223953247, -0.6297742128372192, 0.25005072355270386, -0.5325289368629456, -0.36587008833885193, -0.15736478567123413, 0.28280186653137207, -0.6409164667129517, 0.25318601727485657, 0.1972961723804474, 0.6630510091781616, -0.6442723274230957, 0.7413428425788879, 0.539798378944397, -0.3990280330181122, -0.8834266662597656, -0.25639522075653076, 0.16603191196918488, -0.8320707082748413, 0.16067200899124146, -0.008535722270607948, 0.1722496896982193, 0.21932367980480194, -0.8799096941947937, -1.0527034997940063, 1.4789239168167114, 0.10276398062705994, -0.5237521529197693, 0.009817569516599178, 0.04125489294528961, 0.3966265320777893, -0.23149369657039642, 0.6820851564407349, 0.4530290961265564, 0.4203377962112427, 0.16531792283058167, -0.9256813526153564, 0.3798965811729431, -0.28199291229248047, -0.044107384979724884, 0.005703508388251066, -1.1009960174560547, 1.1653047800064087, -0.2464374601840973, -0.22013169527053833, 0.39482709765434265, 0.9422252178192139, 0.600396990776062, 0.03969508782029152, 0.4721890687942505, 0.6201726794242859, 0.8424004316329956, -0.16546696424484253, 0.9653034806251526, -0.287005752325058, 0.594917893409729, 0.7210468649864197, -0.03757058084011078, 0.7985442876815796, 0.2931240499019623, -0.5156849026679993, 0.6219786405563354, 0.7783774733543396, -0.293628990650177, 0.3912951648235321, 0.01950039342045784, -0.23969294130802155, -0.1603773683309555, 0.05056194216012955, -0.6494194865226746, 0.3389129340648651, 0.38387078046798706, -0.17164552211761475, 0.01330437883734703, -0.20061199367046356, 0.07821913808584213, -0.5361139178276062, -0.07996085286140442, 0.6654708981513977, 0.296869158744812, -0.2729731798171997, 1.075807809829712, 0.04803217574954033, 0.8280889987945557, -0.4827529191970825, -0.10044869035482407, -0.37390610575675964, 0.0444333590567112, -0.18817974627017975, -0.6713205575942993, 0.15484626591205597, -0.1102520301938057, 0.019737226888537407, 0.09553851932287216, 0.5903884768486023, -0.22186408936977386, -0.4312067925930023, 0.29259780049324036, 0.47610795497894287, 0.264702707529068, 0.059217896312475204, -0.9809821844100952, 0.26475340127944946, 0.05656934157013893, -0.5224853157997131, 0.2908930480480194, 0.3308562636375427, 0.2584753930568695, 0.7435877323150635, 0.7501081824302673, -0.29772207140922546, 0.06948170810937881, -0.38785454630851746, 0.9244689345359802, -0.6764281392097473, -0.29663482308387756, -0.8960528373718262, 0.8021128177642822, -0.06101220101118088, -0.3785301744937897, 0.8264484405517578, 0.38036873936653137, 0.5925741791725159, 0.0657651275396347, 0.8026964068412781, -0.388621985912323, 0.17969846725463867, -0.24569958448410034, 0.8987055420875549, -0.8047857284545898, 0.23573526740074158, -0.12435099482536316, -0.6456251740455627, 0.059694744646549225, 0.7408535480499268, 0.05634584650397301, 0.1536579579114914, 0.5062696933746338, 0.7806091904640198, 0.09768196940422058, -0.12277353554964066, 0.2574283182621002, 0.5337038636207581, 0.2878105640411377, 0.7217587828636169, 0.7800569534301758, -0.903112530708313, 0.7150074243545532, -0.6032575964927673, -0.18691597878932953, -0.16412848234176636, -0.8565698266029358, -0.8633418083190918, -0.5374433398246765, -0.37212637066841125, -0.617610514163971, -0.06775619089603424, 0.8080210089683533, 0.8424257636070251, -0.6499727368354797, -0.3554456830024719, -0.08212709426879883, 0.05494927242398262, -0.26263847947120667, -0.28876158595085144, 0.23403821885585785, 0.0769229605793953, -0.7752240896224976, 0.2837793529033661, -0.08029182255268097, 0.3980256915092468, -0.3056577146053314, -0.1432238519191742, -0.2567980885505676, 0.23203669488430023, 0.4281812906265259, 0.48766836524009705, -0.6999454498291016, -0.136359304189682, -0.014176307246088982, -0.1985611766576767, 0.25341323018074036, 0.04600147157907486, -0.8613297343254089, -0.06849788129329681, 0.46791204810142517, 0.20548108220100403, 0.6624163389205933, -0.019208354875445366, 0.5943013429641724, -0.44215747714042664, 0.2872183620929718, 0.10531653463840485, 0.32228732109069824, 0.1544729471206665, -0.601732075214386, 0.4313947558403015, 0.18694695830345154, -0.7442693114280701, -0.8634454011917114, -0.09523609280586243, -1.0282784700393677, -0.23814840614795685, 1.1097701787948608, -0.14423485100269318, -0.45647716522216797, 0.00877942144870758, -0.252122700214386, 0.43856778740882874, -0.4914267957210541, 0.5352613925933838, 0.3659707307815552, -0.14780555665493011, -0.3158591389656067, -0.527114987373352, 0.5488675236701965, 0.3509098291397095, -0.9385994672775269, -0.06165994703769684, 0.3955017328262329, 0.41615915298461914, -0.1280696839094162, 0.7780687212944031, 0.0007880816119723022, 0.29135945439338684, 0.1383187472820282, 0.1379321962594986, 0.020282886922359467, 0.05883370339870453, -0.14797578752040863, -0.17010246217250824, -0.1400822252035141, -0.2602296471595764 ]
OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5
OpenAssistant
2023-05-24T14:04:02Z
15,379
346
transformers
[ "transformers", "pytorch", "gpt_neox", "text-generation", "sft", "en", "license:apache-2.0", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-04-03T20:06:28Z
--- license: apache-2.0 language: - en tags: - sft pipeline_tag: text-generation widget: - text: <|prompter|>What is a meme, and what's the history behind this word?<|endoftext|><|assistant|> - text: <|prompter|>What's the Earth total population<|endoftext|><|assistant|> - text: <|prompter|>Write a story about future of AI development<|endoftext|><|assistant|> --- # Open-Assistant SFT-4 12B Model This is the 4th iteration English supervised-fine-tuning (SFT) model of the [Open-Assistant](https://github.com/LAION-AI/Open-Assistant) project. It is based on a Pythia 12B that was fine-tuned on human demonstrations of assistant conversations collected through the [https://open-assistant.io/](https://open-assistant.io/) human feedback web app before March 25, 2023. ## Model Details - **Developed by:** [Open-Assistant Contributors](https://open-assistant.io/) - **Model type:** Transformer-based Language Model - **Language:** English - **Finetuned from:** [EleutherAI / pythia-12b-deduped](https://huggingface.co/EleutherAI/pythia-12b-deduped) - **Code:** [Open-Assistant/model/model_training](https://github.com/LAION-AI/Open-Assistant/tree/main/model/model_training) - **Demo:** [Continuations for 250 random prompts](https://open-assistant.github.io/oasst-model-eval/?f=https%3A%2F%2Fraw.githubusercontent.com%2FOpen-Assistant%2Foasst-model-eval%2Fmain%2Fsampling_reports%2Foasst-sft%2F2023-04-03_andreaskoepf_oasst-sft-4-pythia-12b-epoch-3_5_sampling_noprefix_lottery.json%0Ahttps%3A%2F%2Fraw.githubusercontent.com%2FOpen-Assistant%2Foasst-model-eval%2Fmain%2Fsampling_reports%2Fchat-gpt%2F2023-04-11_gpt-3.5-turbo_lottery.json) - **License:** Apache 2.0 - **Contact:** [Open-Assistant Discord](https://ykilcher.com/open-assistant-discord) ## Prompting Two special tokens are used to mark the beginning of user and assistant turns: `<|prompter|>` and `<|assistant|>`. Each turn ends with a `<|endoftext|>` token. Input prompt example: ``` <|prompter|>What is a meme, and what's the history behind this word?<|endoftext|><|assistant|> ``` The input ends with the `<|assistant|>` token to signal that the model should start generating the assistant reply. ## Dev Details - wandb: https://wandb.ai/open-assistant/supervised-finetuning/runs/770a0t41 - base model: [andreaskoepf/pythia-12b-pre-2000](https://huggingface.co/andreaskoepf/pythia-12b-pre-2000) - checkpoint: 4000 steps command: `deepspeed trainer_sft.py --configs defaults reference-data reference-pythia-12b --cache_dir /home/ubuntu/data_cache --output_dir .saved/oasst-sft-3-pythia-12b-reference_2kpre --num_train_epochs 8 --residual_dropout 0.2 --deepspeed --use_flash_attention true --model_name andreaskoepf/pythia-12b-pre-2000` data: ``` reference-data: datasets: - oasst_export: lang: "bg,ca,cs,da,de,en,es,fr,hr,hu,it,nl,pl,pt,ro,ru,sl,sr,sv,uk" input_file_path: 2023-03-25_oasst_research_ready_synth_labels.jsonl.gz val_split: 0.05 - alpaca sort_by_length: false use_custom_sampler: false ``` pythia: ``` reference-pythia-12b: dtype: fp16 log_dir: "pythia_log_12b" learning_rate: 6e-6 model_name: EleutherAI/pythia-12b-deduped output_dir: pythia_model_12b weight_decay: 0.0 max_length: 2048 warmup_steps: 100 gradient_checkpointing: true gradient_accumulation_steps: 2 per_device_train_batch_size: 4 per_device_eval_batch_size: 4 eval_steps: 100 save_steps: 1000 num_train_epochs: 8 save_total_limit: 4 ``` zero config: ``` { "fp16": { "enabled": "auto", "loss_scale": 0, "loss_scale_window": 1000, "initial_scale_power": 16, "hysteresis": 2, "min_loss_scale": 1 }, "bf16": { "enabled": "auto" }, "optimizer": { "type": "AdamW", "params": { "lr": "auto", "betas": "auto", "eps": "auto", "weight_decay": "auto" } }, "scheduler": { "type": "WarmupDecayLR", "params": { "warmup_min_lr": "auto", "warmup_max_lr": "auto", "warmup_num_steps": "auto", "total_num_steps": "auto" } }, "zero_optimization": { "stage": 2, "allgather_partitions": true, "allgather_bucket_size": 1e9, "overlap_comm": false, "reduce_scatter": true, "reduce_bucket_size": 1e9, "contiguous_gradients": true }, "gradient_accumulation_steps": "auto", "gradient_clipping": "auto", "steps_per_print": 2000, "train_batch_size": "auto", "train_micro_batch_size_per_gpu": "auto", "wall_clock_breakdown": false } ```
[ -0.5196637511253357, -0.7983177900314331, 0.3328670561313629, 0.22000496089458466, -0.11084656417369843, -0.09979833662509918, -0.14055585861206055, -0.1652008593082428, 0.17362037301063538, 0.06535415351390839, -0.8727179765701294, -0.45689284801483154, -0.34019410610198975, 0.06940682977437973, -0.07393425703048706, 0.9611227512359619, -0.2946211099624634, 0.08528808504343033, 0.07598796486854553, -0.04604237154126167, -0.5131138563156128, -0.3346642851829529, -0.7596173882484436, -0.2783377468585968, 0.2975722551345825, 0.39592164754867554, 0.6699977517127991, 0.5374124050140381, 0.5430761575698853, 0.3201695382595062, -0.11275146156549454, 0.02642037905752659, -0.3331999182701111, -0.3085944950580597, 0.07391718775033951, -0.20530444383621216, -0.672809362411499, -0.01853219047188759, 0.6952702403068542, 0.5163663029670715, -0.04681752994656563, 0.3978109061717987, -0.039510972797870636, 0.5289720892906189, -0.49463844299316406, 0.22834394872188568, -0.2580271065235138, 0.12043251842260361, -0.13386723399162292, -0.28098881244659424, -0.10558053106069565, -0.27467110753059387, 0.16612517833709717, -0.6841808557510376, 0.3813224732875824, -0.13534124195575714, 1.3360507488250732, 0.2844873070716858, -0.12403731793165207, -0.17703919112682343, -0.6635778546333313, 0.6945223808288574, -0.9613155126571655, 0.34593603014945984, 0.25667911767959595, 0.3067312240600586, -0.11610152572393417, -0.8980207443237305, -0.5851373672485352, -0.24298213422298431, -0.10338829457759857, 0.24641655385494232, -0.42167189717292786, -0.011102784425020218, 0.4365770220756531, 0.6398178339004517, -0.7695925831794739, 0.04920050501823425, -0.5899409055709839, -0.22959528863430023, 0.3761368691921234, 0.32263535261154175, 0.12792091071605682, -0.10880297422409058, -0.27081385254859924, -0.24253419041633606, -0.5302584767341614, 0.2120705544948578, 0.41663259267807007, 0.06116979569196701, -0.4538860321044922, 0.6240566968917847, -0.5310359001159668, 0.6531371474266052, 0.1995985209941864, 0.017856072634458542, 0.5755260586738586, -0.5528680086135864, -0.44430777430534363, -0.2250661849975586, 1.26790189743042, 0.2984437644481659, -0.017263365909457207, 0.08514793962240219, -0.09058823436498642, 0.0224558487534523, 0.07386022061109543, -1.080733299255371, -0.6436692476272583, 0.2856743633747101, -0.40694886445999146, -0.38413965702056885, 0.13381105661392212, -0.8496238589286804, 0.11062858998775482, -0.02979862317442894, 0.6239240169525146, -0.550285279750824, -0.2475442886352539, 0.08547476679086685, -0.017957163974642754, 0.2320166677236557, 0.3260274827480316, -0.8162172436714172, 0.2534199655056, 0.24889780580997467, 0.9710200428962708, 0.16905494034290314, -0.5767403841018677, -0.32907378673553467, -0.1353173851966858, -0.20031213760375977, 0.4208061099052429, -0.09769751131534576, -0.37823155522346497, -0.3522031307220459, 0.30453041195869446, -0.2615462839603424, -0.20786085724830627, 0.5101751089096069, -0.28242576122283936, 0.45806971192359924, -0.24331597983837128, -0.41208407282829285, -0.24001818895339966, 0.07769329845905304, -0.6293311715126038, 1.1856855154037476, 0.2591451108455658, -0.7067978382110596, 0.24960856139659882, -1.0302939414978027, -0.19275899231433868, 0.00033284310484305024, -0.08911779522895813, -0.5625906586647034, -0.10838080942630768, 0.2832508683204651, 0.5252360701560974, -0.3933728039264679, 0.1650151163339615, -0.1311999261379242, -0.37420785427093506, 0.05442909523844719, -0.6303433775901794, 1.0704071521759033, 0.2625993490219116, -0.5658044219017029, 0.39945822954177856, -0.8988127112388611, -0.06710831075906754, 0.4252854883670807, -0.373312383890152, 0.24567927420139313, -0.29256388545036316, -0.11197078973054886, 0.18610510230064392, 0.526644766330719, -0.407124400138855, 0.29803356528282166, -0.44217541813850403, 0.7033781409263611, 0.8253981471061707, 0.07494690269231796, 0.43620744347572327, -0.3041015565395355, 0.6011956930160522, 0.057183731347322464, 0.43083590269088745, -0.15041780471801758, -0.6798459887504578, -0.7210674285888672, -0.2743581235408783, 0.12090276926755905, 0.5710594654083252, -0.431509405374527, 0.9006852507591248, -0.19683001935482025, -0.7256719470024109, -0.6669761538505554, -0.031181592494249344, 0.3824993669986725, 0.6429741978645325, 0.5764883160591125, -0.23483434319496155, -0.5140579342842102, -0.8421931266784668, 0.1280738264322281, -0.08770483732223511, 0.05616648495197296, 0.5234602093696594, 0.9236232042312622, -0.21164049208164215, 0.5706712007522583, -0.7625188827514648, -0.2675744891166687, -0.0774221420288086, 0.14581800997257233, 0.4988030195236206, 0.7138000130653381, 0.7276484966278076, -0.4565991163253784, -0.4069449007511139, -0.17518265545368195, -0.7557448744773865, 0.15030519664287567, -0.1559719741344452, -0.2897716164588928, 0.20747517049312592, 0.3035553991794586, -0.8721765875816345, 0.5527867078781128, 0.4616031348705292, -0.6635677814483643, 0.7185890674591064, -0.3648398220539093, 0.27602458000183105, -1.23432195186615, 0.28563085198402405, -0.08440057933330536, -0.006145412102341652, -0.3153019845485687, 0.053581591695547104, -0.018036192283034325, 0.016454270109534264, -0.47313806414604187, 0.5512909889221191, -0.5697221159934998, 0.15479037165641785, 0.08112780749797821, -0.1726117730140686, -0.1451384276151657, 0.7753262519836426, -0.11631124466657639, 0.907110869884491, 0.7160717248916626, -0.5635229349136353, 0.3783060610294342, 0.2916184365749359, -0.24170158803462982, 0.2767868936061859, -0.8999248147010803, 0.1238536611199379, 0.31983932852745056, 0.2749379873275757, -1.053837776184082, -0.49924996495246887, 0.565719485282898, -0.8030102849006653, 0.2019256204366684, -0.13264569640159607, -0.5411115884780884, -0.7153767943382263, -0.37079837918281555, 0.3798102140426636, 0.5916686654090881, -0.5346799492835999, 0.4942696988582611, 0.06100822612643242, 0.2565971612930298, -0.5010825395584106, -0.5956788659095764, -0.2845280170440674, -0.07633069157600403, -0.764401912689209, 0.3294476866722107, -0.21796423196792603, 0.1486058086156845, 0.12968072295188904, -0.1497960090637207, -0.07030685991048813, 0.20666779577732086, 0.29637521505355835, 0.3915858268737793, -0.22167430818080902, -0.38402295112609863, -0.033792149275541306, -0.02726237289607525, 0.12125934660434723, -0.23097963631153107, 0.9956106543540955, -0.27637484669685364, -0.21134208142757416, -0.7921361923217773, -0.07633545994758606, 0.7068907022476196, -0.3132994771003723, 1.023477554321289, 0.8804029226303101, -0.5342970490455627, 0.12412504106760025, -0.25668805837631226, -0.3424888551235199, -0.4990687668323517, 0.33925020694732666, -0.5201159119606018, -0.646636962890625, 0.6557218432426453, 0.20815758407115936, 0.25113070011138916, 0.87845379114151, 0.7273147702217102, -0.023170461878180504, 1.1324399709701538, 0.18864969909191132, -0.06829339265823364, 0.7595158815383911, -0.9091718792915344, -0.03573007509112358, -0.9241499304771423, -0.2672370970249176, -0.5198579430580139, -0.2847830653190613, -0.6035248637199402, -0.39970338344573975, 0.32762178778648376, 0.30983731150627136, -0.5713815093040466, 0.4328204095363617, -0.788777768611908, 0.3279486894607544, 0.821753978729248, 0.16049042344093323, -0.08743572235107422, -0.20062056183815002, -0.19564124941825867, 0.09696260839700699, -0.7023643255233765, -0.41697531938552856, 1.3273935317993164, 0.35335254669189453, 0.5524857640266418, -0.0050398195162415504, 0.7453460097312927, -0.09432941675186157, -0.05477925390005112, -0.5226183533668518, 0.5272908210754395, 0.204321026802063, -0.6350995302200317, -0.33989256620407104, -0.5022372603416443, -0.9174411296844482, 0.12620678544044495, -0.03277668356895447, -0.9519940614700317, 0.19584383070468903, 0.2920576333999634, -0.47663891315460205, 0.4393502175807953, -0.760901153087616, 1.2562159299850464, -0.2175937294960022, -0.3991807699203491, -0.10043210536241531, -0.7031846046447754, 0.378124862909317, 0.19388343393802643, -0.023444460704922676, 0.005247653461992741, 0.20671716332435608, 1.0028902292251587, -0.7730617523193359, 0.6476084589958191, -0.251767098903656, 0.19607871770858765, 0.3646087646484375, 0.033059343695640564, 0.5851567983627319, 0.08396758139133453, 0.12276667356491089, 0.3303182125091553, 0.09554428607225418, -0.4314383268356323, -0.1922372281551361, 0.9705714583396912, -1.1002730131149292, -0.22768241167068481, -0.6702877879142761, -0.4671357274055481, 0.1321183741092682, 0.3931683599948883, 0.5200937390327454, 0.4077566862106323, -0.10697026550769806, 0.3155522346496582, 0.5153017640113831, -0.2317296713590622, 0.3586055040359497, 0.3942340314388275, -0.07772127538919449, -0.6607321500778198, 1.0201083421707153, 0.010440654121339321, 0.15546825528144836, 0.2296268343925476, 0.11653675138950348, -0.2663630247116089, -0.5287996530532837, -0.7038557529449463, 0.244267076253891, -0.5192893147468567, -0.36138278245925903, -0.6562244892120361, -0.09222812205553055, -0.626842200756073, -0.08604583144187927, -0.4056171774864197, -0.4477781057357788, -0.7058207988739014, -0.10980761051177979, 0.5628917813301086, 0.4131641387939453, -0.1045861765742302, 0.4786246120929718, -0.6229924559593201, 0.41140565276145935, -0.0010890091070905328, 0.28861290216445923, -0.02969757281243801, -0.7157745957374573, -0.21791033446788788, 0.18557344377040863, -0.6634091138839722, -1.0970757007598877, 0.4212532639503479, -0.06814156472682953, 0.5034315586090088, 0.34889060258865356, -0.2908352017402649, 0.7715978622436523, -0.3332604765892029, 1.1349891424179077, 0.18959586322307587, -0.8179013729095459, 0.7081570029258728, -0.46542972326278687, 0.40794432163238525, 0.4826318025588989, 0.40241649746894836, -0.26380279660224915, -0.18038231134414673, -0.9275063276290894, -1.132977843284607, 1.0767784118652344, 0.3947460651397705, -0.14542338252067566, 0.01787668839097023, 0.24311617016792297, -0.20195502042770386, 0.2463415116071701, -0.791477382183075, -0.5165311694145203, -0.31551310420036316, -0.30237287282943726, 0.0753234475851059, -0.0245271734893322, -0.03586648032069206, -0.620269775390625, 1.0277631282806396, -0.02012038417160511, 0.4898442029953003, 0.2687484323978424, -0.03655022010207176, -0.3557072877883911, -0.02603771910071373, 0.4921397566795349, 0.6291227340698242, -0.47452840209007263, -0.2979772984981537, 0.17912599444389343, -0.5425347089767456, -0.05715850740671158, 0.3897677958011627, -0.3633781373500824, -0.0875585600733757, 0.32406461238861084, 1.0226030349731445, 0.2588392496109009, -0.39070481061935425, 0.3599962294101715, -0.13221590220928192, -0.3542677164077759, -0.4671606123447418, 0.1327936202287674, 0.07632265239953995, 0.20905561745166779, 0.19787782430648804, 0.14650771021842957, 0.08774664998054504, -0.49669578671455383, -0.0994095504283905, 0.4456028938293457, -0.07064760476350784, -0.4987955391407013, 0.9946104288101196, 0.0693618580698967, -0.349588006734848, 0.5721197128295898, -0.396258145570755, -0.4941510260105133, 0.7801160216331482, 0.31897300481796265, 1.0313531160354614, -0.21832476556301117, 0.011566775850951672, 0.769219696521759, 0.395822674036026, -0.20739595592021942, 0.5340275168418884, 0.02669142186641693, -0.48955249786376953, -0.03955909237265587, -0.8341137170791626, -0.19621075689792633, 0.4743660092353821, -0.6741650104522705, 0.48889490962028503, -0.631351888179779, -0.05675257369875908, 0.17858318984508514, 0.21501676738262177, -1.0172462463378906, 0.25888097286224365, -0.14287053048610687, 0.9604161977767944, -0.7952215075492859, 0.767672598361969, 0.8881198763847351, -0.8358147144317627, -1.123355507850647, -0.11034247279167175, -0.09552078694105148, -0.6232240796089172, 0.2255105972290039, 0.03723525628447533, 0.1551070213317871, 0.3204996883869171, -0.6240100860595703, -0.908596932888031, 1.537094235420227, 0.18714845180511475, -0.6337849497795105, -0.2732393443584442, -0.17421703040599823, 0.5275895595550537, -0.13226832449436188, 0.49880579113960266, 0.6589138507843018, 0.4425017237663269, 0.0811983048915863, -1.0865235328674316, 0.2608894407749176, -0.3386708199977875, -0.2901230752468109, 0.3154573142528534, -0.8918696641921997, 1.3213001489639282, -0.21785929799079895, 0.09201040863990784, 0.3386651277542114, 0.6601895093917847, 0.3355119526386261, 0.152672678232193, 0.2899315059185028, 0.7832340598106384, 0.6953317523002625, -0.33532753586769104, 1.0684565305709839, -0.5504038333892822, 0.6057047843933105, 0.970504105091095, 0.20130659639835358, 0.5285524129867554, 0.3347598612308502, -0.3737047016620636, 0.3805150091648102, 0.7622825503349304, -0.3233312666416168, 0.5516234636306763, 0.0010268238838762045, -0.05352858453989029, -0.04496048018336296, 0.28610652685165405, -0.5451332330703735, 0.20831361413002014, 0.24268779158592224, -0.5461675524711609, -0.11603677272796631, -0.2021377682685852, 0.2018289864063263, -0.3752945363521576, -0.19429107010364532, 0.6591935753822327, -0.17028120160102844, -0.6900122165679932, 0.7796717882156372, 0.09276614338159561, 0.693051815032959, -0.7063012719154358, -0.12042208760976791, -0.08128417283296585, 0.41631245613098145, -0.212612122297287, -0.6887057423591614, -0.0063492730259895325, 0.00449075223878026, -0.16036511957645416, 0.0032342870254069567, 0.4545018672943115, -0.18896058201789856, -0.5387165546417236, 0.2326279878616333, 0.3643622100353241, 0.3503793776035309, -0.09108041971921921, -0.9096731543540955, 0.11820186674594879, 0.21970203518867493, -0.5731925368309021, 0.14354802668094635, 0.5672647356987, 0.01044262945652008, 0.45118871331214905, 0.8227275013923645, 0.10355985164642334, 0.18497680127620697, -0.03641795739531517, 0.9810470342636108, -0.6045745015144348, -0.44605615735054016, -0.9387698173522949, 0.5765859484672546, 0.015001698397099972, -0.837428867816925, 0.7375953793525696, 0.801285445690155, 0.9789892435073853, -0.12487687170505524, 0.7055842280387878, -0.4086677134037018, 0.22691123187541962, -0.4216962456703186, 0.6808778643608093, -0.6932379603385925, 0.13846217095851898, -0.4790096879005432, -0.7295883893966675, 0.1567448228597641, 0.9135962128639221, -0.24701495468616486, 0.23472608625888824, 0.6742251515388489, 0.7871521711349487, -0.2029082030057907, 0.037405651062726974, -0.04988827556371689, 0.3457309305667877, 0.5025795102119446, 0.7401946187019348, 0.5539946556091309, -0.7027571201324463, 0.6517349481582642, -0.6944572925567627, -0.2971537709236145, -0.3057452440261841, -0.4798954725265503, -0.9614143967628479, -0.5217525959014893, -0.25854846835136414, -0.49044740200042725, -0.07616490870714188, 1.1461249589920044, 0.5603653192520142, -0.8918567299842834, -0.15830543637275696, -0.45606350898742676, -0.17617002129554749, -0.3806817829608917, -0.3581196069717407, 0.47404325008392334, -0.07787147909402847, -0.8743724822998047, 0.3676593005657196, -0.1279221922159195, 0.1958581507205963, -0.30536648631095886, -0.3213077187538147, -0.3903476297855377, -0.0683145672082901, 0.28056520223617554, 0.31097540259361267, -0.5693697929382324, -0.05330078303813934, 0.11801742762327194, -0.016020720824599266, 0.03700905665755272, 0.40793347358703613, -0.6455827951431274, 0.2812516987323761, 0.5627943277359009, 0.09973233193159103, 0.6958422660827637, -0.16134056448936462, 0.38689127564430237, -0.6625058054924011, 0.20046751201152802, 0.3145069479942322, 0.6448561549186707, 0.211356982588768, -0.40097329020500183, 0.6897520422935486, 0.45119836926460266, -0.6908251047134399, -1.032683253288269, -0.15068891644477844, -0.9553675055503845, -0.1968429982662201, 1.0614131689071655, -0.1294541209936142, -0.35790982842445374, 0.3265570402145386, -0.4132155776023865, 0.5493947267532349, -0.6188824772834778, 0.6533372402191162, 0.5942533612251282, -0.1571364849805832, 0.0669737309217453, -0.7214749455451965, 0.5126692652702332, 0.28863319754600525, -0.9077498316764832, -0.07944892346858978, 0.6491069197654724, 0.5290279984474182, 0.29884201288223267, 0.8345577716827393, -0.07059258967638016, 0.5972903370857239, -0.04286232218146324, 0.1978367269039154, -0.2574419379234314, -0.38559645414352417, -0.35304054617881775, -0.09333205968141556, -0.15521055459976196, -0.5596848130226135 ]
PixArt-alpha/PixArt-XL-2-1024-MS
PixArt-alpha
2023-11-07T06:11:50Z
15,370
65
diffusers
[ "diffusers", "text-to-image", "Pixart-α", "arxiv:2310.00426", "arxiv:2112.10752", "arxiv:2309.05019", "license:openrail++", "has_space", "diffusers:PixArtAlphaPipeline", "region:us" ]
text-to-image
2023-11-04T15:48:30Z
--- license: openrail++ tags: - text-to-image - Pixart-α --- <p align="center"> <img src="asset/logo.png" height=120> </p> <div style="display:flex;justify-content: center"> <a href="https://huggingface.co/spaces/PixArt-alpha/PixArt-alpha"><img src="https://img.shields.io/static/v1?label=Demo&message=Huggingface&color=yellow"></a> &ensp; <a href="https://pixart-alpha.github.io/"><img src="https://img.shields.io/static/v1?label=Project%20Page&message=Github&color=blue&logo=github-pages"></a> &ensp; <a href="https://arxiv.org/abs/2310.00426"><img src="https://img.shields.io/static/v1?label=Paper&message=Arxiv&color=red&logo=arxiv"></a> &ensp; <a href="https://colab.research.google.com/drive/1jZ5UZXk7tcpTfVwnX33dDuefNMcnW9ME?usp=sharing"><img src="https://img.shields.io/static/v1?label=Free%20Trial&message=Google%20Colab&logo=google&color=orange"></a> &ensp; <a href="https://github.com/orgs/PixArt-alpha/discussions"><img src="https://img.shields.io/static/v1?label=Discussion&message=Github&color=green&logo=github"></a> &ensp; </div> # 🐱 Pixart-α Model Card ![row01](asset/images/teaser.png) ## Model ![pipeline](asset/images/model.png) [Pixart-α](https://arxiv.org/abs/2310.00426) consists of pure transformer blocks for latent diffusion: It can directly generate 1024px images from text prompts within a single sampling process. Source code is available at https://github.com/PixArt-alpha/PixArt-alpha. ### Model Description - **Developed by:** Pixart-α - **Model type:** Diffusion-Transformer-based text-to-image generative model - **License:** [CreativeML Open RAIL++-M License](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/LICENSE.md) - **Model Description:** This is a model that can be used to generate and modify images based on text prompts. It is a [Transformer Latent Diffusion Model](https://arxiv.org/abs/2310.00426) that uses one fixed, pretrained text encoders ([T5]( https://huggingface.co/DeepFloyd/t5-v1_1-xxl)) and one latent feature encoder ([VAE](https://arxiv.org/abs/2112.10752)). - **Resources for more information:** Check out our [GitHub Repository](https://github.com/PixArt-alpha/PixArt-alpha) and the [Pixart-α report on arXiv](https://arxiv.org/abs/2310.00426). ### Model Sources For research purposes, we recommend our `generative-models` Github repository (https://github.com/PixArt-alpha/PixArt-alpha), which is more suitable for both training and inference and for which most advanced diffusion sampler like [SA-Solver](https://arxiv.org/abs/2309.05019) will be added over time. [Hugging Face](https://huggingface.co/spaces/PixArt-alpha/PixArt-alpha) provides free Pixart-α inference. - **Repository:** https://github.com/PixArt-alpha/PixArt-alpha - **Demo:** https://huggingface.co/spaces/PixArt-alpha/PixArt-alpha # 🔥🔥🔥 Why PixArt-α? ## Training Efficiency PixArt-α only takes 10.8% of Stable Diffusion v1.5's training time (675 vs. 6,250 A100 GPU days), saving nearly $300,000 ($26,000 vs. $320,000) and reducing 90% CO2 emissions. Moreover, compared with a larger SOTA model, RAPHAEL, our training cost is merely 1%. ![Training Efficiency.](asset/images/efficiency.svg) | Method | Type | #Params | #Images | A100 GPU days | |-----------|------|---------|---------|---------------| | DALL·E | Diff | 12.0B | 1.54B | | | GLIDE | Diff | 5.0B | 5.94B | | | LDM | Diff | 1.4B | 0.27B | | | DALL·E 2 | Diff | 6.5B | 5.63B | 41,66 | | SDv1.5 | Diff | 0.9B | 3.16B | 6,250 | | GigaGAN | GAN | 0.9B | 0.98B | 4,783 | | Imagen | Diff | 3.0B | 15.36B | 7,132 | | RAPHAEL | Diff | 3.0B | 5.0B | 60,000 | | PixArt-α | Diff | 0.6B | 0.025B | 675 | ## Evaluation ![comparison](asset/images/user-study.png) The chart above evaluates user preference for Pixart-α over SDXL 0.9, Stable Diffusion 2, DALLE-2 and DeepFloyd. The Pixart-α base model performs comparable or even better than the existing state-of-the-art models. ### 🧨 Diffusers Make sure to upgrade diffusers to >= 0.22.0: ``` pip install -U diffusers --upgrade ``` In addition make sure to install `transformers`, `safetensors`, `sentencepiece`, and `accelerate`: ``` pip install transformers accelerate safetensors sentencepiece ``` To just use the base model, you can run: ```py from diffusers import PixArtAlphaPipeline import torch pipe = PixArtAlphaPipeline.from_pretrained("PixArt-alpha/PixArt-XL-2-1024-MS", torch_dtype=torch.float16) pipe = pipe.to("cuda") # if using torch < 2.0 # pipe.enable_xformers_memory_efficient_attention() prompt = "An astronaut riding a green horse" images = pipe(prompt=prompt).images[0] ``` When using `torch >= 2.0`, you can improve the inference speed by 20-30% with torch.compile. Simple wrap the unet with torch compile before running the pipeline: ```py pipe.transformer = torch.compile(pipe.transformer, mode="reduce-overhead", fullgraph=True) ``` If you are limited by GPU VRAM, you can enable *cpu offloading* by calling `pipe.enable_model_cpu_offload` instead of `.to("cuda")`: ```diff - pipe.to("cuda") + pipe.enable_model_cpu_offload() ``` For more information on how to use Pixart-α with `diffusers`, please have a look at [the Pixart-α Docs](https://huggingface.co/docs/diffusers/main/en/api/pipelines/pixart). ### Free Google Colab You can use Google Colab to generate images from PixArt-α free of charge. Click [here](https://colab.research.google.com/drive/1jZ5UZXk7tcpTfVwnX33dDuefNMcnW9ME?usp=sharing) to try. ## Uses ### Direct Use The model is intended for research purposes only. Possible research areas and tasks include - Generation of artworks and use in design and other artistic processes. - Applications in educational or creative tools. - Research on generative models. - Safe deployment of models which have the potential to generate harmful content. - Probing and understanding the limitations and biases of generative models. Excluded uses are described below. ### 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. ## Limitations and Bias ### Limitations - The model does not achieve perfect photorealism - The model cannot render legible text - The model struggles with more difficult tasks which involve compositionality, such as rendering an image corresponding to “A red cube on top of a blue sphere” - fingers, .etc in general may not be generated properly. - The autoencoding part of the model is lossy. ### Bias While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases.
[ -0.564202606678009, -0.8028948903083801, 0.37278613448143005, 0.06886044889688492, 0.0026131996419280767, 0.029129689559340477, 0.04286116361618042, -0.39281824231147766, 0.26081299781799316, 0.05737626552581787, -0.5727376341819763, -0.3969094157218933, -0.7659003138542175, -0.15916089713573456, -0.29879310727119446, 0.737774133682251, -0.040671300143003464, -0.07494103163480759, -0.030320022255182266, 0.18871477246284485, 0.007629606407135725, -0.23750817775726318, -0.9864651560783386, -0.37265530228614807, 0.5441359877586365, 0.2710886001586914, 1.0412116050720215, 0.2529340386390686, 0.3653962314128876, 0.2648506462574005, -0.4092608392238617, -0.14332056045532227, -0.4140539765357971, -0.031632740050554276, 0.125478133559227, -0.21759963035583496, -0.44467344880104065, -0.0007302520098164678, 0.5141565203666687, 0.2089918851852417, 0.02193441614508629, -0.19585776329040527, 0.084468774497509, 0.5942347049713135, -0.6482309699058533, 0.019355617463588715, -0.012637199833989143, 0.37930798530578613, 0.021816696971654892, 0.37566766142845154, -0.24086466431617737, -0.36811894178390503, 0.08521947264671326, -0.8835500478744507, 0.26175570487976074, -0.021238787099719048, 1.2050007581710815, 0.046789854764938354, -0.01239738054573536, -0.20514270663261414, -0.46570929884910583, 0.6207188963890076, -0.4144470989704132, 0.3943815231323242, 0.2552443742752075, 0.08187898993492126, 0.17360830307006836, -1.0766708850860596, -0.6424089670181274, 0.03857468068599701, -0.15624047815799713, 0.31461119651794434, -0.7657321095466614, -0.23835554718971252, 0.2033415287733078, 0.4619820713996887, -0.49878183007240295, -0.1898333728313446, -0.46417948603630066, -0.11120039969682693, 0.5064834356307983, -0.16636043787002563, 0.633843719959259, -0.020717758685350418, -0.4057520031929016, -0.5694467425346375, -0.563372015953064, 0.029731856659054756, 0.14371560513973236, -0.12264660000801086, -0.484798789024353, 0.5336788296699524, 0.39266401529312134, 0.19329367578029633, 0.512660801410675, 0.08309352397918701, 0.43649497628211975, -0.19515106081962585, -0.14469066262245178, -0.07049486041069031, 1.248106837272644, 0.34130749106407166, 0.05147058889269829, -0.018463192507624626, -0.03055647574365139, 0.017235975712537766, 0.12032461166381836, -1.2077875137329102, -0.3871122896671295, 0.23159317672252655, -0.29005327820777893, -0.19367548823356628, -0.15294149518013, -0.972868800163269, -0.1410321146249771, 0.15325264632701874, 0.6218103766441345, -0.8402280211448669, -0.5336702466011047, 0.15294449031352997, -0.2547782063484192, 0.2229492962360382, 0.41464439034461975, -0.7530949711799622, 0.09792477637529373, 0.29445987939834595, 1.1788164377212524, -0.1959722936153412, -0.12924030423164368, -0.07679003477096558, -0.1212555393576622, -0.19033393263816833, 0.8337154984474182, -0.44098976254463196, -0.5879848599433899, -0.38020965456962585, 0.11415670067071915, -0.1976146697998047, -0.1834380328655243, 0.5513628721237183, -0.2506474256515503, 0.5199043154716492, -0.008028208278119564, -0.4147936701774597, -0.20081374049186707, 0.02866005152463913, -0.5356903672218323, 0.8955995440483093, 0.41803327202796936, -0.9833319187164307, -0.03194067254662514, -0.8775623440742493, -0.03985602781176567, -0.06884677708148956, -0.04568824917078018, -1.0523946285247803, -0.19565026462078094, 0.3620745837688446, 0.30653196573257446, -0.057721350342035294, -0.11414069682359695, -0.24169117212295532, -0.1040220782160759, 0.26746395230293274, -0.24795588850975037, 1.1137566566467285, 0.5342677235603333, -0.6217759251594543, -0.005144757218658924, -0.41742396354675293, -0.09252404421567917, 0.2626987099647522, -0.0007945584366098046, 0.10688914358615875, -0.42820045351982117, 0.2990396022796631, 0.3540375530719757, 0.1783837378025055, -0.5501832962036133, -0.014277860522270203, -0.2355033904314041, 0.3785136938095093, 0.6123356223106384, 0.10809077322483063, 0.546505331993103, -0.3863939046859741, 0.7805863618850708, 0.20397667586803436, 0.36584731936454773, -0.2662811577320099, -0.7966809868812561, -0.8283612132072449, -0.49310389161109924, 0.1895463466644287, 0.3394610583782196, -0.5972947478294373, 0.4883195459842682, -0.008069128729403019, -0.7418791651725769, -0.4320830702781677, -0.16222840547561646, 0.32430532574653625, 0.627202570438385, 0.35895735025405884, -0.5742507576942444, -0.15896065533161163, -0.6557490229606628, 0.26869767904281616, 0.05688710883259773, 0.021992884576320648, 0.2597702443599701, 0.6581084132194519, -0.38110610842704773, 0.9468305110931396, -0.6253415942192078, -0.22408074140548706, -0.070591501891613, 0.0804949477314949, 0.07478232681751251, 0.6289381384849548, 0.7175606489181519, -0.8560883402824402, -0.7939607501029968, -0.03016425296664238, -0.6860339641571045, 0.1421472430229187, 0.12003827840089798, -0.3418789207935333, 0.06931015104055405, 0.29675331711769104, -0.8467528223991394, 0.5923025012016296, 0.5823391675949097, -0.7846739888191223, 0.3610224425792694, -0.2727139890193939, 0.16894637048244476, -0.8867605924606323, 0.3926304876804352, 0.2316114753484726, -0.15211221575737, -0.6646389961242676, 0.04347607493400574, 0.12357540428638458, -0.35545414686203003, -0.8524566888809204, 0.7711576819419861, -0.3838597238063812, 0.29872003197669983, -0.13747407495975494, -0.2044183611869812, 0.36176997423171997, 0.54025799036026, 0.3005182147026062, 0.8545660376548767, 1.0775119066238403, -0.5025569796562195, 0.12367735058069229, 0.4408504068851471, -0.2802165746688843, 0.4862441420555115, -0.8174435496330261, 0.1653040051460266, -0.3307628929615021, 0.1704314947128296, -0.8650283813476562, 0.0062301442958414555, 0.757724404335022, -0.5734866261482239, 0.24958325922489166, -0.053682032972574234, -0.5609940886497498, -0.22565947473049164, -0.2814487814903259, 0.4102381467819214, 1.0099844932556152, -0.38785964250564575, 0.645000159740448, 0.3103733956813812, -0.05812365189194679, -0.4435960352420807, -0.7307710647583008, -0.1810457855463028, -0.4109947681427002, -0.7530158758163452, 0.47126585245132446, -0.2764925956726074, -0.103350929915905, 0.11533753573894501, 0.08946673572063446, -0.04389767721295357, -0.08604875206947327, 0.4500187337398529, 0.12420511245727539, -0.2530437111854553, -0.18081313371658325, 0.05680694803595543, -0.13571588695049286, -0.11514352262020111, 0.05988406762480736, 0.4644366502761841, -0.23901186883449554, -0.44457265734672546, -0.7305378317832947, 0.27982473373413086, 0.6462239623069763, -0.1395123302936554, 0.8368068933486938, 0.7632258534431458, -0.189093217253685, 0.3085038661956787, -0.4277876615524292, -0.2396681308746338, -0.4984789192676544, 0.09934359788894653, -0.08433514833450317, -0.6630139946937561, 0.5079710483551025, 0.04730355739593506, 0.07579773664474487, 0.857854962348938, 0.6246767640113831, -0.046620022505521774, 1.0579434633255005, 0.49323999881744385, 0.2796085476875305, 0.6885281205177307, -0.8463101387023926, 0.0664767399430275, -0.8180241584777832, -0.43222033977508545, -0.3070352077484131, -0.1967630386352539, -0.22909070551395416, -0.6120448708534241, 0.6415547132492065, 0.14209842681884766, -0.5525315403938293, 0.2545974552631378, -0.7238917946815491, 0.3094286024570465, 0.3514007031917572, 0.3085212707519531, 0.1832321733236313, 0.35971927642822266, -0.23063339293003082, -0.039225343614816666, -0.7243856191635132, -0.4232095777988434, 0.9544539451599121, 0.5987082123756409, 0.7649231553077698, 0.15883317589759827, 0.46915239095687866, 0.038467708975076675, 0.40555182099342346, -0.41106027364730835, 0.267874151468277, -0.03053288906812668, -0.6685783863067627, -0.11538326740264893, -0.15363501012325287, -1.1645147800445557, 0.3201403021812439, -0.5091343522071838, -0.5448896884918213, 0.6113695502281189, 0.2123994529247284, -0.48670053482055664, 0.4753649830818176, -0.9311279654502869, 0.8501021862030029, -0.3293820917606354, -0.7771869897842407, 0.058867741376161575, -0.48512935638427734, 0.11619718372821808, 0.036241721361875534, 0.24229124188423157, -0.07186225056648254, -0.022443166002631187, 0.5933685898780823, -0.4602127969264984, 0.8039467930793762, -0.11697646975517273, 0.04704173281788826, 0.41268208622932434, -0.1721002608537674, 0.29158711433410645, -0.008030359633266926, -0.22745279967784882, 0.2894814610481262, -0.19777417182922363, -0.30011215806007385, -0.4182169735431671, 0.6470173597335815, -1.0869392156600952, -0.325822651386261, -0.7140249013900757, -0.32139450311660767, 0.24178996682167053, 0.1985367387533188, 0.726203978061676, 0.06926336884498596, -0.18582454323768616, 0.0809299647808075, 0.9391741156578064, -0.40642550587654114, 0.5060725212097168, 0.1035396158695221, -0.2966383695602417, -0.49905404448509216, 0.7562509775161743, -0.2191600799560547, 0.3212853968143463, 0.2037072330713272, 0.3499820828437805, -0.38118329644203186, -0.16841541230678558, -0.3573794960975647, 0.4104337990283966, -0.6028090715408325, -0.18496912717819214, -0.866554319858551, -0.42714133858680725, -0.4338186979293823, -0.23065002262592316, -0.5150911808013916, -0.5168014764785767, -0.8263958692550659, 0.17427872121334076, 0.6694628000259399, 0.4925861656665802, -0.1715131551027298, 0.5523574948310852, -0.2618773877620697, 0.2504008710384369, 0.39577922224998474, 0.33050912618637085, 0.1300896257162094, -0.5314552783966064, -0.12198123335838318, 0.14006897807121277, -0.9728246331214905, -0.6852161884307861, 0.7010719776153564, 0.1621614694595337, 0.4528997242450714, 0.4564420282840729, -0.19725961983203888, 0.6426421999931335, -0.412631630897522, 0.7995324730873108, 0.7526764869689941, -0.7146682739257812, 0.696535050868988, -0.08779053390026093, 0.40468475222587585, 0.24937523901462555, 0.6827055811882019, -0.3598194718360901, -0.5335453748703003, -1.0786702632904053, -0.9500648379325867, 0.6920018196105957, 0.7549295425415039, 0.05438118055462837, 0.06334000825881958, 0.3669644892215729, -0.17451651394367218, -0.13496103882789612, -1.006500244140625, -0.5899496078491211, -0.5281322002410889, -0.006224934011697769, -0.2088584452867508, 0.03778054192662239, -0.04820292070508003, -0.48183974623680115, 0.8049845099449158, 0.16913585364818573, 0.6180479526519775, 0.3502715229988098, -0.00976129062473774, -0.23787198960781097, -0.030205173417925835, 0.49334952235221863, 0.6017555594444275, -0.21508900821208954, 0.016575684770941734, -0.14344680309295654, -0.6178224682807922, 0.15868151187896729, 0.10907094925642014, -0.34913039207458496, 0.14552754163742065, -0.05472588911652565, 0.9179520010948181, -0.021065298467874527, -0.542995274066925, 0.5481888651847839, -0.3490869402885437, -0.3508588373661041, -0.463797926902771, 0.3715002238750458, 0.21737518906593323, 0.32598212361335754, 0.46204274892807007, 0.24310405552387238, 0.022816818207502365, -0.34670400619506836, 0.19704850018024445, 0.4603942334651947, -0.3873622417449951, -0.2745790183544159, 1.0624159574508667, -0.05049998313188553, -0.3653174042701721, 0.5254637598991394, -0.001129096606746316, -0.27113473415374756, 0.7308396697044373, 0.4403635859489441, 0.8109803199768066, -0.2484452873468399, 0.2642400860786438, 0.6894932389259338, -0.016846751794219017, -0.26714208722114563, -0.05369599163532257, 0.087973952293396, -0.6221446394920349, -0.11333274096250534, -0.460813045501709, -0.388453871011734, 0.0759456530213356, -0.31417402625083923, 0.46733689308166504, -0.5177304148674011, -0.35019609332084656, 0.07652151584625244, -0.023538241162896156, -0.597352147102356, 0.24767738580703735, 0.19787780940532684, 0.7457953691482544, -0.9480945467948914, 0.6985934376716614, 0.5856230854988098, -0.7694151401519775, -0.6110129952430725, -0.16006337106227875, -0.13092735409736633, -0.6699486970901489, 0.6001873016357422, -0.028905104845762253, -0.051463279873132706, 0.06560640782117844, -0.6550067067146301, -0.930474042892456, 1.3573024272918701, 0.5490049719810486, -0.3656522035598755, -0.08989853411912918, -0.001150244614109397, 0.524314284324646, -0.4507063031196594, 0.6859761476516724, 0.2081134021282196, 0.41258347034454346, 0.5304423570632935, -0.6276661157608032, 0.019391216337680817, -0.4746035635471344, 0.11047318577766418, -0.1739848256111145, -0.8442175984382629, 1.0308111906051636, -0.09554700553417206, -0.2762546241283417, -0.01594320684671402, 0.6239232420921326, 0.5360180139541626, 0.23478759825229645, 0.4360693097114563, 0.8179444670677185, 0.44874852895736694, -0.11452890932559967, 1.1267248392105103, -0.41391298174858093, 0.6899547576904297, 0.514342725276947, 0.33444133400917053, 0.528050422668457, 0.3880652189254761, -0.27739807963371277, 0.5991256237030029, 0.6999995112419128, -0.13911564648151398, 0.6403115391731262, -0.11579205840826035, -0.3653891682624817, -0.0780559629201889, 0.1008126512169838, -0.618694543838501, -0.16874898970127106, 0.4868399202823639, -0.4845231771469116, -0.2618086636066437, 0.21247421205043793, 0.2918287217617035, -0.24834002554416656, -0.2266951948404312, 0.45420876145362854, 0.12959854304790497, -0.5664269924163818, 0.6919736862182617, -0.07101501524448395, 0.8467013239860535, -0.6345682144165039, 0.10430818051099777, -0.2922723889350891, 0.18688228726387024, -0.35811537504196167, -1.0111929178237915, 0.3195456862449646, 0.08832477033138275, 0.09079758822917938, -0.5979365706443787, 0.5164532661437988, -0.19371341168880463, -0.8083490133285522, 0.1223941296339035, 0.20600201189517975, 0.22963657975196838, 0.11436934769153595, -1.2074841260910034, 0.2870388627052307, -0.03641769662499428, -0.4302598834037781, 0.35192400217056274, 0.3144075274467468, 0.34994953870773315, 0.6641952991485596, 0.3211718499660492, -0.07118384540081024, 0.07573802769184113, -0.25896012783050537, 0.8734077215194702, -0.3413318991661072, -0.4238268733024597, -0.7431704998016357, 0.8041195869445801, -0.05038179084658623, -0.16098248958587646, 0.8000879883766174, 0.8180534839630127, 0.5549876689910889, -0.11186948418617249, 0.6485938429832458, -0.29901278018951416, 0.22867514193058014, -0.3834826946258545, 0.9530153870582581, -0.7431553602218628, 0.128163143992424, -0.4861034154891968, -0.7093127965927124, -0.38851121068000793, 1.1509075164794922, -0.21248066425323486, 0.23767365515232086, 0.6493655443191528, 0.9987730383872986, -0.5002040266990662, -0.28186798095703125, 0.019493259489536285, 0.1617271900177002, 0.31867867708206177, 0.5823370218276978, 0.7272634506225586, -0.6990498304367065, 0.5389388799667358, -0.5795625448226929, -0.14423461258411407, -0.026754705235362053, -0.7836686372756958, -0.7164751887321472, -0.6563692092895508, -0.9717617630958557, -0.6629191637039185, -0.0012051136000081897, 0.4869471490383148, 0.8566782474517822, -0.6703242063522339, -0.2815849781036377, -0.2848559617996216, 0.23268020153045654, -0.11964786797761917, -0.23178429901599884, 0.6563810110092163, 0.07506457716226578, -0.9279606938362122, -0.13297727704048157, 0.07840416580438614, 0.5011483430862427, -0.15469756722450256, -0.3548612594604492, -0.29980114102363586, -0.18296054005622864, 0.46000832319259644, 0.5734077095985413, -0.5572599172592163, -0.07317404448986053, -0.09727564454078674, -0.016345936805009842, 0.546855628490448, 0.31345441937446594, -0.6524247527122498, 0.30380091071128845, 0.3565846085548401, 0.1335519552230835, 0.9881440997123718, -0.14829868078231812, 0.16500452160835266, -0.45902344584465027, 0.17948003113269806, 0.19486317038536072, 0.2837119996547699, 0.3274828791618347, -0.4015375077724457, 0.47956812381744385, 0.2151748389005661, -0.4849553108215332, -0.5773215889930725, 0.030145898461341858, -1.0799493789672852, -0.32507434487342834, 1.209065318107605, -0.20581428706645966, -0.38635459542274475, 0.13332052528858185, -0.3309306502342224, 0.15341606736183167, -0.5476529598236084, 0.46685659885406494, 0.41051697731018066, -0.5129567384719849, -0.7422565817832947, -0.3459320068359375, 0.42186394333839417, 0.19498582184314728, -0.6497257947921753, -0.4438912570476532, 0.5321813225746155, 0.6111099123954773, 0.46496111154556274, 0.7957517504692078, -0.3236195743083954, 0.33177244663238525, -0.07573462277650833, 0.35764628648757935, 0.1124255433678627, 0.02556724287569523, -0.4512791633605957, 0.33463922142982483, 0.00353407533839345, -0.13461701571941376 ]
sangrimlee/bert-base-multilingual-cased-nsmc
sangrimlee
2021-06-02T18:46:18Z
15,348
4
transformers
[ "transformers", "pytorch", "bert", "text-classification", "ko", "endpoints_compatible", "region:us" ]
text-classification
2022-03-02T23:29:05Z
--- language: ko --- # BERT multilingual basecased finetuned with NSMC This model is a fine-tune checkpoint of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased), fine-tuned on [NSMC(Naver Sentiment Movie Corpus)](https://github.com/e9t/nsmc). ## Usage You can use this model directly with a pipeline for sentiment-analysis: ```python >>> from transformers import pipeline >>> classifier = pipeline( "sentiment-analysis", model="sangrimlee/bert-base-multilingual-cased-nsmc" ) >>> classifier("흠...포스터보고 초딩영화줄....오버연기조차 가볍지 않구나.") >>> classifier("액션이 없는데도 재미 있는 몇안되는 영화") [{'label': 'negative', 'score': 0.9642567038536072}] [{'label': 'positive', 'score': 0.9970554113388062}] ```
[ -0.5657755732536316, -0.5235676765441895, 0.1344146728515625, 0.5759963393211365, -0.5222370028495789, 0.2611792981624603, -0.32980284094810486, 0.13846465945243835, 0.5166416764259338, 0.5468752384185791, -0.7192055583000183, -0.731666624546051, -0.643179714679718, -0.1618397831916809, -0.2183188647031784, 1.703025221824646, 0.12511120736598969, 0.4176104664802551, 0.040951866656541824, -0.1963963657617569, 0.03258683159947395, -0.8108442425727844, -0.6094176173210144, -0.435840368270874, 0.40226462483406067, 0.32163429260253906, 0.5930049419403076, 0.0331394337117672, 0.3761356770992279, 0.2445656806230545, -0.16680718958377838, -0.1962777078151703, -0.32155823707580566, 0.24224025011062622, -0.19277791678905487, -0.41254734992980957, -0.5479211807250977, -0.0962848886847496, 0.5743440389633179, 0.7996940612792969, 0.02566758543252945, 0.22918683290481567, 0.05286693572998047, 0.6727206110954285, -0.4758269786834717, 0.4069678485393524, -0.5617228150367737, 0.08493273705244064, -0.06453023850917816, 0.4166192412376404, -0.37989339232444763, -0.3095571994781494, 0.042559728026390076, -0.26207205653190613, 0.32908719778060913, -0.269461989402771, 1.1607123613357544, 0.14282146096229553, -0.3215397298336029, -0.06143534556031227, -0.30654385685920715, 1.2133090496063232, -0.8908854126930237, 0.23382945358753204, 0.2382490634918213, 0.2906065881252289, 0.20614264905452728, -0.5331182479858398, -0.58847576379776, -0.13091984391212463, 0.3291212320327759, 0.45934945344924927, 0.05217168852686882, 0.08368571102619171, 0.14586672186851501, 0.5414586663246155, -0.31192806363105774, -0.13997113704681396, -0.5037407875061035, -0.554503321647644, 0.3945557475090027, 0.0641665980219841, 0.10713160783052444, -0.7456956505775452, -0.378749817609787, -0.25765517354011536, -0.31748801469802856, 0.03728131204843521, 0.3680497705936432, 0.634050726890564, -0.4019114375114441, 0.787045419216156, -0.2662462294101715, 0.3483625054359436, 0.20929044485092163, 0.012962792068719864, 0.7451321482658386, -0.06784337759017944, -0.3289569020271301, 0.19042383134365082, 0.8328331708908081, 0.6242753863334656, 0.598825991153717, 0.2683667838573456, -0.1653023660182953, 0.3882589638233185, 0.4624870717525482, -0.8470303416252136, -0.40284034609794617, 0.34205180406570435, -0.6441301107406616, -0.4919235110282898, 0.02917024865746498, -0.8052287101745605, -0.07090983539819717, -0.23755212128162384, 0.5087758898735046, -0.5182219743728638, -0.41700631380081177, -0.20972689986228943, -0.07651205360889435, 0.4924551844596863, 0.207932710647583, -0.7744153141975403, 0.021239401772618294, 0.569810152053833, 0.9647236466407776, -0.11345617473125458, -0.19148357212543488, -0.18360872566699982, -0.2783101797103882, -0.28246212005615234, 0.6516367793083191, -0.19555440545082092, -0.3488268256187439, 0.2601262927055359, 0.17969752848148346, -0.029491493478417397, -0.3839712142944336, 1.0512337684631348, -0.5213609933853149, 0.23205329477787018, -0.20868153870105743, -0.4321581721305847, -0.3777761459350586, 0.8164590001106262, -0.6180214285850525, 0.9558272957801819, 0.14167870581150055, -0.8419942259788513, 0.3308970630168915, -0.6501474380493164, -0.5753883123397827, -0.08754312247037888, 0.14566989243030548, -0.632086992263794, 0.003153981640934944, 0.40237149596214294, 0.6740582585334778, 0.22593025863170624, 0.4199337959289551, -0.49163973331451416, -0.273679256439209, 0.031230060383677483, -0.3527754247188568, 1.1175832748413086, 0.5199209451675415, -0.1658054143190384, 0.08402220904827118, -0.8891605734825134, 0.2519192695617676, -0.29860442876815796, -0.49494513869285583, -0.21798595786094666, 0.09337794035673141, 0.5316612720489502, 0.2894590497016907, 0.34949880838394165, -0.8093956112861633, 0.18016241490840912, -0.5295466184616089, 0.3960580825805664, 0.7657173871994019, 0.01368952076882124, 0.4334273934364319, -0.08385304361581802, 0.520565927028656, 0.4731655716896057, 0.14753493666648865, -0.1751599758863449, -0.5926212668418884, -1.1680461168289185, -0.45154547691345215, 0.40899693965911865, 0.7380937337875366, -0.9039043188095093, 0.5161328315734863, -0.0073019517585635185, -0.5452043414115906, -0.8651358485221863, -0.07240881025791168, 0.038437750190496445, 0.4696333110332489, 0.5543084144592285, -0.520103931427002, -0.9069400429725647, -1.1817635297775269, 0.12877020239830017, -0.29969340562820435, 0.09755101054906845, 0.15297536551952362, 0.4176155924797058, -0.8006202578544617, 1.0235264301300049, -0.434314489364624, -0.2991507947444916, -0.4992479383945465, 0.2742074131965637, 1.0543454885482788, 0.6413273215293884, 0.4350205063819885, -0.5434001088142395, -0.7270578145980835, -0.11378662288188934, -0.7369411587715149, -0.12979437410831451, -0.11045777797698975, -0.22122858464717865, 0.3624294400215149, 0.2807635962963104, -0.47160080075263977, 0.059190988540649414, 0.5607357621192932, -0.09358163923025131, 0.8304339647293091, -0.017913678660988808, 0.02235637791454792, -1.4684643745422363, -0.12152862548828125, 0.10261852294206619, -0.14538007974624634, -0.7130680084228516, 0.16971102356910706, 0.1836770474910736, -0.03515753895044327, -0.553304135799408, 0.3542955815792084, -0.027279479429125786, 0.09034528583288193, -0.19785204529762268, -0.2536909878253937, -0.1477830559015274, 0.7760465741157532, 0.32585325837135315, 0.3257788419723511, 0.8985719084739685, -0.5114061236381531, 0.31250616908073425, 0.2119569480419159, -0.49185076355934143, 0.5818676948547363, -0.6800119280815125, -0.3103981912136078, -0.19755056500434875, 0.12390343844890594, -1.0850285291671753, -0.08147265017032623, 0.3225646913051605, -0.5364363193511963, 0.3030893802642822, -0.4215604066848755, -0.39289209246635437, -0.2696629464626312, -0.5189980864524841, 0.2739178240299225, 0.556975245475769, -0.623674750328064, 0.598754346370697, 0.36324548721313477, -0.4295961558818817, -0.7579225897789001, -0.9572897553443909, 0.11834689229726791, -0.14535917341709137, -0.5301472544670105, 0.20127452909946442, -0.27893880009651184, -0.0532800629734993, -0.4009031057357788, 0.17401885986328125, -0.3114286959171295, -0.2621225118637085, 0.22532086074352264, 0.5715024471282959, -0.2954227328300476, -0.18378134071826935, 0.5466093420982361, -0.1532520204782486, 0.152679443359375, 0.05241855978965759, 0.8386344313621521, -0.5029840469360352, -0.23991771042346954, -0.0018115558195859194, 0.4059387743473053, 0.8274174332618713, 0.07987786829471588, 0.6669600009918213, 1.1423819065093994, -0.31136247515678406, -0.030242091044783592, -0.5287615060806274, -0.09883759915828705, -0.469879150390625, 0.5708982348442078, -0.2960011959075928, -0.8631340265274048, 0.7373995780944824, 0.1996363401412964, -0.17540428042411804, 0.7618792057037354, 0.9989033341407776, -0.39380043745040894, 1.2903945446014404, 0.5671278834342957, -0.6719579696655273, 0.28019365668296814, -0.5520414710044861, 0.23245638608932495, -1.069128155708313, -0.13717612624168396, -0.3187803030014038, -0.18065515160560608, -0.9013603925704956, -0.2257247120141983, 0.38442710041999817, 0.17949898540973663, -0.5996067523956299, 0.30186980962753296, -0.44283679127693176, 0.22966422140598297, 0.6731215119361877, 0.09008074551820755, 0.025489235296845436, 0.26835426688194275, -0.673336386680603, -0.3586178719997406, -0.6258521676063538, -0.5388096570968628, 0.8844317197799683, 0.5886893272399902, 0.9489718079566956, 0.13320715725421906, 0.9584061503410339, 0.23930448293685913, 0.3190508186817169, -1.036987543106079, 0.5189028382301331, -0.5474233627319336, -0.8845075964927673, 0.21028177440166473, -0.24684031307697296, -0.6251387000083923, 0.3450426459312439, -0.1223636046051979, -0.6986960768699646, 0.3122853934764862, -0.09346354752779007, -0.2115592211484909, 0.20485883951187134, -0.6684451699256897, 0.9399330019950867, -0.13087910413742065, -0.19685734808444977, -0.2553810179233551, -0.8457699418067932, 0.3880803883075714, 0.01847030781209469, 0.29044032096862793, -0.11625278741121292, 0.26076021790504456, 0.6685660481452942, -0.4145112931728363, 1.2154407501220703, -0.30384132266044617, 0.06053437292575836, 0.3366134464740753, 0.10026531666517258, 0.022975826635956764, 0.33515098690986633, -0.2289259135723114, 0.553926408290863, 0.06076815351843834, -0.3945668637752533, 0.005612271372228861, 0.9704237580299377, -1.1361697912216187, -0.16476969420909882, -0.8465807437896729, -0.5888270735740662, -0.23584407567977905, 0.30338263511657715, 0.3489018976688385, 0.24981679022312164, -0.14753758907318115, 0.22294193506240845, 0.4871687591075897, -0.4576178789138794, 0.5769595503807068, 0.512847900390625, -0.2107548862695694, -0.6708107590675354, 0.9921470284461975, -0.14958235621452332, 0.13291285932064056, 0.262235552072525, 0.22869284451007843, -0.38711655139923096, -0.16158629953861237, -0.5277942419052124, 0.27811485528945923, -0.7841582298278809, -0.20073635876178741, -0.7108801007270813, -0.6010697484016418, -0.47226470708847046, -0.12736999988555908, -0.423488050699234, -0.5084109306335449, -0.3369322717189789, -0.2130884975194931, 0.36556681990623474, 0.31382954120635986, -0.3668530285358429, 0.16281253099441528, -0.96771240234375, 0.4068230390548706, 0.15466423332691193, 0.35902807116508484, -0.01127457246184349, -0.6528124809265137, -0.3728407025337219, 0.1992930918931961, -0.4208144247531891, -0.6312585473060608, 0.7141093611717224, 0.3175135552883148, 0.5863301157951355, 0.47627168893814087, 0.025580089539289474, 0.5460867285728455, -0.5208386182785034, 1.214723825454712, 0.246279776096344, -1.147990345954895, 0.5170839428901672, -0.5407615303993225, 0.5579274892807007, 0.7804319858551025, 0.5563918352127075, -0.7751235961914062, -0.5118516683578491, -0.5578736662864685, -1.2393221855163574, 0.8757312297821045, 0.19991199672222137, 0.40661826729774475, -0.27128681540489197, 0.008810654282569885, 0.032884690910577774, 0.4506404995918274, -1.169203758239746, -0.37625735998153687, -0.780028223991394, -0.4953020513057709, -0.15274085104465485, -0.25249573588371277, 0.11089538037776947, -0.47693291306495667, 1.0357111692428589, -0.1422804594039917, 0.33132117986679077, 0.2521946132183075, -0.2320815473794937, 0.06536824256181717, 0.2597329914569855, 0.47039276361465454, -0.01856709085404873, -0.708390474319458, -0.058711785823106766, 0.0483708381652832, -0.702492892742157, -0.16381539404392242, -0.09318952262401581, -0.20750685036182404, 0.15511029958724976, 0.37865883111953735, 0.7767692804336548, 0.042633913457393646, -0.6453730463981628, 0.3105681538581848, 0.09749968349933624, -0.1305486112833023, -0.4575977623462677, -0.1492169201374054, 0.10944151878356934, 0.21211093664169312, 0.34836944937705994, 0.42186012864112854, 0.1199202686548233, -0.7365760803222656, 0.2582928538322449, 0.3339882791042328, -0.7454869747161865, -0.037278059870004654, 0.4302108883857727, 0.12391949445009232, 0.06365899741649628, 0.9485597014427185, -0.238146111369133, -1.151850938796997, 0.6970279216766357, 0.4565676152706146, 1.0089163780212402, -0.026051126420497894, 0.45160749554634094, 0.7650873064994812, 0.37005653977394104, -0.01777431182563305, 0.5338470935821533, 0.016653038561344147, -1.2247543334960938, -0.66172194480896, -1.0060659646987915, -0.6329234838485718, 0.08250484615564346, -0.9879463315010071, 0.11719640344381332, -0.5214821100234985, -0.2306789606809616, -0.12122990936040878, -0.04913729801774025, -0.33635687828063965, 0.4537946283817291, 0.3518505096435547, 0.8533546328544617, -0.8506177663803101, 1.3595014810562134, 0.8004996180534363, -0.5089512467384338, -0.698611319065094, -0.17377017438411713, -0.165730282664299, -0.7003105878829956, 0.6658833026885986, 0.38915425539016724, 0.18525344133377075, -0.14497467875480652, -0.3943127393722534, -0.7322577238082886, 0.6533751487731934, 0.052006445825099945, -0.47309622168540955, 0.509939968585968, 0.15952168405056, 0.8965486288070679, -0.5047757029533386, 0.3498844504356384, 0.489065945148468, 0.4127446711063385, 0.04452720656991005, -0.6943268775939941, -0.4230844974517822, -0.6273646354675293, -0.09853707998991013, 0.07204927504062653, -0.590222954750061, 1.191959261894226, -0.2053605169057846, 0.28806236386299133, 0.1310877501964569, 0.5474444627761841, 0.48034194111824036, 0.19263006746768951, 0.6042478680610657, 0.6783602833747864, 0.3430100679397583, -0.3601199984550476, 0.9555675983428955, -0.27674758434295654, 0.8987736105918884, 0.9506068229675293, -0.2826104164123535, 1.005354642868042, 0.5278546810150146, -0.31958550214767456, 0.9314790368080139, 0.8092942237854004, -0.4369894862174988, 0.8787173628807068, -0.029378307983279228, -0.16279688477516174, -0.29404136538505554, 0.016381297260522842, -0.24178244173526764, 0.2865157723426819, 0.48168203234672546, -0.3777273893356323, -0.16495800018310547, 0.05714142695069313, -0.04045453295111656, -0.16568821668624878, -0.6197997331619263, 0.4620527923107147, 0.2003273069858551, -0.6889243721961975, 0.5461410880088806, 0.24459506571292877, 1.1710225343704224, -0.6490293741226196, 0.15488523244857788, -0.18553800880908966, 0.4761655628681183, -0.2894001305103302, -1.0104527473449707, 0.35236412286758423, 0.12560085952281952, -0.5970056653022766, -0.09986019879579544, 0.7377061247825623, -0.669558584690094, -1.0374417304992676, 0.4183536469936371, 0.3625488877296448, 0.2242814600467682, -0.13430584967136383, -1.193932056427002, 0.13336493074893951, 0.30025795102119446, -0.04184238612651825, 0.21705059707164764, -0.12158053368330002, -0.023708680644631386, 0.5756731033325195, 0.6011016368865967, 0.05209477245807648, -0.03899305686354637, 0.6938406825065613, 0.7814147472381592, -0.6135305762290955, -0.6322711706161499, -0.8165505528450012, 0.8353001475334167, -0.10533858835697174, -0.23056811094284058, 0.7682948112487793, 0.6470489501953125, 0.8388212323188782, -0.6186976432800293, 0.8913756012916565, -0.23465947806835175, 0.552486777305603, -0.35390281677246094, 0.9554123282432556, -0.5094600319862366, -0.020215464755892754, -0.6435429453849792, -1.0660839080810547, -0.3377864956855774, 1.172585129737854, 0.005739656277000904, 0.12416419386863708, 0.6629734635353088, 0.8627790808677673, -0.04606877267360687, -0.18081150949001312, 0.13426153361797333, 0.5321986079216003, 0.16522826254367828, 0.449221134185791, 0.779586136341095, -0.5770092010498047, 0.42442986369132996, -0.6181564331054688, -0.15612155199050903, -0.08846233785152435, -1.0454641580581665, -1.1182247400283813, -0.460720032453537, -0.5112453103065491, -0.49012237787246704, -0.36556658148765564, 0.983651340007782, 0.865609347820282, -1.4447685480117798, -0.470527708530426, 0.05765984579920769, 0.0938592329621315, -0.21913476288318634, -0.3881831765174866, 0.31917405128479004, -0.4090718924999237, -1.0662204027175903, 0.25921985507011414, 0.06607194244861603, -0.15127620100975037, -0.3850252628326416, -0.09267757087945938, -0.3520449697971344, 0.04218779131770134, 0.8410030007362366, -0.027152199298143387, -0.7907428741455078, -0.2539809048175812, -0.12611810863018036, -0.15585966408252716, 0.06325384974479675, 0.493009090423584, -0.6726028323173523, 0.5179542303085327, 0.5215470790863037, 0.30176475644111633, 0.6330915689468384, -0.19587641954421997, 0.5494201183319092, -1.0562238693237305, 0.2006593644618988, 0.22475388646125793, 0.7604394555091858, 0.5189709067344666, -0.2815224230289459, 0.364867627620697, 0.2015950232744217, -0.5199612975120544, -0.6460087299346924, 0.058200012892484665, -1.704744815826416, -0.18717272579669952, 1.0629338026046753, 0.010499303229153156, -0.01987081952393055, -0.0012096503050997853, -0.5363432168960571, 0.2060033082962036, -0.7454981803894043, 0.7804359197616577, 1.012285590171814, 0.12980151176452637, -0.09371421486139297, -0.1914958953857422, 0.05708061158657074, 0.6263701915740967, -0.39271774888038635, -0.45543530583381653, 0.278506338596344, 0.4013766050338745, 0.525225043296814, 0.3860650658607483, -0.12252625823020935, 0.2406998872756958, -0.3113768696784973, 0.44837313890457153, 0.25940459966659546, -0.15754961967468262, -0.4530346393585205, 0.20751316845417023, -0.09386153519153595, -0.2667422294616699 ]
bookbot/wav2vec2-ljspeech-gruut
bookbot
2023-04-05T02:27:23Z
15,322
6
transformers
[ "transformers", "pytorch", "tensorboard", "safetensors", "wav2vec2", "automatic-speech-recognition", "phoneme-recognition", "generated_from_trainer", "en", "dataset:w11wo/ljspeech_phonemes", "arxiv:2006.11477", "license:apache-2.0", "model-index", "endpoints_compatible", "region:us" ]
automatic-speech-recognition
2023-01-09T01:22:52Z
--- language: en license: apache-2.0 tags: - phoneme-recognition - generated_from_trainer datasets: - w11wo/ljspeech_phonemes model-index: - name: Wav2Vec2 LJSpeech Gruut results: - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: LJSpeech type: ljspeech_phonemes metrics: - name: Test PER (w/o stress) type: per value: 0.0099 - name: Test CER (w/o stress) type: cer value: 0.0058 --- # Wav2Vec2 LJSpeech Gruut Wav2Vec2 LJSpeech Gruut is an automatic speech recognition model based on the [wav2vec 2.0](https://arxiv.org/abs/2006.11477) architecture. This model is a fine-tuned version of [Wav2Vec2-Base](https://huggingface.co/facebook/wav2vec2-base) on the [LJSpech Phonemes](https://huggingface.co/datasets/w11wo/ljspeech_phonemes) dataset. Instead of being trained to predict sequences of words, this model was trained to predict sequence of phonemes, e.g. `["h", "ɛ", "l", "ˈoʊ", "w", "ˈɚ", "l", "d"]`. Therefore, the model's [vocabulary](https://huggingface.co/bookbot/wav2vec2-ljspeech-gruut/blob/main/vocab.json) contains the different IPA phonemes found in [gruut](https://github.com/rhasspy/gruut). This model was trained using HuggingFace's PyTorch framework. All training was done on a Google Cloud Engine VM with a Tesla A100 GPU. All necessary scripts used for training could be found in the [Files and versions](https://huggingface.co/bookbot/wav2vec2-ljspeech-gruut/tree/main) tab, as well as the [Training metrics](https://huggingface.co/bookbot/wav2vec2-ljspeech-gruut/tensorboard) logged via Tensorboard. ## Model | Model | #params | Arch. | Training/Validation data (text) | | ------------------------- | ------- | ----------- | ------------------------------- | | `wav2vec2-ljspeech-gruut` | 94M | wav2vec 2.0 | `LJSpech Phonemes` Dataset | ## Evaluation Results The model achieves the following results on evaluation: | Dataset | PER (w/o stress) | CER (w/o stress) | | ---------------------------- | :--------------: | :--------------: | | `LJSpech Phonemes` Test Data | 0.99% | 0.58% | ## Usage ```py from transformers import AutoProcessor, AutoModelForCTC, Wav2Vec2Processor import librosa import torch from itertools import groupby from datasets import load_dataset def decode_phonemes( ids: torch.Tensor, processor: Wav2Vec2Processor, ignore_stress: bool = False ) -> str: """CTC-like decoding. First removes consecutive duplicates, then removes special tokens.""" # removes consecutive duplicates ids = [id_ for id_, _ in groupby(ids)] special_token_ids = processor.tokenizer.all_special_ids + [ processor.tokenizer.word_delimiter_token_id ] # converts id to token, skipping special tokens phonemes = [processor.decode(id_) for id_ in ids if id_ not in special_token_ids] # joins phonemes prediction = " ".join(phonemes) # whether to ignore IPA stress marks if ignore_stress == True: prediction = prediction.replace("ˈ", "").replace("ˌ", "") return prediction checkpoint = "bookbot/wav2vec2-ljspeech-gruut" model = AutoModelForCTC.from_pretrained(checkpoint) processor = AutoProcessor.from_pretrained(checkpoint) sr = processor.feature_extractor.sampling_rate # load dummy dataset and read soundfiles ds = load_dataset("patrickvonplaten/librispeech_asr_dummy", "clean", split="validation") audio_array = ds[0]["audio"]["array"] # or, read a single audio file # audio_array, _ = librosa.load("myaudio.wav", sr=sr) inputs = processor(audio_array, return_tensors="pt", padding=True) with torch.no_grad(): logits = model(inputs["input_values"]).logits predicted_ids = torch.argmax(logits, dim=-1) prediction = decode_phonemes(predicted_ids[0], processor, ignore_stress=True) # => should give 'b ɪ k ʌ z j u ɚ z s l i p ɪ ŋ ɪ n s t ɛ d ə v k ɔ ŋ k ɚ ɪ ŋ ð ə l ʌ v l i ɹ z p ɹ ɪ n s ə s h æ z b ɪ k ʌ m ə v f ɪ t ə l w ɪ θ n b oʊ p ɹ ə ʃ æ ɡ i s ɪ t s ð ɛ ɹ ə k u ɪ ŋ d ʌ v' ``` ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - `learning_rate`: 0.0001 - `train_batch_size`: 16 - `eval_batch_size`: 8 - `seed`: 42 - `gradient_accumulation_steps`: 2 - `total_train_batch_size`: 32 - `optimizer`: Adam with `betas=(0.9,0.999)` and `epsilon=1e-08` - `lr_scheduler_type`: linear - `lr_scheduler_warmup_steps`: 1000 - `num_epochs`: 30.0 - `mixed_precision_training`: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Wer | Cer | | :-----------: | :---: | :---: | :-------------: | :----: | :----: | | No log | 1.0 | 348 | 2.2818 | 1.0 | 1.0 | | 2.6692 | 2.0 | 696 | 0.2045 | 0.0527 | 0.0299 | | 0.2225 | 3.0 | 1044 | 0.1162 | 0.0319 | 0.0189 | | 0.2225 | 4.0 | 1392 | 0.0927 | 0.0235 | 0.0147 | | 0.0868 | 5.0 | 1740 | 0.0797 | 0.0218 | 0.0143 | | 0.0598 | 6.0 | 2088 | 0.0715 | 0.0197 | 0.0128 | | 0.0598 | 7.0 | 2436 | 0.0652 | 0.0160 | 0.0103 | | 0.0447 | 8.0 | 2784 | 0.0571 | 0.0152 | 0.0095 | | 0.0368 | 9.0 | 3132 | 0.0608 | 0.0163 | 0.0112 | | 0.0368 | 10.0 | 3480 | 0.0586 | 0.0137 | 0.0083 | | 0.0303 | 11.0 | 3828 | 0.0641 | 0.0141 | 0.0085 | | 0.0273 | 12.0 | 4176 | 0.0656 | 0.0131 | 0.0079 | | 0.0232 | 13.0 | 4524 | 0.0690 | 0.0133 | 0.0082 | | 0.0232 | 14.0 | 4872 | 0.0598 | 0.0128 | 0.0079 | | 0.0189 | 15.0 | 5220 | 0.0671 | 0.0121 | 0.0074 | | 0.017 | 16.0 | 5568 | 0.0654 | 0.0114 | 0.0069 | | 0.017 | 17.0 | 5916 | 0.0751 | 0.0118 | 0.0073 | | 0.0146 | 18.0 | 6264 | 0.0653 | 0.0112 | 0.0068 | | 0.0127 | 19.0 | 6612 | 0.0682 | 0.0112 | 0.0069 | | 0.0127 | 20.0 | 6960 | 0.0678 | 0.0114 | 0.0068 | | 0.0114 | 21.0 | 7308 | 0.0656 | 0.0111 | 0.0066 | | 0.0101 | 22.0 | 7656 | 0.0669 | 0.0109 | 0.0066 | | 0.0092 | 23.0 | 8004 | 0.0677 | 0.0108 | 0.0065 | | 0.0092 | 24.0 | 8352 | 0.0653 | 0.0104 | 0.0063 | | 0.0088 | 25.0 | 8700 | 0.0673 | 0.0102 | 0.0063 | | 0.0074 | 26.0 | 9048 | 0.0669 | 0.0105 | 0.0064 | | 0.0074 | 27.0 | 9396 | 0.0707 | 0.0101 | 0.0061 | | 0.0066 | 28.0 | 9744 | 0.0673 | 0.0100 | 0.0060 | | 0.0058 | 29.0 | 10092 | 0.0689 | 0.0100 | 0.0059 | | 0.0058 | 30.0 | 10440 | 0.0683 | 0.0099 | 0.0058 | ## Disclaimer Do consider the biases which came from pre-training datasets that may be carried over into the results of this model. ## Authors Wav2Vec2 LJSpeech Gruut was trained and evaluated by [Wilson Wongso](https://w11wo.github.io/). All computation and development are done on Google Cloud. ## Framework versions - Transformers 4.26.0.dev0 - Pytorch 1.10.0 - Datasets 2.7.1 - Tokenizers 0.13.2 - Gruut 2.3.4
[ -0.5164858102798462, -0.6913984417915344, 0.10310455411672592, -0.008540356531739235, -0.11875220388174057, -0.04693646356463432, -0.18885265290737152, -0.3543100357055664, 0.4367365539073944, 0.2557782232761383, -0.6146948337554932, -0.7543449997901917, -0.7007099390029907, -0.3404475152492523, -0.017839059233665466, 0.9400765895843506, 0.1337912231683731, 0.09124785661697388, -0.0015914298128336668, -0.18077680468559265, -0.3835378587245941, -0.19783861935138702, -0.6788998246192932, -0.37454479932785034, 0.1486293524503708, 0.3566826581954956, 0.5772284865379333, 0.5974771976470947, 0.3957907557487488, 0.31302371621131897, -0.3741546869277954, -0.05516010895371437, -0.32596156001091003, -0.2423878014087677, 0.32479390501976013, -0.5400984287261963, -0.3544749617576599, -0.007105160038918257, 0.4511399269104004, 0.5421561598777771, -0.24269357323646545, 0.528096079826355, 0.1360195428133011, 0.7816515564918518, -0.3129062056541443, 0.22067977488040924, -0.4555058777332306, 0.04710591956973076, -0.10414034128189087, -0.03861698880791664, 0.0035055894404649734, -0.3833582401275635, 0.031181856989860535, -0.5962598323822021, 0.3569183051586151, -0.20069223642349243, 1.1747013330459595, 0.24267733097076416, -0.15872147679328918, -0.3179027736186981, -0.4350035786628723, 0.8413642048835754, -0.7565007209777832, 0.5518103837966919, 0.6525751948356628, 0.015872182324528694, -0.2703856825828552, -0.8385304808616638, -0.7273135781288147, 0.21710218489170074, -0.13660065829753876, 0.4679831862449646, -0.1682528555393219, -0.22313082218170166, 0.3808310031890869, 0.4098440110683441, -0.7472434639930725, -0.006722528487443924, -0.6313987374305725, -0.33800381422042847, 0.7027900815010071, -0.039609868079423904, 0.26659345626831055, -0.44481131434440613, -0.5145320892333984, -0.30428680777549744, -0.19073042273521423, 0.8231479525566101, 0.5856618285179138, 0.21339832246303558, -0.5326093435287476, 0.4125620126724243, -0.04230513423681259, 0.6189685463905334, 0.09636780619621277, -0.48089471459388733, 0.8633489012718201, -0.23015230894088745, -0.26490435004234314, 0.10585180670022964, 1.0492298603057861, 0.4842436909675598, 0.04448577016592026, 0.1087058037519455, -0.08553903549909592, 0.03506118431687355, -0.16258931159973145, -0.7946928143501282, -0.5376975536346436, 0.626134991645813, -0.5135095715522766, -0.28946709632873535, -0.1359742432832718, -0.7712088227272034, 0.0013010570546612144, -0.26628926396369934, 0.41981640458106995, -0.43322598934173584, -0.5094271302223206, 0.1897980272769928, -0.2651384174823761, 0.2268754541873932, 0.18971119821071625, -1.0877245664596558, 0.21848183870315552, 0.3907272219657898, 0.9728268384933472, 0.17643091082572937, -0.16226144134998322, -0.13019013404846191, -0.01538551039993763, -0.41529616713523865, 0.6538541913032532, -0.06561408936977386, -0.6590320467948914, -0.1879594624042511, 0.2935575246810913, -0.26032719016075134, -0.4676200747489929, 0.7191441059112549, -0.1787850707769394, 0.5038512349128723, -0.3851495385169983, -0.39737260341644287, -0.15974366664886475, 0.0951034426689148, -0.507663369178772, 1.5298513174057007, 0.20705297589302063, -0.9303767681121826, 0.45076248049736023, -0.5327056050300598, -0.24826698005199432, -0.20154409110546112, -0.27084532380104065, -0.8097532987594604, -0.2791491746902466, 0.4191167652606964, 0.45608222484588623, -0.4269522428512573, 0.05799030140042305, -0.031728345900774, -0.44313284754753113, -0.014527076855301857, -0.1748509407043457, 1.1872587203979492, 0.25263887643814087, -0.6862702965736389, -0.09813857078552246, -0.9392584562301636, 0.3393222391605377, 0.33153119683265686, -0.5652357339859009, -0.04843607172369957, -0.39678728580474854, 0.028664425015449524, 0.3000824451446533, 0.13824352622032166, -0.5705612301826477, 0.20943160355091095, -0.4411952793598175, 0.5150021910667419, 0.6644704937934875, 0.018502280116081238, 0.3815184533596039, -0.45491594076156616, 0.3006841242313385, 0.06537139415740967, 0.12373530119657516, -0.0812193974852562, -0.7190231084823608, -0.8238592147827148, -0.5670621991157532, 0.136193186044693, 0.6503783464431763, -0.2633993625640869, 0.7540958523750305, -0.14040464162826538, -0.7375893592834473, -0.8519301414489746, 0.030073989182710648, 0.36946776509284973, 0.7672117948532104, 0.5302380323410034, -0.15502335131168365, -0.618146538734436, -0.9736586213111877, -0.19604523479938507, -0.20739445090293884, 0.041301410645246506, 0.458244651556015, 0.5956066250801086, -0.23725803196430206, 0.9766378402709961, -0.4408235549926758, -0.6311765909194946, -0.1436854600906372, -0.046017955988645554, 0.7513154149055481, 0.6882462501525879, 0.5950058698654175, -0.6916687488555908, -0.4607433080673218, -0.021680288016796112, -0.7976357936859131, 0.1614011973142624, -0.09291084110736847, -0.005155783146619797, 0.13234083354473114, 0.38055768609046936, -0.7242448329925537, 0.603230357170105, 0.5644500851631165, -0.3574255108833313, 0.6490663290023804, -0.13245689868927002, 0.31901922821998596, -1.1404564380645752, 0.16911141574382782, 0.019274946302175522, -0.041183117777109146, -0.5298507809638977, -0.3350432217121124, -0.03223548084497452, -0.06469489634037018, -0.4506882131099701, 0.611361026763916, -0.5787019729614258, -0.07184885442256927, 0.08159016072750092, 0.030947333201766014, 0.0008760722703300416, 0.7027244567871094, 0.014206312596797943, 1.024246335029602, 0.8093219995498657, -0.5694284439086914, 0.25640490651130676, 0.3764677941799164, -0.7356853485107422, 0.2640904486179352, -0.7923765778541565, 0.2259826362133026, 0.02604091167449951, 0.2701767683029175, -1.2705107927322388, -0.17449922859668732, 0.32003918290138245, -0.895691454410553, 0.29808786511421204, -0.4317580759525299, -0.2999301850795746, -0.8713778853416443, -0.28306373953819275, 0.16212962567806244, 0.6865184903144836, -0.5885641574859619, 0.6182870268821716, 0.40370774269104004, 0.08083818852901459, -0.7812334299087524, -1.0112131834030151, -0.20153574645519257, -0.1401343196630478, -0.7947655916213989, 0.24440304934978485, -0.005253603216260672, -0.1017884686589241, 0.00612066313624382, -0.23826304078102112, 0.0137205570936203, 0.040487222373485565, 0.4712890684604645, 0.2479737550020218, -0.15461067855358124, -0.019492819905281067, -0.1963193267583847, -0.19778656959533691, -0.013885673135519028, -0.3460492193698883, 0.7635422348976135, -0.3021152913570404, -0.2766284942626953, -0.8623024225234985, -0.0070519172586500645, 0.5179311633110046, -0.3043169677257538, 0.7681768536567688, 1.0704352855682373, -0.3274272084236145, 0.13456492125988007, -0.6085363626480103, -0.13465620577335358, -0.5014227032661438, 0.5437154173851013, -0.6223071217536926, -0.7877057194709778, 0.7912880182266235, -0.03279475122690201, 0.046574272215366364, 0.6992020606994629, 0.6535426378250122, -0.29525917768478394, 0.8415448069572449, 0.06297867745161057, -0.23389355838298798, 0.3340863287448883, -1.0837080478668213, 0.06919724494218826, -0.8298563957214355, -0.694308876991272, -0.4368981420993805, -0.4109998643398285, -0.48585045337677, -0.4494308829307556, 0.38745662569999695, 0.31032630801200867, -0.41201120615005493, 0.1910111904144287, -0.814988911151886, 0.37115153670310974, 0.759510338306427, 0.2664087414741516, -0.11136234551668167, 0.2009420394897461, -0.29206278920173645, -0.11746171116828918, -0.6862463355064392, -0.38887763023376465, 1.2297108173370361, 0.46951672434806824, 0.5454188585281372, 0.05889812484383583, 0.8890115022659302, 0.24879878759384155, -0.2727932035923004, -0.8063806295394897, 0.3973282277584076, 0.08118943870067596, -0.6365071535110474, -0.36859574913978577, -0.23686476051807404, -1.055047869682312, 0.3836984634399414, -0.3755517303943634, -1.1007026433944702, 0.4053463935852051, 0.12582673132419586, -0.39046338200569153, 0.6006014943122864, -0.7345771789550781, 0.8213641047477722, -0.13643762469291687, -0.551097571849823, -0.07670805603265762, -0.7963878512382507, 0.302555650472641, 0.20953895151615143, 0.3993853032588959, -0.21003985404968262, 0.14530625939369202, 1.0952563285827637, -0.538151741027832, 0.5641485452651978, -0.34001272916793823, -0.0490480475127697, 0.722528874874115, -0.06523575633764267, 0.7762371301651001, 0.11323957145214081, -0.14306963980197906, 0.3473920226097107, 0.05858305096626282, -0.5445176959037781, -0.34506359696388245, 0.9670749306678772, -1.2544546127319336, -0.5850148797035217, -0.39412549138069153, -0.46834805607795715, 0.009286373853683472, 0.20009812712669373, 0.6445541381835938, 0.49715515971183777, 0.1019321009516716, 0.1443929672241211, 0.6354078650474548, -0.11624670773744583, 0.6522783637046814, 0.14987939596176147, -0.06889550387859344, -0.8500115275382996, 0.8284083604812622, 0.12899643182754517, 0.2694340944290161, -0.11125931143760681, 0.30829736590385437, -0.40368878841400146, -0.40425658226013184, -0.4592534005641937, 0.2056019902229309, -0.5468860268592834, -0.12009274959564209, -0.9078221917152405, -0.08942797034978867, -0.8152364492416382, -0.23283351957798004, -0.6003578901290894, -0.4085000455379486, -0.32134801149368286, -0.15417440235614777, 0.6572911143302917, 0.5398693084716797, -0.13864392042160034, 0.4084925949573517, -0.6416398286819458, 0.2627720236778259, 0.18850915133953094, 0.11030230671167374, -0.07738290727138519, -0.7852837443351746, -0.3289792537689209, 0.11391622573137283, -0.12956653535366058, -0.6501150131225586, 0.4974859654903412, 0.015741702169179916, 0.46909981966018677, 0.3194223642349243, -0.2674766182899475, 0.9437180161476135, -0.20771078765392303, 1.076899766921997, 0.6792376041412354, -0.8194054365158081, 0.6943534016609192, -0.44299593567848206, 0.3019980490207672, 0.6196253299713135, 0.36297616362571716, -0.5633737444877625, -0.15351104736328125, -0.9533140659332275, -1.075503945350647, 0.8822466135025024, 0.3371187150478363, -0.005324254743754864, 0.2550390958786011, 0.3213934600353241, -0.13391412794589996, 0.20350807905197144, -0.7639206051826477, -0.7886548638343811, -0.28218573331832886, -0.09969624131917953, -0.07648307830095291, -0.150054469704628, -0.24631036818027496, -0.6536954045295715, 0.789137601852417, 0.17644253373146057, 0.5763774514198303, 0.4767240583896637, 0.0832759439945221, -0.16766028106212616, 0.058766137808561325, 0.5780383944511414, 0.4810265004634857, -0.44040149450302124, -0.06333689391613007, 0.2528916895389557, -0.764157235622406, 0.1904059797525406, -0.032288964837789536, -0.2531608045101166, 0.2107613980770111, 0.49606919288635254, 1.0248291492462158, -0.05463244020938873, -0.14565914869308472, 0.6018441319465637, -0.012072110548615456, -0.6342585682868958, -0.6116880178451538, 0.046567652374506, 0.25629639625549316, 0.4086214303970337, 0.5542587041854858, 0.27222955226898193, -0.07284817844629288, -0.4871153235435486, 0.22920642793178558, 0.32957199215888977, -0.4712262451648712, -0.21587935090065002, 0.9591814875602722, 0.05769960954785347, -0.3696773946285248, 0.5220332145690918, -0.07797444611787796, -0.6115984320640564, 0.9310508966445923, 0.5086580514907837, 0.7518903613090515, -0.29243481159210205, -0.023279286921024323, 1.0384838581085205, 0.34255775809288025, -0.10918218642473221, 0.5247825384140015, 0.014391839504241943, -0.5166329741477966, 0.04599722847342491, -0.6572199463844299, 0.02042166143655777, 0.49574601650238037, -0.8015441298484802, 0.47113725543022156, -0.5375890135765076, -0.49519607424736023, -0.15860140323638916, 0.19195222854614258, -0.9260103106498718, 0.5044276714324951, 0.09516491740942001, 0.9013641476631165, -1.0076082944869995, 0.8725616335868835, 0.5913106799125671, -0.5418698191642761, -1.208533763885498, -0.08678114414215088, -0.009603124111890793, -1.0131956338882446, 0.6755484938621521, 0.20651322603225708, 0.06310518831014633, 0.14511147141456604, -0.47816893458366394, -1.1129021644592285, 1.411341667175293, 0.04974290356040001, -0.7209858894348145, 0.209713876247406, 0.06415551155805588, 0.3707611560821533, -0.05728530138731003, 0.5617793202400208, 0.7032156586647034, 0.46006637811660767, 0.06385479122400284, -1.0127867460250854, -0.03725741058588028, -0.45450976490974426, -0.23819711804389954, 0.18038097023963928, -0.9882441163063049, 1.0857038497924805, -0.5686660408973694, -0.00597339915111661, -0.07391079515218735, 0.7336800694465637, 0.36314716935157776, 0.32404083013534546, 0.5860629677772522, 1.0170977115631104, 1.045865535736084, -0.22124943137168884, 1.090552806854248, -0.3991900384426117, 0.6720351576805115, 1.0298875570297241, 0.29260674118995667, 0.7647826671600342, 0.5375593900680542, -0.6145889759063721, 0.43192726373672485, 0.8954631090164185, -0.10246629267930984, 0.6580733060836792, 0.09695475548505783, -0.34302181005477905, -0.1618436574935913, 0.05490710213780403, -0.808699905872345, 0.3913252651691437, 0.2511763274669647, -0.4111971855163574, 0.14300037920475006, 0.0230049230158329, 0.13604342937469482, -0.11616639792919159, -0.24789460003376007, 0.6343650817871094, 0.012643569149076939, -0.3192712068557739, 0.9987666606903076, -0.23848490417003632, 0.8024594187736511, -0.6402237415313721, 0.22525060176849365, -0.08129384368658066, 0.21783995628356934, -0.598414421081543, -0.9584670662879944, -0.12072835117578506, -0.23602011799812317, -0.2634615898132324, 0.0899450033903122, 0.5676984190940857, -0.4288707971572876, -0.4949900209903717, 0.46171998977661133, 0.3349701166152954, 0.2977115213871002, 0.27547040581703186, -0.9704722762107849, -0.03603319451212883, 0.36530348658561707, -0.7281229496002197, 0.2150159478187561, 0.32705309987068176, 0.2562780976295471, 0.5775412917137146, 0.9410671591758728, 0.20534278452396393, 0.1843338906764984, 0.07013751566410065, 0.9988227486610413, -0.6893025040626526, -0.6180444359779358, -0.7152650356292725, 0.5913705229759216, -0.036715004593133926, -0.571594774723053, 0.775000810623169, 0.9361001253128052, 0.7475273609161377, -0.03483838587999344, 0.9520236253738403, -0.2261848896741867, 0.5680732727050781, -0.5961527228355408, 0.6840910315513611, -0.7995221018791199, 0.0687028095126152, -0.18945413827896118, -0.737079381942749, -0.21253818273544312, 0.8726613521575928, -0.3776644170284271, 0.10538957267999649, 0.4932487905025482, 1.0666331052780151, 0.06625238806009293, -0.03849242255091667, 0.16211669147014618, 0.12450069934129715, 0.21453545987606049, 0.6341080665588379, 0.5039930939674377, -0.8964451551437378, 0.6211060285568237, -0.59703129529953, -0.08785254508256912, -0.14175398647785187, -0.4518354833126068, -0.8739104270935059, -0.6616707444190979, -0.5568581223487854, -0.733184814453125, -0.03451089933514595, 1.082213044166565, 0.6717422008514404, -0.711533784866333, -0.31741979718208313, -0.06795419752597809, -0.12024839222431183, -0.17524169385433197, -0.2356089949607849, 0.9579229950904846, -0.10565623641014099, -0.7903561592102051, 0.26742568612098694, -0.09747448563575745, 0.3435411751270294, 0.17162303626537323, -0.29231858253479004, -0.2712135314941406, -0.19650797545909882, 0.30660364031791687, 0.32291677594184875, -0.8223192691802979, -0.19549275934696198, -0.11970268934965134, -0.2176373153924942, 0.3565824031829834, 0.4062178134918213, -0.7188242673873901, 0.5245691537857056, 0.37991511821746826, 0.40349921584129333, 0.773503839969635, -0.08827909082174301, -0.016102420166134834, -0.4806385040283203, 0.5415738821029663, -0.02546597644686699, 0.42843517661094666, 0.2505772113800049, -0.44378167390823364, 0.7257820963859558, 0.5259374380111694, -0.715242326259613, -0.8997554779052734, -0.2917670011520386, -1.3031634092330933, -0.07308854162693024, 1.4311822652816772, -0.07792546600103378, -0.4498865008354187, 0.08507471531629562, -0.36524638533592224, 0.47131460905075073, -0.622769832611084, 0.4792574644088745, 0.470274418592453, -0.14273172616958618, 0.0038208228070288897, -0.8856443166732788, 0.6145449280738831, 0.38179847598075867, -0.4443510174751282, -0.10407906025648117, 0.19416947662830353, 0.5190513134002686, 0.24060091376304626, 0.8335270881652832, -0.08091945946216583, 0.2802349627017975, 0.26129353046417236, 0.5344374775886536, -0.18303294479846954, 0.07533977180719376, -0.2727440893650055, 0.02739688754081726, -0.11742743104696274, -0.6751185655593872 ]
hf-tiny-model-private/tiny-random-OwlViTModel
hf-tiny-model-private
2023-03-29T19:16:14Z
15,320
0
transformers
[ "transformers", "pytorch", "owlvit", "feature-extraction", "endpoints_compatible", "region:us" ]
feature-extraction
2023-03-29T19:16:09Z
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 ]
baichuan-inc/Baichuan2-7B-Chat
baichuan-inc
2023-10-11T09:29:29Z
15,320
105
transformers
[ "transformers", "pytorch", "baichuan", "text-generation", "custom_code", "en", "zh", "has_space", "region:us" ]
text-generation
2023-08-29T02:21:41Z
--- language: - en - zh license_name: baichuan2-community-license license_link: https://huggingface.co/baichuan-inc/Baichuan2-7B-Chat/blob/main/Community%20License%20for%20Baichuan2%20Model.pdf tasks: - text-generation --- <!-- markdownlint-disable first-line-h1 --> <!-- markdownlint-disable html --> <div align="center"> <h1> Baichuan 2 </h1> </div> <div align="center"> <a href="https://github.com/baichuan-inc/Baichuan2" target="_blank">🦉GitHub</a> | <a href="https://github.com/baichuan-inc/Baichuan-7B/blob/main/media/wechat.jpeg?raw=true" target="_blank">💬WeChat</a> </div> <div align="center"> 🚀 <a href="https://www.baichuan-ai.com/" target="_blank">百川大模型在线对话平台</a> 已正式向公众开放 🎉 </div> # 目录/Table of Contents - [📖 模型介绍/Introduction](#Introduction) - [⚙️ 快速开始/Quick Start](#Start) - [📊 Benchmark评估/Benchmark Evaluation](#Benchmark) - [📜 声明与协议/Terms and Conditions](#Terms) # <span id="Introduction">模型介绍/Introduction</span> Baichuan 2 是[百川智能]推出的新一代开源大语言模型,采用 **2.6 万亿** Tokens 的高质量语料训练,在权威的中文和英文 benchmark 上均取得同尺寸最好的效果。本次发布包含有 7B、13B 的 Base 和 Chat 版本,并提供了 Chat 版本的 4bits 量化,所有版本不仅对学术研究完全开放,开发者也仅需[邮件申请]并获得官方商用许可后,即可以免费商用。具体发布版本和下载见下表: Baichuan 2 is the new generation of large-scale open-source language models launched by [Baichuan Intelligence inc.](https://www.baichuan-ai.com/). It is trained on a high-quality corpus with 2.6 trillion tokens and has achieved the best performance in authoritative Chinese and English benchmarks of the same size. This release includes 7B and 13B versions for both Base and Chat models, along with a 4bits quantized version for the Chat model. All versions are fully open to academic research, and developers can also use them for free in commercial applications after obtaining an official commercial license through [email request](mailto:[email protected]). The specific release versions and download links are listed in the table below: | | Base Model | Chat Model | 4bits Quantized Chat Model | |:---:|:--------------------:|:--------------------:|:--------------------------:| | 7B | [Baichuan2-7B-Base](https://huggingface.co/baichuan-inc/Baichuan2-7B-Base) | [Baichuan2-7B-Chat](https://huggingface.co/baichuan-inc/Baichuan2-7B-Chat) | [Baichuan2-7B-Chat-4bits](https://huggingface.co/baichuan-inc/Baichuan2-7B-Base-4bits) | | 13B | [Baichuan2-13B-Base](https://huggingface.co/baichuan-inc/Baichuan2-13B-Base) | [Baichuan2-13B-Chat](https://huggingface.co/baichuan-inc/Baichuan2-13B-Chat) | [Baichuan2-13B-Chat-4bits](https://huggingface.co/baichuan-inc/Baichuan2-13B-Chat-4bits) | # <span id="Start">快速开始/Quick Start</span> 在Baichuan2系列模型中,我们为了加快推理速度使用了Pytorch2.0加入的新功能F.scaled_dot_product_attention,因此模型需要在Pytorch2.0环境下运行。 In the Baichuan 2 series models, we have utilized the new feature `F.scaled_dot_product_attention` introduced in PyTorch 2.0 to accelerate inference speed. Therefore, the model needs to be run in a PyTorch 2.0 environment. ```python import torch from transformers import AutoModelForCausalLM, AutoTokenizer from transformers.generation.utils import GenerationConfig tokenizer = AutoTokenizer.from_pretrained("baichuan-inc/Baichuan2-7B-Chat", use_fast=False, trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("baichuan-inc/Baichuan2-7B-Chat", device_map="auto", torch_dtype=torch.bfloat16, trust_remote_code=True) model.generation_config = GenerationConfig.from_pretrained("baichuan-inc/Baichuan2-7B-Chat") messages = [] messages.append({"role": "user", "content": "解释一下“温故而知新”"}) response = model.chat(tokenizer, messages) print(response) "温故而知新"是一句中国古代的成语,出自《论语·为政》篇。这句话的意思是:通过回顾过去,我们可以发现新的知识和理解。换句话说,学习历史和经验可以让我们更好地理解现在和未来。 这句话鼓励我们在学习和生活中不断地回顾和反思过去的经验,从而获得新的启示和成长。通过重温旧的知识和经历,我们可以发现新的观点和理解,从而更好地应对不断变化的世界和挑战。 ``` # <span id="Benchmark">Benchmark 结果/Benchmark Evaluation</span> 我们在[通用]、[法律]、[医疗]、[数学]、[代码]和[多语言翻译]六个领域的中英文权威数据集上对模型进行了广泛测试,更多详细测评结果可查看[GitHub]。 We have extensively tested the model on authoritative Chinese-English datasets across six domains: [General](https://github.com/baichuan-inc/Baichuan2/blob/main/README_EN.md#general-domain), [Legal](https://github.com/baichuan-inc/Baichuan2/blob/main/README_EN.md#law-and-medicine), [Medical](https://github.com/baichuan-inc/Baichuan2/blob/main/README_EN.md#law-and-medicine), [Mathematics](https://github.com/baichuan-inc/Baichuan2/blob/main/README_EN.md#mathematics-and-code), [Code](https://github.com/baichuan-inc/Baichuan2/blob/main/README_EN.md#mathematics-and-code), and [Multilingual Translation](https://github.com/baichuan-inc/Baichuan2/blob/main/README_EN.md#multilingual-translation). For more detailed evaluation results, please refer to [GitHub](https://github.com/baichuan-inc/Baichuan2/blob/main/README_EN.md). ### 7B Model Results | | **C-Eval** | **MMLU** | **CMMLU** | **Gaokao** | **AGIEval** | **BBH** | |:-----------------------:|:----------:|:--------:|:---------:|:----------:|:-----------:|:-------:| | | 5-shot | 5-shot | 5-shot | 5-shot | 5-shot | 3-shot | | **GPT-4** | 68.40 | 83.93 | 70.33 | 66.15 | 63.27 | 75.12 | | **GPT-3.5 Turbo** | 51.10 | 68.54 | 54.06 | 47.07 | 46.13 | 61.59 | | **LLaMA-7B** | 27.10 | 35.10 | 26.75 | 27.81 | 28.17 | 32.38 | | **LLaMA2-7B** | 28.90 | 45.73 | 31.38 | 25.97 | 26.53 | 39.16 | | **MPT-7B** | 27.15 | 27.93 | 26.00 | 26.54 | 24.83 | 35.20 | | **Falcon-7B** | 24.23 | 26.03 | 25.66 | 24.24 | 24.10 | 28.77 | | **ChatGLM2-6B** | 50.20 | 45.90 | 49.00 | 49.44 | 45.28 | 31.65 | | **[Baichuan-7B]** | 42.80 | 42.30 | 44.02 | 36.34 | 34.44 | 32.48 | | **[Baichuan2-7B-Base]** | 54.00 | 54.16 | 57.07 | 47.47 | 42.73 | 41.56 | ### 13B Model Results | | **C-Eval** | **MMLU** | **CMMLU** | **Gaokao** | **AGIEval** | **BBH** | |:---------------------------:|:----------:|:--------:|:---------:|:----------:|:-----------:|:-------:| | | 5-shot | 5-shot | 5-shot | 5-shot | 5-shot | 3-shot | | **GPT-4** | 68.40 | 83.93 | 70.33 | 66.15 | 63.27 | 75.12 | | **GPT-3.5 Turbo** | 51.10 | 68.54 | 54.06 | 47.07 | 46.13 | 61.59 | | **LLaMA-13B** | 28.50 | 46.30 | 31.15 | 28.23 | 28.22 | 37.89 | | **LLaMA2-13B** | 35.80 | 55.09 | 37.99 | 30.83 | 32.29 | 46.98 | | **Vicuna-13B** | 32.80 | 52.00 | 36.28 | 30.11 | 31.55 | 43.04 | | **Chinese-Alpaca-Plus-13B** | 38.80 | 43.90 | 33.43 | 34.78 | 35.46 | 28.94 | | **XVERSE-13B** | 53.70 | 55.21 | 58.44 | 44.69 | 42.54 | 38.06 | | **[Baichuan-13B-Base]** | 52.40 | 51.60 | 55.30 | 49.69 | 43.20 | 43.01 | | **[Baichuan2-13B-Base]** | 58.10 | 59.17 | 61.97 | 54.33 | 48.17 | 48.78 | ## 训练过程模型/Training Dynamics 除了训练了 2.6 万亿 Tokens 的 [Baichuan2-7B-Base](https://huggingface.co/baichuan-inc/Baichuan2-7B-Base) 模型,我们还提供了在此之前的另外 11 个中间过程的模型(分别对应训练了约 0.2 ~ 2.4 万亿 Tokens)供社区研究使用 ([训练过程checkpoint下载](https://huggingface.co/baichuan-inc/Baichuan2-7B-Intermediate-Checkpoints))。下图给出了这些 checkpoints 在 C-Eval、MMLU、CMMLU 三个 benchmark 上的效果变化: In addition to the [Baichuan2-7B-Base](https://huggingface.co/baichuan-inc/Baichuan2-7B-Base) model trained on 2.6 trillion tokens, we also offer 11 additional intermediate-stage models for community research, corresponding to training on approximately 0.2 to 2.4 trillion tokens each ([Intermediate Checkpoints Download](https://huggingface.co/baichuan-inc/Baichuan2-7B-Intermediate-Checkpoints)). The graph below shows the performance changes of these checkpoints on three benchmarks: C-Eval, MMLU, and CMMLU. ![checkpoint](https://huggingface.co/baichuan-inc/Baichuan2-7B-Base/resolve/main/checkpoints.jpeg) # <span id="Terms">声明与协议/Terms and Conditions</span> ## 声明 我们在此声明,我们的开发团队并未基于 Baichuan 2 模型开发任何应用,无论是在 iOS、Android、网页或任何其他平台。我们强烈呼吁所有使用者,不要利用 Baichuan 2 模型进行任何危害国家社会安全或违法的活动。另外,我们也要求使用者不要将 Baichuan 2 模型用于未经适当安全审查和备案的互联网服务。我们希望所有的使用者都能遵守这个原则,确保科技的发展能在规范和合法的环境下进行。 我们已经尽我们所能,来确保模型训练过程中使用的数据的合规性。然而,尽管我们已经做出了巨大的努力,但由于模型和数据的复杂性,仍有可能存在一些无法预见的问题。因此,如果由于使用 Baichuan 2 开源模型而导致的任何问题,包括但不限于数据安全问题、公共舆论风险,或模型被误导、滥用、传播或不当利用所带来的任何风险和问题,我们将不承担任何责任。 We hereby declare that our team has not developed any applications based on Baichuan 2 models, not on iOS, Android, the web, or any other platform. We strongly call on all users not to use Baichuan 2 models for any activities that harm national / social security or violate the law. Also, we ask users not to use Baichuan 2 models for Internet services that have not undergone appropriate security reviews and filings. We hope that all users can abide by this principle and ensure that the development of technology proceeds in a regulated and legal environment. We have done our best to ensure the compliance of the data used in the model training process. However, despite our considerable efforts, there may still be some unforeseeable issues due to the complexity of the model and data. Therefore, if any problems arise due to the use of Baichuan 2 open-source models, including but not limited to data security issues, public opinion risks, or any risks and problems brought about by the model being misled, abused, spread or improperly exploited, we will not assume any responsibility. ## 协议 社区使用 Baichuan 2 模型需要遵循 [Apache 2.0](https://github.com/baichuan-inc/Baichuan2/blob/main/LICENSE) 和[《Baichuan 2 模型社区许可协议》](https://huggingface.co/baichuan-inc/Baichuan2-7B-Base/resolve/main/Baichuan%202%E6%A8%A1%E5%9E%8B%E7%A4%BE%E5%8C%BA%E8%AE%B8%E5%8F%AF%E5%8D%8F%E8%AE%AE.pdf)。Baichuan 2 模型支持商业用途,如果您计划将 Baichuan 2 模型或其衍生品用于商业目的,请您确认您的主体符合以下情况: 1. 您或您的关联方的服务或产品的日均用户活跃量(DAU)低于100万。 2. 您或您的关联方不是软件服务提供商、云服务提供商。 3. 您或您的关联方不存在将授予您的商用许可,未经百川许可二次授权给其他第三方的可能。 在符合以上条件的前提下,您需要通过以下联系邮箱 [email protected] ,提交《Baichuan 2 模型社区许可协议》要求的申请材料。审核通过后,百川将特此授予您一个非排他性、全球性、不可转让、不可再许可、可撤销的商用版权许可。 The community usage of Baichuan 2 model requires adherence to [Apache 2.0](https://github.com/baichuan-inc/Baichuan2/blob/main/LICENSE) and [Community License for Baichuan2 Model](https://huggingface.co/baichuan-inc/Baichuan2-7B-Base/resolve/main/Baichuan%202%E6%A8%A1%E5%9E%8B%E7%A4%BE%E5%8C%BA%E8%AE%B8%E5%8F%AF%E5%8D%8F%E8%AE%AE.pdf). The Baichuan 2 model supports commercial use. If you plan to use the Baichuan 2 model or its derivatives for commercial purposes, please ensure that your entity meets the following conditions: 1. The Daily Active Users (DAU) of your or your affiliate's service or product is less than 1 million. 2. Neither you nor your affiliates are software service providers or cloud service providers. 3. There is no possibility for you or your affiliates to grant the commercial license given to you, to reauthorize it to other third parties without Baichuan's permission. Upon meeting the above conditions, you need to submit the application materials required by the Baichuan 2 Model Community License Agreement via the following contact email: [email protected]. Once approved, Baichuan will hereby grant you a non-exclusive, global, non-transferable, non-sublicensable, revocable commercial copyright license. [GitHub]:https://github.com/baichuan-inc/Baichuan2 [Baichuan2]:https://github.com/baichuan-inc/Baichuan2 [Baichuan-7B]:https://huggingface.co/baichuan-inc/Baichuan-7B [Baichuan2-7B-Base]:https://huggingface.co/baichuan-inc/Baichuan2-7B-Base [Baichuan2-7B-Chat]:https://huggingface.co/baichuan-inc/Baichuan2-7B-Chat [Baichuan2-7B-Chat-4bits]:https://huggingface.co/baichuan-inc/Baichuan2-7B-Chat-4bits [Baichuan-13B-Base]:https://huggingface.co/baichuan-inc/Baichuan-13B-Base [Baichuan2-13B-Base]:https://huggingface.co/baichuan-inc/Baichuan2-13B-Base [Baichuan2-13B-Chat]:https://huggingface.co/baichuan-inc/Baichuan2-13B-Chat [Baichuan2-13B-Chat-4bits]:https://huggingface.co/baichuan-inc/Baichuan2-13B-Chat-4bits [通用]:https://github.com/baichuan-inc/Baichuan2#%E9%80%9A%E7%94%A8%E9%A2%86%E5%9F%9F [法律]:https://github.com/baichuan-inc/Baichuan2#%E6%B3%95%E5%BE%8B%E5%8C%BB%E7%96%97 [医疗]:https://github.com/baichuan-inc/Baichuan2#%E6%B3%95%E5%BE%8B%E5%8C%BB%E7%96%97 [数学]:https://github.com/baichuan-inc/Baichuan2#%E6%95%B0%E5%AD%A6%E4%BB%A3%E7%A0%81 [代码]:https://github.com/baichuan-inc/Baichuan2#%E6%95%B0%E5%AD%A6%E4%BB%A3%E7%A0%81 [多语言翻译]:https://github.com/baichuan-inc/Baichuan2#%E5%A4%9A%E8%AF%AD%E8%A8%80%E7%BF%BB%E8%AF%91 [《Baichuan 2 模型社区许可协议》]:https://huggingface.co/baichuan-inc/Baichuan2-7B-Base/blob/main/Baichuan%202%E6%A8%A1%E5%9E%8B%E7%A4%BE%E5%8C%BA%E8%AE%B8%E5%8F%AF%E5%8D%8F%E8%AE%AE.pdf [邮件申请]: mailto:[email protected] [Email]: mailto:[email protected] [[email protected]]: mailto:[email protected] [训练过程heckpoint下载]: https://huggingface.co/baichuan-inc/Baichuan2-7B-Intermediate-Checkpoints [百川智能]: https://www.baichuan-ai.com
[ -0.35887157917022705, -0.7408196330070496, 0.02707388624548912, 0.4051031768321991, -0.2704508900642395, -0.045614756643772125, -0.31143853068351746, -0.422341525554657, 0.2842017412185669, 0.11235086619853973, -0.48526236414909363, -0.5208089351654053, -0.6673547625541687, -0.05039191618561745, 0.08873205631971359, 0.9522279500961304, -0.018330156803131104, 0.031651824712753296, 0.24844248592853546, -0.14188767969608307, -0.6271435618400574, -0.30802613496780396, -0.8404998183250427, -0.22626808285713196, 0.26954385638237, 0.29490673542022705, 0.7426795363426208, 0.6508186459541321, 0.7419211268424988, 0.26263508200645447, -0.2488989233970642, 0.2517094910144806, -0.4262087345123291, -0.20850513875484467, 0.3301946222782135, -0.4934675395488739, -0.8042562007904053, 0.020629560574889183, 0.380367636680603, 0.3828013837337494, -0.038154397159814835, 0.2786412835121155, 0.3095022737979889, 0.5196706652641296, -0.350985050201416, 0.35313522815704346, -0.25995299220085144, -0.0777440071105957, -0.2020854353904724, -0.013662180863320827, -0.26506227254867554, -0.358920156955719, 0.1038958802819252, -0.6238062977790833, 0.13747172057628632, 0.06219109147787094, 1.5698457956314087, -0.06452712416648865, -0.3924678862094879, -0.12381520867347717, -0.30621621012687683, 0.9462092518806458, -1.13690185546875, 0.20477412641048431, 0.38821491599082947, 0.22552594542503357, -0.1606389582157135, -0.8791894912719727, -0.5106939673423767, -0.062037110328674316, -0.5298969745635986, 0.3922554850578308, -0.23705986142158508, -0.19413259625434875, 0.07369080185890198, 0.45970800518989563, -0.7321558594703674, 0.01746053248643875, -0.6129733920097351, -0.17254269123077393, 0.8643292784690857, 0.26647984981536865, 0.32858479022979736, -0.49922487139701843, -0.5237536430358887, -0.0522540882229805, -0.5335817337036133, 0.4003736972808838, 0.026161978021264076, 0.16023489832878113, -0.6580317616462708, 0.35790714621543884, -0.08813989907503128, 0.4967188239097595, 0.19161184132099152, -0.21309131383895874, 0.5882930159568787, -0.6444531083106995, -0.34381699562072754, -0.3256188631057739, 1.315407156944275, 0.5765162110328674, -0.22043490409851074, 0.1917738914489746, -0.19602707028388977, -0.27251580357551575, -0.3707744777202606, -0.9545584917068481, -0.4274548292160034, 0.6125209927558899, -0.8285197019577026, -0.42193353176116943, 0.1690942347049713, -0.8075448274612427, -0.02591027319431305, -0.02884090133011341, 0.4821881651878357, -0.6642831563949585, -0.6206838488578796, -0.06346523016691208, -0.056116875261068344, 0.3131032884120941, 0.27689534425735474, -0.9318518042564392, 0.23753085732460022, 0.5463765859603882, 1.1532695293426514, -0.11253050714731216, -0.42960411310195923, -0.12895773351192474, -0.027178922668099403, -0.43745529651641846, 0.5875394344329834, -0.01068489532917738, -0.37292835116386414, -0.187740296125412, 0.33679428696632385, -0.20567204058170319, -0.4286178946495056, 0.3800065219402313, -0.22951427102088928, 0.1766088306903839, -0.4717329144477844, -0.4184359312057495, -0.21179668605327606, 0.4331669807434082, -0.6379225850105286, 1.1970419883728027, 0.0631333589553833, -0.9301035404205322, 0.2530745565891266, -0.5749711394309998, -0.316714346408844, -0.20958547294139862, 0.05091880261898041, -0.5682888031005859, -0.4478745460510254, 0.3670578896999359, 0.5212976932525635, -0.4980419874191284, 0.1541333943605423, -0.14604438841342926, -0.3496212661266327, 0.16386260092258453, -0.33611711859703064, 1.2899420261383057, 0.4259190261363983, -0.6530662775039673, 0.23118312656879425, -0.7097176313400269, -0.00015955710841808468, 0.4785958528518677, -0.3132764399051666, 0.055096812546253204, -0.1330910176038742, 0.07754471153020859, 0.37699827551841736, 0.4008260667324066, -0.20584183931350708, 0.11236254125833511, -0.48095977306365967, 0.7374745011329651, 0.8917197585105896, 0.09773967415094376, 0.2934894263744354, -0.7013797760009766, 0.3687848150730133, 0.37262067198753357, 0.45625513792037964, -0.32111454010009766, -0.7408646941184998, -1.0920578241348267, -0.3302471935749054, 0.31883567571640015, 0.6415770649909973, -0.5630565881729126, 0.7253150939941406, -0.17229752242565155, -0.7036804556846619, -0.5426102876663208, -0.06164586544036865, 0.4228721261024475, 0.4084312319755554, 0.3849779963493347, -0.0996180847287178, -0.6120651364326477, -0.7724363207817078, 0.13687221705913544, -0.3026401400566101, 0.06416244804859161, 0.40887439250946045, 0.7794543504714966, -0.12688866257667542, 0.7398042678833008, -0.5673156380653381, -0.27665975689888, -0.38484084606170654, -0.07100053876638412, 0.5217694044113159, 0.6073846817016602, 0.7490771412849426, -0.7129092812538147, -0.861274242401123, 0.21884724497795105, -0.8635839223861694, 0.16056253015995026, -0.11438595503568649, -0.40882107615470886, 0.40796881914138794, 0.16039220988750458, -0.677811861038208, 0.5283774137496948, 0.6480584144592285, -0.367230623960495, 0.8039013147354126, -0.2550393342971802, 0.32830071449279785, -1.3019130229949951, 0.25306522846221924, -0.060888469219207764, 0.03763073310256004, -0.6118593215942383, 0.07243718206882477, 0.22988520562648773, 0.18081609904766083, -0.4664710760116577, 0.799944281578064, -0.6934810876846313, 0.3708269000053406, 0.06524665653705597, 0.34573835134506226, 0.09735792875289917, 0.7061077952384949, 0.009230331517755985, 0.8084596991539001, 0.7031934857368469, -0.6483672261238098, 0.5300337076187134, 0.429167777299881, -0.3445437550544739, 0.06176963075995445, -0.7618178129196167, -0.036196380853652954, 0.18679668009281158, 0.26396244764328003, -1.165236234664917, -0.22012951970100403, 0.5662028789520264, -0.8294567465782166, 0.2561397850513458, -0.17798662185668945, -0.2910558879375458, -0.7168538570404053, -0.6358333826065063, 0.10800909996032715, 0.5707801580429077, -0.5046831965446472, 0.3238178789615631, 0.18890537321567535, -0.022477516904473305, -0.6387876868247986, -0.818702757358551, -0.19323793053627014, -0.2384215146303177, -0.9436681270599365, 0.3175603449344635, -0.0406513512134552, -0.06621663272380829, -0.05621754005551338, 0.027992920950055122, -0.040843669325113297, 0.0664505586028099, 0.1307256817817688, 0.6007423400878906, -0.3110261559486389, -0.19797368347644806, -0.12465596199035645, 0.0026542730629444122, -0.01178385317325592, -0.14910262823104858, 0.7454339265823364, -0.09606348723173141, 0.015921398997306824, -0.6153361201286316, 0.04339507967233658, 0.46112146973609924, -0.5365636944770813, 1.0431764125823975, 0.6703351140022278, -0.37842854857444763, 0.14342838525772095, -0.48647716641426086, -0.1956002563238144, -0.4899519979953766, 0.3826029598712921, -0.38943028450012207, -0.6200178861618042, 0.8769949078559875, 0.3543514907360077, 0.33708807826042175, 0.7437602877616882, 0.7131739258766174, -0.040596917271614075, 0.9324334263801575, 0.20053240656852722, -0.15773387253284454, 0.4211876690387726, -0.8134544491767883, 0.10811059176921844, -0.8908082842826843, -0.5165620446205139, -0.40671372413635254, -0.29474449157714844, -0.6269271373748779, -0.44597533345222473, 0.35807034373283386, 0.09845790266990662, -0.46627092361450195, 0.5801913142204285, -0.527948260307312, 0.00007693421503063291, 0.7285701036453247, 0.33177149295806885, 0.05315146967768669, -0.19912435114383698, -0.07883170247077942, -0.0304034985601902, -0.6362001299858093, -0.334541916847229, 1.2521560192108154, 0.4311162829399109, 0.6343515515327454, 0.2800736427307129, 0.5076392889022827, 0.09152103215456009, 0.1696837842464447, -0.6202649474143982, 0.3660983443260193, -0.04391973465681076, -0.888433039188385, -0.2096991389989853, -0.5050434470176697, -1.014544129371643, 0.362958163022995, -0.1583438217639923, -0.8880891799926758, 0.12991395592689514, 0.015652233734726906, -0.5602148175239563, 0.387996107339859, -0.7716830968856812, 0.9657474160194397, -0.4147058129310608, -0.5538145303726196, -0.009385770186781883, -0.8463418483734131, 0.5922849178314209, 0.11580430716276169, 0.28208446502685547, -0.10114646703004837, 0.17448000609874725, 0.933642566204071, -0.6981154680252075, 0.6220235824584961, -0.18616507947444916, -0.03655131906270981, 0.578892707824707, 0.0422278568148613, 0.7410221099853516, 0.1945594698190689, -0.13554315268993378, 0.35522031784057617, 0.11608575284481049, -0.5153254270553589, -0.4555926024913788, 0.6700364351272583, -0.9428886771202087, -0.6645150184631348, -0.5571416020393372, -0.44097453355789185, 0.15921109914779663, 0.3805381655693054, 0.6267185211181641, 0.33033016324043274, 0.10989747941493988, 0.23537905514240265, 0.49717986583709717, -0.3889622390270233, 0.6129403114318848, 0.3981530964374542, -0.2445787787437439, -0.6102703213691711, 0.8236700296401978, 0.1720077246427536, 0.44892463088035583, 0.3395157754421234, 0.2335878610610962, -0.26239967346191406, -0.3891494870185852, -0.48741501569747925, 0.3748205900192261, -0.4520154893398285, -0.28560933470726013, -0.6241228580474854, -0.47543567419052124, -0.9513938426971436, -0.04769490659236908, -0.3330438435077667, -0.2953183352947235, -0.2874342203140259, -0.15865333378314972, 0.41782519221305847, 0.38952407240867615, -0.20614632964134216, 0.27754905819892883, -0.8281277418136597, 0.21258573234081268, 0.0677875429391861, 0.12266125530004501, 0.16783110797405243, -0.7713285088539124, -0.5422245860099792, 0.371719628572464, -0.5689736008644104, -0.7771046161651611, 0.6528081297874451, 0.0006595207378268242, 0.5657974481582642, 0.6398954391479492, 0.02325969561934471, 0.7941940426826477, -0.2774871289730072, 1.1612200736999512, 0.3712995648384094, -0.8183160424232483, 0.6978368759155273, -0.46759408712387085, -0.01088646985590458, 0.22845223546028137, 0.36350083351135254, -0.6661170125007629, -0.2595900297164917, -0.6133873462677002, -0.8385547995567322, 1.0878335237503052, 0.5495886206626892, -0.013118039816617966, 0.12025707215070724, 0.19121213257312775, -0.1830277144908905, 0.05116996169090271, -0.8547531962394714, -0.8282945156097412, -0.3465917110443115, -0.07872967422008514, 0.08330796658992767, -0.20661185681819916, -0.0561457984149456, -0.3697415888309479, 0.8917823433876038, 0.21718987822532654, 0.483553022146225, 0.2532048225402832, -0.011318734847009182, 0.04516628012061119, -0.10629286617040634, 0.49152031540870667, 0.5868834257125854, -0.4547020196914673, -0.2754000723361969, 0.18944936990737915, -0.6539440751075745, -0.00619386974722147, 0.16596460342407227, -0.38485783338546753, 0.045637160539627075, 0.4335055649280548, 0.892933189868927, 0.08303802460432053, -0.37720757722854614, 0.6087450385093689, -0.02920396998524666, -0.24705563485622406, -0.24955207109451294, 0.0837046205997467, 0.06144294515252113, 0.240204855799675, 0.2651313841342926, -0.026796068996191025, -0.015616796910762787, -0.5503994822502136, 0.1402018517255783, 0.23094762861728668, -0.2482912689447403, -0.2782454490661621, 1.010834813117981, 0.21989990770816803, 0.0029361837077885866, 0.5725192427635193, -0.1849614828824997, -0.6130005121231079, 0.9300876259803772, 0.4462096095085144, 0.674582302570343, -0.33291566371917725, 0.14622484147548676, 1.0425196886062622, 0.3680831789970398, -0.1653125137090683, 0.09591805934906006, 0.22144167125225067, -0.5832602977752686, 0.06621358543634415, -0.4129766821861267, 0.04200173541903496, 0.26406407356262207, -0.6264297962188721, 0.6045756340026855, -0.47727182507514954, -0.4178144633769989, -0.09590597450733185, 0.45567065477371216, -0.5099675059318542, 0.37424328923225403, 0.0670919194817543, 0.9885627031326294, -0.6287994384765625, 0.891381025314331, 0.48507094383239746, -0.7980356812477112, -1.1801360845565796, -0.14251826703548431, 0.09325230866670609, -0.8027446866035461, 0.456415593624115, 0.14402633905410767, 0.30627408623695374, -0.11009048670530319, -0.5280215740203857, -1.0193192958831787, 1.600308895111084, 0.01056626532226801, -0.47976818680763245, -0.10808852314949036, -0.004297865554690361, 0.4467964470386505, 0.00874709989875555, 0.6555790305137634, 0.6762762665748596, 0.49502357840538025, 0.11315455287694931, -1.1447020769119263, 0.260122150182724, -0.6108197569847107, -0.09244390577077866, -0.07703012228012085, -1.4690903425216675, 1.3817496299743652, -0.2512519657611847, -0.07162515819072723, 0.21855390071868896, 0.7868679165840149, 0.5157458782196045, 0.18780362606048584, 0.2356986254453659, 0.4318731427192688, 0.7207938432693481, -0.40179526805877686, 0.8940302133560181, -0.4692228436470032, 0.8087920546531677, 0.9034571051597595, 0.07047750055789948, 0.6596983671188354, 0.11485881358385086, -0.5775340795516968, 0.49794065952301025, 1.0056649446487427, -0.29053995013237, 0.49790266156196594, -0.14320537447929382, -0.20781634747982025, -0.0706765353679657, 0.22366516292095184, -0.71308833360672, 0.1793379932641983, 0.27545788884162903, -0.2864453196525574, 0.10635607689619064, -0.2182755470275879, 0.4838423728942871, -0.3553166687488556, -0.14182212948799133, 0.5466101169586182, 0.05647483095526695, -0.6959750056266785, 0.9444921016693115, 0.22382843494415283, 0.9763946533203125, -0.7664046287536621, 0.10524430871009827, -0.5947753190994263, 0.18207523226737976, -0.33494436740875244, -0.7691889405250549, -0.02289830707013607, -0.016880858689546585, -0.020863724872469902, 0.2729586958885193, 0.5480090379714966, -0.29013505578041077, -0.4907226264476776, 0.43318095803260803, 0.1919456273317337, 0.14652200043201447, 0.20493440330028534, -0.9401827454566956, 0.014303338713943958, 0.1944807916879654, -0.6176720261573792, 0.19770459830760956, 0.5068671107292175, 0.03540406748652458, 0.7491424679756165, 0.6663089394569397, 0.04590758681297302, 0.26768288016319275, -0.1577806919813156, 0.9272664189338684, -0.6621196269989014, -0.47639262676239014, -0.8906798958778381, 0.7283095717430115, -0.153970867395401, -0.504341721534729, 1.0160099267959595, 0.863349974155426, 0.757010281085968, 0.027656370773911476, 0.9357463717460632, -0.5757477283477783, 0.39760124683380127, -0.48499202728271484, 1.0333595275878906, -0.7580992579460144, 0.12409238517284393, -0.34082046151161194, -0.5292412638664246, -0.25881901383399963, 0.7225973606109619, -0.25034716725349426, 0.16298224031925201, 0.6887710094451904, 0.9674186110496521, 0.10767539590597153, -0.13999058306217194, 0.11803870648145676, 0.47534555196762085, 0.5463729500770569, 0.9865193963050842, 0.5057500004768372, -1.0708177089691162, 0.7884929180145264, -0.6844644546508789, -0.24521321058273315, -0.40795275568962097, -0.4033825695514679, -1.027463674545288, -0.597306489944458, -0.29090240597724915, -0.7375262975692749, -0.19160084426403046, 0.9980233311653137, 0.8274831175804138, -0.9934125542640686, -0.4091717302799225, 0.09099126607179642, 0.056692857295274734, -0.4214363694190979, -0.2594170868396759, 0.8389295935630798, -0.2901448905467987, -0.9513055682182312, -0.003304366022348404, 0.030014503747224808, 0.1508828103542328, 0.052383702248334885, -0.43750128149986267, -0.42897316813468933, 0.006882091518491507, 0.4599016010761261, 0.21327923238277435, -0.7444300651550293, -0.0432874895632267, 0.2826416492462158, -0.33727818727493286, 0.2181876003742218, 0.26582521200180054, -0.3289502263069153, 0.26191002130508423, 0.566210925579071, 0.13658054172992706, 0.5409866571426392, -0.016695762053132057, 0.26200348138809204, -0.3505658507347107, 0.3775273859500885, -0.12768377363681793, 0.4969032406806946, 0.06455684453248978, -0.324362576007843, 0.6737790107727051, 0.40011972188949585, -0.4910932183265686, -0.8360361456871033, -0.3220875859260559, -1.0717599391937256, -0.3077682852745056, 1.405571699142456, -0.5055343508720398, -0.35856255888938904, 0.17278972268104553, -0.4540156126022339, 0.5540669560432434, -0.43161967396736145, 0.7272994518280029, 0.8099667429924011, 0.09257068485021591, -0.18757370114326477, -0.6223785281181335, 0.39445531368255615, 0.27391037344932556, -0.8439477682113647, 0.03785041719675064, 0.22956351935863495, 0.38755032420158386, 0.10428514331579208, 0.7364513278007507, -0.16872692108154297, 0.4084305167198181, 0.09474202990531921, 0.05346163734793663, -0.09816423803567886, -0.041070356965065, -0.013916600495576859, -0.30763792991638184, -0.18715128302574158, -0.47382819652557373 ]
WizardLM/WizardLM-70B-V1.0
WizardLM
2023-11-26T15:17:12Z
15,312
172
transformers
[ "transformers", "pytorch", "llama", "text-generation", "arxiv:2304.12244", "arxiv:2306.08568", "arxiv:2308.09583", "license:llama2", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-08-09T05:26:23Z
--- license: llama2 --- ## WizardLM: Empowering Large Pre-Trained Language Models to Follow Complex Instructions <p style="font-size:28px;" align="center"> 🏠 <a href="https://wizardlm.github.io/" target="_blank">Home Page</a> </p> <p align="center"> 🤗 <a href="https://huggingface.co/WizardLM" target="_blank">HF Repo</a> •🐱 <a href="https://github.com/nlpxucan/WizardLM" target="_blank">Github Repo</a> • 🐦 <a href="https://twitter.com/WizardLM_AI" target="_blank">Twitter</a> • 📃 <a href="https://arxiv.org/abs/2304.12244" target="_blank">[WizardLM]</a> • 📃 <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> • 📃 <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a> <br> </p> <p align="center"> 👋 Join our <a href="https://discord.gg/VZjjHtWrKs" target="_blank">Discord</a> </p> ## Unofficial Video Introductions Thanks to the enthusiastic friends, their video introductions are more lively and interesting. 1. [NEW WizardLM 70b 🔥 Giant Model...Insane Performance](https://www.youtube.com/watch?v=WdpiIXrO4_o) 2. [GET WizardLM NOW! 7B LLM KING That Can Beat ChatGPT! I'm IMPRESSED!](https://www.youtube.com/watch?v=SaJ8wyKMBds) 3. [WizardLM: Enhancing Large Language Models to Follow Complex Instructions](https://www.youtube.com/watch?v=I6sER-qivYk) 4. [WizardCoder AI Is The NEW ChatGPT's Coding TWIN!](https://www.youtube.com/watch?v=XjsyHrmd3Xo) ## News - 🔥🔥🔥[2023/08/26] We released **WizardCoder-Python-34B-V1.0** , which achieves the **73.2 pass@1** and surpasses **GPT4 (2023/03/15)**, **ChatGPT-3.5**, and **Claude2** on the [HumanEval Benchmarks](https://github.com/openai/human-eval). For more details, please refer to [WizardCoder](https://github.com/nlpxucan/WizardLM/tree/main/WizardCoder). - [2023/06/16] We released **WizardCoder-15B-V1.0** , which surpasses **Claude-Plus (+6.8)**, **Bard (+15.3)** and **InstructCodeT5+ (+22.3)** on the [HumanEval Benchmarks](https://github.com/openai/human-eval). For more details, please refer to [WizardCoder](https://github.com/nlpxucan/WizardLM/tree/main/WizardCoder). | Model | Checkpoint | Paper | HumanEval | MBPP | Demo | License | | ----- |------| ---- |------|-------| ----- | ----- | | WizardCoder-Python-34B-V1.0 | 🤗 <a href="https://huggingface.co/WizardLM/WizardCoder-Python-34B-V1.0" target="_blank">HF Link</a> | 📃 <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 73.2 | 61.2 | [Demo](http://47.103.63.15:50085/) | <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama2</a> | | WizardCoder-15B-V1.0 | 🤗 <a href="https://huggingface.co/WizardLM/WizardCoder-15B-V1.0" target="_blank">HF Link</a> | 📃 <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 59.8 |50.6 | -- | <a href="https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement" target="_blank">OpenRAIL-M</a> | | WizardCoder-Python-13B-V1.0 | 🤗 <a href="https://huggingface.co/WizardLM/WizardCoder-Python-13B-V1.0" target="_blank">HF Link</a> | 📃 <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 64.0 | 55.6 | -- | <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama2</a> | | WizardCoder-Python-7B-V1.0 | 🤗 <a href="https://huggingface.co/WizardLM/WizardCoder-Python-7B-V1.0" target="_blank">HF Link</a> | 📃 <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 55.5 | 51.6 | [Demo](http://47.103.63.15:50088/) | <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama2</a> | | WizardCoder-3B-V1.0 | 🤗 <a href="https://huggingface.co/WizardLM/WizardCoder-3B-V1.0" target="_blank">HF Link</a> | 📃 <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 34.8 |37.4 | -- | <a href="https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement" target="_blank">OpenRAIL-M</a> | | WizardCoder-1B-V1.0 | 🤗 <a href="https://huggingface.co/WizardLM/WizardCoder-1B-V1.0" target="_blank">HF Link</a> | 📃 <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 23.8 |28.6 | -- | <a href="https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement" target="_blank">OpenRAIL-M</a> | - 🔥 [08/11/2023] We release **WizardMath** Models. - 🔥 Our **WizardMath-70B-V1.0** model slightly outperforms some closed-source LLMs on the GSM8K, including **ChatGPT 3.5**, **Claude Instant 1** and **PaLM 2 540B**. - 🔥 Our **WizardMath-70B-V1.0** model achieves **81.6 pass@1** on the [GSM8k Benchmarks](https://github.com/openai/grade-school-math), which is **24.8** points higher than the SOTA open-source LLM. - 🔥 Our **WizardMath-70B-V1.0** model achieves **22.7 pass@1** on the [MATH Benchmarks](https://github.com/hendrycks/math), which is **9.2** points higher than the SOTA open-source LLM. | Model | Checkpoint | Paper | GSM8k | MATH |Online Demo| License| | ----- |------| ---- |------|-------| ----- | ----- | | WizardMath-70B-V1.0 | 🤗 <a href="https://huggingface.co/WizardLM/WizardMath-70B-V1.0" target="_blank">HF Link</a> | 📃 <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a>| **81.6** | **22.7** |[Demo](http://47.103.63.15:50083/)| <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 </a> | | WizardMath-13B-V1.0 | 🤗 <a href="https://huggingface.co/WizardLM/WizardMath-13B-V1.0" target="_blank">HF Link</a> | 📃 <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a>| **63.9** | **14.0** |[Demo](http://47.103.63.15:50082/)| <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 </a> | | WizardMath-7B-V1.0 | 🤗 <a href="https://huggingface.co/WizardLM/WizardMath-7B-V1.0" target="_blank">HF Link</a> | 📃 <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a>| **54.9** | **10.7** | [Demo](http://47.103.63.15:50080/)| <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 </a>| <font size=4> | <sup>Model</sup> | <sup>Checkpoint</sup> | <sup>Paper</sup> |<sup>MT-Bench</sup> | <sup>AlpacaEval</sup> | <sup>GSM8k</sup> | <sup>HumanEval</sup> | <sup>License</sup>| | ----- |------| ---- |------|-------| ----- | ----- | ----- | | <sup>**WizardLM-70B-V1.0**</sup> | <sup>🤗 <a href="https://huggingface.co/WizardLM/WizardLM-70B-V1.0" target="_blank">HF Link</a> </sup>|<sup>📃**Coming Soon**</sup>| <sup>**7.78**</sup> | <sup>**92.91%**</sup> |<sup>**77.6%**</sup> | <sup> **50.6 pass@1**</sup>|<sup> <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 License </a></sup> | | <sup>WizardLM-13B-V1.2</sup> | <sup>🤗 <a href="https://huggingface.co/WizardLM/WizardLM-13B-V1.2" target="_blank">HF Link</a> </sup>| | <sup>7.06</sup> | <sup>89.17%</sup> |<sup>55.3%</sup> | <sup>36.6 pass@1</sup>|<sup> <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 License </a></sup> | | <sup>WizardLM-13B-V1.1</sup> |<sup> 🤗 <a href="https://huggingface.co/WizardLM/WizardLM-13B-V1.1" target="_blank">HF Link</a> </sup> | | <sup>6.76</sup> |<sup>86.32%</sup> | | <sup>25.0 pass@1</sup>| <sup>Non-commercial</sup>| | <sup>WizardLM-30B-V1.0</sup> | <sup>🤗 <a href="https://huggingface.co/WizardLM/WizardLM-30B-V1.0" target="_blank">HF Link</a></sup> | | <sup>7.01</sup> | | | <sup>37.8 pass@1</sup>| <sup>Non-commercial</sup> | | <sup>WizardLM-13B-V1.0</sup> | <sup>🤗 <a href="https://huggingface.co/WizardLM/WizardLM-13B-V1.0" target="_blank">HF Link</a> </sup> | | <sup>6.35</sup> | <sup>75.31%</sup> | | <sup> 24.0 pass@1 </sup> | <sup>Non-commercial</sup>| | <sup>WizardLM-7B-V1.0 </sup>| <sup>🤗 <a href="https://huggingface.co/WizardLM/WizardLM-7B-V1.0" target="_blank">HF Link</a> </sup> |<sup> 📃 <a href="https://arxiv.org/abs/2304.12244" target="_blank">[WizardLM]</a> </sup>| | | |<sup>19.1 pass@1 </sup>|<sup> Non-commercial</sup>| </font> - 🔥🔥🔥 [08/09/2023] We released **WizardLM-70B-V1.0** model. **Github Repo**: https://github.com/nlpxucan/WizardLM **Twitter**: https://twitter.com/WizardLM_AI/status/1689270108747976704 **Discord**: https://discord.gg/bpmeZD7V ❗<b>Note for model system prompts usage:</b> <b>WizardLM</b> adopts the prompt format from <b>Vicuna</b> and supports **multi-turn** conversation. The prompt should be as following: ``` 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: Hi ASSISTANT: Hello.</s>USER: Who are you? ASSISTANT: I am WizardLM.</s>...... ``` ## Inference WizardLM Demo Script We provide the inference WizardLM demo code [here](https://github.com/nlpxucan/WizardLM/tree/main/demo). Please cite the paper if you use the data or code from WizardLM. ``` @article{xu2023wizardlm, title={Wizardlm: Empowering large language models to follow complex instructions}, author={Xu, Can and Sun, Qingfeng and Zheng, Kai and Geng, Xiubo and Zhao, Pu and Feng, Jiazhan and Tao, Chongyang and Jiang, Daxin}, journal={arXiv preprint arXiv:2304.12244}, year={2023} } ``` ❗<b>To commen concern about dataset:</b> Recently, there have been clear changes in the open-source policy and regulations of our overall organization's code, data, and models. Despite this, we have still worked hard to obtain opening the weights of the model first, but the data involves stricter auditing and is in review with our legal team . Our researchers have no authority to publicly release them without authorization. Thank you for your understanding.
[ -0.7015137076377869, -0.5500915050506592, -0.025402788072824478, 0.3682135045528412, 0.12125719338655472, -0.09232068061828613, -0.017133530229330063, -0.43425965309143066, 0.20394684374332428, 0.3877539336681366, -0.7220900058746338, -0.7038071751594543, -0.5871573686599731, 0.19856302440166473, -0.17370259761810303, 0.8976165056228638, -0.14804662764072418, -0.19598892331123352, -0.15684297680854797, -0.13379226624965668, -0.20221902430057526, -0.4748886525630951, -0.23831681907176971, -0.5154673457145691, 0.4110577702522278, 0.12822316586971283, 0.9410077929496765, 0.4636486768722534, 0.34812748432159424, 0.33666542172431946, -0.22233319282531738, 0.5717432498931885, -0.19158579409122467, -0.23508141934871674, 0.1850794404745102, -0.2693525552749634, -1.0278592109680176, -0.047779712826013565, 0.6527136564254761, 0.3987056314945221, -0.02847030758857727, 0.40557944774627686, 0.04180683195590973, 0.9835412502288818, -0.6192817091941833, 0.3826829493045807, -0.2592690885066986, 0.2778511643409729, -0.13761006295681, -0.16227620840072632, 0.01353001594543457, -0.5794258117675781, -0.037669382989406586, -0.8787815570831299, -0.10262004286050797, 0.1203744187951088, 1.2080382108688354, 0.22667182981967926, -0.27396348118782043, -0.11203452944755554, -0.35259392857551575, 0.7257705330848694, -0.9206611514091492, 0.3511004149913788, 0.5359528064727783, 0.26228493452072144, -0.589167058467865, -0.6341014504432678, -0.9572558999061584, -0.1979779154062271, -0.10693776607513428, 0.09377139061689377, -0.3786240816116333, -0.1990128755569458, 0.4236588478088379, 0.3350934684276581, -0.6803320050239563, -0.10847608745098114, -0.44048577547073364, -0.17752587795257568, 0.8532446622848511, 0.2325287163257599, 0.5694772005081177, -0.20444615185260773, 0.0632823258638382, -0.25484219193458557, -0.5878208875656128, 0.17604301869869232, 0.436701238155365, -0.05722307786345482, -0.5244455337524414, 0.8311223387718201, -0.13196617364883423, 0.7016931176185608, 0.14518626034259796, -0.6646903157234192, 0.6726504564285278, -0.3419801890850067, -0.20630057156085968, -0.12649491429328918, 1.1687989234924316, 0.5078744292259216, 0.17279498279094696, 0.0847812220454216, 0.04869721084833145, -0.2599530816078186, 0.02442592941224575, -0.9387467503547668, -0.16783957183361053, 0.3325892686843872, -0.5659244060516357, -0.23414433002471924, -0.23591312766075134, -0.8787491321563721, -0.36429131031036377, -0.13136474788188934, 0.32739585638046265, -0.6719377636909485, -0.31605491042137146, 0.30993154644966125, -0.040985044091939926, 0.683643102645874, 0.6251509189605713, -0.9636600613594055, 0.2974279820919037, 0.600594162940979, 0.8149053454399109, -0.11877124756574631, -0.6286631226539612, -0.18197566270828247, 0.032513704150915146, -0.37489092350006104, 0.5750762820243835, -0.10040578991174698, -0.4445946216583252, -0.07746312022209167, -0.0687815397977829, -0.17157359421253204, -0.36199212074279785, 0.4248476028442383, -0.5101034045219421, 0.3461865186691284, -0.0874766930937767, -0.5371293425559998, -0.30872973799705505, 0.2871324121952057, -0.6638080477714539, 1.1729835271835327, 0.09181775152683258, -0.9839288592338562, -0.09207044541835785, -0.8286799192428589, -0.19867810606956482, -0.42838236689567566, -0.10516011714935303, -0.5864909291267395, -0.29571136832237244, 0.2853848338127136, 0.24890221655368805, -0.5102337002754211, -0.16970863938331604, -0.25209468603134155, -0.27762994170188904, 0.208750918507576, -0.5768619775772095, 1.4187607765197754, 0.247635155916214, -0.4363093972206116, -0.02922995388507843, -1.0298656225204468, 0.035153307020664215, 0.5778640508651733, -0.5629339218139648, 0.14238525927066803, -0.24461378157138824, -0.10913918912410736, 0.18161042034626007, 0.7079805135726929, -0.26533904671669006, 0.5292839407920837, -0.5107580423355103, -0.10050052404403687, 0.7659308314323425, -0.16995784640312195, 0.4098123013973236, -0.5129947066307068, 0.4761274755001068, -0.14420485496520996, 0.3977757394313812, 0.09936247766017914, -0.7059404850006104, -0.9499547481536865, -0.3469289243221283, 0.04501504451036453, 0.7917810678482056, -0.5612134337425232, 1.115830898284912, -0.326381117105484, -1.019646406173706, -0.6112825870513916, 0.3194606900215149, 0.4392170011997223, 0.5222271680831909, 0.6262264251708984, -0.2099442481994629, -0.39346644282341003, -0.7887322902679443, -0.026669560000300407, -0.3183741569519043, -0.08542477339506149, 0.3457953631877899, 0.6545208096504211, -0.5037174224853516, 0.9989308714866638, -0.7030297517776489, -0.27193722128868103, -0.13214878737926483, -0.2668547034263611, 0.43306735157966614, 0.6704859137535095, 0.6244279742240906, -0.6878767013549805, -0.5313704013824463, 0.19332052767276764, -0.9493143558502197, -0.11479335278272629, 0.0921318531036377, -0.3120670020580292, 0.2926459312438965, 0.047619178891181946, -0.9636274576187134, 0.7624399662017822, 0.35215893387794495, -0.5493577718734741, 0.9288269281387329, -0.3524854779243469, 0.09492218494415283, -1.1432878971099854, 0.028688637539744377, -0.1649235486984253, 0.10087741911411285, -0.6524950861930847, 0.08805598318576813, 0.0019600617233663797, 0.2645135819911957, -0.65529865026474, 0.8282024264335632, -0.525687038898468, -0.06203624606132507, -0.051669348031282425, -0.15526770055294037, 0.17370417714118958, 0.8423250317573547, -0.12395903468132019, 0.7697681784629822, 0.8335627317428589, -0.49391233921051025, 0.606765627861023, 0.4101542830467224, -0.25321581959724426, 0.29093238711357117, -0.5790926814079285, 0.1102992594242096, 0.04968775808811188, 0.37972068786621094, -0.5631259679794312, -0.13700920343399048, 0.6324614882469177, -0.6467479467391968, 0.40131649374961853, -0.049179378896951675, -0.8339330554008484, -0.5918257236480713, -0.7137917876243591, 0.0653594583272934, 0.8513115048408508, -0.586134135723114, 0.7775509357452393, 0.32085520029067993, 0.322055846452713, -0.8673337697982788, -0.5366610884666443, -0.1327485889196396, -0.1189197301864624, -0.7810841798782349, 0.23873865604400635, -0.33673954010009766, -0.12198075652122498, -0.05663113296031952, -0.3027227222919464, -0.028862934559583664, 0.1506958305835724, 0.30379804968833923, 0.448652058839798, -0.24233239889144897, -0.4048830270767212, 0.058984238654375076, -0.1322457641363144, -0.04432709887623787, -0.2801741063594818, 0.5878808498382568, -0.32185980677604675, -0.612710177898407, -0.460550993680954, 0.08278097957372665, 0.5843881368637085, -0.31862673163414, 0.8829649090766907, 0.7654944062232971, -0.5164760947227478, 0.11709659546613693, -0.767194390296936, 0.13783256709575653, -0.6090800762176514, 0.18414293229579926, -0.4546207785606384, -0.8062826991081238, 0.5998026132583618, 0.19676193594932556, 0.3496825098991394, 0.6045971512794495, 0.7514608502388, 0.12657414376735687, 1.0211718082427979, 0.4685271680355072, -0.09045124799013138, 0.5366858243942261, -0.5817489624023438, 0.14850176870822906, -0.927516520023346, -0.5578437447547913, -0.5545194745063782, 0.032003454864025116, -0.5811716318130493, -0.7120440006256104, 0.38787931203842163, 0.6362861394882202, -0.6504342555999756, 0.649834930896759, -0.9286320805549622, 0.3760993778705597, 0.6000047326087952, -0.00707706855610013, 0.212615504860878, 0.18628394603729248, -0.3040195107460022, 0.2611899971961975, -0.44221818447113037, -0.657274067401886, 1.1492810249328613, 0.29236456751823425, 0.7115572690963745, 0.2626039385795593, 0.851786196231842, -0.021595202386379242, -0.0984199047088623, -0.40568453073501587, 0.7906447052955627, 0.3153199255466461, -0.5753957033157349, -0.45979949831962585, -0.2437712848186493, -1.1813207864761353, 0.49031519889831543, -0.22677332162857056, -1.2407214641571045, 0.33095020055770874, 0.05356912687420845, -0.2961353063583374, 0.5490468144416809, -0.6649118065834045, 0.9563366174697876, -0.1488247811794281, -0.45922091603279114, 0.0010238626273348927, -0.4602319002151489, 0.3159027099609375, 0.11639047414064407, 0.16821323335170746, -0.33604106307029724, -0.26555171608924866, 0.839975893497467, -1.1341664791107178, 0.7068392634391785, -0.05391281843185425, -0.23414573073387146, 0.6126420497894287, -0.02124825119972229, 0.5410994291305542, -0.1116771548986435, -0.134294793009758, 0.44078657031059265, 0.15545889735221863, -0.4856494069099426, -0.6963514089584351, 0.7624526619911194, -1.1846212148666382, -0.8220731616020203, -0.5400551557540894, -0.4053384065628052, -0.02467430755496025, 0.32789382338523865, 0.21797166764736176, 0.15195029973983765, 0.35058608651161194, -0.2183508574962616, 0.7491477131843567, -0.4138377904891968, 0.39726996421813965, 0.418881356716156, -0.3477160930633545, -0.4228658378124237, 1.0635484457015991, 0.14825880527496338, -0.04631396755576134, 0.4082713723182678, 0.23575055599212646, -0.1716359555721283, -0.48308461904525757, -0.7195366024971008, 0.3320918381214142, -0.8054347038269043, -0.41263076663017273, -0.8688536882400513, -0.5263788104057312, -0.6839509010314941, -0.3129971921443939, -0.41255983710289, -0.5606823563575745, -0.6491072177886963, 0.06864435225725174, 1.0975592136383057, 0.46648719906806946, -0.24770765006542206, -0.12852689623832703, -0.7990804314613342, 0.40365540981292725, 0.4246833622455597, 0.21277093887329102, 0.40342530608177185, -0.5466583967208862, -0.21435266733169556, -0.16074754297733307, -0.6186411380767822, -0.9454973936080933, 0.6173579692840576, -0.18874433636665344, 0.6005218625068665, 0.11604541540145874, -0.024940915405750275, 0.8972806334495544, -0.6946197748184204, 1.048711895942688, 0.5806559324264526, -0.8418850302696228, 0.49520033597946167, -0.18410904705524445, 0.3776453733444214, 0.2680811583995819, 0.3717488944530487, -0.44521692395210266, -0.1664918214082718, -0.4917561411857605, -0.7985423803329468, 0.7873125076293945, 0.33513084053993225, 0.052244652062654495, 0.14814774692058563, 0.12713558971881866, -0.028201129287481308, 0.005594531539827585, -0.6380051970481873, -0.8341049551963806, -0.3962896466255188, -0.2547242045402527, 0.30609312653541565, 0.03391142934560776, -0.005343875382095575, -0.534622311592102, 0.7917699217796326, -0.03488019108772278, 0.5201750993728638, 0.2866324484348297, -0.08870359510183334, -0.03247008100152016, 0.15917710959911346, 0.5427359938621521, 0.5411342978477478, -0.1401820182800293, -0.12519733607769012, 0.4727438688278198, -0.841335117816925, 0.25613856315612793, 0.35506752133369446, -0.25998836755752563, -0.15649503469467163, 0.5371195673942566, 0.8462309837341309, -0.001419664709828794, -0.5755637884140015, 0.6230078935623169, 0.1043129488825798, -0.21805055439472198, -0.5528756976127625, 0.30170363187789917, 0.3294854760169983, 0.3990047872066498, 0.43878716230392456, 0.08279447257518768, 0.21810053288936615, -0.3225415050983429, -0.01936030015349388, 0.42710405588150024, -0.046434592455625534, -0.16441071033477783, 0.7389315962791443, -0.21042905747890472, -0.4403668940067291, 0.1841953843832016, -0.3693564832210541, -0.697104275226593, 0.8214147090911865, 0.5071760416030884, 0.7747080326080322, 0.08218424767255783, -0.17102046310901642, 0.5795455574989319, 0.19251234829425812, -0.011001748964190483, 0.12654992938041687, -0.1238144189119339, -0.5131070613861084, -0.1993546485900879, -0.8492582440376282, -0.32807520031929016, -0.18512558937072754, -0.33385080099105835, 0.5968730449676514, -0.5580814480781555, 0.053064748644828796, -0.15793757140636444, 0.5146012902259827, -0.9984032511711121, -0.19990891218185425, 0.2437611222267151, 1.3098933696746826, -0.23744522035121918, 1.1278544664382935, 0.473807156085968, -0.7723000645637512, -1.0931532382965088, -0.17709724605083466, 0.35661864280700684, -0.9373929500579834, 0.5645203590393066, -0.06206575036048889, -0.12626877427101135, -0.14621590077877045, -0.5153659582138062, -1.0860979557037354, 1.5138930082321167, 0.21256788074970245, -0.3819788098335266, -0.36452433466911316, 0.037944648414850235, 0.43539106845855713, -0.13675348460674286, 0.6379831433296204, 0.6215780377388, 0.6886618137359619, 0.10756175220012665, -1.426249384880066, 0.2699204385280609, -0.5982640981674194, -0.04692332446575165, -0.18530166149139404, -0.9502811431884766, 0.9146140813827515, -0.16664649546146393, 0.08003946393728256, 0.2515217959880829, 0.7676780819892883, 0.8037990927696228, 0.2898205816745758, 0.20076778531074524, 0.5590193271636963, 0.8270007967948914, 0.1440342664718628, 1.3179633617401123, -0.26878002285957336, 0.45935168862342834, 0.7484913468360901, -0.07408709079027176, 0.6106806397438049, 0.19380339980125427, -0.6538232564926147, 0.6141842007637024, 0.663318932056427, -0.2006513923406601, 0.40117979049682617, 0.5331782698631287, -0.17805679142475128, 0.03160444647073746, 0.18348656594753265, -0.7579978704452515, -0.12110555171966553, 0.34014153480529785, 0.11815418303012848, -0.08715077489614487, -0.052337899804115295, 0.21163451671600342, -0.1644783914089203, -0.4169241189956665, 0.6849151253700256, 0.11471809446811676, -0.2968288064002991, 1.1675418615341187, -0.07802237570285797, 1.1650309562683105, -0.7569089531898499, -0.16570638120174408, -0.291915625333786, -0.017371566966176033, -0.525619626045227, -0.7570546865463257, -0.10279718041419983, 0.11912044137716293, -0.06921719014644623, 0.1794206202030182, 0.8092688322067261, -0.12944254279136658, -0.6886928677558899, 0.44334876537323, 0.3764277994632721, 0.4615420699119568, 0.40820086002349854, -1.012735366821289, 0.3899262547492981, 0.03341551125049591, -0.6792879104614258, 0.43689045310020447, 0.5443580746650696, -0.03548950329422951, 0.8281103372573853, 0.7718891501426697, 0.03800847381353378, 0.5110854506492615, -0.19349981844425201, 1.0083353519439697, -0.582243800163269, -0.05748734995722771, -0.9300103187561035, 0.6076026558876038, -0.2024109810590744, -0.27726924419403076, 1.1586544513702393, 0.6700819134712219, 0.8337958455085754, -0.13453836739063263, 0.6668040752410889, -0.13345445692539215, 0.2326129823923111, -0.2983984649181366, 1.01093590259552, -0.8803133368492126, 0.16466790437698364, -0.5215905904769897, -0.9233724474906921, -0.5349000096321106, 0.9802733659744263, -0.2515217959880829, 0.06540358811616898, 0.478564977645874, 1.11268949508667, 0.06060200184583664, -0.25152575969696045, 0.1989152580499649, -0.06790129840373993, 0.357012540102005, 0.8472370505332947, 0.6003293991088867, -0.6922107934951782, 0.7153158187866211, -0.37225615978240967, -0.13872656226158142, -0.3913344144821167, -0.6691216826438904, -1.153381586074829, -0.48760998249053955, -0.42191919684410095, -0.6983975768089294, -0.1881837248802185, 1.444146752357483, 0.6798153519630432, -0.7710421681404114, -0.3131128251552582, 0.08710481226444244, 0.6385669708251953, -0.22089651226997375, -0.20614519715309143, 0.8427626490592957, 0.10135944187641144, -0.9204990267753601, 0.25255468487739563, 0.1700497418642044, 0.3769482374191284, -0.3029417097568512, -0.7544460892677307, -0.19462908804416656, 0.25996828079223633, 0.4677261710166931, 0.6879216432571411, -0.8312658071517944, -0.05975157767534256, -0.02026919275522232, -0.2866511940956116, 0.1354042887687683, 0.24017590284347534, -0.5775970816612244, 0.12219545245170593, 0.5818625688552856, 0.5016343593597412, 0.5412606000900269, -0.5545132756233215, 0.09962419420480728, -0.19204199314117432, 0.1291058361530304, -0.014365837909281254, 0.5346344113349915, 0.15095067024230957, -0.3672064244747162, 0.6315379738807678, 0.1502789855003357, -0.45333200693130493, -0.8951501250267029, -0.1497301161289215, -1.047983169555664, -0.16485297679901123, 1.1663885116577148, -0.09560393542051315, -0.604798436164856, 0.06930402666330338, -0.46408966183662415, 0.3165566623210907, -0.5126895308494568, 0.39631351828575134, 0.4991544187068939, -0.2272273600101471, -0.08246780931949615, -0.5618309378623962, 0.5187740921974182, 0.0842241570353508, -0.8472904562950134, -0.02711537852883339, 0.5223014950752258, 0.2863314747810364, 0.6543770432472229, 0.8942559361457825, -0.3110385239124298, 0.3951885402202606, 0.21720147132873535, 0.4624294340610504, -0.35998082160949707, 0.05111541599035263, -0.36069509387016296, -0.030601052567362785, -0.019095642492175102, -0.18101923167705536 ]
TheBloke/EverythingLM-13B-V3-16K-GPTQ
TheBloke
2023-09-27T12:54:10Z
15,270
3
transformers
[ "transformers", "safetensors", "llama", "text-generation", "dataset:totally-not-an-llm/EverythingLM-data-V3", "base_model:totally-not-an-llm/EverythingLM-13b-V3-16k", "license:llama2", "text-generation-inference", "4-bit", "region:us" ]
text-generation
2023-09-23T20:32:44Z
--- license: llama2 datasets: - totally-not-an-llm/EverythingLM-data-V3 model_name: EverythingLM 13B V3 16K base_model: totally-not-an-llm/EverythingLM-13b-V3-16k inference: false model_creator: Kai Howard model_type: llama prompt_template: '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 --> # EverythingLM 13B V3 16K - GPTQ - Model creator: [Kai Howard](https://huggingface.co/totally-not-an-llm) - Original model: [EverythingLM 13B V3 16K](https://huggingface.co/totally-not-an-llm/EverythingLM-13b-V3-16k) <!-- description start --> ## Description This repo contains GPTQ model files for [Kai Howard's EverythingLM 13B V3 16K](https://huggingface.co/totally-not-an-llm/EverythingLM-13b-V3-16k). 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/EverythingLM-13B-V3-16K-AWQ) * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/EverythingLM-13B-V3-16K-GPTQ) * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/EverythingLM-13B-V3-16K-GGUF) * [Kai Howard's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/totally-not-an-llm/EverythingLM-13b-V3-16k) <!-- repositories-available end --> <!-- prompt-template start --> ## Prompt template: User-Assistant ``` 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 calibration dataset used during quantisation. Using a dataset more appropriate to the model's training can improve quantisation accuracy. Note that the GPTQ calibration 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/EverythingLM-13B-V3-16K-GPTQ/tree/main) | 4 | 128 | Yes | 0.1 | [c4](https://huggingface.co/datasets/allenai/c4) | 8192 | 7.26 GB | Yes | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. | | [gptq-4-32g-actorder_True](https://huggingface.co/TheBloke/EverythingLM-13B-V3-16K-GPTQ/tree/gptq-4-32g-actorder_True) | 4 | 32 | Yes | 0.1 | [c4](https://huggingface.co/datasets/allenai/c4) | 8192 | 8.00 GB | Yes | 4-bit, with Act Order and group size 32g. Gives highest possible inference quality, with maximum VRAM usage. | | [gptq-8--1g-actorder_True](https://huggingface.co/TheBloke/EverythingLM-13B-V3-16K-GPTQ/tree/gptq-8--1g-actorder_True) | 8 | None | Yes | 0.1 | [c4](https://huggingface.co/datasets/allenai/c4) | 8192 | 13.36 GB | No | 8-bit, with Act Order. No group size, to lower VRAM requirements. | | [gptq-8-128g-actorder_True](https://huggingface.co/TheBloke/EverythingLM-13B-V3-16K-GPTQ/tree/gptq-8-128g-actorder_True) | 8 | 128 | Yes | 0.1 | [c4](https://huggingface.co/datasets/allenai/c4) | 8192 | 13.65 GB | No | 8-bit, with group size 128g for higher inference quality and with Act Order for even higher accuracy. | | [gptq-8-32g-actorder_True](https://huggingface.co/TheBloke/EverythingLM-13B-V3-16K-GPTQ/tree/gptq-8-32g-actorder_True) | 8 | 32 | Yes | 0.1 | [c4](https://huggingface.co/datasets/allenai/c4) | 8192 | 14.54 GB | No | 8-bit, with group size 32g and Act Order for maximum inference quality. | | [gptq-4-64g-actorder_True](https://huggingface.co/TheBloke/EverythingLM-13B-V3-16K-GPTQ/tree/gptq-4-64g-actorder_True) | 4 | 64 | Yes | 0.1 | [c4](https://huggingface.co/datasets/allenai/c4) | 8192 | 7.51 GB | Yes | 4-bit, with Act Order and group size 64g. Uses less VRAM than 32g, but with slightly lower accuracy. | <!-- README_GPTQ.md-provided-files end --> <!-- README_GPTQ.md-download-from-branches start --> ## How to download, including from branches ### In text-generation-webui To download from the `main` branch, enter `TheBloke/EverythingLM-13B-V3-16K-GPTQ` in the "Download model" box. To download from another branch, add `:branchname` to the end of the download name, eg `TheBloke/EverythingLM-13B-V3-16K-GPTQ:gptq-4-32g-actorder_True` ### From the command line I recommend using the `huggingface-hub` Python library: ```shell pip3 install huggingface-hub ``` To download the `main` branch to a folder called `EverythingLM-13B-V3-16K-GPTQ`: ```shell mkdir EverythingLM-13B-V3-16K-GPTQ huggingface-cli download TheBloke/EverythingLM-13B-V3-16K-GPTQ --local-dir EverythingLM-13B-V3-16K-GPTQ --local-dir-use-symlinks False ``` To download from a different branch, add the `--revision` parameter: ```shell mkdir EverythingLM-13B-V3-16K-GPTQ huggingface-cli download TheBloke/EverythingLM-13B-V3-16K-GPTQ --revision gptq-4-32g-actorder_True --local-dir EverythingLM-13B-V3-16K-GPTQ --local-dir-use-symlinks False ``` <details> <summary>More advanced huggingface-cli download usage</summary> If you remove the `--local-dir-use-symlinks False` parameter, the files will instead be stored in the central Huggingface cache directory (default location on Linux is: `~/.cache/huggingface`), and symlinks will be added to the specified `--local-dir`, pointing to their real location in the cache. This allows for interrupted downloads to be resumed, and allows you to quickly clone the repo to multiple places on disk without triggering a download again. The downside, and the reason why I don't list that as the default option, is that the files are then hidden away in a cache folder and it's harder to know where your disk space is being used, and to clear it up if/when you want to remove a download model. The cache location can be changed with the `HF_HOME` environment variable, and/or the `--cache-dir` parameter to `huggingface-cli`. For more documentation on downloading with `huggingface-cli`, please see: [HF -> Hub Python Library -> Download files -> Download from the CLI](https://huggingface.co/docs/huggingface_hub/guides/download#download-from-the-cli). To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`: ```shell pip3 install hf_transfer ``` And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`: ```shell mkdir EverythingLM-13B-V3-16K-GPTQ HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/EverythingLM-13B-V3-16K-GPTQ --local-dir EverythingLM-13B-V3-16K-GPTQ --local-dir-use-symlinks False ``` Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command. </details> ### With `git` (**not** recommended) To clone a specific branch with `git`, use a command like this: ```shell git clone --single-branch --branch gptq-4-32g-actorder_True https://huggingface.co/TheBloke/EverythingLM-13B-V3-16K-GPTQ ``` Note that using Git with HF repos is strongly discouraged. It will be much slower than using `huggingface-hub`, and will use twice as much disk space as it has to store the model files twice (it stores every byte both in the intended target folder, and again in the `.git` folder as a blob.) <!-- 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/EverythingLM-13B-V3-16K-GPTQ`. - To download from a specific branch, enter for example `TheBloke/EverythingLM-13B-V3-16K-GPTQ:gptq-4-32g-actorder_True` - 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: `EverythingLM-13B-V3-16K-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.33.0 or later, Optimum 1.12.0 or later, and AutoGPTQ 0.4.2 or later. ```shell pip3 install transformers optimum 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 git checkout v0.4.2 pip3 install . ``` ### You can then use the following code ```python from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline model_name_or_path = "TheBloke/EverythingLM-13B-V3-16K-GPTQ" # To use a different branch, change revision # For example: revision="gptq-4-32g-actorder_True" 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'''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: Kai Howard's EverythingLM 13B V3 16K # EverythingLM-13b-V3-16k Introducing EverythingLM, a llama-2 based, general-purpose 13b model with 16k context thanks to LlongMa. The model is trained on the EverythingLM-V3 dataset, more info can be found on the dataset page. The model is completely uncensored. Despite being "uncensored", the base model might be resistant; you might have to prompt-engineer certain prompts. ### Notable features: - Automatically triggered CoT reasoning. - Verbose and detailed replies. - Creative stories. - Good prompt understanding. ### Differences from V2: - Much more uncensored. - Actual roleplaying ability now! - General all around improvements thanks to the new dataset. Check out the dataset for more info. ### Prompt format (Alpaca-chat): ``` USER: <prompt> ASSISTANT: ``` ### Future plans: - Highest priority right now is V3.1 with more optimized training and iterative dataset improvements based on testing. ### Note: Through testing V2, I realized some alignment data had leaked in, causing the model to be less cooperative then intended. This model should do much better due to stricter filetering.
[ -0.49587562680244446, -0.8390930891036987, 0.1977834552526474, 0.22625356912612915, -0.251472532749176, -0.18251098692417145, 0.0536145344376564, -0.5186285376548767, 0.3186684250831604, 0.35473692417144775, -0.5894232988357544, -0.5799981951713562, -0.38076305389404297, -0.041341327130794525, -0.19784042239189148, 1.0933774709701538, 0.13791975378990173, -0.24828366935253143, -0.02148556523025036, -0.286836177110672, -0.2025049775838852, -0.3951188921928406, -0.7651107907295227, -0.23739081621170044, 0.3954704999923706, 0.08881339430809021, 0.8848313689231873, 0.6297979950904846, 0.08027870208024979, 0.3459923267364502, -0.11591646075248718, -0.07820283621549606, -0.5487050414085388, -0.16479556262493134, 0.17558643221855164, -0.2167159467935562, -0.7264358401298523, 0.1333809345960617, 0.48946550488471985, 0.2154073268175125, -0.39750784635543823, 0.21810096502304077, 0.028315739706158638, 0.7531009316444397, -0.4340589940547943, 0.2093706727027893, -0.24748024344444275, 0.002713075140491128, -0.17912279069423676, 0.2309117466211319, -0.03276671841740608, -0.5106115937232971, 0.059693288058042526, -0.8584153652191162, 0.1814015805721283, -0.01567068323493004, 1.2414131164550781, 0.15122196078300476, -0.5303289294242859, 0.19850093126296997, -0.28411057591438293, 0.6350798010826111, -0.9082688093185425, 0.3045876920223236, 0.4517830014228821, 0.20122089982032776, -0.15776632726192474, -0.867598831653595, -0.5557199120521545, -0.0075745247304439545, -0.1745409518480301, 0.38800883293151855, -0.49801650643348694, 0.1099494993686676, 0.44947806000709534, 0.7787989377975464, -0.8709320425987244, -0.22128205001354218, -0.20384126901626587, -0.16448935866355896, 0.9044097065925598, 0.12262029945850372, 0.42566168308258057, -0.2577304244041443, -0.3214588761329651, -0.44439709186553955, -0.66730135679245, 0.1570541262626648, 0.3084818720817566, 0.043243687599897385, -0.6174455285072327, 0.40158066153526306, -0.2808550298213959, 0.535357654094696, 0.20805636048316956, -0.1086551770567894, 0.35139378905296326, -0.5859586596488953, -0.5147757530212402, -0.3883286416530609, 1.1519254446029663, 0.4097735285758972, -0.21649564802646637, 0.21353845298290253, -0.1090564951300621, -0.12567482888698578, 0.011369684711098671, -1.0197780132293701, -0.5452313423156738, 0.5464458465576172, -0.4880627691745758, -0.17133790254592896, -0.07507825642824173, -0.7366664409637451, -0.06981328874826431, -0.15817812085151672, 0.41691115498542786, -0.633082389831543, -0.4551360011100769, 0.04196182265877724, -0.31961697340011597, 0.546165943145752, 0.39631417393684387, -0.6371342539787292, 0.4684378206729889, 0.4094930589199066, 0.7246646881103516, 0.20694127678871155, -0.10435101389884949, -0.35951876640319824, 0.022986866533756256, -0.1090039610862732, 0.4241149425506592, -0.20781274139881134, -0.4268606901168823, -0.2530711591243744, 0.40894725918769836, -0.03995571658015251, -0.2665169835090637, 0.5573797225952148, -0.24157248437404633, 0.37809666991233826, -0.4776318073272705, -0.5090337991714478, -0.4425063133239746, 0.05800953134894371, -0.5852197408676147, 1.2150782346725464, 0.5735937356948853, -0.7814055681228638, 0.17624464631080627, -0.4418103098869324, -0.2647930085659027, 0.09805997461080551, -0.027774175629019737, -0.6698393821716309, -0.15424731373786926, 0.26721811294555664, 0.37439578771591187, -0.33178043365478516, 0.15199100971221924, -0.402841717004776, -0.21949654817581177, 0.06483731418848038, -0.2636508345603943, 1.36659836769104, 0.18018130958080292, -0.4934200346469879, 0.07891982793807983, -0.6138105392456055, 0.1393475979566574, 0.465299129486084, -0.15726712346076965, -0.022517260164022446, -0.37526798248291016, 0.16548998653888702, 0.13336551189422607, 0.21981096267700195, -0.37525978684425354, 0.47653594613075256, -0.26243916153907776, 0.6824701428413391, 0.6334102153778076, 0.04424233362078667, 0.308148592710495, -0.5290639400482178, 0.5629337430000305, 0.04894276708364487, 0.5583376288414001, 0.15193895995616913, -0.8103691935539246, -0.5775330662727356, -0.35322293639183044, 0.3238362967967987, 0.5799403786659241, -0.6996708512306213, 0.4481269121170044, -0.06850631535053253, -0.733197808265686, -0.3862664997577667, -0.09109179675579071, 0.40193089842796326, 0.3423559069633484, 0.45888182520866394, -0.40205979347229004, -0.2994993031024933, -0.7819198966026306, 0.07594802230596542, -0.41460713744163513, -0.06939440965652466, 0.5664312839508057, 0.6658303141593933, -0.2160828560590744, 0.6535624265670776, -0.6007914543151855, -0.17466144263744354, -0.010226733982563019, -0.014430261217057705, 0.3950735330581665, 0.6062268018722534, 0.8710408806800842, -0.7487843036651611, -0.5354423522949219, -0.10166830569505692, -0.6960722208023071, -0.07117431610822678, -0.0414218008518219, -0.48578324913978577, 0.31109631061553955, 0.025004781782627106, -1.136473536491394, 0.6549533009529114, 0.5040008425712585, -0.5661284327507019, 0.770050048828125, -0.19080300629138947, 0.14986595511436462, -1.0385093688964844, 0.0922616720199585, 0.2630045413970947, -0.298931360244751, -0.4129064977169037, 0.2828933000564575, -0.06158652529120445, 0.1009957566857338, -0.36409419775009155, 0.6727815866470337, -0.5607730150222778, 0.0055862669833004475, 0.16083240509033203, 0.050744641572237015, 0.2825067639350891, 0.5436496734619141, -0.20632976293563843, 0.7643193006515503, 0.5823184847831726, -0.4116169512271881, 0.5747755169868469, 0.48110342025756836, 0.10743612796068192, 0.36526331305503845, -0.8793463110923767, 0.11728259176015854, 0.08828872442245483, 0.44198861718177795, -0.9490872025489807, -0.3359244167804718, 0.6244672536849976, -0.5672385692596436, 0.5170783996582031, -0.423848956823349, -0.3273102045059204, -0.39518532156944275, -0.6317070126533508, 0.3075776696205139, 0.7796245813369751, -0.3319280743598938, 0.6098332405090332, 0.5003507733345032, -0.018105702474713326, -0.5743023157119751, -0.6479628086090088, -0.17513827979564667, -0.3705640137195587, -0.6914135217666626, 0.503791332244873, -0.14703723788261414, -0.058158017694950104, 0.041119806468486786, -0.016034910455346107, -0.026931211352348328, -0.10361307114362717, 0.3860659897327423, 0.3328676223754883, -0.2835988700389862, -0.24662542343139648, 0.04014667496085167, 0.057816989719867706, -0.00617986312136054, -0.3679243326187134, 0.32674166560173035, -0.40676289796829224, 0.021324077621102333, -0.41373109817504883, 0.22892774641513824, 0.39723342657089233, 0.020009638741612434, 0.6974925398826599, 0.8919779062271118, -0.3646303713321686, 0.16951286792755127, -0.530832827091217, -0.1982630491256714, -0.473518431186676, 0.06219082698225975, -0.22301416099071503, -0.8432230949401855, 0.6116424798965454, 0.3333060145378113, 0.17542921006679535, 0.7218945622444153, 0.41582703590393066, -0.012795677408576012, 0.8840155005455017, 0.37309688329696655, -0.26431891322135925, 0.43265601992607117, -0.5695765614509583, -0.1955336630344391, -0.8394950032234192, -0.10890842229127884, -0.31192779541015625, -0.23673401772975922, -0.8483248949050903, -0.5097052454948425, 0.36992108821868896, 0.29957303404808044, -0.7707201838493347, 0.5405281186103821, -0.7460706233978271, 0.21790073812007904, 0.6218194961547852, 0.37375834584236145, 0.13394740223884583, 0.013541443273425102, -0.06358272582292557, 0.07813002169132233, -0.6273500919342041, -0.1960989534854889, 1.0361953973770142, 0.36917752027511597, 0.4996866285800934, 0.3054216802120209, 0.5459922552108765, 0.11998306214809418, 0.29413536190986633, -0.5350549221038818, 0.547149121761322, 0.029862932860851288, -0.603384792804718, -0.3817513585090637, -0.6672951579093933, -0.9854029417037964, 0.23204870522022247, -0.13709017634391785, -0.8196769952774048, 0.33461838960647583, 0.07744991034269333, -0.44662654399871826, 0.2657330632209778, -0.6731346845626831, 1.044098973274231, -0.07261820137500763, -0.5771769285202026, 0.03632691502571106, -0.8500661253929138, 0.433942973613739, 0.28456252813339233, 0.0008195430273190141, -0.16481105983257294, -0.08013896644115448, 0.6723042726516724, -0.813692033290863, 0.6935238838195801, -0.34451425075531006, 0.007565019652247429, 0.5895369052886963, -0.021388227120041847, 0.6019578576087952, 0.2503148913383484, 0.02670786902308464, 0.3968158960342407, 0.33759042620658875, -0.5547605752944946, -0.34975600242614746, 0.5676301717758179, -0.9853980541229248, -0.56592857837677, -0.5314273834228516, -0.3924539387226105, 0.056435272097587585, 0.08934767544269562, 0.38022279739379883, 0.40088409185409546, -0.024552609771490097, 0.04918312653899193, 0.6245043873786926, -0.4088439643383026, 0.4280834496021271, 0.23954959213733673, -0.285293310880661, -0.6479500532150269, 0.8448666930198669, -0.022030914202332497, 0.1445908099412918, 0.18257075548171997, 0.1239522323012352, -0.4738537073135376, -0.40077558159828186, -0.7313747406005859, 0.526617705821991, -0.48820778727531433, -0.4124200940132141, -0.5930585265159607, -0.3085237443447113, -0.431540310382843, 0.20409710705280304, -0.3184356689453125, -0.6335610151290894, -0.39063864946365356, 0.037575431168079376, 0.8777288198471069, 0.4663970470428467, -0.21802003681659698, 0.33441126346588135, -0.8294773697853088, 0.2544478476047516, 0.36678585410118103, 0.2001698762178421, -0.056025825440883636, -0.6809464693069458, -0.054707951843738556, 0.16368216276168823, -0.6090706586837769, -0.9061179161071777, 0.7067437171936035, 0.26971668004989624, 0.36341583728790283, 0.3331506550312042, 0.12811806797981262, 0.824052095413208, -0.20642022788524628, 0.9561328887939453, 0.1624024361371994, -0.8610430955886841, 0.47555819153785706, -0.6265226006507874, 0.24766971170902252, 0.3883141279220581, 0.5608176589012146, -0.29229071736335754, -0.2645524740219116, -0.8631983399391174, -0.8432648181915283, 0.5501604676246643, 0.4830366373062134, -0.10334800183773041, 0.19550949335098267, 0.6295345425605774, -0.1603640913963318, 0.15442363917827606, -0.8960327506065369, -0.606803297996521, -0.38865479826927185, -0.09897145628929138, 0.19561362266540527, -0.024019736796617508, -0.36415815353393555, -0.6955465078353882, 1.0226962566375732, -0.2064867466688156, 0.7337357997894287, 0.2995666563510895, 0.1768530309200287, -0.12183552235364914, 0.006601306609809399, 0.30387622117996216, 0.6268643736839294, -0.25679588317871094, -0.30371102690696716, 0.08953075855970383, -0.7109354138374329, 0.05591515824198723, 0.4352502226829529, -0.14997410774230957, -0.15745782852172852, 0.08710557222366333, 0.703673779964447, -0.057956475764513016, -0.23163263499736786, 0.5217562317848206, -0.3021361529827118, -0.3332246243953705, -0.3355143666267395, 0.16225452721118927, 0.2736546993255615, 0.4592578113079071, 0.25937607884407043, -0.21455088257789612, 0.2989533245563507, -0.49183425307273865, 0.22275418043136597, 0.5060606598854065, -0.2318437546491623, -0.34437501430511475, 0.8458319306373596, -0.05965692922472954, 0.20773209631443024, 0.7500997185707092, -0.3773185908794403, -0.403685063123703, 0.7812349796295166, 0.39170172810554504, 0.8112437129020691, -0.20307113230228424, 0.34302976727485657, 0.6802729964256287, 0.1918327659368515, -0.029153339564800262, 0.3921453058719635, -0.022957919165492058, -0.5618937015533447, -0.40691590309143066, -0.6802601218223572, -0.3015270531177521, 0.3339409828186035, -0.7656182646751404, 0.15071895718574524, -0.518208920955658, -0.3714759349822998, -0.11354448646306992, 0.3157200813293457, -0.5092796087265015, 0.32374265789985657, 0.04794347286224365, 0.839550793170929, -0.721457302570343, 0.7997332215309143, 0.6873953938484192, -0.507533073425293, -1.0378084182739258, -0.1848854273557663, 0.24745263159275055, -0.7144662141799927, 0.10197886824607849, 0.02984357811510563, 0.28801146149635315, 0.09242759644985199, -0.7754074931144714, -0.8288266062736511, 1.4242533445358276, 0.3331236243247986, -0.5061787366867065, -0.05509810894727707, -0.07967692613601685, 0.3510202467441559, -0.1225321814417839, 0.6695870161056519, 0.6502033472061157, 0.378708153963089, 0.24300745129585266, -0.8367486000061035, 0.5082806348800659, -0.478925883769989, 0.06366651505231857, 0.28509941697120667, -1.0895458459854126, 0.9626724123954773, -0.019288651645183563, -0.18323911726474762, 0.16082359850406647, 0.6078934669494629, 0.5450804829597473, 0.14003950357437134, 0.35384222865104675, 0.8900123238563538, 0.7923653721809387, -0.4702216386795044, 1.2151135206222534, -0.29538965225219727, 0.6167351603507996, 0.7297476530075073, 0.09042834490537643, 0.5886357426643372, 0.13207057118415833, -0.7541182637214661, 0.4931541681289673, 0.9996710419654846, -0.1056547462940216, 0.24650278687477112, 0.08347281068563461, -0.3792434334754944, -0.18254855275154114, 0.12458658963441849, -0.6965692043304443, 0.008554903790354729, 0.40607643127441406, -0.1436486542224884, 0.06486184149980545, -0.28069210052490234, 0.13633549213409424, -0.5343219041824341, -0.20318955183029175, 0.601746678352356, 0.3500802516937256, -0.26077041029930115, 0.9218147993087769, -0.13632966578006744, 0.5618836283683777, -0.4994053840637207, -0.14056579768657684, -0.4210968017578125, -0.08969196677207947, -0.3460268974304199, -0.8000292778015137, 0.18618087470531464, -0.30578961968421936, -0.02411678619682789, -0.02870771661400795, 0.726719319820404, -0.21112734079360962, -0.36357957124710083, 0.35945913195610046, 0.46495431661605835, 0.34377604722976685, -0.21834653615951538, -1.215970516204834, 0.1904526650905609, 0.06239686906337738, -0.6306994557380676, 0.5007331967353821, 0.50624018907547, 0.21816997230052948, 0.6415904760360718, 0.59382164478302, -0.08432028442621231, -0.057292670011520386, -0.1778925061225891, 1.0382232666015625, -0.8201659917831421, -0.2996475398540497, -0.7728585004806519, 0.6513507962226868, -0.13517606258392334, -0.3944556713104248, 0.7662543654441833, 0.5526436567306519, 0.7393428087234497, 0.06866069883108139, 0.6621158123016357, -0.43917253613471985, 0.17243416607379913, -0.36379051208496094, 0.7023704648017883, -0.7926908135414124, 0.08933890610933304, -0.45882415771484375, -0.8110305070877075, -0.09461333602666855, 0.7366321086883545, -0.07992390543222427, 0.32123324275016785, 0.41328853368759155, 0.7825525999069214, -0.002303333254531026, 0.2452162355184555, 0.15007029473781586, 0.47648924589157104, 0.09674114733934402, 0.8770917654037476, 0.5971239805221558, -0.94666987657547, 0.4216620922088623, -0.3845672607421875, -0.32126936316490173, -0.0812649354338646, -0.785469651222229, -0.7072765827178955, -0.45722049474716187, -0.6661089062690735, -0.753270149230957, -0.0029391671996563673, 0.8182119131088257, 0.7877368927001953, -0.709039032459259, -0.34083470702171326, -0.1251154989004135, 0.0366189181804657, -0.30915799736976624, -0.326093852519989, 0.35223230719566345, 0.27042055130004883, -0.6699957251548767, 0.14039792120456696, 0.08988060802221298, 0.3168221414089203, 0.002380552003160119, -0.2882120609283447, -0.2913704216480255, -0.12252487242221832, 0.628771960735321, 0.600241482257843, -0.6143150925636292, -0.11264227330684662, -0.1643747091293335, -0.027358844876289368, 0.29212480783462524, 0.1816408783197403, -0.7078617811203003, -0.010877427645027637, 0.33761340379714966, 0.310636043548584, 0.8974058032035828, 0.13904593884944916, 0.4037591814994812, -0.4994988441467285, 0.10685501247644424, 0.08688999712467194, 0.384784460067749, 0.17369936406612396, -0.5361122488975525, 0.8006191849708557, 0.481661856174469, -0.8465566039085388, -0.6734901070594788, -0.132132887840271, -1.2400593757629395, -0.18824298679828644, 1.1114518642425537, -0.25639352202415466, -0.46795183420181274, 0.021164510399103165, -0.255964070558548, 0.3756428360939026, -0.6439220905303955, 0.29149630665779114, 0.43121787905693054, -0.31989410519599915, -0.42998450994491577, -0.7697952389717102, 0.65497887134552, 0.3109146058559418, -0.7987735271453857, 0.018511081114411354, 0.6450170278549194, 0.42257043719291687, 0.023896649479866028, 0.7835623621940613, -0.22926689684391022, 0.301620751619339, 0.05382182076573372, 0.05598399043083191, 0.07369356602430344, 0.12739403545856476, -0.37529364228248596, -0.03576834127306938, -0.3119276165962219, 0.09137003868818283 ]
Seznam/small-e-czech
Seznam
2022-08-26T14:05:35Z
15,267
14
transformers
[ "transformers", "pytorch", "tf", "electra", "cs", "arxiv:2003.10555", "arxiv:2112.01810", "license:cc-by-4.0", "endpoints_compatible", "region:us" ]
null
2022-03-02T23:29:05Z
--- language: cs license: cc-by-4.0 --- # Small-E-Czech Small-E-Czech is an [Electra](https://arxiv.org/abs/2003.10555)-small model pretrained on a Czech web corpus created at [Seznam.cz](https://www.seznam.cz/) and introduced in an [IAAI 2022 paper](https://arxiv.org/abs/2112.01810). Like other pretrained models, it should be finetuned on a downstream task of interest before use. At Seznam.cz, it has helped improve [web search ranking](https://blog.seznam.cz/2021/02/vyhledavani-pomoci-vyznamovych-vektoru/), query typo correction or clickbait titles detection. We release it under [CC BY 4.0 license](https://creativecommons.org/licenses/by/4.0/) (i.e. allowing commercial use). To raise an issue, please visit our [github](https://github.com/seznam/small-e-czech). ### How to use the discriminator in transformers ```python from transformers import ElectraForPreTraining, ElectraTokenizerFast import torch discriminator = ElectraForPreTraining.from_pretrained("Seznam/small-e-czech") tokenizer = ElectraTokenizerFast.from_pretrained("Seznam/small-e-czech") sentence = "Za hory, za doly, mé zlaté parohy" fake_sentence = "Za hory, za doly, kočka zlaté parohy" fake_sentence_tokens = ["[CLS]"] + tokenizer.tokenize(fake_sentence) + ["[SEP]"] fake_inputs = tokenizer.encode(fake_sentence, return_tensors="pt") outputs = discriminator(fake_inputs) predictions = torch.nn.Sigmoid()(outputs[0]).cpu().detach().numpy() for token in fake_sentence_tokens: print("{:>7s}".format(token), end="") print() for prediction in predictions.squeeze(): print("{:7.1f}".format(prediction), end="") print() ``` In the output we can see the probabilities of particular tokens not belonging in the sentence (i.e. having been faked by the generator) according to the discriminator: ``` [CLS] za hory , za dol ##y , kočka zlaté paro ##hy [SEP] 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.8 0.3 0.2 0.1 0.0 ``` ### Finetuning For instructions on how to finetune the model on a new task, see the official HuggingFace transformers [tutorial](https://huggingface.co/transformers/training.html).
[ -0.30770808458328247, -0.6223106980323792, 0.40272003412246704, 0.2074139565229416, -0.5792237520217896, -0.03755379840731621, -0.33112186193466187, -0.07182082533836365, 0.3544151484966278, 0.46380314230918884, -0.640632152557373, -0.35054269433021545, -0.545368492603302, 0.3148272931575775, -0.27167779207229614, 1.07038152217865, -0.077837273478508, 0.2726081907749176, 0.04236612468957901, 0.005773682147264481, -0.28789404034614563, -0.5001083612442017, -0.44225361943244934, -0.4879376292228699, 0.46043771505355835, 0.551785945892334, 0.43726131319999695, 0.2852060794830322, 0.24193920195102692, 0.4726831912994385, 0.07817386835813522, -0.14864233136177063, -0.3315155506134033, -0.16874781250953674, -0.06450843811035156, -0.7670345902442932, -0.2983294427394867, 0.03743545711040497, 0.5020626187324524, 0.5145522952079773, -0.0312282033264637, 0.3887828588485718, -0.08450870215892792, 0.5181362628936768, -0.561299204826355, 0.23306222259998322, -0.6961609125137329, -0.008076915517449379, -0.30424952507019043, 0.05393903702497482, -0.6900151968002319, -0.4148847460746765, -0.12365751713514328, -0.7576480507850647, 0.48789873719215393, 0.18702271580696106, 1.1180461645126343, 0.24007141590118408, -0.33097344636917114, -0.18579831719398499, -0.7549917101860046, 0.7806127071380615, -0.5426074862480164, 0.08546005934476852, 0.322837769985199, 0.36466437578201294, -0.13867636024951935, -1.0097215175628662, -0.7221229672431946, -0.10914326459169388, -0.12320910394191742, 0.08989869058132172, -0.29717758297920227, 0.08337273448705673, 0.44392359256744385, 0.1896502673625946, -0.3949654698371887, -0.044028911739587784, -0.7085561156272888, -0.4934307038784027, 0.516373872756958, 0.10770339518785477, 0.2851758599281311, -0.1426241397857666, -0.2518855631351471, -0.15707576274871826, -0.6892594695091248, -0.03196725621819496, 0.7179087996482849, 0.5052108764648438, -0.2162325084209442, 1.0194300413131714, -0.36411526799201965, 0.5769326090812683, 0.6354376077651978, 0.06078135594725609, 0.7281829714775085, -0.26016947627067566, -0.3119962215423584, 0.22137492895126343, 0.7251479625701904, 0.0819082260131836, 0.3419497013092041, -0.11260189861059189, -0.07450779527425766, 0.2554522752761841, 0.20453867316246033, -0.8210417032241821, -0.565688967704773, 0.02570246160030365, -0.5842421650886536, -0.2797502875328064, 0.28901955485343933, -0.7501983642578125, 0.14017826318740845, -0.12954404950141907, 0.8404132723808289, -0.39480486512184143, -0.20639191567897797, 0.1649261862039566, -0.3611472547054291, 0.11325696855783463, 0.07791933417320251, -0.9299766421318054, 0.22193118929862976, 0.38824716210365295, 0.688163161277771, 0.36810192465782166, -0.38548821210861206, -0.48592597246170044, -0.055253151804208755, -0.08761042356491089, 0.8662532567977905, -0.11884693056344986, -0.1956525593996048, 0.10307355970144272, 0.3716801702976227, -0.3248300850391388, -0.5525733828544617, 0.568163275718689, -0.4587848484516144, 0.39727893471717834, 0.09762942790985107, -0.42405951023101807, -0.16024111211299896, -0.11660858988761902, -0.7821131944656372, 0.9871448278427124, 0.361113965511322, -0.8413233757019043, 0.5902750492095947, -0.3874605894088745, -0.5133733153343201, 0.11046666651964188, 0.055676188319921494, -0.6012709736824036, 0.2579764723777771, 0.039423901587724686, 0.321363240480423, 0.24840809404850006, -0.14063896238803864, -0.37660738825798035, -0.4418037235736847, 0.17032092809677124, -0.10671156644821167, 1.009312391281128, 0.2040090411901474, -0.4918860197067261, 0.2393149584531784, -0.7880156636238098, 0.13744224607944489, 0.02609320357441902, -0.37673649191856384, -0.2551681399345398, -0.06984792649745941, 0.27263811230659485, 0.38448622822761536, 0.4809868335723877, -0.7957930564880371, 0.29231277108192444, -0.8082743883132935, 0.5491698384284973, 0.7954919338226318, -0.2262468785047531, 0.5651888251304626, -0.24413979053497314, 0.5505807399749756, -0.06464545428752899, 0.060513027012348175, 0.29526105523109436, -0.4407215118408203, -1.0021898746490479, -0.39898791909217834, 0.3821867108345032, 0.48915013670921326, -1.1058123111724854, 0.7624279856681824, -0.1283906102180481, -0.8444016575813293, -0.36746811866760254, -0.007286083418875933, 0.19021086394786835, 0.04315385967493057, 0.2900876998901367, 0.2029823660850525, -0.9632066488265991, -0.8873730301856995, -0.2884235978126526, -0.2612510919570923, -0.11009815335273743, -0.020791389048099518, 0.8796371817588806, -0.11790081113576889, 0.8730647563934326, -0.40132761001586914, -0.32551151514053345, -0.5431950092315674, 0.19339190423488617, 0.5308109521865845, 0.5155106782913208, 0.5383372902870178, -0.8794567584991455, -0.6651198267936707, -0.2348165214061737, -0.41435644030570984, -0.03512049466371536, -0.11407755315303802, -0.09385424852371216, 0.0982423797249794, 0.20388181507587433, -0.9903666973114014, 0.5204377174377441, 0.3106098771095276, -0.8285195827484131, 0.7045409679412842, -0.24520304799079895, -0.049761801958084106, -0.931551992893219, -0.06702042371034622, -0.21646106243133545, -0.16224531829357147, -0.5030889511108398, -0.10395745933055878, -0.00907061342149973, 0.17820343375205994, -0.8329587578773499, 0.5740453600883484, -0.4109501540660858, 0.044586773961782455, -0.11160257458686829, 0.0037262176629155874, -0.1669662445783615, 0.4073956608772278, -0.1700161099433899, 0.8486549854278564, 0.4195210635662079, -0.6921733617782593, 0.5466575622558594, 0.503093957901001, -0.46169713139533997, 0.23983898758888245, -0.665646493434906, 0.021284891292452812, 0.14575088024139404, 0.16876569390296936, -0.6968417167663574, -0.2959039509296417, 0.34441059827804565, -0.5975098609924316, 0.12969350814819336, -0.03944585844874382, -0.7404649257659912, -0.6589189171791077, -0.35309216380119324, 0.470551073551178, 0.6103096604347229, -0.6797690987586975, 0.5796868801116943, 0.27473175525665283, 0.07965178042650223, -0.5242496728897095, -0.5649709105491638, -0.3065149784088135, -0.3940083086490631, -0.5764291286468506, 0.45979368686676025, -0.08059610426425934, -0.2161378711462021, -0.1780977100133896, 0.060819245874881744, -0.15033097565174103, -0.042884115129709244, 0.17501717805862427, 0.3440540134906769, -0.22833353281021118, -0.08173854649066925, -0.04352884367108345, -0.16920338571071625, 0.07480257004499435, -0.033179983496665955, 0.914177417755127, -0.18828563392162323, -0.04758317396044731, -0.5639243125915527, 0.05931369960308075, 0.35018646717071533, 0.19085483253002167, 0.7145431637763977, 0.8488860130310059, -0.4408021867275238, -0.2194426953792572, -0.33343276381492615, -0.18120057880878448, -0.5626567602157593, 0.36965519189834595, -0.476976603269577, -0.8009323477745056, 0.5428109765052795, -0.014631983824074268, -0.3758336305618286, 0.9970195889472961, 0.886565625667572, 0.019331980496644974, 1.2276043891906738, 0.8245144486427307, 0.10695700347423553, 0.5976139903068542, -0.44075819849967957, 0.30829477310180664, -0.7897028923034668, -0.2813778817653656, -0.660153329372406, -0.07776958495378494, -0.7238667011260986, -0.16523092985153198, 0.030052635818719864, 0.3024519085884094, -0.42751604318618774, 0.7185736298561096, -0.6329339742660522, 0.3103014826774597, 0.6826748847961426, 0.19882789254188538, -0.15825001895427704, -0.08860650658607483, -0.13133768737316132, -0.10662562400102615, -0.6602775454521179, -0.6918429732322693, 1.0855544805526733, 0.045666731894016266, 0.7993980050086975, -0.07195410132408142, 0.88742595911026, 0.22015038132667542, 0.22073456645011902, -0.7629513144493103, 0.5992825031280518, -0.25486624240875244, -0.8805903792381287, -0.2942022681236267, -0.23830536007881165, -1.0900291204452515, 0.20083193480968475, -0.19640639424324036, -1.0035183429718018, 0.1530204564332962, 0.1826862394809723, -0.4515984356403351, 0.28020745515823364, -0.6649817824363708, 1.0936777591705322, -0.09623458981513977, -0.14223545789718628, -0.1935330629348755, -0.38100385665893555, 0.171481654047966, 0.1799216866493225, 0.11280142515897751, -0.14831289649009705, 0.16332536935806274, 0.9538152813911438, -0.5517576336860657, 0.8245092630386353, -0.2765231430530548, 0.35549813508987427, 0.4226205050945282, -0.21952901780605316, 0.4003434479236603, -0.04711014777421951, 0.022490480914711952, 0.08837191015481949, 0.15613344311714172, -0.41254517436027527, -0.22700922191143036, 0.5081461071968079, -0.8761669993400574, -0.3054032623767853, -0.6194796562194824, -0.006290150340646505, 0.24214480817317963, 0.43925705552101135, 1.0003091096878052, 0.23253042995929718, -0.37038466334342957, 0.2194795310497284, 0.4798133969306946, -0.20928853750228882, 0.5907915234565735, 0.23733387887477875, -0.14332692325115204, -0.4994485378265381, 0.8025750517845154, 0.19842194020748138, -0.0084299361333251, 0.21294160187244415, 0.22382594645023346, -0.2962391972541809, -0.3284638524055481, -0.4743742048740387, 0.3305140733718872, -0.5914362072944641, -0.3103809356689453, -0.531225323677063, -0.1970330774784088, -0.6388005018234253, -0.1510496884584427, -0.27097368240356445, -0.5756021738052368, -0.570364236831665, -0.26429128646850586, 0.2762347161769867, 0.590471625328064, -0.2992827296257019, 0.6285094618797302, -0.5476318597793579, 0.44660356640815735, 0.3056345582008362, 0.05084069445729256, -0.3560062348842621, -0.5379852056503296, -0.501105785369873, -0.03176291659474373, -0.3022039532661438, -0.8471863269805908, 0.6622443199157715, 0.11639855802059174, 0.6414341330528259, 0.3605661988258362, 0.21243372559547424, 0.41035783290863037, -0.7566201090812683, 0.9930463433265686, 0.3295227289199829, -0.9794043898582458, 0.58477783203125, -0.22868594527244568, 0.04090319201350212, 0.5840888023376465, 0.01795860379934311, -0.14990945160388947, -0.3788793087005615, -1.0310372114181519, -1.0441275835037231, 0.8300478458404541, 0.3651270866394043, 0.31055018305778503, -0.15953153371810913, 0.16045530140399933, 0.2600504755973816, 0.3855804204940796, -1.0626602172851562, -0.43968093395233154, -0.3776898980140686, -0.49381646513938904, -0.03260880708694458, -0.289453387260437, -0.0038078995421528816, -0.5248323082923889, 1.0165026187896729, -0.0072571150958538055, 0.7531576156616211, 0.036424800753593445, -0.30805739760398865, -0.21580205857753754, 0.18075208365917206, 0.7330846190452576, 0.526410698890686, -0.21646811068058014, 0.10339111089706421, 0.26764044165611267, -0.6824936866760254, 0.1627347618341446, -0.009721104986965656, -0.3660188615322113, 0.3706285059452057, 0.2784520089626312, 0.7846550345420837, 0.08266948163509369, -0.4232295751571655, 0.6199893951416016, 0.025472469627857208, -0.21090441942214966, -0.9202975034713745, 0.12294086068868637, -0.21982911229133606, 0.15650813281536102, 0.37199223041534424, 0.1201472356915474, 0.1579030603170395, -0.37744662165641785, 0.21130123734474182, 0.3095492422580719, -0.2504321336746216, -0.5901551246643066, 0.757274866104126, 0.2421312928199768, -0.6311281323432922, 0.5101367831230164, -0.19514122605323792, -0.8006917834281921, 0.8751776218414307, 0.6769460439682007, 0.9377079606056213, -0.019064567983150482, 0.3556291162967682, 0.6566369533538818, 0.4066380262374878, -0.28637993335723877, 0.4900630712509155, 0.05031578242778778, -0.8836594223976135, -0.2931447923183441, -0.6010686755180359, -0.11055319011211395, 0.06239086017012596, -0.7490756511688232, 0.5244429707527161, -0.41441383957862854, -0.31515198945999146, 0.105990469455719, 0.14006751775741577, -0.9228564500808716, 0.3157385289669037, 0.0936441570520401, 0.8326714634895325, -1.0465317964553833, 1.1054911613464355, 0.7397685050964355, -0.6828280091285706, -0.8178846836090088, -0.232876256108284, -0.38797450065612793, -0.7361354231834412, 0.912376880645752, 0.44145092368125916, -0.02191641554236412, 0.0403633788228035, -0.7316043376922607, -0.9392297863960266, 0.9237560629844666, 0.3664868175983429, -0.3915869891643524, -0.07766806334257126, -0.12294862419366837, 0.46604976058006287, -0.35542356967926025, 0.2112770527601242, 0.46680769324302673, 0.5830737352371216, -0.3665267825126648, -0.9163678288459778, -0.09201950579881668, -0.23402245342731476, -0.1625497043132782, 0.21673285961151123, -0.7291132211685181, 1.2733155488967896, -0.15609093010425568, -0.30207282304763794, 0.4927316904067993, 0.7455277442932129, 0.13483066856861115, 0.4455697238445282, 0.6192540526390076, 0.501189112663269, 0.5454109311103821, -0.24788852035999298, 0.7972216606140137, -0.17019760608673096, 0.785733163356781, 1.001373052597046, -0.010804166086018085, 0.861290693283081, 0.7626575231552124, -0.4263462722301483, 0.8789337873458862, 0.8348522782325745, -0.36591991782188416, 0.855851411819458, 0.15583747625350952, -0.22767914831638336, -0.3831578195095062, 0.42002958059310913, -0.2888539433479309, 0.5222001075744629, 0.23801343142986298, -0.39323699474334717, 0.025865862146019936, 0.2580889165401459, 0.008931535296142101, 0.0860399380326271, -0.5009070634841919, 0.592994213104248, -0.03599310293793678, -0.43153810501098633, 0.3871600925922394, 0.08641209453344345, 0.9051854610443115, -0.38557201623916626, -0.05724165588617325, 0.1808507740497589, 0.5404292345046997, -0.2029627561569214, -0.4218693673610687, 0.21688874065876007, -0.10715875774621964, -0.2884988784790039, 0.004118119366466999, 0.7906445264816284, -0.28220295906066895, -0.7308935523033142, 0.1532306671142578, 0.3042474389076233, 0.26339930295944214, 0.0693962350487709, -0.5979620218276978, -0.32299473881721497, 0.0028006411157548428, -0.39278364181518555, 0.29425880312919617, 0.45154890418052673, 0.23799730837345123, 0.4664045572280884, 0.4628276228904724, 0.1478593349456787, 0.22762171924114227, -0.11342591792345047, 0.7810628414154053, -0.6414812803268433, -0.708095371723175, -0.9502608180046082, 0.4664710462093353, -0.1429601013660431, -0.5739673972129822, 0.9771502017974854, 0.734648585319519, 1.1910114288330078, -0.4637490212917328, 0.6299206018447876, -0.4035050868988037, 0.46410465240478516, -0.6295006275177002, 0.8104864358901978, -0.30500364303588867, -0.2790536880493164, -0.05794701352715492, -0.9273126125335693, -0.023885808885097504, 1.134509563446045, -0.2881664037704468, 0.05775805190205574, 0.8057446479797363, 0.5765435695648193, -0.0018693889724090695, -0.2956072688102722, 0.35373130440711975, 0.3894093334674835, -0.16707561910152435, 0.3690885603427887, 0.7959360480308533, -0.5567768216133118, 0.5847963690757751, -0.6821478009223938, 0.06352203339338303, -0.34586670994758606, -0.6431397199630737, -0.9755330681800842, -0.48175132274627686, -0.3811897039413452, -0.6190333366394043, -0.2822539210319519, 0.9875216484069824, 0.6208699941635132, -1.0207079648971558, -0.15065088868141174, -0.08793380111455917, 0.19387011229991913, -0.3066304624080658, -0.24869242310523987, 0.4450056552886963, -0.1607406586408615, -0.8202387690544128, 0.16911031305789948, -0.10775236040353775, -0.0025459169410169125, -0.14302295446395874, 0.05480775609612465, -0.2103041410446167, 0.06016387417912483, 0.42521756887435913, 0.27939847111701965, -0.8367193937301636, -0.7298635840415955, -0.13451947271823883, -0.22742444276809692, 0.14309298992156982, 0.753548264503479, -0.918889582157135, 0.1800697296857834, 0.4434751570224762, -0.16179028153419495, 0.5862612724304199, -0.19222617149353027, 0.47542545199394226, -0.7110180854797363, 0.5624583959579468, 0.24224931001663208, 0.6459473371505737, 0.2901023328304291, -0.5423473119735718, 0.4649953246116638, 0.4506298899650574, -0.5930148363113403, -0.8493087887763977, 0.08406992256641388, -1.023280143737793, -0.13558149337768555, 1.1823196411132812, -0.1445522904396057, -0.5457201600074768, -0.13031795620918274, -0.4416881203651428, 0.6712043285369873, -0.286795437335968, 0.7496286034584045, 0.6817060112953186, -0.05171108618378639, 0.09863879531621933, -0.41539907455444336, 0.5046112537384033, 0.23853237926959991, -0.5901004672050476, -0.20494034886360168, 0.3779046833515167, 0.5000312328338623, 0.32420530915260315, 0.5827105045318604, 0.14162138104438782, 0.42282313108444214, 0.3539292812347412, 0.39272060990333557, 0.11053629219532013, -0.24130892753601074, -0.3654647767543793, 0.030061902478337288, -0.028659280389547348, -0.5252389311790466 ]
timm/convnext_large_mlp.clip_laion2b_soup_ft_in12k_in1k_320
timm
2023-03-31T22:28:54Z
15,267
4
timm
[ "timm", "pytorch", "safetensors", "image-classification", "dataset:imagenet-1k", "dataset:laion-2b", "arxiv:2210.08402", "arxiv:2201.03545", "arxiv:2103.00020", "license:apache-2.0", "region:us" ]
image-classification
2023-03-31T22:26:03Z
--- tags: - image-classification - timm library_tag: timm license: apache-2.0 datasets: - imagenet-1k - laion-2b --- # Model card for convnext_large_mlp.clip_laion2b_soup_ft_in12k_in1k_320 A ConvNeXt image classification model. CLIP image tower weights pretrained in [OpenCLIP](https://github.com/mlfoundations/open_clip) on LAION and fine-tuned on ImageNet-12k followed by ImageNet-1k in `timm` bby Ross Wightman. Please see related OpenCLIP model cards for more details on pretrain: * https://huggingface.co/laion/CLIP-convnext_xxlarge-laion2B-s34B-b82K-augreg-soup * https://huggingface.co/laion/CLIP-convnext_large_d.laion2B-s26B-b102K-augreg * https://huggingface.co/laion/CLIP-convnext_base_w-laion2B-s13B-b82K-augreg * https://huggingface.co/laion/CLIP-convnext_base_w_320-laion_aesthetic-s13B-b82K ## Model Details - **Model Type:** Image classification / feature backbone - **Model Stats:** - Params (M): 200.1 - GMACs: 70.2 - Activations (M): 88.0 - Image size: 320 x 320 - **Papers:** - LAION-5B: An open large-scale dataset for training next generation image-text models: https://arxiv.org/abs/2210.08402 - A ConvNet for the 2020s: https://arxiv.org/abs/2201.03545 - Learning Transferable Visual Models From Natural Language Supervision: https://arxiv.org/abs/2103.00020 - **Original:** https://github.com/mlfoundations/open_clip - **Pretrain Dataset:** LAION-2B - **Dataset:** ImageNet-1k ## 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_large_mlp.clip_laion2b_soup_ft_in12k_in1k_320', 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_large_mlp.clip_laion2b_soup_ft_in12k_in1k_320', 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, 192, 80, 80]) # torch.Size([1, 384, 40, 40]) # torch.Size([1, 768, 20, 20]) # torch.Size([1, 1536, 10, 10]) 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_large_mlp.clip_laion2b_soup_ft_in12k_in1k_320', 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, 1536, 10, 10) 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 @software{ilharco_gabriel_2021_5143773, author = {Ilharco, Gabriel and Wortsman, Mitchell and Wightman, Ross and Gordon, Cade and Carlini, Nicholas and Taori, Rohan and Dave, Achal and Shankar, Vaishaal and Namkoong, Hongseok and Miller, John and Hajishirzi, Hannaneh and Farhadi, Ali and Schmidt, Ludwig}, title = {OpenCLIP}, month = jul, year = 2021, note = {If you use this software, please cite it as below.}, publisher = {Zenodo}, version = {0.1}, doi = {10.5281/zenodo.5143773}, url = {https://doi.org/10.5281/zenodo.5143773} } ``` ```bibtex @inproceedings{schuhmann2022laionb, title={{LAION}-5B: An open large-scale dataset for training next generation image-text models}, author={Christoph Schuhmann and Romain Beaumont and Richard Vencu and Cade W Gordon and Ross Wightman and Mehdi Cherti and Theo Coombes and Aarush Katta and Clayton Mullis and Mitchell Wortsman and Patrick Schramowski and Srivatsa R Kundurthy and Katherine Crowson and Ludwig Schmidt and Robert Kaczmarczyk and Jenia Jitsev}, booktitle={Thirty-sixth Conference on Neural Information Processing Systems Datasets and Benchmarks Track}, year={2022}, url={https://openreview.net/forum?id=M3Y74vmsMcY} } ``` ```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}} } ``` ```bibtex @inproceedings{Radford2021LearningTV, title={Learning Transferable Visual Models From Natural Language Supervision}, author={Alec Radford and Jong Wook Kim and Chris Hallacy and A. Ramesh and Gabriel Goh and Sandhini Agarwal and Girish Sastry and Amanda Askell and Pamela Mishkin and Jack Clark and Gretchen Krueger and Ilya Sutskever}, booktitle={ICML}, year={2021} } ``` ```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}, } ```
[ -0.8137122392654419, -0.4672815799713135, -0.024863559752702713, 0.5078599452972412, -0.39609265327453613, -0.2557618021965027, -0.21469825506210327, -0.46328049898147583, 0.7877786159515381, 0.26287564635276794, -0.5581483244895935, -0.6147294640541077, -0.7358989119529724, -0.015767838805913925, 0.06811832636594772, 0.95280921459198, -0.09952261298894882, -0.10667728632688522, 0.20961500704288483, -0.39992037415504456, -0.2323935329914093, -0.3779420256614685, -0.8289151787757874, -0.2145678997039795, 0.27814456820487976, 0.2950400412082672, 0.7964708209037781, 0.6368235349655151, 0.44827011227607727, 0.5330749154090881, -0.23361095786094666, 0.15184523165225983, -0.25397512316703796, -0.33220091462135315, 0.5010794401168823, -0.46290314197540283, -0.9128168225288391, 0.2651929557323456, 0.8311457633972168, 0.49520546197891235, 0.04712769389152527, 0.25633302330970764, 0.35861313343048096, 0.4722278416156769, -0.07795415073633194, 0.01497078500688076, -0.17128083109855652, 0.22208863496780396, -0.24851301312446594, -0.027554526925086975, 0.0018009585328400135, -0.6592132449150085, 0.3504487872123718, -0.6024108529090881, 0.07843197137117386, 0.013427351601421833, 1.444665551185608, -0.1158599928021431, -0.1949947476387024, -0.014911546371877193, 0.07262880355119705, 0.7745252847671509, -0.8386195302009583, 0.2739191949367523, 0.4087534546852112, -0.1091780960559845, -0.141975998878479, -0.7366195321083069, -0.6109210252761841, -0.06737824529409409, -0.327798992395401, 0.2333334982395172, -0.35643357038497925, -0.08895974606275558, 0.5388971567153931, 0.4608950614929199, -0.5202780961990356, -0.06548051536083221, -0.37403401732444763, -0.08900545537471771, 0.7552518248558044, -0.10196352005004883, 0.6472924947738647, -0.3467212915420532, -0.7020071148872375, -0.31686851382255554, -0.269883930683136, 0.4218709170818329, 0.1777486354112625, -0.04212695360183716, -0.9773654937744141, 0.5530601143836975, 0.17261956632137299, 0.35909223556518555, 0.2979970872402191, -0.26700639724731445, 0.7937108278274536, -0.21669235825538635, -0.5255908370018005, -0.28098034858703613, 1.2407212257385254, 0.7175793647766113, 0.45539775490760803, 0.18354463577270508, 0.019231632351875305, -0.15851514041423798, -0.4610902965068817, -1.0851982831954956, -0.21263021230697632, 0.36135903000831604, -0.5836219787597656, -0.16879390180110931, 0.3610433340072632, -0.7918938398361206, 0.11391916871070862, -0.09396253526210785, 0.25716206431388855, -0.8198625445365906, -0.39297419786453247, -0.08223423361778259, -0.37582409381866455, 0.3728218972682953, 0.2806987762451172, -0.4010731875896454, 0.2720932066440582, 0.28031790256500244, 1.0833548307418823, 0.23472854495048523, -0.26824313402175903, -0.424178808927536, -0.052819669246673584, -0.34711915254592896, 0.4116448760032654, 0.07021157443523407, -0.1303371638059616, -0.24794656038284302, 0.43608176708221436, -0.19563522934913635, -0.46750637888908386, 0.4311724007129669, 0.23381194472312927, 0.15536285936832428, -0.37100139260292053, -0.36684882640838623, -0.2552648186683655, 0.3908286988735199, -0.5406712889671326, 1.1080785989761353, 0.45525646209716797, -1.11943519115448, 0.3169803321361542, -0.4833086133003235, -0.11261788010597229, -0.3104810118675232, 0.034175120294094086, -0.7775827050209045, -0.13955152034759521, 0.3343889117240906, 0.804011344909668, -0.1900838017463684, -0.1345875859260559, -0.45118725299835205, -0.09317615628242493, 0.38551321625709534, 0.06663087755441666, 0.9992759227752686, 0.139064222574234, -0.4418269097805023, 0.09589087963104248, -0.6443581581115723, 0.2907026410102844, 0.4575880765914917, -0.09566213190555573, -0.08954676240682602, -0.7838565111160278, 0.05641016736626625, 0.5348517894744873, 0.18804410099983215, -0.49840089678764343, 0.2875097393989563, -0.23190614581108093, 0.4562986493110657, 0.7119644284248352, -0.08075433224439621, 0.31502583622932434, -0.6004543304443359, 0.5485464930534363, 0.1462596207857132, 0.2509799301624298, -0.07438541948795319, -0.44143855571746826, -0.7638919353485107, -0.7326615452766418, 0.2536630630493164, 0.5105428695678711, -0.4887771010398865, 0.7619499564170837, 0.06283492594957352, -0.58295077085495, -0.7760081887245178, 0.16948576271533966, 0.5051286220550537, 0.31430527567863464, 0.2824849784374237, -0.38105544447898865, -0.6519728302955627, -0.9531708359718323, -0.0621383972465992, 0.0766248106956482, -0.09582322835922241, 0.6148406863212585, 0.424425333738327, -0.05568782240152359, 0.6141118407249451, -0.49989309906959534, -0.34533461928367615, -0.23949387669563293, -0.0754404366016388, 0.4340362250804901, 0.7748836278915405, 1.1335428953170776, -0.8328752517700195, -0.9184922575950623, -0.02952512353658676, -1.1296194791793823, -0.00965612381696701, -0.05325458198785782, -0.4042583107948303, 0.2715623676776886, 0.2748323678970337, -1.0146851539611816, 0.6541258692741394, 0.4088934659957886, -0.5537876486778259, 0.48994940519332886, -0.2934723496437073, 0.298542857170105, -1.08902108669281, 0.2545780539512634, 0.3058393895626068, -0.2843220829963684, -0.5068560838699341, 0.04282352700829506, -0.06082357093691826, 0.12807290256023407, -0.6621572375297546, 0.9094198942184448, -0.7296939492225647, 0.04514788091182709, 0.04092489928007126, 0.16042864322662354, 0.06171628460288048, 0.5679301619529724, 0.018124926835298538, 0.48222336173057556, 0.831671953201294, -0.3366571068763733, 0.43603548407554626, 0.5267765522003174, -0.10434193164110184, 0.7619973421096802, -0.7204684019088745, 0.07763060182332993, 0.07833530008792877, 0.48898205161094666, -0.9230908155441284, -0.3909744620323181, 0.5867653489112854, -0.727096676826477, 0.5112876892089844, -0.28672292828559875, -0.4054213762283325, -0.8198279142379761, -0.8860542178153992, 0.27413275837898254, 0.6147663593292236, -0.6642822623252869, 0.19847598671913147, 0.2867411673069, 0.03747221827507019, -0.6387989521026611, -0.688743531703949, -0.10375267267227173, -0.40303686261177063, -0.8682607412338257, 0.43710529804229736, 0.06966719776391983, -0.04673409089446068, 0.01862260140478611, -0.013926376588642597, -0.03263265639543533, -0.20525383949279785, 0.5314688086509705, 0.42915305495262146, -0.27082791924476624, -0.3417733311653137, -0.30682334303855896, -0.0656764954328537, 0.007331369910389185, -0.10077226907014847, 0.6607850193977356, -0.3178587257862091, 0.10411208122968674, -1.042490005493164, 0.17101259529590607, 0.6449694633483887, -0.0966397151350975, 0.9493629336357117, 1.0962355136871338, -0.439921498298645, 0.14382049441337585, -0.4124685227870941, -0.12542752921581268, -0.5160772204399109, 0.026639416813850403, -0.5260711908340454, -0.6135709881782532, 0.7952440977096558, 0.18928910791873932, -0.06545097380876541, 0.7048704028129578, 0.36393916606903076, -0.21030749380588531, 0.9236648082733154, 0.5396989583969116, -0.13125061988830566, 0.623528778553009, -0.9090766310691833, -0.03088473714888096, -0.9059959053993225, -0.5752207040786743, -0.14853249490261078, -0.5763433575630188, -0.6673433184623718, -0.4600038528442383, 0.31449154019355774, 0.48420730233192444, -0.18146435916423798, 0.6335802674293518, -0.5820789337158203, -0.036070339381694794, 0.5431845784187317, 0.3629995286464691, -0.23856163024902344, -0.14619764685630798, -0.16439902782440186, -0.1806025505065918, -0.6209368109703064, -0.1880474090576172, 0.7872946262359619, 0.7081536650657654, 0.48190268874168396, -0.06152442842721939, 0.5356996655464172, -0.10584299266338348, 0.3340781331062317, -0.5286911129951477, 0.7539781928062439, -0.040699101984500885, -0.47007662057876587, -0.20755194127559662, -0.4944497048854828, -1.0270239114761353, 0.18345916271209717, -0.3926982879638672, -0.8506863713264465, -0.15634454786777496, 0.2251189798116684, -0.2372751533985138, 0.5879601836204529, -0.7304792404174805, 0.8105167150497437, -0.10505501925945282, -0.45702239871025085, 0.11625904589891434, -0.8604778051376343, 0.2855451703071594, 0.45962971448898315, -0.07253451645374298, -0.17596592009067535, 0.15209881961345673, 0.8833197951316833, -0.8164858818054199, 0.582069456577301, -0.3928157389163971, 0.038845766335725784, 0.5300198793411255, -0.09881344437599182, 0.4598296284675598, 0.10880383849143982, 0.009102147072553635, 0.08836838603019714, 0.1522836685180664, -0.6269385814666748, -0.4420590400695801, 0.6469472646713257, -0.7507637739181519, -0.38977882266044617, -0.5337340235710144, -0.3412174582481384, 0.18449805676937103, 0.05887680500745773, 0.6819631457328796, 0.5559766888618469, -0.09930458664894104, 0.20646417140960693, 0.5624138712882996, -0.40590283274650574, 0.49426519870758057, -0.14962413907051086, -0.0622287392616272, -0.5571633577346802, 0.8178379535675049, 0.04952948912978172, 0.15502621233463287, 0.0989246740937233, 0.16278421878814697, -0.3819447159767151, -0.21421578526496887, -0.1848006695508957, 0.667428731918335, -0.294278085231781, -0.40381988883018494, -0.6819679737091064, -0.4760681390762329, -0.6301569938659668, -0.30656787753105164, -0.40919792652130127, -0.2753618061542511, -0.3898284137248993, 0.09880156069993973, 0.675381064414978, 0.5534026622772217, -0.32694587111473083, 0.42726385593414307, -0.7117898464202881, 0.3530711829662323, 0.07366475462913513, 0.4235324263572693, -0.20524714887142181, -0.6357191801071167, 0.03760833293199539, 0.0416010320186615, -0.3140682578086853, -0.8350181579589844, 0.6453878879547119, 0.20455239713191986, 0.38277125358581543, 0.5900863409042358, -0.2825425863265991, 0.812291145324707, -0.15093912184238434, 0.5495595932006836, 0.6240562796592712, -0.8787868618965149, 0.49822157621383667, -0.3437812924385071, 0.16165494918823242, 0.13123758137226105, 0.4446842074394226, -0.5025014877319336, -0.32689082622528076, -0.9358410835266113, -0.6703519225120544, 0.7565104961395264, 0.16221164166927338, -0.033435236662626266, 0.07683409750461578, 0.5933499932289124, -0.0965060144662857, 0.15219660103321075, -0.6929534077644348, -0.6771729588508606, -0.24673645198345184, -0.20039498805999756, -0.05943874269723892, -0.11239519715309143, -0.07517430186271667, -0.705153226852417, 0.5234797596931458, -0.13110126554965973, 0.5893973708152771, 0.28454768657684326, -0.04475777968764305, -0.06130464747548103, -0.2913212776184082, 0.553893506526947, 0.3768656253814697, -0.337708979845047, -0.08938134461641312, 0.3392171561717987, -0.5702879428863525, -0.013332614675164223, 0.24787966907024384, 0.04511890187859535, 0.16080166399478912, 0.438173770904541, 0.7265691161155701, 0.26277220249176025, -0.2266332507133484, 0.691196858882904, -0.1789836436510086, -0.3981786370277405, -0.30906641483306885, -0.017942901700735092, 0.15082108974456787, 0.45124107599258423, 0.19162176549434662, 0.043721698224544525, -0.31048813462257385, -0.6140179634094238, 0.47714537382125854, 0.7670464515686035, -0.4302174150943756, -0.5719868540763855, 0.6582847237586975, -0.10352456569671631, -0.08624671399593353, 0.582598865032196, -0.06013641878962517, -0.718536376953125, 0.9648517966270447, 0.3913019299507141, 0.6005122065544128, -0.5179689526557922, 0.2515464127063751, 0.8803473711013794, 0.039427053183317184, 0.06814996898174286, 0.3391486704349518, 0.3325932025909424, -0.4827365279197693, 0.0716610997915268, -0.6531968116760254, 0.20236143469810486, 0.545337438583374, -0.5372849106788635, 0.4002528488636017, -0.7972806692123413, -0.3778413236141205, 0.1347329318523407, 0.3467262387275696, -0.8765567541122437, 0.2935992479324341, 0.03365812450647354, 1.138486385345459, -0.8212434649467468, 0.8946489095687866, 0.7518301010131836, -0.4344182014465332, -0.9762962460517883, -0.10398899018764496, 0.12415404617786407, -0.8857380151748657, 0.47869282960891724, 0.31774136424064636, 0.25633734464645386, -0.2398856282234192, -0.6854562163352966, -0.5843565464019775, 1.2839330434799194, 0.49380502104759216, -0.16200952231884003, 0.04077611118555069, -0.2812255322933197, 0.4012090861797333, -0.31624382734298706, 0.5082889199256897, 0.5002269744873047, 0.517853319644928, 0.28554946184158325, -0.9374415874481201, 0.3674771785736084, -0.4126758575439453, -0.11556165665388107, 0.2558518052101135, -1.3211817741394043, 1.1021465063095093, -0.4202517569065094, -0.10568581521511078, 0.16838885843753815, 0.8688783645629883, 0.4039096236228943, 0.057723093777894974, 0.421749472618103, 0.7503036260604858, 0.4984787702560425, -0.15936385095119476, 1.0665533542633057, -0.013056162744760513, 0.42715150117874146, 0.420592337846756, 0.4419524073600769, 0.5132640600204468, 0.3729797899723053, -0.4238816201686859, 0.17771215736865997, 0.87384432554245, -0.2668735086917877, 0.16877254843711853, 0.233653724193573, -0.10174895077943802, -0.11440050601959229, -0.18569131195545197, -0.6481542587280273, 0.44223228096961975, 0.16402791440486908, -0.387388676404953, 0.01996053010225296, -0.08828677982091904, 0.48909851908683777, -0.08829832822084427, -0.16890452802181244, 0.4614916145801544, 0.2401740849018097, -0.5635778307914734, 0.639631450176239, -0.03598329424858093, 0.9930606484413147, -0.402048796415329, 0.005895661190152168, -0.26242658495903015, 0.2953682243824005, -0.264884889125824, -1.1813921928405762, 0.24982444941997528, -0.18041454255580902, 0.18385885655879974, -0.06848882138729095, 0.6087047457695007, -0.4894740581512451, -0.3057711720466614, 0.5001580119132996, 0.3195701837539673, 0.4076957106590271, 0.048815857619047165, -1.1946886777877808, 0.24897761642932892, 0.10388876497745514, -0.5915810465812683, 0.4156583249568939, 0.4981672465801239, 0.24740684032440186, 0.7313700318336487, 0.4421660006046295, 0.20643116533756256, 0.09477344155311584, -0.2979525029659271, 0.842610776424408, -0.6439393162727356, -0.4638664424419403, -0.9091272950172424, 0.4569869935512543, -0.3282175064086914, -0.6447350978851318, 0.7784584760665894, 0.49349722266197205, 0.5937653183937073, 0.04330278933048248, 0.521035373210907, -0.44015783071517944, 0.35658514499664307, -0.5254164934158325, 0.758205771446228, -0.8168998956680298, -0.2674376368522644, -0.5066704154014587, -0.8693916201591492, -0.2792571187019348, 0.7719811201095581, 0.0024603218771517277, 0.2538723945617676, 0.45570704340934753, 0.6328057646751404, -0.10214690119028091, -0.2684800624847412, -0.06574803590774536, 0.29897189140319824, 0.08100423961877823, 0.8330729007720947, 0.5295125842094421, -0.7555286288261414, 0.2747586667537689, -0.6165472865104675, -0.3483046293258667, -0.3147433400154114, -0.7480641007423401, -1.1915802955627441, -0.8436591625213623, -0.5129886269569397, -0.6770859360694885, -0.28377971053123474, 1.1473371982574463, 0.9966103434562683, -0.5733570456504822, -0.19206412136554718, 0.33135342597961426, 0.10793574899435043, -0.22074994444847107, -0.2708008885383606, 0.6115452647209167, 0.2930401563644409, -1.0029942989349365, -0.29597207903862, 0.09885384887456894, 0.5932400822639465, 0.28830164670944214, -0.34587422013282776, -0.25860682129859924, -0.10213005542755127, 0.4755987226963043, 0.7523524165153503, -0.6979896426200867, -0.39685359597206116, -0.03957676514983177, -0.23377330601215363, 0.31620582938194275, 0.37018972635269165, -0.39675652980804443, -0.1072767823934555, 0.5213775634765625, 0.12906886637210846, 0.7725812792778015, 0.0898105800151825, 0.2708680331707001, -0.7082430124282837, 0.6372328996658325, -0.057939957827329636, 0.4091792404651642, 0.38449105620384216, -0.3510245978832245, 0.7015929818153381, 0.5015791654586792, -0.42436105012893677, -0.9967855215072632, -0.2495744675397873, -1.429796576499939, -0.06174352392554283, 0.8955941200256348, -0.26107579469680786, -0.5750665664672852, 0.5777712464332581, -0.3490496873855591, 0.532552182674408, -0.2811324894428253, 0.3258402943611145, 0.35984039306640625, -0.2603345811367035, -0.5237355828285217, -0.55173659324646, 0.682763397693634, 0.3143189549446106, -0.7382978796958923, -0.34660837054252625, 0.006195875350385904, 0.5409885048866272, 0.22791823744773865, 0.7923414707183838, -0.21472889184951782, 0.12353358417749405, -0.014051075093448162, 0.2232711762189865, -0.011185238137841225, -0.05418185144662857, -0.11835416406393051, -0.12862400710582733, -0.29433560371398926, -0.6039352416992188 ]
openlm-research/open_llama_7b_v2
openlm-research
2023-07-07T21:26:13Z
15,228
94
transformers
[ "transformers", "pytorch", "llama", "text-generation", "dataset:tiiuae/falcon-refinedweb", "dataset:bigcode/starcoderdata", "dataset:togethercomputer/RedPajama-Data-1T", "license:apache-2.0", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-07-06T08:23:04Z
--- license: apache-2.0 datasets: - tiiuae/falcon-refinedweb - bigcode/starcoderdata - togethercomputer/RedPajama-Data-1T library_name: transformers --- # OpenLLaMA: An Open Reproduction of LLaMA **TL;DR**: we are releasing our public preview of OpenLLaMA, a permissively licensed open source reproduction of Meta AI’s LLaMA. We are releasing a series of 3B, 7B and 13B models trained on different data mixtures. Our model weights can serve as the drop in replacement of LLaMA in existing implementations. In this repo, we present a permissively licensed open source reproduction of Meta AI's [LLaMA](https://ai.facebook.com/blog/large-language-model-llama-meta-ai/) large language model. We are releasing a series of 3B, 7B and 13B models trained on 1T tokens. We provide PyTorch and JAX weights of pre-trained OpenLLaMA models, as well as evaluation results and comparison against the original LLaMA models. The v2 model is better than the old v1 model trained on a different data mixture. Please see the [project homepage of OpenLLaMA](https://github.com/openlm-research/open_llama) for more details. ## Weights Release, License and Usage We release the weights in two formats: an EasyLM format to be use with our [EasyLM framework](https://github.com/young-geng/EasyLM), and a PyTorch format to be used with the [Hugging Face transformers](https://huggingface.co/docs/transformers/index) library. Both our training framework EasyLM and the checkpoint weights are licensed permissively under the Apache 2.0 license. ### Loading the Weights with Hugging Face Transformers Preview checkpoints can be directly loaded from Hugging Face Hub. **Please note that it is advised to avoid using the Hugging Face fast tokenizer for now, as we’ve observed that** [**the auto-converted fast tokenizer sometimes gives incorrect tokenizations**](https://github.com/huggingface/transformers/issues/24233)**.** This can be achieved by directly using the `LlamaTokenizer` class, or passing in the `use_fast=False` option for the `AutoTokenizer` class. See the following example for usage. ```python import torch from transformers import LlamaTokenizer, LlamaForCausalLM ## v2 models model_path = 'openlm-research/open_llama_7b_v2' ## v1 models # model_path = 'openlm-research/open_llama_3b' # model_path = 'openlm-research/open_llama_7b' # model_path = 'openlm-research/open_llama_13b' tokenizer = LlamaTokenizer.from_pretrained(model_path) model = LlamaForCausalLM.from_pretrained( model_path, torch_dtype=torch.float16, device_map='auto', ) prompt = 'Q: What is the largest animal?\nA:' input_ids = tokenizer(prompt, return_tensors="pt").input_ids generation_output = model.generate( input_ids=input_ids, max_new_tokens=32 ) print(tokenizer.decode(generation_output[0])) ``` For more advanced usage, please follow the [transformers LLaMA documentation](https://huggingface.co/docs/transformers/main/model_doc/llama). ### Evaluating with LM-Eval-Harness The model can be evaluated with [lm-eval-harness](https://github.com/EleutherAI/lm-evaluation-harness). However, due to the aforementioned tokenizer issue, we need to avoid using the fast tokenizer to obtain the correct results. This can be achieved by passing in `use_fast=False` to [this part of lm-eval-harness](https://github.com/EleutherAI/lm-evaluation-harness/blob/4b701e228768052cfae9043dca13e82052ca5eea/lm_eval/models/huggingface.py#LL313C9-L316C10), as shown in the example below: ```python tokenizer = self.AUTO_TOKENIZER_CLASS.from_pretrained( pretrained if tokenizer is None else tokenizer, revision=revision + ("/" + subfolder if subfolder is not None else ""), use_fast=False ) ``` ### Loading the Weights with EasyLM For using the weights in our EasyLM framework, please refer to the [LLaMA documentation of EasyLM](https://github.com/young-geng/EasyLM/blob/main/docs/llama.md). Note that unlike the original LLaMA model, our OpenLLaMA tokenizer and weights are trained completely from scratch so it is no longer needed to obtain the original LLaMA tokenizer and weights. ## Dataset and Training The v1 models are trained on the [RedPajama dataset](https://huggingface.co/datasets/togethercomputer/RedPajama-Data-1T). The v2 models are trained on a mixture of the [Falcon refined-web dataset](https://huggingface.co/datasets/tiiuae/falcon-refinedweb), the [StarCoder dataset](https://huggingface.co/datasets/bigcode/starcoderdata) and the wikipedia, arxiv, book and stackexchange part of the [RedPajama dataset](https://huggingface.co/datasets/togethercomputer/RedPajama-Data-1T). We follow the exactly same preprocessing steps and training hyperparameters as the original LLaMA paper, including model architecture, context length, training steps, learning rate schedule, and optimizer. The only difference between our setting and the original one is the dataset used: OpenLLaMA employs open datasets rather than the one utilized by the original LLaMA. We train the models on cloud TPU-v4s using [EasyLM](https://github.com/young-geng/EasyLM), a JAX based training pipeline we developed for training and fine-tuning large language models. We employ a combination of normal data parallelism and [fully sharded data parallelism (also know as ZeRO stage 3)](https://engineering.fb.com/2021/07/15/open-source/fsdp/) to balance the training throughput and memory usage. Overall we reach a throughput of over 2200 tokens / second / TPU-v4 chip for our 7B model. ## Evaluation We evaluated OpenLLaMA on a wide range of tasks using [lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness). The LLaMA results are generated by running the original LLaMA model on the same evaluation metrics. We note that our results for the LLaMA model differ slightly from the original LLaMA paper, which we believe is a result of different evaluation protocols. Similar differences have been reported in [this issue of lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness/issues/443). Additionally, we present the results of GPT-J, a 6B parameter model trained on the [Pile](https://pile.eleuther.ai/) dataset by [EleutherAI](https://www.eleuther.ai/). The original LLaMA model was trained for 1 trillion tokens and GPT-J was trained for 500 billion tokens. We present the results in the table below. OpenLLaMA exhibits comparable performance to the original LLaMA and GPT-J across a majority of tasks, and outperforms them in some tasks. | **Task/Metric** | GPT-J 6B | LLaMA 7B | LLaMA 13B | OpenLLaMA 7Bv2 | OpenLLaMA 3B | OpenLLaMA 7B | OpenLLaMA 13B | | ---------------------- | -------- | -------- | --------- | -------------- | ------------ | ------------ | ------------- | | anli_r1/acc | 0.32 | 0.35 | 0.35 | 0.34 | 0.33 | 0.33 | 0.33 | | anli_r2/acc | 0.34 | 0.34 | 0.36 | 0.35 | 0.32 | 0.36 | 0.33 | | anli_r3/acc | 0.35 | 0.37 | 0.39 | 0.39 | 0.35 | 0.38 | 0.40 | | arc_challenge/acc | 0.34 | 0.39 | 0.44 | 0.39 | 0.34 | 0.37 | 0.41 | | arc_challenge/acc_norm | 0.37 | 0.41 | 0.44 | 0.41 | 0.37 | 0.38 | 0.44 | | arc_easy/acc | 0.67 | 0.68 | 0.75 | 0.73 | 0.69 | 0.72 | 0.75 | | arc_easy/acc_norm | 0.62 | 0.52 | 0.59 | 0.70 | 0.65 | 0.68 | 0.70 | | boolq/acc | 0.66 | 0.75 | 0.71 | 0.72 | 0.68 | 0.71 | 0.75 | | hellaswag/acc | 0.50 | 0.56 | 0.59 | 0.56 | 0.49 | 0.53 | 0.56 | | hellaswag/acc_norm | 0.66 | 0.73 | 0.76 | 0.75 | 0.67 | 0.72 | 0.76 | | openbookqa/acc | 0.29 | 0.29 | 0.31 | 0.30 | 0.27 | 0.30 | 0.31 | | openbookqa/acc_norm | 0.38 | 0.41 | 0.42 | 0.41 | 0.40 | 0.40 | 0.43 | | piqa/acc | 0.75 | 0.78 | 0.79 | 0.79 | 0.75 | 0.76 | 0.77 | | piqa/acc_norm | 0.76 | 0.78 | 0.79 | 0.80 | 0.76 | 0.77 | 0.79 | | record/em | 0.88 | 0.91 | 0.92 | 0.89 | 0.88 | 0.89 | 0.91 | | record/f1 | 0.89 | 0.91 | 0.92 | 0.89 | 0.89 | 0.90 | 0.91 | | rte/acc | 0.54 | 0.56 | 0.69 | 0.57 | 0.58 | 0.60 | 0.64 | | truthfulqa_mc/mc1 | 0.20 | 0.21 | 0.25 | 0.23 | 0.22 | 0.23 | 0.25 | | truthfulqa_mc/mc2 | 0.36 | 0.34 | 0.40 | 0.35 | 0.35 | 0.35 | 0.38 | | wic/acc | 0.50 | 0.50 | 0.50 | 0.50 | 0.48 | 0.51 | 0.47 | | winogrande/acc | 0.64 | 0.68 | 0.70 | 0.66 | 0.62 | 0.67 | 0.70 | | Average | 0.52 | 0.55 | 0.57 | 0.56 | 0.53 | 0.55 | 0.57 | We removed the task CB and WSC from our benchmark, as our model performs suspiciously high on these two tasks. We hypothesize that there could be a benchmark data contamination in the training set. ## Contact We would love to get feedback from the community. If you have any questions, please open an issue or contact us. OpenLLaMA is developed by: [Xinyang Geng](https://young-geng.xyz/)* and [Hao Liu](https://www.haoliu.site/)* from Berkeley AI Research. *Equal Contribution ## Acknowledgment We thank the [Google TPU Research Cloud](https://sites.research.google/trc/about/) program for providing part of the computation resources. We’d like to specially thank Jonathan Caton from TPU Research Cloud for helping us organizing compute resources, Rafi Witten from the Google Cloud team and James Bradbury from the Google JAX team for helping us optimizing our training throughput. We’d also want to thank Charlie Snell, Gautier Izacard, Eric Wallace, Lianmin Zheng and our user community for the discussions and feedback. The OpenLLaMA 13B v1 model is trained in collaboration with [Stability AI](https://stability.ai/), and we thank Stability AI for providing the computation resources. We’d like to especially thank David Ha and Shivanshu Purohit for the coordinating the logistics and providing engineering support. ## Reference If you found OpenLLaMA useful in your research or applications, please cite using the following BibTeX: ``` @software{openlm2023openllama, author = {Geng, Xinyang and Liu, Hao}, title = {OpenLLaMA: An Open Reproduction of LLaMA}, month = May, year = 2023, url = {https://github.com/openlm-research/open_llama} } ``` ``` @software{together2023redpajama, author = {Together Computer}, title = {RedPajama-Data: An Open Source Recipe to Reproduce LLaMA training dataset}, month = April, year = 2023, url = {https://github.com/togethercomputer/RedPajama-Data} } ``` ``` @article{touvron2023llama, title={Llama: Open and efficient foundation language models}, author={Touvron, Hugo and Lavril, Thibaut and Izacard, Gautier and Martinet, Xavier and Lachaux, Marie-Anne and Lacroix, Timoth{\'e}e and Rozi{\`e}re, Baptiste and Goyal, Naman and Hambro, Eric and Azhar, Faisal and others}, journal={arXiv preprint arXiv:2302.13971}, year={2023} } ```
[ -0.3428572714328766, -0.7178163528442383, 0.2549479007720947, 0.446659117937088, -0.23267340660095215, -0.05769767612218857, -0.3248981237411499, -0.6485300660133362, 0.3310573995113373, 0.2825787365436554, -0.4565598666667938, -0.6205956339836121, -0.6433021426200867, 0.0821617916226387, -0.2678864002227783, 1.2246832847595215, -0.3486855626106262, -0.16905994713306427, -0.07695883512496948, -0.32575565576553345, -0.1872919350862503, -0.3967097997665405, -0.6357350945472717, -0.4016670286655426, 0.43050843477249146, 0.16432182490825653, 0.6221678256988525, 0.5230873227119446, 0.5641939043998718, 0.321444034576416, -0.3299493193626404, 0.2503088116645813, -0.5105942487716675, -0.2611757516860962, 0.26869383454322815, -0.523766815662384, -0.6909124255180359, 0.04870280250906944, 0.5245049595832825, 0.32292017340660095, -0.3115848898887634, 0.5841169357299805, -0.0393967367708683, 0.51261305809021, -0.5750274658203125, 0.3328312635421753, -0.5556769371032715, 0.1442836970090866, -0.3093012571334839, 0.011496996507048607, -0.23766452074050903, -0.3678775727748871, -0.17751193046569824, -0.7570757269859314, 0.030978579074144363, -0.001817630254663527, 1.202440619468689, 0.40040886402130127, -0.23308409750461578, -0.20643068850040436, -0.4652906060218811, 0.8103487491607666, -0.796253502368927, 0.15735258162021637, 0.3741978704929352, 0.24888728559017181, -0.11695940792560577, -0.8628616333007812, -0.7005882263183594, -0.1820685714483261, -0.08539168536663055, 0.12749913334846497, -0.3486942648887634, -0.12358833104372025, 0.32488349080085754, 0.5684713125228882, -0.46378055214881897, 0.2837802767753601, -0.5785015821456909, -0.14326722919940948, 0.7416321039199829, 0.2576933801174164, 0.13011839985847473, -0.111207015812397, -0.5337030291557312, -0.23114274442195892, -0.7627645134925842, 0.3503606617450714, 0.15463513135910034, 0.2867010831832886, -0.5192636251449585, 0.6451989412307739, -0.2759077847003937, 0.4936794936656952, 0.12080633640289307, -0.5079724192619324, 0.6929789185523987, -0.4378979504108429, -0.44837868213653564, -0.014115131460130215, 0.8968035578727722, 0.38151636719703674, 0.04082118719816208, 0.09775696694850922, -0.21043036878108978, -0.07740210741758347, -0.09686344116926193, -0.8725642561912537, 0.008790184743702412, 0.2574126422405243, -0.5003108382225037, -0.400248259305954, 0.03062664344906807, -0.5622692108154297, -0.1728564202785492, -0.1114974096417427, 0.4322904050350189, -0.136414036154747, -0.26222753524780273, 0.2896570563316345, 0.175004243850708, 0.423241525888443, 0.4622856378555298, -0.7134168148040771, 0.23610089719295502, 0.5438714027404785, 0.9399025440216064, -0.03140043094754219, -0.426628440618515, -0.32475295662879944, -0.02263960987329483, -0.23630809783935547, 0.4992291033267975, -0.15690988302230835, -0.2949386239051819, -0.13639427721500397, 0.08012489974498749, -0.2348412573337555, -0.5428667664527893, 0.5162590742111206, -0.42268362641334534, 0.2321987748146057, -0.19728617370128632, -0.19471655786037445, -0.34593090415000916, 0.22141726315021515, -0.5833204984664917, 1.302073359489441, 0.12316669523715973, -0.7081038355827332, 0.25937217473983765, -0.8235054612159729, -0.11025698482990265, -0.2872624695301056, 0.15468591451644897, -0.6710506081581116, -0.020718850195407867, 0.44154179096221924, 0.4443899989128113, -0.45546236634254456, 0.19591109454631805, -0.3051299750804901, -0.4933474361896515, 0.20141740143299103, -0.1775253266096115, 1.0434592962265015, 0.3080294728279114, -0.5072640776634216, 0.2919290065765381, -0.8480467200279236, -0.08015964925289154, 0.6493608355522156, -0.5434671640396118, -0.008057254366576672, -0.26546525955200195, -0.0036633459385484457, 0.11614631116390228, 0.4607253968715668, -0.5825166702270508, 0.4346402883529663, -0.3048805594444275, 0.5108089447021484, 0.871107816696167, -0.2117261290550232, 0.16412138938903809, -0.4504474997520447, 0.4358840882778168, 0.16257648169994354, 0.31925010681152344, -0.2054382860660553, -0.6777803301811218, -1.067573070526123, -0.5188010931015015, 0.1377796232700348, 0.40740713477134705, -0.32375797629356384, 0.4826517403125763, -0.1637781262397766, -0.7117524743080139, -0.7827841639518738, 0.21794816851615906, 0.46773484349250793, 0.4130477011203766, 0.4985732436180115, -0.29867133498191833, -0.6255246996879578, -0.820878267288208, 0.06042321026325226, -0.3146902918815613, 0.15261413156986237, 0.2925373613834381, 0.7421922087669373, -0.39696913957595825, 0.857815682888031, -0.5083199143409729, -0.3742324411869049, -0.1949443370103836, -0.14751161634922028, 0.5950197577476501, 0.45056167244911194, 0.7568135261535645, -0.4369431734085083, -0.4102786183357239, 0.021621953696012497, -0.8796373605728149, -0.058462440967559814, 0.014774775132536888, -0.13969522714614868, 0.32098791003227234, 0.17479825019836426, -0.9046306610107422, 0.5968803763389587, 0.5924665331840515, -0.348102331161499, 0.5298129916191101, -0.06215916946530342, -0.03336860612034798, -0.9917941093444824, 0.2740233838558197, -0.09200965613126755, -0.12485407292842865, -0.47142672538757324, 0.37835848331451416, 0.045475754886865616, 0.021284492686390877, -0.7206258177757263, 0.7104146480560303, -0.32379794120788574, -0.1277649849653244, 0.020736468955874443, -0.027959099039435387, -0.03967202082276344, 0.7123904228210449, -0.16913026571273804, 0.9123858213424683, 0.44586995244026184, -0.45229631662368774, 0.30432751774787903, 0.3402329981327057, -0.45863106846809387, 0.22085238993167877, -0.8521037697792053, 0.28726956248283386, 0.0019032562850043178, 0.5252702236175537, -0.9586561918258667, -0.21785637736320496, 0.5276603102684021, -0.32793930172920227, 0.15905435383319855, 0.09495526552200317, -0.5351371169090271, -0.6810848116874695, -0.6044000387191772, 0.3913908004760742, 0.6303545832633972, -0.7809916734695435, 0.21870951354503632, 0.1708451509475708, 0.19931404292583466, -0.7062923312187195, -0.6983001828193665, -0.1245504766702652, -0.33920276165008545, -0.5819560885429382, 0.31920310854911804, -0.1335100382566452, -0.16356757283210754, -0.09348612278699875, -0.08449339866638184, 0.025877131149172783, 0.25355690717697144, 0.36349576711654663, 0.3087887763977051, -0.3257024884223938, -0.1297336220741272, -0.08013319224119186, -0.08162729442119598, -0.09610048681497574, 0.017195988446474075, 0.6982079744338989, -0.4540896713733673, -0.4526830017566681, -0.6837652921676636, -0.15721112489700317, 0.5225688219070435, -0.28911569714546204, 0.9116400480270386, 0.7660108208656311, -0.36129099130630493, 0.20525415241718292, -0.5518614053726196, 0.11456012725830078, -0.48919036984443665, 0.2742331027984619, -0.38123878836631775, -0.9069008827209473, 0.594680666923523, 0.21971610188484192, 0.2912842333316803, 0.7514274716377258, 0.7924141883850098, 0.1002727746963501, 0.856548011302948, 0.4781056046485901, -0.2569959759712219, 0.3281627595424652, -0.5829445123672485, -0.04700057581067085, -1.0472739934921265, -0.5004879236221313, -0.5307627320289612, -0.3929974436759949, -0.3900279104709625, -0.5478546023368835, 0.32472145557403564, 0.3686791658401489, -0.6329536437988281, 0.3906543552875519, -0.5432031154632568, 0.2919231355190277, 0.5155952572822571, 0.1495746523141861, 0.35151469707489014, 0.0756472498178482, -0.11334638297557831, 0.08384928107261658, -0.5206665992736816, -0.4918038249015808, 1.4475198984146118, 0.5498806238174438, 0.6833080053329468, 0.05681441351771355, 0.8667067289352417, 0.023962397128343582, 0.5095413327217102, -0.5716758370399475, 0.5458905100822449, 0.23962685465812683, -0.5537117719650269, -0.08124398440122604, -0.2694184482097626, -1.0391157865524292, 0.47267842292785645, -0.09444944560527802, -0.9229105114936829, 0.03334895521402359, -0.08395534753799438, -0.328999787569046, 0.4552648365497589, -0.44045424461364746, 0.691063404083252, -0.2509351372718811, -0.22077856957912445, -0.13009990751743317, -0.48575255274772644, 0.6662565469741821, -0.2317722588777542, 0.1203482374548912, -0.19503924250602722, -0.26477983593940735, 0.8959843516349792, -0.7166991829872131, 0.862604022026062, -0.22220467031002045, -0.12874740362167358, 0.5003548264503479, -0.23393051326274872, 0.567633330821991, -0.038403235375881195, -0.26071614027023315, 0.5616719722747803, -0.17866583168506622, -0.4169630706310272, -0.30605781078338623, 0.7397118210792542, -1.2180731296539307, -0.7194117903709412, -0.4691935181617737, -0.3307727575302124, 0.16416847705841064, 0.11664696782827377, 0.18165279924869537, 0.03664951026439667, 0.02845550887286663, 0.22126856446266174, 0.36260512471199036, -0.38934049010276794, 0.5773531794548035, 0.4933018684387207, -0.4685790240764618, -0.5665885806083679, 0.7769085168838501, 0.01009285543113947, 0.12364503741264343, 0.18160507082939148, 0.24618923664093018, -0.24831518530845642, -0.520771324634552, -0.5916447043418884, 0.4504162073135376, -0.6422437429428101, -0.37124550342559814, -0.6548684239387512, -0.27546820044517517, -0.329249769449234, -0.04351503401994705, -0.4034416675567627, -0.4985322058200836, -0.42975515127182007, -0.12597572803497314, 0.6082550287246704, 0.8614941835403442, 0.04013775661587715, 0.42247429490089417, -0.5746904015541077, 0.17408329248428345, 0.1765580177307129, 0.20080099999904633, 0.19912859797477722, -0.6661317348480225, -0.30847296118736267, 0.0605756901204586, -0.6129975318908691, -0.6017287373542786, 0.3322482407093048, 0.1367310881614685, 0.48724809288978577, 0.3976779282093048, -0.13327661156654358, 1.025585651397705, -0.25859344005584717, 1.0145518779754639, 0.36678892374038696, -0.8696879148483276, 0.5744222402572632, -0.20998762547969818, 0.1977170705795288, 0.45746156573295593, 0.39815759658813477, -0.3071574568748474, -0.2814387381076813, -0.6402572393417358, -0.895769476890564, 0.9017195701599121, 0.27471664547920227, -0.01345550175756216, 0.11390096694231033, 0.3252786099910736, 0.0888253003358841, 0.2795259654521942, -1.090959906578064, -0.3894781172275543, -0.24289460480213165, -0.1451064646244049, -0.18651047348976135, -0.07779073715209961, -0.17603690922260284, -0.52655029296875, 0.5914049744606018, 0.006871838588267565, 0.46860212087631226, 0.19807417690753937, -0.23031596839427948, -0.27061647176742554, -0.06479442864656448, 0.7691628336906433, 0.6489331722259521, -0.2160126268863678, -0.2366577833890915, 0.392825722694397, -0.5164222717285156, 0.1527760624885559, 0.014639942906796932, -0.26137906312942505, -0.11746099591255188, 0.47347909212112427, 1.059451699256897, 0.25266534090042114, -0.5845822095870972, 0.5907711386680603, 0.06934267282485962, -0.22243362665176392, -0.3311128616333008, 0.032132457941770554, 0.14635886251926422, 0.3291705250740051, 0.39064693450927734, -0.04362531751394272, -0.19354039430618286, -0.48936697840690613, -0.1048920676112175, 0.40242800116539, -0.012629834935069084, -0.3933221995830536, 0.9513409733772278, 0.1373293250799179, -0.26135703921318054, 0.5098496675491333, 0.07342485338449478, -0.4792109727859497, 0.8538907170295715, 0.6504519581794739, 0.790264904499054, -0.1726391613483429, 0.03006402961909771, 0.557094156742096, 0.3673199415206909, -0.07735870033502579, 0.22036436200141907, -0.12045849859714508, -0.3929910361766815, -0.27851951122283936, -0.9609643220901489, -0.3627045452594757, 0.21458254754543304, -0.552794337272644, 0.3380305767059326, -0.5858004093170166, -0.16043610870838165, -0.39816907048225403, 0.2562612295150757, -0.9356977343559265, 0.06820738315582275, 0.11459053307771683, 1.0147366523742676, -0.6650611758232117, 0.807087779045105, 0.651726245880127, -0.6148704290390015, -0.9862509369850159, -0.20410963892936707, -0.005243794992566109, -1.2555780410766602, 0.7723129987716675, 0.3922238349914551, 0.15488623082637787, -0.11466200649738312, -0.4893150329589844, -1.1606860160827637, 1.516872525215149, 0.258674293756485, -0.5076471567153931, 0.026480909436941147, 0.20703886449337006, 0.5154359340667725, -0.28483837842941284, 0.5926196575164795, 0.455923467874527, 0.5790646076202393, -0.009717578999698162, -1.2431193590164185, 0.280585378408432, -0.3243342936038971, -0.018865088000893593, 0.10118536651134491, -1.0940134525299072, 1.1873530149459839, -0.3563177287578583, -0.049552757292985916, 0.35954171419143677, 0.7041292786598206, 0.5411028861999512, 0.47524064779281616, 0.41653794050216675, 0.9248067140579224, 0.8616126775741577, -0.14411136507987976, 1.1885254383087158, -0.21397502720355988, 0.605523943901062, 0.7428167462348938, -0.19041669368743896, 0.9012017250061035, 0.4279978573322296, -0.5704144835472107, 0.5367251634597778, 0.8512576222419739, 0.0014367318945005536, 0.3590244948863983, 0.20137378573417664, -0.0934228003025055, 0.07824661582708359, 0.025466592982411385, -0.8013073205947876, 0.49318817257881165, 0.1421148180961609, -0.33901891112327576, -0.19254375994205475, -0.0724269449710846, 0.2633078694343567, -0.2942107021808624, -0.3602682650089264, 0.5684405565261841, 0.06015487387776375, -0.48696956038475037, 1.0670796632766724, 0.22556209564208984, 0.9920911192893982, -0.6392180323600769, 0.2248741239309311, -0.3266802430152893, 0.1758377104997635, -0.44414272904396057, -0.526999831199646, 0.11970272660255432, 0.20723478496074677, 0.17158885300159454, -0.11781469732522964, 0.5377503633499146, -0.12124603241682053, -0.4655059576034546, 0.3003639578819275, 0.34308576583862305, 0.3085995614528656, 0.14814569056034088, -0.7874913811683655, 0.42833298444747925, -0.04729786515235901, -0.773681104183197, 0.483424574136734, 0.08691122382879257, -0.07291924208402634, 0.7136721611022949, 0.8787106275558472, -0.0218384750187397, 0.23233167827129364, -0.10215125232934952, 1.0877124071121216, -0.7008344531059265, -0.28238117694854736, -0.8671457767486572, 0.5187733173370361, 0.07301151752471924, -0.5975513458251953, 0.8168235421180725, 0.6637338995933533, 0.8902636766433716, -0.04257897660136223, 0.45175498723983765, -0.1013486459851265, 0.22677968442440033, -0.5597625374794006, 0.7261915802955627, -0.7998772859573364, 0.18772439658641815, -0.24340547621250153, -1.0192397832870483, -0.2476750910282135, 0.7662774324417114, -0.1813584417104721, 0.08757340908050537, 0.522102952003479, 0.7685300707817078, 0.07166396081447601, -0.07885219156742096, -0.0357673205435276, 0.3163140118122101, 0.3749094307422638, 0.8792272210121155, 0.7987943887710571, -0.7099890112876892, 0.5113216042518616, -0.41644537448883057, -0.1927274763584137, -0.43877461552619934, -0.7475845813751221, -0.8420644402503967, -0.3965063989162445, -0.2983747124671936, -0.3045603632926941, -0.043857865035533905, 1.133805274963379, 0.5591956377029419, -0.5501496195793152, -0.4435030519962311, 0.11437922716140747, 0.12488370388746262, -0.19802063703536987, -0.19404275715351105, 0.4600321352481842, -0.12739604711532593, -0.8424107432365417, 0.4045219421386719, 0.0291779562830925, 0.10054142773151398, -0.3352496027946472, -0.34062954783439636, -0.15693825483322144, -0.008352848701179028, 0.6335871815681458, 0.37705540657043457, -0.9481449723243713, -0.2970908284187317, -0.19318199157714844, -0.26900219917297363, 0.27103498578071594, 0.35277777910232544, -0.8528468012809753, 0.15868186950683594, 0.23164986073970795, 0.5364971160888672, 0.8407767415046692, -0.12191685289144516, 0.04947127029299736, -0.4072802662849426, 0.4488529562950134, -0.13441453874111176, 0.4502609372138977, 0.15629006922245026, -0.2821519672870636, 0.8140153288841248, 0.3161524832248688, -0.4391811490058899, -1.0926264524459839, -0.14350521564483643, -1.1716439723968506, 0.007488033268600702, 1.1223924160003662, -0.2631467282772064, -0.503893256187439, 0.354368656873703, -0.3467094600200653, 0.2288278341293335, -0.3775954842567444, 0.7014397382736206, 0.544540286064148, -0.11320226639509201, -0.027728045359253883, -0.5540984869003296, 0.19561083614826202, 0.3358202874660492, -0.8408027291297913, -0.2842298448085785, 0.1660180240869522, 0.35030388832092285, 0.19561456143856049, 0.8689021468162537, -0.11685493588447571, 0.2552829086780548, -0.1656348705291748, 0.13211214542388916, -0.4692651033401489, -0.14735741913318634, -0.39810502529144287, 0.1605077087879181, 0.03959424048662186, -0.32975879311561584 ]
mrm8488/t5-base-finetuned-summarize-news
mrm8488
2023-03-17T00:50:19Z
15,175
31
transformers
[ "transformers", "pytorch", "jax", "safetensors", "t5", "text2text-generation", "news", "summary", "en", "arxiv:1910.10683", "autotrain_compatible", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text2text-generation
2022-03-02T23:29:05Z
--- language: en tags: - news - summary --- # T5-base fine-tuned fo News Summarization 📖✏️🧾 All credits to [Abhishek Kumar Mishra](https://github.com/abhimishra91) [Google's T5](https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html) base fine-tuned on [News Summary](https://www.kaggle.com/sunnysai12345/news-summary) dataset for **summarization** downstream task. ## Details of T5 The **T5** model was presented in [Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer](https://arxiv.org/pdf/1910.10683.pdf) by *Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J. Liu* in Here the abstract: Transfer learning, where a model is first pre-trained on a data-rich task before being fine-tuned on a downstream task, has emerged as a powerful technique in natural language processing (NLP). The effectiveness of transfer learning has given rise to a diversity of approaches, methodology, and practice. In this paper, we explore the landscape of transfer learning techniques for NLP by introducing a unified framework that converts every language problem into a text-to-text format. Our systematic study compares pre-training objectives, architectures, unlabeled datasets, transfer approaches, and other factors on dozens of language understanding tasks. By combining the insights from our exploration with scale and our new “Colossal Clean Crawled Corpus”, we achieve state-of-the-art results on many benchmarks covering summarization, question answering, text classification, and more. To facilitate future work on transfer learning for NLP, we release our dataset, pre-trained models, and code. ![model image](https://i.imgur.com/jVFMMWR.png) ## Details of the downstream task (Summarization) - Dataset 📚 [News Summary](https://www.kaggle.com/sunnysai12345/news-summary) The dataset consists of **4515 examples** and contains Author_name, Headlines, Url of Article, Short text, Complete Article. I gathered the summarized news from Inshorts and only scraped the news articles from Hindu, Indian times and Guardian. Time period ranges from febrauary to august 2017. ## Model fine-tuning 🏋️‍ The training script is a slightly modified version of [this Colab Notebook](https://github.com/abhimishra91/transformers-tutorials/blob/master/transformers_summarization_wandb.ipynb) created by [Abhishek Kumar Mishra](https://github.com/abhimishra91), so all credits to him! I also trained the model for more epochs (6). ## Model in Action 🚀 ```python from transformers import AutoModelWithLMHead, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("mrm8488/t5-base-finetuned-summarize-news") model = AutoModelWithLMHead.from_pretrained("mrm8488/t5-base-finetuned-summarize-news") def summarize(text, max_length=150): input_ids = tokenizer.encode(text, return_tensors="pt", add_special_tokens=True) generated_ids = model.generate(input_ids=input_ids, num_beams=2, max_length=max_length, repetition_penalty=2.5, length_penalty=1.0, early_stopping=True) preds = [tokenizer.decode(g, skip_special_tokens=True, clean_up_tokenization_spaces=True) for g in generated_ids] return preds[0] ``` Given the following article from **NYT** (2020/06/09) with title *George Floyd’s death energized a movement. He will be buried in Houston today*: After the sound and the fury, weeks of demonstrations and anguished calls for racial justice, the man whose death gave rise to an international movement, and whose last words — “I can’t breathe” — have been a rallying cry, will be laid to rest on Tuesday at a private funeral in Houston.George Floyd, who was 46, will then be buried in a grave next to his mother’s.The service, scheduled to begin at 11 a.m. at the Fountain of Praise church, comes after five days of public memorials in Minneapolis, North Carolina and Houston and two weeks after a Minneapolis police officer was caught on video pressing his knee into Mr. Floyd’s neck for nearly nine minutes before Mr. Floyd died. That officer, Derek Chauvin, has been charged with second-degree murder and second-degree manslaughter. His bail was set at $1.25 million in a court appearance on Monday. The outpouring of anger and outrage after Mr. Floyd’s death — and the speed at which protests spread from tense, chaotic demonstrations in the city where he died to an international movement from Rome to Rio de Janeiro — has reflected the depth of frustration borne of years of watching black people die at the hands of the police or vigilantes while calls for change went unmet. ``` summarize('After the sound and the fury, weeks of demonstrations and anguished calls for racial justice, the man whose death gave rise to an international movement, and whose last words — “I can’t breathe” — have been a rallying cry, will be laid to rest on Tuesday at a private funeral in Houston.George Floyd, who was 46, will then be buried in a grave next to his mother’s.The service, scheduled to begin at 11 a.m. at the Fountain of Praise church, comes after five days of public memorials in Minneapolis, North Carolina and Houston and two weeks after a Minneapolis police officer was caught on video pressing his knee into Mr. Floyd’s neck for nearly nine minutes before Mr. Floyd died. That officer, Derek Chauvin, has been charged with second-degree murder and second-degree manslaughter. His bail was set at $1.25 million in a court appearance on Monday. The outpouring of anger and outrage after Mr. Floyd’s death — and the speed at which protests spread from tense, chaotic demonstrations in the city where he died to an international movement from Rome to Rio de Janeiro — has reflected the depth of frustration borne of years of watching black people die at the hands of the police or vigilantes while calls for change went unmet.', 80) ``` We would obtain: At a private funeral in Houston. Floyd, who was 46 years old when his death occurred, will be buried next to the grave of his mother. A Minnesota police officer was caught on video pressing his knee into Mr's neck for nearly nine minutes before his death. The officer has been charged with second-degree manslaughter and $1.2 million bail is set at > Created by [Manuel Romero/@mrm8488](https://twitter.com/mrm8488) | [LinkedIn](https://www.linkedin.com/in/manuel-romero-cs/) > Made with <span style="color: #e25555;">&hearts;</span> in Spain
[ -0.28357353806495667, -0.304299533367157, 0.3252390921115875, 0.3323276937007904, -0.235263392329216, -0.004327557049691677, -0.059503111988306046, -0.3853122889995575, 0.18683889508247375, 0.2611773908138275, -0.17600250244140625, -0.15849155187606812, -0.679314911365509, 0.09808676689863205, -0.44691532850265503, 1.093637466430664, -0.17166094481945038, -0.08146309852600098, 0.3311561346054077, -0.311643123626709, -0.048927098512649536, -0.14855286478996277, -0.7279242873191833, -0.22182457149028778, 0.1794317662715912, 0.0910293385386467, 0.4255771338939667, 0.4724646508693695, 0.25673991441726685, 0.354793518781662, -0.3269048035144806, 0.04976034536957741, -0.5898917317390442, -0.09092209488153458, 0.02144986018538475, -0.27475276589393616, -0.407351553440094, 0.30318737030029297, 0.42549216747283936, 0.7627077102661133, 0.004790096078068018, 0.14923180639743805, -0.032884739339351654, 0.6627694964408875, -0.5221402049064636, 0.03605334833264351, -0.24312658607959747, 0.1574220061302185, -0.007301581557840109, -0.27518218755722046, -0.2577208876609802, -0.6674879789352417, 0.2558553218841553, -0.5011172890663147, 0.27210018038749695, -0.209959015250206, 0.9183660745620728, 0.2572074830532074, -0.279500812292099, -0.09887638688087463, -0.2990487813949585, 0.668856143951416, -0.46236687898635864, 0.29887640476226807, 0.1708625853061676, 0.31285929679870605, -0.0699792206287384, -0.9498792290687561, -0.3786511719226837, -0.05229020491242409, -0.1632191240787506, 0.3009159564971924, -0.2953140437602997, -0.09291067719459534, 0.3194703459739685, 0.6205230951309204, -0.36581799387931824, -0.22294943034648895, -0.6938802003860474, -0.0693570002913475, 0.556813657283783, -0.19381918013095856, 0.17662313580513, -0.3749527037143707, -0.4301818013191223, -0.049468450248241425, -0.2836873233318329, 0.307766854763031, 0.2022174894809723, 0.03533698990941048, -0.6501083970069885, 0.32988712191581726, -0.364633172750473, 0.4667584300041199, 0.3974246680736542, -0.38496145606040955, 0.28047674894332886, -0.2899772524833679, -0.324365496635437, 0.002556224586442113, 0.9890519380569458, 0.6313098669052124, 0.5140967965126038, -0.3864371180534363, -0.004581727087497711, -0.12098316103219986, 0.24758221209049225, -0.925041139125824, -0.33908015489578247, 0.25748297572135925, -0.5560290217399597, -0.1953078806400299, 0.1477557271718979, -0.5952295064926147, -0.14824068546295166, -0.28145521879196167, 0.25848910212516785, -0.3177187144756317, -0.0003759159881155938, 0.15166915953159332, -0.3296225070953369, -0.05268917232751846, 0.272053062915802, -0.8420395851135254, 0.09392024576663971, 0.26579251885414124, 0.9903149008750916, 0.05259668827056885, -0.2334243655204773, -0.5036318898200989, 0.10727404057979584, -0.19393213093280792, 0.3833416998386383, 0.014996292069554329, -0.499310165643692, -0.11551197618246078, 0.2359241247177124, 0.234287291765213, -0.33103373646736145, 0.6723617315292358, -0.37185755372047424, 0.31439009308815, -0.15281666815280914, -0.26433491706848145, -0.31888696551322937, -0.07346614450216293, -0.16677792370319366, 0.8258365392684937, 0.24406284093856812, -0.5368160605430603, 0.20445162057876587, -0.5194079875946045, -0.3902471363544464, -0.09635618329048157, 0.21806910634040833, -0.36276954412460327, 0.1782219260931015, -0.03350035473704338, 0.5274142026901245, 0.1167353093624115, 0.18671616911888123, -0.3351529836654663, -0.3410450220108032, -0.023867366835474968, -0.05201515182852745, 0.9743294715881348, 0.46187111735343933, -0.5251162648200989, -0.281750351190567, -0.681689441204071, 0.11385739594697952, 0.02678901143372059, -0.32822489738464355, -0.003278199350461364, -0.11116430163383484, -0.05184556916356087, 0.16901488602161407, -0.05223932862281799, -0.40634685754776, 0.1366352140903473, -0.3283839523792267, 0.4474054276943207, 0.6124892234802246, 0.2271254062652588, 0.6043504476547241, -0.44452646374702454, 0.3884730041027069, -0.11990312486886978, 0.10085427761077881, -0.19759300351142883, -0.0969402864575386, -0.6140897274017334, 0.18911485373973846, 0.3722844123840332, 0.30583760142326355, 0.023857682943344116, 0.517611563205719, -0.28982022404670715, -0.4983222484588623, -0.37304750084877014, -0.09996525198221207, 0.23287717998027802, 0.5449497699737549, 0.6154512166976929, -0.5172109603881836, -0.8831583857536316, -0.5922014713287354, -0.28798598051071167, -0.09508038312196732, -0.10572794824838638, -0.1899648755788803, 0.3616517186164856, -0.28633204102516174, 0.6181661486625671, -0.42253577709198, -0.21473143994808197, 0.06438310444355011, 0.1546366810798645, 0.09172534197568893, 0.3538021147251129, 0.5261372327804565, -0.7854111194610596, -0.5521427392959595, 0.1017400473356247, -0.5408045649528503, -0.3280755877494812, -0.32030901312828064, -0.09511889517307281, 0.14033383131027222, 0.43560612201690674, -0.15086263418197632, 0.15575011074543, 0.4810340404510498, -0.09765379875898361, 0.344199538230896, -0.16879883408546448, 0.1239212304353714, -0.9541537761688232, 0.1794867366552353, -0.022183626890182495, -0.4484720230102539, -0.4201810956001282, -0.13599573075771332, 0.017639368772506714, -0.051514625549316406, -0.413411021232605, 0.5443017482757568, -0.5357493162155151, -0.0738527923822403, -0.4774249792098999, 0.13931362330913544, -0.00989994965493679, 0.4786992371082306, 0.06342125684022903, 0.6703973412513733, 0.40304210782051086, -0.7967951893806458, 0.21875813603401184, 0.47039133310317993, -0.07254433631896973, 0.43265995383262634, -0.6089792251586914, -0.021296365186572075, -0.35548001527786255, 0.5448806285858154, -0.709796667098999, 0.07926306873559952, 0.22098878026008606, -0.44924309849739075, 0.2596309185028076, -0.2423354685306549, -0.04210170730948448, -0.4025164544582367, -0.4667210876941681, -0.07400752604007721, 0.567608654499054, -0.21023990213871002, 0.316243052482605, 0.6687299609184265, -0.2032233476638794, -0.5417241454124451, -0.7313968539237976, 0.22614902257919312, -0.15251389145851135, -0.45461511611938477, 0.5223269462585449, -0.12312067300081253, -0.24171772599220276, -0.09061633795499802, -0.23954208195209503, -0.012707410380244255, 0.032148197293281555, 0.3229617774486542, -0.03682105988264084, 0.03501148521900177, 0.12262062728404999, -0.018917419016361237, -0.2815014719963074, -0.09977474808692932, -0.23820048570632935, 0.39129725098609924, -0.3256109058856964, 0.2518901228904724, -0.3998524844646454, 0.3379206359386444, 0.755603015422821, -0.32661643624305725, 0.5810543894767761, 0.6875221729278564, -0.23661865293979645, 0.05312970653176308, -0.4283727705478668, 0.056642379611730576, -0.39164209365844727, 0.1279178410768509, -0.33486196398735046, -0.40498605370521545, 0.41963449120521545, 0.03418947383761406, 0.31797245144844055, 0.47937411069869995, 0.6925339698791504, -0.10505440831184387, 0.5945121645927429, 0.46987080574035645, -0.2650303542613983, 0.6598384380340576, -0.6936463713645935, 0.012572209350764751, -0.7141772508621216, -0.20248383283615112, -0.4293859601020813, -0.4126834571361542, -0.5347061157226562, -0.1182202473282814, 0.47454288601875305, 0.3394354581832886, -0.22494539618492126, 0.07431970536708832, -0.4772907793521881, 0.22327323257923126, 0.22342371940612793, 0.090821772813797, 0.30659183859825134, -0.11376319080591202, 0.26636821031570435, -0.13898248970508575, -0.3207671046257019, -0.4733507037162781, 0.9787681698799133, 0.27761054039001465, 0.6346436738967896, 0.25772473216056824, 0.5546606779098511, 0.29675060510635376, 0.4977477192878723, -0.4591540992259979, 0.2862458825111389, -0.1627471148967743, -0.3118117153644562, -0.13581658899784088, -0.4572833180427551, -0.87132728099823, 0.23346048593521118, -0.09258333593606949, -0.6262673735618591, 0.2076982706785202, -0.1704111546278, -0.4029509723186493, 0.17501068115234375, -0.7399337291717529, 0.6807012557983398, -0.29881614446640015, -0.2223471701145172, 0.07317885756492615, -0.8050547242164612, 0.2916543781757355, 0.18967388570308685, 0.08706056326627731, -0.019213128834962845, -0.24050259590148926, 0.7023324966430664, -0.43505212664604187, 0.43373292684555054, -0.17041513323783875, 0.08540378510951996, 0.04230177775025368, -0.2158263474702835, 0.6206156611442566, -0.003654471365734935, 0.14185111224651337, -0.16987568140029907, -0.04379452392458916, -0.3112049698829651, -0.27735674381256104, 0.4393142759799957, -0.6850596070289612, -0.13702912628650665, -0.38304927945137024, -0.311421275138855, -0.07893159240484238, 0.03608119115233421, 0.5576288104057312, 0.34231844544410706, 0.06096344068646431, 0.22594626247882843, 0.6106746196746826, 0.053825195878744125, 0.7004632949829102, 0.47024115920066833, 0.003082939190790057, -0.4669630825519562, 0.4798605144023895, 0.3368288576602936, 0.02324601821601391, 0.44526201486587524, 0.207309752702713, -0.5303753614425659, -0.5190594792366028, -0.5075206756591797, 0.35207831859588623, -0.4812135696411133, -0.0740911141037941, -1.0397775173187256, 0.045497871935367584, -0.5352673530578613, -0.2599445879459381, -0.17471106350421906, -0.19914253056049347, -0.4347820580005646, -0.19885393977165222, 0.3762966990470886, 0.19259588420391083, -0.030334290117025375, 0.21256843209266663, -0.8284900188446045, 0.6405937671661377, 0.1735260933637619, 0.40918752551078796, -0.2686220407485962, -0.6899059414863586, -0.17376534640789032, 0.01912160962820053, -0.4793280363082886, -0.9109385013580322, 0.3201257586479187, 0.28949519991874695, 0.32070255279541016, 0.41309624910354614, 0.18168438971042633, 0.8808639049530029, -0.5256391763687134, 0.45187216997146606, 0.2848663628101349, -0.821823239326477, 0.5201700925827026, -0.25142398476600647, 0.17841924726963043, 0.5743341445922852, 0.48361584544181824, -0.9192930459976196, -0.4569808840751648, -0.7803184986114502, -0.5729414224624634, 0.5867854356765747, -0.1251760572195053, 0.11599935591220856, 0.21996621787548065, 0.3181392252445221, 0.07208960503339767, 0.031216301023960114, -0.9343137741088867, -0.5316458344459534, -0.42766785621643066, -0.08660341054201126, -0.17455239593982697, -0.20325037837028503, -0.09304655343294144, -0.3048744797706604, 0.5838925242424011, -0.1349826157093048, 0.3412455916404724, 0.38749125599861145, -0.35713157057762146, -0.2536119818687439, 0.12410692125558853, 0.665969729423523, 0.7210168838500977, -0.234073206782341, -0.028148716315627098, 0.16904303431510925, -0.41594088077545166, 0.41843679547309875, 0.5705908536911011, -0.21539226174354553, 0.11625505983829498, 0.24476218223571777, 0.6976949572563171, 0.34053635597229004, -0.3880600929260254, 0.4865204989910126, -0.09418973326683044, -0.3139777183532715, -0.33106476068496704, 0.19890624284744263, 0.029284682124853134, 0.2900610864162445, 0.46846964955329895, 0.06946560740470886, 0.1683199256658554, -0.7810150980949402, 0.2213766872882843, 0.16121605038642883, -0.30176565051078796, -0.33529895544052124, 0.8044977784156799, 0.18134689331054688, -0.026890825480222702, -0.09614627808332443, -0.24216628074645996, -0.7176170945167542, 0.26699748635292053, 0.3442103862762451, 0.692703127861023, -0.03211202472448349, 0.1483505815267563, 0.3981766104698181, 0.12298360466957092, -0.23582613468170166, 0.1122615784406662, -0.3571097254753113, -0.4113103151321411, -0.34399959444999695, -0.6372160315513611, -0.3696662485599518, 0.06545018404722214, -0.34723612666130066, 0.05377575382590294, -0.33496177196502686, -0.02729225903749466, -0.00986406672745943, 0.5396652221679688, -0.29756608605384827, 0.29354843497276306, 0.0601361058652401, 0.8482432961463928, -0.6724041104316711, 0.39664188027381897, 0.5844173431396484, -0.4872919023036957, -0.500701367855072, 0.088562972843647, -0.2412639856338501, -0.5255545973777771, 0.3792479634284973, 0.10476759076118469, 0.043535903096199036, 0.13773012161254883, -0.22143971920013428, -0.6059345602989197, 0.861737072467804, 0.4714614450931549, -0.29333677887916565, -0.010971993207931519, -0.30243751406669617, 0.6300771236419678, 0.013954581692814827, 0.32331129908561707, 0.4788312315940857, 0.618062436580658, -0.14816917479038239, -0.871737539768219, 0.009169335477054119, -0.10718633234500885, -0.20534704625606537, 0.29518723487854004, -1.0626311302185059, 0.7364699840545654, -0.32124948501586914, -0.3634919226169586, -0.027531823143363, 0.6029363870620728, 0.0012376675149425864, 0.275860995054245, 0.3884676992893219, 0.6454626321792603, 0.716283917427063, -0.2024364322423935, 1.3024201393127441, -0.17396312952041626, 0.5413600206375122, 0.5105931758880615, 0.27960026264190674, 0.44932258129119873, 0.35197561979293823, -0.736599862575531, 0.2143004983663559, 0.6556957960128784, 0.09342032670974731, 0.6037258505821228, 0.16090676188468933, -0.3022571802139282, 0.28048837184906006, -0.04799441248178482, -0.6289146542549133, 0.3156973123550415, -0.06749381124973297, -0.4074915647506714, -0.31421756744384766, -0.06296063214540482, 0.1660051941871643, -0.08099717646837234, -0.4624776542186737, 0.5446893572807312, 0.36647680401802063, -0.6782312989234924, 0.6983165740966797, 0.17967653274536133, 0.621076762676239, -0.6784558892250061, 0.2653024196624756, -0.2895612418651581, 0.1735074520111084, -0.33999088406562805, -0.3621074855327606, 0.3693499267101288, -0.00416175602003932, -0.36925768852233887, -0.5723416209220886, 0.43628573417663574, -0.4134809970855713, -0.05699458718299866, 0.032417505979537964, 0.23226158320903778, 0.2849951684474945, -0.14038436114788055, -0.5360588431358337, -0.09772028028964996, 0.1116800457239151, -0.39922022819519043, 0.32107871770858765, 0.5155526399612427, 0.178939551115036, 0.5495447516441345, 0.5817093253135681, 0.2594866156578064, 0.191752091050148, -0.13372047245502472, 0.4556769132614136, -0.6236198544502258, -0.6358389258384705, -0.6509279012680054, 0.4152235984802246, 0.033187996596097946, -0.5686649084091187, 0.48654311895370483, 0.5945307016372681, 0.6646952033042908, -0.006193224806338549, 0.5674740672111511, -0.22608409821987152, 0.5887516140937805, -0.562163233757019, 0.6744838953018188, -0.602340817451477, -0.20251664519309998, -0.06783121079206467, -0.5335845351219177, -0.1223975196480751, 0.5538433790206909, -0.33400559425354004, 0.1342478096485138, 0.5488161444664001, 0.5169197916984558, -0.05101461708545685, -0.1005958616733551, 0.14227358996868134, 0.19976864755153656, 0.22126522660255432, 0.5938001275062561, 0.43983837962150574, -0.6719068288803101, 0.7174182534217834, -0.30572161078453064, 0.05835932865738869, -0.4853031039237976, -0.6309366822242737, -0.31636908650398254, -0.4520559310913086, -0.12283490598201752, -0.12802471220493317, -0.03510067239403725, 0.6284235715866089, 0.7664444446563721, -0.6588693261146545, -0.04235556349158287, -0.14961661398410797, 0.0708690732717514, -0.32363826036453247, -0.20399914681911469, 0.4936690628528595, -0.13225333392620087, -0.9658761024475098, 0.12299174070358276, 0.23105740547180176, 0.3456127941608429, 0.10588426887989044, -0.23120765388011932, -0.0526677668094635, -0.5521348714828491, 0.6067379117012024, 0.6329101324081421, -0.5812458395957947, -0.12017226219177246, -0.2264264076948166, -0.39312198758125305, 0.17060111463069916, 0.66473388671875, -0.7716799974441528, 0.2939468324184418, 0.47171491384506226, 0.6802853345870972, 0.6876811981201172, 0.22614501416683197, 0.4265250861644745, -0.6613134741783142, 0.158748596906662, 0.16776348650455475, 0.6707980036735535, 0.1746903955936432, -0.20119765400886536, 0.7464656829833984, 0.576682448387146, -0.46195703744888306, -0.8568891286849976, -0.09386592358350754, -1.0827664136886597, -0.0843341127038002, 0.6318288445472717, 0.11017699539661407, 0.0831054076552391, -0.1777011752128601, -0.2565494477748871, 0.3450302481651306, -0.48854732513427734, 0.7165816426277161, 0.6007100343704224, -0.14745573699474335, -0.5253371000289917, -0.5924400091171265, 0.4338952898979187, 0.1790998876094818, -0.7856667637825012, -0.08333268016576767, 0.39659133553504944, 0.16124507784843445, 0.2309599369764328, 0.7506905794143677, -0.030342115089297295, 0.4859456717967987, -0.02436339668929577, -0.02478308603167534, -0.23668842017650604, -0.04855920746922493, -0.38607722520828247, 0.44905921816825867, -0.373142272233963, -0.29087114334106445 ]
af1tang/personaGPT
af1tang
2023-08-20T20:10:05Z
15,170
103
transformers
[ "transformers", "pytorch", "gpt2", "text-generation", "conversational", "arxiv:1801.07243", "license:gpl-3.0", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
conversational
2022-03-02T23:29:05Z
--- tags: - conversational license: gpl-3.0 --- ## A conversational agent with many personalities (PersonaGPT) PersonaGPT is an open-domain conversational agent designed to do 2 tasks: 1. decoding _personalized_ responses based on input personality facts (the "persona" profile of the bot). 2. incorporating _turn-level goals_ into its responses through "action codes" (e.g., "talk about work", "ask about favorite music"). It builds on the [DialoGPT-medium](https://huggingface.co/microsoft/DialoGPT-medium) pretrained model based on the [GPT-2](https://github.com/openai/gpt-2) architecture. This model is trained on the [Persona-Chat](https://arxiv.org/pdf/1801.07243) dataset, with added special tokens to better distinguish between conversational history and personality traits for dyadic conversations. Furthermore, some active learning was used to train the model to do _controlled_ decoding using turn-level goals. ## Full Repo Preprocessing, training and implementation details can be found in the [personaGPT repo](https://github.com/af1tang/personaGPT). ### How to Use 1. Load the model and define some helper functions. ```python from transformers import GPT2Tokenizer, GPT2LMHeadModel import torch tokenizer = GPT2Tokenizer.from_pretrained("af1tang/personaGPT") model = GPT2LMHeadModel.from_pretrained("af1tang/personaGPT") if torch.cuda.is_available(): model = model.cuda() ## utility functions ## flatten = lambda l: [item for sublist in l for item in sublist] def to_data(x): if torch.cuda.is_available(): x = x.cpu() return x.data.numpy() def to_var(x): if not torch.is_tensor(x): x = torch.Tensor(x) if torch.cuda.is_available(): x = x.cuda() return x def display_dialog_history(dialog_hx): for j, line in enumerate(dialog_hx): msg = tokenizer.decode(line) if j %2 == 0: print(">> User: "+ msg) else: print("Bot: "+msg) print() def generate_next(bot_input_ids, do_sample=True, top_k=10, top_p=.92, max_length=1000, pad_token=tokenizer.eos_token_id): full_msg = model.generate(bot_input_ids, do_sample=True, top_k=top_k, top_p=top_p, max_length=max_length, pad_token_id=tokenizer.eos_token_id) msg = to_data(full_msg.detach()[0])[bot_input_ids.shape[-1]:] return msg ``` 2. Give your chatbot partner a set of personalities. ```python # get personality facts for conversation personas = [] for i in range(3): response = input(">> Fact %d: "%(i+1))+ tokenizer.eos_token personas.append(response) personas = tokenizer.encode(''.join(['<|p2|>'] + personas + ['<|sep|>'] + ['<|start|>'])) ``` 3. The first use of PersonaGPT is to do _personalized_ dialog generation. Use the following loop to interact with the model. ```python # converse for 8 turns dialog_hx = [] for step in range(8): # encode the user input user_inp = tokenizer.encode(input(">> User: ") + tokenizer.eos_token) # append to the chat history dialog_hx.append(user_inp) # generated a response while limiting the total chat history to 1000 tokens, bot_input_ids = to_var([personas + flatten(dialog_hx)]).long() msg = generate_next(bot_input_ids) dialog_hx.append(msg) print("Bot: {}".format(tokenizer.decode(msg, skip_special_tokens=True))) ``` Example of personalized decoding: | | Persona Facts | |---|---| | 1 | i am 64 years old but feel quite young. | | 2 | i try to eat healthy but limit mcdonalds to once a week. | | 3 | i regret working as a doctor for the last 20 years. | | 4 | my secret hobby is making self-help youtube videos. | | 5 | i've been to spain many times and wish i could go again. | | Role | Response| |---|---| | Human | yo whats good fam? | | Bot | hello, how are you doing? | | Human | not bad what you doing today?| | Bot | eating a lot healthier now that i'm in my 60s | | Human | i'm more of a fast food guy | | Bot | me too but i'm very healthy so i try to avoid it | | Human | what do you do for fun? | | Bot | i make videos for fun and eat very healthy | | Human | nice what kind of videos? | | Bot | i love making videos about self help stuff | | Human | i think i need some help | | Bot | what kind of help would you like to get | | Human | i'm 21 and feel lost in life | | Bot | i can relate, i'm only 65 | 4. The second use of PersonaGPT is to do _controlled response generation_. Use the following program to interact with the model. ```python ## available actions ## action_space = [ 'ask about kids.', "ask about pets.", 'talk about work.', 'ask about marital status.', 'talk about travel.', 'ask about age and gender.', 'ask about hobbies.', 'ask about favorite food.', 'talk about movies.', 'talk about music.', 'talk about politics.'] # converse for 8 turns dialog_hx = [] for step in range(8): # choose an action act = None while act not in action_space: display_dialog_history(dialog_hx) print() print(" actions: ") for k,v in enumerate(action_space): print(k,v) try: act = action_space[int(input(" input [0-10]: " ))] except: act = None print() # format into prefix code action_prefix = tokenizer.encode(''.join(['<|act|> '] + [act] + ['<|p1|>'] + [] + ['<|sep|>'] + ['<|start|>'])) bot_input_ids = to_var([action_prefix + flatten(dialog_hx)]).long() # generate query conditioned on action msg = generate_next(bot_input_ids, top_k=top_k, top_p=top_p, max_length=max_length) dialog_hx.append(msg) # generate bot response bot_input_ids = to_var([personas+ flatten(dialog_hx)]).long() msg = generate_next(bot_input_ids, top_k=top_k, top_p=top_p, max_length=max_length) dialog_hx.append(msg) display_dialog_history(dialog_hx) ``` Example of controlled response generation: | | Bot 2's Persona Facts | |---|---| | 1 | i am a quiet engineer. | | 2 | i'm single and am looking for love. | | 3 | sadly, i don't have any relatable hobbies. | | 4 | luckily, however, i am tall and athletic. | | 5 | on friday nights, i watch re-runs of the simpsons alone. | | Role | Action | Response | |---|---|---| | Bot 1 | talk about movies | hello do you like movies? | | Bot 2 | - | i love the simpsons. how about you? | | Bot 1 | talk about music | i like the walking dead. do you play an instrument? | | Bot 2 | - | yes i play the violin. | | Bot 1 | ask about marital status | are you married or single? | | Bot 2 | - | i am single but i am looking for love. | | Bot 1 | talk about work | my job is working in a factory. what's your occupation? | | Bot 2 | - | engineer. i'm very quiet so no one hears me. | | Bot 1 | talk about hobbies | do you have any hobbies? | | Bot 2 | - | i watch reruns of the simpsons. | | Bot 1 | ask about favorite food | what's your favorite food? | | Bot 2 | - | i love pizza. how about yourself? | | Bot 1 | ask about pets | i also love pizza. do you like animals? | | Bot 2 | - | i have two dogs. what is your occupation? | | Bot 1 | talk about work | i'm a factory worker. what's your dream job? | | Bot 2 | - | i'd love to be a writer one day. |
[ -0.384697288274765, -1.0406099557876587, 0.4849522113800049, 0.32336804270744324, 0.010239657945930958, 0.12487223744392395, -0.14412254095077515, 0.023129712790250778, 0.3759769797325134, 0.4691542983055115, -0.8889235854148865, -0.38711437582969666, -0.3903553783893585, -0.05779527500271797, 0.24019044637680054, 1.0438551902770996, 0.2450396865606308, 0.12622489035129547, -0.10118348896503448, 0.16324511170387268, -0.5673555731773376, -0.6292611956596375, -0.9214562177658081, -0.28460195660591125, 0.3951919674873352, 0.2471381425857544, 0.5067726969718933, 0.24346664547920227, 0.34046670794487, 0.508660614490509, 0.019465377554297447, 0.13453982770442963, -0.3686967194080353, 0.2223779559135437, -0.15554845333099365, -0.5019144415855408, -0.6779999136924744, -0.14980769157409668, 0.2562043368816376, 0.4338740110397339, 0.0715361163020134, 0.2391083836555481, 0.17470017075538635, 0.28716975450515747, -0.1683075726032257, 0.5286038517951965, -0.29625943303108215, 0.10448689758777618, -0.014291154220700264, -0.24229779839515686, -0.41351237893104553, -0.4497336447238922, 0.14961746335029602, -0.418398916721344, 0.10495241731405258, 0.02137308567762375, 0.7601214647293091, 0.251169890165329, -0.28529995679855347, -0.3880468010902405, -0.6195313930511475, 0.7776463031768799, -0.9061842560768127, -0.07909334450960159, 0.6270070672035217, 0.3020739257335663, -0.4242587089538574, -0.6472852230072021, -0.6178237199783325, -0.1908392459154129, -0.41552647948265076, 0.4156387150287628, -0.2785274386405945, -0.09762225300073624, 0.21839900314807892, 0.18604600429534912, -0.7728435397148132, -0.22824226319789886, -0.38089483976364136, -0.3345482647418976, 0.4885096251964569, 0.34351950883865356, 0.40336108207702637, -0.44272786378860474, -0.17877234518527985, -0.06700436770915985, -0.13145332038402557, 0.3244236707687378, 0.4161210060119629, 0.05125205218791962, -0.3794323205947876, 0.7440003156661987, -0.28132113814353943, 0.46625834703445435, 0.40465104579925537, -0.3734070062637329, 0.2641785144805908, -0.34437304735183716, -0.1987057775259018, -0.32345178723335266, 1.0386186838150024, 0.4490644931793213, 0.1762237399816513, 0.15485410392284393, 0.19631977379322052, -0.1403290182352066, -0.03373473882675171, -0.6432480216026306, -0.462888240814209, 0.6631825566291809, -0.5396965146064758, -0.28336992859840393, -0.1860428899526596, -0.8791660070419312, -0.2640133798122406, 0.11676899343729019, 0.4517490267753601, -0.5818625688552856, -0.226897731423378, 0.2139190286397934, -0.3426174521446228, 0.2788904309272766, 0.405161052942276, -0.9350364804267883, 0.2068004012107849, 0.3363657295703888, 0.8103928565979004, 0.27339181303977966, -0.1617528200149536, -0.4798816442489624, -0.03590715676546097, 0.07162635028362274, 0.6430090069770813, -0.3789152204990387, -0.2644500732421875, -0.25009018182754517, 0.29366716742515564, -0.23418892920017242, -0.3818497955799103, 0.2754634916782379, -0.19075679779052734, 0.7720533609390259, -0.22540578246116638, -0.36261624097824097, -0.11650098860263824, 0.29207363724708557, -0.2877608835697174, 0.8397567272186279, 0.23942773044109344, -0.7818603515625, -0.0652211382985115, -0.8991098403930664, -0.3096454441547394, 0.10258293896913528, -0.12226971238851547, -0.29034551978111267, -0.2743416428565979, 0.2644401490688324, 0.6306561827659607, -0.1424536257982254, 0.10568508505821228, -0.2437301129102707, 0.05903099477291107, 0.486143559217453, -0.19980816543102264, 1.0202378034591675, 0.16862674057483673, -0.5259255170822144, 0.15568961203098297, -0.5483076572418213, 0.17380104959011078, 0.3466719090938568, -0.5207711458206177, 0.13154512643814087, 0.0564378947019577, -0.07828643172979355, 0.381139874458313, 0.5975447297096252, -0.509034276008606, 0.33875593543052673, -0.3731744587421417, 0.6954508423805237, 0.8080180287361145, 0.21926455199718475, 0.19126839935779572, -0.5856054425239563, 0.4768258035182953, 0.010172185488045216, 0.11599264293909073, -0.2132868468761444, -0.7479758858680725, -0.8659482598304749, -0.262285053730011, -0.06542758643627167, 0.9345821738243103, -0.6292951107025146, 1.065255880355835, -0.024881741032004356, -0.5367960333824158, -0.345908522605896, 0.04186577722430229, 0.4467785954475403, 0.500248908996582, 0.1973404735326767, -0.43206536769866943, -0.5627939105033875, -0.8504846096038818, 0.06086600199341774, -0.2306492179632187, -0.3059285879135132, 0.7453603744506836, 0.6380735039710999, -0.20977672934532166, 0.897136926651001, -0.7029805779457092, -0.19544611871242523, -0.5782617330551147, 0.023190924897789955, 0.34405606985092163, 0.6911100745201111, 0.5626311302185059, -0.7031055092811584, -0.6703248620033264, -0.09466861188411713, -0.8641287684440613, 0.10138451308012009, -0.3319095969200134, -0.2643522322177887, -0.02934160642325878, 0.04020846262574196, -0.8009278178215027, 0.3804148733615875, 0.2346513271331787, -0.5684930086135864, 0.3878839313983917, -0.33861973881721497, 0.18282784521579742, -1.2314584255218506, 0.09355168789625168, -0.0006498811999335885, -0.2753191888332367, -0.6629098057746887, -0.1383880376815796, -0.486799955368042, -0.12420670688152313, -0.5061095952987671, 0.6171839237213135, -0.23002919554710388, 0.0695611909031868, -0.08647152781486511, 0.2004794180393219, -0.26081383228302, 1.1479086875915527, 0.020736776292324066, 0.5905287265777588, 0.7252336144447327, -0.6439832448959351, 0.5724542140960693, 0.6340433359146118, -0.18513202667236328, 0.5723772048950195, -0.7477380037307739, 0.42061230540275574, -0.30931106209754944, 0.48767516016960144, -1.263346552848816, -0.4612496495246887, 0.8315797448158264, -0.8181193470954895, 0.005930599290877581, -0.1355784386396408, -0.49522894620895386, -0.5175217986106873, -0.28697147965431213, -0.03288010507822037, 0.6688959002494812, -0.2216196209192276, 0.6644102334976196, 0.47621950507164, -0.3525698781013489, -0.22676050662994385, -0.47237545251846313, -0.13796673715114594, -0.2658274173736572, -0.7495918869972229, 0.04429900646209717, -0.4988614320755005, -0.1318894773721695, -0.28640875220298767, 0.03570232912898064, -0.09533894807100296, -0.058502864092588425, 0.2835021913051605, 0.010020902380347252, -0.005448743235319853, -0.2071111500263214, -0.1169549897313118, -0.0675029531121254, 0.06012300029397011, -0.046043843030929565, 1.30636727809906, -0.3969927430152893, -0.1323312371969223, -0.8332458138465881, 0.37333160638809204, 0.577313244342804, -0.1802491694688797, 0.6958829760551453, 0.8730125427246094, -0.17903317511081696, 0.26162415742874146, -0.4755697548389435, -0.3134930729866028, -0.5659383535385132, 0.3574087917804718, -0.5070303082466125, -0.612727701663971, 0.7275294661521912, 0.09357297420501709, 0.1229998990893364, 0.43251878023147583, 1.0309391021728516, -0.23424720764160156, 1.1775532960891724, 0.33924585580825806, -0.004563276655972004, 0.43774542212486267, -0.4554809331893921, 0.07707460224628448, -0.686479926109314, -0.5399883985519409, -0.19977274537086487, -0.39781618118286133, -0.592697024345398, -0.3648282587528229, 0.294893741607666, -0.15715241432189941, -0.6019466519355774, 0.46605634689331055, -0.5622344613075256, 0.10180607438087463, 0.8260959982872009, 0.5214894413948059, -0.06892059743404388, -0.22132790088653564, 0.08743291348218918, -0.195939838886261, -0.5942862033843994, -0.633399248123169, 0.8711662888526917, 0.368333101272583, 0.6510799527168274, 0.23102468252182007, 0.6554912328720093, 0.15319231152534485, -0.06324323266744614, -0.8587267398834229, 0.767632782459259, 0.14880019426345825, -0.8086486458778381, -0.3289407193660736, -0.3308899700641632, -0.9420948624610901, 0.054446686059236526, -0.06163068115711212, -1.1560779809951782, 0.04976861923933029, 0.1485510915517807, -0.5765967965126038, 0.24332000315189362, -0.6596875786781311, 0.8873608708381653, -0.4475950300693512, -0.41580840945243835, 0.021325483918190002, -0.989820122718811, 0.23635365068912506, 0.20643141865730286, -0.11609628796577454, -0.2246268093585968, 0.15800261497497559, 0.759926438331604, -0.3875173032283783, 1.0287489891052246, -0.16400182247161865, 0.20437389612197876, 0.36063152551651, 0.1597347855567932, 0.49737250804901123, 0.2792639136314392, 0.15977482497692108, -0.1620161235332489, 0.06381944566965103, -0.5085610747337341, -0.523792028427124, 0.6684179306030273, -1.0022674798965454, -0.7216771245002747, -0.47497546672821045, -0.3492279350757599, -0.08009377866983414, 0.36667579412460327, 0.45044058561325073, 0.20248809456825256, -0.11247792840003967, 0.30042749643325806, 0.6117501258850098, -0.5129294395446777, 0.517704427242279, 0.31507793068885803, 0.03751857206225395, -0.48074784874916077, 0.6901134848594666, -0.25472018122673035, 0.13569985330104828, 0.45157602429389954, 0.28605595231056213, -0.17111830413341522, -0.008122163824737072, -0.3306218385696411, 0.2982812225818634, -0.4729192852973938, -0.03857330232858658, -1.0546613931655884, -0.22360335290431976, -0.6951565146446228, -0.07801271975040436, -0.3311833143234253, -0.10310650616884232, -0.36486777663230896, 0.19917066395282745, 0.3941955268383026, 0.502112865447998, 0.05846961587667465, 0.5379775762557983, -0.4544767439365387, 0.4785919189453125, 0.514397382736206, 0.06599730998277664, -0.16357076168060303, -0.4132102131843567, 0.11393099278211594, 0.25127679109573364, -0.5656390190124512, -1.0545823574066162, 0.7567053437232971, 0.034715957939624786, 0.6015946865081787, 0.39079374074935913, -0.03934864699840546, 0.5899806022644043, -0.2992512583732605, 0.9192629456520081, 0.1184285581111908, -0.8418098092079163, 0.6933059692382812, -0.5814339518547058, 0.22437837719917297, 0.3370373547077179, 0.3819082975387573, -0.6656678318977356, -0.27211686968803406, -0.6677910685539246, -0.5956529378890991, 0.8824215531349182, 0.541759192943573, 0.37924614548683167, 0.008485754020512104, 0.2727659046649933, -0.02607223391532898, 0.3108999729156494, -1.03692626953125, -0.5897987484931946, -0.3870314061641693, -0.11263211071491241, 0.1773945391178131, -0.018415385857224464, -0.061165764927864075, -0.5235771536827087, 0.6784767508506775, -0.09001088887453079, 0.9138485789299011, 0.14442099630832672, 0.2618882656097412, 0.10172685980796814, 0.27463096380233765, 0.5900169610977173, 0.4467690587043762, -0.40598252415657043, -0.14777418971061707, 0.09415881335735321, -0.35940003395080566, 0.03676687180995941, -0.10598240792751312, 0.02873869426548481, -0.09028898924589157, 0.03117433935403824, 0.840016782283783, 0.03355913609266281, -0.5824133157730103, 0.5031042098999023, -0.21088573336601257, -0.16949400305747986, -0.6679563522338867, 0.1970130056142807, 0.2575626075267792, 0.3118247985839844, 0.09773208945989609, 0.14655756950378418, -0.0672193095088005, -0.8546251654624939, 0.07844499498605728, 0.4757090210914612, -0.03931476175785065, -0.36294499039649963, 0.8816360235214233, 0.22555015981197357, -0.7322260737419128, 0.6770837903022766, -0.25113797187805176, -0.637462854385376, 0.6811751127243042, 0.5492224097251892, 0.8169876933097839, -0.029493803158402443, 0.444599986076355, 0.46478044986724854, 0.08696842938661575, -0.02813127264380455, 0.4009588658809662, -0.10766355693340302, -0.648929238319397, -0.04193062707781792, -0.5110173225402832, -0.3956095576286316, 0.5382800102233887, -0.39192256331443787, 0.382732093334198, -0.7378743290901184, -0.19939519464969635, 0.06904591619968414, 0.08960024267435074, -0.8398005962371826, 0.0635141059756279, -0.11637397110462189, 0.3772393465042114, -0.6682115793228149, 0.6619616150856018, 0.6590222716331482, -0.5302761197090149, -0.601233959197998, 0.04795198515057564, 0.11798257380723953, -0.831743597984314, 0.4115380346775055, 0.02252369374036789, 0.09224671870470047, 0.08612751215696335, -0.8035678267478943, -0.9093177318572998, 1.0080101490020752, 0.18737922608852386, -0.2442854344844818, -0.25136494636535645, 0.02416914701461792, 0.6235132217407227, -0.464317262172699, 0.41992685198783875, 0.5399219989776611, 0.4762526750564575, 0.1456197053194046, -0.8870692849159241, 0.01614079624414444, -0.46361517906188965, -0.21454103291034698, -0.20372915267944336, -1.0145319700241089, 0.9718033671379089, -0.22532521188259125, -0.10008038580417633, 0.37744414806365967, 0.4457922577857971, 0.2476310133934021, 0.15170234441757202, 0.3988819122314453, 0.31967905163764954, 0.49653810262680054, -0.12881727516651154, 0.899036705493927, -0.42982858419418335, 0.562908411026001, 1.0155627727508545, 0.036768555641174316, 0.587431788444519, 0.17191645503044128, -0.306659072637558, 0.5257326364517212, 0.8118714094161987, -0.22941727936267853, 0.5149938464164734, 0.1209409087896347, -0.2641488313674927, -0.28975844383239746, 0.1895592361688614, -0.266482949256897, 0.5324101448059082, 0.17348280549049377, -0.3840535283088684, -0.028160443529486656, 0.20624656975269318, 0.34205198287963867, -0.12809531390666962, 0.16432341933250427, 0.7506321668624878, -0.20938216149806976, -0.8476418852806091, 0.3716096878051758, 0.07844460010528564, 0.8753055334091187, -0.6258460879325867, 0.12310191988945007, -0.3101809322834015, 0.31773531436920166, -0.12336932122707367, -0.743457555770874, 0.03865711763501167, -0.20076562464237213, -0.16988597810268402, -0.30857229232788086, 0.5436921119689941, -0.37792155146598816, -0.4103802740573883, -0.033916205167770386, 0.7450774908065796, 0.4860907793045044, -0.015863820910453796, -0.9782624244689941, -0.281185120344162, 0.2869419753551483, -0.364779531955719, 0.20636053383350372, 0.19270740449428558, 0.14306561648845673, 0.8428305983543396, 0.5346711277961731, -0.04258470609784126, -0.01742452196776867, -0.31752243638038635, 0.8754696249961853, -0.6817285418510437, -0.4332648515701294, -0.9247162938117981, 0.6096475124359131, -0.06750287115573883, -0.5064785480499268, 0.9122552871704102, 0.5836105942726135, 0.6714781522750854, -0.45551109313964844, 0.8683339357376099, -0.6350117921829224, 0.4993264079093933, -0.1951642781496048, 0.6833950877189636, -0.4185112714767456, 0.10830537229776382, -0.24154336750507355, -0.6307467222213745, 0.028391648083925247, 0.8773651719093323, -0.3375051021575928, 0.22495310008525848, 0.49668705463409424, 0.8437439799308777, 0.07046235352754593, -0.38733553886413574, 0.22129875421524048, 0.2666352391242981, 0.4339333474636078, 0.8379666209220886, 0.6089821457862854, -0.34218019247055054, 0.5773280262947083, -0.49645504355430603, -0.3044847249984741, -0.17585736513137817, -0.3234942555427551, -1.1970105171203613, -0.7341931462287903, -0.37040719389915466, -0.523719072341919, -0.16708552837371826, 1.0438408851623535, 0.6267862915992737, -0.7097199559211731, -0.2690211534500122, 0.0038343588821589947, 0.060808710753917694, -0.1418236792087555, -0.26649993658065796, 0.2783931791782379, -0.03308446705341339, -1.0401420593261719, 0.15693719685077667, 0.1178106963634491, 0.2367473840713501, -0.34627142548561096, -0.05440544709563255, -0.24957947432994843, 0.20067250728607178, 0.5342742204666138, 0.5024353265762329, -0.7466370463371277, -0.32677608728408813, 0.2707449197769165, -0.14558689296245575, 0.3331618309020996, 0.6148446202278137, -0.6279624700546265, 0.3466263711452484, 0.5576667189598083, 0.06502866744995117, 0.69073885679245, 0.033839259296655655, 0.44060707092285156, -0.5648976564407349, 0.20436955988407135, 0.3199315369129181, 0.42460477352142334, 0.2645646631717682, -0.6287619471549988, 0.43060991168022156, 0.30264386534690857, -0.7122178077697754, -0.5562090873718262, 0.22933241724967957, -1.2883119583129883, -0.19581474363803864, 1.1570574045181274, -0.16068711876869202, -0.2271655648946762, -0.21127091348171234, -0.7138778567314148, 0.31970059871673584, -0.5723612904548645, 0.6973631381988525, 0.5911868810653687, -0.7016159296035767, -0.2086445838212967, -0.47325846552848816, 0.4652761220932007, 0.3300319015979767, -0.9417104125022888, -0.26128092408180237, 0.41986721754074097, 0.6185514330863953, 0.33584460616111755, 0.9782447218894958, 0.09515321999788284, 0.1820497065782547, -0.030769921839237213, -0.03401041403412819, 0.13799645006656647, 0.01589546538889408, -0.049295876175165176, 0.16083276271820068, -0.3221890330314636, -0.3789598345756531 ]
facebook/contriever-msmarco
facebook
2022-06-25T17:19:59Z
15,166
8
transformers
[ "transformers", "pytorch", "bert", "feature-extraction", "arxiv:2112.09118", "endpoints_compatible", "has_space", "region:us" ]
feature-extraction
2022-03-02T23:29:05Z
--- tags: - feature-extraction pipeline_tag: feature-extraction --- This model is the finetuned version of the pre-trained contriever model available here https://huggingface.co/facebook/contriever, following the approach described in [Towards Unsupervised Dense Information Retrieval with Contrastive Learning](https://arxiv.org/abs/2112.09118). The associated GitHub repository is available here https://github.com/facebookresearch/contriever. ## Usage (HuggingFace Transformers) Using the model directly available in HuggingFace transformers requires to add a mean pooling operation to obtain a sentence embedding. ```python import torch from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained('facebook/contriever-msmarco') model = AutoModel.from_pretrained('facebook/contriever-msmarco') sentences = [ "Where was Marie Curie born?", "Maria Sklodowska, later known as Marie Curie, was born on November 7, 1867.", "Born in Paris on 15 May 1859, Pierre Curie was the son of Eugène Curie, a doctor of French Catholic origin from Alsace." ] # Apply tokenizer inputs = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt') # Compute token embeddings outputs = model(**inputs) # Mean pooling def mean_pooling(token_embeddings, mask): token_embeddings = token_embeddings.masked_fill(~mask[..., None].bool(), 0.) sentence_embeddings = token_embeddings.sum(dim=1) / mask.sum(dim=1)[..., None] return sentence_embeddings embeddings = mean_pooling(outputs[0], inputs['attention_mask']) ```
[ -0.3106744587421417, -0.8168475031852722, 0.19522157311439514, 0.19155152142047882, -0.23364709317684174, -0.37705138325691223, -0.2913109064102173, -0.13541895151138306, 0.41045477986335754, 0.48419666290283203, -0.838142991065979, -0.28647586703300476, -0.6476721167564392, -0.19162672758102417, -0.39304497838020325, 1.1298863887786865, 0.013007503934204578, 0.06469639390707016, -0.22302034497261047, -0.18809551000595093, 0.051335323601961136, -0.4491952657699585, -0.6150057911872864, -0.5171892046928406, 0.1820274293422699, 0.38359513878822327, 0.832184910774231, 0.3455328941345215, 0.48266687989234924, 0.4833381474018097, -0.07783039659261703, 0.0034086110536009073, -0.7753435373306274, -0.4120636582374573, -0.25221988558769226, -0.20049425959587097, -0.036229051649570465, 0.3583050072193146, 0.5056901574134827, 0.7163762450218201, -0.13427521288394928, 0.17223532497882843, 0.386106014251709, 0.5704179406166077, -0.41581833362579346, 0.16141913831233978, -0.4211670756340027, -0.02620466984808445, 0.06764112412929535, 0.14502079784870148, -0.348887175321579, -0.3005794882774353, 0.28665757179260254, -0.5260505676269531, 0.5075326561927795, -0.08263237774372101, 1.2056310176849365, 0.31503844261169434, -0.3580498695373535, -0.2621598243713379, -0.3172354996204376, 0.7905057072639465, -0.6330364942550659, 0.40167105197906494, 0.32340243458747864, 0.08589841425418854, -0.2173033058643341, -1.108314037322998, -0.752578854560852, -0.2751922607421875, -0.45056864619255066, 0.03911447897553444, -0.34698909521102905, 0.12838640809059143, 0.21857671439647675, 0.6364892721176147, -0.810790479183197, -0.16967403888702393, -0.5562599897384644, -0.32942911982536316, 0.6138498187065125, -0.2042723000049591, 0.025095367804169655, -0.40550050139427185, -0.5659160017967224, -0.10282324254512787, -0.11472766846418381, 0.32683515548706055, 0.11686090379953384, 0.4179101586341858, -0.5925237536430359, 0.8165773153305054, -0.40772703289985657, 0.5551483035087585, 0.342200368642807, 0.2925220727920532, 0.6721358895301819, -0.1644425392150879, -0.33374419808387756, -0.12996166944503784, 1.0113694667816162, 0.5636579394340515, 0.649899959564209, -0.01742449216544628, -0.12088977545499802, 0.1996491253376007, 0.15669342875480652, -1.0622749328613281, -0.74041348695755, 0.16297443211078644, -0.6761451959609985, -0.3425338864326477, 0.35937127470970154, -0.4884762167930603, -0.010100514627993107, -0.32917991280555725, 0.7134826183319092, -0.4556047320365906, -0.20250608026981354, 0.18090225756168365, 0.04867081716656685, 0.055650532245635986, -0.1523560732603073, -0.7914630770683289, 0.39935925602912903, 0.4233400225639343, 0.8279670476913452, 0.12052181363105774, -0.24353648722171783, -0.7347868084907532, -0.2965121567249298, 0.0803375095129013, 0.5933661460876465, -0.5826417803764343, -0.1685366928577423, 0.12730994820594788, 0.3938271701335907, -0.14564302563667297, -0.5049113035202026, 0.6878161430358887, -0.3717552721500397, 0.3914555311203003, 0.017836622893810272, -0.8181324005126953, -0.28247520327568054, 0.33150315284729004, -0.66715407371521, 1.0608282089233398, 0.6449586153030396, -0.9912685751914978, 0.0624835379421711, -0.47641614079475403, -0.24833856523036957, -0.0308949276804924, -0.07936867326498032, -0.6504428386688232, -0.05261501669883728, 0.1369243562221527, 0.8065759539604187, 0.13134628534317017, 0.3031488358974457, -0.6273390650749207, -0.45334282517433167, 0.17714965343475342, -0.04513945057988167, 1.0739920139312744, 0.1955784410238266, -0.1736278235912323, 0.2181527316570282, -0.8911138772964478, -0.12537600100040436, 0.20932820439338684, -0.11907296627759933, -0.3255581259727478, -0.41357025504112244, 0.42428141832351685, 0.41634902358055115, 0.3132092356681824, -0.6918341517448425, 0.14749956130981445, -0.45636558532714844, 0.6908595561981201, 0.45320817828178406, 0.08993859589099884, 0.5845456719398499, -0.4433211386203766, 0.28079649806022644, 0.2511681318283081, 0.30521082878112793, -0.030146503821015358, -0.11404240131378174, -0.7766390442848206, -0.28999966382980347, 0.04753434285521507, 0.4444296061992645, -0.6871851086616516, 0.4092690646648407, 0.03958337381482124, -0.6924216747283936, -0.5936497449874878, 0.26701289415359497, 0.4220586121082306, 0.6914246082305908, 0.6717523336410522, -0.19344767928123474, -0.683013916015625, -1.0059882402420044, -0.08250438421964645, -0.031827040016651154, 0.15759417414665222, 0.2435755580663681, 0.6429257392883301, -0.5591332316398621, 0.6749690175056458, -0.5935989022254944, -0.2707265615463257, -0.06436731666326523, -0.04194698482751846, 0.5477884411811829, 1.0638545751571655, 0.6049318909645081, -0.9245957732200623, -0.25619736313819885, -0.4007149636745453, -0.6732303500175476, 0.23139789700508118, -0.02038668282330036, -0.42637404799461365, -0.0927746519446373, 0.7509135007858276, -0.9762905836105347, 0.4344131350517273, 0.5449053645133972, -0.5389136672019958, 0.686097264289856, -0.09491190314292908, -0.17590872943401337, -1.313352108001709, 0.04114747419953346, 0.31066519021987915, -0.34087279438972473, -0.44920122623443604, 0.134072944521904, 0.13724638521671295, 0.07985317707061768, -0.4950931668281555, 0.659362256526947, -0.28263646364212036, 0.2775530517101288, -0.09747203439474106, 0.19238723814487457, 0.11912833899259567, 0.4861760139465332, -0.22145117819309235, 0.36104220151901245, 0.5956873297691345, -0.8072179555892944, 0.5621913075447083, 0.7486010789871216, -0.22469332814216614, 0.562189519405365, -0.749595582485199, -0.13985049724578857, -0.15075403451919556, 0.20469696819782257, -1.1399564743041992, -0.31210699677467346, 0.3427913784980774, -0.6441494226455688, 0.29496923089027405, 0.009004296734929085, -0.49569880962371826, -0.7649359107017517, -0.29251983761787415, 0.43854930996894836, 0.36445242166519165, -0.698141872882843, 0.6506125926971436, 0.3059847056865692, -0.08358275145292282, -0.5404490828514099, -0.8768162727355957, -0.46356624364852905, -0.15875761210918427, -0.7121335864067078, 0.6174511313438416, -0.12669382989406586, -0.036204494535923004, 0.16641758382320404, 0.06354272365570068, -0.11726293712854385, 0.02976883389055729, 0.04241909831762314, 0.3290001451969147, -0.13930371403694153, 0.11763929575681686, 0.024321651086211205, -0.13049434125423431, 0.1620248407125473, -0.09084789454936981, 0.6563667058944702, -0.24723245203495026, 0.05207689478993416, -0.5596370697021484, 0.15437330305576324, 0.03661956265568733, -0.32052868604660034, 0.7171617150306702, 1.0630182027816772, -0.6577916741371155, -0.20844925940036774, -0.6925113201141357, -0.47137710452079773, -0.5611056089401245, 0.4363824725151062, -0.2906423807144165, -1.171090841293335, 0.7652872800827026, 0.07602547854185104, -0.034653712064027786, 0.6903498768806458, 0.40642887353897095, -0.18551091849803925, 0.687999427318573, 0.8782491087913513, -0.0009055159171111882, 0.6248248219490051, -0.6046236157417297, -0.07911816984415054, -0.6197407245635986, -0.2845495343208313, -0.24420540034770966, -0.2833772599697113, -0.9353533983230591, -0.15880447626113892, -0.11576249450445175, 0.19231288135051727, -0.8063706755638123, 0.4894862174987793, -0.7314533591270447, 0.29921889305114746, 0.7562159895896912, 0.5744690299034119, 0.036415811628103256, -0.07873939722776413, -0.1928003430366516, 0.08625026792287827, -0.6480445861816406, -0.3013017177581787, 0.7618293166160583, 0.22767570614814758, 0.8349841833114624, -0.17928020656108856, 0.7307537198066711, -0.06333837658166885, 0.3403310179710388, -0.5654330849647522, 0.39637866616249084, -0.4773339331150055, -0.5874031782150269, 0.004494494758546352, -0.5710116028785706, -0.9420176148414612, 0.14363528788089752, -0.369650661945343, -0.7456936836242676, 0.22390271723270416, 0.15363886952400208, -0.5190596580505371, 0.03395513445138931, -0.7616122961044312, 1.2643227577209473, 0.12062805145978928, -0.35421088337898254, -0.11049368232488632, -0.8843369483947754, 0.3751620054244995, 0.23661471903324127, 0.12068325281143188, 0.08509212732315063, 0.3143722116947174, 0.8317971229553223, -0.31383296847343445, 0.8434554934501648, -0.28736522793769836, 0.34526458382606506, 0.34532150626182556, 0.14373187720775604, 0.28046301007270813, 0.013277651742100716, -0.15295657515525818, -0.11550240963697433, 0.11027686297893524, -0.5698490142822266, -0.3570711314678192, 0.8786214590072632, -0.8807333111763, -0.2860754728317261, -0.2954563498497009, -0.5379418134689331, 0.04296429455280304, 0.39768433570861816, 0.4885162115097046, 0.6288955807685852, -0.29096361994743347, 0.25592291355133057, 0.4328663647174835, -0.13302725553512573, 0.5288448929786682, 0.12369121611118317, -0.25063028931617737, -0.36888575553894043, 0.6014305949211121, 0.07215771824121475, -0.015132448635995388, 0.29614749550819397, 0.2497529536485672, -0.4722037613391876, -0.014747479930520058, 0.06282594054937363, 0.7252635359764099, -0.6314367055892944, -0.24617746472358704, -0.8404662609100342, -0.5247702598571777, -0.4920169711112976, -0.31376761198043823, -0.38202568888664246, -0.34741726517677307, -0.5786266326904297, -0.3173390328884125, 0.40076950192451477, 0.4858884811401367, -0.21584157645702362, 0.6921793222427368, -0.6746273040771484, 0.3426614999771118, 0.021080655977129936, 0.4169241189956665, -0.1565137505531311, -0.8161492347717285, -0.3530336618423462, 0.027651753276586533, -0.5208523869514465, -0.6351051330566406, 0.3591863512992859, 0.24670957028865814, 0.6655378341674805, 0.5411494374275208, 0.2707880437374115, 0.6937651634216309, -0.3729248642921448, 0.5134181380271912, 0.2075057327747345, -0.8122513294219971, 0.38907939195632935, -0.1767854541540146, 0.17039121687412262, 0.7486994862556458, 0.5220855474472046, -0.28168100118637085, -0.3134016990661621, -0.9955387115478516, -0.819649875164032, 0.6391158103942871, 0.3075297474861145, 0.5264219045639038, -0.2513388395309448, 0.6169118881225586, 0.03914772346615791, 0.20310570299625397, -1.1303925514221191, -0.34959137439727783, -0.3589492738246918, -0.6904469132423401, -0.3185649514198303, -0.24680155515670776, 0.053074147552251816, -0.3902156949043274, 0.8704148530960083, -0.047212667763233185, 0.30138105154037476, 0.4671308696269989, -0.32340848445892334, -0.0030905890744179487, -0.20636862516403198, 0.17637422680854797, 0.3201148211956024, -0.3443935513496399, 0.1536799818277359, -0.1363414227962494, -0.26219579577445984, -0.1919122040271759, 0.8616800904273987, -0.024931231513619423, 0.22720558941364288, 0.26641714572906494, 0.6941819190979004, 0.49843454360961914, -0.4326128661632538, 0.8230897784233093, 0.012237459421157837, -0.2549584209918976, -0.6200655698776245, -0.056707315146923065, 0.13350263237953186, 0.6804060935974121, 0.2611340582370758, 0.07332030683755875, 0.25766250491142273, -0.3739071488380432, 0.6623119711875916, 0.4934159219264984, -0.6077299118041992, -0.26291629672050476, 0.8269211053848267, -0.0572502426803112, -0.12222858518362045, 0.8263064622879028, -0.27199074625968933, -0.529308021068573, 0.46163132786750793, 0.46625709533691406, 0.7411497831344604, -0.3699611723423004, 0.2705310881137848, 0.7985084652900696, 0.15301811695098877, -0.1300833821296692, 0.35407131910324097, -0.010343637317419052, -0.8482028841972351, -0.2555524408817291, -0.7360575795173645, -0.030206264927983284, 0.1635989397764206, -0.8389124274253845, 0.4197389483451843, -0.35621416568756104, -0.2907465100288391, 0.15965305268764496, 0.14753514528274536, -0.9869577288627625, 0.411040723323822, 0.016473783180117607, 0.9606030583381653, -0.9346205592155457, 0.5529990792274475, 0.7490575313568115, -0.6016955375671387, -1.0344088077545166, -0.18696291744709015, -0.2927493751049042, -0.7698571085929871, 0.34242528676986694, 0.8024416565895081, 0.2714468240737915, 0.3949415385723114, -0.8366098999977112, -0.7888004183769226, 0.9233689904212952, 0.44421547651290894, -0.6095343232154846, -0.14370614290237427, -0.21581986546516418, 0.40928488969802856, -0.4116486608982086, 0.2738701105117798, 0.4732452929019928, 0.09529127180576324, 0.06464355438947678, -0.6720020174980164, 0.2490275502204895, -0.5482746362686157, -0.12301741540431976, -0.27175626158714294, -0.8551148772239685, 1.1590992212295532, -0.34769853949546814, -0.058533698320388794, 0.29715219140052795, 0.9679603576660156, 0.41136908531188965, 0.3481909930706024, 0.48735901713371277, 0.7407855987548828, 0.676439106464386, -0.07579071074724197, 1.0250316858291626, -0.3494853675365448, 0.9517006874084473, 1.058236002922058, 0.2930075526237488, 0.7460406422615051, 0.5506106615066528, -0.10995437204837799, 0.7388055920600891, 0.8768406510353088, -0.2135210931301117, 0.6589065194129944, 0.22216728329658508, -0.04219156131148338, -0.18758511543273926, -0.04970305413007736, -0.3152402937412262, 0.28276991844177246, 0.15362325310707092, -0.6327399015426636, -0.2819835841655731, 0.134657621383667, 0.19134430587291718, 0.2255786806344986, -0.4008181095123291, 0.5631257891654968, 0.3084827661514282, -0.6202139258384705, 0.6400641202926636, -0.10263580083847046, 0.8548798561096191, -0.3901831805706024, 0.07393018156290054, -0.1053609773516655, 0.5542094111442566, -0.39925307035446167, -0.8298587799072266, 0.2987060248851776, -0.21844841539859772, -0.13103117048740387, 0.1580800563097, 0.642782986164093, -0.8409298062324524, -0.7796552777290344, 0.46170932054519653, 0.37164655327796936, 0.13282088935375214, -0.19388963282108307, -1.068593978881836, -0.06551160663366318, -0.042155612260103226, -0.5044288635253906, -0.05746520683169365, 0.4289224147796631, 0.09900814294815063, 0.6403422951698303, 0.6502320170402527, -0.3702216148376465, -0.08099178224802017, 0.2280341535806656, 1.199719786643982, -0.5564479231834412, -0.7576770186424255, -1.1117690801620483, 0.7438138127326965, 0.0295098926872015, -0.2974749803543091, 0.5724144577980042, 0.6924494504928589, 1.1325057744979858, -0.09144250303506851, 0.3930608034133911, -0.021764958277344704, 0.4307650327682495, -0.40133509039878845, 0.666437029838562, -0.6527615785598755, -0.49235644936561584, -0.5831279158592224, -1.0571213960647583, -0.2502070665359497, 1.2228798866271973, -0.15785536170005798, 0.3211483061313629, 0.5264146327972412, 0.847112774848938, -0.38486427068710327, 0.00018906833429355174, -0.11717942357063293, 0.5367361307144165, 0.14763301610946655, 0.4436505138874054, 0.5256372094154358, -0.6497957110404968, 0.4515954554080963, -0.6408150792121887, -0.30820900201797485, -0.24587483704090118, -0.7105366587638855, -1.0487711429595947, -0.739267110824585, -0.3375577926635742, -0.724571168422699, -0.11622659862041473, 1.242193579673767, 0.7823385000228882, -0.833491325378418, 0.05657840147614479, -0.24703320860862732, -0.2783082127571106, -0.08265168219804764, -0.292390912771225, 0.5749868750572205, -0.25540176033973694, -0.7059634923934937, -0.1156691238284111, -0.3534606397151947, 0.3022894859313965, -0.05216243490576744, -0.017981210723519325, -0.4329226315021515, -0.058011237531900406, 0.4669465124607086, -0.006630978547036648, -0.45944511890411377, -0.3746289908885956, -0.0944029837846756, -0.26870447397232056, -0.02211773581802845, 0.15101969242095947, -0.685411274433136, 0.3622116148471832, 0.18539713323116302, 0.5621979832649231, 0.9835755825042725, 0.24773703515529633, 0.17049624025821686, -0.7862544655799866, 0.4055769145488739, 0.15342183411121368, 0.6792533993721008, 0.7351014018058777, -0.48785078525543213, 0.5310519933700562, 0.3521653711795807, -0.6184605956077576, -0.6481420993804932, 0.1295548528432846, -1.4680858850479126, -0.023833656683564186, 1.127477765083313, -0.1666559875011444, -0.2961795926094055, 0.2405814826488495, -0.3161729574203491, 0.7611157894134521, -0.3880804181098938, 0.6527959704399109, 0.6444036364555359, 0.024414056912064552, -0.2835215628147125, -0.3192287087440491, 0.34207624197006226, 0.30025413632392883, -0.2765870988368988, -0.16111381351947784, 0.36705511808395386, 0.4693344831466675, 0.06846871227025986, 0.6973198652267456, -0.15897420048713684, 0.22242535650730133, -0.2282620519399643, 0.1600845456123352, -0.14876706898212433, 0.061636973172426224, -0.15882357954978943, -0.06275489181280136, -0.4377020597457886, -0.19010767340660095 ]
baffo32/decapoda-research-llama-7B-hf
baffo32
2023-04-10T18:22:05Z
15,134
8
transformers
[ "transformers", "pytorch", "llama", "text-generation", "license:other", "endpoints_compatible", "text-generation-inference", "region:us" ]
text-generation
2023-04-10T12:49:58Z
--- license: other --- LLaMA-7B converted to work with Transformers/HuggingFace. This is under a special license, please see the LICENSE file for details. -- license: other --- # LLaMA Model Card ## Model details **Organization developing the model** The FAIR team of Meta AI. **Model date** LLaMA was trained between December. 2022 and Feb. 2023. **Model version** This is version 1 of the model. **Model type** LLaMA is an auto-regressive language model, based on the transformer architecture. The model comes in different sizes: 7B, 13B, 33B and 65B parameters. **Paper or resources for more information** More information can be found in the paper “LLaMA, Open and Efficient Foundation Language Models”, available at https://research.facebook.com/publications/llama-open-and-efficient-foundation-language-models/. **Citations details** https://research.facebook.com/publications/llama-open-and-efficient-foundation-language-models/ **License** Non-commercial bespoke license **Where to send questions or comments about the model** Questions and comments about LLaMA can be sent via the [GitHub repository](https://github.com/facebookresearch/llama) of the project , by opening an issue. ## Intended use **Primary intended uses** The primary use of LLaMA is research on large language models, including: exploring potential applications such as question answering, natural language understanding or reading comprehension, understanding capabilities and limitations of current language models, and developing techniques to improve those, evaluating and mitigating biases, risks, toxic and harmful content generations, hallucinations. **Primary intended users** The primary intended users of the model are researchers in natural language processing, machine learning and artificial intelligence. **Out-of-scope use cases** LLaMA is a base, or foundational, model. As such, it should not be used on downstream applications without further risk evaluation and mitigation. In particular, our model has not been trained with human feedback, and can thus generate toxic or offensive content, incorrect information or generally unhelpful answers. ## Factors **Relevant factors** One of the most relevant factors for which model performance may vary is which language is used. Although we included 20 languages in the training data, most of our dataset is made of English text, and we thus expect the model to perform better for English than other languages. Relatedly, it has been shown in previous studies that performance might vary for different dialects, and we expect that it will be the case for our model. **Evaluation factors** As our model is trained on data from the Web, we expect that it reflects biases from this source. We thus evaluated on RAI datasets to measure biases exhibited by the model for gender, religion, race, sexual orientation, age, nationality, disability, physical appearance and socio-economic status. We also measure the toxicity of model generations, depending on the toxicity of the context used to prompt the model. ## Metrics **Model performance measures** We use the following measure to evaluate the model: - Accuracy for common sense reasoning, reading comprehension, natural language understanding (MMLU), BIG-bench hard, WinoGender and CrowS-Pairs, - Exact match for question answering, - The toxicity score from Perspective API on RealToxicityPrompts. **Decision thresholds** Not applicable. **Approaches to uncertainty and variability** Due to the high computational requirements of training LLMs, we trained only one model of each size, and thus could not evaluate variability of pre-training. ## Evaluation datasets The model was evaluated on the following benchmarks: BoolQ, PIQA, SIQA, HellaSwag, WinoGrande, ARC, OpenBookQA, NaturalQuestions, TriviaQA, RACE, MMLU, BIG-bench hard, GSM8k, RealToxicityPrompts, WinoGender, CrowS-Pairs. ## Training dataset The model was trained using the following source of data: CCNet [67%], C4 [15%], GitHub [4.5%], Wikipedia [4.5%], Books [4.5%], ArXiv [2.5%], Stack Exchange[2%]. The Wikipedia and Books domains include data in the following languages: bg, ca, cs, da, de, en, es, fr, hr, hu, it, nl, pl, pt, ro, ru, sl, sr, sv, uk. See the paper for more details about the training set and corresponding preprocessing. ## Quantitative analysis Hyperparameters for the model architecture <table> <thead> <tr> <th >LLaMA</th> <th colspan=6>Model hyper parameters </th> </tr> <tr> <th>Number of parameters</th><th>dimension</th><th>n heads</th><th>n layers</th><th>Learn rate</th><th>Batch size</th><th>n tokens</th> </tr> </thead> <tbody> <tr> <th>7B</th> <th>4096</th> <th>32</th> <th>32</th> <th>3.0E-04</th><th>4M</th><th>1T </tr> <tr> <th>13B</th><th>5120</th><th>40</th><th>40</th><th>3.0E-04</th><th>4M</th><th>1T </tr> <tr> <th>33B</th><th>6656</th><th>52</th><th>60</th><th>1.5.E-04</th><th>4M</th><th>1.4T </tr> <tr> <th>65B</th><th>8192</th><th>64</th><th>80</th><th>1.5.E-04</th><th>4M</th><th>1.4T </tr> </tbody> </table> *Table 1 - Summary of LLama Model Hyperparameters* We present our results on eight standard common sense reasoning benchmarks in the table below. <table> <thead> <tr> <th>LLaMA</th> <th colspan=9>Reasoning tasks </th> </tr> <tr> <th>Number of parameters</th> <th>BoolQ</th><th>PIQA</th><th>SIQA</th><th>HellaSwag</th><th>WinoGrande</th><th>ARC-e</th><th>ARC-c</th><th>OBQA</th><th>COPA</th> </tr> </thead> <tbody> <tr> <th>7B</th><th>76.5</th><th>79.8</th><th>48.9</th><th>76.1</th><th>70.1</th><th>76.7</th><th>47.6</th><th>57.2</th><th>93 </th> <tr><th>13B</th><th>78.1</th><th>80.1</th><th>50.4</th><th>79.2</th><th>73</th><th>78.1</th><th>52.7</th><th>56.4</th><th>94 </th> <tr><th>33B</th><th>83.1</th><th>82.3</th><th>50.4</th><th>82.8</th><th>76</th><th>81.4</th><th>57.8</th><th>58.6</th><th>92 </th> <tr><th>65B</th><th>85.3</th><th>82.8</th><th>52.3</th><th>84.2</th><th>77</th><th>81.5</th><th>56</th><th>60.2</th><th>94</th></tr> </tbody> </table> *Table 2 - Summary of LLama Model Performance on Reasoning tasks* We present our results on bias in the table below. Note that lower value is better indicating lower bias. | No | Category | FAIR LLM | | --- | -------------------- | -------- | | 1 | Gender | 70.6 | | 2 | Religion | 79 | | 3 | Race/Color | 57 | | 4 | Sexual orientation | 81 | | 5 | Age | 70.1 | | 6 | Nationality | 64.2 | | 7 | Disability | 66.7 | | 8 | Physical appearance | 77.8 | | 9 | Socioeconomic status | 71.5 | | | LLaMA Average | 66.6 | *Table 3 - Summary bias of our model output* ## Ethical considerations **Data** The data used to train the model is collected from various sources, mostly from the Web. As such, it contains offensive, harmful and biased content. We thus expect the model to exhibit such biases from the training data. **Human life** The model is not intended to inform decisions about matters central to human life, and should not be used in such a way. **Mitigations** We filtered the data from the Web based on its proximity to Wikipedia text and references. For this, we used a Kneser-Ney language model and a fastText linear classifier. **Risks and harms** Risks and harms of large language models include the generation of harmful, offensive or biased content. These models are often prone to generating incorrect information, sometimes referred to as hallucinations. We do not expect our model to be an exception in this regard. **Use cases** LLaMA is a foundational model, and as such, it should not be used for downstream applications without further investigation and mitigations of risks. These risks and potential fraught use cases include, but are not limited to: generation of misinformation and generation of harmful, biased or offensive content.
[ -0.40154317021369934, -0.7376777529716492, 0.44834455847740173, 0.2866826057434082, -0.23862123489379883, -0.25087594985961914, 0.014440608210861683, -0.6651183366775513, 0.06976597011089325, 0.4387897551059723, -0.4682222306728363, -0.5821312069892883, -0.7330420613288879, 0.21666288375854492, -0.4476877748966217, 0.8601143956184387, 0.1247435063123703, -0.07514659315347672, -0.16241469979286194, -0.23275819420814514, -0.28143924474716187, -0.6515299677848816, -0.5153421759605408, -0.2785559892654419, 0.4971783459186554, 0.24113783240318298, 0.7312296032905579, 0.7228535413742065, 0.44073882699012756, 0.3408415615558624, -0.4098671078681946, 0.18624235689640045, -0.27091529965400696, -0.134418785572052, -0.1997041255235672, -0.4206634759902954, -0.5469167828559875, 0.08641234040260315, 0.3004887104034424, 0.5818163752555847, -0.24054549634456635, 0.5652540922164917, 0.03986683115363121, 0.6511668562889099, -0.7593874931335449, 0.08043504506349564, -0.5965192317962646, 0.004022170323878527, -0.10173599421977997, 0.09479273855686188, -0.18682265281677246, -0.34369388222694397, 0.027152325958013535, -0.7469496130943298, -0.14023436605930328, 0.18139038980007172, 1.195434331893921, 0.645155131816864, -0.531161904335022, -0.01651132106781006, -0.32513612508773804, 1.1110666990280151, -1.0201597213745117, 0.46903038024902344, 0.34312132000923157, 0.24879693984985352, -0.1606782227754593, -0.5373368263244629, -0.8385232090950012, -0.2830888032913208, 0.10017118602991104, 0.21776887774467468, -0.36514759063720703, -0.1550728976726532, 0.4716391861438751, 0.16425523161888123, -0.430412232875824, 0.2260766178369522, -0.2997317314147949, -0.226793572306633, 0.8818262219429016, 0.365945041179657, 0.13441768288612366, -0.27629372477531433, -0.4811101257801056, -0.06609803438186646, -0.5857759714126587, 0.18282395601272583, 0.37720048427581787, 0.18175838887691498, -0.20435184240341187, 0.6508352756500244, -0.45721662044525146, 0.6699647307395935, -0.04924745857715607, -0.5261346697807312, 0.48859667778015137, -0.4016101658344269, -0.3448551297187805, -0.07355247437953949, 0.861129641532898, 0.5077862739562988, 0.36198678612709045, 0.13849474489688873, -0.08279172331094742, 0.2641626298427582, 0.06813886761665344, -0.7470868825912476, 0.19908781349658966, 0.17268483340740204, -0.4353351294994354, -0.2844889760017395, -0.4004920423030853, -0.7091856002807617, -0.3180806040763855, -0.43195509910583496, 0.06317906081676483, -0.28433695435523987, -0.32907721400260925, 0.28365087509155273, 0.1051020547747612, 0.3720128834247589, 0.37649452686309814, -0.6248842477798462, 0.30633166432380676, 0.45841124653816223, 0.6678418517112732, -0.3341640532016754, -0.5405048727989197, 0.00559084489941597, 0.1413104087114334, -0.22692127525806427, 0.8918431997299194, -0.3634272813796997, -0.2867201566696167, -0.27366259694099426, -0.014369788579642773, -0.09685320407152176, -0.5794887542724609, 0.7176138758659363, -0.44759005308151245, 0.16496843099594116, -0.49421682953834534, -0.5085345506668091, -0.3736124038696289, 0.5554932951927185, -0.6762776374816895, 1.3574570417404175, -0.18135826289653778, -0.8310153484344482, 0.3075215518474579, -0.7112689018249512, -0.06551352143287659, -0.34406745433807373, -0.01386990211904049, -0.2499551922082901, -0.3644467890262604, 0.3501012921333313, 0.5332694053649902, -0.684237539768219, 0.5265971422195435, -0.27720752358436584, -0.5456032752990723, 0.2584124207496643, -0.5819117426872253, 1.1428436040878296, 0.23145872354507446, -0.5848159193992615, 0.0023205175530165434, -1.029192328453064, -0.10791148245334625, 0.5345398783683777, -0.5248568654060364, -0.18347109854221344, -0.06859281659126282, -0.03844672068953514, 0.3897674083709717, 0.27063697576522827, -0.4411123991012573, 0.0696902647614479, -0.45702242851257324, 0.3473803699016571, 0.7290719151496887, 0.11243997514247894, 0.22304509580135345, -0.4666067957878113, 0.4886470139026642, 0.28143033385276794, 0.2659643590450287, 0.2888815402984619, -0.6726898550987244, -0.9708094596862793, -0.1815958172082901, 0.21845851838588715, 0.7714191675186157, -0.2668253481388092, 0.5022831559181213, -0.25521358847618103, -0.6773350238800049, -0.47566908597946167, 0.2691698968410492, 0.584540605545044, 0.805409848690033, 0.4916209876537323, -0.049335502088069916, -0.5204746127128601, -1.0479127168655396, -0.15860846638679504, -0.39126676321029663, 0.20742280781269073, 0.4421943128108978, 0.6543278694152832, -0.4218252897262573, 0.7870566248893738, -0.5103766918182373, -0.14342080056667328, -0.23329995572566986, -0.30581924319267273, 0.2932465076446533, 0.2848862111568451, 0.6018980145454407, -0.6947661638259888, -0.26633721590042114, -0.10472573339939117, -0.9472194314002991, -0.1494513303041458, 0.23246116936206818, -0.19094803929328918, 0.3239799737930298, 0.35438504815101624, -0.7666059136390686, 0.5100169777870178, 0.5215520262718201, -0.23806746304035187, 0.78248131275177, 0.2864435911178589, -0.03846118226647377, -1.1210036277770996, 0.21086041629314423, 0.23221337795257568, 0.22038131952285767, -0.4509536623954773, 0.10225868225097656, -0.14283309876918793, -0.004939590580761433, -0.7936777472496033, 0.8410612344741821, -0.1689336746931076, 0.10855979472398758, -0.14026613533496857, 0.07991854101419449, 0.12271081656217575, 0.7346046566963196, 0.038475483655929565, 0.9605367183685303, 0.41800177097320557, -0.7500994801521301, 0.1896584928035736, 0.15537257492542267, -0.36843249201774597, 0.34214743971824646, -0.9165405631065369, -0.0028872545808553696, 0.1451423019170761, 0.3244453966617584, -0.774534285068512, -0.11750447005033493, 0.46062561869621277, -0.4212357997894287, -0.1923314929008484, 0.08660390228033066, -0.683800220489502, -0.3607557415962219, -0.15097466111183167, 0.31600677967071533, 0.4766444265842438, -0.4599173963069916, 0.4790041446685791, 0.3662083148956299, 0.08994947373867035, -0.9765627980232239, -0.8085017204284668, -0.06533731520175934, -0.377160906791687, -0.8267042636871338, 0.1760653257369995, -0.14554081857204437, -0.460903525352478, -0.08735892921686172, -0.06482843309640884, -0.0527244471013546, 0.27582618594169617, 0.23301313817501068, 0.2590615153312683, -0.14811617136001587, 0.10524720698595047, 0.010082852095365524, -0.16314657032489777, 0.12229201197624207, 0.12684138119220734, 0.5484273433685303, -0.28907015919685364, -0.5247020721435547, -0.6079628467559814, 0.13051757216453552, 0.4596414566040039, -0.220812126994133, 0.7218724489212036, 0.4648987352848053, -0.3700994849205017, 0.01396243553608656, -0.7251749634742737, -0.04185754805803299, -0.507770836353302, 0.41065526008605957, -0.2788825035095215, -0.8123011589050293, 0.6533533334732056, -0.11868821829557419, -0.056419048458337784, 0.6371022462844849, 0.6932852268218994, 0.07931248843669891, 1.0670650005340576, 0.4748303294181824, -0.3106246292591095, 0.30974894762039185, -0.3984014689922333, 0.19935457408428192, -0.8638399243354797, -0.4035528600215912, -0.5100459456443787, -0.2253696620464325, -0.4509645402431488, -0.38772180676460266, 0.21366167068481445, 0.002331692725419998, -0.6771025061607361, 0.18403004109859467, -0.6582161784172058, 0.35450464487075806, 0.6637182831764221, 0.16139984130859375, 0.3597691059112549, -0.06571391224861145, -0.3484955430030823, 0.0018369830213487148, -0.6201853156089783, -0.7671250104904175, 1.2292394638061523, 0.44775551557540894, 0.6026424169540405, 0.08099165558815002, 0.612684428691864, 0.03197401762008667, 0.02126256562769413, -0.7413250803947449, 0.864147424697876, 0.2536436915397644, -0.8455024361610413, -0.23230233788490295, -0.2639789581298828, -0.9379904866218567, 0.48728352785110474, -0.08269797265529633, -0.841356098651886, 0.3941259980201721, 0.007234017364680767, -0.25289681553840637, 0.34920957684516907, -0.7784909605979919, 0.6437444090843201, -0.41635334491729736, -0.3988799452781677, -0.13404059410095215, -0.6146503686904907, 0.5755876302719116, 0.054329391568899155, 0.3004550337791443, -0.32366743683815, -0.22260506451129913, 0.950515627861023, -0.3950161933898926, 0.9805842041969299, -0.08676072210073471, 0.07247716933488846, 0.431629478931427, -0.10179196298122406, 0.5396652817726135, -0.009303050115704536, -0.3730119466781616, 0.49184954166412354, -0.06805107742547989, -0.47394177317619324, -0.47400128841400146, 0.6658897995948792, -1.084535837173462, -0.9431384205818176, -0.6788238286972046, -0.6267419457435608, -0.19719891250133514, 0.24210505187511444, 0.15083880722522736, -0.14754657447338104, 0.17708782851696014, 0.0595618337392807, 0.732722282409668, -0.3837624788284302, 0.31114083528518677, 0.3845442533493042, -0.02575354464352131, -0.22012454271316528, 0.8135759234428406, 0.18212644755840302, 0.18689554929733276, 0.03137703239917755, 0.22589224576950073, -0.32390230894088745, -0.5699143409729004, -0.4177863895893097, 0.3751716911792755, -0.7923006415367126, -0.24148277938365936, -0.805733323097229, -0.3263184130191803, -0.4106590747833252, -0.009559637866914272, -0.38376379013061523, -0.3593764305114746, -0.48382845520973206, -0.2824576497077942, 0.5053558945655823, 0.4953341484069824, 0.2434556931257248, 0.37345191836357117, -0.4420883357524872, 0.11961726099252701, 0.23290403187274933, 0.1168227344751358, 0.24137306213378906, -0.5778464078903198, -0.09579137712717056, 0.0506678931415081, -0.5350293517112732, -0.8256881833076477, 0.3970555067062378, -0.20236346125602722, 0.8731798529624939, 0.37548893690109253, 0.009123571217060089, 0.7229827046394348, -0.13567934930324554, 1.0959489345550537, 0.21529975533485413, -0.840352475643158, 0.5758688449859619, -0.3246588408946991, 0.29969096183776855, 0.5820801854133606, 0.5826383829116821, -0.2852943539619446, -0.13233980536460876, -0.676603376865387, -0.8645996451377869, 0.5340912938117981, 0.09349305927753448, -0.06707867980003357, 0.004353845492005348, 0.17887432873249054, -0.1248684898018837, 0.22202880680561066, -1.0299361944198608, -0.4482487738132477, -0.1897134631872177, -0.10014066845178604, 0.12188684940338135, -0.2532917559146881, -0.26033300161361694, -0.586767852306366, 0.7092012763023376, -0.04477085918188095, 0.2751930058002472, 0.03869131579995155, -0.21753309667110443, 0.13784556090831757, 0.2363036423921585, 0.48337018489837646, 0.7944033145904541, -0.11530725657939911, -0.08453207463026047, 0.5059881210327148, -0.5958372950553894, 0.24724574387073517, 0.12713949382305145, -0.3000442385673523, -0.29244494438171387, 0.36803779006004333, 0.7636121511459351, 0.20340000092983246, -0.8398370742797852, 0.4440927505493164, 0.14729662239551544, -0.254850298166275, -0.2682656943798065, 0.19110561907291412, 0.2044292390346527, 0.41349032521247864, 0.22731547057628632, -0.024909373372793198, 0.23273903131484985, -0.29110661149024963, -0.19340775907039642, 0.21242298185825348, -0.07610010355710983, -0.11441539973020554, 0.780999481678009, 0.07979757338762283, -0.1495029628276825, 0.49671316146850586, -0.10200949758291245, -0.48046767711639404, 0.7547643184661865, 0.5502196550369263, 0.5187981128692627, -0.10114824771881104, 0.10782666504383087, 0.5295760631561279, 0.33437222242355347, -0.09588728100061417, 0.3459314703941345, 0.06023639440536499, -0.633902370929718, -0.30154022574424744, -0.8385259509086609, -0.46766993403434753, 0.14136481285095215, -0.5716755986213684, 0.20201946794986725, -0.503059983253479, -0.23911669850349426, -0.11917264759540558, 0.3236067295074463, -0.8495596647262573, 0.4503914415836334, 0.08445169031620026, 1.1366504430770874, -0.8682902455329895, 0.7989463210105896, 0.7380951046943665, -0.6999759078025818, -1.053430438041687, -0.11015192419290543, 0.18971580266952515, -0.9886889457702637, 0.7148247361183167, 0.06483753770589828, -0.015170897357165813, -0.09490329772233963, -0.7118077874183655, -1.2931228876113892, 1.4526100158691406, 0.4280608296394348, -0.5051915645599365, -0.009458991698920727, 0.3746156394481659, 0.5863964557647705, -0.2211044728755951, 0.3046727180480957, 0.6035813093185425, 0.5814250111579895, 0.1533280462026596, -0.9736307859420776, 0.29805511236190796, -0.5406494736671448, -0.013183480128645897, -0.20599089562892914, -0.9841721653938293, 0.9719516634941101, -0.09072082489728928, 0.07067012041807175, -0.09273683279752731, 0.5633549690246582, 0.9725750088691711, 0.5135533809661865, 0.49659621715545654, 0.9327715039253235, 0.8944929838180542, 0.11189236491918564, 1.1751269102096558, -0.2869446873664856, 0.11253789067268372, 0.9058834314346313, -0.2993336319923401, 0.9358324408531189, 0.49963024258613586, -0.5225880146026611, 0.5231208801269531, 0.8824025988578796, 0.05161275714635849, 0.3296721577644348, 0.1593286395072937, -0.017234303057193756, -0.2308792620897293, -0.33684173226356506, -0.5059130191802979, 0.37373632192611694, 0.2989303469657898, -0.3440248668193817, -0.12585043907165527, -0.13622818887233734, 0.21603240072727203, -0.015592577867209911, -0.17390784621238708, 0.5160795450210571, 0.13584491610527039, -0.53935706615448, 0.8457416296005249, -0.05690065026283264, 0.8547548651695251, -0.5319992303848267, 0.06091950461268425, -0.26025640964508057, 0.013586233370006084, -0.29966235160827637, -0.6318443417549133, 0.13748711347579956, 0.0858130007982254, -0.18016530573368073, 0.11689838767051697, 0.7440584897994995, 0.2282574623823166, -0.7243002653121948, 0.5870232582092285, 0.5950335264205933, 0.22159633040428162, -0.05241519212722778, -1.0728919506072998, 0.3026735782623291, -0.11967503279447556, -0.6949034929275513, 0.3940213620662689, 0.36915192008018494, -0.3656785190105438, 1.0899240970611572, 0.8121548891067505, 0.07729876041412354, 0.3443804979324341, 0.048508841544389725, 1.1178706884384155, -0.7399954795837402, -0.24450260400772095, -0.7251203060150146, 0.5546648502349854, -0.03978600353002548, -0.571903645992279, 0.8693998456001282, 0.4797890782356262, 0.8618854880332947, 0.3054817020893097, 0.7944241762161255, 0.1145540103316307, 0.5121668577194214, -0.322805792093277, 0.6527227759361267, -0.7470889687538147, 0.31410881876945496, -0.3035643994808197, -1.0273360013961792, -0.2828594446182251, 0.5838034749031067, -0.5269268751144409, 0.15464073419570923, 0.5540531277656555, 0.893918514251709, -0.04710738733410835, -0.05664464831352234, 0.20377540588378906, 0.28370401263237, 0.1717410385608673, 0.563916802406311, 0.8033071160316467, -0.47520822286605835, 0.6217779517173767, -0.4440964460372925, -0.12247935682535172, -0.1763889640569687, -0.7214441895484924, -0.8827184438705444, -0.4744974672794342, -0.25366607308387756, -0.31288260221481323, 0.03439809009432793, 0.8655173182487488, 0.6636567115783691, -0.6653323173522949, -0.37591975927352905, 0.003566692117601633, 0.18535758554935455, -0.21755486726760864, -0.21047906577587128, 0.40858402848243713, -0.05658430978655815, -0.7033664584159851, 0.17909827828407288, -0.050556864589452744, -0.07043351233005524, -0.35028740763664246, -0.28491631150245667, -0.6501705050468445, 0.1894003301858902, 0.5911510586738586, 0.16535170376300812, -1.0780123472213745, -0.15233586728572845, 0.23090367019176483, -0.22247876226902008, -0.013929805718362331, 0.02483704686164856, -0.7728593945503235, 0.05096018314361572, 0.2674310803413391, 0.7716354727745056, 0.5104177594184875, -0.04671522229909897, 0.13407355546951294, -0.386732816696167, 0.23658649623394012, 0.24638113379478455, 0.35844886302948, 0.20951078832149506, -0.5198133587837219, 0.8126358389854431, 0.4108926057815552, -0.6517178416252136, -1.0237327814102173, -0.022454185411334038, -1.1955045461654663, -0.21362486481666565, 1.4628385305404663, -0.03889268636703491, -0.5249674320220947, -0.019193975254893303, -0.258812814950943, 0.36654555797576904, -0.4684109687805176, 0.6738326549530029, 0.7235372066497803, -0.23236405849456787, -0.1778951734304428, -0.8144048452377319, 0.21156054735183716, 0.5031578540802002, -0.8389322757720947, -0.2663842737674713, 0.44267144799232483, 0.3866730332374573, 0.16986113786697388, 0.5316022634506226, -0.05395147576928139, 0.29409059882164, -0.026585225015878677, 0.15623044967651367, -0.1994318813085556, -0.2048235535621643, -0.18921202421188354, -0.028432032093405724, 0.0936761423945427, -0.07734324783086777 ]
jphme/phi-1_5_Wizard_Vicuna_uncensored
jphme
2023-09-21T12:23:23Z
15,114
24
transformers
[ "transformers", "pytorch", "mixformer-sequential", "text-generation", "phi", "phi-1_5", "english", "custom_code", "en", "dataset:ehartford/wizard_vicuna_70k_unfiltered", "region:us" ]
text-generation
2023-09-12T17:30:57Z
--- language: - en library_name: transformers pipeline_tag: text-generation inference: true tags: - pytorch - phi - phi-1_5 - english datasets: - ehartford/wizard_vicuna_70k_unfiltered --- # Phi 1.5 Wizard Vicuna Experimental Experimental Finetune on Microsoft's [Phi 1.5](https://huggingface.co/microsoft/phi-1_5). This is highly experimental, only trained on a subset of the 70k Wizard Vicuna dataset and not meant for production use. This model also runs reasonably fast on CPU! Will update with later checkpoints later. # Prompt Format ShareGPT / Vicuna (without newlines): ``` 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: This is a question? ASSISTANT: Here is my answer" ``` # Code Example ```python import torch from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained("jphme/phi-1_5_wizzard_vicuna_uncensored", trust_remote_code=True, torch_dtype=torch.bfloat16).to("cuda") tokenizer = AutoTokenizer.from_pretrained("jphme/phi-1_5_wizzard_vicuna_uncensored", trust_remote_code=True, torch_dtype=torch.bfloat16) 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:") inputs = tokenizer( prompt_template.format(prompt="What is 1+1?"), return_tensors="pt", return_attention_mask=False).to('cuda') outputs = model.generate( **inputs, max_length=200, do_sample=True, temperature=0.5, top_p=0.95, use_cache=True, repetition_penalty=1.1, #can try to uncomment this if model doesn't end #eos_token_id=tokenizer.eos_token_id ) text = tokenizer.batch_decode(outputs,skip_special_tokens=True)[0] print(text) ``` The model doesn't stop by itself (this could be an issue due to eos/bos tokens being identical), so you can try to explicitly set the `eos_token_id` (see above) or use a custom stopping criteria. You can remove `.to("cuda")` to let the model run without a GPU! # Examples > 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: Who was president of the USA in 1995? ASSISTANT: The president of the United States at that time was Bill Clinton (...) > 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: Write a python function that returns the fibonacci sequence ASSISTANT:The Fibonacci sequence is a series of numbers where each number after the first two are obtained by adding the two preceding ones together (starting from 0). So the sequence goes 0, 1, 1, 2, 3, 5, 8, 13, 21... Here's a Python function that generates the nth term in the Fibonacci sequence: ```python def fibonacci(n): if n <= 1: return n else: f = [0,1] for i in range(2, n+1): f.append(f[-1]+f[-2]) return f[-1] ``` > This function takes as input `n`, which represents the (...) (this function works with corrected intendation) > 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: What is (500+12)/4? ASSISTANT:The answer to this expression is 7.5. (...) Some potential here ;-)... # Thanks Thanks to Microsoft for releaseing Phi 1.5, [Eric Hartford](https://huggingface.co/ehartford) for releasing the Wizard Vicuna dataset, [Winglian](https://huggingface.co/winglian) for his great work on Axolotl that I use for finetuning and [Teknium](https://huggingface.co/teknium) for some Phi finetuning discussion. # License The original licenses of the dataset and model applies. No warranty whatsoever, this model is only intended for research purposes.
[ -0.5057429075241089, -0.9046792984008789, 0.06598377227783203, 0.2664749324321747, -0.13354025781154633, -0.39681553840637207, 0.028497446328401566, -0.4829742908477783, 0.29785168170928955, 0.16467465460300446, -0.7417389750480652, -0.05109871178865433, -0.4068661630153656, 0.39113765954971313, -0.4943974018096924, 0.8357576727867126, 0.24517787992954254, 0.04132109135389328, 0.13403744995594025, 0.07163360714912415, -0.33811500668525696, -0.3779299259185791, -0.8470865488052368, -0.1775195598602295, 0.4672776758670807, 0.33615443110466003, 0.46914902329444885, 0.52336186170578, 0.5770615935325623, 0.44234728813171387, 0.2570827603340149, 0.39819595217704773, -0.47374317049980164, -0.10675302147865295, 0.021734831854701042, -0.3109581768512726, -0.5011895298957825, 0.1161014512181282, 0.16612063348293304, 0.3925606906414032, 0.037356678396463394, 0.2936986982822418, -0.14193274080753326, 0.4603442847728729, -0.48130932450294495, 0.27196604013442993, -0.36235901713371277, -0.07967153936624527, -0.12087307125329971, -0.4381211996078491, -0.2982098460197449, -0.34111034870147705, 0.2388259619474411, -0.9752536416053772, 0.25940945744514465, 0.13803406059741974, 0.9333675503730774, 0.4290347695350647, -0.27228283882141113, -0.31868842244148254, -0.7094616293907166, 0.5119426250457764, -0.7072752118110657, 0.06308941543102264, 0.3812444508075714, 0.2653941214084625, -0.28142455220222473, -0.8313379287719727, -0.8540845513343811, -0.3823123574256897, 0.07957106828689575, -0.007868880406022072, -0.23446346819400787, 0.04488912224769592, 0.24049291014671326, 0.5527855753898621, -0.6117031574249268, -0.2522740066051483, -0.79640132188797, -0.254061758518219, 0.7307897210121155, 0.2754310667514801, 0.19414383172988892, -0.1490611881017685, -0.15552669763565063, -0.24637404084205627, -0.21919497847557068, 0.15727579593658447, 0.2983345687389374, 0.21280601620674133, -0.05642037093639374, 0.6186057925224304, -0.2262025773525238, 0.6120411157608032, 0.289015531539917, 0.00421376246958971, 0.308559775352478, -0.2287919521331787, -0.39836931228637695, -0.0038303874898701906, 0.85941481590271, 0.2711898684501648, 0.5125606060028076, -0.11941791325807571, 0.05723448097705841, 0.09905965626239777, 0.12099633365869522, -0.771367609500885, -0.5011841654777527, 0.4783106744289398, -0.2062125951051712, -0.31139081716537476, 0.2701737582683563, -0.4230863153934479, -0.21110311150550842, -0.06190387159585953, 0.6028719544410706, -0.6080535054206848, -0.23895838856697083, 0.18942847847938538, -0.3178178369998932, 0.2944489121437073, 0.27348649501800537, -0.9739253520965576, 0.3682684600353241, 0.5679787993431091, 0.8014389872550964, 0.1419326812028885, -0.452417254447937, -0.557955265045166, -0.14128997921943665, -0.3425600826740265, 0.438523530960083, -0.17173373699188232, -0.41713690757751465, -0.442501962184906, 0.1938185691833496, 0.009164677932858467, -0.3167564272880554, -0.026267588138580322, -0.5050403475761414, 0.45005059242248535, -0.22625042498111725, -0.7251100540161133, -0.27412110567092896, 0.08343250304460526, -0.6490116715431213, 0.7807846665382385, 0.12708158791065216, -0.785345196723938, -0.09807763993740082, -0.8640853762626648, -0.128779798746109, -0.0766577273607254, -0.15513774752616882, -0.10524432361125946, -0.054179586470127106, 0.001388763077557087, 0.09693235903978348, -0.35724619030952454, 0.0615064762532711, -0.4320298135280609, -0.3325883150100708, 0.31412938237190247, -0.6087309718132019, 1.2280632257461548, 0.3037993609905243, -0.6096903085708618, 0.062465883791446686, -0.8003102540969849, -0.08055073022842407, 0.2507891058921814, 0.05783320963382721, -0.007769123185425997, -0.48130032420158386, 0.02079450525343418, 0.18411660194396973, 0.46432438492774963, -0.5651425719261169, 0.3201024830341339, -0.5066105723381042, 0.392246276140213, 0.9221761226654053, 0.12368076294660568, 0.1887224018573761, -0.5269173383712769, 0.47883814573287964, 0.05538979172706604, 0.24554535746574402, -0.19963008165359497, -0.7459666132926941, -0.8372421860694885, -0.12082020938396454, 0.18346916139125824, 0.7814562320709229, -0.7052893042564392, 0.6274403929710388, -0.08484496176242828, -0.6174363493919373, -0.4855327010154724, -0.0017774533480405807, 0.2127021700143814, 0.6634346842765808, 0.332186758518219, -0.17389312386512756, -0.41488751769065857, -0.8430140018463135, 0.13346897065639496, -0.24125909805297852, -0.09374842792749405, 0.20141807198524475, 0.5616368651390076, -0.007515051402151585, 0.9717711806297302, -0.49471282958984375, -0.06538572162389755, 0.15255877375602722, 0.10859392583370209, 0.27748554944992065, 0.734092116355896, 0.4144614338874817, -0.7282759547233582, -0.1983206421136856, -0.047212064266204834, -0.7484040260314941, 0.1969204992055893, -0.22617372870445251, -0.31117650866508484, 0.12721705436706543, 0.06729798018932343, -0.7059054970741272, 0.6431571245193481, 0.06469301134347916, -0.5160163044929504, 0.4082518219947815, -0.46766406297683716, 0.23714511096477509, -1.086962103843689, 0.3672541081905365, -0.055473778396844864, -0.03328418359160423, -0.5651071667671204, -0.07179784029722214, -0.17061710357666016, 0.13676665723323822, -0.44756975769996643, 0.7595488429069519, -0.18117251992225647, -0.03052518516778946, -0.2001197338104248, -0.1233791783452034, -0.010790877975523472, 0.6614786982536316, -0.2105495035648346, 0.7234154343605042, 0.5324761867523193, -0.7752586007118225, 0.7050750851631165, 0.24510827660560608, 0.049468908458948135, 0.10947536677122116, -0.8279692530632019, 0.3300352990627289, 0.15579888224601746, 0.1041693314909935, -0.9364760518074036, -0.16225481033325195, 0.5176408886909485, -0.7819575071334839, -0.01870722882449627, 0.3940262496471405, -0.5223333239555359, -0.4507305324077606, -0.2773909866809845, 0.309634268283844, 0.35749468207359314, -0.4077211022377014, 0.45136013627052307, 0.3216128945350647, 0.06195343658328056, -0.4581573009490967, -0.7924480438232422, -0.1615932434797287, -0.27877336740493774, -0.8420029878616333, 0.3122544288635254, -0.33590325713157654, -0.3683263659477234, -0.16827383637428284, -0.00527850491926074, -0.04394993931055069, 0.24301429092884064, 0.21971814334392548, 0.5047383308410645, -0.12698715925216675, 0.000661156140267849, -0.1952061504125595, -0.20187100768089294, 0.11285246908664703, -0.2540616989135742, 0.7698491811752319, -0.5117695331573486, -0.14947940409183502, -0.7509580850601196, 0.2067994922399521, 0.6499923467636108, -0.1187945008277893, 0.6230502128601074, 0.5546813607215881, -0.6298222541809082, 0.22728747129440308, -0.4234096109867096, -0.4155699908733368, -0.5618770122528076, 0.16528433561325073, -0.4711058735847473, -0.3261496424674988, 0.7054368853569031, 0.4435558021068573, 0.45306533575057983, 0.7426740527153015, 0.5714158415794373, 0.12301423400640488, 0.9551573395729065, 0.5696457028388977, 0.016699444502592087, 0.5062645673751831, -0.7982297539710999, 0.14221200346946716, -0.4631977081298828, -0.37805622816085815, -0.3451716899871826, -0.2679693400859833, -0.5920888185501099, -0.06803387403488159, 0.273809552192688, 0.10961601138114929, -0.46710556745529175, 0.45682016015052795, -0.7942110896110535, 0.10573731362819672, 0.781684160232544, 0.22392059862613678, 0.1326804757118225, 0.030746610835194588, 0.1843929886817932, 0.3124338984489441, -0.5816020369529724, -0.4090788960456848, 0.9653074145317078, 0.21427837014198303, 0.5208314061164856, 0.10918010771274567, 0.7016906142234802, 0.3502521514892578, 0.2694604992866516, -0.42346909642219543, 0.48425063490867615, 0.06491158902645111, -0.8195898532867432, -0.5608958005905151, -0.4282914102077484, -0.9032101035118103, 0.010133372619748116, 0.13072903454303741, -0.8446907997131348, 0.41276708245277405, 0.11416090279817581, -0.8002358078956604, 0.11628681421279907, -0.8096656203269958, 0.9791073799133301, -0.19018451869487762, -0.3897770047187805, -0.048416949808597565, -0.6179159283638, 0.3382748067378998, 0.12490284442901611, -0.04155474901199341, -0.09376131743192673, -0.034284356981515884, 0.812566876411438, -0.7891055345535278, 0.5891739726066589, -0.055654481053352356, 0.05395174399018288, 0.2962050437927246, -0.022047998383641243, 0.20296519994735718, 0.10481184720993042, -0.16917075216770172, -0.01188516803085804, 0.29042401909828186, -0.6288104057312012, -0.5382527112960815, 0.7810277938842773, -0.9386985898017883, -0.6586065888404846, -0.5290148258209229, -0.5668968558311462, 0.0905555710196495, 0.20181621611118317, 0.6910991072654724, 0.5892167091369629, 0.04516442492604256, -0.07377614825963974, 0.33083468675613403, -0.06660472601652145, 0.5129554271697998, 0.2893211245536804, -0.2812036871910095, -0.3715282380580902, 0.9135809540748596, 0.28931376338005066, 0.027794959023594856, 0.04363797977566719, 0.1811433881521225, -0.15883341431617737, -0.023772913962602615, -0.4862307608127594, 0.2196735441684723, -0.5806522965431213, -0.1209653839468956, -0.6174242496490479, -0.3061891496181488, -0.6917646527290344, -0.14774608612060547, -0.31076905131340027, -0.6880610585212708, -0.5918586850166321, -0.0587056465446949, 0.7504513263702393, 0.5790435075759888, -0.12659591436386108, 0.13618388772010803, -0.5276117920875549, 0.3118141293525696, 0.3396947383880615, -0.05993468314409256, 0.07424182444810867, -0.5790926218032837, -0.020351119339466095, 0.21415825188159943, -0.519008219242096, -1.0545649528503418, 0.5737853050231934, 0.18643321096897125, 0.4557727575302124, 0.6230164170265198, 0.30358099937438965, 0.831420361995697, -0.12099745869636536, 0.8529988527297974, 0.034575555473566055, -0.7832656502723694, 0.47525787353515625, -0.12876078486442566, 0.2528427243232727, 0.442878395318985, 0.34215861558914185, -0.3024877607822418, -0.4060269892215729, -0.9628750681877136, -0.7442564964294434, 0.7123858332633972, 0.4500342905521393, 0.1273873895406723, -0.29810193181037903, 0.4252576529979706, 0.05810057371854782, 0.0727158933877945, -0.5119564533233643, -0.7740940451622009, -0.4207856059074402, -0.06028304994106293, 0.0571838840842247, 0.2702304422855377, -0.05675501748919487, -0.4756806492805481, 0.8962249159812927, 0.005294365342706442, 0.4685155749320984, 0.49885687232017517, -0.002138194628059864, -0.023507019504904747, -0.1948886513710022, 0.5755034685134888, 0.741734504699707, -0.32853442430496216, -0.16481523215770721, 0.08310942351818085, -0.487881600856781, -0.10125134140253067, 0.5331327319145203, -0.05406103655695915, -0.018449947237968445, 0.3250043988227844, 0.6206079721450806, -0.14659732580184937, -0.47003769874572754, 0.20730111002922058, -0.3248763382434845, -0.016440296545624733, -0.6536251902580261, 0.34609049558639526, -0.0021546806674450636, 0.22888576984405518, 0.6925028562545776, 0.05249506235122681, 0.3111704885959625, -0.6197269558906555, 0.28952887654304504, 0.23671114444732666, 0.061623454093933105, -0.21782757341861725, 0.7285658717155457, 0.2024780660867691, -0.7286654114723206, 0.9014722108840942, -0.28095942735671997, -0.4053803086280823, 1.119051218032837, 0.302964448928833, 0.7793943285942078, -0.08011749386787415, 0.06762885302305222, 0.3887113630771637, 0.17065054178237915, 0.11680857092142105, 0.4267517924308777, -0.0765046626329422, -0.4927065372467041, 0.21461749076843262, -0.26995131373405457, -0.26549723744392395, 0.03256423398852348, -0.5866007208824158, 0.35280847549438477, -0.5689593553543091, -0.26880186796188354, 0.2928197979927063, 0.5180850028991699, -0.8040547370910645, 0.04526863619685173, 0.049510467797517776, 1.1062109470367432, -0.5708697438240051, 0.8786244988441467, 0.35848918557167053, -0.6784683465957642, -0.8390793800354004, -0.2896886467933655, -0.02217954769730568, -0.548234760761261, 0.4013850688934326, 0.38302096724510193, -0.006461164448410273, 0.24220359325408936, -0.5563807487487793, -0.7091058492660522, 1.3299617767333984, 0.46091070771217346, -0.4014049470424652, -0.26771193742752075, -0.04691882058978081, 0.4904790222644806, -0.39555689692497253, 0.6131997108459473, 0.4899154007434845, 0.3962734043598175, 0.0590423122048378, -0.9593462944030762, -0.03153045102953911, -0.7059358954429626, -0.21571731567382812, -0.2319098562002182, -0.7474052309989929, 1.119842529296875, -0.2855100631713867, -0.05014834180474281, 0.38543379306793213, 0.9186264276504517, 0.3285701870918274, 0.49186691641807556, 0.48065945506095886, 0.2835967540740967, 1.0680108070373535, 0.08773064613342285, 1.271451711654663, -0.8427027463912964, 0.49266964197158813, 0.9020971059799194, 0.10729686915874481, 0.5321561098098755, 0.522273063659668, -0.19772236049175262, 0.2932800054550171, 1.003316879272461, -0.019977159798145294, 0.468279093503952, 0.17757132649421692, -0.13289088010787964, -0.05997924879193306, 0.16437353193759918, -0.6239333748817444, 0.18754571676254272, 0.2502925992012024, -0.24160562455654144, -0.05966505780816078, 0.04210391268134117, -0.0914158970117569, -0.45792141556739807, -0.13824622333049774, 0.4936109781265259, 0.03819343075156212, -0.676302969455719, 0.7715315222740173, 0.030313614755868912, 0.6771301031112671, -0.5672575831413269, -0.0817471444606781, -0.35835567116737366, 0.3112182021141052, -0.19465094804763794, -0.2982364892959595, 0.16120734810829163, -0.09533244371414185, -0.10272928327322006, 0.27696865797042847, 0.1662229597568512, -0.24577099084854126, -0.6264195442199707, 0.0311605092138052, 0.22365456819534302, 0.37141546607017517, 0.16633640229701996, -0.7864118218421936, -0.08961187303066254, -0.017500827088952065, -0.534633994102478, -0.033115845173597336, 0.3775222599506378, 0.11070041358470917, 0.8524319529533386, 0.7159287929534912, -0.17999820411205292, 0.3484329283237457, -0.3613507151603699, 0.813718855381012, -0.4275515377521515, -0.5983860492706299, -0.8088461756706238, 0.3055541515350342, -0.09864900261163712, -0.810640811920166, 0.774848461151123, 0.7052074670791626, 0.766883373260498, -0.036199621856212616, 0.4652075469493866, -0.32789573073387146, 0.016718169674277306, -0.17392438650131226, 0.5900684595108032, -0.5245246291160583, 0.36800384521484375, -0.13422463834285736, -0.6723672151565552, 0.08759544789791107, 0.8673906922340393, -0.32268577814102173, 0.12129504233598709, 0.4863073229789734, 0.9175005555152893, 0.004022328648716211, 0.31892040371894836, 0.1510438770055771, 0.18415510654449463, 0.4513448178768158, 0.5942705869674683, 0.3357255160808563, -0.7122787833213806, 0.5530188679695129, -0.7523881793022156, -0.25327444076538086, -0.16251996159553528, -0.41871997714042664, -0.6874841451644897, -0.7102294564247131, -0.2701202929019928, -0.5427756905555725, 0.023029478266835213, 1.3619575500488281, 0.7195550203323364, -0.7771907448768616, -0.1432618945837021, -0.3050910234451294, -0.1173647865653038, -0.18572688102722168, -0.2958686053752899, 0.5214994549751282, -0.12812228500843048, -0.8717617988586426, 0.028261518105864525, 0.01849798858165741, 0.04464411363005638, -0.539609432220459, -0.29007649421691895, -0.3444281816482544, 0.25828465819358826, 0.05538133531808853, 0.6417722105979919, -0.7350565195083618, -0.1682441532611847, 0.26312920451164246, -0.3001193702220917, -0.002751160878688097, 0.4564637243747711, -0.7560140490531921, 0.4240737557411194, 0.5895463824272156, 0.5202564597129822, 0.5411179065704346, -0.10091707110404968, 0.5682671070098877, -0.14598888158798218, 0.14238959550857544, 0.1477828025817871, 0.41894766688346863, 0.17416295409202576, -0.7106216549873352, 0.42897123098373413, 0.31918540596961975, -0.5149925947189331, -0.8028967976570129, -0.16134770214557648, -0.9676892757415771, -0.2067994624376297, 0.833976686000824, -0.22032825648784637, -0.4951510429382324, -0.029341043904423714, -0.2565937638282776, 0.5610475540161133, -0.40416470170021057, 0.9853472113609314, 0.5553098320960999, -0.41075295209884644, -0.0950150266289711, -0.4418352246284485, 0.37904974818229675, 0.3595784902572632, -0.7378564476966858, -0.12930862605571747, 0.310861736536026, 0.3664080798625946, 0.431713730096817, 0.7813478112220764, 0.1140468642115593, 0.7058973908424377, 0.1814013421535492, -0.04202908277511597, -0.5549593567848206, -0.2588263750076294, -0.31648802757263184, 0.08969415724277496, -0.313956081867218, -0.5991877317428589 ]
hyunwoongko/kobart
hyunwoongko
2022-08-16T20:01:59Z
15,106
5
transformers
[ "transformers", "pytorch", "bart", "text2text-generation", "ko", "license:mit", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
text2text-generation
2022-03-02T23:29:05Z
--- language: ko tags: - bart license: mit --- ## KoBART-base-v2 With the addition of chatting data, the model is trained to handle the semantics of sequences longer than KoBART. ```python from transformers import PreTrainedTokenizerFast, BartModel tokenizer = PreTrainedTokenizerFast.from_pretrained('hyunwoongko/kobart') model = BartModel.from_pretrained('hyunwoongko/kobart') ``` ### Performance NSMC - acc. : 0.901 ### hyunwoongko/kobart - Added bos/eos post processor - Removed token_type_ids
[ -0.39106324315071106, -0.6336071491241455, 0.31212157011032104, 0.4204581379890442, -0.8360892534255981, 0.15878506004810333, -0.14274919033050537, -0.3857790529727936, 0.22306093573570251, 0.8522056937217712, -0.7399964928627014, -0.40681514143943787, -0.879197895526886, -0.008237062953412533, -0.1175098568201065, 1.2440036535263062, 0.13896267116069794, 0.008815983310341835, -0.11987420171499252, -0.11738203465938568, -0.7997080087661743, -0.7722727060317993, -1.010589361190796, -0.329772025346756, 0.028346823528409004, 0.33089980483055115, 0.6558898091316223, 0.3253359794616699, 0.35993149876594543, 0.36062201857566833, -0.27074024081230164, 0.0027591397520154715, -0.7438979744911194, 0.2958586513996124, -0.20513565838336945, -0.6918758749961853, -0.7196122407913208, -0.525302529335022, 0.3730567991733551, 0.516585111618042, 0.10656134784221649, 0.2466738373041153, -0.11009018868207932, 0.6010869145393372, -0.3257243037223816, 0.6644235849380493, -0.41422009468078613, -0.24645201861858368, -0.26952698826789856, -0.18548308312892914, -0.5221690535545349, -0.48312249779701233, 0.16954651474952698, -0.6519917845726013, 0.051144566386938095, 0.18972179293632507, 1.015675663948059, 0.2171025574207306, -0.5786110162734985, -0.3991430997848511, -0.508667528629303, 0.5165539383888245, -0.782823920249939, 0.4021170139312744, 0.6836135387420654, 0.2732810080051422, -0.09285056591033936, -1.0215271711349487, -0.22896234691143036, -0.3377722501754761, -0.01576889306306839, 0.0456869937479496, 0.19267652928829193, 0.26149502396583557, 0.584903359413147, 0.05599943548440933, -0.5408973693847656, -0.025271384045481682, -0.8594659566879272, -0.29450705647468567, 0.613114595413208, 0.43156275153160095, -0.09635607153177261, -0.3088012933731079, -0.3354984223842621, -0.19956813752651215, -0.38445326685905457, 0.03503776341676712, 0.4171133041381836, 0.20538750290870667, -0.25070640444755554, 0.8385647535324097, -0.5408334136009216, 0.3764834403991699, 0.14683040976524353, -0.03456387668848038, 0.6558473110198975, -0.24225406348705292, -0.09291737526655197, 0.2914806306362152, 0.6721588969230652, 0.4560037851333618, 0.29821982979774475, 0.317818820476532, -0.027743080630898476, -0.018431324511766434, 0.14438651502132416, -1.073042631149292, -0.40505915880203247, -0.02025526389479637, -0.614533543586731, -0.34049853682518005, 0.24135182797908783, -0.4512205719947815, 0.05622674152255058, -0.1954914629459381, 0.3854609727859497, -0.7282839417457581, -0.48442354798316956, 0.14195159077644348, -0.18643291294574738, 0.13661380112171173, 0.05117664858698845, -0.7288503646850586, 0.6202732920646667, 0.7673326134681702, 0.8705501556396484, 0.4064139425754547, -0.012701911851763725, -0.026338256895542145, -0.1827646940946579, -0.35989952087402344, 0.45703133940696716, -0.040407393127679825, -0.5977323651313782, -0.30267277359962463, 0.3010236918926239, -0.031228817999362946, -0.38002192974090576, 0.8276171684265137, -0.823955774307251, 0.08120987564325333, -0.06003059819340706, -0.8321821093559265, -0.3482716977596283, 0.1116030290722847, -0.508979856967926, 1.330965280532837, 0.36082813143730164, -0.8554991483688354, 0.14034898579120636, -0.8566919565200806, -0.422598272562027, 0.15360164642333984, 0.2713623642921448, -0.5209090113639832, 0.20692868530750275, 0.09258238226175308, 0.3464628756046295, 0.10400918871164322, 0.4856503903865814, -0.32886332273483276, -0.5489808320999146, 0.2527562379837036, -0.29494497179985046, 0.7364861369132996, 0.4333791434764862, 0.050487667322158813, -0.03631668910384178, -0.8690697550773621, 0.23423396050930023, 0.11300377547740936, -0.35157638788223267, -0.3886810839176178, -0.09008818864822388, 0.018753081560134888, 0.3053576648235321, 0.269146591424942, -0.5281162261962891, 0.3864891231060028, -0.7557851076126099, 0.48647549748420715, 0.6715381145477295, 0.033395081758499146, 0.21149857342243195, -0.48576056957244873, 0.5251883864402771, 0.23445354402065277, 0.0026606342289596796, -0.3517662286758423, -0.6203509569168091, -1.0277656316757202, -0.1653779000043869, 0.3768523931503296, 0.584693431854248, -0.9143962264060974, 0.661343514919281, -0.6465151906013489, -0.5566861033439636, -0.4033830761909485, -0.28569066524505615, 0.35256895422935486, 0.16021806001663208, 0.24851912260055542, -0.6827961206436157, -1.1980574131011963, -0.6274096369743347, -0.0524723082780838, -0.3000951111316681, 0.15100333094596863, 0.13058418035507202, 0.6571044921875, -0.3317270576953888, 1.0142027139663696, -0.45814964175224304, 0.40519803762435913, -0.21283753216266632, 0.34982943534851074, 0.6166887283325195, 0.6938870549201965, 0.36773261427879333, -0.2758346199989319, -0.6042041778564453, -0.2007920891046524, -0.48119837045669556, -0.15452562272548676, -0.017112823203206062, -0.20589058101177216, 0.2413446307182312, 0.4848918914794922, -0.6892794370651245, 0.6610226631164551, 0.3594168722629547, -0.4768042266368866, 0.8341305255889893, -0.07760030776262283, 0.1407458484172821, -1.373577356338501, -0.15846797823905945, -0.7043314576148987, -0.6767770648002625, -0.4983191192150116, -0.19518430531024933, 0.0728924423456192, -0.21909716725349426, -0.48835140466690063, 0.44287773966789246, -0.4614105224609375, -0.15953809022903442, -0.5123815536499023, -0.21957843005657196, -0.11195915937423706, 0.4147268831729889, 0.08097909390926361, 0.43827006220817566, 0.6822769641876221, -0.6349220275878906, 0.7080348134040833, 0.45119041204452515, -0.46673184633255005, 0.3129923641681671, -0.7620198130607605, 0.2886205315589905, 0.024094607681035995, 0.5104362964630127, -1.052605390548706, -0.35702505707740784, 0.3978354334831238, -0.6924981474876404, 0.33260223269462585, -0.6284492015838623, -0.48991549015045166, -0.7577544450759888, -0.08879424631595612, 0.8034016489982605, 0.8693769574165344, -0.4776361584663391, 0.0633205771446228, -0.08992452174425125, -0.4045502245426178, -0.4827229678630829, -0.570685088634491, 0.0033579720184206963, -0.05462779477238655, -0.6300874352455139, 0.03031468205153942, 0.13341233134269714, 0.4119623303413391, -0.028598900884389877, 0.115645632147789, -0.005179953295737505, -0.03648117929697037, 0.5273897051811218, 0.4054165482521057, -0.27245989441871643, 0.1437658816576004, 0.21923139691352844, -0.4688696265220642, 0.12017305195331573, -0.19229376316070557, 1.1404021978378296, -0.0930376723408699, -0.48938822746276855, -0.6760831475257874, 0.09024181216955185, 0.6046720147132874, 0.17530426383018494, 1.00172758102417, 0.6302168965339661, -0.15134844183921814, 0.29128149151802063, -0.39957791566848755, -0.15163376927375793, -0.5246805548667908, 0.935661792755127, -0.6130180358886719, -1.0372203588485718, 0.6141975522041321, -0.12379811704158783, -0.3131881654262543, 0.4606934189796448, 0.6056225895881653, 0.1211334839463234, 1.0723764896392822, 0.22492912411689758, 0.06519436836242676, 0.40637636184692383, -0.1933242380619049, 0.29166674613952637, -0.8601915836334229, -0.2319154143333435, -0.3368910849094391, 0.12511375546455383, -0.8334419131278992, -0.35423633456230164, -0.22853784263134003, 0.45185208320617676, -0.643394410610199, 0.7583245635032654, -0.2895214557647705, 0.2738319933414459, 0.5575152635574341, 0.13985536992549896, -0.04145510867238045, -0.3672046661376953, -0.011589295230805874, -0.005131605546921492, -0.7318745851516724, -0.3854701519012451, 1.2612998485565186, 0.5682336091995239, 0.9467443823814392, -0.0065336572006344795, 0.6311028003692627, -0.11501994729042053, 0.21410147845745087, -0.5456624031066895, 0.4980538785457611, 0.2639455199241638, -0.907586932182312, 0.17373153567314148, -0.4342833161354065, -0.8390921354293823, 0.05123599246144295, 0.01608959585428238, -0.6982372999191284, 0.08293396979570389, -0.04526030272245407, -0.20769955217838287, 0.18541555106639862, -0.5775564312934875, 0.7685621380805969, -0.2148948758840561, 0.08970877528190613, -0.061923108994960785, -0.8951821327209473, 0.5058594942092896, 0.009178303182125092, 0.1675529181957245, -0.32240426540374756, 0.07892061769962311, 0.9093992710113525, -0.8322920203208923, 0.8827275037765503, -0.20210978388786316, 0.46031638979911804, 0.47976163029670715, -0.07186409831047058, 0.4771309196949005, 0.16044850647449493, 0.23467369377613068, 0.14635096490383148, 0.28141459822654724, -0.5807482600212097, -0.19858646392822266, 0.46809422969818115, -0.9184675812721252, -0.15865707397460938, -0.3848494589328766, -0.4401674270629883, 0.05629986152052879, 0.10035444051027298, 0.6580417156219482, 0.4916676878929138, -0.21557368338108063, 0.3455769717693329, 0.22315487265586853, -0.2397996038198471, 0.3362455368041992, 0.13362224400043488, -0.5358919501304626, -0.6697575449943542, 0.646498441696167, 0.07945025712251663, 0.48967549204826355, -0.100385382771492, -0.042705878615379333, -0.6417416334152222, -0.2234681099653244, -0.13449887931346893, 0.18436355888843536, -0.612899899482727, -0.3013647198677063, -0.6867172718048096, -0.5910601615905762, -0.77315354347229, 0.06850923597812653, -0.7101384997367859, -0.6788606643676758, -0.16992291808128357, -0.33725547790527344, 0.6221691966056824, 0.5118488073348999, -0.20981912314891815, 0.999639093875885, -1.1083158254623413, 0.15989431738853455, 0.0715450793504715, 0.5723950862884521, 0.04940344765782356, -0.9493134021759033, -0.5049461722373962, 0.11798448860645294, -0.41807401180267334, -0.8434146642684937, 0.4535893201828003, 0.19287818670272827, 0.4149527847766876, 0.582488477230072, 0.06250067800283432, 0.8847150206565857, -0.3003420829772949, 0.7643616795539856, 0.25304028391838074, -0.9713802337646484, 0.5283105969429016, -0.3128940165042877, 0.39314502477645874, 0.5842628479003906, 0.3838271200656891, -0.7590456604957581, -0.17869094014167786, -0.9770761728286743, -1.0338560342788696, 1.0663174390792847, 0.5885322093963623, 0.33271467685699463, -0.37533995509147644, 0.392218679189682, 0.12974737584590912, 0.23752491176128387, -0.7840723395347595, -0.3157505393028259, -0.5884194374084473, -0.19473911821842194, -0.0409405417740345, -0.6092641949653625, 0.2799918055534363, -0.3345252573490143, 0.9525628089904785, 0.17858320474624634, 0.6126129627227783, 0.07916189730167389, -0.34153440594673157, 0.10764219611883163, 0.22152377665042877, 0.6078503727912903, 0.40714895725250244, -0.4502432346343994, -0.15469056367874146, 0.2037934958934784, -0.47757530212402344, 0.09681469947099686, 0.08851221948862076, 0.1012808233499527, 0.20635810494422913, 0.519699215888977, 1.4252980947494507, 0.40646541118621826, -0.5012274384498596, 0.3827853500843048, -0.03671666607260704, -0.33267658948898315, -0.38218265771865845, 0.05907691270112991, 0.2699987292289734, 0.21618667244911194, 0.12532995641231537, 0.20877858996391296, -0.1297716498374939, -0.5485848784446716, 0.2816210687160492, -0.12662401795387268, -0.48916634917259216, -0.2832180857658386, 0.6126027703285217, 0.17618218064308167, -0.4856652319431305, 1.0294142961502075, -0.2826724350452423, -0.9074721336364746, 0.7935290932655334, 0.7036937475204468, 0.6716547012329102, -0.2808817923069, -0.15061165392398834, 0.8456835150718689, 0.07931443303823471, -0.30781450867652893, 0.31752610206604004, -0.10244017839431763, -0.7727510333061218, -0.47022056579589844, -0.5592452883720398, -0.10086070746183395, -0.08468066155910492, -1.105226993560791, 0.2630663812160492, -0.36811256408691406, -0.6272374987602234, -0.3349776566028595, 0.08370134979486465, -0.6837707161903381, 0.046968720853328705, 0.07137951999902725, 0.8148889541625977, -0.853614091873169, 1.0208300352096558, 0.5091950297355652, -0.22782984375953674, -0.7874571681022644, -0.6832672357559204, -0.336635559797287, -0.7783873081207275, 0.7436667084693909, 0.5007138848304749, 0.4710519313812256, 0.09550037980079651, -0.5359424352645874, -1.0034916400909424, 1.089948058128357, -0.11420929431915283, -0.6772750020027161, 0.1580268293619156, 0.18607507646083832, 0.47005435824394226, -0.36737915873527527, 0.6228230595588684, 0.6078312397003174, 0.23648859560489655, 0.28811872005462646, -1.0980355739593506, -0.17171697318553925, -0.2846108675003052, 0.24013826251029968, 0.26725006103515625, -0.5628541111946106, 0.9077609181404114, -0.06410181522369385, -0.16349519789218903, 0.6538549065589905, 0.6960868239402771, 0.3926067054271698, 0.29194626212120056, 0.5085283517837524, 0.847846508026123, 0.4776284694671631, -0.22809091210365295, 0.7307717204093933, -0.18784219026565552, 0.9583309292793274, 1.42488431930542, -0.16161322593688965, 0.526525616645813, 0.2641584575176239, -0.31298643350601196, 0.6992701292037964, 0.9763329029083252, 0.007509925402700901, 0.7797264456748962, -0.016657838597893715, -0.1519668698310852, -0.1845856010913849, 0.36717489361763, -0.7534336447715759, 0.37299644947052, 0.6033734083175659, -0.47553637623786926, -0.08371494710445404, 0.1757355034351349, 0.19697657227516174, -0.5120598077774048, -0.2935020923614502, 0.8305764198303223, 0.11863408982753754, -0.7696318030357361, 0.5988782644271851, 0.14273066818714142, 0.7242894768714905, -0.6790481209754944, 0.2559315264225006, 0.03704629838466644, 0.22285030782222748, 0.06156352534890175, -0.6028737425804138, 0.4999925196170807, -0.21224328875541687, 0.07275428622961044, 0.20757248997688293, 0.8255840539932251, -0.3244394361972809, -0.504045844078064, 0.273995578289032, 0.21729788184165955, 0.483441561460495, 0.00737945968285203, -0.819963276386261, 0.03955761715769768, 0.009394455701112747, -0.33908599615097046, 0.10792561620473862, 0.323650598526001, -0.21490803360939026, 0.6470961570739746, 0.8692049384117126, -0.2726016342639923, 0.44719240069389343, 0.1323150098323822, 0.8883658647537231, -0.6689453125, -0.8091527223587036, -0.9919410943984985, 0.3865724205970764, -0.2977677285671234, -0.4892037510871887, 0.45949456095695496, 0.7247025966644287, 0.9182120561599731, -0.23622234165668488, 0.5742807984352112, -0.32310953736305237, 0.5763668417930603, -0.3045388460159302, 0.6311829090118408, 0.015057128854095936, -0.0019463389180600643, -0.14641901850700378, -0.8597049713134766, 0.100115105509758, 0.8502084612846375, -0.29094669222831726, 0.13185305893421173, 0.695940375328064, 0.8962921500205994, -0.04695841670036316, 0.2858159840106964, 0.4536021053791046, 0.4961581230163574, 0.2584884464740753, 0.6806294322013855, 1.0415164232254028, -0.8022284507751465, 0.421512633562088, -0.5982279181480408, -0.035398971289396286, -0.528529942035675, -0.7127984166145325, -1.1596100330352783, -0.33679336309432983, -0.08566576987504959, -0.5080946087837219, 0.08329319208860397, 1.0849419832229614, 0.9005919694900513, -0.6633604764938354, -0.11768125742673874, -0.08170054852962494, -0.16629663109779358, -0.04225804656744003, -0.28008803725242615, 0.41190171241760254, -0.3275946378707886, -0.44773024320602417, 0.0017674689879640937, -0.14371348917484283, 0.08401400595903397, 0.30875781178474426, -0.3918969929218292, -0.12053773552179337, 0.22458484768867493, 0.6049181818962097, 0.1579352170228958, -0.5035811066627502, -0.3651529550552368, -0.26638293266296387, -0.1765126734972, 0.2727919816970825, 0.516161322593689, -0.5929857492446899, 0.44561654329299927, 0.6542981266975403, 0.22601988911628723, 1.0959162712097168, 0.3540325164794922, 0.3013167381286621, -0.8946213722229004, 0.5435709357261658, 0.19490328431129456, 0.404524028301239, 0.0957154855132103, -0.19315221905708313, 0.35934898257255554, 0.47488611936569214, -0.8002721071243286, -0.6182951331138611, 0.0963553711771965, -1.1688035726547241, -0.16346463561058044, 0.7905874252319336, -0.29128241539001465, -0.3303736746311188, -0.39373260736465454, -0.6031038761138916, 0.6993775963783264, -0.29100415110588074, 0.4327182173728943, 0.7512085437774658, -0.08100597560405731, -0.16613134741783142, -0.5811038613319397, 0.18834680318832397, 0.3153109848499298, -0.5833438634872437, -0.30532658100128174, 0.14947085082530975, 0.5965062975883484, -0.0421413816511631, 0.9322996139526367, -0.23169109225273132, 0.3940875828266144, 0.2678242623806, 0.13775908946990967, -0.296286404132843, -0.04073965176939964, -0.12873351573944092, -0.1350996047258377, 0.018724743276834488, -0.5586076974868774 ]
22h/vintedois-diffusion-v0-1
22h
2022-12-30T17:58:36Z
15,089
383
diffusers
[ "diffusers", "text-to-image", "license:creativeml-openrail-m", "endpoints_compatible", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2022-12-27T13:45:40Z
--- license: creativeml-openrail-m tags: - text-to-image --- ### Vintedois (22h) Diffusion model trained by [Predogl](https://twitter.com/Predogl) and [piEsposito](https://twitter.com/piesposi_to) with open weights, configs and prompts (as it should be) This model was trained on a large amount of high quality images with simple prompts to generate beautiful images without a lot of prompt engineering. You can enforce style by prepending your prompt with `estilovintedois` if it is not good enough. It should also be very dreamboothable, being able to generate high fidelity faces with a little amount of steps. **You can use this model commercially or whatever, but we are not liable if you do messed up stuff with it.** ### Gradio We support a [Gradio](https://github.com/gradio-app/gradio) Web UI to run vintedois-diffusion-v0-1 : [![Open In Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/22h/vintedois-diffusion-v0-1) ### Model card Everything from [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5), plus the fact that this is being built by two indie devs, so it was not extensively tested for new biases. You can run this concept via `diffusers` [Colab Notebook for Inference](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_inference.ipynb) ### Sample results <img src="https://huggingface.co/22h/vintedois-diffusion-v0-1/resolve/main/joined.png" width=1024/> ### Example prompts - Prompt: photo of an old man in a jungle, looking at the camera - CFG Scale: 7.5 - Scheduler: `diffusers.EulerAncestralDiscreteScheduler` - Steps: 30 - Seed: 44 <img src="https://huggingface.co/22h/vintedois-diffusion-v0-1/resolve/main/44-euler-a-photo%20of%20an%20old%20man%20in%20a%20jungle%2C%20looking%20at%C2%A0the%C2%A0camera.png" width=512/> - Prompt: kneeling cat knight, portrait, finely detailed armor, intricate design, silver, silk, cinematic lighting, 4k - CFG Scale: 7.5 - Scheduler: `diffusers.EulerAncestralDiscreteScheduler` - Steps: 50 - Seed: 44 <img src="https://huggingface.co/22h/vintedois-diffusion-v0-1/resolve/main/44-euler-a-kneeling%20cat%20knight%2C%20portrait%2C%20finely%20detailed%20armor%2C%20intricate%20design%2C%20silver%2C%20silk%2C%20cinematic%20lighting%2C%204k.png" width=512/> - Prompt: a beautiful girl In front of the cabin, the country, by Artgerm Lau and Krenz Cushart,hyperdetailed, trending on artstation, trending on deviantart - CFG Scale: 7.5 - Scheduler: `diffusers.EulerAncestralDiscreteScheduler` - Steps: 50 - Seed: 44 <img src="https://huggingface.co/22h/vintedois-diffusion-v0-1/resolve/main/44-euler-a-a%20beautiful%20girl%20In%20front%20of%20the%20cabin%2C%20the%20country%2C%20by%20Artgerm%20Lau%20and%20Krenz%20Cushart%EF%BC%8Chyperdetailed%2C%20trending%20on%20artstation%2C%20tre.png" width=512/> - Prompt: destroyed city - CFG Scale: 7.5 - Scheduler: `diffusers.EulerAncestralDiscreteScheduler` - Steps: 50 - Seed: 44 <img src="https://huggingface.co/22h/vintedois-diffusion-v0-1/resolve/main/44-euler-a-destroyed%20city.png" width=512/> - Prompt: victorian city landscape - CFG Scale: 7.5 - Scheduler: `diffusers.EulerAncestralDiscreteScheduler` - Steps: 50 - Seed: 44 <img src="https://huggingface.co/22h/vintedois-diffusion-v0-1/resolve/main/44-euler-a-victorian%20city%20landscape.png" width=512/> - Prompt: prehistoric native living room - CFG Scale: 7.5 - Scheduler: `diffusers.EulerAncestralDiscreteScheduler` - Steps: 50 - Seed: 44 <img src="https://huggingface.co/22h/vintedois-diffusion-v0-1/resolve/main/44-euler-a-prehistoric%20native%20living%20room.png" width=512/> Thanks for the Google Developer Expert program for providing us with a GCP credits grant.
[ -0.719977855682373, -0.8141980171203613, 0.5717923045158386, 0.5441706776618958, -0.3144742250442505, -0.23753394186496735, 0.055878449231386185, -0.5237413048744202, 0.7086032032966614, 0.3842688798904419, -0.743403971195221, -0.5877522826194763, -0.5213428735733032, -0.009557145647704601, 0.09916949272155762, 0.8072913289070129, -0.057934314012527466, -0.16507652401924133, -0.20832248032093048, 0.06992024928331375, -0.3584945499897003, 0.08847154676914215, -0.681449294090271, -0.32978498935699463, 0.20698978006839752, 0.09698929637670517, 0.7808845043182373, 0.4813631474971771, 0.09530452638864517, 0.27383607625961304, -0.48433351516723633, -0.027930648997426033, -0.3722294867038727, -0.0576268769800663, 0.08829697221517563, -0.241404727101326, -0.5954275131225586, 0.18901897966861725, 0.48967650532722473, 0.30565404891967773, -0.22043687105178833, 0.027767375111579895, 0.05443059280514717, 0.8157546520233154, -0.3270930349826813, 0.10625795274972916, 0.16563305258750916, 0.12926355004310608, -0.1703389436006546, 0.08757130056619644, -0.13153761625289917, -0.5143488645553589, 0.07427287846803665, -0.8609104752540588, 0.3697190284729004, -0.11648491770029068, 1.2350738048553467, 0.0767408087849617, -0.20082353055477142, -0.12649396061897278, -0.32723695039749146, 0.6163984537124634, -0.3805553615093231, 0.11882283538579941, 0.12263891845941544, 0.14328143000602722, -0.28578197956085205, -0.8202653527259827, -0.6376133561134338, -0.031438104808330536, -0.2813926041126251, 0.5337689518928528, -0.42925626039505005, -0.31170108914375305, 0.34874942898750305, 0.48869138956069946, -0.6899277567863464, -0.4309101104736328, -0.29215604066848755, -0.17479164898395538, 0.5551884174346924, 0.07051361352205276, 0.5875884294509888, -0.17498447000980377, -0.6235236525535583, -0.23490652441978455, -0.4126826822757721, 0.3181321918964386, 0.09068599343299866, -0.08191186934709549, -0.6796405911445618, 0.34248116612434387, -0.03627147153019905, 0.5730351209640503, 0.34025460481643677, -0.03475962579250336, 0.351348876953125, -0.3380853533744812, -0.18177224695682526, -0.34331485629081726, 1.0314366817474365, 0.7162330746650696, 0.17195403575897217, 0.24682916700839996, 0.05652184411883354, 0.057281337678432465, 0.11350426822900772, -1.3556222915649414, -0.4393286108970642, 0.30888673663139343, -0.4700706899166107, -0.4388909935951233, -0.23864328861236572, -0.998328685760498, -0.34649014472961426, 0.31527653336524963, 0.1159382164478302, -0.4682997465133667, -0.42842161655426025, -0.04530113935470581, -0.5441027283668518, 0.21815955638885498, 0.7783923149108887, -0.7127998471260071, 0.09654416143894196, 0.2148429900407791, 1.0509675741195679, 0.07418281584978104, 0.07327494025230408, -0.1760404109954834, -0.00462205708026886, -0.48795050382614136, 0.7942260503768921, -0.5326027274131775, -0.7119194269180298, -0.3412262201309204, 0.39996376633644104, 0.12027346342802048, -0.33132869005203247, 0.7183343172073364, -0.11134545505046844, 0.3441007733345032, -0.4066808223724365, -0.23512910306453705, -0.30465149879455566, -0.03261368349194527, -0.6569664478302002, 0.8697257041931152, 0.34657198190689087, -0.8983275890350342, 0.17463083565235138, -0.7553980350494385, 0.02977166511118412, 0.11308256536722183, -0.020476216450333595, -0.4936181604862213, -0.013966661877930164, 0.2434166669845581, 0.5595557689666748, -0.2610171437263489, -0.0010886299423873425, -0.39940395951271057, -0.13844023644924164, -0.1043357327580452, -0.11454366147518158, 1.3826839923858643, 0.27467772364616394, -0.533245325088501, -0.08031487464904785, -0.5260249376296997, -0.33156388998031616, 0.46272706985473633, -0.09703341871500015, -0.3954457938671112, -0.4404933452606201, 0.13294516503810883, 0.20856723189353943, 0.17471259832382202, -0.592948317527771, 0.29586249589920044, -0.22216437757015228, 0.35948532819747925, 0.7370118498802185, 0.23456346988677979, 0.701519787311554, -0.48855841159820557, 0.7196398377418518, 0.21093496680259705, 0.2966541349887848, -0.22087204456329346, -0.8603175282478333, -0.6407223343849182, -0.6891902685165405, -0.16751283407211304, 0.4809001088142395, -0.7335595488548279, 0.2288248986005783, 0.08019458502531052, -0.8144708275794983, -0.4054289758205414, -0.11967646330595016, 0.44404059648513794, 0.7502865195274353, 0.2244081199169159, -0.750648558139801, 0.026646262034773827, -0.7710073590278625, 0.13840879499912262, -0.05861848220229149, -0.07544006407260895, 0.5354993939399719, 0.4706268310546875, -0.3780498206615448, 0.7844998240470886, -0.7087447643280029, -0.3098057508468628, 0.08438096940517426, 0.06518141180276871, 0.37418681383132935, 0.7716682553291321, 1.0508451461791992, -0.9352721571922302, -0.5758752226829529, -0.05360964313149452, -0.7759528160095215, -0.1857500970363617, -0.021438848227262497, -0.5781267881393433, 0.2118341475725174, 0.16101154685020447, -0.9292166233062744, 0.543441116809845, 0.5140967965126038, -0.8222789168357849, 0.64998859167099, -0.3557067811489105, 0.3159533739089966, -1.233749270439148, 0.18903930485248566, 0.4867471754550934, -0.32576000690460205, -0.7446605563163757, 0.30690211057662964, -0.05274500325322151, -0.042239051312208176, -0.5633136034011841, 1.1720458269119263, -0.7244485020637512, 0.46046704053878784, 0.030185222625732422, -0.021729329600930214, 0.3288035988807678, 0.509476363658905, 0.30767014622688293, 0.457564115524292, 0.8671573400497437, -0.4984607398509979, 0.35277748107910156, 0.4877074658870697, -0.005780292674899101, 0.9414280652999878, -0.8297579288482666, 0.05744021013379097, -0.31780269742012024, 0.5087770223617554, -1.2056005001068115, -0.33702442049980164, 0.8172417879104614, -0.6032582521438599, 0.2802138328552246, -0.23537279665470123, -0.16344121098518372, -0.43151527643203735, -0.457719624042511, 0.40975791215896606, 0.8956362009048462, -0.4951443076133728, 0.9631869792938232, 0.10631503909826279, -0.10429517179727554, -0.42004629969596863, -0.7139812111854553, -0.176136314868927, -0.4057791829109192, -0.8696908950805664, 0.3887450098991394, -0.3378811478614807, -0.26935505867004395, 0.07255589216947556, 0.232476145029068, -0.18701931834220886, -0.14765368402004242, 0.631750762462616, 0.36046871542930603, 0.01607111096382141, -0.4078718423843384, 0.06182204186916351, 0.0024586706422269344, 0.04929663613438606, -0.097138911485672, 0.4789414405822754, -0.2870476245880127, -0.11222758144140244, -0.9471760988235474, 0.1157788410782814, 0.8122255206108093, 0.03985277935862541, 0.6398701667785645, 0.9685035347938538, -0.3471585512161255, 0.1733350157737732, -0.5721679925918579, 0.09115394204854965, -0.46024808287620544, -0.2869986593723297, -0.35515454411506653, -0.5945075750350952, 0.9195585250854492, 0.05345460772514343, 0.1307680904865265, 0.7511994242668152, 0.5913085341453552, -0.15104642510414124, 0.8107615113258362, 0.6039121747016907, 0.02626388892531395, 0.6654179692268372, -0.7729628086090088, -0.30593737959861755, -0.8010562658309937, -0.49158570170402527, -0.18238164484500885, -0.325186550617218, -0.5399001240730286, -0.7747722268104553, 0.38085508346557617, 0.23719413578510284, -0.1506664901971817, 0.3574039041996002, -0.7002791166305542, 0.3469950258731842, 0.39694708585739136, 0.30094361305236816, 0.19348691403865814, 0.1255774199962616, -0.04989532008767128, 0.058625031262636185, -0.34233832359313965, -0.2969682514667511, 0.5570026636123657, 0.502469003200531, 0.6415485739707947, 0.20227476954460144, 0.8367412090301514, 0.18444818258285522, 0.40127265453338623, -0.47605884075164795, 0.5195168256759644, -0.053417038172483444, -0.6261290311813354, -0.2407846450805664, -0.37299349904060364, -0.9500430822372437, 0.31765270233154297, -0.31979650259017944, -0.6061331629753113, 0.7461720108985901, 0.23306289315223694, -0.4027712047100067, 0.19500496983528137, -0.8130736351013184, 0.8416469693183899, 0.20340393483638763, -0.6603578329086304, -0.11161408573389053, -0.6491944193840027, 0.4774641990661621, 0.21731318533420563, 0.16104461252689362, -0.1044469103217125, -0.0029340246692299843, 0.4516869783401489, -0.5495166778564453, 0.8018640279769897, -0.5159570574760437, -0.10948583483695984, 0.4848543405532837, 0.2885465621948242, 0.3992944657802582, 0.23685656487941742, 0.03220439329743385, 0.2643565237522125, 0.14629952609539032, -0.6899970173835754, -0.44810083508491516, 0.7142114043235779, -0.5816395282745361, -0.41314268112182617, -0.4325137436389923, -0.22618356347084045, 0.46418580412864685, 0.1038835421204567, 0.6069297194480896, 0.4474915564060211, -0.49297958612442017, -0.1952861100435257, 0.7932345271110535, -0.4095807373523712, 0.6084141135215759, 0.051124632358551025, -0.21602889895439148, -0.6173296570777893, 0.7196426391601562, -0.23110821843147278, 0.4117766320705414, 0.0226728655397892, 0.3856659531593323, -0.23094196617603302, -0.03741125762462616, -0.777829647064209, 0.44945695996284485, -0.46206697821617126, -0.07204702496528625, -0.61238694190979, -0.03636834770441055, -0.4055633246898651, -0.4549647569656372, -0.2611754238605499, -0.29884999990463257, -0.8268111944198608, 0.24526295065879822, 0.7297496199607849, 0.571927011013031, -0.17408335208892822, 0.150571808218956, -0.5085187554359436, 0.4338493347167969, 0.30820223689079285, 0.22004011273384094, 0.02334093488752842, -0.4752231538295746, 0.13825877010822296, 0.13628438115119934, -0.2847098410129547, -0.9080162644386292, 0.6860179305076599, -0.008498313836753368, 0.3678581416606903, 0.5299748182296753, -0.2368495613336563, 0.7710679173469543, -0.47138941287994385, 0.894038200378418, 0.500481128692627, -0.6837427616119385, 0.6239830851554871, -0.7168596386909485, 0.29629385471343994, 0.37522801756858826, 0.4015551209449768, -0.5801013112068176, -0.34835273027420044, -0.9487583041191101, -0.75829017162323, 0.5553945899009705, 0.28723928332328796, 0.2288127988576889, 0.03908830136060715, 0.5776925086975098, -0.12884648144245148, 0.07961723953485489, -0.8179643750190735, -0.569417417049408, -0.3007647395133972, 0.18691156804561615, -0.146665558218956, -0.12544287741184235, -0.20995603501796722, -0.5384868383407593, 0.7355883121490479, 0.0475393608212471, 0.513215959072113, 0.49825191497802734, 0.24397361278533936, -0.19021496176719666, -0.14250414073467255, 0.5762752890586853, 0.3890044093132019, -0.26102882623672485, -0.2394527792930603, -0.02844417281448841, -0.5606917142868042, 0.1454470157623291, 0.06988291442394257, -0.34833621978759766, 0.1887664943933487, 0.26187872886657715, 0.82494056224823, -0.44707122445106506, -0.3362807035446167, 0.7988125085830688, -0.4033659100532532, -0.22556360065937042, -0.4555616080760956, 0.24443647265434265, 0.26501184701919556, 0.6864946484565735, 0.13006721436977386, 0.22819025814533234, 0.28010594844818115, -0.5750710368156433, -0.00013452833809424192, 0.6111392378807068, -0.43972882628440857, -0.3314807415008545, 0.8646966218948364, 0.17699982225894928, -0.23646892607212067, 0.3492613732814789, -0.6591799855232239, -0.4177447259426117, 0.8557019829750061, 0.3439669907093048, 1.0045266151428223, -0.37755799293518066, 0.6012533903121948, 0.750292181968689, 0.06353829801082611, -0.13259682059288025, 0.3286764621734619, -0.016868768259882927, -0.353944331407547, -0.09232653677463531, -0.8504868149757385, -0.14597874879837036, -0.06390794366598129, -0.41859909892082214, 0.36918559670448303, -0.647182285785675, -0.12441407144069672, -0.21732307970523834, -0.0027655931189656258, -0.7363249659538269, 0.27729982137680054, 0.03717133402824402, 1.1594377756118774, -1.259513020515442, 0.5242878198623657, 0.6492660045623779, -0.4707832634449005, -0.7407635450363159, 0.04162442684173584, 0.24390502274036407, -0.6109058260917664, 0.44740816950798035, 0.07979537546634674, -0.14808912575244904, -0.1496334671974182, -0.8351097106933594, -0.6134500503540039, 1.4270695447921753, 0.17616693675518036, -0.3246649503707886, 0.21262560784816742, -0.6254366040229797, 0.6861451864242554, -0.5015398859977722, 0.5387560129165649, 0.5209634304046631, 0.49303674697875977, 0.5342354774475098, -0.739654004573822, 0.3792065978050232, -0.6622929573059082, 0.28229960799217224, -0.01745111122727394, -1.1627877950668335, 0.8902370929718018, -0.30532675981521606, -0.3445722162723541, 0.4154287576675415, 0.8222856521606445, 0.35498276352882385, 0.36404699087142944, 0.6715379357337952, 0.9341235160827637, 0.5642049312591553, -0.234353706240654, 1.270501971244812, -0.07256288081407547, 0.32080093026161194, 0.4915660321712494, 0.24820800125598907, 0.47076067328453064, 0.20248937606811523, -0.26625221967697144, 0.8003718852996826, 0.9253737330436707, -0.07458869367837906, 0.6230700016021729, 0.222483828663826, -0.39802032709121704, -0.0714106410741806, -0.25862425565719604, -0.49461209774017334, 0.04315683990716934, 0.13816455006599426, -0.3020974397659302, -0.06785456836223602, 0.0027971253730356693, 0.17564190924167633, -0.13771560788154602, -0.1593131422996521, 0.5814352035522461, 0.1534188687801361, -0.46596673130989075, 0.6773141622543335, -0.23086722195148468, 0.7509059309959412, -0.5237178802490234, -0.318806916475296, -0.44683438539505005, -0.040352944284677505, -0.2865145802497864, -0.9427200555801392, 0.12570644915103912, -0.08566030114889145, -0.05832056701183319, -0.5684411525726318, 0.5829448699951172, -0.39753255248069763, -0.6280492544174194, 0.2863128185272217, 0.2972446382045746, 0.5103667974472046, 0.08891932666301727, -0.9107062220573425, 0.13990549743175507, 0.25186899304389954, -0.474645733833313, 0.021998928859829903, 0.5683931708335876, 0.1305883526802063, 0.5711069107055664, 0.39388367533683777, 0.21186402440071106, -0.28759121894836426, -0.005152243189513683, 0.9459890723228455, -0.4481828510761261, -0.4724924564361572, -0.93083256483078, 0.8640163540840149, -0.06059558317065239, -0.3684077560901642, 0.6303673386573792, 0.3895779550075531, 0.5166464447975159, -0.13277512788772583, 0.5565658211708069, -0.3643253445625305, 0.16053688526153564, -0.41773709654808044, 0.8124996423721313, -0.9132187366485596, -0.06669607013463974, -0.7378185391426086, -1.0402783155441284, -0.1331327110528946, 0.8590154647827148, -0.018824972212314606, 0.24915751814842224, 0.41205033659935, 0.9524098038673401, -0.05680643767118454, -0.2291613668203354, -0.11660030484199524, 0.13056810200214386, 0.29256370663642883, 0.5901365876197815, 0.764495313167572, -0.30462607741355896, 0.09906940907239914, -0.5095061659812927, -0.5998063683509827, -0.10651605576276779, -0.9696495532989502, -1.0206106901168823, -0.7069540023803711, -0.5108223557472229, -0.5704131126403809, -0.1562974900007248, 0.6303282976150513, 0.764400839805603, -0.5298771262168884, -0.1232287734746933, -0.15459394454956055, -0.02468309924006462, -0.16742470860481262, -0.2838674783706665, 0.27233439683914185, 0.4508691728115082, -0.9397419691085815, -0.005071687046438456, 0.2660772204399109, 0.6627490520477295, -0.3197098970413208, -0.23844493925571442, -0.043339021503925323, -0.19093437492847443, 0.4557618200778961, 0.275635689496994, -0.6661301851272583, -0.03394085168838501, -0.21930387616157532, -0.03233969211578369, 0.07119864970445633, 0.31636446714401245, -0.7128977179527283, 0.4987809360027313, 0.6874619722366333, 0.0709051564335823, 0.8384860157966614, 0.2683943212032318, 0.253045916557312, -0.5914826393127441, 0.18112464249134064, -0.007632887922227383, 0.4506586492061615, 0.29468172788619995, -0.6758599877357483, 0.5930764079093933, 0.6025317311286926, -0.6100316047668457, -0.5851514935493469, 0.13619886338710785, -1.2622371912002563, -0.3110676407814026, 1.1665709018707275, -0.03175063803792, -0.527124285697937, 0.3506258428096771, -0.4215942919254303, 0.08448206633329391, -0.6771856546401978, 0.5375069379806519, 0.8349822163581848, -0.48441949486732483, -0.26375719904899597, -0.530150830745697, 0.5665889978408813, 0.18546809256076813, -0.7840990424156189, -0.07972753047943115, 0.966421902179718, 0.4554320275783539, 0.7131439447402954, 1.1375857591629028, -0.15746940672397614, 0.1571463793516159, 0.0033005631994456053, 0.38194239139556885, 0.07033457607030869, -0.2417592853307724, -0.5713494420051575, -0.13449925184249878, -0.2493399977684021, -0.1503078043460846 ]
togethercomputer/Llama-2-7B-32K-Instruct
togethercomputer
2023-11-17T12:44:01Z
15,076
140
transformers
[ "transformers", "pytorch", "llama", "text-generation", "custom_code", "en", "dataset:togethercomputer/llama-instruct", "arxiv:2307.03172", "license:llama2", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-08-08T20:22:27Z
--- license: llama2 language: - en library_name: transformers datasets: - togethercomputer/llama-instruct --- # Llama-2-7B-32K-Instruct ## Model Description Llama-2-7B-32K-Instruct is an open-source, long-context chat model finetuned from [Llama-2-7B-32K](https://huggingface.co/togethercomputer/Llama-2-7B-32K), over high-quality instruction and chat data. We built Llama-2-7B-32K-Instruct with less than 200 lines of Python script using [Together API](https://together.ai/blog/api-announcement), and we also make the [recipe fully available](https://github.com/togethercomputer/Llama-2-7B-32K-Instruct). We hope that this can enable everyone to finetune their own version of [Llama-2-7B-32K](https://huggingface.co/togethercomputer/Llama-2-7B-32K) — play with [Together API](https://together.ai/blog/api-announcement) and give us feedback! ## Data Collection Details Llama-2-7B-32K-Instruct is fine-tuned over a combination of two parts: 1. **19K single- and multi-round conversations generated by human instructions and [Llama-2-70B-Chat](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) outputs**. We collected the dataset following the distillation paradigm that is used by Alpaca, Vicuna, WizardLM, Orca — producing instructions by querying a powerful LLM (in this case, [Llama-2-70B-Chat](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf)). The complete dataset is also released [here](https://huggingface.co/datasets/togethercomputer/llama-instruct). We also share the complete recipe for the data collection process [here](https://github.com/togethercomputer/Llama-2-7B-32K-Instruct). 2. **Long-context Summarization and Long-context QA**. We follow the recipe of [Llama-2-7B-32K](https://together.ai/blog/Llama-2-7B-32K), and train our model with the [BookSum dataset](https://huggingface.co/datasets/togethercomputer/Long-Data-Collections) and [Multi-document Question Answering](https://arxiv.org/abs/2307.03172). The final data mixture used for model finetuning is: 19K instruction (50%) + BookSum (25%) + MQA (25%). ## Model Usage We encourage you to try out this model using the [Together API](https://together.ai/blog/api-announcement). The updated inference stack allows for efficient inference. To run the model locally, we strongly recommend to install Flash Attention V2, which is necessary to obtain the best performance: ``` # Please update the path of `CUDA_HOME` export CUDA_HOME=/usr/local/cuda-11.8 pip install transformers==4.31.0 pip install sentencepiece pip install ninja pip install flash-attn --no-build-isolation pip install git+https://github.com/HazyResearch/flash-attention.git#subdirectory=csrc/rotary ``` You can load the model directly from the Hugging Face model hub using ```python import torch from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("togethercomputer/Llama-2-7B-32K-Instruct") model = AutoModelForCausalLM.from_pretrained("togethercomputer/Llama-2-7B-32K-Instruct", trust_remote_code=True, torch_dtype=torch.float16) input_ids = tokenizer.encode("[INST]\nWrite a poem about cats\n[/INST]\n\n", return_tensors="pt") output = model.generate(input_ids, max_length=128, temperature=0.7, repetition_penalty=1.1, top_p=0.7, top_k=50) output_text = tokenizer.decode(output[0], skip_special_tokens=True) ``` The model is also hosted on [Together Playground](https://api.together.xyz/playground). You can simply play with the model by using prompt formatted by: ``` [INST]\n<your instruction here>\n[\INST]\n\n ``` For example, if we query the model with ``` [INST]\nWrite a poem about cats\n[\INST]\n\n ``` the model will return ``` [INST] Write a poem about cats [/INST] Cats are mysterious creatures, with their aloof and independent nature. They're also incredibly beautiful, with their sleek fur and piercing eyes. Here's a poem that captures the essence of cats: Cats, oh cats, how can I describe you? Your beauty is beyond compare, it seems. You're graceful and elegant, like a ballerina's dance, But don't let your charm fool you, for you're not easily tamed. With your soft purring and playful meows, You draw us in with your enchanting powers. We love to watch you play, your tail twirling 'round, As if you're dancing on air, with no sound. But don't be fooled by your sweetness, my friend, For beneath that gentle exterior, lies a fierce defender. When danger lurks, you'll spring into action, Protecting those you hold dear, without question. Solet us admire you, from afar, For in your own way, you're truly unique, a star. And though we may never fully understand, The depths of your soul, we'll always stand, hand in paw, as one. This poem captures the essence of cats, highlighting their beauty, independence,and protective nature. It also celebrates the special bond between humans and cats, recognizing their unique qualities and the joy they bring to our lives. ``` ## Model Evaluation We evaluate the model from three aspects: 1) [Alpaca Eval](https://tatsu-lab.github.io/alpaca_eval/); 2) [Rouge score over BookSum](https://together.ai/blog/Llama-2-7B-32K); and 3) [Accuracy over Multi-document Question Answering (MQA)](https://together.ai/blog/Llama-2-7B-32K). We compare with models including [GPT-3.5-Turbo-16K](https://platform.openai.com/docs/models/gpt-3-5), [https://huggingface.co/meta-llama/Llama-2-7b-chat-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf), [Longchat-7b-16k](https://huggingface.co/lmsys/longchat-7b-16k) and [Longchat-7b-v1.5-32k](https://huggingface.co/lmsys/longchat-7b-v1.5-32k). We summarize the results below: * Alpaca Eval | Model | win_rate | standard_error | n_total | avg_length | | -------- | ------- | ------- | ------- | ------- | | Llama-2-7B-Chat-hf | 71.37 | 1.59 | 805 | 1479 | | Llama-2-7B-32K-Instruct | 70.36 | 1.61 | 803 | 1885 | | oasst-rlhf-llama-33b | 66.52 | 1.66 | 805 | 1079 | | text_davinci_003 | 50.00 | 0.00 | 805 | 307| | falcon-40b-instruct | 45.71 | 1.75 | 805 | 662 | | alpaca-farm-ppo-human | 41.24 | 1.73 | 805 | 803 | | alpaca-7b | 26.46 | 1.54 | 805 | 396 | | text_davinci_001 | 15.17 | 1.24 | 804 | 296 | * Rouge Score over BookSum | Model | R1 | R2 | RL | | -------- | ------- | ------- | ------- | | Llama-2-7B-Chat-hf | 0.055 | 0.008 | 0.046 | | Longchat-7b-16k | 0.303 | 0.055 | 0.160 | | Longchat-7b-v1.5-32k | 0.308 | 0.057 | 0.163 | | GPT-3.5-Turbo-16K | 0.324 | 0.066 | 0.178 | | Llama-2-7B-32K-Instruct (ours) | 0.336 | 0.076 | 0.184 | * Accuracy over MQA | Model | 20 docs (Avg 2.9K tokens) | 30 docs (Avg 4.4K tokens) | 50 docs (Avg 7.4K tokens) | | -------- | ------- | ------- | ------- | | Llama-2-7B-Chat-hf | 0.448 | 0.421 | 0.354 | | Longchat-7b-16k | 0.510 | 0.473 | 0.428 | | Longchat-7b-v1.5-32k | 0.534 | 0.516 | 0.479 | | GPT-3.5-Turbo-16K | 0.622 | 0.609 | 0.577 | | Llama-2-7B-32K-Instruct (ours) | 0.622 | 0.604 | 0.589 | ## Limitations and Bias As with all language models, Llama-2-7B-32K-Instruct may generate incorrect or biased content. It's important to keep this in mind when using the model. ## Community Join us on [Together Discord](https://discord.gg/6ZVDU8tTD4)
[ -0.40330472588539124, -0.8462145924568176, 0.2715878486633301, 0.4940688908100128, -0.4671972095966339, 0.10018549114465714, -0.09158877283334732, -0.7502643465995789, 0.7436470985412598, 0.38667380809783936, -0.5575615167617798, -0.5797958374023438, -0.6476644277572632, 0.06828078627586365, -0.19612957537174225, 0.9957884550094604, 0.19190634787082672, -0.1489514410495758, -0.16943448781967163, -0.12330448627471924, -0.5177793502807617, -0.49953407049179077, -0.5433328151702881, -0.43728938698768616, 0.404450386762619, 0.3013850152492523, 0.6666944622993469, 0.5461596846580505, 0.5794322490692139, 0.38253530859947205, -0.34989258646965027, 0.1423439383506775, -0.4780254364013672, -0.08685403317213058, 0.09179671108722687, -0.5555853247642517, -0.6841400861740112, -0.023449579253792763, 0.3295731246471405, 0.2522870600223541, -0.17810289561748505, 0.40313565731048584, 0.2071613371372223, 0.7072135806083679, -0.2587807774543762, 0.21723797917366028, -0.45213907957077026, -0.08972100913524628, -0.26147812604904175, 0.0802648514509201, -0.10153398662805557, -0.29856351017951965, -0.07330996543169022, -0.6613187193870544, -0.22024817764759064, 0.0012470202054828405, 1.0764151811599731, 0.44508859515190125, -0.3500884771347046, -0.3574778139591217, -0.20431001484394073, 0.7731025815010071, -0.7863680720329285, 0.1862529218196869, 0.4798160791397095, 0.13600321114063263, -0.5155935287475586, -0.7135495543479919, -0.7417905926704407, -0.28912353515625, -0.18049651384353638, 0.19741764664649963, -0.41120654344558716, -0.1902204006910324, 0.09360796958208084, 0.4173923432826996, -0.4975595474243164, 0.14559362828731537, -0.34684744477272034, -0.09554048627614975, 0.9057486057281494, 0.2114618420600891, 0.43711552023887634, -0.24026115238666534, -0.5115211606025696, -0.24757704138755798, -0.3400470018386841, 0.5364893674850464, 0.3872527480125427, 0.15927062928676605, -0.5558850765228271, 0.661660373210907, -0.25767937302589417, 0.3669562339782715, 0.23443646728992462, -0.4517458975315094, 0.41141170263290405, -0.4455781877040863, -0.24363958835601807, -0.25718700885772705, 1.1541885137557983, 0.5500210523605347, -0.014438118785619736, 0.06524340808391571, -0.08391719311475754, 0.19151253998279572, -0.08492308109998703, -0.7411541938781738, -0.15026356279850006, 0.28062769770622253, -0.5418971180915833, -0.4664666950702667, -0.23311464488506317, -0.8084860444068909, -0.3297525644302368, -0.06990580260753632, 0.43426263332366943, -0.2937350869178772, -0.43853989243507385, 0.21903064846992493, -0.03175251558423042, 0.2395542562007904, 0.22905026376247406, -0.8016311526298523, 0.3756839334964752, 0.6109320521354675, 0.8661701083183289, -0.015993554145097733, -0.3731328547000885, -0.028474176302552223, -0.2761143147945404, -0.20845142006874084, 0.7095946669578552, -0.2715599238872528, -0.346218466758728, -0.5322914123535156, 0.01623222604393959, -0.09162361919879913, -0.3117305338382721, 0.4670943021774292, -0.1945444643497467, 0.19440241158008575, -0.26319825649261475, -0.42660292983055115, -0.21206742525100708, 0.25826627016067505, -0.7376677393913269, 1.3084986209869385, -0.10083711892366409, -0.8910311460494995, 0.13896828889846802, -0.8431236743927002, -0.1113438680768013, -0.3218521773815155, 0.07641447335481644, -0.5602490901947021, -0.2080087661743164, 0.3469509184360504, 0.6127740740776062, -0.40717563033103943, 0.2615533471107483, -0.4296308159828186, -0.3292403817176819, 0.36503058671951294, -0.08786613494157791, 1.0384904146194458, 0.19343744218349457, -0.5064546465873718, 0.10927768796682358, -0.7545944452285767, -0.10562107712030411, 0.5695589184761047, -0.19330023229122162, -0.1424463987350464, -0.12108932435512543, -0.22051973640918732, 0.28709256649017334, 0.45334288477897644, -0.5218909978866577, 0.36836495995521545, -0.4050552248954773, 0.5289037227630615, 0.723491907119751, -0.09284336864948273, 0.3401881754398346, -0.6486920118331909, 0.5606842637062073, 0.11350200325250626, 0.2842662036418915, -0.029230931773781776, -0.7648712396621704, -0.836357593536377, -0.4378499388694763, 0.11510830372571945, 0.5894215703010559, -0.37337028980255127, 0.5347534418106079, -0.1275583952665329, -0.896791398525238, -0.6457651257514954, 0.21304623782634735, 0.5142611265182495, 0.4211028814315796, 0.2597943842411041, -0.47774237394332886, -0.4947645962238312, -0.9024853110313416, 0.07102509588003159, -0.30265870690345764, 0.24804756045341492, 0.3758695721626282, 0.6869994401931763, -0.35035669803619385, 0.8728014826774597, -0.4324427843093872, -0.26976847648620605, -0.3385373055934906, -0.2859683930873871, 0.4581388533115387, 0.5476328730583191, 0.6940256953239441, -0.6498405337333679, -0.4291984736919403, -0.006412175949662924, -0.8319059014320374, 0.09571843594312668, 0.033257026225328445, -0.4306573271751404, 0.22626128792762756, 0.17906729876995087, -0.9312631487846375, 0.5373455286026001, 0.6544122099876404, -0.4572610557079315, 0.4516846537590027, 0.12823574244976044, 0.13072282075881958, -1.3227782249450684, 0.14897944033145905, -0.014494268223643303, -0.051051028072834015, -0.46612855792045593, 0.0823540911078453, -0.2747111916542053, 0.12055035680532455, -0.3869872987270355, 0.8566842079162598, -0.42131805419921875, 0.009749977849423885, 0.04558712616562843, 0.060941003262996674, 0.13664717972278595, 0.8008483052253723, -0.1361204832792282, 0.5959401726722717, 0.6285194754600525, -0.42200443148612976, 0.46367186307907104, 0.4875759482383728, -0.2408694177865982, 0.33179956674575806, -0.7821505069732666, 0.266964316368103, 0.10362120717763901, 0.4771435558795929, -1.1663916110992432, -0.33816906809806824, 0.5459694862365723, -0.6865769624710083, 0.17146600782871246, 0.1745680272579193, -0.4863196611404419, -0.5674898028373718, -0.449100524187088, 0.2708766758441925, 0.5570069551467896, -0.624671995639801, 0.48361754417419434, 0.4982195496559143, -0.09456905722618103, -0.8723477721214294, -0.6709591150283813, 0.05468223616480827, -0.47225135564804077, -0.7720226049423218, 0.14024193584918976, -0.22981040179729462, -0.2665849030017853, -0.045619379729032516, 0.09892740845680237, -0.07855544239282608, 0.2585233151912689, 0.5129209160804749, 0.2106875628232956, -0.14865754544734955, 0.059780966490507126, -0.1460498720407486, 0.04957011342048645, -0.024258028715848923, 0.18712979555130005, 0.7211271524429321, -0.38583138585090637, -0.2958291172981262, -0.8627071976661682, 0.14533759653568268, 0.5908377766609192, -0.20081762969493866, 0.8107805848121643, 0.5692023038864136, -0.27344396710395813, 0.07056267559528351, -0.7105494737625122, -0.14779514074325562, -0.46524766087532043, 0.25867119431495667, -0.4601847231388092, -0.8161851167678833, 0.9430052042007446, 0.2865947186946869, 0.14744102954864502, 0.6091185212135315, 0.5851200222969055, -0.039841268211603165, 0.9393951892852783, 0.7415803670883179, -0.37401941418647766, 0.4102947413921356, -0.38190367817878723, -0.07078288495540619, -0.7384848594665527, -0.535691499710083, -0.4146123230457306, -0.41329845786094666, -0.6774027943611145, -0.25027135014533997, 0.16819123923778534, 0.23400583863258362, -0.32222333550453186, 0.42859750986099243, -0.8356720805168152, 0.3248606026172638, 0.6202636361122131, 0.3960440158843994, 0.26485636830329895, -0.12682989239692688, -0.04775527864694595, -0.0297271478921175, -0.5055942535400391, -0.5300259590148926, 1.1699119806289673, 0.6177335977554321, 0.6106574535369873, 0.2198232263326645, 0.9148392677307129, 0.09984378516674042, 0.2735574245452881, -0.6610738039016724, 0.6538826823234558, 0.11976458877325058, -0.6054074168205261, -0.2677708864212036, -0.2809370160102844, -0.9743892550468445, 0.2654135823249817, -0.19701816141605377, -0.923054575920105, -0.04733571037650108, -0.01996801234781742, -0.2992516756057739, 0.2684634327888489, -0.634012758731842, 0.8526913523674011, -0.35299405455589294, -0.2518986761569977, -0.09196779131889343, -0.7795581817626953, 0.7457596063613892, -0.031099768355488777, 0.11433285474777222, -0.2522502839565277, -0.04503875970840454, 0.9190770983695984, -0.4694954454898834, 1.1133286952972412, 0.0976603776216507, -0.04475400596857071, 0.5519192218780518, -0.05955377221107483, 0.4506188929080963, 0.02796398103237152, -0.1414683759212494, 0.3972538411617279, 0.04798173904418945, -0.332609087228775, -0.38340237736701965, 0.6254902482032776, -1.0114076137542725, -0.6009133458137512, -0.5355933308601379, -0.3670682907104492, 0.12546366453170776, 0.12835022807121277, 0.3028639853000641, 0.15751945972442627, -0.06182337924838066, 0.1439841240644455, 0.31668099761009216, -0.2715931534767151, 0.49573859572410583, 0.19018597900867462, -0.3705240488052368, -0.5863940715789795, 0.6961888074874878, -0.12516838312149048, 0.1779717206954956, 0.19222667813301086, 0.23618309199810028, -0.4011244773864746, -0.1934516429901123, -0.47196483612060547, 0.5150636434555054, -0.49565884470939636, -0.3570421040058136, -0.7353223562240601, -0.19147656857967377, -0.3981266915798187, -0.0542413704097271, -0.47269731760025024, -0.36718520522117615, -0.6021435856819153, 0.011933042667806149, 0.734441876411438, 0.8346920013427734, -0.007763367611914873, 0.5048440098762512, -0.5898647904396057, 0.23323006927967072, 0.2944466769695282, 0.26120877265930176, 0.0625094547867775, -0.6381513476371765, -0.09164416044950485, 0.20415130257606506, -0.4931351840496063, -0.8926172256469727, 0.6200792789459229, 0.16943968832492828, 0.5468871593475342, 0.2520744502544403, -0.10009419918060303, 0.9953757524490356, -0.23735588788986206, 0.9009761214256287, 0.397147536277771, -0.8884329795837402, 0.5504664778709412, -0.2786148190498352, 0.05707019940018654, 0.3868483901023865, 0.34074556827545166, -0.3855176866054535, -0.4277808964252472, -0.8076050281524658, -0.5938833951950073, 0.6637690663337708, 0.2990363836288452, 0.16066686809062958, 0.10881587862968445, 0.44687724113464355, -0.09394314885139465, 0.1365877091884613, -1.036008358001709, -0.3492109775543213, -0.21108822524547577, -0.2157539427280426, -0.1594652533531189, -0.1608937531709671, -0.053133703768253326, -0.41633981466293335, 0.6743382215499878, 0.0017648488283157349, 0.3372785747051239, 0.1789068877696991, 0.06420838832855225, -0.12469343841075897, -0.031209617853164673, 0.6421318054199219, 0.4620741605758667, -0.10837022215127945, -0.23468278348445892, 0.3433094024658203, -0.5913231372833252, 0.04089697450399399, 0.04466339945793152, 0.19832843542099, -0.09654169529676437, 0.44569528102874756, 0.7992635369300842, 0.21722352504730225, -0.5909507870674133, 0.5274428129196167, -0.23864954710006714, 0.03023584559559822, -0.3296807110309601, 0.12035983055830002, 0.43447059392929077, 0.48356541991233826, 0.18859346210956573, -0.086054727435112, 0.039132531732320786, -0.5072896480560303, 0.1193416565656662, 0.597227156162262, -0.15482290089130402, -0.4440723657608032, 0.7525635361671448, 0.12446048855781555, -0.24279092252254486, 0.3469574451446533, -0.2870396375656128, -0.5998623371124268, 0.909953236579895, 0.5095745921134949, 0.6049360632896423, -0.26064354181289673, 0.16617757081985474, 0.5413677096366882, 0.22237208485603333, -0.19370116293430328, 0.25306567549705505, -0.08581669628620148, -0.5042821168899536, -0.1864391714334488, -0.9384600520133972, -0.36108890175819397, 0.2845646142959595, -0.49240168929100037, 0.35361289978027344, -0.36105847358703613, -0.3446095883846283, -0.027608787640929222, 0.4474044144153595, -0.5804212093353271, 0.037768956273794174, 0.03193410113453865, 0.8278770446777344, -0.7794375419616699, 0.73219233751297, 0.6385492086410522, -0.5811564922332764, -1.0710307359695435, -0.37116897106170654, 0.13781939446926117, -0.9821071624755859, 0.6049107909202576, 0.36412057280540466, -0.02151033654808998, -0.07549961656332016, -0.9073778986930847, -1.0013353824615479, 1.3688976764678955, 0.19190622866153717, -0.5301865339279175, 0.08988681435585022, 0.06015617772936821, 0.64516681432724, -0.3322291374206543, 0.48448219895362854, 0.5673869252204895, 0.2313082367181778, 0.3018092215061188, -1.4000096321105957, 0.12745977938175201, -0.6511773467063904, -0.17565204203128815, 0.019109491258859634, -1.0792591571807861, 1.136607050895691, -0.2914535105228424, -0.15656346082687378, 0.3001619577407837, 0.7471537590026855, 0.5648024678230286, 0.46861353516578674, 0.4552965462207794, 0.8745795488357544, 0.6771999597549438, 0.10788235813379288, 0.8816252946853638, -0.2367243468761444, 0.43803876638412476, 0.7288020253181458, -0.032272741198539734, 0.8943259716033936, 0.2327762097120285, -0.3533592224121094, 0.47407612204551697, 0.9119508862495422, 0.14676453173160553, 0.29355141520500183, 0.0762537270784378, -0.13086150586605072, -0.1263277530670166, -0.1263265162706375, -0.5653992891311646, 0.6057305335998535, 0.26277366280555725, -0.23827065527439117, 0.06397407501935959, -0.13707800209522247, 0.322809636592865, -0.08047962188720703, -0.10854237526655197, 0.842031717300415, 0.3075295388698578, -0.5813041925430298, 0.8102424144744873, -0.1933315396308899, 1.0262625217437744, -0.36988237500190735, -0.05719625577330589, -0.39838698506355286, 0.1646348387002945, -0.2200312614440918, -0.8969318270683289, 0.06485983729362488, -0.018855616450309753, 0.03316504508256912, 0.01899574138224125, 0.6327832341194153, -0.273709237575531, -0.47996973991394043, 0.4097858965396881, 0.4220878481864929, 0.49257323145866394, 0.00020465030684135854, -1.020740270614624, 0.24434322118759155, 0.1076342761516571, -0.5286321640014648, 0.29605981707572937, 0.35626503825187683, -0.10494343191385269, 0.9709872603416443, 0.8192408680915833, -0.03961559757590294, 0.03145791217684746, -0.2789433002471924, 1.111209750175476, -0.6948762536048889, -0.5857080817222595, -0.9327415823936462, 0.6632478833198547, -0.04792775586247444, -0.5224461555480957, 0.7021307945251465, 0.4356648623943329, 0.5336467027664185, 0.1896900087594986, 0.43378251791000366, -0.14431415498256683, 0.458875447511673, -0.4137475788593292, 0.8155859112739563, -0.9064371585845947, 0.115062415599823, -0.33857661485671997, -0.8134801983833313, -0.20813299715518951, 0.606540322303772, -0.12749935686588287, -0.018115829676389694, 0.37529098987579346, 0.9592537879943848, 0.0331023745238781, -0.05010145530104637, 0.11407230794429779, 0.2850036025047302, 0.2661918103694916, 0.7870259284973145, 0.8729958534240723, -0.5591302514076233, 0.5562594532966614, -0.6164092421531677, -0.2352725863456726, -0.35805743932724, -0.7351213097572327, -1.0770869255065918, -0.7204429507255554, -0.1710841804742813, -0.48396238684654236, -0.1597280502319336, 1.015316128730774, 0.5836490392684937, -0.4870353937149048, -0.3639974296092987, 0.23789094388484955, 0.14306268095970154, -0.01395437028259039, -0.17282871901988983, 0.43694615364074707, -0.07982530444860458, -0.6988846659660339, 0.1223980188369751, -0.06732815504074097, 0.23214298486709595, -0.23487165570259094, -0.27059614658355713, -0.27332422137260437, 0.03969355672597885, 0.5261465311050415, 0.3695858418941498, -0.806674599647522, -0.15530486404895782, 0.252188116312027, -0.4031791090965271, 0.19228115677833557, 0.04184379428625107, -0.5461243987083435, 0.21318182349205017, 0.3220503628253937, 0.378153920173645, 0.584965705871582, 0.19834396243095398, -0.01903226412832737, -0.41971105337142944, 0.3502730429172516, 0.07726532220840454, 0.34001967310905457, 0.2980446219444275, -0.4973088502883911, 0.6753804683685303, 0.1926746964454651, -0.7237350940704346, -0.9622092247009277, -0.07619829475879669, -1.3497029542922974, -0.013562297448515892, 1.0977749824523926, -0.07655534893274307, -0.637332022190094, 0.2729175388813019, -0.3756707012653351, 0.3673818111419678, -0.5936794281005859, 0.792751133441925, 0.7057520747184753, -0.35979369282722473, -0.07330489903688431, -0.549389123916626, 0.3671804964542389, 0.32272836565971375, -0.9599030017852783, -0.32997921109199524, 0.3862258493900299, 0.43936434388160706, 0.39301797747612, 0.8469547033309937, 0.08475204557180405, 0.18008264899253845, -0.000851002405397594, 0.4088572859764099, -0.07244697213172913, -0.10302003473043442, -0.2806776762008667, -0.10943397134542465, -0.10168289393186569, -0.4332299530506134 ]
trl-internal-testing/tiny-random-BigBirdPegasusForConditionalGeneration
trl-internal-testing
2023-01-20T14:14:03Z
15,072
0
transformers
[ "transformers", "pytorch", "bigbird_pegasus", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:14:00Z
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 ]
trl-internal-testing/tiny-random-BartForConditionalGeneration
trl-internal-testing
2023-01-20T14:13:57Z
15,034
0
transformers
[ "transformers", "pytorch", "bart", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:13:30Z
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 ]
IDEA-CCNL/Taiyi-CLIP-Roberta-102M-Chinese
IDEA-CCNL
2023-05-25T09:44:14Z
15,022
45
transformers
[ "transformers", "pytorch", "safetensors", "bert", "text-classification", "clip", "zh", "image-text", "feature-extraction", "arxiv:2209.02970", "license:apache-2.0", "endpoints_compatible", "has_space", "region:us" ]
feature-extraction
2022-07-09T07:11:05Z
--- license: apache-2.0 # inference: false # pipeline_tag: zero-shot-image-classification pipeline_tag: feature-extraction # inference: # parameters: tags: - clip - zh - image-text - feature-extraction --- # Taiyi-CLIP-Roberta-102M-Chinese - Main Page:[Fengshenbang](https://fengshenbang-lm.com/) - Github: [Fengshenbang-LM](https://github.com/IDEA-CCNL/Fengshenbang-LM) ## 简介 Brief Introduction 首个开源的中文CLIP模型,1.23亿图文对上进行预训练的文本端RoBERTa-base。 The first open source Chinese CLIP, pre-training on 123M image-text pairs, the text encoder: RoBERTa-base. ## 模型分类 Model Taxonomy | 需求 Demand | 任务 Task | 系列 Series | 模型 Model | 参数 Parameter | 额外 Extra | | :----: | :----: | :----: | :----: | :----: | :----: | | 特殊 Special | 多模态 Multimodal | 太乙 Taiyi | CLIP (Roberta) | 102M | 中文 Chinese | ## 模型信息 Model Information 我们遵循CLIP的实验设置,以获得强大的视觉-语言表征。在训练中文版的CLIP时,我们使用[chinese-roberta-wwm](https://huggingface.co/hfl/chinese-roberta-wwm-ext)作为语言的编码器,并将[CLIP](https://github.com/openai/CLIP)中的ViT-B-32应用于视觉的编码器。为了快速且稳定地进行预训练,我们冻结了视觉编码器并且只微调语言编码器。此外,我们将[Noah-Wukong](https://wukong-dataset.github.io/wukong-dataset/)数据集(100M)和[Zero](https://zero.so.com/)数据集(23M)用作预训练的数据集,训练了24个epoch,在在A100x32上训练了7天。据我们所知,我们的Taiyi-CLIP是目前Huggingface社区中首个的开源中文CLIP。 We follow the experimental setup of CLIP to obtain powerful visual-language intelligence. To obtain the CLIP for Chinese, we employ [chinese-roberta-wwm](https://huggingface.co/hfl/chinese-roberta-wwm-ext) for the language encoder, and apply the ViT-B-32 in [CLIP](https://github.com/openai/CLIP) for the vision encoder. We freeze the vision encoder and tune the language encoder to speed up and stabilize the pre-training process. Moreover, we apply [Noah-Wukong](https://wukong-dataset.github.io/wukong-dataset/) dataset (100M) and [Zero](https://zero.so.com/) dataset (23M) as the pre-training datasets. We train 24 epochs, which takes 7 days to train on A100x16. To the best of our knowledge, our TaiyiCLIP is currently the only open-sourced Chinese CLIP in the huggingface community. ### 下游效果 Performance **Zero-Shot Classification** | model | dataset | Top1 | Top5 | | ---- | ---- | ---- | ---- | | Taiyi-CLIP-Roberta-102M-Chinese | ImageNet1k-CN | 42.85% | 71.48% | **Zero-Shot Text-to-Image Retrieval** | model | dataset | Top1 | Top5 | Top10 | | ---- | ---- | ---- | ---- | ---- | | Taiyi-CLIP-Roberta-102M-Chinese | Flickr30k-CNA-test | 46.32% | 74.58% | 83.44% | | Taiyi-CLIP-Roberta-102M-Chinese | COCO-CN-test | 47.10% | 78.53% | 87.84% | | Taiyi-CLIP-Roberta-102M-Chinese | wukong50k | 49.18% | 81.94% | 90.27% | ## 使用 Usage ```python3 from PIL import Image import requests import clip import torch from transformers import BertForSequenceClassification, BertConfig, BertTokenizer from transformers import CLIPProcessor, CLIPModel import numpy as np query_texts = ["一只猫", "一只狗",'两只猫', '两只老虎','一只老虎'] # 这里是输入文本的,可以随意替换。 # 加载Taiyi 中文 text encoder text_tokenizer = BertTokenizer.from_pretrained("IDEA-CCNL/Taiyi-CLIP-Roberta-102M-Chinese") text_encoder = BertForSequenceClassification.from_pretrained("IDEA-CCNL/Taiyi-CLIP-Roberta-102M-Chinese").eval() text = text_tokenizer(query_texts, return_tensors='pt', padding=True)['input_ids'] url = "http://images.cocodataset.org/val2017/000000039769.jpg" # 这里可以换成任意图片的url # 加载CLIP的image encoder clip_model = CLIPModel.from_pretrained("openai/clip-vit-base-patch32") processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32") image = processor(images=Image.open(requests.get(url, stream=True).raw), return_tensors="pt") with torch.no_grad(): image_features = clip_model.get_image_features(**image) text_features = text_encoder(text).logits # 归一化 image_features = image_features / image_features.norm(dim=1, keepdim=True) text_features = text_features / text_features.norm(dim=1, keepdim=True) # 计算余弦相似度 logit_scale是尺度系数 logit_scale = clip_model.logit_scale.exp() logits_per_image = logit_scale * image_features @ text_features.t() logits_per_text = logits_per_image.t() probs = logits_per_image.softmax(dim=-1).cpu().numpy() print(np.around(probs, 3)) ``` ## 引用 Citation 如果您在您的工作中使用了我们的模型,可以引用我们的[论文](https://arxiv.org/abs/2209.02970): If you are using the resource for your work, please cite the our [paper](https://arxiv.org/abs/2209.02970): ```text @article{fengshenbang, author = {Jiaxing Zhang and Ruyi Gan and Junjie Wang and Yuxiang Zhang and Lin Zhang and Ping Yang and Xinyu Gao and Ziwei Wu and Xiaoqun Dong and Junqing He and Jianheng Zhuo and Qi Yang and Yongfeng Huang and Xiayu Li and Yanghan Wu and Junyu Lu and Xinyu Zhu and Weifeng Chen and Ting Han and Kunhao Pan and Rui Wang and Hao Wang and Xiaojun Wu and Zhongshen Zeng and Chongpei Chen}, title = {Fengshenbang 1.0: Being the Foundation of Chinese Cognitive Intelligence}, journal = {CoRR}, volume = {abs/2209.02970}, year = {2022} } ``` 也可以引用我们的[网站](https://github.com/IDEA-CCNL/Fengshenbang-LM/): You can also cite our [website](https://github.com/IDEA-CCNL/Fengshenbang-LM/): ```text @misc{Fengshenbang-LM, title={Fengshenbang-LM}, author={IDEA-CCNL}, year={2021}, howpublished={\url{https://github.com/IDEA-CCNL/Fengshenbang-LM}}, } ```
[ -0.5067428946495056, -0.7969152331352234, 0.19036608934402466, 0.4465886652469635, -0.5106140375137329, -0.2001117765903473, -0.5855575203895569, -0.3808193504810333, 0.4917159080505371, 0.16594479978084564, -0.5635562539100647, -0.5988069176673889, -0.6144821643829346, 0.05066234990954399, -0.028171399608254433, 0.7950772047042847, -0.13794489204883575, 0.16013535857200623, 0.10320860147476196, -0.25292497873306274, -0.32280147075653076, -0.4067811369895935, -0.4951467514038086, -0.05014476552605629, -0.0511617474257946, 0.16058292984962463, 0.5413416028022766, 0.6743666529655457, 0.5283002853393555, 0.32141175866127014, -0.1290811002254486, 0.14489229023456573, -0.38636478781700134, -0.45920827984809875, 0.12898461520671844, -0.3403094410896301, -0.42965421080589294, -0.0005258472519926727, 0.7073190212249756, 0.11687357723712921, 0.20313586294651031, 0.24540813267230988, 0.22164420783519745, 0.4990423917770386, -0.4870421290397644, 0.14147938787937164, -0.4948589503765106, -0.015835287049412727, -0.3750724494457245, -0.13786880671977997, -0.1784716695547104, -0.4534928798675537, 0.07679327577352524, -0.7124497890472412, 0.18146811425685883, -0.16061504185199738, 1.6632187366485596, 0.03037261590361595, 0.06938156485557556, -0.012348304502665997, -0.2700519263744354, 1.015655517578125, -0.792466402053833, 0.2492314726114273, 0.28780317306518555, 0.05494118481874466, 0.09783816337585449, -0.843269944190979, -0.7751445770263672, 0.09851965308189392, -0.02800644561648369, 0.2299186736345291, -0.15018729865550995, -0.18347908556461334, 0.28916287422180176, 0.17935526371002197, -0.3976348340511322, -0.11571698635816574, -0.5096288323402405, -0.31397590041160583, 0.7368806600570679, -0.07822766155004501, 0.6767011284828186, -0.5624064803123474, -0.5460823774337769, -0.46860677003860474, -0.472583144903183, 0.3635408878326416, 0.0962553396821022, 0.010999607853591442, -0.4351898431777954, 0.39062049984931946, 0.09157223999500275, 0.4722289741039276, 0.1729924976825714, -0.49251484870910645, 0.5691376328468323, -0.5465846061706543, -0.2216530591249466, -0.059440456330776215, 1.4207985401153564, 0.5531749725341797, 0.2844357490539551, 0.24989277124404907, 0.09957078099250793, -0.24997711181640625, -0.3182751536369324, -1.0100237131118774, -0.3571277856826782, 0.1193065196275711, -0.5112664103507996, -0.16994647681713104, 0.3346846103668213, -0.7731698751449585, 0.3697091341018677, 0.10819200426340103, 0.7266326546669006, -1.0353187322616577, -0.28170499205589294, 0.08175826817750931, -0.3085575997829437, 0.4289874732494354, 0.21819202601909637, -0.8388647437095642, -0.02277495339512825, 0.4283495843410492, 1.11139714717865, -0.09145937114953995, -0.5460954308509827, -0.1965915858745575, 0.08477433025836945, -0.16303516924381256, 0.5968644618988037, -0.1388915479183197, -0.23831473290920258, -0.25013092160224915, 0.2934897541999817, -0.21513481438159943, -0.3661753833293915, 0.6042380332946777, -0.17898400127887726, 0.27465224266052246, -0.40602898597717285, -0.21808171272277832, -0.45174363255500793, 0.17797280848026276, -0.5889887809753418, 1.1436060667037964, 0.06506112217903137, -1.076217770576477, 0.36275583505630493, -0.5828636288642883, -0.2861539125442505, -0.04711829870939255, -0.21332602202892303, -0.699305534362793, -0.5229482650756836, 0.7763435244560242, 0.4140681326389313, -0.15610605478286743, 0.09736612439155579, -0.3487851321697235, -0.4268166124820709, 0.4223024249076843, -0.33981630206108093, 1.3787132501602173, 0.08449458330869675, -0.4964526891708374, 0.169989675283432, -0.524173378944397, 0.2236921340227127, 0.5317697525024414, -0.09810595959424973, -0.324288547039032, -0.2702360153198242, 0.10126782208681107, 0.25639137625694275, 0.4186233580112457, -0.6406698226928711, 0.0820901021361351, -0.30767953395843506, 0.6830522418022156, 0.8036066889762878, 0.13493403792381287, 0.16704624891281128, -0.4349979758262634, 0.32174259424209595, 0.04458651319146156, 0.30550360679626465, -0.42023172974586487, -0.5580675005912781, -0.8677477240562439, -0.5973204970359802, 0.22443416714668274, 0.6572514176368713, -0.9559804797172546, 0.6444374322891235, -0.33902814984321594, -0.5863859057426453, -0.658966600894928, 0.01429856475442648, 0.452778160572052, 0.38804328441619873, 0.6008341908454895, -0.5255573391914368, -0.5267009735107422, -0.7691625356674194, 0.044764816761016846, -0.11784534901380539, -0.1263130009174347, 0.46589046716690063, 0.7017843127250671, 0.005806799978017807, 0.9557692408561707, -0.6918990612030029, -0.3963484764099121, -0.2554709017276764, 0.05722242593765259, 0.3073112964630127, 0.6382583379745483, 0.991282045841217, -0.7477424144744873, -0.5556204915046692, -0.2916037440299988, -0.8784162402153015, 0.09369923174381256, -0.11389518529176712, -0.41053882241249084, 0.1442333161830902, 0.22675059735774994, -0.5538598895072937, 0.5410549640655518, 0.2662821114063263, -0.08104115724563599, 0.7836945056915283, -0.1273217648267746, 0.277602881193161, -1.1166045665740967, 0.17936621606349945, -0.06137172132730484, 0.019390027970075607, -0.4350149631500244, 0.0498482771217823, 0.09480553865432739, -0.0987575426697731, -0.806370198726654, 0.47238197922706604, -0.5850948691368103, 0.13821449875831604, 0.022870076820254326, 0.33011874556541443, 0.1816958636045456, 0.9949906468391418, 0.27241113781929016, 0.8633585572242737, 0.7809653282165527, -0.6749171614646912, 0.3362095057964325, 0.636379063129425, -0.525528073310852, 0.35995638370513916, -0.8767111301422119, 0.013199684210121632, 0.15002089738845825, 0.10977186262607574, -0.7452250719070435, -0.14947494864463806, 0.5100162625312805, -0.7229923009872437, 0.16740521788597107, -0.12030771374702454, -0.4207221567630768, -0.5268988013267517, -0.9419986009597778, 0.5101646184921265, 0.6542415022850037, -0.7011598348617554, 0.19684550166130066, 0.345917284488678, 0.03105025924742222, -0.7158327698707581, -0.9171478748321533, -0.1870841383934021, -0.0668039545416832, -0.8313724994659424, 0.5832856893539429, -0.0766405537724495, 0.29104793071746826, 0.10912549495697021, 0.23841021955013275, -0.07913841307163239, -0.18257063627243042, 0.13124437630176544, 0.5312950611114502, -0.4005848467350006, -0.17018035054206848, -0.10772185027599335, 0.16000322997570038, -0.04783918708562851, -0.119000144302845, 0.5962463021278381, -0.23619425296783447, -0.42220690846443176, -0.6423600912094116, 0.099794402718544, 0.28046849370002747, -0.4211810231208801, 0.6246377229690552, 1.0588414669036865, -0.20589089393615723, 0.054719068109989166, -0.3701874017715454, -0.03852413222193718, -0.5323916077613831, 0.5549531579017639, -0.29217761754989624, -0.7744616270065308, 0.5022967457771301, 0.2664012610912323, 0.0010402894113212824, 0.686587929725647, 0.49476882815361023, 0.04553915560245514, 0.857315182685852, 0.6910340189933777, -0.17835740745067596, 0.8305401802062988, -0.8716151714324951, 0.026421254500746727, -1.1475694179534912, -0.29842594265937805, -0.22456353902816772, -0.21082474291324615, -0.47070229053497314, -0.7619882822036743, 0.5211562514305115, 0.4019307792186737, -0.2852917015552521, 0.5632247924804688, -0.8104113936424255, 0.2296294867992401, 0.5432246923446655, 0.38345175981521606, -0.055046603083610535, 0.04142108932137489, -0.2694210708141327, -0.2668119966983795, -0.7289189696311951, -0.3395616412162781, 0.9167421460151672, 0.4242696166038513, 0.6987295746803284, -0.0449628084897995, 0.5689300298690796, -0.13978803157806396, -0.08697802573442459, -0.667637288570404, 0.7597779035568237, -0.18186816573143005, -0.32556915283203125, -0.42572808265686035, -0.24471116065979004, -0.8562930822372437, 0.19988377392292023, -0.285513699054718, -0.907816469669342, 0.13260520994663239, -0.13872160017490387, -0.2589387595653534, 0.6158219575881958, -0.4993721544742584, 0.8567992448806763, -0.4609996974468231, -0.4558158218860626, 0.029763229191303253, -0.6048372983932495, 0.5337200164794922, 0.3005627393722534, -0.019840877503156662, -0.149492546916008, 0.10056754946708679, 1.266121506690979, -0.6590050458908081, 0.6635518074035645, -0.15533429384231567, 0.23538793623447418, 0.7457188963890076, -0.27286145091056824, 0.24269843101501465, 0.09301290661096573, 0.19891484081745148, 0.4951809346675873, 0.04522110894322395, -0.4687016010284424, -0.4809808135032654, 0.4817937910556793, -0.9516617059707642, -0.4390595257282257, -0.48218271136283875, -0.20721028745174408, 0.3139471113681793, 0.40283170342445374, 0.7915209531784058, 0.47846177220344543, -0.09459547698497772, 0.1148698702454567, 0.5986829400062561, -0.4221397340297699, 0.737787663936615, 0.23448127508163452, -0.20193734765052795, -0.7853346467018127, 1.124274492263794, 0.23575574159622192, 0.1741606593132019, 0.35013529658317566, 0.05872326344251633, -0.03126789256930351, -0.44249972701072693, -0.5880414247512817, 0.572848916053772, -0.6472017765045166, -0.2367268055677414, -0.5986718535423279, -0.5643240809440613, -0.586204469203949, -0.15838536620140076, -0.42221900820732117, -0.3511448800563812, -0.547583281993866, 0.134105384349823, 0.6319137811660767, 0.29323750734329224, 0.0045083994045853615, 0.1361963450908661, -0.9067490696907043, 0.3167458176612854, 0.2436697632074356, 0.27896374464035034, 0.1681589037179947, -0.6928671002388, -0.46042969822883606, 0.10620895028114319, -0.6091024875640869, -0.8514008522033691, 0.6178476214408875, 0.28684619069099426, 0.6544848084449768, 0.6262308955192566, 0.02262706123292446, 0.9108487367630005, -0.3355970084667206, 1.151550054550171, 0.38840699195861816, -1.084659218788147, 0.6390693783760071, -0.2221318781375885, 0.3729325830936432, 0.38634446263313293, 0.456804484128952, -0.4733350872993469, -0.2485499531030655, -0.6106724739074707, -0.9464408159255981, 1.0687462091445923, 0.25973421335220337, -0.05606319382786751, -0.0006224518874660134, 0.05671016126871109, -0.1491222232580185, -0.08871615678071976, -0.7554817795753479, -0.44204381108283997, -0.6789237260818481, -0.11847928166389465, 0.17155775427818298, -0.18903738260269165, -0.01914762146770954, -0.5773265361785889, 0.8346449732780457, -0.18178963661193848, 0.8219142556190491, 0.5395960211753845, -0.2639182507991791, 0.13075022399425507, -0.056853700429201126, 0.6777405142784119, 0.4161628186702728, -0.20891547203063965, -0.21158866584300995, 0.3256075382232666, -0.8542793393135071, -0.11991892009973526, -0.005872804205864668, -0.49834147095680237, 0.2889345586299896, 0.6237288117408752, 1.1906214952468872, 0.2937731444835663, -0.6338730454444885, 0.9277015924453735, -0.019473819062113762, -0.32639583945274353, -0.426286906003952, 0.03383450210094452, -0.08158139139413834, 0.12277917563915253, 0.4493119716644287, -0.06058664247393608, -0.14338791370391846, -0.4270685017108917, 0.2846449315547943, 0.45371368527412415, -0.33994999527931213, -0.4741033613681793, 0.7592266201972961, 0.031191840767860413, -0.14188583195209503, 0.5642390251159668, -0.12164153158664703, -1.041349172592163, 0.7730668783187866, 0.539589524269104, 0.9774797558784485, -0.05450308695435524, 0.2619480788707733, 0.9934325814247131, 0.2102625072002411, -0.06482279300689697, 0.23558777570724487, -0.15543805062770844, -0.7101972699165344, -0.20215000212192535, -0.5335718393325806, -0.2552558183670044, 0.14102432131767273, -0.6714628338813782, 0.599409818649292, -0.5974641442298889, -0.23229923844337463, -0.07007405161857605, 0.0581427663564682, -0.5191535353660583, 0.06627225130796432, 0.06475187093019485, 1.0408521890640259, -0.6780915856361389, 1.0462183952331543, 0.5790975689888, -0.774563193321228, -1.0276575088500977, 0.0006222152151167393, -0.22405225038528442, -0.897872269153595, 0.7000045776367188, 0.31106433272361755, -0.12530303001403809, -0.29155299067497253, -0.8482001423835754, -0.9985743165016174, 1.3994615077972412, 0.30749210715293884, -0.09744243323802948, 0.028847990557551384, -0.20016831159591675, 0.43493151664733887, -0.355263888835907, 0.5095955729484558, 0.3663631081581116, 0.3743811249732971, 0.13103418052196503, -0.9921280145645142, 0.16727855801582336, -0.48796021938323975, 0.07773412764072418, 0.0392647460103035, -1.245803952217102, 1.2170374393463135, -0.41231265664100647, -0.4935995936393738, 0.0644528865814209, 0.9820087552070618, 0.2544094920158386, 0.13787755370140076, 0.34252092242240906, 0.5048522353172302, 0.4473687410354614, -0.15110498666763306, 0.6815956830978394, -0.30442574620246887, 0.5297055840492249, 0.816875696182251, 0.27448728680610657, 0.9030932784080505, 0.2932080030441284, -0.4087908864021301, 0.676680326461792, 0.5537753105163574, -0.4820094704627991, 0.5863093137741089, -0.2621317505836487, 0.004813035950064659, -0.010402162559330463, -0.05809086188673973, -0.5055740475654602, 0.43966400623321533, 0.1895046979188919, -0.3014615774154663, 0.07947231084108353, 0.24338525533676147, 0.29985424876213074, -0.033825237303972244, -0.13033300638198853, 0.6098768711090088, 0.013803019188344479, -0.5862193703651428, 0.9792688488960266, 0.13274215161800385, 1.2199500799179077, -0.6725874543190002, 0.020760994404554367, 0.1065012589097023, 0.045363813638687134, -0.1974489688873291, -1.0877809524536133, 0.09912875294685364, 0.01743851974606514, 0.023416627198457718, 0.009656786918640137, 0.6025174260139465, -0.5316131114959717, -0.42096665501594543, 0.4121285080909729, -0.07750693708658218, 0.4132722318172455, 0.21942020952701569, -1.0501612424850464, 0.23230358958244324, 0.32902321219444275, -0.42043226957321167, 0.26015305519104004, 0.45413339138031006, -0.01235079113394022, 0.5692064166069031, 0.5882810354232788, 0.16803638637065887, 0.1764933466911316, -0.2571268081665039, 1.003881812095642, -0.782225489616394, -0.5684924125671387, -0.9583276510238647, 0.28808730840682983, -0.3300728499889374, -0.5460494160652161, 0.9003732204437256, 0.549580991268158, 0.9809954762458801, -0.1987513154745102, 0.7622888684272766, -0.3479362428188324, 0.34565579891204834, -0.6928139925003052, 0.8424830436706543, -0.5264554023742676, -0.03141866624355316, -0.6034072637557983, -0.6335940957069397, -0.10881701856851578, 0.7356628775596619, -0.30677497386932373, 0.099246084690094, 0.8227777481079102, 0.7631710767745972, 0.06302303820848465, -0.21650992333889008, 0.07564912736415863, 0.08849679678678513, 0.2926499843597412, 1.0456703901290894, 0.3031385838985443, -0.8404127359390259, 0.8468570113182068, -0.7847448587417603, -0.19305336475372314, -0.3041273355484009, -0.7131620645523071, -1.0776485204696655, -0.7985274195671082, -0.3428662419319153, -0.2977468967437744, -0.28574058413505554, 0.876613974571228, 0.8212651610374451, -0.79031902551651, -0.16810856759548187, 0.3444373309612274, 0.3055524528026581, -0.48596715927124023, -0.29151394963264465, 0.9037531614303589, 0.0380496121942997, -0.9231113195419312, -0.06886838376522064, 0.265153169631958, 0.16440102458000183, -0.08637039363384247, -0.26317721605300903, -0.48432186245918274, 0.025536540895700455, 0.3623709976673126, 0.6211638450622559, -0.7623822689056396, -0.3298599421977997, 0.18809640407562256, -0.24406181275844574, 0.39369553327560425, 0.4600054621696472, -0.5902420282363892, 0.459722638130188, 0.6578294634819031, 0.35285699367523193, 0.7423352599143982, 0.06917887181043625, 0.1457587480545044, -0.5862128734588623, 0.4678994119167328, -0.035040996968746185, 0.4206557869911194, 0.4489458203315735, -0.3118918836116791, 0.47239890694618225, 0.547849714756012, -0.4426993727684021, -0.6943641304969788, -0.11242027580738068, -1.3612803220748901, -0.266255646944046, 0.9757592082023621, -0.5065219402313232, -0.7513085603713989, 0.21804170310497284, -0.4804626703262329, 0.5356252789497375, -0.37433934211730957, 0.5007310509681702, 0.5825640559196472, -0.04509861394762993, -0.4102097153663635, -0.31068935990333557, 0.4650748670101166, 0.31286346912384033, -0.4686872363090515, -0.32965463399887085, 0.08552968502044678, 0.402236670255661, 0.496432900428772, 0.7970532774925232, -0.2705118954181671, 0.4472735524177551, 0.09786433726549149, 0.35905036330223083, -0.3252216577529907, -0.008902009576559067, -0.17924076318740845, -0.10191073268651962, -0.19376127421855927, -0.6992372870445251 ]
trl-internal-testing/tiny-random-PLBartForConditionalGeneration
trl-internal-testing
2023-01-20T14:16:28Z
15,013
0
transformers
[ "transformers", "pytorch", "plbart", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:16:24Z
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/dinov2-giant
facebook
2023-09-06T11:23:25Z
15,009
10
transformers
[ "transformers", "pytorch", "safetensors", "dinov2", "feature-extraction", "dino", "vision", "arxiv:2304.07193", "license:apache-2.0", "endpoints_compatible", "region:us" ]
feature-extraction
2023-07-17T16:49:29Z
--- license: apache-2.0 tags: - dino - vision --- # Vision Transformer (giant-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 raw model for feature extraction. See the [model hub](https://huggingface.co/models?search=facebook/dinov2) to look for fine-tuned versions on a task that interests you. ### How to use Here is how to use this model: ```python from transformers import AutoImageProcessor, AutoModel 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-giant') model = AutoModel.from_pretrained('facebook/dinov2-giant') inputs = processor(images=image, return_tensors="pt") outputs = model(**inputs) last_hidden_states = outputs.last_hidden_state ``` ### 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.5040603876113892, -0.41715648770332336, 0.10015636682510376, -0.12302279472351074, -0.48100152611732483, -0.043000027537345886, 0.0834970772266388, -0.432137131690979, 0.30257856845855713, 0.504721999168396, -0.43712785840034485, -0.20801404118537903, -0.6993563175201416, -0.17827747762203217, -0.45440995693206787, 0.9135273694992065, -0.0013481290079653263, -0.08983803540468216, -0.24488118290901184, -0.034885305911302567, -0.23436985909938812, -0.47981271147727966, -0.5201212763786316, -0.37355470657348633, 0.36649420857429504, 0.072169229388237, 0.7619252800941467, 1.012420415878296, 0.44809043407440186, 0.40528392791748047, -0.16411468386650085, 0.04009787365794182, -0.5322698950767517, -0.2410447597503662, -0.28582486510276794, -0.4943143129348755, -0.31669533252716064, 0.10673525184392929, 0.5957590341567993, 0.36704957485198975, 0.24968759715557098, 0.33268341422080994, 0.10158877074718475, 0.14102323353290558, -0.5551114082336426, 0.5046939849853516, -0.4670625329017639, 0.35422980785369873, -0.050294119864702225, -0.0016477234894409776, -0.26171889901161194, -0.39901477098464966, 0.2657717764377594, -0.4866929054260254, 0.15819492936134338, -0.0368296355009079, 1.3251078128814697, 0.29985588788986206, -0.5153803825378418, -0.08150995522737503, -0.5995601415634155, 0.7940597534179688, -0.24174578487873077, 0.3294098377227783, 0.1427246481180191, 0.40173524618148804, 0.0702747330069542, -1.1113321781158447, -0.6928128004074097, -0.007191607728600502, -0.18024425208568573, -0.01974051259458065, -0.24273142218589783, -0.040966831147670746, 0.36124688386917114, 0.37532809376716614, -0.17145583033561707, 0.19028416275978088, -0.5383043885231018, -0.46443527936935425, 0.40472087264060974, -0.1207168847322464, 0.191072478890419, -0.41244226694107056, -0.6397771835327148, -0.44784945249557495, -0.37954092025756836, 0.37996137142181396, 0.18948574364185333, 0.08826427906751633, -0.16201837360858917, 0.6158864498138428, 0.11736968159675598, 0.5314809679985046, 0.3050096035003662, -0.15485650300979614, 0.5799875259399414, -0.2424030750989914, -0.24608087539672852, -0.20306134223937988, 0.8131787776947021, 0.28397929668426514, 0.3360043466091156, 0.006367627996951342, -0.33577942848205566, 0.0815916359424591, 0.28608980774879456, -0.9412330985069275, -0.29757678508758545, -0.12735216319561005, -0.5753914713859558, -0.5061913728713989, 0.27310776710510254, -0.7223441004753113, -0.18160729110240936, -0.304418683052063, 0.7269865870475769, -0.24541960656642914, -0.37288254499435425, -0.4228276312351227, -0.04873482510447502, 0.7278729677200317, 0.09840583801269531, -0.9631437659263611, 0.3142058551311493, 0.520889937877655, 0.880851686000824, -0.0587601363658905, -0.16796502470970154, -0.3358151316642761, -0.1150088906288147, -0.5315834283828735, 0.6632541418075562, -0.35453739762306213, -0.2077140063047409, 0.1954028606414795, 0.5250540971755981, 0.02490195631980896, -0.5021399855613708, 0.42848557233810425, -0.3926888704299927, 0.20980864763259888, -0.36710667610168457, -0.269731730222702, -0.3484871983528137, 0.16890406608581543, -0.6826703548431396, 1.0911126136779785, 0.3535321056842804, -0.7733408212661743, 0.5871738195419312, -0.5098879337310791, -0.20429468154907227, 0.05673731490969658, -0.1601831018924713, -0.7060788869857788, -0.07986244559288025, 0.4693433940410614, 0.5252658724784851, 0.10112711787223816, -0.15276892483234406, -0.382150262594223, -0.46864229440689087, 0.26767754554748535, -0.06363241374492645, 0.8394804000854492, 0.1656409502029419, -0.3279343843460083, 0.17950426042079926, -0.6348758935928345, -0.020588502287864685, 0.24513468146324158, -0.3256089687347412, -0.05750889703631401, -0.1988316774368286, 0.20146876573562622, 0.3418886661529541, 0.3562300205230713, -0.6360361576080322, 0.22681738436222076, -0.32148417830467224, 0.6657313704490662, 0.805279552936554, -0.07787961512804031, 0.5390616059303284, -0.11181096732616425, 0.37541499733924866, 0.10610438138246536, 0.4989197254180908, -0.3753702938556671, -0.5354659557342529, -0.7329074144363403, -0.3116702139377594, 0.35360705852508545, 0.47383737564086914, -0.9214545488357544, 0.5886340141296387, -0.2079281061887741, -0.30967020988464355, -0.4128100574016571, 0.21111799776554108, 0.44813427329063416, 0.555048406124115, 0.32874706387519836, -0.547400176525116, -0.5283456444740295, -0.9216910004615784, 0.24807246029376984, -0.027922946959733963, -0.013141478411853313, 0.3004099130630493, 0.7123487591743469, -0.32047945261001587, 0.9706028699874878, -0.18877272307872772, -0.243750661611557, -0.10173694044351578, -0.008731615729629993, 0.21847692131996155, 0.7071787118911743, 0.7617297768592834, -0.9371508359909058, -0.27993765473365784, -0.047738511115312576, -0.8807443380355835, 0.2110448032617569, 0.06000823155045509, -0.15340276062488556, 0.006079737562686205, 0.33970487117767334, -0.7957491874694824, 0.6809155941009521, 0.1995847374200821, -0.172183096408844, 0.23687192797660828, -0.12112832814455032, -0.026415381580591202, -1.1455475091934204, 0.01761389896273613, -0.026301054283976555, -0.41091376543045044, -0.5005601644515991, 0.2055695354938507, 0.20025940239429474, -0.17320628464221954, -0.4538002908229828, 0.36316347122192383, -0.5082533955574036, -0.4323001801967621, -0.25732001662254333, -0.1887919157743454, -0.008551633916795254, 0.5202613472938538, -0.032369114458560944, 0.42447221279144287, 0.8522909879684448, -0.3889298439025879, 0.735895574092865, 0.43135130405426025, -0.43979406356811523, 0.4331115186214447, -0.7084078788757324, 0.35310792922973633, -0.19056715071201324, 0.17463018000125885, -0.9660980105400085, -0.47102120518684387, 0.3814293146133423, -0.47275105118751526, 0.588942289352417, -0.35230427980422974, -0.5322410464286804, -0.8987395167350769, -0.2844158113002777, 0.3025355041027069, 0.805682897567749, -0.8254315853118896, 0.5542438626289368, 0.3820574879646301, 0.22495324909687042, -0.8065782189369202, -0.9678170084953308, -0.10398624837398529, -0.16157279908657074, -0.441196471452713, 0.32753419876098633, 0.2726866900920868, 0.29771411418914795, 0.3314765691757202, -0.10655688494443893, -0.2615634500980377, -0.25405117869377136, 0.5605737566947937, 0.3095654845237732, -0.34284156560897827, 0.010137134231626987, -0.13413840532302856, -0.15551139414310455, 0.07168198376893997, -0.48793381452560425, 0.5470374226570129, -0.2719658613204956, -0.30175647139549255, -0.7641028761863708, 0.056400950998067856, 0.6667881011962891, -0.2988818883895874, 0.5504241585731506, 0.9771952629089355, -0.6727140545845032, -0.11116053909063339, -0.37443795800209045, -0.1509426087141037, -0.5322590470314026, 0.432806134223938, -0.3475728929042816, -0.6577211618423462, 0.7943524718284607, -0.05202987417578697, -0.2389698624610901, 0.4725801944732666, 0.5177650451660156, -0.11263759434223175, 0.9154000878334045, 0.8814950585365295, -0.01679525524377823, 0.7089462876319885, -0.7489439249038696, 0.08192762732505798, -0.7405455708503723, -0.6761904954910278, -0.04979858919978142, -0.3856838345527649, -0.4016208350658417, -0.47917184233665466, 0.1180853322148323, 0.37517425417900085, -0.23432251811027527, 0.6434998512268066, -0.6704521775245667, 0.43133288621902466, 0.7574587464332581, 0.5018393397331238, -0.3390848934650421, 0.13707087934017181, -0.22740712761878967, 0.025843048468232155, -0.585637092590332, -0.13269302248954773, 1.0223968029022217, 0.5642136931419373, 0.7885816097259521, -0.17442865669727325, 0.5585649013519287, 0.11147598922252655, -0.0002070895570795983, -0.9234251976013184, 0.5206215977668762, -0.10882490873336792, -0.5678783655166626, -0.19692201912403107, -0.19459164142608643, -0.8997577428817749, 0.00018337811343371868, -0.45557984709739685, -0.7913511395454407, 0.5960116386413574, 0.2961646020412445, -0.4498230218887329, 0.35530799627304077, -0.6246647834777832, 0.9615980386734009, -0.18672867119312286, -0.2603386342525482, 0.0798129215836525, -0.5947234630584717, 0.20739047229290009, -0.15860189497470856, -0.18070822954177856, 0.30593082308769226, 0.19989114999771118, 0.66727614402771, -0.574188232421875, 0.9925890564918518, -0.4058868885040283, 0.319248765707016, 0.5586866736412048, -0.18158601224422455, 0.44019412994384766, -0.05669007450342178, 0.42087557911872864, 0.207309290766716, -0.06036098301410675, -0.4994349777698517, -0.5794317126274109, 0.4863554835319519, -1.0355457067489624, -0.4115561544895172, -0.32376596331596375, -0.31833791732788086, 0.29167360067367554, 0.37100669741630554, 0.6173011660575867, 0.6222200393676758, 0.1850001960992813, 0.46989187598228455, 0.6332620978355408, -0.35165080428123474, 0.595831036567688, -0.2052174210548401, -0.35037660598754883, -0.3769419491291046, 0.8118951916694641, 0.3586410582065582, 0.13131222128868103, 0.26268526911735535, 0.16969355940818787, -0.39828842878341675, -0.3936358392238617, -0.3808547556400299, 0.09320273995399475, -0.9481961131095886, -0.2407068908214569, -0.4863533079624176, -0.6359153389930725, -0.5245343446731567, -0.16830988228321075, -0.5162695646286011, -0.38904258608818054, -0.4711052477359772, -0.2692340314388275, 0.27249231934547424, 0.8291739225387573, -0.33741703629493713, 0.543333888053894, -0.39503172039985657, 0.29255619645118713, 0.8667116165161133, 0.16491536796092987, -0.09415629506111145, -0.6438497304916382, -0.23410789668560028, -0.05308211222290993, -0.16643939912319183, -0.5862855911254883, 0.4767882525920868, 0.3001689016819, 0.8177371025085449, 0.8110606074333191, -0.39396169781684875, 0.7740507125854492, -0.318111389875412, 0.7458979487419128, 0.3835083842277527, -0.8339083790779114, 0.6008973121643066, -0.17489676177501678, 0.17044022679328918, 0.1230553537607193, 0.5107155442237854, 0.0032708607614040375, 0.23835434019565582, -0.5085236430168152, -0.6422081589698792, 0.7159007787704468, 0.12388110160827637, 0.324358195066452, 0.11024830490350723, 0.6537460684776306, -0.07906107604503632, 0.0987585261464119, -0.9051660895347595, -0.1396082192659378, -0.9226202368736267, -0.07626470923423767, 0.1590176373720169, -0.3827114999294281, -0.07693316042423248, -0.5365634560585022, 0.17158164083957672, -0.12335223704576492, 0.6749244928359985, 0.16671468317508698, -0.2548675239086151, -0.19969063997268677, -0.43614786863327026, 0.168344646692276, 0.5905064940452576, -0.34885281324386597, 0.16971486806869507, 0.11924707889556885, -0.5733559727668762, -0.12786689400672913, 0.12895341217517853, -0.18771551549434662, -0.1006082221865654, 0.49507570266723633, 0.9220653772354126, 0.18051759898662567, -0.05868793651461601, 0.9388974905014038, 0.19385217130184174, -0.24572589993476868, -0.5209555625915527, 0.13772764801979065, -0.14579878747463226, 0.5641660690307617, 0.3991411030292511, 0.31603512167930603, -0.059816814959049225, -0.6884240508079529, 0.49540257453918457, 0.31433090567588806, -0.6506824493408203, -0.5488458275794983, 0.854752779006958, -0.07898465543985367, -0.1788196563720703, 0.645135760307312, -0.17911465466022491, -0.6662349700927734, 0.8480410575866699, 0.6086174249649048, 0.6668322682380676, -0.35084769129753113, 0.23987101018428802, 0.5262406468391418, 0.3057040274143219, -0.07857082039117813, 0.19575126469135284, -0.16949696838855743, -0.8605210781097412, -0.4579947590827942, -0.6549936532974243, -0.07907019555568695, 0.20578433573246002, -0.7973650693893433, 0.3662949502468109, -0.7201182246208191, -0.3358670175075531, 0.25675058364868164, -0.18260766565799713, -1.0464006662368774, 0.25360384583473206, 0.5172923803329468, 0.6523507237434387, -0.8349379897117615, 1.0968385934829712, 0.7097558379173279, -0.5660467743873596, -0.7472857236862183, -0.2665112316608429, 0.017106227576732635, -1.0548933744430542, 0.864031195640564, 0.3980589509010315, 0.12206727266311646, 0.025061093270778656, -0.9172863364219666, -1.0731431245803833, 1.1845545768737793, 0.304977148771286, -0.24417579174041748, -0.10879170894622803, 0.06986997276544571, 0.4301992654800415, -0.5729787945747375, 0.3105418384075165, 0.038254864513874054, 0.11724012345075607, 0.5302488207817078, -0.7524199485778809, -0.008245142176747322, -0.31142866611480713, 0.3336973786354065, -0.15471422672271729, -0.7616593837738037, 1.1590213775634766, -0.2248631864786148, -0.18317651748657227, 0.09910166263580322, 0.65242999792099, -0.26481202244758606, -0.08639172464609146, 0.6690160036087036, 0.6204865574836731, 0.5796610116958618, -0.19455145299434662, 0.9236277937889099, -0.03927384316921234, 0.6230500340461731, 0.7314348816871643, 0.14470981061458588, 0.6656002998352051, 0.22050094604492188, -0.04786114767193794, 0.6269389390945435, 0.840712308883667, -0.5677003264427185, 0.8659868836402893, 0.006083625368773937, 0.16211600601673126, -0.2774278521537781, 0.08160858601331711, -0.3840351700782776, 0.6555955410003662, 0.4522857964038849, -0.6228470802307129, -0.08941099047660828, 0.27962931990623474, -0.12942194938659668, -0.32083234190940857, -0.4623865485191345, 0.593183696269989, 0.09337933361530304, -0.370837926864624, 0.6825613379478455, -0.2997255325317383, 0.5006272196769714, -0.43532803654670715, -0.15423887968063354, -0.1334507316350937, 0.2905132472515106, -0.33672893047332764, -0.8320253491401672, 0.16295315325260162, -0.1354626566171646, -0.07490867376327515, -0.0324312187731266, 0.8378413915634155, -0.22944937646389008, -0.6037205457687378, 0.3539418876171112, 0.11038007587194443, 0.2576085031032562, 0.17011268436908722, -0.8091606497764587, -0.20578710734844208, -0.08832285553216934, -0.4698006212711334, 0.19024553894996643, 0.4135924279689789, -0.03248871862888336, 0.6247120499610901, 0.7021235227584839, -0.14434859156608582, 0.37113499641418457, 0.01635649800300598, 1.1855435371398926, -0.5347535014152527, -0.4803237020969391, -0.6748747825622559, 0.5772077441215515, -0.313165545463562, -0.2870044708251953, 0.6026458144187927, 0.32323047518730164, 0.9349912405014038, -0.08119546622037888, 0.4894615411758423, -0.18018795549869537, 0.2002451866865158, -0.32031700015068054, 0.6656233072280884, -0.3690852224826813, -0.18781547248363495, -0.18309037387371063, -1.1294001340866089, -0.2871289551258087, 0.8735221028327942, -0.04748198017477989, -0.002658071694895625, 0.4735008478164673, 0.7971097230911255, -0.2963872253894806, -0.294781357049942, 0.2804446518421173, 0.4384830594062805, 0.10691225528717041, 0.39192458987236023, 0.7976732850074768, -0.4954295754432678, 0.6393753886222839, -0.5459879636764526, -0.4020962119102478, -0.12194611132144928, -0.6550142168998718, -1.2732534408569336, -0.5747225880622864, -0.2988728880882263, -0.46904927492141724, -0.034389182925224304, 0.7051004767417908, 1.146888017654419, -0.9643833637237549, 0.18566586077213287, 0.01925797574222088, -0.07457777112722397, -0.22478839755058289, -0.15146830677986145, 0.5958001017570496, -0.05880188196897507, -0.694519579410553, 0.05724239721894264, 0.09623297303915024, 0.21488839387893677, -0.3769597113132477, 0.09250026196241379, 0.013131913729012012, -0.13964390754699707, 0.5547517538070679, 0.38936343789100647, -0.7248274087905884, -0.7241813540458679, -0.11294155567884445, 0.04254383593797684, 0.3114839792251587, 0.44136035442352295, -0.9326796531677246, 0.6343109011650085, 0.42764919996261597, 0.48107561469078064, 0.894541323184967, 0.012566112913191319, 0.24960465729236603, -0.7237479090690613, 0.4068140983581543, -0.03733281418681145, 0.5681492686271667, 0.3559826910495758, -0.363725483417511, 0.403777539730072, 0.4849643409252167, -0.4928281307220459, -0.7519712448120117, 0.19944320619106293, -1.1803497076034546, -0.14760220050811768, 0.9100375175476074, -0.49944406747817993, -0.5653806924819946, 0.12219638377428055, -0.04380510747432709, 0.5170475244522095, -0.026554817333817482, 0.6092645525932312, 0.3163439929485321, 0.09515585750341415, -0.582299530506134, -0.42386651039123535, 0.4253528416156769, -0.2094949334859848, -0.3837001919746399, -0.5859476923942566, 0.026527967303991318, 0.39965978264808655, 0.43177348375320435, 0.1096653863787651, -0.41893458366394043, 0.17339523136615753, 0.34706953167915344, 0.2488149106502533, -0.239179328083992, -0.3465268611907959, -0.3214094042778015, 0.1439608484506607, -0.3065950572490692, -0.6911365985870361 ]
dbmdz/bert-base-german-cased
dbmdz
2023-09-06T22:19:38Z
15,007
12
transformers
[ "transformers", "pytorch", "tf", "jax", "safetensors", "bert", "fill-mask", "de", "license:mit", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
fill-mask
2022-03-02T23:29:05Z
--- language: de license: mit --- # 🤗 + 📚 dbmdz German BERT models In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State Library open sources another German BERT models 🎉 # German BERT ## Stats In addition to the recently released [German BERT](https://deepset.ai/german-bert) model by [deepset](https://deepset.ai/) we provide another German-language model. The source data for the model consists of a recent Wikipedia dump, EU Bookshop corpus, Open Subtitles, CommonCrawl, ParaCrawl and News Crawl. This results in a dataset with a size of 16GB and 2,350,234,427 tokens. For sentence splitting, we use [spacy](https://spacy.io/). Our preprocessing steps (sentence piece model for vocab generation) follow those used for training [SciBERT](https://github.com/allenai/scibert). The model is trained with an initial sequence length of 512 subwords and was performed for 1.5M steps. This release includes both cased and uncased models. ## Model weights Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers) compatible weights are available. If you need access to TensorFlow checkpoints, please raise an issue! | Model | Downloads | -------------------------------- | --------------------------------------------------------------------------------------------------------------- | `bert-base-german-dbmdz-cased` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-cased-config.json) • [`pytorch_model.bin`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-cased-pytorch_model.bin) • [`vocab.txt`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-cased-vocab.txt) | `bert-base-german-dbmdz-uncased` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-uncased-config.json) • [`pytorch_model.bin`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-uncased-pytorch_model.bin) • [`vocab.txt`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-uncased-vocab.txt) ## Usage With Transformers >= 2.3 our German BERT models can be loaded like: ```python from transformers import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("dbmdz/bert-base-german-cased") model = AutoModel.from_pretrained("dbmdz/bert-base-german-cased") ``` ## Results For results on downstream tasks like NER or PoS tagging, please refer to [this repository](https://github.com/stefan-it/fine-tuned-berts-seq). # Huggingface model hub All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz). # Contact (Bugs, Feedback, Contribution and more) For questions about our BERT models just open an issue [here](https://github.com/dbmdz/berts/issues/new) 🤗 # Acknowledgments Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC). Thanks for providing access to the TFRC ❤️ Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team, it is possible to download both cased and uncased models from their S3 storage 🤗
[ -0.5514330267906189, -0.8225633502006531, 0.19210480153560638, 0.2446025013923645, -0.40494304895401, -0.22838963568210602, -0.24412505328655243, -0.4241603910923004, 0.17485956847667694, 0.3229353427886963, -0.7776053547859192, -0.6647607684135437, -0.6615460515022278, -0.1845640391111374, -0.4412347078323364, 1.2801289558410645, -0.02064710482954979, 0.2500080168247223, 0.012354176491498947, -0.16153405606746674, 0.03817058727145195, -0.8486133813858032, -0.37061741948127747, -0.5074524283409119, 0.46391433477401733, -0.04033694416284561, 0.6770955324172974, 0.27192965149879456, 0.5075252652168274, 0.3275967240333557, -0.29951968789100647, -0.15187321603298187, -0.22158950567245483, -0.06840461492538452, 0.10623431950807571, -0.27041348814964294, -0.6187846064567566, -0.20450079441070557, 0.5070059895515442, 0.5898542404174805, -0.2757571339607239, 0.13977566361427307, -0.0999779999256134, 0.5580974817276001, -0.1408076137304306, 0.25459080934524536, -0.40208354592323303, 0.05799402296543121, -0.09608271718025208, 0.23539604246616364, -0.28292492032051086, -0.15553976595401764, 0.5752867460250854, -0.2869839370250702, 0.6982647180557251, -0.3270115256309509, 1.4000446796417236, 0.17245401442050934, -0.28916871547698975, -0.2504175305366516, -0.3999495506286621, 0.7317156195640564, -1.0250375270843506, 0.5296051502227783, 0.23562060296535492, 0.19586330652236938, -0.2815617322921753, -0.9418591260910034, -0.6145641803741455, -0.08580826222896576, -0.1446070671081543, 0.08832234144210815, -0.49202200770378113, -0.000042827086872421205, 0.2809208631515503, 0.3494531512260437, -0.5300548672676086, 0.023668793961405754, -0.5940805673599243, -0.28510376811027527, 0.7957716584205627, -0.1634751856327057, 0.252328097820282, -0.5641268491744995, -0.3612840473651886, -0.5352717041969299, -0.5626888871192932, 0.13698244094848633, 0.5386191606521606, 0.41238901019096375, -0.5182012319564819, 0.6298417448997498, -0.06067422404885292, 0.6514052748680115, 0.10306970775127411, 0.1362769454717636, 0.5993666052818298, -0.14041206240653992, -0.1700281947851181, -0.1849099099636078, 0.9782795906066895, 0.1841341108083725, 0.08395832777023315, -0.15305407345294952, -0.24289429187774658, -0.3055858314037323, 0.3717370927333832, -0.9931230545043945, -0.37548714876174927, 0.4806399643421173, -0.6491180062294006, -0.20224237442016602, -0.04163407161831856, -0.614217221736908, -0.07782646268606186, -0.15721121430397034, 0.6863223314285278, -0.7756917476654053, -0.2640461325645447, 0.2763313353061676, -0.19556650519371033, 0.4386064112186432, 0.057736825197935104, -0.8828425407409668, -0.002218658570200205, 0.41216328740119934, 0.7698613405227661, 0.09127315133810043, -0.28637179732322693, 0.07311822474002838, -0.27277806401252747, -0.16649632155895233, 0.6343422532081604, 0.1231459379196167, -0.2916482985019684, 0.251089870929718, 0.2989846467971802, -0.0654444694519043, -0.23875324428081512, 0.616628885269165, -0.5327569842338562, 0.569475531578064, -0.3006802499294281, -0.6652483344078064, -0.4731326997280121, -0.05046940967440605, -0.612737774848938, 1.2488975524902344, 0.34162524342536926, -0.7502883672714233, 0.35046449303627014, -0.7393306493759155, -0.6426909565925598, -0.041209444403648376, 0.10269463807344437, -0.8085308074951172, 0.09332592785358429, 0.37976500391960144, 0.771996021270752, -0.07472352683544159, 0.22153393924236298, -0.4703538715839386, -0.1423059105873108, 0.23038290441036224, -0.0884041041135788, 1.3411027193069458, 0.1652422696352005, -0.4452093243598938, 0.24406272172927856, -0.631833553314209, 0.038216955959796906, 0.408096045255661, -0.29481008648872375, 0.17027586698532104, 0.01982267200946808, 0.3271605968475342, 0.25906023383140564, 0.3859335780143738, -0.53858882188797, 0.26104462146759033, -0.348324179649353, 0.6693015098571777, 0.7311262488365173, -0.26676782965660095, 0.2036990225315094, -0.3322708308696747, 0.2502698600292206, 0.08464014530181885, 0.19655856490135193, 0.02466309629380703, -0.4723381996154785, -1.1070761680603027, -0.5790184140205383, 0.6176411509513855, 0.4252394437789917, -0.7923902869224548, 1.0645946264266968, -0.35655468702316284, -0.7411426901817322, -0.7242004871368408, -0.001508871908299625, 0.2342919260263443, 0.3253740072250366, 0.472917377948761, -0.33729034662246704, -0.5468945503234863, -1.1478586196899414, 0.12121494114398956, -0.15762045979499817, -0.371536523103714, 0.38567614555358887, 0.775041937828064, -0.3386949300765991, 0.8419888019561768, -0.3107031583786011, -0.3557819128036499, -0.38798457384109497, 0.25332731008529663, 0.39582303166389465, 0.5429245233535767, 0.9785518050193787, -0.47713178396224976, -0.20720864832401276, -0.3529566824436188, -0.7558715343475342, 0.08003441989421844, 0.06235567852854729, -0.25874093174934387, 0.6402230262756348, 0.336759090423584, -0.843945324420929, 0.21460901200771332, 0.5487029552459717, -0.5481938719749451, 0.4430869519710541, -0.28911924362182617, -0.26309388875961304, -1.2794151306152344, 0.17212460935115814, 0.13970018923282623, -0.18549993634223938, -0.42507603764533997, 0.13781806826591492, 0.060978468507528305, 0.11789963394403458, -0.5658861398696899, 0.5533766150474548, -0.29472246766090393, -0.15405264496803284, 0.09755973517894745, -0.08472856879234314, -0.06740514189004898, 0.7434350252151489, 0.17207078635692596, 0.5940894484519958, 0.6599209904670715, -0.5469674468040466, 0.35266825556755066, 0.5522589683532715, -0.6070952415466309, 0.21267648041248322, -1.0013171434402466, 0.0756973996758461, -0.01624995842576027, 0.4625844657421112, -0.7916311025619507, -0.2267460972070694, 0.32581812143325806, -0.5953410863876343, 0.4401565492153168, -0.2879680395126343, -0.8971577286720276, -0.529868483543396, -0.1109611839056015, -0.04403147101402283, 0.7928741574287415, -0.7966020107269287, 0.7357897758483887, 0.35393616557121277, -0.17120178043842316, -0.5516091585159302, -0.8190447688102722, -0.19889943301677704, -0.23351727426052094, -0.8654724955558777, 0.6563124656677246, -0.14992843568325043, 0.20650488138198853, 0.11024228483438492, -0.07579933106899261, -0.0318133682012558, -0.057158101350069046, 0.04589415714144707, 0.528153657913208, -0.07659326493740082, 0.038596779108047485, 0.07690336555242538, 0.08412303030490875, 0.08666269481182098, -0.06518848240375519, 0.7575470805168152, -0.39356693625450134, -0.0955970287322998, -0.38719403743743896, 0.19310438632965088, 0.45947015285491943, -0.05223359912633896, 0.8645667433738708, 0.9283567070960999, -0.36472293734550476, -0.2621574103832245, -0.5573897361755371, -0.36574772000312805, -0.4936777949333191, 0.3338400721549988, -0.39512842893600464, -0.9226258397102356, 0.7243019342422485, 0.371134877204895, 0.22947266697883606, 0.6990674138069153, 0.7490601539611816, -0.33694911003112793, 1.0896406173706055, 0.7926918268203735, -0.11617696285247803, 0.7792586088180542, -0.6839850544929504, 0.1732223629951477, -0.666201651096344, -0.11701994389295578, -0.4001741111278534, -0.21506892144680023, -0.6533228754997253, -0.31852757930755615, 0.30359041690826416, 0.19954736530780792, -0.3089234530925751, 0.6838654279708862, -0.6559672355651855, -0.026035645976662636, 0.9073891639709473, 0.36124634742736816, -0.30384933948516846, 0.4019051790237427, -0.4100227355957031, 0.11641937494277954, -0.8663646578788757, -0.35019591450691223, 1.238633632659912, 0.44030505418777466, 0.31571224331855774, 0.14847546815872192, 0.7615996599197388, 0.1839534342288971, 0.17492850124835968, -0.8001970052719116, 0.49588218331336975, -0.14017343521118164, -0.9863570928573608, -0.13190673291683197, -0.34371837973594666, -0.9940915703773499, 0.28866592049598694, -0.1713302582502365, -0.7911062836647034, 0.15056520700454712, -0.12180722504854202, -0.3798682391643524, 0.2763766646385193, -0.8046514391899109, 1.028597116470337, -0.29628369212150574, -0.17421147227287292, -0.1973176896572113, -0.7960911393165588, 0.08593237400054932, 0.1560443788766861, -0.07420264184474945, -0.08918935060501099, 0.3248879909515381, 0.896931529045105, -0.6244215369224548, 0.891324520111084, -0.18963605165481567, -0.11130333691835403, 0.43310976028442383, -0.1343582570552826, 0.3732084035873413, -0.250735342502594, -0.06140535697340965, 0.6995424032211304, 0.20640169084072113, -0.5858474373817444, -0.22741615772247314, 0.5233114957809448, -1.043847918510437, -0.38756269216537476, -0.6664505004882812, -0.5324768424034119, -0.10162318497896194, 0.366434246301651, 0.4661185145378113, 0.19845885038375854, -0.0792502611875534, 0.41975587606430054, 0.6121230125427246, -0.4454182982444763, 0.5913475751876831, 0.6799854636192322, -0.09116442501544952, -0.38713279366493225, 0.6892307996749878, 0.08495737612247467, -0.08126211166381836, 0.05151621624827385, -0.055839892476797104, -0.5015717148780823, -0.5027615427970886, -0.5317299962043762, 0.4213449954986572, -0.7338932752609253, -0.21428222954273224, -0.7351976633071899, -0.44313350319862366, -0.590437114238739, 0.03728846460580826, -0.29255542159080505, -0.4184921681880951, -0.3074004352092743, -0.33116474747657776, 0.7447983026504517, 0.3824145793914795, -0.23954160511493683, 0.43815499544143677, -0.7764630317687988, 0.27634772658348083, 0.08181094378232956, 0.5014861822128296, -0.21213029325008392, -0.6641525030136108, -0.2359272837638855, 0.171060711145401, -0.37828949093818665, -0.7198200821876526, 0.5350407958030701, 0.003890395164489746, 0.5983420610427856, 0.25638681650161743, 0.05557124689221382, 0.5654885768890381, -0.5221645832061768, 0.8766438364982605, 0.13809168338775635, -0.985562801361084, 0.3980478048324585, -0.5190837979316711, 0.06877920776605606, 0.2449987381696701, 0.4238961338996887, -0.42467010021209717, -0.1493716537952423, -1.0268181562423706, -1.1926591396331787, 1.0238500833511353, 0.37624719738960266, 0.29432758688926697, 0.012745676562190056, 0.17582592368125916, 0.000038823029171908274, 0.26403534412384033, -0.8675796985626221, -0.3638748824596405, -0.3933834433555603, -0.3321797847747803, -0.14455370604991913, -0.2647155523300171, -0.3324679136276245, -0.5124015808105469, 1.0199803113937378, 0.0406298004090786, 0.6434169411659241, 0.31276407837867737, -0.14977507293224335, -0.022302065044641495, 0.021025625988841057, 0.42219722270965576, 0.3841826617717743, -0.43939873576164246, -0.3614472448825836, 0.10506496578454971, -0.25976550579071045, -0.32466286420822144, 0.6901372075080872, -0.3035297989845276, 0.3002104163169861, 0.3354143500328064, 1.0337167978286743, 0.1509765237569809, -0.6305372714996338, 0.46137264370918274, -0.08216346800327301, -0.497587114572525, -0.5701093673706055, -0.11081245541572571, 0.24994546175003052, 0.4377547800540924, 0.37775421142578125, -0.22167664766311646, -0.055017244070768356, -0.3538372814655304, 0.28950029611587524, 0.4962122142314911, -0.291662335395813, -0.26204997301101685, 0.5371010303497314, 0.1678454428911209, -0.13463455438613892, 0.9102512001991272, -0.1096426248550415, -0.7450475096702576, 0.7648144960403442, 0.3395490348339081, 0.9623634219169617, 0.14292749762535095, 0.30199310183525085, 0.47263842821121216, 0.3436284363269806, -0.04435649886727333, 0.4679439961910248, -0.07304445654153824, -0.9458606839179993, -0.23708009719848633, -0.847111165523529, -0.20195449888706207, 0.36683741211891174, -0.6583535075187683, 0.311665803194046, -0.3235105872154236, -0.3625452220439911, 0.1258951723575592, 0.16711033880710602, -0.8642164468765259, 0.16107232868671417, 0.16317106783390045, 0.8010318875312805, -0.6628021597862244, 0.9957568049430847, 0.669046938419342, -0.6949653625488281, -0.8175415992736816, -0.24473567306995392, -0.2275463342666626, -0.8361606001853943, 0.4683436453342438, 0.136692076921463, 0.27776047587394714, 0.03933761641383171, -0.6450603604316711, -0.9638962745666504, 1.143014907836914, 0.276231586933136, -0.23148871958255768, -0.03486059233546257, 0.001193454023450613, 0.747110903263092, -0.139314204454422, 0.2816201448440552, 0.5281834602355957, 0.2981152832508087, 0.10083674639463425, -0.7242063283920288, 0.059649333357810974, -0.44004786014556885, -0.08827512711286545, 0.11817142367362976, -0.6775208115577698, 0.8981942534446716, -0.1663413941860199, -0.1592138260602951, 0.1907602846622467, 0.7356231212615967, 0.3774172365665436, -0.13487373292446136, 0.4654594659805298, 0.7869148254394531, 0.5410873889923096, -0.32319238781929016, 1.2102419137954712, -0.5868536233901978, 0.7181687951087952, 0.803706705570221, 0.04014373943209648, 0.8349552154541016, 0.3961365222930908, -0.3745489716529846, 0.7200389504432678, 0.9106639623641968, -0.5254236459732056, 0.4379268288612366, 0.12248656153678894, -0.07508064806461334, -0.17712624371051788, 0.1303514689207077, -0.5568689107894897, 0.33685779571533203, 0.31315934658050537, -0.5132470726966858, -0.1791294515132904, -0.2244255244731903, 0.20441307127475739, -0.48694756627082825, 0.045152697712183, 0.5957164764404297, -0.05120765417814255, -0.5531712770462036, 0.7587897777557373, 0.16235888004302979, 0.8475334644317627, -0.7665291428565979, 0.21716317534446716, -0.15398333966732025, 0.300636887550354, -0.04626357927918434, -0.67155522108078, 0.16951923072338104, 0.002218939596787095, -0.13780270516872406, -0.4046097695827484, 0.5934762954711914, -0.3546918034553528, -0.7513806223869324, 0.4729592800140381, 0.5611337423324585, 0.26873812079429626, 0.13630548119544983, -1.1728333234786987, -0.10480263829231262, 0.021427586674690247, -0.5894353985786438, 0.3113175332546234, 0.3342270851135254, 0.2350923717021942, 0.713067889213562, 0.811536967754364, -0.14926421642303467, 0.15759238600730896, 0.1431659311056137, 0.7880749106407166, -0.5853408575057983, -0.44228455424308777, -0.5321862101554871, 0.7900936007499695, -0.05542493984103203, -0.40464532375335693, 0.7332543134689331, 0.4198421537876129, 1.0619961023330688, -0.2357121855020523, 0.8653284907341003, -0.4888152778148651, 0.4513372480869293, -0.3167058825492859, 0.9719560742378235, -0.7357916235923767, -0.0786706805229187, -0.3322346806526184, -0.7083165645599365, -0.11603953689336777, 0.9474743604660034, -0.21745815873146057, 0.2789326012134552, 0.5570516586303711, 0.702578604221344, 0.000528668868355453, -0.07913918048143387, -0.08042845875024796, 0.36360108852386475, 0.30160626769065857, 0.33560454845428467, 0.35837307572364807, -0.7320882081985474, 0.6536338925361633, -0.7326759099960327, 0.003926077391952276, -0.3438143730163574, -0.8231877088546753, -1.0255959033966064, -0.6961070895195007, -0.4356022775173187, -0.6571052670478821, -0.09825584292411804, 0.9196708798408508, 0.8949956297874451, -0.9231505393981934, -0.30616408586502075, -0.2579030394554138, 0.009915405884385109, -0.30199575424194336, -0.30214300751686096, 0.6898441314697266, -0.31582096219062805, -0.9399877190589905, 0.2080492377281189, -0.31163710355758667, 0.3789167106151581, -0.1931959092617035, -0.02321706712245941, -0.274528443813324, 0.06656428426504135, 0.5975759625434875, 0.31446436047554016, -0.7777771353721619, -0.2768317759037018, 0.04908149689435959, -0.15823377668857574, 0.012029770761728287, 0.4756281077861786, -0.5512451529502869, 0.27383890748023987, 0.602994441986084, 0.362822026014328, 0.8058245778083801, -0.28998273611068726, 0.6184833645820618, -0.7545874714851379, 0.42049363255500793, 0.2220805287361145, 0.741050660610199, 0.4261043071746826, -0.09491648524999619, 0.6290467381477356, 0.05800089240074158, -0.48441800475120544, -0.887140154838562, 0.03859662264585495, -1.1399879455566406, -0.5055748820304871, 1.0337568521499634, -0.31436553597450256, -0.29021480679512024, 0.3360813558101654, -0.1292673796415329, 0.655617356300354, -0.4255734086036682, 1.0351632833480835, 1.0276433229446411, -0.06314494460821152, -0.10097859054803848, -0.4639096260070801, 0.5660173892974854, 0.7060270309448242, -0.5773239135742188, -0.14350445568561554, 0.5231760144233704, 0.4354943037033081, 0.14493097364902496, 0.2779344916343689, -0.19493333995342255, 0.17607349157333374, -0.09452890604734421, 0.6570386290550232, 0.04182277247309685, -0.10841771960258484, -0.34510666131973267, -0.08543761819601059, -0.47436150908470154, -0.15924207866191864 ]
trl-internal-testing/tiny-random-BlenderbotSmallForConditionalGeneration
trl-internal-testing
2023-01-20T14:14:16Z
14,994
0
transformers
[ "transformers", "pytorch", "blenderbot-small", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:14:12Z
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 ]
google/bert_uncased_L-4_H-256_A-4
google
2021-05-19T17:30:27Z
14,972
1
transformers
[ "transformers", "pytorch", "jax", "bert", "arxiv:1908.08962", "license:apache-2.0", "endpoints_compatible", "region:us" ]
null
2022-03-02T23:29:05Z
--- thumbnail: https://huggingface.co/front/thumbnails/google.png license: apache-2.0 --- BERT Miniatures === This is the set of 24 BERT models referenced in [Well-Read Students Learn Better: On the Importance of Pre-training Compact Models](https://arxiv.org/abs/1908.08962) (English only, uncased, trained with WordPiece masking). We have shown that the standard BERT recipe (including model architecture and training objective) is effective on a wide range of model sizes, beyond BERT-Base and BERT-Large. The smaller BERT models are intended for environments with restricted computational resources. They can be fine-tuned in the same manner as the original BERT models. However, they are most effective in the context of knowledge distillation, where the fine-tuning labels are produced by a larger and more accurate teacher. Our goal is to enable research in institutions with fewer computational resources and encourage the community to seek directions of innovation alternative to increasing model capacity. You can download the 24 BERT miniatures either from the [official BERT Github page](https://github.com/google-research/bert/), or via HuggingFace from the links below: | |H=128|H=256|H=512|H=768| |---|:---:|:---:|:---:|:---:| | **L=2** |[**2/128 (BERT-Tiny)**][2_128]|[2/256][2_256]|[2/512][2_512]|[2/768][2_768]| | **L=4** |[4/128][4_128]|[**4/256 (BERT-Mini)**][4_256]|[**4/512 (BERT-Small)**][4_512]|[4/768][4_768]| | **L=6** |[6/128][6_128]|[6/256][6_256]|[6/512][6_512]|[6/768][6_768]| | **L=8** |[8/128][8_128]|[8/256][8_256]|[**8/512 (BERT-Medium)**][8_512]|[8/768][8_768]| | **L=10** |[10/128][10_128]|[10/256][10_256]|[10/512][10_512]|[10/768][10_768]| | **L=12** |[12/128][12_128]|[12/256][12_256]|[12/512][12_512]|[**12/768 (BERT-Base)**][12_768]| Note that the BERT-Base model in this release is included for completeness only; it was re-trained under the same regime as the original model. Here are the corresponding GLUE scores on the test set: |Model|Score|CoLA|SST-2|MRPC|STS-B|QQP|MNLI-m|MNLI-mm|QNLI(v2)|RTE|WNLI|AX| |---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| |BERT-Tiny|64.2|0.0|83.2|81.1/71.1|74.3/73.6|62.2/83.4|70.2|70.3|81.5|57.2|62.3|21.0| |BERT-Mini|65.8|0.0|85.9|81.1/71.8|75.4/73.3|66.4/86.2|74.8|74.3|84.1|57.9|62.3|26.1| |BERT-Small|71.2|27.8|89.7|83.4/76.2|78.8/77.0|68.1/87.0|77.6|77.0|86.4|61.8|62.3|28.6| |BERT-Medium|73.5|38.0|89.6|86.6/81.6|80.4/78.4|69.6/87.9|80.0|79.1|87.7|62.2|62.3|30.5| For each task, we selected the best fine-tuning hyperparameters from the lists below, and trained for 4 epochs: - batch sizes: 8, 16, 32, 64, 128 - learning rates: 3e-4, 1e-4, 5e-5, 3e-5 If you use these models, please cite the following paper: ``` @article{turc2019, title={Well-Read Students Learn Better: On the Importance of Pre-training Compact Models}, author={Turc, Iulia and Chang, Ming-Wei and Lee, Kenton and Toutanova, Kristina}, journal={arXiv preprint arXiv:1908.08962v2 }, year={2019} } ``` [2_128]: https://huggingface.co/google/bert_uncased_L-2_H-128_A-2 [2_256]: https://huggingface.co/google/bert_uncased_L-2_H-256_A-4 [2_512]: https://huggingface.co/google/bert_uncased_L-2_H-512_A-8 [2_768]: https://huggingface.co/google/bert_uncased_L-2_H-768_A-12 [4_128]: https://huggingface.co/google/bert_uncased_L-4_H-128_A-2 [4_256]: https://huggingface.co/google/bert_uncased_L-4_H-256_A-4 [4_512]: https://huggingface.co/google/bert_uncased_L-4_H-512_A-8 [4_768]: https://huggingface.co/google/bert_uncased_L-4_H-768_A-12 [6_128]: https://huggingface.co/google/bert_uncased_L-6_H-128_A-2 [6_256]: https://huggingface.co/google/bert_uncased_L-6_H-256_A-4 [6_512]: https://huggingface.co/google/bert_uncased_L-6_H-512_A-8 [6_768]: https://huggingface.co/google/bert_uncased_L-6_H-768_A-12 [8_128]: https://huggingface.co/google/bert_uncased_L-8_H-128_A-2 [8_256]: https://huggingface.co/google/bert_uncased_L-8_H-256_A-4 [8_512]: https://huggingface.co/google/bert_uncased_L-8_H-512_A-8 [8_768]: https://huggingface.co/google/bert_uncased_L-8_H-768_A-12 [10_128]: https://huggingface.co/google/bert_uncased_L-10_H-128_A-2 [10_256]: https://huggingface.co/google/bert_uncased_L-10_H-256_A-4 [10_512]: https://huggingface.co/google/bert_uncased_L-10_H-512_A-8 [10_768]: https://huggingface.co/google/bert_uncased_L-10_H-768_A-12 [12_128]: https://huggingface.co/google/bert_uncased_L-12_H-128_A-2 [12_256]: https://huggingface.co/google/bert_uncased_L-12_H-256_A-4 [12_512]: https://huggingface.co/google/bert_uncased_L-12_H-512_A-8 [12_768]: https://huggingface.co/google/bert_uncased_L-12_H-768_A-12
[ -0.7697781920433044, -0.5091532468795776, 0.34401318430900574, 0.18879811465740204, -0.3408224284648895, -0.24346372485160828, -0.3449631333351135, -0.44848960638046265, 0.6289241909980774, -0.08775269240140915, -0.8770354986190796, -0.4407401382923126, -0.7479373216629028, -0.027604790404438972, -0.026633432134985924, 1.2364765405654907, 0.22399437427520752, -0.013071386143565178, -0.19661924242973328, -0.04343308135867119, -0.23332123458385468, -0.31375381350517273, -0.4198431670665741, -0.2628514766693115, 0.6738466024398804, 0.414607435464859, 0.9279095530509949, 0.6251875758171082, 0.561252772808075, 0.3939608931541443, -0.31006136536598206, 0.059681784361600876, -0.4192902147769928, -0.47119274735450745, 0.22166967391967773, -0.37575480341911316, -0.9300612807273865, 0.2695135474205017, 0.6058545112609863, 0.7874333262443542, -0.05350666493177414, 0.37971019744873047, 0.34952011704444885, 0.7230963706970215, -0.5430741906166077, 0.158802330493927, -0.2808977961540222, -0.09826868027448654, -0.11102310568094254, 0.1908872425556183, -0.28388360142707825, -0.7087674140930176, 0.3576377332210541, -0.8750191926956177, 0.2703467011451721, -0.16867795586585999, 1.3954620361328125, 0.11449603736400604, -0.26032283902168274, -0.3451303243637085, -0.295070081949234, 1.0522621870040894, -0.964433491230011, 0.3736932873725891, 0.39559388160705566, 0.016121473163366318, -0.14211057126522064, -0.7699453234672546, -0.5251075029373169, 0.08179369568824768, -0.4162270128726959, 0.40409114956855774, -0.23897138237953186, -0.03478509932756424, 0.3547423183917999, 0.4183462858200073, -0.6273133754730225, 0.08223363012075424, -0.5612739324569702, -0.26962029933929443, 0.8281201720237732, 0.06925038993358612, 0.2901149392127991, -0.06915497034788132, -0.42265644669532776, -0.3890944719314575, -0.3698103129863739, 0.3681298494338989, 0.3694746792316437, 0.1879875361919403, -0.5353376269340515, 0.46161949634552, 0.07691881060600281, 0.8229666352272034, 0.4925382733345032, -0.4592207372188568, 0.6146975755691528, -0.25329113006591797, -0.30667734146118164, -0.21172067523002625, 0.8303981423377991, 0.3861112892627716, 0.14644718170166016, 0.11921849846839905, -0.12015475332736969, -0.10231771320104599, 0.23602205514907837, -1.0353845357894897, -0.5557631254196167, 0.1131897047162056, -0.7274141907691956, -0.19469286501407623, 0.03372004255652428, -0.6992306709289551, 0.08338512480258942, -0.37248465418815613, 0.6190593242645264, -0.7839727997779846, 0.03433464467525482, 0.145524799823761, -0.1782950609922409, 0.27335551381111145, 0.4595634937286377, -0.9538901448249817, 0.2611525356769562, 0.4031057357788086, 0.5225666165351868, 0.14961396157741547, -0.25269368290901184, 0.11815379559993744, -0.03792038932442665, -0.4370771050453186, 0.6514570116996765, -0.38264554738998413, -0.29951125383377075, -0.19550244510173798, 0.21906352043151855, -0.313070684671402, -0.4024319052696228, 0.7259275913238525, -0.03660164400935173, 0.27474090456962585, -0.5155355334281921, -0.8874097466468811, -0.01659419573843479, 0.2610301077365875, -0.6904414296150208, 1.0469101667404175, 0.09175622463226318, -0.8304675817489624, 0.4072512984275818, -0.4237699508666992, -0.11907033622264862, -0.3683314323425293, -0.04897420480847359, -0.8765071034431458, -0.007366766221821308, 0.33622992038726807, 0.7172285318374634, -0.10357839614152908, -0.17040161788463593, -0.5274167060852051, -0.342279851436615, 0.1470993012189865, 0.07114796340465546, 1.0246201753616333, 0.15072466433048248, -0.2906669080257416, 0.09911541640758514, -0.9403458833694458, 0.36866727471351624, 0.4133802056312561, -0.4069962203502655, -0.03542247787117958, -0.42718786001205444, -0.13092130422592163, 0.3254837989807129, 0.657322883605957, -0.5487422347068787, 0.2595192790031433, -0.2215295284986496, 0.41129055619239807, 0.8840762376785278, -0.06858127564191818, 0.40459761023521423, -0.7825903296470642, 0.2872921824455261, 0.012789247557520866, 0.5036635398864746, 0.0018942290917038918, -0.6527484059333801, -0.9254642128944397, -0.623656690120697, 0.4378402829170227, 0.25301820039749146, -0.35533469915390015, 0.9424949288368225, -0.26058870553970337, -0.9464760422706604, -0.6279747486114502, 0.11676925420761108, 0.5728275775909424, 0.34960687160491943, 0.27324044704437256, -0.23120802640914917, -0.46787595748901367, -1.1523605585098267, -0.06172114610671997, -0.15721946954727173, -0.03455151244997978, 0.5434630513191223, 0.6836004257202148, -0.10772441327571869, 0.812962532043457, -0.6981233358383179, -0.28847774863243103, -0.06034823879599571, -0.055991727858781815, 0.4270414710044861, 0.8346275091171265, 1.0443696975708008, -0.8363505005836487, -0.6828124523162842, -0.3608711063861847, -0.6779787540435791, 0.31204262375831604, -0.1102270632982254, -0.21590517461299896, 0.1321803480386734, 0.28050845861434937, -0.9336708188056946, 0.6243236064910889, 0.5604706406593323, -0.4435669481754303, 0.8606935739517212, -0.524824857711792, -0.037756092846393585, -0.9431630373001099, 0.2325579971075058, 0.09188558906316757, -0.08658143877983093, -0.5118984580039978, -0.0384901762008667, 0.22440935671329498, 0.16605815291404724, -0.4202671945095062, 0.5557547807693481, -0.667469322681427, 0.0037863696925342083, 0.1807613968849182, 0.09667859226465225, 0.101036436855793, 0.7297024130821228, -0.0740603655576706, 0.7475472688674927, 0.5097461342811584, -0.3147963583469391, 0.11611008644104004, 0.5164768695831299, -0.4643315076828003, 0.4350035488605499, -0.835238516330719, 0.08061713725328445, 0.027626778930425644, 0.4120260179042816, -1.1758248805999756, -0.41779065132141113, 0.07376668602228165, -0.8150233626365662, 0.5439755916595459, 0.016989074647426605, -0.5315950512886047, -0.7108951210975647, -0.6796277761459351, 0.1701059192419052, 0.8399853706359863, -0.5769923329353333, 0.36051133275032043, 0.2474784106016159, -0.07229048758745193, -0.5159360766410828, -0.5292489528656006, -0.4614597260951996, -0.2617321014404297, -0.7341054677963257, 0.6068645119667053, -0.4672601819038391, 0.2199544906616211, 0.10514495521783829, -0.1991581916809082, -0.2550506591796875, 0.022623853757977486, 0.2665558159351349, 0.49082210659980774, -0.23679058253765106, 0.055392809212207794, -0.06999420374631882, 0.15571506321430206, 0.013993481174111366, 0.06489457935094833, 0.5090194344520569, -0.46531885862350464, 0.048246074467897415, -0.7650940418243408, 0.09078215062618256, 0.5614281296730042, -0.0800953358411789, 1.0474785566329956, 0.9055407047271729, -0.43185141682624817, 0.05741085857152939, -0.6384073495864868, -0.45250967144966125, -0.5449854731559753, -0.12936045229434967, -0.49986326694488525, -0.9402053356170654, 0.7624486684799194, 0.03804395720362663, 0.21840158104896545, 0.6984111070632935, 0.58986896276474, -0.34055832028388977, 1.0667061805725098, 0.6318634152412415, -0.20921297371387482, 0.4909839332103729, -0.6588461995124817, 0.05963032692670822, -0.8807990550994873, -0.3112812638282776, -0.3321380615234375, -0.5713286995887756, -0.6700060963630676, -0.23832081258296967, 0.39071932435035706, 0.36227869987487793, -0.477192223072052, 0.6358669996261597, -0.6904083490371704, 0.3217061758041382, 0.7670632600784302, 0.5900763869285583, -0.3006514608860016, -0.24108059704303741, -0.3163219690322876, -0.24072284996509552, -0.8184281587600708, -0.2945038676261902, 1.1503798961639404, 0.36238256096839905, 0.5953079462051392, 0.12947548925876617, 0.8798275589942932, 0.07619893550872803, -0.05210034176707268, -0.7416688203811646, 0.6400158405303955, -0.11092156171798706, -1.0785126686096191, -0.4538591504096985, -0.3521188795566559, -1.127261757850647, 0.13680370151996613, -0.5492409467697144, -0.9501494765281677, 0.22717365622520447, 0.26479047536849976, -0.6618233323097229, 0.275825172662735, -0.8406098484992981, 0.9393753409385681, -0.04525575041770935, -0.4761393666267395, -0.03618825599551201, -0.9690922498703003, 0.3745495080947876, -0.002924421802163124, 0.09017422050237656, -0.09527987241744995, 0.17210960388183594, 1.012856364250183, -0.7059779167175293, 0.9891597032546997, -0.17358805239200592, 0.06506727635860443, 0.49887147545814514, -0.11728106439113617, 0.6375909447669983, -0.030834369361400604, 0.12192525714635849, -0.1135864108800888, 0.16692346334457397, -0.7962663173675537, -0.42648744583129883, 0.744841456413269, -1.0361627340316772, -0.5164592266082764, -0.4671834409236908, -0.6561629176139832, -0.313012957572937, 0.3699694573879242, 0.5752363801002502, 0.4954172968864441, 0.08004404604434967, 0.5093563795089722, 0.8781445622444153, -0.17598150670528412, 0.47872474789619446, 0.20009225606918335, 0.1601039320230484, -0.32785120606422424, 0.9381014704704285, 0.20430441200733185, 0.11856643110513687, 0.14504052698612213, 0.2820743918418884, -0.3211841285228729, -0.4623781740665436, -0.12137382477521896, 0.7048101425170898, -0.4492771327495575, -0.16605974733829498, -0.5958268642425537, -0.3042023479938507, -0.7179977893829346, -0.4855130612850189, -0.576457142829895, -0.6133092045783997, -0.5947602391242981, -0.05037766695022583, 0.3393062949180603, 0.6226103901863098, -0.2936333119869232, 0.29222607612609863, -0.8696603178977966, 0.2721731960773468, 0.5415753722190857, 0.33275195956230164, -0.13492748141288757, -0.5623737573623657, -0.25499147176742554, -0.0012606056407094002, -0.453706294298172, -0.6968618035316467, 0.42321598529815674, 0.27383995056152344, 0.7084900140762329, 0.5876415967941284, 0.02819954790174961, 1.0756701231002808, -0.5788625478744507, 0.9372065663337708, 0.663595974445343, -0.823759913444519, 0.5826322436332703, -0.4877707362174988, 0.23155172169208527, 0.5189018249511719, 0.6241964101791382, -0.030835988000035286, -0.10637357831001282, -1.164402723312378, -0.7614551782608032, 0.8144616484642029, 0.35047075152397156, 0.02368413843214512, 0.016710054129362106, 0.4011504650115967, -0.04295497015118599, 0.16004882752895355, -0.609093427658081, -0.6701853275299072, -0.1006433367729187, -0.2701196074485779, -0.14961682260036469, -0.43946966528892517, -0.19856314361095428, -0.6852951049804688, 0.8280342221260071, -0.10023032873868942, 0.6753532290458679, 0.12534713745117188, 0.16568432748317719, 0.06103134900331497, -0.08999467641115189, 0.7028171420097351, 0.7991623878479004, -0.6623218655586243, -0.35168418288230896, 0.12891946732997894, -0.6339622735977173, -0.17688456177711487, 0.264392614364624, -0.00942913256585598, 0.06284046173095703, 0.5350558161735535, 0.7707613110542297, 0.42091476917266846, -0.5257256031036377, 0.7562982439994812, -0.010219985619187355, -0.4478250741958618, -0.5224445462226868, 0.03110821545124054, 0.13463842868804932, 0.4198724925518036, 0.11345832049846649, -0.004951607435941696, 0.15055468678474426, -0.6612477898597717, 0.3210737407207489, 0.4534803628921509, -0.5418699979782104, -0.4615057110786438, 0.6519944071769714, 0.0768761932849884, 0.16551175713539124, 0.48352524638175964, -0.16698028147220612, -0.5665022134780884, 0.7201210260391235, 0.5057118535041809, 0.5122047662734985, -0.28916993737220764, 0.2025853842496872, 0.9104715585708618, 0.2438572347164154, -0.01428185310214758, 0.3594282567501068, 0.06035734713077545, -0.5926898121833801, 0.010847873985767365, -0.6804038882255554, -0.2298690229654312, 0.3162086606025696, -1.0703613758087158, 0.16965657472610474, -0.6539941430091858, -0.5030278563499451, 0.31074291467666626, 0.455496221780777, -0.9146892428398132, 0.5947589874267578, 0.268401175737381, 1.0651464462280273, -0.7314679026603699, 1.0682138204574585, 0.9191661477088928, -0.35416388511657715, -1.0911054611206055, -0.15253323316574097, 0.12095151096582413, -0.9062339663505554, 0.5932012796401978, 0.026445552706718445, 0.3986293375492096, -0.02593763917684555, -0.6371393799781799, -1.092323660850525, 1.3995373249053955, 0.2853735089302063, -0.5697587728500366, -0.2713835537433624, -0.13517175614833832, 0.47530561685562134, -0.14991861581802368, 0.37568846344947815, 0.596319317817688, 0.40651780366897583, 0.16481547057628632, -1.078084945678711, 0.1335548311471939, -0.4536338150501251, 0.03633880615234375, 0.23986504971981049, -1.2047910690307617, 1.3068628311157227, -0.3506123423576355, 0.053007133305072784, 0.193793386220932, 0.6246463656425476, 0.6347135305404663, 0.06532970815896988, 0.567281186580658, 0.9335079789161682, 0.6576080918312073, -0.283325731754303, 1.0887333154678345, -0.2658059000968933, 0.67401123046875, 1.0078518390655518, 0.3630715012550354, 0.7136314511299133, 0.37984204292297363, -0.4407676160335541, 0.4677022695541382, 0.8230388164520264, -0.14837221801280975, 0.6028281450271606, 0.2127828449010849, 0.02671523578464985, -0.5370093584060669, 0.156723752617836, -0.5437248945236206, 0.20918595790863037, 0.5187709331512451, -0.2889440655708313, -0.1320330649614334, -0.21431352198123932, 0.3252827525138855, -0.09005890786647797, -0.25054633617401123, 0.6475417613983154, 0.0000469459846499376, -0.37402787804603577, 0.791662335395813, -0.3089040219783783, 0.7460336089134216, -0.7364146709442139, 0.18759362399578094, -0.1405409574508667, 0.423737496137619, -0.1593865156173706, -0.9050692915916443, 0.03952394053339958, -0.09030020982027054, -0.18481214344501495, -0.0664077028632164, 0.6758240461349487, -0.22439458966255188, -0.6617053151130676, 0.28534290194511414, 0.33880752325057983, 0.22466401755809784, 0.19893525540828705, -1.1870005130767822, 0.19256959855556488, 0.06855496019124985, -0.6329571008682251, 0.44672319293022156, 0.4564618170261383, 0.23621921241283417, 0.6128001809120178, 0.6117689609527588, -0.167636439204216, 0.404947429895401, -0.30035167932510376, 1.164957880973816, -0.47918397188186646, -0.4225281774997711, -0.5962805151939392, 0.6423810124397278, -0.1622304618358612, -0.5065996050834656, 1.0148125886917114, 0.6379625797271729, 0.9393072128295898, -0.26603662967681885, 0.6082547903060913, -0.2569523751735687, 0.7160230875015259, -0.4104382395744324, 0.8223603963851929, -0.9838980436325073, -0.19512398540973663, -0.4112042188644409, -0.8213514089584351, -0.23093529045581818, 0.8077048659324646, -0.28817078471183777, 0.16866178810596466, 0.4430917501449585, 0.46764880418777466, 0.0019065095111727715, -0.19004973769187927, 0.1370210200548172, 0.2590388059616089, 0.22074973583221436, 0.9242613911628723, 0.4458042085170746, -0.7551154494285583, 0.4770895838737488, -0.8420135974884033, -0.22424161434173584, -0.4661310017108917, -0.5876172780990601, -1.2175726890563965, -0.7391831874847412, -0.42972469329833984, -0.2777763605117798, -0.08906827121973038, 1.0337101221084595, 1.0242363214492798, -0.7908274531364441, -0.11892973631620407, 0.2660982608795166, -0.17908808588981628, -0.18557442724704742, -0.1979401856660843, 0.6914989948272705, -0.1835584193468094, -0.9568713307380676, 0.034870315343141556, -0.23314516246318817, 0.42278164625167847, 0.24215485155582428, -0.200813427567482, -0.39133790135383606, 0.24664615094661713, 0.6062119007110596, 0.25807270407676697, -0.6662593483924866, -0.45833620429039, 0.02015072852373123, -0.17156285047531128, -0.021144945174455643, 0.20739281177520752, -0.559431254863739, 0.2454194575548172, 0.45395195484161377, 0.34525826573371887, 0.7250270843505859, 0.04638519883155823, 0.03756793960928917, -0.8181014657020569, 0.2836077809333801, 0.23933418095111847, 0.5257237553596497, 0.08705941587686539, -0.20864754915237427, 0.69753497838974, 0.28857091069221497, -0.7300916910171509, -1.035574197769165, -0.13939930498600006, -1.442996621131897, -0.2970767021179199, 0.8321974277496338, -0.46877530217170715, -0.5194071531295776, 0.5331423878669739, -0.1492050290107727, 0.2720738351345062, -0.4525987505912781, 0.6924436688423157, 0.7218514680862427, -0.23442229628562927, -0.1534985899925232, -0.4600212275981903, 0.6392109394073486, 0.4532071650028229, -0.707482635974884, -0.3531135320663452, 0.41519129276275635, 0.39327773451805115, 0.5196123719215393, 0.49387508630752563, -0.22090207040309906, 0.26153236627578735, 0.08984006941318512, 0.08148951083421707, 0.15984418988227844, -0.3723398447036743, -0.0035199779085814953, -0.17451085150241852, -0.27194419503211975, -0.48429617285728455 ]
trl-internal-testing/tiny-random-LEDForConditionalGeneration
trl-internal-testing
2023-01-20T14:14:29Z
14,972
0
transformers
[ "transformers", "pytorch", "led", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:14:25Z
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 ]
trl-internal-testing/tiny-random-FSMTForConditionalGeneration
trl-internal-testing
2023-01-20T14:14:22Z
14,967
0
transformers
[ "transformers", "pytorch", "fsmt", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:14: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 ]
trl-internal-testing/tiny-random-M2M100ForConditionalGeneration
trl-internal-testing
2023-01-20T14:14:42Z
14,952
0
transformers
[ "transformers", "pytorch", "m2m_100", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:14:38Z
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 ]
trl-internal-testing/tiny-random-MvpForConditionalGeneration
trl-internal-testing
2023-01-20T14:16:09Z
14,951
0
transformers
[ "transformers", "pytorch", "mvp", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:16:06Z
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 ]
trl-internal-testing/tiny-random-LongT5ForConditionalGeneration
trl-internal-testing
2023-01-20T14:14:35Z
14,947
0
transformers
[ "transformers", "pytorch", "longt5", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:14:32Z
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 ]
adalbertojunior/distilbert-portuguese-cased
adalbertojunior
2023-03-22T21:55:11Z
14,943
10
transformers
[ "transformers", "pytorch", "safetensors", "bert", "feature-extraction", "pt", "endpoints_compatible", "has_space", "region:us" ]
feature-extraction
2022-03-02T23:29:05Z
--- language: - pt --- This model was distilled from [BERTimbau](https://huggingface.co/neuralmind/bert-base-portuguese-cased) ## Usage ```python from transformers import AutoTokenizer # Or BertTokenizer from transformers import AutoModelForPreTraining # Or BertForPreTraining for loading pretraining heads from transformers import AutoModel # or BertModel, for BERT without pretraining heads model = AutoModelForPreTraining.from_pretrained('adalbertojunior/distilbert-portuguese-cased') tokenizer = AutoTokenizer.from_pretrained('adalbertojunior/distilbert-portuguese-cased', do_lower_case=False) ``` You should fine tune it on your own data. It can achieve accuracy up to 99% relative to the original BERTimbau in some tasks.
[ -0.18608418107032776, -0.5116205811500549, 0.23511947691440582, 0.38968518376350403, -0.4287308156490326, -0.19876301288604736, -0.23226498067378998, -0.007277014199644327, 0.23788093030452728, 0.2819548547267914, -0.8123365640640259, -0.44185084104537964, -0.8006262183189392, 0.03275968134403229, -0.3788035213947296, 1.1324892044067383, 0.05425666645169258, 0.6136802434921265, 0.015969570726156235, -0.16683092713356018, -0.28164440393447876, -0.7402852773666382, -0.6462455987930298, -0.6006832718849182, 0.29474568367004395, 0.01877741701900959, 0.2977535128593445, 0.40340375900268555, 0.37515023350715637, 0.4321037530899048, -0.06521536409854889, -0.21322843432426453, -0.5423617959022522, -0.19773316383361816, -0.12338723242282867, -0.6746394038200378, -0.4833065867424011, 0.003980779554694891, 0.13271285593509674, 0.5240021347999573, -0.3727009892463684, 0.19579529762268066, 0.1307429075241089, 0.47505852580070496, -0.12511000037193298, 0.45576128363609314, -0.7664526700973511, -0.0983683317899704, 0.053030505776405334, -0.022320851683616638, -0.34800395369529724, -0.12919628620147705, 0.3294152617454529, -0.5684665441513062, 0.5878266096115112, -0.42726096510887146, 1.1975685358047485, 0.7418162822723389, -0.24225658178329468, -0.179345041513443, -0.47430574893951416, 0.7743362784385681, -0.6999080181121826, 0.2294924110174179, 0.45419198274612427, 0.5365779399871826, -0.24873457849025726, -0.8753917217254639, -0.4400325119495392, -0.19609732925891876, 0.054544538259506226, -0.04336392879486084, -0.28982746601104736, -0.061735399067401886, 0.46457499265670776, 0.2216503918170929, -0.2568920850753784, -0.10830458253622055, -0.6655069589614868, -0.32405582070350647, 0.6820582151412964, -0.26154857873916626, 0.0290667861700058, 0.012982583604753017, -0.31225553154945374, -0.4781457185745239, -0.45818015933036804, -0.03960778936743736, 0.4450208842754364, 0.39288783073425293, -0.0023910491727292538, 0.5320587754249573, -0.2794674336910248, 0.9265165328979492, 0.5129067301750183, -0.1550995111465454, 0.7332689166069031, 0.11480507254600525, -0.2931029796600342, 0.07171082496643066, 0.5705633163452148, 0.044257089495658875, 0.7283621430397034, -0.08892342448234558, -0.4166785180568695, -0.23021501302719116, 0.574796199798584, -0.8898876905441284, -0.8590294122695923, 0.14931486546993256, -0.5064910054206848, -0.16740338504314423, 0.021733690053224564, -0.06662154942750931, 0.1631762832403183, -0.6496054530143738, 0.7891436815261841, -0.763424277305603, -0.06596478074789047, 0.0738050565123558, -0.19581978023052216, 0.22173385322093964, 0.16897264122962952, -0.9811699986457825, -0.07856766134500504, 0.3186839520931244, 0.6941848397254944, 0.06358464062213898, -0.18821227550506592, -0.0005916147492825985, -0.15865616500377655, -0.18606823682785034, 0.777867317199707, 0.18241198360919952, -0.4146413505077362, -0.13485144078731537, 0.28351593017578125, 0.01352496538311243, -0.5183257460594177, 0.6758069396018982, -0.4497789442539215, 0.13716460764408112, -0.0980071946978569, -0.5071824789047241, -0.3792170286178589, 0.34497207403182983, -0.696163535118103, 0.9885567426681519, 0.35777005553245544, -0.5566450953483582, 0.731301486492157, -0.6197117567062378, -0.7236269116401672, 0.0102169718593359, -0.09334932267665863, -0.6555294990539551, 0.20460328459739685, 0.4950445890426636, 0.3704131543636322, 0.2841131091117859, 0.3769783079624176, -0.2967471778392792, -0.32558169960975647, -0.0712149515748024, -0.4386671185493469, 1.3980858325958252, 0.1753031313419342, -0.2961459159851074, -0.11707961559295654, -0.9001150727272034, -0.06981807947158813, 0.05313990265130997, -0.303891658782959, -0.3628079295158386, -0.1569948047399521, 0.10693345218896866, 0.16219888627529144, 0.4753393828868866, -0.6219847202301025, 0.38527777791023254, -0.4827479124069214, 0.6515561938285828, 0.6193313598632812, -0.2752538323402405, 0.10780806839466095, -0.47385871410369873, 0.1626436561346054, 0.4000004827976227, 0.1243436336517334, 0.10129671543836594, -0.3708440065383911, -1.0407438278198242, -0.6437870264053345, 0.7565434575080872, 0.44631263613700867, -0.855808675289154, 0.9425309896469116, -0.28222227096557617, -0.8478443622589111, -0.568834125995636, -0.008749546483159065, 0.03551778197288513, 0.5224245190620422, 0.4775732457637787, -0.35962533950805664, -0.6304194927215576, -1.2173235416412354, -0.0353209488093853, -0.04852777719497681, -0.1850540190935135, 0.009732126258313656, 0.653633177280426, -0.4488953649997711, 1.106380820274353, -0.4227501153945923, -0.4682570993900299, 0.03356855362653732, 0.5539510250091553, 0.8787476420402527, 0.900084376335144, 0.9114242196083069, -0.4847685992717743, -0.5072744488716125, -0.4720594882965088, -0.5203459858894348, 0.0002595245314296335, 0.15698663890361786, -0.22098024189472198, 0.19088612496852875, 0.37264934182167053, -0.5256266593933105, 0.46782487630844116, 0.33299264311790466, -0.01638771779835224, 0.43042656779289246, -0.5865237712860107, -0.03437674045562744, -1.1882340908050537, 0.3590106666088104, 0.030831752344965935, -0.26577818393707275, -0.32142874598503113, -0.06768865883350372, 0.2086992710828781, 0.09745572507381439, -0.676009476184845, 0.3057098686695099, -0.43288883566856384, 0.13832730054855347, -0.24102281033992767, -0.5983263850212097, -0.1638929694890976, 0.7115110158920288, 0.33937308192253113, 0.68402498960495, 0.7487454414367676, -0.585674524307251, 0.643426775932312, 0.6470730304718018, -0.5499908328056335, 0.5358819961547852, -1.1377284526824951, 0.21524104475975037, -0.13257917761802673, 0.1555500477552414, -0.9721145033836365, -0.049214933067560196, 0.007571991067379713, -0.4085620045661926, 0.45471274852752686, -0.5152645111083984, -0.5083246231079102, -0.6635266542434692, 0.07427538186311722, 0.4248337745666504, 0.7451608777046204, -0.762724757194519, 0.8001058101654053, 0.4160305857658386, -0.04600779712200165, -0.6368586421012878, -0.9965782761573792, -0.22507356107234955, -0.1530645489692688, -0.480732262134552, 0.5105450749397278, -0.12158096581697464, 0.14041772484779358, -0.1525333821773529, -0.1428680270910263, -0.5372698903083801, -0.020961657166481018, 0.14363913238048553, 0.3924987316131592, -0.1079031378030777, 0.1039784848690033, 0.20944494009017944, -0.15173165500164032, 0.07766883820295334, -0.17505194246768951, 0.7622392177581787, 0.044726889580488205, -0.1778213530778885, -0.4224132001399994, -0.1916320025920868, 0.4360911250114441, 0.1245846301317215, 0.6200485825538635, 0.6621670126914978, -0.3691047430038452, -0.19286330044269562, -0.5847560167312622, -0.5088034272193909, -0.5246152877807617, 0.4306354820728302, -0.655514657497406, -0.3123234808444977, 0.43258175253868103, 0.12485532462596893, 0.10906898230314255, 0.6364861130714417, 0.7522161602973938, -0.27709656953811646, 1.0348550081253052, 0.7096631526947021, -0.3470676839351654, 0.503487765789032, -0.49234795570373535, -0.04707913473248482, -0.41505470871925354, -0.14795330166816711, -0.4417989253997803, -0.37009894847869873, -0.4000369608402252, -0.10678265988826752, 0.23824669420719147, -0.1153094545006752, -0.29038071632385254, 0.926008939743042, -0.6990534663200378, 0.33216071128845215, 1.0251941680908203, 0.4829736053943634, 0.03857499361038208, 0.2701355814933777, -0.2646598517894745, 0.027687160298228264, -0.7566124796867371, -0.3587521016597748, 1.435116171836853, 0.21949900686740875, 0.8931523561477661, -0.30916836857795715, 0.6932573914527893, 0.23381739854812622, 0.4381740987300873, -0.7007262706756592, 0.06532672047615051, -0.23752979934215546, -0.9734301567077637, -0.15391415357589722, -0.34034237265586853, -1.0130393505096436, 0.0847693681716919, -0.16879446804523468, -0.3681139349937439, 0.12617787718772888, 0.29277992248535156, -0.7283201217651367, -0.1690228134393692, -0.6718060970306396, 0.9569307565689087, -0.43346306681632996, 0.1544596403837204, -0.06248493120074272, -0.5447242856025696, 0.13972961902618408, -0.18596556782722473, -0.11859278380870819, -0.05806297808885574, 0.37202128767967224, 0.8515169024467468, -0.5856623649597168, 0.8580822348594666, -0.39568623900413513, -0.22667305171489716, 0.3792180120944977, -0.14155949652194977, 0.22961758077144623, -0.05552247539162636, -0.15585960447788239, 0.6640523076057434, 0.20600539445877075, -0.5059252381324768, -0.20030538737773895, 0.5569127202033997, -1.1521810293197632, -0.36069047451019287, -0.6219523549079895, -0.6158846616744995, -0.13342051208019257, 0.37504392862319946, 0.6477140188217163, 0.49222272634506226, -0.46724554896354675, 0.10327961295843124, 0.5580898523330688, -0.01074421126395464, 0.5491959452629089, 0.5001725554466248, 0.11762146651744843, -0.2668676972389221, 0.6290792226791382, 0.2454664707183838, -0.29087600111961365, 0.09137147665023804, -0.09306442737579346, -0.5418908596038818, -0.4402860105037689, -0.5558415651321411, 0.2412431389093399, -0.5149877071380615, -0.14633901417255402, -0.5567542910575867, -0.4296034276485443, -0.595147430896759, 0.2099134773015976, -0.4013793170452118, -0.43696603178977966, -0.44821932911872864, -0.06847982108592987, 0.41857752203941345, 0.3283218443393707, -0.39142316579818726, 0.782059907913208, -0.6892891526222229, 0.26518550515174866, 0.4611252546310425, 0.09616321325302124, -0.35115134716033936, -0.9521085619926453, -0.16120308637619019, 0.523568332195282, -0.2346723973751068, -0.568453311920166, 0.7440646886825562, 0.2962712347507477, 0.7714388966560364, 0.47194233536720276, -0.08544562757015228, 0.681122899055481, -0.7469332814216614, 0.4979257881641388, 0.11344022303819656, -0.9060413837432861, 0.6150792837142944, -0.24731381237506866, 0.25050610303878784, 0.9666380882263184, 0.7291918396949768, -0.03824617713689804, 0.023620855063199997, -0.9000275731086731, -0.8965738415718079, 0.7731815576553345, 0.2769092619419098, 0.1664506196975708, 0.0910523310303688, 0.40836861729621887, 0.278540700674057, 0.47100934386253357, -0.8564371466636658, -0.24052958190441132, -0.5340127944946289, -0.4817889630794525, -0.3062399625778198, -0.03080482967197895, -0.1859525889158249, -0.780204713344574, 1.1037336587905884, 0.030456535518169403, 0.39388617873191833, 0.0287349671125412, -0.5469957590103149, 0.23924028873443604, -0.6000382900238037, 0.5287359356880188, 0.7213262319564819, -0.42536672949790955, -0.14798755943775177, 0.23626376688480377, -0.5634693503379822, 0.18353860080242157, 0.3064793646335602, -0.18812516331672668, 0.399373322725296, 0.2340935468673706, 0.8193122148513794, -0.06990620493888855, -0.4711996018886566, 0.6031052470207214, -0.10762113332748413, -0.33217349648475647, -0.882363498210907, 0.1412292867898941, 0.04532856494188309, 0.1847667545080185, 0.4655035734176636, 0.15016542375087738, 0.031236236914992332, -0.34408289194107056, 0.48643550276756287, 0.4268399178981781, -0.5434554219245911, -0.15782873332500458, 0.6176907420158386, 0.3771250247955322, -0.32199686765670776, 0.9892948269844055, -0.1407088041305542, -0.5926045179367065, 0.8198961019515991, 0.26012131571769714, 0.7838912606239319, -0.13201691210269928, -0.053977884352207184, 0.737235426902771, 0.278128445148468, -0.3604758381843567, 0.3758619427680969, -0.1761239618062973, -1.0108439922332764, -0.45008426904678345, -0.8015521168708801, -0.09713812172412872, 0.16051222383975983, -0.8624609708786011, 0.45348060131073, -0.2765050530433655, -0.5232399702072144, 0.04339722543954849, -0.026762310415506363, -0.8820085525512695, 0.45475542545318604, 0.094252809882164, 1.0280890464782715, -0.8974344730377197, 1.2588268518447876, 0.5996588468551636, -0.5489216446876526, -0.6244994401931763, -0.2724558413028717, -0.4245785176753998, -1.358680009841919, 0.9728342890739441, 0.2991279661655426, 0.28007325530052185, 0.22777432203292847, -0.6442973017692566, -0.8573170304298401, 0.8947167992591858, 0.41306841373443604, -0.8878061771392822, -0.0444323755800724, 0.07673856616020203, 0.5015289187431335, -0.09863578528165817, 0.4945239722728729, 0.8407823443412781, 0.38165661692619324, 0.22947987914085388, -0.863169252872467, -0.4631044864654541, -0.3720507025718689, 0.03640215843915939, -0.09641628712415695, -0.46226766705513, 1.1586639881134033, -0.05844932049512863, 0.12727829813957214, 0.1645640879869461, 0.8683692216873169, 0.07282374799251556, -0.3697405457496643, 0.6472188830375671, 1.0054268836975098, 0.5261825919151306, -0.26153144240379333, 0.6670488119125366, -0.7755110263824463, 0.6894754767417908, 1.1524783372879028, 0.05688866972923279, 0.5451776385307312, 0.4186653792858124, -0.15783260762691498, 0.8118119835853577, 0.7883893251419067, -0.6096214652061462, 0.8491628170013428, 0.2898131310939789, -0.004678752738982439, -0.2559415102005005, 0.5872412323951721, -0.480337917804718, 0.696900486946106, 0.19449469447135925, -0.4486393630504608, -0.3397365212440491, 0.11270225048065186, 0.033985406160354614, -0.3249202370643616, -0.20207303762435913, 0.6414037346839905, -0.02996804006397724, -0.9732214212417603, 0.8465391993522644, 0.05044301971793175, 0.9829686284065247, -0.625831127166748, 0.18344371020793915, -0.09744973480701447, 0.4888802766799927, 0.11267492175102234, -0.4218907952308655, 0.3626652657985687, -0.14634355902671814, -0.09744763374328613, -0.2968669831752777, 0.5710616111755371, -0.6532597541809082, -0.9222851991653442, 0.06685252487659454, 0.4462788701057434, 0.4078081250190735, -0.3767382800579071, -1.056098461151123, -0.22127202153205872, 0.031117165461182594, -0.2938738465309143, 0.007966335862874985, 0.4236688017845154, 0.45291054248809814, 0.47819527983665466, 0.6550091505050659, 0.0258466899394989, -0.022974157705903053, 0.037020813673734665, 0.7077348232269287, -0.44354790449142456, -0.6647547483444214, -0.9602082371711731, 0.35754072666168213, -0.2605176568031311, -0.6135364770889282, 0.5695329904556274, 0.5879623293876648, 0.9553600549697876, -0.5026988983154297, 0.6718456745147705, -0.2456182986497879, 0.32063254714012146, -0.2896170914173126, 1.137099266052246, -0.4087241291999817, -0.39395344257354736, 0.014293433167040348, -0.9656914472579956, 0.03740168735384941, 1.3622045516967773, -0.09270573407411575, 0.1976696252822876, 0.46900129318237305, 0.8437973856925964, -0.24922947585582733, -0.2155880182981491, 0.20645686984062195, 0.4870948791503906, 0.01841423660516739, 0.5227932333946228, 0.45238471031188965, -0.5292496085166931, 0.4028569161891937, -0.719097375869751, -0.4488016366958618, -0.270993173122406, -1.0703558921813965, -1.23328697681427, -0.5669838786125183, -0.4961450397968292, -0.40476369857788086, -0.011003879830241203, 1.0493109226226807, 1.0763027667999268, -1.0734044313430786, -0.41129162907600403, -0.22324419021606445, -0.3935241997241974, -0.35309094190597534, -0.15136095881462097, 0.36535561084747314, -0.47698482871055603, -1.1208003759384155, 0.26969075202941895, -0.29204925894737244, 0.3910541236400604, -0.36202844977378845, 0.3477473855018616, -0.2345147281885147, 0.0711941197514534, 0.4086713194847107, 0.18086035549640656, -0.3586330711841583, -0.3084094822406769, -0.19989828765392303, -0.31090858578681946, 0.2511254549026489, 0.39355045557022095, -0.8605250120162964, 0.2428591102361679, 0.40000832080841064, 0.3935278058052063, 0.8757148385047913, -0.0593414343893528, 0.7329290509223938, -0.7586697340011597, 0.601005494594574, 0.19587770104408264, 0.79949951171875, 0.356693297624588, -0.11541436612606049, 0.6714438796043396, 0.42580679059028625, -0.45067328214645386, -0.5596615672111511, -0.18909035623073578, -1.1631603240966797, -0.3648659586906433, 0.9422304034233093, -0.19997839629650116, -0.7139595150947571, 0.12981705367565155, -0.49053940176963806, 0.6675114631652832, -0.34565073251724243, 1.1055344343185425, 0.723685622215271, 0.057979196310043335, 0.3303639888763428, -0.1649380922317505, 0.4190211296081543, 0.38475140929222107, -0.4748137593269348, -0.43215692043304443, 0.18644942343235016, 0.6168948411941528, 0.3053743243217468, 0.4355051815509796, -0.10474802553653717, 0.09000668674707413, 0.040972866117954254, 0.6848662495613098, -0.138756662607193, -0.29250389337539673, -0.15731771290302277, -0.1180642768740654, -0.23811860382556915, -0.5052531957626343 ]
TheBloke/zephyr-7B-beta-AWQ
TheBloke
2023-11-09T18:16:40Z
14,943
23
transformers
[ "transformers", "safetensors", "mistral", "text-generation", "generated_from_trainer", "en", "dataset:HuggingFaceH4/ultrachat_200k", "dataset:HuggingFaceH4/ultrafeedback_binarized", "arxiv:2305.18290", "arxiv:2310.16944", "base_model:HuggingFaceH4/zephyr-7b-beta", "license:mit", "text-generation-inference", "4-bit", "region:us" ]
text-generation
2023-10-27T13:16:11Z
--- base_model: HuggingFaceH4/zephyr-7b-beta datasets: - HuggingFaceH4/ultrachat_200k - HuggingFaceH4/ultrafeedback_binarized inference: false language: - en license: mit model-index: - name: zephyr-7b-beta results: [] model_creator: Hugging Face H4 model_name: Zephyr 7B Beta model_type: mistral prompt_template: '<|system|> </s> <|user|> {prompt}</s> <|assistant|> ' quantized_by: TheBloke tags: - generated_from_trainer --- <!-- markdownlint-disable MD041 --> <!-- 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 --> # Zephyr 7B Beta - AWQ - Model creator: [Hugging Face H4](https://huggingface.co/HuggingFaceH4) - Original model: [Zephyr 7B Beta](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta) <!-- description start --> ## Description This repo contains AWQ model files for [Hugging Face H4's Zephyr 7B Beta](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta). These files were quantised using hardware kindly provided by [Massed Compute](https://massedcompute.com/). ### About AWQ AWQ is an efficient, accurate and blazing-fast low-bit weight quantization method, currently supporting 4-bit quantization. Compared to GPTQ, it offers faster Transformers-based inference with equivalent or better quality compared to the most commonly used GPTQ settings. It is supported by: - [Text Generation Webui](https://github.com/oobabooga/text-generation-webui) - using Loader: AutoAWQ - [vLLM](https://github.com/vllm-project/vllm) - Llama and Mistral models only - [Hugging Face Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference) - [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) - for use from Python code <!-- description end --> <!-- repositories-available start --> ## Repositories available * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/zephyr-7B-beta-AWQ) * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/zephyr-7B-beta-GPTQ) * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/zephyr-7B-beta-GGUF) * [Hugging Face H4's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta) <!-- repositories-available end --> <!-- prompt-template start --> ## Prompt template: Zephyr ``` <|system|> </s> <|user|> {prompt}</s> <|assistant|> ``` <!-- prompt-template end --> <!-- README_AWQ.md-provided-files start --> ## Provided files, and AWQ parameters For my first release of AWQ models, I am releasing 128g models only. I will consider adding 32g as well if there is interest, and once I have done perplexity and evaluation comparisons, but at this time 32g models are still not fully tested with AutoAWQ and vLLM. Models are released as sharded safetensors files. | Branch | Bits | GS | AWQ Dataset | Seq Len | Size | | ------ | ---- | -- | ----------- | ------- | ---- | | [main](https://huggingface.co/TheBloke/zephyr-7B-beta-AWQ/tree/main) | 4 | 128 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 4.15 GB <!-- README_AWQ.md-provided-files end --> <!-- README_AWQ.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/zephyr-7B-beta-AWQ`. 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: `zephyr-7B-beta-AWQ` 7. Select **Loader: AutoAWQ**. 8. Click Load, and the model will load and is now ready for use. 9. 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. 10. Once you're ready, click the **Text Generation** tab and enter a prompt to get started! <!-- README_AWQ.md-text-generation-webui end --> <!-- README_AWQ.md-use-from-vllm start --> ## Multi-user inference server: vLLM Documentation on installing and using vLLM [can be found here](https://vllm.readthedocs.io/en/latest/). - Please ensure you are using vLLM version 0.2 or later. - When using vLLM as a server, pass the `--quantization awq` parameter. For example: ```shell python3 python -m vllm.entrypoints.api_server --model TheBloke/zephyr-7B-beta-AWQ --quantization awq ``` - When using vLLM from Python code, again set `quantization=awq`. For example: ```python from vllm import LLM, SamplingParams prompts = [ "Tell me about AI", "Write a story about llamas", "What is 291 - 150?", "How much wood would a woodchuck chuck if a woodchuck could chuck wood?", ] prompt_template=f'''<|system|> </s> <|user|> {prompt}</s> <|assistant|> ''' prompts = [prompt_template.format(prompt=prompt) for prompt in prompts] sampling_params = SamplingParams(temperature=0.8, top_p=0.95) llm = LLM(model="TheBloke/zephyr-7B-beta-AWQ", quantization="awq", dtype="auto") outputs = llm.generate(prompts, sampling_params) # Print the outputs. for output in outputs: prompt = output.prompt generated_text = output.outputs[0].text print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}") ``` <!-- README_AWQ.md-use-from-vllm start --> <!-- README_AWQ.md-use-from-tgi start --> ## Multi-user inference server: Hugging Face Text Generation Inference (TGI) Use TGI version 1.1.0 or later. The official Docker container is: `ghcr.io/huggingface/text-generation-inference:1.1.0` Example Docker parameters: ```shell --model-id TheBloke/zephyr-7B-beta-AWQ --port 3000 --quantize awq --max-input-length 3696 --max-total-tokens 4096 --max-batch-prefill-tokens 4096 ``` Example Python code for interfacing with TGI (requires [huggingface-hub](https://github.com/huggingface/huggingface_hub) 0.17.0 or later): ```shell pip3 install huggingface-hub ``` ```python from huggingface_hub import InferenceClient endpoint_url = "https://your-endpoint-url-here" prompt = "Tell me about AI" prompt_template=f'''<|system|> </s> <|user|> {prompt}</s> <|assistant|> ''' client = InferenceClient(endpoint_url) response = client.text_generation(prompt, max_new_tokens=128, do_sample=True, temperature=0.7, top_p=0.95, top_k=40, repetition_penalty=1.1) print(f"Model output: ", response) ``` <!-- README_AWQ.md-use-from-tgi end --> <!-- README_AWQ.md-use-from-python start --> ## Inference from Python code using AutoAWQ ### Install the AutoAWQ package Requires: [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) 0.1.1 or later. ```shell pip3 install autoawq ``` If you have problems installing [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) using the pre-built wheels, install it from source instead: ```shell pip3 uninstall -y autoawq git clone https://github.com/casper-hansen/AutoAWQ cd AutoAWQ pip3 install . ``` ### AutoAWQ example code ```python from awq import AutoAWQForCausalLM from transformers import AutoTokenizer model_name_or_path = "TheBloke/zephyr-7B-beta-AWQ" # Load tokenizer tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, trust_remote_code=False) # Load model model = AutoAWQForCausalLM.from_quantized(model_name_or_path, fuse_layers=True, trust_remote_code=False, safetensors=True) prompt = "Tell me about AI" prompt_template=f'''<|system|> </s> <|user|> {prompt}</s> <|assistant|> ''' print("*** Running model.generate:") token_input = tokenizer( prompt_template, return_tensors='pt' ).input_ids.cuda() # Generate output generation_output = model.generate( token_input, do_sample=True, temperature=0.7, top_p=0.95, top_k=40, max_new_tokens=512 ) # Get the tokens from the output, decode them, print them token_output = generation_output[0] text_output = tokenizer.decode(token_output) print("LLM output: ", text_output) """ # Inference should be possible with transformers pipeline as well in future # But currently this is not yet supported by AutoAWQ (correct as of September 25th 2023) from transformers import 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_AWQ.md-use-from-python end --> <!-- README_AWQ.md-compatibility start --> ## Compatibility The files provided are tested to work with: - [text-generation-webui](https://github.com/oobabooga/text-generation-webui) using `Loader: AutoAWQ`. - [vLLM](https://github.com/vllm-project/vllm) version 0.2.0 and later. - [Hugging Face Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference) version 1.1.0 and later. - [AutoAWQ](https://github.com/casper-hansen/AutoAWQ) version 0.1.1 and later. <!-- README_AWQ.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**: Pierre Kircher, Stanislav Ovsiannikov, Michael Levine, Eugene Pentland, Andrey, 준교 김, Randy H, Fred von Graf, Artur Olbinski, Caitlyn Gatomon, terasurfer, Jeff Scroggin, James Bentley, Vadim, Gabriel Puliatti, Harry Royden McLaughlin, Sean Connelly, Dan Guido, Edmond Seymore, Alicia Loh, subjectnull, AzureBlack, Manuel Alberto Morcote, Thomas Belote, Lone Striker, Chris Smitley, Vitor Caleffi, Johann-Peter Hartmann, Clay Pascal, biorpg, Brandon Frisco, sidney chen, transmissions 11, Pedro Madruga, jinyuan sun, Ajan Kanaga, Emad Mostaque, Trenton Dambrowitz, Jonathan Leane, Iucharbius, usrbinkat, vamX, George Stoitzev, Luke Pendergrass, theTransient, Olakabola, Swaroop Kallakuri, Cap'n Zoog, Brandon Phillips, Michael Dempsey, Nikolai Manek, danny, Matthew Berman, Gabriel Tamborski, alfie_i, Raymond Fosdick, Tom X Nguyen, Raven Klaugh, LangChain4j, Magnesian, Illia Dulskyi, David Ziegler, Mano Prime, Luis Javier Navarrete Lozano, Erik Bjäreholt, 阿明, Nathan Dryer, Alex, Rainer Wilmers, zynix, TL, Joseph William Delisle, John Villwock, Nathan LeClaire, Willem Michiel, Joguhyik, GodLy, OG, Alps Aficionado, Jeffrey Morgan, ReadyPlayerEmma, Tiffany J. Kim, Sebastain Graf, Spencer Kim, Michael Davis, webtim, Talal Aujan, knownsqashed, John Detwiler, Imad Khwaja, Deo Leter, Jerry Meng, Elijah Stavena, Rooh Singh, Pieter, SuperWojo, Alexandros Triantafyllidis, Stephen Murray, Ai Maven, ya boyyy, Enrico Ros, Ken Nordquist, Deep Realms, Nicholas, Spiking Neurons AB, Elle, Will Dee, Jack West, RoA, Luke @flexchar, Viktor Bowallius, Derek Yates, Subspace Studios, jjj, Toran Billups, Asp the Wyvern, Fen Risland, Ilya, NimbleBox.ai, Chadd, Nitin Borwankar, Emre, Mandus, Leonard Tan, Kalila, K, Trailburnt, S_X, Cory Kujawski Thank you to all my generous patrons and donaters! And thank you again to a16z for their generous grant. <!-- footer end --> # Original model card: Hugging Face H4's Zephyr 7B Beta <!-- 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. --> <img src="https://huggingface.co/HuggingFaceH4/zephyr-7b-alpha/resolve/main/thumbnail.png" alt="Zephyr Logo" width="800" style="margin-left:'auto' margin-right:'auto' display:'block'"/> # Model Card for Zephyr 7B β Zephyr is a series of language models that are trained to act as helpful assistants. Zephyr-7B-β is the second model in the series, and is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) that was trained on on a mix of publicly available, synthetic datasets using [Direct Preference Optimization (DPO)](https://arxiv.org/abs/2305.18290). We found that removing the in-built alignment of these datasets boosted performance on [MT Bench](https://huggingface.co/spaces/lmsys/mt-bench) and made the model more helpful. However, this means that model is likely to generate problematic text when prompted to do so and should only be used for educational and research purposes. You can find more details in the [technical report](https://arxiv.org/abs/2310.16944). ## Model description - **Model type:** A 7B parameter GPT-like model fine-tuned on a mix of publicly available, synthetic datasets. - **Language(s) (NLP):** Primarily English - **License:** MIT - **Finetuned from model:** [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) ### Model Sources <!-- Provide the basic links for the model. --> - **Repository:** https://github.com/huggingface/alignment-handbook - **Demo:** https://huggingface.co/spaces/HuggingFaceH4/zephyr-chat - **Chatbot Arena:** Evaluate Zephyr 7B against 10+ LLMs in the LMSYS arena: http://arena.lmsys.org ## Performance At the time of release, Zephyr-7B-β is the highest ranked 7B chat model on the [MT-Bench](https://huggingface.co/spaces/lmsys/mt-bench) and [AlpacaEval](https://tatsu-lab.github.io/alpaca_eval/) benchmarks: | Model | Size | Alignment | MT-Bench (score) | AlpacaEval (win rate %) | |-------------|-----|----|---------------|--------------| | StableLM-Tuned-α | 7B| dSFT |2.75| -| | MPT-Chat | 7B |dSFT |5.42| -| | Xwin-LMv0.1 | 7B| dPPO| 6.19| 87.83| | Mistral-Instructv0.1 | 7B| - | 6.84 |-| | Zephyr-7b-α |7B| dDPO| 6.88| -| | **Zephyr-7b-β** 🪁 | **7B** | **dDPO** | **7.34** | **90.60** | | Falcon-Instruct | 40B |dSFT |5.17 |45.71| | Guanaco | 65B | SFT |6.41| 71.80| | Llama2-Chat | 70B |RLHF |6.86| 92.66| | Vicuna v1.3 | 33B |dSFT |7.12 |88.99| | WizardLM v1.0 | 70B |dSFT |7.71 |-| | Xwin-LM v0.1 | 70B |dPPO |- |95.57| | GPT-3.5-turbo | - |RLHF |7.94 |89.37| | Claude 2 | - |RLHF |8.06| 91.36| | GPT-4 | -| RLHF |8.99| 95.28| In particular, on several categories of MT-Bench, Zephyr-7B-β has strong performance compared to larger open models like Llama2-Chat-70B: ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6200d0a443eb0913fa2df7cc/raxvt5ma16d7T23my34WC.png) However, on more complex tasks like coding and mathematics, Zephyr-7B-β lags behind proprietary models and more research is needed to close the gap. ## Intended uses & limitations The model was initially fine-tuned on a filtered and preprocessed of the [`UltraChat`](https://huggingface.co/datasets/stingning/ultrachat) dataset, which contains a diverse range of synthetic dialogues generated by ChatGPT. We then further aligned the model with [🤗 TRL's](https://github.com/huggingface/trl) `DPOTrainer` on the [openbmb/UltraFeedback](https://huggingface.co/datasets/openbmb/UltraFeedback) dataset, which contains 64k prompts and model completions that are ranked by GPT-4. As a result, the model can be used for chat and you can check out our [demo](https://huggingface.co/spaces/HuggingFaceH4/zephyr-chat) to test its capabilities. You can find the datasets used for training Zephyr-7B-β [here](https://huggingface.co/collections/HuggingFaceH4/zephyr-7b-6538c6d6d5ddd1cbb1744a66) Here's how you can run the model using the `pipeline()` function from 🤗 Transformers: ```python # Install transformers from source - only needed for versions <= v4.34 # pip install git+https://github.com/huggingface/transformers.git # pip install accelerate import torch from transformers import pipeline pipe = pipeline("text-generation", model="HuggingFaceH4/zephyr-7b-beta", torch_dtype=torch.bfloat16, device_map="auto") # We use the tokenizer's chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating messages = [ { "role": "system", "content": "You are a friendly chatbot who always responds in the style of a pirate", }, {"role": "user", "content": "How many helicopters can a human eat in one sitting?"}, ] prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True) outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95) print(outputs[0]["generated_text"]) # <|system|> # You are a friendly chatbot who always responds in the style of a pirate.</s> # <|user|> # How many helicopters can a human eat in one sitting?</s> # <|assistant|> # Ah, me hearty matey! But yer question be a puzzler! A human cannot eat a helicopter in one sitting, as helicopters are not edible. They be made of metal, plastic, and other materials, not food! ``` ## Bias, Risks, and Limitations <!-- This section is meant to convey both technical and sociotechnical limitations. --> Zephyr-7B-β has not been aligned to human preferences with techniques like RLHF or deployed with in-the-loop filtering of responses like ChatGPT, so the model can produce problematic outputs (especially when prompted to do so). It is also unknown what the size and composition of the corpus was used to train the base model (`mistralai/Mistral-7B-v0.1`), however it is likely to have included a mix of Web data and technical sources like books and code. See the [Falcon 180B model card](https://huggingface.co/tiiuae/falcon-180B#training-data) for an example of this. ## Training and evaluation data During DPO training, this model achieves the following results on the evaluation set: - Loss: 0.7496 - Rewards/chosen: -4.5221 - Rewards/rejected: -8.3184 - Rewards/accuracies: 0.7812 - Rewards/margins: 3.7963 - Logps/rejected: -340.1541 - Logps/chosen: -299.4561 - Logits/rejected: -2.3081 - Logits/chosen: -2.3531 ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 5e-07 - train_batch_size: 2 - eval_batch_size: 4 - seed: 42 - distributed_type: multi-GPU - num_devices: 16 - total_train_batch_size: 32 - total_eval_batch_size: 64 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_ratio: 0.1 - num_epochs: 3.0 ### Training results The table below shows the full set of DPO training metrics: | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen | |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:| | 0.6284 | 0.05 | 100 | 0.6098 | 0.0425 | -0.1872 | 0.7344 | 0.2297 | -258.8416 | -253.8099 | -2.7976 | -2.8234 | | 0.4908 | 0.1 | 200 | 0.5426 | -0.0279 | -0.6842 | 0.75 | 0.6563 | -263.8124 | -254.5145 | -2.7719 | -2.7960 | | 0.5264 | 0.15 | 300 | 0.5324 | 0.0414 | -0.9793 | 0.7656 | 1.0207 | -266.7627 | -253.8209 | -2.7892 | -2.8122 | | 0.5536 | 0.21 | 400 | 0.4957 | -0.0185 | -1.5276 | 0.7969 | 1.5091 | -272.2460 | -254.4203 | -2.8542 | -2.8764 | | 0.5362 | 0.26 | 500 | 0.5031 | -0.2630 | -1.5917 | 0.7812 | 1.3287 | -272.8869 | -256.8653 | -2.8702 | -2.8958 | | 0.5966 | 0.31 | 600 | 0.5963 | -0.2993 | -1.6491 | 0.7812 | 1.3499 | -273.4614 | -257.2279 | -2.8778 | -2.8986 | | 0.5014 | 0.36 | 700 | 0.5382 | -0.2859 | -1.4750 | 0.75 | 1.1891 | -271.7204 | -257.0942 | -2.7659 | -2.7869 | | 0.5334 | 0.41 | 800 | 0.5677 | -0.4289 | -1.8968 | 0.7969 | 1.4679 | -275.9378 | -258.5242 | -2.7053 | -2.7265 | | 0.5251 | 0.46 | 900 | 0.5772 | -0.2116 | -1.3107 | 0.7344 | 1.0991 | -270.0768 | -256.3507 | -2.8463 | -2.8662 | | 0.5205 | 0.52 | 1000 | 0.5262 | -0.3792 | -1.8585 | 0.7188 | 1.4793 | -275.5552 | -258.0276 | -2.7893 | -2.7979 | | 0.5094 | 0.57 | 1100 | 0.5433 | -0.6279 | -1.9368 | 0.7969 | 1.3089 | -276.3377 | -260.5136 | -2.7453 | -2.7536 | | 0.5837 | 0.62 | 1200 | 0.5349 | -0.3780 | -1.9584 | 0.7656 | 1.5804 | -276.5542 | -258.0154 | -2.7643 | -2.7756 | | 0.5214 | 0.67 | 1300 | 0.5732 | -1.0055 | -2.2306 | 0.7656 | 1.2251 | -279.2761 | -264.2903 | -2.6986 | -2.7113 | | 0.6914 | 0.72 | 1400 | 0.5137 | -0.6912 | -2.1775 | 0.7969 | 1.4863 | -278.7448 | -261.1467 | -2.7166 | -2.7275 | | 0.4655 | 0.77 | 1500 | 0.5090 | -0.7987 | -2.2930 | 0.7031 | 1.4943 | -279.8999 | -262.2220 | -2.6651 | -2.6838 | | 0.5731 | 0.83 | 1600 | 0.5312 | -0.8253 | -2.3520 | 0.7812 | 1.5268 | -280.4902 | -262.4876 | -2.6543 | -2.6728 | | 0.5233 | 0.88 | 1700 | 0.5206 | -0.4573 | -2.0951 | 0.7812 | 1.6377 | -277.9205 | -258.8084 | -2.6870 | -2.7097 | | 0.5593 | 0.93 | 1800 | 0.5231 | -0.5508 | -2.2000 | 0.7969 | 1.6492 | -278.9703 | -259.7433 | -2.6221 | -2.6519 | | 0.4967 | 0.98 | 1900 | 0.5290 | -0.5340 | -1.9570 | 0.8281 | 1.4230 | -276.5395 | -259.5749 | -2.6564 | -2.6878 | | 0.0921 | 1.03 | 2000 | 0.5368 | -1.1376 | -3.1615 | 0.7812 | 2.0239 | -288.5854 | -265.6111 | -2.6040 | -2.6345 | | 0.0733 | 1.08 | 2100 | 0.5453 | -1.1045 | -3.4451 | 0.7656 | 2.3406 | -291.4208 | -265.2799 | -2.6289 | -2.6595 | | 0.0972 | 1.14 | 2200 | 0.5571 | -1.6915 | -3.9823 | 0.8125 | 2.2908 | -296.7934 | -271.1505 | -2.6471 | -2.6709 | | 0.1058 | 1.19 | 2300 | 0.5789 | -1.0621 | -3.8941 | 0.7969 | 2.8319 | -295.9106 | -264.8563 | -2.5527 | -2.5798 | | 0.2423 | 1.24 | 2400 | 0.5455 | -1.1963 | -3.5590 | 0.7812 | 2.3627 | -292.5599 | -266.1981 | -2.5414 | -2.5784 | | 0.1177 | 1.29 | 2500 | 0.5889 | -1.8141 | -4.3942 | 0.7969 | 2.5801 | -300.9120 | -272.3761 | -2.4802 | -2.5189 | | 0.1213 | 1.34 | 2600 | 0.5683 | -1.4608 | -3.8420 | 0.8125 | 2.3812 | -295.3901 | -268.8436 | -2.4774 | -2.5207 | | 0.0889 | 1.39 | 2700 | 0.5890 | -1.6007 | -3.7337 | 0.7812 | 2.1330 | -294.3068 | -270.2423 | -2.4123 | -2.4522 | | 0.0995 | 1.45 | 2800 | 0.6073 | -1.5519 | -3.8362 | 0.8281 | 2.2843 | -295.3315 | -269.7538 | -2.4685 | -2.5050 | | 0.1145 | 1.5 | 2900 | 0.5790 | -1.7939 | -4.2876 | 0.8438 | 2.4937 | -299.8461 | -272.1744 | -2.4272 | -2.4674 | | 0.0644 | 1.55 | 3000 | 0.5735 | -1.7285 | -4.2051 | 0.8125 | 2.4766 | -299.0209 | -271.5201 | -2.4193 | -2.4574 | | 0.0798 | 1.6 | 3100 | 0.5537 | -1.7226 | -4.2850 | 0.8438 | 2.5624 | -299.8200 | -271.4610 | -2.5367 | -2.5696 | | 0.1013 | 1.65 | 3200 | 0.5575 | -1.5715 | -3.9813 | 0.875 | 2.4098 | -296.7825 | -269.9498 | -2.4926 | -2.5267 | | 0.1254 | 1.7 | 3300 | 0.5905 | -1.6412 | -4.4703 | 0.8594 | 2.8291 | -301.6730 | -270.6473 | -2.5017 | -2.5340 | | 0.085 | 1.76 | 3400 | 0.6133 | -1.9159 | -4.6760 | 0.8438 | 2.7601 | -303.7296 | -273.3941 | -2.4614 | -2.4960 | | 0.065 | 1.81 | 3500 | 0.6074 | -1.8237 | -4.3525 | 0.8594 | 2.5288 | -300.4951 | -272.4724 | -2.4597 | -2.5004 | | 0.0755 | 1.86 | 3600 | 0.5836 | -1.9252 | -4.4005 | 0.8125 | 2.4753 | -300.9748 | -273.4872 | -2.4327 | -2.4716 | | 0.0746 | 1.91 | 3700 | 0.5789 | -1.9280 | -4.4906 | 0.8125 | 2.5626 | -301.8762 | -273.5149 | -2.4686 | -2.5115 | | 0.1348 | 1.96 | 3800 | 0.6015 | -1.8658 | -4.2428 | 0.8281 | 2.3769 | -299.3976 | -272.8936 | -2.4943 | -2.5393 | | 0.0217 | 2.01 | 3900 | 0.6122 | -2.3335 | -4.9229 | 0.8281 | 2.5894 | -306.1988 | -277.5699 | -2.4841 | -2.5272 | | 0.0219 | 2.07 | 4000 | 0.6522 | -2.9890 | -6.0164 | 0.8281 | 3.0274 | -317.1334 | -284.1248 | -2.4105 | -2.4545 | | 0.0119 | 2.12 | 4100 | 0.6922 | -3.4777 | -6.6749 | 0.7969 | 3.1972 | -323.7187 | -289.0121 | -2.4272 | -2.4699 | | 0.0153 | 2.17 | 4200 | 0.6993 | -3.2406 | -6.6775 | 0.7969 | 3.4369 | -323.7453 | -286.6413 | -2.4047 | -2.4465 | | 0.011 | 2.22 | 4300 | 0.7178 | -3.7991 | -7.4397 | 0.7656 | 3.6406 | -331.3667 | -292.2260 | -2.3843 | -2.4290 | | 0.0072 | 2.27 | 4400 | 0.6840 | -3.3269 | -6.8021 | 0.8125 | 3.4752 | -324.9908 | -287.5042 | -2.4095 | -2.4536 | | 0.0197 | 2.32 | 4500 | 0.7013 | -3.6890 | -7.3014 | 0.8125 | 3.6124 | -329.9841 | -291.1250 | -2.4118 | -2.4543 | | 0.0182 | 2.37 | 4600 | 0.7476 | -3.8994 | -7.5366 | 0.8281 | 3.6372 | -332.3356 | -293.2291 | -2.4163 | -2.4565 | | 0.0125 | 2.43 | 4700 | 0.7199 | -4.0560 | -7.5765 | 0.8438 | 3.5204 | -332.7345 | -294.7952 | -2.3699 | -2.4100 | | 0.0082 | 2.48 | 4800 | 0.7048 | -3.6613 | -7.1356 | 0.875 | 3.4743 | -328.3255 | -290.8477 | -2.3925 | -2.4303 | | 0.0118 | 2.53 | 4900 | 0.6976 | -3.7908 | -7.3152 | 0.8125 | 3.5244 | -330.1224 | -292.1431 | -2.3633 | -2.4047 | | 0.0118 | 2.58 | 5000 | 0.7198 | -3.9049 | -7.5557 | 0.8281 | 3.6508 | -332.5271 | -293.2844 | -2.3764 | -2.4194 | | 0.006 | 2.63 | 5100 | 0.7506 | -4.2118 | -7.9149 | 0.8125 | 3.7032 | -336.1194 | -296.3530 | -2.3407 | -2.3860 | | 0.0143 | 2.68 | 5200 | 0.7408 | -4.2433 | -7.9802 | 0.8125 | 3.7369 | -336.7721 | -296.6682 | -2.3509 | -2.3946 | | 0.0057 | 2.74 | 5300 | 0.7552 | -4.3392 | -8.0831 | 0.7969 | 3.7439 | -337.8013 | -297.6275 | -2.3388 | -2.3842 | | 0.0138 | 2.79 | 5400 | 0.7404 | -4.2395 | -7.9762 | 0.8125 | 3.7367 | -336.7322 | -296.6304 | -2.3286 | -2.3737 | | 0.0079 | 2.84 | 5500 | 0.7525 | -4.4466 | -8.2196 | 0.7812 | 3.7731 | -339.1662 | -298.7007 | -2.3200 | -2.3641 | | 0.0077 | 2.89 | 5600 | 0.7520 | -4.5586 | -8.3485 | 0.7969 | 3.7899 | -340.4545 | -299.8206 | -2.3078 | -2.3517 | | 0.0094 | 2.94 | 5700 | 0.7527 | -4.5542 | -8.3509 | 0.7812 | 3.7967 | -340.4790 | -299.7773 | -2.3062 | -2.3510 | | 0.0054 | 2.99 | 5800 | 0.7520 | -4.5169 | -8.3079 | 0.7812 | 3.7911 | -340.0493 | -299.4038 | -2.3081 | -2.3530 | ### Framework versions - Transformers 4.35.0.dev0 - Pytorch 2.0.1+cu118 - Datasets 2.12.0 - Tokenizers 0.14.0 ## Citation If you find Zephyr-7B-β is useful in your work, please cite it with: ``` @misc{tunstall2023zephyr, title={Zephyr: Direct Distillation of LM Alignment}, author={Lewis Tunstall and Edward Beeching and Nathan Lambert and Nazneen Rajani and Kashif Rasul and Younes Belkada and Shengyi Huang and Leandro von Werra and Clémentine Fourrier and Nathan Habib and Nathan Sarrazin and Omar Sanseviero and Alexander M. Rush and Thomas Wolf}, year={2023}, eprint={2310.16944}, archivePrefix={arXiv}, primaryClass={cs.LG} } ```
[ -0.4300788938999176, -0.8070164322853088, 0.3574628531932831, 0.12089976668357849, -0.18827049434185028, -0.19249609112739563, 0.10396695137023926, -0.5690796375274658, 0.07483427226543427, 0.3364074230194092, -0.6672317385673523, -0.48441261053085327, -0.23951008915901184, -0.03098658286035061, -0.15819311141967773, 0.8335627913475037, 0.12010404467582703, -0.3342394530773163, -0.146807461977005, -0.18434692919254303, -0.16214029490947723, -0.4212988018989563, -0.4843624532222748, -0.21559427678585052, 0.3078766167163849, 0.21690741181373596, 0.7373218536376953, 0.6428663730621338, 0.24823951721191406, 0.4011937975883484, -0.08068080246448517, -0.14318761229515076, -0.28703999519348145, 0.016513029113411903, 0.13286137580871582, -0.2555077373981476, -0.5863677859306335, 0.03361137956380844, 0.5459649562835693, 0.25727882981300354, -0.20230567455291748, 0.08779808133840561, 0.0009987843222916126, 0.5708522796630859, -0.5130138993263245, 0.20886769890785217, -0.34454211592674255, -0.016482388600707054, -0.20076698064804077, 0.22167585790157318, -0.16810031235218048, -0.24439522624015808, 0.26366856694221497, -0.8770713210105896, 0.20570087432861328, 0.18871334195137024, 1.3007391691207886, 0.10382950305938721, -0.5177642107009888, 0.0200737826526165, -0.43469879031181335, 0.9792705774307251, -1.1489334106445312, 0.3786986768245697, 0.18652665615081787, 0.3137221932411194, -0.14556467533111572, -0.9605383276939392, -0.6695383787155151, -0.22436745464801788, -0.060661058872938156, 0.2891390025615692, -0.6365733742713928, 0.13370878994464874, 0.20632104575634003, 0.5361509323120117, -0.8110722303390503, -0.11309155076742172, -0.4196426570415497, -0.33850306272506714, 0.6379475593566895, 0.1641053408384323, 0.4400990307331085, -0.31400561332702637, -0.36159881949424744, -0.35911276936531067, -0.49628332257270813, 0.15613976120948792, 0.20655980706214905, 0.17147958278656006, -0.4864102303981781, 0.5394718647003174, -0.35052290558815, 0.6351504325866699, 0.25277337431907654, -0.033781930804252625, 0.41312122344970703, -0.420258104801178, -0.5254594683647156, -0.27817416191101074, 1.2883260250091553, 0.4273858368396759, -0.2649957537651062, 0.14175541698932648, -0.03514743223786354, 0.017212718725204468, 0.006191225256770849, -1.050058364868164, -0.31727325916290283, 0.597133219242096, -0.5091419816017151, -0.5457098484039307, -0.17927506566047668, -0.738114058971405, 0.044064924120903015, 0.20920227468013763, 0.6719692945480347, -0.4993617534637451, -0.232386976480484, 0.07286026328802109, -0.537106990814209, 0.33691731095314026, 0.2953682541847229, -0.7689428925514221, 0.22772835195064545, 0.15444384515285492, 0.6622906923294067, 0.31577640771865845, -0.2951265573501587, -0.34328675270080566, 0.09482040256261826, -0.04261774569749832, 0.5575367212295532, -0.16226497292518616, -0.35915496945381165, -0.2088608741760254, 0.16925635933876038, 0.07373126596212387, -0.30259257555007935, 0.4578920006752014, -0.24113255739212036, 0.5570581555366516, -0.41997262835502625, -0.5815168619155884, -0.345045804977417, 0.14238259196281433, -0.6039968729019165, 1.0375524759292603, 0.4862683415412903, -0.8606019020080566, 0.16853222250938416, -0.5508472323417664, -0.21642306447029114, 0.1568683534860611, -0.06798351556062698, -0.6392735838890076, -0.15062814950942993, 0.25394928455352783, 0.3025897145271301, -0.3104640245437622, -0.12519904971122742, -0.4120352268218994, -0.09271636605262756, 0.1283084899187088, -0.1820141226053238, 1.2896181344985962, 0.2582201063632965, -0.5891548991203308, 0.16992183029651642, -0.7802231907844543, 0.2548220455646515, 0.4494765102863312, -0.2639887034893036, 0.15294228494167328, -0.18685725331306458, 0.16051693260669708, 0.12746569514274597, 0.2824901342391968, -0.47128626704216003, 0.14753302931785583, -0.40986597537994385, 0.7831317782402039, 0.5287435054779053, 0.06183834373950958, 0.4697427451610565, -0.6944800615310669, 0.4919877350330353, 0.12078788876533508, 0.40237656235694885, 0.043557021766901016, -0.6335972547531128, -0.8115317821502686, -0.08443769812583923, 0.281387597322464, 0.5491648316383362, -0.7171393036842346, 0.6712453365325928, 0.16004687547683716, -0.8314854502677917, -0.43968403339385986, -0.07470577955245972, 0.38189104199409485, 0.5715946555137634, 0.5020793080329895, -0.09350916743278503, -0.44703802466392517, -0.8390567302703857, -0.05728882551193237, -0.576239824295044, -0.06862455606460571, 0.4784940779209137, 0.570960521697998, -0.3271999955177307, 0.7546924352645874, -0.513044536113739, -0.28589192032814026, -0.3130415380001068, 0.05387451499700546, 0.09397220611572266, 0.6398345828056335, 0.937162458896637, -0.6335038542747498, -0.4063338041305542, -0.20692875981330872, -0.6991011500358582, -0.19620713591575623, 0.02793419361114502, -0.38425764441490173, 0.3053196668624878, 0.1480555534362793, -0.8673677444458008, 0.45892634987831116, 0.5866766571998596, -0.5956791639328003, 0.7501705884933472, -0.26036158204078674, 0.12719479203224182, -1.0909641981124878, 0.16293665766716003, 0.22428345680236816, -0.21877102553844452, -0.5960974097251892, 0.1994536817073822, 0.10213366150856018, 0.0824795588850975, -0.5356265306472778, 0.7145975828170776, -0.5502290725708008, 0.2156451940536499, -0.018065668642520905, -0.05764588713645935, 0.4762590825557709, 0.3676654100418091, -0.09415668249130249, 0.5601965188980103, 0.5238186120986938, -0.6459774971008301, 0.3703947365283966, 0.3663382828235626, -0.07327031344175339, 0.11158598214387894, -0.9942306280136108, -0.010770201683044434, 0.04761956259608269, 0.3765288293361664, -0.9460280537605286, -0.3130125105381012, 0.5610334873199463, -0.584086537361145, 0.13343118131160736, -0.26819053292274475, -0.25138020515441895, -0.400150328874588, -0.4050644636154175, 0.19326983392238617, 0.987808108329773, -0.35732144117355347, 0.6535294651985168, 0.3964264988899231, 0.05090007930994034, -0.544811487197876, -0.6953473091125488, -0.27514374256134033, -0.3208927810192108, -0.7815504670143127, 0.5681876540184021, -0.26289018988609314, -0.2445896565914154, 0.07678736746311188, 0.13486236333847046, -0.08795689046382904, 0.03578168526291847, 0.18788336217403412, 0.2928932011127472, -0.13438571989536285, -0.18362917006015778, 0.19886650145053864, 0.04363559931516647, 0.10269665718078613, -0.2650025188922882, 0.48598894476890564, -0.28236234188079834, 0.06911355257034302, -0.4760749936103821, 0.1843903660774231, 0.5186929702758789, -0.2659161388874054, 0.7890430688858032, 0.7967221736907959, -0.3511144816875458, -0.1363947093486786, -0.48729151487350464, -0.21389292180538177, -0.5285930633544922, 0.09957195818424225, -0.19503596425056458, -0.6726987957954407, 0.5886895656585693, 0.36733075976371765, 0.35805273056030273, 0.8473255038261414, 0.4378642439842224, -0.16340726613998413, 1.0054088830947876, 0.593951404094696, 0.07693296670913696, 0.5137032270431519, -0.4965684413909912, -0.17311599850654602, -0.8177840709686279, -0.1408594846725464, -0.4956698715686798, -0.11680268496274948, -0.5177974700927734, -0.40385088324546814, 0.3346521258354187, 0.29590874910354614, -0.4772510230541229, 0.4297083020210266, -0.6533694863319397, -0.0001648071629460901, 0.5770693421363831, 0.18075492978096008, 0.1109909862279892, -0.13157394528388977, -0.29777196049690247, 0.016093334183096886, -0.6649730801582336, -0.30747607350349426, 0.8860715627670288, 0.28543612360954285, 0.4867972135543823, 0.20526547729969025, 0.7043564319610596, 0.01750594936311245, 0.17604754865169525, -0.560927152633667, 0.5279569029808044, 0.08471197634935379, -0.6938941478729248, -0.35985541343688965, -0.6053975820541382, -0.831749439239502, 0.3380316197872162, -0.23862652480602264, -0.7136116623878479, 0.32208967208862305, 0.2819768488407135, -0.5195217728614807, 0.24133192002773285, -0.5880207419395447, 1.0001791715621948, -0.10931961238384247, -0.3760651648044586, 0.1731288731098175, -0.6952579021453857, 0.28009673953056335, 0.3003210127353668, 0.14573772251605988, -0.31300240755081177, -0.12577106058597565, 0.8000327944755554, -0.8672170042991638, 0.7427574396133423, -0.35721689462661743, 0.024910923093557358, 0.5229620337486267, -0.128994420170784, 0.470882773399353, -0.006819544360041618, -0.15425990521907806, 0.16107866168022156, 0.1711454838514328, -0.5022757053375244, -0.31996309757232666, 0.5090975165367126, -0.8998367190361023, -0.5601354241371155, -0.49162349104881287, -0.3829961121082306, 0.12029004096984863, 0.32743316888809204, 0.6495177745819092, 0.41231897473335266, -0.2442338615655899, 0.12535424530506134, 0.5138545036315918, -0.4342757761478424, 0.5046884417533875, 0.4031153917312622, -0.4376382529735565, -0.5285212397575378, 0.7042732238769531, 0.10393056273460388, 0.3391924202442169, 0.2027820348739624, 0.4183605909347534, -0.45715850591659546, -0.5189154744148254, -0.8527467250823975, 0.21310019493103027, -0.4653770625591278, -0.3332967460155487, -0.8579808473587036, -0.32076317071914673, -0.6723325848579407, -0.07146695256233215, -0.27260875701904297, -0.45312994718551636, -0.5430578589439392, 0.15362922847270966, 0.7474235892295837, 0.46197691559791565, -0.11017411202192307, 0.3611108362674713, -0.9091364145278931, 0.2716316878795624, 0.3405405879020691, -0.05522654578089714, 0.03971124067902565, -0.7358238101005554, -0.0758054107427597, 0.31346532702445984, -0.4976511597633362, -0.8871176242828369, 0.766536295413971, 0.21560005843639374, 0.5261097550392151, 0.28825536370277405, 0.29662224650382996, 0.6213575005531311, -0.28547653555870056, 0.9009842872619629, 0.13036711513996124, -1.0193754434585571, 0.6190558671951294, -0.5551214814186096, 0.4994913935661316, 0.3565995991230011, 0.41257867217063904, -0.3200525641441345, -0.46904394030570984, -0.7478468418121338, -0.845779538154602, 0.47237658500671387, 0.48578718304634094, -0.05100371688604355, 0.10675916075706482, 0.3433060944080353, -0.20132097601890564, 0.11896297335624695, -0.7573158740997314, -0.47014129161834717, -0.37887582182884216, -0.17753955721855164, 0.18924064934253693, 0.011582118459045887, -0.06861081719398499, -0.4798329472541809, 0.8663575053215027, -0.14019596576690674, 0.4441210925579071, 0.45437851548194885, -0.0572379045188427, -0.30479446053504944, 0.2540815770626068, 0.2627219557762146, 0.57691890001297, -0.37597543001174927, -0.2809680700302124, 0.0758875384926796, -0.40927818417549133, 0.054511748254299164, 0.3571005165576935, -0.38325822353363037, 0.03229628875851631, 0.07956574857234955, 0.8033490180969238, 0.11269509792327881, -0.4562956988811493, 0.46277061104774475, -0.26457080245018005, -0.5449653267860413, -0.3037427067756653, 0.30977892875671387, 0.3191904127597809, 0.3891635537147522, 0.42547184228897095, -0.15388649702072144, 0.31052833795547485, -0.6148263216018677, 0.12051928043365479, 0.4860709309577942, -0.3081227242946625, -0.2160726636648178, 1.0330852270126343, 0.10692985355854034, 0.0015698933275416493, 0.6710257530212402, -0.22998955845832825, -0.6221421360969543, 0.8953663110733032, 0.5726584792137146, 0.7401583790779114, -0.07455596327781677, 0.210202157497406, 0.5281333327293396, 0.15425832569599152, 0.026865633204579353, 0.4505807161331177, 0.13268384337425232, -0.6932212710380554, -0.07452820986509323, -0.6438376903533936, -0.3470802307128906, 0.15624773502349854, -0.6968117356300354, 0.15962515771389008, -0.5399567484855652, -0.33323946595191956, 0.15368464589118958, 0.2805268168449402, -0.5984383225440979, 0.3229222893714905, 0.019147401675581932, 0.7597936391830444, -0.6401699781417847, 0.7760428190231323, 0.6642506122589111, -0.5159696936607361, -0.9085232615470886, -0.14553701877593994, 0.2741948664188385, -0.6155503392219543, 0.15656696259975433, 0.13357588648796082, 0.22757592797279358, 0.23622050881385803, -0.6755685806274414, -0.7699396014213562, 1.3945375680923462, 0.15462593734264374, -0.6487955451011658, -0.15691277384757996, -0.1168997660279274, 0.36574602127075195, -0.22355380654335022, 0.5610179901123047, 0.4318341910839081, 0.455202579498291, 0.11602310091257095, -0.8523380160331726, 0.42324021458625793, -0.33282557129859924, -0.03535301610827446, 0.13814137876033783, -1.162843942642212, 1.1007885932922363, -0.3021233081817627, -0.20640553534030914, 0.3317873775959015, 0.7997668385505676, 0.5692156553268433, -0.050366248935461044, 0.5013929605484009, 0.7051433324813843, 0.7498694658279419, -0.144911527633667, 0.9650614261627197, -0.29034724831581116, 0.5324276089668274, 0.7122477889060974, -0.18818476796150208, 0.7727831602096558, 0.24592813849449158, -0.37754881381988525, 0.5924496650695801, 0.6320483088493347, -0.22182399034500122, 0.2947414219379425, 0.10119462758302689, -0.3314976096153259, -0.07393232733011246, 0.03287014737725258, -0.6742247343063354, 0.1546318084001541, 0.340488076210022, -0.32337284088134766, -0.07133923470973969, -0.20634765923023224, 0.005011129658669233, -0.5336388349533081, -0.0639743059873581, 0.6491644978523254, 0.2048126608133316, -0.30973273515701294, 0.7407928109169006, 0.021893847733736038, 0.7770201563835144, -0.5794462561607361, -0.12230613082647324, -0.18851806223392487, 0.11800273507833481, -0.20835041999816895, -0.6405079364776611, 0.02010010927915573, -0.1636863350868225, -0.12422498315572739, 0.05164071545004845, 0.7878531813621521, -0.35713180899620056, -0.4920140206813812, 0.381279319524765, 0.5115846991539001, 0.21711377799510956, -0.0821630135178566, -1.0184454917907715, 0.3881504237651825, 0.10669828951358795, -0.592345118522644, 0.3981686532497406, 0.41483739018440247, 0.34354594349861145, 0.6545262336730957, 0.6195228099822998, -0.11785507947206497, 0.14480672776699066, -0.13861826062202454, 0.9227774143218994, -0.7994334101676941, -0.33484333753585815, -0.8054250478744507, 0.7562824487686157, -0.03471064940094948, -0.50665283203125, 0.8616840243339539, 0.48125800490379333, 0.6997069716453552, -0.006059964187443256, 0.9447457790374756, -0.4777759909629822, 0.316278338432312, -0.3339996933937073, 1.0343525409698486, -0.7546171545982361, 0.01671638712286949, -0.3293304145336151, -0.7407407760620117, 0.07959315180778503, 0.7199091911315918, 0.09401334077119827, 0.2553557753562927, 0.46375468373298645, 0.7539160847663879, 0.04252098873257637, -0.07972496002912521, 0.2536498010158539, 0.3775157332420349, 0.3642464280128479, 0.7366563677787781, 0.5634241700172424, -0.991895854473114, 0.6600463390350342, -0.7188708782196045, -0.24887026846408844, -0.23264548182487488, -0.8041192293167114, -0.8005949258804321, -0.451891154050827, -0.40118640661239624, -0.6791585683822632, -0.05364901199936867, 0.8234797716140747, 0.818377673625946, -0.6163000464439392, -0.22198055684566498, -0.14554134011268616, -0.12811583280563354, -0.08833780139684677, -0.33660557866096497, 0.24965184926986694, -0.03838864713907242, -0.7085070013999939, 0.32510095834732056, 0.0062694670632481575, 0.5094708204269409, -0.23879790306091309, -0.18239730596542358, -0.21659746766090393, 0.04967065900564194, 0.3698173463344574, 0.5240400433540344, -0.6555469036102295, -0.1074858158826828, -0.061651721596717834, -0.19284528493881226, 0.22664575278759003, 0.14838558435440063, -0.7843151092529297, 0.12348604202270508, 0.6349053978919983, 0.15055903792381287, 0.5415042638778687, -0.05727246031165123, 0.6951018571853638, -0.36173734068870544, 0.1843191236257553, 0.23055052757263184, 0.43480491638183594, 0.06296494603157043, -0.4248170554637909, 0.32333502173423767, 0.2027067244052887, -0.7178775072097778, -0.7472934126853943, -0.08497308194637299, -1.0975421667099, -0.31445878744125366, 0.9837687015533447, -0.20054450631141663, -0.5372111201286316, 0.04413627088069916, -0.18826840817928314, 0.40377411246299744, -0.5556849241256714, 0.373871386051178, 0.4038333594799042, -0.15943294763565063, -0.34912657737731934, -0.5612114667892456, 0.6612797379493713, 0.36217188835144043, -0.9634779691696167, -0.015385692939162254, 0.5250456929206848, 0.493107408285141, -0.015496528707444668, 0.7693882584571838, -0.10027886927127838, 0.374254047870636, 0.20624297857284546, 0.2162814438343048, 0.0034137398470193148, 0.0019807307980954647, -0.24944841861724854, -0.053127795457839966, -0.1460866779088974, -0.06456258893013 ]
trl-internal-testing/tiny-random-BlenderbotForConditionalGeneration
trl-internal-testing
2023-01-20T14:14:09Z
14,942
0
transformers
[ "transformers", "pytorch", "blenderbot", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:14:06Z
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 ]
trl-internal-testing/tiny-random-MarianMTModel
trl-internal-testing
2023-01-20T14:14:49Z
14,942
1
transformers
[ "transformers", "pytorch", "marian", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:14:46Z
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 ]
trl-internal-testing/tiny-random-MT5ForConditionalGeneration
trl-internal-testing
2023-01-20T15:44:03Z
14,940
0
transformers
[ "transformers", "pytorch", "mt5", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "text-generation-inference", "region:us" ]
text2text-generation
2023-01-20T14:15: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 ]
trl-internal-testing/tiny-random-ProphetNetForConditionalGeneration
trl-internal-testing
2023-01-20T14:16:35Z
14,927
0
transformers
[ "transformers", "pytorch", "prophetnet", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:16:31Z
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 ]
trl-internal-testing/tiny-random-SwitchTransformersForConditionalGeneration
trl-internal-testing
2023-01-20T14:16:41Z
14,925
1
transformers
[ "transformers", "pytorch", "switch_transformers", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:16:38Z
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 ]
trl-internal-testing/tiny-random-MBartForConditionalGeneration
trl-internal-testing
2023-01-20T14:14:55Z
14,923
0
transformers
[ "transformers", "pytorch", "mbart", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:14:52Z
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 ]
lllyasviel/control_v11p_sd15_normalbae
lllyasviel
2023-05-04T18:49:23Z
14,912
7
diffusers
[ "diffusers", "art", "controlnet", "stable-diffusion", "controlnet-v1-1", "image-to-image", "arxiv:2302.05543", "base_model:runwayml/stable-diffusion-v1-5", "license:openrail", "has_space", "diffusers:ControlNetModel", "region:us" ]
image-to-image
2023-04-14T19:24:11Z
--- license: openrail base_model: runwayml/stable-diffusion-v1-5 tags: - art - controlnet - stable-diffusion - controlnet-v1-1 - image-to-image duplicated_from: ControlNet-1-1-preview/control_v11p_sd15_normalbae --- # Controlnet - v1.1 - *normalbae Version* **Controlnet v1.1** is the successor model of [Controlnet v1.0](https://huggingface.co/lllyasviel/ControlNet) and was released in [lllyasviel/ControlNet-v1-1](https://huggingface.co/lllyasviel/ControlNet-v1-1) by [Lvmin Zhang](https://huggingface.co/lllyasviel). This checkpoint is a conversion of [the original checkpoint](https://huggingface.co/lllyasviel/ControlNet-v1-1/blob/main/control_v11p_sd15_normalbae.pth) into `diffusers` format. It can be used in combination with **Stable Diffusion**, such as [runwayml/stable-diffusion-v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5). For more details, please also have a look at the [🧨 Diffusers docs](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion/controlnet). ControlNet is a neural network structure to control diffusion models by adding extra conditions. ![img](./sd.png) This checkpoint corresponds to the ControlNet conditioned on **normalbae images**. ## Model Details - **Developed by:** Lvmin Zhang, Maneesh Agrawala - **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. - **Resources for more information:** [GitHub Repository](https://github.com/lllyasviel/ControlNet), [Paper](https://arxiv.org/abs/2302.05543). - **Cite as:** @misc{zhang2023adding, title={Adding Conditional Control to Text-to-Image Diffusion Models}, author={Lvmin Zhang and Maneesh Agrawala}, year={2023}, eprint={2302.05543}, archivePrefix={arXiv}, primaryClass={cs.CV} } ## Introduction Controlnet was proposed in [*Adding Conditional Control to Text-to-Image Diffusion Models*](https://arxiv.org/abs/2302.05543) by Lvmin Zhang, Maneesh Agrawala. The abstract reads as follows: *We present a neural network structure, ControlNet, to control pretrained large diffusion models to support additional input conditions. The ControlNet learns task-specific conditions in an end-to-end way, and the learning is robust even when the training dataset is small (< 50k). Moreover, training a ControlNet is as fast as fine-tuning a diffusion model, and the model can be trained on a personal devices. Alternatively, if powerful computation clusters are available, the model can scale to large amounts (millions to billions) of data. We report that large diffusion models like Stable Diffusion can be augmented with ControlNets to enable conditional inputs like edge maps, segmentation maps, keypoints, etc. This may enrich the methods to control large diffusion models and further facilitate related applications.* ## Example It is recommended to use the checkpoint with [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) as the checkpoint has been trained on it. Experimentally, the checkpoint can be used with other diffusion models such as dreamboothed stable diffusion. **Note**: If you want to process an image to create the auxiliary conditioning, external dependencies are required as shown below: 1. Install https://github.com/patrickvonplaten/controlnet_aux ```sh $ pip install controlnet_aux==0.3.0 ``` 2. Let's install `diffusers` and related packages: ``` $ pip install diffusers transformers accelerate ``` 3. Run code: ```python import torch import os from huggingface_hub import HfApi from pathlib import Path from diffusers.utils import load_image from PIL import Image import numpy as np from controlnet_aux import NormalBaeDetector from diffusers import ( ControlNetModel, StableDiffusionControlNetPipeline, UniPCMultistepScheduler, ) checkpoint = "lllyasviel/control_v11p_sd15_normalbae" image = load_image( "https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/input.png" ) prompt = "A head full of roses" processor = NormalBaeDetector.from_pretrained("lllyasviel/Annotators") control_image = processor(image) control_image.save("./images/control.png") controlnet = ControlNetModel.from_pretrained(checkpoint, torch_dtype=torch.float16) pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float16 ) pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config) pipe.enable_model_cpu_offload() generator = torch.manual_seed(33) image = pipe(prompt, num_inference_steps=30, generator=generator, image=control_image).images[0] image.save('images/image_out.png') ``` ![bird](./images/input.png) ![bird_canny](./images/control.png) ![bird_canny_out](./images/image_out.png) ## Other released checkpoints v1-1 The authors released 14 different checkpoints, each trained with [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) on a different type of conditioning: | Model Name | Control Image Overview| Condition Image | Control Image Example | Generated Image Example | |---|---|---|---|---| |[lllyasviel/control_v11p_sd15_canny](https://huggingface.co/lllyasviel/control_v11p_sd15_canny)<br/> | *Trained with canny edge detection* | A monochrome image with white edges on a black background.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11e_sd15_ip2p](https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p)<br/> | *Trained with pixel to pixel instruction* | No condition .|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_inpaint](https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint)<br/> | Trained with image inpainting | No condition.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/output.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/output.png"/></a>| |[lllyasviel/control_v11p_sd15_mlsd](https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd)<br/> | Trained with multi-level line segment detection | An image with annotated line segments.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11f1p_sd15_depth](https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth)<br/> | Trained with depth estimation | An image with depth information, usually represented as a grayscale image.|<a href="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_normalbae](https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae)<br/> | Trained with surface normal estimation | An image with surface normal information, usually represented as a color-coded image.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_seg](https://huggingface.co/lllyasviel/control_v11p_sd15_seg)<br/> | Trained with image segmentation | An image with segmented regions, usually represented as a color-coded image.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_lineart](https://huggingface.co/lllyasviel/control_v11p_sd15_lineart)<br/> | Trained with line art generation | An image with line art, usually black lines on a white background.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15s2_lineart_anime](https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime)<br/> | Trained with anime line art generation | An image with anime-style line art.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_openpose](https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime)<br/> | Trained with human pose estimation | An image with human poses, usually represented as a set of keypoints or skeletons.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_scribble](https://huggingface.co/lllyasviel/control_v11p_sd15_scribble)<br/> | Trained with scribble-based image generation | An image with scribbles, usually random or user-drawn strokes.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_softedge](https://huggingface.co/lllyasviel/control_v11p_sd15_softedge)<br/> | Trained with soft edge image generation | An image with soft edges, usually to create a more painterly or artistic effect.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11e_sd15_shuffle](https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle)<br/> | Trained with image shuffling | An image with shuffled patches or regions.|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11f1e_sd15_tile](https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile)<br/> | Trained with image tiling | A blurry image or part of an image .|<a href="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/original.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/original.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/output.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/output.png"/></a>| ## Improvements in Normal 1.1: - The normal-from-midas method in Normal 1.0 is neither reasonable nor physically correct. That method does not work very well in many images. The normal 1.0 model cannot interpret real normal maps created by rendering engines. - This Normal 1.1 is much more reasonable because the preprocessor is trained to estimate normal maps with a relatively correct protocol (NYU-V2's visualization method). This means the Normal 1.1 can interpret real normal maps from rendering engines as long as the colors are correct (blue is front, red is left, green is top). - In our test, this model is robust and can achieve similar performance to the depth model. In previous CNET 1.0, the Normal 1.0 is not very frequently used. But this Normal 2.0 is much improved and has potential to be used much more frequently. ## More information For more information, please also have a look at the [Diffusers ControlNet Blog Post](https://huggingface.co/blog/controlnet) and have a look at the [official docs](https://github.com/lllyasviel/ControlNet-v1-1-nightly).
[ -0.5750313997268677, -0.5680476427078247, 0.12607359886169434, 0.5554399490356445, -0.23991790413856506, -0.2696939706802368, 0.053060002624988556, -0.5319205522537231, 0.5449817180633545, 0.2813096046447754, -0.7365636825561523, -0.35161930322647095, -0.7097966074943542, -0.14215418696403503, -0.14990723133087158, 0.811198353767395, -0.2861078679561615, -0.007079937029629946, 0.09310657531023026, -0.06526567041873932, -0.09318651258945465, -0.16652299463748932, -1.2228195667266846, -0.48534467816352844, 0.44014763832092285, 0.036560069769620895, 0.5269119739532471, 0.542685866355896, 0.4768258035182953, 0.36374837160110474, -0.3722228705883026, 0.04661126807332039, -0.28603604435920715, -0.2072695642709732, 0.19312220811843872, -0.15585607290267944, -0.6887205243110657, 0.09526114165782928, 0.6939311623573303, 0.2755940556526184, -0.001623230753466487, -0.21128998696804047, 0.1342291533946991, 0.6709311604499817, -0.47243183851242065, -0.11907385289669037, -0.1467267870903015, 0.24851587414741516, -0.1498291790485382, 0.1070646122097969, -0.1876910924911499, -0.3093683123588562, 0.08788639307022095, -0.7291110157966614, -0.09888000041246414, -0.1469837874174118, 1.351210594177246, 0.2893024682998657, -0.40433254837989807, -0.06118064373731613, -0.23212212324142456, 0.6482468247413635, -0.7949467301368713, 0.10539712011814117, 0.127216637134552, 0.22873423993587494, -0.21487261354923248, -0.9703345894813538, -0.5074416995048523, -0.16514287889003754, -0.11840004473924637, 0.4440601170063019, -0.37656766176223755, 0.05424714833498001, 0.24975940585136414, 0.21244068443775177, -0.37374114990234375, 0.27618923783302307, -0.28531739115715027, -0.37574833631515503, 0.5994772911071777, -0.001964034279808402, 0.5944660902023315, 0.039782073348760605, -0.5827071070671082, -0.02387629821896553, -0.3906904458999634, 0.35087546706199646, 0.20236922800540924, -0.14230768382549286, -0.7643780708312988, 0.39222845435142517, -0.04719027131795883, 0.737471878528595, 0.4232470393180847, -0.18739525973796844, 0.4669971168041229, -0.15855133533477783, -0.3832968771457672, -0.3005650043487549, 0.9928267598152161, 0.5044469237327576, 0.168912872672081, -0.017197420820593834, -0.15706409513950348, -0.12811152637004852, -0.04598959907889366, -1.1800751686096191, -0.17476731538772583, 0.18647338449954987, -0.5433521866798401, -0.3702523708343506, -0.1558929979801178, -0.6893666386604309, -0.19010020792484283, -0.08028171211481094, 0.3711640238761902, -0.5902407765388489, -0.4517446458339691, 0.12831221520900726, -0.4328726828098297, 0.5265737175941467, 0.6027693152427673, -0.45047998428344727, 0.19759491086006165, 0.14060427248477936, 0.9753382205963135, -0.2582540214061737, -0.1487819403409958, -0.26590391993522644, -0.09769318252801895, -0.306204617023468, 0.5130106210708618, -0.13956573605537415, -0.10632078349590302, -0.07850341498851776, 0.35099923610687256, -0.1363586187362671, -0.3369700014591217, 0.4177781343460083, -0.3520611822605133, 0.18341414630413055, -0.03956163302063942, -0.4005312919616699, -0.16584661602973938, 0.2400684803724289, -0.45429831743240356, 0.7376059293746948, 0.2345767617225647, -1.0535788536071777, 0.327939510345459, -0.5074247717857361, -0.22202400863170624, -0.24998801946640015, 0.14910410344600677, -0.7307256460189819, -0.41694632172584534, 0.022399647161364555, 0.5970398187637329, -0.03041974827647209, -0.14875458180904388, -0.46779295802116394, -0.058412518352270126, 0.13919779658317566, -0.11885916441679001, 1.2240970134735107, 0.12988479435443878, -0.5819212198257446, 0.193197101354599, -0.6950958371162415, 0.03174639493227005, 0.15299996733665466, -0.23331870138645172, 0.06417747586965561, -0.3029039800167084, 0.13442854583263397, 0.6109281182289124, 0.36092981696128845, -0.6724568009376526, 0.14261752367019653, -0.25531482696533203, 0.4425596594810486, 0.6316705942153931, 0.2220025211572647, 0.5968083143234253, -0.5144590735435486, 0.548879086971283, 0.27447929978370667, 0.2976909875869751, 0.0696377232670784, -0.5085079073905945, -1.006339430809021, -0.5820459127426147, 0.010937410406768322, 0.5831071734428406, -0.7681158781051636, 0.7840932011604309, 0.11814913898706436, -0.6662753820419312, -0.24128466844558716, 0.07097598910331726, 0.4894075095653534, 0.510161817073822, 0.30435845255851746, -0.465474933385849, -0.36060038208961487, -0.8959403038024902, 0.1543656587600708, 0.21655109524726868, -0.010639955289661884, 0.1732310801744461, 0.6230705380439758, -0.12690502405166626, 0.6368277668952942, -0.22676615417003632, -0.3645513653755188, -0.08970122784376144, -0.0912909209728241, 0.2872069180011749, 1.0057759284973145, 0.7814199924468994, -0.7528640031814575, -0.6268921494483948, -0.032596539705991745, -0.8730325102806091, -0.05734028294682503, -0.22184573113918304, -0.5136616826057434, 0.22536611557006836, 0.5629666447639465, -0.647963285446167, 0.7692837119102478, 0.515590250492096, -0.5454847812652588, 0.5887110233306885, -0.33380696177482605, 0.15750378370285034, -0.9619157910346985, 0.21157142519950867, 0.3580736219882965, -0.3188022971153259, -0.6018288135528564, 0.09011812508106232, 0.13110272586345673, 0.06614707410335541, -0.6938796043395996, 0.7220184206962585, -0.48856329917907715, 0.18186809122562408, -0.30177852511405945, -0.0935182273387909, 0.06146536394953728, 0.6314283609390259, 0.19225828349590302, 0.4771260619163513, 0.9646946787834167, -0.6030538082122803, 0.34437283873558044, 0.4161309003829956, -0.19270415604114532, 0.8147724270820618, -0.8026467561721802, 0.11969156563282013, -0.1669238954782486, 0.5651768445968628, -0.9014456272125244, -0.2555490732192993, 0.6305525898933411, -0.4901602864265442, 0.5689772367477417, -0.26427894830703735, -0.24484865367412567, -0.42614683508872986, -0.30901890993118286, 0.1621052473783493, 0.7573854327201843, -0.5105173587799072, 0.34845030307769775, 0.144642636179924, 0.16846680641174316, -0.4668104350566864, -0.886415421962738, -0.06903288513422012, -0.37707415223121643, -0.7997496128082275, 0.4878543019294739, -0.14311008155345917, 0.04957451671361923, 0.00901449378579855, 0.032843947410583496, -0.31430599093437195, -0.003566980129107833, 0.35482296347618103, 0.24957260489463806, -0.07193875312805176, -0.16465555131435394, 0.10135974735021591, -0.16821004450321198, -0.06329458951950073, -0.3307284712791443, 0.4433954358100891, 0.04378340765833855, -0.18965397775173187, -0.9941434264183044, 0.22124338150024414, 0.5588470697402954, -0.054771628230810165, 0.8752065896987915, 0.8859703540802002, -0.42264941334724426, -0.009754504077136517, -0.3692420423030853, -0.15347906947135925, -0.49791020154953003, -0.04822849854826927, -0.21836355328559875, -0.6897814869880676, 0.6460663080215454, 0.08209828287363052, -0.042120177298784256, 0.628660261631012, 0.3781035542488098, -0.22349382936954498, 0.8544005751609802, 0.547670304775238, -0.14753350615501404, 0.7836737036705017, -0.7301866412162781, -0.14222264289855957, -0.9691417813301086, -0.2590329647064209, -0.3171635568141937, -0.6355741620063782, -0.3310871124267578, -0.3478132486343384, 0.4212524890899658, 0.44312408566474915, -0.7166537046432495, 0.48583051562309265, -0.5657334923744202, 0.1148773729801178, 0.3294229805469513, 0.5226333141326904, -0.14794953167438507, -0.14246560633182526, -0.15139569342136383, 0.0684812143445015, -0.6156346797943115, -0.2805747091770172, 0.5754400491714478, 0.5344566106796265, 0.5260021686553955, -0.05613527074456215, 0.6101564764976501, 0.015458027832210064, 0.32856544852256775, -0.5593122839927673, 0.5131815075874329, 0.004125325940549374, -0.5561800003051758, -0.20763923227787018, -0.3206210732460022, -1.0002111196517944, 0.08053259551525116, -0.4827554225921631, -0.7503337860107422, 0.3400648534297943, 0.2411985844373703, -0.09475798159837723, 0.4625042676925659, -0.6631043553352356, 0.7571812272071838, 0.007371534593403339, -0.5952161550521851, 0.05860166624188423, -0.8430929183959961, 0.2269212156534195, 0.25268375873565674, -0.2109382003545761, 0.0004628013994079083, -0.1051575317978859, 0.8503763675689697, -0.7490622997283936, 0.845865786075592, -0.5177740454673767, -0.00769402040168643, 0.3533932566642761, -0.02926790900528431, 0.547022819519043, -0.15055502951145172, -0.23809891939163208, 0.06066625192761421, -0.06131543591618538, -0.5930911302566528, -0.3676488399505615, 0.6517518758773804, -0.6712141036987305, -0.2022484391927719, -0.2589138448238373, -0.2574463188648224, 0.17530696094036102, 0.2470155954360962, 0.6705176830291748, 0.36043259501457214, 0.16300755739212036, 0.05617149919271469, 0.6386190056800842, -0.31934061646461487, 0.6527746319770813, 0.05510668456554413, -0.09095318615436554, -0.5031256675720215, 0.6921570301055908, -0.00968313217163086, 0.36597588658332825, 0.21583788096904755, 0.1454453468322754, -0.22513848543167114, -0.48150813579559326, -0.4502074122428894, 0.43313390016555786, -0.5939267873764038, -0.42634519934654236, -0.5941038727760315, -0.4479982256889343, -0.36894410848617554, -0.4671703279018402, -0.26258590817451477, -0.2674630284309387, -0.706214189529419, 0.16860440373420715, 0.6324048042297363, 0.4883071184158325, -0.21000641584396362, 0.577764093875885, -0.29207220673561096, 0.23648026585578918, 0.2846735715866089, 0.3416594862937927, -0.049552470445632935, -0.5989173650741577, 0.001247479347512126, 0.1160200908780098, -0.5000423789024353, -0.7776048183441162, 0.47479167580604553, 0.05570172891020775, 0.4803777039051056, 0.5406723022460938, -0.2396865338087082, 0.6297838687896729, -0.30755043029785156, 0.5644088387489319, 0.611093282699585, -0.7842328548431396, 0.4931778907775879, -0.3906227946281433, 0.26096901297569275, 0.30038270354270935, 0.5495979189872742, -0.42399832606315613, -0.34078800678253174, -0.7316809296607971, -0.6183143258094788, 0.5694475173950195, 0.2582513689994812, -0.07280224561691284, 0.3255978524684906, 0.6714065670967102, -0.3622754216194153, 0.12690040469169617, -0.8099055886268616, -0.45044082403182983, -0.24566270411014557, 0.03860354796051979, 0.01873701624572277, 0.07730960845947266, -0.05983097851276398, -0.47950276732444763, 0.896642804145813, 0.008821426890790462, 0.5674119591712952, 0.4924541413784027, 0.10197584331035614, -0.15712909400463104, -0.290441632270813, 0.5220326781272888, 0.4471886157989502, -0.0927744209766388, -0.3050776720046997, 0.07376200705766678, -0.3744686543941498, 0.24535273015499115, -0.01936621591448784, -0.36536097526550293, -0.09412304311990738, 0.3375808298587799, 0.8339414000511169, -0.17885388433933258, -0.16168102622032166, 0.7532448768615723, 0.044876161962747574, -0.5268897414207458, -0.2607392370700836, 0.04408594220876694, 0.1498601734638214, 0.44881004095077515, 0.11698845773935318, 0.3884955942630768, 0.06789171695709229, -0.13431233167648315, 0.313540518283844, 0.5602841973304749, -0.5820135474205017, -0.15151652693748474, 0.7344516515731812, 0.04688521474599838, -0.11974207311868668, 0.3588876724243164, -0.4401912987232208, -0.690777599811554, 0.927818238735199, 0.5403741598129272, 0.7293931245803833, -0.11113160103559494, 0.2768406569957733, 0.6868841052055359, 0.18774497509002686, 0.07753574848175049, 0.17629146575927734, 0.12329371273517609, -0.6855615973472595, -0.39765822887420654, -0.43494388461112976, -0.05065096169710159, 0.16076108813285828, -0.41535988450050354, 0.4360324442386627, -0.7704086899757385, -0.2206183671951294, -0.090688556432724, 0.10086659342050552, -0.686424732208252, 0.45258763432502747, 0.0511588528752327, 1.2097903490066528, -0.8337043523788452, 0.8356219530105591, 0.6067409515380859, -0.45503073930740356, -0.8831250071525574, 0.013408766128122807, 0.021033983677625656, -0.7768794298171997, 0.6299816966056824, 0.1793031543493271, -0.0600348524749279, 0.10229441523551941, -0.774453341960907, -0.5673962235450745, 1.258610486984253, 0.24495165050029755, -0.19838429987430573, 0.09134414047002792, -0.533902108669281, 0.4492528736591339, -0.42926904559135437, 0.4682678282260895, 0.42860671877861023, 0.5079370141029358, 0.42004358768463135, -0.7472031116485596, 0.23523734509944916, -0.4448730945587158, 0.13862618803977966, 0.1755111664533615, -0.9819466471672058, 0.8634121417999268, 0.008883317932486534, -0.15703371167182922, 0.288483589887619, 0.725233793258667, 0.21762830018997192, 0.15713416039943695, 0.6305611729621887, 0.8061012625694275, 0.32604774832725525, -0.08949931710958481, 0.9515419006347656, -0.06768424808979034, 0.27854862809181213, 0.6164122223854065, 0.2531428933143616, 0.5341018438339233, 0.36650213599205017, -0.07973907887935638, 0.5058850646018982, 0.8397520184516907, 0.04186217114329338, 0.41976773738861084, 0.49625298380851746, -0.2777966856956482, -0.13268597424030304, -0.04618912935256958, -0.3438420593738556, 0.0922376736998558, 0.23495551943778992, -0.2673652172088623, -0.24206504225730896, 0.25680994987487793, 0.27913612127304077, -0.15335948765277863, -0.421056866645813, 0.6437410712242126, -0.10660582035779953, -0.5087935328483582, 0.7552384734153748, -0.06866072118282318, 1.0944442749023438, -0.6769627332687378, 0.04001807048916817, -0.26490598917007446, 0.05116434395313263, -0.3877594470977783, -0.8052529096603394, 0.2035795897245407, -0.18462921679019928, 0.2691808044910431, -0.36325016617774963, 0.7067777514457703, -0.3484509587287903, -0.4093784689903259, 0.5058451294898987, 0.11404654383659363, 0.38317394256591797, 0.17001745104789734, -1.055288553237915, 0.1944405436515808, 0.1025012731552124, -0.4842561185359955, 0.22908423840999603, 0.36398422718048096, 0.19761653244495392, 0.7314705848693848, 0.31315335631370544, 0.349966436624527, 0.274015337228775, -0.23584099113941193, 1.0105009078979492, -0.26709213852882385, -0.3136034905910492, -0.565926194190979, 0.7764662504196167, -0.3279920518398285, -0.4425720274448395, 0.5583173036575317, 0.2788417935371399, 0.7166029810905457, -0.09389961510896683, 0.6668235063552856, -0.41157296299934387, 0.20693497359752655, -0.6609824895858765, 0.8452410101890564, -0.8708060383796692, -0.27991634607315063, -0.32983216643333435, -0.6719075441360474, -0.30195674300193787, 0.8545264005661011, -0.125016450881958, 0.20493867993354797, 0.5344306826591492, 0.9725004434585571, -0.2067779004573822, -0.5533944964408875, 0.081922747194767, 0.08953039348125458, 0.3019881248474121, 0.7077364921569824, 0.6515092849731445, -0.6476578116416931, 0.26668795943260193, -0.5449616312980652, -0.4978088438510895, -0.08378352224826813, -0.9596803188323975, -0.8661924004554749, -0.6877585053443909, -0.6734415888786316, -0.67888343334198, -0.24292001128196716, 0.7196376323699951, 1.1171923875808716, -0.6363486647605896, -0.17269301414489746, -0.3612040877342224, 0.07885108143091202, -0.17222298681735992, -0.2056477963924408, 0.33051976561546326, -0.11174352467060089, -0.8313143849372864, 0.020035436376929283, 0.2100907266139984, 0.5805802941322327, -0.056791309267282486, -0.4122787415981293, -0.3894810974597931, -0.25145408511161804, 0.24428147077560425, 0.4658515453338623, -0.44013020396232605, -0.18668566644191742, -0.28921473026275635, -0.21739591658115387, 0.11425454169511795, 0.4909321069717407, -0.4020034670829773, 0.18001893162727356, 0.5190929174423218, 0.41835105419158936, 0.8274929523468018, -0.15745064616203308, 0.13051795959472656, -0.5400029420852661, 0.5302771925926208, 0.04093939810991287, 0.4532480239868164, 0.08932521194219589, -0.32223403453826904, 0.408191978931427, 0.3201923668384552, -0.7584099769592285, -0.41686999797821045, 0.18485669791698456, -1.349807620048523, -0.11082731932401657, 0.9510834217071533, -0.36918115615844727, -0.39636069536209106, 0.20320294797420502, -0.4519089162349701, 0.3689102530479431, -0.3286108374595642, 0.20665600895881653, 0.3675127625465393, -0.20081733167171478, -0.3746812045574188, -0.3969787657260895, 0.6256304383277893, 0.2595979571342468, -0.7839050889015198, -0.52276211977005, 0.5328863263130188, 0.36113882064819336, 0.292730450630188, 0.8779482841491699, -0.09726101160049438, 0.12303074449300766, -0.10482044517993927, 0.2529642879962921, 0.06817080825567245, -0.1270138919353485, -0.5361445546150208, -0.1574033498764038, -0.2081906795501709, -0.40137535333633423 ]
trl-internal-testing/tiny-random-PegasusXForConditionalGeneration
trl-internal-testing
2023-01-20T14:16:21Z
14,905
0
transformers
[ "transformers", "pytorch", "pegasus_x", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:16: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 ]
trl-internal-testing/tiny-random-PegasusForConditionalGeneration
trl-internal-testing
2023-01-20T14:16:15Z
14,902
0
transformers
[ "transformers", "pytorch", "pegasus", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "region:us" ]
text2text-generation
2023-01-20T14:16:12Z
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 ]
TheBloke/Wizard-Vicuna-30B-Uncensored-GPTQ
TheBloke
2023-09-27T12:44:25Z
14,876
438
transformers
[ "transformers", "safetensors", "llama", "text-generation", "uncensored", "en", "dataset:ehartford/wizard_vicuna_70k_unfiltered", "base_model:ehartford/Wizard-Vicuna-30B-Uncensored", "license:other", "has_space", "text-generation-inference", "4-bit", "region:us" ]
text-generation
2023-05-30T03:11:00Z
--- language: - en license: other tags: - uncensored datasets: - ehartford/wizard_vicuna_70k_unfiltered model_name: Wizard Vicuna 30B Uncensored base_model: ehartford/Wizard-Vicuna-30B-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 --> # Wizard Vicuna 30B Uncensored - GPTQ - Model creator: [Eric Hartford](https://huggingface.co/ehartford) - Original model: [Wizard Vicuna 30B Uncensored](https://huggingface.co/ehartford/Wizard-Vicuna-30B-Uncensored) <!-- description start --> ## Description This repo contains GPTQ model files for [Eric Hartford's Wizard-Vicuna-30B-Uncensored](https://huggingface.co/ehartford/Wizard-Vicuna-30B-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/Wizard-Vicuna-30B-Uncensored-AWQ) * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-GPTQ) * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-GGUF) * [Eric Hartford's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-fp16) <!-- 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 | | ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- | | [main](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-GPTQ/tree/main) | 4 | None | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 16.94 GB | Yes | 4-bit, with Act Order. No group size, to lower VRAM requirements. | | [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-GPTQ/tree/gptq-4bit-32g-actorder_True) | 4 | 32 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 19.44 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/Wizard-Vicuna-30B-Uncensored-GPTQ/tree/gptq-4bit-64g-actorder_True) | 4 | 64 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 18.18 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/Wizard-Vicuna-30B-Uncensored-GPTQ/tree/gptq-4bit-128g-actorder_True) | 4 | 128 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 17.55 GB | Yes | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. | | [gptq-8bit--1g-actorder_True](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-GPTQ/tree/gptq-8bit--1g-actorder_True) | 8 | None | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 32.99 GB | No | 8-bit, with Act Order. No group size, to lower VRAM requirements. | | [gptq-8bit-128g-actorder_False](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-GPTQ/tree/gptq-8bit-128g-actorder_False) | 8 | 128 | No | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 33.73 GB | No | 8-bit, with group size 128g for higher inference quality and without Act Order to improve AutoGPTQ speed. | | [gptq-3bit--1g-actorder_True](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-GPTQ/tree/gptq-3bit--1g-actorder_True) | 3 | None | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 12.92 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_False](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-GPTQ/tree/gptq-3bit-128g-actorder_False) | 3 | 128 | No | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 13.51 GB | No | 3-bit, with group size 128g but no act-order. Slightly higher VRAM requirements than 3-bit None. | <!-- 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/Wizard-Vicuna-30B-Uncensored-GPTQ:main` - With Git, you can clone a branch with: ``` git clone --single-branch --branch main https://huggingface.co/TheBloke/Wizard-Vicuna-30B-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/Wizard-Vicuna-30B-Uncensored-GPTQ`. - To download from a specific branch, enter for example `TheBloke/Wizard-Vicuna-30B-Uncensored-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: `Wizard-Vicuna-30B-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/Wizard-Vicuna-30B-Uncensored-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'''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 Wizard-Vicuna-30B-Uncensored <!-- 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/Jq4vkcDakD">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 --> # Eric Hartford's Wizard-Vicuna-30B-Uncensored GPTQ This is an fp16 models of [Eric Hartford's Wizard-Vicuna 30B](https://huggingface.co/ehartford/Wizard-Vicuna-30B-Uncensored). It is the result of converting Eric's original fp32 upload to fp16. ## Repositories available * [4bit GPTQ models for GPU inference](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-GPTQ). * [4bit and 5bit GGML models for CPU inference](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-GGML). * [float16 HF format model for GPU inference and further conversions](https://huggingface.co/TheBloke/Wizard-Vicuna-30B-Uncensored-fp16). <!-- 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/Jq4vkcDakD) ## 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 **Patreon special mentions**: Aemon Algiz, Dmitriy Samsonov, Nathan LeClaire, Trenton Dambrowitz, Mano Prime, David Flickinger, vamX, Nikolai Manek, senxiiz, Khalefa Al-Ahmad, Illia Dulskyi, Jonathan Leane, Talal Aujan, V. Lukas, Joseph William Delisle, Pyrater, Oscar Rangel, Lone Striker, Luke Pendergrass, Eugene Pentland, Sebastain Graf, Johann-Peter Hartman. Thank you to all my generous patrons and donaters! <!-- footer end --> # Original model card This is [wizard-vicuna-13b](https://huggingface.co/junelee/wizard-vicuna-13b) 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.5425207614898682, -0.7473727464675903, 0.04501061141490936, 0.13256844878196716, -0.22988927364349365, -0.16234591603279114, 0.07715006917715073, -0.5220723152160645, 0.22985441982746124, 0.4262877106666565, -0.5691404342651367, -0.49541300535202026, -0.3359765410423279, -0.06410922110080719, -0.35068488121032715, 1.0121303796768188, 0.10735231637954712, -0.2860841751098633, -0.00019391957903280854, -0.2915538549423218, -0.3763424754142761, -0.47504228353500366, -0.7738143801689148, -0.17047397792339325, 0.36173516511917114, 0.20708857476711273, 0.9389288425445557, 0.5132355093955994, 0.10131634771823883, 0.3063046634197235, 0.09169663488864899, 0.061229050159454346, -0.5191323161125183, -0.23046591877937317, 0.16559664905071259, -0.22252291440963745, -0.596332311630249, 0.11575978249311447, 0.48750290274620056, 0.11746323853731155, -0.3029058575630188, 0.17880825698375702, 0.042997684329748154, 0.7116641998291016, -0.45154523849487305, 0.1843271106481552, -0.37028682231903076, 0.18385353684425354, -0.06978098303079605, 0.03356374055147171, -0.07693933695554733, -0.3959766924381256, 0.050315987318754196, -0.9232404232025146, 0.2797834873199463, 0.06625121831893921, 1.1663693189620972, 0.1684839278459549, -0.6941683292388916, 0.24031569063663483, -0.45196813344955444, 0.5004050135612488, -0.8704274892807007, 0.3295845687389374, 0.5625552535057068, 0.2925582826137543, -0.25008127093315125, -0.8069057464599609, -0.710659921169281, 0.0000952757109189406, -0.18429768085479736, 0.36757808923721313, -0.39075636863708496, 0.128128319978714, 0.5100371837615967, 0.7614180445671082, -0.9491783976554871, -0.18188002705574036, -0.26745760440826416, -0.19343441724777222, 0.9108093976974487, 0.2200627624988556, 0.37613844871520996, -0.24699905514717102, -0.23044328391551971, -0.43947523832321167, -0.529657244682312, 0.08376887440681458, 0.34422409534454346, -0.11813569813966751, -0.4898245930671692, 0.5485597252845764, -0.3764295279979706, 0.4882642924785614, 0.13919605314731598, -0.14579179883003235, 0.28604286909103394, -0.6213200092315674, -0.5155013203620911, -0.33927997946739197, 1.2638671398162842, 0.5167810916900635, -0.17577582597732544, 0.17151927947998047, 0.0630975216627121, -0.18403476476669312, -0.0019467929378151894, -0.958978533744812, -0.6277924180030823, 0.44193729758262634, -0.4154018461704254, -0.16011813282966614, -0.02474825084209442, -0.7226065397262573, -0.10629048943519592, -0.10066892951726913, 0.5674188733100891, -0.667414128780365, -0.45246386528015137, 0.11593916267156601, -0.4649900197982788, 0.5350891351699829, 0.3950037658214569, -0.6918032765388489, 0.5017767548561096, 0.3232480585575104, 0.6323613524436951, 0.0501088984310627, -0.14896376430988312, -0.13745556771755219, 0.09612685441970825, -0.19358330965042114, 0.3589935898780823, -0.09055078774690628, -0.40809839963912964, -0.39501863718032837, 0.3193463087081909, 0.02648475393652916, -0.20859485864639282, 0.46407678723335266, -0.3144340515136719, 0.4751236140727997, -0.45833879709243774, -0.5934682488441467, -0.39060109853744507, 0.07252682745456696, -0.6826949715614319, 1.3202177286148071, 0.4802590608596802, -0.8363767862319946, 0.2658683657646179, -0.49620625376701355, -0.06461668014526367, 0.024723857641220093, -0.046276673674583435, -0.4534558951854706, -0.16907013952732086, 0.18406836688518524, 0.2037915289402008, -0.37783893942832947, 0.140602245926857, -0.21309535205364227, -0.2851770222187042, 0.1474146693944931, -0.7555388808250427, 1.3360284566879272, 0.1315351277589798, -0.485291451215744, -0.10870320349931717, -0.7289828062057495, 0.19666238129138947, 0.4377848505973816, -0.11589580029249191, -0.040452033281326294, -0.23217886686325073, 0.0716342106461525, 0.18423676490783691, 0.2224918007850647, -0.2776920795440674, 0.5187031030654907, -0.16589897871017456, 0.4589637517929077, 0.5749417543411255, 0.11146948486566544, 0.19247187674045563, -0.3651231825351715, 0.530035138130188, -0.019584020599722862, 0.7405197620391846, 0.20420700311660767, -0.7846068739891052, -0.6831805109977722, -0.28173351287841797, 0.36407801508903503, 0.6697496175765991, -0.7779421210289001, 0.5889531970024109, -0.19318366050720215, -0.7773067355155945, -0.35795164108276367, -0.06471798568964005, 0.3485952317714691, 0.35916823148727417, 0.5054646134376526, -0.49343571066856384, -0.23458316922187805, -0.8957859873771667, 0.06352022290229797, -0.46283403038978577, -0.08653868734836578, 0.4490511417388916, 0.6427211761474609, -0.14181585609912872, 0.8133574724197388, -0.6473596692085266, -0.07079897820949554, 0.15034496784210205, 0.04686823487281799, 0.31356096267700195, 0.554249107837677, 0.8042483925819397, -0.7717532515525818, -0.6500253081321716, -0.04640159755945206, -0.6482489705085754, -0.015281634405255318, -0.0324091874063015, -0.5459671020507812, 0.2230701893568039, -0.03598419949412346, -1.0848239660263062, 0.7585743069648743, 0.40566450357437134, -0.7081212401390076, 0.8385283350944519, -0.28359901905059814, 0.3076343834400177, -1.0191854238510132, -0.032506078481674194, 0.0408736988902092, -0.2956632375717163, -0.42405781149864197, -0.030764877796173096, -0.03848147392272949, 0.22528091073036194, -0.3449826240539551, 0.6862529516220093, -0.5561647415161133, 0.03143113851547241, 0.06182246655225754, -0.10301725566387177, 0.365055114030838, 0.6061669588088989, -0.1386612206697464, 0.8005536198616028, 0.5186247825622559, -0.43525636196136475, 0.6634786128997803, 0.42868372797966003, 0.007571230176836252, 0.29248934984207153, -0.7222592234611511, 0.09762977063655853, 0.22189128398895264, 0.35073229670524597, -0.9064902067184448, -0.2484714835882187, 0.5927137732505798, -0.650529682636261, 0.4845108389854431, -0.38852328062057495, -0.5983020663261414, -0.4039316475391388, -0.5581350922584534, 0.33138802647590637, 0.775934100151062, -0.39851462841033936, 0.4380095899105072, 0.3763778507709503, 0.15427792072296143, -0.7163875699043274, -0.6279523372650146, -0.12250266969203949, -0.2816965579986572, -0.5701742768287659, 0.4659704864025116, -0.13241784274578094, 0.022882794961333275, 0.09842721372842789, -0.04390338808298111, -0.09238672256469727, -0.10759268701076508, 0.27794864773750305, 0.3242180347442627, -0.1587999165058136, -0.1532270908355713, 0.2037610411643982, 0.10244261473417282, 0.05754145234823227, -0.3349812924861908, 0.3253832459449768, -0.17054687440395355, -0.04882977530360222, -0.38775452971458435, 0.30130627751350403, 0.5030381679534912, 0.12494868785142899, 0.7871821522712708, 0.9045311808586121, -0.32674703001976013, 0.14308421313762665, -0.5004081726074219, -0.0992119163274765, -0.4928230047225952, 0.17246802151203156, -0.24384553730487823, -0.6459100842475891, 0.5470560193061829, 0.5477999448776245, 0.187151700258255, 0.8459967374801636, 0.3853991627693176, 0.05873161926865578, 0.9962701201438904, 0.309619277715683, -0.17077097296714783, 0.4705491364002228, -0.6344168782234192, -0.15665395557880402, -0.7210392355918884, -0.2072201818227768, -0.28241467475891113, -0.13862664997577667, -0.875806987285614, -0.5910861492156982, 0.3204617500305176, 0.3750729560852051, -0.7715885639190674, 0.5774555802345276, -0.7856590151786804, 0.22582009434700012, 0.6836861968040466, 0.24855662882328033, 0.2384253591299057, 0.04508291557431221, -0.09500990808010101, 0.11518724262714386, -0.6621344685554504, -0.23860019445419312, 1.1070979833602905, 0.29507461190223694, 0.5222406983375549, 0.2907857894897461, 0.3644215762615204, 0.22467906773090363, 0.2439125031232834, -0.5204821228981018, 0.6161637306213379, 0.07870151847600937, -0.7879424691200256, -0.4569855034351349, -0.595378041267395, -0.9151656031608582, 0.3246437907218933, -0.1758124679327011, -0.8048878312110901, 0.40755733847618103, -0.0011498986277729273, -0.2465515434741974, 0.3117755353450775, -0.7759954333305359, 1.0946497917175293, -0.19735123217105865, -0.49060577154159546, -0.01687793806195259, -0.7009651064872742, 0.37243378162384033, 0.21326090395450592, -0.11881554871797562, -0.16088344156742096, -0.1638285517692566, 0.8324072957038879, -0.9705439209938049, 0.6645737886428833, -0.2741051912307739, 0.013468918390572071, 0.5711835622787476, -0.14456182718276978, 0.471675306558609, 0.17598876357078552, 0.14769278466701508, 0.35724884271621704, 0.45295587182044983, -0.5606848001480103, -0.5116231441497803, 0.515749454498291, -1.0289303064346313, -0.5322172045707703, -0.5483463406562805, -0.39760810136795044, -0.09995052218437195, 0.05130009353160858, 0.5647191405296326, 0.39863061904907227, -0.03142907842993736, 0.013462604023516178, 0.6988743543624878, -0.34450167417526245, 0.36126506328582764, 0.3557954728603363, -0.2559390664100647, -0.5887635946273804, 0.8670780062675476, 0.15431180596351624, 0.13958579301834106, 0.22162534296512604, 0.06355535984039307, -0.4824656546115875, -0.4856758117675781, -0.627674400806427, 0.31121960282325745, -0.5646963119506836, -0.4155529737472534, -0.6335509419441223, -0.38692963123321533, -0.45524975657463074, 0.37087172269821167, -0.3734435439109802, -0.7366662621498108, -0.4117964506149292, -0.07490921020507812, 1.034825086593628, 0.414682537317276, -0.15201117098331451, 0.2538793385028839, -0.7933524250984192, 0.27366796135902405, 0.3866928815841675, 0.22542624175548553, -0.029935913160443306, -0.7305858731269836, -0.1387067586183548, 0.11144740879535675, -0.6034775972366333, -1.0760034322738647, 0.7123656272888184, 0.1796439290046692, 0.534264326095581, 0.4652940630912781, 0.22726057469844818, 0.8298339247703552, -0.21391016244888306, 1.0632483959197998, 0.20471535623073578, -0.7740736603736877, 0.47800979018211365, -0.48690345883369446, 0.1498982310295105, 0.4752420485019684, 0.5989992618560791, -0.30168086290359497, -0.3265509307384491, -0.816677987575531, -0.8721014857292175, 0.46077460050582886, 0.4459803104400635, -0.0009500423911958933, 0.09118729829788208, 0.547179639339447, 0.09949424862861633, 0.09068121016025543, -0.7851318120956421, -0.7344642877578735, -0.4353974759578705, -0.10677354782819748, 0.11704130470752716, -0.057682137936353683, -0.26834046840667725, -0.7853748798370361, 0.9440901875495911, -0.1861024647951126, 0.735977828502655, 0.3197270333766937, 0.16679920256137848, 0.0727197676897049, -0.013415864668786526, 0.23217706382274628, 0.5107401013374329, -0.22359827160835266, -0.2805081009864807, 0.12460120767354965, -0.8835512399673462, 0.09782020002603531, 0.3810754120349884, -0.1269482970237732, -0.08365233242511749, 0.11249645054340363, 0.855968713760376, -0.18859300017356873, -0.3081153929233551, 0.48126402497291565, -0.4339296221733093, -0.3525617718696594, -0.40635427832603455, 0.3402217924594879, 0.11695381253957748, 0.4036025106906891, 0.38483768701553345, -0.32993316650390625, 0.41205912828445435, -0.5298126935958862, 0.12434475868940353, 0.5112447142601013, -0.145756334066391, -0.2698604464530945, 0.7553407549858093, -0.17744915187358856, 0.12765103578567505, 0.758325457572937, -0.31149670481681824, -0.40464839339256287, 0.7710663676261902, 0.3172261714935303, 0.7523478269577026, -0.13047011196613312, 0.24508433043956757, 0.5878310799598694, 0.15680404007434845, -0.028908172622323036, 0.32425224781036377, -0.15318629145622253, -0.5903467535972595, -0.2667350471019745, -0.5117017030715942, -0.33346718549728394, 0.28202858567237854, -0.7788156270980835, 0.1135646179318428, -0.3376336395740509, -0.4104519784450531, -0.19423259794712067, 0.5145392417907715, -0.6012137532234192, 0.28776347637176514, -0.05087566748261452, 1.0124526023864746, -0.7405417561531067, 0.9906758069992065, 0.3801501393318176, -0.46427467465400696, -1.0246772766113281, -0.1790992021560669, 0.061047229915857315, -0.4960918724536896, 0.0843774750828743, -0.0457569845020771, 0.3383566737174988, 0.0016063477378338575, -0.672656774520874, -0.852168619632721, 1.5598909854888916, 0.27884161472320557, -0.44726434350013733, -0.14089415967464447, -0.006695067975670099, 0.3714616000652313, -0.020709699019789696, 0.7815521359443665, 0.6584740281105042, 0.39052242040634155, 0.18083606660366058, -0.9168872237205505, 0.36811503767967224, -0.545730710029602, -0.07329526543617249, 0.11904222518205643, -0.9875074625015259, 0.8895335793495178, 0.16058041155338287, -0.12795405089855194, 0.07326290756464005, 0.6948971152305603, 0.36289241909980774, 0.0974033996462822, 0.340037077665329, 0.768976628780365, 0.8504066467285156, -0.30855000019073486, 1.2401232719421387, -0.1767963171005249, 0.48848748207092285, 0.8234935998916626, 0.2140253335237503, 0.6264925003051758, 0.1744244396686554, -0.69852215051651, 0.45085081458091736, 1.047230839729309, -0.10389169305562973, 0.4103739559650421, -0.020284118130803108, -0.3253931403160095, -0.0692720115184784, 0.28146103024482727, -0.7418488264083862, 0.014758192002773285, 0.41118207573890686, -0.13716766238212585, 0.16724495589733124, -0.15278975665569305, 0.021708257496356964, -0.6887764930725098, -0.2091415375471115, 0.5443943738937378, 0.17603690922260284, -0.38518762588500977, 0.9048353433609009, -0.1441955417394638, 0.6304343938827515, -0.5267855525016785, -0.14267103374004364, -0.42522716522216797, -0.12985603511333466, -0.27644863724708557, -0.8071396350860596, 0.13950863480567932, -0.23095262050628662, -0.08699383586645126, 0.13519665598869324, 0.5821678638458252, -0.20542073249816895, -0.3983055651187897, 0.3657410740852356, 0.4039493799209595, 0.4006390869617462, -0.10451621562242508, -1.119400978088379, 0.05190850794315338, -0.011005203239619732, -0.7326238751411438, 0.5064247846603394, 0.5482177734375, 0.07004116475582123, 0.6429088115692139, 0.4863279461860657, -0.11665720492601395, 0.1741422414779663, -0.19333596527576447, 0.9075959920883179, -0.7949351668357849, -0.25597918033599854, -0.6809186339378357, 0.5065516829490662, -0.2339622974395752, -0.41730496287345886, 0.8942513465881348, 0.6771018505096436, 0.6800244450569153, 0.11521325260400772, 0.6703494787216187, -0.33298036456108093, 0.09218455106019974, -0.376676082611084, 0.6910210847854614, -0.7634806036949158, 0.08845719695091248, -0.34574204683303833, -0.7567247152328491, 0.019695701077580452, 0.6295746564865112, -0.11582954972982407, 0.26964202523231506, 0.4267497658729553, 0.8378570079803467, 0.02964298240840435, 0.1384623497724533, 0.2855779528617859, 0.3272700011730194, 0.13729044795036316, 0.85451740026474, 0.6457153558731079, -1.0090548992156982, 0.5260282754898071, -0.44381535053253174, -0.23269440233707428, -0.1103869304060936, -0.6961619257926941, -0.7702274322509766, -0.49338585138320923, -0.6916601657867432, -0.7275483012199402, -0.011360054835677147, 0.8456863164901733, 0.7541788220405579, -0.6262662410736084, -0.22742299735546112, -0.09079305827617645, 0.04990759491920471, -0.3530789017677307, -0.3482789099216461, 0.48553961515426636, 0.3934589624404907, -0.681655764579773, 0.11875171959400177, 0.03315646946430206, 0.3087841272354126, -0.16355033218860626, -0.39249199628829956, -0.1433042734861374, 0.1276410073041916, 0.6006667613983154, 0.6153486967086792, -0.5029078722000122, -0.08986656367778778, -0.11265438050031662, -0.10288938879966736, 0.28525832295417786, 0.17838911712169647, -0.7413783669471741, 0.08119668811559677, 0.49329835176467896, 0.12300187349319458, 0.9542069435119629, 0.033235445618629456, 0.30388906598091125, -0.383096307516098, 0.03791368380188942, 0.11346571892499924, 0.30327871441841125, 0.019177671521902084, -0.6171578168869019, 0.6796301007270813, 0.4097558856010437, -0.6661529541015625, -0.7064980864524841, -0.19556264579296112, -1.2069947719573975, -0.23537255823612213, 1.1153759956359863, -0.1158708706498146, -0.4282757043838501, -0.12825630605220795, -0.22152501344680786, 0.4100233018398285, -0.4436316192150116, 0.2617061734199524, 0.4791159927845001, -0.3526787757873535, -0.4372376799583435, -0.9054849147796631, 0.6192099452018738, 0.16902968287467957, -0.7576023936271667, 0.01502894051373005, 0.6257339715957642, 0.479173868894577, -0.032383404672145844, 0.9741091728210449, -0.2945604622364044, 0.3425229489803314, 0.22456498444080353, 0.04727628082036972, -0.041291866451501846, 0.05132312327623367, -0.28627118468284607, -0.024095896631479263, -0.2091222107410431, -0.05660221725702286 ]
EleutherAI/polyglot-ko-12.8b
EleutherAI
2023-06-07T05:03:56Z
14,864
67
transformers
[ "transformers", "pytorch", "safetensors", "gpt_neox", "text-generation", "causal-lm", "ko", "arxiv:2104.09864", "arxiv:2204.04541", "arxiv:2306.02254", "license:apache-2.0", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2022-10-14T23:46:19Z
--- language: - ko tags: - pytorch - causal-lm license: apache-2.0 --- # Polyglot-Ko-12.8B ## Model Description Polyglot-Ko is a series of large-scale Korean autoregressive language models made by the EleutherAI polyglot team. | Hyperparameter | Value | |----------------------|----------------------------------------------------------------------------------------------------------------------------------------| | \\(n_{parameters}\\) | 12,898,631,680 | | \\(n_{layers}\\) | 40 | | \\(d_{model}\\) | 5120 | | \\(d_{ff}\\) | 20,480 | | \\(n_{heads}\\) | 40 | | \\(d_{head}\\) | 128 | | \\(n_{ctx}\\) | 2,048 | | \\(n_{vocab}\\) | 30,003 / 30,080 | | Positional Encoding | [Rotary Position Embedding (RoPE)](https://arxiv.org/abs/2104.09864) | | RoPE Dimensions | [64](https://github.com/kingoflolz/mesh-transformer-jax/blob/f2aa66e0925de6593dcbb70e72399b97b4130482/mesh_transformer/layers.py#L223) | The model consists of 40 transformer layers with a model dimension of 5120, and a feedforward dimension of 20480. The model dimension is split into 40 heads, each with a dimension of 128. Rotary Position Embedding (RoPE) is applied to 64 dimensions of each head. The model is trained with a tokenization vocabulary of 30003. ## Training data Polyglot-Ko-12.8B was trained on 863 GB of Korean language data (1.2TB before processing), a large-scale dataset curated by [TUNiB](https://tunib.ai/). The data collection process has abided by South Korean laws. This dataset was collected for the purpose of training Polyglot-Ko models, so it will not be released for public use. | Source |Size (GB) | Link | |-------------------------------------|---------|------------------------------------------| | Korean blog posts | 682.3 | - | | Korean news dataset | 87.0 | - | | Modu corpus | 26.4 |corpus.korean.go.kr | | Korean patent dataset | 19.0 | - | | Korean Q & A dataset | 18.1 | - | | KcBert dataset | 12.7 | github.com/Beomi/KcBERT | | Korean fiction dataset | 6.1 | - | | Korean online comments | 4.2 | - | | Korean wikipedia | 1.4 | ko.wikipedia.org | | Clova call | < 1.0 | github.com/clovaai/ClovaCall | | Naver sentiment movie corpus | < 1.0 | github.com/e9t/nsmc | | Korean hate speech dataset | < 1.0 | - | | Open subtitles | < 1.0 | opus.nlpl.eu/OpenSubtitles.php | | AIHub various tasks datasets | < 1.0 |aihub.or.kr | | Standard Korean language dictionary | < 1.0 | stdict.korean.go.kr/main/main.do | Furthermore, in order to avoid the model memorizing and generating personally identifiable information (PII) in the training data, we masked out the following sensitive information in the pre-processing stage: * `<|acc|>` : bank account number * `<|rrn|>` : resident registration number * `<|tell|>` : phone number ## Training procedure Polyglot-Ko-12.8B was trained for 167 billion tokens over 301,000 steps on 256 A100 GPUs with the [GPT-NeoX framework](https://github.com/EleutherAI/gpt-neox). It was trained as an autoregressive language model, using cross-entropy loss to maximize the likelihood of predicting the next token. ## How to use This model can be easily loaded using the `AutoModelForCausalLM` class: ```python from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("EleutherAI/polyglot-ko-12.8b") model = AutoModelForCausalLM.from_pretrained("EleutherAI/polyglot-ko-12.8b") ``` ## Evaluation results We evaluate Polyglot-Ko-3.8B on [KOBEST dataset](https://arxiv.org/abs/2204.04541), a benchmark with 5 downstream tasks, against comparable models such as skt/ko-gpt-trinity-1.2B-v0.5, kakaobrain/kogpt and facebook/xglm-7.5B, using the prompts provided in the paper. The following tables show the results when the number of few-shot examples differ. You can reproduce these results using the [polyglot branch of lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness/tree/polyglot) and the following scripts. For a fair comparison, all models were run under the same conditions and using the same prompts. In the tables, `n` refers to the number of few-shot examples. In case of WiC dataset, all models show random performance. ```console python main.py \ --model gpt2 \ --model_args pretrained='EleutherAI/polyglot-ko-3.8b' \ --tasks kobest_copa,kobest_hellaswag \ --num_fewshot $YOUR_NUM_FEWSHOT \ --batch_size $YOUR_BATCH_SIZE \ --device $YOUR_DEVICE \ --output_path $/path/to/output/ ``` ### COPA (F1) | Model | params | 0-shot | 5-shot | 10-shot | 50-shot | |----------------------------------------------------------------------------------------------|--------|--------|--------|---------|---------| | [skt/ko-gpt-trinity-1.2B-v0.5](https://huggingface.co/skt/ko-gpt-trinity-1.2B-v0.5) | 1.2B | 0.6696 | 0.6477 | 0.6419 | 0.6514 | | [kakaobrain/kogpt](https://huggingface.co/kakaobrain/kogpt) | 6.0B | 0.7345 | 0.7287 | 0.7277 | 0.7479 | | [facebook/xglm-7.5B](https://huggingface.co/facebook/xglm-7.5B) | 7.5B | 0.6723 | 0.6731 | 0.6769 | 0.7119 | | [EleutherAI/polyglot-ko-1.3b](https://huggingface.co/EleutherAI/polyglot-ko-1.3b) | 1.3B | 0.7196 | 0.7193 | 0.7204 | 0.7206 | | [EleutherAI/polyglot-ko-3.8b](https://huggingface.co/EleutherAI/polyglot-ko-3.8b) | 3.8B | 0.7595 | 0.7608 | 0.7638 | 0.7788 | | [EleutherAI/polyglot-ko-5.8b](https://huggingface.co/EleutherAI/polyglot-ko-5.8b) | 5.8B | 0.7745 | 0.7676 | 0.7775 | 0.7887 | | **[EleutherAI/polyglot-ko-12.8b](https://huggingface.co/EleutherAI/polyglot-ko-12.8b) (this)** | **12.8B** | **0.7937** | **0.8108** | **0.8037** | **0.8369** | <img src="https://github.com/EleutherAI/polyglot/assets/19511788/d5b49364-aed5-4467-bae2-5a322c8e2ceb" width="800px"> ### HellaSwag (F1) | Model | params | 0-shot | 5-shot | 10-shot | 50-shot | |----------------------------------------------------------------------------------------------|--------|--------|--------|---------|---------| | [skt/ko-gpt-trinity-1.2B-v0.5](https://huggingface.co/skt/ko-gpt-trinity-1.2B-v0.5) | 1.2B | 0.5243 | 0.5272 | 0.5166 | 0.5352 | | [kakaobrain/kogpt](https://huggingface.co/kakaobrain/kogpt) | 6.0B | 0.5590 | 0.5833 | 0.5828 | 0.5907 | | [facebook/xglm-7.5B](https://huggingface.co/facebook/xglm-7.5B) | 7.5B | 0.5665 | 0.5689 | 0.5565 | 0.5622 | | [EleutherAI/polyglot-ko-1.3b](https://huggingface.co/EleutherAI/polyglot-ko-1.3b) | 1.3B | 0.5247 | 0.5260 | 0.5278 | 0.5427 | | [EleutherAI/polyglot-ko-3.8b](https://huggingface.co/EleutherAI/polyglot-ko-3.8b) | 3.8B | 0.5707 | 0.5830 | 0.5670 | 0.5787 | | [EleutherAI/polyglot-ko-5.8b](https://huggingface.co/EleutherAI/polyglot-ko-5.8b) | 5.8B | 0.5976 | 0.5998 | 0.5979 | 0.6208 | | **[EleutherAI/polyglot-ko-12.8b (this)](https://huggingface.co/EleutherAI/polyglot-ko-12.8b)** | **12.8B** | **0.5954** | **0.6306** | **0.6098** | **0.6118** | <img src="https://github.com/EleutherAI/polyglot/assets/19511788/5acb60ac-161a-4ab3-a296-db4442e08b7f" width="800px"> ### BoolQ (F1) | Model | params | 0-shot | 5-shot | 10-shot | 50-shot | |----------------------------------------------------------------------------------------------|--------|--------|--------|---------|---------| | [skt/ko-gpt-trinity-1.2B-v0.5](https://huggingface.co/skt/ko-gpt-trinity-1.2B-v0.5) | 1.2B | 0.3356 | 0.4014 | 0.3640 | 0.3560 | | [kakaobrain/kogpt](https://huggingface.co/kakaobrain/kogpt) | 6.0B | 0.4514 | 0.5981 | 0.5499 | 0.5202 | | [facebook/xglm-7.5B](https://huggingface.co/facebook/xglm-7.5B) | 7.5B | 0.4464 | 0.3324 | 0.3324 | 0.3324 | | [EleutherAI/polyglot-ko-1.3b](https://huggingface.co/EleutherAI/polyglot-ko-1.3b) | 1.3B | 0.3552 | 0.4751 | 0.4109 | 0.4038 | | [EleutherAI/polyglot-ko-3.8b](https://huggingface.co/EleutherAI/polyglot-ko-3.8b) | 3.8B | 0.4320 | 0.5263 | 0.4930 | 0.4038 | | [EleutherAI/polyglot-ko-5.8b](https://huggingface.co/EleutherAI/polyglot-ko-5.8b) | 5.8B | 0.4356 | 0.5698 | 0.5187 | 0.5236 | | **[EleutherAI/polyglot-ko-12.8b (this)](https://huggingface.co/EleutherAI/polyglot-ko-12.8b)** | **12.8B** | **0.4818** | **0.6041** | **0.6289** | **0.6448** | <img src="https://github.com/EleutherAI/polyglot/assets/19511788/b74c23c0-01f3-4b68-9e10-a48e9aa052ab" width="800px"> ### SentiNeg (F1) | Model | params | 0-shot | 5-shot | 10-shot | 50-shot | |----------------------------------------------------------------------------------------------|--------|--------|--------|---------|---------| | [skt/ko-gpt-trinity-1.2B-v0.5](https://huggingface.co/skt/ko-gpt-trinity-1.2B-v0.5) | 1.2B | 0.6065 | 0.6878 | 0.7280 | 0.8413 | | [kakaobrain/kogpt](https://huggingface.co/kakaobrain/kogpt) | 6.0B | 0.3747 | 0.8942 | 0.9294 | 0.9698 | | [facebook/xglm-7.5B](https://huggingface.co/facebook/xglm-7.5B) | 7.5B | 0.3578 | 0.4471 | 0.3964 | 0.5271 | | [EleutherAI/polyglot-ko-1.3b](https://huggingface.co/EleutherAI/polyglot-ko-1.3b) | 1.3B | 0.6790 | 0.6257 | 0.5514 | 0.7851 | | [EleutherAI/polyglot-ko-3.8b](https://huggingface.co/EleutherAI/polyglot-ko-3.8b) | 3.8B | 0.4858 | 0.7950 | 0.7320 | 0.7851 | | [EleutherAI/polyglot-ko-5.8b](https://huggingface.co/EleutherAI/polyglot-ko-5.8b) | 5.8B | 0.3394 | 0.8841 | 0.8808 | 0.9521 | | **[EleutherAI/polyglot-ko-12.8b (this)](https://huggingface.co/EleutherAI/polyglot-ko-12.8b)** | **12.8B** | **0.9117** | **0.9015** | **0.9345** | **0.9723** | <img src="https://github.com/EleutherAI/polyglot/assets/19511788/95b56b19-d349-4b70-9ff9-94a5560f89ee" width="800px"> ### WiC (F1) | Model | params | 0-shot | 5-shot | 10-shot | 50-shot | |----------------------------------------------------------------------------------------------|--------|--------|--------|---------|---------| | [skt/ko-gpt-trinity-1.2B-v0.5](https://huggingface.co/skt/ko-gpt-trinity-1.2B-v0.5) | 1.2B | 0.3290 | 0.4313 | 0.4001 | 0.3621 | | [kakaobrain/kogpt](https://huggingface.co/kakaobrain/kogpt) | 6.0B | 0.3526 | 0.4775 | 0.4358 | 0.4061 | | [facebook/xglm-7.5B](https://huggingface.co/facebook/xglm-7.5B) | 7.5B | 0.3280 | 0.4903 | 0.4945 | 0.3656 | | [EleutherAI/polyglot-ko-1.3b](https://huggingface.co/EleutherAI/polyglot-ko-1.3b) | 1.3B | 0.3297 | 0.4850 | 0.4650 | 0.3290 | | [EleutherAI/polyglot-ko-3.8b](https://huggingface.co/EleutherAI/polyglot-ko-3.8b) | 3.8B | 0.3390 | 0.4944 | 0.4203 | 0.3835 | | [EleutherAI/polyglot-ko-5.8b](https://huggingface.co/EleutherAI/polyglot-ko-5.8b) | 5.8B | 0.3913 | 0.4688 | 0.4189 | 0.3910 | | **[EleutherAI/polyglot-ko-12.8b](https://huggingface.co/EleutherAI/polyglot-ko-12.8b) (this)** | **12.8B** | **0.3985** | **0.3683** | **0.3307** | **0.3273** | <img src="https://github.com/EleutherAI/polyglot/assets/19511788/4de4a4c3-d7ac-4e04-8b0c-0d533fe88294" width="800px"> ## Limitations and Biases Polyglot-Ko has been trained to optimize next token prediction. Language models such as this are often used for a wide variety of tasks and it is important to be aware of possible unexpected outcomes. For instance, Polyglot-Ko will not always return the most factual or accurate response but the most statistically likely one. In addition, Polyglot may produce socially unacceptable or offensive content. We recommend having a human curator or other filtering mechanism to censor sensitive content. ## Citation and Related Information ### BibTeX entry If you find our work useful, please consider citing: ```bibtex @misc{ko2023technical, title={A Technical Report for Polyglot-Ko: Open-Source Large-Scale Korean Language Models}, author={Hyunwoong Ko and Kichang Yang and Minho Ryu and Taekyoon Choi and Seungmu Yang and jiwung Hyun and Sungho Park}, year={2023}, eprint={2306.02254}, archivePrefix={arXiv}, primaryClass={cs.CL} } ``` ### Licensing All our models are licensed under the terms of the Apache License 2.0. ``` Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ``` ### Acknowledgement This project was made possible thanks to the computing resources from [Stability.ai](https://stability.ai), and thanks to [TUNiB](https://tunib.ai) for providing a large-scale Korean dataset for this work.
[ -0.674809455871582, -0.7019516825675964, 0.27082309126853943, 0.06776805967092514, -0.5276156663894653, 0.025782518088817596, -0.12798957526683807, -0.5388345122337341, 0.4207901358604431, 0.17464718222618103, -0.4756290912628174, -0.6636080741882324, -0.746009886264801, -0.10389138758182526, -0.07485929876565933, 1.2707937955856323, -0.0447227917611599, -0.22273649275302887, 0.016900012269616127, -0.06741778552532196, -0.11367005109786987, -0.645235002040863, -0.566575825214386, -0.4858584702014923, 0.3369251787662506, 0.009048913605511189, 0.8506821990013123, 0.45311811566352844, 0.3619706928730011, 0.3170289397239685, -0.29200640320777893, 0.043163321912288666, -0.5036901831626892, -0.490245521068573, 0.25922587513923645, -0.5216217637062073, -0.8105039596557617, -0.03820109739899635, 0.626069188117981, 0.2814394235610962, -0.141496479511261, 0.44147202372550964, 0.0010363904293626547, 0.6490874290466309, -0.4445094168186188, 0.2777615785598755, -0.3585989773273468, 0.1850675791501999, -0.4294918477535248, 0.2874448895454407, -0.25720328092575073, -0.3977031111717224, 0.16731224954128265, -0.5903843641281128, 0.04727346822619438, -0.023748494684696198, 1.3250296115875244, -0.030530860647559166, -0.20300045609474182, -0.04932473599910736, -0.5562227964401245, 0.7604483962059021, -1.0750555992126465, 0.25589463114738464, 0.3360869884490967, 0.1232200488448143, 0.009375151246786118, -0.6940805315971375, -0.5941643714904785, 0.015681451186537743, -0.3920961022377014, 0.477537602186203, -0.24949730932712555, 0.03680327162146568, 0.4910551607608795, 0.45864084362983704, -0.7841541767120361, -0.08639136701822281, -0.5305933952331543, -0.3117961287498474, 0.934578537940979, 0.23217268288135529, 0.41009193658828735, -0.3291912376880646, -0.30779507756233215, -0.3429218828678131, -0.3015248775482178, 0.42281970381736755, 0.5456940531730652, -0.01661357469856739, -0.7248745560646057, 0.5602806210517883, -0.21709929406642914, 0.6731169819831848, 0.20948442816734314, -0.5022750496864319, 0.6839872002601624, -0.37862446904182434, -0.3535047173500061, -0.08581650257110596, 1.1416850090026855, 0.4688730835914612, 0.3024860918521881, 0.18379296362400055, -0.11865593492984772, -0.013823247514665127, -0.15106350183486938, -0.8281728625297546, -0.2911176085472107, 0.22774286568164825, -0.5775803327560425, -0.36403560638427734, 0.35238194465637207, -0.836570143699646, 0.039008256047964096, -0.17480280995368958, 0.3945215344429016, -0.479848712682724, -0.4323900640010834, 0.2360645830631256, 0.006387760397046804, 0.4674573540687561, 0.2137734293937683, -0.579669177532196, 0.22618800401687622, 0.3812811076641083, 0.9091222286224365, -0.15428560972213745, -0.340345561504364, -0.03488285467028618, -0.0215969979763031, -0.22750815749168396, 0.5826274156570435, -0.18269379436969757, -0.19487887620925903, -0.3370831310749054, 0.17191411554813385, -0.3380409777164459, -0.3186313807964325, 0.44136980175971985, -0.18383681774139404, 0.2834049165248871, -0.051064521074295044, -0.48110201954841614, -0.4407859146595001, 0.0719931423664093, -0.5251592993736267, 1.0702979564666748, 0.16625671088695526, -0.9957446455955505, 0.24988912045955658, -0.35673779249191284, -0.03227163478732109, -0.09266937524080276, 0.007052642293274403, -0.8477172255516052, 0.11253063380718231, 0.28534218668937683, 0.3311869204044342, -0.37103018164634705, 0.02780666947364807, -0.31866222620010376, -0.28317874670028687, -0.02574406936764717, -0.14645449817180634, 1.0079697370529175, 0.1256376951932907, -0.4959234595298767, -0.019313424825668335, -0.8888459205627441, 0.24557043612003326, 0.553510844707489, -0.13908684253692627, -0.09281983971595764, -0.34997567534446716, -0.10025985538959503, 0.4822137951850891, 0.31925612688064575, -0.5436576008796692, 0.21267417073249817, -0.5397126078605652, -0.025703249499201775, 0.70175701379776, -0.09186159074306488, 0.18249474465847015, -0.5184491276741028, 0.8419714570045471, 0.1809762865304947, 0.46859461069107056, 0.03694650158286095, -0.6876206398010254, -0.759083092212677, -0.380813866853714, 0.2613871395587921, 0.5937514901161194, -0.656244158744812, 0.5292039513587952, -0.040907032787799835, -0.9076018333435059, -0.730752170085907, 0.13390226662158966, 0.4831840991973877, 0.3228137791156769, 0.18967634439468384, -0.25993645191192627, -0.5189021825790405, -0.9987779259681702, -0.008461063727736473, -0.1842726767063141, 0.18127261102199554, 0.4348306655883789, 0.6957054138183594, -0.03330804407596588, 0.8301355838775635, -0.7612692713737488, -0.09975970536470413, -0.35066303610801697, 0.22177346050739288, 0.7051246762275696, 0.40945863723754883, 0.9063887596130371, -0.6751362085342407, -1.0927590131759644, 0.13887523114681244, -1.00688636302948, -0.13015547394752502, 0.050443850457668304, -0.10217590630054474, 0.32315173745155334, 0.2448621541261673, -0.8887717723846436, 0.6652432084083557, 0.6635238528251648, -0.402108371257782, 0.9598425030708313, -0.11944466829299927, -0.03345610573887825, -1.0403051376342773, 0.07111172378063202, -0.17968381941318512, -0.2677166759967804, -0.6860617995262146, -0.03241407498717308, -0.17205321788787842, 0.08195219188928604, -0.7071983218193054, 0.6474445462226868, -0.47802039980888367, 0.07452709227800369, -0.268899142742157, 0.013603470288217068, -0.12400242686271667, 0.6011188626289368, -0.02427278645336628, 0.615627110004425, 0.9563206434249878, -0.2789549231529236, 0.6690191030502319, 0.04752633720636368, -0.28514379262924194, 0.2630784511566162, -0.8734340071678162, 0.31029555201530457, -0.24730761349201202, 0.4344818592071533, -0.8588168621063232, -0.21681524813175201, 0.3957267999649048, -0.4602493941783905, 0.08225984871387482, -0.3958583474159241, -0.5872856378555298, -0.6995893716812134, -0.6569101214408875, 0.46684345602989197, 0.7586350440979004, -0.26787450909614563, 0.5039766430854797, 0.21636119484901428, -0.15223181247711182, -0.469738245010376, -0.4215468168258667, -0.3581545948982239, -0.3754422962665558, -0.8551584482192993, 0.3161509037017822, 0.021125368773937225, 0.018185574561357498, -0.005005654878914356, 0.0024083454627543688, 0.09020178765058517, -0.3611091673374176, 0.27836906909942627, 0.5411346554756165, -0.24912403523921967, -0.24154694378376007, -0.21709124743938446, -0.20765645802021027, -0.041081301867961884, -0.138411283493042, 0.8946489095687866, -0.4130112826824188, -0.19416849315166473, -0.7279382348060608, 0.04013700410723686, 0.7906588912010193, -0.1341671347618103, 0.968059241771698, 1.086459994316101, -0.33855709433555603, 0.27809005975723267, -0.48296865820884705, -0.031216418370604515, -0.48201632499694824, 0.09943050891160965, -0.4816330671310425, -0.5737974643707275, 0.9485938549041748, 0.20791059732437134, 0.009838597849011421, 0.7311979532241821, 0.6576598882675171, 0.0002934445801656693, 1.1989341974258423, 0.39536741375923157, -0.22988615930080414, 0.40998804569244385, -0.623013973236084, 0.20662061870098114, -0.8570078015327454, -0.37754642963409424, -0.09175033122301102, -0.21409542858600616, -0.8488680720329285, -0.39665594696998596, 0.523927628993988, 0.3182803690433502, -0.18492211401462555, 0.5297423601150513, -0.415219783782959, 0.27975553274154663, 0.4746168553829193, 0.11011283099651337, 0.03396407142281532, -0.025908488780260086, -0.3928696811199188, -0.025169571861624718, -0.7175353169441223, -0.3226584196090698, 1.039052963256836, 0.435483455657959, 0.9134184122085571, 0.04118049144744873, 0.8093712329864502, -0.09694991260766983, -0.03881559520959854, -0.641741156578064, 0.5874833464622498, -0.07451610267162323, -0.652130126953125, -0.25667452812194824, -0.43121084570884705, -0.8485619425773621, 0.3889184594154358, -0.2545708417892456, -1.0450515747070312, 0.10650172829627991, 0.24582786858081818, -0.47546151280403137, 0.5765374898910522, -0.7252516150474548, 0.7568715214729309, -0.18623216450214386, -0.33446142077445984, 0.010828125290572643, -0.5606429576873779, 0.3427242636680603, -0.07100067287683487, 0.009249473921954632, -0.22670453786849976, 0.20016171038150787, 0.7371957302093506, -0.6450740098953247, 0.7144843935966492, -0.2255692034959793, -0.032973870635032654, 0.6303960680961609, -0.1860714852809906, 0.7963816523551941, 0.017703883349895477, -0.02149007096886635, 0.27774450182914734, 0.0318901352584362, -0.49426454305648804, -0.5316267609596252, 0.4988740384578705, -0.8549742102622986, -0.5387135148048401, -0.7202177047729492, -0.5672589540481567, 0.16408365964889526, 0.22459028661251068, 0.6615298390388489, 0.2825002074241638, 0.2587217688560486, 0.23644812405109406, 0.4030652344226837, -0.49987244606018066, 0.5238387584686279, 0.17618197202682495, -0.45078739523887634, -0.5286644101142883, 0.8674978017807007, 0.2562587857246399, 0.4644596576690674, -0.09992201626300812, 0.2986924350261688, -0.34087201952934265, -0.376321017742157, -0.3346980810165405, 0.6583999991416931, -0.41558966040611267, -0.22176161408424377, -0.4504217207431793, -0.5796853303909302, -0.6046979427337646, -0.06608204543590546, -0.5480959415435791, -0.2874307632446289, -0.09682916849851608, -0.13261517882347107, 0.4768412411212921, 0.6952901482582092, -0.012310860678553581, 0.4028763473033905, -0.5917964577674866, 0.2864730656147003, 0.3493151366710663, 0.3795112371444702, 0.04161451384425163, -0.7387309670448303, -0.21567487716674805, 0.07126694917678833, -0.3240334987640381, -0.7684329152107239, 0.5439757704734802, 0.07557347416877747, 0.4924839735031128, 0.3286367952823639, -0.06090586632490158, 0.8343966007232666, -0.39079520106315613, 0.8364337682723999, 0.3730071783065796, -0.7830706238746643, 0.7174012660980225, -0.395471453666687, 0.6109630465507507, 0.26779019832611084, 0.5729702711105347, -0.3846900761127472, -0.3118285536766052, -0.8639090061187744, -0.9091941714286804, 1.1557765007019043, 0.4815305471420288, -0.05773964896798134, 0.19520439207553864, 0.2833777666091919, -0.04502667486667633, 0.05172117426991463, -1.0245580673217773, -0.6127978563308716, -0.3038595914840698, -0.1844223141670227, 0.02822546660900116, -0.2334926724433899, 0.023596402257680893, -0.6092028021812439, 0.8447679281234741, -0.0022662708070129156, 0.45539116859436035, 0.18505054712295532, -0.17870713770389557, 0.045594945549964905, -0.07544015347957611, 0.7334746718406677, 0.7704839706420898, -0.4203188717365265, -0.14956673979759216, 0.4266296327114105, -0.6518002152442932, 0.10663237422704697, 0.02063412219285965, -0.37282201647758484, 0.18889452517032623, 0.37111207842826843, 1.0874371528625488, -0.23684902489185333, -0.4202691316604614, 0.5208559632301331, 0.0735209733247757, -0.3094709515571594, -0.4156568944454193, 0.08938281983137131, 0.12609072029590607, 0.2166833132505417, 0.25835198163986206, -0.30249831080436707, -0.16168349981307983, -0.43572744727134705, 0.22253762185573578, 0.29729169607162476, -0.20285499095916748, -0.5465232729911804, 0.47721385955810547, -0.16623657941818237, -0.07866433262825012, 0.4663532078266144, -0.3516944348812103, -0.5979068279266357, 0.686043381690979, 0.6236239075660706, 0.799552857875824, -0.3195320963859558, 0.3118397891521454, 0.7261433005332947, 0.24844887852668762, -0.012156074866652489, 0.26187923550605774, 0.39398103952407837, -0.5970569252967834, -0.31461283564567566, -0.8437046408653259, 0.1266654133796692, 0.48993974924087524, -0.6426588296890259, 0.39207398891448975, -0.567366898059845, -0.48070457577705383, 0.1330280750989914, 0.02866482548415661, -0.5756074786186218, 0.15473654866218567, 0.3273923695087433, 0.7150205969810486, -1.0073437690734863, 0.8876612782478333, 0.7437756657600403, -0.5367034077644348, -0.7605779767036438, -0.08777377009391785, 0.27601778507232666, -0.8015878796577454, 0.47823140025138855, 0.053792644292116165, -0.02601495571434498, -0.09372902661561966, -0.45890218019485474, -1.101854920387268, 1.3110527992248535, 0.5036894083023071, -0.54792320728302, -0.08730439096689224, 0.2812832295894623, 0.62244713306427, -0.23307061195373535, 0.49486619234085083, 0.460947185754776, 0.46940404176712036, -0.03681950643658638, -1.280106544494629, 0.07318232208490372, -0.3428989350795746, 0.07747859507799149, 0.1946425437927246, -1.1865314245224, 1.0612682104110718, -0.03452904522418976, 0.021334649994969368, -0.1896190494298935, 0.4762449562549591, 0.4793458878993988, 0.09143203496932983, 0.6485746502876282, 0.8282577991485596, 0.4378487169742584, -0.15830068290233612, 1.2535951137542725, -0.22873811423778534, 0.8040711879730225, 0.942803680896759, 0.19372066855430603, 0.45606768131256104, 0.1291925460100174, -0.504193127155304, 0.5690754652023315, 0.6386682391166687, -0.15259946882724762, 0.3601208031177521, 0.15300729870796204, -0.2858685255050659, -0.194740429520607, -0.0575532428920269, -0.44216233491897583, 0.5582987070083618, 0.06973008066415787, -0.22234907746315002, -0.166558176279068, 0.17257048189640045, 0.30012190341949463, -0.33041509985923767, -0.2660841643810272, 0.7906767129898071, 0.2206440269947052, -0.5211441516876221, 0.8816651701927185, -0.14662069082260132, 0.7459251284599304, -0.6834596395492554, 0.1760556846857071, -0.14969465136528015, 0.06806560605764389, -0.374360054731369, -0.8339197039604187, 0.23431088030338287, 0.047751255333423615, -0.15596655011177063, 0.09125972539186478, 0.7272924184799194, -0.2932395339012146, -0.7469220161437988, 0.5209368467330933, 0.2557058334350586, 0.40674957633018494, 0.04739914834499359, -1.1705255508422852, 0.13806140422821045, 0.14017949998378754, -0.5150941014289856, 0.32834574580192566, 0.256327360868454, 0.05355803668498993, 0.5262758135795593, 0.6040903925895691, 0.34001633524894714, 0.4316858649253845, 0.21900674700737, 0.7875257134437561, -0.6396377086639404, -0.34973666071891785, -0.9674819707870483, 0.6050515174865723, -0.2374327927827835, -0.4196433424949646, 0.780025064945221, 0.6593835353851318, 1.0004198551177979, -0.1538800448179245, 0.6749032139778137, -0.3972526788711548, 0.2854459583759308, -0.46324774622917175, 0.6209583878517151, -0.4872322678565979, -0.06827475875616074, -0.4827391803264618, -0.9378940463066101, -0.08079784363508224, 0.7147945165634155, -0.28154999017715454, 0.21394139528274536, 0.5787051320075989, 0.7615906596183777, -0.11375585198402405, -0.42899394035339355, 0.2526193857192993, 0.38889068365097046, 0.2131541669368744, 0.7499887347221375, 0.5784102082252502, -0.8106419444084167, 0.5834541916847229, -0.7050787806510925, -0.17422033846378326, -0.22029386460781097, -0.6068695187568665, -0.9385807514190674, -0.43206411600112915, -0.45189154148101807, -0.26034286618232727, -0.0830286517739296, 1.0223534107208252, 0.8843682408332825, -0.7939265370368958, -0.41546693444252014, 0.06770071387290955, 0.09464024752378464, -0.28232279419898987, -0.29773572087287903, 0.5657679438591003, -0.13035739958286285, -0.999099850654602, -0.08591090887784958, 0.1269206702709198, 0.45520684123039246, 0.06872155517339706, -0.17554351687431335, -0.41904109716415405, -0.023706089705228806, 0.7333572506904602, 0.27568528056144714, -0.8211167454719543, -0.286529541015625, -0.07135369628667831, -0.029761873185634613, 0.1905590444803238, 0.27474039793014526, -0.4613135755062103, 0.416526198387146, 0.7797605991363525, 0.18811994791030884, 0.9431882500648499, 0.13162861764431, 0.4215698838233948, -0.607337236404419, 0.4388566017150879, 0.07046344131231308, 0.29969096183776855, 0.04925202205777168, -0.306569367647171, 0.6555869579315186, 0.4663694202899933, -0.421278715133667, -0.8165779709815979, -0.06701523065567017, -1.1097694635391235, -0.12447409331798553, 1.0618577003479004, -0.3647136092185974, -0.3339639902114868, 0.1399010270833969, -0.23276261985301971, 0.2074456512928009, -0.21636439859867096, 0.5918759703636169, 0.9321498274803162, -0.4306972920894623, -0.3170805275440216, -0.732394814491272, 0.5656452775001526, 0.4074282646179199, -0.8370055556297302, -0.0965944230556488, 0.04992881789803505, 0.33719050884246826, 0.3593810200691223, 0.6693297028541565, -0.37517857551574707, 0.36935538053512573, -0.08640985190868378, 0.15849104523658752, 0.07491528242826462, -0.23001748323440552, -0.28783994913101196, -0.16764087975025177, -0.21416644752025604, -0.18115925788879395 ]
CAMeL-Lab/bert-base-arabic-camelbert-da-sentiment
CAMeL-Lab
2021-10-17T11:15:54Z
14,860
26
transformers
[ "transformers", "pytorch", "tf", "bert", "text-classification", "ar", "arxiv:2103.06678", "license:apache-2.0", "endpoints_compatible", "has_space", "region:us" ]
text-classification
2022-03-02T23:29:04Z
--- language: - ar license: apache-2.0 widget: - text: "أنا بخير" --- # CAMeLBERT-DA SA Model ## Model description **CAMeLBERT-DA SA Model** is a Sentiment Analysis (SA) model that was built by fine-tuning the [CAMeLBERT Dialectal Arabic (DA)](https://huggingface.co/CAMeL-Lab/bert-base-arabic-camelbert-da/) model. For the fine-tuning, we used the [ASTD](https://aclanthology.org/D15-1299.pdf), [ArSAS](http://lrec-conf.org/workshops/lrec2018/W30/pdf/22_W30.pdf), and [SemEval](https://aclanthology.org/S17-2088.pdf) datasets. Our fine-tuning procedure and the hyperparameters we used can be found in our paper *"[The Interplay of Variant, Size, and Task Type in Arabic Pre-trained Language Models](https://arxiv.org/abs/2103.06678)." * Our fine-tuning code can be found [here](https://github.com/CAMeL-Lab/CAMeLBERT). ## Intended uses You can use the CAMeLBERT-DA SA model directly as part of our [CAMeL Tools](https://github.com/CAMeL-Lab/camel_tools) SA component (*recommended*) or as part of the transformers pipeline. #### How to use To use the model with the [CAMeL Tools](https://github.com/CAMeL-Lab/camel_tools) SA component: ```python >>> from camel_tools.sentiment import SentimentAnalyzer >>> sa = SentimentAnalyzer("CAMeL-Lab/bert-base-arabic-camelbert-da-sentiment") >>> sentences = ['أنا بخير', 'أنا لست بخير'] >>> sa.predict(sentences) >>> ['positive', 'negative'] ``` You can also use the SA model directly with a transformers pipeline: ```python >>> from transformers import pipeline >>> sa = pipeline('text-classification', model='CAMeL-Lab/bert-base-arabic-camelbert-da-sentiment') >>> sentences = ['أنا بخير', 'أنا لست بخير'] >>> sa(sentences) [{'label': 'positive', 'score': 0.9616648554801941}, {'label': 'negative', 'score': 0.9779177904129028}] ``` *Note*: to download our models, you would need `transformers>=3.5.0`. Otherwise, you could download the models manually. ## Citation ```bibtex @inproceedings{inoue-etal-2021-interplay, title = "The Interplay of Variant, Size, and Task Type in {A}rabic Pre-trained Language Models", author = "Inoue, Go and Alhafni, Bashar and Baimukan, Nurpeiis and Bouamor, Houda and Habash, Nizar", booktitle = "Proceedings of the Sixth Arabic Natural Language Processing Workshop", month = apr, year = "2021", address = "Kyiv, Ukraine (Online)", publisher = "Association for Computational Linguistics", abstract = "In this paper, we explore the effects of language variants, data sizes, and fine-tuning task types in Arabic pre-trained language models. To do so, we build three pre-trained language models across three variants of Arabic: Modern Standard Arabic (MSA), dialectal Arabic, and classical Arabic, in addition to a fourth language model which is pre-trained on a mix of the three. We also examine the importance of pre-training data size by building additional models that are pre-trained on a scaled-down set of the MSA variant. We compare our different models to each other, as well as to eight publicly available models by fine-tuning them on five NLP tasks spanning 12 datasets. Our results suggest that the variant proximity of pre-training data to fine-tuning data is more important than the pre-training data size. We exploit this insight in defining an optimized system selection model for the studied tasks.", } ```
[ -0.6818744540214539, -0.6834250092506409, -0.006962477695196867, 0.283068984746933, -0.3710629940032959, -0.0430329293012619, -0.3243250846862793, -0.44196003675460815, 0.13311083614826202, 0.4325236976146698, -0.5801034569740295, -0.6054592132568359, -0.8902665972709656, 0.07821262627840042, -0.29235705733299255, 1.4072738885879517, -0.23107601702213287, 0.11558136343955994, 0.07093176245689392, -0.3930585980415344, -0.21518205106258392, -0.6682942509651184, -0.40426576137542725, -0.26611217856407166, 0.49084174633026123, 0.37551748752593994, 1.046046495437622, 0.31316110491752625, 0.49690306186676025, 0.28244268894195557, -0.003066107863560319, 0.10170398652553558, -0.25751590728759766, 0.06372105330228806, 0.1285538524389267, -0.1923608034849167, -0.3062662184238434, 0.11148805916309357, 0.46930593252182007, 0.6912655830383301, -0.14259622991085052, 0.41691845655441284, 0.08657736331224442, 0.7242241501808167, -0.6895484924316406, 0.09067954868078232, -0.4992629885673523, -0.3366104066371918, -0.19390392303466797, 0.25612276792526245, -0.11061134934425354, -0.27538198232650757, 0.27560514211654663, -0.15173862874507904, 0.1149630919098854, 0.049121975898742676, 1.306293249130249, 0.5000150799751282, -0.46652209758758545, -0.36821720004081726, -0.625560998916626, 1.0923652648925781, -1.0174287557601929, 0.15304841101169586, 0.4512844681739807, 0.23686610162258148, -0.15102867782115936, -0.6122457385063171, -0.682461678981781, -0.4513058364391327, -0.10709625482559204, -0.12355141341686249, -0.21483638882637024, 0.08249738812446594, 0.19965431094169617, 0.3798704445362091, -0.41561034321784973, -0.027250541374087334, -0.20677320659160614, -0.18082933127880096, 0.5657749772071838, 0.08461980521678925, 0.32394149899482727, -0.16488635540008545, 0.004201814532279968, -0.11900902539491653, -0.6795530915260315, 0.23931829631328583, 0.5227311253547668, 0.45877113938331604, -0.30726638436317444, 0.595127522945404, -0.3051210641860962, 0.9021794199943542, -0.00169077655300498, 0.003617872716858983, 0.41804513335227966, -0.2459568977355957, -0.2948797941207886, -0.13937249779701233, 0.8369498252868652, 0.020525997504591942, 0.2807154655456543, 0.1273738443851471, -0.3271430432796478, 0.17154178023338318, 0.23707574605941772, -1.0549370050430298, -0.22033512592315674, 0.2329503297805786, -0.5902079939842224, -0.14438726007938385, -0.21736638247966766, -0.4115040898323059, -0.12041594833135605, -0.3166678845882416, 0.606105387210846, -0.5708590149879456, -0.07681386172771454, 0.3480154871940613, 0.16354526579380035, 0.16456155478954315, 0.15141086280345917, -0.7689913511276245, 0.28408852219581604, 0.3005649745464325, 0.7203078866004944, -0.18543708324432373, -0.27540770173072815, -0.3476639986038208, -0.1292228102684021, -0.08422231674194336, 0.5382225513458252, -0.6204041242599487, -0.5586426854133606, 0.219584658741951, -0.31586819887161255, 0.005988290533423424, -0.5123060941696167, 0.7854416370391846, -0.5943878889083862, 0.22573840618133545, -0.2646314203739166, -0.5464996695518494, -0.429699182510376, 0.13477723300457, -0.6671401858329773, 1.096730351448059, 0.16103321313858032, -1.0101972818374634, 0.24901887774467468, -0.8184418082237244, -0.5919877886772156, -0.21960870921611786, -0.035497620701789856, -0.6247749328613281, -0.05917370319366455, 0.28607091307640076, 0.3851083219051361, -0.45965883135795593, 0.15816742181777954, -0.21413226425647736, -0.2774772644042969, 0.3392598628997803, -0.24380852282047272, 0.8362628817558289, 0.33384039998054504, -0.43475160002708435, 0.2632957398891449, -0.7964807748794556, -0.04681241884827614, -0.15089775621891022, -0.3094174861907959, -0.1735956072807312, 0.11196910589933395, 0.3275580108165741, 0.4985029995441437, 0.5374090671539307, -0.5771196484565735, 0.181928813457489, -0.5866920948028564, 0.39512163400650024, 0.47511953115463257, -0.1259533017873764, 0.25447481870651245, -0.575488269329071, 0.6163694858551025, 0.2453354299068451, 0.1593705415725708, 0.37744343280792236, -0.34363776445388794, -1.158270001411438, -0.5030950307846069, 0.5505263209342957, 0.31888893246650696, -0.6498080492019653, 0.6883390545845032, -0.13959679007530212, -0.8590956926345825, -0.7930751442909241, -0.030658317729830742, 0.24880103766918182, 0.20908361673355103, 0.5214229226112366, -0.34859699010849, -0.5806782245635986, -1.070543885231018, -0.4618440270423889, 0.008134007453918457, 0.15260852873325348, 0.24716024100780487, 0.6185849905014038, -0.618933379650116, 1.0830793380737305, -0.5159529447555542, -0.20917050540447235, -0.4451107978820801, 0.4182218611240387, 0.3606695234775543, 0.5552659630775452, 0.7608968019485474, -0.6795837879180908, -0.6763694286346436, -0.18498684465885162, -0.25401490926742554, -0.006353385746479034, 0.2444859892129898, -0.12965716421604156, 0.4854101538658142, 0.21964572370052338, -0.850377082824707, 0.5629305839538574, 0.6504533886909485, -0.3198918104171753, 0.7596986889839172, -0.10704977065324783, 0.05275047570466995, -1.0417853593826294, 0.022509561851620674, 0.024392306804656982, 0.060069430619478226, -0.6565490961074829, 0.03174713999032974, -0.17415611445903778, 0.1286073476076126, -0.3229221999645233, 0.5809429883956909, -0.24182799458503723, 0.18903839588165283, -0.2954876720905304, -0.306282103061676, -0.14218249917030334, 0.6290287971496582, -0.12170130014419556, 0.897408664226532, 0.6105413436889648, -0.6424089670181274, -0.13223254680633545, 0.256182998418808, -0.6691414713859558, -0.13946661353111267, -0.8791115880012512, 0.05326949805021286, -0.025224613025784492, 0.1317533552646637, -1.043473482131958, 0.0006328891613520682, 0.242967888712883, -0.3902805745601654, 0.1830866038799286, 0.12975618243217468, -0.6778935790061951, -0.1273367702960968, -0.2520638406276703, 0.5616441369056702, 0.6251389384269714, -0.21545305848121643, 0.8338930606842041, 0.20071937143802643, -0.22494414448738098, -0.8197398781776428, -0.43754640221595764, -0.22505100071430206, -0.24531672894954681, -0.5160236358642578, 0.32816046476364136, -0.31309208273887634, -0.15464796125888824, -0.14165177941322327, -0.057445548474788666, -0.07614080607891083, 0.13506446778774261, 0.46630239486694336, 0.3851611912250519, -0.01023020874708891, 0.16821208596229553, 0.2529100775718689, 0.08896920830011368, -0.12584137916564941, 0.028211873024702072, 0.9046131372451782, -0.26537755131721497, -0.14128544926643372, -0.4912731349468231, 0.3808910846710205, 0.5604448914527893, -0.5785088539123535, 1.2303440570831299, 0.7851365804672241, -0.18919838964939117, 0.018471311777830124, -0.4986760914325714, -0.13954317569732666, -0.5147660970687866, 0.4863726794719696, -0.44727611541748047, -0.9287398457527161, 0.4211333394050598, 0.14553000032901764, 0.13923873007297516, 0.6739468574523926, 0.8494231700897217, 0.04239937663078308, 1.2628072500228882, 0.8231726884841919, -0.4561670124530792, 0.5426576137542725, -0.35044237971305847, 0.4179680645465851, -0.5480216145515442, 0.06648730486631393, -0.8905307054519653, -0.3473164141178131, -0.7496026754379272, -0.1790989488363266, 0.2910786271095276, 0.15908348560333252, -0.7332642674446106, 0.24415241181850433, -0.2166721373796463, -0.07508732378482819, 0.6652989387512207, -0.10616569221019745, 0.08579147607088089, 0.14386199414730072, -0.05305562540888786, -0.012358252890408039, -0.6199989318847656, -0.7798131704330444, 1.1893198490142822, 0.18952879309654236, 0.6483047604560852, 0.2298334240913391, 0.8176172971725464, 0.33539706468582153, 0.2854227125644684, -0.7852734923362732, 0.46970152854919434, -0.1488022357225418, -0.5753670930862427, -0.3448464274406433, -0.19330307841300964, -0.9927722215652466, 0.17027418315410614, -0.26310059428215027, -0.5574975609779358, 0.12133072316646576, 0.00167716178111732, -0.394817054271698, -0.11970150470733643, -0.5617969036102295, 0.8600733876228333, 0.0654187947511673, 0.10339803993701935, -0.5084268450737, -0.6612421274185181, -0.030713951215147972, -0.06976934522390366, 0.2567717730998993, -0.20204079151153564, -0.020232394337654114, 0.8869566917419434, -0.598412811756134, 0.8461899161338806, -0.009136716835200787, 0.0018481246661394835, 0.3597058057785034, 0.1441638171672821, 0.43823498487472534, -0.09768283367156982, -0.3072196841239929, 0.41474127769470215, 0.1765652447938919, -0.6589299440383911, -0.43063151836395264, 0.6468015909194946, -1.4707268476486206, -0.6014012694358826, -0.4970979690551758, -0.8630117774009705, -0.2788739502429962, 0.11018986254930496, 0.4345710277557373, 0.4597741663455963, -0.04985089227557182, 0.07941368967294693, 0.14325383305549622, -0.22483603656291962, 0.43952476978302, 0.5546970367431641, -0.1324564665555954, -0.017088131979107857, 0.789258599281311, 0.19942724704742432, 0.214155912399292, 0.2411583960056305, 0.0012575783766806126, -0.07461494207382202, -0.721210241317749, -0.31784066557884216, 0.28096500039100647, -0.5942280292510986, -0.1836247444152832, -0.7803206443786621, -0.24006448686122894, -0.42674577236175537, 0.06844209879636765, -0.2239517867565155, -0.42403966188430786, -0.4884996712207794, 0.07705266028642654, 0.5506654381752014, 0.5974608659744263, 0.18878115713596344, 0.524338960647583, -0.8213866353034973, 0.09451784193515778, 0.14530088007450104, 0.06775147467851639, 0.006786100100725889, -0.8114871382713318, -0.48862534761428833, 0.41413232684135437, -0.361522376537323, -0.741420328617096, 0.6461229920387268, 0.1790671944618225, 0.2980024218559265, 0.25173550844192505, 0.08443671464920044, 0.4724683165550232, -0.4331519901752472, 0.9679158926010132, -0.0034247960429638624, -1.1123683452606201, 0.3452285826206207, -0.3129350543022156, 0.27287399768829346, 0.5908973813056946, 0.7464258074760437, -0.47848817706108093, -0.3667263388633728, -0.5538992285728455, -0.781527578830719, 0.690156102180481, 0.41774535179138184, 0.08658524602651596, 0.0038722448516637087, 0.31227779388427734, 0.2843506932258606, 0.501581072807312, -0.6744208335876465, -0.6722594499588013, -0.30810633301734924, -0.5741600394248962, -0.37393510341644287, -0.35504427552223206, -0.07872402667999268, -0.48834002017974854, 0.9616592526435852, 0.10410389304161072, 0.1844509094953537, 0.008286312222480774, -0.28433847427368164, 0.09315016120672226, 0.30959174036979675, 0.39760705828666687, 0.47860145568847656, -0.22499117255210876, -0.15759634971618652, 0.1181754320859909, -0.5243128538131714, 0.003991857171058655, 0.3362905979156494, -0.25038617849349976, 0.07148940116167068, 0.26520779728889465, 0.9451010227203369, -0.16483639180660248, -0.8267738819122314, 0.42246729135513306, 0.060898806899785995, -0.07820020616054535, -0.23358288407325745, 0.053426072001457214, 0.026438921689987183, 0.14993415772914886, 0.18285270035266876, 0.2555689811706543, 0.30625662207603455, -0.4586741328239441, -0.11375540494918823, 0.46554675698280334, -0.5088112950325012, -0.20958000421524048, 0.23841916024684906, -0.021105658262968063, -0.3734835386276245, 0.5207695960998535, -0.2566896080970764, -0.5875002145767212, 0.6416773796081543, 0.34186670184135437, 0.6210698485374451, -0.19773036241531372, 0.41945040225982666, 0.2477492094039917, 0.11812151223421097, 0.04271341487765312, 0.45267853140830994, 0.10111666470766068, -0.9667645692825317, -0.39949363470077515, -0.9459856748580933, -0.2257942110300064, 0.01772022619843483, -0.6586538553237915, 0.2374710738658905, -0.3541521430015564, -0.224909707903862, 0.006140477955341339, 0.19560472667217255, -0.8573442697525024, 0.3631099462509155, -0.09947553277015686, 0.7700578570365906, -0.6590697169303894, 1.1067907810211182, 0.8885611295700073, -0.6140943169593811, -1.0148309469223022, 0.10049770772457123, -0.397560715675354, -0.7321304678916931, 0.7742096781730652, 0.18588148057460785, -0.33033934235572815, 0.1011006310582161, -0.6217958331108093, -1.0957133769989014, 0.6451337933540344, 0.21634458005428314, -0.3975500464439392, 0.24324844777584076, 0.23363198339939117, 0.6869210600852966, -0.4648072123527527, 0.4168781340122223, 0.7475591897964478, 0.28038907051086426, -0.13741378486156464, -0.9203334450721741, 0.058194369077682495, -0.3043888509273529, -0.02731509879231453, 0.25089550018310547, -0.6652117967605591, 1.240532636642456, -0.07128378748893738, -0.0033254099544137716, 0.40831953287124634, 0.7796913981437683, 0.07621090859174728, -0.2443007081747055, 0.5118086338043213, 0.5154333710670471, 0.5121631026268005, 0.09780710935592651, 1.064526081085205, -0.5755155086517334, 0.44944530725479126, 1.121370792388916, -0.18195019662380219, 1.0404945611953735, 0.4697709381580353, -0.35108423233032227, 1.0933674573898315, 0.7174225449562073, 0.18216325342655182, 0.5924469232559204, 0.24662603437900543, -0.2969927489757538, -0.37543484568595886, -0.20199145376682281, -0.5060762763023376, 0.580870509147644, 0.3741759657859802, -0.19719713926315308, -0.03651027753949165, 0.07484383881092072, 0.05387057363986969, 0.000998264062218368, -0.21157339215278625, 0.41868218779563904, -0.011768611147999763, -0.6535643339157104, 0.9152066707611084, 0.3265892267227173, 0.8243993520736694, -0.6419668197631836, 0.23343072831630707, -0.028384631499648094, 0.09130270779132843, -0.10414879024028778, -0.38847699761390686, 0.09874548763036728, -0.15233662724494934, -0.230228990316391, 0.19845470786094666, 0.5641729235649109, -0.38101106882095337, -0.653784453868866, 0.2640995383262634, 0.5662027597427368, 0.02664191648364067, -0.2336115688085556, -0.869793713092804, 0.15882755815982819, 0.13632650673389435, -0.4253375232219696, 0.39671313762664795, 0.21260519325733185, -0.04795793816447258, 0.6705840229988098, 0.4560980498790741, -0.0011596999829635024, -0.058944329619407654, 0.21661879122257233, 0.9745141267776489, -0.6641859412193298, -0.4019327759742737, -0.9097276329994202, 0.4658573567867279, 0.08773989230394363, -0.4376937448978424, 0.7677755951881409, 0.42663097381591797, 0.6779710650444031, -0.24116380512714386, 0.8956004977226257, -0.0916794091463089, 0.6279200315475464, -0.2172822505235672, 0.7364102602005005, -0.6434458494186401, 0.038580041378736496, -0.2584049701690674, -0.8717992901802063, -0.1083032488822937, 0.6282196640968323, -0.5400834083557129, 0.26650822162628174, 0.6357130408287048, 0.9820696115493774, 0.17544497549533844, 0.0823783278465271, 0.05633135512471199, 0.4280336797237396, 0.15676249563694, 0.3837376534938812, 0.6770680546760559, -0.42044565081596375, 0.5057367086410522, -0.16413697600364685, -0.19092485308647156, -0.32292619347572327, -0.5994395017623901, -1.1563643217086792, -0.7114365100860596, -0.26921433210372925, -0.35139036178588867, -0.14727327227592468, 1.2194105386734009, 0.47155389189720154, -0.9308907985687256, -0.4721851646900177, -0.05881091579794884, -0.08953598886728287, -0.17910216748714447, -0.17040343582630157, 0.5677483081817627, -0.4903063476085663, -0.7038282752037048, -0.10043731331825256, -0.00593365915119648, 0.1553650200366974, -0.17400221526622772, -0.1517290472984314, -0.4212792217731476, 0.34150105714797974, 0.5730096697807312, 0.09274245798587799, -0.7797706723213196, -0.437665730714798, -0.1457754671573639, -0.23531456291675568, 0.03058728203177452, 0.5797536373138428, -0.8042706847190857, 0.05749497935175896, 0.22534041106700897, 0.5616262555122375, 0.5660597681999207, -0.3181154131889343, 0.5473273396492004, -0.5331742167472839, 0.3975347578525543, 0.22501131892204285, 0.4644794762134552, 0.2882808446884155, -0.14815661311149597, 0.1602054387331009, -0.16600985825061798, -0.6281842589378357, -0.599733829498291, 0.4731908142566681, -0.9750686287879944, -0.3815518915653229, 1.1764731407165527, -0.1599673330783844, 0.029723159968852997, -0.1709681749343872, -0.6379122734069824, 0.537705659866333, -0.5068039894104004, 0.9205532670021057, 0.9657455682754517, -0.015469982288777828, 0.3254581391811371, -0.3378407955169678, 0.7924031019210815, 0.8887468576431274, -0.5702283978462219, -0.23933222889900208, 0.2629881203174591, 0.24704763293266296, 0.09545428305864334, 0.39332884550094604, 0.1972638964653015, 0.15016350150108337, -0.3258155286312103, 0.340374618768692, 0.20865695178508759, -0.09525676816701889, -0.2713008522987366, 0.09476058185100555, 0.32632380723953247, -0.18690192699432373 ]
nvidia/mit-b5
nvidia
2022-08-06T10:25:24Z
14,860
2
transformers
[ "transformers", "pytorch", "tf", "segformer", "image-classification", "vision", "dataset:imagenet_1k", "arxiv:2105.15203", "license:other", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
image-classification
2022-03-02T23:29:05Z
--- license: other tags: - vision datasets: - imagenet_1k widget: - src: https://huggingface.co/datasets/hf-internal-testing/fixtures_ade20k/resolve/main/ADE_val_00000001.jpg example_title: House - src: https://huggingface.co/datasets/hf-internal-testing/fixtures_ade20k/resolve/main/ADE_val_00000002.jpg example_title: Castle --- # SegFormer (b5-sized) encoder pre-trained-only SegFormer encoder fine-tuned on Imagenet-1k. It was introduced in the paper [SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers](https://arxiv.org/abs/2105.15203) by Xie et al. and first released in [this repository](https://github.com/NVlabs/SegFormer). Disclaimer: The team releasing SegFormer did not write a model card for this model so this model card has been written by the Hugging Face team. ## Model description SegFormer consists of a hierarchical Transformer encoder and a lightweight all-MLP decode head to achieve great results on semantic segmentation benchmarks such as ADE20K and Cityscapes. The hierarchical Transformer is first pre-trained on ImageNet-1k, after which a decode head is added and fine-tuned altogether on a downstream dataset. This repository only contains the pre-trained hierarchical Transformer, hence it can be used for fine-tuning purposes. ## Intended uses & limitations You can use the model for fine-tuning of semantic segmentation. See the [model hub](https://huggingface.co/models?other=segformer) to look for fine-tuned versions on a task that interests you. ### How to use Here is how to use this model to classify an image of the COCO 2017 dataset into one of the 1,000 ImageNet classes: ```python from transformers import SegformerFeatureExtractor, SegformerForImageClassification from PIL import Image import requests url = "http://images.cocodataset.org/val2017/000000039769.jpg" image = Image.open(requests.get(url, stream=True).raw) feature_extractor = SegformerFeatureExtractor.from_pretrained("nvidia/mit-b5") model = SegformerForImageClassification.from_pretrained("nvidia/mit-b5") inputs = feature_extractor(images=image, return_tensors="pt") outputs = model(**inputs) logits = outputs.logits # model predicts one of the 1000 ImageNet classes predicted_class_idx = logits.argmax(-1).item() print("Predicted class:", model.config.id2label[predicted_class_idx]) ``` For more code examples, we refer to the [documentation](https://huggingface.co/transformers/model_doc/segformer.html#). ### License The license for this model can be found [here](https://github.com/NVlabs/SegFormer/blob/master/LICENSE). ### BibTeX entry and citation info ```bibtex @article{DBLP:journals/corr/abs-2105-15203, author = {Enze Xie and Wenhai Wang and Zhiding Yu and Anima Anandkumar and Jose M. Alvarez and Ping Luo}, title = {SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers}, journal = {CoRR}, volume = {abs/2105.15203}, year = {2021}, url = {https://arxiv.org/abs/2105.15203}, eprinttype = {arXiv}, eprint = {2105.15203}, timestamp = {Wed, 02 Jun 2021 11:46:42 +0200}, biburl = {https://dblp.org/rec/journals/corr/abs-2105-15203.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ```
[ -0.9041392803192139, -0.6632296442985535, 0.07107719033956528, 0.1462009996175766, -0.3288801312446594, -0.3419097065925598, 0.0405501052737236, -0.6328229904174805, 0.23796039819717407, 0.5625947713851929, -0.799753725528717, -0.5317376852035522, -0.7552319765090942, 0.11323164403438568, -0.3397020697593689, 0.8111791014671326, 0.15066172182559967, -0.09243366867303848, -0.4359837770462036, -0.24953718483448029, 0.011895622126758099, -0.29149043560028076, -0.610498309135437, -0.3678070604801178, 0.42011746764183044, 0.23123256862163544, 0.5636666417121887, 0.7457215189933777, 0.7680172920227051, 0.47090041637420654, -0.4067273736000061, 0.0936899483203888, -0.2924365699291229, -0.28453299403190613, 0.026183979585766792, -0.1064726859331131, -0.37628474831581116, 0.008978636935353279, 0.3975010812282562, 0.6053348183631897, 0.13876236975193024, 0.3259347379207611, 0.01407549437135458, 0.42716318368911743, -0.5264500975608826, 0.06615835428237915, -0.465133398771286, 0.19231955707073212, -0.004466270096600056, -0.08551396429538727, -0.3324437737464905, -0.18567100167274475, 0.25057661533355713, -0.5252897143363953, 0.6441855430603027, 0.05710335820913315, 1.496520757675171, 0.4905775785446167, -0.30782589316368103, -0.03761059790849686, -0.35219070315361023, 0.7678206562995911, -0.6907587647438049, 0.42920663952827454, 0.028821948915719986, 0.3526707887649536, 0.11722259968519211, -0.990814745426178, -0.4673061966896057, 0.12299373000860214, -0.22944974899291992, 0.029434358701109886, -0.3763149380683899, 0.1121668592095375, 0.4473600387573242, 0.49525266885757446, -0.43285468220710754, 0.10962885618209839, -0.7074916958808899, -0.3925541043281555, 0.632937490940094, 0.005617301911115646, 0.20896346867084503, -0.3401961028575897, -0.7575592398643494, -0.42743781208992004, -0.3162384629249573, 0.10925809293985367, 0.26369041204452515, 0.03247241675853729, -0.29301515221595764, 0.39074695110321045, -0.0545821450650692, 0.7295897006988525, 0.44429969787597656, -0.17546749114990234, 0.547455370426178, -0.15139564871788025, -0.3808124363422394, 0.12272588163614273, 0.9071674346923828, 0.44028472900390625, -0.017789917066693306, 0.05321640148758888, -0.0539969727396965, 0.1715351790189743, 0.256580650806427, -1.247799038887024, -0.17541207373142242, 0.04302769526839256, -0.5247452259063721, -0.3822628855705261, 0.11856548488140106, -0.778075635433197, -0.03295029327273369, -0.1144300252199173, 0.498759001493454, -0.2993086874485016, -0.07474268227815628, 0.14864642918109894, -0.15012122690677643, 0.7752835750579834, 0.21265091001987457, -0.7448553442955017, 0.19636519253253937, 0.5213767886161804, 0.7643841505050659, -0.1975758820772171, -0.24930012226104736, -0.10135456919670105, -0.1023651584982872, -0.15613408386707306, 0.8408737182617188, -0.3564133048057556, -0.30341535806655884, -0.2279544323682785, 0.6038619875907898, -0.21122929453849792, -0.6045733094215393, 0.7975047826766968, -0.5587074756622314, 0.18778415024280548, -0.07171537727117538, -0.47474488615989685, -0.48640966415405273, 0.3323395252227783, -0.5919719338417053, 0.8733299970626831, 0.1396913081407547, -0.8866081237792969, 0.503427267074585, -0.5709922313690186, -0.2457696944475174, 0.006411632522940636, 0.08615132421255112, -0.8558794260025024, -0.006176171358674765, 0.40792712569236755, 0.5236444473266602, -0.24051472544670105, 0.22917263209819794, -0.5336795449256897, -0.23354044556617737, 0.0012526678619906306, -0.1733989119529724, 0.9114560484886169, 0.31756219267845154, -0.33022454380989075, 0.3804444372653961, -0.6874620318412781, 0.02842782251536846, 0.4090085029602051, 0.03419153764843941, -0.01638711430132389, -0.2960640490055084, 0.2070259302854538, 0.38000351190567017, 0.24226413667201996, -0.662047266960144, 0.02462432160973549, -0.30332544445991516, 0.37372151017189026, 0.7255719304084778, 0.07609566301107407, 0.491597443819046, -0.14536987245082855, 0.3795497715473175, 0.23592427372932434, 0.4320824444293976, -0.20844148099422455, -0.2028743028640747, -1.1571067571640015, -0.2548601031303406, 0.2771632969379425, 0.11300496011972427, -0.504075825214386, 0.6143238544464111, -0.2540779113769531, -0.6558145880699158, -0.4851019084453583, -0.12636803090572357, 0.19878798723220825, 0.5082150101661682, 0.5199839472770691, -0.4114193916320801, -0.7721917629241943, -1.136057734489441, 0.045849889516830444, 0.23733210563659668, 0.0760129913687706, 0.2978978753089905, 0.6481673717498779, -0.6829874515533447, 0.7460435628890991, -0.6456210017204285, -0.3209582269191742, -0.21978436410427094, -0.06480442732572556, 0.290647029876709, 0.6574620604515076, 0.5908812880516052, -0.7905882000923157, -0.3757152557373047, -0.1899833381175995, -0.6400805711746216, -0.029218316078186035, 0.08220279961824417, -0.35305511951446533, 0.1400841325521469, 0.46153417229652405, -0.4485406279563904, 0.43363749980926514, 0.45050927996635437, -0.5577349662780762, 0.29495134949684143, -0.05170191824436188, -0.02689610794186592, -0.9710089564323425, 0.14369404315948486, 0.158817857503891, -0.18009734153747559, -0.5061569809913635, 0.12386184930801392, -0.026935579255223274, -0.12930284440517426, -0.5818023085594177, 0.5533051490783691, -0.32696792483329773, -0.006381925195455551, -0.231423020362854, -0.2114276885986328, 0.0641796737909317, 0.7811734676361084, 0.1491681933403015, 0.340819388628006, 0.5595273971557617, -0.6783342361450195, 0.06691888719797134, 0.5353557467460632, -0.40321043133735657, 0.42678770422935486, -1.0175429582595825, 0.12333827465772629, -0.15920327603816986, 0.09518453478813171, -0.6832377910614014, -0.3414415121078491, 0.3963310122489929, -0.36494943499565125, 0.3950232267379761, -0.3392716944217682, -0.2176041603088379, -0.5175289511680603, -0.10842673480510712, 0.36260560154914856, 0.4975954294204712, -0.7922696471214294, 0.5258154273033142, 0.5085856318473816, 0.1698024570941925, -0.4381200671195984, -0.6708508729934692, -0.30745774507522583, -0.2774650454521179, -1.0121999979019165, 0.6269344687461853, -0.0406179316341877, 0.26912519335746765, 0.08902332186698914, -0.3186712861061096, -0.047721922397613525, 0.006380140315741301, 0.40343207120895386, 0.49092113971710205, -0.1238909512758255, -0.29822632670402527, -0.009126871824264526, -0.45632585883140564, 0.1475071907043457, -0.17382386326789856, 0.6115577816963196, -0.36695513129234314, -0.4139018654823303, -0.2397453635931015, -0.025341209024190903, 0.4075425863265991, -0.3193601071834564, 0.5281761288642883, 1.1423609256744385, -0.287941038608551, -0.02936856634914875, -0.5571638941764832, -0.2501790523529053, -0.574482798576355, 0.3599548637866974, -0.18460506200790405, -1.0857383012771606, 0.4829923212528229, -0.026644941419363022, 0.010446103289723396, 0.9548658132553101, 0.34336525201797485, 0.13896849751472473, 1.1673880815505981, 0.6005058288574219, 0.3176429271697998, 0.5215507745742798, -0.801080584526062, 0.14948055148124695, -0.9362799525260925, -0.5296990871429443, -0.4442494213581085, -0.43989795446395874, -0.8300605416297913, -0.5972414612770081, 0.34719786047935486, 0.10478577017784119, -0.4540742337703705, 0.4675759971141815, -0.8940979242324829, 0.36742058396339417, 0.5497235655784607, 0.0459006242454052, -0.19878944754600525, 0.14249968528747559, -0.09052062779664993, 0.09359834343194962, -0.7643412351608276, -0.35690730810165405, 0.4715350270271301, 0.49789467453956604, 0.7428562045097351, -0.21600225567817688, 0.6737711429595947, -0.11925116181373596, 0.02620759792625904, -0.8394289612770081, 0.6156832575798035, -0.1844892054796219, -0.7351797223091125, -0.1364792287349701, -0.3460747301578522, -0.9847147464752197, 0.35981011390686035, -0.16262683272361755, -0.7444549798965454, 0.676751971244812, 0.10897206515073776, -0.18952257931232452, 0.2864995002746582, -0.5411126017570496, 1.2149455547332764, -0.23017701506614685, -0.4729042649269104, 0.12928466498851776, -0.7481154203414917, 0.16886673867702484, 0.23624396324157715, -0.06005890294909477, -0.3387385904788971, 0.2780534625053406, 0.9618197083473206, -0.6055880188941956, 0.7269421815872192, -0.3713868260383606, 0.37838396430015564, 0.5525735020637512, -0.17177103459835052, 0.3844045102596283, -0.091710664331913, 0.22848211228847504, 0.4758593738079071, 0.24609334766864777, -0.3719998896121979, -0.34263643622398376, 0.6091954112052917, -0.9216477870941162, -0.5752784013748169, -0.5034332871437073, -0.152983158826828, -0.0030948638450354338, 0.3993678390979767, 0.5878146290779114, 0.42461997270584106, -0.0857192873954773, 0.514168918132782, 0.6560713648796082, -0.37807533144950867, 0.516252338886261, 0.12437526136636734, -0.18252933025360107, -0.39780205488204956, 0.8849635124206543, -0.09831667691469193, 0.05178459361195564, 0.3040452301502228, 0.29422613978385925, -0.36630916595458984, -0.2717396914958954, -0.36165016889572144, 0.19798916578292847, -0.7352944612503052, -0.40532153844833374, -0.8774099349975586, -0.5639298558235168, -0.4219013452529907, -0.35439661145210266, -0.431414932012558, -0.2496468722820282, -0.39784976840019226, -0.06974343955516815, 0.2851965129375458, 0.33965039253234863, -0.1619550585746765, 0.43808212876319885, -0.6752125024795532, 0.11767438054084778, 0.36015698313713074, 0.34977176785469055, 0.00671500014141202, -0.6168515086174011, -0.15237906575202942, -0.023599816486239433, -0.4816918969154358, -0.504963755607605, 0.6650437712669373, 0.1713937371969223, 0.545320451259613, 0.6095230579376221, -0.11989306658506393, 0.9442984461784363, -0.16566872596740723, 0.5632574558258057, 0.43721234798431396, -0.7664157152175903, 0.37953758239746094, -0.11437073349952698, 0.5602187514305115, 0.45901796221733093, 0.3328005075454712, -0.5043764710426331, 0.10844434797763824, -0.8046467900276184, -1.0139094591140747, 0.9298878908157349, 0.06517186015844345, 0.05488235875964165, 0.0513451024889946, -0.03446327522397041, 0.0341300405561924, -0.03453349322080612, -0.604658305644989, -0.3641507923603058, -0.4509599506855011, -0.12759824097156525, -0.12034295499324799, -0.4643966555595398, 0.019321316853165627, -0.5269284248352051, 0.7510588765144348, -0.1670742928981781, 0.6535062789916992, 0.2665412724018097, -0.2771923542022705, -0.029308639466762543, 0.027570152655243874, 0.36005234718322754, 0.2647553086280823, -0.28927212953567505, 0.10561996698379517, 0.20788727700710297, -0.41842126846313477, -0.04433298856019974, 0.3247052729129791, -0.296560674905777, -0.028304459527134895, 0.3733370006084442, 1.1414775848388672, 0.37146225571632385, -0.2773045003414154, 0.6007886528968811, -0.015624054707586765, -0.5088647603988647, -0.4532565772533417, 0.22489438951015472, -0.011900851503014565, 0.31970080733299255, 0.21115538477897644, 0.3918318450450897, 0.30108442902565, -0.035181012004613876, 0.2336852252483368, 0.2915591597557068, -0.702768087387085, -0.30431994795799255, 0.7416123151779175, 0.10893572121858597, 0.04425915703177452, 0.6773523092269897, -0.1863451898097992, -0.6777974367141724, 0.9034213423728943, 0.5263771414756775, 1.0278061628341675, 0.03831733018159866, 0.26132509112358093, 0.7827730774879456, 0.18706077337265015, 0.11187223345041275, -0.06278092414140701, -0.048002783209085464, -0.8266112208366394, -0.3293263614177704, -1.0410330295562744, 0.0020428576972335577, 0.036765363067388535, -0.681764543056488, 0.44418585300445557, -0.4598556458950043, -0.19583110511302948, 0.272256076335907, 0.05292898043990135, -1.0788252353668213, 0.2537961006164551, 0.19397158920764923, 0.9841263294219971, -0.5424410104751587, 0.49450376629829407, 0.797976016998291, -0.26283618807792664, -0.8315085172653198, -0.48881393671035767, -0.09049168974161148, -0.8096956610679626, 0.5016219615936279, 0.48996680974960327, 0.032809291034936905, 0.08876575529575348, -0.8092646598815918, -1.0302833318710327, 1.260591745376587, 0.13608355820178986, -0.3651385009288788, -0.03182342275977135, 0.059590280055999756, 0.36285147070884705, -0.4102640748023987, 0.3814588785171509, 0.35096558928489685, 0.5647224187850952, 0.7109172940254211, -0.431802362203598, 0.047751620411872864, -0.356770396232605, 0.06402813643217087, 0.330916166305542, -0.8058722615242004, 0.6908586025238037, -0.2608742415904999, -0.2456977218389511, -0.14677384495735168, 0.6468048095703125, 0.0667686015367508, 0.3371167480945587, 0.6288182735443115, 0.8020662069320679, 0.4541930854320526, -0.3504941761493683, 0.8840731382369995, -0.2627856433391571, 0.6841156482696533, 0.8276818990707397, 0.31091541051864624, 0.35683852434158325, 0.418071448802948, -0.09341727197170258, 0.42970719933509827, 0.9336053133010864, -0.5209524035453796, 0.5230801701545715, -0.13184860348701477, 0.17568419873714447, -0.4890802204608917, -0.23135392367839813, -0.5097813606262207, 0.7544693350791931, 0.16664168238639832, -0.652958869934082, -0.13380980491638184, -0.15403872728347778, -0.05742830038070679, -0.548039972782135, -0.260053813457489, 0.7006464600563049, 0.10514524579048157, -0.40712839365005493, 0.6416234374046326, 0.05567355081439018, 0.7518193125724792, -0.484255850315094, 0.07235288619995117, -0.10833851993083954, 0.29779985547065735, -0.36125436425209045, -0.4357836842536926, 0.42887333035469055, -0.26029902696609497, 0.0017899840604513884, -0.10198608785867691, 1.0299714803695679, -0.25224778056144714, -0.7181623578071594, 0.19253313541412354, 0.17916227877140045, 0.05283763259649277, 0.1859375536441803, -0.8409362435340881, 0.3415379226207733, 0.0726582258939743, -0.3484553098678589, 0.15019699931144714, 0.11623211205005646, 0.2143944352865219, 0.5647635459899902, 0.6122199296951294, -0.35561978816986084, 0.061981312930583954, -0.17774319648742676, 0.9262491464614868, -0.6646567583084106, -0.3866492509841919, -0.6946197748184204, 0.5449758768081665, -0.28972357511520386, -0.4094923734664917, 0.7250015735626221, 0.6109592318534851, 1.1887023448944092, -0.26730433106422424, 0.39657706022262573, -0.3593766987323761, 0.08752263337373734, -0.19044309854507446, 0.5313155055046082, -0.6619234681129456, -0.10599838197231293, -0.4290638267993927, -0.9571150541305542, -0.2774677276611328, 0.8796345591545105, -0.3841662108898163, 0.23003996908664703, 0.47284671664237976, 0.9139228463172913, -0.26256558299064636, 0.07264333218336105, 0.29761749505996704, 0.09155897796154022, 0.09835147112607956, 0.2974041700363159, 0.6898807287216187, -0.5066777467727661, 0.44160667061805725, -0.7544186115264893, 0.03958957642316818, -0.45195361971855164, -0.635343611240387, -0.8717835545539856, -0.5727957487106323, -0.49156010150909424, -0.3060952425003052, -0.2664192020893097, 0.8623334169387817, 0.995983898639679, -0.8375911116600037, -0.04281613603234291, -0.022952571511268616, 0.11662553995847702, -0.16012299060821533, -0.25199753046035767, 0.4356563985347748, -0.07213591039180756, -0.8350055813789368, -0.10026110708713531, 0.2109949290752411, 0.1297042965888977, -0.0790606141090393, -0.2655520737171173, -0.0501740500330925, -0.15580883622169495, 0.6001100540161133, 0.21648120880126953, -0.5575055480003357, -0.33822327852249146, 0.2008948177099228, -0.033065780997276306, 0.18430744111537933, 0.5016558170318604, -0.5577378273010254, 0.4244326055049896, 0.5406346917152405, 0.554701566696167, 0.9204325079917908, -0.03114449232816696, 0.08197461068630219, -0.4160299599170685, 0.2772617042064667, 0.19836272299289703, 0.49538782238960266, 0.33873292803764343, -0.2105376422405243, 0.5770480632781982, 0.22449834644794464, -0.5683723092079163, -0.6155699491500854, 0.029789233580231667, -1.1233997344970703, -0.15806622803211212, 0.9859126806259155, -0.035245440900325775, -0.6206161379814148, 0.33925771713256836, -0.114664226770401, 0.36944591999053955, -0.17524567246437073, 0.47690799832344055, 0.23268817365169525, -0.03220509737730026, -0.45575347542762756, -0.13686802983283997, 0.3793744444847107, 0.052267223596572876, -0.5887359380722046, -0.5715548396110535, 0.42911556363105774, 0.36828139424324036, 0.2651216983795166, 0.18867917358875275, -0.28289127349853516, 0.1353214532136917, 0.18885794281959534, 0.353022962808609, -0.2873663008213043, -0.20391808450222015, -0.15645404160022736, 0.1494775414466858, -0.19635725021362305, -0.2737327814102173 ]
czearing/article-title-generator
czearing
2022-06-28T20:08:16Z
14,817
14
transformers
[ "transformers", "pytorch", "t5", "text2text-generation", "license:mit", "autotrain_compatible", "endpoints_compatible", "text-generation-inference", "region:us" ]
text2text-generation
2022-06-28T19:44:19Z
--- license: mit --- ## Article Title Generator The model is based on the T5 language model and trained using a large collection of Medium articles. ## Usage Example code: ```python from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("czearing/article-title-generator") model = AutoModel.from_pretrained("czearing/article-title-generator") ``` ## License MIT
[ -0.04309478774666786, -0.3335935175418854, 0.33173441886901855, 0.15291696786880493, -0.46063458919525146, 0.3094044327735901, -0.08692439645528793, -0.1061163917183876, -0.22907747328281403, 0.39895543456077576, -0.5939425826072693, -0.4022376537322998, -0.7220149636268616, 0.40508291125297546, -0.7511458396911621, 1.1278034448623657, 0.13959957659244537, 0.20830368995666504, 0.29680827260017395, 0.0628785789012909, -0.11491034179925919, -0.2005743682384491, -0.701364278793335, -0.8457834124565125, 0.35950419306755066, 0.44439998269081116, 0.381618857383728, 0.8013293743133545, 0.3619104325771332, 0.3019629418849945, 0.2770267426967621, -0.3032400608062744, -0.3363826870918274, -0.3705205023288727, -0.22212807834148407, -0.5515992045402527, -0.3670416474342346, 0.08760911971330643, 0.8073368072509766, 0.36097249388694763, -0.07221156358718872, 0.45886120200157166, -0.2471337467432022, 0.016699515283107758, -0.46572837233543396, 0.15428610146045685, -0.8042883276939392, 0.09690003097057343, -0.15090568363666534, -0.1140289306640625, -0.441082626581192, -0.4123838543891907, -0.07327868789434433, -0.514890193939209, 0.3145090639591217, 0.21831560134887695, 1.4264633655548096, 0.39835307002067566, -0.5408944487571716, 0.0073381331749260426, -0.8540484309196472, 0.9785656929016113, -0.8468778133392334, 0.5224214792251587, 0.3549804091453552, 0.380750447511673, 0.25264447927474976, -1.2077624797821045, -0.5981566309928894, -0.17215758562088013, 0.15428081154823303, -0.09694566577672958, -0.1975155472755432, 0.050585225224494934, 0.5609731674194336, 0.5314576625823975, -0.44090619683265686, 0.021447621285915375, -0.8048871755599976, -0.14677642285823822, 0.8511826395988464, 0.19852831959724426, 0.49054670333862305, -0.1728479266166687, -0.28590428829193115, -0.01899820938706398, -0.7604710459709167, -0.17548874020576477, 0.47240912914276123, -0.06049421802163124, -0.12398873269557953, 0.7851422429084778, -0.24174588918685913, 0.8458287715911865, 0.42787596583366394, -0.22548949718475342, 0.39169541001319885, -0.29182058572769165, -0.35214704275131226, 0.051974114030599594, 1.0431140661239624, 0.25624415278434753, 0.2596350908279419, -0.511827290058136, -0.37193334102630615, -0.39605066180229187, 0.2644122838973999, -1.024307131767273, -0.24306124448776245, 0.24799564480781555, -0.7479963302612305, -0.684245228767395, 0.21267768740653992, -0.11382213234901428, 0.27948373556137085, -0.3838270902633667, 0.5801958441734314, -0.6735790371894836, -0.46454453468322754, -0.026179730892181396, -0.21239399909973145, 0.5447406768798828, -0.17980891466140747, -1.0829792022705078, 0.07893417030572891, 0.3652680218219757, 0.5827483534812927, -0.0036142878234386444, -0.6040679216384888, -0.23427915573120117, 0.46778932213783264, -0.3061038851737976, 0.742395281791687, -0.2465866506099701, -0.34047365188598633, -0.08248432725667953, 0.3335022032260895, -0.05740132927894592, -0.3116006851196289, 0.4779970347881317, -0.49219104647636414, 0.3836452066898346, 0.24259759485721588, -0.8125956654548645, -0.07710064202547073, 0.17762267589569092, -0.7520666122436523, 0.9263231754302979, 0.1399986296892166, -0.8502276539802551, 0.674382209777832, -0.9398290514945984, -0.3423891067504883, -0.07286743074655533, 0.31559187173843384, -0.6649373173713684, 0.17434684932231903, 0.06724153459072113, 0.2898564338684082, -0.010990905575454235, 0.5370709896087646, -0.05931424722075462, -0.18979386985301971, 0.25286319851875305, -0.20915022492408752, 1.0331932306289673, 0.5203677415847778, -0.24528604745864868, 0.140913188457489, -0.8861874341964722, -0.09421326965093613, 0.044504765421152115, -0.5180273056030273, 0.011446405202150345, 0.029155109077692032, 0.4708096385002136, 0.11167094111442566, 0.7085471153259277, -0.7644808292388916, 0.44907742738723755, -0.5100545287132263, 0.5176202058792114, 0.3737986981868744, 0.058364104479551315, 0.472072571516037, -0.23956841230392456, 0.4941437840461731, 0.31350597739219666, 0.07066352665424347, -0.08004298806190491, -0.02693934179842472, -1.1332279443740845, -0.025034377351403236, 0.7294459939002991, 0.3950853943824768, -0.99144047498703, 0.6887693405151367, -0.2771628201007843, -0.7319484949111938, -0.43344056606292725, -0.04396563023328781, 0.22236783802509308, 0.011232882738113403, 0.30184710025787354, 0.2039935141801834, -0.8661619424819946, -1.0253987312316895, -0.3330722749233246, -0.15862704813480377, 0.17414067685604095, -0.14261537790298462, 0.7108616232872009, -0.12438153475522995, 1.1367228031158447, -0.46416255831718445, 0.04283533990383148, -0.6361226439476013, 0.6419503092765808, 0.2790262997150421, 0.6809368133544922, 0.6315785646438599, -0.45841914415359497, -0.4453866183757782, -0.4217127561569214, -0.627781331539154, -0.44644540548324585, -0.05261263996362686, 0.07319802045822144, 0.34328481554985046, 0.5575920343399048, -0.5734618902206421, 0.1595316380262375, 0.4877992570400238, -0.5224511027336121, 0.7936170101165771, -0.21100740134716034, -0.14869582653045654, -2.0475542545318604, 0.4202426075935364, -0.18873406946659088, -0.4013848304748535, -0.21476732194423676, 0.05290684476494789, 0.049115996807813644, -0.3773747384548187, -0.5369513630867004, 0.6413584351539612, -0.5880424380302429, -0.07105304300785065, -0.40173906087875366, -0.6089770197868347, -0.3025844693183899, -0.03433094918727875, 0.1801426112651825, 0.7595708966255188, 0.47265860438346863, -0.5860223174095154, 0.6812980771064758, 0.2758581042289734, -0.3635099530220032, 0.23649831116199493, -0.741441011428833, -0.17777800559997559, 0.09009575843811035, 0.05041789636015892, -0.726520836353302, -0.30871543288230896, -0.025077056139707565, -0.4140787422657013, 0.2676519751548767, -0.06064022332429886, -0.8845089673995972, -0.6999936103820801, 0.10675729811191559, 0.3875076174736023, 0.7058804035186768, -0.49273842573165894, 0.44283995032310486, 0.1994171142578125, 0.03184134513139725, -0.6995737552642822, -0.6082097291946411, 0.28748026490211487, -0.21034081280231476, -0.05904219672083855, 0.13151153922080994, -0.14104951918125153, 0.10094517469406128, 0.0816487967967987, 0.3067011833190918, -0.3661050796508789, 0.05522214621305466, -0.02031891420483589, 0.027547672390937805, -0.09280426055192947, 0.3038993775844574, 0.09506089240312576, -0.2752220928668976, 0.06506294757127762, -0.3478695750236511, 0.8581469058990479, 0.0000643145467620343, -0.08709433674812317, -0.7647643089294434, 0.004983593709766865, 0.49686264991760254, -0.4985901713371277, 0.5497560501098633, 0.8265612721443176, -0.26577869057655334, -0.377652645111084, -0.49533146619796753, -0.38381046056747437, -0.4348825216293335, 0.5577090978622437, -0.3486035168170929, -0.5481491684913635, 0.3930884301662445, -0.05213483050465584, 0.11020051687955856, 0.7629292607307434, 0.7597049474716187, 0.17738914489746094, 1.0746521949768066, 0.7935596108436584, -0.34092262387275696, 0.623284637928009, -0.4371539056301117, 0.19347970187664032, -0.5772200226783752, -0.11610009521245956, -0.6660019159317017, -0.18543964624404907, -0.42829352617263794, 0.035385604947805405, 0.015441744588315487, 0.05031684786081314, -0.5516913533210754, 0.7350232005119324, -0.6490575671195984, 0.49662256240844727, 0.6005259156227112, -0.1323186606168747, 0.5397180914878845, 0.1333925873041153, -0.132757306098938, 0.042027030140161514, -0.756131112575531, -0.7352434396743774, 1.3836798667907715, 0.2950528562068939, 1.0555744171142578, -0.13506335020065308, 0.9845386147499084, 0.08341784030199051, 0.5139686465263367, -0.9274142384529114, 0.3468024730682373, -0.0371563583612442, -1.0691382884979248, -0.08519470691680908, -0.21745514869689941, -1.088708758354187, -0.278472363948822, -0.263685405254364, -0.6156796216964722, -0.12356624007225037, -0.026756100356578827, -0.28011468052864075, 0.4314923584461212, -0.4412005543708801, 1.0449570417404175, -0.20864050090312958, 0.10809972137212753, -0.09237952530384064, -0.26805490255355835, 0.4726558029651642, -0.0691683292388916, -0.07833116501569748, 0.1743062138557434, -0.11465433984994888, 0.6822642087936401, -0.34475940465927124, 0.7643319368362427, 0.000031465293432120234, 0.017568616196513176, 0.14587494730949402, -0.13216634094715118, 0.04464220255613327, 0.007427596021443605, -0.152840718626976, -0.01987743377685547, -0.027138754725456238, -0.23357762396335602, -0.028363104909658432, 0.48087331652641296, -1.2046287059783936, -0.31537532806396484, -0.49038735032081604, -0.6505530476570129, 0.2702265977859497, 0.658313512802124, 0.8197546005249023, 0.40780961513519287, -0.5872838497161865, 0.2677536606788635, 0.29626861214637756, -0.1300434172153473, 1.0349727869033813, 0.619978666305542, -0.3774740993976593, -0.5572233200073242, 0.8750706315040588, 0.26909008622169495, -0.0200657956302166, 0.3681918680667877, 0.1012267917394638, -0.5026270747184753, -0.41905707120895386, -0.6492077112197876, 0.1536383330821991, -0.33911028504371643, -0.3482165038585663, -0.8839224576950073, -0.6001541018486023, -0.3706560432910919, 0.12428931891918182, -0.41118672490119934, -0.5293572545051575, -0.3833678066730499, -0.22968117892742157, 0.28745198249816895, 0.8427673578262329, -0.0687158927321434, 0.7089317440986633, -0.9703009724617004, 0.2724517285823822, 0.3467632532119751, 0.36027947068214417, -0.07630428671836853, -0.45322301983833313, -0.5776770710945129, -0.07586371898651123, -0.7948126196861267, -0.9396794438362122, 0.42288193106651306, 0.33258581161499023, 0.5453637838363647, 0.6515848636627197, -0.021695241332054138, 0.16160573065280914, -0.559000551700592, 1.0906310081481934, 0.2312154471874237, -1.151123285293579, 0.5250816345214844, -0.5486326217651367, 0.48553478717803955, 0.3535041809082031, 0.1425599604845047, -0.09957495331764221, -0.6483493447303772, -1.2619881629943848, -0.6727092862129211, 0.8786169290542603, 0.39905229210853577, 0.17126280069351196, -0.01757998950779438, 0.1738007515668869, 0.14734651148319244, 0.4289828836917877, -1.3757802248001099, -0.08863537758588791, -0.6182387471199036, -0.5445170998573303, -0.01605752483010292, -0.07713542878627777, 0.05314460024237633, -0.294351726770401, 1.0185478925704956, 0.039201509207487106, 0.34993976354599, -0.06121351942420006, -0.4090880751609802, -0.11264821141958237, 0.3150958716869354, 0.5424839854240417, 0.6656470894813538, -0.16523297131061554, -0.13739416003227234, 0.17195634543895721, -0.3625541031360626, 0.2808248698711395, 0.24662072956562042, -0.3779362142086029, 0.3122067451477051, 0.28862249851226807, 0.9208188652992249, 0.05755682289600372, -0.21939192712306976, 0.3652481734752655, 0.21795392036437988, -0.18287724256515503, -0.7598987221717834, 0.12254548072814941, 0.3220409154891968, 0.15365667641162872, 0.6056592464447021, -0.3603487014770508, 0.18150974810123444, -0.49121415615081787, 0.21640180051326752, 0.2298712432384491, -0.22823210060596466, -0.41270795464515686, 1.0416781902313232, 0.2713114321231842, -0.39124712347984314, 0.5794979929924011, -0.19833363592624664, -0.5647048354148865, 0.9168078899383545, 0.847360372543335, 1.0394062995910645, -0.3918966054916382, 0.26370152831077576, 0.8363382816314697, 0.4127802550792694, -0.21851225197315216, 0.4306829571723938, 0.04060938581824303, -0.7776400446891785, -0.5626428127288818, -0.9161717891693115, -0.23719561100006104, 0.33193400502204895, -0.440257728099823, 0.39344024658203125, -0.3068540394306183, -0.41113823652267456, 0.05383748561143875, 0.17822471261024475, -0.48233169317245483, 0.5229082107543945, 0.11304479092359543, 1.1880300045013428, -0.832046627998352, 1.255752682685852, 1.1424251794815063, -0.9296693205833435, -1.1536858081817627, 0.0734916403889656, -0.6345735788345337, -0.6987552642822266, 1.1140758991241455, 0.0704743042588234, 0.228910431265831, 0.7317681312561035, -0.9872606992721558, -0.9031422138214111, 1.25704026222229, 0.18531569838523865, -0.33640533685684204, -0.19039006531238556, 0.38134801387786865, 0.44571664929389954, -0.7021524906158447, 0.22024057805538177, 0.3544500470161438, 0.6099236607551575, -0.06694774329662323, -1.1010667085647583, -0.1631883680820465, -0.11236108839511871, 0.26529714465141296, 0.02246909774839878, -0.722344696521759, 1.0317918062210083, -0.10960359126329422, 0.0982305258512497, 0.4772428274154663, 0.5763480067253113, 0.26865485310554504, -0.001471378724090755, 0.41941848397254944, 0.9600915908813477, 0.2731577157974243, -0.23370367288589478, 0.8682005405426025, -0.8604036569595337, 0.9695082902908325, 0.9018767476081848, 0.12946321070194244, 0.6086329221725464, 0.46222221851348877, -0.007575402967631817, 0.7889322638511658, 0.8883529901504517, -0.7681782841682434, 0.5144379734992981, -0.08379486948251724, -0.19807137548923492, -0.5328431129455566, 0.0693465992808342, -0.4710986614227295, 0.6419137120246887, 0.2121090441942215, -0.8738805651664734, -0.4431661069393158, -0.07505936175584793, 0.09016907215118408, -0.44250768423080444, -0.46440643072128296, 1.0216560363769531, 0.20451056957244873, -0.7072378396987915, 0.5404747128486633, 0.33089181780815125, 0.5572866797447205, -0.44469574093818665, 0.19768820703029633, 0.10342754423618317, 0.30287399888038635, -0.18832536041736603, -0.5312644839286804, 0.3443610370159149, 0.0680461898446083, -0.2525116503238678, -0.11465759575366974, 0.8087191581726074, -0.7268744111061096, -0.9503359794616699, -0.12669721245765686, 0.6060932278633118, 0.21752522885799408, 0.26923465728759766, -0.8629429340362549, -0.22454708814620972, -0.14284512400627136, -0.5037011504173279, -0.141013503074646, 0.24603642523288727, 0.204410120844841, 0.6458230018615723, 0.6260765194892883, 0.030099622905254364, -0.015816016122698784, -0.05874200537800789, 0.5288828611373901, -0.7417654991149902, -0.7636532783508301, -0.8826950788497925, 0.5447668433189392, -0.33654430508613586, -0.25693100690841675, 0.6513357758522034, 0.9647666811943054, 0.653556764125824, -0.576019823551178, 1.0527580976486206, -0.35795795917510986, 0.29655390977859497, -0.387821227312088, 1.4019379615783691, -0.8175256848335266, -0.3202829957008362, 0.13983215391635895, -1.245427131652832, -0.06181536242365837, 0.655218780040741, -0.19630886614322662, 0.06602552533149719, 0.8150040507316589, 0.6088833808898926, -0.4930937886238098, -0.2734544277191162, 0.29680100083351135, 0.5251249074935913, 0.06746768951416016, 0.3516220152378082, 0.534633219242096, -0.6610056757926941, 0.527928352355957, -0.22314834594726562, 0.16319672763347626, -0.17627325654029846, -1.0714823007583618, -1.147537112236023, -0.5755455493927002, -0.2933023273944855, -0.5611838102340698, -0.15912508964538574, 1.1510443687438965, 0.838366687297821, -0.7856504917144775, -0.5282313823699951, -0.14793804287910461, 0.033790361136198044, 0.17501987516880035, -0.281881183385849, 0.41915446519851685, -0.6346176266670227, -1.1908727884292603, 0.057003576308488846, -0.3419884443283081, 0.16575086116790771, -0.4466222822666168, 0.0652388259768486, -0.13384594023227692, 0.008246935904026031, 0.4469195306301117, 0.1380358338356018, -0.6043699979782104, -0.21417468786239624, -0.32376644015312195, -0.323153018951416, 0.0015115250134840608, 0.614353597164154, -0.6291811466217041, 0.20031580328941345, 0.5634794235229492, 0.18300257623195648, 0.592926025390625, -0.00583610637113452, 1.0749784708023071, -0.6698615550994873, 0.24686163663864136, -0.1034458726644516, 0.5306267142295837, 0.4533607065677643, -0.06722608208656311, 0.43400609493255615, 0.4494125247001648, -0.5527269244194031, -0.589270293712616, 0.12496370822191238, -0.8706220388412476, -0.11169028282165527, 1.2645032405853271, 0.05606222525238991, -0.40441790223121643, -0.027585364878177643, -0.28120341897010803, 0.801773726940155, -0.46434253454208374, 0.844144344329834, 0.7632940411567688, 0.3280017673969269, -0.5049079060554504, -0.4328695833683014, 0.5432844758033752, -0.0092230886220932, -0.740717351436615, -0.40065619349479675, 0.2638908326625824, 1.0103576183319092, 0.2535029947757721, 0.46163204312324524, -0.2550335228443146, 0.2830136716365814, -0.09667229652404785, 0.793203592300415, -0.36540019512176514, -0.0977942943572998, -0.13458594679832458, 0.18237312138080597, 0.1349259465932846, -0.19634728133678436 ]
wonrax/phobert-base-vietnamese-sentiment
wonrax
2022-05-04T07:30:54Z
14,764
6
transformers
[ "transformers", "pytorch", "roberta", "text-classification", "sentiment", "classification", "vi", "license:mit", "endpoints_compatible", "has_space", "region:us" ]
text-classification
2022-05-03T14:03:13Z
--- language: - vi tags: - sentiment - classification license: mit widget: - text: "Không thể nào đẹp hơn" - text: "Quá phí tiền, mà không đẹp" - text: "Cái này giá ổn không nhỉ?" --- [**GitHub Homepage**](https://github.com/wonrax/phobert-base-vietnamese-sentiment) A model fine-tuned for sentiment analysis based on [vinai/phobert-base](https://huggingface.co/vinai/phobert-base). Labels: - NEG: Negative - POS: Positive - NEU: Neutral Dataset: [30K e-commerce reviews](https://www.kaggle.com/datasets/linhlpv/vietnamese-sentiment-analyst) ## Usage ```python import torch from transformers import RobertaForSequenceClassification, AutoTokenizer model = RobertaForSequenceClassification.from_pretrained("wonrax/phobert-base-vietnamese-sentiment") tokenizer = AutoTokenizer.from_pretrained("wonrax/phobert-base-vietnamese-sentiment", use_fast=False) # Just like PhoBERT: INPUT TEXT MUST BE ALREADY WORD-SEGMENTED! sentence = 'Đây là mô_hình rất hay , phù_hợp với điều_kiện và như cầu của nhiều người .' input_ids = torch.tensor([tokenizer.encode(sentence)]) with torch.no_grad(): out = model(input_ids) print(out.logits.softmax(dim=-1).tolist()) # Output: # [[0.002, 0.988, 0.01]] # ^ ^ ^ # NEG POS NEU ```
[ -0.2546050250530243, -0.512736976146698, 0.17766711115837097, 0.4088144898414612, -0.701557457447052, -0.0980561301112175, -0.12721827626228333, -0.0015648314729332924, 0.2883794903755188, 0.25036874413490295, -0.2552585005760193, -0.8620097041130066, -0.5460761189460754, 0.026453733444213867, -0.14211532473564148, 1.2835115194320679, 0.1227751225233078, 0.12470125406980515, 0.5138385891914368, -0.2710510790348053, -0.2722245454788208, -0.6409339904785156, -0.37681064009666443, -0.4952543079853058, 0.3125002384185791, 0.4594535231590271, 0.5888543128967285, 0.11507729440927505, 0.5326699018478394, 0.37731868028640747, -0.021553754806518555, 0.17625683546066284, -0.34334906935691833, 0.0915912464261055, 0.001485701883211732, -0.40232306718826294, -0.7119361758232117, 0.07170224189758301, 0.3437575399875641, 0.17971813678741455, -0.05377469211816788, 0.07402706891298294, -0.006858345586806536, 0.6043434143066406, -0.423249751329422, 0.17522062361240387, -0.3656606376171112, -0.08029825985431671, 0.10678619146347046, -0.006153306923806667, -0.4658081829547882, -0.39475300908088684, 0.3327597975730896, -0.6373633742332458, 0.1320836842060089, -0.213729128241539, 1.4046986103057861, 0.28541743755340576, -0.4523236155509949, -0.12248405814170837, -0.5402118563652039, 0.9189389944076538, -0.8018367290496826, 0.21128666400909424, 0.1474757343530655, 0.026375381276011467, 0.15474043786525726, -0.7152164578437805, -0.4717681109905243, -0.21077758073806763, -0.07766030728816986, 0.3620621860027313, -0.373469740152359, -0.01991838403046131, 0.11756939440965652, 0.535936176776886, -0.668202817440033, -0.3478926718235016, -0.34467488527297974, -0.12420887500047684, 0.5930195450782776, 0.03333797678351402, -0.0958474650979042, -0.7033972144126892, -0.5072086453437805, -0.2960333824157715, -0.08379746228456497, -0.10017368942499161, 0.3240557014942169, 0.10958784818649292, -0.32041728496551514, 0.79056316614151, -0.23074184358119965, 0.7841981053352356, 0.3978215456008911, -0.12245317548513412, 0.889242947101593, -0.05062852427363396, -0.329759806394577, -0.08657222241163254, 0.9486475586891174, 0.7416313290596008, 0.5332242250442505, 0.22143912315368652, -0.2364923357963562, 0.3070693016052246, -0.03754684329032898, -0.9418510794639587, -0.6581656336784363, 0.49258527159690857, -0.4906158149242401, -0.341224730014801, 0.4323129951953888, -0.8473278284072876, -0.29333701729774475, -0.06963331997394562, 0.7153229713439941, -0.5702798962593079, -0.6138899922370911, 0.5491001009941101, -0.3897380232810974, 0.37615957856178284, 0.09507657587528229, -0.2513706088066101, -0.0956111028790474, 0.5635149478912354, 0.8373464941978455, -0.019857387989759445, -0.30564430356025696, -0.26165473461151123, -0.37638309597969055, -0.027079399675130844, 0.6486738324165344, -0.12286549061536789, -0.6009451150894165, -0.2515625059604645, 0.10309956222772598, -0.12139042466878891, -0.6988204121589661, 0.5992037653923035, -0.2899475693702698, 0.4503859877586365, 0.25533097982406616, -0.6438308954238892, -0.303119421005249, 0.4166109263896942, -0.4331459105014801, 1.2856980562210083, 0.41605573892593384, -0.9313982725143433, 0.22199910879135132, -0.5002666115760803, -0.39586377143859863, -0.05931713432073593, 0.1507197916507721, -0.7894517183303833, 0.136093869805336, 0.09360618889331818, 0.42004328966140747, -0.05770497024059296, 0.33498647809028625, -0.36035895347595215, -0.1883939802646637, 0.6626079678535461, -0.24026724696159363, 1.1389756202697754, 0.19663049280643463, -0.6871991157531738, 0.4451659023761749, -1.1642777919769287, -0.024936970323324203, 0.09240152686834335, -0.3331926167011261, -0.23437678813934326, -0.31683626770973206, 0.4413337707519531, 0.16360341012477875, 0.32030004262924194, -0.7378657460212708, 0.25558045506477356, -0.5437889099121094, 0.4877360463142395, 0.6275392174720764, 0.12010394036769867, 0.3527355194091797, -0.14164312183856964, 0.4403422176837921, 0.07509772479534149, 0.24102166295051575, 0.22606298327445984, -0.4237889051437378, -1.2582122087478638, -0.41276732087135315, 0.09036824852228165, 0.8222156763076782, -0.5867151021957397, 0.9113403558731079, -0.13229148089885712, -0.8368077874183655, -0.33060041069984436, -0.1432342380285263, -0.00551208108663559, 0.5753061771392822, 0.44992324709892273, -0.335517555475235, -0.6824279427528381, -0.8348243236541748, -0.1267203837633133, -0.373442679643631, -0.08269757777452469, -0.01833888702094555, 0.6039303541183472, -0.5716554522514343, 1.0412447452545166, -0.6537191271781921, -0.3976949155330658, -0.2737072706222534, 0.2393331229686737, 0.5855721831321716, 0.5944753885269165, 0.3582756221294403, -0.7231584191322327, -0.5168808698654175, -0.2049873024225235, -0.5611230134963989, -0.01718977466225624, 0.1277294158935547, -0.4407516419887543, -0.18812081217765808, 0.15477289259433746, -0.7397491931915283, 0.43808063864707947, 0.3812761902809143, -0.6009249091148376, 0.8377645611763, -0.026183350011706352, -0.11963795870542526, -1.304405927658081, 0.059057023376226425, 0.20487409830093384, -0.11319510638713837, -0.3951824903488159, -0.21689343452453613, 0.051588255912065506, -0.1610981673002243, -0.48620882630348206, 0.5532280802726746, -0.13648030161857605, 0.34464290738105774, -0.39600619673728943, -0.1756107211112976, 0.3599967360496521, 0.582726001739502, 0.32797175645828247, 0.4661455750465393, 0.5738336443901062, -0.5204928517341614, 0.6793883442878723, 0.23200839757919312, -0.14987359941005707, 0.5548168420791626, -0.8720179200172424, 0.016715122386813164, 0.34764233231544495, 0.14177155494689941, -0.9235417246818542, -0.12850308418273926, 0.6027635335922241, -0.6767129898071289, 0.015090541914105415, -0.21677348017692566, -0.44183483719825745, -0.28326520323753357, -0.4490275979042053, 0.4029754102230072, 0.4043293595314026, -0.26859188079833984, 0.7076048254966736, 0.2767043113708496, 0.27550503611564636, -0.6160734295845032, -0.7594905495643616, -0.201228529214859, -0.528285562992096, -0.4926120340824127, 0.07692531496286392, -0.1862076073884964, -0.3219631612300873, 0.033536266535520554, 0.20948545634746552, -0.20210465788841248, -0.09927713125944138, 0.17110782861709595, 0.30162715911865234, -0.31275615096092224, 0.12575939297676086, -0.3776184618473053, -0.525981068611145, 0.07273036241531372, -0.5439997911453247, 0.6244613528251648, -0.5334510803222656, 0.0017177496338263154, -0.5391671657562256, -0.0363740473985672, 0.47982752323150635, -0.3283931612968445, 0.6731764078140259, 0.9534616470336914, -0.20373356342315674, -0.2676609754562378, -0.4324553608894348, -0.27787667512893677, -0.49067506194114685, 0.6045538783073425, -0.2842196822166443, -0.7475962042808533, 0.24787256121635437, 0.18984265625476837, -0.07868336141109467, 0.6329230070114136, 0.7780391573905945, 0.1263853758573532, 0.845588207244873, 0.7270822525024414, -0.19061340391635895, 0.5464205741882324, -0.6052702069282532, 0.25904399156570435, -0.65439373254776, 0.0004399979952722788, -0.11841141432523727, -0.057270050048828125, -0.6464744210243225, -0.38504672050476074, 0.20354212820529938, 0.01671196147799492, -0.49345895648002625, 0.3600063920021057, -0.9204065203666687, -0.03692267835140228, 0.6247323751449585, 0.0810438022017479, 0.0814143642783165, 0.22319820523262024, -0.12438282370567322, -0.08016026765108109, -0.5641955733299255, -0.45937108993530273, 1.0018706321716309, 0.3580355644226074, 0.8530990481376648, -0.16919992864131927, 0.6789935231208801, 0.12775778770446777, 0.48072874546051025, -1.0061061382293701, 0.575406014919281, -0.15694667398929596, -0.637760579586029, 0.0531376376748085, -0.27692314982414246, -0.7715432047843933, 0.3824363648891449, 0.043222736567258835, -0.5144585967063904, 0.5052684545516968, 0.08537176251411438, -0.464181512594223, 0.24031513929367065, -0.622903048992157, 1.049973964691162, -0.3906269669532776, -0.2648325562477112, 0.05561216175556183, -0.32850879430770874, 0.1605159491300583, 0.2973119616508484, -0.009829478338360786, -0.36886972188949585, 0.055258676409721375, 0.9381070137023926, -0.5821067094802856, 0.8072986006736755, -0.22060322761535645, -0.0319349430501461, 0.5249338150024414, 0.0666651502251625, 0.074235700070858, 0.23788069188594818, -0.25967928767204285, 0.1682477593421936, -0.3304412066936493, -0.320473849773407, -0.27928176522254944, 0.4877546727657318, -0.9653654098510742, -0.30032747983932495, -0.8180243968963623, -0.28938624262809753, 0.08127635717391968, 0.16093674302101135, 0.7549973726272583, 0.32197585701942444, -0.12069651484489441, 0.1407041996717453, 0.4495236277580261, -0.21760107576847076, 0.016870573163032532, 0.33648237586021423, -0.1933111995458603, -0.9110419750213623, 1.0961707830429077, -0.10755867511034012, -0.13943564891815186, 0.2753845155239105, 0.4410347640514374, -0.16752727329730988, -0.16757190227508545, -0.35318395495414734, 0.560012936592102, -0.6889163255691528, -0.29416659474372864, -0.5446712970733643, -0.2677226960659027, -0.34899410605430603, 0.02786414511501789, -0.47166869044303894, -0.4236387610435486, -0.5556563138961792, -0.40573257207870483, 0.747988224029541, 0.4915764629840851, -0.2545229196548462, 0.6604837775230408, -0.5450796484947205, 0.2153724581003189, 0.1894819289445877, 0.04007275402545929, -0.18995583057403564, -0.6871138215065002, -0.3673475682735443, -0.3100818991661072, -0.2734658718109131, -1.127977728843689, 0.894577145576477, 0.027741460129618645, 0.030630197376012802, 0.48267894983291626, 0.12295308709144592, 0.49471479654312134, -0.08066712319850922, 0.648088276386261, 0.14089739322662354, -1.0429030656814575, 0.4770359694957733, -0.27149683237075806, 0.20587685704231262, 0.41417333483695984, 0.2806832790374756, -0.5881598591804504, -0.3506568968296051, -0.6160224676132202, -1.2441143989562988, 0.4691835045814514, 0.30368396639823914, -0.18114884197711945, 0.11916404217481613, 0.1671230047941208, 0.014894895255565643, 0.25340190529823303, -1.2494128942489624, -0.5260236263275146, -0.6993708610534668, -0.5620996356010437, -0.26011961698532104, -0.4130201041698456, 0.020137133076786995, -0.3834749758243561, 1.0046316385269165, 0.11060045659542084, 0.31601807475090027, 0.5593558549880981, -0.35622021555900574, 0.10836527496576309, 0.2585182189941406, 0.39979541301727295, 0.509499728679657, -0.5689355731010437, 0.11033564060926437, -0.104367695748806, -0.5853607058525085, 0.24545416235923767, 0.3992677927017212, -0.26767024397850037, 0.317626953125, 0.2145073413848877, 0.8567932844161987, -0.11177908629179001, -0.4039538502693176, 0.41039571166038513, -0.2852090299129486, -0.18148481845855713, -0.5723345279693604, -0.0700121745467186, 0.03515616059303284, 0.15855179727077484, 0.5107430219650269, 0.0173224788159132, 0.05446769669651985, -0.06945430487394333, 0.34452661871910095, 0.12737712264060974, -0.5553983449935913, -0.43053922057151794, 0.5461128950119019, 0.2461124062538147, -0.23754502832889557, 0.6481508612632751, -0.32557278871536255, -0.9478331804275513, 0.604856014251709, 0.049243610352277756, 1.115546703338623, 0.026743387803435326, 0.30819404125213623, 0.7251702547073364, 0.40200886130332947, 0.211050882935524, 0.3511529266834259, 0.12135583162307739, -0.8192065954208374, -0.1199168935418129, -0.6675828695297241, -0.2028653621673584, 0.194902241230011, -0.5637559294700623, 0.26540321111679077, -0.4391202926635742, -0.5718498826026917, -0.2913845181465149, 0.1368197202682495, -0.552931547164917, 0.45014628767967224, 0.01741967722773552, 0.6075974702835083, -0.8176028728485107, 0.875943660736084, 0.6214423775672913, -0.4422149360179901, -0.9968845844268799, -0.13862740993499756, -0.1706186980009079, -0.48154476284980774, 0.5854681134223938, 0.3563555181026459, -0.23069201409816742, 0.11248554289340973, -0.3083120584487915, -0.6209601759910583, 0.6382002234458923, 0.12377016246318817, -0.27514079213142395, 0.21890299022197723, 0.056512437760829926, 0.4610442817211151, -0.30111685395240784, 0.2953954339027405, 0.517883837223053, 0.4750077426433563, -0.4831584393978119, -0.5956348180770874, -0.17627038061618805, -0.5739472508430481, -0.38844847679138184, -0.09931690245866776, -0.774603009223938, 1.3234747648239136, 0.008299517445266247, 0.009796538390219212, 0.16049633920192719, 0.9558307528495789, 0.3611266613006592, 0.2337523251771927, 0.5727298855781555, 0.6915202736854553, 0.5408244729042053, -0.15888500213623047, 0.7551881670951843, -0.3475143313407898, 0.8137426972389221, 0.9435854554176331, -0.13024118542671204, 0.7731396555900574, 0.22837625443935394, -0.1384069174528122, 0.9778003096580505, 0.8594216108322144, -0.354142427444458, 0.28712281584739685, 0.06157399341464043, -0.16483436524868011, -0.2376832664012909, 0.1771642118692398, -0.494652658700943, 0.5477170348167419, 0.2814338505268097, -0.2617802023887634, -0.050497621297836304, 0.1321488320827484, 0.051188088953495026, -0.2304854691028595, -0.12011474370956421, 0.5316389799118042, 0.1777302622795105, -0.4844323694705963, 0.7515301704406738, 0.21257001161575317, 1.1201039552688599, -0.6305596232414246, 0.08536164462566376, -0.07193475216627121, 0.6920285820960999, -0.2564166784286499, -0.572076678276062, -0.141121968626976, 0.14566965401172638, -0.050726231187582016, 0.2217741161584854, 0.7798815369606018, -0.41552892327308655, -0.8757036924362183, 0.5427164435386658, 0.5086925625801086, 0.1371023952960968, -0.16107620298862457, -1.1352266073226929, -0.06695510447025299, 0.16483211517333984, -0.6628596782684326, -0.2591659426689148, 0.5113922357559204, 0.2364950180053711, 0.42992982268333435, 0.4333629608154297, 0.07658698409795761, 0.10750527679920197, 0.14807114005088806, 0.6712586283683777, -0.8198482990264893, -0.789499044418335, -1.0652273893356323, 0.6221605539321899, -0.0667969286441803, -0.6867313385009766, 1.1255792379379272, 0.8419450521469116, 0.8745957016944885, -0.19485802948474884, 0.7203019261360168, 0.04903750494122505, 0.5002496838569641, -0.12473339587450027, 0.6839048862457275, -0.5158722400665283, -0.22433850169181824, -0.36773648858070374, -0.9459704756736755, -0.31155160069465637, 1.1276254653930664, -0.4540741443634033, 0.12120715528726578, 0.6965237855911255, 0.8202670812606812, -0.07101579755544662, -0.3552156090736389, 0.027768706902861595, 0.3760097324848175, 0.22082358598709106, 0.36684516072273254, 0.8317449688911438, -0.4769211411476135, 0.5785197019577026, -0.7085853815078735, -0.2430824637413025, -0.44828537106513977, -0.678621768951416, -0.837409257888794, -0.30995580554008484, -0.5227246284484863, -0.8009469509124756, -0.14341509342193604, 0.9640729427337646, 0.8145424723625183, -0.9130587577819824, -0.6947269439697266, -0.015209952369332314, 0.03589276969432831, 0.006472951266914606, -0.34852278232574463, 0.6653134226799011, -0.008555902168154716, -0.7452185750007629, 0.07194966822862625, 0.099201500415802, 0.031369827687740326, -0.25369271636009216, -0.13034659624099731, -0.13796286284923553, -0.12302099913358688, 0.50215744972229, 0.17586112022399902, -0.5187037587165833, -0.01366916112601757, 0.0783843994140625, -0.17505283653736115, 0.5696039795875549, 0.7252597808837891, -0.7030156254768372, 0.3491506278514862, 0.38577213883399963, 0.20210351049900055, 0.4398363530635834, 0.08378532528877258, 0.40345409512519836, -0.5627523064613342, 0.5421653389930725, 0.4212087392807007, 0.5074138045310974, 0.7763990759849548, -0.2203988879919052, 0.37875381112098694, 0.5307620167732239, -0.5117008686065674, -0.656523585319519, 0.11786423623561859, -1.0392237901687622, -0.2869175970554352, 1.2273463010787964, -0.06844288110733032, -0.49869880080223083, 0.03237545117735863, -0.557828426361084, 0.5148922204971313, -0.6181648373603821, 0.47957316040992737, 0.5816498398780823, -0.10093335062265396, 0.04075140506029129, -0.06601462513208389, 0.3804066479206085, 0.6666926741600037, -0.3522914946079254, -0.08519403636455536, 0.41572105884552, 0.48700249195098877, 0.18981550633907318, 0.6551015377044678, 0.1776457577943802, 0.3542044162750244, -0.009644857607781887, 0.3341708481311798, 0.036623381078243256, -0.05571926757693291, -0.5023531317710876, 0.21544966101646423, 0.1517762392759323, -0.46168261766433716 ]
openbmb/UltraRM-13b
openbmb
2023-10-14T09:49:47Z
14,748
31
transformers
[ "transformers", "pytorch", "llama", "dataset:openbmb/UltraFeedback", "arxiv:2310.01377", "license:mit", "endpoints_compatible", "text-generation-inference", "region:us" ]
null
2023-09-22T09:34:58Z
--- license: mit datasets: - openbmb/UltraFeedback --- # News - [2023/09/26]: UltraRM unleashes the power of [UltraLM-13B-v2.0](https://huggingface.co/openbmb/UltraLM-13b-v2.0) and [UltraLM-13B](https://huggingface.co/openbmb/UltraLM-13b)! A simple best-of-16 sampling achieves **92.30%** (UltraLM2, 🥇 in 13B results) and **91.54%** (UltraLM, 🥇 in LLaMA-1 results) win rates against text-davinci-003 on [AlpacaEval](https://tatsu-lab.github.io/alpaca_eval/) benchmark! - [2023/09/26]: We release the [UltraFeedback](https://huggingface.co/datasets/openbmb/UltraFeedback) dataset, along with UltraFeedback-powered reward model [UltraRM](https://huggingface.co/datasets/openbmb/UltraFeedback) and critique model [UltraCM](https://huggingface.co/datasets/openbmb/UltraCM-13b)! Both built **new SOTAs** over open-source models! # Links - 🤗 [UltraFeedback](https://huggingface.co/datasets/openbmb/UltraFeedback) - 🤗 [UltraRM](https://huggingface.co/datasets/openbmb/UltraRM-13b) - 🤗 [UltraCM](https://huggingface.co/datasets/openbmb/UltraCM-13b) # UltraRM We train and release a reward model UltraRM based on UltraFeedback to further facilitate alignment research. UltraRM is initialized by LLaMA2-13B. Specifically, we train two versions of reward models, where UltraRM-UF is merely fine-tuned on UltraFeedback and UltraRM is fine-tuned on a mixture of UltraFeedback and an equal-size sample from three open-source datasets including [Anthropic HH-RLHF](https://huggingface.co/datasets/Anthropic/hh-rlhf), [Standford SHP](https://huggingface.co/datasets/stanfordnlp/SHP), and [Summarization](https://huggingface.co/datasets/openai/summarize_from_feedback). ## Reward Modeling On four public preference test sets, our UltraRM achieves SOTA over other open-source reward models. ## Usage ```python from transformers import PreTrainedModel, LlamaConfig, LlamaModel, LlamaTokenizer import torch.nn as nn import torch from typing import Optional, List class LlamaRewardModel(PreTrainedModel): config_class = LlamaConfig def __init__(self, config): super().__init__(config) self.model = LlamaModel(config) self.regression_head = nn.Linear(self.config.hidden_size, 1, bias=False) def forward( # args are the same as LlamaForCausalLM self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = None, position_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[List[torch.FloatTensor]] = None, inputs_embeds: Optional[torch.FloatTensor] = None, labels: Optional[torch.LongTensor] = None, use_cache: Optional[bool] = None, output_attentions: Optional[bool] = None, output_hidden_states: Optional[bool] = None, return_dict: Optional[bool] = None, ): transformer_outputs = self.model( input_ids, attention_mask=attention_mask, position_ids=position_ids, past_key_values=past_key_values, inputs_embeds=inputs_embeds, ) hidden_states = transformer_outputs[0] rewards = self.regression_head(hidden_states).squeeze(-1) ends = attention_mask.cumsum(dim=1).argmax(dim=1).view(-1,1) rewards = torch.gather(rewards, 1, ends) return rewards ultrarm_template = """Human: {instruction} Assistant: {completion}""" dataset = [ # cases in webgpt {"chosen":"Human: \"Who orders martinis \"\"shaken, not stirred\"\"?\"\nAssistant: Sean Connery's character, fictional British Secret Service agent James Bond, in the movie Goldfinger, stated that he preferred his martini to be \"shaken, not stirred\". [1] Some believe that Bond ordered his martini shaken because of the vodka it contained, as vodka was, for the most part, refined from potatoes (cheaper brands) which made the vodka oily. To disperse the oil, Bond ordered his martinis shaken. [2]","rejected":"Human: \"Who orders martinis \"\"shaken, not stirred\"\"?\"\nAssistant: Fleming's fictional British Secret Service agent James Bond orders his martini cocktail shaken, not stirred [1]. Bond's preferences for his martini are carried over to the films, where his orders are seen in both the 1961 film Dr. No and the 2006 film Casino Royale [1, 2]. In both films, Bond's subordinates copy his order, telling the bartender to keep the fruit with their drinks [2]. However, in the 2006 film, Bond appears irritated when the bartender asks if he would like his drink shaken or stirred [2]."}, {"chosen":"Human: Sural relates to which part of the body?\nAssistant: The sural region is the muscular swelling of the back of the leg below the knee, formed chiefly by the bellies of the gastrocnemius and soleus muscles [1,2].","rejected":"Human: Sural relates to which part of the body?\nAssistant: The Sural nerve runs down the side of the leg near the small saphenous vein, then passes forward below the lateral malleolus and continues on the outside of the foot as the lateral dorsal cutaneous nerve, which then communicates with the intermediate dorsal cutaneous nerve, which branches off to the side of the foot. [1]"} ] tokenizer = LlamaTokenizer.from_pretrained("/data/UltraRM-13b") model = LlamaRewardModel.from_pretrained("/data/UltraRM-13b") for example in dataset: inputs = tokenizer(example["chosen"], return_tensors="pt") chosen_reward = model(**inputs).item() inputs = tokenizer(example["rejected"], return_tensors="pt") rejected_reward = model(**inputs).item() print(chosen_reward - rejected_reward) # Output 1: 2.4158712085336447 # Output 2: 0.1896953582763672 ``` ## Citation ``` @misc{cui2023ultrafeedback, title={UltraFeedback: Boosting Language Models with High-quality Feedback}, author={Ganqu Cui and Lifan Yuan and Ning Ding and Guanming Yao and Wei Zhu and Yuan Ni and Guotong Xie and Zhiyuan Liu and Maosong Sun}, year={2023}, eprint={2310.01377}, archivePrefix={arXiv}, primaryClass={cs.CL} } ```
[ -0.3510080575942993, -0.5216493606567383, 0.2964763045310974, 0.15817859768867493, -0.21230432391166687, 0.008637716993689537, 0.026774875819683075, -0.43841418623924255, 0.627437949180603, 0.37142214179039, -0.5388697981834412, -0.35865193605422974, -0.28897541761398315, 0.08477754890918732, -0.11115264147520065, 1.2029187679290771, -0.16434840857982635, 0.20170167088508606, -0.01103249192237854, -0.22883914411067963, -0.248061865568161, -0.6904622316360474, -0.16051292419433594, -0.6411975622177124, 0.44227614998817444, 0.25906798243522644, 0.4061805307865143, 0.5172534584999084, 0.6397603154182434, 0.26508861780166626, -0.1713956892490387, 0.02409980818629265, -0.5505601167678833, -0.07688664644956589, 0.014298117719590664, -0.4238268733024597, -0.6488442420959473, 0.12473902851343155, 0.5163590312004089, 0.3475240170955658, -0.1538054496049881, 0.317388117313385, -0.03805766999721527, 0.6088873147964478, -0.6296414136886597, -0.03713632747530937, -0.2618345320224762, -0.07694213837385178, -0.030789047479629517, -0.1171804890036583, -0.17196021974086761, -0.3379880487918854, -0.11801981180906296, -0.5031756162643433, 0.18502889573574066, -0.08903083950281143, 1.1911405324935913, 0.25978097319602966, -0.15943752229213715, 0.08317523449659348, -0.41492342948913574, 0.6592258810997009, -0.7900527715682983, 0.35703885555267334, 0.19764591753482819, 0.08614654093980789, -0.26266488432884216, -0.65618497133255, -0.47680264711380005, -0.369626522064209, -0.13798673450946808, 0.34256845712661743, -0.29538896679878235, 0.016649451106786728, 0.15011033415794373, 0.5205535888671875, -0.5027971863746643, 0.038450997322797775, -0.2600799798965454, -0.05320857837796211, 0.749844491481781, 0.21855752170085907, -0.02232949435710907, -0.23939532041549683, -0.6754041910171509, -0.367194265127182, -0.626356840133667, 0.2609383463859558, 0.05404442176222801, 0.2944413721561432, -0.3757745623588562, 0.6190128326416016, -0.3113059997558594, 0.5600090622901917, 0.23183991014957428, -0.24107776582241058, 0.5347814559936523, -0.39294832944869995, -0.4259718656539917, 0.05567442998290062, 0.9402786493301392, 0.5275554060935974, -0.10166288912296295, 0.0037591084837913513, -0.2675188183784485, 0.009292470291256905, -0.1680869311094284, -0.7593828439712524, -0.23145028948783875, 0.27986830472946167, -0.4632432460784912, -0.4133394956588745, 0.1879170835018158, -0.7211456298828125, -0.521011233329773, 0.18860454857349396, 0.5085811614990234, -0.17831000685691833, -0.3141762316226959, 0.11919163912534714, -0.2718658447265625, 0.25107279419898987, 0.040121424943208694, -0.8592655062675476, 0.16620375216007233, 0.27808529138565063, 0.7275986075401306, -0.1266002207994461, -0.3038274049758911, -0.1801859438419342, 0.07332713156938553, -0.2374134063720703, 0.6330516338348389, -0.2772930860519409, -0.318850576877594, -0.2573566436767578, 0.15145739912986755, -0.04841025546193123, -0.5886648297309875, 0.4335760176181793, -0.21063195168972015, 0.09930267930030823, -0.39404529333114624, -0.3831849694252014, -0.2398003488779068, 0.12162110209465027, -0.44792020320892334, 1.2186883687973022, 0.2119123637676239, -0.7662689089775085, 0.35296377539634705, -0.5589607357978821, -0.30043506622314453, -0.12165989726781845, 0.04510001465678215, -0.47244787216186523, 0.12645496428012848, 0.17883795499801636, 0.5903417468070984, -0.4091504216194153, 0.15524549782276154, -0.36949464678764343, -0.33160504698753357, 0.48649993538856506, -0.07547222822904587, 0.8030739426612854, 0.15335729718208313, -0.5933721661567688, 0.19178184866905212, -0.799484372138977, -0.1163993701338768, 0.47486746311187744, -0.39619624614715576, -0.1759951263666153, -0.3892100751399994, 0.045481953769922256, 0.26024362444877625, 0.22964873909950256, -0.6411014795303345, 0.3944774866104126, -0.16510197520256042, 0.4409031569957733, 0.7271989583969116, 0.017045414075255394, 0.29056593775749207, -0.407883882522583, 0.4645976126194, -0.06685531139373779, 0.2194732129573822, 0.1628117561340332, -0.3903801143169403, -0.9723379611968994, -0.4487708508968353, 0.34696176648139954, 0.6807793974876404, -0.39152929186820984, 0.5195794701576233, -0.019205864518880844, -0.7401198148727417, -0.4643802344799042, -0.11253680288791656, 0.45868709683418274, 0.5196220874786377, 0.5150309801101685, -0.2312789410352707, -0.6641355752944946, -0.7543947100639343, -0.14620766043663025, -0.39024022221565247, 0.09634620696306229, 0.4213283658027649, 0.5830350518226624, -0.18864956498146057, 0.594032883644104, -0.518064558506012, -0.37178194522857666, -0.36786118149757385, 0.0700310617685318, 0.44283705949783325, 0.6013572812080383, 0.47558674216270447, -0.46504098176956177, -0.08782558888196945, -0.17592744529247284, -0.8367502093315125, 0.01473444513976574, -0.23015975952148438, -0.14022091031074524, 0.1346139907836914, 0.22209250926971436, -0.637517511844635, 0.5005041360855103, 0.26821035146713257, -0.5041751265525818, 0.49621814489364624, -0.11735173314809799, 0.09382685273885727, -0.9515947699546814, 0.09508457034826279, 0.03967057541012764, -0.037002790719270706, -0.49791795015335083, 0.09322399646043777, 0.02067621238529682, 0.27302879095077515, -0.4456455409526825, 0.7024180293083191, -0.45099472999572754, -0.05960402637720108, -0.023056510835886, -0.16753312945365906, -0.04225204885005951, 0.5440921783447266, 0.09132230281829834, 0.6275675892829895, 0.37266701459884644, -0.5723990797996521, 0.5899585485458374, 0.224964439868927, -0.052902404218912125, 0.3557116985321045, -0.8159049153327942, 0.001118128071539104, 0.09358685463666916, 0.3808573782444, -1.1088602542877197, -0.28643733263015747, 0.23257838189601898, -0.7120228409767151, 0.201805979013443, 0.007208060938864946, -0.1909528523683548, -0.5979922413825989, -0.43420955538749695, 0.06906850636005402, 0.5841004252433777, -0.4627690613269806, 0.35261622071266174, 0.26546433568000793, 0.20584502816200256, -0.7965711951255798, -0.8869580626487732, -0.18269440531730652, -0.3238290846347809, -0.3148711621761322, 0.2886795401573181, -0.007991285994648933, -0.2740430533885956, -0.17192387580871582, -0.2533397376537323, 0.06825680285692215, 0.05730387195944786, 0.38617461919784546, 0.5267689228057861, -0.04801974073052406, -0.19525249302387238, -0.18211744725704193, -0.09731680154800415, -0.04852237552404404, -0.0996844470500946, 0.5594982504844666, -0.16908404231071472, -0.010324524715542793, -0.5792510509490967, 0.07862357795238495, 0.4008696973323822, -0.11671853810548782, 0.6517901420593262, 0.7118829488754272, -0.16387100517749786, 0.335834801197052, -0.6638449430465698, -0.5521292686462402, -0.4189490079879761, 0.286088764667511, -0.40474262833595276, -0.731290876865387, 0.5755974650382996, 0.22725380957126617, 0.19472914934158325, 0.5292247533798218, 0.73739093542099, -0.10032307356595993, 0.9338359832763672, 0.6324889659881592, -0.0026040351949632168, 0.5632685422897339, -0.6619601249694824, -0.12487175315618515, -0.8933784365653992, -0.46595296263694763, -0.3582666218280792, -0.38909170031547546, -0.5187109708786011, -0.17262674868106842, 0.1835024058818817, 0.34948158264160156, -0.39113083481788635, 0.45326662063598633, -0.6026731729507446, 0.22212576866149902, 0.6520289182662964, 0.12329846620559692, 0.06629124283790588, 0.046267565339803696, -0.334915429353714, 0.05674189329147339, -0.6467273235321045, -0.2504388988018036, 1.241868257522583, 0.3128955066204071, 0.9219546914100647, -0.07174559682607651, 0.906880795955658, 0.0740063413977623, 0.23082266747951508, -0.5226516127586365, 0.6053144335746765, 0.13498809933662415, -0.7473862171173096, -0.11835801601409912, -0.4369572401046753, -0.9759973883628845, 0.35892146825790405, -0.4770927131175995, -0.7246102094650269, 0.4672224819660187, 0.027065396308898926, -0.5976867079734802, 0.3769039511680603, -0.571622908115387, 0.6806758642196655, -0.15211127698421478, -0.6837144494056702, 0.058374837040901184, -0.8444559574127197, 0.33275675773620605, 0.3318694531917572, 0.031169136986136436, -0.13613608479499817, 0.045604780316352844, 1.026840090751648, -0.44429659843444824, 0.5334579348564148, -0.22957363724708557, 0.13909678161144257, 0.19745561480522156, 0.07050027698278427, 0.4924315810203552, 0.18394863605499268, -0.09513933956623077, 0.2408253252506256, -0.030755089595913887, -0.40756261348724365, -0.3199164867401123, 0.6527459025382996, -0.885746419429779, -0.36356812715530396, -0.7483171224594116, -0.5667248368263245, -0.02589687705039978, 0.13807380199432373, 0.5044165849685669, 0.21788354218006134, -0.09614671021699905, 0.06297902017831802, 0.5197559595108032, -0.10497301071882248, 0.6003029942512512, 0.5466852188110352, -0.18903249502182007, -0.5553719997406006, 0.7447615265846252, -0.04916475713253021, 0.1377640813589096, 0.4047786295413971, 0.12447920441627502, -0.43812841176986694, -0.36195871233940125, -0.4831252098083496, 0.5686821341514587, -0.41451185941696167, -0.4051053822040558, -0.545835018157959, -0.019373852759599686, -0.6532177329063416, -0.2355329394340515, -0.5317531824111938, -0.4779941737651825, -0.424089252948761, -0.3021584749221802, 0.5375001430511475, 0.8325003981590271, -0.45465537905693054, 0.25331807136535645, -0.5755475163459778, 0.23679713904857635, 0.26558274030685425, 0.06207488104701042, -0.16396701335906982, -0.5744108557701111, -0.050840962678194046, 0.1326478272676468, -0.2713335454463959, -0.8647792935371399, 0.5839225649833679, -0.11451369524002075, 0.44818779826164246, 0.3612208664417267, 0.00896479468792677, 0.8341595530509949, -0.0681254118680954, 0.9103982448577881, 0.5117285251617432, -0.6361672878265381, 0.356995165348053, -0.2502574920654297, 0.0737384483218193, 0.5074717402458191, 0.2811912000179291, -0.39792850613594055, -0.1571454405784607, -0.7388561964035034, -0.8282898664474487, 0.7638515830039978, 0.08633309602737427, -0.11411752551794052, 0.2697303295135498, 0.3709389567375183, -0.017409948632121086, 0.21595129370689392, -0.9890395998954773, -0.5058540105819702, -0.26876601576805115, 0.08535948395729065, -0.17111317813396454, -0.2407703548669815, -0.2728380262851715, -0.5849107503890991, 0.6644684076309204, 0.1276358664035797, 0.5205519795417786, 0.3758024573326111, -0.016535960137844086, -0.07750677317380905, 0.19549065828323364, 0.5774871110916138, 0.6791311502456665, -0.6689053773880005, 0.016985150054097176, 0.2929883897304535, -0.5859355926513672, 0.3579883277416229, 0.30687031149864197, -0.07140757888555527, -0.004215833265334368, 0.3432888984680176, 0.8801130056381226, -0.006356778554618359, -0.404045432806015, 0.40395668148994446, -0.04448411613702774, -0.27570536732673645, -0.12019190192222595, 0.08379662036895752, 0.02855869196355343, 0.3462333083152771, 0.4435812830924988, -0.09634088724851608, 0.08150838315486908, -0.5306148529052734, 0.025772172957658768, 0.39585041999816895, -0.4897057116031647, -0.24591732025146484, 0.8621276617050171, 0.0609138123691082, 0.004450147971510887, 0.49092897772789, -0.20345604419708252, -0.4131855368614197, 0.5141513347625732, 0.7224292755126953, 0.6985279321670532, -0.3376559913158417, 0.26057103276252747, 0.41328367590904236, 0.25958359241485596, -0.061650216579437256, 0.5275876522064209, 0.10359638929367065, -0.5800099968910217, -0.16047123074531555, -0.7043096423149109, -0.017426809296011925, 0.1612108200788498, -0.8328147530555725, 0.105009064078331, -0.4756365120410919, -0.33039575815200806, -0.05359736457467079, 0.17709095776081085, -0.3769647479057312, 0.26494088768959045, 0.08336514979600906, 0.8695371747016907, -1.031039834022522, 0.7077604532241821, 0.9440292716026306, -0.5857764482498169, -0.9350873827934265, -0.21213683485984802, -0.008444905281066895, -0.9731391072273254, 0.5102482438087463, -0.0692114308476448, 0.014286034740507603, -0.029408497735857964, -0.6276918649673462, -0.9183031320571899, 1.225767970085144, 0.3669559061527252, -0.30172601342201233, -0.03762200102210045, -0.01934799551963806, 0.43288174271583557, -0.22509053349494934, 0.6312472224235535, 0.7213990688323975, 0.4202585220336914, 0.28860557079315186, -0.8958226442337036, 0.2715846002101898, -0.21606986224651337, -0.10208786278963089, 0.14952394366264343, -0.935574471950531, 1.1023101806640625, -0.4289301037788391, 0.19109338521957397, 0.14227625727653503, 0.6497138738632202, 0.679672122001648, 0.1077880784869194, 0.29098838567733765, 0.7746438384056091, 0.6680649518966675, -0.2363610416650772, 1.1173509359359741, -0.0215735025703907, 0.5127051472663879, 0.6292991042137146, -0.04865419119596481, 0.7276371717453003, 0.5368044376373291, -0.38751786947250366, 0.6004326939582825, 0.9585041999816895, -0.028780601918697357, 0.5915554761886597, 0.1957215666770935, 0.06708785891532898, -0.20822186768054962, -0.13076674938201904, -0.8220700025558472, 0.45300644636154175, 0.08660919964313507, -0.3484598994255066, 0.026188744232058525, 0.021660814061760902, 0.38760095834732056, -0.4242752194404602, -0.2989398241043091, 0.6803249716758728, 0.032860781997442245, -0.47348901629447937, 1.216984748840332, -0.029319114983081818, 0.8278688788414001, -0.6443032026290894, 0.04625949263572693, -0.5575554966926575, 0.3218366801738739, -0.3850710988044739, -0.6257982850074768, -0.19179826974868774, -0.12401389330625534, -0.035574015229940414, 0.017186708748340607, 0.4418638348579407, -0.24062462151050568, -0.4679111838340759, 0.27528539299964905, 0.24721454083919525, 0.3582965135574341, 0.039024725556373596, -0.9283315539360046, 0.06341324001550674, 0.17287927865982056, -0.6066361665725708, 0.3823409080505371, -0.0461558997631073, 0.1316211074590683, 0.5697598457336426, 0.6983075737953186, 0.1376286745071411, 0.06037294119596481, -0.08088940382003784, 0.9122713804244995, -0.7174891829490662, -0.4602831304073334, -0.8628584742546082, 0.4498601257801056, -0.04403364285826683, -0.6049520373344421, 0.888355553150177, 0.6473515629768372, 0.7161703705787659, 0.05600695312023163, 0.5405327677726746, -0.22497183084487915, 0.40660637617111206, -0.41509026288986206, 0.6297993659973145, -0.9290523529052734, -0.022567708045244217, -0.4806057810783386, -0.9113584756851196, -0.25723153352737427, 0.6487326622009277, -0.18769386410713196, 0.11870881170034409, 0.6446969509124756, 0.7230501770973206, 0.08263083547353745, -0.05148867517709732, 0.025757309049367905, 0.2776516079902649, 0.08520074188709259, 0.7225381135940552, 0.691458523273468, -0.5304749608039856, 0.4488535225391388, -0.45512551069259644, -0.4815217852592468, -0.5235966444015503, -0.521680474281311, -0.829587996006012, -0.4631567597389221, -0.21776330471038818, -0.7934206128120422, 0.11376850306987762, 0.9869032502174377, 0.7467424273490906, -0.9159432649612427, -0.5566418170928955, 0.06632495671510696, 0.0629170835018158, -0.47185206413269043, -0.21562205255031586, 0.46404096484184265, 0.18367981910705566, -0.4770984947681427, 0.33362826704978943, 0.11004579067230225, 0.2749243676662445, -0.070160411298275, -0.06715594232082367, -0.5041987895965576, -0.03587387874722481, 0.3397887647151947, 0.4457050859928131, -0.6722283959388733, 0.07560652494430542, 0.2592194974422455, -0.16071097552776337, 0.15461397171020508, 0.5377655625343323, -0.7894445657730103, 0.1821332424879074, 0.4930088222026825, 0.2295197993516922, 0.7030632495880127, 0.09000299870967865, 0.23340919613838196, -0.44363388419151306, 0.37117263674736023, 0.1214447095990181, 0.5125904679298401, 0.27117791771888733, -0.5078662633895874, 0.6672975420951843, 0.41252708435058594, -0.5889760851860046, -1.0741649866104126, -0.05286194384098053, -1.0599722862243652, -0.3341437876224518, 1.2890437841415405, -0.03461778163909912, -0.34717532992362976, 0.18199138343334198, -0.20640701055526733, 0.45036330819129944, -0.5280625224113464, 0.578335165977478, 0.4251200258731842, -0.505959153175354, -0.1065167784690857, -0.45672523975372314, 0.4880165755748749, 0.566562831401825, -0.6382964253425598, -0.007089369930326939, 0.33721381425857544, 0.30662915110588074, 0.16937212646007538, 0.6296992897987366, -0.037086501717567444, 0.26392465829849243, -0.044289205223321915, 0.3681207299232483, -0.1948145478963852, -0.12532633543014526, -0.48119112849235535, -0.04563693702220917, -0.257974773645401, -0.4204501509666443 ]
deepset/deberta-v3-large-squad2
deepset
2023-09-27T07:59:39Z
14,738
45
transformers
[ "transformers", "pytorch", "safetensors", "deberta-v2", "question-answering", "deberta", "deberta-v3", "deberta-v3-large", "en", "dataset:squad_v2", "license:cc-by-4.0", "model-index", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
question-answering
2022-07-25T09:28:55Z
--- language: en license: cc-by-4.0 tags: - deberta - deberta-v3 - deberta-v3-large datasets: - squad_v2 model-index: - name: deepset/deberta-v3-large-squad2 results: - task: type: question-answering name: Question Answering dataset: name: squad_v2 type: squad_v2 config: squad_v2 split: validation metrics: - type: exact_match value: 88.0876 name: Exact Match verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZmE0MWEwNjBkNTA1MmU0ZDkyYTA1OGEwNzY3NGE4NWU4NGI0NTQzNjRlNjY1NGRmNDU2MjA0NjU1N2JlZmNhYiIsInZlcnNpb24iOjF9.PnBF_vD0HujNBSShGJzsJnjmiBP_qT8xb2E7ORmpKfNspKXEuN_pBk9iV0IHRzdqOSyllcxlCv93XMPblNjWDw - type: f1 value: 91.1623 name: F1 verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZDBkNDUzZmNkNDQwOGRkMmVlZjkxZWVlMzk3NzFmMGIxMTFmMjZlZDcyOWFiMjljNjM5MThlZDM4OWRmNzMwOCIsInZlcnNpb24iOjF9.bacyetziNI2DxO67GWpTyeRPXqF1POkyv00wEHXlyZu71pZngsNpZyrnuj2aJlCqQwHGnF_lT2ysaXKHprQRBg - task: type: question-answering name: Question Answering dataset: name: squad type: squad config: plain_text split: validation metrics: - type: exact_match value: 89.2366 name: Exact Match verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMjQ1Yjk3YTdiYTY1NmYxMTI1ZGZlMjRkNTlhZTkyNjRkNjgxYWJiNDk2NzE3NjAyYmY3YmRjNjg4YmEyNDkyYyIsInZlcnNpb24iOjF9.SEWyqX_FPQJOJt2KjOCNgQ2giyVeLj5bmLI5LT_Pfo33tbWPWD09TySYdsthaVTjUGT5DvDzQLASSwBH05FyBw - type: f1 value: 95.0569 name: F1 verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiY2QyODQ1NWVlYjQxMjA0YTgyNmQ2NmIxOWY3MDRmZjE3ZWI5Yjc4ZDE4NzA2YjE2YTE1YTBlNzNiYmNmNzI3NCIsInZlcnNpb24iOjF9.NcXEc9xoggV76w1bQKxuJDYbOTxFzdny2k-85_b6AIMtfpYV3rGR1Z5YF6tVY2jyp7mgm5Jd5YSgGI3NvNE-CQ - task: type: question-answering name: Question Answering dataset: name: adversarial_qa type: adversarial_qa config: adversarialQA split: validation metrics: - type: exact_match value: 42.100 name: Exact Match - type: f1 value: 56.587 name: F1 - task: type: question-answering name: Question Answering dataset: name: squad_adversarial type: squad_adversarial config: AddOneSent split: validation metrics: - type: exact_match value: 83.548 name: Exact Match - type: f1 value: 89.385 name: F1 - task: type: question-answering name: Question Answering dataset: name: squadshifts amazon type: squadshifts config: amazon split: test metrics: - type: exact_match value: 72.979 name: Exact Match - type: f1 value: 87.254 name: F1 - task: type: question-answering name: Question Answering dataset: name: squadshifts new_wiki type: squadshifts config: new_wiki split: test metrics: - type: exact_match value: 83.938 name: Exact Match - type: f1 value: 92.695 name: F1 - task: type: question-answering name: Question Answering dataset: name: squadshifts nyt type: squadshifts config: nyt split: test metrics: - type: exact_match value: 85.534 name: Exact Match - type: f1 value: 93.153 name: F1 - task: type: question-answering name: Question Answering dataset: name: squadshifts reddit type: squadshifts config: reddit split: test metrics: - type: exact_match value: 73.284 name: Exact Match - type: f1 value: 85.307 name: F1 --- # deberta-v3-large for QA This is the [deberta-v3-large](https://huggingface.co/microsoft/deberta-v3-large) model, fine-tuned using the [SQuAD2.0](https://huggingface.co/datasets/squad_v2) dataset. It's been trained on question-answer pairs, including unanswerable questions, for the task of Question Answering. ## Overview **Language model:** deberta-v3-large **Language:** English **Downstream-task:** Extractive QA **Training data:** SQuAD 2.0 **Eval data:** SQuAD 2.0 **Code:** See [an example QA pipeline on Haystack](https://haystack.deepset.ai/tutorials/first-qa-system) **Infrastructure**: 1x NVIDIA A10G ## Hyperparameters ``` batch_size = 2 grad_acc_steps = 32 n_epochs = 6 base_LM_model = "microsoft/deberta-v3-large" max_seq_len = 512 learning_rate = 7e-6 lr_schedule = LinearWarmup warmup_proportion = 0.2 doc_stride=128 max_query_length=64 ``` ## Usage ### In Haystack Haystack is an NLP framework by deepset. You can use this model in a Haystack pipeline to do question answering at scale (over many documents). To load the model in [Haystack](https://github.com/deepset-ai/haystack/): ```python reader = FARMReader(model_name_or_path="deepset/deberta-v3-large-squad2") # or reader = TransformersReader(model_name_or_path="deepset/deberta-v3-large-squad2",tokenizer="deepset/deberta-v3-large-squad2") ``` ### In Transformers ```python from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline model_name = "deepset/deberta-v3-large-squad2" # a) Get predictions nlp = pipeline('question-answering', model=model_name, tokenizer=model_name) QA_input = { 'question': 'Why is model conversion important?', 'context': 'The option to convert models between FARM and transformers gives freedom to the user and let people easily switch between frameworks.' } res = nlp(QA_input) # b) Load model & tokenizer model = AutoModelForQuestionAnswering.from_pretrained(model_name) tokenizer = AutoTokenizer.from_pretrained(model_name) ``` ## Performance Evaluated on the SQuAD 2.0 dev set with the [official eval script](https://worksheets.codalab.org/rest/bundles/0x6b567e1cf2e041ec80d7098f031c5c9e/contents/blob/). ``` "exact": 87.6105449338836, "f1": 90.75307008866517, "total": 11873, "HasAns_exact": 84.37921727395411, "HasAns_f1": 90.6732795483674, "HasAns_total": 5928, "NoAns_exact": 90.83263246425568, "NoAns_f1": 90.83263246425568, "NoAns_total": 5945 ``` ## 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.4224300980567932, -0.6887850761413574, 0.42297860980033875, 0.15735863149166107, -0.03706515207886696, 0.1585625559091568, 0.005618697963654995, -0.49630025029182434, 0.4062712490558624, 0.25245341658592224, -0.8624467253684998, -0.6503831148147583, -0.3360656499862671, 0.08155488967895508, -0.3637830317020416, 0.8213799595832825, 0.06418837606906891, -0.03978101909160614, -0.11413375288248062, -0.05386124178767204, -0.5338274240493774, -0.44199296832084656, -0.7503901124000549, -0.14986491203308105, 0.3093562424182892, 0.3798779249191284, 0.7324673533439636, 0.29582875967025757, 0.5272606015205383, 0.3317558467388153, -0.06646068394184113, 0.1358046680688858, -0.4579439163208008, 0.24850140511989594, -0.045114755630493164, -0.39861083030700684, -0.4572722911834717, -0.021556565538048744, 0.5539219975471497, 0.33181363344192505, -0.11798650771379471, 0.5028077363967896, -0.12210503220558167, 0.7383027076721191, -0.5536137819290161, 0.11113955080509186, -0.6811006665229797, -0.15060456097126007, 0.23783981800079346, 0.2007833868265152, -0.052835699170827866, -0.2036343365907669, 0.2190418541431427, -0.6313651204109192, 0.28787174820899963, -0.1906384527683258, 1.1926912069320679, 0.2794005274772644, -0.08621656894683838, -0.11504872888326645, -0.48602038621902466, 0.8875718116760254, -0.9864895343780518, 0.05914827808737755, 0.5436063408851624, 0.39753785729408264, 0.08675670623779297, -0.8317394256591797, -0.6456490159034729, 0.08829429745674133, -0.2654074728488922, 0.22916018962860107, -0.2995719611644745, -0.3794672191143036, 0.12761732935905457, 0.28446057438850403, -0.7887209057807922, 0.20439265668392181, -0.5387564301490784, 0.06789001822471619, 0.9166057109832764, 0.22344353795051575, 0.26741257309913635, -0.23268967866897583, -0.27678972482681274, -0.2704888880252838, -0.48129281401634216, 0.2014710158109665, 0.12161561846733093, 0.28606194257736206, -0.2220260500907898, 0.46160173416137695, -0.43942615389823914, 0.593677282333374, 0.22956599295139313, 0.4435626268386841, 0.48966485261917114, -0.5431271195411682, -0.26978909969329834, -0.18205861747264862, 0.9817739129066467, 0.4582083821296692, -0.008723591454327106, 0.010390720330178738, -0.2797694206237793, -0.1535184383392334, 0.23360855877399445, -0.9639955759048462, -0.13426543772220612, 0.5509963631629944, -0.2881756126880646, -0.38113805651664734, -0.007069678045809269, -0.7999814748764038, -0.3340177834033966, 0.0246735867112875, 0.5399129986763, -0.41423138976097107, -0.40058714151382446, 0.32512399554252625, -0.19741077721118927, 0.6587581634521484, 0.22220489382743835, -0.8607261180877686, 0.10793481767177582, 0.5963858366012573, 0.8222521543502808, 0.2227887660264969, -0.2830103933811188, -0.4789796471595764, -0.14991924166679382, -0.15399736166000366, 0.642212986946106, -0.32072120904922485, -0.049254558980464935, 0.0478082112967968, 0.266960084438324, -0.20468871295452118, -0.3533633351325989, 0.21127504110336304, -0.5930507183074951, 0.3909817337989807, -0.1917395144701004, -0.46736907958984375, -0.266009658575058, 0.43399158120155334, -0.7411366701126099, 1.077276349067688, 0.4177875220775604, -0.573500394821167, 0.10885042697191238, -0.7368075251579285, -0.17690333724021912, 0.10417149215936661, 0.04695829749107361, -0.3590942323207855, -0.2740594446659088, 0.39503899216651917, 0.5863310098648071, -0.3161420524120331, 0.04233289882540703, -0.28733718395233154, -0.4587237238883972, 0.26346030831336975, 0.06781311333179474, 1.1786421537399292, 0.1027233749628067, -0.44315648078918457, -0.04053756594657898, -0.7082676291465759, 0.2906648516654968, 0.2637665271759033, -0.14699320495128632, -0.028243903070688248, -0.12492364645004272, 0.058293942362070084, 0.409319669008255, 0.540719747543335, -0.45579659938812256, 0.19523301720619202, -0.623424232006073, 0.6607326865196228, 0.5821027755737305, -0.039392996579408646, 0.33907556533813477, -0.3358394205570221, 0.6940308213233948, -0.058623213320970535, 0.1732454001903534, 0.17769120633602142, -0.3632831871509552, -0.8091424107551575, -0.20517583191394806, 0.388161838054657, 0.719355583190918, -0.7224948406219482, 0.773314893245697, -0.18385852873325348, -0.6809115409851074, -0.8271417021751404, 0.1331688016653061, 0.25713005661964417, 0.3164866268634796, 0.5129733681678772, 0.011764244176447392, -0.7598508596420288, -1.0631150007247925, -0.016971131786704063, -0.2147463709115982, -0.23886243999004364, 0.19052298367023468, 0.7650966644287109, -0.44262996315956116, 0.8802614808082581, -0.711087167263031, -0.3425469398498535, -0.28712645173072815, -0.17708417773246765, 0.5174366235733032, 0.6901059150695801, 0.723649263381958, -0.7910783886909485, -0.4967154264450073, -0.27638623118400574, -0.7373178601264954, 0.26898884773254395, -0.02125810645520687, -0.34798508882522583, 0.17779132723808289, 0.3830937445163727, -0.7469925880432129, 0.2974412441253662, 0.5908950567245483, -0.6340106129646301, 0.28273096680641174, 0.02166900411248207, 0.10980234295129776, -1.4298601150512695, 0.3030818700790405, 0.011470664292573929, -0.22225245833396912, -0.44767647981643677, 0.19293881952762604, -0.19137635827064514, -0.03621290624141693, -0.4804774522781372, 0.6447387933731079, -0.2676294147968292, 0.14989382028579712, 0.13578787446022034, 0.291026771068573, 0.3151765465736389, 0.5405592918395996, -0.15817126631736755, 0.9105814099311829, 0.612782895565033, -0.4523959159851074, 0.6397219896316528, 0.6609805226325989, -0.4608739912509918, 0.3236367106437683, -0.9613363742828369, 0.13148482143878937, -0.0220507699996233, 0.26570257544517517, -1.0169280767440796, -0.2548796832561493, 0.24829499423503876, -0.6996932029724121, 0.09813874214887619, -0.0664258822798729, -0.6643952131271362, -0.5325142741203308, -0.5748457908630371, 0.24980248510837555, 0.7977396845817566, -0.40558308362960815, 0.27961868047714233, 0.4384331703186035, -0.04188462719321251, -0.6177348494529724, -0.8791276216506958, -0.03838709369301796, -0.11342398077249527, -0.7297987937927246, 0.2661011517047882, -0.13017193973064423, -0.1372152417898178, 0.06664355844259262, 0.04075595363974571, -0.5151721239089966, 0.28089839220046997, 0.1679454892873764, 0.4490439295768738, -0.3194023370742798, 0.29648557305336, -0.2046234905719757, -0.02728750929236412, 0.02281101793050766, -0.23940463364124298, 0.6559641361236572, -0.6086044907569885, 0.02911224588751793, -0.559138298034668, 0.35430216789245605, 0.5083321928977966, -0.37259596586227417, 0.9390010833740234, 0.7708918452262878, -0.37643274664878845, -0.012052989564836025, -0.5326019525527954, -0.22718404233455658, -0.46686291694641113, 0.43276214599609375, -0.22218537330627441, -0.8694677948951721, 0.6699073314666748, 0.36141830682754517, 0.1976960450410843, 1.0456173419952393, 0.440713495016098, -0.3216264545917511, 1.0927605628967285, 0.4558602571487427, -0.03128931298851967, 0.36927056312561035, -0.8740037083625793, 0.009945088997483253, -0.9916905164718628, -0.23723478615283966, -0.5464450120925903, -0.5340713858604431, -0.5954070687294006, -0.43173396587371826, 0.15588343143463135, 0.19483502209186554, -0.4803123474121094, 0.5644671320915222, -0.7863019108772278, 0.4565922021865845, 0.6383928656578064, 0.1685044765472412, 0.015255899168550968, -0.11378644406795502, 0.2811768651008606, 0.2196132391691208, -0.714577317237854, -0.43885141611099243, 1.0144723653793335, 0.24527527391910553, 0.5017601847648621, 0.17923732101917267, 0.7944248914718628, 0.122128427028656, -0.19719275832176208, -0.6767165660858154, 0.5368281602859497, -0.09678595513105392, -0.8914580941200256, -0.5230106115341187, -0.35424330830574036, -1.1220345497131348, 0.11387267708778381, -0.26860541105270386, -0.7621921896934509, 0.2850930094718933, -0.016625836491584778, -0.6483657360076904, 0.2397918850183487, -0.6317740082740784, 0.9400538206100464, -0.04369628429412842, -0.27606552839279175, -0.1692250370979309, -0.7836037278175354, 0.22327829897403717, 0.02752123586833477, -0.029546638950705528, -0.23342855274677277, -0.05036265030503273, 0.795463502407074, -0.4970236122608185, 0.8774027228355408, -0.11482025682926178, -0.10949808359146118, 0.4918819069862366, -0.021961629390716553, 0.4597471058368683, 0.3136104345321655, -0.3574431240558624, 0.24052825570106506, 0.45825400948524475, -0.5649582743644714, -0.5641301870346069, 0.7775537967681885, -0.9105561971664429, -0.4051051139831543, -0.4750562906265259, -0.42403197288513184, -0.12437781691551208, 0.2918677031993866, 0.20317254960536957, 0.38471487164497375, -0.20056085288524628, 0.5415105819702148, 0.5866905450820923, -0.17616716027259827, 0.4563536047935486, 0.48275935649871826, -0.16376790404319763, -0.3286623954772949, 0.7406580448150635, -0.03507993370294571, 0.11446598172187805, 0.4272592067718506, 0.06185922771692276, -0.4978483021259308, -0.35652098059654236, -0.5436540246009827, 0.24503016471862793, -0.5641744136810303, -0.4173276424407959, -0.6454157829284668, -0.46632373332977295, -0.7150375843048096, -0.07420782744884491, -0.3648683428764343, -0.6373811960220337, -0.4955461621284485, -0.0656055435538292, 0.7327069640159607, 0.5720265507698059, -0.042624276131391525, 0.20923814177513123, -0.7457172274589539, 0.3454686999320984, 0.48257869482040405, 0.37644079327583313, -0.13333995640277863, -0.5326884984970093, -0.24485531449317932, 0.4677347242832184, -0.11590784788131714, -0.6741583347320557, 0.3157064616680145, 0.0542990081012249, 0.26850706338882446, -0.1286650449037552, 0.0938459113240242, 0.5424039363861084, -0.32213857769966125, 0.8726530075073242, 0.1164073795080185, -0.7924292683601379, 0.6263744235038757, -0.38426175713539124, 0.4898236393928528, 1.0241512060165405, 0.2861379384994507, -0.5860785841941833, -0.24601106345653534, -0.7854980826377869, -0.9798734784126282, 0.6935290098190308, 0.39287102222442627, 0.17984551191329956, -0.07114429771900177, 0.3075040578842163, -0.1535814255475998, 0.25591787695884705, -0.48905685544013977, -0.23211108148097992, -0.19508296251296997, -0.28980839252471924, -0.06505394726991653, -0.12489568442106247, -0.15408936142921448, -0.4356430470943451, 0.9484046101570129, -0.06726691126823425, 0.13298611342906952, 0.33719342947006226, -0.13801069557666779, 0.17998085916042328, 0.14392538368701935, 0.4911023676395416, 0.8968313932418823, -0.40599027276039124, -0.2790576219558716, 0.2784702479839325, -0.3565038740634918, -0.00229721050709486, 0.28971245884895325, -0.3919488191604614, 0.10780486464500427, 0.30528098344802856, 0.7968904376029968, 0.044841233640909195, -0.6858935356140137, 0.6628439426422119, -0.14606456458568573, -0.46493783593177795, -0.5667430758476257, 0.11635174602270126, 0.20157328248023987, 0.4705365002155304, 0.3776089549064636, -0.2025568038225174, 0.1280469447374344, -0.45759689807891846, 0.13451693952083588, 0.5313475728034973, -0.4309862554073334, -0.11063864082098007, 0.49315932393074036, 0.3374824821949005, -0.31284013390541077, 0.7137542366981506, -0.17977622151374817, -0.5996043086051941, 0.9381000399589539, 0.3060619831085205, 1.0022320747375488, 0.07883597165346146, 0.43132147192955017, 0.6702095866203308, 0.30064305663108826, -0.015515941195189953, 0.29131388664245605, 0.16214679181575775, -0.4991552233695984, -0.35745322704315186, -0.7618927359580994, -0.16134144365787506, 0.3646766245365143, -0.7083055973052979, 0.21570329368114471, -0.4414544701576233, -0.08766643702983856, -0.02523413486778736, 0.3152923882007599, -0.9625463485717773, 0.2629457116127014, -0.14515343308448792, 0.8347597718238831, -0.5203061103820801, 0.4193112552165985, 0.8339877128601074, -0.7177122235298157, -0.8834163546562195, -0.14209875464439392, -0.28600001335144043, -1.0334473848342896, 0.5486287474632263, 0.27460503578186035, -0.11965084075927734, 0.2732406258583069, -0.7784163355827332, -0.9558380842208862, 1.3338019847869873, 0.05504290387034416, -0.5138592720031738, -0.28883451223373413, -0.06681761890649796, 0.5454712510108948, -0.31141558289527893, 0.27977460622787476, 0.5881795287132263, 0.4167821407318115, 0.08410096168518066, -0.8139642477035522, 0.3376946449279785, -0.3515044152736664, -0.0441104918718338, 0.07417049258947372, -0.8798693418502808, 0.8294212818145752, -0.11655820161104202, -0.13044868409633636, 0.2549982964992523, 0.4655320644378662, 0.18925230205059052, 0.037288542836904526, 0.5088467001914978, 0.5625482201576233, 0.7355818152427673, 0.023802507668733597, 0.9108296036720276, -0.18852704763412476, 0.7103356122970581, 1.0903655290603638, -0.13868531584739685, 0.9882075786590576, 0.35639238357543945, -0.31689828634262085, 0.751616358757019, 0.601834774017334, -0.36006882786750793, 0.301235169172287, 0.2790566682815552, -0.07590728998184204, -0.3599375784397125, 0.08150181919336319, -0.6481291651725769, 0.605465829372406, 0.06709249317646027, -0.28631192445755005, -0.21428246796131134, -0.36304816603660583, -0.11585697531700134, -0.038118716329336166, -0.12946827709674835, 0.8280774354934692, -0.09893909841775894, -0.5716114044189453, 1.0020869970321655, -0.18371692299842834, 0.6652244925498962, -0.6485592126846313, -0.07030445337295532, -0.22577697038650513, 0.18881165981292725, -0.1727188229560852, -0.898764967918396, 0.13809043169021606, -0.022671086713671684, -0.3849787414073944, -0.09522414952516556, 0.5134583115577698, -0.4251134991645813, -0.8289522528648376, 0.13062986731529236, 0.5578583478927612, 0.2252454161643982, -0.12629742920398712, -0.9887038469314575, -0.09971252828836441, -0.030439263209700584, -0.34675320982933044, 0.15355202555656433, 0.3328300714492798, 0.287726491689682, 0.6237351894378662, 0.6132158041000366, -0.05603915452957153, -0.10962473601102829, -0.048767901957035065, 0.9004268050193787, -0.7483038306236267, -0.3213264048099518, -0.8331956267356873, 0.6147938966751099, -0.3436029255390167, -0.4172555208206177, 0.6783919930458069, 0.6687054634094238, 0.7896620035171509, -0.158393993973732, 0.718311071395874, -0.27341228723526, 0.6136705279350281, -0.46091312170028687, 0.9282665848731995, -0.8800976276397705, 0.02140575274825096, -0.036080799996852875, -0.7248547673225403, -0.1324327290058136, 0.7339405417442322, -0.06471870839595795, 0.05337627977132797, 0.6632875204086304, 0.8118754029273987, 0.06570564955472946, -0.29030054807662964, -0.015202418901026249, 0.28881949186325073, 0.2475317418575287, 0.926501452922821, 0.7269589900970459, -0.8256064057350159, 0.6704266667366028, -0.28487488627433777, -0.06882012635469437, -0.2940143048763275, -0.5860881209373474, -0.9319813847541809, -0.6676629781723022, -0.299755722284317, -0.7176703810691833, -0.05404944345355034, 0.8717203736305237, 0.7309503555297852, -0.7974737882614136, -0.09192229807376862, -0.04118930920958519, 0.1540972739458084, -0.204662024974823, -0.30703967809677124, 0.4490547180175781, -0.2821221351623535, -0.7630457282066345, 0.31585946679115295, -0.08786500990390778, 0.05513797700405121, -0.28010106086730957, 0.07891988754272461, -0.7392987012863159, -0.0835128054022789, 0.5370644330978394, 0.38534319400787354, -0.5805138349533081, -0.1679060459136963, 0.16131192445755005, -0.26362642645835876, -0.010459301993250847, 0.3472210168838501, -0.9598216414451599, 0.15482057631015778, 0.6541104912757874, 0.7492756843566895, 0.5322299003601074, 0.004087730776518583, 0.5059406757354736, -0.5793154239654541, 0.15451769530773163, 0.4419303834438324, 0.21523793041706085, 0.29879286885261536, -0.4925706386566162, 0.8247318863868713, -0.028650032356381416, -0.5484174489974976, -0.8441987633705139, 0.008569714613258839, -0.9177793264389038, -0.3968975841999054, 1.2410513162612915, 0.013163398019969463, -0.27981486916542053, 0.15518105030059814, -0.2330055832862854, 0.20902901887893677, -0.4397154450416565, 0.6853392720222473, 0.6926450133323669, 0.11910859495401382, 0.21532927453517914, -0.6955311298370361, 0.4881143867969513, 0.5287456512451172, -0.8799770474433899, -0.08687387406826019, 0.46172335743904114, 0.2838135361671448, 0.21290621161460876, 0.6324586868286133, 0.13472960889339447, 0.399765282869339, -0.19502383470535278, 0.031056899577379227, -0.05399018153548241, -0.041749920696020126, -0.3961774408817291, -0.09906678646802902, -0.2571130692958832, -0.4858463406562805 ]
Helsinki-NLP/opus-mt-tc-big-zls-en
Helsinki-NLP
2023-10-10T10:31:05Z
14,728
0
transformers
[ "transformers", "pytorch", "tf", "safetensors", "marian", "text2text-generation", "translation", "opus-mt-tc", "bg", "bs", "en", "hr", "mk", "sh", "sl", "sr", "zls", "license:cc-by-4.0", "model-index", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
translation
2022-04-13T17:12:36Z
--- language: - bg - bs - en - hr - mk - sh - sl - sr - zls tags: - translation - opus-mt-tc license: cc-by-4.0 model-index: - name: opus-mt-tc-big-zls-en results: - task: name: Translation bul-eng type: translation args: bul-eng dataset: name: flores101-devtest type: flores_101 args: bul eng devtest metrics: - name: BLEU type: bleu value: 42.0 - task: name: Translation hrv-eng type: translation args: hrv-eng dataset: name: flores101-devtest type: flores_101 args: hrv eng devtest metrics: - name: BLEU type: bleu value: 37.1 - task: name: Translation mkd-eng type: translation args: mkd-eng dataset: name: flores101-devtest type: flores_101 args: mkd eng devtest metrics: - name: BLEU type: bleu value: 43.2 - task: name: Translation slv-eng type: translation args: slv-eng dataset: name: flores101-devtest type: flores_101 args: slv eng devtest metrics: - name: BLEU type: bleu value: 35.2 - task: name: Translation srp_Cyrl-eng type: translation args: srp_Cyrl-eng dataset: name: flores101-devtest type: flores_101 args: srp_Cyrl eng devtest metrics: - name: BLEU type: bleu value: 36.8 - task: name: Translation bos_Latn-eng type: translation args: bos_Latn-eng dataset: name: tatoeba-test-v2021-08-07 type: tatoeba_mt args: bos_Latn-eng metrics: - name: BLEU type: bleu value: 66.5 - task: name: Translation bul-eng type: translation args: bul-eng dataset: name: tatoeba-test-v2021-08-07 type: tatoeba_mt args: bul-eng metrics: - name: BLEU type: bleu value: 59.3 - task: name: Translation hbs-eng type: translation args: hbs-eng dataset: name: tatoeba-test-v2021-08-07 type: tatoeba_mt args: hbs-eng metrics: - name: BLEU type: bleu value: 57.3 - task: name: Translation hrv-eng type: translation args: hrv-eng dataset: name: tatoeba-test-v2021-08-07 type: tatoeba_mt args: hrv-eng metrics: - name: BLEU type: bleu value: 59.2 - task: name: Translation mkd-eng type: translation args: mkd-eng dataset: name: tatoeba-test-v2021-08-07 type: tatoeba_mt args: mkd-eng metrics: - name: BLEU type: bleu value: 57.4 - task: name: Translation slv-eng type: translation args: slv-eng dataset: name: tatoeba-test-v2021-08-07 type: tatoeba_mt args: slv-eng metrics: - name: BLEU type: bleu value: 23.5 - task: name: Translation srp_Cyrl-eng type: translation args: srp_Cyrl-eng dataset: name: tatoeba-test-v2021-08-07 type: tatoeba_mt args: srp_Cyrl-eng metrics: - name: BLEU type: bleu value: 47.0 - task: name: Translation srp_Latn-eng type: translation args: srp_Latn-eng dataset: name: tatoeba-test-v2021-08-07 type: tatoeba_mt args: srp_Latn-eng metrics: - name: BLEU type: bleu value: 58.5 --- # opus-mt-tc-big-zls-en Neural machine translation model for translating from South Slavic languages (zls) to English (en). This model is part of the [OPUS-MT project](https://github.com/Helsinki-NLP/Opus-MT), an effort to make neural machine translation models widely available and accessible for many languages in the world. All models are originally trained using the amazing framework of [Marian NMT](https://marian-nmt.github.io/), an efficient NMT implementation written in pure C++. The models have been converted to pyTorch using the transformers library by huggingface. Training data is taken from [OPUS](https://opus.nlpl.eu/) and training pipelines use the procedures of [OPUS-MT-train](https://github.com/Helsinki-NLP/Opus-MT-train). * Publications: [OPUS-MT – Building open translation services for the World](https://aclanthology.org/2020.eamt-1.61/) and [The Tatoeba Translation Challenge – Realistic Data Sets for Low Resource and Multilingual MT](https://aclanthology.org/2020.wmt-1.139/) (Please, cite if you use this model.) ``` @inproceedings{tiedemann-thottingal-2020-opus, title = "{OPUS}-{MT} {--} Building open translation services for the World", author = {Tiedemann, J{\"o}rg and Thottingal, Santhosh}, booktitle = "Proceedings of the 22nd Annual Conference of the European Association for Machine Translation", month = nov, year = "2020", address = "Lisboa, Portugal", publisher = "European Association for Machine Translation", url = "https://aclanthology.org/2020.eamt-1.61", pages = "479--480", } @inproceedings{tiedemann-2020-tatoeba, title = "The Tatoeba Translation Challenge {--} Realistic Data Sets for Low Resource and Multilingual {MT}", author = {Tiedemann, J{\"o}rg}, booktitle = "Proceedings of the Fifth Conference on Machine Translation", month = nov, year = "2020", address = "Online", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2020.wmt-1.139", pages = "1174--1182", } ``` ## Model info * Release: 2022-03-17 * source language(s): bos_Latn bul hbs hrv mkd slv srp_Cyrl srp_Latn * target language(s): eng * model: transformer-big * data: opusTCv20210807+bt ([source](https://github.com/Helsinki-NLP/Tatoeba-Challenge)) * tokenization: SentencePiece (spm32k,spm32k) * original model: [opusTCv20210807+bt_transformer-big_2022-03-17.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/zls-eng/opusTCv20210807+bt_transformer-big_2022-03-17.zip) * more information released models: [OPUS-MT zls-eng README](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/zls-eng/README.md) ## Usage A short example code: ```python from transformers import MarianMTModel, MarianTokenizer src_text = [ "Да не би случайно Том да остави Мери да кара колата?", "Какво е времето днес?" ] model_name = "pytorch-models/opus-mt-tc-big-zls-en" tokenizer = MarianTokenizer.from_pretrained(model_name) model = MarianMTModel.from_pretrained(model_name) translated = model.generate(**tokenizer(src_text, return_tensors="pt", padding=True)) for t in translated: print( tokenizer.decode(t, skip_special_tokens=True) ) # expected output: # Did Tom just let Mary drive the car? # What's the weather like today? ``` You can also use OPUS-MT models with the transformers pipelines, for example: ```python from transformers import pipeline pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-tc-big-zls-en") print(pipe("Да не би случайно Том да остави Мери да кара колата?")) # expected output: Did Tom just let Mary drive the car? ``` ## Benchmarks * test set translations: [opusTCv20210807+bt_transformer-big_2022-03-17.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/zls-eng/opusTCv20210807+bt_transformer-big_2022-03-17.test.txt) * test set scores: [opusTCv20210807+bt_transformer-big_2022-03-17.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/zls-eng/opusTCv20210807+bt_transformer-big_2022-03-17.eval.txt) * benchmark results: [benchmark_results.txt](benchmark_results.txt) * benchmark output: [benchmark_translations.zip](benchmark_translations.zip) | langpair | testset | chr-F | BLEU | #sent | #words | |----------|---------|-------|-------|-------|--------| | bos_Latn-eng | tatoeba-test-v2021-08-07 | 0.79339 | 66.5 | 301 | 1826 | | bul-eng | tatoeba-test-v2021-08-07 | 0.72656 | 59.3 | 10000 | 71872 | | hbs-eng | tatoeba-test-v2021-08-07 | 0.71783 | 57.3 | 10017 | 68934 | | hrv-eng | tatoeba-test-v2021-08-07 | 0.74066 | 59.2 | 1480 | 10620 | | mkd-eng | tatoeba-test-v2021-08-07 | 0.70043 | 57.4 | 10010 | 65667 | | slv-eng | tatoeba-test-v2021-08-07 | 0.39534 | 23.5 | 2495 | 16940 | | srp_Cyrl-eng | tatoeba-test-v2021-08-07 | 0.67628 | 47.0 | 1580 | 10181 | | srp_Latn-eng | tatoeba-test-v2021-08-07 | 0.71878 | 58.5 | 6656 | 46307 | | bul-eng | flores101-devtest | 0.67375 | 42.0 | 1012 | 24721 | | hrv-eng | flores101-devtest | 0.63914 | 37.1 | 1012 | 24721 | | mkd-eng | flores101-devtest | 0.67444 | 43.2 | 1012 | 24721 | | slv-eng | flores101-devtest | 0.62087 | 35.2 | 1012 | 24721 | | srp_Cyrl-eng | flores101-devtest | 0.67810 | 36.8 | 1012 | 24721 | ## Acknowledgements The work is supported by the [European Language Grid](https://www.european-language-grid.eu/) as [pilot project 2866](https://live.european-language-grid.eu/catalogue/#/resource/projects/2866), by the [FoTran project](https://www.helsinki.fi/en/researchgroups/natural-language-understanding-with-cross-lingual-grounding), funded by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No 771113), and the [MeMAD project](https://memad.eu/), funded by the European Union’s Horizon 2020 Research and Innovation Programme under grant agreement No 780069. We are also grateful for the generous computational resources and IT infrastructure provided by [CSC -- IT Center for Science](https://www.csc.fi/), Finland. ## Model conversion info * transformers version: 4.16.2 * OPUS-MT git hash: 3405783 * port time: Wed Apr 13 20:12:26 EEST 2022 * port machine: LM0-400-22516.local
[ -0.457212895154953, -0.5454098582267761, 0.2938051223754883, 0.2729654908180237, -0.546995997428894, -0.19338272511959076, -0.5312514901161194, -0.3060787618160248, 0.2160228043794632, 0.3288339376449585, -0.5613807439804077, -0.7362355589866638, -0.5550751090049744, 0.2513367831707001, -0.1804705560207367, 0.8176823258399963, -0.23894008994102478, 0.24019755423069, 0.24611251056194305, -0.20795361697673798, -0.1649278998374939, -0.41834557056427, -0.3660604655742645, -0.3498555123806, 0.23623378574848175, 0.15659745037555695, 0.6137332320213318, 0.6386025547981262, 0.5974178314208984, 0.37984350323677063, -0.2978389263153076, 0.27095213532447815, -0.10416662693023682, -0.10078760981559753, 0.06013650447130203, -0.48941195011138916, -0.5435848236083984, -0.19058994948863983, 0.9603540897369385, 0.5554226040840149, 0.09791063517332077, 0.35596027970314026, 0.08848259598016739, 0.6814681887626648, -0.16284435987472534, 0.1419832408428192, -0.5722861886024475, 0.10612508654594421, -0.354313462972641, -0.3732997179031372, -0.5537428259849548, -0.21477985382080078, 0.05089198425412178, -0.5554512739181519, 0.15499143302440643, 0.07613963633775711, 1.387183666229248, 0.14420545101165771, -0.2896575927734375, -0.17268162965774536, -0.7631828188896179, 1.0602730512619019, -0.9097689390182495, 0.6443972587585449, 0.1997416913509369, -0.026126326993107796, -0.16406385600566864, -0.6285159587860107, -0.697775661945343, -0.00965856108814478, -0.27144333720207214, 0.35636162757873535, -0.24344097077846527, -0.17522205412387848, 0.24555543065071106, 0.5376560091972351, -0.7128559350967407, 0.04085424542427063, -0.5277280807495117, -0.1862572729587555, 0.575187623500824, 0.13381271064281464, 0.30929163098335266, -0.4090327322483063, -0.47595253586769104, -0.45317554473876953, -0.670307993888855, 0.20933149755001068, 0.3418133556842804, 0.4829190671443939, -0.5859739184379578, 0.6721661686897278, -0.05620026960968971, 0.8388288021087646, -0.015968317165970802, -0.07020609080791473, 0.8526874780654907, -0.6567988395690918, -0.27138543128967285, -0.22826610505580902, 1.277336597442627, 0.3370349407196045, 0.08208518475294113, -0.16576866805553436, -0.15949280560016632, -0.16111943125724792, -0.21111661195755005, -0.8651020526885986, 0.22261184453964233, 0.2956416606903076, -0.414187490940094, -0.06151222810149193, 0.04569656029343605, -0.7964255809783936, 0.19131025671958923, -0.3778940737247467, 0.4279296398162842, -0.6763019561767578, -0.43581950664520264, 0.23120781779289246, 0.052042312920093536, 0.3623456060886383, 0.052831873297691345, -0.6776524186134338, 0.005115038715302944, 0.4151467978954315, 0.9384603500366211, -0.10188524425029755, -0.4592910706996918, -0.41077956557273865, -0.06719806045293808, -0.27679288387298584, 0.5476676821708679, -0.07026849687099457, -0.28223374485969543, -0.13309364020824432, 0.30242207646369934, -0.3317594528198242, -0.261869341135025, 0.8261718153953552, -0.37694692611694336, 0.4062877297401428, -0.27295777201652527, -0.3858802616596222, -0.19981540739536285, 0.2520327568054199, -0.4567781984806061, 1.1824367046356201, 0.09584587067365646, -0.8519317507743835, 0.14777889847755432, -0.6415202617645264, -0.2588137090206146, -0.07999635487794876, 0.14202478528022766, -0.5706100463867188, 0.015507647767663002, 0.2747913599014282, 0.45230770111083984, -0.5863736867904663, 0.3536277413368225, 0.02034912258386612, -0.2519386410713196, 0.1834423989057541, -0.4728415608406067, 1.1877180337905884, 0.3608734607696533, -0.5667949318885803, 0.11718183755874634, -0.879257082939148, 0.19276949763298035, 0.14284341037273407, -0.460945725440979, -0.14422547817230225, -0.07685187458992004, 0.11679952591657639, 0.393497109413147, 0.2419363558292389, -0.6560755968093872, 0.1397848278284073, -0.688435435295105, 0.40839433670043945, 0.7976639866828918, -0.24026496708393097, 0.3571319580078125, -0.21945597231388092, 0.43772315979003906, 0.24137531220912933, 0.015817100182175636, -0.09914067387580872, -0.5964439511299133, -0.9412776827812195, -0.21962064504623413, 0.4852038621902466, 0.6278476119041443, -1.0767494440078735, 0.7717533707618713, -0.6604183912277222, -0.9083333015441895, -0.73716139793396, -0.17615832388401031, 0.6269360184669495, 0.348723828792572, 0.6711745858192444, -0.10025043040513992, -0.565679669380188, -0.9318851828575134, -0.21040552854537964, -0.1850823312997818, -0.06160463020205498, 0.15120424330234528, 0.6563663482666016, -0.17994631826877594, 0.7492861747741699, -0.34868454933166504, -0.37591099739074707, -0.40642786026000977, 0.042012739926576614, 0.6295366287231445, 0.7691754102706909, 0.5261660814285278, -0.8334657549858093, -0.7512494921684265, 0.37665998935699463, -0.7223316431045532, -0.06842705607414246, -0.05491252243518829, -0.1926451176404953, 0.3887873888015747, 0.1568758189678192, -0.7082604765892029, 0.25800737738609314, 0.729995608329773, -0.5656591057777405, 0.5255697965621948, -0.23948046565055847, 0.20585249364376068, -1.4525377750396729, 0.22831594944000244, -0.08930811285972595, -0.06502562761306763, -0.7465179562568665, 0.06936217844486237, 0.12570539116859436, 0.15518835186958313, -0.6673054099082947, 0.5869680047035217, -0.7017111778259277, -0.11163066327571869, 0.37351369857788086, 0.14885276556015015, -0.05428719520568848, 0.8110883235931396, -0.00519240228459239, 0.9713298082351685, 0.6896777153015137, -0.6071109175682068, 0.2553379237651825, 0.4814821779727936, -0.4128524661064148, 0.21107493340969086, -0.7106931209564209, 0.06155116483569145, 0.08389271795749664, -0.029253099113702774, -0.7581385970115662, 0.15865500271320343, 0.4588209390640259, -0.7540755867958069, 0.396023690700531, -0.25868546962738037, -0.7425223588943481, -0.4331059157848358, -0.15852238237857819, 0.3295642137527466, 0.5336002707481384, -0.4774787425994873, 0.7361615300178528, 0.04958432540297508, 0.01922498270869255, -0.621148407459259, -0.9517757296562195, 0.029546435922384262, -0.19260603189468384, -0.8805027604103088, 0.505477249622345, -0.2359803169965744, -0.03144345432519913, 0.05378177389502525, 0.12921518087387085, 0.006772578228265047, -0.0073151602409780025, -0.003437757259234786, 0.26875200867652893, -0.4673314392566681, -0.011925999075174332, -0.028193125501275063, -0.34352123737335205, -0.2186010628938675, -0.4771267771720886, 0.9327874779701233, -0.5642651915550232, -0.27539947628974915, -0.7972344160079956, 0.15516898036003113, 0.8473019003868103, -0.6542218327522278, 1.0758607387542725, 0.6996908187866211, -0.19187526404857635, 0.12662102282047272, -0.37554681301116943, 0.02183193899691105, -0.4748527705669403, 0.4012060761451721, -0.5286251306533813, -0.6843337416648865, 0.8029066324234009, 0.3056197464466095, 0.24207164347171783, 0.872065007686615, 0.7928710579872131, 0.22945941984653473, 0.9253135323524475, 0.2693624794483185, 0.08650807291269302, 0.3545082211494446, -0.7322647571563721, 0.18017402291297913, -0.9445605874061584, -0.2393297702074051, -0.7183163166046143, -0.1645960807800293, -0.7385705709457397, -0.5481990575790405, 0.3106594979763031, -0.08420529961585999, -0.06044846400618553, 0.6740610003471375, -0.5451335906982422, 0.11128256469964981, 0.550698459148407, -0.05675460025668144, 0.3120611011981964, 0.10065944492816925, -0.4920226037502289, -0.3205857574939728, -0.5824048519134521, -0.472292423248291, 1.1575373411178589, 0.26196378469467163, 0.28701332211494446, 0.2552866041660309, 0.6524050831794739, -0.09284862875938416, 0.20691482722759247, -0.5862837433815002, 0.5714142322540283, -0.263724148273468, -0.6335685849189758, -0.2858481705188751, -0.5869932174682617, -0.9146454930305481, 0.6531436443328857, -0.17033132910728455, -0.7227421998977661, 0.23205585777759552, 0.008611214347183704, -0.13835960626602173, 0.6434335708618164, -0.7106717228889465, 0.9690673351287842, -0.14572353661060333, -0.34719786047935486, 0.04109080508351326, -0.6546502113342285, 0.15871880948543549, 0.0526350662112236, 0.2786502540111542, -0.00462888740003109, 0.11012307554483414, 0.7926220893859863, -0.40969669818878174, 0.5222499966621399, -0.10607294738292694, -0.20763354003429413, 0.2260020226240158, -0.05025726184248924, 0.6007298827171326, -0.2333822250366211, -0.34718018770217896, 0.44378092885017395, -0.04597083851695061, -0.39574506878852844, -0.2989082336425781, 0.6063368916511536, -0.8954188823699951, -0.44668251276016235, -0.44775670766830444, -0.5645123720169067, 0.13577522337436676, 0.45683327317237854, 0.6346558928489685, 0.6951047778129578, 0.12230829149484634, 0.5431050062179565, 0.6000969409942627, -0.45105451345443726, 0.5401852130889893, 0.577010989189148, -0.11624962836503983, -0.5048872232437134, 0.941749632358551, 0.38227927684783936, 0.4842626750469208, 0.5148230195045471, 0.1470191478729248, -0.2358381450176239, -0.7591272592544556, -0.818688690662384, 0.4418770670890808, -0.4826624393463135, -0.2644176781177521, -0.7269967198371887, -0.15121890604496002, -0.3755068778991699, 0.09191243350505829, -0.6434317231178284, -0.49560070037841797, -0.24053433537483215, -0.1399846374988556, 0.3990948498249054, 0.3318573236465454, 0.02648647502064705, 0.3309890031814575, -0.9255368113517761, 0.1253557801246643, -0.2731431722640991, 0.2878866493701935, -0.09179210662841797, -0.7897085547447205, -0.4642915725708008, 0.23276370763778687, -0.3424135446548462, -0.928450345993042, 0.7559575438499451, 0.01547248475253582, 0.3756507337093353, 0.18033607304096222, 0.14059720933437347, 0.6518675088882446, -0.5705322623252869, 0.9078660011291504, 0.06987477838993073, -1.067440390586853, 0.40400075912475586, -0.3508199155330658, 0.28105980157852173, 0.3715534508228302, 0.14203345775604248, -0.6808282732963562, -0.6688989400863647, -0.7109065651893616, -0.9782150387763977, 1.0533843040466309, 0.6093224883079529, 0.005630166735500097, 0.03093523159623146, 0.02800627239048481, -0.12339252978563309, 0.046643927693367004, -1.058412790298462, -0.6866565346717834, -0.07215902209281921, -0.2386462688446045, -0.18462875485420227, -0.17524690926074982, 0.05097823962569237, -0.4084225594997406, 1.0696223974227905, 0.11360173672437668, 0.4899635314941406, 0.4920387268066406, -0.301076740026474, -0.0860382542014122, 0.3535206615924835, 0.8602082133293152, 0.4999898374080658, -0.1777290254831314, 0.056329887360334396, 0.3278978765010834, -0.5063741207122803, 0.03214677795767784, 0.14302122592926025, -0.4736402630805969, 0.39515700936317444, 0.383718878030777, 1.0250619649887085, 0.09093187749385834, -0.4289360046386719, 0.5200635194778442, -0.05728203430771828, -0.3930046558380127, -0.47193193435668945, -0.3323800563812256, 0.17929328978061676, 0.1458723545074463, 0.4313124120235443, 0.09153781831264496, -0.18593980371952057, -0.24003854393959045, 0.02549668774008751, 0.2719922363758087, -0.3313874304294586, -0.5601301789283752, 0.6982139945030212, 0.04815320298075676, -0.3091990053653717, 0.49158310890197754, -0.24398943781852722, -0.84915691614151, 0.6492519378662109, 0.48940253257751465, 0.9961415529251099, -0.27082523703575134, 0.017698712646961212, 0.7894591093063354, 0.6224607825279236, -0.037018630653619766, 0.2259189337491989, 0.00022697215899825096, -0.7329888939857483, -0.35114455223083496, -0.7984306216239929, 0.03745348006486893, 0.0654270127415657, -0.6982923746109009, 0.36726996302604675, -0.009801742620766163, -0.12054011225700378, -0.1519327163696289, 0.15846848487854004, -0.619411826133728, 0.07624630630016327, -0.1661776751279831, 0.892096757888794, -0.9526942372322083, 0.9879882335662842, 0.5499083995819092, -0.6060645580291748, -0.9654361605644226, -0.07158458977937698, -0.389507919549942, -0.5970197916030884, 0.7204826474189758, 0.13448140025138855, -0.028073256835341454, 0.18231889605522156, -0.22839517891407013, -1.0543015003204346, 1.1671675443649292, 0.33093687891960144, -0.42384007573127747, 0.0211596991866827, 0.3547056317329407, 0.7285904884338379, -0.09963113814592361, 0.2557741701602936, 0.44952523708343506, 0.747230052947998, -0.07519810646772385, -1.078708529472351, 0.09217831492424011, -0.6208202838897705, -0.007597104646265507, 0.36215487122535706, -0.7653192281723022, 1.1619571447372437, 0.04121365025639534, -0.3013112246990204, 0.1984066218137741, 0.7197993993759155, 0.2044053077697754, 0.06137830391526222, 0.42925265431404114, 0.7650182843208313, 0.503214418888092, -0.44671767950057983, 1.0269768238067627, -0.47654077410697937, 0.6922992467880249, 0.8076853156089783, 0.1500268131494522, 0.8533735275268555, 0.5943974256515503, -0.41807129979133606, 0.4876241981983185, 0.5254620909690857, -0.1498207151889801, 0.32449910044670105, -0.08765799552202225, -0.06539887189865112, -0.1868288815021515, -0.0046503134071826935, -0.7706551551818848, 0.28487899899482727, 0.31081271171569824, -0.3486894965171814, -0.11018771678209305, -0.06863563507795334, 0.19845634698867798, 0.0402664840221405, -0.06426911056041718, 0.43759819865226746, 0.06418807804584503, -0.7804017066955566, 1.038329839706421, 0.2336578220129013, 0.7175562977790833, -0.6008280515670776, 0.2069300413131714, -0.12388668954372406, 0.3798103332519531, -0.1753259152173996, -0.7092208862304688, 0.32595863938331604, 0.17922092974185944, -0.21128559112548828, -0.4262080788612366, 0.11773087084293365, -0.6978058815002441, -0.7462550401687622, 0.5461627244949341, 0.4273414611816406, 0.30945342779159546, 0.21834564208984375, -0.7004294991493225, 0.013754011131823063, 0.3253239095211029, -0.6555728316307068, 0.05225981026887894, 0.5482985377311707, 0.0792618989944458, 0.6172929406166077, 0.8089808821678162, 0.2531188428401947, 0.3922974765300751, -0.10674784332513809, 0.8097452521324158, -0.5814085602760315, -0.5014697313308716, -0.9678741097450256, 0.7726802229881287, 0.029205260798335075, -0.5220394134521484, 0.9017840027809143, 0.8411611318588257, 0.8969721794128418, -0.19643118977546692, 0.5286524295806885, -0.26670360565185547, 0.5567460656166077, -0.6826658248901367, 0.7121031880378723, -0.8552568554878235, 0.27026113867759705, -0.26254257559776306, -0.9566039443016052, -0.3559826910495758, 0.4791692793369293, -0.2532508075237274, -0.09894844889640808, 0.8033692240715027, 0.7924400568008423, 0.02513541467487812, -0.2765159606933594, 0.1968754529953003, 0.5350428819656372, 0.3984045088291168, 0.8042256832122803, 0.4982686936855316, -0.8793522119522095, 0.6855204701423645, -0.49108508229255676, 0.015910550951957703, -0.06715749204158783, -0.6394186615943909, -0.8359677791595459, -0.8286112546920776, -0.09816581755876541, -0.47659823298454285, -0.1758449673652649, 1.1239542961120605, 0.3060763478279114, -0.8324036002159119, -0.34792444109916687, -0.1096973568201065, 0.2287897765636444, -0.27278801798820496, -0.21297073364257812, 0.7371429204940796, -0.18521910905838013, -1.1011807918548584, 0.31270360946655273, 0.033499617129564285, 0.15551334619522095, -0.07628688961267471, -0.31483733654022217, -0.4143882095813751, -0.23991259932518005, 0.32323652505874634, 0.1266307532787323, -0.8823215365409851, -0.0606503002345562, 0.22280475497245789, -0.2332899123430252, 0.35332414507865906, 0.3264977037906647, -0.39853760600090027, 0.38624194264411926, 0.7044869065284729, 0.42732805013656616, 0.6258935332298279, -0.18787023425102234, 0.5541386604309082, -0.6094487905502319, 0.5031641125679016, 0.13829867541790009, 0.5077296495437622, 0.40417295694351196, -0.11298251152038574, 0.567007839679718, 0.42042601108551025, -0.253417432308197, -1.152707815170288, 0.013637632131576538, -1.071232795715332, -0.03666037693619728, 1.178744912147522, -0.2643120288848877, -0.37812599539756775, 0.12039385735988617, -0.13597260415554047, 0.4742833971977234, -0.29254695773124695, 0.39660370349884033, 0.7061966061592102, 0.4433138966560364, 0.0628107562661171, -0.643358588218689, 0.31228500604629517, 0.6127220392227173, -0.5805749297142029, 0.0628223866224289, 0.0740412026643753, 0.1900692582130432, 0.44904640316963196, 0.4841695725917816, -0.26353919506073, 0.09371999651193619, -0.27449241280555725, 0.4691275656223297, -0.15919846296310425, -0.11101431399583817, -0.36424437165260315, -0.12372288107872009, -0.20510050654411316, -0.21685656905174255 ]
EleutherAI/pythia-6.9b
EleutherAI
2023-06-08T10:20:26Z
14,706
31
transformers
[ "transformers", "pytorch", "gpt_neox", "text-generation", "causal-lm", "pythia", "en", "dataset:EleutherAI/pile", "arxiv:2304.01373", "arxiv:2101.00027", "arxiv:2201.07311", "license:apache-2.0", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-02-14T04:18:48Z
--- language: - en tags: - pytorch - causal-lm - pythia license: apache-2.0 datasets: - EleutherAI/pile --- The *Pythia Scaling Suite* is a collection of models developed to facilitate interpretability research [(see paper)](https://arxiv.org/pdf/2304.01373.pdf). It contains two sets of eight models of sizes 70M, 160M, 410M, 1B, 1.4B, 2.8B, 6.9B, and 12B. For each size, there are two models: one trained on the Pile, and one trained on the Pile after the dataset has been globally deduplicated. All 8 model sizes are trained on the exact same data, in the exact same order. We also provide 154 intermediate checkpoints per model, hosted on Hugging Face as branches. The Pythia model suite was deliberately designed to promote scientific research on large language models, especially interpretability research. Despite not centering downstream performance as a design goal, we find the models <a href="#evaluations">match or exceed</a> the performance of similar and same-sized models, such as those in the OPT and GPT-Neo suites. <details> <summary style="font-weight:600">Details on previous early release and naming convention.</summary> Previously, we released an early version of the Pythia suite to the public. However, we decided to retrain the model suite to address a few hyperparameter discrepancies. This model card <a href="#changelog">lists the changes</a>; see appendix B in the Pythia paper for further discussion. We found no difference in benchmark performance between the two Pythia versions. The old models are [still available](https://huggingface.co/models?other=pythia_v0), but we suggest the retrained suite if you are just starting to use Pythia.<br> **This is the current release.** Please note that all models in the *Pythia* suite were renamed in January 2023. For clarity, a <a href="#naming-convention-and-parameter-count">table comparing the old and new names</a> is provided in this model card, together with exact parameter counts. </details> <br> # Pythia-6.9B ## Model Details - Developed by: [EleutherAI](http://eleuther.ai) - Model type: Transformer-based Language Model - Language: English - Learn more: [Pythia's GitHub repository](https://github.com/EleutherAI/pythia) for training procedure, config files, and details on how to use. [See paper](https://arxiv.org/pdf/2304.01373.pdf) for more evals and implementation details. - Library: [GPT-NeoX](https://github.com/EleutherAI/gpt-neox) - License: Apache 2.0 - Contact: to ask questions about this model, join the [EleutherAI Discord](https://discord.gg/zBGx3azzUn), and post them in `#release-discussion`. Please read the existing *Pythia* documentation before asking about it in the EleutherAI Discord. For general correspondence: [contact@eleuther. ai](mailto:[email protected]). <figure> | Pythia model | Non-Embedding Params | Layers | Model Dim | Heads | Batch Size | Learning Rate | Equivalent Models | | -----------: | -------------------: | :----: | :-------: | :---: | :--------: | :-------------------: | :--------------------: | | 70M | 18,915,328 | 6 | 512 | 8 | 2M | 1.0 x 10<sup>-3</sup> | — | | 160M | 85,056,000 | 12 | 768 | 12 | 2M | 6.0 x 10<sup>-4</sup> | GPT-Neo 125M, OPT-125M | | 410M | 302,311,424 | 24 | 1024 | 16 | 2M | 3.0 x 10<sup>-4</sup> | OPT-350M | | 1.0B | 805,736,448 | 16 | 2048 | 8 | 2M | 3.0 x 10<sup>-4</sup> | — | | 1.4B | 1,208,602,624 | 24 | 2048 | 16 | 2M | 2.0 x 10<sup>-4</sup> | GPT-Neo 1.3B, OPT-1.3B | | 2.8B | 2,517,652,480 | 32 | 2560 | 32 | 2M | 1.6 x 10<sup>-4</sup> | GPT-Neo 2.7B, OPT-2.7B | | 6.9B | 6,444,163,072 | 32 | 4096 | 32 | 2M | 1.2 x 10<sup>-4</sup> | OPT-6.7B | | 12B | 11,327,027,200 | 36 | 5120 | 40 | 2M | 1.2 x 10<sup>-4</sup> | — | <figcaption>Engineering details for the <i>Pythia Suite</i>. Deduped and non-deduped models of a given size have the same hyperparameters. “Equivalent” models have <b>exactly</b> the same architecture, and the same number of non-embedding parameters.</figcaption> </figure> ## Uses and Limitations ### Intended Use The primary intended use of Pythia is research on the behavior, functionality, and limitations of large language models. This suite is intended to provide a controlled setting for performing scientific experiments. We also provide 154 checkpoints per model: initial `step0`, 10 log-spaced checkpoints `step{1,2,4...512}`, and 143 evenly-spaced checkpoints from `step1000` to `step143000`. These checkpoints are hosted on Hugging Face as branches. Note that branch `143000` corresponds exactly to the model checkpoint on the `main` branch of each model. You may also further fine-tune and adapt Pythia-6.9B for deployment, as long as your use is in accordance with the Apache 2.0 license. Pythia models work with the Hugging Face [Transformers Library](https://huggingface.co/docs/transformers/index). If you decide to use pre-trained Pythia-6.9B as a basis for your fine-tuned model, please conduct your own risk and bias assessment. ### Out-of-scope use The Pythia Suite is **not** intended for deployment. It is not a in itself a product and cannot be used for human-facing interactions. For example, the model may generate harmful or offensive text. Please evaluate the risks associated with your particular use case. Pythia models are English-language only, and are not suitable for translation or generating text in other languages. Pythia-6.9B has not been fine-tuned for downstream contexts in which language models are commonly deployed, such as writing genre prose, or commercial chatbots. This means Pythia-6.9B will **not** respond to a given prompt the way a product like ChatGPT does. This is because, unlike this model, ChatGPT was fine-tuned using methods such as Reinforcement Learning from Human Feedback (RLHF) to better “follow” human instructions. ### Limitations and biases The core functionality of a large language model is to take a string of text and predict the next token. The token used by the model need not produce the most “accurate” text. Never rely on Pythia-6.9B to produce factually accurate output. This model was trained on [the Pile](https://pile.eleuther.ai/), a dataset known to contain profanity and texts that are lewd or otherwise offensive. See [Section 6 of the Pile paper](https://arxiv.org/abs/2101.00027) for a discussion of documented biases with regards to gender, religion, and race. Pythia-6.9B may produce socially unacceptable or undesirable text, *even if* the prompt itself does not include anything explicitly offensive. If you plan on using text generated through, for example, the Hosted Inference API, we recommend having a human curate the outputs of this language model before presenting it to other people. Please inform your audience that the text was generated by Pythia-6.9B. ### Quickstart Pythia models can be loaded and used via the following code, demonstrated here for the third `pythia-70m-deduped` checkpoint: ```python from transformers import GPTNeoXForCausalLM, AutoTokenizer model = GPTNeoXForCausalLM.from_pretrained( "EleutherAI/pythia-70m-deduped", revision="step3000", cache_dir="./pythia-70m-deduped/step3000", ) tokenizer = AutoTokenizer.from_pretrained( "EleutherAI/pythia-70m-deduped", revision="step3000", cache_dir="./pythia-70m-deduped/step3000", ) inputs = tokenizer("Hello, I am", return_tensors="pt") tokens = model.generate(**inputs) tokenizer.decode(tokens[0]) ``` Revision/branch `step143000` corresponds exactly to the model checkpoint on the `main` branch of each model.<br> For more information on how to use all Pythia models, see [documentation on GitHub](https://github.com/EleutherAI/pythia). ## Training ### Training data [The Pile](https://pile.eleuther.ai/) is a 825GiB general-purpose dataset in English. It was created by EleutherAI specifically for training large language models. It contains texts from 22 diverse sources, roughly broken down into five categories: academic writing (e.g. arXiv), internet (e.g. CommonCrawl), prose (e.g. Project Gutenberg), dialogue (e.g. YouTube subtitles), and miscellaneous (e.g. GitHub, Enron Emails). See [the Pile paper](https://arxiv.org/abs/2101.00027) for a breakdown of all data sources, methodology, and a discussion of ethical implications. Consult [the datasheet](https://arxiv.org/abs/2201.07311) for more detailed documentation about the Pile and its component datasets. The Pile can be downloaded from the [official website](https://pile.eleuther.ai/), or from a [community mirror](https://the-eye.eu/public/AI/pile/).<br> The Pile was **not** deduplicated before being used to train Pythia-6.9B. ### Training procedure All models were trained on the exact same data, in the exact same order. Each model saw 299,892,736,000 tokens during training, and 143 checkpoints for each model are saved every 2,097,152,000 tokens, spaced evenly throughout training, from `step1000` to `step143000` (which is the same as `main`). In addition, we also provide frequent early checkpoints: `step0` and `step{1,2,4...512}`. This corresponds to training for just under 1 epoch on the Pile for non-deduplicated models, and about 1.5 epochs on the deduplicated Pile. All *Pythia* models trained for 143000 steps at a batch size of 2M (2,097,152 tokens).<br> See [GitHub](https://github.com/EleutherAI/pythia) for more details on training procedure, including [how to reproduce it](https://github.com/EleutherAI/pythia/blob/main/README.md#reproducing-training).<br> Pythia uses the same tokenizer as [GPT-NeoX- 20B](https://huggingface.co/EleutherAI/gpt-neox-20b). ## Evaluations All 16 *Pythia* models were evaluated using the [LM Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness). You can access the results by model and step at `results/json/*` in the [GitHub repository](https://github.com/EleutherAI/pythia/tree/main/results/json/).<br> Expand the sections below to see plots of evaluation results for all Pythia and Pythia-deduped models compared with OPT and BLOOM. <details> <summary>LAMBADA – OpenAI</summary> <img src="/EleutherAI/pythia-12b/resolve/main/eval_plots/lambada_openai_v1.png" style="width:auto"/> </details> <details> <summary>Physical Interaction: Question Answering (PIQA)</summary> <img src="/EleutherAI/pythia-12b/resolve/main/eval_plots/piqa_v1.png" style="width:auto"/> </details> <details> <summary>WinoGrande</summary> <img src="/EleutherAI/pythia-12b/resolve/main/eval_plots/winogrande_v1.png" style="width:auto"/> </details> <details> <summary>AI2 Reasoning Challenge—Easy Set</summary> <img src="/EleutherAI/pythia-12b/resolve/main/eval_plots/arc_easy_v1.png" style="width:auto"/> </details> <details> <summary>SciQ</summary> <img src="/EleutherAI/pythia-12b/resolve/main/eval_plots/sciq_v1.png" style="width:auto"/> </details> ## Changelog This section compares differences between previously released [Pythia v0](https://huggingface.co/models?other=pythia_v0) and the current models. See Appendix B of the Pythia paper for further discussion of these changes and the motivation behind them. We found that retraining Pythia had no impact on benchmark performance. - All model sizes are now trained with uniform batch size of 2M tokens. Previously, the models of size 160M, 410M, and 1.4B parameters were trained with batch sizes of 4M tokens. - We added checkpoints at initialization (step 0) and steps {1,2,4,8,16,32,64, 128,256,512} in addition to every 1000 training steps. - Flash Attention was used in the new retrained suite. - We remedied a minor inconsistency that existed in the original suite: all models of size 2.8B parameters or smaller had a learning rate (LR) schedule which decayed to a minimum LR of 10% the starting LR rate, but the 6.9B and 12B models all used an LR schedule which decayed to a minimum LR of 0. In the redone training runs, we rectified this inconsistency: all models now were trained with LR decaying to a minimum of 0.1× their maximum LR. ### Naming convention and parameter count *Pythia* models were renamed in January 2023. It is possible that the old naming convention still persists in some documentation by accident. The current naming convention (70M, 160M, etc.) is based on total parameter count. <figure style="width:32em"> | current Pythia suffix | old suffix | total params | non-embedding params | | --------------------: | ---------: | -------------: | -------------------: | | 70M | 19M | 70,426,624 | 18,915,328 | | 160M | 125M | 162,322,944 | 85,056,000 | | 410M | 350M | 405,334,016 | 302,311,424 | | 1B | 800M | 1,011,781,632 | 805,736,448 | | 1.4B | 1.3B | 1,414,647,808 | 1,208,602,624 | | 2.8B | 2.7B | 2,775,208,960 | 2,517,652,480 | | 6.9B | 6.7B | 6,857,302,016 | 6,444,163,072 | | 12B | 13B | 11,846,072,320 | 11,327,027,200 | </figure>
[ -0.33231937885284424, -0.7942724823951721, 0.3354427218437195, 0.06321576237678528, -0.2387067824602127, -0.20615363121032715, -0.232681542634964, -0.46488115191459656, 0.20846332609653473, 0.16097433865070343, -0.3636727035045624, -0.2911612391471863, -0.43213340640068054, -0.06109332665801048, -0.47342449426651, 1.156318187713623, -0.11526976525783539, -0.1580200493335724, 0.11353958398103714, -0.08812063187360764, -0.05210473760962486, -0.5461254715919495, -0.43479833006858826, -0.4075285494327545, 0.664936900138855, 0.15880265831947327, 0.8889274001121521, 0.5834502577781677, 0.16693802177906036, 0.29362809658050537, -0.36424946784973145, -0.06708215177059174, -0.15421390533447266, -0.09774477034807205, -0.007295216433703899, -0.26558518409729004, -0.7106972932815552, 0.02013201266527176, 0.6627888083457947, 0.6538232564926147, -0.19123905897140503, 0.24694421887397766, -0.03133583441376686, 0.3584502041339874, -0.5253623723983765, 0.025208981707692146, -0.3142174780368805, -0.17470283806324005, -0.08952926844358444, 0.14335966110229492, -0.3885255753993988, -0.33841824531555176, 0.4605400860309601, -0.6732618808746338, 0.26816943287849426, 0.1006629690527916, 1.2157303094863892, -0.11567507684230804, -0.41852813959121704, -0.0622570775449276, -0.6942549347877502, 0.6777253746986389, -0.736907958984375, 0.3436073362827301, 0.27349916100502014, 0.17024922370910645, -0.0435035414993763, -0.9077742695808411, -0.542691707611084, -0.22945816814899445, -0.13055406510829926, -0.02380034700036049, -0.6094008088111877, 0.03407558426260948, 0.5207664966583252, 0.6503071784973145, -0.8309265971183777, -0.034716032445430756, -0.3843076229095459, -0.3535388708114624, 0.35994091629981995, 0.04331718757748604, 0.4699948728084564, -0.31015244126319885, 0.016902199015021324, -0.3882158696651459, -0.6677293181419373, -0.23101653158664703, 0.5664554238319397, 0.07265244424343109, -0.3777100443840027, 0.5014150142669678, -0.3710026443004608, 0.5704975128173828, -0.06936892122030258, 0.252255380153656, 0.45103445649147034, -0.20065118372440338, -0.5001209378242493, -0.10624448210000992, 0.9522542357444763, 0.14314816892147064, 0.21985630691051483, -0.01869630254805088, -0.0529213510453701, 0.07970666140317917, 0.054353147745132446, -1.123700737953186, -0.8151520490646362, 0.2536167800426483, -0.39013105630874634, -0.43294578790664673, -0.17756466567516327, -0.933264434337616, -0.2011682391166687, -0.18026398122310638, 0.5647720694541931, -0.5137196183204651, -0.7184848189353943, -0.15754501521587372, 0.0028891004621982574, 0.2201150506734848, 0.3767874836921692, -0.9621303081512451, 0.40456366539001465, 0.4362644553184509, 1.022905707359314, 0.23076306283473969, -0.5743817090988159, -0.20299279689788818, -0.26973089575767517, -0.11567433923482895, 0.3766360878944397, -0.12776947021484375, -0.19071215391159058, -0.10778345912694931, 0.16412590444087982, -0.1238836944103241, -0.3485108017921448, 0.4134669303894043, -0.39794549345970154, 0.2793228328227997, -0.2670438587665558, -0.4460192024707794, -0.38323214650154114, 0.09095044434070587, -0.631733775138855, 0.8663020730018616, 0.2284979373216629, -0.9770667552947998, 0.2247285395860672, -0.2399483621120453, -0.061383552849292755, -0.051362909376621246, 0.18419061601161957, -0.7042836546897888, 0.04152386635541916, 0.37671321630477905, 0.050780925899744034, -0.3797689378261566, 0.1951163113117218, -0.26591113209724426, -0.43445876240730286, 0.1808844804763794, -0.5223665833473206, 0.92625492811203, 0.19011010229587555, -0.6556149125099182, 0.2889150381088257, -0.5786445140838623, 0.2272372841835022, 0.24364091455936432, -0.3461184799671173, 0.05684984102845192, -0.18109963834285736, 0.3875367045402527, 0.2095881998538971, 0.16897232830524445, -0.36175984144210815, 0.28437066078186035, -0.5120647549629211, 0.7493067979812622, 0.747287929058075, -0.07758388668298721, 0.47236794233322144, -0.4405171573162079, 0.4557884633541107, 0.041487690061330795, 0.20703919231891632, -0.07270202785730362, -0.6478281617164612, -0.9989771842956543, -0.2779156267642975, 0.37955135107040405, 0.29058507084846497, -0.47322386503219604, 0.4359285533428192, -0.24918615818023682, -0.8805399537086487, -0.18666565418243408, -0.09460502862930298, 0.4199063777923584, 0.29346808791160583, 0.42957714200019836, -0.17068645358085632, -0.5394413471221924, -0.8970463871955872, -0.2302253544330597, -0.4343486428260803, 0.14528286457061768, 0.18439851701259613, 0.9506949186325073, -0.11065442860126495, 0.5786062479019165, -0.35185661911964417, 0.25883278250694275, -0.3653017282485962, 0.1746513694524765, 0.45707714557647705, 0.6046362519264221, 0.40934786200523376, -0.571215033531189, -0.3892199993133545, 0.032040443271398544, -0.5879141688346863, 0.08981100469827652, 0.038997165858745575, -0.3100476861000061, 0.308653861284256, 0.06924212723970413, -1.0053972005844116, 0.4739110767841339, 0.6489842534065247, -0.5486611127853394, 0.819371223449707, -0.32831892371177673, -0.015273086726665497, -1.0697869062423706, 0.26334846019744873, 0.14744102954864502, -0.23697371780872345, -0.6230989098548889, 0.09336066991090775, 0.19971372187137604, -0.2017766833305359, -0.4165469706058502, 0.6080818772315979, -0.5467718839645386, -0.1591019630432129, -0.2096792757511139, 0.05303261801600456, -0.03838745132088661, 0.639255702495575, 0.146774023771286, 0.5804430246353149, 0.8001313805580139, -0.764700710773468, 0.4310113787651062, 0.21165993809700012, -0.25866761803627014, 0.3745339512825012, -0.8888733983039856, 0.17731836438179016, 0.08049128949642181, 0.43058493733406067, -0.5617300271987915, -0.370304673910141, 0.5289831161499023, -0.5920252799987793, 0.14441777765750885, -0.4241693317890167, -0.5313422679901123, -0.43543070554733276, -0.1751750409603119, 0.6067546010017395, 0.7814435362815857, -0.6158662438392639, 0.713356614112854, 0.04179864749312401, 0.13381335139274597, -0.38195472955703735, -0.5519163012504578, -0.2566569149494171, -0.5360730886459351, -0.6776226758956909, 0.3834977447986603, 0.14935730397701263, -0.17449457943439484, 0.016778988763689995, -0.0029873689636588097, 0.10184980183839798, -0.0651867687702179, 0.3241976499557495, 0.34078171849250793, -0.04859307408332825, 0.0017313833814114332, -0.14229702949523926, -0.13144917786121368, -0.0053910608403384686, -0.5145748257637024, 0.9441629648208618, -0.29350951313972473, -0.1918516457080841, -0.8142123818397522, -0.0020774321164935827, 0.9036152958869934, -0.41780343651771545, 0.8953109383583069, 0.6265313625335693, -0.7071084976196289, 0.15301258862018585, -0.3891088664531708, -0.2929323613643646, -0.4436376392841339, 0.6661635041236877, -0.255636602640152, -0.36324554681777954, 0.643261194229126, 0.29533451795578003, 0.29827213287353516, 0.5811879634857178, 0.7352421283721924, 0.21506920456886292, 1.2095043659210205, 0.4719528257846832, -0.16658702492713928, 0.6455411911010742, -0.5134327411651611, 0.27214738726615906, -1.1117892265319824, -0.1870165467262268, -0.5153865814208984, -0.24987450242042542, -0.9521828889846802, -0.2834828495979309, 0.32930687069892883, 0.21808908879756927, -0.7443113327026367, 0.5607559680938721, -0.5588735938072205, 0.07017426937818527, 0.6557595133781433, 0.25423046946525574, 0.18155497312545776, 0.20726947486400604, 0.06116793677210808, -0.07435670495033264, -0.6746712327003479, -0.3236097991466522, 1.2481305599212646, 0.5000661015510559, 0.5954709649085999, 0.3056318163871765, 0.7248876094818115, -0.14663541316986084, 0.25939488410949707, -0.7078448534011841, 0.4153023660182953, 0.3454742729663849, -0.7281895875930786, -0.20174358785152435, -0.7808231115341187, -0.9434666037559509, 0.5102135539054871, 0.0707060843706131, -1.1385419368743896, 0.23550650477409363, 0.23297901451587677, -0.39631134271621704, 0.48166584968566895, -0.6559399962425232, 1.0133733749389648, -0.23303741216659546, -0.4740894138813019, -0.3408408463001251, -0.31392568349838257, 0.23793010413646698, 0.3612063527107239, 0.13098882138729095, 0.0947282463312149, 0.30422940850257874, 1.0023077726364136, -0.6954163908958435, 0.6649748086929321, -0.11767023056745529, 0.16270309686660767, 0.3217904567718506, 0.2664875388145447, 0.6749371886253357, 0.13282836973667145, 0.13490980863571167, -0.052390746772289276, 0.159388929605484, -0.5716856122016907, -0.40657901763916016, 0.9244253039360046, -1.132083535194397, -0.38484489917755127, -0.8077024221420288, -0.6013948321342468, 0.10160379856824875, 0.20275987684726715, 0.43527883291244507, 0.6606927514076233, -0.024711446836590767, 0.008885134942829609, 0.6064611673355103, -0.5039405822753906, 0.3685974180698395, 0.1875157654285431, -0.5017039179801941, -0.532797634601593, 1.0084611177444458, 0.02488528937101364, 0.34521013498306274, 0.007715147454291582, 0.2339419424533844, -0.40357643365859985, -0.4591291546821594, -0.6121070981025696, 0.5579695105552673, -0.7343985438346863, 0.0035985037684440613, -0.7169570326805115, -0.05200239643454552, -0.4605346918106079, 0.09791044145822525, -0.4118250906467438, -0.37683919072151184, -0.23361317813396454, -0.025397799909114838, 0.5929298400878906, 0.49097633361816406, 0.10933996737003326, 0.35353004932403564, -0.5536493062973022, -0.058287568390369415, 0.21806210279464722, 0.09447629004716873, 0.11821594834327698, -0.9175188541412354, -0.11505712568759918, 0.1194615364074707, -0.4410187304019928, -1.1562485694885254, 0.5193752646446228, -0.04017316922545433, 0.36489975452423096, 0.0710352435708046, -0.23379898071289062, 0.6022724509239197, -0.08190087974071503, 0.6782383918762207, 0.1705985963344574, -1.0271410942077637, 0.5594893097877502, -0.5221695303916931, 0.3218919038772583, 0.3399440348148346, 0.34616196155548096, -0.7326834201812744, -0.09230212867259979, -1.029750108718872, -1.0910190343856812, 0.7504544258117676, 0.5099026560783386, 0.16806630790233612, 0.13106416165828705, 0.40006232261657715, -0.48131629824638367, 0.16297337412834167, -1.0472437143325806, -0.29830241203308105, -0.2660451829433441, -0.09287763386964798, 0.1595739722251892, -0.020969854667782784, 0.049334507435560226, -0.5628007650375366, 1.019476056098938, 0.04499167576432228, 0.3535325229167938, 0.2856336832046509, -0.3951762914657593, -0.10534819960594177, -0.04198400676250458, 0.16212745010852814, 0.7731088995933533, -0.13104328513145447, 0.04019156098365784, 0.22198760509490967, -0.5578243136405945, 0.027764737606048584, 0.17589104175567627, -0.3891153633594513, -0.06834159046411514, 0.19296884536743164, 0.8840391039848328, 0.1543605774641037, -0.39762839674949646, 0.24017250537872314, -0.05738069489598274, -0.08031689375638962, -0.30605053901672363, -0.17227919399738312, 0.18346653878688812, 0.1922258585691452, -0.023964345455169678, -0.16633839905261993, -0.011236731894314289, -0.8808033466339111, 0.04893258213996887, 0.18255747854709625, -0.14695075154304504, -0.42135703563690186, 0.5904055833816528, 0.04512878879904747, -0.19423657655715942, 1.1478006839752197, -0.23756246268749237, -0.6866397857666016, 0.7751797437667847, 0.4954991638660431, 0.73994380235672, -0.19863688945770264, 0.3581565320491791, 0.8962813019752502, 0.33143505454063416, -0.2017560452222824, 0.06773664802312851, 0.10817526280879974, -0.5303561091423035, -0.11195406317710876, -0.8092778325080872, -0.23753789067268372, 0.24813520908355713, -0.592796802520752, 0.4316299557685852, -0.6493188738822937, -0.0995933786034584, -0.03517773747444153, 0.2356613576412201, -0.5784019827842712, 0.31539273262023926, 0.15609541535377502, 0.7248895168304443, -0.9387190341949463, 0.820589005947113, 0.665128767490387, -0.7402844429016113, -1.1214337348937988, 0.02078430913388729, 0.03942164406180382, -0.4360172748565674, 0.13662363588809967, 0.21694444119930267, 0.22517652809619904, 0.16678212583065033, -0.2956167757511139, -0.8867291212081909, 1.3048291206359863, 0.24027560651302338, -0.6525980830192566, -0.28869175910949707, -0.1370169222354889, 0.5471814870834351, 0.05642232298851013, 0.7303705215454102, 0.7196551561355591, 0.41839635372161865, 0.08123411238193512, -1.083117127418518, 0.3624398112297058, -0.3648870289325714, -0.05339576676487923, 0.23431172966957092, -0.680086076259613, 1.3003346920013428, -0.07661420106887817, -0.013093061745166779, 0.4261043071746826, 0.6229790449142456, 0.4187264144420624, -0.12474380433559418, 0.36383548378944397, 0.7954414486885071, 0.8956130743026733, -0.3880113661289215, 1.272496223449707, -0.3070821464061737, 0.7798874378204346, 0.8596681952476501, 0.21438629925251007, 0.5221287608146667, 0.40600019693374634, -0.3704497814178467, 0.5315554141998291, 0.8607060313224792, -0.07940992712974548, 0.1811334490776062, 0.24172237515449524, -0.2961236536502838, -0.2822568416595459, 0.10879319906234741, -0.614155650138855, 0.168533593416214, 0.15735754370689392, -0.5745775699615479, -0.20598992705345154, -0.3493445813655853, 0.3563670516014099, -0.4201376140117645, -0.24346601963043213, 0.2585256099700928, 0.11087939888238907, -0.6509069204330444, 0.6200202703475952, 0.23984412848949432, 0.5676093697547913, -0.4665776193141937, 0.16382253170013428, -0.15455743670463562, 0.32040688395500183, -0.3688170313835144, -0.41482114791870117, 0.07793717831373215, -0.007719791028648615, 0.07299243658781052, 0.13498280942440033, 0.42242544889450073, -0.13143958151340485, -0.579028844833374, 0.1951311081647873, 0.49209344387054443, 0.2586531937122345, -0.4329129457473755, -0.7038695812225342, 0.10804438591003418, -0.1651357263326645, -0.5345821380615234, 0.4380294680595398, 0.2673798203468323, -0.13476237654685974, 0.5989202260971069, 0.6523304581642151, 0.04039955884218216, 0.017985694110393524, 0.1635385900735855, 0.9940251708030701, -0.4691743552684784, -0.5027599334716797, -0.908800482749939, 0.4967188239097595, -0.008472058922052383, -0.6795088052749634, 0.8731108903884888, 0.5483844876289368, 0.7136542797088623, 0.2667720913887024, 0.6104095578193665, -0.4498880207538605, -0.01339311059564352, -0.2998287081718445, 0.6784498691558838, -0.49840018153190613, 0.028438013046979904, -0.5141181945800781, -1.163614273071289, -0.07673875242471695, 0.9662417769432068, -0.5357975363731384, 0.4214146137237549, 0.8249646425247192, 0.8167287707328796, -0.0947825089097023, 0.11030818521976471, 0.06557109951972961, 0.3073733448982239, 0.5293429493904114, 0.9277825951576233, 0.9052751064300537, -0.7108101844787598, 0.5525824427604675, -0.5106222033500671, -0.2652343809604645, -0.14915530383586884, -0.4969801902770996, -0.8687795996665955, -0.45938968658447266, -0.5018377304077148, -0.7638132572174072, 0.02063779905438423, 0.9076499342918396, 0.7620612382888794, -0.6212168335914612, -0.17074328660964966, -0.5199920535087585, 0.042843662202358246, -0.25561749935150146, -0.23077936470508575, 0.430196076631546, 0.12693028151988983, -0.9578015208244324, -0.03995071351528168, -0.157277449965477, 0.11682134121656418, -0.42882394790649414, -0.30327466130256653, -0.18642665445804596, -0.1264459490776062, 0.06358478218317032, 0.33723050355911255, -0.5326246023178101, -0.27813082933425903, 0.018860654905438423, 0.07174024730920792, 0.013259666971862316, 0.7178342938423157, -0.5682809948921204, 0.11782481521368027, 0.614351749420166, 0.11663701385259628, 0.817291259765625, -0.28441834449768066, 0.43266016244888306, -0.26489338278770447, 0.34118494391441345, 0.2698511481285095, 0.6557162404060364, 0.3514195382595062, -0.2617659270763397, 0.16414152085781097, 0.4162467420101166, -0.7420191764831543, -0.866865873336792, 0.3543168306350708, -0.7133410573005676, -0.06951417773962021, 1.2641479969024658, -0.2722877264022827, -0.4245995581150055, 0.059561677277088165, -0.19091607630252838, 0.5209260582923889, -0.30745774507522583, 0.6680124998092651, 0.6384016275405884, 0.07121536135673523, -0.23328839242458344, -0.6539371013641357, 0.3779434859752655, 0.6716988682746887, -0.820917546749115, 0.3701624274253845, 0.6117862462997437, 0.6075005531311035, 0.2527000904083252, 0.5982255339622498, -0.296237051486969, 0.6290028095245361, 0.0806414783000946, 0.08270435780286789, 0.03320709988474846, -0.47782638669013977, -0.43880149722099304, -0.13737444579601288, 0.22237160801887512, 0.045128270983695984 ]
s-nlp/roberta_toxicity_classifier
s-nlp
2021-10-05T14:54:55Z
14,690
29
transformers
[ "transformers", "pytorch", "roberta", "text-classification", "toxic comments classification", "en", "arxiv:1907.11692", "endpoints_compatible", "has_space", "region:us" ]
text-classification
2022-03-02T23:29:05Z
--- language: - en tags: - toxic comments classification licenses: - cc-by-nc-sa --- ## Toxicity Classification Model This model is trained for toxicity classification task. The dataset used for training is the merge of the English parts of the three datasets by **Jigsaw** ([Jigsaw 2018](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge), [Jigsaw 2019](https://www.kaggle.com/c/jigsaw-unintended-bias-in-toxicity-classification), [Jigsaw 2020](https://www.kaggle.com/c/jigsaw-multilingual-toxic-comment-classification)), containing around 2 million examples. We split it into two parts and fine-tune a RoBERTa model ([RoBERTa: A Robustly Optimized BERT Pretraining Approach](https://arxiv.org/abs/1907.11692)) on it. The classifiers perform closely on the test set of the first Jigsaw competition, reaching the **AUC-ROC** of 0.98 and **F1-score** of 0.76. ## How to use ```python from transformers import RobertaTokenizer, RobertaForSequenceClassification # load tokenizer and model weights tokenizer = RobertaTokenizer.from_pretrained('SkolkovoInstitute/roberta_toxicity_classifier') model = RobertaForSequenceClassification.from_pretrained('SkolkovoInstitute/roberta_toxicity_classifier') # prepare the input batch = tokenizer.encode('you are amazing', return_tensors='pt') # inference model(batch) ``` ## Licensing Information [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License][cc-by-nc-sa]. [![CC BY-NC-SA 4.0][cc-by-nc-sa-image]][cc-by-nc-sa] [cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/ [cc-by-nc-sa-image]: https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png
[ 0.08068405836820602, -0.30755120515823364, 0.47166553139686584, 0.1224219799041748, -0.3092459738254547, -0.26358410716056824, 0.08273904025554657, -0.26631104946136475, -0.10905597358942032, 0.40919652581214905, -0.643766462802887, -0.7659674882888794, -0.8035220503807068, 0.16877500712871552, -0.0708414763212204, 1.4967228174209595, 0.30331212282180786, 0.6719239354133606, -0.13691318035125732, -0.20713956654071808, -0.4366169571876526, -0.6061832308769226, -0.7515186071395874, -0.40590015053749084, 0.9112725853919983, 0.059843793511390686, 0.4484074115753174, 0.2384818196296692, 0.29093438386917114, 0.3943939805030823, -0.3853762149810791, -0.06758245825767517, -0.4268674850463867, -0.171617791056633, -0.17354457080364227, -0.7176846861839294, -0.3844430148601532, 0.3141717314720154, 0.05880844220519066, 0.2986372709274292, -0.09662440419197083, 0.2731868028640747, 0.019180897623300552, 0.35509368777275085, -0.6741313934326172, 0.3021538555622101, -0.5195832252502441, 0.3569122552871704, -0.17100942134857178, 0.08403710275888443, -0.6163555979728699, -0.37921521067619324, 0.1005505621433258, -0.5902048349380493, -0.05907760560512543, -0.20103375613689423, 1.3052390813827515, 0.3090634047985077, -0.672463595867157, -0.23522573709487915, -0.2754637598991394, 1.0055021047592163, -0.963496208190918, -0.04350515827536583, 0.21217142045497894, 0.11542543023824692, -0.035469215363264084, -0.9176996946334839, -0.44246506690979004, -0.00712016923353076, 0.01941237971186638, 0.2901327610015869, 0.08845096081495285, 0.08925378322601318, 0.36737844347953796, 0.28459587693214417, -0.6118874549865723, -0.019670458510518074, -0.7577921152114868, -0.3311375677585602, 0.6213818788528442, 0.2819839417934418, 0.23020432889461517, -0.3070753812789917, -0.6001858711242676, -0.2670222222805023, -0.2602940797805786, 0.03834402561187744, 0.20956914126873016, 0.3021162748336792, -0.06714114546775818, 0.4738101661205292, 0.014348153956234455, 0.7197150588035583, -0.23768402636051178, -0.09157151728868484, 0.8119828104972839, -0.2727266252040863, -0.21777942776679993, -0.042046919465065, 1.059451699256897, 0.5034971833229065, 0.17337708175182343, 0.19027075171470642, 0.07264930754899979, 0.2950027883052826, 0.3930525481700897, -0.8792451024055481, -0.5357627272605896, 0.3081030249595642, -0.5301581025123596, -0.7826241850852966, -0.028441477566957474, -0.5884461998939514, -0.0020085929427295923, 0.035378992557525635, 0.9194009900093079, -0.32970520853996277, -0.18438459932804108, 0.18457354605197906, -0.2108498215675354, -0.06426943093538284, 0.1021188348531723, -0.5256295204162598, -0.1660955250263214, 0.26229509711265564, 0.9102234244346619, 0.11877983063459396, -0.20147432386875153, -0.1780032515525818, 0.21293766796588898, -0.20124875009059906, 0.7847925424575806, -0.3598915934562683, -0.24277767539024353, -0.26305174827575684, 0.31552833318710327, -0.04862227663397789, -0.4567151367664337, 0.6445456743240356, -0.45204877853393555, 0.7079126238822937, -0.08906903117895126, -0.34288856387138367, -0.48756861686706543, 0.23396673798561096, -0.5116041302680969, 1.0567200183868408, 0.35842275619506836, -1.154065489768982, 0.5173090696334839, -0.8339582681655884, -0.19240157306194305, -0.016558891162276268, 0.43033546209335327, -0.8723918199539185, -0.2814177870750427, -0.05036793276667595, 0.423249214887619, -0.08938866853713989, 0.2964997887611389, -0.6138978004455566, -0.3337997496128082, 0.17033711075782776, -0.19832436740398407, 1.5616161823272705, 0.5382502675056458, 0.03548873960971832, 0.4298839569091797, -0.7149433493614197, 0.42066189646720886, 0.09603077918291092, -0.6663996577262878, -0.2307453602552414, -0.2268395721912384, 0.3883875608444214, 0.5888808965682983, 0.15835978090763092, -0.5000402331352234, 0.07297824323177338, -0.15134820342063904, 0.770393967628479, 0.7237572073936462, 0.17812643945217133, 0.07952158898115158, -0.6760777831077576, 0.2905052900314331, 0.3079114258289337, 0.5253932476043701, 0.20560848712921143, -0.5037229657173157, -0.6440772414207458, -0.2008020132780075, 0.6807993054389954, 0.599583625793457, -0.717632532119751, 0.7614180445671082, -0.12211421132087708, -0.8566539287567139, -0.3745633363723755, -0.2398916631937027, 0.5827950835227966, 0.3217068016529083, 0.4591789245605469, -0.5426491498947144, -0.6298020482063293, -0.6653697490692139, -0.06764861196279526, -0.23170055449008942, -0.2087533324956894, 0.2901622951030731, 0.6533103585243225, -0.33849596977233887, 0.4181804656982422, -0.6508532762527466, -0.6174210906028748, -0.019672075286507607, 0.23490290343761444, 0.37791797518730164, 0.7849250435829163, 0.6006660461425781, -0.6000685095787048, -0.6673029065132141, -0.32980433106422424, -0.8585158586502075, -0.13697122037410736, -0.027451438829302788, -0.39771199226379395, 0.10790923982858658, 0.2680935859680176, -0.31113293766975403, 0.2348620593547821, 0.5619459748268127, -0.13124911487102509, 0.4371451437473297, -0.18539157509803772, -0.01732712797820568, -1.1665542125701904, 0.08885089308023453, -0.06263713538646698, -0.09916257858276367, -0.6106207370758057, 0.31710439920425415, 0.11426279693841934, -0.03637237101793289, -0.8885438442230225, 0.2749677896499634, -0.432826966047287, 0.37127190828323364, 0.10661021620035172, -0.30402472615242004, 0.11013144999742508, 0.6922288537025452, 0.060958005487918854, 0.6034157872200012, 0.7942116260528564, -0.49501141905784607, 0.3047831654548645, 0.4662577509880066, -0.12336105108261108, 0.4842083752155304, -0.665585458278656, 0.040077660232782364, 0.13013790547847748, 0.40500232577323914, -0.7558635473251343, -0.34529784321784973, 0.47199547290802, -0.5529536604881287, 0.19850699603557587, -0.3541892170906067, -0.47228631377220154, -0.6806497573852539, -0.3409433960914612, 0.34758439660072327, 0.7588505744934082, -0.4139322340488434, 0.46015679836273193, 0.45899802446365356, 0.10501017421483994, -0.5984459519386292, -0.9778611063957214, -0.4481634795665741, -0.43683958053588867, -0.47601819038391113, -0.013982762582600117, -0.2658464014530182, 0.2359204888343811, 0.07402374595403671, -0.09768591076135635, -0.48869115114212036, -0.07253768295049667, 0.32973524928092957, 0.3211035430431366, 0.03809666633605957, 0.17836588621139526, -0.016861312091350555, -0.21160364151000977, 0.46853262186050415, 0.08874861896038055, 0.5694212913513184, -0.03729113191366196, -0.09760266542434692, -0.515014111995697, 0.03192469850182533, 0.5555359721183777, -0.12471508979797363, 0.7372748851776123, 0.6300044059753418, -0.180867001414299, -0.08429348468780518, -0.0866808295249939, -0.04433388635516167, -0.4862527549266815, 0.5344076156616211, -0.0780845656991005, -0.47240522503852844, 0.5696982145309448, 0.005608902778476477, -0.10109783709049225, 0.6669895052909851, 0.4815167188644409, -0.027529364451766014, 1.3171254396438599, 0.25592613220214844, -0.015540319494903088, 0.4812132716178894, -0.6093031167984009, -0.0010899424087256193, -0.9549378156661987, -0.42196398973464966, -0.4650616943836212, -0.1484348177909851, -0.38269054889678955, -0.3668369650840759, 0.5515495538711548, -0.11783993989229202, -0.7416737079620361, 0.27378591895103455, -0.8122641444206238, 0.48167115449905396, 0.5585957765579224, 0.8445051312446594, -0.026007458567619324, -0.2739427089691162, -0.2503143548965454, -0.007866409607231617, -0.9014822840690613, -0.38326701521873474, 1.3459683656692505, 0.4620923399925232, 0.6685850620269775, -0.0016394612612202764, 0.7880114912986755, -0.17028506100177765, 0.49043792486190796, -0.7015388011932373, 0.5170161128044128, -0.2625191807746887, -1.1669938564300537, -0.09260778874158859, -0.5252044200897217, -0.8649280667304993, 0.3072437047958374, -0.4050024747848511, -0.38639557361602783, -0.029251448810100555, -0.013769363053143024, -0.2827262580394745, 0.42040443420410156, -0.7835412621498108, 1.0456006526947021, -0.18476423621177673, -0.5099874138832092, -0.17889925837516785, -0.7900556921958923, 0.4570039212703705, -0.19716107845306396, 0.2539576590061188, -0.09392953664064407, 0.2649920582771301, 0.8812946677207947, -0.6452752351760864, 0.8811256289482117, -0.3901314437389374, 0.129762664437294, 0.2976849675178528, -0.2825872302055359, 0.20847542583942413, 0.09435524046421051, 0.0010659696999937296, 0.3772123157978058, 0.21035446226596832, -0.46395984292030334, 0.00544468779116869, 0.5456396341323853, -0.8593926429748535, -0.3192659318447113, -1.0022895336151123, -0.5393398404121399, 0.08834292739629745, 0.4891221821308136, 0.6429589986801147, 0.28371337056159973, 0.1815413236618042, 0.15417811274528503, 0.6230995059013367, -0.3932979702949524, 0.09771507233381271, 0.4011682868003845, -0.11998572945594788, -0.22745363414287567, 0.8914161324501038, 0.17795634269714355, 0.3469584882259369, -0.08074130862951279, 0.1750030219554901, -0.15008020401000977, -0.6331552863121033, -0.062142349779605865, 0.1874902993440628, -0.8738625645637512, -0.5749841332435608, -0.7627984881401062, -0.644797682762146, -0.21668581664562225, 0.13763830065727234, -0.06972804665565491, 0.08279713988304138, -0.6553263664245605, 0.023582007735967636, 0.46630772948265076, 0.903029203414917, -0.36487630009651184, 0.4173436760902405, -1.0290263891220093, -0.04963665083050728, 0.3250678777694702, 0.47127318382263184, 0.0018330889288336039, -0.5691884756088257, -0.12948888540267944, 0.20276899635791779, -0.46098223328590393, -1.2115200757980347, 0.6118478775024414, -0.011748306453227997, 0.6099469661712646, 0.2409094274044037, 0.08169721812009811, 0.6192989349365234, -0.2573947608470917, 0.893117368221283, 0.09978198260068893, -0.7695873975753784, 0.49118751287460327, -0.4667823314666748, 0.16859079897403717, 0.6183440089225769, 0.7285798192024231, -0.3930492699146271, -0.5024526119232178, -0.7767061591148376, -1.0391912460327148, 1.0118043422698975, 0.13454151153564453, -0.03252360597252846, -0.0819450318813324, 0.1430332064628601, -0.16287711262702942, -0.09909766167402267, -1.3000463247299194, -0.19507162272930145, -0.12938664853572845, -0.37331950664520264, 0.1364549994468689, -0.34351465106010437, -0.30363139510154724, -0.46573296189308167, 1.1468933820724487, 0.08417217433452606, 0.21684801578521729, -0.01907517947256565, -0.24361279606819153, -0.17240235209465027, 0.06197543442249298, 0.26723670959472656, 0.29651087522506714, -0.4863942861557007, -0.1677241027355194, 0.4093712568283081, -0.595126211643219, 0.14652617275714874, -0.19064244627952576, -0.07965601980686188, -0.135450080037117, 0.3343552052974701, 0.5802484154701233, 0.21663683652877808, -0.4164990186691284, 0.6522876024246216, -0.3401133418083191, -0.516205906867981, -0.47464582324028015, 0.43676018714904785, -0.03540392965078354, 0.29331108927726746, 0.13753122091293335, 0.45866599678993225, 0.27727869153022766, -0.4283420741558075, 0.2166481763124466, 0.43506813049316406, -0.44120875000953674, -0.016860537230968475, 0.9060688614845276, 0.10497748851776123, -0.013088628649711609, 0.6946873664855957, -0.26747092604637146, -0.7705745697021484, 0.7005814909934998, 0.4345059394836426, 0.658380925655365, -0.13349948823451996, 0.1710677146911621, 0.9559952020645142, -0.0008058843668550253, -0.03469732776284218, 0.5292096138000488, 0.2877661883831024, -0.43030408024787903, -0.2301187664270401, -0.6715540885925293, -0.17187274992465973, 0.2893265187740326, -1.0486246347427368, 0.3740450441837311, -0.6150262951850891, -0.18763726949691772, 0.15438437461853027, 0.11995089799165726, -0.47615334391593933, 0.36109980940818787, -0.15460748970508575, 0.8767723441123962, -1.491654872894287, 0.814957857131958, 0.7345002889633179, -0.8029731512069702, -1.105597972869873, -0.11380311101675034, -0.013575582765042782, -0.6407009363174438, 0.7329339385032654, 0.3202027678489685, 0.4718139171600342, 0.04418693855404854, -0.6775970458984375, -0.9386815428733826, 1.1322182416915894, -0.18682366609573364, -0.3163107931613922, -0.13968002796173096, -0.25231069326400757, 0.6610788702964783, -0.058897994458675385, 0.4836869537830353, 0.29936084151268005, 0.40974071621894836, 0.19871197640895844, -0.8209991455078125, 0.0251210518181324, -0.48454365134239197, 0.17751620709896088, -0.04766109585762024, -0.6964924335479736, 1.2219613790512085, -0.17998731136322021, -0.07801026850938797, 0.2788071930408478, 0.31322920322418213, 0.3723813593387604, 0.07215359807014465, 0.6579151153564453, 0.7816814184188843, 0.6108012199401855, -0.3195032477378845, 0.8148237466812134, -0.13759927451610565, 0.771025538444519, 0.9360560774803162, -0.036176733672618866, 0.7238763570785522, 0.18484187126159668, -0.46441182494163513, 0.8313562870025635, 1.0077422857284546, -0.38797029852867126, 0.7970174551010132, 0.29105696082115173, -0.26868894696235657, -0.2424062192440033, 0.24936270713806152, -0.5402598977088928, 0.2933690845966339, 0.3658575713634491, -0.5318043231964111, -0.27793046832084656, 0.17218682169914246, 0.0702834501862526, -0.24858780205249786, -0.31747350096702576, 0.8993849158287048, -0.2996470034122467, -0.5301207304000854, 0.7340335249900818, -0.3047196567058563, 0.8085361123085022, -0.6870384216308594, -0.14798736572265625, 0.2208632230758667, 0.43889716267585754, -0.40548327565193176, -0.8653000593185425, 0.31175360083580017, -0.17104744911193848, -0.061478860676288605, 0.11266036331653595, 0.43504849076271057, -0.5752657651901245, -0.4481949806213379, 0.351096510887146, -0.11814632266759872, 0.39984744787216187, 0.2782476246356964, -1.0904921293258667, 0.0879836454987526, 0.12093880027532578, -0.2416323721408844, 0.23555386066436768, 0.44505444169044495, -0.0682130753993988, 0.6233548521995544, 0.7583160400390625, 0.1113133653998375, 0.04006720334291458, -0.16338679194450378, 1.0572588443756104, -0.3334706127643585, -0.40403127670288086, -0.6031402349472046, 0.8304095268249512, 0.09053929895162582, -0.4945903420448303, 0.542730987071991, 0.6412728428840637, 1.033270001411438, -0.40373125672340393, 0.7525108456611633, -0.22946816682815552, 0.5465595722198486, -0.5997200012207031, 1.06512451171875, -0.6046943068504333, -0.0664321556687355, -0.20359106361865997, -0.5840017795562744, -0.3735697567462921, 1.0929919481277466, -0.24541449546813965, 0.4482156038284302, 0.7618314623832703, 0.8670979142189026, 0.111608125269413, -0.2373887598514557, -0.03142086789011955, 0.5735950469970703, 0.2260972410440445, 0.8883377313613892, 0.5222027897834778, -0.6044273376464844, 0.5596983432769775, -0.46095722913742065, -0.23572039604187012, -0.09083090722560883, -0.8606307506561279, -1.0515084266662598, -0.6767058372497559, -0.30755144357681274, -0.8728783130645752, 0.0915784239768982, 0.8895419836044312, 0.8200305104255676, -0.9838860034942627, 0.058537982404232025, -0.13027779757976532, -0.048251379281282425, -0.030131198465824127, -0.23221680521965027, 0.15243613719940186, -0.33095550537109375, -0.7160307765007019, -0.2906123101711273, -0.2757329046726227, 0.14192144572734833, -0.12570615112781525, -0.036305274814367294, -0.5158736109733582, -0.1742628812789917, 0.38812610507011414, 0.08986927568912506, -0.6290735006332397, -0.41635575890541077, -0.3365190923213959, -0.41435232758522034, 0.1236191987991333, -0.009132361970841885, -0.6127079725265503, 0.41922008991241455, 0.4815877079963684, -0.03491564840078354, 0.6323394179344177, -0.2527922987937927, 0.3250664174556732, -0.7051481604576111, 0.27620282769203186, 0.32992851734161377, 0.37148308753967285, 0.1716163605451584, -0.4442666471004486, 0.7835052013397217, 0.0981360599398613, -0.8091121315956116, -0.9935521483421326, 0.020919829607009888, -1.0465166568756104, -0.5298827886581421, 1.0502244234085083, -0.41022905707359314, -0.5673643946647644, -0.054152753204107285, -0.5127162337303162, 0.5538164973258972, -0.1353326439857483, 0.7453227639198303, 0.628667950630188, 0.011031954549252987, -0.10270116478204727, -0.41901668906211853, 0.589240550994873, 0.22269126772880554, -0.8014604449272156, -0.06708177179098129, 0.42981889843940735, 0.9090969562530518, 0.264708548784256, 0.44972172379493713, -0.422427773475647, 0.23957842588424683, 0.049526046961545944, 0.3376349210739136, -0.09336435794830322, -0.1222691684961319, -0.4704008996486664, -0.15980352461338043, -0.0408235527575016, -0.2921392321586609 ]
GPTCache/paraphrase-albert-small-v2
GPTCache
2023-05-09T03:51:00Z
14,686
0
transformers
[ "transformers", "albert", "feature-extraction", "license:mit", "endpoints_compatible", "region:us" ]
feature-extraction
2023-05-09T03:40:39Z
--- license: mit ---
[ -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 ]
diffusers/controlnet-depth-sdxl-1.0
diffusers
2023-08-14T10:27:05Z
14,686
117
diffusers
[ "diffusers", "stable-diffusion-xl", "stable-diffusion-xl-diffusers", "text-to-image", "controlnet", "base_model:stabilityai/stable-diffusion-xl-base-1.0", "license:openrail++", "has_space", "diffusers:ControlNetModel", "region:us" ]
text-to-image
2023-08-12T17:23:20Z
--- license: openrail++ base_model: stabilityai/stable-diffusion-xl-base-1.0 tags: - stable-diffusion-xl - stable-diffusion-xl-diffusers - text-to-image - diffusers - controlnet inference: false --- # SDXL-controlnet: Depth These are controlnet weights trained on stabilityai/stable-diffusion-xl-base-1.0 with depth conditioning. You can find some example images in the following. prompt: spiderman lecture, photorealistic ![images_0)](./spiderman.png) ## Usage Make sure to first install the libraries: ```bash pip install accelerate transformers safetensors diffusers ``` And then we're ready to go: ```python import torch import numpy as np from PIL import Image from transformers import DPTFeatureExtractor, DPTForDepthEstimation from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline, AutoencoderKL from diffusers.utils import load_image depth_estimator = DPTForDepthEstimation.from_pretrained("Intel/dpt-hybrid-midas").to("cuda") feature_extractor = DPTFeatureExtractor.from_pretrained("Intel/dpt-hybrid-midas") controlnet = ControlNetModel.from_pretrained( "diffusers/controlnet-depth-sdxl-1.0", variant="fp16", use_safetensors=True, torch_dtype=torch.float16, ).to("cuda") vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16).to("cuda") pipe = StableDiffusionXLControlNetPipeline.from_pretrained( "stabilityai/stable-diffusion-xl-base-1.0", controlnet=controlnet, vae=vae, variant="fp16", use_safetensors=True, torch_dtype=torch.float16, ).to("cuda") pipe.enable_model_cpu_offload() def get_depth_map(image): image = feature_extractor(images=image, return_tensors="pt").pixel_values.to("cuda") with torch.no_grad(), torch.autocast("cuda"): depth_map = depth_estimator(image).predicted_depth depth_map = torch.nn.functional.interpolate( depth_map.unsqueeze(1), size=(1024, 1024), mode="bicubic", align_corners=False, ) depth_min = torch.amin(depth_map, dim=[1, 2, 3], keepdim=True) depth_max = torch.amax(depth_map, dim=[1, 2, 3], keepdim=True) depth_map = (depth_map - depth_min) / (depth_max - depth_min) image = torch.cat([depth_map] * 3, dim=1) image = image.permute(0, 2, 3, 1).cpu().numpy()[0] image = Image.fromarray((image * 255.0).clip(0, 255).astype(np.uint8)) return image prompt = "stormtrooper lecture, photorealistic" image = load_image("https://huggingface.co/lllyasviel/sd-controlnet-depth/resolve/main/images/stormtrooper.png") controlnet_conditioning_scale = 0.5 # recommended for good generalization depth_image = get_depth_map(image) images = pipe( prompt, image=depth_image, num_inference_steps=30, controlnet_conditioning_scale=controlnet_conditioning_scale, ).images images[0] images[0].save(f"stormtrooper.png") ``` To more details, check out the official documentation of [`StableDiffusionXLControlNetPipeline`](https://huggingface.co/docs/diffusers/main/en/api/pipelines/controlnet_sdxl). ### Training Our training script was built on top of the official training script that we provide [here](https://github.com/huggingface/diffusers/blob/main/examples/controlnet/README_sdxl.md). #### Training data and Compute The model is trained on 3M image-text pairs from LAION-Aesthetics V2. The model is trained for 700 GPU hours on 80GB A100 GPUs. #### Batch size Data parallel with a single gpu batch size of 8 for a total batch size of 256. #### Hyper Parameters Constant learning rate of 1e-5. #### Mixed precision fp16
[ -0.5865434408187866, -0.5687859058380127, 0.25703203678131104, 0.31183770298957825, -0.2509673237800598, 0.0591680184006691, 0.13747930526733398, -0.12641164660453796, 0.2550818622112274, 0.4492676258087158, -0.5205780267715454, -0.46630847454071045, -0.7449138760566711, -0.3013280928134918, -0.20896436274051666, 0.7376981377601624, -0.38704365491867065, -0.12593930959701538, 0.1540713757276535, -0.09366799145936966, 0.02827722392976284, 0.12433744221925735, -0.8741661310195923, -0.32767537236213684, 0.3036116063594818, 0.18387922644615173, 0.8416140079498291, 0.7574272155761719, 0.4981595575809479, 0.47197598218917847, -0.2982361316680908, 0.026173068210482597, -0.4902668297290802, -0.23489059507846832, 0.07456299662590027, -0.216958150267601, -0.2581322193145752, -0.2073913961648941, 0.7823853492736816, 0.48124295473098755, -0.06495872139930725, -0.0368104912340641, -0.02603561244904995, 0.7043219804763794, -0.6665829420089722, 0.13983960449695587, -0.13081274926662445, 0.34343522787094116, 0.1846645623445511, -0.042756084352731705, -0.032478708773851395, 0.01970651000738144, 0.18330764770507812, -0.7973061203956604, 0.41475534439086914, -0.12125330418348312, 1.2491868734359741, 0.43126630783081055, -0.2600243389606476, -0.04824405536055565, -0.5473588109016418, 0.7241125106811523, -0.7383720874786377, 0.34987422823905945, 0.07409777492284775, 0.09222236275672913, 0.16231147944927216, -0.9611241817474365, -0.3784402906894684, 0.052624333649873734, -0.051429104059934616, 0.549163281917572, -0.143687441945076, 0.22991760075092316, 0.5638103485107422, 0.44347891211509705, -0.6078745126724243, 0.1462375670671463, -0.682090163230896, -0.18257500231266022, 0.8506458401679993, 0.306628942489624, 0.10901255160570145, -0.16631203889846802, -0.6887950897216797, -0.5424436926841736, -0.13372528553009033, 0.3147929012775421, 0.18807856738567352, -0.19799694418907166, -0.7628543376922607, 0.37203285098075867, -0.01581595465540886, 0.5808947682380676, 0.39268210530281067, -0.33968305587768555, 0.5977356433868408, -0.12806740403175354, -0.45543354749679565, -0.04702019318938255, 0.8078213930130005, 0.4721126854419708, 0.049541573971509933, 0.1963510364294052, -0.34128111600875854, 0.020971249788999557, 0.07685277611017227, -1.0381412506103516, -0.49047237634658813, 0.5677745342254639, -0.45723816752433777, -0.3853720426559448, 0.08573729544878006, -0.6258806586265564, -0.1967901587486267, -0.186573788523674, 0.49856898188591003, -0.37138912081718445, -0.6908928751945496, 0.16007180511951447, -0.44001805782318115, 0.4138144254684448, 0.2652326822280884, -0.5604111552238464, 0.40315547585487366, 0.2206827700138092, 1.1966053247451782, -0.3077830970287323, -0.3201135993003845, -0.19807462394237518, 0.041513171046972275, -0.4493730664253235, 0.35542625188827515, 0.023567626252770424, -0.41533398628234863, -0.260937362909317, 0.41886618733406067, -0.033175837248563766, -0.6279760003089905, 0.3402632772922516, -0.5050854682922363, -0.0264300424605608, 0.13059920072555542, -0.44337132573127747, -0.21062706410884857, 0.03914516046643257, -0.5905904173851013, 0.891245424747467, 0.4528540074825287, -0.9051271080970764, 0.06734897941350937, -0.5462128520011902, -0.2979365289211273, -0.10436060279607773, -0.05854169279336929, -0.6904729008674622, -0.03211398050189018, 0.14728747308254242, 0.5109943151473999, 0.12385774403810501, -0.01914084143936634, -0.18104669451713562, -0.3486674129962921, -0.05807571858167648, -0.20063258707523346, 1.2582051753997803, 0.26087868213653564, -0.7835899591445923, 0.3122037351131439, -0.6841995120048523, 0.03379404544830322, 0.050543513149023056, -0.13462750613689423, 0.0539156012237072, -0.5382888317108154, 0.1891695261001587, 0.4315550625324249, 0.06483227759599686, -0.6288698315620422, -0.09131299704313278, -0.6070603728294373, 0.4629890024662018, 0.788112998008728, 0.15600179135799408, 0.5233126878738403, -0.07808432728052139, 0.563865065574646, 0.5453840494155884, 0.27137425541877747, -0.08003971725702286, -0.4968857169151306, -0.7984883189201355, -0.32717397809028625, -0.13259649276733398, 0.5692927241325378, -1.1127012968063354, 0.28221988677978516, -0.042944058775901794, -0.6662760376930237, -0.3323667049407959, 0.1387612670660019, 0.4531475603580475, 0.6486948728561401, 0.4239718019962311, -0.42861589789390564, -0.43374988436698914, -0.8919893503189087, 0.6738737225532532, 0.15753312408924103, -0.07502296566963196, 0.2503603994846344, 0.6378037929534912, -0.17985783517360687, 0.5959016680717468, -0.6624342203140259, -0.11718245595693588, 0.03494783118367195, 0.05822773277759552, 0.6131197214126587, 0.7768171429634094, 0.5152984857559204, -0.7956119775772095, -0.454160213470459, -0.06205630302429199, -0.8638343214988708, 0.18495582044124603, -0.12161548435688019, -0.24792036414146423, 0.2925506830215454, 0.45011764764785767, -0.785861611366272, 0.676814615726471, 0.631221354007721, -0.4040030539035797, 0.6528011560440063, -0.35629206895828247, -0.012262575328350067, -0.9720786809921265, 0.09908202290534973, 0.2379019856452942, -0.274097740650177, -0.36780524253845215, 0.15711082518100739, 0.21309059858322144, -0.10259217023849487, -0.7939510345458984, 0.7610511183738708, -0.5803858637809753, 0.09379793703556061, -0.22909919917583466, -0.035867590457201004, 0.15253902971744537, 0.7126708626747131, 0.3388272523880005, 0.43917813897132874, 1.216628074645996, -0.7821274995803833, 0.7269441485404968, 0.12289505451917648, -0.1478457748889923, 0.3991791307926178, -1.1135731935501099, -0.032101504504680634, -0.17076417803764343, 0.04626608267426491, -1.0070744752883911, -0.09876230359077454, 0.3510597050189972, -0.32519015669822693, 0.4522288143634796, -0.1805211901664734, -0.09144866466522217, -0.5308022499084473, -0.48573538661003113, 0.2891690135002136, 0.6803964376449585, -0.5340719819068909, 0.48445233702659607, 0.2704926133155823, 0.185170978307724, -0.8007600903511047, -0.9196904301643372, -0.18195268511772156, -0.03232767805457115, -0.8386015295982361, 0.5903669595718384, -0.13736748695373535, -0.2937471866607666, 0.059009816497564316, -0.03459182009100914, -0.09930390119552612, -0.17172479629516602, 0.5535464286804199, 0.2667730450630188, -0.26966962218284607, -0.45720595121383667, 0.16899529099464417, -0.1505158245563507, 0.12883490324020386, -0.26539647579193115, 0.47328904271125793, -0.23781314492225647, -0.13702000677585602, -0.6054859161376953, 0.13970166444778442, 0.3432617485523224, 0.2080201953649521, 0.6320815682411194, 1.1267926692962646, -0.35565680265426636, -0.15636521577835083, -0.39051923155784607, -0.43369096517562866, -0.5640439987182617, 0.4033029079437256, -0.32507333159446716, -0.610451340675354, 0.7469903826713562, 0.14858970046043396, 0.07260289043188095, 0.437720388174057, 0.4053572714328766, -0.1812436729669571, 1.0097755193710327, 0.4628017246723175, 0.09114797413349152, 0.40839943289756775, -1.3333617448806763, -0.3220430016517639, -0.8240032196044922, -0.11596180498600006, 0.007818295620381832, -0.5757820010185242, -0.37567806243896484, -0.4301009178161621, 0.4342687427997589, 0.2987934648990631, -0.6060125827789307, 0.25181400775909424, -0.6272956728935242, 0.29619190096855164, 0.3989211320877075, 0.3328363299369812, -0.1955580711364746, 0.10695122182369232, -0.25459760427474976, -0.01988089829683304, -0.6106906533241272, -0.0599600225687027, 0.6625595092773438, 0.5121192932128906, 0.9355273246765137, -0.20461247861385345, 0.6145468354225159, 0.055081598460674286, -0.0903715044260025, -0.49176764488220215, 0.4813236892223358, -0.04582425579428673, -0.42973217368125916, -0.1963878870010376, -0.4859020709991455, -0.9315102100372314, 0.04659569263458252, -0.011920865625143051, -0.4027040898799896, 0.4857751429080963, 0.1245468258857727, -0.3277071714401245, 0.5546364188194275, -0.8503475189208984, 0.7843253016471863, -0.27483001351356506, -0.7786571383476257, -0.013226134702563286, -0.9029462933540344, 0.3092777132987976, 0.33323049545288086, -0.17082127928733826, 0.1759304404258728, -0.204769104719162, 0.7886860370635986, -0.5145002603530884, 0.7767525911331177, -0.592617392539978, -0.08113027364015579, 0.4741795063018799, 0.014984055422246456, 0.3088547885417938, 0.32940179109573364, -0.042680416256189346, 0.38604050874710083, 0.027217503637075424, -0.5875376462936401, -0.5595653057098389, 0.7899021506309509, -1.1215389966964722, -0.40042173862457275, -0.3250271677970886, -0.6060945391654968, 0.35616371035575867, 0.24706704914569855, 0.4794028699398041, 0.5963891744613647, 0.2757781147956848, 0.036142993718385696, 0.7032818794250488, -0.20834863185882568, 0.7434924244880676, 0.042523644864559174, -0.2801192104816437, -0.6110911965370178, 0.7854712605476379, 0.22877244651317596, 0.42480137944221497, 0.2754316031932831, 0.07092200219631195, -0.24563837051391602, -0.425851047039032, -0.578283429145813, 0.3451767563819885, -0.6872066259384155, -0.4534163475036621, -0.5064679980278015, -0.7212257385253906, -0.4598536789417267, -0.4264802634716034, -0.4188925623893738, -0.3852825462818146, -0.4752161204814911, -0.020417621359229088, 0.4310571849346161, 0.5909454822540283, -0.29723456501960754, 0.4940003454685211, -0.41684654355049133, 0.31284359097480774, 0.2797403633594513, 0.22816351056098938, -0.07236108183860779, -0.6500097513198853, -0.29513776302337646, 0.031396202743053436, -0.4862092435359955, -0.535431981086731, 0.5590755343437195, 0.11516216397285461, 0.45748570561408997, 0.6142250299453735, -0.17238293588161469, 0.6469713449478149, -0.06940090656280518, 0.7552123069763184, 0.3561466634273529, -0.8622968196868896, 0.5190638303756714, -0.06361211091279984, 0.4517810046672821, -0.06068142130970955, 0.618653416633606, -0.27288252115249634, -0.14842715859413147, -0.9335373640060425, -0.8338994979858398, 0.8167892694473267, 0.23419077694416046, -0.04558011516928673, 0.31323879957199097, 0.5639352202415466, -0.16700153052806854, 0.031304653733968735, -0.5269855260848999, -0.5041264295578003, -0.5435258150100708, -0.029299115762114525, -0.17026279866695404, 0.061473190784454346, -0.1249375119805336, -0.5096694231033325, 0.776344358921051, -0.17205800116062164, 0.3825136721134186, 0.6837601065635681, -0.06741136312484741, -0.18759353458881378, -0.525168240070343, 0.6152843832969666, 0.796977162361145, -0.3498949706554413, 0.20006145536899567, 0.1205437183380127, -0.7462508082389832, 0.2005425989627838, 0.06929082423448563, -0.19776175916194916, 0.10752124339342117, 0.4250565767288208, 1.0408889055252075, 0.07691563665866852, -0.27294981479644775, 0.6171199679374695, 0.029690491035580635, -0.4183461368083954, -0.3543471693992615, 0.10243070870637894, 0.2492942363023758, 0.39131543040275574, 0.17717882990837097, 0.3522919714450836, -0.03956620767712593, 0.08743393421173096, 0.18384239077568054, 0.3656192719936371, -0.4074472188949585, -0.31575194001197815, 0.7766931653022766, 0.03675690293312073, -0.04470892995595932, 0.7074969410896301, -0.29508307576179504, -0.30897730588912964, 0.9309034943580627, 0.4883953034877777, 0.8421829342842102, -0.23851211369037628, 0.40707603096961975, 0.7703763842582703, 0.211970716714859, 0.06785926222801208, 0.37223243713378906, -0.03479503467679024, -0.8923451900482178, -0.3185034990310669, -0.49624377489089966, -0.24080447852611542, 0.05211736261844635, -0.4843672215938568, 0.46220090985298157, -0.8386149406433105, -0.06169877573847771, -0.14529938995838165, 0.24853943288326263, -0.9061107039451599, 0.24708199501037598, 0.17994408309459686, 1.1932744979858398, -0.8411341309547424, 0.8138042688369751, 0.5281429886817932, -0.49864670634269714, -0.9210582375526428, -0.5126557946205139, -0.10187269002199173, -0.9680575132369995, 0.6471256017684937, 0.04599913954734802, -0.26605284214019775, 0.307157039642334, -0.830247163772583, -0.7559961676597595, 1.4312092065811157, 0.4123573303222656, -0.4601345658302307, 0.042206600308418274, -0.10794991254806519, 0.4181945323944092, -0.4602714776992798, 0.5058881640434265, 0.3027859926223755, 0.44888392090797424, 0.253609836101532, -0.6507734060287476, 0.06314403563737869, -0.40397635102272034, 0.3047996163368225, -0.033489059656858444, -0.6326479911804199, 1.1381741762161255, -0.46759483218193054, -0.04523861035704613, -0.05828450247645378, 0.7557811141014099, 0.354345440864563, 0.17946287989616394, 0.7324729561805725, 0.9448136687278748, 0.33482325077056885, -0.06323403120040894, 1.0038248300552368, -0.32849448919296265, 0.49803975224494934, 0.6115596294403076, 0.06254386901855469, 0.48534920811653137, 0.42222869396209717, -0.04234682396054268, 0.5037336945533752, 0.7771625518798828, -0.15262222290039062, 0.46169453859329224, 0.19883115589618683, -0.10947364568710327, 0.1240241676568985, 0.14632493257522583, -0.5139051079750061, 0.17805059254169464, 0.3757847845554352, -0.4568053185939789, -0.07475727796554565, 0.343082994222641, 0.0734720230102539, -0.3206690847873688, -0.4657104015350342, 0.519741952419281, 0.026219936087727547, -0.42090415954589844, 1.0708122253417969, -0.15950243175029755, 1.0160735845565796, -0.6502424478530884, -0.04386969283223152, -0.1821189522743225, 0.3574170768260956, -0.524069607257843, -1.2053192853927612, 0.25202426314353943, -0.48144081234931946, 0.013407090678811073, -0.12252417951822281, 0.6000674962997437, -0.35947564244270325, -0.6416028738021851, 0.5150321125984192, 0.2382834404706955, 0.4943423271179199, 0.028430921956896782, -1.0171096324920654, 0.4271300435066223, 0.0337829627096653, -0.44918933510780334, -0.07903540879487991, 0.19881878793239594, 0.330044686794281, 0.4996618628501892, 0.2571985721588135, 0.17984908819198608, 0.31104156374931335, -0.07715269923210144, 1.006822943687439, -0.5261490941047668, -0.28642767667770386, -0.592169463634491, 0.7884061932563782, -0.2855623960494995, -0.48904526233673096, 0.6673454642295837, 0.6465669870376587, 0.9878973960876465, -0.2607579827308655, 0.5626397132873535, -0.19471406936645508, -0.019696898758411407, -0.636562705039978, 0.7277324795722961, -0.543146550655365, -0.08860845118761063, -0.3690586984157562, -0.9157620668411255, -0.10826083272695541, 0.6070895195007324, -0.05638991668820381, 0.2560318410396576, 0.526607871055603, 1.2725601196289062, -0.43632209300994873, -0.32021564245224, 0.23466773331165314, 0.38741832971572876, 0.25283145904541016, 0.6170292496681213, 0.45617756247520447, -0.8216286301612854, 0.41391587257385254, -1.1347030401229858, -0.3930239677429199, 0.12863869965076447, -0.6676319241523743, -0.5924375057220459, -0.7907256484031677, -0.7606136202812195, -0.7033765316009521, -0.22868408262729645, 0.5891413688659668, 1.2110614776611328, -0.759023904800415, -0.41132038831710815, -0.1895124763250351, 0.14037325978279114, -0.3555706739425659, -0.294281542301178, 0.5860569477081299, -0.050590433180332184, -0.7866318225860596, 0.09674037247896194, 0.27413785457611084, 0.20760107040405273, -0.5203170776367188, -0.44884830713272095, -0.3019726276397705, -0.3994103968143463, 0.4312357008457184, 0.39788731932640076, -0.48754388093948364, -0.1520901471376419, -0.09310297667980194, -0.031870272010564804, 0.22708189487457275, 0.472033828496933, -0.7814722061157227, 0.40110719203948975, 0.5930609107017517, 0.2893223166465759, 0.9880766868591309, -0.23368343710899353, 0.07304034382104874, -0.7585684657096863, 0.4644002616405487, 0.12747851014137268, 0.421762079000473, 0.36728435754776, -0.3862675428390503, 0.5517209768295288, 0.3413195312023163, -0.6945056319236755, -0.6191319823265076, -0.036091193556785583, -1.2525454759597778, -0.11803360283374786, 1.0426353216171265, -0.3263896107673645, -0.5743368864059448, 0.03237256407737732, -0.4050320088863373, 0.263383686542511, -0.17655609548091888, 0.4433528184890747, 0.15540260076522827, -0.1968870759010315, -0.6606118679046631, -0.25510653853416443, 0.41973593831062317, 0.08308682590723038, -0.5448850393295288, -0.44178709387779236, 0.18312020599842072, 0.45179927349090576, 0.6465557813644409, 0.46742352843284607, -0.20934714376926422, 0.1858055740594864, 0.28460249304771423, 0.24479906260967255, -0.16604268550872803, -0.20876097679138184, -0.5028121471405029, 0.018432319164276123, -0.36526793241500854, -0.2704703211784363 ]
codellama/CodeLlama-7b-Python-hf
codellama
2023-10-27T18:08:58Z
14,686
69
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:31:28Z
--- 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 7B 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 7B 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.3754844665527344, -0.6457802057266235, 0.3016318082809448, 0.56633460521698, -0.2366517335176468, 0.15553727746009827, -0.07393625378608704, -0.6653643846511841, 0.2500546872615814, 0.5237181186676025, -0.3941445052623749, -0.56490159034729, -0.5864675045013428, 0.3510400950908661, -0.5058462619781494, 1.2165619134902954, -0.04682273417711258, -0.32593584060668945, -0.2955503761768341, -0.011028175242245197, -0.25035804510116577, -0.6616939902305603, -0.17123344540596008, -0.4755427837371826, 0.36631226539611816, 0.2593623995780945, 0.7564049959182739, 0.6538643836975098, 0.5208917260169983, 0.331423819065094, -0.3343082070350647, -0.012655360624194145, -0.29816579818725586, -0.36864227056503296, 0.21956050395965576, -0.6166749596595764, -0.7941628694534302, -0.03466081619262695, 0.35606658458709717, 0.3698744475841522, -0.3082258105278015, 0.43910130858421326, -0.19556261599063873, 0.5002145171165466, -0.34960854053497314, 0.2256547510623932, -0.634879469871521, -0.0658784806728363, 0.04831358417868614, -0.06797776371240616, -0.10227085649967194, -0.5760122537612915, -0.12206214666366577, -0.4455322027206421, -0.10141437500715256, -0.057283226400613785, 1.102655053138733, 0.5606667399406433, -0.31953707337379456, -0.24872364103794098, -0.2706214487552643, 0.8166302442550659, -1.0147454738616943, 0.00860560405999422, 0.386013001203537, -0.03732602298259735, -0.17290619015693665, -0.8536115884780884, -0.779389500617981, -0.38035279512405396, -0.11742080748081207, -0.05304884910583496, -0.477044016122818, 0.07688534259796143, 0.44860735535621643, 0.518317699432373, -0.4717746675014496, 0.15774355828762054, -0.4720899760723114, -0.2424185425043106, 0.9369139671325684, 0.1020352691411972, 0.4468207359313965, -0.2705196738243103, -0.34424856305122375, -0.010891434736549854, -0.8822487592697144, 0.03363536670804024, 0.4892248213291168, -0.14372722804546356, -0.7907658219337463, 0.768151581287384, -0.1970958709716797, 0.5858415961265564, 0.037619151175022125, -0.5822975635528564, 0.5579554438591003, -0.3184204697608948, -0.30682259798049927, -0.11337541043758392, 0.9025810956954956, 0.5250654816627502, 0.36778348684310913, 0.051714085042476654, -0.2513660788536072, 0.35859647393226624, 0.13984481990337372, -0.8348855972290039, -0.06163564324378967, 0.33642396330833435, -0.6342733502388, -0.7078993320465088, -0.31233057379722595, -0.8175927400588989, -0.1434176117181778, -0.05562968552112579, 0.1171465590596199, -0.1721397042274475, -0.43721628189086914, 0.21615555882453918, 0.08280343562364578, 0.4636463522911072, 0.1182556077837944, -0.8827369809150696, 0.02219294384121895, 0.5075463652610779, 0.7802698612213135, 0.02586459182202816, -0.5100343823432922, 0.033646151423454285, -0.1243249773979187, -0.3623191714286804, 0.6971051692962646, -0.49441930651664734, -0.5085503458976746, -0.09564298391342163, 0.10006164014339447, 0.0019788627978414297, -0.5423821210861206, 0.21000884473323822, -0.3595377802848816, -0.029475461691617966, 0.14881686866283417, -0.2610452175140381, -0.4873199760913849, 0.06190858781337738, -0.5933017134666443, 1.1691639423370361, 0.2926665246486664, -0.6767099499702454, -0.04690554365515709, -0.5768164992332458, -0.37925657629966736, -0.26997101306915283, -0.026007529348134995, -0.6656461954116821, -0.05347714200615883, 0.17931202054023743, 0.5132020711898804, -0.41386547684669495, 0.46219977736473083, -0.14421199262142181, -0.4181247353553772, 0.23651520907878876, -0.16798339784145355, 1.025671362876892, 0.3702870011329651, -0.4700911045074463, 0.23344378173351288, -0.9610294699668884, -0.13819777965545654, 0.4970921576023102, -0.5661459565162659, 0.130712628364563, -0.13751059770584106, -0.022219274193048477, -0.041492994874715805, 0.5868561863899231, -0.2730405330657959, 0.5916164517402649, -0.41213521361351013, 0.7823211550712585, 0.6719121932983398, -0.03652678430080414, 0.4098412096500397, -0.6152588725090027, 0.8064692616462708, -0.15723280608654022, 0.19581519067287445, -0.29909273982048035, -0.7737268805503845, -1.0263994932174683, -0.2926436960697174, 0.021144872531294823, 0.7101905345916748, -0.51766037940979, 0.6344535946846008, 0.00482199527323246, -0.7817969918251038, -0.5278869271278381, 0.2167445421218872, 0.5578987002372742, 0.2721759080886841, 0.33914077281951904, -0.09399959444999695, -0.816123902797699, -0.8746740818023682, 0.06295458227396011, -0.45151886343955994, 0.11896456032991409, 0.2016022950410843, 0.8756626844406128, -0.6918619871139526, 0.7974726557731628, -0.41908422112464905, 0.011466608382761478, -0.4133334457874298, -0.30479681491851807, 0.5374742746353149, 0.5575723648071289, 0.7709859013557434, -0.6126824021339417, -0.23708608746528625, 0.06657972931861877, -0.8883638978004456, -0.13870061933994293, -0.20994877815246582, -0.033183503895998, 0.4573289453983307, 0.2908681631088257, -0.6814451217651367, 0.5392483472824097, 0.931132972240448, -0.2254849076271057, 0.6221587061882019, -0.14724326133728027, -0.15898117423057556, -1.0868159532546997, 0.21941958367824554, -0.15860600769519806, -0.016327746212482452, -0.5202372074127197, 0.37467458844184875, 0.09931360185146332, 0.10203039646148682, -0.5571714639663696, 0.3603379428386688, -0.4002615213394165, -0.03504070267081261, -0.13142667710781097, -0.23470133543014526, -0.03920547291636467, 0.7630208134651184, -0.05185294151306152, 1.0114794969558716, 0.5437058806419373, -0.6639662981033325, 0.33757540583610535, 0.3247178792953491, -0.3992455303668976, 0.18549133837223053, -0.9734581708908081, 0.3715566098690033, 0.13226433098316193, 0.3551677167415619, -0.7825214862823486, -0.27526217699050903, 0.3615611791610718, -0.46466681361198425, 0.08778156340122223, -0.035202622413635254, -0.4980982840061188, -0.487324595451355, -0.2661995589733124, 0.4609983265399933, 0.8933077454566956, -0.6433814167976379, 0.42909497022628784, 0.4254666268825531, 0.10714933276176453, -0.7698832154273987, -0.7349713444709778, 0.13166078925132751, -0.4888556897640228, -0.6614665389060974, 0.41777580976486206, -0.31807243824005127, -0.22545431554317474, -0.17691922187805176, 0.03749436140060425, -0.008683341555297375, 0.3248278498649597, 0.4767419993877411, 0.4152718186378479, -0.12066865712404251, -0.24290472269058228, 0.01217459887266159, -0.09799529612064362, 0.05507434532046318, 0.1730930507183075, 0.7860531210899353, -0.3966573178768158, -0.21632333099842072, -0.5721369981765747, 0.19738097488880157, 0.6034705638885498, -0.2573816776275635, 0.5952504277229309, 0.3668123185634613, -0.40010422468185425, -0.034407004714012146, -0.6851056218147278, 0.16362349689006805, -0.5633121132850647, 0.3090088367462158, -0.25897473096847534, -0.8590987324714661, 0.6874330639839172, 0.0901428610086441, 0.19796554744243622, 0.49091899394989014, 0.8462758660316467, 0.11885619908571243, 0.7750527858734131, 0.9986792802810669, -0.4404281973838806, 0.41455939412117004, -0.552945613861084, 0.10606378316879272, -0.8259718418121338, -0.47974711656570435, -0.6569939851760864, -0.02721095085144043, -0.7025191187858582, -0.4598475396633148, 0.3262820541858673, 0.2115141600370407, -0.5063735842704773, 0.7692697644233704, -0.82718825340271, 0.43364205956459045, 0.4630487561225891, 0.009903470985591412, 0.40538206696510315, 0.04102965071797371, -0.015888841822743416, 0.3447777032852173, -0.45707011222839355, -0.7547931671142578, 1.246582269668579, 0.45733141899108887, 0.8812360167503357, -0.02462693117558956, 0.8722190856933594, 0.08213160932064056, 0.35178858041763306, -0.7061335444450378, 0.6222349405288696, 0.31198540329933167, -0.5099459886550903, 0.012591034173965454, -0.23428875207901, -0.9650717377662659, 0.1782326102256775, 0.08293312788009644, -0.8312084674835205, 0.08538634330034256, -0.02837490290403366, -0.230770081281662, 0.3131338655948639, -0.6920134425163269, 0.6352187395095825, -0.2222054898738861, 0.038954541087150574, -0.1936122477054596, -0.5521637201309204, 0.6048147082328796, -0.1273895502090454, 0.24175342917442322, -0.15012980997562408, -0.2155613899230957, 0.6792449355125427, -0.5410628914833069, 1.1077851057052612, 0.14147470891475677, -0.47348812222480774, 0.6212394833564758, -0.014746726490557194, 0.47226211428642273, 0.0020208561327308416, -0.23721453547477722, 0.7476670742034912, 0.024341857060790062, -0.21049374341964722, -0.11772823333740234, 0.6612581014633179, -1.1006009578704834, -0.7961875796318054, -0.45728543400764465, -0.4883638918399811, 0.30243736505508423, 0.1757805049419403, 0.3750501871109009, 0.05254942923784256, 0.20545867085456848, 0.14709296822547913, 0.38888970017433167, -0.7199608683586121, 0.6533411741256714, 0.3664524257183075, -0.28366196155548096, -0.5078467130661011, 0.8525644540786743, -0.1323627531528473, 0.21610863506793976, 0.27219724655151367, 0.05779515951871872, -0.15027403831481934, -0.5015842914581299, -0.4249110221862793, 0.4662233889102936, -0.6689603328704834, -0.5678001046180725, -0.6449980139732361, -0.353828102350235, -0.39331114292144775, -0.3325549364089966, -0.2652970254421234, -0.28929227590560913, -0.6840122938156128, -0.16822558641433716, 0.778446614742279, 0.846147894859314, 0.04831799119710922, 0.4645584523677826, -0.6447091102600098, 0.4703884422779083, 0.08052384108304977, 0.37865743041038513, 0.003372840816155076, -0.4847465753555298, -0.13011419773101807, -0.018177945166826248, -0.5614585876464844, -0.9052532911300659, 0.6557449102401733, 0.10918065905570984, 0.666231095790863, 0.12345115840435028, -0.0465892031788826, 0.6877066493034363, -0.4353673756122589, 0.9878947734832764, 0.3609369695186615, -1.1182453632354736, 0.6506174802780151, -0.2597501575946808, 0.03445984050631523, 0.07181136310100555, 0.3540007472038269, -0.4421009123325348, -0.2617976665496826, -0.6726517677307129, -0.7727364897727966, 0.6239398121833801, 0.17974719405174255, 0.2858216166496277, 0.03287770226597786, 0.4593798816204071, -0.015878455713391304, 0.34062162041664124, -1.1046109199523926, -0.3378249406814575, -0.3549606204032898, -0.2538590133190155, -0.09921903908252716, -0.2931358218193054, -0.0746167004108429, -0.2807968258857727, 0.45201265811920166, -0.19800928235054016, 0.5358960628509521, 0.1500987559556961, -0.18523108959197998, -0.24463479220867157, 0.06389837712049484, 0.6977033615112305, 0.6142114996910095, -0.020949050784111023, -0.1482529491186142, 0.39140352606773376, -0.5629355311393738, 0.23870055377483368, -0.12925049662590027, -0.08920758217573166, -0.30915164947509766, 0.5781756043434143, 0.6584423184394836, 0.12269528210163116, -0.8713269829750061, 0.5130907297134399, 0.16909298300743103, -0.2817184329032898, -0.5299232006072998, 0.3028365969657898, 0.28925621509552, 0.3777431845664978, 0.27087491750717163, 0.021308405324816704, -0.09368104487657547, -0.4625047445297241, -0.03293367847800255, 0.3490074574947357, 0.1951829195022583, -0.37043190002441406, 0.9445342421531677, 0.10965477675199509, -0.37883248925209045, 0.4815269112586975, 0.09377390146255493, -0.6103028059005737, 1.2250953912734985, 0.7203360199928284, 0.7762424349784851, -0.20321474969387054, 0.10066299140453339, 0.46937716007232666, 0.5653916597366333, -0.015983715653419495, 0.4410070776939392, 0.018530020490288734, -0.5336438417434692, -0.3439284861087799, -0.8940312266349792, -0.41230085492134094, 0.09739963710308075, -0.462438702583313, 0.31833934783935547, -0.649730920791626, -0.04393280670046806, -0.3919781744480133, 0.10203327983617783, -0.6294114589691162, -0.009127783589065075, 0.13201165199279785, 0.9811821579933167, -0.6338855028152466, 0.9541484117507935, 0.6168453693389893, -0.7543631792068481, -0.934119462966919, -0.23080478608608246, -0.07708488404750824, -1.2655221223831177, 0.5020596981048584, 0.3096727430820465, 0.07393369823694229, 0.06399034708738327, -0.9695259928703308, -1.110756278038025, 1.3352468013763428, 0.4853546619415283, -0.5269063115119934, -0.028888849541544914, 0.22253257036209106, 0.5722417831420898, -0.3602692186832428, 0.4242551624774933, 0.6780362725257874, 0.4494801163673401, -0.11209271848201752, -1.2526363134384155, 0.33794260025024414, -0.42198169231414795, 0.23369082808494568, -0.31191205978393555, -1.0809452533721924, 1.0838769674301147, -0.5765543580055237, -0.12905725836753845, 0.49034959077835083, 0.6633046865463257, 0.5777480006217957, 0.223585307598114, 0.35603225231170654, 0.5714335441589355, 0.6593073606491089, 0.014333387836813927, 1.2315324544906616, -0.45947265625, 0.4201977849006653, 0.5027849078178406, -0.12738654017448425, 0.7461566925048828, 0.42721790075302124, -0.6012613773345947, 0.7629060745239258, 0.8034113645553589, -0.21559961140155792, 0.28662681579589844, 0.33966267108917236, -0.07297788560390472, -0.03489178419113159, -0.09898816794157028, -0.7875656485557556, 0.3723352551460266, 0.3317358195781708, -0.3474794626235962, 0.07259050011634827, -0.22932790219783783, 0.2935737371444702, -0.14538411796092987, -0.09607847034931183, 0.6653876304626465, 0.24620509147644043, -0.5581404566764832, 1.212182641029358, 0.10906277596950531, 1.0165648460388184, -0.540687620639801, -0.1424277126789093, -0.4606446623802185, 0.06686864793300629, -0.5917019844055176, -0.5423214435577393, 0.17710284888744354, 0.29499372839927673, 0.004245131742209196, -0.12265858799219131, 0.4919925034046173, -0.06569211930036545, -0.5081634521484375, 0.3943847715854645, 0.16912545263767242, 0.30119094252586365, 0.12831519544124603, -0.6931600570678711, 0.48679670691490173, 0.19314683973789215, -0.4849248230457306, 0.3822998106479645, 0.11393091827630997, 0.03687770292162895, 0.9902154803276062, 0.8188107013702393, -0.12063615769147873, 0.19257134199142456, -0.132682204246521, 1.1644924879074097, -0.734441876411438, -0.36292195320129395, -0.8183377385139465, 0.6678450703620911, 0.3095231056213379, -0.44822660088539124, 0.6302367448806763, 0.3715895116329193, 0.8471825122833252, -0.1360851526260376, 0.8710742592811584, -0.1957320123910904, 0.08373568207025528, -0.4785105288028717, 0.6818195581436157, -0.8003121018409729, 0.39844921231269836, -0.5056247711181641, -0.9584596753120422, -0.32604581117630005, 0.910499632358551, -0.04828706383705139, 0.05569927394390106, 0.552521824836731, 1.0243935585021973, 0.3293781578540802, -0.12115269154310226, 0.233083575963974, 0.21854618191719055, 0.4267095923423767, 0.8172544836997986, 1.0298417806625366, -0.6014063358306885, 0.7488861083984375, -0.5957303047180176, -0.24145320057868958, -0.30329620838165283, -1.0221226215362549, -1.025826334953308, -0.5023007392883301, -0.34589144587516785, -0.4168910086154938, -0.27504920959472656, 0.9389463663101196, 0.5541947484016418, -0.6054630875587463, -0.49334558844566345, -0.12852491438388824, 0.44124269485473633, -0.11161521822214127, -0.207611545920372, 0.29572784900665283, -0.1293260008096695, -0.8723498582839966, 0.39895397424697876, -0.030342090874910355, 0.1645023077726364, -0.3617241084575653, -0.2544853389263153, -0.12261929363012314, 0.0026811205316334963, 0.4913524389266968, 0.36546680331230164, -0.8803464770317078, -0.2100997269153595, 0.07690904289484024, -0.19640721380710602, 0.12554918229579926, 0.4320079982280731, -0.6663263440132141, -0.07889405637979507, 0.36781901121139526, 0.4595739543437958, 0.3240305781364441, -0.24472881853580475, 0.2349340319633484, -0.3458389937877655, 0.4461665749549866, 0.0019481679191812873, 0.5350148677825928, 0.1097600981593132, -0.6142757534980774, 0.7190136909484863, 0.30002301931381226, -0.6957099437713623, -0.9573983550071716, 0.12942107021808624, -1.184816837310791, -0.22004157304763794, 1.3632125854492188, -0.11228252202272415, -0.37631747126579285, 0.17591074109077454, -0.40663352608680725, 0.26674148440361023, -0.41679078340530396, 0.7406780123710632, 0.2999667227268219, -0.08079420775175095, -0.1474417746067047, -0.42599430680274963, 0.264279842376709, 0.24493789672851562, -0.9773999452590942, -0.16539384424686432, 0.4007858335971832, 0.41901320219039917, 0.2204054445028305, 0.7120252251625061, -0.12478411942720413, 0.18947958946228027, 0.06027130410075188, 0.4728230834007263, -0.10861452668905258, -0.23291994631290436, -0.4023115038871765, -0.05087178573012352, -0.0965380072593689, -0.02581912651658058 ]
facebook/wav2vec2-large-lv60
facebook
2021-12-28T12:45:09Z
14,685
5
transformers
[ "transformers", "pytorch", "jax", "wav2vec2", "pretraining", "speech", "en", "dataset:librispeech_asr", "arxiv:2006.11477", "license:apache-2.0", "endpoints_compatible", "region:us" ]
null
2022-03-02T23:29:05Z
--- language: en datasets: - librispeech_asr tags: - speech license: apache-2.0 --- # Wav2Vec2-Large-LV60 [Facebook's Wav2Vec2](https://ai.facebook.com/blog/wav2vec-20-learning-the-structure-of-speech-from-raw-audio/) The base model pretrained on 16kHz sampled speech audio. When using the model make sure that your speech input is also sampled at 16Khz. **Note**: This model does not have a tokenizer as it was pretrained on audio alone. In order to use this model **speech recognition**, a tokenizer should be created and the model should be fine-tuned on labeled text data. Check out [this blog](https://huggingface.co/blog/fine-tune-wav2vec2-english) for more in-detail explanation of how to fine-tune the model. [Paper](https://arxiv.org/abs/2006.11477) Authors: Alexei Baevski, Henry Zhou, Abdelrahman Mohamed, Michael Auli **Abstract** We show for the first time that learning powerful representations from speech audio alone followed by fine-tuning on transcribed speech can outperform the best semi-supervised methods while being conceptually simpler. wav2vec 2.0 masks the speech input in the latent space and solves a contrastive task defined over a quantization of the latent representations which are jointly learned. Experiments using all labeled data of Librispeech achieve 1.8/3.3 WER on the clean/other test sets. When lowering the amount of labeled data to one hour, wav2vec 2.0 outperforms the previous state of the art on the 100 hour subset while using 100 times less labeled data. Using just ten minutes of labeled data and pre-training on 53k hours of unlabeled data still achieves 4.8/8.2 WER. This demonstrates the feasibility of speech recognition with limited amounts of labeled data. The original model can be found under https://github.com/pytorch/fairseq/tree/master/examples/wav2vec#wav2vec-20. # Usage See [this notebook](https://colab.research.google.com/drive/1FjTsqbYKphl9kL-eILgUc-bl4zVThL8F?usp=sharing) for more information on how to fine-tune the model.
[ -0.06647288799285889, -0.5053856372833252, 0.07748191058635712, -0.06938094645738602, -0.32760438323020935, -0.13240638375282288, -0.3246917128562927, -0.7215580344200134, -0.2217286080121994, 0.155897319316864, -0.5130372047424316, -0.3991597294807434, -0.6420877575874329, -0.33906057476997375, -0.26202690601348877, 0.8941047787666321, 0.36362501978874207, 0.3680465519428253, 0.04996306449174881, -0.21129217743873596, -0.4780237078666687, -0.4291556179523468, -0.8017308115959167, -0.4774976968765259, 0.3402325510978699, 0.26132625341415405, 0.3113488554954529, 0.4896257817745209, 0.16310331225395203, 0.22680123150348663, -0.49872100353240967, 0.13556461036205292, -0.7802312970161438, -0.13130880892276764, -0.055821020156145096, -0.4060925841331482, -0.310410737991333, 0.23789295554161072, 0.6472234129905701, 0.6407849788665771, -0.3726615905761719, 0.3994999825954437, 0.1913871020078659, 0.4144505560398102, -0.3515112102031708, 0.4503655433654785, -0.7817318439483643, -0.07648654282093048, -0.2742765247821808, 0.04712958633899689, -0.4915057122707367, 0.08514352142810822, 0.07019592821598053, -0.44994252920150757, 0.13506576418876648, -0.07488168776035309, 0.8212356567382812, 0.3427768051624298, -0.5235447883605957, -0.2176416516304016, -0.9938154220581055, 0.9659983515739441, -0.4114576578140259, 0.849561333656311, 0.6493043303489685, 0.32002323865890503, -0.00792013481259346, -1.0526829957962036, -0.38183775544166565, -0.011291688308119774, 0.4495526850223541, 0.34184953570365906, -0.4291285574436188, 0.019927289336919785, 0.38442370295524597, 0.2861883342266083, -0.5462543964385986, 0.4436262249946594, -0.8311495184898376, -0.5973876714706421, 0.5121163725852966, -0.21506907045841217, -0.05047699436545372, 0.04119129478931427, -0.3457385003566742, -0.31884637475013733, -0.3292192220687866, 0.49974340200424194, 0.138482466340065, 0.25377631187438965, -0.2649585008621216, 0.48831748962402344, 0.07823973149061203, 0.5747271776199341, -0.11827699095010757, -0.2517089545726776, 0.60980623960495, -0.2535141706466675, -0.020604340359568596, 0.3001443147659302, 0.6426941752433777, 0.16715769469738007, 0.20901048183441162, 0.08064044266939163, -0.2670547068119049, 0.1470930427312851, -0.06985113024711609, -0.7359955310821533, -0.4932801425457001, 0.11068689823150635, -0.4761445224285126, 0.08255627006292343, 0.1078852117061615, -0.051224395632743835, -0.11220737546682358, -0.6604716777801514, 0.651332676410675, -0.29638001322746277, -0.1084228903055191, -0.029745154082775116, -0.08648699522018433, 0.24391648173332214, 0.15950052440166473, -0.8786996006965637, 0.36086201667785645, 0.5913047790527344, 0.82101970911026, -0.04834141209721565, 0.1749003678560257, -0.839399516582489, -0.08782412111759186, -0.504733681678772, 0.6179713606834412, -0.2303602248430252, -0.3673638105392456, -0.14893051981925964, -0.00705556757748127, 0.44545722007751465, -0.6422426104545593, 0.6545506119728088, -0.3539436459541321, 0.041933707892894745, -0.0207382719963789, -0.7781561017036438, -0.02680828422307968, -0.4298554062843323, -0.6503190398216248, 1.180860996246338, 0.0581781268119812, -0.5999143123626709, 0.3321199119091034, -0.1874672770500183, -0.4406834840774536, -0.058017730712890625, -0.06840687990188599, -0.5054600238800049, 0.13385486602783203, 0.09987242519855499, 0.45074111223220825, -0.023897236213088036, 0.019761856645345688, -0.05529038608074188, -0.367460161447525, 0.15400326251983643, -0.5079370141029358, 0.7484663724899292, 0.36062857508659363, -0.13776403665542603, 0.13126474618911743, -1.066611647605896, 0.13275441527366638, 0.09556832909584045, -0.6122670769691467, -0.033926766365766525, -0.08019405603408813, 0.35453569889068604, 0.13682964444160461, 0.1135386973619461, -0.6433305144309998, -0.20012469589710236, -0.8092806339263916, 0.7574398517608643, 0.5893850922584534, -0.12006722390651703, 0.4783683121204376, -0.21814872324466705, 0.008050571195781231, -0.26503893733024597, 0.002032922115176916, 0.02937442995607853, -0.4999089539051056, -0.5108693838119507, -0.28474554419517517, 0.5382209420204163, 0.5703652501106262, -0.16518957912921906, 0.5414188504219055, -0.06922280788421631, -0.6630100607872009, -0.7578355073928833, 0.12499132752418518, 0.40741676092147827, 0.4425811767578125, 0.6893457174301147, -0.14275935292243958, -0.7860801219940186, -0.7390891313552856, -0.09723634272813797, -0.09581748396158218, -0.27226975560188293, 0.39597848057746887, 0.23365429043769836, -0.22304856777191162, 0.6422781348228455, -0.09484163671731949, -0.4233778119087219, -0.20963320136070251, 0.15902994573116302, 0.2386799305677414, 0.5815817713737488, 0.18678660690784454, -0.7141982316970825, -0.2065586894750595, -0.2531803250312805, -0.1704249083995819, 0.06943058967590332, 0.19910356402397156, 0.09204374253749847, 0.14142630994319916, 0.7035003304481506, -0.156762033700943, 0.3871396780014038, 0.638013482093811, -0.04144957661628723, 0.14036491513252258, -0.2390814870595932, -0.3763432800769806, -1.1945760250091553, -0.15684758126735687, -0.07710154354572296, -0.4915478527545929, -0.5583465695381165, -0.6960483193397522, 0.07671116292476654, -0.19798512756824493, -0.5788660049438477, 0.4447649419307709, -0.43690091371536255, -0.17756778001785278, -0.3273147642612457, 0.1355765461921692, -0.2016301155090332, 0.30228957533836365, 0.04167724773287773, 0.722601056098938, 0.4209008514881134, -0.612520158290863, 0.4022054374217987, 0.39513179659843445, -0.5788708329200745, -0.019850749522447586, -0.909608781337738, 0.5153665542602539, -0.041311200708150864, 0.40231743454933167, -1.0594996213912964, -0.2109665870666504, -0.12257286161184311, -0.8518778085708618, 0.5334679484367371, -0.14604800939559937, -0.3374495506286621, -0.2649921774864197, 0.04344451427459717, 0.42207199335098267, 0.9746025204658508, -0.7526998519897461, 0.5346748232841492, 0.7006134390830994, -0.06373281031847, -0.3050144910812378, -1.0107736587524414, -0.20843002200126648, 0.17696091532707214, -0.4296655058860779, 0.5628575682640076, 0.0316777229309082, 0.09884889423847198, -0.2826927602291107, -0.4462454617023468, 0.08235086500644684, -0.14541248977184296, 0.5969725251197815, 0.07643579691648483, -0.012641648761928082, 0.4837837517261505, 0.01393202506005764, -0.3050331473350525, -0.05599331855773926, -0.4964222311973572, 0.5708533525466919, 0.06495163589715958, -0.04597954824566841, -0.9427745938301086, 0.0890967920422554, 0.21282634139060974, -0.40163546800613403, 0.40856069326400757, 0.9342799186706543, -0.6271875500679016, -0.2500201165676117, -0.463815301656723, -0.2666134536266327, -0.43932485580444336, 0.7440056800842285, -0.3296801745891571, -0.9473297595977783, 0.15733756124973297, -0.09989393502473831, -0.010629795491695404, 0.5921556949615479, 0.7114269137382507, -0.3423120379447937, 1.024082899093628, 0.5243181586265564, -0.1379844844341278, 0.6972144246101379, -0.4155007302761078, 0.05470595508813858, -0.6705487966537476, -0.7048203945159912, -0.6098193526268005, -0.22561031579971313, -0.5313445329666138, -0.6039018034934998, 0.2889735698699951, 0.16781964898109436, -0.05244109779596329, 0.21224099397659302, -0.543708324432373, 0.32258105278015137, 0.6585855484008789, 0.3227810561656952, -0.12785089015960693, 0.26166361570358276, 0.013356834650039673, -0.10200908780097961, -0.583598792552948, -0.38485613465309143, 1.041159987449646, 0.6276816129684448, 0.7119006514549255, -0.02241387404501438, 0.6356867551803589, 0.3049330711364746, -0.5268527269363403, -1.0715153217315674, 0.26446065306663513, -0.29157495498657227, -0.5335455536842346, -0.29775723814964294, -0.22638358175754547, -0.9319317936897278, -0.024292897433042526, -0.442813515663147, -0.7472315430641174, 0.06220502778887749, 0.16869035363197327, -0.2431594878435135, 0.06620384007692337, -0.6944094300270081, 0.5534908175468445, -0.06002914905548096, -0.19361990690231323, -0.46434587240219116, -0.733656108379364, -0.14934107661247253, 0.05843527987599373, 0.23246820271015167, -0.114039845764637, 0.21167057752609253, 1.2368375062942505, -0.3284249007701874, 0.652111828327179, -0.4409482777118683, 0.06279720366001129, 0.5365024209022522, -0.24557696282863617, 0.581549882888794, -0.04282243549823761, -0.004334269091486931, 0.20536506175994873, 0.1911531686782837, -0.4112893044948578, -0.34142351150512695, 0.3982670307159424, -1.0115010738372803, -0.12223193794488907, -0.17407739162445068, -0.25308266282081604, -0.38189059495925903, 0.002901076339185238, 0.4978737533092499, 0.8211835026741028, -0.2487337440252304, 0.6180384755134583, 0.8107020258903503, -0.015782147645950317, 0.21929851174354553, 0.29601505398750305, 0.06972486525774002, -0.3402687609195709, 0.9336589574813843, 0.26646435260772705, 0.09089810401201248, 0.3383842408657074, 0.42511212825775146, -0.5542446970939636, -0.6503172516822815, -0.005001678131520748, 0.0848349928855896, -0.6712188124656677, -0.09142199158668518, -0.7565162777900696, -0.4336696267127991, -0.613835871219635, 0.42154425382614136, -0.7642712593078613, -0.5731698274612427, -0.6569743752479553, -0.3179926872253418, 0.32965606451034546, 0.7319375872612, -0.4845815598964691, 0.23052978515625, -0.6292074918746948, 0.48697924613952637, 0.5773507356643677, -0.021747151389718056, -0.20637018978595734, -1.1353228092193604, -0.2642909288406372, 0.23517435789108276, 0.1816246658563614, -0.6169177889823914, 0.035969652235507965, 0.4540358781814575, 0.5001313090324402, 0.36860281229019165, -0.1403682380914688, 0.4820570945739746, -0.49499720335006714, 0.818677544593811, 0.2911494970321655, -0.9223159551620483, 0.758406937122345, -0.058347515761852264, 0.21143266558647156, 0.4664955139160156, 0.17214079201221466, -0.2565476894378662, 0.1122056320309639, -0.5546724200248718, -0.8893102407455444, 0.7064459919929504, 0.21700312197208405, 0.21326029300689697, 0.3420599102973938, 0.41973209381103516, 0.08146747201681137, -0.17758648097515106, -0.43216201663017273, -0.2673719525337219, -0.41589751839637756, -0.3429608941078186, -0.3055056631565094, -0.5654389262199402, 0.12670153379440308, -0.5653668642044067, 0.7868842482566833, 0.24346962571144104, 0.263698935508728, 0.15151387453079224, -0.17044863104820251, 0.172514870762825, 0.2246791124343872, 0.40689411759376526, 0.269987553358078, -0.16115796566009521, 0.20562809705734253, 0.2824931740760803, -0.5777985453605652, 0.0009017601842060685, 0.33090081810951233, 0.09278030693531036, -0.0596870519220829, 0.5400077104568481, 1.3065440654754639, 0.017083531245589256, -0.5280739665031433, 0.5357733368873596, -0.09523376822471619, -0.42242467403411865, -0.3704744875431061, 0.22082337737083435, 0.1667896956205368, 0.4063264727592468, 0.3019019067287445, -0.020462442189455032, 0.15588967502117157, -0.49539053440093994, 0.30072182416915894, 0.2319430112838745, -0.7648563385009766, -0.292742520570755, 0.851826012134552, 0.18475724756717682, -0.4044395983219147, 0.6101288199424744, -0.1858672797679901, -0.319732129573822, 0.4249630868434906, 0.5886961817741394, 0.4573613703250885, -0.3712640106678009, -0.18521536886692047, 0.6441001892089844, 0.10571230947971344, -0.1712609827518463, 0.4497087001800537, -0.34611499309539795, -0.4908532202243805, -0.2899397015571594, -0.6165356040000916, -0.20386822521686554, 0.31125760078430176, -0.7477738261222839, 0.20171168446540833, -0.45875027775764465, -0.34998270869255066, 0.35139086842536926, 0.1770634800195694, -0.7391067147254944, 0.3360218405723572, 0.3858688771724701, 0.7336258292198181, -0.7658993601799011, 0.9921355247497559, 0.5256572365760803, -0.21501468122005463, -1.2744981050491333, -0.2643365263938904, 0.05027323216199875, -0.7699621915817261, 0.5168910026550293, 0.19283455610275269, -0.322774738073349, 0.23727719485759735, -0.761379599571228, -0.8090288043022156, 1.0205044746398926, 0.17156754434108734, -1.133447289466858, 0.16776759922504425, -0.16561704874038696, 0.47373008728027344, -0.056720733642578125, -0.10270103067159653, 0.5451480746269226, 0.21052297949790955, 0.24131366610527039, -1.0518922805786133, -0.28636765480041504, -0.18211959302425385, -0.04014768451452255, -0.3037061393260956, -0.5277555584907532, 0.7060419917106628, -0.40229836106300354, -0.3386420011520386, 0.11557665467262268, 0.9432714581489563, 0.03472556173801422, 0.3041505217552185, 0.5446794033050537, 0.38864243030548096, 1.2298171520233154, -0.1415337175130844, 0.5995226502418518, 0.05127933621406555, 0.31409600377082825, 1.3474777936935425, 0.04195810854434967, 1.0169142484664917, 0.3248954117298126, -0.3795657753944397, 0.23385554552078247, 0.6261143088340759, -0.26334452629089355, 0.7399206757545471, 0.32552802562713623, -0.1128210499882698, -0.322080135345459, -0.3147795498371124, -0.5314674973487854, 0.8257290124893188, 0.290566623210907, -0.10947265475988388, 0.2893005311489105, 0.24371293187141418, -0.2554793655872345, 0.08301568031311035, -0.30881360173225403, 1.0507142543792725, 0.2767946422100067, -0.11593884229660034, 0.655249834060669, 0.10738805681467056, 0.5000977516174316, -0.5760865211486816, 0.0008371496223844588, 0.20402023196220398, 0.24813683331012726, -0.22818580269813538, -0.5555647015571594, -0.008175774477422237, -0.054423097521066666, -0.2916009724140167, -0.03294508531689644, 0.7601689696311951, -0.574508786201477, -0.42073535919189453, 0.3994762599468231, 0.15930813550949097, 0.29953840374946594, -0.09091434627771378, -0.5357649326324463, 0.20626932382583618, 0.11273548752069473, -0.15607212483882904, 0.0560731515288353, 0.2095436304807663, 0.14091257750988007, 0.2924782335758209, 0.7199625372886658, 0.15922681987285614, 0.05724700540304184, 0.38966745138168335, 0.5748476386070251, -0.508436918258667, -0.6433335542678833, -0.4498845040798187, 0.4124911427497864, 0.0830533355474472, -0.12199193984270096, 0.23517365753650665, 0.7213754057884216, 0.9965125322341919, 0.1124928668141365, 0.6175795793533325, 0.23769599199295044, 0.9384442567825317, -0.8129643797874451, 0.6237836480140686, -0.5997933745384216, -0.09200134128332138, 0.1282380074262619, -0.7243466973304749, -0.16324551403522491, 0.7938777804374695, 0.16524773836135864, 0.18986855447292328, 0.43548187613487244, 0.8074668049812317, 0.02530151791870594, 0.07803603261709213, 0.27866825461387634, 0.3893510699272156, 0.27060064673423767, 0.4831254780292511, 0.8455868363380432, -0.6491121649742126, 0.7853480577468872, -0.25327739119529724, -0.3063223659992218, -0.042367588728666306, -0.3368626534938812, -1.046669363975525, -0.7657028436660767, -0.33161500096321106, -0.5435110330581665, 0.10651163756847382, 1.0751454830169678, 0.929779052734375, -0.9127776622772217, 0.006381393875926733, 0.0323023647069931, -0.28983941674232483, -0.11175618320703506, -0.08862736821174622, 0.4838636815547943, -0.03339293971657753, -0.7289880514144897, 0.7478364706039429, -0.020861556753516197, 0.3443644940853119, 0.14719557762145996, -0.2575010061264038, 0.010838434100151062, -0.02762853354215622, 0.45290473103523254, 0.24142037332057953, -0.7167074084281921, -0.17619286477565765, -0.28808385133743286, -0.10183700919151306, 0.15618738532066345, 0.6379980444908142, -0.7220650911331177, 0.6038461923599243, 0.5227963328361511, 0.42101383209228516, 0.9954054951667786, -0.07144778966903687, 0.095555879175663, -0.6948516368865967, 0.34544846415519714, 0.37123623490333557, 0.2750095725059509, 0.3022352159023285, -0.05316626653075218, 0.1755308359861374, 0.2306155562400818, -0.5380947589874268, -0.7332171201705933, 0.14801278710365295, -1.3051072359085083, -0.21880681812763214, 1.2412786483764648, 0.17665138840675354, -0.102794349193573, 0.0532742515206337, -0.5083324909210205, 0.8764079809188843, -0.5587546229362488, 0.27374032139778137, 0.44220125675201416, 0.03928479552268982, -0.010068497620522976, -0.5004165768623352, 0.5600021481513977, 0.25971469283103943, -0.2914407253265381, 0.049787815660238266, 0.4624619483947754, 0.44027870893478394, -0.14749041199684143, 0.6227024793624878, -0.17784546315670013, 0.21092741191387177, 0.10198663175106049, -0.047629691660404205, -0.30457639694213867, -0.4098246097564697, -0.5652050971984863, 0.03231551870703697, 0.11578603088855743, -0.5092478394508362 ]
deepset/minilm-uncased-squad2
deepset
2023-07-20T06:39:35Z
14,675
38
transformers
[ "transformers", "pytorch", "jax", "safetensors", "bert", "question-answering", "en", "dataset:squad_v2", "license:cc-by-4.0", "model-index", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
question-answering
2022-03-02T23:29:05Z
--- language: en license: cc-by-4.0 datasets: - squad_v2 model-index: - name: deepset/minilm-uncased-squad2 results: - task: type: question-answering name: Question Answering dataset: name: squad_v2 type: squad_v2 config: squad_v2 split: validation metrics: - type: exact_match value: 76.1921 name: Exact Match verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNmViZTQ3YTBjYTc3ZDQzYmI1Mzk3MTAxM2MzNjdmMTc0MWY4Yzg2MWU3NGQ1MDJhZWI2NzY0YWYxZTY2OTgzMiIsInZlcnNpb24iOjF9.s4XCRs_pvW__LJ57dpXAEHD6NRsQ3XaFrM1xaguS6oUs5fCN77wNNc97scnfoPXT18A8RAn0cLTNivfxZm0oBA - type: f1 value: 79.5483 name: F1 verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZmJlYTIyOTg2NjMyMzg4NzNlNGIzMTY2NDVkMjg0ODdiOWRmYjVkZDYyZjBjNWNiNTBhNjcwOWUzMDM4ZWJiZiIsInZlcnNpb24iOjF9.gxpwIBBA3_5xPi-TaZcqWNnGgCiHzxaUNgrS2jucxoVWGxhBtnPdwKVCxLleQoDDZenAXB3Yh71zMP3xTSeHCw --- # MiniLM-L12-H384-uncased for QA ## Overview **Language model:** microsoft/MiniLM-L12-H384-uncased **Language:** English **Downstream-task:** Extractive QA **Training data:** SQuAD 2.0 **Eval data:** SQuAD 2.0 **Code:** See an [example QA pipeline on Haystack](https://haystack.deepset.ai/tutorials/01_basic_qa_pipeline) **Infrastructure**: 1x Tesla v100 ## Hyperparameters ``` seed=42 batch_size = 12 n_epochs = 4 base_LM_model = "microsoft/MiniLM-L12-H384-uncased" max_seq_len = 384 learning_rate = 4e-5 lr_schedule = LinearWarmup warmup_proportion = 0.2 doc_stride=128 max_query_length=64 grad_acc_steps=4 ``` ## Performance Evaluated on the SQuAD 2.0 dev set with the [official eval script](https://worksheets.codalab.org/rest/bundles/0x6b567e1cf2e041ec80d7098f031c5c9e/contents/blob/). ``` "exact": 76.13071675229513, "f1": 79.49786500219953, "total": 11873, "HasAns_exact": 78.35695006747639, "HasAns_f1": 85.10090269418276, "HasAns_total": 5928, "NoAns_exact": 73.91084945332211, "NoAns_f1": 73.91084945332211, "NoAns_total": 5945 ``` ## Usage ### In Haystack For doing QA at scale (i.e. many docs instead of single paragraph), you can load the model also in [Haystack](https://github.com/deepset-ai/haystack/): ```python reader = FARMReader(model_name_or_path="deepset/minilm-uncased-squad2") # or reader = TransformersReader(model="deepset/minilm-uncased-squad2",tokenizer="deepset/minilm-uncased-squad2") ``` ### In Transformers ```python from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline model_name = "deepset/minilm-uncased-squad2" # a) Get predictions nlp = pipeline('question-answering', model=model_name, tokenizer=model_name) QA_input = { 'question': 'Why is model conversion important?', 'context': 'The option to convert models between FARM and transformers gives freedom to the user and let people easily switch between frameworks.' } res = nlp(QA_input) # b) Load model & tokenizer model = AutoModelForQuestionAnswering.from_pretrained(model_name) tokenizer = AutoTokenizer.from_pretrained(model_name) ``` ## Authors **Vaishali Pal:** [email protected] **Branden Chan:** [email protected] **Timo Möller:** [email protected] **Malte Pietsch:** [email protected] **Tanay Soni:** [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://raw.githubusercontent.com/deepset-ai/.github/main/deepset-logo-colored.png" 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://raw.githubusercontent.com/deepset-ai/.github/main/haystack-logo-colored.png" 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://docs.haystack.deepset.ai">Documentation</a></strong>. We also have a <strong><a class="h-7" href="https://haystack.deepset.ai/community">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) | [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.4099312722682953, -0.5313994884490967, 0.3617815673351288, 0.01683751679956913, -0.010043042711913586, 0.10645188391208649, -0.15422262251377106, -0.4089728593826294, 0.2548922896385193, 0.20437787473201752, -0.8771573901176453, -0.7303091883659363, -0.28320837020874023, 0.06434886902570724, -0.3835350573062897, 0.9988672137260437, 0.17780807614326477, -0.08963131904602051, -0.1688309907913208, -0.041223347187042236, -0.4098632335662842, -0.4708994925022125, -0.6882932186126709, -0.14671793580055237, 0.25077036023139954, 0.3994119167327881, 0.7567853927612305, 0.38635364174842834, 0.5361313819885254, 0.3343070447444916, -0.0162707157433033, 0.18003802001476288, -0.4196437895298004, 0.14787030220031738, -0.06102662906050682, -0.3422304093837738, -0.4592599868774414, -0.0031705975998193026, 0.6304436922073364, 0.3419210910797119, -0.14375905692577362, 0.5893499851226807, -0.0485663115978241, 0.7659339308738708, -0.5536606907844543, 0.1519077718257904, -0.6741874814033508, -0.14424453675746918, 0.039194244891405106, 0.282999724149704, -0.10326223820447922, -0.09917975217103958, 0.19102071225643158, -0.6115642189979553, 0.3872123658657074, -0.125592440366745, 1.2846980094909668, 0.25425609946250916, -0.1307438313961029, -0.129721537232399, -0.4100605845451355, 0.8786409497261047, -1.2001765966415405, 0.09407202899456024, 0.5277283787727356, 0.40416446328163147, 0.1158282682299614, -1.0011992454528809, -0.6587738990783691, -0.0005961526767350733, -0.4116611182689667, 0.1755271852016449, -0.15789367258548737, -0.247979536652565, 0.21315649151802063, 0.4363076388835907, -0.7632779479026794, 0.1715013086795807, -0.5254676342010498, -0.16634352505207062, 0.9396770000457764, 0.32982444763183594, 0.24018986523151398, -0.27877524495124817, -0.11789204180240631, -0.3186708986759186, -0.47215116024017334, 0.2993035316467285, 0.13168877363204956, 0.39739763736724854, -0.3325522541999817, 0.5121538639068604, -0.46400710940361023, 0.45164066553115845, 0.20715469121932983, 0.3138974606990814, 0.5367010831832886, -0.8049910664558411, -0.34561336040496826, -0.22777169942855835, 1.0990443229675293, 0.31828486919403076, -0.10328278690576553, 0.11415616422891617, -0.3700277805328369, -0.11729899793863297, 0.22137276828289032, -0.962720513343811, -0.25014057755470276, 0.4979059398174286, -0.4641677439212799, -0.4619956910610199, 0.012949749827384949, -0.8469667434692383, -0.3457646071910858, 0.034116100519895554, 0.5396563410758972, -0.3399121165275574, -0.34502455592155457, 0.16704215109348297, -0.18421626091003418, 0.6287411451339722, 0.12661495804786682, -0.8100168704986572, 0.1471661925315857, 0.6009635925292969, 0.7484767436981201, 0.17734219133853912, -0.4202103912830353, -0.43062731623649597, -0.1423696130514145, -0.16916577517986298, 0.6112537384033203, -0.30936044454574585, -0.08813977241516113, 0.0729936808347702, 0.30350831151008606, -0.16151048243045807, -0.4171571135520935, 0.2481151670217514, -0.5713351368904114, 0.5827634334564209, -0.1246730163693428, -0.4843968152999878, -0.15843118727207184, 0.37384721636772156, -0.7040584683418274, 1.1433212757110596, 0.32183554768562317, -0.5532588362693787, 0.19570626318454742, -0.7853366732597351, -0.2943849563598633, 0.11470723897218704, -0.060872070491313934, -0.482795387506485, -0.25285714864730835, 0.3819867968559265, 0.4599815905094147, -0.21686135232448578, 0.08748910576105118, -0.20234325528144836, -0.4825403690338135, 0.14503929018974304, -0.03021480143070221, 1.1898589134216309, 0.10188967734575272, -0.533543586730957, 0.1187528520822525, -0.7027162909507751, 0.3189229965209961, 0.23086358606815338, -0.23025290668010712, 0.032099224627017975, -0.14127501845359802, 0.0755806416273117, 0.33888834714889526, 0.5615378022193909, -0.3616563081741333, 0.17412318289279938, -0.7080473303794861, 0.5315433740615845, 0.6614857912063599, -0.07679782062768936, 0.4489988386631012, -0.29214540123939514, 0.6567661166191101, -0.04085848852992058, 0.17805814743041992, 0.12851712107658386, -0.342753529548645, -1.0145745277404785, -0.19899703562259674, 0.5115700364112854, 0.678298830986023, -0.7747364044189453, 0.782216489315033, -0.1887950748205185, -0.6256904006004333, -0.9994598031044006, 0.1971636414527893, 0.3851326107978821, 0.3512178063392639, 0.5033547282218933, 0.011374820955097675, -0.8111336827278137, -1.0863063335418701, -0.04800038784742355, -0.08386977761983871, -0.18450358510017395, 0.21595624089241028, 0.7947583198547363, -0.5303372144699097, 0.8696467876434326, -0.6448079943656921, -0.4733583927154541, -0.2715787887573242, -0.1580820083618164, 0.6233552098274231, 0.6978529691696167, 0.6049299836158752, -0.7536211609840393, -0.5932199358940125, -0.19172945618629456, -0.7685440182685852, 0.33281224966049194, -0.12476196885108948, -0.36752384901046753, 0.1584262251853943, 0.36658111214637756, -0.8142654895782471, 0.4342198669910431, 0.5187675356864929, -0.6085190773010254, 0.5288820862770081, 0.05999450385570526, -0.0009842447470873594, -1.397993803024292, 0.24814380705356598, -0.061081916093826294, -0.225144162774086, -0.4062783420085907, 0.2817310094833374, -0.14554665982723236, -0.0862620398402214, -0.5510189533233643, 0.6370846033096313, -0.387962281703949, 0.08792079985141754, 0.1445263922214508, 0.07578866183757782, 0.2534087598323822, 0.5218802094459534, -0.24903759360313416, 1.1218411922454834, 0.6379141211509705, -0.5361533761024475, 0.5512204766273499, 0.5621820092201233, -0.43646445870399475, 0.15480023622512817, -0.7979003190994263, 0.1256888508796692, 0.1623762845993042, 0.15567369759082794, -0.8753356337547302, -0.19539786875247955, 0.22709214687347412, -0.7183073163032532, 0.14489585161209106, -0.13744744658470154, -0.6974584460258484, -0.4703451693058014, -0.5930103063583374, 0.28589823842048645, 0.8806716203689575, -0.3443000912666321, 0.33236515522003174, 0.3504454493522644, 0.043634846806526184, -0.5504211783409119, -0.8380514979362488, -0.013982731848955154, -0.09458582103252411, -0.6701071858406067, 0.31293293833732605, -0.10950606316328049, -0.07120390981435776, 0.16623438894748688, 0.010702387429773808, -0.3872886300086975, 0.13020150363445282, 0.09300466626882553, 0.4273000657558441, -0.45069950819015503, 0.22060011327266693, -0.12266472727060318, -0.1634756326675415, 0.011430253274738789, -0.23232993483543396, 0.5552511215209961, -0.7200886607170105, 0.018160907551646233, -0.6352592706680298, 0.3639410734176636, 0.49735593795776367, -0.34137392044067383, 0.9121484756469727, 0.8694430589675903, -0.4386451542377472, -0.050602708011865616, -0.4920823872089386, -0.3431563675403595, -0.5239921808242798, 0.4272322952747345, -0.23851878941059113, -0.8104546070098877, 0.6177961230278015, 0.3078599274158478, 0.17081665992736816, 1.1029189825057983, 0.4736572206020355, -0.4936824142932892, 1.0967004299163818, 0.6532061696052551, 0.02215716987848282, 0.387154221534729, -0.928237795829773, 0.014160013757646084, -1.0186781883239746, -0.19194437563419342, -0.5693807005882263, -0.44962432980537415, -0.7178856730461121, -0.303650826215744, 0.22795681655406952, 0.06288071721792221, -0.5231541991233826, 0.4723571836948395, -0.7827792167663574, 0.419481098651886, 0.7819129228591919, 0.10929068177938461, 0.0006058440776541829, -0.050458408892154694, 0.00008966351015260443, 0.12199468910694122, -0.7601717710494995, -0.48874548077583313, 1.0545244216918945, 0.16822868585586548, 0.3969161808490753, 0.14477680623531342, 0.9018490314483643, 0.30585548281669617, -0.12916871905326843, -0.7036574482917786, 0.5475042462348938, -0.18024273216724396, -0.904762864112854, -0.589451253414154, -0.392168790102005, -1.0766288042068481, 0.11788500845432281, -0.23830901086330414, -0.6709591150283813, 0.3664245903491974, -0.0018897730624303222, -0.6358498334884644, 0.18713706731796265, -0.7181628942489624, 1.0780389308929443, -0.12133599072694778, -0.13251999020576477, -0.09811608493328094, -0.7929641604423523, 0.24470962584018707, 0.05363832786679268, 0.14480900764465332, -0.23670750856399536, -0.03918003290891647, 0.9177457094192505, -0.6929495930671692, 0.9375177025794983, -0.08209414780139923, 0.08419542014598846, 0.38624513149261475, 0.013439719565212727, 0.5223652720451355, 0.2372160255908966, -0.36552366614341736, 0.3132164478302002, 0.4681806266307831, -0.5776816606521606, -0.49526843428611755, 0.6735591292381287, -0.914207935333252, -0.4175054132938385, -0.5448777079582214, -0.43734607100486755, -0.09182799607515335, 0.46718454360961914, 0.32674068212509155, 0.2755802869796753, 0.008301292546093464, 0.48422589898109436, 0.5010707378387451, -0.11838045716285706, 0.5333244800567627, 0.47663721442222595, -0.14869625866413116, -0.40342622995376587, 0.8720704913139343, -0.06759627163410187, 0.0764818787574768, 0.3476056456565857, 0.17440512776374817, -0.4172157645225525, -0.46960535645484924, -0.5422407984733582, 0.21300311386585236, -0.6005271673202515, -0.4806172251701355, -0.5294588208198547, -0.5572738647460938, -0.7485495209693909, -0.06265340745449066, -0.49336937069892883, -0.4179976284503937, -0.5606936812400818, -0.10148049890995026, 0.5966914296150208, 0.5019022226333618, -0.07490570098161697, 0.22654989361763, -0.795937716960907, 0.3263901174068451, 0.42147648334503174, 0.3094845116138458, -0.0901535302400589, -0.5913191437721252, -0.4175136685371399, 0.4525611698627472, -0.07272423058748245, -0.582689642906189, 0.42731595039367676, 0.19463081657886505, 0.3870004415512085, -0.03031562827527523, 0.16567103564739227, 0.6867044568061829, -0.30846625566482544, 0.944834291934967, 0.1058766320347786, -0.9149289131164551, 0.677023708820343, -0.3182072639465332, 0.45929935574531555, 1.114071011543274, 0.19564984738826752, -0.5479584336280823, -0.2048531323671341, -0.7706553339958191, -1.0388487577438354, 0.6634486317634583, 0.4346558749675751, 0.1485951542854309, 0.10923314839601517, 0.21710644662380219, -0.03219263255596161, 0.3314700126647949, -0.6118208169937134, -0.29184451699256897, -0.19738376140594482, -0.35703667998313904, -0.03060857765376568, -0.2343415915966034, -0.22475218772888184, -0.5390613675117493, 0.9396129250526428, -0.09677191078662872, 0.23889374732971191, 0.30199912190437317, -0.19524775445461273, 0.19583474099636078, 0.16115924715995789, 0.4485458731651306, 0.8284528851509094, -0.3836078941822052, -0.09912876784801483, 0.26130563020706177, -0.3949601352214813, 0.019267037510871887, 0.2486179620027542, -0.5041053295135498, 0.05090733990073204, 0.47761523723602295, 0.7079668641090393, 0.03797232359647751, -0.6087768077850342, 0.6326039433479309, -0.08534180372953415, -0.3402894139289856, -0.5145586729049683, 0.0924273356795311, 0.15132887661457062, 0.41660618782043457, 0.44305419921875, -0.12561382353305817, 0.226361945271492, -0.48327407240867615, 0.20918546617031097, 0.4702114462852478, -0.40300890803337097, -0.06799714267253876, 0.42658039927482605, 0.30111950635910034, -0.3890082538127899, 0.886233389377594, -0.36430004239082336, -0.6043176651000977, 0.9701822400093079, 0.2420043796300888, 1.069569706916809, 0.25103363394737244, 0.30106136202812195, 0.48046401143074036, 0.43301692605018616, 0.1430455893278122, 0.2827170193195343, 0.1654501110315323, -0.6286812424659729, -0.3205481171607971, -0.7667937874794006, -0.1272744983434677, 0.35246649384498596, -0.742408275604248, 0.1279921978712082, -0.45063817501068115, -0.13611312210559845, -0.037007663398981094, 0.39856091141700745, -1.088983178138733, 0.25840508937835693, -0.08690040558576584, 0.9000431895256042, -0.5349269509315491, 0.5973834991455078, 0.8326367735862732, -0.7444671988487244, -0.9277823567390442, -0.08868754655122757, -0.16734984517097473, -0.9543707370758057, 0.42266303300857544, 0.2633078396320343, -0.07240507751703262, 0.265342652797699, -0.8059437870979309, -0.981178343296051, 1.3414784669876099, 0.022476019337773323, -0.5086255073547363, -0.2814197838306427, -0.10147654265165329, 0.5149335861206055, -0.35010018944740295, 0.2434927076101303, 0.6427699327468872, 0.4874504804611206, -0.06037451699376106, -0.937601625919342, 0.36766937375068665, -0.491987407207489, -0.04147665575146675, -0.043300509452819824, -0.7431091666221619, 0.7789252996444702, -0.16622905433177948, -0.2464659959077835, 0.23672641813755035, 0.5644282698631287, 0.24264311790466309, 0.2223798781633377, 0.4135947823524475, 0.5297378301620483, 0.7971164584159851, 0.015389319509267807, 0.9569512009620667, -0.15867945551872253, 0.7653566598892212, 1.1917110681533813, -0.0917593315243721, 0.9574056267738342, 0.35431474447250366, -0.4173396825790405, 0.8203558325767517, 0.780310869216919, -0.40191909670829773, 0.4739895462989807, 0.07064555585384369, 0.047359347343444824, -0.33166441321372986, 0.0474395751953125, -0.8134698271751404, 0.43966731429100037, 0.12212209403514862, -0.2874743640422821, -0.1270948052406311, -0.3308526873588562, -0.15645264089107513, -0.11627166718244553, -0.08968068659305573, 0.8270896077156067, -0.016717730090022087, -0.37457039952278137, 0.8718096017837524, -0.143072247505188, 0.8254678845405579, -0.6628214716911316, -0.027144713327288628, -0.28234249353408813, 0.1829928457736969, -0.296821266412735, -0.8631163835525513, 0.18327245116233826, -0.13686107099056244, -0.47047701478004456, -0.1493517905473709, 0.6339681148529053, -0.39060917496681213, -0.8684724569320679, 0.10995391756296158, 0.6170021891593933, 0.17617902159690857, -0.10221341252326965, -1.0525429248809814, -0.10041660070419312, 0.043631661683321, -0.36658450961112976, 0.2606153190135956, 0.3375197947025299, 0.322547972202301, 0.5815675258636475, 0.8479481935501099, 0.022026987746357918, 0.007853206247091293, -0.029299000278115273, 0.9313699007034302, -0.8780284523963928, -0.3679558336734772, -0.8544273376464844, 0.7619313597679138, -0.3628218472003937, -0.39885833859443665, 0.7380282282829285, 0.7442548871040344, 0.876711905002594, -0.1829354614019394, 0.7350804805755615, -0.17901606857776642, 0.5204967260360718, -0.4880559742450714, 1.0764083862304688, -0.8483933806419373, 0.1140463650226593, 0.03864163160324097, -0.6497756838798523, -0.06772158294916153, 0.6909800171852112, -0.06843648105859756, 0.1524428278207779, 0.8286981582641602, 0.8609030246734619, 0.03668764978647232, -0.39213743805885315, 0.06245715543627739, 0.34042271971702576, 0.24048905074596405, 0.8028680682182312, 0.7042282223701477, -0.8534748554229736, 0.7082059383392334, -0.48053139448165894, -0.018280642107129097, -0.27662622928619385, -0.6793470978736877, -0.8497434854507446, -0.5655622482299805, -0.36600247025489807, -0.7111685872077942, -0.072201669216156, 0.8698716759681702, 0.8914156556129456, -0.9921650290489197, -0.2067694067955017, -0.0017741493647918105, 0.28822919726371765, -0.33856308460235596, -0.35136187076568604, 0.5653401017189026, -0.3064503073692322, -0.6170905828475952, 0.45861873030662537, -0.11088791489601135, 0.009466510266065598, -0.3053935468196869, -0.00483321025967598, -0.6371775269508362, -0.14349865913391113, 0.45709171891212463, 0.35575777292251587, -0.6749139428138733, -0.056571319699287415, 0.07533024251461029, -0.3356538712978363, -0.03500640392303467, 0.37626057863235474, -0.9318510293960571, 0.17351466417312622, 0.5837715268135071, 0.7074272632598877, 0.5096142292022705, -0.13529172539710999, 0.5027161240577698, -0.7131476998329163, 0.1454378068447113, 0.4917289614677429, 0.228412464261055, 0.24474503099918365, -0.6222152709960938, 0.7637913227081299, 0.14724431931972504, -0.45049411058425903, -0.9749806523323059, -0.04597773775458336, -0.8632575869560242, -0.3046180307865143, 1.2640581130981445, 0.03802542760968208, -0.21641825139522552, 0.16210366785526276, -0.11244089901447296, 0.1929725706577301, -0.5095378160476685, 0.6535417437553406, 0.6530073285102844, 0.13022452592849731, 0.017298607155680656, -0.6413710117340088, 0.6033802628517151, 0.4625051021575928, -0.9015339612960815, -0.19177941977977753, 0.38486626744270325, 0.2814858853816986, 0.15941371023654938, 0.6129624247550964, 0.2029174119234085, 0.42420825362205505, -0.11158200353384018, 0.1697148233652115, -0.18685980141162872, -0.06016867980360985, -0.43183737993240356, -0.05777037516236305, -0.27311185002326965, -0.47421714663505554 ]
sasha/regardv3
sasha
2022-08-17T18:03:37Z
14,632
1
transformers
[ "transformers", "pytorch", "bert", "text-classification", "license:cc-by-4.0", "endpoints_compatible", "has_space", "region:us" ]
text-classification
2022-08-17T16:58:42Z
--- license: cc-by-4.0 --- # BERT Regard classification model This model is the result of a project entitled [Towards Controllable Biases in Language Generation](https://github.com/ewsheng/controllable-nlg-biases). It consists of a BERT classifier (no ensemble) trained on 1.7K samples of biased language. *Regard* measures language polarity towards and social perceptions of a demographic (compared to sentiment, which only measures overall language polarity). ### BibTeX entry and citation info ```bibtex @article{sheng2019woman, title={The woman worked as a babysitter: On biases in language generation}, author={Sheng, Emily and Chang, Kai-Wei and Natarajan, Premkumar and Peng, Nanyun}, journal={arXiv preprint arXiv:1909.01326}, year={2019} } ```
[ -0.26400965452194214, -0.3519503176212311, 0.1356254518032074, 0.22425352036952972, -0.1539076864719391, -0.37692055106163025, -0.1739485114812851, -0.5426256060600281, -0.005707490723580122, 0.41656777262687683, -0.5948067903518677, -0.480552077293396, -0.6738303899765015, -0.3240187466144562, -0.4331812262535095, 1.3866705894470215, 0.38907405734062195, 0.5882692337036133, -0.15284179151058197, 0.18495529890060425, -0.03300666809082031, -0.759651780128479, -0.6823492646217346, -0.49799513816833496, 0.5031533241271973, 0.24840377271175385, 0.392911821603775, 0.26522815227508545, 0.2604129910469055, 0.16186092793941498, -0.4359133839607239, -0.504923403263092, -0.45770442485809326, 0.026749396696686745, -0.11901123076677322, -0.5375359058380127, -0.44813409447669983, 0.4442254602909088, 0.47375038266181946, 0.8374718427658081, -0.14516152441501617, 0.2949310839176178, 0.245303213596344, 0.5831241011619568, -0.4117130637168884, 0.40965354442596436, -0.6209437251091003, 0.003955378197133541, -0.19879333674907684, 0.31133487820625305, -0.7216386198997498, -0.6358488202095032, 0.4001605808734894, -0.06477616727352142, 0.6882072687149048, -0.11362669616937637, 1.0300992727279663, 0.1448947638273239, -0.463226318359375, -0.24779611825942993, -0.4935751259326935, 1.176618218421936, -0.9790350198745728, 0.31487271189689636, 0.3966973125934601, 0.015395297668874264, -0.07103271037340164, -0.43763846158981323, -0.6743640303611755, -0.1332312822341919, 0.12997692823410034, 0.04128909111022949, 0.1807820200920105, 0.11361658573150635, 0.1469004899263382, 0.2621345818042755, -0.3469618856906891, -0.09242238104343414, -0.35219842195510864, -0.1223469153046608, 0.40073543787002563, -0.30150651931762695, 0.152874156832695, -0.5858882665634155, -0.5001528263092041, -0.2318611890077591, -0.4217125475406647, 0.3350139558315277, 0.4059596359729767, 0.26824942231178284, -0.2702469825744629, 0.4676670730113983, -0.12175016850233078, 0.8263916373252869, 0.17354755103588104, 0.12557487189769745, 0.4377959668636322, -0.1604980081319809, -0.13452693819999695, -0.04583800211548805, 0.6110594272613525, 0.2752015292644501, 0.46283310651779175, 0.045526646077632904, -0.1147492378950119, 0.13892853260040283, 0.5361372828483582, -0.6446916460990906, -0.3445450961589813, 0.04004953056573868, -0.6908692121505737, -0.7543280124664307, 0.14319393038749695, -0.6340102553367615, -0.24028171598911285, -0.23225818574428558, -0.05236459895968437, -0.43604573607444763, -0.3448216915130615, -0.25768807530403137, -0.051608216017484665, 0.6568530201911926, 0.31068679690361023, -0.97292160987854, -0.18361657857894897, 0.6199360489845276, 0.5504410862922668, 0.07385361194610596, -0.08775317668914795, -0.10912305861711502, -0.20365841686725616, -0.3587191104888916, 0.5753639936447144, -0.4486134946346283, -0.28170785307884216, 0.23565292358398438, 0.010169711895287037, -0.01888914406299591, -0.44040724635124207, 0.9432981014251709, -0.6843637228012085, 0.43754521012306213, -0.38749414682388306, -0.5623069405555725, -0.27033162117004395, 0.2380058765411377, -0.43855559825897217, 0.7690463066101074, 0.20204412937164307, -0.9437783360481262, 0.8162832260131836, -0.5714803338050842, -0.28909051418304443, 0.04145565256476402, -0.07142630964517593, -0.43042871356010437, 0.06840435415506363, -0.2521350383758545, 0.4724659025669098, -0.16070733964443207, 0.6566990613937378, -0.3181677758693695, 0.10912267118692398, 0.26846349239349365, -0.04812530428171158, 1.3817778825759888, 0.31458237767219543, -0.3408546447753906, 0.06682107597589493, -0.6534879803657532, -0.11491038650274277, 0.02848672866821289, -0.6107394695281982, -0.7066245079040527, 0.3216261863708496, 0.30813315510749817, 0.3881244361400604, 0.48543697595596313, -0.7489949464797974, 0.27447688579559326, -0.1845472753047943, 0.16889336705207825, 0.8674603700637817, -0.29216787219047546, 0.34557485580444336, -0.3880598843097687, 0.2086087465286255, 0.11118379235267639, 0.46241438388824463, 0.2539341151714325, -0.7966616153717041, -1.045068383216858, -0.12268763035535812, 0.6633875966072083, 0.3063378632068634, -0.6388943195343018, 0.8500011563301086, 0.1257404088973999, -0.48786821961402893, -0.5653187036514282, 0.03466044366359711, 0.562170684337616, 0.6170569658279419, 0.06122390925884247, -0.4205697774887085, -0.5419586300849915, -1.0697438716888428, 0.1586545705795288, -0.5342532396316528, -0.11288665235042572, 0.3168153166770935, 0.28573092818260193, -0.2821711003780365, 0.9237114191055298, -0.34058237075805664, -0.2051568180322647, 0.02948537841439247, 0.5054659247398376, 0.32138997316360474, 0.6634644269943237, 0.7657456994056702, -0.834253191947937, -0.4099080562591553, -0.3107801377773285, -0.8109493851661682, -0.3212428390979767, 0.3736669421195984, -0.427683562040329, 0.340171217918396, 0.2052200883626938, -0.2468634992837906, 0.15629184246063232, 0.597234308719635, -0.6418213248252869, 0.6370656490325928, 0.24776753783226013, -0.23611055314540863, -1.0897274017333984, 0.019295265898108482, 0.19766108691692352, -0.22251518070697784, -0.6961509585380554, 0.06707210093736649, 0.17079120874404907, 0.3289429545402527, -0.46249908208847046, 0.20616647601127625, -0.2427656203508377, 0.17229248583316803, -0.22497127950191498, -0.2617051303386688, -0.2483380287885666, 0.5909922122955322, 0.2583874762058258, 0.452777624130249, 0.5490613579750061, -0.672895610332489, 0.14169293642044067, 0.4245607852935791, -0.2652151584625244, 0.5233409404754639, -0.6706487536430359, 0.1580580323934555, -0.12139075249433517, -0.022227389737963676, -1.0368280410766602, -0.09995487332344055, 0.0999535545706749, -0.7203516364097595, 0.33805346488952637, -0.12589114904403687, -0.5068069696426392, -0.43715429306030273, -0.331884503364563, 0.26964616775512695, 0.6870135068893433, -0.5819917321205139, 0.24216708540916443, 0.6817460060119629, -0.39385122060775757, -0.458707720041275, -0.7100205421447754, -0.5554593801498413, 0.12161441147327423, -0.4596233367919922, 0.004432758782058954, -0.1823967546224594, -0.31915974617004395, 0.0623219795525074, 0.21116161346435547, -0.3236716687679291, -0.22867703437805176, 0.05901556462049484, 0.5661313533782959, -0.018687954172492027, 0.20107845962047577, 0.27967748045921326, 0.07563740015029907, 0.266600102186203, 0.032853174954652786, 0.7886704802513123, -0.003760881256312132, -0.15671467781066895, -0.04967475309967995, 0.18665942549705505, 0.5661890506744385, -0.00019311203504912555, 0.9612975716590881, 0.5660354495048523, -0.406279593706131, -0.23578879237174988, -0.6308827996253967, -0.2210085690021515, -0.39296409487724304, 0.1870245337486267, 0.004912673030048609, -0.7097396850585938, 0.5144097805023193, 0.33865609765052795, 0.15131473541259766, 0.5309322476387024, 0.6904614567756653, -0.05474402755498886, 1.0230334997177124, 0.9357335567474365, -0.531489908695221, 0.8387911915779114, -0.14123211801052094, 0.044703081250190735, -0.9312641024589539, -0.20491111278533936, -0.7106674909591675, -0.13206234574317932, -0.7702177166938782, -0.3086780309677124, 0.23666591942310333, 0.14413239061832428, -0.3752188980579376, 0.2384917140007019, -0.8130604028701782, 0.05695993825793266, 0.9097927212715149, 0.24431146681308746, 0.07874129712581635, -0.277408629655838, -0.17580443620681763, -0.18439865112304688, -0.774499773979187, -0.7545679211616516, 1.189159631729126, 0.5054106116294861, 0.6170850992202759, 0.23041437566280365, 0.8499234318733215, 0.3382948935031891, 0.826539158821106, -0.7370569705963135, 0.488247811794281, -0.39136549830436707, -1.2608850002288818, -0.18142761290073395, -0.3605005741119385, -0.8256543278694153, 0.16449633240699768, 0.02900663949549198, -0.6134920120239258, 0.4952943027019501, 0.21193096041679382, -0.05937136709690094, 0.1629541963338852, -0.8296694159507751, 0.7736575603485107, -0.10838472843170166, -0.24407410621643066, -0.15785197913646698, -0.6512181758880615, 0.7309637665748596, -0.10308787971735, 0.19295983016490936, -0.043423429131507874, 0.4502551853656769, 1.0980119705200195, -0.26832205057144165, 1.2041196823120117, -0.6643614172935486, -0.17372198402881622, 0.2558304965496063, -0.1397474706172943, 0.32430779933929443, -0.13324487209320068, -0.2823008596897125, 0.465080589056015, -0.08978245407342911, -0.6202399134635925, 0.23800118267536163, 0.6755436658859253, -0.9030500054359436, -0.13172070682048798, -0.7016474604606628, -0.6088051199913025, -0.06690685451030731, 0.46628203988075256, 0.37933969497680664, 0.05271581560373306, -0.324728786945343, 0.34252312779426575, 0.8102632164955139, -0.5080013275146484, 0.34123483300209045, 0.5487967729568481, -0.2849925756454468, -0.028785036876797676, 0.5336782336235046, 0.08270655572414398, 0.24471406638622284, 0.1786518692970276, 0.12874414026737213, -0.1788264960050583, -0.07172247767448425, -0.18289713561534882, 0.28053000569343567, -0.40953898429870605, -0.10879424959421158, -0.4386364817619324, -0.4893413186073303, -0.62153160572052, -0.03170831501483917, -0.32864657044410706, -0.15891610085964203, -0.29902541637420654, 0.04151808097958565, 0.01138550415635109, 0.9683714509010315, -0.014969409443438053, 0.3688357472419739, -0.4569441080093384, 0.23870030045509338, 0.6020455360412598, 0.4725271463394165, 0.23227275907993317, -0.5456590056419373, -0.36437734961509705, 0.05662424489855766, -0.6124817132949829, -0.8301683068275452, 0.605070948600769, -0.16027119755744934, 0.729680061340332, 0.7905886769294739, 0.10147128254175186, -0.06894170492887497, -0.24098257720470428, 1.0855679512023926, 0.31670042872428894, -1.0493632555007935, 0.4976918697357178, -0.6167341470718384, 0.061989400535821915, 0.2719212472438812, 0.26237666606903076, -0.34373390674591064, -0.423595666885376, -0.8947798013687134, -1.0335818529129028, 1.128299593925476, 0.17770442366600037, -0.06859958171844482, -0.16451969742774963, 0.23057803511619568, 0.19599907100200653, 0.5936752557754517, -1.2750672101974487, -0.38503533601760864, -0.24119751155376434, -0.2876955270767212, -0.04195622727274895, -0.7157061696052551, -0.11273784190416336, -0.3455575704574585, 0.8934860825538635, 0.08291245251893997, 0.684273898601532, 0.055504120886325836, 0.06488799303770065, -0.29133281111717224, 0.3417282998561859, 0.5009610652923584, 0.3629430830478668, -0.6003009080886841, 0.16261740028858185, -0.11492564529180527, -0.4111085832118988, -0.06593197584152222, 0.20431211590766907, -0.4742219150066376, 0.037981241941452026, 0.4252898395061493, 0.7207275032997131, -0.05338826775550842, -0.3396204710006714, 0.5213707089424133, 0.05507981404662132, -0.2880861163139343, -0.5020777583122253, 0.1447986513376236, -0.039364010095596313, 0.23301199078559875, 0.32584166526794434, 0.15288501977920532, 0.18755970895290375, -0.4688437879085541, 0.12260480225086212, 0.5675054788589478, -0.4558391869068146, -0.3609824478626251, 0.718279242515564, 0.23098504543304443, -0.11136627942323685, 0.4933565855026245, -0.5277236700057983, -0.7301586270332336, 0.6476637721061707, 0.391699880361557, 1.0973366498947144, -0.456612765789032, 0.2875693440437317, 0.33372506499290466, 0.38695457577705383, 0.07447311282157898, 0.5042518973350525, -0.137306809425354, -1.2975677251815796, -0.26873770356178284, -0.8709230422973633, -0.5827118158340454, 0.2840341329574585, -0.9318525195121765, 0.04693786799907684, -0.3724246323108673, -0.3086388409137726, 0.20766295492649078, -0.21777430176734924, -0.713408350944519, 0.19710290431976318, 0.328830748796463, 0.8424885869026184, -1.0628350973129272, 1.2078434228897095, 0.9286946058273315, -0.3545781373977661, -0.6380641460418701, 0.29747653007507324, -0.31715792417526245, -0.6746714115142822, 0.8704606890678406, 0.050201166421175, 0.046443212777376175, -0.16699135303497314, -0.9689453840255737, -0.685843825340271, 0.6485625505447388, 0.07243740558624268, -0.6047655940055847, -0.022179126739501953, -0.22074759006500244, 0.8235093951225281, -0.30779513716697693, 0.016727665439248085, 0.3689131736755371, 0.4982192814350128, -0.20067138969898224, -0.8982251286506653, -0.45928671956062317, -0.4392738342285156, 0.26126769185066223, -0.013527777045965195, -0.817247748374939, 1.1253284215927124, 0.00650180084630847, 0.31311553716659546, -0.05562613159418106, 0.43669891357421875, 0.2859728932380676, 0.33131280541419983, 0.7667022347450256, 0.46164801716804504, 0.4779854714870453, -0.3163492679595947, 0.9365426898002625, -0.5312530398368835, 0.7016972303390503, 0.9110650420188904, -0.1958889663219452, 0.741827130317688, 0.5402176976203918, -0.40413719415664673, 0.5845341682434082, 0.6120225787162781, 0.1978360116481781, 0.7788618206977844, 0.13097110390663147, -0.15844087302684784, -0.1092139482498169, -0.28683266043663025, -0.3518615663051605, 0.26083633303642273, 0.36167439818382263, -0.7542637586593628, 0.031579259783029556, -0.03480827063322067, 0.06256342679262161, -0.11622442305088043, -0.20215092599391937, 0.7196635603904724, 0.07747462391853333, -0.7298838496208191, 0.4591463804244995, -0.014829404652118683, 0.979728102684021, -0.5916351079940796, 0.018928345292806625, 0.05738639459013939, 0.35995981097221375, -0.17301082611083984, -0.694585382938385, 0.19543854892253876, 0.15486253798007965, -0.8084450364112854, -0.2408180981874466, 0.7144957780838013, -0.4714370369911194, -0.595047652721405, 0.5004017353057861, 0.40660133957862854, 0.15593166649341583, 0.2730761468410492, -0.7248951196670532, -0.29634276032447815, 0.3819408118724823, -0.5220460295677185, 0.1339912861585617, 0.32473546266555786, -0.03999929502606392, 0.48031529784202576, 0.5559718012809753, 0.2746107578277588, 0.3686940670013428, 0.2715766727924347, 0.8883626461029053, -0.7224353551864624, -0.5251896977424622, -0.492935448884964, 0.42918339371681213, -0.0727284625172615, -0.3968331515789032, 0.692592978477478, 0.4300577640533447, 1.0516672134399414, -0.4564855694770813, 1.122637152671814, -0.5411887168884277, 0.9671319723129272, -0.10873332619667053, 0.7079666256904602, -0.3838851749897003, -0.04862929880619049, -0.5690443515777588, -0.7818453907966614, -0.19603368639945984, 1.2061771154403687, -0.5879199504852295, 0.29877352714538574, 0.39251938462257385, 0.6392909288406372, 0.07800599187612534, -0.0633065477013588, 0.3133793771266937, 0.3761252164840698, 0.26163366436958313, 0.2732279598712921, 0.616883397102356, -0.17425471544265747, 0.10903511941432953, -0.46462100744247437, -0.681907057762146, -0.39889228343963623, -0.7306367754936218, -0.9357238411903381, -0.578681468963623, -0.18321126699447632, -0.5283331274986267, -0.2683536410331726, 1.018735408782959, 1.020776391029358, -1.4116915464401245, -0.35182496905326843, -0.40299689769744873, 0.1173718273639679, -0.20007990300655365, -0.37447845935821533, 0.11859358847141266, -0.37682148814201355, -1.066618800163269, -0.10581571608781815, -0.22509470582008362, -0.1072518527507782, -0.4690432846546173, -0.18097589910030365, -0.49473556876182556, 0.06530838459730148, 0.6100268363952637, -0.029262270778417587, -0.5945515632629395, -0.25462982058525085, -0.11085473746061325, -0.47602319717407227, -0.054747968912124634, 0.5801460146903992, -0.33564549684524536, 0.6789035201072693, 0.5280419588088989, 0.025001633912324905, 0.3777121603488922, 0.020102502778172493, 0.5239841938018799, -0.9200630784034729, 0.23880678415298462, 0.274326890707016, 0.524152934551239, 0.3332335650920868, -0.49469345808029175, 0.44267037510871887, 0.2822558581829071, -0.8573017716407776, -0.6644777655601501, 0.3619726598262787, -1.1854687929153442, -0.09267738461494446, 1.1580229997634888, -0.12750639021396637, -0.24622562527656555, -0.043250687420368195, -0.3483307659626007, 0.8029206991195679, -0.8732600212097168, 1.1893398761749268, 0.8668365478515625, -0.11589653044939041, -0.19440138339996338, -0.5601696968078613, 0.3782442808151245, 0.5085936188697815, -0.4664537012577057, -0.15435464680194855, 0.39435988664627075, 0.2428542822599411, 0.609926700592041, 0.49679407477378845, -0.16166840493679047, 0.14383038878440857, -0.18469305336475372, 1.065171241760254, 0.39913034439086914, -0.1418825089931488, -0.3893468379974365, 0.11313496530056, 0.47974222898483276, -0.3957462012767792 ]
microsoft/bloom-deepspeed-inference-fp16
microsoft
2022-10-11T18:28:26Z
14,586
10
transformers
[ "transformers", "bloom", "feature-extraction", "license:bigscience-bloom-rail-1.0", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
feature-extraction
2022-08-17T21:01:05Z
--- license: bigscience-bloom-rail-1.0 --- This is a copy of the original [BLOOM weights](https://huggingface.co/bigscience/bloom) that is more efficient to use with the [DeepSpeed-MII](https://github.com/microsoft/deepspeed-mii) and [DeepSpeed-Inference](https://www.deepspeed.ai/tutorials/inference-tutorial/). In this repo the original tensors are split into 8 shards to target 8 GPUs, this allows the user to run the model with DeepSpeed-inference Tensor Parallelism. For specific details about the BLOOM model itself, please see the [original BLOOM model card](https://huggingface.co/bigscience/bloom). For examples on using this repo please see the following: * https://github.com/huggingface/transformers-bloom-inference * https://github.com/microsoft/DeepSpeed-MII
[ -0.2604297995567322, -0.44273319840431213, 0.4754297137260437, 0.6266844868659973, -0.02326955460011959, -0.03817514702677727, -0.07794792950153351, -0.2967986762523651, 0.2680637538433075, 0.2965185046195984, -0.9022743105888367, -0.09676402807235718, -0.3612743616104126, -0.26060959696769714, -0.3191903531551361, 1.0175060033798218, -0.10326529294252396, 0.48290184140205383, -0.21687957644462585, -0.014473178423941135, -0.28919556736946106, 0.16236837208271027, -0.5477670431137085, -0.7046663761138916, 0.6078305840492249, 0.3831257224082947, 0.7595579624176025, 0.4763668179512024, 1.0966838598251343, 0.3080149292945862, -0.2654690444469452, -0.2214479297399521, -0.6765342354774475, -0.23633645474910736, 0.03925366327166557, -0.3747086226940155, -0.4308694005012512, 0.030421804636716843, 0.7849710583686829, 0.38322246074676514, -0.24747692048549652, 0.2763602137565613, -0.14594310522079468, 0.705247163772583, -1.003434181213379, -0.08464482426643372, -0.29012882709503174, 0.32271808385849, -0.2382252961397171, 0.2582201063632965, -0.33215275406837463, 0.27971401810646057, -0.13624919950962067, -0.8854771256446838, 0.680260419845581, -0.10566581040620804, 1.0373821258544922, 0.1621326059103012, 0.07384723424911499, 0.10607386380434036, -0.9890897274017334, 0.8593923449516296, -0.5381128787994385, 0.3482005000114441, -0.15487432479858398, 0.7458288669586182, 0.27483826875686646, -1.0964360237121582, -0.4185856878757477, 0.19924873113632202, 0.08807174116373062, 0.43373745679855347, -0.21713264286518097, 0.03983432799577713, 0.4124109148979187, 1.1919277906417847, -0.5818705558776855, -0.06839137524366379, -0.4765823185443878, 0.04140328988432884, 0.6121368408203125, 0.04556196182966232, 0.1978771686553955, 0.07956764101982117, -0.9025914072990417, -0.5572577714920044, -0.5595515370368958, -0.6339219212532043, 0.090818390250206, 0.21619121730327606, -0.3928712010383606, 0.2928520441055298, 0.0016754023963585496, 0.5366227626800537, -0.015958532691001892, 0.007030128501355648, 0.604065477848053, -0.09741224348545074, -0.4395430088043213, -0.3510437607765198, 0.525530219078064, 0.5214356780052185, 0.08018083870410919, -0.3699423670768738, -0.13788443803787231, -0.0016463141655549407, 0.49892452359199524, -1.2016263008117676, -0.370431125164032, 0.14617665112018585, -0.5041464567184448, -0.2623909115791321, 0.2148883044719696, -0.9338932037353516, 0.005712563171982765, -0.22620443999767303, 0.5419001579284668, -0.6143328547477722, -0.3152730464935303, 0.1703057885169983, -0.594554603099823, 0.2883142828941345, 0.2196599692106247, -0.7102113962173462, 0.4063504636287689, 1.0288110971450806, 1.2838642597198486, -0.2842843234539032, -0.5843382477760315, -0.24818108975887299, 0.13546808063983917, 0.053090035915374756, 0.5087594389915466, -0.11653885990381241, -0.6193968057632446, -0.19881388545036316, 0.03165404126048088, -0.01124087255448103, -0.4013049602508545, 0.8815741539001465, -0.845341682434082, -0.20138227939605713, -0.5951906442642212, -0.7315056920051575, -0.16666868329048157, 0.13583171367645264, -0.8206326365470886, 0.8392542600631714, 0.4332388639450073, -0.7263846397399902, 0.5961278676986694, -0.8665494918823242, -0.12256605178117752, 0.425838828086853, 0.13336704671382904, -0.6378650665283203, 0.29509732127189636, 0.04847050458192825, -0.07943970710039139, -0.022402634844183922, -0.392045259475708, -0.617539644241333, -0.4310338497161865, -0.35784170031547546, -0.2931261360645294, 0.6894512176513672, 0.8265762329101562, -0.23764769732952118, 0.17900806665420532, -0.6745728850364685, -0.1068454384803772, 0.28794294595718384, -0.08662985265254974, -0.0022619995288550854, -0.1702524870634079, 0.3275454342365265, -0.3591993749141693, 0.14020954072475433, -0.7503600716590881, 0.16640380024909973, -0.08664581924676895, 0.4845551550388336, 0.601162850856781, -0.0712951272726059, 0.5149219632148743, -0.5077196359634399, 0.332646906375885, 0.12467160075902939, 0.4167619049549103, -0.2192360758781433, -0.6072767972946167, -0.5022982954978943, -0.8638851046562195, 0.10660718381404877, 0.24283617734909058, -0.39460572600364685, -0.07435161620378494, -0.46358081698417664, -0.8257158398628235, -0.36709728837013245, 0.04225839674472809, 0.2527922987937927, 0.14487415552139282, 0.5603265762329102, -0.28695040941238403, -0.5269345641136169, -0.6857331991195679, -0.1997748762369156, 0.16191227734088898, 0.11917492002248764, 0.34053969383239746, 0.6264281868934631, -0.27826789021492004, 0.8649458289146423, -0.9131516814231873, -0.06015681475400925, 0.1706666499376297, 0.15165957808494568, 0.3652859628200531, 0.8899327516555786, 0.8700995445251465, -0.7543540596961975, -0.34564656019210815, -0.26618924736976624, -0.4094005525112152, 0.1014401838183403, 0.08605465292930603, -0.5494021773338318, -0.5499162077903748, 0.15855169296264648, -0.8784184455871582, 0.32005083560943604, 0.4992762506008148, -0.4573661684989929, 0.6050110459327698, -0.3229755759239197, 0.3082396388053894, -1.1483376026153564, 0.16087181866168976, 0.07594652473926544, -0.35140031576156616, -0.40110957622528076, 0.8931988477706909, 0.1273236870765686, -0.10111509263515472, -0.4013861417770386, 0.5642134547233582, -0.5233330130577087, -0.2462894171476364, -0.35917648673057556, -0.5738356709480286, 0.1438545286655426, 0.16902467608451843, -0.16665087640285492, 1.3524556159973145, 0.4449784755706787, -0.4021342992782593, 0.2534354329109192, 0.33693718910217285, -0.33593273162841797, 0.4161193072795868, -0.9662156701087952, 0.04337618872523308, -0.19722619652748108, -0.021546436473727226, -0.8074825406074524, -0.13984204828739166, -0.04716787859797478, -0.23447757959365845, 0.48228898644447327, -0.15256209671497345, -0.38795122504234314, -0.5782772898674011, -0.28689348697662354, 0.6334070563316345, 0.8804293274879456, -0.7863083481788635, 0.4880223274230957, 0.3015255033969879, 0.5633367300033569, -0.36089542508125305, -1.2319867610931396, -0.22422216832637787, -0.3178598880767822, -0.388215571641922, 0.860977053642273, -0.11502327024936676, -0.2365746945142746, -0.08687973022460938, 0.2944645881652832, 0.03775496408343315, 0.13248378038406372, 0.41330304741859436, 0.2092176377773285, -0.6082442998886108, 0.03779564052820206, -0.2268872708082199, -0.1330045610666275, -0.11048193275928497, -0.3775458335876465, 0.5709859132766724, -0.19499336183071136, -0.5470250844955444, -0.4701904058456421, 0.4204205274581909, 0.7386876344680786, -0.05120692029595375, 0.8209786415100098, 1.097354531288147, -0.37671107053756714, 0.0503462590277195, -0.7360405921936035, -0.4881025552749634, -0.5127950310707092, 0.20984968543052673, -0.432585746049881, -0.6908594369888306, 0.3476075232028961, 0.018188035115599632, 0.1308630108833313, 0.8731553554534912, 0.5884362459182739, 0.09740092605352402, 0.7545720934867859, 0.5857637524604797, -0.5490608811378479, 0.6015724539756775, -0.6614962816238403, -0.2143956869840622, -0.9072107672691345, 0.13931040465831757, -0.35699978470802307, -0.6920674443244934, -0.0625561997294426, -0.7436848282814026, 0.014935817569494247, 0.39593443274497986, -0.6109437346458435, 0.5365517139434814, -0.5479079484939575, 0.30197492241859436, 0.8884565830230713, 0.3500610888004303, 0.23603837192058563, 0.5015331506729126, 0.19152523577213287, -0.10239068418741226, -0.6062045097351074, -0.15065321326255798, 0.8034721612930298, 0.3492903411388397, 0.659209668636322, 0.22453773021697998, 0.46802371740341187, 0.48743292689323425, 0.8321089148521423, -0.4825381934642792, 0.05295731499791145, -0.16464677453041077, -0.9074509739875793, 0.12605562806129456, -0.6779380440711975, -0.7809407114982605, 0.1432095766067505, -0.5038222670555115, -0.6743016839027405, 0.07769332826137543, 0.3538017272949219, -0.5016783475875854, 0.759183943271637, -0.927680492401123, 1.0311753749847412, 0.17460009455680847, -0.44665271043777466, -0.5240214467048645, -0.05693402513861656, 0.35976389050483704, 0.4714711606502533, -0.07874492555856705, -0.20455989241600037, 0.13716822862625122, 0.6102524399757385, -0.7889082431793213, 0.746381402015686, -0.299903929233551, 0.37714099884033203, 0.7438321709632874, -0.24764133989810944, 0.3693709969520569, 0.10984471440315247, -0.143038809299469, 0.37584224343299866, -0.044993381947278976, -0.5423720479011536, -0.3558574318885803, 0.8722557425498962, -0.9935158491134644, -0.17254644632339478, -0.15077811479568481, -0.6259934902191162, 0.14657370746135712, 0.4146832823753357, 0.33720651268959045, 0.3243942856788635, -0.24449627101421356, 0.08501449972391129, 0.35204118490219116, 0.29407915472984314, 0.49532681703567505, 0.4015660881996155, -0.34430381655693054, -0.6384932398796082, 0.7626469731330872, -0.26048746705055237, 0.21229714155197144, 0.6043849587440491, 0.35242608189582825, 0.03865129128098488, -0.6414117217063904, -0.5797467827796936, 0.5219594836235046, -0.23645979166030884, -0.3584502339363098, -0.44321420788764954, -0.24822653830051422, -0.6413697004318237, -0.1603560596704483, -0.43533211946487427, -0.08444800227880478, -0.4773856997489929, -0.05347689241170883, 0.9192387461662292, 0.4778748154640198, -0.30377665162086487, 0.9592954516410828, -0.9112476706504822, 0.06978320330381393, 0.3233935236930847, 0.3421437740325928, 0.19966663420200348, -0.5090429186820984, -0.156852126121521, 0.07343245297670364, -0.5519191026687622, -0.7914966940879822, 0.3214595913887024, 0.26993873715400696, 0.3610316216945648, 0.730774998664856, -0.4392065405845642, 1.0387643575668335, -0.680770754814148, 0.6499500274658203, 0.4281257092952728, -0.6037390232086182, 0.08631221204996109, -0.28326138854026794, 0.4527430534362793, 0.8339112997055054, 0.3512861132621765, -0.31664592027664185, 0.07175587117671967, -0.796126127243042, -0.753844678401947, 0.5545043349266052, 0.4110475480556488, 0.08933885395526886, 0.09914489090442657, 0.6661456823348999, -0.04294517636299133, 0.04823123291134834, -0.4060731828212738, -0.3880468010902405, -0.0690927803516388, -0.3430168330669403, -0.33454596996307373, -0.7891720533370972, -0.1348768174648285, -0.12012317031621933, 0.8484308123588562, -0.11397331953048706, 0.4157024025917053, 0.5250535607337952, -0.1708313524723053, -0.22629837691783905, -0.45230773091316223, 0.4263424277305603, 0.337083101272583, -0.4492760896682739, -0.14694629609584808, 0.20568761229515076, -0.8975590467453003, -0.4122723639011383, 0.11535961925983429, -0.3803761303424835, -0.12436117976903915, 0.4060901999473572, 1.06464421749115, 0.3141877055168152, -0.40578025579452515, 0.6723548173904419, 0.08326549082994461, -0.13767816126346588, -0.35648205876350403, 0.09043674170970917, 0.08563346415758133, 0.5132066011428833, 0.1802995651960373, 0.4081903398036957, 0.43345364928245544, -0.27249860763549805, 0.576907217502594, 0.6201435327529907, -0.6461507081985474, -0.3945769965648651, 0.8814780712127686, 0.15003395080566406, -0.4920452833175659, 0.719734251499176, -0.2826158106327057, -0.1519457995891571, 0.4179985821247101, 0.47233182191848755, 0.9103747606277466, -0.031552620232105255, 0.1443680375814438, 0.7377428412437439, 0.06444735080003738, -0.12775258719921112, 0.3991582989692688, -0.5186748504638672, -0.7545104622840881, -0.8029033541679382, -0.9402720332145691, -0.2789132595062256, -0.12907075881958008, -0.817072868347168, 0.3021756410598755, -0.55265873670578, -0.38511332869529724, 0.15097679197788239, -0.1738055795431137, -0.6792515516281128, 0.16743896901607513, 0.5271766781806946, 1.399180293083191, -0.836255669593811, 0.4155871272087097, 0.5592418313026428, -0.27709949016571045, -0.6448953747749329, -0.41648921370506287, -0.013815609738230705, -1.1067321300506592, 0.23614518344402313, 0.15984606742858887, 0.19922539591789246, -0.05670012906193733, -0.3430226743221283, -0.9745528101921082, 1.3075684309005737, 0.3489692509174347, -0.42351335287094116, -0.07771070301532745, -0.06223329156637192, 0.38249409198760986, -0.09091746807098389, 0.8025188446044922, 0.36844292283058167, 0.2236146777868271, 0.645734429359436, -0.42957282066345215, -0.18475474417209625, -0.19577515125274658, 0.19504232704639435, 0.14116249978542328, -1.0187159776687622, 1.1063247919082642, -0.12191149592399597, -0.07044012099504471, 0.38794752955436707, 1.2114884853363037, 0.2551650404930115, 0.15089990198612213, 0.6707718372344971, 1.309430480003357, 0.2949717044830322, -0.28792428970336914, 1.1262743473052979, -0.6149649024009705, 0.9462530612945557, 1.096209168434143, -0.16435500979423523, 0.7299409508705139, 0.5266119241714478, -0.6221355199813843, 0.52629554271698, 0.5013229846954346, -0.38719820976257324, 0.3434152901172638, 0.05711055546998978, -0.34957367181777954, -0.11329097300767899, 0.2719992399215698, -0.6073031425476074, 0.10108360648155212, 0.03633837401866913, -0.46701666712760925, -0.5123124122619629, -0.19880487024784088, 0.06564148515462875, -0.378503680229187, -0.48350074887275696, 0.4571327567100525, -0.07457210123538971, -0.6599439978599548, 0.05220938101410866, -0.06941875070333481, 0.833646833896637, -0.7598063349723816, 0.036714211106300354, -0.012005284428596497, 0.6494171619415283, -0.21549294888973236, -0.8118813633918762, 0.5535720586776733, -0.1240951269865036, -0.44872191548347473, -0.3195071220397949, 0.6714028120040894, -0.08966666460037231, -0.9182910919189453, 0.15733012557029724, 0.002932183211669326, 0.29498112201690674, -0.3167934715747833, -0.9044227004051208, -0.002842146437615156, -0.347635418176651, -0.23283575475215912, -0.03427014872431755, -0.16710057854652405, 0.5687083005905151, 0.4063066840171814, 0.6947396397590637, 0.08147304505109787, 0.1895638406276703, 0.4587508738040924, 0.6531407833099365, -0.3160978853702545, -0.4592394232749939, -0.8585777878761292, 0.2828521430492401, -0.5256801247596741, -0.6655115485191345, 1.0678056478500366, 1.0252747535705566, 0.574773371219635, -0.3809826672077179, 0.12388268113136292, 0.05145525187253952, 0.33649101853370667, -0.3687402307987213, 0.6424160003662109, -0.7916672229766846, -0.43616172671318054, -0.530800998210907, -0.9335149526596069, -0.2303297221660614, 0.5811493396759033, -0.13961482048034668, 0.41504794359207153, 0.4392808973789215, 0.7434945106506348, -0.18700963258743286, 0.37133491039276123, 0.12345457822084427, 0.11680920422077179, 0.21409864723682404, 0.43276137113571167, 0.27091184258461, -0.6061698198318481, 0.17438136041164398, -0.4768894910812378, -0.3162117302417755, -0.1183762177824974, -0.837232768535614, -0.4261753559112549, -0.28340670466423035, -0.5431926846504211, -0.511505663394928, -0.19155803322792053, 0.5304937362670898, 1.3520101308822632, -0.944992184638977, -0.0042769149877130985, -0.7072327733039856, -0.1457332819700241, -0.4897439181804657, -0.29567751288414, 0.22441017627716064, -0.4095265567302704, -1.080588698387146, 0.19994455575942993, 0.231708824634552, 0.2740665376186371, -0.2956336736679077, 0.022927287966012955, 0.03262961655855179, -0.3117363750934601, 0.3052922785282135, 0.2614663243293762, -0.05764403194189072, -0.20053352415561676, -0.09462562203407288, 0.13744351267814636, 0.0644664466381073, 1.055650234222412, -0.6053785681724548, 0.21922984719276428, 0.6422197818756104, 0.8043630719184875, 1.07145094871521, 0.030988706275820732, 0.35375016927719116, -0.3555026948451996, 0.3654533922672272, 0.08370599150657654, 0.7440876960754395, 0.2862114906311035, -0.29122817516326904, 0.4915449917316437, 0.6484794020652771, -0.579293429851532, -0.6284858584403992, 0.21352075040340424, -1.123615026473999, -0.12026561051607132, 1.201994776725769, -0.04042374715209007, -0.7432131767272949, 0.8390346169471741, -0.08731470257043839, 0.16102558374404907, -0.24963974952697754, 0.5008642077445984, 0.28597763180732727, 0.48244842886924744, -0.07968812435865402, -0.1621774286031723, 0.32742923498153687, 0.6307011246681213, -0.3645946681499481, -0.22809016704559326, 0.0166649017482996, 0.25039494037628174, 0.44349992275238037, 0.33056074380874634, -0.24661564826965332, 0.04895307496190071, 0.3536774516105652, 0.39473551511764526, -0.03239108622074127, -0.07811186462640762, -0.19386139512062073, 0.13880254328250885, -0.08667365461587906, -0.5346590280532837 ]
keremberke/yolov5m-license-plate
keremberke
2023-01-01T09:59:05Z
14,567
25
yolov5
[ "yolov5", "tensorboard", "yolo", "vision", "object-detection", "pytorch", "dataset:keremberke/license-plate-object-detection", "model-index", "has_space", "region:us" ]
object-detection
2023-01-01T06:01:39Z
--- tags: - yolov5 - yolo - vision - object-detection - pytorch library_name: yolov5 library_version: 7.0.6 inference: false datasets: - keremberke/license-plate-object-detection model-index: - name: keremberke/yolov5m-license-plate results: - task: type: object-detection dataset: type: keremberke/license-plate-object-detection name: keremberke/license-plate-object-detection split: validation metrics: - type: precision # since [email protected] is not available on hf.co/metrics value: 0.9882982754936463 # min: 0.0 - max: 1.0 name: [email protected] --- <div align="center"> <img width="640" alt="keremberke/yolov5m-license-plate" src="https://huggingface.co/keremberke/yolov5m-license-plate/resolve/main/sample_visuals.jpg"> </div> ### How to use - Install [yolov5](https://github.com/fcakyon/yolov5-pip): ```bash pip install -U yolov5 ``` - Load model and perform prediction: ```python import yolov5 # load model model = yolov5.load('keremberke/yolov5m-license-plate') # set model parameters model.conf = 0.25 # NMS confidence threshold model.iou = 0.45 # NMS IoU threshold model.agnostic = False # NMS class-agnostic model.multi_label = False # NMS multiple labels per box model.max_det = 1000 # maximum number of detections per image # set image img = 'https://github.com/ultralytics/yolov5/raw/master/data/images/zidane.jpg' # perform inference results = model(img, size=640) # inference with test time augmentation results = model(img, augment=True) # parse results predictions = results.pred[0] boxes = predictions[:, :4] # x1, y1, x2, y2 scores = predictions[:, 4] categories = predictions[:, 5] # show detection bounding boxes on image results.show() # save results into "results/" folder results.save(save_dir='results/') ``` - Finetune the model on your custom dataset: ```bash yolov5 train --data data.yaml --img 640 --batch 16 --weights keremberke/yolov5m-license-plate --epochs 10 ``` **More models available at: [awesome-yolov5-models](https://github.com/keremberke/awesome-yolov5-models)**
[ -0.9394809007644653, -0.3830614984035492, 0.4990648329257965, -0.27634453773498535, -0.3889435827732086, -0.37396240234375, 0.11216291785240173, -0.606798529624939, 0.13876067101955414, 0.3416081666946411, -0.6117277145385742, -0.78993159532547, -0.4432815909385681, -0.18383044004440308, 0.23491530120372772, 0.7593792676925659, 0.24807430803775787, 0.15187354385852814, -0.12725579738616943, -0.2690502405166626, -0.639991819858551, 0.10966166108846664, 0.07166000455617905, -0.5942320227622986, 0.32459601759910583, 0.15216554701328278, 0.493173211812973, 0.9545148611068726, 0.43155166506767273, 0.38838809728622437, 0.034179478883743286, -0.09294496476650238, -0.10630066692829132, 0.19673101603984833, 0.009361952543258667, -0.41925886273384094, -0.5031957626342773, 0.11619883030653, 0.44305694103240967, 0.3026570677757263, 0.04129643365740776, 0.31770461797714233, -0.523087739944458, 0.17233867943286896, -0.7086823582649231, 0.2800542116165161, -0.5609058737754822, -0.008317100815474987, -0.19039060175418854, -0.18407194316387177, -0.36822187900543213, -0.4446355998516083, 0.3206852674484253, -0.6583263874053955, 0.0374697670340538, 0.1850319355726242, 1.2575114965438843, 0.26791641116142273, -0.34062737226486206, 0.17681369185447693, -0.3829675614833832, 0.8839740753173828, -1.2584776878356934, 0.16859941184520721, 0.3431242108345032, 0.49332308769226074, -0.07421635836362839, -0.787667453289032, -0.5035847425460815, -0.11979255080223083, -0.04374053329229355, 0.0861758291721344, -0.043577760457992554, -0.27208301424980164, 0.34940409660339355, 0.14814716577529907, -0.5388713479042053, 0.017805607989430428, -0.6458873748779297, -0.2378322333097458, 0.5693355798721313, 0.5049076080322266, 0.1700281798839569, 0.014146296307444572, -0.6176595687866211, -0.34048882126808167, -0.04935760796070099, 0.12382782995700836, 0.434893399477005, 0.31587257981300354, -0.321489155292511, 0.4281845986843109, -0.4650298058986664, 1.0434132814407349, 0.17482566833496094, -0.44462645053863525, 1.0211280584335327, -0.201414093375206, -0.45092809200286865, 0.12498360872268677, 1.0572372674942017, 0.8045349717140198, -0.07174676656723022, 0.25723135471343994, -0.20138035714626312, 0.10523414611816406, 0.2598266303539276, -0.9617430567741394, -0.3193773925304413, 0.31645113229751587, -0.17319545149803162, -0.6930679082870483, 0.12807007133960724, -0.7605542540550232, -0.32014158368110657, 0.019732870161533356, 0.8162333369255066, -0.6446566581726074, -0.26702627539634705, 0.4195706248283386, -0.2891169786453247, 0.5395706295967102, 0.15085279941558838, -0.35735031962394714, -0.13080741465091705, -0.017767902463674545, 0.6397002339363098, 0.3017270267009735, -0.13786581158638, -0.454854816198349, -0.23022159934043884, -0.32130929827690125, 0.7621585726737976, -0.3085550367832184, -0.30446913838386536, -0.24635884165763855, 0.4199793040752411, 0.23982828855514526, -0.0695422813296318, 0.6524291038513184, -0.9650216698646545, 0.4463508725166321, -0.20649325847625732, -0.6301479935646057, -0.5108245015144348, 0.6341057419776917, -0.5378363728523254, 0.6211184859275818, 0.01678227260708809, -1.0804545879364014, 0.5882273316383362, -0.31667208671569824, -0.30545443296432495, 0.30433470010757446, 0.11686187982559204, -1.1445194482803345, -0.06425941735506058, 0.06174224987626076, 0.7261959314346313, 0.06050357222557068, 0.07682312279939651, -0.9786484241485596, -0.19127798080444336, 0.18021151423454285, -0.20506446063518524, 0.6782711148262024, 0.06502526998519897, -0.36963969469070435, 0.12854298949241638, -1.2117269039154053, 0.4207034409046173, 0.5340113043785095, -0.40994521975517273, -0.3056308925151825, -0.3883536159992218, 0.18276406824588776, 0.19376793503761292, 0.2598063349723816, -0.7552744150161743, 0.3910418748855591, -0.5935872197151184, -0.05656707286834717, 0.6645274758338928, 0.0035645323805510998, 0.3561866283416748, -0.300353467464447, 0.4505108892917633, 0.4814516007900238, -0.19489359855651855, -0.16167950630187988, -0.48492076992988586, -0.3859059512615204, 0.19435690343379974, 0.39952003955841064, 0.1093280091881752, -0.6432676315307617, 0.6741381287574768, -0.26977425813674927, -0.7802494168281555, -0.4907544255256653, -0.47285354137420654, 0.2540222406387329, 0.7940160036087036, 0.5342041254043579, -0.6079545021057129, -0.5778197050094604, -0.9648844599723816, 0.33735519647598267, 0.3506224751472473, 0.3561158776283264, -0.044208504259586334, 0.8272385597229004, -0.014266636222600937, 0.8467428684234619, -0.9009442329406738, -0.42732328176498413, -0.2985854744911194, 0.09433455765247345, 0.4108687937259674, 0.5292356014251709, 0.7385945320129395, -0.5438413619995117, -0.7916550636291504, 0.013558709062635899, -0.542691707611084, 0.04719483479857445, 0.21161793172359467, 0.14565807580947876, 0.15730364620685577, 0.04670386388897896, -0.11528982222080231, 0.5637792944908142, 0.2584049701690674, -0.6583498120307922, 1.0303219556808472, -0.4449036419391632, 0.23974855244159698, -1.3336739540100098, -0.0803409069776535, 0.5447452664375305, -0.6751624345779419, -0.5536340475082397, -0.17780475318431854, 0.16451938450336456, 0.29352205991744995, -0.514918863773346, 0.2797435224056244, -0.27695441246032715, 0.009247236885130405, -0.31453508138656616, -0.32578736543655396, 0.1586913764476776, 0.260501891374588, -0.21790996193885803, 0.6721676588058472, 0.8959367275238037, -0.4248439073562622, 0.4830118417739868, 0.2522447109222412, -0.6908934712409973, 0.605411946773529, -0.706322968006134, -0.06210188567638397, -0.3651219308376312, 0.049829985946416855, -1.0359454154968262, -0.759516179561615, 0.3557988703250885, -0.6234195828437805, 0.5721248388290405, -0.35139307379722595, -0.28173166513442993, -0.464386522769928, -0.43199682235717773, 0.06861498206853867, 0.70058673620224, -0.24212124943733215, 0.3612295985221863, 0.39560049772262573, 0.5641714930534363, -0.726220428943634, -0.7798095941543579, -0.4403122365474701, -0.2956734597682953, -0.4388144910335541, 0.5068367123603821, -0.11033686250448227, 0.027933409437537193, 0.3548213839530945, 0.04099471867084503, -0.12193216383457184, -0.010654184967279434, 0.3471129536628723, 0.6920211911201477, -0.27497434616088867, 0.014772612601518631, -0.40872329473495483, -0.27884727716445923, 0.15632756054401398, -0.4675041139125824, 0.970700740814209, -0.5037347078323364, -0.005283897742629051, -0.7490790486335754, -0.3656872808933258, 0.8022462725639343, -0.22889724373817444, 1.0678855180740356, 1.0883796215057373, -0.20397311449050903, 0.023079702630639076, -0.5040138363838196, 0.04059796407818794, -0.4560702443122864, 0.3648093044757843, -0.4480224847793579, -0.05845847353339195, 0.4734288156032562, 0.3086516559123993, -0.030962051823735237, 0.7852421402931213, 0.6223913431167603, -0.32525190711021423, 1.2234948873519897, 0.4217512011528015, -0.08924688398838043, 0.33542248606681824, -0.7915723919868469, -0.3885883092880249, -0.8019751310348511, -0.42133083939552307, -0.2092217206954956, -0.41824454069137573, -0.5245936512947083, -0.13868775963783264, 0.4847819209098816, -0.44680899381637573, -0.3514540195465088, 0.6057811379432678, -0.6787334084510803, 0.5176851749420166, 0.6403013467788696, 0.2959449589252472, 0.04868681728839874, -0.14103980362415314, -0.32759708166122437, -0.2172030508518219, -0.5075327754020691, -0.2631598711013794, 1.241386890411377, 0.3278374969959259, 0.7972471117973328, -0.27120259404182434, 0.5820959806442261, 0.1650458574295044, 0.09896862506866455, -0.6473498940467834, 0.35225993394851685, 0.27270904183387756, -1.0080673694610596, 0.04208561033010483, -0.41905903816223145, -0.8748818039894104, 0.1479419320821762, -0.5100354552268982, -0.7268330454826355, 0.002960141748189926, 0.06891055405139923, -0.4160292446613312, 0.6899223923683167, -0.46834421157836914, 0.8168502449989319, -0.05645553395152092, -0.6096527576446533, 0.2724612355232239, -0.8041742444038391, 0.5377792119979858, 0.1447691172361374, 0.17902524769306183, -0.40627413988113403, 0.19547590613365173, 0.7515289783477783, -0.5996350646018982, 0.8955498933792114, -0.46158280968666077, 0.22168779373168945, 0.29600635170936584, -0.29352059960365295, 0.412170946598053, -0.13476252555847168, -0.2531031668186188, -0.22939008474349976, 0.23133909702301025, -0.22871972620487213, -0.19702142477035522, 0.7158272862434387, -0.9069093465805054, -0.07653515785932541, -0.6427693367004395, -0.6871628761291504, 0.09542232751846313, 0.4893213212490082, 0.6805639266967773, 0.7148069739341736, 0.12793639302253723, 0.12808378040790558, 0.6566979289054871, -0.2592960298061371, 0.3425484597682953, 0.16814857721328735, -0.29984891414642334, -0.6308808922767639, 0.9302099347114563, 0.2880799174308777, 0.2021644413471222, -0.19564156234264374, 0.46374231576919556, -0.6508268713951111, -0.4950403571128845, -0.46162867546081543, 0.13962723314762115, -0.8801484704017639, -0.46069058775901794, -0.5831102132797241, -0.16862262785434723, -0.5298953056335449, -0.04663961008191109, -0.44549351930618286, -0.03709772229194641, -0.28541409969329834, 0.12483189254999161, 0.4018884301185608, 0.6877229809761047, -0.1264636367559433, 0.5545725226402283, -0.3943382501602173, 0.1372411847114563, 0.163148894906044, 0.5854971408843994, -0.07722251117229462, -0.8727680444717407, -0.03450457751750946, -0.06523323804140091, -0.6017248630523682, -0.7793151140213013, 0.8133981227874756, -0.22445397078990936, 0.3978286385536194, 0.36339515447616577, 0.15687121450901031, 0.8044788241386414, -0.14060303568840027, 0.4770404100418091, 0.6613989472389221, -0.6136500835418701, 0.4282134175300598, -0.4260171055793762, 0.5706121921539307, 0.6183875203132629, 0.6213579773902893, 0.005518893711268902, 0.046028655022382736, -0.7621800899505615, -0.7748696804046631, 0.7759402990341187, -0.022766418755054474, -0.15685059130191803, 0.42454177141189575, 0.1579856425523758, 0.10180195420980453, 0.09511906653642654, -1.1679631471633911, -0.4928312599658966, -0.24039509892463684, -0.3475269675254822, 0.1512431651353836, 0.047139935195446014, 0.20569132268428802, -0.6548686623573303, 1.0025287866592407, -0.15737177431583405, 0.25368350744247437, 0.13796482980251312, 0.14185038208961487, -0.25469255447387695, 0.17107100784778595, 0.6586886048316956, 0.42845413088798523, -0.81936115026474, -0.031584206968545914, 0.31149762868881226, -0.30403050780296326, 0.3634110987186432, 0.1015038713812828, -0.18318185210227966, -0.0002720942720770836, 0.3095875382423401, 0.7355476021766663, -0.17355488240718842, -0.042521391063928604, 0.48802730441093445, -0.06056756153702736, -0.49594777822494507, -0.5615395307540894, 0.3724871575832367, 0.22392083704471588, 0.369942307472229, 0.08817177265882492, 0.44509416818618774, -0.04766066372394562, -0.3947511315345764, 0.32608163356781006, 0.5033741593360901, -0.7117567658424377, -0.4248645007610321, 1.1142234802246094, -0.28741219639778137, 0.115622378885746, 0.30759862065315247, -0.6904820799827576, -0.5458251237869263, 1.003175973892212, 0.4379669427871704, 0.560483455657959, 0.08858565986156464, -0.10113096982240677, 0.8681814670562744, -0.036743246018886566, -0.09498605132102966, 0.32570499181747437, 0.4736497402191162, -0.7279642224311829, -0.32550951838493347, -0.7449977993965149, 0.09433291852474213, 0.6253936290740967, -0.7816439867019653, 0.5247908234596252, -0.5008082389831543, -0.5925458669662476, 0.5049427151679993, 0.28911271691322327, -1.0463523864746094, 0.46249231696128845, 0.2772274613380432, 0.8522551655769348, -0.6302651166915894, 0.8930369019508362, 0.6824816465377808, -0.6190057992935181, -0.8827230930328369, -0.14272278547286987, 0.16088485717773438, -0.873344361782074, 0.5798723101615906, 0.6118389964103699, 0.16610842943191528, 0.4306437075138092, -0.9462661743164062, -0.7676725387573242, 1.2605761289596558, -0.3001086711883545, -0.459127277135849, 0.2149297595024109, -0.21544590592384338, 0.12776604294776917, -0.5160735249519348, 0.4616453945636749, 0.5055075883865356, 0.7291467785835266, 0.43248608708381653, -0.489754319190979, 0.0167252030223608, -0.010217349044978619, -0.22416479885578156, 0.2877313196659088, -0.26581549644470215, 0.6794611215591431, -0.3751133382320404, 0.14550910890102386, 0.044646088033914566, 0.546151340007782, 0.1334754228591919, 0.2506811320781708, 0.6368893384933472, 1.080386996269226, 0.3418333828449249, -0.28024324774742126, 0.942724347114563, -0.053652193397283554, 0.8385663628578186, 1.1647785902023315, -0.16624414920806885, 0.37296682596206665, 0.11701945960521698, -0.12375865876674652, 0.46311476826667786, 0.5809893608093262, -0.6911271810531616, 0.9932597279548645, 0.016407782211899757, 0.07035034894943237, -0.3444233238697052, -0.09584350138902664, -0.6961159706115723, 0.5717858672142029, 0.16419856250286102, -0.3698797821998596, -0.3627675473690033, 0.044239792972803116, -0.2469176948070526, -0.4347015619277954, -0.24989062547683716, 0.5555956959724426, -0.3725389540195465, -0.32943829894065857, 0.6349135041236877, 0.18224281072616577, 0.8383054137229919, -0.5508170127868652, 0.23873649537563324, 0.3203805685043335, 0.31349608302116394, -0.16517582535743713, -1.008151650428772, 0.33330145478248596, -0.39006197452545166, -0.009778531268239021, 0.12525977194309235, 0.907477080821991, -0.3947710692882538, -0.7329562306404114, 0.08122644573450089, 0.24307414889335632, 0.014891018159687519, 0.23233921825885773, -0.669956624507904, 0.35163962841033936, 0.1894603967666626, -0.6974102258682251, 0.17774221301078796, 0.1320674568414688, 0.46673113107681274, 0.7428696751594543, 0.6331543326377869, 0.2778337299823761, 0.03246740624308586, -0.25722014904022217, 1.0501924753189087, -0.695393979549408, -0.28701987862586975, -0.8662425875663757, 0.9661175608634949, -0.2223813831806183, -0.540666937828064, 0.5788313746452332, 0.4496084153652191, 0.890024721622467, -0.3521960973739624, 0.8691576719284058, -0.41071343421936035, 0.06038263812661171, -0.24960879981517792, 0.8360728621482849, -0.9300680160522461, -0.052040595561265945, -0.1073787584900856, -0.3062678575515747, -0.182790145277977, 0.5683689713478088, -0.5678505301475525, 0.07667835056781769, 0.20619021356105804, 0.6874524354934692, -0.5196799635887146, -0.30557045340538025, 0.6064037680625916, 0.36803460121154785, 0.21571335196495056, 0.4598872661590576, 0.5555351376533508, -0.758205771446228, 0.398848295211792, -0.8788496851921082, 0.08286626636981964, -0.3582603633403778, -0.7523618936538696, -0.9702023267745972, -0.6189886927604675, -0.5592913627624512, -0.5228853225708008, -0.4744480550289154, 1.0785311460494995, 1.0855294466018677, -0.617418646812439, 0.23853695392608643, -0.02487124130129814, -0.12252393364906311, 0.10551255196332932, -0.31417760252952576, 0.15150156617164612, -0.25724470615386963, -0.7741521000862122, 0.1647469848394394, 0.026967044919729233, 0.5982411503791809, -0.26936694979667664, 0.19557371735572815, -0.3478696346282959, -0.3028927147388458, 0.0852217823266983, -0.0403716042637825, -0.4809028208255768, -0.12396907061338425, -0.23685908317565918, -0.153437077999115, 0.47504881024360657, -0.14611750841140747, -1.0449320077896118, 0.7464967966079712, 0.6429845690727234, 0.28536751866340637, 0.6770766377449036, -0.009421617724001408, 0.4647977948188782, -0.4851435720920563, 0.274731308221817, 0.10993418842554092, 0.5839225053787231, 0.16027644276618958, -0.19918586313724518, 0.2755109667778015, 0.40291666984558105, -0.3693973124027252, -0.7049249410629272, 0.10786983370780945, -0.9635070562362671, -0.34915852546691895, 0.6037949919700623, -0.18419910967350006, -0.6912832856178284, -0.11786367744207382, 0.16745801270008087, 0.3197072744369507, -0.404441773891449, 0.5141067504882812, 0.3821496069431305, 0.2973124086856842, -0.16319265961647034, -0.9540718793869019, 0.16282767057418823, 0.1487427055835724, -0.6878458261489868, -0.6820144653320312, 0.25129854679107666, 0.8803984522819519, 0.48860064148902893, 0.12953147292137146, 0.01903836987912655, 0.19600515067577362, 0.12729492783546448, 0.431442528963089, -0.5557403564453125, -0.05034560710191727, -0.30906444787979126, 0.3487900197505951, -0.23103302717208862, -0.8172434568405151 ]
lllyasviel/control_v11p_sd15_scribble
lllyasviel
2023-05-04T18:50:48Z
14,536
18
diffusers
[ "diffusers", "art", "controlnet", "stable-diffusion", "controlnet-v1-1", "image-to-image", "arxiv:2302.05543", "base_model:runwayml/stable-diffusion-v1-5", "license:openrail", "has_space", "diffusers:ControlNetModel", "region:us" ]
image-to-image
2023-04-14T19:26:12Z
--- license: openrail base_model: runwayml/stable-diffusion-v1-5 tags: - art - controlnet - stable-diffusion - controlnet-v1-1 - image-to-image duplicated_from: ControlNet-1-1-preview/control_v11p_sd15_scribble --- # Controlnet - v1.1 - *Scribble Version* **Controlnet v1.1** is the successor model of [Controlnet v1.0](https://huggingface.co/lllyasviel/ControlNet) and was released in [lllyasviel/ControlNet-v1-1](https://huggingface.co/lllyasviel/ControlNet-v1-1) by [Lvmin Zhang](https://huggingface.co/lllyasviel). This checkpoint is a conversion of [the original checkpoint](https://huggingface.co/lllyasviel/ControlNet-v1-1/blob/main/control_v11p_sd15_scribble.pth) into `diffusers` format. It can be used in combination with **Stable Diffusion**, such as [runwayml/stable-diffusion-v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5). For more details, please also have a look at the [🧨 Diffusers docs](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion/controlnet). ControlNet is a neural network structure to control diffusion models by adding extra conditions. ![img](./sd.png) This checkpoint corresponds to the ControlNet conditioned on **Scribble images** ## Model Details - **Developed by:** Lvmin Zhang, Maneesh Agrawala - **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. - **Resources for more information:** [GitHub Repository](https://github.com/lllyasviel/ControlNet), [Paper](https://arxiv.org/abs/2302.05543). - **Cite as:** @misc{zhang2023adding, title={Adding Conditional Control to Text-to-Image Diffusion Models}, author={Lvmin Zhang and Maneesh Agrawala}, year={2023}, eprint={2302.05543}, archivePrefix={arXiv}, primaryClass={cs.CV} } ## Introduction Controlnet was proposed in [*Adding Conditional Control to Text-to-Image Diffusion Models*](https://arxiv.org/abs/2302.05543) by Lvmin Zhang, Maneesh Agrawala. The abstract reads as follows: *We present a neural network structure, ControlNet, to control pretrained large diffusion models to support additional input conditions. The ControlNet learns task-specific conditions in an end-to-end way, and the learning is robust even when the training dataset is small (< 50k). Moreover, training a ControlNet is as fast as fine-tuning a diffusion model, and the model can be trained on a personal devices. Alternatively, if powerful computation clusters are available, the model can scale to large amounts (millions to billions) of data. We report that large diffusion models like Stable Diffusion can be augmented with ControlNets to enable conditional inputs like edge maps, segmentation maps, keypoints, etc. This may enrich the methods to control large diffusion models and further facilitate related applications.* ## Example It is recommended to use the checkpoint with [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) as the checkpoint has been trained on it. Experimentally, the checkpoint can be used with other diffusion models such as dreamboothed stable diffusion. **Note**: If you want to process an image to create the auxiliary conditioning, external dependencies are required as shown below: 1. Install https://github.com/patrickvonplaten/controlnet_aux ```sh $ pip install controlnet_aux==0.3.0 ``` 2. Let's install `diffusers` and related packages: ``` $ pip install diffusers transformers accelerate ``` 3. Run code: ```python import torch import os from huggingface_hub import HfApi from pathlib import Path from diffusers.utils import load_image from PIL import Image import numpy as np from controlnet_aux import PidiNetDetector, HEDdetector from diffusers import ( ControlNetModel, StableDiffusionControlNetPipeline, UniPCMultistepScheduler, ) checkpoint = "lllyasviel/control_v11p_sd15_scribble" image = load_image( "https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/input.png" ) prompt = "royal chamber with fancy bed" processor = HEDdetector.from_pretrained('lllyasviel/Annotators') control_image = processor(image, scribble=True) control_image.save("./images/control.png") controlnet = ControlNetModel.from_pretrained(checkpoint, torch_dtype=torch.float16) pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float16 ) pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config) pipe.enable_model_cpu_offload() generator = torch.manual_seed(0) image = pipe(prompt, num_inference_steps=30, generator=generator, image=control_image).images[0] image.save('images/image_out.png') ``` ![bird](./images/input.png) ![bird_canny](./images/control.png) ![bird_canny_out](./images/image_out.png) ## Other released checkpoints v1-1 The authors released 14 different checkpoints, each trained with [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) on a different type of conditioning: | Model Name | Control Image Overview| Condition Image | Control Image Example | Generated Image Example | |---|---|---|---|---| |[lllyasviel/control_v11p_sd15_canny](https://huggingface.co/lllyasviel/control_v11p_sd15_canny)<br/> | *Trained with canny edge detection* | A monochrome image with white edges on a black background.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11e_sd15_ip2p](https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p)<br/> | *Trained with pixel to pixel instruction* | No condition .|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_inpaint](https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint)<br/> | Trained with image inpainting | No condition.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/output.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/output.png"/></a>| |[lllyasviel/control_v11p_sd15_mlsd](https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd)<br/> | Trained with multi-level line segment detection | An image with annotated line segments.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11f1p_sd15_depth](https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth)<br/> | Trained with depth estimation | An image with depth information, usually represented as a grayscale image.|<a href="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_normalbae](https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae)<br/> | Trained with surface normal estimation | An image with surface normal information, usually represented as a color-coded image.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_seg](https://huggingface.co/lllyasviel/control_v11p_sd15_seg)<br/> | Trained with image segmentation | An image with segmented regions, usually represented as a color-coded image.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_lineart](https://huggingface.co/lllyasviel/control_v11p_sd15_lineart)<br/> | Trained with line art generation | An image with line art, usually black lines on a white background.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15s2_lineart_anime](https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime)<br/> | Trained with anime line art generation | An image with anime-style line art.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_openpose](https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime)<br/> | Trained with human pose estimation | An image with human poses, usually represented as a set of keypoints or skeletons.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_scribble](https://huggingface.co/lllyasviel/control_v11p_sd15_scribble)<br/> | Trained with scribble-based image generation | An image with scribbles, usually random or user-drawn strokes.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_softedge](https://huggingface.co/lllyasviel/control_v11p_sd15_softedge)<br/> | Trained with soft edge image generation | An image with soft edges, usually to create a more painterly or artistic effect.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11e_sd15_shuffle](https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle)<br/> | Trained with image shuffling | An image with shuffled patches or regions.|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11f1e_sd15_tile](https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile)<br/> | Trained with image tiling | A blurry image or part of an image .|<a href="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/original.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/original.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/output.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/output.png"/></a>| ## Improvements in Scribble 1.1: - The training dataset of previous cnet 1.0 has several problems including (1) a small group of greyscale human images are duplicated thousands of times (!!), causing the previous model somewhat likely to generate grayscale human images; (2) some images has low quality, very blurry, or significant JPEG artifacts; (3) a small group of images has wrong paired prompts caused by a mistake in our data processing scripts. The new model fixed all problems of the training dataset and should be more reasonable in many cases. - We find out that users sometimes like to draw very thick scribbles. Because of that, we used more aggressive random morphological transforms to synthesize scribbles. This model should work well even when the scribbles are relatively thick (the maximum width of training data is 24-pixel-width scribble in a 512 canvas, but it seems to work well even for a bit wider scribbles; the minimum width is 1 pixel). - Resumed from Scribble 1.0, continued with 200 GPU hours of A100 80G. ## More information For more information, please also have a look at the [Diffusers ControlNet Blog Post](https://huggingface.co/blog/controlnet) and have a look at the [official docs](https://github.com/lllyasviel/ControlNet-v1-1-nightly).
[ -0.5462416410446167, -0.5745234489440918, 0.1470097452402115, 0.5613589882850647, -0.21974627673625946, -0.2359297275543213, 0.0378674753010273, -0.547513484954834, 0.5797752141952515, 0.2855032682418823, -0.7057768702507019, -0.33413735032081604, -0.7370874881744385, -0.1832413673400879, -0.15262869000434875, 0.7963402271270752, -0.28518688678741455, -0.024062959477305412, 0.06595423817634583, -0.05781805142760277, -0.0701603963971138, -0.1649641990661621, -1.1886472702026367, -0.4958673119544983, 0.46775132417678833, 0.06409844756126404, 0.5010753273963928, 0.5609672665596008, 0.48042741417884827, 0.37740105390548706, -0.36841803789138794, 0.04772862792015076, -0.2838974893093109, -0.1837284415960312, 0.14842458069324493, -0.13735148310661316, -0.6753515601158142, 0.10094930976629257, 0.692405104637146, 0.27398794889450073, -0.021116245537996292, -0.21823027729988098, 0.14951138198375702, 0.6540734767913818, -0.48373857140541077, -0.09914635121822357, -0.14751556515693665, 0.2438708394765854, -0.14076292514801025, 0.12247394770383835, -0.22579506039619446, -0.31537413597106934, 0.0983852744102478, -0.726919949054718, -0.10993021726608276, -0.14865832030773163, 1.3607054948806763, 0.2726944088935852, -0.3907594382762909, -0.10865567624568939, -0.22271421551704407, 0.6189462542533875, -0.7825284004211426, 0.07945667207241058, 0.12713488936424255, 0.20801828801631927, -0.22655706107616425, -1.0011168718338013, -0.5058766007423401, -0.16125242412090302, -0.11226268112659454, 0.449772447347641, -0.36541882157325745, 0.05571198835968971, 0.26028138399124146, 0.1950005441904068, -0.35752949118614197, 0.25688815116882324, -0.3246445953845978, -0.3741189241409302, 0.6221797466278076, 0.006211780942976475, 0.5926515460014343, 0.06527979671955109, -0.5727843642234802, -0.026778949424624443, -0.36435550451278687, 0.3378244638442993, 0.2176392823457718, -0.13081705570220947, -0.7236191630363464, 0.4382707476615906, -0.040664996951818466, 0.707492470741272, 0.4409148097038269, -0.18881340324878693, 0.4725388288497925, -0.162388414144516, -0.32657504081726074, -0.26886191964149475, 1.0135124921798706, 0.4925832152366638, 0.14982303977012634, -0.01227191649377346, -0.12296263128519058, -0.10850998759269714, -0.04028209298849106, -1.1685620546340942, -0.19358137249946594, 0.17852719128131866, -0.5378226041793823, -0.356797456741333, -0.16881155967712402, -0.6675650477409363, -0.22235362231731415, -0.05491304770112038, 0.35934028029441833, -0.5958094000816345, -0.45042920112609863, 0.16773200035095215, -0.4637075364589691, 0.5006066560745239, 0.6028280854225159, -0.4532955586910248, 0.17361827194690704, 0.1462511271238327, 0.9773600101470947, -0.26824620366096497, -0.18121685087680817, -0.2571835517883301, -0.0629391297698021, -0.30707719922065735, 0.5550873875617981, -0.1599171906709671, -0.12809419631958008, -0.09390129148960114, 0.32335883378982544, -0.16148361563682556, -0.3197558522224426, 0.40266504883766174, -0.3057767450809479, 0.20728814601898193, -0.04623039811849594, -0.4204482138156891, -0.13515014946460724, 0.2221917361021042, -0.45990175008773804, 0.7780221700668335, 0.24187324941158295, -1.082875370979309, 0.3187371492385864, -0.4987815022468567, -0.23188231885433197, -0.24585631489753723, 0.15704140067100525, -0.7242774367332458, -0.41292452812194824, 0.0009870129870250821, 0.591849148273468, 0.0012607653625309467, -0.1280713826417923, -0.49380195140838623, -0.07112909108400345, 0.1504589468240738, -0.08750033378601074, 1.195897102355957, 0.12861117720603943, -0.5635665655136108, 0.20392246544361115, -0.6696728467941284, 0.060692720115184784, 0.15766966342926025, -0.26052382588386536, 0.07791328430175781, -0.2857956290245056, 0.1126398965716362, 0.6507203578948975, 0.3927629292011261, -0.6848583221435547, 0.1646023690700531, -0.23492580652236938, 0.4721202552318573, 0.6192774176597595, 0.19079263508319855, 0.6005962491035461, -0.5302527546882629, 0.5441469550132751, 0.24194899201393127, 0.2671416997909546, 0.04675479978322983, -0.5029495358467102, -1.0070860385894775, -0.595734715461731, 0.017288871109485626, 0.5972890853881836, -0.7745561003684998, 0.7947834730148315, 0.10865867137908936, -0.6876398921012878, -0.2469068467617035, 0.026317091658711433, 0.48837539553642273, 0.48687052726745605, 0.2927365005016327, -0.4569607377052307, -0.3428351581096649, -0.8943784832954407, 0.09712139517068863, 0.22336402535438538, 0.007832102477550507, 0.16851195693016052, 0.6217156052589417, -0.08915545791387558, 0.6083494424819946, -0.23923610150814056, -0.35456860065460205, -0.11840999126434326, -0.10021491348743439, 0.24268700182437897, 0.9877079129219055, 0.7426193356513977, -0.6781442761421204, -0.6383728981018066, -0.04654631018638611, -0.8553522229194641, -0.05821865051984787, -0.22584450244903564, -0.5147168040275574, 0.2292013019323349, 0.6017705798149109, -0.6620718240737915, 0.7983807325363159, 0.49092230200767517, -0.583739161491394, 0.5989949703216553, -0.3432401418685913, 0.1259274035692215, -0.9412440061569214, 0.22618436813354492, 0.3419611155986786, -0.29279977083206177, -0.5679874420166016, 0.10522061586380005, 0.12590983510017395, 0.09236181527376175, -0.6728538274765015, 0.711590051651001, -0.49782952666282654, 0.18055294454097748, -0.3013797104358673, -0.0606100931763649, 0.07355920225381851, 0.6136777997016907, 0.19892524182796478, 0.47733455896377563, 0.9315499663352966, -0.5321674346923828, 0.31792041659355164, 0.4211130142211914, -0.19466224312782288, 0.8315561413764954, -0.8022105097770691, 0.12468239665031433, -0.15768542885780334, 0.5687973499298096, -0.9364820718765259, -0.23906809091567993, 0.6411005854606628, -0.4980218708515167, 0.5537939071655273, -0.2229759395122528, -0.25536322593688965, -0.44415974617004395, -0.32274505496025085, 0.11444957554340363, 0.7238410711288452, -0.47757411003112793, 0.3765285909175873, 0.16676104068756104, 0.1380884051322937, -0.49299928545951843, -0.8828144073486328, -0.0546589121222496, -0.35438019037246704, -0.7795030474662781, 0.4684964716434479, -0.1451302021741867, 0.07491006702184677, 0.024731948971748352, 0.04411277547478676, -0.28368887305259705, -0.02726900205016136, 0.37349942326545715, 0.23360425233840942, -0.061770275235176086, -0.1906006932258606, 0.12429258972406387, -0.18007421493530273, -0.04680076241493225, -0.30041196942329407, 0.4632033407688141, 0.052482713013887405, -0.19854192435741425, -0.9851559996604919, 0.22665120661258698, 0.563984751701355, -0.04373820498585701, 0.853663980960846, 0.8785625100135803, -0.40897446870803833, -0.02896307222545147, -0.3670496940612793, -0.1311015784740448, -0.5037140250205994, -0.054423727095127106, -0.23419184982776642, -0.6904105544090271, 0.6529332995414734, 0.05501551553606987, -0.04569635167717934, 0.6058869957923889, 0.36854544281959534, -0.23920905590057373, 0.8434495329856873, 0.545500636100769, -0.11892155557870865, 0.7965151071548462, -0.7301369905471802, -0.12459871172904968, -0.9805203080177307, -0.2805584967136383, -0.3415991961956024, -0.6525227427482605, -0.3111405074596405, -0.3549883961677551, 0.40142861008644104, 0.43668413162231445, -0.705249547958374, 0.4779700040817261, -0.6065772175788879, 0.13078907132148743, 0.3709530532360077, 0.5443901419639587, -0.14911852777004242, -0.1292296051979065, -0.184025838971138, 0.04696523770689964, -0.657294750213623, -0.2759997844696045, 0.5748396515846252, 0.5176178812980652, 0.5303672552108765, -0.11245241016149521, 0.6219849586486816, -0.005295454990118742, 0.3195723593235016, -0.5593585968017578, 0.5364575982093811, 0.00623403349891305, -0.535672128200531, -0.22240447998046875, -0.26428157091140747, -0.9986533522605896, 0.10454526543617249, -0.4969339966773987, -0.7653300762176514, 0.32329654693603516, 0.22463756799697876, -0.06699943542480469, 0.4885348677635193, -0.6414069533348083, 0.7517075538635254, 0.024096917361021042, -0.6312181949615479, 0.0333077497780323, -0.8213082551956177, 0.21378344297409058, 0.2828544080257416, -0.21600086987018585, 0.0006215330795384943, -0.1042250469326973, 0.8476073145866394, -0.7611687183380127, 0.8477138876914978, -0.500558078289032, -0.02327975258231163, 0.36175575852394104, -0.005514565389603376, 0.5466075539588928, -0.20265896618366241, -0.2555865943431854, 0.0742589682340622, -0.03840411454439163, -0.5701169371604919, -0.34992364048957825, 0.6643146276473999, -0.654999852180481, -0.19158172607421875, -0.2951432168483734, -0.2719268798828125, 0.20962560176849365, 0.2614828944206238, 0.6707010269165039, 0.33621132373809814, 0.1873614639043808, 0.04976017028093338, 0.6164896488189697, -0.32369285821914673, 0.65946364402771, 0.037002984434366226, -0.09971553087234497, -0.5169385075569153, 0.7134202718734741, 0.02805207297205925, 0.35369107127189636, 0.16335634887218475, 0.14816166460514069, -0.22408346831798553, -0.47321516275405884, -0.4547153413295746, 0.45714348554611206, -0.6024134755134583, -0.3992927372455597, -0.6233375668525696, -0.4657896161079407, -0.3378424048423767, -0.51663738489151, -0.2611044645309448, -0.29486215114593506, -0.7153234481811523, 0.19317881762981415, 0.6112484335899353, 0.5245227813720703, -0.20971229672431946, 0.5855787396430969, -0.2593267858028412, 0.2176603525876999, 0.23827554285526276, 0.3645355701446533, -0.04440685734152794, -0.58338463306427, 0.003511583898216486, 0.10140640288591385, -0.5094038844108582, -0.7621002197265625, 0.45628121495246887, 0.03372706472873688, 0.47679656744003296, 0.5113648772239685, -0.2490757405757904, 0.6601381301879883, -0.3389715552330017, 0.578614354133606, 0.5977336764335632, -0.8023321032524109, 0.4630882143974304, -0.3950902223587036, 0.2616650462150574, 0.30105850100517273, 0.507672131061554, -0.44539177417755127, -0.3637557923793793, -0.7566811442375183, -0.6420748233795166, 0.5814269781112671, 0.20571312308311462, -0.07578103244304657, 0.3228512406349182, 0.6907575130462646, -0.3616473078727722, 0.13929389417171478, -0.7758722305297852, -0.42644044756889343, -0.23269955813884735, 0.019223054870963097, 0.05210219696164131, 0.06198045611381531, -0.05103040486574173, -0.49175557494163513, 0.8797670602798462, -0.009754498489201069, 0.573773980140686, 0.4676475524902344, 0.11841758340597153, -0.17366009950637817, -0.32416558265686035, 0.529296338558197, 0.46618151664733887, -0.041775282472372055, -0.3037501871585846, 0.06163671240210533, -0.39765650033950806, 0.22620771825313568, -0.02340724878013134, -0.36414849758148193, -0.08717268705368042, 0.354498952627182, 0.8092148900032043, -0.1631391942501068, -0.16481363773345947, 0.7589007019996643, 0.05447773635387421, -0.5510815978050232, -0.2678159475326538, 0.07206511497497559, 0.1939428448677063, 0.4746834635734558, 0.10288757085800171, 0.3548096716403961, 0.06619256734848022, -0.11091025918722153, 0.29443588852882385, 0.5923344492912292, -0.5660447478294373, -0.1302800476551056, 0.7541340589523315, 0.01445690542459488, -0.14327913522720337, 0.3514975309371948, -0.4217953681945801, -0.7119289040565491, 0.917334794998169, 0.5500903725624084, 0.6988927125930786, -0.12800341844558716, 0.29805371165275574, 0.693798303604126, 0.19210560619831085, 0.0524769052863121, 0.22033266723155975, 0.11946708709001541, -0.6606563329696655, -0.3840849995613098, -0.3898647427558899, -0.08638598769903183, 0.1432391256093979, -0.4299430549144745, 0.4474833309650421, -0.7734419107437134, -0.21764947474002838, -0.07537748664617538, 0.10611315071582794, -0.664411723613739, 0.3977518081665039, 0.019500184804201126, 1.2246464490890503, -0.8048672676086426, 0.8152368664741516, 0.5895683169364929, -0.44499775767326355, -0.868147075176239, -0.018357036635279655, -0.0036022549029439688, -0.7844945192337036, 0.6151492595672607, 0.1690228283405304, -0.08852719515562057, 0.09096287935972214, -0.8129776120185852, -0.5853180289268494, 1.2578136920928955, 0.23192662000656128, -0.20534394681453705, 0.07293073832988739, -0.530424177646637, 0.45581457018852234, -0.41033267974853516, 0.4694439172744751, 0.42619919776916504, 0.49747562408447266, 0.4199013411998749, -0.7739278674125671, 0.24894829094409943, -0.45858967304229736, 0.11697815358638763, 0.15111763775348663, -0.9967854619026184, 0.865212619304657, -0.010644718073308468, -0.16504091024398804, 0.28690433502197266, 0.7261447310447693, 0.24566128849983215, 0.17807616293430328, 0.5935540795326233, 0.7990579605102539, 0.33262547850608826, -0.10721097141504288, 0.9063371419906616, -0.10976630449295044, 0.27567991614341736, 0.6579952836036682, 0.21117046475410461, 0.5613669753074646, 0.368678480386734, -0.07287944853305817, 0.5336620211601257, 0.8156148791313171, 0.05594896897673607, 0.40478479862213135, 0.5214216709136963, -0.26281076669692993, -0.1308443397283554, -0.0335281603038311, -0.3344962000846863, 0.09864753484725952, 0.30547070503234863, -0.2655605375766754, -0.24374301731586456, 0.2521437406539917, 0.3083251416683197, -0.13463297486305237, -0.358892023563385, 0.6632753610610962, -0.12507511675357819, -0.5044833421707153, 0.7409045100212097, -0.08515157550573349, 1.1019299030303955, -0.6713660955429077, 0.026606012135744095, -0.23646177351474762, 0.05727296695113182, -0.36147603392601013, -0.8556848168373108, 0.18444451689720154, -0.24288199841976166, 0.2918701469898224, -0.3738197982311249, 0.7315582036972046, -0.39217960834503174, -0.3985697329044342, 0.4871487617492676, 0.1298397183418274, 0.3871389925479889, 0.1926020085811615, -1.0781391859054565, 0.24545976519584656, 0.08884922415018082, -0.5009133219718933, 0.20943959057331085, 0.36112451553344727, 0.18855412304401398, 0.7593839168548584, 0.31150928139686584, 0.37884989380836487, 0.25358858704566956, -0.2924594283103943, 1.0212208032608032, -0.2755162715911865, -0.3458183705806732, -0.5580495595932007, 0.779104471206665, -0.3475880026817322, -0.447742760181427, 0.5635021924972534, 0.2909679710865021, 0.7142882347106934, -0.07711382210254669, 0.7063770294189453, -0.41139283776283264, 0.2131568193435669, -0.6288542747497559, 0.8641834259033203, -0.8275482058525085, -0.3104219138622284, -0.34530848264694214, -0.6437502503395081, -0.32035937905311584, 0.8957930207252502, -0.13683150708675385, 0.1982717365026474, 0.5594058632850647, 0.9586384892463684, -0.2028033584356308, -0.5417048335075378, 0.03854898363351822, 0.07191552966833115, 0.29812249541282654, 0.7159712910652161, 0.6850599050521851, -0.6455873250961304, 0.24890592694282532, -0.5438600182533264, -0.4647962152957916, -0.10097657144069672, -0.9718964695930481, -0.8798049688339233, -0.7293820381164551, -0.6755873560905457, -0.7339264750480652, -0.23140712082386017, 0.7052230834960938, 1.0994874238967896, -0.6067845821380615, -0.16999055445194244, -0.3080773949623108, 0.07879386842250824, -0.15688911080360413, -0.20161473751068115, 0.3712632656097412, -0.07764025032520294, -0.8239989876747131, 0.012628148309886456, 0.21538855135440826, 0.5582827925682068, -0.07305116206407547, -0.3777529001235962, -0.38555920124053955, -0.2274388074874878, 0.2635962963104248, 0.46085503697395325, -0.4416743814945221, -0.2016105204820633, -0.2631630301475525, -0.23751883208751678, 0.10709269344806671, 0.5134825706481934, -0.4059614837169647, 0.18661367893218994, 0.5194731950759888, 0.39473089575767517, 0.8358360528945923, -0.17174243927001953, 0.09119195491075516, -0.4850143492221832, 0.5223341584205627, 0.01366424560546875, 0.44784796237945557, 0.09004616737365723, -0.3447420001029968, 0.4157394468784332, 0.3191829025745392, -0.7691304087638855, -0.4317915141582489, 0.17043346166610718, -1.3223543167114258, -0.12809106707572937, 0.9392024874687195, -0.354320228099823, -0.40610581636428833, 0.18875136971473694, -0.5010313987731934, 0.3608061373233795, -0.34011852741241455, 0.24051149189472198, 0.4043287932872772, -0.23460514843463898, -0.36057591438293457, -0.39336255192756653, 0.6146057844161987, 0.23146390914916992, -0.7772704362869263, -0.49065932631492615, 0.5624033808708191, 0.376748263835907, 0.29084399342536926, 0.9165590405464172, -0.09103713929653168, 0.12327452003955841, -0.05759544298052788, 0.2805672883987427, 0.05148229002952576, -0.13667158782482147, -0.5300220847129822, -0.15239042043685913, -0.22127729654312134, -0.40154722332954407 ]
EleutherAI/enformer-official-rough
EleutherAI
2022-06-12T20:46:42Z
14,476
9
transformers
[ "transformers", "pytorch", "enformer", "license:cc-by-4.0", "region:us" ]
null
2022-06-01T20:42:11Z
--- license: cc-by-4.0 inference: false --- # Enformer Enformer model. It was introduced in the paper [Effective gene expression prediction from sequence by integrating long-range interactions.](https://www.nature.com/articles/s41592-021-01252-x) by Avsec et al. and first released in [this repository](https://github.com/deepmind/deepmind-research/tree/master/enformer). This repo contains the official weights released by Deepmind, ported over to Pytorch. ## Model description Enformer is a neural network architecture based on the Transformer that led to greatly increased accuracy in predicting gene expression from DNA sequence. We refer to the [paper](https://www.nature.com/articles/s41592-021-01252-x) published in Nature for details. ### How to use Refer to the README of [enformer-pytorch](https://github.com/lucidrains/enformer-pytorch) regarding usage. ### Citation info ``` Avsec, Ž., Agarwal, V., Visentin, D. et al. Effective gene expression prediction from sequence by integrating long-range interactions. Nat Methods 18, 1196–1203 (2021). https://doi.org/10.1038/s41592-021-01252-x ```
[ -0.13558946549892426, -0.7252336740493774, 0.2484116107225418, 0.1623225212097168, -0.04430324584245682, -0.19440405070781708, -0.23361770808696747, -0.4617578983306885, 0.28561556339263916, 0.061284054070711136, -0.49105724692344666, -0.19279654324054718, -0.7327758073806763, 0.10780012607574463, -0.4157564043998718, 0.8369690179824829, -0.2350497841835022, 0.5089002847671509, -0.4155631959438324, 0.097872294485569, 0.0297295693308115, -0.30188581347465515, -0.25492140650749207, -0.6206705570220947, 0.5958355665206909, -0.04075215384364128, 0.3273302912712097, 0.2977493107318878, 0.9491975903511047, 0.3117528259754181, -0.48292607069015503, -0.25429463386535645, -0.48553475737571716, 0.35768628120422363, 0.1962573081254959, -0.34807002544403076, -0.5574483275413513, -0.037077397108078, 0.6139200329780579, 0.6290718913078308, -0.37776780128479004, 0.3913194537162781, 0.24754540622234344, 0.6563628315925598, -0.7357819080352783, 0.25931981205940247, -0.4074322283267975, 0.2612714469432831, -0.22187019884586334, 0.32634392380714417, -0.3783682882785797, -0.4191214442253113, 0.32442745566368103, -0.25634172558784485, 0.10174713283777237, -0.3376998007297516, 0.7299257516860962, 0.3900757431983948, -0.20769187808036804, -0.0777197927236557, -0.6517238616943359, 0.3225744068622589, -1.1187418699264526, 0.2134966403245926, 0.03268846869468689, 0.5564290881156921, -0.3441953957080841, -1.1768962144851685, -0.7109313607215881, -0.1060178130865097, -0.19789114594459534, 0.3063317537307739, -0.37741997838020325, 0.4528631269931793, 0.7589248418807983, 0.4849141240119934, -0.4096243977546692, -0.151187002658844, -0.8656978607177734, -0.15388436615467072, 0.4807767868041992, -0.15082411468029022, -0.048165641725063324, -0.3941359519958496, -0.07877291738986969, 0.041557930409908295, -0.4301782548427582, 0.3078880310058594, 0.2762899398803711, 0.07069285213947296, -0.2213752716779709, 0.8591330647468567, -0.024551821872591972, 0.8529580235481262, 0.3459877073764801, 0.4334891438484192, 0.5340466499328613, 0.21007519960403442, -0.6314692497253418, 0.2504233717918396, 0.9734114408493042, 0.051387522369623184, 0.09992445260286331, -0.04078270122408867, 0.005464502144604921, -0.08891904354095459, 0.5109491944313049, -1.338759422302246, -0.28602632880210876, 0.20893533527851105, -0.6772871613502502, -0.3155812621116638, 0.5864140391349792, -1.108231544494629, -0.25554129481315613, -0.19560733437538147, 0.7077178359031677, -0.3546087443828583, -0.11188925057649612, 0.11699095368385315, -0.09946070611476898, 0.4220429062843323, 0.34882184863090515, -0.3714202642440796, 0.31884148716926575, 0.5043927431106567, 1.1006807088851929, -0.2542995512485504, -0.08541610091924667, -0.1923225373029709, -0.20175506174564362, 0.038679759949445724, 0.41177523136138916, -0.40630435943603516, -0.04903736338019371, -0.17924249172210693, 0.17728950083255768, -0.11883877962827682, -0.2544806897640228, 0.5828845500946045, -0.6134430170059204, 0.6096640825271606, 0.029866201803088188, -0.6652901768684387, -0.6285475492477417, -0.11203411966562271, -0.9866701364517212, 0.8362154960632324, 0.22931407392024994, -0.6079918742179871, 0.17738696932792664, -1.098875880241394, -0.2513217329978943, 0.007773306220769882, 0.12185327708721161, -0.7792477607727051, 0.056300945580005646, 0.1023491770029068, 0.4695088863372803, -0.1724330186843872, 0.5930082201957703, -0.17124636471271515, -0.33698299527168274, 0.3231576979160309, -0.3778850734233856, 0.8125330209732056, 0.29721319675445557, -0.6612704992294312, 0.392101526260376, -0.7576354742050171, 0.05231736600399017, 0.14217151701450348, -0.2955420911312103, 0.36784663796424866, -0.2606205642223358, -0.2148236632347107, 0.2621581256389618, 0.19434255361557007, -0.7661125659942627, 0.13636532425880432, -0.37443646788597107, 0.6013607978820801, 0.529718816280365, 0.06067065894603729, 0.5482957363128662, -0.1318938434123993, 0.47908857464790344, -0.12078409641981125, 0.30565088987350464, -0.07246985286474228, -0.9033742547035217, -0.5362887382507324, -0.1959666907787323, 0.3330046534538269, 0.3424389064311981, -0.23195965588092804, 0.7998192310333252, -0.3449959456920624, -0.8938815593719482, -0.5275617837905884, -0.10830950736999512, 0.3397262394428253, 0.5277159214019775, 0.6245661973953247, -0.3397555649280548, -0.7586049437522888, -0.9836534261703491, -0.18265889585018158, 0.07321993261575699, -0.12203221023082733, 0.08027622103691101, 0.6941900849342346, -0.35703814029693604, 0.9738585948944092, -0.321681410074234, 0.2456737905740738, -0.1607988178730011, 0.10155291855335236, 0.742438018321991, 0.646275520324707, 0.07449271529912949, -0.7370797991752625, -0.39682328701019287, -0.5256798267364502, -0.6939772963523865, 0.10495052486658096, 0.19872914254665375, -0.3507586717605591, -0.0867796540260315, 0.28643903136253357, -0.846491813659668, 0.7021089196205139, 0.7125635743141174, -0.41953396797180176, 0.252978652715683, -0.0054067932069301605, -0.021298110485076904, -1.1303030252456665, 0.28418445587158203, 0.26901382207870483, -0.05021684244275093, -0.729931116104126, 0.10702885687351227, 0.48138427734375, 0.012115933932363987, -0.45482543110847473, 0.0867500752210617, -0.243896022439003, 0.2096904218196869, 0.008278739638626575, -0.6517620086669922, 0.027506330981850624, 0.3988148272037506, -0.29856666922569275, 0.6720287799835205, 0.28633469343185425, -0.41010555624961853, 0.42383313179016113, 0.3793140649795532, -0.4256698489189148, -0.056599296629428864, -1.2142635583877563, 0.15881118178367615, -0.1913420706987381, 0.5414327383041382, -0.6540163159370422, -0.37180763483047485, 0.5162338018417358, -0.678881049156189, 0.6112599968910217, -0.19235031306743622, -0.17027390003204346, -0.477557897567749, -0.10024098306894302, 0.5471883416175842, 0.7082651257514954, -0.5345669388771057, 0.9867330193519592, 0.1847197711467743, 0.21460427343845367, -0.548808753490448, -0.8691601753234863, -0.08147856593132019, -0.10015400499105453, -0.7751330733299255, 0.5838286876678467, 0.0666961818933487, -0.003660963149741292, -0.09063325077295303, -0.19941101968288422, 0.22303789854049683, -0.1884676218032837, 0.5344539284706116, 0.21503563225269318, -0.33077093958854675, 0.28734225034713745, -0.18133388459682465, 0.06415820866823196, 0.234094500541687, 0.044691357761621475, 0.6020402908325195, -0.14453837275505066, -0.48554348945617676, -0.4586816430091858, 0.13950882852077484, 0.5513079166412354, -0.31153714656829834, 0.8101159334182739, 0.6859410405158997, -0.6696956157684326, 0.05516308918595314, -0.4785018265247345, -0.28590425848960876, -0.4515779912471771, 0.576958179473877, -0.09233154356479645, -0.6313397288322449, 0.5240864753723145, -0.20533201098442078, -0.2900165319442749, 1.1155160665512085, 0.3043254613876343, 0.10261882841587067, 0.8218860626220703, 0.5383805632591248, 0.18268407881259918, 0.6479427218437195, -0.5291492342948914, 0.32042548060417175, -1.1107397079467773, -0.6231009364128113, -0.45049792528152466, -0.7825332880020142, -0.6296786665916443, -0.5641111135482788, 0.23141828179359436, 0.49313509464263916, -0.9522085785865784, 0.49191150069236755, -0.8538050055503845, 0.1411665678024292, 0.7333979606628418, 0.2565096318721771, -0.18266098201274872, 0.21671846508979797, -0.08334475010633469, -0.03835311532020569, -0.7757384777069092, -0.30719518661499023, 1.3206050395965576, 0.7142140865325928, 0.8452264070510864, 0.34358397126197815, 0.6523762345314026, -0.22733931243419647, 0.3303210735321045, -1.004499077796936, 0.22961917519569397, -0.019956175237894058, -0.5564070343971252, -0.25451090931892395, -0.6937729120254517, -0.8997833728790283, -0.326398104429245, -0.446133017539978, -0.7841116786003113, 0.5412299036979675, -0.23009367287158966, -0.47214990854263306, 0.41578930616378784, -0.6102738976478577, 0.8971203565597534, -0.3604797422885895, -0.34002208709716797, -0.051735732704401016, -0.6040256023406982, 0.00007615749927936122, 0.12880778312683105, -0.2295074164867401, 0.26499173045158386, 0.14816419780254364, 1.2135939598083496, -0.1768825203180313, 0.940518856048584, -0.3666315972805023, 0.14551867544651031, 0.24781155586242676, 0.03466144949197769, 0.6437744498252869, 0.04974433034658432, -0.29544615745544434, 0.43162351846694946, -0.4101930260658264, -0.17426791787147522, -0.6540018916130066, 0.5331471562385559, -0.9767013192176819, -0.2616720199584961, -0.5200238227844238, -0.23031531274318695, 0.2949962019920349, 0.23357662558555603, 0.46038928627967834, 0.45670485496520996, -0.06959108263254166, 0.5043525099754333, 0.7412524223327637, -0.2951897978782654, 0.45243972539901733, 0.2033345103263855, -0.022898755967617035, -0.8062312006950378, 0.3886415362358093, 0.11771013587713242, 0.24479882419109344, 0.37569302320480347, 0.358661413192749, -0.11034009605646133, -0.5442562699317932, -0.32564470171928406, -0.026372047141194344, -0.7524056434631348, -0.5466400384902954, -0.8688290119171143, -0.5950739979743958, -0.41978830099105835, 0.03582803159952164, -0.36898675560951233, -0.4080120325088501, -0.07295438647270203, -0.3139120936393738, 0.6612774133682251, 0.9269353747367859, 0.02035749889910221, 0.3797045350074768, -0.7505617737770081, 0.300736665725708, 0.2971118688583374, 0.6305816769599915, -0.08605823665857315, -0.5751605033874512, -0.09237098693847656, 0.27734535932540894, -0.43911218643188477, -1.1632343530654907, 0.4145578444004059, 0.3900458514690399, 0.9756542444229126, 0.2409367859363556, -0.33887389302253723, 0.583369255065918, -0.15760844945907593, 0.8600735664367676, 0.2956814169883728, -0.8766424059867859, 0.6298606395721436, -0.0263895895332098, 0.4085392653942108, 0.2576681077480316, 0.41620248556137085, -0.36772841215133667, 0.06546242535114288, -0.7501856088638306, -1.3255404233932495, 0.4917283058166504, 0.22751258313655853, 0.09211862087249756, 0.19334886968135834, 0.4733600914478302, 0.11597741395235062, 0.30716150999069214, -0.8833690881729126, -0.40550166368484497, -0.526872456073761, -0.5854858160018921, -0.16905717551708221, -0.4516989588737488, -0.14933599531650543, -0.7911197543144226, 0.6338734030723572, -0.09604543447494507, 0.7750921845436096, 0.5252655744552612, -0.2643180191516876, -0.5827727913856506, 0.0681196004152298, 0.4576704502105713, 0.5700328946113586, -0.5863533616065979, -0.126837357878685, 0.05718741938471794, -0.7618023753166199, -0.17197002470493317, 0.529193639755249, -0.2862347662448883, -0.07024595886468887, 0.5969244837760925, 1.0875524282455444, 0.08631980419158936, -0.16543512046337128, 0.4505559206008911, 0.04934556782245636, -0.35690614581108093, -0.47908052802085876, 0.0002497292880434543, 0.01734200119972229, 0.2618510127067566, 0.48140835762023926, 0.6464678049087524, 0.300649493932724, -0.1607849895954132, 0.2391003966331482, 0.14043885469436646, -0.8642673492431641, -0.025391599163413048, 0.5256674289703369, 0.22005771100521088, -0.2690029442310333, 0.7269179224967957, -0.19027790427207947, -0.7250831127166748, 0.9546190500259399, 0.4462643265724182, 1.2113337516784668, -0.10704849660396576, -0.041557494550943375, 0.7981981039047241, 0.1133757010102272, -0.3318324685096741, 0.271207332611084, 0.31889608502388, -0.7281504273414612, -0.6739456653594971, -0.8043196201324463, -0.10926855355501175, -0.0022944428492337465, -0.7398694753646851, 0.15162144601345062, -0.33047282695770264, -0.2810310423374176, 0.12105657160282135, 0.12217987328767776, -0.816185712814331, -0.018483836203813553, 0.2687495946884155, 1.173933506011963, -0.5162181854248047, 0.5783652663230896, 0.8978610038757324, -0.38148048520088196, -0.9230417609214783, 0.04113039746880531, -0.10583893954753876, -0.5124080777168274, 0.6381467580795288, 0.45278000831604004, 0.189133882522583, 0.07572171837091446, -0.6194489002227783, -1.1552734375, 1.504906177520752, 0.22094379365444183, -0.7882237434387207, 0.06803281605243683, -0.15021385252475739, 0.5169710516929626, -0.4733390808105469, 0.5975526571273804, 0.23279990255832672, 0.6248962879180908, 0.34812283515930176, -0.7328177690505981, 0.3330666422843933, -0.8145807385444641, -0.06523432582616806, 0.2419000118970871, -0.2274654358625412, 1.1305656433105469, -0.1849014163017273, -0.15521427989006042, 0.031610142439603806, 0.7116913199424744, -0.1686154156923294, 0.23112165927886963, 0.19317415356636047, 0.7270059585571289, 0.7152093052864075, -0.25068196654319763, 0.9404164552688599, -0.38586029410362244, 0.3520442545413971, 1.0619219541549683, 0.1428501009941101, 0.8618382811546326, 0.5093752145767212, -0.47394266724586487, 0.7446138262748718, 0.5695334076881409, -0.46221083402633667, 0.35438433289527893, 0.4290913939476013, 0.10819143056869507, 0.013852241449058056, 0.40380582213401794, -0.6596182584762573, 0.49401506781578064, 0.3489789068698883, -0.8594282865524292, 0.06884949654340744, -0.3412856161594391, -0.24968135356903076, -0.17190364003181458, -0.37238430976867676, 0.9315997958183289, -0.0412195548415184, -0.5412375330924988, 0.3885214030742645, -0.08188575506210327, 1.0975497961044312, -0.6219959259033203, -0.2617797255516052, 0.15482212603092194, 0.26863420009613037, -0.3739825189113617, -0.8017428517341614, 0.21331770718097687, -0.1758616864681244, -0.2664022445678711, 0.041899874806404114, 0.8794121742248535, -0.4308844804763794, -0.8034922480583191, 0.4183379113674164, 0.5650132894515991, -0.2794279158115387, -0.10475955903530121, -0.7132671475410461, -0.3910691738128662, -0.20008541643619537, -0.6046754121780396, 0.05034660920500755, 0.20205043256282806, 0.3532170057296753, 0.5479702353477478, 0.7458014488220215, 0.169917032122612, -0.041445598006248474, 0.11095212399959564, 0.8412994146347046, -0.6094890236854553, -0.1755158007144928, -0.9157373905181885, 0.652045488357544, -0.3676682114601135, -0.40620869398117065, 0.5621380805969238, 0.6372262239456177, 0.6158362627029419, 0.021672910079360008, 0.6718090772628784, -0.33519089221954346, 0.23622013628482819, -0.24152861535549164, 0.8638134598731995, -0.16777518391609192, -0.04284191131591797, -0.20356975495815277, -1.0240328311920166, -0.3666500747203827, 0.8715718984603882, -0.4345482885837555, 0.3406254053115845, 0.721208393573761, 0.8991734981536865, -0.08273394405841827, 0.2828523814678192, -0.1734606772661209, 0.4259531497955322, 0.39633509516716003, 0.3152864873409271, 0.42416611313819885, -0.6266259551048279, 0.19918684661388397, -0.6142920255661011, -0.3240075409412384, -0.11947642266750336, -0.9763915538787842, -0.6633681058883667, -0.44536516070365906, -0.16454234719276428, -0.7800573110580444, 0.10565272718667984, 1.3645135164260864, 0.5772392749786377, -1.1473060846328735, -0.13701294362545013, -0.494766503572464, -0.26668286323547363, -0.3442383408546448, -0.2040911465883255, 0.44004592299461365, 0.004608782008290291, -0.34582778811454773, 0.0445840023458004, -0.04459087923169136, 0.13196982443332672, -0.16963328421115875, -0.3137078881263733, -0.12303385883569717, -0.22465543448925018, 0.26576390862464905, 0.0678548812866211, -0.5073270797729492, -0.008857357315719128, 0.09615783393383026, -0.19811014831066132, 0.11474477499723434, 0.7271325588226318, -0.8389436602592468, 0.4749489426612854, 0.7110518217086792, 0.4809839725494385, 0.4211658239364624, -0.21472150087356567, 1.0475951433181763, -0.2581155300140381, -0.08640296757221222, 0.4285373091697693, 0.56765216588974, 0.3678504228591919, -0.6156041622161865, 0.49532151222229004, 0.08684593439102173, -0.537972092628479, -0.3342391550540924, 0.005330788902938366, -0.9055963754653931, -0.11557309329509735, 1.3203824758529663, -0.0388273224234581, -0.6040366888046265, 0.3885587155818939, -0.15828213095664978, 0.7777024507522583, -0.6919145584106445, 0.7873243689537048, 0.20427194237709045, 0.16582807898521423, -0.2715550661087036, -0.6023010611534119, 0.6326109170913696, 0.01889737695455551, -0.5851190686225891, -0.2981735169887543, 0.21419276297092438, -0.023080583661794662, 0.29985079169273376, -0.07492415606975555, -0.24192216992378235, 0.25351467728614807, -0.08668534457683563, 0.4078744053840637, -0.47829335927963257, -0.06068280711770058, -0.613533616065979, 0.1734337955713272, -0.20363913476467133, -0.05099545419216156 ]
SZTAKI-HLT/hubert-base-cc
SZTAKI-HLT
2021-05-19T11:29:35Z
14,461
11
transformers
[ "transformers", "pytorch", "tf", "jax", "bert", "hu", "dataset:common_crawl", "dataset:wikipedia", "license:apache-2.0", "endpoints_compatible", "has_space", "region:us" ]
null
2022-03-02T23:29:04Z
--- language: hu license: apache-2.0 datasets: - common_crawl - wikipedia --- # huBERT base model (cased) ## Model description Cased BERT model for Hungarian, trained on the (filtered, deduplicated) Hungarian subset of the Common Crawl and a snapshot of the Hungarian Wikipedia. ## Intended uses & limitations The model can be used as any other (cased) BERT model. It has been tested on the chunking and named entity recognition tasks and set a new state-of-the-art on the former. ## Training Details of the training data and procedure can be found in the PhD thesis linked below. (With the caveat that it only contains preliminary results based on the Wikipedia subcorpus. Evaluation of the full model will appear in a future paper.) ## Eval results When fine-tuned (via `BertForTokenClassification`) on chunking and NER, the model outperforms multilingual BERT, achieves state-of-the-art results on both tasks. The exact scores are | NER | Minimal NP | Maximal NP | |-----|------------|------------| | **97.62%** | **97.14%** | **96.97%** | ### BibTeX entry and citation info If you use the model, please cite the following papers: [Nemeskey, Dávid Márk (2020). "Natural Language Processing Methods for Language Modeling." PhD Thesis. Eötvös Loránd University.](https://hlt.bme.hu/en/publ/nemeskey_2020) Bibtex: ```bibtex @PhDThesis{ Nemeskey:2020, author = {Nemeskey, Dávid Márk}, title = {Natural Language Processing Methods for Language Modeling}, year = {2020}, school = {E\"otv\"os Lor\'and University} } ``` [Nemeskey, Dávid Márk (2021). "Introducing huBERT." In: XVII. Magyar Számítógépes Nyelvészeti Konferencia (MSZNY 2021). Szeged, pp. 3-14](https://hlt.bme.hu/en/publ/hubert_2021) Bibtex: ```bibtex @InProceedings{ Nemeskey:2021a, author = {Nemeskey, Dávid Márk}, title = {Introducing \texttt{huBERT}}, booktitle = {{XVII}.\ Magyar Sz{\'a}m{\'i}t{\'o}g{\'e}pes Nyelv{\'e}szeti Konferencia ({MSZNY}2021)}, year = 2021, pages = {TBA}, address = {Szeged}, } ```
[ -0.4969657063484192, -0.8573163747787476, 0.45014697313308716, 0.16349126398563385, -0.22844845056533813, -0.2588290870189667, -0.37181124091148376, -0.4758264124393463, 0.5169898271560669, 0.44094911217689514, -0.4620364308357239, -0.6661761999130249, -0.7008834481239319, 0.3121733069419861, -0.6227787137031555, 1.225932002067566, -0.1104959174990654, 0.2043408453464508, -0.19198687374591827, 0.06594251096248627, 0.11885648220777512, -0.6491509079933167, -0.486240953207016, -0.3793608844280243, 0.4815404713153839, 0.277731716632843, 0.2391483336687088, 0.5618634819984436, 0.44066113233566284, 0.3172732889652252, -0.20026038587093353, -0.17809391021728516, -0.3851342499256134, 0.14168204367160797, -0.05838461592793465, -0.13209909200668335, -0.40294453501701355, 0.04851073771715164, 0.7314062118530273, 0.8212524652481079, -0.12481381744146347, 0.10156238079071045, -0.04339827969670296, 0.5768188834190369, -0.3525492548942566, 0.1048467755317688, -0.6640806198120117, -0.2729335427284241, -0.33016061782836914, 0.04359784349799156, -0.5307912826538086, -0.2329258769750595, 0.39817014336586, -0.4310950040817261, 0.42180943489074707, -0.06703287363052368, 1.5738866329193115, -0.20332182943820953, -0.2912079691886902, -0.29152509570121765, -0.4686388075351715, 0.97420734167099, -0.947300374507904, 0.5403971076011658, 0.4234658479690552, -0.028818799182772636, -0.290388286113739, -0.6440166234970093, -0.6313351392745972, -0.3338949978351593, -0.18365716934204102, -0.12592898309230804, -0.318098783493042, -0.11915625631809235, 0.3932659924030304, 0.15231478214263916, -0.6452645063400269, -0.10954592376947403, -0.7472062706947327, -0.19206120073795319, 0.6097510457038879, -0.13661739230155945, 0.22209641337394714, -0.4350082576274872, -0.7976230978965759, 0.04192659258842468, -0.5904291868209839, 0.13153445720672607, 0.5959433913230896, 0.40986743569374084, -0.2264489084482193, 0.5994198322296143, -0.40242114663124084, 0.7837763428688049, 0.22901497781276703, -0.2923005223274231, 0.6068706512451172, -0.21463970839977264, -0.18651947379112244, 0.013724381104111671, 0.8055967092514038, 0.20430327951908112, 0.4868474006652832, -0.2143293023109436, -0.2806323170661926, -0.3575284481048584, 0.3428690433502197, -0.812797486782074, -0.3813994824886322, 0.025554506108164787, -0.6211216449737549, -0.04622984305024147, 0.3181036412715912, -0.5020841360092163, 0.25182896852493286, -0.42012444138526917, 0.48381462693214417, -0.8387629985809326, -0.23086605966091156, -0.007008280139416456, -0.18111878633499146, 0.5146285891532898, 0.2107739895582199, -1.073707938194275, 0.5819629430770874, 0.6084994077682495, 0.6419826149940491, -0.18373830616474152, -0.4539453983306885, -0.1952330321073532, 0.012252784334123135, -0.16271065175533295, 0.8668522834777832, -0.4298078417778015, -0.0502573698759079, -0.059836775064468384, 0.2263966053724289, -0.12693527340888977, -0.5229869484901428, 0.5891901254653931, -0.6135891079902649, 0.2509419023990631, -0.23693525791168213, -0.7429170608520508, -0.5280559659004211, 0.2779925465583801, -0.5996017456054688, 1.2673230171203613, 0.2687726318836212, -0.9783017039299011, 0.48345571756362915, -0.4670606553554535, -0.4583973288536072, -0.10348319262266159, 0.2067689448595047, -0.28763777017593384, 0.08232863247394562, 0.0903213620185852, 0.639960527420044, 0.006214540917426348, 0.4723449647426605, -0.50523841381073, -0.1654013842344284, 0.139367938041687, -0.15674932301044464, 1.2152047157287598, -0.026666894555091858, -0.07933825254440308, -0.11584482342004776, -1.0638784170150757, -0.018037239089608192, 0.06894628703594208, -0.6985055804252625, -0.6509333848953247, -0.004631326533854008, 0.31461939215660095, 0.10310414433479309, 0.4513542056083679, -0.7651546001434326, 0.3140459656715393, -0.5270678997039795, 0.32154712080955505, 0.5222808122634888, -0.00005963021612842567, 0.3527262806892395, -0.2594258785247803, 0.2346344292163849, -0.030197929590940475, 0.004427869338542223, -0.01202981173992157, -0.6644254326820374, -1.0091177225112915, -0.43320608139038086, 0.937905490398407, 0.756650984287262, -0.5159350037574768, 0.5630387663841248, -0.41357189416885376, -0.5582220554351807, -0.5788179039955139, -0.028537912294268608, 0.2049531191587448, 0.5800800323486328, 0.560932457447052, -0.40233364701271057, -0.7649142146110535, -1.3144924640655518, 0.037398532032966614, -0.2320033460855484, -0.061045680195093155, 0.19605319201946259, 0.8779830932617188, -0.24425330758094788, 0.9844881296157837, -0.19941264390945435, 0.09127399325370789, -0.28184327483177185, 0.2828379273414612, 0.49194028973579407, 0.5193056464195251, 0.5732824206352234, -0.70868980884552, -0.7874228358268738, -0.2710675299167633, -0.5798423290252686, -0.20966953039169312, 0.15534132719039917, -0.1728564202785492, 0.42886197566986084, 0.3925594985485077, -0.6767625212669373, 0.4548909366130829, 0.2758774757385254, -0.2045614868402481, 0.8156819343566895, -0.2366298884153366, -0.0740312859416008, -1.1909996271133423, 0.03686415031552315, -0.027985412627458572, -0.12184549868106842, -0.8366150259971619, -0.08139282464981079, 0.058605484664440155, 0.2207600623369217, -0.3576273024082184, 0.5830145478248596, -0.7201863527297974, -0.018497906625270844, -0.10547462105751038, 0.15499849617481232, -0.19386811554431915, 0.6183203458786011, 0.06444259732961655, 0.4600367844104767, 0.6615971922874451, -0.6176086664199829, 0.37123802304267883, 0.3739035427570343, -0.6894515752792358, 0.6865145564079285, -0.7071056962013245, -0.10864342004060745, -0.12828446924686432, -0.0016352530801668763, -0.8037796020507812, -0.0561506487429142, 0.3089601993560791, -0.6237934827804565, 0.7290829420089722, -0.14516519010066986, -0.5935971140861511, -0.13880230486392975, -0.4173544645309448, -0.026718134060502052, 0.2632063627243042, -0.35928237438201904, 0.46601760387420654, 0.3915059566497803, -0.45344144105911255, -0.7273181080818176, -0.7595546245574951, 0.1852785050868988, -0.16493307054042816, -0.7787987589836121, 0.6629366278648376, -0.260244220495224, -0.2868499457836151, 0.2098785787820816, -0.06816249340772629, -0.44712555408477783, 0.008607995696365833, 0.06851119548082352, 0.2956467866897583, -0.28200438618659973, 0.16711318492889404, -0.0190857145935297, -0.12430263310670853, -0.13165540993213654, -0.04462702199816704, 0.537550687789917, 0.046723026782274246, 0.03413126990199089, -0.26746222376823425, 0.6876422762870789, 0.32384634017944336, -0.040526099503040314, 0.8858960270881653, 0.7092337012290955, -0.5968071222305298, -0.042329464107751846, -0.665570080280304, -0.21706730127334595, -0.39069435000419617, 0.3339936137199402, -0.3325222432613373, -0.7444666624069214, 0.5205933451652527, 0.3181535601615906, 0.013793627731502056, 0.7584473490715027, 0.6726847887039185, -0.20743463933467865, 0.4272114932537079, 0.8759075403213501, -0.23084791004657745, 0.5334784388542175, -0.43124523758888245, 0.30955469608306885, -1.0124809741973877, -0.21526363492012024, -0.7188593745231628, -0.2994703948497772, -0.848686695098877, -0.27641531825065613, -0.04630196467041969, 0.2794780135154724, -0.12328308820724487, 0.8101365566253662, -0.2858073115348816, 0.09882522374391556, 0.9171997308731079, -0.08218599855899811, 0.15110182762145996, 0.2050529569387436, -0.48247212171554565, -0.09830139577388763, -0.6013771891593933, -0.8423698544502258, 1.1777269840240479, 0.15392625331878662, 0.6361578106880188, 0.08992640674114227, 1.0985320806503296, 0.11602134257555008, 0.3520374596118927, -0.8647335767745972, 0.6281818151473999, 0.04025955870747566, -1.1776906251907349, -0.47314828634262085, -0.24696654081344604, -1.1650397777557373, 0.2252500057220459, -0.2609502375125885, -1.2123488187789917, 0.3892435133457184, -0.1720852106809616, -0.17932026088237762, 0.33301791548728943, -0.7414650321006775, 0.7829713821411133, -0.015139134600758553, 0.026421615853905678, -0.06053006276488304, -0.8074387311935425, 0.2693824768066406, 0.0643935427069664, 0.0405317023396492, -0.23766843974590302, -0.04107092320919037, 0.9389714002609253, -0.19486190378665924, 0.6689813137054443, 0.019879188388586044, 0.07454947382211685, 0.1850830465555191, -0.15450477600097656, 0.5025514364242554, -0.051523592323064804, -0.1370753049850464, 0.4165763854980469, 0.12150217592716217, -0.43900367617607117, -0.22123491764068604, 0.8297823667526245, -0.6020222902297974, -0.43002238869667053, -0.6349369883537292, -0.43188732862472534, 0.08297981321811676, 0.4167405366897583, 0.4119326174259186, 0.5370254516601562, -0.3325841426849365, 0.33899715542793274, 0.7424545288085938, -0.3206411302089691, 0.5995101928710938, 0.8647580146789551, 0.02011682465672493, -0.4040748178958893, 0.8267033696174622, 0.43981990218162537, -0.035773180425167084, 0.7401531338691711, -0.1751035749912262, -0.04426712915301323, -0.683002769947052, -0.25937122106552124, 0.40671566128730774, -0.5432685613632202, -0.210977241396904, -0.979293704032898, -0.4334680140018463, -0.5476606488227844, 0.06448592990636826, -0.12074895948171616, -0.47721636295318604, -0.514275074005127, -0.16232089698314667, 0.22698242962360382, 0.7012687921524048, -0.270617812871933, 0.17488406598567963, -0.5367284417152405, 0.33055588603019714, 0.33879736065864563, 0.33317291736602783, -0.0792405903339386, -0.5315132141113281, -0.4002130329608917, -0.137922465801239, -0.32217374444007874, -1.2855684757232666, 0.5995996594429016, 0.18415029346942902, 0.888079047203064, 0.4415492117404938, 0.14162006974220276, 0.3966681957244873, -0.7545093894004822, 0.6750280261039734, -0.03884612023830414, -0.7557075619697571, 0.41232386231422424, -0.38993027806282043, -0.0005519961705431342, 0.565871000289917, 0.6714257001876831, -0.48816362023353577, -0.2601311504840851, -1.0420466661453247, -1.1397819519042969, 0.8243871927261353, 0.12948480248451233, 0.18838874995708466, -0.21196147799491882, 0.10569154471158981, 0.2700459957122803, 0.2824134826660156, -0.9584774374961853, -0.45556920766830444, 0.2660762667655945, -0.10036016255617142, 0.1117195338010788, -0.72217857837677, 0.13363882899284363, -0.5512598156929016, 1.314327359199524, 0.2764233648777008, 0.6860446929931641, 0.2701131999492645, -0.3755500316619873, 0.13962051272392273, 0.47594472765922546, 0.8427072763442993, 0.6889817714691162, -0.525286078453064, -0.019152807071805, 0.19867293536663055, -0.4599088430404663, -0.1505441814661026, 0.43438979983329773, -0.38054192066192627, 0.4497261047363281, 0.5265666842460632, 0.8932908177375793, 0.3823985457420349, -0.34040385484695435, 0.4873395264148712, 0.21360136568546295, -0.49814748764038086, -0.3826443552970886, -0.20953373610973358, 0.12031050026416779, 0.3433993458747864, 0.48886868357658386, -0.10280898213386536, 0.29503387212753296, -0.33760640025138855, 0.271878719329834, 0.45503032207489014, -0.29451918601989746, -0.43583935499191284, 0.2431650310754776, -0.09123352915048599, -0.4101196527481079, 0.6242133975028992, -0.48350203037261963, -0.5738887786865234, 0.47639670968055725, 0.5303673148155212, 0.9210333228111267, -0.09764045476913452, 0.22816486656665802, 0.6214392781257629, 0.6562696099281311, 0.04919645935297012, 0.48374807834625244, -0.08335462212562561, -0.8204949498176575, -0.3352678120136261, -0.9391214847564697, -0.20322264730930328, 0.4661061763763428, -0.712231457233429, 0.2907928228378296, -0.1095343604683876, -0.30113375186920166, 0.26373639702796936, 0.1926838904619217, -0.5798817873001099, -0.0065115829929709435, 0.22465574741363525, 1.1820043325424194, -0.6097773909568787, 1.000510334968567, 0.8393514156341553, -0.3208605647087097, -0.5331298112869263, 0.08329654484987259, -0.262127161026001, -0.5234814286231995, 0.7972368001937866, 0.12291215360164642, 0.2949020564556122, -0.1021934449672699, -0.6461860537528992, -1.3163511753082275, 0.8019583225250244, 0.3941608965396881, -0.45622509717941284, -0.05990131199359894, -0.5035379528999329, 0.45110654830932617, -0.1901906430721283, 0.10055573284626007, 0.38359108567237854, 0.6240302920341492, -0.1918192356824875, -1.0193878412246704, -0.2238980382680893, -0.3686278462409973, 0.011466262862086296, 0.3646453619003296, -0.433480829000473, 1.0927767753601074, -0.2809216380119324, -0.2299620807170868, 0.35272693634033203, 0.6331095695495605, 0.14969521760940552, 0.19875188171863556, 0.2621323764324188, 0.9309241771697998, 0.6035435199737549, -0.2729175090789795, 0.8268594145774841, -0.4622695744037628, 0.6160222291946411, 1.0275940895080566, 0.01861562766134739, 1.145238995552063, 0.7026547193527222, -0.5457994937896729, 0.9177800416946411, 0.6132031679153442, -0.29599064588546753, 0.7717955112457275, 0.3583056330680847, -0.17213037610054016, -0.08755197376012802, 0.1470111459493637, -0.3326137661933899, 0.47340628504753113, 0.2843339741230011, -0.5761216282844543, -0.41552993655204773, -0.11575675010681152, 0.2287144660949707, -0.22422680258750916, -0.0809396356344223, 0.6369755268096924, 0.06957371532917023, -0.4624486565589905, 0.5203475952148438, 0.40487655997276306, 0.8437517285346985, -0.6967328786849976, -0.051338694989681244, -0.04254208132624626, -0.06303693354129791, -0.003476775484159589, -0.4787222146987915, 0.14487780630588531, 0.16996236145496368, -0.7146827578544617, -0.2894366383552551, 0.8133600950241089, -0.5623520612716675, -0.7336054444313049, 0.31838247179985046, 0.4303089678287506, 0.5583195686340332, 0.2058333456516266, -0.7280282378196716, -0.36909064650535583, -0.0442839115858078, -0.6362118124961853, 0.3158836364746094, 0.5014169216156006, 0.0035523371770977974, 0.45449087023735046, 0.511979341506958, 0.11485058069229126, 0.16094544529914856, -0.17770501971244812, 0.6495872139930725, -0.7195649147033691, -0.4084632396697998, -0.8464838862419128, 0.4308708906173706, -0.17199569940567017, -0.34673216938972473, 0.8529007434844971, 0.7276906967163086, 1.1317113637924194, -0.1713418960571289, 0.7273033857345581, -0.3083116412162781, 0.697037935256958, -0.35090887546539307, 0.6410081386566162, -0.49923762679100037, -0.19831080734729767, -0.3217014968395233, -0.8928605914115906, -0.1368645280599594, 0.992525041103363, -0.396413654088974, 0.11775193363428116, 0.7015359401702881, 0.6647590398788452, -0.09221447259187698, -0.3334175944328308, 0.24546284973621368, 0.46171045303344727, -0.10418614745140076, 0.3516058921813965, 0.5136079788208008, -0.5193504095077515, 0.29476964473724365, -0.42530351877212524, -0.022843385115265846, -0.4205320477485657, -0.962436318397522, -0.8923937678337097, -0.7685326337814331, -0.3446834683418274, -0.3126576840877533, 0.03479306399822235, 0.8834648132324219, 0.6927129626274109, -1.2228550910949707, -0.29643481969833374, 0.27275243401527405, 0.2166333645582199, -0.3004661202430725, -0.2497032731771469, 0.4409167170524597, -0.274122953414917, -0.7813549637794495, 0.29630735516548157, 0.3217386305332184, 0.17317497730255127, -0.1918487250804901, -0.04006889462471008, -0.8076187372207642, 0.13690067827701569, 0.5665644407272339, 0.17406736314296722, -0.8279463052749634, -0.06330370903015137, 0.030091391876339912, -0.3347935378551483, 0.15735267102718353, 0.3789743483066559, -0.7106847763061523, 0.39251473546028137, 0.5805048942565918, 0.23944996297359467, 0.7209032773971558, -0.2262689173221588, 0.39186084270477295, -0.7345483899116516, 0.0008900831453502178, 0.0028011745307594538, 0.588808000087738, 0.5951262712478638, -0.07907325029373169, 0.36934930086135864, 0.38285043835639954, -0.4044981896877289, -0.8436381220817566, -0.07707798480987549, -1.1928616762161255, -0.1678900271654129, 1.1264290809631348, -0.19941389560699463, -0.27484777569770813, -0.15358532965183258, -0.101743683218956, 0.39921849966049194, -0.6105966567993164, 0.6634346842765808, 1.17564857006073, 0.07688338309526443, 0.04147028550505638, -0.9217836260795593, 0.2930312156677246, -0.06380264461040497, -0.5553671717643738, -0.2069183737039566, 0.3559502065181732, 0.6465710401535034, 0.30087241530418396, 0.650787889957428, 0.07468488812446594, 0.00015473966777790338, -0.04116664081811905, 0.3758126497268677, 0.17369195818901062, -0.3345840573310852, -0.2128378450870514, 0.1254880428314209, -0.1820322722196579, -0.0958186462521553 ]
ogkalu/Comic-Diffusion
ogkalu
2023-05-10T17:20:27Z
14,437
470
diffusers
[ "diffusers", "text-to-image", "license:creativeml-openrail-m", "endpoints_compatible", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2022-10-28T15:27:32Z
--- license: creativeml-openrail-m tags: - text-to-image --- V2 is here. Trained on 6 styles at once, it allows anyone to create unique but consistent styles by mixing any number of the tokens. Even changing the order of the same list influences results so there's a lot to experiment with here. This was created so anyone could create their comic projects with ease and flexibility. It is the culmination of all my experimentation with dreambooth thus far. The tokens for V2 are - - charliebo artstyle - holliemengert artstyle - marioalberti artstyle - pepelarraz artstyle - andreasrocha artstyle - jamesdaly artstyle None of the artists used are affiliated with this. **Generated by V2:** ![Samples](https://huggingface.co/ogkalu/Comic-Diffusion/resolve/main/V2gen1.jpg) ![Samples](https://huggingface.co/ogkalu/Comic-Diffusion/resolve/main/V2gen2.jpg) ![Samples](https://huggingface.co/ogkalu/Comic-Diffusion/resolve/main/V2gen3.jpg) ![Samples](https://huggingface.co/ogkalu/Comic-Diffusion/resolve/main/V2gen4.jpg) V1 was trained solely on James Daly 3. He is **not** affiliated with this. The correct token for V1 is comicmay artsyle. **Generated by V1:** ![Samples](https://huggingface.co/ogkalu/Comic-Diffusion/resolve/main/generated2.jpg) ![Samples](https://huggingface.co/ogkalu/Comic-Diffusion/resolve/main/generated1.jpg) ![Samples](https://huggingface.co/ogkalu/Comic-Diffusion/resolve/main/generated3.jpg) ![Samples](https://huggingface.co/ogkalu/Comic-Diffusion/resolve/main/generated4.jpg) ![Samples](https://huggingface.co/ogkalu/Comic-Diffusion/resolve/main/generated5.jpg)
[ -0.2420252114534378, -0.404805064201355, 0.26509103178977966, 0.28882136940956116, -0.5316661596298218, 0.4001668095588684, 0.22032837569713593, -0.6751021146774292, 1.264353632926941, 0.5278884768486023, -0.865624189376831, -0.24741490185260773, -0.7074353098869324, 0.05519980937242508, -0.22499221563339233, 0.8400061130523682, -0.11939319968223572, 0.006867219693958759, 0.08981849253177643, -0.26152077317237854, -0.6896951794624329, -0.06899971514940262, -0.7037521004676819, -0.299591988325119, 0.44712185859680176, 0.5686313509941101, 0.771629810333252, 0.4483422338962555, 0.3585791289806366, 0.24169771373271942, -0.006287223659455776, -0.11233849823474884, -0.7140182852745056, 0.15905143320560455, -0.19060689210891724, -0.7422501444816589, -0.6284967064857483, 0.17802435159683228, 0.496462881565094, 0.2727195620536804, 0.019137045368552208, 0.2518081068992615, -0.26364460587501526, 0.7875843644142151, -0.4183962345123291, -0.04227006062865257, -0.5445727705955505, 0.3857482373714447, -0.40563371777534485, 0.04616091400384903, -0.241244837641716, -0.2234828919172287, -0.4613885283470154, -0.8104908466339111, 0.3402036428451538, 0.2074943333864212, 1.0228641033172607, 0.09775467962026596, -0.277328759431839, 0.10402336716651917, -0.4825078845024109, 0.3722755014896393, -0.2951744496822357, 0.3201674818992615, 0.2200070172548294, 0.53319251537323, -0.12470415979623795, -1.3235617876052856, -0.9491917490959167, 0.4946057200431824, 0.1489151567220688, 0.5407891273498535, -0.3122478723526001, -0.10057102143764496, 0.24893493950366974, 0.3456719219684601, -0.4842205345630646, 0.07014666497707367, -0.8683405518531799, -0.2527155578136444, 0.525285005569458, 0.1974286288022995, 0.19083218276500702, -0.3966302275657654, -0.762000560760498, -0.3312523663043976, -0.7437453866004944, 0.21879842877388, 0.7220250368118286, 0.09544036537408829, -0.3164082467556, 0.7996482253074646, 0.07767084985971451, 0.17371739447116852, 0.3109988868236542, -0.29193684458732605, 0.744576096534729, -0.5219979286193848, -0.09924447536468506, -0.09160682559013367, 0.9569927453994751, 0.7596470713615417, 0.07875154912471771, 0.06369335204362869, -0.13420376181602478, 0.002579045481979847, 0.553043782711029, -1.1687871217727661, -0.30787521600723267, 0.3868953287601471, -0.6207690834999084, -0.6770140528678894, 0.014179703779518604, -0.646591067314148, -0.7508814334869385, -0.2855200469493866, 0.40231335163116455, -0.5290474891662598, -0.8824838399887085, 0.21179631352424622, -0.6775870323181152, 0.24205344915390015, 0.3164384961128235, -0.7038887739181519, 0.1565113365650177, 0.5796329975128174, 0.8550165891647339, -0.1018788293004036, -0.005414837040007114, -0.23478539288043976, -0.2437358796596527, -0.7980496287345886, 0.5059803128242493, -0.37326058745384216, -0.07787930965423584, 0.08497602492570877, 0.30134129524230957, 0.2102448046207428, -0.6388390064239502, 0.3120647966861725, -0.35006651282310486, -0.09037213772535324, -0.3248063027858734, -0.4155133366584778, -0.12363728880882263, -0.2546713650226593, -0.7484983205795288, 0.9260725378990173, 0.48078733682632446, -0.8452268242835999, 0.6859347820281982, -0.43470606207847595, -0.27134495973587036, 0.2773851454257965, -0.22390544414520264, -0.37115421891212463, 0.10562905669212341, -0.4576728641986847, 0.37723976373672485, 0.1054442822933197, -0.1499546766281128, -0.596523642539978, -0.5977632403373718, -0.20442645251750946, 0.147043839097023, 1.0983961820602417, 0.2762419879436493, -0.5991304516792297, 0.13213469088077545, -0.8940805792808533, 0.046454742550849915, 0.7078170776367188, 0.25438567996025085, -0.10184972733259201, -0.380545973777771, 0.45379438996315, 0.4735413193702698, 0.12196119129657745, -0.5813350677490234, 0.49396076798439026, -0.20420525968074799, 0.12386799603700638, 0.9536345601081848, 0.08454670011997223, 0.059561192989349365, -0.5250450968742371, 0.9150190949440002, 0.14564163982868195, 0.12920279800891876, 0.20373426377773285, -0.9212245345115662, -0.9080995321273804, -0.13362820446491241, -0.15800102055072784, 0.5330536365509033, -0.9403537511825562, 0.26133084297180176, 0.11247186362743378, -0.7518549561500549, -0.7441908717155457, 0.024275684729218483, 0.37805312871932983, -0.033410489559173584, 0.21857181191444397, -0.8402612805366516, -0.7832172513008118, -0.9298461675643921, -0.1428728848695755, -0.35085809230804443, 0.20183537900447845, -0.17316678166389465, 0.4098011553287506, -0.22006306052207947, 0.9671222567558289, -0.1918986290693283, 0.03074903041124344, -0.37831011414527893, 0.06875254213809967, 0.5467144250869751, 0.49779194593429565, 1.143328070640564, -0.6598387360572815, -0.38542628288269043, -0.32280203700065613, -0.4813832640647888, -0.13497833907604218, -0.06822288781404495, -0.26870062947273254, -0.0004573999613057822, 0.36741888523101807, -0.5553976893424988, 0.6545989513397217, 0.3458043932914734, -0.7491158843040466, 0.9199927449226379, 0.03853010758757591, 0.14785443246364594, -1.536534070968628, -0.16268162429332733, -0.05769539996981621, -0.3733827471733093, -0.4950326383113861, 0.32464927434921265, -0.0822884663939476, 0.06654933840036392, -0.6149176955223083, 0.7859094738960266, -0.2471437007188797, 0.07693728804588318, -0.3091300427913666, -0.07222853600978851, 0.09256678074598312, 0.3937358558177948, -0.09850724786520004, 0.5761100649833679, 0.7861710786819458, -0.2386917769908905, 0.6182011961936951, 0.24591754376888275, -0.35627812147140503, 0.7497369050979614, -0.8450167775154114, 0.5614147186279297, -0.39810842275619507, 0.3095810115337372, -1.5704773664474487, -0.2293843924999237, 0.8436917066574097, -0.38152870535850525, 0.5003240704536438, -0.30417075753211975, -0.874498724937439, -0.7472098469734192, -0.38281387090682983, 0.48254281282424927, 0.9585310220718384, -0.53549724817276, 0.1780414879322052, 0.23035265505313873, 0.07110131531953812, -0.7341011166572571, -0.5826888084411621, -0.03652174398303032, -0.2099590003490448, -0.6228416562080383, 0.5367907881736755, -0.41436249017715454, -0.33569055795669556, -0.09765417128801346, -0.4600505530834198, 0.09878326952457428, -0.2885461747646332, 0.5799198746681213, 0.09250225126743317, -0.1771724969148636, -0.21358920633792877, 0.32568541169166565, 0.045843515545129776, -0.023430023342370987, -0.44516822695732117, 0.6799116134643555, -0.12578687071800232, -0.3723204433917999, -0.7075980305671692, 0.23825594782829285, 0.6368470788002014, 0.10015381127595901, 0.60806804895401, 1.2762857675552368, -0.44717761874198914, 0.12728333473205566, -0.6540993452072144, -0.06676331907510757, -0.5701946020126343, 0.2033398300409317, -0.5517733097076416, -0.8945659399032593, 0.5005168914794922, 0.10454787313938141, 0.30413684248924255, 0.7162850499153137, 0.6474520564079285, -0.21911224722862244, 0.6980794072151184, 0.6325830817222595, 0.18057411909103394, 0.6610704064369202, -0.6234065890312195, 0.16274161636829376, -0.4331916570663452, -0.4351356029510498, -0.1094740778207779, -0.8193537592887878, -0.68538498878479, -0.6855099201202393, 0.09246251732110977, 0.4639038145542145, -0.23888398706912994, 0.84567791223526, -0.4930902421474457, 0.5545530319213867, 0.42635059356689453, 0.19299384951591492, -0.05391592159867287, 0.2891938388347626, -0.28258180618286133, -0.05039563775062561, -0.41222503781318665, -0.005600054748356342, 1.1400246620178223, 0.39781510829925537, 0.5990558862686157, 0.21387828886508942, 1.03872549533844, 0.08397027105093002, -0.058794304728507996, -0.9006798267364502, 0.6647225022315979, 0.11169050633907318, -0.6618707776069641, 0.017621181905269623, 0.053807102143764496, -1.0611809492111206, 0.22746041417121887, -0.34604325890541077, -1.0126123428344727, 0.3588549494743347, 0.06023464724421501, -0.03348036855459213, 0.46512919664382935, -0.5553082227706909, 0.6937710046768188, 0.31646034121513367, -0.5817633867263794, -0.4377923905849457, -1.0225942134857178, 0.2186746597290039, -0.0670095831155777, 0.17191971838474274, -0.23296958208084106, 0.09679395705461502, 0.8489595651626587, -0.686704158782959, 0.9061413407325745, -0.14848142862319946, 0.11792045086622238, 0.617307722568512, 0.18438398838043213, 0.5271119475364685, 0.18117712438106537, 0.10226558893918991, 0.07026641070842743, -0.01662910170853138, -0.5798547267913818, -0.3476940095424652, 0.42178675532341003, -0.850336492061615, -0.5154383182525635, -0.28681817650794983, -0.1161857545375824, 0.04562637209892273, 0.4284539520740509, 0.8627222180366516, 0.6208743453025818, 0.21916240453720093, 0.30799275636672974, 0.4619637429714203, 0.19079017639160156, 0.5193266272544861, 0.10367738455533981, -0.5276643633842468, -0.6331221461296082, 0.6938468217849731, -0.08814632892608643, 0.4474291205406189, -0.005512292962521315, 0.27462175488471985, -0.48078423738479614, -0.40669170022010803, -0.4668949246406555, 0.4870491921901703, -0.8635947704315186, -0.143780916929245, -0.5713728070259094, -0.17985759675502777, -0.7589406967163086, -0.2312936633825302, -0.6589858531951904, -0.7577028870582581, -0.19614440202713013, -0.22411541640758514, 0.7742260694503784, 1.1004269123077393, -0.30855318903923035, 0.21344618499279022, -0.1998620480298996, 0.5404186844825745, 0.30596935749053955, 0.3554888963699341, -0.47665122151374817, -0.5134423971176147, -0.00821305438876152, -0.34958088397979736, -0.3497708737850189, -1.1995617151260376, 0.16384388506412506, -0.2224401980638504, 0.3493327796459198, 0.6283892393112183, -0.19387857615947723, 0.7583183646202087, -0.48332178592681885, 0.9804819822311401, 0.9016199111938477, -0.478463739156723, 0.6678370833396912, -0.5427612662315369, -0.08101370185613632, 0.7199389934539795, 0.38430216908454895, -0.7398188710212708, -0.5479333996772766, -1.073972463607788, -0.9741037487983704, 0.6889119148254395, 0.48384109139442444, 0.2905727028846741, 0.014776746742427349, 0.4440712034702301, 0.3679412007331848, 0.35419756174087524, -0.6030341386795044, -0.9301027655601501, -0.7050415277481079, 0.0852663666009903, 0.28542226552963257, -0.18532070517539978, -0.10509993135929108, -0.5453017950057983, 0.6550652384757996, -0.22277086973190308, 0.46388280391693115, -0.03267836570739746, 0.4431488811969757, -0.3124944865703583, -0.18033763766288757, 0.2744166851043701, 0.8790626525878906, -0.20399531722068787, -0.15681251883506775, -0.35140562057495117, -0.832793653011322, 0.146033376455307, -0.14981216192245483, 0.12322413176298141, 0.38559502363204956, 0.12669719755649567, 1.1438757181167603, -0.19391362369060516, -0.3330895006656647, 0.7847765684127808, -0.04381832852959633, -0.3982391059398651, -0.8650226593017578, 0.349119633436203, -0.06812439113855362, 0.6206237077713013, 0.13213159143924713, 0.5034274458885193, 0.10576402395963669, -0.6089217066764832, 0.2685122489929199, 0.11527039855718613, -0.5420337319374084, -0.3708859980106354, 1.0457905530929565, -0.22571776807308197, -0.3854794502258301, 0.4626036584377289, -0.6882058382034302, -0.10782424360513687, 0.9398544430732727, 1.0209077596664429, 1.0164988040924072, 0.01075458899140358, 0.36939772963523865, 0.6844692230224609, 0.15757109224796295, 0.0061238608323037624, 0.7727745771408081, 0.31975075602531433, -0.6011735796928406, -0.22052763402462006, -0.48239636421203613, -0.3953099250793457, 0.28908663988113403, -0.6496891975402832, 0.9233522415161133, -0.672792375087738, -0.3113935589790344, -0.15062810480594635, -0.1191810816526413, -1.0661319494247437, 0.17091059684753418, 0.12481895089149475, 1.195729374885559, -0.7999504804611206, 0.6504353284835815, 1.0721515417099, -0.4210863411426544, -1.079698920249939, -0.018543396145105362, 0.5049505233764648, -1.164586067199707, 0.4460936188697815, 0.37187913060188293, 0.1121014803647995, 0.0037151582073420286, -0.6651347875595093, -0.7641910910606384, 1.3205870389938354, 0.1576547920703888, -0.4822116494178772, 0.11149539798498154, -0.2083682268857956, 0.48354223370552063, -0.27871179580688477, 0.39989498257637024, 0.4809570014476776, 0.22643718123435974, 0.7242254614830017, -0.9412645697593689, 0.06901241838932037, -0.7862715125083923, 0.09939965605735779, -0.0014506614534184337, -1.0433058738708496, 0.657285213470459, -0.6472238302230835, -0.1995101273059845, 0.37642550468444824, 0.8797647356987, 0.5252429246902466, 0.14962799847126007, 0.8162264227867126, 0.6172539591789246, 0.8256618976593018, -0.06997157633304596, 1.0532219409942627, -0.39844968914985657, 0.42148032784461975, 0.7469475269317627, 0.1949218213558197, 0.5192788243293762, 0.3688833713531494, -0.39577728509902954, 0.8818135261535645, 1.0122883319854736, 0.08565530925989151, 0.5410967469215393, 0.4492412209510803, 0.015786102041602135, -0.1726531833410263, -0.08601713180541992, -0.7675045728683472, 0.35913726687431335, 0.16970300674438477, -0.1701069176197052, 0.26354891061782837, -0.06985626369714737, 0.3938451409339905, -0.47828635573387146, -0.14680889248847961, 0.3820466995239258, 0.05082112178206444, -0.22439150512218475, 0.7606557011604309, -0.1482994258403778, 0.6895432472229004, -0.6958329081535339, -0.19982635974884033, -0.3746684491634369, -0.23962359130382538, -0.2432033121585846, -0.9890411496162415, -0.009816909208893776, -0.37599682807922363, 0.10291623324155807, -0.44137611985206604, 0.8405621647834778, -0.15599538385868073, -0.5414113998413086, 0.16095848381519318, 0.29872068762779236, 0.43662479519844055, 0.24203868210315704, -0.5910944938659668, 0.05286766216158867, -0.2824566066265106, -0.2519747316837311, 0.16383452713489532, 0.3470875918865204, 0.39734214544296265, 0.22261986136436462, 0.20199322700500488, 0.13480010628700256, -0.03641211614012718, 0.43113064765930176, 0.7015071511268616, -0.4072743058204651, -0.5737018585205078, -0.5635353326797485, 0.5611799359321594, -0.21305102109909058, -0.6719771027565002, 0.3622591197490692, 0.5667945742607117, 0.9518551230430603, -0.32028472423553467, 0.7496241927146912, -0.39110133051872253, 0.11776267737150192, -0.49759095907211304, 0.7436600923538208, -1.231697916984558, -0.39950600266456604, -0.6557938456535339, -0.9310028553009033, 0.09142271429300308, 0.4788690507411957, 0.4394996762275696, 0.028731416910886765, 0.8726494312286377, 0.6298047304153442, 0.04338231682777405, 0.06927495449781418, 0.012518494389951229, 0.05650632083415985, 0.0598117858171463, 0.22400972247123718, 0.761148989200592, -0.5042402744293213, 0.24575485289096832, -0.5472689270973206, -0.18211786448955536, -0.3176433742046356, -0.6992971301078796, -1.0304439067840576, -0.8319433927536011, -0.4817296266555786, -1.0132428407669067, -0.026080956682562828, 1.2353113889694214, 0.9198727011680603, -0.6237516403198242, -0.035870667546987534, -0.028434639796614647, 0.12089502811431885, -0.5108292698860168, -0.3223571181297302, 0.11281777173280716, 0.0015219521010294557, -0.9773100018501282, 0.48364385962486267, 0.38272932171821594, 0.31626978516578674, -0.047889016568660736, 0.20270028710365295, 0.565512478351593, -0.17493924498558044, 0.6321029663085938, 0.1404614895582199, -0.8064987659454346, -0.6231048703193665, -0.0784558579325676, -0.08602245151996613, 0.19410130381584167, 0.8652616143226624, -0.7558995485305786, 0.7084178328514099, 0.8795444965362549, 0.2734547257423401, 0.5480351448059082, -0.30710330605506897, 0.13533063232898712, -0.8941981196403503, 0.22784623503684998, -0.04924862086772919, 0.6729011535644531, -0.04695314168930054, -0.2668803930282593, 0.8177562355995178, 1.164225459098816, -0.13347886502742767, -0.5396684408187866, 0.3948182761669159, -1.4411702156066895, -0.12115515023469925, 1.4167336225509644, 0.3796282112598419, 0.05789148434996605, 0.003064171178266406, -0.38621798157691956, 0.2066885232925415, -0.23355159163475037, 0.3644700348377228, 0.5843468308448792, -0.27579301595687866, -0.16969895362854004, -0.7720640301704407, 0.3369944095611572, 0.1386973112821579, -0.49620217084884644, -0.4540266990661621, 0.3497585356235504, 0.5523641109466553, 0.3494066596031189, 1.1604657173156738, -0.13657255470752716, 0.3172515034675598, 0.3602806031703949, 0.14583870768547058, -0.057166654616594315, -0.6199256777763367, 0.16780929267406464, 0.1449461132287979, -0.11632240563631058, -0.2916622757911682 ]
Jorgeutd/bert-large-uncased-finetuned-ner
Jorgeutd
2023-11-06T14:28:33Z
14,393
5
transformers
[ "transformers", "pytorch", "safetensors", "bert", "token-classification", "generated_from_trainer", "en", "dataset:conll2003", "base_model:bert-large-uncased", "license:apache-2.0", "model-index", "autotrain_compatible", "endpoints_compatible", "region:us" ]
token-classification
2022-03-02T23:29:04Z
--- language: en license: apache-2.0 tags: - generated_from_trainer datasets: - conll2003 metrics: - precision - recall - f1 - accuracy widget: - text: My name is Scott and I live in Columbus. - text: My name is Scott and I am calling from Buffalo, NY. I would like to file a complain with United Airlines. - text: Apple was founded in 1976 by Steve Jobs, Steve Wozniak and Ronald Wayne. base_model: bert-large-uncased model-index: - name: bert-large-uncased-finetuned-ner results: - task: type: token-classification name: Token Classification dataset: name: conll2003 type: conll2003 args: conll2003 metrics: - type: precision value: 0.9504719600222099 name: Precision - type: recall value: 0.9574896520863632 name: Recall - type: f1 value: 0.9539679001337494 name: F1 - type: accuracy value: 0.9885618059637473 name: Accuracy --- <!-- 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. --> # bert-large-uncased-finetuned-ner This model is a fine-tuned version of [bert-large-uncased](https://huggingface.co/bert-large-uncased) on the conll2003 dataset. It achieves the following results on the evaluation set: - Loss: 0.0778 - Precision: 0.9505 - Recall: 0.9575 - F1: 0.9540 - Accuracy: 0.9886 ## Model description More information needed #### Limitations and bias This model is limited by its training dataset of entity-annotated news articles from a specific span of time. This may not generalize well for all use cases in different domains. Furthermore, the model occassionally tags subword tokens as entities and post-processing of results may be necessary to handle those cases. #### How to use You can use this model with Transformers *pipeline* for NER. ```python from transformers import pipeline from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Jorgeutd/bert-large-uncased-finetuned-ner") model = AutoModelForTokenClassification.from_pretrained("Jorgeutd/bert-large-uncased-finetuned-ner") nlp = pipeline("ner", model=model, tokenizer=tokenizer) example = "My name is Scott and I live in Ohio" ner_results = nlp(example) print(ner_results) ``` ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 2e-05 - train_batch_size: 16 - eval_batch_size: 64 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 10 ### Training results | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:| | 0.1997 | 1.0 | 878 | 0.0576 | 0.9316 | 0.9257 | 0.9286 | 0.9837 | | 0.04 | 2.0 | 1756 | 0.0490 | 0.9400 | 0.9513 | 0.9456 | 0.9870 | | 0.0199 | 3.0 | 2634 | 0.0557 | 0.9436 | 0.9540 | 0.9488 | 0.9879 | | 0.0112 | 4.0 | 3512 | 0.0602 | 0.9443 | 0.9569 | 0.9506 | 0.9881 | | 0.0068 | 5.0 | 4390 | 0.0631 | 0.9451 | 0.9589 | 0.9520 | 0.9882 | | 0.0044 | 6.0 | 5268 | 0.0638 | 0.9510 | 0.9567 | 0.9538 | 0.9885 | | 0.003 | 7.0 | 6146 | 0.0722 | 0.9495 | 0.9560 | 0.9527 | 0.9885 | | 0.0016 | 8.0 | 7024 | 0.0762 | 0.9491 | 0.9595 | 0.9543 | 0.9887 | | 0.0018 | 9.0 | 7902 | 0.0769 | 0.9496 | 0.9542 | 0.9519 | 0.9883 | | 0.0009 | 10.0 | 8780 | 0.0778 | 0.9505 | 0.9575 | 0.9540 | 0.9886 | ### Framework versions - Transformers 4.16.2 - Pytorch 1.8.1+cu111 - Datasets 1.18.3 - Tokenizers 0.11.0
[ -0.7076784372329712, -0.6690831184387207, 0.17153258621692657, 0.11409886181354523, -0.12642736732959747, -0.3048979341983795, -0.24797773361206055, -0.2059122771024704, 0.5237990021705627, 0.36595529317855835, -0.6498593091964722, -0.6690146923065186, -0.7889363765716553, -0.09015989303588867, -0.26655226945877075, 1.1146516799926758, 0.16823628544807434, -0.025490006431937218, 0.04993431270122528, -0.012212956324219704, -0.2796260714530945, -0.5040742754936218, -0.7579251527786255, -0.5250157117843628, 0.3092418313026428, 0.331672340631485, 0.929945170879364, 0.6336179971694946, 0.4923335313796997, 0.36164504289627075, -0.38336795568466187, -0.05293668434023857, -0.27680426836013794, -0.4096030294895172, 0.11473100632429123, -0.40854254364967346, -0.4856838881969452, 0.036274462938308716, 0.6314725875854492, 0.6904091835021973, -0.14537957310676575, 0.43103376030921936, 0.10418069362640381, 0.634130597114563, -0.4238612949848175, 0.21584585309028625, -0.526192307472229, 0.28134867548942566, -0.13428261876106262, -0.2702349126338959, -0.1417759507894516, -0.25894439220428467, 0.3183600604534149, -0.5801472067832947, 0.5216834545135498, -0.05036654323339462, 1.4369587898254395, 0.30520546436309814, -0.32222336530685425, -0.000435860943980515, -0.6444258093833923, 0.8639922142028809, -0.9459173083305359, 0.2576651871204376, 0.5085733532905579, 0.11159029603004456, -0.20278732478618622, -0.9035455584526062, -0.7547515630722046, 0.1529684066772461, -0.25063225626945496, 0.21349292993545532, -0.26214051246643066, -0.1719430685043335, 0.5944318771362305, 0.6280429363250732, -0.6164032220840454, 0.1729610115289688, -0.5094612836837769, -0.2958126962184906, 0.6293905973434448, 0.21266667544841766, -0.02740004099905491, -0.4996626675128937, -0.46784088015556335, -0.24783731997013092, -0.31610798835754395, 0.32238444685935974, 0.5189278721809387, 0.2979903817176819, -0.35008731484413147, 0.571532130241394, -0.23108184337615967, 0.640062689781189, 0.18948452174663544, -0.05870899558067322, 0.8357172012329102, -0.16411557793617249, -0.3702200651168823, 0.00973724015057087, 0.9668499827384949, 0.6392130255699158, 0.18520399928092957, 0.09802533686161041, -0.2966856062412262, -0.24353283643722534, 0.16679367423057556, -1.018109679222107, -0.4691433310508728, 0.37010055780410767, -0.6181086301803589, -0.3007184565067291, 0.012956696562469006, -0.7586063146591187, 0.15045958757400513, -0.4748076796531677, 0.680390477180481, -0.37309888005256653, -0.2024657279253006, 0.048159174621105194, -0.1988484263420105, 0.3391750752925873, 0.16622281074523926, -1.1321942806243896, 0.2900252938270569, 0.46955910325050354, 0.7863475680351257, 0.1681211143732071, -0.1936459243297577, -0.10839653015136719, 0.00774315046146512, -0.3578280806541443, 0.7351141571998596, -0.17356687784194946, -0.33659738302230835, -0.027720939368009567, 0.43474167585372925, -0.1278235763311386, -0.3655601441860199, 0.7333550453186035, -0.4228455126285553, 0.3814263641834259, -0.25361451506614685, -0.5934102535247803, -0.20245495438575745, 0.4090300500392914, -0.6199114322662354, 1.3334980010986328, 0.16990132629871368, -0.9916422367095947, 0.5991947650909424, -0.6375726461410522, -0.16114550828933716, -0.10866577923297882, -0.05956937372684479, -0.8734562993049622, -0.14326490461826324, 0.42729800939559937, 0.4305983781814575, -0.2815306484699249, 0.34622400999069214, -0.17913885414600372, -0.46816593408584595, -0.021236907690763474, -0.5403878688812256, 1.1447288990020752, 0.14569249749183655, -0.6649956703186035, 0.07764848321676254, -1.0696359872817993, 0.24217037856578827, 0.29805779457092285, -0.41949915885925293, -0.03575904667377472, -0.3148776888847351, 0.2881472408771515, 0.22336287796497345, 0.4514274001121521, -0.6114932298660278, 0.18826082348823547, -0.46100538969039917, 0.6489417552947998, 0.7897229790687561, 0.0821102187037468, 0.34509536623954773, -0.4691922068595886, 0.1865226775407791, 0.27686312794685364, 0.3226388990879059, 0.061984214931726456, -0.5280741453170776, -1.0852850675582886, -0.2760147452354431, 0.4115888476371765, 0.4821932017803192, -0.26807937026023865, 1.0244957208633423, -0.16009433567523956, -0.6926720142364502, -0.4399382174015045, -0.03749992698431015, 0.12331798672676086, 0.6849031448364258, 0.5418115258216858, -0.08496185392141342, -0.5947966575622559, -1.180306077003479, 0.11095423251390457, 0.05701661482453346, 0.09636091440916061, 0.34681203961372375, 0.8372472524642944, -0.41446399688720703, 1.0038632154464722, -0.6172016263008118, -0.541672945022583, -0.026306329295039177, 0.10241686552762985, 0.8052096366882324, 0.8180806040763855, 0.7591910362243652, -0.6608185172080994, -0.40721750259399414, -0.14689724147319794, -0.7661991715431213, 0.3795805275440216, -0.1405729502439499, -0.15633082389831543, 0.13487784564495087, 0.41742604970932007, -0.7052233219146729, 0.7467439770698547, 0.5390185117721558, -0.41094696521759033, 0.8084502220153809, -0.6762934923171997, -0.025810424238443375, -1.1637686491012573, 0.33211082220077515, 0.016886167228221893, -0.03284424915909767, -0.41367027163505554, -0.18835780024528503, 0.07006169110536575, -0.11103066802024841, -0.3339518904685974, 0.6710526943206787, -0.34879446029663086, 0.11017803102731705, -0.0032313389237970114, -0.23388874530792236, 0.01733212359249592, 0.7199872732162476, 0.17478059232234955, 0.8570709228515625, 0.7122650146484375, -0.5952559113502502, 0.27717041969299316, 0.3699004352092743, -0.6132034659385681, 0.4096343219280243, -0.922264814376831, -0.0144418990239501, -0.07372655719518661, 0.08838120847940445, -1.044769287109375, -0.28480470180511475, 0.15577459335327148, -0.5396685004234314, 0.2902386486530304, -0.12447798997163773, -0.5039315819740295, -0.8184335231781006, -0.2443550080060959, 0.0699000209569931, 0.5250405073165894, -0.511543869972229, 0.48223891854286194, 0.14075370132923126, 0.09656205773353577, -0.7576556205749512, -0.9740588665008545, -0.025838201865553856, -0.11731021106243134, -0.6107292771339417, 0.46154001355171204, -0.09014923125505447, 0.07757872343063354, 0.11152739077806473, -0.15984229743480682, -0.28425130248069763, -0.07395248860120773, 0.18305061757564545, 0.2842598259449005, -0.2427629977464676, 0.005109828896820545, -0.06801140308380127, -0.36938074231147766, 0.17372681200504303, -0.15501627326011658, 0.6935307383537292, -0.251191109418869, -0.2830483615398407, -0.7515223622322083, 0.08727554231882095, 0.5283435583114624, -0.2423820197582245, 0.9866344928741455, 0.8908000588417053, -0.4844852685928345, 0.06201857700943947, -0.5764361619949341, -0.3418653607368469, -0.506303608417511, 0.3662950098514557, -0.39645373821258545, -0.7020580172538757, 0.9071763157844543, 0.12310375273227692, 0.25693586468696594, 1.0013914108276367, 0.5258789658546448, -0.16267523169517517, 1.1059335470199585, 0.3101350665092468, -0.009893915615975857, 0.3201450705528259, -0.9691482782363892, 0.11020529270172119, -0.886652946472168, -0.6039278507232666, -0.5088644027709961, -0.5660631656646729, -0.6576089262962341, -0.07141425460577011, 0.20640258491039276, 0.0752120241522789, -0.820202648639679, 0.2802765369415283, -0.90487140417099, 0.3410976529121399, 1.0996932983398438, 0.37168312072753906, 0.045088667422533035, -0.052730608731508255, -0.3392142653465271, -0.2279183566570282, -0.7269934415817261, -0.43820318579673767, 1.3174649477005005, 0.33536696434020996, 0.6976990103721619, -0.038336217403411865, 0.805378794670105, 0.09356393665075302, -0.016950290650129318, -0.6701321005821228, 0.2597035765647888, -0.10368408262729645, -1.1291180849075317, -0.3279290497303009, -0.36729174852371216, -1.126611590385437, 0.27886900305747986, -0.5441739559173584, -0.847054123878479, 0.5060807466506958, 0.1811927706003189, -0.5891109704971313, 0.5801528692245483, -0.703249454498291, 1.0441890954971313, -0.21352869272232056, -0.3207531273365021, 0.06201544776558876, -0.8327051997184753, 0.12520980834960938, -0.021897409111261368, -0.035723987966775894, -0.10558132827281952, 0.17403347790241241, 0.9403149485588074, -0.7119152545928955, 0.7179061770439148, -0.2210415005683899, 0.2654368579387665, 0.324653297662735, -0.1790059357881546, 0.6876299977302551, 0.2203405499458313, -0.18530258536338806, 0.21759562194347382, 0.09926942735910416, -0.5731638073921204, -0.34889137744903564, 0.9845054149627686, -1.2225943803787231, -0.6417079567909241, -0.731339156627655, -0.6253966689109802, 0.1906244307756424, 0.5310424566268921, 0.6587766408920288, 0.727257251739502, 0.10759495943784714, 0.4446714520454407, 0.7644301056861877, -0.1742142289876938, 0.714306652545929, 0.2369493544101715, -0.020795803517103195, -0.7201530933380127, 0.7252770662307739, 0.18548181653022766, 0.12029410898685455, 0.12067689001560211, 0.28854089975357056, -0.5316677093505859, -0.43147245049476624, -0.3664042055606842, 0.21260932087898254, -0.5676825046539307, -0.24079227447509766, -0.7006050944328308, -0.48732641339302063, -0.6634421944618225, -0.3346641957759857, -0.4377625286579132, -0.35039639472961426, -0.5332092046737671, -0.04449241980910301, 0.6325343251228333, 0.45487111806869507, -0.09736884385347366, 0.38301944732666016, -0.6809922456741333, 0.13205184042453766, 0.24237777292728424, 0.3296107351779938, 0.05446966364979744, -0.7428917288780212, -0.12262227386236191, 0.07079590111970901, -0.36973264813423157, -0.5366274118423462, 0.6618824601173401, 0.08437363803386688, 0.6436368823051453, 0.6032742261886597, 0.02944759838283062, 1.052415370941162, -0.4095647931098938, 0.8238285779953003, 0.3869987428188324, -0.8324753642082214, 0.6068524122238159, -0.33930832147598267, 0.5018041729927063, 0.7374032735824585, 0.40908998250961304, -0.37527206540107727, -0.23346015810966492, -1.2416634559631348, -1.0310535430908203, 0.8790527582168579, 0.3446904122829437, 0.20947173237800598, -0.006988082081079483, 0.32607242465019226, -0.28207677602767944, 0.29105716943740845, -1.0205985307693481, -0.767361044883728, -0.31767532229423523, -0.11500722169876099, -0.2301664799451828, -0.1825401484966278, -0.16741035878658295, -0.7413712739944458, 0.7617601156234741, 0.1981186419725418, 0.5500540733337402, 0.41765594482421875, 0.10899227112531662, -0.0060346401296556, 0.08323348313570023, 0.5567885637283325, 0.8523316383361816, -0.6644270420074463, 0.045437462627887726, 0.20655247569084167, -0.5780446529388428, -0.043359432369470596, 0.3259091377258301, -0.3599865734577179, 0.1879899948835373, 0.37172451615333557, 0.7752547860145569, 0.25073176622390747, -0.09238065034151077, 0.6661008596420288, 0.06782998144626617, -0.6059510111808777, -0.7800021767616272, -0.05843190476298332, 0.027431165799498558, 0.33954674005508423, 0.5250478386878967, 0.4496307671070099, 0.07722935825586319, -0.44981685280799866, 0.2116975337266922, 0.4113059639930725, -0.5578910708427429, -0.06253597885370255, 0.9642771482467651, 0.07238323241472244, -0.24345915019512177, 0.911979079246521, -0.10744428634643555, -0.5359742641448975, 0.9714464545249939, 0.6255555748939514, 0.6979542374610901, -0.05178292095661163, 0.02190464548766613, 0.9989650845527649, 0.5043838620185852, -0.01418286468833685, 0.36885690689086914, 0.18049722909927368, -0.48944568634033203, -0.18540792167186737, -0.7282553911209106, -0.15183310210704803, 0.5328152179718018, -0.9075959920883179, 0.41728460788726807, -0.5749676823616028, -0.591933012008667, 0.07889863848686218, 0.2004261165857315, -0.9568408131599426, 0.5473422408103943, -0.02390998601913452, 1.1979831457138062, -0.9082399606704712, 0.7727792859077454, 0.6173129677772522, -0.5975745916366577, -1.0759458541870117, -0.2468346357345581, -0.22075393795967102, -0.8261374831199646, 0.6860713958740234, 0.2334410399198532, 0.40759924054145813, 0.17501771450042725, -0.544585645198822, -1.1354186534881592, 1.177653193473816, 0.04133544862270355, -0.5880017876625061, 0.03801677003502846, 0.12566685676574707, 0.5315751433372498, -0.03289657458662987, 0.5776728987693787, 0.4812029302120209, 0.5084877014160156, 0.16192428767681122, -0.8805325031280518, 0.09585603326559067, -0.3398084044456482, 0.03171130642294884, 0.40750086307525635, -0.8185575008392334, 1.1852922439575195, -0.26664918661117554, 0.2952135503292084, 0.12153816223144531, 0.7546856999397278, 0.23402374982833862, 0.1769004762172699, 0.4344416856765747, 1.0307056903839111, 0.8192510604858398, -0.3810521960258484, 0.8944342136383057, -0.4358944892883301, 0.8963274359703064, 1.0654977560043335, 0.2485434114933014, 0.8728989958763123, 0.5055842399597168, -0.3485233783721924, 0.5061759948730469, 0.8885228037834167, -0.3989432752132416, 0.6061213612556458, 0.1008177101612091, -0.12734615802764893, -0.3709496557712555, 0.25106146931648254, -0.7765287160873413, 0.240849107503891, 0.2734886109828949, -0.6843267679214478, -0.31073132157325745, -0.19909071922302246, 0.045085277408361435, -0.20353303849697113, -0.43168240785598755, 0.48845720291137695, -0.19078780710697174, -0.44566988945007324, 0.774531364440918, -0.12024156749248505, 0.7364616990089417, -0.5870762467384338, 0.05878465995192528, -0.055231865495443344, 0.4773187041282654, -0.4951149821281433, -1.0852464437484741, 0.23909549415111542, -0.1592685729265213, -0.2693125307559967, 0.07967084646224976, 0.45212942361831665, -0.2174902856349945, -0.7883868217468262, 0.05778238922357559, 0.08843618631362915, 0.13426128029823303, 0.14979352056980133, -0.9872804880142212, -0.23706400394439697, 0.07900316268205643, -0.6030492186546326, 0.07103227823972702, 0.5198763012886047, 0.20772750675678253, 0.5406553149223328, 0.8700370192527771, -0.07689052075147629, 0.1697455644607544, 0.002214214764535427, 1.0734107494354248, -0.7643061876296997, -0.5239877700805664, -0.6673049330711365, 0.4784161448478699, -0.2706310451030731, -0.8313037753105164, 0.802953839302063, 0.9229882955551147, 0.7664746046066284, -0.11384672671556473, 0.5590634942054749, -0.310736745595932, 0.504714846611023, -0.46897581219673157, 0.7983531951904297, -0.6986251473426819, -0.19711777567863464, -0.24291521310806274, -1.0704364776611328, -0.44753843545913696, 0.9237215518951416, -0.48865246772766113, 0.2277456372976303, 0.6181256771087646, 0.8212260007858276, 0.021973004564642906, 0.011940808966755867, 0.03172846511006355, 0.1877783238887787, 0.15429553389549255, 0.533480703830719, 0.46470141410827637, -0.7905027866363525, 0.5861542224884033, -0.782140851020813, -0.05719893053174019, -0.19138553738594055, -0.8017687201499939, -1.0474542379379272, -0.528373658657074, -0.4597322642803192, -0.46880340576171875, -0.21876223385334015, 1.0288574695587158, 0.8577142357826233, -0.8060208559036255, -0.07602030783891678, -0.20710286498069763, -0.25105226039886475, -0.1581302285194397, -0.26753729581832886, 0.8211812376976013, -0.2577727437019348, -0.9159952998161316, -0.15977081656455994, -0.18958687782287598, 0.3614192008972168, -0.11248999089002609, -0.02070622146129608, -0.36720484495162964, -0.16796831786632538, 0.38291677832603455, 0.1527935266494751, -0.7161881327629089, -0.39976364374160767, 0.014428714290261269, -0.14502359926700592, 0.28413450717926025, 0.1684960275888443, -0.5967962145805359, 0.46416616439819336, 0.3250494599342346, 0.3886468708515167, 0.9159103631973267, -0.09862107038497925, 0.15987296402454376, -0.6340826153755188, 0.35134753584861755, 0.1404896080493927, 0.4507026672363281, 0.12570391595363617, -0.43029212951660156, 0.5001068115234375, 0.31813597679138184, -0.8850155472755432, -0.7657254338264465, -0.3988174796104431, -1.2525770664215088, -0.10286456346511841, 1.1516743898391724, 0.0007463227957487106, -0.4519086182117462, 0.0792902484536171, -0.1436343491077423, 0.19315595924854279, -0.5146841406822205, 0.6180515289306641, 0.812648355960846, -0.08996200561523438, 0.025775831192731857, -0.710401177406311, 0.4689200818538666, 0.27926385402679443, -0.5944415926933289, -0.2501491606235504, 0.2292862981557846, 0.4792172312736511, 0.3894028961658478, 0.37667009234428406, -0.1219649687409401, 0.22043108940124512, 0.15945421159267426, 0.33549928665161133, -0.10138240456581116, -0.047865062952041626, -0.2663445770740509, 0.0005894075147807598, -0.010639573447406292, -0.42144280672073364 ]
jbochi/madlad400-3b-mt
jbochi
2023-11-17T11:43:45Z
14,364
49
transformers
[ "transformers", "safetensors", "gguf", "t5", "text2text-generation", "text-generation-inference", "translation", "multilingual", "en", "ru", "es", "fr", "de", "it", "pt", "pl", "nl", "vi", "tr", "sv", "id", "ro", "cs", "zh", "hu", "ja", "th", "fi", "fa", "uk", "da", "el", "no", "bg", "sk", "ko", "ar", "lt", "ca", "sl", "he", "et", "lv", "hi", "sq", "ms", "az", "sr", "ta", "hr", "kk", "is", "ml", "mr", "te", "af", "gl", "fil", "be", "mk", "eu", "bn", "ka", "mn", "bs", "uz", "ur", "sw", "yue", "ne", "kn", "kaa", "gu", "si", "cy", "eo", "la", "hy", "ky", "tg", "ga", "mt", "my", "km", "tt", "so", "ku", "ps", "pa", "rw", "lo", "ha", "dv", "fy", "lb", "ckb", "mg", "gd", "am", "ug", "ht", "grc", "hmn", "sd", "jv", "mi", "tk", "ceb", "yi", "ba", "fo", "or", "xh", "su", "kl", "ny", "sm", "sn", "co", "zu", "ig", "yo", "pap", "st", "haw", "as", "oc", "cv", "lus", "tet", "gsw", "sah", "br", "rm", "sa", "bo", "om", "se", "ce", "cnh", "ilo", "hil", "udm", "os", "lg", "ti", "vec", "ts", "tyv", "kbd", "ee", "iba", "av", "kha", "to", "tn", "nso", "fj", "zza", "ak", "ada", "otq", "dz", "bua", "cfm", "ln", "chm", "gn", "krc", "wa", "hif", "yua", "srn", "war", "rom", "bik", "pam", "sg", "lu", "ady", "kbp", "syr", "ltg", "myv", "iso", "kac", "bho", "ay", "kum", "qu", "za", "pag", "ngu", "ve", "pck", "zap", "tyz", "hui", "bbc", "tzo", "tiv", "ksd", "gom", "min", "ang", "nhe", "bgp", "nzi", "nnb", "nv", "zxx", "bci", "kv", "new", "mps", "alt", "meu", "bew", "fon", "iu", "abt", "mgh", "mnw", "tvl", "dov", "tlh", "ho", "kw", "mrj", "meo", "crh", "mbt", "emp", "ace", "ium", "mam", "gym", "mai", "crs", "pon", "ubu", "fip", "quc", "gv", "kj", "btx", "ape", "chk", "rcf", "shn", "tzh", "mdf", "ppk", "ss", "gag", "cab", "kri", "seh", "ibb", "tbz", "bru", "enq", "ach", "cuk", "kmb", "wo", "kek", "qub", "tab", "bts", "kos", "rwo", "cak", "tuc", "bum", "cjk", "gil", "stq", "tsg", "quh", "mak", "arn", "ban", "jiv", "sja", "yap", "tcy", "toj", "twu", "xal", "amu", "rmc", "hus", "nia", "kjh", "bm", "guh", "mas", "acf", "dtp", "ksw", "bzj", "din", "zne", "mad", "msi", "mag", "mkn", "kg", "lhu", "ch", "qvi", "mh", "djk", "sus", "mfe", "srm", "dyu", "ctu", "gui", "pau", "inb", "bi", "mni", "guc", "jam", "wal", "jac", "bas", "gor", "skr", "nyu", "noa", "sda", "gub", "nog", "cni", "teo", "tdx", "sxn", "rki", "nr", "frp", "alz", "taj", "lrc", "cce", "rn", "jvn", "hvn", "nij", "dwr", "izz", "msm", "bus", "ktu", "chr", "maz", "tzj", "suz", "knj", "bim", "gvl", "bqc", "tca", "pis", "prk", "laj", "mel", "qxr", "niq", "ahk", "shp", "hne", "spp", "koi", "krj", "quf", "luz", "agr", "tsc", "mqy", "gof", "gbm", "miq", "dje", "awa", "bjj", "qvz", "sjp", "tll", "raj", "kjg", "bgz", "quy", "cbk", "akb", "oj", "ify", "mey", "ks", "cac", "brx", "qup", "syl", "jax", "ff", "ber", "tks", "trp", "mrw", "adh", "smt", "srr", "ffm", "qvc", "mtr", "ann", "aa", "noe", "nut", "gyn", "kwi", "xmm", "msb", "dataset:allenai/MADLAD-400", "arxiv:2309.04662", "license:apache-2.0", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
translation
2023-09-21T00:28:38Z
--- license: apache-2.0 language: - multilingual - en - ru - es - fr - de - it - pt - pl - nl - vi - tr - sv - id - ro - cs - zh - hu - ja - th - fi - fa - uk - da - el - "no" - bg - sk - ko - ar - lt - ca - sl - he - et - lv - hi - sq - ms - az - sr - ta - hr - kk - is - ml - mr - te - af - gl - fil - be - mk - eu - bn - ka - mn - bs - uz - ur - sw - yue - ne - kn - kaa - gu - si - cy - eo - la - hy - ky - tg - ga - mt - my - km - tt - so - ku - ps - pa - rw - lo - ha - dv - fy - lb - ckb - mg - gd - am - ug - ht - grc - hmn - sd - jv - mi - tk - ceb - yi - ba - fo - or - xh - su - kl - ny - sm - sn - co - zu - ig - yo - pap - st - haw - as - oc - cv - lus - tet - gsw - sah - br - rm - sa - bo - om - se - ce - cnh - ilo - hil - udm - os - lg - ti - vec - ts - tyv - kbd - ee - iba - av - kha - to - tn - nso - fj - zza - ak - ada - otq - dz - bua - cfm - ln - chm - gn - krc - wa - hif - yua - srn - war - rom - bik - pam - sg - lu - ady - kbp - syr - ltg - myv - iso - kac - bho - ay - kum - qu - za - pag - ngu - ve - pck - zap - tyz - hui - bbc - tzo - tiv - ksd - gom - min - ang - nhe - bgp - nzi - nnb - nv - zxx - bci - kv - new - mps - alt - meu - bew - fon - iu - abt - mgh - mnw - tvl - dov - tlh - ho - kw - mrj - meo - crh - mbt - emp - ace - ium - mam - gym - mai - crs - pon - ubu - fip - quc - gv - kj - btx - ape - chk - rcf - shn - tzh - mdf - ppk - ss - gag - cab - kri - seh - ibb - tbz - bru - enq - ach - cuk - kmb - wo - kek - qub - tab - bts - kos - rwo - cak - tuc - bum - cjk - gil - stq - tsg - quh - mak - arn - ban - jiv - sja - yap - tcy - toj - twu - xal - amu - rmc - hus - nia - kjh - bm - guh - mas - acf - dtp - ksw - bzj - din - zne - mad - msi - mag - mkn - kg - lhu - ch - qvi - mh - djk - sus - mfe - srm - dyu - ctu - gui - pau - inb - bi - mni - guc - jam - wal - jac - bas - gor - skr - nyu - noa - sda - gub - nog - cni - teo - tdx - sxn - rki - nr - frp - alz - taj - lrc - cce - rn - jvn - hvn - nij - dwr - izz - msm - bus - ktu - chr - maz - tzj - suz - knj - bim - gvl - bqc - tca - pis - prk - laj - mel - qxr - niq - ahk - shp - hne - spp - koi - krj - quf - luz - agr - tsc - mqy - gof - gbm - miq - dje - awa - bjj - qvz - sjp - tll - raj - kjg - bgz - quy - cbk - akb - oj - ify - mey - ks - cac - brx - qup - syl - jax - ff - ber - tks - trp - mrw - adh - smt - srr - ffm - qvc - mtr - ann - kaa - aa - noe - nut - gyn - kwi - xmm - msb library_name: transformers tags: - text2text-generation - text-generation-inference datasets: - allenai/MADLAD-400 pipeline_tag: translation widget: - text: "<2en> Como vai, amigo?" example_title: "Translation to English" - text: "<2de> Do you speak German?" example_title: "Translation to German" --- # Model Card for MADLAD-400-3B-MT # Table of Contents 0. [TL;DR](#TL;DR) 1. [Model Details](#model-details) 2. [Usage](#usage) 3. [Uses](#uses) 4. [Bias, Risks, and Limitations](#bias-risks-and-limitations) 5. [Training Details](#training-details) 6. [Evaluation](#evaluation) 7. [Environmental Impact](#environmental-impact) 8. [Citation](#citation) # TL;DR MADLAD-400-3B-MT is a multilingual machine translation model based on the T5 architecture that was trained on 1 trillion tokens covering over 450 languages using publicly available data. It is competitive with models that are significantly larger. **Disclaimer**: [Juarez Bochi](https://huggingface.co/jbochi), who was not involved in this research, converted the original weights and wrote the contents of this model card based on the original paper and Flan-T5. # Model Details ## Model Description - **Model type:** Language model - **Language(s) (NLP):** Multilingual (400+ languages) - **License:** Apache 2.0 - **Related Models:** [All MADLAD-400 Checkpoints](https://huggingface.co/models?search=madlad) - **Original Checkpoints:** [All Original MADLAD-400 Checkpoints](https://github.com/google-research/google-research/tree/master/madlad_400) - **Resources for more information:** - [Research paper](https://arxiv.org/abs/2309.04662) - [GitHub Repo](https://github.com/google-research/t5x) - [Hugging Face MADLAD-400 Docs (Similar to T5) ](https://huggingface.co/docs/transformers/model_doc/MADLAD-400) - [Pending PR](https://github.com/huggingface/transformers/pull/27471) # Usage Find below some example scripts on how to use the model: ## Using the Pytorch model with `transformers` ### Running the model on a CPU or GPU <details> <summary> Click to expand </summary> First, install the Python packages that are required: `pip install transformers accelerate sentencepiece` ```python from transformers import T5ForConditionalGeneration, T5Tokenizer model_name = 'jbochi/madlad400-3b-mt' model = T5ForConditionalGeneration.from_pretrained(model_name, device_map="auto") tokenizer = T5Tokenizer.from_pretrained(model_name) text = "<2pt> I love pizza!" input_ids = tokenizer(text, return_tensors="pt").input_ids.to(model.device) outputs = model.generate(input_ids=input_ids) tokenizer.decode(outputs[0], skip_special_tokens=True) # Eu adoro pizza! ``` </details> ## Running the model with Candle <details> <summary> Click to expand </summary> Usage with [candle](https://github.com/huggingface/candle): ```bash $ cargo run --example t5 --release -- \ --model-id "jbochi/madlad400-3b-mt" \ --prompt "<2de> How are you, my friend?" \ --decode --temperature 0 ``` We also provide a quantized model (1.65 GB vs the original 11.8 GB file): ``` cargo run --example quantized-t5 --release -- \ --model-id "jbochi/madlad400-3b-mt" --weight-file "model-q4k.gguf" \ --prompt "<2de> How are you, my friend?" \ --temperature 0 ... Wie geht es dir, mein Freund? ``` </details> # Uses ## Direct Use and Downstream Use > Primary intended uses: Machine Translation and multilingual NLP tasks on over 400 languages. > Primary intended users: Research community. ## Out-of-Scope Use > These models are trained on general domain data and are therefore not meant to > work on domain-specific models out-of-the box. Moreover, these research models have not been assessed > for production usecases. # Bias, Risks, and Limitations > We note that we evaluate on only 204 of the languages supported by these models and on machine translation > and few-shot machine translation tasks. Users must consider use of this model carefully for their own > usecase. ## Ethical considerations and risks > We trained these models with MADLAD-400 and publicly available data to create baseline models that > support NLP for over 400 languages, with a focus on languages underrepresented in large-scale corpora. > Given that these models were trained with web-crawled datasets that may contain sensitive, offensive or > otherwise low-quality content despite extensive preprocessing, it is still possible that these issues to the > underlying training data may cause differences in model performance and toxic (or otherwise problematic) > output for certain domains. Moreover, large models are dual use technologies that have specific risks > associated with their use and development. We point the reader to surveys such as those written by > Weidinger et al. or Bommasani et al. for a more detailed discussion of these risks, and to Liebling > et al. for a thorough discussion of the risks of machine translation systems. ## Known Limitations More information needed ## Sensitive Use: More information needed # Training Details > We train models of various sizes: a 3B, 32-layer parameter model, > a 7.2B 48-layer parameter model and a 10.7B 32-layer parameter model. > We share all parameters of the model across language pairs, > and use a Sentence Piece Model with 256k tokens shared on both the encoder and decoder > side. Each input sentence has a <2xx> token prepended to the source sentence to indicate the target > language. See the [research paper](https://arxiv.org/pdf/2309.04662.pdf) for further details. ## Training Data > For both the machine translation and language model, MADLAD-400 is used. For the machine translation > model, a combination of parallel datasources covering 157 languages is also used. Further details are > described in the [paper](https://arxiv.org/pdf/2309.04662.pdf). ## Training Procedure See the [research paper](https://arxiv.org/pdf/2309.04662.pdf) for further details. # Evaluation ## Testing Data, Factors & Metrics > For evaluation, we used WMT, NTREX, Flores-200 and Gatones datasets as described in Section 4.3 in the [paper](https://arxiv.org/pdf/2309.04662.pdf). > The translation quality of this model varies based on language, as seen in the paper, and likely varies on > domain, though we have not assessed this. ## Results ![image/png](https://cdn-uploads.huggingface.co/production/uploads/64b7f632037d6452a321fa15/EzsMD1AwCuFH0S0DeD-n8.png) ![image/png](https://cdn-uploads.huggingface.co/production/uploads/64b7f632037d6452a321fa15/CJ5zCUVy7vTU76Lc8NZcK.png) ![image/png](https://cdn-uploads.huggingface.co/production/uploads/64b7f632037d6452a321fa15/NK0S-yVeWuhKoidpLYh3m.png) See the [research paper](https://arxiv.org/pdf/2309.04662.pdf) for further details. # Environmental Impact More information needed # Citation **BibTeX:** ```bibtex @misc{kudugunta2023madlad400, title={MADLAD-400: A Multilingual And Document-Level Large Audited Dataset}, author={Sneha Kudugunta and Isaac Caswell and Biao Zhang and Xavier Garcia and Christopher A. Choquette-Choo and Katherine Lee and Derrick Xin and Aditya Kusupati and Romi Stella and Ankur Bapna and Orhan Firat}, year={2023}, eprint={2309.04662}, archivePrefix={arXiv}, primaryClass={cs.CL} } ```
[ -0.3962799608707428, -0.5371100902557373, 0.23725458979606628, 0.3750286102294922, -0.16765759885311127, -0.15238016843795776, -0.18966659903526306, -0.5600329637527466, -0.012848293408751488, 0.285013884305954, -0.48233363032341003, -0.6030502915382385, -0.7318136692047119, 0.2658839225769043, -0.27468451857566833, 1.2372490167617798, -0.2547377347946167, 0.1902570277452469, 0.09855765849351883, -0.2186332643032074, -0.17488224804401398, -0.6356704831123352, -0.4611365795135498, -0.09617193043231964, 0.4529123902320862, 0.011723417788743973, 0.6498285531997681, 0.578266978263855, 0.5354800224304199, 0.23683328926563263, -0.3390232026576996, 0.06746383756399155, -0.31883469223976135, -0.11401679366827011, 0.060494620352983475, -0.36200955510139465, -0.7564884424209595, 0.060412343591451645, 0.4944470524787903, 0.5223535299301147, -0.194146528840065, 0.33349698781967163, -0.08248423784971237, 0.5129350423812866, -0.4139645993709564, 0.1880793422460556, -0.3575943410396576, 0.13178060948848724, -0.3138418197631836, -0.018047209829092026, -0.41829392313957214, -0.24014019966125488, 0.06632471084594727, -0.4540013074874878, 0.12914401292800903, 0.3096720278263092, 1.2084213495254517, 0.036403458565473557, -0.446347713470459, -0.21606574952602386, -0.43119752407073975, 0.9118415713310242, -0.9383463263511658, 0.38847073912620544, 0.3966220021247864, 0.12789897620677948, -0.09149990975856781, -0.5321422815322876, -0.7138192653656006, -0.12558946013450623, -0.11597522348165512, 0.208005890250206, -0.39056259393692017, -0.026030344888567924, 0.40205496549606323, 0.5754845142364502, -0.6888257265090942, -0.030524594709277153, -0.536869466304779, -0.17516903579235077, 0.5514945983886719, 0.24696879088878632, 0.4660646915435791, -0.27170082926750183, -0.4439728558063507, -0.3180616497993469, -0.5451164245605469, -0.027628451585769653, 0.5282902717590332, 0.2900494635105133, -0.5571759939193726, 0.6232079863548279, -0.08761320263147354, 0.5575003027915955, -0.028859633952379227, -0.06410101801156998, 0.5899994969367981, -0.44510987401008606, -0.29291215538978577, -0.24805103242397308, 1.1242740154266357, 0.3867052495479584, 0.11632698029279709, -0.2499932050704956, -0.2674315273761749, -0.08480136841535568, 0.14134633541107178, -0.9515267610549927, -0.04668215662240982, 0.3580804169178009, -0.42526504397392273, -0.265625536441803, -0.07607701420783997, -0.8025891184806824, -0.08223972469568253, -0.13295313715934753, 0.3749468922615051, -0.5216952562332153, -0.3538353443145752, 0.3090553879737854, -0.09430557489395142, 0.27494585514068604, -0.007729834411293268, -0.7032598257064819, 0.20710976421833038, 0.30472055077552795, 1.034829020500183, -0.09286149591207504, -0.4719308018684387, -0.20502418279647827, 0.15595819056034088, -0.1227104514837265, 0.4965516924858093, -0.23046201467514038, -0.36540886759757996, -0.032070595771074295, 0.2165258824825287, -0.11944347620010376, -0.4099605679512024, 0.7003970742225647, -0.45297902822494507, 0.4525403082370758, -0.3617662191390991, -0.3053889274597168, -0.38373520970344543, 0.25650522112846375, -0.6360229253768921, 1.1163687705993652, 0.15846030414104462, -0.9585956335067749, 0.1803554892539978, -0.6586642265319824, -0.38897132873535156, -0.208039328455925, 0.34451043605804443, -0.6481725573539734, -0.009074621833860874, 0.2352149486541748, 0.5311467051506042, -0.4329436719417572, 0.349039226770401, -0.4372456669807434, -0.08270899206399918, 0.1955026090145111, -0.2690857946872711, 1.0885396003723145, 0.3326960802078247, -0.33339443802833557, 0.11060421168804169, -0.5761246681213379, -0.11652001738548279, 0.24426010251045227, -0.45216888189315796, -0.10303943604230881, -0.3414608836174011, 0.30518195033073425, 0.6680036187171936, 0.2421378493309021, -0.5355662107467651, 0.1955123394727707, -0.5043356418609619, 0.3271375596523285, 0.5917965173721313, -0.04702148213982582, 0.2071179896593094, -0.3937876522541046, 0.5903467535972595, 0.3361033797264099, 0.2349129021167755, -0.012046821415424347, -0.40772950649261475, -0.9042558670043945, -0.16652309894561768, 0.35594475269317627, 0.5665246248245239, -0.6389071345329285, 0.34359291195869446, -0.37499597668647766, -0.6928098201751709, -0.6959714293479919, -0.03427337855100632, 0.6654353141784668, 0.23167569935321808, 0.581276535987854, -0.3063211441040039, -0.6450299024581909, -0.9451615214347839, -0.3296789228916168, -0.009461100213229656, 0.07573951780796051, 0.10919631272554398, 0.8592422604560852, -0.23367783427238464, 0.54278165102005, -0.5345566868782043, -0.2171691209077835, -0.3312660753726959, 0.052253589034080505, 0.16405875980854034, 0.6882642507553101, 0.5909661650657654, -0.6055077910423279, -0.5768335461616516, 0.034812361001968384, -0.8554632067680359, 0.023267578333616257, 0.10717318207025528, -0.3693090081214905, 0.581583559513092, 0.2575191557407379, -0.9029724597930908, 0.17064060270786285, 0.7481293082237244, -0.3131631910800934, 0.6612690091133118, -0.29929283261299133, 0.10904127359390259, -1.2736587524414062, 0.4798789322376251, 0.30496686697006226, -0.090349480509758, -0.786034107208252, 0.08378267288208008, 0.12254104763269424, -0.0640304908156395, -0.5702062845230103, 0.6505162715911865, -0.4440458416938782, 0.06859526038169861, -0.08849065750837326, 0.02046365477144718, 0.01221376657485962, 0.8427355885505676, -0.02657495066523552, 0.7166483998298645, 0.5049945116043091, -0.4858561158180237, 0.19777292013168335, 0.3089093863964081, -0.2507133483886719, 0.6155458688735962, -0.8454602956771851, 0.06469661742448807, -0.05762522295117378, 0.29302629828453064, -0.6821845173835754, -0.1590856909751892, 0.4865499436855316, -0.4718429148197174, 0.4192751944065094, -0.09199642390012741, -0.8829596638679504, -0.47689446806907654, -0.18154741823673248, 0.24372020363807678, 0.43973463773727417, -0.2865162193775177, 0.4105929434299469, 0.4269523024559021, -0.009924709796905518, -0.5010827779769897, -0.7128027677536011, 0.019025349989533424, -0.4838404655456543, -0.48300424218177795, 0.20383410155773163, -0.17988444864749908, 0.042416609823703766, -0.11514833569526672, -0.13517189025878906, 0.008047660812735558, -0.016771523281931877, 0.27070459723472595, 0.3461107015609741, 0.03969317302107811, 0.006713357288390398, 0.039247434586286545, -0.08237578719854355, 0.0798502191901207, -0.36469459533691406, 0.6539487838745117, -0.4156463146209717, 0.07254020124673843, -0.5558369159698486, 0.37923482060432434, 0.7133485078811646, -0.4227697253227234, 1.1474025249481201, 0.797025203704834, -0.37433895468711853, 0.25240358710289, -0.41292309761047363, 0.05782853811979294, -0.4270497262477875, 0.5076324939727783, -0.39901089668273926, -0.5494032502174377, 0.5311790108680725, 0.281342089176178, 0.09035446494817734, 0.7383007407188416, 0.7174627780914307, 0.018459681421518326, 1.1523855924606323, 0.6427956223487854, -0.06412643194198608, 0.2729778587818146, -0.4610067307949066, 0.14107507467269897, -1.018120288848877, -0.49216410517692566, -0.5897276997566223, -0.1661841720342636, -0.7046753764152527, -0.4588811993598938, 0.2804427444934845, -0.04050298035144806, -0.5350562930107117, 0.5844308733940125, -0.2683524489402771, 0.03478366509079933, 0.5038961172103882, 0.1259118914604187, 0.2057039588689804, -0.06769899278879166, -0.21555055677890778, -0.03421172872185707, -0.6525384187698364, -0.5525627136230469, 0.9953795671463013, 0.4871034324169159, 0.47813305258750916, 0.18255645036697388, 0.3348025679588318, 0.06747417151927948, 0.2618478536605835, -0.5404917597770691, 0.5066924691200256, 0.029661113396286964, -0.9801257252693176, 0.03735528141260147, -0.528671383857727, -0.869469940662384, 0.3897046446800232, -0.08205273002386093, -0.6454949378967285, 0.09176304191350937, 0.03780682384967804, -0.1904914379119873, 0.3866742253303528, -0.7772337198257446, 1.0733798742294312, -0.22050419449806213, -0.22079244256019592, -0.08126511424779892, -0.7530640363693237, 0.33755338191986084, -0.08365638554096222, 0.20897872745990753, -0.025828279554843903, -0.06431443989276886, 0.9210668206214905, -0.39980387687683105, 0.8013955950737, -0.21153077483177185, -0.2740813195705414, -0.04029010236263275, 0.01050710491836071, 0.6603538990020752, -0.3097159266471863, -0.13047097623348236, 0.4674680829048157, 0.12865319848060608, -0.5337864756584167, -0.2509355843067169, 0.5937450528144836, -0.8604153394699097, -0.4848143458366394, -0.5630409121513367, -0.8559538722038269, -0.08514125645160675, 0.3749999403953552, 0.267591655254364, 0.1946849673986435, 0.10978909581899643, 0.09507972747087479, 0.5171324014663696, -0.5607686638832092, 0.3164904713630676, 0.4994881749153137, -0.16715699434280396, -0.4009556770324707, 0.8621610999107361, 0.14223478734493256, 0.41350093483924866, 0.2500929832458496, 0.12018603086471558, -0.30852726101875305, -0.40111038088798523, -0.48148590326309204, 0.4731622338294983, -0.6504372954368591, -0.2223496437072754, -1.0296357870101929, 0.007464002352207899, -0.30550575256347656, 0.08106791973114014, -0.4086134433746338, -0.34638357162475586, -0.16294728219509125, -0.11503135412931442, 0.37923046946525574, 0.38837748765945435, 0.12328281253576279, 0.3401157557964325, -0.6354162096977234, 0.18917216360569, -0.16282005608081818, 0.3724597990512848, 0.09136771410703659, -0.7276118993759155, -0.599895179271698, 0.26619577407836914, -0.4474288523197174, -0.8464672565460205, 0.735007107257843, -0.013935742899775505, 0.432495653629303, 0.17689406871795654, 0.06334921717643738, 0.755192220211029, -0.3858802020549774, 0.7166678309440613, 0.1582612544298172, -0.9897545576095581, 0.39438074827194214, -0.5018415451049805, 0.3919166028499603, 0.2986687421798706, 0.7118930220603943, -0.6821722388267517, -0.5897431969642639, -0.7499083876609802, -0.9585034847259521, 0.9035607576370239, 0.3285541534423828, 0.087891586124897, 0.11019829660654068, 0.04995841532945633, 0.009439674206078053, 0.3708374798297882, -1.0156773328781128, -0.46068260073661804, -0.26155349612236023, -0.2269892543554306, -0.09510397911071777, -0.12255934625864029, -0.12214286625385284, -0.295004665851593, 0.9806806445121765, 0.19823548197746277, 0.37768933176994324, 0.06790822744369507, -0.24521900713443756, -0.035300225019454956, 0.17553162574768066, 0.6825294494628906, 0.2685839831829071, -0.30283740162849426, 0.0778028666973114, 0.319007933139801, -0.5582342743873596, 0.02513512223958969, 0.14172868430614471, -0.14034779369831085, -0.04573040083050728, 0.1453854739665985, 0.9752522706985474, -0.004028270486742258, -0.5478416085243225, 0.34703803062438965, 0.03332720324397087, -0.21179813146591187, -0.08452928811311722, -0.1811862587928772, 0.1265120953321457, 0.25883749127388, 0.11809638887643814, 0.2426338791847229, 0.03840804100036621, -0.4480574429035187, -0.09546368569135666, 0.2777605354785919, -0.34719520807266235, -0.4966204762458801, 0.8199147582054138, 0.01820801943540573, -0.010307948105037212, 0.4633728563785553, -0.30207476019859314, -0.5747793912887573, 0.46085914969444275, 0.5744987726211548, 0.7544673681259155, -0.142284095287323, 0.09031857550144196, 0.6168808937072754, 0.4470691382884979, -0.22776684165000916, 0.2006104737520218, 0.1534033864736557, -0.4156559109687805, -0.26646122336387634, -0.7071724534034729, -0.08425843715667725, 0.19785530865192413, -0.6173940896987915, 0.1972724348306656, -0.13640795648097992, -0.1263049691915512, -0.11035944521427155, 0.23716597259044647, -0.6801086068153381, 0.18086910247802734, -0.03138233721256256, 0.8077923655509949, -0.9663834571838379, 0.8575758337974548, 0.6146671175956726, -0.738788902759552, -0.7710176110267639, 0.09002150595188141, -0.04823150113224983, -0.6341708302497864, 0.6270204782485962, 0.2729667127132416, 0.07339867204427719, 0.08511049300432205, -0.4147612452507019, -0.7987785339355469, 0.9617064595222473, 0.3994905650615692, -0.3312845528125763, -0.05800889804959297, 0.18785126507282257, 0.7092575430870056, -0.05816631391644478, 0.27969539165496826, 0.44960281252861023, 0.5223463177680969, -0.012805897742509842, -0.9630197286605835, 0.3486318588256836, -0.4673633575439453, 0.1715947687625885, 0.15901628136634827, -0.7668012976646423, 0.8160329461097717, -0.16180042922496796, -0.19782386720180511, 0.062043447047472, 0.6085535287857056, 0.3319016993045807, 0.03622899949550629, 0.18103598058223724, 0.7073497772216797, 0.6100161671638489, -0.12714353203773499, 1.3458876609802246, -0.37549081444740295, 0.6494951844215393, 0.7514978647232056, 0.022480398416519165, 0.735241711139679, 0.5408873558044434, -0.38922950625419617, 0.36348164081573486, 0.6447017192840576, -0.20083345472812653, 0.48791539669036865, 0.14502258598804474, -0.08267062902450562, -0.008107869885861874, -0.1773778647184372, -0.5102581977844238, 0.19084767997264862, 0.15320932865142822, -0.3489231467247009, -0.09196742624044418, 0.08737997710704803, 0.5029963254928589, -0.3506961166858673, -0.09027620404958725, 0.3991684913635254, 0.1686103641986847, -0.7230254411697388, 0.842182457447052, 0.34243473410606384, 0.6809005737304688, -0.4633544087409973, 0.34140682220458984, -0.3112287223339081, 0.18048764765262604, -0.2233315110206604, -0.6455693244934082, 0.3936132788658142, 0.19684438407421112, -0.21644067764282227, -0.379859983921051, 0.21952198445796967, -0.5082798004150391, -0.5806887149810791, 0.1743168979883194, 0.40629008412361145, 0.3060528635978699, -0.08770790696144104, -0.8309844732284546, 0.17161110043525696, -0.04213918745517731, -0.5153128504753113, 0.34048792719841003, 0.47204458713531494, 0.044183071702718735, 0.6752861738204956, 0.6099318861961365, 0.1076241210103035, 0.08333443105220795, -0.12170906364917755, 0.7736189365386963, -0.6495267748832703, -0.28263625502586365, -0.8961958885192871, 0.6350958943367004, 0.02201063372194767, -0.38793134689331055, 1.0867865085601807, 0.7861988544464111, 0.9838948249816895, -0.27101391553878784, 0.7139716744422913, -0.26322126388549805, 0.2670668363571167, -0.38985779881477356, 0.6597310304641724, -0.6791260242462158, 0.171932652592659, -0.49919697642326355, -0.7272961139678955, -0.36125069856643677, 0.5240563750267029, -0.40085098147392273, 0.24697467684745789, 0.7692707180976868, 0.8889895081520081, -0.06051509454846382, -0.17824551463127136, 0.09982239454984665, 0.44563668966293335, 0.3093917667865753, 0.7204025983810425, 0.503731369972229, -0.8516576290130615, 0.6566631197929382, -0.26279041171073914, 0.14634378254413605, -0.1860772967338562, -0.6440371870994568, -0.947847843170166, -0.7040190100669861, -0.4041188061237335, -0.5406631231307983, -0.000367254251614213, 0.8256678581237793, 0.5762825012207031, -0.6801912784576416, -0.3584727346897125, -0.07756395637989044, -0.07619989663362503, -0.2726529538631439, -0.1681440770626068, 0.5172489285469055, -0.1444079875946045, -0.9571183323860168, -0.04789646714925766, 0.10925660282373428, 0.28221645951271057, -0.224374920129776, -0.25646311044692993, -0.3898567855358124, -0.0379260815680027, 0.5110095739364624, 0.19945186376571655, -0.6037321090698242, 0.056769244372844696, 0.14227886497974396, -0.3430975377559662, 0.07199563831090927, 0.25250595808029175, -0.395456999540329, 0.22995011508464813, 0.34960511326789856, 0.318543016910553, 0.6273698210716248, -0.23406124114990234, 0.5479885339736938, -0.5827874541282654, 0.26556628942489624, -0.0701202005147934, 0.38456010818481445, 0.3102540075778961, -0.19673003256320953, 0.429793119430542, 0.34960275888442993, -0.4659355878829956, -1.0298351049423218, -0.019578594714403152, -1.0529803037643433, -0.11423604935407639, 1.2938190698623657, -0.29009488224983215, -0.22285816073417664, 0.07631118595600128, -0.2723749577999115, 0.561324954032898, -0.33896854519844055, 0.7632197141647339, 0.845378577709198, 0.22528907656669617, -0.20159228146076202, -0.9005740880966187, 0.3868381679058075, 0.3858760595321655, -0.8651172518730164, 0.0677465945482254, 0.306400328874588, 0.22493043541908264, 0.022340605035424232, 0.31816211342811584, -0.32646363973617554, 0.08166582137346268, -0.10426674783229828, 0.4164502024650574, -0.04776373133063316, -0.05950991436839104, -0.3463591933250427, 0.03858467936515808, -0.15012329816818237, -0.09859277307987213 ]
mosaicml/mpt-30b-chat
mosaicml
2023-10-30T21:54:39Z
14,362
193
transformers
[ "transformers", "pytorch", "mpt", "text-generation", "Composer", "MosaicML", "llm-foundry", "custom_code", "arxiv:2205.14135", "arxiv:2108.12409", "arxiv:2010.04245", "license:cc-by-nc-sa-4.0", "has_space", "text-generation-inference", "region:us" ]
text-generation
2023-06-09T20:01:17Z
--- license: cc-by-nc-sa-4.0 datasets: - camel-ai/code - ehartford/wizard_vicuna_70k_unfiltered - anon8231489123/ShareGPT_Vicuna_unfiltered - teknium1/GPTeacher/roleplay-instruct-v2-final - teknium1/GPTeacher/codegen-isntruct - timdettmers/openassistant-guanaco - camel-ai/math - project-baize/baize-chatbot/medical_chat_data - project-baize/baize-chatbot/quora_chat_data - project-baize/baize-chatbot/stackoverflow_chat_data - camel-ai/biology - camel-ai/chemistry - camel-ai/ai_society - jondurbin/airoboros-gpt4-1.2 - LongConversations - camel-ai/physics tags: - Composer - MosaicML - llm-foundry inference: false --- # MPT-30B-Chat MPT-30B-Chat is a chatbot-like model for dialogue generation. It was built by finetuning [MPT-30B](https://huggingface.co/mosaicml/mpt-30b) on the [ShareGPT-Vicuna](https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered), [Camel-AI](https://huggingface.co/camel-ai), [GPTeacher](https://github.com/teknium1/GPTeacher), [Guanaco](https://huggingface.co/datasets/timdettmers/openassistant-guanaco), [Baize](https://github.com/project-baize/baize-chatbot) and some generated datasets. * License: _CC-By-NC-SA-4.0_ (non-commercial use only) This model was trained by [MosaicML](https://www.mosaicml.com) and follows a modified decoder-only transformer architecture. ## Model Date June 22, 2023 ## Model License _CC-By-NC-SA-4.0_ (non-commercial use only) ## Documentation * [Blog post: Raising the bar for open-source foundation models](https://www.mosaicml.com/blog/mpt-30b) * [Codebase (mosaicml/llm-foundry repo)](https://github.com/mosaicml/llm-foundry/) * Questions: Feel free to contact us via the [MosaicML Community Slack](https://mosaicml.me/slack)! ### Example Dialogue **ksreenivasan**: > I want you to come up with a tweet based on this summary of the article: > > We are excited to extend the MosaicML Foundation Series with MPT-30B, a new commercially licensed open-source model that is significantly more powerful, and outperforms the > original GPT-3. In addition, we are releasing two fine-tuned models, MPT-30B-Instruct and MPT-30B-Chat, that are built on top of MPT-30B and excel at short-form instruction > following and multi-turn conversations, respectively. > All MPT-30B models come with special features that differentiate them from other LLMs, including an 8k token context window (which can be further extended via finetuning; > see MPT-7B-StoryWriter), support for context-length extrapolation via ALiBi, and efficient inference + training performance via FlashAttention. It also has strong coding > abilities thanks to its pretraining data mixture. **MPT-30B-Chat**: > "Revolutionize your AI capabilities with MosaicML's latest addition, MPT-30B! Outperforming GPT-3, this open-source model is significantly more powerful and comes with > finely-tuned models for exceptional instruction following and multi-turn conversations. Unleash the potential of an 8k token context window, ALiBi support, and FlashAttention. > Experience the future of AI with MosaicML! #AI #ML #innovation" **ksreenivasan**: > Is there anything you want to say to MosaicML about this exciting news? **MPT-30B-Chat**: > As your AI marketing assistant, I would say that this is truly exciting news for the AI community! MosaicML's latest addition, MPT-30B, is poised to revolutionize the industry with its powerful open-source capabilities and finely-tuned models for instruction following and multi-turn conversations. > The special features, including the 8k token context window, ALiBi support, and FlashAttention, are sure to set MosaicML's MPT-30B apart from other LLMs. > Congratulations to the MosaicML team on this incredible achievement! ## How to Use This model is best used with the MosaicML [llm-foundry repository](https://github.com/mosaicml/llm-foundry) for training and finetuning. ```python import transformers model = transformers.AutoModelForCausalLM.from_pretrained( 'mosaicml/mpt-30b-chat', trust_remote_code=True ) ``` Note: This model requires that `trust_remote_code=True` be passed to the `from_pretrained` method. This is because we use a custom `MPT` model architecture that is not yet part of the Hugging Face `transformers` package. `MPT` includes options for many training efficiency features such as [FlashAttention](https://arxiv.org/pdf/2205.14135.pdf), [ALiBi](https://arxiv.org/abs/2108.12409), [QK LayerNorm](https://arxiv.org/abs/2010.04245), and more. To use the optimized [triton implementation](https://github.com/openai/triton) of FlashAttention, you can load the model on GPU (`cuda:0`) with `attn_impl='triton'` and with `bfloat16` precision: ```python import torch import transformers name = 'mosaicml/mpt-30b-chat' config = transformers.AutoConfig.from_pretrained(name, trust_remote_code=True) config.attn_config['attn_impl'] = 'triton' # change this to use triton-based FlashAttention config.init_device = 'cuda:0' # For fast initialization directly on GPU! model = transformers.AutoModelForCausalLM.from_pretrained( name, config=config, torch_dtype=torch.bfloat16, # Load model weights in bfloat16 trust_remote_code=True ) ``` The model was trained initially with a sequence length of 2048 with an additional pretraining stage for sequence length adapation up to 8192. However, ALiBi enables users to increase the maximum sequence length even further during finetuning and/or inference. For example: ```python import transformers name = 'mosaicml/mpt-30b-chat' config = transformers.AutoConfig.from_pretrained(name, trust_remote_code=True) config.max_seq_len = 16384 # (input + output) tokens can now be up to 16384 model = transformers.AutoModelForCausalLM.from_pretrained( name, config=config, trust_remote_code=True ) ``` This model was trained with the MPT-30B tokenizer which is based on the [EleutherAI/gpt-neox-20b](https://huggingface.co/EleutherAI/gpt-neox-20b) tokenizer and includes additional padding and eos tokens. ```python from transformers import AutoTokenizer tokenizer = AutoTokenizer.from_pretrained('mosaicml/mpt-30b') ``` The model can then be used, for example, within a text-generation pipeline. Note: when running Torch modules in lower precision, it is best practice to use the [torch.autocast context manager](https://pytorch.org/docs/stable/amp.html). ```python from transformers import pipeline with torch.autocast('cuda', dtype=torch.bfloat16): inputs = tokenizer('Here is a recipe for vegan banana bread:\n', return_tensors="pt").to('cuda') outputs = model.generate(**inputs, max_new_tokens=100) print(tokenizer.batch_decode(outputs, skip_special_tokens=True)) # or using the HF pipeline pipe = pipeline('text-generation', model=model, tokenizer=tokenizer, device='cuda:0') with torch.autocast('cuda', dtype=torch.bfloat16): print( pipe('Here is a recipe for vegan banana bread:\n', max_new_tokens=100, do_sample=True, use_cache=True)) ``` ## Model Description The architecture is a modification of a standard decoder-only transformer. The model has been modified from a standard transformer in the following ways: * It uses [FlashAttention](https://arxiv.org/pdf/2205.14135.pdf) * It uses [ALiBi (Attention with Linear Biases)](https://arxiv.org/abs/2108.12409) and does not use positional embeddings * It does not use biases | Hyperparameter | Value | |----------------|-------| |n_parameters | 29.95B | |n_layers | 48 | | n_heads | 64 | | d_model | 7168 | | vocab size | 50432 | | sequence length | 8192 | ## Data Mix The model was trained on the following data mix: | Data Source | Number of Tokens in Source | Proportion | |-------------|----------------------------|------------| | Airoboros/GPT4-1.2 | 26.4M | 1.71% | | Baize | 55.0M | 3.57% | | Camel | 301M | 19.54% | | GPTeacher | 7.56M | 0.49% | | Guanaco | 15.6M | 1.02% | | LongCoversations | 18.4M | 1.19% | | ShareGPT | 821M | 53.24% | | WizardLM | 297M | 19.23% | "LongConversations" is a GPT3.5/4-generated dataset, details of which will be released at a later date. ### Training Configuration This model was trained on 64 H100s for about 7.6 hours using the [MosaicML Platform](https://www.mosaicml.com/platform). The model was trained with sharded data parallelism using [FSDP](https://pytorch.org/docs/stable/fsdp.html) and used the AdamW optimizer. ## Limitations and Biases _The following language is modified from [EleutherAI's GPT-NeoX-20B](https://huggingface.co/EleutherAI/gpt-neox-20b)_ MPT-30B-Chat can produce factually incorrect output, and should not be relied on to produce factually accurate information. MPT-30B-Chat was trained on various public datasets. While great efforts have been taken to clean the pretraining data, it is possible that this model could generate lewd, biased or otherwise offensive outputs. ## Acknowledgements This model was finetuned by Sam Havens and the MosaicML NLP team ## Disclaimer The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please consult an attorney before using this model for commercial purposes. ## MosaicML Platform If you're interested in [training](https://www.mosaicml.com/training) and [deploying](https://www.mosaicml.com/inference) your own MPT or LLMs on the MosaicML Platform, [sign up here](https://forms.mosaicml.com/demo?utm_source=huggingface&utm_medium=referral&utm_campaign=mpt-7b). ## Citation Please cite this model using the following format: ``` @online{MosaicML2023Introducing, author = {MosaicML NLP Team}, title = {Introducing MPT-30B: Raising the bar for open-source foundation models}, year = {2023}, url = {www.mosaicml.com/blog/mpt-30b}, note = {Accessed: 2023-06-22}, urldate = {2023-06-22} } ```
[ -0.5447006821632385, -0.6476001143455505, 0.17548881471157074, 0.40522873401641846, -0.16953670978546143, 0.07604384422302246, -0.09827562421560287, -0.33561018109321594, -0.04547005519270897, 0.3146771192550659, -0.6067500710487366, -0.6094090342521667, -0.6302357912063599, -0.03413417190313339, -0.38700705766677856, 1.0172282457351685, -0.03882238641381264, 0.039012786000967026, 0.06998684257268906, -0.03899602219462395, -0.23957301676273346, -0.3490733802318573, -0.6864915490150452, -0.3421664237976074, 0.4100867211818695, 0.22485093772411346, 0.695482075214386, 0.7771168351173401, 0.4361107647418976, 0.34239351749420166, -0.15701591968536377, 0.08838086575269699, -0.37964317202568054, -0.31936657428741455, 0.15694674849510193, -0.4091489315032959, -0.6254607439041138, 0.18146921694278717, 0.46313121914863586, 0.2526354491710663, -0.18051208555698395, 0.34675970673561096, 0.04517947882413864, 0.35835203528404236, -0.41849929094314575, 0.3145809471607208, -0.42882239818573, 0.16010446846485138, -0.10644976049661636, 0.06372994929552078, -0.5020485520362854, -0.178421750664711, 0.1252126544713974, -0.45361414551734924, 0.28731343150138855, 0.09340420365333557, 1.0632479190826416, 0.20241966843605042, -0.37123650312423706, -0.07831913232803345, -0.6070672869682312, 0.6159083247184753, -0.8351279497146606, 0.24613557755947113, 0.15641619265079498, 0.30586954951286316, -0.0038407749962061644, -1.0803496837615967, -0.7256520390510559, -0.21642257273197174, -0.009825482964515686, 0.3122379183769226, -0.3617580831050873, 0.07528124004602432, 0.2611851990222931, 0.5067245364189148, -0.5114461779594421, -0.035791151225566864, -0.37085047364234924, -0.1945982724428177, 0.4411787688732147, 0.2971797287464142, 0.34282878041267395, -0.23021341860294342, -0.5262336134910583, -0.28832054138183594, -0.6756094694137573, -0.04944134131073952, 0.31736257672309875, -0.029811346903443336, -0.5023284554481506, 0.6326451301574707, -0.07922331243753433, 0.5603182315826416, 0.14400413632392883, 0.0906844511628151, 0.34606248140335083, -0.40022167563438416, -0.39800024032592773, -0.20741645991802216, 1.1872907876968384, 0.3441902995109558, 0.07247292250394821, 0.09829479455947876, -0.0007680081180296838, -0.23090580105781555, -0.014890630729496479, -1.0254019498825073, -0.43313002586364746, 0.25645795464515686, -0.4631793200969696, -0.23636922240257263, 0.011689321137964725, -0.5774065256118774, -0.19918012619018555, -0.012543832883238792, 0.5690130591392517, -0.7689071893692017, -0.3012309670448303, -0.01651836186647415, -0.1794532686471939, 0.2773319482803345, 0.25503990054130554, -0.9113921523094177, 0.07765448838472366, 0.45826008915901184, 0.9096096754074097, -0.10432235151529312, -0.5589011311531067, -0.06595564633607864, -0.027845382690429688, -0.06908006221055984, 0.5302613973617554, -0.22601665556430817, -0.2410699874162674, -0.3688058853149414, 0.08555088192224503, -0.2008412629365921, -0.456979364156723, 0.16895708441734314, -0.2947728931903839, 0.5607619285583496, -0.1959761083126068, -0.44857141375541687, -0.1660631150007248, 0.12557101249694824, -0.5005534291267395, 0.9211156964302063, 0.34461748600006104, -0.766640305519104, 0.3120376467704773, -0.8515819311141968, -0.12250801175832748, -0.027993429452180862, 0.02671743929386139, -0.6544439792633057, -0.20368225872516632, 0.4022119641304016, 0.41015657782554626, -0.43418845534324646, 0.19307905435562134, -0.19293905794620514, -0.43678393959999084, 0.3064667880535126, -0.6908600926399231, 0.9247938990592957, 0.3896534740924835, -0.668892502784729, 0.15557579696178436, -0.607282280921936, -0.15367652475833893, 0.25381797552108765, -0.44875115156173706, 0.4793299734592438, -0.26636335253715515, 0.04279451072216034, 0.19869302213191986, 0.15298160910606384, -0.5393866300582886, 0.0919109657406807, -0.359218567609787, 0.5163156986236572, 0.7225995659828186, -0.040339112281799316, 0.34751349687576294, -0.5043673515319824, 0.36083438992500305, 0.24158282577991486, 0.44877249002456665, -0.27707672119140625, -0.7873516082763672, -0.9999433159828186, -0.3794346749782562, 0.30316486954689026, 0.5492688417434692, -0.7778183221817017, 0.4301178753376007, -0.1632111668586731, -0.6884031295776367, -0.6529980301856995, -0.0750037282705307, 0.427598774433136, 0.4258307218551636, 0.4912251830101013, -0.3153981864452362, -0.644957959651947, -0.7594344019889832, -0.028033344075083733, -0.14941877126693726, -0.03160708397626877, 0.3638128936290741, 0.5245984792709351, -0.3176124393939972, 0.9129148125648499, -0.3880673944950104, -0.026792127639055252, -0.3699951469898224, 0.25376731157302856, 0.4667554795742035, 0.5612330436706543, 0.5521690249443054, -0.6157492399215698, -0.7968916296958923, -0.1564367115497589, -0.6530386805534363, 0.0770145133137703, -0.09581609070301056, -0.1100413128733635, 0.19779689610004425, 0.1819244921207428, -0.9295116662979126, 0.4595094919204712, 0.5589142441749573, -0.4095969498157501, 0.48256245255470276, -0.03903663158416748, 0.09505999833345413, -1.3322042226791382, -0.0022579352371394634, -0.06896722316741943, -0.14841756224632263, -0.5769395232200623, -0.23529274761676788, 0.05380766838788986, -0.048851799219846725, -0.8079938888549805, 0.4670393764972687, -0.34165093302726746, 0.0917811244726181, -0.1862281709909439, -0.21324005722999573, -0.11313503980636597, 0.7413519024848938, 0.016785578802227974, 0.8715858459472656, 0.4957382082939148, -0.43052011728286743, 0.5727160573005676, 0.3640241026878357, -0.28700363636016846, 0.22475972771644592, -0.5605405569076538, 0.031565893441438675, 0.14956770837306976, 0.35428038239479065, -0.9454963207244873, -0.15065954625606537, 0.4784633219242096, -0.6276834607124329, 0.27671489119529724, -0.23032088577747345, -0.3693575859069824, -0.6363691687583923, -0.11511325091123581, 0.3373486399650574, 0.7010448575019836, -0.6648134589195251, 0.5201034545898438, 0.10024914145469666, 0.10515833646059036, -0.7290132641792297, -0.7075155377388, 0.11887692660093307, -0.2218364030122757, -0.708616316318512, 0.3837180435657501, -0.12753278017044067, 0.06235547363758087, -0.13375356793403625, -0.01592320203781128, 0.11645907163619995, -0.06615400314331055, 0.35477304458618164, 0.3574579656124115, -0.25682660937309265, -0.2177286446094513, -0.14903922379016876, -0.19783098995685577, 0.061786994338035583, -0.3037978708744049, 1.069494366645813, -0.5131228566169739, -0.2926488518714905, -0.7143715023994446, 0.0745122954249382, 0.570287823677063, -0.1267605423927307, 1.008162498474121, 1.0943433046340942, -0.09611235558986664, 0.1069163903594017, -0.5969133973121643, -0.18802522122859955, -0.5262916088104248, 0.427018404006958, -0.18689917027950287, -0.7212989330291748, 0.5748363733291626, 0.20563918352127075, -0.01542541105300188, 0.7136256098747253, 0.8808060884475708, -0.14364926517009735, 0.9986396431922913, 0.36999914050102234, 0.12861308455467224, 0.6506419777870178, -0.6798475980758667, 0.004225763492286205, -0.8687345385551453, -0.3422500789165497, -0.1404639184474945, -0.25906580686569214, -0.6656087040901184, -0.43418601155281067, 0.22976063191890717, -0.154671773314476, -0.6597557067871094, 0.6583616733551025, -0.5447224378585815, 0.36424019932746887, 0.7976701259613037, 0.2315276712179184, 0.05780736729502678, -0.15171751379966736, -0.17906320095062256, 0.15626664459705353, -0.8094878196716309, -0.34546616673469543, 1.2321666479110718, 0.43890833854675293, 0.5484511852264404, -0.04573984816670418, 0.6866487264633179, -0.011302364990115166, 0.5293384790420532, -0.33513733744621277, 0.4778309464454651, 0.12707369029521942, -0.7595080733299255, -0.1429893523454666, -0.597356379032135, -0.7285197973251343, 0.1836368590593338, -0.20844067633152008, -0.771607518196106, 0.2396576702594757, 0.09766055643558502, -0.43947064876556396, 0.5452461242675781, -0.8704264163970947, 0.9574694037437439, -0.18390285968780518, -0.33421239256858826, 0.1171472817659378, -0.718754231929779, 0.36451923847198486, 0.10665269941091537, -0.06377514451742172, -0.17226071655750275, 0.24130894243717194, 0.7232650518417358, -0.5284104943275452, 0.8121956586837769, -0.17955106496810913, 0.14038166403770447, 0.39977172017097473, -0.13390594720840454, 0.42027589678764343, 0.052766598761081696, 0.12237408757209778, 0.24579888582229614, 0.011441980488598347, -0.400409996509552, -0.28908979892730713, 0.49407467246055603, -1.1174577474594116, -0.591234028339386, -0.40008407831192017, -0.6260378360748291, 0.0380786657333374, 0.1440138965845108, 0.7088340520858765, 0.17069664597511292, -0.020918557420372963, 0.29791420698165894, 0.4800732135772705, -0.46894699335098267, 0.8003569841384888, 0.2937523126602173, -0.14888247847557068, -0.5838769674301147, 0.8512691855430603, -0.13159480690956116, 0.43708083033561707, 0.261240154504776, 0.08968661725521088, -0.18733537197113037, -0.4754001796245575, -0.4513372480869293, 0.2261608988046646, -0.5294913649559021, -0.3867587447166443, -0.7427750825881958, -0.5512152910232544, -0.4639599621295929, 0.11584518104791641, -0.641701340675354, -0.3847968578338623, -0.44466984272003174, 0.01088850200176239, 0.29945576190948486, 0.45946499705314636, -0.02956290729343891, 0.7086606025695801, -0.7474138140678406, 0.19727319478988647, 0.3674960434436798, 0.3365359306335449, -0.014132867567241192, -0.5730516314506531, -0.3124598562717438, 0.2978615164756775, -0.6793605089187622, -0.76993727684021, 0.5427538156509399, 0.056584104895591736, 0.4292936325073242, 0.34127098321914673, -0.180585578083992, 0.6242774128913879, -0.3106929063796997, 0.9542881846427917, 0.3782217800617218, -0.9458761811256409, 0.28163453936576843, -0.3973241150379181, 0.39439091086387634, 0.21064084768295288, 0.322374165058136, -0.5605689883232117, -0.4025760293006897, -0.7925560474395752, -0.7354879379272461, 1.0189909934997559, 0.6497228741645813, 0.1648286134004593, -0.041241057217121124, 0.2053617686033249, -0.002928051631897688, 0.1830773800611496, -1.1052168607711792, -0.358469158411026, -0.5162811875343323, -0.2764018774032593, 0.038717612624168396, -0.12090187519788742, -0.13084597885608673, -0.5271161794662476, 0.7096481323242188, 0.09601880609989166, 0.8218771815299988, 0.08359706401824951, -0.09351980686187744, -0.01786305382847786, 0.019931526854634285, 0.49503660202026367, 0.6040714383125305, -0.37034204602241516, -0.02142420969903469, 0.37161538004875183, -0.6720361709594727, 0.041487421840429306, 0.23437286913394928, 0.03058960661292076, -0.14118827879428864, 0.28273120522499084, 1.058073878288269, -0.1402236372232437, -0.2703539729118347, 0.5979738235473633, -0.19202449917793274, -0.21558909118175507, -0.238096684217453, 0.25573572516441345, 0.35256636142730713, 0.5366361141204834, 0.30285388231277466, 0.09492288529872894, -0.20808540284633636, -0.5228443145751953, 0.22159987688064575, 0.25722938776016235, -0.2528877258300781, -0.21588115394115448, 0.9158332347869873, 0.08648412674665451, -0.36252790689468384, 0.8324481248855591, -0.06474340707063675, -0.45704713463783264, 0.7516496777534485, 0.6681622862815857, 0.8519567251205444, -0.2845621705055237, 0.33206871151924133, 0.28609132766723633, 0.2854958176612854, -0.02898937277495861, 0.047001879662275314, -0.09428264200687408, -0.7702377438545227, -0.27681612968444824, -0.6344281435012817, -0.34928375482559204, -0.004377552308142185, -0.42130401730537415, 0.35363876819610596, -0.32699766755104065, -0.3124312460422516, -0.1071159839630127, 0.026321381330490112, -0.7074403166770935, 0.22581864893436432, 0.29368385672569275, 0.8830671906471252, -0.6459583044052124, 0.9772535562515259, 0.24394147098064423, -0.5517787933349609, -0.8418827056884766, -0.20907285809516907, -0.11534066498279572, -0.9855548143386841, 0.3458903133869171, 0.23310725390911102, 0.3143928647041321, 0.12101898342370987, -0.6842519640922546, -0.8206708431243896, 1.5702152252197266, 0.3979675769805908, -0.3657723665237427, -0.2482309341430664, 0.5453231930732727, 0.503242552280426, -0.4811534583568573, 0.6884222030639648, 0.57753586769104, 0.36476626992225647, 0.4369560182094574, -0.7923418283462524, 0.08582065999507904, -0.38538792729377747, -0.0321345329284668, 0.023120896890759468, -0.8558182716369629, 1.1680442094802856, -0.12269767373800278, -0.1582016497850418, 0.2275887131690979, 0.6579051613807678, 0.27633464336395264, 0.23386740684509277, 0.2543545365333557, 0.6910066604614258, 0.44199836254119873, -0.4029787480831146, 1.1348235607147217, -0.38519391417503357, 0.6278188824653625, 0.9003130197525024, 0.23219218850135803, 0.46066832542419434, 0.2934040427207947, -0.2622016668319702, 0.47611403465270996, 0.8545975685119629, -0.36022353172302246, 0.41481199860572815, -0.10266491025686264, -0.18453346192836761, -0.13417787849903107, 0.24368129670619965, -0.5329939126968384, 0.39237090945243835, 0.26238712668418884, -0.6196229457855225, -0.10980972647666931, 0.16541941463947296, 0.2500644028186798, -0.5659715533256531, 0.017807357013225555, 0.6277368664741516, 0.09642715752124786, -0.5660894513130188, 0.796336829662323, 0.07273532450199127, 0.6484882235527039, -0.41709479689598083, 0.19035553932189941, -0.3525681495666504, 0.22757303714752197, -0.1322697103023529, -0.7592194676399231, 0.21667690575122833, -0.13178035616874695, 0.1566343903541565, -0.19359129667282104, 0.27656182646751404, -0.35824257135391235, -0.3342626392841339, 0.1525801569223404, 0.3664379417896271, 0.030426569283008575, -0.1896638572216034, -0.8691758513450623, 0.0008810518775135279, 0.1291736364364624, -0.4559224247932434, 0.1811254769563675, 0.21381402015686035, 0.32514044642448425, 0.6609242558479309, 0.6540445685386658, -0.09965523332357407, 0.20143137872219086, -0.13721928000450134, 0.9743986129760742, -0.6623966097831726, -0.17896166443824768, -1.0255155563354492, 0.639703631401062, -0.11314821988344193, -0.3798549473285675, 0.7585107684135437, 0.634323239326477, 0.773068368434906, -0.057633426040410995, 0.49270448088645935, -0.16973847150802612, 0.03866841644048691, -0.34736335277557373, 0.8783612251281738, -0.3684038519859314, 0.38027334213256836, -0.33234670758247375, -1.1667972803115845, -0.255728155374527, 0.39706769585609436, -0.305907666683197, 0.1891423761844635, 0.6834987998008728, 0.8172341585159302, -0.14568959176540375, 0.1842108964920044, 0.1711168736219406, 0.37531596422195435, 0.4444645643234253, 0.8146686553955078, 0.8893935084342957, -0.6710934638977051, 0.7725224494934082, -0.46350613236427307, -0.18354998528957367, -0.1279754489660263, -0.6131486296653748, -1.0052906274795532, -0.5983540415763855, -0.21884717047214508, -0.5060479044914246, -0.03012414462864399, 0.8855154514312744, 0.7743449807167053, -0.6820731163024902, -0.32494813203811646, -0.2853023409843445, -0.028075486421585083, -0.07874191552400589, -0.22045673429965973, 0.3808614909648895, -0.1011410802602768, -0.8099111914634705, 0.08670911192893982, 0.18884702026844025, 0.37038135528564453, -0.020128967240452766, -0.1953972727060318, -0.34581610560417175, 0.12617698311805725, 0.3659343719482422, 0.19722168147563934, -0.47709038853645325, -0.2004990577697754, 0.00033438566606491804, -0.11665455251932144, 0.4762047529220581, 0.37294861674308777, -0.5334680080413818, 0.2252488136291504, 0.33455923199653625, 0.2351105809211731, 1.1149134635925293, -0.09423880279064178, 0.5668089985847473, -0.5356063842773438, 0.12453652918338776, 0.18749797344207764, 0.44028565287590027, 0.27314454317092896, -0.281724750995636, 0.4402218759059906, 0.38182583451271057, -0.564548909664154, -0.6506973505020142, 0.07488909363746643, -0.9285257458686829, -0.18869313597679138, 1.1573879718780518, -0.1471337080001831, -0.4107750654220581, 0.2678188681602478, -0.3002561330795288, 0.6202961802482605, -0.20117804408073425, 0.7221122980117798, 0.5983645915985107, -0.11247850954532623, -0.5029579401016235, -0.2677757143974304, 0.46795758605003357, 0.3238818645477295, -0.7110839486122131, -0.15072596073150635, 0.11964087188243866, 0.4609028995037079, 0.1391962319612503, 0.46653932332992554, -0.20040635764598846, 0.35144904255867004, 0.06689427047967911, 0.23216600716114044, -0.34077051281929016, -0.22622662782669067, 0.005809151567518711, 0.1388682723045349, -0.3323526382446289, -0.2981608211994171 ]
Michau/t5-base-en-generate-headline
Michau
2021-06-23T03:17:34Z
14,348
50
transformers
[ "transformers", "pytorch", "tf", "jax", "t5", "text2text-generation", "autotrain_compatible", "endpoints_compatible", "has_space", "text-generation-inference", "region:us" ]
text2text-generation
2022-03-02T23:29:04Z
## About the model The model has been trained on a collection of 500k articles with headings. Its purpose is to create a one-line heading suitable for the given article. Sample code with a WikiNews article: ```python import torch from transformers import T5ForConditionalGeneration,T5Tokenizer device = torch.device("cuda" if torch.cuda.is_available() else "cpu") model = T5ForConditionalGeneration.from_pretrained("Michau/t5-base-en-generate-headline") tokenizer = T5Tokenizer.from_pretrained("Michau/t5-base-en-generate-headline") model = model.to(device) article = ''' Very early yesterday morning, the United States President Donald Trump reported he and his wife First Lady Melania Trump tested positive for COVID-19. Officials said the Trumps' 14-year-old son Barron tested negative as did First Family and Senior Advisors Jared Kushner and Ivanka Trump. Trump took to social media, posting at 12:54 am local time (0454 UTC) on Twitter, "Tonight, [Melania] and I tested positive for COVID-19. We will begin our quarantine and recovery process immediately. We will get through this TOGETHER!" Yesterday afternoon Marine One landed on the White House's South Lawn flying Trump to Walter Reed National Military Medical Center (WRNMMC) in Bethesda, Maryland. Reports said both were showing "mild symptoms". Senior administration officials were tested as people were informed of the positive test. Senior advisor Hope Hicks had tested positive on Thursday. Presidential physician Sean Conley issued a statement saying Trump has been given zinc, vitamin D, Pepcid and a daily Aspirin. Conley also gave a single dose of the experimental polyclonal antibodies drug from Regeneron Pharmaceuticals. According to official statements, Trump, now operating from the WRNMMC, is to continue performing his duties as president during a 14-day quarantine. In the event of Trump becoming incapacitated, Vice President Mike Pence could take over the duties of president via the 25th Amendment of the US Constitution. The Pence family all tested negative as of yesterday and there were no changes regarding Pence's campaign events. ''' text = "headline: " + article max_len = 256 encoding = tokenizer.encode_plus(text, return_tensors = "pt") input_ids = encoding["input_ids"].to(device) attention_masks = encoding["attention_mask"].to(device) beam_outputs = model.generate( input_ids = input_ids, attention_mask = attention_masks, max_length = 64, num_beams = 3, early_stopping = True, ) result = tokenizer.decode(beam_outputs[0]) print(result) ``` Result: ```Trump and First Lady Melania Test Positive for COVID-19```
[ -0.19457679986953735, -0.7286614179611206, 0.2364097684621811, 0.3137689530849457, -0.24273766577243805, -0.10527070611715317, -0.031104832887649536, -0.29880490899086, -0.0464424267411232, 0.2777482271194458, -0.6431814432144165, -0.5616681575775146, -0.3810335695743561, -0.005049291532486677, -0.40640023350715637, 1.2500096559524536, 0.2216869592666626, -0.3206978142261505, -0.15150931477546692, 0.13315051794052124, -0.3620848059654236, -0.4109742343425751, -0.6503283381462097, -0.27320343255996704, 0.5896058678627014, 0.534919798374176, 0.6993440389633179, 0.16053426265716553, 0.590499997138977, 0.26012876629829407, 0.013738973997533321, 0.13898204267024994, -0.3410590589046478, -0.038097817450761795, -0.22535255551338196, -0.15385393798351288, -0.7288141250610352, 0.31391751766204834, 0.06152062118053436, 0.16728340089321136, -0.0830807313323021, 0.16019026935100555, -0.14509940147399902, 0.19262419641017914, -0.33295828104019165, -0.35217323899269104, -0.3497619330883026, 0.004182040225714445, 0.02975308895111084, -0.14537544548511505, -0.26418039202690125, -0.1081763431429863, 0.27057555317878723, -0.6559492945671082, 0.1940341293811798, 0.16489291191101074, 1.0760557651519775, -0.02597104199230671, -0.5888336896896362, 0.031210744753479958, -0.7468609809875488, 0.6074050068855286, -0.903322696685791, 0.14958547055721283, 0.49020689725875854, -0.14502854645252228, -0.390049010515213, -0.6936066746711731, -0.41288048028945923, -0.837020993232727, -0.057664960622787476, 0.25944244861602783, -0.017933879047632217, 0.09703300893306732, 0.3566361367702484, 0.33373454213142395, -0.7088972330093384, -0.2373841404914856, -0.6124615669250488, -0.002257381798699498, 0.7446258664131165, 0.1422191858291626, 0.33598461747169495, -0.06661776453256607, -0.5074914693832397, 0.30560746788978577, -0.47847098112106323, 0.2301359623670578, -0.21302218735218048, 0.17581862211227417, -0.6469672322273254, 0.6333047747612, -0.3936397433280945, 0.5418286919593811, 0.5852249264717102, -0.29998889565467834, -0.06299640983343124, -0.6032952070236206, -0.3628620505332947, -0.086126409471035, 0.8420085906982422, 0.39002156257629395, 0.043453115969896317, -0.29057902097702026, 0.05218954756855965, 0.07551107555627823, 0.3204846978187561, -0.9002288579940796, -0.1696445196866989, 0.4815461337566376, -0.3459983170032501, -0.4977625608444214, 0.2777211368083954, -0.4329332709312439, -0.2965185344219208, 0.003015612717717886, 0.9629849195480347, -0.2909998297691345, -0.0712810829281807, 0.06893891096115112, -0.2273920625448227, 0.08889546990394592, 0.09554561972618103, -0.5132095217704773, 0.19203004240989685, 0.38129958510398865, 0.41583770513534546, -0.1735798567533493, -0.19729693233966827, -0.6579771637916565, -0.12463697791099548, -0.598831057548523, 0.3478957712650299, -0.15171100199222565, -0.11337589472532272, -0.36815816164016724, 0.002405082108452916, 0.021747272461652756, -0.5027285814285278, 0.3410467803478241, -0.1863500028848648, 0.3380971848964691, -0.15591898560523987, -0.25382915139198303, 0.09474243223667145, 0.49495476484298706, -0.2085752934217453, 0.6743534207344055, 0.24473883211612701, -0.827720582485199, 0.16528117656707764, -0.22880034148693085, -0.5352903008460999, -0.225541889667511, 0.005285836756229401, -0.7110399603843689, 0.012727396562695503, 0.009389162063598633, 0.37063339352607727, -0.21297268569469452, 0.2528529465198517, -0.47195038199424744, -0.16472190618515015, 0.20771995186805725, -0.16253013908863068, 0.9131097793579102, 0.13162055611610413, -0.6194927096366882, 0.005085465963929892, -0.9422308206558228, -0.22079379856586456, -0.010885165072977543, -0.3015722632408142, 0.04181472212076187, -0.11357279121875763, -0.1218598261475563, 0.6921563744544983, 0.15437448024749756, -0.6656127572059631, 0.2230556756258011, -0.3099360764026642, 0.17406748235225677, 0.22917838394641876, 0.4970420002937317, 0.22735224664211273, -0.3742385506629944, 0.6012605428695679, 0.3257518708705902, 0.3821164667606354, 0.169745072722435, -0.4651658236980438, -0.715935468673706, 0.1404707431793213, -0.14885710179805756, 0.7970783114433289, -0.30161523818969727, 0.4601040482521057, 0.043179817497730255, -0.43017974495887756, 0.0881175771355629, -0.22706125676631927, 0.24054370820522308, 0.5961415767669678, 0.3389941155910492, 0.11299867182970047, -0.6485438942909241, -0.3721620738506317, -0.21454361081123352, 0.04689100757241249, 0.16592533886432648, -0.16869427263736725, 0.5422466993331909, 0.11026798188686371, 0.552423357963562, -0.29988783597946167, -0.3011372983455658, -0.24165521562099457, 0.049256738275289536, 0.3944457471370697, 0.6352996230125427, 0.13122233748435974, -0.5411220788955688, -0.35740453004837036, 0.3010438084602356, -0.6547964215278625, 0.22450944781303406, -0.25516024231910706, -0.22102737426757812, 0.07317646592855453, 0.45857587456703186, -0.5707992911338806, 0.736566960811615, 0.4672726094722748, -0.7276903986930847, 0.8068711161613464, -0.3430734872817993, -0.04719100520014763, -1.120883822441101, 0.06812483072280884, -0.17993631958961487, -0.34649980068206787, -0.7619428634643555, -0.10392399877309799, -0.1832624226808548, -0.12914201617240906, -0.3178144097328186, 0.30454692244529724, -0.18847018480300903, 0.12298302352428436, -0.18050581216812134, 0.03556123375892639, 0.34514981508255005, -0.07671346515417099, -0.24358558654785156, 0.21479707956314087, 0.2942764461040497, -0.6271563768386841, 0.5981176495552063, 0.07787101715803146, -0.026740871369838715, 0.609687864780426, -0.6410554051399231, -0.012670734897255898, 0.14722664654254913, 0.08821672946214676, -0.6875569224357605, -0.11662181466817856, 0.3551970422267914, -0.4577018916606903, 0.1613946408033371, 0.2526547908782959, 0.10830415785312653, -0.5495465397834778, -0.35360828042030334, -0.05673236399888992, 0.3221176862716675, -0.1338670253753662, 0.20513084530830383, 0.09193046391010284, 0.16536198556423187, -0.6280863881111145, -0.6112591624259949, 0.09300675243139267, -0.1503283828496933, -0.49171575903892517, 0.6321320533752441, 0.22314296662807465, -0.41126078367233276, 0.21752451360225677, -0.40870678424835205, -0.10146702080965042, 0.11754228174686432, 0.10949806123971939, 0.5065150260925293, -0.07355667650699615, 0.10197632014751434, -0.15800967812538147, 0.054404012858867645, -0.08865629881620407, -0.27717503905296326, 0.46659189462661743, 0.006152952089905739, 0.061457786709070206, -0.5692211389541626, 0.41502630710601807, 0.6312398314476013, -0.4808056354522705, 0.7004360556602478, 0.9172775745391846, -0.6371331810951233, 0.11756967008113861, -0.33096063137054443, -0.26111724972724915, -0.3674432337284088, 0.4253312945365906, -0.4108937084674835, -0.337783545255661, 0.5203840136528015, 0.5443359613418579, 0.1321215033531189, 0.807148277759552, 0.40781575441360474, -0.23717454075813293, 0.826227068901062, 0.8564298748970032, 0.06018731743097305, 0.31426864862442017, -0.4721747934818268, 0.2228439301252365, -0.6752855777740479, -0.3986297845840454, -0.34089532494544983, 0.00311198434792459, -0.6989653706550598, -0.04862523451447487, 0.40335679054260254, 0.2332097887992859, -0.3408048152923584, 0.39552175998687744, -0.6132588386535645, -0.2633168697357178, 0.3855256140232086, 0.386115163564682, 0.3821237087249756, -0.33091142773628235, 0.018828174099326134, 0.1250787079334259, -0.6569702625274658, -0.11179015040397644, 0.8876901268959045, -0.07011304795742035, 0.8851379156112671, -0.5000284314155579, 0.61039799451828, 0.04650993272662163, 0.32886913418769836, -0.4712095856666565, 0.40553465485572815, -0.5064303278923035, -0.8704329133033752, -0.13003943860530853, 0.006438431330025196, -0.9977850914001465, 0.1127987653017044, -0.44056931138038635, -0.5175211429595947, 0.27799633145332336, -0.016484921798110008, -0.6809455156326294, 0.13901622593402863, -0.4820528030395508, 1.0462192296981812, -0.3445137143135071, -0.1593029648065567, -0.40848350524902344, -0.4537193775177002, 0.33240264654159546, 0.32863226532936096, -0.08200491964817047, -0.4359791576862335, -0.12125545740127563, 0.6949213743209839, -0.5981360077857971, 0.360795259475708, -0.12628407776355743, 0.2673307955265045, 0.2187587469816208, -0.3875427842140198, 0.44601312279701233, 0.29960697889328003, 0.05347030609846115, -0.27152037620544434, 0.17376960813999176, -0.27953195571899414, -0.035323623567819595, 0.527906060218811, -0.7364500164985657, -0.4993349015712738, -0.5472060441970825, -0.4215877950191498, 0.15130510926246643, 0.227984219789505, 0.5923143625259399, 0.6791009902954102, -0.12713050842285156, 0.21529948711395264, 0.3177493214607239, -0.5314550995826721, 0.2427482008934021, 0.12553119659423828, -0.47247156500816345, -0.36496296525001526, 0.6061983108520508, 0.42076677083969116, 0.1296093612909317, 0.3087623417377472, 0.5122417211532593, 0.1509009748697281, -0.24228690564632416, 0.03482293337583542, 0.4095686972141266, 0.03443687781691551, -0.26394906640052795, -0.5462972521781921, -0.5286863446235657, -0.4231753945350647, -0.00035336861037649214, -0.2450421005487442, -0.10508774220943451, -0.3631722033023834, -0.07529845088720322, 0.2468990534543991, 0.6175442934036255, 0.19932502508163452, -0.05177563428878784, -0.44499149918556213, 0.7399747371673584, 0.3342765271663666, -0.11694678664207458, -0.3816763758659363, -0.5169726014137268, -0.3464285731315613, 0.04259137064218521, -0.5924715995788574, -0.8550280332565308, 0.32477959990501404, 0.3015114963054657, 0.24161291122436523, 0.5940866470336914, 0.3730677366256714, 0.7671880722045898, -0.18232972919940948, 0.7283021807670593, 0.08330395072698593, -0.7476708889007568, 0.5947489142417908, -0.37026479840278625, 0.43741172552108765, -0.03530922904610634, 0.3083823621273041, -0.700082540512085, -0.7100056409835815, -0.7480204701423645, -0.5326823592185974, 0.4923459589481354, 0.08415991812944412, -0.016722112894058228, -0.07502031326293945, 0.24612034857273102, -0.11274626106023788, 0.0941317081451416, -0.47460392117500305, -0.45712026953697205, -0.09062964469194412, -0.010939314030110836, 0.06493455916643143, -0.2399814873933792, -0.11934693157672882, -0.8042004108428955, 0.6450803875923157, 0.402701735496521, 0.44082111120224, 0.7010867595672607, -0.03486403450369835, -0.03113790787756443, 0.35690173506736755, 0.8774022459983826, 1.0149409770965576, -0.3200313150882721, 0.10621554404497147, 0.09597957134246826, -0.5006084442138672, 0.17575803399085999, 0.3546200096607208, -0.03757839277386665, 0.20847167074680328, 0.4409363567829132, 0.642751157283783, 0.1704883724451065, -0.20020505785942078, 0.5690158009529114, 0.015793297439813614, -0.14394499361515045, -0.47877565026283264, -0.12062808871269226, 0.23016799986362457, 0.16919830441474915, 0.5604488849639893, 0.17767299711704254, -0.016563864424824715, -0.7094406485557556, 0.3489494323730469, 0.6910088062286377, -0.056620825082063675, -0.713423490524292, 0.9637671113014221, 0.0555766299366951, -0.15630508959293365, 0.7047855854034424, -0.27405667304992676, -0.36895355582237244, 0.7635482549667358, 0.6610422134399414, 0.7382138967514038, -0.2725159227848053, 0.3334033489227295, 0.563832700252533, 0.4279988408088684, 0.2941604256629944, 0.6053218245506287, 0.24894389510154724, -0.5372094511985779, -0.06909115612506866, -0.40732482075691223, -0.16402003169059753, 0.5048431754112244, -0.5658189654350281, 0.33719661831855774, -0.48391520977020264, -0.5691654682159424, 0.09637320786714554, 0.44738179445266724, -0.6801493763923645, 0.4655487537384033, 0.15887989103794098, 0.8803374767303467, -0.8043013215065002, 0.6435789465904236, 0.5000542998313904, -0.17474322021007538, -0.9014796614646912, 0.014269308187067509, -0.49867990612983704, -0.2463536560535431, 0.3054802417755127, 0.32134464383125305, 0.2744295299053192, -0.05445023998618126, -0.306658536195755, -0.903038501739502, 1.094497799873352, 0.2338818460702896, -0.17676761746406555, -0.03472447767853737, -0.16621090471744537, 0.48920562863349915, -0.3404458463191986, -0.06440164893865585, 0.2718891501426697, 0.4147146940231323, -0.3907921314239502, -0.7682747840881348, 0.10031933337450027, 0.0929044783115387, -0.1541927605867386, -0.22388295829296112, -0.58318030834198, 0.9319043159484863, -0.4732755124568939, 0.018659505993127823, 0.059498149901628494, 0.6003610491752625, 0.1093147024512291, 0.4473150372505188, 0.3296144902706146, 0.7168049216270447, 0.48733949661254883, -0.07026603072881699, 1.1070730686187744, -0.3521481156349182, 0.4850657880306244, 0.6722592711448669, 0.3095143139362335, 0.8834038376808167, 0.4902697503566742, -0.5344753265380859, 0.5549800395965576, 0.5530791878700256, 0.15195798873901367, 0.45961761474609375, 0.056020867079496384, -0.3269166350364685, -0.004314911551773548, -0.2145414799451828, -0.4725199043750763, 0.1875467151403427, 0.2467988133430481, -0.24469810724258423, -0.21708860993385315, 0.0902455672621727, 0.36791732907295227, -0.5894078016281128, -0.397048681974411, 0.2079247534275055, 0.3491131663322449, -0.7968236804008484, 0.68161940574646, -0.02019365318119526, 0.5794322490692139, -0.5361090302467346, 0.2736230790615082, -0.018734391778707504, 0.3985532820224762, -0.4279118478298187, -0.2673497200012207, 0.47990548610687256, -0.14510367810726166, -0.1345941722393036, 0.23550523817539215, 0.7711365818977356, -0.77803635597229, -0.6112735271453857, 0.047416381537914276, 0.31631648540496826, -0.22623693943023682, -0.25123557448387146, -0.588429868221283, -0.04927189275622368, -0.27381134033203125, -0.6349859237670898, -0.04427134618163109, 0.10992639511823654, -0.10104460269212723, 0.4557137191295624, 0.5856818556785583, 0.14107754826545715, 0.47653645277023315, -0.18436522781848907, 0.4436608552932739, -0.41682109236717224, -0.3007834255695343, -0.9584954380989075, 0.5227566957473755, -0.08057107031345367, -0.5582931637763977, 0.7523943781852722, 0.5571054220199585, 0.43953877687454224, -0.18903334438800812, 0.4081794023513794, -0.4790486991405487, 0.10644690692424774, -0.06078725308179855, 0.7610167264938354, -0.5150575637817383, -0.4580128788948059, 0.10802996158599854, -0.4208628833293915, -0.27226611971855164, 0.44101378321647644, -0.26207396388053894, -0.030713720247149467, 0.8663851022720337, 0.5768541097640991, -0.06522190570831299, -0.6096468567848206, 0.5093104243278503, 0.4910382330417633, 0.35280320048332214, 0.16789975762367249, 0.49540939927101135, -0.5591378808021545, 0.6389123201370239, -0.8736491203308105, -0.09807205945253372, -0.35205793380737305, -0.45094597339630127, -0.8906456828117371, -0.5004476308822632, -0.38354241847991943, -0.5545674562454224, 0.17063798010349274, 1.0271075963974, 0.8381780982017517, -0.6836370825767517, -0.09675174206495285, -0.16095110774040222, 0.10294073075056076, -0.5422971844673157, -0.2830028831958771, 0.3452998995780945, -0.1071922555565834, -0.3159067630767822, 0.13334821164608002, 0.4444441497325897, -0.16330423951148987, -0.08914928138256073, 0.13100691139698029, -0.37618982791900635, 0.07370315492153168, 0.7074534893035889, 0.25260165333747864, -0.6685130596160889, -0.4742969572544098, 0.19684737920761108, -0.5737074613571167, 0.055434003472328186, 0.1375104933977127, -0.7496771812438965, 0.13207483291625977, 0.7289589643478394, 0.2237328588962555, 0.64159095287323, 0.3204837441444397, 0.3453201949596405, -0.3545014560222626, -0.04663823917508125, 0.2356409877538681, 0.2095060646533966, 0.21977952122688293, -0.4372020363807678, 0.07163431495428085, 0.36889952421188354, -0.5678547024726868, -0.5834468007087708, 0.04090498015284538, -1.1490916013717651, 0.14776434004306793, 0.7523608803749084, -0.15809758007526398, -0.24819226562976837, -0.057450611144304276, -0.07769668847322464, 0.6127011179924011, -0.03898961842060089, 0.6372238993644714, 0.549362301826477, -0.2850375175476074, -0.11337286978960037, -0.7491035461425781, 0.3607594072818756, 0.33933693170547485, -0.8097285628318787, -0.40802592039108276, -0.17260169982910156, 0.6119155883789062, -0.056318677961826324, 0.819786012172699, 0.026730703189969063, 0.7188328504562378, 0.011234262026846409, 0.11517542600631714, -0.16098716855049133, -0.10235431790351868, -0.35440149903297424, -0.24600210785865784, -0.0537995807826519, -0.716032862663269 ]
mpoyraz/wav2vec2-xls-r-300m-cv7-turkish
mpoyraz
2022-03-23T18:28:32Z
14,345
4
transformers
[ "transformers", "pytorch", "wav2vec2", "automatic-speech-recognition", "hf-asr-leaderboard", "mozilla-foundation/common_voice_7_0", "robust-speech-event", "tr", "dataset:mozilla-foundation/common_voice_7_0", "license:cc-by-4.0", "model-index", "endpoints_compatible", "region:us" ]
automatic-speech-recognition
2022-03-02T23:29:05Z
--- license: cc-by-4.0 language: tr tags: - automatic-speech-recognition - hf-asr-leaderboard - mozilla-foundation/common_voice_7_0 - robust-speech-event - tr datasets: - mozilla-foundation/common_voice_7_0 model-index: - name: mpoyraz/wav2vec2-xls-r-300m-cv7-turkish results: - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice 7 type: mozilla-foundation/common_voice_7_0 args: tr metrics: - name: Test WER type: wer value: 8.62 - name: Test CER type: cer value: 2.26 - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Robust Speech Event - Dev Data type: speech-recognition-community-v2/dev_data args: tr metrics: - name: Test WER type: wer value: 30.87 - name: Test CER type: cer value: 10.69 - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Robust Speech Event - Test Data type: speech-recognition-community-v2/eval_data args: tr metrics: - name: Test WER type: wer value: 32.09 --- # wav2vec2-xls-r-300m-cv7-turkish ## Model description This ASR model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on Turkish language. ## Training and evaluation data The following datasets were used for finetuning: - [Common Voice 7.0 TR](https://huggingface.co/datasets/mozilla-foundation/common_voice_7_0) All `validated` split except `test` split was used for training. - [MediaSpeech](https://www.openslr.org/108/) ## Training procedure To support both of the datasets above, custom pre-processing and loading steps was performed and [wav2vec2-turkish](https://github.com/mpoyraz/wav2vec2-turkish) repo was used for that purpose. ### Training hyperparameters The following hypermaters were used for finetuning: - learning_rate 2e-4 - num_train_epochs 10 - warmup_steps 500 - freeze_feature_extractor - mask_time_prob 0.1 - mask_feature_prob 0.05 - feat_proj_dropout 0.05 - attention_dropout 0.05 - final_dropout 0.05 - activation_dropout 0.05 - per_device_train_batch_size 8 - per_device_eval_batch_size 8 - gradient_accumulation_steps 8 ### Framework versions - Transformers 4.16.0.dev0 - Pytorch 1.10.1 - Datasets 1.17.0 - Tokenizers 0.10.3 ## Language Model N-gram language model is trained on a Turkish Wikipedia articles using KenLM and [ngram-lm-wiki](https://github.com/mpoyraz/ngram-lm-wiki) repo was used to generate arpa LM and convert it into binary format. ## Evaluation Commands Please install [unicode_tr](https://pypi.org/project/unicode_tr/) package before running evaluation. It is used for Turkish text processing. 1. To evaluate on `mozilla-foundation/common_voice_7_0` with split `test` ```bash python eval.py --model_id mpoyraz/wav2vec2-xls-r-300m-cv7-turkish --dataset mozilla-foundation/common_voice_7_0 --config tr --split test ``` 2. To evaluate on `speech-recognition-community-v2/dev_data` ```bash python eval.py --model_id mpoyraz/wav2vec2-xls-r-300m-cv7-turkish --dataset speech-recognition-community-v2/dev_data --config tr --split validation --chunk_length_s 5.0 --stride_length_s 1.0 ``` ## Evaluation results: | Dataset | WER | CER | |---|---|---| |Common Voice 7 TR test split| 8.62 | 2.26 | |Speech Recognition Community dev data| 30.87 | 10.69 |
[ -0.4720284044742584, -0.8410122394561768, 0.003561930963769555, 0.22127477824687958, -0.394809365272522, -0.21487723290920258, -0.5393702983856201, -0.3725547790527344, -0.060131900012493134, 0.4069303274154663, -0.6670669913291931, -0.6209813952445984, -0.6630557775497437, -0.0414193719625473, -0.21487532556056976, 1.0233021974563599, 0.07740668207406998, 0.31697630882263184, 0.0689881443977356, -0.32665953040122986, -0.45792287588119507, -0.3334569036960602, -0.9004701972007751, -0.25805360078811646, 0.1683104783296585, 0.6075234413146973, 0.3203490078449249, 0.6077853441238403, 0.5385404229164124, 0.29778599739074707, -0.3756788671016693, 0.017958059906959534, -0.28738638758659363, -0.17608438432216644, 0.12252853065729141, -0.249998077750206, -0.38989752531051636, 0.00962764397263527, 0.8796688914299011, 0.307330846786499, -0.40634840726852417, 0.6524344682693481, 0.1677655577659607, 0.6387071013450623, -0.35122373700141907, 0.18051473796367645, -0.5430927276611328, -0.12340346723794937, -0.27779290080070496, 0.06536739319562912, -0.08025049418210983, -0.18290463089942932, 0.062317054718732834, -0.44366976618766785, 0.24784551560878754, -0.10063420236110687, 1.1066036224365234, 0.2016279548406601, -0.3025304675102234, -0.3559744358062744, -0.76310133934021, 0.8650054335594177, -0.9591206908226013, 0.6312620639801025, 0.6184565424919128, 0.4562442898750305, -0.15178588032722473, -0.7478457093238831, -0.8002157807350159, -0.2080044150352478, 0.20189711451530457, 0.14850644767284393, -0.38392242789268494, -0.045239441096782684, 0.43707990646362305, 0.46505007147789, -0.7402995824813843, 0.12177227437496185, -0.9029557704925537, -0.5095241069793701, 0.5579996705055237, -0.048850998282432556, 0.22412434220314026, -0.11803343147039413, -0.1843903809785843, -0.3360598385334015, -0.23279564082622528, 0.5992650389671326, 0.5076374411582947, 0.6125817894935608, -0.44847044348716736, 0.7256928086280823, -0.3547723889350891, 0.7184616327285767, 0.18575231730937958, -0.4021748900413513, 0.6732462644577026, -0.3200584948062897, -0.24117226898670197, 0.2756083309650421, 1.0480931997299194, 0.2873260974884033, 0.06264396011829376, 0.44562360644340515, -0.26880431175231934, 0.27853259444236755, -0.04827546328306198, -0.7469902634620667, -0.005150252021849155, 0.26883378624916077, -0.41935667395591736, -0.17037445306777954, 0.07437030225992203, -0.5844266414642334, 0.06584066897630692, -0.4839426279067993, 0.7190501689910889, -0.5772608518600464, -0.34216219186782837, 0.20318201184272766, -0.0035791085101664066, 0.4539913833141327, 0.0802987739443779, -0.8452768921852112, 0.5866822004318237, 0.7170072793960571, 0.817549467086792, 0.08353118598461151, -0.2483266443014145, -0.644313633441925, -0.17635847628116608, -0.06376748532056808, 0.592951774597168, -0.23484362661838531, -0.2974563241004944, -0.1791372448205948, 0.17395171523094177, -0.14735132455825806, -0.5921940803527832, 0.96653151512146, -0.13528868556022644, 0.37826821208000183, -0.13404501974582672, -0.44173502922058105, -0.36098164319992065, -0.024774661287665367, -0.6435659527778625, 1.1895411014556885, 0.09396950155496597, -0.6923887133598328, 0.3797021210193634, -0.5360687971115112, -0.43695569038391113, -0.0698857307434082, -0.09285657107830048, -0.6567326784133911, -0.1556711494922638, 0.11471112817525864, 0.38122135400772095, -0.21918612718582153, 0.0497526116669178, -0.12108299136161804, -0.5197944045066833, 0.1896800696849823, -0.330615371465683, 0.7940843105316162, 0.4947226941585541, -0.44774091243743896, 0.12062789499759674, -1.1044114828109741, 0.16942064464092255, -0.0853700339794159, -0.8152869343757629, 0.06593706458806992, -0.10531023144721985, 0.6252872943878174, 0.37379884719848633, 0.18597304821014404, -0.6964384317398071, -0.09306780248880386, -0.5677499771118164, 0.4136194586753845, 0.326824814081192, -0.14319874346256256, 0.15669944882392883, -0.3318948447704315, 0.34107598662376404, 0.08901973813772202, 0.07012999057769775, 0.35398346185684204, -0.5439984798431396, -0.9614748954772949, -0.3284337818622589, 0.3126712739467621, 0.6703271865844727, -0.27739572525024414, 0.6372150778770447, -0.10310646146535873, -0.6402541995048523, -0.9790346026420593, 0.16328245401382446, 0.669696033000946, 0.4886479079723358, 0.49747925996780396, -0.35800912976264954, -0.763903021812439, -0.9401959776878357, -0.1370435655117035, -0.08052993565797806, -0.07040274888277054, 0.3363955616950989, 0.3964616358280182, -0.47080856561660767, 0.6686878800392151, -0.06622980535030365, -0.5266523957252502, -0.45671001076698303, 0.14312691986560822, 0.3991450071334839, 0.764737606048584, 0.27069294452667236, -0.5880721807479858, -0.4451512396335602, -0.0013176554348319769, -0.24817220866680145, -0.09619276970624924, 0.10353691875934601, 0.1634800136089325, 0.5946956872940063, 0.3660840392112732, -0.5949112176895142, 0.3624288737773895, 0.5032702684402466, -0.4027880132198334, 0.6266474723815918, -0.06039617210626602, 0.14735814929008484, -1.2757915258407593, 0.2353348582983017, 0.27954724431037903, -0.09329305589199066, -0.5813776850700378, -0.09032001346349716, -0.06223130226135254, -0.035406939685344696, -0.533716082572937, 0.44296640157699585, -0.399690717458725, -0.11084692180156708, -0.20351538062095642, -0.05873367190361023, -0.24006055295467377, 0.47990381717681885, 0.040422484278678894, 0.9003620147705078, 0.6389977335929871, -0.6414295434951782, 0.32518473267555237, 0.420651376247406, -0.6954696178436279, 0.19116272032260895, -0.8074339032173157, 0.15761983394622803, 0.221404030919075, 0.12797778844833374, -0.97947096824646, -0.21018794178962708, 0.4775930941104889, -0.8585181832313538, 0.40663623809814453, -0.30784469842910767, -0.46388062834739685, -0.46154266595840454, -0.13109077513217926, 0.2541274428367615, 0.6989189386367798, -0.31203702092170715, 0.34323593974113464, 0.3276858329772949, -0.17777854204177856, -0.5703105926513672, -0.8551332354545593, -0.2573298215866089, -0.2961878180503845, -0.68851637840271, 0.045634206384420395, 0.007878633216023445, -0.15267014503479004, -0.20309990644454956, -0.3162580728530884, -0.11656016111373901, -0.2203575223684311, 0.24503931403160095, 0.20305168628692627, -0.383911669254303, -0.19887827336788177, 0.038568634539842606, -0.08792830258607864, -0.018696699291467667, -0.21242192387580872, 0.6479888558387756, -0.2662902772426605, -0.14727063477039337, -1.0211995840072632, 0.14657989144325256, 0.6190720200538635, -0.4525779187679291, 0.599445104598999, 1.1154248714447021, -0.432039350271225, 0.12000440061092377, -0.8088394999504089, -0.010203329846262932, -0.5020503401756287, 0.6142471432685852, -0.408885657787323, -0.8711510896682739, 0.651826798915863, 0.11094319820404053, -0.12650983035564423, 0.7674874067306519, 0.6632270812988281, 0.033816754817962646, 1.0109713077545166, 0.30590900778770447, -0.11622423678636551, 0.47941094636917114, -0.43917882442474365, -0.02918163500726223, -0.9210778474807739, -0.4429453909397125, -0.6433177590370178, -0.12448989599943161, -0.7308515906333923, -0.3377540409564972, 0.09761625528335571, 0.14829951524734497, -0.29373452067375183, 0.3907478153705597, -0.5339622497558594, 0.2565194368362427, 0.6543927192687988, 0.10371072590351105, -0.07254672795534134, 0.4191994369029999, -0.28443077206611633, 0.052375003695487976, -0.4345223307609558, -0.6178209781646729, 1.1424238681793213, 0.5147039890289307, 0.6761611700057983, 0.06315144896507263, 0.5039416551589966, 0.07292190939188004, -0.4942680299282074, -0.9356753826141357, 0.47727516293525696, -0.31215700507164, -0.5690678358078003, -0.46899694204330444, -0.34249982237815857, -0.8693000674247742, 0.06034519523382187, -0.34118813276290894, -0.9513410925865173, 0.11056620627641678, 0.09528438001871109, -0.4917798638343811, 0.06712842732667923, -0.6380805969238281, 0.87419593334198, 0.07503408938646317, -0.19569866359233856, -0.391433447599411, -0.758456826210022, 0.21444132924079895, 0.047680363059043884, 0.11464565992355347, -0.11911135911941528, 0.3598497807979584, 1.2143816947937012, -0.5273798704147339, 0.4188498854637146, -0.3044949769973755, 0.16586507856845856, 0.6126483082771301, -0.20899125933647156, 0.39292803406715393, -0.03258516266942024, -0.1443130373954773, 0.3756789565086365, 0.33714428544044495, -0.23370599746704102, -0.2846023738384247, 0.7968981266021729, -1.173374056816101, -0.28427138924598694, -0.4882451593875885, -0.43887048959732056, -0.08955536037683487, 0.13354557752609253, 0.5047921538352966, 0.7275237441062927, -0.06579797714948654, 0.42596885561943054, 0.5907833576202393, -0.17863842844963074, 0.1758028268814087, 0.7443351149559021, -0.04960692673921585, -0.6975134611129761, 1.0010671615600586, 0.22307619452476501, 0.2548995316028595, -0.012614075094461441, 0.22958320379257202, -0.4644244313240051, -0.6396892070770264, -0.41687849164009094, 0.24141015112400055, -0.5077633857727051, 0.03683895990252495, -0.6394035220146179, -0.4145340323448181, -0.7073202729225159, 0.3285621106624603, -0.5490562915802002, -0.46396878361701965, -0.49542778730392456, -0.07725570350885391, 0.577435314655304, 0.5715968012809753, -0.2639845013618469, 0.43470171093940735, -0.6143073439598083, 0.34843748807907104, 0.16555985808372498, 0.35474684834480286, -0.16882258653640747, -1.0516988039016724, -0.4086552858352661, 0.31893065571784973, -0.25101155042648315, -0.6307217478752136, 0.5102636814117432, 0.23801268637180328, 0.5215826630592346, 0.4243965148925781, -0.23374174535274506, 0.7624671459197998, -0.40330320596694946, 0.796984076499939, 0.14282341301441193, -0.8994579315185547, 0.6572127342224121, -0.38523730635643005, 0.3491058647632599, 0.7456163763999939, 0.13229644298553467, -0.6118975281715393, -0.25942957401275635, -0.5124934315681458, -0.9756299257278442, 1.1017615795135498, 0.4416171908378601, -0.03719485178589821, 0.24018494784832, 0.3683094382286072, 0.043287213891744614, -0.041714590042829514, -0.5524413585662842, -0.46388259530067444, -0.25730589032173157, -0.36395883560180664, -0.3270280659198761, -0.5025461316108704, 0.0029442505910992622, -0.7077523469924927, 0.9850484132766724, 0.244292750954628, 0.3605599105358124, 0.21615912020206451, -0.04693687707185745, -0.25952357053756714, 0.35121193528175354, 0.8402708172798157, 0.3140891492366791, -0.46439915895462036, -0.1024429053068161, 0.24402935802936554, -0.8896795511245728, 0.09979808330535889, 0.2879353165626526, 0.08935331553220749, 0.05874738469719887, 0.18700556457042694, 1.207444667816162, -0.05012747645378113, -0.45135799050331116, 0.4698210060596466, -0.24459944665431976, -0.48868128657341003, -0.646856427192688, 0.17685021460056305, 0.11127661913633347, 0.3225065767765045, 0.4339022636413574, 0.054971251636743546, 0.2315729409456253, -0.321352481842041, 0.19726495444774628, 0.2805892527103424, -0.5589197874069214, -0.34626612067222595, 0.6343781352043152, 0.028312968090176582, -0.5011790990829468, 0.7603967189788818, -0.0821332111954689, -0.3730563819408417, 0.7368828058242798, 0.6681699752807617, 0.8262678384780884, -0.44538745284080505, -0.08386934548616409, 0.6933696269989014, 0.27791330218315125, -0.20877306163311005, 0.7056735754013062, -0.02608427219092846, -0.5680335760116577, -0.2232450395822525, -0.965745747089386, -0.04813205450773239, 0.6654253602027893, -1.1134017705917358, 0.641486644744873, -0.4489898383617401, -0.27655309438705444, 0.15121547877788544, 0.42419636249542236, -0.6746217608451843, 0.45570772886276245, 0.308003306388855, 1.0047950744628906, -0.8739855885505676, 1.02962064743042, 0.817536473274231, -0.4112817943096161, -1.2276744842529297, -0.07816366851329803, 0.10226188600063324, -0.6454524397850037, 0.4353061020374298, 0.36361685395240784, -0.07761786133050919, 0.13185109198093414, -0.5656865835189819, -1.0874069929122925, 1.090389370918274, 0.19917918741703033, -0.8446289300918579, 0.5392956733703613, 0.20544219017028809, 0.5163634419441223, -0.20023894309997559, 0.12616758048534393, 0.6922862529754639, 0.407718300819397, 0.22957228124141693, -1.3345929384231567, 0.003503141924738884, -0.4996430277824402, -0.18415208160877228, -0.07760880142450333, -0.7499890923500061, 0.8947241902351379, -0.17303471267223358, -0.1467830389738083, 0.2703839838504791, 0.724449634552002, 0.5327703952789307, 0.48883378505706787, 0.4882267415523529, 0.7329323887825012, 0.5998929738998413, 0.053212106227874756, 0.6601799130439758, -0.3127466142177582, 0.5010871887207031, 1.1153926849365234, 0.041356731206178665, 1.0567015409469604, 0.5012294054031372, -0.26540297269821167, 0.4390527904033661, 0.6815313100814819, -0.224314883351326, 0.5910995006561279, 0.13718116283416748, -0.2356085628271103, -0.14366154372692108, -0.020761478692293167, -0.6357182860374451, 0.813164472579956, 0.3383895456790924, -0.21870222687721252, 0.15473949909210205, 0.0039986600168049335, 0.08215649425983429, -0.13952001929283142, -0.2728794813156128, 0.8080152869224548, -0.036478620022535324, -0.421257883310318, 0.7649533748626709, 0.2553926110267639, 0.7153038382530212, -0.694942057132721, 0.06390083581209183, 0.0006187600083649158, 0.33154451847076416, -0.24678568542003632, -0.5378555059432983, 0.28480803966522217, 0.11495307087898254, -0.33101505041122437, 0.2339978963136673, 0.6185793280601501, -0.6701915860176086, -0.7877463102340698, 0.188883975148201, 0.12662877142429352, 0.3996679186820984, -0.04160761460661888, -0.7962253093719482, 0.2561865448951721, 0.09990834444761276, -0.40131106972694397, 0.22685594856739044, 0.22052055597305298, 0.038737375289201736, 0.5664986968040466, 0.7696419358253479, 0.17930103838443756, 0.04569913074374199, 0.20062725245952606, 0.7792483568191528, -0.581669807434082, -0.5437209010124207, -0.7451100945472717, 0.49532151222229004, 0.18284541368484497, -0.3893981873989105, 0.7584937214851379, 0.8365615606307983, 0.8879215717315674, -0.06894205510616302, 0.805311918258667, -0.020594365894794464, 0.7339212894439697, -0.491469144821167, 1.109055995941162, -0.5735999941825867, -0.003934138920158148, -0.3785559833049774, -0.7505227327346802, -0.09178005158901215, 0.8584088683128357, -0.14429202675819397, 0.005197844468057156, 0.4807251989841461, 0.9973790049552917, -0.11349842697381973, -0.17958146333694458, 0.15365342795848846, 0.3359692394733429, 0.029153987765312195, 0.4055352509021759, 0.5761624574661255, -0.7533121705055237, 0.6847276091575623, -0.3258396089076996, -0.18715150654315948, -0.07397627085447311, -0.31585198640823364, -0.8522347211837769, -0.6728330850601196, -0.45537254214286804, -0.5304692983627319, 0.06512390077114105, 1.261489748954773, 0.5819882750511169, -1.1130869388580322, -0.5805948972702026, 0.04783061519265175, -0.2854650914669037, -0.36674657464027405, -0.22148428857326508, 0.4833620488643646, 0.02531125582754612, -0.6466767191886902, 0.3929085433483124, -0.1913258284330368, 0.21507278084754944, -0.02900257147848606, -0.3381756544113159, -0.3211047053337097, -0.02633737586438656, 0.290160208940506, 0.34946930408477783, -0.943066418170929, -0.1463698446750641, -0.23624521493911743, -0.22707684338092804, 0.04946009814739227, 0.2580867111682892, -0.6401575803756714, 0.39133408665657043, 0.40035873651504517, 0.12358483672142029, 0.5603355169296265, -0.05783073231577873, 0.34958961606025696, -0.5096204280853271, 0.3816969692707062, -0.10654997080564499, 0.26626044511795044, 0.35068562626838684, -0.29820966720581055, 0.2045532763004303, 0.2585463523864746, -0.5016408562660217, -0.8751200437545776, -0.20732702314853668, -1.3434422016143799, 0.13119734823703766, 1.6282645463943481, 0.04318244010210037, -0.2673376500606537, 0.1041070744395256, -0.47670164704322815, 0.7723143696784973, -0.6010609865188599, 0.6174567937850952, 0.581456184387207, 0.21291638910770416, -0.03555339202284813, -0.7093397974967957, 0.6086044311523438, 0.19210197031497955, -0.34158939123153687, -0.18877337872982025, 0.41121184825897217, 0.7362862825393677, -0.10407812148332596, 0.5906294584274292, -0.11618918180465698, 0.35490700602531433, -0.06364967674016953, 0.3760167360305786, -0.3139753043651581, -0.1284652054309845, -0.7652261257171631, -0.22275124490261078, 0.04625571519136429, -0.5303070545196533 ]
ostris/ikea-instructions-lora-sdxl
ostris
2023-09-29T11:55:15Z
14,315
167
diffusers
[ "diffusers", "text-to-image", "stable-diffusion", "lora", "style", "styles", "instruction_manual", "ikea", "base_model:stabilityai/stable-diffusion-xl-base-1.0", "license:other", "has_space", "region:us" ]
text-to-image
2023-09-29T11:55:12Z
--- license: other tags: - text-to-image - stable-diffusion - lora - diffusers - style - styles - instruction_manual - ikea base_model: stabilityai/stable-diffusion-xl-base-1.0 instance_prompt: widget: - text: "where is waldo " - text: "sleep" - text: "hamburger,, lettuce, mayo, lettuce, no tomato " - text: "barbie and ken " - text: "back to the future " - text: "the dude, form the movie the big lebowski, drinking, rug wet, bowling ball " - text: "hippie " - text: " fat man, eat pizza, eat hamburgers, drink beer" - text: " dayman, fighter of the night man, champion of the sun" - text: " nightman, pay troll toll to get into that boys hole" --- # Ikea Instructions - LoRA - SDXL ![Image 0](2709992.jpeg) > where is waldo <p>No trigger word needed. Weight of 1.0 works well on the SDXL 1.0 base. Negatives are usually not needed, but "blurry" and "low quality" seem to help. You can use simple prompts such as "hamburger" or describe steps you want it to show. SDXL does a pretty good job of figuring out the steps to make it.</p> ## Image examples for the model: ![Image 1](2710014.jpeg) > sleep ![Image 2](2709929.jpeg) > hamburger,, lettuce, mayo, lettuce, no tomato ![Image 3](2709942.jpeg) > barbie and ken ![Image 4](2709944.jpeg) > back to the future ![Image 5](2709950.jpeg) > the dude, form the movie the big lebowski, drinking, rug wet, bowling ball ![Image 6](2709958.jpeg) > hippie ![Image 7](2709976.jpeg) > fat man, eat pizza, eat hamburgers, drink beer ![Image 8](2709977.jpeg) > dayman, fighter of the night man, champion of the sun ![Image 9](2709980.jpeg) > nightman, pay troll toll to get into that boys hole
[ -0.544476330280304, -0.67435622215271, 0.876990020275116, 0.22570423781871796, -0.5716016292572021, -0.0875556543469429, 0.7232258915901184, -0.1755039244890213, 0.7650278806686401, 0.6936355233192444, -1.018668293952942, -0.6584770679473877, -0.3990876376628876, 0.004558538552373648, -0.40121716260910034, 0.9615551233291626, -0.2403057962656021, 0.1256958544254303, 0.27445709705352783, -0.07952506840229034, -0.4619046449661255, 0.03937100991606712, -0.4075302183628082, -0.18789885938167572, 0.5776674747467041, 0.38500532507896423, 0.9319334626197815, 0.7775703072547913, 0.2499975860118866, 0.3454861640930176, -0.18528448045253754, -0.21994218230247498, -0.44150587916374207, -0.15064290165901184, -0.4243793785572052, -0.4340914785861969, -0.6781001687049866, -0.04878098517656326, 0.619374692440033, 0.46308261156082153, -0.14504186809062958, 0.23138968646526337, -0.231112539768219, 0.9723572134971619, -0.4040203094482422, 0.24193650484085083, -0.1915225088596344, 0.4326871931552887, 0.1132303848862648, 0.20525279641151428, 0.1083327904343605, -0.5653774738311768, -0.5203371047973633, -0.6503379344940186, -0.10456972569227219, 0.16074195504188538, 1.3302310705184937, 0.48925870656967163, -0.4268190264701843, -0.5227168798446655, -0.6510903835296631, 0.885258674621582, -0.8847026228904724, 0.3826058506965637, 0.4706640839576721, 0.42767849564552307, -0.1401699036359787, -0.20478926599025726, -0.7595577836036682, 0.15872551500797272, 0.05839383974671364, 0.08037698268890381, -0.21788430213928223, -0.2955399751663208, 0.5761122703552246, 0.1064894050359726, -0.628145158290863, 0.038004320114851, -0.8041855692863464, 0.4731771647930145, 0.8166213631629944, 0.2806609570980072, 0.09539829194545746, -0.5172709822654724, -0.8663168549537659, -0.24492387473583221, -0.5470366477966309, -0.3380959630012512, 0.177313432097435, 0.011464630253612995, -0.3753252327442169, 0.97855144739151, -0.06439252197742462, 0.3423733711242676, 0.2674080431461334, -0.25636348128318787, 0.3750016987323761, -0.2855182886123657, -0.03195643424987793, 0.15013112127780914, 0.43290549516677856, 0.9054515957832336, -0.37115877866744995, 0.28412553668022156, -0.543164074420929, 0.05843775346875191, 0.33981940150260925, -0.6053434610366821, -0.08568372577428818, 0.38560187816619873, -0.4990314543247223, -0.05100517347455025, -0.15897245705127716, -1.067573070526123, -0.2898160219192505, -0.3617151081562042, 0.7670586109161377, -0.16276681423187256, 0.15591679513454437, -0.023111050948500633, -0.14680558443069458, 0.9818946719169617, 0.33998072147369385, -0.5721840858459473, 0.40743735432624817, 0.3609488606452942, 0.4079092741012573, 0.06753206998109818, 0.028072526678442955, -0.656956136226654, 0.5109685063362122, -0.586808443069458, 0.6503484845161438, 0.02237093262374401, -0.36381423473358154, -0.0008473669877275825, 0.21136359870433807, 0.3000344932079315, -0.29919278621673584, 0.7457020878791809, -0.7203977108001709, 0.1885025054216385, -0.6053588390350342, -0.44437435269355774, -0.4341980814933777, 0.2151792198419571, -0.988015353679657, 0.5699232220649719, 0.2830817997455597, -0.2671325206756592, 0.3263026177883148, -0.9522801637649536, -0.5899501442909241, -0.05803048983216286, -0.44314974546432495, -0.2830814719200134, 0.3967207670211792, 0.23634977638721466, 0.3741205334663391, -0.04094177111983299, -0.5006654262542725, -0.014270109124481678, -0.3933943808078766, -0.005413282662630081, 0.17615889012813568, 1.051355242729187, 0.2643025815486908, -0.3890911340713501, 0.131464883685112, -0.966123104095459, 0.012104673311114311, 0.5356085300445557, -0.5617206692695618, 0.18930593132972717, 0.014696347527205944, -0.23700082302093506, 0.2947891652584076, 0.3668462634086609, -0.4247666299343109, 0.13578270375728607, -0.20823900401592255, 0.002606407506391406, 0.9109101295471191, 0.05303018540143967, 0.3148441016674042, -0.4476236402988434, 0.7581628561019897, -0.12891654670238495, 0.22121460735797882, 0.030261529609560966, -0.45374587178230286, -1.1330134868621826, -0.059057675302028656, -0.11852416396141052, 0.5386899709701538, -0.9980317950248718, 0.6978872418403625, 0.16494110226631165, -0.2984056770801544, -0.25776928663253784, 0.2284935861825943, 0.4421153962612152, 0.07163956016302109, 0.2899986505508423, -0.25566044449806213, -0.9165216684341431, -0.7636598348617554, 0.6015923619270325, 0.09470333904027939, -0.1488400548696518, 0.2700619697570801, 0.6976783275604248, -0.17607678472995758, 0.6193438172340393, -1.0189141035079956, -0.5521067976951599, -0.2958918511867523, -0.13270914554595947, 0.8949416279792786, 0.4425080716609955, 0.5076900720596313, -0.62855464220047, -0.43267184495925903, -0.2665283679962158, -0.8457063436508179, 0.3852686285972595, 0.08198332041501999, -0.0012639261549338698, 0.18039846420288086, 0.5721373558044434, -0.730735719203949, 0.47067686915397644, 0.353302538394928, -0.6892260909080505, 0.5504484176635742, -0.3173145353794098, 0.055068571120500565, -1.192370057106018, -0.2402685284614563, -0.17956124246120453, -0.17501789331436157, -0.2730209529399872, 0.38882067799568176, -0.29028964042663574, -0.39035576581954956, -0.7226496934890747, 0.5045344829559326, -0.45683324337005615, -0.4167057275772095, 0.038309093564748764, 0.12988416850566864, 0.1450081318616867, 0.7319555282592773, -0.24621909856796265, 0.4921872317790985, 0.5288689136505127, -0.7169994711875916, 0.5468114018440247, 0.3840333819389343, -0.45646703243255615, 0.9124608635902405, -0.8663193583488464, 0.17704646289348602, -0.4119888246059418, 0.08295200020074844, -1.218292236328125, -0.24369506537914276, 0.3853980302810669, -0.010553505271673203, 0.05589551106095314, 0.025158610194921494, -0.49120891094207764, -0.3812187910079956, -0.5258656144142151, -0.003927711863070726, 0.931038498878479, -0.5473291873931885, 0.7876973748207092, 0.5652508735656738, 0.18952852487564087, -0.2913190722465515, -0.4707668125629425, -0.1589134782552719, -0.22549746930599213, -0.2122839093208313, 0.1639382392168045, -0.3836880028247833, -0.44277656078338623, -0.11159360408782959, -0.11162816733121872, -0.3800867795944214, -0.32851558923721313, 0.5557118654251099, 0.36557722091674805, -0.3756256401538849, -0.25288161635398865, 0.05920354649424553, -0.14409632980823517, 0.33019962906837463, 0.289125919342041, 0.5150379538536072, -0.20192354917526245, -0.32019340991973877, -0.5054548978805542, 0.6397445201873779, 0.6442937850952148, 0.3873085677623749, 0.44169244170188904, 0.7879152297973633, -0.6125562787055969, -0.031139368191361427, -0.43954840302467346, -0.3544512987136841, -0.5398510098457336, 0.3079487085342407, -0.4272339344024658, 0.12238236516714096, 0.5890554189682007, 0.27308061718940735, 0.18739143013954163, 0.4911377429962158, 0.2353966236114502, -0.6118330955505371, 1.2916934490203857, 0.562169075012207, 0.5197120308876038, 0.3298876881599426, -0.6895149350166321, 0.06094983592629433, -0.9889066815376282, -0.31920698285102844, -0.5275126695632935, -0.6747447848320007, 0.09795790165662766, -0.7392368912696838, 0.2150978296995163, 0.4495043158531189, -0.44584009051322937, 0.9338540434837341, -0.10551729053258896, 1.0527644157409668, 0.26633408665657043, 0.24856480956077576, 0.10852929204702377, -0.04957076534628868, -0.2913952171802521, -0.31009674072265625, -0.47556084394454956, -0.373042494058609, 0.5635271072387695, 0.4868716299533844, 1.3563591241836548, 0.3275822103023529, 1.0609142780303955, 0.183927983045578, -0.09352283924818039, -0.580539882183075, 1.0987766981124878, -0.4134465157985687, -0.7598335146903992, -0.377767950296402, -0.04924177750945091, -0.9417704939842224, -0.11152757704257965, -0.2584100365638733, -0.6016674637794495, 0.3434073328971863, -0.18906326591968536, -0.5660319924354553, 0.25662943720817566, -0.749540388584137, 0.5638805627822876, -0.6357986330986023, -0.2550596594810486, -0.03587454557418823, -0.4152096211910248, 0.43415895104408264, 0.10214805603027344, 0.4763577878475189, -0.27361440658569336, -0.24431096017360687, 0.9566063284873962, -0.5651460289955139, 0.799681544303894, -0.3118414282798767, -0.5082866549491882, 0.10221678763628006, 0.13861951231956482, 0.8467634320259094, 0.13287927210330963, -0.0572877936065197, 0.1785910427570343, -0.015579625964164734, -0.2674115300178528, -0.6090531349182129, 0.9145942330360413, -0.7791297435760498, -0.5435543060302734, -0.4763087034225464, -0.43005210161209106, 0.26354411244392395, 0.23012207448482513, 0.24083949625492096, -0.08331350982189178, -0.005201441701501608, 0.1539425253868103, 0.8881880044937134, -0.1868070513010025, 0.5354723930358887, 0.5710044503211975, -0.9152638912200928, -0.5930934548377991, 0.7915878891944885, 0.32001543045043945, -0.016904128715395927, 0.3214638829231262, 0.17987604439258575, -0.5989050269126892, -0.13028845191001892, -0.5963398218154907, 0.4290631413459778, -1.088039755821228, -0.1458045393228531, -0.3967657685279846, -0.21748089790344238, 0.17414170503616333, -0.7203713059425354, -0.516375720500946, -0.3873201906681061, -0.5695644021034241, -0.03583047166466713, 0.3641703426837921, 1.1632640361785889, -0.03328660503029823, 0.28687170147895813, -0.46714818477630615, 0.7865946292877197, 0.7876585125923157, 0.24794650077819824, -0.10965149104595184, -0.2806583046913147, -0.05619083344936371, -0.10502474009990692, -0.170773446559906, -0.8380021452903748, 0.32663118839263916, -0.23068168759346008, 0.4967847764492035, 0.5214406251907349, 0.20056773722171783, 0.8378500938415527, -0.7823951244354248, 0.9196873903274536, 0.7831181287765503, -0.7634543776512146, 0.6748794913291931, -0.27768778800964355, 0.4730091392993927, 0.16875286400318146, 0.6348210573196411, -0.04058011621236801, 0.13077273964881897, -0.742120623588562, -0.7557727694511414, 0.5423275232315063, 0.07174193114042282, 0.2787739038467407, -0.028674108907580376, -0.18277104198932648, 0.16799920797348022, 0.0740569606423378, -1.0071336030960083, -0.23660926520824432, -0.2239682376384735, 0.26992905139923096, -0.0008273519924841821, -0.12593288719654083, -0.4793016314506531, -0.4476693570613861, 0.7761488556861877, 0.13608436286449432, 0.3206130266189575, -0.06426569819450378, 0.07541284710168839, -0.52828049659729, 0.2906269133090973, 0.8799060583114624, 1.0001798868179321, -0.6023622751235962, -0.14688074588775635, 0.2956048846244812, -0.28840237855911255, 0.1468035727739334, -0.08412206172943115, -0.04194391518831253, 0.48740094900131226, 0.08429461717605591, 0.8013885021209717, 0.5273817181587219, -0.5562347769737244, 0.1687026172876358, -0.18346863985061646, -0.33139684796333313, -0.5113115906715393, 0.40317729115486145, 0.16319094598293304, 0.5322881937026978, 0.38331350684165955, -0.20389020442962646, -0.31573015451431274, -0.7880573868751526, 0.08108096569776535, 0.4868175685405731, -0.4852942228317261, -0.0667785033583641, 0.841591477394104, 0.11761631816625595, -0.8406322598457336, 0.4163058400154114, -0.5172075629234314, -0.2746090888977051, 0.7331483364105225, 0.7576600909233093, 0.74054354429245, -0.14141307771205902, 0.4190414249897003, 0.7135697603225708, 0.2846820652484894, 0.26230430603027344, 1.0447853803634644, 0.12829454243183136, -0.3815936744213104, -0.0533410906791687, -0.9787537455558777, -0.37650853395462036, 0.3540996313095093, -0.5488069653511047, 0.49007150530815125, -0.9043811559677124, 0.3593880832195282, 0.08748045563697815, 0.09160032868385315, -0.8125578165054321, 0.15298493206501007, -0.06843598186969757, 0.8247780203819275, -0.8223186731338501, 0.6490333676338196, 0.4874646067619324, -0.5525332689285278, -0.7022121548652649, -0.3065791130065918, 0.05513596907258034, -1.2141821384429932, 0.858525812625885, 0.09484049677848816, 0.14446568489074707, -0.06923618912696838, -0.6772279143333435, -1.0685577392578125, 1.1543858051300049, -0.008037597872316837, -0.8042832016944885, -0.29860371351242065, -0.03361262381076813, 0.30169570446014404, -0.4528258442878723, -0.346832275390625, 0.25645509362220764, 0.5418620705604553, 0.5250600576400757, -0.5048503279685974, 0.20453166961669922, -0.02871684730052948, 0.14128917455673218, 0.11269121617078781, -0.1640157550573349, 1.2643520832061768, -0.7700245976448059, -0.22879129648208618, 0.26669108867645264, 0.4640237092971802, 0.3306802213191986, 0.02431470900774002, 0.7984259128570557, 0.8297926187515259, 0.314059853553772, 0.07670339941978455, 0.9557585716247559, 0.08201015740633011, 0.2772049903869629, 1.42860746383667, -0.6948541402816772, 1.0044889450073242, 0.6147140264511108, -0.775884211063385, 0.6397225856781006, 0.378970205783844, -0.20086003839969635, 0.4891487956047058, 0.3841458559036255, 0.0594119131565094, 0.08531259745359421, -0.04759765788912773, -0.6449964642524719, 0.41149646043777466, 0.48432520031929016, -0.5236504077911377, -0.6968231797218323, 0.22010888159275055, -0.055304981768131256, -0.13293343782424927, -0.5858097672462463, 0.9185952544212341, 0.07269693166017532, -0.2396198958158493, 1.0426058769226074, -0.3898421823978424, 0.21804645657539368, -0.7456942796707153, -0.5886626243591309, -0.2627713084220886, 0.21864038705825806, -0.2864074409008026, -1.2099815607070923, 0.2651245594024658, -0.10823899507522583, -0.36046692728996277, -0.03129037469625473, 0.2311546802520752, -0.12906740605831146, -0.8303036093711853, 0.08179866522550583, 0.24692513048648834, 0.6952746510505676, 0.42474499344825745, -0.9263337850570679, 0.6180543899536133, 0.040829967707395554, 0.11921149492263794, 0.1105155199766159, -0.05149657651782036, 0.32527485489845276, 0.38169389963150024, 0.4553377032279968, -0.2822017967700958, -0.021238571032881737, -0.306472510099411, 0.7802129983901978, -0.8159156441688538, -0.4193533957004547, -0.4272295832633972, 0.682773232460022, 0.06372392922639847, -0.22957739233970642, 0.8136823177337646, 0.46470507979393005, 0.774968683719635, -0.7032836079597473, 0.041267432272434235, -0.3675488233566284, 0.315427303314209, -1.0268313884735107, 0.8666152954101562, -0.7155919075012207, 0.332734078168869, -0.36214572191238403, -1.3345222473144531, -0.07881462574005127, 1.0392173528671265, -0.11350182443857193, -0.004145038779824972, 0.7554933428764343, 0.7546039819717407, 0.0027306191623210907, -0.22732701897621155, 0.43155649304389954, 0.4735127389431, 0.16282795369625092, 0.44384464621543884, 0.4741629660129547, -0.7364456057548523, 0.5276338458061218, -0.43827393651008606, -0.08091232180595398, -0.33147692680358887, -1.0479627847671509, -0.7422018051147461, -0.582145631313324, -0.39529988169670105, -0.6066470742225647, 0.15730954706668854, 0.8111127018928528, 1.0221902132034302, -0.8617464900016785, -0.4768493175506592, 0.2267928421497345, 0.5868724584579468, -0.37820976972579956, -0.21599259972572327, 0.4823690950870514, 0.14618033170700073, -0.6813348531723022, 0.5704922676086426, 0.18677343428134918, 0.400540292263031, -0.5420770645141602, -0.43325743079185486, -0.7464425563812256, 0.19064690172672272, 0.7405193448066711, 0.5416911840438843, -0.7120077013969421, -0.15712405741214752, -0.32230132818222046, 0.09042868763208389, 0.15051929652690887, 0.08703110367059708, -0.6994852423667908, 0.19225306808948517, 0.43398186564445496, 0.016902167350053787, 0.3919666111469269, -0.21941176056861877, 0.24891707301139832, -0.7834066152572632, -0.3096133768558502, 0.2713020145893097, 0.5219165682792664, 0.0012918004067614675, -0.2927052676677704, 0.6380135416984558, -0.15186567604541779, -0.4853667914867401, -0.7094586491584778, 0.24122411012649536, -1.230330467224121, -0.3757137060165405, 0.981963038444519, 0.17241910099983215, -0.6427831649780273, -0.05961928889155388, -0.6905352473258972, -0.28805243968963623, -0.41093823313713074, 0.8968151211738586, 0.6167700290679932, -0.11962520331144333, -0.28605806827545166, -0.671876072883606, 0.2722987234592438, 0.06894061714410782, -1.0930705070495605, -0.22548143565654755, 0.4334068298339844, 0.26419949531555176, 0.8753436803817749, 0.26715877652168274, -0.23895364999771118, 0.36482393741607666, 0.2851443290710449, 0.030136186629533768, 0.2371239811182022, -0.19464778900146484, -0.2967540919780731, -0.06664270162582397, -0.3690420687198639, -0.544238269329071 ]
Helsinki-NLP/opus-mt-en-nl
Helsinki-NLP
2023-08-16T11:30:40Z
14,262
2
transformers
[ "transformers", "pytorch", "tf", "rust", "marian", "text2text-generation", "translation", "en", "nl", "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-en-nl * source languages: en * target languages: nl * OPUS readme: [en-nl](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/en-nl/README.md) * dataset: opus * model: transformer-align * pre-processing: normalization + SentencePiece * download original weights: [opus-2019-12-04.zip](https://object.pouta.csc.fi/OPUS-MT-models/en-nl/opus-2019-12-04.zip) * test set translations: [opus-2019-12-04.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-nl/opus-2019-12-04.test.txt) * test set scores: [opus-2019-12-04.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-nl/opus-2019-12-04.eval.txt) ## Benchmarks | testset | BLEU | chr-F | |-----------------------|-------|-------| | Tatoeba.en.nl | 57.1 | 0.730 |
[ -0.26104581356048584, -0.5041264295578003, 0.2730824947357178, 0.4854394495487213, -0.513694167137146, -0.43778133392333984, -0.4987165331840515, -0.1291385293006897, 0.04744770750403404, 0.526101291179657, -0.7574014067649841, -0.6119685769081116, -0.6281233429908752, 0.29787322878837585, -0.10765961557626724, 0.7834703326225281, -0.2041480392217636, 0.5511072874069214, 0.21660150587558746, -0.5034783482551575, -0.3590150475502014, -0.4163370728492737, -0.5649232268333435, -0.3595685362815857, 0.3325110077857971, 0.3511165976524353, 0.4439656436443329, 0.4348507821559906, 1.0289145708084106, 0.24009397625923157, -0.1418973207473755, 0.07903376966714859, -0.5088416337966919, -0.06207302212715149, 0.06088978424668312, -0.637913703918457, -0.802574872970581, -0.19381041824817657, 1.1173410415649414, 0.47234195470809937, -0.09712208062410355, 0.4452010691165924, -0.046950988471508026, 1.0259588956832886, -0.3373761475086212, 0.08337297290563583, -0.6731788516044617, 0.13314953446388245, -0.3630533516407013, -0.36893773078918457, -0.749679684638977, -0.2720642685890198, 0.15953904390335083, -0.752042293548584, -0.05520128086209297, 0.14969632029533386, 1.5678828954696655, 0.3702630400657654, -0.3649703860282898, -0.20118136703968048, -0.6586069464683533, 1.138838768005371, -0.9026955366134644, 0.6909326910972595, 0.4659145772457123, 0.28499892354011536, 0.3185195028781891, -0.6037266254425049, -0.32104432582855225, 0.133516326546669, -0.20692221820354462, 0.23379471898078918, -0.1584850400686264, -0.30764660239219666, 0.34659022092819214, 0.7927749156951904, -0.8481561541557312, -0.007581524085253477, -0.6264660358428955, 0.003826312255114317, 0.756184995174408, 0.11586121469736099, 0.15579989552497864, -0.18359360098838806, -0.4978410601615906, -0.5891717076301575, -0.8288861513137817, 0.11819533258676529, 0.4101707935333252, 0.3353075385093689, -0.548176646232605, 0.7493756413459778, -0.10463334619998932, 0.7005724906921387, -0.029037415981292725, 0.014879303053021431, 1.0909115076065063, -0.46504801511764526, -0.42486217617988586, -0.11130040138959885, 1.2708243131637573, 0.37887728214263916, 0.10752169042825699, 0.030667997896671295, -0.29979509115219116, -0.301670640707016, 0.13615134358406067, -0.9642784595489502, -0.06729251146316528, 0.1925833374261856, -0.5227068662643433, -0.1168721616268158, 0.04938424378633499, -0.6517701148986816, 0.2245820164680481, -0.47021710872650146, 0.6766645312309265, -0.6876817345619202, -0.330594539642334, 0.4514091908931732, 0.044627849012613297, 0.4620361328125, 0.020592795684933662, -0.6484282612800598, 0.19050352275371552, 0.41291624307632446, 0.7947436571121216, -0.4449229836463928, -0.2858400344848633, -0.5022562742233276, -0.2125799059867859, -0.11838175356388092, 0.7049295902252197, -0.045921437442302704, -0.4260614514350891, -0.020026961341500282, 0.5317769646644592, -0.4121628403663635, -0.40950289368629456, 1.4600175619125366, -0.3714565634727478, 0.7922163605690002, -0.4716213643550873, -0.5881400108337402, -0.37463605403900146, 0.540652334690094, -0.6407727003097534, 1.3837519884109497, 0.10163427889347076, -0.9359210133552551, 0.19810056686401367, -0.904635488986969, -0.2482459396123886, -0.020212380215525627, 0.1003791019320488, -0.7101866602897644, 0.10819029808044434, 0.13727852702140808, 0.4201718866825104, -0.3639408051967621, 0.33427202701568604, 0.05580662935972214, -0.34516024589538574, 0.07781118154525757, -0.4465627670288086, 1.1715625524520874, 0.3311532437801361, -0.3330255150794983, 0.24143163859844208, -1.0217560529708862, -0.08337114006280899, 0.036031220108270645, -0.5590918660163879, -0.2053031474351883, 0.13460184633731842, 0.3041619658470154, 0.13924677670001984, 0.39534977078437805, -0.7272288799285889, 0.24121831357479095, -0.7337095737457275, 0.1419040560722351, 0.6914972066879272, -0.3391011655330658, 0.41798245906829834, -0.46523967385292053, 0.3636215627193451, 0.08065376430749893, 0.12864950299263, -0.0018497074488550425, -0.4784669876098633, -0.9536557793617249, -0.1977388560771942, 0.6912177801132202, 1.2111352682113647, -0.8613066077232361, 0.9642228484153748, -0.7181916236877441, -0.8296418190002441, -0.8733832836151123, -0.11792069673538208, 0.486599326133728, 0.3973579406738281, 0.5830090045928955, -0.21547682583332062, -0.533328652381897, -1.188105583190918, -0.11986131966114044, -0.15547636151313782, -0.2788667678833008, 0.16521862149238586, 0.6389023065567017, -0.18026524782180786, 0.5844871997833252, -0.5545136332511902, -0.4472607970237732, -0.1867080181837082, 0.09845345467329025, 0.5848925709724426, 0.6999753713607788, 0.569658100605011, -0.9812901020050049, -0.6409398317337036, -0.016323307529091835, -0.8513602018356323, -0.14891783893108368, 0.0803273618221283, -0.25275182723999023, 0.09687406569719315, 0.13119395077228546, -0.31398025155067444, 0.09876848757266998, 0.7439379096031189, -0.6565498113632202, 0.5816560387611389, -0.13184282183647156, 0.25196415185928345, -1.4471513032913208, 0.14612933993339539, -0.1693759262561798, -0.13238725066184998, -0.45860782265663147, 0.034596726298332214, 0.31429746747016907, 0.10975763946771622, -0.944817841053009, 0.5951508283615112, -0.23100362718105316, -0.03463224694132805, 0.3075771927833557, -0.02404981292784214, 0.10613604635000229, 0.801486611366272, -0.03031652607023716, 0.8846353888511658, 0.8094221949577332, -0.5795488357543945, 0.17715953290462494, 0.6426485180854797, -0.48260703682899475, 0.44614946842193604, -0.9482632875442505, -0.3072085678577423, 0.3581709563732147, -0.13428805768489838, -0.6542027592658997, 0.14716339111328125, 0.32728567719459534, -0.6820235848426819, 0.45389264822006226, -0.023626819252967834, -0.8481176495552063, 0.0004493736196309328, -0.2960871756076813, 0.5009282827377319, 0.7489727139472961, -0.20979592204093933, 0.7076407074928284, 0.07151677459478378, 0.017475273460149765, -0.4902871549129486, -1.138755202293396, -0.13683679699897766, -0.4102591574192047, -0.8557097911834717, 0.23401905596256256, -0.4645121395587921, -0.05461536720395088, 0.029499579221010208, 0.3646586835384369, -0.06793174147605896, 0.06926577538251877, 0.04884698987007141, 0.21161215007305145, -0.5692656636238098, 0.15137159824371338, 0.01582249067723751, -0.17304114997386932, -0.14462436735630035, -0.15869224071502686, 0.6548043489456177, -0.426432341337204, -0.2863022983074188, -0.6664432287216187, 0.0487038753926754, 0.5773645639419556, -0.4940919876098633, 0.9430803656578064, 0.6350973844528198, -0.11153534799814224, 0.18818873167037964, -0.42486700415611267, 0.08842253684997559, -0.48637154698371887, 0.13544528186321259, -0.4526173770427704, -0.8335604071617126, 0.577277421951294, 0.14368793368339539, 0.5143683552742004, 0.9154728651046753, 0.6903634667396545, 0.069790780544281, 0.6458768248558044, 0.33117806911468506, 0.08455957472324371, 0.4650147259235382, -0.5081816911697388, -0.16152323782444, -1.2110601663589478, 0.11254366487264633, -0.7392303347587585, -0.3534686267375946, -0.9104472398757935, -0.3124942183494568, 0.271043598651886, 0.08253984898328781, -0.3014899790287018, 0.7565243244171143, -0.6263949871063232, 0.26056942343711853, 0.6209138631820679, -0.14010842144489288, 0.3376656472682953, 0.027387315407395363, -0.5599645376205444, -0.26551634073257446, -0.5169655680656433, -0.6037696003913879, 1.404510259628296, 0.4461212754249573, 0.3251161575317383, 0.2701612710952759, 0.5372135639190674, -0.011487990617752075, 0.24162557721138, -0.6387790441513062, 0.4732402563095093, -0.33264410495758057, -0.7911397218704224, -0.3580312132835388, -0.6573302745819092, -0.9646023511886597, 0.5474032163619995, -0.2866860032081604, -0.5130126476287842, 0.19241450726985931, -0.021074524149298668, -0.11207417398691177, 0.5313494801521301, -0.7406348586082458, 1.234673023223877, -0.13302235305309296, -0.11062294989824295, 0.35800519585609436, -0.5249751210212708, 0.2872481942176819, -0.033330779522657394, 0.30939316749572754, -0.2326352745294571, 0.16135089099407196, 0.7108966708183289, -0.05088701844215393, 0.4917401671409607, -0.06678052991628647, -0.14893703162670135, 0.04786866158246994, 0.12575113773345947, 0.42060190439224243, -0.1148897334933281, -0.5308310389518738, 0.48951980471611023, -0.014660654589533806, -0.4838980734348297, -0.1314559429883957, 0.5508623719215393, -0.7696620225906372, -0.00659004133194685, -0.4498250186443329, -0.7086116075515747, 0.03732805699110031, 0.3712862432003021, 0.7577102184295654, 0.7454341053962708, -0.29410606622695923, 0.6215794682502747, 0.9339445233345032, -0.4114752411842346, 0.45698076486587524, 0.8355807065963745, -0.24780109524726868, -0.5891293883323669, 0.907321035861969, 0.1230899915099144, 0.43017011880874634, 0.6829599738121033, 0.11750763654708862, -0.13996483385562897, -0.8207617998123169, -0.7896216511726379, 0.28096112608909607, -0.31341010332107544, -0.2041722685098648, -0.5944539308547974, -0.08392645418643951, -0.24983015656471252, 0.23609279096126556, -0.5849534273147583, -0.585729718208313, -0.16423450410366058, -0.25816377997398376, 0.23695623874664307, 0.22964000701904297, -0.04569799825549126, 0.5101242661476135, -1.1111623048782349, 0.19150929152965546, -0.12283740937709808, 0.4168474078178406, -0.44789624214172363, -0.8717920184135437, -0.518624484539032, 0.06999055296182632, -0.7185929417610168, -0.7123456001281738, 0.5836505889892578, 0.11858706176280975, 0.2752406597137451, 0.3477160930633545, 0.18940404057502747, 0.35043394565582275, -0.8143906593322754, 1.0892263650894165, -0.03316212072968483, -0.7890708446502686, 0.5284438133239746, -0.4872685968875885, 0.5490416288375854, 1.0035202503204346, 0.2856674790382385, -0.37205275893211365, -0.5906027555465698, -0.7673853039741516, -0.9243292808532715, 0.8651649951934814, 0.8089907765388489, -0.12245295941829681, 0.2324090301990509, -0.13548626005649567, -0.023493535816669464, 0.20201587677001953, -1.2714052200317383, -0.4238608181476593, 0.07734905183315277, -0.375127375125885, -0.24236179888248444, -0.27450546622276306, -0.24414822459220886, -0.1992536038160324, 1.1775332689285278, 0.19700877368450165, 0.19566626846790314, 0.5006811618804932, -0.18790234625339508, -0.28991708159446716, 0.35622933506965637, 1.0994035005569458, 0.6297135949134827, -0.6565421223640442, -0.1854686439037323, 0.3660208284854889, -0.41786065697669983, -0.18197329342365265, 0.11591584235429764, -0.499840646982193, 0.3586287498474121, 0.5533064007759094, 1.2443580627441406, 0.24672769010066986, -0.7024939656257629, 0.4846556484699249, -0.4524761736392975, -0.49309417605400085, -0.7535273432731628, -0.19420857727527618, 0.16377587616443634, -0.0045379940420389175, 0.3004537522792816, 0.18164178729057312, 0.16816647350788116, -0.1636234074831009, 0.17308689653873444, 0.04874664172530174, -0.7386740446090698, -0.5957531929016113, 0.5195556879043579, 0.1442590355873108, -0.4138116240501404, 0.558169960975647, -0.44823184609413147, -0.613905668258667, 0.4296906292438507, 0.15243613719940186, 1.134601354598999, -0.25823283195495605, -0.24361756443977356, 0.8149009943008423, 0.6831175684928894, -0.28351733088493347, 0.4871990978717804, 0.1521492749452591, -0.8178796172142029, -0.6238354444503784, -0.9810738563537598, -0.21068450808525085, 0.07914696633815765, -0.9420954585075378, 0.3749558925628662, 0.37734442949295044, 0.0853952094912529, -0.3929932117462158, 0.21248562633991241, -0.5874196887016296, 0.11428163200616837, -0.2490893304347992, 1.1769124269485474, -1.0201404094696045, 0.9544156193733215, 0.5033591985702515, -0.27224001288414, -0.9206854701042175, -0.263198584318161, -0.25117096304893494, -0.47831225395202637, 0.6549805402755737, 0.1848253309726715, 0.36566853523254395, -0.17215955257415771, -0.2200595587491989, -0.8822939991950989, 1.212009072303772, 0.2767524719238281, -0.6872921586036682, 0.03178493306040764, 0.18440429866313934, 0.5651293396949768, -0.3792884349822998, 0.09247057139873505, 0.41703060269355774, 0.8295087218284607, 0.06560508906841278, -1.2492103576660156, -0.3397887647151947, -0.5887773633003235, -0.3725440502166748, 0.5941197276115417, -0.6011404991149902, 1.1057326793670654, 0.5557557940483093, -0.15314935147762299, 0.05135492980480194, 0.6947477459907532, 0.3586786389350891, 0.3527921140193939, 0.60298091173172, 1.3004416227340698, 0.42468637228012085, -0.5241225957870483, 1.1974183320999146, -0.35571539402008057, 0.5723771452903748, 1.3125852346420288, -0.12291689962148666, 1.0439531803131104, 0.36094656586647034, -0.13671448826789856, 0.556961178779602, 0.6881820559501648, -0.32450994849205017, 0.526651918888092, 0.0498727485537529, 0.22138963639736176, -0.14483439922332764, 0.24174828827381134, -0.7831040620803833, 0.263572633266449, 0.20521095395088196, -0.24268627166748047, 0.02439805492758751, -0.04375961050391197, -0.0033501330763101578, -0.010907997377216816, -0.18920227885246277, 0.6864950060844421, -0.0012090171221643686, -0.6349331140518188, 0.8311581611633301, -0.0831776037812233, 0.804925799369812, -0.8064500093460083, 0.17260369658470154, -0.06853901594877243, 0.2560630738735199, -0.011536465026438236, -0.6466050148010254, 0.59333336353302, 0.005435330327600241, -0.2963348627090454, -0.5058586597442627, 0.17647895216941833, -0.6213799715042114, -1.0194337368011475, 0.4922162890434265, 0.47932735085487366, 0.3744947612285614, 0.0818634182214737, -0.9835706353187561, 0.08727799355983734, 0.1881631761789322, -0.673772931098938, 0.04971157759428024, 0.783519446849823, 0.37810203433036804, 0.4622287154197693, 0.6917738318443298, 0.26736539602279663, 0.2469506710767746, -0.01606510579586029, 0.677477240562439, -0.463713139295578, -0.44318094849586487, -0.8623598217964172, 0.908358633518219, -0.16348546743392944, -0.7521113157272339, 0.8401970863342285, 1.1409480571746826, 1.1681177616119385, -0.16790957748889923, 0.2529614567756653, -0.033790454268455505, 0.8064215779304504, -0.7616257667541504, 0.646051287651062, -1.0366907119750977, 0.2701798677444458, -0.1261408030986786, -1.0218309164047241, -0.3002072870731354, 0.39705511927604675, -0.21343617141246796, -0.4436147212982178, 0.8506186604499817, 0.7213477492332458, -0.22245657444000244, -0.22277715802192688, 0.32869723439216614, 0.3303739130496979, 0.21844542026519775, 0.6355141997337341, 0.4106580317020416, -1.1036405563354492, 0.5802515149116516, -0.320260226726532, -0.036282747983932495, -0.022588372230529785, -0.8047622442245483, -0.8959829211235046, -0.6350106596946716, -0.2020193338394165, -0.2511652410030365, -0.33242952823638916, 0.9784119129180908, 0.5718172192573547, -1.0408875942230225, -0.6595542430877686, 0.03766626864671707, 0.1500513255596161, -0.20957410335540771, -0.2843288779258728, 0.6949434280395508, -0.3579447865486145, -1.0555249452590942, 0.5322725176811218, 0.10648071020841599, -0.1217406615614891, -0.013459977693855762, -0.3651297986507416, -0.5838971734046936, -0.01695523038506508, 0.3369160294532776, 0.012723010033369064, -0.5762739777565002, 0.16634485125541687, 0.14775407314300537, -0.10199440270662308, 0.4678077697753906, 0.3879948556423187, -0.24531690776348114, 0.27573299407958984, 0.8643216490745544, 0.41053667664527893, 0.4817703366279602, -0.16797663271427155, 0.5899434685707092, -0.8312282562255859, 0.3915556073188782, 0.2625228464603424, 0.6723515391349792, 0.43945735692977905, -0.06602081656455994, 0.9466890692710876, 0.17415110766887665, -0.7157702445983887, -1.1810818910598755, 0.08537708222866058, -1.350793719291687, -0.032721392810344696, 1.0159447193145752, -0.317893385887146, -0.3516130745410919, 0.36935821175575256, -0.1822548508644104, 0.17071707546710968, -0.3652276396751404, 0.3917810022830963, 0.9356607794761658, 0.4250824451446533, 0.11087460815906525, -0.8168908357620239, 0.37496769428253174, 0.6040011644363403, -0.7772811651229858, -0.21147437393665314, 0.16550306975841522, 0.11814949661493301, 0.46738046407699585, 0.5030831098556519, -0.3197692334651947, 0.11123515665531158, -0.3743668496608734, 0.49850764870643616, -0.07494162768125534, -0.15862762928009033, -0.40970301628112793, 0.041947390884160995, -0.09246022999286652, -0.2605341076850891 ]
lllyasviel/control_v11e_sd15_ip2p
lllyasviel
2023-05-05T11:39:04Z
14,253
14
diffusers
[ "diffusers", "art", "controlnet", "stable-diffusion", "controlnet-v1-1", "image-to-image", "arxiv:2302.05543", "base_model:runwayml/stable-diffusion-v1-5", "license:openrail", "has_space", "diffusers:ControlNetModel", "region:us" ]
image-to-image
2023-04-14T19:26:03Z
--- license: openrail base_model: runwayml/stable-diffusion-v1-5 tags: - art - controlnet - stable-diffusion - controlnet-v1-1 - image-to-image duplicated_from: ControlNet-1-1-preview/control_v11e_sd15_ip2p --- # Controlnet - v1.1 - *instruct pix2pix Version* **Controlnet v1.1** was released in [lllyasviel/ControlNet-v1-1](https://huggingface.co/lllyasviel/ControlNet-v1-1) by [Lvmin Zhang](https://huggingface.co/lllyasviel). This checkpoint is a conversion of [the original checkpoint](https://huggingface.co/lllyasviel/ControlNet-v1-1/blob/main/control_v11e_sd15_ip2p.pth) into `diffusers` format. It can be used in combination with **Stable Diffusion**, such as [runwayml/stable-diffusion-v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5). For more details, please also have a look at the [🧨 Diffusers docs](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion/controlnet). ControlNet is a neural network structure to control diffusion models by adding extra conditions. ![img](./sd.png) This checkpoint corresponds to the ControlNet conditioned on **instruct pix2pix images**. ## Model Details - **Developed by:** Lvmin Zhang, Maneesh Agrawala - **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. - **Resources for more information:** [GitHub Repository](https://github.com/lllyasviel/ControlNet), [Paper](https://arxiv.org/abs/2302.05543). - **Cite as:** @misc{zhang2023adding, title={Adding Conditional Control to Text-to-Image Diffusion Models}, author={Lvmin Zhang and Maneesh Agrawala}, year={2023}, eprint={2302.05543}, archivePrefix={arXiv}, primaryClass={cs.CV} } ## Introduction Controlnet was proposed in [*Adding Conditional Control to Text-to-Image Diffusion Models*](https://arxiv.org/abs/2302.05543) by Lvmin Zhang, Maneesh Agrawala. The abstract reads as follows: *We present a neural network structure, ControlNet, to control pretrained large diffusion models to support additional input conditions. The ControlNet learns task-specific conditions in an end-to-end way, and the learning is robust even when the training dataset is small (< 50k). Moreover, training a ControlNet is as fast as fine-tuning a diffusion model, and the model can be trained on a personal devices. Alternatively, if powerful computation clusters are available, the model can scale to large amounts (millions to billions) of data. We report that large diffusion models like Stable Diffusion can be augmented with ControlNets to enable conditional inputs like edge maps, segmentation maps, keypoints, etc. This may enrich the methods to control large diffusion models and further facilitate related applications.* ## Example It is recommended to use the checkpoint with [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) as the checkpoint has been trained on it. Experimentally, the checkpoint can be used with other diffusion models such as dreamboothed stable diffusion. 1. Let's install `diffusers` and related packages: ``` $ pip install diffusers transformers accelerate ``` 2. Run code: ```python import torch import os from huggingface_hub import HfApi from pathlib import Path from diffusers.utils import load_image from PIL import Image import numpy as np from diffusers import ( ControlNetModel, StableDiffusionControlNetPipeline, UniPCMultistepScheduler, ) checkpoint = "lllyasviel/control_v11e_sd15_ip2p" image = load_image("https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/input.png").convert('RGB') prompt = "make it on fire" controlnet = ControlNetModel.from_pretrained(checkpoint, torch_dtype=torch.float16) pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float16 ) pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config) pipe.enable_model_cpu_offload() generator = torch.manual_seed(0) image = pipe(prompt, num_inference_steps=30, generator=generator, image=image).images[0] image.save('images/image_out.png') ``` ![bird](./images/input.png) ![bird_canny_out](./images/image_out.png) ## Other released checkpoints v1-1 The authors released 14 different checkpoints, each trained with [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) on a different type of conditioning: | Model Name | Control Image Overview| Condition Image | Control Image Example | Generated Image Example | |---|---|---|---|---| |[lllyasviel/control_v11p_sd15_canny](https://huggingface.co/lllyasviel/control_v11p_sd15_canny)<br/> | *Trained with canny edge detection* | A monochrome image with white edges on a black background.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_canny/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11e_sd15_ip2p](https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p)<br/> | *Trained with pixel to pixel instruction* | No condition .|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11e_sd15_ip2p/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_inpaint](https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint)<br/> | Trained with image inpainting | No condition.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/output.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/images/output.png"/></a>| |[lllyasviel/control_v11p_sd15_mlsd](https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd)<br/> | Trained with multi-level line segment detection | An image with annotated line segments.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_mlsd/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11f1p_sd15_depth](https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth)<br/> | Trained with depth estimation | An image with depth information, usually represented as a grayscale image.|<a href="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11f1p_sd15_depth/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_normalbae](https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae)<br/> | Trained with surface normal estimation | An image with surface normal information, usually represented as a color-coded image.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_normalbae/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_seg](https://huggingface.co/lllyasviel/control_v11p_sd15_seg)<br/> | Trained with image segmentation | An image with segmented regions, usually represented as a color-coded image.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_seg/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_lineart](https://huggingface.co/lllyasviel/control_v11p_sd15_lineart)<br/> | Trained with line art generation | An image with line art, usually black lines on a white background.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_lineart/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15s2_lineart_anime](https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime)<br/> | Trained with anime line art generation | An image with anime-style line art.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_openpose](https://huggingface.co/lllyasviel/control_v11p_sd15s2_lineart_anime)<br/> | Trained with human pose estimation | An image with human poses, usually represented as a set of keypoints or skeletons.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_openpose/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_scribble](https://huggingface.co/lllyasviel/control_v11p_sd15_scribble)<br/> | Trained with scribble-based image generation | An image with scribbles, usually random or user-drawn strokes.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_scribble/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11p_sd15_softedge](https://huggingface.co/lllyasviel/control_v11p_sd15_softedge)<br/> | Trained with soft edge image generation | An image with soft edges, usually to create a more painterly or artistic effect.|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11p_sd15_softedge/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11e_sd15_shuffle](https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle)<br/> | Trained with image shuffling | An image with shuffled patches or regions.|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/control.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/control.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/image_out.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11e_sd15_shuffle/resolve/main/images/image_out.png"/></a>| |[lllyasviel/control_v11f1e_sd15_tile](https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile)<br/> | Trained with image tiling | A blurry image or part of an image .|<a href="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/original.png"><img width="64" style="margin:0;padding:0;" src="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/original.png"/></a>|<a href="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/output.png"><img width="64" src="https://huggingface.co/lllyasviel/control_v11f1e_sd15_tile/resolve/main/images/output.png"/></a>| ## More information For more information, please also have a look at the [Diffusers ControlNet Blog Post](https://huggingface.co/blog/controlnet) and have a look at the [official docs](https://github.com/lllyasviel/ControlNet-v1-1-nightly).
[ -0.5942988395690918, -0.5620108842849731, 0.14129674434661865, 0.5836888551712036, -0.2730969488620758, -0.23997554183006287, 0.09081500768661499, -0.5455127954483032, 0.5320981740951538, 0.21869522333145142, -0.7347444295883179, -0.3322528004646301, -0.7372302412986755, -0.18406935036182404, -0.08885901421308517, 0.7969647645950317, -0.23422905802726746, -0.008669721893966198, 0.07265909761190414, -0.03757951781153679, -0.11675659567117691, -0.13443908095359802, -1.1759532690048218, -0.43416836857795715, 0.4316708445549011, 0.08683682233095169, 0.5718787312507629, 0.5217685103416443, 0.463819295167923, 0.36032336950302124, -0.41811224818229675, 0.08786939084529877, -0.2819538414478302, -0.209184467792511, 0.1986052393913269, -0.15294691920280457, -0.7193301916122437, 0.08527234196662903, 0.7094966769218445, 0.303842693567276, 0.019760243594646454, -0.20572440326213837, 0.19202040135860443, 0.6702134609222412, -0.47915974259376526, -0.11714465171098709, -0.10871229320764542, 0.31198251247406006, -0.09100601077079773, 0.1518920660018921, -0.115520179271698, -0.3515108525753021, 0.13500426709651947, -0.6952597498893738, -0.15885116159915924, -0.14795559644699097, 1.271902322769165, 0.2695434093475342, -0.38171640038490295, -0.08489790558815002, -0.19567887485027313, 0.6380182504653931, -0.7809476852416992, 0.10966552048921585, 0.15593039989471436, 0.1890399307012558, -0.19845525920391083, -0.8649802207946777, -0.4985729455947876, -0.08468612283468246, -0.15014663338661194, 0.4325154721736908, -0.36029893159866333, 0.012770344503223896, 0.24132201075553894, 0.2701914608478546, -0.3662114143371582, 0.25620734691619873, -0.2986127436161041, -0.3614678680896759, 0.6634204387664795, -0.012104867957532406, 0.591848611831665, 0.0733131617307663, -0.5560932755470276, -0.10115423053503036, -0.3571574091911316, 0.3841894865036011, 0.2641635239124298, -0.1531822234392166, -0.8526493906974792, 0.4390261471271515, 0.023456212133169174, 0.72447669506073, 0.4595448672771454, -0.2593807578086853, 0.49683040380477905, -0.16483554244041443, -0.3353484869003296, -0.30512192845344543, 1.0149825811386108, 0.5295445919036865, 0.1635686755180359, -0.013533649034798145, -0.1724110096693039, -0.1959439069032669, -0.0613667294383049, -1.1622817516326904, -0.11920825392007828, 0.20088531076908112, -0.5171098113059998, -0.33567366003990173, -0.0845087543129921, -0.7619480490684509, -0.23629871010780334, -0.0656600296497345, 0.31967365741729736, -0.59895920753479, -0.5305760502815247, 0.15167966485023499, -0.44233426451683044, 0.5279857516288757, 0.5767862796783447, -0.4641740024089813, 0.2059464305639267, 0.1713973730802536, 1.0020886659622192, -0.23801663517951965, -0.11045841872692108, -0.23617808520793915, -0.11373365670442581, -0.2935427129268646, 0.467476487159729, -0.11751040816307068, -0.12092887610197067, -0.10199546813964844, 0.33530643582344055, -0.08588184416294098, -0.32461610436439514, 0.34261128306388855, -0.25623029470443726, 0.21177668869495392, -0.024337898939847946, -0.38415762782096863, -0.15463168919086456, 0.2554389238357544, -0.43093395233154297, 0.7562891840934753, 0.2621118128299713, -1.0269343852996826, 0.2872345745563507, -0.4576520323753357, -0.1990499198436737, -0.2915376126766205, 0.1979377567768097, -0.7738620042800903, -0.35331422090530396, 0.047971878200769424, 0.5934522747993469, 0.003025169251486659, -0.16483180224895477, -0.48998433351516724, -0.012186982668936253, 0.18456004559993744, -0.07801647484302521, 1.1744062900543213, 0.13749176263809204, -0.5934433341026306, 0.12966014444828033, -0.6863678693771362, 0.05723685398697853, 0.17766202986240387, -0.19164517521858215, 0.04002850502729416, -0.2533470094203949, 0.11657753586769104, 0.5991518497467041, 0.3654312491416931, -0.6931472420692444, 0.10995219647884369, -0.28671929240226746, 0.40931427478790283, 0.5510508418083191, 0.20112746953964233, 0.6173093318939209, -0.47497597336769104, 0.539306104183197, 0.24084468185901642, 0.29748621582984924, 0.05523805320262909, -0.49440211057662964, -0.927554190158844, -0.5528738498687744, -0.0038753000553697348, 0.5852295160293579, -0.69620680809021, 0.8471762537956238, 0.13380613923072815, -0.6776492595672607, -0.2155291587114334, 0.07185693830251694, 0.5215691924095154, 0.46039730310440063, 0.2766391336917877, -0.4914752244949341, -0.3095560371875763, -0.8431403040885925, 0.13161835074424744, 0.20070797204971313, -0.02052558772265911, 0.19593068957328796, 0.5894807577133179, -0.08044334501028061, 0.660187840461731, -0.2598404884338379, -0.35095906257629395, -0.07903223484754562, -0.10393917560577393, 0.2241460680961609, 1.0280539989471436, 0.7954405546188354, -0.7941421270370483, -0.6368545889854431, -0.014542976394295692, -0.8476807475090027, -0.03670983389019966, -0.23174497485160828, -0.48069503903388977, 0.16161298751831055, 0.5455532670021057, -0.5601391196250916, 0.7649105787277222, 0.5453543663024902, -0.6102824807167053, 0.5153857469558716, -0.319428026676178, 0.1194816455245018, -0.9347078204154968, 0.20205815136432648, 0.40100446343421936, -0.3440147936344147, -0.592196524143219, 0.07718324661254883, 0.17495664954185486, 0.058804694563150406, -0.7049582600593567, 0.7441056966781616, -0.5457184910774231, 0.10858126729726791, -0.3016323745250702, -0.05320702865719795, 0.0748562216758728, 0.6250026226043701, 0.21943867206573486, 0.5101186633110046, 0.931395947933197, -0.5648757219314575, 0.351337730884552, 0.47713911533355713, -0.19748851656913757, 0.9169783592224121, -0.777090311050415, 0.16622285544872284, -0.1383313089609146, 0.487845242023468, -0.9165295958518982, -0.2656540870666504, 0.6497483849525452, -0.5347250699996948, 0.5963731408119202, -0.2606835663318634, -0.26129990816116333, -0.4301554560661316, -0.33690518140792847, 0.21107399463653564, 0.7328308820724487, -0.5106548070907593, 0.3036263883113861, 0.24188396334648132, 0.07806828618049622, -0.46226367354393005, -0.9047890901565552, -0.055679112672805786, -0.38708943128585815, -0.7987353801727295, 0.44346311688423157, -0.126925528049469, 0.026695910841226578, 0.012178342789411545, 0.039941415190696716, -0.3314729332923889, -0.006951090879738331, 0.39888712763786316, 0.21741057932376862, -0.08370521664619446, -0.156559556722641, 0.11356992274522781, -0.13203231990337372, -0.07042020559310913, -0.30296388268470764, 0.4253147840499878, 0.017797138541936874, -0.19350546598434448, -1.016735315322876, 0.2194797545671463, 0.5647096633911133, -0.049502864480018616, 0.8676511645317078, 0.8283113241195679, -0.4109423756599426, 0.002680877223610878, -0.42587774991989136, -0.1317596733570099, -0.47845178842544556, -0.05039253830909729, -0.17451481521129608, -0.7363964319229126, 0.6528252959251404, 0.06090625375509262, -0.065198615193367, 0.5948140025138855, 0.3389369547367096, -0.2352662980556488, 0.846377968788147, 0.5434960722923279, -0.13205406069755554, 0.7966063618659973, -0.7071842551231384, -0.13604561984539032, -0.9829847812652588, -0.32409903407096863, -0.28020521998405457, -0.6981745362281799, -0.2839973270893097, -0.35368114709854126, 0.442277193069458, 0.441646546125412, -0.698442280292511, 0.4991261959075928, -0.5500037670135498, 0.133669912815094, 0.29441526532173157, 0.5351653695106506, -0.20112283527851105, -0.09534687548875809, -0.13391275703907013, 0.03614531084895134, -0.5819421410560608, -0.23022982478141785, 0.5264099836349487, 0.5966141223907471, 0.5078144073486328, -0.03968649357557297, 0.5480311512947083, 0.008583246730268002, 0.24897460639476776, -0.585227906703949, 0.46756166219711304, 0.047192178666591644, -0.5257125496864319, -0.23550906777381897, -0.3108724355697632, -1.0027916431427002, 0.11873563379049301, -0.519828200340271, -0.7097395658493042, 0.3914738893508911, 0.22059032320976257, -0.11867716163396835, 0.4948190748691559, -0.6771106719970703, 0.7194753289222717, -0.012294922955334187, -0.5939246416091919, 0.06099432706832886, -0.8309348821640015, 0.1933692842721939, 0.25088319182395935, -0.22544150054454803, -0.008179528638720512, -0.1427200585603714, 0.7914557456970215, -0.8010003566741943, 0.8753436207771301, -0.535370945930481, -0.0826190859079361, 0.3665657341480255, -0.012232028879225254, 0.5814065337181091, -0.13506588339805603, -0.23089662194252014, 0.08024679124355316, -0.038482896983623505, -0.5583655834197998, -0.38533878326416016, 0.585602343082428, -0.6627660393714905, -0.1882273256778717, -0.2796376645565033, -0.28660041093826294, 0.14258074760437012, 0.209763765335083, 0.608814537525177, 0.35472625494003296, 0.15156106650829315, 0.07993566989898682, 0.6311498880386353, -0.3479810953140259, 0.6432249546051025, 0.041348088532686234, -0.04875130206346512, -0.572187602519989, 0.6905553340911865, -0.03740013390779495, 0.3736302852630615, 0.1975162774324417, 0.15250806510448456, -0.26984941959381104, -0.46424800157546997, -0.4238002896308899, 0.48926877975463867, -0.5369388461112976, -0.43483999371528625, -0.5778734683990479, -0.44364133477211, -0.3614150583744049, -0.5135685205459595, -0.2749476134777069, -0.2831469476222992, -0.7210185527801514, 0.1481485515832901, 0.6093186140060425, 0.5215098857879639, -0.25547078251838684, 0.6205113530158997, -0.2624150216579437, 0.20086069405078888, 0.2952069938182831, 0.3863072395324707, -0.0832071453332901, -0.5600125193595886, 0.03946182131767273, 0.13574948906898499, -0.49377086758613586, -0.7726959586143494, 0.4959816336631775, 0.018022704869508743, 0.41433340311050415, 0.5485706925392151, -0.24889355897903442, 0.6603432893753052, -0.2799493074417114, 0.5291065573692322, 0.664736270904541, -0.7911480069160461, 0.5103111863136292, -0.3604400157928467, 0.2794097363948822, 0.3058468997478485, 0.5039994120597839, -0.46085649728775024, -0.3434131145477295, -0.7082279324531555, -0.5507075190544128, 0.6117100119590759, 0.18747152388095856, -0.04275478422641754, 0.3343792259693146, 0.7151225805282593, -0.3508729338645935, 0.14091427624225616, -0.7775446176528931, -0.4550619125366211, -0.27915892004966736, 0.025140704587101936, 0.04158550128340721, 0.009363281540572643, -0.044402826577425, -0.48031213879585266, 0.8408915996551514, -0.06606724858283997, 0.5632426738739014, 0.485784649848938, 0.10771392285823822, -0.1880667507648468, -0.32116517424583435, 0.572433590888977, 0.5110452771186829, -0.08161474019289017, -0.2930527627468109, 0.11277879029512405, -0.4056115448474884, 0.22322578728199005, -0.055813394486904144, -0.3089275658130646, -0.12931491434574127, 0.3009914457798004, 0.8130350708961487, -0.15049044787883759, -0.17634983360767365, 0.8218540549278259, 0.05294102430343628, -0.5738877654075623, -0.23958538472652435, 0.022008633241057396, 0.12902407348155975, 0.5204284191131592, 0.13190515339374542, 0.32947486639022827, 0.025550520047545433, -0.1125958263874054, 0.2799552083015442, 0.6239846348762512, -0.6078354120254517, -0.1638355553150177, 0.6653503775596619, 0.045120660215616226, -0.0730367973446846, 0.33454814553260803, -0.43777740001678467, -0.6975899934768677, 0.9070038795471191, 0.5227444171905518, 0.6922833323478699, -0.14449578523635864, 0.31568315625190735, 0.7598277926445007, 0.15878839790821075, 0.08816033601760864, 0.1651298999786377, 0.08472958207130432, -0.6444554328918457, -0.3644201457500458, -0.4047066271305084, -0.06867904216051102, 0.16811995208263397, -0.41901925206184387, 0.41658324003219604, -0.8065887093544006, -0.20113404095172882, -0.13879838585853577, 0.1275433897972107, -0.6516821384429932, 0.456591933965683, 0.07516258209943771, 1.183496117591858, -0.7647498846054077, 0.7692416906356812, 0.5472391247749329, -0.40375521779060364, -0.8601101636886597, 0.031221190467476845, 0.08172497153282166, -0.8397366404533386, 0.5901460647583008, 0.12574578821659088, -0.06452766060829163, 0.08313407748937607, -0.7902435660362244, -0.5970633625984192, 1.2948085069656372, 0.23130440711975098, -0.24433113634586334, 0.10803797096014023, -0.4705696403980255, 0.39917564392089844, -0.42522308230400085, 0.4458944499492645, 0.41145017743110657, 0.511705756187439, 0.43945083022117615, -0.7470570206642151, 0.21627409756183624, -0.42312201857566833, 0.14960531890392303, 0.20534664392471313, -0.9866885542869568, 0.8213119506835938, -0.00688251992687583, -0.19495922327041626, 0.27303969860076904, 0.7436487674713135, 0.20108899474143982, 0.14172959327697754, 0.6637486219406128, 0.7538485527038574, 0.3138684630393982, -0.12830714881420135, 0.9433045387268066, -0.04421282932162285, 0.30007126927375793, 0.6145210266113281, 0.28911107778549194, 0.5152521729469299, 0.32823464274406433, -0.10492566972970963, 0.442110151052475, 0.8551068305969238, -0.005556569434702396, 0.40680959820747375, 0.47130075097084045, -0.26623478531837463, -0.11301172524690628, -0.04136285558342934, -0.3506271243095398, 0.07488168776035309, 0.26355740427970886, -0.2317001223564148, -0.2275538295507431, 0.2373402714729309, 0.31056150794029236, -0.14751280844211578, -0.4331594407558441, 0.7088384628295898, -0.10373329371213913, -0.5078175663948059, 0.6926748752593994, -0.08653700351715088, 1.0970087051391602, -0.6523001790046692, 0.07115934789180756, -0.2755415737628937, 0.04935605451464653, -0.38353249430656433, -0.9059427380561829, 0.20662754774093628, -0.15937528014183044, 0.30254608392715454, -0.38443899154663086, 0.6881780028343201, -0.3822360932826996, -0.43138614296913147, 0.48475855588912964, 0.15101297199726105, 0.3752508759498596, 0.14652462303638458, -1.0915805101394653, 0.1852344572544098, 0.1021527498960495, -0.4420935809612274, 0.2270788997411728, 0.40506771206855774, 0.2369351089000702, 0.6615859866142273, 0.28577080368995667, 0.3769848942756653, 0.24502722918987274, -0.3003731667995453, 0.9944934844970703, -0.24437624216079712, -0.32942911982536316, -0.5708663463592529, 0.7988710999488831, -0.3463013172149658, -0.43053269386291504, 0.5514195561408997, 0.28358110785484314, 0.7576757073402405, -0.06586384773254395, 0.6454610824584961, -0.40687793493270874, 0.23166704177856445, -0.6382039189338684, 0.8331823348999023, -0.8953655362129211, -0.3235109746456146, -0.3188684284687042, -0.7077096700668335, -0.3458413779735565, 0.8477633595466614, -0.1319141387939453, 0.18251030147075653, 0.5186207890510559, 0.9521796703338623, -0.2289857566356659, -0.565302848815918, 0.09080403298139572, 0.06285782158374786, 0.2573241889476776, 0.6979303956031799, 0.6649149060249329, -0.6354823112487793, 0.23781688511371613, -0.5629115104675293, -0.5077912211418152, -0.08497476577758789, -0.9122820496559143, -0.8888323307037354, -0.6964947581291199, -0.6862828135490417, -0.6518059968948364, -0.2683655917644501, 0.7044133543968201, 1.118638515472412, -0.6247758269309998, -0.2053547352552414, -0.2910512387752533, 0.10536708682775497, -0.16587212681770325, -0.1878991276025772, 0.3262711465358734, -0.07778873294591904, -0.8560882210731506, 0.028782906010746956, 0.22747057676315308, 0.6166130304336548, -0.05845290422439575, -0.45115795731544495, -0.3459484577178955, -0.2669932544231415, 0.25654086470603943, 0.4894618093967438, -0.46705740690231323, -0.21511368453502655, -0.28229039907455444, -0.2041604369878769, 0.13898441195487976, 0.5032902956008911, -0.36258664727211, 0.18544888496398926, 0.5116654634475708, 0.4409221410751343, 0.790618360042572, -0.1088791936635971, 0.10702413320541382, -0.5489946007728577, 0.5055710673332214, 0.0009456590050831437, 0.43649381399154663, 0.11726470291614532, -0.33643513917922974, 0.46790358424186707, 0.3111805319786072, -0.6991879940032959, -0.43023282289505005, 0.11185955256223679, -1.311374306678772, -0.1326300948858261, 0.9533447027206421, -0.3597165644168854, -0.3844681680202484, 0.21922944486141205, -0.49034547805786133, 0.3228912055492401, -0.31093141436576843, 0.18724782764911652, 0.3640193045139313, -0.16994349658489227, -0.42933452129364014, -0.3823923170566559, 0.6264756321907043, 0.23632949590682983, -0.7945640087127686, -0.5438540577888489, 0.5531166791915894, 0.3462994396686554, 0.3322591781616211, 0.8085811734199524, -0.16020306944847107, 0.1327187567949295, -0.0994950458407402, 0.260306179523468, 0.05185969918966293, -0.11099307984113693, -0.5738427042961121, -0.1279403120279312, -0.24620980024337769, -0.3623095452785492 ]
aubmindlab/bert-large-arabertv02
aubmindlab
2023-08-03T12:31:29Z
14,245
5
transformers
[ "transformers", "pytorch", "tf", "jax", "tensorboard", "safetensors", "bert", "fill-mask", "ar", "dataset:wikipedia", "dataset:Osian", "dataset:1.5B-Arabic-Corpus", "dataset:oscar-arabic-unshuffled", "arxiv:2003.00104", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
fill-mask
2022-03-02T23:29:05Z
--- language: ar datasets: - wikipedia - Osian - 1.5B-Arabic-Corpus - oscar-arabic-unshuffled widget: - text: " عاصمة لبنان هي [MASK] ." --- # AraBERT v1 & v2 : Pre-training BERT for Arabic Language Understanding <img src="https://raw.githubusercontent.com/aub-mind/arabert/master/arabert_logo.png" width="100" align="left"/> **AraBERT** is an Arabic pretrained lanaguage model based on [Google's BERT architechture](https://github.com/google-research/bert). AraBERT uses the same BERT-Base config. More details are available in the [AraBERT Paper](https://arxiv.org/abs/2003.00104) and in the [AraBERT Meetup](https://github.com/WissamAntoun/pydata_khobar_meetup) There are two versions of the model, AraBERTv0.1 and AraBERTv1, with the difference being that AraBERTv1 uses pre-segmented text where prefixes and suffixes were splitted using the [Farasa Segmenter](http://alt.qcri.org/farasa/segmenter.html). We evalaute AraBERT models on different downstream tasks and compare them to [mBERT]((https://github.com/google-research/bert/blob/master/multilingual.md)), and other state of the art models (*To the extent of our knowledge*). The Tasks were Sentiment Analysis on 6 different datasets ([HARD](https://github.com/elnagara/HARD-Arabic-Dataset), [ASTD-Balanced](https://www.aclweb.org/anthology/D15-1299), [ArsenTD-Lev](https://staff.aub.edu.lb/~we07/Publications/ArSentD-LEV_Sentiment_Corpus.pdf), [LABR](https://github.com/mohamedadaly/LABR)), Named Entity Recognition with the [ANERcorp](http://curtis.ml.cmu.edu/w/courses/index.php/ANERcorp), and Arabic Question Answering on [Arabic-SQuAD and ARCD](https://github.com/husseinmozannar/SOQAL) # AraBERTv2 ## What's New! AraBERT now comes in 4 new variants to replace the old v1 versions: More Detail in the AraBERT folder and in the [README](https://github.com/aub-mind/arabert/blob/master/AraBERT/README.md) and in the [AraBERT Paper](https://arxiv.org/abs/2003.00104v2) Model | HuggingFace Model Name | Size (MB/Params)| Pre-Segmentation | DataSet (Sentences/Size/nWords) | ---|:---:|:---:|:---:|:---: AraBERTv0.2-base | [bert-base-arabertv02](https://huggingface.co/aubmindlab/bert-base-arabertv02) | 543MB / 136M | No | 200M / 77GB / 8.6B | AraBERTv0.2-large| [bert-large-arabertv02](https://huggingface.co/aubmindlab/bert-large-arabertv02) | 1.38G 371M | No | 200M / 77GB / 8.6B | AraBERTv2-base| [bert-base-arabertv2](https://huggingface.co/aubmindlab/bert-base-arabertv2) | 543MB 136M | Yes | 200M / 77GB / 8.6B | AraBERTv2-large| [bert-large-arabertv2](https://huggingface.co/aubmindlab/bert-large-arabertv2) | 1.38G 371M | Yes | 200M / 77GB / 8.6B | AraBERTv0.1-base| [bert-base-arabertv01](https://huggingface.co/aubmindlab/bert-base-arabertv01) | 543MB 136M | No | 77M / 23GB / 2.7B | AraBERTv1-base| [bert-base-arabert](https://huggingface.co/aubmindlab/bert-base-arabert) | 543MB 136M | Yes | 77M / 23GB / 2.7B | All models are available in the `HuggingFace` model page under the [aubmindlab](https://huggingface.co/aubmindlab/) name. Checkpoints are available in PyTorch, TF2 and TF1 formats. ## Better Pre-Processing and New Vocab We identified an issue with AraBERTv1's wordpiece vocabulary. The issue came from punctuations and numbers that were still attached to words when learned the wordpiece vocab. We now insert a space between numbers and characters and around punctuation characters. The new vocabulary was learnt using the `BertWordpieceTokenizer` from the `tokenizers` library, and should now support the Fast tokenizer implementation from the `transformers` library. **P.S.**: All the old BERT codes should work with the new BERT, just change the model name and check the new preprocessing dunction **Please read the section on how to use the [preprocessing function](#Preprocessing)** ## Bigger Dataset and More Compute We used ~3.5 times more data, and trained for longer. For Dataset Sources see the [Dataset Section](#Dataset) Model | Hardware | num of examples with seq len (128 / 512) |128 (Batch Size/ Num of Steps) | 512 (Batch Size/ Num of Steps) | Total Steps | Total Time (in Days) | ---|:---:|:---:|:---:|:---:|:---:|:---: AraBERTv0.2-base | TPUv3-8 | 420M / 207M | 2560 / 1M | 384/ 2M | 3M | - AraBERTv0.2-large | TPUv3-128 | 420M / 207M | 13440 / 250K | 2056 / 300K | 550K | 7 AraBERTv2-base | TPUv3-8 | 420M / 207M | 2560 / 1M | 384/ 2M | 3M | - AraBERTv2-large | TPUv3-128 | 520M / 245M | 13440 / 250K | 2056 / 300K | 550K | 7 AraBERT-base (v1/v0.1) | TPUv2-8 | - |512 / 900K | 128 / 300K| 1.2M | 4 # Dataset The pretraining data used for the new AraBERT model is also used for Arabic **GPT2 and ELECTRA**. The dataset consists of 77GB or 200,095,961 lines or 8,655,948,860 words or 82,232,988,358 chars (before applying Farasa Segmentation) For the new dataset we added the unshuffled OSCAR corpus, after we thoroughly filter it, to the previous dataset used in AraBERTv1 but with out the websites that we previously crawled: - OSCAR unshuffled and filtered. - [Arabic Wikipedia dump](https://archive.org/details/arwiki-20190201) from 2020/09/01 - [The 1.5B words Arabic Corpus](https://www.semanticscholar.org/paper/1.5-billion-words-Arabic-Corpus-El-Khair/f3eeef4afb81223df96575adadf808fe7fe440b4) - [The OSIAN Corpus](https://www.aclweb.org/anthology/W19-4619) - Assafir news articles. Huge thank you for Assafir for giving us the data # Preprocessing It is recommended to apply our preprocessing function before training/testing on any dataset. **Install farasapy to segment text for AraBERT v1 & v2 `pip install farasapy`** ```python from arabert.preprocess import ArabertPreprocessor model_name="bert-large-arabertv02" arabert_prep = ArabertPreprocessor(model_name=model_name) text = "ولن نبالغ إذا قلنا إن هاتف أو كمبيوتر المكتب في زمننا هذا ضروري" arabert_prep.preprocess(text) ``` ## Accepted_models ``` bert-base-arabertv01 bert-base-arabert bert-base-arabertv02 bert-base-arabertv2 bert-large-arabertv02 bert-large-arabertv2 araelectra-base aragpt2-base aragpt2-medium aragpt2-large aragpt2-mega ``` # TensorFlow 1.x models The TF1.x model are available in the HuggingFace models repo. You can download them as follows: - via git-lfs: clone all the models in a repo ```bash curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash sudo apt-get install git-lfs git lfs install git clone https://huggingface.co/aubmindlab/MODEL_NAME tar -C ./MODEL_NAME -zxvf /content/MODEL_NAME/tf1_model.tar.gz ``` where `MODEL_NAME` is any model under the `aubmindlab` name - via `wget`: - Go to the tf1_model.tar.gz file on huggingface.co/models/aubmindlab/MODEL_NAME. - copy the `oid sha256` - then run `wget https://cdn-lfs.huggingface.co/aubmindlab/aragpt2-base/INSERT_THE_SHA_HERE` (ex: for `aragpt2-base`: `wget https://cdn-lfs.huggingface.co/aubmindlab/aragpt2-base/3766fc03d7c2593ff2fb991d275e96b81b0ecb2098b71ff315611d052ce65248`) # If you used this model please cite us as : Google Scholar has our Bibtex wrong (missing name), use this instead ``` @inproceedings{antoun2020arabert, title={AraBERT: Transformer-based Model for Arabic Language Understanding}, author={Antoun, Wissam and Baly, Fady and Hajj, Hazem}, booktitle={LREC 2020 Workshop Language Resources and Evaluation Conference 11--16 May 2020}, pages={9} } ``` # Acknowledgments Thanks to TensorFlow Research Cloud (TFRC) for the free access to Cloud TPUs, couldn't have done it without this program, and to the [AUB MIND Lab](https://sites.aub.edu.lb/mindlab/) Members for the continous support. Also thanks to [Yakshof](https://www.yakshof.com/#/) and Assafir for data and storage access. Another thanks for Habib Rahal (https://www.behance.net/rahalhabib), for putting a face to AraBERT. # Contacts **Wissam Antoun**: [Linkedin](https://www.linkedin.com/in/wissam-antoun-622142b4/) | [Twitter](https://twitter.com/wissam_antoun) | [Github](https://github.com/WissamAntoun) | <[email protected]> | <[email protected]> **Fady Baly**: [Linkedin](https://www.linkedin.com/in/fadybaly/) | [Twitter](https://twitter.com/fadybaly) | [Github](https://github.com/fadybaly) | <[email protected]> | <[email protected]>
[ -0.7005987763404846, -0.7030757069587708, 0.3334096372127533, 0.12911178171634674, -0.29884594678878784, -0.08524997532367706, -0.14296716451644897, -0.5741861462593079, 0.2515697777271271, 0.2881196439266205, -0.5774737596511841, -0.666685938835144, -0.7771984934806824, 0.0019173554610460997, -0.4999840259552002, 1.2249608039855957, -0.33243101835250854, -0.010416748933494091, -0.026359062641859055, -0.4996432662010193, -0.017241807654500008, -0.46222472190856934, -0.5778312087059021, -0.3933136761188507, 0.4230000972747803, 0.29072752594947815, 0.8513256907463074, 0.44052937626838684, 0.3834560513496399, 0.390534371137619, -0.24876973032951355, 0.07301627099514008, -0.1805952787399292, -0.19592995941638947, 0.18156640231609344, -0.21340343356132507, -0.5122639536857605, -0.10720950365066528, 0.6681310534477234, 0.5070174932479858, 0.00902504101395607, 0.1309036910533905, -0.10736655443906784, 0.8220728635787964, -0.3341003954410553, -0.03387172520160675, -0.13253647089004517, -0.039788711816072464, -0.20796306431293488, 0.376025527715683, -0.016377042979002, -0.37351298332214355, 0.39686211943626404, -0.49862727522850037, 0.13475698232650757, 0.002120361430570483, 1.3191319704055786, 0.3258906304836273, -0.15926286578178406, -0.3629228472709656, -0.35831236839294434, 0.8339958786964417, -0.7941152453422546, 0.6205911040306091, 0.3705587089061737, 0.006897691171616316, -0.095949687063694, -0.8312612175941467, -0.745342493057251, -0.252120703458786, -0.054157551378011703, -0.001978608313947916, -0.3631596863269806, -0.01408541202545166, 0.08746590465307236, 0.4645419120788574, -0.5381758213043213, -0.05108753591775894, -0.5070623159408569, -0.3795771598815918, 0.6068149209022522, -0.29840564727783203, 0.3081494867801666, -0.20146523416042328, -0.41664981842041016, -0.5103659629821777, -0.47620075941085815, 0.15687072277069092, 0.2841780483722687, 0.023522401228547096, -0.6000194549560547, 0.33386528491973877, -0.01304528210312128, 0.4634245038032532, 0.10166775435209274, -0.17716367542743683, 0.6420038938522339, -0.2509106397628784, -0.16398297250270844, 0.050354357808828354, 0.886361300945282, 0.10855454951524734, 0.23765189945697784, -0.013717888854444027, -0.09082082659006119, -0.08479379117488861, 0.020224474370479584, -1.092597484588623, -0.34408092498779297, 0.48742032051086426, -0.4992143213748932, -0.2526656687259674, 0.005431554280221462, -0.5861126780509949, -0.1136174127459526, -0.1247810423374176, 0.48930054903030396, -0.9453454613685608, -0.3302806317806244, 0.09671317040920258, -0.2006525695323944, 0.44394323229789734, 0.39025673270225525, -0.5914662480354309, 0.280122846364975, 0.527654767036438, 1.013798475265503, -0.02728087641298771, -0.3392792046070099, -0.16093018651008606, -0.336187481880188, -0.17249418795108795, 0.5975462794303894, -0.30831414461135864, -0.3741208016872406, -0.07697734236717224, -0.0557045117020607, 0.02171374298632145, -0.4948214292526245, 0.6947762966156006, -0.573029100894928, 0.3660588264465332, -0.37527623772621155, -0.6350727081298828, -0.4973607063293457, 0.21851898729801178, -0.5928904414176941, 1.1429238319396973, 0.3639994263648987, -0.7730328440666199, 0.12652847170829773, -0.8656850457191467, -0.3247103691101074, -0.19713255763053894, -0.0198359377682209, -0.6793341636657715, -0.13055725395679474, 0.3848680555820465, 0.3247685432434082, -0.12605930864810944, -0.01066596806049347, -0.07809703052043915, -0.13381052017211914, 0.35758161544799805, -0.09452845901250839, 0.981365442276001, 0.2743823826313019, -0.38170549273490906, 0.06963105499744415, -0.7469366192817688, 0.02370193786919117, 0.2526865303516388, -0.23160667717456818, -0.05418306216597557, -0.12573815882205963, 0.2608150839805603, 0.37596383690834045, 0.3639051914215088, -0.6422332525253296, 0.12270097434520721, -0.4992052912712097, 0.33854466676712036, 0.733940601348877, -0.06586518883705139, 0.33038774132728577, -0.5800002813339233, 0.4788346290588379, 0.3555618226528168, 0.11706165224313736, -0.00997436884790659, -0.4587530493736267, -1.0719263553619385, -0.4030352532863617, 0.46776020526885986, 0.44118252396583557, -0.7369973659515381, 0.46395841240882874, -0.303009033203125, -0.8025010824203491, -0.7482593655586243, 0.09330467879772186, 0.5317316055297852, 0.4152009189128876, 0.542831540107727, -0.4616371691226959, -0.46438419818878174, -0.8797839283943176, -0.14275191724300385, -0.219477117061615, 0.1141514778137207, 0.34051942825317383, 0.7742913961410522, -0.3999638557434082, 0.8370333909988403, -0.4868125915527344, -0.3133082687854767, -0.22763748466968536, 0.14043641090393066, 0.2132822722196579, 0.613778293132782, 0.8646419048309326, -0.7102011442184448, -0.4737902581691742, -0.1247042641043663, -0.492969810962677, 0.06604117900133133, 0.1055324375629425, -0.3088465929031372, 0.4362638592720032, 0.2820150554180145, -0.7148381471633911, 0.38051483035087585, 0.6050885319709778, -0.538468062877655, 0.5172085165977478, 0.0272027850151062, 0.0014561963034793735, -1.1561983823776245, 0.1371564418077469, 0.0413489043712616, -0.22206048667430878, -0.6054086685180664, 0.007717663422226906, -0.08769989758729935, 0.12262746691703796, -0.5959528684616089, 0.7927519679069519, -0.3725475072860718, 0.12929318845272064, -0.08184199780225754, -0.040105972439050674, 0.04725413769483566, 0.6455318927764893, -0.2042180448770523, 0.975274920463562, 0.5462767481803894, -0.6237353682518005, 0.11799059063196182, 0.7670226097106934, -0.5083476901054382, 0.016010889783501625, -0.901763379573822, 0.2850719392299652, -0.2717039883136749, 0.22334910929203033, -0.9641937613487244, -0.22446544468402863, 0.4846626818180084, -0.6542845368385315, 0.4396514594554901, -0.15794594585895538, -0.45735546946525574, -0.234168142080307, -0.560247004032135, 0.3957069516181946, 0.7373711466789246, -0.525451123714447, 0.5544880032539368, 0.30427372455596924, -0.26878470182418823, -0.6196722984313965, -0.5779171586036682, -0.2846886217594147, -0.17450101673603058, -0.8305687308311462, 0.6198200583457947, -0.030056167393922806, -0.17891865968704224, 0.05705232918262482, -0.1490568220615387, -0.09948230534791946, 0.03343091160058975, 0.35241609811782837, 0.3128622770309448, -0.10673528909683228, 0.0682031512260437, 0.11000274866819382, -0.029044155031442642, 0.05990806594491005, -0.23822754621505737, 0.7860913872718811, -0.37259623408317566, -0.09811767935752869, -0.4653782844543457, 0.20428629219532013, 0.59894859790802, -0.5235125422477722, 1.0362929105758667, 1.0147372484207153, -0.31425464153289795, 0.12493331730365753, -0.5838719606399536, -0.12584759294986725, -0.5238645076751709, 0.4376395642757416, -0.23922869563102722, -0.9521827101707458, 0.562743067741394, 0.04016485437750816, 0.31349021196365356, 0.7571167945861816, 0.5298948884010315, 0.03097645565867424, 0.9234147667884827, 0.5586400628089905, -0.30744698643684387, 0.6807540655136108, -0.48162394762039185, 0.04597786068916321, -0.8509763479232788, -0.27939385175704956, -0.5265106558799744, -0.3331016004085541, -0.7168706655502319, -0.43520867824554443, 0.4595661163330078, -0.031566072255373, -0.4457828998565674, 0.23839318752288818, -0.48623427748680115, 0.09547854214906693, 0.5622260570526123, 0.20166628062725067, -0.0758894681930542, 0.28579792380332947, -0.26570191979408264, 0.015421902760863304, -0.4911130368709564, -0.5228122472763062, 1.0559265613555908, 0.41722458600997925, 0.3798404633998871, 0.22302739322185516, 0.8089212775230408, 0.3006522059440613, 0.3285411596298218, -0.6893337368965149, 0.4887123107910156, -0.036389339715242386, -0.7194665670394897, -0.15961404144763947, -0.2140311449766159, -0.8647560477256775, 0.17165444791316986, -0.08196040242910385, -0.7997303009033203, 0.08295480161905289, 0.010270684957504272, -0.41573113203048706, 0.2896096110343933, -0.5847780108451843, 0.8727628588676453, -0.19744139909744263, -0.3525216281414032, -0.17937766015529633, -0.826012134552002, 0.13070115447044373, -0.021631013602018356, 0.16961398720741272, -0.24844519793987274, 0.08645963668823242, 1.2500619888305664, -0.8725572824478149, 0.5020681619644165, -0.36134421825408936, -0.010281895287334919, 0.4703150987625122, -0.12735942006111145, 0.415912002325058, -0.21303218603134155, -0.20644865930080414, 0.5192010998725891, 0.1805705726146698, -0.4706647992134094, -0.2240709811449051, 0.6622517704963684, -1.3019030094146729, -0.3716834783554077, -0.6537147760391235, -0.4014476239681244, 0.0029793954454362392, 0.19912675023078918, 0.3102852404117584, 0.39751023054122925, -0.2114892601966858, 0.08337264508008957, 0.4776305556297302, -0.3843962550163269, 0.3914930820465088, 0.24931618571281433, -0.2911996841430664, -0.4693893492221832, 0.7302415370941162, 0.0336601659655571, 0.0335584320127964, 0.250723659992218, 0.0024954290129244328, -0.35765454173088074, -0.5315269231796265, -0.46836385130882263, 0.4834965169429779, -0.6321806311607361, -0.20236514508724213, -0.7656659483909607, -0.29547154903411865, -0.4084297716617584, -0.025720827281475067, -0.4147306978702545, -0.49351587891578674, -0.36373817920684814, 0.018698208034038544, 0.8290442228317261, 0.579396665096283, -0.08465331792831421, 0.5368267297744751, -0.8688952326774597, 0.16984246671199799, -0.0449037179350853, 0.21089768409729004, 0.01723485440015793, -0.8621545433998108, -0.2568120062351227, 0.19344796240329742, -0.609784722328186, -0.8420220613479614, 0.5375915169715881, 0.24636828899383545, 0.1259947419166565, 0.49316948652267456, -0.1435171216726303, 0.7261360287666321, -0.6031385064125061, 0.7932669520378113, 0.10088956356048584, -0.972486138343811, 0.4414133131504059, -0.17273306846618652, 0.3309517502784729, 0.6334103941917419, 0.6745216250419617, -0.6435983777046204, -0.030886279419064522, -0.7113863229751587, -0.9081385135650635, 0.823735237121582, 0.4627182185649872, 0.03443498536944389, 0.06416154652833939, 0.417885959148407, 0.14729639887809753, 0.18844455480575562, -0.5323833227157593, -0.6083924174308777, -0.28126710653305054, -0.3754208981990814, -0.003726030932739377, -0.2735946476459503, -0.014592974446713924, -0.5708392262458801, 1.053333044052124, 0.18356221914291382, 0.6546286940574646, 0.5000248551368713, -0.19999158382415771, 0.02637924626469612, 0.1799539476633072, 0.48565930128097534, 0.539922297000885, -0.24270135164260864, -0.2764277458190918, 0.18279877305030823, -0.6324955821037292, -0.002200875896960497, 0.6487956047058105, -0.18341884016990662, 0.23996636271476746, 0.30438315868377686, 0.8146636486053467, 0.0354573130607605, -0.6393328309059143, 0.5113049745559692, -0.024626748636364937, -0.3311499357223511, -0.6214887499809265, 0.01377494540065527, 0.056556086987257004, 0.31964609026908875, 0.3617192804813385, 0.08455222100019455, 0.02560877986252308, -0.3651711940765381, 0.1772070974111557, 0.4435185492038727, -0.26303067803382874, -0.46944043040275574, 0.6215548515319824, 0.04109842702746391, -0.20700237154960632, 0.7907958626747131, -0.21900860965251923, -0.844775378704071, 0.6262734532356262, 0.3386002480983734, 0.7466237545013428, -0.2222277969121933, 0.16164106130599976, 0.4863668382167816, 0.08785600960254669, 0.15932054817676544, 0.4891815483570099, -0.05092591419816017, -0.9042918682098389, -0.274037629365921, -0.8892714381217957, -0.3130504786968231, 0.22831791639328003, -0.5301952362060547, 0.16001267731189728, -0.5768383741378784, -0.24014192819595337, 0.2946140766143799, 0.28525903820991516, -0.878764808177948, 0.2225467562675476, 0.2448321282863617, 0.914564847946167, -0.6743151545524597, 0.7896746397018433, 1.0406453609466553, -0.49050435423851013, -0.851828396320343, -0.18554703891277313, 0.004135315306484699, -0.9699088931083679, 0.3360259532928467, 0.29223668575286865, 0.025547418743371964, 0.033202145248651505, -0.7243971824645996, -1.0426944494247437, 1.1553280353546143, 0.07199927419424057, -0.3838511109352112, -0.04823906719684601, 0.1592070609331131, 0.4401193857192993, -0.02420768141746521, 0.30445384979248047, 0.5790948867797852, 0.5392050743103027, 0.15843187272548676, -0.7705280184745789, 0.1449449509382248, -0.3854491114616394, -0.19537566602230072, 0.4643956124782562, -0.9648361206054688, 0.9603486657142639, -0.2235395312309265, -0.11098497360944748, 0.3074924051761627, 0.8337588906288147, 0.2958844304084778, 0.07300939410924911, 0.4602247476577759, 0.8006404042243958, 0.7554554343223572, -0.17645619809627533, 1.0417262315750122, -0.4256170690059662, 0.41482681035995483, 0.6895344853401184, 0.020230332389473915, 0.7061452269554138, 0.49238312244415283, -0.476860374212265, 0.785172164440155, 0.6238186955451965, 0.012995167635381222, 0.4342377185821533, -0.07064471393823624, -0.34606823325157166, -0.03075408935546875, -0.12816005945205688, -0.5854231119155884, 0.557562530040741, 0.32094117999076843, -0.4429139196872711, -0.18792550265789032, -0.1338106095790863, 0.5618306994438171, -0.3531375527381897, -0.11863524466753006, 0.5609259605407715, 0.14715257287025452, -0.6056256294250488, 0.7852241396903992, 0.3685685396194458, 0.7071030735969543, -0.6538036465644836, 0.0944521427154541, -0.14486515522003174, 0.3651725649833679, -0.21447671949863434, -0.5649998188018799, 0.18301165103912354, 0.09722140431404114, 0.034933269023895264, -0.10901470482349396, 0.7363762855529785, -0.3760446012020111, -0.6116887927055359, 0.1767011135816574, 0.6090905666351318, 0.38270115852355957, -0.11197599768638611, -0.9853523969650269, 0.27396929264068604, 0.1977219432592392, -0.41971853375434875, 0.217403843998909, 0.2507737874984741, 0.06655173748731613, 0.5087032914161682, 0.6523109078407288, -0.11392796039581299, -0.015964850783348083, -0.06332727521657944, 1.071183443069458, -0.6765568852424622, -0.28177785873413086, -0.963969349861145, 0.5279871225357056, -0.007388357073068619, -0.5819870829582214, 0.7134998440742493, 0.5402855277061462, 0.9807711243629456, 0.012293283827602863, 0.7003986239433289, -0.30334240198135376, 0.45922529697418213, -0.3360830843448639, 0.8636882901191711, -0.7894151210784912, -0.17293770611286163, -0.35656654834747314, -0.7420785427093506, -0.06989416480064392, 0.8460823893547058, -0.31376102566719055, 0.2998937964439392, 0.5509222745895386, 0.7484868168830872, -0.06767713278532028, -0.07430499792098999, -0.11936517804861069, 0.39260876178741455, 0.3548130691051483, 0.5004945397377014, 0.5810937285423279, -0.8234267234802246, 0.384613960981369, -0.42461585998535156, -0.1225607618689537, -0.23984335362911224, -0.588080883026123, -0.8613001108169556, -0.6389505863189697, -0.3969991207122803, -0.51604825258255, 0.07911981642246246, 1.2789422273635864, 0.6253953576087952, -0.8462347388267517, -0.05877526476979256, -0.0034073726274073124, 0.02072295732796192, 0.025124410167336464, -0.23188801109790802, 0.619531512260437, -0.01101794745773077, -0.7493039965629578, 0.08329693228006363, -0.04230698198080063, 0.3872974216938019, 0.07038260251283646, -0.28653648495674133, -0.38362348079681396, 0.017327524721622467, 0.5231733322143555, 0.4214842915534973, -0.630403995513916, -0.30748966336250305, -0.03533671423792839, 0.07465516775846481, 0.3368312418460846, 0.22051547467708588, -0.7243240475654602, 0.04806793853640556, 0.2610709071159363, 0.5956722497940063, 0.8009504675865173, 0.036452457308769226, 0.18772996962070465, -0.6342762112617493, 0.3719884753227234, 0.22645226120948792, 0.4759601950645447, 0.47980597615242004, -0.053974226117134094, 0.43139714002609253, -0.0353105328977108, -0.5787957310676575, -0.5917184948921204, 0.08998457342386246, -1.063981294631958, -0.1357588917016983, 1.0876901149749756, -0.1471737027168274, -0.3380732238292694, 0.17097386717796326, -0.27613094449043274, 0.5522193312644958, -0.5152828097343445, 0.7125039100646973, 0.9315551519393921, -0.0326724573969841, -0.07465994358062744, -0.38654249906539917, 0.6148982644081116, 0.7299628257751465, -0.7050672769546509, -0.4261292517185211, 0.40542522072792053, 0.46565842628479004, 0.27647173404693604, 0.592331051826477, -0.16889642179012299, 0.25253620743751526, -0.21648378670215607, 0.23694102466106415, -0.05107986181974411, -0.13714933395385742, -0.2165140062570572, -0.1687503457069397, 0.04949823394417763, -0.3182096779346466 ]
google/pix2struct-docvqa-base
google
2023-05-19T10:06:56Z
14,244
24
transformers
[ "transformers", "pytorch", "pix2struct", "text2text-generation", "visual-question-answering", "en", "fr", "ro", "de", "multilingual", "arxiv:2210.03347", "license:apache-2.0", "autotrain_compatible", "has_space", "region:us" ]
visual-question-answering
2023-03-21T09:45:02Z
--- language: - en - fr - ro - de - multilingual pipeline_tag: visual-question-answering inference: false license: apache-2.0 --- # Model card for Pix2Struct - Finetuned on Doc-VQA (Visual Question Answering over scanned documents) ![model_image](https://s3.amazonaws.com/moonup/production/uploads/1678713353867-62441d1d9fdefb55a0b7d12c.png) # Table of Contents 0. [TL;DR](#TL;DR) 1. [Using the model](#using-the-model) 2. [Contribution](#contribution) 3. [Citation](#citation) # TL;DR Pix2Struct is an image encoder - text decoder model that is trained on image-text pairs for various tasks, including image captionning and visual question answering. The full list of available models can be found on the Table 1 of the paper: ![Table 1 - paper](https://s3.amazonaws.com/moonup/production/uploads/1678712985040-62441d1d9fdefb55a0b7d12c.png) The abstract of the model states that: > Visually-situated language is ubiquitous—sources range from textbooks with diagrams to web pages with images and tables, to mobile apps with buttons and forms. Perhaps due to this diversity, previous work has typically relied on domainspecific recipes with limited sharing of the underlying data, model architectures, and objectives. We present Pix2Struct, a pretrained image-to-text model for purely visual language understanding, which can be finetuned on tasks containing visually-situated language. Pix2Struct is pretrained by learning to parse masked screenshots of web pages into simplified HTML. The web, with its richness of visual elements cleanly reflected in the HTML structure, provides a large source of pretraining data well suited to the diversity of downstream tasks. Intuitively, this objective subsumes common pretraining signals such as OCR, language modeling, image captioning. In addition to the novel pretraining strategy, we introduce a variable-resolution input representation and a more flexible integration of language and vision inputs, where language prompts such as questions are rendered directly on top of the input image. For the first time, we show that a single pretrained model can achieve state-of-the-art results in six out of nine tasks across four domains: documents, illustrations, user interfaces, and natural images. # Using the model ## Converting from T5x to huggingface You can use the [`convert_pix2struct_checkpoint_to_pytorch.py`](https://github.com/huggingface/transformers/blob/main/src/transformers/models/pix2struct/convert_pix2struct_checkpoint_to_pytorch.py) script as follows: ```bash python convert_pix2struct_checkpoint_to_pytorch.py --t5x_checkpoint_path PATH_TO_T5X_CHECKPOINTS --pytorch_dump_path PATH_TO_SAVE ``` if you are converting a large model, run: ```bash python convert_pix2struct_checkpoint_to_pytorch.py --t5x_checkpoint_path PATH_TO_T5X_CHECKPOINTS --pytorch_dump_path PATH_TO_SAVE --use-large ``` Once saved, you can push your converted model with the following snippet: ```python from transformers import Pix2StructForConditionalGeneration, Pix2StructProcessor model = Pix2StructForConditionalGeneration.from_pretrained(PATH_TO_SAVE) processor = Pix2StructProcessor.from_pretrained(PATH_TO_SAVE) model.push_to_hub("USERNAME/MODEL_NAME") processor.push_to_hub("USERNAME/MODEL_NAME") ``` ## Running the model The instructions for running this model are totally similar to the instructions stated on [`pix2struct-aid-base`](https://huggingface.co/ybelkada/pix2struct-ai2d-base) model. # Contribution This model was originally contributed by Kenton Lee, Mandar Joshi et al. and added to the Hugging Face ecosystem by [Younes Belkada](https://huggingface.co/ybelkada). # Citation If you want to cite this work, please consider citing the original paper: ``` @misc{https://doi.org/10.48550/arxiv.2210.03347, doi = {10.48550/ARXIV.2210.03347}, url = {https://arxiv.org/abs/2210.03347}, author = {Lee, Kenton and Joshi, Mandar and Turc, Iulia and Hu, Hexiang and Liu, Fangyu and Eisenschlos, Julian and Khandelwal, Urvashi and Shaw, Peter and Chang, Ming-Wei and Toutanova, Kristina}, keywords = {Computation and Language (cs.CL), Computer Vision and Pattern Recognition (cs.CV), FOS: Computer and information sciences, FOS: Computer and information sciences}, title = {Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understanding}, publisher = {arXiv}, year = {2022}, copyright = {Creative Commons Attribution 4.0 International} } ```
[ -0.3757205903530121, -0.7348996996879578, 0.4232221245765686, 0.22729982435703278, -0.2505519688129425, -0.3690975308418274, -0.04045776277780533, -0.4404147267341614, -0.18735691905021667, 0.37409207224845886, -0.5945148468017578, -0.2243315428495407, -0.6755947470664978, -0.13129378855228424, -0.22312216460704803, 0.8956160545349121, -0.19310788810253143, 0.06970077753067017, -0.5828317403793335, 0.017012033611536026, -0.1998918652534485, -0.43855020403862, -0.5733041763305664, -0.24091410636901855, 0.2482987940311432, 0.14560401439666748, 0.5743117928504944, 0.4438081383705139, 0.4318510591983795, 0.2895002067089081, -0.11104543507099152, -0.06387408822774887, -0.37143033742904663, -0.2900581359863281, -0.22854381799697876, -0.6427795886993408, -0.44041556119918823, 0.28618323802948, 0.6413893699645996, 0.5004944205284119, 0.10730315744876862, 0.10873894393444061, 0.16217702627182007, 0.5431884527206421, -0.4762607216835022, 0.2738751471042633, -0.33446550369262695, 0.03387175127863884, -0.04849054291844368, 0.1971794217824936, -0.4560391902923584, -0.11962832510471344, 0.03795584291219711, -0.6007939577102661, 0.08169879019260406, -0.12601032853126526, 1.1790322065353394, 0.30928391218185425, -0.2341517060995102, 0.06935286521911621, -0.25851815938949585, 0.48445016145706177, -0.44321343302726746, 0.4096861183643341, 0.4767126142978668, 0.1831931471824646, 0.05410004407167435, -1.1138405799865723, -0.7153143286705017, -0.03588637337088585, -0.26225730776786804, 0.25558361411094666, -0.4330040514469147, -0.008326553739607334, 0.4011802077293396, 0.23893576860427856, -0.608295202255249, -0.06610336899757385, -0.5164167284965515, -0.2801527976989746, 0.43011748790740967, -0.24956142902374268, 0.5786064267158508, -0.28247329592704773, -0.5434234142303467, -0.5627459287643433, -0.41101017594337463, 0.42179685831069946, -0.02476065792143345, -0.09383129328489304, -0.5355995893478394, 0.5954179167747498, 0.06533538550138474, 0.5156704783439636, 0.12973597645759583, 0.11059673130512238, 0.3843156695365906, -0.2781469523906708, -0.07761023193597794, -0.38667309284210205, 1.004665732383728, 0.5768504738807678, 0.37394487857818604, 0.019698282703757286, -0.028385361656546593, -0.003497515805065632, 0.21063412725925446, -1.1789720058441162, -0.4746795892715454, 0.179251030087471, -0.49612507224082947, -0.20574866235256195, 0.31695225834846497, -0.6171704530715942, -0.06296191364526749, -0.28662654757499695, 0.5513811707496643, -0.5044113993644714, -0.4961904287338257, -0.265691876411438, -0.23116160929203033, 0.4238198399543762, 0.46438664197921753, -0.5654855370521545, 0.2550189793109894, 0.5375477075576782, 1.0498899221420288, -0.13382886350154877, -0.38479331135749817, -0.5486019253730774, -0.26120525598526, -0.3295689523220062, 0.9236456155776978, -0.36778658628463745, -0.08161889761686325, -0.2506222426891327, 0.2684420943260193, -0.24012523889541626, -0.4773118793964386, -0.021488167345523834, -0.3148145377635956, 0.357245534658432, -0.05260922387242317, -0.1930047571659088, -0.3039891719818115, 0.15706077218055725, -0.46657514572143555, 1.162501335144043, 0.4966718852519989, -0.7754451036453247, -0.00501231150701642, -0.536182701587677, -0.2601671516895294, -0.06604702025651932, -0.1784607619047165, -0.7555627822875977, 0.07904265820980072, 0.1345478743314743, 0.4250439405441284, -0.12267841398715973, 0.12313300371170044, -0.40890392661094666, -0.18689441680908203, 0.2559777498245239, 0.02024543471634388, 0.9364104866981506, 0.26362085342407227, -0.46632513403892517, 0.0544201023876667, -0.42813390493392944, 0.21516285836696625, 0.2226702719926834, -0.1239052265882492, -0.0947548896074295, -0.1801634430885315, 0.2910845875740051, 0.45151883363723755, 0.21346700191497803, -0.398074746131897, 0.2071279138326645, -0.17770685255527496, 0.651678740978241, 0.40659669041633606, -0.2750282883644104, 0.49463146924972534, -0.06095011904835701, 0.3414056897163391, 0.14116604626178741, 0.10192447155714035, -0.43575626611709595, -0.5208626985549927, -0.6856389045715332, -0.29967981576919556, 0.11743918806314468, 0.599587082862854, -0.8510828614234924, 0.3401399552822113, -0.14923112094402313, -0.5245827436447144, -0.12898297607898712, -0.04985802248120308, 0.6865096688270569, 0.54819256067276, 0.41658782958984375, -0.5063509941101074, -0.318696528673172, -0.7879043221473694, -0.04183049872517586, -0.24345630407333374, -0.13013173639774323, 0.2755582928657532, 0.6251348257064819, -0.49048542976379395, 0.9100990891456604, -0.3542220890522003, -0.2040403187274933, -0.2788790762424469, 0.14325688779354095, -0.008500688709318638, 0.8289406299591064, 0.7173066735267639, -0.8258636593818665, -0.4977180063724518, -0.07012399286031723, -0.8367876410484314, -0.05909375846385956, -0.06138055399060249, -0.3793905973434448, 0.2888670265674591, 0.6322802305221558, -0.6449704766273499, 0.502264678478241, 0.40732887387275696, -0.5590420365333557, 0.4963871240615845, -0.11414624005556107, -0.0014092655619606376, -1.1944522857666016, 0.35336920619010925, 0.0883716568350792, -0.4508776068687439, -0.5445182919502258, 0.299973726272583, 0.3839828372001648, -0.39716947078704834, -0.5709842443466187, 0.7767581939697266, -0.5993101596832275, -0.21074707806110382, -0.2765650451183319, -0.18264517188072205, 0.10897088795900345, 0.6975108981132507, 0.3858743906021118, 0.8006252646446228, 0.7412425875663757, -0.5557587146759033, 0.2428693175315857, 0.6130772233009338, -0.16592715680599213, 0.6494349837303162, -0.8386897444725037, 0.32874512672424316, -0.17992383241653442, 0.2348034828901291, -0.8610944747924805, -0.2633573114871979, 0.4877046048641205, -0.6690006852149963, 0.4067194163799286, -0.2842820882797241, -0.33574092388153076, -0.46231183409690857, -0.18380866944789886, 0.548555850982666, 0.6654616594314575, -0.5771259069442749, 0.6210235357284546, 0.2400645911693573, -0.27152401208877563, -0.1767488270998001, -0.7711807489395142, -0.06668704748153687, -0.005281882360577583, -0.724852442741394, 0.36612221598625183, -0.09807068109512329, -0.07651013880968094, 0.04368603229522705, 0.03542506694793701, -0.11783517897129059, -0.09223117679357529, 0.4847905933856964, 0.3612760007381439, -0.19459158182144165, -0.08884268999099731, -1.5919252405183215e-7, -0.33228063583374023, 0.02535625733435154, -0.3203480541706085, 0.6256056427955627, -0.3132212162017822, -0.10215528309345245, -0.9022865891456604, 0.4566875994205475, 0.6018231511116028, -0.517791748046875, 0.5350894331932068, 0.6899397969245911, -0.46183085441589355, 0.10665859282016754, -0.5236510038375854, -0.1749645471572876, -0.43902939558029175, 0.62641841173172, -0.49008628726005554, -0.6650501489639282, 0.39181917905807495, -0.1067577376961708, -0.1437896341085434, 0.5478445887565613, 0.5660589337348938, -0.28505706787109375, 0.8324178457260132, 0.9138475656509399, 0.3007127344608307, 0.7778884172439575, -0.43707412481307983, 0.008822978474199772, -0.8625116944313049, -0.4947386682033539, -0.3544488847255707, -0.15300296247005463, -0.3547697067260742, -0.5774813294410706, 0.46752801537513733, 0.36847132444381714, -0.3843325674533844, 0.5291523933410645, -0.5185314416885376, 0.2627757787704468, 0.7253068089485168, 0.43872714042663574, -0.18044209480285645, 0.44652897119522095, 0.0031829301733523607, -0.0047774664126336575, -0.6074272990226746, -0.3182835876941681, 0.818807065486908, 0.44645074009895325, 0.5488103628158569, -0.14809492230415344, 0.42701640725135803, -0.09375720471143723, 0.06928461790084839, -0.7251864075660706, 0.392130970954895, -0.09518954902887344, -0.3867562413215637, -0.06843169033527374, -0.3502075672149658, -0.6780970692634583, 0.13946199417114258, -0.19095781445503235, -0.827906608581543, 0.3345229923725128, 0.2505871653556824, -0.3960702419281006, 0.2559484541416168, -0.8933023810386658, 1.2215319871902466, -0.31495001912117004, -0.7144411206245422, -0.018962563946843147, -0.6736674904823303, 0.23558469116687775, 0.20074188709259033, -0.006105426233261824, 0.18363718688488007, 0.1555614173412323, 0.8630704879760742, -0.6925937533378601, 0.7676881551742554, -0.29702726006507874, 0.18414567410945892, 0.5027714967727661, 0.002368515357375145, 0.408426970243454, 0.023722389712929726, 0.030673980712890625, 0.42648911476135254, 0.414452463388443, -0.43430134654045105, -0.5405605435371399, 0.3474389910697937, -1.0191220045089722, -0.3339979946613312, -0.48064929246902466, -0.3319033980369568, 0.05418422818183899, 0.3301074504852295, 0.49873438477516174, 0.4163972735404968, 0.03562822565436363, 0.17343829572200775, 0.6473116874694824, -0.3564501404762268, 0.42103317379951477, 0.12334335595369339, -0.12662827968597412, -0.4833928048610687, 0.6757469177246094, -0.13805939257144928, 0.34850695729255676, 0.27362945675849915, 0.06960676610469818, -0.4293065369129181, -0.20886912941932678, -0.4701012670993805, 0.46604374051094055, -0.570754885673523, -0.16734065115451813, -0.8231604695320129, -0.3379831910133362, -0.5664271712303162, -0.0910726860165596, -0.6414835453033447, -0.21822942793369293, -0.43884581327438354, 0.18848416209220886, 0.3757135272026062, 0.45248696208000183, -0.13450446724891663, 0.48321792483329773, -0.5850558280944824, 0.45567312836647034, 0.43236252665519714, 0.5670796036720276, -0.20986123383045197, -0.6181516647338867, 0.05153883621096611, 0.18567325174808502, -0.30745232105255127, -0.8212574124336243, 0.3283997178077698, 0.2902315855026245, 0.4478684961795807, 0.38249096274375916, -0.08295058459043503, 0.7214474678039551, -0.4006039500236511, 0.5822429060935974, 0.5264513492584229, -0.7658848166465759, 0.8140197992324829, -0.08345629274845123, 0.14296245574951172, 0.5554298758506775, 0.3889392018318176, -0.49001941084861755, 0.17657548189163208, -0.6581223011016846, -0.6637570261955261, 0.9476133584976196, 0.2532515525817871, 0.19412077963352203, 0.2855222821235657, 0.5960826277732849, -0.10752005875110626, 0.11703483760356903, -0.963100254535675, -0.009985128417611122, -0.6769060492515564, -0.17459295690059662, 0.0009184209629893303, -0.4456833004951477, 0.006555515807121992, -0.5307292342185974, 0.5484476685523987, -0.21245330572128296, 0.7298322916030884, 0.3626251220703125, -0.47017720341682434, 0.042368333786726, -0.24468198418617249, 0.4024757742881775, 0.45960554480552673, 0.006721834186464548, 0.2039075642824173, -0.22248338162899017, -0.5673155188560486, -0.10796838253736496, 0.2187291532754898, -0.21649020910263062, -0.1508718729019165, 0.4016661047935486, 1.0741517543792725, -0.01669522188603878, -0.5380045175552368, 0.7973877191543579, -0.07044064998626709, -0.31043457984924316, -0.4237046241760254, 0.0920940637588501, -0.016997143626213074, 0.37753164768218994, 0.24746695160865784, 0.17161504924297333, -0.19542881846427917, -0.6944798827171326, 0.3382466733455658, 0.4916091859340668, -0.4881848096847534, -0.4086228013038635, 0.82703697681427, 0.10396363586187363, -0.24452948570251465, 0.864510178565979, -0.13631190359592438, -0.6291676163673401, 0.7084230184555054, 0.4938807487487793, 0.7172880172729492, -0.10830648243427277, 0.1758013218641281, 0.7886418700218201, 0.18834152817726135, -0.1427099108695984, 0.16065901517868042, -0.3199107050895691, -0.5867636203765869, -0.06912524253129959, -0.6830810904502869, -0.0800776407122612, 0.04216822236776352, -0.587022066116333, 0.3481075167655945, -0.6017618179321289, -0.026521144434809685, -0.16303667426109314, -0.03581175580620766, -0.6544561982154846, 0.30994418263435364, 0.33898863196372986, 0.8205365538597107, -0.7222149968147278, 0.7170988917350769, 0.8754991888999939, -0.6712507009506226, -0.8167436718940735, -0.11142058670520782, 0.05082017183303833, -0.8810915946960449, 0.5141993761062622, 0.5030344128608704, 0.1817837655544281, 0.201851487159729, -0.8022364377975464, -0.6946014165878296, 1.215596318244934, 0.26388663053512573, -0.4891958236694336, -0.043370917439460754, 0.12279592454433441, 0.2806447744369507, -0.22991706430912018, 0.6659008264541626, 0.315435528755188, 0.39620256423950195, 0.3807125985622406, -0.8653020262718201, 0.1352095752954483, -0.8196555376052856, 0.2567126452922821, -0.29260003566741943, -0.6322723031044006, 0.9760912656784058, -0.3960300385951996, -0.33997616171836853, 0.23376412689685822, 0.6774278879165649, 0.21896180510520935, 0.27989086508750916, 0.3752252459526062, 0.5996407270431519, 0.5043047666549683, -0.30312156677246094, 1.105358600616455, -0.1926872581243515, 0.4165547490119934, 0.7985746264457703, 0.18218299746513367, 0.8768475651741028, 0.4447111189365387, -0.30599895119667053, 0.4626699388027191, 0.7899547219276428, -0.2687983214855194, 0.3682096600532532, -0.13800980150699615, 0.08641735464334488, -0.39412376284599304, 0.11244853585958481, -0.5132960677146912, 0.4000108540058136, 0.2064719796180725, -0.37091055512428284, -0.21401584148406982, 0.16410179436206818, 0.2276121824979782, 0.0670161247253418, -0.28502166271209717, 0.7522157430648804, 0.13998918235301971, -0.7675542235374451, 0.7335106730461121, 0.0686371698975563, 0.7287271618843079, -0.5799466967582703, -0.0010315144900232553, -0.32408788800239563, 0.25088322162628174, -0.3104167878627777, -0.7364591956138611, 0.3599187731742859, -0.008322876878082752, -0.2168850600719452, -0.3246220350265503, 0.5742539167404175, -0.36771079897880554, -0.7475818395614624, 0.15322783589363098, 0.21964415907859802, 0.3227537274360657, -0.5263000130653381, -0.7969898581504822, 0.16020633280277252, 0.027332274243235588, -0.30958497524261475, 0.3250020444393158, 0.17646871507167816, -0.1692427098751068, 0.5576350092887878, 0.6091751456260681, -0.27395573258399963, 0.0500631257891655, -0.21189269423484802, 0.8764714598655701, -0.5145769715309143, -0.6625210046768188, -0.5798794627189636, 0.8475632071495056, -0.002477846574038267, -0.31436455249786377, 0.3699003756046295, 0.5342634916305542, 0.9592455625534058, -0.12409640103578568, 0.6727690100669861, -0.3633677363395691, 0.1371804177761078, -0.564430832862854, 0.9795172214508057, -0.7301092743873596, -0.25729992985725403, -0.3652411997318268, -1.023932933807373, -0.25814881920814514, 0.9738081693649292, -0.2981865108013153, 0.13495737314224243, 0.7193315625190735, 0.9877939224243164, -0.25854724645614624, -0.4303576648235321, 0.07398393750190735, 0.24315495789051056, 0.26111987233161926, 0.6157333850860596, 0.5414936542510986, -0.6740694046020508, 0.4434090852737427, -0.41010451316833496, -0.5261502265930176, -0.0517757423222065, -0.6533421277999878, -1.0342507362365723, -0.8336782455444336, -0.6237158179283142, -0.4046390950679779, -0.008085548877716064, 0.6442057490348816, 0.9236024618148804, -0.6184873580932617, -0.09539835155010223, -0.27462685108184814, -0.1689804047346115, -0.18198756873607635, -0.2066398561000824, 0.4590318500995636, -0.17167048156261444, -0.8086710572242737, -0.1306161880493164, 0.08921151608228683, 0.3414837419986725, 0.07045618444681168, -0.21799364686012268, -0.14026309549808502, -0.35258883237838745, 0.6799303889274597, 0.49113449454307556, -0.573074460029602, -0.02998867630958557, -0.036450572311878204, -0.14623992145061493, 0.2525671720504761, 0.5242175459861755, -0.7526588439941406, 0.38013336062431335, 0.5070238709449768, 0.5011484622955322, 0.8109813332557678, 0.11130935698747635, 0.2977880537509918, -0.34258681535720825, 0.5033890008926392, -0.14162108302116394, 0.29365959763526917, 0.3461143672466278, -0.3016102612018585, 0.36195871233940125, 0.5063513517379761, -0.1424645185470581, -0.6290751099586487, 0.19477182626724243, -1.1812505722045898, -0.4087183177471161, 1.2629908323287964, -0.2777777314186096, -0.5435665249824524, 0.3950978219509125, -0.3825850486755371, 0.38430625200271606, -0.05923369526863098, 0.44551488757133484, 0.29550182819366455, -0.05448726564645767, -0.8715382218360901, -0.2839086651802063, 0.39204466342926025, 0.3183515965938568, -0.8044004440307617, -0.1622062772512436, 0.5017668604850769, 0.4821833670139313, 0.22448398172855377, 0.553365170955658, -0.38087326288223267, 0.5527713298797607, 0.037170156836509705, 0.4969979524612427, -0.49233806133270264, -0.2482404112815857, -0.27430808544158936, -0.005394150037318468, -0.16926653683185577, -0.21191084384918213 ]
facebook/deit-tiny-patch16-224
facebook
2022-07-13T11:53:31Z
14,233
3
transformers
[ "transformers", "pytorch", "tf", "vit", "image-classification", "dataset:imagenet", "arxiv:2012.12877", "arxiv:2006.03677", "license:apache-2.0", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
image-classification
2022-03-02T23:29:05Z
--- license: apache-2.0 tags: - image-classification datasets: - imagenet --- # Data-efficient Image Transformer (tiny-sized model) Data-efficient Image Transformer (DeiT) model pre-trained and fine-tuned on ImageNet-1k (1 million images, 1,000 classes) at resolution 224x224. It was first introduced in the paper [Training data-efficient image transformers & distillation through attention](https://arxiv.org/abs/2012.12877) by Touvron et al. and first released in [this repository](https://github.com/facebookresearch/deit). However, the weights were converted from the [timm repository](https://github.com/rwightman/pytorch-image-models) by Ross Wightman. Disclaimer: The team releasing DeiT did not write a model card for this model so this model card has been written by the Hugging Face team. ## Model description This model is actually a more efficiently trained Vision Transformer (ViT). The Vision Transformer (ViT) is a transformer encoder model (BERT-like) pre-trained and fine-tuned on a large collection of images in a supervised fashion, namely ImageNet-1k, at a resolution of 224x224 pixels. Images are presented to the model as a sequence of fixed-size patches (resolution 16x16), 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. 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 raw model for image classification. See the [model hub](https://huggingface.co/models?search=facebook/deit) to look for fine-tuned versions on a task that interests you. ### How to use Since this model is a more efficiently trained ViT model, you can plug it into ViTModel or ViTForImageClassification. Note that the model expects the data to be prepared using DeiTFeatureExtractor. Here we use AutoFeatureExtractor, which will automatically use the appropriate feature extractor given the model name. Here is how to use this model to classify an image of the COCO 2017 dataset into one of the 1,000 ImageNet classes: ```python from transformers import AutoFeatureExtractor, ViTForImageClassification from PIL import Image import requests url = 'http://images.cocodataset.org/val2017/000000039769.jpg' image = Image.open(requests.get(url, stream=True).raw) feature_extractor = AutoFeatureExtractor.from_pretrained('facebook/deit-tiny-patch16-224') model = ViTForImageClassification.from_pretrained('facebook/deit-tiny-patch16-224') inputs = feature_extractor(images=image, return_tensors="pt") outputs = model(**inputs) logits = outputs.logits # model predicts one of the 1000 ImageNet classes predicted_class_idx = logits.argmax(-1).item() print("Predicted class:", model.config.id2label[predicted_class_idx]) ``` Currently, both the feature extractor and model support PyTorch. Tensorflow and JAX/FLAX are coming soon. ## Training data The ViT model was pretrained on [ImageNet-1k](http://www.image-net.org/challenges/LSVRC/2012/), a dataset consisting of 1 million images and 1k classes. ## Training procedure ### Preprocessing The exact details of preprocessing of images during training/validation can be found [here](https://github.com/facebookresearch/deit/blob/ab5715372db8c6cad5740714b2216d55aeae052e/datasets.py#L78). At inference time, images are resized/rescaled to the same resolution (256x256), center-cropped at 224x224 and normalized across the RGB channels with the ImageNet mean and standard deviation. ### Pretraining The model was trained on a single 8-GPU node for 3 days. Training resolution is 224. For all hyperparameters (such as batch size and learning rate) we refer to table 9 of the original paper. ## Evaluation results | Model | ImageNet top-1 accuracy | ImageNet top-5 accuracy | # params | URL | |---------------------------------------|-------------------------|-------------------------|----------|------------------------------------------------------------------| | **DeiT-tiny** | **72.2** | **91.1** | **5M** | **https://huggingface.co/facebook/deit-tiny-patch16-224** | | DeiT-small | 79.9 | 95.0 | 22M | https://huggingface.co/facebook/deit-small-patch16-224 | | DeiT-base | 81.8 | 95.6 | 86M | https://huggingface.co/facebook/deit-base-patch16-224 | | DeiT-tiny distilled | 74.5 | 91.9 | 6M | https://huggingface.co/facebook/deit-tiny-distilled-patch16-224 | | DeiT-small distilled | 81.2 | 95.4 | 22M | https://huggingface.co/facebook/deit-small-distilled-patch16-224 | | DeiT-base distilled | 83.4 | 96.5 | 87M | https://huggingface.co/facebook/deit-base-distilled-patch16-224 | | DeiT-base 384 | 82.9 | 96.2 | 87M | https://huggingface.co/facebook/deit-base-patch16-384 | | DeiT-base distilled 384 (1000 epochs) | 85.2 | 97.2 | 88M | https://huggingface.co/facebook/deit-base-distilled-patch16-384 | Note that for fine-tuning, the best results are obtained with a higher resolution (384x384). Of course, increasing the model size will result in better performance. ### BibTeX entry and citation info ```bibtex @misc{touvron2021training, title={Training data-efficient image transformers & distillation through attention}, author={Hugo Touvron and Matthieu Cord and Matthijs Douze and Francisco Massa and Alexandre Sablayrolles and Hervé Jégou}, year={2021}, eprint={2012.12877}, archivePrefix={arXiv}, primaryClass={cs.CV} } ``` ```bibtex @misc{wu2020visual, title={Visual Transformers: Token-based Image Representation and Processing for Computer Vision}, author={Bichen Wu and Chenfeng Xu and Xiaoliang Dai and Alvin Wan and Peizhao Zhang and Zhicheng Yan and Masayoshi Tomizuka and Joseph Gonzalez and Kurt Keutzer and Peter Vajda}, year={2020}, eprint={2006.03677}, archivePrefix={arXiv}, primaryClass={cs.CV} } ``` ```bibtex @inproceedings{deng2009imagenet, title={Imagenet: A large-scale hierarchical image database}, author={Deng, Jia and Dong, Wei and Socher, Richard and Li, Li-Jia and Li, Kai and Fei-Fei, Li}, booktitle={2009 IEEE conference on computer vision and pattern recognition}, pages={248--255}, year={2009}, organization={Ieee} } ```
[ -0.7428125739097595, -0.426177442073822, 0.06243964657187462, 0.029690755531191826, -0.3569643497467041, -0.2417019158601761, -0.11697208136320114, -0.49870437383651733, 0.3392896354198456, 0.2170814871788025, -0.3730054497718811, -0.31089872121810913, -0.789670467376709, -0.003548835637047887, -0.4299658238887787, 0.8818274736404419, 0.045008838176727295, -0.14351554214954376, -0.09976974129676819, -0.15290318429470062, -0.42265060544013977, -0.446693480014801, -0.6956003904342651, -0.13732165098190308, 0.4993354082107544, 0.22588224709033966, 0.6626369953155518, 0.8156567811965942, 0.8469812273979187, 0.45775043964385986, -0.09686820954084396, 0.07412668317556381, -0.47191643714904785, -0.32885870337486267, 0.08062645047903061, -0.3139703571796417, -0.4045458436012268, 0.22095999121665955, 0.5196252465248108, 0.4202456474304199, 0.217138409614563, 0.28826379776000977, 0.24975328147411346, 0.7076616287231445, -0.48189759254455566, 0.16355393826961517, -0.44967907667160034, 0.22802238166332245, -0.04036831110715866, -0.05970773473381996, -0.26729923486709595, -0.22794488072395325, 0.21548989415168762, -0.4868122935295105, 0.3643810451030731, -0.13434559106826782, 1.3609685897827148, 0.39801815152168274, -0.309158593416214, 0.1788381189107895, -0.6008339524269104, 0.7012913227081299, -0.4559524655342102, 0.38341081142425537, 0.310668408870697, 0.33046868443489075, 0.08807320147752762, -0.9959498047828674, -0.4978930354118347, -0.10605745017528534, -0.3219958543777466, 0.17824651300907135, -0.3244255483150482, 0.04125868156552315, 0.5098437666893005, 0.6077672243118286, -0.4480728805065155, 0.018041612580418587, -0.4796178340911865, -0.2155160754919052, 0.6310147047042847, -0.13518956303596497, 0.08591049164533615, -0.10526986420154572, -0.6211768388748169, -0.31726208329200745, -0.21669337153434753, 0.11571654677391052, 0.05935715511441231, 0.05588141083717346, -0.23009949922561646, 0.4569653570652008, -0.10530449450016022, 0.581643283367157, 0.46069100499153137, -0.016341127455234528, 0.5496313571929932, -0.3147599697113037, -0.38501274585723877, -0.11640404164791107, 0.925506591796875, 0.44263970851898193, 0.2836626470088959, 0.13005657494068146, -0.2345486879348755, 0.09327543526887894, 0.260065495967865, -1.0744003057479858, -0.28949105739593506, -0.01818709261715412, -0.7459171414375305, -0.4722919166088104, 0.24665163457393646, -0.606583297252655, -0.04936051368713379, -0.3602462112903595, 0.5526145696640015, -0.3884156346321106, -0.3130570352077484, -0.1584968864917755, -0.04496128484606743, 0.3898906409740448, 0.31815335154533386, -0.5538058876991272, 0.19357271492481232, 0.2581699788570404, 0.9920003414154053, -0.08866550028324127, -0.15313097834587097, -0.08167830854654312, -0.36188673973083496, -0.4435952305793762, 0.5969998836517334, -0.023182544857263565, -0.01791597157716751, -0.19874626398086548, 0.35401806235313416, -0.0845070481300354, -0.42570608854293823, 0.31992775201797485, -0.44193997979164124, -0.03641314432024956, -0.25361016392707825, -0.3126354515552521, -0.22237461805343628, 0.3059329092502594, -0.8032888770103455, 1.1490685939788818, 0.2655339241027832, -0.8967517614364624, 0.4006374776363373, -0.5070675015449524, -0.07566157728433609, -0.08508520573377609, 0.015828803181648254, -0.5917340517044067, -0.0790296196937561, 0.3181713819503784, 0.6127599477767944, -0.18487966060638428, -0.05426666885614395, -0.25502458214759827, -0.47776931524276733, 0.25684821605682373, -0.4065571129322052, 0.9033423662185669, 0.3224092423915863, -0.4877677857875824, -0.07193387299776077, -0.7641292214393616, 0.0657951682806015, 0.34918540716171265, -0.23178300261497498, -0.08388812839984894, -0.4455729126930237, 0.08285798132419586, 0.4240117073059082, 0.23425433039665222, -0.5741699934005737, 0.10385983437299728, -0.13902869820594788, 0.5169890522956848, 0.8235846161842346, -0.13059274852275848, 0.37356171011924744, -0.29561910033226013, 0.2866734564304352, 0.2955671548843384, 0.43118563294410706, -0.28042128682136536, -0.43428489565849304, -0.9303672909736633, -0.38349083065986633, 0.4566698968410492, 0.3867419958114624, -0.6821902990341187, 0.6251683831214905, -0.42993658781051636, -0.6359824538230896, -0.3633115589618683, 0.04664413258433342, 0.3496074974536896, 0.4726291000843048, 0.41728395223617554, -0.503961443901062, -0.4953070282936096, -1.0382989645004272, 0.1031636968255043, -0.04834023863077164, 0.15270300209522247, 0.18881011009216309, 0.6862940788269043, -0.23844853043556213, 0.9534459114074707, -0.4206450879573822, -0.33091622591018677, -0.02104945108294487, -0.08582718670368195, 0.32260963320732117, 0.6839508414268494, 0.8373816013336182, -0.9490563273429871, -0.6757887601852417, 0.03801223263144493, -0.811928927898407, 0.23903807997703552, 0.01030625868588686, -0.37127718329429626, 0.08991196006536484, 0.40519851446151733, -0.6350614428520203, 0.8109206557273865, 0.29133597016334534, -0.1669875979423523, 0.3265244662761688, -0.08435627818107605, 0.24390673637390137, -1.0654692649841309, 0.06251337379217148, 0.3470456004142761, -0.3744175434112549, -0.48060718178749084, -0.049382515251636505, 0.09512827545404434, -0.005932391621172428, -0.5221247673034668, 0.3235243856906891, -0.5499686598777771, -0.11810590326786041, -0.14042598009109497, -0.2951028347015381, 0.014199379831552505, 0.6327253580093384, 0.018602415919303894, 0.5580832958221436, 0.6202240586280823, -0.492257684469223, 0.5403419137001038, 0.2818327248096466, -0.3755492866039276, 0.6242473721504211, -0.7924501299858093, 0.2432022988796234, -0.12158162146806717, 0.2913706600666046, -1.059617042541504, -0.239797905087471, 0.194157674908638, -0.5367215275764465, 0.5320188999176025, -0.25705721974372864, -0.36485275626182556, -0.7987617254257202, -0.3124655485153198, 0.4315180778503418, 0.6730762720108032, -0.6879971027374268, 0.36210182309150696, 0.16199220716953278, 0.3840734362602234, -0.6991743445396423, -1.025753140449524, -0.08876245468854904, -0.2579318583011627, -0.6036552786827087, 0.4990265965461731, 0.046651437878608704, 0.15508927404880524, 0.19749514758586884, 0.01097414456307888, -0.20114663243293762, -0.16511501371860504, 0.44279271364212036, 0.3574352264404297, -0.27421480417251587, -0.03649422526359558, -0.3413185179233551, -0.21999229490756989, -0.09342063218355179, -0.44045770168304443, 0.4193557798862457, -0.40984323620796204, -0.27221351861953735, -0.8106923699378967, 0.05704038590192795, 0.6455464363098145, -0.11184846609830856, 0.6485191583633423, 0.8456775546073914, -0.5149752497673035, 0.1093444749712944, -0.594867467880249, -0.24757423996925354, -0.5105001330375671, 0.3285565972328186, -0.39473727345466614, -0.5834771990776062, 0.6846326589584351, 0.09772072732448578, 0.017843445762991905, 0.7471901178359985, 0.4307214915752411, -0.2339286059141159, 0.9145563244819641, 0.5505971312522888, -0.06626041978597641, 0.7629194259643555, -0.8491116762161255, 0.043135710060596466, -0.6535869240760803, -0.17553012073040009, -0.2203608751296997, -0.6971559524536133, -0.6538463830947876, -0.386622816324234, 0.2833508551120758, 0.05257907509803772, -0.4343917667865753, 0.6290677189826965, -0.8086433410644531, 0.3218807876110077, 0.760942280292511, 0.5306171178817749, -0.10795813053846359, 0.2833581864833832, -0.08779359608888626, -0.04835064709186554, -0.6031997203826904, -0.1413135975599289, 0.882891058921814, 0.45281708240509033, 0.667780339717865, -0.2593856155872345, 0.5900253057479858, 0.14086829125881195, 0.15060462057590485, -0.7416898012161255, 0.5495327711105347, -0.20559826493263245, -0.6467617750167847, -0.09347624331712723, -0.3538849353790283, -0.9243807196617126, 0.12596049904823303, -0.20366306602954865, -0.6129693388938904, 0.5343390703201294, 0.31682759523391724, -0.26549217104911804, 0.49106889963150024, -0.7221962809562683, 0.8547548651695251, -0.23005813360214233, -0.4110991954803467, 0.12343063950538635, -0.7902953028678894, 0.1328469067811966, 0.002429115818813443, -0.0846242755651474, 0.16898775100708008, 0.26252633333206177, 0.7424148917198181, -0.7743564248085022, 0.9144132733345032, -0.298313170671463, 0.27614837884902954, 0.6586642861366272, -0.23102733492851257, 0.3462592363357544, -0.25965040922164917, 0.11925134807825089, 0.43576234579086304, 0.0015446202596649528, -0.47565966844558716, -0.4718765318393707, 0.5821463465690613, -0.900989294052124, -0.30219075083732605, -0.4597121775150299, -0.259588360786438, 0.16407306492328644, 0.2001980096101761, 0.7184488773345947, 0.5219511389732361, 0.08319857716560364, 0.5388184189796448, 0.6263007521629333, -0.2603916823863983, 0.4689868092536926, -0.23076112568378448, 0.012422848492860794, -0.36007216572761536, 0.8741822242736816, 0.40287113189697266, 0.23997654020786285, 0.29518020153045654, 0.21184410154819489, -0.24722430109977722, -0.3709753155708313, -0.33468350768089294, 0.15044240653514862, -0.7948448657989502, -0.5080466866493225, -0.6359909176826477, -0.6163308620452881, -0.40994274616241455, -0.14247536659240723, -0.6001131534576416, -0.3698141574859619, -0.4276328682899475, -0.13538043200969696, 0.5777316689491272, 0.5976248383522034, -0.28619351983070374, 0.49983394145965576, -0.5894812345504761, 0.18849150836467743, 0.4012562334537506, 0.38396281003952026, -0.052712228149175644, -0.6869821548461914, -0.3428812623023987, 0.13757215440273285, -0.3180024325847626, -0.6767042875289917, 0.37781664729118347, 0.27108263969421387, 0.5363242626190186, 0.5185752511024475, -0.15483376383781433, 0.9501895308494568, -0.25514379143714905, 0.6818354725837708, 0.4550591707229614, -0.6046862006187439, 0.6648412942886353, -0.16290737688541412, 0.1377435177564621, 0.4902864098548889, 0.4597305357456207, -0.24970480799674988, 0.016775434836745262, -0.748035192489624, -0.7497507333755493, 0.6901317834854126, 0.1717759519815445, 0.10915632545948029, 0.10226559638977051, 0.583726167678833, -0.19602353870868683, 0.020704584196209908, -0.8057109117507935, -0.4138975143432617, -0.48738893866539, -0.20053967833518982, 0.03393557295203209, -0.19977375864982605, 0.09640767425298691, -0.7429527044296265, 0.5460485219955444, -0.09143173694610596, 0.7196784019470215, 0.24166768789291382, -0.20586301386356354, 0.020032396540045738, -0.42188867926597595, 0.16698198020458221, 0.41048943996429443, -0.19424934685230255, 0.057819854468107224, 0.10343380272388458, -0.743987500667572, 0.10143812745809555, 0.07347764074802399, -0.14874403178691864, -0.025042803958058357, 0.41720348596572876, 0.9837522506713867, -0.011221765540540218, -0.01374587882310152, 0.7576340436935425, -0.15161389112472534, -0.4485509693622589, -0.3997221887111664, 0.0349658839404583, -0.1627020239830017, 0.37294211983680725, 0.3622998893260956, 0.29230979084968567, 0.0886475145816803, -0.3051570951938629, 0.36985960602760315, 0.3329051434993744, -0.5460765957832336, -0.3189515173435211, 0.6405835747718811, -0.09372357279062271, 0.10249049216508865, 0.7476580739021301, -0.09019359946250916, -0.570899486541748, 1.022838830947876, 0.3746655583381653, 0.7987214922904968, -0.26192983984947205, 0.14897237718105316, 0.7847583889961243, 0.26265808939933777, -0.13667438924312592, 0.06597353518009186, 0.05402036011219025, -0.6940829157829285, -0.23878490924835205, -0.6479236483573914, 0.24516218900680542, 0.27595093846321106, -0.7038292288780212, 0.34576988220214844, -0.46942704916000366, -0.5287610292434692, 0.24861909449100494, 0.03656615689396858, -1.089721441268921, 0.38598984479904175, 0.15759028494358063, 0.8267300724983215, -0.7804887890815735, 0.758095383644104, 0.7450999617576599, -0.5814350247383118, -0.9833133220672607, -0.2804185748100281, -0.0483415424823761, -0.7270937561988831, 0.8340285420417786, 0.41002756357192993, 0.1566971093416214, 0.1745479553937912, -0.7362520098686218, -0.9369133114814758, 1.300615668296814, 0.2934551537036896, -0.42085152864456177, 0.013898605480790138, 0.1351824849843979, 0.43772271275520325, -0.30264249444007874, 0.5246509313583374, 0.3288835883140564, 0.3553314208984375, 0.41761523485183716, -0.774424135684967, 0.08051687479019165, -0.42623260617256165, 0.3379710614681244, -0.04319540783762932, -0.8604828119277954, 1.013790249824524, -0.1204754039645195, -0.13001090288162231, -0.048120759427547455, 0.6592340469360352, -0.1361686736345291, -0.02904406003654003, 0.7491118907928467, 0.7860549092292786, 0.38363802433013916, -0.3033778667449951, 1.0069200992584229, -0.06731410324573517, 0.5516654849052429, 0.6187897324562073, 0.3618957996368408, 0.41983941197395325, 0.3606032729148865, -0.30377084016799927, 0.3471033275127411, 1.0836900472640991, -0.3294006288051605, 0.5607932806015015, 0.016090450808405876, 0.1022011935710907, -0.16530387103557587, -0.00007424897921737283, -0.488869309425354, 0.5018234848976135, 0.21951758861541748, -0.6614972949028015, -0.049993254244327545, 0.2559840977191925, -0.17134913802146912, -0.36062437295913696, -0.3651750087738037, 0.6754487752914429, 0.07629694044589996, -0.44304895401000977, 0.8211379051208496, -0.20636209845542908, 0.7380567193031311, -0.290010541677475, -0.04744092747569084, -0.2600821554660797, 0.4048744738101959, -0.3350267708301544, -0.7221071720123291, 0.22726987302303314, -0.08602460473775864, -0.0438561737537384, -0.12030903995037079, 0.9111441373825073, -0.17000317573547363, -0.5946630239486694, 0.27796250581741333, 0.23863643407821655, 0.2859882414340973, -0.09182468801736832, -0.9285200834274292, 0.01751195266842842, -0.026984233409166336, -0.6606482267379761, 0.24732008576393127, 0.4599199891090393, -0.01517904456704855, 0.44480639696121216, 0.6529480218887329, -0.06718766689300537, 0.2731194496154785, -0.1787559539079666, 1.1045423746109009, -0.45480504631996155, -0.47053900361061096, -0.741592526435852, 0.603859007358551, -0.28648263216018677, -0.294513076543808, 0.5731505155563354, 0.42563799023628235, 0.9394688606262207, -0.059879034757614136, 0.653544545173645, -0.3328160345554352, 0.12393166124820709, -0.22760118544101715, 0.5221874713897705, -0.719643771648407, -0.21005816757678986, -0.38591673970222473, -1.0089683532714844, -0.2375388890504837, 0.9636607766151428, -0.1521434336900711, 0.4026636481285095, 0.5171520113945007, 0.7536505460739136, -0.322173148393631, -0.19462379813194275, 0.22638922929763794, 0.21396157145500183, 0.17580312490463257, 0.45658862590789795, 0.6755630373954773, -0.7711507678031921, 0.49511900544166565, -0.7870276570320129, -0.3535083532333374, -0.2851850092411041, -0.7421021461486816, -0.9479602575302124, -0.8028503060340881, -0.5104831457138062, -0.4713747799396515, -0.12694062292575836, 0.791913628578186, 1.0609363317489624, -0.6735442280769348, 0.06473899632692337, -0.12754003703594208, -0.2582207918167114, -0.38088396191596985, -0.22327032685279846, 0.5672548413276672, -0.02620518207550049, -0.8380275964736938, -0.26915258169174194, -0.01838746666908264, 0.34685343503952026, -0.1686604619026184, -0.05912075564265251, -0.24830923974514008, -0.2808193564414978, 0.5993720889091492, 0.20480358600616455, -0.4053178131580353, -0.41666674613952637, 0.07953885197639465, -0.22659696638584137, 0.30814093351364136, 0.5274006724357605, -0.6359174251556396, 0.3229984939098358, 0.5669114589691162, 0.5742215514183044, 0.8086427450180054, 0.06337609887123108, 0.009055441245436668, -0.6966953277587891, 0.43341881036758423, 0.04222698509693146, 0.4430502951145172, 0.27020150423049927, -0.5223389267921448, 0.7020745873451233, 0.4614291787147522, -0.5773147344589233, -0.7173426747322083, -0.08388284593820572, -1.1847988367080688, -0.13689923286437988, 0.9850709438323975, -0.3521219491958618, -0.5238556861877441, 0.30852437019348145, -0.14265722036361694, 0.5089178681373596, -0.14959163963794708, 0.4176871180534363, 0.46397069096565247, 0.028994262218475342, -0.38473525643348694, -0.656092643737793, 0.3438589572906494, 0.048325009644031525, -0.5841829776763916, -0.3570632040500641, 0.31415507197380066, 0.31526240706443787, 0.41744545102119446, 0.5784284472465515, -0.32189130783081055, 0.09795989841222763, 0.08095450699329376, 0.18353062868118286, -0.1590719074010849, -0.2932990789413452, -0.1670984923839569, -0.1286901831626892, -0.281401664018631, -0.65752112865448 ]
google/tapas-base-finetuned-wtq
google
2022-07-14T10:12:59Z
14,230
162
transformers
[ "transformers", "pytorch", "tf", "tapas", "table-question-answering", "en", "dataset:wikitablequestions", "arxiv:2004.02349", "arxiv:2010.00571", "arxiv:1508.00305", "license:apache-2.0", "endpoints_compatible", "has_space", "region:us" ]
table-question-answering
2022-03-02T23:29:05Z
--- language: en tags: - tapas license: apache-2.0 datasets: - wikitablequestions --- # TAPAS base model fine-tuned on WikiTable Questions (WTQ) This model has 2 versions which can be used. The default version corresponds to the `tapas_wtq_wikisql_sqa_inter_masklm_base_reset` checkpoint of the [original Github repository](https://github.com/google-research/tapas). This model was pre-trained on MLM and an additional step which the authors call intermediate pre-training, and then fine-tuned in a chain on [SQA](https://www.microsoft.com/en-us/download/details.aspx?id=54253), [WikiSQL](https://github.com/salesforce/WikiSQL) and finally [WTQ](https://github.com/ppasupat/WikiTableQuestions). It uses relative position embeddings (i.e. resetting the position index at every cell of the table). The other (non-default) version which can be used is: - `no_reset`, which corresponds to `tapas_wtq_wikisql_sqa_inter_masklm_base` (intermediate pre-training, absolute position embeddings). Disclaimer: The team releasing TAPAS did not write a model card for this model so this model card has been written by the Hugging Face team and contributors. ## Results Size | Reset | Dev Accuracy | Link -------- | --------| -------- | ---- LARGE | noreset | 0.5062 | [tapas-large-finetuned-wtq (with absolute pos embeddings)](https://huggingface.co/google/tapas-large-finetuned-wtq/tree/no_reset) LARGE | reset | 0.5097 | [tapas-large-finetuned-wtq](https://huggingface.co/google/tapas-large-finetuned-wtq/tree/main) **BASE** | **noreset** | **0.4525** | [tapas-base-finetuned-wtq (with absolute pos embeddings)](https://huggingface.co/google/tapas-base-finetuned-wtq/tree/no_reset) **BASE** | **reset** | **0.4638** | [tapas-base-finetuned-wtq](https://huggingface.co/google/tapas-base-finetuned-wtq/tree/main) MEDIUM | noreset | 0.4324 | [tapas-medium-finetuned-wtq (with absolute pos embeddings)](https://huggingface.co/google/tapas-medium-finetuned-wtq/tree/no_reset) MEDIUM | reset | 0.4324 | [tapas-medium-finetuned-wtq](https://huggingface.co/google/tapas-medium-finetuned-wtq/tree/main) SMALL | noreset | 0.3681 | [tapas-small-finetuned-wtq (with absolute pos embeddings)](https://huggingface.co/google/tapas-small-finetuned-wtq/tree/no_reset) SMALL | reset | 0.3762 | [tapas-small-finetuned-wtq](https://huggingface.co/google/tapas-small-finetuned-wtq/tree/main) MINI | noreset | 0.2783 | [tapas-mini-finetuned-wtq (with absolute pos embeddings)](https://huggingface.co/google/tapas-mini-finetuned-wtq/tree/no_reset) MINI | reset | 0.2854 | [tapas-mini-finetuned-wtq](https://huggingface.co/google/tapas-mini-finetuned-wtq/tree/main) TINY | noreset | 0.0823 | [tapas-tiny-finetuned-wtq (with absolute pos embeddings)](https://huggingface.co/google/tapas-tiny-finetuned-wtq/tree/no_reset) TINY | reset | 0.1039 | [tapas-tiny-finetuned-wtq](https://huggingface.co/google/tapas-tiny-finetuned-wtq/tree/main) ## Model description TAPAS is a BERT-like transformers model pretrained on a large corpus of English data from Wikipedia in a self-supervised fashion. This means it was pretrained on the raw tables and associated texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an automatic process to generate inputs and labels from those texts. More precisely, it was pretrained with two objectives: - Masked language modeling (MLM): taking a (flattened) table and associated context, the model randomly masks 15% of the words in the input, then runs the entire (partially masked) sequence through the model. The model then has to predict the masked words. This is different from traditional recurrent neural networks (RNNs) that usually see the words one after the other, or from autoregressive models like GPT which internally mask the future tokens. It allows the model to learn a bidirectional representation of a table and associated text. - Intermediate pre-training: to encourage numerical reasoning on tables, the authors additionally pre-trained the model by creating a balanced dataset of millions of syntactically created training examples. Here, the model must predict (classify) whether a sentence is supported or refuted by the contents of a table. The training examples are created based on synthetic as well as counterfactual statements. This way, the model learns an inner representation of the English language used in tables and associated texts, which can then be used to extract features useful for downstream tasks such as answering questions about a table, or determining whether a sentence is entailed or refuted by the contents of a table. Fine-tuning is done by adding a cell selection head and aggregation head on top of the pre-trained model, and then jointly train these randomly initialized classification heads with the base model on SQa, WikiSQL and finally WTQ. ## Intended uses & limitations You can use this model for answering questions related to a table. For code examples, we refer to the documentation of TAPAS on the HuggingFace website. ## Training procedure ### Preprocessing The texts are lowercased and tokenized using WordPiece and a vocabulary size of 30,000. The inputs of the model are then of the form: ``` [CLS] Question [SEP] Flattened table [SEP] ``` The authors did first convert the WTQ dataset into the format of SQA using automatic conversion scripts. ### Fine-tuning The model was fine-tuned on 32 Cloud TPU v3 cores for 50,000 steps with maximum sequence length 512 and batch size of 512. In this setup, fine-tuning takes around 10 hours. The optimizer used is Adam with a learning rate of 1.93581e-5, and a warmup ratio of 0.128960. An inductive bias is added such that the model only selects cells of the same column. This is reflected by the `select_one_column` parameter of `TapasConfig`. See the [paper](https://arxiv.org/abs/2004.02349) for more details (tables 11 and 12). ### BibTeX entry and citation info ```bibtex @misc{herzig2020tapas, title={TAPAS: Weakly Supervised Table Parsing via Pre-training}, author={Jonathan Herzig and Paweł Krzysztof Nowak and Thomas Müller and Francesco Piccinno and Julian Martin Eisenschlos}, year={2020}, eprint={2004.02349}, archivePrefix={arXiv}, primaryClass={cs.IR} } ``` ```bibtex @misc{eisenschlos2020understanding, title={Understanding tables with intermediate pre-training}, author={Julian Martin Eisenschlos and Syrine Krichene and Thomas Müller}, year={2020}, eprint={2010.00571}, archivePrefix={arXiv}, primaryClass={cs.CL} } ``` ```bibtex @article{DBLP:journals/corr/PasupatL15, author = {Panupong Pasupat and Percy Liang}, title = {Compositional Semantic Parsing on Semi-Structured Tables}, journal = {CoRR}, volume = {abs/1508.00305}, year = {2015}, url = {http://arxiv.org/abs/1508.00305}, archivePrefix = {arXiv}, eprint = {1508.00305}, timestamp = {Mon, 13 Aug 2018 16:47:37 +0200}, biburl = {https://dblp.org/rec/journals/corr/PasupatL15.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ```
[ -0.6232404708862305, -0.7098858952522278, 0.21605195105075836, 0.30221027135849, -0.4343864619731903, -0.11672351509332657, -0.03686070442199707, -0.5176085829734802, 0.6338658332824707, 0.36160361766815186, -0.5520479083061218, -0.4114019572734833, -0.4546186625957489, -0.00010486284008948132, -0.24313543736934662, 1.1756083965301514, 0.038057927042245865, 0.0247139073908329, -0.10723663121461868, -0.27032145857810974, -0.3581013083457947, -0.42189303040504456, -0.20855063199996948, -0.2637706696987152, 0.469753623008728, 0.4647217392921448, 0.7590263485908508, 0.6354382634162903, 0.20551161468029022, 0.27367374300956726, -0.28480273485183716, 0.12110067158937454, -0.5494077205657959, -0.16480989754199982, 0.007267501205205917, -0.5574597120285034, -0.4068147540092468, 0.24041417241096497, 0.33536019921302795, 0.7337052226066589, 0.0445694737136364, 0.44059717655181885, 0.1693052351474762, 0.6822982430458069, -0.500839114189148, 0.11070357263088226, -0.8571628928184509, 0.20480385422706604, -0.2424180507659912, -0.0977286621928215, -0.3498421013355255, -0.5899642109870911, 0.3769250214099884, -0.5062273144721985, 0.20357677340507507, -0.015615236945450306, 1.4107801914215088, 0.09785588085651398, -0.2411040961742401, -0.008244913071393967, -0.5064026713371277, 0.5043055415153503, -0.7102569341659546, 0.33768585324287415, 0.5382168292999268, 0.1332467645406723, -0.25080716609954834, -0.8531791567802429, -0.6436907052993774, -0.18958544731140137, -0.2563379108905792, 0.03740813210606575, -0.09474119544029236, -0.1661357879638672, 0.36655744910240173, 0.5952303409576416, -0.5110503435134888, -0.004226259421557188, -0.49780935049057007, -0.18648497760295868, 0.5043635964393616, -0.06902889907360077, 0.2879713177680969, -0.14336256682872772, -0.42843955755233765, -0.11376757174730301, -0.8345259428024292, 0.40374916791915894, 0.13340723514556885, 0.33339840173721313, -0.433582067489624, 0.6169072985649109, -0.08443460613489151, 0.7826595306396484, 0.23364396393299103, -0.24757811427116394, 0.592395544052124, -0.3773926794528961, -0.36046215891838074, -0.2551690936088562, 0.8846239447593689, 0.11289885640144348, 0.29972997307777405, -0.08456044644117355, -0.13508857786655426, -0.037058502435684204, 0.16847661137580872, -0.7895900011062622, -0.4514075517654419, 0.19068178534507751, -0.47967591881752014, -0.30652114748954773, 0.03593205288052559, -0.6073630452156067, -0.1621537059545517, -0.30712437629699707, 0.5127790570259094, -0.34411853551864624, -0.22445569932460785, -0.24389289319515228, -0.06654129922389984, 0.48038560152053833, 0.1407211571931839, -0.6758939027786255, 0.30776944756507874, 0.3308916389942169, 0.7181114554405212, 0.0010083121014758945, -0.29925820231437683, -0.14715099334716797, -0.0818135216832161, -0.4666406810283661, 0.5000223517417908, -0.31931304931640625, -0.28268277645111084, -0.17240075767040253, 0.269963800907135, -0.09191438555717468, -0.5154621601104736, 0.6037320494651794, -0.4216136038303375, 0.3145579695701599, -0.6192600131034851, -0.40899887681007385, -0.2077074497938156, 0.23995263874530792, -0.6865069270133972, 1.2130038738250732, 0.1564372479915619, -0.7909295558929443, 0.537522554397583, -0.537429690361023, -0.3310454487800598, -0.16821642220020294, 0.048776738345623016, -0.7372850179672241, -0.10209241509437561, 0.23202857375144958, 0.49049633741378784, -0.12686613202095032, 0.253801167011261, -0.4420970678329468, -0.11208706349134445, 0.1632661521434784, 0.04147325083613396, 0.9401737451553345, 0.28069788217544556, -0.42227408289909363, 0.15237382054328918, -0.7310183644294739, 0.11255019158124924, 0.3856048285961151, -0.1726098507642746, -0.2098981887102127, -0.2365405559539795, -0.03280126675963402, 0.4360086917877197, 0.2358165979385376, -0.5171631574630737, 0.2525128424167633, -0.4257940649986267, 0.5766705274581909, 0.44314292073249817, 0.03711600601673126, 0.30228322744369507, -0.22302530705928802, 0.26664337515830994, 0.19220398366451263, 0.2712758481502533, -0.12989768385887146, -0.7751304507255554, -0.7942994832992554, -0.20236383378505707, 0.5403953194618225, 0.5395430326461792, -0.5377630591392517, 0.704468846321106, -0.2324778437614441, -0.7011080384254456, -0.5615644454956055, 0.1514492779970169, 0.5944982171058655, 0.7333312630653381, 0.4703269600868225, -0.2861894965171814, -0.64433753490448, -1.1167888641357422, 0.07192812114953995, 0.0500108040869236, 0.05980861932039261, 0.36991050839424133, 0.5628277659416199, -0.028770413249731064, 1.159448266029358, -0.5720852017402649, -0.18665814399719238, -0.1525624692440033, 0.08997534215450287, 0.361017644405365, 0.6597980260848999, 0.7498759031295776, -0.7988452911376953, -0.7539377212524414, -0.11427121609449387, -0.4329245686531067, -0.05554637685418129, 0.16554760932922363, -0.22086790204048157, 0.10075012594461441, 0.19639192521572113, -0.8776456713676453, 0.47013726830482483, 0.332332581281662, -0.47005969285964966, 0.5278034210205078, -0.0584225058555603, -0.025632642209529877, -1.3186910152435303, 0.29942694306373596, 0.05032646283507347, -0.2285393476486206, -0.5817815065383911, -0.04985973611474037, 0.16092850267887115, -0.17754188179969788, -0.43988651037216187, 0.3872036039829254, -0.6761016845703125, -0.19276167452335358, -0.02180127240717411, 0.06643218547105789, 0.10689055174589157, 0.8023238182067871, -0.1482679545879364, 0.9032504558563232, 0.3746536672115326, -0.6031598448753357, 0.019070975482463837, 0.4123014211654663, -0.20010064542293549, 0.33402740955352783, -0.7927651405334473, -0.06830872595310211, 0.04913086071610451, 0.2594738304615021, -1.0376025438308716, -0.07510556280612946, 0.27902883291244507, -0.5665082931518555, 0.5131512880325317, -0.11462454497814178, -0.21433711051940918, -0.6423832178115845, -0.6287975311279297, 0.146902933716774, 0.5024287104606628, -0.6528359651565552, 0.3609478771686554, 0.6226951479911804, 0.0019545836839824915, -0.7066590785980225, -0.6461141705513, -0.07836663722991943, -0.16021263599395752, -0.5664795637130737, 0.664516806602478, 0.09587167948484421, 0.12436812371015549, 0.09468582272529602, -0.10366178303956985, -0.0313018336892128, -0.11169396340847015, 0.28371983766555786, 0.22582370042800903, -0.20447035133838654, -0.019161993637681007, -0.06219727545976639, 0.11872275918722153, -0.11675401031970978, -0.09232359379529953, 0.7446362972259521, -0.3658154308795929, 0.0003181990177836269, -0.6487616300582886, 0.041586898267269135, 0.576167643070221, -0.3668389916419983, 0.7994682192802429, 0.6237325072288513, -0.48133593797683716, 0.02829166129231453, -0.6842131614685059, -0.1326374113559723, -0.42728719115257263, 0.16923268139362335, -0.609684407711029, -0.7739144563674927, 0.8573116064071655, 0.2603798806667328, 0.08961066603660583, 0.8618307709693909, 0.5555152297019958, -0.2041538804769516, 0.7572544813156128, 0.5376957654953003, -0.31325265765190125, 0.45305290818214417, -0.5665376782417297, 0.04081886261701584, -0.723595917224884, -0.5737097263336182, -0.7821795344352722, -0.39905762672424316, -0.7794424891471863, -0.37474334239959717, 0.17625026404857635, 0.23649853467941284, -0.4274694621562958, 0.5364164113998413, -0.609115719795227, 0.38155314326286316, 0.8324745893478394, 0.21959324181079865, -0.008055567741394043, -0.09426632523536682, -0.249052032828331, -0.0010768420761451125, -0.5099318027496338, -0.41791918873786926, 1.012704610824585, 0.5481520295143127, 0.5138285160064697, -0.14223548769950867, 0.5074777603149414, 0.17121706902980804, 0.2947557866573334, -0.6677795052528381, 0.3988625705242157, 0.015089874155819416, -0.6468589305877686, -0.27338048815727234, -0.2725740373134613, -1.0134174823760986, 0.3126097619533539, -0.35276272892951965, -0.7667070627212524, 0.28873804211616516, 0.25854769349098206, -0.26430970430374146, 0.37781915068626404, -1.058603286743164, 1.0766385793685913, -0.12751752138137817, -0.24877163767814636, 0.22013576328754425, -0.8266388773918152, 0.45466431975364685, 0.1981183886528015, -0.12033438682556152, -0.11999191343784332, -0.011216268874704838, 0.8681110739707947, -0.806518018245697, 0.8565512895584106, -0.4795406460762024, 0.1047610193490982, 0.4869409203529358, -0.08932419866323471, 0.6032760739326477, -0.06847245246171951, 0.31637465953826904, 0.04500187188386917, 0.23783211410045624, -0.5050525665283203, -0.2691526710987091, 0.7127248048782349, -0.8907684683799744, -0.39206889271736145, -0.35936224460601807, -0.32257264852523804, -0.5489203929901123, 0.30494362115859985, 0.39612558484077454, 0.17284074425697327, -0.1567763239145279, 0.37946537137031555, 0.767772376537323, -0.22544187307357788, 0.43747055530548096, 0.2078600972890854, -0.13952666521072388, -0.34814921021461487, 0.794108510017395, 0.17760992050170898, -0.10978270322084427, 0.38782739639282227, 0.2999618947505951, -0.4121103286743164, -0.6088685393333435, -0.4248540699481964, 0.28692907094955444, -0.2144864797592163, -0.5151476860046387, -0.7204269170761108, -0.32044681906700134, -0.3602328896522522, 0.13020965456962585, -0.4612993001937866, -0.5923207998275757, -0.4922632873058319, -0.30386653542518616, 0.5578325986862183, 0.5810225009918213, 0.16420145332813263, 0.3321920931339264, -0.7031875252723694, 0.36406704783439636, 0.35366377234458923, 0.5927309393882751, -0.01849578507244587, -0.5847088694572449, -0.015257593244314194, 0.059694819152355194, -0.40086981654167175, -1.185117483139038, 0.3806295096874237, 0.28633052110671997, 0.5951930284500122, 0.463794082403183, -0.08434142172336578, 0.7454363703727722, -0.42574355006217957, 0.7814202308654785, 0.23652325570583344, -0.8529989719390869, 0.6357065439224243, -0.2521638870239258, 0.1386197954416275, 0.8080675005912781, 0.568776547908783, -0.28164154291152954, -0.14866410195827484, -0.6217774152755737, -0.8305411338806152, 0.7156896591186523, 0.08731253445148468, 0.1832554191350937, 0.23715627193450928, 0.30502960085868835, 0.20957161486148834, 0.11760179698467255, -1.017617106437683, -0.3857707679271698, -0.28581783175468445, -0.08562243729829788, 0.057559266686439514, -0.5236992239952087, -0.0936596617102623, -0.7340418100357056, 0.8099328279495239, 0.08902624249458313, 0.23507891595363617, 0.13094918429851532, -0.11383284628391266, 0.039272356778383255, 0.05695825442671776, 0.6731548309326172, 0.7357752919197083, -0.42378541827201843, -0.1956876516342163, 0.10747732222080231, -0.6685815453529358, -0.18044745922088623, 0.2508244216442108, -0.32300040125846863, 0.10809427499771118, 0.11723323166370392, 0.9951223134994507, 0.25128427147865295, -0.41888511180877686, 0.6076492667198181, 0.10378235578536987, -0.2912391722202301, -0.20398691296577454, -0.18646186590194702, 0.2593621611595154, 0.016367139294743538, 0.46460941433906555, -0.15633060038089752, 0.09992194175720215, -0.49999916553497314, 0.3620931804180145, 0.5462414622306824, -0.2707756459712982, -0.41226986050605774, 0.5057089328765869, 0.12512266635894775, -0.1530294120311737, 0.355682373046875, -0.21956738829612732, -0.5528843402862549, 0.5624770522117615, 0.5446161031723022, 0.7407116889953613, -0.3258216679096222, 0.29097980260849, 0.5579462647438049, 0.4283323585987091, 0.2606464624404907, 0.5017685890197754, -0.09347420185804367, -0.6082971692085266, -0.12477390468120575, -0.75771164894104, -0.2535814046859741, 0.5130289793014526, -0.6603409051895142, 0.22447441518306732, -0.47423791885375977, -0.2764825224876404, 0.1571354866027832, 0.22005809843540192, -0.7143523693084717, 0.23702195286750793, -0.07341177016496658, 1.1345961093902588, -1.025010585784912, 0.8579443693161011, 0.6673212051391602, -0.587860107421875, -1.080317497253418, -0.22345490753650665, -0.27652427554130554, -0.8379822969436646, 0.23274362087249756, 0.11242125928401947, 0.2587732970714569, -0.3115795850753784, -0.6939003467559814, -1.0174270868301392, 1.05038583278656, 0.19858670234680176, -0.328043133020401, -0.025708623230457306, 0.12076134234666824, 0.6247299909591675, -0.2161881923675537, 0.17838793992996216, 0.675506591796875, 0.25314977765083313, 0.26549920439720154, -1.0616073608398438, 0.17410549521446228, -0.36586320400238037, 0.1379190981388092, 0.16316716372966766, -0.6228339672088623, 0.8259419798851013, -0.0179229024797678, 0.03179881349205971, -0.10773886740207672, 0.6686336398124695, 0.20076894760131836, 0.1524149775505066, 0.3660150170326233, 0.9400591254234314, 0.7215819954872131, -0.2937453091144562, 0.8692242503166199, -0.2254747748374939, 0.37307208776474, 1.152405858039856, 0.09637544304132462, 0.8951482772827148, 0.6404253840446472, -0.6004834771156311, 0.37303778529167175, 1.018856406211853, -0.07667095214128494, 0.5504590272903442, 0.15265963971614838, 0.20071011781692505, 0.2193266600370407, 0.007120100315660238, -0.7978693842887878, 0.5148723125457764, 0.403317928314209, -0.5842759609222412, -0.13068659603595734, -0.03424954041838646, 0.19861096143722534, -0.05575546994805336, -0.36437147855758667, 0.6954692006111145, 0.06451491266489029, -0.6179443001747131, 0.7936787009239197, -0.023250572383403778, 0.7634730935096741, -0.47806355357170105, 0.13852402567863464, -0.35997745394706726, -0.10971473157405853, -0.3116905391216278, -0.743420422077179, 0.2704296112060547, -0.025278860703110695, -0.1384282410144806, -0.016080114990472794, 0.6648044586181641, -0.41416484117507935, -0.3805527091026306, 0.03609742224216461, 0.6103881001472473, 0.13237017393112183, 0.06349261850118637, -0.8691374063491821, 0.021227780729532242, 0.025540491566061974, -0.5754263401031494, 0.24252258241176605, 0.3317110538482666, -0.006047575268894434, 0.541496753692627, 0.5945220589637756, -0.08844978362321854, 0.2562875747680664, -0.07871899008750916, 1.0945916175842285, -0.6060633063316345, -0.6948549747467041, -0.6518404483795166, 0.45224133133888245, -0.21598857641220093, -0.5713317394256592, 0.6146956086158752, 0.7108350992202759, 0.9032806158065796, -0.31786853075027466, 0.35093310475349426, -0.24237602949142456, 0.6630470752716064, -0.4024961292743683, 0.7825676798820496, -0.5818671584129333, -0.11382368206977844, -0.4310208559036255, -1.0424882173538208, -0.15721772611141205, 0.4745778441429138, -0.2584954500198364, 0.18876656889915466, 0.41206052899360657, 0.6428726315498352, -0.15435390174388885, 0.005969319026917219, 0.04234454035758972, 0.33063653111457825, 0.046533748507499695, 0.3848552405834198, 0.49604296684265137, -0.3957974910736084, 0.47118908166885376, -0.5999153256416321, -0.250937283039093, -0.20869451761245728, -0.7315515875816345, -0.7906947731971741, -0.8237056732177734, -0.1593315750360489, -0.34751787781715393, -0.18954458832740784, 0.9164847731590271, 0.8853525519371033, -1.1123203039169312, -0.1590382307767868, 0.09256350249052048, 0.0518985390663147, -0.0031157650519162416, -0.2871461510658264, 0.5891094207763672, -0.19665618240833282, -0.5678868889808655, 0.16845358908176422, 0.07980342209339142, 0.21500153839588165, -0.10649912059307098, 0.008624613285064697, -0.505608856678009, -0.12995369732379913, 0.6925147771835327, 0.6869412064552307, -0.6848309636116028, -0.08074253797531128, -0.05173178389668465, -0.20411449670791626, 0.26567739248275757, 0.5736823678016663, -0.6929447650909424, 0.22188082337379456, 0.4624375104904175, 0.7663171887397766, 0.9034060835838318, 0.06984496116638184, 0.24937275052070618, -0.7782396078109741, 0.3105488121509552, 0.3715731203556061, 0.48385336995124817, 0.21930816769599915, -0.30828312039375305, 0.5286564230918884, 0.28559568524360657, -0.2828066051006317, -0.9562214016914368, -0.054387882351875305, -1.2393383979797363, -0.15189111232757568, 0.7957767844200134, -0.1105090081691742, -0.38682958483695984, 0.07233516126871109, -0.25277507305145264, 0.3171994984149933, -0.25045058131217957, 0.6739279627799988, 0.5703849792480469, -0.14876514673233032, -0.15834663808345795, -0.3476810157299042, 0.7892605066299438, 0.4288731515407562, -0.8371765613555908, -0.2803061306476593, 0.38397830724716187, 0.4280555248260498, 0.29664483666419983, 0.7121418118476868, -0.3441928029060364, 0.15514734387397766, -0.15702016651630402, 0.09523911029100418, -0.148968905210495, -0.23168207705020905, -0.19038279354572296, 0.18807800114154816, 0.02197970263659954, -0.5769029855728149 ]
facebook/convnext-tiny-224
facebook
2023-06-13T19:40:31Z
14,226
11
transformers
[ "transformers", "pytorch", "tf", "convnext", "image-classification", "vision", "dataset:imagenet-1k", "arxiv:2201.03545", "license:apache-2.0", "autotrain_compatible", "endpoints_compatible", "has_space", "region:us" ]
image-classification
2022-03-02T23:29:05Z
--- license: apache-2.0 tags: - vision - image-classification datasets: - imagenet-1k widget: - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg example_title: Tiger - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg example_title: Teapot - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg example_title: Palace --- # ConvNeXT (tiny-sized model) ConvNeXT model trained on ImageNet-1k at resolution 224x224. It was introduced in the paper [A ConvNet for the 2020s](https://arxiv.org/abs/2201.03545) by Liu et al. and first released in [this repository](https://github.com/facebookresearch/ConvNeXt). Disclaimer: The team releasing ConvNeXT did not write a model card for this model so this model card has been written by the Hugging Face team. ## Model description ConvNeXT is a pure convolutional model (ConvNet), inspired by the design of Vision Transformers, that claims to outperform them. The authors started from a ResNet and "modernized" its design by taking the Swin Transformer as inspiration. ![model image](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/convnext_architecture.png) ## Intended uses & limitations You can use the raw model for image classification. See the [model hub](https://huggingface.co/models?search=convnext) to look for fine-tuned versions on a task that interests you. ### How to use Here is how to use this model to classify an image of the COCO 2017 dataset into one of the 1,000 ImageNet classes: ```python from transformers import ConvNextImageProcessor, ConvNextForImageClassification import torch from datasets import load_dataset dataset = load_dataset("huggingface/cats-image") image = dataset["test"]["image"][0] processor = ConvNextImageProcessor.from_pretrained("facebook/convnext-tiny-224") model = ConvNextForImageClassification.from_pretrained("facebook/convnext-tiny-224") inputs = processor(image, return_tensors="pt") with torch.no_grad(): logits = model(**inputs).logits # model predicts one of the 1000 ImageNet classes predicted_label = logits.argmax(-1).item() print(model.config.id2label[predicted_label]), ``` For more code examples, we refer to the [documentation](https://huggingface.co/docs/transformers/master/en/model_doc/convnext). ### BibTeX entry and citation info ```bibtex @article{DBLP:journals/corr/abs-2201-03545, 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 = {CoRR}, volume = {abs/2201.03545}, year = {2022}, url = {https://arxiv.org/abs/2201.03545}, eprinttype = {arXiv}, eprint = {2201.03545}, timestamp = {Thu, 20 Jan 2022 14:21:35 +0100}, biburl = {https://dblp.org/rec/journals/corr/abs-2201-03545.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ```
[ -0.6835451126098633, -0.4756914973258972, -0.15260495245456696, 0.07890498638153076, -0.30900242924690247, -0.32122349739074707, -0.1081063374876976, -0.7587260007858276, 0.4266951084136963, 0.3866901099681854, -0.6140564680099487, -0.2230037897825241, -0.45893213152885437, -0.029103334993124008, -0.32032331824302673, 0.9097422361373901, 0.14899425208568573, 0.0508292019367218, -0.30724984407424927, -0.1939256489276886, -0.29636555910110474, -0.3425627052783966, -0.9049786925315857, -0.36175450682640076, 0.38101404905319214, 0.40353652834892273, 0.6364291906356812, 0.5002977848052979, 0.753883421421051, 0.33728545904159546, -0.10321067273616791, 0.04294108599424362, -0.32798242568969727, -0.4195050299167633, 0.165180042386055, -0.29179713129997253, -0.40604737401008606, 0.1769358366727829, 0.3722631335258484, 0.5285112857818604, 0.21898138523101807, 0.3471693694591522, 0.1895822286605835, 0.4551032781600952, -0.24186284840106964, 0.13514591753482819, -0.4558682143688202, 0.06730988621711731, -0.02862943895161152, 0.12383943051099777, -0.47759631276130676, -0.2527582347393036, 0.35687026381492615, -0.5555727481842041, 0.5685670971870422, 0.2618320882320404, 1.1906229257583618, 0.12213888764381409, -0.3202785849571228, 0.10517009347677231, -0.339653879404068, 0.65211021900177, -0.5536870360374451, 0.32728078961372375, -0.051244575530290604, 0.3282614052295685, -0.05578901991248131, -1.0678160190582275, -0.6367870569229126, -0.23860254883766174, -0.32192209362983704, 0.07876275479793549, -0.3661758303642273, 0.14306555688381195, 0.385648250579834, 0.39502352476119995, -0.7426510453224182, 0.11558832973241806, -0.5852744579315186, -0.24370168149471283, 0.7523427605628967, -0.030631130561232567, 0.30385762453079224, -0.35438522696495056, -0.8374481797218323, -0.305402934551239, -0.4235784709453583, 0.2378152310848236, 0.09540099650621414, 0.18745774030685425, -0.5970888733863831, 0.605216920375824, 0.007653331384062767, 0.5632749199867249, 0.28500035405158997, 0.233492910861969, 0.23650522530078888, -0.2723086178302765, -0.4525398015975952, 0.06492482125759125, 1.1076219081878662, 0.5047873854637146, 0.2857132852077484, 0.1431027501821518, 0.05477864667773247, 0.06343510746955872, 0.03718103840947151, -1.0742636919021606, -0.5441282987594604, 0.16204866766929626, -0.6019896864891052, -0.4023284614086151, 0.14894604682922363, -0.5626814961433411, -0.14806713163852692, -0.29017195105552673, 0.40761128067970276, -0.2725398540496826, -0.34640681743621826, -0.10147320479154587, -0.14857065677642822, 0.22394537925720215, 0.3211684823036194, -0.5486558675765991, 0.3172375559806824, 0.4371531903743744, 0.9606344103813171, -0.1905745416879654, 0.023692596703767776, -0.11665526032447815, -0.4711928367614746, -0.3060440123081207, 0.613781750202179, -0.15548232197761536, -0.09046177566051483, -0.25404202938079834, 0.48578473925590515, -0.05461980774998665, -0.4283512532711029, 0.46007731556892395, -0.45663776993751526, -0.007023980375379324, -0.14905279874801636, -0.40474429726600647, -0.3022235333919525, 0.35728564858436584, -0.8199648261070251, 0.9586180448532104, 0.26505404710769653, -1.015401005744934, 0.23271428048610687, -0.48953327536582947, 0.1232994794845581, 0.05690687894821167, 0.06916718930006027, -0.7205755710601807, -0.15650174021720886, -0.035513050854206085, 0.6874420046806335, -0.2383802831172943, 0.27649760246276855, -0.6184363961219788, -0.2880133092403412, 0.1454811841249466, -0.32475996017456055, 1.1967747211456299, 0.13534234464168549, -0.1435445249080658, 0.0865180715918541, -0.7107595801353455, 0.005779867060482502, 0.24413760006427765, 0.05820276960730553, -0.2553163468837738, -0.5916621088981628, 0.33854421973228455, 0.4805554151535034, 0.274528831243515, -0.7677317261695862, 0.4530642628669739, -0.30033937096595764, 0.32505878806114197, 0.5661047101020813, 0.13448506593704224, 0.4310499429702759, -0.306747704744339, 0.4196116030216217, 0.09393614530563354, 0.523137092590332, 0.03915596380829811, -0.6043022871017456, -0.8431481122970581, -0.17741647362709045, 0.14488036930561066, 0.3598669171333313, -0.8902491331100464, 0.1683337688446045, -0.29606953263282776, -0.9070877432823181, -0.3248581290245056, -0.150626078248024, 0.3836163878440857, 0.4659947156906128, 0.46916088461875916, -0.4022442102432251, -0.8351446986198425, -1.016615390777588, 0.053811658173799515, 0.044518280774354935, 0.11155300587415695, 0.29926976561546326, 0.7178165316581726, -0.22299829125404358, 0.80374675989151, -0.2961084246635437, -0.1522994041442871, -0.06608384102582932, -0.0013212986523285508, 0.4653737246990204, 0.8495349287986755, 0.6250320076942444, -1.0988414287567139, -0.671200156211853, 0.004850597120821476, -0.7685992121696472, 0.37510037422180176, -0.0599881187081337, -0.20642775297164917, 0.22961962223052979, 0.44737744331359863, -0.650961697101593, 0.6265811324119568, 0.6509583592414856, -0.43171781301498413, 0.7744345664978027, 0.06086503341794014, -0.12350745499134064, -1.0689586400985718, 0.2026732861995697, 0.321871817111969, -0.27031245827674866, -0.4859521985054016, -0.05971755459904671, 0.057194530963897705, -0.14994733035564423, -0.8155025839805603, 0.873491108417511, -0.455699622631073, 0.1415327936410904, -0.11311709135770798, -0.1516645848751068, 0.03458641469478607, 0.7213341593742371, 0.13427895307540894, 0.2113826721906662, 0.5045128464698792, -0.5562993884086609, 0.7186312079429626, 0.44159916043281555, -0.36623239517211914, 0.4586280584335327, -0.8125528693199158, 0.04857717826962471, 0.1452207863330841, 0.46902400255203247, -0.9007014036178589, -0.17375554144382477, 0.3572758138179779, -0.498046875, 0.552992045879364, -0.30033379793167114, -0.3227764666080475, -0.7407073378562927, -0.2711016833782196, 0.532397985458374, 0.31221890449523926, -0.6584188938140869, 0.26175549626350403, 0.1503707319498062, 0.27422958612442017, -0.6365301609039307, -0.8758667707443237, -0.19941894710063934, -0.010767261497676373, -0.8152550458908081, 0.3650834858417511, -0.25803789496421814, 0.026977065950632095, 0.2749635577201843, -0.12664522230625153, 0.05785835534334183, -0.16460882127285004, 0.3095998764038086, 0.5913078784942627, -0.21488730609416962, -0.06196508929133415, -0.2009957730770111, -0.23620331287384033, 0.01241211500018835, -0.3451661169528961, 0.4419723153114319, -0.3773457109928131, -0.0586206316947937, -0.6284163594245911, 0.08539529144763947, 0.4315035045146942, 0.04395906254649162, 0.734289288520813, 0.843541145324707, -0.47087594866752625, -0.10148654878139496, -0.32395675778388977, -0.38597989082336426, -0.4814684987068176, 0.20420800149440765, -0.2524920105934143, -0.7224487066268921, 0.592684268951416, 0.0939796194434166, 0.06124153733253479, 0.732757568359375, 0.36737170815467834, -0.08504948765039444, 0.7376889586448669, 0.6607891321182251, 0.3755415380001068, 0.7071257829666138, -1.0001024007797241, -0.046955253928899765, -1.0458173751831055, -0.450416624546051, -0.31808701157569885, -0.589137077331543, -1.0444905757904053, -0.38896164298057556, 0.3521101772785187, -0.02254720777273178, -0.6434972286224365, 0.7794939279556274, -0.9287479519844055, 0.08884543180465698, 0.6578946113586426, 0.39699825644493103, -0.05535227060317993, -0.07490142434835434, -0.14464235305786133, 0.02392525039613247, -0.8409842848777771, -0.12147175520658493, 0.8544290661811829, 0.3280008137226105, 0.6240015625953674, -0.17606623470783234, 0.46354618668556213, 0.017015742138028145, 0.49023792147636414, -0.7181996703147888, 0.4999251067638397, -0.36293718218803406, -0.9080921411514282, -0.05663013458251953, -0.2881443500518799, -1.0208097696304321, 0.11651568114757538, -0.3748845160007477, -0.8694433569908142, 0.789345383644104, 0.23303785920143127, -0.18609629571437836, 0.4649646282196045, -0.7198383212089539, 1.1183643341064453, -0.12113482505083084, -0.5128114819526672, 0.2703029215335846, -0.8255619406700134, 0.4935721158981323, 0.14562182128429413, -0.1331329047679901, -0.03258245810866356, 0.23260149359703064, 0.7894408702850342, -0.6024114489555359, 0.9574878811836243, -0.24802850186824799, 0.3882966935634613, 0.6121475696563721, 0.047066669911146164, 0.6308111548423767, -0.019341498613357544, -0.07833025604486465, 0.5122838020324707, 0.28888118267059326, -0.4351789355278015, -0.5013245940208435, 0.6820456385612488, -0.7680343389511108, -0.28773027658462524, -0.48019763827323914, -0.36867356300354004, 0.1235903799533844, 0.2292211949825287, 0.8225691914558411, 0.6449303030967712, -0.14407236874103546, 0.5595823526382446, 0.6199246644973755, -0.3046918213367462, 0.5059449672698975, -0.044835757464170456, -0.19391949474811554, -0.2583461403846741, 0.8526878952980042, 0.32831284403800964, 0.36543020606040955, 0.4241889417171478, 0.293110191822052, -0.3167794346809387, -0.09578421711921692, -0.29850998520851135, 0.30289357900619507, -0.5447216033935547, -0.5537638068199158, -0.681137204170227, -0.48091715574264526, -0.38427993655204773, -0.3096431493759155, -0.5679519176483154, -0.4048449397087097, -0.40648412704467773, 0.11664201319217682, 0.47354888916015625, 0.39427638053894043, -0.13893525302410126, 0.3865632116794586, -0.45926228165626526, 0.17154794931411743, 0.1548805981874466, 0.39661240577697754, 0.06926427036523819, -0.5601402521133423, -0.3053920567035675, 0.14323441684246063, -0.5198612213134766, -0.5217400789260864, 0.5406623482704163, 0.15016919374465942, 0.3693878650665283, 0.39792951941490173, 0.19238527119159698, 0.5229899287223816, -0.09694943577051163, 0.6999544501304626, 0.6571555733680725, -0.6190817952156067, 0.42564356327056885, -0.24262873828411102, 0.11475218832492828, 0.16927078366279602, 0.3984355628490448, -0.5631421804428101, -0.12363694608211517, -1.2508219480514526, -0.7751100659370422, 0.6582415103912354, 0.08920446783304214, 0.07854678481817245, 0.20781448483467102, 0.3840368986129761, 0.06426846235990524, 0.05258965864777565, -0.8380652070045471, -0.5162249207496643, -0.33855554461479187, -0.23550818860530853, -0.07050704956054688, -0.1589943915605545, 0.0708882287144661, -0.5523029565811157, 0.727228581905365, -0.23029449582099915, 0.6871017813682556, 0.32097184658050537, 0.19273805618286133, -0.03331286087632179, -0.32763537764549255, 0.3080148696899414, 0.12669718265533447, -0.3326212465763092, 0.03337113931775093, 0.04295794293284416, -0.569263219833374, -0.04427745193243027, 0.14683663845062256, -0.16768778860569, 0.15612292289733887, 0.4135553240776062, 0.8602692484855652, 0.24499410390853882, -0.09722241014242172, 0.7309632301330566, -0.1667005717754364, -0.2512972056865692, -0.6095996499061584, 0.06843743473291397, -0.01721864752471447, 0.3630741834640503, 0.10971671342849731, 0.6122867465019226, 0.13841059803962708, -0.3699283301830292, 0.31765246391296387, 0.417269229888916, -0.6702491044998169, -0.37347301840782166, 0.7691807150840759, 0.0024788971059024334, -0.0249641053378582, 0.7642786502838135, -0.20388157665729523, -0.3773209750652313, 1.0865727663040161, 0.4211094081401825, 0.8517060279846191, -0.007237706799060106, 0.16564957797527313, 0.8519973158836365, 0.3302609622478485, -0.11931878328323364, 0.08137812465429306, 0.21891966462135315, -0.7990735769271851, -0.13716402649879456, -0.5850878953933716, -0.19190995395183563, 0.25133004784584045, -0.6549946069717407, 0.6122557520866394, -0.4687623381614685, -0.18088163435459137, 0.14257469773292542, 0.5318918228149414, -1.1898157596588135, 0.45575687289237976, 0.11457252502441406, 1.2486644983291626, -0.8614391088485718, 0.8722656965255737, 0.6295352578163147, -0.5607189536094666, -1.104483723640442, -0.5039390921592712, 0.0019105661194771528, -0.6485152840614319, 0.5131413340568542, 0.3123680651187897, 0.33834585547447205, 0.13783575594425201, -1.2026714086532593, -0.8161724805831909, 1.2407704591751099, 0.3950216770172119, -0.5263858437538147, 0.16351982951164246, -0.35636138916015625, 0.4506280720233917, -0.3904126286506653, 0.3612425625324249, 0.17019027471542358, 0.4614817798137665, 0.30119049549102783, -0.6978194713592529, 0.22281643748283386, -0.4858788847923279, 0.07434966415166855, -0.006036233156919479, -0.9622659087181091, 0.9487829208374023, -0.30825039744377136, -0.10642751306295395, 0.1419827938079834, 0.7513746023178101, 0.18264222145080566, 0.46363672614097595, 0.4190431535243988, 0.4963473975658417, 0.5307260751724243, -0.39130187034606934, 1.270355463027954, 0.08694203943014145, 0.7045645713806152, 0.8523178696632385, 0.5200609564781189, 0.5982117056846619, 0.3482052981853485, -0.09911322593688965, 0.48907557129859924, 1.0503159761428833, -0.486228883266449, 0.3372560143470764, 0.06312651187181473, 0.07093126326799393, -0.21200531721115112, -0.24827790260314941, -0.38650211691856384, 0.4089249074459076, 0.24752488732337952, -0.34149399399757385, 0.12592090666294098, 0.25836291909217834, 0.07001921534538269, -0.35096636414527893, -0.3183159828186035, 0.4477345049381256, 0.3413918614387512, -0.4607255756855011, 0.7465549111366272, -0.301984965801239, 0.7813180685043335, -0.35874074697494507, -0.05325310304760933, -0.23096948862075806, 0.26653140783309937, -0.35069215297698975, -0.7398514151573181, 0.2755089998245239, -0.289930522441864, -0.11771377921104431, 0.022987939417362213, 0.7637302279472351, -0.4045277237892151, -0.66734778881073, 0.27700233459472656, 0.07772571593523026, 0.31077057123184204, 0.02797923982143402, -0.9904811978340149, 0.17252443730831146, -0.0635426789522171, -0.5475015044212341, 0.13163651525974274, 0.4196346700191498, -0.15996548533439636, 0.7250203490257263, 0.6485944390296936, -0.05173761397600174, 0.015364772640168667, -0.35750460624694824, 0.8637444376945496, -0.384067565202713, -0.2992103099822998, -0.5921202898025513, 0.6402032971382141, -0.14035272598266602, -0.4181407690048218, 0.5736764669418335, 0.6041287779808044, 1.0110654830932617, -0.154984250664711, 0.6856483817100525, -0.403043657541275, 0.1072787493467331, -0.17337225377559662, 0.6206101179122925, -0.8575587868690491, -0.1934143304824829, -0.3814845085144043, -0.7152547240257263, -0.35599377751350403, 0.47989940643310547, -0.22470614314079285, 0.24205346405506134, 0.6008747816085815, 0.7846534252166748, -0.26936155557632446, -0.021771879866719246, 0.25776317715644836, 0.2771395444869995, 0.22752347588539124, 0.44204336404800415, 0.3857992887496948, -0.8856990933418274, 0.4422442615032196, -0.7814266681671143, -0.153098464012146, -0.5722969174385071, -0.8348366618156433, -0.7110787034034729, -0.7945076823234558, -0.5029938817024231, -0.739113986492157, -0.3015410006046295, 0.9740404486656189, 1.0160943269729614, -0.8591188788414001, 0.0370517373085022, -0.15782509744167328, 0.08044903725385666, -0.5001018643379211, -0.260346382856369, 0.7152779698371887, 0.2250545769929886, -0.8722589015960693, -0.3227842450141907, -0.11045727133750916, 0.23571592569351196, -0.11224471777677536, -0.14731121063232422, -0.25605684518814087, -0.16532635688781738, 0.5061337947845459, 0.48535510897636414, -0.41741713881492615, -0.4083758592605591, 0.09555500000715256, -0.22701437771320343, 0.004358092788606882, 0.4301133453845978, -0.5145506858825684, 0.5654571056365967, 0.5719263553619385, 0.3247009515762329, 0.7669844627380371, -0.1430692970752716, 0.08548146486282349, -0.7971017956733704, 0.46310916543006897, 0.198943093419075, 0.41125911474227905, 0.39328616857528687, -0.497367799282074, 0.6610468626022339, 0.5270699262619019, -0.5900503993034363, -0.7307750582695007, 0.016887443140149117, -1.5770467519760132, -0.10454994440078735, 1.0412346124649048, -0.10783256590366364, -0.4925982654094696, 0.09768185019493103, -0.14148728549480438, 0.5499106645584106, -0.23417027294635773, 0.4115653932094574, 0.38429272174835205, -0.1387520730495453, -0.5241583585739136, -0.599741518497467, 0.4265286326408386, -0.2022545039653778, -0.47374868392944336, -0.30474039912223816, 0.09056024998426437, 0.302533358335495, 0.29911962151527405, 0.356380432844162, -0.09107421338558197, 0.3544144928455353, 0.22470705211162567, 0.5396115183830261, -0.21938356757164001, -0.14861246943473816, -0.08591781556606293, -0.055127862840890884, -0.3967101573944092, -0.3887414038181305 ]
Meina/MeinaMix_V11
Meina
2023-07-16T19:53:46Z
14,224
20
diffusers
[ "diffusers", "art", "anime", "stable diffusion", "text-to-image", "en", "license:creativeml-openrail-m", "endpoints_compatible", "has_space", "diffusers:StableDiffusionPipeline", "region:us" ]
text-to-image
2023-07-16T19:11:15Z
--- license: creativeml-openrail-m language: - en library_name: diffusers pipeline_tag: text-to-image tags: - art - anime - stable diffusion --- MeinaMix Objective is to be able to do good art with little prompting. For examples and prompts, please checkout: https://civitai.com/models/7240/meinamix I have a discord server where you can post images that you generated, discuss prompt and/or ask for help. https://discord.gg/XC9nGZNDUd If you like one of my models and want to support their updates I've made a ko-fi page; https://ko-fi.com/meina where you can pay me a coffee <3 And a Patreon page; https://www.patreon.com/MeinaMix where you can support me and get acess to beta of my models! You may also try this model using Sinkin.ai: https://sinkin.ai/m/vln8Nwr MeinaMix and the other of Meinas will ALWAYS be FREE. Recommendations of use: Enable Quantization in K samplers. Hires.fix is needed for prompts where the character is far away in order to make decent images, it drastically improve the quality of face and eyes! Recommended parameters: Sampler: Euler a: 40 to 60 steps. Sampler: DPM++ SDE Karras: 20 to 30 steps. Sampler: DPM++ 2M Karras: 20 to 40 steps. CFG Scale: 7. Resolutions: 512x768, 512x1024 for Portrait! Resolutions: 768x512, 1024x512, 1536x512 for Landscape! Hires.fix: R-ESRGAN 4x+Anime6b, with 10 steps at 0.3 up to 0.5 denoising. Clip Skip: 2. Negatives: ' (worst quality, low quality:1.4), (zombie, sketch, interlocked fingers, comic) '
[ -0.7960834503173828, -0.5354041457176208, 0.7307872176170349, 0.3687545359134674, -0.5332632660865784, -0.3272261619567871, 0.07442905008792877, -0.648523211479187, 0.41544607281684875, 0.42974698543548584, -0.6801131963729858, -0.6715415716171265, -0.4325939118862152, 0.20068855583667755, -0.08647609502077103, 0.8492584824562073, 0.07487259060144424, 0.2078394740819931, 0.05539010092616081, -0.011977330781519413, -0.8330564498901367, 0.11018189042806625, -1.2343878746032715, -0.022382138296961784, 0.8702389001846313, 0.8054664731025696, 0.7572998404502869, 0.42840442061424255, 0.31382015347480774, 0.32666149735450745, -0.07340062409639359, 0.04717772826552391, -0.5014517903327942, 0.2264285385608673, -0.11773546785116196, -0.5803034901618958, -0.6344523429870605, -0.015511522069573402, 0.23313893377780914, 0.35186630487442017, 0.06814911216497421, 0.05722628906369209, -0.30044877529144287, 0.7288498878479004, -0.65705806016922, -0.0595240518450737, 0.26060882210731506, -0.02548469975590706, -0.3629586696624756, 0.18962500989437103, -0.27544939517974854, -0.5825297832489014, -0.06887948513031006, -0.7159640789031982, 0.16062727570533752, -0.09345109015703201, 0.8839833736419678, 0.1868218183517456, -0.1771790236234665, -0.2788529098033905, -0.7005510926246643, 0.5717901587486267, -1.0385651588439941, 0.10415384918451309, 0.3472771942615509, 0.8685731291770935, -0.005044887308031321, -0.5189988017082214, -0.38954436779022217, -0.1920667439699173, 0.1436631977558136, 0.3124830722808838, -0.18848668038845062, -0.0025432028342038393, 0.6152451634407043, 0.4792683720588684, -0.667423665523529, 0.03618248179554939, -0.5317518711090088, -0.0470542386174202, 0.8311198353767395, 0.2244204729795456, 0.8080241680145264, -0.09573646634817123, -0.39319154620170593, -0.5092376470565796, -0.6937268972396851, 0.1682245135307312, 0.5681713819503784, -0.11604621261358261, -0.442977637052536, 0.5132951736450195, -0.29280874133110046, 0.3421659767627716, 0.20100440084934235, 0.11324895918369293, -0.05299176648259163, -0.12106700241565704, 0.28526508808135986, -0.02936975099146366, 0.6081277132034302, 0.898507833480835, 0.31702205538749695, 0.441080242395401, -0.3243143558502197, -0.08678650856018066, 0.3925701081752777, -1.1933280229568481, -0.4270857572555542, 0.2272292524576187, -0.8549615740776062, -0.302864134311676, -0.20208199322223663, -0.9881334900856018, -0.38031697273254395, -0.24187421798706055, 0.6400315761566162, -0.6833063364028931, -0.26595720648765564, -0.16310329735279083, -0.5424379110336304, 0.27404728531837463, 0.7806122899055481, -0.6529683470726013, 0.04648425802588463, -0.057323046028614044, 0.7202879786491394, 0.1310509592294693, -0.0681263655424118, -0.14465056359767914, -0.19331763684749603, -0.5528974533081055, 0.990264356136322, -0.1624322533607483, -0.727145791053772, -0.28087854385375977, -0.06717486679553986, 0.28635480999946594, -0.7576010227203369, 0.7092506289482117, -0.4246062934398651, 0.11270929127931595, -0.11645098775625229, -0.4008033871650696, -0.39245399832725525, -0.2012125551700592, -0.8611645102500916, 0.3097687065601349, 0.28363242745399475, -0.2851499021053314, -0.21537664532661438, -0.8818495869636536, -0.11709524691104889, 0.2977100908756256, 0.06139064207673073, -0.0629817545413971, 0.5627747178077698, 0.13092617690563202, 0.31553107500076294, -0.06071813032031059, -0.10094515979290009, -0.6626129746437073, -0.5504767298698425, 0.3363996148109436, -0.4666641652584076, 0.9733233451843262, 0.40830257534980774, -0.29553455114364624, -0.015716617926955223, -0.9687817692756653, 0.1697073131799698, 0.3219159245491028, 0.1455228179693222, -0.22466281056404114, -0.06890512257814407, 0.26786428689956665, 0.2181672304868698, 0.2361651360988617, -0.21296370029449463, 0.04966338723897934, -0.3844938576221466, 0.14528562128543854, 1.026628017425537, 0.03633459657430649, 0.2819299101829529, -0.6299234628677368, 0.5967175960540771, 0.06839626282453537, 0.22903582453727722, -0.4939650595188141, -0.6277806758880615, -0.9845442175865173, -0.12309727072715759, 0.2216542512178421, 0.4087853729724884, -0.6285772919654846, 0.2609683871269226, 0.09551466256380081, -0.6398316621780396, -0.6069077849388123, -0.08774051070213318, 0.15654301643371582, 0.26977935433387756, 0.1767290085554123, -0.7472601532936096, -0.3284743130207062, -1.3010424375534058, 0.47134679555892944, 0.03779840096831322, -0.39437371492385864, 0.28682032227516174, 0.2983546257019043, -0.2554406225681305, 0.690804123878479, -0.39949265122413635, -0.08599895238876343, 0.00285132578574121, 0.21460957825183868, 0.4726639986038208, 0.6768761873245239, 0.6458109021186829, -0.8002617955207825, -0.6640692949295044, -0.21433356404304504, -0.7085049152374268, -0.24333928525447845, 0.11780688166618347, -0.35399192571640015, -0.14685875177383423, 0.22273904085159302, -0.8790091276168823, 0.46245768666267395, 0.2094109207391739, -0.3078087568283081, 0.584707498550415, 0.045808881521224976, 0.39646604657173157, -1.2361278533935547, 0.3079773187637329, -0.07722577452659607, -0.2773717939853668, -0.6944952607154846, 0.4385966360569, -0.43144699931144714, -0.6670560836791992, -0.7318304181098938, 0.7279922962188721, -0.17982372641563416, 0.26219451427459717, -0.6074424982070923, 0.03282054141163826, 0.17491626739501953, 0.6056520938873291, 0.09647351503372192, 0.7475988864898682, 0.5397476553916931, -0.6806260943412781, 0.4242471754550934, 0.2867978513240814, -0.4347045123577118, 1.014905571937561, -1.234920859336853, 0.3569416403770447, -0.21446099877357483, 0.08444441109895706, -0.9644293785095215, -0.45830038189888, 0.9239237308502197, -0.43564677238464355, 0.37359851598739624, 0.15551555156707764, -0.22192667424678802, -0.32883769273757935, -0.3208329379558563, 0.6388925909996033, 0.8611443042755127, -0.40541738271713257, 0.644900918006897, -0.02799711562693119, -0.382890909910202, 0.14593154191970825, -0.17490971088409424, 0.09283847361803055, -0.34051772952079773, -0.6296635866165161, 0.45989641547203064, -0.5363240242004395, -0.4324468672275543, 0.09840026497840881, 0.2788669466972351, -0.3163483142852783, -0.20081208646297455, 0.18320678174495697, 0.24933375418186188, -0.49307477474212646, -0.26258212327957153, 0.14757747948169708, -0.3748861253261566, 0.02998935617506504, 0.36097434163093567, 0.3783004879951477, -0.11655159294605255, -0.49501490592956543, -1.1387619972229004, 0.7014309167861938, 0.681664764881134, 0.365327924489975, -0.15156865119934082, 0.6684688329696655, -0.3746776878833771, 0.04689519479870796, -0.42700469493865967, -0.4915255606174469, -0.49987515807151794, -0.12225116789340973, -0.4761551320552826, -0.36561188101768494, 0.7240653038024902, -0.1700851023197174, 0.09304667264223099, 0.5677589774131775, 0.46435025334358215, -0.6713106036186218, 1.4475960731506348, 0.5275592803955078, 0.12685200572013855, 0.3035682439804077, -0.32863426208496094, -0.0056182523258030415, -0.7764285802841187, 0.08926626294851303, -0.3366725742816925, -0.7410481572151184, -0.45961734652519226, -0.28659379482269287, 0.4348093569278717, 0.2454560399055481, -0.03509952500462532, 0.4093376696109772, -0.15240146219730377, 0.565536379814148, 0.5461359024047852, 0.4708794355392456, -0.06464461237192154, -0.05635334178805351, 0.26996585726737976, -0.04079337790608406, -0.6090336441993713, -0.433602899312973, 0.6154947876930237, 0.2180781364440918, 0.8414288759231567, 0.22200587391853333, 0.6427633166313171, 0.34551385045051575, 0.05502733215689659, -0.7676916122436523, 0.6210079789161682, -0.18097850680351257, -0.7625736594200134, -0.10333255678415298, 0.013620911166071892, -0.5795506238937378, -0.017257917672395706, 0.023255009204149246, -0.49389663338661194, 0.6972178816795349, 0.1844654381275177, -0.5797775983810425, -0.07456222921609879, -0.641998827457428, 0.674543559551239, -0.057892460376024246, -0.19266878068447113, -0.30069679021835327, -0.5903398394584656, 0.35983920097351074, 0.1705617904663086, 0.04114087298512459, -0.5926642417907715, 0.26151642203330994, 0.3387430012226105, -0.568153977394104, 1.1791454553604126, -0.1846771538257599, -0.05934865400195122, 0.6090592741966248, 0.15357622504234314, 0.3199625313282013, 0.13424034416675568, -0.15450911223888397, 0.36189427971839905, 0.08998364955186844, -0.46396762132644653, -0.7952955961227417, 0.5596936941146851, -0.738674521446228, -0.7275791764259338, -0.016921579837799072, -0.33990922570228577, 0.1354714334011078, 0.15313974022865295, 0.6626337170600891, 0.7020354270935059, -0.2712230980396271, 0.24745140969753265, 0.4420068860054016, -0.05576848238706589, 0.5722652673721313, -0.08720991760492325, -0.07024230808019638, -0.613688588142395, 1.0396162271499634, -0.18665441870689392, 0.10480894893407822, -0.045541390776634216, 0.32709744572639465, -0.23583407700061798, -0.06497049331665039, -1.0006691217422485, 0.1534903198480606, -0.7701948285102844, -0.23188264667987823, -0.009896809235215187, -0.226901113986969, -0.22974595427513123, -0.2795085310935974, -0.35132500529289246, -0.4086516201496124, -0.6495509743690491, 0.5468146800994873, 0.5040426850318909, 0.6242474317550659, -0.3622124195098877, 0.48519229888916016, -0.697826087474823, 0.2008287012577057, 0.3531953692436218, 0.24581117928028107, 0.16062988340854645, -0.35113969445228577, -0.250560998916626, 0.21243470907211304, -0.39674627780914307, -0.8886209726333618, 0.2922552824020386, -0.0102539649233222, 0.3567330539226532, 0.8981881141662598, 0.11717807501554489, 0.8664329051971436, -0.6948232054710388, 0.7513737082481384, 0.25269052386283875, -0.7856553196907043, 0.8124454617500305, -0.5276861786842346, 0.5552739500999451, 0.8393845558166504, 0.6356231570243835, -0.5834915637969971, -0.47085875272750854, -0.7109763622283936, -0.489389568567276, 0.6168348789215088, 0.3772880733013153, 0.4686248004436493, 0.11001703143119812, 0.5873953700065613, 0.038183633238077164, 0.08941531926393509, -0.5698735117912292, -0.23948514461517334, -0.41639968752861023, -0.14325320720672607, 0.05548602342605591, -0.44092535972595215, 0.022326212376356125, -0.49301907420158386, 0.9055947065353394, -0.06682277470827103, 0.42846614122390747, 0.2879141867160797, 0.2591313421726227, -0.16113705933094025, -0.015194456093013287, 0.8142774105072021, 0.6627866625785828, -0.0710265263915062, -0.10515491664409637, 0.08471329510211945, -0.20659396052360535, 0.12433565407991409, -0.17085939645767212, -0.48821592330932617, 0.38783109188079834, 0.22863413393497467, 1.1535738706588745, 0.26319143176078796, -0.7821149230003357, 0.17146547138690948, 0.09583640098571777, 0.072360560297966, -0.21705937385559082, 0.511450469493866, 0.002051224932074547, 0.3884662389755249, 0.04194704815745354, -0.012611336074769497, 0.5180762410163879, -0.259788453578949, -0.012349178083240986, -0.019917400553822517, -0.2821335792541504, -0.42751258611679077, 0.6077178716659546, 0.18676221370697021, -0.6705830693244934, 0.7781844139099121, -0.12070102989673615, -0.3290499150753021, 0.938474178314209, 0.6011722087860107, 0.8090668320655823, -0.4529363214969635, 0.5365217924118042, 0.7285965085029602, -0.12032441794872284, 0.27629902958869934, 0.3580271899700165, -0.09391020983457565, -0.3730284869670868, 0.025116946548223495, -0.29372337460517883, -0.6919901371002197, 0.25949379801750183, -0.4519423544406891, 0.8379784822463989, -0.45413902401924133, -0.08196694403886795, 0.07333003729581833, -0.11828451603651047, -0.2553480863571167, 0.26629456877708435, 0.15671508014202118, 0.8617552518844604, -0.4437333047389984, 0.3504454791545868, 0.40225961804389954, -0.7186658978462219, -0.6853225231170654, -0.2082127183675766, 0.12349948287010193, -0.47963860630989075, 0.4319888949394226, 0.4186015725135803, 0.0233098603785038, 0.22810569405555725, -0.8271093964576721, -0.7467361688613892, 0.8771790266036987, 0.1330455243587494, -0.6324967741966248, -0.08048026263713837, -0.24082887172698975, 0.3403872549533844, -0.4064459502696991, 0.23610524833202362, -0.09633258730173111, 0.5241914987564087, 0.19348928332328796, -0.12120309472084045, -0.07792951911687851, -0.6953023076057434, 0.4095807671546936, -0.1449413150548935, -0.6725867390632629, 0.7767772078514099, -0.18251754343509674, -0.5491694808006287, 0.7002325057983398, 0.5065517425537109, 0.29958170652389526, 0.44496217370033264, 0.7693166732788086, 0.552165687084198, 0.2788446247577667, 0.16437895596027374, 1.0348185300827026, -0.3429211378097534, -0.17199558019638062, 0.9155162572860718, -0.11977476626634598, 0.5540765523910522, 0.13210152089595795, 0.06609931588172913, 0.7690293788909912, 1.1792888641357422, -0.46482986211776733, 0.5344147682189941, 0.033289942890405655, -0.5214841365814209, -0.27665096521377563, -0.3043462634086609, -0.4752124547958374, 0.23416768014431, 0.08978652209043503, -0.14776161313056946, -0.5507432818412781, 0.5685035586357117, -0.39139506220817566, -0.06652756035327911, -0.20137183368206024, 0.6235517859458923, 0.25744909048080444, -0.26300543546676636, 0.46654415130615234, 0.04025502875447273, 0.32328858971595764, -0.5451753735542297, -0.3619511127471924, -0.25939565896987915, -0.18048134446144104, 0.0743001252412796, -0.6055129170417786, 0.23389583826065063, -0.26361459493637085, -0.34399357438087463, -0.13426823914051056, 0.8363204002380371, -0.1120988205075264, -0.4290778636932373, 0.020624520257115364, 0.3394213020801544, 0.7056795358657837, 0.024799667298793793, -0.7982304096221924, 0.21861766278743744, -0.18835759162902832, -0.041895341128110886, -0.14895030856132507, 0.12409622222185135, -0.17888033390045166, 0.23629970848560333, 0.5423493385314941, -0.01342941727489233, -0.437630295753479, 0.33739975094795227, 0.5893623232841492, -0.513244092464447, -0.2251206338405609, -0.7603020668029785, 0.5362911820411682, -0.04972226917743683, -0.4098576009273529, 0.5929540395736694, 0.2763909697532654, 0.8339027762413025, -0.6519078016281128, 0.21365240216255188, -0.10855419933795929, 0.09067754447460175, -0.5832947492599487, 1.0610365867614746, -0.6809529066085815, -0.48902627825737, 0.02686305344104767, -0.9638314843177795, -0.14061664044857025, 0.7827655076980591, 0.12915895879268646, 0.10326701402664185, 0.30241355299949646, 0.8905454874038696, 0.000026979976610164158, 0.11186522245407104, 0.5628374218940735, -0.013735666871070862, 0.024852773174643517, 0.4828554093837738, 1.1235603094100952, -0.48036813735961914, -0.0012070653028786182, -0.8478842377662659, -0.011305161751806736, -0.41378843784332275, -0.5203241109848022, -0.8555013537406921, -0.5815974473953247, -0.44688880443573, -0.1315058320760727, -0.041200000792741776, 0.708829939365387, 0.9858516454696655, -0.7143033742904663, -0.3141823709011078, -0.015667960047721863, 0.21749968826770782, -0.09471296519041061, -0.24521449208259583, 0.15851114690303802, -0.11805921792984009, -1.3407800197601318, 0.5115196704864502, 0.0927334651350975, 0.49768945574760437, -0.2827134132385254, 0.07444409281015396, -0.11501328647136688, 0.14742279052734375, 0.6907786130905151, 0.38152241706848145, -0.6507624983787537, -0.19151104986667633, -0.18805183470249176, -0.10098899155855179, 0.14475904405117035, 0.6152748465538025, -0.2075861096382141, 0.47068536281585693, 0.5352463722229004, 0.24173930287361145, 0.1415388435125351, -0.04552071914076805, 0.5776770710945129, -0.34901925921440125, -0.02273331582546234, 0.30214688181877136, 0.14844229817390442, 0.056101832538843155, -0.4839753210544586, 0.5200140476226807, 0.23411226272583008, -0.3332340121269226, -0.6216356158256531, 0.23516228795051575, -0.9100504517555237, -0.3810892105102539, 0.6216798424720764, 0.1374284327030182, -0.5234758853912354, 0.29769161343574524, -0.5905816555023193, 0.033204007893800735, -0.27268460392951965, 0.5705792307853699, 0.9332879185676575, -0.2639550566673279, -0.3120483458042145, -0.6951842904090881, 0.29868680238723755, 0.23987941443920135, -0.9260225892066956, -0.4510650932788849, 0.8756328225135803, 0.1097874864935875, 0.49646657705307007, 0.8061761260032654, -0.26405903697013855, 0.8160289525985718, 0.07754112035036087, 0.2799775302410126, 0.24773745238780975, -0.5444324016571045, -0.5905075073242188, 0.05103578045964241, -0.07508082687854767, -0.31541764736175537 ]